!/**
 * Highcharts JS v12.5.0 (2026-01-12)
 * @module highcharts/modules/export-data
 * @requires highcharts
 * @requires highcharts/modules/exporting
 *
 * Export data module
 *
 * (c) 2010-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(require("highcharts"),require("highcharts").AST,require("highcharts").Chart):"function"==typeof define&&define.amd?define("highcharts/modules/export-data",[["highcharts/highcharts"],["highcharts/highcharts","AST"],["highcharts/highcharts","Chart"]],e):"object"==typeof exports?exports["highcharts/modules/export-data"]=e(require("highcharts"),require("highcharts").AST,require("highcharts").Chart):t.Highcharts=e(t.Highcharts,t.Highcharts.AST,t.Highcharts.Chart)}(this,function(t,e,a){return function(){"use strict";var n,o={660:function(t){t.exports=e},944:function(e){e.exports=t},960:function(t){t.exports=a}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var a=r[t]={exports:{}};return o[t](a,a.exports,i),a.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var a in e)i.o(e,a)&&!i.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var l={};i.d(l,{default:function(){return M}});var s=i(944),c=i.n(s),h=c().isSafari,d=c().win,u=c().win.document,p=(c().error,d.URL||d.webkitURL||d);function g(t){var e=t.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);if(e&&e.length>3&&d.atob&&d.ArrayBuffer&&d.Uint8Array&&d.Blob&&p.createObjectURL){for(var a=d.atob(e[3]),n=new d.ArrayBuffer(a.length),o=new d.Uint8Array(n),r=0;r<o.length;++r)o[r]=a.charCodeAt(r);return p.createObjectURL(new d.Blob([o],{type:e[1]}))}}function f(t,e){var a=d.navigator,n=u.createElement("a");if("string"!=typeof t&&!(t instanceof String)&&a.msSaveOrOpenBlob)return void a.msSaveOrOpenBlob(t,e);if(t=""+t,a.userAgent.length>1e3)throw Error("Input too long");var o=/Edge\/\d+/.test(a.userAgent);if((h&&"string"==typeof t&&0===t.indexOf("data:application/pdf")||o||t.length>2e6)&&!(t=g(t)||""))throw Error("Failed to convert to blob");if(void 0!==n.download)n.href=t,n.download=e,u.body.appendChild(n),n.click(),u.body.removeChild(n);else try{if(!d.open(t,"chart"))throw Error("Failed to open window")}catch(e){d.location.href=t}}function v(t,e){var a=d.navigator,n=d.URL||d.webkitURL||d;try{if(a.msSaveOrOpenBlob&&d.MSBlobBuilder){var o=new d.MSBlobBuilder;return o.append(t),o.getBlob("image/svg+xml")}return n.createObjectURL(new d.Blob(["\uFEFF"+t],{type:e}))}catch(t){}}var m=i(660),x=i.n(m),b=i(960),y=i.n(b),w={exporting:{csv:{annotations:{itemDelimiter:"; ",join:!1},columnHeaderFormatter:null,dateFormat:"%Y-%m-%d %H:%M:%S",decimalPoint:null,itemDelimiter:null,lineDelimiter:"\n"},menuItemDefinitions:{downloadCSV:{textKey:"downloadCSV",onclick:function(){var t;null==(t=this.exporting)||t.downloadCSV()}},downloadXLS:{textKey:"downloadXLS",onclick:function(){var t;null==(t=this.exporting)||t.downloadXLS()}},viewData:{textKey:"viewData",onclick:function(){var t;null==(t=this.exporting)||t.wrapLoading(this.exporting.toggleDataTable)}}},showExportInProgress:!0,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",exportInProgress:"Exporting..."}},T=function(t,e,a){if(a||2==arguments.length)for(var n,o=0,r=e.length;o<r;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))},D=c().getOptions,S=c().setOptions,C=c().composed,E=c().doc,L=c().win,A=c().addEvent,O=c().defined,k=c().extend,V=c().find,N=c().fireEvent,H=c().isNumber,R=c().pick,F=c().pushUnique;!function(t){function e(){var t=this;this.wrapLoading(function(){var e=t.getCSV(!0);f(v(e,"text/csv")||"data:text/csv,\uFEFF"+encodeURIComponent(e),t.getFilename()+".csv")})}function a(){var t=this;this.wrapLoading(function(){var e='<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head>\x3c!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>Ark1</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--\x3e<style>td{border:none;font-family: Calibri, sans-serif;} .number{mso-number-format:"0.00";} .text{ mso-number-format:"@";}</style><meta name=ProgId content=Excel.Sheet><meta charset=UTF-8></head><body>'+t.getTable(!0)+"</body></html>";f(v(e,"application/vnd.ms-excel")||"data:application/vnd.ms-excel;base64,"+L.btoa(unescape(encodeURIComponent(e))),t.getFilename()+".xls")})}function n(t){var e,a="",n=this.getDataRows(),o=null==(e=this.options)?void 0:e.csv,r=R(null==o?void 0:o.decimalPoint,(null==o?void 0:o.itemDelimiter)!==","&&t?1.1.toLocaleString()[1]:"."),i=R(null==o?void 0:o.itemDelimiter,","===r?";":","),l=null==o?void 0:o.lineDelimiter;return n.forEach(function(t,e){for(var o="",s=t.length;s--;)"string"==typeof(o=t[s])&&(o='"'.concat(o,'"')),"number"==typeof o&&"."!==r&&(o=o.toString().replace(".",r)),t[s]=o;t.length=n.length?n[0].length:0,a+=t.join(i),e<n.length-1&&(a+=l)}),a}function o(t){var e,a,n,o,r,i,l,s,c=this.chart,h=c.hasParallelCoordinates,d=c.time,u=(null==(n=this.options)?void 0:n.csv)||{},p=c.xAxis,g={},f=[],v=[],m=[],x=c.options.lang.exportData,b=null==x?void 0:x.categoryHeader,y=null==x?void 0:x.categoryDatetimeHeader,w=function(e,a,n){if(u.columnHeaderFormatter){var o=u.columnHeaderFormatter(e,a,n);if(!1!==o)return o}return!e&&b?b:!e.bindAxes&&y&&b?e.options.title&&e.options.title.text||(e.dateTime?y:b):t?{columnTitle:((n||0)>1?a:e.name)||"",topLevelColumnTitle:e.name}:e.name+((n||0)>1?" ("+a+")":"")},D=function(t,e,a){var n={},o={};return e.forEach(function(e){var r=(t.keyToAxis&&t.keyToAxis[e]||e)+"Axis",i=H(a)?t.chart[r][a]:t[r];n[e]=i&&i.categories||[],o[e]=i&&i.dateTime}),{categoryMap:n,dateTimeValueAxisMap:o}},S=function(t,e){var a=t.pointArrayMap||["y"];return t.data.some(function(t){return void 0!==t.y&&t.name})&&e&&!e.categories&&"name"!==t.exportKey?T(["x"],a,!0):a},C=[],E=0;for(l in c.series.forEach(function(e){var a,n,o,r=e.options.keys,l=e.xAxis,s=r||S(e,l),c=s.length,f=!e.requireSorting&&{},x=p.indexOf(l),b=D(e,s);if(!1!==e.options.includeInDataExport&&!e.options.isInternal&&!1!==e.visible){for(V(C,function(t){return t[0]===x})||C.push([x,E]),o=0;o<c;)i=w(e,s[o],s.length),m.push(i.columnTitle||i),t&&v.push(i.topLevelColumnTitle||i),o++;n={chart:e.chart,autoIncrement:e.autoIncrement,options:e.options,pointArrayMap:e.pointArrayMap,index:e.index},null==(a=e.options.data)||a.forEach(function(t,a){var r,i,p,v,m={series:n};h&&(b=D(e,s,a)),e.pointClass.prototype.applyOptions.apply(m,[t]);var y=e.data[a]&&e.data[a].name;if(i=(null!=(r=m.x)?r:"")+","+y,o=0,(!l||"name"===e.exportKey||!h&&l&&l.hasNames&&y)&&(i=y),f&&(f[i]&&(i+="|"+a),f[i]=!0),g[i]){var w=""+i+",".concat(g[i].pointers[e.index]),T=i;g[i].pointers[e.index]&&(g[w]||(g[w]=[],g[w].xValues=[],g[w].pointers=[]),i=w),g[T].pointers[e.index]+=1}else{g[i]=[],g[i].xValues=[];for(var S=[],C=0;C<e.chart.series.length;C++)S[C]=0;g[i].pointers=S,g[i].pointers[e.index]=1}for(g[i].x=m.x,g[i].name=y,g[i].xValues[x]=m.x;o<c;)p=s[o],v=e.pointClass.prototype.getNestedProperty.apply(m,[p]),g[i][E+o]=R(b.categoryMap[p][v],b.dateTimeValueAxisMap[p]?d.dateFormat(u.dateFormat,v):null,v),o++}),E+=o}}),g)Object.hasOwnProperty.call(g,l)&&f.push(g[l]);for(r=t?[v,m]:[m],E=C.length;E--;)e=C[E][0],a=C[E][1],o=p[e],f.sort(function(t,a){return t.xValues[e]-a.xValues[e]}),s=w(o),r[0].splice(a,0,s),t&&r[1]&&r[1].splice(a,0,s),f.forEach(function(t){var e=t.name;o&&!O(e)&&(o.dateTime?(t.x instanceof Date&&(t.x=t.x.getTime()),e=d.dateFormat(u.dateFormat,t.x)):e=o.categories?R(o.names[t.x],o.categories[t.x],t.x):t.x),t.splice(a,0,e)});return N(c,"exportData",{dataRows:r=r.concat(f)}),r}function r(t){var e=function(t){if(!t.tagName||"#text"===t.tagName)return t.textContent||"";var a=t.attributes,n="<".concat(t.tagName);return a&&Object.keys(a).forEach(function(t){var e=a[t];n+=" ".concat(t,'="').concat(e,'"')}),n+=">",n+=t.textContent||"",(t.children||[]).forEach(function(t){n+=e(t)}),n+="</".concat(t.tagName,">")};return e(this.getTableAST(t))}function i(t){var e,a=0,n=[],o=this,r=o.chart,i=r.options,l=t?1.1.toLocaleString()[1]:".",s=R(o.options.useMultiLevelHeaders,!0),c=o.getDataRows(s),h=s?c.shift():null,d=c.shift(),u=function(t,e){var a=t.length;if(e.length!==a)return!1;for(;a--;)if(t[a]!==e[a])return!1;return!0},p=function(t,e,a,n){var o=R(n,""),i="highcharts-text"+(e?" "+e:"");return"number"==typeof o?(o=r.numberFormatter(o,-1,l,"th"===t?"":void 0),i="highcharts-number"):n||(i="highcharts-empty"),{tagName:t,attributes:a=k({class:i},a),textContent:o}},g=(o.options||{}).tableCaption;!1!==g&&n.push({tagName:"caption",attributes:{class:"highcharts-table-caption"},textContent:"string"==typeof g?g:(null==(e=i.title)?void 0:e.text)||i.lang.chartTitle});for(var f=0,v=c.length;f<v;++f)c[f].length>a&&(a=c[f].length);n.push(function(t,e,a){var n,r,i=[],l=0,c=a||e&&e.length,h=0;if(s&&t&&e&&!u(t,e)){for(var d=[];l<c;++l)if((n=t[l])===t[l+1])++h;else if(h)d.push(p("th","highcharts-table-topheading",{scope:"col",colspan:h+1},n)),h=0;else{n===e[l]?o.options.useRowspanHeaders?(r=2,delete e[l]):(r=1,e[l]=""):r=1;var g=p("th","highcharts-table-topheading",{scope:"col"},n);r>1&&g.attributes&&(g.attributes.valign="top",g.attributes.rowspan=r),d.push(g)}i.push({tagName:"tr",children:d})}if(e){var d=[];for(l=0,c=e.length;l<c;++l)void 0!==e[l]&&d.push(p("th",null,{scope:"col"},e[l]));i.push({tagName:"tr",children:d})}return{tagName:"thead",children:i}}(h,d||[],Math.max(a,(null==d?void 0:d.length)||0)));var m=[];c.forEach(function(t){for(var e=[],n=0;n<a;n++)e.push(p(n?"td":"th",null,n?{}:{scope:"row"},t[n]));m.push({tagName:"tr",children:e})}),n.push({tagName:"tbody",children:m});var x={tree:{tagName:"table",id:"highcharts-data-table-".concat(r.index),children:n}};return N(r,"afterGetTableAST",x),x.tree}function l(){this.toggleDataTable(!1)}function s(t){var e,a=this.chart,n=(t=R(t,!this.isDataTableVisible))&&!this.dataTableDiv;if(n&&(this.dataTableDiv=E.createElement("div"),this.dataTableDiv.className="highcharts-data-table",a.renderTo.parentNode.insertBefore(this.dataTableDiv,a.renderTo.nextSibling)),this.dataTableDiv){var o=this.dataTableDiv.style,r=o.display;o.display=t?"block":"none",t?(this.dataTableDiv.innerHTML=x().emptyHTML,new(x())([this.getTableAST()]).addToDOM(this.dataTableDiv),N(a,"afterViewData",{element:this.dataTableDiv,wasHidden:n||r!==o.display})):N(a,"afterHideData")}this.isDataTableVisible=t;var i=this.divElements,l=this.options,s=null==(e=l.buttons)?void 0:e.contextButton.menuItems,c=a.options.lang;if(l&&l.menuItemDefinitions&&c&&c.viewData&&c.hideData&&s&&i){var h=i[s.indexOf("viewData")];h&&x().setElementHTML(h,this.isDataTableVisible?c.hideData:c.viewData)}}function c(){this.toggleDataTable(!0)}function h(t){var e=this,a=this.chart,n=!!this.options.showExportInProgress,o=L.requestAnimationFrame||setTimeout;o(function(){n&&a.showLoading(a.options.lang.exportInProgress),o(function(){try{t.call(e)}finally{n&&a.hideLoading()}})})}function d(){var t=this.exporting,e=null==t?void 0:t.dataTableDiv,a=function(t,e){return t.children[e].textContent};if(e&&t.options.allowTableSorting){var n=e.querySelector("thead tr");n&&n.childNodes.forEach(function(n){var o=e.querySelector("tbody");n.addEventListener("click",function(){var r,i,l=T([],e.querySelectorAll("tr:not(thead tr)"),!0),s=T([],n.parentNode.children,!0);t&&(l.sort((r=s.indexOf(n),i=t.ascendingOrderInTable=!t.ascendingOrderInTable,function(t,e){var n,o;return n=a(i?t:e,r),o=a(i?e:t,r),""===n||""===o||isNaN(n)||isNaN(o)?n.toString().localeCompare(o):n-o})).forEach(function(t){null==o||o.appendChild(t)}),s.forEach(function(t){["highcharts-sort-ascending","highcharts-sort-descending"].forEach(function(e){t.classList.contains(e)&&t.classList.remove(e)})}),n.classList.add(t.ascendingOrderInTable?"highcharts-sort-ascending":"highcharts-sort-descending"))})})}}function u(){var t,e,a;(null==(e=null==(t=this.options)?void 0:t.exporting)?void 0:e.showTable)&&!this.options.chart.forExport&&(null==(a=this.exporting)||a.viewData())}function p(){var t,e;null==(e=null==(t=this.exporting)?void 0:t.dataTableDiv)||e.remove()}t.compose=function(t,g,f){if(F(C,"ExportData")){k(y().prototype,{downloadCSV:function(){var t;return null==(t=this.exporting)?void 0:t.downloadCSV()},downloadXLS:function(){var t;return null==(t=this.exporting)?void 0:t.downloadXLS()},getCSV:function(t){var e;return null==(e=this.exporting)?void 0:e.getCSV(t)},getDataRows:function(t){var e;return null==(e=this.exporting)?void 0:e.getDataRows(t)},getTable:function(t){var e;return null==(e=this.exporting)?void 0:e.getTable(t)},getTableAST:function(t){var e;return null==(e=this.exporting)?void 0:e.getTableAST(t)},hideData:function(){var t;return null==(t=this.exporting)?void 0:t.hideData()},toggleDataTable:function(t){var e;return null==(e=this.exporting)?void 0:e.toggleDataTable(t)},viewData:function(){var t;return null==(t=this.exporting)?void 0:t.viewData()}});var v,m,x,b=g.prototype;if(!b.downloadCSV){A(t,"afterViewData",d),A(t,"render",u),A(t,"destroy",p),b.downloadCSV=e,b.downloadXLS=a,b.getCSV=n,b.getDataRows=o,b.getTable=r,b.getTableAST=i,b.hideData=l,b.toggleDataTable=s,b.wrapLoading=h,b.viewData=c,S(w);var T=null==(x=null==(m=null==(v=D().exporting)?void 0:v.buttons)?void 0:m.contextButton)?void 0:x.menuItems;T&&T.push("separator","downloadCSV","downloadXLS","viewData");var E=f.types,L=E.arearange,O=E.gantt,V=E.map,N=E.mapbubble,H=E.treemap,R=E.xrange;L&&(L.prototype.keyToAxis={low:"y",high:"y"}),O&&(O.prototype.exportKey="name",O.prototype.keyToAxis={start:"x",end:"x"}),V&&(V.prototype.exportKey="name"),N&&(N.prototype.exportKey="name"),H&&(H.prototype.exportKey="name"),R&&(R.prototype.keyToAxis={x2:"x"})}}}}(n||(n={}));var I=n,B=c();B.dataURLtoBlob=B.dataURLtoBlob||g,B.downloadURL=B.downloadURL||f,I.compose(B.Chart,B.Exporting,B.Series);var M=c();return l.default}()});