!/**
 * Highcharts JS v12.5.0 (2026-01-12)
 * @module highcharts/modules/pictorial
 * @requires highcharts
 *
 * Pictorial graph series type for Highcharts
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Torstein Honsi, Magdalena Gut
 *
 * 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(require("highcharts"),require("highcharts").Series.types.column,require("highcharts").Chart,require("highcharts").SeriesRegistry,require("highcharts").Series,require("highcharts").StackItem,require("highcharts").SVGRenderer):"function"==typeof define&&define.amd?define("highcharts/modules/pictorial",[["highcharts/highcharts"],["highcharts/highcharts","Series","types","column"],["highcharts/highcharts","Chart"],["highcharts/highcharts","SeriesRegistry"],["highcharts/highcharts","Series"],["highcharts/highcharts","StackItem"],["highcharts/highcharts","SVGRenderer"]],e):"object"==typeof exports?exports["highcharts/modules/pictorial"]=e(require("highcharts"),require("highcharts").Series.types.column,require("highcharts").Chart,require("highcharts").SeriesRegistry,require("highcharts").Series,require("highcharts").StackItem,require("highcharts").SVGRenderer):t.Highcharts=e(t.Highcharts,t.Highcharts.Series.types.column,t.Highcharts.Chart,t.Highcharts.SeriesRegistry,t.Highcharts.Series,t.Highcharts.StackItem,t.Highcharts.SVGRenderer)}(this,function(t,e,r,i,a,n,o){return function(){"use strict";var s,h,p={184:function(t){t.exports=n},448:function(t){t.exports=e},512:function(t){t.exports=i},540:function(t){t.exports=o},820:function(t){t.exports=a},944:function(e){e.exports=t},960:function(t){t.exports=r}},c={};function d(t){var e=c[t];if(void 0!==e)return e.exports;var r=c[t]={exports:{}};return p[t](r,r.exports,d),r.exports}d.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return d.d(e,{a:e}),e},d.d=function(t,e){for(var r in e)d.o(e,r)&&!d.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},d.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var l={};d.d(l,{default:function(){return tc}});var u=d(944),f=d.n(u);d(448);var g=f().animObject,m=f().getOptions,x=f().addEvent,y=f().defined,v=f().erase,w=f().extend,b=f().merge,A=f().pick,_=f().removeEvent,C=f().wrap,M=function(){for(var t=[],e=m().colors,r=0,i=0,a=["M 0 0 L 5 5 M 4.5 -0.5 L 5.5 0.5 M -0.5 4.5 L 0.5 5.5","M 0 5 L 5 0 M -0.5 0.5 L 0.5 -0.5 M 4.5 5.5 L 5.5 4.5","M 2 0 L 2 5 M 4 0 L 4 5","M 0 2 L 5 2 M 0 4 L 5 4","M 0 1.5 L 2.5 1.5 L 2.5 0 M 2.5 5 L 2.5 3.5 L 5 3.5"];i<a.length;i++){var n=a[i];t.push({path:n,color:e[r++],width:5,height:5,patternTransform:"scale(1.4 1.4)"})}r=5;for(var o=0,s=["M 0 0 L 5 10 L 10 0","M 3 3 L 8 3 L 8 8 L 3 8 Z","M 5 5 m -4 0 a 4 4 0 1 1 8 0 a 4 4 0 1 1 -8 0","M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11","M 0 10 L 10 0 M -1 1 L 1 -1 M 9 11 L 11 9"];o<s.length;o++){var n=s[o];t.push({path:n,color:e[r++],width:10,height:10})}return t}();function O(t,e){var r,i=JSON.stringify(t),a=i.length||0,n=0,o=0;if(e){r=Math.max(Math.floor(a/500),1);for(var s=0;s<a;s+=r)n+=i.charCodeAt(s);n&=n}for(;o<a;++o)n=(n<<5)-n+i.charCodeAt(o),n&=n;return n.toString(16).replace("-","1")}function S(){if(this.renderer&&(this.renderer.defIds||[]).filter(function(t){return t&&t.indexOf&&0===t.indexOf("highcharts-pattern-")}).length){for(var t=0,e=this.series;t<e.length;t++){var r=e[t];if(r.visible)for(var i=0,a=r.points;i<a.length;i++){var n=a[i],o=n.options&&n.options.color;o&&o.pattern&&(o.pattern._width="defer",o.pattern._height="defer")}}this.redraw(!1)}}function k(){var t={},e=this.renderer,r=(e.defIds||[]).filter(function(t){return t.indexOf&&0===t.indexOf("highcharts-pattern-")});if(r.length){[].forEach.call(this.renderTo.querySelectorAll('[color^="url("], [fill^="url("], [stroke^="url("]'),function(r){var i=r.getAttribute("fill")||r.getAttribute("color")||r.getAttribute("stroke");i&&(t[i.replace(e.url,"").replace("url(#","").replace(")","")]=!0)});for(var i=0;i<r.length;i++){var a=r[i];!t[a]&&(v(e.defIds,a),e.patternElements[a]&&(e.patternElements[a].destroy(),delete e.patternElements[a]))}}}function E(){var t=this.options.color;t&&t.pattern&&("string"==typeof t.pattern.path&&(t.pattern.path={d:t.pattern.path}),this.color=this.options.color=b(this.series.options.color,t))}function L(t){var e=t.args[0],r=t.args[1],i=t.args[2],a=this.chartIndex||0,n=e.pattern,o="#333333";if(void 0!==e.patternIndex&&M&&(n=M[e.patternIndex]),!n)return!0;if(n.image||"string"==typeof n.path||n.path&&n.path.d){var s=i.parentNode&&i.parentNode.getAttribute("class");s=s&&s.indexOf("highcharts-legend")>-1,("defer"===n._width||"defer"===n._height)&&G.call({graphic:{element:i}},n),(s||!n.id)&&((n=b({},n)).id="highcharts-pattern-"+a+"-"+O(n)+O(n,!0)),this.addPattern(n,!this.forExport&&A(n.animation,this.globalAnimation,{duration:100})),o="url(".concat(this.url,"#").concat(n.id+(this.forExport?"-export":""),")")}else o=n.color||o;return i.setAttribute(r,o),e.toString=function(){return o},!1}function R(){var t=this.chart.isResizing;if(this.isDirtyData||t||!this.chart.hasRendered)for(var e=0,r=this.points;e<r.length;e++){var i=r[e],a=i.options&&i.options.color;a&&a.pattern&&(t&&!(i.shapeArgs&&i.shapeArgs.width&&i.shapeArgs.height)?(a.pattern._width="defer",a.pattern._height="defer"):i.calculatePatternDimensions(a.pattern))}}function G(t){if(!t.width||!t.height){var e=this.graphic&&(this.graphic.getBBox&&this.graphic.getBBox(!0)||this.graphic.element&&this.graphic.element.getBBox())||{},r=this.shapeArgs;if(r&&(e.width=r.width||e.width,e.height=r.height||e.height,e.x=r.x||e.x,e.y=r.y||e.y),t.image){if(!e.width||!e.height){t._width="defer",t._height="defer";var i=this.series.chart.mapView&&this.series.chart.mapView.getSVGTransform().scaleY;y(i)&&i<0&&(t._inverted=!0);return}t.aspectRatio&&(e.aspectRatio=e.width/e.height,t.aspectRatio>e.aspectRatio?e.aspectWidth=e.height*t.aspectRatio:e.aspectHeight=e.width/t.aspectRatio),t._width=t.width||Math.ceil(e.aspectWidth||e.width),t._height=t.height||Math.ceil(e.aspectHeight||e.height)}t.width||(t._x=t.x||0,t._x+=e.x-Math.round(e.aspectWidth?Math.abs(e.aspectWidth-e.width)/2:0)),t.height||(t._y=t.y||0,t._y+=e.y-Math.round(e.aspectHeight?Math.abs(e.aspectHeight-e.height)/2:0))}}function j(t,e){var r,i,a=A(e,!0),n=g(a),o=t.color||"#333333",s=t.height||("number"==typeof t._height?t._height:0)||32,h=t.width||("number"==typeof t._width?t._width:0)||32,p=t.id;if(!p&&(this.idCounter=this.idCounter||0,p="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(p+="-export"),this.defIds=this.defIds||[],!(this.defIds.indexOf(p)>-1)){this.defIds.push(p);var c,d={id:p,patternUnits:"userSpaceOnUse",patternContentUnits:t.patternContentUnits||"userSpaceOnUse",width:h,height:s,x:t._x||t.x||0,y:t._y||t.y||0};t._inverted&&(d.patternTransform="scale(1, -1)",t.patternTransform&&(t.patternTransform+=" scale(1, -1)")),t.patternTransform&&(d.patternTransform=t.patternTransform);var l=this.createElement("pattern").attr(d).add(this.defs);return(l.id=p,t.path)?(i=f().isObject(t.path)?t.path:{d:t.path},t.backgroundColor&&(c=t.backgroundColor,this.rect(0,0,h,s).attr({fill:c}).add(l)),r={d:i.d},this.styledMode||(r.stroke=i.stroke||o,r["stroke-width"]=A(i.strokeWidth,2),r.fill=i.fill||"none"),i.transform&&(r.transform=i.transform),this.createElement("path").attr(r).add(l),l.color=o):t.image&&(a?this.image(t.image,0,0,h,s,function(){this.animate({opacity:A(t.opacity,1)},n),_(this.element,"load")}).attr({opacity:0}).add(l):this.image(t.image,0,0,h,s).add(l)),t.image&&a||void 0===t.opacity||[].forEach.call(l.element.childNodes,function(e){e.setAttribute("opacity",t.opacity)}),this.patternElements=this.patternElements||{},this.patternElements[p]=l,l}}function I(t){var e=this.options.color;e&&e.pattern&&!e.pattern.color?(delete this.options.color,t.apply(this,[].slice.call(arguments,1)),e.pattern.color=this.color,this.color=this.options.color=e):t.apply(this,[].slice.call(arguments,1))}function q(){var t,e;if(null==(t=this.chart)?void 0:t.mapView){var r=this.chart.renderer,i=r.patternElements;(null==(e=r.defIds)?void 0:e.length)&&i&&this.points.filter(function(t){var e,r,i,a;return!!t.graphic&&(t.graphic.element.hasAttribute("fill")||t.graphic.element.hasAttribute("color")||t.graphic.element.hasAttribute("stroke"))&&!(null==(r=null==(e=t.options.color)?void 0:e.pattern)?void 0:r.image)&&!!(null==(i=t.group)?void 0:i.scaleX)&&!!(null==(a=t.group)?void 0:a.scaleY)}).map(function(t){var e,i,a,n,o;return{id:((null==(e=t.graphic)?void 0:e.element.getAttribute("fill"))||(null==(i=t.graphic)?void 0:i.element.getAttribute("color"))||(null==(a=t.graphic)?void 0:a.element.getAttribute("stroke"))||"").replace(r.url,"").replace("url(#","").replace(")",""),x:(null==(n=t.group)?void 0:n.scaleX)||1,y:(null==(o=t.group)?void 0:o.scaleY)||1}}).filter(function(t,e,r){return""!==t.id&&-1!==t.id.indexOf("highcharts-pattern-")&&!r.some(function(r,i){return r.id===t.id&&i<e})}).forEach(function(t){var e=t.id;i[e].scaleX=1/t.x,i[e].scaleY=1/t.y,i[e].updateTransform("patternTransform")})}}var B=d(960),T=d.n(B),W=d(512),D=d.n(W),P=f().defined,H=function(t,e,r,i,a){void 0===a&&(a=1);var n=t&&t.attr("fill"),o=n&&n.match(/url\(([^)]+)\)/);if(o){var s=document.querySelector(""+o[1]+" path");if(s){var h=s.getBBox();if(0===h.width){var p=s.parentElement;t.renderer.box.appendChild(s),h=s.getBBox(),p.appendChild(s)}var c=1/(h.width+a),d=e/i/h.height,l=h.width/h.height,u=r/e,f=-h.width/2;l<u&&(c=c*l/u),s.setAttribute("stroke-width",a/(r*c)),s.setAttribute("transform","translate(0.5, 0)"+"scale(".concat(c," ").concat(d,") ")+"translate(".concat(f+a*c/2,", ").concat(-h.y,")"))}}},X=function(t,e){var r=t.len,i=0;return e&&P(e.max)&&(i=t.toPixels(e.max,!0),r=t.len-i),{height:r,y:i}},U=(s=function(t,e){return(s=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),V=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return U(e,t),e.prototype.setState=function(){t.prototype.setState.apply(this,arguments);var e=this.series,r=e.options.paths;if(this.graphic&&this.shapeArgs&&r){var i=r[this.index%r.length];H(this.graphic,X(e.yAxis,i).height,this.shapeArgs.width||0,this.shapeArgs.height||1/0,this.series.options.borderWidth||0)}},e}(D().seriesTypes.column.prototype.pointClass),Y=d(820),N=d.n(Y),z=d(184),F=d.n(z),Z=d(540),J=d.n(Z),K=(h=function(t,e){return(h=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(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 r(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),Q=D().seriesTypes.column;({compose:function(t,e,r){var i=e.prototype.pointClass,a=i.prototype;a.calculatePatternDimensions||(x(t,"endResize",S),x(t,"redraw",k),w(a,{calculatePatternDimensions:G}),x(i,"afterInit",E),x(e,"render",R),C(e.prototype,"getColor",I),x(e,"afterRender",q),x(e,"mapZoomComplete",q),w(r.prototype,{addPattern:j}),x(r,"complexColor",L))},patterns:M}).compose(T(),N(),J());var $=f().animObject,tt=function(t,e){var r=e.chart.inverted;r&&t.attr({rotation:90*!!r,scaleX:r?-1:1})},te=f().addEvent,tr=f().defined,ti=f().merge,ta=f().objectEach,tn=f().pick,to=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return K(e,t),e.prototype.animate=function(t){var e=this.chart,r=this.group,i=$(this.options.animation),a=[this.getSharedClipKey(),i.duration,i.easing,i.defer].join(","),n=e.sharedClips[a];if(t&&r){var o=e.getClipBox(this);n||(o.y=o.height,o.height=0,n=e.renderer.clipRect(o),e.sharedClips[a]=n),r.clip(n)}else if(n&&!n.hasClass("highcharts-animating")){var s=e.getClipBox(this);n.addClass("highcharts-animating").animate(s,i)}},e.prototype.animateDrilldown=function(){},e.prototype.animateDrillupFrom=function(){},e.prototype.pointAttribs=function(e){var r=t.prototype.pointAttribs.apply(this,arguments),i=this.options.paths;if(e&&e.shapeArgs&&i){var a=i[e.index%i.length],n=X(this.yAxis,a),o=n.y,s=n.height,h=a.definition;h!==e.pathDef?(e.pathDef=h,r.fill={pattern:{path:{d:h,fill:r.fill,strokeWidth:r["stroke-width"],stroke:r.stroke},x:e.shapeArgs.x,y:o,width:e.shapeArgs.width||0,height:s,patternContentUnits:"objectBoundingBox",backgroundColor:"none",color:"#ff0000"}}):e.pathDef&&e.graphic&&delete r.fill}return delete r.stroke,delete r.strokeWidth,r},e.prototype.getExtremes=function(){var e=t.prototype.getExtremes.apply(this,arguments),r=this.options.paths;return r&&r.forEach(function(t){tr(t.max)&&tr(e.dataMax)&&t.max>e.dataMax&&(e.dataMax=t.max)}),e},e.defaultOptions=ti(Q.defaultOptions,{borderWidth:0}),e}(Q);function ts(t){var e=Object.keys(t.points).filter(function(t){return t.split(",").length>1}),r=t.axis.chart.series,i=e.map(function(t){return parseFloat(t.split(",")[0])}),a=-1;i.forEach(function(t){r[t]&&r[t].visible&&(a=t)});var n=t.axis.chart.series[a];if(n&&n.is("pictorial")&&t.axis.hasData()&&n.xAxis.hasData()){var o=n.xAxis,s=t.axis.options,h=t.axis.chart,p=t.shadow,c=o.toPixels(t.x,!0),d=h.inverted?o.len-c:c,l=n.options.paths||[],u=t.x%l.length,f=l[u],g=n.getColumnMetrics&&n.getColumnMetrics().width,m=X(n.yAxis,f),x=m.height,y=m.y,v=s.stackShadow,w=tn(v&&v.borderWidth,n.options.borderWidth,1);if(!p&&v&&v.enabled&&f)t.shadowGroup||(t.shadowGroup=h.renderer.g("shadow-group").add()),t.shadowGroup.attr({translateX:h.inverted?t.axis.pos:o.pos,translateY:h.inverted?o.pos:t.axis.pos}),t.shadow=h.renderer.rect(d,y,g,x).attr({fill:{pattern:{path:{d:f.definition,fill:v.color||"#dedede",strokeWidth:w,stroke:v.borderColor||"transparent"},x:d,y:y,width:g,height:x,patternContentUnits:"objectBoundingBox",backgroundColor:"none",color:"#dedede"}}}).add(t.shadowGroup),tt(t.shadowGroup,t.axis),H(t.shadow,x,g,x,w),t.setOffset(n.pointXOffset||0,n.barW||0);else if(p&&t.shadowGroup){p.animate({x:d,y:y,width:g,height:x});var b=p.attr("fill"),A=b&&b.match(/url\(([^)]+)\)/);A&&h.renderer.patternElements&&h.renderer.patternElements[A[1].slice(1)].animate({x:d,y:y,width:g,height:x}),t.shadowGroup.animate({translateX:h.inverted?t.axis.pos:o.pos,translateY:h.inverted?o.pos:t.axis.pos}),tt(t.shadowGroup,t.axis),H(p,x,g,x,w),t.setOffset(n.pointXOffset||0,n.barW||0)}}else t.shadow&&t.shadowGroup&&(t.shadow.destroy(),t.shadow=void 0,t.shadowGroup.destroy(),t.shadowGroup=void 0)}function th(t,e){t.axes&&t.axes.forEach(function(t){t.stacking&&ta(t.stacking.stacks,function(t){ta(t,function(t){e(t)})})})}function tp(t){th(t,function(t){t.shadow&&t.shadowGroup&&(t.shadow.destroy(),t.shadowGroup.destroy(),delete t.shadow,delete t.shadowGroup)})}te(to,"afterRender",function(){var t=this,e=t.options.paths,r=/url\(([^)]+)\)/;t.points.forEach(function(i){if(i.graphic&&i.shapeArgs&&e){var a=e[i.index%e.length],n=i.graphic.attr("fill"),o=n&&n.match(r),s=X(t.yAxis,a),h=s.y,p=s.height;if(o&&t.chart.renderer.patternElements){var c=t.chart.renderer.patternElements[o[1].slice(1)];c&&c.animate({x:i.shapeArgs.x,y:h,width:i.shapeArgs.width||0,height:p})}H(i.graphic,X(t.yAxis,a).height,i.shapeArgs.width||0,i.shapeArgs.height||1/0,t.options.borderWidth||0)}})}),te(T(),"render",function(){th(this,ts)}),te(F(),"afterSetOffset",function(t){if(this.shadow){var e=this.axis,r=e.chart,i=e.len,a=t.xOffset,n=t.width,o=r.inverted?a-r.xAxis[0].len:a,s=r.inverted?-i:0;this.shadow.attr({translateX:o,translateY:s}),this.shadow.animate({width:n})}}),te(T(),"afterDrilldown",function(){tp(this)}),te(T(),"afterDrillUp",function(){tp(this)}),to.prototype.pointClass=V,D().registerSeriesType("pictorial",to);var tc=f();return l.default}()});