/* Highcharts JS v10.2.1 (2022-08-29) Exporting module (c) 2010-2021 Torstein Honsi License: www.highcharts.com/license */ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/export-data",["highcharts","highcharts/modules/exporting"],function(n){a(n);a.Highcharts=n;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function n(a,e,c,v){a.hasOwnProperty(e)||(a[e]=v.apply(null,c),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:a[e]}})))} a=a?a._modules:{};n(a,"Extensions/ExportData/ExportDataDefaults.js",[],function(){"";return{exporting:{csv:{annotations:{itemDelimiter:"; ",join:!1},columnHeaderFormatter:null,dateFormat:"%Y-%m-%d %H:%M:%S",decimalPoint:null,itemDelimiter:null,lineDelimiter:"\n"},showTable:!1,useMultiLevelHeaders:!0,useRowspanHeaders:!0},lang:{downloadCSV:"Download CSV",downloadXLS:"Download XLS",exportData:{annotationHeader:"Annotations",categoryHeader:"Category",categoryDatetimeHeader:"DateTime"},viewData:"View data table", hideData:"Hide data table"}}});n(a,"Extensions/DownloadURL.js",[a["Core/Globals.js"]],function(a){var e=a.isSafari,c=a.win,v=c.document,n=c.URL||c.webkitURL||c,C=a.dataURLtoBlob=function(a){if((a=a.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([0-9A-Za-z+/]+)/))&&3";O(P(b,"application/vnd.ms-excel")||"data:application/vnd.ms-excel;base64,"+w.btoa(unescape(encodeURIComponent(b))),this.getFilename()+".xls")}function k(b){var a="",d=this.getDataRows(),f=this.options.exporting.csv,A=x(f.decimalPoint,","!==f.itemDelimiter&&b?(1.1).toLocaleString()[1]:"."),g=x(f.itemDelimiter,","===A?";":","),c=f.lineDelimiter;d.forEach(function(b,f){for(var h,r=b.length;r--;)h=b[r],"string"===typeof h&&(h='"'+h+'"'),"number"===typeof h&&"."!==A&& (h=h.toString().replace(".",A)),b[r]=h;b.length=d.length?d[0].length:0;a+=b.join(g);f")};a=this.getTableAST(a);return b(a)}function aa(a){var b=0,c=[],f=this.options,e=a?(1.1).toLocaleString()[1]:".",g=x(f.exporting.useMultiLevelHeaders,!0);a=this.getDataRows(g); var k=g?a.shift():null,l=a.shift(),n=function(a,b,c,f){var g=x(f,"");b="highcharts-text"+(b?" "+b:"");"number"===typeof g?(g=g.toString(),","===e&&(g=g.replace(".",e)),b="highcharts-number"):f||(b="highcharts-empty");c=R({"class":b},c);return{tagName:a,attributes:c,textContent:g}};!1!==f.exporting.tableCaption&&c.push({tagName:"caption",attributes:{"class":"highcharts-table-caption"},textContent:x(f.exporting.tableCaption,f.title.text?f.title.text:"Chart")});for(var h=0,p=a.length;h b&&(b=a[h].length);c.push(function(a,b,c){var h=[],e=0;c=c||b&&b.length;var k=0,d;if(d=g&&a&&b){a:if(d=a.length,b.length===d){for(;d--;)if(a[d]!==b[d]){d=!1;break a}d=!0}else d=!1;d=!d}if(d){for(d=[];eb.userAgent.indexOf("Chrome"),e=w.URL||w.webkitURL|| w;try{if(b.msSaveOrOpenBlob&&w.MSBlobBuilder){var g=new w.MSBlobBuilder;g.append(a);return g.getBlob("image/svg+xml")}if(!f)return e.createObjectURL(new w.Blob(["\ufeff"+a],{type:c}))}catch(u){}}function fa(){var a=this,c=a.dataTableDiv,d=document.querySelectorAll("thead")[0].querySelectorAll("tr")[0],f=function(a,b){return function(c,d){var f=(b?c:d).children[a].textContent;c=(b?d:c).children[a].textContent;return""===f||""===c||isNaN(f)||isNaN(c)?f.toString().localeCompare(c):f-c}};c&&d.childNodes.forEach(function(b){var d= b.closest("table");b.addEventListener("click",function(){var e=S([],c.querySelectorAll("tr:not(thead tr)"),!0),g=S([],b.parentNode.children,!0);e.sort(f(g.indexOf(b),a.ascendingOrderInTable=!a.ascendingOrderInTable)).forEach(function(a){d.appendChild(a)});g.forEach(function(a){["highcharts-sort-ascending","highcharts-sort-descending"].forEach(function(b){a.classList.contains(b)&&a.classList.remove(b)})});b.classList.add(a.ascendingOrderInTable?"highcharts-sort-ascending":"highcharts-sort-descending")})})} function ha(){this.options&&this.options.exporting&&this.options.exporting.showTable&&!this.options.chart.forExport&&this.viewData()}var S=this&&this.__spreadArray||function(a,c,d){if(d||2===arguments.length)for(var b=0,e=c.length,g;b