!/**
 * Highmaps JS v12.5.0 (2026-01-12)
 * @module highcharts/modules/heatmap
 * @requires highcharts
 *
 * (c) 2009-2026 Highsoft AS
 * Author: Torstein Honsi
 *
 * 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.Axis,t._Highcharts.Color,t._Highcharts.LegendSymbol,t._Highcharts.SeriesRegistry,t._Highcharts.SVGElement,t._Highcharts.SVGRenderer):"function"==typeof define&&define.amd?define("highcharts/modules/heatmap",["highcharts/highcharts"],function(t){return e(t,t.Axis,t.Color,t.LegendSymbol,t.SeriesRegistry,t.SVGElement,t.SVGRenderer)}):"object"==typeof exports?exports["highcharts/modules/heatmap"]=e(t._Highcharts,t._Highcharts.Axis,t._Highcharts.Color,t._Highcharts.LegendSymbol,t._Highcharts.SeriesRegistry,t._Highcharts.SVGElement,t._Highcharts.SVGRenderer):t.Highcharts=e(t.Highcharts,t.Highcharts.Axis,t.Highcharts.Color,t.Highcharts.LegendSymbol,t.Highcharts.SeriesRegistry,t.Highcharts.SVGElement,t.Highcharts.SVGRenderer)}("u"<typeof window?this:window,(t,e,s,i,o,r,a)=>(()=>{"use strict";var l,n,h,d,p={28:t=>{t.exports=r},500:t=>{t.exports=i},512:t=>{t.exports=o},532:t=>{t.exports=e},540:t=>{t.exports=a},620:t=>{t.exports=s},944:e=>{e.exports=t}},c={};function u(t){var e=c[t];if(void 0!==e)return e.exports;var s=c[t]={exports:{}};return p[t](s,s.exports,u),s.exports}u.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return u.d(e,{a:e}),e},u.d=(t,e)=>{for(var s in e)u.o(e,s)&&!u.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},u.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var g={};u.d(g,{default:()=>tL});var m=u(944),f=u.n(m),x=u(532),y=u.n(x),b=u(620),v=u.n(b);let{parse:C}=v(),{merge:A}=f();(l=n||(n={})).initDataClasses=function(t){let e=this.chart,s=this.legendItem=this.legendItem||{},i=this.options,o=t.dataClasses||[],r,a,l=e.options.chart.colorCount,n=0,h;this.dataClasses=a=[],s.labels=[];for(let t=0,s=o.length;t<s;++t)r=A(r=o[t]),a.push(r),(e.styledMode||!r.color)&&("category"===i.dataClassColor?(e.styledMode||(l=(h=e.options.colors||[]).length,r.color=h[n]),r.colorIndex=n,++n===l&&(n=0)):r.color=C(i.minColor).tweenTo(C(i.maxColor),s<2?.5:t/(s-1)))},l.initStops=function(){let t=this.options,e=this.stops=t.stops||[[0,t.minColor||""],[1,t.maxColor||""]];for(let t=0,s=e.length;t<s;++t)e[t].color=C(e[t][1])},l.normalizedValue=function(t){let e=this.max||0,s=this.min||0;return this.logarithmic&&(t=this.logarithmic.log2lin(t)),1-(e-t)/(e-s||1)},l.toColor=function(t,e){let s,i,o,r,a,l,n=this.dataClasses,h=this.stops;if(n){for(l=n.length;l--;)if(i=(a=n[l]).from,o=a.to,(void 0===i||t>=i)&&(void 0===o||t<=o)){r=a.color,e&&(e.dataClass=l,e.colorIndex=a.colorIndex);break}}else{for(s=this.normalizedValue(t),l=h.length;l--&&!(s>h[l][0]););i=h[l]||h[l+1],s=1-((o=h[l+1]||i)[0]-s)/(o[0]-i[0]||1),r=i.color.tweenTo(o.color,s)}return r};let M=n,{parse:w}=v(),{addEvent:k,extend:L,merge:I,pick:S,splat:P}=f();!function(t){let e;function s(){let{userOptions:t}=this;this.colorAxis=[],t.colorAxis&&(t.colorAxis=P(t.colorAxis),t.colorAxis.map(t=>new e(this,t)))}function i(t){let e=this.chart.colorAxis||[],s=e=>{let s=t.allItems.indexOf(e);-1!==s&&(this.destroyItem(t.allItems[s]),t.allItems.splice(s,1))},i=[],o,r;for(e.forEach(function(t){o=t.options,o?.showInLegend&&(o.dataClasses&&o.visible?i=i.concat(t.getDataClassLegendSymbols()):o.visible&&i.push(t),t.series.forEach(function(t){(!t.options.showInLegend||o.dataClasses)&&("point"===t.options.legendType?t.points.forEach(function(t){s(t)}):s(t))}))}),r=i.length;r--;)t.allItems.unshift(i[r])}function o(t){t.visible&&t.item.legendColor&&t.item.legendItem.symbol.attr({fill:t.item.legendColor})}function r(t){this.chart.colorAxis?.forEach(e=>{e.update({},t.redraw)})}function a(){(this.chart.colorAxis?.length||this.colorAttribs)&&this.translateColors()}function l(){let t=this.axisTypes;t?-1===t.indexOf("colorAxis")&&t.push("colorAxis"):this.axisTypes=["colorAxis"]}function n(t){let e=this,s=t?"show":"hide";e.visible=e.options.visible=!!t,["graphic","dataLabel"].forEach(function(t){e[t]&&e[t][s]()}),this.series.buildKDTree()}function h(){let t=this,e=this.getPointsCollection(),s=this.options.nullColor,i=this.colorAxis,o=this.colorKey;e.forEach(e=>{let r=e.getNestedProperty(o),a=e.options.color||(e.isNull||null===e.value?s:i&&void 0!==r?i.toColor(r,e):e.color||t.color);a&&e.color!==a&&(e.color=a,"point"===t.options.legendType&&e.legendItem&&e.legendItem.label&&t.chart.legend.colorizeItem(e,e.visible))})}function d(){this.elem.attr("fill",w(this.start).tweenTo(w(this.end),this.pos),void 0,!0)}function p(){this.elem.attr("stroke",w(this.start).tweenTo(w(this.end),this.pos),void 0,!0)}t.compose=function(t,c,u,g,m){var f;let x,y=c.prototype,b=u.prototype,v=m.prototype;y.collectionsWithUpdate.includes("colorAxis")||(e=t,y.collectionsWithUpdate.push("colorAxis"),y.collectionsWithInit.colorAxis=[y.addColorAxis],k(c,"afterCreateAxes",s),x=(f=c).prototype.createAxis,f.prototype.createAxis=function(t,s){if("colorAxis"!==t)return x.apply(this,arguments);let i=new e(this,I(s.axis,{index:this[t].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(t=>{t.series=[]}),this.series.forEach(t=>{t.bindAxes(),t.isDirtyData=!0}),S(s.redraw,!0)&&this.redraw(s.animation),i},b.fillSetter=d,b.strokeSetter=p,k(g,"afterGetAllItems",i),k(g,"afterColorizeItem",o),k(g,"afterUpdate",r),L(v,{optionalAxis:"colorAxis",translateColors:h}),L(v.pointClass.prototype,{setVisible:n}),k(m,"afterTranslate",a,{order:1}),k(m,"bindAxes",l))},t.pointSetVisible=n}(h||(h={}));let T=h;var D=u(500),E=u.n(D),V=u(512),H=u.n(V);let{defaultOptions:O}=f(),{series:z}=H(),{defined:R,extend:G,fireEvent:_,isArray:W,isNumber:N,merge:K,pick:X,relativeLength:j}=f();O.colorAxis=K(O.xAxis,{lineWidth:0,minPadding:0,maxPadding:0,gridLineColor:"#ffffff",gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:"#999999"},labels:{distance:8,overflow:"justify",rotation:0},minColor:"#e6e9ff",maxColor:"#0022ff",tickLength:5,showInLegend:!0});class F extends y(){static compose(t,e,s,i){T.compose(F,t,e,s,i)}constructor(t,e){super(t,e),this.coll="colorAxis",this.visible=!0,this.init(t,e)}init(t,e){let s=t.options.legend||{},i=e.layout?"vertical"!==e.layout:"vertical"!==s.layout;this.side=e.side||i?2:1,this.reversed=e.reversed,this.opposite=!i,super.init(t,e,"colorAxis"),this.userOptions=e,W(t.userOptions.colorAxis)&&(t.userOptions.colorAxis[this.index]=e),e.dataClasses&&this.initDataClasses(e),this.initStops(),this.horiz=i,this.zoomEnabled=!1}hasData(){return!!(this.tickPositions||[]).length}setTickPositions(){if(!this.dataClasses)return super.setTickPositions()}setOptions(t){let e=K(O.colorAxis,t,{showEmpty:!1,title:null,visible:this.chart.options.legend.enabled&&!1!==t.visible});super.setOptions(e),this.options.crosshair=this.options.marker}setAxisSize(){let t=this.chart,e=this.legendItem?.symbol,{width:s,height:i}=this.getSize();e&&(this.left=+e.attr("x"),this.top=+e.attr("y"),this.width=s=+e.attr("width"),this.height=i=+e.attr("height"),this.right=t.chartWidth-this.left-s,this.bottom=t.chartHeight-this.top-i,this.pos=this.horiz?this.left:this.top),this.len=(this.horiz?s:i)||F.defaultLegendLength}getOffset(){let t=this.legendItem?.group,e=this.chart.axisOffset[this.side];if(t){this.axisParent=t,super.getOffset();let s=this.chart.legend;s.allItems.forEach(function(t){t instanceof F&&t.drawLegendSymbol(s,t)}),s.render(),this.chart.getMargins(!0),this.chart.series.some(t=>t.isDrilling)||(this.isDirty=!0),this.added||(this.added=!0),this.labelLeft=0,this.labelRight=this.width,this.chart.axisOffset[this.side]=e}}setLegendColor(){let t=this.horiz,e=this.reversed,s=+!!e,i=+!e,o=t?[s,0,i,0]:[0,i,0,s];this.legendColor={linearGradient:{x1:o[0],y1:o[1],x2:o[2],y2:o[3]},stops:this.stops}}drawLegendSymbol(t,e){let s=e.legendItem||{},i=t.padding,o=t.options,r=this.options.labels,a=X(o.itemDistance,10),l=this.horiz,{width:n,height:h}=this.getSize(),d=X(o.labelPadding,l?16:30);this.setLegendColor(),s.symbol||(s.symbol=this.chart.renderer.symbol("roundedRect").attr({r:o.symbolRadius??3,zIndex:1}).add(s.group)),s.symbol.attr({x:0,y:(t.baseline||0)-11,width:n,height:h}),s.labelWidth=n+i+(l?a:X(r.x,r.distance)+(this.maxLabelLength||0)),s.labelHeight=h+i+(l?d:0)}setState(t){this.series.forEach(function(e){e.setState(t)})}setVisible(){}getSeriesExtremes(){let t=this.series,e,s,i,o,r=t.length;for(this.dataMin=1/0,this.dataMax=-1/0;r--;){for(let a of(s=(o=t[r]).colorKey=X(o.options.colorKey,o.colorKey,o.pointValKey,o.zoneAxis,"y"),i=o[s+"Min"]&&o[s+"Max"],[s,"value","y"]))if((e=o.getColumn(a)).length)break;if(i)o.minColorValue=o[s+"Min"],o.maxColorValue=o[s+"Max"];else{let t=z.prototype.getExtremes.call(o,e);o.minColorValue=t.dataMin,o.maxColorValue=t.dataMax}R(o.minColorValue)&&R(o.maxColorValue)&&(this.dataMin=Math.min(this.dataMin,o.minColorValue),this.dataMax=Math.max(this.dataMax,o.maxColorValue)),i||z.prototype.applyExtremes.call(o)}}drawCrosshair(t,e){let s,i=this.legendItem||{},o=e?.plotX,r=e?.plotY,a=this.pos,l=this.len;e&&((s=this.toPixels(e.getNestedProperty(e.series.colorKey)))<a?s=a-2:s>a+l&&(s=a+l+2),e.plotX=s,e.plotY=this.len-s,super.drawCrosshair(t,e),e.plotX=o,e.plotY=r,this.cross&&!this.cross.addedToColorAxis&&i.group&&(this.cross.addClass("highcharts-coloraxis-marker").add(i.group),this.cross.addedToColorAxis=!0,this.chart.styledMode||"object"!=typeof this.crosshair||this.cross.attr({fill:this.crosshair.color})))}getPlotLinePath(t){let e=this.left,s=t.translatedValue,i=this.top;return N(s)?this.horiz?[["M",s-4,i-6],["L",s+4,i-6],["L",s,i],["Z"]]:[["M",e,s],["L",e-6,s+6],["L",e-6,s-6],["Z"]]:super.getPlotLinePath(t)}update(t,e){let s=this.chart.legend;this.series.forEach(t=>{t.isDirtyData=!0}),(t.dataClasses&&s.allItems||this.dataClasses)&&this.destroyItems(),super.update(t,e),this.legendItem?.label&&(this.setLegendColor(),s.colorizeItem(this,!0))}destroyItems(){let t=this.chart,e=this.legendItem||{};if(e.label)t.legend.destroyItem(this);else if(e.labels)for(let s of e.labels)t.legend.destroyItem(s);t.isDirtyLegend=!0}destroy(){this.chart.isDirtyLegend=!0,this.destroyItems(),super.destroy(...[].slice.call(arguments))}remove(t){this.destroyItems(),super.remove(t)}getDataClassLegendSymbols(){let t,e=this,s=e.chart,i=e.legendItem&&e.legendItem.labels||[],o=s.options.legend,r=X(o.valueDecimals,-1),a=X(o.valueSuffix,""),l=t=>e.series.reduce((e,s)=>(e.push(...s.points.filter(e=>e.dataClass===t)),e),[]);return i.length||e.dataClasses.forEach((o,n)=>{let h=o.from,d=o.to,{numberFormatter:p}=s,c=!0;t="",void 0===h?t="< ":void 0===d&&(t="> "),void 0!==h&&(t+=p(h,r)+a),void 0!==h&&void 0!==d&&(t+=" - "),void 0!==d&&(t+=p(d,r)+a),i.push(G({chart:s,name:t,options:{},drawLegendSymbol:E().rectangle,visible:!0,isDataClass:!0,setState:t=>{for(let e of l(n))e.setState(t)},setVisible:function(){this.visible=c=e.visible=!c;let t=[];for(let e of l(n))e.setVisible(c),e.hiddenInDataClass=!c,-1===t.indexOf(e.series)&&t.push(e.series);s.legend.colorizeItem(this,c),t.forEach(t=>{_(t,"afterDataClassLegendClick")})}},o))}),i}getSize(){let{chart:t,horiz:e}=this,{height:s,width:i}=this.options,{legend:o}=t.options;return{width:X(R(i)?j(i,t.chartWidth):void 0,o?.symbolWidth,e?F.defaultLegendLength:12),height:X(R(s)?j(s,t.chartHeight):void 0,o?.symbolHeight,e?12:F.defaultLegendLength)}}}F.defaultLegendLength=200,F.keepProps=["legendItem"],G(F.prototype,M),Array.prototype.push.apply(y().keepProps,F.keepProps);/**
 * @license Highcharts JS v12.5.0 (2026-01-12)
 * @module highcharts/modules/color-axis
 * @requires highcharts
 *
 * ColorAxis module
 *
 * (c) 2012-2026 Highsoft AS
 * Author: Pawel Potaczek
 *
 * A commercial license may be required depending on use.
 * See www.highcharts.com/license
 */let U=f();U.ColorAxis=U.ColorAxis||F,U.ColorAxis.compose(U.Chart,U.Fx,U.Legend,U.Series);var Y=u(28),Z=u.n(Y);let{column:{prototype:q}}=H().seriesTypes,{addEvent:$,defined:B}=f();var J=d||(d={});function Q(t){let e=this.series,s=e.chart.renderer;this.moveToTopOnHover&&this.graphic&&(e.stateMarkerGraphic||(e.stateMarkerGraphic=new(Z())(s,"use").css({pointerEvents:"none"}).add(this.graphic.parentGroup)),t?.state==="hover"?(this.graphic.attr({id:this.id}),e.stateMarkerGraphic.attr({href:`${s.url}#${this.id}`,visibility:"visible"})):e.stateMarkerGraphic.attr({href:""}))}J.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&this.value!==1/0&&this.value!==-1/0&&(void 0===this.value||!isNaN(this.value))}},J.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(t){let e={};return B(t.color)&&(!t.state||"normal"===t.state)&&(e[this.colorProp||"fill"]=t.color),e},pointAttribs:q.pointAttribs},J.compose=function(t){return $(t.prototype.pointClass,"afterSetState",Q),t};let tt=d,{scatter:{prototype:{pointClass:te}}}=H().seriesTypes,{clamp:ts,defined:ti,extend:to,pick:tr}=f();class ta extends te{applyOptions(t,e){return(this.isNull||null===this.value)&&delete this.color,super.applyOptions(t,e),this.formatPrefix=this.isNull||null===this.value?"null":"point",this}getCellAttributes(){let t=this.series,e=t.options,s=(e.colsize||1)/2,i=(e.rowsize||1)/2,o=t.xAxis,r=t.yAxis,a=this.options.marker||t.options.marker,l=t.pointPlacementToXValue(),n=tr(this.pointPadding,e.pointPadding,0),h={x1:ts(Math.round(o.len-o.translate(this.x-s,!1,!0,!1,!0,-l)),-o.len,2*o.len),x2:ts(Math.round(o.len-o.translate(this.x+s,!1,!0,!1,!0,-l)),-o.len,2*o.len),y1:ts(Math.round(r.translate(this.y-i,!1,!0,!1,!0)),-r.len,2*r.len),y2:ts(Math.round(r.translate(this.y+i,!1,!0,!1,!0)),-r.len,2*r.len)};for(let t of[["width","x"],["height","y"]]){let e=t[0],s=t[1],i=s+"1",l=s+"2",d=Math.abs(h[i]-h[l]),p=a&&a.lineWidth||0,c=Math.abs(h[i]+h[l])/2,u=a&&a[e];if(ti(u)&&u<d){let t=u/2+p/2;h[i]=c-t,h[l]=c+t}n&&(("x"===s&&o.reversed||"y"===s&&!r.reversed)&&(i=l,l=s+"1"),h[i]+=n,h[l]-=n)}return h}haloPath(t){if(!t)return[];let{x:e=0,y:s=0,width:i=0,height:o=0}=this.shapeArgs||{};return[["M",e-t,s-t],["L",e-t,s+o+t],["L",e+i+t,s+o+t],["L",e+i+t,s-t],["Z"]]}isValid(){return this.value!==1/0&&this.value!==-1/0}}to(ta.prototype,{dataLabelOnNull:!0,moveToTopOnHover:!0,ttBelow:!1});let{isNumber:tl}=f();var tn=u(540),th=u.n(tn);let{doc:td}=f(),{defined:tp,pick:tc}=f(),{series:tu,seriesTypes:{column:tg,scatter:tm}}=H(),{prototype:{symbols:tf}}=th(),{addEvent:tx,extend:ty,fireEvent:tb,isNumber:tv,merge:tC,pick:tA}=f(),{colorFromPoint:tM,getContext:tw}={colorFromPoint:function(t,e){let s=e.series.colorAxis;if(s){let i=s.toColor(t||0,e).split(")")[0].split("(")[1].split(",").map(t=>tc(parseFloat(t),parseInt(t,10)));return i[3]=255*tc(i[3],1),tp(t)&&e.visible||(i[3]=0),i}return[0,0,0,0]},getContext:function(t){let{canvas:e,context:s}=t;return e&&s?(s.clearRect(0,0,e.width,e.height),s):(t.canvas=td.createElement("canvas"),t.context=t.canvas.getContext("2d",{willReadFrequently:!0})||void 0,t.context)}};class tk extends tm{constructor(){super(...arguments),this.valueMax=NaN,this.valueMin=NaN,this.isDirtyCanvas=!0}drawPoints(){let t=this,e=t.options,s=e.interpolation,i=e.marker||{};if(s){let{image:e,chart:s,xAxis:i,yAxis:o}=t,{reversed:r=!1,len:a}=i,{reversed:l=!1,len:n}=o,h={width:a,height:n};if(!e||t.isDirtyData||t.isDirtyCanvas){let a=tw(t),{canvas:n,options:{colsize:d=1,rowsize:p=1},points:c,points:{length:u}}=t,g=s.colorAxis&&s.colorAxis[0];if(n&&a&&g){let{min:g,max:m}=i.getExtremes(),{min:f,max:x}=o.getExtremes(),y=m-g,b=x-f,v=Math.round(y/d/8*8),C=Math.round(b/p/8*8),[A,M]=[[v,v/y,r,"ceil"],[C,C/b,!l,"floor"]].map(([t,e,s,i])=>s?s=>Math[i](t-e*s):t=>Math[i](e*t)),w=n.width=v+1,k=w*(n.height=C+1),L=(u-1)/k,I=new Uint8ClampedArray(4*k),S=(t,e)=>4*Math.ceil(w*M(e-f)+A(t-g));t.buildKDTree();for(let t=0;t<k;t++){let e=c[Math.ceil(L*t)],{x:s,y:i}=e;I.set(tM(e.value,e),S(s,i))}a.putImageData(new ImageData(I,w),0,0),e?e.attr({...h,href:n.toDataURL("image/png",1)}):(t.directTouch=!1,t.image=s.renderer.image(n.toDataURL("image/png",1)).attr(h).add(t.group))}t.isDirtyCanvas=!1}else(e.width!==a||e.height!==n)&&e.attr(h)}else(i.enabled||t._hasPointMarkers)&&(tu.prototype.drawPoints.call(t),t.points.forEach(e=>{e.graphic&&(e.graphic[t.chart.styledMode?"css":"animate"](t.colorAttribs(e)),null===e.value&&e.graphic.addClass("highcharts-null-point"))}))}getExtremes(){let{dataMin:t,dataMax:e}=tu.prototype.getExtremes.call(this,this.getColumn("value"));return tv(t)&&(this.valueMin=t),tv(e)&&(this.valueMax=e),tu.prototype.getExtremes.call(this)}getValidPoints(t,e){return tu.prototype.getValidPoints.call(this,t,e,!0)}hasData(){return!!this.dataTable.rowCount}init(){super.init.apply(this,arguments);let t=this.options;t.pointRange=tA(t.pointRange,t.colsize||1),this.yAxis.axisPointRange=t.rowsize||1,tf.ellipse=tf.circle,t.marker&&tv(t.borderRadius)&&(t.marker.r=t.borderRadius)}markerAttribs(t,e){let s=t.shapeArgs||{};if(t.hasImage)return{x:t.plotX,y:t.plotY};if(e&&"normal"!==e){let i=t.options.marker||{},o=this.options.marker||{},r=o.states?.[e]||{},a=i.states?.[e]||{},l=(a.width||r.width||s.width||0)+(a.widthPlus||r.widthPlus||0),n=(a.height||r.height||s.height||0)+(a.heightPlus||r.heightPlus||0);return{x:(s.x||0)+((s.width||0)-l)/2,y:(s.y||0)+((s.height||0)-n)/2,width:l,height:n}}return s}pointAttribs(t,e){let s=tu.prototype.pointAttribs.call(this,t,e),i=this.options||{},o=this.chart.options.plotOptions||{},r=o.series||{},a=o.heatmap||{},l=t?.options.borderColor||i.borderColor||a.borderColor||r.borderColor,n=t?.options.borderWidth||i.borderWidth||a.borderWidth||r.borderWidth||s["stroke-width"];if(s.stroke=t?.marker?.lineColor||i.marker?.lineColor||l||this.color,s["stroke-width"]=n,e&&"normal"!==e){let o=tC(i.states?.[e],i.marker?.states?.[e],t?.options.marker?.states?.[e]||{});s.fill=o.color||v().parse(s.fill).brighten(o.brightness||0).get(),s.stroke=o.lineColor||s.stroke}return s}translate(){let{borderRadius:t,marker:e}=this.options,s=e?.symbol||"rect",i=tf[s]?s:"rect",o=-1!==["circle","square"].indexOf(i);for(let e of(this.generatePoints(),this.points)){let r=e.getCellAttributes(),a=Math.min(r.x1,r.x2),l=Math.min(r.y1,r.y2),n=Math.max(Math.abs(r.x2-r.x1),0),h=Math.max(Math.abs(r.y2-r.y1),0);if(e.hasImage=0===(e.marker?.symbol||s||"").indexOf("url"),o){let t=Math.abs(n-h);a=Math.min(r.x1,r.x2)+(n<h?0:t/2),l=Math.min(r.y1,r.y2)+(n<h?t/2:0),n=h=Math.min(n,h)}e.hasImage&&(e.marker={width:n,height:h}),e.plotX=e.clientX=(r.x1+r.x2)/2,e.plotY=(r.y1+r.y2)/2,e.shapeType="path",e.shapeArgs=tC(!0,{x:a,y:l,width:n,height:h},{d:tf[i](a,l,n,h,{r:tv(t)?t:0})})}tb(this,"afterTranslate")}}tk.defaultOptions=tC(tm.defaultOptions,{animation:!1,borderRadius:0,borderWidth:0,interpolation:!1,nullColor:"#f7f7f7",dataLabels:{formatter:function(){let{numberFormatter:t}=this.series.chart,{value:e}=this.point;return tl(e)?t(e,-1):""},inside:!0,verticalAlign:"middle",crop:!1,overflow:"allow",padding:0},marker:{symbol:"rect",radius:0,lineColor:void 0,states:{hover:{lineWidthPlus:0},select:{}}},clip:!0,pointRange:null,tooltip:{pointFormat:"{point.x}, {point.y}: {point.value}<br/>"},states:{hover:{halo:!1,brightness:.2}},legendSymbol:"rectangle"}),tx(tk,"afterDataClassLegendClick",function(){this.isDirtyCanvas=!0,this.drawPoints(),this.options.enableMouseTracking&&this.drawTracker()}),ty(tk.prototype,{axisTypes:tt.seriesMembers.axisTypes,colorKey:tt.seriesMembers.colorKey,directTouch:!0,getExtremesFromAll:!0,keysAffectYAxis:["y"],parallelArrays:tt.seriesMembers.parallelArrays,pointArrayMap:["y","value"],pointClass:ta,specialGroup:"group",trackerGroups:tt.seriesMembers.trackerGroups,alignDataLabel:tg.prototype.alignDataLabel,colorAttribs:tt.seriesMembers.colorAttribs,getSymbol:tu.prototype.getSymbol}),tt.compose(tk),H().registerSeriesType("heatmap",tk);let tL=f();return g.default})());