var p={exports:{}};(function(h){(function(n){h.exports?(n.default=n,h.exports=n):n(typeof Highcharts<"u"?Highcharts:void 0)})(function(n){var o=n?n._modules:{};function l(a,e,r,d){a.hasOwnProperty(e)||(a[e]=d.apply(null,r),typeof CustomEvent=="function"&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:a[e]}})))}l(o,"Extensions/NoDataToDisplay/NoDataDefaults.js",[],function(){return{lang:{noData:"No data to display"},noData:{attr:{zIndex:1},position:{x:0,y:0,align:"center",verticalAlign:"middle"},style:{fontWeight:"bold",fontSize:"0.8em",color:"#666666"}}}}),l(o,"Extensions/NoDataToDisplay/NoDataToDisplay.js",[o["Core/Renderer/HTML/AST.js"],o["Core/Globals.js"],o["Extensions/NoDataToDisplay/NoDataDefaults.js"],o["Core/Utilities.js"]],function(a,e,r,d){let{composed:u}=e,{addEvent:c,extend:f,merge:y,pushUnique:N}=d;function x(){let i=this.series||[],t=i.length;for(;t--;)if(i[t].hasData()&&!i[t].options.isInternal)return!0;return this.loadingShown}function b(){this.noDataLabel&&(this.noDataLabel=this.noDataLabel.destroy())}function g(i){let t=this.options,D=i||t&&t.lang.noData||"",s=t&&(t.noData||{});this.renderer&&(this.noDataLabel||(this.noDataLabel=this.renderer.label(D,0,0,void 0,void 0,void 0,s.useHTML,void 0,"no-data").add()),this.styledMode||this.noDataLabel.attr(a.filterUserAttributes(s.attr||{})).css(s.style||{}),this.noDataLabel.align(f(this.noDataLabel.getBBox(),s.position||{}),!1,"plotBox"))}function v(){this.hasData()?this.hideNoData():this.showNoData()}return{compose:function i(t,D){if(N(u,i)){let s=t.prototype;s.hasData=x,s.hideNoData=b,s.showNoData=g,c(t,"render",v),y(!0,D,r)}}}}),l(o,"masters/modules/no-data-to-display.src.js",[o["Core/Globals.js"],o["Extensions/NoDataToDisplay/NoDataToDisplay.js"]],function(a,e){e.compose(a.Chart,a.defaultOptions)})})})(p);const m=p.exports;export{m as N};
