!/**
 * Highcharts JS v12.5.0 (2026-01-12)
 * @module highcharts/modules/exporting
 * @requires highcharts
 *
 * Exporting module
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Torstein Honsi
 *
 * A commercial license may be required depending on use.
 * See www.highcharts.com/license
 */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("highcharts"),require("highcharts").AST,require("highcharts").Chart):"function"==typeof define&&define.amd?define("highcharts/modules/exporting",[["highcharts/highcharts"],["highcharts/highcharts","AST"],["highcharts/highcharts","Chart"]],t):"object"==typeof exports?exports["highcharts/modules/exporting"]=t(require("highcharts"),require("highcharts").AST,require("highcharts").Chart):e.Highcharts=t(e.Highcharts,e.Highcharts.AST,e.Highcharts.Chart)}(this,function(e,t,n){return function(){"use strict";var r,o,i,a,s={660:function(e){e.exports=t},944:function(t){t.exports=e},960:function(e){e.exports=n}},l={};function c(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={exports:{}};return s[e](n,n.exports,c),n.exports}c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},c.d=function(e,t){for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var u={};c.d(u,{default:function(){return ex}});var h=c(944),p=c.n(h),d=c(660),f=c.n(d),g=c(960),v=c.n(g);(r=i||(i={})).compose=function(e){return e.navigation||(e.navigation=new o(e)),e},r.Additions=o=function(){function e(e){this.updates=[],this.chart=e}return e.prototype.addUpdate=function(e){this.chart.navigation.updates.push(e)},e.prototype.update=function(e,t){var n=this;this.updates.forEach(function(r){r.call(n.chart,e,t)})},e}();var m=i,y=p().isSafari,b=p().win,x=p().win.document,w=p().error,S=b.URL||b.webkitURL||b;function O(e,t){var n=b.navigator,r=x.createElement("a");if("string"!=typeof e&&!(e instanceof String)&&n.msSaveOrOpenBlob)return void n.msSaveOrOpenBlob(e,t);if(e=""+e,n.userAgent.length>1e3)throw Error("Input too long");var o=/Edge\/\d+/.test(n.userAgent);if((y&&"string"==typeof e&&0===e.indexOf("data:application/pdf")||o||e.length>2e6)&&!(e=function(e){var t=e.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);if(t&&t.length>3&&b.atob&&b.ArrayBuffer&&b.Uint8Array&&b.Blob&&S.createObjectURL){for(var n=b.atob(t[3]),r=new b.ArrayBuffer(n.length),o=new b.Uint8Array(r),i=0;i<o.length;++i)o[i]=n.charCodeAt(i);return S.createObjectURL(new b.Blob([o],{type:t[1]}))}}(e)||""))throw Error("Failed to convert to blob");if(void 0!==r.download)r.href=e,r.download=t,x.body.appendChild(r),r.click(),x.body.removeChild(r);else try{if(!b.open(e,"chart"))throw Error("Failed to open window")}catch(t){b.location.href=e}}var C=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})},E=function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var c=[s,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}},T=p().isTouchDevice,k={exporting:{allowTableSorting:!0,libURL:"https://code.highcharts.com/12.5.0/lib/",local:!0,type:"image/png",url:"https://export-svg.highcharts.com?v=".concat(p().version),pdfFont:{normal:void 0,bold:void 0,bolditalic:void 0,italic:void 0},printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:["viewFullscreen","printChart","separator","downloadPNG","downloadJPEG","downloadSVG"]}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){var e;null==(e=this.fullscreen)||e.toggle()}},printChart:{textKey:"printChart",onclick:function(){var e;null==(e=this.exporting)||e.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){return C(this,void 0,void 0,function(){var e;return E(this,function(t){switch(t.label){case 0:return[4,null==(e=this.exporting)?void 0:e.exportChart()];case 1:return t.sent(),[2]}})})}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){return C(this,void 0,void 0,function(){var e;return E(this,function(t){switch(t.label){case 0:return[4,null==(e=this.exporting)?void 0:e.exportChart({type:"image/jpeg"})];case 1:return t.sent(),[2]}})})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){return C(this,void 0,void 0,function(){var e;return E(this,function(t){switch(t.label){case 0:return[4,null==(e=this.exporting)?void 0:e.exportChart({type:"application/pdf"})];case 1:return t.sent(),[2]}})})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){return C(this,void 0,void 0,function(){var e;return E(this,function(t){switch(t.label){case 0:return[4,null==(e=this.exporting)?void 0:e.exportChart({type:"image/svg+xml"})];case 1:return t.sent(),[2]}})})}}}},lang:{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"},navigation:{buttonOptions:{symbolSize:14,symbolX:14.5,symbolY:13.5,align:"right",buttonSpacing:5,height:28,y:-5,verticalAlign:"top",width:28,symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{fill:"#ffffff",padding:5,stroke:"none","stroke-linecap":"round"}},menuStyle:{border:"none",borderRadius:"3px",background:"#ffffff",padding:"0.5em"},menuItemStyle:{background:"none",borderRadius:"3px",color:"#333333",padding:"0.5em",fontSize:T?"0.9em":"0.8em",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#f2f2f2"}}};!function(e){var t=[];function n(e,t,n,r){return[["M",e,t+2.5],["L",e+n,t+2.5],["M",e,t+r/2+.5],["L",e+n,t+r/2+.5],["M",e,t+r-1.5],["L",e+n,t+r-1.5]]}function r(e,t,n,r){var o=r/3-2,i=[];return i.concat(this.circle(n-o,t,o,o),this.circle(n-o,t+o+4,o,o),this.circle(n-o,t+2*(o+4),o,o))}e.compose=function(e){if(-1===t.indexOf(e)){t.push(e);var o=e.prototype.symbols;o.menu=n,o.menuball=r.bind(o)}}}(a||(a={}));var F=a,P=p().composed,R=p().addEvent,N=p().fireEvent,L=p().pushUnique;function A(){this.fullscreen=new M(this)}var M=function(){function e(e){this.chart=e,this.isOpen=!1;var t=e.renderTo;!this.browserProps&&("function"==typeof t.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:t.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:t.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:t.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}return e.compose=function(e){L(P,"Fullscreen")&&R(e,"beforeRender",A)},e.prototype.close=function(){var e=this,t=e.chart,n=t.options.chart;N(t,"fullscreenClose",void 0,function(){e.isOpen&&e.browserProps&&t.container.ownerDocument instanceof Document&&t.container.ownerDocument[e.browserProps.exitFullscreen](),e.unbindFullscreenEvent&&(e.unbindFullscreenEvent=e.unbindFullscreenEvent()),t.setSize(e.origWidth,e.origHeight,!1),e.origWidth=void 0,e.origHeight=void 0,n.width=e.origWidthOption,n.height=e.origHeightOption,e.origWidthOption=void 0,e.origHeightOption=void 0,e.isOpen=!1,e.setButtonText()})},e.prototype.open=function(){var e=this,t=e.chart,n=t.options.chart;N(t,"fullscreenOpen",void 0,function(){if(n&&(e.origWidthOption=n.width,e.origHeightOption=n.height),e.origWidth=t.chartWidth,e.origHeight=t.chartHeight,e.browserProps){var r=R(t.container.ownerDocument,e.browserProps.fullscreenChange,function(){e.isOpen?(e.isOpen=!1,e.close()):(t.setSize(null,null,!1),e.isOpen=!0,e.setButtonText())}),o=R(t,"destroy",r);e.unbindFullscreenEvent=function(){r(),o()};var i=t.renderTo[e.browserProps.requestFullscreen]();i&&i.catch(function(){alert("Full screen is not supported inside a frame.")})}})},e.prototype.setButtonText=function(){var e,t,n=this.chart,r=null==(e=n.exporting)?void 0:e.divElements,o=n.options.exporting,i=o&&o.buttons&&o.buttons.contextButton.menuItems,a=n.options.lang;if((null==o?void 0:o.menuItemDefinitions)&&(null==a?void 0:a.exitFullscreen)&&a.viewFullscreen&&i&&r){var s=r[i.indexOf("viewFullscreen")];s&&f().setElementHTML(s,this.isOpen?a.exitFullscreen:(null==(t=o.menuItemDefinitions.viewFullscreen)?void 0:t.textKey)||a.viewFullscreen)}},e.prototype.toggle=function(){this.isOpen?this.close():this.open()},e}(),j=function(){return(j=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},D=function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var c=[s,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}},I=p().win,H=p().discardElement,U=p().objectEach,G={ajax:function(e){var t,n={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},r=new XMLHttpRequest;function o(t,n){e.error&&e.error(t,n)}if(!e.url)return!1;r.open((e.type||"get").toUpperCase(),e.url,!0),(null==(t=e.headers)?void 0:t["Content-Type"])||r.setRequestHeader("Content-Type",n[e.dataType||"json"]||n.text),U(e.headers,function(e,t){r.setRequestHeader(t,e)}),e.responseType&&(r.responseType=e.responseType),r.onreadystatechange=function(){var t,n;if(4===r.readyState){if(200===r.status){if("blob"!==e.responseType&&(n=r.responseText,"json"===e.dataType))try{n=JSON.parse(n)}catch(e){if(e instanceof Error)return o(r,e)}return null==(t=e.success)?void 0:t.call(e,n,r)}o(r,r.responseText)}},e.data&&"string"!=typeof e.data&&(e.data=JSON.stringify(e.data)),r.send(e.data)},getJSON:function(e,t){G.ajax({url:e,success:t,dataType:"json",headers:{"Content-Type":"text/plain"}})}};G.post=function(e,t,n){var r,o,i,a;return r=this,o=void 0,i=void 0,a=function(){var r,o,i,a;return D(this,function(s){switch(s.label){case 0:return r=new I.FormData,U(t,function(e,t){r.append(t,e)}),r.append("b64","true"),[4,I.fetch(e,j({method:"POST",body:r},n))];case 1:if(!(o=s.sent()).ok)return[3,3];return[4,o.text()];case 2:i=s.sent(),(a=document.createElement("a")).href="data:".concat(t.type,";base64,").concat(i),a.download=t.filename,a.click(),H(a),s.label=3;case 3:return[2]}})},new(i||(i=Promise))(function(e,t){function n(e){try{l(a.next(e))}catch(e){t(e)}}function s(e){try{l(a.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(n,s)}l((a=a.apply(r,o||[])).next())})};var B=function(){return(B=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},q=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})},V=function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var c=[s,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}},W=p().defaultOptions,z=p().setOptions,$=p().composed,K=p().doc,J=p().isFirefox,_=p().isMS,X=p().isSafari,Y=p().SVG_NS,Z=p().win,Q=p().addEvent,ee=p().clearTimeout,et=p().createElement,en=p().css,er=p().discardElement,eo=p().error,ei=p().extend,ea=p().find,es=p().fireEvent,el=p().isObject,ec=p().merge,eu=p().objectEach,eh=p().pick,ep=p().pushUnique,ed=p().removeEvent,ef=p().splat,eg=p().uniqueKey;f().allowedAttributes.push("data-z-index","fill-opacity","filter","preserveAspectRatio","rx","ry","stroke-dasharray","stroke-linejoin","stroke-opacity","text-anchor","transform","transform-origin","version","viewBox","visibility","xmlns","xmlns:xlink"),f().allowedTags.push("desc","clippath","fedropshadow","femorphology","g","image");var ev=Z.URL||Z.webkitURL||Z,em=function(){function e(e,t){this.options={},this.chart=e,this.options=t,this.btnCount=0,this.buttonOffset=0,this.divElements=[],this.svgElements=[]}return e.hyphenate=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()})},e.imageToDataURL=function(t,n,r){return q(this,void 0,void 0,function(){var o,i,a;return V(this,function(s){switch(s.label){case 0:return[4,e.loadImage(t)];case 1:if(o=s.sent(),a=null==(i=K.createElement("canvas"))?void 0:i.getContext("2d"))return i.height=o.height*n,i.width=o.width*n,a.drawImage(o,0,0,i.width,i.height),[2,i.toDataURL(r)];throw Error("No canvas found!")}})})},e.fetchCSS=function(e){return q(this,void 0,void 0,function(){var t,n;return V(this,function(r){switch(r.label){case 0:return[4,fetch(e).then(function(e){return e.text()})];case 1:return t=r.sent(),(n=new CSSStyleSheet).replaceSync(t),[2,n]}})})},e.handleStyleSheet=function(t,n){return q(this,void 0,void 0,function(){var r,o,i,a,s;return V(this,function(l){switch(l.label){case 0:l.trys.push([0,5,,9]),r=function(r){var o,i,a,s;return V(this,function(l){switch(l.label){case 0:if(!(r instanceof CSSImportRule))return[3,3];return[4,e.fetchCSS(r.href)];case 1:return o=l.sent(),[4,e.handleStyleSheet(o,n)];case 2:l.sent(),l.label=3;case 3:return r instanceof CSSFontFaceRule&&(i=r.cssText,t.href&&(a=t.href,s=/url\(\s*(['"]?)(?![a-z]+:|\/\/)([^'")]+?)\1\s*\)/gi,i=i.replace(s,function(e,t,n){var r=new URL(n,a).href;return"url(".concat(t).concat(r).concat(t,")")})),n.push(i)),[2]}})},o=0,i=Array.from(t.cssRules),l.label=1;case 1:if(!(o<i.length))return[3,4];return a=i[o],[5,r(a)];case 2:l.sent(),l.label=3;case 3:return o++,[3,1];case 4:return[3,9];case 5:if(l.sent(),!t.href)return[3,8];return[4,e.fetchCSS(t.href)];case 6:return s=l.sent(),[4,e.handleStyleSheet(s,n)];case 7:l.sent(),l.label=8;case 8:return[3,9];case 9:return[2]}})})},e.fetchStyleSheets=function(){return q(this,void 0,void 0,function(){var t,n,r,o;return V(this,function(i){switch(i.label){case 0:t=[],n=0,r=Array.from(K.styleSheets),i.label=1;case 1:if(!(n<r.length))return[3,4];return o=r[n],[4,e.handleStyleSheet(o,t)];case 2:i.sent(),i.label=3;case 3:return n++,[3,1];case 4:return[2,t]}})})},e.inlineFonts=function(t){return q(this,void 0,void 0,function(){var n,r,o,i,a,s,l,c,u,h,p,d,f,g,v,m;return V(this,function(y){switch(y.label){case 0:return[4,e.fetchStyleSheets()];case 1:for(n=y.sent(),r=/url\(([^)]+)\)/g,o=[],i=n.join("\n");a=r.exec(i);)s=a[1].replace(/['"]/g,""),o.includes(s)||o.push(s);l=function(e){for(var t="",n=new Uint8Array(e),r=0;r<n.byteLength;r++)t+=String.fromCharCode(n[r]);return btoa(t)},c={},u=0,h=o,y.label=2;case 2:if(!(u<h.length))return[3,8];p=h[u],y.label=3;case 3:return y.trys.push([3,6,,7]),[4,fetch(p)];case 4:return f=(d=y.sent()).headers.get("Content-Type")||"",v=l,[4,d.arrayBuffer()];case 5:return g=v.apply(void 0,[y.sent()]),c[p]="data:".concat(f,";base64,").concat(g),[3,7];case 6:return y.sent(),[3,7];case 7:return u++,[3,2];case 8:return i=i.replace(r,function(e,t){var n=t.replace(/['"]/g,"");return"url(".concat(c[n]||n,")")}),(m=document.createElementNS("http://www.w3.org/2000/svg","style")).textContent=i,t.append(m),[2,t]}})})},e.loadImage=function(t){return new Promise(function(n,r){var o=new Z.Image;o.crossOrigin="Anonymous",o.onload=function(){setTimeout(function(){n(o)},e.loadEventDeferDelay)},o.onerror=function(e){r(e)},o.src=t})},e.prepareImageOptions=function(e){var t,n=(null==e?void 0:e.type)||"image/png",r=(null==e?void 0:e.libURL)||(null==(t=W.exporting)?void 0:t.libURL);return{type:n,filename:((null==e?void 0:e.filename)||"chart")+"."+("image/svg+xml"===n?"svg":n.split("/")[1]),scale:(null==e?void 0:e.scale)||1,libURL:(null==r?void 0:r.slice(-1))!=="/"?r+"/":r}},e.sanitizeSVG=function(e,t){var n,r=e.indexOf("</svg>")+6,o=e.indexOf("<foreignObject")>-1,i=e.substr(r);return e=e.substr(0,r),o?e=e.replace(/(<(?:img|br).*?(?=\>))>/g,"$1 />"):i&&(null==(n=null==t?void 0:t.exporting)?void 0:n.allowHTML)&&(i='<foreignObject x="0" y="0" width="'+t.chart.width+'" height="'+t.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+i.replace(/(<(?:img|br).*?(?=\>))>/g,"$1 />")+"</body></foreignObject>",e=e.replace("</svg>",i+"</svg>")),e=e.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery\d+="[^"]+"/g,"").replace(/url\(("|&quot;)(.*?)("|&quot;)\;?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (NS\d+\:)?href=/g," xlink:href=").replace(/\n+/g," ").replace(/&nbsp;/g,"\xa0").replace(/&shy;/g,"\xad")},e.svgToDataURL=function(e){var t=Z.navigator.userAgent,n=t.indexOf("WebKit")>-1&&0>t.indexOf("Chrome");try{if(!n&&-1===e.indexOf("<foreignObject"))return ev.createObjectURL(new Z.Blob([e],{type:"image/svg+xml;charset-utf-16"}))}catch(e){}return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(e)},e.prototype.addButton=function(e){var t,n,r=this,o=r.chart,i=o.renderer,a=ec(null==(t=o.options.navigation)?void 0:t.buttonOptions,e),s=a.onclick,l=a.menuItems,c=a.symbolSize||12;if(!1!==a.enabled&&a.theme){var u=o.styledMode?{}:a.theme,h=function(){};s?h=function(e){e&&e.stopPropagation(),s.call(o,e)}:l&&(h=function(e){e&&e.stopPropagation(),r.contextMenu(p.menuClassName,l,p.translateX||0,p.translateY||0,p.width||0,p.height||0,p),p.setState(2)}),a.text&&a.symbol?u.paddingLeft=eh(u.paddingLeft,30):a.text||ei(u,{width:a.width,height:a.height,padding:0});var p=i.button(a.text||"",0,0,h,u,void 0,void 0,void 0,void 0,a.useHTML).addClass(e.className||"").attr({title:eh(o.options.lang[a._titleKey||a.titleKey],"")});p.menuClassName=e.menuClassName||"highcharts-menu-"+r.btnCount++,a.symbol&&(n=i.symbol(a.symbol,Math.round((a.symbolX||0)-c/2),Math.round((a.symbolY||0)-c/2),c,c,{width:c,height:c}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(p),o.styledMode||n.attr({stroke:a.symbolStroke,fill:a.symbolFill,"stroke-width":a.symbolStrokeWidth||1})),p.add(r.group).align(ei(a,{width:p.width,x:eh(a.x,r.buttonOffset)}),!0,"spacingBox"),r.buttonOffset+=((p.width||0)+(a.buttonSpacing||0))*("right"===a.align?-1:1),r.svgElements.push(p,n)}},e.prototype.afterPrint=function(){var t=this.chart;if(this.printReverseInfo){var n=this.printReverseInfo,r=n.childNodes,o=n.origDisplay,i=n.resetParams;this.moveContainers(t.renderTo),[].forEach.call(r,function(e,t){1===e.nodeType&&(e.style.display=o[t]||"")}),this.isPrinting=!1,i&&t.setSize.apply(t,i),delete this.printReverseInfo,e.printingChart=void 0,es(t,"afterPrint")}},e.prototype.beforePrint=function(){var e,t=this.chart,n=K.body,r=this.options.printMaxWidth,o={childNodes:n.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,null==(e=t.pointer)||e.reset(void 0,0),es(t,"beforePrint"),r&&t.chartWidth>r&&(o.resetParams=[t.options.chart.width,void 0,!1],t.setSize(r,void 0,!1)),[].forEach.call(o.childNodes,function(e,t){1===e.nodeType&&(o.origDisplay[t]=e.style.display,e.style.display="none")}),this.moveContainers(n),this.printReverseInfo=o},e.prototype.contextMenu=function(e,t,n,r,o,i,a){var s,l,c,u,h=this,p=h.chart,d=p.options.navigation,g=p.chartWidth,v=p.chartHeight,m="cache-"+e,y=Math.max(o,i),b=p[m];b||(h.contextMenuEl=p[m]=b=et("div",{className:e},B({position:"absolute",zIndex:1e3,padding:y+"px",pointerEvents:"auto"},p.renderer.style),(null==(s=p.scrollablePlotArea)?void 0:s.fixedDiv)||p.container),u=et("ul",{className:"highcharts-menu"},p.styledMode?{}:{listStyle:"none",margin:0,padding:0},b),p.styledMode||en(u,ei({MozBoxShadow:"3px 3px 10px #0008",WebkitBoxShadow:"3px 3px 10px #0008",boxShadow:"3px 3px 10px #0008"},(null==d?void 0:d.menuStyle)||{})),b.hideMenu=function(){en(b,{display:"none"}),a&&a.setState(0),p.exporting&&(p.exporting.openMenu=!1),en(p.renderTo,{overflow:"hidden"}),en(p.container,{overflow:"hidden"}),ee(b.hideTimer),es(p,"exportMenuHidden")},null==(l=h.events)||l.push(Q(b,"mouseleave",function(){b.hideTimer=Z.setTimeout(b.hideMenu,500)}),Q(b,"mouseenter",function(){ee(b.hideTimer)}),Q(K,"mouseup",function(t){var n;(null==(n=p.pointer)?void 0:n.inClass(t.target,e))||b.hideMenu()}),Q(b,"click",function(){var e;(null==(e=p.exporting)?void 0:e.openMenu)&&b.hideMenu()})),t.forEach(function(e){var t;if("string"==typeof e&&(null==(t=h.options.menuItemDefinitions)?void 0:t[e])&&(e=h.options.menuItemDefinitions[e]),el(e,!0)){var n=void 0;e.separator?n=et("hr",void 0,void 0,u):("viewData"===e.textKey&&h.isDataTableVisible&&(e.textKey="hideData"),n=et("li",{className:"highcharts-menu-item",onclick:function(t){t&&t.stopPropagation(),b.hideMenu(),"string"!=typeof e&&e.onclick&&e.onclick.apply(p,arguments)}},void 0,u),f().setElementHTML(n,e.text||p.options.lang[e.textKey]),p.styledMode||(n.onmouseover=function(){en(this,(null==d?void 0:d.menuItemHoverStyle)||{})},n.onmouseout=function(){en(this,(null==d?void 0:d.menuItemStyle)||{})},en(n,ei({cursor:"pointer"},(null==d?void 0:d.menuItemStyle)||{})))),h.divElements.push(n)}}),h.divElements.push(u,b),h.menuHeight=b.offsetHeight,h.menuWidth=b.offsetWidth);var x={display:"block"};n+(h.menuWidth||0)>g?x.right=g-n-o-y+"px":x.left=n-y+"px",r+i+(h.menuHeight||0)>v&&(null==(c=a.alignOptions)?void 0:c.verticalAlign)!=="top"?x.bottom=v-r-y+"px":x.top=r+i-y+"px",en(b,x),en(p.renderTo,{overflow:""}),en(p.container,{overflow:""}),p.exporting&&(p.exporting.openMenu=!0),es(p,"exportMenuShown")},e.prototype.destroy=function(e){var t,n=e?e.target:this.chart,r=this.divElements,o=this.events,i=this.svgElements;i.forEach(function(e,r){e&&(e.onclick=e.ontouchstart=null,n[t="cache-"+e.menuClassName]&&delete n[t],i[r]=e.destroy())}),i.length=0,this.group&&(this.group.destroy(),delete this.group),r.forEach(function(e,t){e&&(ee(e.hideTimer),ed(e,"mouseleave"),r[t]=e.onmouseout=e.onmouseover=e.ontouchstart=e.onclick=null,er(e))}),r.length=0,o&&(o.forEach(function(e){e()}),o.length=0)},e.prototype.downloadSVG=function(t,n){return q(this,void 0,void 0,function(){var r,o,i,a,s,l,c,u,h,p,d,f,g,v,m,y;return V(this,function(b){switch(b.label){case 0:if(r={svg:t,exportingOptions:n,exporting:this},es(e.prototype,"downloadSVG",r),r.defaultPrevented)return[2];if(i=(o=e.prepareImageOptions(n)).type,a=o.filename,s=o.scale,l=o.libURL,"application/pdf"!==i)return[3,1];throw Error("Offline exporting logic for PDF type is not found.");case 1:if("image/svg+xml"!==i)return[3,2];return void 0!==Z.MSBlobBuilder?((u=new Z.MSBlobBuilder).append(t),c=u.getBlob("image/svg+xml")):c=e.svgToDataURL(t),O(c,a),[3,10];case 2:c=e.svgToDataURL(t),b.label=3;case 3:return b.trys.push([3,5,9,10]),e.objectURLRevoke=!0,[4,e.imageToDataURL(c,s,i)];case 4:return O(b.sent(),a),[3,10];case 5:var S;if("No canvas found!"===(h=b.sent()).message)throw h;if(t.length>1e8)throw Error("Input too long");if(d=(p=K.createElement("canvas")).getContext("2d"),f=t.match(/^<svg[^>]*\s{,1000}width\s{,1000}=\s{,1000}\"?(\d+)\"?[^>]*>/),g=t.match(/^<svg[^>]*\s{0,1000}height\s{,1000}=\s{,1000}\"?(\d+)\"?[^>]*>/),!(d&&f&&g))return[3,8];if(v=f[1]*s,m=g[1]*s,y=function(){Z.canvg.Canvg.fromString(d,t).start(),O(Z.navigator.msSaveOrOpenBlob?p.msToBlob():p.toDataURL(i),a)},p.width=v,p.height=m,Z.canvg)return[3,7];return e.objectURLRevoke=!0,[4,(S=l+"canvg.js",new Promise(function(e,t){var n=x.getElementsByTagName("head")[0],r=x.createElement("script");r.type="text/javascript",r.src=S,r.onload=function(){e()},r.onerror=function(){var e="Error loading script ".concat(S);w(e),t(Error(e))},n.appendChild(r)}))];case 6:b.sent(),b.label=7;case 7:y(),b.label=8;case 8:return[3,10];case 9:if(e.objectURLRevoke)try{ev.revokeObjectURL(c)}catch(e){}return[7];case 10:return[2]}})})},e.prototype.exportChart=function(e,t){return q(this,void 0,void 0,function(){var n;return V(this,function(r){switch(r.label){case 0:if(!(e=ec(this.options,e)).local)return[3,2];return[4,this.localExport(e,t||{})];case 1:return r.sent(),[3,4];case 2:if(n=this.getSVGForExport(e,t),!e.url)return[3,4];return[4,G.post(e.url,{filename:e.filename?e.filename.replace(/\//g,"-"):this.getFilename(),type:e.type,width:e.width,scale:e.scale,svg:n},e.fetchOptions)];case 3:r.sent(),r.label=4;case 4:return[2]}})})},e.prototype.fallbackToServer=function(e,t){return q(this,void 0,void 0,function(){return V(this,function(n){switch(n.label){case 0:if(!1!==e.fallbackToExportServer)return[3,1];return e.error?e.error(e,t):eo(28,!0),[3,3];case 1:if("application/pdf"!==e.type)return[3,3];return e.local=!1,[4,this.exportChart(e)];case 2:n.sent(),n.label=3;case 3:return[2]}})})},e.prototype.getChartHTML=function(e){var t=this.chart;return e&&this.inlineStyles(),this.resolveCSSVariables(),t.container.innerHTML},e.prototype.getFilename=function(){var e,t=null==(e=this.chart.userOptions.title)?void 0:e.text,n=this.options.filename;return n?n.replace(/\//g,"-"):("string"==typeof t&&(n=t.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z\d\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!n||n.length<5)&&(n="chart"),n)},e.prototype.getSVG=function(t){var n,r,o,i,a,s,l=this.chart,c=ec(l.options,t);c.plotOptions=ec(l.userOptions.plotOptions,null==t?void 0:t.plotOptions),c.time=ec(l.userOptions.time,null==t?void 0:t.time);var u=et("div",void 0,{position:"absolute",top:"-9999em",width:l.chartWidth+"px",height:l.chartHeight+"px"},K.body),h=l.renderTo.style.width,p=l.renderTo.style.height,d=(null==(n=c.exporting)?void 0:n.sourceWidth)||c.chart.width||/px$/.test(h)&&parseInt(h,10)||(c.isGantt?800:600),f=(null==(r=c.exporting)?void 0:r.sourceHeight)||c.chart.height||/px$/.test(p)&&parseInt(p,10)||400;ei(c.chart,{animation:!1,renderTo:u,forExport:!0,renderer:"SVGRenderer",width:d,height:f}),c.exporting&&(c.exporting.enabled=!1),delete c.data,c.series=[],l.series.forEach(function(e){var t;(s=ec(e.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:e.visible})).isInternal||null==(t=null==c?void 0:c.series)||t.push(s)});var g={};l.axes.forEach(function(e){e.userOptions.internalKey||(e.userOptions.internalKey=eg()),c&&!e.options.isInternal&&(g[e.coll]||(g[e.coll]=!0,c[e.coll]=[]),c[e.coll].push(ec(e.userOptions,{visible:e.visible,type:e.type,uniqueNames:e.uniqueNames})))}),c.colorAxis=l.userOptions.colorAxis;var v=new l.constructor(c,l.callback);return t&&["xAxis","yAxis","series"].forEach(function(e){var n;t[e]&&v.update(((n={})[e]=t[e],n))}),l.axes.forEach(function(e){var n=ea(v.axes,function(t){return t.options.internalKey===e.userOptions.internalKey});if(n){var r=e.getExtremes(),o=ef((null==t?void 0:t[e.coll])||{})[0],i="min"in o?o.min:r.userMin,a="max"in o?o.max:r.userMax;(void 0!==i&&i!==n.min||void 0!==a&&a!==n.max)&&n.setExtremes(null!=i?i:void 0,null!=a?a:void 0,!0,!1)}}),a=(null==(o=v.exporting)?void 0:o.getChartHTML(l.styledMode||(null==(i=c.exporting)?void 0:i.applyStyleSheets)))||"",es(l,"getSVG",{chartCopy:v}),a=e.sanitizeSVG(a,c),c=void 0,v.destroy(),er(u),a},e.prototype.getSVGForExport=function(e,t){var n=this.options;return this.getSVG(ec({chart:{borderRadius:0}},n.chartOptions,t,{exporting:{sourceWidth:(null==e?void 0:e.sourceWidth)||n.sourceWidth,sourceHeight:(null==e?void 0:e.sourceHeight)||n.sourceHeight}}))},e.prototype.inlineStyles=function(){var t,n,r=e.inlineDenylist,o=e.inlineAllowlist,i={},a=et("iframe",void 0,{width:"1px",height:"1px",visibility:"hidden"},K.body),s=null==(t=a.contentWindow)?void 0:t.document;s&&s.body.appendChild(s.createElementNS(Y,"svg")),!function t(a){var l,c,u,h,p,d,f={};if(s&&1===a.nodeType&&-1===e.unstyledElements.indexOf(a.nodeName)){if(l=Z.getComputedStyle(a,null),c="svg"===a.nodeName?{}:Z.getComputedStyle(a.parentNode,null),!i[a.nodeName]){n=s.getElementsByTagName("svg")[0],u=s.createElementNS(a.namespaceURI,a.nodeName),n.appendChild(u);var g=Z.getComputedStyle(u,null),v={};for(var m in g)m.length<1e3&&"string"==typeof g[m]&&!/^\d+$/.test(m)&&(v[m]=g[m]);i[a.nodeName]=v,"text"===a.nodeName&&delete i.text.fill,n.removeChild(u)}for(var y in l)(J||_||X||Object.hasOwnProperty.call(l,y))&&function(t,n){if(h=p=!1,o.length){for(d=o.length;d--&&!p;)p=o[d].test(n);h=!p}for("transform"===n&&"none"===t&&(h=!0),d=r.length;d--&&!h;){if(n.length>1e3)throw Error("Input too long");h=r[d].test(n)||"function"==typeof t}!h&&(c[n]!==t||"svg"===a.nodeName)&&i[a.nodeName][n]!==t&&(e.inlineToAttributes&&-1===e.inlineToAttributes.indexOf(n)?f[n]=t:t&&a.setAttribute(e.hyphenate(n),t))}(l[y],y);if(en(a,f),"svg"===a.nodeName&&a.setAttribute("stroke-width","1px"),"text"===a.nodeName)return;[].forEach.call(a.children||a.childNodes,t)}}(this.chart.container.querySelector("svg")),n.parentNode.removeChild(n),a.parentNode.removeChild(a)},e.prototype.localExport=function(t,n){return q(this,void 0,void 0,function(){var r,o,i,a,s,l,c,u,h,p,d,f,g,v,m,y,b,x,w;return V(this,function(S){switch(S.label){case 0:if(r=this.chart,o=this,i=function(t){return e.sanitizeSVG(t||"",s)},l=null,_&&r.styledMode&&!e.inlineAllowlist.length&&e.inlineAllowlist.push(/^blockSize/,/^border/,/^caretColor/,/^color/,/^columnRule/,/^columnRuleColor/,/^cssFloat/,/^cursor/,/^fill$/,/^fillOpacity/,/^font/,/^inlineSize/,/^length/,/^lineHeight/,/^opacity/,/^outline/,/^parentRule/,/^rx$/,/^ry$/,/^stroke/,/^textAlign/,/^textAnchor/,/^textDecoration/,/^transform/,/^vectorEffect/,/^visibility/,/^x$/,/^y$/),!(_&&("application/pdf"===t.type||r.container.getElementsByTagName("image").length&&"image/svg+xml"!==t.type)||"application/pdf"===t.type&&[].some.call(r.container.getElementsByTagName("image"),function(e){var t=e.getAttribute("href");return""!==t&&"string"==typeof t&&0!==t.indexOf("data:")})))return[3,2];return[4,this.fallbackToServer(t,Error("Image type not supported for this chart/browser."))];case 1:return S.sent(),[2];case 2:u=Q(r,"getSVG",function(e){s=e.chartCopy.options,c=(a=e.chartCopy.container.cloneNode(!0))&&a.getElementsByTagName("image")||[]}),S.label=3;case 3:S.trys.push([3,14,16,17]),this.getSVGForExport(t,n),h=c?Array.from(c):[],p=0,d=h,S.label=4;case 4:if(!(p<d.length))return[3,8];if(!(l=(f=d[p]).getAttributeNS("http://www.w3.org/1999/xlink","href")))return[3,6];return e.objectURLRevoke=!1,[4,e.imageToDataURL(l,(null==t?void 0:t.scale)||1,(null==t?void 0:t.type)||"image/png")];case 5:return g=S.sent(),f.setAttributeNS("http://www.w3.org/1999/xlink","href",g),[3,7];case 6:f.parentNode.removeChild(f),S.label=7;case 7:return p++,[3,4];case 8:if(!((v=null==a?void 0:a.querySelector("svg"))&&!(null==(w=null==(x=null==(b=t.chartOptions)?void 0:b.chart)?void 0:x.style)?void 0:w.fontFamily)))return[3,10];return[4,e.inlineFonts(v)];case 9:S.sent(),S.label=10;case 10:if(!((m=i(null==a?void 0:a.innerHTML)).indexOf("<foreignObject")>-1&&"image/svg+xml"!==t.type&&(_||"application/pdf"===t.type)))return[3,11];throw Error("Image type not supported for charts with embedded HTML");case 11:return[4,o.downloadSVG(m,ei({filename:o.getFilename()},t))];case 12:S.sent(),S.label=13;case 13:return[2,m];case 14:return y=S.sent(),[4,this.fallbackToServer(t,y)];case 15:return S.sent(),[3,17];case 16:return u(),[7];case 17:return[2]}})})},e.prototype.moveContainers=function(e){var t=this.chart,n=t.scrollablePlotArea;(n?[n.fixedDiv,n.scrollingContainer]:[t.container]).forEach(function(t){e.appendChild(t)})},e.prototype.print=function(){var t=this.chart;this.isPrinting||(e.printingChart=t,X||this.beforePrint(),setTimeout(function(){Z.focus(),Z.print(),X||setTimeout(function(){var e;null==(e=t.exporting)||e.afterPrint()},1e3)},1))},e.prototype.render=function(){var e=this,t=e.chart,n=e.options,r=(null==e?void 0:e.isDirty)||!(null==e?void 0:e.svgElements.length);e.buttonOffset=0,e.isDirty&&e.destroy(),r&&!1!==n.enabled&&(e.events=[],e.group||(e.group=t.renderer.g("exporting-group").attr({zIndex:3}).add()),eu(null==n?void 0:n.buttons,function(t){e.addButton(t)}),e.isDirty=!1)},e.prototype.resolveCSSVariables=function(){Array.from(this.chart.container.querySelectorAll("*")).forEach(function(e){["color","fill","stop-color","stroke"].forEach(function(t){var n,r=e.getAttribute(t);(null==r?void 0:r.includes("var("))&&e.setAttribute(t,getComputedStyle(e).getPropertyValue(t));var o=null==(n=e.style)?void 0:n[t];(null==o?void 0:o.includes("var("))&&(e.style[t]=getComputedStyle(e).getPropertyValue(t))})})},e.prototype.update=function(e,t){this.isDirty=!0,ec(!0,this.options,e),eh(t,!0)&&this.chart.redraw()},e.inlineAllowlist=[],e.inlineDenylist=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/^parentRule$/,/^(cssRules|ownerRules)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/,/^\d+$/],e.inlineToAttributes=["fill","stroke","strokeLinecap","strokeLinejoin","strokeWidth","textAnchor","x","y"],e.loadEventDeferDelay=150*!!_,e.unstyledElements=["clipPath","defs","desc"],e}();!function(e){function t(e){var t=e.exporting;t&&(t.render(),Q(e,"redraw",function(){var e;null==(e=this.exporting)||e.render()}),Q(e,"destroy",function(){var e;null==(e=this.exporting)||e.destroy()}))}function n(){var t=this;t.options.exporting&&(t.exporting=new e(t,t.options.exporting),m.compose(t).navigation.addUpdate(function(e,n){t.exporting&&(t.exporting.isDirty=!0,ec(!0,t.options.navigation,e),eh(n,!0)&&t.redraw())}))}function r(e){var t,n,r,o,i=e.alignTo,a=e.key,s=e.textPxLength,l=this.options.exporting,c=ec(null==(t=this.options.navigation)?void 0:t.buttonOptions,null==(n=null==l?void 0:l.buttons)?void 0:n.contextButton),u=c.align,h=c.buttonSpacing,p=c.verticalAlign,d=c.width,f=i.width-s,g=(void 0===d?0:d)+(void 0===h?0:h);(null==(r=null==l?void 0:l.enabled)||r)&&"title"===a&&"right"===u&&"top"===p&&f<2*g&&(f<g?i.width-=g:(null==(o=this.title)?void 0:o.alignValue)!=="left"&&(i.x-=g-f/2))}e.compose=function(o,i){F.compose(i),M.compose(o),ep($,"Exporting")&&(ei(v().prototype,{exportChart:function(e,t){return q(this,void 0,void 0,function(){var n;return V(this,function(r){switch(r.label){case 0:return[4,null==(n=this.exporting)?void 0:n.exportChart(e,t)];case 1:return r.sent(),[2]}})})},getChartHTML:function(e){var t;return null==(t=this.exporting)?void 0:t.getChartHTML(e)},getFilename:function(){var e;return null==(e=this.exporting)?void 0:e.getFilename()},getSVG:function(e){var t;return null==(t=this.exporting)?void 0:t.getSVG(e)},print:function(){var e;return null==(e=this.exporting)?void 0:e.print()}}),o.prototype.callbacks.push(t),Q(o,"afterInit",n),Q(o,"layOutTitle",r),X&&Z.matchMedia("print").addListener(function(t){var n,r;e.printingChart&&(t.matches?null==(n=e.printingChart.exporting)||n.beforePrint():null==(r=e.printingChart.exporting)||r.afterPrint())}),z(k))}}(em||(em={}));var ey=em,eb=p();eb.Exporting=ey,eb.HttpUtilities=eb.HttpUtilities||G,eb.ajax=eb.HttpUtilities.ajax,eb.getJSON=eb.HttpUtilities.getJSON,eb.post=eb.HttpUtilities.post,ey.compose(eb.Chart,eb.Renderer);var ex=p();return u.default}()});