1import{a as Nt,b as Bt,d as Rr}from"./chunk-6MDQTQU3.js";var Lr=Rr((dt,pe)=>{(function(k,$){typeof dt=="object"&&typeof pe=="object"?pe.exports=$(k._Highcharts,k._Highcharts.Templating,k._Highcharts.AST,k._Highcharts.Legend,k._Highcharts.Axis,k._Highcharts.Color,k._Highcharts.SeriesRegistry,k._Highcharts.RendererRegistry,k._Highcharts.Point,k._Highcharts.Series):typeof define=="function"&&define.amd?define("highcharts/modules/accessibility",["highcharts/highcharts"],function(z){return $(z,z.Templating,z.AST,z.Legend,z.Axis,z.Color,z.SeriesRegistry,z.RendererRegistry,z.Point,z.Series)}):typeof dt=="object"?dt["highcharts/modules/accessibility"]=$(k._Highcharts,k._Highcharts.Templating,k._Highcharts.AST,k._Highcharts.Legend,k._Highcharts.Axis,k._Highcharts.Color,k._Highcharts.SeriesRegistry,k._Highcharts.RendererRegistry,k._Highcharts.Point,k._Highcharts.Series):k.Highcharts=$(k.Highcharts,k.Highcharts.Templating,k.Highcharts.AST,k.Highcharts.Legend,k.Highcharts.Axis,k.Highcharts.Color,k.Highcharts.SeriesRegistry,k.Highcharts.RendererRegistry,k.Highcharts.Point,k.Highcharts.Series)})("u"<typeof window?dt:window,(k,$,z,ci,di,ui,pi,gi,mi,bi)=>(()=>{"use strict";let It;var Ft,Ot,Rt,Lt,fi={260:e=>{e.exports=mi},512:e=>{e.exports=pi},532:e=>{e.exports=di},608:e=>{e.exports=gi},620:e=>{e.exports=ui},632:e=>{e.exports=ci},660:e=>{e.exports=z},820:e=>{e.exports=bi},944:e=>{e.exports=k},984:e=>{e.exports=$}},ge={};function S(e){var t=ge[e];if(t!==void 0)return t.exports;var i=ge[e]={exports:{}};return fi[e](i,i.exports,S),i.exports}S.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return S.d(t,{a:t}),t},S.d=(e,t)=>{for(var i in t)S.o(t,i)&&!S.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},S.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var me={};S.d(me,{default:()=>Fr});var et=S(944),A=S.n(et);let{doc:be,win:xi}=A();function y(e,t,i,s={}){let r=typeof e=="function"&&e.prototype||e;Object.hasOwnProperty.call(r,"hcEvents")||(r.hcEvents={});let o=r.hcEvents;A().Point&&e instanceof A().Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let n=e.addEventListener;n&&n.call(e,t,i,!!A().supportsPassiveEvents&&{passive:s.passive===void 0?t.indexOf("touch")!==-1:s.passive,capture:!1}),o[t]||(o[t]=[]);let a={fn:i,order:typeof s.order=="number"?s.order:1/0};return o[t].push(a),o[t].sort((h,l)=>h.order-l.order),function(){tt(e,t,i)}}function G(e,t,i){let s,r=mt(t)&&!w(i),o=(n,a)=>{w(n)?e.setAttribute(a,n):r?(s=e.getAttribute(a))||a!=="class"||(s=e.getAttribute(a+"Name")):e.removeAttribute(a)};return mt(t)?o(i,t):ft(t,o),s}function Ht(e,t,i){return e>t?e<i?e:i:t}function O(e,t){return e>1e14?e:parseFloat(e.toPrecision(t||14))}function ut(e,t=0,i){let s=t%2/2,r=i?-1:1;return(Math.round(e*r-s)+s)*r}function pt(e,t){Y(e.style,t)}function w(e){return e!=null}function fe(e,t,i){ft(e,function(s,r){s!==t&&s?.destroy&&s.destroy(),(s?.destroy||!i)&&delete e[r]})}function Q(e,t){let i=e.length;for(;i--;)if(e[i]===t){e.splice(i,1);break}}function Y(e,t){let i;for(i in e||(e={}),t)e[i]=t[i];return e}function F(e,t,i,s){if(i=i||{},be?.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==A())){let r=be.createEvent("Events");r.initEvent(t,!0,!0),i=Y(r,i),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent(t,i)}else if(e.hcEvents){i.target||Y(i,{preventDefault:function(){i.defaultPrevented=!0},target:e,type:t});let r=[],o=e,n=!1;for(;o.hcEvents;)Object.hasOwnProperty.call(o,"hcEvents")&&o.hcEvents[t]&&(r.length&&(n=!0),r.unshift.apply(r,o.hcEvents[t])),o=Object.getPrototypeOf(o);n&&r.sort((a,h)=>a.order-h.order),r.forEach(a=>{a.fn.call(e,i,e)===!1&&i.preventDefault()})}s&&!i.defaultPrevented&&s.call(e,i)}function zt(e,t){let i=e.split(".");for(;i.length&&w(t);){let s=i.shift();if(s===void 0||s==="__proto__")return;if(s==="this"){let o;return bt(t)&&(o=t["@this"]),o??t}let r=t[s.replace(/[\\'"]/g,"")];if(!w(r)||typeof r=="function"||typeof r.nodeType=="number"||r===xi)return;t=r}return t}let it=Array.prototype.find?function(e,t){return e.find(t)}:function(e,t){let i,s=e.length;for(i=0;i<s;i++)if(t(e[i],i))return e[i]};function gt(e){w(e)&&clearTimeout(e)}function xe(e){return bt(e)&&typeof e.nodeType=="number"}function L(e){return typeof e=="number"&&!isNaN(e)&&e<1/0&&e>-1/0}function mt(e){return typeof e=="string"}function st(e){let t=Object.prototype.toString.call(e);return t==="[object Array]"||t==="[object Array Iterator]"}function bt(e,t){return!!e&&typeof e=="object"&&(!t||!st(e))}function B(e,...t){let i,s=[e,...t],r={},o=function(a,h){return typeof a!="object"&&(a={}
1),ft(h,function(l,c){if(c!=="__proto__"&&c!=="constructor"){let d;!bt(l,!0)||(d=l?.constructor,bt(l,!0)&&!xe(l)&&d?.name&&d.name!=="Object")||xe(l)?a[c]=h[c]:a[c]=o(a[c]||{},l)}}),a};e===!0&&(r=s[1],s=Array.prototype.slice.call(s,2));let n=s.length;for(i=0;i<n;i++)r=o(r,s[i]);return r}function ft(e,t,i){for(let s in e)Object.hasOwnProperty.call(e,s)&&t.call(i||e[s],e[s],s,e)}function T(){let e=arguments,t=e.length;for(let i=0;i<t;i++){let s=e[i];if(s!=null)return s}}function J(e,t){return 0>e.indexOf(t)&&!!e.push(t)}function tt(e,t,i){function s(n,a){let h=e.removeEventListener;h&&h.call(e,n,a,!1)}function r(n){let a,h;e.nodeName&&(t?(a={})[t]=!0:a=n,ft(a,function(l,c){if(n[c])for(h=n[c].length;h--;)s(c,n[c][h].fn)}))}let o=typeof e=="function"&&e.prototype||e;if(Object.hasOwnProperty.call(o,"hcEvents")){let n=o.hcEvents;if(t){let a=n[t]||[];i?(n[t]=a.filter(function(h){return i!==h.fn}),s(t,i)):(r(n),n[t]=[])}else r(n),delete o.hcEvents}}function ye(e,t,i){return t>0?setTimeout(e,t,i):(e.call(0,i),-1)}let{doc:rt,win:U}=A(),ve=U.EventTarget&&new U.EventTarget||"none";function we(e){if(typeof U.MouseEvent=="function")return new U.MouseEvent(e.type,e);if(rt?.createEvent){let t=rt.createEvent("MouseEvent");if(t.initMouseEvent)return t.initMouseEvent(e.type,e.bubbles,e.cancelable,e.view||U,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),t}return Ee(e.type)}function Ee(e,t,i){let s=t||{x:0,y:0};if(typeof U.MouseEvent=="function")return new U.MouseEvent(e,{bubbles:!0,cancelable:!0,composed:!0,button:0,buttons:1,relatedTarget:i||ve,view:U,detail:+(e==="click"),screenX:s.x,screenY:s.y,clientX:s.x,clientY:s.y});if(rt?.createEvent){let r=rt.createEvent("MouseEvent");if(r.initMouseEvent)return r.initMouseEvent(e,!0,!0,U,+(e==="click"),s.x,s.y,s.x,s.y,!1,!1,
1!1,!1,0,null),r}return{type:e}}let I={addClass:function(e,t){e.classList?e.classList.add(t):0>e.className.indexOf(t)&&(e.className+=" "+t)},cloneMouseEvent:we,cloneTouchEvent:function(e){let t=s=>{let r=[];for(let o=0;o<s.length;++o){let n=s.item(o);n&&r.push(n)}return r};if(typeof U.TouchEvent=="function"){let s=new U.TouchEvent(e.type,{touches:t(e.touches),targetTouches:t(e.targetTouches),changedTouches:t(e.changedTouches),ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,bubbles:e.bubbles,cancelable:e.cancelable,composed:e.composed,detail:e.detail,view:e.view});return e.defaultPrevented&&s.preventDefault(),s}let i=we(e);return i.touches=e.touches,i.changedTouches=e.changedTouches,i.targetTouches=e.targetTouches,i},escapeStringForHTML:function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")},getElement:function(e){return rt.getElementById(e)},getFakeMouseEvent:Ee,getHeadingTagNameForElement:function(e){let t=r=>"h"+Math.min(6,parseInt(r.slice(1),10)+1),i=r=>/^H[1-6]$/i.test(r),s=r=>{let o=(h=>{let l=h;for(;l=l.previousSibling;){let c=l.tagName||"";if(i(c))return c}return""})(r);if(o)return t(o);let n=r.parentElement;if(!n)return"h6";let a=n.tagName;return i(a)?t(a):s(n)};return s(e)},removeChildNodes:function(e){for(;e.lastChild;)e.removeChild(e.lastChild)},removeClass:function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(RegExp(t,"g"),"")},removeElement:function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},reverseChildNodes:function(e){let t=e.childNodes.length;for(;t--;)e.appendChild(e.childNodes[t])},simulatedEventTarget:ve,stripHTMLTagsFromString:function(e,t=!1){return typeof e=="string"?t?e.replace(/<\/?[^>]+(>|$)/g,""):e.replace(/<\/?(?!\s)[^>]+(>|$)/g,""):e},visuallyHideElement:function(e){pt(e,{position:"absolute",width:"1px",height:"1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(1px, 1px, 1px, 1px)",marginTop:"-3px","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)",filter:"alpha(opacity=1)",opacity:.01})}};var yi=S(984),xt=S.n(yi);let{format:vi}=xt();var Ae=Ft||(Ft={});function Te(e,t,i){let s=(h,l)=>{let c=h.slice(l||0),d=c.indexOf("{"),p=c.indexOf("}");if(d>-1&&p>d)return{statement:c.substring(d+1,p),begin:l+d+1,end:l+p}},r=[],o,n,a=0;do o=s(e,a),(n=e.substring(a,o&&o.begin-1)).length&&r.push({value:n,type:"constant"}),o&&r.push({value:o.statement,type:"statement"}),a=o?o.end+1:a+1;while(o);return r.forEach(h=>{h.type==="statement"&&(h.value=(function(l,c){let d,p,u=l.indexOf("#each("),g=l.indexOf("#plural("),m=l.indexOf("["),f=l.indexOf("]");if(u>-1){let E=l.slice(u).indexOf(")")+u,b=l.substring(0,u),x=l.substring(E+1),C=l.substring(u+6,E).split(","),P=Number(C[1]),D;if(p="",d=zt(C[0],c)){D=(P=isNaN(P)?d.length:P)<0?d.length+P:Math.min(P,d.length);for(let M=0;M<D;++M)p+=b+d[M]+x}return p.length?p:""}if(g>-1){var v;let E=l.slice(g).indexOf(")")+g,b=l.substring(g+8,E).split(",");switch(Number(zt(b[0],c))){case 0:p=T(b[4],b[1]);break;case 1:p=T(b[2],b[1]);break;case 2:p=T(b[3],b[1]);break;default:p=b[1]}return p?(v=p).trim&&v.trim()||v.replace(/^\s+|\s+$/g,""):""}if(m>-1){let E,b=l.substring(0,m),x=Number(l.substring(m+1,f));return d=zt(b,c),!isNaN(x)&&d&&(x<0?(E=d[d.length+x])===void 0&&(E=d[0]):(E=d[x])===void 0&&(E=d[d.length-1])),E!==void 0?E:""}return"{"+l+"}"})(h.value,t))}),vi(r.reduce((h,l)=>h+l.value,""),t,i)}function wi(e,t){let i=e.split("."),s=this.options.lang,r=0;for(;r<i.length;++r)s=s&&s[i[r]];return typeof s=="string"?Te(s,t,this):""}Ae.compose=function(e){let t=e.prototype;t.langFormat||(t.langFormat=wi)},Ae.i18nFormat=Te;let yt=Ft,{doc:Me}=A(),{stripHTMLTagsFromString:Ei}=I;function Ce(e){if(e.points&&e.points.length){let t=it(e.points,i=>!!i.graphic);return t&&t.graphic&&t.graphic.element}}function ke(e){let t=Ce(e);return t&&t.parentNode||e.graph&&e.graph.element||e.group&&e.group.element}let R={fireEventOnWrappedOrUnwrappedElement:function e(t,i){let s=i.type,r=t.hcEvents;Me?.createEvent&&(t.dispatchEvent||t.fireEvent)?t.dispatchEvent?t.dis
1patchEvent(i):t.fireEvent(s,i):r&&r[s]?F(t,s,i):t.element&&e(t.element,i)},getChartTitle:function(e){return Ei(e.options.title.text||e.langFormat("accessibility.defaultChartTitle",{chart:e}),e.renderer.forExport)},getAxisDescription:function(e){return e&&(e.options.accessibility?.description||e.axisTitle?.textStr||e.options.id||e.categories&&e.chart.langFormat("accessibility.axis.defaultAxisNames.categories",{})||e.dateTime&&e.chart.langFormat("accessibility.axis.defaultAxisNames.time",{})||e.chart.langFormat("accessibility.axis.defaultAxisNames.values",{}))},getAxisRangeDescription:function(e){var t,i,s;let r,o,n,a,h,l,c,d,p,u,g,m,f=e.options||{};return f.accessibility&&f.accessibility.rangeDescription!==void 0?f.accessibility.rangeDescription:e.categories?(r=(t=e).chart,t.dataMax&&t.dataMin?r.langFormat("accessibility.axis.rangeCategories",{chart:r,axis:t,numCategories:t.dataMax-t.dataMin+1}):""):e.dateTime&&(e.min===0||e.dataMin===0)?(o=(i=e).chart,n={},a=i.dataMin||i.min||0,h=i.dataMax||i.max||0,l="Seconds",n.Seconds=(h-a)/1e3,n.Minutes=n.Seconds/60,n.Hours=n.Minutes/60,n.Days=n.Hours/24,["Minutes","Hours","Days"].forEach(function(v){n[v]>2&&(l=v)}),c=n[l].toFixed(+(l!=="Seconds"&&l!=="Minutes")),o.langFormat("accessibility.axis.timeRange"+l,{chart:o,axis:i,range:c.replace(".0","")})):(u=(p=(d=(s=e).chart).options)&&p.accessibility&&p.accessibility.screenReaderSection.axisRangeDateFormat||"",g={min:s.dataMin||s.min||0,max:s.dataMax||s.max||0},m=function(v){return s.dateTime?d.time.dateFormat(u,g[v]):g[v].toString()},d.langFormat("accessibility.axis.rangeFromTo",{chart:d,axis:s,rangeFrom:m("min"),rangeTo:m("max")}))},getPointFromXY:function(e,t,i){let s=e.length,r;for(;s--;)if(r=it(e[s].points||[],function(o){return o.x===t&&o.y===i}))return r},getSeriesFirstPointElement:Ce,getSeriesFromName:function(e,t){return t?(e.series||[]).filter(function(i){return i.name===t}):e.series},getSeriesA11yElement:ke,unhideChartElementFromAT:function e(t,i){i.setAttribute("aria-hidden",!1),i!==t.renderTo&&i.parentNode&&i.parentNode!==Me.body&&(Array.prototype.forEach.call(i.parentNode.childNodes,function(s){s.hasAttribute("aria-hidden")||s.setAttribute("aria-hidden",!0)}),e(t,i.parentNode))},hideSeriesFromAT:function(e){let t=ke(e);t&&t.setAttribute("aria-hidden",!0)},scrollAxisToPoint:function(e){let t=e.series.xAxis,i=e.series.yAxis,s=t&&t.scrollbar?t:i,r=s&&s.scrollbar;if(r&&w(r.to)&&w(r.from)){let o=r.to-r.from,n=(function(a,h){if(!w(a.dataMin)||!w(a.dataMax))return 0;let l=a.toPixels(a.dataMin),c=a.toPixels(a.dataMax),d=a.coll==="xAxis"?"x":"y";return(a.toPixels(h[d]||0)-l)/(c-l)})(s,e);r.updatePosition(n-o/2,n+o/2),F(r,"changed",{from:r.from,to:r.to,trigger:"scrollbar",DOMEvent:null})}}},{doc:Pe}=A(),{removeElement:Se}=I,qt=class{constructor(){this.elements=[]}createElement(){let e=Pe.createElement.apply(Pe,arguments);return this.elements.push(e),e}removeElement(e){Se(e),this.elements.splice(this.elements.indexOf(e),1)}destroyCreatedElements(){this.elements.forEach(function(e){Se(e)}),this.elements=[]}},nt=class{constructor(){this.eventRemovers=[]}addEvent(){let e=y.apply(A(),arguments);return this.eventRemovers.push({element:arguments[0],remover:e}),e}removeEvent(e){let t=this.eventRemovers.map(i=>i.remover).indexOf(e);this.eventRemovers[t].remover(),this.eventRemovers.splice(t,1)}removeAddedEvents(){this.eventRemovers.map(e=>e.remover).forEach(e=>e()),this.eventRemovers=[]}},{fireEventOnWrappedOrUnwrappedElement:Ai}=R,{getFakeMouseEvent:Ti}=I,j=class{destroy(){}getKeyboardNavigation(){return[]}init(){}onChartRender(){}onChartUpdate(){}initBase(e,t){this.chart=e,this.eventProvider=new nt,this.domElementProvider=new qt,this.proxyProvider=t,this.keyCodes={left:37,right:39,up:38,down:40,enter:13,space:32,esc:27,tab:9,pageUp:33,pageDown:34,end:35,home:36}}addEvent(e,t,i,s){return this.eventProvider.addEvent(e,t,i,s)}createElement(e,t){return this.domElementProvider.createElement(e,t)}fakeClickEvent(e){Ai(e,Ti("click"))}destroyBase(){this.domElementProvider.destroyCreatedElements(),this.eventProvider.removeAddedEvents()}},V=class{constructor(e,t){this.chart=e,this.keyCodeMap=t.keyCodeMap||[],this.validate=t.validate,this.init=t.init,this.terminate=t.terminate,this.response={success:1,prev:2,next:3,noHandler:4,fail:5}}run(e){let t=e.which||e.keyCode,i=this.response.noHandler,s=it(this.keyCodeMap,function(r){return r[0].indexOf(t)>-1});
1return s?i=s[1].call(this,t,e):t===9&&(i=this.response[e.shiftKey?"prev":"next"]),i}},{unhideChartElementFromAT:Mi,getChartTitle:vt}=R,{doc:Ci}=A(),{stripHTMLTagsFromString:De}=I,ki=class extends j{onChartUpdate(){this.handleSVGTitleElement(),this.setSVGContainerLabel(),this.setGraphicContainerAttrs(),this.setRenderToAttrs(),this.makeCreditsAccessible()}handleSVGTitleElement(){let e=this.chart,t="highcharts-title-"+e.index,i=De(e.langFormat("accessibility.svgContainerTitle",{chartTitle:vt(e)}));if(i.length){let s=this.svgTitleElement=this.svgTitleElement||Ci.createElementNS("http://www.w3.org/2000/svg","title");s.textContent=i,s.id=t,e.renderTo.insertBefore(s,e.renderTo.firstChild)}}setSVGContainerLabel(){let e=this.chart,t=e.langFormat("accessibility.svgContainerLabel",{chartTitle:vt(e)});e.renderer.box&&t.length&&e.renderer.box.setAttribute("aria-label",t)}setGraphicContainerAttrs(){let e=this.chart,t=e.langFormat("accessibility.graphicContainerLabel",{chartTitle:vt(e)});t.length&&e.container.setAttribute("aria-label",t)}setRenderToAttrs(){let e=this.chart,t=e.options.accessibility.landmarkVerbosity!=="disabled",i=e.langFormat("accessibility.chartContainerLabel",{title:vt(e),chart:e});i&&(e.renderTo.setAttribute("role",t?"region":"group"),e.renderTo.setAttribute("aria-label",i))}makeCreditsAccessible(){let e=this.chart,t=e.credits;t&&(t.textStr&&t.element.setAttribute("aria-label",e.langFormat("accessibility.credits",{creditsStr:De(t.textStr,e.renderer.forExport)})),Mi(e,t.element))}getKeyboardNavigation(){let e=this.chart;return new V(e,{keyCodeMap:[],validate:function(){return!0},init:function(){let t=e.accessibility;t&&t.keyboardNavigation.tabindexContainer.focus()}})}destroy(){this.chart.renderTo.setAttribute("aria-hidden",!0)}};(function(e){let t=["x","y","transform","width","height","r","d","stroke-width"];function i(){let n=this.focusElement,a=this.options.accessibility.keyboardNavigation.focusBorder;n&&(n.removeFocusBorder(),a.enabled&&n.addFocusBorder(a.margin,{stroke:a.style.color,strokeWidth:a.style.lineWidth,r:a.style.borderRadius}))}function s(n,a){let h=this.options.accessibility.keyboardNavigation.focusBorder,l=a||n.element;l&&l.focus&&(l.hcEvents&&l.hcEvents.focusin||y(l,"focusin",function(){}),l.focus(),h.hideBrowserFocusOutline&&(l.style.outline="none")),this.focusElement&&this.focusElement.removeFocusBorder(),this.focusElement=n,y(this,"endResize",function(){this.renderFocusBorder()}),this.renderFocusBorder()}function r(n,a){this.focusBorder&&this.removeFocusBorder();let h=this.getBBox(),l=T(n,3),c=this.parentGroup,d=this.scaleX||c&&c.scaleX,p=this.scaleY||c&&c.scaleY,u=(d?!p:p)?Math.abs(d||p||1):(Math.abs(d||1)+Math.abs(p||1))/2,g=this.renderer.fontMetrics(this).h;h.x+=this.translateX?this.translateX:0,h.y+=this.translateY?this.translateY:0;let m=h.x-l,f=h.y-l,v=h.width+2*l,E=h.height+2*l,b=!!this.text;if(this.element.nodeName==="text"||b){let x,C,P=!!this.rotation,D=b?{x:+!!P,y:0}:(x=0,C=0,this.attr("text-anchor")==="middle"?x=C=.5:this.rotation?x=.25:C=.75,{x,y:C}),M=+this.attr("x"),N=+this.attr("y");if(isNaN(M)||(m=M-h.width*D.x-l),isNaN(N)||(f=N-(this.attr("text-anchor")==="start"?g:h.height)*D.y-l),b&&P){let H=v;v=E,E=H,isNaN(M)||(m=M-h.height*D.x-l),isNaN(N)||(f=N-h.width*D.y-l)}}this.focusBorder=this.renderer.rect(m,f,v,E,parseInt((a&&a.r||0).toString(),10)/u).addClass("highcharts-focus-border").attr({zIndex:99}).add(c),this.renderer.styledMode||this.focusBorder.attr({stroke:a&&a.stroke,"stroke-width":(a&&a.strokeWidth||0)/u}),(function(x,...C){x.focusBorderUpdateHooks||(x.focusBorderUpdateHooks={},t.forEach(P=>{let D=P+"Setter",M=x[D]||x._defaultSetter;x.focusBorderUpdateHooks[D]=M,x[D]=function(){let N=M.apply(x,arguments);return x.addFocusBorder.apply(x,C),N}}))})(this,n,a),(function(x){if(x.focusBorderDestroyHook)return;let C=x.destroy;x.destroy=function(){return x.focusBorder&&x.focusBorder.destroy&&x.focusBorder.destroy(),C.apply(x,arguments)},x.focusBorderDestroyHook=C})(this)}function o(){var n;n=this,n.focusBorderUpdateHooks&&(Object.keys(n.focusBorderUpdateHooks).forEach(a=>{let h=n.focusBorderUpdateHooks[a];h===n._defaultSetter?delete n[a]:n[a]=h}),delete n.focusBorderUpdateHooks),this.focusBorderDestroyHook&&(this.destroy=this.focusBorderDestroyHook,delete this.focusBorderDestroyHook),this.focusBorder&&(this.focusBorder.destroy(),delete this.focusBorder)}e.compose=function(n,a){let h=n.prototype,l=a.prototype;h.renderFocusBorder||(h.renderFocusBorder=i,h.setFocusToElement=s),l.addFocusBorder||(l.addFocusBorder=r,l.removeFocusBorder=o)}})(Ot||(Ot={}));let Pi=Ot;var Si=S(660),Kt=S.n(Si);let{doc:Di}=A(),{addClass:Ni,visuallyHideElement:Bi}=I,wt=class{constructor(e,t){this.chart=e,this.domElementProvider=new qt,this.announceRegion=this.addAnnounceRegion(t)}destroy(){this.domElementProvider.destroyCreatedElements()}announce(e){Kt().setElementHTML(this.announceRegion,e),this.clearAnnouncementRegionTimer&>(this.clearAnnouncementRegionTimer),this.clearAnnouncementRegionTimer=setTimeout(()=>{this.announceRegion.innerHTML=Kt().emptyHTML,delete this.clearAnnouncementRegionTimer},3e3)}
1addAnnounceRegion(e){let t=this.chart.announcerContainer||this.createAnnouncerContainer(),i=this.domElementProvider.createElement("div");return G(i,{"aria-hidden":!1,"aria-live":e,"aria-atomic":!0}),this.chart.styledMode?Ni(i,"highcharts-visually-hidden"):Bi(i),t.appendChild(i),i}createAnnouncerContainer(){let e=this.chart,t=Di.createElement("div");return G(t,{"aria-hidden":!1,class:"highcharts-announcer-container"}),t.style.position="relative",e.renderTo.insertBefore(t,e.renderTo.firstChild),e.announcerContainer=t,t}},{escapeStringForHTML:Ii,stripHTMLTagsFromString:Fi}=I;function Ne(e){return(e.annotations||[]).reduce((t,i)=>(i.options&&i.options.visible!==!1&&(t=t.concat(i.labels)),t),[])}function Be(e){return e.options&&e.options.accessibility&&e.options.accessibility.description||e.graphic&&e.graphic.text&&e.graphic.text.textStr||""}function Ie(e){let t=e.options&&e.options.accessibility&&e.options.accessibility.description;if(t)return t;let i=e.chart,s=Be(e),r=e.points.filter(h=>!!h.graphic).map(h=>{let l=h.accessibility&&h.accessibility.valueDescription||h.graphic&&h.graphic.element&&h.graphic.element.getAttribute("aria-label")||"",c=h&&h.series.name||"";return(c?c+", ":"")+"data point "+l}).filter(h=>!!h),o=r.length,n=o>1?"MultiplePoints":o?"SinglePoint":"NoPoints",a={annotationText:s,annotation:e,numPoints:o,annotationPoint:r[0],additionalAnnotationPoints:r.slice(1)};return i.langFormat("accessibility.screenReaderSection.annotations.description"+n,a)}function Fe(e){return Ne(e).map(t=>{let i=Ii(Fi(Ie(t),e.renderer.forExport));return i?`<li>${i}</li>`:""})}let Oe={getAnnotationsInfoHTML:function(e){let t=e.annotations;return t&&t.length?`<ul style="list-style-type: none">${Fe(e).join(" ")}</ul>`:""},getAnnotationLabelDescription:Ie,getAnnotationListItems:Fe,getPointAnnotationTexts:function(e){let t=Ne(e.series.chart).filter(i=>i.points.indexOf(e)>-1);return t.length?t.map(i=>`${Be(i)}`):[]}},{getAnnotationsInfoHTML:Oi}=Oe,{getAxisDescription:Ri,getAxisRangeDescription:Li,getChartTitle:Et,unhideChartElementFromAT:Hi}=R,{format:zi}=xt(),{doc:qi}=A(),{addClass:Re,getElement:At,getHeadingTagNameForElement:Ki,stripHTMLTagsFromString:Le,visuallyHideElement:Gi}=I;function He(e){return(function(t,...i){let s,r;do for(r of(s=t,i))t=t.replace(r[0],r[1]);while(t!==s);return t})(e,[/<([\w\-.:!]+)\b[^<>]*>\s*<\/\1>/g,""])}let Ui=class extends j{constructor(){super(...arguments),this.screenReaderSections={}}init(){let e=this.chart,t=this;this.initRegionsDefinitions(),this.addEvent(e,"afterGetTableAST",function(i){t.onDataTableCreated(i)}),this.addEvent(e,"afterViewData",function(i){i.wasHidden&&(t.dataTableDiv=i.element,setTimeout(function(){t.focusDataTable()},300))}),this.addEvent(e,"afterHideData",function(){t.viewDataTableButton&&t.viewDataTableButton.setAttribute("aria-expanded","false")}),e.exporting&&this.addEvent(e,"afterPrint",function(){t.updateAllScreenReaderSections()}),this.announcer=new wt(e,"assertive")}initRegionsDefinitions(){let e=this,t=this.chart.options.accessibility;this.screenReaderSections={before:{element:null,buildContent:function(i){let s=t.screenReaderSection.beforeChartFormatter;return s?s(i,e):e.defaultBeforeChartFormatter()},insertIntoDOM:function(i,s){s.renderTo.insertBefore(i,s.renderTo.firstChild)},afterInserted:function(){e.sonifyButtonId!==void 0&&e.initSonifyButton(e.sonifyButtonId),e.dataTableButtonId!==void 0&&e.initDataTableButton(e.dataTableButtonId)}},after:{element:null,buildContent:function(i){let s=t.screenReaderSection.afterChartFormatter;return s?s(i,e):e.defaultAfterChartFormatter()},insertIntoDOM:function(i,s){s.renderTo.insertBefore(i,s.container.nextSibling)},afterInserted:function(){e.chart.accessibility&&t.keyboardNavigation.enabled&&e.chart.accessibility.keyboardNavigation.updateExitAnchor()}}}}onChartRender(){this.linkedDescriptionElement=this.getLinkedDescriptionElement(),this.setLinkedDescriptionAttrs(),this.updateAllScreenReaderSections()}updateAllScreenReaderSections(){let e=this;Object.keys(this.screenReaderSections).forEach(function(t){e.updateScreenReaderSection(t)})}getLinkedDescriptionElement(){let e=this.chart.options.accessibility.linkedDescription;if(!e)return;if(typeof e!="string")return e;let t=zi(e,this.chart),i=qi.querySelectorAll(t);if(i.length===1)return i[0]}setLinkedDescriptionAttrs(){let e=this.linkedDescriptionElement;e&&(e.setAttribute("aria-hidden","true"),Re(e,"highcharts-linked-description"))}updateScreenReaderSection(e){let t=this.chart,i=this.screenReaderSections[e],s=i.buildContent(t),r=i.element=i.element||this.createElement("div"),o=r.firstChild||this.createElement("div");s?(this.setScreenReaderSectionAttribs(r,e),Kt().setElementHTML(o,s),r.appendChild(o),i.insertIntoDOM(r,t),t.styledMode?Re(o,"highcharts-visually-hidden"):Gi(o),Hi(t,o),i.afterInserted&&i.afterInserted()):(r.parentNode&&r.parentNode.removeChild(r),i.element=null)}setScreenReaderSectionAttribs(e,t){let i=this.chart,s=i.langFormat("accessibility.screenReaderSection."+t+"RegionLabel",{chart:i,chartTitle:Et(i)});G(e,{id:`highcharts-screen-reader-region-${t}-${i.index}`,"aria-label":s||void 0}),e.style.position="relative",s&&e.setAttribute("role",i.options.accessibility.landmarkVerbosity==="all"?"region":"group")}defaultBeforeChartFormatter(){let e=this.chart,t=e.options.accessibility.screenReaderSection.beforeChartFormat;if(!t)return"";let i=this.getAxesDescription(),s=e.sonify&&e.options.sonification&&e.options.sonification.enabled,r="highcharts-a11y-sonify-data-btn-"+e.index,o="hc-linkto-highcharts-data-table-"+e.index,n=Oi(e),a=e.langFormat("accessibility.screenReaderSection.annotations.heading",{chart:e}),h={headingTagName:Ki(e.renderTo),chartTitle:Et(e),typeDescription:this.getTypeDescriptionText(),chartSubtitle:this.getSubtitleText(),chartLongdesc:this.getLongdescText(),xAxisDescription:i.xAxis,yAxisDescription:i.yAxis,playAsSoundButton:s?this.get
1SonifyButtonText(r):"",viewTableButton:e.exporting?.getCSV?this.getDataTableButtonText(o):"",annotationsTitle:n?a:"",annotationsList:n},l=yt.i18nFormat(t,h,e);return this.dataTableButtonId=o,this.sonifyButtonId=r,He(l)}defaultAfterChartFormatter(){let e=this.chart,t=e.options.accessibility.screenReaderSection.afterChartFormat;if(!t)return"";let i={endOfChartMarker:this.getEndOfChartMarkerText()};return He(yt.i18nFormat(t,i,e))}getLinkedDescription(){let e=this.linkedDescriptionElement;return Le(e&&e.innerHTML||"",this.chart.renderer.forExport)}getLongdescText(){let e=this.chart.options,t=e.caption,i=t&&t.text,s=this.getLinkedDescription();return e.accessibility.description||s||i||""}getTypeDescriptionText(){let e=this.chart;return e.types?e.options.accessibility.typeDescription||(function(t,i){let s,r,o,n=i[0],a=t.series&&t.series[0]||{},h=t.mapView&&t.mapView.geoMap&&t.mapView.geoMap.title,l={numSeries:t.series.length,numPoints:a.points&&a.points.length,chart:t,mapTitle:h};return n?n==="map"||n==="tiledwebmap"?l.mapTitle?t.langFormat("accessibility.chartTypes.mapTypeDescription",l):t.langFormat("accessibility.chartTypes.unknownMap",l):t.types.length>1?t.langFormat("accessibility.chartTypes.combinationChart",l):(s=i[0],r=t.langFormat("accessibility.seriesTypeDescriptions."+s,l),o=t.series&&t.series.length<2?"Single":"Multiple",(t.langFormat("accessibility.chartTypes."+s+o,l)||t.langFormat("accessibility.chartTypes.default"+o,l))+(r?" "+r:"")):t.langFormat("accessibility.chartTypes.emptyChart",l)})(e,e.types):""}getDataTableButtonText(e){let t=this.chart;return'<button id="'+e+'">'+t.langFormat("accessibility.table.viewAsDataTableButtonText",{chart:t,chartTitle:Et(t)})+"</button>"}getSonifyButtonText(e){let t=this.chart;return t.options.sonification&&t.options.sonification.enabled===!1?"":'<button id="'+e+'">'+t.langFormat("accessibility.sonification.playAsSoundButtonText",{chart:t,chartTitle:Et(t)})+"</button>"}getSubtitleText(){let e=this.chart.options.subtitle;return Le(e&&e.text||"",this.chart.renderer.forExport)}getEndOfChartMarkerText(){let e=At(`highcharts-end-of-chart-marker-${this.chart.index}`);if(e)return e.outerHTML;let t=this.chart,i=t.langFormat("accessibility.screenReaderSection.endOfChartMarker",{chart:t});return'<div id="highcharts-end-of-chart-marker-'+t.index+'">'+i+"</div>"}onDataTableCreated(e){let t=this.chart;if(t.options.accessibility.enabled){this.viewDataTableButton&&this.viewDataTableButton.setAttribute("aria-expanded","true");let i=e.tree.attributes||{};i.tabindex=-1,i.summary=t.langFormat("accessibility.table.tableSummary",{chart:t}),e.tree.attributes=i}}focusDataTable(){let e=this.dataTableDiv,t=e&&e.getElementsByTagName("table")[0];t&&t.focus&&t.focus()}initSonifyButton(e){let t=this.sonifyButton=At(e),i=this.chart,s=r=>{t&&(t.setAttribute("aria-hidden","true"),t.setAttribute("aria-label","")),r.preventDefault(),r.stopPropagation();let o=i.langFormat("accessibility.sonification.playAsSoundClickAnnouncement",{chart:i});this.announcer.announce(o),setTimeout(()=>{t&&(t.removeAttribute("aria-hidden"),t.removeAttribute("aria-label")),i.sonify&&i.sonify()},1e3)};t&&i&&(t.setAttribute("tabindex",-1),t.onclick=function(r){(i.options.accessibility&&i.options.accessibility.screenReaderSection.onPlayAsSoundClick||s).call(this,r,i,this)})}initDataTableButton(e){let t=this.viewDataTableButton=At(e),i=this.chart,s=e.replace("hc-linkto-","");t&&(G(t,{tabindex:-1,"aria-expanded":!!At(s)}),t.onclick=i.options.accessibility.screenReaderSection.onViewDataTableClick||function(){i.exporting?.viewData()})}getAxesDescription(){let e=this.chart,t=function(a,h){let l=e[a];return l.length>1||l[0]&&T(l[0].options.accessibility&&l[0].options.accessibility.enabled,h)},i=!!e.types&&0>e.types.indexOf("map")&&0>e.types.indexOf("treemap")&&0>e.types.indexOf("tilemap"),s=!!e.hasCartesianSeries,r=t("xAxis",!e.angular&&s&&i),o=t("yAxis",s&&i),n={};return r&&(n.xAxis=this.getAxisDescriptionText("xAxis")),o&&(n.yAxis=this.getAxisDescriptionText("yAxis")),n}getAxisDescriptionText(e){let t=this.chart,i=t[e];return t.langFormat("accessibility.axis."+e+"Description"+(i.length>1?"Plural":"Singular"),{chart:t,names:i.map(function(s){return Ri(s)}),ranges:i.map(function(s){return Li(s)}),numAxes:i.length})}destroy(){this.announcer&&this.announcer.destroy()}},{getChartTitle:Wi,unhideChartElementFromAT:Vi}=R,{getFakeMouseEvent:Tt}=I;function Mt(e){return e.exporting?.svgElements?.[0]}class Gt extends j{init(){let t=this.chart,i=this;this.addEvent(t,"exportMenuShown",function(){i.onMenuShown()}),this.addEvent(t,"exportMenuHidden",function(){i.onMenuHidden()}),this.createProxyGroup()}onMenuHidden(){let t=this.chart.exporting?.contextMenuEl;t&&t.setAttribute("aria-hidden","true"),this.setExportButtonExpandedState("false")}
1onMenuShown(){let t=this.chart,i=t.exporting?.contextMenuEl;i&&(this.addAccessibleContextMenuAttribs(),Vi(t,i)),this.setExportButtonExpandedState("true")}setExportButtonExpandedState(t){this.exportButtonProxy&&this.exportButtonProxy.innerElement.setAttribute("aria-expanded",t)}onChartRender(){let t=this.chart,i=t.focusElement,s=t.accessibility;this.proxyProvider.clearGroup("chartMenu"),this.proxyMenuButton(),this.exportButtonProxy&&i&&i===t.exporting?.group&&(i.focusBorder?t.setFocusToElement(i,this.exportButtonProxy.innerElement):s&&s.keyboardNavigation.tabindexContainer.focus())}proxyMenuButton(){let t,i,s=this.chart,r=this.proxyProvider,o=Mt(s);t=s.options.exporting,i=Mt(s),t&&t.enabled!==!1&&t.accessibility&&t.accessibility.enabled&&i&&i.element&&o&&(this.exportButtonProxy=r.addProxyElement("chartMenu",{click:o},"button",{"aria-label":s.langFormat("accessibility.exporting.menuButtonLabel",{chart:s,chartTitle:Wi(s)}),"aria-expanded":!1,title:s.options.lang.contextButtonTitle||null}))}createProxyGroup(){this.chart&&this.proxyProvider&&this.proxyProvider.addGroup("chartMenu")}addAccessibleContextMenuAttribs(){let t=this.chart,i=t.exporting?.divElements;if(i&&i.length){i.forEach(r=>{r&&(r.tagName!=="LI"||r.children&&r.children.length?r.setAttribute("aria-hidden","true"):r.setAttribute("tabindex",-1))});let s=i[0]&&i[0].parentNode;s&&G(s,{"aria-hidden":void 0,"aria-label":t.langFormat("accessibility.exporting.chartMenuLabel",{chart:t}),role:"list"})}}getKeyboardNavigation(){let t=this.keyCodes,i=this.chart,s=this;return new V(i,{keyCodeMap:[[[t.left,t.up],function(){return s.onKbdPrevious(this)}],[[t.right,t.down],function(){return s.onKbdNext(this)}],[[t.enter,t.space],function(){return s.onKbdClick(this)}]],validate:function(){return!!i.exporting&&i.options.exporting?.buttons?.contextButton.enabled!==!1&&i.options.exporting.enabled!==!1&&(i.options.exporting.accessibility?.enabled||!1)!==!1},init:function(){let r=s.exportButtonProxy,o=s.chart.exporting?.group;r&&o&&i.setFocusToElement(o,r.innerElement)},terminate:function(){i.hideExportMenu()}})}onKbdPrevious(t){let i=this.chart,s=i.options.accessibility,r=t.response,o=i.highlightedExportItemIx||0;for(;o--;)if(i.highlightExportItem(o))return r.success;return s.keyboardNavigation.wrapAround?(i.highlightLastExportItem(),r.success):r.prev}onKbdNext(t){let i=this.chart,s=i.options.accessibility,r=t.response;for(let o=(i.highlightedExportItemIx||0)+1;o<(i.exporting?.divElements?.length||0);++o)if(i.highlightExportItem(o))return r.success;return s.keyboardNavigation.wrapAround?(i.highlightExportItem(0),r.success):r.next}onKbdClick(t){let i=this.chart,s=i.highlightedExportItemIx!==void 0&&i.exporting?.divElements?.[i.highlightedExportItemIx],r=Mt(i)?.element;return i.exporting?.openMenu?s&&this.fakeClickEvent(s):(r&&this.fakeClickEvent(r),i.highlightExportItem(0)),t.response.success}}(function(e){function t(){let o=Mt(this);if(o){let n=o.element;n.onclick&&(n.onclick=function(){Tt("click")})}}function i(){let o=this.exporting?.divElements;o&&this.exporting?.contextMenuEl&&this.exporting?.openMenu&&(o.forEach(n=>{n&&n.className==="highcharts-menu-item"&&n.onmouseout&&n.onmouseout(Tt("mouseout"))}),this.highlightedExportItemIx=0,this.exporting.contextMenuEl.hideMenu(),this.container.focus())}function s(o){let n=this.exporting?.divElements?.[o],a=this.highlightedExportItemIx!==void 0&&this.exporting?.divElements?.[this.highlightedExportItemIx];if(n&&n.tagName==="LI"&&!(n.children&&n.children.length)){let h=!!(this.renderTo.getElementsByTagName("g")[0]||{}).focus;return n.focus&&h&&n.focus(),a&&a.onmouseout&&a.onmouseout(Tt("mouseout")),n.onmouseover&&n.onmouseover(Tt("mouseover")),this.highlightedExportItemIx=o,!0}return!1}function r(){if(this.exporting?.divElements){let o=this.exporting?.divElements.length;for(;o--;)if(this.highlightExportItem(o))return!0}return!1}e.compose=function(o){let n=o.prototype;n.hideExportMenu||(n.hideExportMenu=i,n.highlightExportItem=s,n.highlightLastExportItem=r,n.showExportMenu=t)}})(Gt||(Gt={}));let Ut=Gt,{doc:Ct,win:ze}=A(),{getElement:Xi,simulatedEventTarget:ji}=I;class Wt{constructor(t,i){this.currentModuleIx=NaN,this.modules=[],this.init(t,i)}init(t,i){let s=this.eventProvider=new nt;this.chart=t,this.components=i,this.modules=[],this.currentModuleIx=0,this.update(),s.addEvent(this.tabindexContainer,"keydown",r=>this.onKeydown(r)),s.addEvent(this.tabindexContainer,"focus",r=>this.onFocus(r)),["mouseup","touchend"].forEach(r=>s.addEvent(Ct,r,o=>this.onMouseUp(o))),["mousedown","touchstart"].forEach(r=>s.addEvent(t.renderTo,r,()=>{this.isClickingChart=!0}))}update(t){let i=this.chart.options.accessibility,s=i&&i.keyboardNavigation,r=this.components;this.updateContainerTabindex(),s&&s.enabled&&t&&t.length?(this.modules=t.reduce(function(o,n){let a=r[n].getKeyboardNavigation();return o.concat(a)},[]),this.updateExitAnchor()):(this.modules=[],this.currentModuleIx=0,this.removeExitAnchor())}updateExitAnchor(){let t=Xi(`highcharts-end-of-chart-marker-${this.chart.index}`);this.removeExitAnchor(),t?(this.makeElementAnExitAnchor(t),this.exitAnchor=t):this.createExitAnchor()}move(t){let i=this.modules&&this.modules[this.currentModuleIx];i&&i.terminate&&i.terminate(t),this.chart.focusElement&&this.chart.focusElement.removeFocusBorder(),this.currentModuleIx+=t;let s=this.modules&&this.modules[this.currentModuleIx];if(s){if(s.validate&&!s.validate())return this.move(t);if(s.init)return s.init(t),!0}return this.currentModuleIx=0,this.exiting=!0,t>0?this.exitAnchor&&this.exitAnchor.focus():this.tabindexContainer.focus(),!1}onFocus(t){let i=this.chart,s=t.relatedTarget&&i.container.contains(t.relatedTarget),r=i.options.accessibility,o=r&&r.ke
1yboardNavigation;if(o&&o.enabled&&!this.exiting&&!this.tabbingInBackwards&&!this.isClickingChart&&!s){let n=this.getFirstValidModuleIx();n!==null&&(this.currentModuleIx=n,this.modules[n].init(1))}this.keyboardReset=!1,this.exiting=!1}onMouseUp(t){if(delete this.isClickingChart,!this.keyboardReset&&t.relatedTarget!==ji){let i=this.chart;if(!t.target||!i.container.contains(t.target)){let s=this.modules&&this.modules[this.currentModuleIx||0];s&&s.terminate&&s.terminate(),this.currentModuleIx=0}i.focusElement&&(i.focusElement.removeFocusBorder(),delete i.focusElement),this.keyboardReset=!0}}onKeydown(t){let i,s=t||ze.event,r=this.modules&&this.modules.length&&this.modules[this.currentModuleIx],o=s.target;if((!o||o.nodeName!=="INPUT"||o.classList.contains("highcharts-a11y-proxy-element"))&&(this.keyboardReset=!1,this.exiting=!1,r)){let n=r.run(s);n===r.response.success?i=!0:n===r.response.prev?i=this.move(-1):n===r.response.next&&(i=this.move(1)),i&&(s.preventDefault(),s.stopPropagation())}}updateContainerTabindex(){let t,i=this.chart.options.accessibility,s=i&&i.keyboardNavigation,r=!(s&&s.enabled===!1),o=this.chart,n=o.container;o.renderTo.hasAttribute("tabindex")?(n.removeAttribute("tabindex"),t=o.renderTo):t=n,this.tabindexContainer=t;let a=t.getAttribute("tabindex");r&&!a?t.setAttribute("tabindex","0"):r||o.container.removeAttribute("tabindex")}createExitAnchor(){let t=this.chart,i=this.exitAnchor=Ct.createElement("div");t.renderTo.appendChild(i),this.makeElementAnExitAnchor(i)}makeElementAnExitAnchor(t){let i=this.tabindexContainer.getAttribute("tabindex")||0;t.setAttribute("class","highcharts-exit-anchor"),t.setAttribute("tabindex",i),t.setAttribute("aria-hidden",!1),this.addExitAnchorEventsToEl(t)}removeExitAnchor(){if(this.exitAnchor){let t=this.eventProvider.eventRemovers.find(i=>i.element===this.exitAnchor);t&&w(t.remover)&&this.eventProvider.removeEvent(t.remover),this.exitAnchor.parentNode&&this.exitAnchor.parentNode.removeChild(this.exitAnchor),delete this.exitAnchor}}addExitAnchorEventsToEl(t){let i=this.chart,s=this;this.eventProvider.addEvent(t,"focus",function(r){let o=r||ze.event,n=!(o.relatedTarget&&i.container.contains(o.relatedTarget)||s.exiting);if(i.focusElement&&delete i.focusElement,n){if(s.tabbingInBackwards=!0,s.tabindexContainer.focus(),delete s.tabbingInBackwards,o.preventDefault(),s.modules&&s.modules.length){s.currentModuleIx=s.modules.length-1;let a=s.modules[s.currentModuleIx];a&&a.validate&&!a.validate()?s.move(-1):a&&a.init(-1)}}else s.exiting=!1})}getFirstValidModuleIx(){let t=this.modules.length;for(let i=0;i<t;++i){let s=this.modules[i];if(!s.validate||s.validate())return i}return null}destroy(){this.removeExitAnchor(),this.eventProvider.removeAddedEvents(),this.chart.container.removeAttribute("tabindex")}}function Yi(){let e=this;F(this,"dismissPopupContent",{},function(){e.tooltip&&e.tooltip.hide(0),e.hideExportMenu()})}function _i(e){(e.which||e.keyCode)===27&&A().charts&&A().charts.forEach(t=>{t&&t.dismissPopupContent&&t.dismissPopupContent()})}(Wt||(Wt={})).compose=function(e){Ut.compose(e);let t=e.prototype;
1return!t.dismissPopupContent&&(t.dismissPopupContent=Yi,Ct&&y(Ct,"keydown",_i)),e};let qe=Wt;var Zi=S(632),Vt=S.n(Zi);let{animObject:$i}=A(),{doc:Qi}=A(),{getChartTitle:Ji}=R,{stripHTMLTagsFromString:Ke,addClass:ts,removeClass:es}=I;function Xt(e){let t=e.legend&&e.legend.allItems,i=e.options.legend.accessibility||{},s=e.colorAxis&&e.colorAxis.some(r=>!r.dataClasses||!r.dataClasses.length);return!!(t&&t.length&&!s&&i.enabled!==!1)}function jt(e,t){let i=t.legendItem||{};for(let s of(t.setState(e?"hover":"",!0),["group","label","symbol"])){let r=i[s],o=r&&r.element||r;o&&F(o,e?"mouseover":"mouseout")}}class Yt extends j{constructor(){super(...arguments),this.highlightedLegendItemIx=NaN,this.proxyGroup=null}init(){let t=this;this.recreateProxies(),this.addEvent(Vt(),"afterScroll",function(){this.chart===t.chart&&(t.proxyProvider.updateGroupProxyElementPositions("legend"),t.updateLegendItemProxyVisibility(),t.highlightedLegendItemIx>-1&&this.chart.highlightLegendItem(t.highlightedLegendItemIx))}),this.addEvent(Vt(),"afterPositionItem",function(i){this.chart===t.chart&&this.chart.renderer&&t.updateProxyPositionForItem(i.item)}),this.addEvent(Vt(),"afterRender",function(){this.chart===t.chart&&this.chart.renderer&&t.recreateProxies()&&ye(()=>t.proxyProvider.updateGroupProxyElementPositions("legend"),$i(T(this.chart.renderer.globalAnimation,!0)).duration)})}updateLegendItemProxyVisibility(){let t,i=this.chart,s=i.legend,r=s.allItems||[],o=s.currentPage||1,n=s.clipHeight||0;r.forEach(a=>{if(a.a11yProxyElement){let h=s.pages&&s.pages.length,l=a.a11yProxyElement.element,c=!1;if(t=a.legendItem||{},h){let d=t.pageIx||0;c=(t.y||0)+(t.label?Math.round(t.label.getBBox().height):0)-s.pages[d]>n||d!==o-1}c?i.styledMode?ts(l,"highcharts-a11y-invisible"):l.style.visibility="hidden":(es(l,"highcharts-a11y-invisible"),l.style.visibility="")}})}onChartRender(){Xt(this.chart)||this.removeProxies()}highlightAdjacentLegendPage(t){let i=this.chart,s=i.legend,r=(s.currentPage||1)+t,o=s.pages||[];if(r>0&&r<=o.length){let n=0;for(let a of s.allItems)((a.legendItem||{}).pageIx||0)+1===r&&i.highlightLegendItem(n)&&(this.highlightedLegendItemIx=n),++n}}updateProxyPositionForItem(t){t.a11yProxyElement&&t.a11yProxyElement.refreshPosition()}recreateProxies(){let t=Qi.activeElement,i=this.proxyGroup,s=t&&i&&i.contains(t);return this.removeProxies(),!!Xt(this.chart)&&(this.addLegendProxyGroup(),this.proxyLegendItems(),this.updateLegendItemProxyVisibility(),this.updateLegendTitle(),s&&this.chart.highlightLegendItem(this.highlightedLegendItemIx),!0)}removeProxies(){this.proxyProvider.removeGroup("legend")}updateLegendTitle(){let t=this.chart,i=Ke((t.legend&&t.legend.options.title&&t.legend.options.title.text||"").replace(/<br ?\/?>/g," "),t.renderer.forExport),s=t.langFormat("accessibility.legend.legendLabel"+(i?"":"NoTitle"),{chart:t,legendTitle:i,chartTitle:Ji(t)});this.proxyProvider.updateGroupAttrs("legend",{"aria-label":s})}addLegendProxyGroup(){let t=this.chart.options.accessibility.landmarkVerbosity==="all"?"region":null;this.proxyGroup=this.proxyProvider.addGroup("legend","ul",{"aria-label":"_placeholder_",role:t})}proxyLegendItems(){let t,i=this;((this.chart.legend||{}).allItems||[]).forEach(s=>{(t=s.legendItem||{}).label&&t.label.element&&i.proxyLegendItem(s)})}proxyLegendItem(t){let i=t.legendItem||{},s=t.legendItem?.label,r=s?.element,o=i.label?.styles?.textOverflow==="ellipsis";if(!i.label||!i.group)return;let n=this.chart.langFormat("accessibility.legend.legendItem",{chart:this.chart,itemName:Ke(t.name,this.chart.renderer.forExport),item:t}),a={tabindex:-1,"aria-pressed":t.visible,"aria-label":n,title:""};o&&(r.textContent||"").indexOf("\u2026")!==-1&&(a.title=s?.textStr);let h=i.group.div?i.label:i.group;t.a11yProxyElement=this.proxyProvider.addProxyElement("legend",{click:i.label,visual:h.element},"button",a)}getKeyboardNavigation(){let t=this.keyCodes,i=this,s=this.chart;return new V(s,{keyCodeMap:[[[t.left,t.right,t.up,t.down],function(r){return i.onKbdArrowKey(this,r)}],[[t.enter,t.space],function(){return i.onKbdClick(this)}],[[t.pageDown,t.pageUp],function(r){let o=r===t.pageDown?1:-1;return i.highlightAdjacentLegendPage(o),this.response.success}]],validate:function(){return i.shouldHaveLegendNavigation()},init:function(){s.highlightLegendItem(0),i.highlightedLegendItemIx=0},terminate:function(){i.highlightedLegendItemIx=-1,s.legend.allItems.forEac
1h(r=>jt(!1,r))}})}onKbdArrowKey(t,i){let{keyCodes:{left:s,up:r},highlightedLegendItemIx:o,chart:n}=this,a=n.legend.allItems.length,h=n.options.accessibility.keyboardNavigation.wrapAround,l=i===s||i===r?-1:1;return n.highlightLegendItem(o+l)?this.highlightedLegendItemIx+=l:h&&a>1&&(this.highlightedLegendItemIx=l>0?0:a-1,n.highlightLegendItem(this.highlightedLegendItemIx)),t.response.success}onKbdClick(t){let i=this.chart.legend.allItems[this.highlightedLegendItemIx];return i&&i.a11yProxyElement&&i.a11yProxyElement.click(),t.response.success}shouldHaveLegendNavigation(){if(!Xt(this.chart))return!1;let t=this.chart,i=(t.options.legend||{}).accessibility||{};return!!(t.legend.display&&i.keyboardNavigation&&i.keyboardNavigation.enabled)}destroy(){this.removeProxies()}}function is(e){let t=this.legend.allItems,i=this.accessibility&&this.accessibility.components.legend.highlightedLegendItemIx,s=t[e],r=s?.legendItem||{};if(s){var o;let n,a;L(i)&&t[i]&&jt(!1,t[i]),o=this.legend,n=(o.allItems[e].legendItem||{}).pageIx,a=o.currentPage,n!==void 0&&n+1!==a&&o.scroll(1+n-a);let h=r.label,l=s.a11yProxyElement&&s.a11yProxyElement.innerElement;return h&&h.element&&l&&this.setFocusToElement(h,l),jt(!0,s),!0}return!1}function ss(e){let t=this.chart.options.accessibility,i=e.item;t.enabled&&i&&i.a11yProxyElement&&i.a11yProxyElement.innerElement.setAttribute("aria-pressed",e.visible?"true":"false")}(Yt||(Yt={})).compose=function(e,t){let i=e.prototype;i.highlightLegendItem||(i.highlightLegendItem=is,y(t,"afterColorizeItem",ss))};let Ge=Yt;var rs=S(532),Ue=S.n(rs);let{isTouchDevice:We}=A(),ns=[];function os(){this.navigator&&this.navigator.setBaseSeries(null,!1)}function as(){let e,t,i,s=this.legend,r=this.navigator;if(r){e=s&&s.options,t=r.xAxis,i=r.yAxis;let{scrollbarHeight:o,scrollButtonSize:n}=r;this.inverted?(r.left=r.opposite?this.chartWidth-o-r.height:this.spacing[3]+o,r.top=this.plotTop+n):(r.left=T(t.left,this.plotLeft+n),r.top=r.navigatorOptions.top||this.chartHeight-r.height-o-(this.scrollbar?.options.margin||0)-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(e&&e.verticalAlign==="bottom"&&e.layout!=="proximate"&&e.enabled&&!e.floating?s.legendHeight+T(e.margin,10):0)-(this.titleOffset?this.titleOffset[2]:0)),t&&i&&(this.inverted?t.options.left=i.options.left=r.left:t.options.top=i.options.top=r.top,t.setAxisSize(),i.setAxisSize())}}function ls(e){!this.navigator&&!this.scroller&&(this.options.navigator.enabled||this.options.scrollbar.enabled)&&(this.scroller=this.navigator=new It(this),T(e.redraw,!0)&&this.redraw(e.animation))}function hs(){let e=this.options;(e.navigator.enabled||e.scrollbar.enabled)&&(this.scroller=this.navigator=new It(this))}function cs(){let e=this.options,t=e.navigator,i=e.rangeSelector;if((t&&t.enabled||i&&i.enabled)&&(!We&&this.zooming.type==="x"||We&&this.zooming.pinchType==="x"))return!1}function ds(e){let t=e.navigator;if(t&&e.xAxis[0]){let i=e.xAxis[0].getExtremes();t.render(i.min,i.max)}}function us(e){let t=e.options.navigator||{},i=e.options.scrollbar||{};!this.navigator&&!this.scroller&&(t.enabled||i.enabled)&&(B(!0,this.options.navigator,t),B(!0,this.options.scrollbar,i),delete e.options.navigator,delete e.options.scrollbar)}let ps=function(e,t){if(J(ns,e)){let i=e.prototype;It=t,i.callbacks.push(ds),y(e,"afterAddSeries",os),y(e,"afterSetChartSize",as),y(e,"afterUpdate",ls),y(e,"beforeRender",hs),y(e,"beforeShowResetZoom",cs),y(e,"update",us)}},{isTouchDevice:gs}=A();function ms(){this.navigatorAxis||(this.navigatorAxis=new _t(this))}function bs(e){let t,i=this.chart,s=i.options,r=s.navigator,o=this.navigatorAxis,n=i.zooming.pinchType,a=s.rangeSelector,h=i.zooming.type;if(this.isXAxis&&(r?.enabled||a?.enabled)){if(h==="y"&&e.trigger==="zoom")t=!1;else if((e.trigger==="zoom"&&h==="xy"||gs&&n==="xy")&&this.options.range){let l=o.previousZoom;w(e.min)?o.previousZoom=[this.min,this.max]:l&&(e.min=l[0],e.max=l[1],o.previousZoom=void 0)}}t!==void 0&&e.preventDefault()}class _t{static compose(t){t.keepProps.includes("navigatorAxis")||(t.keepProps.push("navigatorAxis"),y(t,"init",ms),y(t,"setExtremes",bs))}constructor(t){this.axis=t}destroy(){this.axis=void 0}toFixedRange(t,i,s,r){let o=this.axis,n=(o.pointRange||0)/2,a=T(s,o.translate(t,!0,!o.horiz)),h=T(r,o.translate(i,!0,!o.horiz));return w(s)||(a=O(a+n)),w(r)||(h=O(h-n)),L(a)&&L(h)||(a=h=void 0),{min:a,max:h}}}var fs=S(620),xs=S.n(fs),ys=S(512),Ve=S.n(ys);let{parse:vs}=xs(),{seriesTypes:ws}
1=Ve(),Es={height:40,margin:22,maskInside:!0,handles:{width:7,borderRadius:0,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:"#f2f2f2",borderColor:"#999999"},maskFill:vs("#667aff").setOpacity(.3).get(),outlineColor:"#999999",outlineWidth:1,series:{type:ws.areaspline===void 0?"line":"areaspline",fillOpacity:.05,lineWidth:1,compare:null,sonification:{enabled:!1},dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,marker:{enabled:!1},threshold:null},xAxis:{className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,gridLineColor:"#e6e6e6",id:"navigator-x-axis",gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:"#000000",fontSize:"0.7em",opacity:.6,textOutline:"2px contrast"},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,id:"navigator-y-axis",maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:void 0},tickLength:0,tickWidth:0}},As={"navigator-handle":function(e,t,i,s,r={}){var o,n,a,h,l,c,d;let p=r.width?r.width/2:i,u=(o=r.borderRadius||0,n=Math.min(2*p,s),/%$/.test(o)?n*parseFloat(o)/100+0:parseFloat(o));return[["M",-1.5,(s=r.height||s)/2-3.5],["L",-1.5,s/2+4.5],["M",.5,s/2-3.5],["L",.5,s/2+4.5],...(a=-p-1,h=.5,l=2*p+1,c=s,d={r:u},d?.r?(function(g,m,f,v,E){let b=E?.r||0;return[["M",g+b,m],["L",g+f-b,m],["A",b,b,0,0,1,g+f,m+b],["L",g+f,m+v-b],["A",b,b,0,0,1,g+f-b,m+v],["L",g+b,m+v],["A",b,b,0,0,1,g,m+v-b],["L",g,m+b],["A",b,b,0,0,1,g+b,m],["Z"]]})(a,.5,l,c,d):[["M",a,.5],["L",a+l,.5],["L",a+l,.5+c],["L",a,.5+c],["Z"]])]}};var Ts=S(608),Ms=S.n(Ts);let{defaultOptions:Cs}=A(),{composed:ks}=A(),{getRendererType:Ps}=Ms(),{setFixedRange:Ss}={setFixedRange:function(e){let t=this.xAxis[0];w(t.dataMax)&&w(t.dataMin)&&e?this.fixedRange=Math.min(e,t.dataMax-t.dataMin):this.fixedRange=e}};function Ds(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)}let Ns=function(e,t,i){_t.compose(t),J(ks,"Navigator")&&(e.prototype.setFixedRange=Ss,Y(Ps().prototype.symbols,As),Y(Cs,{navigator:Es}),y(i,"afterUpdate",Ds))},{composed:Bs}=A();(function(e){let t;function i(n){let a=T(n.options?.min,n.min),h=T(n.options?.max,n.max);return{axisMin:a,axisMax:h,scrollMin:w(n.dataMin)?Math.min(a,n.min??1/0,n.dataMin,n.threshold??1/0):a,scrollMax:n.treeGrid?.adjustedMax??(w(n.dataMax)?Math.max(h,n.max??-1/0,n.dataMax,n.threshold??-1/0):h)}}function s(){let n=this.scrollbar,a=n&&!n.options.opposite,h=this.horiz?2:a?3:1;n&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[h]+=n.size+(n.options.margin||0))}function r(){let n=this;n.options?.scrollbar?.enabled&&(n.options.scrollbar.vertical=!n.horiz,n.options.startOnTick=n.options.endOnTick=!1,n.scrollbar=new t(n.chart.renderer,n.options.scrollbar,n.chart),y(n.scrollbar,"changed",function(a){let h,l,{axisMin:c,axisMax:d,scrollMin:p,scrollMax:u}=i(n),g=n.toPixels(p),m=n.toPixels(u)-g;if(w(c)&&w(d))if(n.horiz&&!n.reversed||!n.horiz&&n.reversed?(h=Math.min(u,n.toValue(g+m*this.to)),l=Math.max(p,n.toValue(g+m*this.from))):(h=Math.min(u,n.toValue(g+m*(1-this.from))),l=Math.max(p,n.toValue(g+m*(1-this.to)))),this.shouldUpdateExtremes(a.DOMType)){let f=a.DOMType!=="mousemove"&&a.DOMType!=="touchmove"&&void 0;n.setExtremes(O(l),O(h),!0,f,a)}else this.setRange(this.from,this.to)}))}function o(){let n,a,h,{scrollMin:l,scrollMax:c}=i(this),d=this.scrollbar,p=(this.axisTitleMargin||0)+(this.titleOffset||0),u=this.chart.scrollbarsOffsets,g=this.options.margin||0;if(d&&u){if(this.horiz)this.opposite||(u[1]+=p),d.position(this.left,this.top+this.height+2+u[1]-(this.opposite?g:0),this.width,this.height),this.opposite||(u[1]+=g),n=1;else{let m;this.opposite&&(u[0]+=p),m=d.options.opposite?this.left+this.width+2+u[0]-(this.opposite?0:g):this.opposite?0:g,d.position(m,this.top,this.width,this.height),this.opposite&&(u[0]+=g),n=0}if(u[n]+=d.size+(d.options.margin||0),isNaN(l)||isNaN(c)||!w(this.min)||!w(this.max)||w(this.dataMin)&&this.dataMin===this.dataMax)d.setRange(0,1);else if(this.min===this.max){let m=this.pointRange/(this.dataMax+1);a=m*this.min,h=m*(this.max+1),d.setRange(a,h)}else a=(this.toPixels(this.min)-this.toPixels(l))/(this.toPixels(c)-this.toPixels(l)),h=(this.toPixels(this.max)-this.toPixels(l))/(this.toPixels(c)-this.toPixels(l)),this.horiz&&!this.reversed||!this.horiz&&this.reversed?d.setRange(a,h):d.setRange(1-h,1-a)}}e.compose=function(n,a){J(Bs,"Axis.Scrollbar")&&(t=a,y(n,"afterGetOffset",s),y(n,"afterInit",r),y(n,"afterRe
1nder",o))}})(Rt||(Rt={}));let Is=Rt,Zt={height:10,barBorderRadius:5,buttonBorderRadius:0,buttonsEnabled:!1,liveRedraw:void 0,margin:void 0,minWidth:6,opposite:!0,step:.2,zIndex:3,barBackgroundColor:"#cccccc",barBorderWidth:0,barBorderColor:"#cccccc",buttonArrowColor:"#333333",buttonBackgroundColor:"#e6e6e6",buttonBorderColor:"#cccccc",buttonBorderWidth:1,rifleColor:"none",trackBackgroundColor:"rgba(255, 255, 255, 0.001)",trackBorderColor:"#cccccc",trackBorderRadius:5,trackBorderWidth:1},{defaultOptions:Xe}=A(),{composed:Fs}=A(),Os=(()=>{class e{static compose(i){Is.compose(i,e),J(Fs,"Scrollbar")&&Y(Xe,{scrollbar:Zt})}static swapXY(i,s){return s&&i.forEach(r=>{let o,n=r.length;for(let a=0;a<n;a+=2)typeof(o=r[a+1])=="number"&&(r[a+1]=r[a+2],r[a+2]=o)}),i}constructor(i,s,r){this._events=[],this.chartX=0,this.chartY=0,this.from=0,this.scrollbarButtons=[],this.scrollbarLeft=0,this.scrollbarStrokeWidth=1,this.scrollbarTop=0,this.size=0,this.to=0,this.trackBorderWidth=1,this.x=0,this.y=0,this.init(i,s,r)}addEvents(){let i=this.options.inverted?[1,0]:[0,1],s=this.scrollbarButtons,r=this.scrollbarGroup.element,o=this.track.element,n=this.mouseDownHandler.bind(this),a=this.mouseMoveHandler.bind(this),h=this.mouseUpHandler.bind(this),l=[[s[i[0]].element,"click",this.buttonToMinClick.bind(this)],[s[i[1]].element,"click",this.buttonToMaxClick.bind(this)],[o,"click",this.trackClick.bind(this)],[r,"mousedown",n],[r.ownerDocument,"mousemove",a],[r.ownerDocument,"mouseup",h],[r,"touchstart",n],[r.ownerDocument,"touchmove",a],[r.ownerDocument,"touchend",h]];l.forEach(function(c){y.apply(null,c)}),this._events=l}buttonToMaxClick(i){let s=(this.to-this.from)*T(this.options.step,.2);this.updatePosition(this.from+s,this.to+s),F(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:i})}buttonToMinClick(i){let s=O(this.to-this.from)*T(this.options.step,.2);this.updatePosition(O(this.from-s),O(this.to-s)),F(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:i})}cursorToScrollbarPosition(i){let s=this.options,r=s.minWidth>this.calculatedWidth?s.minWidth:0;return{chartX:(i.chartX-this.x-this.xOffset)/(this.barWidth-r),chartY:(i.chartY-this.y-this.yOffset)/(this.barWidth-r)}}destroy(){let i=this,s=i.chart.scroller;i.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(r){i[r]&&i[r].destroy&&(i[r]=i[r].destroy())}),s&&i===s.scrollbar&&(s.scrollbar=null,fe(s.scrollbarButtons))}drawScrollbarButton(i){let s=this.renderer,r=this.scrollbarButtons,o=this.options,n=this.size,a=s.g().add(this.group);if(r.push(a),o.buttonsEnabled){let h=s.rect().addClass("highcharts-scrollbar-button").add(a);this.chart.styledMode||h.attr({stroke:o.buttonBorderColor,"stroke-width":o.buttonBorderWidth,fill:o.buttonBackgroundColor}),h.attr(h.crisp({x:-.5,y:-.5,width:n,height:n,r:o.buttonBorderRadius},h.strokeWidth()));let l=s.path(e.swapXY([["M",n/2+(i?-1:1),n/2-3],["L",n/2+(i?-1:1),n/2+3],["L",n/2+(i?2:-2),n/2]],o.vertical)).addClass("highcharts-scrollbar-arrow").add(r[i]);this.chart.styledMode||l.attr({fill:o.buttonArrowColor})}}init(i,s,r){this.scrollbarButtons=[],this.renderer=i,this.userOptions=s,this.options=B(Zt,Xe.scrollbar,s),this.options.margin=T(this.options.margin,10),this.chart=r,this.size=T(this.options.size,this.options.height),s.enabled&&(this.render(),this.addEvents())}mouseDownHandler(i){let s=this.chart.pointer?.normalize(i)||i,r=this.cursorToScrollbarPosition(s);this.chartX=r.chartX,this.chartY=r.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0}mouseMoveHandler(i){let s,r=this.chart.pointer?.normalize(i)||i,o=this.options.vertical?"chartY":"chartX",n=this.initPositions||[];this.grabbedCenter&&(!i.touches||i.touches[0][o]!==0)&&(s=this.cursorToScrollbarPosition(r)[o]-this[o],this.hasDragged=!0,this.updatePosition(n[0]+s,n[1]+s),this.hasDragged&&F(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:i.type,DOMEvent:i}))}mouseUpHandler(i){this.hasDragged&&F(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:i.type,DOMEvent:i}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null}position(i,s,r,o){let{buttonsEnabled:n,margin:a=0,vertical:h}=this.options,l=this.rendered?"animate":"attr",c=o,d=0;this.group.show(),this.x=i,this.y=s+this.trackBorderWidth,this.width=r,this.height=o,this.xOffset=c,this.yOffset=d,h?(this.width=this.yOffset=r=d=this.size,this.xOffset=c=0,this.yOffset=d=n?this.size:0,this.barWidth=o-(n?2*r:0),this.x=i+=a):(this.height=o=this.size,this.xOffset=c=n?this.size:0,this.barWidth=r-(n?2*o:0),this.y=this.y+a),this.group[l]({translateX:i,translateY:this.y}),this.track[l]({width:r,height:o}),this.scrollbarButtons[1][l]({translateX:h?0:r-c,translateY:h?o-d:0})}
vendor: 4,254 bytes, line 1
1removeEvents(){this._events.forEach(function(i){tt.apply(null,i)}),this._events.length=0}render(){let i=this.renderer,s=this.options,r=this.size,o=this.chart.styledMode,n=i.g("scrollbar").attr({zIndex:s.zIndex}).hide().add();this.group=n,this.track=i.rect().addClass("highcharts-scrollbar-track").attr({r:s.trackBorderRadius||0,height:r,width:r}).add(n),o||this.track.attr({fill:s.trackBackgroundColor,stroke:s.trackBorderColor,"stroke-width":s.trackBorderWidth});let a=this.trackBorderWidth=this.track.strokeWidth();this.track.attr({x:-ut(0,a),y:-ut(0,a)}),this.scrollbarGroup=i.g().add(n),this.scrollbar=i.rect().addClass("highcharts-scrollbar-thumb").attr({height:r-a,width:r-a,r:s.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=i.path(e.swapXY([["M",-3,r/4],["L",-3,2*r/3],["M",0,r/4],["L",0,2*r/3],["M",3,r/4],["L",3,2*r/3]],s.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),o||(this.scrollbar.attr({fill:s.barBackgroundColor,stroke:s.barBorderColor,"stroke-width":s.barBorderWidth}),this.scrollbarRifles.attr({stroke:s.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-ut(0,this.scrollbarStrokeWidth),-ut(0,this.scrollbarStrokeWidth)),this.drawScrollbarButton(0),this.drawScrollbarButton(1)}setRange(i,s){let r,o,n=this.options,a=n.vertical,h=n.minWidth,l=this.barWidth,c=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(!w(l))return;let d=l*Math.min(s,1);r=Math.ceil(l*(i=Math.max(i,0))),this.calculatedWidth=o=O(d-r),o<h&&(r=(l-h+o)*i,o=h);let p=Math.floor(r+this.xOffset+this.yOffset),u=o/2-.5;this.from=i,this.to=s,a?(this.scrollbarGroup[c]({translateY:p}),this.scrollbar[c]({height:o}),this.scrollbarRifles[c]({translateY:u}),this.scrollbarTop=p,this.scrollbarLeft=0):(this.scrollbarGroup[c]({translateX:p}),this.scrollbar[c]({width:o}),this.scrollbarRifles[c]({translateX:u}),this.scrollbarLeft=p,this.scrollbarTop=0),o<=12?this.scrollbarRifles.hide():this.scrollbarRifles.show(),n.showFull===!1&&(i<=0&&s>=1?this.group.hide():this.group.show()),this.rendered=!0}shouldUpdateExtremes(i){return T(this.options.liveRedraw,A().svg&&!A().isTouchDevice&&!this.chart.boosted)||i==="mouseup"||i==="touchend"||!w(i)}trackClick(i){let s=this.chart.pointer?.normalize(i)||i,r=this.to-this.from,o=this.y+this.scrollbarTop,n=this.x+this.scrollbarLeft;this.options.vertical&&s.chartY>o||!this.options.vertical&&s.chartX>n?this.updatePosition(this.from+r,this.to+r):this.updatePosition(this.from-r,this.to-r),F(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:i})}update(i){this.destroy(),this.init(this.chart.renderer,B(!0,this.options,i),this.chart)}updatePosition(i,s){s>1&&(i=O(1-O(s-i)),s=1),i<0&&(s=O(s-i),i=0),this.from=i,this.to=s}}return e.defaultOptions=Zt,e})(),{defaultOptions:$t}=A(),{isTouchDevice:Rs}=A();function kt(e,...t){let i=[].filter.call(t,L);if(i.length)return Math[e].apply(0,i)}class Qt{static compose(t,i,s){ps(t,Qt),Ns(t,i,s)}constructor(t){this.isDirty=!1,this.scrollbarHeight=0,this.init(t)}drawHandle(t,i,s,r){let o=this.navigatorOptions.handles.height;this.handles[i][r](s?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(t,10)+.5-o)}:{translateX:Math.round(this.left+parseInt(t,10)),translateY:Math.round(this.top+this.height/2-o/2-1)})}drawOutline(t,i,s,r){let o=this.navigatorOptions.maskInside,n=this.outline.strokeWidth(),a=n/2,h=n%2/2,l=this.scrollButtonSize,c=this.size,d=this.top,p=this.height,u=d-a,g=d+p,m=this.left,f,v;s?(f=d+i+h,i=d+t+h,v=[["M",m+p,d-l-h],["L",m+p,f],["L",m,f],["M",m,i],["L",m+p,i],["L",m+p,d+c+l]],o&&v.push(["M",m+p,f-a],["L",m+p,i+a])):(m-=l,t+=m+l-h,i+=m+l-h,v=[["M",m,u],["L",t,u],["L",t,g],["M",i,g],["L",i,u],["L",m+c+2*l,u]],o&&v.push(["M",t-a,u],["L",i+a,u])),this.outline[r]({d:v})}drawMasks(t,i,s,r){let o,n,a,h,l=this.left,c=this.top,d=this.height;s?(a=[l,l,l],h=[c,c+t,c+i],n=[d,d,d],o=[t,i-t,this.size-i]):(a=[l,l+t,l+i],h=[c,c,c],n=[t,i-t,this.size-i],o=[d,d,d]),this.shades.forEach((p,u)=>{p[r]({x:a[u],y:h[u],width:n[u],height:o[u]})})}renderElements(){let t=this,i=t.navigatorOptions,s=i.maskInside,r=t.chart,o=r.inverted,n=r.renderer,a={curs
1or:o?"ns-resize":"ew-resize"},h=t.navigatorGroup??(t.navigatorGroup=n.g("navigator").attr({zIndex:8,visibility:"hidden"}).add());if([!s,s,!s].forEach((l,c)=>{let d=t.shades[c]??(t.shades[c]=n.rect().addClass("highcharts-navigator-mask"+(c===1?"-inside":"-outside")).add(h));r.styledMode||(d.attr({fill:l?i.maskFill:"rgba(0,0,0,0)"}),c===1&&d.css(a))}),t.outline||(t.outline=n.path().addClass("highcharts-navigator-outline").add(h)),r.styledMode||t.outline.attr({"stroke-width":i.outlineWidth,stroke:i.outlineColor}),i.handles?.enabled){let l=!1,c=i.handles,{height:d,width:p}=c;[0,1].forEach(u=>{let g=c.symbols[u];(l=l||t.handles[u]?.symbolName!==g)&&(t.handles[u]?.destroy(),t.handles[u]=n.symbol(g,-p/2-1,0,p,d,c),t.handles[u].attr({zIndex:7-u}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][u]).add(h)),r.inverted&&t.handles[u].attr({rotation:90,rotationOriginX:Math.floor(-p/2),rotationOriginY:(d+p)/2}),r.styledMode||t.handles[u].attr({fill:c.backgroundColor,stroke:c.borderColor,"stroke-width":c.lineWidth,width:c.width,height:c.height,x:-p/2-1,y:0}).css(a)}),l&&(t.partsEventsToUnbind?.forEach(u=>{u()}),t.partsEventsToUnbind=[...t.getPartsEvents("mousedown"),...t.getPartsEvents("touchstart")])}}update(t,i=!1){let s=this.chart,r=s.options.chart.inverted!==s.scrollbar?.options.vertical;if(B(!0,s.options.navigator,t),this.navigatorOptions=s.options.navigator||{},this.setOpposite(),w(t.enabled)||r)return this.destroy(),this.navigatorEnabled=t.enabled||this.navigatorEnabled,this.init(s);if(this.navigatorEnabled&&(this.isDirty=!0,t.adaptToUpdatedData===!1&&this.baseSeries.forEach(o=>{tt(o,"updatedData",this.updatedDataHandler)},this),t.adaptToUpdatedData&&this.baseSeries.forEach(o=>{o.eventsToUnbind.push(y(o,"updatedData",this.updatedDataHandler))},this),(t.series||t.baseSeries)&&this.setBaseSeries(void 0,!1),t.height||t.xAxis||t.yAxis)){this.height=t.height??this.height;let o=this.getXAxisOffsets();this.xAxis.update(Bt(Nt({},t.xAxis),{offsets:o,[s.inverted?"width":"height"]:this.height,[s.inverted?"height":"width"]:void 0}),!1),this.yAxis.update(Bt(Nt({},t.yAxis),{[s.inverted?"width":"height"]:this.height}),!1)}i&&s.redraw()}render(t,i,s,r){let o=this.chart,n=this.xAxis,a=n.pointRange||0,h=n.navigatorAxis.fake?o.xAxis[0]:n,l=this.navigatorEnabled,c=this.rendered,d=o.inverted,p=o.xAxis[0].minRange,u=o.xAxis[0].options.maxRange,g=this.scrollButtonSize,m,f,v,E=this.scrollbarHeight,b,x;if(this.hasDragged&&!w(s))return;if(this.isDirty&&this.renderElements(),t=O(t-a/2),i=O(i+a/2),!L(t)||!L(i))if(c)s=0,r=T(n.width,h.width);else return;this.left=T(n.left,o.plotLeft+g+(d?o.plotWidth:0));let C=this.size=b=T(n.len,(d?o.plotHeight:o.plotWidth)-2*g);m=d?E:b+2*g,s=T(s,n.toPixels(t,!0)),r=T(r,n.toPixels(i,!0)),L(s)&&Math.abs(s)!==1/0||(s=0,r=m);let P=n.toValue(s,!0),D=n.toValue(r,!0),M=Math.abs(O(D-P));w(p)&&M<p?this.grabbedLeft?s=n.toPixels(D-p-a,!0):this.grabbedRight&&(r=n.toPixels(P+p+a,!0)):w(u)&&O(M-a)>u&&(this.grabbedLeft?s=n.toPixels(D-u-a,!0):this.grabbedRight&&(r=n.toPixels(P+u+a,!0))),this.zoomedMax=Ht(Math.max(s,r),0,C),this.zoomedMin=Ht(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(s,r),0,C),this.range=this.zoomedMax-this.zoomedMin,C=Math.round(this.zoomedMax);let N=Math.round(this.zoomedMin);l&&(this.navigatorGroup.attr({visibility:"inherit"}),x=c&&!this.hasDragged?"animate":"attr",this.drawMasks(N,C,d,x),this.drawOutline(N,C,d,x),this.navigatorOptions.handles?.enabled&&(this.drawHandle(N,0,d,x),this.drawHandle(C,1,d,x))),this.scrollbar&&(d?(v=this.top-g,f=this.left-E+(l||!h.opposite?0:(h.titleOffset||0)+h.axisTitleMargin),E=b+2*g):(v=this.top+(l?this.height:-E),f=this.left-g),this.scrollbar.position(f,v,m,E),this.scrollbar.setRange(this.zoomedMin/(b||1),this.zoomedMax/(b||1))),this.rendered=!0,this.isDirty=!1,F(this,"afterRender")}addMouseEvents(){let t,i,s=this,r=s.chart,o=r.container,n=[];s.mouseMoveHandler=t=function(a){s.onMouseMove(a)},s.mouseUpHandler=i=function(a){s.onMouseUp(a)},n.push(y(r.renderTo,"mousemove",t),y(o.ownerDocument,"mouseup",i),y(r.renderTo,"touchmove",t),y(o.ownerDocument,"touchend",i)),s.eventsToUnbind=n,s.series&&s.series[0]&&n.push(y(s.series[0].xAxis,"foundExtremes",function(){r.navigator?.modifyNavigatorAxisExtremes()}))}getPartsEvents(t){let i=this,s=[];return["shades","handles"].forEach(r=>{i[r].forEach(function(o,n){s.push(y(o.element,t,function(a){i[`${r}Mousedown`](a,n)}))})}),s}shadesMousedown(t,i){t=this.chart.pointer?.normalize(t)||t;let s=this.chart,r=this.xAxis,o=this.zoomedMin,n=this.size,a=this.range,h=this.left,l=t.chartX,c,d,p,u;s.inverted&&(l=t.chartY,h=this.top),i===1?(this.grabbedCenter=l,this.fixedWidth=a,this.dragOffset=l-o):(u=l-h-a/2,i===0?u=Math.max(0,u):i===2&&u+a>
1=n&&(u=n-a,this.reversedExtremes?(u-=a,d=this.getUnionExtremes()?.dataMin):c=this.getUnionExtremes()?.dataMax),u!==o&&(this.fixedWidth=a,w((p=r.navigatorAxis.toFixedRange(u,u+a,d,c)).min)&&F(this,"setRange",{min:Math.min(p.min,p.max),max:Math.max(p.min,p.max),redraw:!0,eventArguments:{trigger:"navigator"}})))}handlesMousedown(t,i){t=this.chart.pointer?.normalize(t)||t;let s=this.chart,r=s.xAxis[0],o=this.reversedExtremes;i===0?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=o?r.min:r.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=o?r.max:r.min),s.setFixedRange(void 0)}onMouseMove(t){let i=this,s=i.chart,r=i.navigatorSize,o=i.range,n=i.dragOffset,a=s.inverted,h=i.left,l;(!t.touches||t.touches[0].pageX!==0)&&(l=(t=s.pointer?.normalize(t)||t).chartX,a&&(h=i.top,l=t.chartY),i.grabbedLeft?(i.hasDragged=!0,i.render(0,0,l-h,i.otherHandlePos)):i.grabbedRight?(i.hasDragged=!0,i.render(0,0,i.otherHandlePos,l-h)):i.grabbedCenter&&n&&(i.hasDragged=!0,l<n?l=n:l>r+n-o&&(l=r+n-o),i.render(0,0,l-n,l-n+o)),i.hasDragged&&T(i.scrollbarOptions?.liveRedraw,!Rs&&!this.chart.boosted)&&(t.DOMType=t.type,setTimeout(function(){i.onMouseUp(t)},0)))}onMouseUp(t){let i,s,r,o,n,a,h=this.chart,l=this.xAxis,c=this.scrollbar,d=t.DOMEvent||t,p=h.inverted,u=this.rendered&&!this.hasDragged?"animate":"attr";(this.hasDragged&&(!c||!c.hasDragged)||t.trigger==="scrollbar")&&(r=this.getUnionExtremes(),this.zoomedMin===this.otherHandlePos?o=this.fixedExtreme:this.zoomedMax===this.otherHandlePos&&(n=this.fixedExtreme),this.zoomedMax===this.size&&(n=this.reversedExtremes?r.dataMin:r.dataMax),this.zoomedMin===0&&(o=this.reversedExtremes?r.dataMax:r.dataMin),w((a=l.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,o,n)).min)&&F(this,"setRange",{min:Math.min(a.min,a.max),max:Math.max(a.min,a.max),redraw:!0,animation:!this.hasDragged&&null,eventArguments:{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:d}})),t.DOMType!=="mousemove"&&t.DOMType!=="touchmove"&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null),this.navigatorEnabled&&L(this.zoomedMin)&&L(this.zoomedMax)&&(s=Math.round(this.zoomedMin),i=Math.round(this.zoomedMax),this.shades&&this.drawMasks(s,i,p,u),this.outline&&this.drawOutline(s,i,p,u),this.navigatorOptions.handles?.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(s,0,p,u),this.drawHandle(i,1,p,u)))}removeEvents(){this.eventsToUnbind?.forEach(t=>{t()}),this.eventsToUnbind=void 0,this.removeBaseSeriesEvents()}removeBaseSeriesEvents(){let t=this.baseSeries||[];this.navigatorEnabled&&t[0]&&(this.navigatorOptions.adaptToUpdatedData!==!1&&t.forEach(function(i){tt(i,"updatedData",this.updatedDataHandler)},this),t[0].xAxis&&tt(t[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))}getXAxisOffsets(){return this.chart.inverted?[this.scrollButtonSize,0,-this.scrollButtonSize,0]:[0,-this.scrollButtonSize,0,this.scrollButtonSize]}init(t){let i=t.options,s=i.navigator||{},r=s.enabled,o=i.scrollbar||{},n=o.enabled,a=r&&s.height||0,h=n&&o.height||0,l=o.buttonsEnabled&&h||0;this.handles=[],this.shades=[],this.chart=t,this.setBaseSeries(),this.height=a,this.scrollbarHeight=h,this.scrollButtonSize=l,this.scrollbarEnabled=n,this.navigatorEnabled=!!r,this.navigatorOptions=s,this.scrollbarOptions=o,this.setOpposite();let c=this,d=c.baseSeries,p=t.xAxis.length,u=t.yAxis.length,g=d&&d[0]&&d[0].xAxis||t.xAxis[0]||{options:{}};if(t.isDirtyBox=!0,c.navigatorEnabled){let m=this.getXAxisOffsets();c.xAxis=new(Ue())(t,B({breaks:g.options.breaks,ordinal:g.options.ordinal,overscroll:g.options.overscroll},s.xAxis,{type:"datetime",yAxis:s.yAxis?.id,index:p,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:g.options.ordinal?0:g.options.minPadding,maxPadding:g.options.ordinal?0:g.options.maxPadding,zoomEnabled:!1},t.inverted?{offsets:m,width:a}:{offsets:m,height:a}),"xAxis"),c.yAxis=new(Ue())(t,B(s.yAxis,{alignTicks:!1,offset:0,index:u,isInternal:!0,reversed:T(s.yAxis&&s.yAxis.reversed,t.yAxis[0]&&t.yAxis[0].reversed,!1),zoomEnabled:!1},t.inverted?{width:a}:{height:a}),"yAxis"),d||s.series?.data?c.updateNavigatorSeries(!1):t.series.length===0&&(c.unbindRedraw=y(t,"beforeRedraw",function(){t.series.length>0&&!c.series&&(c.setBaseSeries(),c.unbindRedraw?.())})),c.reversedExtremes=t.inverted&&!c.xAxis.reversed||!t.inverted&&c.xAxis.reversed,c.renderElements(),c.addMouseEvents()}else c.xAxis={chart:t,navigatorAxis:{fake:!0},translate:function(m,f){let v=t.xAxis[0],E=v.getExtremes(),b=v.len-2*l,x=kt("min",v.options.min,E.dataMin),C=kt("max",v.options.max,E.dataMax)-x;return f?m*C/b+x:b*(m-x)/C},toPixels:function(m){return this.translate(m)},toValue:function(m){return this.translate(m,!0)}},c.xAxis.navigatorAxis.axis=c.xAxis,c.xAxis.navigatorAxis.toFixedRange=_t.prototype.toFixedRange.bind(c.xAxis.navigatorAxis);if(t.options.scrollbar?.enabled){let m=B(t.options.scrollbar,{vertical:t.inverted});L(m.margin)||(m.margin=t.inverted?-3:3),t.scrollbar=c.scrollbar=new Os(t.renderer,m,t),y(c.scrollbar,"changed",function(f){let v=c.size,E=v*this.to,b=v*this.from;c.hasDragged=c.scrollbar?.hasDragged,c.render(0,0,b,E),this.shouldUpdateExtremes(f.DOMType)&&setTimeout(function(){c.onMouseUp(f)})})}c.addBaseSeriesEvents(),c.addChartEvents()}setOpposite(){let t=this.navigatorOptions,i=this.navigatorEnabled,s=this.chart;this.opposite=T(t.opposite,!!(!i&&s.inverted))}getUnionExtremes(t){let i,s=this.chart.xAxis[0],r=this.chart.time,o=this.xAxis,n=o.options,a=s.options;return t&&s.dataMin===null||(i={dataMin:T(r.parse(n?.min),kt("min",r.parse(a.min),s.dataMin,o.dataMin,o.min)),dataMax:T(r.parse(n?.max),kt("max",r.parse(a.max),s.dataMax,o.dataMax,o.max))}),i}setBaseSeries(t,i){let s=this.chart,r=this.baseSeries=[];t=t||s.options.navigator?.baseSeries||(s.series.length?it(s.series,o=>
1!o.options.isInternal).index:0),(s.series||[]).forEach((o,n)=>{!o.options.isInternal&&(o.options.showInNavigator||(n===t||o.options.id===t)&&o.options.showInNavigator!==!1)&&r.push(o)}),this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,i)}updateNavigatorSeries(t,i){let s=this,r=s.chart,o=s.baseSeries,n={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,xAxis:this.navigatorOptions.xAxis?.id,yAxis:this.navigatorOptions.yAxis?.id,showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},a=s.series=(s.series||[]).filter(u=>{let g=u.baseSeries;return!(g&&0>o.indexOf(g))||(g&&(tt(g,"updatedData",s.updatedDataHandler),delete g.navigatorSeries),u.chart&&u.destroy(),!1)}),h,l,c=s.navigatorOptions.series,d;if(o&&o.length&&o.forEach(u=>{var g;let m=u.navigatorSeries,f=Y({color:u.color,visible:u.visible},st(c)?$t.navigator.series:c);if(m&&s.navigatorOptions.adaptToUpdatedData===!1)return;n.name="Navigator "+o.length,d=(h=u.options||{}).navigatorOptions||{},f.dataLabels=st(g=f.dataLabels)?g:[g],(l=B(h,n,f,d)).pointRange=T(f.pointRange,d.pointRange,$t.plotOptions[l.type||"line"]?.pointRange);let v=d.data||f.data;s.hasNavigatorData=s.hasNavigatorData||!!v,l.data=v||h.data?.slice(0),m&&m.options?m.update(l,i):(u.navigatorSeries=r.initSeries(l),r.setSortedData(),u.navigatorSeries.baseSeries=u,a.push(u.navigatorSeries))}),c?.data&&!(o&&o.length)||st(c)){var p;s.hasNavigatorData=!1,(c=st(p=c)?p:[p]).forEach((u,g)=>{n.name="Navigator "+(a.length+1),(l=B($t.navigator?.series,{color:r.series[g]&&!r.series[g].options.isInternal&&r.series[g].color||r.options.colors?.[g]||r.options.colors?.[0]},n,u)).data=u.data,l.data&&(s.hasNavigatorData=!0,a.push(r.initSeries(l)))})}t&&this.addBaseSeriesEvents()}addBaseSeriesEvents(){let t=this,i=t.baseSeries||[];i[0]&&i[0].xAxis&&i[0].eventsToUnbind.push(y(i[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes)),i.forEach(s=>{s.eventsToUnbind.push(y(s,"show",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)})),s.eventsToUnbind.push(y(s,"hide",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)})),this.navigatorOptions.adaptToUpdatedData!==!1&&s.xAxis&&s.eventsToUnbind.push(y(s,"updatedData",this.updatedDataHandler)),s.eventsToUnbind.push(y(s,"remove",function(){i&&Q(i,s),this.navigatorSeries&&t.series&&(Q(t.series,this.navigatorSeries),w(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)}))})}getBaseSeriesMin(t){return this.baseSeries.reduce(function(i,s){return Math.min(i,s.getColumn("x")[0]??i)},t)}modifyNavigatorAxisExtremes(){let t=this.xAxis;if(t.getExtremes!==void 0){let i=this.getUnionExtremes(!0);i&&(i.dataMin!==t.min||i.dataMax!==t.max)&&(t.min=i.dataMin,t.max=i.dataMax)}}modifyBaseAxisExtremes(){let t,i,s=this.chart.navigator,r=this.getExtremes(),o=r.min,n=r.max,a=r.dataMin,h=r.dataMax,l=n-o,c=s?.stickToMin,d=s?.stickToMax,p=T(this.ordinal?.convertOverscroll(this.options.overscroll),0),u=s.series&&s.series[0],g=!!this.setExtremes;!(this.eventArgs&&this.eventArgs.trigger==="rangeSelectorButton")&&(c&&(t=(i=a)+l),d&&(t=h+p,c||(i=Math.max(a,t-l,s.getBaseSeriesMin(u&&u.xData?u.xData[0]:-Number.MAX_VALUE)))),g&&(c||d)&&L(i)&&(this.min=this.userMin=i,this.max=this.userMax=t)),s.stickToMin=s.stickToMax=null}updatedDataHandler(){let t=this.chart.navigator,i=this.navigatorSeries,s=t.reversedExtremes?Math.round(t.zoomedMin)===0:Math.round(t.zoomedMax)>=Math.round(t.size);t.stickToMax=T(this.chart.options.navigator&&this.chart.options.navigator.stickToMax,s),t.stickToMin=t.shouldStickToMin(this,t),i&&!t.hasNavigatorData&&(i.options.pointStart=this.getColumn("x")[0],i.setData(this.options.data,!1,void 0,!1))}shouldStickToMin(t,i){let s=i.getBaseSeriesMin(t.getColumn("x")[0]),r=t.xAxis,o=r.max,n=r.min,a=r.options.range;return!!(L(o)&&L(n))&&(a&&o-s>0?o-s<a:n<=s)}addChartEvents(){this.eventsToUnbind||(this.eventsToUnbind=[]),this.eventsToUnbind.push(y(this.chart,"redraw",function(){let t=this.navigator,i=t&&(t.baseSeries&&t.baseSeries[0]&&t.baseSeries[0].xAxis||this.xAxis[0]);i&&t.render(i.min,i.max)}),y(this.chart,"getMargins",function(){let t=this.navigator,i=t.opposite?"plotTop":"marginBottom";this.inverted&&(i=t.opposite?"marginRight":"plotLeft"),this[i]=(this[i]||0)+(t.navigatorEnabled||!this.inverted?t.he
1ight+(this.scrollbar?.options.margin||0)+t.scrollbarHeight:0)+(t.navigatorOptions.margin||0)}),y(this,"setRange",function(t){this.chart.xAxis[0].setExtremes(t.min,t.max,t.redraw,t.animation,t.eventArguments)}))}destroy(){this.removeEvents(),this.xAxis&&(Q(this.chart.xAxis,this.xAxis),Q(this.chart.axes,this.xAxis)),this.yAxis&&(Q(this.chart.yAxis,this.yAxis),Q(this.chart.axes,this.yAxis)),(this.series||[]).forEach(t=>{t.destroy&&t.destroy()}),["series","xAxis","yAxis","shades","outline","scrollbarTrack","scrollbarRifles","scrollbarGroup","scrollbar","navigatorGroup","rendered"].forEach(t=>{this[t]&&this[t].destroy&&this[t].destroy(),this[t]=null}),[this.handles].forEach(t=>{fe(t)}),this.baseSeries.forEach(t=>{t.navigatorSeries=void 0}),this.navigatorEnabled=!1}}let{animObject:Ls}=A(),{format:Jt}=xt(),{getFakeMouseEvent:Hs}=I,{getAxisRangeDescription:zs,fireEventOnWrappedOrUnwrappedElement:qs}=R,Ks=class extends j{init(){let e=this.chart,t=this;this.announcer=new wt(e,"polite"),this.addEvent(Qt,"afterRender",function(){this.chart===t.chart&&this.chart.renderer&&ye(()=>{t.proxyProvider.updateGroupProxyElementPositions("navigator"),t.updateHandleValues()},Ls(T(this.chart.renderer.globalAnimation,!0)).duration)})}onChartUpdate(){let e=this.chart,t=e.options,i=t.navigator;if(i.enabled&&i.accessibility?.enabled){let s=t.accessibility.landmarkVerbosity,r=t.lang.accessibility?.navigator.groupLabel;this.proxyProvider.removeGroup("navigator"),this.proxyProvider.addGroup("navigator","div",{role:s==="all"?"region":"group","aria-label":Jt(r,{chart:e},e)});let o=t.lang.accessibility?.navigator.handleLabel;[0,1].forEach(n=>{let a=this.getHandleByIx(n);if(a){let h=this.proxyProvider.addProxyElement("navigator",{click:a},"input",{type:"range","aria-label":Jt(o,{handleIx:n,chart:e},e)});this[n?"maxHandleProxy":"minHandleProxy"]=h.innerElement,h.innerElement.style.pointerEvents="none",h.innerElement.oninput=()=>this.updateNavigator()}}),this.updateHandleValues()}else this.proxyProvider.removeGroup("navigator")}getNavigatorHandleNavigation(e){let t=this,i=this.chart,s=e?this.maxHandleProxy:this.minHandleProxy,r=this.keyCodes;return new V(i,{keyCodeMap:[[[r.left,r.right,r.up,r.down],function(o){if(s){let n=o===r.left||o===r.up?-1:1;s.value=""+Ht(parseFloat(s.value)+n,0,100),t.updateNavigator(()=>{let a=t.getHandleByIx(e);a&&i.setFocusToElement(a,s)})}return this.response.success}]],init:()=>{i.setFocusToElement(this.getHandleByIx(e),s)},validate:()=>!!(this.getHandleByIx(e)&&s&&i.options.navigator.accessibility?.enabled)})}getKeyboardNavigation(){return[this.getNavigatorHandleNavigation(0),this.getNavigatorHandleNavigation(1)]}destroy(){this.updateNavigatorThrottleTimer&>(this.updateNavigatorThrottleTimer),this.proxyProvider.removeGroup("navigator"),this.announcer&&this.announcer.destroy()}updateHandleValues(){let e=this.chart.navigator;if(e&&this.minHandleProxy&&this.maxHandleProxy){let t=e.size;this.minHandleProxy.value=""+Math.round(e.zoomedMin/t*100),this.maxHandleProxy.value=""+Math.round(e.zoomedMax/t*100)}}getHandleByIx(e){let t=this.chart.navigator;return t&&t.handles&&t.handles[e]}updateNavigator(e){let t=i=>{let s=this.chart,{navigator:r,pointer:o}=s,n=this.chart.accessibility?.keyboardNavigation;if(r&&o&&this.minHandleProxy&&this.maxHandleProxy){let a=o.getChartPosition(),h=parseFloat(this.minHandleProxy.value)/100*r.size,l=parseFloat(this.maxHandleProxy.value)/100*r.size;[[0,"mousedown",r.zoomedMin],[0,"mousemove",h],[0,"mouseup",h],[1,"mousedown",r.zoomedMax],[1,"mousemove",l],[1,"mouseup",l]].forEach(([p,u,g])=>{let m=this.getHandleByIx(p)?.element;m&&qs(m,Hs(u,{x:a.left+r.left+g,y:a.top+r.top},m))}),n&&(n.keyboardReset=!1),i&&i();let c=s.options.lang.accessibility?.navigator.changeAnnouncement,d=zs(s.xAxis[0]);this.announcer.announce(Jt(c,{axisRangeDescription:d,chart:s},s))}};this.updateNavigatorThrottleTimer&>(this.updateNavigatorThrottleTimer),this.updateNavigatorThrottleTimer=setTimeout(t.bind(this,e),20)}},{getPointAnnotationTexts:Gs}=Oe,{getAxisDescription:Us,getSeriesFirstPointElement:Ws,getSeriesA11yElement:Vs,unhideChartElementFromAT:Xs}=R,{format:Pt,numberFormat:js}=xt(),{reverseChildNodes:Ys,stripHTMLTagsFromString:je}=I;function Ye(e){let t=e.chart.options.accessibility.series.pointDescriptionEnabledThreshold;return!!(t!==!1&&e.points&&e.points.length>=+t)}function _e(e,t){let i=e.series,s=i.chart,r=s.options.accessibility.point||{},o=i.options.accessibility&&i.options.accessibility.point||{},n=i.tooltipOptions||{},a=s.options.lang;return L(t)?js(t,o.valueDecimals||r.valueDecimals||n.valueDecimals||-1,a.decimalPoint,a.accessibility.thousandsSep||a.thousandsSep):t}function Ze(e,t){let i=e[t];return e.chart.langFormat("accessibility.series."+t+"Description",{name:Us(i),series:e})}function $e(e){let t,i,s,r,o,n,a,h,l,c,d,p,u=e.series,g=u.chart.series.length>1||u.options.name,m=(n=(o=e.series).chart,h=(a=o.options.accessibility)&&a.point&&a.point.valueDescriptionFormat||n.options.accessibility.point.valueDescriptionFormat,c=(l=T(o.xAxis&&o.xAxis.options.accessibility&&o.xAxis.options.accessibility.enabled,!n.angular&&o.type!=="flowmap"))?(t=(function(b){let x=b.series,C=x.chart,P=x.options.accessibility&&x.options.accessibility.point||{},D=C.options.accessibility.point||{},M=x.xAxis&&x.xAxis.dateTime;if(M){let N=M.getXDateFormat(b.x||0,C.options.tooltip.dateTimeLabelFormats),H=P.dateFormatter&&P.dateFormatter(b)||D.dateFormatter?.(b)||P.dateFormat||D.dateFormat||N;return C.time.dateFormat(H,b.x||0,void 0)}})(e),i=(e.series.xAxis||{}).categories&&w(e.category)&&(""+e.category).replace("<br/>"," "),s=w(e.id)&&0>(""+e.id).indexOf("highcharts-"),r="x, "+e.x,e.name||t||i||(s?e.id:r)):"",Pt(h,{point:e,index:w(e.index)?e.index+1:"",xDescription:c,value:(function(b){let x=b.series,C=x.chart.options.accessibility.point||{},P=x.chart.options.accessibility&&x.chart.options.accessibility.point||{},D=x.tooltipOptions||{},M=P.valuePrefix||C.valuePrefix||D.valuePrefix||"",N=P.valueSuffix||C.valueSuffix||D.valueSuffix||"",H=b.value!==void 0?"value":"y",X=_e(b,b[H]);if(b.isNull)return x.chart.langFormat("accessibility.series.nullPointValue",{point:b});if(x.pointArrayMap){let _,Z,lt;return _=M||"",Z=N||"",lt=function(K){let W=_e(b,T(b[K],b.options[K])
1);return W!==void 0?K+": "+_+W+Z:W},b.series.pointArrayMap.reduce(function(K,W){let ht=lt(W);return ht?K+(K.length?", ":"")+ht:K},"")}return M+X+N})(e),separator:l?", ":""},n)),f=e.options&&e.options.accessibility&&e.options.accessibility.description,v=g?" "+u.name+".":"",E=(d=e.series.chart,(p=Gs(e)).length?d.langFormat("accessibility.series.pointAnnotationsDescription",{point:e,annotations:p}):"");return e.accessibility=e.accessibility||{},e.accessibility.valueDescription=m,m+(f?" "+f:"")+v+(E?" "+E:"")}function Qe(e){let t,i=e.chart,s=i.types||[],r=(t=(e.options.accessibility||{}).description)&&e.chart.langFormat("accessibility.series.description",{description:t,series:e})||"",o=function(u){return i[u]&&i[u].length>1&&e[u]},n=e.index+1,a=Ze(e,"xAxis"),h=Ze(e,"yAxis"),l={seriesNumber:n,series:e,chart:i},c=s.length>1?"Combination":"",d=i.langFormat("accessibility.series.summary."+e.type+c,l)||i.langFormat("accessibility.series.summary.default"+c,l),p=(o("yAxis")?" "+h+".":"")+(o("xAxis")?" "+a+".":"");return Pt(T(e.options.accessibility&&e.options.accessibility.descriptionFormat,i.options.accessibility.series.descriptionFormat,""),{seriesDescription:d,authorDescription:r?" "+r:"",axisDescription:p,series:e,chart:i,seriesNumber:n},void 0)}let te={defaultPointDescriptionFormatter:$e,defaultSeriesDescriptionFormatter:Qe,describeSeries:function(e){let t=e.chart,i=Ws(e),s=Vs(e),r=t.is3d&&t.is3d();if(s){let o,n,a,h,l,c,d,p,u,g,m;if(s.lastChild!==i||r||Ys(s),o=e.options.accessibility||{},a=!Ye(e)&&!o.exposeAsGroupOnly,n=e.chart.options.accessibility.keyboardNavigation.seriesNavigation,h=!!(e.points&&(e.points.length<+n.pointNavigationEnabledThreshold||n.pointNavigationEnabledThreshold===!1)),l=e.chart.options.accessibility.point.describeNull,(a||h)&&e.points.forEach(f=>{let v,E,b,x,C,P=f.graphic&&f.graphic.element||(E=(v=f.series)&&v.chart,b=v&&v.is("sunburst"),x=f.isNull,C=E&&E.options.accessibility.point.describeNull,x&&!b&&C&&(function(M){let N,H=M.series,X=(function(W){let ht=W.index;if(!W.series||!W.series.data||!w(ht))return null;let Or=W.series.options?.nullInteraction;return it(W.series.data,function(ct){return!!(ct&&ct.index!==void 0&&(Or||ct.index>ht)&&ct.graphic&&ct.graphic.element)})||null})(M),_=X&&X.graphic,Z=_?_.parentGroup:H.graph||H.group,lt=X?{x:T(M.plotX,X.plotX,0),y:T(M.plotY,X.plotY,0)}:{x:T(M.plotX,0),y:T(M.plotY,0)},K=((N=M.series.chart.renderer.rect(lt.x,lt.y,1,1)).attr({class:"highcharts-a11y-mock-point",fill:"none",opacity:0,"fill-opacity":0,"stroke-opacity":0}),N);if(Z&&Z.element)return M.graphic=K,M.hasMockGraphic=!0,K.add(Z),Z.element.insertBefore(K.element,_?_.element:null),K.element})(f)),D=f.options&&f.options.accessibility&&f.options.accessibility.enabled===!1;if(P){if(f.isNull&&!l)return void P.setAttribute("aria-hidden",!0);if(P.setAttribute("tabindex","-1"),e.chart.styledMode||(P.style.outline="none"),a&&!D){let M,N,H,X;M=f.series,N=M.options.accessibility?.point||{},H=M.chart.options.accessibility.point||{},X=je(mt(N.descriptionFormat)&&Pt(N.descriptionFormat,f,M.chart)||N.descriptionFormatter?.(f)||mt(H.descriptionFormat)&&Pt(H.descriptionFormat,f,M.chart)||H.descriptionFormatter?.(f)||$e(f),M.chart.renderer.forExport),P.setAttribute("role","img"),P.setAttribute("aria-label",X)}else P.setAttribute("aria-hidden",!0)}}),Xs(t,s),p=(d=(c=e.chart).options.chart).options3d&&d.options3d.enabled,u=c.series.length>1,g=c.options.accessibility.series.describeSingleSeries,m=(e.options.accessibility||{}).exposeAsGroupOnly,!(p&&u)&&(u||g||m||Ye(e))){let f,v,E;f=e.options.accessibility||{},E=(v=e.chart.options.accessibility).landmarkVerbosity,f.exposeAsGroupOnly?s.setAttribute("role","img"):E==="all"?s.setAttribute("role","region"):s.setAttribute("role","group"),s.setAttribute("tabindex","-1"),e.chart.styledMode||(s.style.outline="none"),s.setAttribute("aria-label",je(v.series.descriptionFormatter&&v.series.descriptionFormatter(e)||Qe(e),e.chart.renderer.forExport))}else s.removeAttribute("aria-label")}}},{composed:_s}=A(),{getChartTitle:Zs}=R,{defaultPointDescriptionFormatter:$s,defaultSeriesDescriptionFormatter:Qs}=te;function ee(e){return!!e.options.accessibility.announceNewData.enabled}class ie{constructor(t){this.dirty={allSeries:{}},this.lastAnnouncementTime=0,this.chart=t}init(){let t=this.chart,i=t.options.accessibility.announceNewData.interruptUser?"assertive":"polite";this.lastAnnouncementTime=0,this.dirty={allSeries:{}},this.eventProvider=new nt,this.announcer=new wt(t,i),this.addEventListeners()}destroy(){this.eventProvider.removeAddedEvents(),this.announcer.destroy()}
1addEventListeners(){let t=this,i=this.chart,s=this.eventProvider;s.addEvent(i,"afterApplyDrilldown",function(){t.lastAnnouncementTime=0}),s.addEvent(i,"afterAddSeries",function(r){t.onSeriesAdded(r.series)}),s.addEvent(i,"redraw",function(){t.announceDirtyData()})}onSeriesAdded(t){ee(this.chart)&&(this.dirty.hasDirty=!0,this.dirty.allSeries[t.name+t.index]=t,this.dirty.newSeries=w(this.dirty.newSeries)?void 0:t)}announceDirtyData(){let t=this.chart,i=this;if(t.options.accessibility.announceNewData&&this.dirty.hasDirty){var s;let r,o=this.dirty.newPoint;o&&(o=(r=(s=o).series.data.filter(n=>s.x===n.x&&s.y===n.y)).length===1?r[0]:s),this.queueAnnouncement(Object.keys(this.dirty.allSeries).map(n=>i.dirty.allSeries[n]),this.dirty.newSeries,o),this.dirty={allSeries:{}}}}queueAnnouncement(t,i,s){let r=this.chart.options.accessibility.announceNewData;if(r.enabled){var o;let n,a=+new Date,h=a-this.lastAnnouncementTime,l=Math.max(0,r.minAnnounceInterval-h),c=(o=this.queuedAnnouncement&&this.queuedAnnouncement.series,Object.keys(n=(o||[]).concat(t||[]).reduce((p,u)=>(p[u.name+u.index]=u,p),{})).map(p=>n[p])),d=this.buildAnnouncementMessage(c,i,s);d&&(this.queuedAnnouncement&>(this.queuedAnnouncementTimer),this.queuedAnnouncement={time:a,message:d,series:c},this.queuedAnnouncementTimer=setTimeout(()=>{this&&this.announcer&&(this.lastAnnouncementTime=+new Date,this.announcer.announce(this.queuedAnnouncement.message),delete this.queuedAnnouncement,delete this.queuedAnnouncementTimer)},l))}}buildAnnouncementMessage(t,i,s){let r=this.chart,o=r.options.accessibility.announceNewData;if(o.announcementFormatter){let l=o.announcementFormatter(t,i,s,this);if(l!==!1)return l.length?l:null}let n=A().charts&&A().charts.length>1?"Multiple":"Single",a=i?"newSeriesAnnounce"+n:s?"newPointAnnounce"+n:"newDataAnnounce",h=Zs(r);return r.langFormat("accessibility.announceNewData."+a,{chartTitle:h,seriesDesc:i?Qs(i):null,pointDesc:s?$s(s):null,point:s,series:i})}}function Js(e){let t=this.chart,i=t.accessibility?.components.series.newDataAnnouncer;i&&i.chart===t&&ee(t)&&(i.dirty.newPoint=w(i.dirty.newPoint)?void 0:e.point)}function tr(){let e=this.chart,t=e.accessibility?.components.series.newDataAnnouncer;t&&t.chart===e&&ee(e)&&(t.dirty.hasDirty=!0,t.dirty.allSeries[this.name+this.index]=this)}(ie||(ie={})).compose=function(e){J(_s,"A11y.NDA")&&(y(e,"addPoint",Js),y(e,"updatedData",tr))};let se=ie,{doc:re,win:er}=A(),{fireEventOnWrappedOrUnwrappedElement:Je}=R,{cloneMouseEvent:ir,cloneTouchEvent:sr,getFakeMouseEvent:rr,removeElement:nr}=I,or=class{constructor(e,t,i="button",s,r){this.chart=e,this.target=t,this.eventProvider=new nt;let o=this.innerElement=re.createElement(i),n=this.element=s?re.createElement(s):o;e.styledMode||this.hideElementVisually(o),s&&(s!=="li"||e.styledMode||(n.style.listStyle="none"),n.appendChild(o),this.element=n),this.updateTarget(t,r)}click(){let e=this.getTargetPosition();e.x+=e.width/2,e.y+=e.height/2;let t=rr("click",e);Je(this.target.click,t)}updateTarget(e,t){this.target=e,this.updateCSSClassName();let i=t||{};
1Object.keys(i).forEach(r=>{i[r]===null&&delete i[r]});let s=this.getTargetAttr(e.click,"aria-label");G(this.innerElement,B(s?{"aria-label":s}:{},i)),this.eventProvider.removeAddedEvents(),this.addProxyEventsToElement(this.innerElement,e.click),this.refreshPosition()}refreshPosition(){let e=this.getTargetPosition();pt(this.innerElement,{width:(e.width||1)+"px",height:(e.height||1)+"px",left:(Math.round(e.x)||0)+"px",top:(Math.round(e.y)||0)+"px"})}remove(){this.eventProvider.removeAddedEvents(),nr(this.element)}updateCSSClassName(){let e=s=>s.indexOf("highcharts-no-tooltip")>-1,t=e(this.chart.legend?.group?.div?.className||""),i=e(this.getTargetAttr(this.target.click,"class")||"");this.innerElement.className=t||i?"highcharts-a11y-proxy-element highcharts-no-tooltip":"highcharts-a11y-proxy-element"}addProxyEventsToElement(e,t){["click","touchstart","touchend","touchcancel","touchmove","mouseover","mouseenter","mouseleave","mouseout"].forEach(i=>{let s=i.indexOf("touch")===0;this.eventProvider.addEvent(e,i,r=>{let o=s?sr(r):ir(r);t&&Je(t,o),r.stopPropagation(),s||r.preventDefault()},{passive:!1})})}hideElementVisually(e){pt(e,{borderWidth:0,backgroundColor:"transparent",cursor:"pointer",outline:"none",opacity:.001,filter:"alpha(opacity=1)",zIndex:999,overflow:"hidden",padding:0,margin:0,display:"block",position:"absolute","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)"})}getTargetPosition(){let e=this.target.click,t=e.element?e.element:e,i=this.target.visual||t,s=this.chart.renderTo,r=this.chart.pointer;if(s&&i?.getBoundingClientRect&&r){let o=er.scrollY||re.documentElement.scrollTop,n=i.getBoundingClientRect(),a=r.getChartPosition();return{x:(n.left-a.left)/a.scaleX,y:(n.top+o-a.top)/a.scaleY,width:n.right/a.scaleX-n.left/a.scaleX,height:n.bottom/a.scaleY-n.top/a.scaleY}}return{x:0,y:0,width:1,height:1}}getTargetAttr(e,t){return e.element?e.element.getAttribute(t):e.getAttribute(t)}},{doc:ar}=A(),{unhideChartElementFromAT:ti}=R,{removeChildNodes:ei}=I,lr=class{constructor(e){this.chart=e,this.domElementProvider=new qt,this.groups={},this.groupOrder=[],this.beforeChartProxyPosContainer=this.createProxyPosContainer("before"),this.afterChartProxyPosContainer=this.createProxyPosContainer("after"),this.update()}addProxyElement(e,t,i="button",s){let r=this.groups[e];if(!r)throw Error("ProxyProvider.addProxyElement: Invalid group key "+e);let o=r.type==="ul"||r.type==="ol"?"li":void 0,n=new or(this.chart,t,i,o,s);return r.proxyContainerElement.appendChild(n.element),r.proxyElements.push(n),n}addGroup(e,t="div",i){let s,r=this.groups[e];if(r)return r.groupElement;let o=this.domElementProvider.createElement(t);return i&&i.role&&t!=="div"?(s=this.domElementProvider.createElement("div")).appendChild(o):s=o,s.className="highcharts-a11y-proxy-group highcharts-a11y-proxy-group-"+e.replace(/\W/g,"-"),this.groups[e]={proxyContainerElement:o,groupElement:s,type:t,proxyElements:[]},G(s,i||{}),t==="ul"&&o.setAttribute("role","list"),this.afterChartProxyPosContainer.appendChild(s),this.updateGroupOrder(this.groupOrder),s}updateGroupAttrs(e,t){let i=this.groups[e];if(!i)throw Error("ProxyProvider.updateGroupAttrs: Invalid group key "+e);G(i.groupElement,t)}updateGroupOrder(e){if(this.groupOrder=e.slice(),this.isDOMOrderGroupOrder())return;let t=e.indexOf("series"),i=t>-1?e.slice(0,t):e,s=t>-1?e.slice(t+1):[],r=ar.activeElement;["before","after"].forEach(o=>{let n=this[o==="before"?"beforeChartProxyPosContainer":"afterChartProxyPosContainer"];
1ei(n),(o==="before"?i:s).forEach(a=>{let h=this.groups[a];h&&n.appendChild(h.groupElement)})}),(this.beforeChartProxyPosContainer.contains(r)||this.afterChartProxyPosContainer.contains(r))&&r&&r.focus&&r.focus()}clearGroup(e){let t=this.groups[e];if(!t)throw Error("ProxyProvider.clearGroup: Invalid group key "+e);ei(t.proxyContainerElement)}removeGroup(e){let t=this.groups[e];t&&(this.domElementProvider.removeElement(t.groupElement),t.groupElement!==t.proxyContainerElement&&this.domElementProvider.removeElement(t.proxyContainerElement),delete this.groups[e])}update(){this.updatePosContainerPositions(),this.updateGroupOrder(this.groupOrder),this.updateProxyElementPositions()}updateProxyElementPositions(){Object.keys(this.groups).forEach(this.updateGroupProxyElementPositions.bind(this))}updateGroupProxyElementPositions(e){let t=this.groups[e];t&&t.proxyElements.forEach(i=>i.refreshPosition())}destroy(){this.domElementProvider.destroyCreatedElements()}createProxyPosContainer(e){let t=this.domElementProvider.createElement("div");return t.setAttribute("aria-hidden","false"),t.className="highcharts-a11y-proxy-container"+(e?"-"+e:""),pt(t,{top:"0",left:"0"}),this.chart.styledMode||(t.style.whiteSpace="nowrap",t.style.position="absolute"),t}getCurrentGroupOrderInDOM(){let e=r=>{let o=Object.keys(this.groups),n=o.length;for(;n--;){let a=o[n],h=this.groups[a];if(h&&r===h.groupElement)return a}},t=r=>{let o=[],n=r.children;for(let a=0;a<n.length;++a){let h=e(n[a]);h&&o.push(h)}return o},i=t(this.beforeChartProxyPosContainer),s=t(this.afterChartProxyPosContainer);return i.push("series"),i.concat(s)}isDOMOrderGroupOrder(){let e=this.getCurrentGroupOrderInDOM(),t=this.groupOrder.filter(s=>s==="series"||!!this.groups[s]),i=e.length;if(i!==t.length)return!1;for(;i--;)if(e[i]!==t[i])return!1;return!0}updatePosContainerPositions(){let e=this.chart;if(e.renderer.forExport)return;let t=e.renderer.box;e.container.insertBefore(this.afterChartProxyPosContainer,t.nextSibling),e.container.insertBefore(this.beforeChartProxyPosContainer,t),ti(this.chart,this.afterChartProxyPosContainer),ti(this.chart,this.beforeChartProxyPosContainer)}},{unhideChartElementFromAT:ne,getAxisRangeDescription:hr}=R;class oe extends j{init(){let t=this.chart;this.announcer=new wt(t,"polite")}onChartUpdate(){let t=this.chart,i=this,s=t.rangeSelector;s&&(this.updateSelectorVisibility(),this.setDropdownAttrs(),s.buttons&&s.buttons.length&&s.buttons.forEach(r=>{i.setRangeButtonAttrs(r)}),s.maxInput&&s.minInput&&["minInput","maxInput"].forEach(function(r,o){let n=s[r];n&&(ne(t,n),i.setRangeInputAttrs(n,"accessibility.rangeSelector."+(o?"max":"min")+"InputLabel"))}))}updateSelectorVisibility(){let t=this.chart,i=t.rangeSelector,s=i&&i.dropdown,r=i&&i.buttons||[];i&&i.hasVisibleDropdown&&s?(ne(t,s),r.forEach(o=>o.element.setAttribute("aria-hidden",!0))):(s&&s.setAttribute("aria-hidden",!0),r.forEach(o=>ne(t,o.element)))}setDropdownAttrs(){let t=this.chart,i=t.rangeSelector&&t.rangeSelector.dropdown;if(i){let s=t.langFormat("accessibility.rangeSelector.dropdownLabel",{rangeTitle:t.options.lang.rangeSelectorZoom});i.setAttribute("aria-label",s),i.setAttribute("tabindex",-1)}}setRangeButtonAttrs(t){G(t.element,{tabindex:-1,role:"button"})}setRangeInputAttrs(t,i){let s=this.chart;G(t,{tabindex:-1,"aria-label":s.langFormat(i,{chart:s})})}onButtonNavKbdArrowKey(t,i){let s=t.response,r=this.keyCodes,o=this.chart,n=o.options.accessibility.keyboardNavigation.wrapAround,a=i===r.left||i===r.up?-1:1;return o.highlightRangeSelectorButton(o.highlightedRangeSelectorItemIx+a)?s.success:n?(t.init(a),s.success):s[a>0?"next":"prev"]}onButtonNavKbdClick(t){let i=t.response,s=this.chart;return s.oldRangeSelectorItemState!==3&&this.fakeClickEvent(s.rangeSelector.buttons[s.highlightedRangeSelectorItemIx].element),i.success}onAfterBtnClick(){let t=this.chart,i=hr(t.xAxis[0]),s=t.langFormat("accessibility.rangeSelector.clickButtonAnnouncement",{chart:t,axisRangeDescription:i});s&&this.announcer.announce(s)}onInputKbdMove(t){let i=this.chart,s=i.rangeSelector,r=i.highlightedInputRangeIx=(i.highlightedInputRangeIx||0)+t;if(r>1||r<0){if(i.accessibility)return i.accessibility.keyboardNavigation.exiting=!0,i.accessibility.keyboardNavigation.tabindexContainer.focus(),i.accessibility.keyboardNavigation.move(t)}
1else if(s){let o=s[r?"maxDateBox":"minDateBox"],n=s[r?"maxInput":"minInput"];o&&n&&i.setFocusToElement(o,n)}return!0}onInputNavInit(t){let i=this,s=this.chart,r=t>0?0:1,o=s.rangeSelector,n=o&&o[r?"maxDateBox":"minDateBox"],a=o&&o.minInput,h=o&&o.maxInput;if(s.highlightedInputRangeIx=r,n&&a&&h){s.setFocusToElement(n,r?h:a),this.removeInputKeydownHandler&&this.removeInputKeydownHandler();let l=p=>{(p.which||p.keyCode)===this.keyCodes.tab&&i.onInputKbdMove(p.shiftKey?-1:1)&&(p.preventDefault(),p.stopPropagation())},c=y(a,"keydown",l),d=y(h,"keydown",l);this.removeInputKeydownHandler=()=>{c(),d()}}}onInputNavTerminate(){let t=this.chart.rangeSelector||{};t.maxInput&&t.hideInput("max"),t.minInput&&t.hideInput("min"),this.removeInputKeydownHandler&&(this.removeInputKeydownHandler(),delete this.removeInputKeydownHandler)}initDropdownNav(){let t=this.chart,i=t.rangeSelector,s=i&&i.dropdown;i&&s&&(t.setFocusToElement(i.buttonGroup,s),this.removeDropdownKeydownHandler&&this.removeDropdownKeydownHandler(),this.removeDropdownKeydownHandler=y(s,"keydown",r=>{let o=(r.which||r.keyCode)===this.keyCodes.tab,n=t.accessibility;o&&(r.preventDefault(),r.stopPropagation(),n&&n.keyboardNavigation.move(r.shiftKey?-1:1))}))}getRangeSelectorButtonNavigation(){let t=this.chart,i=this.keyCodes,s=this;return new V(t,{keyCodeMap:[[[i.left,i.right,i.up,i.down],function(r){return s.onButtonNavKbdArrowKey(this,r)}],[[i.enter,i.space],function(){return s.onButtonNavKbdClick(this)}]],validate:function(){return!!(t.rangeSelector&&t.rangeSelector.buttons&&t.rangeSelector.buttons.length)},init:function(r){let o=t.rangeSelector;if(o&&o.hasVisibleDropdown)s.initDropdownNav();else if(o){let n=o.buttons.length-1;t.highlightRangeSelectorButton(r>0?0:n)}},terminate:function(){s.removeDropdownKeydownHandler&&(s.removeDropdownKeydownHandler(),delete s.removeDropdownKeydownHandler)}})}getRangeSelectorInputNavigation(){let t=this.chart,i=this;return new V(t,{keyCodeMap:[],validate:function(){return!!(t.rangeSelector&&t.rangeSelector.inputGroup&&t.rangeSelector.inputGroup.element.style.visibility!=="hidden"&&t.options.rangeSelector.inputEnabled!==!1&&t.rangeSelector.minInput&&t.rangeSelector.maxInput)},init:function(s){i.onInputNavInit(s)},terminate:function(){i.onInputNavTerminate()}})}getKeyboardNavigation(){return[this.getRangeSelectorButtonNavigation(),this.getRangeSelectorInputNavigation()]}destroy(){this.removeDropdownKeydownHandler&&this.removeDropdownKeydownHandler(),this.removeInputKeydownHandler&&this.removeInputKeydownHandler(),this.announcer&&this.announcer.destroy()}}function cr(e){let t=this.rangeSelector&&this.rangeSelector.buttons||[],i=this.highlightedRangeSelectorItemIx,s=this.rangeSelector&&this.rangeSelector.selected;return i!==void 0&&t[i]&&i!==s&&t[i].setState(this.oldRangeSelectorItemState||0),this.highlightedRangeSelectorItemIx=e,!!t[e]&&(this.setFocusToElement(t[e].box,t[e].element),e!==s&&(this.oldRangeSelectorItemState=t[e].state,t[e].setState(1)),!0)}function dr(){let e=this.chart.accessibility;if(e&&e.components.rangeSelector)return e.components.rangeSelector.onAfterBtnClick()}(oe||(oe={})).compose=function(e,t){let i=e.prototype;i.highlightRangeSelectorButton||(i.highlightRangeSelectorButton=cr,y(t,"afterBtnClick",dr))};let ii=oe,{composed:ur}=A();(function(e){function t(l){B(!0,l,{marker:{enabled:!0,states:{normal:{opacity:0}
1}}})}function i(l){return l.marker.states&&l.marker.states.normal&&l.marker.states.normal.opacity}function s(l){return!!(l._hasPointMarkers&&l.points&&l.points.length)}function r(){this.chart.styledMode&&(this.markerGroup&&this.markerGroup[this.a11yMarkersForced?"addClass":"removeClass"]("highcharts-a11y-markers-hidden"),s(this)&&this.points.forEach(l=>{l.graphic&&(l.graphic[l.hasForcedA11yMarker?"addClass":"removeClass"]("highcharts-a11y-marker-hidden"),l.graphic[l.hasForcedA11yMarker===!1?"addClass":"removeClass"]("highcharts-a11y-marker-visible"))}))}function o(l){this.resetA11yMarkerOptions=B(l.options.marker||{},this.userOptions.marker||{})}function n(){let l=this.options;(function(c){let d,p=c.chart.options.accessibility.enabled,u=(c.options.accessibility&&c.options.accessibility.enabled)!==!1;return p&&u&&(d=c.chart.options.accessibility,c.points.length<d.series.pointDescriptionEnabledThreshold||d.series.pointDescriptionEnabledThreshold===!1)})(this)?(l.marker?.enabled===!1&&(this.a11yMarkersForced=!0,t(this.options)),s(this)&&(function(c){let d=c.points.length;for(;d--;){let u=c.points[d],g=u.options,m=u.hasForcedA11yMarker;if(delete u.hasForcedA11yMarker,g.marker){var p;let f=m&&i(g)===0;g.marker.enabled&&!f?(B(!0,(p=g).marker,{states:{normal:{opacity:i(p)||1}}}),u.hasForcedA11yMarker=!1):g.marker.enabled===!1&&(t(g),u.hasForcedA11yMarker=!0)}}})(this)):this.a11yMarkersForced?(delete this.a11yMarkersForced,this.isDirty=!0,(function(c){let d=c.resetA11yMarkerOptions;if(d){let p=d.states&&d.states.normal&&d.states.normal.opacity;c.chart.styledMode&&d.enabled===!1&&a(c),c.userOptions&&c.userOptions.marker&&(c.userOptions.marker.enabled=!0),c.update({marker:{enabled:d.enabled,states:{normal:{opacity:p}}}})}})(this),l.marker?.enabled===!1&&delete this.resetA11yMarkerOptions):this.chart.styledMode&&l.marker?.enabled===!1&&!s(this)&&a(this)}function a(l){l.points?.forEach(c=>{c.graphic&&(c.graphic=c.graphic.destroy())})}function h(){this.boosted&&this.a11yMarkersForced&&(B(!0,this.options,{marker:{enabled:!1}}),delete this.a11yMarkersForced)}e.compose=function(l){J(ur,"A11y.FM")&&(y(l,"afterSetOptions",o),y(l,"render",n),y(l,"afterRender",r),y(l,"renderCanvas",h))}})(Lt||(Lt={}));let pr=Lt;var gr=S(260),mr=S.n(gr),br=S(820),fr=S.n(br);let{seriesTypes:si}=Ve(),{doc:xr}=A(),{getPointFromXY:yr,getSeriesFromName:vr,scrollAxisToPoint:wr}=R;function ri(e){let t=e.index,i=e.series.points,s=i.length;if(i[t]===e)return t;for(;s--;)if(i[s]===e)return s}function ot(e){let t=e.chart.options.accessibility.keyboardNavigation.seriesNavigation,i=e.options.accessibility||{},s=i.keyboardNavigation;return s&&s.enabled===!1||i.enabled===!1||e.options.enableMouseTracking===!1||!e.visible||t.pointNavigationEnabledThreshold&&+t.pointNavigationEnabledThreshold<=e.points.length}function at(e){let t=e.series,i=t.options.nullInteraction,s=e.options.accessibility,r=t.chart.options.accessibility,o=s?.enabled===!1;return r.keyboardNavigation.seriesNavigation.skipNullPoints??(!(!e.isNull||i)&&e.visible===!1||e.isInside===!1||o||ot(t))}function St(e){let t=e.series||[],i=t.length;for(let s=0;s<i;++s)if(!ot(t[s])){let r=(function(o){let n=o.points||[],a=n.length;for(let h=0;h<a;++h)if(!at(n[h]))return n[h];return null})(t[s]);if(r)return r}return null}function ni(e){let t=e.series.length,i=!1;for(;t--&&(e.highlightedPoint=e.series[t].points[e.series[t].points.length-1],!(i=e.series[t].highlightNextValidPoint())););return i}function ae(e){delete e.highlightedPoint;let t=St(e);return!!t&&t.highlight()}class le{constructor(t,i){this.keyCodes=i,this.chart=t}init(){let t=this,i=this.chart,s=this.eventProvider=new nt;s.addEvent(fr(),"destroy",function(){return t.onSeriesDestroy(this)}),s.addEvent(i,"afterApplyDrilldown",function(){let r;(r=St(this))&&r.highlight(!1)}),s.addEvent(i,"drilldown",function(r){let o=r.point,n=o.series;t.lastDrilledDownPoint={x:o.x,y:o.y,seriesName:n?n.name:""}}),s.addEvent(i,"drillupall",function(){setTimeout(function(){t.onDrillupAll()},10)}),s.addEvent(mr(),"afterSetState",function(){let r=this.graphic&&this.graphic.element,o=xr.activeElement,n=o&&o.getAttribute("class"),a=n&&n.indexOf("highcharts-a11y-proxy-element")>-1;i.highlightedPoint===this&&o!==r&&!a&&r&&r.focus&&r.focus()})}onDrillupAll(){let t,i=this.lastDrilledDownPoint,s=this.chart,r=i&&vr(s,i.seriesName);i&&r&&w(i.x)&&w(i.y)&&(t=yr(r,i.x,i.y)),t=t||St(s),s.container&&s.container.focus(),t&&t.highlight&&t.highlight(!1)}getKeyboardNavigationHandler(){let t=this,i=this.keyCodes,s=this.chart,r=s.inverted;return new V(s,{keyCodeMap:[[r?[i.up,i.down]:[i.left,i.right],function(o){return t.onKbdSideways(this,o)}],[r?[i.left,i.right]:[i.up,i.down],function(o){return t.onKbdVertical(this,o)}],[[i.enter,i.space],function(o,n){let a=s.highlightedPoint;if(a){let{plotLeft:h,plotTop:l}=this.chart,{plotX:c=0,plotY:d=0}=a;n=Bt(Nt({}
1,n),{chartX:h+c,chartY:l+d,point:a,target:a.graphic?.element||n.target}),F(a.series,"click",n),a.firePointEvent("click",n)}return this.response.success}],[[i.home],function(){return ae(s),this.response.success}],[[i.end],function(){return ni(s),this.response.success}],[[i.pageDown,i.pageUp],function(o){return s.highlightAdjacentSeries(o===i.pageDown),this.response.success}]],init:function(){return t.onHandlerInit(this)},validate:function(){return!!St(s)},terminate:function(){return t.onHandlerTerminate()}})}onKbdSideways(t,i){let s=this.keyCodes,r=i===s.right||i===s.down;return this.attemptHighlightAdjacentPoint(t,r)}onHandlerInit(t){let i=this.chart;return i.options.accessibility.keyboardNavigation.seriesNavigation.rememberPointFocus&&i.highlightedPoint?i.highlightedPoint.highlight():ae(i),t.response.success}onKbdVertical(t,i){let s=this.chart,r=this.keyCodes,o=i===r.down||i===r.right,n=s.options.accessibility.keyboardNavigation.seriesNavigation;if(n.mode&&n.mode==="serialize")return this.attemptHighlightAdjacentPoint(t,o);let a=s.highlightedPoint&&s.highlightedPoint.series.keyboardMoveVertical?"highlightAdjacentPointVertical":"highlightAdjacentSeries";return s[a](o),t.response.success}onHandlerTerminate(){let t=this.chart,i=t.options.accessibility.keyboardNavigation;t.tooltip&&t.tooltip.hide(0);let s=t.highlightedPoint&&t.highlightedPoint.series;s&&s.onMouseOut&&s.onMouseOut(),t.highlightedPoint&&t.highlightedPoint.onMouseOut&&t.highlightedPoint.onMouseOut(),i.seriesNavigation.rememberPointFocus||delete t.highlightedPoint}attemptHighlightAdjacentPoint(t,i){let s=this.chart,r=s.options.accessibility.keyboardNavigation.wrapAround;return s.highlightAdjacentPoint(i)||r&&(i?ae(s):ni(s))?t.response.success:t.response[i?"next":"prev"]}onSeriesDestroy(t){let i=this.chart;i.highlightedPoint&&i.highlightedPoint.series===t&&(delete i.highlightedPoint,i.focusElement&&i.focusElement.removeFocusBorder())}destroy(){this.eventProvider.removeAddedEvents()}}(function(e){function t(n){let a,h,l=this.series,c=this.highlightedPoint,d=c&&ri(c)||0,p=c&&c.series.points||[],u=this.series&&this.series[this.series.length-1],g=u&&u.points&&u.points[u.points.length-1];if(!l[0]||!l[0].points)return!1;if(c){if(a=l[c.series.index+(n?1:-1)],(h=p[d+(n?1:-1)])||!a||(h=a.points[n?0:a.points.length-1]),!h)return!1}else h=n?l[0].points[0]:g;return at(h)?(ot(a=h.series)?this.highlightedPoint=n?a.points[a.points.length-1]:a.points[0]:this.highlightedPoint=h,this.highlightAdjacentPoint(n)):h.highlight()}function i(n){let a=this.highlightedPoint,h=1/0,l;return!!w(a.plotX)&&!!w(a.plotY)&&(this.series.forEach(c=>{ot(c)||c.points.forEach(d=>{if(!w(d.plotY)||!w(d.plotX)||d===a)return;let p=d.plotY-a.plotY,u=Math.abs(d.plotX-a.plotX),g=Math.abs(p)*Math.abs(p)+u*u*4;c.yAxis&&c.yAxis.reversed&&(p*=-1),!(p<=0&&n||p>=0&&!n||g<5||at(d))&&g<h&&(h=g,l=d)})}),!!l&&l.highlight())}function s(n){let a,h,l,c=this.highlightedPoint,d=this.series&&this.series[this.series.length-1],p=d&&d.points&&d.points[d.points.length-1];return this.highlightedPoint?!!(a=this.series[c.series.index+(n?-1:1)])&&!!(h=(function(u,g,m,f){let v=1/0,E,b,x,C=g.points.length,P=D=>!(w(D.plotX)&&w(D.plotY));if(!P(u)){for(;C--;)!P(E=g.points[C])&&(x=(u.plotX-E.plotX)*(u.plotX-E.plotX)*4+(u.plotY-E.plotY)*(u.plotY-E.plotY)*1)<v&&(v=x,b=C);return w(b)?g.points[b]:void 0}})(c,a,4))&&(ot(a)?(h.highlight(),(l=this.highlightAdjacentSeries(n))?l:(c.highlight(),!1)):(h.highlight(),h.series.highlightNextValidPoint())):(a=n?this.series&&this.series[0]:d,!!(h=n?a&&a.points&&a.points[0]:p)&&h.highlight())}function r(n=!0){let a=this.series.chart,h=a.tooltip?.label?.element;(!this.isNull||this.series.options?.nullInteraction)&&n?this.onMouseOver():a.tooltip&&a.tooltip.hide(0),wr(this),this.graphic&&(a.setFocusToElement(this.graphic),!n&&a.focusElement&&a.focusElement.removeFocusBorder()),a.highlightedPoint=this;let l=h?.getBoundingClientRect().top;if(h&&l&&l<0){let c=window.scrollY;window.scrollTo({behavior:"smooth",top:c+l})}return this}function o(){let n=this.chart.highlightedPoint,a=(n&&n.series)===this?ri(n):0,h=this.points,l=h.length;if(h&&l){for(let c=a;c<l;++c)if(!at(h[c]))return h[c].highlight();for(let c=a;c>=0;--c)if(!at(h[c]))return h[c].highlight()}return!1}e.compose=function(n,a,h){let l=n.prototype,c=a.prototype,d=h.prototype;l.highlightAdjacentPoint||(l.highlightAdjacentPoint=t,l.highlightAdjacentPointVertical=i,l.highlightAdjacentSeries=s,c.highlight=r,d.keyboardMoveVertical=!0,["column","gantt","pie"].forEach(p=>{si[p]&&(si[p].prototype.keyboardMoveVertical=!1)}),d.highlightNextValidPoint=o)}})(le||(le={}));let oi=le,{hideSeriesFromAT:Er}=R,{describeSeries:Ar}
1=te,ai=class extends j{static compose(e,t,i){se.compose(i),pr.compose(i),oi.compose(e,t,i)}init(){this.newDataAnnouncer=new se(this.chart),this.newDataAnnouncer.init(),this.keyboardNavigation=new oi(this.chart,this.keyCodes),this.keyboardNavigation.init(),this.hideTooltipFromATWhenShown(),this.hideSeriesLabelsFromATWhenShown()}hideTooltipFromATWhenShown(){let e=this;this.chart.tooltip&&this.addEvent(this.chart.tooltip.constructor,"refresh",function(){this.chart===e.chart&&this.label&&this.label.element&&this.label.element.setAttribute("aria-hidden",!0)})}hideSeriesLabelsFromATWhenShown(){this.addEvent(this.chart,"afterDrawSeriesLabels",function(){this.series.forEach(function(e){e.labelBySeries&&e.labelBySeries.attr("aria-hidden",!0)})})}onChartRender(){this.chart.series.forEach(function(e){(e.options.accessibility&&e.options.accessibility.enabled)!==!1&&e.visible&&e.getPointsCollection().length!==0?Ar(e):Er(e)})}getKeyboardNavigation(){return this.keyboardNavigation.getKeyboardNavigationHandler()}destroy(){this.newDataAnnouncer.destroy(),this.keyboardNavigation.destroy()}},{unhideChartElementFromAT:Tr}=R,{getFakeMouseEvent:he}=I,Mr=class extends j{constructor(){super(...arguments),this.focusedMapNavButtonIx=-1}init(){let e=this,t=this.chart;this.proxyProvider.addGroup("zoom","div"),["afterShowResetZoom","afterApplyDrilldown","drillupall"].forEach(i=>{e.addEvent(t,i,function(){e.updateProxyOverlays()})})}onChartUpdate(){let e=this.chart,t=this;e.mapNavigation&&e.mapNavigation.navButtons.forEach((i,s)=>{Tr(e,i.element),t.setMapNavButtonAttrs(i.element,"accessibility.zoom.mapZoom"+(s?"Out":"In"))})}setMapNavButtonAttrs(e,t){let i=this.chart;G(e,{tabindex:-1,role:"button","aria-label":i.langFormat(t,{chart:i})})}onChartRender(){this.updateProxyOverlays()}updateProxyOverlays(){let e=this.chart;if(this.proxyProvider.clearGroup("zoom"),e.resetZoomButton&&this.createZoomProxyButton(e.resetZoomButton,"resetZoomProxyButton",e.langFormat("accessibility.zoom.resetZoomButton",{chart:e})),e.drillUpButton&&e.breadcrumbs&&e.breadcrumbs.list){let t=e.breadcrumbs.list[e.breadcrumbs.list.length-1];this.createZoomProxyButton(e.drillUpButton,"drillUpProxyButton",e.langFormat("accessibility.drillUpButton",{chart:e,buttonText:e.breadcrumbs.getButtonText(t)}))}}createZoomProxyButton(e,t,i){this[t]=this.proxyProvider.addProxyElement("zoom",{click:e},"button",{"aria-label":i,tabindex:-1})}getMapZoomNavigation(){let e=this.keyCodes,t=this.chart,i=this;return new V(t,{keyCodeMap:[[[e.up,e.down,e.left,e.right],function(s){return i.onMapKbdArrow(this,s)}],[[e.tab],function(s,r){return i.onMapKbdTab(this,r)}],[[e.space,e.enter],function(){return i.onMapKbdClick(this)}]],validate:function(){return!!(t.mapView&&t.mapNavigation&&t.mapNavigation.navButtons.length)},init:function(s){return i.onMapNavInit(s)}})}onMapKbdArrow(e,t){let i=this.chart,s=this.keyCodes,r=i.container,o=t===s.up||t===s.down,n=t===s.left||t===s.up?1:-1,a=(o?i.plotHeight:i.plotWidth)/10*n,h=10*Math.random(),l={x:r.offsetLeft+i.plotLeft+i.plotWidth/2+h,y:r.offsetTop+i.plotTop+i.plotHeight/2+h},c=o?{x:l.x,y:l.y+a}:{x:l.x+a,y:l.y};return[he("mousedown",l),he("mousemove",c),he("mouseup",c)].forEach(d=>r.dispatchEvent(d)),e.response.success}onMapKbdTab(e,t){let i=this.chart,s=e.response,r=t.shiftKey,o=r&&!this.focusedMapNavButtonIx||!r&&this.focusedMapNavButtonIx;if(i.mapNavigation.navButtons[this.focusedMapNavButtonIx].setState(0),o)return i.mapView&&i.mapView.zoomBy(),s[r?"prev":"next"];this.focusedMapNavButtonIx+=r?-1:1;let n=i.mapNavigation.navButtons[this.focusedMapNavButtonIx];return i.setFocusToElement(n.box,n.element),n.setState(2),s.success}onMapKbdClick(e){let t=this.chart.mapNavigation.navButtons[this.focusedMapNavButtonIx].element;return this.fakeClickEvent(t),e.response.success}onMapNavInit(e){let t=this.chart,i=t.mapNavigation.navButtons[0],s=t.mapNavigation.navButtons[1],r=e>0?i:s;t.setFocusToElement(r.box,r.element),r.setState(2),this.focusedMapNavButtonIx=e>0?0:1}simpleButtonNavigation(e,t,i){let s=this.keyCodes,r=this,o=this.chart;return new V(o,{keyCodeMap:[[[s.tab,s.up,s.down,s.left,s.right],function(n,a){let h=n===s.tab&&a.shiftKey||n===s.left||n===s.up;return this.response[h?"prev":"next"]}],[[s.space,s.enter],function(){return T(i(this,o),this.response.success)}]],validate:function(){return o[e]&&o[e].box&&r[t].innerElement},init:function(){o.setFocusToElement(o[e].box,r[t].innerElement)}})}getKeyboardNavigation(){return[this.simpleButtonNavigation("resetZoomButton","resetZoomProxyButton",function(e,t){t.zoomOut()}),this.simpleButtonNavigation("drillUpButton","drillUpProxyButton",function(e,t){return t.drillUp(),e.response.prev}),this.getMapZoomNavigation()]}},{doc:ce,isMS:Cr,win:Dt}=A(),kr=function(){if(Cr&&Dt.getComputedStyle){let e=ce.createElement("div");e.style.backgroundImage="url(data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)",ce.body.appendChild(e);let t=(e.currentStyle||Dt.getComputedStyle(e)).backgroundImage;return ce.body.removeChild(e),t==="none"}return Dt.matchMedia&&Dt.matchMedia("(forced-colors: active)").matches},Pr=function(e){e.highContrastModeActive=!0;let t=e.options.accessibility.highContrastTheme;e.update(t,!1);let i=t.colors?.length>1;
1e.series.forEach(function(s){let r=t.plotOptions[s.type]||{},o=i&&s.colorIndex!==void 0?t.colors[s.colorIndex]:r.color||"window",n={color:r.color||"windowText",colors:i?t.colors:[r.color||"windowText"],borderColor:r.borderColor||"window",fillColor:o};s.update(n,!1),s.points&&s.points.forEach(function(a){a.options&&a.options.color&&a.update({color:r.color||"windowText",borderColor:r.borderColor||"window"},!1)})}),e.redraw()},Sr={chart:{backgroundColor:"window"},title:{style:{color:"windowText"}},subtitle:{style:{color:"windowText"}},colorAxis:{minColor:"windowText",maxColor:"windowText",stops:[],dataClasses:[]},colors:["windowText"],xAxis:{gridLineColor:"windowText",labels:{style:{color:"windowText"}},lineColor:"windowText",minorGridLineColor:"windowText",tickColor:"windowText",title:{style:{color:"windowText"}}},yAxis:{gridLineColor:"windowText",labels:{style:{color:"windowText"}},lineColor:"windowText",minorGridLineColor:"windowText",tickColor:"windowText",title:{style:{color:"windowText"}}},tooltip:{backgroundColor:"window",borderColor:"windowText",style:{color:"windowText"}},plotOptions:{series:{lineColor:"windowText",fillColor:"window",borderColor:"windowText",edgeColor:"windowText",borderWidth:1,dataLabels:{connectorColor:"windowText",color:"windowText",style:{color:"windowText",textOutline:"none"}},marker:{lineColor:"windowText",fillColor:"windowText"}},pie:{color:"window",colors:["window"],borderColor:"windowText",borderWidth:1},boxplot:{fillColor:"window"},candlestick:{lineColor:"windowText",fillColor:"window"},errorbar:{fillColor:"window"}},legend:{backgroundColor:"window",itemStyle:{color:"windowText"},itemHoverStyle:{color:"windowText"},itemHiddenStyle:{color:"#555"},title:{style:{color:"windowText"}}},credits:{style:{color:"windowText"}},drilldown:{activeAxisLabelStyle:{color:"windowText"},activeDataLabelStyle:{color:"windowText"}},navigation:{buttonOptions:{symbolStroke:"windowText",theme:{fill:"window"}}},rangeSelector:{buttonTheme:{fill:"window",stroke:"windowText",style:{color:"windowText"},states:{hover:{fill:"window",stroke:"windowText",style:{color:"windowText"}},select:{fill:"#444",stroke:"windowText",style:{color:"windowText"}}}},inputBoxBorderColor:"windowText",inputStyle:{backgroundColor:"window",color:"windowText"},labelStyle:{color:"windowText"}},navigator:{handles:{backgroundColor:"window",borderColor:"windowText"},outlineColor:"windowText",maskFill:"transparent",series:{color:"windowText",lineColor:"windowText"},xAxis:{gridLineColor:"windowText"}},scrollbar:{barBackgroundColor:"#444",barBorderColor:"windowText",buttonArrowColor:"windowText",buttonBackgroundColor:"window",buttonBorderColor:"windowText",rifleColor:"windowText",trackBackgroundColor:"window",trackBorderColor:"windowText"}};function li(e,t,i){let s=e,r,o=0;for(;o<t.length-1;++o)s=s[r=t[o]]=T(s[r],{});s[t[t.length-1]]=i}function de(e,t,i,s){function r(a,h){return h.reduce(function(l,c){return l[c]},a)}let o=r(e.options,t),n=r(e.options,i);Object.keys(s).forEach(function(a){let h=o[a];h!==void 0&&(li(n,s[a],h),(0,et.error)(32,!1,e,{[t.join(".")+"."+a]:i.join(".")+"."+s[a].join(".")}))})}let Dr=function(e){let t,i,s;t=e.options.chart,i=e.options.accessibility||{},["description","typeDescription"].forEach(function(r){t[r]&&(i[r]=t[r],(0,et.error)(32,!1,e,{[`chart.${r}`]:`use accessibility.${r}`}))}),e.axes.forEach(function(r){let o=r.options;o&&o.description&&(o.accessibility=o.accessibility||{},o.accessibility.description=o.description,(0,et.error)(32,!1,e,{"axis.description":"use axis.accessibility.description"}))}),e.series&&(s={description:["accessibility","description"],exposeElementToA11y:["accessibility","exposeAsGroupOnly"],pointDescriptionFormat:["accessibility","point","descriptionFormat"],pointDescriptionFormatter:["accessibility","point","descriptionFormatter"],skipKeyboardNavigation:["accessibility","keyboardNavigation","enabled"],"accessibility.pointDescriptionFormatter":["accessibility","point","descriptionFormatter"]},e.series.forEach(function(r){Object.keys(s).forEach(function(o){let n=r.options[o];o==="accessibility.pointDescriptionFormatter"&&(n=r.options.accessibility&&r.options.accessibility.pointDescriptionFormatter),n!==void 0&&(li(r.options,s[o],o==="skipKeyboardNavigation"?!n:n),(0,et.error)(32,!1,e,{[`series.${o}`]:"series."+s[o].join(".")}))})})),de(e,["accessibility"],["accessibility"],{pointDateFormat:["point","dateFormat"],pointDateFormatter:["point","dateFormatter"],pointDescriptionFormatter:["point","descriptionFormatter"],pointDescriptionThreshold:["series","pointDescriptionEnabledThreshold"],pointNavigationThreshold:["keyboardNavigation","seriesNavigation","pointNavigationEnabledThreshold"],pointV
1alueDecimals:["point","valueDecimals"],pointValuePrefix:["point","valuePrefix"],pointValueSuffix:["point","valueSuffix"],screenReaderSectionFormatter:["screenReaderSection","beforeChartFormatter"],describeSingleSeries:["series","describeSingleSeries"],seriesDescriptionFormatter:["series","descriptionFormatter"],onTableAnchorClick:["screenReaderSection","onViewDataTableClick"],axisRangeDateFormat:["screenReaderSection","axisRangeDateFormat"]}),de(e,["accessibility","keyboardNavigation"],["accessibility","keyboardNavigation","seriesNavigation"],{skipNullPoints:["skipNullPoints"],mode:["mode"]}),de(e,["lang","accessibility"],["lang","accessibility"],{legendItem:["legend","legendItem"],legendLabel:["legend","legendLabel"],mapZoomIn:["zoom","mapZoomIn"],mapZoomOut:["zoom","mapZoomOut"],resetZoomButton:["zoom","resetZoomButton"],screenReaderRegionLabel:["screenReaderSection","beforeRegionLabel"],rangeSelectorButton:["rangeSelector","buttonText"],rangeSelectorMaxInput:["rangeSelector","maxInputLabel"],rangeSelectorMinInput:["rangeSelector","minInputLabel"],svgContainerEnd:["screenReaderSection","endOfChartMarker"],viewAsDataTable:["table","viewAsDataTableButtonText"],tableSummary:["table","tableSummary"]})},{defaultOptions:Nr}=A(),{doc:Br}=A(),{removeElement:Ir}=I;class ue{constructor(t){this.init(t)}init(t){if(this.chart=t,!Br?.addEventListener){this.zombie=!0,this.components={},t.renderTo.setAttribute("aria-hidden",!0);return}Dr(t),this.proxyProvider=new lr(this.chart),this.initComponents(),this.keyboardNavigation=new qe(t,this.components)}initComponents(){let t=this.chart,i=this.proxyProvider,s=t.options.accessibility;this.components={container:new ki,infoRegions:new Ui,legend:new Ge,chartMenu:new Ut,rangeSelector:new ii,series:new ai,zoom:new Mr,navigator:new Ks},s.customComponents&&Y(this.components,s.customComponents);let r=this.components;this.getComponentOrder().forEach(function(o){r[o].initBase(t,i),r[o].init()})}getComponentOrder(){return this.components?this.components.series?["series"].concat(Object.keys(this.components).filter(t=>t!=="series")):Object.keys(this.components):[]}update(){let t=this.components,i=this.chart,s=i.options.accessibility;F(i,"beforeA11yUpdate"),i.types=this.getChartTypes();let r=s.keyboardNavigation.order;this.proxyProvider.updateGroupOrder(r),this.getComponentOrder().forEach(function(o){t[o].onChartUpdate(),F(i,"afterA11yComponentUpdate",{name:o,component:t[o]})}),this.keyboardNavigation.update(r),!i.highContrastModeActive&&s.highContrastMode!==!1&&(kr()||s.highContrastMode===!0)&&Pr(i),F(i,"afterA11yUpdate",{accessibility:this})}destroy(){let t=this.chart||{},i=this.components;
1Object.keys(i).forEach(function(s){i[s].destroy(),i[s].destroyBase()}),this.proxyProvider&&this.proxyProvider.destroy(),t.announcerContainer&&Ir(t.announcerContainer),this.keyboardNavigation&&this.keyboardNavigation.destroy(),t.renderTo&&t.renderTo.setAttribute("aria-hidden",!0),t.focusElement&&t.focusElement.removeFocusBorder()}getChartTypes(){let t={};return this.chart.series.forEach(function(i){t[i.type]=1}),Object.keys(t)}}(function(e){function t(){this.accessibility&&this.accessibility.destroy()}function i(){this.a11yDirty&&this.renderTo&&(delete this.a11yDirty,this.updateA11yEnabled());let n=this.accessibility;n&&!n.zombie&&(n.proxyProvider.updateProxyElementPositions(),n.getComponentOrder().forEach(function(a){n.components[a].onChartRender()}))}function s(n){let a=n.options.accessibility;a&&(a.customComponents&&(this.options.accessibility.customComponents=a.customComponents,delete a.customComponents),B(!0,this.options.accessibility,a),this.accessibility&&this.accessibility.destroy&&(this.accessibility.destroy(),delete this.accessibility)),this.a11yDirty=!0}function r(){let n=this.accessibility,a=this.options.accessibility,h=this.renderer.boxWrapper.element,l=this.title;if(a&&a.enabled)n&&!n.zombie?n.update():(this.accessibility=n=new e(this),n&&!n.zombie&&n.update(),h.getAttribute("role")==="img"&&h.removeAttribute("role"));else if(n)n.destroy&&n.destroy(),delete this.accessibility;else{this.renderTo.setAttribute("role","img"),this.renderTo.setAttribute("aria-hidden",!1),this.renderTo.setAttribute("aria-label",(l&&l.element.textContent||"").replace(/</g,"<")),h.setAttribute("aria-hidden",!0);let c=document.getElementsByClassName("highcharts-description")[0];c&&(c.setAttribute("aria-hidden",!1),c.classList.remove("highcharts-linked-description"))}}function o(){this.series.chart.accessibility&&(this.series.chart.a11yDirty=!0)}e.i18nFormat=yt.i18nFormat,e.compose=function(n,a,h,l,c,d){qe.compose(n),se.compose(l),Ge.compose(n,a),Ut.compose(n),ai.compose(n,h,l),yt.compose(n),Pi.compose(n,c),d&&ii.compose(n,d);let p=n.prototype;p.updateA11yEnabled||(p.updateA11yEnabled=r,y(n,"destroy",t),y(n,"render",i),y(n,"update",s),["addSeries","init"].forEach(u=>{y(n,u,function(){this.a11yDirty=!0})}),["afterApplyDrilldown","drillupall"].forEach(u=>{y(n,u,function(){let g=this.accessibility;g&&!g.zombie&&g.update()})}),y(h,"update",o),["update","updatedData","remove"].forEach(u=>{y(l,u,function(){this.chart.accessibility&&(this.chart.a11yDirty=!0)})}))}})(ue||(ue={})),B(!0,Nr,{accessibility:{enabled:!0,screenReaderSection:{beforeChartFormat:"<{headingTagName}>{chartTitle}</{headingTagName}><div>{typeDescription}</div><div>{chartSubtitle}</div><div>{chartLongdesc}</div><div>{playAsSoundButton}</div><div>{viewTableButton}</div><div>{xAxisDescription}</div><div>{yAxisDescription}</div><div>{annotationsTitle}{annotationsList}</div>",afterChartFormat:"{endOfChartMarker}",axisRangeDateFormat:"%Y-%m-%d %H:%M:%S"},series:{descriptionFormat:"{seriesDescription}{authorDescription}{axisDescription}",describeSingleSeries:!1,pointDescriptionEnabledThreshold:200},point:{valueDescriptionFormat:"{xDescription}{separator}{value}.",describeNull:!0},landmarkVerbosity:"all",linkedDescription:'*[data-highcharts-chart="{index}"] + .highcharts-description',highContrastMode:"auto",keyboardNavigation:{enabled:!0,focusBorder:{enabled:!0,hideBrowserFocusOutline:!0,style:{color:"#334eff",lineWidth:2,borderRadius:3},margin:2},order:["series","zoom","rangeSelector","navigator","legend","chartMenu"],wrapAround:!0,seriesNavigation:{skipNullPoints:void 0,pointNavigationEnabledThreshold:!1,rememberPointFocus:!1}},announceNewData:{enabled:!1,minAnnounceInterval:5e3,interruptUser:!1}},legend:{accessibility:{enabled:!0,keyboardNavigation:{enabled:!0}}},exporting:{accessibility:{enabled:!0}},navigator:{accessibility:{enabled:!0}}},{accessibility:{highContrastTheme:Sr},lang:{accessibility:{defaultChartTitle:"Chart",chartContainerLabel:"{title}. Highcharts interactive chart.",svgContainerLabel:"Interactive chart",drillUpButton:"{buttonText}",credits:"Chart credits: {creditsStr}",thousandsSep:",",svgContainerTitle:"",graphicContainerLabel:"",screenReaderSection:{beforeRegionLabel:"",afterRegionLabel:"",annotations:{heading:"Chart annotations summary",descriptionSinglePoint:"{annotationText}. Related to {annotationPoint}",descriptionMultiplePoints:"{annotationText}. Related to {annotationPoint}{#each additionalAnnotationPoints}, also related to {this}{/each}",descriptionNoPoints:"{annotationText}"},endOfChartMarker:"End of interactive chart."},sonification:{playAsSoundButtonText:"Play as sound, {chartTitle}",playAsSoundClickAnnouncement:"Play"},legend:{legendLabelNoTitle:"Toggle series visibility, {chartTitle}",legendLabel:"Chart legend: {legendTitle}",legendItem:"Show {itemName}"}
1,zoom:{mapZoomIn:"Zoom chart",mapZoomOut:"Zoom out chart",resetZoomButton:"Reset zoom"},rangeSelector:{dropdownLabel:"{rangeTitle}",minInputLabel:"Select start date.",maxInputLabel:"Select end date.",clickButtonAnnouncement:"Viewing {axisRangeDescription}"},navigator:{handleLabel:"{#eq handleIx 0}Start, percent{else}End, percent{/eq}",groupLabel:"Axis zoom",changeAnnouncement:"{axisRangeDescription}"},stockTools:{groupLabel:"Stock chart tools",arrowLabel:"Toggle submenu"},table:{viewAsDataTableButtonText:"View as data table, {chartTitle}",tableSummary:"Table representation of chart."},announceNewData:{newDataAnnounce:"Updated data for chart {chartTitle}",newSeriesAnnounceSingle:"New data series: {seriesDesc}",newPointAnnounceSingle:"New data point: {pointDesc}",newSeriesAnnounceMultiple:"New data series in chart {chartTitle}: {seriesDesc}",newPointAnnounceMultiple:"New data point in chart {chartTitle}: {pointDesc}"},seriesTypeDescriptions:{boxplot:"Box plot charts are typically used to display groups of statistical data. Each data point in the chart can have up to 5 values: minimum, lower quartile, median, upper quartile, and maximum.",arearange:"Arearange charts are line charts displaying a range between a lower and higher value for each point.",areasplinerange:"These charts are line charts displaying a range between a lower and higher value for each point.",bubble:"Bubble charts are scatter charts where each data point also has a size value.",columnrange:"Columnrange charts are column charts displaying a range between a lower and higher value for each point.",errorbar:"Errorbar series are used to display the variability of the data.",funnel:"Funnel charts are used to display reduction of data in stages.",pyramid:"Pyramid charts consist of a single pyramid with item heights corresponding to each point value.",waterfall:"A waterfall chart is a column chart where each column contributes towards a total end value."},chartTypes:{emptyChart:"Empty chart",mapTypeDescription:"Map of {mapTitle} with {numSeries} data series.",unknownMap:"Map of unspecified region with {numSeries} data series.",combinationChart:"Combination chart with {numSeries} data series.",defaultSingle:"Chart with {numPoints} data {#eq numPoints 1}point{else}points{/eq}.",defaultMultiple:"Chart with {numSeries} data series.",splineSingle:"Line chart with {numPoints} data {#eq numPoints 1}point{else}points{/eq}.",splineMultiple:"Line chart with {numSeries} lines.",lineSingle:"Line chart with {numPoints} data {#eq numPoints 1}point{else}points{/eq}.",lineMultiple:"Line chart with {numSeries} lines.",columnSingle:"Bar chart with {numPoints} {#eq numPoints 1}bar{else}bars{/eq}.",columnMultiple:"Bar chart with {numSeries} data series.",barSingle:"Bar chart with {numPoints} {#eq numPoints 1}bar{else}bars{/eq}.",barMultiple:"Bar chart with {numSeries} data series.",pieSingle:"Pie chart with {numPoints} {#eq numPoints 1}slice{else}slices{/eq}.",pieMultiple:"Pie chart with {numSeries} pies.",scatterSingle:"Scatter chart with {numPoints} {#eq numPoints 1}point{else}points{/eq}.",scatterMultiple:"Scatter chart with {numSeries} data series.",boxplotSingle:"Boxplot with {numPoints} {#eq numPoints 1}box{else}boxes{/eq}.",boxplotMultiple:"Boxplot with {numSeries} data series.",bubbleSingle:"Bubble chart with {numPoints} {#eq numPoints 1}bubbles{else}bubble{/eq}.",bubbleMultiple:"Bubble chart with {numSeries} data series."},axis:{xAxisDescriptionSingular:"The chart has 1 X axis displaying {names[0]}. {ranges[0]}",xAxisDescriptionPlural:"The chart has {numAxes} X axes displaying {#each names}{#unless @first},{/unless}{#if @last} and{/if} {this}{/each}.",yAxisDescriptionSingular:"The chart has 1 Y axis displaying {names[0]}. {ranges[0]}",yAxisDescriptionPlural:"The chart has {numAxes} Y axes displaying {#each names}{#unless @first},{/unless}{#if @last} and{/if} {this}{/each}.",timeRangeDays:"Data range: {range} days.",timeRangeHours:"Data range: {range} hours.",timeRangeMinutes:"Data range: {range} minutes.",timeRangeSeconds:"Data range: {range} seconds.",rangeFromTo:"Data ranges from {rangeFrom} to {rangeTo}.",rangeCategories:"Data range: {numCategories}
1 categories.",defaultAxisNames:{categories:"categories",time:"Time",values:"values"}},exporting:{chartMenuLabel:"Chart menu",menuButtonLabel:"View chart menu, {chartTitle}"},series:{summary:{default:"{series.name}, series {seriesNumber} of {chart.series.length} with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",defaultCombination:"{series.name}, series {seriesNumber} of {chart.series.length} with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",line:"{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",lineCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",spline:"{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",splineCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",column:"{series.name}, bar series {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}bar{else}bars{/eq}.",columnCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bar series with {series.points.length} {#eq series.points.length 1}bar{else}bars{/eq}.",bar:"{series.name}, bar series {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}bar{else}bars{/eq}.",barCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bar series with {series.points.length} {#eq series.points.length 1}bar{else}bars{/eq}.",pie:"{series.name}, pie {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}slice{else}slices{/eq}.",pieCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Pie with {series.points.length} {#eq series.points.length 1}slice{else}slices{/eq}.",scatter:"{series.name}, scatter plot {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}point{else}points{/eq}.",scatterCombination:"{series.name}, series {seriesNumber} of {chart.series.length}, scatter plot with {series.points.length} {#eq series.points.length 1}point{else}points{/eq}.",boxplot:"{series.name}, boxplot {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}box{else}boxes{/eq}.",boxplotCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Boxplot with {series.points.length} {#eq series.points.length 1}box{else}boxes{/eq}.",bubble:"{series.name}, bubble series {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}bubble{else}bubbles{/eq}.",bubbleCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bubble series with {series.points.length} {#eq series.points.length 1}bubble{else}bubbles{/eq}.",map:"{series.name}, map {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}area{else}areas{/eq}.",mapCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Map with {series.points.length} {#eq series.points.length 1}area{else}areas{/eq}.",mapline:"{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",maplineCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",mapbubble:"{series.name}, bubble series {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}bubble{else}bubbles{/eq}.",mapbubbleCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bubble series with {series.points.length} {#eq series.points.length 1}bubble{else}bubbles{/eq}."},description:"{description}",xAxisDescription:"X axis, {name}",yAxisDescription:"Y axis, {name}",nullPointValue:"No value",pointAnnotationsDescription:"{#each annotations}Annotation: {this}{/each}"}}}});let hi=ue,q=A();
1q.i18nFormat=hi.i18nFormat,q.A11yChartUtilities=R,q.A11yHTMLUtilities=I,q.AccessibilityComponent=j,q.KeyboardNavigationHandler=V,q.SeriesAccessibilityDescriber=te,hi.compose(q.Chart,q.Legend,q.Point,q.Series,q.SVGElement,q.RangeSelector);let Fr=A();return me.default})())});export default Lr();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.