UNPKG

highcharts

Version:
28 lines 280 kB
!/** * Highcharts JS v13.0.1 (2026-08-17) * @module highcharts/highcharts * * (c) 2009-2026 Highsoft AS * * A commercial license may be required depending on use, * see www.highcharts.com/license */function(t,e){"object"==typeof exports&&"object"==typeof module?(t._Highcharts=e(),module.exports=t._Highcharts):"function"==typeof define&&define.amd?define("highcharts/highcharts",[],e):"object"==typeof exports?(t._Highcharts=e(),exports.highcharts=t._Highcharts):(t.Highcharts&&t.Highcharts.error(16,!0),t.Highcharts=e())}("u"<typeof window?this:window,()=>(()=>{"use strict";let t,e,i,s,o,r={};r.d=(t,e)=>{if(Array.isArray(e))for(var i=0;i<e.length;){var s=e[i++],o=e[i++];r.o(t,s)?0===o&&i++:0===o?Object.defineProperty(t,s,{enumerable:!0,value:e[i++]}):Object.defineProperty(t,s,{enumerable:!0,get:o})}else for(var s in e)r.o(e,s)&&!r.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let a={};r.d(a,{default:()=>sQ}),(id=e5||(e5={})).SVG_NS="http://www.w3.org/2000/svg",id.product="Highcharts",id.version="13.0.1",id.win="u">typeof window?window:{},id.doc=id.win.document,id.svg=!!id.doc?.createElementNS?.(id.SVG_NS,"svg")?.createSVGRect,id.pageLang=id.doc?.documentElement?.closest("[lang]")?.lang,id.userAgent=id.win.navigator?.userAgent||"",id.isChrome=id.win.chrome,id.isFirefox=-1!==id.userAgent.indexOf("Firefox"),id.isMS=/(edge|msie|trident)/i.test(id.userAgent)&&!id.win.opera,id.isSafari=!id.isChrome&&-1!==id.userAgent.indexOf("Safari"),id.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(id.userAgent),id.isWebKit=-1!==id.userAgent.indexOf("AppleWebKit"),id.deg2rad=2*Math.PI/360,id.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],id.noop=function(){},id.supportsPassiveEvents=function(){let t=!1;if(!id.isMS){let e=Object.defineProperty({},"passive",{get:function(){t=!0}});id.win.addEventListener&&id.win.removeEventListener&&(id.win.addEventListener("testPassive",id.noop,e),id.win.removeEventListener("testPassive",id.noop,e))}return t}(),id.charts=[],id.composed=[],id.dateFormats={},id.seriesTypes={},id.symbolSizes={},id.chartCount=0;let n=e5,h={dark:{backgroundColor:"#141414",neutralColor:"#ffffff",highlightColor:"#2caffe"},light:{backgroundColor:"#ffffff",neutralColor:"#000000",highlightColor:"#0022ff",positiveColor:"#06b535",negativeColor:"#f21313"}},{doc:l,win:d}=n;function c(t,e,i,s={}){let o="function"==typeof t&&t.prototype||t;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={});let r=o.hcEvents;n.Point&&t instanceof n.Point&&t.series&&t.series.chart&&(t.series.chart.runTrackerClick=!0);let a=t.addEventListener;a&&a.call(t,e,i,!!n.supportsPassiveEvents&&{passive:void 0===s.passive?-1!==e.indexOf("touch"):s.passive,capture:!1}),r[e]||(r[e]=[]);let h={fn:i,order:"number"==typeof s.order?s.order:1/0};return r[e].push(h),r[e].sort((t,e)=>t.order-e.order),function(){J(t,e,i)}}function p(t){let e=t.length,i=t[0];for(;e--;)t[e]<i&&(i=t[e]);return i}function g(t){let e=t.length,i=t[0];for(;e--;)t[e]>i&&(i=t[e]);return i}function u(t,e,i){let s,o=W(e)&&!v(i),r=(e,i)=>{v(e)?t.setAttribute(i,e):o?(s=t.getAttribute(i))||"class"!==i||(s=t.getAttribute(i+"Name")):t.removeAttribute(i)};return W(e)?r(i,e):j(e,r),s}function f(t,e,i){return t>e?t<i?t:i:e}function m(t,e){return t>1e14?t:parseFloat(t.toPrecision(e||14))}function x(t,e,i,s,o){let r=l.createElement(t);return e&&S(r,e),o&&b(r,{padding:"0",border:"none",margin:"0"}),i&&b(r,i),s&&s.appendChild(r),r}function y(t,e=0,i){let s=e%2/2,o=i?-1:1;return(Math.round(t*o-s)+s)*o}function b(t,e){S(t.style,e)}function v(t){return null!=t}function k(t,e,i){j(t,function(s,o){s!==e&&s?.destroy&&s.destroy(),(s?.destroy||!i)&&delete t[o]})}function w(t){t?.parentElement?.removeChild(t)}function M(t,e,i,s){let o={};return!function t(e,o,r,a){let n=i?o:e;j(e,function(i,h){if(!a&&s&&s.indexOf(h)>-1&&o[h]){i=Q(i),r[h]=[];for(let e=0;e<Math.max(i.length,o[h].length);e++)o[h][e]&&(void 0===i[e]?r[h][e]=o[h][e]:(r[h][e]={},t(i[e],o[h][e],r[h][e],a+1)))}else X(i,!0)&&!i.nodeType?(r[h]=H(i)?[]:{},t(i,o[h]||{},r[h],a+1),0===Object.keys(r[h]).length&&("colorAxis"!==h||0!==a)&&delete r[h]):(e[h]!==o[h]||h in e&&!(h in o))&&"__proto__"!==h&&"constructor"!==h&&(r[h]=n[h])})}(t,e,o,0),o}function C(t,e){let i=t.length;for(;i--;)if(t[i]===e){t.splice(i,1);break}}function S(t,e){let i;for(i in t||(t={}),e)t[i]=e[i];return t}function T(t,e){let i=function(){};return i.prototype=new t,S(i.prototype,e),i}function A(t,e,i,s){if(i=i||{},l?.createEvent&&(t.dispatchEvent||t.fireEvent&&t!==n)){let s=l.createEvent("Events");s.initEvent(e,!0,!0),i=S(s,i),t.dispatchEvent?t.dispatchEvent(i):t.fireEvent(e,i)}else if(t.hcEvents){i.target||S(i,{preventDefault:function(){i.defaultPrevented=!0},target:t,type:e});let s=[],o=t,r=!1;for(;o.hcEvents;)Object.hasOwnProperty.call(o,"hcEvents")&&o.hcEvents[e]&&(s.length&&(r=!0),s.unshift.apply(s,o.hcEvents[e])),o=Object.getPrototypeOf(o);r&&s.sort((t,e)=>t.order-e.order),s.forEach(e=>{!1===e.fn.call(t,i,t)&&i.preventDefault()})}s&&!i.defaultPrevented&&s.call(t,i)}let P=(t="")=>({center:.5,right:1,middle:.5,bottom:1})[t]||0;function L(t,e){let i,s,o,r,a=!e;return t.forEach(t=>{if(t.length>1)for(r=s=t.length-1;r>0;r--)(o=t[r]-t[r-1])<0&&!a?(e?.(),e=void 0):o&&(void 0===i||o<i)&&(i=o)}),i}function O(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function E(t,e){let i=t.split(".");for(;i.length&&v(e);){let t=i.shift();if(void 0===t||"__proto__"===t)return;if("this"===t){let t;return X(e)&&(t=e["@this"]),t??e}let s=e[t.replace(/[\\'"]/g,"")];if(!v(s)||"function"==typeof s||"number"==typeof s.nodeType||s===d)return;e=s}return e}function I(t,e,i){let s;if("width"===e){let e=Math.min(t.offsetWidth,t.scrollWidth),i=t.getBoundingClientRect?.().width;return i<e&&i>=e-1&&(e=Math.floor(i)),Math.max(0,e-(I(t,"padding-left",!0)||0)-(I(t,"padding-right",!0)||0))}if("height"===e)return Math.max(0,Math.min(t.offsetHeight,t.scrollHeight)-(I(t,"padding-top",!0)||0)-(I(t,"padding-bottom",!0)||0));let o=d.getComputedStyle(t,void 0);return o&&(s=o.getPropertyValue(e),U(i,"opacity"!==e)&&(s=Z(s))),s}let D=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){let i,s=t.length;for(i=0;i<s;i++)if(e(t[i],i))return t[i]};function B(t){v(t)&&clearTimeout(t)}function N(t){return X(t)&&"number"==typeof t.nodeType}function z(t){let e=t?.constructor;return!!(X(t,!0)&&!N(t)&&e?.name&&"Object"!==e.name)}function R(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function W(t){return"string"==typeof t}function H(t){let e=Object.prototype.toString.call(t);return"[object Array]"===e||"[object Array Iterator]"===e}function G(t){return"function"==typeof t}function X(t,e){return!!t&&"object"==typeof t&&(!e||!H(t))}function F(t,...e){let i,s=[t,...e],o={},r=function(t,e){return"object"!=typeof t&&(t={}),j(e,function(i,s){"__proto__"!==s&&"constructor"!==s&&(!X(i,!0)||z(i)||N(i)?t[s]=e[s]:t[s]=r(t[s]||{},i))}),t};!0===t&&(o=s[1],s=Array.prototype.slice.call(s,2));let a=s.length;for(i=0;i<a;i++)o=r(o,s[i]);return o}function Y(t,e,i,s,o){let r,a=t;i=U(i,O(t));let n=t/i;for(!e&&(e=o?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===s&&(1===i?e=e.filter(function(t){return t%1==0}):i<=.1&&(e=[1/i]))),r=0;r<e.length&&(a=e[r],(!o||!(a*i>=t))&&(o||!(n<=(e[r]+(e[r+1]||e[r]))/2)));r++);return m(a*i,-Math.round(Math.log(.001)/Math.LN10))}function j(t,e,i){for(let s in t)Object.hasOwnProperty.call(t,s)&&e.call(i||t[s],t[s],s,t)}function $(t){let e=l.documentElement,i=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:i.top+(d.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(d.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:i.width,height:i.height}}function V(t,e,i){return Array((e||2)+1-String(t).replace("-","").length).join(i||"0")+t}function U(){let t=arguments,e=t.length;for(let i=0;i<e;i++){let e=t[i];if(null!=e)return e}}function Z(t,e){return parseInt(t,e||10)}function _(t,e){return 0>t.indexOf(e)&&!!t.push(e)}function K(t,e,i){return/%$/.test(t)?e*parseFloat(t)/100+(i||0):parseFloat(t)}function q(t,...e){let i,s;do for(s of(i=t,e))t=t.replace(s[0],s[1]);while(t!==i);return t}function J(t,e,i){function s(e,i){let s=t.removeEventListener;s&&s.call(t,e,i,!1)}function o(i){let o,r;t.nodeName&&(e?(o={})[e]=!0:o=i,j(o,function(t,e){if(i[e])for(r=i[e].length;r--;)s(e,i[e][r].fn)}))}let r="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(r,"hcEvents")){let t=r.hcEvents;if(e){let r=t[e]||[];i?(t[e]=r.filter(function(t){return i!==t.fn}),s(e,i)):(o(t),t[e]=[])}else o(t),delete r.hcEvents}}function Q(t){return H(t)?t:[t]}function tt(t,e){let i,s,o=t.length;for(s=0;s<o;s++)t[s].safeI=s;for(t.sort(function(t,s){return 0===(i=e(t,s))?t.safeI-s.safeI:i}),s=0;s<o;s++)delete t[s].safeI}function te(t,e,i){return e>0?setTimeout(t,e,i):(t.call(0,i),-1)}function ti(t){return W(t)?t.substring(0,1).toUpperCase()+t.substring(1):String(t)}let{charts:ts,win:to}=n;function tr(t,e,i,s){let o=e?"Highcharts error":"Highcharts warning";32===t&&(t=`${o}: Deprecated member`);let r=R(t),a=r?`${o} #${t}: www.highcharts.com/errors/${t}/`:t.toString();if(void 0!==s){let t="";r&&(a+="?"),j(s,function(e,i){t+=` - ${i}: ${e}`,r&&(a+=encodeURI(i)+"="+encodeURI(e))}),a+=t}A(n,"displayError",{chart:i,code:t,message:a,params:s},function(){if(e)throw Error(a);to.console&&-1===tr.messages.indexOf(a)&&console.warn(a)}),tr.messages.push(a)}function ta(t,e){let i,s=t.options.index,o=e.length;for(i=t.options.isInternal?o:0;i<o+1;i++)if(!e[i]||R(s)&&s<U(e[i].options.index,e[i]._i)||e[i].options.isInternal){e.splice(i,0,t);break}return i}(tr||(tr={})).messages=[];let tn={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5};Math.easeInOutSine=function(t){return -.5*(Math.cos(Math.PI*t)-1)};let th=(i=Math.random().toString(36).substring(2,9)+"-",s=0,function(){return"highcharts-"+(t?"":i)+s++});to.jQuery&&(to.jQuery.fn.highcharts=function(){let t=[].slice.call(arguments);if(this[0])return t[0]?(new n[W(t[0])?t.shift():"Chart"](this[0],t[0],t[1]),this):ts[u(this[0],"data-highcharts-chart")]});let{pageLang:tl,win:td}=n,tc=n.isSafari&&td.Intl&&!td.Intl.DateTimeFormat.prototype.formatRange,tp=class{constructor(t,e){this.options={timezone:"UTC"},this.variableTimezone=!1,this.Date=td.Date,this.update(t),this.lang=e}update(t={}){this.dTLCache={},this.options=t=F(!0,this.options,t);let{timezoneOffset:e,useUTC:i,locale:s}=t;this.Date=t.Date||td.Date||Date;let o=t.timezone;v(i)&&(o=i?"UTC":void 0),e&&e%60==0&&(o="Etc/GMT"+(e>0?"+":"")+e/60),this.variableTimezone="UTC"!==o&&o?.indexOf("Etc/GMT")!==0,this.timezone=o,this.lang&&s&&(this.lang.locale=s),["months","shortMonths","weekdays","shortWeekdays"].forEach(t=>{let e=/months/i.test(t),i=/short/.test(t),s={timeZone:"UTC"};s[e?"month":"weekday"]=i?"short":"long",this[t]=(e?[0,1,2,3,4,5,6,7,8,9,10,11]:[3,4,5,6,7,8,9]).map(t=>this.dateFormat(s,(e?31:1)*24*36e5*t))})}toParts(t){let[e,i,s,o,r,a,n]=this.dateTimeFormat({weekday:"narrow",day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},t,"es").split(/(?:, | |\/|:)/g);return[+o,s-1,+i,+r,+a,+n,Math.floor(Number(t)||0)%1e3,"DLMXJVS".indexOf(e)]}dateTimeFormat(t,e,i=this.options.locale||tl){let s=JSON.stringify(t)+i;W(t)&&(t=this.str2dtf(t));let o=this.dTLCache[s];if(!o){t.timeZone??(t.timeZone=this.timezone);try{o=new Intl.DateTimeFormat(i,t)}catch(e){/Invalid time zone/i.test(e.message)?(tr(34),t.timeZone="UTC",o=new Intl.DateTimeFormat(i,t)):tr(e.message,!1)}}return this.dTLCache[s]=o,o?.format(e)||""}str2dtf(t,e={}){let i={L:{fractionalSecondDigits:3},S:{second:"2-digit"},M:{minute:"numeric"},H:{hour:"2-digit"},k:{hour:"numeric"},E:{weekday:"narrow"},a:{weekday:"short"},A:{weekday:"long"},d:{day:"2-digit"},e:{day:"numeric"},b:{month:"short"},B:{month:"long"},m:{month:"2-digit"},o:{month:"numeric"},y:{year:"2-digit"},Y:{year:"numeric"}};return Object.keys(i).forEach(s=>{-1!==t.indexOf(s)&&S(e,i[s])}),e}makeTime(t,e,i=1,s=0,o,r,a){let n=this.Date.UTC(t,e,i,s,o||0,r||0,a||0);if("UTC"!==this.timezone){let t=this.getTimezoneOffset(n),i=(s-t/tn.hour+24)%24;if(n+=t,-1!==[2,3,8,9,10,11].indexOf(e)&&(i<5||i>20)){let e=this.getTimezoneOffset(n);t!==e?n+=e-t:t-36e5!==this.getTimezoneOffset(n-36e5)||tc||(n-=36e5)}}return n}parse(t){if(!W(t))return t??void 0;let e=(t=t.replace(/\//g,"-").replace(/(GMT|UTC)/,"")).indexOf("Z")>-1||/([+-][0-9]{2}):?[0-9]{2}$/.test(t),i=/^[0-9]{4}-[0-9]{2}(-[0-9]{2}|)$/.test(t);e||i||(t+="Z");let s=Date.parse(t);if(R(s))return s+(!e||i?this.getTimezoneOffset(s):0)}getTimezoneOffset(t){if("UTC"!==this.timezone){let[e,i,s,o,r=0]=this.dateTimeFormat({timeZoneName:"shortOffset"},t,"en").split(/(GMT|:)/).map(Number),a=-(60*(s+r/60)*6e4);if(R(a))return a}return 0}dateFormat(t,e,i){let s=this.lang;if(!v(e)||isNaN(e))return s?.invalidDate||"";if(W(t=t??"%Y-%m-%d %H:%M:%S")){let i,o=/%\[([a-zA-Z]+)\]/g;for(;i=o.exec(t);)t=t.replace(i[0],this.dateTimeFormat(i[1],e,s?.locale))}if(W(t)&&-1!==t.indexOf("%")){let i=this,[o,r,a,h,l,d,c,p]=this.toParts(e),g=s?.weekdays||this.weekdays,u=s?.shortWeekdays||this.shortWeekdays,f=s?.months||this.months,m=s?.shortMonths||this.shortMonths;j(S({a:u?u[p]:g[p].substr(0,3),A:g[p],d:V(a),e:V(a,2," "),w:p,v:s?.weekFrom??"",b:m[r],B:f[r],m:V(r+1),o:r+1,y:o.toString().substr(2,2),Y:o,H:V(h),k:h,I:V(h%12||12),l:h%12||12,M:V(l),p:h<12?"AM":"PM",P:h<12?"am":"pm",S:V(d),L:V(c,3)},n.dateFormats),function(s,o){if(W(t))for(;-1!==t.indexOf("%"+o);)t=t.replace("%"+o,"function"==typeof s?s.call(i,e,i):s)})}else if(X(t)){let i=(this.getTimezoneOffset(e)||0)/36e5,s=this.timezone||"Etc/GMT"+(i>=0?"+":"")+i,{prefix:o="",suffix:r=""}=t;t=o+this.dateTimeFormat(S({timeZone:s},t),e)+r}return i?ti(t):t}resolveDTLFormat(t){return X(t,!0)?X(t,!0)&&void 0===t.main?{main:t}:t:{main:(t=Q(t))[0],from:t[1],to:t[2]}}getDateFormat(t,e,i,s){let o=this.dateFormat("%m-%d %H:%M:%S.%L",e),r="01-01 00:00:00.000",a={millisecond:15,second:12,minute:9,hour:6,day:3},n="millisecond",h=n;for(n in tn){if(t&&t===tn.week&&+this.dateFormat("%w",e)===i&&o.substr(6)===r.substr(6)){n="week";break}if(t&&tn[n]>t){n=h;break}if(a[n]&&o.substr(a[n])!==r.substr(a[n]))break;"week"!==n&&(h=n)}return this.resolveDTLFormat(s[n]).main}},tg=class extends tp{getBoundaryTicks(t,e,i,s){let o={};if(e===tn.year)return o;let r=v(i)&&v(s),a=e<tn.hour,n=e<tn.day,h=e<tn.month,l=e>=tn.hour?9e5:e>=tn.minute?6e4:e>=tn.second&&1e3;if(t.length<1e4){let d=!0;for(let c=0;c<t.length;c++){let p=t[c];if(r){if(p<i)continue;if(p>s)break}if(d){if(e===tn.month){o[p]="year",d=!1;continue}if(e===tn.hour){o[p]="day",d=!1;continue}}if(l&&p%l!=0){d=!1;continue}let[,g,u,f,m,x,y]=this.toParts(p),b=!f&&!m&&!x&&!y;a&&0===m&&(o[p]="hour"),n&&b&&(o[p]="day"),h&&1===u&&b&&(o[p]="month"),0===g&&1===u&&b&&(o[p]="year"),d=!1}}return o}getTimeTicks(t,e,i,s){let o=[],{count:r=1,unitRange:a}=t,n=e,[h,l,d,c,p,g]=this.toParts(e),u=(e||0)%1e3,f;if(s??(s=1),v(e)){if(u=a>=tn.second?0:r*Math.floor(u/r),a>=tn.second&&(g=a>=tn.minute?0:r*Math.floor(g/r)),a>=tn.minute&&(p=a>=tn.hour?0:r*Math.floor(p/r)),a>=tn.hour&&(c=a>=tn.day?0:r*Math.floor(c/r)),a>=tn.day&&(d=a>=tn.month?1:Math.max(1,r*Math.floor(d/r))),a>=tn.month&&(l=a>=tn.year?0:r*Math.floor(l/r)),a>=tn.year&&(h-=h%r),a===tn.week){r&&(e=this.makeTime(h,l,d,c,p,g,u));let t=this.dateTimeFormat({timeZone:this.timezone,weekday:"narrow"},e,"es"),i="DLMXJVS".indexOf(t);d+=-i+s+(i<s?-7:0)}e=this.makeTime(h,l,d,c,p,g,u),this.variableTimezone&&v(i)&&(f=i-e>4*tn.month||this.getTimezoneOffset(e)!==this.getTimezoneOffset(i));let t=e,n=1;for(;t<i;)o.push(t),a===tn.year?t=this.makeTime(h+n*r,0):a===tn.month?t=this.makeTime(h,l+n*r):f&&(a===tn.day||a===tn.week)?t=this.makeTime(h,l,d+n*r*(a===tn.day?1:7)):f&&a===tn.hour&&r>1?t=this.makeTime(h,l,d,c+n*r):t+=a*r,n++;o.push(t)}return o.info=S(t,{boundaryTicks:this.getBoundaryTicks(o,a,n,i),totalRange:a*r}),o}},{isTouchDevice:tu}=n,tf={palette:h,colors:Array(10).fill(1).map((t,e)=>`var(--highcharts-color-${e})`),symbols:["circle","diamond","square","triangle","triangle-down"],lang:{weekFrom:"week from",chartTitle:"Chart title",locale:void 0,loading:"Loading...",months:void 0,seriesName:"Series {add index 1}",shortMonths:void 0,weekdays:void 0,numericSymbols:["k","M","G","T","P","E"],pieSliceName:"Slice",resetZoom:"Reset zoom",yAxisTitle:"Values",resetZoomTitle:"Reset zoom level 1:1"},global:{buttonTheme:{fill:"var(--highcharts-neutral-color-3)",padding:8,r:2,stroke:"var(--highcharts-neutral-color-20)","stroke-width":1,style:{color:"var(--highcharts-neutral-color-80)",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"var(--highcharts-neutral-color-10)"},select:{fill:"var(--highcharts-highlight-color-10)",style:{color:"var(--highcharts-neutral-color-100)",fontWeight:"bold"}},disabled:{style:{color:"var(--highcharts-neutral-color-20)"}}}}},time:{Date:void 0,timezone:"UTC",timezoneOffset:0,useUTC:void 0},chart:{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,selectionMarkerFill:"color-mix(in srgb, var(--highcharts-highlight-color-80) 25%, transparent)",type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"var(--highcharts-highlight-color-80)",backgroundColor:"var(--highcharts-background-color)",plotBorderColor:"var(--highcharts-neutral-color-20)"},title:{style:{color:"var(--highcharts-neutral-color-80)",fontWeight:"bold"},text:"Chart title",margin:15,minScale:.67},subtitle:{style:{color:"var(--highcharts-neutral-color-60)",fontSize:"0.8em"},text:""},caption:{margin:15,style:{color:"var(--highcharts-neutral-color-60)",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"var(--highcharts-neutral-color-40)",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"var(--highcharts-highlight-color-100)",inactiveColor:"var(--highcharts-neutral-color-20)"},itemStyle:{color:"var(--highcharts-neutral-color-80)",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"var(--highcharts-neutral-color-100)"},itemHiddenStyle:{color:"var(--highcharts-neutral-color-60)",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{color:"var(--highcharts-neutral-color-80)",fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"var(--highcharts-background-color)",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:t=>Math.sqrt(1-Math.pow(t-1,2))},borderColor:"light-dark(var(--highcharts-neutral-color-5), var(--highcharts-neutral-color-20))",borderRadius:5,dateTimeLabelFormats:{millisecond:"%[AebHMSL]",second:"%[AebHMS]",minute:"%[AebHM]",hour:"%[AebHM]",day:"%[AebY]",week:"%v %[AebY]",month:"%[BY]",year:"%[Y]"},footerFormat:"",header:{distance:5,shape:"callout",style:{fontSize:"1em"}},hideDelay:500,showDelay:0,padding:8,position:{x:0,y:3},shared:!1,snap:tu?25:10,headerFormat:'<span style="font-size: 0.8em">{ucfirst point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"var(--highcharts-background-color)",borderWidth:void 0,stickOnContact:!1,style:{color:"var(--highcharts-neutral-color-80)",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",verticalAlign:"bottom",x:-10,y:-5},style:{cursor:"pointer",color:"var(--highcharts-neutral-color-40)",fontSize:"0.6em"},text:"Highcharts.com"}},tm=new tg(tf.time,tf.lang),tx={defaultOptions:tf,defaultTime:tm,getOptions:function(){return tf},setOptions:function(t){return A(n,"setOptions",{options:t}),F(!0,tf,t),t.time&&tm.update(tf.time),t.lang&&"locale"in t.lang&&tm.update({locale:t.lang.locale}),t.lang?.chartTitle&&(tf.title={...tf.title,text:t.lang.chartTitle}),tf}},{win:ty}=n,tb=(t,e,i)=>0===i?t:1===i?e:`color-mix(in srgb,${t},${e} ${100*i}%)`,tv=t=>W(t)&&!!t&&"none"!==t;class tk{static parse(t){return t?new tk(t):tk.None}constructor(t){let e,i,s,o;this.rgba=[NaN,NaN,NaN,NaN],this.input=t;const r=n.Color;if(r&&r!==tk)return new r(t);if("object"==typeof t&&void 0!==t.stops)this.stops=t.stops.map(t=>new tk(t[1]));else if("string"==typeof t)for(this.input=t=tk.names[t.toLowerCase()]||t,s=tk.parsers.length;s--&&!i;)(e=(o=tk.parsers[s]).regex.exec(t))&&(i=o.parse(e));i&&(this.rgba=i)}get(t){let e=this.input,i=this.rgba;if(this.output)return this.output;if("object"==typeof e&&void 0!==this.stops){let i=F(e);return i.stops=[].slice.call(i.stops),this.stops.forEach((e,s)=>{i.stops[s]=[i.stops[s][0],e.get(t)]}),i}return i&&R(i[0])?"rgb"!==t&&(t||1!==i[3])?"a"===t?`${i[3]}`:"rgba("+i.join(",")+")":"rgb("+i[0]+","+i[1]+","+i[2]+")":e}brighten(t){let e=this.rgba;if(this.stops)this.stops.forEach(function(e){e.brighten(t)});else if(R(t)&&0!==t)if(R(e[0]))for(let i=0;i<3;i++)e[i]+=Z(255*t),e[i]<0&&(e[i]=0),e[i]>255&&(e[i]=255);else tk.useColorMix&&tv(this.input)&&(this.output=tb(this.input,t>0?"white":"black",Math.abs(t)));return this}setOpacity(t){return R(this.rgba[0])?this.rgba[3]=t:tk.useColorMix&&tv(this.input)&&(this.output=tb(this.input,"#0000",1-t)),this}tweenTo(t,e){let i=this.rgba,s=t.rgba;if(!R(i[0])||!R(s[0]))return tk.useColorMix&&tv(this.input)&&tv(t.input)&&e<.99?tb(this.input,t.input,e):t.input||"none";let o=1!==s[3]||1!==i[3],r=(t,s)=>t+(i[s]-t)*(1-e),a=s.slice(0,3).map(r).map(Math.round);return o&&a.push(r(s[3],3)),(o?"rgba(":"rgb(")+a.join(",")+")"}}tk.names={white:"#ffffff",black:"#000000"},tk.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(t){return[Z(t[1]),Z(t[2]),Z(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(t){return[Z(t[1]),Z(t[2]),Z(t[3]),1]}},{regex:/^#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?$/i,parse:function(t){return[Z(t[1]+t[1],16),Z(t[2]+t[2],16),Z(t[3]+t[3],16),v(t[4])?Z(t[4]+t[4],16)/255:1]}},{regex:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?$/i,parse:function(t){return[Z(t[1],16),Z(t[2],16),Z(t[3],16),v(t[4])?Z(t[4],16)/255:1]}}],tk.useColorMix=ty.CSS?.supports("color","color-mix(in srgb,red,blue 9%)"),tk.None=new tk("");let{parse:tw}=tk,{win:tM}=n;class tC{constructor(t,e,i){this.pos=NaN,this.options=e,this.elem=t,this.prop=i}dSetter(){let t=this.paths,e=t?.[0],i=t?.[1],s=this.now||0,o=[];if(1!==s&&e&&i)if(e.length===i.length&&s<1)for(let t=0;t<i.length;t++){let r=e[t],a=i[t],n=[];for(let t=0;t<a.length;t++){let e=r[t],i=a[t];R(e)&&R(i)&&("A"!==a[0]||4!==t&&5!==t)?n[t]=e+s*(i-e):n[t]=i}o.push(n)}else o=i;else o=this.toD||[];this.elem.attr("d",o,void 0,!0)}update(){let t=this.elem,e=this.prop,i=this.now??1,s=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t&&t.attr?t.element&&t.attr(e,i,void 0,!0):t&&(t.style[e]=i+(this.unit||"")),s?.call(t,i,this)}run(t,e,i){let{elem:s,options:o}=this,{complete:r,curAnim:a={}}=o,n=t=>!n.stopped&&this.step(t),h=tM.requestAnimationFrame||function(t){setTimeout(t,13)},l=()=>{for(let t=0;t<tC.timers.length;t++)tC.timers[t]()||tC.timers.splice(t--,1);tC.timers.length&&h(l)};t!==e||s["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=e,this.unit=i,this.now=this.start,this.pos=0,n.elem=s,n.prop=this.prop,n()&&1===tC.timers.push(n)&&h(l)):(delete a[this.prop],r&&0===Object.keys(a).length&&r.call(s))}step(t){let e,i,s=+new Date,o=this.options,r=this.elem,a=o.complete,n=o.duration,h=o.curAnim;return r?.attr&&!r.element?e=!1:t||s>=n+this.startTime?(this.now=this.end,this.pos=1,this.update(),h[this.prop]=!0,i=!0,j(h,function(t){!0!==t&&(i=!1)}),i&&a&&a.call(r),e=!1):(this.pos=o.easing((s-this.startTime)/n),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0),e}initPath(t,e,i){let s=t.startX,o=t.endX,r=i.slice(),a=t.isArea,n=a?2:1,h=e&&i.length>e.length&&i.hasStackedCliffs,l,d,c,p,g=e?.slice();if(!g||h)return[r,r];function u(t,e){for(;t.length<d;){let i=t[0],s=e[d-t.length];if(s&&"M"===i[0]&&("C"===s[0]?t[0]=["C",i[1],i[2],i[1],i[2],i[1],i[2]]:t[0]=["L",i[1],i[2]]),t.unshift(i),a){let e=t.pop();t.push(t[t.length-1],e)}}}function f(t){for(;t.length<d;){let e=t[Math.floor(t.length/n)-1].slice();if("C"===e[0]&&(e[1]=e[5],e[2]=e[6]),a){let i=t[Math.floor(t.length/n)].slice();t.splice(t.length/2,0,e,i)}else t.push(e)}}if(s&&o&&o.length){for(c=0;c<s.length;c++)if(s[c]===o[0]){l=c;break}else if(s[0]===o[o.length-s.length+c]){l=c,p=!0;break}else if(s[s.length-1]===o[o.length-s.length+c]){l=s.length-c;break}void 0===l&&(g=[])}return g.length&&R(l)&&(d=r.length+l*n,p?(u(g,r),f(r)):(u(r,g),f(g))),[g,r]}fillSetter(){tC.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,tw(this.start).tweenTo(tw(this.end),this.pos),void 0,!0)}}function tS(t,e){e.renderer.globalAnimation=U(t,e.options.chart.animation,!0)}function tT(t){return X(t)?F({duration:500,defer:0},t):{duration:500*!!t,defer:0}}function tA(t,e,i){let s=tT(e),o=i?[i]:t.series,r=0,a=0;return o.forEach(t=>{let i=tT(t.options.animation);r=X(e)&&v(e.defer)?s.defer:Math.max(r,i.duration+i.defer),a=Math.min(s.duration,i.duration)}),t.renderer.forExport&&(r=0),{defer:Math.max(0,r-a),duration:Math.min(r,a)}}function tP(t,e={pos:1},i){X(i)||(i={duration:arguments[2],easing:arguments[3],complete:arguments[4]}),R(i.duration)||(i.duration=400),i.easing="function"==typeof i.easing?i.easing:Math[i.easing]||Math.easeInOutSine,i.curAnim=F(e),j(e,(s,o)=>{t&&tL(t,o);let r=new tC(t,i,o),a=e.d,n=0,h,l="";"d"===o&&H(a)?(r.paths=r.initPath(t,t.pathArray,a),r.toD=a,h=1):t?.attr?n=t.attr(o):t&&(n=+(I(t,o)||0),"opacity"!==o&&(l="px")),h||(h=s),"string"==typeof h&&h.match("px")&&(h=h.replace(/px/g,"")),v(h)&&r.run(n,h,l)})}tC.timers=[];let tL=(t,e)=>tC.timers.forEach(i=>{i.elem!==t||e&&e!==i.prop||(i.stopped=!0)}),{SVG_NS:tO,win:tE}=n,{trustedTypes:tI}=tE,tD=tI&&G(tI.createPolicy)&&tI.createPolicy("highcharts",{createHTML:t=>t}),tB=tD?tD.createHTML(""):"";class tN{static filterUserAttributes(t){return j(t,(e,i)=>{let s=!0;-1===tN.allowedAttributes.indexOf(i)&&(s=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(i)&&(s=W(e)&&tN.allowedReferences.some(t=>0===e.indexOf(t))),s||(tr(33,!1,void 0,{"Invalid attribute in config":`${i}`}),delete t[i]),W(e)&&t[i]&&(t[i]=e.replace(/</g,"&lt;"))}),t}static parseStyle(t){return t.split(";").reduce((t,e)=>{let i=e.split(":").map(t=>t.trim()),s=i.shift();return s&&i.length&&(t[s.replace(/-([a-z])/g,t=>t[1].toUpperCase())]=i.join(":")),t},{})}static setElementHTML(t,e){t.innerHTML=tN.emptyHTML,e&&new tN(e).addToDOM(t)}constructor(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}addToDOM(t){return function t(e,i){let s;return Q(e).forEach(function(e){let o,r=e.tagName,a=e.textContent?n.doc.createTextNode(e.textContent):void 0,h=tN.bypassHTMLFiltering;if(r)if("#text"===r)o=a;else if(-1!==tN.allowedTags.indexOf(r)||h){let s="svg"===r?tO:i.namespaceURI||tO,l=n.doc.createElementNS(s,r),d=e.attributes||{};j(e,function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(d[e]=t)}),u(l,h?d:tN.filterUserAttributes(d)),e.style&&b(l,e.style),a&&l.appendChild(a),t(e.children||[],l),o=l}else tr(33,!1,void 0,{"Invalid tagName in config":r});o&&i.appendChild(o),s=o}),s}(this.nodes,t)}parseMarkup(t){let e,i=[];t=t.trim().replace(/ style=(["'])/g," data-style=$1");try{e=new DOMParser().parseFromString(tD?tD.createHTML(t):t,"text/html")}catch{}if(!e){let i=x("div");i.innerHTML=t,e={body:i}}let s=(t,e)=>{let i=t.localName||t.nodeName.toLowerCase(),o={tagName:i};"#text"===i&&(o.textContent=t.textContent||"");let r=t.attributes;if(r){let t={};[].forEach.call(r,e=>{"data-style"===e.name?o.style=tN.parseStyle(e.value):t[e.name]=e.value}),o.attributes=t}if(t.childNodes.length){let e=[];[].forEach.call(t.childNodes,t=>{s(t,e)}),e.length&&(o.children=e)}e.push(o)};return[].forEach.call(e.body.childNodes,t=>s(t,i)),i}}tN.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","aria-sort","class","clip-path","color","colspan","cx","cy","d","disabled","dx","dy","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","result","role","rowspan","scope","slope","src","startOffset","stdDeviation","stop-color","stop-opacity","stroke-linecap","stroke-width","stroke","style","summary","tabindex","tableValues","target","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],tN.allowedReferences=["https://","http://","mailto:","/","../","./","#"],tN.allowedTags=["#text","a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","tbody","td","text","textPath","th","thead","title","tr","tspan","u","ul"],tN.emptyHTML=tB,tN.bypassHTMLFiltering=!1;let{defaultOptions:tz,defaultTime:tR}=tx,{pageLang:tW}=n,tH={add:(t,e)=>t+e,divide:(t,e)=>0!==e?m(t/e):"",eq:(t,e)=>t==e,each:function(t){let e=arguments[arguments.length-1];return!!H(t)&&t.map((i,s)=>tX(e.body,S(X(i)?i:{"@this":i},{"@index":s,"@first":0===s,"@last":s===t.length-1}))).join("")},ge:(t,e)=>t>=e,gt:(t,e)=>t>e,if:t=>!!t,le:(t,e)=>t<=e,lt:(t,e)=>t<e,multiply:(t,e)=>m(t*e,15),ne:(t,e)=>t!=e,subtract:(t,e)=>t-e,ucfirst:ti,unless:t=>!t},tG={};function tX(t="",e,i){let s=/\{([^{}]+)\}/g,o=/\(([^()]+)\)/g,r=[],a=/f$/,n=/\.(\d)/,h=i?.options?.lang||tz.lang,l=i?.time||tR,d=i?.numberFormatter||tF.bind(i),c=(t="")=>{let i;return"true"===t||"false"!==t&&((i=Number(t)).toString()===t?i:/^["'].+["']$/.test(t)?t.slice(1,-1):E(t,e))},p,g,u=0,f;for(;null!==(p=s.exec(t));){let i=p,s=o.exec(p[1]);s&&(p=s,f=!0),g?.isBlock||(g={ctx:e,expression:p[1],find:p[0],isBlock:"#"===p[1].charAt(0),start:p.index,startInner:p.index+p[0].length,length:p[0].length});let a=(g.isBlock?i:p)[1].split(" ")[0].replace("#","");tH[a]&&(g.isBlock&&a===g.fn&&u++,g.fn||(g.fn=a));let n="else"===p[1];if(g.isBlock&&g.fn&&(p[1]===`/${g.fn}`||n))if(u)!n&&u--;else{let e=g.startInner,i=t.substr(e,p.index-e);void 0===g.body?(g.body=i,g.startInner=p.index+p[0].length):g.elseBody=i,g.find+=i+p[0],n||(r.push(g),g=void 0)}else g.isBlock||r.push(g);if(s&&!g?.isBlock)break}return r.forEach(s=>{let r,p,{body:g,elseBody:u,expression:f,fn:m}=s;if(m){let t=[s],o=[],a=f.length,n=0,h;for(p=0;p<=a;p++){let t=f.charAt(p);h||'"'!==t&&"'"!==t?h===t&&(h=""):h=t,h||" "!==t&&p!==a||(o.push(f.substr(n,p-n)),n=p+1)}for(p=tH[m].length;p--;)t.unshift(c(o[p+1]));r=tH[m].apply(e,t),s.isBlock&&"boolean"==typeof r&&(r=tX(r?g:u,e,i))}else{let t=/^["'].+["']$/.test(f)?[f]:f.split(":");if(r=c(t.shift()||""),t.length&&"number"==typeof r){let e=t.join(":");if(a.test(e)){let t=parseInt((e.match(n)||["","-1"])[1],10);null!==r&&(r=d(r,t,h.decimalPoint,e.indexOf(",")>-1?h.thousandsSep:""))}else r=l.dateFormat(e,r)}o.lastIndex=0,o.test(s.find)&&W(r)&&(r=`"${r}"`)}t=t.replace(s.find,U(r,""))}),f?tX(t,e,i):t}function tF(t,e,i,s){e*=1;let o,r,[a,n]=(t=+t||0).toString().split("e").map(Number),h=this?.options?.lang||tz.lang,l=(t.toString().split(".")[1]||"").split("e")[0].length,d=e,c={};i??(i=h.decimalPoint),s??(s=h.thousandsSep),-1===e?e=Math.min(l,20):R(e)?e&&n<0&&((r=e+n)>=0?(a=+a.toExponential(r).split("e")[0],e=r):(a=Math.floor(a),t=e<20?+(a*Math.pow(10,n)).toFixed(e):0,n=0)):e=2,n&&(e??(e=2),t=a),R(e)&&e>=0&&(c.minimumFractionDigits=e,c.maximumFractionDigits=e),""===s&&(c.useGrouping=!1);let p=s||i,g=p?"en":this?.locale||h.locale||tW,u=JSON.stringify(c)+g;return o=(tG[u]??(tG[u]=new Intl.NumberFormat(g,c))).format(t),p&&(o=o.replace(/([,\.])/g,"_$1").replace(/_\,/g,s??",").replace("_.",i??".")),(e||0!=+o)&&(!(n<0)||d)||(o="0"),n&&0!=+o&&(o+="e"+(n<0?"":"+")+n),o}let tY={dateFormat:function(t,e,i){return tR.dateFormat(t,e,i)},format:tX,helpers:tH,numberFormat:tF};(e3||(e3={})).distribute=function t(e,i,s){let o=e,r=o.reducedLen||i,a=(t,e)=>t.target-e.target,n=[],h=e.length,l=[],d=n.push,c,p=!0,g,u,m=0;for(c=h;c--;)m+=e[c].size;if(m>r){if(tt(e,(t,e)=>(e.rank||0)-(t.rank||0)),e[0].rank===e[e.length-1].rank){let t=[[0,h-1]];for(;t.length&&m>r;){let i=t.shift();if(!i)break;g=e[c=Math.floor((i[0]+i[1])/2)],_(l,c)&&(m-=g.size),i[0]<c&&t.push([i[0],c-1]),c<i[1]&&t.push([c+1,i[1]])}}else for(c=h-1;m>r&&c>=0;)g=e[c],_(l,c)&&(m-=g.size),c--;l.sort((t,e)=>e-t).forEach(t=>d.apply(n,e.splice(t,1)))}for(tt(e,a),e=e.map(t=>({size:t.size,targets:[t.target],align:U(t.align,.5)}));p;){for(c=e.length;c--;)g=e[c],u=(Math.min.apply(0,g.targets)+Math.max.apply(0,g.targets))/2,g.pos=f(u-g.size*g.align,0,i-g.size);for(c=e.length,p=!1;c--;)c>0&&e[c-1].pos+e[c-1].size>e[c].pos&&(e[c-1].size+=e[c].size,e[c-1].targets=e[c-1].targets.concat(e[c].targets),e[c-1].align=.5,e[c-1].pos+e[c-1].size>i&&(e[c-1].pos=i-e[c-1].size),e.splice(c,1),p=!0)}return d.apply(o,n),c=0,e.some(e=>{let r=0;return(e.targets||[]).some(()=>(o[c].pos=e.pos+r,void 0!==s&&Math.abs(o[c].pos-o[c].target)>s)?(o.slice(0,c+1).forEach(t=>delete t.pos),o.reducedLen=(o.reducedLen||i)-.1*i,o.reducedLen>.1*i&&t(o,i,s),!0):(r+=o[c].size,c++,!1))}),tt(o,a),o};let tj=e3,{deg2rad:t$,doc:tV,svg:tU,SVG_NS:tZ,win:t_,isFirefox:tK}=n;class tq{_defaultGetter(t){let e=U(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0);return/^-?[\d\.]+$/.test(e)&&(e=parseFloat(e)),e}_defaultSetter(t,e,i){i.setAttribute(e,t)}add(t){let e,i=this.renderer,s=this.element;return t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&i.buildText(this),this.added=!0,(!t||t.handleZ||this.zIndex)&&(e=this.zIndexSetter()),e||(t?t.element:i.box).appendChild(s),this.onAdd&&this.onAdd(),this}addClass(t,e){let i=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce(function(t,e){return -1===i.indexOf(e)&&t.push(e),t},i?[i]:[]).join(" "))!==i&&this.attr("class",t),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(t,e,i,s=!0){let o=this.renderer,r=o.alignedObjects,a=!!t;t?(this.alignOptions=t,this.alignByTranslate=e,this.alignTo=i):(t=this.alignOptions||{},e=this.alignByTranslate,i=this.alignTo);let n=!i||W(i)?i||"renderer":void 0;n&&(a&&_(r,this),i=void 0);let h=U(i,o[n],o),l=(h.x||0)+(t.x||0)+((h.width||0)-(t.width||0))*P(t.align),d=(h.y||0)+(t.y||0)+((h.height||0)-(t.height||0))*P(t.verticalAlign),c={};return t.align&&(c["text-align"]=t.align),c[e?"translateX":"x"]=Math.round(l),c[e?"translateY":"y"]=Math.round(d),s&&(this[this.placed?"animate":"attr"](c),this.placed=!0),this.alignAttr=c,this}alignSetter(t){let e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))}animate(t,e,i){let s=tT(U(e,this.renderer.globalAnimation,!0)),o=s.defer;return tV.hidden&&(s.duration=0),0!==s.duration?(i&&(s.complete=i),te(()=>{this.element&&tP(this,t,s)},o)):(this.attr(t,void 0,i||s.complete),j(t,function(t,e){s.step&&s.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this}applyTextOutline(t){let e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));let i=t.indexOf(" "),s=t.substring(i+1),o=t.substring(0,i);if(o&&"none"!==o&&n.svg){this.fakeTS=!0,o=o.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,i){return 2*Number(e)+i}),this.removeTextOutline();let t=tV.createElementNS(tZ,"tspan");u(t,{class:"highcharts-text-outline",fill:s,stroke:s,"stroke-width":o,"stroke-linejoin":"round"});let i=e.querySelector("textPath")||e;[].forEach.call(i.childNodes,e=>{let i=e.cloneNode(!0);i.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(t=>i.removeAttribute(t)),t.appendChild(i)});let r=0;[].forEach.call(i.querySelectorAll("text tspan"),t=>{r+=Number(t.getAttribute("dy"))});let a=tV.createElementNS(tZ,"tspan");a.textContent="​",u(a,{x:Number(e.getAttribute("x")),dy:-r}),t.appendChild(a),i.insertBefore(t,i.firstChild)}}attr(t,e,i,s){let{element:o}=this,r=tq.symbolCustomAttribs,a,n,h=this,l;return"string"==typeof t&&void 0!==e&&(a=t,(t={})[a]=e),"string"==typeof t?h=(this[t+"Getter"]||this._defaultGetter).call(this,t,o):(j(t,function(e,i){l=!1,s||tL(this,i),this.symbolName&&-1!==r.indexOf(i)&&(n||(this.symbolAttr(t),n=!0),l=!0),this.rotation&&("x"===i||"y"===i)&&(this.doTransform=!0),l||(this[i+"Setter"]||this._defaultSetter).call(this,e,i,o)},this),this.afterSetters()),i&&i.call(this),h}clip(t){if(t&&!t.clipPath){let e=th()+"-",i=this.renderer.createElement("clipPath").attr({id:e}).add(this.renderer.defs);S(t,{clipPath:i,id:e,count:0}),t.add(i)}return this.attr("clip-path",t?`url(${this.renderer.url}#${t.id})`:"none")}crisp(t,e){e=Math.round(e||t.strokeWidth||0);let i=t.x||this.x||0,s=t.y||this.y||0,o=(t.width||this.width||0)+i,r=(t.height||this.height||0)+s,a=y(i,e),n=y(s,e);return S(t,{x:a,y:n,width:y(o,e)-a,height:y(r,e)-n}),v(t.strokeWidth)&&(t.strokeWidth=e),t}complexColor(t,e,i){let s=this.renderer,o,r,a,n,h,l,d,c,p,g=[],u;A(this.renderer,"complexColor",{args:arguments},()=>{if(t.radialGradient?r="radialGradient":t.linearGradient&&(r="linearGradient"),r){if(a=t[r],h=s.gradients,l=t.stops,c=i.radialReference,H(a)&&(t[r]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===r&&c&&!v(a.gradientUnits)&&(n=a,a=F(a,s.getRadialAttr(c,n),{gradientUnits:"userSpaceOnUse"})),j(a,function(t,e){"id"!==e&&g.push(e,t)}),j(l,function(t){g.push(t)}),h[g=g.join(",")])p=h[g].attr("id");else{a.id=p=th();let t=h[g]=s.createElement(r).attr(a).add(s.defs);t.radAttr=n,t.stops=[],l.forEach(([e,i])=>{0===i.indexOf("rgba")?(i=(o=tk.parse(i)).get("rgb"),d=o.get("a")):d=1;let r=s.createElement("stop").attr({offset:e,"stop-color":i,"stop-opacity":d}).add(t);t.stops.push(r)})}u="url("+s.url+"#"+p+")",i.setAttribute(e,u),i.gradient=g,t.toString=function(){return u}}})}css(t){let e=this.styles,i={},s=this.element,o=this.renderer,r,a=!e;if(e&&j(t,function(t,s){e&&e[s]!==t&&(i[s]=t,a=!0)}),a){e&&(t=S(e,i)),null===t.width||"auto"===t.width?delete this.textWidth:"text"===s.nodeName.toLowerCase()&&t.width&&(r=this.textWidth=Z(t.width)),S(this.styles,t),r&&!tU&&o.forExport&&delete t.width;let a=tK&&t.fontSize||null;a&&(R(a)||/^\d+$/.test(a))&&(t.fontSize+="px");let n=F(t);s.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","whiteSpace","width"].forEach(t=>n&&delete n[t]),n.color&&(n.fill=n.color,delete n.color)),b(s,n)}return this.added&&("text"===this.element.nodeName&&o.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline)),this}dashstyleSetter(t){let e,i=this["stroke-width"];if("inherit"===i&&(i=1),t){let s=(t=t.toLowerCase()).replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(e=s.length;e--;)s[e]=""+Z(s[e])*U(i,NaN);t=s.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}}destroy(){let t=this,{element:e={},renderer:i,stops:s}=t,o=e.ownerSVGElement;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,tL(t),t.clipPath&&o){let e=t.clipPath;[].forEach.call(o.querySelectorAll("[clip-path],[CLIP-PATH]"),function(t){t.getAttribute("clip-path").indexOf(e.element.id)>-1&&t.removeAttribute("clip-path")}),t.clipPath=e.destroy()}if(s){for(let t of s)t.destroy();s.length=0}t.safeRemoveChild(e),t.alignOptions&&C(i.alignedObjects,t),j(t,(e,i)=>{(t[i]?.parentGroup===t||-1!==["connector","foreignObject"].indexOf(i))&&t[i]?.destroy?.(),delete t[i]})}dSetter(t,e,i){H(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((t,e,i)=>e?.join?(i?t+" ":"")+e.join(" "):(e||"").toString(),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(i.setAttribute(e,t),this[e]=t)}fillSetter(t,e,i){"string"==typeof t?i.setAttribute(e,t):t&&this.complexColor(t,e,i)}hrefSetter(t,e,i){i.setAttributeNS("http://www.w3.org/1999/xlink",e,t)}getBBox(t,e){let i,s,o,{element:r,renderer:a,styles:n,textStr:h}=this,{cache:l,cacheKeys:d}=a,c=r.namespaceURI===this.SVG_NS,p=U(e,this.rotation,0),g=a.styledMode?r&&tq.prototype.getStyle.call(r,"font-size"):n.fontSize,u=this.getBBoxCacheKey([a.rootFontSize,this.textWidth,this.alignValue,n.fontWeight,n.lineClamp,n.textOverflow,g,p]);if(u&&!t&&(i=l[u]),!i||i.polygon){if(c||a.forExport){try{o=this.fakeTS&&function(t){let e=r.querySelector(".highcharts-text-outline");e&&b(e,{display:t})},G(o)&&o("none"),i=r.getBBox?S({},r.getBBox()):{width:r.offsetWidth,height:r.offsetHeight,x:0,y:0},G(o)&&o("")}catch{}(!i||i.width<0)&&(i={x:0,y:0,width:0,height:0})}else i=this.htmlGetBBox();s=i.height,c&&(i.height=s=({"11px,17":14,"13px,20":16})[`${g||""},${Math.round(s)}`]||s),p&&(i=this.getRotatedBox(i,p));let t={bBox:i};A(this,"afterGetBBox",t),i=t.bBox}if(u&&(""===h||i.height>0)){for(;d.length>250;)delete l[d.shift()];l[u]||d.push(u),l[u]=i}return i}getBBoxCacheKey(t){if(v(this.textStr)){let e=""+this.textStr;return -1===e.indexOf("<")&&(e=e.replace(/\d/g,"0")),[e,...t].join(",")}}getRotatedBox(t,e){let{x:i,y:s,width:o,height:r}=t,{alignValue:a,translateY:n,rotationOriginX:h=0,rotationOriginY:l=0}=this,d=P(a),c=Number(this.element.getAttribute("y")||0)-(n?0:s),p=e*t$,g=(e-90)*t$,u=Math.cos(p),f=Math.sin(p),m=o*u,x=o*f,y=Math.cos(g),b=Math.sin(g),[[v,k],[w,M]]=[h,l].map(t=>[t-t*u,t*f]),C=i+d*(o-m)+v+M+c*y,S=C+m,T=S-r*y,A=T-m,L=s+c-d*x-k+w+c*b,O=L+x,E=O-r*b,I=E-x,D=Math.min(C,S,T,A),B=Math.min(L,O,E,I),N=Math.max(C,S,T,A)-D,z=Math.max(L,O,E,I)-B;return{x:D,y:B,width:N,height:z,polygon:[[C,L],[S,O],[T,E],[A,I]]}}getStyle(t){return t_.getComputedStyle(this.element||this,"").getPropertyValue(t)}hasClass(t){return -1!==(""+this.attr("class")).split(" ").indexOf(t)}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(t,e){this.onEvents={},this.opacity=1,this.SVG_NS=tZ,this.element="div"===e||"body"===e?x(e):tV.createElementNS(this.SVG_NS,e),this.renderer=t,this.styles={},A(this,"afterInit")}on(t,e){let{onEvents:i}=this;return i[t]&&i[t](),i[t]=c(this.element,t,e),this}opacitySetter(t,e,i){let s=Number(Number(t).toFixed(3));this.opacity=s,i.setAttribute(e,s)}reAlign(){this.alignOptions?.width&&"left"!==this.alignOptions.align&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(t){return this.attr("class",(""+this.attr("class")).replace(W(t)?RegExp(`(^| )${t}( |$)`):t," ").replace(/ +/g," ").trim())}removeTextOutline(){let t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)}safeRemoveChild(t){let e=t.parentNode;e&&e.removeChild(t)}setRadialReference(t){let e=this.element.gradient&&this.renderer.gradients[this.element.gradient]||void 0;return this.element.radialReference=t,e?.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this}shadow(t){let{renderer:e}=this,i=F(this.parentGroup?.rotation===90?{offsetX:-1,offsetY:-1}:{},X(t)?t:{}),s=e.shadowDefinition(i);return this.attr({filter:t?`url(${e.url}#${s})`:"none"})}show(t=!0){return this.attr({visibility:t?"inherit":"visible"})}"stroke-widthSetter"(t,e,i){this[e]=t,i.setAttribute(e,t)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let t=this.getStyle("stroke-width"),e=0,i;return/px$/.test(t)?e=Z(t):""!==t&&(u(i=tV.createElementNS(tZ,"rect"),{width:t,"stroke-width":0}),this.element.parentNode.appendChild(i),e=i.getBBox().width,i.parentNode.removeChild(i)),e}symbolAttr(t){let e=this;tq.symbolCustomAttribs.forEach(function(i){e[i]=U(t[i],e[i])}),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})}textSetter(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(t){let e=this.element,i=e.getElementsByTagName("title")[0]||tV.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(i,e.firstChild):e.appendChild(i),i.textContent=q(U(t,""),[/<[^>]*>/g,""]).replace(/&lt;/g,"<").replace(/&gt;/g,">")}toFront(){let t=this.element;return t.parentNode.appendChild(t),this}translate(t,e){return this.attr({translateX:t,translateY:e})}updateTransform(t="transform"){let{element:e,foreignObject:i,matrix:s,rotation:o=0,rotationOriginX:r,rotationOriginY:a,scaleX:n,scaleY:h,text:l,translateX:d=0,translateY:c=0}=this,p=[`translate(${d},${c})`];v(s)&&p.push("matrix("+s.join(",")+")"),o&&p.push("rotate("+o+" "+(r??e.getAttribute("x")??this.x??0)+" "+(a??e.getAttribute("y")??this.y??0)+")"),(v(n)||v(h))&&p.push(`scale(${n??1} ${h??1})`),p.length&&!(l||this).textPath&&(i?.element||e).setAttribute(t,p.join(" "))}visibilitySetter(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t}xGetter(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)}zIndexSetter(t,e){let{element:i,parentGroup:s,renderer:o}=this,r=s?.element||o.box,a=r===o.box,n,h,l,d=!1,c,p=this.added,g;if(v(t)?(i.setAttribute("data-z-index",t),t*=1,this[e]===t&&(p=!1)):v(this[e])&&i.removeAttribute("data-z-index"),this[e]=t,p){for((t=this.zIndex)&&s&&(s.handleZ=!0),g=(n=r.childNodes).length-1;g>=0&&!d;g--)c=!v(l=(h=n[g]).getAttribute("data-z-index")),h!==i&&(v(t)&&t<0&&c&&!a&&!g?(r.insertBefore(i,n[g]),d=!0):(v(t)&&parseFloat(l||"")<=t||c&&(!v(t)||t>=0))&&(r.insertBefore(i,n[g+1]),d=!0));d||(r.insertBefore(i,n[3*!!a]),d=!0)}return d}}tq.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],tq.prototype.strokeSetter=tq.prototype.fillSetter,tq.prototype.yGetter=tq.prototype.xGetter,tq.prototype.matrixSetter=tq.prototype.rotationOriginXSetter=tq.prototype.rotationOriginYSetter=tq.prototype.rotationSetter=tq.prototype.scaleXSetter=tq.prototype.scaleYSetter=tq.prototype.translateXSetter=tq.prototype.translateYSetter=tq.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0};let tJ=tq,{charts:tQ}=n,t0=["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"],t1=[null,"#00e272","#efdf00"];class t2{constructor(t,e){this.defaultOptions=h,this.options=F(h),this.cssVars={light:{},dark:{}},this.renderer=t,this.update(e)}injectCSS(t){let e,i,s,{cssVars:o,renderer:r}=this,a=Object.keys(M(t,this.defaultOptions)).length>0,n=Math.max(t.colors?.length||0,t0.length),h="light",l=(t,e)=>{W(t)&&(e=e.replace(/([0-9]+)/g,"-$1").replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`),o[h][`--highcharts-${e}`]=t)};for(let e of["light","dark"]){let i=t[e]||{},s={},r=new tk(i?.neutralColor||""),a=new tk(i?.backgroundColor||""),d=new tk(i?.highlightColor||"");h=e,[3,5,10,20,40,60,80,100].forEach(t=>{s[`neutralColor${t}`]=a.tweenTo(r,t/100),s[`highlightColor${t}`]=a.tweenTo(d,t/100)});for(let s=0;s<n;s++)l(i?.colors?.[s]||t.colors?.[s]||("dark"===e?t1:[])?.[s]||t0[s]||"#888a",`color${s}`);j(i,l),j(s,l),"light"===e&&S(o.dark,o.light)}let d=r.defs.element,c=a?`*[data-highcharts-chart="${r.chartIndex}"]`:"",p=d.querySelector("style.highcharts-palette")||r.box.ownerDocument.createElement("style");p.parentNode||(p.nonce="highcharts",p.className="highcharts-palette",d.appendChild(p)),i=(e=t=>{let e="";return j(o.light,(i,s)=>{e+=t&&i!==o.dark[s]?` ${s}: light-dark(${i}, ${o.dark[s]}); `:` ${s}: ${i}; `}),e})(),s=e(!0),p.textContent=`${c||":root"} { ${i} } @supports (color: light-dark(#fff, #000)) { ${c||":root"} { ${s} } } .highcharts-container { color-scheme: light dark; } .highcharts-light .highcharts-container { color-scheme: light; } .highcharts-dark .highcharts-container { color-scheme: dark; }`}update(t){let e=this.renderer.box.parentElement,i=tQ?.[this.renderer.chartIndex];t=F(!0,this.options,t),i&&(i.options.palette=t),!1!==t.injectCSS&&this.injectCSS(t),e&&(W(t.colorScheme)&&["light","dark","inherit"].includes(t.colorScheme)?e.style.colorScheme=t.colorScheme:e.style.removeProperty("color-scheme"))}}class t5 extends tJ{constructor(t,e,i,s,o,r,a,n,h,l){let d;super(t,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=e,this.x=i,this.y=s,this.anchorX=r,this.anchorY=a,this.baseline=h,this.className=l,this.addClass("button"===l?"highcharts-no-tooltip":"highcharts-label"),l&&this.addClass("highcharts-"+l),this.text=t.text(void 0,0,0,n).attr({zIndex:1}),"string"==typeof o&&((d=/^url\((.*?)\)$/.test(o))||this.renderer.symbols[o])&&(this.symbolKey=o),this.bBox=t5.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=t.styledMode||d,this.deferredAttr={},this.alignFactor=0}alignSetter(t){let e=P(t);this.textAlign=t,e!==this.alignFactor&&(this.alignFactor=e,this.bBox&&R(this.xSetting)&&this.attr({x:this.xSetting}),this.updateTextPadding())}anchorXSetter(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)}boxAttr(t,e){this.box?this.box.attr(t,e):this.de