PageSourceSearch

https://www.privels-natira.ch/static/vendors-charts-acf48fc6.8d3659af.js

js privels-natira.ch collected 2026-10-04 07:42:00 UTC 147,962 bytes, 1 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[7756],{28663:(t,e,i)=>{var n,o,r;r=function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Accessibility/Utils/HTMLUtilities.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){function i(t){if("function"==typeof r.MouseEvent)return new r.MouseEvent(t.type,t);if(o.createEvent){var e=o.createEvent("MouseEvent");if(e.initMouseEvent)return e.initMouseEvent(t.type,t.bubbles,t.cancelable,t.view||r,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),e}return n(t.type)}function n(t,e,i){return e=e||{x:0,y:0},"function"==typeof r.MouseEvent?new r.MouseEvent(t,{bubbles:!0,cancelable:!0,composed:!0,button:0,buttons:1,relatedTarget:i||a,view:r,detail:"click"===t?1:0,screenX:e.x,screenY:e.y,clientX:e.x,clientY:e.y}):o.createEvent&&(i=o.createEvent("MouseEvent")).initMouseEvent?(i.initMouseEvent(t,!0,!0,r,"click"===t?1:0,e.x,e.y,e.x,e.y,!1,!1,!1,!1,0,null),i):{type:t}}var o=t.doc,r=t.win,s=e.css,a=r.EventTarget&&new r.EventTarget||"none";return{addClass:function(t,e){t.classList?t.classList.add(e):0>t.className.indexOf(e)&&(t.className+=" "+e)},cloneMouseEvent:i,cloneTouchEvent:function(t){var e=function(t){for(var e=[],i=0;i<t.length;++i){var n=t.item(i);n&&e.push(n)}return e};return"function"==typeof r.TouchEvent?(e=new r.TouchEvent(t.type,{touches:e(t.touches),targetTouches:e(t.targetTouches),changedTouches:e(t.changedTouches),ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,metaKey:t.metaKey,bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed,detail:t.detail,view:t.view}),t.defaultPrevented&&e.preventDefault(),e):((e=i(t)).touches=t.touches,e.changedTouches=t.changedTouches,e.targetTouches=t.targetTouches,e)},escapeStringForHTML:function(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;")},getElement:function(t){return o.getElementById(t)},getFakeMouseEvent:n,getHeadingTagNameForElement:function(t){var e=function(t){return t=parseInt(t.slice(1),10),"h"+Math.min(6,t+1)},i=function(t){var n;t:{for(n=t;n=n.previousSibling;){var o=n.tagName||"";if(/H[1-6]/.test(o)){n=o;break t}}n=""}return n?e(n):(t=t.parentElement)?(n=t.tagName,/H[1-6]/.test(n)?e(n):i(t)):"p"};return i(t)},removeChildNodes:function(t){for(;t.lastChild;)t.removeChild(t.lastChild)},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp(e,"g"),"")},removeElement:function(t){t&&t.parentNode&&t.parentNode.removeChild(t)},reverseChildNodes:function(t){for(var e=t.childNodes.length;e--;)t.appendChild(t.childNodes[e])},simulatedEventTarget:a,stripHTMLTagsFromString:function(t){return"string"==typeof t?t.replace(/<\/?[^>]+(>|$)/g,""):t},visuallyHideElement:function(t){s(t,{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})}}})),e(t,"Accessibility/A11yI18n.js",[t["Core/FormatUtilities.js"],t["Core/Utilities.js"]],(function(t,e){var i,n=t.format,o=e.getNestedProperty,r=e.pick;return function(t){function e(t,e,i){var s=function(t,e){var i=(t=t.slice(e||0)).indexOf("{"),n=t.indexOf("}");if(-1<i&&n>i)return{statement:t.substring(i+1,n),begin:e+i+1,end:e+n}},a=[],c=0;do{var l=s(t,c),h=t.substring(c,l&&l.begin-1);h.length&&a.push({value:h,type:"constant"}),l&&a.push({value:l.statement,type:"statement"}),c=l?l.end+1:c+1}while(l);return a.forEach((function(t){"statement"===t.type&&(t.value=function(t,e){var i=t.indexOf("#each("),n=t.indexOf("#plural("),s=t.indexOf("["),a=t.indexOf("]");if(-1<i){if(a=t.slice(i).indexOf(")")+i,n=t.substring(0,i),s=t.substring(a+1),a=t.substring(i+6,a).split(","),i=Number(a[1]),t="",e=o(a[0],e))for(i=0>(i=isNaN(i)?e.length:i)?e.length+i:Math.min(i,e.length),a=0;a<i;++a)t+=n+e[a]+s;return t.length?t:""}if(-1<n){switch(s=t.slice(n).indexOf(")")+n,n=t.substring(n+8,s).split(","),Number(o(n[0],e))){case 0:t=r(n[4],n[1]);break;case 1:t=r(n[2],n[1]);break;case 2:t=r(n[3],n[1]);break;default:t=n[1]}return e=t?(e=t).trim&&e.trim()||e.replace(/^\s+|\s+$/g,""):""}return-1<s?(n=t.substring(0,s),s=Number(t.substring(s+1,a)),t=void 0,e=o(n,e),!isNaN(s)&&e&&(0>
1s?void 0===(t=e[e.length+s])&&(t=e[0]):void 0===(t=e[s])&&(t=e[e.length-1])),void 0!==t?t:""):"{"+t+"}"}(t.value,e))})),n(a.reduce((function(t,e){return t+e.value}),""),e,i)}function i(t,i){t=t.split(".");for(var n=this.options.lang,o=0;o<t.length;++o)n=n&&n[t[o]];return"string"==typeof n?e(n,i,this):""}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.prototype.langFormat=i),t},t.i18nFormat=e}(i||(i={})),i})),e(t,"Accessibility/Utils/ChartUtilities.js",[t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],(function(t,e,i){function n(t){if(t.points&&t.points.length)return(t=c(t.points,(function(t){return!!t.graphic})))&&t.graphic&&t.graphic.element}function o(t){var e=n(t);return e&&e.parentNode||t.graph&&t.graph.element||t.group&&t.group.element}var r=t.doc,s=e.stripHTMLTagsFromString,a=i.defined,c=i.find,l=i.fireEvent;return{fireEventOnWrappedOrUnwrappedElement:function t(e,i){var n=i.type,o=e.hcEvents;r.createEvent&&(e.dispatchEvent||e.fireEvent)?e.dispatchEvent?e.dispatchEvent(i):e.fireEvent(n,i):o&&o[n]?l(e,n,i):e.element&&t(e.element,i)},getChartTitle:function(t){return s(t.options.title.text||t.langFormat("accessibility.defaultChartTitle",{chart:t}))},getAxisDescription:function(t){return t&&(t.userOptions&&t.userOptions.accessibility&&t.userOptions.accessibility.description||t.axisTitle&&t.axisTitle.textStr||t.options.id||t.categories&&"categories"||t.dateTime&&"Time"||"values")},getAxisRangeDescription:function(t){var e=t.options||{};return e.accessibility&&void 0!==e.accessibility.rangeDescription?e.accessibility.rangeDescription:t.categories?(e=t.chart,t=t.dataMax&&t.dataMin?e.langFormat("accessibility.axis.rangeCategories",{chart:e,axis:t,numCategories:t.dataMax-t.dataMin+1}):""):!t.dateTime||0!==t.min&&0!==t.dataMin?function(t){var e=t.chart,i=e.options,n=i&&i.accessibility&&i.accessibility.screenReaderSection.axisRangeDateFormat||"",o={min:t.dataMin||t.min||0,max:t.dataMax||t.max||0};return i=function(i){return t.dateTime?e.time.dateFormat(n,o[i]):o[i].toString()},e.langFormat("accessibility.axis.rangeFromTo",{chart:e,axis:t,rangeFrom
1:i("min"),rangeTo:i("max")})}(t):function(t){var e=t.chart,i={},n="Seconds";i.Seconds=((t.dataMax||t.max||0)-(t.dataMin||t.min||0))/1e3,i.Minutes=i.Seconds/60,i.Hours=i.Minutes/60,i.Days=i.Hours/24,["Minutes","Hours","Days"].forEach((function(t){2<i[t]&&(n=t)}));var o=i[n].toFixed("Seconds"!==n&&"Minutes"!==n?1:0);return e.langFormat("accessibility.axis.timeRange"+n,{chart:e,axis:t,range:o.replace(".0","")})}(t)},getPointFromXY:function(t,e,i){for(var n,o=t.length;o--;)if(n=c(t[o].points||[],(function(t){return t.x===e&&t.y===i})))return n},getSeriesFirstPointElement:n,getSeriesFromName:function(t,e){return e?(t.series||[]).filter((function(t){return t.name===e})):t.series},getSeriesA11yElement:o,unhideChartElementFromAT:function t(e,i){i.setAttribute("aria-hidden",!1),i!==e.renderTo&&i.parentNode&&i.parentNode!==r.body&&(Array.prototype.forEach.call(i.parentNode.childNodes,(function(t){t.hasAttribute("aria-hidden")||t.setAttribute("aria-hidden",!0)})),t(e,i.parentNode))},hideSeriesFromAT:function(t){(t=o(t))&&t.setAttribute("aria-hidden",!0)},scrollToPoint:function(t){var e=t.series.xAxis,i=t.series.yAxis,n=e&&e.scrollbar?e:i;if((e=n&&n.scrollbar)&&a(e.to)&&a(e.from)){if(i=e.to-e.from,a(n.dataMin)&&a(n.dataMax)){var o=n.toPixels(n.dataMin),r=n.toPixels(n.dataMax);t=(n.toPixels(t["xAxis"===n.coll?"x":"y"]||0)-o)/(r-o)}else t=0;e.updatePosition(t-i/2,t+i/2),l(e,"changed",{from:e.from,to:e.to,trigger:"scrollbar",DOMEvent:null})}}}})),e(t,"Accessibility/Utils/DOMElementProvider.js",[t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e){var i=t.doc,n=e.removeElement;return function(){function t(){this.elements=[]}return t.prototype.createElement=function(){var t=i.createElement.apply(i,arguments);return this.elements.push(t),t},t.prototype.destroyCreatedElements=function(){this.elements.forEach((function(t){n(t)})),this.elements=[]},t}()})),e(t,"Accessibility/Utils/EventProvider.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){var i=e.addEvent;return function(){function e(){this.eventRemovers=[]}return e.prototype.addEvent=function(){var e=i.apply(t,arguments);return this.eventRemovers.push(e),e},e.prototype.removeAddedEvents=function(){this.eventRemovers.forEach((function(t){return t()})),this.eventRemovers=[]},e}()})),e(t,"Accessibility/AccessibilityComponent.js",[t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/DOMElementProvider.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o){var r=t.fireEventOnWrappedOrUnwrappedElement,s=n.getFakeMouseEvent;return t=o.extend,n=function(){function t(){this.proxyProvider=this.keyCodes=this.eventProvider=this.domElementProvider=this.chart=void 0}return t.prototype.initBase=function(t,n){this.chart=t,this.eventProvider=new i,this.domElementProvider=new e,this.proxyProvider=n,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}},t.prototype.addEvent=function(t,e,i,n){return this.eventProvider.addEvent(t,e,i,n)},t.prototype.createElement=function(t,e){return this.domElementProvider.createElement(t,e)},t.prototype.fakeClickEvent=function(t){var e=s("click");r(t,e)},t.prototype.destroyBase=function(){this.domElementProvider.destroyCreatedElements(),this.eventProvider.removeAddedEvents()},t}(),t(n.prototype,{init:function(){},getKeyboardNavigation:function(){},onChartUpdate:function(){},onChartRender:function(){},destroy:function(){}}),n})),e(t,"Accessibility/KeyboardNavigationHandler.js",[t["Core/Utilities.js"]],(function(t){var e=t.find;return t=function(){function t(t,e){this.chart=t,this.keyCodeMap=e.keyCodeMap||[],this.validate=e.validate,this.init=e.init,this.terminate=e.terminate,this.response={success:1,prev:2,next:3,noHandler:4,fail:5}}return t.prototype.run=function(t){var i=t.which||t.keyCode,n=this.response.noHandler,o=e(this.keyCodeMap,(function(t){return-1<t[0].indexOf(i)}));return o?n=o[1].call(this,i,t):9===i&&(n=this.response[t.shiftKey?"prev":"next"]),n},t}()})),e(t,"Accessibility/Components/ContainerComponent.js",[t["Accessibility/AccessibilityComponent.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e,
1i,n,o){var r=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=i.unhideChartElementFromAT,a=i.getChartTitle,c=n.doc,l=o.stripHTMLTagsFromString;return function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return r(i,t),i.prototype.onChartUpdate=function(){this.handleSVGTitleElement(),this.setSVGContainerLabel(),this.setGraphicContainerAttrs(),this.setRenderToAttrs(),this.makeCreditsAccessible()},i.prototype.handleSVGTitleElement=function(){var t=this.chart,e="highcharts-title-"+t.index,i=l(t.langFormat("accessibility.svgContainerTitle",{chartTitle:a(t)}));if(i.length){var n=this.svgTitleElement=this.svgTitleElement||c.createElementNS("http://www.w3.org/2000/svg","title");n.textContent=i,n.id=e,t.renderTo.insertBefore(n,t.renderTo.firstChild)}},i.prototype.setSVGContainerLabel=function(){var t=this.chart,e=t.langFormat("accessibility.svgContainerLabel",{chartTitle:a(t)});t.renderer.box&&e.length&&t.renderer.box.setAttribute("aria-label",e)},i.prototype.setGraphicContainerAttrs=function(){var t=this.chart,e=t.langFormat("accessibility.graphicContainerLabel",{chartTitle:a(t)});e.length&&t.container.setAttribute("aria-label",e)},i.prototype.setRenderToAttrs=function(){var t=this.chart,e="disabled"!==t.options.accessibility.landmarkVerbosity,i=t.langFormat("accessibility.chartContainerLabel",{title:a(t),chart:t});i&&(t.renderTo.setAttribute("role",e?"region":"group"),t.renderTo.setAttribute("aria-label",i))},i.prototype.makeCreditsAccessible=function(){var t=this.chart,e=t.credits;e&&(e.textStr&&e.element.setAttribute("aria-label",t.langFormat("accessibility.credits",{creditsStr:l(e.textStr)})),s(t,e.element))},i.prototype.getKeyboardNavigation=function(){var t=this.chart;return new e(t,{keyCodeMap:[],validate:function(){return!0},init:function(){var e=t.accessibility;e&&e.keyboardNavigation.tabindexContainer.focus()}})},i.prototype.destroy=function(){this.chart.renderTo.setAttribute("aria-hidden",!0)},i}(t)})),e(t,"Accessibility/FocusBorder.js",[t["Core/Renderer/SVG/SVGLabel.js"],t["Core/Utilities.js"]],(function(t,e){var i,n=e.addEvent,o=e.pick;return function(e){function i(){var t=this.focusElement,e=this.options.accessibility.keyboardNavigation.focusBorder;t&&(t.removeFocusBorder(),e.enabled&&t.addFocusBorder(e.margin,{stroke:e.style.color,strokeWidth:e.style.lineWidth,r:e.style.borderRadius}))}function r(t,e){var i=this.options.accessibility.keyboardNavigation.focusBorder;(e=e||t.element)&&e.focus&&(e.hcEvents&&e.hcEvents.focusin||n(e,"focusin",(function(){})),e.focus(),i.hideBrowserFocusOutline&&(e.style.outline="none")),this.focusElement&&this.focusElement.removeFocusBorder(),this.focusElement=t,this.renderFocusBorder()}function s(e,i){this.focusBorder&&this.removeFocusBorder();var n=this.getBBox(),r=o(e,3),s=this.parentGroup,c=this.scaleX||s&&s.scaleX,l=this.scaleY||s&&s.scaleY;c=(c?!l:l)?Math.abs(c||l||1):(Math.abs(c||1)+Math.abs(l||1))/2,n.x+=this.translateX?this.translateX:0,n.y+=this.translateY?this.translateY:0,l=n.x-r;var h=n.y-r,p=n.width+2*r,u=n.height+2*r,d=this instanceof t;if("text"===this.element.nodeName||d){var g=!!this.rotation;if(d)var m={x:g?1:0,y:0};else{var f=m=0;"middle"===this.attr("text-anchor")?m=f=.5:this.rotation?m=.25:f=.75,m={x:m,y:f}}f=+this.attr("x");var y=+this.attr("y");isNaN(f)||(l=f-n.width*m.x-r),isNaN(y)||(h=y-n.height*m.y-r),d&&g&&(d=p,p=u,u=d,isNaN(f)||(l=f-n.height*m.x-r),isNaN(y)||(h=y-n.width*m.y-r))}this.focusBorder=this.renderer.rect(l,h,p,u,parseInt((i&&i.r||0).toString(),10)/c).addClass("highcharts-focus-border").attr({zIndex:99}).add(s),this.renderer.styledMode||this.focusBorder.attr({stroke:i&&i.stroke,"stroke-width":(i&&i.strokeWidth||0)/c}),a(this,e,i),function(t){if(!t.focusBorderDestroyHook){var e=t.destroy;t.destroy=function(){return t.focusBorder&&t.focusBorder.destroy&&t.focu
1sBorder.destroy(),e.apply(t,arguments)},t.focusBorderDestroyHook=e}}(this)}function a(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];t.focusBorderUpdateHooks||(t.focusBorderUpdateHooks={},h.forEach((function(i){var n=t[i+="Setter"]||t._defaultSetter;t.focusBorderUpdateHooks[i]=n,t[i]=function(){var i=n.apply(t,arguments);return t.addFocusBorder.apply(t,e),i}})))}function c(){!function(t){t.focusBorderUpdateHooks&&(Object.keys(t.focusBorderUpdateHooks).forEach((function(e){var i=t.focusBorderUpdateHooks[e];i===t._defaultSetter?delete t[e]:t[e]=i})),delete t.focusBorderUpdateHooks)}(this),this.focusBorderDestroyHook&&(this.destroy=this.focusBorderDestroyHook,delete this.focusBorderDestroyHook),this.focusBorder&&(this.focusBorder.destroy(),delete this.focusBorder)}var l=[],h="x y transform width height r d stroke-width".split(" ");e.compose=function(t,e){-1===l.indexOf(t)&&(l.push(t),(t=t.prototype).renderFocusBorder=i,t.setFocusToElement=r),-1===l.indexOf(e)&&(l.push(e),(e=e.prototype).addFocusBorder=s,e.removeFocusBorder=c)}}(i||(i={})),i})),e(t,"Accessibility/Utils/Announcer.js",[t["Core/Renderer/HTML/AST.js"],t["Accessibility/Utils/DOMElementProvider.js"],t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o){var r=i.doc,s=n.addClass,a=n.visuallyHideElement,c=o.attr;return function(){function i(t,i){this.chart=t,this.domElementProvider=new e,this.announceRegion=this.addAnnounceRegion(i)}return i.prototype.destroy=function(){this.domElementProvider.destroyCreatedElements()},i.prototype.announce=function(e){var i=this;t.setElementHTML(this.announceRegion,e),this.clearAnnouncementRegionTimer&&clearTimeout(this.clearAnnouncementRegionTimer),this.clearAnnouncementRegionTimer=setTimeout((function(){i.announceRegion.innerHTML=t.emptyHTML,delete i.clearAnnouncementRegionTimer}),1e3)},i.prototype.addAnnounceRegion=function(t){var e=this.chart.announcerContainer||this.createAnnouncerContainer(),i=this.domElementProvider.createElement("div");return c(i,{"aria-hidden":!1,"aria-live":t}),this.chart.styledMode?s(i,"highcharts-visually-hidden"):a(i),e.appendChild(i),i},i.prototype.createAnnouncerContainer=function(){var t=this.chart,e=r.createElement("div");return c(e,{"aria-hidden":!1,class:"highcharts-announcer-container"}),e.style.position="relative",t.renderTo.insertBefore(e,t.renderTo.firstChild),t.announcerContainer=e},i}()})),e(t,"Accessibility/Components/AnnotationsA11y.js",[t["Accessibility/Utils/HTMLUtilities.js"]],(function(t){function e(t){return(t.annotations||[]).reduce((function(t,e){return e.options&&!1!==e.options.visible&&(t=t.concat(e.labels)),t}),[])}function i(t){return t.options&&t.options.accessibility&&t.options.accessibility.description||t.graphic&&t.graphic.text&&t.graphic.text.textStr||""}function n(t){var e=t.options&&t.options.accessibility&&t.options.accessibility.description;if(e)return e;e=t.chart;var n=i(t),o=t.points.filter((function(t){return!!t.graphic})).map((function(t){var e=t.accessibility&&t.accessibility.valueDescription||t.graphic&&t.graphic.element&&t.graphic.element.getAttribute("aria-label")||"";return((t=t&&t.series.name||"")?t+", ":"")+"data point "+e})).filter((function(t){return!!t})),r=o.length,s="accessibility.screenReaderSection.annotations.description"+(1<r?"MultiplePoints":r?"SinglePoint":"NoPoints");return t={annotationText:n,annotation:t,numPoints:r,annotationPoint:o[0],additionalAnnotationPoints:o.slice(1)},e.langFormat(s,t)}function o(t){return e(t).map((function(t){return(t=r(s(n(t))))?"<li>".concat(t,"</li>"):""}))}var r=t.escapeStringForHTML,s=t.stripHTMLTagsFromString;return{getAnnotationsInfoHTML:function(t){var e=t.annotations;return e&&e.length?(t=o(t),'<ul style="list-style-type: none">'.concat(t.join(" "),"</ul>")):""},getAnnotationLabelDescription:n,getAnnotationListItems:o,getPointAnnotationTexts:function(t){var n=e(t.series.chart).filter((function(e){return-1<e.points.indexOf(t)}));return n.length?n.map((function(t){return"".concat(i(t))})):[]}}})),e(t,"Accessibility/Components/InfoRegionsComponent.js",[t["Accessibility/A11yI18n.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/Announcer.js"],t["Accessibility/Components/AnnotationsA11y.js"],t["Core/Renderer/HTML/AST.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],(function(t,e,
1i,n,o,r,s,a,c,l){var h=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),p=n.getAnnotationsInfoHTML,u=r.getAxisDescription,d=r.getAxisRangeDescription,g=r.getChartTitle,m=r.unhideChartElementFromAT,f=s.format,y=a.doc,b=c.addClass,v=c.getElement,x=c.getHeadingTagNameForElement,w=c.stripHTMLTagsFromString,A=c.visuallyHideElement,C=l.attr,E=l.pick;return function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.announcer=void 0,t.screenReaderSections={},t}return h(n,e),n.prototype.init=function(){var t=this.chart,e=this;this.initRegionsDefinitions(),this.addEvent(t,"aftergetTableAST",(function(t){e.onDataTableCreated(t)})),this.addEvent(t,"afterViewData",(function(t){t.wasHidden&&(e.dataTableDiv=t.element,setTimeout((function(){e.focusDataTable()}),300))})),this.announcer=new i(t,"assertive")},n.prototype.initRegionsDefinitions=function(){var t=this;this.screenReaderSections={before:{element:null,buildContent:function(e){var i=e.options.accessibility.screenReaderSection.beforeChartFormatter;return i?i(e):t.defaultBeforeChartFormatter(e)},insertIntoDOM:function(t,e){e.renderTo.insertBefore(t,e.renderTo.firstChild)},afterInserted:function(){void 0!==t.sonifyButtonId&&t.initSonifyButton(t.sonifyButtonId),void 0!==t.dataTableButtonId&&t.initDataTableButton(t.dataTableButtonId)}},after:{element:null,buildContent:function(e){var i=e.options.accessibility.screenReaderSection.afterChartFormatter;return i?i(e):t.defaultAfterChartFormatter()},insertIntoDOM:function(t,e){e.renderTo.insertBefore(t,e.container.nextSibling)},afterInserted:function(){t.chart.accessibility&&t.chart.accessibility.keyboardNavigation.updateExitAnchor()}}}},n.prototype.onChartRender=function(){var t=this;this.linkedDescriptionElement=this.getLinkedDescriptionElement(),this.setLinkedDescriptionAttrs(),Object.keys(this.screenReaderSections).forEach((function(e){t.updateScreenReaderSection(e)}))},n.prototype.getLinkedDescriptionElement=function(){var t=this.chart.options.accessibility.linkedDescription;if(t){if("string"!=typeof t)return t;if(t=f(t,this.chart),1===(t=y.querySelectorAll(t)).length)return t[0]}},n.prototype.setLinkedDescriptionAttrs=function(){var t=this.linkedDescriptionElement;t&&(t.setAttribute("aria-hidden","true"),b(t,"highcharts-linked-description"))},n.prototype.updateScreenReaderSection=function(t){var e=this.chart,i=this.screenReaderSections[t],n=i.buildContent(e),r=i.element=i.element||this.createElement("div"),s=r.firstChild||this.createElement("div");n?(this.setScreenReaderSectionAttribs(r,t),o.setElementHTML(s,n),r.appendChild(s),i.insertIntoDOM(r,e),e.styledMode?b(s,"highcharts-visually-hidden"):A(s),m(e,s),i.afterInserted&&i.afterInserted()):(r.parentNode&&r.parentNode.removeChild(r),i.element=null)},n.prototype.setScreenReaderSectionAttribs=function(t,e){var i=this.chart,n=i.langFormat("accessibility.screenReaderSection."+e+"RegionLabel",{chart:i,chartTitle:g(i)});e="highcharts-screen-reader-region-".concat(e,"-").concat(i.index),C(t,{id:e,"aria-label":n||void 0}),t.style.position="relative",n&&t.setAttribute("role","all"===i.options.accessibility.landmarkVerbosity?"region":"group")},n.prototype.defaultBeforeChartFormatter=function(){var e=this.chart,i=e.options.accessibility.screenReaderSection.beforeChartFormat;if(!i)return"";var n=this.getAxesDescription(),o=e.sonify&&e.options.sonification&&e.options.sonification.enabled,r="highcharts-a11y-sonify-data-btn-"+e.index,s="hc-linkto-highcharts-data-table-"+e.index,a=p(e),c=e.langFormat("accessibility.screenReaderSection.annotations.heading",{chart:e});return n={headingTagName:x(e.renderTo),chartTitle:g(e),typeDescription:this.getTypeDescriptionText(),chartSubtitle:this.getSubtitleText(),chartLongdesc:this.getLongdescText(),xAxisDescription:n.xAxis,yAxisDescription:n.yAxis,playAsSoundButton:o?this.get
1SonifyButtonText(r):"",viewTableButton:e.getCSV?this.getDataTableButtonText(s):"",annotationsTitle:a?c:"",annotationsList:a},e=t.i18nFormat(i,n,e),this.dataTableButtonId=s,this.sonifyButtonId=r,e.replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},n.prototype.defaultAfterChartFormatter=function(){var e=this.chart,i=e.options.accessibility.screenReaderSection.afterChartFormat;if(!i)return"";var n={endOfChartMarker:this.getEndOfChartMarkerText()};return t.i18nFormat(i,n,e).replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},n.prototype.getLinkedDescription=function(){var t=this.linkedDescriptionElement;return w(t&&t.innerHTML||"")},n.prototype.getLongdescText=function(){var t=this.chart.options,e=t.caption;e=e&&e.text;var i=this.getLinkedDescription();return t.accessibility.description||i||e||""},n.prototype.getTypeDescriptionText=function(){var t=this.chart;return t.types?t.options.accessibility.typeDescription||function(t,e){var i=e[0],n=t.series&&t.series[0]||{};if(n={numSeries:t.series.length,numPoints:n.points&&n.points.length,chart:t,mapTitle:t.mapView&&t.mapView.geoMap&&t.mapView.geoMap.title},!i)return t.langFormat("accessibility.chartTypes.emptyChart",n);if("map"===i)return n.mapTitle?t.langFormat("accessibility.chartTypes.mapTypeDescription",n):t.langFormat("accessibility.chartTypes.unknownMap",n);if(1<t.types.length)return t.langFormat("accessibility.chartTypes.combinationChart",n);e=e[0],i=t.langFormat("accessibility.seriesTypeDescriptions."+e,n);var o=t.series&&2>t.series.length?"Single":"Multiple";return(t.langFormat("accessibility.chartTypes."+e+o,n)||t.langFormat("accessibility.chartTypes.default"+o,n))+(i?" "+i:"")}(t,t.types):""},n.prototype.getDataTableButtonText=function(t){var e=this.chart;return'<button id="'+t+'">'+(e=e.langFormat("accessibility.table.viewAsDataTableButtonText",{chart:e,chartTitle:g(e)}))+"</button>"},n.prototype.getSonifyButtonText=function(t){var e=this.chart;return e.options.sonification&&!1===e.options.sonification.enabled?"":'<button id="'+t+'">'+(e=e.langFormat("accessibility.sonification.playAsSoundButtonText",{chart:e,chartTitle:g(e)}))+"</button>"},n.prototype.getSubtitleText=function(){var t=this.chart.options.subtitle;return w(t&&t.text||"")},n.prototype.getEndOfChartMarkerText=function(){var t=this.chart,e=t.langFormat("accessibility.screenReaderSection.endOfChartMarker",{chart:t});return'<div id="highcharts-end-of-chart-marker-'+t.index+'">'+e+"</div>"},n.prototype.onDataTableCreated=function(t){var e=this.chart;if(e.options.accessibility.enabled){this.viewDataTableButton&&this.viewDataTableButton.setAttribute("aria-expanded","true");var i=t.tree.attributes||{};i.tabindex=-1,i.summary=e.langFormat("accessibility.table.tableSummary",{chart:e}),t.tree.attributes=i}},n.prototype.focusDataTable=function(){var t=this.dataTableDiv;(t=t&&t.getElementsByTagName("table")[0])&&t.focus&&t.focus()},n.prototype.initSonifyButton=function(t){var e=this,i=this.sonifyButton=v(t),n=this.chart,o=function(t){i&&(i.setAttribute("aria-hidden","true"),i.setAttribute("aria-label","")),t.preventDefault(),t.stopPropagation(),t=n.langFormat("accessibility.sonification.playAsSoundClickAnnouncement",{chart:n}),e.announcer.announce(t),setTimeout((function(){i&&(i.removeAttribute("aria-hidden"),i.removeAttribute("aria-label")),n.sonify&&n.sonify()}),1e3)};i&&n&&(i.setAttribute("tabindex",-1),i.onclick=function(t){(n.options.accessibility&&n.options.accessibility.screenReaderSection.onPlayAsSoundClick||o).call(this,t,n)})},n.prototype.initDataTableButton=function(t){var e=this.viewDataTableButton=v(t),i=this.chart;t=t.replace("hc-linkto-",""),e&&(C(e,{tabindex:-1,"aria-expanded":!!v(t)}),e.onclick=i.options.accessibility.screenReaderSection.onViewDataTableClick||function(){i.viewData()})},n.prototype.getAxesDescription=function(){var t=this.chart,e=function(e,i){return 1<(e=t[e]).length||e[0]&&E(e[0].options.accessibility&&e[0].options.accessibility.enabled,i)},i=!!t.types&&0>t.types.indexOf("map")&&0>t.types.indexOf("treemap")&&0>t.types.indexOf("tilemap"),n=!!t.hasCartesianSeries,o=e("xAxis",!t.angular&&n&&i);return e=e("yAxis",n&&i),i={},o&&(i.xAxis=this.getAxisDescriptionText("xAxis")),e&&(i.yAxis=this.getAxisDescriptionText("yAxis")),i},n.prototype.getAxisDescriptionText=function(t){var e=this.chart,i=e[t];return e.langFormat("accessibility.axis."+t+"Description"+(1<i.length?"Plural":"Singular"),{chart:e,names:i.map((function(t){return u(t)})),ranges:i.map((function(t){return d(t)})),numAxes:i.length})},n.prototype.destroy=function(){this.announcer&&this.announcer.destroy()},n}(e)})),e(t,"Accessibility/Components/MenuComponent.js",[t["Core/Chart/Chart.js"],t["Core/Utilities.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e,
1i,n,o,r){var s=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),a=e.attr,c=o.getChartTitle,l=o.unhideChartElementFromAT,h=r.getFakeMouseEvent;return e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.chart,e=this;this.addEvent(t,"exportMenuShown",(function(){e.onMenuShown()})),this.addEvent(t,"exportMenuHidden",(function(){e.onMenuHidden()})),this.createProxyGroup()},e.prototype.onMenuHidden=function(){var t=this.chart.exportContextMenu;t&&t.setAttribute("aria-hidden","true"),this.setExportButtonExpandedState("false")},e.prototype.onMenuShown=function(){var t=this.chart,e=t.exportContextMenu;e&&(this.addAccessibleContextMenuAttribs(),l(t,e)),this.setExportButtonExpandedState("true")},e.prototype.setExportButtonExpandedState=function(t){this.exportButtonProxy&&this.exportButtonProxy.buttonElement.setAttribute("aria-expanded",t)},e.prototype.onChartRender=function(){var t=this.chart,e=t.focusElement,i=t.accessibility;this.proxyProvider.clearGroup("chartMenu"),this.proxyMenuButton(),this.exportButtonProxy&&e&&e===t.exportingGroup&&(e.focusBorder?t.setFocusToElement(e,this.exportButtonProxy.buttonElement):i&&i.keyboardNavigation.tabindexContainer.focus())},e.prototype.proxyMenuButton=function(){var t=this.chart,e=this.proxyProvider,i=t.exportSVGElements&&t.exportSVGElements[0],n=t.options.exporting,o=t.exportSVGElements&&t.exportSVGElements[0];n&&!1!==n.enabled&&n.accessibility&&n.accessibility.enabled&&o&&o.element&&i&&(this.exportButtonProxy=e.addProxyElement("chartMenu",{click:i},{"aria-label":t.langFormat("accessibility.exporting.menuButtonLabel",{chart:t,chartTitle:c(t)}),"aria-expanded":!1,title:t.options.lang.contextButtonTitle||null}))},e.prototype.createProxyGroup=function(){this.chart&&this.proxyProvider&&this.proxyProvider.addGroup("chartMenu","div")},e.prototype.addAccessibleContextMenuAttribs=function(){var t=this.chart,e=t.exportDivElements;e&&e.length&&(e.forEach((function(t){t&&("LI"!==t.tagName||t.children&&t.children.length?t.setAttribute("aria-hidden","true"):t.setAttribute("tabindex",-1))})),(e=e[0]&&e[0].parentNode)&&a(e,{"aria-hidden":void 0,"aria-label":t.langFormat("accessibility.exporting.chartMenuLabel",{chart:t}),role:"list"}))},e.prototype.getKeyboardNavigation=function(){var t=this.keyCodes,e=this.chart,i=this;return new n(e,{keyCodeMap:[[[t.left,t.up],function(){return i.onKbdPrevious(this)}],[[t.right,t.down],function(){return i.onKbdNext(this)}],[[t.enter,t.space],function(){return i.onKbdClick(this)}]],validate:function(){return!!e.exporting&&!1!==e.options.exporting.enabled&&!1!==e.options.exporting.accessibility.enabled},init:function(){var t=i.exportButtonProxy,n=i.chart.exportingGroup;t&&n&&e.setFocusToElement(n,t.buttonElement)},terminate:function(){e.hideExportMenu()}})},e.prototype.onKbdPrevious=function(t){var e=this.chart,i=e.options.accessibility;t=t.response;for(var n=e.highlightedExportItemIx||0;n--;)if(e.highlightExportItem(n))return t.success;return i.keyboardNavigation.wrapAround?(e.highlightLastExportItem(),t.success):t.prev},e.prototype.onKbdNext=function(t){var e=this.chart,i=e.options.accessibility;t=t.response;for(var n=(e.highlightedExportItemIx||0)+1;n<e.exportDivElements.length;++n)if(e.highlightExportItem(n))return t.success;return i.keyboardNavigation.wrapAround?(e.highlightExportItem(0),t.success):t.next},e.prototype.onKbdClick=function(t){var e=this.chart,i=e.exportDivElements[e.highlightedExportItemIx],n=(e.exportSVGElements&&e.exportSVGElements[0]).element;return e.openMenu?this.fakeClickEvent(i):(this.fakeClickEvent(n),e.highlightExportItem(0)),t.response.success},e}(i),function(e){function i(){var t=this.exportSVGElements&&this.exportSVGElements[0];t&&(t=t.element).onclick&&t.onclick(h("click"))}function n(){var t=this.exportDivElements;t&&this.exportContextMenu&&this.openMenu&&(t.forEach((function(t){t&&"highcharts-menu-item"===t.className&&t.onmouseout&&t.onmouseout(h("mouseout"))})),this.highlightedExportItemIx=0,this.exportContextMenu.hideMenu(),this.container.focus())}function o(t){var e=this.exportDivElements&&this.exportDivElements[t],i=this.exportDivElements&&this.exportDivElements[this.highlightedExportItemIx];if(e&&"LI"===e.tagName&&(!e.children||!e.children.length)){var n=!!(this.renderTo.getElementsByTagName("g")[0]||{}).focus;return e.focus&&n&&e.focus(),i&&i.onmouseout&&i.onmouseout(h("mouseout")),e.onmouseover&&e.onmouseover(h("mouseover")),this.highlightedExportItemIx=t,!0}return!1}function r(){if(this.exportDivElements)for(var t=this.exportDivElements.length;t--;)if(this.highlightExportItem(t))return!0;return!1}var s=[];e.compose=function(e){-1===s.indexOf(e)&&(s.push(e),(e=t.prototype).hideExportMenu=n,e.highlightExportItem=o,e.highlightLastExportItem=r,e.showExportMenu=i)}}(e||(e={})),e})),e(t,"Accessibility/KeyboardNavigation.js",[t["Core/Globals.js"],t["Accessibility/Components/MenuComponent.js"],t["Core/Utilities.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e,
1i,n,o){var r=t.doc,s=t.win,a=i.addEvent,c=i.fireEvent,l=o.getElement,h=o.simulatedEventTarget;return i=function(){function t(t,e){this.components=this.chart=void 0,this.currentModuleIx=NaN,this.exitAnchor=this.eventProvider=void 0,this.modules=[],this.tabindexContainer=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var i=this,o=this.eventProvider=new n;this.chart=t,this.components=e,this.modules=[],this.currentModuleIx=0,this.update(),o.addEvent(this.tabindexContainer,"keydown",(function(t){return i.onKeydown(t)})),o.addEvent(this.tabindexContainer,"focus",(function(t){return i.onFocus(t)})),["mouseup","touchend"].forEach((function(t){return o.addEvent(r,t,(function(t){return i.onMouseUp(t)}))})),["mousedown","touchstart"].forEach((function(e){return o.addEvent(t.renderTo,e,(function(){i.isClickingChart=!0}))})),o.addEvent(t.renderTo,"mouseover",(function(){i.pointerIsOverChart=!0})),o.addEvent(t.renderTo,"mouseout",(function(){i.pointerIsOverChart=!1}))},t.prototype.update=function(t){var e=this.chart.options.accessibility;e=e&&e.keyboardNavigation;var i=this.components;this.updateContainerTabindex(),e&&e.enabled&&t&&t.length?(this.modules=t.reduce((function(t,e){return e=i[e].getKeyboardNavigation(),t.concat(e)}),[]),this.updateExitAnchor()):(this.modules=[],this.currentModuleIx=0,this.removeExitAnchor())},t.prototype.updateExitAnchor=function(){var t="highcharts-end-of-chart-marker-".concat(this.chart.index);t=l(t),this.removeExitAnchor(),t?(this.makeElementAnExitAnchor(t),this.exitAnchor=t):this.createExitAnchor()},t.prototype.move=function(t){var e=this.modules&&this.modules[this.currentModuleIx];if(e&&e.terminate&&e.terminate(t),this.chart.focusElement&&this.chart.focusElement.removeFocusBorder(),this.currentModuleIx+=t,e=this.modules&&this.modules[this.currentModuleIx]){if(e.validate&&!e.validate())return this.move(t);if(e.init)return e.init(t),!0}return this.currentModuleIx=0,this.exiting=!0,0<t?this.exitAnchor&&this.exitAnchor.focus():this.tabindexContainer.focus(),!1},t.prototype.onFocus=function(t){var e=this.chart;t=t.relatedTarget&&e.container.contains(t.relatedTarget),this.exiting||this.tabbingInBackwards||this.isClickingChart||t||null!==(t=this.getFirstValidModuleIx())&&(this.currentModuleIx=t,this.modules[t].init(1)),this.exiting=!1},t.prototype.onMouseUp=function(t){if(delete this.isClickingChart,!this.keyboardReset&&t.relatedTarget!==h){if(t=this.chart,!this.pointerIsOverChart){var 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}},t.prototype.onKeydown=function(t){t=t||s.event;var e,i=this.modules&&this.modules.length&&this.modules[this.currentModuleIx];if(this.exiting=this.keyboardReset=!1,i){var n=i.run(t);n===i.response.success?e=!0:n===i.response.prev?e=this.move(-1):n===i.response.next&&(e=this.move(1)),e&&(t.preventDefault(),t.stopPropagation())}},t.prototype.updateContainerTabindex=function(){var t=this.chart.options.accessibility;t=!((t=t&&t.keyboardNavigation)&&!1===t.enabled);var e=this.chart,i=e.container;e.renderTo.hasAttribute("tabindex")&&(i.removeAttribute("tabindex"),i=e.renderTo),this.tabindexContainer=i;var n=i.getAttribute("tabindex");t&&!n?i.setAttribute("tabindex","0"):t||e.container.removeAttribute("tabindex")},t.prototype.createExitAnchor=function(){var t=this.chart,e=this.exitAnchor=r.createElement("div");t.renderTo.appendChild(e),this.makeElementAnExitAnchor(e)},t.prototype.makeElementAnExitAnchor=function(t){var e=this.tabindexContainer.getAttribute("tabindex")||0;t.setAttribute("class","highcharts-exit-anchor"),t.setAttribute("tabindex",e),t.setAttribute("aria-hidden",!1),this.addExitAnchorEventsToEl(t)},t.prototype.removeExitAnchor=function(){this.exitAnchor&&this.exitAnchor.parentNode&&(this.exitAnchor.parentNode.removeChild(this.exitAnchor),delete this.exitAnchor)},t.prototype.addExitAnchorEventsToEl=function(t){var e=this.chart,i=this;this.eventProvider.addEvent(t,"focus",(function(t){var n=!((t=t||s.event).relatedTarget&&e.container.contains(t.relatedTarget)||i.exiting);e.focusElement&&delete e.focusElement,n?(i.tabbingInBackwards=!0,i.tabindexContainer.focus(),delete i.tabbingInBackwards,t.preventDefault(),i.modules&&i.modules.length&&(i.currentModuleIx=i.modules.length-1,(t=i.modules[i.currentModuleIx])&&t.validate&&!t.validate()?i.move(-1):t&&t.init(-1))):i.exiting=!1}))},t.prototype.getFirstValidModuleIx=function(){for(var t=this.modules.length,e=0;e<t;++e){var i=this.modules[e];if(!i.validate||i.validate())return e}return null},t.prototype.destroy=function(){this.removeExitAnchor(),this.eventProvider.removeAddedEvents(),this.chart.container.removeAttribute("tabindex")},t}(),function(i){function n(){var t=this;c(this,"dismissPopupContent",{},(function(){t.tooltip&&t.tooltip.hide(0),t.hideExportMenu()}))}function o(e){27===(e.which||e.keyCode)&&t.charts&&t.charts.forEac
1h((function(t){t&&t.dismissPopupContent&&t.dismissPopupContent()}))}var s=[];i.compose=function(t){return e.compose(t),-1===s.indexOf(t)&&(s.push(t),t.prototype.dismissPopupContent=n),-1===s.indexOf(r)&&(s.push(r),a(r,"keydown",o)),t}}(i||(i={})),i})),e(t,"Accessibility/Components/LegendComponent.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Core/Legend/Legend.js"],t["Core/Utilities.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e,i,n,o,r,s,a){function c(t){var e=t.legend&&t.legend.allItems,i=t.options.legend.accessibility||{};return t=t.colorAxis&&t.colorAxis.some((function(t){return!t.dataClasses||!t.dataClasses.length})),!(!e||!e.length||t||!1===i.enabled)}function l(t,e){var i=e.legendItem||{};e.setState(t?"hover":"",!0),e=0;for(var n=["group","label","symbol"];e<n.length;e++){var o=i[n[e]];(o=o&&o.element||o)&&g(o,t?"mouseover":"mouseout")}}var h=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),p=t.animObject,u=e.doc,d=n.addEvent,g=n.fireEvent,m=n.isNumber,f=n.pick,y=n.syncTimeout,b=s.getChartTitle,v=a.stripHTMLTagsFromString,x=a.addClass,w=a.removeClass;return t=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.highlightedLegendItemIx=NaN,e.proxyGroup=null,e}return h(e,t),e.prototype.init=function(){var t=this;this.recreateProxies(),this.addEvent(i,"afterScroll",(function(){this.chart===t.chart&&(t.proxyProvider.updateGroupProxyElementPositions("legend"),t.updateLegendItemProxyVisibility(),-1<t.highlightedLegendItemIx&&this.chart.highlightLegendItem(t.highlightedLegendItemIx))})),this.addEvent(i,"afterPositionItem",(function(e){this.chart===t.chart&&this.chart.renderer&&t.updateProxyPositionForItem(e.item)}
1)),this.addEvent(i,"afterRender",(function(){this.chart===t.chart&&this.chart.renderer&&t.recreateProxies()&&y((function(){return t.proxyProvider.updateGroupProxyElementPositions("legend")}),p(f(this.chart.renderer.globalAnimation,!0)).duration)}))},e.prototype.updateLegendItemProxyVisibility=function(){var t,e=this.chart,i=e.legend,n=i.currentPage||1,o=i.clipHeight||0;(i.allItems||[]).forEach((function(r){if(r.a11yProxyElement){var s=i.pages&&i.pages.length,a=r.a11yProxyElement.element,c=!1;t=r.legendItem||{},s&&(r=t.pageIx||0,c=(s=t.y||0)+(c=t.label?Math.round(t.label.getBBox().height):0)-i.pages[r]>o||r!==n-1),c?e.styledMode?x(a,"highcharts-a11y-invisible"):a.style.visibility="hidden":(w(a,"highcharts-a11y-invisible"),a.style.visibility="")}}))},e.prototype.onChartRender=function(){c(this.chart)||this.removeProxies()},e.prototype.highlightAdjacentLegendPage=function(t){var e=this.chart,i=e.legend;t=(i.currentPage||1)+t;var n=i.pages||[];if(0<t&&t<=n.length)for(var o=n=0,r=i.allItems;o<r.length;o++)((r[o].legendItem||{}).pageIx||0)+1===t&&(i=e.highlightLegendItem(n))&&(this.highlightedLegendItemIx=n),++n},e.prototype.updateProxyPositionForItem=function(t){t.a11yProxyElement&&t.a11yProxyElement.refreshPosition()},e.prototype.recreateProxies=function(){var t=u.activeElement,e=this.proxyGroup;return t=t&&e&&e.contains(t),this.removeProxies(),!!c(this.chart)&&(this.addLegendProxyGroup(),this.proxyLegendItems(),this.updateLegendItemProxyVisibility(),this.updateLegendTitle(),t&&this.chart.highlightLegendItem(this.highlightedLegendItemIx),!0)},e.prototype.removeProxies=function(){this.proxyProvider.removeGroup("legend")},e.prototype.updateLegendTitle=function(){var t=this.chart,e=v((t.legend&&t.legend.options.title&&t.legend.options.title.text||"").replace(/<br ?\/?>/g," "));t=t.langFormat("accessibility.legend.legendLabel"+(e?"":"NoTitle"),{chart:t,legendTitle:e,chartTitle:b(t)}),this.proxyProvider.updateGroupAttrs("legend",{"aria-label":t})},e.prototype.addLegendProxyGroup=function(){this.proxyGroup=this.proxyProvider.addGroup("legend","ul",{"aria-label":"_placeholder_",role:"all"===this.chart.options.accessibility.landmarkVerbosity?"region":null})},e.prototype.proxyLegendItems=function(){var t,e=this;((this.chart.legend||{}).allItems||[]).forEach((function(i){(t=i.legendItem||{}).label&&t.label.element&&e.proxyLegendItem(i)}))},e.prototype.proxyLegendItem=function(t){var e=t.legendItem||{};if(e.label&&e.group){var i=this.chart.langFormat("accessibility.legend.legendItem",{chart:this.chart,itemName:v(t.name),item:t});t.a11yProxyElement=this.proxyProvider.addProxyElement("legend",{click:e.label,visual:(e.group.div?e.label:e.group).element},{tabindex:-1,"aria-pressed":t.visible,"aria-label":i})}},e.prototype.getKeyboardNavigation=function(){var t=this.keyCodes,e=this,i=this.chart;return new r(i,{keyCodeMap:[[[t.left,t.right,t.up,t.down],function(t){return e.onKbdArrowKey(this,t)}],[[t.enter,t.space],function(){return e.onKbdClick(this)}],[[t.pageDown,t.pageUp],function(i){return e.highlightAdjacentLegendPage(i===t.pageDown?1:-1),this.response.success}]],validate:function(){return e.shouldHaveLegendNavigation()},init:function(){i.highlightLegendItem(0),e.highlightedLegendItemIx=0},terminate:function(){e.highlightedLegendItemIx=-1,i.legend.allItems.forEach((function(t){return l(!1,t)}))}})},e.prototype.onKbdArrowKey=function(t,e){var i=this.keyCodes,n=t.response,o=this.chart,r=o.options.accessibility,s=o.legend.allItems.length;return e=e===i.left||e===i.up?-1:1,o.highlightLegendItem(this.highlightedLegendItemIx+e)?(this.highlightedLegendItemIx+=e,n.success):(1<s&&r.keyboardNavigation.wrapAround&&t.init(e),n.success)},e.prototype.onKbdClick=function(t){var e=this.chart.legend.allItems[this.highlightedLegendItemIx];return e&&e.a11yProxyElement&&e.a11yProxyElement.click(),t.response.success},e.prototype.shouldHaveLegendNavigation=function(){if(!c(this.chart))return!1;var t=this.chart,e=(t.options.legend||{}).accessibility||{};return!!(t.legend.display&&e.keyboardNavigation&&e.keyboardNavigation.enabled)},e}(o),function(t){function e(t){var e=this.legend.allItems,i=this.accessibility&&this.accessibility.components.legend.highlightedLegendItemIx,n=e[t],o=n.legendItem||{};return!!n&&(m(i)&&e[i]&&l(!1,e[i]),t=((e=this.legend).allItems[t].legendItem||{}).pageIx,i=e.currentPage,void 0!==t&&t+1!==i&&e.scroll(1+t-i),o=o.label,t=n.a11yProxyElement&&n.a11yProxyElement.buttonElement,o&&o.element&&t&&this.setFocusToElement(o,t),l(!0,n),!0)}function i(t){var e=t.item;this.chart.options.accessibility.enabled&&e&&e.a11yProxyElement&&e.a11yProxyElement.buttonElement.setAttribute("aria-pressed",t.visible?"true":"false")}var n=[];t.compose=function(t,o){-1===n.indexOf(t)&&(n.push(t),t.prototype.highlightLegendItem=e),-1===n.indexOf(o)&&(n.push(o),d(o,"afterColorizeItem",i))}}(t||(t={})),t})),e(t,"Accessibility/Components/SeriesComponent/SeriesDescriber.js",[t["Accessibility/Components/AnnotationsA11y.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Core/FormatUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],(function(t,e,
1i,n,o){function r(t){var e=t.index;return t.series&&t.series.data&&E(e)&&w(t.series.data,(function(t){return!!(t&&void 0!==t.index&&t.index>e&&t.graphic&&t.graphic.element)}))||null}function s(t){var e=t.chart.options.accessibility.series.pointDescriptionEnabledThreshold;return!!(!1!==e&&t.points&&t.points.length>=e)}function a(t,e){var i=t.series,n=i.chart;t=n.options.accessibility.point||{};var o=i.options.accessibility&&i.options.accessibility.point||{};return i=i.tooltipOptions||{},n=n.options.lang,A(e)?b(e,o.valueDecimals||t.valueDecimals||i.valueDecimals||-1,n.decimalPoint,n.accessibility.thousandsSep||n.thousandsSep):e}function c(t,e){return t.chart.langFormat("accessibility.series."+e+"Description",{name:d(t[e]),series:t})}function l(t){var e=t.series,i=1<e.chart.series.length||e.options.name,n=t.series,o=n.chart,r=n.options.accessibility;if(r=r&&r.point&&r.point.valueDescriptionFormat||o.options.accessibility.point.valueDescriptionFormat,n=C(n.xAxis&&n.xAxis.options.accessibility&&n.xAxis.options.accessibility.enabled,!o.angular)){var s=t.series,c=s.chart,l=s.options.accessibility&&s.options.accessibility.point||{},h=c.options.accessibility.point||{};(s=s.xAxis&&s.xAxis.dateTime)?(s=s.getXDateFormat(t.x||0,c.options.tooltip.dateTimeLabelFormats),l=l.dateFormatter&&l.dateFormatter(t)||h.dateFormatter&&h.dateFormatter(t)||l.dateFormat||h.dateFormat||s,c=c.time.dateFormat(l,t.x||0,void 0)):c=void 0,l=(t.series.xAxis||{}).categories&&E(t.category)&&(""+t.category).replace("<br/>"," "),h=E(t.id)&&0>(""+t.id).indexOf("highcharts-"),s="x, "+t.x,c=t.name||c||l||(h?t.id:s)}else c="";l=E(t.index)?t.index+1:"";var p=(h=t.series).chart.options.accessibility.point||{},d=h.chart.options.accessibility&&h.chart.options.accessibility.point||{},g=h.tooltipOptions||{};return s=d.valuePrefix||p.valuePrefix||g.valuePrefix||"",p=d.valueSuffix||p.valueSuffix||g.valueSuffix||"",d=a(t,t[void 0!==t.value?"value":"y"]),h=t.isNull?h.chart.langFormat("accessibility.series.nullPointValue",{point:t}):h.pointArrayMap?function(t,e,i){var n=e||"",o=i||"";return t.series.pointArrayMap.reduce((function(e,i){e+=e.length?", ":"";var r=a(t,C(t[i],t.options[i]));return e+(i+": ")+n+r+o}),"")}(t,s,p):s+d+p,o=y(r,{point:t,index:l,xDescription:c,value:h,separator:n?", ":""},o),r=(r=t.options&&t.options.accessibility&&t.options.accessibility.description)?" "+r:"",e=i?" "+e.name+".":"",i=t.series.chart,c={point:t,annotations:n=u(t)},i=n.length?i.langFormat("accessibility.series.pointAnnotationsDescription",c):"",t.accessibility=t.accessibility||{},t.accessibility.valueDescription=o,o+r+e+(i?" "+i:"")}function h(t){var e=function(t){var e=t.options.accessibility||{};return!s(t)&&!e.exposeAsGroupOnly}(t),i=function(t){var e=t.chart.options.accessibility.keyboardNavigation.seriesNavigation;return!(!t.points||!(t.points.length<e.pointNavigationEnabledThreshold||!1===e.pointNavigationEnabledThreshold))}(t),n=t.chart.options.accessibility.point.describeNull;(e||i)&&t.points.forEach((function(i){var o;if(!(o=i.graphic&&i.graphic.element)){var s=i.series;if(o=s&&s.chart,s=s&&s.is("sunburst"),o=o&&o.options.accessibility.point.describeNull,o=i.isNull&&!s&&o){s=i.series;var a=r(i);s=(o=a&&a.graphic)?o.parentGroup:s.graph||s.group,a=a?{x:C(i.plotX,a.plotX,0),y:C(i.plotY,a.plotY,0)}:{x:C(i.plotX,0),y:C(i.plotY,0)},(a=i.series.chart.renderer.rect(a.x,a.y,1,1)).attr({class:"highcharts-a11y-mock-point",fill:"none",opacity:0,"fill-opacity":0,"stroke-opacity":0}),s&&s.element?(i.graphic=a,i.hasMockGraphic=!0,a.add(s),s.element.insertBefore(a.element,o?o.element:null),o=a.element):o=void 0}}s=i.options&&i.options.accessibility&&!1===i.options.accessibility.enabled,o&&(i.isNull&&!n?o.setAttribute("aria-hidden",!0):(o.setAttribute("tabindex","-1"),t.chart.styledMode||(o.style.outline="none"),e&&!s?(s=(a=i.series).chart.options.accessibility.point||{},a=a.options.accessibility&&a.options.accessibility.point||{},i=x(a.descriptionFormatter&&a.descriptionFormatter(i)||s.descriptionFormatter&&s.descriptionFormatter(i)||l(i)),o.setAttribute("role","img"),o.setAttribute("aria-label",i)):o.setAttribute("aria-hidden",!0)))}))}function p(t){var e=t.chart,i=e.types||[],n=function(t){var e=(t.options.accessibility||{}).description;return e&&t.chart.langFormat("accessibility.series.description",{description:e,series:t})||""}(t),o=function(i){return e[i]&&1<e[i].length&&t[i]},r=t.index+1,s=c(t,"xAxis"),a=c(t,"yAxis"),l={seriesNumber:r,series:t,chart:e};return i=1<i.length?"Combination":"",l=e.langFormat("accessibility.series.summary."+t.type+i,l)||e.langFormat("accessibility.series.summary.default"+i,l),o=(o("yAxis")?" "+a+".":"")+(o("xAxis")?" "+s+".":""),y(e.options.accessibility.series.descriptionFormat||"",{seriesDescription:l,authorDescription:n?" "+n:"",axisDescription:o,series:t,chart:e,seriesNumber:r},void 0)}var u=t.getPointAnnotationTexts,d=e.getAxisDescription,g=e.getSeriesFirstPointElement,m=e.getSeriesA11yElement,f=e.unhideChartElementFromAT,y=i.format,b=i.numberFormat,v=n.reverseChildNodes,x=n.stripHTMLTagsFromString,w=o.find,A=o.isNumber,C=o.pick,E=o.defined;return{defaultPointDescriptionFormatter:l,defaultSeriesDescriptionFormatter:p,describeSeries:function(t){var e=t.chart,i=g(t),n=m(t),o=e.is3d&&e.is3d();if(n){n.lastChild!==i||o||v(n),h(t),f(e,n),e=(o=t.chart).options.chart,i=1<o.series.length,o=o.options.accessibility.series.describeSingleSeries;var r=(t.options.accessibility||{}).exposeAsGroupOnly;e.options3d&&e.options3d.enabled&&i||!(i||o||r||s(t))?n.removeAttribute("aria-label"):(i=(e=t.chart.options.accessibility).landmarkVerbosity,(t.options.accessibility||{}).exposeAsGroupOnly?n.setAttribute("role","img"):"all"===i?n.setAttribute("role","regi
1on"):n.setAttribute("role","group"),n.setAttribute("tabindex","-1"),t.chart.styledMode||(n.style.outline="none"),n.setAttribute("aria-label",x(e.series.descriptionFormatter&&e.series.descriptionFormatter(t)||p(t))))}}}})),e(t,"Accessibility/Components/SeriesComponent/NewDataAnnouncer.js",[t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/Utils/Announcer.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Components/SeriesComponent/SeriesDescriber.js"]],(function(t,e,i,n,o,r){var s=e.addEvent,a=e.defined,c=n.getChartTitle,l=r.defaultPointDescriptionFormatter,h=r.defaultSeriesDescriptionFormatter;return e=function(){function e(t){this.announcer=void 0,this.dirty={allSeries:{}},this.eventProvider=void 0,this.lastAnnouncementTime=0,this.chart=t}return e.prototype.init=function(){var t=this.chart,e=t.options.accessibility.announceNewData.interruptUser?"assertive":"polite";this.lastAnnouncementTime=0,this.dirty={allSeries:{}},this.eventProvider=new o,this.announcer=new i(t,e),this.addEventListeners()},e.prototype.destroy=function(){this.eventProvider.removeAddedEvents(),this.announcer.destroy()},e.prototype.addEventListeners=function(){var t=this,e=this.chart,i=this.eventProvider;i.addEvent(e,"afterApplyDrilldown",(function(){t.lastAnnouncementTime=0})),i.addEvent(e,"afterAddSeries",(function(e){t.onSeriesAdded(e.series)})),i.addEvent(e,"redraw",(function(){t.announceDirtyData()}))},e.prototype.onSeriesAdded=function(t){this.chart.options.accessibility.announceNewData.enabled&&(this.dirty.hasDirty=!0,this.dirty.allSeries[t.name+t.index]=t,this.dirty.newSeries=a(this.dirty.newSeries)?void 0:t)},e.prototype.announceDirtyData=function(){var t=this;if(this.chart.options.accessibility.announceNewData&&this.dirty.hasDirty){var e=this.dirty.newPoint;e&&(e=function(t){var e=t.series.data.filter((function(e){return t.x===e.x&&t.y===e.y}));return 1===e.length?e[0]:t}(e)),this.queueAnnouncement(Object.keys(this.dirty.allSeries).map((function(e){return t.dirty.allSeries[e]})),this.dirty.newSeries,e),this.dirty={allSeries:{}}}},e.prototype.queueAnnouncement=function(t,e,i){var n=this,o=this.chart.options.accessibility.announceNewData;if(o.enabled){var r=+new Date;o=Math.max(0,o.minAnnounceInterval-(r-this.lastAnnouncementTime)),t=function(t,e){var i=(t||[]).concat(e||[]).reduce((function(t,e){return t[e.name+e.index]=e,t}),{});return Object.keys(i).map((function(t){return i[t]}))}(this.queuedAnnouncement&&this.queuedAnnouncement.series,t),(e=this.buildAnnouncementMessage(t,e,i))&&(this.queuedAnnouncement&&clearTimeout(this.queuedAnnouncementTimer),this.queuedAnnouncement={time:r,message:e,series:t},this.queuedAnnouncementTimer=setTimeout((function(){n&&n.announcer&&(n.lastAnnouncementTime=+new Date,n.announcer.announce(n.queuedAnnouncement.message),delete n.queuedAnnouncement,delete n.queuedAnnouncementTimer)}),o))}},e.prototype.buildAnnouncementMessage=function(e,i,n){var o=this.chart,r=o.options.accessibility.announceNewData;return r.announcementFormatter&&!1!==(e=r.announcementFormatter(e,i,n))?e.length?e:null:(e=t.charts&&1<t.charts.length?"Multiple":"Single",e=i?"newSeriesAnnounce"+e:n?"newPointAnnounce"+e:"newDataAnnounce",r=c(o),o.langFormat("accessibility.announceNewData."+e,{chartTitle:r,seriesDesc:i?h(i):null,pointDesc:n?l(n):null,point:n,series:i}))},e}(),function(t){function e(t){var e=this.chart,i=this.newDataAnnouncer;i&&i.chart===e&&e.options.accessibility.announceNewData.enabled&&(i.dirty.newPoint=a(i.dirty.newPoint)?void 0:t.point)}function i(){var t=this.chart,e=this.newDataAnnouncer;e&&e.chart===t&&t.options.accessibility.announceNewData.enabled&&(e.dirty.hasDirty=!0,e.dirty.allSeries[this.name+this.index]=this)}t.composedClasses=[],t.compose=function(n){-1===t.composedClasses.indexOf(n)&&(t.composedClasses.push(n),s(n,"addPoint",e),s(n,"updatedData",i))}}(e||(e={})),e})),e(t,"Accessibility/ProxyElement.js",[t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e,
1i,n,o){var r=t.doc,s=e.attr,a=e.css,c=e.merge,l=n.fireEventOnWrappedOrUnwrappedElement,h=o.cloneMouseEvent,p=o.cloneTouchEvent,u=o.getFakeMouseEvent,d=o.removeElement;return function(){function t(t,e,n,o){this.chart=t,this.target=e,this.groupType=n,n="ul"===n,this.eventProvider=new i;var s=n?r.createElement("li"):null,a=this.buttonElement=r.createElement("button");t.styledMode||this.hideButtonVisually(a),s?(n&&!t.styledMode&&(s.style.listStyle="none"),s.appendChild(a),this.element=s):this.element=a,this.updateTarget(e,o)}return t.prototype.click=function(){var t=this.getTargetPosition();t.x+=t.width/2,t.y+=t.height/2,t=u("click",t),l(this.target.click,t)},t.prototype.updateTarget=function(t,e){this.target=t,this.updateCSSClassName();var i=e||{};Object.keys(i).forEach((function(t){null===i[t]&&delete i[t]})),s(this.buttonElement,c({"aria-label":this.getTargetAttr(t.click,"aria-label")},i)),this.eventProvider.removeAddedEvents(),this.addProxyEventsToButton(this.buttonElement,t.click),this.refreshPosition()},t.prototype.refreshPosition=function(){var t=this.getTargetPosition();a(this.buttonElement,{width:(t.width||1)+"px",height:(t.height||1)+"px",left:(Math.round(t.x)||0)+"px",top:(Math.round(t.y)||0)+"px"})},t.prototype.remove=function(){this.eventProvider.removeAddedEvents(),d(this.element)},t.prototype.updateCSSClassName=function(){var t=this.chart.legend;t=-1<((t=t.group&&t.group.div)&&t.className||"").indexOf("highcharts-no-tooltip");var e=-1<(this.getTargetAttr(this.target.click,"class")||"").indexOf("highcharts-no-tooltip");this.buttonElement.className=t||e?"highcharts-a11y-proxy-button highcharts-no-tooltip":"highcharts-a11y-proxy-button"},t.prototype.addProxyEventsToButton=function(t,e){var i=this;"click touchstart touchend touchcancel touchmove mouseover mouseenter mouseleave mouseout".split(" ").forEach((function(n){var o=0===n.indexOf("touch");i.eventProvider.addEvent(t,n,(function(t){var i=o?p(t):h(t);e&&l(e,i),t.stopPropagation(),o||t.preventDefault()}),{passive:!1})}))},t.prototype.hideButtonVisually=function(t){a(t,{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)"})},t.prototype.getTargetPosition=function(){var t=this.target.click;if(t=t.element?t.element:t,t=this.target.visual||t,this.chart.renderTo&&t&&t.getBoundingClientRect){t=t.getBoundingClientRect();var e=this.chart.pointer.getChartPosition();return{x:(t.left-e.left)/e.scaleX,y:(t.top-e.top)/e.scaleY,width:t.right/e.scaleX-t.left/e.scaleX,height:t.bottom/e.scaleY-t.top/e.scaleY}}return{x:0,y:0,width:1,height:1}},t.prototype.getTargetAttr=function(t,e){return t.element?t.element.getAttribute(e):t.getAttribute(e)},t}()})),e(t,"Accessibility/ProxyProvider.js",[t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/DOMElementProvider.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Accessibility/ProxyElement.js"]],(function(t,e,i,n,o,r){var s=t.doc,a=e.attr,c=e.css,l=i.unhideChartElementFromAT,h=o.removeElement,p=o.removeChildNodes;return function(){function t(t){this.chart=t,this.domElementProvider=new n,this.groups={},this.groupOrder=[],this.beforeChartProxyPosContainer=this.createProxyPosContainer("before"),this.afterChartProxyPosContainer=this.createProxyPosContainer("after"),this.update()}return t.prototype.addProxyElement=function(t,e,i){var n=this.groups[t];if(!n)throw Error("ProxyProvider.addProxyElement: Invalid group key "+t);return t=new r(this.chart,e,n.type,i),n.proxyContainerElement.appendChild(t.element),n.proxyElements.push(t),t},t.prototype.addGroup=function(t,e,i){var n=this.groups[t];if(n)return n.groupElement;if(n=this.domElementProvider.createElement(e),i&&i.role&&"div"!==e){var o=this.domElementProvider.createElement("div");o.appendChild(n)}else o=n;return o.className="highcharts-a11y-proxy-group highcharts-a11y-proxy-group-"+t.replace(/\W/g,"-"),this.groups[t]={proxyContainerElement:n,groupElement:o,type:e,proxyElements:[]},a(o,i||{}),"ul"===e&&n.setAttribute("role","list"),this.afterChartProxyPosContainer.appendChild(o),this.updateGroupOrder(this.groupOrder),o},t.prototype.updateGroupAttrs=function(t,e){var i=this.groups[t];if(!i)throw Error("ProxyProvider.updateGroupAttrs: Invalid group key "+t);a(i.groupElement,e)},t.prototype.updateGroupOrder=function(t){var e=this;if(this.groupOrder=t.slice(),!this.isDOMOrderGroupOrder()){var i=t.indexOf("series"),n=-1<i?t.slice(0,i):t,o=-1<i?t.slice(i+1):[];t=s.activeElement,["before","after"].forEach((function(t){var i=e["before"===t?"beforeChartProxyPosContainer":"afterChartProxyPosContainer"];t="before"===t?n:o,p(i),t.forEach((function(t){(t=e.groups[t])&&i.appendChild(t.groupElement)}))}
1)),(this.beforeChartProxyPosContainer.contains(t)||this.afterChartProxyPosContainer.contains(t))&&t&&t.focus&&t.focus()}},t.prototype.clearGroup=function(t){var e=this.groups[t];if(!e)throw Error("ProxyProvider.clearGroup: Invalid group key "+t);p(e.proxyContainerElement)},t.prototype.removeGroup=function(t){var e=this.groups[t];e&&(h(e.groupElement),delete this.groups[t])},t.prototype.update=function(){this.updatePosContainerPositions(),this.updateGroupOrder(this.groupOrder),this.updateProxyElementPositions()},t.prototype.updateProxyElementPositions=function(){Object.keys(this.groups).forEach(this.updateGroupProxyElementPositions.bind(this))},t.prototype.updateGroupProxyElementPositions=function(t){(t=this.groups[t])&&t.proxyElements.forEach((function(t){return t.refreshPosition()}))},t.prototype.destroy=function(){this.domElementProvider.destroyCreatedElements()},t.prototype.createProxyPosContainer=function(t){var e=this.domElementProvider.createElement("div");return e.setAttribute("aria-hidden","false"),e.className="highcharts-a11y-proxy-container"+(t?"-"+t:""),c(e,{top:"0",left:"0"}),this.chart.styledMode||(e.style.whiteSpace="nowrap",e.style.position="absolute"),e},t.prototype.getCurrentGroupOrderInDOM=function(){var t=this,e=function(e){var i=[];e=e.children;for(var n=0;n<e.length;++n){t:{for(var o=e[n],r=Object.keys(t.groups),s=r.length;s--;){var a=r[s],c=t.groups[a];if(c&&o===c.groupElement){o=a;break t}}o=void 0}o&&i.push(o)}return i},i=e(this.beforeChartProxyPosContainer);return e=e(this.afterChartProxyPosContainer),i.push("series"),i.concat(e)},t.prototype.isDOMOrderGroupOrder=function(){var t=this,e=this.getCurrentGroupOrderInDOM(),i=this.groupOrder.filter((function(e){return"series"===e||!!t.groups[e]})),n=e.length;if(n!==i.length)return!1;for(;n--;)if(e[n]!==i[n])return!1;return!0},t.prototype.updatePosContainerPositions=function(){var t=this.chart;if(!t.renderer.forExport){var e=t.renderer.box;t.container.insertBefore(this.afterChartProxyPosContainer,e.nextSibling),t.container.insertBefore(this.beforeChartProxyPosContainer,e),l(this.chart,this.afterChartProxyPosContainer),l(this.chart,this.beforeChartProxyPosContainer)}},t}()})),e(t,"Stock/RangeSelector/RangeSelectorDefaults.js",[],(function(){return{lang:{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"→"},rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%b %e, %Y",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:"#335cad",cursor:"pointer"},labelStyle:{color:"#666666"}}}})),e(t,"Stock/RangeSelector/RangeSelectorComposition.js",[t["Core/Defaults.js"],t["Stock/RangeSelector/RangeSelectorDefaults.js"],t["Core/Utilities.js"]],(function(t,e,i){function n(){var t=this.range,e=t.type,i=this.max,n=this.chart.time,o=function(t,i){var o="year"===e?"FullYear":"Month",r=new n.Date(t),s=n.get(o,r);return n.set(o,r,s+i),s===n.get(o,r)&&n.set("Date",r,0),r.getTime()-t};
1if(b(t))var r=i-t,s=t;else t&&(r=i+o(i,-(t.count||1)),this.chart&&(this.chart.fixedRange=i-r));var a=x(this.dataMin,Number.MIN_VALUE);return b(r)||(r=a),r<=a&&(r=a,void 0===s&&(s=o(r,t.count)),this.newMax=Math.min(r+s,x(this.dataMax,Number.MAX_VALUE))),b(i)?!b(t)&&t&&t._offsetMin&&(r+=t._offsetMin):r=void 0,r}function o(){this.options.rangeSelector&&this.options.rangeSelector.enabled&&(this.rangeSelector=new p(this))}function r(){var t=this.axes,e=this.rangeSelector;e&&(b(e.deferredYTDClick)&&(e.clickButton(e.deferredYTDClick),delete e.deferredYTDClick),t.forEach((function(t){t.updateNames(),t.setScale()})),this.getAxisMargins(),e.render(),t=e.options.verticalAlign,e.options.floating||("bottom"===t?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0)))}function s(t){var e,i,n,o,r=t.rangeSelector,s=function(){r&&(e=t.xAxis[0].getExtremes(),i=t.legend,o=r&&r.options.verticalAlign,b(e.min)&&r.render(e.min,e.max),i.display&&"top"===o&&o===i.options.verticalAlign&&((n=v(t.spacingBox)).y="vertical"===i.options.layout?t.plotTop:n.y+r.getHeight(),i.group.placed=!1,i.align(n)))};r&&(y(w,(function(e){return e[0]===t}))||w.push([t,[g(t.xAxis[0],"afterSetExtremes",(function(t){r&&r.render(t.min,t.max)})),g(t,"redraw",s)]]),s())}function a(){for(var t=0,e=w.length;t<e;++t){var i=w[t];if(i[0]===this){i[1].forEach((function(t){return t()})),w.splice(t,1);break}}}function c(){var t=this.rangeSelector;t&&(t=t.getHeight(),this.extraTopMargin&&(this.plotTop+=t),this.extraBottomMargin&&(this.marginBottom+=t))}function l(){var t=this.rangeSelector;t&&!t.options.floating&&(t.render(),"bottom"===(t=t.options.verticalAlign)?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0))}function h(t){var e=t.options.rangeSelector;t=this.extraBottomMargin;var i=this.extraTopMargin,n=this.rangeSelector;e&&e.enabled&&!m(n)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=n=new p(this)),this.extraTopMargin=this.extraBottomMargin=!1,n&&(s(this),e=e&&e.verticalAlign||n.options&&n.options.verticalAlign,n.options.floating||("bottom"===e?this.extraBottomMargin=!0:"middle"!==e&&(this.extraTopMargin=!0)),this.extraBottomMargin!==t||this.extraTopMargin!==i)&&(this.isDirtyBox=!0)}var p,u=t.defaultOptions,d=t.setOptions,g=i.addEvent,m=i.defined,f=i.extend,y=i.find,b=i.isNumber,v=i.merge,x=i.pick,w=[],A=[];return{compose:function(t,i,m){p=m,-1===A.indexOf(t)&&(A.push(t),t.prototype.minFromRange=n),-1===A.indexOf(i)&&(A.push(i),g(i,"afterGetContainer",o),g(i,"beforeRender",r),g(i,"destroy",a),g(i,"getMargins",c),g(i,"render",l),g(i,"update",h),i.prototype.callbacks.push(s)),-1===A.indexOf(d)&&(f(u,{rangeSelector:e.rangeSelector}),f(u.lang,e.lang))}}})),e(t,"Stock/RangeSelector/RangeSelector.js",[t["Core/Axis/Axis.js"],t["Core/Defaults.js"],t["Core/Globals.js"],t["Stock/RangeSelector/RangeSelectorComposition.js"],t["Core/Renderer/SVG/SVGElement.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o,r){var s=e.defaultOptions,a=r.addEvent,c=r.createElement,l=r.css,h=r.defined,p=r.destroyObjectProperties,u=r.discardElement,d=r.extend,g=r.fireEvent,m=r.isNumber,f=r.merge,y=r.objectEach,b=r.pad,v=r.pick,x=r.pInt,w=r.splat;return e=function(){function e(t){this.buttons=void 0,this.buttonOptions=e.prototype.defaultButtons,this.initialButtonGroupWidth=0,this.options=void 0,this.chart=t,this.init(t)}return e.compose=function(t,i){n.compose(t,i,e)},e.prototype.clickButton=function(e,i){var n=this.chart,o=this.buttonOptions[e],r=n.xAxis[0],s=n.scroller&&n.scroller.getUnionExtremes()||r||{},c=o.type,l=o.dataGrouping,p=s.dataMin,u=s.dataMax,d=r&&Math.round(Math.min(r.max,v(u,r.max)));s=o._range;var f,y=!0;if(null!==p&&null!==u){if(n.fixedRange=s,this.setSelected(e),l&&(this.forcedDataGrouping=!0,t.prototype.setDataGrouping.call(r||{chart:this.chart},l,!1),this.frozenStates=o.preserveDataGrouping),"month"===c||"year"===c)if(r){c={range:o,max:d,chart:n,dataMin:p,dataMax:u};var b=r.minFromRange.call(c);m(c.newMax)&&(d=c.newMax),y=!1}else s=o;else if(s)b=Math.max(d-s,p),d=Math.min(b+s,u),y=!1;else if("ytd"===c){if(!r)return void(this.deferredYTDClick=e);void 0!==u&&void 0!==p||(p=Number.MAX_VALUE,u=Number.MIN_VALUE,n.series.forEac
1h((function(t){(t=t.xData)&&(p=Math.min(t[0],p),u=Math.max(t[t.length-1],u))})),i=!1),b=f=(c=this.getYTDExtremes(u,p,n.time.useUTC)).min,d=c.max}else"all"===c&&r&&(n.navigator&&n.navigator.baseSeries[0]&&(n.navigator.baseSeries[0].xAxis.options.range=void 0),b=p,d=u);if(y&&o._offsetMin&&h(b)&&(b+=o._offsetMin),o._offsetMax&&h(d)&&(d+=o._offsetMax),this.dropdown&&(this.dropdown.selectedIndex=e+1),r)r.setExtremes(b,d,v(i,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:o});else{var x=w(n.options.xAxis)[0],A=x.range;x.range=s;var C=x.min;x.min=f,a(n,"load",(function(){x.range=A,x.min=C}))}g(this,"afterBtnClick")}},e.prototype.setSelected=function(t){this.selected=this.options.selected=t},e.prototype.init=function(t){var e=this,i=t.options.rangeSelector,n=i.buttons||e.defaultButtons.slice(),o=i.selected,r=function(){var t=e.minInput,i=e.maxInput;t&&t.blur&&g(t,"blur"),i&&i.blur&&g(i,"blur")};e.chart=t,e.options=i,e.buttons=[],e.buttonOptions=n,this.eventsToUnbind=[],this.eventsToUnbind.push(a(t.container,"mousedown",r)),this.eventsToUnbind.push(a(t,"resize",r)),n.forEac
1h(e.computeButtonRange),void 0!==o&&n[o]&&this.clickButton(o,!1),this.eventsToUnbind.push(a(t,"load",(function(){t.xAxis&&t.xAxis[0]&&a(t.xAxis[0],"setExtremes",(function(i){this.max-this.min!==t.fixedRange&&"rangeSelectorButton"!==i.trigger&&"updatedData"!==i.trigger&&e.forcedDataGrouping&&!e.frozenStates&&this.setDataGrouping(!1,!1)}))})))},e.prototype.updateButtonStates=function(){var t=this,e=this.chart,i=this.dropdown,n=e.xAxis[0],o=Math.round(n.max-n.min),r=!n.hasVisibleSeries,s=e.scroller&&e.scroller.getUnionExtremes()||n,a=s.dataMin,c=s.dataMax,l=(e=t.getYTDExtremes(c,a,e.time.useUTC)).min,h=e.max,p=t.selected,u=t.options.allButtonsEnabled,d=t.buttons,g=m(p);t.buttonOptions.forEach((function(e,s){var m=e._range,f=e.type,y=e.count||1,b=d[s],v=e._offsetMax-e._offsetMin,x=s===p,w=m>c-a,A=m<n.minRange;e=0;var C=!1,E=!1;m=m===o,("month"===f||"year"===f)&&o+36e5>=864e5*{month:28,year:365}[f]*y-v&&o-36e5<=864e5*{month:31,year:366}[f]*y+v?m=!0:"ytd"===f?(m=h-l+v===o,C=!x):"all"===f&&(m=n.max-n.min>=c-a,E=!x&&g&&m),f=!u&&(w||A||E||r),y=x&&m||m&&!g&&!C||x&&t.frozenStates,f?e=3:y&&(g=!0,e=2),b.state!==e&&(b.setState(e),i&&(i.options[s+1].disabled=f,2===e&&(i.selectedIndex=s+1)),0===e&&p===s&&t.setSelected())}))},e.prototype.computeButtonRange=function(t){var e=t.type,i=t.count||1,n={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};n[e]?t._range=n[e]*i:"month"!==e&&"year"!==e||(t._range=864e5*{month:30,year:365}[e]*i),t._offsetMin=v(t.offsetMin,0),t._offsetMax=v(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},e.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var e=this.chart.options.rangeSelector,i=this.chart.time;return t?("text"===t.type&&e.inputDateParser||this.defaultInputDateParser)(t.value,i.useUTC,i):0},e.prototype.setInputValue=function(t,e){var i=this.options,n=this.chart.time,o="min"===t?this.minInput:this.maxInput;if(t="min"===t?this.minDateBox:this.maxDateBox,o){var r=o.getAttribute("data-hc-time");r=h(r)?Number(r):void 0,h(e)&&(h(r)&&o.setAttribute("data-hc-time-previous",r),o.setAttribute("data-hc-time",e),r=e),o.value=n.dateFormat(this.inputTypeFormats[o.type]||i.inputEditDateFormat,r),t&&t.attr({text:n.dateFormat(i.inputDateFormat,r)})}},e.prototype.setInputExtremes=function(t,e,i){if(t="min"===t?this.minInput:this.maxInput){var n=this.inputTypeFormats[t.type],o=this.chart.time;n&&(e=o.dateFormat(n,e),t.min!==e&&(t.min=e),i=o.dateFormat(n,i),t.max!==i&&(t.max=i))}},e.prototype.showInput=function(t){var e="min"===t?this.minDateBox:this.maxDateBox;if((t="min"===t?this.minInput:this.maxInput)&&e&&this.inputGroup){var i="text"===t.type,n=this.inputGroup,o=n.translateX;n=n.translateY;var r=this.options.inputBoxWidth;l(t,{width:i?e.width+(r?-2:20)+"px":"auto",height:i?e.height-2+"px":"auto",border:"2px solid silver"}),l(t,i&&r?{left:o+e.x+"px",top:n+"px"}:{left:Math.min(Math.round(e.x+o-(t.offsetWidth-e.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:n-(t.offsetHeight-e.height)/2+"px"})}},e.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&l(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},e.prototype.defaultInputDateParser=function(t,e,n){var o,r=t.split("/").join("-").split(" ").join("T");return-1===r.indexOf("T")&&(r+="T00:00"),e?r+="Z":((o=i.isSafari)&&(o=!(6<(o=r).length&&(o.lastIndexOf("-")===o.length-6||o.lastIndexOf("+")===o.length-6))),o&&(r+=0>=(o=new Date(r).getTimezoneOffset()/60)?"+".concat(b(-o),":00"):"-".concat(b(o),":00"))),r=Date.parse(r),m(r)||(t=t.split("-"),r=Date.UTC(x(t[0]),x(t[1])-1,x(t[2]))),n&&e&&m(r)&&(r+=n.getTimezoneOffset(r)),r},e.prototype.drawInput=function(t){function e(){var e=a.maxInput,i=a.minInput,o=n.xAxis[0],r=n.scroller&&n.scroller.xAxis?n.scroller.xAxis:o,s=r.dataMin;r=r.dataMax;var c=a.getInputValue(t);c!==Number(b.getAttribute("data-hc-time-previous"))&&m(c)&&(b.setAttribute("data-hc-time-previous",c),g&&e&&m(s)?c>Number(e.getAttribute("data-hc-time"))?c=void 0:c<s&&(c=s):i&&m(r)&&(c<Number(i.getAttribute("data-hc-time"))?c=void 0:c>r&&(c=r)),void 0!==c&&o.setExtremes(g?c:o.min,g?o.max:c,void 0,void 0,{trigger:"rangeSelectorInput"}))}var n=this.chart,o=this.div,r=this.inputGroup,a=this,h=n.renderer.style||{},p=n.renderer,u=n.options.rangeSelector,g="min"===t,y=s.lang[g?"rangeSelectorFrom":"rangeSelectorTo"]||"";y=p.label(y,0).addClass("highcharts-range-label").attr({padding:y?2:0,height:y?u.inputBoxHeight:0}).add(r),p=p.label("",0).addClass("highcharts-range-input").attr({padding:2,width:u.inputBoxWidth,height:u.inputBoxHeight,"text-align":"center"}).on("click",(function(){a.showInput(t),a[t+"Input"].focus()})),n.styledMode||p.attr({stroke:u.inputBoxBorderColor,"stroke-width":1}),p.add(r);var b=c("input",{name:t,className:"highcharts-range-selector"},void 0,o);b.setAttribute("type",function(t){if(-1!==t.indexOf("%L"))return"text";var e="aAdewbBmoyY".split("").some((function(e){return-1!==t.indexOf("%"+e)})),i="HkIlMS".split("").some((function(e){return-1!==t.indexOf("%"+e)}));return e&&i?"datetime-local":e?"date":i?"time":"text"}(u.inputDateFormat||"%b %e, %Y")),n.styledMode||(y.css(f(h,u.labelStyle)),p.css(f({color:"#333333"},h,u.inputStyle)),l(b,d({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:h.fontSize,fontFamily:h.fontFamily,top:"-9999em"},u.inputStyle))),b.onfocus=function(){a.showInput(t)},b.onblur=function(){b===i.doc.activeElement&&e(),a.hideInput(t),a.setInputValue(t),b.blur()};var v=!1;return b.onchange=function(){v||(e(),a.hideInput(t),b.blur())},b.onkeypress=function(t){13===t.keyCode&&e()},b.onkeydown=function(t){v=!0,38!==t.keyCode&&40!==t.keyCode||e()},b.onkeyup=function(){v=!1}
1,{dateBox:p,input:b,label:y}},e.prototype.getPosition=function(){var t=this.chart,e=t.options.rangeSelector;return{buttonTop:(t="top"===e.verticalAlign?t.plotTop-t.axisOffset[0]:0)+e.buttonPosition.y,inputTop:t+e.inputPosition.y-10}},e.prototype.getYTDExtremes=function(t,e,i){var n=this.chart.time,o=new n.Date(t),r=n.get("FullYear",o);return i=i?n.Date.UTC(r,0,1):+new n.Date(r,0,1),e=Math.max(e,i),o=o.getTime(),{max:Math.min(t||o,o),min:e}},e.prototype.render=function(t,e){var i=this.chart,n=i.renderer,o=i.container,r=i.options,s=r.rangeSelector,a=v(r.chart.style&&r.chart.style.zIndex,0)+1;if(r=s.inputEnabled,!1!==s.enabled){if(this.rendered||(this.group=n.g("range-selector-group").attr({zIndex:7}).add(),this.div=c("div",void 0,{position:"relative",height:0,zIndex:a}),this.buttonOptions.length&&this.renderButtons(),o.parentNode&&o.parentNode.insertBefore(this.div,o),r&&(this.inputGroup=n.g("input-group").add(this.group),n=this.drawInput("min"),this.minDateBox=n.dateBox,this.minLabel=n.label,this.minInput=n.input,n=this.drawInput("max"),this.maxDateBox=n.dateBox,this.maxLabel=n.label,this.maxInput=n.input)),r&&(this.setInputValue("min",t),this.setInputValue("max",e),t=i.scroller&&i.scroller.getUnionExtremes()||i.xAxis[0]||{},h(t.dataMin)&&h(t.dataMax)&&(i=i.xAxis[0].minRange||0,this.setInputExtremes("min",t.dataMin,Math.min(t.dataMax,this.getInputValue("max"))-i),this.setInputExtremes("max",Math.max(t.dataMin,this.getInputValue("min"))+i,t.dataMax)),this.inputGroup)){var l=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach((function(t){if(t){var e=t.getBBox().width;e&&(t.attr({x:l}),l+=e+s.inputSpacing)}}))}this.alignElements(),this.rendered=!0}},e.prototype.renderButtons=function(){var t=this,e=this.buttons,n=this.options,o=s.lang,r=this.chart.renderer,l=f(n.buttonTheme),h=l&&l.states,p=l.width||28;delete l.width,delete l.states,this.buttonGroup=r.g("range-selector-buttons").add(this.group);var u=this.dropdown=c("select",void 0,{position:"absolute",width:"1px",height:"1px",padding:0,border:0,top:"-9999em",cursor:"pointer",opacity:1e-4},this.div);a(u,"touchstart",(function(){u.style.fontSize="16px"})),[[i.isMS?"mouseover":"mouseenter"],[i.isMS?"mouseout":"mouseleave"],["change","click"]].forEach((function(i){var n=i[0],o=i[1];a(u,n,(function(){var i=e[t.currentButtonIndex()];i&&g(i.element,o||n)}))})),this.zoomText=r.label(o&&o.rangeSelectorZoom||"",0).attr({padding:n.buttonTheme.padding,height:n.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(n.labelStyle),l["stroke-width"]=v(l["stroke-width"],0)),c("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,u),this.buttonOptions.forEach((function(i,n){c("option",{textContent:i.title||i.text},void 0,u),e[n]=r.button(i.text,0,0,(function(e){var o,r=i.events&&i.events.click;r&&(o=r.call(i,e)),!1!==o&&t.clickButton(n),t.isActive=!0}),l,h&&h.hover,h&&h.select,h&&h.disabled).attr({"text-align":"center",width:p}).add(t.buttonGroup),i.title&&e[n].attr("title",i.title)}))},e.prototype.alignElements=function(){var t=this,e=this.buttonGroup,i=this.buttons,n=this.chart,o=this.group,r=this.inputGroup,s=this.options,a=this.zoomText,c=n.options,l=c.exporting&&!1!==c.exporting.enabled&&c.navigation&&c.navigation.buttonOptions;c=s.buttonPosition;var h=s.inputPosition,p=s.verticalAlign,u=function(e,i){return l&&t.titleCollision(n)&&"top"===p&&"right"===i.align&&i.y-e.getBBox().height-12<(l.y||0)+(l.height||0)+n.spacing[0]?-40:0},d=n.plotLeft;if(o&&c&&h){var g=c.x-n.spacing[3];if(e){if(this.positionButtons(),!this.initialButtonGroupWidth){var m=0;a&&(m+=a.getBBox().width+5),i.forEach((function(t,e){m+=t.width,e!==i.length-1&&(m+=s.buttonSpacing)})),this.initialButtonGroupWidth=m}d-=n.spacing[3],this.updateButtonStates(),a=u(e,c),this.alignButtonGroup(a),o.placed=e.placed=n.hasLoaded}e=0,r&&(e=u(r,h),"left"===h.align?g=d:"right"===h.align&&(g=-Math.max(n.axisOffset[1],-e)),r.align({y:h.y,width:r.getBBox().width,align:h.align,x:h.x+g-2},!0,n.spacingBox),r.placed=n.hasLoaded),this.handleCollision(e),o.align({verticalAlign:p},!0,n.spacingBox),r=o.alignAttr.translateY,e=o.getBBox().height+20,u=0,"bottom"===p&&(u=r-(e=e+(u=(u=n.legend&&n.legend.options)&&"bottom"===u.verticalAlign&&u.enabled&&!u.floating?n.legend.legendHeight+v(u.margin,10):0)-20)-(s.floating?0:s.y)-(n.titleOffset?n.titleOffset[2]:0)-10),"top"===p?(s.floating&&(u=0),n.titleOffset&&n.titleOffset[0]&&(u=n.titleOffset[0]),u+=n.margin[0]-n.spacing[0]||0):"middle"===p&&(h.y===c.y?u=r:(h.y||c.y)&&(u=0>h.y||0>c.y?u-Math.min(h.y,c.y):r-e)),o.translate(s.x,s.y+Math.floor(u)),c=this.minInput,h=this.maxInput,r=this.dropdown,s.inputEnabled&&c&&h&&(c.style.marginTop=o.translateY+"px",h.style.marginTop=o.translateY+"px"),r&&(r.style.marginTop=o.translateY+"px")}},e.prototype.alignButtonGroup=function(t,e){var i=this.chart,n=this.buttonGroup,o=this.options.buttonPosition,r=i.plotLeft-i.spacing[3],s=o.x-i.spacing[3];"right"===o.align?s+=t-r:"center"===o.align&&(s-=r/2),n&&n.align({y:o.y,width:v(e,this.initialButtonGroupWidth),align:o.align,x:s},!0,i.spacingBox)},e.prototype.positionButtons=function(){var t=this.buttons,e=this.chart,i=this.options,n=this.zoomText,o=e.hasLoaded?"animate":"attr",r=i.buttonPosition,s=e=e.plotLeft;
1for(n&&"hidden"!==n.visibility&&(n[o]({x:v(e+r.x,e)}),s+=r.x+n.getBBox().width+5),n=0,r=this.buttonOptions.length;n<r;++n)"hidden"!==t[n].visibility?(t[n][o]({x:s}),s+=t[n].width+i.buttonSpacing):t[n][o]({x:e})},e.prototype.handleCollision=function(t){var e=this,i=this.chart,n=this.buttonGroup,o=this.inputGroup,r=this.options,s=r.buttonPosition,a=r.dropdown,c=r.inputPosition;r=function(){var t=0;return e.buttons.forEach((function(e){(e=e.getBBox()).width>t&&(t=e.width)})),t};var l=function(e){if(o&&n){var i=o.alignAttr.translateX+o.alignOptions.x-t+o.getBBox().x+2,r=o.alignOptions.width,a=n.alignAttr.translateX+n.getBBox().x;return a+e>i&&i+r>a&&s.y<c.y+o.getBBox().height}return!1},h=function(){o&&n&&o.attr({translateX:o.alignAttr.translateX+(i.axisOffset[1]>=-t?0:-t),translateY:o.alignAttr.translateY+n.getBBox().height+10})};if(n){if("always"===a)return this.collapseButtons(t),void(l(r())&&h());"never"===a&&this.expandButtons()}o&&n?c.align===s.align||l(this.initialButtonGroupWidth+20)?"responsive"===a?(this.collapseButtons(t),l(r())&&h()):h():"responsive"===a&&this.expandButtons():n&&"responsive"===a&&(this.initialButtonGroupWidth>i.plotWidth?this.collapseButtons(t):this.expandButtons())},e.prototype.collapseButtons=function(t){var e=this.buttons,i=this.buttonOptions,n=this.chart,o=this.dropdown,r=this.options,s=this.zoomText,a=n.userOptions.rangeSelector&&n.userOptions.rangeSelector.buttonTheme||{},c=function(t){return{text:t?t+" ▾":"▾",width:"auto",paddingLeft:v(r.buttonTheme.paddingLeft,a.padding,8),paddingRight:v(r.buttonTheme.paddingRight,a.padding,8)}};s&&s.hide();var l=!1;i.forEach((function(t,i){2!==(i=e[i]).state?i.hide():(i.show(),i.attr(c(t.text)),l=!0)})),l||(o&&(o.selectedIndex=0),e[0].show(),e[0].attr(c(this.zoomText&&this.zoomText.textStr))),i=r.buttonPosition.align,this.positionButtons(),"right"!==i&&"center"!==i||this.alignButtonGroup(t,e[this.currentButtonIndex()].getBBox().width),this.showDropdown()},e.prototype.expandButtons=function(){var t=this.buttons,e=this.buttonOptions,i=this.options,n=this.zoomText;this.hideDropdown(),n&&n.show(),e.forEach((function(e,n){(n=t[n]).show(),n.attr({text:e.text,width:i.buttonTheme.width||28,paddingLeft:v(i.buttonTheme.paddingLeft,"unset"),paddingRight:v(i.buttonTheme.paddingRight,"unset")}),2>n.state&&n.setState(0)})),this.positionButtons()},e.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0<t.selectedIndex?t.selectedIndex-1:0},e.prototype.showDropdown=function(){var t=this.buttonGroup,e=this.buttons,i=this.chart,n=this.dropdown;if(t&&n){var o=t.translateX;t=t.translateY,e=e[this.currentButtonIndex()].getBBox(),l(n,{left:i.plotLeft+o+"px",top:t+.5+"px",width:e.width+"px",height:e.height+"px"}),this.hasVisibleDropdown=!0}},e.prototype.hideDropdown=function(){var t=this.dropdown;t&&(l(t,{top:"-9999em",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)},e.prototype.getHeight=function(){var t=this.options,e=this.group,i=t.y,n=t.buttonPosition.y,o=t.inputPosition.y;return t.height?t.height:(this.alignElements(),t=e?e.getBBox(!0).height+13+i:0,e=Math.min(o,n),(0>o&&0>n||0<o&&0<n)&&(t+=Math.abs(e)),t)},e.prototype.titleCollision=function(t){return!(t.options.title.text||t.options.subtitle.text)},e.prototype.update=function(t){var e=this.chart;f(!0,e.options.rangeSelector,t),this.destroy(),this.init(e),this.render()},e.prototype.destroy=function(){var t=this,i=t.minInput,n=t.maxInput;t.eventsToUnbind&&(t.eventsToUnbind.forEach((function(t){return t()})),t.eventsToUnbind=void 0),p(t.buttons),i&&(i.onfocus=i.onblur=i.onchange=null),n&&(n.onfocus=n.onblur=n.onchange=null),y(t,(function(i,n){i&&"chart"!==n&&(i instanceof o?i.destroy():i instanceof window.HTMLElement&&u(i)),i!==e.prototype[n]&&(t[n]=null)}),this)},e}(),d(e.prototype,{defaultButtons:[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",title:"View 1 year"},{type:"all",text:"All",title:"View all"}],inputTypeFormats:{"datetime-local":"%Y-%m-%dT%H:%M:%S",date:"%Y-%m-%d",time:"%H:%M:%S"}}),e})),e(t,"Accessibility/Components/RangeSelectorComponent.js",[t["Stock/RangeSelector/RangeSelector.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/Announcer.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Core/Utilities.js"]],(function(t,e,
1i,n,o,r){var s=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),a=i.unhideChartElementFromAT,c=i.getAxisRangeDescription,l=r.addEvent,h=r.attr;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.announcer=void 0,e}return s(e,t),e.prototype.init=function(){this.announcer=new n(this.chart,"polite")},e.prototype.onChartUpdate=function(){var t=this.chart,e=this,i=t.rangeSelector;i&&(this.updateSelectorVisibility(),this.setDropdownAttrs(),i.buttons&&i.buttons.length&&i.buttons.forEach((function(t){e.setRangeButtonAttrs(t)})),i.maxInput&&i.minInput&&["minInput","maxInput"].forEach((function(n,o){(n=i[n])&&(a(t,n),e.setRangeInputAttrs(n,"accessibility.rangeSelector."+(o?"max":"min")+"InputLabel"))})))},e.prototype.updateSelectorVisibility=function(){var t=this.chart,e=t.rangeSelector,i=e&&e.dropdown,n=e&&e.buttons||[];e&&e.hasVisibleDropdown&&i?(a(t,i),n.forEach((function(t){return t.element.setAttribute("aria-hidden",!0)}
1))):(i&&i.setAttribute("aria-hidden",!0),n.forEach((function(e){return a(t,e.element)})))},e.prototype.setDropdownAttrs=function(){var t=this.chart,e=t.rangeSelector&&t.rangeSelector.dropdown;e&&(t=t.langFormat("accessibility.rangeSelector.dropdownLabel",{rangeTitle:t.options.lang.rangeSelectorZoom}),e.setAttribute("aria-label",t),e.setAttribute("tabindex",-1))},e.prototype.setRangeButtonAttrs=function(t){h(t.element,{tabindex:-1,role:"button"})},e.prototype.setRangeInputAttrs=function(t,e){var i=this.chart;h(t,{tabindex:-1,"aria-label":i.langFormat(e,{chart:i})})},e.prototype.onButtonNavKbdArrowKey=function(t,e){var i=t.response,n=this.keyCodes,o=this.chart,r=o.options.accessibility.keyboardNavigation.wrapAround;return e=e===n.left||e===n.up?-1:1,o.highlightRangeSelectorButton(o.highlightedRangeSelectorItemIx+e)?i.success:r?(t.init(e),i.success):i[0<e?"next":"prev"]},e.prototype.onButtonNavKbdClick=function(t){t=t.response;var e=this.chart;return 3!==e.oldRangeSelectorItemState&&this.fakeClickEvent(e.rangeSelector.buttons[e.highlightedRangeSelectorItemIx].element),t.success},e.prototype.onAfterBtnClick=function(){var t=this.chart,e=c(t.xAxis[0]);(t=t.langFormat("accessibility.rangeSelector.clickButtonAnnouncement",{chart:t,axisRangeDescription:e}))&&this.announcer.announce(t)},e.prototype.onInputKbdMove=function(t){var e=this.chart,i=e.rangeSelector,n=e.highlightedInputRangeIx=(e.highlightedInputRangeIx||0)+t;1<n||0>n?e.accessibility&&(e.accessibility.keyboardNavigation.tabindexContainer.focus(),e.accessibility.keyboardNavigation.move(t)):i&&(t=i[n?"maxDateBox":"minDateBox"],i=i[n?"maxInput":"minInput"],t&&i&&e.setFocusToElement(t,i))},e.prototype.onInputNavInit=function(t){var e=this,i=this,n=this.chart,o=0<t?0:1,r=n.rangeSelector,s=r&&r[o?"maxDateBox":"minDateBox"];if(t=r&&r.minInput,r=r&&r.maxInput,n.highlightedInputRangeIx=o,s&&t&&r){n.setFocusToElement(s,o?r:t),this.removeInputKeydownHandler&&this.removeInputKeydownHandler(),n=function(t){(t.which||t.keyCode)===e.keyCodes.tab&&(t.preventDefault(),t.stopPropagation(),i.onInputKbdMove(t.shiftKey?-1:1))};var a=l(t,"keydown",n),c=l(r,"keydown",n);this.removeInputKeydownHandler=function(){a(),c()}}},e.prototype.onInputNavTerminate=function(){var t=this.chart.rangeSelector||{};t.maxInput&&t.hideInput("max"),t.minInput&&t.hideInput("min"),this.removeInputKeydownHandler&&(this.removeInputKeydownHandler(),delete this.removeInputKeydownHandler)},e.prototype.initDropdownNav=function(){var t=this,e=this.chart,i=e.rangeSelector,n=i&&i.dropdown;i&&n&&(e.setFocusToElement(i.buttonGroup,n),this.removeDropdownKeydownHandler&&this.removeDropdownKeydownHandler(),this.removeDropdownKeydownHandler=l(n,"keydown",(function(i){var n=e.accessibility;(i.which||i.keyCode)===t.keyCodes.tab&&(i.preventDefault(),i.stopPropagation(),n&&(n.keyboardNavigation.tabindexContainer.focus(),n.keyboardNavigation.move(i.shiftKey?-1:1)))})))},e.prototype.getRangeSelectorButtonNavigation=function(){var t=this.chart,e=this.keyCodes,i=this;return new o(t,{keyCodeMap:[[[e.left,e.right,e.up,e.down],function(t){return i.onButtonNavKbdArrowKey(this,t)}],[[e.enter,e.space],function(){return i.onButtonNavKbdClick(this)}]],validate:function(){return!!(t.rangeSelector&&t.rangeSelector.buttons&&t.rangeSelector.buttons.length)},init:function(e){var n=t.rangeSelector;n&&n.hasVisibleDropdown?i.initDropdownNav():n&&(n=n.buttons.length-1,t.highlightRangeSelectorButton(0<e?0:n))},terminate:function(){i.removeDropdownKeydownHandler&&(i.removeDropdownKeydownHandler(),delete i.removeDropdownKeydownHandler)}})},e.prototype.getRangeSelectorInputNavigation=function(){var t=this.chart,e=this;return new o(t,{keyCodeMap:[],validate:function(){return!!(t.rangeSelector&&t.rangeSelector.inputGroup&&"hidden"!==t.rangeSelector.inputGroup.element.style.visibility&&!1!==t.options.rangeSelector.inputEnabled&&t.rangeSelector.minInput&&t.rangeSelector.maxInput)},init:function(t){e.onInputNavInit(t)},terminate:function(){e.onInputNavTerminate()}})},e.prototype.getKeyboardNavigation=function(){return[this.getRangeSelectorButtonNavigation(),this.getRangeSelectorInputNavigation()]},e.prototype.destroy=function(){this.removeDropdownKeydownHandler&&this.removeDropdownKeydownHandler(),this.removeInputKeydownHandler&&this.removeInputKeydownHandler(),this.announcer&&this.announcer.destroy()},e}(e),function(e){function i(t){var e=this.rangeSelector&&this.rangeSelector.buttons||[],i=this.highlightedRangeSelectorItemIx,n=this.rangeSelector&&this.rangeSelector.selected;return void 0!==i&&e[i]&&i!==n&&e[i].setState(this.oldRangeSelectorItemState||0),this.highlightedRangeSelectorItemIx=t,!!e[t]&&(this.setFocusToElement(e[t].box,e[t].element),t!==n&&(this.oldRangeSelectorItemState=e[t].state,e[t].setState(1)),!0)}function n(){var t=this.chart.accessibility;if(t&&t.components.rangeSelector)return t.components.rangeSelector.onAfterBtnClick()}var o=[];e.compose=function(e,r){-1===o.indexOf(e)&&(o.push(e),e.prototype.highlightRangeSelectorButton=i),-1===o.indexOf(r)&&(o.push(r),l(t,"afterBtnClick",n))}}(e||(e={})),e})),e(t,"Accessibility/Components/SeriesComponent/ForcedMarkers.js",[t["Core/Utilities.js"]],(function(t){var e,i=t.addEvent,n=t.merge;return function(t){function e(t){n(!0,t,{marker:{enabled:!0,states:{normal:{opacity:0}
1}}})}function o(t){return t.marker.states&&t.marker.states.normal&&t.marker.states.normal.opacity}function r(){this.chart.styledMode&&(this.markerGroup&&this.markerGroup[this.a11yMarkersForced?"addClass":"removeClass"]("highcharts-a11y-markers-hidden"),this._hasPointMarkers&&this.points&&this.points.length&&this.points.forEach((function(t){t.graphic&&(t.graphic[t.hasForcedA11yMarker?"addClass":"removeClass"]("highcharts-a11y-marker-hidden"),t.graphic[!1===t.hasForcedA11yMarker?"addClass":"removeClass"]("highcharts-a11y-marker-visible"))})))}function s(t){this.resetA11yMarkerOptions=n(t.options.marker||{},this.userOptions.marker||{})}function a(){var t=this.options,i=!1!==(this.options.accessibility&&this.options.accessibility.enabled);if((i=this.chart.options.accessibility.enabled&&i)&&(i=this.chart.options.accessibility,i=this.points.length<i.series.pointDescriptionEnabledThreshold||!1===i.series.pointDescriptionEnabledThreshold),i){if(t.marker&&!1===t.marker.enabled&&(this.a11yMarkersForced=!0,e(this.options)),this._hasPointMarkers&&this.points&&this.points.length)for(t=this.points.length;t--;){var r=(i=this.points[t]).options,s=i.hasForcedA11yMarker;delete i.hasForcedA11yMarker,r.marker&&(s=s&&0===o(r),r.marker.enabled&&!s?(n(!0,r.marker,{states:{normal:{opacity:o(r)||1}}}),i.hasForcedA11yMarker=!1):!1===r.marker.enabled&&(e(r),i.hasForcedA11yMarker=!0))}}else this.a11yMarkersForced&&(delete this.a11yMarkersForced,(t=this.resetA11yMarkerOptions)&&this.update({marker:{enabled:t.enabled,states:{normal:{opacity:t.states&&t.states.normal&&t.states.normal.opacity}}}}),delete this.resetA11yMarkerOptions)}var c=[];t.compose=function(t){-1===c.indexOf(t)&&(c.push(t),i(t,"afterSetOptions",s),i(t,"render",a),i(t,"afterRender",r))}}(e||(e={})),e})),e(t,"Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js",[t["Core/Series/Point.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Utils/ChartUtilities.js"]],(function(t,e,i,n,o,r,s,a){function c(t){var e=t.index,i=t.series.points,n=i.length;if(i[e]===t)return e;for(;n--;)if(i[n]===t)return n}function l(t){var e=t.chart.options.accessibility.keyboardNavigation.seriesNavigation,i=t.options.accessibility||{},n=i.keyboardNavigation;return n&&!1===n.enabled||!1===i.enabled||!1===t.options.enableMouseTracking||!t.visible||e.pointNavigationEnabledThreshold&&e.pointNavigationEnabledThreshold<=t.points.length}function h(t){var e=t.series.chart.options.accessibility,i=t.options.accessibility&&!1===t.options.accessibility.enabled;return t.isNull&&e.keyboardNavigation.seriesNavigation.skipNullPoints||!1===t.visible||!1===t.isInside||i||l(t.series)}function p(t){for(var e=(t=t.series||[]).length,i=0;i<e;++i)if(!l(t[i])){t:{for(var n=t[i].points||[],o=n.length,r=0;r<o;++r)if(!h(n[r])){n=n[r];break t}n=null}if(n)return n}return null}function u(t){for(var e=t.series.length,i=!1;e--&&(t.highlightedPoint=t.series[e].points[t.series[e].points.length-1],!(i=t.series[e].highlightNextValidPoint())););return i}function d(t){return delete t.highlightedPoint,!!(t=p(t))&&t.highlight()}var g=i.seriesTypes,m=n.doc,f=o.defined,y=o.fireEvent,b=a.getPointFromXY,v=a.getSeriesFromName,x=a.scrollToPoint;return i=function(){function i(t,e){this.keyCodes=e,this.chart=t}return i.prototype.init=function(){var i=this,n=this.chart,o=this.eventProvider=new s;o.addEvent(e,"destroy",(function(){return i.onSeriesDestroy(this)})),o.addEvent(n,"afterApplyDrilldown",(function(){var t=p(this);t&&t.highlight(!1)})),o.addEvent(n,"drilldown",(function(t){var e=(t=t.point).series;i.lastDrilledDownPoint={x:t.x,y:t.y,seriesName:e?e.name:""}})),o.addEvent(n,"drillupall",(function(){setTimeout((function(){i.onDrillupAll()}),10)})),o.addEvent(t,"afterSetState",(function(){var t=this.graphic&&this.graphic.element,e=m.activeElement,i=e&&e.getAttribute("class");i=i&&-1<i.indexOf("highcharts-a11y-proxy-button"),n.highlightedPoint===this&&e!==t&&!i&&t&&t.focus&&t.focu
1s()}))},i.prototype.onDrillupAll=function(){var t,e=this.lastDrilledDownPoint,i=this.chart,n=e&&v(i,e.seriesName);e&&n&&f(e.x)&&f(e.y)&&(t=b(n,e.x,e.y)),t=t||p(i),i.container&&i.container.focus(),t&&t.highlight&&t.highlight(!1)},i.prototype.getKeyboardNavigationHandler=function(){var t=this,e=this.keyCodes,i=this.chart,n=i.inverted;return new r(i,{keyCodeMap:[[n?[e.up,e.down]:[e.left,e.right],function(e){return t.onKbdSideways(this,e)}],[n?[e.left,e.right]:[e.up,e.down],function(e){return t.onKbdVertical(this,e)}],[[e.enter,e.space],function(t,e){return(t=i.highlightedPoint)&&(e.point=t,y(t.series,"click",e),t.firePointEvent("click")),this.response.success}],[[e.home],function(){return d(i),this.response.success}],[[e.end],function(){return u(i),this.response.success}],[[e.pageDown,e.pageUp],function(t){return i.highlightAdjacentSeries(t===e.pageDown),this.response.success}]],init:function(){return t.onHandlerInit(this)},validate:function(){return!!p(i)},terminate:function(){return t.onHandlerTerminate()}})},i.prototype.onKbdSideways=function(t,e){var i=this.keyCodes;return this.attemptHighlightAdjacentPoint(t,e===i.right||e===i.down)},i.prototype.onHandlerInit=function(t){var e=this.chart;return e.options.accessibility.keyboardNavigation.seriesNavigation.rememberPointFocus&&e.highlightedPoint?e.highlightedPoint.highlight():d(e),t.response.success},i.prototype.onKbdVertical=function(t,e){var i=this.chart,n=this.keyCodes;return e=e===n.down||e===n.right,(n=i.options.accessibility.keyboardNavigation.seriesNavigation).mode&&"serialize"===n.mode?this.attemptHighlightAdjacentPoint(t,e):(i[i.highlightedPoint&&i.highlightedPoint.series.keyboardMoveVertical?"highlightAdjacentPointVertical":"highlightAdjacentSeries"](e),t.response.success)},i.prototype.onHandlerTerminate=function(){var t=this.chart,e=t.options.accessibility.keyboardNavigation;t.tooltip&&t.tooltip.hide(0);var i=t.highlightedPoint&&t.highlightedPoint.series;i&&i.onMouseOut&&i.onMouseOut(),t.highlightedPoint&&t.highlightedPoint.onMouseOut&&t.highlightedPoint.onMouseOut(),e.seriesNavigation.rememberPointFocus||delete t.highlightedPoint},i.prototype.attemptHighlightAdjacentPoint=function(t,e){var i=this.chart,n=i.options.accessibility.keyboardNavigation.wrapAround;return i.highlightAdjacentPoint(e)||n&&(e?d(i):u(i))?t.response.success:t.response[e?"next":"prev"]},i.prototype.onSeriesDestroy=function(t){var e=this.chart;e.highlightedPoint&&e.highlightedPoint.series===t&&(delete e.highlightedPoint,e.focusElement&&e.focusElement.removeFocusBorder())},i.prototype.destroy=function(){this.eventProvider.removeAddedEvents()},i}(),function(t){function e(t){var e=this.series,i=this.highlightedPoint,n=i&&c(i)||0,o=i&&i.series.points||[],r=this.series&&this.series[this.series.length-1];if(r=r&&r.points&&r.points[r.points.length-1],!e[0]||!e[0].points)return!1;if(i){if(e=e[i.series.index+(t?1:-1)],!(n=o[n+(t?1:-1)])&&e&&(n=e.points[t?0:e.points.length-1]),!n)return!1}else n=t?e[0].points[0]:r;return h(n)?(l(e=n.series)?this.highlightedPoint=t?e.points[e.points.length-1]:e.points[0]:this.highlightedPoint=n,this.highlightAdjacentPoint(t)):n.highlight()}function i(t){var e,i=this.highlightedPoint,n=1/0;return!(!f(i.plotX)||!f(i.plotY))&&(this.series.forEach((function(o){l(o)||o.points.forEach((function(r){if(f(r.plotY)&&f(r.plotX)&&r!==i){var s=r.plotY-i.plotY,a=Math.abs(r.plotX-i.plotX);a=Math.abs(s)*Math.abs(s)+a*a*4,o.yAxis&&o.yAxis.reversed&&(s*=-1),!(0>=s&&t||0<=s&&!t||5>a||h(r))&&a<n&&(n=a,e=r)}}))})),!!e&&e.highlight())}function n(t){var e=this.highlightedPoint,i=this.series&&this.series[this.series.length-1],n=i&&i.points&&i.points[i.points.length-1];return this.highlightedPoint?!!(i=this.series[e.series.index+(t?-1:1)])&&(n=function(t,e,i,n){var o=1/0,r=e.points.length,s=function(t){return!(f(t.plotX)&&f(t.plotY))};if(!s(t)){for(;r--;){var a=e.points[r];if(!s(a)&&(a=(t.plotX-a.plotX)*(t.plotX-a.plotX)*(i||1)+(t.plotY-a.plotY)*(t.plotY-a.plotY)*(n||1))<o){o=a;var c=r}}return f(c)?e.points[c]:void 0}}(e,i,4),!!n&&(l(i)?(n.highlight(),(t=this.highlightAdjacentSeries(t))||(e.highlight(),!1)):(n.highlight(),n.series.highlightNextValidPoint()))):(i=t?this.series&&this.series[0]:i,!!(n=t?i&&i.points&&i.points[0]:n)&&n.highlight())}function o(t){void 0===t&&(t=!0);var e=this.series.chart;return!this.isNull&&t?this.onMouseOver():e.tooltip&&e.tooltip.hide(0),x(this),this.graphic&&(e.setFocusToElement(this.graphic),!t&&e.focusElement&&e.focusElement.removeFocusBorder()),e.highlightedPoint=this,this}function r(){var t=this.chart.highlightedPoint,e=(t&&t.series)===this?c(t):0,i=(t=this.points).length;if(t&&i){for(var n=e;n<i;++n)if(!h(t[n]))return t[n].highlight();for(;0<=e;--e)if(!h(t[e]))return t[e].highlight()}return!1}var s=[];t.compose=function(t,a,c){-1===s.indexOf(t)&&(s.push(t),(t=t.prototype).highlightAdjacentPoint=e,t.highlightAdjacentPointVertical=i,t.highlightAdjacentSeries=n),-1===s.indexOf(a)&&(s.push(a),a.prototype.highlight=o
1),-1===s.indexOf(c)&&(s.push(c),(a=c.prototype).keyboardMoveVertical=!0,["column","gantt","pie"].forEach((function(t){g[t]&&(g[t].prototype.keyboardMoveVertical=!1)})),a.highlightNextValidPoint=r)}}(i||(i={})),i})),e(t,"Accessibility/Components/SeriesComponent/SeriesComponent.js",[t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Components/SeriesComponent/ForcedMarkers.js"],t["Accessibility/Components/SeriesComponent/NewDataAnnouncer.js"],t["Accessibility/Components/SeriesComponent/SeriesDescriber.js"],t["Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js"],t["Core/Tooltip.js"]],(function(t,e,i,n,o,r,s){var a=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),c=e.hideSeriesFromAT,l=o.describeSeries;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.compose=function(t,e,o){n.compose(o),i.compose(o),r.compose(t,e,o)},e.prototype.init=function(){this.newDataAnnouncer=new n(this.chart),this.newDataAnnouncer.init(),this.keyboardNavigation=new r(this.chart,this.keyCodes),this.keyboardNavigation.init(),this.hideTooltipFromATWhenShown(),this.hideSeriesLabelsFromATWhenShown()},e.prototype.hideTooltipFromATWhenShown=function(){var t=this;this.addEvent(s,"refresh",(function(){this.chart===t.chart&&this.label&&this.label.element&&this.label.element.setAttribute("aria-hidden",!0)}))},e.prototype.hideSeriesLabelsFromATWhenShown=function(){this.addEvent(this.chart,"afterDrawSeriesLabels",(function(){this.series.forEach((function(t){t.labelBySeries&&t.labelBySeries.attr("aria-hidden",!0)}))}))},e.prototype.onChartRender=function(){this.chart.series.forEach((function(t){!1!==(t.options.accessibility&&t.options.accessibility.enabled)&&t.visible?l(t):c(t)}))},e.prototype.getKeyboardNavigation=function(){return this.keyboardNavigation.getKeyboardNavigationHandler()},e.prototype.destroy=function(){this.newDataAnnouncer.destroy(),this.keyboardNavigation.destroy()},e}(t)})),e(t,"Accessibility/Components/ZoomComponent.js",[t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o){var r=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=e.unhideChartElementFromAT,a=i.getFakeMouseEvent,c=o.attr,l=o.pick;return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.focusedMapNavButtonIx=-1,e}return r(e,t),e.prototype.init=function(){var t=this,e=this.chart;this.proxyProvider.addGroup("zoom","div"),["afterShowResetZoom","afterApplyDrilldown","drillupall"].forEach((function(i){t.addEvent(e,i,(function(){t.updateProxyOverlays()}))}))},e.prototype.onChartUpdate=function(){var t=this.chart,e=this;t.mapNavigation&&t.mapNavigation.navButtons.forEach((function(i,n){s(t,i.element),e.setMapNavButtonAttrs(i.element,"accessibility.zoom.mapZoom"+(n?"Out":"In"))}))},e.prototype.setMapNavButtonAttrs=function(t,e){var i=this.chart;e=i.langFormat(e,{chart:i}),c(t,{tabindex:-1,role:"button","aria-label":e})},e.prototype.onChartRender=function(){this.updateProxyOverlays()},e.prototype.updateProxyOverlays=function(){var t=this.chart;this.proxyProvider.clearGroup("zoom"),t.resetZoomButton&&this.createZoomProxyButton(t.resetZoomButton,"resetZoomProxyButton",t.langFormat("accessibility.zoom.resetZoomButton",{chart:t})),t.drillUpButton&&t.breadcrumbs&&t.breadcrumbs.list&&this.createZoomProxyButton(t.drillUpButton,"drillUpProxyButton",t.langFormat("accessibility.drillUpButton",{chart:t,buttonText:t.breadcrumbs.getButtonText(t.breadcrumbs.list[t.breadcrumbs.list.length-1])}))}
1,e.prototype.createZoomProxyButton=function(t,e,i){this[e]=this.proxyProvider.addProxyElement("zoom",{click:t},{"aria-label":i,tabindex:-1})},e.prototype.getMapZoomNavigation=function(){var t=this.keyCodes,e=this.chart,i=this;return new n(e,{keyCodeMap:[[[t.up,t.down,t.left,t.right],function(t){return i.onMapKbdArrow(this,t)}],[[t.tab],function(t,e){return i.onMapKbdTab(this,e)}],[[t.space,t.enter],function(){return i.onMapKbdClick(this)}]],validate:function(){return!!(e.mapView&&e.mapNavigation&&e.mapNavigation.navButtons.length)},init:function(t){return i.onMapNavInit(t)}})},e.prototype.onMapKbdArrow=function(t,e){var i=this.chart,n=this.keyCodes,o=i.container,r=e===n.up||e===n.down;return e=(r?i.plotHeight:i.plotWidth)/10*(e===n.left||e===n.up?1:-1),n=10*Math.random(),i={x:o.offsetLeft+i.plotLeft+i.plotWidth/2+n,y:o.offsetTop+i.plotTop+i.plotHeight/2+n},r=r?{x:i.x,y:i.y+e}:{x:i.x+e,y:i.y},[a("mousedown",i),a("mousemove",r),a("mouseup",r)].forEach((function(t){return o.dispatchEvent(t)})),t.response.success},e.prototype.onMapKbdTab=function(t,e){var i=this.chart;t=t.response;var n=(e=e.shiftKey)&&!this.focusedMapNavButtonIx||!e&&this.focusedMapNavButtonIx;return i.mapNavigation.navButtons[this.focusedMapNavButtonIx].setState(0),n?(i.mapView&&i.mapView.zoomBy(),t[e?"prev":"next"]):(this.focusedMapNavButtonIx+=e?-1:1,e=i.mapNavigation.navButtons[this.focusedMapNavButtonIx],i.setFocusToElement(e.box,e.element),e.setState(2),t.success)},e.prototype.onMapKbdClick=function(t){return this.fakeClickEvent(this.chart.mapNavigation.navButtons[this.focusedMapNavButtonIx].element),t.response.success},e.prototype.onMapNavInit=function(t){var e=this.chart,i=e.mapNavigation.navButtons[0],n=e.mapNavigation.navButtons[1];i=0<t?i:n,e.setFocusToElement(i.box,i.element),i.setState(2),this.focusedMapNavButtonIx=0<t?0:1},e.prototype.simpleButtonNavigation=function(t,e,i){var o=this.keyCodes,r=this,s=this.chart;return new n(s,{keyCodeMap:[[[o.tab,o.up,o.down,o.left,o.right],function(t,e){return this.response[t===o.tab&&e.shiftKey||t===o.left||t===o.up?"prev":"next"]}],[[o.space,o.enter],function(){var t=i(this,s);return l(t,this.response.success)}]],validate:function(){return s[t]&&s[t].box&&r[e].buttonElement},init:function(){s.setFocusToElement(s[t].box,r[e].buttonElement)}})},e.prototype.getKeyboardNavigation=function(){return[this.simpleButtonNavigation("resetZoomButton","resetZoomProxyButton",(function(t,e){e.zoomOut()})),this.simpleButtonNavigation("drillUpButton","drillUpProxyButton",(function(t,e){return e.drillUp(),t.response.prev})),this.getMapZoomNavigation()]},e}(t)})),e(t,"Accessibility/HighContrastMode.js",[t["Core/Globals.js"]],(function(t){var e=t.doc,i=t.isMS,n=t.win;return{isHighContrastModeActive:function(){var t=/(Edg)/.test(n.navigator.userAgent);if(n.matchMedia&&t)return n.matchMedia("(-ms-high-contrast: active)").matches;if(i&&n.getComputedStyle){(t=e.createElement("div")).style.backgroundImage="url(".concat("data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",")"),e.body.appendChild(t);var o=(t.currentStyle||n.getComputedStyle(t)).backgroundImage;return e.body.removeChild(t),"none"===o}return n.matchMedia&&n.matchMedia("(forced-colors: active)").matches},setHighContrastTheme:function(t){t.highContrastModeActive=!0;var e=t.options.accessibility.highContrastTheme;t.update(e,!1),t.series.forEach((function(t){var i=e.plotOptions[t.type]||{};t.update({color:i.color||"windowText",colors:[i.color||"windowText"],borderColor:i.borderColor||"window"}),t.points.forEach((function(t){t.options&&t.options.color&&t.update({color:i.color||"windowText",borderColor:i.borderColor||"window"},!1)}))})),t.redraw()}}})),e(t,"Accessibility/HighContrastTheme.js",[],(function(){return{chart:{backgroundColor:"window"},title:{style:{color:"windowText"}},subtitle:{style:{color:"windowText"}},colorAxis:{minColor:"windowText",maxColor:"windowText",stops:[]},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"}}
1,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"}},labels:{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"}}})),e(t,"Accessibility/Options/A11yDefaults.js",[],(function(){return{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',keyboardNavigation:{enabled:!0,focusBorder:{enabled:!0,hideBrowserFocusOutline:!0,style:{color:"#335cad",lineWidth:2,borderRadius:3},margin:2},order:["series","zoom","rangeSelector","legend","chartMenu"],wrapAround:!0,seriesNavigation:{skipNullPoints:!0,pointNavigationEnabledThreshold:!1,rememberPointFocus:!1}},announceNewData:{enabled:!1,minAnnounceInterval:5e3,interruptUser:!1}},legend:{accessibility:{enabled:!0,keyboardNavigation:{enabled:!0}}},exporting:{accessibility:{enabled:!0}}}})),e(t,"Accessibility/Options/LangDefaults.js",[],(function(){return{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}{ Also related to, #each(additionalAnnotationPoints)}",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}
1",minInputLabel:"Select start date.",maxInputLabel:"Select end date.",clickButtonAnnouncement:"Viewing {axisRangeDescription}"},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 {#plural(numPoints, points, point)}.",defaultMultiple:"Chart with {numSeries} data series.",splineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",splineMultiple:"Line chart with {numSeries} lines.",lineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",lineMultiple:"Line chart with {numSeries} lines.",columnSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",columnMultiple:"Bar chart with {numSeries} data series.",barSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",barMultiple:"Bar chart with {numSeries} data series.",pieSingle:"Pie chart with {numPoints} {#plural(numPoints, slices, slice)}.",pieMultiple:"Pie chart with {numSeries} pies.",scatterSingle:"Scatter chart with {numPoints} {#plural(numPoints, points, point)}.",scatterMultiple:"Scatter chart with {numSeries} data series.",boxplotSingle:"Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.",boxplotMultiple:"Boxplot with {numSeries} data series.",bubbleSingle:"Bubble chart with {numPoints} {#plural(numPoints, bubbles, bubble)}.",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, -1) }and {names[-1]}.",yAxisDescriptionSingular:"The chart has 1 Y axis displaying {names[0]}. {ranges[0]}",yAxisDescriptionPlural:"The chart has {numAxes} Y axes displaying {#each(names, -1) }and {names[-1]}.",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."},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 {#plural(series.points.length, points, point)}.",defaultCombination:"{series.name}, series {seriesNumber} of {chart.series.length} with {series.points.length} data {#plural(series.points.length, points, point)}.",line:"{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#plural(series.points.length, points, point)}
1.",lineCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#plural(series.points.length, points, point)}.",spline:"{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#plural(series.points.length, points, point)}.",splineCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#plural(series.points.length, points, point)}.",column:"{series.name}, bar series {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, bars, bar)}.",columnCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bar series with {series.points.length} {#plural(series.points.length, bars, bar)}.",bar:"{series.name}, bar series {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, bars, bar)}.",barCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bar series with {series.points.length} {#plural(series.points.length, bars, bar)}.",pie:"{series.name}, pie {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, slices, slice)}.",pieCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Pie with {series.points.length} {#plural(series.points.length, slices, slice)}.",scatter:"{series.name}, scatter plot {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, points, point)}.",scatterCombination:"{series.name}, series {seriesNumber} of {chart.series.length}, scatter plot with {series.points.length} {#plural(series.points.length, points, point)}.",boxplot:"{series.name}, boxplot {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, boxes, box)}.",boxplotCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Boxplot with {series.points.length} {#plural(series.points.length, boxes, box)}.",bubble:"{series.name}, bubble series {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, bubbles, bubble)}.",bubbleCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bubble series with {series.points.length} {#plural(series.points.length, bubbles, bubble)}.",map:"{series.name}, map {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, areas, area)}.",mapCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Map with {series.points.length} {#plural(series.points.length, areas, area)}.",mapline:"{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#plural(series.points.length, points, point)}.",maplineCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#plural(series.points.length, points, point)}.",mapbubble:"{series.name}, bubble series {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, bubbles, bubble)}.",mapbubbleCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bubble series with {series.points.length} {#plural(series.points.length, bubbles, bubble)}."},description:"{description}",xAxisDescription:"X axis, {name}",yAxisDescription:"Y axis, {name}",nullPointValue:"No value",pointAnnotationsDescription:"{Annotation: #each(annotations). }"}}}})),e(t,"Accessibility/Options/DeprecatedOptions.js",[t["Core/Utilities.js"]],(function(t){function e(t,e,i){for(var n,r=0;r<e.length-1;++r)t=t[n=e[r]]=o(t[n],{});t[e[e.length-1]]=i}function i(t,i,o,r){function s(t,e){return e.reduce((function(t,e){return t[e]}),t)}var a=s(t.options,i),c=s(t.options,o);Object.keys(r).forEach((function(s){var l,h=a[s];void 0!==h&&(e(c,r[s],h),n(32,!1,t,((l={})[i.join(".")+"."+s]=o.join(".")+"."+r[s].join("."),l)))}))}var n=t.error,o=t.pick;return function(t){!function(t){var e=t.options.chart,i=t.options.accessibility||{};["description","typeDescription"].forEach((function(o){var r;e[o]&&(i[o]=e[o],n(32,!1,t,((r={})["chart.".concat(o)]="use accessibility.".concat(o),r)))}))}
1(t),function(t){t.axes.forEach((function(e){(e=e.options)&&e.description&&(e.accessibility=e.accessibility||{},e.accessibility.description=e.description,n(32,!1,t,{"axis.description":"use axis.accessibility.description"}))}))}(t),t.series&&function(t){var i={description:["accessibility","description"],exposeElementToA11y:["accessibility","exposeAsGroupOnly"],pointDescriptionFormatter:["accessibility","point","descriptionFormatter"],skipKeyboardNavigation:["accessibility","keyboardNavigation","enabled"],"accessibility.pointDescriptionFormatter":["accessibility","point","descriptionFormatter"]};t.series.forEach((function(o){Object.keys(i).forEach((function(r){var s,a=o.options[r];"accessibility.pointDescriptionFormatter"===r&&(a=o.options.accessibility&&o.options.accessibility.pointDescriptionFormatter),void 0!==a&&(e(o.options,i[r],"skipKeyboardNavigation"===r?!a:a),n(32,!1,t,((s={})["series.".concat(r)]="series."+i[r].join("."),s)))}))}))}(t),i(t,["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"]}),i(t,["accessibility","keyboardNavigation"],["accessibility","keyboardNavigation","seriesNavigation"],{skipNullPoints:["skipNullPoints"],mode:["mode"]}),i(t,["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"]})}})),e(t,"Accessibility/Accessibility.js",[t["Core/Defaults.js"],t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Accessibility/A11yI18n.js"],t["Accessibility/Components/ContainerComponent.js"],t["Accessibility/FocusBorder.js"],t["Accessibility/Components/InfoRegionsComponent.js"],t["Accessibility/KeyboardNavigation.js"],t["Accessibility/Components/LegendComponent.js"],t["Accessibility/Components/MenuComponent.js"],t["Accessibility/Components/SeriesComponent/NewDataAnnouncer.js"],t["Accessibility/ProxyProvider.js"],t["Accessibility/Components/RangeSelectorComponent.js"],t["Accessibility/Components/SeriesComponent/SeriesComponent.js"],t["Accessibility/Components/ZoomComponent.js"],t["Accessibility/HighContrastMode.js"],t["Accessibility/HighContrastTheme.js"],t["Accessibility/Options/A11yDefaults.js"],t["Accessibility/Options/LangDefaults.js"],t["Accessibility/Options/DeprecatedOptions.js"]],(function(t,e,i,n,o,r,s,a,c,l,h,p,u,d,g,m,f,y,b,v,x){t=t.defaultOptions;var w=e.doc,A=i.addEvent,C=i.extend,E=i.fireEvent,T=i.merge,S=n.removeElement;return e=function(){function t(t){this.proxyProvider=this.keyboardNavigation=this.components=this.chart=void 0,this.init(t)}return t.prototype.init=function(t){this.chart=t,w.addEventListener&&t.renderer.isSVG?(x(t),this.proxyProvider=new u(this.chart),this.initComponents(),this.keyboardNavigation=new c(t,this.components)):(this.zombie=!0,this.components={},t.renderTo.setAttribute("aria-hidden",!0))},t.prototype.initComponents=function(){var t=this.chart,e=this.proxyProvider,i=t.options.accessibility;this.components={container:new r,infoRegions:new a,legend:new l,chartMenu:new h,rangeSelector:new d,series:new g,zoom:new m},i.customComponents&&C(this.components,i.customComponents);var n=this.components;
1this.getComponentOrder().forEach((function(i){n[i].initBase(t,e),n[i].init()}))},t.prototype.getComponentOrder=function(){if(!this.components)return[];if(!this.components.series)return Object.keys(this.components);var t=Object.keys(this.components).filter((function(t){return"series"!==t}));return["series"].concat(t)},t.prototype.update=function(){var t=this.components,e=this.chart,i=e.options.accessibility;E(e,"beforeA11yUpdate"),e.types=this.getChartTypes(),i=i.keyboardNavigation.order,this.proxyProvider.updateGroupOrder(i),this.getComponentOrder().forEach((function(i){t[i].onChartUpdate(),E(e,"afterA11yComponentUpdate",{name:i,component:t[i]})})),this.keyboardNavigation.update(i),!e.highContrastModeActive&&f.isHighContrastModeActive()&&f.setHighContrastTheme(e),E(e,"afterA11yUpdate",{accessibility:this})},t.prototype.destroy=function(){var t=this.chart||{},e=this.components;Object.keys(e).forEach((function(t){e[t].destroy(),e[t].destroyBase()})),this.proxyProvider&&this.proxyProvider.destroy(),t.announcerContainer&&S(t.announcerContainer),this.keyboardNavigation&&this.keyboardNavigation.destroy(),t.renderTo&&t.renderTo.setAttribute("aria-hidden",!0),t.focusElement&&t.focusElement.removeFocusBorder()},t.prototype.getChartTypes=function(){var t={};return this.chart.series.forEach((function(e){t[e.type]=1})),Object.keys(t)},t}(),function(t){function e(){this.accessibility&&this.accessibility.destroy()}function i(){this.a11yDirty&&this.renderTo&&(delete this.a11yDirty,this.updateA11yEnabled());var t=this.accessibility;t&&!t.zombie&&(t.proxyProvider.updateProxyElementPositions(),t.getComponentOrder().forEach((function(e){t.components[e].onChartRender()})))}function n(t){(t=t.options.accessibility)&&(t.customComponents&&(this.options.accessibility.customComponents=t.customComponents,delete t.customComponents),T(!0,this.options.accessibility,t),this.accessibility&&this.accessibility.destroy&&(this.accessibility.destroy(),delete this.accessibility)),this.a11yDirty=!0}function r(){var e=this.accessibility,i=this.options.accessibility;i&&i.enabled?e&&!e.zombie?e.update():(this.accessibility=e=new t(this),!e.zombie&&e.update()):e?(e.destroy&&e.destroy(),delete this.accessibility):this.renderTo.setAttribute("aria-hidden",!0)}function a(){this.series.chart.accessibility&&(this.series.chart.a11yDirty=!0)}var u=[];t.i18nFormat=o.i18nFormat,t.compose=function(t,m,f,y,b,v){c.compose(t),p.compose(y),l.compose(t,m),h.compose(t),g.compose(t,f,y),o.compose(t),s.compose(t,b),v&&d.compose(t,v),-1===u.indexOf(t)&&(u.push(t),t.prototype.updateA11yEnabled=r,A(t,"destroy",e),A(t,"render",i),A(t,"update",n),["addSeries","init"].forEach((function(e){A(t,e,(function(){this.a11yDirty=!0}))})),["afterApplyDrilldown","drillupall"].forEach((function(e){A(t,e,(function(){var t=this.accessibility;t&&!t.zombie&&t.update()}))}))),-1===u.indexOf(f)&&(u.push(f),A(f,"update",a)),-1===u.indexOf(y)&&(u.push(y),["update","updatedData","remove"].forEach((function(t){A(y,t,(function(){this.chart.accessibility&&(this.chart.a11yDirty=!0)}))})))}}(e||(e={})),T(!0,t,b,{accessibility:{highContrastTheme:y},lang:v}),e})),e(t,"masters/modules/accessibility.src.js",[t["Core/Globals.js"],t["Accessibility/Accessibility.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Components/SeriesComponent/SeriesDescriber.js"]],(function(t,e,i,n,o,r,s){t.i18nFormat=e.i18nFormat,t.A11yChartUtilities=n,t.A11yHTMLUtilities=o,t.AccessibilityComponent=i,t.KeyboardNavigationHandler=r,t.SeriesAccessibilityDescriber=s,e.compose(t.Chart,t.Legend,t.Point,t.Series,t.SVGElement,t.RangeSelector)}))},t.exports?(r.default=r,t.exports=r):(n=[i(66044)],void 0===(o=function(t){return r(t),r.Highcharts=t,r}.apply(e,n))||(t.exports=o))},33247:(t,e,i)=>{var n,o,r;r=function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{}
1,"Extensions/PatternFill.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Defaults.js"],t["Core/Series/Point.js"],t["Core/Series/Series.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o,r,s,a){function c(t,e){var i=(t=JSON.stringify(t)).length||0,n=0,o=0;if(e){e=Math.max(Math.floor(i/500),1);for(var r=0;r<i;r+=e)n+=t.charCodeAt(r);n&=n}for(;o<i;++o)n=(n<<5)-n+(e=t.charCodeAt(o)),n&=n;return n.toString(16).replace("-","1")}var l=t.animObject,h=n.getOptions;t=a.addEvent;var p=a.defined,u=a.erase,d=a.merge,g=a.pick,m=a.removeEvent;n=a.wrap;var f,y,b=i.patterns=(f=[],y=h().colors,["M 0 0 L 5 5 M 4.5 -0.5 L 5.5 0.5 M -0.5 4.5 L 0.5 5.5","M 0 5 L 5 0 M -0.5 0.5 L 0.5 -0.5 M 4.5 5.5 L 5.5 4.5","M 2 0 L 2 5 M 4 0 L 4 5","M 0 2 L 5 2 M 0 4 L 5 4","M 0 1.5 L 2.5 1.5 L 2.5 0 M 2.5 5 L 2.5 3.5 L 5 3.5"].forEach((function(t,e){f.push({path:t,color:y[e],width:5,height:5,patternTransform:"scale(1.4 1.4)"})})),["M 0 0 L 5 10 L 10 0","M 3 3 L 8 3 L 8 8 L 3 8 Z","M 5 5 m -4 0 a 4 4 0 1 1 8 0 a 4 4 0 1 1 -8 0","M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11","M 0 10 L 10 0 M -1 1 L 1 -1 M 9 11 L 11 9"].forEach((function(t,e){f.push({path:t,color:y[e+5],width:10,height:10})})),f);o.prototype.calculatePatternDimensions=function(t){if(!t.width||!t.height){var e=this.graphic&&(this.graphic.getBBox&&this.graphic.getBBox(!0)||this.graphic.element&&this.graphic.element.getBBox())||{},i=this.shapeArgs;if(i&&(e.width=i.width||e.width,e.height=i.height||e.height,e.x=i.x||e.x,e.y=i.y||e.y),t.image){if(!e.width||!e.height)return t._width="defer",t._height="defer",e=this.series.chart.mapView&&this.series.chart.mapView.getSVGTransform().scaleY,void(p(e)&&0>e&&(t._inverted=!0));t.aspectRatio&&(e.aspectRatio=e.width/e.height,t.aspectRatio>e.aspectRatio?e.aspectWidth=e.height*t.aspectRatio:e.aspectHeight=e.width/t.aspectRatio),t._width=t.width||Math.ceil(e.aspectWidth||e.width),t._height=t.height||Math.ceil(e.aspectHeight||e.height)}t.width||(t._x=t.x||0,t._x+=e.x-Math.round(e.aspectWidth?Math.abs(e.aspectWidth-e.width)/2:0)),t.height||(t._y=t.y||0,t._y+=e.y-Math.round(e.aspectHeight?Math.abs(e.aspectHeight-e.height)/2:0))}},s.prototype.addPattern=function(t,e){e=g(e,!0);var i=l(e),n=t.width||t._width||32,o=t.height||t._height||32,r=t.color||"#343434",s=t.id,c=this,h=function(t){c.rect(0,0,n,o).attr({fill:t}).add(u)};if(s||(this.idCounter=this.idCounter||0,s="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(s+="-export"),this.defIds=this.defIds||[],!(-1<this.defIds.indexOf(s))){this.defIds.push(s);var p={id:s,patternUnits:"userSpaceOnUse",patternContentUnits:t.patternContentUnits||"userSpaceOnUse",width:n,height:o,x:t._x||t.x||0,y:t._y||t.y||0};t._inverted&&(p.patternTransform="scale(1, -1)",t.patternTransform&&(t.patternTransform+=" scale(1, -1)")),t.patternTransform&&(p.patternTransform=t.patternTransform);var u=this.createElement("pattern").attr(p).add(this.defs);return u.id=s,t.path?(p=a.isObject(t.path)?t.path:{d:t.path},t.backgroundColor&&h(t.backgroundColor),h={d:p.d},this.styledMode||(h.stroke=p.stroke||r,h["stroke-width"]=g(p.strokeWidth,2),h.fill=p.fill||"none"),p.transform&&(h.transform=p.transform),this.createElement("path").attr(h).add(u),u.color=r):t.image&&(e?this.image(t.image,0,0,n,o,(function(){this.animate({opacity:g(t.opacity,1)},i),m(this.element,"load")})).attr({opacity:0}).add(u):this.image(t.image,0,0,n,o).add(u)),t.image&&e||void 0===t.opacity||[].forEach.call(u.element.childNodes,(function(e){e.setAttribute("opacity",t.opacity)})),this.patternElements=this.patternElements||{},this.patternElements[s]=u}},n(r.prototype,"getColor",(function(t){var e=this.options.color;e&&e.pattern&&!e.pattern.color?(delete this.options.color,t.apply(this,Array.prototype.slice.call(arguments,1)),e.pattern.color=this.color,this.color=this.options.color=e):t.apply(this,Array.prototype.slice.call(arguments,1))})),t(r,"render",(function(){var t=this.chart.isResizing;(this.isDirtyData||t||!this.chart.hasRendered)&&(this.points||[]).forEac
1h((function(e){var i=e.options&&e.options.color;i&&i.pattern&&(!t||e.shapeArgs&&e.shapeArgs.width&&e.shapeArgs.height?e.calculatePatternDimensions(i.pattern):(i.pattern._width="defer",i.pattern._height="defer"))}))})),t(o,"afterInit",(function(){var t=this.options.color;t&&t.pattern&&("string"==typeof t.pattern.path&&(t.pattern.path={d:t.pattern.path}),this.color=this.options.color=d(this.series.options.color,t))})),t(s,"complexColor",(function(t){var e=t.args[0],i=t.args[1];t=t.args[2];var n=this.chartIndex||0,r=e.pattern,s="#343434";if(void 0!==e.patternIndex&&b&&(r=b[e.patternIndex]),!r)return!0;if(r.image||"string"==typeof r.path||r.path&&r.path.d){var a=t.parentNode&&t.parentNode.getAttribute("class");a=a&&-1<a.indexOf("highcharts-legend"),"defer"!==r._width&&"defer"!==r._height||o.prototype.calculatePatternDimensions.call({graphic:{element:t}},r),!a&&r.id||((r=d({},r)).id="highcharts-pattern-"+n+"-"+c(r)+c(r,!0)),this.addPattern(r,!this.forExport&&g(r.animation,this.globalAnimation,{duration:100})),s="url(".concat(this.url,"#").concat(r.id+(this.forExport?"-export":""),")")}else s=r.color||s;return t.setAttribute(i,s),e.toString=function(){return s},!1})),t(e,"endResize",(function(){(this.renderer&&this.renderer.defIds||[]).filter((function(t){return t&&t.indexOf&&0===t.indexOf("highcharts-pattern-")})).length&&(this.series.forEach((function(t){t.visible&&t.points.forEach((function(t){(t=t.options&&t.options.color)&&t.pattern&&(t.pattern._width="defer",t.pattern._height="defer")}))})),this.redraw(!1))})),t(e,"redraw",(function(){var t={},e=this.renderer,i=(e.defIds||[]).filter((function(t){return t.indexOf&&0===t.indexOf("highcharts-pattern-")}));i.length&&([].forEach.call(this.renderTo.querySelectorAll('[color^="url("], [fill^="url("], [stroke^="url("]'),(function(i){(i=i.getAttribute("fill")||i.getAttribute("color")||i.getAttribute("stroke"))&&(i=i.replace(e.url,"").replace("url(#","").replace(")",""),t[i]=!0)})),i.forEach((function(i){t[i]||(u(e.defIds,i),e.patternElements[i]&&(e.patternElements[i].destroy(),delete e.patternElements[i]))})))}))})),e(t,"masters/modules/pattern-fill.src.js",[],(function(){}))},t.exports?(r.default=r,t.exports=r):(n=[i(66044)],void 0===(o=function(t){return r(t),r.Highcharts=t,r}.apply(e,n))||(t.exports=o))},9204:(t,e,i)=>{var n,o,r;r=function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Series/Vector/VectorSeries.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,n){var o=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=t.animObject,s=i.series,a=i.seriesTypes.scatter,c=n.arrayMax;t=n.extend;var l=n.merge,h=n.pick;return n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.lengthMax=void 0,e.options=void 0,e.points=void 0,e}return o(e,t),e.prototype.animate=function(t){t?this.markerGroup.attr({opacity:.01}):this.markerGroup.animate({opacity:1},r(this.options.animation))},e.prototype.arrow=function(t){var e={start:10*(t=t.length/this.lengthMax*this.options.vectorLength/20),center:0,end:-10*t}[this.options.rotationOrigin]||0;return[["M",0,7*t+e],["L",-1.5*t,7*t+e],["L",0,10*t+e],["L",1.5*t,7*t+e],["L",0,7*t+e],["L",0,-10*t+e]]},e.prototype.drawPoints=function(){var t=this.chart;this.points.forEach((function(e){var i=e.plotX,n=e.plotY;!1===this.options.clip||t.isInsidePlot(i,n,{inverted:t.inverted})?(e.graphic||(e.graphic=this.chart.renderer.path().add(this.markerGroup).addClass("highcharts-point highcharts-color-"+h(e.colorIndex,e.series.colorIndex))),e.graphic.attr({d:this.arrow(e),translateX:i,translateY:n,rotation:e.direction}),this.chart.styledMode||e.graphic.attr(this.pointAttribs(e))):e.graphic&&(e.graphic=e.graphic.destroy())}),this)},e.prototype.pointAttribs=function(t,e){var i=this.options;t=t.color||this.color;var n=this.options.lineWidth;return e&&(t=i.states[e].color||t,n=(i.states[e].lineWidth||n)+(i.states[e].lineWidthPlus||0)),{stroke:t,"stroke-width":n}},e.prototype.translate=function(){s.prototype.translate.call(this),this.lengthMax=c(this.lengthData)},e.defaultOptions=l(a.defaultOptions,{lineWidth:2,rotationOrigin:"center",states:{hover:{lineWidthPlus:1}},tooltip:{pointFormat:"<b>[{point.x}, {point.y}]</b><br/>Length: <b>{point.length}</b><br/>Direction: <b>{point.direction}°</b><br/>"},vectorLength:20},{marker:null}),e}(a),t(n.prototype,{drawGraph:e.noop,getSymbol:e.noop,markerAttribs:e.noop,parallelArrays:["x","y","length","direction"],pointArrayMap:["y","length","direction"]}),i.registerSeriesType("vector",n),n}
1)),e(t,"masters/modules/vector.src.js",[],(function(){}))},t.exports?(r.default=r,t.exports=r):(n=[i(66044)],void 0===(o=function(t){return r(t),r.Highcharts=t,r}.apply(e,n))||(t.exports=o))},48398:(t,e,i)=>{var n,o,r;r=function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Series/XRange/XRangeSeriesDefaults.js",[t["Core/Utilities.js"]],(function(t){var e=t.correctFloat,i=t.isNumber,n=t.isObject;return{colorByPoint:!0,dataLabels:{formatter:function(){var t=this.point.partialFill;if(n(t)&&(t=t.amount),i(t)&&0<t)return e(100*t)+"%"},inside:!0,verticalAlign:"middle"},tooltip:{headerFormat:'<span style="font-size: 10px">{point.x} - {point.x2}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.yCategory}</b><br/>'},borderRadius:3,pointRange:0}})),e(t,"Series/XRange/XRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=t.series.prototype.pointClass.prototype;return e=e.extend,t=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return i(e,t),e.getColorByCategory=function(t,e){var i=t.options.colors||t.chart.options.colors;return{colorIndex:t=e.y%(i?i.length:t.chart.options.chart.colorCount),color:i&&i[t]}},e.prototype.resolveColor=function(){var t=this.series;if(t.options.colorByPoint&&!this.options.color){var i=e.getColorByCategory(t,this);t.chart.styledMode||(this.color=i.color),this.options.colorIndex||(this.colorIndex=i.colorIndex)}else this.color||(this.color=t.color)},e.prototype.init=function(){return n.init.apply(this,arguments),this.y||(this.y=0),this},e.prototype.setState=function(){n.setState.apply(this,arguments),this.series.drawPoint(this,this.series.getAnimationVerb())},e.prototype.getLabelConfig=function(){var t=n.getLabelConfig.call(this),e=this.series.yAxis.categories;return t.x2=this.x2,t.yCategory=this.yCategory=e&&e[this.y],t},e.prototype.isValid=function(){return"number"==typeof this.x&&"number"==typeof this.x2},e}(t.seriesTypes.column.prototype.pointClass),e(t.prototype,{ttBelow:!1,tooltipDateKeys:["x","x2"]}),t})),e(t,"Series/XRange/XRangeSeries.js",[t["Core/Globals.js"],t["Core/Color/Color.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"],t["Series/XRange/XRangeSeriesDefaults.js"],t["Series/XRange/XRangePoint.js"]],(function(t,e,i,n,o,r){function s(){if(this.isXAxis){for(var t=b(this.dataMax,-Number.MAX_VALUE),e=0,i=this.series;e<i.length;e++){var n=i[e];if(n.x2Data){var o=0;for(n=n.x2Data;o<n.length;o++){var r=n[o];if(r&&r>t){t=r;var s=!0}}}}s&&(this.dataMax=t)}}var a=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();t=t.noop;var c=e.parse,l=i.series.prototype,h=i.seriesTypes.column,p=n.addEvent,u=n.clamp,d=n.defined;e=n.extend;var g=n.find,m=n.isNumber,f=n.isObject,y=n.merge,b=n.pick,v=[];return n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return a(e,t),e.compose=function(t){-1===v.indexOf(t)&&(v.push(t),p(t,"afterGetSeriesExtremes",s))},e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.options.stacking=void 0},e.prototype.getColumnMetrics=function(){var e=this,i=function(){for(var t=0,i=e.chart.series;t<i.length;t++){var n=i[t],o=n.xAxis;n.xAxis=n.yAxis,n.yAxis=o}};i();var n=t.prototype.getColumnMetrics.call(this);return i(),n}
1,e.prototype.cropData=function(t,e,i,n){return(e=l.cropData.call(this,this.x2Data,e,i,n)).xData=t.slice(e.start,e.end),e},e.prototype.findPointIndex=function(t){var e=this.cropStart,i=this.points,n=t.id;if(n)var o=(o=g(i,(function(t){return t.id===n})))?o.index:void 0;return void 0===o&&(o=(o=g(i,(function(e){return e.x===t.x&&e.x2===t.x2&&!e.touched})))?o.index:void 0),this.cropped&&m(o)&&m(e)&&o>=e&&(o-=e),o},e.prototype.alignDataLabel=function(e){var i=e.plotX;e.plotX=b(e.dlBox&&e.dlBox.centerX,e.plotX),t.prototype.alignDataLabel.apply(this,arguments),e.plotX=i},e.prototype.translatePoint=function(t){var e=this.xAxis,i=this.yAxis,n=this.columnMetrics,o=this.options,r=o.minPointLength||0,s=(t.shapeArgs&&t.shapeArgs.width||0)/2,a=this.pointXOffset=n.offset,c=b(t.x2,t.x+(t.len||0)),l=t.plotX,h=e.translate(c,0,0,0,1);c=Math.abs(h-l);var p=this.chart.inverted,g=b(o.borderWidth,1)%2/2,v=n.offset,x=Math.round(n.width);r&&(0>(r-=c)&&(r=0),l-=r/2,h+=r/2),l=Math.max(l,-10),h=u(h,-10,e.len+10),d(t.options.pointWidth)&&(v-=(Math.ceil(t.options.pointWidth)-x)/2,x=Math.ceil(t.options.pointWidth)),o.pointPlacement&&m(t.plotY)&&i.categories&&(t.plotY=i.translate(t.y,0,1,0,1,o.pointPlacement)),o={x:o=Math.floor(Math.min(l,h))+g,y:Math.floor(t.plotY+v)+g,width:Math.floor(Math.max(l,h))+g-o,height:x,r:this.options.borderRadius},t.shapeArgs=o,p?t.tooltipPos[1]+=a+s:t.tooltipPos[0]-=s+a-o.width/2,a=(s=o.x)+o.width,0>s||a>e.len?(s=u(s,0,e.len),h=(a=u(a,0,e.len))-s,t.dlBox=y(o,{x:s,width:a-s,centerX:h?h/2:null})):t.dlBox=null,s=t.tooltipPos,a=p?1:0,h=p?0:1,n=this.columnMetrics?this.columnMetrics.offset:-n.width/2,s[a]=p?s[a]+o.width/2:s[a]+(e.reversed?-1:0)*o.width,s[h]=u(s[h]+(p?-1:1)*n,0,i.len-1),(i=t.partialFill)&&(f(i)&&(i=i.amount),m(i)||(i=0),t.partShapeArgs=y(o,{r:this.options.borderRadius}),l=Math.max(Math.round(c*i+t.plotX-l),0),t.clipRectArgs={x:e.reversed?o.x+c-l:o.x,y:o.y,width:l,height:o.height})},e.prototype.translate=function(){t.prototype.translate.apply(this,arguments);for(var e=0,i=this.points;e<i.length;e++)this.translatePoint(i[e])},e.prototype.drawPoint=function(t,e){var i=this.options,n=this.chart.renderer,o=t.shapeType,r=t.shapeArgs,s=t.partShapeArgs,a=t.clipRectArgs,l=i.stacking&&!i.borderRadius,h=t.state,p=i.states[h||"normal"]||{},u=void 0===h?"attr":e;h=this.pointAttribs(t,h),p=b(this.chart.options.chart.animation,p.animation);var d=t.graphic,g=t.partialFill;t.isNull||!1===t.visible?d&&(t.graphic=d.destroy()):(d?d.rect[e](r):(t.graphic=d=n.g("point").addClass(t.getClassName()).add(t.group||this.group),d.rect=n[o](y(r)).addClass(t.getClassName()).addClass("highcharts-partfill-original").add(d)),s&&(d.partRect?(d.partRect[e](y(s)),d.partialClipRect[e](y(a))):(d.partialClipRect=n.clipRect(a.x,a.y,a.width,a.height),d.partRect=n[o](s).addClass("highcharts-partfill-overlay").add(d).clip(d.partialClipRect))),this.chart.styledMode||(d.rect[e](h,p).shadow(i.shadow,null,l),s&&(f(g)||(g={}),f(i.partialFill)&&(g=y(i.partialFill,g)),t=g.fill||c(h.fill).brighten(-.3).get()||c(t.color||this.color).brighten(-.3).get(),h.fill=t,d.partRect[u](h,p).shadow(i.shadow,null,l))))},e.prototype.drawPoints=function(){for(var t=this.getAnimationVerb(),e=0,i=this.points;e<i.length;e++)this.drawPoint(i[e],t)},e.prototype.getAnimationVerb=function(){return this.chart.pointCount<(this.options.animationLimit||250)?"animate":"attr"},e.prototype.isPointInside=function(e){var i=e.shapeArgs,n=e.plotX,o=e.plotY;return i?void 0!==n&&void 0!==o&&0<=o&&o<=this.yAxis.len&&0<=(i.x||0)+(i.width||0)&&n<=this.xAxis.len:t.prototype.isPointInside.apply(this,arguments)},e.defaultOptions=y(h.defaultOptions,o),e}(h),e(n.prototype,{pointClass:r,cropShoulder:1,getExtremesFromAll:!0,parallelArrays:["x","x2","y"],requireSorting:!1,type:"xrange",animate:l.animate,autoIncrement:t,buildKDTree:t}),i.registerSeriesType("xrange",n),n})),e(t,"masters/modules/xrange.src.js",[t["Core/Globals.js"],t["Series/XRange/XRangeSeries.js"]],(function(t,e){e.compose(t.Axis)}))},t.exports?(r.default=r,t.exports=r):(n=[i(66044)],void 0===(o=function(t){return r(t),r.Highcharts=t,r}.apply(e,n))||(t.exports=o))}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.