!/**
 * Highcharts JS v12.6.0 (2026-04-13)
 * @module highcharts/modules/export-data
 * @requires highcharts
 * @requires highcharts/modules/exporting
 *
 * Export data module
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Torstein Hønsi
 *
 * 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(t._Highcharts,t._Highcharts.AST,t._Highcharts.Chart):"function"==typeof define&&define.amd?define("highcharts/modules/export-data",["highcharts/highcharts"],function(t){return e(t,t.AST,t.Chart)}):"object"==typeof exports?exports["highcharts/modules/export-data"]=e(t._Highcharts,t._Highcharts.AST,t._Highcharts.Chart):t.Highcharts=e(t.Highcharts,t.Highcharts.AST,t.Highcharts.Chart)}("u"<typeof window?this:window,function(t,e,n){return function(){"use strict";var a,o={660:function(t){t.exports=e},944:function(e){e.exports=t},960:function(t){t.exports=n}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var n=r[t]={exports:{}};return o[t](n,n.exports,i),n.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 n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var l={};i.d(l,{default:function(){return F}});var s=i(944),c=i.n(s),u=c().isSafari,d=c().win,h=c().win.document,p=d.URL||d.webkitURL||d;function f(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 n=d.atob(e[3]),a=new d.ArrayBuffer(n.length),o=new d.Uint8Array(a),r=0;r<o.length;++r)o[r]=n.charCodeAt(r);return p.createObjectURL(new d.Blob([o],{type:e[1]}))}}function v(t,e){var n=d.navigator,a=h.createElement("a");if("string"!=typeof t&&!(t instanceof String)&&n.msSaveOrOpenBlob)return void n.msSaveOrOpenBlob(t,e);if(t=""+t,n.userAgent.length>1e3)throw Error("Input too long");var o=/Edge\/\d+/.test(n.userAgent);if((u&&"string"==typeof t&&0===t.indexOf("data:application/pdf")||o||t.length>2e6)&&!(t=f(t)||""))throw Error("Failed to convert to blob");if(void 0!==a.download)a.href=t,a.download=e,h.body.appendChild(a),a.click(),h.body.removeChild(a);else try{if(!d.open(t,"chart"))throw Error("Failed to open window")}catch(e){d.location.href=t}}function g(t,e){var n=d.navigator,a=d.URL||d.webkitURL||d;try{if(n.msSaveOrOpenBlob&&d.MSBlobBuilder){var o=new d.MSBlobBuilder;return o.append(t),o.getBlob("image/svg+xml")}return a.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=c().doc;function D(t,e,n,a){void 0===a&&(a={});var o="function"==typeof t&&t.prototype||t;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={});var r=o.hcEvents;c().Point&&t instanceof c().Point&&t.series&&t.series.chart&&(t.series.chart.runTrackerClick=!0);var i=t.addEventListener;i&&i.call(t,e,n,!!c().supportsPassiveEvents&&{passive:void 0===a.passive?-1!==e.indexOf("touch"):a.passive,capture:!1}),r[e]||(r[e]=[]);var l={fn:n,order:"number"==typeof a.order?a.order:1/0};return r[e].push(l),r[e].sort(function(t,e){return t.order-e.order}),function(){!function(t,e,n){function a(e,n){var a=t.removeEventListener;a&&a.call(t,e,n,!1)}function o(n){var o,r;if(t.nodeName){e?(o={})[e]=!0:o=n;var i=o,l=function(t,e){if(n[e])for(r=n[e].length;r--;)a(e,n[e][r].fn)};for(var s in i)Object.hasOwnProperty.call(i,s)&&l.call(i[s],i[s],s,i)}}var r="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(r,"hcEvents")){var i=r.hcEvents;if(e){var l=i[e]||[];n?(i[e]=l.filter(function(t){return n!==t.fn}),a(e,n)):(o(i),i[e]=[])}else o(i),delete r.hcEvents}}(t,e,n)}}function E(t,e){var n;for(n in t||(t={}),e)t[n]=e[n];return t}function S(t,e,n,a){if(n=n||{},(null==T?void 0:T.createEvent)&&(t.dispatchEvent||t.fireEvent&&t!==c())){var o=T.createEvent("Events");o.initEvent(e,!0,!0),n=E(o,n),t.dispatchEvent?t.dispatchEvent(n):t.fireEvent(e,n)}else if(t.hcEvents){n.target||E(n,{preventDefault:function(){n.defaultPrevented=!0},target:t,type:e});for(var r=[],i=t,l=!1;i.hcEvents;)Object.hasOwnProperty.call(i,"hcEvents")&&i.hcEvents[e]&&(r.length&&(l=!0),r.unshift.apply(r,i.hcEvents[e])),i=Object.getPrototypeOf(i);l&&r.sort(function(t,e){return t.order-e.order}),r.forEach(function(e){!1===e.fn.call(t,n,t)&&n.preventDefault()})}a&&!n.defaultPrevented&&a.call(t,n)}c().win;var A=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var n,a=t.length;for(n=0;n<a;n++)if(e(t[n],n))return t[n]};function C(){for(var t=arguments,e=t.length,n=0;n<e;n++){var a=t[n];if(null!=a)return a}}var L=function(t,e,n){if(n||2==arguments.length)for(var a,o=0,r=e.length;o<r;o++)!a&&o in e||(a||(a=Array.prototype.slice.call(e,0,o)),a[o]=e[o]);return t.concat(a||Array.prototype.slice.call(e))},O=c().getOptions,H=c().setOptions,k=c().composed,N=c().doc,V=c().win;!function(t){function e(){var t=this;this.wrapLoading(function(){var e=t.getCSV(!0);v(g(e,"text/csv")||"data:text/csv,\uFEFF"+encodeURIComponent(e),t.getFilename()+".csv")})}function n(){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>";v(g(e,"application/vnd.ms-excel")||"data:application/vnd.ms-excel;base64,"+V.btoa(unescape(encodeURIComponent(e))),t.getFilename()+".xls")})}function a(t){var e,n="",a=this.getDataRows(),o=null==(e=this.options)?void 0:e.csv,r=C(null==o?void 0:o.decimalPoint,(null==o?void 0:o.itemDelimiter)!==","&&t?1.1.toLocaleString()[1]:"."),i=C(null==o?void 0:o.itemDelimiter,","===r?";":","),l=null==o?void 0:o.lineDelimiter;return a.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=a.length?a[0].length:0,n+=t.join(i),e<a.length-1&&(n+=l)}),n}function o(t){var e,n,a,o,r,i,l,s,c=this.chart,u=c.hasParallelCoordinates,d=c.time,h=(null==(a=this.options)?void 0:a.csv)||{},p=c.xAxis,f={},v=[],g=[],m=[],x=c.options.lang.exportData,b=null==x?void 0:x.categoryHeader,y=null==x?void 0:x.categoryDatetimeHeader,w=function(e,n,a){if(h.columnHeaderFormatter){var o=h.columnHeaderFormatter(e,n,a);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:((a||0)>1?n:e.name)||"",topLevelColumnTitle:e.name}:e.name+((a||0)>1?" ("+n+")":"")},T=function(t,e,n){var a={},o={};return e.forEach(function(e){var r=(t.keyToAxis&&t.keyToAxis[e]||e)+"Axis",i="number"==typeof n&&!isNaN(n)&&n<1/0&&n>-1/0?t.chart[r][n]:t[r];a[e]=i&&i.categories||[],o[e]=i&&i.dateTime}),{categoryMap:a,dateTimeValueAxisMap:o}},D=function(t,e){var n=t.pointArrayMap||["y"];return t.data.some(function(t){return void 0!==t.y&&t.name})&&e&&!e.categories&&"name"!==t.exportKey?L(["x"],n,!0):n},E=[],O=0;for(l in c.series.forEach(function(e){var n,a,o,r=e.options.keys,l=e.xAxis,s=r||D(e,l),c=s.length,v=!e.requireSorting&&{},x=p.indexOf(l),b=T(e,s);if(!1!==e.options.includeInDataExport&&!e.options.isInternal&&!1!==e.visible){for(A(E,function(t){return t[0]===x})||E.push([x,O]),o=0;o<c;)i=w(e,s[o],s.length),m.push(i.columnTitle||i),t&&g.push(i.topLevelColumnTitle||i),o++;a={chart:e.chart,autoIncrement:e.autoIncrement,options:e.options,pointArrayMap:e.pointArrayMap,index:e.index,xAxis:e.xAxis},null==(n=e.options.data)||n.forEach(function(t,n){var r,i,p,g,m={series:a};u&&(b=T(e,s,n)),e.pointClass.prototype.applyOptions.apply(m,[t]);var y=e.data[n]&&e.data[n].name;if(i=(null!=(r=m.x)?r:"")+","+y,o=0,(!l||"name"===e.exportKey||!u&&l&&l.hasNames&&y)&&(i=y),v&&(v[i]&&(i+="|"+n),v[i]=!0),f[i]){var w=""+i+",".concat(f[i].pointers[e.index]),D=i;f[i].pointers[e.index]&&(f[w]||(f[w]=[],f[w].xValues=[],f[w].pointers=[]),i=w),f[D].pointers[e.index]+=1}else{f[i]=[],f[i].xValues=[];for(var E=[],S=0;S<e.chart.series.length;S++)E[S]=0;f[i].pointers=E,f[i].pointers[e.index]=1}for(f[i].x=m.x,f[i].name=y,f[i].xValues[x]=m.x;o<c;)p=s[o],g=e.pointClass.prototype.getNestedProperty.apply(m,[p]),f[i][O+o]=C(b.categoryMap[p][g],b.dateTimeValueAxisMap[p]?d.dateFormat(h.dateFormat,g):null,g),o++}),O+=o}}),f)Object.hasOwnProperty.call(f,l)&&v.push(f[l]);for(r=t?[g,m]:[m],O=E.length;O--;)e=E[O][0],n=E[O][1],o=p[e],v.sort(function(t,n){return t.xValues[e]-n.xValues[e]}),s=w(o),r[0].splice(n,0,s),t&&r[1]&&r[1].splice(n,0,s),v.forEach(function(t){var e=t.name;o&&null==e&&(o.dateTime?(t.x instanceof Date&&(t.x=t.x.getTime()),e=d.dateFormat(h.dateFormat,t.x)):e=o.categories?C(o.names[t.x],o.categories[t.x],t.x):t.x),t.splice(n,0,e)});return S(c,"exportData",{dataRows:r=r.concat(v)}),r}function r(t){var e=function(t){if(!t.tagName||"#text"===t.tagName)return t.textContent||"";var n=t.attributes,a="<".concat(t.tagName);return n&&Object.keys(n).forEach(function(t){var e=n[t];a+=" ".concat(t,'="').concat(e,'"')}),a+=">",a+=t.textContent||"",(t.children||[]).forEach(function(t){a+=e(t)}),a+="</".concat(t.tagName,">")};return e(this.getTableAST(t))}function i(t){var e,n=0,a=[],o=this,r=o.chart,i=r.options,l=t?1.1.toLocaleString()[1]:".",s=C(o.options.useMultiLevelHeaders,!0),c=o.getDataRows(s),u=s?c.shift():null,d=c.shift(),h=function(t,e){var n=t.length;if(e.length!==n)return!1;for(;n--;)if(t[n]!==e[n])return!1;return!0},p=function(t,e,n,a){var o=C(a,""),i="highcharts-text"+(e?" "+e:"");return"number"==typeof o?(o=r.numberFormatter(o,-1,l,"th"===t?"":void 0),i="highcharts-number"):a||(i="highcharts-empty"),{tagName:t,attributes:n=E({class:i},n),textContent:o}},f=(o.options||{}).tableCaption;!1!==f&&a.push({tagName:"caption",attributes:{class:"highcharts-table-caption"},textContent:"string"==typeof f?f:(null==(e=i.title)?void 0:e.text)||i.lang.chartTitle});for(var v=0,g=c.length;v<g;++v)c[v].length>n&&(n=c[v].length);a.push(function(t,e,n){var a,r,i=[],l=0,c=n||e&&e.length,u=0;if(s&&t&&e&&!h(t,e)){for(var d=[];l<c;++l)if((a=t[l])===t[l+1])++u;else if(u)d.push(p("th","highcharts-table-topheading",{scope:"col",colspan:u+1},a)),u=0;else{a===e[l]?o.options.useRowspanHeaders?(r=2,delete e[l]):(r=1,e[l]=""):r=1;var f=p("th","highcharts-table-topheading",{scope:"col"},a);r>1&&f.attributes&&(f.attributes.valign="top",f.attributes.rowspan=r),d.push(f)}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}}(u,d||[],Math.max(n,(null==d?void 0:d.length)||0)));var m=[];c.forEach(function(t){for(var e=[],a=0;a<n;a++)e.push(p(a?"td":"th",null,a?{}:{scope:"row"},t[a]));m.push({tagName:"tr",children:e})}),a.push({tagName:"tbody",children:m});var x={tree:{tagName:"table",id:"highcharts-data-table-".concat(r.index),children:a}};return S(r,"afterGetTableAST",x),x.tree}function l(){this.toggleDataTable(!1)}function s(t){var e,n=this.chart,a=(t=C(t,!this.isDataTableVisible))&&!this.dataTableDiv;if(a&&(this.dataTableDiv=N.createElement("div"),this.dataTableDiv.className="highcharts-data-table",n.renderTo.parentNode.insertBefore(this.dataTableDiv,n.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),S(n,"afterViewData",{element:this.dataTableDiv,wasHidden:a||r!==o.display})):S(n,"afterHideData")}this.isDataTableVisible=t;var i=this.divElements,l=this.options,s=null==(e=l.buttons)?void 0:e.contextButton.menuItems,c=n.options.lang;if(l&&l.menuItemDefinitions&&c&&c.viewData&&c.hideData&&s&&i){var u=i[s.indexOf("viewData")];u&&x().setElementHTML(u,this.isDataTableVisible?c.hideData:c.viewData)}}function c(){this.toggleDataTable(!0)}function u(t){var e=this,n=this.chart,a=!!this.options.showExportInProgress,o=V.requestAnimationFrame||setTimeout;o(function(){a&&n.showLoading(n.options.lang.exportInProgress),o(function(){try{t.call(e)}finally{a&&n.hideLoading()}})})}function d(){var t=this.exporting,e=null==t?void 0:t.dataTableDiv,n=function(t,e){return t.children[e].textContent};if(e&&t.options.allowTableSorting){var a=e.querySelector("thead tr");a&&a.childNodes.forEach(function(a){var o=e.querySelector("tbody");a.addEventListener("click",function(){var r,i,l=L([],e.querySelectorAll("tr:not(thead tr)"),!0),s=L([],a.parentNode.children,!0);t&&(l.sort((r=s.indexOf(a),i=t.ascendingOrderInTable=!t.ascendingOrderInTable,function(t,e){var a,o;return a=n(i?t:e,r),o=n(i?e:t,r),""===a||""===o||isNaN(a)||isNaN(o)?a.toString().localeCompare(o):a-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)})}),a.classList.add(t.ascendingOrderInTable?"highcharts-sort-ascending":"highcharts-sort-descending"))})})}}function h(){var t,e,n;(null==(e=null==(t=this.options)?void 0:t.exporting)?void 0:e.showTable)&&!this.options.chart.forExport&&(null==(n=this.exporting)||n.viewData())}function p(){var t,e;null==(e=null==(t=this.exporting)?void 0:t.dataTableDiv)||e.remove()}t.compose=function(t,f,v){var g;if(g="ExportData",0>k.indexOf(g)&&k.push(g)){E(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 m,x,b,T=f.prototype;if(!T.downloadCSV){D(t,"afterViewData",d),D(t,"render",h),D(t,"destroy",p),T.downloadCSV=e,T.downloadXLS=n,T.getCSV=a,T.getDataRows=o,T.getTable=r,T.getTableAST=i,T.hideData=l,T.toggleDataTable=s,T.wrapLoading=u,T.viewData=c,H(w);var S=null==(b=null==(x=null==(m=O().exporting)?void 0:m.buttons)?void 0:x.contextButton)?void 0:b.menuItems;S&&S.push("separator","downloadCSV","downloadXLS","viewData");var A=v.types,C=A.arearange,L=A.gantt,N=A.map,V=A.mapbubble,R=A.treemap,P=A.xrange;C&&(C.prototype.keyToAxis={low:"y",high:"y"}),L&&(L.prototype.exportKey="name",L.prototype.keyToAxis={start:"x",end:"x"}),N&&(N.prototype.exportKey="name"),V&&(V.prototype.exportKey="name"),R&&(R.prototype.exportKey="name"),P&&(P.prototype.keyToAxis={x2:"x"})}}}}(a||(a={}));var R=a,P=c();P.dataURLtoBlob=P.dataURLtoBlob||f,P.downloadURL=P.downloadURL||v,R.compose(P.Chart,P.Exporting,P.Series);var F=c();return l.default}()});