!/**
 * Highcharts JS v12.6.0 (2026-04-13)
 * @module highcharts/modules/accessibility
 * @requires highcharts
 *
 * Accessibility module
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Øystein Moseng
 *
 * A commercial license may be required depending on use.
 * See www.highcharts.com/license
 */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.Templating,e._Highcharts.AST,e._Highcharts.Legend,e._Highcharts.Axis,e._Highcharts.Color,e._Highcharts.SeriesRegistry,e._Highcharts.RendererRegistry,e._Highcharts.Point,e._Highcharts.Series):"function"==typeof define&&define.amd?define("highcharts/modules/accessibility",["highcharts/highcharts"],function(e){return t(e,e.Templating,e.AST,e.Legend,e.Axis,e.Color,e.SeriesRegistry,e.RendererRegistry,e.Point,e.Series)}):"object"==typeof exports?exports["highcharts/modules/accessibility"]=t(e._Highcharts,e._Highcharts.Templating,e._Highcharts.AST,e._Highcharts.Legend,e._Highcharts.Axis,e._Highcharts.Color,e._Highcharts.SeriesRegistry,e._Highcharts.RendererRegistry,e._Highcharts.Point,e._Highcharts.Series):e.Highcharts=t(e.Highcharts,e.Highcharts.Templating,e.Highcharts.AST,e.Highcharts.Legend,e.Highcharts.Axis,e.Highcharts.Color,e.Highcharts.SeriesRegistry,e.Highcharts.RendererRegistry,e.Highcharts.Point,e.Highcharts.Series)}("u"<typeof window?this:window,(e,t,i,s,r,n,o,a,l,h)=>(()=>{"use strict";let c;var d,u,p,g,m={260:e=>{e.exports=l},512:e=>{e.exports=o},532:e=>{e.exports=r},608:e=>{e.exports=a},620:e=>{e.exports=n},632:e=>{e.exports=s},660:e=>{e.exports=i},820:e=>{e.exports=h},944:t=>{t.exports=e},984:e=>{e.exports=t}},b={};function f(e){var t=b[e];if(void 0!==t)return t.exports;var i=b[e]={exports:{}};return m[e](i,i.exports,f),i.exports}f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},f.d=(e,t)=>{for(var i in t)f.o(t,i)&&!f.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var x={};f.d(x,{default:()=>sw});var y=f(944),v=f.n(y);let{doc:w,win:E}=v();function A(e,t,i,s={}){let r="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(r,"hcEvents")||(r.hcEvents={});let n=r.hcEvents;v().Point&&e instanceof v().Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let o=e.addEventListener;o&&o.call(e,t,i,!!v().supportsPassiveEvents&&{passive:void 0===s.passive?-1!==t.indexOf("touch"):s.passive,capture:!1}),n[t]||(n[t]=[]);let a={fn:i,order:"number"==typeof s.order?s.order:1/0};return n[t].push(a),n[t].sort((e,t)=>e.order-t.order),function(){X(e,t,i)}}function T(e,t,i){let s,r=z(t)&&!S(i),n=(t,i)=>{S(t)?e.setAttribute(i,t):r?(s=e.getAttribute(i))||"class"!==i||(s=e.getAttribute(i+"Name")):e.removeAttribute(i)};return z(t)?n(i,t):U(t,n),s}function M(e,t,i){return e>t?e<i?e:i:t}function C(e,t){return e>1e14?e:parseFloat(e.toPrecision(t||14))}function k(e,t=0,i){let s=t%2/2,r=i?-1:1;return(Math.round(e*r-s)+s)*r}function P(e,t){B(e.style,t)}function S(e){return null!=e}function D(e,t,i){U(e,function(s,r){s!==t&&s?.destroy&&s.destroy(),(s?.destroy||!i)&&delete e[r]})}function N(e,t){let i=e.length;for(;i--;)if(e[i]===t){e.splice(i,1);break}}function B(e,t){let i;for(i in e||(e={}),t)e[i]=t[i];return e}function I(e,t,i,s){if(i=i||{},w?.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==v())){let s=w.createEvent("Events");s.initEvent(t,!0,!0),i=B(s,i),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent(t,i)}else if(e.hcEvents){i.target||B(i,{preventDefault:function(){i.defaultPrevented=!0},target:e,type:t});let s=[],r=e,n=!1;for(;r.hcEvents;)Object.hasOwnProperty.call(r,"hcEvents")&&r.hcEvents[t]&&(s.length&&(n=!0),s.unshift.apply(s,r.hcEvents[t])),r=Object.getPrototypeOf(r);n&&s.sort((e,t)=>e.order-t.order),s.forEach(t=>{!1===t.fn.call(e,i,e)&&i.preventDefault()})}s&&!i.defaultPrevented&&s.call(e,i)}function F(e,t){let i=e.split(".");for(;i.length&&S(t);){let e=i.shift();if(void 0===e||"__proto__"===e)return;if("this"===e){let e;return K(t)&&(e=t["@this"]),e??t}let s=t[e.replace(/[\\'"]/g,"")];if(!S(s)||"function"==typeof s||"number"==typeof s.nodeType||s===E)return;t=s}return t}let O=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 R(e){S(e)&&clearTimeout(e)}function L(e){return K(e)&&"number"==typeof e.nodeType}function H(e){return"number"==typeof e&&!isNaN(e)&&e<1/0&&e>-1/0}function z(e){return"string"==typeof e}function q(e){let t=Object.prototype.toString.call(e);return"[object Array]"===t||"[object Array Iterator]"===t}function K(e,t){return!!e&&"object"==typeof e&&(!t||!q(e))}function G(e,...t){let i,s=[e,...t],r={},n=function(e,t){return"object"!=typeof e&&(e={}),U(t,function(i,s){if("__proto__"!==s&&"constructor"!==s){let r;!K(i,!0)||(r=i?.constructor,K(i,!0)&&!L(i)&&r?.name&&"Object"!==r.name)||L(i)?e[s]=t[s]:e[s]=n(e[s]||{},i)}}),e};!0===e&&(r=s[1],s=Array.prototype.slice.call(s,2));let o=s.length;for(i=0;i<o;i++)r=n(r,s[i]);return r}function U(e,t,i){for(let s in e)Object.hasOwnProperty.call(e,s)&&t.call(i||e[s],e[s],s,e)}function W(){let e=arguments,t=e.length;for(let i=0;i<t;i++){let t=e[i];if(null!=t)return t}}function V(e,t){return 0>e.indexOf(t)&&!!e.push(t)}function X(e,t,i){function s(t,i){let s=e.removeEventListener;s&&s.call(e,t,i,!1)}function r(i){let r,n;e.nodeName&&(t?(r={})[t]=!0:r=i,U(r,function(e,t){if(i[t])for(n=i[t].length;n--;)s(t,i[t][n].fn)}))}let n="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(n,"hcEvents")){let e=n.hcEvents;if(t){let n=e[t]||[];i?(e[t]=n.filter(function(e){return i!==e.fn}),s(t,i)):(r(e),e[t]=[])}else r(e),delete n.hcEvents}}function j(e,t,i){return t>0?setTimeout(e,t,i):(e.call(0,i),-1)}let{doc:Y,win:_}=v(),Z=_.EventTarget&&new _.EventTarget||"none";function $(e){if("function"==typeof _.MouseEvent)return new _.MouseEvent(e.type,e);if(Y?.createEvent){let t=Y.createEvent("MouseEvent");if(t.initMouseEvent)return t.initMouseEvent(e.type,e.bubbles,e.cancelable,e.view||_,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),t}return Q(e.type)}function Q(e,t,i){let s=t||{x:0,y:0};if("function"==typeof _.MouseEvent)return new _.MouseEvent(e,{bubbles:!0,cancelable:!0,composed:!0,button:0,buttons:1,relatedTarget:i||Z,view:_,detail:+("click"===e),screenX:s.x,screenY:s.y,clientX:s.x,clientY:s.y});if(Y?.createEvent){let t=Y.createEvent("MouseEvent");if(t.initMouseEvent)return t.initMouseEvent(e,!0,!0,_,+("click"===e),s.x,s.y,s.x,s.y,!1,!1,!1,!1,0,null),t}return{type:e}}let J={addClass:function(e,t){e.classList?e.classList.add(t):0>e.className.indexOf(t)&&(e.className+=" "+t)},cloneMouseEvent:$,cloneTouchEvent:function(e){let t=e=>{let t=[];for(let i=0;i<e.length;++i){let s=e.item(i);s&&t.push(s)}return t};if("function"==typeof _.TouchEvent){let i=new _.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&&i.preventDefault(),i}let i=$(e);return i.touches=e.touches,i.changedTouches=e.changedTouches,i.targetTouches=e.targetTouches,i},escapeStringForHTML:function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;")},getElement:function(e){return Y.getElementById(e)},getFakeMouseEvent:Q,getHeadingTagNameForElement:function(e){let t=e=>"h"+Math.min(6,parseInt(e.slice(1),10)+1),i=e=>/^H[1-6]$/i.test(e),s=e=>{let r=(e=>{let t=e;for(;t=t.previousSibling;){let e=t.tagName||"";if(i(e))return e}return""})(e);if(r)return t(r);let n=e.parentElement;if(!n)return"h6";let o=n.tagName;return i(o)?t(o):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:Z,stripHTMLTagsFromString:function(e,t=!1){return"string"==typeof e?t?e.replace(/<\/?[^>]+(>|$)/g,""):e.replace(/<\/?(?!\s)[^>]+(>|$)/g,""):e},visuallyHideElement:function(e){P(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 ee=f(984),et=f.n(ee);let{format:ei}=et();var es=d||(d={});function er(e,t,i){let s=(e,t)=>{let i=e.slice(t||0),s=i.indexOf("{"),r=i.indexOf("}");if(s>-1&&r>s)return{statement:i.substring(s+1,r),begin:t+s+1,end:t+r}},r=[],n,o,a=0;do n=s(e,a),(o=e.substring(a,n&&n.begin-1)).length&&r.push({value:o,type:"constant"}),n&&r.push({value:n.statement,type:"statement"}),a=n?n.end+1:a+1;while(n);return r.forEach(e=>{"statement"===e.type&&(e.value=function(e,t){let i,s,r=e.indexOf("#each("),n=e.indexOf("#plural("),o=e.indexOf("["),a=e.indexOf("]");if(r>-1){let n=e.slice(r).indexOf(")")+r,o=e.substring(0,r),a=e.substring(n+1),l=e.substring(r+6,n).split(","),h=Number(l[1]),c;if(s="",i=F(l[0],t)){c=(h=isNaN(h)?i.length:h)<0?i.length+h:Math.min(h,i.length);for(let e=0;e<c;++e)s+=o+i[e]+a}return s.length?s:""}if(n>-1){var l;let i=e.slice(n).indexOf(")")+n,r=e.substring(n+8,i).split(",");switch(Number(F(r[0],t))){case 0:s=W(r[4],r[1]);break;case 1:s=W(r[2],r[1]);break;case 2:s=W(r[3],r[1]);break;default:s=r[1]}return s?(l=s).trim&&l.trim()||l.replace(/^\s+|\s+$/g,""):""}if(o>-1){let s,r=e.substring(0,o),n=Number(e.substring(o+1,a));return i=F(r,t),!isNaN(n)&&i&&(n<0?void 0===(s=i[i.length+n])&&(s=i[0]):void 0===(s=i[n])&&(s=i[i.length-1])),void 0!==s?s:""}return"{"+e+"}"}(e.value,t))}),ei(r.reduce((e,t)=>e+t.value,""),t,i)}function en(e,t){let i=e.split("."),s=this.options.lang,r=0;for(;r<i.length;++r)s=s&&s[i[r]];return"string"==typeof s?er(s,t,this):""}es.compose=function(e){let t=e.prototype;t.langFormat||(t.langFormat=en)},es.i18nFormat=er;let eo=d,{doc:ea}=v(),{stripHTMLTagsFromString:el}=J;function eh(e){if(e.points&&e.points.length){let t=O(e.points,e=>!!e.graphic);return t&&t.graphic&&t.graphic.element}}function ec(e){let t=eh(e);return t&&t.parentNode||e.graph&&e.graph.element||e.group&&e.group.element}let ed={fireEventOnWrappedOrUnwrappedElement:function e(t,i){let s=i.type,r=t.hcEvents;ea?.createEvent&&(t.dispatchEvent||t.fireEvent)?t.dispatchEvent?t.dispatchEvent(i):t.fireEvent(s,i):r&&r[s]?I(t,s,i):t.element&&e(t.element,i)},getChartTitle:function(e){return el(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,n,o,a,l,h,c,d,u,p,g,m,b=e.options||{};return b.accessibility&&void 0!==b.accessibility.rangeDescription?b.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&&(0===e.min||0===e.dataMin)?(n=(i=e).chart,o={},a=i.dataMin||i.min||0,l=i.dataMax||i.max||0,h="Seconds",o.Seconds=(l-a)/1e3,o.Minutes=o.Seconds/60,o.Hours=o.Minutes/60,o.Days=o.Hours/24,["Minutes","Hours","Days"].forEach(function(e){o[e]>2&&(h=e)}),c=o[h].toFixed(+("Seconds"!==h&&"Minutes"!==h)),n.langFormat("accessibility.axis.timeRange"+h,{chart:n,axis:i,range:c.replace(".0","")})):(p=(u=(d=(s=e).chart).options)&&u.accessibility&&u.accessibility.screenReaderSection.axisRangeDateFormat||"",g={min:s.dataMin||s.min||0,max:s.dataMax||s.max||0},m=function(e){return s.dateTime?d.time.dateFormat(p,g[e]):g[e].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=O(e[s].points||[],function(e){return e.x===t&&e.y===i}))return r},getSeriesFirstPointElement:eh,getSeriesFromName:function(e,t){return t?(e.series||[]).filter(function(e){return e.name===t}):e.series},getSeriesA11yElement:ec,unhideChartElementFromAT:function e(t,i){i.setAttribute("aria-hidden",!1),i!==t.renderTo&&i.parentNode&&i.parentNode!==ea.body&&(Array.prototype.forEach.call(i.parentNode.childNodes,function(e){e.hasAttribute("aria-hidden")||e.setAttribute("aria-hidden",!0)}),e(t,i.parentNode))},hideSeriesFromAT:function(e){let t=ec(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&&S(r.to)&&S(r.from)){let t=r.to-r.from,i=function(e,t){if(!S(e.dataMin)||!S(e.dataMax))return 0;let i=e.toPixels(e.dataMin),s=e.toPixels(e.dataMax),r="xAxis"===e.coll?"x":"y";return(e.toPixels(t[r]||0)-i)/(s-i)}(s,e);r.updatePosition(i-t/2,i+t/2),I(r,"changed",{from:r.from,to:r.to,trigger:"scrollbar",DOMEvent:null})}}},{doc:eu}=v(),{removeElement:ep}=J,eg=class{constructor(){this.elements=[]}createElement(){let e=eu.createElement.apply(eu,arguments);return this.elements.push(e),e}removeElement(e){ep(e),this.elements.splice(this.elements.indexOf(e),1)}destroyCreatedElements(){this.elements.forEach(function(e){ep(e)}),this.elements=[]}},em=class{constructor(){this.eventRemovers=[]}addEvent(){let e=A.apply(v(),arguments);return this.eventRemovers.push({element:arguments[0],remover:e}),e}removeEvent(e){let t=this.eventRemovers.map(e=>e.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:eb}=ed,{getFakeMouseEvent:ef}=J,ex=class{destroy(){}getKeyboardNavigation(){return[]}init(){}onChartRender(){}onChartUpdate(){}initBase(e,t){this.chart=e,this.eventProvider=new em,this.domElementProvider=new eg,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){eb(e,ef("click"))}destroyBase(){this.domElementProvider.destroyCreatedElements(),this.eventProvider.removeAddedEvents()}},ey=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=O(this.keyCodeMap,function(e){return e[0].indexOf(t)>-1});return s?i=s[1].call(this,t,e):9===t&&(i=this.response[e.shiftKey?"prev":"next"]),i}},{unhideChartElementFromAT:ev,getChartTitle:ew}=ed,{doc:eE}=v(),{stripHTMLTagsFromString:eA}=J,eT=class extends ex{onChartUpdate(){this.handleSVGTitleElement(),this.setSVGContainerLabel(),this.setGraphicContainerAttrs(),this.setRenderToAttrs(),this.makeCreditsAccessible()}handleSVGTitleElement(){let e=this.chart,t="highcharts-title-"+e.index,i=eA(e.langFormat("accessibility.svgContainerTitle",{chartTitle:ew(e)}));if(i.length){let s=this.svgTitleElement=this.svgTitleElement||eE.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:ew(e)});e.renderer.box&&t.length&&e.renderer.box.setAttribute("aria-label",t)}setGraphicContainerAttrs(){let e=this.chart,t=e.langFormat("accessibility.graphicContainerLabel",{chartTitle:ew(e)});t.length&&e.container.setAttribute("aria-label",t)}setRenderToAttrs(){let e=this.chart,t="disabled"!==e.options.accessibility.landmarkVerbosity,i=e.langFormat("accessibility.chartContainerLabel",{title:ew(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:eA(t.textStr,e.renderer.forExport)})),ev(e,t.element))}getKeyboardNavigation(){let e=this.chart;return new ey(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 e=this.focusElement,t=this.options.accessibility.keyboardNavigation.focusBorder;e&&(e.removeFocusBorder(),t.enabled&&e.addFocusBorder(t.margin,{stroke:t.style.color,strokeWidth:t.style.lineWidth,r:t.style.borderRadius}))}function s(e,t){let i=this.options.accessibility.keyboardNavigation.focusBorder,s=t||e.element;s&&s.focus&&(s.hcEvents&&s.hcEvents.focusin||A(s,"focusin",function(){}),s.focus(),i.hideBrowserFocusOutline&&(s.style.outline="none")),this.focusElement&&this.focusElement.removeFocusBorder(),this.focusElement=e,A(this,"endResize",function(){this.renderFocusBorder()}),this.renderFocusBorder()}function r(e,i){this.focusBorder&&this.removeFocusBorder();let s=this.getBBox(),r=W(e,3),n=this.parentGroup,o=this.scaleX||n&&n.scaleX,a=this.scaleY||n&&n.scaleY,l=(o?!a:a)?Math.abs(o||a||1):(Math.abs(o||1)+Math.abs(a||1))/2,h=this.renderer.fontMetrics(this).h;s.x+=this.translateX?this.translateX:0,s.y+=this.translateY?this.translateY:0;let c=s.x-r,d=s.y-r,u=s.width+2*r,p=s.height+2*r,g=!!this.text;if("text"===this.element.nodeName||g){let e,t,i=!!this.rotation,n=g?{x:+!!i,y:0}:(e=0,t=0,"middle"===this.attr("text-anchor")?e=t=.5:this.rotation?e=.25:t=.75,{x:e,y:t}),o=+this.attr("x"),a=+this.attr("y");if(isNaN(o)||(c=o-s.width*n.x-r),isNaN(a)||(d=a-("start"===this.attr("text-anchor")?h:s.height)*n.y-r),g&&i){let e=u;u=p,p=e,isNaN(o)||(c=o-s.height*n.x-r),isNaN(a)||(d=a-s.width*n.y-r)}}this.focusBorder=this.renderer.rect(c,d,u,p,parseInt((i&&i.r||0).toString(),10)/l).addClass("highcharts-focus-border").attr({zIndex:99}).add(n),this.renderer.styledMode||this.focusBorder.attr({stroke:i&&i.stroke,"stroke-width":(i&&i.strokeWidth||0)/l}),function(e,...i){e.focusBorderUpdateHooks||(e.focusBorderUpdateHooks={},t.forEach(t=>{let s=t+"Setter",r=e[s]||e._defaultSetter;e.focusBorderUpdateHooks[s]=r,e[s]=function(){let t=r.apply(e,arguments);return e.addFocusBorder.apply(e,i),t}}))}(this,e,i),function(e){if(e.focusBorderDestroyHook)return;let t=e.destroy;e.destroy=function(){return e.focusBorder&&e.focusBorder.destroy&&e.focusBorder.destroy(),t.apply(e,arguments)},e.focusBorderDestroyHook=t}(this)}function n(){var e;e=this,e.focusBorderUpdateHooks&&(Object.keys(e.focusBorderUpdateHooks).forEach(t=>{let i=e.focusBorderUpdateHooks[t];i===e._defaultSetter?delete e[t]:e[t]=i}),delete e.focusBorderUpdateHooks),this.focusBorderDestroyHook&&(this.destroy=this.focusBorderDestroyHook,delete this.focusBorderDestroyHook),this.focusBorder&&(this.focusBorder.destroy(),delete this.focusBorder)}e.compose=function(e,t){let o=e.prototype,a=t.prototype;o.renderFocusBorder||(o.renderFocusBorder=i,o.setFocusToElement=s),a.addFocusBorder||(a.addFocusBorder=r,a.removeFocusBorder=n)}}(u||(u={}));let eM=u;var eC=f(660),ek=f.n(eC);let{doc:eP}=v(),{addClass:eS,visuallyHideElement:eD}=J,eN=class{constructor(e,t){this.chart=e,this.domElementProvider=new eg,this.announceRegion=this.addAnnounceRegion(t)}destroy(){this.domElementProvider.destroyCreatedElements()}announce(e){ek().setElementHTML(this.announceRegion,e),this.clearAnnouncementRegionTimer&&R(this.clearAnnouncementRegionTimer),this.clearAnnouncementRegionTimer=setTimeout(()=>{this.announceRegion.innerHTML=ek().emptyHTML,delete this.clearAnnouncementRegionTimer},3e3)}addAnnounceRegion(e){let t=this.chart.announcerContainer||this.createAnnouncerContainer(),i=this.domElementProvider.createElement("div");return T(i,{"aria-hidden":!1,"aria-live":e,"aria-atomic":!0}),this.chart.styledMode?eS(i,"highcharts-visually-hidden"):eD(i),t.appendChild(i),i}createAnnouncerContainer(){let e=this.chart,t=eP.createElement("div");return T(t,{"aria-hidden":!1,class:"highcharts-announcer-container"}),t.style.position="relative",e.renderTo.insertBefore(t,e.renderTo.firstChild),e.announcerContainer=t,t}},{escapeStringForHTML:eB,stripHTMLTagsFromString:eI}=J;function eF(e){return(e.annotations||[]).reduce((e,t)=>(t.options&&!1!==t.options.visible&&(e=e.concat(t.labels)),e),[])}function eO(e){return e.options&&e.options.accessibility&&e.options.accessibility.description||e.graphic&&e.graphic.text&&e.graphic.text.textStr||""}function eR(e){let t=e.options&&e.options.accessibility&&e.options.accessibility.description;if(t)return t;let i=e.chart,s=eO(e),r=e.points.filter(e=>!!e.graphic).map(e=>{let t=e.accessibility&&e.accessibility.valueDescription||e.graphic&&e.graphic.element&&e.graphic.element.getAttribute("aria-label")||"",i=e&&e.series.name||"";return(i?i+", ":"")+"data point "+t}).filter(e=>!!e),n=r.length,o=n>1?"MultiplePoints":n?"SinglePoint":"NoPoints",a={annotationText:s,annotation:e,numPoints:n,annotationPoint:r[0],additionalAnnotationPoints:r.slice(1)};return i.langFormat("accessibility.screenReaderSection.annotations.description"+o,a)}function eL(e){return eF(e).map(t=>{let i=eB(eI(eR(t),e.renderer.forExport));return i?`<li>${i}</li>`:""})}let eH={getAnnotationsInfoHTML:function(e){let t=e.annotations;if(!(t&&t.length))return"";let i=eL(e);return`<ul style="list-style-type: none">${i.join(" ")}</ul>`},getAnnotationLabelDescription:eR,getAnnotationListItems:eL,getPointAnnotationTexts:function(e){let t=eF(e.series.chart).filter(t=>t.points.indexOf(e)>-1);return t.length?t.map(e=>`${eO(e)}`):[]}},{getAnnotationsInfoHTML:ez}=eH,{getAxisDescription:eq,getAxisRangeDescription:eK,getChartTitle:eG,unhideChartElementFromAT:eU}=ed,{format:eW}=et(),{doc:eV}=v(),{addClass:eX,getElement:ej,getHeadingTagNameForElement:eY,stripHTMLTagsFromString:e_,visuallyHideElement:eZ}=J;function e$(e){return function(e,...t){let i,s;do for(s of(i=e,t))e=e.replace(s[0],s[1]);while(e!==i);return e}(e,[/<([\w\-.:!]+)\b[^<>]*>\s*<\/\1>/g,""])}let eQ=class extends ex{constructor(){super(...arguments),this.screenReaderSections={}}init(){let e=this.chart,t=this;this.initRegionsDefinitions(),this.addEvent(e,"afterGetTableAST",function(e){t.onDataTableCreated(e)}),this.addEvent(e,"afterViewData",function(e){e.wasHidden&&(t.dataTableDiv=e.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 eN(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(e,t){t.renderTo.insertBefore(e,t.renderTo.firstChild)},afterInserted:function(){void 0!==e.sonifyButtonId&&e.initSonifyButton(e.sonifyButtonId),void 0!==e.dataTableButtonId&&e.initDataTableButton(e.dataTableButtonId)}},after:{element:null,buildContent:function(i){let s=t.screenReaderSection.afterChartFormatter;return s?s(i,e):e.defaultAfterChartFormatter()},insertIntoDOM:function(e,t){t.renderTo.insertBefore(e,t.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("string"!=typeof e)return e;let t=eW(e,this.chart),i=eV.querySelectorAll(t);if(1===i.length)return i[0]}setLinkedDescriptionAttrs(){let e=this.linkedDescriptionElement;e&&(e.setAttribute("aria-hidden","true"),eX(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"),n=r.firstChild||this.createElement("div");s?(this.setScreenReaderSectionAttribs(r,e),ek().setElementHTML(n,s),r.appendChild(n),i.insertIntoDOM(r,t),t.styledMode?eX(n,"highcharts-visually-hidden"):eZ(n),eU(t,n),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:eG(i)});T(e,{id:`highcharts-screen-reader-region-${t}-${i.index}`,"aria-label":s||void 0}),e.style.position="relative",s&&e.setAttribute("role","all"===i.options.accessibility.landmarkVerbosity?"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,n="hc-linkto-highcharts-data-table-"+e.index,o=ez(e),a=e.langFormat("accessibility.screenReaderSection.annotations.heading",{chart:e}),l={headingTagName:eY(e.renderTo),chartTitle:eG(e),typeDescription:this.getTypeDescriptionText(),chartSubtitle:this.getSubtitleText(),chartLongdesc:this.getLongdescText(),xAxisDescription:i.xAxis,yAxisDescription:i.yAxis,playAsSoundButton:s?this.getSonifyButtonText(r):"",viewTableButton:e.exporting?.getCSV?this.getDataTableButtonText(n):"",annotationsTitle:o?a:"",annotationsList:o},h=eo.i18nFormat(t,l,e);return this.dataTableButtonId=n,this.sonifyButtonId=r,e$(h)}defaultAfterChartFormatter(){let e=this.chart,t=e.options.accessibility.screenReaderSection.afterChartFormat;if(!t)return"";let i={endOfChartMarker:this.getEndOfChartMarkerText()};return e$(eo.i18nFormat(t,i,e))}getLinkedDescription(){let e=this.linkedDescriptionElement;return e_(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(e,t){let i,s,r,n=t[0],o=e.series&&e.series[0]||{},a=e.mapView&&e.mapView.geoMap&&e.mapView.geoMap.title,l={numSeries:e.series.length,numPoints:o.points&&o.points.length,chart:e,mapTitle:a};return n?"map"===n||"tiledwebmap"===n?l.mapTitle?e.langFormat("accessibility.chartTypes.mapTypeDescription",l):e.langFormat("accessibility.chartTypes.unknownMap",l):e.types.length>1?e.langFormat("accessibility.chartTypes.combinationChart",l):(i=t[0],s=e.langFormat("accessibility.seriesTypeDescriptions."+i,l),r=e.series&&e.series.length<2?"Single":"Multiple",(e.langFormat("accessibility.chartTypes."+i+r,l)||e.langFormat("accessibility.chartTypes.default"+r,l))+(s?" "+s:"")):e.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:eG(t)})+"</button>"}getSonifyButtonText(e){let t=this.chart;return t.options.sonification&&!1===t.options.sonification.enabled?"":'<button id="'+e+'">'+t.langFormat("accessibility.sonification.playAsSoundButtonText",{chart:t,chartTitle:eG(t)})+"</button>"}getSubtitleText(){let e=this.chart.options.subtitle;return e_(e&&e.text||"",this.chart.renderer.forExport)}getEndOfChartMarkerText(){let e=ej(`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=ej(e),i=this.chart,s=e=>{t&&(t.setAttribute("aria-hidden","true"),t.setAttribute("aria-label","")),e.preventDefault(),e.stopPropagation();let s=i.langFormat("accessibility.sonification.playAsSoundClickAnnouncement",{chart:i});this.announcer.announce(s),setTimeout(()=>{t&&(t.removeAttribute("aria-hidden"),t.removeAttribute("aria-label")),i.sonify&&i.sonify()},1e3)};t&&i&&(t.setAttribute("tabindex",-1),t.onclick=function(e){(i.options.accessibility&&i.options.accessibility.screenReaderSection.onPlayAsSoundClick||s).call(this,e,i,this)})}initDataTableButton(e){let t=this.viewDataTableButton=ej(e),i=this.chart,s=e.replace("hc-linkto-","");t&&(T(t,{tabindex:-1,"aria-expanded":!!ej(s)}),t.onclick=i.options.accessibility.screenReaderSection.onViewDataTableClick||function(){i.exporting?.viewData()})}getAxesDescription(){let e=this.chart,t=function(t,i){let s=e[t];return s.length>1||s[0]&&W(s[0].options.accessibility&&s[0].options.accessibility.enabled,i)},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),n=t("yAxis",s&&i),o={};return r&&(o.xAxis=this.getAxisDescriptionText("xAxis")),n&&(o.yAxis=this.getAxisDescriptionText("yAxis")),o}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(e){return eq(e)}),ranges:i.map(function(e){return eK(e)}),numAxes:i.length})}destroy(){this.announcer&&this.announcer.destroy()}},{getChartTitle:eJ,unhideChartElementFromAT:e0}=ed,{getFakeMouseEvent:e1}=J;function e2(e){return e.exporting?.svgElements?.[0]}class e3 extends ex{init(){let e=this.chart,t=this;this.addEvent(e,"exportMenuShown",function(){t.onMenuShown()}),this.addEvent(e,"exportMenuHidden",function(){t.onMenuHidden()}),this.createProxyGroup()}onMenuHidden(){let e=this.chart.exporting?.contextMenuEl;e&&e.setAttribute("aria-hidden","true"),this.setExportButtonExpandedState("false")}onMenuShown(){let e=this.chart,t=e.exporting?.contextMenuEl;t&&(this.addAccessibleContextMenuAttribs(),e0(e,t)),this.setExportButtonExpandedState("true")}setExportButtonExpandedState(e){this.exportButtonProxy&&this.exportButtonProxy.innerElement.setAttribute("aria-expanded",e)}onChartRender(){let e=this.chart,t=e.focusElement,i=e.accessibility;this.proxyProvider.clearGroup("chartMenu"),this.proxyMenuButton(),this.exportButtonProxy&&t&&t===e.exporting?.group&&(t.focusBorder?e.setFocusToElement(t,this.exportButtonProxy.innerElement):i&&i.keyboardNavigation.tabindexContainer.focus())}proxyMenuButton(){let e,t,i=this.chart,s=this.proxyProvider,r=e2(i);e=i.options.exporting,t=e2(i),e&&!1!==e.enabled&&e.accessibility&&e.accessibility.enabled&&t&&t.element&&r&&(this.exportButtonProxy=s.addProxyElement("chartMenu",{click:r},"button",{"aria-label":i.langFormat("accessibility.exporting.menuButtonLabel",{chart:i,chartTitle:eJ(i)}),"aria-expanded":!1,title:i.options.lang.contextButtonTitle||null}))}createProxyGroup(){this.chart&&this.proxyProvider&&this.proxyProvider.addGroup("chartMenu")}addAccessibleContextMenuAttribs(){let e=this.chart,t=e.exporting?.divElements;if(t&&t.length){t.forEach(e=>{e&&("LI"!==e.tagName||e.children&&e.children.length?e.setAttribute("aria-hidden","true"):e.setAttribute("tabindex",-1))});let i=t[0]&&t[0].parentNode;i&&T(i,{"aria-hidden":void 0,"aria-label":e.langFormat("accessibility.exporting.chartMenuLabel",{chart:e}),role:"list"})}}getKeyboardNavigation(){let e=this.keyCodes,t=this.chart,i=this;return new ey(t,{keyCodeMap:[[[e.left,e.up],function(){return i.onKbdPrevious(this)}],[[e.right,e.down],function(){return i.onKbdNext(this)}],[[e.enter,e.space],function(){return i.onKbdClick(this)}]],validate:function(){return!!t.exporting&&t.options.exporting?.buttons?.contextButton.enabled!==!1&&!1!==t.options.exporting.enabled&&!1!==(t.options.exporting.accessibility?.enabled||!1)},init:function(){let e=i.exportButtonProxy,s=i.chart.exporting?.group;e&&s&&t.setFocusToElement(s,e.innerElement)},terminate:function(){t.hideExportMenu()}})}onKbdPrevious(e){let t=this.chart,i=t.options.accessibility,s=e.response,r=t.highlightedExportItemIx||0;for(;r--;)if(t.highlightExportItem(r))return s.success;return i.keyboardNavigation.wrapAround?(t.highlightLastExportItem(),s.success):s.prev}onKbdNext(e){let t=this.chart,i=t.options.accessibility,s=e.response;for(let e=(t.highlightedExportItemIx||0)+1;e<(t.exporting?.divElements?.length||0);++e)if(t.highlightExportItem(e))return s.success;return i.keyboardNavigation.wrapAround?(t.highlightExportItem(0),s.success):s.next}onKbdClick(e){let t=this.chart,i=void 0!==t.highlightedExportItemIx&&t.exporting?.divElements?.[t.highlightedExportItemIx],s=e2(t)?.element;return t.exporting?.openMenu?i&&this.fakeClickEvent(i):(s&&this.fakeClickEvent(s),t.highlightExportItem(0)),e.response.success}}!function(e){function t(){let e=e2(this);if(e){let t=e.element;t.onclick&&(t.onclick=function(){e1("click")})}}function i(){let e=this.exporting?.divElements;e&&this.exporting?.contextMenuEl&&this.exporting?.openMenu&&(e.forEach(e=>{e&&"highcharts-menu-item"===e.className&&e.onmouseout&&e.onmouseout(e1("mouseout"))}),this.highlightedExportItemIx=0,this.exporting.contextMenuEl.hideMenu(),this.container.focus())}function s(e){let t=this.exporting?.divElements?.[e],i=void 0!==this.highlightedExportItemIx&&this.exporting?.divElements?.[this.highlightedExportItemIx];if(t&&"LI"===t.tagName&&!(t.children&&t.children.length)){let s=!!(this.renderTo.getElementsByTagName("g")[0]||{}).focus;return t.focus&&s&&t.focus(),i&&i.onmouseout&&i.onmouseout(e1("mouseout")),t.onmouseover&&t.onmouseover(e1("mouseover")),this.highlightedExportItemIx=e,!0}return!1}function r(){if(this.exporting?.divElements){let e=this.exporting?.divElements.length;for(;e--;)if(this.highlightExportItem(e))return!0}return!1}e.compose=function(e){let n=e.prototype;n.hideExportMenu||(n.hideExportMenu=i,n.highlightExportItem=s,n.highlightLastExportItem=r,n.showExportMenu=t)}}(e3||(e3={}));let e5=e3,{doc:e4,win:e6}=v(),{getElement:e9,simulatedEventTarget:e8}=J;class e7{constructor(e,t){this.currentModuleIx=NaN,this.modules=[],this.init(e,t)}init(e,t){let i=this.eventProvider=new em;this.chart=e,this.components=t,this.modules=[],this.currentModuleIx=0,this.update(),i.addEvent(this.tabindexContainer,"keydown",e=>this.onKeydown(e)),i.addEvent(this.tabindexContainer,"focus",e=>this.onFocus(e)),["mouseup","touchend"].forEach(e=>i.addEvent(e4,e,e=>this.onMouseUp(e))),["mousedown","touchstart"].forEach(t=>i.addEvent(e.renderTo,t,()=>{this.isClickingChart=!0}))}update(e){let t=this.chart.options.accessibility,i=t&&t.keyboardNavigation,s=this.components;this.updateContainerTabindex(),i&&i.enabled&&e&&e.length?(this.modules=e.reduce(function(e,t){let i=s[t].getKeyboardNavigation();return e.concat(i)},[]),this.updateExitAnchor()):(this.modules=[],this.currentModuleIx=0,this.removeExitAnchor())}updateExitAnchor(){let e=e9(`highcharts-end-of-chart-marker-${this.chart.index}`);this.removeExitAnchor(),e?(this.makeElementAnExitAnchor(e),this.exitAnchor=e):this.createExitAnchor()}move(e){let t=this.modules&&this.modules[this.currentModuleIx];t&&t.terminate&&t.terminate(e),this.chart.focusElement&&this.chart.focusElement.removeFocusBorder(),this.currentModuleIx+=e;let i=this.modules&&this.modules[this.currentModuleIx];if(i){if(i.validate&&!i.validate())return this.move(e);if(i.init)return i.init(e),!0}return this.currentModuleIx=0,this.exiting=!0,e>0?this.exitAnchor&&this.exitAnchor.focus():this.tabindexContainer.focus(),!1}onFocus(e){let t=this.chart,i=e.relatedTarget&&t.container.contains(e.relatedTarget),s=t.options.accessibility,r=s&&s.keyboardNavigation;if(r&&r.enabled&&!this.exiting&&!this.tabbingInBackwards&&!this.isClickingChart&&!i){let e=this.getFirstValidModuleIx();null!==e&&(this.currentModuleIx=e,this.modules[e].init(1))}this.keyboardReset=!1,this.exiting=!1}onMouseUp(e){if(delete this.isClickingChart,!this.keyboardReset&&e.relatedTarget!==e8){let t=this.chart;if(!e.target||!t.container.contains(e.target)){let e=this.modules&&this.modules[this.currentModuleIx||0];e&&e.terminate&&e.terminate(),this.currentModuleIx=0}t.focusElement&&(t.focusElement.removeFocusBorder(),delete t.focusElement),this.keyboardReset=!0}}onKeydown(e){let t,i=e||e6.event,s=this.modules&&this.modules.length&&this.modules[this.currentModuleIx],r=i.target;if((!r||"INPUT"!==r.nodeName||r.classList.contains("highcharts-a11y-proxy-element"))&&(this.keyboardReset=!1,this.exiting=!1,s)){let e=s.run(i);e===s.response.success?t=!0:e===s.response.prev?t=this.move(-1):e===s.response.next&&(t=this.move(1)),t&&(i.preventDefault(),i.stopPropagation())}}updateContainerTabindex(){let e,t=this.chart.options.accessibility,i=t&&t.keyboardNavigation,s=!(i&&!1===i.enabled),r=this.chart,n=r.container;r.renderTo.hasAttribute("tabindex")?(n.removeAttribute("tabindex"),e=r.renderTo):e=n,this.tabindexContainer=e;let o=e.getAttribute("tabindex");s&&!o?e.setAttribute("tabindex","0"):s||r.container.removeAttribute("tabindex")}createExitAnchor(){let e=this.chart,t=this.exitAnchor=e4.createElement("div");e.renderTo.appendChild(t),this.makeElementAnExitAnchor(t)}makeElementAnExitAnchor(e){let t=this.tabindexContainer.getAttribute("tabindex")||0;e.setAttribute("class","highcharts-exit-anchor"),e.setAttribute("tabindex",t),e.setAttribute("aria-hidden",!1),this.addExitAnchorEventsToEl(e)}removeExitAnchor(){if(this.exitAnchor){let e=this.eventProvider.eventRemovers.find(e=>e.element===this.exitAnchor);e&&S(e.remover)&&this.eventProvider.removeEvent(e.remover),this.exitAnchor.parentNode&&this.exitAnchor.parentNode.removeChild(this.exitAnchor),delete this.exitAnchor}}addExitAnchorEventsToEl(e){let t=this.chart,i=this;this.eventProvider.addEvent(e,"focus",function(e){let s=e||e6.event,r=!(s.relatedTarget&&t.container.contains(s.relatedTarget)||i.exiting);if(t.focusElement&&delete t.focusElement,r){if(i.tabbingInBackwards=!0,i.tabindexContainer.focus(),delete i.tabbingInBackwards,s.preventDefault(),i.modules&&i.modules.length){i.currentModuleIx=i.modules.length-1;let e=i.modules[i.currentModuleIx];e&&e.validate&&!e.validate()?i.move(-1):e&&e.init(-1)}}else i.exiting=!1})}getFirstValidModuleIx(){let e=this.modules.length;for(let t=0;t<e;++t){let e=this.modules[t];if(!e.validate||e.validate())return t}return null}destroy(){this.removeExitAnchor(),this.eventProvider.removeAddedEvents(),this.chart.container.removeAttribute("tabindex")}}function te(){let e=this;I(this,"dismissPopupContent",{},function(){e.tooltip&&e.tooltip.hide(0),e.hideExportMenu()})}function tt(e){27===(e.which||e.keyCode)&&v().charts&&v().charts.forEach(e=>{e&&e.dismissPopupContent&&e.dismissPopupContent()})}(e7||(e7={})).compose=function(e){e5.compose(e);let t=e.prototype;return!t.dismissPopupContent&&(t.dismissPopupContent=te,e4&&A(e4,"keydown",tt)),e};let ti=e7;var ts=f(632),tr=f.n(ts);let{animObject:tn}=v(),{doc:to}=v(),{getChartTitle:ta}=ed,{stripHTMLTagsFromString:tl,addClass:th,removeClass:tc}=J;function td(e){let t=e.legend&&e.legend.allItems,i=e.options.legend.accessibility||{},s=e.colorAxis&&e.colorAxis.some(e=>!e.dataClasses||!e.dataClasses.length);return!!(t&&t.length&&!s&&!1!==i.enabled)}function tu(e,t){let i=t.legendItem||{};for(let s of(t.setState(e?"hover":"",!0),["group","label","symbol"])){let t=i[s],r=t&&t.element||t;r&&I(r,e?"mouseover":"mouseout")}}class tp extends ex{constructor(){super(...arguments),this.highlightedLegendItemIx=NaN,this.proxyGroup=null}init(){let e=this;this.recreateProxies(),this.addEvent(tr(),"afterScroll",function(){this.chart===e.chart&&(e.proxyProvider.updateGroupProxyElementPositions("legend"),e.updateLegendItemProxyVisibility(),e.highlightedLegendItemIx>-1&&this.chart.highlightLegendItem(e.highlightedLegendItemIx))}),this.addEvent(tr(),"afterPositionItem",function(t){this.chart===e.chart&&this.chart.renderer&&e.updateProxyPositionForItem(t.item)}),this.addEvent(tr(),"afterRender",function(){this.chart===e.chart&&this.chart.renderer&&e.recreateProxies()&&j(()=>e.proxyProvider.updateGroupProxyElementPositions("legend"),tn(W(this.chart.renderer.globalAnimation,!0)).duration)})}updateLegendItemProxyVisibility(){let e,t=this.chart,i=t.legend,s=i.allItems||[],r=i.currentPage||1,n=i.clipHeight||0;s.forEach(s=>{if(s.a11yProxyElement){let o=i.pages&&i.pages.length,a=s.a11yProxyElement.element,l=!1;if(e=s.legendItem||{},o){let t=e.pageIx||0;l=(e.y||0)+(e.label?Math.round(e.label.getBBox().height):0)-i.pages[t]>n||t!==r-1}l?t.styledMode?th(a,"highcharts-a11y-invisible"):a.style.visibility="hidden":(tc(a,"highcharts-a11y-invisible"),a.style.visibility="")}})}onChartRender(){td(this.chart)||this.removeProxies()}highlightAdjacentLegendPage(e){let t=this.chart,i=t.legend,s=(i.currentPage||1)+e,r=i.pages||[];if(s>0&&s<=r.length){let e=0;for(let r of i.allItems)((r.legendItem||{}).pageIx||0)+1===s&&t.highlightLegendItem(e)&&(this.highlightedLegendItemIx=e),++e}}updateProxyPositionForItem(e){e.a11yProxyElement&&e.a11yProxyElement.refreshPosition()}recreateProxies(){let e=to.activeElement,t=this.proxyGroup,i=e&&t&&t.contains(e);return this.removeProxies(),!!td(this.chart)&&(this.addLegendProxyGroup(),this.proxyLegendItems(),this.updateLegendItemProxyVisibility(),this.updateLegendTitle(),i&&this.chart.highlightLegendItem(this.highlightedLegendItemIx),!0)}removeProxies(){this.proxyProvider.removeGroup("legend")}updateLegendTitle(){let e=this.chart,t=tl((e.legend&&e.legend.options.title&&e.legend.options.title.text||"").replace(/<br ?\/?>/g," "),e.renderer.forExport),i=e.langFormat("accessibility.legend.legendLabel"+(t?"":"NoTitle"),{chart:e,legendTitle:t,chartTitle:ta(e)});this.proxyProvider.updateGroupAttrs("legend",{"aria-label":i})}addLegendProxyGroup(){let e="all"===this.chart.options.accessibility.landmarkVerbosity?"region":null;this.proxyGroup=this.proxyProvider.addGroup("legend","ul",{"aria-label":"_placeholder_",role:e})}proxyLegendItems(){let e,t=this;((this.chart.legend||{}).allItems||[]).forEach(i=>{(e=i.legendItem||{}).label&&e.label.element&&t.proxyLegendItem(i)})}proxyLegendItem(e){let t=e.legendItem||{},i=e.legendItem?.label,s=i?.element,r=t.label?.styles?.textOverflow==="ellipsis";if(!t.label||!t.group)return;let n=this.chart.langFormat("accessibility.legend.legendItem",{chart:this.chart,itemName:tl(e.name,this.chart.renderer.forExport),item:e}),o={tabindex:-1,"aria-pressed":e.visible,"aria-label":n,title:""};r&&-1!==(s.textContent||"").indexOf("…")&&(o.title=i?.textStr);let a=t.group.div?t.label:t.group;e.a11yProxyElement=this.proxyProvider.addProxyElement("legend",{click:t.label,visual:a.element},"button",o)}getKeyboardNavigation(){let e=this.keyCodes,t=this,i=this.chart;return new ey(i,{keyCodeMap:[[[e.left,e.right,e.up,e.down],function(e){return t.onKbdArrowKey(this,e)}],[[e.enter,e.space],function(){return t.onKbdClick(this)}],[[e.pageDown,e.pageUp],function(i){let s=i===e.pageDown?1:-1;return t.highlightAdjacentLegendPage(s),this.response.success}]],validate:function(){return t.shouldHaveLegendNavigation()},init:function(){i.highlightLegendItem(0),t.highlightedLegendItemIx=0},terminate:function(){t.highlightedLegendItemIx=-1,i.legend.allItems.forEach(e=>tu(!1,e))}})}onKbdArrowKey(e,t){let{keyCodes:{left:i,up:s},highlightedLegendItemIx:r,chart:n}=this,o=n.legend.allItems.length,a=n.options.accessibility.keyboardNavigation.wrapAround,l=t===i||t===s?-1:1;return n.highlightLegendItem(r+l)?this.highlightedLegendItemIx+=l:a&&o>1&&(this.highlightedLegendItemIx=l>0?0:o-1,n.highlightLegendItem(this.highlightedLegendItemIx)),e.response.success}onKbdClick(e){let t=this.chart.legend.allItems[this.highlightedLegendItemIx];return t&&t.a11yProxyElement&&t.a11yProxyElement.click(),e.response.success}shouldHaveLegendNavigation(){if(!td(this.chart))return!1;let e=this.chart,t=(e.options.legend||{}).accessibility||{};return!!(e.legend.display&&t.keyboardNavigation&&t.keyboardNavigation.enabled)}destroy(){this.removeProxies()}}function tg(e){let t=this.legend.allItems,i=this.accessibility&&this.accessibility.components.legend.highlightedLegendItemIx,s=t[e],r=s?.legendItem||{};if(s){var n;let o,a;H(i)&&t[i]&&tu(!1,t[i]),n=this.legend,o=(n.allItems[e].legendItem||{}).pageIx,a=n.currentPage,void 0!==o&&o+1!==a&&n.scroll(1+o-a);let l=r.label,h=s.a11yProxyElement&&s.a11yProxyElement.innerElement;return l&&l.element&&h&&this.setFocusToElement(l,h),tu(!0,s),!0}return!1}function tm(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")}(tp||(tp={})).compose=function(e,t){let i=e.prototype;i.highlightLegendItem||(i.highlightLegendItem=tg,A(t,"afterColorizeItem",tm))};let tb=tp;var tf=f(532),tx=f.n(tf);let{isTouchDevice:ty}=v(),tv=[];function tw(){this.navigator&&this.navigator.setBaseSeries(null,!1)}function tE(){let e,t,i,s=this.legend,r=this.navigator;if(r){e=s&&s.options,t=r.xAxis,i=r.yAxis;let{scrollbarHeight:n,scrollButtonSize:o}=r;this.inverted?(r.left=r.opposite?this.chartWidth-n-r.height:this.spacing[3]+n,r.top=this.plotTop+o):(r.left=W(t.left,this.plotLeft+o),r.top=r.navigatorOptions.top||this.chartHeight-r.height-n-(this.scrollbar?.options.margin||0)-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(e&&"bottom"===e.verticalAlign&&"proximate"!==e.layout&&e.enabled&&!e.floating?s.legendHeight+W(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 tA(e){!this.navigator&&!this.scroller&&(this.options.navigator.enabled||this.options.scrollbar.enabled)&&(this.scroller=this.navigator=new c(this),W(e.redraw,!0)&&this.redraw(e.animation))}function tT(){let e=this.options;(e.navigator.enabled||e.scrollbar.enabled)&&(this.scroller=this.navigator=new c(this))}function tM(){let e=this.options,t=e.navigator,i=e.rangeSelector;if((t&&t.enabled||i&&i.enabled)&&(!ty&&"x"===this.zooming.type||ty&&"x"===this.zooming.pinchType))return!1}function tC(e){let t=e.navigator;if(t&&e.xAxis[0]){let i=e.xAxis[0].getExtremes();t.render(i.min,i.max)}}function tk(e){let t=e.options.navigator||{},i=e.options.scrollbar||{};!this.navigator&&!this.scroller&&(t.enabled||i.enabled)&&(G(!0,this.options.navigator,t),G(!0,this.options.scrollbar,i),delete e.options.navigator,delete e.options.scrollbar)}let tP=function(e,t){if(V(tv,e)){let i=e.prototype;c=t,i.callbacks.push(tC),A(e,"afterAddSeries",tw),A(e,"afterSetChartSize",tE),A(e,"afterUpdate",tA),A(e,"beforeRender",tT),A(e,"beforeShowResetZoom",tM),A(e,"update",tk)}},{isTouchDevice:tS}=v();function tD(){this.navigatorAxis||(this.navigatorAxis=new tB(this))}function tN(e){let t,i=this.chart,s=i.options,r=s.navigator,n=this.navigatorAxis,o=i.zooming.pinchType,a=s.rangeSelector,l=i.zooming.type;if(this.isXAxis&&(r?.enabled||a?.enabled)){if("y"===l&&"zoom"===e.trigger)t=!1;else if(("zoom"===e.trigger&&"xy"===l||tS&&"xy"===o)&&this.options.range){let t=n.previousZoom;S(e.min)?n.previousZoom=[this.min,this.max]:t&&(e.min=t[0],e.max=t[1],n.previousZoom=void 0)}}void 0!==t&&e.preventDefault()}class tB{static compose(e){e.keepProps.includes("navigatorAxis")||(e.keepProps.push("navigatorAxis"),A(e,"init",tD),A(e,"setExtremes",tN))}constructor(e){this.axis=e}destroy(){this.axis=void 0}toFixedRange(e,t,i,s){let r=this.axis,n=(r.pointRange||0)/2,o=W(i,r.translate(e,!0,!r.horiz)),a=W(s,r.translate(t,!0,!r.horiz));return S(i)||(o=C(o+n)),S(s)||(a=C(a-n)),H(o)&&H(a)||(o=a=void 0),{min:o,max:a}}}var tI=f(620),tF=f.n(tI),tO=f(512),tR=f.n(tO);let{parse:tL}=tF(),{seriesTypes:tH}=tR(),tz={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:tL("#667aff").setOpacity(.3).get(),outlineColor:"#999999",outlineWidth:1,series:{type:void 0===tH.areaspline?"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}},tq={"navigator-handle":function(e,t,i,s,r={}){var n,o,a,l,h,c,d;let u=r.width?r.width/2:i,p=(n=r.borderRadius||0,o=Math.min(2*u,s),/%$/.test(n)?o*parseFloat(n)/100+0:parseFloat(n));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=-u-1,l=.5,h=2*u+1,c=s,d={r:p},d?.r?function(e,t,i,s,r){let n=r?.r||0;return[["M",e+n,t],["L",e+i-n,t],["A",n,n,0,0,1,e+i,t+n],["L",e+i,t+s-n],["A",n,n,0,0,1,e+i-n,t+s],["L",e+n,t+s],["A",n,n,0,0,1,e,t+s-n],["L",e,t+n],["A",n,n,0,0,1,e+n,t],["Z"]]}(a,.5,h,c,d):[["M",a,.5],["L",a+h,.5],["L",a+h,.5+c],["L",a,.5+c],["Z"]])]}};var tK=f(608),tG=f.n(tK);let{defaultOptions:tU}=v(),{composed:tW}=v(),{getRendererType:tV}=tG(),{setFixedRange:tX}={setFixedRange:function(e){let t=this.xAxis[0];S(t.dataMax)&&S(t.dataMin)&&e?this.fixedRange=Math.min(e,t.dataMax-t.dataMin):this.fixedRange=e}};function tj(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)}let tY=function(e,t,i){tB.compose(t),V(tW,"Navigator")&&(e.prototype.setFixedRange=tX,B(tV().prototype.symbols,tq),B(tU,{navigator:tz}),A(i,"afterUpdate",tj))},{composed:t_}=v();!function(e){let t;function i(e){let t=W(e.options?.min,e.min),i=W(e.options?.max,e.max);return{axisMin:t,axisMax:i,scrollMin:S(e.dataMin)?Math.min(t,e.min??1/0,e.dataMin,e.threshold??1/0):t,scrollMax:e.treeGrid?.adjustedMax??(S(e.dataMax)?Math.max(i,e.max??-1/0,e.dataMax,e.threshold??-1/0):i)}}function s(){let e=this.scrollbar,t=e&&!e.options.opposite,i=this.horiz?2:t?3:1;e&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[i]+=e.size+(e.options.margin||0))}function r(){let e=this;e.options?.scrollbar?.enabled&&(e.options.scrollbar.vertical=!e.horiz,e.options.startOnTick=e.options.endOnTick=!1,e.scrollbar=new t(e.chart.renderer,e.options.scrollbar,e.chart),A(e.scrollbar,"changed",function(t){let s,r,{axisMin:n,axisMax:o,scrollMin:a,scrollMax:l}=i(e),h=e.toPixels(a),c=e.toPixels(l)-h;if(S(n)&&S(o))if(e.horiz&&!e.reversed||!e.horiz&&e.reversed?(s=Math.min(l,e.toValue(h+c*this.to)),r=Math.max(a,e.toValue(h+c*this.from))):(s=Math.min(l,e.toValue(h+c*(1-this.from))),r=Math.max(a,e.toValue(h+c*(1-this.to)))),this.shouldUpdateExtremes(t.DOMType)){let i="mousemove"!==t.DOMType&&"touchmove"!==t.DOMType&&void 0;e.setExtremes(C(r),C(s),!0,i,t)}else this.setRange(this.from,this.to)}))}function n(){let e,t,s,{scrollMin:r,scrollMax:n}=i(this),o=this.scrollbar,a=(this.axisTitleMargin||0)+(this.titleOffset||0),l=this.chart.scrollbarsOffsets,h=this.options.margin||0;if(o&&l){if(this.horiz)this.opposite||(l[1]+=a),o.position(this.left,this.top+this.height+2+l[1]-(this.opposite?h:0),this.width,this.height),this.opposite||(l[1]+=h),e=1;else{let t;this.opposite&&(l[0]+=a),t=o.options.opposite?this.left+this.width+2+l[0]-(this.opposite?0:h):this.opposite?0:h,o.position(t,this.top,this.width,this.height),this.opposite&&(l[0]+=h),e=0}if(l[e]+=o.size+(o.options.margin||0),isNaN(r)||isNaN(n)||!S(this.min)||!S(this.max)||S(this.dataMin)&&this.dataMin===this.dataMax)o.setRange(0,1);else if(this.min===this.max){let e=this.pointRange/(this.dataMax+1);t=e*this.min,s=e*(this.max+1),o.setRange(t,s)}else t=(this.toPixels(this.min)-this.toPixels(r))/(this.toPixels(n)-this.toPixels(r)),s=(this.toPixels(this.max)-this.toPixels(r))/(this.toPixels(n)-this.toPixels(r)),this.horiz&&!this.reversed||!this.horiz&&this.reversed?o.setRange(t,s):o.setRange(1-s,1-t)}}e.compose=function(e,i){V(t_,"Axis.Scrollbar")&&(t=i,A(e,"afterGetOffset",s),A(e,"afterInit",r),A(e,"afterRender",n))}}(p||(p={}));let tZ=p,t$={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:tQ}=v(),{composed:tJ}=v();class t0{static compose(e){tZ.compose(e,t0),V(tJ,"Scrollbar")&&B(tQ,{scrollbar:t$})}static swapXY(e,t){return t&&e.forEach(e=>{let t,i=e.length;for(let s=0;s<i;s+=2)"number"==typeof(t=e[s+1])&&(e[s+1]=e[s+2],e[s+2]=t)}),e}constructor(e,t,i){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(e,t,i)}addEvents(){let e=this.options.inverted?[1,0]:[0,1],t=this.scrollbarButtons,i=this.scrollbarGroup.element,s=this.track.element,r=this.mouseDownHandler.bind(this),n=this.mouseMoveHandler.bind(this),o=this.mouseUpHandler.bind(this),a=[[t[e[0]].element,"click",this.buttonToMinClick.bind(this)],[t[e[1]].element,"click",this.buttonToMaxClick.bind(this)],[s,"click",this.trackClick.bind(this)],[i,"mousedown",r],[i.ownerDocument,"mousemove",n],[i.ownerDocument,"mouseup",o],[i,"touchstart",r],[i.ownerDocument,"touchmove",n],[i.ownerDocument,"touchend",o]];a.forEach(function(e){A.apply(null,e)}),this._events=a}buttonToMaxClick(e){let t=(this.to-this.from)*W(this.options.step,.2);this.updatePosition(this.from+t,this.to+t),I(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:e})}buttonToMinClick(e){let t=C(this.to-this.from)*W(this.options.step,.2);this.updatePosition(C(this.from-t),C(this.to-t)),I(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:e})}cursorToScrollbarPosition(e){let t=this.options,i=t.minWidth>this.calculatedWidth?t.minWidth:0;return{chartX:(e.chartX-this.x-this.xOffset)/(this.barWidth-i),chartY:(e.chartY-this.y-this.yOffset)/(this.barWidth-i)}}destroy(){let e=this,t=e.chart.scroller;e.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(t){e[t]&&e[t].destroy&&(e[t]=e[t].destroy())}),t&&e===t.scrollbar&&(t.scrollbar=null,D(t.scrollbarButtons))}drawScrollbarButton(e){let t=this.renderer,i=this.scrollbarButtons,s=this.options,r=this.size,n=t.g().add(this.group);if(i.push(n),s.buttonsEnabled){let o=t.rect().addClass("highcharts-scrollbar-button").add(n);this.chart.styledMode||o.attr({stroke:s.buttonBorderColor,"stroke-width":s.buttonBorderWidth,fill:s.buttonBackgroundColor}),o.attr(o.crisp({x:-.5,y:-.5,width:r,height:r,r:s.buttonBorderRadius},o.strokeWidth()));let a=t.path(t0.swapXY([["M",r/2+(e?-1:1),r/2-3],["L",r/2+(e?-1:1),r/2+3],["L",r/2+(e?2:-2),r/2]],s.vertical)).addClass("highcharts-scrollbar-arrow").add(i[e]);this.chart.styledMode||a.attr({fill:s.buttonArrowColor})}}init(e,t,i){this.scrollbarButtons=[],this.renderer=e,this.userOptions=t,this.options=G(t$,tQ.scrollbar,t),this.options.margin=W(this.options.margin,10),this.chart=i,this.size=W(this.options.size,this.options.height),t.enabled&&(this.render(),this.addEvents())}mouseDownHandler(e){let t=this.chart.pointer?.normalize(e)||e,i=this.cursorToScrollbarPosition(t);this.chartX=i.chartX,this.chartY=i.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0}mouseMoveHandler(e){let t,i=this.chart.pointer?.normalize(e)||e,s=this.options.vertical?"chartY":"chartX",r=this.initPositions||[];this.grabbedCenter&&(!e.touches||0!==e.touches[0][s])&&(t=this.cursorToScrollbarPosition(i)[s]-this[s],this.hasDragged=!0,this.updatePosition(r[0]+t,r[1]+t),this.hasDragged&&I(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:e.type,DOMEvent:e}))}mouseUpHandler(e){this.hasDragged&&I(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:e.type,DOMEvent:e}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null}position(e,t,i,s){let{buttonsEnabled:r,margin:n=0,vertical:o}=this.options,a=this.rendered?"animate":"attr",l=s,h=0;this.group.show(),this.x=e,this.y=t+this.trackBorderWidth,this.width=i,this.height=s,this.xOffset=l,this.yOffset=h,o?(this.width=this.yOffset=i=h=this.size,this.xOffset=l=0,this.yOffset=h=r?this.size:0,this.barWidth=s-(r?2*i:0),this.x=e+=n):(this.height=s=this.size,this.xOffset=l=r?this.size:0,this.barWidth=i-(r?2*s:0),this.y=this.y+n),this.group[a]({translateX:e,translateY:this.y}),this.track[a]({width:i,height:s}),this.scrollbarButtons[1][a]({translateX:o?0:i-l,translateY:o?s-h:0})}removeEvents(){this._events.forEach(function(e){X.apply(null,e)}),this._events.length=0}render(){let e=this.renderer,t=this.options,i=this.size,s=this.chart.styledMode,r=e.g("scrollbar").attr({zIndex:t.zIndex}).hide().add();this.group=r,this.track=e.rect().addClass("highcharts-scrollbar-track").attr({r:t.trackBorderRadius||0,height:i,width:i}).add(r),s||this.track.attr({fill:t.trackBackgroundColor,stroke:t.trackBorderColor,"stroke-width":t.trackBorderWidth});let n=this.trackBorderWidth=this.track.strokeWidth();this.track.attr({x:-k(0,n),y:-k(0,n)}),this.scrollbarGroup=e.g().add(r),this.scrollbar=e.rect().addClass("highcharts-scrollbar-thumb").attr({height:i-n,width:i-n,r:t.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=e.path(t0.swapXY([["M",-3,i/4],["L",-3,2*i/3],["M",0,i/4],["L",0,2*i/3],["M",3,i/4],["L",3,2*i/3]],t.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),s||(this.scrollbar.attr({fill:t.barBackgroundColor,stroke:t.barBorderColor,"stroke-width":t.barBorderWidth}),this.scrollbarRifles.attr({stroke:t.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-k(0,this.scrollbarStrokeWidth),-k(0,this.scrollbarStrokeWidth)),this.drawScrollbarButton(0),this.drawScrollbarButton(1)}setRange(e,t){let i,s,r=this.options,n=r.vertical,o=r.minWidth,a=this.barWidth,l=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(!S(a))return;let h=a*Math.min(t,1);i=Math.ceil(a*(e=Math.max(e,0))),this.calculatedWidth=s=C(h-i),s<o&&(i=(a-o+s)*e,s=o);let c=Math.floor(i+this.xOffset+this.yOffset),d=s/2-.5;this.from=e,this.to=t,n?(this.scrollbarGroup[l]({translateY:c}),this.scrollbar[l]({height:s}),this.scrollbarRifles[l]({translateY:d}),this.scrollbarTop=c,this.scrollbarLeft=0):(this.scrollbarGroup[l]({translateX:c}),this.scrollbar[l]({width:s}),this.scrollbarRifles[l]({translateX:d}),this.scrollbarLeft=c,this.scrollbarTop=0),s<=12?this.scrollbarRifles.hide():this.scrollbarRifles.show(),!1===r.showFull&&(e<=0&&t>=1?this.group.hide():this.group.show()),this.rendered=!0}shouldUpdateExtremes(e){return W(this.options.liveRedraw,v().svg&&!v().isTouchDevice&&!this.chart.boosted)||"mouseup"===e||"touchend"===e||!S(e)}trackClick(e){let t=this.chart.pointer?.normalize(e)||e,i=this.to-this.from,s=this.y+this.scrollbarTop,r=this.x+this.scrollbarLeft;this.options.vertical&&t.chartY>s||!this.options.vertical&&t.chartX>r?this.updatePosition(this.from+i,this.to+i):this.updatePosition(this.from-i,this.to-i),I(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:e})}update(e){this.destroy(),this.init(this.chart.renderer,G(!0,this.options,e),this.chart)}updatePosition(e,t){t>1&&(e=C(1-C(t-e)),t=1),e<0&&(t=C(t-e),e=0),this.from=e,this.to=t}}t0.defaultOptions=t$;let{defaultOptions:t1}=v(),{isTouchDevice:t2}=v();function t3(e,...t){let i=[].filter.call(t,H);if(i.length)return Math[e].apply(0,i)}class t5{static compose(e,t,i){tP(e,t5),tY(e,t,i)}constructor(e){this.isDirty=!1,this.scrollbarHeight=0,this.init(e)}drawHandle(e,t,i,s){let r=this.navigatorOptions.handles.height;this.handles[t][s](i?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(e,10)+.5-r)}:{translateX:Math.round(this.left+parseInt(e,10)),translateY:Math.round(this.top+this.height/2-r/2-1)})}drawOutline(e,t,i,s){let r=this.navigatorOptions.maskInside,n=this.outline.strokeWidth(),o=n/2,a=n%2/2,l=this.scrollButtonSize,h=this.size,c=this.top,d=this.height,u=c-o,p=c+d,g=this.left,m,b;i?(m=c+t+a,t=c+e+a,b=[["M",g+d,c-l-a],["L",g+d,m],["L",g,m],["M",g,t],["L",g+d,t],["L",g+d,c+h+l]],r&&b.push(["M",g+d,m-o],["L",g+d,t+o])):(g-=l,e+=g+l-a,t+=g+l-a,b=[["M",g,u],["L",e,u],["L",e,p],["M",t,p],["L",t,u],["L",g+h+2*l,u]],r&&b.push(["M",e-o,u],["L",t+o,u])),this.outline[s]({d:b})}drawMasks(e,t,i,s){let r,n,o,a,l=this.left,h=this.top,c=this.height;i?(o=[l,l,l],a=[h,h+e,h+t],n=[c,c,c],r=[e,t-e,this.size-t]):(o=[l,l+e,l+t],a=[h,h,h],n=[e,t-e,this.size-t],r=[c,c,c]),this.shades.forEach((e,t)=>{e[s]({x:o[t],y:a[t],width:n[t],height:r[t]})})}renderElements(){let e=this,t=e.navigatorOptions,i=t.maskInside,s=e.chart,r=s.inverted,n=s.renderer,o={cursor:r?"ns-resize":"ew-resize"},a=e.navigatorGroup??(e.navigatorGroup=n.g("navigator").attr({zIndex:8,visibility:"hidden"}).add());if([!i,i,!i].forEach((i,r)=>{let l=e.shades[r]??(e.shades[r]=n.rect().addClass("highcharts-navigator-mask"+(1===r?"-inside":"-outside")).add(a));s.styledMode||(l.attr({fill:i?t.maskFill:"rgba(0,0,0,0)"}),1===r&&l.css(o))}),e.outline||(e.outline=n.path().addClass("highcharts-navigator-outline").add(a)),s.styledMode||e.outline.attr({"stroke-width":t.outlineWidth,stroke:t.outlineColor}),t.handles?.enabled){let i=!1,r=t.handles,{height:l,width:h}=r;[0,1].forEach(t=>{let c=r.symbols[t];(i=i||e.handles[t]?.symbolName!==c)&&(e.handles[t]?.destroy(),e.handles[t]=n.symbol(c,-h/2-1,0,h,l,r),e.handles[t].attr({zIndex:7-t}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][t]).add(a)),s.inverted&&e.handles[t].attr({rotation:90,rotationOriginX:Math.floor(-h/2),rotationOriginY:(l+h)/2}),s.styledMode||e.handles[t].attr({fill:r.backgroundColor,stroke:r.borderColor,"stroke-width":r.lineWidth,width:r.width,height:r.height,x:-h/2-1,y:0}).css(o)}),i&&(e.partsEventsToUnbind?.forEach(e=>{e()}),e.partsEventsToUnbind=[...e.getPartsEvents("mousedown"),...e.getPartsEvents("touchstart")])}}update(e,t=!1){let i=this.chart,s=i.options.chart.inverted!==i.scrollbar?.options.vertical;if(G(!0,i.options.navigator,e),this.navigatorOptions=i.options.navigator||{},this.setOpposite(),S(e.enabled)||s)return this.destroy(),this.navigatorEnabled=e.enabled||this.navigatorEnabled,this.init(i);if(this.navigatorEnabled&&(this.isDirty=!0,!1===e.adaptToUpdatedData&&this.baseSeries.forEach(e=>{X(e,"updatedData",this.updatedDataHandler)},this),e.adaptToUpdatedData&&this.baseSeries.forEach(e=>{e.eventsToUnbind.push(A(e,"updatedData",this.updatedDataHandler))},this),(e.series||e.baseSeries)&&this.setBaseSeries(void 0,!1),e.height||e.xAxis||e.yAxis)){this.height=e.height??this.height;let t=this.getXAxisOffsets();this.xAxis.update({...e.xAxis,offsets:t,[i.inverted?"width":"height"]:this.height,[i.inverted?"height":"width"]:void 0},!1),this.yAxis.update({...e.yAxis,[i.inverted?"width":"height"]:this.height},!1)}t&&i.redraw()}render(e,t,i,s){let r=this.chart,n=this.xAxis,o=n.pointRange||0,a=n.navigatorAxis.fake?r.xAxis[0]:n,l=this.navigatorEnabled,h=this.rendered,c=r.inverted,d=r.xAxis[0].minRange,u=r.xAxis[0].options.maxRange,p=this.scrollButtonSize,g,m,b,f=this.scrollbarHeight,x,y;if(this.hasDragged&&!S(i))return;if(this.isDirty&&this.renderElements(),e=C(e-o/2),t=C(t+o/2),!H(e)||!H(t))if(!h)return;else i=0,s=W(n.width,a.width);this.left=W(n.left,r.plotLeft+p+(c?r.plotWidth:0));let v=this.size=x=W(n.len,(c?r.plotHeight:r.plotWidth)-2*p);g=c?f:x+2*p,i=W(i,n.toPixels(e,!0)),s=W(s,n.toPixels(t,!0)),H(i)&&Math.abs(i)!==1/0||(i=0,s=g);let w=n.toValue(i,!0),E=n.toValue(s,!0),A=Math.abs(C(E-w));S(d)&&A<d?this.grabbedLeft?i=n.toPixels(E-d-o,!0):this.grabbedRight&&(s=n.toPixels(w+d+o,!0)):S(u)&&C(A-o)>u&&(this.grabbedLeft?i=n.toPixels(E-u-o,!0):this.grabbedRight&&(s=n.toPixels(w+u+o,!0))),this.zoomedMax=M(Math.max(i,s),0,v),this.zoomedMin=M(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(i,s),0,v),this.range=this.zoomedMax-this.zoomedMin,v=Math.round(this.zoomedMax);let T=Math.round(this.zoomedMin);l&&(this.navigatorGroup.attr({visibility:"inherit"}),y=h&&!this.hasDragged?"animate":"attr",this.drawMasks(T,v,c,y),this.drawOutline(T,v,c,y),this.navigatorOptions.handles?.enabled&&(this.drawHandle(T,0,c,y),this.drawHandle(v,1,c,y))),this.scrollbar&&(c?(b=this.top-p,m=this.left-f+(l||!a.opposite?0:(a.titleOffset||0)+a.axisTitleMargin),f=x+2*p):(b=this.top+(l?this.height:-f),m=this.left-p),this.scrollbar.position(m,b,g,f),this.scrollbar.setRange(this.zoomedMin/(x||1),this.zoomedMax/(x||1))),this.rendered=!0,this.isDirty=!1,I(this,"afterRender")}addMouseEvents(){let e,t,i=this,s=i.chart,r=s.container,n=[];i.mouseMoveHandler=e=function(e){i.onMouseMove(e)},i.mouseUpHandler=t=function(e){i.onMouseUp(e)},n.push(A(s.renderTo,"mousemove",e),A(r.ownerDocument,"mouseup",t),A(s.renderTo,"touchmove",e),A(r.ownerDocument,"touchend",t)),i.eventsToUnbind=n,i.series&&i.series[0]&&n.push(A(i.series[0].xAxis,"foundExtremes",function(){s.navigator?.modifyNavigatorAxisExtremes()}))}getPartsEvents(e){let t=this,i=[];return["shades","handles"].forEach(s=>{t[s].forEach(function(r,n){i.push(A(r.element,e,function(e){t[`${s}Mousedown`](e,n)}))})}),i}shadesMousedown(e,t){e=this.chart.pointer?.normalize(e)||e;let i=this.chart,s=this.xAxis,r=this.zoomedMin,n=this.size,o=this.range,a=this.left,l=e.chartX,h,c,d,u;i.inverted&&(l=e.chartY,a=this.top),1===t?(this.grabbedCenter=l,this.fixedWidth=o,this.dragOffset=l-r):(u=l-a-o/2,0===t?u=Math.max(0,u):2===t&&u+o>=n&&(u=n-o,this.reversedExtremes?(u-=o,c=this.getUnionExtremes()?.dataMin):h=this.getUnionExtremes()?.dataMax),u!==r&&(this.fixedWidth=o,S((d=s.navigatorAxis.toFixedRange(u,u+o,c,h)).min)&&I(this,"setRange",{min:Math.min(d.min,d.max),max:Math.max(d.min,d.max),redraw:!0,eventArguments:{trigger:"navigator"}})))}handlesMousedown(e,t){e=this.chart.pointer?.normalize(e)||e;let i=this.chart,s=i.xAxis[0],r=this.reversedExtremes;0===t?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=r?s.min:s.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=r?s.max:s.min),i.setFixedRange(void 0)}onMouseMove(e){let t=this,i=t.chart,s=t.navigatorSize,r=t.range,n=t.dragOffset,o=i.inverted,a=t.left,l;(!e.touches||0!==e.touches[0].pageX)&&(l=(e=i.pointer?.normalize(e)||e).chartX,o&&(a=t.top,l=e.chartY),t.grabbedLeft?(t.hasDragged=!0,t.render(0,0,l-a,t.otherHandlePos)):t.grabbedRight?(t.hasDragged=!0,t.render(0,0,t.otherHandlePos,l-a)):t.grabbedCenter&&n&&(t.hasDragged=!0,l<n?l=n:l>s+n-r&&(l=s+n-r),t.render(0,0,l-n,l-n+r)),t.hasDragged&&W(t.scrollbarOptions?.liveRedraw,!t2&&!this.chart.boosted)&&(e.DOMType=e.type,setTimeout(function(){t.onMouseUp(e)},0)))}onMouseUp(e){let t,i,s,r,n,o,a=this.chart,l=this.xAxis,h=this.scrollbar,c=e.DOMEvent||e,d=a.inverted,u=this.rendered&&!this.hasDragged?"animate":"attr";(this.hasDragged&&(!h||!h.hasDragged)||"scrollbar"===e.trigger)&&(s=this.getUnionExtremes(),this.zoomedMin===this.otherHandlePos?r=this.fixedExtreme:this.zoomedMax===this.otherHandlePos&&(n=this.fixedExtreme),this.zoomedMax===this.size&&(n=this.reversedExtremes?s.dataMin:s.dataMax),0===this.zoomedMin&&(r=this.reversedExtremes?s.dataMax:s.dataMin),S((o=l.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,r,n)).min)&&I(this,"setRange",{min:Math.min(o.min,o.max),max:Math.max(o.min,o.max),redraw:!0,animation:!this.hasDragged&&null,eventArguments:{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:c}})),"mousemove"!==e.DOMType&&"touchmove"!==e.DOMType&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null),this.navigatorEnabled&&H(this.zoomedMin)&&H(this.zoomedMax)&&(i=Math.round(this.zoomedMin),t=Math.round(this.zoomedMax),this.shades&&this.drawMasks(i,t,d,u),this.outline&&this.drawOutline(i,t,d,u),this.navigatorOptions.handles?.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(i,0,d,u),this.drawHandle(t,1,d,u)))}removeEvents(){this.eventsToUnbind?.forEach(e=>{e()}),this.eventsToUnbind=void 0,this.removeBaseSeriesEvents()}removeBaseSeriesEvents(){let e=this.baseSeries||[];this.navigatorEnabled&&e[0]&&(!1!==this.navigatorOptions.adaptToUpdatedData&&e.forEach(function(e){X(e,"updatedData",this.updatedDataHandler)},this),e[0].xAxis&&X(e[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))}getXAxisOffsets(){return this.chart.inverted?[this.scrollButtonSize,0,-this.scrollButtonSize,0]:[0,-this.scrollButtonSize,0,this.scrollButtonSize]}init(e){let t=e.options,i=t.navigator||{},s=i.enabled,r=t.scrollbar||{},n=r.enabled,o=s&&i.height||0,a=n&&r.height||0,l=r.buttonsEnabled&&a||0;this.handles=[],this.shades=[],this.chart=e,this.setBaseSeries(),this.height=o,this.scrollbarHeight=a,this.scrollButtonSize=l,this.scrollbarEnabled=n,this.navigatorEnabled=!!s,this.navigatorOptions=i,this.scrollbarOptions=r,this.setOpposite();let h=this,c=h.baseSeries,d=e.xAxis.length,u=e.yAxis.length,p=c&&c[0]&&c[0].xAxis||e.xAxis[0]||{options:{}};if(e.isDirtyBox=!0,h.navigatorEnabled){let t=this.getXAxisOffsets();h.xAxis=new(tx())(e,G({breaks:p.options.breaks,ordinal:p.options.ordinal,overscroll:p.options.overscroll},i.xAxis,{type:"datetime",yAxis:i.yAxis?.id,index:d,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:p.options.ordinal?0:p.options.minPadding,maxPadding:p.options.ordinal?0:p.options.maxPadding,zoomEnabled:!1},e.inverted?{offsets:t,width:o}:{offsets:t,height:o}),"xAxis"),h.yAxis=new(tx())(e,G(i.yAxis,{alignTicks:!1,offset:0,index:u,isInternal:!0,reversed:W(i.yAxis&&i.yAxis.reversed,e.yAxis[0]&&e.yAxis[0].reversed,!1),zoomEnabled:!1},e.inverted?{width:o}:{height:o}),"yAxis"),c||i.series?.data?h.updateNavigatorSeries(!1):0===e.series.length&&(h.unbindRedraw=A(e,"beforeRedraw",function(){e.series.length>0&&!h.series&&(h.setBaseSeries(),h.unbindRedraw?.())})),h.reversedExtremes=e.inverted&&!h.xAxis.reversed||!e.inverted&&h.xAxis.reversed,h.renderElements(),h.addMouseEvents()}else h.xAxis={chart:e,navigatorAxis:{fake:!0},translate:function(t,i){let s=e.xAxis[0],r=s.getExtremes(),n=s.len-2*l,o=t3("min",s.options.min,r.dataMin),a=t3("max",s.options.max,r.dataMax)-o;return i?t*a/n+o:n*(t-o)/a},toPixels:function(e){return this.translate(e)},toValue:function(e){return this.translate(e,!0)}},h.xAxis.navigatorAxis.axis=h.xAxis,h.xAxis.navigatorAxis.toFixedRange=tB.prototype.toFixedRange.bind(h.xAxis.navigatorAxis);if(e.options.scrollbar?.enabled){let t=G(e.options.scrollbar,{vertical:e.inverted});H(t.margin)||(t.margin=e.inverted?-3:3),e.scrollbar=h.scrollbar=new t0(e.renderer,t,e),A(h.scrollbar,"changed",function(e){let t=h.size,i=t*this.to,s=t*this.from;h.hasDragged=h.scrollbar?.hasDragged,h.render(0,0,s,i),this.shouldUpdateExtremes(e.DOMType)&&setTimeout(function(){h.onMouseUp(e)})})}h.addBaseSeriesEvents(),h.addChartEvents()}setOpposite(){let e=this.navigatorOptions,t=this.navigatorEnabled,i=this.chart;this.opposite=W(e.opposite,!!(!t&&i.inverted))}getUnionExtremes(e){let t,i=this.chart.xAxis[0],s=this.chart.time,r=this.xAxis,n=r.options,o=i.options;return e&&null===i.dataMin||(t={dataMin:W(s.parse(n?.min),t3("min",s.parse(o.min),i.dataMin,r.dataMin,r.min)),dataMax:W(s.parse(n?.max),t3("max",s.parse(o.max),i.dataMax,r.dataMax,r.max))}),t}setBaseSeries(e,t){let i=this.chart,s=this.baseSeries=[];e=e||i.options.navigator?.baseSeries||(i.series.length?O(i.series,e=>!e.options.isInternal).index:0),(i.series||[]).forEach((t,i)=>{!t.options.isInternal&&(t.options.showInNavigator||(i===e||t.options.id===e)&&!1!==t.options.showInNavigator)&&s.push(t)}),this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,t)}updateNavigatorSeries(e,t){let i=this,s=i.chart,r=i.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}}},o=i.series=(i.series||[]).filter(e=>{let t=e.baseSeries;return!(t&&0>r.indexOf(t))||(t&&(X(t,"updatedData",i.updatedDataHandler),delete t.navigatorSeries),e.chart&&e.destroy(),!1)}),a,l,h=i.navigatorOptions.series,c;if(r&&r.length&&r.forEach(e=>{var d;let u=e.navigatorSeries,p=B({color:e.color,visible:e.visible},q(h)?t1.navigator.series:h);if(u&&!1===i.navigatorOptions.adaptToUpdatedData)return;n.name="Navigator "+r.length,c=(a=e.options||{}).navigatorOptions||{},p.dataLabels=q(d=p.dataLabels)?d:[d],(l=G(a,n,p,c)).pointRange=W(p.pointRange,c.pointRange,t1.plotOptions[l.type||"line"]?.pointRange);let g=c.data||p.data;i.hasNavigatorData=i.hasNavigatorData||!!g,l.data=g||a.data?.slice(0),u&&u.options?u.update(l,t):(e.navigatorSeries=s.initSeries(l),s.setSortedData(),e.navigatorSeries.baseSeries=e,o.push(e.navigatorSeries))}),h?.data&&!(r&&r.length)||q(h)){var d;i.hasNavigatorData=!1,(h=q(d=h)?d:[d]).forEach((e,t)=>{n.name="Navigator "+(o.length+1),(l=G(t1.navigator?.series,{color:s.series[t]&&!s.series[t].options.isInternal&&s.series[t].color||s.options.colors?.[t]||s.options.colors?.[0]},n,e)).data=e.data,l.data&&(i.hasNavigatorData=!0,o.push(s.initSeries(l)))})}e&&this.addBaseSeriesEvents()}addBaseSeriesEvents(){let e=this,t=e.baseSeries||[];t[0]&&t[0].xAxis&&t[0].eventsToUnbind.push(A(t[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes)),t.forEach(i=>{i.eventsToUnbind.push(A(i,"show",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)})),i.eventsToUnbind.push(A(i,"hide",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)})),!1!==this.navigatorOptions.adaptToUpdatedData&&i.xAxis&&i.eventsToUnbind.push(A(i,"updatedData",this.updatedDataHandler)),i.eventsToUnbind.push(A(i,"remove",function(){t&&N(t,i),this.navigatorSeries&&e.series&&(N(e.series,this.navigatorSeries),S(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)}))})}getBaseSeriesMin(e){return this.baseSeries.reduce(function(e,t){return Math.min(e,t.getColumn("x")[0]??e)},e)}modifyNavigatorAxisExtremes(){let e=this.xAxis;if(void 0!==e.getExtremes){let t=this.getUnionExtremes(!0);t&&(t.dataMin!==e.min||t.dataMax!==e.max)&&(e.min=t.dataMin,e.max=t.dataMax)}}modifyBaseAxisExtremes(){let e,t,i=this.chart.navigator,s=this.getExtremes(),r=s.min,n=s.max,o=s.dataMin,a=s.dataMax,l=n-r,h=i?.stickToMin,c=i?.stickToMax,d=W(this.ordinal?.convertOverscroll(this.options.overscroll),0),u=i.series&&i.series[0],p=!!this.setExtremes;!(this.eventArgs&&"rangeSelectorButton"===this.eventArgs.trigger)&&(h&&(e=(t=o)+l),c&&(e=a+d,h||(t=Math.max(o,e-l,i.getBaseSeriesMin(u&&u.xData?u.xData[0]:-Number.MAX_VALUE)))),p&&(h||c)&&H(t)&&(this.min=this.userMin=t,this.max=this.userMax=e)),i.stickToMin=i.stickToMax=null}updatedDataHandler(){let e=this.chart.navigator,t=this.navigatorSeries,i=e.reversedExtremes?0===Math.round(e.zoomedMin):Math.round(e.zoomedMax)>=Math.round(e.size);e.stickToMax=W(this.chart.options.navigator&&this.chart.options.navigator.stickToMax,i),e.stickToMin=e.shouldStickToMin(this,e),t&&!e.hasNavigatorData&&(t.options.pointStart=this.getColumn("x")[0],t.setData(this.options.data,!1,void 0,!1))}shouldStickToMin(e,t){let i=t.getBaseSeriesMin(e.getColumn("x")[0]),s=e.xAxis,r=s.max,n=s.min,o=s.options.range;return!!(H(r)&&H(n))&&(o&&r-i>0?r-i<o:n<=i)}addChartEvents(){this.eventsToUnbind||(this.eventsToUnbind=[]),this.eventsToUnbind.push(A(this.chart,"redraw",function(){let e=this.navigator,t=e&&(e.baseSeries&&e.baseSeries[0]&&e.baseSeries[0].xAxis||this.xAxis[0]);t&&e.render(t.min,t.max)}),A(this.chart,"getMargins",function(){let e=this.navigator,t=e.opposite?"plotTop":"marginBottom";this.inverted&&(t=e.opposite?"marginRight":"plotLeft"),this[t]=(this[t]||0)+(e.navigatorEnabled||!this.inverted?e.height+(this.scrollbar?.options.margin||0)+e.scrollbarHeight:0)+(e.navigatorOptions.margin||0)}),A(this,"setRange",function(e){this.chart.xAxis[0].setExtremes(e.min,e.max,e.redraw,e.animation,e.eventArguments)}))}destroy(){this.removeEvents(),this.xAxis&&(N(this.chart.xAxis,this.xAxis),N(this.chart.axes,this.xAxis)),this.yAxis&&(N(this.chart.yAxis,this.yAxis),N(this.chart.axes,this.yAxis)),(this.series||[]).forEach(e=>{e.destroy&&e.destroy()}),["series","xAxis","yAxis","shades","outline","scrollbarTrack","scrollbarRifles","scrollbarGroup","scrollbar","navigatorGroup","rendered"].forEach(e=>{this[e]&&this[e].destroy&&this[e].destroy(),this[e]=null}),[this.handles].forEach(e=>{D(e)}),this.baseSeries.forEach(e=>{e.navigatorSeries=void 0}),this.navigatorEnabled=!1}}let{animObject:t4}=v(),{format:t6}=et(),{getFakeMouseEvent:t9}=J,{getAxisRangeDescription:t8,fireEventOnWrappedOrUnwrappedElement:t7}=ed,ie=class extends ex{init(){let e=this.chart,t=this;this.announcer=new eN(e,"polite"),this.addEvent(t5,"afterRender",function(){this.chart===t.chart&&this.chart.renderer&&j(()=>{t.proxyProvider.updateGroupProxyElementPositions("navigator"),t.updateHandleValues()},t4(W(this.chart.renderer.globalAnimation,!0)).duration)})}onChartUpdate(){let e=this.chart,t=e.options,i=t.navigator;if(i.enabled&&i.accessibility?.enabled){let i=t.accessibility.landmarkVerbosity,s=t.lang.accessibility?.navigator.groupLabel;this.proxyProvider.removeGroup("navigator"),this.proxyProvider.addGroup("navigator","div",{role:"all"===i?"region":"group","aria-label":t6(s,{chart:e},e)});let r=t.lang.accessibility?.navigator.handleLabel;[0,1].forEach(t=>{let i=this.getHandleByIx(t);if(i){let s=this.proxyProvider.addProxyElement("navigator",{click:i},"input",{type:"range","aria-label":t6(r,{handleIx:t,chart:e},e)});this[t?"maxHandleProxy":"minHandleProxy"]=s.innerElement,s.innerElement.style.pointerEvents="none",s.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 ey(i,{keyCodeMap:[[[r.left,r.right,r.up,r.down],function(n){if(s){let o=n===r.left||n===r.up?-1:1;s.value=""+M(parseFloat(s.value)+o,0,100),t.updateNavigator(()=>{let r=t.getHandleByIx(e);r&&i.setFocusToElement(r,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&&R(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=e=>{let t=this.chart,{navigator:i,pointer:s}=t,r=this.chart.accessibility?.keyboardNavigation;if(i&&s&&this.minHandleProxy&&this.maxHandleProxy){let n=s.getChartPosition(),o=parseFloat(this.minHandleProxy.value)/100*i.size,a=parseFloat(this.maxHandleProxy.value)/100*i.size;[[0,"mousedown",i.zoomedMin],[0,"mousemove",o],[0,"mouseup",o],[1,"mousedown",i.zoomedMax],[1,"mousemove",a],[1,"mouseup",a]].forEach(([e,t,s])=>{let r=this.getHandleByIx(e)?.element;r&&t7(r,t9(t,{x:n.left+i.left+s,y:n.top+i.top},r))}),r&&(r.keyboardReset=!1),e&&e();let l=t.options.lang.accessibility?.navigator.changeAnnouncement,h=t8(t.xAxis[0]);this.announcer.announce(t6(l,{axisRangeDescription:h,chart:t},t))}};this.updateNavigatorThrottleTimer&&R(this.updateNavigatorThrottleTimer),this.updateNavigatorThrottleTimer=setTimeout(t.bind(this,e),20)}},{getPointAnnotationTexts:it}=eH,{getAxisDescription:ii,getSeriesFirstPointElement:is,getSeriesA11yElement:ir,unhideChartElementFromAT:io}=ed,{format:ia,numberFormat:il}=et(),{reverseChildNodes:ih,stripHTMLTagsFromString:ic}=J;function id(e){let t=e.chart.options.accessibility.series.pointDescriptionEnabledThreshold;return!!(!1!==t&&e.points&&e.points.length>=+t)}function iu(e,t){let i=e.series,s=i.chart,r=s.options.accessibility.point||{},n=i.options.accessibility&&i.options.accessibility.point||{},o=i.tooltipOptions||{},a=s.options.lang;return H(t)?il(t,n.valueDecimals||r.valueDecimals||o.valueDecimals||-1,a.decimalPoint,a.accessibility.thousandsSep||a.thousandsSep):t}function ip(e,t){let i=e[t];return e.chart.langFormat("accessibility.series."+t+"Description",{name:ii(i),series:e})}function ig(e){let t,i,s,r,n,o,a,l,h,c,d,u,p=e.series,g=p.chart.series.length>1||p.options.name,m=(o=(n=e.series).chart,l=(a=n.options.accessibility)&&a.point&&a.point.valueDescriptionFormat||o.options.accessibility.point.valueDescriptionFormat,c=(h=W(n.xAxis&&n.xAxis.options.accessibility&&n.xAxis.options.accessibility.enabled,!o.angular&&"flowmap"!==n.type))?(t=function(e){let t=e.series,i=t.chart,s=t.options.accessibility&&t.options.accessibility.point||{},r=i.options.accessibility.point||{},n=t.xAxis&&t.xAxis.dateTime;if(n){let t=n.getXDateFormat(e.x||0,i.options.tooltip.dateTimeLabelFormats),o=s.dateFormatter&&s.dateFormatter(e)||r.dateFormatter?.(e)||s.dateFormat||r.dateFormat||t;return i.time.dateFormat(o,e.x||0,void 0)}}(e),i=(e.series.xAxis||{}).categories&&S(e.category)&&(""+e.category).replace("<br/>"," "),s=S(e.id)&&0>(""+e.id).indexOf("highcharts-"),r="x, "+e.x,e.name||t||i||(s?e.id:r)):"",ia(l,{point:e,index:S(e.index)?e.index+1:"",xDescription:c,value:function(e){let t=e.series,i=t.chart.options.accessibility.point||{},s=t.chart.options.accessibility&&t.chart.options.accessibility.point||{},r=t.tooltipOptions||{},n=s.valuePrefix||i.valuePrefix||r.valuePrefix||"",o=s.valueSuffix||i.valueSuffix||r.valueSuffix||"",a=void 0!==e.value?"value":"y",l=iu(e,e[a]);if(e.isNull)return t.chart.langFormat("accessibility.series.nullPointValue",{point:e});if(t.pointArrayMap){let t,i,s;return t=n||"",i=o||"",s=function(s){let r=iu(e,W(e[s],e.options[s]));return void 0!==r?s+": "+t+r+i:r},e.series.pointArrayMap.reduce(function(e,t){let i=s(t);return i?e+(e.length?", ":"")+i:e},"")}return n+l+o}(e),separator:h?", ":""},o)),b=e.options&&e.options.accessibility&&e.options.accessibility.description,f=g?" "+p.name+".":"",x=(d=e.series.chart,(u=it(e)).length?d.langFormat("accessibility.series.pointAnnotationsDescription",{point:e,annotations:u}):"");return e.accessibility=e.accessibility||{},e.accessibility.valueDescription=m,m+(b?" "+b:"")+f+(x?" "+x:"")}function im(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})||"",n=function(t){return i[t]&&i[t].length>1&&e[t]},o=e.index+1,a=ip(e,"xAxis"),l=ip(e,"yAxis"),h={seriesNumber:o,series:e,chart:i},c=s.length>1?"Combination":"",d=i.langFormat("accessibility.series.summary."+e.type+c,h)||i.langFormat("accessibility.series.summary.default"+c,h),u=(n("yAxis")?" "+l+".":"")+(n("xAxis")?" "+a+".":"");return ia(W(e.options.accessibility&&e.options.accessibility.descriptionFormat,i.options.accessibility.series.descriptionFormat,""),{seriesDescription:d,authorDescription:r?" "+r:"",axisDescription:u,series:e,chart:i,seriesNumber:o},void 0)}let ib={defaultPointDescriptionFormatter:ig,defaultSeriesDescriptionFormatter:im,describeSeries:function(e){let t=e.chart,i=is(e),s=ir(e),r=t.is3d&&t.is3d();if(s){let n,o,a,l,h,c,d,u,p,g,m;if(s.lastChild!==i||r||ih(s),n=e.options.accessibility||{},a=!id(e)&&!n.exposeAsGroupOnly,o=e.chart.options.accessibility.keyboardNavigation.seriesNavigation,l=!!(e.points&&(e.points.length<+o.pointNavigationEnabledThreshold||!1===o.pointNavigationEnabledThreshold)),h=e.chart.options.accessibility.point.describeNull,(a||l)&&e.points.forEach(t=>{let i,s,r,n,o,l=t.graphic&&t.graphic.element||(s=(i=t.series)&&i.chart,r=i&&i.is("sunburst"),n=t.isNull,o=s&&s.options.accessibility.point.describeNull,n&&!r&&o&&function(e){let t,i=e.series,s=function(e){let t=e.index;if(!e.series||!e.series.data||!S(t))return null;let i=e.series.options?.nullInteraction;return O(e.series.data,function(e){return!!(e&&void 0!==e.index&&(i||e.index>t)&&e.graphic&&e.graphic.element)})||null}(e),r=s&&s.graphic,n=r?r.parentGroup:i.graph||i.group,o=s?{x:W(e.plotX,s.plotX,0),y:W(e.plotY,s.plotY,0)}:{x:W(e.plotX,0),y:W(e.plotY,0)},a=((t=e.series.chart.renderer.rect(o.x,o.y,1,1)).attr({class:"highcharts-a11y-mock-point",fill:"none",opacity:0,"fill-opacity":0,"stroke-opacity":0}),t);if(n&&n.element)return e.graphic=a,e.hasMockGraphic=!0,a.add(n),n.element.insertBefore(a.element,r?r.element:null),a.element}(t)),c=t.options&&t.options.accessibility&&!1===t.options.accessibility.enabled;if(l){if(t.isNull&&!h)return void l.setAttribute("aria-hidden",!0);if(l.setAttribute("tabindex","-1"),e.chart.styledMode||(l.style.outline="none"),a&&!c){let e,i,s,r;e=t.series,i=e.options.accessibility?.point||{},s=e.chart.options.accessibility.point||{},r=ic(z(i.descriptionFormat)&&ia(i.descriptionFormat,t,e.chart)||i.descriptionFormatter?.(t)||z(s.descriptionFormat)&&ia(s.descriptionFormat,t,e.chart)||s.descriptionFormatter?.(t)||ig(t),e.chart.renderer.forExport),l.setAttribute("role","img"),l.setAttribute("aria-label",r)}else l.setAttribute("aria-hidden",!0)}}),io(t,s),u=(d=(c=e.chart).options.chart).options3d&&d.options3d.enabled,p=c.series.length>1,g=c.options.accessibility.series.describeSingleSeries,m=(e.options.accessibility||{}).exposeAsGroupOnly,!(u&&p)&&(p||g||m||id(e))){let t,i,r;t=e.options.accessibility||{},r=(i=e.chart.options.accessibility).landmarkVerbosity,t.exposeAsGroupOnly?s.setAttribute("role","img"):"all"===r?s.setAttribute("role","region"):s.setAttribute("role","group"),s.setAttribute("tabindex","-1"),e.chart.styledMode||(s.style.outline="none"),s.setAttribute("aria-label",ic(i.series.descriptionFormatter&&i.series.descriptionFormatter(e)||im(e),e.chart.renderer.forExport))}else s.removeAttribute("aria-label")}}},{composed:ix}=v(),{getChartTitle:iy}=ed,{defaultPointDescriptionFormatter:iv,defaultSeriesDescriptionFormatter:iw}=ib;function iE(e){return!!e.options.accessibility.announceNewData.enabled}class iA{constructor(e){this.dirty={allSeries:{}},this.lastAnnouncementTime=0,this.chart=e}init(){let e=this.chart,t=e.options.accessibility.announceNewData.interruptUser?"assertive":"polite";this.lastAnnouncementTime=0,this.dirty={allSeries:{}},this.eventProvider=new em,this.announcer=new eN(e,t),this.addEventListeners()}destroy(){this.eventProvider.removeAddedEvents(),this.announcer.destroy()}addEventListeners(){let e=this,t=this.chart,i=this.eventProvider;i.addEvent(t,"afterApplyDrilldown",function(){e.lastAnnouncementTime=0}),i.addEvent(t,"afterAddSeries",function(t){e.onSeriesAdded(t.series)}),i.addEvent(t,"redraw",function(){e.announceDirtyData()})}onSeriesAdded(e){iE(this.chart)&&(this.dirty.hasDirty=!0,this.dirty.allSeries[e.name+e.index]=e,this.dirty.newSeries=S(this.dirty.newSeries)?void 0:e)}announceDirtyData(){let e=this.chart,t=this;if(e.options.accessibility.announceNewData&&this.dirty.hasDirty){var i;let e,s=this.dirty.newPoint;s&&(s=1===(e=(i=s).series.data.filter(e=>i.x===e.x&&i.y===e.y)).length?e[0]:i),this.queueAnnouncement(Object.keys(this.dirty.allSeries).map(e=>t.dirty.allSeries[e]),this.dirty.newSeries,s),this.dirty={allSeries:{}}}}queueAnnouncement(e,t,i){let s=this.chart.options.accessibility.announceNewData;if(s.enabled){var r;let n,o=+new Date,a=o-this.lastAnnouncementTime,l=Math.max(0,s.minAnnounceInterval-a),h=(r=this.queuedAnnouncement&&this.queuedAnnouncement.series,Object.keys(n=(r||[]).concat(e||[]).reduce((e,t)=>(e[t.name+t.index]=t,e),{})).map(e=>n[e])),c=this.buildAnnouncementMessage(h,t,i);c&&(this.queuedAnnouncement&&R(this.queuedAnnouncementTimer),this.queuedAnnouncement={time:o,message:c,series:h},this.queuedAnnouncementTimer=setTimeout(()=>{this&&this.announcer&&(this.lastAnnouncementTime=+new Date,this.announcer.announce(this.queuedAnnouncement.message),delete this.queuedAnnouncement,delete this.queuedAnnouncementTimer)},l))}}buildAnnouncementMessage(e,t,i){let s=this.chart,r=s.options.accessibility.announceNewData;if(r.announcementFormatter){let s=r.announcementFormatter(e,t,i,this);if(!1!==s)return s.length?s:null}let n=v().charts&&v().charts.length>1?"Multiple":"Single",o=t?"newSeriesAnnounce"+n:i?"newPointAnnounce"+n:"newDataAnnounce",a=iy(s);return s.langFormat("accessibility.announceNewData."+o,{chartTitle:a,seriesDesc:t?iw(t):null,pointDesc:i?iv(i):null,point:i,series:t})}}function iT(e){let t=this.chart,i=t.accessibility?.components.series.newDataAnnouncer;i&&i.chart===t&&iE(t)&&(i.dirty.newPoint=S(i.dirty.newPoint)?void 0:e.point)}function iM(){let e=this.chart,t=e.accessibility?.components.series.newDataAnnouncer;t&&t.chart===e&&iE(e)&&(t.dirty.hasDirty=!0,t.dirty.allSeries[this.name+this.index]=this)}(iA||(iA={})).compose=function(e){V(ix,"A11y.NDA")&&(A(e,"addPoint",iT),A(e,"updatedData",iM))};let iC=iA,{doc:ik,win:iP}=v(),{fireEventOnWrappedOrUnwrappedElement:iS}=ed,{cloneMouseEvent:iD,cloneTouchEvent:iN,getFakeMouseEvent:iB,removeElement:iI}=J,iF=class{constructor(e,t,i="button",s,r){this.chart=e,this.target=t,this.eventProvider=new em;const n=this.innerElement=ik.createElement(i),o=this.element=s?ik.createElement(s):n;e.styledMode||this.hideElementVisually(n),s&&("li"!==s||e.styledMode||(o.style.listStyle="none"),o.appendChild(n),this.element=o),this.updateTarget(t,r)}click(){let e=this.getTargetPosition();e.x+=e.width/2,e.y+=e.height/2;let t=iB("click",e);iS(this.target.click,t)}updateTarget(e,t){this.target=e,this.updateCSSClassName();let i=t||{};Object.keys(i).forEach(e=>{null===i[e]&&delete i[e]});let s=this.getTargetAttr(e.click,"aria-label");T(this.innerElement,G(s?{"aria-label":s}:{},i)),this.eventProvider.removeAddedEvents(),this.addProxyEventsToElement(this.innerElement,e.click),this.refreshPosition()}refreshPosition(){let e=this.getTargetPosition();P(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(),iI(this.element)}updateCSSClassName(){let e=e=>e.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=0===i.indexOf("touch");this.eventProvider.addEvent(e,i,e=>{let i=s?iN(e):iD(e);t&&iS(t,i),e.stopPropagation(),s||e.preventDefault()},{passive:!1})})}hideElementVisually(e){P(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 e=iP.scrollY||ik.documentElement.scrollTop,t=i.getBoundingClientRect(),s=r.getChartPosition();return{x:(t.left-s.left)/s.scaleX,y:(t.top+e-s.top)/s.scaleY,width:t.right/s.scaleX-t.left/s.scaleX,height:t.bottom/s.scaleY-t.top/s.scaleY}}return{x:0,y:0,width:1,height:1}}getTargetAttr(e,t){return e.element?e.element.getAttribute(t):e.getAttribute(t)}},{doc:iO}=v(),{unhideChartElementFromAT:iR}=ed,{removeChildNodes:iL}=J,iH=class{constructor(e){this.chart=e,this.domElementProvider=new eg,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 n="ul"===r.type||"ol"===r.type?"li":void 0,o=new iF(this.chart,t,i,n,s);return r.proxyContainerElement.appendChild(o.element),r.proxyElements.push(o),o}addGroup(e,t="div",i){let s,r=this.groups[e];if(r)return r.groupElement;let n=this.domElementProvider.createElement(t);return i&&i.role&&"div"!==t?(s=this.domElementProvider.createElement("div")).appendChild(n):s=n,s.className="highcharts-a11y-proxy-group highcharts-a11y-proxy-group-"+e.replace(/\W/g,"-"),this.groups[e]={proxyContainerElement:n,groupElement:s,type:t,proxyElements:[]},T(s,i||{}),"ul"===t&&n.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);T(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=iO.activeElement;["before","after"].forEach(e=>{let t=this["before"===e?"beforeChartProxyPosContainer":"afterChartProxyPosContainer"];iL(t),("before"===e?i:s).forEach(e=>{let i=this.groups[e];i&&t.appendChild(i.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);iL(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(e=>e.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:""),P(t,{top:"0",left:"0"}),this.chart.styledMode||(t.style.whiteSpace="nowrap",t.style.position="absolute"),t}getCurrentGroupOrderInDOM(){let e=e=>{let t=Object.keys(this.groups),i=t.length;for(;i--;){let s=t[i],r=this.groups[s];if(r&&e===r.groupElement)return s}},t=t=>{let i=[],s=t.children;for(let t=0;t<s.length;++t){let r=e(s[t]);r&&i.push(r)}return i},i=t(this.beforeChartProxyPosContainer),s=t(this.afterChartProxyPosContainer);return i.push("series"),i.concat(s)}isDOMOrderGroupOrder(){let e=this.getCurrentGroupOrderInDOM(),t=this.groupOrder.filter(e=>"series"===e||!!this.groups[e]),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),iR(this.chart,this.afterChartProxyPosContainer),iR(this.chart,this.beforeChartProxyPosContainer)}},{unhideChartElementFromAT:iz,getAxisRangeDescription:iq}=ed;class iK extends ex{init(){let e=this.chart;this.announcer=new eN(e,"polite")}onChartUpdate(){let e=this.chart,t=this,i=e.rangeSelector;i&&(this.updateSelectorVisibility(),this.setDropdownAttrs(),i.buttons&&i.buttons.length&&i.buttons.forEach(e=>{t.setRangeButtonAttrs(e)}),i.maxInput&&i.minInput&&["minInput","maxInput"].forEach(function(s,r){let n=i[s];n&&(iz(e,n),t.setRangeInputAttrs(n,"accessibility.rangeSelector."+(r?"max":"min")+"InputLabel"))}))}updateSelectorVisibility(){let e=this.chart,t=e.rangeSelector,i=t&&t.dropdown,s=t&&t.buttons||[];t&&t.hasVisibleDropdown&&i?(iz(e,i),s.forEach(e=>e.element.setAttribute("aria-hidden",!0))):(i&&i.setAttribute("aria-hidden",!0),s.forEach(t=>iz(e,t.element)))}setDropdownAttrs(){let e=this.chart,t=e.rangeSelector&&e.rangeSelector.dropdown;if(t){let i=e.langFormat("accessibility.rangeSelector.dropdownLabel",{rangeTitle:e.options.lang.rangeSelectorZoom});t.setAttribute("aria-label",i),t.setAttribute("tabindex",-1)}}setRangeButtonAttrs(e){T(e.element,{tabindex:-1,role:"button"})}setRangeInputAttrs(e,t){let i=this.chart;T(e,{tabindex:-1,"aria-label":i.langFormat(t,{chart:i})})}onButtonNavKbdArrowKey(e,t){let i=e.response,s=this.keyCodes,r=this.chart,n=r.options.accessibility.keyboardNavigation.wrapAround,o=t===s.left||t===s.up?-1:1;return r.highlightRangeSelectorButton(r.highlightedRangeSelectorItemIx+o)?i.success:n?(e.init(o),i.success):i[o>0?"next":"prev"]}onButtonNavKbdClick(e){let t=e.response,i=this.chart;return 3!==i.oldRangeSelectorItemState&&this.fakeClickEvent(i.rangeSelector.buttons[i.highlightedRangeSelectorItemIx].element),t.success}onAfterBtnClick(){let e=this.chart,t=iq(e.xAxis[0]),i=e.langFormat("accessibility.rangeSelector.clickButtonAnnouncement",{chart:e,axisRangeDescription:t});i&&this.announcer.announce(i)}onInputKbdMove(e){let t=this.chart,i=t.rangeSelector,s=t.highlightedInputRangeIx=(t.highlightedInputRangeIx||0)+e;if(s>1||s<0){if(t.accessibility)return t.accessibility.keyboardNavigation.exiting=!0,t.accessibility.keyboardNavigation.tabindexContainer.focus(),t.accessibility.keyboardNavigation.move(e)}else if(i){let e=i[s?"maxDateBox":"minDateBox"],r=i[s?"maxInput":"minInput"];e&&r&&t.setFocusToElement(e,r)}return!0}onInputNavInit(e){let t=this,i=this.chart,s=e>0?0:1,r=i.rangeSelector,n=r&&r[s?"maxDateBox":"minDateBox"],o=r&&r.minInput,a=r&&r.maxInput;if(i.highlightedInputRangeIx=s,n&&o&&a){i.setFocusToElement(n,s?a:o),this.removeInputKeydownHandler&&this.removeInputKeydownHandler();let e=e=>{(e.which||e.keyCode)===this.keyCodes.tab&&t.onInputKbdMove(e.shiftKey?-1:1)&&(e.preventDefault(),e.stopPropagation())},r=A(o,"keydown",e),l=A(a,"keydown",e);this.removeInputKeydownHandler=()=>{r(),l()}}}onInputNavTerminate(){let e=this.chart.rangeSelector||{};e.maxInput&&e.hideInput("max"),e.minInput&&e.hideInput("min"),this.removeInputKeydownHandler&&(this.removeInputKeydownHandler(),delete this.removeInputKeydownHandler)}initDropdownNav(){let e=this.chart,t=e.rangeSelector,i=t&&t.dropdown;t&&i&&(e.setFocusToElement(t.buttonGroup,i),this.removeDropdownKeydownHandler&&this.removeDropdownKeydownHandler(),this.removeDropdownKeydownHandler=A(i,"keydown",t=>{let i=(t.which||t.keyCode)===this.keyCodes.tab,s=e.accessibility;i&&(t.preventDefault(),t.stopPropagation(),s&&s.keyboardNavigation.move(t.shiftKey?-1:1))}))}getRangeSelectorButtonNavigation(){let e=this.chart,t=this.keyCodes,i=this;return new ey(e,{keyCodeMap:[[[t.left,t.right,t.up,t.down],function(e){return i.onButtonNavKbdArrowKey(this,e)}],[[t.enter,t.space],function(){return i.onButtonNavKbdClick(this)}]],validate:function(){return!!(e.rangeSelector&&e.rangeSelector.buttons&&e.rangeSelector.buttons.length)},init:function(t){let s=e.rangeSelector;if(s&&s.hasVisibleDropdown)i.initDropdownNav();else if(s){let i=s.buttons.length-1;e.highlightRangeSelectorButton(t>0?0:i)}},terminate:function(){i.removeDropdownKeydownHandler&&(i.removeDropdownKeydownHandler(),delete i.removeDropdownKeydownHandler)}})}getRangeSelectorInputNavigation(){let e=this.chart,t=this;return new ey(e,{keyCodeMap:[],validate:function(){return!!(e.rangeSelector&&e.rangeSelector.inputGroup&&"hidden"!==e.rangeSelector.inputGroup.element.style.visibility&&!1!==e.options.rangeSelector.inputEnabled&&e.rangeSelector.minInput&&e.rangeSelector.maxInput)},init:function(e){t.onInputNavInit(e)},terminate:function(){t.onInputNavTerminate()}})}getKeyboardNavigation(){return[this.getRangeSelectorButtonNavigation(),this.getRangeSelectorInputNavigation()]}destroy(){this.removeDropdownKeydownHandler&&this.removeDropdownKeydownHandler(),this.removeInputKeydownHandler&&this.removeInputKeydownHandler(),this.announcer&&this.announcer.destroy()}}function iG(e){let t=this.rangeSelector&&this.rangeSelector.buttons||[],i=this.highlightedRangeSelectorItemIx,s=this.rangeSelector&&this.rangeSelector.selected;return void 0!==i&&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 iU(){let e=this.chart.accessibility;if(e&&e.components.rangeSelector)return e.components.rangeSelector.onAfterBtnClick()}(iK||(iK={})).compose=function(e,t){let i=e.prototype;i.highlightRangeSelectorButton||(i.highlightRangeSelectorButton=iG,A(t,"afterBtnClick",iU))};let iW=iK,{composed:iV}=v();!function(e){function t(e){G(!0,e,{marker:{enabled:!0,states:{normal:{opacity:0}}}})}function i(e){return e.marker.states&&e.marker.states.normal&&e.marker.states.normal.opacity}function s(e){return!!(e._hasPointMarkers&&e.points&&e.points.length)}function r(){this.chart.styledMode&&(this.markerGroup&&this.markerGroup[this.a11yMarkersForced?"addClass":"removeClass"]("highcharts-a11y-markers-hidden"),s(this)&&this.points.forEach(e=>{e.graphic&&(e.graphic[e.hasForcedA11yMarker?"addClass":"removeClass"]("highcharts-a11y-marker-hidden"),e.graphic[!1===e.hasForcedA11yMarker?"addClass":"removeClass"]("highcharts-a11y-marker-visible"))}))}function n(e){this.resetA11yMarkerOptions=G(e.options.marker||{},this.userOptions.marker||{})}function o(){let e=this.options;!function(e){let t,i=e.chart.options.accessibility.enabled,s=!1!==(e.options.accessibility&&e.options.accessibility.enabled);return i&&s&&(t=e.chart.options.accessibility,e.points.length<t.series.pointDescriptionEnabledThreshold||!1===t.series.pointDescriptionEnabledThreshold)}(this)?this.a11yMarkersForced?(delete this.a11yMarkersForced,this.isDirty=!0,function(e){let t=e.resetA11yMarkerOptions;if(t){let i=t.states&&t.states.normal&&t.states.normal.opacity;e.chart.styledMode&&!1===t.enabled&&a(e),e.userOptions&&e.userOptions.marker&&(e.userOptions.marker.enabled=!0),e.update({marker:{enabled:t.enabled,states:{normal:{opacity:i}}}})}}(this),e.marker?.enabled===!1&&delete this.resetA11yMarkerOptions):this.chart.styledMode&&e.marker?.enabled===!1&&!s(this)&&a(this):(e.marker?.enabled===!1&&(this.a11yMarkersForced=!0,t(this.options)),s(this)&&function(e){let s=e.points.length;for(;s--;){let n=e.points[s],o=n.options,a=n.hasForcedA11yMarker;if(delete n.hasForcedA11yMarker,o.marker){var r;let e=a&&0===i(o);o.marker.enabled&&!e?(G(!0,(r=o).marker,{states:{normal:{opacity:i(r)||1}}}),n.hasForcedA11yMarker=!1):!1===o.marker.enabled&&(t(o),n.hasForcedA11yMarker=!0)}}}(this))}function a(e){e.points?.forEach(e=>{e.graphic&&(e.graphic=e.graphic.destroy())})}function l(){this.boosted&&this.a11yMarkersForced&&(G(!0,this.options,{marker:{enabled:!1}}),delete this.a11yMarkersForced)}e.compose=function(e){V(iV,"A11y.FM")&&(A(e,"afterSetOptions",n),A(e,"render",o),A(e,"afterRender",r),A(e,"renderCanvas",l))}}(g||(g={}));let iX=g;var ij=f(260),iY=f.n(ij),i_=f(820),iZ=f.n(i_);let{seriesTypes:i$}=tR(),{doc:iQ}=v(),{getPointFromXY:iJ,getSeriesFromName:i0,scrollAxisToPoint:i1}=ed;function i2(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 i3(e){let t=e.chart.options.accessibility.keyboardNavigation.seriesNavigation,i=e.options.accessibility||{},s=i.keyboardNavigation;return s&&!1===s.enabled||!1===i.enabled||!1===e.options.enableMouseTracking||!e.visible||t.pointNavigationEnabledThreshold&&+t.pointNavigationEnabledThreshold<=e.points.length}function i5(e){let t=e.series,i=t.options.nullInteraction,s=e.options.accessibility,r=t.chart.options.accessibility,n=s?.enabled===!1;return r.keyboardNavigation.seriesNavigation.skipNullPoints??(!(!e.isNull||i)&&!1===e.visible||!1===e.isInside||n||i3(t))}function i4(e){let t=e.series||[],i=t.length;for(let e=0;e<i;++e)if(!i3(t[e])){let i=function(e){let t=e.points||[],i=t.length;for(let e=0;e<i;++e)if(!i5(t[e]))return t[e];return null}(t[e]);if(i)return i}return null}function i6(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 i9(e){delete e.highlightedPoint;let t=i4(e);return!!t&&t.highlight()}class i8{constructor(e,t){this.keyCodes=t,this.chart=e}init(){let e=this,t=this.chart,i=this.eventProvider=new em;i.addEvent(iZ(),"destroy",function(){return e.onSeriesDestroy(this)}),i.addEvent(t,"afterApplyDrilldown",function(){let e;(e=i4(this))&&e.highlight(!1)}),i.addEvent(t,"drilldown",function(t){let i=t.point,s=i.series;e.lastDrilledDownPoint={x:i.x,y:i.y,seriesName:s?s.name:""}}),i.addEvent(t,"drillupall",function(){setTimeout(function(){e.onDrillupAll()},10)}),i.addEvent(iY(),"afterSetState",function(){let e=this.graphic&&this.graphic.element,i=iQ.activeElement,s=i&&i.getAttribute("class"),r=s&&s.indexOf("highcharts-a11y-proxy-element")>-1;t.highlightedPoint===this&&i!==e&&!r&&e&&e.focus&&e.focus()})}onDrillupAll(){let e,t=this.lastDrilledDownPoint,i=this.chart,s=t&&i0(i,t.seriesName);t&&s&&S(t.x)&&S(t.y)&&(e=iJ(s,t.x,t.y)),e=e||i4(i),i.container&&i.container.focus(),e&&e.highlight&&e.highlight(!1)}getKeyboardNavigationHandler(){let e=this,t=this.keyCodes,i=this.chart,s=i.inverted;return new ey(i,{keyCodeMap:[[s?[t.up,t.down]:[t.left,t.right],function(t){return e.onKbdSideways(this,t)}],[s?[t.left,t.right]:[t.up,t.down],function(t){return e.onKbdVertical(this,t)}],[[t.enter,t.space],function(e,t){let s=i.highlightedPoint;if(s){let{plotLeft:e,plotTop:i}=this.chart,{plotX:r=0,plotY:n=0}=s;t={...t,chartX:e+r,chartY:i+n,point:s,target:s.graphic?.element||t.target},I(s.series,"click",t),s.firePointEvent("click",t)}return this.response.success}],[[t.home],function(){return i9(i),this.response.success}],[[t.end],function(){return i6(i),this.response.success}],[[t.pageDown,t.pageUp],function(e){return i.highlightAdjacentSeries(e===t.pageDown),this.response.success}]],init:function(){return e.onHandlerInit(this)},validate:function(){return!!i4(i)},terminate:function(){return e.onHandlerTerminate()}})}onKbdSideways(e,t){let i=this.keyCodes,s=t===i.right||t===i.down;return this.attemptHighlightAdjacentPoint(e,s)}onHandlerInit(e){let t=this.chart;return t.options.accessibility.keyboardNavigation.seriesNavigation.rememberPointFocus&&t.highlightedPoint?t.highlightedPoint.highlight():i9(t),e.response.success}onKbdVertical(e,t){let i=this.chart,s=this.keyCodes,r=t===s.down||t===s.right,n=i.options.accessibility.keyboardNavigation.seriesNavigation;if(n.mode&&"serialize"===n.mode)return this.attemptHighlightAdjacentPoint(e,r);let o=i.highlightedPoint&&i.highlightedPoint.series.keyboardMoveVertical?"highlightAdjacentPointVertical":"highlightAdjacentSeries";return i[o](r),e.response.success}onHandlerTerminate(){let e=this.chart,t=e.options.accessibility.keyboardNavigation;e.tooltip&&e.tooltip.hide(0);let i=e.highlightedPoint&&e.highlightedPoint.series;i&&i.onMouseOut&&i.onMouseOut(),e.highlightedPoint&&e.highlightedPoint.onMouseOut&&e.highlightedPoint.onMouseOut(),t.seriesNavigation.rememberPointFocus||delete e.highlightedPoint}attemptHighlightAdjacentPoint(e,t){let i=this.chart,s=i.options.accessibility.keyboardNavigation.wrapAround;return i.highlightAdjacentPoint(t)?e.response.success:s&&(t?i9(i):i6(i))?e.response.success:e.response[t?"next":"prev"]}onSeriesDestroy(e){let t=this.chart;t.highlightedPoint&&t.highlightedPoint.series===e&&(delete t.highlightedPoint,t.focusElement&&t.focusElement.removeFocusBorder())}destroy(){this.eventProvider.removeAddedEvents()}}!function(e){function t(e){let t,i,s=this.series,r=this.highlightedPoint,n=r&&i2(r)||0,o=r&&r.series.points||[],a=this.series&&this.series[this.series.length-1],l=a&&a.points&&a.points[a.points.length-1];if(!s[0]||!s[0].points)return!1;if(r){if(t=s[r.series.index+(e?1:-1)],(i=o[n+(e?1:-1)])||!t||(i=t.points[e?0:t.points.length-1]),!i)return!1}else i=e?s[0].points[0]:l;return i5(i)?(i3(t=i.series)?this.highlightedPoint=e?t.points[t.points.length-1]:t.points[0]:this.highlightedPoint=i,this.highlightAdjacentPoint(e)):i.highlight()}function i(e){let t=this.highlightedPoint,i=1/0,s;return!!S(t.plotX)&&!!S(t.plotY)&&(this.series.forEach(r=>{i3(r)||r.points.forEach(n=>{if(!S(n.plotY)||!S(n.plotX)||n===t)return;let o=n.plotY-t.plotY,a=Math.abs(n.plotX-t.plotX),l=Math.abs(o)*Math.abs(o)+a*a*4;r.yAxis&&r.yAxis.reversed&&(o*=-1),!(o<=0&&e||o>=0&&!e||l<5||i5(n))&&l<i&&(i=l,s=n)})}),!!s&&s.highlight())}function s(e){let t,i,s,r=this.highlightedPoint,n=this.series&&this.series[this.series.length-1],o=n&&n.points&&n.points[n.points.length-1];return this.highlightedPoint?!!(t=this.series[r.series.index+(e?-1:1)])&&!!(i=function(e,t,i,s){let r=1/0,n,o,a,l=t.points.length,h=e=>!(S(e.plotX)&&S(e.plotY));if(!h(e)){for(;l--;)!h(n=t.points[l])&&(a=(e.plotX-n.plotX)*(e.plotX-n.plotX)*4+(e.plotY-n.plotY)*(e.plotY-n.plotY)*1)<r&&(r=a,o=l);return S(o)?t.points[o]:void 0}}(r,t,4))&&(i3(t)?(i.highlight(),s=this.highlightAdjacentSeries(e))?s:(r.highlight(),!1):(i.highlight(),i.series.highlightNextValidPoint())):(t=e?this.series&&this.series[0]:n,!!(i=e?t&&t.points&&t.points[0]:o)&&i.highlight())}function r(e=!0){let t=this.series.chart,i=t.tooltip?.label?.element;(!this.isNull||this.series.options?.nullInteraction)&&e?this.onMouseOver():t.tooltip&&t.tooltip.hide(0),i1(this),this.graphic&&(t.setFocusToElement(this.graphic),!e&&t.focusElement&&t.focusElement.removeFocusBorder()),t.highlightedPoint=this;let s=i?.getBoundingClientRect().top;if(i&&s&&s<0){let e=window.scrollY;window.scrollTo({behavior:"smooth",top:e+s})}return this}function n(){let e=this.chart.highlightedPoint,t=(e&&e.series)===this?i2(e):0,i=this.points,s=i.length;if(i&&s){for(let e=t;e<s;++e)if(!i5(i[e]))return i[e].highlight();for(let e=t;e>=0;--e)if(!i5(i[e]))return i[e].highlight()}return!1}e.compose=function(e,o,a){let l=e.prototype,h=o.prototype,c=a.prototype;l.highlightAdjacentPoint||(l.highlightAdjacentPoint=t,l.highlightAdjacentPointVertical=i,l.highlightAdjacentSeries=s,h.highlight=r,c.keyboardMoveVertical=!0,["column","gantt","pie"].forEach(e=>{i$[e]&&(i$[e].prototype.keyboardMoveVertical=!1)}),c.highlightNextValidPoint=n)}}(i8||(i8={}));let i7=i8,{hideSeriesFromAT:se}=ed,{describeSeries:st}=ib,si=class extends ex{static compose(e,t,i){iC.compose(i),iX.compose(i),i7.compose(e,t,i)}init(){this.newDataAnnouncer=new iC(this.chart),this.newDataAnnouncer.init(),this.keyboardNavigation=new i7(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){!1!==(e.options.accessibility&&e.options.accessibility.enabled)&&e.visible&&0!==e.getPointsCollection().length?st(e):se(e)})}getKeyboardNavigation(){return this.keyboardNavigation.getKeyboardNavigationHandler()}destroy(){this.newDataAnnouncer.destroy(),this.keyboardNavigation.destroy()}},{unhideChartElementFromAT:ss}=ed,{getFakeMouseEvent:sr}=J,sn=class extends ex{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)=>{ss(e,i.element),t.setMapNavButtonAttrs(i.element,"accessibility.zoom.mapZoom"+(s?"Out":"In"))})}setMapNavButtonAttrs(e,t){let i=this.chart;T(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 ey(t,{keyCodeMap:[[[e.up,e.down,e.left,e.right],function(e){return i.onMapKbdArrow(this,e)}],[[e.tab],function(e,t){return i.onMapKbdTab(this,t)}],[[e.space,e.enter],function(){return i.onMapKbdClick(this)}]],validate:function(){return!!(t.mapView&&t.mapNavigation&&t.mapNavigation.navButtons.length)},init:function(e){return i.onMapNavInit(e)}})}onMapKbdArrow(e,t){let i=this.chart,s=this.keyCodes,r=i.container,n=t===s.up||t===s.down,o=t===s.left||t===s.up?1:-1,a=(n?i.plotHeight:i.plotWidth)/10*o,l=10*Math.random(),h={x:r.offsetLeft+i.plotLeft+i.plotWidth/2+l,y:r.offsetTop+i.plotTop+i.plotHeight/2+l},c=n?{x:h.x,y:h.y+a}:{x:h.x+a,y:h.y};return[sr("mousedown",h),sr("mousemove",c),sr("mouseup",c)].forEach(e=>r.dispatchEvent(e)),e.response.success}onMapKbdTab(e,t){let i=this.chart,s=e.response,r=t.shiftKey,n=r&&!this.focusedMapNavButtonIx||!r&&this.focusedMapNavButtonIx;if(i.mapNavigation.navButtons[this.focusedMapNavButtonIx].setState(0),n)return i.mapView&&i.mapView.zoomBy(),s[r?"prev":"next"];this.focusedMapNavButtonIx+=r?-1:1;let o=i.mapNavigation.navButtons[this.focusedMapNavButtonIx];return i.setFocusToElement(o.box,o.element),o.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,n=this.chart;return new ey(n,{keyCodeMap:[[[s.tab,s.up,s.down,s.left,s.right],function(e,t){let i=e===s.tab&&t.shiftKey||e===s.left||e===s.up;return this.response[i?"prev":"next"]}],[[s.space,s.enter],function(){return W(i(this,n),this.response.success)}]],validate:function(){return n[e]&&n[e].box&&r[t].innerElement},init:function(){n.setFocusToElement(n[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:so,isMS:sa,win:sl}=v(),sh=function(){if(sa&&sl.getComputedStyle){let e=so.createElement("div");e.style.backgroundImage="url(data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)",so.body.appendChild(e);let t=(e.currentStyle||sl.getComputedStyle(e)).backgroundImage;return so.body.removeChild(e),"none"===t}return sl.matchMedia&&sl.matchMedia("(forced-colors: active)").matches},sc=function(e){e.highContrastModeActive=!0;let t=e.options.accessibility.highContrastTheme;e.update(t,!1);let i=t.colors?.length>1;e.series.forEach(function(e){let s=t.plotOptions[e.type]||{},r=i&&void 0!==e.colorIndex?t.colors[e.colorIndex]:s.color||"window",n={color:s.color||"windowText",colors:i?t.colors:[s.color||"windowText"],borderColor:s.borderColor||"window",fillColor:r};e.update(n,!1),e.points&&e.points.forEach(function(e){e.options&&e.options.color&&e.update({color:s.color||"windowText",borderColor:s.borderColor||"window"},!1)})}),e.redraw()},sd={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 su(e,t,i){let s=e,r,n=0;for(;n<t.length-1;++n)s=s[r=t[n]]=W(s[r],{});s[t[t.length-1]]=i}function sp(e,t,i,s){function r(e,t){return t.reduce(function(e,t){return e[t]},e)}let n=r(e.options,t),o=r(e.options,i);Object.keys(s).forEach(function(r){let a=n[r];void 0!==a&&(su(o,s[r],a),(0,y.error)(32,!1,e,{[t.join(".")+"."+r]:i.join(".")+"."+s[r].join(".")}))})}let sg=function(e){let t,i,s;t=e.options.chart,i=e.options.accessibility||{},["description","typeDescription"].forEach(function(s){t[s]&&(i[s]=t[s],(0,y.error)(32,!1,e,{[`chart.${s}`]:`use accessibility.${s}`}))}),e.axes.forEach(function(t){let i=t.options;i&&i.description&&(i.accessibility=i.accessibility||{},i.accessibility.description=i.description,(0,y.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(t){Object.keys(s).forEach(function(i){let r=t.options[i];"accessibility.pointDescriptionFormatter"===i&&(r=t.options.accessibility&&t.options.accessibility.pointDescriptionFormatter),void 0!==r&&(su(t.options,s[i],"skipKeyboardNavigation"===i?!r:r),(0,y.error)(32,!1,e,{[`series.${i}`]:"series."+s[i].join(".")}))})})),sp(e,["accessibility"],["accessibility"],{pointDateFormat:["point","dateFormat"],pointDateFormatter:["point","dateFormatter"],pointDescriptionFormatter:["point","descriptionFormatter"],pointDescriptionThreshold:["series","pointDescriptionEnabledThreshold"],pointNavigationThreshold:["keyboardNavigation","seriesNavigation","pointNavigationEnabledThreshold"],pointValueDecimals:["point","valueDecimals"],pointValuePrefix:["point","valuePrefix"],pointValueSuffix:["point","valueSuffix"],screenReaderSectionFormatter:["screenReaderSection","beforeChartFormatter"],describeSingleSeries:["series","describeSingleSeries"],seriesDescriptionFormatter:["series","descriptionFormatter"],onTableAnchorClick:["screenReaderSection","onViewDataTableClick"],axisRangeDateFormat:["screenReaderSection","axisRangeDateFormat"]}),sp(e,["accessibility","keyboardNavigation"],["accessibility","keyboardNavigation","seriesNavigation"],{skipNullPoints:["skipNullPoints"],mode:["mode"]}),sp(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:sm}=v(),{doc:sb}=v(),{removeElement:sf}=J;class sx{constructor(e){this.init(e)}init(e){if(this.chart=e,!sb?.addEventListener){this.zombie=!0,this.components={},e.renderTo.setAttribute("aria-hidden",!0);return}sg(e),this.proxyProvider=new iH(this.chart),this.initComponents(),this.keyboardNavigation=new ti(e,this.components)}initComponents(){let e=this.chart,t=this.proxyProvider,i=e.options.accessibility;this.components={container:new eT,infoRegions:new eQ,legend:new tb,chartMenu:new e5,rangeSelector:new iW,series:new si,zoom:new sn,navigator:new ie},i.customComponents&&B(this.components,i.customComponents);let s=this.components;this.getComponentOrder().forEach(function(i){s[i].initBase(e,t),s[i].init()})}getComponentOrder(){return this.components?this.components.series?["series"].concat(Object.keys(this.components).filter(e=>"series"!==e)):Object.keys(this.components):[]}update(){let e=this.components,t=this.chart,i=t.options.accessibility;I(t,"beforeA11yUpdate"),t.types=this.getChartTypes();let s=i.keyboardNavigation.order;this.proxyProvider.updateGroupOrder(s),this.getComponentOrder().forEach(function(i){e[i].onChartUpdate(),I(t,"afterA11yComponentUpdate",{name:i,component:e[i]})}),this.keyboardNavigation.update(s),!t.highContrastModeActive&&!1!==i.highContrastMode&&(sh()||!0===i.highContrastMode)&&sc(t),I(t,"afterA11yUpdate",{accessibility:this})}destroy(){let e=this.chart||{},t=this.components;Object.keys(t).forEach(function(e){t[e].destroy(),t[e].destroyBase()}),this.proxyProvider&&this.proxyProvider.destroy(),e.announcerContainer&&sf(e.announcerContainer),this.keyboardNavigation&&this.keyboardNavigation.destroy(),e.renderTo&&e.renderTo.setAttribute("aria-hidden",!0),e.focusElement&&e.focusElement.removeFocusBorder()}getChartTypes(){let e={};return this.chart.series.forEach(function(t){e[t.type]=1}),Object.keys(e)}}!function(e){function t(){this.accessibility&&this.accessibility.destroy()}function i(){this.a11yDirty&&this.renderTo&&(delete this.a11yDirty,this.updateA11yEnabled());let e=this.accessibility;e&&!e.zombie&&(e.proxyProvider.updateProxyElementPositions(),e.getComponentOrder().forEach(function(t){e.components[t].onChartRender()}))}function s(e){let t=e.options.accessibility;t&&(t.customComponents&&(this.options.accessibility.customComponents=t.customComponents,delete t.customComponents),G(!0,this.options.accessibility,t),this.accessibility&&this.accessibility.destroy&&(this.accessibility.destroy(),delete this.accessibility)),this.a11yDirty=!0}function r(){let t=this.accessibility,i=this.options.accessibility,s=this.renderer.boxWrapper.element,r=this.title;if(i&&i.enabled)t&&!t.zombie?t.update():(this.accessibility=t=new e(this),t&&!t.zombie&&t.update(),"img"===s.getAttribute("role")&&s.removeAttribute("role"));else if(t)t.destroy&&t.destroy(),delete this.accessibility;else{this.renderTo.setAttribute("role","img"),this.renderTo.setAttribute("aria-hidden",!1),this.renderTo.setAttribute("aria-label",(r&&r.element.textContent||"").replace(/</g,"&lt;")),s.setAttribute("aria-hidden",!0);let e=document.getElementsByClassName("highcharts-description")[0];e&&(e.setAttribute("aria-hidden",!1),e.classList.remove("highcharts-linked-description"))}}function n(){this.series.chart.accessibility&&(this.series.chart.a11yDirty=!0)}e.i18nFormat=eo.i18nFormat,e.compose=function(e,o,a,l,h,c){ti.compose(e),iC.compose(l),tb.compose(e,o),e5.compose(e),si.compose(e,a,l),eo.compose(e),eM.compose(e,h),c&&iW.compose(e,c);let d=e.prototype;d.updateA11yEnabled||(d.updateA11yEnabled=r,A(e,"destroy",t),A(e,"render",i),A(e,"update",s),["addSeries","init"].forEach(t=>{A(e,t,function(){this.a11yDirty=!0})}),["afterApplyDrilldown","drillupall"].forEach(t=>{A(e,t,function(){let e=this.accessibility;e&&!e.zombie&&e.update()})}),A(a,"update",n),["update","updatedData","remove"].forEach(e=>{A(l,e,function(){this.chart.accessibility&&(this.chart.a11yDirty=!0)})}))}}(sx||(sx={})),G(!0,sm,{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:sd},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}"},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} 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 sy=sx,sv=v();sv.i18nFormat=sy.i18nFormat,sv.A11yChartUtilities=ed,sv.A11yHTMLUtilities=J,sv.AccessibilityComponent=ex,sv.KeyboardNavigationHandler=ey,sv.SeriesAccessibilityDescriber=ib,sy.compose(sv.Chart,sv.Legend,sv.Point,sv.Series,sv.SVGElement,sv.RangeSelector);let sw=v();return x.default})());