playbook_ui 14.3.1.pre.alpha.PLAY14973742 → 14.3.1.pre.alpha.dhhuynh2patch13743
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_collapsible/_helper_functions.ts +0 -4
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_flatpickr_styles.scss +2 -2
- data/dist/chunks/{_typeahead-Z2PW068O.js → _typeahead-BWUFVlae.js} +1 -1
- data/dist/chunks/{_weekday_stacked-CpnZgQb_.js → _weekday_stacked-DAoF6PiA.js} +1 -1
- data/dist/chunks/lazysizes-DHz07jlL.js +1 -0
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +4 -4
- data/dist/chunks/lazysizes-B7xYodB-.js +0 -1
@@ -3,7 +3,7 @@ import{jsx as jsx$1,Fragment,jsxs}from"react/jsx-runtime";import*as React from"r
|
|
3
3
|
Copyright (c) 2018 Jed Watson.
|
4
4
|
Licensed under the MIT License (MIT), see
|
5
5
|
http://jedwatson.github.io/classnames
|
6
|
-
*/(function(module){(function(){var hasOwn={}.hasOwnProperty;function classNames2(){var classes=[];for(var i=0;i<arguments.length;i++){var arg=arguments[i];if(!arg)continue;var argType=typeof arg;if(argType==="string"||argType==="number"){classes.push(arg)}else if(Array.isArray(arg)){if(arg.length){var inner=classNames2.apply(null,arg);if(inner){classes.push(inner)}}}else if(argType==="object"){if(arg.toString!==Object.prototype.toString&&!arg.toString.toString().includes("[native code]")){classes.push(arg.toString());continue}for(var key in arg){if(hasOwn.call(arg,key)&&arg[key]){classes.push(key)}}}}return classes.join(" ")}if(module.exports){classNames2.default=classNames2;module.exports=classNames2}else{window.classNames=classNames2}})()})(classnames$1);var classnamesExports=classnames$1.exports;const classnames=getDefaultExportFromCjs(classnamesExports);const buildPrefixedProps=(prefix2,data)=>Object.keys(data).reduce(((props,key)=>{props[`${prefix2}-${key}`]=data[key];return props}),{});const noop$1=()=>{};const buildAriaProps=aria=>buildPrefixedProps("aria",aria);const buildDataProps=data=>buildPrefixedProps("data",data);const buildCss=(...rules)=>classnames(rules).replace(/\s/g,"_");const buildHtmlProps=htmlOptions=>{const htmlProps={};Object.keys(htmlOptions).forEach((key=>{htmlProps[key]=htmlOptions[key]}));return htmlProps};const isEmpty$1=value=>!value||value=="";const titleizedWord=word=>word.charAt(0).toUpperCase()+word.slice(1).toLowerCase();const titleize=sentence=>isEmpty$1(sentence)?sentence:sentence.split(" ").map(titleizedWord).join(" ");const notEmpty=value=>!isEmpty$1(value);const joinPresent=(array,separator)=>filter(array,notEmpty).join(separator);const camelToSnakeCase=word=>word.split(/([A-Z])/g).map(((w2,i)=>{const prefix2=i>0?"_":"";return w2===w2.toLowerCase()?w2:prefix2+w2.toLowerCase()})).join("");const BitValues=[0,1];const getResponsivePropClasses=(prop,classPrefix)=>{const keys=Object.keys(prop);return keys.map((size=>{const propValue=typeof prop[size]==="string"?camelToSnakeCase(prop[size]):prop[size];return`${classPrefix}_${size}_${propValue}`})).join(" ")};const getPositioningPropsClasses=(position2,value)=>{let css4="";if(typeof value==="string"){css4+=`${position2}_${value}`}else if(typeof value==="object"&&value.inset){css4+=`${position2}_${value.value}_inset`}else if(typeof value==="object"){css4+=`${position2}_${value.value}`}return css4};const filterClassName=value=>{if(value.includes("%")){return value.replace("%","_percent")}else{return value}};const PROP_CATEGORIES={hoverProps:({hover:hover})=>{let css4="";if(!hover)return css4;css4+=hover.shadow?`hover_shadow_${hover.shadow} `:"";css4+=hover.background?`hover_background_${hover.background} `:"";css4+=hover.scale?`hover_scale_${hover.scale} `:"";css4+=hover.color?`hover_color_${hover.color} `:"";return css4},spacingProps:({marginRight:marginRight,marginLeft:marginLeft,marginTop:marginTop,marginBottom:marginBottom,marginX:marginX,marginY:marginY,margin:margin,paddingRight:paddingRight,paddingLeft:paddingLeft,paddingTop:paddingTop,paddingBottom:paddingBottom,paddingX:paddingX,paddingY:paddingY,padding:padding})=>{let css4="";const spacingProps={marginRight:marginRight,marginLeft:marginLeft,marginTop:marginTop,marginBottom:marginBottom,marginX:marginX,marginY:marginY,margin:margin,paddingRight:paddingRight,paddingLeft:paddingLeft,paddingTop:paddingTop,paddingBottom:paddingBottom,paddingX:paddingX,paddingY:paddingY,padding:padding};const screenSizeValues=["xs","sm","md","lg","xl"];function handleObjectValue(properties,prefix2){let classResult="";const breakValue=properties.break||"on";const defaultValue=properties.default||null;Object.entries(properties).forEach((([key,value])=>{if(screenSizeValues.includes(key)){classResult+=`break_${breakValue}_${key}:${prefix2}_${value} `}}));if(defaultValue){classResult+=`${prefix2}_${defaultValue} `}return classResult}function getPrefix(key){const prefixes={marginRight:"mr",marginLeft:"ml",marginTop:"mt",marginBottom:"mb",marginX:"mx",marginY:"my",margin:"m",paddingRight:"pr",paddingLeft:"pl",paddingTop:"pt",paddingBottom:"pb",paddingX:"px",paddingY:"py",padding:"p"};return prefixes[key]}Object.entries(spacingProps).forEach((([key,value])=>{if(value){if(typeof value==="object"){css4+=handleObjectValue(value,getPrefix(key))}else{const prefix2=getPrefix(key);css4+=`${prefix2}_${value} `}}}));return css4.trim()},borderRadiusProps:({borderRadius:borderRadius2})=>{let css4="";css4+=borderRadius2?`border_radius_${borderRadius2} `:"";return css4},overflowProps:({overflow:overflow,overflowX:overflowX,overflowY:overflowY})=>{let css4="";css4+=overflow?`overflow_${overflow}`:"";css4+=overflowX?`overflow_x_${overflowX}`:"";css4+=overflowY?`overflow_y_${overflowY}`:"";return css4},truncateProps:({truncate:truncate})=>{if(typeof truncate==="object"){return""}else{return truncate?`truncate_${truncate}`:""}},darkProps:({dark:dark})=>dark?"dark":"",numberSpacingProps:({numberSpacing:numberSpacing})=>{let css4="";css4+=numberSpacing?`ns_${numberSpacing} `:"";return css4},minWidthProps:({minWidth:minWidth})=>{let css4="";css4+=minWidth?`min_width_${filterClassName(minWidth)} `:"";return css4.trimEnd()},maxWidthProps:({maxWidth:maxWidth})=>{let css4="";css4+=maxWidth?`max_width_${filterClassName(maxWidth)} `:"";return css4.trimEnd()},zIndexProps:zIndex=>{let css4="";Object.entries(zIndex).forEach((zIndexEntry=>{if(zIndexEntry[0]=="zIndex"){if(typeof zIndexEntry[1]=="number"){css4+=`z_index_${zIndexEntry[1]} `}else if(typeof zIndexEntry[1]=="object"){Object.entries(zIndexEntry[1]).forEach((zIndexObj=>{css4+=`z_index_${zIndexObj[0]}_${zIndexObj[1]} `}))}}}));return css4},shadowProps:({shadow:shadow})=>{let css4="";css4+=shadow?`shadow_${shadow} `:"";return css4},lineHeightProps:({lineHeight:lineHeight})=>{let css4="";css4+=lineHeight?`line_height_${lineHeight} `:"";return css4},displayProps:display=>{let css4="";Object.entries(display).forEach((displayEntry=>{if(displayEntry[0]=="display"){if(typeof displayEntry[1]=="string"){css4+=`display_${displayEntry[1]} `}else if(typeof displayEntry[1]=="object"){Object.entries(displayEntry[1]).forEach((displayObj=>{css4+=`display_${displayObj[0]}_${displayObj[1]} `}))}else;}}));return css4},cursorProps:({cursor:cursor2})=>{let css4="";css4+=cursor2?`cursor_${camelToSnakeCase(cursor2)}`:"";return css4},alignContentProps:({alignContent:alignContent})=>{if(typeof alignContent==="object"){return getResponsivePropClasses(alignContent,"align_content")}return alignContent?`align_content_${camelToSnakeCase(alignContent)}`:""},alignItemsProps:({alignItems:alignItems})=>{if(typeof alignItems==="object"){return getResponsivePropClasses(alignItems,"align_items")}else{return alignItems?`align_items_${camelToSnakeCase(alignItems)}`:""}},alignSelfProps:({alignSelf:alignSelf})=>{if(typeof alignSelf==="object"){return getResponsivePropClasses(alignSelf,"align_self")}else{return alignSelf?`align_self_${alignSelf}`:""}},flexDirectionProps:({flexDirection:flexDirection})=>{if(typeof flexDirection=="object"){return getResponsivePropClasses(flexDirection,"flex_direction")}else{return flexDirection?`flex_direction_${camelToSnakeCase(flexDirection)}`:""}},flexWrapProps:({flexWrap:flexWrap})=>{if(typeof flexWrap=="object"){return getResponsivePropClasses(flexWrap,"flex_wrap")}else{return flexWrap?`flex_wrap_${camelToSnakeCase(flexWrap)}`:""}},flexProps:({flex:flex})=>{if(typeof flex==="object"){return getResponsivePropClasses(flex,"flex")}else{return flex?`flex_${flex}`:""}},flexGrowProps:({flexGrow:flexGrow})=>{if(typeof flexGrow=="object"){return getResponsivePropClasses(flexGrow,"flex_grow")}else if(BitValues.includes(flexGrow)){return`flex_grow_${flexGrow}`}else{return""}},flexShrinkProps:({flexShrink:flexShrink})=>{if(typeof flexShrink=="object"){return getResponsivePropClasses(flexShrink,"flex_shrink")}else if(BitValues.includes(flexShrink)){return`flex_shrink_${flexShrink}`}else{return""}},justifyContentProps:({justifyContent:justifyContent})=>{if(typeof justifyContent==="object"){return getResponsivePropClasses(justifyContent,"justify_content")}else{return justifyContent?`justify_content_${camelToSnakeCase(justifyContent)}`:""}},justifySelfProps:({justifySelf:justifySelf})=>{if(typeof justifySelf==="object"){return getResponsivePropClasses(justifySelf,"justify_self")}else{return justifySelf?`justify_self_${justifySelf}`:""}},orderProps:({order:order})=>{if(typeof order==="object"){return getResponsivePropClasses(order,"flex_order")}else{return order?`flex_order_${order}`:""}},positionProps:({position:position2})=>{let css4="";css4+=position2&&position2!=="static"?`position_${position2}`:"";return css4},topProps:({top:top})=>getPositioningPropsClasses("top",top),rightProps:({right:right})=>getPositioningPropsClasses("right",right),bottomProps:({bottom:bottom})=>getPositioningPropsClasses("bottom",bottom),leftProps:({left:left})=>getPositioningPropsClasses("left",left),textAlignProps:({textAlign:textAlign})=>{if(typeof textAlign==="object"){return getResponsivePropClasses(textAlign,"text_align")}else{return textAlign?`text_align_${textAlign} `:""}},verticalAlignProps:({verticalAlign:verticalAlign})=>{if(typeof verticalAlign==="object"){return getResponsivePropClasses(verticalAlign,"vertical_align")}else{return verticalAlign?`vertical_align_${verticalAlign} `:""}}};const globalProps=(props,defaultProps2={})=>{const allProps=Object.assign(Object.assign({},props),defaultProps2);return Object.keys(PROP_CATEGORIES).map((key=>PROP_CATEGORIES[key](allProps))).filter((value=>(value===null||value===void 0?void 0:value.length)>0)).join(" ")};const domSafeProps=props=>{const notSafeProps=["marginRight","marginLeft","marginTop","marginBottom","marginX","marginY","margin","paddingRight","paddingLeft","paddingTop","paddingBottom","paddingX","paddingY","padding","dark","enableDrag"];return omit(props,notSafeProps)};const Flex=props=>{const{align:align="none",children:children,className:className,data:data={},inline:inline=false,horizontal:horizontal="left",htmlOptions:htmlOptions={},justify:justify="none",orientation:orientation="row",spacing:spacing2="none",gap:gap="none",rowGap:rowGap="none",columnGap:columnGap="none",reverse:reverse=false,vertical:vertical="top",wrap:wrap=false,alignSelf:alignSelf="none"}=props;const orientationClass=orientation!==void 0?`orientation_${orientation}`:"";const justifyClass=justify!=="none"?`justify_content_${justify}`:`justify_content_${horizontal}`;const alignClass=align!=="none"?`align_items_${align}`:`align_items_${vertical}`;const inlineClass=inline===true?"inline":"";const spacingClass=spacing2!==void 0?`spacing_${spacing2}`:"";const gapClass=gap!=="none"?`gap_${gap}`:"";const rowGapClass=rowGap!=="none"?`rowGap_${rowGap}`:"";const columnGapClass=columnGap!=="none"?`columnGap_${columnGap}`:"";const wrapClass=wrap===true?"wrap":"";const reverseClass=reverse===true?"reverse":"";const alignSelfClass=alignSelf!=="none"?`align_self_${alignSelf}`:"";const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);return jsx$1("div",Object.assign({className:classnames(buildCss("pb_flex_kit",orientationClass,justifyClass,alignClass,inlineClass,reverseClass,wrapClass,spacingClass,gapClass,rowGapClass,columnGapClass,alignSelfClass),globalProps(props),className)},dataProps,htmlProps,{children:children}),void 0)};const FlexItem=props=>{const{children:children,className:className,fixedSize:fixedSize,grow:grow,htmlOptions:htmlOptions={},shrink:shrink,flex:flex="none",order:order="none",alignSelf:alignSelf,displayFlex:displayFlex}=props;const growClass=grow===true?"grow":"";const displayFlexClass=displayFlex===true?`display_flex_${displayFlex}`:"";const flexClass=flex!=="none"?`flex_${flex}`:"";const shrinkClass=shrink===true?"shrink":"";const alignSelfClass=alignSelf?`align_self_${alignSelf}`:"";const fixedStyle=fixedSize!==void 0?{flexBasis:`${fixedSize}`}:null;const orderClass=order!=="none"?`order_${order}`:null;const htmlProps=buildHtmlProps(htmlOptions);return jsx$1("div",Object.assign({},htmlProps,{className:classnames(buildCss("pb_flex_item_kit",growClass,shrinkClass,flexClass,displayFlexClass),orderClass,alignSelfClass,globalProps(props),className),style:fixedStyle},{children:children}),void 0)};const isValidEmoji=emoji=>{const emojiRegex=new RegExp("^(\\p{Emoji}|\\uFE0F|\\u200D|\\u20E3)+$","u");return emojiRegex.test(emoji)};const flipMap={fa:{horizontal:"fa-flip-horizontal",vertical:"fa-flip-vertical",both:"fa-flip-horizontal fa-flip-vertical",none:""},svg:{horizontal:"flip_horizontal",vertical:"flip_vertical",both:"flip_horizontal flip_vertical",none:""}};const pulseMap={fa:"fa-pulse",svg:"pulse"};const spinMap={fa:"fa-spin",svg:"spin"};const rotateMap={fa:{90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},svg:{90:"rotate_90",180:"rotate_180",270:"rotate_270"}};const sizeMap={fa:{lg:"fa-lg",xs:"fa-xs",sm:"fa-sm","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x","":""},svg:{lg:"svg_lg",xs:"svg_xs",sm:"svg_sm","1x":"svg_1x","2x":"svg_2x","3x":"svg_3x","4x":"svg_4x","5x":"svg_5x","6x":"svg_6x","7x":"svg_7x","8x":"svg_8x","9x":"svg_9x","10x":"svg_10x","":""}};const Icon=props=>{const{aria:aria={},border:border=false,className:className,color:color,customIcon:customIcon,data:data={},fixedWidth:fixedWidth=true,flip:flip="none",htmlOptions:htmlOptions={},icon:icon="",id:id,inverse:inverse=false,listItem:listItem=false,pull:pull,pulse:pulse=false,rotation:rotation,size:size,fontStyle:fontStyle="far",spin:spin=false,tabIndex:tabIndex}=props;let iconElement=typeof icon==="object"?icon:null;if(!customIcon&&!iconElement){const PowerIcon=window.PB_ICONS?window.PB_ICONS[icon]:null;if(PowerIcon){iconElement=jsx$1(PowerIcon,{},void 0)}}const isFA=!iconElement&&!customIcon;let classes=classnames(!iconElement&&!customIcon?"pb_icon_kit":"",iconElement||customIcon?"pb_custom_icon":fontStyle,iconElement?"svg-inline--fa":"",color?`color_${color}`:"",globalProps(props),className);const transformClasses=classnames(flip?flipMap[isFA?"fa":"svg"][flip]:null,pulse?pulseMap[isFA?"fa":"svg"]:null,rotation?rotateMap[isFA?"fa":"svg"][rotation]:null,spin?spinMap[isFA?"fa":"svg"]:null,size?sizeMap[isFA?"fa":"svg"][size]:null,border?isFA?"fa-border":"svg_border":null,fixedWidth?isFA?"fa-fw":"svg_fw":null,inverse?isFA?"fa-inverse":"svg_inverse":null,listItem?isFA?"fa-li":"svg_li":null,pull?isFA?`fa-pull-${pull}`:`pull_${pull}`:null);classes+=` ${transformClasses}`;if(isFA){const faClassList={"fa-border":border,"fa-inverse":inverse,"fa-li":listItem,[`fa-${size}`]:size,[`fa-pull-${pull}`]:pull};faClassList[`fa-${icon}`]=icon;classes+=` ${classnames(faClassList)}`}const classesEmoji=classnames("pb_icon_kit_emoji",globalProps(props),className);aria.label?null:aria.label=`${icon} icon`;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const displaySVG=customIcon2=>{if(iconElement||customIcon2)return jsx$1(Fragment,{children:React__default.cloneElement(iconElement||customIcon2,Object.assign(Object.assign(Object.assign(Object.assign({},dataProps),htmlProps),{className:classes,id:id,width:"auto",height:"auto"}),props.tabIndex!==void 0&&{tabIndex:tabIndex}))},void 0);else if(isValidEmoji(icon))return jsx$1(Fragment,{children:jsx$1("span",Object.assign({},dataProps,htmlProps,{className:classesEmoji,id:id},{children:icon}),void 0)},void 0);else return jsxs(Fragment,{children:[jsx$1("i",Object.assign({},dataProps,htmlProps,{className:classes,id:id}),void 0),jsx$1("span",Object.assign({},ariaProps,{hidden:true}),void 0)]},void 0)};return jsx$1(Fragment,{children:displaySVG(customIcon)},void 0)};var main={exports:{}};(function(module){module.exports=function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module2=installedModules[moduleId]={exports:{},id:moduleId,loaded:false};modules[moduleId].call(module2.exports,module2,module2.exports,__webpack_require__);module2.loaded=true;return module2.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.p="";return __webpack_require__(0)}([function(module2,exports,__webpack_require__){module2.exports=__webpack_require__(1)},function(module2,exports,__webpack_require__){Object.defineProperty(exports,"__esModule",{value:true});function _interopRequireDefault2(obj){return obj&&obj.__esModule?obj:{default:obj}}var _Highlighter=__webpack_require__(2);var _Highlighter2=_interopRequireDefault2(_Highlighter);exports["default"]=_Highlighter2["default"];module2.exports=exports["default"]},function(module2,exports,__webpack_require__){Object.defineProperty(exports,"__esModule",{value:true});var _extends2=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key]}}}return target};exports["default"]=Highlighter2;function _interopRequireDefault2(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties2(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var _highlightWordsCore=__webpack_require__(3);var _propTypes3=__webpack_require__(4);var _propTypes22=_interopRequireDefault2(_propTypes3);var _react3=__webpack_require__(14);var _memoizeOne=__webpack_require__(15);var _memoizeOne2=_interopRequireDefault2(_memoizeOne);Highlighter2.propTypes={activeClassName:_propTypes22["default"].string,activeIndex:_propTypes22["default"].number,activeStyle:_propTypes22["default"].object,autoEscape:_propTypes22["default"].bool,className:_propTypes22["default"].string,findChunks:_propTypes22["default"].func,highlightClassName:_propTypes22["default"].oneOfType([_propTypes22["default"].object,_propTypes22["default"].string]),highlightStyle:_propTypes22["default"].object,highlightTag:_propTypes22["default"].oneOfType([_propTypes22["default"].node,_propTypes22["default"].func,_propTypes22["default"].string]),sanitize:_propTypes22["default"].func,searchWords:_propTypes22["default"].arrayOf(_propTypes22["default"].oneOfType([_propTypes22["default"].string,_propTypes22["default"].instanceOf(RegExp)])).isRequired,textToHighlight:_propTypes22["default"].string.isRequired,unhighlightTag:_propTypes22["default"].oneOfType([_propTypes22["default"].node,_propTypes22["default"].func,_propTypes22["default"].string]),unhighlightClassName:_propTypes22["default"].string,unhighlightStyle:_propTypes22["default"].object};function Highlighter2(_ref3){var _ref$activeClassName=_ref3.activeClassName;var activeClassName=_ref$activeClassName===void 0?"":_ref$activeClassName;var _ref$activeIndex=_ref3.activeIndex;var activeIndex=_ref$activeIndex===void 0?-1:_ref$activeIndex;var activeStyle=_ref3.activeStyle;var autoEscape=_ref3.autoEscape;var _ref$caseSensitive=_ref3.caseSensitive;var caseSensitive=_ref$caseSensitive===void 0?false:_ref$caseSensitive;var className=_ref3.className;var findChunks=_ref3.findChunks;var _ref$highlightClassName=_ref3.highlightClassName;var highlightClassName=_ref$highlightClassName===void 0?"":_ref$highlightClassName;var _ref$highlightStyle=_ref3.highlightStyle;var highlightStyle=_ref$highlightStyle===void 0?{}:_ref$highlightStyle;var _ref$highlightTag=_ref3.highlightTag;var highlightTag=_ref$highlightTag===void 0?"mark":_ref$highlightTag;var sanitize=_ref3.sanitize;var searchWords=_ref3.searchWords;var textToHighlight=_ref3.textToHighlight;var _ref$unhighlightTag=_ref3.unhighlightTag;var unhighlightTag=_ref$unhighlightTag===void 0?"span":_ref$unhighlightTag;var _ref$unhighlightClassName=_ref3.unhighlightClassName;var unhighlightClassName=_ref$unhighlightClassName===void 0?"":_ref$unhighlightClassName;var unhighlightStyle=_ref3.unhighlightStyle;var rest=_objectWithoutProperties2(_ref3,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]);var chunks=(0,_highlightWordsCore.findAll)({autoEscape:autoEscape,caseSensitive:caseSensitive,findChunks:findChunks,sanitize:sanitize,searchWords:searchWords,textToHighlight:textToHighlight});var HighlightTag=highlightTag;var highlightIndex=-1;var highlightClassNames="";var highlightStyles=void 0;var lowercaseProps=function lowercaseProps2(object){var mapped={};for(var key in object){mapped[key.toLowerCase()]=object[key]}return mapped};var memoizedLowercaseProps=(0,_memoizeOne2["default"])(lowercaseProps);return(0,_react3.createElement)("span",_extends2({className:className},rest,{children:chunks.map((function(chunk,index2){var text=textToHighlight.substr(chunk.start,chunk.end-chunk.start);if(chunk.highlight){highlightIndex++;var highlightClass=void 0;if(typeof highlightClassName==="object"){if(!caseSensitive){highlightClassName=memoizedLowercaseProps(highlightClassName);highlightClass=highlightClassName[text.toLowerCase()]}else{highlightClass=highlightClassName[text]}}else{highlightClass=highlightClassName}var isActive=highlightIndex===+activeIndex;highlightClassNames=highlightClass+" "+(isActive?activeClassName:"");highlightStyles=isActive===true&&activeStyle!=null?Object.assign({},highlightStyle,activeStyle):highlightStyle;var props={children:text,className:highlightClassNames,key:index2,style:highlightStyles};if(typeof HighlightTag!=="string"){props.highlightIndex=highlightIndex}return(0,_react3.createElement)(HighlightTag,props)}else{return(0,_react3.createElement)(unhighlightTag,{children:text,className:unhighlightClassName,key:index2,style:unhighlightStyle})}}))}))}module2.exports=exports["default"]},function(module2,exports){module2.exports=function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module3=installedModules[moduleId]={exports:{},id:moduleId,loaded:false};modules[moduleId].call(module3.exports,module3,module3.exports,__webpack_require__);module3.loaded=true;return module3.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.p="";return __webpack_require__(0)}([function(module3,exports2,__webpack_require__){module3.exports=__webpack_require__(1)},function(module3,exports2,__webpack_require__){Object.defineProperty(exports2,"__esModule",{value:true});var _utils=__webpack_require__(2);Object.defineProperty(exports2,"combineChunks",{enumerable:true,get:function get2(){return _utils.combineChunks}});Object.defineProperty(exports2,"fillInChunks",{enumerable:true,get:function get2(){return _utils.fillInChunks}});Object.defineProperty(exports2,"findAll",{enumerable:true,get:function get2(){return _utils.findAll}});Object.defineProperty(exports2,"findChunks",{enumerable:true,get:function get2(){return _utils.findChunks}})},function(module3,exports2){Object.defineProperty(exports2,"__esModule",{value:true});exports2.findAll=function findAll2(_ref3){var autoEscape=_ref3.autoEscape,_ref$caseSensitive=_ref3.caseSensitive,caseSensitive=_ref$caseSensitive===void 0?false:_ref$caseSensitive,_ref$findChunks=_ref3.findChunks,findChunks=_ref$findChunks===void 0?defaultFindChunks:_ref$findChunks,sanitize=_ref3.sanitize,searchWords=_ref3.searchWords,textToHighlight=_ref3.textToHighlight;return fillInChunks({chunksToHighlight:combineChunks({chunks:findChunks({autoEscape:autoEscape,caseSensitive:caseSensitive,sanitize:sanitize,searchWords:searchWords,textToHighlight:textToHighlight})}),totalLength:textToHighlight?textToHighlight.length:0})};var combineChunks=exports2.combineChunks=function combineChunks2(_ref22){var chunks=_ref22.chunks;chunks=chunks.sort((function(first,second){return first.start-second.start})).reduce((function(processedChunks,nextChunk){if(processedChunks.length===0){return[nextChunk]}else{var prevChunk=processedChunks.pop();if(nextChunk.start<=prevChunk.end){var endIndex=Math.max(prevChunk.end,nextChunk.end);processedChunks.push({start:prevChunk.start,end:endIndex})}else{processedChunks.push(prevChunk,nextChunk)}return processedChunks}}),[]);return chunks};var defaultFindChunks=function defaultFindChunks2(_ref3){var autoEscape=_ref3.autoEscape,caseSensitive=_ref3.caseSensitive,_ref3$sanitize=_ref3.sanitize,sanitize=_ref3$sanitize===void 0?identity:_ref3$sanitize,searchWords=_ref3.searchWords,textToHighlight=_ref3.textToHighlight;textToHighlight=sanitize(textToHighlight);return searchWords.filter((function(searchWord){return searchWord})).reduce((function(chunks,searchWord){searchWord=sanitize(searchWord);if(autoEscape){searchWord=escapeRegExpFn(searchWord)}var regex=new RegExp(searchWord,caseSensitive?"g":"gi");var match2=void 0;while(match2=regex.exec(textToHighlight)){var start=match2.index;var end=regex.lastIndex;if(end>start){chunks.push({start:start,end:end})}if(match2.index==regex.lastIndex){regex.lastIndex++}}return chunks}),[])};exports2.findChunks=defaultFindChunks;var fillInChunks=exports2.fillInChunks=function fillInChunks2(_ref4){var chunksToHighlight=_ref4.chunksToHighlight,totalLength=_ref4.totalLength;var allChunks=[];var append2=function append22(start,end,highlight){if(end-start>0){allChunks.push({start:start,end:end,highlight:highlight})}};if(chunksToHighlight.length===0){append2(0,totalLength,false)}else{var lastIndex=0;chunksToHighlight.forEach((function(chunk){append2(lastIndex,chunk.start,false);append2(chunk.start,chunk.end,true);lastIndex=chunk.end}));append2(lastIndex,totalLength,false)}return allChunks};function identity(value){return value}function escapeRegExpFn(str){return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}}])},function(module2,exports,__webpack_require__){(function(process){if(process.env.NODE_ENV!=="production"){var REACT_ELEMENT_TYPE=typeof Symbol==="function"&&Symbol.for&&Symbol.for("react.element")||60103;var isValidElement2=function(object){return typeof object==="object"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE};var throwOnDirectAccess=true;module2.exports=__webpack_require__(6)(isValidElement2,throwOnDirectAccess)}else{module2.exports=__webpack_require__(13)()}}).call(exports,__webpack_require__(5))},function(module2,exports){var process=module2.exports={};var cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){cachedSetTimeout=setTimeout}else{cachedSetTimeout=defaultSetTimout}}catch(e2){cachedSetTimeout=defaultSetTimout}try{if(typeof clearTimeout==="function"){cachedClearTimeout=clearTimeout}else{cachedClearTimeout=defaultClearTimeout}}catch(e2){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout){return setTimeout(fun,0)}if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0)}try{return cachedSetTimeout(fun,0)}catch(e2){try{return cachedSetTimeout.call(null,fun,0)}catch(e22){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout){return clearTimeout(marker)}if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker)}try{return cachedClearTimeout(marker)}catch(e2){try{return cachedClearTimeout.call(null,marker)}catch(e22){return cachedClearTimeout.call(this,marker)}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue){return}draining=false;if(currentQueue.length){queue=currentQueue.concat(queue)}else{queueIndex=-1}if(queue.length){drainQueue()}}function drainQueue(){if(draining){return}var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len){if(currentQueue){currentQueue[queueIndex].run()}}queueIndex=-1;len=queue.length}currentQueue=null;draining=false;runClearTimeout(timeout)}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1){for(var i=1;i<arguments.length;i++){args[i-1]=arguments[i]}}queue.push(new Item(fun,args));if(queue.length===1&&!draining){runTimeout(drainQueue)}};function Item(fun,array){this.fun=fun;this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process.title="browser";process.browser=true;process.env={};process.argv=[];process.version="";process.versions={};function noop3(){}process.on=noop3;process.addListener=noop3;process.once=noop3;process.off=noop3;process.removeListener=noop3;process.removeAllListeners=noop3;process.emit=noop3;process.prependListener=noop3;process.prependOnceListener=noop3;process.listeners=function(name2){return[]};process.binding=function(name2){throw new Error("process.binding is not supported")};process.cwd=function(){return"/"};process.chdir=function(dir){throw new Error("process.chdir is not supported")};process.umask=function(){return 0}},function(module2,exports,__webpack_require__){(function(process){var emptyFunction2=__webpack_require__(7);var invariant=__webpack_require__(8);var warning2=__webpack_require__(9);var assign2=__webpack_require__(10);var ReactPropTypesSecret2=__webpack_require__(11);var checkPropTypes=__webpack_require__(12);module2.exports=function(isValidElement2,throwOnDirectAccess){var ITERATOR_SYMBOL=typeof Symbol==="function"&&Symbol.iterator;var FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){var iteratorFn=maybeIterable&&(ITERATOR_SYMBOL&&maybeIterable[ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL]);if(typeof iteratorFn==="function"){return iteratorFn}}var ANONYMOUS="<<anonymous>>";var ReactPropTypes={array:createPrimitiveTypeChecker("array"),bool:createPrimitiveTypeChecker("boolean"),func:createPrimitiveTypeChecker("function"),number:createPrimitiveTypeChecker("number"),object:createPrimitiveTypeChecker("object"),string:createPrimitiveTypeChecker("string"),symbol:createPrimitiveTypeChecker("symbol"),any:createAnyTypeChecker(),arrayOf:createArrayOfTypeChecker,element:createElementTypeChecker(),instanceOf:createInstanceTypeChecker,node:createNodeChecker(),objectOf:createObjectOfTypeChecker,oneOf:createEnumTypeChecker,oneOfType:createUnionTypeChecker,shape:createShapeTypeChecker,exact:createStrictShapeTypeChecker};function is(x2,y2){if(x2===y2){return x2!==0||1/x2===1/y2}else{return x2!==x2&&y2!==y2}}function PropTypeError(message){this.message=message;this.stack=""}PropTypeError.prototype=Error.prototype;function createChainableTypeChecker(validate){if(process.env.NODE_ENV!=="production"){var manualPropTypeCallCache={};var manualPropTypeWarningCount=0}function checkType(isRequired,props,propName,componentName,location,propFullName,secret){componentName=componentName||ANONYMOUS;propFullName=propFullName||propName;if(secret!==ReactPropTypesSecret2){if(throwOnDirectAccess){invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types")}else if(process.env.NODE_ENV!=="production"&&typeof console!=="undefined"){var cacheKey=componentName+":"+propName;if(!manualPropTypeCallCache[cacheKey]&&manualPropTypeWarningCount<3){warning2(false,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",propFullName,componentName);manualPropTypeCallCache[cacheKey]=true;manualPropTypeWarningCount++}}}if(props[propName]==null){if(isRequired){if(props[propName]===null){return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required "+("in `"+componentName+"`, but its value is `null`."))}return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required in "+("`"+componentName+"`, but its value is `undefined`."))}return null}else{return validate(props,propName,componentName,location,propFullName)}}var chainedCheckType=checkType.bind(null,false);chainedCheckType.isRequired=checkType.bind(null,true);return chainedCheckType}function createPrimitiveTypeChecker(expectedType){function validate(props,propName,componentName,location,propFullName,secret){var propValue=props[propName];var propType=getPropType(propValue);if(propType!==expectedType){var preciseType=getPreciseType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+preciseType+"` supplied to `"+componentName+"`, expected ")+("`"+expectedType+"`."))}return null}return createChainableTypeChecker(validate)}function createAnyTypeChecker(){return createChainableTypeChecker(emptyFunction2.thatReturnsNull)}function createArrayOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if(typeof typeChecker!=="function"){return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside arrayOf.")}var propValue=props[propName];if(!Array.isArray(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected an array."))}for(var i=0;i<propValue.length;i++){var error=typeChecker(propValue,i,componentName,location,propFullName+"["+i+"]",ReactPropTypesSecret2);if(error instanceof Error){return error}}return null}return createChainableTypeChecker(validate)}function createElementTypeChecker(){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];if(!isValidElement2(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected a single ReactElement."))}return null}return createChainableTypeChecker(validate)}function createInstanceTypeChecker(expectedClass){function validate(props,propName,componentName,location,propFullName){if(!(props[propName]instanceof expectedClass)){var expectedClassName=expectedClass.name||ANONYMOUS;var actualClassName=getClassName(props[propName]);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+actualClassName+"` supplied to `"+componentName+"`, expected ")+("instance of `"+expectedClassName+"`."))}return null}return createChainableTypeChecker(validate)}function createEnumTypeChecker(expectedValues){if(!Array.isArray(expectedValues)){process.env.NODE_ENV!=="production"?warning2(false,"Invalid argument supplied to oneOf, expected an instance of array."):void 0;return emptyFunction2.thatReturnsNull}function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];for(var i=0;i<expectedValues.length;i++){if(is(propValue,expectedValues[i])){return null}}var valuesString=JSON.stringify(expectedValues);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of value `"+propValue+"` "+("supplied to `"+componentName+"`, expected one of "+valuesString+"."))}return createChainableTypeChecker(validate)}function createObjectOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if(typeof typeChecker!=="function"){return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside objectOf.")}var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected an object."))}for(var key in propValue){if(propValue.hasOwnProperty(key)){var error=typeChecker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret2);if(error instanceof Error){return error}}}return null}return createChainableTypeChecker(validate)}function createUnionTypeChecker(arrayOfTypeCheckers){if(!Array.isArray(arrayOfTypeCheckers)){process.env.NODE_ENV!=="production"?warning2(false,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0;return emptyFunction2.thatReturnsNull}for(var i=0;i<arrayOfTypeCheckers.length;i++){var checker=arrayOfTypeCheckers[i];if(typeof checker!=="function"){warning2(false,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",getPostfixForTypeWarning(checker),i);return emptyFunction2.thatReturnsNull}}function validate(props,propName,componentName,location,propFullName){for(var i2=0;i2<arrayOfTypeCheckers.length;i2++){var checker2=arrayOfTypeCheckers[i2];if(checker2(props,propName,componentName,location,propFullName,ReactPropTypesSecret2)==null){return null}}return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`."))}return createChainableTypeChecker(validate)}function createNodeChecker(){function validate(props,propName,componentName,location,propFullName){if(!isNode2(props[propName])){return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`, expected a ReactNode."))}return null}return createChainableTypeChecker(validate)}function createShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."))}for(var key in shapeTypes){var checker=shapeTypes[key];if(!checker){continue}var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret2);if(error){return error}}return null}return createChainableTypeChecker(validate)}function createStrictShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."))}var allKeys=assign2({},props[propName],shapeTypes);for(var key in allKeys){var checker=shapeTypes[key];if(!checker){return new PropTypeError("Invalid "+location+" `"+propFullName+"` key `"+key+"` supplied to `"+componentName+"`.\nBad object: "+JSON.stringify(props[propName],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(shapeTypes),null," "))}var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret2);if(error){return error}}return null}return createChainableTypeChecker(validate)}function isNode2(propValue){switch(typeof propValue){case"number":case"string":case"undefined":return true;case"boolean":return!propValue;case"object":if(Array.isArray(propValue)){return propValue.every(isNode2)}if(propValue===null||isValidElement2(propValue)){return true}var iteratorFn=getIteratorFn(propValue);if(iteratorFn){var iterator=iteratorFn.call(propValue);var step;if(iteratorFn!==propValue.entries){while(!(step=iterator.next()).done){if(!isNode2(step.value)){return false}}}else{while(!(step=iterator.next()).done){var entry=step.value;if(entry){if(!isNode2(entry[1])){return false}}}}}else{return false}return true;default:return false}}function isSymbol(propType,propValue){if(propType==="symbol"){return true}if(propValue["@@toStringTag"]==="Symbol"){return true}if(typeof Symbol==="function"&&propValue instanceof Symbol){return true}return false}function getPropType(propValue){var propType=typeof propValue;if(Array.isArray(propValue)){return"array"}if(propValue instanceof RegExp){return"object"}if(isSymbol(propType,propValue)){return"symbol"}return propType}function getPreciseType(propValue){if(typeof propValue==="undefined"||propValue===null){return""+propValue}var propType=getPropType(propValue);if(propType==="object"){if(propValue instanceof Date){return"date"}else if(propValue instanceof RegExp){return"regexp"}}return propType}function getPostfixForTypeWarning(value){var type=getPreciseType(value);switch(type){case"array":case"object":return"an "+type;case"boolean":case"date":case"regexp":return"a "+type;default:return type}}function getClassName(propValue){if(!propValue.constructor||!propValue.constructor.name){return ANONYMOUS}return propValue.constructor.name}ReactPropTypes.checkPropTypes=checkPropTypes;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}}).call(exports,__webpack_require__(5))},function(module2,exports){function makeEmptyFunction(arg){return function(){return arg}}var emptyFunction2=function emptyFunction22(){};emptyFunction2.thatReturns=makeEmptyFunction;emptyFunction2.thatReturnsFalse=makeEmptyFunction(false);emptyFunction2.thatReturnsTrue=makeEmptyFunction(true);emptyFunction2.thatReturnsNull=makeEmptyFunction(null);emptyFunction2.thatReturnsThis=function(){return this};emptyFunction2.thatReturnsArgument=function(arg){return arg};module2.exports=emptyFunction2},function(module2,exports,__webpack_require__){(function(process){var validateFormat=function validateFormat2(format){};if(process.env.NODE_ENV!=="production"){validateFormat=function validateFormat2(format){if(format===void 0){throw new Error("invariant requires an error message argument")}}}function invariant(condition,format,a2,b2,c2,d2,e2,f2){validateFormat(format);if(!condition){var error;if(format===void 0){error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.")}else{var args=[a2,b2,c2,d2,e2,f2];var argIndex=0;error=new Error(format.replace(/%s/g,(function(){return args[argIndex++]})));error.name="Invariant Violation"}error.framesToPop=1;throw error}}module2.exports=invariant}).call(exports,__webpack_require__(5))},function(module2,exports,__webpack_require__){(function(process){var emptyFunction2=__webpack_require__(7);var warning2=emptyFunction2;if(process.env.NODE_ENV!=="production"){var printWarning=function printWarning2(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key]}var argIndex=0;var message="Warning: "+format.replace(/%s/g,(function(){return args[argIndex++]}));if(typeof console!=="undefined"){console.error(message)}try{throw new Error(message)}catch(x2){}};warning2=function warning22(condition,format){if(format===void 0){throw new Error("`warning(condition, format, ...args)` requires a warning message argument")}if(format.indexOf("Failed Composite propType: ")===0){return}if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++){args[_key2-2]=arguments[_key2]}printWarning.apply(void 0,[format].concat(args))}}}module2.exports=warning2}).call(exports,__webpack_require__(5))},function(module2,exports){var getOwnPropertySymbols=Object.getOwnPropertySymbols;var hasOwnProperty2=Object.prototype.hasOwnProperty;var propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(val===null||val===void 0){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(val)}function shouldUseNative(){try{if(!Object.assign){return false}var test1=new String("abc");test1[5]="de";if(Object.getOwnPropertyNames(test1)[0]==="5"){return false}var test2={};for(var i=0;i<10;i++){test2["_"+String.fromCharCode(i)]=i}var order2=Object.getOwnPropertyNames(test2).map((function(n2){return test2[n2]}));if(order2.join("")!=="0123456789"){return false}var test3={};"abcdefghijklmnopqrst".split("").forEach((function(letter){test3[letter]=letter}));if(Object.keys(Object.assign({},test3)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(err){return false}}module2.exports=shouldUseNative()?Object.assign:function(target,source){var from2;var to=toObject(target);var symbols;for(var s2=1;s2<arguments.length;s2++){from2=Object(arguments[s2]);for(var key in from2){if(hasOwnProperty2.call(from2,key)){to[key]=from2[key]}}if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from2);for(var i=0;i<symbols.length;i++){if(propIsEnumerable.call(from2,symbols[i])){to[symbols[i]]=from2[symbols[i]]}}}}return to}},function(module2,exports){var ReactPropTypesSecret2="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module2.exports=ReactPropTypesSecret2},function(module2,exports,__webpack_require__){(function(process){if(process.env.NODE_ENV!=="production"){var invariant=__webpack_require__(8);var warning2=__webpack_require__(9);var ReactPropTypesSecret2=__webpack_require__(11);var loggedTypeFailures={}}function checkPropTypes(typeSpecs,values,location,componentName,getStack){if(process.env.NODE_ENV!=="production"){for(var typeSpecName in typeSpecs){if(typeSpecs.hasOwnProperty(typeSpecName)){var error;try{invariant(typeof typeSpecs[typeSpecName]==="function","%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",componentName||"React class",location,typeSpecName,typeof typeSpecs[typeSpecName]);error=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,ReactPropTypesSecret2)}catch(ex){error=ex}warning2(!error||error instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",componentName||"React class",location,typeSpecName,typeof error);if(error instanceof Error&&!(error.message in loggedTypeFailures)){loggedTypeFailures[error.message]=true;var stack=getStack?getStack():"";warning2(false,"Failed %s type: %s%s",location,error.message,stack!=null?stack:"")}}}}}module2.exports=checkPropTypes}).call(exports,__webpack_require__(5))},function(module2,exports,__webpack_require__){var emptyFunction2=__webpack_require__(7);var invariant=__webpack_require__(8);var ReactPropTypesSecret2=__webpack_require__(11);module2.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret2){return}invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction2;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module2,exports){module2.exports=React__default},function(module2,exports){var simpleIsEqual=function simpleIsEqual2(a2,b2){return a2===b2};function index2(resultFn){var isEqual3=arguments.length>1&&arguments[1]!==void 0?arguments[1]:simpleIsEqual;var lastThis=void 0;var lastArgs=[];var lastResult=void 0;var calledOnce=false;var isNewArgEqualToLast=function isNewArgEqualToLast2(newArg,index22){return isEqual3(newArg,lastArgs[index22])};var result=function result2(){for(var _len=arguments.length,newArgs=Array(_len),_key=0;_key<_len;_key++){newArgs[_key]=arguments[_key]}if(calledOnce&&lastThis===this&&newArgs.length===lastArgs.length&&newArgs.every(isNewArgEqualToLast)){return lastResult}calledOnce=true;lastThis=this;lastArgs=newArgs;lastResult=resultFn.apply(this,newArgs);return lastResult};return result}module2.exports=index2}])})(main);var mainExports=main.exports;const Highlighter=getDefaultExportFromCjs(mainExports);const Highlight=props=>{const{children:children,className:className="pb_highlight_kit",data:data={},highlightedText:highlightedText=["highlight"],htmlOptions:htmlOptions={},id:id="",text:text=""}=props;const htmlProps=buildHtmlProps(htmlOptions);const highlightContent=text||children;return jsx$1(Highlighter,Object.assign({autoEscape:true,data:data,highlightClassName:classnames(globalProps(props),className),highlightTag:"mark",id:id,searchWords:highlightedText,textToHighlight:highlightContent},htmlProps),void 0)};const Body$1=props=>{if(props.variant);const{aria:aria={},children:children,className:className,color:color="",data:data={},highlightedText:highlightedText=[],highlighting:highlighting=false,htmlOptions:htmlOptions={},id:id="",status:status=null,tag:tag="div",text:text="",variant:variant=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_body_kit",color,variant,status),globalProps(props),className);const Tag=`${tag}`;return jsxs(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,id:id},{children:[highlighting&&jsx$1(Highlight,Object.assign({highlightedText:highlightedText,text:text},{children:children}),void 0),!highlighting&&(text||children)]}),void 0)};const Caption=props=>{if(props.variant);const{aria:aria={},children:children,className:className,color:color,data:data={},htmlOptions:htmlOptions={},id:id,size:size="md",tag:tag="div",text:text,variant:variant=null}=props;const tagOptions=["h1","h2","h3","h4","h5","h6","p","span","div","caption"];const Tag=tagOptions.includes(tag)?tag:"div";const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(buildCss("pb_caption_kit",size,variant,color),globalProps(props),className);return jsx$1(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:css4,id:id},{children:text||children}),void 0)};const getPlacementProps=(placement,size)=>{let placementMapping={};switch(size){case"xxs":case"xs":placementMapping={"top-right":{top:"xs",right:"xs"},"bottom-left":{bottom:"xs",left:"xs"},"top-left":{top:"xs",left:"xs"},"bottom-right":{bottom:"xs",right:"xs"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"sm":placementMapping={"top-right":{top:"0",right:"xs"},"bottom-left":{bottom:"0",left:"xs"},"top-left":{top:"0",left:"xs"},"bottom-right":{bottom:"0",right:"xs"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"md":case"lg":placementMapping={"top-right":{top:"0",right:"0"},"bottom-left":{bottom:"0",left:"0"},"top-left":{top:"0",left:"0"},"bottom-right":{bottom:"0",right:"0"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"xl":placementMapping={"top-right":{top:{value:"xxs",inset:true},right:{value:"xxs",inset:true}},"bottom-left":{bottom:{value:"xxs",inset:true},left:{value:"xxs",inset:true}},"top-left":{top:{value:"xxs",inset:true},left:{value:"xxs",inset:true}},"bottom-right":{bottom:{value:"xxs",inset:true},right:{value:"xxs",inset:true}},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break}return placementMapping[placement]||{}};const Image=props=>{const{alt:alt="",aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},id:id,onError:onError=null,rounded:rounded=false,size:size="",transition:transition="fade",url:url=""}=props;const ariaProps=buildAriaProps(aria);const classes=classnames(buildCss("pb_image_kit",size?`size_${size}`:null),"lazyload",transition,{rounded:rounded},globalProps(props),className);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);return jsx$1("img",{...ariaProps,...dataProps,...htmlProps,alt:alt,className:classes,"data-src":url,id:id,onError:onError,src:url})};const OnlineStatus=props=>{const{aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},id:id,status:status="offline",size:size="sm",noBorder:noBorder=false}=props;aria.label=status;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const getBorder=noBorder?"no_border":"";const classes=classnames(buildCss("pb_online_status_kit",status,getBorder,"size",size),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id})};const spinner=jsx$1("svg",{fill:"none",height:"25",viewBox:"0 0 31 25",width:"31",xmlns:"http://www.w3.org/2000/svg",children:jsx$1("path",{d:"M17.4043 1.85547C17.4043 2.69922 16.7012 3.35547 15.9043 3.35547C15.0605 3.35547 14.4043 2.69922 14.4043 1.85547C14.4043 1.05859 15.0605 0.355469 15.9043 0.355469C16.7012 0.355469 17.4043 1.05859 17.4043 1.85547ZM17.4043 22.8555C17.4043 23.6992 16.7012 24.3555 15.9043 24.3555C15.0605 24.3555 14.4043 23.6992 14.4043 22.8555C14.4043 22.0586 15.0605 21.3555 15.9043 21.3555C16.7012 21.3555 17.4043 22.0586 17.4043 22.8555ZM24.9043 12.3555C24.9043 11.5586 25.5605 10.8555 26.4043 10.8555C27.2012 10.8555 27.9043 11.5586 27.9043 12.3555C27.9043 13.1992 27.2012 13.8555 26.4043 13.8555C25.5605 13.8555 24.9043 13.1992 24.9043 12.3555ZM5.4043 13.8555C4.56055 13.8555 3.9043 13.1992 3.9043 12.3555C3.9043 11.5586 4.56055 10.8555 5.4043 10.8555C6.20117 10.8555 6.9043 11.5586 6.9043 12.3555C6.9043 13.1992 6.20117 13.8555 5.4043 13.8555ZM7.41992 20.8398C6.81055 20.2773 6.81055 19.3398 7.41992 18.7305C7.98242 18.168 8.91992 18.168 9.5293 18.7305C10.0918 19.3398 10.0918 20.2773 9.5293 20.8398C8.91992 21.4492 7.98242 21.4492 7.41992 20.8398ZM22.2324 20.8398C21.8574 20.5117 21.6699 19.9023 21.8105 19.3867C21.9512 18.8711 22.373 18.4492 22.8887 18.3086C23.4043 18.168 24.0137 18.3555 24.3887 18.7305C24.7637 19.1055 24.9512 19.668 24.8105 20.2305C24.6699 20.7461 24.248 21.168 23.7324 21.3086C23.1699 21.4492 22.6074 21.2617 22.2324 20.8398ZM7.41992 3.87109C7.98242 3.30859 8.91992 3.30859 9.5293 3.87109C10.0918 4.48047 10.0918 5.41797 9.5293 6.02734C8.91992 6.58984 7.98242 6.58984 7.41992 6.02734C6.81055 5.41797 6.81055 4.48047 7.41992 3.87109Z",fill:"#242B42"})});const clock=jsx$1("svg",{fill:"none",height:"25",viewBox:"0 0 31 25",width:"31",xmlns:"http://www.w3.org/2000/svg",children:jsx$1("path",{d:"M25.1221 12C25.1221 8.53125 23.2471 5.34375 20.2471 3.5625C17.2002 1.82812 13.4971 1.82812 10.4971 3.5625C7.4502 5.34375 5.62207 8.53125 5.62207 12C5.62207 15.5156 7.4502 18.7031 10.4971 20.4844C13.4971 22.2188 17.2002 22.2188 20.2471 20.4844C23.2471 18.7031 25.1221 15.5156 25.1221 12ZM3.37207 12C3.37207 7.73438 5.62207 3.79688 9.37207 1.64062C13.0752 -0.515625 17.6221 -0.515625 21.3721 1.64062C25.0752 3.79688 27.3721 7.73438 27.3721 12C27.3721 16.3125 25.0752 20.25 21.3721 22.4062C17.6221 24.5625 13.0752 24.5625 9.37207 22.4062C5.62207 20.25 3.37207 16.3125 3.37207 12ZM14.2471 5.625C14.2471 5.01562 14.7158 4.5 15.3721 4.5C15.9814 4.5 16.4971 5.01562 16.4971 5.625V11.4375L20.4814 14.0625C20.9971 14.4375 21.1377 15.1406 20.8096 15.6562C20.4346 16.1719 19.7314 16.3125 19.2158 15.9375L14.7158 12.9375C14.4346 12.75 14.2471 12.375 14.2471 12V5.625Z",fill:"#242B42"})});const times=jsx$1("svg",{fill:"none",height:"25",viewBox:"0 0 31 25",width:"31",xmlns:"http://www.w3.org/2000/svg",children:jsx$1("path",{d:"M23.0762 6.77734L17.4512 12.4023L23.0293 17.9805C23.498 18.4023 23.498 19.1055 23.0293 19.5273C22.6074 19.9961 21.9043 19.9961 21.4824 19.5273L15.8574 13.9492L10.2793 19.5273C9.85742 19.9961 9.1543 19.9961 8.73242 19.5273C8.26367 19.1055 8.26367 18.4023 8.73242 17.9336L14.3105 12.3555L8.73242 6.77734C8.26367 6.35547 8.26367 5.65234 8.73242 5.18359C9.1543 4.76172 9.85742 4.76172 10.3262 5.18359L15.9043 10.8086L21.4824 5.23047C21.9043 4.76172 22.6074 4.76172 23.0762 5.23047C23.498 5.65234 23.498 6.35547 23.0762 6.77734Z",fill:"#242B42"})});const getAllIcons=()=>({clock:{icon:clock},spinner:{icon:spinner},times:{icon:times}});const Badge=props=>{const{aria:aria={},className:className,closeProps:closeProps={},data:data={},htmlOptions:htmlOptions={},id:id,removeIcon:removeIcon=false,removeOnClick:removeOnClick,rounded:rounded=false,text:text,variant:variant="neutral"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(buildCss("pb_badge_kit",variant==="success"?"success_sm":variant==="notificationError"?"notification_error":variant,rounded?"rounded":""),globalProps(props),className);const timesIcon=getAllIcons()["times"];return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:css4,id:id,children:jsxs("span",{children:[text,removeIcon&&jsx$1("span",{onClick:removeOnClick,style:{cursor:"pointer"},...closeProps,children:jsx$1(Icon,{className:"svg-inline--fa",customIcon:timesIcon.icon,fixedWidth:true})})]})})};const IconCircle=props=>{const{aria:aria={},className:className,dark:dark=false,data:data={},htmlOptions:htmlOptions={},icon:icon,id:id,size:size="md",variant:variant="default"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_icon_circle_kit",`size_${size}`,variant),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:jsx$1(Icon,{dark:dark,icon:icon})})};const DraggableContainer=props=>{const{aria:aria={},children:children,className:className,container:container,data:data={},htmlOptions:htmlOptions={},id:id}=props;const{handleDragOver:handleDragOver,handleDrop:handleDrop,activeContainer:activeContainer}=DraggableContext();const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_draggable_container"),`${activeContainer===container?"active":""}`,globalProps(props),className);return createElement("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,id:id,key:container,onDragOver:e2=>handleDragOver(e2,container),onDrop:()=>handleDrop(container)}),children)};const DraggableItem=props=>{const{aria:aria={},children:children,className:className,container:container,data:data={},htmlOptions:htmlOptions={},id:id,dragId:dragId}=props;const{isDragging:isDragging,handleDragStart:handleDragStart,handleDragEnter:handleDragEnter,handleDragEnd:handleDragEnd}=DraggableContext();const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_draggable_item"),`${isDragging===dragId?"is_dragging":""}`,globalProps(props),className);return createElement("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,draggable:true,id:id,key:dragId,onDragEnd:()=>handleDragEnd(),onDragEnter:()=>handleDragEnter(dragId,container),onDragStart:()=>handleDragStart(dragId,container)}),children)};const Draggable=props=>{const{aria:aria={},className:className,children:children,data:data={},htmlOptions:htmlOptions={},id:id}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_draggable"),globalProps(props),className);return jsx$1("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,id:id},{children:children}),void 0)};Draggable.Container=DraggableContainer;Draggable.Item=DraggableItem;const Header=props=>{const{children:children,className:className,headerColor:headerColor="category_1",headerColorStriped:headerColorStriped=false}=props;const headerCSS=buildCss("pb_card_header_kit",`${headerColor}`,headerColorStriped?"striped":"");const headerSpacing=globalProps(props);return jsx$1("div",Object.assign({className:classnames(headerCSS,headerSpacing,className)},{children:children}),void 0)};const Body=props=>{const{children:children,className:className}=props;const bodyCSS=buildCss("pb_card_body_kit");const bodySpacing=globalProps(props);return jsx$1("div",Object.assign({className:classnames(bodyCSS,bodySpacing,className)},{children:children}),void 0)};const Card=props=>{const{aria:aria={},background:background="none",borderNone:borderNone=false,borderRadius:borderRadius2="md",children:children,className:className,data:data={},dragId:dragId,dragHandle:dragHandle=true,draggableItem:draggableItem=false,highlight:highlight={},htmlOptions:htmlOptions={},selected:selected=false,tag:tag="div"}=props;const borderCSS=borderNone==true?"border_none":"";const selectedCSS=selected==true?"selected":"deselected";const backgroundCSS=background=="none"?"":`background_${background}`;const cardCss=buildCss("pb_card_kit",selectedCSS,borderCSS,`border_radius_${borderRadius2}`,backgroundCSS,{[`highlight_${highlight.position}`]:highlight.position,[`highlight_${highlight.color}`]:highlight.color});const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const cardChildren=React__default.Children.toArray(children);const subComponentTags=tagName=>cardChildren.filter((c2=>get(c2,"type.displayName")===tagName)).map(((child,i)=>{if(React__default.isValidElement(child)){return React__default.cloneElement(child,{key:`${tagName.toLowerCase()}-${i}`})}}));const nonHeaderChildren=cardChildren.filter((child=>get(child,"type.displayName")!=="Header"));const tagOptions=["div","section","footer","header","article","aside","main","nav"];const Tag=tagOptions.includes(tag)?tag:"div";return jsx$1(Fragment,{children:draggableItem?jsx$1(Draggable.Item,Object.assign({dragId:dragId},{children:jsxs(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:classnames(cardCss,globalProps(props),className)},{children:[subComponentTags("Header"),dragHandle?jsxs(Flex,{children:[jsx$1("span",Object.assign({className:"card_draggable_handle"},{children:jsx$1(Icon,{icon:"grip-dots-vertical",paddingRight:"xs",verticalAlign:"middle"},void 0)}),void 0),jsx$1("div",Object.assign({style:{width:"100%"}},{children:nonHeaderChildren}),void 0)]},void 0):nonHeaderChildren]}),void 0)}),dragId):jsxs(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:classnames(cardCss,globalProps(props),className)},{children:[subComponentTags("Header"),nonHeaderChildren]}),void 0)},void 0)};Card.Header=Header;Card.Body=Body;const firstTwoInitials=name2=>name2.split(/\s/).map((name22=>name22[0])).join("").substring(0,2);const Avatar=props=>{const{aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},name:name2=void 0,componentOverlay:componentOverlay,id:id="",imageAlt:imageAlt="",imageUrl:imageUrl,size:size="md",status:status=null,dark:dark=false}=props;const dataProps=buildDataProps(data);const ariaProps=buildAriaProps(aria);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_avatar_kit",`size_${size}`),globalProps(props),className);const initials=name2&&firstTwoInitials(name2);dataProps["data-initials"]=initials;const[error,setError]=useState(false);const handleError=()=>setError(true);const canShowImage=imageUrl&&!error;const onlineStatusSize=["xxs","xs"].includes(size)?"sm":["sm","md"].includes(size)?"md":["lg","xl"].includes(size)?"lg":"sm";const onlineStatusPositionProps=["xxs","xs","sm"].includes(size)?{top:{inset:true,value:"0"},right:{inset:false,value:"xxs"}}:{bottom:{inset:true,value:"0"},right:{inset:true,value:size==="xl"?"sm":size==="lg"?"xs":"xxs"}};return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:componentOverlay?jsxs(Flex,{display:"display_inline_block",position:"relative",children:[jsx$1("div",{className:"avatar_wrapper","data-initials":initials,children:canShowImage&&jsx$1(Image,{alt:imageAlt?imageAlt:name2,onError:handleError,url:imageUrl})}),componentOverlay.component==="badge"&&jsx$1(Card,{borderNone:true,borderRadius:"rounded",padding:"none",position:"absolute",...getPlacementProps(componentOverlay.placement,size),children:jsx$1(Badge,{rounded:true,text:componentOverlay.text,variant:componentOverlay.variant})}),componentOverlay.component==="iconCircle"&&jsx$1(Card,{borderNone:true,borderRadius:"rounded",htmlOptions:{style:{padding:"2px"}},position:"absolute",...getPlacementProps(componentOverlay.placement,size),children:jsx$1(IconCircle,{icon:componentOverlay.icon,size:"xxs",variant:componentOverlay.variant})})]}):jsxs(Fragment,{children:[jsx$1("div",{className:"avatar_wrapper","data-initials":initials,children:canShowImage&&jsx$1(Image,{alt:imageAlt?imageAlt:name2,onError:handleError,url:imageUrl})}),status&&jsx$1(OnlineStatus,{dark:dark,position:"absolute",size:onlineStatusSize,status:status,...onlineStatusPositionProps})]})})};const breakpoints={xs:"(max-width: 575px)",sm:"(min-width: 576px) and (max-width: 767px)",md:"(min-width: 768px) and (max-width: 991px)",lg:"(min-width: 992px) and (max-width: 1199px)",xl:"(min-width: 1200px)"};const getResponsiveValue=prop=>{if(typeof prop==="string"){return prop}for(const[bp,value]of Object.entries(prop||{})){if(bp!=="default"&&window.matchMedia(breakpoints[bp]).matches){return value}}return(prop==null?void 0:prop.default)||void 0};const Background=props=>{const{alt:alt=void 0,aria:aria={},backgroundColor:backgroundColor="light",backgroundPosition:backgroundPosition="",backgroundRepeat:backgroundRepeat="initial",backgroundSize:backgroundSize="cover",children:children,className:className,customColor:customColor,data:data={},htmlOptions:htmlOptions={},id:id,imageUrl:imageUrl="",tag:tag="div",transition:transition=""}=props;const[responsiveProps,setResponsiveProps]=useState({backgroundSize:getResponsiveValue(backgroundSize),backgroundPosition:getResponsiveValue(backgroundPosition),backgroundRepeat:getResponsiveValue(backgroundRepeat),backgroundColor:getResponsiveValue(backgroundColor),imageUrl:getResponsiveValue(imageUrl)});useEffect((()=>{const updateResponsiveProps=()=>{setResponsiveProps({backgroundSize:getResponsiveValue(props.backgroundSize),backgroundPosition:getResponsiveValue(props.backgroundPosition),backgroundRepeat:getResponsiveValue(props.backgroundRepeat),backgroundColor:getResponsiveValue(props.backgroundColor),imageUrl:getResponsiveValue(props.imageUrl)})};window.addEventListener("resize",updateResponsiveProps);return()=>window.removeEventListener("resize",updateResponsiveProps)}),[props]);const{backgroundColor:resBackgroundColor,backgroundPosition:resBackgroundPosition,backgroundRepeat:resBackgroundRepeat,backgroundSize:resBackgroundSize,imageUrl:resImageUrl}=responsiveProps;const classes=classnames(buildCss("pb_background_kit"),"lazyload",globalProps(props),transition,{[`pb_background_color_${resBackgroundColor}`]:resBackgroundColor&&!customColor,[`pb_background_custom_color`]:!!customColor},className);const backgroundStyle={backgroundColor:customColor||void 0,...resImageUrl!==""?{backgroundImage:resImageUrl?`url(${resImageUrl})`:void 0,backgroundRepeat:resBackgroundRepeat||void 0,backgroundPosition:resBackgroundPosition||void 0,backgroundSize:resBackgroundSize||void 0}:{}};const Tag=`${tag}`;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);return jsx$1(Tag,{...ariaProps,...dataProps,...htmlProps,alt:alt,className:classes,id:id,style:backgroundStyle,children:children})};var highchartsReact_min={exports:{}};(function(module,exports){!function(t2,e2){module.exports=e2(React__default)}("undefined"!=typeof self?self:commonjsGlobal,(function(t2){return function(t3){function e2(n2){if(r2[n2])return r2[n2].exports;var o2=r2[n2]={i:n2,l:false,exports:{}};return t3[n2].call(o2.exports,o2,o2.exports,e2),o2.l=true,o2.exports}var r2={};return e2.m=t3,e2.c=r2,e2.d=function(t4,r3,n2){e2.o(t4,r3)||Object.defineProperty(t4,r3,{configurable:false,enumerable:true,get:n2})},e2.n=function(t4){var r3=t4&&t4.__esModule?function(){return t4.default}:function(){return t4};return e2.d(r3,"a",r3),r3},e2.o=function(t4,e3){return Object.prototype.hasOwnProperty.call(t4,e3)},e2.p="",e2(e2.s=0)}([function(t3,e2,r2){function n2(){return n2=Object.assign?Object.assign.bind():function(t4){for(var e3=1;e3<arguments.length;e3++){var r3=arguments[e3];for(var n3 in r3)Object.prototype.hasOwnProperty.call(r3,n3)&&(t4[n3]=r3[n3])}return t4},n2.apply(this,arguments)}function o2(t4){return a2(t4)||i(t4)||u2(t4)||c2()}function c2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u2(t4,e3){if(t4){if("string"==typeof t4)return f2(t4,e3);var r3=Object.prototype.toString.call(t4).slice(8,-1);return"Object"===r3&&t4.constructor&&(r3=t4.constructor.name),"Map"===r3||"Set"===r3?Array.from(t4):"Arguments"===r3||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r3)?f2(t4,e3):void 0}}function i(t4){if("undefined"!=typeof Symbol&&null!=t4[Symbol.iterator]||null!=t4["@@iterator"])return Array.from(t4)}function a2(t4){if(Array.isArray(t4))return f2(t4)}function f2(t4,e3){(null==e3||e3>t4.length)&&(e3=t4.length);for(var r3=0,n3=new Array(e3);r3<e3;r3++)n3[r3]=t4[r3];return n3}function s2(t4){"@babel/helpers - typeof";return(s2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t5){return typeof t5}:function(t5){return t5&&"function"==typeof Symbol&&t5.constructor===Symbol&&t5!==Symbol.prototype?"symbol":typeof t5})(t4)}Object.defineProperty(e2,"__esModule",{value:true}),r2.d(e2,"HighchartsReact",(function(){return d2}));var p2=r2(1),l2=r2.n(p2),y2="undefined"!=typeof window?p2.useLayoutEffect:p2.useEffect,d2=Object(p2.memo)(Object(p2.forwardRef)((function(t4,e3){var r3=Object(p2.useRef)(),c3=Object(p2.useRef)(),u3=Object(p2.useRef)(t4.constructorType),i2=Object(p2.useRef)(t4.highcharts);return y2((function(){function e4(){var e5=t4.highcharts||"object"===("undefined"==typeof window?"undefined":s2(window))&&window.Highcharts,n4=t4.constructorType||"chart";e5?e5[n4]?t4.options?c3.current=e5[n4](r3.current,t4.options,t4.callback):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(c3.current){if(false!==t4.allowChartUpdate)if(t4.constructorType!==u3.current||t4.highcharts!==i2.current)u3.current=t4.constructorType,i2.current=t4.highcharts,e4();else if(!t4.immutable&&c3.current){var n3;(n3=c3.current).update.apply(n3,[t4.options].concat(o2(t4.updateArgs||[true,true])))}else e4()}else e4()}),[t4.options,t4.allowChartUpdate,t4.updateArgs,t4.containerProps,t4.highcharts,t4.constructorType]),y2((function(){return function(){c3.current&&(c3.current.destroy(),c3.current=null)}}),[]),Object(p2.useImperativeHandle)(e3,(function(){return{get chart(){return c3.current},container:r3}}),[]),l2.a.createElement("div",n2({},t4.containerProps,{ref:r3}))})));e2.default=d2},function(e2,r2){e2.exports=t2}])}))})(highchartsReact_min);var highchartsReact_minExports=highchartsReact_min.exports;const HighchartsReact=getDefaultExportFromCjs(highchartsReact_minExports);var highcharts={exports:{}};(function(module){(function(aa,K){module.exports?(K["default"]=K,module.exports=aa.document?K(aa):K):(aa.Highcharts&&aa.Highcharts.error(16,true),aa.Highcharts=K(aa))})("undefined"!==typeof window?window:commonjsGlobal,(function(aa){function K(a2,A2,g3,F2){a2.hasOwnProperty(A2)||(a2[A2]=F2.apply(null,g3),"function"===typeof CustomEvent&&aa.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:A2,module:a2[A2]}})))}var g2={};K(g2,"Core/Globals.js",[],(function(){var a2;(function(a3){a3.SVG_NS="http://www.w3.org/2000/svg";a3.product="Highcharts";a3.version="10.3.3";a3.win="undefined"!==typeof aa?aa:{};a3.doc=a3.win.document;a3.svg=a3.doc&&a3.doc.createElementNS&&!!a3.doc.createElementNS(a3.SVG_NS,"svg").createSVGRect;a3.userAgent=a3.win.navigator&&a3.win.navigator.userAgent||"";a3.isChrome=-1!==a3.userAgent.indexOf("Chrome");a3.isFirefox=-1!==a3.userAgent.indexOf("Firefox");a3.isMS=/(edge|msie|trident)/i.test(a3.userAgent)&&!a3.win.opera;a3.isSafari=!a3.isChrome&&-1!==a3.userAgent.indexOf("Safari");a3.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(a3.userAgent);a3.isWebKit=-1!==a3.userAgent.indexOf("AppleWebKit");a3.deg2rad=2*Math.PI/360;a3.hasBidiBug=a3.isFirefox&&4>parseInt(a3.userAgent.split("Firefox/")[1],10);a3.hasTouch=!!a3.win.TouchEvent;a3.marginNames=["plotTop","marginRight","marginBottom","plotLeft"];a3.noop=function(){};a3.supportsPassiveEvents=function(){var g3=false;if(!a3.isMS){var A2=Object.defineProperty({},"passive",{get:function(){g3=true}});a3.win.addEventListener&&a3.win.removeEventListener&&(a3.win.addEventListener("testPassive",a3.noop,A2),a3.win.removeEventListener("testPassive",a3.noop,A2))}return g3}();a3.charts=[];a3.dateFormats={};a3.seriesTypes={};a3.symbolSizes={};a3.chartCount=0})(a2||(a2={}));return a2}));K(g2,"Core/Utilities.js",[g2["Core/Globals.js"]],(function(a2){function g3(b3,c3,n3,J){var z2=c3?"Highcharts error":"Highcharts warning";32===b3&&(b3=""+z2+": Deprecated member");var q=l2(b3),u3=q?""+z2+" #"+b3+": www.highcharts.com/errors/"+b3+"/":b3.toString();if("undefined"!==typeof J){var N="";q&&(u3+="?");E2(J,(function(b4,z3){N+="\n - ".concat(z3,": ").concat(b4);q&&(u3+=encodeURI(z3)+"="+encodeURI(b4))}));u3+=N}y2(a2,"displayError",{chart:n3,code:b3,message:u3,params:J},(function(){if(c3)throw Error(u3);f2.console&&-1===g3.messages.indexOf(u3)&&console.warn(u3)}));g3.messages.push(u3)}function x2(b3,f3){var z2={};E2(b3,(function(c3,q){if(H2(b3[q],true)&&!b3.nodeType&&f3[q])c3=x2(b3[q],f3[q]),Object.keys(c3).length&&(z2[q]=c3);else if(H2(b3[q])||b3[q]!==f3[q]||q in b3&&!(q in f3))z2[q]=b3[q]}));return z2}function F2(b3,f3){return parseInt(b3,f3||10)}function C2(b3){return"string"===typeof b3}function B(b3){b3=Object.prototype.toString.call(b3);return"[object Array]"===b3||"[object Array Iterator]"===b3}function H2(b3,f3){return!!b3&&"object"===typeof b3&&(!f3||!B(b3))}function t2(b3){return H2(b3)&&"number"===typeof b3.nodeType}function r2(b3){var f3=b3&&b3.constructor;return!(!H2(b3,true)||t2(b3)||!f3||!f3.name||"Object"===f3.name)}function l2(b3){return"number"===typeof b3&&!isNaN(b3)&&Infinity>b3&&-Infinity<b3}function e2(b3){return"undefined"!==typeof b3&&null!==b3}function d2(b3,f3,c3){var z2=C2(f3)&&!e2(c3),q,n3=function(f4,c4){e2(f4)?b3.setAttribute(c4,f4):z2?(q=b3.getAttribute(c4))||"class"!==c4||(q=b3.getAttribute(c4+"Name")):b3.removeAttribute(c4)};C2(f3)?n3(c3,f3):E2(f3,n3);return q}function h2(b3,f3){var c3;b3||(b3={});for(c3 in f3)b3[c3]=f3[c3];return b3}function m2(){for(var b3=arguments,f3=b3.length,c3=0;c3<f3;c3++){var J=b3[c3];if("undefined"!==typeof J&&null!==J)return J}}function k2(b3,f3){a2.isMS&&!a2.svg&&f3&&e2(f3.opacity)&&(f3.filter="alpha(opacity=".concat(100*f3.opacity,")"));h2(b3.style,f3)}function p2(b3){return Math.pow(10,Math.floor(Math.log(b3)/Math.LN10))}function D2(b3,f3){return 1e14<b3?b3:parseFloat(b3.toPrecision(f3||14))}function I(b3,c3,n3){var z2=a2.getStyle||I;if("width"===c3)return c3=Math.min(b3.offsetWidth,b3.scrollWidth),n3=b3.getBoundingClientRect&&b3.getBoundingClientRect().width,n3<c3&&n3>=c3-1&&(c3=Math.floor(n3)),Math.max(0,c3-(z2(b3,"padding-left",true)||0)-(z2(b3,"padding-right",true)||0));if("height"===c3)return Math.max(0,Math.min(b3.offsetHeight,b3.scrollHeight)-(z2(b3,"padding-top",true)||0)-(z2(b3,"padding-bottom",true)||0));f2.getComputedStyle||g3(27,true);if(b3=f2.getComputedStyle(b3,void 0)){var q=b3.getPropertyValue(c3);m2(n3,"opacity"!==c3)&&(q=F2(q))}return q}function E2(b3,f3,c3){for(var z2 in b3)Object.hasOwnProperty.call(b3,z2)&&f3.call(c3||b3[z2],b3[z2],z2,b3)}function L2(b3,f3,c3){function z2(f4,c4){var v2=b3.removeEventListener||a2.removeEventListenerPolyfill;v2&&v2.call(b3,f4,c4,false)}function q(c4){var v2;if(b3.nodeName){if(f3){var q2={};q2[f3]=true}else q2=c4;E2(q2,(function(b4,f4){if(c4[f4])for(v2=c4[f4].length;v2--;)z2(f4,c4[f4][v2].fn)}))}}var n3="function"===typeof b3&&b3.prototype||b3;if(Object.hasOwnProperty.call(n3,"hcEvents")){var u3=n3.hcEvents;f3?(n3=u3[f3]||[],c3?(u3[f3]=n3.filter((function(b4){return c3!==b4.fn})),z2(f3,c3)):(q(u3),u3[f3]=[])):(q(u3),delete n3.hcEvents)}}function y2(b3,f3,c3,J){c3=c3||{};if(w2.createEvent&&(b3.dispatchEvent||b3.fireEvent&&b3!==a2)){var z2=w2.createEvent("Events");z2.initEvent(f3,true,true);c3=h2(z2,c3);b3.dispatchEvent?b3.dispatchEvent(c3):b3.fireEvent(f3,c3)}else if(b3.hcEvents){c3.target||h2(c3,{preventDefault:function(){c3.defaultPrevented=true},target:b3,type:f3});z2=[];for(var q=b3,n3=false;q.hcEvents;)Object.hasOwnProperty.call(q,"hcEvents")&&q.hcEvents[f3]&&(z2.length&&(n3=true),z2.unshift.apply(z2,q.hcEvents[f3])),q=Object.getPrototypeOf(q);n3&&z2.sort((function(b4,f4){return b4.order-f4.order}));z2.forEach((function(f4){false===f4.fn.call(b3,c3)&&c3.preventDefault()}))}J&&!c3.defaultPrevented&&J.call(b3,c3)}var c2=a2.charts,w2=a2.doc,f2=a2.win;(g3||(g3={})).messages=[];Math.easeInOutSine=function(b3){return-.5*(Math.cos(Math.PI*b3)-1)};var n2=Array.prototype.find?function(b3,f3){return b3.find(f3)}:function(b3,f3){var c3,q=b3.length;for(c3=0;c3<q;c3++)if(f3(b3[c3],c3))return b3[c3]};E2({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(b3,f3){a2[f3]=function(c3){var q;g3(32,false,void 0,(q={},q["Highcharts.".concat(f3)]="use Array.".concat(b3),q));return Array.prototype[b3].apply(c3,[].slice.call(arguments,1))}}));var b2,u2=function(){var f3=Math.random().toString(36).substring(2,9)+"-",c3=0;return function(){return"highcharts-"+(b2?"":f3)+c3++}}();f2.jQuery&&(f2.jQuery.fn.highcharts=function(){var b3=[].slice.call(arguments);if(this[0])return b3[0]?(new(a2[C2(b3[0])?b3.shift():"Chart"])(this[0],b3[0],b3[1]),this):c2[d2(this[0],"data-highcharts-chart")]});n2={addEvent:function(b3,f3,c3,J){void 0===J&&(J={});var q="function"===typeof b3&&b3.prototype||b3;Object.hasOwnProperty.call(q,"hcEvents")||(q.hcEvents={});q=q.hcEvents;a2.Point&&b3 instanceof a2.Point&&b3.series&&b3.series.chart&&(b3.series.chart.runTrackerClick=true);var z2=b3.addEventListener||a2.addEventListenerPolyfill;z2&&z2.call(b3,f3,c3,a2.supportsPassiveEvents?{passive:void 0===J.passive?-1!==f3.indexOf("touch"):J.passive,capture:false}:false);q[f3]||(q[f3]=[]);q[f3].push({fn:c3,order:"number"===typeof J.order?J.order:Infinity});q[f3].sort((function(b4,f4){return b4.order-f4.order}));return function(){L2(b3,f3,c3)}},arrayMax:function(b3){for(var f3=b3.length,c3=b3[0];f3--;)b3[f3]>c3&&(c3=b3[f3]);return c3},arrayMin:function(b3){for(var f3=b3.length,c3=b3[0];f3--;)b3[f3]<c3&&(c3=b3[f3]);return c3},attr:d2,clamp:function(b3,f3,c3){return b3>f3?b3<c3?b3:c3:f3},cleanRecursively:x2,clearTimeout:function(b3){e2(b3)&&clearTimeout(b3)},correctFloat:D2,createElement:function(b3,f3,c3,J,n3){b3=w2.createElement(b3);f3&&h2(b3,f3);n3&&k2(b3,{padding:"0",border:"none",margin:"0"});c3&&k2(b3,c3);J&&J.appendChild(b3);return b3},css:k2,defined:e2,destroyObjectProperties:function(b3,f3){E2(b3,(function(c3,q){c3&&c3!==f3&&c3.destroy&&c3.destroy();delete b3[q]}))},discardElement:function(b3){b3&&b3.parentElement&&b3.parentElement.removeChild(b3)},erase:function(b3,f3){for(var c3=b3.length;c3--;)if(b3[c3]===f3){b3.splice(c3,1);break}},error:g3,extend:h2,extendClass:function(b3,f3){var c3=function(){};c3.prototype=new b3;h2(c3.prototype,f3);return c3},find:n2,fireEvent:y2,getMagnitude:p2,getNestedProperty:function(b3,c3){for(b3=b3.split(".");b3.length&&e2(c3);){var q=b3.shift();if("undefined"===typeof q||"__proto__"===q)return;c3=c3[q];if(!e2(c3)||"function"===typeof c3||"number"===typeof c3.nodeType||c3===f2)return}return c3},getStyle:I,inArray:function(b3,c3,f3){g3(32,false,void 0,{"Highcharts.inArray":"use Array.indexOf"});return c3.indexOf(b3,f3)},isArray:B,isClass:r2,isDOMElement:t2,isFunction:function(b3){return"function"===typeof b3},isNumber:l2,isObject:H2,isString:C2,keys:function(b3){g3(32,false,void 0,{"Highcharts.keys":"use Object.keys"});return Object.keys(b3)},merge:function(){var b3,c3=arguments,f3={},J=function(b4,c4){"object"!==typeof b4&&(b4={});E2(c4,(function(f4,v2){"__proto__"!==v2&&"constructor"!==v2&&(!H2(f4,true)||r2(f4)||t2(f4)?b4[v2]=c4[v2]:b4[v2]=J(b4[v2]||{},f4))}));return b4};true===c3[0]&&(f3=c3[1],c3=Array.prototype.slice.call(c3,2));var n3=c3.length;for(b3=0;b3<n3;b3++)f3=J(f3,c3[b3]);return f3},normalizeTickInterval:function(b3,c3,f3,J,n3){var q=b3;f3=m2(f3,p2(b3));var u3=b3/f3;c3||(c3=n3?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],false===J&&(1===f3?c3=c3.filter((function(b4){return 0===b4%1})):.1>=f3&&(c3=[1/f3])));for(J=0;J<c3.length&&!(q=c3[J],n3&&q*f3>=b3||!n3&&u3<=(c3[J]+(c3[J+1]||c3[J]))/2);J++);return q=D2(q*f3,-Math.round(Math.log(.001)/Math.LN10))},objectEach:E2,offset:function(b3){var c3=w2.documentElement;b3=b3.parentElement||b3.parentNode?b3.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:b3.top+(f2.pageYOffset||c3.scrollTop)-(c3.clientTop||0),left:b3.left+(f2.pageXOffset||c3.scrollLeft)-(c3.clientLeft||0),width:b3.width,height:b3.height}},pad:function(b3,c3,f3){return Array((c3||2)+1-String(b3).replace("-","").length).join(f3||"0")+b3},pick:m2,pInt:F2,relativeLength:function(b3,c3,f3){return/%$/.test(b3)?c3*parseFloat(b3)/100+(f3||0):parseFloat(b3)},removeEvent:L2,splat:function(b3){return B(b3)?b3:[b3]},stableSort:function(b3,c3){var f3=b3.length,J,n3;for(n3=0;n3<f3;n3++)b3[n3].safeI=n3;b3.sort((function(b4,f4){J=c3(b4,f4);return 0===J?b4.safeI-f4.safeI:J}));for(n3=0;n3<f3;n3++)delete b3[n3].safeI},syncTimeout:function(b3,c3,f3){if(0<c3)return setTimeout(b3,c3,f3);b3.call(0,f3);return-1},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:u2,useSerialIds:function(c3){return b2=m2(c3,b2)},wrap:function(b3,c3,f3){var n3=b3[c3];b3[c3]=function(){var b4=arguments,c4=this;return f3.apply(this,[function(){return n3.apply(c4,arguments.length?arguments:b4)}].concat([].slice.call(arguments)))}}};return n2}));K(g2,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:false,panning:{enabled:false,type:"x"},styledMode:false,borderRadius:0,colorCount:10,allowMutatingData:true,defaultSeriesType:"line",ignoreHiddenSeries:true,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:false,zooming:{singleTouch:false,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}));K(g2,"Core/Color/Color.js",[g2["Core/Globals.js"],g2["Core/Utilities.js"]],(function(a2,g3){var A2=g3.isNumber,F2=g3.merge,C2=g3.pInt;g3=function(){function g4(A3){this.rgba=[NaN,NaN,NaN,NaN];this.input=A3;var t2=a2.Color;if(t2&&t2!==g4)return new t2(A3);if(!(this instanceof g4))return new g4(A3);this.init(A3)}g4.parse=function(a3){return a3?new g4(a3):g4.None};g4.prototype.init=function(a3){var t2;if("object"===typeof a3&&"undefined"!==typeof a3.stops)this.stops=a3.stops.map((function(d2){return new g4(d2[1])}));else if("string"===typeof a3){this.input=a3=g4.names[a3.toLowerCase()]||a3;if("#"===a3.charAt(0)){var r2=a3.length;var l2=parseInt(a3.substr(1),16);7===r2?t2=[(l2&16711680)>>16,(l2&65280)>>8,l2&255,1]:4===r2&&(t2=[(l2&3840)>>4|(l2&3840)>>8,(l2&240)>>4|l2&240,(l2&15)<<4|l2&15,1])}if(!t2)for(l2=g4.parsers.length;l2--&&!t2;){var e2=g4.parsers[l2];(r2=e2.regex.exec(a3))&&(t2=e2.parse(r2))}}t2&&(this.rgba=t2)};g4.prototype.get=function(a3){var t2=this.input,r2=this.rgba;if("object"===typeof t2&&"undefined"!==typeof this.stops){var l2=F2(t2);l2.stops=[].slice.call(l2.stops);this.stops.forEach((function(e2,d2){l2.stops[d2]=[l2.stops[d2][0],e2.get(a3)]}));return l2}return r2&&A2(r2[0])?"rgb"===a3||!a3&&1===r2[3]?"rgb("+r2[0]+","+r2[1]+","+r2[2]+")":"a"===a3?"".concat(r2[3]):"rgba("+r2.join(",")+")":t2};g4.prototype.brighten=function(a3){var t2=this.rgba;if(this.stops)this.stops.forEach((function(l2){l2.brighten(a3)}));else if(A2(a3)&&0!==a3)for(var r2=0;3>r2;r2++)t2[r2]+=C2(255*a3),0>t2[r2]&&(t2[r2]=0),255<t2[r2]&&(t2[r2]=255);return this};g4.prototype.setOpacity=function(a3){this.rgba[3]=a3;return this};g4.prototype.tweenTo=function(a3,t2){var r2=this.rgba,l2=a3.rgba;if(!A2(r2[0])||!A2(l2[0]))return a3.input||"none";a3=1!==l2[3]||1!==r2[3];return(a3?"rgba(":"rgb(")+Math.round(l2[0]+(r2[0]-l2[0])*(1-t2))+","+Math.round(l2[1]+(r2[1]-l2[1])*(1-t2))+","+Math.round(l2[2]+(r2[2]-l2[2])*(1-t2))+(a3?","+(l2[3]+(r2[3]-l2[3])*(1-t2)):"")+")"};g4.names={white:"#ffffff",black:"#000000"};g4.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(a3){return[C2(a3[1]),C2(a3[2]),C2(a3[3]),parseFloat(a3[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(a3){return[C2(a3[1]),C2(a3[2]),C2(a3[3]),1]}}];g4.None=new g4("");return g4}();return g3}));K(g2,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}}));K(g2,"Core/Time.js",[g2["Core/Globals.js"],g2["Core/Utilities.js"]],(function(a2,g3){var A2=a2.win,F2=g3.defined,C2=g3.error,B=g3.extend,H2=g3.isObject,t2=g3.merge,r2=g3.objectEach,l2=g3.pad,e2=g3.pick,d2=g3.splat,h2=g3.timeUnits,m2=a2.isSafari&&A2.Intl&&A2.Intl.DateTimeFormat.prototype.formatRange,k2=a2.isSafari&&A2.Intl&&!A2.Intl.DateTimeFormat.prototype.formatRange;g3=function(){function p2(d3){this.options={};this.variableTimezone=this.useUTC=false;this.Date=A2.Date;this.getTimezoneOffset=this.timezoneOffsetFunction();this.update(d3)}p2.prototype.get=function(d3,e3){if(this.variableTimezone||this.timezoneOffset){var h3=e3.getTime(),k3=h3-this.getTimezoneOffset(e3);e3.setTime(k3);d3=e3["getUTC"+d3]();e3.setTime(h3);return d3}return this.useUTC?e3["getUTC"+d3]():e3["get"+d3]()};p2.prototype.set=function(d3,e3,h3){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===d3||"Seconds"===d3||"Minutes"===d3&&0===this.getTimezoneOffset(e3)%36e5)return e3["setUTC"+d3](h3);var k3=this.getTimezoneOffset(e3);k3=e3.getTime()-k3;e3.setTime(k3);e3["setUTC"+d3](h3);d3=this.getTimezoneOffset(e3);k3=e3.getTime()+d3;return e3.setTime(k3)}return this.useUTC||m2&&"FullYear"===d3?e3["setUTC"+d3](h3):e3["set"+d3](h3)};p2.prototype.update=function(d3){void 0===d3&&(d3={});var h3=e2(d3.useUTC,true);this.options=d3=t2(true,this.options,d3);this.Date=d3.Date||A2.Date||Date;this.timezoneOffset=(this.useUTC=h3)&&d3.timezoneOffset||void 0;this.getTimezoneOffset=this.timezoneOffsetFunction();this.variableTimezone=h3&&!(!d3.getTimezoneOffset&&!d3.timezone)};p2.prototype.makeTime=function(d3,h3,m3,p3,y2,c2){if(this.useUTC){var w2=this.Date.UTC.apply(0,arguments);var f2=this.getTimezoneOffset(w2);w2+=f2;var n2=this.getTimezoneOffset(w2);f2!==n2?w2+=n2-f2:f2-36e5!==this.getTimezoneOffset(w2-36e5)||k2||(w2-=36e5)}else w2=new this.Date(d3,h3,e2(m3,1),e2(p3,0),e2(y2,0),e2(c2,0)).getTime();return w2};p2.prototype.timezoneOffsetFunction=function(){var d3=this,e3=this.options,h3=e3.getTimezoneOffset,k3=e3.moment||A2.moment;if(!this.useUTC)return function(d4){return 6e4*new Date(d4.toString()).getTimezoneOffset()};if(e3.timezone){if(k3)return function(d4){return 6e4*-k3.tz(d4,e3.timezone).utcOffset()};C2(25)}return this.useUTC&&h3?function(d4){return 6e4*h3(d4.valueOf())}:function(){return 6e4*(d3.timezoneOffset||0)}};p2.prototype.dateFormat=function(d3,h3,k3){if(!F2(h3)||isNaN(h3))return a2.defaultOptions.lang&&a2.defaultOptions.lang.invalidDate||"";d3=e2(d3,"%Y-%m-%d %H:%M:%S");var m3=this,p3=new this.Date(h3),c2=this.get("Hours",p3),w2=this.get("Day",p3),f2=this.get("Date",p3),n2=this.get("Month",p3),b2=this.get("FullYear",p3),u2=a2.defaultOptions.lang,z2=u2&&u2.weekdays,q=u2&&u2.shortWeekdays;p3=B({a:q?q[w2]:z2[w2].substr(0,3),A:z2[w2],d:l2(f2),e:l2(f2,2," "),w:w2,b:u2.shortMonths[n2],B:u2.months[n2],m:l2(n2+1),o:n2+1,y:b2.toString().substr(2,2),Y:b2,H:l2(c2),k:c2,I:l2(c2%12||12),l:c2%12||12,M:l2(this.get("Minutes",p3)),p:12>c2?"AM":"PM",P:12>c2?"am":"pm",S:l2(p3.getSeconds()),L:l2(Math.floor(h3%1e3),3)},a2.dateFormats);r2(p3,(function(b3,c3){for(;-1!==d3.indexOf("%"+c3);)d3=d3.replace("%"+c3,"function"===typeof b3?b3.call(m3,h3):b3)}));return k3?d3.substr(0,1).toUpperCase()+d3.substr(1):d3};p2.prototype.resolveDTLFormat=function(e3){return H2(e3,true)?e3:(e3=d2(e3),{main:e3[0],from:e3[1],to:e3[2]})};p2.prototype.getTimeTicks=function(d3,k3,p3,m3){var y2=this,c2=[],w2={},f2=new y2.Date(k3),n2=d3.unitRange,b2=d3.count||1,u2;m3=e2(m3,1);if(F2(k3)){y2.set("Milliseconds",f2,n2>=h2.second?0:b2*Math.floor(y2.get("Milliseconds",f2)/b2));n2>=h2.second&&y2.set("Seconds",f2,n2>=h2.minute?0:b2*Math.floor(y2.get("Seconds",f2)/b2));n2>=h2.minute&&y2.set("Minutes",f2,n2>=h2.hour?0:b2*Math.floor(y2.get("Minutes",f2)/b2));n2>=h2.hour&&y2.set("Hours",f2,n2>=h2.day?0:b2*Math.floor(y2.get("Hours",f2)/b2));n2>=h2.day&&y2.set("Date",f2,n2>=h2.month?1:Math.max(1,b2*Math.floor(y2.get("Date",f2)/b2)));if(n2>=h2.month){y2.set("Month",f2,n2>=h2.year?0:b2*Math.floor(y2.get("Month",f2)/b2));var z2=y2.get("FullYear",f2)}n2>=h2.year&&y2.set("FullYear",f2,z2-z2%b2);n2===h2.week&&(z2=y2.get("Day",f2),y2.set("Date",f2,y2.get("Date",f2)-z2+m3+(z2<m3?-7:0)));z2=y2.get("FullYear",f2);m3=y2.get("Month",f2);var q=y2.get("Date",f2),N=y2.get("Hours",f2);k3=f2.getTime();!y2.variableTimezone&&y2.useUTC||!F2(p3)||(u2=p3-k3>4*h2.month||y2.getTimezoneOffset(k3)!==y2.getTimezoneOffset(p3));k3=f2.getTime();for(f2=1;k3<p3;)c2.push(k3),k3=n2===h2.year?y2.makeTime(z2+f2*b2,0):n2===h2.month?y2.makeTime(z2,m3+f2*b2):!u2||n2!==h2.day&&n2!==h2.week?u2&&n2===h2.hour&&1<b2?y2.makeTime(z2,m3,q,N+f2*b2):k3+n2*b2:y2.makeTime(z2,m3,q+f2*b2*(n2===h2.day?1:7)),f2++;c2.push(k3);n2<=h2.hour&&1e4>c2.length&&c2.forEach((function(b3){0===b3%18e5&&"000000000"===y2.dateFormat("%H%M%S%L",b3)&&(w2[b3]="day")}))}c2.info=B(d3,{higherRanks:w2,totalRange:n2*b2});return c2};p2.prototype.getDateFormat=function(d3,e3,k3,p3){var m3=this.dateFormat("%m-%d %H:%M:%S.%L",e3),c2={millisecond:15,second:12,minute:9,hour:6,day:3},w2="millisecond";for(f2 in h2){if(d3===h2.week&&+this.dateFormat("%w",e3)===k3&&"00:00:00.000"===m3.substr(6)){var f2="week";break}if(h2[f2]>d3){f2=w2;break}if(c2[f2]&&m3.substr(c2[f2])!=="01-01 00:00:00.000".substr(c2[f2]))break;"week"!==f2&&(w2=f2)}return this.resolveDTLFormat(p3[f2]).main};return p2}();return g3}));K(g2,"Core/Defaults.js",[g2["Core/Chart/ChartDefaults.js"],g2["Core/Color/Color.js"],g2["Core/Globals.js"],g2["Core/Color/Palettes.js"],g2["Core/Time.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B){g3=g3.parse;var A2=B.merge,t2={colors:F2.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:true},chart:a2,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:true,align:"center",alignColumns:true,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:false,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:true,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:true,animation:x2.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:false,snap:x2.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:g3("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:true,stickOnContact:false,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:false},credits:{enabled:true,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};t2.chart.styledMode=false;var r2=new C2(A2(t2.global,t2.time));a2={defaultOptions:t2,defaultTime:r2,getOptions:function(){return t2},setOptions:function(l2){A2(true,t2,l2);if(l2.time||l2.global)x2.time?x2.time.update(A2(t2.global,t2.time,l2.global,l2.time)):x2.time=r2;return t2}};return a2}));K(g2,"Core/Animation/Fx.js",[g2["Core/Color/Color.js"],g2["Core/Globals.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=a2.parse,C2=g3.win,B=x2.isNumber,H2=x2.objectEach;return function(){function a3(a4,l2,e2){this.pos=NaN;this.options=l2;this.elem=a4;this.prop=e2}a3.prototype.dSetter=function(){var a4=this.paths,l2=a4&&a4[0];a4=a4&&a4[1];var e2=this.now||0,d2=[];if(1!==e2&&l2&&a4)if(l2.length===a4.length&&1>e2)for(var h2=0;h2<a4.length;h2++){for(var m2=l2[h2],k2=a4[h2],p2=[],D2=0;D2<k2.length;D2++){var I=m2[D2],E2=k2[D2];B(I)&&B(E2)&&("A"!==k2[0]||4!==D2&&5!==D2)?p2[D2]=I+e2*(E2-I):p2[D2]=E2}d2.push(p2)}else d2=a4;else d2=this.toD||[];this.elem.attr("d",d2,void 0,true)};a3.prototype.update=function(){var a4=this.elem,l2=this.prop,e2=this.now,d2=this.options.step;if(this[l2+"Setter"])this[l2+"Setter"]();else a4.attr?a4.element&&a4.attr(l2,e2,null,true):a4.style[l2]=e2+this.unit;d2&&d2.call(a4,e2,this)};a3.prototype.run=function(r2,l2,e2){var d2=this,h2=d2.options,m2=function(e3){return m2.stopped?false:d2.step(e3)},k2=C2.requestAnimationFrame||function(d3){setTimeout(d3,13)},p2=function(){for(var d3=0;d3<a3.timers.length;d3++)a3.timers[d3]()||a3.timers.splice(d3--,1);a3.timers.length&&k2(p2)};r2!==l2||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=r2,this.end=l2,this.unit=e2,this.now=this.start,this.pos=0,m2.elem=this.elem,m2.prop=this.prop,m2()&&1===a3.timers.push(m2)&&k2(p2)):(delete h2.curAnim[this.prop],h2.complete&&0===Object.keys(h2.curAnim).length&&h2.complete.call(this.elem))};a3.prototype.step=function(a4){var l2=+new Date,e2=this.options,d2=this.elem,h2=e2.complete,m2=e2.duration,k2=e2.curAnim;if(d2.attr&&!d2.element)a4=false;else if(a4||l2>=m2+this.startTime){this.now=this.end;this.pos=1;this.update();var p2=k2[this.prop]=true;H2(k2,(function(d3){true!==d3&&(p2=false)}));p2&&h2&&h2.call(d2);a4=false}else this.pos=e2.easing((l2-this.startTime)/m2),this.now=this.start+(this.end-this.start)*this.pos,this.update(),a4=true;return a4};a3.prototype.initPath=function(a4,l2,e2){function d2(d3,c2){for(;d3.length<L2;){var e3=d3[0],f2=c2[L2-d3.length];f2&&"M"===e3[0]&&(d3[0]="C"===f2[0]?["C",e3[1],e3[2],e3[1],e3[2],e3[1],e3[2]]:["L",e3[1],e3[2]]);d3.unshift(e3);p2&&(e3=d3.pop(),d3.push(d3[d3.length-1],e3))}}function h2(d3,c2){for(;d3.length<L2;)if(c2=d3[Math.floor(d3.length/D2)-1].slice(),"C"===c2[0]&&(c2[1]=c2[5],c2[2]=c2[6]),p2){var e3=d3[Math.floor(d3.length/D2)].slice();d3.splice(d3.length/2,0,c2,e3)}else d3.push(c2)}var m2=a4.startX,k2=a4.endX;e2=e2.slice();var p2=a4.isArea,D2=p2?2:1;l2=l2&&l2.slice();if(!l2)return[e2,e2];if(m2&&k2&&k2.length){for(a4=0;a4<m2.length;a4++)if(m2[a4]===k2[0]){var I=a4;break}else if(m2[0]===k2[k2.length-m2.length+a4]){I=a4;var E2=true;break}else if(m2[m2.length-1]===k2[k2.length-m2.length+a4]){I=m2.length-a4;break}"undefined"===typeof I&&(l2=[])}if(l2.length&&B(I)){var L2=e2.length+I*D2;E2?(d2(l2,e2),h2(e2,l2)):(d2(e2,l2),h2(l2,e2))}return[l2,e2]};a3.prototype.fillSetter=function(){a3.prototype.strokeSetter.apply(this,arguments)};a3.prototype.strokeSetter=function(){this.elem.attr(this.prop,A2(this.start).tweenTo(A2(this.end),this.pos),void 0,true)};a3.timers=[];return a3}()}));K(g2,"Core/Animation/AnimationUtilities.js",[g2["Core/Animation/Fx.js"],g2["Core/Utilities.js"]],(function(a2,g3){function A2(d3){return r2(d3)?l2({duration:500,defer:0},d3):{duration:d3?500:0,defer:0}}function F2(d3,e3){for(var k2=a2.timers.length;k2--;)a2.timers[k2].elem!==d3||e3&&e3!==a2.timers[k2].prop||(a2.timers[k2].stopped=true)}var C2=g3.defined,B=g3.getStyle,H2=g3.isArray,t2=g3.isNumber,r2=g3.isObject,l2=g3.merge,e2=g3.objectEach,d2=g3.pick;return{animate:function(d3,m2,k2){var p2,h2="",I,E2;if(!r2(k2)){var g4=arguments;k2={duration:g4[2],easing:g4[3],complete:g4[4]}}t2(k2.duration)||(k2.duration=400);k2.easing="function"===typeof k2.easing?k2.easing:Math[k2.easing]||Math.easeInOutSine;k2.curAnim=l2(m2);e2(m2,(function(e3,c2){F2(d3,c2);E2=new a2(d3,k2,c2);I=void 0;"d"===c2&&H2(m2.d)?(E2.paths=E2.initPath(d3,d3.pathArray,m2.d),E2.toD=m2.d,p2=0,I=1):d3.attr?p2=d3.attr(c2):(p2=parseFloat(B(d3,c2))||0,"opacity"!==c2&&(h2="px"));I||(I=e3);"string"===typeof I&&I.match("px")&&(I=I.replace(/px/g,""));E2.run(p2,I,h2)}))},animObject:A2,getDeferredAnimation:function(d3,e3,k2){var p2=A2(e3),h2=0,m2=0;(k2?[k2]:d3.series).forEach((function(d4){d4=A2(d4.options.animation);h2=e3&&C2(e3.defer)?p2.defer:Math.max(h2,d4.duration+d4.defer);m2=Math.min(p2.duration,d4.duration)}));d3.renderer.forExport&&(h2=0);return{defer:Math.max(0,h2-m2),duration:Math.min(h2,m2)}},setAnimation:function(e3,m2){m2.renderer.globalAnimation=d2(e3,m2.options.chart.animation,true)},stop:F2}}));K(g2,"Core/Renderer/HTML/AST.js",[g2["Core/Globals.js"],g2["Core/Utilities.js"]],(function(a2,g3){var A2=a2.SVG_NS,F2=g3.attr,C2=g3.createElement,B=g3.css,H2=g3.error,t2=g3.isFunction,r2=g3.isString,l2=g3.objectEach,e2=g3.splat,d2=(g3=a2.win.trustedTypes)&&t2(g3.createPolicy)&&g3.createPolicy("highcharts",{createHTML:function(d3){return d3}}),h2=d2?d2.createHTML(""):"";try{var m2=!!(new DOMParser).parseFromString(h2,"text/html")}catch(k2){m2=false}t2=function(){function k2(d3){this.nodes="string"===typeof d3?this.parseMarkup(d3):d3}k2.filterUserAttributes=function(d3){l2(d3,(function(e3,h3){var m3=true;-1===k2.allowedAttributes.indexOf(h3)&&(m3=false);-1!==["background","dynsrc","href","lowsrc","src"].indexOf(h3)&&(m3=r2(e3)&&k2.allowedReferences.some((function(d4){return 0===e3.indexOf(d4)})));m3||(H2(33,false,void 0,{"Invalid attribute in config":"".concat(h3)}),delete d3[h3]);r2(e3)&&d3[h3]&&(d3[h3]=e3.replace(/</g,"<"))}));return d3};k2.parseStyle=function(d3){return d3.split(";").reduce((function(d4,e3){e3=e3.split(":").map((function(d5){return d5.trim()}));var k3=e3.shift();k3&&e3.length&&(d4[k3.replace(/-([a-z])/g,(function(d5){return d5[1].toUpperCase()}))]=e3.join(":"));return d4}),{})};k2.setElementHTML=function(d3,e3){d3.innerHTML=k2.emptyHTML;e3&&new k2(e3).addToDOM(d3)};k2.prototype.addToDOM=function(d3){function h3(d4,m3){var p2;e2(d4).forEach((function(d5){var c2=d5.tagName,e3=d5.textContent?a2.doc.createTextNode(d5.textContent):void 0,f2=k2.bypassHTMLFiltering;if(c2)if("#text"===c2)var n2=e3;else if(-1!==k2.allowedTags.indexOf(c2)||f2){c2=a2.doc.createElementNS("svg"===c2?A2:m3.namespaceURI||A2,c2);var b2=d5.attributes||{};l2(d5,(function(c3,f3){"tagName"!==f3&&"attributes"!==f3&&"children"!==f3&&"style"!==f3&&"textContent"!==f3&&(b2[f3]=c3)}));F2(c2,f2?b2:k2.filterUserAttributes(b2));d5.style&&B(c2,d5.style);e3&&c2.appendChild(e3);h3(d5.children||[],c2);n2=c2}else H2(33,false,void 0,{"Invalid tagName in config":c2});n2&&m3.appendChild(n2);p2=n2}));return p2}return h3(this.nodes,d3)};k2.prototype.parseMarkup=function(e3){var h3=[];e3=e3.trim().replace(/ style=(["'])/g," data-style=$1");if(m2)e3=(new DOMParser).parseFromString(d2?d2.createHTML(e3):e3,"text/html");else{var p2=C2("div");p2.innerHTML=e3;e3={body:p2}}var a3=function(d3,e4){var c2=d3.nodeName.toLowerCase(),h4={tagName:c2};"#text"===c2&&(h4.textContent=d3.textContent||"");if(c2=d3.attributes){var f2={};[].forEach.call(c2,(function(b2){"data-style"===b2.name?h4.style=k2.parseStyle(b2.value):f2[b2.name]=b2.value}));h4.attributes=f2}if(d3.childNodes.length){var n2=[];[].forEach.call(d3.childNodes,(function(b2){a3(b2,n2)}));n2.length&&(h4.children=n2)}e4.push(h4)};[].forEach.call(e3.body.childNodes,(function(d3){return a3(d3,h3)}));return h3};k2.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align text-anchor textAnchor textLength title type valign width x x1 x2 xlink:href y y1 y2 zIndex".split(" ");k2.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" ");k2.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text textPath thead title tbody tspan td th tr u ul #text".split(" ");k2.emptyHTML=h2;k2.bypassHTMLFiltering=false;return k2}();return t2}));K(g2,"Core/FormatUtilities.js",[g2["Core/Defaults.js"],g2["Core/Utilities.js"]],(function(a2,g3){function A2(a3,e2,d2,h2){a3=+a3||0;e2=+e2;var m2=F2.lang,k2=(a3.toString().split(".")[1]||"").split("e")[0].length,p2=a3.toString().split("e"),l2=e2;if(-1===e2)e2=Math.min(k2,20);else if(!H2(e2))e2=2;else if(e2&&p2[1]&&0>p2[1]){var g4=e2+ +p2[1];0<=g4?(p2[0]=(+p2[0]).toExponential(g4).split("e")[0],e2=g4):(p2[0]=p2[0].split(".")[0]||0,a3=20>e2?(p2[0]*Math.pow(10,p2[1])).toFixed(e2):0,p2[1]=0)}g4=(Math.abs(p2[1]?p2[0]:a3)+Math.pow(10,-Math.max(e2,k2)-1)).toFixed(e2);k2=String(r2(g4));var E2=3<k2.length?k2.length%3:0;d2=t2(d2,m2.decimalPoint);h2=t2(h2,m2.thousandsSep);a3=(0>a3?"-":"")+(E2?k2.substr(0,E2)+h2:"");a3=0>+p2[1]&&!l2?"0":a3+k2.substr(E2).replace(/(\d{3})(?=\d)/g,"$1"+h2);e2&&(a3+=d2+g4.slice(-e2));p2[1]&&0!==+a3&&(a3+="e"+p2[1]);return a3}var F2=a2.defaultOptions,C2=a2.defaultTime,B=g3.getNestedProperty,H2=g3.isNumber,t2=g3.pick,r2=g3.pInt;return{dateFormat:function(a3,e2,d2){return C2.dateFormat(a3,e2,d2)},format:function(a3,e2,d2){var h2="{",m2=false,k2=/f$/,p2=/\.([0-9])/,l2=F2.lang,g4=d2&&d2.time||C2;d2=d2&&d2.numberFormatter||A2;for(var E2=[];a3;){var t3=a3.indexOf(h2);if(-1===t3)break;var y2=a3.slice(0,t3);if(m2){y2=y2.split(":");h2=B(y2.shift()||"",e2);if(y2.length&&"number"===typeof h2)if(y2=y2.join(":"),k2.test(y2)){var c2=parseInt((y2.match(p2)||["","-1"])[1],10);null!==h2&&(h2=d2(h2,c2,l2.decimalPoint,-1<y2.indexOf(",")?l2.thousandsSep:""))}else h2=g4.dateFormat(y2,h2);E2.push(h2)}else E2.push(y2);a3=a3.slice(t3+1);h2=(m2=!m2)?"}":"{"}E2.push(a3);return E2.join("")},numberFormat:A2}}));K(g2,"Core/Renderer/RendererUtilities.js",[g2["Core/Utilities.js"]],(function(a2){var g3=a2.clamp,x2=a2.pick,F2=a2.stableSort,C2;(function(a3){function A2(a4,r2,l2){var e2=a4,d2=e2.reducedLen||r2,h2=function(d3,e3){return(e3.rank||0)-(d3.rank||0)},m2=function(d3,e3){return d3.target-e3.target},k2,p2=true,D2=[],I=0;for(k2=a4.length;k2--;)I+=a4[k2].size;if(I>d2){F2(a4,h2);for(I=k2=0;I<=d2;)I+=a4[k2].size,k2++;D2=a4.splice(k2-1,a4.length)}F2(a4,m2);for(a4=a4.map((function(d3){return{size:d3.size,targets:[d3.target],align:x2(d3.align,.5)}}));p2;){for(k2=a4.length;k2--;)d2=a4[k2],h2=(Math.min.apply(0,d2.targets)+Math.max.apply(0,d2.targets))/2,d2.pos=g3(h2-d2.size*d2.align,0,r2-d2.size);k2=a4.length;for(p2=false;k2--;)0<k2&&a4[k2-1].pos+a4[k2-1].size>a4[k2].pos&&(a4[k2-1].size+=a4[k2].size,a4[k2-1].targets=a4[k2-1].targets.concat(a4[k2].targets),a4[k2-1].align=.5,a4[k2-1].pos+a4[k2-1].size>r2&&(a4[k2-1].pos=r2-a4[k2-1].size),a4.splice(k2,1),p2=true)}e2.push.apply(e2,D2);k2=0;a4.some((function(d3){var h3=0;return(d3.targets||[]).some((function(){e2[k2].pos=d3.pos+h3;if("undefined"!==typeof l2&&Math.abs(e2[k2].pos-e2[k2].target)>l2)return e2.slice(0,k2+1).forEach((function(d4){return delete d4.pos})),e2.reducedLen=(e2.reducedLen||r2)-.1*r2,e2.reducedLen>.1*r2&&A2(e2,r2,l2),true;h3+=e2[k2].size;k2++;return false}))}));F2(e2,m2);return e2}a3.distribute=A2})(C2||(C2={}));return C2}));K(g2,"Core/Renderer/SVG/SVGElement.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Color/Color.js"],g2["Core/Globals.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2){var A2=a2.animate,B=a2.animObject,H2=a2.stop,t2=x2.deg2rad,r2=x2.doc,l2=x2.svg,e2=x2.SVG_NS,d2=x2.win,h2=F2.addEvent,m2=F2.attr,k2=F2.createElement,p2=F2.css,D2=F2.defined,I=F2.erase,E2=F2.extend,L2=F2.fireEvent,y2=F2.isArray,c2=F2.isFunction,w2=F2.isString,f2=F2.merge,n2=F2.objectEach,b2=F2.pick,u2=F2.pInt,z2=F2.syncTimeout,q=F2.uniqueKey;a2=function(){function a3(){this.element=void 0;this.onEvents={};this.opacity=1;this.renderer=void 0;this.SVG_NS=e2;this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}a3.prototype._defaultGetter=function(c3){c3=b2(this[c3+"Value"],this[c3],this.element?this.element.getAttribute(c3):null,0);/^[\-0-9\.]+$/.test(c3)&&(c3=parseFloat(c3));return c3};a3.prototype._defaultSetter=function(b3,c3,f3){f3.setAttribute(c3,b3)};a3.prototype.add=function(b3){var c3=this.renderer,f3=this.element;b3&&(this.parentGroup=b3);"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&c3.buildText(this);this.added=true;if(!b3||b3.handleZ||this.zIndex)var d3=this.zIndexSetter();d3||(b3?b3.element:c3.box).appendChild(f3);if(this.onAdd)this.onAdd();return this};a3.prototype.addClass=function(b3,c3){var f3=c3?"":this.attr("class")||"";b3=(b3||"").split(/ /g).reduce((function(b4,c4){-1===f3.indexOf(c4)&&b4.push(c4);return b4}),f3?[f3]:[]).join(" ");b3!==f3&&this.attr("class",b3);return this};a3.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=false)};a3.prototype.align=function(c3,f3,d3){var n3={},e3=this.renderer,v2=e3.alignedObjects,q2,J,u3;if(c3){if(this.alignOptions=c3,this.alignByTranslate=f3,!d3||w2(d3))this.alignTo=q2=d3||"renderer",I(v2,this),v2.push(this),d3=void 0}else c3=this.alignOptions,f3=this.alignByTranslate,q2=this.alignTo;d3=b2(d3,e3[q2],"scrollablePlotBox"===q2?e3.plotBox:void 0,e3);q2=c3.align;var a4=c3.verticalAlign;e3=(d3.x||0)+(c3.x||0);v2=(d3.y||0)+(c3.y||0);"right"===q2?J=1:"center"===q2&&(J=2);J&&(e3+=(d3.width-(c3.width||0))/J);n3[f3?"translateX":"x"]=Math.round(e3);"bottom"===a4?u3=1:"middle"===a4&&(u3=2);u3&&(v2+=(d3.height-(c3.height||0))/u3);n3[f3?"translateY":"y"]=Math.round(v2);this[this.placed?"animate":"attr"](n3);this.placed=true;this.alignAttr=n3;return this};a3.prototype.alignSetter=function(b3){var c3={left:"start",center:"middle",right:"end"};c3[b3]&&(this.alignValue=b3,this.element.setAttribute("text-anchor",c3[b3]))};a3.prototype.animate=function(c3,f3,d3){var e3=this,q2=B(b2(f3,this.renderer.globalAnimation,true));f3=q2.defer;b2(r2.hidden,r2.msHidden,r2.webkitHidden,false)&&(q2.duration=0);0!==q2.duration?(d3&&(q2.complete=d3),z2((function(){e3.element&&A2(e3,c3,q2)}),f3)):(this.attr(c3,void 0,d3||q2.complete),n2(c3,(function(b3,c4){q2.step&&q2.step.call(this,b3,{prop:c4,pos:1,elem:this})}),this));return this};a3.prototype.applyTextOutline=function(b3){var c3=this.element;-1!==b3.indexOf("contrast")&&(b3=b3.replace(/contrast/g,this.renderer.getContrast(c3.style.fill)));var f3=b3.split(" ");b3=f3[f3.length-1];if((f3=f3[0])&&"none"!==f3&&x2.svg){this.fakeTS=true;f3=f3.replace(/(^[\d\.]+)(.*?)$/g,(function(b4,c4,f4){return 2*Number(c4)+f4}));this.removeTextOutline();var d3=r2.createElementNS(e2,"tspan");m2(d3,{class:"highcharts-text-outline",fill:b3,stroke:b3,"stroke-width":f3,"stroke-linejoin":"round"});b3=c3.querySelector("textPath")||c3;[].forEach.call(b3.childNodes,(function(b4){var c4=b4.cloneNode(true);c4.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(b5){return c4.removeAttribute(b5)}));d3.appendChild(c4)}));var n3=0;[].forEach.call(b3.querySelectorAll("text tspan"),(function(b4){n3+=Number(b4.getAttribute("dy"))}));f3=r2.createElementNS(e2,"tspan");f3.textContent="";m2(f3,{x:Number(c3.getAttribute("x")),dy:-n3});d3.appendChild(f3);b3.insertBefore(d3,b3.firstChild)}};a3.prototype.attr=function(b3,c3,f3,d3){var e3=this.element,v2=this.symbolCustomAttribs,q2,u3=this,J,a4;if("string"===typeof b3&&"undefined"!==typeof c3){var G=b3;b3={};b3[G]=c3}"string"===typeof b3?u3=(this[b3+"Getter"]||this._defaultGetter).call(this,b3,e3):(n2(b3,(function(c4,f4){J=false;d3||H2(this,f4);this.symbolName&&-1!==v2.indexOf(f4)&&(q2||(this.symbolAttr(b3),q2=true),J=true);!this.rotation||"x"!==f4&&"y"!==f4||(this.doTransform=true);J||(a4=this[f4+"Setter"]||this._defaultSetter,a4.call(this,c4,f4,e3),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(f4)&&this.updateShadows(f4,c4,a4))}),this),this.afterSetters());f3&&f3.call(this);return u3};a3.prototype.clip=function(b3){return this.attr("clip-path",b3?"url("+this.renderer.url+"#"+b3.id+")":"none")};a3.prototype.crisp=function(b3,c3){c3=c3||b3.strokeWidth||0;var f3=Math.round(c3)%2/2;b3.x=Math.floor(b3.x||this.x||0)+f3;b3.y=Math.floor(b3.y||this.y||0)+f3;b3.width=Math.floor((b3.width||this.width||0)-2*f3);b3.height=Math.floor((b3.height||this.height||0)-2*f3);D2(b3.strokeWidth)&&(b3.strokeWidth=c3);return b3};a3.prototype.complexColor=function(b3,c3,d3){var e3=this.renderer,u3,v2,a4,J,h3,z3,G,k3,M,w3,m3=[],p3;L2(this.renderer,"complexColor",{args:arguments},(function(){b3.radialGradient?v2="radialGradient":b3.linearGradient&&(v2="linearGradient");if(v2){a4=b3[v2];h3=e3.gradients;z3=b3.stops;M=d3.radialReference;y2(a4)&&(b3[v2]=a4={x1:a4[0],y1:a4[1],x2:a4[2],y2:a4[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===v2&&M&&!D2(a4.gradientUnits)&&(J=a4,a4=f2(a4,e3.getRadialAttr(M,J),{gradientUnits:"userSpaceOnUse"}));n2(a4,(function(b4,c4){"id"!==c4&&m3.push(c4,b4)}));n2(z3,(function(b4){m3.push(b4)}));m3=m3.join(",");if(h3[m3])w3=h3[m3].attr("id");else{a4.id=w3=q();var U=h3[m3]=e3.createElement(v2).attr(a4).add(e3.defs);U.radAttr=J;U.stops=[];z3.forEach((function(b4){0===b4[1].indexOf("rgba")?(u3=g3.parse(b4[1]),G=u3.get("rgb"),k3=u3.get("a")):(G=b4[1],k3=1);b4=e3.createElement("stop").attr({offset:b4[0],"stop-color":G,"stop-opacity":k3}).add(U);U.stops.push(b4)}))}p3="url("+e3.url+"#"+w3+")";d3.setAttribute(c3,p3);d3.gradient=m3;b3.toString=function(){return p3}}}))};a3.prototype.css=function(b3){var c3=this.styles,d3={},e3=this.element,q2=!c3;b3.color&&(b3.fill=b3.color);c3&&n2(b3,(function(b4,f3){c3&&c3[f3]!==b4&&(d3[f3]=b4,q2=true)}));if(q2){c3&&(b3=E2(c3,d3));if(null===b3.width||"auto"===b3.width)delete this.textWidth;else if("text"===e3.nodeName.toLowerCase()&&b3.width)var v2=this.textWidth=u2(b3.width);this.styles=b3;v2&&!l2&&this.renderer.forExport&&delete b3.width;var a4=f2(b3);e3.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach((function(b4){return a4&&delete a4[b4]}));p2(e3,a4);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),b3.textOutline&&this.applyTextOutline(b3.textOutline))}return this};a3.prototype.dashstyleSetter=function(c3){var f3=this["stroke-width"];"inherit"===f3&&(f3=1);if(c3=c3&&c3.toLowerCase()){var d3=c3.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(c3=d3.length;c3--;)d3[c3]=""+u2(d3[c3])*b2(f3,NaN);c3=d3.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",c3)}};a3.prototype.destroy=function(){var b3=this,c3=b3.element||{},f3=b3.renderer,d3=c3.ownerSVGElement,e3=f3.isSVG&&"SPAN"===c3.nodeName&&b3.parentGroup||void 0;c3.onclick=c3.onmouseout=c3.onmouseover=c3.onmousemove=c3.point=null;H2(b3);if(b3.clipPath&&d3){var v2=b3.clipPath;[].forEach.call(d3.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(b4){-1<b4.getAttribute("clip-path").indexOf(v2.element.id)&&b4.removeAttribute("clip-path")}));b3.clipPath=v2.destroy()}if(b3.stops){for(d3=0;d3<b3.stops.length;d3++)b3.stops[d3].destroy();b3.stops.length=0;b3.stops=void 0}b3.safeRemoveChild(c3);for(f3.styledMode||b3.destroyShadows();e3&&e3.div&&0===e3.div.childNodes.length;)c3=e3.parentGroup,b3.safeRemoveChild(e3.div),delete e3.div,e3=c3;b3.alignTo&&I(f3.alignedObjects,b3);n2(b3,(function(c4,f4){b3[f4]&&b3[f4].parentGroup===b3&&b3[f4].destroy&&b3[f4].destroy();delete b3[f4]}))};a3.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(b3){this.safeRemoveChild(b3)}),this);this.shadows=void 0};a3.prototype.dSetter=function(b3,c3,f3){y2(b3)&&("string"===typeof b3[0]&&(b3=this.renderer.pathToSegments(b3)),this.pathArray=b3,b3=b3.reduce((function(b4,c4,f4){return c4&&c4.join?(f4?b4+" ":"")+c4.join(" "):(c4||"").toString()}),""));/(NaN| {2}|^$)/.test(b3)&&(b3="M 0 0");this[c3]!==b3&&(f3.setAttribute(c3,b3),this[c3]=b3)};a3.prototype.fadeOut=function(c3){var f3=this;f3.animate({opacity:0},{duration:b2(c3,150),complete:function(){f3.hide()}})};a3.prototype.fillSetter=function(b3,c3,f3){"string"===typeof b3?f3.setAttribute(c3,b3):b3&&this.complexColor(b3,c3,f3)};a3.prototype.getBBox=function(f3,d3){var n3=this.alignValue,e3=this.element,q2=this.renderer,v2=this.styles,u3=this.textStr,h3=q2.cache,z3=q2.cacheKeys,k3=e3.namespaceURI===this.SVG_NS;d3=b2(d3,this.rotation,0);var G=q2.styledMode?e3&&a3.prototype.getStyle.call(e3,"font-size"):v2&&v2.fontSize,m3;if(D2(u3)){var M=u3.toString();-1===M.indexOf("<")&&(M=M.replace(/[0-9]/g,"0"));M+=["",d3,G,this.textWidth,n3,v2&&v2.textOverflow,v2&&v2.fontWeight].join()}M&&!f3&&(m3=h3[M]);if(!m3){if(k3||q2.forExport){try{var w3=this.fakeTS&&function(b3){var c3=e3.querySelector(".highcharts-text-outline");c3&&p2(c3,{display:b3})};c2(w3)&&w3("none");m3=e3.getBBox?E2({},e3.getBBox()):{width:e3.offsetWidth,height:e3.offsetHeight,x:0,y:0};c2(w3)&&w3("")}catch(V2){}if(!m3||0>m3.width)m3={x:0,y:0,width:0,height:0}}else m3=this.htmlGetBBox();if(q2.isSVG&&(q2=m3.width,f3=m3.height,k3&&(m3.height=f3={"11px,17":14,"13px,20":16}[""+(G||"")+",".concat(Math.round(f3))]||f3),d3)){k3=Number(e3.getAttribute("y")||0)-m3.y;n3={right:1,center:.5}[n3||0]||0;v2=d3*t2;G=(d3-90)*t2;var J=q2*Math.cos(v2);d3=q2*Math.sin(v2);w3=Math.cos(G);v2=Math.sin(G);q2=m3.x+n3*(q2-J)+k3*w3;G=q2+J;w3=G-f3*w3;J=w3-J;k3=m3.y+k3-n3*d3+k3*v2;n3=k3+d3;f3=n3-f3*v2;d3=f3-d3;m3.x=Math.min(q2,G,w3,J);m3.y=Math.min(k3,n3,f3,d3);m3.width=Math.max(q2,G,w3,J)-m3.x;m3.height=Math.max(k3,n3,f3,d3)-m3.y}if(M&&(""===u3||0<m3.height)){for(;250<z3.length;)delete h3[z3.shift()];h3[M]||z3.push(M);h3[M]=m3}}return m3};a3.prototype.getStyle=function(b3){return d2.getComputedStyle(this.element||this,"").getPropertyValue(b3)};a3.prototype.hasClass=function(b3){return-1!==(""+this.attr("class")).split(" ").indexOf(b3)};a3.prototype.hide=function(){return this.attr({visibility:"hidden"})};a3.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}};a3.prototype.init=function(b3,c3){this.element="span"===c3?k2(c3):r2.createElementNS(this.SVG_NS,c3);this.renderer=b3;L2(this,"afterInit")};a3.prototype.on=function(b3,c3){var f3=this.onEvents;if(f3[b3])f3[b3]();f3[b3]=h2(this.element,b3,c3);return this};a3.prototype.opacitySetter=function(b3,c3,f3){this.opacity=b3=Number(Number(b3).toFixed(3));f3.setAttribute(c3,b3)};a3.prototype.removeClass=function(b3){return this.attr("class",(""+this.attr("class")).replace(w2(b3)?new RegExp("(^| )".concat(b3,"( |$)")):b3," ").replace(/ +/g," ").trim())};a3.prototype.removeTextOutline=function(){var b3=this.element.querySelector("tspan.highcharts-text-outline");b3&&this.safeRemoveChild(b3)};a3.prototype.safeRemoveChild=function(b3){var c3=b3.parentNode;c3&&c3.removeChild(b3)};a3.prototype.setRadialReference=function(b3){var c3=this.element.gradient&&this.renderer.gradients[this.element.gradient];this.element.radialReference=b3;c3&&c3.radAttr&&c3.animate(this.renderer.getRadialAttr(b3,c3.radAttr));return this};a3.prototype.setTextPath=function(b3,c3){var d3=this;c3=f2(true,{enabled:true,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},c3);var n3=this.renderer.url,e3=this.text||this,v2=e3.textPath,u3=c3.attributes,a4=c3.enabled;b3=b3||v2&&v2.path;v2&&v2.undo();b3&&a4?(c3=h2(e3,"afterModifyTree",(function(c4){if(b3&&a4){var f3=b3.attr("id");f3||b3.attr("id",f3=q());var v3={x:0,y:0};D2(u3.dx)&&(v3.dx=u3.dx,delete u3.dx);D2(u3.dy)&&(v3.dy=u3.dy,delete u3.dy);e3.attr(v3);d3.attr({transform:""});d3.box&&(d3.box=d3.box.destroy());v3=c4.nodes.slice(0);c4.nodes.length=0;c4.nodes[0]={tagName:"textPath",attributes:E2(u3,{"text-anchor":u3.textAnchor,href:""+n3+"#".concat(f3)}),children:v3}}})),e3.textPath={path:b3,undo:c3}):(e3.attr({dx:0,dy:0}),delete e3.textPath);this.added&&(e3.textCache="",this.renderer.buildText(e3));return this};a3.prototype.shadow=function(b3,c3,f3){var d3=[],e3=this.element,v2=this.oldShadowOptions,q2=this.parentGroup,u3=q2&&90===q2.rotation;q2={color:"#000000",offsetX:u3?-1:1,offsetY:u3?-1:1,opacity:.15,width:3};var a4=false,h3;true===b3?h3=q2:"object"===typeof b3&&(h3=E2(q2,b3));h3&&(h3&&v2&&n2(h3,(function(b4,c4){b4!==v2[c4]&&(a4=true)})),a4&&this.destroyShadows(),this.oldShadowOptions=h3);if(!h3)this.destroyShadows();else if(!this.shadows){q2=h3.opacity/h3.width;var G=u3?"translate(".concat(h3.offsetY,", ").concat(h3.offsetX,")"):"translate(".concat(h3.offsetX,", ").concat(h3.offsetY,")");for(u3=1;u3<=h3.width;u3++){var k3=e3.cloneNode(false);var z3=2*h3.width+1-2*u3;m2(k3,{stroke:b3.color||"#000000","stroke-opacity":q2*u3,"stroke-width":z3,transform:G,fill:"none"});k3.setAttribute("class",(k3.getAttribute("class")||"")+" highcharts-shadow");f3&&(m2(k3,"height",Math.max(m2(k3,"height")-z3,0)),k3.cutHeight=z3);c3?c3.element.appendChild(k3):e3.parentNode&&e3.parentNode.insertBefore(k3,e3);d3.push(k3)}this.shadows=d3}return this};a3.prototype.show=function(b3){void 0===b3&&(b3=true);return this.attr({visibility:b3?"inherit":"visible"})};a3.prototype["stroke-widthSetter"]=function(b3,c3,f3){this[c3]=b3;f3.setAttribute(c3,b3)};a3.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var b3=this.getStyle("stroke-width"),c3=0;if(b3.indexOf("px")===b3.length-2)c3=u2(b3);else if(""!==b3){var f3=r2.createElementNS(e2,"rect");m2(f3,{width:b3,"stroke-width":0});this.element.parentNode.appendChild(f3);c3=f3.getBBox().width;f3.parentNode.removeChild(f3)}return c3};a3.prototype.symbolAttr=function(c3){var f3=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(d3){f3[d3]=b2(c3[d3],f3[d3])}));f3.attr({d:f3.renderer.symbols[f3.symbolName](f3.x,f3.y,f3.width,f3.height,f3)})};a3.prototype.textSetter=function(b3){b3!==this.textStr&&(delete this.textPxLength,this.textStr=b3,this.added&&this.renderer.buildText(this))};a3.prototype.titleSetter=function(c3){var f3=this.element,d3=f3.getElementsByTagName("title")[0]||r2.createElementNS(this.SVG_NS,"title");f3.insertBefore?f3.insertBefore(d3,f3.firstChild):f3.appendChild(d3);d3.textContent=String(b2(c3,"")).replace(/<[^>]*>/g,"").replace(/</g,"<").replace(/>/g,">")};a3.prototype.toFront=function(){var b3=this.element;b3.parentNode.appendChild(b3);return this};a3.prototype.translate=function(b3,c3){return this.attr({translateX:b3,translateY:c3})};a3.prototype.updateShadows=function(b3,c3,f3){var d3=this.shadows;if(d3)for(var e3=d3.length;e3--;)f3.call(d3[e3],"height"===b3?Math.max(c3-(d3[e3].cutHeight||0),0):"d"===b3?this.d:c3,b3,d3[e3])};a3.prototype.updateTransform=function(){var c3=this.element,f3=this.matrix,d3=this.rotation;d3=void 0===d3?0:d3;var e3=this.scaleX,n3=this.scaleY,v2=this.translateX,q2=this.translateY;v2=["translate("+(void 0===v2?0:v2)+","+(void 0===q2?0:q2)+")"];D2(f3)&&v2.push("matrix("+f3.join(",")+")");d3&&v2.push("rotate("+d3+" "+b2(this.rotationOriginX,c3.getAttribute("x"),0)+" "+b2(this.rotationOriginY,c3.getAttribute("y")||0)+")");(D2(e3)||D2(n3))&&v2.push("scale("+b2(e3,1)+" "+b2(n3,1)+")");v2.length&&!(this.text||this).textPath&&c3.setAttribute("transform",v2.join(" "))};a3.prototype.visibilitySetter=function(b3,c3,f3){"inherit"===b3?f3.removeAttribute(c3):this[c3]!==b3&&f3.setAttribute(c3,b3);this[c3]=b3};a3.prototype.xGetter=function(b3){"circle"===this.element.nodeName&&("x"===b3?b3="cx":"y"===b3&&(b3="cy"));return this._defaultGetter(b3)};a3.prototype.zIndexSetter=function(b3,c3){var f3=this.renderer,d3=this.parentGroup,e3=(d3||f3).element||f3.box,v2=this.element;f3=e3===f3.box;var n3=false;var q2=this.added;var a4;D2(b3)?(v2.setAttribute("data-z-index",b3),b3=+b3,this[c3]===b3&&(q2=false)):D2(this[c3])&&v2.removeAttribute("data-z-index");this[c3]=b3;if(q2){(b3=this.zIndex)&&d3&&(d3.handleZ=true);c3=e3.childNodes;for(a4=c3.length-1;0<=a4&&!n3;a4--){d3=c3[a4];q2=d3.getAttribute("data-z-index");var h3=!D2(q2);if(d3!==v2){if(0>b3&&h3&&!f3&&!a4)e3.insertBefore(v2,c3[a4]),n3=true;else if(u2(q2)<=b3||h3&&(!D2(b3)||0<=b3))e3.insertBefore(v2,c3[a4+1]||null),n3=true}}n3||(e3.insertBefore(v2,c3[f3?3:0]||null),n3=true)}return n3};return a3}();a2.prototype.strokeSetter=a2.prototype.fillSetter;a2.prototype.yGetter=a2.prototype.xGetter;a2.prototype.matrixSetter=a2.prototype.rotationOriginXSetter=a2.prototype.rotationOriginYSetter=a2.prototype.rotationSetter=a2.prototype.scaleXSetter=a2.prototype.scaleYSetter=a2.prototype.translateXSetter=a2.prototype.translateYSetter=a2.prototype.verticalAlignSetter=function(b3,c3){this[c3]=b3;this.doTransform=true};return a2}));K(g2,"Core/Renderer/RendererRegistry.js",[g2["Core/Globals.js"]],(function(a2){var g3;(function(g4){g4.rendererTypes={};var A2;g4.getRendererType=function(a3){void 0===a3&&(a3=A2);return g4.rendererTypes[a3]||g4.rendererTypes[A2]};g4.registerRendererType=function(x2,B,H2){g4.rendererTypes[x2]=B;if(!A2||H2)A2=x2,a2.Renderer=B}})(g3||(g3={}));return g3}));K(g2,"Core/Renderer/SVG/SVGLabel.js",[g2["Core/Renderer/SVG/SVGElement.js"],g2["Core/Utilities.js"]],(function(a2,g3){var A2=this&&this.__extends||function(){var a3=function(e2,d2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d3,e3){d3.__proto__=e3}||function(d3,e3){for(var a4 in e3)e3.hasOwnProperty(a4)&&(d3[a4]=e3[a4])};return a3(e2,d2)};return function(e2,d2){function h2(){this.constructor=e2}a3(e2,d2);e2.prototype=null===d2?Object.create(d2):(h2.prototype=d2.prototype,new h2)}}(),F2=g3.defined,C2=g3.extend,B=g3.isNumber,H2=g3.merge,t2=g3.pick,r2=g3.removeEvent;return function(g4){function e2(d2,a3,m2,k2,p2,l2,I,E2,r3,y2){var c2=g4.call(this)||this;c2.paddingLeftSetter=c2.paddingSetter;c2.paddingRightSetter=c2.paddingSetter;c2.init(d2,"g");c2.textStr=a3;c2.x=m2;c2.y=k2;c2.anchorX=l2;c2.anchorY=I;c2.baseline=r3;c2.className=y2;c2.addClass("button"===y2?"highcharts-no-tooltip":"highcharts-label");y2&&c2.addClass("highcharts-"+y2);c2.text=d2.text(void 0,0,0,E2).attr({zIndex:1});var h2;"string"===typeof p2&&((h2=/^url\((.*?)\)$/.test(p2))||c2.renderer.symbols[p2])&&(c2.symbolKey=p2);c2.bBox=e2.emptyBBox;c2.padding=3;c2.baselineOffset=0;c2.needsBox=d2.styledMode||h2;c2.deferredAttr={};c2.alignFactor=0;return c2}A2(e2,g4);e2.prototype.alignSetter=function(d2){d2={left:0,center:.5,right:1}[d2];d2!==this.alignFactor&&(this.alignFactor=d2,this.bBox&&B(this.xSetting)&&this.attr({x:this.xSetting}))};e2.prototype.anchorXSetter=function(d2,e3){this.anchorX=d2;this.boxAttr(e3,Math.round(d2)-this.getCrispAdjust()-this.xSetting)};e2.prototype.anchorYSetter=function(d2,e3){this.anchorY=d2;this.boxAttr(e3,d2-this.ySetting)};e2.prototype.boxAttr=function(d2,e3){this.box?this.box.attr(d2,e3):this.deferredAttr[d2]=e3};e2.prototype.css=function(d2){if(d2){var h2={};d2=H2(d2);e2.textProps.forEach((function(e3){"undefined"!==typeof d2[e3]&&(h2[e3]=d2[e3],delete d2[e3])}));this.text.css(h2);"fontSize"in h2||"fontWeight"in h2?this.updateTextPadding():("width"in h2||"textOverflow"in h2)&&this.updateBoxSize()}return a2.prototype.css.call(this,d2)};e2.prototype.destroy=function(){r2(this.element,"mouseenter");r2(this.element,"mouseleave");this.text&&this.text.destroy();this.box&&(this.box=this.box.destroy());a2.prototype.destroy.call(this)};e2.prototype.fillSetter=function(d2,e3){d2&&(this.needsBox=true);this.fill=d2;this.boxAttr(e3,d2)};e2.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var d2=this.padding,e3=t2(this.paddingLeft,d2);return{width:this.width,height:this.height,x:this.bBox.x-e3,y:this.bBox.y-d2}};e2.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2};e2.prototype.heightSetter=function(d2){this.heightSetting=d2};e2.prototype.onAdd=function(){this.text.add(this);this.attr({text:t2(this.textStr,""),x:this.x||0,y:this.y||0});this.box&&F2(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})};e2.prototype.paddingSetter=function(d2,e3){B(d2)?d2!==this[e3]&&(this[e3]=d2,this.updateTextPadding()):this[e3]=void 0};e2.prototype.rSetter=function(d2,e3){this.boxAttr(e3,d2)};e2.prototype.shadow=function(d2){d2&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(d2));return this};e2.prototype.strokeSetter=function(d2,e3){this.stroke=d2;this.boxAttr(e3,d2)};e2.prototype["stroke-widthSetter"]=function(d2,e3){d2&&(this.needsBox=true);this["stroke-width"]=d2;this.boxAttr(e3,d2)};e2.prototype["text-alignSetter"]=function(d2){this.textAlign=d2};e2.prototype.textSetter=function(d2){"undefined"!==typeof d2&&this.text.attr({text:d2});this.updateTextPadding()};e2.prototype.updateBoxSize=function(){var d2=this.text,a3=d2.element.style,m2={},k2=this.padding,p2=this.bBox=B(this.widthSetting)&&B(this.heightSetting)&&!this.textAlign||!F2(d2.textStr)?e2.emptyBBox:d2.getBBox();this.width=this.getPaddedWidth();this.height=(this.heightSetting||p2.height||0)+2*k2;a3=this.renderer.fontMetrics(a3&&a3.fontSize,d2);this.baselineOffset=k2+Math.min((this.text.firstLineMetrics||a3).b,p2.height||Infinity);this.heightSetting&&(this.baselineOffset+=(this.heightSetting-a3.h)/2);this.needsBox&&!d2.textPath&&(this.box||(d2=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),d2.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),d2.add(this)),d2=this.getCrispAdjust(),m2.x=d2,m2.y=(this.baseline?-this.baselineOffset:0)+d2,m2.width=Math.round(this.width),m2.height=Math.round(this.height),this.box.attr(C2(m2,this.deferredAttr)),this.deferredAttr={})};e2.prototype.updateTextPadding=function(){var d2=this.text;if(!d2.textPath){this.updateBoxSize();var e3=this.baseline?0:this.baselineOffset,a3=t2(this.paddingLeft,this.padding);F2(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(a3+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));if(a3!==d2.x||e3!==d2.y)d2.attr("x",a3),d2.hasBoxWidthChanged&&(this.bBox=d2.getBBox(true)),"undefined"!==typeof e3&&d2.attr("y",e3);d2.x=a3;d2.y=e3}};e2.prototype.widthSetter=function(d2){this.widthSetting=B(d2)?d2:void 0};e2.prototype.getPaddedWidth=function(){var d2=this.padding,e3=t2(this.paddingLeft,d2);d2=t2(this.paddingRight,d2);return(this.widthSetting||this.bBox.width||0)+e3+d2};e2.prototype.xSetter=function(d2){this.x=d2;this.alignFactor&&(d2-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=true);this.xSetting=Math.round(d2);this.attr("translateX",this.xSetting)};e2.prototype.ySetter=function(d2){this.ySetting=this.y=Math.round(d2);this.attr("translateY",this.ySetting)};e2.emptyBBox={width:0,height:0,x:0,y:0};e2.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" ");return e2}(a2)}));K(g2,"Core/Renderer/SVG/Symbols.js",[g2["Core/Utilities.js"]],(function(a2){function g3(a3,g4,l2,e2,d2){var h2=[];if(d2){var m2=d2.start||0,k2=H2(d2.r,l2);l2=H2(d2.r,e2||l2);var p2=(d2.end||0)-.001;e2=d2.innerR;var D2=H2(d2.open,.001>Math.abs((d2.end||0)-m2-2*Math.PI)),I=Math.cos(m2),E2=Math.sin(m2),r2=Math.cos(p2),y2=Math.sin(p2);m2=H2(d2.longArc,.001>p2-m2-Math.PI?0:1);h2.push(["M",a3+k2*I,g4+l2*E2],["A",k2,l2,0,m2,H2(d2.clockwise,1),a3+k2*r2,g4+l2*y2]);C2(e2)&&h2.push(D2?["M",a3+e2*r2,g4+e2*y2]:["L",a3+e2*r2,g4+e2*y2],["A",e2,e2,0,m2,C2(d2.clockwise)?1-d2.clockwise:0,a3+e2*I,g4+e2*E2]);D2||h2.push(["Z"])}return h2}function x2(a3,g4,l2,e2,d2){return d2&&d2.r?F2(a3,g4,l2,e2,d2):[["M",a3,g4],["L",a3+l2,g4],["L",a3+l2,g4+e2],["L",a3,g4+e2],["Z"]]}function F2(a3,g4,l2,e2,d2){d2=d2&&d2.r||0;return[["M",a3+d2,g4],["L",a3+l2-d2,g4],["C",a3+l2,g4,a3+l2,g4,a3+l2,g4+d2],["L",a3+l2,g4+e2-d2],["C",a3+l2,g4+e2,a3+l2,g4+e2,a3+l2-d2,g4+e2],["L",a3+d2,g4+e2],["C",a3,g4+e2,a3,g4+e2,a3,g4+e2-d2],["L",a3,g4+d2],["C",a3,g4,a3,g4,a3+d2,g4]]}var C2=a2.defined,B=a2.isNumber,H2=a2.pick;return{arc:g3,callout:function(a3,g4,l2,e2,d2){var h2=Math.min(d2&&d2.r||0,l2,e2),m2=h2+6,k2=d2&&d2.anchorX;d2=d2&&d2.anchorY||0;var p2=F2(a3,g4,l2,e2,{r:h2});if(!B(k2))return p2;a3+k2>=l2?d2>g4+m2&&d2<g4+e2-m2?p2.splice(3,1,["L",a3+l2,d2-6],["L",a3+l2+6,d2],["L",a3+l2,d2+6],["L",a3+l2,g4+e2-h2]):p2.splice(3,1,["L",a3+l2,e2/2],["L",k2,d2],["L",a3+l2,e2/2],["L",a3+l2,g4+e2-h2]):0>=a3+k2?d2>g4+m2&&d2<g4+e2-m2?p2.splice(7,1,["L",a3,d2+6],["L",a3-6,d2],["L",a3,d2-6],["L",a3,g4+h2]):p2.splice(7,1,["L",a3,e2/2],["L",k2,d2],["L",a3,e2/2],["L",a3,g4+h2]):d2&&d2>e2&&k2>a3+m2&&k2<a3+l2-m2?p2.splice(5,1,["L",k2+6,g4+e2],["L",k2,g4+e2+6],["L",k2-6,g4+e2],["L",a3+h2,g4+e2]):d2&&0>d2&&k2>a3+m2&&k2<a3+l2-m2&&p2.splice(1,1,["L",k2-6,g4],["L",k2,g4-6],["L",k2+6,g4],["L",l2-h2,g4]);return p2},circle:function(a3,r2,l2,e2){return g3(a3+l2/2,r2+e2/2,l2/2,e2/2,{start:.5*Math.PI,end:2.5*Math.PI,open:false})},diamond:function(a3,g4,l2,e2){return[["M",a3+l2/2,g4],["L",a3+l2,g4+e2/2],["L",a3+l2/2,g4+e2],["L",a3,g4+e2/2],["Z"]]},rect:x2,roundedRect:F2,square:x2,triangle:function(a3,g4,l2,e2){return[["M",a3+l2/2,g4],["L",a3+l2,g4+e2],["L",a3,g4+e2],["Z"]]},"triangle-down":function(a3,g4,l2,e2){return[["M",a3,g4],["L",a3+l2,g4],["L",a3+l2/2,g4+e2],["Z"]]}}}));K(g2,"Core/Renderer/SVG/TextBuilder.js",[g2["Core/Renderer/HTML/AST.js"],g2["Core/Globals.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=g3.doc,C2=g3.SVG_NS,B=g3.win,H2=x2.attr,t2=x2.extend,r2=x2.fireEvent,l2=x2.isString,e2=x2.objectEach,d2=x2.pick;return function(){function h2(d3){var e3=d3.styles;this.renderer=d3.renderer;this.svgElement=d3;this.width=d3.textWidth;this.textLineHeight=e3&&e3.lineHeight;this.textOutline=e3&&e3.textOutline;this.ellipsis=!(!e3||"ellipsis"!==e3.textOverflow);this.noWrap=!(!e3||"nowrap"!==e3.whiteSpace);this.fontSize=e3&&e3.fontSize}h2.prototype.buildSVG=function(){var e3=this.svgElement,k2=e3.element,h3=e3.renderer,g4=d2(e3.textStr,"").toString(),I=-1!==g4.indexOf("<"),E2=k2.childNodes;h3=this.width&&!e3.added&&h3.box;var L2=/<br.*?>/g,y2=[g4,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(y2!==e3.textCache){e3.textCache=y2;delete e3.actualWidth;for(y2=E2.length;y2--;)k2.removeChild(E2[y2]);I||this.ellipsis||this.width||e3.textPath||-1!==g4.indexOf(" ")&&(!this.noWrap||L2.test(g4))?""!==g4&&(h3&&h3.appendChild(k2),g4=new a2(g4),this.modifyTree(g4.nodes),g4.addToDOM(k2),this.modifyDOM(),this.ellipsis&&-1!==(k2.textContent||"").indexOf("…")&&e3.attr("title",this.unescapeEntities(e3.textStr||"",["<",">"])),h3&&h3.removeChild(k2)):k2.appendChild(A2.createTextNode(this.unescapeEntities(g4)));l2(this.textOutline)&&e3.applyTextOutline&&e3.applyTextOutline(this.textOutline)}};h2.prototype.modifyDOM=function(){var d3=this,e3=this.svgElement,a3=H2(e3.element,"x");e3.firstLineMetrics=void 0;for(var h3;h3=e3.element.firstChild;)if(/^[\s\u200B]*$/.test(h3.textContent||" "))e3.element.removeChild(h3);else break;[].forEach.call(e3.element.querySelectorAll("tspan.highcharts-br"),(function(h4,c2){h4.nextSibling&&h4.previousSibling&&(0===c2&&1===h4.previousSibling.nodeType&&(e3.firstLineMetrics=e3.renderer.fontMetrics(void 0,h4.previousSibling)),H2(h4,{dy:d3.getLineHeight(h4.nextSibling),x:a3}))}));var g4=this.width||0;if(g4){var l3=function(h4,c2){var w2=h4.textContent||"",f2=w2.replace(/([^\^])-/g,"$1- ").split(" "),n2=!d3.noWrap&&(1<f2.length||1<e3.element.childNodes.length),b2=d3.getLineHeight(c2),u2=0,z2=e3.actualWidth;if(d3.ellipsis)w2&&d3.truncate(h4,w2,void 0,0,Math.max(0,g4-parseInt(d3.fontSize||12,10)),(function(b3,c3){return b3.substring(0,c3)+"…"}));else if(n2){w2=[];for(n2=[];c2.firstChild&&c2.firstChild!==h4;)n2.push(c2.firstChild),c2.removeChild(c2.firstChild);for(;f2.length;)f2.length&&!d3.noWrap&&0<u2&&(w2.push(h4.textContent||""),h4.textContent=f2.join(" ").replace(/- /g,"-")),d3.truncate(h4,void 0,f2,0===u2?z2||0:0,g4,(function(b3,c3){return f2.slice(0,c3).join(" ").replace(/- /g,"-")})),z2=e3.actualWidth,u2++;n2.forEach((function(b3){c2.insertBefore(b3,h4)}));w2.forEach((function(f3){c2.insertBefore(A2.createTextNode(f3),h4);f3=A2.createElementNS(C2,"tspan");f3.textContent="";H2(f3,{dy:b2,x:a3});c2.insertBefore(f3,h4)}))}},L2=function(d4){[].slice.call(d4.childNodes).forEach((function(c2){c2.nodeType===B.Node.TEXT_NODE?l3(c2,d4):(-1!==c2.className.baseVal.indexOf("highcharts-br")&&(e3.actualWidth=0),L2(c2))}))};L2(e3.element)}};h2.prototype.getLineHeight=function(d3){var e3;d3=d3.nodeType===B.Node.TEXT_NODE?d3.parentElement:d3;this.renderer.styledMode||(e3=d3&&/(px|em)$/.test(d3.style.fontSize)?d3.style.fontSize:this.fontSize||this.renderer.style.fontSize||12);return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e3,d3||this.svgElement.element).h};h2.prototype.modifyTree=function(d3){var e3=this,a3=function(h3,k2){var m2=h3.attributes;m2=void 0===m2?{}:m2;var p2=h3.children,g4=h3.style;g4=void 0===g4?{}:g4;var c2=h3.tagName,w2=e3.renderer.styledMode;if("b"===c2||"strong"===c2)w2?m2["class"]="highcharts-strong":g4.fontWeight="bold";else if("i"===c2||"em"===c2)w2?m2["class"]="highcharts-emphasized":g4.fontStyle="italic";g4&&g4.color&&(g4.fill=g4.color);"br"===c2?(m2["class"]="highcharts-br",h3.textContent="",(k2=d3[k2+1])&&k2.textContent&&(k2.textContent=k2.textContent.replace(/^ +/gm,""))):"a"===c2&&p2&&p2.some((function(c3){return"#text"===c3.tagName}))&&(h3.children=[{children:p2,tagName:"tspan"}]);"#text"!==c2&&"a"!==c2&&(h3.tagName="tspan");t2(h3,{attributes:m2,style:g4});p2&&p2.filter((function(c3){return"#text"!==c3.tagName})).forEach(a3)};d3.forEach(a3);r2(this.svgElement,"afterModifyTree",{nodes:d3})};h2.prototype.truncate=function(d3,e3,a3,h3,g4,l3){var k2=this.svgElement,m2=k2.renderer,c2=k2.rotation,w2=[],f2=a3?1:0,n2=(e3||a3||"").length,b2=n2,u2,z2=function(b3,c3){c3=c3||b3;var f3=d3.parentNode;if(f3&&"undefined"===typeof w2[c3])if(f3.getSubStringLength)try{w2[c3]=h3+f3.getSubStringLength(0,a3?c3+1:c3)}catch(Q){}else m2.getSpanWidth&&(d3.textContent=l3(e3||a3,b3),w2[c3]=h3+m2.getSpanWidth(k2,d3));return w2[c3]};k2.rotation=0;var q=z2(d3.textContent.length);if(h3+q>g4){for(;f2<=n2;)b2=Math.ceil((f2+n2)/2),a3&&(u2=l3(a3,b2)),q=z2(b2,u2&&u2.length-1),f2===n2?f2=n2+1:q>g4?n2=b2-1:f2=b2;0===n2?d3.textContent="":e3&&n2===e3.length-1||(d3.textContent=u2||l3(e3||a3,b2))}a3&&a3.splice(0,b2);k2.actualWidth=q;k2.rotation=c2};h2.prototype.unescapeEntities=function(d3,a3){e2(this.renderer.escapes,(function(e3,h3){a3&&-1!==a3.indexOf(e3)||(d3=d3.toString().replace(new RegExp(e3,"g"),h3))}));return d3};return h2}()}));K(g2,"Core/Renderer/SVG/SVGRenderer.js",[g2["Core/Renderer/HTML/AST.js"],g2["Core/Color/Color.js"],g2["Core/Globals.js"],g2["Core/Renderer/RendererRegistry.js"],g2["Core/Renderer/SVG/SVGElement.js"],g2["Core/Renderer/SVG/SVGLabel.js"],g2["Core/Renderer/SVG/Symbols.js"],g2["Core/Renderer/SVG/TextBuilder.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B,H2,t2,r2){var l2=x2.charts,e2=x2.deg2rad,d2=x2.doc,h2=x2.isFirefox,m2=x2.isMS,k2=x2.isWebKit,p2=x2.noop,D2=x2.SVG_NS,I=x2.symbolSizes,E2=x2.win,L2=r2.addEvent,y2=r2.attr,c2=r2.createElement,w2=r2.css,f2=r2.defined,n2=r2.destroyObjectProperties,b2=r2.extend,u2=r2.isArray,z2=r2.isNumber,q=r2.isObject,N=r2.isString,J=r2.merge,O2=r2.pick,Q=r2.pInt,A2=r2.uniqueKey,Y;x2=function(){function v2(b3,c3,f3,d3,e3,v3,a3){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0;this.init(b3,c3,f3,d3,e3,v3,a3)}v2.prototype.init=function(b3,c3,f3,e3,v3,a3,n3){var G=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),q2=G.element;n3||G.css(this.getStyle(e3));b3.appendChild(q2);y2(b3,"dir","ltr");-1===b3.innerHTML.indexOf("xmlns")&&y2(q2,"xmlns",this.SVG_NS);this.isSVG=true;this.box=q2;this.boxWrapper=G;this.alignedObjects=[];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(d2.createTextNode("Created with Highcharts 10.3.3"));this.defs=this.createElement("defs").add();this.allowHTML=a3;this.forExport=v3;this.styledMode=n3;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(c3,f3,false);var u3;h2&&b3.getBoundingClientRect&&(c3=function(){w2(b3,{left:0,top:0});u3=b3.getBoundingClientRect();w2(b3,{left:Math.ceil(u3.left)-u3.left+"px",top:Math.ceil(u3.top)-u3.top+"px"})},c3(),this.unSubPixelFix=L2(E2,"resize",c3))};v2.prototype.definition=function(b3){return new a2([b3]).addToDOM(this.defs.element)};v2.prototype.getReferenceURL=function(){if((h2||k2)&&d2.getElementsByTagName("base").length){if(!f2(Y)){var b3=A2();b3=new a2([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:b3},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(b3,")"),fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(d2.body);w2(b3,{position:"fixed",top:0,left:0,zIndex:9e5});var c3=d2.elementFromPoint(6,6);Y="hitme"===(c3&&c3.id);d2.body.removeChild(b3)}if(Y)return E2.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""};v2.prototype.getStyle=function(c3){return this.style=b2({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},c3)};v2.prototype.setStyle=function(b3){this.boxWrapper.css(this.getStyle(b3))};v2.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width};v2.prototype.destroy=function(){var b3=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();n2(this.gradients||{});this.gradients=null;b3&&(this.defs=b3.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null};v2.prototype.createElement=function(b3){var c3=new this.Element;c3.init(this,b3);return c3};v2.prototype.getRadialAttr=function(b3,c3){return{cx:b3[0]-b3[2]/2+(c3.cx||0)*b3[2],cy:b3[1]-b3[2]/2+(c3.cy||0)*b3[2],r:(c3.r||0)*b3[2]}};v2.prototype.buildText=function(b3){new t2(b3).buildSVG()};v2.prototype.getContrast=function(b3){b3=g3.parse(b3).rgba.map((function(b4){b4/=255;return.03928>=b4?b4/12.92:Math.pow((b4+.055)/1.055,2.4)}));b3=.2126*b3[0]+.7152*b3[1]+.0722*b3[2];return 1.05/(b3+.05)>(b3+.05)/.05?"#FFFFFF":"#000000"};v2.prototype.button=function(c3,f3,d3,e3,v3,n3,u3,h3,z3,w3){void 0===v3&&(v3={});var G=this.label(c3,f3,d3,z3,void 0,void 0,w3,void 0,"button"),k3=this.styledMode;c3=v3.states||{};var M=0;v3=J(v3);delete v3.states;var g4=J({color:"#333333",cursor:"pointer",fontWeight:"normal"},v3.style);delete v3.style;var p3=a2.filterUserAttributes(v3);G.attr(J({padding:8,r:2},p3));if(!k3){p3=J({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},p3);n3=J(p3,{fill:"#e6e6e6"},a2.filterUserAttributes(n3||c3.hover||{}));var U=n3.style;delete n3.style;u3=J(p3,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},a2.filterUserAttributes(u3||c3.select||{}));var P=u3.style;delete u3.style;h3=J(p3,{style:{color:"#cccccc"}},a2.filterUserAttributes(h3||c3.disabled||{}));var y3=h3.style;delete h3.style}L2(G.element,m2?"mouseover":"mouseenter",(function(){3!==M&&G.setState(1)}));L2(G.element,m2?"mouseout":"mouseleave",(function(){3!==M&&G.setState(M)}));G.setState=function(b3){1!==b3&&(G.state=M=b3);G.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][b3||0]);k3||(G.attr([p3,n3,u3,h3][b3||0]),b3=[g4,U,P,y3][b3||0],q(b3)&&G.css(b3))};k3||(G.attr(p3).css(b2({cursor:"default"},g4)),w3&&G.text.css({pointerEvents:"none"}));return G.on("touchstart",(function(b3){return b3.stopPropagation()})).on("click",(function(b3){3!==M&&e3.call(G,b3)}))};v2.prototype.crispLine=function(b3,c3,d3){void 0===d3&&(d3="round");var e3=b3[0],v3=b3[1];f2(e3[1])&&e3[1]===v3[1]&&(e3[1]=v3[1]=Math[d3](e3[1])-c3%2/2);f2(e3[2])&&e3[2]===v3[2]&&(e3[2]=v3[2]=Math[d3](e3[2])+c3%2/2);return b3};v2.prototype.path=function(c3){var f3=this.styledMode?{}:{fill:"none"};u2(c3)?f3.d=c3:q(c3)&&b2(f3,c3);return this.createElement("path").attr(f3)};v2.prototype.circle=function(b3,c3,f3){b3=q(b3)?b3:"undefined"===typeof b3?{}:{x:b3,y:c3,r:f3};c3=this.createElement("circle");c3.xSetter=c3.ySetter=function(b4,c4,f4){f4.setAttribute("c"+c4,b4)};return c3.attr(b3)};v2.prototype.arc=function(b3,c3,f3,d3,e3,v3){q(b3)?(d3=b3,c3=d3.y,f3=d3.r,b3=d3.x):d3={innerR:d3,start:e3,end:v3};b3=this.symbol("arc",b3,c3,f3,f3,d3);b3.r=f3;return b3};v2.prototype.rect=function(b3,c3,f3,d3,e3,v3){e3=q(b3)?b3.r:e3;var a3=this.createElement("rect");b3=q(b3)?b3:"undefined"===typeof b3?{}:{x:b3,y:c3,width:Math.max(f3,0),height:Math.max(d3,0)};this.styledMode||("undefined"!==typeof v3&&(b3["stroke-width"]=v3,b3=a3.crisp(b3)),b3.fill="none");e3&&(b3.r=e3);a3.rSetter=function(b4,c4,f4){a3.r=b4;y2(f4,{rx:b4,ry:b4})};a3.rGetter=function(){return a3.r||0};return a3.attr(b3)};v2.prototype.setSize=function(b3,c3,f3){this.width=b3;this.height=c3;this.boxWrapper.animate({width:b3,height:c3},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:O2(f3,true)?void 0:0});this.alignElements()};v2.prototype.g=function(b3){var c3=this.createElement("g");return b3?c3.attr({class:"highcharts-"+b3}):c3};v2.prototype.image=function(b3,c3,f3,d3,e3,v3){var a3={preserveAspectRatio:"none"},n3=function(b4,c4){b4.setAttributeNS?b4.setAttributeNS("http://www.w3.org/1999/xlink","href",c4):b4.setAttribute("hc-svg-href",c4)};z2(c3)&&(a3.x=c3);z2(f3)&&(a3.y=f3);z2(d3)&&(a3.width=d3);z2(e3)&&(a3.height=e3);var G=this.createElement("image").attr(a3);c3=function(c4){n3(G.element,b3);v3.call(G,c4)};v3?(n3(G.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),f3=new E2.Image,L2(f3,"load",c3),f3.src=b3,f3.complete&&c3({})):n3(G.element,b3);return G};v2.prototype.symbol=function(e3,v3,a3,n3,G,q2){var u3=this,h3=/^url\((.*?)\)$/,z3=h3.test(e3),k3=!z3&&(this.symbols[e3]?e3:"circle"),g4=k3&&this.symbols[k3],m3;if(g4){"number"===typeof v3&&(m3=g4.call(this.symbols,Math.round(v3||0),Math.round(a3||0),n3||0,G||0,q2));var p3=this.path(m3);u3.styledMode||p3.attr("fill","none");b2(p3,{symbolName:k3||void 0,x:v3,y:a3,width:n3,height:G});q2&&b2(p3,q2)}else if(z3){var P=e3.match(h3)[1];var U=p3=this.image(P);U.imgwidth=O2(I[P]&&I[P].width,q2&&q2.width);U.imgheight=O2(I[P]&&I[P].height,q2&&q2.height);var N2=function(b3){return b3.attr({width:b3.width,height:b3.height})};["width","height"].forEach((function(b3){U[b3+"Setter"]=function(b4,c3){this[c3]=b4;b4=this.alignByTranslate;var d3=this.element,e4=this.width,v4=this.height,a4=this.imgwidth,n4=this.imgheight,G2=this["img"+c3];if(f2(G2)){var u4=1;q2&&"within"===q2.backgroundSize&&e4&&v4?(u4=Math.min(e4/a4,v4/n4),G2=Math.round(G2*u4),y2(d3,{width:Math.round(a4*u4),height:Math.round(n4*u4)})):d3&&d3.setAttribute(c3,G2);b4||this.translate(((e4||0)-G2*u4)/2,((v4||0)-G2*u4)/2)}}}));f2(v3)&&U.attr({x:v3,y:a3});U.isImg=true;f2(U.imgwidth)&&f2(U.imgheight)?N2(U):(U.attr({width:0,height:0}),c2("img",{onload:function(){var b3=l2[u3.chartIndex];0===this.width&&(w2(this,{position:"absolute",top:"-999em"}),d2.body.appendChild(this));I[P]={width:this.width,height:this.height};U.imgwidth=this.width;U.imgheight=this.height;U.element&&N2(U);this.parentNode&&this.parentNode.removeChild(this);u3.imgCount--;if(!u3.imgCount&&b3&&!b3.hasLoaded)b3.onload()},src:P}),this.imgCount++)}return p3};v2.prototype.clipRect=function(b3,c3,f3,d3){var e3=A2()+"-",v3=this.createElement("clipPath").attr({id:e3}).add(this.defs);b3=this.rect(b3,c3,f3,d3,0).add(v3);b3.id=e3;b3.clipPath=v3;b3.count=0;return b3};v2.prototype.text=function(b3,c3,d3,e3){var v3={};if(e3&&(this.allowHTML||!this.forExport))return this.html(b3,c3,d3);v3.x=Math.round(c3||0);d3&&(v3.y=Math.round(d3));f2(b3)&&(v3.text=b3);b3=this.createElement("text").attr(v3);if(!e3||this.forExport&&!this.allowHTML)b3.xSetter=function(b4,c4,f3){for(var d4=f3.getElementsByTagName("tspan"),e4=f3.getAttribute(c4),v4=0,a3;v4<d4.length;v4++)a3=d4[v4],a3.getAttribute(c4)===e4&&a3.setAttribute(c4,b4);f3.setAttribute(c4,b4)};return b3};v2.prototype.fontMetrics=function(b3,c3){b3=!this.styledMode&&/px/.test(b3)||!E2.getComputedStyle?b3||c3&&c3.style&&c3.style.fontSize||this.style&&this.style.fontSize:c3&&C2.prototype.getStyle.call(c3,"font-size");b3=/px/.test(b3)?Q(b3):12;c3=24>b3?b3+3:Math.round(1.2*b3);return{h:c3,b:Math.round(.8*c3),f:b3}};v2.prototype.rotCorr=function(b3,c3,f3){var d3=b3;c3&&f3&&(d3=Math.max(d3*Math.cos(c3*e2),4));return{x:-b3/3*Math.sin(c3*e2),y:d3}};v2.prototype.pathToSegments=function(b3){for(var c3=[],f3=[],d3={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},e3=0;e3<b3.length;e3++)N(f3[0])&&z2(b3[e3])&&f3.length===d3[f3[0].toUpperCase()]&&b3.splice(e3,0,f3[0].replace("M","L").replace("m","l")),"string"===typeof b3[e3]&&(f3.length&&c3.push(f3.slice(0)),f3.length=0),f3.push(b3[e3]);c3.push(f3.slice(0));return c3};v2.prototype.label=function(b3,c3,f3,d3,e3,v3,a3,n3,q2){return new B(this,b3,c3,f3,d3,e3,v3,a3,n3,q2)};v2.prototype.alignElements=function(){this.alignedObjects.forEach((function(b3){return b3.align()}))};return v2}();b2(x2.prototype,{Element:C2,SVG_NS:D2,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:H2,draw:p2});F2.registerRendererType("svg",x2,true);return x2}));K(g2,"Core/Renderer/HTML/HTMLElement.js",[g2["Core/Globals.js"],g2["Core/Renderer/SVG/SVGElement.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=this&&this.__extends||function(){var d3=function(e3,a3){d3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d4,e4){d4.__proto__=e4}||function(d4,e4){for(var a4 in e4)e4.hasOwnProperty(a4)&&(d4[a4]=e4[a4])};return d3(e3,a3)};return function(e3,a3){function h3(){this.constructor=e3}d3(e3,a3);e3.prototype=null===a3?Object.create(a3):(h3.prototype=a3.prototype,new h3)}}(),C2=a2.isFirefox,B=a2.isMS,H2=a2.isWebKit,t2=a2.win,r2=x2.css,l2=x2.defined,e2=x2.extend,d2=x2.pick,h2=x2.pInt;return function(a3){function k2(){return null!==a3&&a3.apply(this,arguments)||this}A2(k2,a3);k2.compose=function(d3){if(-1===k2.composedClasses.indexOf(d3)){k2.composedClasses.push(d3);var e3=k2.prototype,a4=d3.prototype;a4.getSpanCorrection=e3.getSpanCorrection;a4.htmlCss=e3.htmlCss;a4.htmlGetBBox=e3.htmlGetBBox;a4.htmlUpdateTransform=e3.htmlUpdateTransform;a4.setSpanRotation=e3.setSpanRotation}return d3};k2.prototype.getSpanCorrection=function(d3,e3,a4){this.xCorr=-d3*a4;this.yCorr=-e3};k2.prototype.htmlCss=function(a4){var h3="SPAN"===this.element.tagName&&a4&&"width"in a4,k3=d2(h3&&a4.width,void 0);if(h3){delete a4.width;this.textWidth=k3;var g4=true}a4&&"ellipsis"===a4.textOverflow&&(a4.whiteSpace="nowrap",a4.overflow="hidden");this.styles=e2(this.styles,a4);r2(this.element,a4);g4&&this.htmlUpdateTransform();return this};k2.prototype.htmlGetBBox=function(){var d3=this.element;return{x:d3.offsetLeft,y:d3.offsetTop,width:d3.offsetWidth,height:d3.offsetHeight}};k2.prototype.htmlUpdateTransform=function(){if(this.added){var d3=this.renderer,e3=this.element,a4=this.translateX||0,k3=this.translateY||0,g4=this.x||0,m2=this.y||0,c2=this.textAlign||"left",w2={left:0,center:.5,right:1}[c2],f2=this.styles;f2=f2&&f2.whiteSpace;r2(e3,{marginLeft:a4,marginTop:k3});!d3.styledMode&&this.shadows&&this.shadows.forEach((function(b3){r2(b3,{marginLeft:a4+1,marginTop:k3+1})}));this.inverted&&[].forEach.call(e3.childNodes,(function(b3){d3.invertChild(b3,e3)}));if("SPAN"===e3.tagName){var n2=this.rotation,b2=this.textWidth&&h2(this.textWidth),u2=[n2,c2,e3.innerHTML,this.textWidth,this.textAlign].join(),z2=void 0;z2=false;if(b2!==this.oldTextWidth){if(this.textPxLength)var q=this.textPxLength;else r2(e3,{width:"",whiteSpace:f2||"nowrap"}),q=e3.offsetWidth;(b2>this.oldTextWidth||q>b2)&&(/[ \-]/.test(e3.textContent||e3.innerText)||"ellipsis"===e3.style.textOverflow)&&(r2(e3,{width:q>b2||n2?b2+"px":"auto",display:"block",whiteSpace:f2||"normal"}),this.oldTextWidth=b2,z2=true)}this.hasBoxWidthChanged=z2;u2!==this.cTT&&(z2=d3.fontMetrics(e3.style.fontSize,e3).b,!l2(n2)||n2===(this.oldRotation||0)&&c2===this.oldAlign||this.setSpanRotation(n2,w2,z2),this.getSpanCorrection(!l2(n2)&&this.textPxLength||e3.offsetWidth,z2,w2,n2,c2));r2(e3,{left:g4+(this.xCorr||0)+"px",top:m2+(this.yCorr||0)+"px"});this.cTT=u2;this.oldRotation=n2;this.oldAlign=c2}}else this.alignOnAdd=true};k2.prototype.setSpanRotation=function(d3,e3,a4){var h3={},k3=B&&!/Edge/.test(t2.navigator.userAgent)?"-ms-transform":H2?"-webkit-transform":C2?"MozTransform":t2.opera?"-o-transform":void 0;k3&&(h3[k3]=h3.transform="rotate("+d3+"deg)",h3[k3+(C2?"Origin":"-origin")]=h3.transformOrigin=100*e3+"% "+a4+"px",r2(this.element,h3))};k2.composedClasses=[];return k2}(g3)}));K(g2,"Core/Renderer/HTML/HTMLRenderer.js",[g2["Core/Renderer/HTML/AST.js"],g2["Core/Renderer/SVG/SVGElement.js"],g2["Core/Renderer/SVG/SVGRenderer.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2){var A2=this&&this.__extends||function(){var a3=function(e2,d2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d3,e3){d3.__proto__=e3}||function(d3,e3){for(var a4 in e3)e3.hasOwnProperty(a4)&&(d3[a4]=e3[a4])};return a3(e2,d2)};return function(e2,d2){function h2(){this.constructor=e2}a3(e2,d2);e2.prototype=null===d2?Object.create(d2):(h2.prototype=d2.prototype,new h2)}}(),B=F2.attr,H2=F2.createElement,t2=F2.extend,r2=F2.pick;return function(l2){function e2(){return null!==l2&&l2.apply(this,arguments)||this}A2(e2,l2);e2.compose=function(d2){-1===e2.composedClasses.indexOf(d2)&&(e2.composedClasses.push(d2),d2.prototype.html=e2.prototype.html);return d2};e2.prototype.html=function(d2,e3,m2){var h2=this.createElement("span"),p2=h2.element,l3=h2.renderer,I=l3.isSVG,E2=function(d3,e4){["opacity","visibility"].forEach((function(c2){d3[c2+"Setter"]=function(a3,f2,n2){var b2=d3.div?d3.div.style:e4;g3.prototype[c2+"Setter"].call(this,a3,f2,n2);b2&&(b2[f2]=a3)}}));d3.addedSetters=true};h2.textSetter=function(d3){d3!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,a2.setElementHTML(this.element,r2(d3,"")),this.textStr=d3,h2.doTransform=true)};I&&E2(h2,h2.element.style);h2.xSetter=h2.ySetter=h2.alignSetter=h2.rotationSetter=function(d3,e4){"align"===e4?h2.alignValue=h2.textAlign=d3:h2[e4]=d3;h2.doTransform=true};h2.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=false)};h2.attr({text:d2,x:Math.round(e3),y:Math.round(m2)}).css({position:"absolute"});l3.styledMode||h2.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});p2.style.whiteSpace="nowrap";h2.css=h2.htmlCss;I&&(h2.add=function(d3){var e4=l3.box.parentNode,c2=[];if(this.parentGroup=d3){var a3=d3.div;if(!a3){for(;d3;)c2.push(d3),d3=d3.parentGroup;c2.reverse().forEach((function(f2){function d4(b3,c3){f2[c3]=b3;"translateX"===c3?z2.left=b3+"px":z2.top=b3+"px";f2.doTransform=true}var b2=B(f2.element,"class"),u2=f2.styles||{};a3=f2.div=f2.div||H2("div",b2?{className:b2}:void 0,{position:"absolute",left:(f2.translateX||0)+"px",top:(f2.translateY||0)+"px",display:f2.display,opacity:f2.opacity,cursor:u2.cursor,pointerEvents:u2.pointerEvents,visibility:f2.visibility},a3||e4);var z2=a3.style;t2(f2,{classSetter:function(b3){return function(c3){this.element.setAttribute("class",c3);b3.className=c3}}(a3),on:function(){c2[0].div&&h2.on.apply({element:c2[0].div,onEvents:f2.onEvents},arguments);return f2},translateXSetter:d4,translateYSetter:d4});f2.addedSetters||E2(f2)}))}}else a3=e4;a3.appendChild(p2);h2.added=true;h2.alignOnAdd&&h2.htmlUpdateTransform();return h2});return h2};e2.composedClasses=[];return e2}(x2)}));K(g2,"Core/Axis/AxisDefaults.js",[],(function(){var a2;(function(a3){a3.defaultXAxisOptions={alignTicks:true,allowDecimals:void 0,panningEnabled:true,zIndex:2,zoomEnabled:true,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:false},second:{main:"%H:%M:%S",range:false},minute:{main:"%H:%M",range:false},hour:{main:"%H:%M",range:false},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:false,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:true,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:false,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:false,reversed:void 0,reversedStacks:false,showEmpty:true,showFirstLabel:true,showLastLabel:true,startOfWeek:1,startOnTick:false,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:false,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:true,visible:true,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"};a3.defaultYAxisOptions={reversedStacks:true,endOnTick:true,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:true,labels:{x:-8},startOnTick:true,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:false,enabled:false,crop:true,overflow:"justify",formatter:function(){var a4=this.axis.chart.numberFormatter;return a4(this.total||0,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};a3.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}};a3.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}};a3.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};a3.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}})(a2||(a2={}));return a2}));K(g2,"Core/Foundation.js",[g2["Core/Utilities.js"]],(function(a2){var g3=a2.addEvent,x2=a2.isFunction,F2=a2.objectEach,C2=a2.removeEvent,B;(function(a3){a3.registerEventOptions=function(a4,r2){a4.eventOptions=a4.eventOptions||{};F2(r2.events,(function(l2,e2){a4.eventOptions[e2]!==l2&&(a4.eventOptions[e2]&&(C2(a4,e2,a4.eventOptions[e2]),delete a4.eventOptions[e2]),x2(l2)&&(a4.eventOptions[e2]=l2,g3(a4,e2,l2)))}))}})(B||(B={}));return B}));K(g2,"Core/Axis/Tick.js",[g2["Core/FormatUtilities.js"],g2["Core/Globals.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=g3.deg2rad,C2=x2.clamp,B=x2.correctFloat,H2=x2.defined,t2=x2.destroyObjectProperties,r2=x2.extend,l2=x2.fireEvent,e2=x2.isNumber,d2=x2.merge,h2=x2.objectEach,m2=x2.pick;g3=function(){function g4(d3,e3,a3,h3,g5){this.isNewLabel=this.isNew=true;this.axis=d3;this.pos=e3;this.type=a3||"";this.parameters=g5||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;l2(this,"init");a3||h3||this.addLabel()}g4.prototype.addLabel=function(){var d3=this,h3=d3.axis,g5=h3.options,k2=h3.chart,L2=h3.categories,y2=h3.logarithmic,c2=h3.names,w2=d3.pos,f2=m2(d3.options&&d3.options.labels,g5.labels),n2=h3.tickPositions,b2=w2===n2[0],u2=w2===n2[n2.length-1],z2=(!f2.step||1===f2.step)&&1===h3.tickInterval;n2=n2.info;var q=d3.label,N;L2=this.parameters.category||(L2?m2(L2[w2],c2[w2],w2):w2);y2&&e2(L2)&&(L2=B(y2.lin2log(L2)));if(h3.dateTime)if(n2){var J=k2.time.resolveDTLFormat(g5.dateTimeLabelFormats[!g5.grid&&n2.higherRanks[w2]||n2.unitName]);var O2=J.main}else e2(L2)&&(O2=h3.dateTime.getXDateFormat(L2,g5.dateTimeLabelFormats||{}));d3.isFirst=b2;d3.isLast=u2;var Q={axis:h3,chart:k2,dateTimeLabelFormat:O2,isFirst:b2,isLast:u2,pos:w2,tick:d3,tickPositionInfo:n2,value:L2};l2(this,"labelFormat",Q);var t3=function(b3){return f2.formatter?f2.formatter.call(b3,b3):f2.format?(b3.text=h3.defaultLabelFormatter.call(b3,b3),a2.format(f2.format,b3,k2)):h3.defaultLabelFormatter.call(b3,b3)};g5=t3.call(Q,Q);var Y=J&&J.list;d3.shortenLabel=Y?function(){for(N=0;N<Y.length;N++)if(r2(Q,{dateTimeLabelFormat:Y[N]}),q.attr({text:t3.call(Q,Q)}),q.getBBox().width<h3.getSlotWidth(d3)-2*f2.padding)return;q.attr({text:""})}:void 0;z2&&h3._addedPlotLB&&d3.moveLabel(g5,f2);H2(q)||d3.movedLabel?q&&q.textStr!==g5&&!z2&&(!q.textWidth||f2.style.width||q.styles.width||q.css({width:null}),q.attr({text:g5}),q.textPxLength=q.getBBox().width):(d3.label=q=d3.createLabel({x:0,y:0},g5,f2),d3.rotation=0)};g4.prototype.createLabel=function(e3,a3,h3){var g5=this.axis,k2=g5.chart;if(e3=H2(a3)&&h3.enabled?k2.renderer.text(a3,e3.x,e3.y,h3.useHTML).add(g5.labelGroup):null)k2.styledMode||e3.css(d2(h3.style)),e3.textPxLength=e3.getBBox().width;return e3};g4.prototype.destroy=function(){t2(this,this.axis)};g4.prototype.getPosition=function(d3,e3,a3,h3){var g5=this.axis,k2=g5.chart,c2=h3&&k2.oldChartHeight||k2.chartHeight;d3={x:d3?B(g5.translate(e3+a3,void 0,void 0,h3)+g5.transB):g5.left+g5.offset+(g5.opposite?(h3&&k2.oldChartWidth||k2.chartWidth)-g5.right-g5.left:0),y:d3?c2-g5.bottom+g5.offset-(g5.opposite?g5.height:0):B(c2-g5.translate(e3+a3,void 0,void 0,h3)-g5.transB)};d3.y=C2(d3.y,-1e5,1e5);l2(this,"afterGetPosition",{pos:d3});return d3};g4.prototype.getLabelPosition=function(d3,e3,a3,h3,g5,k2,c2,w2){var f2=this.axis,n2=f2.transA,b2=f2.isLinked&&f2.linkedParent?f2.linkedParent.reversed:f2.reversed,u2=f2.staggerLines,z2=f2.tickRotCorr||{x:0,y:0},q=h3||f2.reserveSpaceDefault?0:-f2.labelOffset*("center"===f2.labelAlign?.5:1),m3={};a3=0===f2.side?a3.rotation?-8:-a3.getBBox().height:2===f2.side?z2.y+8:Math.cos(a3.rotation*A2)*(z2.y-a3.getBBox(false,0).height/2);H2(g5.y)&&(a3=0===f2.side&&f2.horiz?g5.y+a3:g5.y);d3=d3+g5.x+q+z2.x-(k2&&h3?k2*n2*(b2?-1:1):0);e3=e3+a3-(k2&&!h3?k2*n2*(b2?1:-1):0);u2&&(h3=c2/(w2||1)%u2,f2.opposite&&(h3=u2-h3-1),e3+=f2.labelOffset/u2*h3);m3.x=d3;m3.y=Math.round(e3);l2(this,"afterGetLabelPosition",{pos:m3,tickmarkOffset:k2,index:c2});return m3};g4.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0};g4.prototype.getMarkPath=function(d3,e3,a3,h3,g5,k2){return k2.crispLine([["M",d3,e3],["L",d3+(g5?0:-a3),e3+(g5?a3:0)]],h3)};g4.prototype.handleOverflow=function(d3){var e3=this.axis,a3=e3.options.labels,h3=d3.x,g5=e3.chart.chartWidth,k2=e3.chart.spacing,c2=m2(e3.labelLeft,Math.min(e3.pos,k2[3]));k2=m2(e3.labelRight,Math.max(e3.isRadial?0:e3.pos+e3.len,g5-k2[1]));var w2=this.label,f2=this.rotation,n2={left:0,center:.5,right:1}[e3.labelAlign||w2.attr("align")],b2=w2.getBBox().width,u2=e3.getSlotWidth(this),z2={},q=u2,p2=1,l3;if(f2||"justify"!==a3.overflow)0>f2&&h3-n2*b2<c2?l3=Math.round(h3/Math.cos(f2*A2)-c2):0<f2&&h3+n2*b2>k2&&(l3=Math.round((g5-h3)/Math.cos(f2*A2)));else if(g5=h3+(1-n2)*b2,h3-n2*b2<c2?q=d3.x+q*(1-n2)-c2:g5>k2&&(q=k2-d3.x+q*n2,p2=-1),q=Math.min(u2,q),q<u2&&"center"===e3.labelAlign&&(d3.x+=p2*(u2-q-n2*(u2-Math.min(b2,q)))),b2>q||e3.autoRotation&&(w2.styles||{}).width)l3=q;l3&&(this.shortenLabel?this.shortenLabel():(z2.width=Math.floor(l3)+"px",(a3.style||{}).textOverflow||(z2.textOverflow="ellipsis"),w2.css(z2)))};g4.prototype.moveLabel=function(d3,e3){var a3=this,g5=a3.label,k2=a3.axis,m3=k2.reversed,c2=false;g5&&g5.textStr===d3?(a3.movedLabel=g5,c2=true,delete a3.label):h2(k2.ticks,(function(f2){c2||f2.isNew||f2===a3||!f2.label||f2.label.textStr!==d3||(a3.movedLabel=f2.label,c2=true,f2.labelPos=a3.movedLabel.xy,delete f2.label)}));if(!c2&&(a3.labelPos||g5)){var w2=a3.labelPos||g5.xy;g5=k2.horiz?m3?0:k2.width+k2.left:w2.x;k2=k2.horiz?w2.y:m3?k2.width+k2.left:0;a3.movedLabel=a3.createLabel({x:g5,y:k2},d3,e3);a3.movedLabel&&a3.movedLabel.attr({opacity:0})}};g4.prototype.render=function(d3,e3,a3){var h3=this.axis,g5=h3.horiz,k2=this.pos,c2=m2(this.tickmarkOffset,h3.tickmarkOffset);k2=this.getPosition(g5,k2,c2,e3);c2=k2.x;var w2=k2.y;h3=g5&&c2===h3.pos+h3.len||!g5&&w2===h3.pos?-1:1;g5=m2(a3,this.label&&this.label.newOpacity,1);a3=m2(a3,1);this.isActive=true;this.renderGridLine(e3,a3,h3);this.renderMark(k2,a3,h3);this.renderLabel(k2,e3,g5,d3);this.isNew=false;l2(this,"afterRender")};g4.prototype.renderGridLine=function(d3,e3,a3){var h3=this.axis,g5=h3.options,k2={},c2=this.pos,w2=this.type,f2=m2(this.tickmarkOffset,h3.tickmarkOffset),n2=h3.chart.renderer,b2=this.gridLine,u2=g5.gridLineWidth,z2=g5.gridLineColor,q=g5.gridLineDashStyle;"minor"===this.type&&(u2=g5.minorGridLineWidth,z2=g5.minorGridLineColor,q=g5.minorGridLineDashStyle);b2||(h3.chart.styledMode||(k2.stroke=z2,k2["stroke-width"]=u2||0,k2.dashstyle=q),w2||(k2.zIndex=1),d3&&(e3=0),this.gridLine=b2=n2.path().attr(k2).addClass("highcharts-"+(w2?w2+"-":"")+"grid-line").add(h3.gridGroup));if(b2&&(a3=h3.getPlotLinePath({value:c2+f2,lineWidth:b2.strokeWidth()*a3,force:"pass",old:d3,acrossPanes:false})))b2[d3||this.isNew?"attr":"animate"]({d:a3,opacity:e3})};g4.prototype.renderMark=function(d3,e3,a3){var h3=this.axis,g5=h3.options,k2=h3.chart.renderer,c2=this.type,w2=h3.tickSize(c2?c2+"Tick":"tick"),f2=d3.x;d3=d3.y;var n2=m2(g5["minor"!==c2?"tickWidth":"minorTickWidth"],!c2&&h3.isXAxis?1:0);g5=g5["minor"!==c2?"tickColor":"minorTickColor"];var b2=this.mark,u2=!b2;w2&&(h3.opposite&&(w2[0]=-w2[0]),b2||(this.mark=b2=k2.path().addClass("highcharts-"+(c2?c2+"-":"")+"tick").add(h3.axisGroup),h3.chart.styledMode||b2.attr({stroke:g5,"stroke-width":n2})),b2[u2?"attr":"animate"]({d:this.getMarkPath(f2,d3,w2[0],b2.strokeWidth()*a3,h3.horiz,k2),opacity:e3}))};g4.prototype.renderLabel=function(d3,a3,h3,g5){var k2=this.axis,l3=k2.horiz,c2=k2.options,w2=this.label,f2=c2.labels,n2=f2.step;k2=m2(this.tickmarkOffset,k2.tickmarkOffset);var b2=d3.x;d3=d3.y;var u2=true;w2&&e2(b2)&&(w2.xy=d3=this.getLabelPosition(b2,d3,w2,l3,f2,k2,g5,n2),this.isFirst&&!this.isLast&&!c2.showFirstLabel||this.isLast&&!this.isFirst&&!c2.showLastLabel?u2=false:!l3||f2.step||f2.rotation||a3||0===h3||this.handleOverflow(d3),n2&&g5%n2&&(u2=false),u2&&e2(d3.y)?(d3.opacity=h3,w2[this.isNewLabel?"attr":"animate"](d3).show(true),this.isNewLabel=false):(w2.hide(),this.isNewLabel=true))};g4.prototype.replaceMovedLabel=function(){var d3=this.label,e3=this.axis,a3=e3.reversed;if(d3&&!this.isNew){var h3=e3.horiz?a3?e3.left:e3.width+e3.left:d3.xy.x;a3=e3.horiz?d3.xy.y:a3?e3.width+e3.top:e3.top;d3.animate({x:h3,y:a3,opacity:0},void 0,d3.destroy);delete this.label}e3.isDirty=true;this.label=this.movedLabel;delete this.movedLabel};return g4}();return g3}));K(g2,"Core/Axis/Axis.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Axis/AxisDefaults.js"],g2["Core/Color/Color.js"],g2["Core/Defaults.js"],g2["Core/Foundation.js"],g2["Core/Globals.js"],g2["Core/Axis/Tick.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B,H2,t2){var r2=a2.animObject,l2=F2.defaultOptions,e2=C2.registerEventOptions,d2=B.deg2rad,h2=t2.arrayMax,m2=t2.arrayMin,k2=t2.clamp,p2=t2.correctFloat,D2=t2.defined,I=t2.destroyObjectProperties,E2=t2.erase,A2=t2.error,y2=t2.extend,c2=t2.fireEvent,w2=t2.isArray,f2=t2.isNumber,n2=t2.isString,b2=t2.merge,u2=t2.normalizeTickInterval,z2=t2.objectEach,q=t2.pick,N=t2.relativeLength,J=t2.removeEvent,O2=t2.splat,Q=t2.syncTimeout,T2=function(b3,c3){return u2(c3,void 0,void 0,q(b3.options.allowDecimals,.5>c3||void 0!==b3.tickAmount),!!b3.tickAmount)};a2=function(){function a3(b3,c3){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0;this.init(b3,c3)}a3.prototype.init=function(b3,d3){var a4=d3.isX;this.chart=b3;this.horiz=b3.inverted&&!this.isZAxis?!a4:a4;this.isXAxis=a4;this.coll=this.coll||(a4?"xAxis":"yAxis");c2(this,"init",{userOptions:d3});this.opposite=q(d3.opposite,this.opposite);this.side=q(d3.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3);this.setOptions(d3);var v2=this.options,n3=v2.labels,h3=v2.type;this.userOptions=d3;this.minPixelPadding=0;this.reversed=q(v2.reversed,this.reversed);this.visible=v2.visible;this.zoomEnabled=v2.zoomEnabled;this.hasNames="category"===h3||true===v2.categories;this.categories=v2.categories||(this.hasNames?[]:void 0);this.names||(this.names=[],this.names.keys={});this.plotLinesAndBandsGroups={};this.positiveValuesOnly=!!this.logarithmic;this.isLinked=D2(v2.linkedTo);this.ticks={};this.labelEdge=[];this.minorTicks={};this.plotLinesAndBands=[];this.alternateBands={};this.len=0;this.minRange=this.userMinRange=v2.minRange||v2.maxZoom;this.range=v2.range;this.offset=v2.offset||0;this.min=this.max=null;d3=q(v2.crosshair,O2(b3.options.tooltip.crosshairs)[a4?0:1]);this.crosshair=true===d3?{}:d3;-1===b3.axes.indexOf(this)&&(a4?b3.axes.splice(b3.xAxis.length,0,this):b3.axes.push(this),b3[this.coll].push(this));this.series=this.series||[];b3.inverted&&!this.isZAxis&&a4&&"undefined"===typeof this.reversed&&(this.reversed=true);this.labelRotation=f2(n3.rotation)?n3.rotation:void 0;e2(this,v2);c2(this,"afterInit")};a3.prototype.setOptions=function(f3){this.options=b2(g3.defaultXAxisOptions,"yAxis"===this.coll&&g3.defaultYAxisOptions,[g3.defaultTopAxisOptions,g3.defaultRightAxisOptions,g3.defaultBottomAxisOptions,g3.defaultLeftAxisOptions][this.side],b2(l2[this.coll],f3));c2(this,"afterSetOptions",{userOptions:f3})};a3.prototype.defaultLabelFormatter=function(b3){var c3=this.axis;b3=this.chart.numberFormatter;var d3=f2(this.value)?this.value:NaN,a4=c3.chart.time,e3=this.dateTimeLabelFormat,v2=l2.lang,n3=v2.numericSymbols;v2=v2.numericSymbolMagnitude||1e3;var h3=c3.logarithmic?Math.abs(d3):c3.tickInterval,q2=n3&&n3.length;if(c3.categories)var u3="".concat(this.value);else if(e3)u3=a4.dateFormat(e3,d3);else if(q2&&1e3<=h3)for(;q2--&&"undefined"===typeof u3;)c3=Math.pow(v2,q2+1),h3>=c3&&0===10*d3%c3&&null!==n3[q2]&&0!==d3&&(u3=b3(d3/c3,-1)+n3[q2]);"undefined"===typeof u3&&(u3=1e4<=Math.abs(d3)?b3(d3,-1):b3(d3,-1,void 0,""));return u3};a3.prototype.getSeriesExtremes=function(){var b3=this,d3=b3.chart,a4;c2(this,"getSeriesExtremes",null,(function(){b3.hasVisibleSeries=false;b3.dataMin=b3.dataMax=b3.threshold=null;b3.softThreshold=!b3.isXAxis;b3.series.forEach((function(c3){if(c3.visible||!d3.options.chart.ignoreHiddenSeries){var e3=c3.options,v2=e3.threshold;b3.hasVisibleSeries=true;b3.positiveValuesOnly&&0>=v2&&(v2=null);if(b3.isXAxis){if(e3=c3.xData,e3.length){e3=b3.logarithmic?e3.filter(b3.validatePositiveValue):e3;a4=c3.getXExtremes(e3);var n3=a4.min;var h3=a4.max;f2(n3)||n3 instanceof Date||(e3=e3.filter(f2),a4=c3.getXExtremes(e3),n3=a4.min,h3=a4.max);e3.length&&(b3.dataMin=Math.min(q(b3.dataMin,n3),n3),b3.dataMax=Math.max(q(b3.dataMax,h3),h3))}}else if(c3=c3.applyExtremes(),f2(c3.dataMin)&&(n3=c3.dataMin,b3.dataMin=Math.min(q(b3.dataMin,n3),n3)),f2(c3.dataMax)&&(h3=c3.dataMax,b3.dataMax=Math.max(q(b3.dataMax,h3),h3)),D2(v2)&&(b3.threshold=v2),!e3.softThreshold||b3.positiveValuesOnly)b3.softThreshold=false}}))}));c2(this,"afterGetSeriesExtremes")};a3.prototype.translate=function(b3,c3,d3,a4,e3,n3){var v2=this.linkedParent||this,h3=a4&&v2.old?v2.old.min:v2.min;if(!f2(h3))return NaN;var q2=v2.minPixelPadding;e3=(v2.isOrdinal||v2.brokenAxis&&v2.brokenAxis.hasBreaks||v2.logarithmic&&e3)&&v2.lin2val;var u3=1,G=0;a4=a4&&v2.old?v2.old.transA:v2.transA;a4||(a4=v2.transA);d3&&(u3*=-1,G=v2.len);v2.reversed&&(u3*=-1,G-=u3*(v2.sector||v2.len));c3?(n3=(b3*u3+G-q2)/a4+h3,e3&&(n3=v2.lin2val(n3))):(e3&&(b3=v2.val2lin(b3)),b3=u3*(b3-h3)*a4,n3=(v2.isRadial?b3:p2(b3))+G+u3*q2+(f2(n3)?a4*n3:0));return n3};a3.prototype.toPixels=function(b3,c3){return this.translate(b3,false,!this.horiz,void 0,true)+(c3?0:this.pos)};a3.prototype.toValue=function(b3,c3){return this.translate(b3-(c3?0:this.pos),true,!this.horiz,void 0,true)};a3.prototype.getPlotLinePath=function(b3){function d3(b4,c3,f3){"pass"!==p3&&(b4<c3||b4>f3)&&(p3?b4=k2(b4,c3,f3):r3=true);return b4}var a4=this,e3=a4.chart,v2=a4.left,n3=a4.top,h3=b3.old,u3=b3.value,g4=b3.lineWidth,z3=h3&&e3.oldChartHeight||e3.chartHeight,w3=h3&&e3.oldChartWidth||e3.chartWidth,m3=a4.transB,l3=b3.translatedValue,p3=b3.force,J2,N2,y3,O3,r3;b3={value:u3,lineWidth:g4,old:h3,force:p3,acrossPanes:b3.acrossPanes,translatedValue:l3};c2(this,"getPlotLinePath",b3,(function(b4){l3=q(l3,a4.translate(u3,void 0,void 0,h3));l3=k2(l3,-1e5,1e5);J2=y3=Math.round(l3+m3);N2=O3=Math.round(z3-l3-m3);f2(l3)?a4.horiz?(N2=n3,O3=z3-a4.bottom,J2=y3=d3(J2,v2,v2+a4.width)):(J2=v2,y3=w3-a4.right,N2=O3=d3(N2,n3,n3+a4.height)):(r3=true,p3=false);b4.path=r3&&!p3?null:e3.renderer.crispLine([["M",J2,N2],["L",y3,O3]],g4||1)}));return b3.path};a3.prototype.getLinearTickPositions=function(b3,c3,f3){var d3=p2(Math.floor(c3/b3)*b3);f3=p2(Math.ceil(f3/b3)*b3);var a4=[],e3;p2(d3+b3)===d3&&(e3=20);if(this.single)return[c3];for(c3=d3;c3<=f3;){a4.push(c3);c3=p2(c3+b3,e3);if(c3===v2)break;var v2=c3}return a4};a3.prototype.getMinorTickInterval=function(){var b3=this.options;return true===b3.minorTicks?q(b3.minorTickInterval,"auto"):false===b3.minorTicks?null:b3.minorTickInterval};a3.prototype.getMinorTickPositions=function(){var b3=this.options,c3=this.tickPositions,f3=this.minorTickInterval,d3=this.pointRangePadding||0,a4=this.min-d3;d3=this.max+d3;var e3=d3-a4,n3=[];if(e3&&e3/f3<this.len/3){var h3=this.logarithmic;if(h3)this.paddedTicks.forEach((function(b4,c4,d4){c4&&n3.push.apply(n3,h3.getLogTickPositions(f3,d4[c4-1],d4[c4],true))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())n3=n3.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(f3),a4,d3,b3.startOfWeek));else for(b3=a4+(c3[0]-a4)%f3;b3<=d3&&b3!==n3[0];b3+=f3)n3.push(b3)}0!==n3.length&&this.trimTicks(n3);return n3};a3.prototype.adjustForMinRange=function(){var b3=this.options,c3=this.logarithmic,f3=this.min,d3=this.max,a4=0,e3,n3,u3,g4;this.isXAxis&&"undefined"===typeof this.minRange&&!c3&&(D2(b3.min)||D2(b3.max)||D2(b3.floor)||D2(b3.ceiling)?this.minRange=null:(this.series.forEach((function(b4){u3=b4.xData;g4=b4.xIncrement?1:u3.length-1;if(1<u3.length){for(e3=g4;0<e3;e3--)if(n3=u3[e3]-u3[e3-1],!a4||n3<a4)a4=n3}})),this.minRange=Math.min(5*a4,this.dataMax-this.dataMin)));if(d3-f3<this.minRange){var z3=this.dataMax-this.dataMin>=this.minRange;var k3=this.minRange;var w3=(k3-d3+f3)/2;w3=[f3-w3,q(b3.min,f3-w3)];z3&&(w3[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin);f3=h2(w3);d3=[f3+k3,q(b3.max,f3+k3)];z3&&(d3[2]=c3?c3.log2lin(this.dataMax):this.dataMax);d3=m2(d3);d3-f3<k3&&(w3[0]=d3-k3,w3[1]=q(b3.min,d3-k3),f3=h2(w3))}this.min=f3;this.max=d3};a3.prototype.getClosest=function(){var b3;this.categories?b3=1:this.series.forEach((function(c3){var f3=c3.closestPointRange,d3=c3.visible||!c3.chart.options.chart.ignoreHiddenSeries;!c3.noSharedTooltip&&D2(f3)&&d3&&(b3=D2(b3)?Math.min(b3,f3):f3)}));return b3};a3.prototype.nameToX=function(b3){var c3=w2(this.options.categories),f3=c3?this.categories:this.names,d3=b3.options.x;b3.series.requireSorting=false;D2(d3)||(d3=this.options.uniqueNames&&f3?c3?f3.indexOf(b3.name):q(f3.keys[b3.name],-1):b3.series.autoIncrement());if(-1===d3){if(!c3&&f3)var a4=f3.length}else a4=d3;"undefined"!==typeof a4?(this.names[a4]=b3.name,this.names.keys[b3.name]=a4):b3.x&&(a4=b3.x);return a4};a3.prototype.updateNames=function(){var b3=this,c3=this.names;0<c3.length&&(Object.keys(c3.keys).forEach((function(b4){delete c3.keys[b4]})),c3.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(c4){c4.xIncrement=null;if(!c4.points||c4.isDirtyData)b3.max=Math.max(b3.max,c4.xData.length-1),c4.processData(),c4.generatePoints();c4.data.forEach((function(f3,d3){if(f3&&f3.options&&"undefined"!==typeof f3.name){var a4=b3.nameToX(f3);"undefined"!==typeof a4&&a4!==f3.x&&(f3.x=a4,c4.xData[d3]=a4)}}))})))};a3.prototype.setAxisTranslation=function(){var b3=this,f3=b3.max-b3.min,d3=b3.linkedParent,a4=!!b3.categories,e3=b3.isXAxis,h3=b3.axisPointRange||0,u3=0,g4=0,k3=b3.transA;if(e3||a4||h3){var z3=b3.getClosest();d3?(u3=d3.minPointOffset,g4=d3.pointRangePadding):b3.series.forEach((function(c3){var f4=a4?1:e3?q(c3.options.pointRange,z3,0):b3.axisPointRange||0,d4=c3.options.pointPlacement;h3=Math.max(h3,f4);if(!b3.single||a4)c3=c3.is("xrange")?!e3:e3,u3=Math.max(u3,c3&&n2(d4)?0:f4/2),g4=Math.max(g4,c3&&"on"===d4?0:f4)}));d3=b3.ordinal&&b3.ordinal.slope&&z3?b3.ordinal.slope/z3:1;b3.minPointOffset=u3*=d3;b3.pointRangePadding=g4*=d3;b3.pointRange=Math.min(h3,b3.single&&a4?1:f3);e3&&(b3.closestPointRange=z3)}b3.translationSlope=b3.transA=k3=b3.staticScale||b3.len/(f3+g4||1);b3.transB=b3.horiz?b3.left:b3.bottom;b3.minPixelPadding=k3*u3;c2(this,"afterSetAxisTranslation")};a3.prototype.minFromRange=function(){return this.max-this.range};a3.prototype.setTickInterval=function(b3){var d3=this.chart,a4=this.logarithmic,e3=this.options,n3=this.isXAxis,h3=this.isLinked,u3=e3.tickPixelInterval,v2=this.categories,g4=this.softThreshold,k3=e3.maxPadding,z3=e3.minPadding,w3=f2(e3.tickInterval)&&0<=e3.tickInterval?e3.tickInterval:void 0,m3=f2(this.threshold)?this.threshold:null;this.dateTime||v2||h3||this.getTickAmount();var l3=q(this.userMin,e3.min);var J2=q(this.userMax,e3.max);if(h3){this.linkedParent=d3[this.coll][e3.linkedTo];var N2=this.linkedParent.getExtremes();this.min=q(N2.min,N2.dataMin);this.max=q(N2.max,N2.dataMax);e3.type!==this.linkedParent.options.type&&A2(11,1,d3)}else{if(g4&&D2(m3)){if(this.dataMin>=m3)N2=m3,z3=0;else if(this.dataMax<=m3){var y3=m3;k3=0}}this.min=q(l3,N2,this.dataMin);this.max=q(J2,y3,this.dataMax)}a4&&(this.positiveValuesOnly&&!b3&&0>=Math.min(this.min,q(this.dataMin,this.min))&&A2(10,1,d3),this.min=p2(a4.log2lin(this.min),16),this.max=p2(a4.log2lin(this.max),16));this.range&&D2(this.max)&&(this.userMin=this.min=l3=Math.max(this.dataMin,this.minFromRange()),this.userMax=J2=this.max,this.range=null);c2(this,"foundExtremes");this.beforePadding&&this.beforePadding();this.adjustForMinRange();!(v2||this.axisPointRange||this.stacking&&this.stacking.usePercentage||h3)&&D2(this.min)&&D2(this.max)&&(d3=this.max-this.min)&&(!D2(l3)&&z3&&(this.min-=d3*z3),!D2(J2)&&k3&&(this.max+=d3*k3));f2(this.userMin)||(f2(e3.softMin)&&e3.softMin<this.min&&(this.min=l3=e3.softMin),f2(e3.floor)&&(this.min=Math.max(this.min,e3.floor)));f2(this.userMax)||(f2(e3.softMax)&&e3.softMax>this.max&&(this.max=J2=e3.softMax),f2(e3.ceiling)&&(this.max=Math.min(this.max,e3.ceiling)));g4&&D2(this.dataMin)&&(m3=m3||0,!D2(l3)&&this.min<m3&&this.dataMin>=m3?this.min=this.options.minRange?Math.min(m3,this.max-this.minRange):m3:!D2(J2)&&this.max>m3&&this.dataMax<=m3&&(this.max=this.options.minRange?Math.max(m3,this.min+this.minRange):m3));f2(this.min)&&f2(this.max)&&!this.chart.polar&&this.min>this.max&&(D2(this.options.min)?this.max=this.min:D2(this.options.max)&&(this.min=this.max));this.tickInterval=this.min===this.max||"undefined"===typeof this.min||"undefined"===typeof this.max?1:h3&&this.linkedParent&&!w3&&u3===this.linkedParent.options.tickPixelInterval?w3=this.linkedParent.tickInterval:q(w3,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,v2?1:(this.max-this.min)*u3/Math.max(this.len,u3));if(n3&&!b3){var O3=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(b4){b4.forceCrop=b4.forceCropping&&b4.forceCropping();b4.processData(O3)}));c2(this,"postProcessData",{hasExtremesChanged:O3})}this.setAxisTranslation();c2(this,"initialAxisTranslation");this.pointRange&&!w3&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));b3=q(e3.minTickInterval,this.dateTime&&!this.series.some((function(b4){return b4.noSharedTooltip}))?this.closestPointRange:0);!w3&&this.tickInterval<b3&&(this.tickInterval=b3);this.dateTime||this.logarithmic||w3||(this.tickInterval=T2(this,this.tickInterval));this.tickAmount||(this.tickInterval=this.unsquish());this.setTickPositions()};a3.prototype.setTickPositions=function(){var b3=this.options,d3=b3.tickPositions,a4=b3.tickPositioner,e3=this.getMinorTickInterval(),n3=this.hasVerticalPanning(),h3="colorAxis"===this.coll,u3=(h3||!n3)&&b3.startOnTick;n3=(h3||!n3)&&b3.endOnTick;h3=[];var q2;this.tickmarkOffset=this.categories&&"between"===b3.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval="auto"===e3&&this.tickInterval?this.tickInterval/5:e3;this.single=this.min===this.max&&D2(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||false!==b3.allowDecimals);if(d3)h3=d3.slice();else if(f2(this.min)&&f2(this.max)){if(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200)))if(this.dateTime)h3=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,b3.units),this.min,this.max,b3.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,true);else if(this.logarithmic)h3=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(e3=b3=this.tickInterval;e3<=2*b3;)if(h3=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&h3.length>this.tickAmount)this.tickInterval=T2(this,e3*=1.1);else break;else h3=[this.min,this.max],A2(19,false,this.chart);h3.length>this.len&&(h3=[h3[0],h3[h3.length-1]],h3[0]===h3[1]&&(h3.length=1));a4&&(this.tickPositions=h3,(q2=a4.apply(this,[this.min,this.max]))&&(h3=q2))}this.tickPositions=h3;this.paddedTicks=h3.slice(0);this.trimTicks(h3,u3,n3);!this.isLinked&&f2(this.min)&&f2(this.max)&&(this.single&&2>h3.length&&!this.categories&&!this.series.some((function(b4){return b4.is("heatmap")&&"between"===b4.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),d3||q2||this.adjustTickAmount());c2(this,"afterSetTickPositions")};a3.prototype.trimTicks=function(b3,f3,d3){var a4=b3[0],e3=b3[b3.length-1],h3=!this.isOrdinal&&this.minPointOffset||0;c2(this,"trimTicks");if(!this.isLinked){if(f3&&-Infinity!==a4)this.min=a4;else for(;this.min-h3>b3[0];)b3.shift();if(d3)this.max=e3;else for(;this.max+h3<b3[b3.length-1];)b3.pop();0===b3.length&&D2(a4)&&!this.options.tickPositions&&b3.push((e3+a4)/2)}};a3.prototype.alignToOthers=function(){var b3=this,c3=[this],d3=b3.options,a4="yAxis"===this.coll&&this.chart.options.chart.alignThresholds,e3=[],h3;b3.thresholdAlignment=void 0;if((false!==this.chart.options.chart.alignTicks&&d3.alignTicks||a4)&&false!==d3.startOnTick&&false!==d3.endOnTick&&!b3.logarithmic){var n3=function(b4){var c4=b4.options;return[b4.horiz?c4.left:c4.top,c4.width,c4.height,c4.pane].join()},u3=n3(this);this.chart[this.coll].forEach((function(f3){var d4=f3.series;d4.length&&d4.some((function(b4){return b4.visible}))&&f3!==b3&&n3(f3)===u3&&(h3=true,c3.push(f3))}))}if(h3&&a4){c3.forEach((function(c4){c4=c4.getThresholdAlignment(b3);f2(c4)&&e3.push(c4)}));var q2=1<e3.length?e3.reduce((function(b4,c4){return b4+c4}),0)/e3.length:void 0;c3.forEach((function(b4){b4.thresholdAlignment=q2}))}return h3};a3.prototype.getThresholdAlignment=function(b3){(!f2(this.dataMin)||this!==b3&&this.series.some((function(b4){return b4.isDirty||b4.isDirtyData})))&&this.getSeriesExtremes();if(f2(this.threshold))return b3=k2((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1),this.options.reversed&&(b3=1-b3),b3};a3.prototype.getTickAmount=function(){var b3=this.options,c3=b3.tickPixelInterval,f3=b3.tickAmount;!D2(b3.tickInterval)&&!f3&&this.len<c3&&!this.isRadial&&!this.logarithmic&&b3.startOnTick&&b3.endOnTick&&(f3=2);!f3&&this.alignToOthers()&&(f3=Math.ceil(this.len/c3)+1);4>f3&&(this.finalTickAmt=f3,f3=5);this.tickAmount=f3};a3.prototype.adjustTickAmount=function(){var b3=this,c3=b3.finalTickAmt,d3=b3.max,a4=b3.min,e3=b3.options,h3=b3.tickPositions,n3=b3.tickAmount,u3=b3.thresholdAlignment,g4=h3&&h3.length,k3=q(b3.threshold,b3.softThreshold?0:null);var z3=b3.tickInterval;if(f2(u3)){var w3=.5>u3?Math.ceil(u3*(n3-1)):Math.floor(u3*(n3-1));e3.reversed&&(w3=n3-1-w3)}if(b3.hasData()&&f2(a4)&&f2(d3)){u3=function(){b3.transA*=(g4-1)/(n3-1);b3.min=e3.startOnTick?h3[0]:Math.min(a4,h3[0]);b3.max=e3.endOnTick?h3[h3.length-1]:Math.max(d3,h3[h3.length-1])};if(f2(w3)&&f2(b3.threshold)){for(;h3[w3]!==k3||h3.length!==n3||h3[0]>a4||h3[h3.length-1]<d3;){h3.length=0;for(h3.push(b3.threshold);h3.length<n3;)void 0===h3[w3]||h3[w3]>b3.threshold?h3.unshift(p2(h3[0]-z3)):h3.push(p2(h3[h3.length-1]+z3));if(z3>8*b3.tickInterval)break;z3*=2}u3()}else if(g4<n3){for(;h3.length<n3;)h3.length%2||a4===k3?h3.push(p2(h3[h3.length-1]+z3)):h3.unshift(p2(h3[0]-z3));u3()}if(D2(c3)){for(z3=k3=h3.length;z3--;)(3===c3&&1===z3%2||2>=c3&&0<z3&&z3<k3-1)&&h3.splice(z3,1);b3.finalTickAmt=void 0}}};a3.prototype.setScale=function(){var b3=false,f3=false;this.series.forEach((function(c3){b3=b3||c3.isDirtyData||c3.isDirty;f3=f3||c3.xAxis&&c3.xAxis.isDirty||false}));this.setAxisSize();var d3=this.len!==(this.old&&this.old.len);d3||b3||f3||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&(this.stacking.resetStacks(),this.stacking.buildStacks()),this.forceRedraw=false,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=d3||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks();b3&&this.panningState&&(this.panningState.isDirty=true);c2(this,"afterSetScale")};a3.prototype.setExtremes=function(b3,f3,d3,a4,e3){var h3=this,n3=h3.chart;d3=q(d3,true);h3.series.forEach((function(b4){delete b4.kdTree}));e3=y2(e3,{min:b3,max:f3});c2(h3,"setExtremes",e3,(function(){h3.userMin=b3;h3.userMax=f3;h3.eventArgs=e3;d3&&n3.redraw(a4)}))};a3.prototype.zoom=function(b3,f3){var d3=this,a4=this.dataMin,e3=this.dataMax,h3=this.options,n3=Math.min(a4,q(h3.min,a4)),u3=Math.max(e3,q(h3.max,e3));b3={newMin:b3,newMax:f3};c2(this,"zoom",b3,(function(b4){var c3=b4.newMin,f4=b4.newMax;if(c3!==d3.min||f4!==d3.max)d3.allowZoomOutside||(D2(a4)&&(c3<n3&&(c3=n3),c3>u3&&(c3=u3)),D2(e3)&&(f4<n3&&(f4=n3),f4>u3&&(f4=u3))),d3.displayBtn="undefined"!==typeof c3||"undefined"!==typeof f4,d3.setExtremes(c3,f4,false,void 0,{trigger:"zoom"});b4.zoomed=true}));return b3.zoomed};a3.prototype.setAxisSize=function(){var b3=this.chart,c3=this.options,f3=c3.offsets||[0,0,0,0],d3=this.horiz,a4=this.width=Math.round(N(q(c3.width,b3.plotWidth-f3[3]+f3[1]),b3.plotWidth)),e3=this.height=Math.round(N(q(c3.height,b3.plotHeight-f3[0]+f3[2]),b3.plotHeight)),h3=this.top=Math.round(N(q(c3.top,b3.plotTop+f3[0]),b3.plotHeight,b3.plotTop));c3=this.left=Math.round(N(q(c3.left,b3.plotLeft+f3[3]),b3.plotWidth,b3.plotLeft));this.bottom=b3.chartHeight-e3-h3;this.right=b3.chartWidth-a4-c3;this.len=Math.max(d3?a4:e3,0);this.pos=d3?c3:h3};a3.prototype.getExtremes=function(){var b3=this.logarithmic;return{min:b3?p2(b3.lin2log(this.min)):this.min,max:b3?p2(b3.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}};a3.prototype.getThreshold=function(b3){var c3=this.logarithmic,f3=c3?c3.lin2log(this.min):this.min;c3=c3?c3.lin2log(this.max):this.max;null===b3||-Infinity===b3?b3=f3:Infinity===b3?b3=c3:f3>b3?b3=f3:c3<b3&&(b3=c3);return this.translate(b3,0,1,0,1)};a3.prototype.autoLabelAlign=function(b3){var f3=(q(b3,0)-90*this.side+720)%360;b3={align:"center"};c2(this,"autoLabelAlign",b3,(function(b4){15<f3&&165>f3?b4.align="right":195<f3&&345>f3&&(b4.align="left")}));return b3.align};a3.prototype.tickSize=function(b3){var f3=this.options,d3=q(f3["tick"===b3?"tickWidth":"minorTickWidth"],"tick"===b3&&this.isXAxis&&!this.categories?1:0),a4=f3["tick"===b3?"tickLength":"minorTickLength"];if(d3&&a4){"inside"===f3[b3+"Position"]&&(a4=-a4);var e3=[a4,d3]}b3={tickSize:e3};c2(this,"afterTickSize",b3);return b3.tickSize};a3.prototype.labelMetrics=function(){var b3=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[b3]&&this.ticks[b3].label)};a3.prototype.unsquish=function(){var b3=this.options.labels,c3=this.horiz,a4=this.tickInterval,e3=this.len/(((this.categories?1:0)+this.max-this.min)/a4),h3=b3.rotation,n3=this.labelMetrics(),u3=Math.max(this.max-this.min,0),g4=function(b4){var c4=b4/(e3||1);c4=1<c4?Math.ceil(c4):1;c4*a4>u3&&Infinity!==b4&&Infinity!==e3&&u3&&(c4=Math.ceil(u3/a4));return p2(c4*a4)},z3=a4,k3=Number.MAX_VALUE;if(c3){if(!b3.staggerLines)if(f2(h3))var w3=[h3];else e3<b3.autoRotationLimit&&(w3=b3.autoRotation);if(w3)for(var m3=c3=void 0,l3=0,J2=w3;l3<J2.length;l3++){var N2=J2[l3];if(N2===h3||N2&&-90<=N2&&90>=N2){if(c3=g4(Math.abs(n3.h/Math.sin(d2*N2))),m3=c3+Math.abs(N2/360),m3<k3){k3=m3;var y3=N2;z3=c3}}}}else z3=g4(n3.h);this.autoRotation=w3;this.labelRotation=q(y3,f2(h3)?h3:0);return b3.step?a4:z3};a3.prototype.getSlotWidth=function(b3){var c3=this.chart,d3=this.horiz,a4=this.options.labels,e3=Math.max(this.tickPositions.length-(this.categories?0:1),1),h3=c3.margin[3];if(b3&&f2(b3.slotWidth))return b3.slotWidth;if(d3&&2>a4.step)return a4.rotation?0:(this.staggerLines||1)*this.len/e3;if(!d3){b3=a4.style.width;if(void 0!==b3)return parseInt(String(b3),10);if(h3)return h3-c3.spacing[3]}return.33*c3.chartWidth};a3.prototype.renderUnsquish=function(){var b3=this.chart,c3=b3.renderer,f3=this.tickPositions,d3=this.ticks,a4=this.options.labels,e3=a4.style,h3=this.horiz,u3=this.getSlotWidth(),q2=Math.max(1,Math.round(u3-2*a4.padding)),g4={},z3=this.labelMetrics(),k3=e3.textOverflow,w3=0;n2(a4.rotation)||(g4.rotation=a4.rotation||0);f3.forEach((function(b4){b4=d3[b4];b4.movedLabel&&b4.replaceMovedLabel();b4&&b4.label&&b4.label.textPxLength>w3&&(w3=b4.label.textPxLength)}));this.maxLabelLength=w3;if(this.autoRotation)w3>q2&&w3>z3.h?g4.rotation=this.labelRotation:this.labelRotation=0;else if(u3){var m3=q2;if(!k3){var l3="clip";for(q2=f3.length;!h3&&q2--;){var p3=f3[q2];if(p3=d3[p3].label)p3.styles&&"ellipsis"===p3.styles.textOverflow?p3.css({textOverflow:"clip"}):p3.textPxLength>u3&&p3.css({width:u3+"px"}),p3.getBBox().height>this.len/f3.length-(z3.h-z3.f)&&(p3.specificTextOverflow="ellipsis")}}}g4.rotation&&(m3=w3>.5*b3.chartHeight?.33*b3.chartHeight:w3,k3||(l3="ellipsis"));if(this.labelAlign=a4.align||this.autoLabelAlign(this.labelRotation))g4.align=this.labelAlign;f3.forEach((function(b4){var c4=(b4=d3[b4])&&b4.label,f4=e3.width,a5={};c4&&(c4.attr(g4),b4.shortenLabel?b4.shortenLabel():m3&&!f4&&"nowrap"!==e3.whiteSpace&&(m3<c4.textPxLength||"SPAN"===c4.element.tagName)?(a5.width=m3+"px",k3||(a5.textOverflow=c4.specificTextOverflow||l3),c4.css(a5)):c4.styles&&c4.styles.width&&!a5.width&&!f4&&c4.css({width:null}),delete c4.specificTextOverflow,b4.rotation=g4.rotation)}),this);this.tickRotCorr=c3.rotCorr(z3.b,this.labelRotation||0,0!==this.side)};a3.prototype.hasData=function(){return this.series.some((function(b3){return b3.hasData()}))||this.options.showEmpty&&D2(this.min)&&D2(this.max)};a3.prototype.addTitle=function(c3){var f3=this.chart.renderer,d3=this.horiz,a4=this.opposite,e3=this.options.title,h3=this.chart.styledMode,n3;this.axisTitle||((n3=e3.textAlign)||(n3=(d3?{low:"left",middle:"center",high:"right"}:{low:a4?"right":"left",middle:"center",high:a4?"left":"right"})[e3.align]),this.axisTitle=f3.text(e3.text||"",0,0,e3.useHTML).attr({zIndex:7,rotation:e3.rotation,align:n3}).addClass("highcharts-axis-title"),h3||this.axisTitle.css(b2(e3.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=true);h3||e3.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"});this.axisTitle[c3?"show":"hide"](c3)};a3.prototype.generateTick=function(b3){var c3=this.ticks;c3[b3]?c3[b3].addLabel():c3[b3]=new H2(this,b3)};a3.prototype.getOffset=function(){var b3=this,f3=this,d3=f3.chart,a4=f3.horiz,e3=f3.options,h3=f3.side,n3=f3.ticks,u3=f3.tickPositions,g4=f3.coll,k3=f3.axisParent,w3=d3.renderer,m3=d3.inverted&&!f3.isZAxis?[1,0,3,2][h3]:h3,l3=f3.hasData(),p3=e3.title,N2=e3.labels,J2=d3.axisOffset;d3=d3.clipOffset;var y3=[-1,1,1,-1][h3],O3=e3.className,r3,Q2=0,ja=0,da=0;f3.showAxis=r3=l3||e3.showEmpty;f3.staggerLines=f3.horiz&&N2.staggerLines||void 0;if(!f3.axisGroup){var I2=function(c3,f4,d4){return w3.g(c3).attr({zIndex:d4}).addClass("highcharts-".concat(g4.toLowerCase()).concat(f4," ")+(b3.isRadial?"highcharts-radial-axis".concat(f4," "):"")+(O3||"")).add(k3)};f3.gridGroup=I2("grid","-grid",e3.gridZIndex);f3.axisGroup=I2("axis","",e3.zIndex);f3.labelGroup=I2("axis-labels","-labels",N2.zIndex)}l3||f3.isLinked?(u3.forEach((function(b4){f3.generateTick(b4)})),f3.renderUnsquish(),f3.reserveSpaceDefault=0===h3||2===h3||{1:"left",3:"right"}[h3]===f3.labelAlign,q(N2.reserveSpace,"center"===f3.labelAlign?true:null,f3.reserveSpaceDefault)&&u3.forEach((function(b4){da=Math.max(n3[b4].getLabelSize(),da)})),f3.staggerLines&&(da*=f3.staggerLines),f3.labelOffset=da*(f3.opposite?-1:1)):z2(n3,(function(b4,c3){b4.destroy();delete n3[c3]}));if(p3&&p3.text&&false!==p3.enabled&&(f3.addTitle(r3),r3&&false!==p3.reserveSpace)){f3.titleOffset=Q2=f3.axisTitle.getBBox()[a4?"height":"width"];var t3=p3.offset;ja=D2(t3)?0:q(p3.margin,a4?5:10)}f3.renderLine();f3.offset=y3*q(e3.offset,J2[h3]?J2[h3]+(e3.margin||0):0);f3.tickRotCorr=f3.tickRotCorr||{x:0,y:0};p3=0===h3?-f3.labelMetrics().h:2===h3?f3.tickRotCorr.y:0;l3=Math.abs(da)+ja;da&&(l3=l3-p3+y3*(a4?q(N2.y,f3.tickRotCorr.y+8*y3):N2.x));f3.axisTitleMargin=q(t3,l3);f3.getMaxLabelDimensions&&(f3.maxLabelDimensions=f3.getMaxLabelDimensions(n3,u3));"colorAxis"!==g4&&(a4=this.tickSize("tick"),J2[h3]=Math.max(J2[h3],(f3.axisTitleMargin||0)+Q2+y3*f3.offset,l3,u3&&u3.length&&a4?a4[0]+y3*f3.offset:0),e3=!f3.axisLine||e3.offset?0:2*Math.floor(f3.axisLine.strokeWidth()/2),d3[m3]=Math.max(d3[m3],e3));c2(this,"afterGetOffset")};a3.prototype.getLinePath=function(b3){var c3=this.chart,f3=this.opposite,d3=this.offset,a4=this.horiz,e3=this.left+(f3?this.width:0)+d3;d3=c3.chartHeight-this.bottom-(f3?this.height:0)+d3;f3&&(b3*=-1);return c3.renderer.crispLine([["M",a4?this.left:e3,a4?d3:this.top],["L",a4?c3.chartWidth-this.right:e3,a4?d3:c3.chartHeight-this.bottom]],b3)};a3.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))};a3.prototype.getTitlePosition=function(){var b3=this.horiz,f3=this.left,d3=this.top,a4=this.len,e3=this.options.title,h3=b3?f3:d3,n3=this.opposite,u3=this.offset,q2=e3.x,g4=e3.y,z3=this.axisTitle,k3=this.chart.renderer.fontMetrics(e3.style.fontSize,z3);z3=z3?Math.max(z3.getBBox(false,0).height-k3.h-1,0):0;a4={low:h3+(b3?0:a4),middle:h3+a4/2,high:h3+(b3?a4:0)}[e3.align];f3=(b3?d3+this.height:f3)+(b3?1:-1)*(n3?-1:1)*(this.axisTitleMargin||0)+[-z3,z3,k3.f,-z3][this.side];b3={x:b3?a4+q2:f3+(n3?this.width:0)+u3+q2,y:b3?f3+g4-(n3?this.height:0)+u3:a4+g4};c2(this,"afterGetTitlePosition",{titlePosition:b3});return b3};a3.prototype.renderMinorTick=function(b3,c3){var f3=this.minorTicks;f3[b3]||(f3[b3]=new H2(this,b3,"minor"));c3&&f3[b3].isNew&&f3[b3].render(null,true);f3[b3].render(null,false,1)};a3.prototype.renderTick=function(b3,c3,f3){var d3=this.ticks;if(!this.isLinked||b3>=this.min&&b3<=this.max||this.grid&&this.grid.isColumn)d3[b3]||(d3[b3]=new H2(this,b3)),f3&&d3[b3].isNew&&d3[b3].render(c3,true,-1),d3[b3].render(c3)};a3.prototype.render=function(){var b3=this,d3=b3.chart,a4=b3.logarithmic,e3=b3.options,h3=b3.isLinked,n3=b3.tickPositions,u3=b3.axisTitle,q2=b3.ticks,g4=b3.minorTicks,k3=b3.alternateBands,w3=e3.stackLabels,m3=e3.alternateGridColor,l3=b3.tickmarkOffset,p3=b3.axisLine,N2=b3.showAxis,J2=r2(d3.renderer.globalAnimation),y3,O3;b3.labelEdge.length=0;b3.overlap=false;[q2,g4,k3].forEach((function(b4){z2(b4,(function(b5){b5.isActive=false}))}));if(b3.hasData()||h3){var D3=b3.chart.hasRendered&&b3.old&&f2(b3.old.min);b3.minorTickInterval&&!b3.categories&&b3.getMinorTickPositions().forEach((function(c3){b3.renderMinorTick(c3,D3)}));n3.length&&(n3.forEach((function(c3,f3){b3.renderTick(c3,f3,D3)})),l3&&(0===b3.min||b3.single)&&(q2[-1]||(q2[-1]=new H2(b3,-1,null,true)),q2[-1].render(-1)));m3&&n3.forEach((function(c3,f3){O3="undefined"!==typeof n3[f3+1]?n3[f3+1]+l3:b3.max-l3;0===f3%2&&c3<b3.max&&O3<=b3.max+(d3.polar?-l3:l3)&&(k3[c3]||(k3[c3]=new B.PlotLineOrBand(b3)),y3=c3+l3,k3[c3].options={from:a4?a4.lin2log(y3):y3,to:a4?a4.lin2log(O3):O3,color:m3,className:"highcharts-alternate-grid"},k3[c3].render(),k3[c3].isActive=true)}));b3._addedPlotLB||(b3._addedPlotLB=true,(e3.plotLines||[]).concat(e3.plotBands||[]).forEach((function(c3){b3.addPlotBandOrLine(c3)})))}[q2,g4,k3].forEach((function(b4){var c3=[],f3=J2.duration;z2(b4,(function(b5,f4){b5.isActive||(b5.render(f4,false,0),b5.isActive=false,c3.push(f4))}));Q((function(){for(var f4=c3.length;f4--;)b4[c3[f4]]&&!b4[c3[f4]].isActive&&(b4[c3[f4]].destroy(),delete b4[c3[f4]])}),b4!==k3&&d3.hasRendered&&f3?f3:0)}));p3&&(p3[p3.isPlaced?"animate":"attr"]({d:this.getLinePath(p3.strokeWidth())}),p3.isPlaced=true,p3[N2?"show":"hide"](N2));u3&&N2&&(e3=b3.getTitlePosition(),u3[u3.isNew?"attr":"animate"](e3),u3.isNew=false);w3&&w3.enabled&&b3.stacking&&b3.stacking.renderStackTotals();b3.old={len:b3.len,max:b3.max,min:b3.min,transA:b3.transA,userMax:b3.userMax,userMin:b3.userMin};b3.isDirty=false;c2(this,"afterRender")};a3.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(b3){b3.render()})));this.series.forEach((function(b3){b3.isDirty=true}))};a3.prototype.getKeepProps=function(){return this.keepProps||a3.keepProps};a3.prototype.destroy=function(b3){var f3=this,d3=f3.plotLinesAndBands,a4=this.eventOptions;c2(this,"destroy",{keepEvents:b3});b3||J(f3);[f3.ticks,f3.minorTicks,f3.alternateBands].forEach((function(b4){I(b4)}));if(d3)for(b3=d3.length;b3--;)d3[b3].destroy();"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(b4){f3[b4]&&(f3[b4]=f3[b4].destroy())}));for(var e3 in f3.plotLinesAndBandsGroups)f3.plotLinesAndBandsGroups[e3]=f3.plotLinesAndBandsGroups[e3].destroy();z2(f3,(function(b4,c3){-1===f3.getKeepProps().indexOf(c3)&&delete f3[c3]}));this.eventOptions=a4};a3.prototype.drawCrosshair=function(b3,f3){var d3=this.crosshair,a4=q(d3&&d3.snap,true),e3=this.chart,h3,n3=this.cross;c2(this,"drawCrosshair",{e:b3,point:f3});b3||(b3=this.cross&&this.cross.e);if(d3&&false!==(D2(f3)||!a4)){a4?D2(f3)&&(h3=q("colorAxis"!==this.coll?f3.crosshairPos:null,this.isXAxis?f3.plotX:this.len-f3.plotY)):h3=b3&&(this.horiz?b3.chartX-this.pos:this.len-b3.chartY+this.pos);if(D2(h3)){var u3={value:f3&&(this.isXAxis?f3.x:q(f3.stackY,f3.y)),translatedValue:h3};e3.polar&&y2(u3,{isCrosshair:true,chartX:b3&&b3.chartX,chartY:b3&&b3.chartY,point:f3});u3=this.getPlotLinePath(u3)||null}if(!D2(u3)){this.hideCrosshair();return}a4=this.categories&&!this.isRadial;n3||(this.cross=n3=e3.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(a4?"category ":"thin ")+(d3.className||"")).attr({zIndex:q(d3.zIndex,2)}).add(),e3.styledMode||(n3.attr({stroke:d3.color||(a4?x2.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":q(d3.width,1)}).css({"pointer-events":"none"}),d3.dashStyle&&n3.attr({dashstyle:d3.dashStyle})));n3.show().attr({d:u3});a4&&!d3.width&&n3.attr({"stroke-width":this.transA});this.cross.e=b3}else this.hideCrosshair();c2(this,"afterDrawCrosshair",{e:b3,point:f3})};a3.prototype.hideCrosshair=function(){this.cross&&this.cross.hide();c2(this,"afterHideCrosshair")};a3.prototype.hasVerticalPanning=function(){var b3=this.chart.options.chart.panning;return!!(b3&&b3.enabled&&/y/.test(b3.type))};a3.prototype.validatePositiveValue=function(b3){return f2(b3)&&0<b3};a3.prototype.update=function(c3,f3){var d3=this.chart;c3=b2(this.userOptions,c3);this.destroy(true);this.init(d3,c3);d3.isDirtyBox=true;q(f3,true)&&d3.redraw()};a3.prototype.remove=function(b3){for(var c3=this.chart,f3=this.coll,d3=this.series,a4=d3.length;a4--;)d3[a4]&&d3[a4].remove(false);E2(c3.axes,this);E2(c3[f3],this);c3[f3].forEach((function(b4,c4){b4.options.index=b4.userOptions.index=c4}));this.destroy();c3.isDirtyBox=true;q(b3,true)&&c3.redraw()};a3.prototype.setTitle=function(b3,c3){this.update({title:b3},c3)};a3.prototype.setCategories=function(b3,c3){this.update({categories:b3},c3)};a3.defaultOptions=g3.defaultXAxisOptions;a3.keepProps="extKey hcEvents names series userMax userMin".split(" ");return a3}();return a2}));K(g2,"Core/Axis/DateTimeAxis.js",[g2["Core/Utilities.js"]],(function(a2){var g3=a2.addEvent,x2=a2.getMagnitude,F2=a2.normalizeTickInterval,C2=a2.timeUnits,B;(function(a3){function t2(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function r2(d2){"datetime"!==d2.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new e2(this))}var l2=[];a3.compose=function(d2){-1===l2.indexOf(d2)&&(l2.push(d2),d2.keepProps.push("dateTime"),d2.prototype.getTimeTicks=t2,g3(d2,"init",r2));return d2};var e2=function(){function d2(d3){this.axis=d3}d2.prototype.normalizeTimeTickInterval=function(d3,a4){var e3=a4||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];a4=e3[e3.length-1];var h2=C2[a4[0]],g4=a4[1],m2;for(m2=0;m2<e3.length&&!(a4=e3[m2],h2=C2[a4[0]],g4=a4[1],e3[m2+1]&&d3<=(h2*g4[g4.length-1]+C2[e3[m2+1][0]])/2);m2++);h2===C2.year&&d3<5*h2&&(g4=[1,2,5]);d3=F2(d3/h2,g4,"year"===a4[0]?Math.max(x2(d3/h2),1):1);return{unitRange:h2,count:d3,unitName:a4[0]}};d2.prototype.getXDateFormat=function(d3,a4){var e3=this.axis,h2=e3.chart.time;return e3.closestPointRange?h2.getDateFormat(e3.closestPointRange,d3,e3.options.startOfWeek,a4)||h2.resolveDTLFormat(a4.year).main:h2.resolveDTLFormat(a4.day).main};return d2}();a3.Additions=e2})(B||(B={}));return B}));K(g2,"Core/Axis/LogarithmicAxis.js",[g2["Core/Utilities.js"]],(function(a2){var g3=a2.addEvent,x2=a2.normalizeTickInterval,F2=a2.pick,C2;(function(a3){function A2(a4){var d2=this.logarithmic;"logarithmic"!==a4.userOptions.type?this.logarithmic=void 0:d2||(this.logarithmic=new l2(this))}function t2(){var a4=this.logarithmic;a4&&(this.lin2val=function(d2){return a4.lin2log(d2)},this.val2lin=function(d2){return a4.log2lin(d2)})}var r2=[];a3.compose=function(a4){-1===r2.indexOf(a4)&&(r2.push(a4),a4.keepProps.push("logarithmic"),g3(a4,"init",A2),g3(a4,"afterInit",t2));return a4};var l2=function(){function a4(d2){this.axis=d2}a4.prototype.getLogTickPositions=function(d2,a5,e2,g4){var h2=this.axis,k2=h2.len,m2=h2.options,l3=[];g4||(this.minorAutoInterval=void 0);if(.5<=d2)d2=Math.round(d2),l3=h2.getLinearTickPositions(d2,a5,e2);else if(.08<=d2){var r3=Math.floor(a5),y2,c2=m2=void 0;for(k2=.3<d2?[1,2,4]:.15<d2?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];r3<e2+1&&!c2;r3++){var w2=k2.length;for(y2=0;y2<w2&&!c2;y2++){var f2=this.log2lin(this.lin2log(r3)*k2[y2]);f2>a5&&(!g4||m2<=e2)&&"undefined"!==typeof m2&&l3.push(m2);m2>e2&&(c2=true);m2=f2}}}else a5=this.lin2log(a5),e2=this.lin2log(e2),d2=g4?h2.getMinorTickInterval():m2.tickInterval,d2=F2("auto"===d2?null:d2,this.minorAutoInterval,m2.tickPixelInterval/(g4?5:1)*(e2-a5)/((g4?k2/h2.tickPositions.length:k2)||1)),d2=x2(d2),l3=h2.getLinearTickPositions(d2,a5,e2).map(this.log2lin),g4||(this.minorAutoInterval=d2/5);g4||(h2.tickInterval=d2);return l3};a4.prototype.lin2log=function(d2){return Math.pow(10,d2)};a4.prototype.log2lin=function(d2){return Math.log(d2)/Math.LN10};return a4}();a3.Additions=l2})(C2||(C2={}));return C2}));K(g2,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[g2["Core/Utilities.js"]],(function(a2){var g3=a2.erase,x2=a2.extend,F2=a2.isNumber,C2;(function(a3){var A2=[],t2;a3.compose=function(a4,e2){t2||(t2=a4);-1===A2.indexOf(e2)&&(A2.push(e2),x2(e2.prototype,r2.prototype));return e2};var r2=function(){function a4(){}a4.prototype.getPlotBandPath=function(a5,d2,h2){void 0===h2&&(h2=this.options);var e2=this.getPlotLinePath({value:d2,force:true,acrossPanes:h2.acrossPanes}),g4=[],l2=this.horiz;d2=!F2(this.min)||!F2(this.max)||a5<this.min&&d2<this.min||a5>this.max&&d2>this.max;a5=this.getPlotLinePath({value:a5,force:true,acrossPanes:h2.acrossPanes});h2=1;if(a5&&e2){if(d2){var r3=a5.toString()===e2.toString();h2=0}for(d2=0;d2<a5.length;d2+=2){var t3=a5[d2],E2=a5[d2+1],A3=e2[d2],y2=e2[d2+1];"M"!==t3[0]&&"L"!==t3[0]||"M"!==E2[0]&&"L"!==E2[0]||"M"!==A3[0]&&"L"!==A3[0]||"M"!==y2[0]&&"L"!==y2[0]||(l2&&A3[1]===t3[1]?(A3[1]+=h2,y2[1]+=h2):l2||A3[2]!==t3[2]||(A3[2]+=h2,y2[2]+=h2),g4.push(["M",t3[1],t3[2]],["L",E2[1],E2[2]],["L",y2[1],y2[2]],["L",A3[1],A3[2]],["Z"]));g4.isFlat=r3}}return g4};a4.prototype.addPlotBand=function(a5){return this.addPlotBandOrLine(a5,"plotBands")};a4.prototype.addPlotLine=function(a5){return this.addPlotBandOrLine(a5,"plotLines")};a4.prototype.addPlotBandOrLine=function(a5,d2){var e2=this,g4=this.userOptions,k2=new t2(this,a5);this.visible&&(k2=k2.render());if(k2){this._addedPlotLB||(this._addedPlotLB=true,(g4.plotLines||[]).concat(g4.plotBands||[]).forEach((function(a6){e2.addPlotBandOrLine(a6)})));if(d2){var l2=g4[d2]||[];l2.push(a5);g4[d2]=l2}this.plotLinesAndBands.push(k2)}return k2};a4.prototype.removePlotBandOrLine=function(a5){var d2=this.plotLinesAndBands,e2=this.options,m2=this.userOptions;if(d2){for(var k2=d2.length;k2--;)d2[k2].id===a5&&d2[k2].destroy();[e2.plotLines||[],m2.plotLines||[],e2.plotBands||[],m2.plotBands||[]].forEach((function(d3){for(k2=d3.length;k2--;)(d3[k2]||{}).id===a5&&g3(d3,d3[k2])}))}};a4.prototype.removePlotBand=function(a5){this.removePlotBandOrLine(a5)};a4.prototype.removePlotLine=function(a5){this.removePlotBandOrLine(a5)};return a4}()})(C2||(C2={}));return C2}));K(g2,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[g2["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],g2["Core/Utilities.js"]],(function(a2,g3){var A2=g3.arrayMax,F2=g3.arrayMin,C2=g3.defined,B=g3.destroyObjectProperties,H2=g3.erase,t2=g3.fireEvent,r2=g3.merge,l2=g3.objectEach,e2=g3.pick;g3=function(){function d2(a3,d3){this.axis=a3;d3&&(this.options=d3,this.id=d3.id)}d2.compose=function(e3){return a2.compose(d2,e3)};d2.prototype.render=function(){t2(this,"render");var a3=this,d3=a3.axis,g4=d3.horiz,p2=d3.logarithmic,D2=a3.options,I=D2.color,E2=e2(D2.zIndex,0),A3=D2.events,y2={},c2=d3.chart.renderer,w2=D2.label,f2=a3.label,n2=D2.to,b2=D2.from,u2=D2.value,z2=a3.svgElem,q=[],N=C2(b2)&&C2(n2);q=C2(u2);var J=!z2,O2={class:"highcharts-plot-"+(N?"band ":"line ")+(D2.className||"")},Q=N?"bands":"lines";p2&&(b2=p2.log2lin(b2),n2=p2.log2lin(n2),u2=p2.log2lin(u2));d3.chart.styledMode||(q?(O2.stroke=I||"#999999",O2["stroke-width"]=e2(D2.width,1),D2.dashStyle&&(O2.dashstyle=D2.dashStyle)):N&&(O2.fill=I||"#e6ebf5",D2.borderWidth&&(O2.stroke=D2.borderColor,O2["stroke-width"]=D2.borderWidth)));y2.zIndex=E2;Q+="-"+E2;(p2=d3.plotLinesAndBandsGroups[Q])||(d3.plotLinesAndBandsGroups[Q]=p2=c2.g("plot-"+Q).attr(y2).add());J&&(a3.svgElem=z2=c2.path().attr(O2).add(p2));if(q)q=d3.getPlotLinePath({value:u2,lineWidth:z2.strokeWidth(),acrossPanes:D2.acrossPanes});else if(N)q=d3.getPlotBandPath(b2,n2,D2);else return;!a3.eventsAdded&&A3&&(l2(A3,(function(b3,c3){z2.on(c3,(function(b4){A3[c3].apply(a3,[b4])}))})),a3.eventsAdded=true);(J||!z2.d)&&q&&q.length?z2.attr({d:q}):z2&&(q?(z2.show(),z2.animate({d:q})):z2.d&&(z2.hide(),f2&&(a3.label=f2=f2.destroy())));w2&&(C2(w2.text)||C2(w2.formatter))&&q&&q.length&&0<d3.width&&0<d3.height&&!q.isFlat?(w2=r2({align:g4&&N&&"center",x:g4?!N&&4:10,verticalAlign:!g4&&N&&"middle",y:g4?N?16:10:N?6:-4,rotation:g4&&!N&&90},w2),this.renderLabel(w2,q,N,E2)):f2&&f2.hide();return a3};d2.prototype.renderLabel=function(a3,d3,e3,g4){var h2=this.axis,k2=h2.chart.renderer,m2=this.label;m2||(this.label=m2=k2.text(this.getLabelText(a3),0,0,a3.useHTML).attr({align:a3.textAlign||a3.align,rotation:a3.rotation,class:"highcharts-plot-"+(e3?"band":"line")+"-label "+(a3.className||""),zIndex:g4}).add(),h2.chart.styledMode||m2.css(r2({textOverflow:"ellipsis"},a3.style)));g4=d3.xBounds||[d3[0][1],d3[1][1],e3?d3[2][1]:d3[0][1]];d3=d3.yBounds||[d3[0][2],d3[1][2],e3?d3[2][2]:d3[0][2]];e3=F2(g4);k2=F2(d3);m2.align(a3,false,{x:e3,y:k2,width:A2(g4)-e3,height:A2(d3)-k2});m2.alignValue&&"left"!==m2.alignValue||(a3=a3.clip?h2.width:h2.chart.chartWidth,m2.css({width:(90===m2.rotation?h2.height-(m2.alignAttr.y-h2.top):a3-(m2.alignAttr.x-h2.left))+"px"}));m2.show(true)};d2.prototype.getLabelText=function(a3){return C2(a3.formatter)?a3.formatter.call(this):a3.text};d2.prototype.destroy=function(){H2(this.axis.plotLinesAndBands,this);delete this.axis;B(this)};return d2}();return g3}));K(g2,"Core/Tooltip.js",[g2["Core/FormatUtilities.js"],g2["Core/Globals.js"],g2["Core/Renderer/RendererUtilities.js"],g2["Core/Renderer/RendererRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2){var A2=a2.format,H2=g3.doc,t2=x2.distribute,r2=C2.clamp,l2=C2.css,e2=C2.discardElement,d2=C2.extend,h2=C2.fireEvent,m2=C2.isArray,k2=C2.isNumber,p2=C2.isString,D2=C2.merge,I=C2.pick,E2=C2.splat,L2=C2.syncTimeout;a2=function(){function a3(c2,a4){this.allowShared=true;this.container=void 0;this.crosshairs=[];this.distance=0;this.isHidden=true;this.isSticky=false;this.now={};this.options={};this.outside=false;this.chart=c2;this.init(c2,a4)}a3.prototype.applyFilter=function(){var c2=this.chart;c2.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+c2.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})};a3.prototype.bodyFormatter=function(c2){return c2.map((function(c3){var f2=c3.series.tooltipOptions;return(f2[(c3.point.formatPrefix||"point")+"Formatter"]||c3.point.tooltipFormatter).call(c3.point,f2[(c3.point.formatPrefix||"point")+"Format"]||"")}))};a3.prototype.cleanSplit=function(c2){this.chart.series.forEach((function(a4){var f2=a4&&a4.tt;f2&&(!f2.isActive||c2?a4.tt=f2.destroy():f2.isActive=false)}))};a3.prototype.defaultFormatter=function(c2){var a4=this.points||E2(this);var f2=[c2.tooltipFooterHeaderFormatter(a4[0])];f2=f2.concat(c2.bodyFormatter(a4));f2.push(c2.tooltipFooterHeaderFormatter(a4[0],true));return f2};a3.prototype.destroy=function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(true),this.tt=this.tt.destroy());this.renderer&&(this.renderer=this.renderer.destroy(),e2(this.container));C2.clearTimeout(this.hideTimer);C2.clearTimeout(this.tooltipTimeout)};a3.prototype.getAnchor=function(c2,a4){var f2=this.chart,d3=f2.pointer,b2=f2.inverted,e3=f2.plotTop;f2=f2.plotLeft;c2=E2(c2);c2[0].series&&c2[0].series.yAxis&&!c2[0].series.yAxis.options.reversedStacks&&(c2=c2.slice().reverse());if(this.followPointer&&a4)"undefined"===typeof a4.chartX&&(a4=d3.normalize(a4)),c2=[a4.chartX-f2,a4.chartY-e3];else if(c2[0].tooltipPos)c2=c2[0].tooltipPos;else{var h3=0,g4=0;c2.forEach((function(b3){if(b3=b3.pos(true))h3+=b3[0],g4+=b3[1]}));h3/=c2.length;g4/=c2.length;this.shared&&1<c2.length&&a4&&(b2?h3=a4.chartX:g4=a4.chartY);c2=[h3-f2,g4-e3]}return c2.map(Math.round)};a3.prototype.getClassName=function(c2,a4,f2){var d3=c2.series,b2=d3.options;return[this.options.className,"highcharts-label",f2&&"highcharts-tooltip-header",a4?"highcharts-tooltip-box":"highcharts-tooltip",!f2&&"highcharts-color-"+I(c2.colorIndex,d3.colorIndex),b2&&b2.className].filter(p2).join(" ")};a3.prototype.getLabel=function(){var c2=this,a4=this.chart.styledMode,f2=this.options,d3=this.split&&this.allowShared,b2=f2.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none"),e3,h3=this.chart.renderer;if(c2.label){var q=!c2.label.hasClass("highcharts-label");(d3&&!q||!d3&&q)&&c2.destroy()}if(!this.label){if(this.outside){q=this.chart.options.chart.style;var k3=F2.getRendererType();this.container=e3=g3.doc.createElement("div");e3.className="highcharts-tooltip-container";l2(e3,{position:"absolute",top:"1px",pointerEvents:b2,zIndex:Math.max(this.options.style.zIndex||0,(q&&q.zIndex||0)+3)});g3.doc.body.appendChild(e3);this.renderer=h3=new k3(e3,0,0,q,void 0,void 0,h3.styledMode)}d3?this.label=h3.g("tooltip"):(this.label=h3.label("",0,0,f2.shape,void 0,void 0,f2.useHTML,void 0,"tooltip").attr({padding:f2.padding,r:f2.borderRadius}),a4||this.label.attr({fill:f2.backgroundColor,"stroke-width":f2.borderWidth}).css(f2.style).css({pointerEvents:b2}).shadow(f2.shadow));a4&&f2.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"}));if(c2.outside&&!c2.split){var m3=this.label,p3=m3.xSetter,y2=m3.ySetter;m3.xSetter=function(b3){p3.call(m3,c2.distance);e3.style.left=b3+"px"};m3.ySetter=function(b3){y2.call(m3,c2.distance);e3.style.top=b3+"px"}}this.label.attr({zIndex:8}).add()}return this.label};a3.prototype.getPosition=function(c2,a4,f2){var d3=this.chart,b2=this.distance,e3={},h3=d3.inverted&&f2.h||0,g4=this.outside,k3=g4?H2.documentElement.clientWidth-2*b2:d3.chartWidth,w2=g4?Math.max(H2.body.scrollHeight,H2.documentElement.scrollHeight,H2.body.offsetHeight,H2.documentElement.offsetHeight,H2.documentElement.clientHeight):d3.chartHeight,m3=d3.pointer.getChartPosition(),l3=function(e4){var h4="x"===e4;return[e4,h4?k3:w2,h4?c2:a4].concat(g4?[h4?c2*m3.scaleX:a4*m3.scaleY,h4?m3.left-b2+(f2.plotX+d3.plotLeft)*m3.scaleX:m3.top-b2+(f2.plotY+d3.plotTop)*m3.scaleY,0,h4?k3:w2]:[h4?c2:a4,h4?f2.plotX+d3.plotLeft:f2.plotY+d3.plotTop,h4?d3.plotLeft:d3.plotTop,h4?d3.plotLeft+d3.plotWidth:d3.plotTop+d3.plotHeight])},p3=l3("y"),y2=l3("x"),v2;l3=!!f2.negative;!d3.polar&&d3.hoverSeries&&d3.hoverSeries.yAxis&&d3.hoverSeries.yAxis.reversed&&(l3=!l3);var r3=!this.followPointer&&I(f2.ttBelow,!d3.inverted===l3),t3=function(c3,f3,a5,d4,n2,u2,q){var z2=g4?"y"===c3?b2*m3.scaleY:b2*m3.scaleX:b2,k4=(a5-d4)/2,w3=d4<n2-b2,G2=n2+b2+d4<f3,l4=n2-z2-a5+k4;n2=n2+z2-k4;if(r3&&G2)e3[c3]=n2;else if(!r3&&w3)e3[c3]=l4;else if(w3)e3[c3]=Math.min(q-d4,0>l4-h3?l4:l4-h3);else if(G2)e3[c3]=Math.max(u2,n2+h3+a5>f3?n2:n2+h3);else return false},D3=function(c3,f3,a5,d4,h4){var n2;h4<b2||h4>f3-b2?n2=false:e3[c3]=h4<a5/2?1:h4>f3-d4/2?f3-d4-2:h4-a5/2;return n2},E3=function(b3){var c3=p3;p3=y2;y2=c3;v2=b3},G=function(){false!==t3.apply(0,p3)?false!==D3.apply(0,y2)||v2||(E3(true),G()):v2?e3.x=e3.y=0:(E3(true),G())};(d3.inverted||1<this.len)&&E3();G();return e3};a3.prototype.hide=function(c2){var a4=this;C2.clearTimeout(this.hideTimer);c2=I(c2,this.options.hideDelay);this.isHidden||(this.hideTimer=L2((function(){a4.getLabel().fadeOut(c2?void 0:c2);a4.isHidden=true}),c2))};a3.prototype.init=function(c2,a4){this.chart=c2;this.options=a4;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=true;this.split=a4.split&&!c2.inverted&&!c2.polar;this.shared=a4.shared||this.split;this.outside=I(a4.outside,!(!c2.scrollablePixelsX&&!c2.scrollablePixelsY))};a3.prototype.shouldStickOnContact=function(c2){return!(this.followPointer||!this.options.stickOnContact||c2&&!this.chart.pointer.inClass(c2.target,"highcharts-tooltip"))};a3.prototype.move=function(c2,a4,f2,e3){var b2=this,h3=b2.now,n2=false!==b2.options.animation&&!b2.isHidden&&(1<Math.abs(c2-h3.x)||1<Math.abs(a4-h3.y)),g4=b2.followPointer||1<b2.len;d2(h3,{x:n2?(2*h3.x+c2)/3:c2,y:n2?(h3.y+a4)/2:a4,anchorX:g4?void 0:n2?(2*h3.anchorX+f2)/3:f2,anchorY:g4?void 0:n2?(h3.anchorY+e3)/2:e3});b2.getLabel().attr(h3);b2.drawTracker();n2&&(C2.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){b2&&b2.move(c2,a4,f2,e3)}),32))};a3.prototype.refresh=function(c2,a4){var f2=this.chart,d3=this.options,b2=f2.pointer,e3=E2(c2),g4=e3[0],q=[],k3=d3.formatter||this.defaultFormatter,w2=this.shared,l3=f2.styledMode,p3={};if(d3.enabled&&g4.series){C2.clearTimeout(this.hideTimer);this.allowShared=!(!m2(c2)&&c2.series&&c2.series.noSharedTooltip);this.followPointer=!this.split&&g4.series.tooltipOptions.followPointer;c2=this.getAnchor(c2,a4);var y2=c2[0],r3=c2[1];w2&&this.allowShared?(b2.applyInactiveState(e3),e3.forEach((function(b3){b3.setState("hover");q.push(b3.getLabelConfig())})),p3={x:g4.category,y:g4.y},p3.points=q):p3=g4.getLabelConfig();this.len=q.length;k3=k3.call(p3,this);w2=g4.series;this.distance=I(w2.tooltipOptions.distance,16);if(false===k3)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(k3,e3);else{var v2=y2,t3=r3;a4&&b2.isDirectTouch&&(v2=a4.chartX-f2.plotLeft,t3=a4.chartY-f2.plotTop);if(f2.polar||false===w2.options.clip||e3.some((function(c3){return b2.isDirectTouch||c3.series.shouldShowTooltip(v2,t3)})))a4=this.getLabel(),d3.style.width&&!l3||a4.css({width:f2.spacingBox.width+"px"}),a4.attr({text:k3&&k3.join?k3.join(""):k3}),a4.addClass(this.getClassName(g4),true),l3||a4.attr({stroke:d3.borderColor||g4.color||w2.color||"#666666"}),this.updatePosition({plotX:y2,plotY:r3,negative:g4.negative,ttBelow:g4.ttBelow,h:c2[2]||0});else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show();this.isHidden=false}h2(this,"refresh")}};a3.prototype.renderSplit=function(c2,a4){function f2(b3,c3,a5,f3,d3){void 0===d3&&(d3=true);a5?(c3=R2?0:ba,b3=r2(b3-f3/2,P.left,P.right-f3-(e3.outside?V2:0))):(c3-=Z,b3=d3?b3-f3-x3:b3+x3,b3=r2(b3,d3?b3:P.left,P.right));return{x:b3,y:c3}}var e3=this,b2=e3.chart,h3=e3.chart,g4=h3.chartWidth,q=h3.chartHeight,k3=h3.plotHeight,w2=h3.plotLeft,m3=h3.plotTop,l3=h3.pointer,y2=h3.scrollablePixelsY;y2=void 0===y2?0:y2;var D3=h3.scrollablePixelsX,v2=h3.scrollingContainer;v2=void 0===v2?{scrollLeft:0,scrollTop:0}:v2;var E3=v2.scrollLeft;v2=v2.scrollTop;var A3=h3.styledMode,x3=e3.distance,L3=e3.options,G=e3.options.positioner,P=e3.outside&&"number"!==typeof D3?H2.documentElement.getBoundingClientRect():{left:E3,right:E3+g4,top:v2,bottom:v2+q},M=e3.getLabel(),X=this.renderer||b2.renderer,R2=!(!b2.xAxis[0]||!b2.xAxis[0].opposite);b2=l3.getChartPosition();var V2=b2.left;b2=b2.top;var Z=m3+v2,C3=0,ba=k3-y2;p2(c2)&&(c2=[false,c2]);c2=c2.slice(0,a4.length+1).reduce((function(b3,c3,d3){if(false!==c3&&""!==c3){d3=a4[d3-1]||{isHeader:true,plotX:a4[0].plotX,plotY:k3,series:{}};var h4=d3.isHeader,n2=h4?e3:d3.series;c3=c3.toString();var g5=n2.tt,u2=d3.isHeader;var q2=d3.series;g5||(g5={padding:L3.padding,r:L3.borderRadius},A3||(g5.fill=L3.backgroundColor,g5["stroke-width"]=L3.borderWidth),g5=X.label("",0,0,L3[u2?"headerShape":"shape"],void 0,void 0,L3.useHTML).addClass(e3.getClassName(d3,true,u2)).attr(g5).add(M));g5.isActive=true;g5.attr({text:c3});A3||g5.css(L3.style).shadow(L3.shadow).attr({stroke:L3.borderColor||d3.color||q2.color||"#333333"});n2=n2.tt=g5;u2=n2.getBBox();c3=u2.width+n2.strokeWidth();h4&&(C3=u2.height,ba+=C3,R2&&(Z-=C3));q2=d3.plotX;q2=void 0===q2?0:q2;g5=d3.plotY;g5=void 0===g5?0:g5;var z2=d3.series;if(d3.isHeader){q2=w2+q2;var l4=m3+k3/2}else{var v3=z2.xAxis,p3=z2.yAxis;q2=v3.pos+r2(q2,-x3,v3.len+x3);z2.shouldShowTooltip(0,p3.pos-m3+g5,{ignoreX:true})&&(l4=p3.pos+g5)}q2=r2(q2,P.left-x3,P.right+x3);"number"===typeof l4?(u2=u2.height+1,g5=G?G.call(e3,c3,u2,d3):f2(q2,l4,h4,c3),b3.push({align:G?0:void 0,anchorX:q2,anchorY:l4,boxWidth:c3,point:d3,rank:I(g5.rank,h4?1:0),size:u2,target:g5.y,tt:n2,x:g5.x})):n2.isActive=false}return b3}),[]);!G&&c2.some((function(b3){var c3=(e3.outside?V2:0)+b3.anchorX;return c3<P.left&&c3+b3.boxWidth<P.right?true:c3<V2-P.left+b3.boxWidth&&P.right-c3>c3}))&&(c2=c2.map((function(b3){var c3=f2(b3.anchorX,b3.anchorY,b3.point.isHeader,b3.boxWidth,false);return d2(b3,{target:c3.y,x:c3.x})})));e3.cleanSplit();t2(c2,ba);var B=V2,F3=V2;c2.forEach((function(b3){var c3=b3.x,a5=b3.boxWidth;b3=b3.isHeader;b3||(e3.outside&&V2+c3<B&&(B=V2+c3),!b3&&e3.outside&&B+a5>F3&&(F3=V2+c3))}));c2.forEach((function(b3){var c3=b3.x,a5=b3.anchorX,f3=b3.pos,d3=b3.point.isHeader;f3={visibility:"undefined"===typeof f3?"hidden":"inherit",x:c3,y:(f3||0)+Z,anchorX:a5,anchorY:b3.anchorY};if(e3.outside&&c3<a5){var h4=V2-B;0<h4&&(d3||(f3.x=c3+h4,f3.anchorX=a5+h4),d3&&(f3.x=(F3-B)/2,f3.anchorX=a5+h4))}b3.tt.attr(f3)}));c2=e3.container;y2=e3.renderer;e3.outside&&c2&&y2&&(h3=M.getBBox(),y2.setSize(h3.width+h3.x,h3.height+h3.y,false),c2.style.left=B+"px",c2.style.top=b2+"px")};a3.prototype.drawTracker=function(){if(this.shouldStickOnContact()){var c2=this.chart,a4=this.label,f2=this.shared?c2.hoverPoints:c2.hoverPoint;if(a4&&f2){var d3={x:0,y:0,width:0,height:0};f2=this.getAnchor(f2);var b2=a4.getBBox();f2[0]+=c2.plotLeft-a4.translateX;f2[1]+=c2.plotTop-a4.translateY;d3.x=Math.min(0,f2[0]);d3.y=Math.min(0,f2[1]);d3.width=0>f2[0]?Math.max(Math.abs(f2[0]),b2.width-f2[0]):Math.max(Math.abs(f2[0]),b2.width);d3.height=0>f2[1]?Math.max(Math.abs(f2[1]),b2.height-Math.abs(f2[1])):Math.max(Math.abs(f2[1]),b2.height);this.tracker?this.tracker.attr(d3):(this.tracker=a4.renderer.rect(d3).addClass("highcharts-tracker").add(a4),c2.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}else this.tracker&&this.tracker.destroy()};a3.prototype.styledModeFormat=function(c2){return c2.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')};a3.prototype.tooltipFooterHeaderFormatter=function(c2,a4){var f2=c2.series,d3=f2.tooltipOptions,b2=f2.xAxis,e3=b2&&b2.dateTime;b2={isFooter:a4,labelConfig:c2};var g4=d3.xDateFormat,q=d3[a4?"footerFormat":"headerFormat"];h2(this,"headerFormatter",b2,(function(b3){e3&&!g4&&k2(c2.key)&&(g4=e3.getXDateFormat(c2.key,d3.dateTimeLabelFormats));e3&&g4&&(c2.point&&c2.point.tooltipDateKeys||["key"]).forEach((function(b4){q=q.replace("{point."+b4+"}","{point."+b4+":"+g4+"}")}));f2.chart.styledMode&&(q=this.styledModeFormat(q));b3.text=A2(q,{point:c2,series:f2},this.chart)}));return b2.text};a3.prototype.update=function(c2){this.destroy();D2(true,this.chart.options.tooltip.userOptions,c2);this.init(this.chart,D2(true,this.options,c2))};a3.prototype.updatePosition=function(c2){var a4=this.chart,f2=this.distance,d3=this.options,b2=a4.pointer,e3=this.getLabel(),h3=b2.getChartPosition();b2=h3.left;var g4=h3.top,k3=h3.scaleX;h3=h3.scaleY;var m3=(d3.positioner||this.getPosition).call(this,e3.width,e3.height,c2),p3=(c2.plotX||0)+a4.plotLeft;c2=(c2.plotY||0)+a4.plotTop;if(this.outside){d3.positioner&&(m3.x+=b2-f2,m3.y+=g4-f2);f2=d3.borderWidth+2*f2;this.renderer.setSize(e3.width+f2,e3.height+f2,false);if(1!==k3||1!==h3)l2(this.container,{transform:"scale(".concat(k3,", ").concat(h3,")")}),p3*=k3,c2*=h3;p3+=b2-m3.x;c2+=g4-m3.y}this.move(Math.round(m3.x),Math.round(m3.y||0),p3,c2)};return a3}();return a2}));K(g2,"Core/Series/Point.js",[g2["Core/Renderer/HTML/AST.js"],g2["Core/Animation/AnimationUtilities.js"],g2["Core/Defaults.js"],g2["Core/FormatUtilities.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2){var A2=g3.animObject,H2=x2.defaultOptions,t2=F2.format,r2=C2.addEvent,l2=C2.defined,e2=C2.erase,d2=C2.extend,h2=C2.fireEvent,m2=C2.getNestedProperty,k2=C2.isArray,p2=C2.isFunction,D2=C2.isNumber,I=C2.isObject,E2=C2.merge,L2=C2.objectEach,y2=C2.pick,c2=C2.syncTimeout,w2=C2.removeEvent,f2=C2.uniqueKey;g3=function(){function g4(){this.category=void 0;this.formatPrefix="point";this.id=void 0;this.isNull=false;this.percentage=this.options=this.name=void 0;this.selected=false;this.total=this.shapeArgs=this.series=void 0;this.visible=true;this.x=void 0}g4.prototype.animateBeforeDestroy=function(){var b2=this,c3={x:b2.startXPos,opacity:0},a3=b2.getGraphicalProps();a3.singular.forEach((function(a4){b2[a4]=b2[a4].animate("dataLabel"===a4?{x:b2[a4].startXPos,y:b2[a4].startYPos,opacity:0}:c3)}));a3.plural.forEach((function(c4){b2[c4].forEach((function(c5){c5.element&&c5.animate(d2({x:b2.startXPos},c5.startYPos?{x:c5.startXPos,y:c5.startYPos}:{}))}))}))};g4.prototype.applyOptions=function(b2,c3){var a3=this.series,f3=a3.options.pointValKey||a3.pointValKey;b2=g4.prototype.optionsToObject.call(this,b2);d2(this,b2);this.options=this.options?d2(this.options,b2):b2;b2.group&&delete this.group;b2.dataLabels&&delete this.dataLabels;f3&&(this.y=g4.prototype.getNestedProperty.call(this,f3));this.formatPrefix=(this.isNull=this.isValid&&!this.isValid())?"null":"point";this.selected&&(this.state="select");"name"in this&&"undefined"===typeof c3&&a3.xAxis&&a3.xAxis.hasNames&&(this.x=a3.xAxis.nameToX(this));"undefined"===typeof this.x&&a3?this.x="undefined"===typeof c3?a3.autoIncrement():c3:D2(b2.x)&&a3.options.relativeXValue&&(this.x=a3.autoIncrement(b2.x));return this};g4.prototype.destroy=function(){function b2(){if(a3.graphic||a3.graphics||a3.dataLabel||a3.dataLabels)w2(a3),a3.destroyElements();for(n2 in a3)a3[n2]=null}var a3=this,f3=a3.series,d3=f3.chart;f3=f3.options.dataSorting;var h3=d3.hoverPoints,g5=A2(a3.series.chart.renderer.globalAnimation),n2;a3.legendItem&&d3.legend.destroyItem(a3);h3&&(a3.setState(),e2(h3,a3),h3.length||(d3.hoverPoints=null));if(a3===d3.hoverPoint)a3.onMouseOut();f3&&f3.enabled?(this.animateBeforeDestroy(),c2(b2,g5.duration)):b2();d3.pointCount--};g4.prototype.destroyElements=function(b2){var c3=this;b2=c3.getGraphicalProps(b2);b2.singular.forEach((function(b3){c3[b3]=c3[b3].destroy()}));b2.plural.forEach((function(b3){c3[b3].forEach((function(b4){b4&&b4.element&&b4.destroy()}));delete c3[b3]}))};g4.prototype.firePointEvent=function(b2,c3,a3){var f3=this,d3=this.series.options;(d3.point.events[b2]||f3.options&&f3.options.events&&f3.options.events[b2])&&f3.importEvents();"click"===b2&&d3.allowPointSelect&&(a3=function(b3){f3.select&&f3.select(null,b3.ctrlKey||b3.metaKey||b3.shiftKey)});h2(f3,b2,c3,a3)};g4.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")};g4.prototype.getGraphicalProps=function(b2){var c3=this,a3=[],f3={singular:[],plural:[]},d3;b2=b2||{graphic:1,dataLabel:1};b2.graphic&&a3.push("graphic","shadowGroup");b2.dataLabel&&a3.push("dataLabel","dataLabelPath","dataLabelUpper","connector");for(d3=a3.length;d3--;){var e3=a3[d3];c3[e3]&&f3.singular.push(e3)}["graphic","dataLabel","connector"].forEach((function(a4){var d4=a4+"s";b2[a4]&&c3[d4]&&f3.plural.push(d4)}));return f3};g4.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}};g4.prototype.getNestedProperty=function(b2){if(b2)return 0===b2.indexOf("custom.")?m2(b2,this.options):this[b2]};g4.prototype.getZone=function(){var b2=this.series,c3=b2.zones;b2=b2.zoneAxis||"y";var a3,f3=0;for(a3=c3[f3];this[b2]>=a3.value;)a3=c3[++f3];this.nonZonedColor||(this.nonZonedColor=this.color);this.color=a3&&a3.color&&!this.options.color?a3.color:this.nonZonedColor;return a3};g4.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType};g4.prototype.init=function(b2,c3,a3){this.series=b2;this.applyOptions(c3,a3);this.id=l2(this.id)?this.id:f2();this.resolveColor();b2.chart.pointCount++;h2(this,"afterInit");return this};g4.prototype.isValid=function(){return null!==this.x&&D2(this.y)};g4.prototype.optionsToObject=function(b2){var c3=this.series,a3=c3.options.keys,f3=a3||c3.pointArrayMap||["y"],d3=f3.length,e3={},h3=0,n2=0;if(D2(b2)||null===b2)e3[f3[0]]=b2;else if(k2(b2))for(!a3&&b2.length>d3&&(c3=typeof b2[0],"string"===c3?e3.name=b2[0]:"number"===c3&&(e3.x=b2[0]),h3++);n2<d3;)a3&&"undefined"===typeof b2[h3]||(0<f3[n2].indexOf(".")?g4.prototype.setNestedProperty(e3,b2[h3],f3[n2]):e3[f3[n2]]=b2[h3]),h3++,n2++;else"object"===typeof b2&&(e3=b2,b2.dataLabels&&(c3._hasPointLabels=true),b2.marker&&(c3._hasPointMarkers=true));return e3};g4.prototype.pos=function(b2,c3){void 0===c3&&(c3=this.plotY);var a3=this.plotX,f3=this.series,d3=f3.chart,e3=f3.xAxis;f3=f3.yAxis;var h3=0,g5=0;if(D2(a3)&&D2(c3))return b2&&(h3=e3?e3.pos:d3.plotLeft,g5=f3?f3.pos:d3.plotTop),d3.inverted&&e3&&f3?[f3.len-c3+g5,e3.len-a3+h3]:[a3+h3,c3+g5]};g4.prototype.resolveColor=function(){var b2=this.series,c3=b2.chart.styledMode;var a3=b2.chart.options.chart.colorCount;delete this.nonZonedColor;if(b2.options.colorByPoint){if(!c3){a3=b2.options.colors||b2.chart.options.colors;var f3=a3[b2.colorCounter];a3=a3.length}c3=b2.colorCounter;b2.colorCounter++;b2.colorCounter===a3&&(b2.colorCounter=0)}else c3||(f3=b2.color),c3=b2.colorIndex;this.colorIndex=y2(this.options.colorIndex,c3);this.color=y2(this.options.color,f3)};g4.prototype.setNestedProperty=function(b2,c3,a3){a3.split(".").reduce((function(b3,a4,f3,d3){b3[a4]=d3.length-1===f3?c3:I(b3[a4],true)?b3[a4]:{};return b3[a4]}),b2);return b2};g4.prototype.shouldDraw=function(){return!this.isNull};g4.prototype.tooltipFormatter=function(b2){var c3=this.series,a3=c3.tooltipOptions,f3=y2(a3.valueDecimals,""),d3=a3.valuePrefix||"",e3=a3.valueSuffix||"";c3.chart.styledMode&&(b2=c3.chart.tooltip.styledModeFormat(b2));(c3.pointArrayMap||["y"]).forEach((function(c4){c4="{point."+c4;if(d3||e3)b2=b2.replace(RegExp(c4+"}","g"),d3+c4+"}"+e3);b2=b2.replace(RegExp(c4+"}","g"),c4+":,."+f3+"f}")}));return t2(b2,{point:this,series:this.series},c3.chart)};g4.prototype.update=function(b2,c3,a3,f3){function d3(){e3.applyOptions(b2);var f4=g5&&e3.hasMockGraphic;f4=null===e3.y?!f4:f4;g5&&f4&&(e3.graphic=g5.destroy(),delete e3.hasMockGraphic);I(b2,true)&&(g5&&g5.element&&b2&&b2.marker&&"undefined"!==typeof b2.marker.symbol&&(e3.graphic=g5.destroy()),b2&&b2.dataLabels&&e3.dataLabel&&(e3.dataLabel=e3.dataLabel.destroy()),e3.connector&&(e3.connector=e3.connector.destroy()));u2=e3.index;h3.updateParallelArrays(e3,u2);q.data[u2]=I(q.data[u2],true)||I(b2,true)?e3.options:y2(b2,q.data[u2]);h3.isDirty=h3.isDirtyData=true;!h3.fixedBox&&h3.hasCartesianSeries&&(n2.isDirtyBox=true);"point"===q.legendType&&(n2.isDirtyLegend=true);c3&&n2.redraw(a3)}var e3=this,h3=e3.series,g5=e3.graphic,n2=h3.chart,q=h3.options,u2;c3=y2(c3,true);false===f3?d3():e3.firePointEvent("update",{options:b2},d3)};g4.prototype.remove=function(b2,c3){this.series.removePoint(this.series.data.indexOf(this),b2,c3)};g4.prototype.select=function(b2,c3){var a3=this,f3=a3.series,d3=f3.chart;this.selectedStaging=b2=y2(b2,!a3.selected);a3.firePointEvent(b2?"select":"unselect",{accumulate:c3},(function(){a3.selected=a3.options.selected=b2;f3.options.data[f3.data.indexOf(a3)]=a3.options;a3.setState(b2&&"select");c3||d3.getSelectedPoints().forEach((function(b3){var c4=b3.series;b3.selected&&b3!==a3&&(b3.selected=b3.options.selected=false,c4.options.data[c4.data.indexOf(b3)]=b3.options,b3.setState(d3.hoverPoints&&c4.options.inactiveOtherPoints?"inactive":""),b3.firePointEvent("unselect"))}))}));delete this.selectedStaging};g4.prototype.onMouseOver=function(b2){var c3=this.series.chart,a3=c3.pointer;b2=b2?a3.normalize(b2):a3.getChartCoordinatesFromPoint(this,c3.inverted);a3.runPointActions(b2,this)};g4.prototype.onMouseOut=function(){var b2=this.series.chart;this.firePointEvent("mouseOut");this.series.options.inactiveOtherPoints||(b2.hoverPoints||[]).forEach((function(b3){b3.setState()}));b2.hoverPoints=b2.hoverPoint=null};g4.prototype.importEvents=function(){if(!this.hasImportedEvents){var b2=this,c3=E2(b2.series.options.point,b2.options).events;b2.events=c3;L2(c3,(function(c4,a3){p2(c4)&&r2(b2,a3,c4)}));this.hasImportedEvents=true}};g4.prototype.setState=function(b2,c3){var f3=this.series,e3=this.state,g5=f3.options.states[b2||"normal"]||{},n2=H2.plotOptions[f3.type].marker&&f3.options.marker,u2=n2&&false===n2.enabled,k3=n2&&n2.states&&n2.states[b2||"normal"]||{},m3=false===k3.enabled,w3=this.marker||{},l3=f3.chart,p3=n2&&f3.markerAttribs,r3=f3.halo,t3,E3=f3.stateMarkerGraphic;b2=b2||"";if(!(b2===this.state&&!c3||this.selected&&"select"!==b2||false===g5.enabled||b2&&(m3||u2&&false===k3.enabled)||b2&&w3.states&&w3.states[b2]&&false===w3.states[b2].enabled)){this.state=b2;p3&&(t3=f3.markerAttribs(this,b2));if(this.graphic&&!this.hasMockGraphic){e3&&this.graphic.removeClass("highcharts-point-"+e3);b2&&this.graphic.addClass("highcharts-point-"+b2);if(!l3.styledMode){e3=f3.pointAttribs(this,b2);var G=y2(l3.options.chart.animation,g5.animation);var P=e3.opacity;f3.options.inactiveOtherPoints&&D2(P)&&((this.dataLabels||[]).forEach((function(b3){b3&&!b3.hasClass("highcharts-data-label-hidden")&&b3.animate({opacity:P},G)})),this.connector&&this.connector.animate({opacity:P},G));this.graphic.animate(e3,G)}t3&&this.graphic.animate(t3,y2(l3.options.chart.animation,k3.animation,n2.animation));E3&&E3.hide()}else{if(b2&&k3){n2=w3.symbol||f3.symbol;E3&&E3.currentSymbol!==n2&&(E3=E3.destroy());if(t3)if(E3)E3[c3?"animate":"attr"]({x:t3.x,y:t3.y});else n2&&(f3.stateMarkerGraphic=E3=l3.renderer.symbol(n2,t3.x,t3.y,t3.width,t3.height).add(f3.markerGroup),E3.currentSymbol=n2);!l3.styledMode&&E3&&"inactive"!==this.state&&E3.attr(f3.pointAttribs(this,b2))}E3&&(E3[b2&&this.isInside?"show":"hide"](),E3.element.point=this,E3.addClass(this.getClassName(),true))}g5=g5.halo;t3=(E3=this.graphic||E3)&&E3.visibility||"inherit";g5&&g5.size&&E3&&"hidden"!==t3&&!this.isCluster?(r3||(f3.halo=r3=l3.renderer.path().add(E3.parentGroup)),r3.show()[c3?"animate":"attr"]({d:this.haloPath(g5.size)}),r3.attr({class:"highcharts-halo highcharts-color-"+y2(this.colorIndex,f3.colorIndex)+(this.className?" "+this.className:""),visibility:t3,zIndex:-1}),r3.point=this,l3.styledMode||r3.attr(d2({fill:this.color||f3.color,"fill-opacity":g5.opacity},a2.filterUserAttributes(g5.attributes||{})))):r3&&r3.point&&r3.point.haloPath&&r3.animate({d:r3.point.haloPath(0)},null,r3.hide);h2(this,"afterSetState",{state:b2})}};g4.prototype.haloPath=function(b2){var c3=this.pos();return c3?this.series.chart.renderer.symbols.circle(Math.floor(c3[0])-b2,c3[1]-b2,2*b2,2*b2):[]};return g4}();return g3}));K(g2,"Core/Pointer.js",[g2["Core/Color/Color.js"],g2["Core/Globals.js"],g2["Core/Tooltip.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2){var A2=a2.parse,B=g3.charts,H2=g3.noop,t2=F2.addEvent,r2=F2.attr,l2=F2.css,e2=F2.defined,d2=F2.extend,h2=F2.find,m2=F2.fireEvent,k2=F2.isNumber,p2=F2.isObject,D2=F2.objectEach,I=F2.offset,E2=F2.pick,L2=F2.splat;a2=function(){function a3(c2,a4){this.lastValidTouch={};this.pinchDown=[];this.runChartClick=false;this.eventsToUnbind=[];this.chart=c2;this.hasDragged=false;this.options=a4;this.init(c2,a4)}a3.prototype.applyInactiveState=function(c2){var a4=[],f2;(c2||[]).forEach((function(c3){f2=c3.series;a4.push(f2);f2.linkedParent&&a4.push(f2.linkedParent);f2.linkedSeries&&(a4=a4.concat(f2.linkedSeries));f2.navigatorSeries&&a4.push(f2.navigatorSeries)}));this.chart.series.forEach((function(c3){-1===a4.indexOf(c3)?c3.setState("inactive",true):c3.options.inactiveOtherPoints&&c3.setAllPointsToState("inactive")}))};a3.prototype.destroy=function(){var c2=this;this.eventsToUnbind.forEach((function(c3){return c3()}));this.eventsToUnbind=[];g3.chartCount||(a3.unbindDocumentMouseUp&&(a3.unbindDocumentMouseUp=a3.unbindDocumentMouseUp()),a3.unbindDocumentTouchEnd&&(a3.unbindDocumentTouchEnd=a3.unbindDocumentTouchEnd()));clearInterval(c2.tooltipTimeout);D2(c2,(function(a4,f2){c2[f2]=void 0}))};a3.prototype.getSelectionMarkerAttrs=function(c2,a4){var f2=this,d3={args:{chartX:c2,chartY:a4},attrs:{},shapeType:"rect"};m2(this,"getSelectionMarkerAttrs",d3,(function(b2){var d4=f2.chart,e3=f2.mouseDownX;e3=void 0===e3?0:e3;var h3=f2.mouseDownY;h3=void 0===h3?0:h3;var g4=f2.zoomHor,n2=f2.zoomVert;b2=b2.attrs;b2.x=d4.plotLeft;b2.y=d4.plotTop;b2.width=g4?1:d4.plotWidth;b2.height=n2?1:d4.plotHeight;g4&&(d4=c2-e3,b2.width=Math.abs(d4),b2.x=(0<d4?0:d4)+e3);n2&&(d4=a4-h3,b2.height=Math.abs(d4),b2.y=(0<d4?0:d4)+h3)}));return d3};a3.prototype.drag=function(c2){var a4=this.chart,f2=a4.options.chart,d3=a4.plotLeft,b2=a4.plotTop,e3=a4.plotWidth,h3=a4.plotHeight,g4=this.mouseDownX||0,k3=this.mouseDownY||0,m3=p2(f2.panning)?f2.panning&&f2.panning.enabled:f2.panning,l3=f2.panKey&&c2[f2.panKey+"Key"],y2=c2.chartX,r3=c2.chartY,t3=this.selectionMarker;t3&&t3.touch||(y2<d3?y2=d3:y2>d3+e3&&(y2=d3+e3),r3<b2?r3=b2:r3>b2+h3&&(r3=b2+h3),this.hasDragged=Math.sqrt(Math.pow(g4-y2,2)+Math.pow(k3-r3,2)),10<this.hasDragged&&(d3=a4.isInsidePlot(g4-d3,k3-b2,{visiblePlotOnly:true}),r3=this.getSelectionMarkerAttrs(y2,r3),y2=r3.shapeType,r3=r3.attrs,!a4.hasCartesianSeries&&!a4.mapView||!this.zoomX&&!this.zoomY||!d3||l3||t3||(this.selectionMarker=t3=a4.renderer[y2](),t3.attr({class:"highcharts-selection-marker",zIndex:7}).add(),a4.styledMode||t3.attr({fill:f2.selectionMarkerFill||A2("#335cad").setOpacity(.25).get()})),t3&&t3.attr(r3),d3&&!t3&&m3&&a4.pan(c2,f2.panning)))};a3.prototype.dragStart=function(c2){var a4=this.chart;a4.mouseIsDown=c2.type;a4.cancelClick=false;a4.mouseDownX=this.mouseDownX=c2.chartX;a4.mouseDownY=this.mouseDownY=c2.chartY};a3.prototype.getSelectionBox=function(c2){var a4={args:{marker:c2},result:{}};m2(this,"getSelectionBox",a4,(function(a5){a5.result={x:c2.attr?+c2.attr("x"):c2.x,y:c2.attr?+c2.attr("y"):c2.y,width:c2.attr?c2.attr("width"):c2.width,height:c2.attr?c2.attr("height"):c2.height}}));return a4.result};a3.prototype.drop=function(c2){var a4=this,f2=this.chart,h3=this.hasPinched;if(this.selectionMarker){var b2=this.getSelectionBox(this.selectionMarker),g4=b2.x,z2=b2.y,q=b2.width,p3=b2.height,y2={originalEvent:c2,xAxis:[],yAxis:[],x:g4,y:z2,width:q,height:p3},r3=!!f2.mapView;if(this.hasDragged||h3)f2.axes.forEach((function(b3){if(b3.zoomEnabled&&e2(b3.min)&&(h3||a4[{xAxis:"zoomX",yAxis:"zoomY"}[b3.coll]])&&k2(g4)&&k2(z2)&&k2(q)&&k2(p3)){var f3=b3.horiz,d3="touchend"===c2.type?b3.minPixelPadding:0,n2=b3.toValue((f3?g4:z2)+d3);f3=b3.toValue((f3?g4+q:z2+p3)-d3);y2[b3.coll].push({axis:b3,min:Math.min(n2,f3),max:Math.max(n2,f3)});r3=true}})),r3&&m2(f2,"selection",y2,(function(b3){f2.zoom(d2(b3,h3?{animation:false}:null))}));k2(f2.index)&&(this.selectionMarker=this.selectionMarker.destroy());h3&&this.scaleGroups()}f2&&k2(f2.index)&&(l2(f2.container,{cursor:f2._cursor}),f2.cancelClick=10<this.hasDragged,f2.mouseIsDown=this.hasDragged=this.hasPinched=false,this.pinchDown=[])};a3.prototype.findNearestKDPoint=function(c2,a4,f2){var d3;c2.forEach((function(b2){var c3=!(b2.noSharedTooltip&&a4)&&0>b2.options.findNearestPointBy.indexOf("y");b2=b2.searchPoint(f2,c3);if((c3=p2(b2,true)&&b2.series)&&!(c3=!p2(d3,true))){c3=d3.distX-b2.distX;var e3=d3.dist-b2.dist,h3=(b2.series.group&&b2.series.group.zIndex)-(d3.series.group&&d3.series.group.zIndex);c3=0<(0!==c3&&a4?c3:0!==e3?e3:0!==h3?h3:d3.series.index>b2.series.index?-1:1)}c3&&(d3=b2)}));return d3};a3.prototype.getChartCoordinatesFromPoint=function(c2,a4){var f2=c2.series,d3=f2.xAxis;f2=f2.yAxis;var b2=c2.shapeArgs;if(d3&&f2){var e3=E2(c2.clientX,c2.plotX),h3=c2.plotY||0;c2.isNode&&b2&&k2(b2.x)&&k2(b2.y)&&(e3=b2.x,h3=b2.y);return a4?{chartX:f2.len+f2.pos-h3,chartY:d3.len+d3.pos-e3}:{chartX:e3+d3.pos,chartY:h3+f2.pos}}if(b2&&b2.x&&b2.y)return{chartX:b2.x,chartY:b2.y}};a3.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var c2=this.chart.container,a4=I(c2);this.chartPosition={left:a4.left,top:a4.top,scaleX:1,scaleY:1};var f2=c2.offsetWidth;c2=c2.offsetHeight;2<f2&&2<c2&&(this.chartPosition.scaleX=a4.width/f2,this.chartPosition.scaleY=a4.height/c2);return this.chartPosition};a3.prototype.getCoordinates=function(c2){var a4={xAxis:[],yAxis:[]};this.chart.axes.forEach((function(f2){a4[f2.isXAxis?"xAxis":"yAxis"].push({axis:f2,value:f2.toValue(c2[f2.horiz?"chartX":"chartY"])})}));return a4};a3.prototype.getHoverData=function(c2,a4,f2,d3,b2,e3){var g4=[];d3=!(!d3||!c2);var n2=function(c3){return c3.visible&&!(!b2&&c3.directTouch)&&E2(c3.options.enableMouseTracking,true)},k3={chartX:e3?e3.chartX:void 0,chartY:e3?e3.chartY:void 0,shared:b2};m2(this,"beforeGetHoverData",k3);var u2=a4&&!a4.stickyTracking?[a4]:f2.filter((function(b3){return b3.stickyTracking&&(k3.filter||n2)(b3)}));var l3=d3||!e3?c2:this.findNearestKDPoint(u2,b2,e3);a4=l3&&l3.series;l3&&(b2&&!a4.noSharedTooltip?(u2=f2.filter((function(b3){return k3.filter?k3.filter(b3):n2(b3)&&!b3.noSharedTooltip})),u2.forEach((function(b3){var c3=h2(b3.points,(function(b4){return b4.x===l3.x&&!b4.isNull}));p2(c3)&&(b3.boosted&&b3.boost&&(c3=b3.boost.getPoint(c3)),g4.push(c3))}))):g4.push(l3));k3={hoverPoint:l3};m2(this,"afterGetHoverData",k3);return{hoverPoint:k3.hoverPoint,hoverSeries:a4,hoverPoints:g4}};a3.prototype.getPointFromEvent=function(c2){c2=c2.target;for(var a4;c2&&!a4;)a4=c2.point,c2=c2.parentNode;return a4};a3.prototype.onTrackerMouseOut=function(c2){c2=c2.relatedTarget||c2.toElement;var a4=this.chart.hoverSeries;this.isDirectTouch=false;if(!(!a4||!c2||a4.stickyTracking||this.inClass(c2,"highcharts-tooltip")||this.inClass(c2,"highcharts-series-"+a4.index)&&this.inClass(c2,"highcharts-tracker")))a4.onMouseOut()};a3.prototype.inClass=function(c2,a4){for(var f2;c2;){if(f2=r2(c2,"class")){if(-1!==f2.indexOf(a4))return true;if(-1!==f2.indexOf("highcharts-container"))return false}c2=c2.parentElement}};a3.prototype.init=function(c2,a4){this.options=a4;this.chart=c2;this.runChartClick=!(!a4.chart.events||!a4.chart.events.click);this.pinchDown=[];this.lastValidTouch={};x2&&(c2.tooltip=new x2(c2,a4.tooltip));this.setDOMEvents()};a3.prototype.normalize=function(c2,a4){var f2=c2.touches,e3=f2?f2.length?f2.item(0):E2(f2.changedTouches,c2.changedTouches)[0]:c2;a4||(a4=this.getChartPosition());f2=e3.pageX-a4.left;e3=e3.pageY-a4.top;f2/=a4.scaleX;e3/=a4.scaleY;return d2(c2,{chartX:Math.round(f2),chartY:Math.round(e3)})};a3.prototype.onContainerClick=function(c2){var a4=this.chart,f2=a4.hoverPoint;c2=this.normalize(c2);var e3=a4.plotLeft,b2=a4.plotTop;a4.cancelClick||(f2&&this.inClass(c2.target,"highcharts-tracker")?(m2(f2.series,"click",d2(c2,{point:f2})),a4.hoverPoint&&f2.firePointEvent("click",c2)):(d2(c2,this.getCoordinates(c2)),a4.isInsidePlot(c2.chartX-e3,c2.chartY-b2,{visiblePlotOnly:true})&&m2(a4,"click",c2)))};a3.prototype.onContainerMouseDown=function(a4){var c2=1===((a4.buttons||a4.button)&1);a4=this.normalize(a4);if(g3.isFirefox&&0!==a4.button)this.onContainerMouseMove(a4);if("undefined"===typeof a4.button||c2)this.zoomOption(a4),c2&&a4.preventDefault&&a4.preventDefault(),this.dragStart(a4)};a3.prototype.onContainerMouseLeave=function(c2){var d3=B[E2(a3.hoverChartIndex,-1)],f2=this.chart.tooltip;c2=this.normalize(c2);d3&&(c2.relatedTarget||c2.toElement)&&(d3.pointer.reset(),d3.pointer.chartPosition=void 0);f2&&!f2.isHidden&&this.reset()};a3.prototype.onContainerMouseEnter=function(a4){delete this.chartPosition};a3.prototype.onContainerMouseMove=function(a4){var c2=this.chart,f2=c2.tooltip;a4=this.normalize(a4);this.setHoverChartIndex();a4.preventDefault||(a4.returnValue=false);("mousedown"===c2.mouseIsDown||this.touchSelect(a4))&&this.drag(a4);c2.openMenu||!this.inClass(a4.target,"highcharts-tracker")&&!c2.isInsidePlot(a4.chartX-c2.plotLeft,a4.chartY-c2.plotTop,{visiblePlotOnly:true})||f2&&f2.shouldStickOnContact(a4)||(this.inClass(a4.target,"highcharts-no-tooltip")?this.reset(false,0):this.runPointActions(a4))};a3.prototype.onDocumentTouchEnd=function(c2){var d3=B[E2(a3.hoverChartIndex,-1)];d3&&d3.pointer.drop(c2)};a3.prototype.onContainerTouchMove=function(a4){if(this.touchSelect(a4))this.onContainerMouseMove(a4);else this.touch(a4)};a3.prototype.onContainerTouchStart=function(a4){if(this.touchSelect(a4))this.onContainerMouseDown(a4);else this.zoomOption(a4),this.touch(a4,true)};a3.prototype.onDocumentMouseMove=function(a4){var c2=this.chart,f2=c2.tooltip,d3=this.chartPosition;a4=this.normalize(a4,d3);!d3||c2.isInsidePlot(a4.chartX-c2.plotLeft,a4.chartY-c2.plotTop,{visiblePlotOnly:true})||f2&&f2.shouldStickOnContact(a4)||this.inClass(a4.target,"highcharts-tracker")||this.reset()};a3.prototype.onDocumentMouseUp=function(c2){var d3=B[E2(a3.hoverChartIndex,-1)];d3&&d3.pointer.drop(c2)};a3.prototype.pinch=function(a4){var c2=this,f2=c2.chart,e3=c2.pinchDown,b2=a4.touches||[],h3=b2.length,g4=c2.lastValidTouch,k3=c2.hasZoom,l3={},p3=1===h3&&(c2.inClass(a4.target,"highcharts-tracker")&&f2.runTrackerClick||c2.runChartClick),y2={},r3=c2.chart.tooltip;r3=1===h3&&E2(r3&&r3.options.followTouchMove,true);var t3=c2.selectionMarker;1<h3?c2.initiated=true:r3&&(c2.initiated=false);k3&&c2.initiated&&!p3&&false!==a4.cancelable&&a4.preventDefault();[].map.call(b2,(function(b3){return c2.normalize(b3)}));"touchstart"===a4.type?([].forEach.call(b2,(function(b3,a5){e3[a5]={chartX:b3.chartX,chartY:b3.chartY}})),g4.x=[e3[0].chartX,e3[1]&&e3[1].chartX],g4.y=[e3[0].chartY,e3[1]&&e3[1].chartY],f2.axes.forEach((function(b3){if(b3.zoomEnabled){var a5=f2.bounds[b3.horiz?"h":"v"],c3=b3.minPixelPadding,d3=b3.toPixels(Math.min(E2(b3.options.min,b3.dataMin),b3.dataMin)),e4=b3.toPixels(Math.max(E2(b3.options.max,b3.dataMax),b3.dataMax)),h4=Math.max(d3,e4);a5.min=Math.min(b3.pos,Math.min(d3,e4)-c3);a5.max=Math.max(b3.pos+b3.len,h4+c3)}})),c2.res=true):r3?this.runPointActions(c2.normalize(a4)):e3.length&&(m2(f2,"touchpan",{originalEvent:a4},(function(){t3||(c2.selectionMarker=t3=d2({destroy:H2,touch:true},f2.plotBox));c2.pinchTranslate(e3,b2,l3,t3,y2,g4);c2.hasPinched=k3;c2.scaleGroups(l3,y2)})),c2.res&&(c2.res=false,this.reset(false,0)))};a3.prototype.pinchTranslate=function(a4,d3,f2,e3,b2,h3){this.zoomHor&&this.pinchTranslateDirection(true,a4,d3,f2,e3,b2,h3);this.zoomVert&&this.pinchTranslateDirection(false,a4,d3,f2,e3,b2,h3)};a3.prototype.pinchTranslateDirection=function(a4,d3,f2,e3,b2,h3,g4,k3){var c2=this.chart,n2=a4?"x":"y",q=a4?"X":"Y",u2="chart"+q,m3=a4?"width":"height",l3=c2["plot"+(a4?"Left":"Top")],z2=c2.inverted,p3=c2.bounds[a4?"h":"v"],w2=1===d3.length,y2=d3[0][u2],r3=!w2&&d3[1][u2];d3=function(){"number"===typeof R2&&20<Math.abs(y2-r3)&&(M=k3||Math.abs(t3-R2)/Math.abs(y2-r3));P=(l3-t3)/M+y2;G=c2["plot"+(a4?"Width":"Height")]/M};var G,P,M=k3||1,t3=f2[0][u2],R2=!w2&&f2[1][u2];d3();f2=P;if(f2<p3.min){f2=p3.min;var E3=true}else f2+G>p3.max&&(f2=p3.max-G,E3=true);E3?(t3-=.8*(t3-g4[n2][0]),"number"===typeof R2&&(R2-=.8*(R2-g4[n2][1])),d3()):g4[n2]=[t3,R2];z2||(h3[n2]=P-l3,h3[m3]=G);h3=z2?1/M:M;b2[m3]=G;b2[n2]=f2;e3[z2?a4?"scaleY":"scaleX":"scale"+q]=M;e3["translate"+q]=h3*l3+(t3-h3*y2)};a3.prototype.reset=function(a4,d3){var c2=this.chart,e3=c2.hoverSeries,b2=c2.hoverPoint,h3=c2.hoverPoints,g4=c2.tooltip,k3=g4&&g4.shared?h3:b2;a4&&k3&&L2(k3).forEach((function(b3){b3.series.isCartesian&&"undefined"===typeof b3.plotX&&(a4=false)}));if(a4)g4&&k3&&L2(k3).length&&(g4.refresh(k3),g4.shared&&h3?h3.forEach((function(b3){b3.setState(b3.state,true);b3.series.isCartesian&&(b3.series.xAxis.crosshair&&b3.series.xAxis.drawCrosshair(null,b3),b3.series.yAxis.crosshair&&b3.series.yAxis.drawCrosshair(null,b3))})):b2&&(b2.setState(b2.state,true),c2.axes.forEach((function(a5){a5.crosshair&&b2.series[a5.coll]===a5&&a5.drawCrosshair(null,b2)}))));else{if(b2)b2.onMouseOut();h3&&h3.forEach((function(b3){b3.setState()}));if(e3)e3.onMouseOut();g4&&g4.hide(d3);this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove());c2.axes.forEach((function(b3){b3.hideCrosshair()}));this.hoverX=c2.hoverPoints=c2.hoverPoint=null}};a3.prototype.runPointActions=function(c2,d3,f2){var e3=this.chart,b2=e3.tooltip&&e3.tooltip.options.enabled?e3.tooltip:void 0,g4=b2?b2.shared:false,k3=d3||e3.hoverPoint,q=k3&&k3.series||e3.hoverSeries;d3=this.getHoverData(k3,q,e3.series,(!c2||"touchmove"!==c2.type)&&(!!d3||q&&q.directTouch&&this.isDirectTouch),g4,c2);k3=d3.hoverPoint;q=d3.hoverSeries;var m3=d3.hoverPoints;d3=q&&q.tooltipOptions.followPointer&&!q.tooltipOptions.split;var l3=g4&&q&&!q.noSharedTooltip;if(k3&&(f2||k3!==e3.hoverPoint||b2&&b2.isHidden)){(e3.hoverPoints||[]).forEach((function(b3){-1===m3.indexOf(b3)&&b3.setState()}));if(e3.hoverSeries!==q)q.onMouseOver();this.applyInactiveState(m3);(m3||[]).forEach((function(b3){b3.setState("hover")}));e3.hoverPoint&&e3.hoverPoint.firePointEvent("mouseOut");if(!k3.series)return;e3.hoverPoints=m3;e3.hoverPoint=k3;k3.firePointEvent("mouseOver",void 0,(function(){b2&&k3&&b2.refresh(l3?m3:k3,c2)}))}else d3&&b2&&!b2.isHidden&&(f2=b2.getAnchor([{}],c2),e3.isInsidePlot(f2[0],f2[1],{visiblePlotOnly:true})&&b2.updatePosition({plotX:f2[0],plotY:f2[1]}));this.unDocMouseMove||(this.unDocMouseMove=t2(e3.container.ownerDocument,"mousemove",(function(b3){var c3=B[a3.hoverChartIndex];if(c3)c3.pointer.onDocumentMouseMove(b3)})),this.eventsToUnbind.push(this.unDocMouseMove));e3.axes.forEach((function(b3){var a4=E2((b3.crosshair||{}).snap,true),d4;a4&&((d4=e3.hoverPoint)&&d4.series[b3.coll]===b3||(d4=h2(m3,(function(a5){return a5.series&&a5.series[b3.coll]===b3}))));d4||!a4?b3.drawCrosshair(c2,d4):b3.hideCrosshair()}))};a3.prototype.scaleGroups=function(a4,d3){var c2=this.chart;c2.series.forEach((function(f2){var b2=a4||f2.getPlotBox();f2.group&&(f2.xAxis&&f2.xAxis.zoomEnabled||c2.mapView)&&(f2.group.attr(b2),f2.markerGroup&&(f2.markerGroup.attr(b2),f2.markerGroup.clip(d3?c2.clipRect:null)),f2.dataLabelsGroup&&f2.dataLabelsGroup.attr(b2))}));c2.clipRect.attr(d3||c2.clipBox)};a3.prototype.setDOMEvents=function(){var c2=this,d3=this.chart.container,f2=d3.ownerDocument;d3.onmousedown=this.onContainerMouseDown.bind(this);d3.onmousemove=this.onContainerMouseMove.bind(this);d3.onclick=this.onContainerClick.bind(this);this.eventsToUnbind.push(t2(d3,"mouseenter",this.onContainerMouseEnter.bind(this)));this.eventsToUnbind.push(t2(d3,"mouseleave",this.onContainerMouseLeave.bind(this)));a3.unbindDocumentMouseUp||(a3.unbindDocumentMouseUp=t2(f2,"mouseup",this.onDocumentMouseUp.bind(this)));for(var e3=this.chart.renderTo.parentElement;e3&&"BODY"!==e3.tagName;)this.eventsToUnbind.push(t2(e3,"scroll",(function(){delete c2.chartPosition}))),e3=e3.parentElement;g3.hasTouch&&(this.eventsToUnbind.push(t2(d3,"touchstart",this.onContainerTouchStart.bind(this),{passive:false})),this.eventsToUnbind.push(t2(d3,"touchmove",this.onContainerTouchMove.bind(this),{passive:false})),a3.unbindDocumentTouchEnd||(a3.unbindDocumentTouchEnd=t2(f2,"touchend",this.onDocumentTouchEnd.bind(this),{passive:false})))};a3.prototype.setHoverChartIndex=function(){var c2=this.chart,d3=g3.charts[E2(a3.hoverChartIndex,-1)];if(d3&&d3!==c2)d3.pointer.onContainerMouseLeave({relatedTarget:c2.container});d3&&d3.mouseIsDown||(a3.hoverChartIndex=c2.index)};a3.prototype.touch=function(a4,d3){var c2=this.chart;this.setHoverChartIndex();if(1===a4.touches.length)if(a4=this.normalize(a4),c2.isInsidePlot(a4.chartX-c2.plotLeft,a4.chartY-c2.plotTop,{visiblePlotOnly:true})&&!c2.openMenu){d3&&this.runPointActions(a4);if("touchmove"===a4.type){d3=this.pinchDown;var b2=d3[0]?4<=Math.sqrt(Math.pow(d3[0].chartX-a4.chartX,2)+Math.pow(d3[0].chartY-a4.chartY,2)):false}E2(b2,true)&&this.pinch(a4)}else d3&&this.reset();else 2===a4.touches.length&&this.pinch(a4)};a3.prototype.touchSelect=function(a4){return!(!this.chart.options.chart.zooming.singleTouch||!a4.touches||1!==a4.touches.length)};a3.prototype.zoomOption=function(a4){var c2=this.chart,d3=c2.options.chart;c2=c2.inverted;var e3=d3.zooming.type||"";/touch/.test(a4.type)&&(e3=E2(d3.zooming.pinchType,e3));this.zoomX=a4=/x/.test(e3);this.zoomY=d3=/y/.test(e3);this.zoomHor=a4&&!c2||d3&&c2;this.zoomVert=d3&&!c2||a4&&c2;this.hasZoom=a4||d3};return a3}();return a2}));K(g2,"Core/MSPointer.js",[g2["Core/Globals.js"],g2["Core/Pointer.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){function A2(){var a3=[];a3.item=function(a4){return this[a4]};h2(p2,(function(d3){a3.push({pageX:d3.pageX,pageY:d3.pageY,target:d3.target})}));return a3}function C2(a3,d3,e3,h3){var c2=H2[g3.hoverChartIndex||NaN];"touch"!==a3.pointerType&&a3.pointerType!==a3.MSPOINTER_TYPE_TOUCH||!c2||(c2=c2.pointer,h3(a3),c2[d3]({type:e3,target:a3.currentTarget,preventDefault:r2,touches:A2()}))}var B=this&&this.__extends||function(){var a3=function(d3,e3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,c2){a4.__proto__=c2}||function(a4,c2){for(var d4 in c2)c2.hasOwnProperty(d4)&&(a4[d4]=c2[d4])};return a3(d3,e3)};return function(d3,e3){function h3(){this.constructor=d3}a3(d3,e3);d3.prototype=null===e3?Object.create(e3):(h3.prototype=e3.prototype,new h3)}}(),H2=a2.charts,t2=a2.doc,r2=a2.noop,l2=a2.win,e2=x2.addEvent,d2=x2.css,h2=x2.objectEach,m2=x2.pick,k2=x2.removeEvent,p2={},D2=!!l2.PointerEvent;return function(h3){function g4(){return null!==h3&&h3.apply(this,arguments)||this}B(g4,h3);g4.isRequired=function(){return!(a2.hasTouch||!l2.PointerEvent&&!l2.MSPointerEvent)};g4.prototype.batchMSEvents=function(a3){a3(this.chart.container,D2?"pointerdown":"MSPointerDown",this.onContainerPointerDown);a3(this.chart.container,D2?"pointermove":"MSPointerMove",this.onContainerPointerMove);a3(t2,D2?"pointerup":"MSPointerUp",this.onDocumentPointerUp)};g4.prototype.destroy=function(){this.batchMSEvents(k2);h3.prototype.destroy.call(this)};g4.prototype.init=function(a3,e3){h3.prototype.init.call(this,a3,e3);this.hasZoom&&d2(a3.container,{"-ms-touch-action":"none","touch-action":"none"})};g4.prototype.onContainerPointerDown=function(a3){C2(a3,"onContainerTouchStart","touchstart",(function(a4){p2[a4.pointerId]={pageX:a4.pageX,pageY:a4.pageY,target:a4.currentTarget}}))};g4.prototype.onContainerPointerMove=function(a3){C2(a3,"onContainerTouchMove","touchmove",(function(a4){p2[a4.pointerId]={pageX:a4.pageX,pageY:a4.pageY};p2[a4.pointerId].target||(p2[a4.pointerId].target=a4.currentTarget)}))};g4.prototype.onDocumentPointerUp=function(a3){C2(a3,"onDocumentTouchEnd","touchend",(function(a4){delete p2[a4.pointerId]}))};g4.prototype.setDOMEvents=function(){var a3=this.chart.tooltip;h3.prototype.setDOMEvents.call(this);(this.hasZoom||m2(a3&&a3.options.followTouchMove,true))&&this.batchMSEvents(e2)};return g4}(g3)}));K(g2,"Core/Legend/Legend.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/FormatUtilities.js"],g2["Core/Globals.js"],g2["Core/Series/Point.js"],g2["Core/Renderer/RendererUtilities.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B){var A2=a2.animObject,t2=a2.setAnimation,r2=g3.format,l2=x2.marginNames,e2=C2.distribute,d2=B.addEvent,h2=B.createElement,m2=B.css,k2=B.defined,p2=B.discardElement,D2=B.find,I=B.fireEvent,E2=B.isNumber,L2=B.merge,y2=B.pick,c2=B.relativeLength,w2=B.stableSort,f2=B.syncTimeout;a2=function(){function a3(b2,a4){this.allItems=[];this.contentGroup=this.box=void 0;this.display=false;this.group=void 0;this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0;this.options=void 0;this.padding=0;this.pages=[];this.proximate=false;this.scrollGroup=void 0;this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0;this.chart=b2;this.init(b2,a4)}a3.prototype.init=function(b2,a4){this.chart=b2;this.setOptions(a4);a4.enabled&&(this.render(),d2(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=d2(this.chart,"render",(function(){this.legend.proximatePositions();this.legend.positionItems()})):this.unchartrender&&this.unchartrender())};a3.prototype.setOptions=function(b2){var a4=y2(b2.padding,8);this.options=b2;this.chart.styledMode||(this.itemStyle=b2.itemStyle,this.itemHiddenStyle=L2(this.itemStyle,b2.itemHiddenStyle));this.itemMarginTop=b2.itemMarginTop||0;this.itemMarginBottom=b2.itemMarginBottom||0;this.padding=a4;this.initialItemY=a4-5;this.symbolWidth=y2(b2.symbolWidth,16);this.pages=[];this.proximate="proximate"===b2.layout&&!this.chart.inverted;this.baseline=void 0};a3.prototype.update=function(b2,a4){var c3=this.chart;this.setOptions(L2(true,this.options,b2));this.destroy();c3.isDirtyLegend=c3.isDirtyBox=true;y2(a4,true)&&c3.redraw();I(this,"afterUpdate")};a3.prototype.colorizeItem=function(b2,a4){var c3=b2.legendItem||{},d3=c3.group,f3=c3.label,e3=c3.line;c3=c3.symbol;if(d3)d3[a4?"removeClass":"addClass"]("highcharts-legend-item-hidden");if(!this.chart.styledMode){var h3=this.options;d3=this.itemHiddenStyle.color;h3=a4?h3.itemStyle.color:d3;var g4=a4?b2.color||d3:d3,k3=b2.options&&b2.options.marker,n2={fill:g4};f3&&f3.css({fill:h3,color:h3});e3&&e3.attr({stroke:g4});c3&&(k3&&c3.isMarker&&(n2=b2.pointAttribs(),a4||(n2.stroke=n2.fill=d3)),c3.attr(n2))}I(this,"afterColorizeItem",{item:b2,visible:a4})};a3.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()};a3.prototype.positionItem=function(b2){var a4=this,c3=b2.legendItem||{},d3=c3.group,f3=c3.x;f3=void 0===f3?0:f3;c3=c3.y;c3=void 0===c3?0:c3;var e3=this.options,h3=e3.symbolPadding,g4=!e3.rtl;e3=b2.checkbox;d3&&d3.element&&(h3={translateX:g4?f3:this.legendWidth-f3-2*h3-4,translateY:c3},d3[k2(d3.translateY)?"animate":"attr"](h3,void 0,(function(){I(a4,"afterPositionItem",{item:b2})})));e3&&(e3.x=f3,e3.y=c3)};a3.prototype.destroyItem=function(b2){for(var a4=b2.checkbox,c3=b2.legendItem||{},d3=0,f3=["group","label","line","symbol"];d3<f3.length;d3++){var e3=f3[d3];c3[e3]&&(c3[e3]=c3[e3].destroy())}a4&&p2(a4);b2.legendItem=void 0};a3.prototype.destroy=function(){for(var b2=0,a4=this.getAllItems();b2<a4.length;b2++)this.destroyItem(a4[b2]);b2=0;for(a4="clipRect up down pager nav box title group".split(" ");b2<a4.length;b2++){var c3=a4[b2];this[c3]&&(this[c3]=this[c3].destroy())}this.display=null};a3.prototype.positionCheckboxes=function(){var b2=this.group&&this.group.alignAttr,a4=this.clipHeight||this.legendHeight,c3=this.titleHeight;if(b2){var d3=b2.translateY;this.allItems.forEach((function(f3){var e3=f3.checkbox;if(e3){var h3=d3+c3+e3.y+(this.scrollOffset||0)+3;m2(e3,{left:b2.translateX+f3.checkboxOffset+e3.x-20+"px",top:h3+"px",display:this.proximate||h3>d3-6&&h3<d3+a4-6?"":"none"})}}),this)}};a3.prototype.renderTitle=function(){var b2=this.options,a4=this.padding,c3=b2.title,d3=0;c3.text&&(this.title||(this.title=this.chart.renderer.label(c3.text,a4-3,a4-4,void 0,void 0,void 0,b2.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(c3.style),this.title.add(this.group)),c3.width||this.title.css({width:this.maxLegendWidth+"px"}),b2=this.title.getBBox(),d3=b2.height,this.offsetWidth=b2.width,this.contentGroup.attr({translateY:d3}));this.titleHeight=d3};a3.prototype.setText=function(b2){var a4=this.options;b2.legendItem.label.attr({text:a4.labelFormat?r2(a4.labelFormat,b2,this.chart):a4.labelFormatter.call(b2)})};a3.prototype.renderItem=function(b2){var a4=b2.legendItem=b2.legendItem||{},c3=this.chart,d3=c3.renderer,f3=this.options,e3=this.symbolWidth,h3=f3.symbolPadding||0,g4=this.itemStyle,k3=this.itemHiddenStyle,n2="horizontal"===f3.layout?y2(f3.itemDistance,20):0,m3=!f3.rtl,l3=!b2.series,p3=!l3&&b2.series.drawLegendSymbol?b2.series:b2,r3=p3.options,w3=this.createCheckboxForItem&&r3&&r3.showCheckbox,G=f3.useHTML,P=b2.options.className,M=a4.label;r3=e3+h3+n2+(w3?20:0);M||(a4.group=d3.g("legend-item").addClass("highcharts-"+p3.type+"-series highcharts-color-"+b2.colorIndex+(P?" "+P:"")+(l3?" highcharts-series-"+b2.index:"")).attr({zIndex:1}).add(this.scrollGroup),a4.label=M=d3.text("",m3?e3+h3:-h3,this.baseline||0,G),c3.styledMode||M.css(L2(b2.visible?g4:k3)),M.attr({align:m3?"left":"right",zIndex:2}).add(a4.group),this.baseline||(this.fontMetrics=d3.fontMetrics(c3.styledMode?12:g4.fontSize,M),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,M.attr("y",this.baseline),this.symbolHeight=f3.symbolHeight||this.fontMetrics.f,f3.squareSymbol&&(this.symbolWidth=y2(f3.symbolWidth,Math.max(this.symbolHeight,16)),r3=this.symbolWidth+h3+n2+(w3?20:0),m3&&M.attr("x",this.symbolWidth+h3))),p3.drawLegendSymbol(this,b2),this.setItemEvents&&this.setItemEvents(b2,M,G));w3&&!b2.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(b2);this.colorizeItem(b2,b2.visible);!c3.styledMode&&g4.width||M.css({width:(f3.itemWidth||this.widthOption||c3.spacingBox.width)-r3+"px"});this.setText(b2);c3=M.getBBox();d3=this.fontMetrics&&this.fontMetrics.h||0;b2.itemWidth=b2.checkboxOffset=f3.itemWidth||a4.labelWidth||c3.width+r3;this.maxItemWidth=Math.max(this.maxItemWidth,b2.itemWidth);this.totalItemWidth+=b2.itemWidth;this.itemHeight=b2.itemHeight=Math.round(a4.labelHeight||(c3.height>1.5*d3?c3.height:d3))};a3.prototype.layoutItem=function(b2){var a4=this.options,c3=this.padding,d3="horizontal"===a4.layout,f3=b2.itemHeight,e3=this.itemMarginBottom,h3=this.itemMarginTop,g4=d3?y2(a4.itemDistance,20):0,k3=this.maxLegendWidth;a4=a4.alignColumns&&this.totalItemWidth>k3?this.maxItemWidth:b2.itemWidth;var n2=b2.legendItem||{};d3&&this.itemX-c3+a4>k3&&(this.itemX=c3,this.lastLineHeight&&(this.itemY+=h3+this.lastLineHeight+e3),this.lastLineHeight=0);this.lastItemY=h3+this.itemY+e3;this.lastLineHeight=Math.max(f3,this.lastLineHeight);n2.x=this.itemX;n2.y=this.itemY;d3?this.itemX+=a4:(this.itemY+=h3+f3+e3,this.lastLineHeight=f3);this.offsetWidth=this.widthOption||Math.max((d3?this.itemX-c3-(b2.checkbox?0:g4):a4)+c3,this.offsetWidth)};a3.prototype.getAllItems=function(){var b2=[];this.chart.series.forEach((function(a4){var c3=a4&&a4.options;a4&&y2(c3.showInLegend,k2(c3.linkedTo)?false:void 0,true)&&(b2=b2.concat((a4.legendItem||{}).labels||("point"===c3.legendType?a4.data:a4)))}));I(this,"afterGetAllItems",{allItems:b2});return b2};a3.prototype.getAlignment=function(){var b2=this.options;return this.proximate?b2.align.charAt(0)+"tv":b2.floating?"":b2.align.charAt(0)+b2.verticalAlign.charAt(0)+b2.layout.charAt(0)};a3.prototype.adjustMargins=function(b2,a4){var c3=this.chart,d3=this.options,f3=this.getAlignment();f3&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(e3,h3){e3.test(f3)&&!k2(b2[h3])&&(c3[l2[h3]]=Math.max(c3[l2[h3]],c3.legend[(h3+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][h3]*d3[h3%2?"x":"y"]+y2(d3.margin,12)+a4[h3]+(c3.titleOffset[h3]||0)))}))};a3.prototype.proximatePositions=function(){var b2=this.chart,a4=[],c3="left"===this.options.align;this.allItems.forEach((function(d4){var f4;var e3=c3;if(d4.yAxis){d4.xAxis.options.reversed&&(e3=!e3);d4.points&&(f4=D2(e3?d4.points:d4.points.slice(0).reverse(),(function(b3){return E2(b3.plotY)})));e3=this.itemMarginTop+d4.legendItem.label.getBBox().height+this.itemMarginBottom;var h4=d4.yAxis.top-b2.plotTop;d4.visible?(f4=f4?f4.plotY:d4.yAxis.height,f4+=h4-.3*e3):f4=h4+d4.yAxis.height;a4.push({target:f4,size:e3,item:d4})}}),this);for(var d3,f3=0,h3=e2(a4,b2.plotHeight);f3<h3.length;f3++){var g4=h3[f3];d3=g4.item.legendItem||{};E2(g4.pos)&&(d3.y=b2.plotTop-b2.spacing[0]+g4.pos)}};a3.prototype.render=function(){var b2=this.chart,a4=b2.renderer,d3=this.options,f3=this.padding,e3=this.getAllItems(),h3=this.group,g4=this.box;this.itemX=f3;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=c2(d3.width,b2.spacingBox.width-f3);var k3=b2.spacingBox.width-2*f3-d3.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(k3/=2);this.maxLegendWidth=this.widthOption||k3;h3||(this.group=h3=a4.g("legend").addClass(d3.className||"").attr({zIndex:7}).add(),this.contentGroup=a4.g().attr({zIndex:1}).add(h3),this.scrollGroup=a4.g().add(this.contentGroup));this.renderTitle();w2(e3,(function(b3,a5){return(b3.options&&b3.options.legendIndex||0)-(a5.options&&a5.options.legendIndex||0)}));d3.reversed&&e3.reverse();this.allItems=e3;this.display=k3=!!e3.length;this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0;e3.forEach(this.renderItem,this);e3.forEach(this.layoutItem,this);e3=(this.widthOption||this.offsetWidth)+f3;var n2=this.lastItemY+this.lastLineHeight+this.titleHeight;n2=this.handleOverflow(n2);n2+=f3;g4||(this.box=g4=a4.rect().addClass("highcharts-legend-box").attr({r:d3.borderRadius}).add(h3));b2.styledMode||g4.attr({stroke:d3.borderColor,"stroke-width":d3.borderWidth||0,fill:d3.backgroundColor||"none"}).shadow(d3.shadow);if(0<e3&&0<n2)g4[g4.placed?"animate":"attr"](g4.crisp.call({},{x:0,y:0,width:e3,height:n2},g4.strokeWidth()));h3[k3?"show":"hide"]();b2.styledMode&&"none"===h3.getStyle("display")&&(e3=n2=0);this.legendWidth=e3;this.legendHeight=n2;k3&&this.align();this.proximate||this.positionItems();I(this,"afterRender")};a3.prototype.align=function(b2){void 0===b2&&(b2=this.chart.spacingBox);var a4=this.chart,c3=this.options,d3=b2.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<a4.titleOffset[0]?d3+=a4.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<a4.titleOffset[2]&&(d3-=a4.titleOffset[2]);d3!==b2.y&&(b2=L2(b2,{y:d3}));a4.hasRendered||(this.group.placed=false);this.group.align(L2(c3,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":c3.verticalAlign}),true,b2)};a3.prototype.handleOverflow=function(b2){var a4=this,c3=this.chart,d3=c3.renderer,f3=this.options,e3=f3.y,h3="top"===f3.verticalAlign,g4=this.padding,k3=f3.maxHeight,n2=f3.navigation,m3=y2(n2.animation,true),l3=n2.arrowSize||12,p3=this.pages,r3=this.allItems,w3=function(b3){"number"===typeof b3?D3.attr({height:b3}):D3&&(a4.clipRect=D3.destroy(),a4.contentGroup.clip());a4.contentGroup.div&&(a4.contentGroup.div.style.clip=b3?"rect("+g4+"px,9999px,"+(g4+b3)+"px,0)":"auto")},G=function(b3){a4[b3]=d3.circle(0,0,1.3*l3).translate(l3/2,l3/2).add(R2);c3.styledMode||a4[b3].attr("fill","rgba(0,0,0,0.0001)");return a4[b3]},P,M,t3;e3=c3.spacingBox.height+(h3?-e3:e3)-g4;var R2=this.nav,D3=this.clipRect;"horizontal"!==f3.layout||"middle"===f3.verticalAlign||f3.floating||(e3/=2);k3&&(e3=Math.min(e3,k3));p3.length=0;b2&&0<e3&&b2>e3&&false!==n2.enabled?(this.clipHeight=P=Math.max(e3-20-this.titleHeight-g4,0),this.currentPage=y2(this.currentPage,1),this.fullHeight=b2,r3.forEach((function(b3,a5){t3=b3.legendItem||{};b3=t3.y||0;var c4=Math.round(t3.label.getBBox().height),d4=p3.length;if(!d4||b3-p3[d4-1]>P&&(M||b3)!==p3[d4-1])p3.push(M||b3),d4++;t3.pageIx=d4-1;M&&((r3[a5-1].legendItem||{}).pageIx=d4-1);a5===r3.length-1&&b3+c4-p3[d4-1]>P&&c4<=P&&(p3.push(b3),t3.pageIx=d4);b3!==M&&(M=b3)})),D3||(D3=a4.clipRect=d3.clipRect(0,g4,9999,0),a4.contentGroup.clip(D3)),w3(P),R2||(this.nav=R2=d3.g().attr({zIndex:1}).add(this.group),this.up=d3.symbol("triangle",0,0,l3,l3).add(R2),G("upTracker").on("click",(function(){a4.scroll(-1,m3)})),this.pager=d3.text("",15,10).addClass("highcharts-legend-navigation"),!c3.styledMode&&n2.style&&this.pager.css(n2.style),this.pager.add(R2),this.down=d3.symbol("triangle-down",0,0,l3,l3).add(R2),G("downTracker").on("click",(function(){a4.scroll(1,m3)}))),a4.scroll(0),b2=e3):R2&&(w3(),this.nav=R2.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return b2};a3.prototype.scroll=function(b2,a4){var c3=this,d3=this.chart,e3=this.pages,h3=e3.length,g4=this.clipHeight,k3=this.options.navigation,n2=this.pager,m3=this.padding,l3=this.currentPage+b2;l3>h3&&(l3=h3);0<l3&&("undefined"!==typeof a4&&t2(a4,d3),this.nav.attr({translateX:m3,translateY:g4+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(b3){b3.attr({class:1===l3?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),n2.attr({text:l3+"/"+h3}),[this.down,this.downTracker].forEach((function(b3){b3.attr({x:18+this.pager.getBBox().width,class:l3===h3?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),d3.styledMode||(this.up.attr({fill:1===l3?k3.inactiveColor:k3.activeColor}),this.upTracker.css({cursor:1===l3?"default":"pointer"}),this.down.attr({fill:l3===h3?k3.inactiveColor:k3.activeColor}),this.downTracker.css({cursor:l3===h3?"default":"pointer"})),this.scrollOffset=-e3[l3-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=l3,this.positionCheckboxes(),b2=A2(y2(a4,d3.renderer.globalAnimation,true)),f2((function(){I(c3,"afterScroll",{currentPage:l3})}),b2.duration))};a3.prototype.setItemEvents=function(b2,a4,c3){var d3=this,f3=b2.legendItem||{},e3=d3.chart.renderer.boxWrapper,h3=b2 instanceof F2,g4="highcharts-legend-"+(h3?"point":"series")+"-active",k3=d3.chart.styledMode,n2=function(a5){d3.allItems.forEach((function(c4){b2!==c4&&[c4].concat(c4.linkedSeries||[]).forEach((function(b3){b3.setState(a5,!h3)}))}))},m3=0;for(c3=c3?[a4,f3.symbol]:[f3.group];m3<c3.length;m3++)if(f3=c3[m3])f3.on("mouseover",(function(){b2.visible&&n2("inactive");b2.setState("hover");b2.visible&&e3.addClass(g4);k3||a4.css(d3.options.itemHoverStyle)})).on("mouseout",(function(){d3.chart.styledMode||a4.css(L2(b2.visible?d3.itemStyle:d3.itemHiddenStyle));n2("");e3.removeClass(g4);b2.setState()})).on("click",(function(a5){var c4=function(){b2.setVisible&&b2.setVisible();n2(b2.visible?"inactive":"")};e3.removeClass(g4);a5={browserEvent:a5};b2.firePointEvent?b2.firePointEvent("legendItemClick",a5,c4):I(b2,"legendItemClick",a5,c4)}))};a3.prototype.createCheckboxForItem=function(b2){b2.checkbox=h2("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:b2.selected,defaultChecked:b2.selected},this.options.itemCheckboxStyle,this.chart.container);d2(b2.checkbox,"click",(function(a4){I(b2.series||b2,"checkboxClick",{checked:a4.target.checked,item:b2},(function(){b2.select()}))}))};return a3}();return a2}));K(g2,"Core/Series/SeriesRegistry.js",[g2["Core/Globals.js"],g2["Core/Defaults.js"],g2["Core/Series/Point.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2){var A2=g3.defaultOptions,B=F2.extendClass,H2=F2.merge,t2;(function(g4){function l2(a3,d2){var e2=A2.plotOptions||{},m2=d2.defaultOptions,k2=d2.prototype;k2.type=a3;k2.pointClass||(k2.pointClass=x2);m2&&(e2[a3]=m2);g4.seriesTypes[a3]=d2}g4.seriesTypes=a2.seriesTypes;g4.registerSeriesType=l2;g4.seriesType=function(a3,d2,h2,m2,k2){var e2=A2.plotOptions||{};d2=d2||"";e2[a3]=H2(e2[d2],h2);l2(a3,B(g4.seriesTypes[d2]||function(){},m2));g4.seriesTypes[a3].prototype.type=a3;k2&&(g4.seriesTypes[a3].prototype.pointClass=B(x2,k2));return g4.seriesTypes[a3]}})(t2||(t2={}));return t2}));K(g2,"Core/Chart/Chart.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Axis/Axis.js"],g2["Core/Defaults.js"],g2["Core/FormatUtilities.js"],g2["Core/Foundation.js"],g2["Core/Globals.js"],g2["Core/Legend/Legend.js"],g2["Core/MSPointer.js"],g2["Core/Pointer.js"],g2["Core/Renderer/RendererRegistry.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Renderer/SVG/SVGRenderer.js"],g2["Core/Time.js"],g2["Core/Utilities.js"],g2["Core/Renderer/HTML/AST.js"]],(function(a2,g3,x2,F2,C2,B,H2,t2,r2,l2,e2,d2,h2,m2,k2){var p2=a2.animate,D2=a2.animObject,A2=a2.setAnimation,E2=x2.defaultOptions,L2=x2.defaultTime,y2=F2.numberFormat,c2=C2.registerEventOptions,w2=B.charts,f2=B.doc,n2=B.marginNames,b2=B.svg,u2=B.win,z2=e2.seriesTypes,q=m2.addEvent,N=m2.attr,J=m2.cleanRecursively,O2=m2.createElement,Q=m2.css,T2=m2.defined,Y=m2.discardElement,v2=m2.erase,U=m2.error,K2=m2.extend,ca=m2.find,S2=m2.fireEvent,G=m2.getStyle,P=m2.isArray,M=m2.isNumber,X=m2.isObject,R2=m2.isString,V2=m2.merge,Z=m2.objectEach,W2=m2.pick,ba=m2.pInt,fa=m2.relativeLength,ha=m2.removeEvent,ea=m2.splat,ia=m2.syncTimeout,ka=m2.uniqueKey;a2=function(){function a3(b3,a4,c3){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0;this.sharedClips={};this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0;this.getArgs(b3,a4,c3)}a3.chart=function(b3,c3,d3){return new a3(b3,c3,d3)};a3.prototype.getArgs=function(b3,a4,c3){R2(b3)||b3.nodeName?(this.renderTo=b3,this.init(a4,c3)):this.init(b3,a4)};a3.prototype.init=function(b3,a4){var d3=b3.plotOptions||{};S2(this,"init",{args:arguments},(function(){var f3=V2(E2,b3),e3=f3.chart;Z(f3.plotOptions,(function(b4,a5){X(b4)&&(b4.tooltip=d3[a5]&&V2(d3[a5].tooltip)||void 0)}));f3.tooltip.userOptions=b3.chart&&b3.chart.forExport&&b3.tooltip.userOptions||b3.tooltip;this.userOptions=b3;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.labelCollectors=[];this.callback=a4;this.isResizing=0;var g4=e3.zooming=e3.zooming||{};b3.chart&&!b3.chart.zooming&&(g4.resetButton=e3.resetZoomButton);g4.key=W2(g4.key,e3.zoomKey);g4.pinchType=W2(g4.pinchType,e3.pinchType);g4.singleTouch=W2(g4.singleTouch,e3.zoomBySingleTouch);g4.type=W2(g4.type,e3.zoomType);this.options=f3;this.axes=[];this.series=[];this.time=b3.time&&Object.keys(b3.time).length?new h2(b3.time):B.time;this.numberFormatter=e3.numberFormatter||y2;this.styledMode=e3.styledMode;this.hasCartesianSeries=e3.showAxes;this.index=w2.length;w2.push(this);B.chartCount++;c2(this,e3);this.xAxis=[];this.yAxis=[];this.pointCount=this.colorCounter=this.symbolCounter=0;S2(this,"afterInit");this.firstRender()}))};a3.prototype.initSeries=function(b3){var a4=this.options.chart;a4=b3.type||a4.type||a4.defaultSeriesType;var c3=z2[a4];c3||U(17,true,this,{missingModuleFor:a4});a4=new c3;"function"===typeof a4.init&&a4.init(this,b3);return a4};a3.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(b3){b3.points||b3.data||!b3.enabledDataSorting||b3.setData(b3.options.data,false)}))};a3.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(b3,a4){return b3.linkedSeries.length||a4.linkedSeries.length?a4.linkedSeries.length-b3.linkedSeries.length:0}))};a3.prototype.orderSeries=function(b3){var a4=this.series;b3=b3||0;for(var c3=a4.length;b3<c3;++b3)a4[b3]&&(a4[b3].index=b3,a4[b3].name=a4[b3].getName())};a3.prototype.isInsidePlot=function(b3,a4,c3){void 0===c3&&(c3={});var d3=this.inverted,f3=this.plotBox,e3=this.plotLeft,h3=this.plotTop,g4=this.scrollablePlotBox,k3=0;var n3=0;c3.visiblePlotOnly&&this.scrollingContainer&&(n3=this.scrollingContainer,k3=n3.scrollLeft,n3=n3.scrollTop);var m3=c3.series;f3=c3.visiblePlotOnly&&g4||f3;g4=c3.inverted?a4:b3;a4=c3.inverted?b3:a4;b3={x:g4,y:a4,isInsidePlot:true,options:c3};if(!c3.ignoreX){var q2=m3&&(d3&&!this.polar?m3.yAxis:m3.xAxis)||{pos:e3,len:Infinity};g4=c3.paneCoordinates?q2.pos+g4:e3+g4;g4>=Math.max(k3+e3,q2.pos)&&g4<=Math.min(k3+e3+f3.width,q2.pos+q2.len)||(b3.isInsidePlot=false)}!c3.ignoreY&&b3.isInsidePlot&&(d3=c3.axis&&!c3.axis.isXAxis&&c3.axis||m3&&(d3?m3.xAxis:m3.yAxis)||{pos:h3,len:Infinity},c3=c3.paneCoordinates?d3.pos+a4:h3+a4,c3>=Math.max(n3+h3,d3.pos)&&c3<=Math.min(n3+h3+f3.height,d3.pos+d3.len)||(b3.isInsidePlot=false));S2(this,"afterIsInsidePlot",b3);return b3.isInsidePlot};a3.prototype.redraw=function(b3){S2(this,"beforeRedraw");var a4=this.hasCartesianSeries?this.axes:this.colorAxis||[],c3=this.series,d3=this.pointer,f3=this.legend,e3=this.userOptions.legend,h3=this.renderer,g4=h3.isHidden(),k3=[],n3=this.isDirtyBox,m3=this.isDirtyLegend;this.setResponsive&&this.setResponsive(false);A2(this.hasRendered?b3:false,this);g4&&this.temporaryDisplay();this.layOutTitles();for(b3=c3.length;b3--;){var q2=c3[b3];if(q2.options.stacking||q2.options.centerInCategory){var l3=true;if(q2.isDirty){var G2=true;break}}}if(G2)for(b3=c3.length;b3--;)q2=c3[b3],q2.options.stacking&&(q2.isDirty=true);c3.forEach((function(b4){b4.isDirty&&("point"===b4.options.legendType?("function"===typeof b4.updateTotals&&b4.updateTotals(),m3=true):e3&&(e3.labelFormatter||e3.labelFormat)&&(m3=true));b4.isDirtyData&&S2(b4,"updatedData")}));m3&&f3&&f3.options.enabled&&(f3.render(),this.isDirtyLegend=false);l3&&this.getStacks();a4.forEach((function(b4){b4.updateNames();b4.setScale()}));this.getMargins();a4.forEach((function(b4){b4.isDirty&&(n3=true)}));a4.forEach((function(b4){var a5=b4.min+","+b4.max;b4.extKey!==a5&&(b4.extKey=a5,k3.push((function(){S2(b4,"afterSetExtremes",K2(b4.eventArgs,b4.getExtremes()));delete b4.eventArgs})));(n3||l3)&&b4.redraw()}));n3&&this.drawChartBox();S2(this,"predraw");c3.forEach((function(b4){(n3||b4.isDirty)&&b4.visible&&b4.redraw();b4.isDirtyData=false}));d3&&d3.reset(true);h3.draw();S2(this,"redraw");S2(this,"render");g4&&this.temporaryDisplay(true);k3.forEach((function(b4){b4.call()}))};a3.prototype.get=function(b3){function a4(a5){return a5.id===b3||a5.options&&a5.options.id===b3}for(var c3=this.series,d3=ca(this.axes,a4)||ca(this.series,a4),f3=0;!d3&&f3<c3.length;f3++)d3=ca(c3[f3].points||[],a4);return d3};a3.prototype.getAxes=function(){var b3=this,a4=this.options,c3=a4.xAxis=ea(a4.xAxis||{});a4=a4.yAxis=ea(a4.yAxis||{});S2(this,"getAxes");c3.forEach((function(b4,a5){b4.index=a5;b4.isX=true}));a4.forEach((function(b4,a5){b4.index=a5}));c3.concat(a4).forEach((function(a5){new g3(b3,a5)}));S2(this,"afterGetAxes")};a3.prototype.getSelectedPoints=function(){return this.series.reduce((function(b3,a4){a4.getPointsCollection().forEach((function(a5){W2(a5.selectedStaging,a5.selected)&&b3.push(a5)}));return b3}),[])};a3.prototype.getSelectedSeries=function(){return this.series.filter((function(b3){return b3.selected}))};a3.prototype.setTitle=function(b3,a4,c3){this.applyDescription("title",b3);this.applyDescription("subtitle",a4);this.applyDescription("caption",void 0);this.layOutTitles(c3)};a3.prototype.applyDescription=function(b3,a4){var c3=this,d3="title"===b3?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};d3=this.options[b3]=V2(!this.styledMode&&{style:d3},this.options[b3],a4);var f3=this[b3];f3&&a4&&(this[b3]=f3=f3.destroy());d3&&!f3&&(f3=this.renderer.text(d3.text,0,0,d3.useHTML).attr({align:d3.align,class:"highcharts-"+b3,zIndex:d3.zIndex||4}).add(),f3.update=function(a5){c3[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[b3]](a5)},this.styledMode||f3.css(d3.style),this[b3]=f3)};a3.prototype.layOutTitles=function(b3){var a4=[0,0,0],c3=this.renderer,d3=this.spacingBox;["title","subtitle","caption"].forEach((function(b4){var f4=this[b4],e3=this.options[b4],h3=e3.verticalAlign||"top";b4="title"===b4?"top"===h3?-3:0:"top"===h3?a4[0]+2:0;var g4;if(f4){this.styledMode||(g4=e3.style&&e3.style.fontSize);g4=c3.fontMetrics(g4,f4).b;f4.css({width:(e3.width||d3.width+(e3.widthAdjust||0))+"px"});var k3=Math.round(f4.getBBox(e3.useHTML).height);f4.align(K2({y:"bottom"===h3?g4:b4+g4,height:k3},e3),false,"spacingBox");e3.floating||("top"===h3?a4[0]=Math.ceil(a4[0]+k3):"bottom"===h3&&(a4[2]=Math.ceil(a4[2]+k3)))}}),this);a4[0]&&"top"===(this.options.title.verticalAlign||"top")&&(a4[0]+=this.options.title.margin);a4[2]&&"bottom"===this.options.caption.verticalAlign&&(a4[2]+=this.options.caption.margin);var f3=!this.titleOffset||this.titleOffset.join(",")!==a4.join(",");this.titleOffset=a4;S2(this,"afterLayOutTitles");!this.isDirtyBox&&f3&&(this.isDirtyBox=this.isDirtyLegend=f3,this.hasRendered&&W2(b3,true)&&this.isDirtyBox&&this.redraw())};a3.prototype.getChartSize=function(){var b3=this.options.chart,a4=b3.width;b3=b3.height;var c3=this.renderTo;T2(a4)||(this.containerWidth=G(c3,"width"));T2(b3)||(this.containerHeight=G(c3,"height"));this.chartWidth=Math.max(0,a4||this.containerWidth||600);this.chartHeight=Math.max(0,fa(b3,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))};a3.prototype.temporaryDisplay=function(b3){var a4=this.renderTo;if(b3)for(;a4&&a4.style;)a4.hcOrigStyle&&(Q(a4,a4.hcOrigStyle),delete a4.hcOrigStyle),a4.hcOrigDetached&&(f2.body.removeChild(a4),a4.hcOrigDetached=false),a4=a4.parentNode;else for(;a4&&a4.style;){f2.body.contains(a4)||a4.parentNode||(a4.hcOrigDetached=true,f2.body.appendChild(a4));if("none"===G(a4,"display",false)||a4.hcOricDetached)a4.hcOrigStyle={display:a4.style.display,height:a4.style.height,overflow:a4.style.overflow},b3={display:"block",overflow:"hidden"},a4!==this.renderTo&&(b3.height=0),Q(a4,b3),a4.offsetWidth||a4.style.setProperty("display","block","important");a4=a4.parentNode;if(a4===f2.body)break}};a3.prototype.setClassName=function(b3){this.container.className="highcharts-container "+(b3||"")};a3.prototype.getContainer=function(){var a4=this.options,c3=a4.chart,e3=ka(),h3,g4=this.renderTo;g4||(this.renderTo=g4=c3.renderTo);R2(g4)&&(this.renderTo=g4=f2.getElementById(g4));g4||U(13,true,this);var n3=ba(N(g4,"data-highcharts-chart"));M(n3)&&w2[n3]&&w2[n3].hasRendered&&w2[n3].destroy();N(g4,"data-highcharts-chart",this.index);g4.innerHTML=k2.emptyHTML;c3.skipClone||g4.offsetWidth||this.temporaryDisplay();this.getChartSize();n3=this.chartWidth;var m3=this.chartHeight;Q(g4,{overflow:"hidden"});this.styledMode||(h3=K2({position:"relative",overflow:"hidden",width:n3+"px",height:m3+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},c3.style||{}));this.container=e3=O2("div",{id:e3},h3,g4);this._cursor=e3.style.cursor;this.renderer=new(c3.renderer||!b2?l2.getRendererType(c3.renderer):d2)(e3,n3,m3,void 0,c3.forExport,a4.exporting&&a4.exporting.allowHTML,this.styledMode);A2(void 0,this);this.setClassName(c3.className);if(this.styledMode)for(var q2 in a4.defs)this.renderer.definition(a4.defs[q2]);else this.renderer.setStyle(c3.style);this.renderer.chartIndex=this.index;S2(this,"afterGetContainer")};a3.prototype.getMargins=function(b3){var a4=this.spacing,c3=this.margin,d3=this.titleOffset;this.resetMargins();d3[0]&&!T2(c3[0])&&(this.plotTop=Math.max(this.plotTop,d3[0]+a4[0]));d3[2]&&!T2(c3[2])&&(this.marginBottom=Math.max(this.marginBottom,d3[2]+a4[2]));this.legend&&this.legend.display&&this.legend.adjustMargins(c3,a4);S2(this,"getMargins");b3||this.getAxisMargins()};a3.prototype.getAxisMargins=function(){var b3=this,a4=b3.axisOffset=[0,0,0,0],c3=b3.colorAxis,d3=b3.margin,f3=function(b4){b4.forEach((function(b5){b5.visible&&b5.getOffset()}))};b3.hasCartesianSeries?f3(b3.axes):c3&&c3.length&&f3(c3);n2.forEach((function(c4,f4){T2(d3[f4])||(b3[c4]+=a4[f4])}));b3.setChartSize()};a3.prototype.reflow=function(b3){var a4=this,c3=a4.options.chart,d3=a4.renderTo,e3=T2(c3.width)&&T2(c3.height),h3=c3.width||G(d3,"width");c3=c3.height||G(d3,"height");d3=b3?b3.target:u2;delete a4.pointer.chartPosition;if(!e3&&!a4.isPrinting&&h3&&c3&&(d3===u2||d3===f2)){if(h3!==a4.containerWidth||c3!==a4.containerHeight)m2.clearTimeout(a4.reflowTimeout),a4.reflowTimeout=ia((function(){a4.container&&a4.setSize(void 0,void 0,false)}),b3?100:0);a4.containerWidth=h3;a4.containerHeight=c3}};a3.prototype.setReflow=function(b3){var a4=this;false===b3||this.unbindReflow?false===b3&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=q(u2,"resize",(function(b4){a4.options&&a4.reflow(b4)})),q(this,"destroy",this.unbindReflow))};a3.prototype.setSize=function(b3,a4,c3){var d3=this,f3=d3.renderer;d3.isResizing+=1;A2(c3,d3);c3=f3.globalAnimation;d3.oldChartHeight=d3.chartHeight;d3.oldChartWidth=d3.chartWidth;"undefined"!==typeof b3&&(d3.options.chart.width=b3);"undefined"!==typeof a4&&(d3.options.chart.height=a4);d3.getChartSize();d3.styledMode||(c3?p2:Q)(d3.container,{width:d3.chartWidth+"px",height:d3.chartHeight+"px"},c3);d3.setChartSize(true);f3.setSize(d3.chartWidth,d3.chartHeight,c3);d3.axes.forEach((function(b4){b4.isDirty=true;b4.setScale()}));d3.isDirtyLegend=true;d3.isDirtyBox=true;d3.layOutTitles();d3.getMargins();d3.redraw(c3);d3.oldChartHeight=null;S2(d3,"resize");ia((function(){d3&&S2(d3,"endResize",null,(function(){--d3.isResizing}))}),D2(c3).duration)};a3.prototype.setChartSize=function(b3){var a4=this.inverted,c3=this.renderer,d3=this.chartWidth,f3=this.chartHeight,e3=this.options.chart,h3=this.spacing,g4=this.clipOffset,k3,n3,m3,q2;this.plotLeft=k3=Math.round(this.plotLeft);this.plotTop=n3=Math.round(this.plotTop);this.plotWidth=m3=Math.max(0,Math.round(d3-k3-this.marginRight));this.plotHeight=q2=Math.max(0,Math.round(f3-n3-this.marginBottom));this.plotSizeX=a4?q2:m3;this.plotSizeY=a4?m3:q2;this.plotBorderWidth=e3.plotBorderWidth||0;this.spacingBox=c3.spacingBox={x:h3[3],y:h3[0],width:d3-h3[3]-h3[1],height:f3-h3[0]-h3[2]};this.plotBox=c3.plotBox={x:k3,y:n3,width:m3,height:q2};a4=2*Math.floor(this.plotBorderWidth/2);d3=Math.ceil(Math.max(a4,g4[3])/2);f3=Math.ceil(Math.max(a4,g4[0])/2);this.clipBox={x:d3,y:f3,width:Math.floor(this.plotSizeX-Math.max(a4,g4[1])/2-d3),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(a4,g4[2])/2-f3))};b3||(this.axes.forEach((function(b4){b4.setAxisSize();b4.setAxisTranslation()})),c3.alignElements());S2(this,"afterSetChartSize",{skipAxes:b3})};a3.prototype.resetMargins=function(){S2(this,"resetMargins");var b3=this,a4=b3.options.chart;["margin","spacing"].forEach((function(c3){var d3=a4[c3],f3=X(d3)?d3:[d3,d3,d3,d3];["Top","Right","Bottom","Left"].forEach((function(d4,e3){b3[c3][e3]=W2(a4[c3+d4],f3[e3])}))}));n2.forEach((function(a5,c3){b3[a5]=W2(b3.margin[c3],b3.spacing[c3])}));b3.axisOffset=[0,0,0,0];b3.clipOffset=[0,0,0,0]};a3.prototype.drawChartBox=function(){var b3=this.options.chart,a4=this.renderer,c3=this.chartWidth,d3=this.chartHeight,f3=this.styledMode,e3=this.plotBGImage,h3=b3.backgroundColor,g4=b3.plotBackgroundColor,k3=b3.plotBackgroundImage,n3=this.plotLeft,m3=this.plotTop,q2=this.plotWidth,l3=this.plotHeight,G2=this.plotBox,u3=this.clipRect,p3=this.clipBox,M2=this.chartBackground,v3=this.plotBackground,w3=this.plotBorder,r3,z3="animate";M2||(this.chartBackground=M2=a4.rect().addClass("highcharts-background").add(),z3="attr");if(f3)var y3=r3=M2.strokeWidth();else{y3=b3.borderWidth||0;r3=y3+(b3.shadow?8:0);h3={fill:h3||"none"};if(y3||M2["stroke-width"])h3.stroke=b3.borderColor,h3["stroke-width"]=y3;M2.attr(h3).shadow(b3.shadow)}M2[z3]({x:r3/2,y:r3/2,width:c3-r3-y3%2,height:d3-r3-y3%2,r:b3.borderRadius});z3="animate";v3||(z3="attr",this.plotBackground=v3=a4.rect().addClass("highcharts-plot-background").add());v3[z3](G2);f3||(v3.attr({fill:g4||"none"}).shadow(b3.plotShadow),k3&&(e3?(k3!==e3.attr("href")&&e3.attr("href",k3),e3.animate(G2)):this.plotBGImage=a4.image(k3,n3,m3,q2,l3).add()));u3?u3.animate({width:p3.width,height:p3.height}):this.clipRect=a4.clipRect(p3);z3="animate";w3||(z3="attr",this.plotBorder=w3=a4.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add());f3||w3.attr({stroke:b3.plotBorderColor,"stroke-width":b3.plotBorderWidth||0,fill:"none"});w3[z3](w3.crisp({x:n3,y:m3,width:q2,height:l3},-w3.strokeWidth()));this.isDirtyBox=false;S2(this,"afterDrawChartBox")};a3.prototype.propFromSeries=function(){var b3=this,a4=b3.options.chart,c3=b3.options.series,d3,f3,e3;["inverted","angular","polar"].forEach((function(h3){f3=z2[a4.type||a4.defaultSeriesType];e3=a4[h3]||f3&&f3.prototype[h3];for(d3=c3&&c3.length;!e3&&d3--;)(f3=z2[c3[d3].type])&&f3.prototype[h3]&&(e3=true);b3[h3]=e3}))};a3.prototype.linkSeries=function(){var b3=this,a4=b3.series;a4.forEach((function(b4){b4.linkedSeries.length=0}));a4.forEach((function(a5){var c3=a5.options.linkedTo;R2(c3)&&(c3=":previous"===c3?b3.series[a5.index-1]:b3.get(c3))&&c3.linkedParent!==a5&&(c3.linkedSeries.push(a5),a5.linkedParent=c3,c3.enabledDataSorting&&a5.setDataSortingOptions(),a5.visible=W2(a5.options.visible,c3.options.visible,a5.visible))}));S2(this,"afterLinkSeries")};a3.prototype.renderSeries=function(){this.series.forEach((function(b3){b3.translate();b3.render()}))};a3.prototype.renderLabels=function(){var b3=this,a4=b3.options.labels;a4.items&&a4.items.forEach((function(c3){var d3=K2(a4.style,c3.style),f3=ba(d3.left)+b3.plotLeft,e3=ba(d3.top)+b3.plotTop+12;delete d3.left;delete d3.top;b3.renderer.text(c3.html,f3,e3).attr({zIndex:2}).css(d3).add()}))};a3.prototype.render=function(){var b3=this.axes,a4=this.colorAxis,c3=this.renderer,d3=this.options,f3=function(b4){b4.forEach((function(b5){b5.visible&&b5.render()}))},e3=0;this.setTitle();this.legend=new H2(this,d3.legend);this.getStacks&&this.getStacks();this.getMargins(true);this.setChartSize();d3=this.plotWidth;b3.some((function(b4){if(b4.horiz&&b4.visible&&b4.options.labels.enabled&&b4.series.length)return e3=21,true}));var h3=this.plotHeight=Math.max(this.plotHeight-e3,0);b3.forEach((function(b4){b4.setScale()}));this.getAxisMargins();var g4=1.1<d3/this.plotWidth,k3=1.05<h3/this.plotHeight;if(g4||k3)b3.forEach((function(b4){(b4.horiz&&g4||!b4.horiz&&k3)&&b4.setTickInterval(true)})),this.getMargins();this.drawChartBox();this.hasCartesianSeries?f3(b3):a4&&a4.length&&f3(a4);this.seriesGroup||(this.seriesGroup=c3.g("series-group").attr({zIndex:3}).add());this.renderSeries();this.renderLabels();this.addCredits();this.setResponsive&&this.setResponsive();this.hasRendered=true};a3.prototype.addCredits=function(b3){var a4=this,c3=V2(true,this.options.credits,b3);c3.enabled&&!this.credits&&(this.credits=this.renderer.text(c3.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){c3.href&&(u2.location.href=c3.href)})).attr({align:c3.position.align,zIndex:8}),a4.styledMode||this.credits.css(c3.style),this.credits.add().align(c3.position),this.credits.update=function(b4){a4.credits=a4.credits.destroy();a4.addCredits(b4)})};a3.prototype.destroy=function(){var b3=this,a4=b3.axes,c3=b3.series,d3=b3.container,f3=d3&&d3.parentNode,e3;S2(b3,"destroy");b3.renderer.forExport?v2(w2,b3):w2[b3.index]=void 0;B.chartCount--;b3.renderTo.removeAttribute("data-highcharts-chart");ha(b3);for(e3=a4.length;e3--;)a4[e3]=a4[e3].destroy();this.scroller&&this.scroller.destroy&&this.scroller.destroy();for(e3=c3.length;e3--;)c3[e3]=c3[e3].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(a5){var c4=b3[a5];c4&&c4.destroy&&(b3[a5]=c4.destroy())}));d3&&(d3.innerHTML=k2.emptyHTML,ha(d3),f3&&Y(d3));Z(b3,(function(a5,c4){delete b3[c4]}))};a3.prototype.firstRender=function(){var b3=this,a4=b3.options;if(!b3.isReadyToRender||b3.isReadyToRender()){b3.getContainer();b3.resetMargins();b3.setChartSize();b3.propFromSeries();b3.getAxes();(P(a4.series)?a4.series:[]).forEach((function(a5){b3.initSeries(a5)}));b3.linkSeries();b3.setSeriesData();S2(b3,"beforeRender");r2&&(t2.isRequired()?b3.pointer=new t2(b3,a4):b3.pointer=new r2(b3,a4));b3.render();b3.pointer.getChartPosition();if(!b3.renderer.imgCount&&!b3.hasLoaded)b3.onload();b3.temporaryDisplay(true)}};a3.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(b3){b3&&"undefined"!==typeof this.index&&b3.apply(this,[this])}),this);S2(this,"load");S2(this,"render");T2(this.index)&&this.setReflow(this.options.chart.reflow);this.warnIfA11yModuleNotLoaded();this.hasLoaded=true};a3.prototype.warnIfA11yModuleNotLoaded=function(){var b3=this.options,a4=this.title;b3&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":(a4&&a4.element.textContent||"").replace(/</g,"<")}),b3.accessibility&&false===b3.accessibility.enabled||U('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',false,this))};a3.prototype.addSeries=function(b3,a4,c3){var d3=this,f3;b3&&(a4=W2(a4,true),S2(d3,"addSeries",{options:b3},(function(){f3=d3.initSeries(b3);d3.isDirtyLegend=true;d3.linkSeries();f3.enabledDataSorting&&f3.setData(b3.data,false);S2(d3,"afterAddSeries",{series:f3});a4&&d3.redraw(c3)})));return f3};a3.prototype.addAxis=function(b3,a4,c3,d3){return this.createAxis(a4?"xAxis":"yAxis",{axis:b3,redraw:c3,animation:d3})};a3.prototype.addColorAxis=function(b3,a4,c3){return this.createAxis("colorAxis",{axis:b3,redraw:a4,animation:c3})};a3.prototype.createAxis=function(b3,a4){b3=new g3(this,V2(a4.axis,{index:this[b3].length,isX:"xAxis"===b3}));W2(a4.redraw,true)&&this.redraw(a4.animation);return b3};a3.prototype.showLoading=function(b3){var a4=this,c3=a4.options,d3=c3.loading,f3=function(){e3&&Q(e3,{left:a4.plotLeft+"px",top:a4.plotTop+"px",width:a4.plotWidth+"px",height:a4.plotHeight+"px"})},e3=a4.loadingDiv,h3=a4.loadingSpan;e3||(a4.loadingDiv=e3=O2("div",{className:"highcharts-loading highcharts-loading-hidden"},null,a4.container));h3||(a4.loadingSpan=h3=O2("span",{className:"highcharts-loading-inner"},null,e3),q(a4,"redraw",f3));e3.className="highcharts-loading";k2.setElementHTML(h3,W2(b3,c3.lang.loading,""));a4.styledMode||(Q(e3,K2(d3.style,{zIndex:10})),Q(h3,d3.labelStyle),a4.loadingShown||(Q(e3,{opacity:0,display:""}),p2(e3,{opacity:d3.style.opacity||.5},{duration:d3.showDuration||0})));a4.loadingShown=true;f3()};a3.prototype.hideLoading=function(){var b3=this.options,a4=this.loadingDiv;a4&&(a4.className="highcharts-loading highcharts-loading-hidden",this.styledMode||p2(a4,{opacity:0},{duration:b3.loading.hideDuration||100,complete:function(){Q(a4,{display:"none"})}}));this.loadingShown=false};a3.prototype.update=function(b3,a4,d3,f3){var e3=this,g4={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},k3=b3.isResponsiveOptions,n3=[],m3,q2;S2(e3,"update",{options:b3});k3||e3.setResponsive(false,true);b3=J(b3,e3.options);e3.userOptions=V2(e3.userOptions,b3);var l3=b3.chart;if(l3){V2(true,e3.options.chart,l3);"className"in l3&&e3.setClassName(l3.className);"reflow"in l3&&e3.setReflow(l3.reflow);if("inverted"in l3||"polar"in l3||"type"in l3){e3.propFromSeries();var G2=true}"alignTicks"in l3&&(G2=true);"events"in l3&&c2(this,l3);Z(l3,(function(b4,a5){-1!==e3.propsRequireUpdateSeries.indexOf("chart."+a5)&&(m3=true);-1!==e3.propsRequireDirtyBox.indexOf(a5)&&(e3.isDirtyBox=true);-1!==e3.propsRequireReflow.indexOf(a5)&&(k3?e3.isDirtyBox=true:q2=true)}));!e3.styledMode&&l3.style&&e3.renderer.setStyle(e3.options.chart.style||{})}!e3.styledMode&&b3.colors&&(this.options.colors=b3.colors);b3.time&&(this.time===L2&&(this.time=new h2(b3.time)),V2(true,e3.options.time,b3.time));Z(b3,(function(a5,c3){if(e3[c3]&&"function"===typeof e3[c3].update)e3[c3].update(a5,false);else if("function"===typeof e3[g4[c3]])e3[g4[c3]](a5);else"colors"!==c3&&-1===e3.collectionsWithUpdate.indexOf(c3)&&V2(true,e3.options[c3],b3[c3]);"chart"!==c3&&-1!==e3.propsRequireUpdateSeries.indexOf(c3)&&(m3=true)}));this.collectionsWithUpdate.forEach((function(a5){if(b3[a5]){var c3=[];e3[a5].forEach((function(b4,a6){b4.options.isInternal||c3.push(W2(b4.options.index,a6))}));ea(b3[a5]).forEach((function(b4,f4){var h3=T2(b4.id),g5;h3&&(g5=e3.get(b4.id));!g5&&e3[a5]&&(g5=e3[a5][c3?c3[f4]:f4])&&h3&&T2(g5.options.id)&&(g5=void 0);g5&&g5.coll===a5&&(g5.update(b4,false),d3&&(g5.touched=true));!g5&&d3&&e3.collectionsWithInit[a5]&&(e3.collectionsWithInit[a5][0].apply(e3,[b4].concat(e3.collectionsWithInit[a5][1]||[]).concat([false])).touched=true)}));d3&&e3[a5].forEach((function(b4){b4.touched||b4.options.isInternal?delete b4.touched:n3.push(b4)}))}}));n3.forEach((function(b4){b4.chart&&b4.remove&&b4.remove(false)}));G2&&e3.axes.forEach((function(b4){b4.update({},false)}));m3&&e3.getSeriesOrderByLinks().forEach((function(b4){b4.chart&&b4.update({},false)}),this);G2=l3&&l3.width;l3=l3&&(R2(l3.height)?fa(l3.height,G2||e3.chartWidth):l3.height);q2||M(G2)&&G2!==e3.chartWidth||M(l3)&&l3!==e3.chartHeight?e3.setSize(G2,l3,f3):W2(a4,true)&&e3.redraw(f3);S2(e3,"afterUpdate",{options:b3,redraw:a4,animation:f3})};a3.prototype.setSubtitle=function(b3,a4){this.applyDescription("subtitle",b3);this.layOutTitles(a4)};a3.prototype.setCaption=function(b3,a4){this.applyDescription("caption",b3);this.layOutTitles(a4)};a3.prototype.showResetZoom=function(){function b3(){a4.zoomOut()}var a4=this,c3=E2.lang,d3=a4.options.chart.zooming.resetButton,f3=d3.theme,e3="chart"===d3.relativeTo||"spacingBox"===d3.relativeTo?null:"scrollablePlotBox";S2(this,"beforeShowResetZoom",null,(function(){a4.resetZoomButton=a4.renderer.button(c3.resetZoom,null,null,b3,f3).attr({align:d3.position.align,title:c3.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(d3.position,false,e3)}));S2(this,"afterShowResetZoom")};a3.prototype.zoomOut=function(){S2(this,"selection",{resetSelection:true},this.zoom)};a3.prototype.zoom=function(b3){var a4=this,c3=a4.pointer,d3=false,f3;!b3||b3.resetSelection?(a4.axes.forEach((function(b4){f3=b4.zoom()})),c3.initiated=false):b3.xAxis.concat(b3.yAxis).forEach((function(b4){var e4=b4.axis;if(c3[e4.isXAxis?"zoomX":"zoomY"]&&T2(c3.mouseDownX)&&T2(c3.mouseDownY)&&a4.isInsidePlot(c3.mouseDownX-a4.plotLeft,c3.mouseDownY-a4.plotTop,{axis:e4})||!T2(a4.inverted?c3.mouseDownX:c3.mouseDownY))f3=e4.zoom(b4.min,b4.max),e4.displayBtn&&(d3=true)}));var e3=a4.resetZoomButton;d3&&!e3?a4.showResetZoom():!d3&&X(e3)&&(a4.resetZoomButton=e3.destroy());f3&&a4.redraw(W2(a4.options.chart.animation,b3&&b3.animation,100>a4.pointCount))};a3.prototype.pan=function(b3,a4){var c3=this,d3=c3.hoverPoints;a4="object"===typeof a4?a4:{enabled:a4,type:"x"};var f3=c3.options.chart;f3&&f3.panning&&(f3.panning=a4);var e3=a4.type,h3;S2(this,"pan",{originalEvent:b3},(function(){d3&&d3.forEach((function(b4){b4.setState()}));var a5=c3.xAxis;"xy"===e3?a5=a5.concat(c3.yAxis):"y"===e3&&(a5=c3.yAxis);var f4={};a5.forEach((function(a6){if(a6.options.panningEnabled&&!a6.options.isInternal){var d4=a6.horiz,g4=b3[d4?"chartX":"chartY"];d4=d4?"mouseDownX":"mouseDownY";var k3=c3[d4],n3=a6.minPointOffset||0,m3=a6.reversed&&!c3.inverted||!a6.reversed&&c3.inverted?-1:1,l3=a6.getExtremes(),q2=a6.toValue(k3-g4,true)+n3*m3,G2=a6.toValue(k3+a6.len-g4,true)-(n3*m3||a6.isXAxis&&a6.pointRangePadding||0),u3=G2<q2;m3=a6.hasVerticalPanning();k3=u3?G2:q2;q2=u3?q2:G2;var p3=a6.panningState;!m3||a6.isXAxis||p3&&!p3.isDirty||a6.series.forEach((function(b4){var a7=b4.getProcessedData(true);a7=b4.getExtremes(a7.yData,true);p3||(p3={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE});M(a7.dataMin)&&M(a7.dataMax)&&(p3.startMin=Math.min(W2(b4.options.threshold,Infinity),a7.dataMin,p3.startMin),p3.startMax=Math.max(W2(b4.options.threshold,-Infinity),a7.dataMax,p3.startMax))}));m3=Math.min(W2(p3&&p3.startMin,l3.dataMin),n3?l3.min:a6.toValue(a6.toPixels(l3.min)-a6.minPixelPadding));G2=Math.max(W2(p3&&p3.startMax,l3.dataMax),n3?l3.max:a6.toValue(a6.toPixels(l3.max)+a6.minPixelPadding));a6.panningState=p3;a6.isOrdinal||(n3=m3-k3,0<n3&&(q2+=n3,k3=m3),n3=q2-G2,0<n3&&(q2=G2,k3-=n3),a6.series.length&&k3!==l3.min&&q2!==l3.max&&k3>=m3&&q2<=G2&&(a6.setExtremes(k3,q2,false,false,{trigger:"pan"}),!c3.resetZoomButton&&k3!==m3&&q2!==G2&&e3.match("y")&&(c3.showResetZoom(),a6.displayBtn=false),h3=true),f4[d4]=g4)}}));Z(f4,(function(b4,a6){c3[a6]=b4}));h3&&c3.redraw(false);Q(c3.container,{cursor:"move"})}))};return a3}();K2(a2.prototype,{callbacks:[],collectionsWithInit:{xAxis:[a2.prototype.addAxis,[true]],yAxis:[a2.prototype.addAxis,[false]],series:[a2.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")});return a2}));K(g2,"Core/Legend/LegendSymbol.js",[g2["Core/Utilities.js"]],(function(a2){var g3=a2.extend,x2=a2.merge,F2=a2.pick,C2;(function(a3){a3.drawLineMarker=function(a4){var t2=this.legendItem=this.legendItem||{},r2=this.options,l2=a4.symbolWidth,e2=a4.symbolHeight,d2=e2/2,h2=this.chart.renderer,m2=t2.group;a4=a4.baseline-Math.round(.3*a4.fontMetrics.b);var k2={},p2=r2.marker,D2=0;this.chart.styledMode||(k2={"stroke-width":Math.min(r2.lineWidth||0,24)},r2.dashStyle?k2.dashstyle=r2.dashStyle:"square"!==r2.linecap&&(k2["stroke-linecap"]="round"));t2.line=h2.path().addClass("highcharts-graph").attr(k2).add(m2);k2["stroke-linecap"]&&(D2=Math.min(t2.line.strokeWidth(),l2)/2);t2.line.attr({d:[["M",D2,a4],["L",l2-D2,a4]]});p2&&false!==p2.enabled&&l2&&(r2=Math.min(F2(p2.radius,d2),d2),0===this.symbol.indexOf("url")&&(p2=x2(p2,{width:e2,height:e2}),r2=0),t2.symbol=t2=h2.symbol(this.symbol,l2/2-r2,a4-r2,2*r2,2*r2,g3({context:"legend"},p2)).addClass("highcharts-point").add(m2),t2.isMarker=true)};a3.drawRectangle=function(a4,g4){g4=g4.legendItem||{};var r2=a4.symbolHeight,l2=a4.options.squareSymbol;g4.symbol=this.chart.renderer.rect(l2?(a4.symbolWidth-r2)/2:0,a4.baseline-r2+1,l2?r2:a4.symbolWidth,r2,F2(a4.options.symbolRadius,r2/2)).addClass("highcharts-point").attr({zIndex:3}).add(g4.group)}})(C2||(C2={}));return C2}));K(g2,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:false,crisp:true,showCheckbox:false,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:true},hover:{animation:{duration:50},enabled:true,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:true,formatter:function(){var a2=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":a2(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:true,states:{normal:{animation:true},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:true,turboThreshold:1e3,findNearestPointBy:"x"}}));K(g2,"Core/Series/Series.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Defaults.js"],g2["Core/Foundation.js"],g2["Core/Globals.js"],g2["Core/Legend/LegendSymbol.js"],g2["Core/Series/Point.js"],g2["Core/Series/SeriesDefaults.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Renderer/SVG/SVGElement.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B,H2,t2,r2,l2){var e2=a2.animObject,d2=a2.setAnimation,h2=g3.defaultOptions,m2=x2.registerEventOptions,k2=F2.hasTouch,p2=F2.svg,D2=F2.win,A2=t2.seriesTypes,E2=l2.arrayMax,L2=l2.arrayMin,y2=l2.clamp,c2=l2.cleanRecursively,w2=l2.correctFloat,f2=l2.defined,n2=l2.erase,b2=l2.error,u2=l2.extend,z2=l2.find,q=l2.fireEvent,N=l2.getNestedProperty,J=l2.isArray,O2=l2.isNumber,Q=l2.isString,T2=l2.merge,Y=l2.objectEach,v2=l2.pick,U=l2.removeEvent,K2=l2.splat,ca=l2.syncTimeout;a2=function(){function a3(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}a3.prototype.init=function(b3,a4){q(this,"init",{options:a4});var c3=this,d3=b3.series;this.eventsToUnbind=[];c3.chart=b3;c3.options=c3.setOptions(a4);a4=c3.options;c3.linkedSeries=[];c3.bindAxes();u2(c3,{name:a4.name,state:"",visible:false!==a4.visible,selected:true===a4.selected});m2(this,a4);var f3=a4.events;if(f3&&f3.click||a4.point&&a4.point.events&&a4.point.events.click||a4.allowPointSelect)b3.runTrackerClick=true;c3.getColor();c3.getSymbol();c3.parallelArrays.forEach((function(b4){c3[b4+"Data"]||(c3[b4+"Data"]=[])}));c3.isCartesian&&(b3.hasCartesianSeries=true);var e3;d3.length&&(e3=d3[d3.length-1]);c3._i=v2(e3&&e3._i,-1)+1;c3.opacity=c3.options.opacity;b3.orderSeries(this.insert(d3));a4.dataSorting&&a4.dataSorting.enabled?c3.setDataSortingOptions():c3.points||c3.data||c3.setData(a4.data,false);q(this,"afterInit")};a3.prototype.is=function(b3){return A2[b3]&&this instanceof A2[b3]};a3.prototype.insert=function(b3){var a4=this.options.index,c3;if(O2(a4)){for(c3=b3.length;c3--;)if(a4>=v2(b3[c3].options.index,b3[c3]._i)){b3.splice(c3+1,0,this);break}-1===c3&&b3.unshift(this);c3+=1}else b3.push(this);return v2(c3,b3.length-1)};a3.prototype.bindAxes=function(){var a4=this,c3=a4.options,d3=a4.chart,f3;q(this,"bindAxes",null,(function(){(a4.axisTypes||[]).forEach((function(e3){var h3=0;d3[e3].forEach((function(b3){f3=b3.options;if(c3[e3]===h3&&!f3.isInternal||"undefined"!==typeof c3[e3]&&c3[e3]===f3.id||"undefined"===typeof c3[e3]&&0===f3.index)a4.insert(b3.series),a4[e3]=b3,b3.isDirty=true;f3.isInternal||h3++}));a4[e3]||a4.optionalAxis===e3||b2(18,true,d3)}))}));q(this,"afterBindAxes")};a3.prototype.updateParallelArrays=function(b3,a4){var c3=b3.series,d3=arguments,f3=O2(a4)?function(d4){var f4="y"===d4&&c3.toYData?c3.toYData(b3):b3[d4];c3[d4+"Data"][a4]=f4}:function(b4){Array.prototype[a4].apply(c3[b4+"Data"],Array.prototype.slice.call(d3,2))};c3.parallelArrays.forEach(f3)};a3.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length};a3.prototype.autoIncrement=function(b3){var a4=this.options,c3=a4.pointIntervalUnit,d3=a4.relativeXValue,f3=this.chart.time,e3=this.xIncrement,h3;e3=v2(e3,a4.pointStart,0);this.pointInterval=h3=v2(this.pointInterval,a4.pointInterval,1);d3&&O2(b3)&&(h3*=b3);c3&&(a4=new f3.Date(e3),"day"===c3?f3.set("Date",a4,f3.get("Date",a4)+h3):"month"===c3?f3.set("Month",a4,f3.get("Month",a4)+h3):"year"===c3&&f3.set("FullYear",a4,f3.get("FullYear",a4)+h3),h3=a4.getTime()-e3);if(d3&&O2(b3))return e3+h3;this.xIncrement=e3+h3;return e3};a3.prototype.setDataSortingOptions=function(){var b3=this.options;u2(this,{requireSorting:false,sorted:false,enabledDataSorting:true,allowDG:false});f2(b3.pointRange)||(b3.pointRange=1)};a3.prototype.setOptions=function(b3){var a4=this.chart,c3=a4.options,d3=c3.plotOptions,e3=a4.userOptions||{};b3=T2(b3);a4=a4.styledMode;var g4={plotOptions:d3,userOptions:b3};q(this,"setOptions",g4);var k3=g4.plotOptions[this.type],n3=e3.plotOptions||{};this.userOptions=g4.userOptions;e3=T2(k3,d3.series,e3.plotOptions&&e3.plotOptions[this.type],b3);this.tooltipOptions=T2(h2.tooltip,h2.plotOptions.series&&h2.plotOptions.series.tooltip,h2.plotOptions[this.type].tooltip,c3.tooltip.userOptions,d3.series&&d3.series.tooltip,d3[this.type].tooltip,b3.tooltip);this.stickyTracking=v2(b3.stickyTracking,n3[this.type]&&n3[this.type].stickyTracking,n3.series&&n3.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?true:e3.stickyTracking);null===k3.marker&&delete e3.marker;this.zoneAxis=e3.zoneAxis;d3=this.zones=(e3.zones||[]).slice();!e3.negativeColor&&!e3.negativeFillColor||e3.zones||(c3={value:e3[this.zoneAxis+"Threshold"]||e3.threshold||0,className:"highcharts-negative"},a4||(c3.color=e3.negativeColor,c3.fillColor=e3.negativeFillColor),d3.push(c3));d3.length&&f2(d3[d3.length-1].value)&&d3.push(a4?{}:{color:this.color,fillColor:this.fillColor});q(this,"afterSetOptions",{options:e3});return e3};a3.prototype.getName=function(){return v2(this.options.name,"Series "+(this.index+1))};a3.prototype.getCyclic=function(b3,a4,c3){var d3=this.chart,e3=this.userOptions,h3=b3+"Index",g4=b3+"Counter",k3=c3?c3.length:v2(d3.options.chart[b3+"Count"],d3[b3+"Count"]);if(!a4){var n3=v2(e3[h3],e3["_"+h3]);f2(n3)||(d3.series.length||(d3[g4]=0),e3["_"+h3]=n3=d3[g4]%k3,d3[g4]+=1);c3&&(a4=c3[n3])}"undefined"!==typeof n3&&(this[h3]=n3);this[b3]=a4};a3.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||h2.plotOptions[this.type].color,this.chart.options.colors)};a3.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]};a3.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)};a3.prototype.findPointIndex=function(b3,a4){var c3=b3.id,d3=b3.x,f3=this.points,e3=this.options.dataSorting,h3,g4;if(c3)e3=this.chart.get(c3),e3 instanceof B&&(h3=e3);else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){if(h3=function(a5){return!a5.touched&&a5.index===b3.index},e3&&e3.matchByName?h3=function(a5){return!a5.touched&&a5.name===b3.name}:this.options.relativeXValue&&(h3=function(a5){return!a5.touched&&a5.options.x===b3.x}),h3=z2(f3,h3),!h3)return}if(h3){var k3=h3&&h3.index;"undefined"!==typeof k3&&(g4=true)}"undefined"===typeof k3&&O2(d3)&&(k3=this.xData.indexOf(d3,a4));-1!==k3&&"undefined"!==typeof k3&&this.cropped&&(k3=k3>=this.cropStart?k3-this.cropStart:k3);!g4&&O2(k3)&&f3[k3]&&f3[k3].touched&&(k3=void 0);return k3};a3.prototype.updateData=function(b3,a4){var c3=this.options,d3=c3.dataSorting,e3=this.points,h3=[],g4=this.requireSorting,k3=b3.length===e3.length,n3,m3,q2,l3=true;this.xIncrement=null;b3.forEach((function(b4,a5){var m4=f2(b4)&&this.pointClass.prototype.optionsToObject.call({series:this},b4)||{},l4=m4.x;if(m4.id||O2(l4)){if(m4=this.findPointIndex(m4,q2),-1===m4||"undefined"===typeof m4?h3.push(b4):e3[m4]&&b4!==c3.data[m4]?(e3[m4].update(b4,false,null,false),e3[m4].touched=true,g4&&(q2=m4+1)):e3[m4]&&(e3[m4].touched=true),!k3||a5!==m4||d3&&d3.enabled||this.hasDerivedData)n3=true}else h3.push(b4)}),this);if(n3)for(b3=e3.length;b3--;)(m3=e3[b3])&&!m3.touched&&m3.remove&&m3.remove(false,a4);else!k3||d3&&d3.enabled?l3=false:(b3.forEach((function(b4,a5){b4!==e3[a5].y&&e3[a5].update&&e3[a5].update(b4,false,null,false)})),h3.length=0);e3.forEach((function(b4){b4&&(b4.touched=false)}));if(!l3)return false;h3.forEach((function(b4){this.addPoint(b4,false,null,null,false)}),this);null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=E2(this.xData),this.autoIncrement());return true};a3.prototype.setData=function(a4,c3,d3,f3){void 0===c3&&(c3=true);var e3=this,h3=e3.points,g4=h3&&h3.length||0,k3=e3.options,n3=e3.chart,m3=k3.dataSorting,l3=e3.xAxis,q2=k3.turboThreshold,u3=this.xData,p3=this.yData,G=e3.pointArrayMap;G=G&&G.length;var v3=k3.keys,w3,r3=0,z3=1,y3=null;if(!n3.options.chart.allowMutatingData){k3.data&&delete e3.options.data;e3.userOptions.data&&delete e3.userOptions.data;var M=T2(true,a4)}a4=M||a4||[];M=a4.length;m3&&m3.enabled&&(a4=this.sortData(a4));n3.options.chart.allowMutatingData&&false!==f3&&M&&g4&&!e3.cropped&&!e3.hasGroupedData&&e3.visible&&!e3.boosted&&(w3=this.updateData(a4,d3));if(!w3){e3.xIncrement=null;e3.colorCounter=0;this.parallelArrays.forEach((function(b3){e3[b3+"Data"].length=0}));if(q2&&M>q2)if(y3=e3.getFirstValidPoint(a4),O2(y3))for(d3=0;d3<M;d3++)u3[d3]=this.autoIncrement(),p3[d3]=a4[d3];else if(J(y3))if(G)if(y3.length===G)for(d3=0;d3<M;d3++)u3[d3]=this.autoIncrement(),p3[d3]=a4[d3];else for(d3=0;d3<M;d3++)f3=a4[d3],u3[d3]=f3[0],p3[d3]=f3.slice(1,G+1);else if(v3&&(r3=v3.indexOf("x"),z3=v3.indexOf("y"),r3=0<=r3?r3:0,z3=0<=z3?z3:1),1===y3.length&&(z3=0),r3===z3)for(d3=0;d3<M;d3++)u3[d3]=this.autoIncrement(),p3[d3]=a4[d3][z3];else for(d3=0;d3<M;d3++)f3=a4[d3],u3[d3]=f3[r3],p3[d3]=f3[z3];else b2(12,false,n3);else for(d3=0;d3<M;d3++)"undefined"!==typeof a4[d3]&&(f3={series:e3},e3.pointClass.prototype.applyOptions.apply(f3,[a4[d3]]),e3.updateParallelArrays(f3,d3));p3&&Q(p3[0])&&b2(14,true,n3);e3.data=[];e3.options.data=e3.userOptions.data=a4;for(d3=g4;d3--;)h3[d3]&&h3[d3].destroy&&h3[d3].destroy();l3&&(l3.minRange=l3.userMinRange);e3.isDirty=n3.isDirtyBox=true;e3.isDirtyData=!!h3;d3=false}"point"===k3.legendType&&(this.processData(),this.generatePoints());c3&&n3.redraw(d3)};a3.prototype.sortData=function(b3){var a4=this,c3=a4.options.dataSorting.sortKey||"y",d3=function(b4,a5){return f2(a5)&&b4.pointClass.prototype.optionsToObject.call({series:b4},a5)||{}};b3.forEach((function(c4,e3){b3[e3]=d3(a4,c4);b3[e3].index=e3}),this);b3.concat().sort((function(b4,a5){b4=N(c3,b4);a5=N(c3,a5);return a5<b4?-1:a5>b4?1:0})).forEach((function(b4,a5){b4.x=a5}),this);a4.linkedSeries&&a4.linkedSeries.forEach((function(a5){var c4=a5.options,e3=c4.data;c4.dataSorting&&c4.dataSorting.enabled||!e3||(e3.forEach((function(c5,f3){e3[f3]=d3(a5,c5);b3[f3]&&(e3[f3].x=b3[f3].x,e3[f3].index=f3)})),a5.setData(e3,false))}));return b3};a3.prototype.getProcessedData=function(a4){var c3=this.xAxis,d3=this.options,e3=d3.cropThreshold,f3=a4||this.getExtremesFromAll||d3.getExtremesFromAll,h3=this.isCartesian;a4=c3&&c3.val2lin;d3=!(!c3||!c3.logarithmic);var g4=0,k3=this.xData,n3=this.yData,m3=this.requireSorting;var l3=false;var q2=k3.length;if(c3){l3=c3.getExtremes();var u3=l3.min;var p3=l3.max;l3=!(!c3.categories||c3.names.length)}if(h3&&this.sorted&&!f3&&(!e3||q2>e3||this.forceCrop)){if(k3[q2-1]<u3||k3[0]>p3)k3=[],n3=[];else if(this.yData&&(k3[0]<u3||k3[q2-1]>p3)){var G=this.cropData(this.xData,this.yData,u3,p3);k3=G.xData;n3=G.yData;g4=G.start;G=true}}for(e3=k3.length||1;--e3;)if(c3=d3?a4(k3[e3])-a4(k3[e3-1]):k3[e3]-k3[e3-1],0<c3&&("undefined"===typeof v3||c3<v3))var v3=c3;else 0>c3&&m3&&!l3&&(b2(15,false,this.chart),m3=false);return{xData:k3,yData:n3,cropped:G,cropStart:g4,closestPointRange:v3}};a3.prototype.processData=function(b3){var a4=this.xAxis;if(this.isCartesian&&!this.isDirty&&!a4.isDirty&&!this.yAxis.isDirty&&!b3)return false;b3=this.getProcessedData();this.cropped=b3.cropped;this.cropStart=b3.cropStart;this.processedXData=b3.xData;this.processedYData=b3.yData;this.closestPointRange=this.basePointRange=b3.closestPointRange;q(this,"afterProcessData")};a3.prototype.cropData=function(b3,a4,c3,d3,e3){var f3=b3.length,h3,g4=0,k3=f3;e3=v2(e3,this.cropShoulder);for(h3=0;h3<f3;h3++)if(b3[h3]>=c3){g4=Math.max(0,h3-e3);break}for(c3=h3;c3<f3;c3++)if(b3[c3]>d3){k3=c3+e3;break}return{xData:b3.slice(g4,k3),yData:a4.slice(g4,k3),start:g4,end:k3}};a3.prototype.generatePoints=function(){var b3=this.options,a4=this.processedData||b3.data,c3=this.processedXData,d3=this.processedYData,e3=this.pointClass,f3=c3.length,h3=this.cropStart||0,g4=this.hasGroupedData,k3=b3.keys,n3=[];b3=b3.dataGrouping&&b3.dataGrouping.groupAll?h3:0;var m3,l3,p3=this.data;if(!p3&&!g4){var v3=[];v3.length=a4.length;p3=this.data=v3}k3&&g4&&(this.options.keys=false);for(l3=0;l3<f3;l3++){v3=h3+l3;if(g4){var r3=(new e3).init(this,[c3[l3]].concat(K2(d3[l3])));r3.dataGroup=this.groupMap[b3+l3];r3.dataGroup.options&&(r3.options=r3.dataGroup.options,u2(r3,r3.dataGroup.options),delete r3.dataLabels)}else(r3=p3[v3])||"undefined"===typeof a4[v3]||(p3[v3]=r3=(new e3).init(this,a4[v3],c3[l3]));r3&&(r3.index=g4?b3+l3:v3,n3[l3]=r3)}this.options.keys=k3;if(p3&&(f3!==(m3=p3.length)||g4))for(l3=0;l3<m3;l3++)l3!==h3||g4||(l3+=f3),p3[l3]&&(p3[l3].destroyElements(),p3[l3].plotX=void 0);this.data=p3;this.points=n3;q(this,"afterGeneratePoints")};a3.prototype.getXExtremes=function(b3){return{min:L2(b3),max:E2(b3)}};a3.prototype.getExtremes=function(b3,a4){var c3=this.xAxis,d3=this.yAxis,e3=this.processedXData||this.xData,f3=[],h3=this.requireSorting?this.cropShoulder:0;d3=d3?d3.positiveValuesOnly:false;var g4,k3=0,n3=0,m3=0;b3=b3||this.stackedYData||this.processedYData||[];var l3=b3.length;if(c3){var p3=c3.getExtremes();k3=p3.min;n3=p3.max}for(g4=0;g4<l3;g4++){var u3=e3[g4];p3=b3[g4];var G=(O2(p3)||J(p3))&&(p3.length||0<p3||!d3);u3=a4||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!c3||(e3[g4+h3]||u3)>=k3&&(e3[g4-h3]||u3)<=n3;if(G&&u3)if(G=p3.length)for(;G--;)O2(p3[G])&&(f3[m3++]=p3[G]);else f3[m3++]=p3}b3={activeYData:f3,dataMin:L2(f3),dataMax:E2(f3)};q(this,"afterGetExtremes",{dataExtremes:b3});return b3};a3.prototype.applyExtremes=function(){var b3=this.getExtremes();this.dataMin=b3.dataMin;this.dataMax=b3.dataMax;return b3};a3.prototype.getFirstValidPoint=function(b3){for(var a4=b3.length,c3=0,d3=null;null===d3&&c3<a4;)d3=b3[c3],c3++;return d3};a3.prototype.translate=function(){this.processedXData||this.processData();this.generatePoints();var b3=this.options,a4=b3.stacking,c3=this.xAxis,d3=c3.categories,e3=this.enabledDataSorting,h3=this.yAxis,g4=this.points,k3=g4.length,n3=this.pointPlacementToXValue(),m3=!!n3,l3=b3.threshold,p3=b3.startFromThreshold?l3:0,u3=this.zoneAxis||"y",r3,z3,t3=Number.MAX_VALUE;for(r3=0;r3<k3;r3++){var D3=g4[r3],E3=D3.x,A3=void 0,N2=void 0,I=D3.y,x3=D3.low,C3=a4&&h3.stacking&&h3.stacking.stacks[(this.negStacks&&I<(p3?0:l3)?"-":"")+this.stackKey];if(h3.positiveValuesOnly&&!h3.validatePositiveValue(I)||c3.positiveValuesOnly&&!c3.validatePositiveValue(E3))D3.isNull=true;D3.plotX=z3=w2(y2(c3.translate(E3,0,0,0,1,n3,"flags"===this.type),-1e5,1e5));if(a4&&this.visible&&C3&&C3[E3]){var L3=this.getStackIndicator(L3,E3,this.index);!D3.isNull&&L3.key&&(A3=C3[E3],N2=A3.points[L3.key]);A3&&J(N2)&&(x3=N2[0],I=N2[1],x3===p3&&L3.key===C3[E3].base&&(x3=v2(O2(l3)?l3:h3.min)),h3.positiveValuesOnly&&f2(x3)&&0>=x3&&(x3=void 0),D3.total=D3.stackTotal=v2(A3.total),D3.percentage=f2(D3.y)&&A3.total?D3.y/A3.total*100:void 0,D3.stackY=I,this.irregularWidths||A3.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))}D3.yBottom=f2(x3)?y2(h3.translate(x3,0,1,0,1),-1e5,1e5):void 0;this.dataModify&&(I=this.dataModify.modifyValue(I,r3));D3.plotY=void 0;O2(I)&&(A3=h3.translate(I,false,true,false,true),"undefined"!==typeof A3&&(D3.plotY=y2(A3,-1e5,1e5)));D3.isInside=this.isPointInside(D3);D3.clientX=m3?w2(c3.translate(E3,0,0,0,1,n3)):z3;D3.negative=D3[u3]<(b3[u3+"Threshold"]||l3||0);D3.category=v2(d3&&d3[D3.x],D3.x);if(!D3.isNull&&false!==D3.visible){"undefined"!==typeof B2&&(t3=Math.min(t3,Math.abs(z3-B2)));var B2=z3}D3.zone=this.zones.length?D3.getZone():void 0;!D3.graphic&&this.group&&e3&&(D3.isNew=true)}this.closestPointRangePx=t3;q(this,"afterTranslate")};a3.prototype.getValidPoints=function(b3,a4,c3){var d3=this.chart;return(b3||this.points||[]).filter((function(b4){return a4&&!d3.isInsidePlot(b4.plotX,b4.plotY,{inverted:d3.inverted})?false:false!==b4.visible&&(c3||!b4.isNull)}))};a3.prototype.getClipBox=function(){var b3=this.chart,a4=this.xAxis,c3=this.yAxis,d3=T2(b3.clipBox);a4&&a4.len!==b3.plotSizeX&&(d3.width=a4.len);c3&&c3.len!==b3.plotSizeY&&(d3.height=c3.len);return d3};a3.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)};a3.prototype.setClip=function(){var b3=this.chart,a4=this.group,c3=this.markerGroup,d3=b3.sharedClips;b3=b3.renderer;var e3=this.getClipBox(),f3=this.getSharedClipKey(),h3=d3[f3];h3?h3.animate(e3):d3[f3]=h3=b3.clipRect(e3);a4&&a4.clip(false===this.options.clip?void 0:h3);c3&&c3.clip()};a3.prototype.animate=function(b3){var a4=this.chart,c3=this.group,d3=this.markerGroup,f3=a4.inverted,h3=e2(this.options.animation),g4=[this.getSharedClipKey(),h3.duration,h3.easing,h3.defer].join(),k3=a4.sharedClips[g4],n3=a4.sharedClips[g4+"m"];if(b3&&c3)h3=this.getClipBox(),k3?k3.attr("height",h3.height):(h3.width=0,f3&&(h3.x=a4.plotHeight),k3=a4.renderer.clipRect(h3),a4.sharedClips[g4]=k3,n3=a4.renderer.clipRect({x:-99,y:-99,width:f3?a4.plotWidth+199:99,height:f3?99:a4.plotHeight+199}),a4.sharedClips[g4+"m"]=n3),c3.clip(k3),d3&&d3.clip(n3);else if(k3&&!k3.hasClass("highcharts-animating")){a4=this.getClipBox();var m3=h3.step;d3&&d3.element.childNodes.length&&(h3.step=function(b4,a5){m3&&m3.apply(a5,arguments);"width"===a5.prop&&n3&&n3.element&&n3.attr(f3?"height":"width",b4+99)});k3.addClass("highcharts-animating").animate(a4,h3)}};a3.prototype.afterAnimate=function(){var b3=this;this.setClip();Y(this.chart.sharedClips,(function(a4,c3,d3){a4&&!b3.chart.container.querySelector('[clip-path="url(#'.concat(a4.id,')"]'))&&(a4.destroy(),delete d3[c3])}));this.finishedAnimating=true;q(this,"afterAnimate")};a3.prototype.drawPoints=function(b3){void 0===b3&&(b3=this.points);var a4=this.chart,c3=a4.styledMode,d3=this.colorAxis,e3=this.options.marker,f3=this[this.specialGroup||"markerGroup"],h3=this.xAxis,g4=v2(e3.enabled,!h3||h3.isRadial?true:null,this.closestPointRangePx>=e3.enabledThreshold*e3.radius),k3,n3;if(false!==e3.enabled||this._hasPointMarkers)for(k3=0;k3<b3.length;k3++){var m3=b3[k3];var l3=(n3=m3.graphic)?"animate":"attr";var q2=m3.marker||{};var p3=!!m3.marker;if((g4&&"undefined"===typeof q2.enabled||q2.enabled)&&!m3.isNull&&false!==m3.visible){var u3=v2(q2.symbol,this.symbol,"rect");var G=this.markerAttribs(m3,m3.selected&&"select");this.enabledDataSorting&&(m3.startXPos=h3.reversed?-(G.width||0):h3.width);var r3=false!==m3.isInside;!n3&&r3&&(0<(G.width||0)||m3.hasImage)&&(m3.graphic=n3=a4.renderer.symbol(u3,G.x,G.y,G.width,G.height,p3?q2:e3).add(f3),this.enabledDataSorting&&a4.hasRendered&&(n3.attr({x:m3.startXPos}),l3="animate"));n3&&"animate"===l3&&n3[r3?"show":"hide"](r3).animate(G);if(n3)if(q2=this.pointAttribs(m3,c3||!m3.selected?void 0:"select"),c3)d3&&n3.css({fill:q2.fill});else n3[l3](q2);n3&&n3.addClass(m3.getClassName(),true)}else n3&&(m3.graphic=n3.destroy())}};a3.prototype.markerAttribs=function(b3,a4){var c3=this.options,d3=c3.marker,e3=b3.marker||{},f3=e3.symbol||d3.symbol,h3={},g4=v2(e3.radius,d3&&d3.radius);a4&&(d3=d3.states[a4],a4=e3.states&&e3.states[a4],g4=v2(a4&&a4.radius,d3&&d3.radius,g4&&g4+(d3&&d3.radiusPlus||0)));b3.hasImage=f3&&0===f3.indexOf("url");b3.hasImage&&(g4=0);b3=b3.pos();O2(g4)&&b3&&(h3.x=b3[0]-g4,h3.y=b3[1]-g4,c3.crisp&&(h3.x=Math.floor(h3.x)));g4&&(h3.width=h3.height=2*g4);return h3};a3.prototype.pointAttribs=function(b3,a4){var c3=this.options.marker,d3=b3&&b3.options,e3=d3&&d3.marker||{},f3=d3&&d3.color,h3=b3&&b3.color,g4=b3&&b3.zone&&b3.zone.color,k3=this.color;b3=v2(e3.lineWidth,c3.lineWidth);d3=1;k3=f3||g4||h3||k3;f3=e3.fillColor||c3.fillColor||k3;h3=e3.lineColor||c3.lineColor||k3;a4=a4||"normal";c3=c3.states[a4]||{};a4=e3.states&&e3.states[a4]||{};b3=v2(a4.lineWidth,c3.lineWidth,b3+v2(a4.lineWidthPlus,c3.lineWidthPlus,0));f3=a4.fillColor||c3.fillColor||f3;h3=a4.lineColor||c3.lineColor||h3;d3=v2(a4.opacity,c3.opacity,d3);return{stroke:h3,"stroke-width":b3,fill:f3,opacity:d3}};a3.prototype.destroy=function(b3){var a4=this,c3=a4.chart,d3=/AppleWebKit\/533/.test(D2.navigator.userAgent),e3=a4.data||[],f3,h3,g4,k3;q(a4,"destroy",{keepEventsForUpdate:b3});this.removeEvents(b3);(a4.axisTypes||[]).forEach((function(b4){(k3=a4[b4])&&k3.series&&(n2(k3.series,a4),k3.isDirty=k3.forceRedraw=true)}));a4.legendItem&&a4.chart.legend.destroyItem(a4);for(h3=e3.length;h3--;)(g4=e3[h3])&&g4.destroy&&g4.destroy();a4.clips&&a4.clips.forEach((function(b4){return b4.destroy()}));l2.clearTimeout(a4.animationTimeout);Y(a4,(function(b4,a5){b4 instanceof r2&&!b4.survive&&(f3=d3&&"group"===a5?"hide":"destroy",b4[f3]())}));c3.hoverSeries===a4&&(c3.hoverSeries=void 0);n2(c3.series,a4);c3.orderSeries();Y(a4,(function(c4,d4){b3&&"hcEvents"===d4||delete a4[d4]}))};a3.prototype.applyZones=function(){var b3=this,a4=this.chart,c3=a4.renderer,d3=this.zones,e3=this.clips||[],f3=this.graph,h3=this.area,g4=Math.max(a4.plotWidth,a4.plotHeight),k3=this[(this.zoneAxis||"y")+"Axis"],n3=a4.inverted,m3,l3,q2,p3,u3,r3,z3,w3,t3=false;if(d3.length&&(f3||h3)&&k3&&"undefined"!==typeof k3.min){var D3=k3.reversed;var E3=k3.horiz;f3&&!this.showLine&&f3.hide();h3&&h3.hide();var A3=k3.getExtremes();d3.forEach((function(d4,G){m3=D3?E3?a4.plotWidth:0:E3?0:k3.toPixels(A3.min)||0;m3=y2(v2(l3,m3),0,g4);l3=y2(Math.round(k3.toPixels(v2(d4.value,A3.max),true)||0),0,g4);t3&&(m3=l3=k3.toPixels(A3.max));p3=Math.abs(m3-l3);u3=Math.min(m3,l3);r3=Math.max(m3,l3);k3.isXAxis?(q2={x:n3?r3:u3,y:0,width:p3,height:g4},E3||(q2.x=a4.plotHeight-q2.x)):(q2={x:0,y:n3?r3:u3,width:g4,height:p3},E3&&(q2.y=a4.plotWidth-q2.y));n3&&c3.isVML&&(q2=k3.isXAxis?{x:0,y:D3?u3:r3,height:q2.width,width:a4.chartWidth}:{x:q2.y-a4.plotLeft-a4.spacingBox.x,y:0,width:q2.height,height:a4.chartHeight});e3[G]?e3[G].animate(q2):e3[G]=c3.clipRect(q2);z3=b3["zone-area-"+G];w3=b3["zone-graph-"+G];f3&&w3&&w3.clip(e3[G]);h3&&z3&&z3.clip(e3[G]);t3=d4.value>A3.max;b3.resetZones&&0===l3&&(l3=void 0)}));this.clips=e3}else b3.visible&&(f3&&f3.show(),h3&&h3.show())};a3.prototype.plotGroup=function(b3,a4,c3,d3,e3){var h3=this[b3],g4=!h3;c3={visibility:c3,zIndex:d3||.1};"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(c3.opacity=this.opacity);g4&&(this[b3]=h3=this.chart.renderer.g().add(e3));h3.addClass("highcharts-"+a4+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(f2(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(h3.hasClass("highcharts-tracker")?" highcharts-tracker":""),true);h3.attr(c3)[g4?"attr":"animate"](this.getPlotBox(a4));return h3};a3.prototype.getPlotBox=function(b3){var a4=this.xAxis,c3=this.yAxis,d3=this.chart;b3=d3.inverted&&!d3.polar&&a4&&false!==this.invertible&&"series"===b3;d3.inverted&&(a4=c3,c3=this.xAxis);return{translateX:a4?a4.left:d3.plotLeft,translateY:c3?c3.top:d3.plotTop,rotation:b3?90:0,rotationOriginX:b3?(a4.len-c3.len)/2:0,rotationOriginY:b3?(a4.len+c3.len)/2:0,scaleX:b3?-1:1,scaleY:1}};a3.prototype.removeEvents=function(b3){b3||U(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(b4){b4()})),this.eventsToUnbind.length=0)};a3.prototype.render=function(){var b3=this,a4=b3.chart,c3=b3.options,d3=e2(c3.animation),f3=b3.visible?"inherit":"hidden",h3=c3.zIndex,g4=b3.hasRendered,k3=a4.seriesGroup;a4=!b3.finishedAnimating&&a4.renderer.isSVG?d3.duration:0;q(this,"render");b3.plotGroup("group","series",f3,h3,k3);b3.markerGroup=b3.plotGroup("markerGroup","markers",f3,h3,k3);false!==c3.clip&&b3.setClip();b3.animate&&a4&&b3.animate(true);b3.drawGraph&&(b3.drawGraph(),b3.applyZones());b3.visible&&b3.drawPoints();b3.drawDataLabels&&b3.drawDataLabels();b3.redrawPoints&&b3.redrawPoints();b3.drawTracker&&false!==b3.options.enableMouseTracking&&b3.drawTracker();b3.animate&&a4&&b3.animate();g4||(a4&&d3.defer&&(a4+=d3.defer),b3.animationTimeout=ca((function(){b3.afterAnimate()}),a4||0));b3.isDirty=false;b3.hasRendered=true;q(b3,"afterRender")};a3.prototype.redraw=function(){var b3=this.isDirty||this.isDirtyData;this.translate();this.render();b3&&delete this.kdTree};a3.prototype.searchPoint=function(b3,a4){var c3=this.xAxis,d3=this.yAxis,e3=this.chart.inverted;return this.searchKDTree({clientX:e3?c3.len-b3.chartY+c3.pos:b3.chartX-c3.pos,plotY:e3?d3.len-b3.chartX+d3.pos:b3.chartY-d3.pos},a4,b3)};a3.prototype.buildKDTree=function(b3){function a4(b4,d4,e3){var f3=b4&&b4.length;if(f3){var h3=c3.kdAxisArray[d4%e3];b4.sort((function(b5,a5){return b5[h3]-a5[h3]}));f3=Math.floor(f3/2);return{point:b4[f3],left:a4(b4.slice(0,f3),d4+1,e3),right:a4(b4.slice(f3+1),d4+1,e3)}}}this.buildingKdTree=true;var c3=this,d3=-1<c3.options.findNearestPointBy.indexOf("y")?2:1;delete c3.kdTree;ca((function(){c3.kdTree=a4(c3.getValidPoints(null,!c3.directTouch),d3,d3);c3.buildingKdTree=false}),c3.options.kdNow||b3&&"touchstart"===b3.type?0:1)};a3.prototype.searchKDTree=function(b3,a4,c3){function d3(b4,a5,c4,n3){var m3=a5.point,l3=e3.kdAxisArray[c4%n3],q2=m3,p3=f2(b4[h3])&&f2(m3[h3])?Math.pow(b4[h3]-m3[h3],2):null;var u3=f2(b4[g4])&&f2(m3[g4])?Math.pow(b4[g4]-m3[g4],2):null;u3=(p3||0)+(u3||0);m3.dist=f2(u3)?Math.sqrt(u3):Number.MAX_VALUE;m3.distX=f2(p3)?Math.sqrt(p3):Number.MAX_VALUE;l3=b4[l3]-m3[l3];u3=0>l3?"left":"right";p3=0>l3?"right":"left";a5[u3]&&(u3=d3(b4,a5[u3],c4+1,n3),q2=u3[k3]<q2[k3]?u3:m3);a5[p3]&&Math.sqrt(l3*l3)<q2[k3]&&(b4=d3(b4,a5[p3],c4+1,n3),q2=b4[k3]<q2[k3]?b4:q2);return q2}var e3=this,h3=this.kdAxisArray[0],g4=this.kdAxisArray[1],k3=a4?"distX":"dist";a4=-1<e3.options.findNearestPointBy.indexOf("y")?2:1;this.kdTree||this.buildingKdTree||this.buildKDTree(c3);if(this.kdTree)return d3(b3,this.kdTree,a4,a4)};a3.prototype.pointPlacementToXValue=function(){var b3=this.options,a4=b3.pointRange,c3=this.xAxis;b3=b3.pointPlacement;"between"===b3&&(b3=c3.reversed?-.5:.5);return O2(b3)?b3*(a4||c3.pointRange):0};a3.prototype.isPointInside=function(b3){var a4=this.chart,c3=this.xAxis,d3=this.yAxis;return"undefined"!==typeof b3.plotY&&"undefined"!==typeof b3.plotX&&0<=b3.plotY&&b3.plotY<=(d3?d3.len:a4.plotHeight)&&0<=b3.plotX&&b3.plotX<=(c3?c3.len:a4.plotWidth)};a3.prototype.drawTracker=function(){var b3=this,a4=b3.options,c3=a4.trackByArea,d3=[].concat(c3?b3.areaPath:b3.graphPath),e3=b3.chart,f3=e3.pointer,h3=e3.renderer,g4=e3.options.tooltip.snap,n3=b3.tracker,m3=function(a5){if(e3.hoverSeries!==b3)b3.onMouseOver()},l3="rgba(192,192,192,"+(p2?1e-4:.002)+")";n3?n3.attr({d:d3}):b3.graph&&(b3.tracker=h3.path(d3).attr({visibility:b3.visible?"inherit":"hidden",zIndex:2}).addClass(c3?"highcharts-tracker-area":"highcharts-tracker-line").add(b3.group),e3.styledMode||b3.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:l3,fill:c3?l3:"none","stroke-width":b3.graph.strokeWidth()+(c3?0:2*g4)}),[b3.tracker,b3.markerGroup,b3.dataLabelsGroup].forEach((function(b4){if(b4&&(b4.addClass("highcharts-tracker").on("mouseover",m3).on("mouseout",(function(b5){f3.onTrackerMouseOut(b5)})),a4.cursor&&!e3.styledMode&&b4.css({cursor:a4.cursor}),k2))b4.on("touchstart",m3)})));q(this,"afterDrawTracker")};a3.prototype.addPoint=function(b3,a4,c3,d3,e3){var f3=this.options,h3=this.data,g4=this.chart,k3=this.xAxis;k3=k3&&k3.hasNames&&k3.names;var n3=f3.data,m3=this.xData,l3;a4=v2(a4,true);var p3={series:this};this.pointClass.prototype.applyOptions.apply(p3,[b3]);var u3=p3.x;var r3=m3.length;if(this.requireSorting&&u3<m3[r3-1])for(l3=true;r3&&m3[r3-1]>u3;)r3--;this.updateParallelArrays(p3,"splice",r3,0,0);this.updateParallelArrays(p3,r3);k3&&p3.name&&(k3[u3]=p3.name);n3.splice(r3,0,b3);if(l3||this.processedData)this.data.splice(r3,0,null),this.processData();"point"===f3.legendType&&this.generatePoints();c3&&(h3[0]&&h3[0].remove?h3[0].remove(false):(h3.shift(),this.updateParallelArrays(p3,"shift"),n3.shift()));false!==e3&&q(this,"addPoint",{point:p3});this.isDirtyData=this.isDirty=true;a4&&g4.redraw(d3)};a3.prototype.removePoint=function(b3,a4,c3){var e3=this,f3=e3.data,h3=f3[b3],g4=e3.points,k3=e3.chart,n3=function(){g4&&g4.length===f3.length&&g4.splice(b3,1);f3.splice(b3,1);e3.options.data.splice(b3,1);e3.updateParallelArrays(h3||{series:e3},"splice",b3,1);h3&&h3.destroy();e3.isDirty=true;e3.isDirtyData=true;a4&&k3.redraw()};d2(c3,k3);a4=v2(a4,true);h3?h3.firePointEvent("remove",null,n3):n3()};a3.prototype.remove=function(b3,a4,c3,d3){function e3(){f3.destroy(d3);h3.isDirtyLegend=h3.isDirtyBox=true;h3.linkSeries();v2(b3,true)&&h3.redraw(a4)}var f3=this,h3=f3.chart;false!==c3?q(f3,"remove",null,e3):e3()};a3.prototype.update=function(a4,d3){a4=c2(a4,this.userOptions);q(this,"update",{options:a4});var e3=this,f3=e3.chart,h3=e3.userOptions,g4=e3.initialType||e3.type,k3=f3.options.plotOptions,n3=A2[g4].prototype,m3=e3.finishedAnimating&&{animation:false},l3={},p3=["eventOptions","navigatorSeries","baseSeries"],r3=a4.type||h3.type||f3.options.chart.type,z3=!(this.hasDerivedData||r3&&r3!==this.type||"undefined"!==typeof a4.pointStart||"undefined"!==typeof a4.pointInterval||"undefined"!==typeof a4.relativeXValue||a4.joinBy||a4.mapData||e3.hasOptionChanged("dataGrouping")||e3.hasOptionChanged("pointStart")||e3.hasOptionChanged("pointInterval")||e3.hasOptionChanged("pointIntervalUnit")||e3.hasOptionChanged("keys"));r3=r3||g4;z3&&(p3.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),false!==a4.visible&&p3.push("area","graph"),e3.parallelArrays.forEach((function(b3){p3.push(b3+"Data")})),a4.data&&(a4.dataSorting&&u2(e3.options.dataSorting,a4.dataSorting),this.setData(a4.data,false)));a4=T2(h3,m3,{index:"undefined"===typeof h3.index?e3.index:h3.index,pointStart:v2(k3&&k3.series&&k3.series.pointStart,h3.pointStart,e3.xData[0])},!z3&&{data:e3.options.data},a4);z3&&a4.data&&(a4.data=e3.options.data);p3=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(p3);p3.forEach((function(b3){p3[b3]=e3[b3];delete e3[b3]}));k3=false;if(A2[r3]){if(k3=r3!==e3.type,e3.remove(false,false,false,true),k3)if(Object.setPrototypeOf)Object.setPrototypeOf(e3,A2[r3].prototype);else{m3=Object.hasOwnProperty.call(e3,"hcEvents")&&e3.hcEvents;for(w3 in n3)e3[w3]=void 0;u2(e3,A2[r3].prototype);m3?e3.hcEvents=m3:delete e3.hcEvents}}else b2(17,true,f3,{missingModuleFor:r3});p3.forEach((function(b3){e3[b3]=p3[b3]}));e3.init(f3,a4);if(z3&&this.points){a4=e3.options;if(false===a4.visible)l3.graphic=1,l3.dataLabel=1;else if(!e3._hasPointLabels){n3=a4.marker;var w3=a4.dataLabels;h3=h3.marker||{};!n3||false!==n3.enabled&&h3.symbol===n3.symbol&&h3.height===n3.height&&h3.width===n3.width||(l3.graphic=1);w3&&false===w3.enabled&&(l3.dataLabel=1)}h3=0;for(n3=this.points;h3<n3.length;h3++)(w3=n3[h3])&&w3.series&&(w3.resolveColor(),Object.keys(l3).length&&w3.destroyElements(l3),false===a4.showInLegend&&w3.legendItem&&f3.legend.destroyItem(w3))}e3.initialType=g4;f3.linkSeries();k3&&e3.linkedSeries.length&&(e3.isDirtyData=true);q(this,"afterUpdate");v2(d3,true)&&f3.redraw(z3?void 0:false)};a3.prototype.setName=function(b3){this.name=this.options.name=this.userOptions.name=b3;this.chart.isDirtyLegend=true};a3.prototype.hasOptionChanged=function(b3){var a4=this.options[b3],c3=this.chart.options.plotOptions,d3=this.userOptions[b3];return d3?a4!==d3:a4!==v2(c3&&c3[this.type]&&c3[this.type][b3],c3&&c3.series&&c3.series[b3],a4)};a3.prototype.onMouseOver=function(){var b3=this.chart,a4=b3.hoverSeries;b3.pointer.setHoverChartIndex();if(a4&&a4!==this)a4.onMouseOut();this.options.events.mouseOver&&q(this,"mouseOver");this.setState("hover");b3.hoverSeries=this};a3.prototype.onMouseOut=function(){var b3=this.options,a4=this.chart,c3=a4.tooltip,d3=a4.hoverPoint;a4.hoverSeries=null;if(d3)d3.onMouseOut();this&&b3.events.mouseOut&&q(this,"mouseOut");!c3||this.stickyTracking||c3.shared&&!this.noSharedTooltip||c3.hide();a4.series.forEach((function(b4){b4.setState("",true)}))};a3.prototype.setState=function(b3,a4){var c3=this,d3=c3.options,e3=c3.graph,f3=d3.inactiveOtherPoints,h3=d3.states,g4=v2(h3[b3||"normal"]&&h3[b3||"normal"].animation,c3.chart.options.chart.animation),k3=d3.lineWidth,n3=0,m3=d3.opacity;b3=b3||"";if(c3.state!==b3&&([c3.group,c3.markerGroup,c3.dataLabelsGroup].forEach((function(a5){a5&&(c3.state&&a5.removeClass("highcharts-series-"+c3.state),b3&&a5.addClass("highcharts-series-"+b3))})),c3.state=b3,!c3.chart.styledMode)){if(h3[b3]&&false===h3[b3].enabled)return;b3&&(k3=h3[b3].lineWidth||k3+(h3[b3].lineWidthPlus||0),m3=v2(h3[b3].opacity,m3));if(e3&&!e3.dashstyle&&O2(k3))for(d3={"stroke-width":k3},e3.animate(d3,g4);c3["zone-graph-"+n3];)c3["zone-graph-"+n3].animate(d3,g4),n3+=1;f3||[c3.group,c3.markerGroup,c3.dataLabelsGroup,c3.labelBySeries].forEach((function(b4){b4&&b4.animate({opacity:m3},g4)}))}a4&&f3&&c3.points&&c3.setAllPointsToState(b3||void 0)};a3.prototype.setAllPointsToState=function(b3){this.points.forEach((function(a4){a4.setState&&a4.setState(b3)}))};a3.prototype.setVisible=function(b3,a4){var c3=this,d3=c3.chart,e3=d3.options.chart.ignoreHiddenSeries,f3=c3.visible,h3=(c3.visible=b3=c3.options.visible=c3.userOptions.visible="undefined"===typeof b3?!f3:b3)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(b4){if(c3[b4])c3[b4][h3]()}));if(d3.hoverSeries===c3||(d3.hoverPoint&&d3.hoverPoint.series)===c3)c3.onMouseOut();c3.legendItem&&d3.legend.colorizeItem(c3,b3);c3.isDirty=true;c3.options.stacking&&d3.series.forEach((function(b4){b4.options.stacking&&b4.visible&&(b4.isDirty=true)}));c3.linkedSeries.forEach((function(a5){a5.setVisible(b3,false)}));e3&&(d3.isDirtyBox=true);q(c3,h3);false!==a4&&d3.redraw()};a3.prototype.show=function(){this.setVisible(true)};a3.prototype.hide=function(){this.setVisible(false)};a3.prototype.select=function(b3){this.selected=b3=this.options.selected="undefined"===typeof b3?!this.selected:b3;this.checkbox&&(this.checkbox.checked=b3);q(this,b3?"select":"unselect")};a3.prototype.shouldShowTooltip=function(b3,a4,c3){void 0===c3&&(c3={});c3.series=this;c3.visiblePlotOnly=true;return this.chart.isInsidePlot(b3,a4,c3)};a3.defaultOptions=H2;a3.types=t2.seriesTypes;a3.registerType=t2.registerSeriesType;return a3}();u2(a2.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:false,drawLegendSymbol:C2.drawLineMarker,isCartesian:true,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:B,requireSorting:true,sorted:true});t2.series=a2;return a2}));K(g2,"Extensions/ScrollablePlotArea.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Axis/Axis.js"],g2["Core/Chart/Chart.js"],g2["Core/Series/Series.js"],g2["Core/Renderer/RendererRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B){var A2=a2.stop,t2=B.addEvent,r2=B.createElement,l2=B.defined,e2=B.merge,d2=B.pick;t2(x2,"afterSetChartSize",(function(a3){var d3=this.options.chart.scrollablePlotArea,h2=d3&&d3.minWidth;d3=d3&&d3.minHeight;if(!this.renderer.forExport){if(h2){if(this.scrollablePixelsX=h2=Math.max(0,h2-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=e2(this.plotBox);this.plotBox.width=this.plotWidth+=h2;this.inverted?this.clipBox.height+=h2:this.clipBox.width+=h2;var p2={1:{name:"right",value:h2}}}}else d3&&(this.scrollablePixelsY=h2=Math.max(0,d3-this.chartHeight),l2(h2)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=e2(this.plotBox),this.plotBox.height=this.plotHeight+=h2,this.inverted?this.clipBox.width+=h2:this.clipBox.height+=h2,p2={2:{name:"bottom",value:h2}}));p2&&!a3.skipAxes&&this.axes.forEach((function(a4){p2[a4.side]?a4.getPlotLinePath=function(){var d4=p2[a4.side].name,e3=this[d4];this[d4]=e3-p2[a4.side].value;var h3=g3.prototype.getPlotLinePath.apply(this,arguments);this[d4]=e3;return h3}:(a4.setAxisSize(),a4.setAxisTranslation())}))}}));t2(x2,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}));x2.prototype.setUpScrolling=function(){var a3=this,d3={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(d3.overflowX="auto");this.scrollablePixelsY&&(d3.overflowY="auto");this.scrollingParent=r2("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo);this.scrollingContainer=r2("div",{className:"highcharts-scrolling"},d3,this.scrollingParent);var e3;t2(this.scrollingContainer,"scroll",(function(){a3.pointer&&(delete a3.pointer.chartPosition,a3.hoverPoint&&(e3=a3.hoverPoint),a3.pointer.runPointActions(void 0,e3,true))}));this.innerContainer=r2("div",{className:"highcharts-inner-container"},null,this.scrollingContainer);this.innerContainer.appendChild(this.container);this.setUpScrolling=null};x2.prototype.moveFixedElements=function(){var a3=this.container,d3=this.fixedRenderer,e3=".highcharts-breadcrumbs-group .highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),g4;this.scrollablePixelsX&&!this.inverted?g4=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?g4=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?g4=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(g4=".highcharts-yaxis");g4&&e3.push(""+g4+":not(.highcharts-radial-axis)",""+g4+"-labels:not(.highcharts-radial-axis-labels)");e3.forEach((function(e4){[].forEach.call(a3.querySelectorAll(e4),(function(a4){(a4.namespaceURI===d3.SVG_NS?d3.box:d3.box.parentNode).appendChild(a4);a4.style.pointerEvents="auto"}))}))};x2.prototype.applyFixed=function(){var a3=!this.fixedDiv,e3=this.options.chart,g4=e3.scrollablePlotArea,l3=C2.getRendererType();a3?(this.fixedDiv=r2("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e3.style&&e3.style.zIndex||0)+2,top:0},null,true),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e3=new l3(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e3.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":d2(g4.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),t2(this,"afterShowResetZoom",this.moveFixedElements),t2(this,"afterApplyDrilldown",this.moveFixedElements),t2(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight);if(this.scrollableDirty||a3)this.scrollableDirty=false,this.moveFixedElements();e3=this.chartWidth+(this.scrollablePixelsX||0);l3=this.chartHeight+(this.scrollablePixelsY||0);A2(this.container);this.container.style.width=e3+"px";this.container.style.height=l3+"px";this.renderer.boxWrapper.attr({width:e3,height:l3,viewBox:[0,0,e3,l3].join(" ")});this.chartBackground.attr({width:e3,height:l3});this.scrollingContainer.style.height=this.chartHeight+"px";a3&&(g4.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*g4.scrollPositionX),g4.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*g4.scrollPositionY));l3=this.axisOffset;a3=this.plotTop-l3[0]-1;g4=this.plotLeft-l3[3]-1;e3=this.plotTop+this.plotHeight+l3[2]+1;l3=this.plotLeft+this.plotWidth+l3[1]+1;var D2=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),x3=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);a3=this.scrollablePixelsX?[["M",0,a3],["L",this.plotLeft-1,a3],["L",this.plotLeft-1,e3],["L",0,e3],["Z"],["M",D2,a3],["L",this.chartWidth,a3],["L",this.chartWidth,e3],["L",D2,e3],["Z"]]:this.scrollablePixelsY?[["M",g4,0],["L",g4,this.plotTop-1],["L",l3,this.plotTop-1],["L",l3,0],["Z"],["M",g4,x3],["L",g4,this.chartHeight],["L",l3,this.chartHeight],["L",l3,x3],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:a3})};t2(g3,"afterInit",(function(){this.chart.scrollableDirty=true}));t2(F2,"show",(function(){this.chart.scrollableDirty=true}))}));K(g2,"Core/Axis/Stacking/StackItem.js",[g2["Core/FormatUtilities.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=a2.format,C2=g3.series,B=x2.destroyObjectProperties,H2=x2.pick,t2=x2.isNumber;a2=function(){function a3(a4,e2,d2,h2,g4){var k2=a4.chart.inverted,m2=a4.reversed;this.axis=a4;a4=this.isNegative=!!d2!==!!m2;this.options=e2=e2||{};this.x=h2;this.cumulative=this.total=null;this.points={};this.hasValidPoints=false;this.stack=g4;this.rightCliff=this.leftCliff=0;this.alignOptions={align:e2.align||(k2?a4?"left":"right":"center"),verticalAlign:e2.verticalAlign||(k2?"middle":a4?"bottom":"top"),y:e2.y,x:e2.x};this.textAlign=e2.textAlign||(k2?a4?"right":"left":"center")}a3.prototype.destroy=function(){B(this,this.axis)};a3.prototype.render=function(a4){var e2=this.axis.chart,d2=this.options,h2=d2.format;h2=h2?A2(h2,this,e2):d2.formatter.call(this);this.label?this.label.attr({text:h2,visibility:"hidden"}):(this.label=e2.renderer.label(h2,null,void 0,d2.shape,void 0,void 0,d2.useHTML,false,"stack-labels"),h2={r:d2.borderRadius||0,text:h2,padding:H2(d2.padding,5),visibility:"hidden"},e2.styledMode||(h2.fill=d2.backgroundColor,h2.stroke=d2.borderColor,h2["stroke-width"]=d2.borderWidth,this.label.css(d2.style||{})),this.label.attr(h2),this.label.added||this.label.add(a4));this.label.labelrank=e2.plotSizeY};a3.prototype.setOffset=function(a4,e2,d2,h2,g4,k2){var m2=this.alignOptions,l2=this.axis,r2=this.label,E2=this.options,A3=this.textAlign,y2=l2.chart;a4=this.getStackBox({xOffset:a4,width:e2,boxBottom:d2,boxTop:h2,defaultX:g4,xAxis:k2});g4=m2.verticalAlign;r2&&a4&&(e2=r2.getBBox(),d2=r2.padding,h2="justify"===H2(E2.overflow,"justify"),m2.x=E2.x||0,m2.y=E2.y||0,g4=this.adjustStackPosition({labelBox:e2,verticalAlign:g4,textAlign:A3}),A3=g4.x,g4=g4.y,a4.x-=A3,a4.y-=g4,r2.align(m2,false,a4),(A3=y2.isInsidePlot(r2.alignAttr.x+m2.x+A3,r2.alignAttr.y+m2.y+g4))||(h2=false),h2&&C2.prototype.justifyDataLabel.call(l2,r2,m2,r2.alignAttr,e2,a4),r2.attr({x:r2.alignAttr.x,y:r2.alignAttr.y,rotation:E2.rotation,rotationOriginX:e2.width/2,rotationOriginY:e2.height/2}),H2(!h2&&E2.crop,true)&&(A3=t2(r2.x)&&t2(r2.y)&&y2.isInsidePlot(r2.x-d2+r2.width,r2.y)&&y2.isInsidePlot(r2.x+d2,r2.y)),r2[A3?"show":"hide"]())};a3.prototype.adjustStackPosition=function(a4){var e2=a4.labelBox,d2={bottom:0,middle:1,top:2,right:1,center:0,left:-1};return{x:e2.width/2+e2.width/2*d2[a4.textAlign],y:e2.height/2*d2[a4.verticalAlign]}};a3.prototype.getStackBox=function(a4){var e2=this.axis,d2=e2.chart,h2=a4.boxTop,g4=a4.defaultX,k2=a4.xOffset,l2=a4.width,r2=a4.boxBottom;h2=e2.stacking.usePercentage?100:H2(h2,this.total,0);h2=e2.toPixels(h2);a4=H2(g4,(a4.xAxis||d2.xAxis[0]).toPixels(this.x))+k2;e2=e2.toPixels(r2?r2:0);e2=Math.abs(h2-e2);r2=this.isNegative;return d2.inverted?{x:(r2?h2:h2-e2)-d2.plotLeft,y:a4-d2.plotTop,width:e2,height:l2}:{x:a4-d2.plotLeft,y:(r2?h2-e2:h2)-d2.plotTop,width:l2,height:e2}};return a3}();return a2}));K(g2,"Core/Axis/Stacking/StackingAxis.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Axis/Axis.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Axis/Stacking/StackItem.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2){function A2(){var b3=this,a3=b3.inverted;b3.yAxis.forEach((function(b4){b4.stacking&&b4.stacking.stacks&&b4.hasVisibleSeries&&(b4.stacking.oldStacks=b4.stacking.stacks)}));b3.series.forEach((function(c3){var d3=c3.xAxis&&c3.xAxis.options||{};!c3.options.stacking||true!==c3.visible&&false!==b3.options.chart.ignoreHiddenSeries||(c3.stackKey=[c3.type,f2(c3.options.stack,""),a3?d3.top:d3.left,a3?d3.height:d3.width].join())}))}function H2(){var b3=this.stacking;if(b3){var a3=b3.stacks;w2(a3,(function(b4,c3){E2(b4);a3[c3]=null}));b3&&b3.stackTotalGroup&&b3.stackTotalGroup.destroy()}}function t2(){"yAxis"!==this.coll||this.stacking||(this.stacking=new n2(this))}function r2(b3,a3,c3,d3){!I(b3)||b3.x!==a3||d3&&b3.stackKey!==d3?b3={x:a3,index:0,key:d3,stackKey:d3}:b3.index++;b3.key=[c3,a3,b3.index].join();return b3}function l2(){var b3=this,a3=b3.stackKey,c3=b3.yAxis.stacking.stacks,d3=b3.processedXData,e3=b3[b3.options.stacking+"Stacker"],f3;e3&&[a3,"-"+a3].forEach((function(a4){for(var h3=d3.length,g4,k3;h3--;)g4=d3[h3],f3=b3.getStackIndicator(f3,g4,b3.index,a4),(k3=(g4=c3[a4]&&c3[a4][g4])&&g4.points[f3.key])&&e3.call(b3,k3,g4,h3)}))}function e2(b3,a3,c3){a3=a3.total?100/a3.total:0;b3[0]=D2(b3[0]*a3);b3[1]=D2(b3[1]*a3);this.stackedYData[c3]=b3[1]}function d2(){var b3=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?k2.setStackedPoints.call(this,"group"):b3&&w2(b3.stacks,(function(a3,c3){"group"===c3.slice(-5)&&(w2(a3,(function(b4){return b4.destroy()})),delete b3.stacks[c3])}))}function h2(b3){var a3=this.chart,c3=b3||this.options.stacking;if(c3&&(true===this.visible||false===a3.options.chart.ignoreHiddenSeries)){var d3=this.processedXData,e3=this.processedYData,h3=[],g4=e3.length,k3=this.options,n3=k3.threshold,m3=f2(k3.startFromThreshold&&n3,0);k3=k3.stack;b3=b3?""+this.type+",".concat(c3):this.stackKey;var l3="-"+b3,p3=this.negStacks;a3="group"===c3?a3.yAxis[0]:this.yAxis;var u2=a3.stacking.stacks,r3=a3.stacking.oldStacks,w3,t3;a3.stacking.stacksTouched+=1;for(t3=0;t3<g4;t3++){var E3=d3[t3];var A3=e3[t3];var x3=this.getStackIndicator(x3,E3,this.index);var C3=x3.key;var B=(w3=p3&&A3<(m3?0:n3))?l3:b3;u2[B]||(u2[B]={});u2[B][E3]||(r3[B]&&r3[B][E3]?(u2[B][E3]=r3[B][E3],u2[B][E3].total=null):u2[B][E3]=new F2(a3,a3.options.stackLabels,!!w3,E3,k3));B=u2[B][E3];null!==A3?(B.points[C3]=B.points[this.index]=[f2(B.cumulative,m3)],I(B.cumulative)||(B.base=C3),B.touched=a3.stacking.stacksTouched,0<x3.index&&false===this.singleStacks&&(B.points[C3][0]=B.points[this.index+","+E3+",0"][0])):B.points[C3]=B.points[this.index]=null;"percent"===c3?(w3=w3?b3:l3,p3&&u2[w3]&&u2[w3][E3]?(w3=u2[w3][E3],B.total=w3.total=Math.max(w3.total,B.total)+Math.abs(A3)||0):B.total=D2(B.total+(Math.abs(A3)||0))):"group"===c3?(y2(A3)&&(A3=A3[0]),null!==A3&&(B.total=(B.total||0)+1)):B.total=D2(B.total+(A3||0));B.cumulative="group"===c3?(B.total||1)-1:f2(B.cumulative,m3)+(A3||0);null!==A3&&(B.points[C3].push(B.cumulative),h3[t3]=B.cumulative,B.hasValidPoints=true)}"percent"===c3&&(a3.stacking.usePercentage=true);"group"!==c3&&(this.stackedYData=h3);a3.stacking.oldStacks={}}}var m2=a2.getDeferredAnimation,k2=x2.series.prototype,p2=C2.addEvent,D2=C2.correctFloat,I=C2.defined,E2=C2.destroyObjectProperties,L2=C2.fireEvent,y2=C2.isArray,c2=C2.isNumber,w2=C2.objectEach,f2=C2.pick,n2=function(){function b3(b4){this.oldStacks={};this.stacks={};this.stacksTouched=0;this.axis=b4}b3.prototype.buildStacks=function(){var b4=this.axis,a3=b4.series,c3=b4.options.reversedStacks,d3=a3.length,e3;this.usePercentage=false;for(e3=d3;e3--;){var f3=a3[c3?e3:d3-e3-1];f3.setStackedPoints();f3.setGroupedPoints()}for(e3=0;e3<d3;e3++)a3[e3].modifyStacks();L2(b4,"afterBuildStacks")};b3.prototype.cleanStacks=function(){if(this.oldStacks)var b4=this.stacks=this.oldStacks;w2(b4,(function(b5){w2(b5,(function(b6){b6.cumulative=b6.total}))}))};b3.prototype.resetStacks=function(){var b4=this;w2(this.stacks,(function(a3){w2(a3,(function(d3,e3){c2(d3.touched)&&d3.touched<b4.stacksTouched?(d3.destroy(),delete a3[e3]):(d3.total=null,d3.cumulative=null)}))}))};b3.prototype.renderStackTotals=function(){var b4=this.axis,a3=b4.chart,c3=a3.renderer,d3=this.stacks;b4=m2(a3,b4.options.stackLabels&&b4.options.stackLabels.animation||false);var e3=this.stackTotalGroup=this.stackTotalGroup||c3.g("stack-labels").attr({zIndex:6,opacity:0}).add();e3.translate(a3.plotLeft,a3.plotTop);w2(d3,(function(b5){w2(b5,(function(b6){b6.render(e3)}))}));e3.animate({opacity:1},b4)};return b3}(),b2;(function(b3){var a3=[];b3.compose=function(b4,c3,f3){-1===a3.indexOf(b4)&&(a3.push(b4),p2(b4,"init",t2),p2(b4,"destroy",H2));-1===a3.indexOf(c3)&&(a3.push(c3),c3.prototype.getStacks=A2);-1===a3.indexOf(f3)&&(a3.push(f3),b4=f3.prototype,b4.getStackIndicator=r2,b4.modifyStacks=l2,b4.percentStacker=e2,b4.setGroupedPoints=d2,b4.setStackedPoints=h2)}})(b2||(b2={}));return b2}));K(g2,"Series/Line/LineSeries.js",[g2["Core/Series/Series.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=this&&this.__extends||function(){var a3=function(g4,r2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e2){a4.__proto__=e2}||function(a4,e2){for(var d2 in e2)e2.hasOwnProperty(d2)&&(a4[d2]=e2[d2])};return a3(g4,r2)};return function(g4,r2){function l2(){this.constructor=g4}a3(g4,r2);g4.prototype=null===r2?Object.create(r2):(l2.prototype=r2.prototype,new l2)}}(),C2=x2.defined,B=x2.merge;x2=function(g4){function t2(){var a3=null!==g4&&g4.apply(this,arguments)||this;a3.data=void 0;a3.options=void 0;a3.points=void 0;return a3}A2(t2,g4);t2.prototype.drawGraph=function(){var a3=this,g5=this.options,e2=(this.gappedPath||this.getGraphPath).call(this),d2=this.chart.styledMode,h2=[["graph","highcharts-graph"]];d2||h2[0].push(g5.lineColor||this.color||"#cccccc",g5.dashStyle);h2=a3.getZonesGraphs(h2);h2.forEach((function(h3,k2){var m2=h3[0],l2=a3[m2],r2=l2?"animate":"attr";l2?(l2.endX=a3.preventGraphAnimation?null:e2.xMap,l2.animate({d:e2})):e2.length&&(a3[m2]=l2=a3.chart.renderer.path(e2).addClass(h3[1]).attr({zIndex:1}).add(a3.group));l2&&!d2&&(m2={stroke:h3[2],"stroke-width":g5.lineWidth||0,fill:a3.fillGraph&&a3.color||"none"},h3[3]?m2.dashstyle=h3[3]:"square"!==g5.linecap&&(m2["stroke-linecap"]=m2["stroke-linejoin"]="round"),l2[r2](m2).shadow(2>k2&&g5.shadow));l2&&(l2.startX=e2.xMap,l2.isArea=e2.isArea)}))};t2.prototype.getGraphPath=function(a3,g5,e2){var d2=this,h2=d2.options,m2=[],k2=[],l2,r2=h2.step;a3=a3||d2.points;var t3=a3.reversed;t3&&a3.reverse();(r2={right:1,center:2}[r2]||r2&&3)&&t3&&(r2=4-r2);a3=this.getValidPoints(a3,false,!(h2.connectNulls&&!g5&&!e2));a3.forEach((function(p2,t4){var y2=p2.plotX,c2=p2.plotY,w2=a3[t4-1];(p2.leftCliff||w2&&w2.rightCliff)&&!e2&&(l2=true);p2.isNull&&!C2(g5)&&0<t4?l2=!h2.connectNulls:p2.isNull&&!g5?l2=true:(0===t4||l2?t4=[["M",p2.plotX,p2.plotY]]:d2.getPointSpline?t4=[d2.getPointSpline(a3,p2,t4)]:r2?(t4=1===r2?[["L",w2.plotX,c2]]:2===r2?[["L",(w2.plotX+y2)/2,w2.plotY],["L",(w2.plotX+y2)/2,c2]]:[["L",y2,w2.plotY]],t4.push(["L",y2,c2])):t4=[["L",y2,c2]],k2.push(p2.x),r2&&(k2.push(p2.x),2===r2&&k2.push(p2.x)),m2.push.apply(m2,t4),l2=false)}));m2.xMap=k2;return d2.graphPath=m2};t2.prototype.getZonesGraphs=function(a3){this.zones.forEach((function(g5,e2){e2=["zone-graph-"+e2,"highcharts-graph highcharts-zone-graph-"+e2+" "+(g5.className||"")];this.chart.styledMode||e2.push(g5.color||this.color,g5.dashStyle||this.options.dashStyle);a3.push(e2)}),this);return a3};t2.defaultOptions=B(a2.defaultOptions,{});return t2}(a2);g3.registerSeriesType("line",x2);return x2}));K(g2,"Series/Area/AreaSeries.js",[g2["Core/Color/Color.js"],g2["Core/Legend/LegendSymbol.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2){var A2=this&&this.__extends||function(){var a3=function(d2,e2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,d3){a4.__proto__=d3}||function(a4,d3){for(var e3 in d3)d3.hasOwnProperty(e3)&&(a4[e3]=d3[e3])};return a3(d2,e2)};return function(d2,e2){function h2(){this.constructor=d2}a3(d2,e2);d2.prototype=null===e2?Object.create(e2):(h2.prototype=e2.prototype,new h2)}}(),B=a2.parse,H2=x2.seriesTypes.line;a2=F2.extend;var t2=F2.merge,r2=F2.objectEach,l2=F2.pick;F2=function(a3){function d2(){var d3=null!==a3&&a3.apply(this,arguments)||this;d3.data=void 0;d3.options=void 0;d3.points=void 0;return d3}A2(d2,a3);d2.prototype.drawGraph=function(){this.areaPath=[];a3.prototype.drawGraph.apply(this);var d3=this,e2=this.areaPath,g4=this.options,p2=[["area","highcharts-area",this.color,g4.fillColor]];this.zones.forEach((function(a4,e3){p2.push(["zone-area-"+e3,"highcharts-area highcharts-zone-area-"+e3+" "+a4.className,a4.color||d3.color,a4.fillColor||g4.fillColor])}));p2.forEach((function(a4){var h2=a4[0],k2={},m2=d3[h2],p3=m2?"animate":"attr";m2?(m2.endX=d3.preventGraphAnimation?null:e2.xMap,m2.animate({d:e2})):(k2.zIndex=0,m2=d3[h2]=d3.chart.renderer.path(e2).addClass(a4[1]).add(d3.group),m2.isArea=true);d3.chart.styledMode||(k2.fill=l2(a4[3],B(a4[2]).setOpacity(l2(g4.fillOpacity,.75)).get()));m2[p3](k2);m2.startX=e2.xMap;m2.shiftUnit=g4.step?2:1}))};d2.prototype.getGraphPath=function(a4){var d3=H2.prototype.getGraphPath,e2=this.options,h2=e2.stacking,g4=this.yAxis,r3=[],t3=[],A3=this.index,y2=g4.stacking.stacks[this.stackKey],c2=e2.threshold,w2=Math.round(g4.getThreshold(e2.threshold));e2=l2(e2.connectNulls,"percent"===h2);var f2=function(b3,d4,e3){var f3=a4[b3];b3=h2&&y2[f3.x].points[A3];var n3=f3[e3+"Null"]||0;e3=f3[e3+"Cliff"]||0;f3=true;if(e3||n3){var k2=(n3?b3[0]:b3[1])+e3;var m2=b3[0]+e3;f3=!!n3}else!h2&&a4[d4]&&a4[d4].isNull&&(k2=m2=c2);"undefined"!==typeof k2&&(t3.push({plotX:z2,plotY:null===k2?w2:g4.getThreshold(k2),isNull:f3,isCliff:true}),r3.push({plotX:z2,plotY:null===m2?w2:g4.getThreshold(m2),doCurve:false}))};a4=a4||this.points;h2&&(a4=this.getStackPoints(a4));for(var n2=0,b2=a4.length;n2<b2;++n2){h2||(a4[n2].leftCliff=a4[n2].rightCliff=a4[n2].leftNull=a4[n2].rightNull=void 0);var u2=a4[n2].isNull;var z2=l2(a4[n2].rectPlotX,a4[n2].plotX);var q=h2?l2(a4[n2].yBottom,w2):w2;if(!u2||e2)e2||f2(n2,n2-1,"left"),u2&&!h2&&e2||(t3.push(a4[n2]),r3.push({x:n2,plotX:z2,plotY:q})),e2||f2(n2,n2+1,"right")}f2=d3.call(this,t3,true,true);r3.reversed=true;u2=d3.call(this,r3,true,true);(q=u2[0])&&"M"===q[0]&&(u2[0]=["L",q[1],q[2]]);u2=f2.concat(u2);u2.length&&u2.push(["Z"]);d3=d3.call(this,t3,false,e2);u2.xMap=f2.xMap;this.areaPath=u2;return d3};d2.prototype.getStackPoints=function(a4){var d3=this,e2=[],h2=[],g4=this.xAxis,t3=this.yAxis,A3=t3.stacking.stacks[this.stackKey],x3={},y2=t3.series,c2=y2.length,w2=t3.options.reversedStacks?1:-1,f2=y2.indexOf(d3);a4=a4||this.points;if(this.options.stacking){for(var n2=0;n2<a4.length;n2++)a4[n2].leftNull=a4[n2].rightNull=void 0,x3[a4[n2].x]=a4[n2];r2(A3,(function(b3,a5){null!==b3.total&&h2.push(a5)}));h2.sort((function(b3,a5){return b3-a5}));var b2=y2.map((function(b3){return b3.visible}));h2.forEach((function(a5,n3){var k2=0,m2,p2;if(x3[a5]&&!x3[a5].isNull)e2.push(x3[a5]),[-1,1].forEach((function(e3){var g5=1===e3?"rightNull":"leftNull",k3=A3[h2[n3+e3]],l3=0;if(k3)for(var q=f2;0<=q&&q<c2;){var u3=y2[q].index;m2=k3.points[u3];m2||(u3===d3.index?x3[a5][g5]=true:b2[q]&&(p2=A3[a5].points[u3])&&(l3-=p2[1]-p2[0]));q+=w2}x3[a5][1===e3?"rightCliff":"leftCliff"]=l3}));else{for(var u2=f2;0<=u2&&u2<c2;){if(m2=A3[a5].points[y2[u2].index]){k2=m2[1];break}u2+=w2}k2=l2(k2,0);k2=t3.translate(k2,0,1,0,1);e2.push({isNull:true,plotX:g4.translate(a5,0,0,0,1),x:a5,plotY:k2,yBottom:k2})}}))}return e2};d2.defaultOptions=t2(H2.defaultOptions,{threshold:0});return d2}(H2);a2(F2.prototype,{singleStacks:false,drawLegendSymbol:g3.drawRectangle});x2.registerSeriesType("area",F2);return F2}));K(g2,"Series/Spline/SplineSeries.js",[g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3){var A2=this&&this.__extends||function(){var a3=function(g4,r2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e2){a4.__proto__=e2}||function(a4,e2){for(var d2 in e2)e2.hasOwnProperty(d2)&&(a4[d2]=e2[d2])};return a3(g4,r2)};return function(g4,r2){function l2(){this.constructor=g4}a3(g4,r2);g4.prototype=null===r2?Object.create(r2):(l2.prototype=r2.prototype,new l2)}}(),F2=a2.seriesTypes.line,C2=g3.merge,B=g3.pick;g3=function(a3){function g4(){var g5=null!==a3&&a3.apply(this,arguments)||this;g5.data=void 0;g5.options=void 0;g5.points=void 0;return g5}A2(g4,a3);g4.prototype.getPointSpline=function(a4,g5,e2){var d2=g5.plotX||0,h2=g5.plotY||0,m2=a4[e2-1];e2=a4[e2+1];if(m2&&!m2.isNull&&false!==m2.doCurve&&!g5.isCliff&&e2&&!e2.isNull&&false!==e2.doCurve&&!g5.isCliff){a4=m2.plotY||0;var k2=e2.plotX||0;e2=e2.plotY||0;var l2=0;var r2=(1.5*d2+(m2.plotX||0))/2.5;var t2=(1.5*h2+a4)/2.5;k2=(1.5*d2+k2)/2.5;var A3=(1.5*h2+e2)/2.5;k2!==r2&&(l2=(A3-t2)*(k2-d2)/(k2-r2)+h2-A3);t2+=l2;A3+=l2;t2>a4&&t2>h2?(t2=Math.max(a4,h2),A3=2*h2-t2):t2<a4&&t2<h2&&(t2=Math.min(a4,h2),A3=2*h2-t2);A3>e2&&A3>h2?(A3=Math.max(e2,h2),t2=2*h2-A3):A3<e2&&A3<h2&&(A3=Math.min(e2,h2),t2=2*h2-A3);g5.rightContX=k2;g5.rightContY=A3}g5=["C",B(m2.rightContX,m2.plotX,0),B(m2.rightContY,m2.plotY,0),B(r2,d2,0),B(t2,h2,0),d2,h2];m2.rightContX=m2.rightContY=void 0;return g5};g4.defaultOptions=C2(F2.defaultOptions);return g4}(F2);a2.registerSeriesType("spline",g3);return g3}));K(g2,"Series/AreaSpline/AreaSplineSeries.js",[g2["Series/Spline/SplineSeries.js"],g2["Core/Legend/LegendSymbol.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2){var A2=this&&this.__extends||function(){var a3=function(e2,d2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,d3){a4.__proto__=d3}||function(a4,d3){for(var e3 in d3)d3.hasOwnProperty(e3)&&(a4[e3]=d3[e3])};return a3(e2,d2)};return function(e2,d2){function g4(){this.constructor=e2}a3(e2,d2);e2.prototype=null===d2?Object.create(d2):(g4.prototype=d2.prototype,new g4)}}(),B=x2.seriesTypes,H2=B.area;B=B.area.prototype;var t2=F2.extend,r2=F2.merge;F2=function(g4){function e2(){var a3=null!==g4&&g4.apply(this,arguments)||this;a3.data=void 0;a3.points=void 0;a3.options=void 0;return a3}A2(e2,g4);e2.defaultOptions=r2(a2.defaultOptions,H2.defaultOptions);return e2}(a2);t2(F2.prototype,{getGraphPath:B.getGraphPath,getStackPoints:B.getStackPoints,drawGraph:B.drawGraph,drawLegendSymbol:g3.drawRectangle});x2.registerSeriesType("areaspline",F2);return F2}));K(g2,"Series/Column/ColumnSeriesDefaults.js",[],(function(){return{borderRadius:0,centerInCategory:false,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:false,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:true,stickyTracking:false,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}}));K(g2,"Series/Column/ColumnSeries.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Color/Color.js"],g2["Series/Column/ColumnSeriesDefaults.js"],g2["Core/Globals.js"],g2["Core/Legend/LegendSymbol.js"],g2["Core/Series/Series.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B,H2,t2){var r2=this&&this.__extends||function(){var a3=function(c2,d3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b2){a4.__proto__=b2}||function(a4,b2){for(var c3 in b2)b2.hasOwnProperty(c3)&&(a4[c3]=b2[c3])};return a3(c2,d3)};return function(c2,d3){function e3(){this.constructor=c2}a3(c2,d3);c2.prototype=null===d3?Object.create(d3):(e3.prototype=d3.prototype,new e3)}}(),l2=a2.animObject,e2=g3.parse,d2=F2.hasTouch;a2=F2.noop;var h2=t2.clamp,m2=t2.defined,k2=t2.extend,p2=t2.fireEvent,A2=t2.isArray,I=t2.isNumber,E2=t2.merge,L2=t2.pick,y2=t2.objectEach;t2=function(a3){function c2(){var c3=null!==a3&&a3.apply(this,arguments)||this;c3.borderWidth=void 0;c3.data=void 0;c3.group=void 0;c3.options=void 0;c3.points=void 0;return c3}r2(c2,a3);c2.prototype.animate=function(a4){var c3=this,b2=this.yAxis,d3=c3.options,e3=this.chart.inverted,f2={},g4=e3?"translateX":"translateY";if(a4)f2.scaleY=.001,a4=h2(b2.toPixels(d3.threshold),b2.pos,b2.pos+b2.len),e3?f2.translateX=a4-b2.len:f2.translateY=a4,c3.clipBox&&c3.setClip(),c3.group.attr(f2);else{var m3=Number(c3.group.attr(g4));c3.group.animate({scaleY:1},k2(l2(c3.options.animation),{step:function(a5,d4){c3.group&&(f2[g4]=m3+d4.pos*(b2.pos-m3),c3.group.attr(f2))}}))}};c2.prototype.init=function(c3,d3){a3.prototype.init.apply(this,arguments);var b2=this;c3=b2.chart;c3.hasRendered&&c3.series.forEach((function(a4){a4.type===b2.type&&(a4.isDirty=true)}))};c2.prototype.getColumnMetrics=function(){var a4=this,c3=a4.options,b2=a4.xAxis,d3=a4.yAxis,e3=b2.options.reversedStacks;e3=b2.reversed&&!e3||!b2.reversed&&e3;var g4={},h3,k3=0;false===c3.grouping?k3=1:a4.chart.series.forEach((function(b3){var c4=b3.yAxis,e4=b3.options;if(b3.type===a4.type&&(b3.visible||!a4.chart.options.chart.ignoreHiddenSeries)&&d3.len===c4.len&&d3.pos===c4.pos){if(e4.stacking&&"group"!==e4.stacking){h3=b3.stackKey;"undefined"===typeof g4[h3]&&(g4[h3]=k3++);var f2=g4[h3]}else false!==e4.grouping&&(f2=k3++);b3.columnIndex=f2}}));var m3=Math.min(Math.abs(b2.transA)*(b2.ordinal&&b2.ordinal.slope||c3.pointRange||b2.closestPointRange||b2.tickInterval||1),b2.len),l3=m3*c3.groupPadding,p3=(m3-2*l3)/(k3||1);c3=Math.min(c3.maxPointWidth||b2.len,L2(c3.pointWidth,p3*(1-2*c3.pointPadding)));a4.columnMetrics={width:c3,offset:(p3-c3)/2+(l3+((a4.columnIndex||0)+(e3?1:0))*p3-m3/2)*(e3?-1:1),paddedWidth:p3,columnCount:k3};return a4.columnMetrics};c2.prototype.crispCol=function(a4,c3,b2,d3){var e3=this.chart,f2=this.borderWidth,g4=-(f2%2?.5:0);f2=f2%2?.5:1;e3.inverted&&e3.renderer.isVML&&(f2+=1);this.options.crisp&&(b2=Math.round(a4+b2)+g4,a4=Math.round(a4)+g4,b2-=a4);d3=Math.round(c3+d3)+f2;g4=.5>=Math.abs(c3)&&.5<d3;c3=Math.round(c3)+f2;d3-=c3;g4&&d3&&(--c3,d3+=1);return{x:a4,y:c3,width:b2,height:d3}};c2.prototype.adjustForMissingColumns=function(a4,c3,b2,d3){var e3=this,f2=this.options.stacking;if(!b2.isNull&&1<d3.columnCount){var g4=this.yAxis.options.reversedStacks,h3=0,k3=g4?0:-d3.columnCount;y2(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(a5){if("number"===typeof b2.x){var c4=a5[b2.x.toString()];c4&&(a5=c4.points[e3.index],f2?(a5&&(h3=k3),c4.hasValidPoints&&(g4?k3++:k3--)):A2(a5)&&(a5=Object.keys(c4.points).filter((function(b3){return!b3.match(",")&&c4.points[b3]&&1<c4.points[b3].length})).map(parseFloat).sort((function(b3,a6){return a6-b3})),h3=a5.indexOf(e3.index),k3=a5.length))}}));a4=(b2.plotX||0)+((k3-1)*d3.paddedWidth+c3)/2-c3-h3*d3.paddedWidth}return a4};c2.prototype.translate=function(){var a4=this,c3=a4.chart,b2=a4.options,d3=a4.dense=2>a4.closestPointRange*a4.xAxis.transA;d3=a4.borderWidth=L2(b2.borderWidth,d3?0:1);var e3=a4.xAxis,g4=a4.yAxis,k3=b2.threshold,l3=a4.translatedThreshold=g4.getThreshold(k3),p3=L2(b2.minPointLength,5),r3=a4.getColumnMetrics(),w2=r3.width,y3=a4.pointXOffset=r3.offset,v2=a4.dataMin,t3=a4.dataMax,A3=a4.barW=Math.max(w2,1+2*d3);c3.inverted&&(l3-=.5);b2.pointPadding&&(A3=Math.ceil(A3));B.prototype.translate.apply(a4);a4.points.forEach((function(d4){var f2=L2(d4.yBottom,l3),n2=999+Math.abs(f2),q=d4.plotX||0;n2=h2(d4.plotY,-n2,g4.len+n2);var u2=Math.min(n2,f2),z2=Math.max(n2,f2)-u2,D2=w2,x3=q+y3,E3=A3;p3&&Math.abs(z2)<p3&&(z2=p3,q=!g4.reversed&&!d4.negative||g4.reversed&&d4.negative,I(k3)&&I(t3)&&d4.y===k3&&t3<=k3&&(g4.min||0)<k3&&(v2!==t3||(g4.max||0)<=k3)&&(q=!q),u2=Math.abs(u2-l3)>p3?f2-p3:l3-(q?p3:0));m2(d4.options.pointWidth)&&(D2=E3=Math.ceil(d4.options.pointWidth),x3-=Math.round((D2-w2)/2));b2.centerInCategory&&(x3=a4.adjustForMissingColumns(x3,D2,d4,r3));d4.barX=x3;d4.pointWidth=D2;d4.tooltipPos=c3.inverted?[h2(g4.len+g4.pos-c3.plotLeft-n2,g4.pos-c3.plotLeft,g4.len+g4.pos-c3.plotLeft),e3.len+e3.pos-c3.plotTop-x3-E3/2,z2]:[e3.left-c3.plotLeft+x3+E3/2,h2(n2+g4.pos-c3.plotTop,g4.pos-c3.plotTop,g4.len+g4.pos-c3.plotTop),z2];d4.shapeType=a4.pointClass.prototype.shapeType||"rect";d4.shapeArgs=a4.crispCol.apply(a4,d4.isNull?[x3,l3,E3,0]:[x3,u2,E3,z2])}))};c2.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")};c2.prototype.pointAttribs=function(a4,c3){var b2=this.options,d3=this.pointAttrToOptions||{},f2=d3.stroke||"borderColor",g4=d3["stroke-width"]||"borderWidth",h3=a4&&a4.color||this.color,k3=a4&&a4[f2]||b2[f2]||h3;d3=a4&&a4.options.dashStyle||b2.dashStyle;var n2=a4&&a4[g4]||b2[g4]||this[g4]||0,m3=L2(a4&&a4.opacity,b2.opacity,1);if(a4&&this.zones.length){var l3=a4.getZone();h3=a4.options.color||l3&&(l3.color||a4.nonZonedColor)||this.color;l3&&(k3=l3.borderColor||k3,d3=l3.dashStyle||d3,n2=l3.borderWidth||n2)}c3&&a4&&(a4=E2(b2.states[c3],a4.options.states&&a4.options.states[c3]||{}),c3=a4.brightness,h3=a4.color||"undefined"!==typeof c3&&e2(h3).brighten(a4.brightness).get()||h3,k3=a4[f2]||k3,n2=a4[g4]||n2,d3=a4.dashStyle||d3,m3=L2(a4.opacity,m3));f2={fill:h3,stroke:k3,"stroke-width":n2,opacity:m3};d3&&(f2.dashstyle=d3);return f2};c2.prototype.drawPoints=function(a4){void 0===a4&&(a4=this.points);var c3=this,b2=this.chart,d3=c3.options,e3=b2.renderer,f2=d3.animationLimit||250,g4;a4.forEach((function(a5){var h3=a5.graphic,k3=!!h3,n2=h3&&b2.pointCount<f2?"animate":"attr";if(I(a5.plotY)&&null!==a5.y){g4=a5.shapeArgs;h3&&a5.hasNewShapeType()&&(h3=h3.destroy());c3.enabledDataSorting&&(a5.startXPos=c3.xAxis.reversed?-(g4?g4.width||0:0):c3.xAxis.width);h3||(a5.graphic=h3=e3[a5.shapeType](g4).add(a5.group||c3.group))&&c3.enabledDataSorting&&b2.hasRendered&&b2.pointCount<f2&&(h3.attr({x:a5.startXPos}),k3=true,n2="animate");if(h3&&k3)h3[n2](E2(g4));if(d3.borderRadius)h3[n2]({r:d3.borderRadius});b2.styledMode||h3[n2](c3.pointAttribs(a5,a5.selected&&"select")).shadow(false!==a5.allowShadow&&d3.shadow,null,d3.stacking&&!d3.borderRadius);h3&&(h3.addClass(a5.getClassName(),true),h3.attr({visibility:a5.visible?"inherit":"hidden"}))}else h3&&(a5.graphic=h3.destroy())}))};c2.prototype.drawTracker=function(a4){void 0===a4&&(a4=this.points);var c3=this,b2=c3.chart,e3=b2.pointer,f2=function(a5){var b3=e3.getPointFromEvent(a5);"undefined"!==typeof b3&&(e3.isDirectTouch=true,b3.onMouseOver(a5))},g4;a4.forEach((function(a5){g4=A2(a5.dataLabels)?a5.dataLabels:a5.dataLabel?[a5.dataLabel]:[];a5.graphic&&(a5.graphic.element.point=a5);g4.forEach((function(b3){b3.div?b3.div.point=a5:b3.element.point=a5}))}));c3._hasTracking||(c3.trackerGroups.forEach((function(a5){if(c3[a5]){c3[a5].addClass("highcharts-tracker").on("mouseover",f2).on("mouseout",(function(a6){e3.onTrackerMouseOut(a6)}));if(d2)c3[a5].on("touchstart",f2);!b2.styledMode&&c3.options.cursor&&c3[a5].css({cursor:c3.options.cursor})}})),c3._hasTracking=true);p2(this,"afterDrawTracker")};c2.prototype.remove=function(){var a4=this,c3=a4.chart;c3.hasRendered&&c3.series.forEach((function(b2){b2.type===a4.type&&(b2.isDirty=true)}));B.prototype.remove.apply(a4,arguments)};c2.defaultOptions=E2(B.defaultOptions,x2);return c2}(B);k2(t2.prototype,{cropShoulder:0,directTouch:true,drawLegendSymbol:C2.drawRectangle,getSymbol:a2,negStacks:true,trackerGroups:["group","dataLabelsGroup"]});H2.registerSeriesType("column",t2);return t2}));K(g2,"Core/Series/DataLabel.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/FormatUtilities.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=a2.getDeferredAnimation,C2=g3.format,B=x2.defined,H2=x2.extend,t2=x2.fireEvent,r2=x2.isArray,l2=x2.isString,e2=x2.merge,d2=x2.objectEach,h2=x2.pick,m2=x2.splat,k2;(function(a3){function g4(a4,c3,b2,d3,e3){var f2=this,g5=this.chart,k4=this.isCartesian&&g5.inverted,n2=this.enabledDataSorting,m3=a4.plotX,l3=a4.plotY,p3=b2.rotation,r3=b2.align,u2=B(m3)&&B(l3)&&g5.isInsidePlot(m3,Math.round(l3),{inverted:k4,paneCoordinates:true,series:f2});l3=function(b3){n2&&f2.xAxis&&!w3&&f2.setDataLabelStartPos(a4,c3,e3,u2,b3)};var w3="justify"===h2(b2.overflow,n2?"none":"justify");m3=this.visible&&false!==a4.visible&&B(m3)&&(a4.series.forceDL||n2&&!w3||u2||h2(b2.inside,!!this.options.stacking)&&d3&&g5.isInsidePlot(m3,k4?d3.x+1:d3.y+d3.height-1,{inverted:k4,paneCoordinates:true,series:f2}));k4=a4.pos();if(m3&&k4){p3&&c3.attr({align:r3});r3=c3.getBBox(true);var y3=[0,0];var t3=g5.renderer.fontMetrics(g5.styledMode?void 0:b2.style.fontSize,c3).b;d3=H2({x:k4[0],y:Math.round(k4[1]),width:0,height:0},d3);H2(b2,{width:r3.width,height:r3.height});p3?(w3=false,y3=g5.renderer.rotCorr(t3,p3),t3={x:d3.x+(b2.x||0)+d3.width/2+y3.x,y:d3.y+(b2.y||0)+{top:0,middle:.5,bottom:1}[b2.verticalAlign]*d3.height},y3=[r3.x-Number(c3.attr("x")),r3.y-Number(c3.attr("y"))],l3(t3),c3[e3?"attr":"animate"](t3)):(l3(d3),c3.align(b2,void 0,d3),t3=c3.alignAttr);w3&&0<=d3.height?this.justifyDataLabel(c3,b2,t3,r3,d3,e3):h2(b2.crop,true)&&(d3=t3.x,l3=t3.y,d3+=y3[0],l3+=y3[1],m3=g5.isInsidePlot(d3,l3,{paneCoordinates:true,series:f2})&&g5.isInsidePlot(d3+r3.width,l3+r3.height,{paneCoordinates:true,series:f2}));if(b2.shape&&!p3)c3[e3?"attr":"animate"]({anchorX:k4[0],anchorY:k4[1]})}e3&&n2&&(c3.placed=false);m3||n2&&!w3?c3.show():(c3.hide(),c3.placed=false)}function k3(a4,c3){var b2=c3.filter;return b2?(c3=b2.operator,a4=a4[b2.property],b2=b2.value,">"===c3&&a4>b2||"<"===c3&&a4<b2||">="===c3&&a4>=b2||"<="===c3&&a4<=b2||"=="===c3&&a4==b2||"==="===c3&&a4===b2?true:false):true}function p2(a4){void 0===a4&&(a4=this.points);var c3=this,b2=c3.chart,e3=c3.options,f2=c3.hasRendered||0,g5=b2.renderer,p3=b2.options.chart,w3=p3.backgroundColor;p3=p3.plotBackgroundColor;var x4=g5.getContrast(l2(p3)&&p3||l2(w3)&&w3||"#000000"),D2=e3.dataLabels,E2;w3=D2.animation;w3=D2.defer?A2(b2,w3,c3):{defer:0,duration:0};D2=y2(y2(b2.options.plotOptions&&b2.options.plotOptions.series&&b2.options.plotOptions.series.dataLabels,b2.options.plotOptions&&b2.options.plotOptions[c3.type]&&b2.options.plotOptions[c3.type].dataLabels),D2);t2(this,"drawDataLabels");if(r2(D2)||D2.enabled||c3._hasPointLabels){var F2=c3.plotGroup("dataLabelsGroup","data-labels",f2?"inherit":"hidden",D2.zIndex||6);F2.attr({opacity:+f2});!f2&&(f2=c3.dataLabelsGroup)&&(c3.visible&&F2.show(),f2[e3.animation?"animate":"attr"]({opacity:1},w3));a4.forEach((function(a5){E2=m2(y2(D2,a5.dlOptions||a5.options&&a5.options.dataLabels));E2.forEach((function(f3,n2){var m3=f3.enabled&&(!a5.isNull||a5.dataLabelOnNull)&&k3(a5,f3),l3=a5.connectors?a5.connectors[n2]:a5.connector,p4=a5.dataLabels?a5.dataLabels[n2]:a5.dataLabel,q=!p4,r3=h2(f3.distance,a5.labelDistance);if(m3){var u2=a5.getLabelConfig();var w4=h2(f3[a5.formatPrefix+"Format"],f3.format);u2=B(w4)?C2(w4,u2,b2):(f3[a5.formatPrefix+"Formatter"]||f3.formatter).call(u2,f3);w4=f3.style;var y3=f3.rotation;b2.styledMode||(w4.color=h2(f3.color,w4.color,c3.color,"#000000"),"contrast"===w4.color?(a5.contrastColor=g5.getContrast(a5.color||c3.color),w4.color=!B(r3)&&f3.inside||0>r3||e3.stacking?a5.contrastColor:x4):delete a5.contrastColor,e3.cursor&&(w4.cursor=e3.cursor));var t3={r:f3.borderRadius||0,rotation:y3,padding:f3.padding,zIndex:1};if(!b2.styledMode){r3=f3.backgroundColor;var v2=f3.borderColor;t3.fill="auto"===r3?a5.color:r3;t3.stroke="auto"===v2?a5.color:v2;t3["stroke-width"]=f3.borderWidth}d2(t3,(function(a6,b3){"undefined"===typeof a6&&delete t3[b3]}))}!p4||m3&&B(u2)&&!!p4.div===!!f3.useHTML&&(p4.rotation&&f3.rotation||p4.rotation===f3.rotation)||(q=true,a5.dataLabel=p4=a5.dataLabel&&a5.dataLabel.destroy(),a5.dataLabels&&(1===a5.dataLabels.length?delete a5.dataLabels:delete a5.dataLabels[n2]),n2||delete a5.dataLabel,l3&&(a5.connector=a5.connector.destroy(),a5.connectors&&(1===a5.connectors.length?delete a5.connectors:delete a5.connectors[n2])));m3&&B(u2)?(p4?t3.text=u2:(a5.dataLabels=a5.dataLabels||[],p4=a5.dataLabels[n2]=y3?g5.text(u2,0,0,f3.useHTML).addClass("highcharts-data-label"):g5.label(u2,0,0,f3.shape,null,null,f3.useHTML,null,"data-label"),n2||(a5.dataLabel=p4),p4.addClass(" highcharts-data-label-color-"+a5.colorIndex+" "+(f3.className||"")+(f3.useHTML?" highcharts-tracker":""))),p4.options=f3,p4.attr(t3),b2.styledMode||p4.css(w4).shadow(f3.shadow),(n2=f3[a5.formatPrefix+"TextPath"]||f3.textPath)&&!f3.useHTML&&(p4.setTextPath(a5.getDataLabelPath&&a5.getDataLabelPath(p4)||a5.graphic,n2),a5.dataLabelPath&&!n2.enabled&&(a5.dataLabelPath=a5.dataLabelPath.destroy())),p4.added||p4.add(F2),c3.alignDataLabel(a5,p4,f3,null,q)):p4&&p4.hide()}))}))}t2(this,"afterDrawDataLabels")}function x3(a4,c3,b2,d3,e3,g5){var f2=this.chart,h3=c3.align,k4=c3.verticalAlign,n2=a4.box?0:a4.padding||0,m3=c3.x;m3=void 0===m3?0:m3;var l3=c3.y;l3=void 0===l3?0:l3;var p3=(b2.x||0)+n2;if(0>p3){"right"===h3&&0<=m3?(c3.align="left",c3.inside=true):m3-=p3;var q=true}p3=(b2.x||0)+d3.width-n2;p3>f2.plotWidth&&("left"===h3&&0>=m3?(c3.align="right",c3.inside=true):m3+=f2.plotWidth-p3,q=true);p3=b2.y+n2;0>p3&&("bottom"===k4&&0<=l3?(c3.verticalAlign="top",c3.inside=true):l3-=p3,q=true);p3=(b2.y||0)+d3.height-n2;p3>f2.plotHeight&&("top"===k4&&0>=l3?(c3.verticalAlign="bottom",c3.inside=true):l3+=f2.plotHeight-p3,q=true);q&&(c3.x=m3,c3.y=l3,a4.placed=!g5,a4.align(c3,void 0,e3));return q}function y2(a4,c3){var b2=[],d3;if(r2(a4)&&!r2(c3))b2=a4.map((function(a5){return e2(a5,c3)}));else if(r2(c3)&&!r2(a4))b2=c3.map((function(b3){return e2(a4,b3)}));else if(r2(a4)||r2(c3))for(d3=Math.max(a4.length,c3.length);d3--;)b2[d3]=e2(a4[d3],c3[d3]);else b2=e2(a4,c3);return b2}function c2(a4,c3,b2,d3,e3){var f2=this.chart,g5=f2.inverted,h3=this.xAxis,k4=h3.reversed,m3=g5?c3.height/2:c3.width/2;a4=(a4=a4.pointWidth)?a4/2:0;c3.startXPos=g5?e3.x:k4?-m3-a4:h3.width-m3+a4;c3.startYPos=g5?k4?this.yAxis.height-m3+a4:-m3-a4:e3.y;d3?"hidden"===c3.visibility&&(c3.show(),c3.attr({opacity:0}).animate({opacity:1})):c3.attr({opacity:1}).animate({opacity:0},void 0,c3.hide);f2.hasRendered&&(b2&&c3.attr({x:c3.startXPos,y:c3.startYPos}),c3.placed=true)}var w2=[];a3.compose=function(a4){if(-1===w2.indexOf(a4)){var d3=a4.prototype;w2.push(a4);d3.alignDataLabel=g4;d3.drawDataLabels=p2;d3.justifyDataLabel=x3;d3.setDataLabelStartPos=c2}}})(k2||(k2={}));return k2}));K(g2,"Series/Column/ColumnDataLabel.js",[g2["Core/Series/DataLabel.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=g3.series,C2=x2.merge,B=x2.pick,H2;(function(g4){function r2(a3,d2,g5,m2,k2){var e2=this.chart.inverted,h2=a3.series,l3=(h2.xAxis?h2.xAxis.len:this.chart.plotSizeX)||0;h2=(h2.yAxis?h2.yAxis.len:this.chart.plotSizeY)||0;var r3=a3.dlBox||a3.shapeArgs,t2=B(a3.below,a3.plotY>B(this.translatedThreshold,h2)),y2=B(g5.inside,!!this.options.stacking);r3&&(m2=C2(r3),0>m2.y&&(m2.height+=m2.y,m2.y=0),r3=m2.y+m2.height-h2,0<r3&&r3<m2.height&&(m2.height-=r3),e2&&(m2={x:h2-m2.y-m2.height,y:l3-m2.x-m2.width,width:m2.height,height:m2.width}),y2||(e2?(m2.x+=t2?0:m2.width,m2.width=0):(m2.y+=t2?m2.height:0,m2.height=0)));g5.align=B(g5.align,!e2||y2?"center":t2?"right":"left");g5.verticalAlign=B(g5.verticalAlign,e2||y2?"middle":t2?"top":"bottom");A2.prototype.alignDataLabel.call(this,a3,d2,g5,m2,k2);g5.inside&&a3.contrastColor&&d2.css({color:a3.contrastColor})}var l2=[];g4.compose=function(e2){a2.compose(A2);-1===l2.indexOf(e2)&&(l2.push(e2),e2.prototype.alignDataLabel=r2)}})(H2||(H2={}));return H2}));K(g2,"Series/Bar/BarSeries.js",[g2["Series/Column/ColumnSeries.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=this&&this.__extends||function(){var a3=function(g4,r2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e2){a4.__proto__=e2}||function(a4,e2){for(var d2 in e2)e2.hasOwnProperty(d2)&&(a4[d2]=e2[d2])};return a3(g4,r2)};return function(g4,r2){function l2(){this.constructor=g4}a3(g4,r2);g4.prototype=null===r2?Object.create(r2):(l2.prototype=r2.prototype,new l2)}}(),C2=x2.extend,B=x2.merge;x2=function(g4){function t2(){var a3=null!==g4&&g4.apply(this,arguments)||this;a3.data=void 0;a3.options=void 0;a3.points=void 0;return a3}A2(t2,g4);t2.defaultOptions=B(a2.defaultOptions,{});return t2}(a2);C2(x2.prototype,{inverted:true});g3.registerSeriesType("bar",x2);return x2}));K(g2,"Series/Scatter/ScatterSeriesDefaults.js",[],(function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:true},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}}));K(g2,"Series/Scatter/ScatterSeries.js",[g2["Series/Scatter/ScatterSeriesDefaults.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=this&&this.__extends||function(){var a3=function(e2,d2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,d3){a4.__proto__=d3}||function(a4,d3){for(var e3 in d3)d3.hasOwnProperty(e3)&&(a4[e3]=d3[e3])};return a3(e2,d2)};return function(e2,d2){function g4(){this.constructor=e2}a3(e2,d2);e2.prototype=null===d2?Object.create(d2):(g4.prototype=d2.prototype,new g4)}}(),C2=g3.seriesTypes,B=C2.column,H2=C2.line;C2=x2.addEvent;var t2=x2.extend,r2=x2.merge;x2=function(g4){function e2(){var a3=null!==g4&&g4.apply(this,arguments)||this;a3.data=void 0;a3.options=void 0;a3.points=void 0;return a3}A2(e2,g4);e2.prototype.applyJitter=function(){var a3=this,e3=this.options.jitter,g5=this.points.length;e3&&this.points.forEach((function(d2,h2){["x","y"].forEach((function(k2,m2){var l2="plot"+k2.toUpperCase();if(e3[k2]&&!d2.isNull){var p2=a3[k2+"Axis"];var r3=e3[k2]*p2.transA;if(p2&&!p2.isLog){var c2=Math.max(0,d2[l2]-r3);p2=Math.min(p2.len,d2[l2]+r3);m2=1e4*Math.sin(h2+m2*g5);d2[l2]=c2+(p2-c2)*(m2-Math.floor(m2));"x"===k2&&(d2.clientX=d2.plotX)}}}))}))};e2.prototype.drawGraph=function(){this.options.lineWidth?g4.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())};e2.defaultOptions=r2(H2.defaultOptions,a2);return e2}(H2);t2(x2.prototype,{drawTracker:B.prototype.drawTracker,sorted:false,requireSorting:false,noSharedTooltip:true,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:false});C2(x2,"afterTranslate",(function(){this.applyJitter()}));g3.registerSeriesType("scatter",x2);return x2}));K(g2,"Series/CenteredUtilities.js",[g2["Core/Globals.js"],g2["Core/Series/Series.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=a2.deg2rad,C2=x2.fireEvent,B=x2.isNumber,H2=x2.pick,t2=x2.relativeLength,r2;(function(a3){a3.getCenter=function(){var a4=this.options,d2=this.chart,h2=2*(a4.slicedOffset||0),m2=d2.plotWidth-2*h2,k2=d2.plotHeight-2*h2,l2=a4.center,r3=Math.min(m2,k2),A3=a4.thickness,x3=a4.size,F2=a4.innerSize||0;"string"===typeof x3&&(x3=parseFloat(x3));"string"===typeof F2&&(F2=parseFloat(F2));a4=[H2(l2[0],"50%"),H2(l2[1],"50%"),H2(x3&&0>x3?void 0:a4.size,"100%"),H2(F2&&0>F2?void 0:a4.innerSize||0,"0%")];!d2.angular||this instanceof g3||(a4[3]=0);for(l2=0;4>l2;++l2)x3=a4[l2],d2=2>l2||2===l2&&/%$/.test(x3),a4[l2]=t2(x3,[m2,k2,r3,a4[2]][l2])+(d2?h2:0);a4[3]>a4[2]&&(a4[3]=a4[2]);B(A3)&&2*A3<a4[2]&&0<A3&&(a4[3]=a4[2]-2*A3);C2(this,"afterGetCenter",{positions:a4});return a4};a3.getStartAndEndRadians=function(a4,d2){a4=B(a4)?a4:0;d2=B(d2)&&d2>a4&&360>d2-a4?d2:a4+360;return{start:A2*(a4+-90),end:A2*(d2+-90)}}})(r2||(r2={}));return r2}));K(g2,"Series/Pie/PiePoint.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Series/Point.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=this&&this.__extends||function(){var a3=function(d2,e2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,d3){a4.__proto__=d3}||function(a4,d3){for(var e3 in d3)d3.hasOwnProperty(e3)&&(a4[e3]=d3[e3])};return a3(d2,e2)};return function(d2,e2){function g4(){this.constructor=d2}a3(d2,e2);d2.prototype=null===e2?Object.create(e2):(g4.prototype=e2.prototype,new g4)}}(),C2=a2.setAnimation,B=x2.addEvent,H2=x2.defined;a2=x2.extend;var t2=x2.isNumber,r2=x2.pick,l2=x2.relativeLength;g3=function(a3){function d2(){var d3=null!==a3&&a3.apply(this,arguments)||this;d3.labelDistance=void 0;d3.options=void 0;d3.series=void 0;return d3}A2(d2,a3);d2.prototype.getConnectorPath=function(){var a4=this.labelPosition,d3=this.series.options.dataLabels,e2=this.connectorShapes,g4=d3.connectorShape;e2[g4]&&(g4=e2[g4]);return g4.call(this,{x:a4.final.x,y:a4.final.y,alignment:a4.alignment},a4.connectorPosition,d3)};d2.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}};d2.prototype.haloPath=function(a4){var d3=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(d3.x,d3.y,d3.r+a4,d3.r+a4,{innerR:d3.r-1,start:d3.start,end:d3.end})};d2.prototype.init=function(){var d3=this;a3.prototype.init.apply(this,arguments);this.name=r2(this.name,"Slice");var e2=function(a4){d3.slice("select"===a4.type)};B(this,"select",e2);B(this,"unselect",e2);return this};d2.prototype.isValid=function(){return t2(this.y)&&0<=this.y};d2.prototype.setVisible=function(a4,d3){var e2=this,g4=this.series,h2=g4.chart,m2=g4.options.ignoreHiddenPoint;d3=r2(d3,m2);a4!==this.visible&&(this.visible=this.options.visible=a4="undefined"===typeof a4?!this.visible:a4,g4.options.data[g4.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(d4){if(e2[d4])e2[d4][a4?"show":"hide"](a4)})),this.legendItem&&h2.legend.colorizeItem(this,a4),a4||"hover"!==this.state||this.setState(""),m2&&(g4.isDirty=true),d3&&h2.redraw())};d2.prototype.slice=function(a4,d3,e2){var g4=this.series;C2(e2,g4.chart);r2(d3,true);this.sliced=this.options.sliced=H2(a4)?a4:!this.sliced;g4.options.data[g4.data.indexOf(this)]=this.options;this.graphic&&this.graphic.animate(this.getTranslate());this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())};return d2}(g3);a2(g3.prototype,{connectorShapes:{fixedOffset:function(a3,d2,g4){var e2=d2.breakAt;d2=d2.touchingSliceAt;return[["M",a3.x,a3.y],g4.softConnector?["C",a3.x+("left"===a3.alignment?-5:5),a3.y,2*e2.x-d2.x,2*e2.y-d2.y,e2.x,e2.y]:["L",e2.x,e2.y],["L",d2.x,d2.y]]},straight:function(a3,d2){d2=d2.touchingSliceAt;return[["M",a3.x,a3.y],["L",d2.x,d2.y]]},crookedLine:function(a3,d2,g4){d2=d2.touchingSliceAt;var e2=this.series,h2=e2.center[0],p2=e2.chart.plotWidth,r3=e2.chart.plotLeft;e2=a3.alignment;var t3=this.shapeArgs.r;g4=l2(g4.crookDistance,1);p2="left"===e2?h2+t3+(p2+r3-h2-t3)*(1-g4):r3+(h2-t3)*g4;g4=["L",p2,a3.y];h2=true;if("left"===e2?p2>a3.x||p2<d2.x:p2<a3.x||p2>d2.x)h2=false;a3=[["M",a3.x,a3.y]];h2&&a3.push(g4);a3.push(["L",d2.x,d2.y]);return a3}}});return g3}));K(g2,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{center:[null,null],clip:false,colorByPoint:true,dataLabels:{allowOverlap:true,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:true,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:true,x:0},fillColor:void 0,ignoreHiddenPoint:true,inactiveOtherPoints:true,legendType:"point",marker:null,size:null,showInLegend:false,slicedOffset:10,stickyTracking:false,tooltip:{followPointer:true},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}));K(g2,"Series/Pie/PieSeries.js",[g2["Series/CenteredUtilities.js"],g2["Series/Column/ColumnSeries.js"],g2["Core/Globals.js"],g2["Core/Legend/LegendSymbol.js"],g2["Series/Pie/PiePoint.js"],g2["Series/Pie/PieSeriesDefaults.js"],g2["Core/Series/Series.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Renderer/SVG/Symbols.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B,H2,t2,r2,l2){var e2=this&&this.__extends||function(){var a3=function(d3,e3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,d4){a4.__proto__=d4}||function(a4,d4){for(var c2 in d4)d4.hasOwnProperty(c2)&&(a4[c2]=d4[c2])};return a3(d3,e3)};return function(d3,e3){function c2(){this.constructor=d3}a3(d3,e3);d3.prototype=null===e3?Object.create(e3):(c2.prototype=e3.prototype,new c2)}}(),d2=a2.getStartAndEndRadians;x2=x2.noop;var h2=l2.clamp,m2=l2.extend,k2=l2.fireEvent,p2=l2.merge,A2=l2.pick,I=l2.relativeLength;l2=function(a3){function g4(){var d3=null!==a3&&a3.apply(this,arguments)||this;d3.center=void 0;d3.data=void 0;d3.maxLabelDistance=void 0;d3.options=void 0;d3.points=void 0;return d3}e2(g4,a3);g4.prototype.animate=function(a4){var c2=this,d3=c2.points,e3=c2.startAngleRad;a4||d3.forEach((function(a5){var b2=a5.graphic,d4=a5.shapeArgs;b2&&d4&&(b2.attr({r:A2(a5.startR,c2.center&&c2.center[3]/2),start:e3,end:e3}),b2.animate({r:d4.r,start:d4.start,end:d4.end},c2.options.animation))}))};g4.prototype.drawEmpty=function(){var a4=this.startAngleRad,c2=this.endAngleRad,d3=this.options;if(0===this.total&&this.center){var e3=this.center[0];var g5=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(e3,g5,this.center[1]/2,0,a4,c2).addClass("highcharts-empty-series").add(this.group));this.graph.attr({d:r2.arc(e3,g5,this.center[2]/2,0,{start:a4,end:c2,innerR:this.center[3]/2})});this.chart.styledMode||this.graph.attr({"stroke-width":d3.borderWidth,fill:d3.fillColor||"none",stroke:d3.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())};g4.prototype.drawPoints=function(){var a4=this.chart.renderer;this.points.forEach((function(c2){c2.graphic&&c2.hasNewShapeType()&&(c2.graphic=c2.graphic.destroy());c2.graphic||(c2.graphic=a4[c2.shapeType](c2.shapeArgs).add(c2.series.group),c2.delayedRendering=true)}))};g4.prototype.generatePoints=function(){a3.prototype.generatePoints.call(this);this.updateTotals()};g4.prototype.getX=function(a4,c2,d3){var e3=this.center,g5=this.radii?this.radii[d3.index]||0:e3[2]/2;a4=Math.asin(h2((a4-e3[1])/(g5+d3.labelDistance),-1,1));return e3[0]+(c2?-1:1)*Math.cos(a4)*(g5+d3.labelDistance)+(0<d3.labelDistance?(c2?-1:1)*this.options.dataLabels.padding:0)};g4.prototype.hasData=function(){return!!this.processedXData.length};g4.prototype.redrawPoints=function(){var a4=this,c2=a4.chart,d3=c2.renderer,e3=a4.options.shadow,g5,b2,h3,k3;this.drawEmpty();!e3||a4.shadowGroup||c2.styledMode||(a4.shadowGroup=d3.g("shadow").attr({zIndex:-1}).add(a4.group));a4.points.forEach((function(f2){var n2={};b2=f2.graphic;if(!f2.isNull&&b2){var l3=void 0;k3=f2.shapeArgs;g5=f2.getTranslate();c2.styledMode||(l3=f2.shadowGroup,e3&&!l3&&(l3=f2.shadowGroup=d3.g("shadow").add(a4.shadowGroup)),l3&&l3.attr(g5),h3=a4.pointAttribs(f2,f2.selected&&"select"));f2.delayedRendering?(b2.setRadialReference(a4.center).attr(k3).attr(g5),c2.styledMode||b2.attr(h3).attr({"stroke-linejoin":"round"}).shadow(e3,l3),f2.delayedRendering=false):(b2.setRadialReference(a4.center),c2.styledMode||p2(true,n2,h3),p2(true,n2,k3,g5),b2.animate(n2));b2.attr({visibility:f2.visible?"inherit":"hidden"});b2.addClass(f2.getClassName(),true)}else b2&&(f2.graphic=b2.destroy())}))};g4.prototype.sortByAngle=function(a4,c2){a4.sort((function(a5,d3){return"undefined"!==typeof a5.angle&&(d3.angle-a5.angle)*c2}))};g4.prototype.translate=function(a4){k2(this,"translate");this.generatePoints();var c2=this.options,e3=c2.slicedOffset,f2=e3+(c2.borderWidth||0),g5=d2(c2.startAngle,c2.endAngle),b2=this.startAngleRad=g5.start;g5=(this.endAngleRad=g5.end)-b2;var h3=this.points,l3=c2.dataLabels.distance;c2=c2.ignoreHiddenPoint;var m3=h3.length,p3,r3=0;a4||(this.center=a4=this.getCenter());for(p3=0;p3<m3;p3++){var t3=h3[p3];var y2=b2+r3*g5;!t3.isValid()||c2&&!t3.visible||(r3+=t3.percentage/100);var x3=b2+r3*g5;var D2={x:a4[0],y:a4[1],r:a4[2]/2,innerR:a4[3]/2,start:Math.round(1e3*y2)/1e3,end:Math.round(1e3*x3)/1e3};t3.shapeType="arc";t3.shapeArgs=D2;t3.labelDistance=A2(t3.options.dataLabels&&t3.options.dataLabels.distance,l3);t3.labelDistance=I(t3.labelDistance,D2.r);this.maxLabelDistance=Math.max(this.maxLabelDistance||0,t3.labelDistance);x3=(x3+y2)/2;x3>1.5*Math.PI?x3-=2*Math.PI:x3<-Math.PI/2&&(x3+=2*Math.PI);t3.slicedTranslation={translateX:Math.round(Math.cos(x3)*e3),translateY:Math.round(Math.sin(x3)*e3)};D2=Math.cos(x3)*a4[2]/2;var v2=Math.sin(x3)*a4[2]/2;t3.tooltipPos=[a4[0]+.7*D2,a4[1]+.7*v2];t3.half=x3<-Math.PI/2||x3>Math.PI/2?1:0;t3.angle=x3;y2=Math.min(f2,t3.labelDistance/5);t3.labelPosition={natural:{x:a4[0]+D2+Math.cos(x3)*t3.labelDistance,y:a4[1]+v2+Math.sin(x3)*t3.labelDistance},final:{},alignment:0>t3.labelDistance?"center":t3.half?"right":"left",connectorPosition:{breakAt:{x:a4[0]+D2+Math.cos(x3)*y2,y:a4[1]+v2+Math.sin(x3)*y2},touchingSliceAt:{x:a4[0]+D2,y:a4[1]+v2}}}}k2(this,"afterTranslate")};g4.prototype.updateTotals=function(){var a4=this.points,c2=a4.length,d3=this.options.ignoreHiddenPoint,e3,g5=0;for(e3=0;e3<c2;e3++){var b2=a4[e3];!b2.isValid()||d3&&!b2.visible||(g5+=b2.y)}this.total=g5;for(e3=0;e3<c2;e3++)b2=a4[e3],b2.percentage=0<g5&&(b2.visible||!d3)?b2.y/g5*100:0,b2.total=g5};g4.defaultOptions=p2(H2.defaultOptions,B);return g4}(H2);m2(l2.prototype,{axisTypes:[],directTouch:true,drawGraph:void 0,drawLegendSymbol:F2.drawRectangle,drawTracker:g3.prototype.drawTracker,getCenter:a2.getCenter,getSymbol:x2,isCartesian:false,noSharedTooltip:true,pointAttribs:g3.prototype.pointAttribs,pointClass:C2,requireSorting:false,searchPoint:x2,trackerGroups:["group","dataLabelsGroup"]});t2.registerSeriesType("pie",l2);return l2}));K(g2,"Series/Pie/PieDataLabel.js",[g2["Core/Series/DataLabel.js"],g2["Core/Globals.js"],g2["Core/Renderer/RendererUtilities.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2){var A2=g3.noop,H2=x2.distribute,t2=F2.series,r2=C2.arrayMax,l2=C2.clamp,e2=C2.defined,d2=C2.merge,h2=C2.pick,m2=C2.relativeLength,k2;(function(g4){function k3(){var a3=this,g5=a3.data,f2=a3.chart,k4=a3.options.dataLabels||{},b2=k4.connectorPadding,l3=f2.plotWidth,m3=f2.plotHeight,p3=f2.plotLeft,y3=Math.round(f2.chartWidth/3),A3=a3.center,x4=A3[2]/2,D2=A3[1],B2=[[],[]],E2=[0,0,0,0],v2=a3.dataLabelPositioners,C3,F3,I,L2,G,K2,M,X,R2,V2,Z,W2;a3.visible&&(k4.enabled||a3._hasPointLabels)&&(g5.forEach((function(a4){a4.dataLabel&&a4.visible&&a4.dataLabel.shortened&&(a4.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),a4.dataLabel.shortened=false)})),t2.prototype.drawDataLabels.apply(a3),g5.forEach((function(a4){a4.dataLabel&&(a4.visible?(B2[a4.half].push(a4),a4.dataLabel._pos=null,!e2(k4.style.width)&&!e2(a4.options.dataLabels&&a4.options.dataLabels.style&&a4.options.dataLabels.style.width)&&a4.dataLabel.getBBox().width>y3&&(a4.dataLabel.css({width:Math.round(.7*y3)+"px"}),a4.dataLabel.shortened=true)):(a4.dataLabel=a4.dataLabel.destroy(),a4.dataLabels&&1===a4.dataLabels.length&&delete a4.dataLabels))})),B2.forEach((function(c2,d3){var g6=c2.length,n2=[],q;if(g6){a3.sortByAngle(c2,d3-.5);if(0<a3.maxLabelDistance){var r3=Math.max(0,D2-x4-a3.maxLabelDistance);var t3=Math.min(D2+x4+a3.maxLabelDistance,f2.plotHeight);c2.forEach((function(a4){0<a4.labelDistance&&a4.dataLabel&&(a4.top=Math.max(0,D2-x4-a4.labelDistance),a4.bottom=Math.min(D2+x4+a4.labelDistance,f2.plotHeight),q=a4.dataLabel.getBBox().height||21,a4.distributeBox={target:a4.labelPosition.natural.y-a4.top+q/2,size:q,rank:a4.y},n2.push(a4.distributeBox))}));r3=t3+q-r3;H2(n2,r3,r3/5)}for(Z=0;Z<g6;Z++){C3=c2[Z];K2=C3.labelPosition;L2=C3.dataLabel;V2=false===C3.visible?"hidden":"inherit";R2=r3=K2.natural.y;n2&&e2(C3.distributeBox)&&("undefined"===typeof C3.distributeBox.pos?V2="hidden":(M=C3.distributeBox.size,R2=v2.radialDistributionY(C3)));delete C3.positionIndex;if(k4.justify)X=v2.justify(C3,x4,A3);else switch(k4.alignTo){case"connectors":X=v2.alignToConnectors(c2,d3,l3,p3);break;case"plotEdges":X=v2.alignToPlotEdges(L2,d3,l3,p3);break;default:X=v2.radialDistributionX(a3,C3,R2,r3)}L2._attr={visibility:V2,align:K2.alignment};W2=C3.options.dataLabels||{};L2._pos={x:X+h2(W2.x,k4.x)+({left:b2,right:-b2}[K2.alignment]||0),y:R2+h2(W2.y,k4.y)-10};K2.final.x=X;K2.final.y=R2;h2(k4.crop,true)&&(G=L2.getBBox().width,r3=null,X-G<b2&&1===d3?(r3=Math.round(G-X+b2),E2[3]=Math.max(r3,E2[3])):X+G>l3-b2&&0===d3&&(r3=Math.round(X+G-l3+b2),E2[1]=Math.max(r3,E2[1])),0>R2-M/2?E2[0]=Math.max(Math.round(-R2+M/2),E2[0]):R2+M/2>m3&&(E2[2]=Math.max(Math.round(R2+M/2-m3),E2[2])),L2.sideOverflow=r3)}}})),0===r2(E2)||this.verifyDataLabelOverflow(E2))&&(this.placeDataLabels(),this.points.forEach((function(b3){W2=d2(k4,b3.options.dataLabels);if(F3=h2(W2.connectorWidth,1)){var c2;I=b3.connector;if((L2=b3.dataLabel)&&L2._pos&&b3.visible&&0<b3.labelDistance){V2=L2._attr.visibility;if(c2=!I)b3.connector=I=f2.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+b3.colorIndex+(b3.className?" "+b3.className:"")).add(a3.dataLabelsGroup),f2.styledMode||I.attr({"stroke-width":F3,stroke:W2.connectorColor||b3.color||"#666666"});I[c2?"attr":"animate"]({d:b3.getConnectorPath()});I.attr("visibility",V2)}else I&&(b3.connector=I.destroy())}})))}function p2(){this.points.forEach((function(a3){var c2=a3.dataLabel,d3;c2&&a3.visible&&((d3=c2._pos)?(c2.sideOverflow&&(c2._attr.width=Math.max(c2.getBBox().width-c2.sideOverflow,0),c2.css({width:c2._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),c2.shortened=true),c2.attr(c2._attr),c2[c2.moved?"animate":"attr"](d3),c2.moved=true):c2&&c2.attr({y:-9999}));delete a3.distributeBox}),this)}function x3(a3){var c2=this.center,d3=this.options,e3=d3.center,b2=d3.minSize||80,g5=null!==d3.size;if(!g5){if(null!==e3[0])var h3=Math.max(c2[2]-Math.max(a3[1],a3[3]),b2);else h3=Math.max(c2[2]-a3[1]-a3[3],b2),c2[0]+=(a3[3]-a3[1])/2;null!==e3[1]?h3=l2(h3,b2,c2[2]-Math.max(a3[0],a3[2])):(h3=l2(h3,b2,c2[2]-a3[0]-a3[2]),c2[1]+=(a3[0]-a3[2])/2);h3<c2[2]?(c2[2]=h3,c2[3]=Math.min(d3.thickness?Math.max(0,h3-2*d3.thickness):Math.max(0,m2(d3.innerSize||0,h3)),h3),this.translate(c2),this.drawDataLabels&&this.drawDataLabels()):g5=true}return g5}var B=[],y2={radialDistributionY:function(a3){return a3.top+a3.distributeBox.pos},radialDistributionX:function(a3,d3,e3,g5){return a3.getX(e3<d3.top+2||e3>d3.bottom-2?g5:e3,d3.half,d3)},justify:function(a3,d3,e3){return e3[0]+(a3.half?-1:1)*(d3+a3.labelDistance)},alignToPlotEdges:function(a3,d3,e3,g5){a3=a3.getBBox().width;return d3?a3+g5:e3-a3-g5},alignToConnectors:function(a3,d3,e3,g5){var b2=0,c2;a3.forEach((function(a4){c2=a4.dataLabel.getBBox().width;c2>b2&&(b2=c2)}));return d3?b2+g5:e3-b2-g5}};g4.compose=function(c2){a2.compose(t2);-1===B.indexOf(c2)&&(B.push(c2),c2=c2.prototype,c2.dataLabelPositioners=y2,c2.alignDataLabel=A2,c2.drawDataLabels=k3,c2.placeDataLabels=p2,c2.verifyDataLabelOverflow=x3)}})(k2||(k2={}));return k2}));K(g2,"Extensions/OverlappingDataLabels.js",[g2["Core/Chart/Chart.js"],g2["Core/Utilities.js"]],(function(a2,g3){function A2(a3,e2){var d2=false;if(a3){var g4=a3.newOpacity;a3.oldOpacity!==g4&&(a3.alignAttr&&a3.placed?(a3[g4?"removeClass":"addClass"]("highcharts-data-label-hidden"),d2=true,a3.alignAttr.opacity=g4,a3[a3.isOld?"animate":"attr"](a3.alignAttr,null,(function(){e2.styledMode||a3.css({pointerEvents:g4?"auto":"none"})})),C2(e2,"afterHideOverlappingLabel")):a3.attr({opacity:g4}));a3.isOld=true}return d2}var F2=g3.addEvent,C2=g3.fireEvent,B=g3.isArray,H2=g3.isNumber,t2=g3.objectEach,r2=g3.pick;F2(a2,"render",(function(){var a3=this,e2=[];(this.labelCollectors||[]).forEach((function(a4){e2=e2.concat(a4())}));(this.yAxis||[]).forEach((function(a4){a4.stacking&&a4.options.stackLabels&&!a4.options.stackLabels.allowOverlap&&t2(a4.stacking.stacks,(function(a5){t2(a5,(function(a6){a6.label&&e2.push(a6.label)}))}))}));(this.series||[]).forEach((function(d2){var g4=d2.options.dataLabels;d2.visible&&(false!==g4.enabled||d2._hasPointLabels)&&(g4=function(d3){return d3.forEach((function(d4){d4.visible&&(B(d4.dataLabels)?d4.dataLabels:d4.dataLabel?[d4.dataLabel]:[]).forEach((function(g5){var h2=g5.options;g5.labelrank=r2(h2.labelrank,d4.labelrank,d4.shapeArgs&&d4.shapeArgs.height);h2.allowOverlap?(g5.oldOpacity=g5.opacity,g5.newOpacity=1,A2(g5,a3)):e2.push(g5)}))}))},g4(d2.nodes||[]),g4(d2.points))}));this.hideOverlappingLabels(e2)}));a2.prototype.hideOverlappingLabels=function(a3){var e2=this,d2=a3.length,g4=e2.renderer,l2,k2,p2,r3=false;var t3=function(a4){var c2,d3=a4.box?0:a4.padding||0,e3=c2=0,h2;if(a4&&(!a4.alignAttr||a4.placed)){var b2=a4.alignAttr||{x:a4.attr("x"),y:a4.attr("y")};var k3=a4.parentGroup;a4.width||(c2=a4.getBBox(),a4.width=c2.width,a4.height=c2.height,c2=g4.fontMetrics(null,a4.element).h);var l3=a4.width-2*d3;(h2={left:"0",center:"0.5",right:"1"}[a4.alignValue])?e3=+h2*l3:H2(a4.x)&&Math.round(a4.x)!==a4.translateX&&(e3=a4.x-a4.translateX);return{x:b2.x+(k3.translateX||0)+d3-(e3||0),y:b2.y+(k3.translateY||0)+d3-c2,width:a4.width-2*d3,height:a4.height-2*d3}}};for(k2=0;k2<d2;k2++)if(l2=a3[k2])l2.oldOpacity=l2.opacity,l2.newOpacity=1,l2.absoluteBox=t3(l2);a3.sort((function(a4,c2){return(c2.labelrank||0)-(a4.labelrank||0)}));for(k2=0;k2<d2;k2++){var x2=(t3=a3[k2])&&t3.absoluteBox;for(l2=k2+1;l2<d2;++l2){var B2=(p2=a3[l2])&&p2.absoluteBox;!x2||!B2||t3===p2||0===t3.newOpacity||0===p2.newOpacity||"hidden"===t3.visibility||"hidden"===p2.visibility||B2.x>=x2.x+x2.width||B2.x+B2.width<=x2.x||B2.y>=x2.y+x2.height||B2.y+B2.height<=x2.y||((t3.labelrank<p2.labelrank?t3:p2).newOpacity=0)}}a3.forEach((function(a4){A2(a4,e2)&&(r3=true)}));r3&&C2(e2,"afterHideAllOverlappingLabels")}}));K(g2,"Core/Responsive.js",[g2["Core/Utilities.js"]],(function(a2){var g3=a2.extend,x2=a2.find,F2=a2.isArray,C2=a2.isObject,B=a2.merge,H2=a2.objectEach,t2=a2.pick,r2=a2.splat,l2=a2.uniqueKey,e2;(function(a3){var d2=[];a3.compose=function(a4){-1===d2.indexOf(a4)&&(d2.push(a4),g3(a4.prototype,e3.prototype));return a4};var e3=function(){function a4(){}a4.prototype.currentOptions=function(a5){function d3(a6,g5,c2,h2){var f2;H2(a6,(function(a7,b2){if(!h2&&-1<e4.collectionsWithUpdate.indexOf(b2)&&g5[b2])for(a7=r2(a7),c2[b2]=[],f2=0;f2<Math.max(a7.length,g5[b2].length);f2++)g5[b2][f2]&&(void 0===a7[f2]?c2[b2][f2]=g5[b2][f2]:(c2[b2][f2]={},d3(a7[f2],g5[b2][f2],c2[b2][f2],h2+1)));else C2(a7)?(c2[b2]=F2(a7)?[]:{},d3(a7,g5[b2]||{},c2[b2],h2+1)):c2[b2]="undefined"===typeof g5[b2]?null:g5[b2]}))}var e4=this,g4={};d3(a5,this.options,g4,0);return g4};a4.prototype.matchResponsiveRule=function(a5,d3){var e4=a5.condition;(e4.callback||function(){return this.chartWidth<=t2(e4.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=t2(e4.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=t2(e4.minWidth,0)&&this.chartHeight>=t2(e4.minHeight,0)}).call(this)&&d3.push(a5._id)};a4.prototype.setResponsive=function(a5,d3){var e4=this,g4=this.options.responsive,h2=this.currentResponsive,k2=[];!d3&&g4&&g4.rules&&g4.rules.forEach((function(a6){"undefined"===typeof a6._id&&(a6._id=l2());e4.matchResponsiveRule(a6,k2)}),this);d3=B.apply(void 0,k2.map((function(a6){return x2((g4||{}).rules||[],(function(c2){return c2._id===a6}))})).map((function(a6){return a6&&a6.chartOptions})));d3.isResponsiveOptions=true;k2=k2.toString()||void 0;k2!==(h2&&h2.ruleIds)&&(h2&&this.update(h2.undoOptions,a5,true),k2?(h2=this.currentOptions(d3),h2.isResponsiveOptions=true,this.currentResponsive={ruleIds:k2,mergedOptions:d3,undoOptions:h2},this.update(d3,a5,true)):this.currentResponsive=void 0)};return a4}()})(e2||(e2={}));return e2}));K(g2,"masters/highcharts.src.js",[g2["Core/Globals.js"],g2["Core/Utilities.js"],g2["Core/Defaults.js"],g2["Core/Animation/Fx.js"],g2["Core/Animation/AnimationUtilities.js"],g2["Core/Renderer/HTML/AST.js"],g2["Core/FormatUtilities.js"],g2["Core/Renderer/RendererUtilities.js"],g2["Core/Renderer/SVG/SVGElement.js"],g2["Core/Renderer/SVG/SVGRenderer.js"],g2["Core/Renderer/HTML/HTMLElement.js"],g2["Core/Renderer/HTML/HTMLRenderer.js"],g2["Core/Axis/Axis.js"],g2["Core/Axis/DateTimeAxis.js"],g2["Core/Axis/LogarithmicAxis.js"],g2["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],g2["Core/Axis/Tick.js"],g2["Core/Tooltip.js"],g2["Core/Series/Point.js"],g2["Core/Pointer.js"],g2["Core/MSPointer.js"],g2["Core/Legend/Legend.js"],g2["Core/Chart/Chart.js"],g2["Core/Axis/Stacking/StackingAxis.js"],g2["Core/Axis/Stacking/StackItem.js"],g2["Core/Series/Series.js"],g2["Core/Series/SeriesRegistry.js"],g2["Series/Column/ColumnSeries.js"],g2["Series/Column/ColumnDataLabel.js"],g2["Series/Pie/PieSeries.js"],g2["Series/Pie/PieDataLabel.js"],g2["Core/Series/DataLabel.js"],g2["Core/Responsive.js"],g2["Core/Color/Color.js"],g2["Core/Time.js"]],(function(a2,g3,x2,F2,C2,B,H2,t2,r2,l2,e2,d2,h2,m2,k2,p2,D2,I,E2,L2,y2,c2,w2,f2,n2,b2,u2,z2,q,K2,J,O2,Q,T2,Y){a2.animate=C2.animate;a2.animObject=C2.animObject;a2.getDeferredAnimation=C2.getDeferredAnimation;a2.setAnimation=C2.setAnimation;a2.stop=C2.stop;a2.timers=F2.timers;a2.AST=B;a2.Axis=h2;a2.Chart=w2;a2.chart=w2.chart;a2.Fx=F2;a2.Legend=c2;a2.PlotLineOrBand=p2;a2.Point=E2;a2.Pointer=y2.isRequired()?y2:L2;a2.Series=b2;a2.StackItem=n2;a2.SVGElement=r2;a2.SVGRenderer=l2;a2.Tick=D2;a2.Time=Y;a2.Tooltip=I;a2.Color=T2;a2.color=T2.parse;d2.compose(l2);e2.compose(r2);a2.defaultOptions=x2.defaultOptions;a2.getOptions=x2.getOptions;a2.time=x2.defaultTime;a2.setOptions=x2.setOptions;a2.dateFormat=H2.dateFormat;a2.format=H2.format;a2.numberFormat=H2.numberFormat;a2.addEvent=g3.addEvent;a2.arrayMax=g3.arrayMax;a2.arrayMin=g3.arrayMin;a2.attr=g3.attr;a2.clearTimeout=g3.clearTimeout;a2.correctFloat=g3.correctFloat;a2.createElement=g3.createElement;a2.css=g3.css;a2.defined=g3.defined;a2.destroyObjectProperties=g3.destroyObjectProperties;a2.discardElement=g3.discardElement;a2.distribute=t2.distribute;a2.erase=g3.erase;a2.error=g3.error;a2.extend=g3.extend;a2.extendClass=g3.extendClass;a2.find=g3.find;a2.fireEvent=g3.fireEvent;a2.getMagnitude=g3.getMagnitude;a2.getStyle=g3.getStyle;a2.inArray=g3.inArray;a2.isArray=g3.isArray;a2.isClass=g3.isClass;a2.isDOMElement=g3.isDOMElement;a2.isFunction=g3.isFunction;a2.isNumber=g3.isNumber;a2.isObject=g3.isObject;a2.isString=g3.isString;a2.keys=g3.keys;a2.merge=g3.merge;a2.normalizeTickInterval=g3.normalizeTickInterval;a2.objectEach=g3.objectEach;a2.offset=g3.offset;a2.pad=g3.pad;a2.pick=g3.pick;a2.pInt=g3.pInt;a2.relativeLength=g3.relativeLength;a2.removeEvent=g3.removeEvent;a2.seriesType=u2.seriesType;a2.splat=g3.splat;a2.stableSort=g3.stableSort;a2.syncTimeout=g3.syncTimeout;a2.timeUnits=g3.timeUnits;a2.uniqueKey=g3.uniqueKey;a2.useSerialIds=g3.useSerialIds;a2.wrap=g3.wrap;q.compose(z2);O2.compose(b2);m2.compose(h2);k2.compose(h2);J.compose(K2);p2.compose(h2);Q.compose(w2);f2.compose(h2,w2,b2);return a2}));g2["masters/highcharts.src.js"]._modules=g2;return g2["masters/highcharts.src.js"]}))})(highcharts);var highchartsExports=highcharts.exports;const Highcharts$1=getDefaultExportFromCjs(highchartsExports);const mapColors=array=>{const regex=/(data)\-[1-8]/;const newArray=array.map((item=>regex.test(item)?`${colors$1[`data_${item[item.length-1]}`]}`:item));return newArray};const BarGraph=({aria:aria={},data:data={},align:align="center",axisTitle:axisTitle,dark:dark=false,chartData:chartData,className:className="pb_bar_graph",colors:colors2,htmlOptions:htmlOptions={},customOptions:customOptions={},axisFormat:axisFormat,id:id,pointStart:pointStart,stacking:stacking,subTitle:subTitle,type:type="column",title:title="Title",xAxisCategories:xAxisCategories,yAxisMin:yAxisMin,yAxisMax:yAxisMax,legend:legend=false,toggleLegendClick:toggleLegendClick=true,height:height,layout:layout="horizontal",verticalAlign:verticalAlign="bottom",x:x2=0,y:y2=0,...props})=>{const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const setupTheme=()=>{dark?Highcharts$1.setOptions(highchartsDarkTheme):Highcharts$1.setOptions(highchartsTheme)};setupTheme();const staticOptions={title:{text:title},chart:{height:height,type:type},subtitle:{text:subTitle},yAxis:[{labels:{format:typeof axisFormat==="string"?axisFormat:axisFormat&&axisFormat[0]?axisFormat[0].format:""},min:yAxisMin,max:yAxisMax,opposite:false,title:{text:Array.isArray(axisTitle)?axisTitle.length>0?axisTitle[0].name:null:axisTitle},plotLines:typeof yAxisMin!=="undefined"&&yAxisMin!==null?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]}],xAxis:{categories:xAxisCategories},legend:{enabled:legend,align:align,verticalAlign:verticalAlign,layout:layout,x:x2,y:y2},colors:colors2!==void 0&&colors2.length>0?mapColors(colors2):highchartsTheme.colors,plotOptions:{series:{stacking:stacking,pointStart:pointStart,borderWidth:stacking?0:"",events:{},dataLabels:{enabled:false}}},series:chartData,credits:false};if(Array.isArray(axisTitle)&&axisTitle.length>1&&axisTitle[1].name){staticOptions.yAxis.push({labels:{format:typeof axisFormat==="string"?axisFormat:axisFormat[1].format},min:yAxisMin,max:yAxisMax,opposite:true,title:{text:axisTitle[1].name},plotLines:typeof yAxisMin!=="undefined"&&yAxisMin!==null?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]})}if(!toggleLegendClick){staticOptions.plotOptions.series.events={legendItemClick:()=>false}}const filteredProps={...props};delete filteredProps.verticalAlign;const[options2,setOptions]=useState({});useEffect((()=>{setOptions(merge(staticOptions,customOptions))}),[chartData]);return jsx$1(HighchartsReact,{containerProps:{className:classnames(globalProps(filteredProps),className),id:id,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2})};const buttonClassName=props=>{const{disabled:disabled=false,fullWidth:fullWidth=false,highlight:highlight,icon:icon,loading:loading=false,type:type="inline",variant:variant="primary",size:size=null}=props;let className="pb_button_kit";className+=`${variant!==null?`_${variant}`:""}`;className+=`${type!==null?`_${type}`:""}`;className+=`${fullWidth?"_block":""}`;className+=disabled?"_disabled":"_enabled";className+=loading?"_loading":"";className+=`${size!==null?` size_${size}`:""}`;className+=`${variant==="reaction"&&!isValidEmoji(icon)?` reaction_default`:""}`;className+=`${variant==="reaction"&&highlight?` active`:""}`;return className};const spinnerIcon=getAllIcons()["spinner"];const Button=props=>{const{aria:aria={},children:children,className:className,count:count2,data:data={},disabled:disabled,htmlOptions:htmlOptions={},icon:icon=null,iconRight:iconRight=false,id:id,loading:loading=false,onClick:onClick,tabIndex:tabIndex,link:link=null,newWindow:newWindow=false,target:target="",text:text,htmlType:htmlType="button",value:value,variant:variant,form:form=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(buttonClassName(props),globalProps(props),className);const loadingIcon=jsx$1("div",{className:"loading-icon",children:jsx$1(Icon,{className:"svg-inline--fa",customIcon:spinnerIcon.icon,fixedWidth:true,pulse:true})});const content=jsxs("span",{className:"pb_button_content",children:[icon&&!iconRight&&jsx$1("i",{className:`pb_icon_kit far fa-${icon} fa-fw button_with_icon`}),jsx$1("span",{children:text||children}),icon&&iconRight&&jsx$1("i",{className:`pb_icon_kit far fa-${icon} fa-fw button_with_icon_right`})]});const ifLoading=()=>{if(loading){return jsx$1(Fragment,{children:loadingIcon})}else{return content}};const getTargetAttribute=()=>{if(target&&link){return target}else if(newWindow){return"_blank"}return null};const displayButton=()=>{if(link){return jsx$1("a",{...ariaProps,...dataProps,...htmlProps,className:css4,href:link,id:id,rel:target!=="child"?"noreferrer":null,role:"link",tabIndex:tabIndex,target:getTargetAttribute(),children:ifLoading()})}else if(variant==="reaction"){return jsxs("button",{...ariaProps,...dataProps,...htmlProps,className:css4,disabled:disabled,form:form,id:id,onClick:onClick,role:"button",tabIndex:tabIndex,type:htmlType,value:value,children:[icon&&isValidEmoji(icon)&&jsxs(Flex,{align:"center",children:[jsx$1(Icon,{icon:icon}),count2&&jsx$1(Caption,{paddingLeft:"xxs",size:"xs",children:count2})]}),!isValidEmoji(icon)&&jsx$1(Icon,{icon:icon?icon:"face-smile-plus"})]})}else{return jsx$1("button",{...ariaProps,...dataProps,...htmlProps,className:css4,disabled:disabled,form:form,id:id,onClick:onClick,role:"button",tabIndex:tabIndex,type:htmlType,value:value,children:ifLoading()})}};return jsx$1(Fragment,{children:displayButton()})};const Checkbox=props=>{const{aria:aria={},checked:checked=false,children:children,className:className,dark:dark=false,data:data={},disabled:disabled=false,error:error=false,htmlOptions:htmlOptions={},id:id,indeterminate:indeterminate=false,name:name2="",onChange:onChange2=()=>{},tabIndex:tabIndex,text:text="",value:value=""}=props;const checkRef=useRef(null);const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_checkbox_kit",checked?"checked":null,error?"error":null,indeterminate?"indeterminate":null),globalProps(props),className);useEffect((()=>{if(checkRef.current){checkRef.current.checked=checked;checkRef.current.indeterminate=indeterminate}}),[indeterminate,checked]);const checkboxChildren=()=>{if(children)return children;else return jsx$1("input",{defaultChecked:checked,disabled:disabled,name:name2,onChange:onChange2,ref:checkRef,tabIndex:tabIndex,type:"checkbox",value:value})};return jsxs("label",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:[jsx$1(Fragment,{children:checkboxChildren()}),!indeterminate&&jsx$1("span",{className:"pb_checkbox_checkmark",children:jsx$1(Icon,{className:"check_icon",fixedWidth:true,icon:"check"})}),indeterminate&&jsx$1("span",{className:"pb_checkbox_indeterminate",children:jsx$1(Icon,{className:"indeterminate_icon",fixedWidth:true,icon:"minus"})}),jsx$1(Body$1,{className:"pb_checkbox_label",dark:dark,status:error?"negative":null,variant:null,children:text})]})};var highchartsMore$1={exports:{}};(function(module){(function(d2){module.exports?(d2["default"]=d2,module.exports=d2):d2("undefined"!==typeof Highcharts?Highcharts:void 0)})((function(d2){function D2(b2,c2,h2,a2){b2.hasOwnProperty(c2)||(b2[c2]=a2.apply(null,h2),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:c2,module:b2[c2]}})))}d2=d2?d2._modules:{};D2(d2,"Extensions/Pane.js",[d2["Core/Chart/Chart.js"],d2["Series/CenteredUtilities.js"],d2["Core/Globals.js"],d2["Core/Pointer.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2,f2){function w2(g2,k2,e3,a3,G){var m2=true,E2=e3[0],v2=e3[1],c3=Math.sqrt(Math.pow(g2-E2,2)+Math.pow(k2-v2,2));q(a3)&&q(G)&&(g2=Math.atan2(r2(k2-v2,8),r2(g2-E2,8)),G!==a3&&(m2=a3>G?g2>=a3&&g2<=Math.PI||g2<=G&&g2>=-Math.PI:g2>=a3&&g2<=r2(G,8)));return c3<=Math.ceil(e3[2]/2)&&m2}var d3=f2.addEvent,r2=f2.correctFloat,q=f2.defined,F2=f2.extend,p2=f2.merge,l2=f2.pick,e2=f2.splat;b2.prototype.collectionsWithUpdate.push("pane");f2=function(){function g2(k2,g3){this.options=this.chart=this.center=this.background=void 0;this.coll="pane";this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0};this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"};this.init(k2,g3)}g2.prototype.init=function(k2,g3){this.chart=g3;this.background=[];g3.pane.push(this);this.setOptions(k2)};g2.prototype.setOptions=function(k2){this.options=p2(this.defaultOptions,this.chart.angular?{background:{}}:void 0,k2)};g2.prototype.render=function(){var k2=this.options,g3=this.options.background,a3=this.chart.renderer;this.group||(this.group=a3.g("pane-group").attr({zIndex:k2.zIndex||0}).add());this.updateCenter();if(g3)for(g3=e2(g3),k2=Math.max(g3.length,this.background.length||0),a3=0;a3<k2;a3++)g3[a3]&&this.axis?this.renderBackground(p2(this.defaultBackgroundOptions,g3[a3]),a3):this.background[a3]&&(this.background[a3]=this.background[a3].destroy(),this.background.splice(a3,1))};g2.prototype.renderBackground=function(g3,e3){var k2="animate",m2={class:"highcharts-pane "+(g3.className||"")};this.chart.styledMode||F2(m2,{fill:g3.backgroundColor,stroke:g3.borderColor,"stroke-width":g3.borderWidth});this.background[e3]||(this.background[e3]=this.chart.renderer.path().add(this.group),k2="attr");this.background[e3][k2]({d:this.axis.getPlotBandPath(g3.from,g3.to,g3)}).attr(m2)};g2.prototype.updateCenter=function(g3){this.center=(g3||this.axis||{}).center=c2.getCenter.call(this)};g2.prototype.update=function(g3,e3){p2(true,this.options,g3);this.setOptions(this.options);this.render();this.chart.axes.forEach((function(g4){g4.pane===this&&(g4.pane=null,g4.update({},e3))}),this)};return g2}();b2.prototype.getHoverPane=function(g2){var e3=this,m2;g2&&e3.pane.forEach((function(k2){w2(g2.chartX-e3.plotLeft,g2.chartY-e3.plotTop,k2.center)&&(m2=k2)}));return m2};d3(b2,"afterIsInsidePlot",(function(g2){if(this.polar){if(g2.options.inverted){var e3=[g2.y,g2.x];g2.x=e3[0];g2.y=e3[1]}g2.isInsidePlot=this.pane.some((function(e4){return w2(g2.x,g2.y,e4.center,e4.axis&&e4.axis.normalizedStartAngleRad,e4.axis&&e4.axis.normalizedEndAngleRad)}))}}));d3(a2,"beforeGetHoverData",(function(g2){var e3=this.chart;e3.polar?(e3.hoverPane=e3.getHoverPane(g2),g2.filter=function(k2){return k2.visible&&!(!g2.shared&&k2.directTouch)&&l2(k2.options.enableMouseTracking,true)&&(!e3.hoverPane||k2.xAxis.pane===e3.hoverPane)}):e3.hoverPane=void 0}));d3(a2,"afterGetHoverData",(function(g2){var e3=this.chart;g2.hoverPoint&&g2.hoverPoint.plotX&&g2.hoverPoint.plotY&&e3.hoverPane&&!w2(g2.hoverPoint.plotX,g2.hoverPoint.plotY,e3.hoverPane.center)&&(g2.hoverPoint=void 0)}));h2.Pane=f2;return h2.Pane}));D2(d2,"Series/AreaRange/AreaRangePoint.js",[d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2){var h2=this&&this.__extends||function(){var a3=function(c3,b3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,c4){a4.__proto__=c4}||function(a4,c4){for(var b4 in c4)c4.hasOwnProperty(b4)&&(a4[b4]=c4[b4])};return a3(c3,b3)};return function(c3,b3){function f3(){this.constructor=c3}a3(c3,b3);c3.prototype=null===b3?Object.create(b3):(f3.prototype=b3.prototype,new f3)}}();b2=b2.seriesTypes.area.prototype;var a2=b2.pointClass.prototype,f2=c2.defined,d3=c2.isNumber;return function(c3){function b3(){var a3=null!==c3&&c3.apply(this,arguments)||this;a3.high=void 0;a3.low=void 0;a3.options=void 0;a3.plotX=void 0;a3.series=void 0;return a3}h2(b3,c3);b3.prototype.setState=function(){var c4=this.state,b4=this.series,h3=b4.chart.polar;f2(this.plotHigh)||(this.plotHigh=b4.yAxis.toPixels(this.high,true));f2(this.plotLow)||(this.plotLow=this.plotY=b4.yAxis.toPixels(this.low,true));b4.stateMarkerGraphic&&(b4.lowerStateMarkerGraphic=b4.stateMarkerGraphic,b4.stateMarkerGraphic=b4.upperStateMarkerGraphic);this.graphic=this.graphics&&this.graphics[1];this.plotY=this.plotHigh;h3&&d3(this.plotHighX)&&(this.plotX=this.plotHighX);a2.setState.apply(this,arguments);this.state=c4;this.plotY=this.plotLow;this.graphic=this.graphics&&this.graphics[0];h3&&d3(this.plotLowX)&&(this.plotX=this.plotLowX);b4.stateMarkerGraphic&&(b4.upperStateMarkerGraphic=b4.stateMarkerGraphic,b4.stateMarkerGraphic=b4.lowerStateMarkerGraphic,b4.lowerStateMarkerGraphic=void 0);a2.setState.apply(this,arguments)};b3.prototype.haloPath=function(){var b4=this.series.chart.polar,c4=[];this.plotY=this.plotLow;b4&&d3(this.plotLowX)&&(this.plotX=this.plotLowX);this.isInside&&(c4=a2.haloPath.apply(this,arguments));this.plotY=this.plotHigh;b4&&d3(this.plotHighX)&&(this.plotX=this.plotHighX);this.isTopInside&&(c4=c4.concat(a2.haloPath.apply(this,arguments)));return c4};b3.prototype.isValid=function(){return d3(this.low)&&d3(this.high)};return b3}(b2.pointClass)}));D2(d2,"Series/AreaRange/AreaRangeSeries.js",[d2["Series/AreaRange/AreaRangePoint.js"],d2["Core/Globals.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2){var f2=this&&this.__extends||function(){var g3=function(e3,k3){g3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g4,e4){g4.__proto__=e4}||function(g4,e4){for(var k4 in e4)e4.hasOwnProperty(k4)&&(g4[k4]=e4[k4])};return g3(e3,k3)};return function(e3,k3){function m3(){this.constructor=e3}g3(e3,k3);e3.prototype=null===k3?Object.create(k3):(m3.prototype=k3.prototype,new m3)}}();c2=c2.noop;var d3=h2.seriesTypes,n2=d3.area,r2=d3.area.prototype,q=d3.column.prototype;d3=a2.addEvent;var F2=a2.defined,p2=a2.extend,l2=a2.isArray,e2=a2.isNumber,g2=a2.pick,k2=a2.merge,m2={lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:true,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}};a2=function(e3){function a3(){var g3=null!==e3&&e3.apply(this,arguments)||this;g3.data=void 0;g3.options=void 0;g3.points=void 0;g3.lowerStateMarkerGraphic=void 0;g3.xAxis=void 0;return g3}f2(a3,e3);a3.prototype.toYData=function(g3){return[g3.low,g3.high]};a3.prototype.highToXY=function(g3){var e4=this.chart,k3=this.xAxis.postTranslate(g3.rectPlotX||0,this.yAxis.len-(g3.plotHigh||0));g3.plotHighX=k3.x-e4.plotLeft;g3.plotHigh=k3.y-e4.plotTop;g3.plotLowX=g3.plotX};a3.prototype.getGraphPath=function(e4){var k3=[],a4=[],m3=r2.getGraphPath,b3=this.options,c3=this.chart.polar,x2=c3&&false!==b3.connectEnds,B=b3.connectNulls,y2,f3=b3.step;e4=e4||this.points;for(y2=e4.length;y2--;){var t2=e4[y2];var G=c3?{plotX:t2.rectPlotX,plotY:t2.yBottom,doCurve:false}:{plotX:t2.plotX,plotY:t2.plotY,doCurve:false};t2.isNull||x2||B||e4[y2+1]&&!e4[y2+1].isNull||a4.push(G);var l3={polarPlotY:t2.polarPlotY,rectPlotX:t2.rectPlotX,yBottom:t2.yBottom,plotX:g2(t2.plotHighX,t2.plotX),plotY:t2.plotHigh,isNull:t2.isNull};a4.push(l3);k3.push(l3);t2.isNull||x2||B||e4[y2-1]&&!e4[y2-1].isNull||a4.push(G)}e4=m3.call(this,e4);f3&&(true===f3&&(f3="left"),b3.step={left:"right",center:"center",right:"left"}[f3]);k3=m3.call(this,k3);a4=m3.call(this,a4);b3.step=f3;b3=[].concat(e4,k3);!this.chart.polar&&a4[0]&&"M"===a4[0][0]&&(a4[0]=["L",a4[0][1],a4[0][2]]);this.graphPath=b3;this.areaPath=e4.concat(a4);b3.isArea=true;b3.xMap=e4.xMap;this.areaPath.xMap=e4.xMap;return b3};a3.prototype.drawDataLabels=function(){var e4=this.points,g3=e4.length,k3=[],a4=this.options.dataLabels,m3=this.chart.inverted,b3,x2;if(a4){if(l2(a4)){var c3=a4[0]||{enabled:false};var y2=a4[1]||{enabled:false}}else c3=p2({},a4),c3.x=a4.xHigh,c3.y=a4.yHigh,y2=p2({},a4),y2.x=a4.xLow,y2.y=a4.yLow;if(c3.enabled||this._hasPointLabels){for(b3=g3;b3--;)if(x2=e4[b3]){var f3=x2.plotHigh;f3=void 0===f3?0:f3;var t2=x2.plotLow;t2=void 0===t2?0:t2;t2=c3.inside?f3<t2:f3>t2;x2.y=x2.high;x2._plotY=x2.plotY;x2.plotY=f3;k3[b3]=x2.dataLabel;x2.dataLabel=x2.dataLabelUpper;x2.below=t2;m3?c3.align||(c3.align=t2?"right":"left"):c3.verticalAlign||(c3.verticalAlign=t2?"top":"bottom")}this.options.dataLabels=c3;r2.drawDataLabels&&r2.drawDataLabels.apply(this,arguments);for(b3=g3;b3--;)if(x2=e4[b3])x2.dataLabelUpper=x2.dataLabel,x2.dataLabel=k3[b3],delete x2.dataLabels,x2.y=x2.low,x2.plotY=x2._plotY}if(y2.enabled||this._hasPointLabels){for(b3=g3;b3--;)if(x2=e4[b3])k3=x2.plotHigh,f3=void 0===k3?0:k3,k3=x2.plotLow,t2=void 0===k3?0:k3,t2=y2.inside?f3<t2:f3>t2,x2.below=!t2,m3?y2.align||(y2.align=t2?"left":"right"):y2.verticalAlign||(y2.verticalAlign=t2?"bottom":"top");this.options.dataLabels=y2;r2.drawDataLabels&&r2.drawDataLabels.apply(this,arguments)}if(c3.enabled){for(b3=g3;b3--;)if(x2=e4[b3])x2.dataLabels=[x2.dataLabelUpper,x2.dataLabel].filter((function(e5){return!!e5}))}this.options.dataLabels=a4}};a3.prototype.alignDataLabel=function(){q.alignDataLabel.apply(this,arguments)};a3.prototype.drawPoints=function(){var e4=this.points.length,k3;r2.drawPoints.apply(this,arguments);for(k3=0;k3<e4;){var a4=this.points[k3];a4.graphics=a4.graphics||[];a4.origProps={plotY:a4.plotY,plotX:a4.plotX,isInside:a4.isInside,negative:a4.negative,zone:a4.zone,y:a4.y};if(a4.graphic||a4.graphics[0])a4.graphics[0]=a4.graphic;a4.graphic=a4.graphics[1];a4.plotY=a4.plotHigh;F2(a4.plotHighX)&&(a4.plotX=a4.plotHighX);a4.y=g2(a4.high,a4.origProps.y);a4.negative=a4.y<(this.options.threshold||0);this.zones.length&&(a4.zone=a4.getZone());this.chart.polar||(a4.isInside=a4.isTopInside="undefined"!==typeof a4.plotY&&0<=a4.plotY&&a4.plotY<=this.yAxis.len&&0<=a4.plotX&&a4.plotX<=this.xAxis.len);k3++}r2.drawPoints.apply(this,arguments);for(k3=0;k3<e4;){a4=this.points[k3];a4.graphics=a4.graphics||[];if(a4.graphic||a4.graphics[1])a4.graphics[1]=a4.graphic;a4.graphic=a4.graphics[0];a4.origProps&&(p2(a4,a4.origProps),delete a4.origProps);k3++}};a3.defaultOptions=k2(n2.defaultOptions,m2);return a3}(n2);d3(a2,"afterTranslate",(function(){var g3=this;"low,high"===this.pointArrayMap.join(",")&&this.points.forEach((function(a3){var k3=a3.high,m3=a3.plotY;a3.isNull?a3.plotY=void 0:(a3.plotLow=m3,a3.plotHigh=e2(k3)?g3.yAxis.translate(g3.dataModify?g3.dataModify.modifyValue(k3):k3,false,true,void 0,true):void 0,g3.dataModify&&(a3.yBottom=a3.plotHigh))}))}),{order:0});d3(a2,"afterTranslate",(function(){var e3=this;this.points.forEach((function(g3){if(e3.chart.polar)e3.highToXY(g3),g3.plotLow=g3.plotY,g3.tooltipPos=[((g3.plotHighX||0)+(g3.plotLowX||0))/2,((g3.plotHigh||0)+(g3.plotLow||0))/2];else{var a3=g3.pos(false,g3.plotLow),k3=g3.pos(false,g3.plotHigh);a3&&k3&&(a3[0]=(a3[0]+k3[0])/2,a3[1]=(a3[1]+k3[1])/2);g3.tooltipPos=a3}}))}),{order:3});p2(a2.prototype,{deferTranslatePolar:true,pointArrayMap:["low","high"],pointClass:b2,pointValKey:"low",setStackedPoints:c2});h2.registerSeriesType("arearange",a2);return a2}));D2(d2,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[d2["Series/AreaRange/AreaRangeSeries.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2){var a2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var e2 in b4)b4.hasOwnProperty(e2)&&(a4[e2]=b4[e2])};return a3(b3,c3)};return function(b3,c3){function f3(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(f3.prototype=c3.prototype,new f3)}}(),f2=c2.seriesTypes.spline.prototype,d3=h2.merge;h2=h2.extend;var n2=function(c3){function f3(){var a3=null!==c3&&c3.apply(this,arguments)||this;a3.options=void 0;a3.data=void 0;a3.points=void 0;return a3}a2(f3,c3);f3.defaultOptions=d3(b2.defaultOptions);return f3}(b2);h2(n2.prototype,{getPointSpline:f2.getPointSpline});c2.registerSeriesType("areasplinerange",n2);return n2}));D2(d2,"Series/BoxPlot/BoxPlotSeries.js",[d2["Series/Column/ColumnSeries.js"],d2["Core/Globals.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2){var f2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e2){a4.__proto__=e2}||function(a4,e2){for(var g2 in e2)e2.hasOwnProperty(g2)&&(a4[g2]=e2[g2])};return a3(b3,c3)};return function(b3,c3){function f3(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(f3.prototype=c3.prototype,new f3)}}();c2=c2.noop;var d3=a2.extend,n2=a2.merge,r2=a2.pick;a2=function(a3){function c3(){var b3=null!==a3&&a3.apply(this,arguments)||this;b3.data=void 0;b3.options=void 0;b3.points=void 0;return b3}f2(c3,a3);c3.prototype.pointAttribs=function(){return{}};c3.prototype.translate=function(){var b3=this.yAxis,c4=this.pointArrayMap;a3.prototype.translate.apply(this);this.points.forEach((function(a4){c4.forEach((function(g2){null!==a4[g2]&&(a4[g2+"Plot"]=b3.translate(a4[g2],0,1,0,1))}));a4.plotHigh=a4.highPlot}))};c3.prototype.drawPoints=function(){var a4=this,b3=a4.options,e2=a4.chart,g2=e2.renderer,k2,c4,f3,h3,d4,E2,v2=0,n3,I,K,x2,B=false!==a4.doQuartiles,y2,H2=a4.options.whiskerLength;a4.points.forEach((function(m2){var t2=m2.graphic,G=t2?"animate":"attr",N=m2.shapeArgs,L2={},l2={},w2={},u2={},C2=m2.color||a4.color;"undefined"!==typeof m2.plotY&&(n3=Math.round(N.width),I=Math.floor(N.x),K=I+n3,x2=Math.round(n3/2),k2=Math.floor(B?m2.q1Plot:m2.lowPlot),c4=Math.floor(B?m2.q3Plot:m2.lowPlot),f3=Math.floor(m2.highPlot),h3=Math.floor(m2.lowPlot),t2||(m2.graphic=t2=g2.g("point").add(a4.group),m2.stem=g2.path().addClass("highcharts-boxplot-stem").add(t2),H2&&(m2.whiskers=g2.path().addClass("highcharts-boxplot-whisker").add(t2)),B&&(m2.box=g2.path(void 0).addClass("highcharts-boxplot-box").add(t2)),m2.medianShape=g2.path(void 0).addClass("highcharts-boxplot-median").add(t2)),e2.styledMode||(l2.stroke=m2.stemColor||b3.stemColor||C2,l2["stroke-width"]=r2(m2.stemWidth,b3.stemWidth,b3.lineWidth),l2.dashstyle=m2.stemDashStyle||b3.stemDashStyle||b3.dashStyle,m2.stem.attr(l2),H2&&(w2.stroke=m2.whiskerColor||b3.whiskerColor||C2,w2["stroke-width"]=r2(m2.whiskerWidth,b3.whiskerWidth,b3.lineWidth),w2.dashstyle=m2.whiskerDashStyle||b3.whiskerDashStyle||b3.dashStyle,m2.whiskers.attr(w2)),B&&(L2.fill=m2.fillColor||b3.fillColor||C2,L2.stroke=b3.lineColor||C2,L2["stroke-width"]=b3.lineWidth||0,L2.dashstyle=m2.boxDashStyle||b3.boxDashStyle||b3.dashStyle,m2.box.attr(L2)),u2.stroke=m2.medianColor||b3.medianColor||C2,u2["stroke-width"]=r2(m2.medianWidth,b3.medianWidth,b3.lineWidth),u2.dashstyle=m2.medianDashStyle||b3.medianDashStyle||b3.dashStyle,m2.medianShape.attr(u2)),E2=m2.stem.strokeWidth()%2/2,v2=I+x2+E2,t2=[["M",v2,c4],["L",v2,f3],["M",v2,k2],["L",v2,h3]],m2.stem[G]({d:t2}),B&&(E2=m2.box.strokeWidth()%2/2,k2=Math.floor(k2)+E2,c4=Math.floor(c4)+E2,I+=E2,K+=E2,t2=[["M",I,c4],["L",I,k2],["L",K,k2],["L",K,c4],["L",I,c4],["Z"]],m2.box[G]({d:t2})),H2&&(E2=m2.whiskers.strokeWidth()%2/2,f3+=E2,h3+=E2,y2=/%$/.test(H2)?x2*parseFloat(H2)/100:H2/2,t2=[["M",v2-y2,f3],["L",v2+y2,f3],["M",v2-y2,h3],["L",v2+y2,h3]],m2.whiskers[G]({d:t2})),d4=Math.round(m2.medianPlot),E2=m2.medianShape.strokeWidth()%2/2,d4+=E2,t2=[["M",I,d4],["L",K,d4]],m2.medianShape[G]({d:t2}))}))};c3.prototype.toYData=function(a4){return[a4.low,a4.q1,a4.median,a4.q3,a4.high]};c3.defaultOptions=n2(b2.defaultOptions,{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b>{series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2});return c3}(b2);d3(a2.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:c2,setStackedPoints:c2});h2.registerSeriesType("boxplot",a2);return a2}));D2(d2,"Series/Bubble/BubbleLegendDefaults.js",[],(function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:false,labels:{className:void 0,allowOverlap:false,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:false,zIndex:1,zThreshold:0}}));D2(d2,"Series/Bubble/BubbleLegendItem.js",[d2["Core/Color/Color.js"],d2["Core/FormatUtilities.js"],d2["Core/Globals.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2){var f2=b2.parse,d3=h2.noop,n2=a2.arrayMax,r2=a2.arrayMin,q=a2.isNumber,F2=a2.merge,p2=a2.pick,l2=a2.stableSort;b2=function(){function a3(a4,e2){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legend=this.fontMetrics=this.chart=void 0;this.setState=d3;this.init(a4,e2)}a3.prototype.init=function(a4,e2){this.options=a4;this.visible=true;this.chart=e2.chart;this.legend=e2};a3.prototype.addToLegend=function(a4){a4.splice(this.options.legendIndex,0,this)};a3.prototype.drawLegendSymbol=function(a4){var g2=this.chart,e2=p2(a4.options.itemDistance,20),b3=this.legendItem||{},c3=this.options,f3=c3.ranges,h3=c3.connectorDistance;this.fontMetrics=g2.renderer.fontMetrics(c3.labels.style.fontSize);f3&&f3.length&&q(f3[0].value)?(l2(f3,(function(a5,g3){return g3.value-a5.value})),this.ranges=f3,this.setOptions(),this.render(),a4=this.getMaxLabelSize(),f3=this.ranges[0].radius,g2=2*f3,h3=h3-f3+a4.width,h3=0<h3?h3:0,this.maxLabel=a4,this.movementX="left"===c3.labels.align?h3:0,b3.labelWidth=g2+h3+e2,b3.labelHeight=g2+this.fontMetrics.h/2):a4.options.bubbleLegend.autoRanges=true};a3.prototype.setOptions=function(){var a4=this.ranges,e2=this.options,b3=this.chart.series[e2.seriesIndex],c3=this.legend.baseline,h3={zIndex:e2.zIndex,"stroke-width":e2.borderWidth},d4={zIndex:e2.zIndex,"stroke-width":e2.connectorWidth},E2={align:this.legend.options.rtl||"left"===e2.labels.align?"right":"left",zIndex:e2.zIndex},v2=b3.options.marker.fillOpacity,l3=this.chart.styledMode;a4.forEach((function(g2,k2){l3||(h3.stroke=p2(g2.borderColor,e2.borderColor,b3.color),h3.fill=p2(g2.color,e2.color,1!==v2?f2(b3.color).setOpacity(v2).get("rgba"):b3.color),d4.stroke=p2(g2.connectorColor,e2.connectorColor,b3.color));a4[k2].radius=this.getRangeRadius(g2.value);a4[k2]=F2(a4[k2],{center:a4[0].radius-a4[k2].radius+c3});l3||F2(true,a4[k2],{bubbleAttribs:F2(h3),connectorAttribs:F2(d4),labelAttribs:E2})}),this)};a3.prototype.getRangeRadius=function(a4){var e2=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e2.ranges[e2.ranges.length-1].value,e2.ranges[0].value,e2.minSize,e2.maxSize,a4)};a3.prototype.render=function(){var a4=this.legendItem||{},e2=this.chart.renderer,b3=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]});a4.symbol=e2.g("bubble-legend");a4.label=e2.g("bubble-legend-item");a4.symbol.translateX=0;e2=a4.symbol.translateY=0;for(var c3=this.ranges;e2<c3.length;e2++){var f3=c3[e2];f3.value>=b3&&this.renderRange(f3)}a4.symbol.add(a4.label);a4.label.add(a4.group);this.hideOverlappingLabels()};a3.prototype.renderRange=function(a4){var e2=this.options,g2=e2.labels,b3=this.chart,c3=b3.series[e2.seriesIndex],f3=b3.renderer,h3=this.symbols;b3=h3.labels;var d4=a4.center,l3=Math.abs(a4.radius),I=e2.connectorDistance||0,K=g2.align,x2=e2.connectorWidth,B=this.ranges[0].radius||0,y2=d4-l3-e2.borderWidth/2+x2/2,H2=this.fontMetrics;H2=H2.f/2-(H2.h-H2.f)/2;var t2=f3.styledMode;I=this.legend.options.rtl||"left"===K?-I:I;"center"===K&&(I=0,e2.connectorDistance=0,a4.labelAttribs.align="center");K=y2+e2.labels.y;var n3=B+I+e2.labels.x;h3.bubbleItems.push(f3.circle(B,d4+((y2%1?1:.5)-(x2%2?0:.5)),l3).attr(t2?{}:a4.bubbleAttribs).addClass((t2?"highcharts-color-"+c3.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e2.className||"")).add(this.legendItem.symbol));h3.connectors.push(f3.path(f3.crispLine([["M",B,y2],["L",B+I,y2]],e2.connectorWidth)).attr(t2?{}:a4.connectorAttribs).addClass((t2?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e2.connectorClassName||"")).add(this.legendItem.symbol));a4=f3.text(this.formatLabel(a4),n3,K+H2).attr(t2?{}:a4.labelAttribs).css(t2?{}:g2.style).addClass("highcharts-bubble-legend-labels "+(e2.labels.className||"")).add(this.legendItem.symbol);b3.push(a4);a4.placed=true;a4.alignAttr={x:n3,y:K+H2}};a3.prototype.getMaxLabelSize=function(){var a4,e2;this.symbols.labels.forEach((function(g2){e2=g2.getBBox(true);a4=a4?e2.width>a4.width?e2:a4:e2}));return a4||{}};a3.prototype.formatLabel=function(a4){var e2=this.options,g2=e2.labels.formatter;e2=e2.labels.format;var b3=this.chart.numberFormatter;return e2?c2.format(e2,a4):g2?g2.call(a4):b3(a4.value,1)};a3.prototype.hideOverlappingLabels=function(){var a4=this.chart,e2=this.symbols;!this.options.labels.allowOverlap&&e2&&(a4.hideOverlappingLabels(e2.labels),e2.labels.forEach((function(a5,g2){a5.newOpacity?a5.newOpacity!==a5.oldOpacity&&e2.connectors[g2].show():e2.connectors[g2].hide()})))};a3.prototype.getRanges=function(){var a4=this.legend.bubbleLegend,e2=a4.options.ranges,b3,c3=Number.MAX_VALUE,f3=-Number.MAX_VALUE;a4.chart.series.forEach((function(a5){a5.isBubble&&!a5.ignoreSeries&&(b3=a5.zData.filter(q),b3.length&&(c3=p2(a5.options.zMin,Math.min(c3,Math.max(r2(b3),false===a5.options.displayNegative?a5.options.zThreshold:-Number.MAX_VALUE))),f3=p2(a5.options.zMax,Math.max(f3,n2(b3)))))}));var h3=c3===f3?[{value:f3}]:[{value:c3},{value:(c3+f3)/2},{value:f3,autoRanges:true}];e2.length&&e2[0].radius&&h3.reverse();h3.forEach((function(a5,g2){e2&&e2[g2]&&(h3[g2]=F2(e2[g2],a5))}));return h3};a3.prototype.predictBubbleSizes=function(){var a4=this.chart,e2=this.fontMetrics,b3=a4.legend.options,c3=b3.floating,f3=(b3="horizontal"===b3.layout)?a4.legend.lastLineHeight:0,h3=a4.plotSizeX,d4=a4.plotSizeY,v2=a4.series[this.options.seriesIndex],l3=v2.getPxExtremes();a4=Math.ceil(l3.minPxSize);l3=Math.ceil(l3.maxPxSize);var I=Math.min(d4,h3);v2=v2.options.maxSize;if(c3||!/%$/.test(v2))e2=l3;else if(v2=parseFloat(v2),e2=(I+f3-e2.h/2)*v2/100/(v2/100+1),b3&&d4-e2>=h3||!b3&&h3-e2>=d4)e2=l3;return[a4,Math.ceil(e2)]};a3.prototype.updateRanges=function(a4,e2){var b3=this.legend.options.bubbleLegend;b3.minSize=a4;b3.maxSize=e2;b3.ranges=this.getRanges()};a3.prototype.correctSizes=function(){var a4=this.legend,e2=this.chart.series[this.options.seriesIndex].getPxExtremes();1<Math.abs(Math.ceil(e2.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,e2.maxPxSize),a4.render())};return a3}();return b2}));D2(d2,"Series/Bubble/BubbleLegendComposition.js",[d2["Series/Bubble/BubbleLegendDefaults.js"],d2["Series/Bubble/BubbleLegendItem.js"],d2["Core/Defaults.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2){function f2(a3,b3,g3){var c3=this.legend,m2=0<=d3(this),f3;if(c3&&c3.options.enabled&&c3.bubbleLegend&&c3.options.bubbleLegend.autoRanges&&m2){var k3=c3.bubbleLegend.options;m2=c3.bubbleLegend.predictBubbleSizes();c3.bubbleLegend.updateRanges(m2[0],m2[1]);k3.placed||(c3.group.placed=false,c3.allItems.forEach((function(a4){f3=a4.legendItem||{};f3.group&&(f3.group.translateY=null)})));c3.render();this.getMargins();this.axes.forEach((function(a4){a4.visible&&a4.render();k3.placed||(a4.setScale(),a4.updateNames(),e2(a4.ticks,(function(a5){a5.isNew=true;a5.isNewLabel=true})))}));k3.placed=true;this.getMargins();a3.call(this,b3,g3);c3.bubbleLegend.correctSizes();F2(c3,n2(c3))}else a3.call(this,b3,g3),c3&&c3.options.enabled&&c3.bubbleLegend&&(c3.render(),F2(c3,n2(c3)))}function d3(a3){a3=a3.series;for(var e3=0;e3<a3.length;){if(a3[e3]&&a3[e3].isBubble&&a3[e3].visible&&a3[e3].zData.length)return e3;e3++}return-1}function n2(a3){a3=a3.allItems;var e3=[],b3=a3.length,g3,c3=0;for(g3=0;g3<b3;g3++){var f3=a3[g3].legendItem||{};var k3=(a3[g3+1]||{}).legendItem||{};f3.labelHeight&&(a3[g3].itemHeight=f3.labelHeight);if(a3[g3]===a3[b3-1]||f3.y!==k3.y){e3.push({height:0});f3=e3[e3.length-1];for(c3;c3<=g3;c3++)a3[c3].itemHeight>f3.height&&(f3.height=a3[c3].itemHeight);f3.step=g3}}return e3}function r2(a3){var e3=this.bubbleLegend,b3=this.options,g3=b3.bubbleLegend,f3=d3(this.chart);e3&&e3.ranges&&e3.ranges.length&&(g3.ranges.length&&(g3.autoRanges=!!g3.ranges[0].autoRanges),this.destroyItem(e3));0<=f3&&b3.enabled&&g3.enabled&&(g3.seriesIndex=f3,this.bubbleLegend=new c2(g3,this),this.bubbleLegend.addToLegend(a3.allItems))}function q(){var a3=this.chart,e3=this.visible,b3=this.chart.legend;b3&&b3.bubbleLegend&&(this.visible=!e3,this.ignoreSeries=e3,a3=0<=d3(a3),b3.bubbleLegend.visible!==a3&&(b3.update({bubbleLegend:{enabled:a3}}),b3.bubbleLegend.visible=a3),this.visible=e3)}function F2(a3,e3){var b3=a3.options.rtl,g3,c3,f3,k3,m2=0;a3.allItems.forEach((function(a4,x2){k3=a4.legendItem||{};if(k3.group){g3=k3.group.translateX||0;c3=k3.y||0;if((f3=a4.movementX)||b3&&a4.ranges)f3=b3?g3-a4.options.maxSize/2:g3+f3,k3.group.attr({translateX:f3});x2>e3[m2].step&&m2++;k3.group.attr({translateY:Math.round(c3+e3[m2].height/2)});k3.y=c3+e3[m2].height/2}}))}var p2=h2.setOptions,l2=a2.addEvent,e2=a2.objectEach,g2=a2.wrap,k2=[];return{compose:function(a3,e3,c3){-1===k2.indexOf(a3)&&(k2.push(a3),p2({legend:{bubbleLegend:b2}}),g2(a3.prototype,"drawChartBox",f2));-1===k2.indexOf(e3)&&(k2.push(e3),l2(e3,"afterGetAllItems",r2));-1===k2.indexOf(c3)&&(k2.push(c3),l2(c3,"legendItemClick",q))}}}));D2(d2,"Series/Bubble/BubblePoint.js",[d2["Core/Series/Point.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2){var a2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function f2(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(f2.prototype=c3.prototype,new f2)}}();h2=h2.extend;c2=function(c3){function f2(){var a3=null!==c3&&c3.apply(this,arguments)||this;a3.options=void 0;a3.series=void 0;return a3}a2(f2,c3);f2.prototype.haloPath=function(a3){return b2.prototype.haloPath.call(this,0===a3?0:(this.marker?this.marker.radius||0:0)+a3)};return f2}(c2.seriesTypes.scatter.prototype.pointClass);h2(c2.prototype,{ttBelow:false});return c2}));D2(d2,"Series/Bubble/BubbleSeries.js",[d2["Series/Bubble/BubbleLegendComposition.js"],d2["Series/Bubble/BubblePoint.js"],d2["Core/Color/Color.js"],d2["Core/Globals.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2,f2,d3){function n2(){var a3=this,e3=this.len,b3=this.chart,g3=this.isXAxis,c3=g3?"xData":"yData",f3=this.min,k3=this.max-f3,m3=0,d4=e3,h3=e3/k3,l3;this.series.forEach((function(e4){if(e4.bubblePadding&&(e4.visible||!b3.options.chart.ignoreHiddenSeries)){l3=a3.allowZoomOutside=true;var x2=e4[c3];g3&&((e4.onPoint||e4).getRadii(0,0,e4),e4.onPoint&&(e4.radii=e4.onPoint.radii));if(0<k3){for(var B=x2.length;B--;)if(N(x2[B])&&a3.dataMin<=x2[B]&&x2[B]<=a3.max){var y2=e4.radii&&e4.radii[B]||0;m3=Math.min((x2[B]-f3)*h3-y2,m3);d4=Math.max((x2[B]-f3)*h3+y2,d4)}}}}));l3&&0<k3&&!this.logarithmic&&(d4-=e3,h3*=(e3+Math.max(0,m3)-Math.min(d4,e3))/e3,[["min","userMin",m3],["max","userMax",d4]].forEach((function(e4){"undefined"===typeof L2(a3.options[e4[0]],a3[e4[1]])&&(a3[e4[0]]+=e4[2]/h3)})))}var w2=this&&this.__extends||function(){var a3=function(e3,b3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e4){a4.__proto__=e4}||function(a4,e4){for(var b4 in e4)e4.hasOwnProperty(b4)&&(a4[b4]=e4[b4])};return a3(e3,b3)};return function(e3,b3){function g3(){this.constructor=e3}a3(e3,b3);e3.prototype=null===b3?Object.create(b3):(g3.prototype=b3.prototype,new g3)}}(),q=h2.parse;h2=a2.noop;var F2=f2.series,p2=f2.seriesTypes;a2=p2.column.prototype;var l2=p2.scatter;p2=d3.addEvent;var e2=d3.arrayMax,g2=d3.arrayMin,k2=d3.clamp,m2=d3.extend,N=d3.isNumber,G=d3.merge,L2=d3.pick,E2=[];d3=function(a3){function c3(){var e3=null!==a3&&a3.apply(this,arguments)||this;e3.data=void 0;e3.maxPxSize=void 0;e3.minPxSize=void 0;e3.options=void 0;e3.points=void 0;e3.radii=void 0;e3.yData=void 0;e3.zData=void 0;return e3}w2(c3,a3);c3.compose=function(a4,e3,c4,g3){b2.compose(e3,c4,g3);-1===E2.indexOf(a4)&&(E2.push(a4),a4.prototype.beforePadding=n2)};c3.prototype.animate=function(a4){!a4&&this.points.length<this.options.animationLimit&&this.points.forEach((function(a5){var e3=a5.graphic;e3&&e3.width&&(this.hasRendered||e3.attr({x:a5.plotX,y:a5.plotY,width:1,height:1}),e3.animate(this.markerAttribs(a5),this.options.animation))}),this)};c3.prototype.getRadii=function(){var a4=this,e3=this.zData,b3=this.yData,c4=[],g3=this.chart.bubbleZExtremes;var f3=this.getPxExtremes();var k3=f3.minPxSize,m3=f3.maxPxSize;if(!g3){var d4=Number.MAX_VALUE,h3=-Number.MAX_VALUE,l3;this.chart.series.forEach((function(e4){e4.bubblePadding&&(e4.visible||!a4.chart.options.chart.ignoreHiddenSeries)&&(e4=(e4.onPoint||e4).getZExtremes())&&(d4=Math.min(d4||e4.zMin,e4.zMin),h3=Math.max(h3||e4.zMax,e4.zMax),l3=true)}));l3?(g3={zMin:d4,zMax:h3},this.chart.bubbleZExtremes=g3):g3={zMin:0,zMax:0}}var n3=0;for(f3=e3.length;n3<f3;n3++){var v2=e3[n3];c4.push(this.getRadius(g3.zMin,g3.zMax,k3,m3,v2,b3&&b3[n3]))}this.radii=c4};c3.prototype.getRadius=function(a4,e3,b3,c4,g3,f3){var x2=this.options,k3="width"!==x2.sizeBy,m3=x2.zThreshold,d4=e3-a4,h3=.5;if(null===f3||null===g3)return null;if(N(g3)){x2.sizeByAbsoluteValue&&(g3=Math.abs(g3-m3),d4=Math.max(e3-m3,Math.abs(a4-m3)),a4=0);if(g3<a4)return b3/2-1;0<d4&&(h3=(g3-a4)/d4)}k3&&0<=h3&&(h3=Math.sqrt(h3));return Math.ceil(b3+h3*(c4-b3))/2};c3.prototype.hasData=function(){return!!this.processedXData.length};c3.prototype.pointAttribs=function(a4,e3){var b3=this.options.marker.fillOpacity;a4=F2.prototype.pointAttribs.call(this,a4,e3);1!==b3&&(a4.fill=q(a4.fill).setOpacity(b3).get("rgba"));return a4};c3.prototype.translate=function(){a3.prototype.translate.call(this);this.getRadii();this.translateBubble()};c3.prototype.translateBubble=function(){for(var a4=this.data,e3=this.radii,b3=this.getPxExtremes().minPxSize,c4=a4.length;c4--;){var g3=a4[c4],f3=e3?e3[c4]:0;N(f3)&&f3>=b3/2?(g3.marker=m2(g3.marker,{radius:f3,width:2*f3,height:2*f3}),g3.dlBox={x:g3.plotX-f3,y:g3.plotY-f3,width:2*f3,height:2*f3}):(g3.shapeArgs=g3.plotY=g3.dlBox=void 0,g3.isInside=false)}};c3.prototype.getPxExtremes=function(){var a4=Math.min(this.chart.plotWidth,this.chart.plotHeight),e3=function(e4){if("string"===typeof e4){var b4=/%$/.test(e4);e4=parseInt(e4,10)}return b4?a4*e4/100:e4},b3=e3(L2(this.options.minSize,8));e3=Math.max(e3(L2(this.options.maxSize,"20%")),b3);return{minPxSize:b3,maxPxSize:e3}};c3.prototype.getZExtremes=function(){var a4=this.options,b3=(this.zData||[]).filter(N);if(b3.length){var c4=L2(a4.zMin,k2(g2(b3),false===a4.displayNegative?a4.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));a4=L2(a4.zMax,e2(b3));if(N(c4)&&N(a4))return{zMin:c4,zMax:a4}}};c3.defaultOptions=G(l2.defaultOptions,{dataLabels:{formatter:function(){var a4=this.series.chart.numberFormatter,e3=this.point.z;return N(e3)?a4(e3,-1):""},inside:true,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:false,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"});return c3}(l2);m2(d3.prototype,{alignDataLabel:a2.alignDataLabel,applyZones:h2,bubblePadding:true,buildKDTree:h2,directTouch:true,isBubble:true,pointArrayMap:["y","z"],pointClass:c2,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"});p2(d3,"updatedData",(function(a3){delete a3.target.chart.bubbleZExtremes}));p2(d3,"remove",(function(a3){delete a3.target.chart.bubbleZExtremes}));f2.registerSeriesType("bubble",d3);return d3}));D2(d2,"Series/ColumnRange/ColumnRangePoint.js",[d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2){var h2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function f3(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(f3.prototype=c3.prototype,new f3)}}(),a2=b2.seriesTypes;b2=a2.column.prototype.pointClass.prototype;var f2=c2.extend,d3=c2.isNumber;c2=function(a3){function b3(){var b4=null!==a3&&a3.apply(this,arguments)||this;b4.options=void 0;b4.series=void 0;return b4}h2(b3,a3);b3.prototype.isValid=function(){return d3(this.low)};return b3}(a2.arearange.prototype.pointClass);f2(c2.prototype,{setState:b2.setState});return c2}));D2(d2,"Series/ColumnRange/ColumnRangeSeries.js",[d2["Series/ColumnRange/ColumnRangePoint.js"],d2["Core/Globals.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,d3,a2){var f2=this&&this.__extends||function(){var a3=function(e3,b3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e4){a4.__proto__=e4}||function(a4,e4){for(var b4 in e4)e4.hasOwnProperty(b4)&&(a4[b4]=e4[b4])};return a3(e3,b3)};return function(e3,b3){function c3(){this.constructor=e3}a3(e3,b3);e3.prototype=null===b3?Object.create(b3):(c3.prototype=b3.prototype,new c3)}}();c2=c2.noop;var h2=d3.seriesTypes,n2=h2.arearange,r2=h2.column,q=h2.column.prototype,F2=a2.clamp;h2=a2.extend;var p2=a2.isNumber,l2=a2.merge,e2=a2.pick,g2={pointRange:null,marker:null,states:{hover:{halo:false}}};a2=function(a3){function b3(){return null!==a3&&a3.apply(this,arguments)||this}f2(b3,a3);b3.prototype.setOptions=function(){l2(true,arguments[0],{stacking:void 0});return n2.prototype.setOptions.apply(this,arguments)};b3.prototype.translate=function(){var a4=this,b4=this.yAxis,c3=this.xAxis,g3=c3.startAngleRad,f3=this.chart,k2=this.xAxis.isRadial,d4=Math.max(f3.chartWidth,f3.chartHeight)+999,h3,x2,m2,l3;q.translate.apply(this);this.points.forEach((function(B){var t2=B.shapeArgs||{},y2=a4.options.minPointLength,n3=B.plotY,H2=b4.translate(B.high,0,1,0,1);p2(H2)&&p2(n3)&&(B.plotHigh=F2(H2,-d4,d4),B.plotLow=F2(n3,-d4,d4),l3=B.plotHigh,h3=e2(B.rectPlotY,B.plotY)-B.plotHigh,Math.abs(h3)<y2?(x2=y2-h3,h3+=x2,l3-=x2/2):0>h3&&(h3*=-1,l3-=h3),k2&&a4.polar?(m2=B.barX+g3,B.shapeType="arc",B.shapeArgs=a4.polar.arc(l3+h3,l3,m2,m2+B.pointWidth)):(t2.height=h3,t2.y=l3,y2=t2.x,y2=void 0===y2?0:y2,t2=t2.width,t2=void 0===t2?0:t2,B.tooltipPos=f3.inverted?[b4.len+b4.pos-f3.plotLeft-l3-h3/2,c3.len+c3.pos-f3.plotTop-y2-t2/2,h3]:[c3.left-f3.plotLeft+y2+t2/2,b4.pos-f3.plotTop+l3+h3/2,h3]))}))};b3.prototype.pointAttribs=function(){return q.pointAttribs.apply(this,arguments)};b3.prototype.translate3dPoints=function(){return q.translate3dPoints.apply(this,arguments)};b3.prototype.translate3dShapes=function(){return q.translate3dShapes.apply(this,arguments)};b3.defaultOptions=l2(r2.defaultOptions,n2.defaultOptions,g2);return b3}(n2);h2(a2.prototype,{directTouch:true,pointClass:b2,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:q.adjustForMissingColumns,animate:q.animate,crispCol:q.crispCol,drawGraph:c2,drawPoints:q.drawPoints,getSymbol:c2,drawTracker:q.drawTracker,getColumnMetrics:q.getColumnMetrics});d3.registerSeriesType("columnrange",a2);return a2}));D2(d2,"Series/ColumnPyramid/ColumnPyramidSeries.js",[d2["Series/Column/ColumnSeries.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2){var a2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e2){a4.__proto__=e2}||function(a4,e2){for(var b4 in e2)e2.hasOwnProperty(b4)&&(a4[b4]=e2[b4])};return a3(b3,c3)};return function(b3,c3){function f3(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(f3.prototype=c3.prototype,new f3)}}(),f2=b2.prototype,d3=h2.clamp,n2=h2.merge,r2=h2.pick;h2=function(c3){function h3(){var a3=null!==c3&&c3.apply(this,arguments)||this;a3.data=void 0;a3.options=void 0;a3.points=void 0;return a3}a2(h3,c3);h3.prototype.translate=function(){var a3=this,b3=a3.chart,e2=a3.options,c4=a3.dense=2>a3.closestPointRange*a3.xAxis.transA;c4=a3.borderWidth=r2(e2.borderWidth,c4?0:1);var k2=a3.yAxis,h4=e2.threshold,n3=a3.translatedThreshold=k2.getThreshold(h4),G=r2(e2.minPointLength,5),w2=a3.getColumnMetrics(),E2=w2.width,v2=a3.barW=Math.max(E2,1+2*c4),q=a3.pointXOffset=w2.offset;b3.inverted&&(n3-=.5);e2.pointPadding&&(v2=Math.ceil(v2));f2.translate.apply(a3);a3.points.forEach((function(c5){var g2=r2(c5.yBottom,n3),f3=999+Math.abs(g2),m2=d3(c5.plotY,-f3,k2.len+f3);f3=c5.plotX+q;var y2=v2/2,l2=Math.min(m2,g2);g2=Math.max(m2,g2)-l2;var t2;c5.barX=f3;c5.pointWidth=E2;c5.tooltipPos=b3.inverted?[k2.len+k2.pos-b3.plotLeft-m2,a3.xAxis.len-f3-y2,g2]:[f3+y2,m2+k2.pos-b3.plotTop,g2];m2=h4+(c5.total||c5.y);"percent"===e2.stacking&&(m2=h4+(0>c5.y)?-100:100);m2=k2.toPixels(m2,true);var J=(t2=b3.plotHeight-m2-(b3.plotHeight-n3))?y2*(l2-m2)/t2:0;var w3=t2?y2*(l2+g2-m2)/t2:0;t2=f3-J+y2;J=f3+J+y2;var p2=f3+w3+y2;w3=f3-w3+y2;var A2=l2-G;var F2=l2+g2;0>c5.y&&(A2=l2,F2=l2+g2+G);b3.inverted&&(p2=k2.width-l2,t2=m2-(k2.width-n3),J=y2*(m2-p2)/t2,w3=y2*(m2-(p2-g2))/t2,t2=f3+y2+J,J=t2-2*J,p2=f3-w3+y2,w3=f3+w3+y2,A2=l2,F2=l2+g2-G,0>c5.y&&(F2=l2+g2+G));c5.shapeType="path";c5.shapeArgs={x:t2,y:A2,width:J-t2,height:g2,d:[["M",t2,A2],["L",J,A2],["L",p2,F2],["L",w3,F2],["Z"]]}}))};h3.defaultOptions=n2(b2.defaultOptions,{});return h3}(b2);c2.registerSeriesType("columnpyramid",h2);return h2}));D2(d2,"Series/ErrorBar/ErrorBarSeriesDefaults.js",[],(function(){return{color:"#000000",grouping:false,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}}));D2(d2,"Series/ErrorBar/ErrorBarSeries.js",[d2["Series/BoxPlot/BoxPlotSeries.js"],d2["Series/Column/ColumnSeries.js"],d2["Series/ErrorBar/ErrorBarSeriesDefaults.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2,f2){var d3=this&&this.__extends||function(){var a3=function(b3,e2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e3){a4.__proto__=e3}||function(a4,e3){for(var b4 in e3)e3.hasOwnProperty(b4)&&(a4[b4]=e3[b4])};return a3(b3,e2)};return function(b3,e2){function c3(){this.constructor=b3}a3(b3,e2);b3.prototype=null===e2?Object.create(e2):(c3.prototype=e2.prototype,new c3)}}(),n2=a2.seriesTypes.arearange,r2=f2.addEvent,q=f2.merge;f2=f2.extend;var F2=function(a3){function f3(){var e2=null!==a3&&a3.apply(this,arguments)||this;e2.data=void 0;e2.options=void 0;e2.points=void 0;return e2}d3(f3,a3);f3.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||c2.prototype.getColumnMetrics.call(this)};f3.prototype.drawDataLabels=function(){var a4=this.pointValKey;n2&&(n2.prototype.drawDataLabels.call(this),this.data.forEach((function(e2){e2.y=e2[a4]})))};f3.prototype.toYData=function(a4){return[a4.low,a4.high]};f3.defaultOptions=q(b2.defaultOptions,h2);return f3}(b2);r2(F2,"afterTranslate",(function(){this.points.forEach((function(a3){a3.plotLow=a3.plotY}))}),{order:0});f2(F2.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:false});a2.registerSeriesType("errorbar",F2);return F2}));D2(d2,"Series/Gauge/GaugePoint.js",[d2["Core/Series/SeriesRegistry.js"]],(function(b2){var c2=this&&this.__extends||function(){var b3=function(a2,c3){b3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a3,b4){a3.__proto__=b4}||function(a3,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a3[c4]=b4[c4])};return b3(a2,c3)};return function(a2,c3){function f2(){this.constructor=a2}b3(a2,c3);a2.prototype=null===c3?Object.create(c3):(f2.prototype=c3.prototype,new f2)}}();return function(b3){function a2(){var a3=null!==b3&&b3.apply(this,arguments)||this;a3.options=void 0;a3.series=void 0;a3.shapeArgs=void 0;return a3}c2(a2,b3);a2.prototype.setState=function(a3){this.state=a3};return a2}(b2.series.prototype.pointClass)}));D2(d2,"Series/Gauge/GaugeSeries.js",[d2["Series/Gauge/GaugePoint.js"],d2["Core/Globals.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2){var f2=this&&this.__extends||function(){var a3=function(e3,b3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e4){a4.__proto__=e4}||function(a4,e4){for(var b4 in e4)e4.hasOwnProperty(b4)&&(a4[b4]=e4[b4])};return a3(e3,b3)};return function(e3,b3){function c3(){this.constructor=e3}a3(e3,b3);e3.prototype=null===b3?Object.create(b3):(c3.prototype=b3.prototype,new c3)}}();c2=c2.noop;var d3=h2.series,n2=h2.seriesTypes.column,r2=a2.clamp,q=a2.isNumber,F2=a2.extend,p2=a2.merge,l2=a2.pick,e2=a2.pInt;a2=function(a3){function b3(){var e3=null!==a3&&a3.apply(this,arguments)||this;e3.data=void 0;e3.points=void 0;e3.options=void 0;e3.yAxis=void 0;return e3}f2(b3,a3);b3.prototype.translate=function(){var a4=this.yAxis,b4=this.options,c3=a4.center;this.generatePoints();this.points.forEach((function(g2){var f3=p2(b4.dial,g2.dial),d4=e2(f3.radius)*c3[2]/200,h3=e2(f3.baseLength)*d4/100,k2=e2(f3.rearLength)*d4/100,m2=f3.baseWidth,x2=f3.topWidth,B=b4.overshoot,y2=a4.startAngleRad+a4.translate(g2.y,void 0,void 0,void 0,true);if(q(B)||false===b4.wrap)B=q(B)?B/180*Math.PI:0,y2=r2(y2,a4.startAngleRad-B,a4.endAngleRad+B);y2=180*y2/Math.PI;g2.shapeType="path";g2.shapeArgs={d:f3.path||[["M",-k2,-m2/2],["L",h3,-m2/2],["L",d4,-x2/2],["L",d4,x2/2],["L",h3,m2/2],["L",-k2,m2/2],["Z"]],translateX:c3[0],translateY:c3[1],rotation:y2};g2.plotX=c3[0];g2.plotY=c3[1]}))};b3.prototype.drawPoints=function(){var a4=this,e3=a4.chart,b4=a4.yAxis.center,c3=a4.pivot,g2=a4.options,f3=g2.pivot,d4=e3.renderer;a4.points.forEach((function(b5){var c4=b5.graphic,f4=b5.shapeArgs,h3=f4.d,k2=p2(g2.dial,b5.dial);c4?(c4.animate(f4),f4.d=h3):b5.graphic=d4[b5.shapeType](f4).attr({rotation:f4.rotation,zIndex:1}).addClass("highcharts-dial").add(a4.group);if(!e3.styledMode)b5.graphic[c4?"animate":"attr"]({stroke:k2.borderColor,"stroke-width":k2.borderWidth,fill:k2.backgroundColor})}));c3?c3.animate({translateX:b4[0],translateY:b4[1]}):f3&&(a4.pivot=d4.circle(0,0,f3.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(b4[0],b4[1]).add(a4.group),e3.styledMode||a4.pivot.attr({fill:f3.backgroundColor,stroke:f3.borderColor,"stroke-width":f3.borderWidth}))};b3.prototype.animate=function(a4){var e3=this;a4||e3.points.forEach((function(a5){var b4=a5.graphic;b4&&(b4.attr({rotation:180*e3.yAxis.startAngleRad/Math.PI}),b4.animate({rotation:a5.shapeArgs.rotation},e3.options.animation))}))};b3.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup);d3.prototype.render.call(this);this.group.clip(this.chart.clipRect)};b3.prototype.setData=function(a4,e3){d3.prototype.setData.call(this,a4,false);this.processData();this.generatePoints();l2(e3,true)&&this.chart.redraw()};b3.prototype.hasData=function(){return!!this.points.length};b3.defaultOptions=p2(d3.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:false,defer:false,enabled:true,verticalAlign:"top",y:15,zIndex:2},dial:{backgroundColor:"#000000",baseLength:"70%",baseWidth:3,borderColor:"#cccccc",borderWidth:0,radius:"80%",rearLength:"10%",topWidth:1},pivot:{radius:5,borderWidth:0,borderColor:"#cccccc",backgroundColor:"#000000"},tooltip:{headerFormat:""},showInLegend:false});return b3}(d3);F2(a2.prototype,{angular:true,directTouch:true,drawGraph:c2,drawTracker:n2.prototype.drawTracker,fixedBox:true,forceDL:true,noSharedTooltip:true,pointClass:b2,trackerGroups:["group","dataLabelsGroup"]});h2.registerSeriesType("gauge",a2);return a2}));D2(d2,"Series/DragNodesComposition.js",[d2["Core/Utilities.js"]],(function(b2){function c2(){var a3=this,b3,c3,h2;a3.container&&(b3=d3(a3.container,"mousedown",(function(b4){var f2=a3.hoverPoint;f2&&f2.series&&f2.series.hasDraggableNodes&&f2.series.options.draggable&&(f2.series.onMouseDown(f2,b4),c3=d3(a3.container,"mousemove",(function(a4){return f2&&f2.series&&f2.series.onMouseMove(f2,a4)})),h2=d3(a3.container.ownerDocument,"mouseup",(function(a4){c3();h2();return f2&&f2.series&&f2.series.onMouseUp(f2,a4)})))})));d3(a3,"destroy",(function(){b3()}))}var d3=b2.addEvent,a2=[];return{compose:function(b3){-1===a2.indexOf(b3)&&(a2.push(b3),d3(b3,"load",c2))},onMouseDown:function(a3,b3){b3=this.chart.pointer.normalize(b3);a3.fixedPosition={chartX:b3.chartX,chartY:b3.chartY,plotX:a3.plotX,plotY:a3.plotY};a3.inDragMode=true},onMouseMove:function(a3,b3){if(a3.fixedPosition&&a3.inDragMode){var c3=this.chart,f2=c3.pointer.normalize(b3);b3=a3.fixedPosition.chartX-f2.chartX;f2=a3.fixedPosition.chartY-f2.chartY;var d4=c3.graphLayoutsLookup,h2=void 0,w2=void 0;if(5<Math.abs(b3)||5<Math.abs(f2))h2=a3.fixedPosition.plotX-b3,w2=a3.fixedPosition.plotY-f2,c3.isInsidePlot(h2,w2)&&(a3.plotX=h2,a3.plotY=w2,a3.hasDragged=true,this.redrawHalo(a3),d4.forEach((function(a4){a4.restartSimulation()})))}},onMouseUp:function(a3,b3){a3.fixedPosition&&(a3.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),a3.inDragMode=a3.hasDragged=false,this.options.fixedDraggable||delete a3.fixedPosition)},redrawHalo:function(a3){a3&&this.halo&&this.halo.attr({d:a3.haloPath(this.options.states.hover.halo.size)})}}}));D2(d2,"Series/GraphLayoutComposition.js",[d2["Core/Animation/AnimationUtilities.js"],d2["Core/Utilities.js"]],(function(b2,c2){function d3(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(a3){a3.updateSimulation()})),this.redraw())}function a2(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(a3){a3.updateSimulation(false)})),this.redraw())}function f2(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(a3){a3.stop()}))}function w2(){var a3=false,b3=function(e2){e2.maxIterations--&&isFinite(e2.temperature)&&!e2.isStable()&&!e2.enableSimulation&&(e2.beforeStep&&e2.beforeStep(),e2.step(),c3=false,a3=true)};if(this.graphLayoutsLookup){n2(false,this);for(this.graphLayoutsLookup.forEach((function(a4){return a4.start()}));!c3;){var c3=true;this.graphLayoutsLookup.forEach(b3)}a3&&this.series.forEach((function(a4){a4&&a4.layout&&a4.render()}))}}var n2=b2.setAnimation,r2=c2.addEvent,q=[];return{compose:function(b3){q.indexOf(b3)&&(q.push(b3),r2(b3,"afterPrint",d3),r2(b3,"beforePrint",a2),r2(b3,"predraw",f2),r2(b3,"render",w2))},integrations:{},layouts:{}}}));D2(d2,"Series/PackedBubble/PackedBubblePoint.js",[d2["Core/Chart/Chart.js"],d2["Core/Series/Point.js"],d2["Core/Series/SeriesRegistry.js"]],(function(b2,c2,d3){var a2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function f2(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(f2.prototype=c3.prototype,new f2)}}();return function(f2){function d4(){var a3=null!==f2&&f2.apply(this,arguments)||this;a3.degree=NaN;a3.mass=NaN;a3.radius=NaN;a3.options=void 0;a3.series=void 0;a3.value=null;return a3}a2(d4,f2);d4.prototype.destroy=function(){this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes);return c2.prototype.destroy.apply(this,arguments)};d4.prototype.firePointEvent=function(){var a3=this.series.options;if(this.isParentNode&&a3.parentNode){var b3=a3.allowPointSelect;a3.allowPointSelect=a3.parentNode.allowPointSelect;c2.prototype.firePointEvent.apply(this,arguments);a3.allowPointSelect=b3}else c2.prototype.firePointEvent.apply(this,arguments)};d4.prototype.select=function(){var a3=this.series.chart;this.isParentNode?(a3.getSelectedPoints=a3.getSelectedParentNodes,c2.prototype.select.apply(this,arguments),a3.getSelectedPoints=b2.prototype.getSelectedPoints):c2.prototype.select.apply(this,arguments)};return d4}(d3.seriesTypes.bubble.prototype.pointClass)}));D2(d2,"Series/PackedBubble/PackedBubbleSeriesDefaults.js",[d2["Core/Utilities.js"]],(function(b2){var c2=b2.isNumber;return{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:false,tooltip:{pointFormat:"Value: {point.value}"},draggable:true,useSimulation:true,parentNode:{allowPointSelect:false},dataLabels:{formatter:function(){var b3=this.series.chart.numberFormatter,a2=this.point.value;return c2(a2)?b3(a2,-1):""},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:true},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:false,seriesInteraction:true,dragBetweenSeries:false,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:true,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:true,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:false,maxSpeed:5,gravitationalConstant:.01,friction:-.981}}}));D2(d2,"Series/Networkgraph/VerletIntegration.js",[],(function(){return{attractive:function(b2,c2,d3){var a2=b2.getMass(),f2=-d3.x*c2*this.diffTemperature;c2=-d3.y*c2*this.diffTemperature;b2.fromNode.fixedPosition||(b2.fromNode.plotX-=f2*a2.fromNode/b2.fromNode.degree,b2.fromNode.plotY-=c2*a2.fromNode/b2.fromNode.degree);b2.toNode.fixedPosition||(b2.toNode.plotX+=f2*a2.toNode/b2.toNode.degree,b2.toNode.plotY+=c2*a2.toNode/b2.toNode.degree)},attractiveForceFunction:function(b2,c2){return(c2-b2)/b2},barycenter:function(){var b2=this.options.gravitationalConstant,c2=this.barycenter.xFactor,d3=this.barycenter.yFactor;c2=(c2-(this.box.left+this.box.width)/2)*b2;d3=(d3-(this.box.top+this.box.height)/2)*b2;this.nodes.forEach((function(a2){a2.fixedPosition||(a2.plotX-=c2/a2.mass/a2.degree,a2.plotY-=d3/a2.mass/a2.degree)}))},getK:function(b2){return Math.pow(b2.box.width*b2.box.height/b2.nodes.length,.5)},integrate:function(b2,c2){var d3=-b2.options.friction,a2=b2.options.maxSpeed,f2=(c2.plotX+c2.dispX-c2.prevX)*d3;d3*=c2.plotY+c2.dispY-c2.prevY;var w2=Math.abs,n2=w2(f2)/(f2||1);w2=w2(d3)/(d3||1);f2=n2*Math.min(a2,Math.abs(f2));d3=w2*Math.min(a2,Math.abs(d3));c2.prevX=c2.plotX+c2.dispX;c2.prevY=c2.plotY+c2.dispY;c2.plotX+=f2;c2.plotY+=d3;c2.temperature=b2.vectorLength({x:f2,y:d3})},repulsive:function(b2,c2,d3){c2=c2*this.diffTemperature/b2.mass/b2.degree;b2.fixedPosition||(b2.plotX+=d3.x*c2,b2.plotY+=d3.y*c2)},repulsiveForceFunction:function(b2,c2){return(c2-b2)/b2*(c2>b2?1:0)}}}));D2(d2,"Series/PackedBubble/PackedBubbleIntegration.js",[d2["Core/Globals.js"],d2["Series/Networkgraph/VerletIntegration.js"]],(function(b2,c2){return{barycenter:function(){for(var b3=this.options.gravitationalConstant,a2=this.box,c3=this.nodes,d3,n2,r2=0;r2<c3.length;r2++){var q=c3[r2];this.options.splitSeries&&!q.isParentNode?(d3=q.series.parentNode.plotX,n2=q.series.parentNode.plotY):(d3=a2.width/2,n2=a2.height/2);q.fixedPosition||(q.plotX-=(q.plotX-d3)*b3/(q.mass*Math.sqrt(c3.length)),q.plotY-=(q.plotY-n2)*b3/(q.mass*Math.sqrt(c3.length)))}},getK:b2.noop,integrate:c2.integrate,repulsive:function(b3,a2,c3,d3){var f2=a2*this.diffTemperature/b3.mass/b3.degree;a2=c3.x*f2;c3=c3.y*f2;b3.fixedPosition||(b3.plotX+=a2,b3.plotY+=c3);d3.fixedPosition||(d3.plotX-=a2,d3.plotY-=c3)},repulsiveForceFunction:function(b3,a2,c3,d3){return Math.min(b3,(c3.marker.radius+d3.marker.radius)/2)}}}));D2(d2,"Series/Networkgraph/EulerIntegration.js",[],(function(){return{attractive:function(b2,c2,d3,a2){var f2=b2.getMass(),h2=d3.x/a2*c2;c2*=d3.y/a2;b2.fromNode.fixedPosition||(b2.fromNode.dispX-=h2*f2.fromNode/b2.fromNode.degree,b2.fromNode.dispY-=c2*f2.fromNode/b2.fromNode.degree);b2.toNode.fixedPosition||(b2.toNode.dispX+=h2*f2.toNode/b2.toNode.degree,b2.toNode.dispY+=c2*f2.toNode/b2.toNode.degree)},attractiveForceFunction:function(b2,c2){return b2*b2/c2},barycenter:function(){var b2=this.options.gravitationalConstant,c2=this.barycenter.xFactor,d3=this.barycenter.yFactor;this.nodes.forEach((function(a2){if(!a2.fixedPosition){var f2=a2.getDegree();f2*=1+f2/2;a2.dispX+=(c2-a2.plotX)*b2*f2/a2.degree;a2.dispY+=(d3-a2.plotY)*b2*f2/a2.degree}}))},getK:function(b2){return Math.pow(b2.box.width*b2.box.height/b2.nodes.length,.3)},integrate:function(b2,c2){c2.dispX+=c2.dispX*b2.options.friction;c2.dispY+=c2.dispY*b2.options.friction;var d3=c2.temperature=b2.vectorLength({x:c2.dispX,y:c2.dispY});0!==d3&&(c2.plotX+=c2.dispX/d3*Math.min(Math.abs(c2.dispX),b2.temperature),c2.plotY+=c2.dispY/d3*Math.min(Math.abs(c2.dispY),b2.temperature))},repulsive:function(b2,c2,d3,a2){b2.dispX+=d3.x/a2*c2/b2.degree;b2.dispY+=d3.y/a2*c2/b2.degree},repulsiveForceFunction:function(b2,c2){return c2*c2/b2}}}));D2(d2,"Series/Networkgraph/QuadTreeNode.js",[],(function(){return function(){function b2(b3){this.isInternal=this.isEmpty=this.body=false;this.nodes=[];this.box=b3;this.boxSize=Math.min(b3.width,b3.height)}b2.prototype.divideBox=function(){var c2=this.box.width/2,d3=this.box.height/2;this.nodes[0]=new b2({left:this.box.left,top:this.box.top,width:c2,height:d3});this.nodes[1]=new b2({left:this.box.left+c2,top:this.box.top,width:c2,height:d3});this.nodes[2]=new b2({left:this.box.left+c2,top:this.box.top+d3,width:c2,height:d3});this.nodes[3]=new b2({left:this.box.left,top:this.box.top+d3,width:c2,height:d3})};b2.prototype.getBoxPosition=function(b3){var c2=b3.plotY<this.box.top+this.box.height/2;return b3.plotX<this.box.left+this.box.width/2?c2?0:3:c2?1:2};b2.prototype.insert=function(c2,d3){this.isInternal?this.nodes[this.getBoxPosition(c2)].insert(c2,d3-1):(this.isEmpty=false,this.body?d3?(this.isInternal=true,this.divideBox(),true!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,d3-1),this.body=true),this.nodes[this.getBoxPosition(c2)].insert(c2,d3-1)):(d3=new b2({top:c2.plotX||NaN,left:c2.plotY||NaN,width:.1,height:.1}),d3.body=c2,d3.isInternal=false,this.nodes.push(d3)):(this.isInternal=false,this.body=c2))};b2.prototype.updateMassAndCenter=function(){var b3=0,d3=0,a2=0;if(this.isInternal){for(var f2=0,w2=this.nodes;f2<w2.length;f2++){var n2=w2[f2];n2.isEmpty||(b3+=n2.mass,d3+=n2.plotX*n2.mass,a2+=n2.plotY*n2.mass)}d3/=b3;a2/=b3}else this.body&&(b3=this.body.mass,d3=this.body.plotX,a2=this.body.plotY);this.mass=b3;this.plotX=d3;this.plotY=a2};return b2}()}));D2(d2,"Series/Networkgraph/QuadTree.js",[d2["Series/Networkgraph/QuadTreeNode.js"]],(function(b2){return function(){function c2(c3,a2,d3,w2){this.box={left:c3,top:a2,width:d3,height:w2};this.maxDepth=25;this.root=new b2(this.box);this.root.isInternal=true;this.root.isRoot=true;this.root.divideBox()}c2.prototype.calculateMassAndCenter=function(){this.visitNodeRecursive(null,null,(function(b3){b3.updateMassAndCenter()}))};c2.prototype.insertNodes=function(b3){for(var a2=0;a2<b3.length;a2++)this.root.insert(b3[a2],this.maxDepth)};c2.prototype.visitNodeRecursive=function(b3,a2,c3){var d3;b3||(b3=this.root);b3===this.root&&a2&&(d3=a2(b3));if(false!==d3){for(var f2=0,h2=b3.nodes;f2<h2.length;f2++){var q=h2[f2];if(q.isInternal){a2&&(d3=a2(q));if(false===d3)continue;this.visitNodeRecursive(q,a2,c3)}else q.body&&a2&&a2(q.body);c3&&c3(q)}b3===this.root&&c3&&c3(b3)}};return c2}()}));D2(d2,"Series/Networkgraph/ReingoldFruchtermanLayout.js",[d2["Series/Networkgraph/EulerIntegration.js"],d2["Core/Globals.js"],d2["Series/GraphLayoutComposition.js"],d2["Series/Networkgraph/QuadTree.js"],d2["Core/Utilities.js"],d2["Series/Networkgraph/VerletIntegration.js"]],(function(b2,c2,d3,a2,f2,w2){var h2=c2.win,r2=f2.clamp,q=f2.defined,F2=f2.isFunction,p2=f2.pick;return function(){function c3(){this.attractiveForce=void 0;this.box={};this.currentStep=0;this.initialRendering=true;this.integration=void 0;this.links=[];this.nodes=[];this.repulsiveForce=this.quadTree=this.options=void 0;this.series=[];this.simulation=false}c3.compose=function(a3){d3.compose(a3);d3.integrations.euler=b2;d3.integrations.verlet=w2;d3.layouts["reingold-fruchterman"]=c3};c3.prototype.init=function(a3){this.options=a3;this.nodes=[];this.links=[];this.series=[];this.box={x:0,y:0,width:0,height:0};this.setInitialRendering(true);this.integration=d3.integrations[a3.integration];this.enableSimulation=a3.enableSimulation;this.attractiveForce=p2(a3.attractiveForce,this.integration.attractiveForceFunction);this.repulsiveForce=p2(a3.repulsiveForce,this.integration.repulsiveForceFunction);this.approximation=a3.approximation};c3.prototype.updateSimulation=function(a3){this.enableSimulation=p2(a3,this.options.enableSimulation)};c3.prototype.start=function(){var a3=this.series,b3=this.options;this.currentStep=0;this.forces=a3[0]&&a3[0].forces||[];this.chart=a3[0]&&a3[0].chart;this.initialRendering&&(this.initPositions(),a3.forEach((function(a4){a4.finishedAnimating=true;a4.render()})));this.setK();this.resetSimulation(b3);this.enableSimulation&&this.step()};c3.prototype.step=function(){var a3=this,b3=this.series;this.currentStep++;"barnes-hut"===this.approximation&&(this.createQuadTree(),this.quadTree.calculateMassAndCenter());for(var c4=0,d4=this.forces||[];c4<d4.length;c4++)this[d4[c4]+"Forces"](this.temperature);this.applyLimits();this.temperature=this.coolDown(this.startTemperature,this.diffTemperature,this.currentStep);this.prevSystemTemperature=this.systemTemperature;this.systemTemperature=this.getSystemTemperature();if(this.enableSimulation){for(c4=0;c4<b3.length;c4++)d4=b3[c4],d4.chart&&d4.render();this.maxIterations--&&isFinite(this.temperature)&&!this.isStable()?(this.simulation&&h2.cancelAnimationFrame(this.simulation),this.simulation=h2.requestAnimationFrame((function(){return a3.step()}))):this.simulation=false}};c3.prototype.stop=function(){this.simulation&&h2.cancelAnimationFrame(this.simulation)};c3.prototype.setArea=function(a3,b3,c4,d4){this.box={left:a3,top:b3,width:c4,height:d4}};c3.prototype.setK=function(){this.k=this.options.linkLength||this.integration.getK(this)};c3.prototype.addElementsToCollection=function(a3,b3){for(var e2=0;e2<a3.length;e2++){var c4=a3[e2];-1===b3.indexOf(c4)&&b3.push(c4)}};c3.prototype.removeElementFromCollection=function(a3,b3){a3=b3.indexOf(a3);-1!==a3&&b3.splice(a3,1)};c3.prototype.clear=function(){this.nodes.length=0;this.links.length=0;this.series.length=0;this.resetSimulation()};c3.prototype.resetSimulation=function(){this.forcedStop=false;this.systemTemperature=0;this.setMaxIterations();this.setTemperature();this.setDiffTemperature()};c3.prototype.restartSimulation=function(){this.simulation?this.resetSimulation():(this.setInitialRendering(false),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(true))};c3.prototype.setMaxIterations=function(a3){this.maxIterations=p2(a3,this.options.maxIterations)};c3.prototype.setTemperature=function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)};c3.prototype.setDiffTemperature=function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)};c3.prototype.setInitialRendering=function(a3){this.initialRendering=a3};c3.prototype.createQuadTree=function(){this.quadTree=new a2(this.box.left,this.box.top,this.box.width,this.box.height);this.quadTree.insertNodes(this.nodes)};c3.prototype.initPositions=function(){var a3=this.options.initialPositions;if(F2(a3)){a3.call(this);a3=0;for(var b3=this.nodes;a3<b3.length;a3++){var c4=b3[a3];q(c4.prevX)||(c4.prevX=c4.plotX);q(c4.prevY)||(c4.prevY=c4.plotY);c4.dispX=0;c4.dispY=0}}else"circle"===a3?this.setCircularPositions():this.setRandomPositions()};c3.prototype.setCircularPositions=function(){for(var a3=this.box,b3=this.nodes,c4=2*Math.PI/(b3.length+1),d4=b3.filter((function(a4){return 0===a4.linksTo.length})),f3={},h3=this.options.initialPositionRadius,l2=function(a4){var b4=0;for(a4=a4.linksFrom||[];b4<a4.length;b4++){var c5=a4[b4];f3[c5.toNode.id]||(f3[c5.toNode.id]=true,E2.push(c5.toNode),l2(c5.toNode))}},E2=[],v2=0;v2<d4.length;v2++){var q2=d4[v2];E2.push(q2);l2(q2)}if(E2.length)for(d4=0;d4<b3.length;d4++)v2=b3[d4],-1===E2.indexOf(v2)&&E2.push(v2);else E2=b3;d4=0;for(v2=E2.length;d4<v2;++d4)b3=E2[d4],b3.plotX=b3.prevX=p2(b3.plotX,a3.width/2+h3*Math.cos(d4*c4)),b3.plotY=b3.prevY=p2(b3.plotY,a3.height/2+h3*Math.sin(d4*c4)),b3.dispX=0,b3.dispY=0};c3.prototype.setRandomPositions=function(){for(var a3=this.box,b3=this.nodes,c4=b3.length+1,d4=function(a4){a4=a4*a4/Math.PI;return a4-=Math.floor(a4)},f3,h3=0,l2=b3.length;h3<l2;++h3)f3=b3[h3],f3.plotX=f3.prevX=p2(f3.plotX,a3.width*d4(h3)),f3.plotY=f3.prevY=p2(f3.plotY,a3.height*d4(c4+h3)),f3.dispX=0,f3.dispY=0};c3.prototype.force=function(a3){for(var b3=[],c4=1;c4<arguments.length;c4++)b3[c4-1]=arguments[c4];this.integration[a3].apply(this,b3)};c3.prototype.barycenterForces=function(){this.getBarycenter();this.force("barycenter")};c3.prototype.getBarycenter=function(){for(var a3=0,b3=0,c4=0,d4=0,f3=this.nodes;d4<f3.length;d4++){var h3=f3[d4];b3+=h3.plotX*h3.mass;c4+=h3.plotY*h3.mass;a3+=h3.mass}return this.barycenter={x:b3,y:c4,xFactor:b3/a3,yFactor:c4/a3}};c3.prototype.barnesHutApproximation=function(a3,b3){var c4=this.getDistXY(a3,b3),e2=this.vectorLength(c4);if(a3!==b3&&0!==e2)if(b3.isInternal)if(b3.boxSize/e2<this.options.theta&&0!==e2){var d4=this.repulsiveForce(e2,this.k);this.force("repulsive",a3,d4*b3.mass,c4,e2);var g2=false}else g2=true;else d4=this.repulsiveForce(e2,this.k),this.force("repulsive",a3,d4*b3.mass,c4,e2);return g2};c3.prototype.repulsiveForces=function(){var a3=this;if("barnes-hut"===this.approximation)for(var b3=function(b4){c4.quadTree.visitNodeRecursive(null,(function(c5){return a3.barnesHutApproximation(b4,c5)}))},c4=this,d4=0,f3=this.nodes;d4<f3.length;d4++){var h3=f3[d4];b3(h3)}else{f3=d4=b3=void 0;for(var l2=0,E2=this.nodes;l2<E2.length;l2++){h3=E2[l2];for(var v2=0,q2=this.nodes;v2<q2.length;v2++){var n2=q2[v2];h3===n2||h3.fixedPosition||(f3=this.getDistXY(h3,n2),d4=this.vectorLength(f3),0!==d4&&(b3=this.repulsiveForce(d4,this.k),this.force("repulsive",h3,b3*n2.mass,f3,d4)))}}}};c3.prototype.attractiveForces=function(){for(var a3,b3,c4,d4=0,f3=this.links;d4<f3.length;d4++){var h3=f3[d4];h3.fromNode&&h3.toNode&&(a3=this.getDistXY(h3.fromNode,h3.toNode),b3=this.vectorLength(a3),0!==b3&&(c4=this.attractiveForce(b3,this.k),this.force("attractive",h3,c4,a3,b3)))}};c3.prototype.applyLimits=function(){for(var a3=0,b3=this.nodes;a3<b3.length;a3++){var c4=b3[a3];if(c4.fixedPosition)break;this.integration.integrate(this,c4);this.applyLimitBox(c4,this.box);c4.dispX=0;c4.dispY=0}};c3.prototype.applyLimitBox=function(a3,b3){var c4=a3.radius;a3.plotX=r2(a3.plotX,b3.left+c4,b3.width-c4);a3.plotY=r2(a3.plotY,b3.top+c4,b3.height-c4)};c3.prototype.coolDown=function(a3,b3,c4){return a3-b3*c4};c3.prototype.isStable=function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature};c3.prototype.getSystemTemperature=function(){for(var a3=0,b3=0,c4=this.nodes;b3<c4.length;b3++)a3+=c4[b3].temperature;return a3};c3.prototype.vectorLength=function(a3){return Math.sqrt(a3.x*a3.x+a3.y*a3.y)};c3.prototype.getDistR=function(a3,b3){a3=this.getDistXY(a3,b3);return this.vectorLength(a3)};c3.prototype.getDistXY=function(a3,b3){var c4=a3.plotX-b3.plotX;a3=a3.plotY-b3.plotY;return{x:c4,y:a3,absX:Math.abs(c4),absY:Math.abs(a3)}};return c3}()}));D2(d2,"Series/PackedBubble/PackedBubbleLayout.js",[d2["Series/GraphLayoutComposition.js"],d2["Series/PackedBubble/PackedBubbleIntegration.js"],d2["Series/Networkgraph/ReingoldFruchtermanLayout.js"],d2["Core/Utilities.js"]],(function(b2,c2,d3,a2){function f2(){var a3=[];this.series.forEach((function(b3){b3.parentNode&&b3.parentNode.selected&&a3.push(b3.parentNode)}));return a3}function h2(){this.allDataPoints&&delete this.allDataPoints}var n2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function e2(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(e2.prototype=c3.prototype,new e2)}}(),r2=a2.addEvent,q=a2.pick,F2=[];a2=function(a3){function l2(){var b3=null!==a3&&a3.apply(this,arguments)||this;b3.index=NaN;b3.nodes=[];b3.options=void 0;b3.series=[];return b3}n2(l2,a3);l2.compose=function(a4){d3.compose(a4);b2.integrations.packedbubble=c2;b2.layouts.packedbubble=l2;-1===F2.indexOf(a4)&&(F2.push(a4),r2(a4,"beforeRedraw",h2),a4.prototype.getSelectedParentNodes=f2)};l2.prototype.beforeStep=function(){this.options.marker&&this.series.forEach((function(a4){a4&&a4.calculateParentRadius()}))};l2.prototype.isStable=function(){var a4=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&1e-5>a4||0>=this.temperature};l2.prototype.setCircularPositions=function(){for(var a4=this.box,b3=this.nodes,c3=2*Math.PI/(b3.length+1),d4=this.options.initialPositionRadius,f3,h3,l3=0,E2=0;E2<b3.length;E2++){var v2=b3[E2];this.options.splitSeries&&!v2.isParentNode?(f3=v2.series.parentNode.plotX,h3=v2.series.parentNode.plotY):(f3=a4.width/2,h3=a4.height/2);v2.plotX=v2.prevX=q(v2.plotX,f3+d4*Math.cos(v2.index||l3*c3));v2.plotY=v2.prevY=q(v2.plotY,h3+d4*Math.sin(v2.index||l3*c3));v2.dispX=0;v2.dispY=0;l3++}};l2.prototype.repulsiveForces=function(){var a4=this,b3=a4.options.bubblePadding,c3,d4,f3;a4.nodes.forEach((function(e2){e2.degree=e2.mass;e2.neighbours=0;a4.nodes.forEach((function(g2){c3=0;e2===g2||e2.fixedPosition||!a4.options.seriesInteraction&&e2.series!==g2.series||(f3=a4.getDistXY(e2,g2),d4=a4.vectorLength(f3)-(e2.marker.radius+g2.marker.radius+b3),0>d4&&(e2.degree+=.01,e2.neighbours++,c3=a4.repulsiveForce(-d4/Math.sqrt(e2.neighbours),a4.k,e2,g2)),a4.force("repulsive",e2,c3*g2.mass,f3,g2,d4))}))}))};l2.prototype.applyLimitBox=function(b3,c3){if(this.options.splitSeries&&!b3.isParentNode&&this.options.parentNodeLimit){var e2=this.getDistXY(b3,b3.series.parentNode);var d4=b3.series.parentNodeRadius-b3.marker.radius-this.vectorLength(e2);0>d4&&d4>-2*b3.marker.radius&&(b3.plotX-=.01*e2.x,b3.plotY-=.01*e2.y)}a3.prototype.applyLimitBox.call(this,b3,c3)};return l2}(d3);return b2.layouts.packedbubble=a2}));D2(d2,"Series/PackedBubble/PackedBubbleSeries.js",[d2["Core/Color/Color.js"],d2["Series/DragNodesComposition.js"],d2["Series/GraphLayoutComposition.js"],d2["Core/Globals.js"],d2["Series/PackedBubble/PackedBubblePoint.js"],d2["Series/PackedBubble/PackedBubbleSeriesDefaults.js"],d2["Series/PackedBubble/PackedBubbleLayout.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,d3,a2,f2,w2,n2,r2,q){var h2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function e3(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(e3.prototype=c3.prototype,new e3)}}(),p2=b2.parse;b2=a2.noop;var l2=r2.series.prototype,e2=r2.seriesTypes.bubble,g2=q.addEvent,k2=q.clamp,m2=q.defined,D3=q.extend,G=q.fireEvent,L2=q.isArray,E2=q.isNumber,v2=q.merge,Q=q.pick;q=function(a3){function b3(){var b4=null!==a3&&a3.apply(this,arguments)||this;b4.chart=void 0;b4.data=void 0;b4.layout=void 0;b4.options=void 0;b4.parentNodeMass=0;b4.points=void 0;b4.xData=void 0;return b4}h2(b3,a3);b3.compose=function(a4,b4,d4,f3){e2.compose(a4,b4,d4,f3);c2.compose(b4);n2.compose(b4)};b3.prototype.accumulateAllPoints=function(){for(var a4=this.chart,b4=[],c3,e3=0,d4=a4.series;e3<d4.length;e3++){var f3=d4[e3];if(f3.is("packedbubble")&&f3.visible||!a4.options.chart.ignoreHiddenSeries){c3=f3.yData||[];for(var g3=0;g3<c3.length;g3++)b4.push([null,null,c3[g3],f3.index,g3,{id:g3,marker:{radius:0}}])}}return b4};b3.prototype.addLayout=function(){var a4=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},b4=a4.type||"packedbubble",c3=this.chart.options.chart,e3=this.chart.graphLayoutsStorage,f3=this.chart.graphLayoutsLookup;e3||(this.chart.graphLayoutsStorage=e3={},this.chart.graphLayoutsLookup=f3=[]);var g3=e3[b4];g3||(a4.enableSimulation=m2(c3.forExport)?!c3.forExport:a4.enableSimulation,e3[b4]=g3=new d3.layouts[b4],g3.init(a4),f3.splice(g3.index,0,g3));this.layout=g3;this.points.forEach((function(a5){a5.mass=2;a5.degree=1;a5.collisionNmb=1}));g3.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight);g3.addElementsToCollection([this],g3.series);g3.addElementsToCollection(this.points,g3.nodes)};b3.prototype.addSeriesLayout=function(){var a4=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},b4=a4.type||"packedbubble",c3=this.chart.graphLayoutsStorage,e3=this.chart.graphLayoutsLookup;a4=v2(a4,a4.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation});var f3=c3[b4+"-series"];f3||(c3[b4+"-series"]=f3=new d3.layouts[b4],f3.init(a4),e3.splice(f3.index,0,f3));this.parentNodeLayout=f3;this.createParentNodes()};b3.prototype.calculateParentRadius=function(){var a4=this.seriesBox();this.parentNodeRadius=k2(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,a4?Math.max(Math.sqrt(Math.pow(a4.width,2)+Math.pow(a4.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20);this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)};b3.prototype.calculateZExtremes=function(){var a4=this.options.zMin,b4=this.options.zMax,c3=Infinity,e3=-Infinity;if(a4&&b4)return[a4,b4];this.chart.series.forEach((function(a5){a5.yData.forEach((function(a6){m2(a6)&&(a6>e3&&(e3=a6),a6<c3&&(c3=a6))}))}));a4=Q(a4,c3);b4=Q(b4,e3);return[a4,b4]};b3.prototype.checkOverlap=function(a4,b4){var c3=a4[0]-b4[0],e3=a4[1]-b4[1];return-.001>Math.sqrt(c3*c3+e3*e3)-Math.abs(a4[2]+b4[2])};b3.prototype.createParentNodes=function(){var a4=this,b4=this.pointClass,c3=this.chart,e3=this.parentNodeLayout,d4=this.layout.options,f3,g3=this.parentNode,h3={radius:this.parentNodeRadius,lineColor:this.color,fillColor:p2(this.color).brighten(.4).get()};d4.parentNodeOptions&&(h3=v2(d4.parentNodeOptions.marker||{},h3));this.parentNodeMass=0;this.points.forEach((function(b5){a4.parentNodeMass+=Math.PI*Math.pow(b5.marker.radius,2)}));this.calculateParentRadius();e3.nodes.forEach((function(b5){b5.seriesIndex===a4.index&&(f3=true)}));e3.setArea(0,0,c3.plotWidth,c3.plotHeight);f3||(g3||(g3=(new b4).init(this,{mass:this.parentNodeRadius/2,marker:h3,dataLabels:{inside:false},states:{normal:{marker:h3},hover:{marker:h3}},dataLabelOnNull:true,degree:this.parentNodeRadius,isParentNode:true,seriesIndex:this.index})),this.parentNode&&(g3.plotX=this.parentNode.plotX,g3.plotY=this.parentNode.plotY),this.parentNode=g3,e3.addElementsToCollection([this],e3.series),e3.addElementsToCollection([g3],e3.nodes))};b3.prototype.deferLayout=function(){var a4=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),a4.splitSeries&&this.addSeriesLayout())};b3.prototype.destroy=function(){var a4=this;this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach((function(b4){b4.removeElementFromCollection(a4,b4.series)}),this);this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy()));l2.destroy.apply(this,arguments)};b3.prototype.drawDataLabels=function(){l2.drawDataLabels.call(this,this.points);this.parentNode&&(this.parentNode.formatPrefix="parentNode",l2.drawDataLabels.call(this,[this.parentNode]))};b3.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var a4=this.chart,b4=this.layout.options.parentNodeOptions.marker;b4={fill:b4.fillColor||p2(this.color).brighten(.4).get(),opacity:b4.fillOpacity,stroke:b4.lineColor||this.color,"stroke-width":Q(b4.lineWidth,this.options.lineWidth)};this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,a4.seriesGroup),this.group.attr({zIndex:2}));this.calculateParentRadius();var c3=v2({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},b4);this.parentNode.graphic||(this.graph=this.parentNode.graphic=a4.renderer.symbol(b4.symbol).add(this.parentNodesGroup));this.parentNode.graphic.attr(c3)}};b3.prototype.drawTracker=function(){var b4=this.parentNode;a3.prototype.drawTracker.call(this);if(b4){var c3=L2(b4.dataLabels)?b4.dataLabels:b4.dataLabel?[b4.dataLabel]:[];b4.graphic&&(b4.graphic.element.point=b4);c3.forEach((function(a4){a4.div?a4.div.point=b4:a4.element.point=b4}))}};b3.prototype.getPointRadius=function(){var a4=this,b4=this.chart,c3=this.options,e3=c3.useSimulation,d4=Math.min(b4.plotWidth,b4.plotHeight),f3={},g3=[],h3=b4.allDataPoints||[],m3=h3.length,l3,v3,u2,C2;["minSize","maxSize"].forEach((function(a5){var b5=parseInt(c3[a5],10),e4=/%$/.test(c3[a5]);f3[a5]=e4?d4*b5/100:b5*Math.sqrt(m3)}));b4.minRadius=l3=f3.minSize/Math.sqrt(m3);b4.maxRadius=v3=f3.maxSize/Math.sqrt(m3);var z2=e3?this.calculateZExtremes():[l3,v3];h3.forEach((function(b5,c4){u2=e3?k2(b5[2],z2[0],z2[1]):b5[2];C2=a4.getRadius(z2[0],z2[1],l3,v3,u2);0===C2&&(C2=null);h3[c4][2]=C2;g3.push(C2)}));this.radii=g3};b3.prototype.init=function(){l2.init.apply(this,arguments);this.eventsToUnbind.push(g2(this,"updatedData",(function(){var a4=this;this.chart.series.forEach((function(b4){b4.type===a4.type&&(b4.isDirty=true)}),this)})));return this};b3.prototype.onMouseUp=function(a4){var b4=a4;if(b4.fixedPosition&&!b4.removed){var e3=this.layout,d4=this.parentNodeLayout,f3,g3;d4&&e3.options.dragBetweenSeries&&d4.nodes.forEach((function(a5){b4&&b4.marker&&a5!==b4.series.parentNode&&(f3=e3.getDistXY(b4,a5),g3=e3.vectorLength(f3)-a5.marker.radius-b4.marker.radius,0>g3&&(a5.series.addPoint(v2(b4.options,{plotX:b4.plotX,plotY:b4.plotY}),false),e3.removeElementFromCollection(b4,e3.nodes),b4.remove()))}));c2.onMouseUp.apply(this,arguments)}};b3.prototype.placeBubbles=function(a4){var b4=this.checkOverlap,c3=this.positionBubble,e3=[],d4=1,f3=0,g3=0;var h3=[];var k3;a4=a4.sort((function(a5,b5){return b5[2]-a5[2]}));if(a4.length){e3.push([[0,0,a4[0][2],a4[0][3],a4[0][4]]]);if(1<a4.length)for(e3.push([[0,0-a4[1][2]-a4[0][2],a4[1][2],a4[1][3],a4[1][4]]]),k3=2;k3<a4.length;k3++)a4[k3][2]=a4[k3][2]||1,h3=c3(e3[d4][f3],e3[d4-1][g3],a4[k3]),b4(h3,e3[d4][0])?(e3.push([]),g3=0,e3[d4+1].push(c3(e3[d4][f3],e3[d4][0],a4[k3])),d4++,f3=0):1<d4&&e3[d4-1][g3+1]&&b4(h3,e3[d4-1][g3+1])?(g3++,e3[d4].push(c3(e3[d4][f3],e3[d4-1][g3],a4[k3])),f3++):(f3++,e3[d4].push(h3));this.chart.stages=e3;this.chart.rawPositions=[].concat.apply([],e3);this.resizeRadius();h3=this.chart.rawPositions}return h3};b3.prototype.pointAttribs=function(a4,b4){var c3=this.options,e3=c3.marker;a4&&a4.isParentNode&&c3.layoutAlgorithm&&c3.layoutAlgorithm.parentNodeOptions&&(e3=c3.layoutAlgorithm.parentNodeOptions.marker);c3=e3.fillOpacity;a4=l2.pointAttribs.call(this,a4,b4);1!==c3&&(a4["fill-opacity"]=c3);return a4};b3.prototype.positionBubble=function(a4,b4,c3){var e3=Math.sqrt,d4=Math.asin,f3=Math.acos,g3=Math.pow,h3=Math.abs;e3=e3(g3(a4[0]-b4[0],2)+g3(a4[1]-b4[1],2));f3=f3((g3(e3,2)+g3(c3[2]+b4[2],2)-g3(c3[2]+a4[2],2))/(2*(c3[2]+b4[2])*e3));d4=d4(h3(a4[0]-b4[0])/e3);a4=(0>a4[1]-b4[1]?0:Math.PI)+f3+d4*(0>(a4[0]-b4[0])*(a4[1]-b4[1])?1:-1);return[b4[0]+(b4[2]+c3[2])*Math.sin(a4),b4[1]-(b4[2]+c3[2])*Math.cos(a4),c3[2],c3[3],c3[4]]};b3.prototype.render=function(){var a4=[];l2.render.apply(this,arguments);this.options.dataLabels.allowOverlap||(this.data.forEach((function(b4){L2(b4.dataLabels)&&b4.dataLabels.forEach((function(b5){a4.push(b5)}))})),this.options.useSimulation&&this.chart.hideOverlappingLabels(a4))};b3.prototype.resizeRadius=function(){var a4=this.chart,b4=a4.rawPositions,c3=Math.min,e3=Math.max,d4=a4.plotLeft,f3=a4.plotTop,g3=a4.plotHeight,h3=a4.plotWidth,k3,m3;var l3=k3=Number.POSITIVE_INFINITY;var u2=m3=Number.NEGATIVE_INFINITY;for(var C2=0;C2<b4.length;C2++){var z2=b4[C2];var v3=z2[2];l3=c3(l3,z2[0]-v3);u2=e3(u2,z2[0]+v3);k3=c3(k3,z2[1]-v3);m3=e3(m3,z2[1]+v3)}z2=[u2-l3,m3-k3];c3=c3.apply([],[(h3-d4)/z2[0],(g3-f3)/z2[1]]);if(1e-10<Math.abs(c3-1)){for(a4=0;a4<b4.length;a4++)z2=b4[a4],z2[2]*=c3;this.placeBubbles(b4)}else a4.diffY=g3/2+f3-k3-(m3-k3)/2,a4.diffX=h3/2+d4-l3-(u2-l3)/2};b3.prototype.seriesBox=function(){var a4=this.chart,b4=Math.max,c3=Math.min,e3=[a4.plotLeft,a4.plotLeft+a4.plotWidth,a4.plotTop,a4.plotTop+a4.plotHeight],d4;this.data.forEach((function(a5){m2(a5.plotX)&&m2(a5.plotY)&&a5.marker.radius&&(d4=a5.marker.radius,e3[0]=c3(e3[0],a5.plotX-d4),e3[1]=b4(e3[1],a5.plotX+d4),e3[2]=c3(e3[2],a5.plotY-d4),e3[3]=b4(e3[3],a5.plotY+d4))}));return E2(e3.width/e3.height)?e3:null};b3.prototype.setVisible=function(){var a4=this;l2.setVisible.apply(a4,arguments);a4.parentNodeLayout&&a4.graph?a4.visible?(a4.graph.show(),a4.parentNode.dataLabel&&a4.parentNode.dataLabel.show()):(a4.graph.hide(),a4.parentNodeLayout.removeElementFromCollection(a4.parentNode,a4.parentNodeLayout.nodes),a4.parentNode.dataLabel&&a4.parentNode.dataLabel.hide()):a4.layout&&(a4.visible?a4.layout.addElementsToCollection(a4.points,a4.layout.nodes):a4.points.forEach((function(b4){a4.layout.removeElementFromCollection(b4,a4.layout.nodes)})))};b3.prototype.translate=function(){var a4=this.chart,b4=this.data,c3=this.index,e3=this.options.useSimulation;this.processedXData=this.xData;this.generatePoints();m2(a4.allDataPoints)||(a4.allDataPoints=this.accumulateAllPoints(),this.getPointRadius());if(e3)var d4=a4.allDataPoints;else d4=this.placeBubbles(a4.allDataPoints),this.options.draggable=false;for(var f3=0,g3=d4;f3<g3.length;f3++){var h3=g3[f3];if(h3[3]===c3){d4=b4[h3[4]];var k3=Q(h3[2],void 0);e3||(d4.plotX=h3[0]-a4.plotLeft+a4.diffX,d4.plotY=h3[1]-a4.plotTop+a4.diffY);E2(k3)&&(d4.marker=D3(d4.marker,{radius:k3,width:2*k3,height:2*k3}),d4.radius=k3)}}e3&&this.deferLayout();G(this,"afterTranslate")};b3.defaultOptions=v2(e2.defaultOptions,w2);return b3}(e2);D3(q.prototype,{pointClass:f2,axisTypes:[],directTouch:true,forces:["barycenter","repulsive"],hasDraggableNodes:true,isCartesian:false,noSharedTooltip:true,pointArrayMap:["value"],pointValKey:"value",requireSorting:false,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],alignDataLabel:l2.alignDataLabel,indexateNodes:b2,onMouseDown:c2.onMouseDown,onMouseMove:c2.onMouseMove,redrawHalo:c2.redrawHalo,searchPoint:b2});r2.registerSeriesType("packedbubble",q);return q}));D2(d2,"Series/Polygon/PolygonSeries.js",[d2["Core/Globals.js"],d2["Core/Legend/LegendSymbol.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,d3,a2){var f2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function e2(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(e2.prototype=c3.prototype,new e2)}}();b2=b2.noop;var h2=d3.series,n2=d3.seriesTypes,r2=n2.area,q=n2.line,F2=n2.scatter;n2=a2.extend;var p2=a2.merge;a2=function(a3){function b3(){var b4=null!==a3&&a3.apply(this,arguments)||this;b4.data=void 0;b4.options=void 0;b4.points=void 0;return b4}f2(b3,a3);b3.prototype.getGraphPath=function(){for(var a4=q.prototype.getGraphPath.call(this),b4=a4.length+1;b4--;)(b4===a4.length||"M"===a4[b4][0])&&0<b4&&a4.splice(b4,0,["Z"]);return this.areaPath=a4};b3.prototype.drawGraph=function(){this.options.fillColor=this.color;r2.prototype.drawGraph.call(this)};b3.defaultOptions=p2(F2.defaultOptions,{marker:{enabled:false,states:{hover:{enabled:false}}},stickyTracking:false,tooltip:{followPointer:true,pointFormat:""},trackByArea:true});return b3}(F2);n2(a2.prototype,{type:"polygon",drawLegendSymbol:c2.drawRectangle,drawTracker:h2.prototype.drawTracker,setStackedPoints:b2});d3.registerSeriesType("polygon",a2);return a2}));D2(d2,"Core/Axis/WaterfallAxis.js",[d2["Core/Axis/Stacking/StackItem.js"],d2["Core/Utilities.js"]],(function(b2,c2){var d3=c2.addEvent,a2=c2.objectEach,f2;(function(c3){function f3(){var a3=this.waterfall.stacks;a3&&(a3.changed=false,delete a3.alreadyChanged)}function h2(){var a3=this.options.stackLabels;a3&&a3.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function q(){for(var a3=this.axes,b3=this.series,c4=b3.length;c4--;)b3[c4].options.stacking&&(a3.forEach((function(a4){a4.isXAxis||(a4.waterfall.stacks.changed=true)})),c4=0)}function w2(){this.waterfall||(this.waterfall=new p2(this))}var p2=function(){function c4(a3){this.axis=a3;this.stacks={changed:false}}c4.prototype.renderStackTotals=function(){var c5=this.axis,d4=c5.waterfall.stacks,f4=c5.stacking&&c5.stacking.stackTotalGroup,h3=new b2(c5,c5.options.stackLabels||{},false,0,void 0);this.dummyStackItem=h3;f4&&a2(d4,(function(c6){a2(c6,(function(a3,c7){h3.total=a3.stackTotal;h3.x=+c7;a3.label&&(h3.label=a3.label);b2.prototype.render.call(h3,f4);a3.label=h3.label;delete h3.label}))}));h3.total=null};return c4}();c3.Composition=p2;c3.compose=function(a3,b3){d3(a3,"init",w2);d3(a3,"afterBuildStacks",f3);d3(a3,"afterRender",h2);d3(b3,"beforeRedraw",q)}})(f2||(f2={}));return f2}));D2(d2,"Series/Waterfall/WaterfallPoint.js",[d2["Series/Column/ColumnSeries.js"],d2["Core/Series/Point.js"],d2["Core/Utilities.js"]],(function(b2,c2,d3){var a2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function d4(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(d4.prototype=c3.prototype,new d4)}}(),f2=d3.isNumber;return function(b3){function d4(){var a3=null!==b3&&b3.apply(this,arguments)||this;a3.options=void 0;a3.series=void 0;return a3}a2(d4,b3);d4.prototype.getClassName=function(){var a3=c2.prototype.getClassName.call(this);this.isSum?a3+=" highcharts-sum":this.isIntermediateSum&&(a3+=" highcharts-intermediate-sum");return a3};d4.prototype.isValid=function(){return f2(this.y)||this.isSum||!!this.isIntermediateSum};return d4}(b2.prototype.pointClass)}));D2(d2,"Series/Waterfall/WaterfallSeries.js",[d2["Core/Axis/Axis.js"],d2["Core/Chart/Chart.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"],d2["Core/Axis/WaterfallAxis.js"],d2["Series/Waterfall/WaterfallPoint.js"]],(function(b2,c2,d3,a2,f2,w2){var h2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function e3(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(e3.prototype=c3.prototype,new e3)}}(),r2=d3.seriesTypes,q=r2.column,F2=r2.line,p2=a2.arrayMax,l2=a2.arrayMin,e2=a2.correctFloat;r2=a2.extend;var g2=a2.isNumber,k2=a2.merge,m2=a2.objectEach,D3=a2.pick;a2=function(a3){function b3(){var b4=null!==a3&&a3.apply(this,arguments)||this;b4.chart=void 0;b4.data=void 0;b4.options=void 0;b4.points=void 0;b4.stackedYNeg=void 0;b4.stackedYPos=void 0;b4.stackKey=void 0;b4.xData=void 0;b4.yAxis=void 0;b4.yData=void 0;return b4}h2(b3,a3);b3.prototype.generatePoints=function(){q.prototype.generatePoints.apply(this);for(var a4=0,b4=this.points.length;a4<b4;a4++){var c3=this.points[a4],d4=this.processedYData[a4];g2(d4)&&(c3.isIntermediateSum||c3.isSum)&&(c3.y=e2(d4))}};b3.prototype.translate=function(){var a4=this.options,b4=this.yAxis,c3=D3(a4.minPointLength,5),e3=c3/2,d4=a4.threshold||0;a4=a4.stacking;var f3=b4.waterfall.stacks[this.stackKey],h3=d4,k3=d4;q.prototype.translate.apply(this);for(var m3=this.points,t2=0;t2<m3.length;t2++){var l3=m3[t2];var n2=this.processedYData[t2];var p3=l3.shapeArgs;if(p3&&g2(n2)){var A2=[0,n2];var r3=l3.y;if(a4){if(f3){A2=f3[t2];if("overlap"===a4){var w3=A2.stackState[A2.stateIndex--];w3=0<=r3?w3:w3-r3;Object.hasOwnProperty.call(A2,"absolutePos")&&delete A2.absolutePos;Object.hasOwnProperty.call(A2,"absoluteNeg")&&delete A2.absoluteNeg}else 0<=r3?(w3=A2.threshold+A2.posTotal,A2.posTotal-=r3):(w3=A2.threshold+A2.negTotal,A2.negTotal-=r3,w3-=r3),!A2.posTotal&&g2(A2.absolutePos)&&Object.hasOwnProperty.call(A2,"absolutePos")&&(A2.posTotal=A2.absolutePos,delete A2.absolutePos),!A2.negTotal&&g2(A2.absoluteNeg)&&Object.hasOwnProperty.call(A2,"absoluteNeg")&&(A2.negTotal=A2.absoluteNeg,delete A2.absoluteNeg);l3.isSum||(A2.connectorThreshold=A2.threshold+A2.stackTotal);b4.reversed?(n2=0<=r3?w3-r3:w3+r3,r3=w3):(n2=w3,r3=w3-r3);l3.below=n2<=d4;p3.y=b4.translate(n2,false,true,false,true);p3.height=Math.abs(p3.y-b4.translate(r3,false,true,false,true));if(r3=b4.waterfall.dummyStackItem)r3.x=t2,r3.label=f3[t2].label,r3.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[t2],this.stackedYPos[t2],void 0,this.xAxis)}}else w3=Math.max(k3,k3+r3)+A2[0],p3.y=b4.translate(w3,false,true,false,true),l3.isSum?(p3.y=b4.translate(A2[1],false,true,false,true),p3.height=Math.min(b4.translate(A2[0],false,true,false,true),b4.len)-p3.y,l3.below=A2[1]<=d4):l3.isIntermediateSum?(0<=r3?(n2=A2[1]+h3,r3=h3):(n2=h3,r3=A2[1]+h3),b4.reversed&&(n2^=r3,r3^=n2,n2^=r3),p3.y=b4.translate(n2,false,true,false,true),p3.height=Math.abs(p3.y-Math.min(b4.translate(r3,false,true,false,true),b4.len)),h3+=A2[1],l3.below=n2<=d4):(p3.height=0<n2?b4.translate(k3,false,true,false,true)-p3.y:b4.translate(k3,false,true,false,true)-b4.translate(k3-n2,false,true,false,true),k3+=n2,l3.below=k3<d4),0>p3.height&&(p3.y+=p3.height,p3.height*=-1);l3.plotY=p3.y=Math.round(p3.y||0)-this.borderWidth%2/2;p3.height=Math.max(Math.round(p3.height||0),.001);l3.yBottom=p3.y+p3.height;p3.height<=c3&&!l3.isNull?(p3.height=c3,p3.y-=e3,l3.plotY=p3.y,l3.minPointLengthOffset=0>l3.y?-e3:e3):(l3.isNull&&(p3.width=0),l3.minPointLengthOffset=0);r3=l3.plotY+(l3.negative?p3.height:0);l3.below&&(l3.plotY+=p3.height);l3.tooltipPos&&(this.chart.inverted?l3.tooltipPos[0]=b4.len-r3:l3.tooltipPos[1]=r3);l3.isInside=this.isPointInside(l3)}}};b3.prototype.processData=function(b4){var c3=this.options,d4=this.yData,f3=c3.data,g3=d4.length,h3=c3.threshold||0,k3,l3,m3,t2,n2;for(n2=l3=k3=m3=t2=0;n2<g3;n2++){var q2=d4[n2];var p3=f3&&f3[n2]?f3[n2]:{};"sum"===q2||p3.isSum?d4[n2]=e2(l3):"intermediateSum"===q2||p3.isIntermediateSum?(d4[n2]=e2(k3),k3=0):(l3+=q2,k3+=q2);m3=Math.min(l3,m3);t2=Math.max(l3,t2)}a3.prototype.processData.call(this,b4);c3.stacking||(this.dataMin=m3+h3,this.dataMax=t2)};b3.prototype.toYData=function(a4){return a4.isSum?"sum":a4.isIntermediateSum?"intermediateSum":a4.y};b3.prototype.updateParallelArrays=function(b4,c3){a3.prototype.updateParallelArrays.call(this,b4,c3);if("sum"===this.yData[0]||"intermediateSum"===this.yData[0])this.yData[0]=null};b3.prototype.pointAttribs=function(a4,b4){var c3=this.options.upColor;c3&&!a4.options.color&&(a4.color=0<a4.y?c3:void 0);a4=q.prototype.pointAttribs.call(this,a4,b4);delete a4.dashstyle;return a4};b3.prototype.getGraphPath=function(){return[["M",0,0]]};b3.prototype.getCrispPath=function(){var a4=this.data,b4=this.yAxis,c3=a4.length,e3=Math.round(this.graph.strokeWidth())%2/2,d4=Math.round(this.borderWidth)%2/2,f3=this.xAxis.reversed,g3=this.yAxis.reversed,h3=this.options.stacking,k3=[],l3;for(l3=1;l3<c3;l3++){var m3=a4[l3].shapeArgs;var n2=a4[l3-1];var q2=a4[l3-1].shapeArgs;var p3=b4.waterfall.stacks[this.stackKey];var r3=0<n2.y?-q2.height:0;p3&&q2&&m3&&(p3=p3[l3-1],h3?(p3=p3.connectorThreshold,r3=Math.round(b4.translate(p3,false,true,false,true)+(g3?r3:0))-e3):r3=q2.y+n2.minPointLengthOffset+d4-e3,k3.push(["M",(q2.x||0)+(f3?0:q2.width||0),r3],["L",(m3.x||0)+(f3?m3.width||0:0),r3]));q2&&k3.length&&(!h3&&0>n2.y&&!g3||0<n2.y&&g3)&&((n2=k3[k3.length-2])&&"number"===typeof n2[2]&&(n2[2]+=q2.height||0),(n2=k3[k3.length-1])&&"number"===typeof n2[2]&&(n2[2]+=q2.height||0))}return k3};b3.prototype.drawGraph=function(){F2.prototype.drawGraph.call(this);this.graph&&this.graph.attr({d:this.getCrispPath()})};b3.prototype.setStackedPoints=function(){function a4(a5,b5,c4,e4){if(u2){if(R2)for(c4;c4<R2;c4++)u2.stackState[c4]+=e4;else u2.stackState[0]=a5,R2=u2.stackState.length;u2.stackState.push(u2.stackState[R2-1]+b5)}}var b4=this.options,c3=this.yAxis.waterfall.stacks,e3=b4.threshold||0,d4=e3,f3=d4,g3=this.stackKey,h3=this.xData,k3=h3.length,l3,m3,n2;this.yAxis.stacking.usePercentage=false;var q2=l3=m3=d4;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var p3=c3.changed;(n2=c3.alreadyChanged)&&0>n2.indexOf(g3)&&(p3=true);c3[g3]||(c3[g3]={});if(n2=c3[g3])for(var r3=0;r3<k3;r3++){var w3=h3[r3];if(!n2[w3]||p3)n2[w3]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:p3&&n2[w3]?n2[w3].label:void 0};var u2=n2[w3];var C2=this.yData[r3];0<=C2?u2.posTotal+=C2:u2.negTotal+=C2;var z2=b4.data[r3];w3=u2.absolutePos=u2.posTotal;var O2=u2.absoluteNeg=u2.negTotal;u2.stackTotal=w3+O2;var R2=u2.stackState.length;z2&&z2.isIntermediateSum?(a4(m3,l3,0,m3),m3=l3,l3=e3,d4^=f3,f3^=d4,d4^=f3):z2&&z2.isSum?(a4(e3,q2,R2,0),d4=e3):(a4(d4,C2,0,q2),z2&&(q2+=C2,l3+=C2));u2.stateIndex++;u2.threshold=d4;d4+=u2.stackTotal}c3.changed=false;c3.alreadyChanged||(c3.alreadyChanged=[]);c3.alreadyChanged.push(g3)}};b3.prototype.getExtremes=function(){var a4=this.options.stacking;if(a4){var b4=this.yAxis;b4=b4.waterfall.stacks;var c3=this.stackedYNeg=[];var e3=this.stackedYPos=[];"overlap"===a4?m2(b4[this.stackKey],(function(a5){c3.push(l2(a5.stackState));e3.push(p2(a5.stackState))})):m2(b4[this.stackKey],(function(a5){c3.push(a5.negTotal+a5.threshold);e3.push(a5.posTotal+a5.threshold)}));return{dataMin:l2(c3),dataMax:p2(e3)}}return{dataMin:this.dataMin,dataMax:this.dataMax}};b3.defaultOptions=k2(q.defaultOptions,{dataLabels:{inside:true},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}});return b3}(q);r2(a2.prototype,{getZonesGraphs:F2.prototype.getZonesGraphs,pointValKey:"y",showLine:true,pointClass:w2});d3.registerSeriesType("waterfall",a2);f2.compose(b2,c2);return a2}));D2(d2,"Core/Axis/RadialAxis.js",[d2["Core/Axis/AxisDefaults.js"],d2["Core/Defaults.js"],d2["Core/Globals.js"],d2["Core/Utilities.js"]],(function(b2,c2,d3,a2){var f2=c2.defaultOptions,h2=d3.noop,n2=a2.addEvent,r2=a2.correctFloat,q=a2.defined,F2=a2.extend,p2=a2.fireEvent,l2=a2.merge,e2=a2.pick,g2=a2.relativeLength,k2=a2.wrap,m2;(function(a3){function c3(){this.autoConnect=this.isCircular&&"undefined"===typeof e2(this.userMax,this.options.max)&&r2(this.endAngleRad-this.startAngleRad)===r2(2*Math.PI);!this.isCircular&&this.chart.inverted&&this.max++;this.autoConnect&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0)}function d4(){var a4=this;return function(){if(a4.isRadial&&a4.tickPositions&&a4.options.labels&&true!==a4.options.labels.allowOverlap)return a4.tickPositions.map((function(b3){return a4.ticks[b3]&&a4.ticks[b3].label})).filter((function(a5){return!!a5}))}}function m3(){return h2}function v2(a4,b3,c4){var e3=this.pane.center,d5=a4.value;if(this.isCircular){if(q(d5))a4.point&&(f3=a4.point.shapeArgs||{},f3.start&&(d5=this.chart.inverted?this.translate(a4.point.rectPlotY,true):a4.point.x));else{var f3=a4.chartX||0;var g3=a4.chartY||0;d5=this.translate(Math.atan2(g3-c4,f3-b3)-this.startAngleRad,true)}a4=this.getPosition(d5);f3=a4.x;g3=a4.y}else q(d5)||(f3=a4.chartX,g3=a4.chartY),q(f3)&&q(g3)&&(c4=e3[1]+this.chart.plotTop,d5=this.translate(Math.min(Math.sqrt(Math.pow(f3-b3,2)+Math.pow(g3-c4,2)),e3[2]/2)-e3[3]/2,true));return[d5,f3||0,g3||0]}function w2(a4,b3,c4){a4=this.pane.center;var d5=this.chart,f3=this.left||0,g3=this.top||0,h3=e2(b3,a4[2]/2-this.offset);"undefined"===typeof c4&&(c4=this.horiz?0:this.center&&-this.center[3]/2);c4&&(h3+=c4);this.isCircular||"undefined"!==typeof b3?(b3=this.chart.renderer.symbols.arc(f3+a4[0],g3+a4[1],h3,h3,{start:this.startAngleRad,end:this.endAngleRad,open:true,innerR:0}),b3.xBounds=[f3+a4[0]],b3.yBounds=[g3+a4[1]-h3]):(b3=this.postTranslate(this.angleRad,h3),b3=[["M",this.center[0]+d5.plotLeft,this.center[1]+d5.plotTop],["L",b3.x,b3.y]]);return b3}function D3(){this.constructor.prototype.getOffset.call(this);this.chart.axisOffset[this.side]=0}function K(a4,b3,c4){var d5=this.chart,f3=function(a5){if("string"===typeof a5){var b4=parseInt(a5,10);u3.test(a5)&&(b4=b4*C3/100);return b4}return a5},g3=this.center,h3=this.startAngleRad,C3=g3[2]/2,k3=Math.min(this.offset,0),l3=this.left||0,m4=this.top||0,u3=/%$/,z3=this.isCircular,n3=e2(f3(c4.outerRadius),C3),P=f3(c4.innerRadius);f3=e2(f3(c4.thickness),10);if("polygon"===this.options.gridLineInterpolation)k3=this.getPlotLinePath({value:a4}).concat(this.getPlotLinePath({value:b3,reverse:true}));else{a4=Math.max(a4,this.min);b3=Math.min(b3,this.max);a4=this.translate(a4);b3=this.translate(b3);z3||(n3=a4||0,P=b3||0);if("circle"!==c4.shape&&z3)c4=h3+(a4||0),h3+=b3||0;else{c4=-Math.PI/2;h3=1.5*Math.PI;var q2=true}n3-=k3;k3=d5.renderer.symbols.arc(l3+g3[0],m4+g3[1],n3,n3,{start:Math.min(c4,h3),end:Math.max(c4,h3),innerR:e2(P,n3-(f3-k3)),open:q2});z3&&(z3=(h3+c4)/2,l3=l3+g3[0]+g3[2]/2*Math.cos(z3),k3.xBounds=z3>-Math.PI/2&&z3<Math.PI/2?[l3,d5.plotWidth]:[0,l3],k3.yBounds=[m4+g3[1]+g3[2]/2*Math.sin(z3)],k3.yBounds[0]+=z3>-Math.PI&&0>z3||z3>Math.PI?-10:10)}return k3}function x2(a4){var b3=this,c4=this.pane.center,e3=this.chart,d5=e3.inverted,f3=a4.reverse,h3=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},C3=h3.innerRadius||"0%",k3=h3.outerRadius||"100%",l3=c4[0]+e3.plotLeft,m4=c4[1]+e3.plotTop,u3=this.height,z3=a4.isCrosshair;h3=c4[3]/2;var n3=a4.value,P;var q2=this.getPosition(n3);var p3=q2.x;q2=q2.y;z3&&(q2=this.getCrosshairPosition(a4,l3,m4),n3=q2[0],p3=q2[1],q2=q2[2]);if(this.isCircular)n3=Math.sqrt(Math.pow(p3-l3,2)+Math.pow(q2-m4,2)),f3="string"===typeof C3?g2(C3,1):C3/n3,e3="string"===typeof k3?g2(k3,1):k3/n3,c4&&h3&&(h3/=n3,f3<h3&&(f3=h3),e3<h3&&(e3=h3)),c4=[["M",l3+f3*(p3-l3),m4-f3*(m4-q2)],["L",p3-(1-e3)*(p3-l3),q2+(1-e3)*(m4-q2)]];else if((n3=this.translate(n3))&&(0>n3||n3>u3)&&(n3=0),"circle"===this.options.gridLineInterpolation)c4=this.getLinePath(0,n3,h3);else if(c4=[],e3[d5?"yAxis":"xAxis"].forEach((function(a5){a5.pane===b3.pane&&(P=a5)})),P)for(l3=P.tickPositions,P.autoConnect&&(l3=l3.concat([l3[0]])),f3&&(l3=l3.slice().reverse()),n3&&(n3+=h3),m4=0;m4<l3.length;m4++)h3=P.getPosition(l3[m4],n3),c4.push(m4?["L",h3.x,h3.y]:["M",h3.x,h3.y]);return c4}function B(a4,b3){a4=this.translate(a4);return this.postTranslate(this.isCircular?a4:this.angleRad,e2(this.isCircular?b3:0>a4?0:a4,this.center[2]/2)-this.offset)}function y2(){var a4=this.center,b3=this.chart,c4=this.options.title;return{x:b3.plotLeft+a4[0]+(c4.x||0),y:b3.plotTop+a4[1]-{high:.5,middle:.25,low:0}[c4.align]*a4[2]+(c4.y||0)}}function H2(a4){a4.beforeSetTickPositions=c3;a4.createLabelCollector=d4;a4.getCrosshairPosition=v2;a4.getLinePath=w2;a4.getOffset=D3;a4.getPlotBandPath=K;a4.getPlotLinePath=x2;a4.getPosition=B;a4.getTitlePosition=y2;a4.postTranslate=u2;a4.setAxisSize=z2;a4.setAxisTranslation=O2;a4.setOptions=R2}function t2(){var a4=this.chart,b3=this.options,c4=this.pane,d5=c4&&c4.options;a4.angular&&this.isXAxis||!c4||!a4.angular&&!a4.polar||(a4=2*Math.PI,c4=(e2(d5.startAngle,0)-90)*Math.PI/180,d5=(e2(d5.endAngle,e2(d5.startAngle,0)+360)-90)*Math.PI/180,this.angleRad=(b3.angle||0)*Math.PI/180,this.startAngleRad=c4,this.endAngleRad=d5,this.offset=b3.offset||0,b3=(c4%a4+a4)%a4,d5=(d5%a4+a4)%a4,b3>Math.PI&&(b3-=a4),d5>Math.PI&&(d5-=a4),this.normalizedStartAngleRad=b3,this.normalizedEndAngleRad=d5)}function J(a4){this.isRadial&&(a4.align=void 0,a4.preventDefault())}function N(){if(this.chart&&this.chart.labelCollectors){var a4=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=a4&&this.chart.labelCollectors.splice(a4,1)}}function U(a4){var c4=this.chart,e3=c4.inverted,d5=c4.angular,f3=c4.polar,g3=this.isXAxis,k3=this.coll,n3=d5&&g3;a4=a4.userOptions.pane||0;a4=this.pane=c4.pane&&c4.pane[a4];var u3;if("colorAxis"===k3)this.isRadial=false;else{if(d5){if(n3?(this.isHidden=true,this.createLabelCollector=m3,this.getOffset=h2,this.render=this.redraw=C2,this.setTitle=this.setCategories=this.setScale=h2):H2(this),u3=!g3)this.defaultPolarOptions=Y}else f3&&(H2(this),this.defaultPolarOptions=(u3=this.horiz)?X:l2("xAxis"===k3?b2.defaultXAxisOptions:b2.defaultYAxisOptions,Z),e3&&"yAxis"===k3&&(this.defaultPolarOptions.stackLabels=b2.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=true));d5||f3?(this.isRadial=true,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&c4.labelCollectors.push(this.labelCollector)):this.isRadial=false;a4&&u3&&(a4.axis=this);this.isCircular=u3}}function A2(){this.isRadial&&this.beforeSetTickPositions()}function M(a4){var b3=this.label;if(b3){var c4=this.axis,d5=b3.getBBox(),f3=c4.options.labels,h3=(c4.translate(this.pos)+c4.startAngleRad+Math.PI/2)/Math.PI*180%360,C3=Math.round(h3),k3=q(f3.y)?0:.3*-d5.height,l3=f3.y,m4=20,u3=f3.align,n3="end",z3=0>C3?C3+360:C3,p3=z3,O3=0,t3=0;if(c4.isRadial){var r3=c4.getPosition(this.pos,c4.center[2]/2+g2(e2(f3.distance,-25),c4.center[2]/2,-c4.center[2]/2));"auto"===f3.rotation?b3.attr({rotation:h3}):q(l3)||(l3=c4.chart.renderer.fontMetrics(b3.styles&&b3.styles.fontSize).b-d5.height/2);q(u3)||(c4.isCircular?(d5.width>c4.len*c4.tickInterval/(c4.max-c4.min)&&(m4=0),u3=h3>m4&&h3<180-m4?"left":h3>180+m4&&h3<360-m4?"right":"center"):u3="center",b3.attr({align:u3}));if("auto"===u3&&2===c4.tickPositions.length&&c4.isCircular){90<z3&&180>z3?z3=180-z3:270<z3&&360>=z3&&(z3=540-z3);180<p3&&360>=p3&&(p3=360-p3);if(c4.pane.options.startAngle===C3||c4.pane.options.startAngle===C3+360||c4.pane.options.startAngle===C3-360)n3="start";u3=-90<=C3&&90>=C3||-360<=C3&&-270>=C3||270<=C3&&360>=C3?"start"===n3?"right":"left":"start"===n3?"left":"right";70<p3&&110>p3&&(u3="center");15>z3||180<=z3&&195>z3?O3=.3*d5.height:15<=z3&&35>=z3?O3="start"===n3?0:.75*d5.height:195<=z3&&215>=z3?O3="start"===n3?.75*d5.height:0:35<z3&&90>=z3?O3="start"===n3?.25*-d5.height:d5.height:215<z3&&270>=z3&&(O3="start"===n3?d5.height:.25*-d5.height);15>p3?t3="start"===n3?.15*-d5.height:.15*d5.height:165<p3&&180>=p3&&(t3="start"===n3?.15*d5.height:.15*-d5.height);b3.attr({align:u3});b3.translate(t3,O3+k3)}a4.pos.x=r3.x+(f3.x||0);a4.pos.y=r3.y+(l3||0)}}}function S2(a4){this.axis.getPosition&&F2(a4.pos,this.axis.getPosition(this.pos))}function u2(a4,b3){var c4=this.chart,e3=this.center;a4=this.startAngleRad+a4;return{x:c4.plotLeft+e3[0]+Math.cos(a4)*b3,y:c4.plotTop+e3[1]+Math.sin(a4)*b3}}function C2(){this.isDirty=false}function z2(){this.constructor.prototype.setAxisSize.call(this);if(this.isRadial){this.pane.updateCenter(this);var a4=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var b3=this.postTranslate(this.angleRad,a4[3]/2);a4[0]=b3.x-this.chart.plotLeft;a4[1]=b3.y-this.chart.plotTop}this.len=this.width=this.height=(a4[2]-a4[3])*e2(this.sector,1)/2}}function O2(){this.constructor.prototype.setAxisTranslation.call(this);this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)}function R2(a4){a4=this.options=l2(this.constructor.defaultOptions,this.defaultPolarOptions,f2[this.coll],a4);a4.plotBands||(a4.plotBands=[]);p2(this,"afterSetOptions")}function W2(a4,b3,c4,e3,d5,f3,g3){var h3=this.axis;h3.isRadial?(a4=h3.getPosition(this.pos,h3.center[2]/2+e3),b3=["M",b3,c4,"L",a4.x,a4.y]):b3=a4.call(this,b3,c4,e3,d5,f3,g3);return b3}var T2=[],X={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:false,tickLength:0},Y={labels:{align:"center",x:0,y:void 0},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},Z={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:false,title:{x:4,text:null,rotation:90}};a3.compose=function(a4,b3){-1===T2.indexOf(a4)&&(T2.push(a4),n2(a4,"afterInit",t2),n2(a4,"autoLabelAlign",J),n2(a4,"destroy",N),n2(a4,"init",U),n2(a4,"initialAxisTranslation",A2));-1===T2.indexOf(b3)&&(T2.push(b3),n2(b3,"afterGetLabelPosition",M),n2(b3,"afterGetPosition",S2),k2(b3.prototype,"getMarkPath",W2));return a4}})(m2||(m2={}));return m2}));D2(d2,"Series/PolarComposition.js",[d2["Core/Animation/AnimationUtilities.js"],d2["Core/Globals.js"],d2["Extensions/Pane.js"],d2["Core/Axis/RadialAxis.js"],d2["Core/Utilities.js"]],(function(b2,c2,d3,a2,f2){function h2(a3,b3,c3,e3){var d4=e3?1:0;var f3=0<=b3&&b3<=a3.length-1?b3:0>b3?a3.length-1+b3:0;b3=0>f3-1?a3.length-(1+d4):f3-1;var g3=a3[b3];d4=a3[f3+1>a3.length-1?d4:f3+1];var C2=g3.plotY;var k3=d4.plotX;var l3=d4.plotY;d4=a3[f3].plotX;f3=a3[f3].plotY;g3=(1.5*d4+g3.plotX)/2.5;C2=(1.5*f3+C2)/2.5;k3=(1.5*d4+k3)/2.5;var m3=(1.5*f3+l3)/2.5;l3=Math.sqrt(Math.pow(g3-d4,2)+Math.pow(C2-f3,2));var z2=Math.sqrt(Math.pow(k3-d4,2)+Math.pow(m3-f3,2));g3=Math.atan2(C2-f3,g3-d4);m3=Math.PI/2+(g3+Math.atan2(m3-f3,k3-d4))/2;Math.abs(g3-m3)>Math.PI/2&&(m3-=Math.PI);g3=d4+Math.cos(m3)*l3;C2=f3+Math.sin(m3)*l3;k3=d4+Math.cos(Math.PI+m3)*z2;m3=f3+Math.sin(Math.PI+m3)*z2;d4={rightContX:k3,rightContY:m3,leftContX:g3,leftContY:C2,plotX:d4,plotY:f3};c3&&(d4.prevPointCont=h2(a3,b3,false,e3));return d4}function n2(){(this.pane||[]).forEach((function(a3){a3.render()}))}function r2(a3){var b3=a3.args[0].xAxis,c3=a3.args[0].yAxis;a3=a3.args[0].chart;b3&&c3&&("polygon"===c3.gridLineInterpolation?(b3.startOnTick=true,b3.endOnTick=true):"polygon"===b3.gridLineInterpolation&&a3.inverted&&(c3.startOnTick=true,c3.endOnTick=true))}function q(){var a3=this;this.pane||(this.pane=[]);this.options.pane=V2(this.options.pane);this.options.pane.forEach((function(b3){new d3(b3,a3)}),this)}function D3(a3){var b3=a3.args.marker,c3=this.chart.xAxis[0],d4=this.chart.yAxis[0],e3=this.chart.inverted,f3=e3?d4:c3;c3=e3?c3:d4;if(this.chart.polar){a3.preventDefault();d4=(b3.attr?b3.attr("start"):b3.start)-f3.startAngleRad;e3=b3.attr?b3.attr("r"):b3.r;var g3=(b3.attr?b3.attr("end"):b3.end)-f3.startAngleRad;b3=b3.attr?b3.attr("innerR"):b3.innerR;a3.result.x=d4+f3.pos;a3.result.width=g3-d4;a3.result.y=c3.len+c3.pos-b3;a3.result.height=b3-e3}}function p2(a3){var b3=this.chart;if(b3.polar&&b3.hoverPane&&b3.hoverPane.axis){a3.preventDefault();var c3=b3.hoverPane.center,d4=this.mouseDownX||0,e3=this.mouseDownY||0,f3=a3.args.chartY,g3=a3.args.chartX,h3=2*Math.PI,l3=b3.hoverPane.axis.startAngleRad,m3=b3.hoverPane.axis.endAngleRad,n3=b3.inverted?b3.xAxis[0]:b3.yAxis[0],u2={},q2="arc";u2.x=c3[0]+b3.plotLeft;u2.y=c3[1]+b3.plotTop;if(this.zoomHor){var p3=0<l3?m3-l3:Math.abs(l3)+Math.abs(m3),t3=Math.atan2(e3-b3.plotTop-c3[1],d4-b3.plotLeft-c3[0])-l3,r3=Math.atan2(f3-b3.plotTop-c3[1],g3-b3.plotLeft-c3[0])-l3;u2.r=c3[2]/2;u2.innerR=c3[3]/2;0>=t3&&(t3+=h3);0>=r3&&(r3+=h3);r3<t3&&(r3=[t3,t3=r3][0]);p3<h3&&l3+r3>m3+(h3-p3)/2&&(r3=t3,t3=0>=l3?l3:0);h3=u2.start=Math.max(t3+l3,l3);t3=u2.end=Math.min(r3+l3,m3);"polygon"===n3.options.gridLineInterpolation&&(r3=b3.hoverPane.axis,p3=h3-r3.startAngleRad+r3.pos,t3-=h3,q2=n3.getPlotLinePath({value:n3.max}),h3=r3.toValue(p3),p3=r3.toValue(p3+t3),h3<r3.getExtremes().min&&(t3=r3.getExtremes(),h3=t3.max-(t3.min-h3)),p3<r3.getExtremes().min&&(t3=r3.getExtremes(),p3=t3.max-(t3.min-p3)),p3<h3&&(p3=[h3,h3=p3][0]),q2=k2(q2,h3,p3,r3),q2.push(["L",c3[0]+b3.plotLeft,b3.plotTop+c3[1]]),u2.d=q2,q2="path")}this.zoomVert&&(r3=b3.inverted?b3.xAxis[0]:b3.yAxis[0],d4=Math.sqrt(Math.pow(d4-b3.plotLeft-c3[0],2)+Math.pow(e3-b3.plotTop-c3[1],2)),f3=Math.sqrt(Math.pow(g3-b3.plotLeft-c3[0],2)+Math.pow(f3-b3.plotTop-c3[1],2)),f3<d4&&(d4=[f3,f3=d4][0]),f3>c3[2]/2&&(f3=c3[2]/2),d4<c3[3]/2&&(d4=c3[3]/2),this.zoomHor||(u2.start=l3,u2.end=m3),u2.r=f3,u2.innerR=d4,"polygon"===r3.options.gridLineInterpolation&&(t3=r3.toValue(r3.len+r3.pos-d4),h3=r3.toValue(r3.len+r3.pos-f3),q2=r3.getPlotLinePath({value:h3}).concat(r3.getPlotLinePath({value:t3,reverse:true})),u2.d=q2,q2="path"));this.zoomHor&&this.zoomVert&&"polygon"===n3.options.gridLineInterpolation&&(r3=b3.hoverPane.axis,h3=u2.start||0,t3=u2.end||0,p3=h3-r3.startAngleRad+r3.pos,t3-=h3,h3=r3.toValue(p3),p3=r3.toValue(p3+t3),u2.d instanceof Array&&(c3=u2.d.slice(0,u2.d.length/2),l3=u2.d.slice(u2.d.length/2,u2.d.length),l3=K([],l3,true).reverse(),b3=b3.hoverPane.axis,c3=k2(c3,h3,p3,b3),(l3=k2(l3,h3,p3,b3))&&(l3[0][0]="L"),l3=K([],l3,true).reverse(),u2.d=c3.concat(l3),q2="path"));a3.attrs=u2;a3.shapeType=q2}}function l2(){var a3=this.chart;a3.polar&&(this.polar=new S2(this),a3.inverted&&(this.isRadialSeries=true,this.is("column")&&(this.isRadialBar=true)))}function e2(){if(this.chart.polar&&this.xAxis){var a3=this.chart;(this.kdByAngle=a3.tooltip&&a3.tooltip.shared)?this.searchPoint=g2:this.options.findNearestPointBy="xy";for(var b3=this.points,d4=b3.length;d4--;)this.preventPostTranslate||this.polar.toXY(b3[d4]),a3.hasParallelCoordinates||this.yAxis.reversed||(J(b3[d4].y,Number.MIN_VALUE)<this.yAxis.min||b3[d4].x<this.xAxis.min||b3[d4].x>this.xAxis.max?(b3[d4].isNull=true,b3[d4].plotY=NaN):b3[d4].isNull=b3[d4].isValid&&!b3[d4].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(B(this,"afterRender",(function(){if(a3.polar){var b4=this.yAxis.pane.center;if(this.clipCircle)this.clipCircle.animate({x:b4[0],y:b4[1],r:b4[2]/2,innerR:b4[3]/2});else{var d5=a3.renderer,e3=b4[0],f3=b4[1],g3=b4[2]/2,h3=b4[3]/2;b4=U();var k3=d5.createElement("clipPath").attr({id:b4}).add(d5.defs);d5=h3?d5.arc(e3,f3,g3,h3,0,2*Math.PI).add(k3):d5.circle(e3,f3,g3).add(k3);d5.id=b4;d5.clipPath=k3;this.clipCircle=d5}this.group.clip(this.clipCircle);this.setClip=c2.noop}}))))}}function g2(a3){var b3=this.chart,c3=this.xAxis;c3=c3.pane&&c3.pane.center;return this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(a3.chartX-(c3&&c3[0]||0)-b3.plotLeft,a3.chartY-(c3&&c3[1]||0)-b3.plotTop)})}function k2(a3,b3,c3,d4){var e3=d4.tickInterval;d4=d4.tickPositions;var f3=H2(d4,(function(a4){return a4>=c3})),g3=H2(K([],d4,true).reverse(),(function(a4){return a4<=b3}));y2(f3)||(f3=d4[d4.length-1]);y2(g3)||(g3=d4[0],f3+=e3,a3[0][0]="L",a3.unshift(a3[a3.length-3]));a3=a3.slice(d4.indexOf(g3),d4.indexOf(f3)+1);a3[0][0]="M";return a3}function m2(a3,b3){return H2(this.pane||[],(function(a4){return a4.options.id===b3}))||a3.call(this,b3)}function N(a3,b3,c3,d4,e3,f3){var g3=this.chart,h3=J(d4.inside,!!this.options.stacking);g3.polar?(a3=b3.rectPlotX/Math.PI*180,g3.inverted?(this.forceDL=g3.isInsidePlot(b3.plotX,b3.plotY),h3&&b3.shapeArgs?(e3=b3.shapeArgs,e3=this.yAxis.postTranslate(((e3.start||0)+(e3.end||0))/2-this.xAxis.startAngleRad,b3.barX+b3.pointWidth/2),e3={x:e3.x-g3.plotLeft,y:e3.y-g3.plotTop}):b3.tooltipPos&&(e3={x:b3.tooltipPos[0],y:b3.tooltipPos[1]}),d4.align=J(d4.align,"center"),d4.verticalAlign=J(d4.verticalAlign,"middle")):(null===d4.align&&(d4.align=20<a3&&160>a3?"left":200<a3&&340>a3?"right":"center"),null===d4.verticalAlign&&(d4.verticalAlign=45>a3||315<a3?"bottom":135<a3&&225>a3?"top":"middle")),Object.getPrototypeOf(Object.getPrototypeOf(this)).alignDataLabel.call(this,b3,c3,d4,e3,f3),this.isRadialBar&&b3.shapeArgs&&b3.shapeArgs.start===b3.shapeArgs.end?c3.hide():c3.show()):a3.call(this,b3,c3,d4,e3,f3)}function G(a3){var b3=this.options,c3=b3.stacking,d4=this.chart,e3=this.xAxis,g3=this.yAxis,h3=g3.reversed,k3=g3.center,l3=e3.startAngleRad,m3=e3.endAngleRad-l3,n3=0,p3=0,q2=0;this.preventPostTranslate=true;a3.call(this);if(e3.isRadial){a3=this.points;e3=a3.length;var r3=g3.translate(g3.min);var u2=g3.translate(g3.max);b3=b3.threshold||0;d4.inverted&&t2(b3)&&(n3=g3.translate(b3),y2(n3)&&(0>n3?n3=0:n3>m3&&(n3=m3),this.translatedThreshold=n3+l3));for(;e3--;){b3=a3[e3];var v3=b3.barX;var w2=b3.x;var x3=b3.y;b3.shapeType="arc";if(d4.inverted){b3.plotY=g3.translate(x3);c3&&g3.stacking?(x3=g3.stacking.stacks[(0>x3?"-":"")+this.stackKey],this.visible&&x3&&x3[w2]&&!b3.isNull&&(q2=x3[w2].points[this.getStackIndicator(void 0,w2,this.index).key],p3=g3.translate(q2[0]),q2=g3.translate(q2[1]),y2(p3)&&(p3=f2.clamp(p3,0,m3)))):(p3=n3,q2=b3.plotY);p3>q2&&(q2=[p3,p3=q2][0]);if(!h3)if(p3<r3)p3=r3;else if(q2>u2)q2=u2;else{if(q2<r3||p3>u2)p3=q2=0}else if(q2>r3)q2=r3;else if(p3<u2)p3=u2;else if(p3>r3||q2<u2)p3=q2=m3;g3.min>g3.max&&(p3=q2=h3?m3:0);p3+=l3;q2+=l3;k3&&(b3.barX=v3+=k3[3]/2);w2=Math.max(v3,0);x3=Math.max(v3+b3.pointWidth,0);b3.shapeArgs={x:k3&&k3[0],y:k3&&k3[1],r:x3,innerR:w2,start:p3,end:q2};b3.opacity=p3===q2?0:void 0;b3.plotY=(y2(this.translatedThreshold)&&(p3<this.translatedThreshold?p3:q2))-l3}else p3=v3+l3,b3.shapeArgs=this.polar.arc(b3.yBottom,b3.plotY,p3,p3+b3.pointWidth);this.polar.toXY(b3);d4.inverted?(v3=g3.postTranslate(b3.rectPlotY,v3+b3.pointWidth/2),b3.tooltipPos=[v3.x-d4.plotLeft,v3.y-d4.plotTop]):b3.tooltipPos=[b3.plotX,b3.plotY];k3&&(b3.ttBelow=b3.plotY>k3[1])}}}function L2(a3,b3){var c3=this;if(this.chart.polar){b3=b3||this.points;for(var d4=0;d4<b3.length;d4++)if(!b3[d4].isNull){var e3=d4;break}if(false!==this.options.connectEnds&&"undefined"!==typeof e3){this.connectEnds=true;b3.splice(b3.length,0,b3[e3]);var f3=true}b3.forEach((function(a4){"undefined"===typeof a4.polarPlotY&&c3.polar.toXY(a4)}))}e3=a3.apply(this,[].slice.call(arguments,1));f3&&b3.pop();return e3}function E2(a3,b3){var c3=this.chart,d4={xAxis:[],yAxis:[]};c3.polar?c3.axes.forEach((function(a4){if("colorAxis"!==a4.coll){var e3=a4.isXAxis,f3=a4.center,g3=b3.chartX-f3[0]-c3.plotLeft;f3=b3.chartY-f3[1]-c3.plotTop;d4[e3?"xAxis":"yAxis"].push({axis:a4,value:a4.translate(e3?Math.PI-Math.atan2(g3,f3):Math.sqrt(Math.pow(g3,2)+Math.pow(f3,2)),true)})}})):d4=a3.call(this,b3);return d4}function v2(a3,b3){this.chart.polar||a3.call(this,b3)}function Q(a3,b3){var d4=this,e3=this.chart,f3=this.group,g3=this.markerGroup,h3=this.xAxis&&this.xAxis.center,k3=e3.plotLeft,l3=e3.plotTop,m3=this.options.animation,n3,p3,q2,r3;if(e3.polar)if(d4.isRadialBar)b3||(d4.startAngleRad=J(d4.translatedThreshold,d4.xAxis.startAngleRad),c2.seriesTypes.pie.prototype.animate.call(d4,b3));else{if(e3.renderer.isSVG)if(m3=x2(m3),d4.is("column")){if(!b3){var t3=h3[3]/2;d4.points.forEach((function(a4){n3=a4.graphic;q2=(p3=a4.shapeArgs)&&p3.r;r3=p3&&p3.innerR;n3&&p3&&(n3.attr({r:t3,innerR:t3}),n3.animate({r:q2,innerR:r3},d4.options.animation))}))}}else b3?(a3={translateX:h3[0]+k3,translateY:h3[1]+l3,scaleX:.001,scaleY:.001},f3.attr(a3),g3&&g3.attr(a3)):(a3={translateX:k3,translateY:l3,scaleX:1,scaleY:1},f3.animate(a3,m3),g3&&g3.animate(a3,m3))}else a3.call(this,b3)}function I(a3,b3,c3,d4){this.chart.polar?d4?(a3=h2(b3,d4,true,this.connectEnds),b3=a3.prevPointCont&&a3.prevPointCont.rightContX,c3=a3.prevPointCont&&a3.prevPointCont.rightContY,a3=["C",t2(b3)?b3:a3.plotX,t2(c3)?c3:a3.plotY,t2(a3.leftContX)?a3.leftContX:a3.plotX,t2(a3.leftContY)?a3.leftContY:a3.plotY,a3.plotX,a3.plotY]):a3=["M",c3.plotX,c3.plotY]:a3=a3.call(this,b3,c3,d4);return a3}var K=this&&this.__spreadArray||function(a3,b3,c3){if(c3||2===arguments.length)for(var d4=0,e3=b3.length,f3;d4<e3;d4++)!f3&&d4 in b3||(f3||(f3=Array.prototype.slice.call(b3,0,d4)),f3[d4]=b3[d4]);return a3.concat(f3||Array.prototype.slice.call(b3))},x2=b2.animObject,B=f2.addEvent,y2=f2.defined,H2=f2.find,t2=f2.isNumber,J=f2.pick,V2=f2.splat,U=f2.uniqueKey,A2=f2.wrap,M=[],S2=function(){function b3(a3){this.series=a3}b3.compose=function(b4,c3,d4,f3,g3,h3,k3,t3,u2){a2.compose(b4,g3);-1===M.indexOf(c3)&&(M.push(c3),B(c3,"afterDrawChartBox",n2),B(c3,"getAxes",q),B(c3,"init",r2),A2(c3.prototype,"get",m2));-1===M.indexOf(d4)&&(M.push(d4),b4=d4.prototype,A2(b4,"getCoordinates",E2),A2(b4,"pinch",v2),B(d4,"getSelectionMarkerAttrs",p2),B(d4,"getSelectionBox",D3));-1===M.indexOf(f3)&&(M.push(f3),B(f3,"afterInit",l2),B(f3,"afterTranslate",e2,{order:2}),A2(f3.prototype,"animate",Q));k3&&-1===M.indexOf(k3)&&(M.push(k3),d4=k3.prototype,A2(d4,"alignDataLabel",N),A2(d4,"animate",Q),A2(d4,"translate",G));t3&&-1===M.indexOf(t3)&&(M.push(t3),A2(t3.prototype,"getGraphPath",L2));u2&&-1===M.indexOf(u2)&&(M.push(u2),t3=u2.prototype,A2(t3,"getPointSpline",I),h3&&-1===M.indexOf(h3)&&(M.push(h3),h3.prototype.getPointSpline=t3.getPointSpline))};b3.prototype.arc=function(a3,b4,c3,d4){var e3=this.series,f3=e3.xAxis.center,g3=e3.yAxis.len,h3=f3[3]/2;b4=g3-b4+h3;a3=g3-J(a3,g3)+h3;e3.yAxis.reversed&&(0>b4&&(b4=h3),0>a3&&(a3=h3));return{x:f3[0],y:f3[1],r:b4,innerR:a3,start:c3,end:d4}};b3.prototype.toXY=function(a3){var b4=this.series,c3=b4.chart,d4=b4.xAxis,e3=b4.yAxis,f3=a3.plotX,g3=c3.inverted,h3=a3.y,k3=a3.plotY,l3=g3?f3:e3.len-k3;g3&&b4&&!b4.isRadialBar&&(a3.plotY=k3=t2(h3)?e3.translate(h3):0);a3.rectPlotX=f3;a3.rectPlotY=k3;e3.center&&(l3+=e3.center[3]/2);t2(k3)&&(e3=g3?e3.postTranslate(k3,l3):d4.postTranslate(f3,l3),a3.plotX=a3.polarPlotX=e3.x-c3.plotLeft,a3.plotY=a3.polarPlotY=e3.y-c3.plotTop);b4.kdByAngle?(b4=(f3/Math.PI*180+d4.pane.options.startAngle)%360,0>b4&&(b4+=360),a3.clientX=b4):a3.clientX=a3.plotX};return b3}();return S2}));D2(d2,"masters/highcharts-more.src.js",[d2["Core/Globals.js"],d2["Core/Series/SeriesRegistry.js"],d2["Series/Bubble/BubbleSeries.js"],d2["Series/PackedBubble/PackedBubbleSeries.js"],d2["Series/PolarComposition.js"]],(function(b2,c2,d3,a2,f2){d3.compose(b2.Axis,b2.Chart,b2.Legend,b2.Series);a2.compose(b2.Axis,b2.Chart,b2.Legend,b2.Series);f2.compose(b2.Axis,b2.Chart,b2.Pointer,b2.Series,b2.Tick,c2.seriesTypes.areasplinerange,c2.seriesTypes.column,c2.seriesTypes.line,c2.seriesTypes.spline)}))}))})(highchartsMore$1);var highchartsMoreExports=highchartsMore$1.exports;const highchartsMore=getDefaultExportFromCjs(highchartsMoreExports);const alignBlockElement=event2=>{const itemToMove=document.querySelector(`#wrapper-circle-chart-${event2.target.renderTo.id} .pb-circle-chart-block`);const chartContainer=document.querySelector(`#${event2.target.renderTo.id}`);if(itemToMove!==null&&chartContainer!==null){itemToMove.style.height=`${event2.target.chartHeight}px`;itemToMove.style.width=`${event2.target.chartWidth}px`;if(chartContainer.firstChild!==null){chartContainer.firstChild.before(itemToMove)}}};const CircleChart=({align:align="center",aria:aria={},rounded:rounded=false,borderColor:borderColor=(rounded?null:""),borderWidth:borderWidth=(rounded?20:null),chartData:chartData,children:children,className:className,colors:colors2=[],customOptions:customOptions={},dark:dark=false,data:data={},dataLabelHtml:dataLabelHtml="<div>{point.name}</div>",dataLabels:dataLabels=false,height:height,htmlOptions:htmlOptions={},id:id,innerSize:innerSize="md",legend:legend=false,maxPointSize:maxPointSize=null,minPointSize:minPointSize=null,startAngle:startAngle=null,style:style="pie",title:title,tooltipHtml:tooltipHtml,useHtml:useHtml=false,zMin:zMin=null,layout:layout="horizontal",verticalAlign:verticalAlign="bottom",x:x2=0,y:y2=0,...props})=>{const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);highchartsMore(Highcharts$1);const setupTheme=()=>{dark?Highcharts$1.setOptions(highchartsDarkTheme):Highcharts$1.setOptions(highchartsTheme)};setupTheme();Highcharts$1.setOptions({tooltip:{headerFormat:null,pointFormat:tooltipHtml?tooltipHtml:'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>',useHTML:useHtml}});const innerSizes={sm:"35%",md:"50%",lg:"85%",none:"0%"};const innerSizeFormat=size=>innerSizes[size];const filteredProps={...props};delete filteredProps.verticalAlign;const[options2,setOptions]=useState({});useEffect((()=>{const formattedChartData=chartData.map((obj=>{obj.y=obj.value;delete obj.value;return obj}));const staticOptions={title:{text:title},chart:{height:height,type:style,events:{render:event2=>alignBlockElement(event2),redraw:event2=>alignBlockElement(event2)}},legend:{align:align,verticalAlign:verticalAlign,layout:layout,x:x2,y:y2},plotOptions:{pie:{colors:colors2.length>0?mapColors(colors2):highchartsTheme.colors,dataLabels:{enabled:dataLabels,connectorShape:"straight",connectorWidth:3,format:dataLabelHtml},showInLegend:legend}},series:[{minPointSize:minPointSize,maxPointSize:maxPointSize,innerSize:borderWidth==20?"100%":innerSizeFormat(innerSize),data:formattedChartData,zMin:zMin,startAngle:startAngle,borderWidth:borderWidth,borderColor:borderColor}],credits:false};setOptions(merge(staticOptions,customOptions))}),[chartData]);return jsx$1(Fragment,{children:children?jsxs("div",{id:`wrapper-circle-chart-${id}`,children:[jsx$1(HighchartsReact,{containerProps:{className:classnames("pb_circle_chart",globalProps(filteredProps)),id:id,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2}),jsx$1("div",{className:"pb-circle-chart-block",children:children})]}):jsx$1(HighchartsReact,{containerProps:{className:classnames("pb_circle_chart",globalProps(filteredProps)),id:id,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2})})};const CircleIconButton=props=>{const{aria:aria={},className:className,dark:dark,data:data={},disabled:disabled,htmlOptions:htmlOptions={},icon:icon,id:id,loading:loading=false,onClick:onClick=noop$1,type:type,link:link,newWindow:newWindow,variant:variant}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_circle_icon_button_kit"),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:jsx$1(Button,{dark:dark,disabled:disabled,htmlType:type,link:link,loading:loading,newWindow:newWindow,onClick:onClick,text:null,variant:variant,children:jsx$1(Icon,{fixedWidth:true,icon:icon})})})};const showElement=elem=>{elem.style.display="block";const height=elem.scrollHeight+"px";elem.style.height=height;elem.classList.add("is-visible");elem.style.overflow="hidden";window.setTimeout((()=>{if(!elem.classList.contains("is-visible")){elem.classList.add("is-visible")}elem.style.height="";elem.style.overflow="visible"}),300)};const hideElement=elem=>{elem.style.height=elem.scrollHeight+"px";window.setTimeout((()=>{elem.style.height="0";elem.style.paddingTop="0";elem.style.paddingBottom="0";elem.style.overflow="hidden"}),1);window.setTimeout((()=>{elem.classList.remove("is-visible");elem.style.overflow=""}),300)};const CollapsibleContext=createContext({});const CollapsibleContent=({children:children,className:className,...props})=>{const context=useContext(CollapsibleContext);const contentCSS=buildCss("pb_collapsible_content_kit");const contentSpacing=globalProps(props);const contentRef=useRef(null);useEffect((()=>{if(contentRef.current){if(context.collapsed){hideElement(contentRef.current)}else{showElement(contentRef.current)}}}),[context.collapsed]);return jsx$1("div",{className:classnames(contentCSS,contentSpacing,"toggle-content",className),"data-collapsible-content":"true",ref:contentRef,children:children})};const colorMap={default:"#242B42",light:"#687887",lighter:"#C1CDD6",link:"#0056CF",error:"#FF2229",success:"#00CA74"};const CollapsibleIcon=({collapsed:collapsed,icon:icon,iconSize:iconSize,iconColor:iconColor,onIconClick:onIconClick})=>{const color=colorMap[iconColor];const showIcon=icon2=>{if(icon2==="none"){return[]}else if(typeof icon2==="string"){return[icon2,icon2]}return icon2};const handleIconClick=e2=>{if(onIconClick){e2.stopPropagation();onIconClick()}};return jsx$1(Fragment,{children:icon!=="none"?collapsed?jsx$1("div",{className:"icon_wrapper",onClick:e2=>handleIconClick(e2),style:{verticalAlign:"middle",color:color},children:jsx$1(Icon,{icon:icon?showIcon(icon)[0]:"chevron-down",size:iconSize})},icon?showIcon(icon)[0]:"chevron-down"):jsx$1("div",{className:"icon_wrapper",onClick:e2=>handleIconClick(e2),style:{verticalAlign:"middle",color:color},children:jsx$1(Icon,{icon:icon?showIcon(icon)[1]:"chevron-up",size:iconSize})},icon?showIcon(icon)[1]:"chevron-up"):jsx$1("div",{})})};const CollapsibleMain=({children:children,className:className,cursor:cursor2="pointer",...props})=>{const{collapsed:collapsed,toggle:toggle,icon:icon,iconSize:iconSize,iconColor:iconColor,onIconClick:onIconClick,onClick:onClick}=useContext(CollapsibleContext);const mainCSS=buildCss("pb_collapsible_main_kit");const mainSpacing=globalProps(props,{cursor:cursor2});const handleCollapsibleClick=()=>{onClick&&onClick();const disableToggle=onClick&&onClick();if(disableToggle!==true){toggle()}};return jsx$1("div",{className:classnames(mainCSS,mainSpacing,className),children:jsx$1("div",{onClick:handleCollapsibleClick,children:jsxs(Flex,{spacing:"between",vertical:"center",children:[jsx$1(FlexItem,{children:children}),jsx$1(FlexItem,{children:jsx$1(CollapsibleIcon,{collapsed:collapsed,icon:icon,iconColor:iconColor,iconSize:iconSize,onIconClick:onIconClick})})]})})})};const Collapsible=({aria:aria={},className:className,children:children,collapsed:collapsed=true,data:data={},htmlOptions:htmlOptions={},icon:icon,iconColor:iconColor="default",iconSize:iconSize,onIconClick:onIconClick,onClick:onClick,id:id,...props})=>{const[isCollapsed,toggle,setIsCollapsed]=useCollapsible(collapsed);useEffect((()=>{setIsCollapsed(collapsed)}),[collapsed]);if(children.length!==2){throw new Error("Collapsible requires <CollapsibleMain> and <CollapsibleContent> to function properly.")}const FirstChild=children[0];const Main=FirstChild.type===CollapsibleMain?FirstChild:null;const Content=children[1];const{children:mainChildren=null,...mainProps}=Main?Main.props:{};const{children:contentChildren,...contentProps}=Content.props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_collapsible_kit"),globalProps(props),className);return jsx$1(CollapsibleContext.Provider,{value:{collapsed:isCollapsed,toggle:toggle,icon:icon,iconSize:iconSize,iconColor:iconColor,onIconClick:onIconClick,onClick:onClick},children:jsxs("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:[Main?jsx$1(CollapsibleMain,{...mainProps,children:mainChildren}):FirstChild,jsx$1(CollapsibleContent,{...contentProps,children:contentChildren})]})})};Collapsible.Main=CollapsibleMain;Collapsible.Content=CollapsibleContent;Collapsible.Icon=CollapsibleIcon;const Title=props=>{if(props.variant);const{aria:aria={},children:children,className:className,color:color,data:data={},htmlOptions:htmlOptions={},id:id,size:size=3,bold:bold=true,tag:tag="h3",text:text,variant:variant=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const getBold=bold?"":"thin";const isSizeNumberOrString=typeof size==="number"||typeof size==="string";const buildResponsiveSizeCss=()=>{let css4="";if(!isSizeNumberOrString){Object.entries(size).forEach((sizeObj=>{css4+=`pb_title_kit_${sizeObj[0]}_${sizeObj[1]} `}))}return css4.trim()};const classes=classnames(buildCss("pb_title_kit",isSizeNumberOrString?`size_${size}`:"",variant,color,getBold),globalProps(props),buildResponsiveSizeCss(),className);const Tag=`${tag}`;return jsx$1(Tag,{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:text||children})};const SectionSeparator=props=>{const{aria:aria={},children:children,className:className,data:data={},htmlOptions:htmlOptions={},id:id,lineStyle:lineStyle="solid",orientation:orientation="horizontal",text:text,dark:dark=false,variant:variant="card"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_section_separator_kit",variant,orientation,lineStyle==="dashed"?lineStyle:""),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:children&&children||text&&jsx$1("span",{children:jsx$1(Caption,{dark:dark,text:text})})})};var lib={exports:{}};var Modal$2={};var propTypes={exports:{}};var ReactPropTypesSecret$1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";var ReactPropTypesSecret_1=ReactPropTypesSecret$1;var ReactPropTypesSecret=ReactPropTypesSecret_1;function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction;var factoryWithThrowingShims=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret){return}var err=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");err.name="Invariant Violation";throw err}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes};{propTypes.exports=factoryWithThrowingShims()}var propTypesExports=propTypes.exports;const PropTypes=getDefaultExportFromCjs(propTypesExports);var ModalPortal={exports:{}};var focusManager={};var tabbable={exports:{}};(function(module,exports){Object.defineProperty(exports,"__esModule",{value:true});exports.default=findTabbableDescendants;
|
6
|
+
*/(function(module){(function(){var hasOwn={}.hasOwnProperty;function classNames2(){var classes=[];for(var i=0;i<arguments.length;i++){var arg=arguments[i];if(!arg)continue;var argType=typeof arg;if(argType==="string"||argType==="number"){classes.push(arg)}else if(Array.isArray(arg)){if(arg.length){var inner=classNames2.apply(null,arg);if(inner){classes.push(inner)}}}else if(argType==="object"){if(arg.toString!==Object.prototype.toString&&!arg.toString.toString().includes("[native code]")){classes.push(arg.toString());continue}for(var key in arg){if(hasOwn.call(arg,key)&&arg[key]){classes.push(key)}}}}return classes.join(" ")}if(module.exports){classNames2.default=classNames2;module.exports=classNames2}else{window.classNames=classNames2}})()})(classnames$1);var classnamesExports=classnames$1.exports;const classnames=getDefaultExportFromCjs(classnamesExports);const buildPrefixedProps=(prefix2,data)=>Object.keys(data).reduce(((props,key)=>{props[`${prefix2}-${key}`]=data[key];return props}),{});const noop$1=()=>{};const buildAriaProps=aria=>buildPrefixedProps("aria",aria);const buildDataProps=data=>buildPrefixedProps("data",data);const buildCss=(...rules)=>classnames(rules).replace(/\s/g,"_");const buildHtmlProps=htmlOptions=>{const htmlProps={};Object.keys(htmlOptions).forEach((key=>{htmlProps[key]=htmlOptions[key]}));return htmlProps};const isEmpty$1=value=>!value||value=="";const titleizedWord=word=>word.charAt(0).toUpperCase()+word.slice(1).toLowerCase();const titleize=sentence=>isEmpty$1(sentence)?sentence:sentence.split(" ").map(titleizedWord).join(" ");const notEmpty=value=>!isEmpty$1(value);const joinPresent=(array,separator)=>filter(array,notEmpty).join(separator);const camelToSnakeCase=word=>word.split(/([A-Z])/g).map(((w2,i)=>{const prefix2=i>0?"_":"";return w2===w2.toLowerCase()?w2:prefix2+w2.toLowerCase()})).join("");const BitValues=[0,1];const getResponsivePropClasses=(prop,classPrefix)=>{const keys=Object.keys(prop);return keys.map((size=>{const propValue=typeof prop[size]==="string"?camelToSnakeCase(prop[size]):prop[size];return`${classPrefix}_${size}_${propValue}`})).join(" ")};const getPositioningPropsClasses=(position2,value)=>{let css4="";if(typeof value==="string"){css4+=`${position2}_${value}`}else if(typeof value==="object"&&value.inset){css4+=`${position2}_${value.value}_inset`}else if(typeof value==="object"){css4+=`${position2}_${value.value}`}return css4};const filterClassName=value=>{if(value.includes("%")){return value.replace("%","_percent")}else{return value}};const PROP_CATEGORIES={hoverProps:({hover:hover})=>{let css4="";if(!hover)return css4;css4+=hover.shadow?`hover_shadow_${hover.shadow} `:"";css4+=hover.background?`hover_background_${hover.background} `:"";css4+=hover.scale?`hover_scale_${hover.scale} `:"";css4+=hover.color?`hover_color_${hover.color} `:"";return css4},spacingProps:({marginRight:marginRight,marginLeft:marginLeft,marginTop:marginTop,marginBottom:marginBottom,marginX:marginX,marginY:marginY,margin:margin,paddingRight:paddingRight,paddingLeft:paddingLeft,paddingTop:paddingTop,paddingBottom:paddingBottom,paddingX:paddingX,paddingY:paddingY,padding:padding})=>{let css4="";const spacingProps={marginRight:marginRight,marginLeft:marginLeft,marginTop:marginTop,marginBottom:marginBottom,marginX:marginX,marginY:marginY,margin:margin,paddingRight:paddingRight,paddingLeft:paddingLeft,paddingTop:paddingTop,paddingBottom:paddingBottom,paddingX:paddingX,paddingY:paddingY,padding:padding};const screenSizeValues=["xs","sm","md","lg","xl"];function handleObjectValue(properties,prefix2){let classResult="";const breakValue=properties.break||"on";const defaultValue=properties.default||null;Object.entries(properties).forEach((([key,value])=>{if(screenSizeValues.includes(key)){classResult+=`break_${breakValue}_${key}:${prefix2}_${value} `}}));if(defaultValue){classResult+=`${prefix2}_${defaultValue} `}return classResult}function getPrefix(key){const prefixes={marginRight:"mr",marginLeft:"ml",marginTop:"mt",marginBottom:"mb",marginX:"mx",marginY:"my",margin:"m",paddingRight:"pr",paddingLeft:"pl",paddingTop:"pt",paddingBottom:"pb",paddingX:"px",paddingY:"py",padding:"p"};return prefixes[key]}Object.entries(spacingProps).forEach((([key,value])=>{if(value){if(typeof value==="object"){css4+=handleObjectValue(value,getPrefix(key))}else{const prefix2=getPrefix(key);css4+=`${prefix2}_${value} `}}}));return css4.trim()},borderRadiusProps:({borderRadius:borderRadius2})=>{let css4="";css4+=borderRadius2?`border_radius_${borderRadius2} `:"";return css4},overflowProps:({overflow:overflow,overflowX:overflowX,overflowY:overflowY})=>{let css4="";css4+=overflow?`overflow_${overflow}`:"";css4+=overflowX?`overflow_x_${overflowX}`:"";css4+=overflowY?`overflow_y_${overflowY}`:"";return css4},truncateProps:({truncate:truncate})=>{if(typeof truncate==="object"){return""}else{return truncate?`truncate_${truncate}`:""}},darkProps:({dark:dark})=>dark?"dark":"",numberSpacingProps:({numberSpacing:numberSpacing})=>{let css4="";css4+=numberSpacing?`ns_${numberSpacing} `:"";return css4},minWidthProps:({minWidth:minWidth})=>{let css4="";css4+=minWidth?`min_width_${filterClassName(minWidth)} `:"";return css4.trimEnd()},maxWidthProps:({maxWidth:maxWidth})=>{let css4="";css4+=maxWidth?`max_width_${filterClassName(maxWidth)} `:"";return css4.trimEnd()},zIndexProps:zIndex=>{let css4="";Object.entries(zIndex).forEach((zIndexEntry=>{if(zIndexEntry[0]=="zIndex"){if(typeof zIndexEntry[1]=="number"){css4+=`z_index_${zIndexEntry[1]} `}else if(typeof zIndexEntry[1]=="object"){Object.entries(zIndexEntry[1]).forEach((zIndexObj=>{css4+=`z_index_${zIndexObj[0]}_${zIndexObj[1]} `}))}}}));return css4},shadowProps:({shadow:shadow})=>{let css4="";css4+=shadow?`shadow_${shadow} `:"";return css4},lineHeightProps:({lineHeight:lineHeight})=>{let css4="";css4+=lineHeight?`line_height_${lineHeight} `:"";return css4},displayProps:display=>{let css4="";Object.entries(display).forEach((displayEntry=>{if(displayEntry[0]=="display"){if(typeof displayEntry[1]=="string"){css4+=`display_${displayEntry[1]} `}else if(typeof displayEntry[1]=="object"){Object.entries(displayEntry[1]).forEach((displayObj=>{css4+=`display_${displayObj[0]}_${displayObj[1]} `}))}else;}}));return css4},cursorProps:({cursor:cursor2})=>{let css4="";css4+=cursor2?`cursor_${camelToSnakeCase(cursor2)}`:"";return css4},alignContentProps:({alignContent:alignContent})=>{if(typeof alignContent==="object"){return getResponsivePropClasses(alignContent,"align_content")}return alignContent?`align_content_${camelToSnakeCase(alignContent)}`:""},alignItemsProps:({alignItems:alignItems})=>{if(typeof alignItems==="object"){return getResponsivePropClasses(alignItems,"align_items")}else{return alignItems?`align_items_${camelToSnakeCase(alignItems)}`:""}},alignSelfProps:({alignSelf:alignSelf})=>{if(typeof alignSelf==="object"){return getResponsivePropClasses(alignSelf,"align_self")}else{return alignSelf?`align_self_${alignSelf}`:""}},flexDirectionProps:({flexDirection:flexDirection})=>{if(typeof flexDirection=="object"){return getResponsivePropClasses(flexDirection,"flex_direction")}else{return flexDirection?`flex_direction_${camelToSnakeCase(flexDirection)}`:""}},flexWrapProps:({flexWrap:flexWrap})=>{if(typeof flexWrap=="object"){return getResponsivePropClasses(flexWrap,"flex_wrap")}else{return flexWrap?`flex_wrap_${camelToSnakeCase(flexWrap)}`:""}},flexProps:({flex:flex})=>{if(typeof flex==="object"){return getResponsivePropClasses(flex,"flex")}else{return flex?`flex_${flex}`:""}},flexGrowProps:({flexGrow:flexGrow})=>{if(typeof flexGrow=="object"){return getResponsivePropClasses(flexGrow,"flex_grow")}else if(BitValues.includes(flexGrow)){return`flex_grow_${flexGrow}`}else{return""}},flexShrinkProps:({flexShrink:flexShrink})=>{if(typeof flexShrink=="object"){return getResponsivePropClasses(flexShrink,"flex_shrink")}else if(BitValues.includes(flexShrink)){return`flex_shrink_${flexShrink}`}else{return""}},justifyContentProps:({justifyContent:justifyContent})=>{if(typeof justifyContent==="object"){return getResponsivePropClasses(justifyContent,"justify_content")}else{return justifyContent?`justify_content_${camelToSnakeCase(justifyContent)}`:""}},justifySelfProps:({justifySelf:justifySelf})=>{if(typeof justifySelf==="object"){return getResponsivePropClasses(justifySelf,"justify_self")}else{return justifySelf?`justify_self_${justifySelf}`:""}},orderProps:({order:order})=>{if(typeof order==="object"){return getResponsivePropClasses(order,"flex_order")}else{return order?`flex_order_${order}`:""}},positionProps:({position:position2})=>{let css4="";css4+=position2&&position2!=="static"?`position_${position2}`:"";return css4},topProps:({top:top})=>getPositioningPropsClasses("top",top),rightProps:({right:right})=>getPositioningPropsClasses("right",right),bottomProps:({bottom:bottom})=>getPositioningPropsClasses("bottom",bottom),leftProps:({left:left})=>getPositioningPropsClasses("left",left),textAlignProps:({textAlign:textAlign})=>{if(typeof textAlign==="object"){return getResponsivePropClasses(textAlign,"text_align")}else{return textAlign?`text_align_${textAlign} `:""}},verticalAlignProps:({verticalAlign:verticalAlign})=>{if(typeof verticalAlign==="object"){return getResponsivePropClasses(verticalAlign,"vertical_align")}else{return verticalAlign?`vertical_align_${verticalAlign} `:""}}};const globalProps=(props,defaultProps2={})=>{const allProps=Object.assign(Object.assign({},props),defaultProps2);return Object.keys(PROP_CATEGORIES).map((key=>PROP_CATEGORIES[key](allProps))).filter((value=>(value===null||value===void 0?void 0:value.length)>0)).join(" ")};const domSafeProps=props=>{const notSafeProps=["marginRight","marginLeft","marginTop","marginBottom","marginX","marginY","margin","paddingRight","paddingLeft","paddingTop","paddingBottom","paddingX","paddingY","padding","dark","enableDrag"];return omit(props,notSafeProps)};const Flex=props=>{const{align:align="none",children:children,className:className,data:data={},inline:inline=false,horizontal:horizontal="left",htmlOptions:htmlOptions={},justify:justify="none",orientation:orientation="row",spacing:spacing2="none",gap:gap="none",rowGap:rowGap="none",columnGap:columnGap="none",reverse:reverse=false,vertical:vertical="top",wrap:wrap=false,alignSelf:alignSelf="none"}=props;const orientationClass=orientation!==void 0?`orientation_${orientation}`:"";const justifyClass=justify!=="none"?`justify_content_${justify}`:`justify_content_${horizontal}`;const alignClass=align!=="none"?`align_items_${align}`:`align_items_${vertical}`;const inlineClass=inline===true?"inline":"";const spacingClass=spacing2!==void 0?`spacing_${spacing2}`:"";const gapClass=gap!=="none"?`gap_${gap}`:"";const rowGapClass=rowGap!=="none"?`rowGap_${rowGap}`:"";const columnGapClass=columnGap!=="none"?`columnGap_${columnGap}`:"";const wrapClass=wrap===true?"wrap":"";const reverseClass=reverse===true?"reverse":"";const alignSelfClass=alignSelf!=="none"?`align_self_${alignSelf}`:"";const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);return jsx$1("div",Object.assign({className:classnames(buildCss("pb_flex_kit",orientationClass,justifyClass,alignClass,inlineClass,reverseClass,wrapClass,spacingClass,gapClass,rowGapClass,columnGapClass,alignSelfClass),globalProps(props),className)},dataProps,htmlProps,{children:children}),void 0)};const FlexItem=props=>{const{children:children,className:className,fixedSize:fixedSize,grow:grow,htmlOptions:htmlOptions={},shrink:shrink,flex:flex="none",order:order="none",alignSelf:alignSelf,displayFlex:displayFlex}=props;const growClass=grow===true?"grow":"";const displayFlexClass=displayFlex===true?`display_flex_${displayFlex}`:"";const flexClass=flex!=="none"?`flex_${flex}`:"";const shrinkClass=shrink===true?"shrink":"";const alignSelfClass=alignSelf?`align_self_${alignSelf}`:"";const fixedStyle=fixedSize!==void 0?{flexBasis:`${fixedSize}`}:null;const orderClass=order!=="none"?`order_${order}`:null;const htmlProps=buildHtmlProps(htmlOptions);return jsx$1("div",Object.assign({},htmlProps,{className:classnames(buildCss("pb_flex_item_kit",growClass,shrinkClass,flexClass,displayFlexClass),orderClass,alignSelfClass,globalProps(props),className),style:fixedStyle},{children:children}),void 0)};const isValidEmoji=emoji=>{const emojiRegex=new RegExp("^(\\p{Emoji}|\\uFE0F|\\u200D|\\u20E3)+$","u");return emojiRegex.test(emoji)};const flipMap={fa:{horizontal:"fa-flip-horizontal",vertical:"fa-flip-vertical",both:"fa-flip-horizontal fa-flip-vertical",none:""},svg:{horizontal:"flip_horizontal",vertical:"flip_vertical",both:"flip_horizontal flip_vertical",none:""}};const pulseMap={fa:"fa-pulse",svg:"pulse"};const spinMap={fa:"fa-spin",svg:"spin"};const rotateMap={fa:{90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},svg:{90:"rotate_90",180:"rotate_180",270:"rotate_270"}};const sizeMap={fa:{lg:"fa-lg",xs:"fa-xs",sm:"fa-sm","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x","":""},svg:{lg:"svg_lg",xs:"svg_xs",sm:"svg_sm","1x":"svg_1x","2x":"svg_2x","3x":"svg_3x","4x":"svg_4x","5x":"svg_5x","6x":"svg_6x","7x":"svg_7x","8x":"svg_8x","9x":"svg_9x","10x":"svg_10x","":""}};const Icon=props=>{const{aria:aria={},border:border=false,className:className,color:color,customIcon:customIcon,data:data={},fixedWidth:fixedWidth=true,flip:flip="none",htmlOptions:htmlOptions={},icon:icon="",id:id,inverse:inverse=false,listItem:listItem=false,pull:pull,pulse:pulse=false,rotation:rotation,size:size,fontStyle:fontStyle="far",spin:spin=false,tabIndex:tabIndex}=props;let iconElement=typeof icon==="object"?icon:null;if(!customIcon&&!iconElement){const PowerIcon=window.PB_ICONS?window.PB_ICONS[icon]:null;if(PowerIcon){iconElement=jsx$1(PowerIcon,{},void 0)}}const isFA=!iconElement&&!customIcon;let classes=classnames(!iconElement&&!customIcon?"pb_icon_kit":"",iconElement||customIcon?"pb_custom_icon":fontStyle,iconElement?"svg-inline--fa":"",color?`color_${color}`:"",globalProps(props),className);const transformClasses=classnames(flip?flipMap[isFA?"fa":"svg"][flip]:null,pulse?pulseMap[isFA?"fa":"svg"]:null,rotation?rotateMap[isFA?"fa":"svg"][rotation]:null,spin?spinMap[isFA?"fa":"svg"]:null,size?sizeMap[isFA?"fa":"svg"][size]:null,border?isFA?"fa-border":"svg_border":null,fixedWidth?isFA?"fa-fw":"svg_fw":null,inverse?isFA?"fa-inverse":"svg_inverse":null,listItem?isFA?"fa-li":"svg_li":null,pull?isFA?`fa-pull-${pull}`:`pull_${pull}`:null);classes+=` ${transformClasses}`;if(isFA){const faClassList={"fa-border":border,"fa-inverse":inverse,"fa-li":listItem,[`fa-${size}`]:size,[`fa-pull-${pull}`]:pull};faClassList[`fa-${icon}`]=icon;classes+=` ${classnames(faClassList)}`}const classesEmoji=classnames("pb_icon_kit_emoji",globalProps(props),className);aria.label?null:aria.label=`${icon} icon`;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const displaySVG=customIcon2=>{if(iconElement||customIcon2)return jsx$1(Fragment,{children:React__default.cloneElement(iconElement||customIcon2,Object.assign(Object.assign(Object.assign(Object.assign({},dataProps),htmlProps),{className:classes,id:id,width:"auto",height:"auto"}),props.tabIndex!==void 0&&{tabIndex:tabIndex}))},void 0);else if(isValidEmoji(icon))return jsx$1(Fragment,{children:jsx$1("span",Object.assign({},dataProps,htmlProps,{className:classesEmoji,id:id},{children:icon}),void 0)},void 0);else return jsxs(Fragment,{children:[jsx$1("i",Object.assign({},dataProps,htmlProps,{className:classes,id:id}),void 0),jsx$1("span",Object.assign({},ariaProps,{hidden:true}),void 0)]},void 0)};return jsx$1(Fragment,{children:displaySVG(customIcon)},void 0)};var main={exports:{}};(function(module){module.exports=function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module2=installedModules[moduleId]={exports:{},id:moduleId,loaded:false};modules[moduleId].call(module2.exports,module2,module2.exports,__webpack_require__);module2.loaded=true;return module2.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.p="";return __webpack_require__(0)}([function(module2,exports,__webpack_require__){module2.exports=__webpack_require__(1)},function(module2,exports,__webpack_require__){Object.defineProperty(exports,"__esModule",{value:true});function _interopRequireDefault2(obj){return obj&&obj.__esModule?obj:{default:obj}}var _Highlighter=__webpack_require__(2);var _Highlighter2=_interopRequireDefault2(_Highlighter);exports["default"]=_Highlighter2["default"];module2.exports=exports["default"]},function(module2,exports,__webpack_require__){Object.defineProperty(exports,"__esModule",{value:true});var _extends2=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key]}}}return target};exports["default"]=Highlighter2;function _interopRequireDefault2(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties2(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var _highlightWordsCore=__webpack_require__(3);var _propTypes3=__webpack_require__(4);var _propTypes22=_interopRequireDefault2(_propTypes3);var _react3=__webpack_require__(14);var _memoizeOne=__webpack_require__(15);var _memoizeOne2=_interopRequireDefault2(_memoizeOne);Highlighter2.propTypes={activeClassName:_propTypes22["default"].string,activeIndex:_propTypes22["default"].number,activeStyle:_propTypes22["default"].object,autoEscape:_propTypes22["default"].bool,className:_propTypes22["default"].string,findChunks:_propTypes22["default"].func,highlightClassName:_propTypes22["default"].oneOfType([_propTypes22["default"].object,_propTypes22["default"].string]),highlightStyle:_propTypes22["default"].object,highlightTag:_propTypes22["default"].oneOfType([_propTypes22["default"].node,_propTypes22["default"].func,_propTypes22["default"].string]),sanitize:_propTypes22["default"].func,searchWords:_propTypes22["default"].arrayOf(_propTypes22["default"].oneOfType([_propTypes22["default"].string,_propTypes22["default"].instanceOf(RegExp)])).isRequired,textToHighlight:_propTypes22["default"].string.isRequired,unhighlightTag:_propTypes22["default"].oneOfType([_propTypes22["default"].node,_propTypes22["default"].func,_propTypes22["default"].string]),unhighlightClassName:_propTypes22["default"].string,unhighlightStyle:_propTypes22["default"].object};function Highlighter2(_ref3){var _ref$activeClassName=_ref3.activeClassName;var activeClassName=_ref$activeClassName===void 0?"":_ref$activeClassName;var _ref$activeIndex=_ref3.activeIndex;var activeIndex=_ref$activeIndex===void 0?-1:_ref$activeIndex;var activeStyle=_ref3.activeStyle;var autoEscape=_ref3.autoEscape;var _ref$caseSensitive=_ref3.caseSensitive;var caseSensitive=_ref$caseSensitive===void 0?false:_ref$caseSensitive;var className=_ref3.className;var findChunks=_ref3.findChunks;var _ref$highlightClassName=_ref3.highlightClassName;var highlightClassName=_ref$highlightClassName===void 0?"":_ref$highlightClassName;var _ref$highlightStyle=_ref3.highlightStyle;var highlightStyle=_ref$highlightStyle===void 0?{}:_ref$highlightStyle;var _ref$highlightTag=_ref3.highlightTag;var highlightTag=_ref$highlightTag===void 0?"mark":_ref$highlightTag;var sanitize=_ref3.sanitize;var searchWords=_ref3.searchWords;var textToHighlight=_ref3.textToHighlight;var _ref$unhighlightTag=_ref3.unhighlightTag;var unhighlightTag=_ref$unhighlightTag===void 0?"span":_ref$unhighlightTag;var _ref$unhighlightClassName=_ref3.unhighlightClassName;var unhighlightClassName=_ref$unhighlightClassName===void 0?"":_ref$unhighlightClassName;var unhighlightStyle=_ref3.unhighlightStyle;var rest=_objectWithoutProperties2(_ref3,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]);var chunks=(0,_highlightWordsCore.findAll)({autoEscape:autoEscape,caseSensitive:caseSensitive,findChunks:findChunks,sanitize:sanitize,searchWords:searchWords,textToHighlight:textToHighlight});var HighlightTag=highlightTag;var highlightIndex=-1;var highlightClassNames="";var highlightStyles=void 0;var lowercaseProps=function lowercaseProps2(object){var mapped={};for(var key in object){mapped[key.toLowerCase()]=object[key]}return mapped};var memoizedLowercaseProps=(0,_memoizeOne2["default"])(lowercaseProps);return(0,_react3.createElement)("span",_extends2({className:className},rest,{children:chunks.map((function(chunk,index2){var text=textToHighlight.substr(chunk.start,chunk.end-chunk.start);if(chunk.highlight){highlightIndex++;var highlightClass=void 0;if(typeof highlightClassName==="object"){if(!caseSensitive){highlightClassName=memoizedLowercaseProps(highlightClassName);highlightClass=highlightClassName[text.toLowerCase()]}else{highlightClass=highlightClassName[text]}}else{highlightClass=highlightClassName}var isActive=highlightIndex===+activeIndex;highlightClassNames=highlightClass+" "+(isActive?activeClassName:"");highlightStyles=isActive===true&&activeStyle!=null?Object.assign({},highlightStyle,activeStyle):highlightStyle;var props={children:text,className:highlightClassNames,key:index2,style:highlightStyles};if(typeof HighlightTag!=="string"){props.highlightIndex=highlightIndex}return(0,_react3.createElement)(HighlightTag,props)}else{return(0,_react3.createElement)(unhighlightTag,{children:text,className:unhighlightClassName,key:index2,style:unhighlightStyle})}}))}))}module2.exports=exports["default"]},function(module2,exports){module2.exports=function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module3=installedModules[moduleId]={exports:{},id:moduleId,loaded:false};modules[moduleId].call(module3.exports,module3,module3.exports,__webpack_require__);module3.loaded=true;return module3.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.p="";return __webpack_require__(0)}([function(module3,exports2,__webpack_require__){module3.exports=__webpack_require__(1)},function(module3,exports2,__webpack_require__){Object.defineProperty(exports2,"__esModule",{value:true});var _utils=__webpack_require__(2);Object.defineProperty(exports2,"combineChunks",{enumerable:true,get:function get2(){return _utils.combineChunks}});Object.defineProperty(exports2,"fillInChunks",{enumerable:true,get:function get2(){return _utils.fillInChunks}});Object.defineProperty(exports2,"findAll",{enumerable:true,get:function get2(){return _utils.findAll}});Object.defineProperty(exports2,"findChunks",{enumerable:true,get:function get2(){return _utils.findChunks}})},function(module3,exports2){Object.defineProperty(exports2,"__esModule",{value:true});exports2.findAll=function findAll2(_ref3){var autoEscape=_ref3.autoEscape,_ref$caseSensitive=_ref3.caseSensitive,caseSensitive=_ref$caseSensitive===void 0?false:_ref$caseSensitive,_ref$findChunks=_ref3.findChunks,findChunks=_ref$findChunks===void 0?defaultFindChunks:_ref$findChunks,sanitize=_ref3.sanitize,searchWords=_ref3.searchWords,textToHighlight=_ref3.textToHighlight;return fillInChunks({chunksToHighlight:combineChunks({chunks:findChunks({autoEscape:autoEscape,caseSensitive:caseSensitive,sanitize:sanitize,searchWords:searchWords,textToHighlight:textToHighlight})}),totalLength:textToHighlight?textToHighlight.length:0})};var combineChunks=exports2.combineChunks=function combineChunks2(_ref22){var chunks=_ref22.chunks;chunks=chunks.sort((function(first,second){return first.start-second.start})).reduce((function(processedChunks,nextChunk){if(processedChunks.length===0){return[nextChunk]}else{var prevChunk=processedChunks.pop();if(nextChunk.start<=prevChunk.end){var endIndex=Math.max(prevChunk.end,nextChunk.end);processedChunks.push({start:prevChunk.start,end:endIndex})}else{processedChunks.push(prevChunk,nextChunk)}return processedChunks}}),[]);return chunks};var defaultFindChunks=function defaultFindChunks2(_ref3){var autoEscape=_ref3.autoEscape,caseSensitive=_ref3.caseSensitive,_ref3$sanitize=_ref3.sanitize,sanitize=_ref3$sanitize===void 0?identity:_ref3$sanitize,searchWords=_ref3.searchWords,textToHighlight=_ref3.textToHighlight;textToHighlight=sanitize(textToHighlight);return searchWords.filter((function(searchWord){return searchWord})).reduce((function(chunks,searchWord){searchWord=sanitize(searchWord);if(autoEscape){searchWord=escapeRegExpFn(searchWord)}var regex=new RegExp(searchWord,caseSensitive?"g":"gi");var match2=void 0;while(match2=regex.exec(textToHighlight)){var start=match2.index;var end=regex.lastIndex;if(end>start){chunks.push({start:start,end:end})}if(match2.index==regex.lastIndex){regex.lastIndex++}}return chunks}),[])};exports2.findChunks=defaultFindChunks;var fillInChunks=exports2.fillInChunks=function fillInChunks2(_ref4){var chunksToHighlight=_ref4.chunksToHighlight,totalLength=_ref4.totalLength;var allChunks=[];var append2=function append22(start,end,highlight){if(end-start>0){allChunks.push({start:start,end:end,highlight:highlight})}};if(chunksToHighlight.length===0){append2(0,totalLength,false)}else{var lastIndex=0;chunksToHighlight.forEach((function(chunk){append2(lastIndex,chunk.start,false);append2(chunk.start,chunk.end,true);lastIndex=chunk.end}));append2(lastIndex,totalLength,false)}return allChunks};function identity(value){return value}function escapeRegExpFn(str){return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}}])},function(module2,exports,__webpack_require__){(function(process){if(process.env.NODE_ENV!=="production"){var REACT_ELEMENT_TYPE=typeof Symbol==="function"&&Symbol.for&&Symbol.for("react.element")||60103;var isValidElement2=function(object){return typeof object==="object"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE};var throwOnDirectAccess=true;module2.exports=__webpack_require__(6)(isValidElement2,throwOnDirectAccess)}else{module2.exports=__webpack_require__(13)()}}).call(exports,__webpack_require__(5))},function(module2,exports){var process=module2.exports={};var cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){cachedSetTimeout=setTimeout}else{cachedSetTimeout=defaultSetTimout}}catch(e2){cachedSetTimeout=defaultSetTimout}try{if(typeof clearTimeout==="function"){cachedClearTimeout=clearTimeout}else{cachedClearTimeout=defaultClearTimeout}}catch(e2){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout){return setTimeout(fun,0)}if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0)}try{return cachedSetTimeout(fun,0)}catch(e2){try{return cachedSetTimeout.call(null,fun,0)}catch(e22){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout){return clearTimeout(marker)}if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker)}try{return cachedClearTimeout(marker)}catch(e2){try{return cachedClearTimeout.call(null,marker)}catch(e22){return cachedClearTimeout.call(this,marker)}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue){return}draining=false;if(currentQueue.length){queue=currentQueue.concat(queue)}else{queueIndex=-1}if(queue.length){drainQueue()}}function drainQueue(){if(draining){return}var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len){if(currentQueue){currentQueue[queueIndex].run()}}queueIndex=-1;len=queue.length}currentQueue=null;draining=false;runClearTimeout(timeout)}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1){for(var i=1;i<arguments.length;i++){args[i-1]=arguments[i]}}queue.push(new Item(fun,args));if(queue.length===1&&!draining){runTimeout(drainQueue)}};function Item(fun,array){this.fun=fun;this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process.title="browser";process.browser=true;process.env={};process.argv=[];process.version="";process.versions={};function noop3(){}process.on=noop3;process.addListener=noop3;process.once=noop3;process.off=noop3;process.removeListener=noop3;process.removeAllListeners=noop3;process.emit=noop3;process.prependListener=noop3;process.prependOnceListener=noop3;process.listeners=function(name2){return[]};process.binding=function(name2){throw new Error("process.binding is not supported")};process.cwd=function(){return"/"};process.chdir=function(dir){throw new Error("process.chdir is not supported")};process.umask=function(){return 0}},function(module2,exports,__webpack_require__){(function(process){var emptyFunction2=__webpack_require__(7);var invariant=__webpack_require__(8);var warning2=__webpack_require__(9);var assign2=__webpack_require__(10);var ReactPropTypesSecret2=__webpack_require__(11);var checkPropTypes=__webpack_require__(12);module2.exports=function(isValidElement2,throwOnDirectAccess){var ITERATOR_SYMBOL=typeof Symbol==="function"&&Symbol.iterator;var FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){var iteratorFn=maybeIterable&&(ITERATOR_SYMBOL&&maybeIterable[ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL]);if(typeof iteratorFn==="function"){return iteratorFn}}var ANONYMOUS="<<anonymous>>";var ReactPropTypes={array:createPrimitiveTypeChecker("array"),bool:createPrimitiveTypeChecker("boolean"),func:createPrimitiveTypeChecker("function"),number:createPrimitiveTypeChecker("number"),object:createPrimitiveTypeChecker("object"),string:createPrimitiveTypeChecker("string"),symbol:createPrimitiveTypeChecker("symbol"),any:createAnyTypeChecker(),arrayOf:createArrayOfTypeChecker,element:createElementTypeChecker(),instanceOf:createInstanceTypeChecker,node:createNodeChecker(),objectOf:createObjectOfTypeChecker,oneOf:createEnumTypeChecker,oneOfType:createUnionTypeChecker,shape:createShapeTypeChecker,exact:createStrictShapeTypeChecker};function is(x2,y2){if(x2===y2){return x2!==0||1/x2===1/y2}else{return x2!==x2&&y2!==y2}}function PropTypeError(message){this.message=message;this.stack=""}PropTypeError.prototype=Error.prototype;function createChainableTypeChecker(validate){if(process.env.NODE_ENV!=="production"){var manualPropTypeCallCache={};var manualPropTypeWarningCount=0}function checkType(isRequired,props,propName,componentName,location,propFullName,secret){componentName=componentName||ANONYMOUS;propFullName=propFullName||propName;if(secret!==ReactPropTypesSecret2){if(throwOnDirectAccess){invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types")}else if(process.env.NODE_ENV!=="production"&&typeof console!=="undefined"){var cacheKey=componentName+":"+propName;if(!manualPropTypeCallCache[cacheKey]&&manualPropTypeWarningCount<3){warning2(false,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",propFullName,componentName);manualPropTypeCallCache[cacheKey]=true;manualPropTypeWarningCount++}}}if(props[propName]==null){if(isRequired){if(props[propName]===null){return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required "+("in `"+componentName+"`, but its value is `null`."))}return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required in "+("`"+componentName+"`, but its value is `undefined`."))}return null}else{return validate(props,propName,componentName,location,propFullName)}}var chainedCheckType=checkType.bind(null,false);chainedCheckType.isRequired=checkType.bind(null,true);return chainedCheckType}function createPrimitiveTypeChecker(expectedType){function validate(props,propName,componentName,location,propFullName,secret){var propValue=props[propName];var propType=getPropType(propValue);if(propType!==expectedType){var preciseType=getPreciseType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+preciseType+"` supplied to `"+componentName+"`, expected ")+("`"+expectedType+"`."))}return null}return createChainableTypeChecker(validate)}function createAnyTypeChecker(){return createChainableTypeChecker(emptyFunction2.thatReturnsNull)}function createArrayOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if(typeof typeChecker!=="function"){return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside arrayOf.")}var propValue=props[propName];if(!Array.isArray(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected an array."))}for(var i=0;i<propValue.length;i++){var error=typeChecker(propValue,i,componentName,location,propFullName+"["+i+"]",ReactPropTypesSecret2);if(error instanceof Error){return error}}return null}return createChainableTypeChecker(validate)}function createElementTypeChecker(){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];if(!isValidElement2(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected a single ReactElement."))}return null}return createChainableTypeChecker(validate)}function createInstanceTypeChecker(expectedClass){function validate(props,propName,componentName,location,propFullName){if(!(props[propName]instanceof expectedClass)){var expectedClassName=expectedClass.name||ANONYMOUS;var actualClassName=getClassName(props[propName]);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+actualClassName+"` supplied to `"+componentName+"`, expected ")+("instance of `"+expectedClassName+"`."))}return null}return createChainableTypeChecker(validate)}function createEnumTypeChecker(expectedValues){if(!Array.isArray(expectedValues)){process.env.NODE_ENV!=="production"?warning2(false,"Invalid argument supplied to oneOf, expected an instance of array."):void 0;return emptyFunction2.thatReturnsNull}function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];for(var i=0;i<expectedValues.length;i++){if(is(propValue,expectedValues[i])){return null}}var valuesString=JSON.stringify(expectedValues);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of value `"+propValue+"` "+("supplied to `"+componentName+"`, expected one of "+valuesString+"."))}return createChainableTypeChecker(validate)}function createObjectOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if(typeof typeChecker!=="function"){return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside objectOf.")}var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected an object."))}for(var key in propValue){if(propValue.hasOwnProperty(key)){var error=typeChecker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret2);if(error instanceof Error){return error}}}return null}return createChainableTypeChecker(validate)}function createUnionTypeChecker(arrayOfTypeCheckers){if(!Array.isArray(arrayOfTypeCheckers)){process.env.NODE_ENV!=="production"?warning2(false,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0;return emptyFunction2.thatReturnsNull}for(var i=0;i<arrayOfTypeCheckers.length;i++){var checker=arrayOfTypeCheckers[i];if(typeof checker!=="function"){warning2(false,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",getPostfixForTypeWarning(checker),i);return emptyFunction2.thatReturnsNull}}function validate(props,propName,componentName,location,propFullName){for(var i2=0;i2<arrayOfTypeCheckers.length;i2++){var checker2=arrayOfTypeCheckers[i2];if(checker2(props,propName,componentName,location,propFullName,ReactPropTypesSecret2)==null){return null}}return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`."))}return createChainableTypeChecker(validate)}function createNodeChecker(){function validate(props,propName,componentName,location,propFullName){if(!isNode2(props[propName])){return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`, expected a ReactNode."))}return null}return createChainableTypeChecker(validate)}function createShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."))}for(var key in shapeTypes){var checker=shapeTypes[key];if(!checker){continue}var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret2);if(error){return error}}return null}return createChainableTypeChecker(validate)}function createStrictShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."))}var allKeys=assign2({},props[propName],shapeTypes);for(var key in allKeys){var checker=shapeTypes[key];if(!checker){return new PropTypeError("Invalid "+location+" `"+propFullName+"` key `"+key+"` supplied to `"+componentName+"`.\nBad object: "+JSON.stringify(props[propName],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(shapeTypes),null," "))}var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret2);if(error){return error}}return null}return createChainableTypeChecker(validate)}function isNode2(propValue){switch(typeof propValue){case"number":case"string":case"undefined":return true;case"boolean":return!propValue;case"object":if(Array.isArray(propValue)){return propValue.every(isNode2)}if(propValue===null||isValidElement2(propValue)){return true}var iteratorFn=getIteratorFn(propValue);if(iteratorFn){var iterator=iteratorFn.call(propValue);var step;if(iteratorFn!==propValue.entries){while(!(step=iterator.next()).done){if(!isNode2(step.value)){return false}}}else{while(!(step=iterator.next()).done){var entry=step.value;if(entry){if(!isNode2(entry[1])){return false}}}}}else{return false}return true;default:return false}}function isSymbol(propType,propValue){if(propType==="symbol"){return true}if(propValue["@@toStringTag"]==="Symbol"){return true}if(typeof Symbol==="function"&&propValue instanceof Symbol){return true}return false}function getPropType(propValue){var propType=typeof propValue;if(Array.isArray(propValue)){return"array"}if(propValue instanceof RegExp){return"object"}if(isSymbol(propType,propValue)){return"symbol"}return propType}function getPreciseType(propValue){if(typeof propValue==="undefined"||propValue===null){return""+propValue}var propType=getPropType(propValue);if(propType==="object"){if(propValue instanceof Date){return"date"}else if(propValue instanceof RegExp){return"regexp"}}return propType}function getPostfixForTypeWarning(value){var type=getPreciseType(value);switch(type){case"array":case"object":return"an "+type;case"boolean":case"date":case"regexp":return"a "+type;default:return type}}function getClassName(propValue){if(!propValue.constructor||!propValue.constructor.name){return ANONYMOUS}return propValue.constructor.name}ReactPropTypes.checkPropTypes=checkPropTypes;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}}).call(exports,__webpack_require__(5))},function(module2,exports){function makeEmptyFunction(arg){return function(){return arg}}var emptyFunction2=function emptyFunction22(){};emptyFunction2.thatReturns=makeEmptyFunction;emptyFunction2.thatReturnsFalse=makeEmptyFunction(false);emptyFunction2.thatReturnsTrue=makeEmptyFunction(true);emptyFunction2.thatReturnsNull=makeEmptyFunction(null);emptyFunction2.thatReturnsThis=function(){return this};emptyFunction2.thatReturnsArgument=function(arg){return arg};module2.exports=emptyFunction2},function(module2,exports,__webpack_require__){(function(process){var validateFormat=function validateFormat2(format){};if(process.env.NODE_ENV!=="production"){validateFormat=function validateFormat2(format){if(format===void 0){throw new Error("invariant requires an error message argument")}}}function invariant(condition,format,a2,b2,c2,d2,e2,f2){validateFormat(format);if(!condition){var error;if(format===void 0){error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.")}else{var args=[a2,b2,c2,d2,e2,f2];var argIndex=0;error=new Error(format.replace(/%s/g,(function(){return args[argIndex++]})));error.name="Invariant Violation"}error.framesToPop=1;throw error}}module2.exports=invariant}).call(exports,__webpack_require__(5))},function(module2,exports,__webpack_require__){(function(process){var emptyFunction2=__webpack_require__(7);var warning2=emptyFunction2;if(process.env.NODE_ENV!=="production"){var printWarning=function printWarning2(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key]}var argIndex=0;var message="Warning: "+format.replace(/%s/g,(function(){return args[argIndex++]}));if(typeof console!=="undefined"){console.error(message)}try{throw new Error(message)}catch(x2){}};warning2=function warning22(condition,format){if(format===void 0){throw new Error("`warning(condition, format, ...args)` requires a warning message argument")}if(format.indexOf("Failed Composite propType: ")===0){return}if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++){args[_key2-2]=arguments[_key2]}printWarning.apply(void 0,[format].concat(args))}}}module2.exports=warning2}).call(exports,__webpack_require__(5))},function(module2,exports){var getOwnPropertySymbols=Object.getOwnPropertySymbols;var hasOwnProperty2=Object.prototype.hasOwnProperty;var propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(val===null||val===void 0){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(val)}function shouldUseNative(){try{if(!Object.assign){return false}var test1=new String("abc");test1[5]="de";if(Object.getOwnPropertyNames(test1)[0]==="5"){return false}var test2={};for(var i=0;i<10;i++){test2["_"+String.fromCharCode(i)]=i}var order2=Object.getOwnPropertyNames(test2).map((function(n2){return test2[n2]}));if(order2.join("")!=="0123456789"){return false}var test3={};"abcdefghijklmnopqrst".split("").forEach((function(letter){test3[letter]=letter}));if(Object.keys(Object.assign({},test3)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(err){return false}}module2.exports=shouldUseNative()?Object.assign:function(target,source){var from2;var to=toObject(target);var symbols;for(var s2=1;s2<arguments.length;s2++){from2=Object(arguments[s2]);for(var key in from2){if(hasOwnProperty2.call(from2,key)){to[key]=from2[key]}}if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from2);for(var i=0;i<symbols.length;i++){if(propIsEnumerable.call(from2,symbols[i])){to[symbols[i]]=from2[symbols[i]]}}}}return to}},function(module2,exports){var ReactPropTypesSecret2="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module2.exports=ReactPropTypesSecret2},function(module2,exports,__webpack_require__){(function(process){if(process.env.NODE_ENV!=="production"){var invariant=__webpack_require__(8);var warning2=__webpack_require__(9);var ReactPropTypesSecret2=__webpack_require__(11);var loggedTypeFailures={}}function checkPropTypes(typeSpecs,values,location,componentName,getStack){if(process.env.NODE_ENV!=="production"){for(var typeSpecName in typeSpecs){if(typeSpecs.hasOwnProperty(typeSpecName)){var error;try{invariant(typeof typeSpecs[typeSpecName]==="function","%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",componentName||"React class",location,typeSpecName,typeof typeSpecs[typeSpecName]);error=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,ReactPropTypesSecret2)}catch(ex){error=ex}warning2(!error||error instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",componentName||"React class",location,typeSpecName,typeof error);if(error instanceof Error&&!(error.message in loggedTypeFailures)){loggedTypeFailures[error.message]=true;var stack=getStack?getStack():"";warning2(false,"Failed %s type: %s%s",location,error.message,stack!=null?stack:"")}}}}}module2.exports=checkPropTypes}).call(exports,__webpack_require__(5))},function(module2,exports,__webpack_require__){var emptyFunction2=__webpack_require__(7);var invariant=__webpack_require__(8);var ReactPropTypesSecret2=__webpack_require__(11);module2.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret2){return}invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction2;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module2,exports){module2.exports=React__default},function(module2,exports){var simpleIsEqual=function simpleIsEqual2(a2,b2){return a2===b2};function index2(resultFn){var isEqual3=arguments.length>1&&arguments[1]!==void 0?arguments[1]:simpleIsEqual;var lastThis=void 0;var lastArgs=[];var lastResult=void 0;var calledOnce=false;var isNewArgEqualToLast=function isNewArgEqualToLast2(newArg,index22){return isEqual3(newArg,lastArgs[index22])};var result=function result2(){for(var _len=arguments.length,newArgs=Array(_len),_key=0;_key<_len;_key++){newArgs[_key]=arguments[_key]}if(calledOnce&&lastThis===this&&newArgs.length===lastArgs.length&&newArgs.every(isNewArgEqualToLast)){return lastResult}calledOnce=true;lastThis=this;lastArgs=newArgs;lastResult=resultFn.apply(this,newArgs);return lastResult};return result}module2.exports=index2}])})(main);var mainExports=main.exports;const Highlighter=getDefaultExportFromCjs(mainExports);const Highlight=props=>{const{children:children,className:className="pb_highlight_kit",data:data={},highlightedText:highlightedText=["highlight"],htmlOptions:htmlOptions={},id:id="",text:text=""}=props;const htmlProps=buildHtmlProps(htmlOptions);const highlightContent=text||children;return jsx$1(Highlighter,Object.assign({autoEscape:true,data:data,highlightClassName:classnames(globalProps(props),className),highlightTag:"mark",id:id,searchWords:highlightedText,textToHighlight:highlightContent},htmlProps),void 0)};const Body$1=props=>{if(props.variant);const{aria:aria={},children:children,className:className,color:color="",data:data={},highlightedText:highlightedText=[],highlighting:highlighting=false,htmlOptions:htmlOptions={},id:id="",status:status=null,tag:tag="div",text:text="",variant:variant=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_body_kit",color,variant,status),globalProps(props),className);const Tag=`${tag}`;return jsxs(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,id:id},{children:[highlighting&&jsx$1(Highlight,Object.assign({highlightedText:highlightedText,text:text},{children:children}),void 0),!highlighting&&(text||children)]}),void 0)};const Caption=props=>{if(props.variant);const{aria:aria={},children:children,className:className,color:color,data:data={},htmlOptions:htmlOptions={},id:id,size:size="md",tag:tag="div",text:text,variant:variant=null}=props;const tagOptions=["h1","h2","h3","h4","h5","h6","p","span","div","caption"];const Tag=tagOptions.includes(tag)?tag:"div";const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(buildCss("pb_caption_kit",size,variant,color),globalProps(props),className);return jsx$1(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:css4,id:id},{children:text||children}),void 0)};const getPlacementProps=(placement,size)=>{let placementMapping={};switch(size){case"xxs":case"xs":placementMapping={"top-right":{top:"xs",right:"xs"},"bottom-left":{bottom:"xs",left:"xs"},"top-left":{top:"xs",left:"xs"},"bottom-right":{bottom:"xs",right:"xs"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"sm":placementMapping={"top-right":{top:"0",right:"xs"},"bottom-left":{bottom:"0",left:"xs"},"top-left":{top:"0",left:"xs"},"bottom-right":{bottom:"0",right:"xs"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"md":case"lg":placementMapping={"top-right":{top:"0",right:"0"},"bottom-left":{bottom:"0",left:"0"},"top-left":{top:"0",left:"0"},"bottom-right":{bottom:"0",right:"0"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"xl":placementMapping={"top-right":{top:{value:"xxs",inset:true},right:{value:"xxs",inset:true}},"bottom-left":{bottom:{value:"xxs",inset:true},left:{value:"xxs",inset:true}},"top-left":{top:{value:"xxs",inset:true},left:{value:"xxs",inset:true}},"bottom-right":{bottom:{value:"xxs",inset:true},right:{value:"xxs",inset:true}},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break}return placementMapping[placement]||{}};const Image=props=>{const{alt:alt="",aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},id:id,onError:onError=null,rounded:rounded=false,size:size="",transition:transition="fade",url:url=""}=props;const ariaProps=buildAriaProps(aria);const classes=classnames(buildCss("pb_image_kit",size?`size_${size}`:null),"lazyload",transition,{rounded:rounded},globalProps(props),className);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);return jsx$1("img",{...ariaProps,...dataProps,...htmlProps,alt:alt,className:classes,"data-src":url,id:id,onError:onError,src:url})};const OnlineStatus=props=>{const{aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},id:id,status:status="offline",size:size="sm",noBorder:noBorder=false}=props;aria.label=status;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const getBorder=noBorder?"no_border":"";const classes=classnames(buildCss("pb_online_status_kit",status,getBorder,"size",size),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id})};const spinner=jsx$1("svg",{fill:"none",height:"25",viewBox:"0 0 31 25",width:"31",xmlns:"http://www.w3.org/2000/svg",children:jsx$1("path",{d:"M17.4043 1.85547C17.4043 2.69922 16.7012 3.35547 15.9043 3.35547C15.0605 3.35547 14.4043 2.69922 14.4043 1.85547C14.4043 1.05859 15.0605 0.355469 15.9043 0.355469C16.7012 0.355469 17.4043 1.05859 17.4043 1.85547ZM17.4043 22.8555C17.4043 23.6992 16.7012 24.3555 15.9043 24.3555C15.0605 24.3555 14.4043 23.6992 14.4043 22.8555C14.4043 22.0586 15.0605 21.3555 15.9043 21.3555C16.7012 21.3555 17.4043 22.0586 17.4043 22.8555ZM24.9043 12.3555C24.9043 11.5586 25.5605 10.8555 26.4043 10.8555C27.2012 10.8555 27.9043 11.5586 27.9043 12.3555C27.9043 13.1992 27.2012 13.8555 26.4043 13.8555C25.5605 13.8555 24.9043 13.1992 24.9043 12.3555ZM5.4043 13.8555C4.56055 13.8555 3.9043 13.1992 3.9043 12.3555C3.9043 11.5586 4.56055 10.8555 5.4043 10.8555C6.20117 10.8555 6.9043 11.5586 6.9043 12.3555C6.9043 13.1992 6.20117 13.8555 5.4043 13.8555ZM7.41992 20.8398C6.81055 20.2773 6.81055 19.3398 7.41992 18.7305C7.98242 18.168 8.91992 18.168 9.5293 18.7305C10.0918 19.3398 10.0918 20.2773 9.5293 20.8398C8.91992 21.4492 7.98242 21.4492 7.41992 20.8398ZM22.2324 20.8398C21.8574 20.5117 21.6699 19.9023 21.8105 19.3867C21.9512 18.8711 22.373 18.4492 22.8887 18.3086C23.4043 18.168 24.0137 18.3555 24.3887 18.7305C24.7637 19.1055 24.9512 19.668 24.8105 20.2305C24.6699 20.7461 24.248 21.168 23.7324 21.3086C23.1699 21.4492 22.6074 21.2617 22.2324 20.8398ZM7.41992 3.87109C7.98242 3.30859 8.91992 3.30859 9.5293 3.87109C10.0918 4.48047 10.0918 5.41797 9.5293 6.02734C8.91992 6.58984 7.98242 6.58984 7.41992 6.02734C6.81055 5.41797 6.81055 4.48047 7.41992 3.87109Z",fill:"#242B42"})});const clock=jsx$1("svg",{fill:"none",height:"25",viewBox:"0 0 31 25",width:"31",xmlns:"http://www.w3.org/2000/svg",children:jsx$1("path",{d:"M25.1221 12C25.1221 8.53125 23.2471 5.34375 20.2471 3.5625C17.2002 1.82812 13.4971 1.82812 10.4971 3.5625C7.4502 5.34375 5.62207 8.53125 5.62207 12C5.62207 15.5156 7.4502 18.7031 10.4971 20.4844C13.4971 22.2188 17.2002 22.2188 20.2471 20.4844C23.2471 18.7031 25.1221 15.5156 25.1221 12ZM3.37207 12C3.37207 7.73438 5.62207 3.79688 9.37207 1.64062C13.0752 -0.515625 17.6221 -0.515625 21.3721 1.64062C25.0752 3.79688 27.3721 7.73438 27.3721 12C27.3721 16.3125 25.0752 20.25 21.3721 22.4062C17.6221 24.5625 13.0752 24.5625 9.37207 22.4062C5.62207 20.25 3.37207 16.3125 3.37207 12ZM14.2471 5.625C14.2471 5.01562 14.7158 4.5 15.3721 4.5C15.9814 4.5 16.4971 5.01562 16.4971 5.625V11.4375L20.4814 14.0625C20.9971 14.4375 21.1377 15.1406 20.8096 15.6562C20.4346 16.1719 19.7314 16.3125 19.2158 15.9375L14.7158 12.9375C14.4346 12.75 14.2471 12.375 14.2471 12V5.625Z",fill:"#242B42"})});const times=jsx$1("svg",{fill:"none",height:"25",viewBox:"0 0 31 25",width:"31",xmlns:"http://www.w3.org/2000/svg",children:jsx$1("path",{d:"M23.0762 6.77734L17.4512 12.4023L23.0293 17.9805C23.498 18.4023 23.498 19.1055 23.0293 19.5273C22.6074 19.9961 21.9043 19.9961 21.4824 19.5273L15.8574 13.9492L10.2793 19.5273C9.85742 19.9961 9.1543 19.9961 8.73242 19.5273C8.26367 19.1055 8.26367 18.4023 8.73242 17.9336L14.3105 12.3555L8.73242 6.77734C8.26367 6.35547 8.26367 5.65234 8.73242 5.18359C9.1543 4.76172 9.85742 4.76172 10.3262 5.18359L15.9043 10.8086L21.4824 5.23047C21.9043 4.76172 22.6074 4.76172 23.0762 5.23047C23.498 5.65234 23.498 6.35547 23.0762 6.77734Z",fill:"#242B42"})});const getAllIcons=()=>({clock:{icon:clock},spinner:{icon:spinner},times:{icon:times}});const Badge=props=>{const{aria:aria={},className:className,closeProps:closeProps={},data:data={},htmlOptions:htmlOptions={},id:id,removeIcon:removeIcon=false,removeOnClick:removeOnClick,rounded:rounded=false,text:text,variant:variant="neutral"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(buildCss("pb_badge_kit",variant==="success"?"success_sm":variant==="notificationError"?"notification_error":variant,rounded?"rounded":""),globalProps(props),className);const timesIcon=getAllIcons()["times"];return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:css4,id:id,children:jsxs("span",{children:[text,removeIcon&&jsx$1("span",{onClick:removeOnClick,style:{cursor:"pointer"},...closeProps,children:jsx$1(Icon,{className:"svg-inline--fa",customIcon:timesIcon.icon,fixedWidth:true})})]})})};const IconCircle=props=>{const{aria:aria={},className:className,dark:dark=false,data:data={},htmlOptions:htmlOptions={},icon:icon,id:id,size:size="md",variant:variant="default"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_icon_circle_kit",`size_${size}`,variant),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:jsx$1(Icon,{dark:dark,icon:icon})})};const DraggableContainer=props=>{const{aria:aria={},children:children,className:className,container:container,data:data={},htmlOptions:htmlOptions={},id:id}=props;const{handleDragOver:handleDragOver,handleDrop:handleDrop,activeContainer:activeContainer}=DraggableContext();const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_draggable_container"),`${activeContainer===container?"active":""}`,globalProps(props),className);return createElement("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,id:id,key:container,onDragOver:e2=>handleDragOver(e2,container),onDrop:()=>handleDrop(container)}),children)};const DraggableItem=props=>{const{aria:aria={},children:children,className:className,container:container,data:data={},htmlOptions:htmlOptions={},id:id,dragId:dragId}=props;const{isDragging:isDragging,handleDragStart:handleDragStart,handleDragEnter:handleDragEnter,handleDragEnd:handleDragEnd}=DraggableContext();const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_draggable_item"),`${isDragging===dragId?"is_dragging":""}`,globalProps(props),className);return createElement("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,draggable:true,id:id,key:dragId,onDragEnd:()=>handleDragEnd(),onDragEnter:()=>handleDragEnter(dragId,container),onDragStart:()=>handleDragStart(dragId,container)}),children)};const Draggable=props=>{const{aria:aria={},className:className,children:children,data:data={},htmlOptions:htmlOptions={},id:id}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_draggable"),globalProps(props),className);return jsx$1("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,id:id},{children:children}),void 0)};Draggable.Container=DraggableContainer;Draggable.Item=DraggableItem;const Header=props=>{const{children:children,className:className,headerColor:headerColor="category_1",headerColorStriped:headerColorStriped=false}=props;const headerCSS=buildCss("pb_card_header_kit",`${headerColor}`,headerColorStriped?"striped":"");const headerSpacing=globalProps(props);return jsx$1("div",Object.assign({className:classnames(headerCSS,headerSpacing,className)},{children:children}),void 0)};const Body=props=>{const{children:children,className:className}=props;const bodyCSS=buildCss("pb_card_body_kit");const bodySpacing=globalProps(props);return jsx$1("div",Object.assign({className:classnames(bodyCSS,bodySpacing,className)},{children:children}),void 0)};const Card=props=>{const{aria:aria={},background:background="none",borderNone:borderNone=false,borderRadius:borderRadius2="md",children:children,className:className,data:data={},dragId:dragId,dragHandle:dragHandle=true,draggableItem:draggableItem=false,highlight:highlight={},htmlOptions:htmlOptions={},selected:selected=false,tag:tag="div"}=props;const borderCSS=borderNone==true?"border_none":"";const selectedCSS=selected==true?"selected":"deselected";const backgroundCSS=background=="none"?"":`background_${background}`;const cardCss=buildCss("pb_card_kit",selectedCSS,borderCSS,`border_radius_${borderRadius2}`,backgroundCSS,{[`highlight_${highlight.position}`]:highlight.position,[`highlight_${highlight.color}`]:highlight.color});const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const cardChildren=React__default.Children.toArray(children);const subComponentTags=tagName=>cardChildren.filter((c2=>get(c2,"type.displayName")===tagName)).map(((child,i)=>{if(React__default.isValidElement(child)){return React__default.cloneElement(child,{key:`${tagName.toLowerCase()}-${i}`})}}));const nonHeaderChildren=cardChildren.filter((child=>get(child,"type.displayName")!=="Header"));const tagOptions=["div","section","footer","header","article","aside","main","nav"];const Tag=tagOptions.includes(tag)?tag:"div";return jsx$1(Fragment,{children:draggableItem?jsx$1(Draggable.Item,Object.assign({dragId:dragId},{children:jsxs(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:classnames(cardCss,globalProps(props),className)},{children:[subComponentTags("Header"),dragHandle?jsxs(Flex,{children:[jsx$1("span",Object.assign({className:"card_draggable_handle"},{children:jsx$1(Icon,{icon:"grip-dots-vertical",paddingRight:"xs",verticalAlign:"middle"},void 0)}),void 0),jsx$1("div",Object.assign({style:{width:"100%"}},{children:nonHeaderChildren}),void 0)]},void 0):nonHeaderChildren]}),void 0)}),dragId):jsxs(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:classnames(cardCss,globalProps(props),className)},{children:[subComponentTags("Header"),nonHeaderChildren]}),void 0)},void 0)};Card.Header=Header;Card.Body=Body;const firstTwoInitials=name2=>name2.split(/\s/).map((name22=>name22[0])).join("").substring(0,2);const Avatar=props=>{const{aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},name:name2=void 0,componentOverlay:componentOverlay,id:id="",imageAlt:imageAlt="",imageUrl:imageUrl,size:size="md",status:status=null,dark:dark=false}=props;const dataProps=buildDataProps(data);const ariaProps=buildAriaProps(aria);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_avatar_kit",`size_${size}`),globalProps(props),className);const initials=name2&&firstTwoInitials(name2);dataProps["data-initials"]=initials;const[error,setError]=useState(false);const handleError=()=>setError(true);const canShowImage=imageUrl&&!error;const onlineStatusSize=["xxs","xs"].includes(size)?"sm":["sm","md"].includes(size)?"md":["lg","xl"].includes(size)?"lg":"sm";const onlineStatusPositionProps=["xxs","xs","sm"].includes(size)?{top:{inset:true,value:"0"},right:{inset:false,value:"xxs"}}:{bottom:{inset:true,value:"0"},right:{inset:true,value:size==="xl"?"sm":size==="lg"?"xs":"xxs"}};return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:componentOverlay?jsxs(Flex,{display:"display_inline_block",position:"relative",children:[jsx$1("div",{className:"avatar_wrapper","data-initials":initials,children:canShowImage&&jsx$1(Image,{alt:imageAlt?imageAlt:name2,onError:handleError,url:imageUrl})}),componentOverlay.component==="badge"&&jsx$1(Card,{borderNone:true,borderRadius:"rounded",padding:"none",position:"absolute",...getPlacementProps(componentOverlay.placement,size),children:jsx$1(Badge,{rounded:true,text:componentOverlay.text,variant:componentOverlay.variant})}),componentOverlay.component==="iconCircle"&&jsx$1(Card,{borderNone:true,borderRadius:"rounded",htmlOptions:{style:{padding:"2px"}},position:"absolute",...getPlacementProps(componentOverlay.placement,size),children:jsx$1(IconCircle,{icon:componentOverlay.icon,size:"xxs",variant:componentOverlay.variant})})]}):jsxs(Fragment,{children:[jsx$1("div",{className:"avatar_wrapper","data-initials":initials,children:canShowImage&&jsx$1(Image,{alt:imageAlt?imageAlt:name2,onError:handleError,url:imageUrl})}),status&&jsx$1(OnlineStatus,{dark:dark,position:"absolute",size:onlineStatusSize,status:status,...onlineStatusPositionProps})]})})};const breakpoints={xs:"(max-width: 575px)",sm:"(min-width: 576px) and (max-width: 767px)",md:"(min-width: 768px) and (max-width: 991px)",lg:"(min-width: 992px) and (max-width: 1199px)",xl:"(min-width: 1200px)"};const getResponsiveValue=prop=>{if(typeof prop==="string"){return prop}for(const[bp,value]of Object.entries(prop||{})){if(bp!=="default"&&window.matchMedia(breakpoints[bp]).matches){return value}}return(prop==null?void 0:prop.default)||void 0};const Background=props=>{const{alt:alt=void 0,aria:aria={},backgroundColor:backgroundColor="light",backgroundPosition:backgroundPosition="",backgroundRepeat:backgroundRepeat="initial",backgroundSize:backgroundSize="cover",children:children,className:className,customColor:customColor,data:data={},htmlOptions:htmlOptions={},id:id,imageUrl:imageUrl="",tag:tag="div",transition:transition=""}=props;const[responsiveProps,setResponsiveProps]=useState({backgroundSize:getResponsiveValue(backgroundSize),backgroundPosition:getResponsiveValue(backgroundPosition),backgroundRepeat:getResponsiveValue(backgroundRepeat),backgroundColor:getResponsiveValue(backgroundColor),imageUrl:getResponsiveValue(imageUrl)});useEffect((()=>{const updateResponsiveProps=()=>{setResponsiveProps({backgroundSize:getResponsiveValue(props.backgroundSize),backgroundPosition:getResponsiveValue(props.backgroundPosition),backgroundRepeat:getResponsiveValue(props.backgroundRepeat),backgroundColor:getResponsiveValue(props.backgroundColor),imageUrl:getResponsiveValue(props.imageUrl)})};window.addEventListener("resize",updateResponsiveProps);return()=>window.removeEventListener("resize",updateResponsiveProps)}),[props]);const{backgroundColor:resBackgroundColor,backgroundPosition:resBackgroundPosition,backgroundRepeat:resBackgroundRepeat,backgroundSize:resBackgroundSize,imageUrl:resImageUrl}=responsiveProps;const classes=classnames(buildCss("pb_background_kit"),"lazyload",globalProps(props),transition,{[`pb_background_color_${resBackgroundColor}`]:resBackgroundColor&&!customColor,[`pb_background_custom_color`]:!!customColor},className);const backgroundStyle={backgroundColor:customColor||void 0,...resImageUrl!==""?{backgroundImage:resImageUrl?`url(${resImageUrl})`:void 0,backgroundRepeat:resBackgroundRepeat||void 0,backgroundPosition:resBackgroundPosition||void 0,backgroundSize:resBackgroundSize||void 0}:{}};const Tag=`${tag}`;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);return jsx$1(Tag,{...ariaProps,...dataProps,...htmlProps,alt:alt,className:classes,id:id,style:backgroundStyle,children:children})};var highchartsReact_min={exports:{}};(function(module,exports){!function(t2,e2){module.exports=e2(React__default)}("undefined"!=typeof self?self:commonjsGlobal,(function(t2){return function(t3){function e2(n2){if(r2[n2])return r2[n2].exports;var o2=r2[n2]={i:n2,l:false,exports:{}};return t3[n2].call(o2.exports,o2,o2.exports,e2),o2.l=true,o2.exports}var r2={};return e2.m=t3,e2.c=r2,e2.d=function(t4,r3,n2){e2.o(t4,r3)||Object.defineProperty(t4,r3,{configurable:false,enumerable:true,get:n2})},e2.n=function(t4){var r3=t4&&t4.__esModule?function(){return t4.default}:function(){return t4};return e2.d(r3,"a",r3),r3},e2.o=function(t4,e3){return Object.prototype.hasOwnProperty.call(t4,e3)},e2.p="",e2(e2.s=0)}([function(t3,e2,r2){function n2(){return n2=Object.assign?Object.assign.bind():function(t4){for(var e3=1;e3<arguments.length;e3++){var r3=arguments[e3];for(var n3 in r3)Object.prototype.hasOwnProperty.call(r3,n3)&&(t4[n3]=r3[n3])}return t4},n2.apply(this,arguments)}function o2(t4){return a2(t4)||i(t4)||u2(t4)||c2()}function c2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u2(t4,e3){if(t4){if("string"==typeof t4)return f2(t4,e3);var r3=Object.prototype.toString.call(t4).slice(8,-1);return"Object"===r3&&t4.constructor&&(r3=t4.constructor.name),"Map"===r3||"Set"===r3?Array.from(t4):"Arguments"===r3||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r3)?f2(t4,e3):void 0}}function i(t4){if("undefined"!=typeof Symbol&&null!=t4[Symbol.iterator]||null!=t4["@@iterator"])return Array.from(t4)}function a2(t4){if(Array.isArray(t4))return f2(t4)}function f2(t4,e3){(null==e3||e3>t4.length)&&(e3=t4.length);for(var r3=0,n3=new Array(e3);r3<e3;r3++)n3[r3]=t4[r3];return n3}function s2(t4){"@babel/helpers - typeof";return(s2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t5){return typeof t5}:function(t5){return t5&&"function"==typeof Symbol&&t5.constructor===Symbol&&t5!==Symbol.prototype?"symbol":typeof t5})(t4)}Object.defineProperty(e2,"__esModule",{value:true}),r2.d(e2,"HighchartsReact",(function(){return d2}));var p2=r2(1),l2=r2.n(p2),y2="undefined"!=typeof window?p2.useLayoutEffect:p2.useEffect,d2=Object(p2.memo)(Object(p2.forwardRef)((function(t4,e3){var r3=Object(p2.useRef)(),c3=Object(p2.useRef)(),u3=Object(p2.useRef)(t4.constructorType),i2=Object(p2.useRef)(t4.highcharts);return y2((function(){function e4(){var e5=t4.highcharts||"object"===("undefined"==typeof window?"undefined":s2(window))&&window.Highcharts,n4=t4.constructorType||"chart";e5?e5[n4]?t4.options?c3.current=e5[n4](r3.current,t4.options,t4.callback):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(c3.current){if(false!==t4.allowChartUpdate)if(t4.constructorType!==u3.current||t4.highcharts!==i2.current)u3.current=t4.constructorType,i2.current=t4.highcharts,e4();else if(!t4.immutable&&c3.current){var n3;(n3=c3.current).update.apply(n3,[t4.options].concat(o2(t4.updateArgs||[true,true])))}else e4()}else e4()}),[t4.options,t4.allowChartUpdate,t4.updateArgs,t4.containerProps,t4.highcharts,t4.constructorType]),y2((function(){return function(){c3.current&&(c3.current.destroy(),c3.current=null)}}),[]),Object(p2.useImperativeHandle)(e3,(function(){return{get chart(){return c3.current},container:r3}}),[]),l2.a.createElement("div",n2({},t4.containerProps,{ref:r3}))})));e2.default=d2},function(e2,r2){e2.exports=t2}])}))})(highchartsReact_min);var highchartsReact_minExports=highchartsReact_min.exports;const HighchartsReact=getDefaultExportFromCjs(highchartsReact_minExports);var highcharts={exports:{}};(function(module){(function(aa,K){module.exports?(K["default"]=K,module.exports=aa.document?K(aa):K):(aa.Highcharts&&aa.Highcharts.error(16,true),aa.Highcharts=K(aa))})("undefined"!==typeof window?window:commonjsGlobal,(function(aa){function K(a2,A2,g3,F2){a2.hasOwnProperty(A2)||(a2[A2]=F2.apply(null,g3),"function"===typeof CustomEvent&&aa.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:A2,module:a2[A2]}})))}var g2={};K(g2,"Core/Globals.js",[],(function(){var a2;(function(a3){a3.SVG_NS="http://www.w3.org/2000/svg";a3.product="Highcharts";a3.version="10.3.3";a3.win="undefined"!==typeof aa?aa:{};a3.doc=a3.win.document;a3.svg=a3.doc&&a3.doc.createElementNS&&!!a3.doc.createElementNS(a3.SVG_NS,"svg").createSVGRect;a3.userAgent=a3.win.navigator&&a3.win.navigator.userAgent||"";a3.isChrome=-1!==a3.userAgent.indexOf("Chrome");a3.isFirefox=-1!==a3.userAgent.indexOf("Firefox");a3.isMS=/(edge|msie|trident)/i.test(a3.userAgent)&&!a3.win.opera;a3.isSafari=!a3.isChrome&&-1!==a3.userAgent.indexOf("Safari");a3.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(a3.userAgent);a3.isWebKit=-1!==a3.userAgent.indexOf("AppleWebKit");a3.deg2rad=2*Math.PI/360;a3.hasBidiBug=a3.isFirefox&&4>parseInt(a3.userAgent.split("Firefox/")[1],10);a3.hasTouch=!!a3.win.TouchEvent;a3.marginNames=["plotTop","marginRight","marginBottom","plotLeft"];a3.noop=function(){};a3.supportsPassiveEvents=function(){var g3=false;if(!a3.isMS){var A2=Object.defineProperty({},"passive",{get:function(){g3=true}});a3.win.addEventListener&&a3.win.removeEventListener&&(a3.win.addEventListener("testPassive",a3.noop,A2),a3.win.removeEventListener("testPassive",a3.noop,A2))}return g3}();a3.charts=[];a3.dateFormats={};a3.seriesTypes={};a3.symbolSizes={};a3.chartCount=0})(a2||(a2={}));return a2}));K(g2,"Core/Utilities.js",[g2["Core/Globals.js"]],(function(a2){function g3(b3,c3,n3,J){var z2=c3?"Highcharts error":"Highcharts warning";32===b3&&(b3=""+z2+": Deprecated member");var q=l2(b3),u3=q?""+z2+" #"+b3+": www.highcharts.com/errors/"+b3+"/":b3.toString();if("undefined"!==typeof J){var N="";q&&(u3+="?");E2(J,(function(b4,z3){N+="\n - ".concat(z3,": ").concat(b4);q&&(u3+=encodeURI(z3)+"="+encodeURI(b4))}));u3+=N}y2(a2,"displayError",{chart:n3,code:b3,message:u3,params:J},(function(){if(c3)throw Error(u3);f2.console&&-1===g3.messages.indexOf(u3)&&console.warn(u3)}));g3.messages.push(u3)}function x2(b3,f3){var z2={};E2(b3,(function(c3,q){if(H2(b3[q],true)&&!b3.nodeType&&f3[q])c3=x2(b3[q],f3[q]),Object.keys(c3).length&&(z2[q]=c3);else if(H2(b3[q])||b3[q]!==f3[q]||q in b3&&!(q in f3))z2[q]=b3[q]}));return z2}function F2(b3,f3){return parseInt(b3,f3||10)}function C2(b3){return"string"===typeof b3}function B(b3){b3=Object.prototype.toString.call(b3);return"[object Array]"===b3||"[object Array Iterator]"===b3}function H2(b3,f3){return!!b3&&"object"===typeof b3&&(!f3||!B(b3))}function t2(b3){return H2(b3)&&"number"===typeof b3.nodeType}function r2(b3){var f3=b3&&b3.constructor;return!(!H2(b3,true)||t2(b3)||!f3||!f3.name||"Object"===f3.name)}function l2(b3){return"number"===typeof b3&&!isNaN(b3)&&Infinity>b3&&-Infinity<b3}function e2(b3){return"undefined"!==typeof b3&&null!==b3}function d2(b3,f3,c3){var z2=C2(f3)&&!e2(c3),q,n3=function(f4,c4){e2(f4)?b3.setAttribute(c4,f4):z2?(q=b3.getAttribute(c4))||"class"!==c4||(q=b3.getAttribute(c4+"Name")):b3.removeAttribute(c4)};C2(f3)?n3(c3,f3):E2(f3,n3);return q}function h2(b3,f3){var c3;b3||(b3={});for(c3 in f3)b3[c3]=f3[c3];return b3}function m2(){for(var b3=arguments,f3=b3.length,c3=0;c3<f3;c3++){var J=b3[c3];if("undefined"!==typeof J&&null!==J)return J}}function k2(b3,f3){a2.isMS&&!a2.svg&&f3&&e2(f3.opacity)&&(f3.filter="alpha(opacity=".concat(100*f3.opacity,")"));h2(b3.style,f3)}function p2(b3){return Math.pow(10,Math.floor(Math.log(b3)/Math.LN10))}function D2(b3,f3){return 1e14<b3?b3:parseFloat(b3.toPrecision(f3||14))}function I(b3,c3,n3){var z2=a2.getStyle||I;if("width"===c3)return c3=Math.min(b3.offsetWidth,b3.scrollWidth),n3=b3.getBoundingClientRect&&b3.getBoundingClientRect().width,n3<c3&&n3>=c3-1&&(c3=Math.floor(n3)),Math.max(0,c3-(z2(b3,"padding-left",true)||0)-(z2(b3,"padding-right",true)||0));if("height"===c3)return Math.max(0,Math.min(b3.offsetHeight,b3.scrollHeight)-(z2(b3,"padding-top",true)||0)-(z2(b3,"padding-bottom",true)||0));f2.getComputedStyle||g3(27,true);if(b3=f2.getComputedStyle(b3,void 0)){var q=b3.getPropertyValue(c3);m2(n3,"opacity"!==c3)&&(q=F2(q))}return q}function E2(b3,f3,c3){for(var z2 in b3)Object.hasOwnProperty.call(b3,z2)&&f3.call(c3||b3[z2],b3[z2],z2,b3)}function L2(b3,f3,c3){function z2(f4,c4){var v2=b3.removeEventListener||a2.removeEventListenerPolyfill;v2&&v2.call(b3,f4,c4,false)}function q(c4){var v2;if(b3.nodeName){if(f3){var q2={};q2[f3]=true}else q2=c4;E2(q2,(function(b4,f4){if(c4[f4])for(v2=c4[f4].length;v2--;)z2(f4,c4[f4][v2].fn)}))}}var n3="function"===typeof b3&&b3.prototype||b3;if(Object.hasOwnProperty.call(n3,"hcEvents")){var u3=n3.hcEvents;f3?(n3=u3[f3]||[],c3?(u3[f3]=n3.filter((function(b4){return c3!==b4.fn})),z2(f3,c3)):(q(u3),u3[f3]=[])):(q(u3),delete n3.hcEvents)}}function y2(b3,f3,c3,J){c3=c3||{};if(w2.createEvent&&(b3.dispatchEvent||b3.fireEvent&&b3!==a2)){var z2=w2.createEvent("Events");z2.initEvent(f3,true,true);c3=h2(z2,c3);b3.dispatchEvent?b3.dispatchEvent(c3):b3.fireEvent(f3,c3)}else if(b3.hcEvents){c3.target||h2(c3,{preventDefault:function(){c3.defaultPrevented=true},target:b3,type:f3});z2=[];for(var q=b3,n3=false;q.hcEvents;)Object.hasOwnProperty.call(q,"hcEvents")&&q.hcEvents[f3]&&(z2.length&&(n3=true),z2.unshift.apply(z2,q.hcEvents[f3])),q=Object.getPrototypeOf(q);n3&&z2.sort((function(b4,f4){return b4.order-f4.order}));z2.forEach((function(f4){false===f4.fn.call(b3,c3)&&c3.preventDefault()}))}J&&!c3.defaultPrevented&&J.call(b3,c3)}var c2=a2.charts,w2=a2.doc,f2=a2.win;(g3||(g3={})).messages=[];Math.easeInOutSine=function(b3){return-.5*(Math.cos(Math.PI*b3)-1)};var n2=Array.prototype.find?function(b3,f3){return b3.find(f3)}:function(b3,f3){var c3,q=b3.length;for(c3=0;c3<q;c3++)if(f3(b3[c3],c3))return b3[c3]};E2({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(b3,f3){a2[f3]=function(c3){var q;g3(32,false,void 0,(q={},q["Highcharts.".concat(f3)]="use Array.".concat(b3),q));return Array.prototype[b3].apply(c3,[].slice.call(arguments,1))}}));var b2,u2=function(){var f3=Math.random().toString(36).substring(2,9)+"-",c3=0;return function(){return"highcharts-"+(b2?"":f3)+c3++}}();f2.jQuery&&(f2.jQuery.fn.highcharts=function(){var b3=[].slice.call(arguments);if(this[0])return b3[0]?(new(a2[C2(b3[0])?b3.shift():"Chart"])(this[0],b3[0],b3[1]),this):c2[d2(this[0],"data-highcharts-chart")]});n2={addEvent:function(b3,f3,c3,J){void 0===J&&(J={});var q="function"===typeof b3&&b3.prototype||b3;Object.hasOwnProperty.call(q,"hcEvents")||(q.hcEvents={});q=q.hcEvents;a2.Point&&b3 instanceof a2.Point&&b3.series&&b3.series.chart&&(b3.series.chart.runTrackerClick=true);var z2=b3.addEventListener||a2.addEventListenerPolyfill;z2&&z2.call(b3,f3,c3,a2.supportsPassiveEvents?{passive:void 0===J.passive?-1!==f3.indexOf("touch"):J.passive,capture:false}:false);q[f3]||(q[f3]=[]);q[f3].push({fn:c3,order:"number"===typeof J.order?J.order:Infinity});q[f3].sort((function(b4,f4){return b4.order-f4.order}));return function(){L2(b3,f3,c3)}},arrayMax:function(b3){for(var f3=b3.length,c3=b3[0];f3--;)b3[f3]>c3&&(c3=b3[f3]);return c3},arrayMin:function(b3){for(var f3=b3.length,c3=b3[0];f3--;)b3[f3]<c3&&(c3=b3[f3]);return c3},attr:d2,clamp:function(b3,f3,c3){return b3>f3?b3<c3?b3:c3:f3},cleanRecursively:x2,clearTimeout:function(b3){e2(b3)&&clearTimeout(b3)},correctFloat:D2,createElement:function(b3,f3,c3,J,n3){b3=w2.createElement(b3);f3&&h2(b3,f3);n3&&k2(b3,{padding:"0",border:"none",margin:"0"});c3&&k2(b3,c3);J&&J.appendChild(b3);return b3},css:k2,defined:e2,destroyObjectProperties:function(b3,f3){E2(b3,(function(c3,q){c3&&c3!==f3&&c3.destroy&&c3.destroy();delete b3[q]}))},discardElement:function(b3){b3&&b3.parentElement&&b3.parentElement.removeChild(b3)},erase:function(b3,f3){for(var c3=b3.length;c3--;)if(b3[c3]===f3){b3.splice(c3,1);break}},error:g3,extend:h2,extendClass:function(b3,f3){var c3=function(){};c3.prototype=new b3;h2(c3.prototype,f3);return c3},find:n2,fireEvent:y2,getMagnitude:p2,getNestedProperty:function(b3,c3){for(b3=b3.split(".");b3.length&&e2(c3);){var q=b3.shift();if("undefined"===typeof q||"__proto__"===q)return;c3=c3[q];if(!e2(c3)||"function"===typeof c3||"number"===typeof c3.nodeType||c3===f2)return}return c3},getStyle:I,inArray:function(b3,c3,f3){g3(32,false,void 0,{"Highcharts.inArray":"use Array.indexOf"});return c3.indexOf(b3,f3)},isArray:B,isClass:r2,isDOMElement:t2,isFunction:function(b3){return"function"===typeof b3},isNumber:l2,isObject:H2,isString:C2,keys:function(b3){g3(32,false,void 0,{"Highcharts.keys":"use Object.keys"});return Object.keys(b3)},merge:function(){var b3,c3=arguments,f3={},J=function(b4,c4){"object"!==typeof b4&&(b4={});E2(c4,(function(f4,v2){"__proto__"!==v2&&"constructor"!==v2&&(!H2(f4,true)||r2(f4)||t2(f4)?b4[v2]=c4[v2]:b4[v2]=J(b4[v2]||{},f4))}));return b4};true===c3[0]&&(f3=c3[1],c3=Array.prototype.slice.call(c3,2));var n3=c3.length;for(b3=0;b3<n3;b3++)f3=J(f3,c3[b3]);return f3},normalizeTickInterval:function(b3,c3,f3,J,n3){var q=b3;f3=m2(f3,p2(b3));var u3=b3/f3;c3||(c3=n3?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],false===J&&(1===f3?c3=c3.filter((function(b4){return 0===b4%1})):.1>=f3&&(c3=[1/f3])));for(J=0;J<c3.length&&!(q=c3[J],n3&&q*f3>=b3||!n3&&u3<=(c3[J]+(c3[J+1]||c3[J]))/2);J++);return q=D2(q*f3,-Math.round(Math.log(.001)/Math.LN10))},objectEach:E2,offset:function(b3){var c3=w2.documentElement;b3=b3.parentElement||b3.parentNode?b3.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:b3.top+(f2.pageYOffset||c3.scrollTop)-(c3.clientTop||0),left:b3.left+(f2.pageXOffset||c3.scrollLeft)-(c3.clientLeft||0),width:b3.width,height:b3.height}},pad:function(b3,c3,f3){return Array((c3||2)+1-String(b3).replace("-","").length).join(f3||"0")+b3},pick:m2,pInt:F2,relativeLength:function(b3,c3,f3){return/%$/.test(b3)?c3*parseFloat(b3)/100+(f3||0):parseFloat(b3)},removeEvent:L2,splat:function(b3){return B(b3)?b3:[b3]},stableSort:function(b3,c3){var f3=b3.length,J,n3;for(n3=0;n3<f3;n3++)b3[n3].safeI=n3;b3.sort((function(b4,f4){J=c3(b4,f4);return 0===J?b4.safeI-f4.safeI:J}));for(n3=0;n3<f3;n3++)delete b3[n3].safeI},syncTimeout:function(b3,c3,f3){if(0<c3)return setTimeout(b3,c3,f3);b3.call(0,f3);return-1},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:u2,useSerialIds:function(c3){return b2=m2(c3,b2)},wrap:function(b3,c3,f3){var n3=b3[c3];b3[c3]=function(){var b4=arguments,c4=this;return f3.apply(this,[function(){return n3.apply(c4,arguments.length?arguments:b4)}].concat([].slice.call(arguments)))}}};return n2}));K(g2,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:false,panning:{enabled:false,type:"x"},styledMode:false,borderRadius:0,colorCount:10,allowMutatingData:true,defaultSeriesType:"line",ignoreHiddenSeries:true,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:false,zooming:{singleTouch:false,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}));K(g2,"Core/Color/Color.js",[g2["Core/Globals.js"],g2["Core/Utilities.js"]],(function(a2,g3){var A2=g3.isNumber,F2=g3.merge,C2=g3.pInt;g3=function(){function g4(A3){this.rgba=[NaN,NaN,NaN,NaN];this.input=A3;var t2=a2.Color;if(t2&&t2!==g4)return new t2(A3);if(!(this instanceof g4))return new g4(A3);this.init(A3)}g4.parse=function(a3){return a3?new g4(a3):g4.None};g4.prototype.init=function(a3){var t2;if("object"===typeof a3&&"undefined"!==typeof a3.stops)this.stops=a3.stops.map((function(d2){return new g4(d2[1])}));else if("string"===typeof a3){this.input=a3=g4.names[a3.toLowerCase()]||a3;if("#"===a3.charAt(0)){var r2=a3.length;var l2=parseInt(a3.substr(1),16);7===r2?t2=[(l2&16711680)>>16,(l2&65280)>>8,l2&255,1]:4===r2&&(t2=[(l2&3840)>>4|(l2&3840)>>8,(l2&240)>>4|l2&240,(l2&15)<<4|l2&15,1])}if(!t2)for(l2=g4.parsers.length;l2--&&!t2;){var e2=g4.parsers[l2];(r2=e2.regex.exec(a3))&&(t2=e2.parse(r2))}}t2&&(this.rgba=t2)};g4.prototype.get=function(a3){var t2=this.input,r2=this.rgba;if("object"===typeof t2&&"undefined"!==typeof this.stops){var l2=F2(t2);l2.stops=[].slice.call(l2.stops);this.stops.forEach((function(e2,d2){l2.stops[d2]=[l2.stops[d2][0],e2.get(a3)]}));return l2}return r2&&A2(r2[0])?"rgb"===a3||!a3&&1===r2[3]?"rgb("+r2[0]+","+r2[1]+","+r2[2]+")":"a"===a3?"".concat(r2[3]):"rgba("+r2.join(",")+")":t2};g4.prototype.brighten=function(a3){var t2=this.rgba;if(this.stops)this.stops.forEach((function(l2){l2.brighten(a3)}));else if(A2(a3)&&0!==a3)for(var r2=0;3>r2;r2++)t2[r2]+=C2(255*a3),0>t2[r2]&&(t2[r2]=0),255<t2[r2]&&(t2[r2]=255);return this};g4.prototype.setOpacity=function(a3){this.rgba[3]=a3;return this};g4.prototype.tweenTo=function(a3,t2){var r2=this.rgba,l2=a3.rgba;if(!A2(r2[0])||!A2(l2[0]))return a3.input||"none";a3=1!==l2[3]||1!==r2[3];return(a3?"rgba(":"rgb(")+Math.round(l2[0]+(r2[0]-l2[0])*(1-t2))+","+Math.round(l2[1]+(r2[1]-l2[1])*(1-t2))+","+Math.round(l2[2]+(r2[2]-l2[2])*(1-t2))+(a3?","+(l2[3]+(r2[3]-l2[3])*(1-t2)):"")+")"};g4.names={white:"#ffffff",black:"#000000"};g4.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(a3){return[C2(a3[1]),C2(a3[2]),C2(a3[3]),parseFloat(a3[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(a3){return[C2(a3[1]),C2(a3[2]),C2(a3[3]),1]}}];g4.None=new g4("");return g4}();return g3}));K(g2,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}}));K(g2,"Core/Time.js",[g2["Core/Globals.js"],g2["Core/Utilities.js"]],(function(a2,g3){var A2=a2.win,F2=g3.defined,C2=g3.error,B=g3.extend,H2=g3.isObject,t2=g3.merge,r2=g3.objectEach,l2=g3.pad,e2=g3.pick,d2=g3.splat,h2=g3.timeUnits,m2=a2.isSafari&&A2.Intl&&A2.Intl.DateTimeFormat.prototype.formatRange,k2=a2.isSafari&&A2.Intl&&!A2.Intl.DateTimeFormat.prototype.formatRange;g3=function(){function p2(d3){this.options={};this.variableTimezone=this.useUTC=false;this.Date=A2.Date;this.getTimezoneOffset=this.timezoneOffsetFunction();this.update(d3)}p2.prototype.get=function(d3,e3){if(this.variableTimezone||this.timezoneOffset){var h3=e3.getTime(),k3=h3-this.getTimezoneOffset(e3);e3.setTime(k3);d3=e3["getUTC"+d3]();e3.setTime(h3);return d3}return this.useUTC?e3["getUTC"+d3]():e3["get"+d3]()};p2.prototype.set=function(d3,e3,h3){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===d3||"Seconds"===d3||"Minutes"===d3&&0===this.getTimezoneOffset(e3)%36e5)return e3["setUTC"+d3](h3);var k3=this.getTimezoneOffset(e3);k3=e3.getTime()-k3;e3.setTime(k3);e3["setUTC"+d3](h3);d3=this.getTimezoneOffset(e3);k3=e3.getTime()+d3;return e3.setTime(k3)}return this.useUTC||m2&&"FullYear"===d3?e3["setUTC"+d3](h3):e3["set"+d3](h3)};p2.prototype.update=function(d3){void 0===d3&&(d3={});var h3=e2(d3.useUTC,true);this.options=d3=t2(true,this.options,d3);this.Date=d3.Date||A2.Date||Date;this.timezoneOffset=(this.useUTC=h3)&&d3.timezoneOffset||void 0;this.getTimezoneOffset=this.timezoneOffsetFunction();this.variableTimezone=h3&&!(!d3.getTimezoneOffset&&!d3.timezone)};p2.prototype.makeTime=function(d3,h3,m3,p3,y2,c2){if(this.useUTC){var w2=this.Date.UTC.apply(0,arguments);var f2=this.getTimezoneOffset(w2);w2+=f2;var n2=this.getTimezoneOffset(w2);f2!==n2?w2+=n2-f2:f2-36e5!==this.getTimezoneOffset(w2-36e5)||k2||(w2-=36e5)}else w2=new this.Date(d3,h3,e2(m3,1),e2(p3,0),e2(y2,0),e2(c2,0)).getTime();return w2};p2.prototype.timezoneOffsetFunction=function(){var d3=this,e3=this.options,h3=e3.getTimezoneOffset,k3=e3.moment||A2.moment;if(!this.useUTC)return function(d4){return 6e4*new Date(d4.toString()).getTimezoneOffset()};if(e3.timezone){if(k3)return function(d4){return 6e4*-k3.tz(d4,e3.timezone).utcOffset()};C2(25)}return this.useUTC&&h3?function(d4){return 6e4*h3(d4.valueOf())}:function(){return 6e4*(d3.timezoneOffset||0)}};p2.prototype.dateFormat=function(d3,h3,k3){if(!F2(h3)||isNaN(h3))return a2.defaultOptions.lang&&a2.defaultOptions.lang.invalidDate||"";d3=e2(d3,"%Y-%m-%d %H:%M:%S");var m3=this,p3=new this.Date(h3),c2=this.get("Hours",p3),w2=this.get("Day",p3),f2=this.get("Date",p3),n2=this.get("Month",p3),b2=this.get("FullYear",p3),u2=a2.defaultOptions.lang,z2=u2&&u2.weekdays,q=u2&&u2.shortWeekdays;p3=B({a:q?q[w2]:z2[w2].substr(0,3),A:z2[w2],d:l2(f2),e:l2(f2,2," "),w:w2,b:u2.shortMonths[n2],B:u2.months[n2],m:l2(n2+1),o:n2+1,y:b2.toString().substr(2,2),Y:b2,H:l2(c2),k:c2,I:l2(c2%12||12),l:c2%12||12,M:l2(this.get("Minutes",p3)),p:12>c2?"AM":"PM",P:12>c2?"am":"pm",S:l2(p3.getSeconds()),L:l2(Math.floor(h3%1e3),3)},a2.dateFormats);r2(p3,(function(b3,c3){for(;-1!==d3.indexOf("%"+c3);)d3=d3.replace("%"+c3,"function"===typeof b3?b3.call(m3,h3):b3)}));return k3?d3.substr(0,1).toUpperCase()+d3.substr(1):d3};p2.prototype.resolveDTLFormat=function(e3){return H2(e3,true)?e3:(e3=d2(e3),{main:e3[0],from:e3[1],to:e3[2]})};p2.prototype.getTimeTicks=function(d3,k3,p3,m3){var y2=this,c2=[],w2={},f2=new y2.Date(k3),n2=d3.unitRange,b2=d3.count||1,u2;m3=e2(m3,1);if(F2(k3)){y2.set("Milliseconds",f2,n2>=h2.second?0:b2*Math.floor(y2.get("Milliseconds",f2)/b2));n2>=h2.second&&y2.set("Seconds",f2,n2>=h2.minute?0:b2*Math.floor(y2.get("Seconds",f2)/b2));n2>=h2.minute&&y2.set("Minutes",f2,n2>=h2.hour?0:b2*Math.floor(y2.get("Minutes",f2)/b2));n2>=h2.hour&&y2.set("Hours",f2,n2>=h2.day?0:b2*Math.floor(y2.get("Hours",f2)/b2));n2>=h2.day&&y2.set("Date",f2,n2>=h2.month?1:Math.max(1,b2*Math.floor(y2.get("Date",f2)/b2)));if(n2>=h2.month){y2.set("Month",f2,n2>=h2.year?0:b2*Math.floor(y2.get("Month",f2)/b2));var z2=y2.get("FullYear",f2)}n2>=h2.year&&y2.set("FullYear",f2,z2-z2%b2);n2===h2.week&&(z2=y2.get("Day",f2),y2.set("Date",f2,y2.get("Date",f2)-z2+m3+(z2<m3?-7:0)));z2=y2.get("FullYear",f2);m3=y2.get("Month",f2);var q=y2.get("Date",f2),N=y2.get("Hours",f2);k3=f2.getTime();!y2.variableTimezone&&y2.useUTC||!F2(p3)||(u2=p3-k3>4*h2.month||y2.getTimezoneOffset(k3)!==y2.getTimezoneOffset(p3));k3=f2.getTime();for(f2=1;k3<p3;)c2.push(k3),k3=n2===h2.year?y2.makeTime(z2+f2*b2,0):n2===h2.month?y2.makeTime(z2,m3+f2*b2):!u2||n2!==h2.day&&n2!==h2.week?u2&&n2===h2.hour&&1<b2?y2.makeTime(z2,m3,q,N+f2*b2):k3+n2*b2:y2.makeTime(z2,m3,q+f2*b2*(n2===h2.day?1:7)),f2++;c2.push(k3);n2<=h2.hour&&1e4>c2.length&&c2.forEach((function(b3){0===b3%18e5&&"000000000"===y2.dateFormat("%H%M%S%L",b3)&&(w2[b3]="day")}))}c2.info=B(d3,{higherRanks:w2,totalRange:n2*b2});return c2};p2.prototype.getDateFormat=function(d3,e3,k3,p3){var m3=this.dateFormat("%m-%d %H:%M:%S.%L",e3),c2={millisecond:15,second:12,minute:9,hour:6,day:3},w2="millisecond";for(f2 in h2){if(d3===h2.week&&+this.dateFormat("%w",e3)===k3&&"00:00:00.000"===m3.substr(6)){var f2="week";break}if(h2[f2]>d3){f2=w2;break}if(c2[f2]&&m3.substr(c2[f2])!=="01-01 00:00:00.000".substr(c2[f2]))break;"week"!==f2&&(w2=f2)}return this.resolveDTLFormat(p3[f2]).main};return p2}();return g3}));K(g2,"Core/Defaults.js",[g2["Core/Chart/ChartDefaults.js"],g2["Core/Color/Color.js"],g2["Core/Globals.js"],g2["Core/Color/Palettes.js"],g2["Core/Time.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B){g3=g3.parse;var A2=B.merge,t2={colors:F2.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:true},chart:a2,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:true,align:"center",alignColumns:true,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:false,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:true,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:true,animation:x2.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:false,snap:x2.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:g3("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:true,stickOnContact:false,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:false},credits:{enabled:true,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};t2.chart.styledMode=false;var r2=new C2(A2(t2.global,t2.time));a2={defaultOptions:t2,defaultTime:r2,getOptions:function(){return t2},setOptions:function(l2){A2(true,t2,l2);if(l2.time||l2.global)x2.time?x2.time.update(A2(t2.global,t2.time,l2.global,l2.time)):x2.time=r2;return t2}};return a2}));K(g2,"Core/Animation/Fx.js",[g2["Core/Color/Color.js"],g2["Core/Globals.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=a2.parse,C2=g3.win,B=x2.isNumber,H2=x2.objectEach;return function(){function a3(a4,l2,e2){this.pos=NaN;this.options=l2;this.elem=a4;this.prop=e2}a3.prototype.dSetter=function(){var a4=this.paths,l2=a4&&a4[0];a4=a4&&a4[1];var e2=this.now||0,d2=[];if(1!==e2&&l2&&a4)if(l2.length===a4.length&&1>e2)for(var h2=0;h2<a4.length;h2++){for(var m2=l2[h2],k2=a4[h2],p2=[],D2=0;D2<k2.length;D2++){var I=m2[D2],E2=k2[D2];B(I)&&B(E2)&&("A"!==k2[0]||4!==D2&&5!==D2)?p2[D2]=I+e2*(E2-I):p2[D2]=E2}d2.push(p2)}else d2=a4;else d2=this.toD||[];this.elem.attr("d",d2,void 0,true)};a3.prototype.update=function(){var a4=this.elem,l2=this.prop,e2=this.now,d2=this.options.step;if(this[l2+"Setter"])this[l2+"Setter"]();else a4.attr?a4.element&&a4.attr(l2,e2,null,true):a4.style[l2]=e2+this.unit;d2&&d2.call(a4,e2,this)};a3.prototype.run=function(r2,l2,e2){var d2=this,h2=d2.options,m2=function(e3){return m2.stopped?false:d2.step(e3)},k2=C2.requestAnimationFrame||function(d3){setTimeout(d3,13)},p2=function(){for(var d3=0;d3<a3.timers.length;d3++)a3.timers[d3]()||a3.timers.splice(d3--,1);a3.timers.length&&k2(p2)};r2!==l2||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=r2,this.end=l2,this.unit=e2,this.now=this.start,this.pos=0,m2.elem=this.elem,m2.prop=this.prop,m2()&&1===a3.timers.push(m2)&&k2(p2)):(delete h2.curAnim[this.prop],h2.complete&&0===Object.keys(h2.curAnim).length&&h2.complete.call(this.elem))};a3.prototype.step=function(a4){var l2=+new Date,e2=this.options,d2=this.elem,h2=e2.complete,m2=e2.duration,k2=e2.curAnim;if(d2.attr&&!d2.element)a4=false;else if(a4||l2>=m2+this.startTime){this.now=this.end;this.pos=1;this.update();var p2=k2[this.prop]=true;H2(k2,(function(d3){true!==d3&&(p2=false)}));p2&&h2&&h2.call(d2);a4=false}else this.pos=e2.easing((l2-this.startTime)/m2),this.now=this.start+(this.end-this.start)*this.pos,this.update(),a4=true;return a4};a3.prototype.initPath=function(a4,l2,e2){function d2(d3,c2){for(;d3.length<L2;){var e3=d3[0],f2=c2[L2-d3.length];f2&&"M"===e3[0]&&(d3[0]="C"===f2[0]?["C",e3[1],e3[2],e3[1],e3[2],e3[1],e3[2]]:["L",e3[1],e3[2]]);d3.unshift(e3);p2&&(e3=d3.pop(),d3.push(d3[d3.length-1],e3))}}function h2(d3,c2){for(;d3.length<L2;)if(c2=d3[Math.floor(d3.length/D2)-1].slice(),"C"===c2[0]&&(c2[1]=c2[5],c2[2]=c2[6]),p2){var e3=d3[Math.floor(d3.length/D2)].slice();d3.splice(d3.length/2,0,c2,e3)}else d3.push(c2)}var m2=a4.startX,k2=a4.endX;e2=e2.slice();var p2=a4.isArea,D2=p2?2:1;l2=l2&&l2.slice();if(!l2)return[e2,e2];if(m2&&k2&&k2.length){for(a4=0;a4<m2.length;a4++)if(m2[a4]===k2[0]){var I=a4;break}else if(m2[0]===k2[k2.length-m2.length+a4]){I=a4;var E2=true;break}else if(m2[m2.length-1]===k2[k2.length-m2.length+a4]){I=m2.length-a4;break}"undefined"===typeof I&&(l2=[])}if(l2.length&&B(I)){var L2=e2.length+I*D2;E2?(d2(l2,e2),h2(e2,l2)):(d2(e2,l2),h2(l2,e2))}return[l2,e2]};a3.prototype.fillSetter=function(){a3.prototype.strokeSetter.apply(this,arguments)};a3.prototype.strokeSetter=function(){this.elem.attr(this.prop,A2(this.start).tweenTo(A2(this.end),this.pos),void 0,true)};a3.timers=[];return a3}()}));K(g2,"Core/Animation/AnimationUtilities.js",[g2["Core/Animation/Fx.js"],g2["Core/Utilities.js"]],(function(a2,g3){function A2(d3){return r2(d3)?l2({duration:500,defer:0},d3):{duration:d3?500:0,defer:0}}function F2(d3,e3){for(var k2=a2.timers.length;k2--;)a2.timers[k2].elem!==d3||e3&&e3!==a2.timers[k2].prop||(a2.timers[k2].stopped=true)}var C2=g3.defined,B=g3.getStyle,H2=g3.isArray,t2=g3.isNumber,r2=g3.isObject,l2=g3.merge,e2=g3.objectEach,d2=g3.pick;return{animate:function(d3,m2,k2){var p2,h2="",I,E2;if(!r2(k2)){var g4=arguments;k2={duration:g4[2],easing:g4[3],complete:g4[4]}}t2(k2.duration)||(k2.duration=400);k2.easing="function"===typeof k2.easing?k2.easing:Math[k2.easing]||Math.easeInOutSine;k2.curAnim=l2(m2);e2(m2,(function(e3,c2){F2(d3,c2);E2=new a2(d3,k2,c2);I=void 0;"d"===c2&&H2(m2.d)?(E2.paths=E2.initPath(d3,d3.pathArray,m2.d),E2.toD=m2.d,p2=0,I=1):d3.attr?p2=d3.attr(c2):(p2=parseFloat(B(d3,c2))||0,"opacity"!==c2&&(h2="px"));I||(I=e3);"string"===typeof I&&I.match("px")&&(I=I.replace(/px/g,""));E2.run(p2,I,h2)}))},animObject:A2,getDeferredAnimation:function(d3,e3,k2){var p2=A2(e3),h2=0,m2=0;(k2?[k2]:d3.series).forEach((function(d4){d4=A2(d4.options.animation);h2=e3&&C2(e3.defer)?p2.defer:Math.max(h2,d4.duration+d4.defer);m2=Math.min(p2.duration,d4.duration)}));d3.renderer.forExport&&(h2=0);return{defer:Math.max(0,h2-m2),duration:Math.min(h2,m2)}},setAnimation:function(e3,m2){m2.renderer.globalAnimation=d2(e3,m2.options.chart.animation,true)},stop:F2}}));K(g2,"Core/Renderer/HTML/AST.js",[g2["Core/Globals.js"],g2["Core/Utilities.js"]],(function(a2,g3){var A2=a2.SVG_NS,F2=g3.attr,C2=g3.createElement,B=g3.css,H2=g3.error,t2=g3.isFunction,r2=g3.isString,l2=g3.objectEach,e2=g3.splat,d2=(g3=a2.win.trustedTypes)&&t2(g3.createPolicy)&&g3.createPolicy("highcharts",{createHTML:function(d3){return d3}}),h2=d2?d2.createHTML(""):"";try{var m2=!!(new DOMParser).parseFromString(h2,"text/html")}catch(k2){m2=false}t2=function(){function k2(d3){this.nodes="string"===typeof d3?this.parseMarkup(d3):d3}k2.filterUserAttributes=function(d3){l2(d3,(function(e3,h3){var m3=true;-1===k2.allowedAttributes.indexOf(h3)&&(m3=false);-1!==["background","dynsrc","href","lowsrc","src"].indexOf(h3)&&(m3=r2(e3)&&k2.allowedReferences.some((function(d4){return 0===e3.indexOf(d4)})));m3||(H2(33,false,void 0,{"Invalid attribute in config":"".concat(h3)}),delete d3[h3]);r2(e3)&&d3[h3]&&(d3[h3]=e3.replace(/</g,"<"))}));return d3};k2.parseStyle=function(d3){return d3.split(";").reduce((function(d4,e3){e3=e3.split(":").map((function(d5){return d5.trim()}));var k3=e3.shift();k3&&e3.length&&(d4[k3.replace(/-([a-z])/g,(function(d5){return d5[1].toUpperCase()}))]=e3.join(":"));return d4}),{})};k2.setElementHTML=function(d3,e3){d3.innerHTML=k2.emptyHTML;e3&&new k2(e3).addToDOM(d3)};k2.prototype.addToDOM=function(d3){function h3(d4,m3){var p2;e2(d4).forEach((function(d5){var c2=d5.tagName,e3=d5.textContent?a2.doc.createTextNode(d5.textContent):void 0,f2=k2.bypassHTMLFiltering;if(c2)if("#text"===c2)var n2=e3;else if(-1!==k2.allowedTags.indexOf(c2)||f2){c2=a2.doc.createElementNS("svg"===c2?A2:m3.namespaceURI||A2,c2);var b2=d5.attributes||{};l2(d5,(function(c3,f3){"tagName"!==f3&&"attributes"!==f3&&"children"!==f3&&"style"!==f3&&"textContent"!==f3&&(b2[f3]=c3)}));F2(c2,f2?b2:k2.filterUserAttributes(b2));d5.style&&B(c2,d5.style);e3&&c2.appendChild(e3);h3(d5.children||[],c2);n2=c2}else H2(33,false,void 0,{"Invalid tagName in config":c2});n2&&m3.appendChild(n2);p2=n2}));return p2}return h3(this.nodes,d3)};k2.prototype.parseMarkup=function(e3){var h3=[];e3=e3.trim().replace(/ style=(["'])/g," data-style=$1");if(m2)e3=(new DOMParser).parseFromString(d2?d2.createHTML(e3):e3,"text/html");else{var p2=C2("div");p2.innerHTML=e3;e3={body:p2}}var a3=function(d3,e4){var c2=d3.nodeName.toLowerCase(),h4={tagName:c2};"#text"===c2&&(h4.textContent=d3.textContent||"");if(c2=d3.attributes){var f2={};[].forEach.call(c2,(function(b2){"data-style"===b2.name?h4.style=k2.parseStyle(b2.value):f2[b2.name]=b2.value}));h4.attributes=f2}if(d3.childNodes.length){var n2=[];[].forEach.call(d3.childNodes,(function(b2){a3(b2,n2)}));n2.length&&(h4.children=n2)}e4.push(h4)};[].forEach.call(e3.body.childNodes,(function(d3){return a3(d3,h3)}));return h3};k2.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align text-anchor textAnchor textLength title type valign width x x1 x2 xlink:href y y1 y2 zIndex".split(" ");k2.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" ");k2.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text textPath thead title tbody tspan td th tr u ul #text".split(" ");k2.emptyHTML=h2;k2.bypassHTMLFiltering=false;return k2}();return t2}));K(g2,"Core/FormatUtilities.js",[g2["Core/Defaults.js"],g2["Core/Utilities.js"]],(function(a2,g3){function A2(a3,e2,d2,h2){a3=+a3||0;e2=+e2;var m2=F2.lang,k2=(a3.toString().split(".")[1]||"").split("e")[0].length,p2=a3.toString().split("e"),l2=e2;if(-1===e2)e2=Math.min(k2,20);else if(!H2(e2))e2=2;else if(e2&&p2[1]&&0>p2[1]){var g4=e2+ +p2[1];0<=g4?(p2[0]=(+p2[0]).toExponential(g4).split("e")[0],e2=g4):(p2[0]=p2[0].split(".")[0]||0,a3=20>e2?(p2[0]*Math.pow(10,p2[1])).toFixed(e2):0,p2[1]=0)}g4=(Math.abs(p2[1]?p2[0]:a3)+Math.pow(10,-Math.max(e2,k2)-1)).toFixed(e2);k2=String(r2(g4));var E2=3<k2.length?k2.length%3:0;d2=t2(d2,m2.decimalPoint);h2=t2(h2,m2.thousandsSep);a3=(0>a3?"-":"")+(E2?k2.substr(0,E2)+h2:"");a3=0>+p2[1]&&!l2?"0":a3+k2.substr(E2).replace(/(\d{3})(?=\d)/g,"$1"+h2);e2&&(a3+=d2+g4.slice(-e2));p2[1]&&0!==+a3&&(a3+="e"+p2[1]);return a3}var F2=a2.defaultOptions,C2=a2.defaultTime,B=g3.getNestedProperty,H2=g3.isNumber,t2=g3.pick,r2=g3.pInt;return{dateFormat:function(a3,e2,d2){return C2.dateFormat(a3,e2,d2)},format:function(a3,e2,d2){var h2="{",m2=false,k2=/f$/,p2=/\.([0-9])/,l2=F2.lang,g4=d2&&d2.time||C2;d2=d2&&d2.numberFormatter||A2;for(var E2=[];a3;){var t3=a3.indexOf(h2);if(-1===t3)break;var y2=a3.slice(0,t3);if(m2){y2=y2.split(":");h2=B(y2.shift()||"",e2);if(y2.length&&"number"===typeof h2)if(y2=y2.join(":"),k2.test(y2)){var c2=parseInt((y2.match(p2)||["","-1"])[1],10);null!==h2&&(h2=d2(h2,c2,l2.decimalPoint,-1<y2.indexOf(",")?l2.thousandsSep:""))}else h2=g4.dateFormat(y2,h2);E2.push(h2)}else E2.push(y2);a3=a3.slice(t3+1);h2=(m2=!m2)?"}":"{"}E2.push(a3);return E2.join("")},numberFormat:A2}}));K(g2,"Core/Renderer/RendererUtilities.js",[g2["Core/Utilities.js"]],(function(a2){var g3=a2.clamp,x2=a2.pick,F2=a2.stableSort,C2;(function(a3){function A2(a4,r2,l2){var e2=a4,d2=e2.reducedLen||r2,h2=function(d3,e3){return(e3.rank||0)-(d3.rank||0)},m2=function(d3,e3){return d3.target-e3.target},k2,p2=true,D2=[],I=0;for(k2=a4.length;k2--;)I+=a4[k2].size;if(I>d2){F2(a4,h2);for(I=k2=0;I<=d2;)I+=a4[k2].size,k2++;D2=a4.splice(k2-1,a4.length)}F2(a4,m2);for(a4=a4.map((function(d3){return{size:d3.size,targets:[d3.target],align:x2(d3.align,.5)}}));p2;){for(k2=a4.length;k2--;)d2=a4[k2],h2=(Math.min.apply(0,d2.targets)+Math.max.apply(0,d2.targets))/2,d2.pos=g3(h2-d2.size*d2.align,0,r2-d2.size);k2=a4.length;for(p2=false;k2--;)0<k2&&a4[k2-1].pos+a4[k2-1].size>a4[k2].pos&&(a4[k2-1].size+=a4[k2].size,a4[k2-1].targets=a4[k2-1].targets.concat(a4[k2].targets),a4[k2-1].align=.5,a4[k2-1].pos+a4[k2-1].size>r2&&(a4[k2-1].pos=r2-a4[k2-1].size),a4.splice(k2,1),p2=true)}e2.push.apply(e2,D2);k2=0;a4.some((function(d3){var h3=0;return(d3.targets||[]).some((function(){e2[k2].pos=d3.pos+h3;if("undefined"!==typeof l2&&Math.abs(e2[k2].pos-e2[k2].target)>l2)return e2.slice(0,k2+1).forEach((function(d4){return delete d4.pos})),e2.reducedLen=(e2.reducedLen||r2)-.1*r2,e2.reducedLen>.1*r2&&A2(e2,r2,l2),true;h3+=e2[k2].size;k2++;return false}))}));F2(e2,m2);return e2}a3.distribute=A2})(C2||(C2={}));return C2}));K(g2,"Core/Renderer/SVG/SVGElement.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Color/Color.js"],g2["Core/Globals.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2){var A2=a2.animate,B=a2.animObject,H2=a2.stop,t2=x2.deg2rad,r2=x2.doc,l2=x2.svg,e2=x2.SVG_NS,d2=x2.win,h2=F2.addEvent,m2=F2.attr,k2=F2.createElement,p2=F2.css,D2=F2.defined,I=F2.erase,E2=F2.extend,L2=F2.fireEvent,y2=F2.isArray,c2=F2.isFunction,w2=F2.isString,f2=F2.merge,n2=F2.objectEach,b2=F2.pick,u2=F2.pInt,z2=F2.syncTimeout,q=F2.uniqueKey;a2=function(){function a3(){this.element=void 0;this.onEvents={};this.opacity=1;this.renderer=void 0;this.SVG_NS=e2;this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}a3.prototype._defaultGetter=function(c3){c3=b2(this[c3+"Value"],this[c3],this.element?this.element.getAttribute(c3):null,0);/^[\-0-9\.]+$/.test(c3)&&(c3=parseFloat(c3));return c3};a3.prototype._defaultSetter=function(b3,c3,f3){f3.setAttribute(c3,b3)};a3.prototype.add=function(b3){var c3=this.renderer,f3=this.element;b3&&(this.parentGroup=b3);"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&c3.buildText(this);this.added=true;if(!b3||b3.handleZ||this.zIndex)var d3=this.zIndexSetter();d3||(b3?b3.element:c3.box).appendChild(f3);if(this.onAdd)this.onAdd();return this};a3.prototype.addClass=function(b3,c3){var f3=c3?"":this.attr("class")||"";b3=(b3||"").split(/ /g).reduce((function(b4,c4){-1===f3.indexOf(c4)&&b4.push(c4);return b4}),f3?[f3]:[]).join(" ");b3!==f3&&this.attr("class",b3);return this};a3.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=false)};a3.prototype.align=function(c3,f3,d3){var n3={},e3=this.renderer,v2=e3.alignedObjects,q2,J,u3;if(c3){if(this.alignOptions=c3,this.alignByTranslate=f3,!d3||w2(d3))this.alignTo=q2=d3||"renderer",I(v2,this),v2.push(this),d3=void 0}else c3=this.alignOptions,f3=this.alignByTranslate,q2=this.alignTo;d3=b2(d3,e3[q2],"scrollablePlotBox"===q2?e3.plotBox:void 0,e3);q2=c3.align;var a4=c3.verticalAlign;e3=(d3.x||0)+(c3.x||0);v2=(d3.y||0)+(c3.y||0);"right"===q2?J=1:"center"===q2&&(J=2);J&&(e3+=(d3.width-(c3.width||0))/J);n3[f3?"translateX":"x"]=Math.round(e3);"bottom"===a4?u3=1:"middle"===a4&&(u3=2);u3&&(v2+=(d3.height-(c3.height||0))/u3);n3[f3?"translateY":"y"]=Math.round(v2);this[this.placed?"animate":"attr"](n3);this.placed=true;this.alignAttr=n3;return this};a3.prototype.alignSetter=function(b3){var c3={left:"start",center:"middle",right:"end"};c3[b3]&&(this.alignValue=b3,this.element.setAttribute("text-anchor",c3[b3]))};a3.prototype.animate=function(c3,f3,d3){var e3=this,q2=B(b2(f3,this.renderer.globalAnimation,true));f3=q2.defer;b2(r2.hidden,r2.msHidden,r2.webkitHidden,false)&&(q2.duration=0);0!==q2.duration?(d3&&(q2.complete=d3),z2((function(){e3.element&&A2(e3,c3,q2)}),f3)):(this.attr(c3,void 0,d3||q2.complete),n2(c3,(function(b3,c4){q2.step&&q2.step.call(this,b3,{prop:c4,pos:1,elem:this})}),this));return this};a3.prototype.applyTextOutline=function(b3){var c3=this.element;-1!==b3.indexOf("contrast")&&(b3=b3.replace(/contrast/g,this.renderer.getContrast(c3.style.fill)));var f3=b3.split(" ");b3=f3[f3.length-1];if((f3=f3[0])&&"none"!==f3&&x2.svg){this.fakeTS=true;f3=f3.replace(/(^[\d\.]+)(.*?)$/g,(function(b4,c4,f4){return 2*Number(c4)+f4}));this.removeTextOutline();var d3=r2.createElementNS(e2,"tspan");m2(d3,{class:"highcharts-text-outline",fill:b3,stroke:b3,"stroke-width":f3,"stroke-linejoin":"round"});b3=c3.querySelector("textPath")||c3;[].forEach.call(b3.childNodes,(function(b4){var c4=b4.cloneNode(true);c4.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(b5){return c4.removeAttribute(b5)}));d3.appendChild(c4)}));var n3=0;[].forEach.call(b3.querySelectorAll("text tspan"),(function(b4){n3+=Number(b4.getAttribute("dy"))}));f3=r2.createElementNS(e2,"tspan");f3.textContent="";m2(f3,{x:Number(c3.getAttribute("x")),dy:-n3});d3.appendChild(f3);b3.insertBefore(d3,b3.firstChild)}};a3.prototype.attr=function(b3,c3,f3,d3){var e3=this.element,v2=this.symbolCustomAttribs,q2,u3=this,J,a4;if("string"===typeof b3&&"undefined"!==typeof c3){var G=b3;b3={};b3[G]=c3}"string"===typeof b3?u3=(this[b3+"Getter"]||this._defaultGetter).call(this,b3,e3):(n2(b3,(function(c4,f4){J=false;d3||H2(this,f4);this.symbolName&&-1!==v2.indexOf(f4)&&(q2||(this.symbolAttr(b3),q2=true),J=true);!this.rotation||"x"!==f4&&"y"!==f4||(this.doTransform=true);J||(a4=this[f4+"Setter"]||this._defaultSetter,a4.call(this,c4,f4,e3),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(f4)&&this.updateShadows(f4,c4,a4))}),this),this.afterSetters());f3&&f3.call(this);return u3};a3.prototype.clip=function(b3){return this.attr("clip-path",b3?"url("+this.renderer.url+"#"+b3.id+")":"none")};a3.prototype.crisp=function(b3,c3){c3=c3||b3.strokeWidth||0;var f3=Math.round(c3)%2/2;b3.x=Math.floor(b3.x||this.x||0)+f3;b3.y=Math.floor(b3.y||this.y||0)+f3;b3.width=Math.floor((b3.width||this.width||0)-2*f3);b3.height=Math.floor((b3.height||this.height||0)-2*f3);D2(b3.strokeWidth)&&(b3.strokeWidth=c3);return b3};a3.prototype.complexColor=function(b3,c3,d3){var e3=this.renderer,u3,v2,a4,J,h3,z3,G,k3,M,w3,m3=[],p3;L2(this.renderer,"complexColor",{args:arguments},(function(){b3.radialGradient?v2="radialGradient":b3.linearGradient&&(v2="linearGradient");if(v2){a4=b3[v2];h3=e3.gradients;z3=b3.stops;M=d3.radialReference;y2(a4)&&(b3[v2]=a4={x1:a4[0],y1:a4[1],x2:a4[2],y2:a4[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===v2&&M&&!D2(a4.gradientUnits)&&(J=a4,a4=f2(a4,e3.getRadialAttr(M,J),{gradientUnits:"userSpaceOnUse"}));n2(a4,(function(b4,c4){"id"!==c4&&m3.push(c4,b4)}));n2(z3,(function(b4){m3.push(b4)}));m3=m3.join(",");if(h3[m3])w3=h3[m3].attr("id");else{a4.id=w3=q();var U=h3[m3]=e3.createElement(v2).attr(a4).add(e3.defs);U.radAttr=J;U.stops=[];z3.forEach((function(b4){0===b4[1].indexOf("rgba")?(u3=g3.parse(b4[1]),G=u3.get("rgb"),k3=u3.get("a")):(G=b4[1],k3=1);b4=e3.createElement("stop").attr({offset:b4[0],"stop-color":G,"stop-opacity":k3}).add(U);U.stops.push(b4)}))}p3="url("+e3.url+"#"+w3+")";d3.setAttribute(c3,p3);d3.gradient=m3;b3.toString=function(){return p3}}}))};a3.prototype.css=function(b3){var c3=this.styles,d3={},e3=this.element,q2=!c3;b3.color&&(b3.fill=b3.color);c3&&n2(b3,(function(b4,f3){c3&&c3[f3]!==b4&&(d3[f3]=b4,q2=true)}));if(q2){c3&&(b3=E2(c3,d3));if(null===b3.width||"auto"===b3.width)delete this.textWidth;else if("text"===e3.nodeName.toLowerCase()&&b3.width)var v2=this.textWidth=u2(b3.width);this.styles=b3;v2&&!l2&&this.renderer.forExport&&delete b3.width;var a4=f2(b3);e3.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach((function(b4){return a4&&delete a4[b4]}));p2(e3,a4);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),b3.textOutline&&this.applyTextOutline(b3.textOutline))}return this};a3.prototype.dashstyleSetter=function(c3){var f3=this["stroke-width"];"inherit"===f3&&(f3=1);if(c3=c3&&c3.toLowerCase()){var d3=c3.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(c3=d3.length;c3--;)d3[c3]=""+u2(d3[c3])*b2(f3,NaN);c3=d3.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",c3)}};a3.prototype.destroy=function(){var b3=this,c3=b3.element||{},f3=b3.renderer,d3=c3.ownerSVGElement,e3=f3.isSVG&&"SPAN"===c3.nodeName&&b3.parentGroup||void 0;c3.onclick=c3.onmouseout=c3.onmouseover=c3.onmousemove=c3.point=null;H2(b3);if(b3.clipPath&&d3){var v2=b3.clipPath;[].forEach.call(d3.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(b4){-1<b4.getAttribute("clip-path").indexOf(v2.element.id)&&b4.removeAttribute("clip-path")}));b3.clipPath=v2.destroy()}if(b3.stops){for(d3=0;d3<b3.stops.length;d3++)b3.stops[d3].destroy();b3.stops.length=0;b3.stops=void 0}b3.safeRemoveChild(c3);for(f3.styledMode||b3.destroyShadows();e3&&e3.div&&0===e3.div.childNodes.length;)c3=e3.parentGroup,b3.safeRemoveChild(e3.div),delete e3.div,e3=c3;b3.alignTo&&I(f3.alignedObjects,b3);n2(b3,(function(c4,f4){b3[f4]&&b3[f4].parentGroup===b3&&b3[f4].destroy&&b3[f4].destroy();delete b3[f4]}))};a3.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(b3){this.safeRemoveChild(b3)}),this);this.shadows=void 0};a3.prototype.dSetter=function(b3,c3,f3){y2(b3)&&("string"===typeof b3[0]&&(b3=this.renderer.pathToSegments(b3)),this.pathArray=b3,b3=b3.reduce((function(b4,c4,f4){return c4&&c4.join?(f4?b4+" ":"")+c4.join(" "):(c4||"").toString()}),""));/(NaN| {2}|^$)/.test(b3)&&(b3="M 0 0");this[c3]!==b3&&(f3.setAttribute(c3,b3),this[c3]=b3)};a3.prototype.fadeOut=function(c3){var f3=this;f3.animate({opacity:0},{duration:b2(c3,150),complete:function(){f3.hide()}})};a3.prototype.fillSetter=function(b3,c3,f3){"string"===typeof b3?f3.setAttribute(c3,b3):b3&&this.complexColor(b3,c3,f3)};a3.prototype.getBBox=function(f3,d3){var n3=this.alignValue,e3=this.element,q2=this.renderer,v2=this.styles,u3=this.textStr,h3=q2.cache,z3=q2.cacheKeys,k3=e3.namespaceURI===this.SVG_NS;d3=b2(d3,this.rotation,0);var G=q2.styledMode?e3&&a3.prototype.getStyle.call(e3,"font-size"):v2&&v2.fontSize,m3;if(D2(u3)){var M=u3.toString();-1===M.indexOf("<")&&(M=M.replace(/[0-9]/g,"0"));M+=["",d3,G,this.textWidth,n3,v2&&v2.textOverflow,v2&&v2.fontWeight].join()}M&&!f3&&(m3=h3[M]);if(!m3){if(k3||q2.forExport){try{var w3=this.fakeTS&&function(b3){var c3=e3.querySelector(".highcharts-text-outline");c3&&p2(c3,{display:b3})};c2(w3)&&w3("none");m3=e3.getBBox?E2({},e3.getBBox()):{width:e3.offsetWidth,height:e3.offsetHeight,x:0,y:0};c2(w3)&&w3("")}catch(V2){}if(!m3||0>m3.width)m3={x:0,y:0,width:0,height:0}}else m3=this.htmlGetBBox();if(q2.isSVG&&(q2=m3.width,f3=m3.height,k3&&(m3.height=f3={"11px,17":14,"13px,20":16}[""+(G||"")+",".concat(Math.round(f3))]||f3),d3)){k3=Number(e3.getAttribute("y")||0)-m3.y;n3={right:1,center:.5}[n3||0]||0;v2=d3*t2;G=(d3-90)*t2;var J=q2*Math.cos(v2);d3=q2*Math.sin(v2);w3=Math.cos(G);v2=Math.sin(G);q2=m3.x+n3*(q2-J)+k3*w3;G=q2+J;w3=G-f3*w3;J=w3-J;k3=m3.y+k3-n3*d3+k3*v2;n3=k3+d3;f3=n3-f3*v2;d3=f3-d3;m3.x=Math.min(q2,G,w3,J);m3.y=Math.min(k3,n3,f3,d3);m3.width=Math.max(q2,G,w3,J)-m3.x;m3.height=Math.max(k3,n3,f3,d3)-m3.y}if(M&&(""===u3||0<m3.height)){for(;250<z3.length;)delete h3[z3.shift()];h3[M]||z3.push(M);h3[M]=m3}}return m3};a3.prototype.getStyle=function(b3){return d2.getComputedStyle(this.element||this,"").getPropertyValue(b3)};a3.prototype.hasClass=function(b3){return-1!==(""+this.attr("class")).split(" ").indexOf(b3)};a3.prototype.hide=function(){return this.attr({visibility:"hidden"})};a3.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}};a3.prototype.init=function(b3,c3){this.element="span"===c3?k2(c3):r2.createElementNS(this.SVG_NS,c3);this.renderer=b3;L2(this,"afterInit")};a3.prototype.on=function(b3,c3){var f3=this.onEvents;if(f3[b3])f3[b3]();f3[b3]=h2(this.element,b3,c3);return this};a3.prototype.opacitySetter=function(b3,c3,f3){this.opacity=b3=Number(Number(b3).toFixed(3));f3.setAttribute(c3,b3)};a3.prototype.removeClass=function(b3){return this.attr("class",(""+this.attr("class")).replace(w2(b3)?new RegExp("(^| )".concat(b3,"( |$)")):b3," ").replace(/ +/g," ").trim())};a3.prototype.removeTextOutline=function(){var b3=this.element.querySelector("tspan.highcharts-text-outline");b3&&this.safeRemoveChild(b3)};a3.prototype.safeRemoveChild=function(b3){var c3=b3.parentNode;c3&&c3.removeChild(b3)};a3.prototype.setRadialReference=function(b3){var c3=this.element.gradient&&this.renderer.gradients[this.element.gradient];this.element.radialReference=b3;c3&&c3.radAttr&&c3.animate(this.renderer.getRadialAttr(b3,c3.radAttr));return this};a3.prototype.setTextPath=function(b3,c3){var d3=this;c3=f2(true,{enabled:true,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},c3);var n3=this.renderer.url,e3=this.text||this,v2=e3.textPath,u3=c3.attributes,a4=c3.enabled;b3=b3||v2&&v2.path;v2&&v2.undo();b3&&a4?(c3=h2(e3,"afterModifyTree",(function(c4){if(b3&&a4){var f3=b3.attr("id");f3||b3.attr("id",f3=q());var v3={x:0,y:0};D2(u3.dx)&&(v3.dx=u3.dx,delete u3.dx);D2(u3.dy)&&(v3.dy=u3.dy,delete u3.dy);e3.attr(v3);d3.attr({transform:""});d3.box&&(d3.box=d3.box.destroy());v3=c4.nodes.slice(0);c4.nodes.length=0;c4.nodes[0]={tagName:"textPath",attributes:E2(u3,{"text-anchor":u3.textAnchor,href:""+n3+"#".concat(f3)}),children:v3}}})),e3.textPath={path:b3,undo:c3}):(e3.attr({dx:0,dy:0}),delete e3.textPath);this.added&&(e3.textCache="",this.renderer.buildText(e3));return this};a3.prototype.shadow=function(b3,c3,f3){var d3=[],e3=this.element,v2=this.oldShadowOptions,q2=this.parentGroup,u3=q2&&90===q2.rotation;q2={color:"#000000",offsetX:u3?-1:1,offsetY:u3?-1:1,opacity:.15,width:3};var a4=false,h3;true===b3?h3=q2:"object"===typeof b3&&(h3=E2(q2,b3));h3&&(h3&&v2&&n2(h3,(function(b4,c4){b4!==v2[c4]&&(a4=true)})),a4&&this.destroyShadows(),this.oldShadowOptions=h3);if(!h3)this.destroyShadows();else if(!this.shadows){q2=h3.opacity/h3.width;var G=u3?"translate(".concat(h3.offsetY,", ").concat(h3.offsetX,")"):"translate(".concat(h3.offsetX,", ").concat(h3.offsetY,")");for(u3=1;u3<=h3.width;u3++){var k3=e3.cloneNode(false);var z3=2*h3.width+1-2*u3;m2(k3,{stroke:b3.color||"#000000","stroke-opacity":q2*u3,"stroke-width":z3,transform:G,fill:"none"});k3.setAttribute("class",(k3.getAttribute("class")||"")+" highcharts-shadow");f3&&(m2(k3,"height",Math.max(m2(k3,"height")-z3,0)),k3.cutHeight=z3);c3?c3.element.appendChild(k3):e3.parentNode&&e3.parentNode.insertBefore(k3,e3);d3.push(k3)}this.shadows=d3}return this};a3.prototype.show=function(b3){void 0===b3&&(b3=true);return this.attr({visibility:b3?"inherit":"visible"})};a3.prototype["stroke-widthSetter"]=function(b3,c3,f3){this[c3]=b3;f3.setAttribute(c3,b3)};a3.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var b3=this.getStyle("stroke-width"),c3=0;if(b3.indexOf("px")===b3.length-2)c3=u2(b3);else if(""!==b3){var f3=r2.createElementNS(e2,"rect");m2(f3,{width:b3,"stroke-width":0});this.element.parentNode.appendChild(f3);c3=f3.getBBox().width;f3.parentNode.removeChild(f3)}return c3};a3.prototype.symbolAttr=function(c3){var f3=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(d3){f3[d3]=b2(c3[d3],f3[d3])}));f3.attr({d:f3.renderer.symbols[f3.symbolName](f3.x,f3.y,f3.width,f3.height,f3)})};a3.prototype.textSetter=function(b3){b3!==this.textStr&&(delete this.textPxLength,this.textStr=b3,this.added&&this.renderer.buildText(this))};a3.prototype.titleSetter=function(c3){var f3=this.element,d3=f3.getElementsByTagName("title")[0]||r2.createElementNS(this.SVG_NS,"title");f3.insertBefore?f3.insertBefore(d3,f3.firstChild):f3.appendChild(d3);d3.textContent=String(b2(c3,"")).replace(/<[^>]*>/g,"").replace(/</g,"<").replace(/>/g,">")};a3.prototype.toFront=function(){var b3=this.element;b3.parentNode.appendChild(b3);return this};a3.prototype.translate=function(b3,c3){return this.attr({translateX:b3,translateY:c3})};a3.prototype.updateShadows=function(b3,c3,f3){var d3=this.shadows;if(d3)for(var e3=d3.length;e3--;)f3.call(d3[e3],"height"===b3?Math.max(c3-(d3[e3].cutHeight||0),0):"d"===b3?this.d:c3,b3,d3[e3])};a3.prototype.updateTransform=function(){var c3=this.element,f3=this.matrix,d3=this.rotation;d3=void 0===d3?0:d3;var e3=this.scaleX,n3=this.scaleY,v2=this.translateX,q2=this.translateY;v2=["translate("+(void 0===v2?0:v2)+","+(void 0===q2?0:q2)+")"];D2(f3)&&v2.push("matrix("+f3.join(",")+")");d3&&v2.push("rotate("+d3+" "+b2(this.rotationOriginX,c3.getAttribute("x"),0)+" "+b2(this.rotationOriginY,c3.getAttribute("y")||0)+")");(D2(e3)||D2(n3))&&v2.push("scale("+b2(e3,1)+" "+b2(n3,1)+")");v2.length&&!(this.text||this).textPath&&c3.setAttribute("transform",v2.join(" "))};a3.prototype.visibilitySetter=function(b3,c3,f3){"inherit"===b3?f3.removeAttribute(c3):this[c3]!==b3&&f3.setAttribute(c3,b3);this[c3]=b3};a3.prototype.xGetter=function(b3){"circle"===this.element.nodeName&&("x"===b3?b3="cx":"y"===b3&&(b3="cy"));return this._defaultGetter(b3)};a3.prototype.zIndexSetter=function(b3,c3){var f3=this.renderer,d3=this.parentGroup,e3=(d3||f3).element||f3.box,v2=this.element;f3=e3===f3.box;var n3=false;var q2=this.added;var a4;D2(b3)?(v2.setAttribute("data-z-index",b3),b3=+b3,this[c3]===b3&&(q2=false)):D2(this[c3])&&v2.removeAttribute("data-z-index");this[c3]=b3;if(q2){(b3=this.zIndex)&&d3&&(d3.handleZ=true);c3=e3.childNodes;for(a4=c3.length-1;0<=a4&&!n3;a4--){d3=c3[a4];q2=d3.getAttribute("data-z-index");var h3=!D2(q2);if(d3!==v2){if(0>b3&&h3&&!f3&&!a4)e3.insertBefore(v2,c3[a4]),n3=true;else if(u2(q2)<=b3||h3&&(!D2(b3)||0<=b3))e3.insertBefore(v2,c3[a4+1]||null),n3=true}}n3||(e3.insertBefore(v2,c3[f3?3:0]||null),n3=true)}return n3};return a3}();a2.prototype.strokeSetter=a2.prototype.fillSetter;a2.prototype.yGetter=a2.prototype.xGetter;a2.prototype.matrixSetter=a2.prototype.rotationOriginXSetter=a2.prototype.rotationOriginYSetter=a2.prototype.rotationSetter=a2.prototype.scaleXSetter=a2.prototype.scaleYSetter=a2.prototype.translateXSetter=a2.prototype.translateYSetter=a2.prototype.verticalAlignSetter=function(b3,c3){this[c3]=b3;this.doTransform=true};return a2}));K(g2,"Core/Renderer/RendererRegistry.js",[g2["Core/Globals.js"]],(function(a2){var g3;(function(g4){g4.rendererTypes={};var A2;g4.getRendererType=function(a3){void 0===a3&&(a3=A2);return g4.rendererTypes[a3]||g4.rendererTypes[A2]};g4.registerRendererType=function(x2,B,H2){g4.rendererTypes[x2]=B;if(!A2||H2)A2=x2,a2.Renderer=B}})(g3||(g3={}));return g3}));K(g2,"Core/Renderer/SVG/SVGLabel.js",[g2["Core/Renderer/SVG/SVGElement.js"],g2["Core/Utilities.js"]],(function(a2,g3){var A2=this&&this.__extends||function(){var a3=function(e2,d2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d3,e3){d3.__proto__=e3}||function(d3,e3){for(var a4 in e3)e3.hasOwnProperty(a4)&&(d3[a4]=e3[a4])};return a3(e2,d2)};return function(e2,d2){function h2(){this.constructor=e2}a3(e2,d2);e2.prototype=null===d2?Object.create(d2):(h2.prototype=d2.prototype,new h2)}}(),F2=g3.defined,C2=g3.extend,B=g3.isNumber,H2=g3.merge,t2=g3.pick,r2=g3.removeEvent;return function(g4){function e2(d2,a3,m2,k2,p2,l2,I,E2,r3,y2){var c2=g4.call(this)||this;c2.paddingLeftSetter=c2.paddingSetter;c2.paddingRightSetter=c2.paddingSetter;c2.init(d2,"g");c2.textStr=a3;c2.x=m2;c2.y=k2;c2.anchorX=l2;c2.anchorY=I;c2.baseline=r3;c2.className=y2;c2.addClass("button"===y2?"highcharts-no-tooltip":"highcharts-label");y2&&c2.addClass("highcharts-"+y2);c2.text=d2.text(void 0,0,0,E2).attr({zIndex:1});var h2;"string"===typeof p2&&((h2=/^url\((.*?)\)$/.test(p2))||c2.renderer.symbols[p2])&&(c2.symbolKey=p2);c2.bBox=e2.emptyBBox;c2.padding=3;c2.baselineOffset=0;c2.needsBox=d2.styledMode||h2;c2.deferredAttr={};c2.alignFactor=0;return c2}A2(e2,g4);e2.prototype.alignSetter=function(d2){d2={left:0,center:.5,right:1}[d2];d2!==this.alignFactor&&(this.alignFactor=d2,this.bBox&&B(this.xSetting)&&this.attr({x:this.xSetting}))};e2.prototype.anchorXSetter=function(d2,e3){this.anchorX=d2;this.boxAttr(e3,Math.round(d2)-this.getCrispAdjust()-this.xSetting)};e2.prototype.anchorYSetter=function(d2,e3){this.anchorY=d2;this.boxAttr(e3,d2-this.ySetting)};e2.prototype.boxAttr=function(d2,e3){this.box?this.box.attr(d2,e3):this.deferredAttr[d2]=e3};e2.prototype.css=function(d2){if(d2){var h2={};d2=H2(d2);e2.textProps.forEach((function(e3){"undefined"!==typeof d2[e3]&&(h2[e3]=d2[e3],delete d2[e3])}));this.text.css(h2);"fontSize"in h2||"fontWeight"in h2?this.updateTextPadding():("width"in h2||"textOverflow"in h2)&&this.updateBoxSize()}return a2.prototype.css.call(this,d2)};e2.prototype.destroy=function(){r2(this.element,"mouseenter");r2(this.element,"mouseleave");this.text&&this.text.destroy();this.box&&(this.box=this.box.destroy());a2.prototype.destroy.call(this)};e2.prototype.fillSetter=function(d2,e3){d2&&(this.needsBox=true);this.fill=d2;this.boxAttr(e3,d2)};e2.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var d2=this.padding,e3=t2(this.paddingLeft,d2);return{width:this.width,height:this.height,x:this.bBox.x-e3,y:this.bBox.y-d2}};e2.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2};e2.prototype.heightSetter=function(d2){this.heightSetting=d2};e2.prototype.onAdd=function(){this.text.add(this);this.attr({text:t2(this.textStr,""),x:this.x||0,y:this.y||0});this.box&&F2(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})};e2.prototype.paddingSetter=function(d2,e3){B(d2)?d2!==this[e3]&&(this[e3]=d2,this.updateTextPadding()):this[e3]=void 0};e2.prototype.rSetter=function(d2,e3){this.boxAttr(e3,d2)};e2.prototype.shadow=function(d2){d2&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(d2));return this};e2.prototype.strokeSetter=function(d2,e3){this.stroke=d2;this.boxAttr(e3,d2)};e2.prototype["stroke-widthSetter"]=function(d2,e3){d2&&(this.needsBox=true);this["stroke-width"]=d2;this.boxAttr(e3,d2)};e2.prototype["text-alignSetter"]=function(d2){this.textAlign=d2};e2.prototype.textSetter=function(d2){"undefined"!==typeof d2&&this.text.attr({text:d2});this.updateTextPadding()};e2.prototype.updateBoxSize=function(){var d2=this.text,a3=d2.element.style,m2={},k2=this.padding,p2=this.bBox=B(this.widthSetting)&&B(this.heightSetting)&&!this.textAlign||!F2(d2.textStr)?e2.emptyBBox:d2.getBBox();this.width=this.getPaddedWidth();this.height=(this.heightSetting||p2.height||0)+2*k2;a3=this.renderer.fontMetrics(a3&&a3.fontSize,d2);this.baselineOffset=k2+Math.min((this.text.firstLineMetrics||a3).b,p2.height||Infinity);this.heightSetting&&(this.baselineOffset+=(this.heightSetting-a3.h)/2);this.needsBox&&!d2.textPath&&(this.box||(d2=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),d2.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),d2.add(this)),d2=this.getCrispAdjust(),m2.x=d2,m2.y=(this.baseline?-this.baselineOffset:0)+d2,m2.width=Math.round(this.width),m2.height=Math.round(this.height),this.box.attr(C2(m2,this.deferredAttr)),this.deferredAttr={})};e2.prototype.updateTextPadding=function(){var d2=this.text;if(!d2.textPath){this.updateBoxSize();var e3=this.baseline?0:this.baselineOffset,a3=t2(this.paddingLeft,this.padding);F2(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(a3+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));if(a3!==d2.x||e3!==d2.y)d2.attr("x",a3),d2.hasBoxWidthChanged&&(this.bBox=d2.getBBox(true)),"undefined"!==typeof e3&&d2.attr("y",e3);d2.x=a3;d2.y=e3}};e2.prototype.widthSetter=function(d2){this.widthSetting=B(d2)?d2:void 0};e2.prototype.getPaddedWidth=function(){var d2=this.padding,e3=t2(this.paddingLeft,d2);d2=t2(this.paddingRight,d2);return(this.widthSetting||this.bBox.width||0)+e3+d2};e2.prototype.xSetter=function(d2){this.x=d2;this.alignFactor&&(d2-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=true);this.xSetting=Math.round(d2);this.attr("translateX",this.xSetting)};e2.prototype.ySetter=function(d2){this.ySetting=this.y=Math.round(d2);this.attr("translateY",this.ySetting)};e2.emptyBBox={width:0,height:0,x:0,y:0};e2.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" ");return e2}(a2)}));K(g2,"Core/Renderer/SVG/Symbols.js",[g2["Core/Utilities.js"]],(function(a2){function g3(a3,g4,l2,e2,d2){var h2=[];if(d2){var m2=d2.start||0,k2=H2(d2.r,l2);l2=H2(d2.r,e2||l2);var p2=(d2.end||0)-.001;e2=d2.innerR;var D2=H2(d2.open,.001>Math.abs((d2.end||0)-m2-2*Math.PI)),I=Math.cos(m2),E2=Math.sin(m2),r2=Math.cos(p2),y2=Math.sin(p2);m2=H2(d2.longArc,.001>p2-m2-Math.PI?0:1);h2.push(["M",a3+k2*I,g4+l2*E2],["A",k2,l2,0,m2,H2(d2.clockwise,1),a3+k2*r2,g4+l2*y2]);C2(e2)&&h2.push(D2?["M",a3+e2*r2,g4+e2*y2]:["L",a3+e2*r2,g4+e2*y2],["A",e2,e2,0,m2,C2(d2.clockwise)?1-d2.clockwise:0,a3+e2*I,g4+e2*E2]);D2||h2.push(["Z"])}return h2}function x2(a3,g4,l2,e2,d2){return d2&&d2.r?F2(a3,g4,l2,e2,d2):[["M",a3,g4],["L",a3+l2,g4],["L",a3+l2,g4+e2],["L",a3,g4+e2],["Z"]]}function F2(a3,g4,l2,e2,d2){d2=d2&&d2.r||0;return[["M",a3+d2,g4],["L",a3+l2-d2,g4],["C",a3+l2,g4,a3+l2,g4,a3+l2,g4+d2],["L",a3+l2,g4+e2-d2],["C",a3+l2,g4+e2,a3+l2,g4+e2,a3+l2-d2,g4+e2],["L",a3+d2,g4+e2],["C",a3,g4+e2,a3,g4+e2,a3,g4+e2-d2],["L",a3,g4+d2],["C",a3,g4,a3,g4,a3+d2,g4]]}var C2=a2.defined,B=a2.isNumber,H2=a2.pick;return{arc:g3,callout:function(a3,g4,l2,e2,d2){var h2=Math.min(d2&&d2.r||0,l2,e2),m2=h2+6,k2=d2&&d2.anchorX;d2=d2&&d2.anchorY||0;var p2=F2(a3,g4,l2,e2,{r:h2});if(!B(k2))return p2;a3+k2>=l2?d2>g4+m2&&d2<g4+e2-m2?p2.splice(3,1,["L",a3+l2,d2-6],["L",a3+l2+6,d2],["L",a3+l2,d2+6],["L",a3+l2,g4+e2-h2]):p2.splice(3,1,["L",a3+l2,e2/2],["L",k2,d2],["L",a3+l2,e2/2],["L",a3+l2,g4+e2-h2]):0>=a3+k2?d2>g4+m2&&d2<g4+e2-m2?p2.splice(7,1,["L",a3,d2+6],["L",a3-6,d2],["L",a3,d2-6],["L",a3,g4+h2]):p2.splice(7,1,["L",a3,e2/2],["L",k2,d2],["L",a3,e2/2],["L",a3,g4+h2]):d2&&d2>e2&&k2>a3+m2&&k2<a3+l2-m2?p2.splice(5,1,["L",k2+6,g4+e2],["L",k2,g4+e2+6],["L",k2-6,g4+e2],["L",a3+h2,g4+e2]):d2&&0>d2&&k2>a3+m2&&k2<a3+l2-m2&&p2.splice(1,1,["L",k2-6,g4],["L",k2,g4-6],["L",k2+6,g4],["L",l2-h2,g4]);return p2},circle:function(a3,r2,l2,e2){return g3(a3+l2/2,r2+e2/2,l2/2,e2/2,{start:.5*Math.PI,end:2.5*Math.PI,open:false})},diamond:function(a3,g4,l2,e2){return[["M",a3+l2/2,g4],["L",a3+l2,g4+e2/2],["L",a3+l2/2,g4+e2],["L",a3,g4+e2/2],["Z"]]},rect:x2,roundedRect:F2,square:x2,triangle:function(a3,g4,l2,e2){return[["M",a3+l2/2,g4],["L",a3+l2,g4+e2],["L",a3,g4+e2],["Z"]]},"triangle-down":function(a3,g4,l2,e2){return[["M",a3,g4],["L",a3+l2,g4],["L",a3+l2/2,g4+e2],["Z"]]}}}));K(g2,"Core/Renderer/SVG/TextBuilder.js",[g2["Core/Renderer/HTML/AST.js"],g2["Core/Globals.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=g3.doc,C2=g3.SVG_NS,B=g3.win,H2=x2.attr,t2=x2.extend,r2=x2.fireEvent,l2=x2.isString,e2=x2.objectEach,d2=x2.pick;return function(){function h2(d3){var e3=d3.styles;this.renderer=d3.renderer;this.svgElement=d3;this.width=d3.textWidth;this.textLineHeight=e3&&e3.lineHeight;this.textOutline=e3&&e3.textOutline;this.ellipsis=!(!e3||"ellipsis"!==e3.textOverflow);this.noWrap=!(!e3||"nowrap"!==e3.whiteSpace);this.fontSize=e3&&e3.fontSize}h2.prototype.buildSVG=function(){var e3=this.svgElement,k2=e3.element,h3=e3.renderer,g4=d2(e3.textStr,"").toString(),I=-1!==g4.indexOf("<"),E2=k2.childNodes;h3=this.width&&!e3.added&&h3.box;var L2=/<br.*?>/g,y2=[g4,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(y2!==e3.textCache){e3.textCache=y2;delete e3.actualWidth;for(y2=E2.length;y2--;)k2.removeChild(E2[y2]);I||this.ellipsis||this.width||e3.textPath||-1!==g4.indexOf(" ")&&(!this.noWrap||L2.test(g4))?""!==g4&&(h3&&h3.appendChild(k2),g4=new a2(g4),this.modifyTree(g4.nodes),g4.addToDOM(k2),this.modifyDOM(),this.ellipsis&&-1!==(k2.textContent||"").indexOf("…")&&e3.attr("title",this.unescapeEntities(e3.textStr||"",["<",">"])),h3&&h3.removeChild(k2)):k2.appendChild(A2.createTextNode(this.unescapeEntities(g4)));l2(this.textOutline)&&e3.applyTextOutline&&e3.applyTextOutline(this.textOutline)}};h2.prototype.modifyDOM=function(){var d3=this,e3=this.svgElement,a3=H2(e3.element,"x");e3.firstLineMetrics=void 0;for(var h3;h3=e3.element.firstChild;)if(/^[\s\u200B]*$/.test(h3.textContent||" "))e3.element.removeChild(h3);else break;[].forEach.call(e3.element.querySelectorAll("tspan.highcharts-br"),(function(h4,c2){h4.nextSibling&&h4.previousSibling&&(0===c2&&1===h4.previousSibling.nodeType&&(e3.firstLineMetrics=e3.renderer.fontMetrics(void 0,h4.previousSibling)),H2(h4,{dy:d3.getLineHeight(h4.nextSibling),x:a3}))}));var g4=this.width||0;if(g4){var l3=function(h4,c2){var w2=h4.textContent||"",f2=w2.replace(/([^\^])-/g,"$1- ").split(" "),n2=!d3.noWrap&&(1<f2.length||1<e3.element.childNodes.length),b2=d3.getLineHeight(c2),u2=0,z2=e3.actualWidth;if(d3.ellipsis)w2&&d3.truncate(h4,w2,void 0,0,Math.max(0,g4-parseInt(d3.fontSize||12,10)),(function(b3,c3){return b3.substring(0,c3)+"…"}));else if(n2){w2=[];for(n2=[];c2.firstChild&&c2.firstChild!==h4;)n2.push(c2.firstChild),c2.removeChild(c2.firstChild);for(;f2.length;)f2.length&&!d3.noWrap&&0<u2&&(w2.push(h4.textContent||""),h4.textContent=f2.join(" ").replace(/- /g,"-")),d3.truncate(h4,void 0,f2,0===u2?z2||0:0,g4,(function(b3,c3){return f2.slice(0,c3).join(" ").replace(/- /g,"-")})),z2=e3.actualWidth,u2++;n2.forEach((function(b3){c2.insertBefore(b3,h4)}));w2.forEach((function(f3){c2.insertBefore(A2.createTextNode(f3),h4);f3=A2.createElementNS(C2,"tspan");f3.textContent="";H2(f3,{dy:b2,x:a3});c2.insertBefore(f3,h4)}))}},L2=function(d4){[].slice.call(d4.childNodes).forEach((function(c2){c2.nodeType===B.Node.TEXT_NODE?l3(c2,d4):(-1!==c2.className.baseVal.indexOf("highcharts-br")&&(e3.actualWidth=0),L2(c2))}))};L2(e3.element)}};h2.prototype.getLineHeight=function(d3){var e3;d3=d3.nodeType===B.Node.TEXT_NODE?d3.parentElement:d3;this.renderer.styledMode||(e3=d3&&/(px|em)$/.test(d3.style.fontSize)?d3.style.fontSize:this.fontSize||this.renderer.style.fontSize||12);return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e3,d3||this.svgElement.element).h};h2.prototype.modifyTree=function(d3){var e3=this,a3=function(h3,k2){var m2=h3.attributes;m2=void 0===m2?{}:m2;var p2=h3.children,g4=h3.style;g4=void 0===g4?{}:g4;var c2=h3.tagName,w2=e3.renderer.styledMode;if("b"===c2||"strong"===c2)w2?m2["class"]="highcharts-strong":g4.fontWeight="bold";else if("i"===c2||"em"===c2)w2?m2["class"]="highcharts-emphasized":g4.fontStyle="italic";g4&&g4.color&&(g4.fill=g4.color);"br"===c2?(m2["class"]="highcharts-br",h3.textContent="",(k2=d3[k2+1])&&k2.textContent&&(k2.textContent=k2.textContent.replace(/^ +/gm,""))):"a"===c2&&p2&&p2.some((function(c3){return"#text"===c3.tagName}))&&(h3.children=[{children:p2,tagName:"tspan"}]);"#text"!==c2&&"a"!==c2&&(h3.tagName="tspan");t2(h3,{attributes:m2,style:g4});p2&&p2.filter((function(c3){return"#text"!==c3.tagName})).forEach(a3)};d3.forEach(a3);r2(this.svgElement,"afterModifyTree",{nodes:d3})};h2.prototype.truncate=function(d3,e3,a3,h3,g4,l3){var k2=this.svgElement,m2=k2.renderer,c2=k2.rotation,w2=[],f2=a3?1:0,n2=(e3||a3||"").length,b2=n2,u2,z2=function(b3,c3){c3=c3||b3;var f3=d3.parentNode;if(f3&&"undefined"===typeof w2[c3])if(f3.getSubStringLength)try{w2[c3]=h3+f3.getSubStringLength(0,a3?c3+1:c3)}catch(Q){}else m2.getSpanWidth&&(d3.textContent=l3(e3||a3,b3),w2[c3]=h3+m2.getSpanWidth(k2,d3));return w2[c3]};k2.rotation=0;var q=z2(d3.textContent.length);if(h3+q>g4){for(;f2<=n2;)b2=Math.ceil((f2+n2)/2),a3&&(u2=l3(a3,b2)),q=z2(b2,u2&&u2.length-1),f2===n2?f2=n2+1:q>g4?n2=b2-1:f2=b2;0===n2?d3.textContent="":e3&&n2===e3.length-1||(d3.textContent=u2||l3(e3||a3,b2))}a3&&a3.splice(0,b2);k2.actualWidth=q;k2.rotation=c2};h2.prototype.unescapeEntities=function(d3,a3){e2(this.renderer.escapes,(function(e3,h3){a3&&-1!==a3.indexOf(e3)||(d3=d3.toString().replace(new RegExp(e3,"g"),h3))}));return d3};return h2}()}));K(g2,"Core/Renderer/SVG/SVGRenderer.js",[g2["Core/Renderer/HTML/AST.js"],g2["Core/Color/Color.js"],g2["Core/Globals.js"],g2["Core/Renderer/RendererRegistry.js"],g2["Core/Renderer/SVG/SVGElement.js"],g2["Core/Renderer/SVG/SVGLabel.js"],g2["Core/Renderer/SVG/Symbols.js"],g2["Core/Renderer/SVG/TextBuilder.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B,H2,t2,r2){var l2=x2.charts,e2=x2.deg2rad,d2=x2.doc,h2=x2.isFirefox,m2=x2.isMS,k2=x2.isWebKit,p2=x2.noop,D2=x2.SVG_NS,I=x2.symbolSizes,E2=x2.win,L2=r2.addEvent,y2=r2.attr,c2=r2.createElement,w2=r2.css,f2=r2.defined,n2=r2.destroyObjectProperties,b2=r2.extend,u2=r2.isArray,z2=r2.isNumber,q=r2.isObject,N=r2.isString,J=r2.merge,O2=r2.pick,Q=r2.pInt,A2=r2.uniqueKey,Y;x2=function(){function v2(b3,c3,f3,d3,e3,v3,a3){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0;this.init(b3,c3,f3,d3,e3,v3,a3)}v2.prototype.init=function(b3,c3,f3,e3,v3,a3,n3){var G=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),q2=G.element;n3||G.css(this.getStyle(e3));b3.appendChild(q2);y2(b3,"dir","ltr");-1===b3.innerHTML.indexOf("xmlns")&&y2(q2,"xmlns",this.SVG_NS);this.isSVG=true;this.box=q2;this.boxWrapper=G;this.alignedObjects=[];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(d2.createTextNode("Created with Highcharts 10.3.3"));this.defs=this.createElement("defs").add();this.allowHTML=a3;this.forExport=v3;this.styledMode=n3;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(c3,f3,false);var u3;h2&&b3.getBoundingClientRect&&(c3=function(){w2(b3,{left:0,top:0});u3=b3.getBoundingClientRect();w2(b3,{left:Math.ceil(u3.left)-u3.left+"px",top:Math.ceil(u3.top)-u3.top+"px"})},c3(),this.unSubPixelFix=L2(E2,"resize",c3))};v2.prototype.definition=function(b3){return new a2([b3]).addToDOM(this.defs.element)};v2.prototype.getReferenceURL=function(){if((h2||k2)&&d2.getElementsByTagName("base").length){if(!f2(Y)){var b3=A2();b3=new a2([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:b3},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(b3,")"),fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(d2.body);w2(b3,{position:"fixed",top:0,left:0,zIndex:9e5});var c3=d2.elementFromPoint(6,6);Y="hitme"===(c3&&c3.id);d2.body.removeChild(b3)}if(Y)return E2.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""};v2.prototype.getStyle=function(c3){return this.style=b2({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},c3)};v2.prototype.setStyle=function(b3){this.boxWrapper.css(this.getStyle(b3))};v2.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width};v2.prototype.destroy=function(){var b3=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();n2(this.gradients||{});this.gradients=null;b3&&(this.defs=b3.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null};v2.prototype.createElement=function(b3){var c3=new this.Element;c3.init(this,b3);return c3};v2.prototype.getRadialAttr=function(b3,c3){return{cx:b3[0]-b3[2]/2+(c3.cx||0)*b3[2],cy:b3[1]-b3[2]/2+(c3.cy||0)*b3[2],r:(c3.r||0)*b3[2]}};v2.prototype.buildText=function(b3){new t2(b3).buildSVG()};v2.prototype.getContrast=function(b3){b3=g3.parse(b3).rgba.map((function(b4){b4/=255;return.03928>=b4?b4/12.92:Math.pow((b4+.055)/1.055,2.4)}));b3=.2126*b3[0]+.7152*b3[1]+.0722*b3[2];return 1.05/(b3+.05)>(b3+.05)/.05?"#FFFFFF":"#000000"};v2.prototype.button=function(c3,f3,d3,e3,v3,n3,u3,h3,z3,w3){void 0===v3&&(v3={});var G=this.label(c3,f3,d3,z3,void 0,void 0,w3,void 0,"button"),k3=this.styledMode;c3=v3.states||{};var M=0;v3=J(v3);delete v3.states;var g4=J({color:"#333333",cursor:"pointer",fontWeight:"normal"},v3.style);delete v3.style;var p3=a2.filterUserAttributes(v3);G.attr(J({padding:8,r:2},p3));if(!k3){p3=J({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},p3);n3=J(p3,{fill:"#e6e6e6"},a2.filterUserAttributes(n3||c3.hover||{}));var U=n3.style;delete n3.style;u3=J(p3,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},a2.filterUserAttributes(u3||c3.select||{}));var P=u3.style;delete u3.style;h3=J(p3,{style:{color:"#cccccc"}},a2.filterUserAttributes(h3||c3.disabled||{}));var y3=h3.style;delete h3.style}L2(G.element,m2?"mouseover":"mouseenter",(function(){3!==M&&G.setState(1)}));L2(G.element,m2?"mouseout":"mouseleave",(function(){3!==M&&G.setState(M)}));G.setState=function(b3){1!==b3&&(G.state=M=b3);G.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][b3||0]);k3||(G.attr([p3,n3,u3,h3][b3||0]),b3=[g4,U,P,y3][b3||0],q(b3)&&G.css(b3))};k3||(G.attr(p3).css(b2({cursor:"default"},g4)),w3&&G.text.css({pointerEvents:"none"}));return G.on("touchstart",(function(b3){return b3.stopPropagation()})).on("click",(function(b3){3!==M&&e3.call(G,b3)}))};v2.prototype.crispLine=function(b3,c3,d3){void 0===d3&&(d3="round");var e3=b3[0],v3=b3[1];f2(e3[1])&&e3[1]===v3[1]&&(e3[1]=v3[1]=Math[d3](e3[1])-c3%2/2);f2(e3[2])&&e3[2]===v3[2]&&(e3[2]=v3[2]=Math[d3](e3[2])+c3%2/2);return b3};v2.prototype.path=function(c3){var f3=this.styledMode?{}:{fill:"none"};u2(c3)?f3.d=c3:q(c3)&&b2(f3,c3);return this.createElement("path").attr(f3)};v2.prototype.circle=function(b3,c3,f3){b3=q(b3)?b3:"undefined"===typeof b3?{}:{x:b3,y:c3,r:f3};c3=this.createElement("circle");c3.xSetter=c3.ySetter=function(b4,c4,f4){f4.setAttribute("c"+c4,b4)};return c3.attr(b3)};v2.prototype.arc=function(b3,c3,f3,d3,e3,v3){q(b3)?(d3=b3,c3=d3.y,f3=d3.r,b3=d3.x):d3={innerR:d3,start:e3,end:v3};b3=this.symbol("arc",b3,c3,f3,f3,d3);b3.r=f3;return b3};v2.prototype.rect=function(b3,c3,f3,d3,e3,v3){e3=q(b3)?b3.r:e3;var a3=this.createElement("rect");b3=q(b3)?b3:"undefined"===typeof b3?{}:{x:b3,y:c3,width:Math.max(f3,0),height:Math.max(d3,0)};this.styledMode||("undefined"!==typeof v3&&(b3["stroke-width"]=v3,b3=a3.crisp(b3)),b3.fill="none");e3&&(b3.r=e3);a3.rSetter=function(b4,c4,f4){a3.r=b4;y2(f4,{rx:b4,ry:b4})};a3.rGetter=function(){return a3.r||0};return a3.attr(b3)};v2.prototype.setSize=function(b3,c3,f3){this.width=b3;this.height=c3;this.boxWrapper.animate({width:b3,height:c3},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:O2(f3,true)?void 0:0});this.alignElements()};v2.prototype.g=function(b3){var c3=this.createElement("g");return b3?c3.attr({class:"highcharts-"+b3}):c3};v2.prototype.image=function(b3,c3,f3,d3,e3,v3){var a3={preserveAspectRatio:"none"},n3=function(b4,c4){b4.setAttributeNS?b4.setAttributeNS("http://www.w3.org/1999/xlink","href",c4):b4.setAttribute("hc-svg-href",c4)};z2(c3)&&(a3.x=c3);z2(f3)&&(a3.y=f3);z2(d3)&&(a3.width=d3);z2(e3)&&(a3.height=e3);var G=this.createElement("image").attr(a3);c3=function(c4){n3(G.element,b3);v3.call(G,c4)};v3?(n3(G.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),f3=new E2.Image,L2(f3,"load",c3),f3.src=b3,f3.complete&&c3({})):n3(G.element,b3);return G};v2.prototype.symbol=function(e3,v3,a3,n3,G,q2){var u3=this,h3=/^url\((.*?)\)$/,z3=h3.test(e3),k3=!z3&&(this.symbols[e3]?e3:"circle"),g4=k3&&this.symbols[k3],m3;if(g4){"number"===typeof v3&&(m3=g4.call(this.symbols,Math.round(v3||0),Math.round(a3||0),n3||0,G||0,q2));var p3=this.path(m3);u3.styledMode||p3.attr("fill","none");b2(p3,{symbolName:k3||void 0,x:v3,y:a3,width:n3,height:G});q2&&b2(p3,q2)}else if(z3){var P=e3.match(h3)[1];var U=p3=this.image(P);U.imgwidth=O2(I[P]&&I[P].width,q2&&q2.width);U.imgheight=O2(I[P]&&I[P].height,q2&&q2.height);var N2=function(b3){return b3.attr({width:b3.width,height:b3.height})};["width","height"].forEach((function(b3){U[b3+"Setter"]=function(b4,c3){this[c3]=b4;b4=this.alignByTranslate;var d3=this.element,e4=this.width,v4=this.height,a4=this.imgwidth,n4=this.imgheight,G2=this["img"+c3];if(f2(G2)){var u4=1;q2&&"within"===q2.backgroundSize&&e4&&v4?(u4=Math.min(e4/a4,v4/n4),G2=Math.round(G2*u4),y2(d3,{width:Math.round(a4*u4),height:Math.round(n4*u4)})):d3&&d3.setAttribute(c3,G2);b4||this.translate(((e4||0)-G2*u4)/2,((v4||0)-G2*u4)/2)}}}));f2(v3)&&U.attr({x:v3,y:a3});U.isImg=true;f2(U.imgwidth)&&f2(U.imgheight)?N2(U):(U.attr({width:0,height:0}),c2("img",{onload:function(){var b3=l2[u3.chartIndex];0===this.width&&(w2(this,{position:"absolute",top:"-999em"}),d2.body.appendChild(this));I[P]={width:this.width,height:this.height};U.imgwidth=this.width;U.imgheight=this.height;U.element&&N2(U);this.parentNode&&this.parentNode.removeChild(this);u3.imgCount--;if(!u3.imgCount&&b3&&!b3.hasLoaded)b3.onload()},src:P}),this.imgCount++)}return p3};v2.prototype.clipRect=function(b3,c3,f3,d3){var e3=A2()+"-",v3=this.createElement("clipPath").attr({id:e3}).add(this.defs);b3=this.rect(b3,c3,f3,d3,0).add(v3);b3.id=e3;b3.clipPath=v3;b3.count=0;return b3};v2.prototype.text=function(b3,c3,d3,e3){var v3={};if(e3&&(this.allowHTML||!this.forExport))return this.html(b3,c3,d3);v3.x=Math.round(c3||0);d3&&(v3.y=Math.round(d3));f2(b3)&&(v3.text=b3);b3=this.createElement("text").attr(v3);if(!e3||this.forExport&&!this.allowHTML)b3.xSetter=function(b4,c4,f3){for(var d4=f3.getElementsByTagName("tspan"),e4=f3.getAttribute(c4),v4=0,a3;v4<d4.length;v4++)a3=d4[v4],a3.getAttribute(c4)===e4&&a3.setAttribute(c4,b4);f3.setAttribute(c4,b4)};return b3};v2.prototype.fontMetrics=function(b3,c3){b3=!this.styledMode&&/px/.test(b3)||!E2.getComputedStyle?b3||c3&&c3.style&&c3.style.fontSize||this.style&&this.style.fontSize:c3&&C2.prototype.getStyle.call(c3,"font-size");b3=/px/.test(b3)?Q(b3):12;c3=24>b3?b3+3:Math.round(1.2*b3);return{h:c3,b:Math.round(.8*c3),f:b3}};v2.prototype.rotCorr=function(b3,c3,f3){var d3=b3;c3&&f3&&(d3=Math.max(d3*Math.cos(c3*e2),4));return{x:-b3/3*Math.sin(c3*e2),y:d3}};v2.prototype.pathToSegments=function(b3){for(var c3=[],f3=[],d3={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},e3=0;e3<b3.length;e3++)N(f3[0])&&z2(b3[e3])&&f3.length===d3[f3[0].toUpperCase()]&&b3.splice(e3,0,f3[0].replace("M","L").replace("m","l")),"string"===typeof b3[e3]&&(f3.length&&c3.push(f3.slice(0)),f3.length=0),f3.push(b3[e3]);c3.push(f3.slice(0));return c3};v2.prototype.label=function(b3,c3,f3,d3,e3,v3,a3,n3,q2){return new B(this,b3,c3,f3,d3,e3,v3,a3,n3,q2)};v2.prototype.alignElements=function(){this.alignedObjects.forEach((function(b3){return b3.align()}))};return v2}();b2(x2.prototype,{Element:C2,SVG_NS:D2,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:H2,draw:p2});F2.registerRendererType("svg",x2,true);return x2}));K(g2,"Core/Renderer/HTML/HTMLElement.js",[g2["Core/Globals.js"],g2["Core/Renderer/SVG/SVGElement.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=this&&this.__extends||function(){var d3=function(e3,a3){d3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d4,e4){d4.__proto__=e4}||function(d4,e4){for(var a4 in e4)e4.hasOwnProperty(a4)&&(d4[a4]=e4[a4])};return d3(e3,a3)};return function(e3,a3){function h3(){this.constructor=e3}d3(e3,a3);e3.prototype=null===a3?Object.create(a3):(h3.prototype=a3.prototype,new h3)}}(),C2=a2.isFirefox,B=a2.isMS,H2=a2.isWebKit,t2=a2.win,r2=x2.css,l2=x2.defined,e2=x2.extend,d2=x2.pick,h2=x2.pInt;return function(a3){function k2(){return null!==a3&&a3.apply(this,arguments)||this}A2(k2,a3);k2.compose=function(d3){if(-1===k2.composedClasses.indexOf(d3)){k2.composedClasses.push(d3);var e3=k2.prototype,a4=d3.prototype;a4.getSpanCorrection=e3.getSpanCorrection;a4.htmlCss=e3.htmlCss;a4.htmlGetBBox=e3.htmlGetBBox;a4.htmlUpdateTransform=e3.htmlUpdateTransform;a4.setSpanRotation=e3.setSpanRotation}return d3};k2.prototype.getSpanCorrection=function(d3,e3,a4){this.xCorr=-d3*a4;this.yCorr=-e3};k2.prototype.htmlCss=function(a4){var h3="SPAN"===this.element.tagName&&a4&&"width"in a4,k3=d2(h3&&a4.width,void 0);if(h3){delete a4.width;this.textWidth=k3;var g4=true}a4&&"ellipsis"===a4.textOverflow&&(a4.whiteSpace="nowrap",a4.overflow="hidden");this.styles=e2(this.styles,a4);r2(this.element,a4);g4&&this.htmlUpdateTransform();return this};k2.prototype.htmlGetBBox=function(){var d3=this.element;return{x:d3.offsetLeft,y:d3.offsetTop,width:d3.offsetWidth,height:d3.offsetHeight}};k2.prototype.htmlUpdateTransform=function(){if(this.added){var d3=this.renderer,e3=this.element,a4=this.translateX||0,k3=this.translateY||0,g4=this.x||0,m2=this.y||0,c2=this.textAlign||"left",w2={left:0,center:.5,right:1}[c2],f2=this.styles;f2=f2&&f2.whiteSpace;r2(e3,{marginLeft:a4,marginTop:k3});!d3.styledMode&&this.shadows&&this.shadows.forEach((function(b3){r2(b3,{marginLeft:a4+1,marginTop:k3+1})}));this.inverted&&[].forEach.call(e3.childNodes,(function(b3){d3.invertChild(b3,e3)}));if("SPAN"===e3.tagName){var n2=this.rotation,b2=this.textWidth&&h2(this.textWidth),u2=[n2,c2,e3.innerHTML,this.textWidth,this.textAlign].join(),z2=void 0;z2=false;if(b2!==this.oldTextWidth){if(this.textPxLength)var q=this.textPxLength;else r2(e3,{width:"",whiteSpace:f2||"nowrap"}),q=e3.offsetWidth;(b2>this.oldTextWidth||q>b2)&&(/[ \-]/.test(e3.textContent||e3.innerText)||"ellipsis"===e3.style.textOverflow)&&(r2(e3,{width:q>b2||n2?b2+"px":"auto",display:"block",whiteSpace:f2||"normal"}),this.oldTextWidth=b2,z2=true)}this.hasBoxWidthChanged=z2;u2!==this.cTT&&(z2=d3.fontMetrics(e3.style.fontSize,e3).b,!l2(n2)||n2===(this.oldRotation||0)&&c2===this.oldAlign||this.setSpanRotation(n2,w2,z2),this.getSpanCorrection(!l2(n2)&&this.textPxLength||e3.offsetWidth,z2,w2,n2,c2));r2(e3,{left:g4+(this.xCorr||0)+"px",top:m2+(this.yCorr||0)+"px"});this.cTT=u2;this.oldRotation=n2;this.oldAlign=c2}}else this.alignOnAdd=true};k2.prototype.setSpanRotation=function(d3,e3,a4){var h3={},k3=B&&!/Edge/.test(t2.navigator.userAgent)?"-ms-transform":H2?"-webkit-transform":C2?"MozTransform":t2.opera?"-o-transform":void 0;k3&&(h3[k3]=h3.transform="rotate("+d3+"deg)",h3[k3+(C2?"Origin":"-origin")]=h3.transformOrigin=100*e3+"% "+a4+"px",r2(this.element,h3))};k2.composedClasses=[];return k2}(g3)}));K(g2,"Core/Renderer/HTML/HTMLRenderer.js",[g2["Core/Renderer/HTML/AST.js"],g2["Core/Renderer/SVG/SVGElement.js"],g2["Core/Renderer/SVG/SVGRenderer.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2){var A2=this&&this.__extends||function(){var a3=function(e2,d2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d3,e3){d3.__proto__=e3}||function(d3,e3){for(var a4 in e3)e3.hasOwnProperty(a4)&&(d3[a4]=e3[a4])};return a3(e2,d2)};return function(e2,d2){function h2(){this.constructor=e2}a3(e2,d2);e2.prototype=null===d2?Object.create(d2):(h2.prototype=d2.prototype,new h2)}}(),B=F2.attr,H2=F2.createElement,t2=F2.extend,r2=F2.pick;return function(l2){function e2(){return null!==l2&&l2.apply(this,arguments)||this}A2(e2,l2);e2.compose=function(d2){-1===e2.composedClasses.indexOf(d2)&&(e2.composedClasses.push(d2),d2.prototype.html=e2.prototype.html);return d2};e2.prototype.html=function(d2,e3,m2){var h2=this.createElement("span"),p2=h2.element,l3=h2.renderer,I=l3.isSVG,E2=function(d3,e4){["opacity","visibility"].forEach((function(c2){d3[c2+"Setter"]=function(a3,f2,n2){var b2=d3.div?d3.div.style:e4;g3.prototype[c2+"Setter"].call(this,a3,f2,n2);b2&&(b2[f2]=a3)}}));d3.addedSetters=true};h2.textSetter=function(d3){d3!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,a2.setElementHTML(this.element,r2(d3,"")),this.textStr=d3,h2.doTransform=true)};I&&E2(h2,h2.element.style);h2.xSetter=h2.ySetter=h2.alignSetter=h2.rotationSetter=function(d3,e4){"align"===e4?h2.alignValue=h2.textAlign=d3:h2[e4]=d3;h2.doTransform=true};h2.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=false)};h2.attr({text:d2,x:Math.round(e3),y:Math.round(m2)}).css({position:"absolute"});l3.styledMode||h2.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});p2.style.whiteSpace="nowrap";h2.css=h2.htmlCss;I&&(h2.add=function(d3){var e4=l3.box.parentNode,c2=[];if(this.parentGroup=d3){var a3=d3.div;if(!a3){for(;d3;)c2.push(d3),d3=d3.parentGroup;c2.reverse().forEach((function(f2){function d4(b3,c3){f2[c3]=b3;"translateX"===c3?z2.left=b3+"px":z2.top=b3+"px";f2.doTransform=true}var b2=B(f2.element,"class"),u2=f2.styles||{};a3=f2.div=f2.div||H2("div",b2?{className:b2}:void 0,{position:"absolute",left:(f2.translateX||0)+"px",top:(f2.translateY||0)+"px",display:f2.display,opacity:f2.opacity,cursor:u2.cursor,pointerEvents:u2.pointerEvents,visibility:f2.visibility},a3||e4);var z2=a3.style;t2(f2,{classSetter:function(b3){return function(c3){this.element.setAttribute("class",c3);b3.className=c3}}(a3),on:function(){c2[0].div&&h2.on.apply({element:c2[0].div,onEvents:f2.onEvents},arguments);return f2},translateXSetter:d4,translateYSetter:d4});f2.addedSetters||E2(f2)}))}}else a3=e4;a3.appendChild(p2);h2.added=true;h2.alignOnAdd&&h2.htmlUpdateTransform();return h2});return h2};e2.composedClasses=[];return e2}(x2)}));K(g2,"Core/Axis/AxisDefaults.js",[],(function(){var a2;(function(a3){a3.defaultXAxisOptions={alignTicks:true,allowDecimals:void 0,panningEnabled:true,zIndex:2,zoomEnabled:true,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:false},second:{main:"%H:%M:%S",range:false},minute:{main:"%H:%M",range:false},hour:{main:"%H:%M",range:false},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:false,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:true,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:false,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:false,reversed:void 0,reversedStacks:false,showEmpty:true,showFirstLabel:true,showLastLabel:true,startOfWeek:1,startOnTick:false,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:false,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:true,visible:true,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"};a3.defaultYAxisOptions={reversedStacks:true,endOnTick:true,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:true,labels:{x:-8},startOnTick:true,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:false,enabled:false,crop:true,overflow:"justify",formatter:function(){var a4=this.axis.chart.numberFormatter;return a4(this.total||0,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};a3.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}};a3.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}};a3.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};a3.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}})(a2||(a2={}));return a2}));K(g2,"Core/Foundation.js",[g2["Core/Utilities.js"]],(function(a2){var g3=a2.addEvent,x2=a2.isFunction,F2=a2.objectEach,C2=a2.removeEvent,B;(function(a3){a3.registerEventOptions=function(a4,r2){a4.eventOptions=a4.eventOptions||{};F2(r2.events,(function(l2,e2){a4.eventOptions[e2]!==l2&&(a4.eventOptions[e2]&&(C2(a4,e2,a4.eventOptions[e2]),delete a4.eventOptions[e2]),x2(l2)&&(a4.eventOptions[e2]=l2,g3(a4,e2,l2)))}))}})(B||(B={}));return B}));K(g2,"Core/Axis/Tick.js",[g2["Core/FormatUtilities.js"],g2["Core/Globals.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=g3.deg2rad,C2=x2.clamp,B=x2.correctFloat,H2=x2.defined,t2=x2.destroyObjectProperties,r2=x2.extend,l2=x2.fireEvent,e2=x2.isNumber,d2=x2.merge,h2=x2.objectEach,m2=x2.pick;g3=function(){function g4(d3,e3,a3,h3,g5){this.isNewLabel=this.isNew=true;this.axis=d3;this.pos=e3;this.type=a3||"";this.parameters=g5||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;l2(this,"init");a3||h3||this.addLabel()}g4.prototype.addLabel=function(){var d3=this,h3=d3.axis,g5=h3.options,k2=h3.chart,L2=h3.categories,y2=h3.logarithmic,c2=h3.names,w2=d3.pos,f2=m2(d3.options&&d3.options.labels,g5.labels),n2=h3.tickPositions,b2=w2===n2[0],u2=w2===n2[n2.length-1],z2=(!f2.step||1===f2.step)&&1===h3.tickInterval;n2=n2.info;var q=d3.label,N;L2=this.parameters.category||(L2?m2(L2[w2],c2[w2],w2):w2);y2&&e2(L2)&&(L2=B(y2.lin2log(L2)));if(h3.dateTime)if(n2){var J=k2.time.resolveDTLFormat(g5.dateTimeLabelFormats[!g5.grid&&n2.higherRanks[w2]||n2.unitName]);var O2=J.main}else e2(L2)&&(O2=h3.dateTime.getXDateFormat(L2,g5.dateTimeLabelFormats||{}));d3.isFirst=b2;d3.isLast=u2;var Q={axis:h3,chart:k2,dateTimeLabelFormat:O2,isFirst:b2,isLast:u2,pos:w2,tick:d3,tickPositionInfo:n2,value:L2};l2(this,"labelFormat",Q);var t3=function(b3){return f2.formatter?f2.formatter.call(b3,b3):f2.format?(b3.text=h3.defaultLabelFormatter.call(b3,b3),a2.format(f2.format,b3,k2)):h3.defaultLabelFormatter.call(b3,b3)};g5=t3.call(Q,Q);var Y=J&&J.list;d3.shortenLabel=Y?function(){for(N=0;N<Y.length;N++)if(r2(Q,{dateTimeLabelFormat:Y[N]}),q.attr({text:t3.call(Q,Q)}),q.getBBox().width<h3.getSlotWidth(d3)-2*f2.padding)return;q.attr({text:""})}:void 0;z2&&h3._addedPlotLB&&d3.moveLabel(g5,f2);H2(q)||d3.movedLabel?q&&q.textStr!==g5&&!z2&&(!q.textWidth||f2.style.width||q.styles.width||q.css({width:null}),q.attr({text:g5}),q.textPxLength=q.getBBox().width):(d3.label=q=d3.createLabel({x:0,y:0},g5,f2),d3.rotation=0)};g4.prototype.createLabel=function(e3,a3,h3){var g5=this.axis,k2=g5.chart;if(e3=H2(a3)&&h3.enabled?k2.renderer.text(a3,e3.x,e3.y,h3.useHTML).add(g5.labelGroup):null)k2.styledMode||e3.css(d2(h3.style)),e3.textPxLength=e3.getBBox().width;return e3};g4.prototype.destroy=function(){t2(this,this.axis)};g4.prototype.getPosition=function(d3,e3,a3,h3){var g5=this.axis,k2=g5.chart,c2=h3&&k2.oldChartHeight||k2.chartHeight;d3={x:d3?B(g5.translate(e3+a3,void 0,void 0,h3)+g5.transB):g5.left+g5.offset+(g5.opposite?(h3&&k2.oldChartWidth||k2.chartWidth)-g5.right-g5.left:0),y:d3?c2-g5.bottom+g5.offset-(g5.opposite?g5.height:0):B(c2-g5.translate(e3+a3,void 0,void 0,h3)-g5.transB)};d3.y=C2(d3.y,-1e5,1e5);l2(this,"afterGetPosition",{pos:d3});return d3};g4.prototype.getLabelPosition=function(d3,e3,a3,h3,g5,k2,c2,w2){var f2=this.axis,n2=f2.transA,b2=f2.isLinked&&f2.linkedParent?f2.linkedParent.reversed:f2.reversed,u2=f2.staggerLines,z2=f2.tickRotCorr||{x:0,y:0},q=h3||f2.reserveSpaceDefault?0:-f2.labelOffset*("center"===f2.labelAlign?.5:1),m3={};a3=0===f2.side?a3.rotation?-8:-a3.getBBox().height:2===f2.side?z2.y+8:Math.cos(a3.rotation*A2)*(z2.y-a3.getBBox(false,0).height/2);H2(g5.y)&&(a3=0===f2.side&&f2.horiz?g5.y+a3:g5.y);d3=d3+g5.x+q+z2.x-(k2&&h3?k2*n2*(b2?-1:1):0);e3=e3+a3-(k2&&!h3?k2*n2*(b2?1:-1):0);u2&&(h3=c2/(w2||1)%u2,f2.opposite&&(h3=u2-h3-1),e3+=f2.labelOffset/u2*h3);m3.x=d3;m3.y=Math.round(e3);l2(this,"afterGetLabelPosition",{pos:m3,tickmarkOffset:k2,index:c2});return m3};g4.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0};g4.prototype.getMarkPath=function(d3,e3,a3,h3,g5,k2){return k2.crispLine([["M",d3,e3],["L",d3+(g5?0:-a3),e3+(g5?a3:0)]],h3)};g4.prototype.handleOverflow=function(d3){var e3=this.axis,a3=e3.options.labels,h3=d3.x,g5=e3.chart.chartWidth,k2=e3.chart.spacing,c2=m2(e3.labelLeft,Math.min(e3.pos,k2[3]));k2=m2(e3.labelRight,Math.max(e3.isRadial?0:e3.pos+e3.len,g5-k2[1]));var w2=this.label,f2=this.rotation,n2={left:0,center:.5,right:1}[e3.labelAlign||w2.attr("align")],b2=w2.getBBox().width,u2=e3.getSlotWidth(this),z2={},q=u2,p2=1,l3;if(f2||"justify"!==a3.overflow)0>f2&&h3-n2*b2<c2?l3=Math.round(h3/Math.cos(f2*A2)-c2):0<f2&&h3+n2*b2>k2&&(l3=Math.round((g5-h3)/Math.cos(f2*A2)));else if(g5=h3+(1-n2)*b2,h3-n2*b2<c2?q=d3.x+q*(1-n2)-c2:g5>k2&&(q=k2-d3.x+q*n2,p2=-1),q=Math.min(u2,q),q<u2&&"center"===e3.labelAlign&&(d3.x+=p2*(u2-q-n2*(u2-Math.min(b2,q)))),b2>q||e3.autoRotation&&(w2.styles||{}).width)l3=q;l3&&(this.shortenLabel?this.shortenLabel():(z2.width=Math.floor(l3)+"px",(a3.style||{}).textOverflow||(z2.textOverflow="ellipsis"),w2.css(z2)))};g4.prototype.moveLabel=function(d3,e3){var a3=this,g5=a3.label,k2=a3.axis,m3=k2.reversed,c2=false;g5&&g5.textStr===d3?(a3.movedLabel=g5,c2=true,delete a3.label):h2(k2.ticks,(function(f2){c2||f2.isNew||f2===a3||!f2.label||f2.label.textStr!==d3||(a3.movedLabel=f2.label,c2=true,f2.labelPos=a3.movedLabel.xy,delete f2.label)}));if(!c2&&(a3.labelPos||g5)){var w2=a3.labelPos||g5.xy;g5=k2.horiz?m3?0:k2.width+k2.left:w2.x;k2=k2.horiz?w2.y:m3?k2.width+k2.left:0;a3.movedLabel=a3.createLabel({x:g5,y:k2},d3,e3);a3.movedLabel&&a3.movedLabel.attr({opacity:0})}};g4.prototype.render=function(d3,e3,a3){var h3=this.axis,g5=h3.horiz,k2=this.pos,c2=m2(this.tickmarkOffset,h3.tickmarkOffset);k2=this.getPosition(g5,k2,c2,e3);c2=k2.x;var w2=k2.y;h3=g5&&c2===h3.pos+h3.len||!g5&&w2===h3.pos?-1:1;g5=m2(a3,this.label&&this.label.newOpacity,1);a3=m2(a3,1);this.isActive=true;this.renderGridLine(e3,a3,h3);this.renderMark(k2,a3,h3);this.renderLabel(k2,e3,g5,d3);this.isNew=false;l2(this,"afterRender")};g4.prototype.renderGridLine=function(d3,e3,a3){var h3=this.axis,g5=h3.options,k2={},c2=this.pos,w2=this.type,f2=m2(this.tickmarkOffset,h3.tickmarkOffset),n2=h3.chart.renderer,b2=this.gridLine,u2=g5.gridLineWidth,z2=g5.gridLineColor,q=g5.gridLineDashStyle;"minor"===this.type&&(u2=g5.minorGridLineWidth,z2=g5.minorGridLineColor,q=g5.minorGridLineDashStyle);b2||(h3.chart.styledMode||(k2.stroke=z2,k2["stroke-width"]=u2||0,k2.dashstyle=q),w2||(k2.zIndex=1),d3&&(e3=0),this.gridLine=b2=n2.path().attr(k2).addClass("highcharts-"+(w2?w2+"-":"")+"grid-line").add(h3.gridGroup));if(b2&&(a3=h3.getPlotLinePath({value:c2+f2,lineWidth:b2.strokeWidth()*a3,force:"pass",old:d3,acrossPanes:false})))b2[d3||this.isNew?"attr":"animate"]({d:a3,opacity:e3})};g4.prototype.renderMark=function(d3,e3,a3){var h3=this.axis,g5=h3.options,k2=h3.chart.renderer,c2=this.type,w2=h3.tickSize(c2?c2+"Tick":"tick"),f2=d3.x;d3=d3.y;var n2=m2(g5["minor"!==c2?"tickWidth":"minorTickWidth"],!c2&&h3.isXAxis?1:0);g5=g5["minor"!==c2?"tickColor":"minorTickColor"];var b2=this.mark,u2=!b2;w2&&(h3.opposite&&(w2[0]=-w2[0]),b2||(this.mark=b2=k2.path().addClass("highcharts-"+(c2?c2+"-":"")+"tick").add(h3.axisGroup),h3.chart.styledMode||b2.attr({stroke:g5,"stroke-width":n2})),b2[u2?"attr":"animate"]({d:this.getMarkPath(f2,d3,w2[0],b2.strokeWidth()*a3,h3.horiz,k2),opacity:e3}))};g4.prototype.renderLabel=function(d3,a3,h3,g5){var k2=this.axis,l3=k2.horiz,c2=k2.options,w2=this.label,f2=c2.labels,n2=f2.step;k2=m2(this.tickmarkOffset,k2.tickmarkOffset);var b2=d3.x;d3=d3.y;var u2=true;w2&&e2(b2)&&(w2.xy=d3=this.getLabelPosition(b2,d3,w2,l3,f2,k2,g5,n2),this.isFirst&&!this.isLast&&!c2.showFirstLabel||this.isLast&&!this.isFirst&&!c2.showLastLabel?u2=false:!l3||f2.step||f2.rotation||a3||0===h3||this.handleOverflow(d3),n2&&g5%n2&&(u2=false),u2&&e2(d3.y)?(d3.opacity=h3,w2[this.isNewLabel?"attr":"animate"](d3).show(true),this.isNewLabel=false):(w2.hide(),this.isNewLabel=true))};g4.prototype.replaceMovedLabel=function(){var d3=this.label,e3=this.axis,a3=e3.reversed;if(d3&&!this.isNew){var h3=e3.horiz?a3?e3.left:e3.width+e3.left:d3.xy.x;a3=e3.horiz?d3.xy.y:a3?e3.width+e3.top:e3.top;d3.animate({x:h3,y:a3,opacity:0},void 0,d3.destroy);delete this.label}e3.isDirty=true;this.label=this.movedLabel;delete this.movedLabel};return g4}();return g3}));K(g2,"Core/Axis/Axis.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Axis/AxisDefaults.js"],g2["Core/Color/Color.js"],g2["Core/Defaults.js"],g2["Core/Foundation.js"],g2["Core/Globals.js"],g2["Core/Axis/Tick.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B,H2,t2){var r2=a2.animObject,l2=F2.defaultOptions,e2=C2.registerEventOptions,d2=B.deg2rad,h2=t2.arrayMax,m2=t2.arrayMin,k2=t2.clamp,p2=t2.correctFloat,D2=t2.defined,I=t2.destroyObjectProperties,E2=t2.erase,A2=t2.error,y2=t2.extend,c2=t2.fireEvent,w2=t2.isArray,f2=t2.isNumber,n2=t2.isString,b2=t2.merge,u2=t2.normalizeTickInterval,z2=t2.objectEach,q=t2.pick,N=t2.relativeLength,J=t2.removeEvent,O2=t2.splat,Q=t2.syncTimeout,T2=function(b3,c3){return u2(c3,void 0,void 0,q(b3.options.allowDecimals,.5>c3||void 0!==b3.tickAmount),!!b3.tickAmount)};a2=function(){function a3(b3,c3){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0;this.init(b3,c3)}a3.prototype.init=function(b3,d3){var a4=d3.isX;this.chart=b3;this.horiz=b3.inverted&&!this.isZAxis?!a4:a4;this.isXAxis=a4;this.coll=this.coll||(a4?"xAxis":"yAxis");c2(this,"init",{userOptions:d3});this.opposite=q(d3.opposite,this.opposite);this.side=q(d3.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3);this.setOptions(d3);var v2=this.options,n3=v2.labels,h3=v2.type;this.userOptions=d3;this.minPixelPadding=0;this.reversed=q(v2.reversed,this.reversed);this.visible=v2.visible;this.zoomEnabled=v2.zoomEnabled;this.hasNames="category"===h3||true===v2.categories;this.categories=v2.categories||(this.hasNames?[]:void 0);this.names||(this.names=[],this.names.keys={});this.plotLinesAndBandsGroups={};this.positiveValuesOnly=!!this.logarithmic;this.isLinked=D2(v2.linkedTo);this.ticks={};this.labelEdge=[];this.minorTicks={};this.plotLinesAndBands=[];this.alternateBands={};this.len=0;this.minRange=this.userMinRange=v2.minRange||v2.maxZoom;this.range=v2.range;this.offset=v2.offset||0;this.min=this.max=null;d3=q(v2.crosshair,O2(b3.options.tooltip.crosshairs)[a4?0:1]);this.crosshair=true===d3?{}:d3;-1===b3.axes.indexOf(this)&&(a4?b3.axes.splice(b3.xAxis.length,0,this):b3.axes.push(this),b3[this.coll].push(this));this.series=this.series||[];b3.inverted&&!this.isZAxis&&a4&&"undefined"===typeof this.reversed&&(this.reversed=true);this.labelRotation=f2(n3.rotation)?n3.rotation:void 0;e2(this,v2);c2(this,"afterInit")};a3.prototype.setOptions=function(f3){this.options=b2(g3.defaultXAxisOptions,"yAxis"===this.coll&&g3.defaultYAxisOptions,[g3.defaultTopAxisOptions,g3.defaultRightAxisOptions,g3.defaultBottomAxisOptions,g3.defaultLeftAxisOptions][this.side],b2(l2[this.coll],f3));c2(this,"afterSetOptions",{userOptions:f3})};a3.prototype.defaultLabelFormatter=function(b3){var c3=this.axis;b3=this.chart.numberFormatter;var d3=f2(this.value)?this.value:NaN,a4=c3.chart.time,e3=this.dateTimeLabelFormat,v2=l2.lang,n3=v2.numericSymbols;v2=v2.numericSymbolMagnitude||1e3;var h3=c3.logarithmic?Math.abs(d3):c3.tickInterval,q2=n3&&n3.length;if(c3.categories)var u3="".concat(this.value);else if(e3)u3=a4.dateFormat(e3,d3);else if(q2&&1e3<=h3)for(;q2--&&"undefined"===typeof u3;)c3=Math.pow(v2,q2+1),h3>=c3&&0===10*d3%c3&&null!==n3[q2]&&0!==d3&&(u3=b3(d3/c3,-1)+n3[q2]);"undefined"===typeof u3&&(u3=1e4<=Math.abs(d3)?b3(d3,-1):b3(d3,-1,void 0,""));return u3};a3.prototype.getSeriesExtremes=function(){var b3=this,d3=b3.chart,a4;c2(this,"getSeriesExtremes",null,(function(){b3.hasVisibleSeries=false;b3.dataMin=b3.dataMax=b3.threshold=null;b3.softThreshold=!b3.isXAxis;b3.series.forEach((function(c3){if(c3.visible||!d3.options.chart.ignoreHiddenSeries){var e3=c3.options,v2=e3.threshold;b3.hasVisibleSeries=true;b3.positiveValuesOnly&&0>=v2&&(v2=null);if(b3.isXAxis){if(e3=c3.xData,e3.length){e3=b3.logarithmic?e3.filter(b3.validatePositiveValue):e3;a4=c3.getXExtremes(e3);var n3=a4.min;var h3=a4.max;f2(n3)||n3 instanceof Date||(e3=e3.filter(f2),a4=c3.getXExtremes(e3),n3=a4.min,h3=a4.max);e3.length&&(b3.dataMin=Math.min(q(b3.dataMin,n3),n3),b3.dataMax=Math.max(q(b3.dataMax,h3),h3))}}else if(c3=c3.applyExtremes(),f2(c3.dataMin)&&(n3=c3.dataMin,b3.dataMin=Math.min(q(b3.dataMin,n3),n3)),f2(c3.dataMax)&&(h3=c3.dataMax,b3.dataMax=Math.max(q(b3.dataMax,h3),h3)),D2(v2)&&(b3.threshold=v2),!e3.softThreshold||b3.positiveValuesOnly)b3.softThreshold=false}}))}));c2(this,"afterGetSeriesExtremes")};a3.prototype.translate=function(b3,c3,d3,a4,e3,n3){var v2=this.linkedParent||this,h3=a4&&v2.old?v2.old.min:v2.min;if(!f2(h3))return NaN;var q2=v2.minPixelPadding;e3=(v2.isOrdinal||v2.brokenAxis&&v2.brokenAxis.hasBreaks||v2.logarithmic&&e3)&&v2.lin2val;var u3=1,G=0;a4=a4&&v2.old?v2.old.transA:v2.transA;a4||(a4=v2.transA);d3&&(u3*=-1,G=v2.len);v2.reversed&&(u3*=-1,G-=u3*(v2.sector||v2.len));c3?(n3=(b3*u3+G-q2)/a4+h3,e3&&(n3=v2.lin2val(n3))):(e3&&(b3=v2.val2lin(b3)),b3=u3*(b3-h3)*a4,n3=(v2.isRadial?b3:p2(b3))+G+u3*q2+(f2(n3)?a4*n3:0));return n3};a3.prototype.toPixels=function(b3,c3){return this.translate(b3,false,!this.horiz,void 0,true)+(c3?0:this.pos)};a3.prototype.toValue=function(b3,c3){return this.translate(b3-(c3?0:this.pos),true,!this.horiz,void 0,true)};a3.prototype.getPlotLinePath=function(b3){function d3(b4,c3,f3){"pass"!==p3&&(b4<c3||b4>f3)&&(p3?b4=k2(b4,c3,f3):r3=true);return b4}var a4=this,e3=a4.chart,v2=a4.left,n3=a4.top,h3=b3.old,u3=b3.value,g4=b3.lineWidth,z3=h3&&e3.oldChartHeight||e3.chartHeight,w3=h3&&e3.oldChartWidth||e3.chartWidth,m3=a4.transB,l3=b3.translatedValue,p3=b3.force,J2,N2,y3,O3,r3;b3={value:u3,lineWidth:g4,old:h3,force:p3,acrossPanes:b3.acrossPanes,translatedValue:l3};c2(this,"getPlotLinePath",b3,(function(b4){l3=q(l3,a4.translate(u3,void 0,void 0,h3));l3=k2(l3,-1e5,1e5);J2=y3=Math.round(l3+m3);N2=O3=Math.round(z3-l3-m3);f2(l3)?a4.horiz?(N2=n3,O3=z3-a4.bottom,J2=y3=d3(J2,v2,v2+a4.width)):(J2=v2,y3=w3-a4.right,N2=O3=d3(N2,n3,n3+a4.height)):(r3=true,p3=false);b4.path=r3&&!p3?null:e3.renderer.crispLine([["M",J2,N2],["L",y3,O3]],g4||1)}));return b3.path};a3.prototype.getLinearTickPositions=function(b3,c3,f3){var d3=p2(Math.floor(c3/b3)*b3);f3=p2(Math.ceil(f3/b3)*b3);var a4=[],e3;p2(d3+b3)===d3&&(e3=20);if(this.single)return[c3];for(c3=d3;c3<=f3;){a4.push(c3);c3=p2(c3+b3,e3);if(c3===v2)break;var v2=c3}return a4};a3.prototype.getMinorTickInterval=function(){var b3=this.options;return true===b3.minorTicks?q(b3.minorTickInterval,"auto"):false===b3.minorTicks?null:b3.minorTickInterval};a3.prototype.getMinorTickPositions=function(){var b3=this.options,c3=this.tickPositions,f3=this.minorTickInterval,d3=this.pointRangePadding||0,a4=this.min-d3;d3=this.max+d3;var e3=d3-a4,n3=[];if(e3&&e3/f3<this.len/3){var h3=this.logarithmic;if(h3)this.paddedTicks.forEach((function(b4,c4,d4){c4&&n3.push.apply(n3,h3.getLogTickPositions(f3,d4[c4-1],d4[c4],true))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())n3=n3.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(f3),a4,d3,b3.startOfWeek));else for(b3=a4+(c3[0]-a4)%f3;b3<=d3&&b3!==n3[0];b3+=f3)n3.push(b3)}0!==n3.length&&this.trimTicks(n3);return n3};a3.prototype.adjustForMinRange=function(){var b3=this.options,c3=this.logarithmic,f3=this.min,d3=this.max,a4=0,e3,n3,u3,g4;this.isXAxis&&"undefined"===typeof this.minRange&&!c3&&(D2(b3.min)||D2(b3.max)||D2(b3.floor)||D2(b3.ceiling)?this.minRange=null:(this.series.forEach((function(b4){u3=b4.xData;g4=b4.xIncrement?1:u3.length-1;if(1<u3.length){for(e3=g4;0<e3;e3--)if(n3=u3[e3]-u3[e3-1],!a4||n3<a4)a4=n3}})),this.minRange=Math.min(5*a4,this.dataMax-this.dataMin)));if(d3-f3<this.minRange){var z3=this.dataMax-this.dataMin>=this.minRange;var k3=this.minRange;var w3=(k3-d3+f3)/2;w3=[f3-w3,q(b3.min,f3-w3)];z3&&(w3[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin);f3=h2(w3);d3=[f3+k3,q(b3.max,f3+k3)];z3&&(d3[2]=c3?c3.log2lin(this.dataMax):this.dataMax);d3=m2(d3);d3-f3<k3&&(w3[0]=d3-k3,w3[1]=q(b3.min,d3-k3),f3=h2(w3))}this.min=f3;this.max=d3};a3.prototype.getClosest=function(){var b3;this.categories?b3=1:this.series.forEach((function(c3){var f3=c3.closestPointRange,d3=c3.visible||!c3.chart.options.chart.ignoreHiddenSeries;!c3.noSharedTooltip&&D2(f3)&&d3&&(b3=D2(b3)?Math.min(b3,f3):f3)}));return b3};a3.prototype.nameToX=function(b3){var c3=w2(this.options.categories),f3=c3?this.categories:this.names,d3=b3.options.x;b3.series.requireSorting=false;D2(d3)||(d3=this.options.uniqueNames&&f3?c3?f3.indexOf(b3.name):q(f3.keys[b3.name],-1):b3.series.autoIncrement());if(-1===d3){if(!c3&&f3)var a4=f3.length}else a4=d3;"undefined"!==typeof a4?(this.names[a4]=b3.name,this.names.keys[b3.name]=a4):b3.x&&(a4=b3.x);return a4};a3.prototype.updateNames=function(){var b3=this,c3=this.names;0<c3.length&&(Object.keys(c3.keys).forEach((function(b4){delete c3.keys[b4]})),c3.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(c4){c4.xIncrement=null;if(!c4.points||c4.isDirtyData)b3.max=Math.max(b3.max,c4.xData.length-1),c4.processData(),c4.generatePoints();c4.data.forEach((function(f3,d3){if(f3&&f3.options&&"undefined"!==typeof f3.name){var a4=b3.nameToX(f3);"undefined"!==typeof a4&&a4!==f3.x&&(f3.x=a4,c4.xData[d3]=a4)}}))})))};a3.prototype.setAxisTranslation=function(){var b3=this,f3=b3.max-b3.min,d3=b3.linkedParent,a4=!!b3.categories,e3=b3.isXAxis,h3=b3.axisPointRange||0,u3=0,g4=0,k3=b3.transA;if(e3||a4||h3){var z3=b3.getClosest();d3?(u3=d3.minPointOffset,g4=d3.pointRangePadding):b3.series.forEach((function(c3){var f4=a4?1:e3?q(c3.options.pointRange,z3,0):b3.axisPointRange||0,d4=c3.options.pointPlacement;h3=Math.max(h3,f4);if(!b3.single||a4)c3=c3.is("xrange")?!e3:e3,u3=Math.max(u3,c3&&n2(d4)?0:f4/2),g4=Math.max(g4,c3&&"on"===d4?0:f4)}));d3=b3.ordinal&&b3.ordinal.slope&&z3?b3.ordinal.slope/z3:1;b3.minPointOffset=u3*=d3;b3.pointRangePadding=g4*=d3;b3.pointRange=Math.min(h3,b3.single&&a4?1:f3);e3&&(b3.closestPointRange=z3)}b3.translationSlope=b3.transA=k3=b3.staticScale||b3.len/(f3+g4||1);b3.transB=b3.horiz?b3.left:b3.bottom;b3.minPixelPadding=k3*u3;c2(this,"afterSetAxisTranslation")};a3.prototype.minFromRange=function(){return this.max-this.range};a3.prototype.setTickInterval=function(b3){var d3=this.chart,a4=this.logarithmic,e3=this.options,n3=this.isXAxis,h3=this.isLinked,u3=e3.tickPixelInterval,v2=this.categories,g4=this.softThreshold,k3=e3.maxPadding,z3=e3.minPadding,w3=f2(e3.tickInterval)&&0<=e3.tickInterval?e3.tickInterval:void 0,m3=f2(this.threshold)?this.threshold:null;this.dateTime||v2||h3||this.getTickAmount();var l3=q(this.userMin,e3.min);var J2=q(this.userMax,e3.max);if(h3){this.linkedParent=d3[this.coll][e3.linkedTo];var N2=this.linkedParent.getExtremes();this.min=q(N2.min,N2.dataMin);this.max=q(N2.max,N2.dataMax);e3.type!==this.linkedParent.options.type&&A2(11,1,d3)}else{if(g4&&D2(m3)){if(this.dataMin>=m3)N2=m3,z3=0;else if(this.dataMax<=m3){var y3=m3;k3=0}}this.min=q(l3,N2,this.dataMin);this.max=q(J2,y3,this.dataMax)}a4&&(this.positiveValuesOnly&&!b3&&0>=Math.min(this.min,q(this.dataMin,this.min))&&A2(10,1,d3),this.min=p2(a4.log2lin(this.min),16),this.max=p2(a4.log2lin(this.max),16));this.range&&D2(this.max)&&(this.userMin=this.min=l3=Math.max(this.dataMin,this.minFromRange()),this.userMax=J2=this.max,this.range=null);c2(this,"foundExtremes");this.beforePadding&&this.beforePadding();this.adjustForMinRange();!(v2||this.axisPointRange||this.stacking&&this.stacking.usePercentage||h3)&&D2(this.min)&&D2(this.max)&&(d3=this.max-this.min)&&(!D2(l3)&&z3&&(this.min-=d3*z3),!D2(J2)&&k3&&(this.max+=d3*k3));f2(this.userMin)||(f2(e3.softMin)&&e3.softMin<this.min&&(this.min=l3=e3.softMin),f2(e3.floor)&&(this.min=Math.max(this.min,e3.floor)));f2(this.userMax)||(f2(e3.softMax)&&e3.softMax>this.max&&(this.max=J2=e3.softMax),f2(e3.ceiling)&&(this.max=Math.min(this.max,e3.ceiling)));g4&&D2(this.dataMin)&&(m3=m3||0,!D2(l3)&&this.min<m3&&this.dataMin>=m3?this.min=this.options.minRange?Math.min(m3,this.max-this.minRange):m3:!D2(J2)&&this.max>m3&&this.dataMax<=m3&&(this.max=this.options.minRange?Math.max(m3,this.min+this.minRange):m3));f2(this.min)&&f2(this.max)&&!this.chart.polar&&this.min>this.max&&(D2(this.options.min)?this.max=this.min:D2(this.options.max)&&(this.min=this.max));this.tickInterval=this.min===this.max||"undefined"===typeof this.min||"undefined"===typeof this.max?1:h3&&this.linkedParent&&!w3&&u3===this.linkedParent.options.tickPixelInterval?w3=this.linkedParent.tickInterval:q(w3,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,v2?1:(this.max-this.min)*u3/Math.max(this.len,u3));if(n3&&!b3){var O3=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(b4){b4.forceCrop=b4.forceCropping&&b4.forceCropping();b4.processData(O3)}));c2(this,"postProcessData",{hasExtremesChanged:O3})}this.setAxisTranslation();c2(this,"initialAxisTranslation");this.pointRange&&!w3&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));b3=q(e3.minTickInterval,this.dateTime&&!this.series.some((function(b4){return b4.noSharedTooltip}))?this.closestPointRange:0);!w3&&this.tickInterval<b3&&(this.tickInterval=b3);this.dateTime||this.logarithmic||w3||(this.tickInterval=T2(this,this.tickInterval));this.tickAmount||(this.tickInterval=this.unsquish());this.setTickPositions()};a3.prototype.setTickPositions=function(){var b3=this.options,d3=b3.tickPositions,a4=b3.tickPositioner,e3=this.getMinorTickInterval(),n3=this.hasVerticalPanning(),h3="colorAxis"===this.coll,u3=(h3||!n3)&&b3.startOnTick;n3=(h3||!n3)&&b3.endOnTick;h3=[];var q2;this.tickmarkOffset=this.categories&&"between"===b3.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval="auto"===e3&&this.tickInterval?this.tickInterval/5:e3;this.single=this.min===this.max&&D2(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||false!==b3.allowDecimals);if(d3)h3=d3.slice();else if(f2(this.min)&&f2(this.max)){if(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200)))if(this.dateTime)h3=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,b3.units),this.min,this.max,b3.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,true);else if(this.logarithmic)h3=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(e3=b3=this.tickInterval;e3<=2*b3;)if(h3=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&h3.length>this.tickAmount)this.tickInterval=T2(this,e3*=1.1);else break;else h3=[this.min,this.max],A2(19,false,this.chart);h3.length>this.len&&(h3=[h3[0],h3[h3.length-1]],h3[0]===h3[1]&&(h3.length=1));a4&&(this.tickPositions=h3,(q2=a4.apply(this,[this.min,this.max]))&&(h3=q2))}this.tickPositions=h3;this.paddedTicks=h3.slice(0);this.trimTicks(h3,u3,n3);!this.isLinked&&f2(this.min)&&f2(this.max)&&(this.single&&2>h3.length&&!this.categories&&!this.series.some((function(b4){return b4.is("heatmap")&&"between"===b4.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),d3||q2||this.adjustTickAmount());c2(this,"afterSetTickPositions")};a3.prototype.trimTicks=function(b3,f3,d3){var a4=b3[0],e3=b3[b3.length-1],h3=!this.isOrdinal&&this.minPointOffset||0;c2(this,"trimTicks");if(!this.isLinked){if(f3&&-Infinity!==a4)this.min=a4;else for(;this.min-h3>b3[0];)b3.shift();if(d3)this.max=e3;else for(;this.max+h3<b3[b3.length-1];)b3.pop();0===b3.length&&D2(a4)&&!this.options.tickPositions&&b3.push((e3+a4)/2)}};a3.prototype.alignToOthers=function(){var b3=this,c3=[this],d3=b3.options,a4="yAxis"===this.coll&&this.chart.options.chart.alignThresholds,e3=[],h3;b3.thresholdAlignment=void 0;if((false!==this.chart.options.chart.alignTicks&&d3.alignTicks||a4)&&false!==d3.startOnTick&&false!==d3.endOnTick&&!b3.logarithmic){var n3=function(b4){var c4=b4.options;return[b4.horiz?c4.left:c4.top,c4.width,c4.height,c4.pane].join()},u3=n3(this);this.chart[this.coll].forEach((function(f3){var d4=f3.series;d4.length&&d4.some((function(b4){return b4.visible}))&&f3!==b3&&n3(f3)===u3&&(h3=true,c3.push(f3))}))}if(h3&&a4){c3.forEach((function(c4){c4=c4.getThresholdAlignment(b3);f2(c4)&&e3.push(c4)}));var q2=1<e3.length?e3.reduce((function(b4,c4){return b4+c4}),0)/e3.length:void 0;c3.forEach((function(b4){b4.thresholdAlignment=q2}))}return h3};a3.prototype.getThresholdAlignment=function(b3){(!f2(this.dataMin)||this!==b3&&this.series.some((function(b4){return b4.isDirty||b4.isDirtyData})))&&this.getSeriesExtremes();if(f2(this.threshold))return b3=k2((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1),this.options.reversed&&(b3=1-b3),b3};a3.prototype.getTickAmount=function(){var b3=this.options,c3=b3.tickPixelInterval,f3=b3.tickAmount;!D2(b3.tickInterval)&&!f3&&this.len<c3&&!this.isRadial&&!this.logarithmic&&b3.startOnTick&&b3.endOnTick&&(f3=2);!f3&&this.alignToOthers()&&(f3=Math.ceil(this.len/c3)+1);4>f3&&(this.finalTickAmt=f3,f3=5);this.tickAmount=f3};a3.prototype.adjustTickAmount=function(){var b3=this,c3=b3.finalTickAmt,d3=b3.max,a4=b3.min,e3=b3.options,h3=b3.tickPositions,n3=b3.tickAmount,u3=b3.thresholdAlignment,g4=h3&&h3.length,k3=q(b3.threshold,b3.softThreshold?0:null);var z3=b3.tickInterval;if(f2(u3)){var w3=.5>u3?Math.ceil(u3*(n3-1)):Math.floor(u3*(n3-1));e3.reversed&&(w3=n3-1-w3)}if(b3.hasData()&&f2(a4)&&f2(d3)){u3=function(){b3.transA*=(g4-1)/(n3-1);b3.min=e3.startOnTick?h3[0]:Math.min(a4,h3[0]);b3.max=e3.endOnTick?h3[h3.length-1]:Math.max(d3,h3[h3.length-1])};if(f2(w3)&&f2(b3.threshold)){for(;h3[w3]!==k3||h3.length!==n3||h3[0]>a4||h3[h3.length-1]<d3;){h3.length=0;for(h3.push(b3.threshold);h3.length<n3;)void 0===h3[w3]||h3[w3]>b3.threshold?h3.unshift(p2(h3[0]-z3)):h3.push(p2(h3[h3.length-1]+z3));if(z3>8*b3.tickInterval)break;z3*=2}u3()}else if(g4<n3){for(;h3.length<n3;)h3.length%2||a4===k3?h3.push(p2(h3[h3.length-1]+z3)):h3.unshift(p2(h3[0]-z3));u3()}if(D2(c3)){for(z3=k3=h3.length;z3--;)(3===c3&&1===z3%2||2>=c3&&0<z3&&z3<k3-1)&&h3.splice(z3,1);b3.finalTickAmt=void 0}}};a3.prototype.setScale=function(){var b3=false,f3=false;this.series.forEach((function(c3){b3=b3||c3.isDirtyData||c3.isDirty;f3=f3||c3.xAxis&&c3.xAxis.isDirty||false}));this.setAxisSize();var d3=this.len!==(this.old&&this.old.len);d3||b3||f3||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&(this.stacking.resetStacks(),this.stacking.buildStacks()),this.forceRedraw=false,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=d3||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks();b3&&this.panningState&&(this.panningState.isDirty=true);c2(this,"afterSetScale")};a3.prototype.setExtremes=function(b3,f3,d3,a4,e3){var h3=this,n3=h3.chart;d3=q(d3,true);h3.series.forEach((function(b4){delete b4.kdTree}));e3=y2(e3,{min:b3,max:f3});c2(h3,"setExtremes",e3,(function(){h3.userMin=b3;h3.userMax=f3;h3.eventArgs=e3;d3&&n3.redraw(a4)}))};a3.prototype.zoom=function(b3,f3){var d3=this,a4=this.dataMin,e3=this.dataMax,h3=this.options,n3=Math.min(a4,q(h3.min,a4)),u3=Math.max(e3,q(h3.max,e3));b3={newMin:b3,newMax:f3};c2(this,"zoom",b3,(function(b4){var c3=b4.newMin,f4=b4.newMax;if(c3!==d3.min||f4!==d3.max)d3.allowZoomOutside||(D2(a4)&&(c3<n3&&(c3=n3),c3>u3&&(c3=u3)),D2(e3)&&(f4<n3&&(f4=n3),f4>u3&&(f4=u3))),d3.displayBtn="undefined"!==typeof c3||"undefined"!==typeof f4,d3.setExtremes(c3,f4,false,void 0,{trigger:"zoom"});b4.zoomed=true}));return b3.zoomed};a3.prototype.setAxisSize=function(){var b3=this.chart,c3=this.options,f3=c3.offsets||[0,0,0,0],d3=this.horiz,a4=this.width=Math.round(N(q(c3.width,b3.plotWidth-f3[3]+f3[1]),b3.plotWidth)),e3=this.height=Math.round(N(q(c3.height,b3.plotHeight-f3[0]+f3[2]),b3.plotHeight)),h3=this.top=Math.round(N(q(c3.top,b3.plotTop+f3[0]),b3.plotHeight,b3.plotTop));c3=this.left=Math.round(N(q(c3.left,b3.plotLeft+f3[3]),b3.plotWidth,b3.plotLeft));this.bottom=b3.chartHeight-e3-h3;this.right=b3.chartWidth-a4-c3;this.len=Math.max(d3?a4:e3,0);this.pos=d3?c3:h3};a3.prototype.getExtremes=function(){var b3=this.logarithmic;return{min:b3?p2(b3.lin2log(this.min)):this.min,max:b3?p2(b3.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}};a3.prototype.getThreshold=function(b3){var c3=this.logarithmic,f3=c3?c3.lin2log(this.min):this.min;c3=c3?c3.lin2log(this.max):this.max;null===b3||-Infinity===b3?b3=f3:Infinity===b3?b3=c3:f3>b3?b3=f3:c3<b3&&(b3=c3);return this.translate(b3,0,1,0,1)};a3.prototype.autoLabelAlign=function(b3){var f3=(q(b3,0)-90*this.side+720)%360;b3={align:"center"};c2(this,"autoLabelAlign",b3,(function(b4){15<f3&&165>f3?b4.align="right":195<f3&&345>f3&&(b4.align="left")}));return b3.align};a3.prototype.tickSize=function(b3){var f3=this.options,d3=q(f3["tick"===b3?"tickWidth":"minorTickWidth"],"tick"===b3&&this.isXAxis&&!this.categories?1:0),a4=f3["tick"===b3?"tickLength":"minorTickLength"];if(d3&&a4){"inside"===f3[b3+"Position"]&&(a4=-a4);var e3=[a4,d3]}b3={tickSize:e3};c2(this,"afterTickSize",b3);return b3.tickSize};a3.prototype.labelMetrics=function(){var b3=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[b3]&&this.ticks[b3].label)};a3.prototype.unsquish=function(){var b3=this.options.labels,c3=this.horiz,a4=this.tickInterval,e3=this.len/(((this.categories?1:0)+this.max-this.min)/a4),h3=b3.rotation,n3=this.labelMetrics(),u3=Math.max(this.max-this.min,0),g4=function(b4){var c4=b4/(e3||1);c4=1<c4?Math.ceil(c4):1;c4*a4>u3&&Infinity!==b4&&Infinity!==e3&&u3&&(c4=Math.ceil(u3/a4));return p2(c4*a4)},z3=a4,k3=Number.MAX_VALUE;if(c3){if(!b3.staggerLines)if(f2(h3))var w3=[h3];else e3<b3.autoRotationLimit&&(w3=b3.autoRotation);if(w3)for(var m3=c3=void 0,l3=0,J2=w3;l3<J2.length;l3++){var N2=J2[l3];if(N2===h3||N2&&-90<=N2&&90>=N2){if(c3=g4(Math.abs(n3.h/Math.sin(d2*N2))),m3=c3+Math.abs(N2/360),m3<k3){k3=m3;var y3=N2;z3=c3}}}}else z3=g4(n3.h);this.autoRotation=w3;this.labelRotation=q(y3,f2(h3)?h3:0);return b3.step?a4:z3};a3.prototype.getSlotWidth=function(b3){var c3=this.chart,d3=this.horiz,a4=this.options.labels,e3=Math.max(this.tickPositions.length-(this.categories?0:1),1),h3=c3.margin[3];if(b3&&f2(b3.slotWidth))return b3.slotWidth;if(d3&&2>a4.step)return a4.rotation?0:(this.staggerLines||1)*this.len/e3;if(!d3){b3=a4.style.width;if(void 0!==b3)return parseInt(String(b3),10);if(h3)return h3-c3.spacing[3]}return.33*c3.chartWidth};a3.prototype.renderUnsquish=function(){var b3=this.chart,c3=b3.renderer,f3=this.tickPositions,d3=this.ticks,a4=this.options.labels,e3=a4.style,h3=this.horiz,u3=this.getSlotWidth(),q2=Math.max(1,Math.round(u3-2*a4.padding)),g4={},z3=this.labelMetrics(),k3=e3.textOverflow,w3=0;n2(a4.rotation)||(g4.rotation=a4.rotation||0);f3.forEach((function(b4){b4=d3[b4];b4.movedLabel&&b4.replaceMovedLabel();b4&&b4.label&&b4.label.textPxLength>w3&&(w3=b4.label.textPxLength)}));this.maxLabelLength=w3;if(this.autoRotation)w3>q2&&w3>z3.h?g4.rotation=this.labelRotation:this.labelRotation=0;else if(u3){var m3=q2;if(!k3){var l3="clip";for(q2=f3.length;!h3&&q2--;){var p3=f3[q2];if(p3=d3[p3].label)p3.styles&&"ellipsis"===p3.styles.textOverflow?p3.css({textOverflow:"clip"}):p3.textPxLength>u3&&p3.css({width:u3+"px"}),p3.getBBox().height>this.len/f3.length-(z3.h-z3.f)&&(p3.specificTextOverflow="ellipsis")}}}g4.rotation&&(m3=w3>.5*b3.chartHeight?.33*b3.chartHeight:w3,k3||(l3="ellipsis"));if(this.labelAlign=a4.align||this.autoLabelAlign(this.labelRotation))g4.align=this.labelAlign;f3.forEach((function(b4){var c4=(b4=d3[b4])&&b4.label,f4=e3.width,a5={};c4&&(c4.attr(g4),b4.shortenLabel?b4.shortenLabel():m3&&!f4&&"nowrap"!==e3.whiteSpace&&(m3<c4.textPxLength||"SPAN"===c4.element.tagName)?(a5.width=m3+"px",k3||(a5.textOverflow=c4.specificTextOverflow||l3),c4.css(a5)):c4.styles&&c4.styles.width&&!a5.width&&!f4&&c4.css({width:null}),delete c4.specificTextOverflow,b4.rotation=g4.rotation)}),this);this.tickRotCorr=c3.rotCorr(z3.b,this.labelRotation||0,0!==this.side)};a3.prototype.hasData=function(){return this.series.some((function(b3){return b3.hasData()}))||this.options.showEmpty&&D2(this.min)&&D2(this.max)};a3.prototype.addTitle=function(c3){var f3=this.chart.renderer,d3=this.horiz,a4=this.opposite,e3=this.options.title,h3=this.chart.styledMode,n3;this.axisTitle||((n3=e3.textAlign)||(n3=(d3?{low:"left",middle:"center",high:"right"}:{low:a4?"right":"left",middle:"center",high:a4?"left":"right"})[e3.align]),this.axisTitle=f3.text(e3.text||"",0,0,e3.useHTML).attr({zIndex:7,rotation:e3.rotation,align:n3}).addClass("highcharts-axis-title"),h3||this.axisTitle.css(b2(e3.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=true);h3||e3.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"});this.axisTitle[c3?"show":"hide"](c3)};a3.prototype.generateTick=function(b3){var c3=this.ticks;c3[b3]?c3[b3].addLabel():c3[b3]=new H2(this,b3)};a3.prototype.getOffset=function(){var b3=this,f3=this,d3=f3.chart,a4=f3.horiz,e3=f3.options,h3=f3.side,n3=f3.ticks,u3=f3.tickPositions,g4=f3.coll,k3=f3.axisParent,w3=d3.renderer,m3=d3.inverted&&!f3.isZAxis?[1,0,3,2][h3]:h3,l3=f3.hasData(),p3=e3.title,N2=e3.labels,J2=d3.axisOffset;d3=d3.clipOffset;var y3=[-1,1,1,-1][h3],O3=e3.className,r3,Q2=0,ja=0,da=0;f3.showAxis=r3=l3||e3.showEmpty;f3.staggerLines=f3.horiz&&N2.staggerLines||void 0;if(!f3.axisGroup){var I2=function(c3,f4,d4){return w3.g(c3).attr({zIndex:d4}).addClass("highcharts-".concat(g4.toLowerCase()).concat(f4," ")+(b3.isRadial?"highcharts-radial-axis".concat(f4," "):"")+(O3||"")).add(k3)};f3.gridGroup=I2("grid","-grid",e3.gridZIndex);f3.axisGroup=I2("axis","",e3.zIndex);f3.labelGroup=I2("axis-labels","-labels",N2.zIndex)}l3||f3.isLinked?(u3.forEach((function(b4){f3.generateTick(b4)})),f3.renderUnsquish(),f3.reserveSpaceDefault=0===h3||2===h3||{1:"left",3:"right"}[h3]===f3.labelAlign,q(N2.reserveSpace,"center"===f3.labelAlign?true:null,f3.reserveSpaceDefault)&&u3.forEach((function(b4){da=Math.max(n3[b4].getLabelSize(),da)})),f3.staggerLines&&(da*=f3.staggerLines),f3.labelOffset=da*(f3.opposite?-1:1)):z2(n3,(function(b4,c3){b4.destroy();delete n3[c3]}));if(p3&&p3.text&&false!==p3.enabled&&(f3.addTitle(r3),r3&&false!==p3.reserveSpace)){f3.titleOffset=Q2=f3.axisTitle.getBBox()[a4?"height":"width"];var t3=p3.offset;ja=D2(t3)?0:q(p3.margin,a4?5:10)}f3.renderLine();f3.offset=y3*q(e3.offset,J2[h3]?J2[h3]+(e3.margin||0):0);f3.tickRotCorr=f3.tickRotCorr||{x:0,y:0};p3=0===h3?-f3.labelMetrics().h:2===h3?f3.tickRotCorr.y:0;l3=Math.abs(da)+ja;da&&(l3=l3-p3+y3*(a4?q(N2.y,f3.tickRotCorr.y+8*y3):N2.x));f3.axisTitleMargin=q(t3,l3);f3.getMaxLabelDimensions&&(f3.maxLabelDimensions=f3.getMaxLabelDimensions(n3,u3));"colorAxis"!==g4&&(a4=this.tickSize("tick"),J2[h3]=Math.max(J2[h3],(f3.axisTitleMargin||0)+Q2+y3*f3.offset,l3,u3&&u3.length&&a4?a4[0]+y3*f3.offset:0),e3=!f3.axisLine||e3.offset?0:2*Math.floor(f3.axisLine.strokeWidth()/2),d3[m3]=Math.max(d3[m3],e3));c2(this,"afterGetOffset")};a3.prototype.getLinePath=function(b3){var c3=this.chart,f3=this.opposite,d3=this.offset,a4=this.horiz,e3=this.left+(f3?this.width:0)+d3;d3=c3.chartHeight-this.bottom-(f3?this.height:0)+d3;f3&&(b3*=-1);return c3.renderer.crispLine([["M",a4?this.left:e3,a4?d3:this.top],["L",a4?c3.chartWidth-this.right:e3,a4?d3:c3.chartHeight-this.bottom]],b3)};a3.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))};a3.prototype.getTitlePosition=function(){var b3=this.horiz,f3=this.left,d3=this.top,a4=this.len,e3=this.options.title,h3=b3?f3:d3,n3=this.opposite,u3=this.offset,q2=e3.x,g4=e3.y,z3=this.axisTitle,k3=this.chart.renderer.fontMetrics(e3.style.fontSize,z3);z3=z3?Math.max(z3.getBBox(false,0).height-k3.h-1,0):0;a4={low:h3+(b3?0:a4),middle:h3+a4/2,high:h3+(b3?a4:0)}[e3.align];f3=(b3?d3+this.height:f3)+(b3?1:-1)*(n3?-1:1)*(this.axisTitleMargin||0)+[-z3,z3,k3.f,-z3][this.side];b3={x:b3?a4+q2:f3+(n3?this.width:0)+u3+q2,y:b3?f3+g4-(n3?this.height:0)+u3:a4+g4};c2(this,"afterGetTitlePosition",{titlePosition:b3});return b3};a3.prototype.renderMinorTick=function(b3,c3){var f3=this.minorTicks;f3[b3]||(f3[b3]=new H2(this,b3,"minor"));c3&&f3[b3].isNew&&f3[b3].render(null,true);f3[b3].render(null,false,1)};a3.prototype.renderTick=function(b3,c3,f3){var d3=this.ticks;if(!this.isLinked||b3>=this.min&&b3<=this.max||this.grid&&this.grid.isColumn)d3[b3]||(d3[b3]=new H2(this,b3)),f3&&d3[b3].isNew&&d3[b3].render(c3,true,-1),d3[b3].render(c3)};a3.prototype.render=function(){var b3=this,d3=b3.chart,a4=b3.logarithmic,e3=b3.options,h3=b3.isLinked,n3=b3.tickPositions,u3=b3.axisTitle,q2=b3.ticks,g4=b3.minorTicks,k3=b3.alternateBands,w3=e3.stackLabels,m3=e3.alternateGridColor,l3=b3.tickmarkOffset,p3=b3.axisLine,N2=b3.showAxis,J2=r2(d3.renderer.globalAnimation),y3,O3;b3.labelEdge.length=0;b3.overlap=false;[q2,g4,k3].forEach((function(b4){z2(b4,(function(b5){b5.isActive=false}))}));if(b3.hasData()||h3){var D3=b3.chart.hasRendered&&b3.old&&f2(b3.old.min);b3.minorTickInterval&&!b3.categories&&b3.getMinorTickPositions().forEach((function(c3){b3.renderMinorTick(c3,D3)}));n3.length&&(n3.forEach((function(c3,f3){b3.renderTick(c3,f3,D3)})),l3&&(0===b3.min||b3.single)&&(q2[-1]||(q2[-1]=new H2(b3,-1,null,true)),q2[-1].render(-1)));m3&&n3.forEach((function(c3,f3){O3="undefined"!==typeof n3[f3+1]?n3[f3+1]+l3:b3.max-l3;0===f3%2&&c3<b3.max&&O3<=b3.max+(d3.polar?-l3:l3)&&(k3[c3]||(k3[c3]=new B.PlotLineOrBand(b3)),y3=c3+l3,k3[c3].options={from:a4?a4.lin2log(y3):y3,to:a4?a4.lin2log(O3):O3,color:m3,className:"highcharts-alternate-grid"},k3[c3].render(),k3[c3].isActive=true)}));b3._addedPlotLB||(b3._addedPlotLB=true,(e3.plotLines||[]).concat(e3.plotBands||[]).forEach((function(c3){b3.addPlotBandOrLine(c3)})))}[q2,g4,k3].forEach((function(b4){var c3=[],f3=J2.duration;z2(b4,(function(b5,f4){b5.isActive||(b5.render(f4,false,0),b5.isActive=false,c3.push(f4))}));Q((function(){for(var f4=c3.length;f4--;)b4[c3[f4]]&&!b4[c3[f4]].isActive&&(b4[c3[f4]].destroy(),delete b4[c3[f4]])}),b4!==k3&&d3.hasRendered&&f3?f3:0)}));p3&&(p3[p3.isPlaced?"animate":"attr"]({d:this.getLinePath(p3.strokeWidth())}),p3.isPlaced=true,p3[N2?"show":"hide"](N2));u3&&N2&&(e3=b3.getTitlePosition(),u3[u3.isNew?"attr":"animate"](e3),u3.isNew=false);w3&&w3.enabled&&b3.stacking&&b3.stacking.renderStackTotals();b3.old={len:b3.len,max:b3.max,min:b3.min,transA:b3.transA,userMax:b3.userMax,userMin:b3.userMin};b3.isDirty=false;c2(this,"afterRender")};a3.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(b3){b3.render()})));this.series.forEach((function(b3){b3.isDirty=true}))};a3.prototype.getKeepProps=function(){return this.keepProps||a3.keepProps};a3.prototype.destroy=function(b3){var f3=this,d3=f3.plotLinesAndBands,a4=this.eventOptions;c2(this,"destroy",{keepEvents:b3});b3||J(f3);[f3.ticks,f3.minorTicks,f3.alternateBands].forEach((function(b4){I(b4)}));if(d3)for(b3=d3.length;b3--;)d3[b3].destroy();"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(b4){f3[b4]&&(f3[b4]=f3[b4].destroy())}));for(var e3 in f3.plotLinesAndBandsGroups)f3.plotLinesAndBandsGroups[e3]=f3.plotLinesAndBandsGroups[e3].destroy();z2(f3,(function(b4,c3){-1===f3.getKeepProps().indexOf(c3)&&delete f3[c3]}));this.eventOptions=a4};a3.prototype.drawCrosshair=function(b3,f3){var d3=this.crosshair,a4=q(d3&&d3.snap,true),e3=this.chart,h3,n3=this.cross;c2(this,"drawCrosshair",{e:b3,point:f3});b3||(b3=this.cross&&this.cross.e);if(d3&&false!==(D2(f3)||!a4)){a4?D2(f3)&&(h3=q("colorAxis"!==this.coll?f3.crosshairPos:null,this.isXAxis?f3.plotX:this.len-f3.plotY)):h3=b3&&(this.horiz?b3.chartX-this.pos:this.len-b3.chartY+this.pos);if(D2(h3)){var u3={value:f3&&(this.isXAxis?f3.x:q(f3.stackY,f3.y)),translatedValue:h3};e3.polar&&y2(u3,{isCrosshair:true,chartX:b3&&b3.chartX,chartY:b3&&b3.chartY,point:f3});u3=this.getPlotLinePath(u3)||null}if(!D2(u3)){this.hideCrosshair();return}a4=this.categories&&!this.isRadial;n3||(this.cross=n3=e3.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(a4?"category ":"thin ")+(d3.className||"")).attr({zIndex:q(d3.zIndex,2)}).add(),e3.styledMode||(n3.attr({stroke:d3.color||(a4?x2.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":q(d3.width,1)}).css({"pointer-events":"none"}),d3.dashStyle&&n3.attr({dashstyle:d3.dashStyle})));n3.show().attr({d:u3});a4&&!d3.width&&n3.attr({"stroke-width":this.transA});this.cross.e=b3}else this.hideCrosshair();c2(this,"afterDrawCrosshair",{e:b3,point:f3})};a3.prototype.hideCrosshair=function(){this.cross&&this.cross.hide();c2(this,"afterHideCrosshair")};a3.prototype.hasVerticalPanning=function(){var b3=this.chart.options.chart.panning;return!!(b3&&b3.enabled&&/y/.test(b3.type))};a3.prototype.validatePositiveValue=function(b3){return f2(b3)&&0<b3};a3.prototype.update=function(c3,f3){var d3=this.chart;c3=b2(this.userOptions,c3);this.destroy(true);this.init(d3,c3);d3.isDirtyBox=true;q(f3,true)&&d3.redraw()};a3.prototype.remove=function(b3){for(var c3=this.chart,f3=this.coll,d3=this.series,a4=d3.length;a4--;)d3[a4]&&d3[a4].remove(false);E2(c3.axes,this);E2(c3[f3],this);c3[f3].forEach((function(b4,c4){b4.options.index=b4.userOptions.index=c4}));this.destroy();c3.isDirtyBox=true;q(b3,true)&&c3.redraw()};a3.prototype.setTitle=function(b3,c3){this.update({title:b3},c3)};a3.prototype.setCategories=function(b3,c3){this.update({categories:b3},c3)};a3.defaultOptions=g3.defaultXAxisOptions;a3.keepProps="extKey hcEvents names series userMax userMin".split(" ");return a3}();return a2}));K(g2,"Core/Axis/DateTimeAxis.js",[g2["Core/Utilities.js"]],(function(a2){var g3=a2.addEvent,x2=a2.getMagnitude,F2=a2.normalizeTickInterval,C2=a2.timeUnits,B;(function(a3){function t2(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function r2(d2){"datetime"!==d2.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new e2(this))}var l2=[];a3.compose=function(d2){-1===l2.indexOf(d2)&&(l2.push(d2),d2.keepProps.push("dateTime"),d2.prototype.getTimeTicks=t2,g3(d2,"init",r2));return d2};var e2=function(){function d2(d3){this.axis=d3}d2.prototype.normalizeTimeTickInterval=function(d3,a4){var e3=a4||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];a4=e3[e3.length-1];var h2=C2[a4[0]],g4=a4[1],m2;for(m2=0;m2<e3.length&&!(a4=e3[m2],h2=C2[a4[0]],g4=a4[1],e3[m2+1]&&d3<=(h2*g4[g4.length-1]+C2[e3[m2+1][0]])/2);m2++);h2===C2.year&&d3<5*h2&&(g4=[1,2,5]);d3=F2(d3/h2,g4,"year"===a4[0]?Math.max(x2(d3/h2),1):1);return{unitRange:h2,count:d3,unitName:a4[0]}};d2.prototype.getXDateFormat=function(d3,a4){var e3=this.axis,h2=e3.chart.time;return e3.closestPointRange?h2.getDateFormat(e3.closestPointRange,d3,e3.options.startOfWeek,a4)||h2.resolveDTLFormat(a4.year).main:h2.resolveDTLFormat(a4.day).main};return d2}();a3.Additions=e2})(B||(B={}));return B}));K(g2,"Core/Axis/LogarithmicAxis.js",[g2["Core/Utilities.js"]],(function(a2){var g3=a2.addEvent,x2=a2.normalizeTickInterval,F2=a2.pick,C2;(function(a3){function A2(a4){var d2=this.logarithmic;"logarithmic"!==a4.userOptions.type?this.logarithmic=void 0:d2||(this.logarithmic=new l2(this))}function t2(){var a4=this.logarithmic;a4&&(this.lin2val=function(d2){return a4.lin2log(d2)},this.val2lin=function(d2){return a4.log2lin(d2)})}var r2=[];a3.compose=function(a4){-1===r2.indexOf(a4)&&(r2.push(a4),a4.keepProps.push("logarithmic"),g3(a4,"init",A2),g3(a4,"afterInit",t2));return a4};var l2=function(){function a4(d2){this.axis=d2}a4.prototype.getLogTickPositions=function(d2,a5,e2,g4){var h2=this.axis,k2=h2.len,m2=h2.options,l3=[];g4||(this.minorAutoInterval=void 0);if(.5<=d2)d2=Math.round(d2),l3=h2.getLinearTickPositions(d2,a5,e2);else if(.08<=d2){var r3=Math.floor(a5),y2,c2=m2=void 0;for(k2=.3<d2?[1,2,4]:.15<d2?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];r3<e2+1&&!c2;r3++){var w2=k2.length;for(y2=0;y2<w2&&!c2;y2++){var f2=this.log2lin(this.lin2log(r3)*k2[y2]);f2>a5&&(!g4||m2<=e2)&&"undefined"!==typeof m2&&l3.push(m2);m2>e2&&(c2=true);m2=f2}}}else a5=this.lin2log(a5),e2=this.lin2log(e2),d2=g4?h2.getMinorTickInterval():m2.tickInterval,d2=F2("auto"===d2?null:d2,this.minorAutoInterval,m2.tickPixelInterval/(g4?5:1)*(e2-a5)/((g4?k2/h2.tickPositions.length:k2)||1)),d2=x2(d2),l3=h2.getLinearTickPositions(d2,a5,e2).map(this.log2lin),g4||(this.minorAutoInterval=d2/5);g4||(h2.tickInterval=d2);return l3};a4.prototype.lin2log=function(d2){return Math.pow(10,d2)};a4.prototype.log2lin=function(d2){return Math.log(d2)/Math.LN10};return a4}();a3.Additions=l2})(C2||(C2={}));return C2}));K(g2,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[g2["Core/Utilities.js"]],(function(a2){var g3=a2.erase,x2=a2.extend,F2=a2.isNumber,C2;(function(a3){var A2=[],t2;a3.compose=function(a4,e2){t2||(t2=a4);-1===A2.indexOf(e2)&&(A2.push(e2),x2(e2.prototype,r2.prototype));return e2};var r2=function(){function a4(){}a4.prototype.getPlotBandPath=function(a5,d2,h2){void 0===h2&&(h2=this.options);var e2=this.getPlotLinePath({value:d2,force:true,acrossPanes:h2.acrossPanes}),g4=[],l2=this.horiz;d2=!F2(this.min)||!F2(this.max)||a5<this.min&&d2<this.min||a5>this.max&&d2>this.max;a5=this.getPlotLinePath({value:a5,force:true,acrossPanes:h2.acrossPanes});h2=1;if(a5&&e2){if(d2){var r3=a5.toString()===e2.toString();h2=0}for(d2=0;d2<a5.length;d2+=2){var t3=a5[d2],E2=a5[d2+1],A3=e2[d2],y2=e2[d2+1];"M"!==t3[0]&&"L"!==t3[0]||"M"!==E2[0]&&"L"!==E2[0]||"M"!==A3[0]&&"L"!==A3[0]||"M"!==y2[0]&&"L"!==y2[0]||(l2&&A3[1]===t3[1]?(A3[1]+=h2,y2[1]+=h2):l2||A3[2]!==t3[2]||(A3[2]+=h2,y2[2]+=h2),g4.push(["M",t3[1],t3[2]],["L",E2[1],E2[2]],["L",y2[1],y2[2]],["L",A3[1],A3[2]],["Z"]));g4.isFlat=r3}}return g4};a4.prototype.addPlotBand=function(a5){return this.addPlotBandOrLine(a5,"plotBands")};a4.prototype.addPlotLine=function(a5){return this.addPlotBandOrLine(a5,"plotLines")};a4.prototype.addPlotBandOrLine=function(a5,d2){var e2=this,g4=this.userOptions,k2=new t2(this,a5);this.visible&&(k2=k2.render());if(k2){this._addedPlotLB||(this._addedPlotLB=true,(g4.plotLines||[]).concat(g4.plotBands||[]).forEach((function(a6){e2.addPlotBandOrLine(a6)})));if(d2){var l2=g4[d2]||[];l2.push(a5);g4[d2]=l2}this.plotLinesAndBands.push(k2)}return k2};a4.prototype.removePlotBandOrLine=function(a5){var d2=this.plotLinesAndBands,e2=this.options,m2=this.userOptions;if(d2){for(var k2=d2.length;k2--;)d2[k2].id===a5&&d2[k2].destroy();[e2.plotLines||[],m2.plotLines||[],e2.plotBands||[],m2.plotBands||[]].forEach((function(d3){for(k2=d3.length;k2--;)(d3[k2]||{}).id===a5&&g3(d3,d3[k2])}))}};a4.prototype.removePlotBand=function(a5){this.removePlotBandOrLine(a5)};a4.prototype.removePlotLine=function(a5){this.removePlotBandOrLine(a5)};return a4}()})(C2||(C2={}));return C2}));K(g2,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[g2["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],g2["Core/Utilities.js"]],(function(a2,g3){var A2=g3.arrayMax,F2=g3.arrayMin,C2=g3.defined,B=g3.destroyObjectProperties,H2=g3.erase,t2=g3.fireEvent,r2=g3.merge,l2=g3.objectEach,e2=g3.pick;g3=function(){function d2(a3,d3){this.axis=a3;d3&&(this.options=d3,this.id=d3.id)}d2.compose=function(e3){return a2.compose(d2,e3)};d2.prototype.render=function(){t2(this,"render");var a3=this,d3=a3.axis,g4=d3.horiz,p2=d3.logarithmic,D2=a3.options,I=D2.color,E2=e2(D2.zIndex,0),A3=D2.events,y2={},c2=d3.chart.renderer,w2=D2.label,f2=a3.label,n2=D2.to,b2=D2.from,u2=D2.value,z2=a3.svgElem,q=[],N=C2(b2)&&C2(n2);q=C2(u2);var J=!z2,O2={class:"highcharts-plot-"+(N?"band ":"line ")+(D2.className||"")},Q=N?"bands":"lines";p2&&(b2=p2.log2lin(b2),n2=p2.log2lin(n2),u2=p2.log2lin(u2));d3.chart.styledMode||(q?(O2.stroke=I||"#999999",O2["stroke-width"]=e2(D2.width,1),D2.dashStyle&&(O2.dashstyle=D2.dashStyle)):N&&(O2.fill=I||"#e6ebf5",D2.borderWidth&&(O2.stroke=D2.borderColor,O2["stroke-width"]=D2.borderWidth)));y2.zIndex=E2;Q+="-"+E2;(p2=d3.plotLinesAndBandsGroups[Q])||(d3.plotLinesAndBandsGroups[Q]=p2=c2.g("plot-"+Q).attr(y2).add());J&&(a3.svgElem=z2=c2.path().attr(O2).add(p2));if(q)q=d3.getPlotLinePath({value:u2,lineWidth:z2.strokeWidth(),acrossPanes:D2.acrossPanes});else if(N)q=d3.getPlotBandPath(b2,n2,D2);else return;!a3.eventsAdded&&A3&&(l2(A3,(function(b3,c3){z2.on(c3,(function(b4){A3[c3].apply(a3,[b4])}))})),a3.eventsAdded=true);(J||!z2.d)&&q&&q.length?z2.attr({d:q}):z2&&(q?(z2.show(),z2.animate({d:q})):z2.d&&(z2.hide(),f2&&(a3.label=f2=f2.destroy())));w2&&(C2(w2.text)||C2(w2.formatter))&&q&&q.length&&0<d3.width&&0<d3.height&&!q.isFlat?(w2=r2({align:g4&&N&&"center",x:g4?!N&&4:10,verticalAlign:!g4&&N&&"middle",y:g4?N?16:10:N?6:-4,rotation:g4&&!N&&90},w2),this.renderLabel(w2,q,N,E2)):f2&&f2.hide();return a3};d2.prototype.renderLabel=function(a3,d3,e3,g4){var h2=this.axis,k2=h2.chart.renderer,m2=this.label;m2||(this.label=m2=k2.text(this.getLabelText(a3),0,0,a3.useHTML).attr({align:a3.textAlign||a3.align,rotation:a3.rotation,class:"highcharts-plot-"+(e3?"band":"line")+"-label "+(a3.className||""),zIndex:g4}).add(),h2.chart.styledMode||m2.css(r2({textOverflow:"ellipsis"},a3.style)));g4=d3.xBounds||[d3[0][1],d3[1][1],e3?d3[2][1]:d3[0][1]];d3=d3.yBounds||[d3[0][2],d3[1][2],e3?d3[2][2]:d3[0][2]];e3=F2(g4);k2=F2(d3);m2.align(a3,false,{x:e3,y:k2,width:A2(g4)-e3,height:A2(d3)-k2});m2.alignValue&&"left"!==m2.alignValue||(a3=a3.clip?h2.width:h2.chart.chartWidth,m2.css({width:(90===m2.rotation?h2.height-(m2.alignAttr.y-h2.top):a3-(m2.alignAttr.x-h2.left))+"px"}));m2.show(true)};d2.prototype.getLabelText=function(a3){return C2(a3.formatter)?a3.formatter.call(this):a3.text};d2.prototype.destroy=function(){H2(this.axis.plotLinesAndBands,this);delete this.axis;B(this)};return d2}();return g3}));K(g2,"Core/Tooltip.js",[g2["Core/FormatUtilities.js"],g2["Core/Globals.js"],g2["Core/Renderer/RendererUtilities.js"],g2["Core/Renderer/RendererRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2){var A2=a2.format,H2=g3.doc,t2=x2.distribute,r2=C2.clamp,l2=C2.css,e2=C2.discardElement,d2=C2.extend,h2=C2.fireEvent,m2=C2.isArray,k2=C2.isNumber,p2=C2.isString,D2=C2.merge,I=C2.pick,E2=C2.splat,L2=C2.syncTimeout;a2=function(){function a3(c2,a4){this.allowShared=true;this.container=void 0;this.crosshairs=[];this.distance=0;this.isHidden=true;this.isSticky=false;this.now={};this.options={};this.outside=false;this.chart=c2;this.init(c2,a4)}a3.prototype.applyFilter=function(){var c2=this.chart;c2.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+c2.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})};a3.prototype.bodyFormatter=function(c2){return c2.map((function(c3){var f2=c3.series.tooltipOptions;return(f2[(c3.point.formatPrefix||"point")+"Formatter"]||c3.point.tooltipFormatter).call(c3.point,f2[(c3.point.formatPrefix||"point")+"Format"]||"")}))};a3.prototype.cleanSplit=function(c2){this.chart.series.forEach((function(a4){var f2=a4&&a4.tt;f2&&(!f2.isActive||c2?a4.tt=f2.destroy():f2.isActive=false)}))};a3.prototype.defaultFormatter=function(c2){var a4=this.points||E2(this);var f2=[c2.tooltipFooterHeaderFormatter(a4[0])];f2=f2.concat(c2.bodyFormatter(a4));f2.push(c2.tooltipFooterHeaderFormatter(a4[0],true));return f2};a3.prototype.destroy=function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(true),this.tt=this.tt.destroy());this.renderer&&(this.renderer=this.renderer.destroy(),e2(this.container));C2.clearTimeout(this.hideTimer);C2.clearTimeout(this.tooltipTimeout)};a3.prototype.getAnchor=function(c2,a4){var f2=this.chart,d3=f2.pointer,b2=f2.inverted,e3=f2.plotTop;f2=f2.plotLeft;c2=E2(c2);c2[0].series&&c2[0].series.yAxis&&!c2[0].series.yAxis.options.reversedStacks&&(c2=c2.slice().reverse());if(this.followPointer&&a4)"undefined"===typeof a4.chartX&&(a4=d3.normalize(a4)),c2=[a4.chartX-f2,a4.chartY-e3];else if(c2[0].tooltipPos)c2=c2[0].tooltipPos;else{var h3=0,g4=0;c2.forEach((function(b3){if(b3=b3.pos(true))h3+=b3[0],g4+=b3[1]}));h3/=c2.length;g4/=c2.length;this.shared&&1<c2.length&&a4&&(b2?h3=a4.chartX:g4=a4.chartY);c2=[h3-f2,g4-e3]}return c2.map(Math.round)};a3.prototype.getClassName=function(c2,a4,f2){var d3=c2.series,b2=d3.options;return[this.options.className,"highcharts-label",f2&&"highcharts-tooltip-header",a4?"highcharts-tooltip-box":"highcharts-tooltip",!f2&&"highcharts-color-"+I(c2.colorIndex,d3.colorIndex),b2&&b2.className].filter(p2).join(" ")};a3.prototype.getLabel=function(){var c2=this,a4=this.chart.styledMode,f2=this.options,d3=this.split&&this.allowShared,b2=f2.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none"),e3,h3=this.chart.renderer;if(c2.label){var q=!c2.label.hasClass("highcharts-label");(d3&&!q||!d3&&q)&&c2.destroy()}if(!this.label){if(this.outside){q=this.chart.options.chart.style;var k3=F2.getRendererType();this.container=e3=g3.doc.createElement("div");e3.className="highcharts-tooltip-container";l2(e3,{position:"absolute",top:"1px",pointerEvents:b2,zIndex:Math.max(this.options.style.zIndex||0,(q&&q.zIndex||0)+3)});g3.doc.body.appendChild(e3);this.renderer=h3=new k3(e3,0,0,q,void 0,void 0,h3.styledMode)}d3?this.label=h3.g("tooltip"):(this.label=h3.label("",0,0,f2.shape,void 0,void 0,f2.useHTML,void 0,"tooltip").attr({padding:f2.padding,r:f2.borderRadius}),a4||this.label.attr({fill:f2.backgroundColor,"stroke-width":f2.borderWidth}).css(f2.style).css({pointerEvents:b2}).shadow(f2.shadow));a4&&f2.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"}));if(c2.outside&&!c2.split){var m3=this.label,p3=m3.xSetter,y2=m3.ySetter;m3.xSetter=function(b3){p3.call(m3,c2.distance);e3.style.left=b3+"px"};m3.ySetter=function(b3){y2.call(m3,c2.distance);e3.style.top=b3+"px"}}this.label.attr({zIndex:8}).add()}return this.label};a3.prototype.getPosition=function(c2,a4,f2){var d3=this.chart,b2=this.distance,e3={},h3=d3.inverted&&f2.h||0,g4=this.outside,k3=g4?H2.documentElement.clientWidth-2*b2:d3.chartWidth,w2=g4?Math.max(H2.body.scrollHeight,H2.documentElement.scrollHeight,H2.body.offsetHeight,H2.documentElement.offsetHeight,H2.documentElement.clientHeight):d3.chartHeight,m3=d3.pointer.getChartPosition(),l3=function(e4){var h4="x"===e4;return[e4,h4?k3:w2,h4?c2:a4].concat(g4?[h4?c2*m3.scaleX:a4*m3.scaleY,h4?m3.left-b2+(f2.plotX+d3.plotLeft)*m3.scaleX:m3.top-b2+(f2.plotY+d3.plotTop)*m3.scaleY,0,h4?k3:w2]:[h4?c2:a4,h4?f2.plotX+d3.plotLeft:f2.plotY+d3.plotTop,h4?d3.plotLeft:d3.plotTop,h4?d3.plotLeft+d3.plotWidth:d3.plotTop+d3.plotHeight])},p3=l3("y"),y2=l3("x"),v2;l3=!!f2.negative;!d3.polar&&d3.hoverSeries&&d3.hoverSeries.yAxis&&d3.hoverSeries.yAxis.reversed&&(l3=!l3);var r3=!this.followPointer&&I(f2.ttBelow,!d3.inverted===l3),t3=function(c3,f3,a5,d4,n2,u2,q){var z2=g4?"y"===c3?b2*m3.scaleY:b2*m3.scaleX:b2,k4=(a5-d4)/2,w3=d4<n2-b2,G2=n2+b2+d4<f3,l4=n2-z2-a5+k4;n2=n2+z2-k4;if(r3&&G2)e3[c3]=n2;else if(!r3&&w3)e3[c3]=l4;else if(w3)e3[c3]=Math.min(q-d4,0>l4-h3?l4:l4-h3);else if(G2)e3[c3]=Math.max(u2,n2+h3+a5>f3?n2:n2+h3);else return false},D3=function(c3,f3,a5,d4,h4){var n2;h4<b2||h4>f3-b2?n2=false:e3[c3]=h4<a5/2?1:h4>f3-d4/2?f3-d4-2:h4-a5/2;return n2},E3=function(b3){var c3=p3;p3=y2;y2=c3;v2=b3},G=function(){false!==t3.apply(0,p3)?false!==D3.apply(0,y2)||v2||(E3(true),G()):v2?e3.x=e3.y=0:(E3(true),G())};(d3.inverted||1<this.len)&&E3();G();return e3};a3.prototype.hide=function(c2){var a4=this;C2.clearTimeout(this.hideTimer);c2=I(c2,this.options.hideDelay);this.isHidden||(this.hideTimer=L2((function(){a4.getLabel().fadeOut(c2?void 0:c2);a4.isHidden=true}),c2))};a3.prototype.init=function(c2,a4){this.chart=c2;this.options=a4;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=true;this.split=a4.split&&!c2.inverted&&!c2.polar;this.shared=a4.shared||this.split;this.outside=I(a4.outside,!(!c2.scrollablePixelsX&&!c2.scrollablePixelsY))};a3.prototype.shouldStickOnContact=function(c2){return!(this.followPointer||!this.options.stickOnContact||c2&&!this.chart.pointer.inClass(c2.target,"highcharts-tooltip"))};a3.prototype.move=function(c2,a4,f2,e3){var b2=this,h3=b2.now,n2=false!==b2.options.animation&&!b2.isHidden&&(1<Math.abs(c2-h3.x)||1<Math.abs(a4-h3.y)),g4=b2.followPointer||1<b2.len;d2(h3,{x:n2?(2*h3.x+c2)/3:c2,y:n2?(h3.y+a4)/2:a4,anchorX:g4?void 0:n2?(2*h3.anchorX+f2)/3:f2,anchorY:g4?void 0:n2?(h3.anchorY+e3)/2:e3});b2.getLabel().attr(h3);b2.drawTracker();n2&&(C2.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){b2&&b2.move(c2,a4,f2,e3)}),32))};a3.prototype.refresh=function(c2,a4){var f2=this.chart,d3=this.options,b2=f2.pointer,e3=E2(c2),g4=e3[0],q=[],k3=d3.formatter||this.defaultFormatter,w2=this.shared,l3=f2.styledMode,p3={};if(d3.enabled&&g4.series){C2.clearTimeout(this.hideTimer);this.allowShared=!(!m2(c2)&&c2.series&&c2.series.noSharedTooltip);this.followPointer=!this.split&&g4.series.tooltipOptions.followPointer;c2=this.getAnchor(c2,a4);var y2=c2[0],r3=c2[1];w2&&this.allowShared?(b2.applyInactiveState(e3),e3.forEach((function(b3){b3.setState("hover");q.push(b3.getLabelConfig())})),p3={x:g4.category,y:g4.y},p3.points=q):p3=g4.getLabelConfig();this.len=q.length;k3=k3.call(p3,this);w2=g4.series;this.distance=I(w2.tooltipOptions.distance,16);if(false===k3)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(k3,e3);else{var v2=y2,t3=r3;a4&&b2.isDirectTouch&&(v2=a4.chartX-f2.plotLeft,t3=a4.chartY-f2.plotTop);if(f2.polar||false===w2.options.clip||e3.some((function(c3){return b2.isDirectTouch||c3.series.shouldShowTooltip(v2,t3)})))a4=this.getLabel(),d3.style.width&&!l3||a4.css({width:f2.spacingBox.width+"px"}),a4.attr({text:k3&&k3.join?k3.join(""):k3}),a4.addClass(this.getClassName(g4),true),l3||a4.attr({stroke:d3.borderColor||g4.color||w2.color||"#666666"}),this.updatePosition({plotX:y2,plotY:r3,negative:g4.negative,ttBelow:g4.ttBelow,h:c2[2]||0});else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show();this.isHidden=false}h2(this,"refresh")}};a3.prototype.renderSplit=function(c2,a4){function f2(b3,c3,a5,f3,d3){void 0===d3&&(d3=true);a5?(c3=R2?0:ba,b3=r2(b3-f3/2,P.left,P.right-f3-(e3.outside?V2:0))):(c3-=Z,b3=d3?b3-f3-x3:b3+x3,b3=r2(b3,d3?b3:P.left,P.right));return{x:b3,y:c3}}var e3=this,b2=e3.chart,h3=e3.chart,g4=h3.chartWidth,q=h3.chartHeight,k3=h3.plotHeight,w2=h3.plotLeft,m3=h3.plotTop,l3=h3.pointer,y2=h3.scrollablePixelsY;y2=void 0===y2?0:y2;var D3=h3.scrollablePixelsX,v2=h3.scrollingContainer;v2=void 0===v2?{scrollLeft:0,scrollTop:0}:v2;var E3=v2.scrollLeft;v2=v2.scrollTop;var A3=h3.styledMode,x3=e3.distance,L3=e3.options,G=e3.options.positioner,P=e3.outside&&"number"!==typeof D3?H2.documentElement.getBoundingClientRect():{left:E3,right:E3+g4,top:v2,bottom:v2+q},M=e3.getLabel(),X=this.renderer||b2.renderer,R2=!(!b2.xAxis[0]||!b2.xAxis[0].opposite);b2=l3.getChartPosition();var V2=b2.left;b2=b2.top;var Z=m3+v2,C3=0,ba=k3-y2;p2(c2)&&(c2=[false,c2]);c2=c2.slice(0,a4.length+1).reduce((function(b3,c3,d3){if(false!==c3&&""!==c3){d3=a4[d3-1]||{isHeader:true,plotX:a4[0].plotX,plotY:k3,series:{}};var h4=d3.isHeader,n2=h4?e3:d3.series;c3=c3.toString();var g5=n2.tt,u2=d3.isHeader;var q2=d3.series;g5||(g5={padding:L3.padding,r:L3.borderRadius},A3||(g5.fill=L3.backgroundColor,g5["stroke-width"]=L3.borderWidth),g5=X.label("",0,0,L3[u2?"headerShape":"shape"],void 0,void 0,L3.useHTML).addClass(e3.getClassName(d3,true,u2)).attr(g5).add(M));g5.isActive=true;g5.attr({text:c3});A3||g5.css(L3.style).shadow(L3.shadow).attr({stroke:L3.borderColor||d3.color||q2.color||"#333333"});n2=n2.tt=g5;u2=n2.getBBox();c3=u2.width+n2.strokeWidth();h4&&(C3=u2.height,ba+=C3,R2&&(Z-=C3));q2=d3.plotX;q2=void 0===q2?0:q2;g5=d3.plotY;g5=void 0===g5?0:g5;var z2=d3.series;if(d3.isHeader){q2=w2+q2;var l4=m3+k3/2}else{var v3=z2.xAxis,p3=z2.yAxis;q2=v3.pos+r2(q2,-x3,v3.len+x3);z2.shouldShowTooltip(0,p3.pos-m3+g5,{ignoreX:true})&&(l4=p3.pos+g5)}q2=r2(q2,P.left-x3,P.right+x3);"number"===typeof l4?(u2=u2.height+1,g5=G?G.call(e3,c3,u2,d3):f2(q2,l4,h4,c3),b3.push({align:G?0:void 0,anchorX:q2,anchorY:l4,boxWidth:c3,point:d3,rank:I(g5.rank,h4?1:0),size:u2,target:g5.y,tt:n2,x:g5.x})):n2.isActive=false}return b3}),[]);!G&&c2.some((function(b3){var c3=(e3.outside?V2:0)+b3.anchorX;return c3<P.left&&c3+b3.boxWidth<P.right?true:c3<V2-P.left+b3.boxWidth&&P.right-c3>c3}))&&(c2=c2.map((function(b3){var c3=f2(b3.anchorX,b3.anchorY,b3.point.isHeader,b3.boxWidth,false);return d2(b3,{target:c3.y,x:c3.x})})));e3.cleanSplit();t2(c2,ba);var B=V2,F3=V2;c2.forEach((function(b3){var c3=b3.x,a5=b3.boxWidth;b3=b3.isHeader;b3||(e3.outside&&V2+c3<B&&(B=V2+c3),!b3&&e3.outside&&B+a5>F3&&(F3=V2+c3))}));c2.forEach((function(b3){var c3=b3.x,a5=b3.anchorX,f3=b3.pos,d3=b3.point.isHeader;f3={visibility:"undefined"===typeof f3?"hidden":"inherit",x:c3,y:(f3||0)+Z,anchorX:a5,anchorY:b3.anchorY};if(e3.outside&&c3<a5){var h4=V2-B;0<h4&&(d3||(f3.x=c3+h4,f3.anchorX=a5+h4),d3&&(f3.x=(F3-B)/2,f3.anchorX=a5+h4))}b3.tt.attr(f3)}));c2=e3.container;y2=e3.renderer;e3.outside&&c2&&y2&&(h3=M.getBBox(),y2.setSize(h3.width+h3.x,h3.height+h3.y,false),c2.style.left=B+"px",c2.style.top=b2+"px")};a3.prototype.drawTracker=function(){if(this.shouldStickOnContact()){var c2=this.chart,a4=this.label,f2=this.shared?c2.hoverPoints:c2.hoverPoint;if(a4&&f2){var d3={x:0,y:0,width:0,height:0};f2=this.getAnchor(f2);var b2=a4.getBBox();f2[0]+=c2.plotLeft-a4.translateX;f2[1]+=c2.plotTop-a4.translateY;d3.x=Math.min(0,f2[0]);d3.y=Math.min(0,f2[1]);d3.width=0>f2[0]?Math.max(Math.abs(f2[0]),b2.width-f2[0]):Math.max(Math.abs(f2[0]),b2.width);d3.height=0>f2[1]?Math.max(Math.abs(f2[1]),b2.height-Math.abs(f2[1])):Math.max(Math.abs(f2[1]),b2.height);this.tracker?this.tracker.attr(d3):(this.tracker=a4.renderer.rect(d3).addClass("highcharts-tracker").add(a4),c2.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}else this.tracker&&this.tracker.destroy()};a3.prototype.styledModeFormat=function(c2){return c2.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')};a3.prototype.tooltipFooterHeaderFormatter=function(c2,a4){var f2=c2.series,d3=f2.tooltipOptions,b2=f2.xAxis,e3=b2&&b2.dateTime;b2={isFooter:a4,labelConfig:c2};var g4=d3.xDateFormat,q=d3[a4?"footerFormat":"headerFormat"];h2(this,"headerFormatter",b2,(function(b3){e3&&!g4&&k2(c2.key)&&(g4=e3.getXDateFormat(c2.key,d3.dateTimeLabelFormats));e3&&g4&&(c2.point&&c2.point.tooltipDateKeys||["key"]).forEach((function(b4){q=q.replace("{point."+b4+"}","{point."+b4+":"+g4+"}")}));f2.chart.styledMode&&(q=this.styledModeFormat(q));b3.text=A2(q,{point:c2,series:f2},this.chart)}));return b2.text};a3.prototype.update=function(c2){this.destroy();D2(true,this.chart.options.tooltip.userOptions,c2);this.init(this.chart,D2(true,this.options,c2))};a3.prototype.updatePosition=function(c2){var a4=this.chart,f2=this.distance,d3=this.options,b2=a4.pointer,e3=this.getLabel(),h3=b2.getChartPosition();b2=h3.left;var g4=h3.top,k3=h3.scaleX;h3=h3.scaleY;var m3=(d3.positioner||this.getPosition).call(this,e3.width,e3.height,c2),p3=(c2.plotX||0)+a4.plotLeft;c2=(c2.plotY||0)+a4.plotTop;if(this.outside){d3.positioner&&(m3.x+=b2-f2,m3.y+=g4-f2);f2=d3.borderWidth+2*f2;this.renderer.setSize(e3.width+f2,e3.height+f2,false);if(1!==k3||1!==h3)l2(this.container,{transform:"scale(".concat(k3,", ").concat(h3,")")}),p3*=k3,c2*=h3;p3+=b2-m3.x;c2+=g4-m3.y}this.move(Math.round(m3.x),Math.round(m3.y||0),p3,c2)};return a3}();return a2}));K(g2,"Core/Series/Point.js",[g2["Core/Renderer/HTML/AST.js"],g2["Core/Animation/AnimationUtilities.js"],g2["Core/Defaults.js"],g2["Core/FormatUtilities.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2){var A2=g3.animObject,H2=x2.defaultOptions,t2=F2.format,r2=C2.addEvent,l2=C2.defined,e2=C2.erase,d2=C2.extend,h2=C2.fireEvent,m2=C2.getNestedProperty,k2=C2.isArray,p2=C2.isFunction,D2=C2.isNumber,I=C2.isObject,E2=C2.merge,L2=C2.objectEach,y2=C2.pick,c2=C2.syncTimeout,w2=C2.removeEvent,f2=C2.uniqueKey;g3=function(){function g4(){this.category=void 0;this.formatPrefix="point";this.id=void 0;this.isNull=false;this.percentage=this.options=this.name=void 0;this.selected=false;this.total=this.shapeArgs=this.series=void 0;this.visible=true;this.x=void 0}g4.prototype.animateBeforeDestroy=function(){var b2=this,c3={x:b2.startXPos,opacity:0},a3=b2.getGraphicalProps();a3.singular.forEach((function(a4){b2[a4]=b2[a4].animate("dataLabel"===a4?{x:b2[a4].startXPos,y:b2[a4].startYPos,opacity:0}:c3)}));a3.plural.forEach((function(c4){b2[c4].forEach((function(c5){c5.element&&c5.animate(d2({x:b2.startXPos},c5.startYPos?{x:c5.startXPos,y:c5.startYPos}:{}))}))}))};g4.prototype.applyOptions=function(b2,c3){var a3=this.series,f3=a3.options.pointValKey||a3.pointValKey;b2=g4.prototype.optionsToObject.call(this,b2);d2(this,b2);this.options=this.options?d2(this.options,b2):b2;b2.group&&delete this.group;b2.dataLabels&&delete this.dataLabels;f3&&(this.y=g4.prototype.getNestedProperty.call(this,f3));this.formatPrefix=(this.isNull=this.isValid&&!this.isValid())?"null":"point";this.selected&&(this.state="select");"name"in this&&"undefined"===typeof c3&&a3.xAxis&&a3.xAxis.hasNames&&(this.x=a3.xAxis.nameToX(this));"undefined"===typeof this.x&&a3?this.x="undefined"===typeof c3?a3.autoIncrement():c3:D2(b2.x)&&a3.options.relativeXValue&&(this.x=a3.autoIncrement(b2.x));return this};g4.prototype.destroy=function(){function b2(){if(a3.graphic||a3.graphics||a3.dataLabel||a3.dataLabels)w2(a3),a3.destroyElements();for(n2 in a3)a3[n2]=null}var a3=this,f3=a3.series,d3=f3.chart;f3=f3.options.dataSorting;var h3=d3.hoverPoints,g5=A2(a3.series.chart.renderer.globalAnimation),n2;a3.legendItem&&d3.legend.destroyItem(a3);h3&&(a3.setState(),e2(h3,a3),h3.length||(d3.hoverPoints=null));if(a3===d3.hoverPoint)a3.onMouseOut();f3&&f3.enabled?(this.animateBeforeDestroy(),c2(b2,g5.duration)):b2();d3.pointCount--};g4.prototype.destroyElements=function(b2){var c3=this;b2=c3.getGraphicalProps(b2);b2.singular.forEach((function(b3){c3[b3]=c3[b3].destroy()}));b2.plural.forEach((function(b3){c3[b3].forEach((function(b4){b4&&b4.element&&b4.destroy()}));delete c3[b3]}))};g4.prototype.firePointEvent=function(b2,c3,a3){var f3=this,d3=this.series.options;(d3.point.events[b2]||f3.options&&f3.options.events&&f3.options.events[b2])&&f3.importEvents();"click"===b2&&d3.allowPointSelect&&(a3=function(b3){f3.select&&f3.select(null,b3.ctrlKey||b3.metaKey||b3.shiftKey)});h2(f3,b2,c3,a3)};g4.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")};g4.prototype.getGraphicalProps=function(b2){var c3=this,a3=[],f3={singular:[],plural:[]},d3;b2=b2||{graphic:1,dataLabel:1};b2.graphic&&a3.push("graphic","shadowGroup");b2.dataLabel&&a3.push("dataLabel","dataLabelPath","dataLabelUpper","connector");for(d3=a3.length;d3--;){var e3=a3[d3];c3[e3]&&f3.singular.push(e3)}["graphic","dataLabel","connector"].forEach((function(a4){var d4=a4+"s";b2[a4]&&c3[d4]&&f3.plural.push(d4)}));return f3};g4.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}};g4.prototype.getNestedProperty=function(b2){if(b2)return 0===b2.indexOf("custom.")?m2(b2,this.options):this[b2]};g4.prototype.getZone=function(){var b2=this.series,c3=b2.zones;b2=b2.zoneAxis||"y";var a3,f3=0;for(a3=c3[f3];this[b2]>=a3.value;)a3=c3[++f3];this.nonZonedColor||(this.nonZonedColor=this.color);this.color=a3&&a3.color&&!this.options.color?a3.color:this.nonZonedColor;return a3};g4.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType};g4.prototype.init=function(b2,c3,a3){this.series=b2;this.applyOptions(c3,a3);this.id=l2(this.id)?this.id:f2();this.resolveColor();b2.chart.pointCount++;h2(this,"afterInit");return this};g4.prototype.isValid=function(){return null!==this.x&&D2(this.y)};g4.prototype.optionsToObject=function(b2){var c3=this.series,a3=c3.options.keys,f3=a3||c3.pointArrayMap||["y"],d3=f3.length,e3={},h3=0,n2=0;if(D2(b2)||null===b2)e3[f3[0]]=b2;else if(k2(b2))for(!a3&&b2.length>d3&&(c3=typeof b2[0],"string"===c3?e3.name=b2[0]:"number"===c3&&(e3.x=b2[0]),h3++);n2<d3;)a3&&"undefined"===typeof b2[h3]||(0<f3[n2].indexOf(".")?g4.prototype.setNestedProperty(e3,b2[h3],f3[n2]):e3[f3[n2]]=b2[h3]),h3++,n2++;else"object"===typeof b2&&(e3=b2,b2.dataLabels&&(c3._hasPointLabels=true),b2.marker&&(c3._hasPointMarkers=true));return e3};g4.prototype.pos=function(b2,c3){void 0===c3&&(c3=this.plotY);var a3=this.plotX,f3=this.series,d3=f3.chart,e3=f3.xAxis;f3=f3.yAxis;var h3=0,g5=0;if(D2(a3)&&D2(c3))return b2&&(h3=e3?e3.pos:d3.plotLeft,g5=f3?f3.pos:d3.plotTop),d3.inverted&&e3&&f3?[f3.len-c3+g5,e3.len-a3+h3]:[a3+h3,c3+g5]};g4.prototype.resolveColor=function(){var b2=this.series,c3=b2.chart.styledMode;var a3=b2.chart.options.chart.colorCount;delete this.nonZonedColor;if(b2.options.colorByPoint){if(!c3){a3=b2.options.colors||b2.chart.options.colors;var f3=a3[b2.colorCounter];a3=a3.length}c3=b2.colorCounter;b2.colorCounter++;b2.colorCounter===a3&&(b2.colorCounter=0)}else c3||(f3=b2.color),c3=b2.colorIndex;this.colorIndex=y2(this.options.colorIndex,c3);this.color=y2(this.options.color,f3)};g4.prototype.setNestedProperty=function(b2,c3,a3){a3.split(".").reduce((function(b3,a4,f3,d3){b3[a4]=d3.length-1===f3?c3:I(b3[a4],true)?b3[a4]:{};return b3[a4]}),b2);return b2};g4.prototype.shouldDraw=function(){return!this.isNull};g4.prototype.tooltipFormatter=function(b2){var c3=this.series,a3=c3.tooltipOptions,f3=y2(a3.valueDecimals,""),d3=a3.valuePrefix||"",e3=a3.valueSuffix||"";c3.chart.styledMode&&(b2=c3.chart.tooltip.styledModeFormat(b2));(c3.pointArrayMap||["y"]).forEach((function(c4){c4="{point."+c4;if(d3||e3)b2=b2.replace(RegExp(c4+"}","g"),d3+c4+"}"+e3);b2=b2.replace(RegExp(c4+"}","g"),c4+":,."+f3+"f}")}));return t2(b2,{point:this,series:this.series},c3.chart)};g4.prototype.update=function(b2,c3,a3,f3){function d3(){e3.applyOptions(b2);var f4=g5&&e3.hasMockGraphic;f4=null===e3.y?!f4:f4;g5&&f4&&(e3.graphic=g5.destroy(),delete e3.hasMockGraphic);I(b2,true)&&(g5&&g5.element&&b2&&b2.marker&&"undefined"!==typeof b2.marker.symbol&&(e3.graphic=g5.destroy()),b2&&b2.dataLabels&&e3.dataLabel&&(e3.dataLabel=e3.dataLabel.destroy()),e3.connector&&(e3.connector=e3.connector.destroy()));u2=e3.index;h3.updateParallelArrays(e3,u2);q.data[u2]=I(q.data[u2],true)||I(b2,true)?e3.options:y2(b2,q.data[u2]);h3.isDirty=h3.isDirtyData=true;!h3.fixedBox&&h3.hasCartesianSeries&&(n2.isDirtyBox=true);"point"===q.legendType&&(n2.isDirtyLegend=true);c3&&n2.redraw(a3)}var e3=this,h3=e3.series,g5=e3.graphic,n2=h3.chart,q=h3.options,u2;c3=y2(c3,true);false===f3?d3():e3.firePointEvent("update",{options:b2},d3)};g4.prototype.remove=function(b2,c3){this.series.removePoint(this.series.data.indexOf(this),b2,c3)};g4.prototype.select=function(b2,c3){var a3=this,f3=a3.series,d3=f3.chart;this.selectedStaging=b2=y2(b2,!a3.selected);a3.firePointEvent(b2?"select":"unselect",{accumulate:c3},(function(){a3.selected=a3.options.selected=b2;f3.options.data[f3.data.indexOf(a3)]=a3.options;a3.setState(b2&&"select");c3||d3.getSelectedPoints().forEach((function(b3){var c4=b3.series;b3.selected&&b3!==a3&&(b3.selected=b3.options.selected=false,c4.options.data[c4.data.indexOf(b3)]=b3.options,b3.setState(d3.hoverPoints&&c4.options.inactiveOtherPoints?"inactive":""),b3.firePointEvent("unselect"))}))}));delete this.selectedStaging};g4.prototype.onMouseOver=function(b2){var c3=this.series.chart,a3=c3.pointer;b2=b2?a3.normalize(b2):a3.getChartCoordinatesFromPoint(this,c3.inverted);a3.runPointActions(b2,this)};g4.prototype.onMouseOut=function(){var b2=this.series.chart;this.firePointEvent("mouseOut");this.series.options.inactiveOtherPoints||(b2.hoverPoints||[]).forEach((function(b3){b3.setState()}));b2.hoverPoints=b2.hoverPoint=null};g4.prototype.importEvents=function(){if(!this.hasImportedEvents){var b2=this,c3=E2(b2.series.options.point,b2.options).events;b2.events=c3;L2(c3,(function(c4,a3){p2(c4)&&r2(b2,a3,c4)}));this.hasImportedEvents=true}};g4.prototype.setState=function(b2,c3){var f3=this.series,e3=this.state,g5=f3.options.states[b2||"normal"]||{},n2=H2.plotOptions[f3.type].marker&&f3.options.marker,u2=n2&&false===n2.enabled,k3=n2&&n2.states&&n2.states[b2||"normal"]||{},m3=false===k3.enabled,w3=this.marker||{},l3=f3.chart,p3=n2&&f3.markerAttribs,r3=f3.halo,t3,E3=f3.stateMarkerGraphic;b2=b2||"";if(!(b2===this.state&&!c3||this.selected&&"select"!==b2||false===g5.enabled||b2&&(m3||u2&&false===k3.enabled)||b2&&w3.states&&w3.states[b2]&&false===w3.states[b2].enabled)){this.state=b2;p3&&(t3=f3.markerAttribs(this,b2));if(this.graphic&&!this.hasMockGraphic){e3&&this.graphic.removeClass("highcharts-point-"+e3);b2&&this.graphic.addClass("highcharts-point-"+b2);if(!l3.styledMode){e3=f3.pointAttribs(this,b2);var G=y2(l3.options.chart.animation,g5.animation);var P=e3.opacity;f3.options.inactiveOtherPoints&&D2(P)&&((this.dataLabels||[]).forEach((function(b3){b3&&!b3.hasClass("highcharts-data-label-hidden")&&b3.animate({opacity:P},G)})),this.connector&&this.connector.animate({opacity:P},G));this.graphic.animate(e3,G)}t3&&this.graphic.animate(t3,y2(l3.options.chart.animation,k3.animation,n2.animation));E3&&E3.hide()}else{if(b2&&k3){n2=w3.symbol||f3.symbol;E3&&E3.currentSymbol!==n2&&(E3=E3.destroy());if(t3)if(E3)E3[c3?"animate":"attr"]({x:t3.x,y:t3.y});else n2&&(f3.stateMarkerGraphic=E3=l3.renderer.symbol(n2,t3.x,t3.y,t3.width,t3.height).add(f3.markerGroup),E3.currentSymbol=n2);!l3.styledMode&&E3&&"inactive"!==this.state&&E3.attr(f3.pointAttribs(this,b2))}E3&&(E3[b2&&this.isInside?"show":"hide"](),E3.element.point=this,E3.addClass(this.getClassName(),true))}g5=g5.halo;t3=(E3=this.graphic||E3)&&E3.visibility||"inherit";g5&&g5.size&&E3&&"hidden"!==t3&&!this.isCluster?(r3||(f3.halo=r3=l3.renderer.path().add(E3.parentGroup)),r3.show()[c3?"animate":"attr"]({d:this.haloPath(g5.size)}),r3.attr({class:"highcharts-halo highcharts-color-"+y2(this.colorIndex,f3.colorIndex)+(this.className?" "+this.className:""),visibility:t3,zIndex:-1}),r3.point=this,l3.styledMode||r3.attr(d2({fill:this.color||f3.color,"fill-opacity":g5.opacity},a2.filterUserAttributes(g5.attributes||{})))):r3&&r3.point&&r3.point.haloPath&&r3.animate({d:r3.point.haloPath(0)},null,r3.hide);h2(this,"afterSetState",{state:b2})}};g4.prototype.haloPath=function(b2){var c3=this.pos();return c3?this.series.chart.renderer.symbols.circle(Math.floor(c3[0])-b2,c3[1]-b2,2*b2,2*b2):[]};return g4}();return g3}));K(g2,"Core/Pointer.js",[g2["Core/Color/Color.js"],g2["Core/Globals.js"],g2["Core/Tooltip.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2){var A2=a2.parse,B=g3.charts,H2=g3.noop,t2=F2.addEvent,r2=F2.attr,l2=F2.css,e2=F2.defined,d2=F2.extend,h2=F2.find,m2=F2.fireEvent,k2=F2.isNumber,p2=F2.isObject,D2=F2.objectEach,I=F2.offset,E2=F2.pick,L2=F2.splat;a2=function(){function a3(c2,a4){this.lastValidTouch={};this.pinchDown=[];this.runChartClick=false;this.eventsToUnbind=[];this.chart=c2;this.hasDragged=false;this.options=a4;this.init(c2,a4)}a3.prototype.applyInactiveState=function(c2){var a4=[],f2;(c2||[]).forEach((function(c3){f2=c3.series;a4.push(f2);f2.linkedParent&&a4.push(f2.linkedParent);f2.linkedSeries&&(a4=a4.concat(f2.linkedSeries));f2.navigatorSeries&&a4.push(f2.navigatorSeries)}));this.chart.series.forEach((function(c3){-1===a4.indexOf(c3)?c3.setState("inactive",true):c3.options.inactiveOtherPoints&&c3.setAllPointsToState("inactive")}))};a3.prototype.destroy=function(){var c2=this;this.eventsToUnbind.forEach((function(c3){return c3()}));this.eventsToUnbind=[];g3.chartCount||(a3.unbindDocumentMouseUp&&(a3.unbindDocumentMouseUp=a3.unbindDocumentMouseUp()),a3.unbindDocumentTouchEnd&&(a3.unbindDocumentTouchEnd=a3.unbindDocumentTouchEnd()));clearInterval(c2.tooltipTimeout);D2(c2,(function(a4,f2){c2[f2]=void 0}))};a3.prototype.getSelectionMarkerAttrs=function(c2,a4){var f2=this,d3={args:{chartX:c2,chartY:a4},attrs:{},shapeType:"rect"};m2(this,"getSelectionMarkerAttrs",d3,(function(b2){var d4=f2.chart,e3=f2.mouseDownX;e3=void 0===e3?0:e3;var h3=f2.mouseDownY;h3=void 0===h3?0:h3;var g4=f2.zoomHor,n2=f2.zoomVert;b2=b2.attrs;b2.x=d4.plotLeft;b2.y=d4.plotTop;b2.width=g4?1:d4.plotWidth;b2.height=n2?1:d4.plotHeight;g4&&(d4=c2-e3,b2.width=Math.abs(d4),b2.x=(0<d4?0:d4)+e3);n2&&(d4=a4-h3,b2.height=Math.abs(d4),b2.y=(0<d4?0:d4)+h3)}));return d3};a3.prototype.drag=function(c2){var a4=this.chart,f2=a4.options.chart,d3=a4.plotLeft,b2=a4.plotTop,e3=a4.plotWidth,h3=a4.plotHeight,g4=this.mouseDownX||0,k3=this.mouseDownY||0,m3=p2(f2.panning)?f2.panning&&f2.panning.enabled:f2.panning,l3=f2.panKey&&c2[f2.panKey+"Key"],y2=c2.chartX,r3=c2.chartY,t3=this.selectionMarker;t3&&t3.touch||(y2<d3?y2=d3:y2>d3+e3&&(y2=d3+e3),r3<b2?r3=b2:r3>b2+h3&&(r3=b2+h3),this.hasDragged=Math.sqrt(Math.pow(g4-y2,2)+Math.pow(k3-r3,2)),10<this.hasDragged&&(d3=a4.isInsidePlot(g4-d3,k3-b2,{visiblePlotOnly:true}),r3=this.getSelectionMarkerAttrs(y2,r3),y2=r3.shapeType,r3=r3.attrs,!a4.hasCartesianSeries&&!a4.mapView||!this.zoomX&&!this.zoomY||!d3||l3||t3||(this.selectionMarker=t3=a4.renderer[y2](),t3.attr({class:"highcharts-selection-marker",zIndex:7}).add(),a4.styledMode||t3.attr({fill:f2.selectionMarkerFill||A2("#335cad").setOpacity(.25).get()})),t3&&t3.attr(r3),d3&&!t3&&m3&&a4.pan(c2,f2.panning)))};a3.prototype.dragStart=function(c2){var a4=this.chart;a4.mouseIsDown=c2.type;a4.cancelClick=false;a4.mouseDownX=this.mouseDownX=c2.chartX;a4.mouseDownY=this.mouseDownY=c2.chartY};a3.prototype.getSelectionBox=function(c2){var a4={args:{marker:c2},result:{}};m2(this,"getSelectionBox",a4,(function(a5){a5.result={x:c2.attr?+c2.attr("x"):c2.x,y:c2.attr?+c2.attr("y"):c2.y,width:c2.attr?c2.attr("width"):c2.width,height:c2.attr?c2.attr("height"):c2.height}}));return a4.result};a3.prototype.drop=function(c2){var a4=this,f2=this.chart,h3=this.hasPinched;if(this.selectionMarker){var b2=this.getSelectionBox(this.selectionMarker),g4=b2.x,z2=b2.y,q=b2.width,p3=b2.height,y2={originalEvent:c2,xAxis:[],yAxis:[],x:g4,y:z2,width:q,height:p3},r3=!!f2.mapView;if(this.hasDragged||h3)f2.axes.forEach((function(b3){if(b3.zoomEnabled&&e2(b3.min)&&(h3||a4[{xAxis:"zoomX",yAxis:"zoomY"}[b3.coll]])&&k2(g4)&&k2(z2)&&k2(q)&&k2(p3)){var f3=b3.horiz,d3="touchend"===c2.type?b3.minPixelPadding:0,n2=b3.toValue((f3?g4:z2)+d3);f3=b3.toValue((f3?g4+q:z2+p3)-d3);y2[b3.coll].push({axis:b3,min:Math.min(n2,f3),max:Math.max(n2,f3)});r3=true}})),r3&&m2(f2,"selection",y2,(function(b3){f2.zoom(d2(b3,h3?{animation:false}:null))}));k2(f2.index)&&(this.selectionMarker=this.selectionMarker.destroy());h3&&this.scaleGroups()}f2&&k2(f2.index)&&(l2(f2.container,{cursor:f2._cursor}),f2.cancelClick=10<this.hasDragged,f2.mouseIsDown=this.hasDragged=this.hasPinched=false,this.pinchDown=[])};a3.prototype.findNearestKDPoint=function(c2,a4,f2){var d3;c2.forEach((function(b2){var c3=!(b2.noSharedTooltip&&a4)&&0>b2.options.findNearestPointBy.indexOf("y");b2=b2.searchPoint(f2,c3);if((c3=p2(b2,true)&&b2.series)&&!(c3=!p2(d3,true))){c3=d3.distX-b2.distX;var e3=d3.dist-b2.dist,h3=(b2.series.group&&b2.series.group.zIndex)-(d3.series.group&&d3.series.group.zIndex);c3=0<(0!==c3&&a4?c3:0!==e3?e3:0!==h3?h3:d3.series.index>b2.series.index?-1:1)}c3&&(d3=b2)}));return d3};a3.prototype.getChartCoordinatesFromPoint=function(c2,a4){var f2=c2.series,d3=f2.xAxis;f2=f2.yAxis;var b2=c2.shapeArgs;if(d3&&f2){var e3=E2(c2.clientX,c2.plotX),h3=c2.plotY||0;c2.isNode&&b2&&k2(b2.x)&&k2(b2.y)&&(e3=b2.x,h3=b2.y);return a4?{chartX:f2.len+f2.pos-h3,chartY:d3.len+d3.pos-e3}:{chartX:e3+d3.pos,chartY:h3+f2.pos}}if(b2&&b2.x&&b2.y)return{chartX:b2.x,chartY:b2.y}};a3.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var c2=this.chart.container,a4=I(c2);this.chartPosition={left:a4.left,top:a4.top,scaleX:1,scaleY:1};var f2=c2.offsetWidth;c2=c2.offsetHeight;2<f2&&2<c2&&(this.chartPosition.scaleX=a4.width/f2,this.chartPosition.scaleY=a4.height/c2);return this.chartPosition};a3.prototype.getCoordinates=function(c2){var a4={xAxis:[],yAxis:[]};this.chart.axes.forEach((function(f2){a4[f2.isXAxis?"xAxis":"yAxis"].push({axis:f2,value:f2.toValue(c2[f2.horiz?"chartX":"chartY"])})}));return a4};a3.prototype.getHoverData=function(c2,a4,f2,d3,b2,e3){var g4=[];d3=!(!d3||!c2);var n2=function(c3){return c3.visible&&!(!b2&&c3.directTouch)&&E2(c3.options.enableMouseTracking,true)},k3={chartX:e3?e3.chartX:void 0,chartY:e3?e3.chartY:void 0,shared:b2};m2(this,"beforeGetHoverData",k3);var u2=a4&&!a4.stickyTracking?[a4]:f2.filter((function(b3){return b3.stickyTracking&&(k3.filter||n2)(b3)}));var l3=d3||!e3?c2:this.findNearestKDPoint(u2,b2,e3);a4=l3&&l3.series;l3&&(b2&&!a4.noSharedTooltip?(u2=f2.filter((function(b3){return k3.filter?k3.filter(b3):n2(b3)&&!b3.noSharedTooltip})),u2.forEach((function(b3){var c3=h2(b3.points,(function(b4){return b4.x===l3.x&&!b4.isNull}));p2(c3)&&(b3.boosted&&b3.boost&&(c3=b3.boost.getPoint(c3)),g4.push(c3))}))):g4.push(l3));k3={hoverPoint:l3};m2(this,"afterGetHoverData",k3);return{hoverPoint:k3.hoverPoint,hoverSeries:a4,hoverPoints:g4}};a3.prototype.getPointFromEvent=function(c2){c2=c2.target;for(var a4;c2&&!a4;)a4=c2.point,c2=c2.parentNode;return a4};a3.prototype.onTrackerMouseOut=function(c2){c2=c2.relatedTarget||c2.toElement;var a4=this.chart.hoverSeries;this.isDirectTouch=false;if(!(!a4||!c2||a4.stickyTracking||this.inClass(c2,"highcharts-tooltip")||this.inClass(c2,"highcharts-series-"+a4.index)&&this.inClass(c2,"highcharts-tracker")))a4.onMouseOut()};a3.prototype.inClass=function(c2,a4){for(var f2;c2;){if(f2=r2(c2,"class")){if(-1!==f2.indexOf(a4))return true;if(-1!==f2.indexOf("highcharts-container"))return false}c2=c2.parentElement}};a3.prototype.init=function(c2,a4){this.options=a4;this.chart=c2;this.runChartClick=!(!a4.chart.events||!a4.chart.events.click);this.pinchDown=[];this.lastValidTouch={};x2&&(c2.tooltip=new x2(c2,a4.tooltip));this.setDOMEvents()};a3.prototype.normalize=function(c2,a4){var f2=c2.touches,e3=f2?f2.length?f2.item(0):E2(f2.changedTouches,c2.changedTouches)[0]:c2;a4||(a4=this.getChartPosition());f2=e3.pageX-a4.left;e3=e3.pageY-a4.top;f2/=a4.scaleX;e3/=a4.scaleY;return d2(c2,{chartX:Math.round(f2),chartY:Math.round(e3)})};a3.prototype.onContainerClick=function(c2){var a4=this.chart,f2=a4.hoverPoint;c2=this.normalize(c2);var e3=a4.plotLeft,b2=a4.plotTop;a4.cancelClick||(f2&&this.inClass(c2.target,"highcharts-tracker")?(m2(f2.series,"click",d2(c2,{point:f2})),a4.hoverPoint&&f2.firePointEvent("click",c2)):(d2(c2,this.getCoordinates(c2)),a4.isInsidePlot(c2.chartX-e3,c2.chartY-b2,{visiblePlotOnly:true})&&m2(a4,"click",c2)))};a3.prototype.onContainerMouseDown=function(a4){var c2=1===((a4.buttons||a4.button)&1);a4=this.normalize(a4);if(g3.isFirefox&&0!==a4.button)this.onContainerMouseMove(a4);if("undefined"===typeof a4.button||c2)this.zoomOption(a4),c2&&a4.preventDefault&&a4.preventDefault(),this.dragStart(a4)};a3.prototype.onContainerMouseLeave=function(c2){var d3=B[E2(a3.hoverChartIndex,-1)],f2=this.chart.tooltip;c2=this.normalize(c2);d3&&(c2.relatedTarget||c2.toElement)&&(d3.pointer.reset(),d3.pointer.chartPosition=void 0);f2&&!f2.isHidden&&this.reset()};a3.prototype.onContainerMouseEnter=function(a4){delete this.chartPosition};a3.prototype.onContainerMouseMove=function(a4){var c2=this.chart,f2=c2.tooltip;a4=this.normalize(a4);this.setHoverChartIndex();a4.preventDefault||(a4.returnValue=false);("mousedown"===c2.mouseIsDown||this.touchSelect(a4))&&this.drag(a4);c2.openMenu||!this.inClass(a4.target,"highcharts-tracker")&&!c2.isInsidePlot(a4.chartX-c2.plotLeft,a4.chartY-c2.plotTop,{visiblePlotOnly:true})||f2&&f2.shouldStickOnContact(a4)||(this.inClass(a4.target,"highcharts-no-tooltip")?this.reset(false,0):this.runPointActions(a4))};a3.prototype.onDocumentTouchEnd=function(c2){var d3=B[E2(a3.hoverChartIndex,-1)];d3&&d3.pointer.drop(c2)};a3.prototype.onContainerTouchMove=function(a4){if(this.touchSelect(a4))this.onContainerMouseMove(a4);else this.touch(a4)};a3.prototype.onContainerTouchStart=function(a4){if(this.touchSelect(a4))this.onContainerMouseDown(a4);else this.zoomOption(a4),this.touch(a4,true)};a3.prototype.onDocumentMouseMove=function(a4){var c2=this.chart,f2=c2.tooltip,d3=this.chartPosition;a4=this.normalize(a4,d3);!d3||c2.isInsidePlot(a4.chartX-c2.plotLeft,a4.chartY-c2.plotTop,{visiblePlotOnly:true})||f2&&f2.shouldStickOnContact(a4)||this.inClass(a4.target,"highcharts-tracker")||this.reset()};a3.prototype.onDocumentMouseUp=function(c2){var d3=B[E2(a3.hoverChartIndex,-1)];d3&&d3.pointer.drop(c2)};a3.prototype.pinch=function(a4){var c2=this,f2=c2.chart,e3=c2.pinchDown,b2=a4.touches||[],h3=b2.length,g4=c2.lastValidTouch,k3=c2.hasZoom,l3={},p3=1===h3&&(c2.inClass(a4.target,"highcharts-tracker")&&f2.runTrackerClick||c2.runChartClick),y2={},r3=c2.chart.tooltip;r3=1===h3&&E2(r3&&r3.options.followTouchMove,true);var t3=c2.selectionMarker;1<h3?c2.initiated=true:r3&&(c2.initiated=false);k3&&c2.initiated&&!p3&&false!==a4.cancelable&&a4.preventDefault();[].map.call(b2,(function(b3){return c2.normalize(b3)}));"touchstart"===a4.type?([].forEach.call(b2,(function(b3,a5){e3[a5]={chartX:b3.chartX,chartY:b3.chartY}})),g4.x=[e3[0].chartX,e3[1]&&e3[1].chartX],g4.y=[e3[0].chartY,e3[1]&&e3[1].chartY],f2.axes.forEach((function(b3){if(b3.zoomEnabled){var a5=f2.bounds[b3.horiz?"h":"v"],c3=b3.minPixelPadding,d3=b3.toPixels(Math.min(E2(b3.options.min,b3.dataMin),b3.dataMin)),e4=b3.toPixels(Math.max(E2(b3.options.max,b3.dataMax),b3.dataMax)),h4=Math.max(d3,e4);a5.min=Math.min(b3.pos,Math.min(d3,e4)-c3);a5.max=Math.max(b3.pos+b3.len,h4+c3)}})),c2.res=true):r3?this.runPointActions(c2.normalize(a4)):e3.length&&(m2(f2,"touchpan",{originalEvent:a4},(function(){t3||(c2.selectionMarker=t3=d2({destroy:H2,touch:true},f2.plotBox));c2.pinchTranslate(e3,b2,l3,t3,y2,g4);c2.hasPinched=k3;c2.scaleGroups(l3,y2)})),c2.res&&(c2.res=false,this.reset(false,0)))};a3.prototype.pinchTranslate=function(a4,d3,f2,e3,b2,h3){this.zoomHor&&this.pinchTranslateDirection(true,a4,d3,f2,e3,b2,h3);this.zoomVert&&this.pinchTranslateDirection(false,a4,d3,f2,e3,b2,h3)};a3.prototype.pinchTranslateDirection=function(a4,d3,f2,e3,b2,h3,g4,k3){var c2=this.chart,n2=a4?"x":"y",q=a4?"X":"Y",u2="chart"+q,m3=a4?"width":"height",l3=c2["plot"+(a4?"Left":"Top")],z2=c2.inverted,p3=c2.bounds[a4?"h":"v"],w2=1===d3.length,y2=d3[0][u2],r3=!w2&&d3[1][u2];d3=function(){"number"===typeof R2&&20<Math.abs(y2-r3)&&(M=k3||Math.abs(t3-R2)/Math.abs(y2-r3));P=(l3-t3)/M+y2;G=c2["plot"+(a4?"Width":"Height")]/M};var G,P,M=k3||1,t3=f2[0][u2],R2=!w2&&f2[1][u2];d3();f2=P;if(f2<p3.min){f2=p3.min;var E3=true}else f2+G>p3.max&&(f2=p3.max-G,E3=true);E3?(t3-=.8*(t3-g4[n2][0]),"number"===typeof R2&&(R2-=.8*(R2-g4[n2][1])),d3()):g4[n2]=[t3,R2];z2||(h3[n2]=P-l3,h3[m3]=G);h3=z2?1/M:M;b2[m3]=G;b2[n2]=f2;e3[z2?a4?"scaleY":"scaleX":"scale"+q]=M;e3["translate"+q]=h3*l3+(t3-h3*y2)};a3.prototype.reset=function(a4,d3){var c2=this.chart,e3=c2.hoverSeries,b2=c2.hoverPoint,h3=c2.hoverPoints,g4=c2.tooltip,k3=g4&&g4.shared?h3:b2;a4&&k3&&L2(k3).forEach((function(b3){b3.series.isCartesian&&"undefined"===typeof b3.plotX&&(a4=false)}));if(a4)g4&&k3&&L2(k3).length&&(g4.refresh(k3),g4.shared&&h3?h3.forEach((function(b3){b3.setState(b3.state,true);b3.series.isCartesian&&(b3.series.xAxis.crosshair&&b3.series.xAxis.drawCrosshair(null,b3),b3.series.yAxis.crosshair&&b3.series.yAxis.drawCrosshair(null,b3))})):b2&&(b2.setState(b2.state,true),c2.axes.forEach((function(a5){a5.crosshair&&b2.series[a5.coll]===a5&&a5.drawCrosshair(null,b2)}))));else{if(b2)b2.onMouseOut();h3&&h3.forEach((function(b3){b3.setState()}));if(e3)e3.onMouseOut();g4&&g4.hide(d3);this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove());c2.axes.forEach((function(b3){b3.hideCrosshair()}));this.hoverX=c2.hoverPoints=c2.hoverPoint=null}};a3.prototype.runPointActions=function(c2,d3,f2){var e3=this.chart,b2=e3.tooltip&&e3.tooltip.options.enabled?e3.tooltip:void 0,g4=b2?b2.shared:false,k3=d3||e3.hoverPoint,q=k3&&k3.series||e3.hoverSeries;d3=this.getHoverData(k3,q,e3.series,(!c2||"touchmove"!==c2.type)&&(!!d3||q&&q.directTouch&&this.isDirectTouch),g4,c2);k3=d3.hoverPoint;q=d3.hoverSeries;var m3=d3.hoverPoints;d3=q&&q.tooltipOptions.followPointer&&!q.tooltipOptions.split;var l3=g4&&q&&!q.noSharedTooltip;if(k3&&(f2||k3!==e3.hoverPoint||b2&&b2.isHidden)){(e3.hoverPoints||[]).forEach((function(b3){-1===m3.indexOf(b3)&&b3.setState()}));if(e3.hoverSeries!==q)q.onMouseOver();this.applyInactiveState(m3);(m3||[]).forEach((function(b3){b3.setState("hover")}));e3.hoverPoint&&e3.hoverPoint.firePointEvent("mouseOut");if(!k3.series)return;e3.hoverPoints=m3;e3.hoverPoint=k3;k3.firePointEvent("mouseOver",void 0,(function(){b2&&k3&&b2.refresh(l3?m3:k3,c2)}))}else d3&&b2&&!b2.isHidden&&(f2=b2.getAnchor([{}],c2),e3.isInsidePlot(f2[0],f2[1],{visiblePlotOnly:true})&&b2.updatePosition({plotX:f2[0],plotY:f2[1]}));this.unDocMouseMove||(this.unDocMouseMove=t2(e3.container.ownerDocument,"mousemove",(function(b3){var c3=B[a3.hoverChartIndex];if(c3)c3.pointer.onDocumentMouseMove(b3)})),this.eventsToUnbind.push(this.unDocMouseMove));e3.axes.forEach((function(b3){var a4=E2((b3.crosshair||{}).snap,true),d4;a4&&((d4=e3.hoverPoint)&&d4.series[b3.coll]===b3||(d4=h2(m3,(function(a5){return a5.series&&a5.series[b3.coll]===b3}))));d4||!a4?b3.drawCrosshair(c2,d4):b3.hideCrosshair()}))};a3.prototype.scaleGroups=function(a4,d3){var c2=this.chart;c2.series.forEach((function(f2){var b2=a4||f2.getPlotBox();f2.group&&(f2.xAxis&&f2.xAxis.zoomEnabled||c2.mapView)&&(f2.group.attr(b2),f2.markerGroup&&(f2.markerGroup.attr(b2),f2.markerGroup.clip(d3?c2.clipRect:null)),f2.dataLabelsGroup&&f2.dataLabelsGroup.attr(b2))}));c2.clipRect.attr(d3||c2.clipBox)};a3.prototype.setDOMEvents=function(){var c2=this,d3=this.chart.container,f2=d3.ownerDocument;d3.onmousedown=this.onContainerMouseDown.bind(this);d3.onmousemove=this.onContainerMouseMove.bind(this);d3.onclick=this.onContainerClick.bind(this);this.eventsToUnbind.push(t2(d3,"mouseenter",this.onContainerMouseEnter.bind(this)));this.eventsToUnbind.push(t2(d3,"mouseleave",this.onContainerMouseLeave.bind(this)));a3.unbindDocumentMouseUp||(a3.unbindDocumentMouseUp=t2(f2,"mouseup",this.onDocumentMouseUp.bind(this)));for(var e3=this.chart.renderTo.parentElement;e3&&"BODY"!==e3.tagName;)this.eventsToUnbind.push(t2(e3,"scroll",(function(){delete c2.chartPosition}))),e3=e3.parentElement;g3.hasTouch&&(this.eventsToUnbind.push(t2(d3,"touchstart",this.onContainerTouchStart.bind(this),{passive:false})),this.eventsToUnbind.push(t2(d3,"touchmove",this.onContainerTouchMove.bind(this),{passive:false})),a3.unbindDocumentTouchEnd||(a3.unbindDocumentTouchEnd=t2(f2,"touchend",this.onDocumentTouchEnd.bind(this),{passive:false})))};a3.prototype.setHoverChartIndex=function(){var c2=this.chart,d3=g3.charts[E2(a3.hoverChartIndex,-1)];if(d3&&d3!==c2)d3.pointer.onContainerMouseLeave({relatedTarget:c2.container});d3&&d3.mouseIsDown||(a3.hoverChartIndex=c2.index)};a3.prototype.touch=function(a4,d3){var c2=this.chart;this.setHoverChartIndex();if(1===a4.touches.length)if(a4=this.normalize(a4),c2.isInsidePlot(a4.chartX-c2.plotLeft,a4.chartY-c2.plotTop,{visiblePlotOnly:true})&&!c2.openMenu){d3&&this.runPointActions(a4);if("touchmove"===a4.type){d3=this.pinchDown;var b2=d3[0]?4<=Math.sqrt(Math.pow(d3[0].chartX-a4.chartX,2)+Math.pow(d3[0].chartY-a4.chartY,2)):false}E2(b2,true)&&this.pinch(a4)}else d3&&this.reset();else 2===a4.touches.length&&this.pinch(a4)};a3.prototype.touchSelect=function(a4){return!(!this.chart.options.chart.zooming.singleTouch||!a4.touches||1!==a4.touches.length)};a3.prototype.zoomOption=function(a4){var c2=this.chart,d3=c2.options.chart;c2=c2.inverted;var e3=d3.zooming.type||"";/touch/.test(a4.type)&&(e3=E2(d3.zooming.pinchType,e3));this.zoomX=a4=/x/.test(e3);this.zoomY=d3=/y/.test(e3);this.zoomHor=a4&&!c2||d3&&c2;this.zoomVert=d3&&!c2||a4&&c2;this.hasZoom=a4||d3};return a3}();return a2}));K(g2,"Core/MSPointer.js",[g2["Core/Globals.js"],g2["Core/Pointer.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){function A2(){var a3=[];a3.item=function(a4){return this[a4]};h2(p2,(function(d3){a3.push({pageX:d3.pageX,pageY:d3.pageY,target:d3.target})}));return a3}function C2(a3,d3,e3,h3){var c2=H2[g3.hoverChartIndex||NaN];"touch"!==a3.pointerType&&a3.pointerType!==a3.MSPOINTER_TYPE_TOUCH||!c2||(c2=c2.pointer,h3(a3),c2[d3]({type:e3,target:a3.currentTarget,preventDefault:r2,touches:A2()}))}var B=this&&this.__extends||function(){var a3=function(d3,e3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,c2){a4.__proto__=c2}||function(a4,c2){for(var d4 in c2)c2.hasOwnProperty(d4)&&(a4[d4]=c2[d4])};return a3(d3,e3)};return function(d3,e3){function h3(){this.constructor=d3}a3(d3,e3);d3.prototype=null===e3?Object.create(e3):(h3.prototype=e3.prototype,new h3)}}(),H2=a2.charts,t2=a2.doc,r2=a2.noop,l2=a2.win,e2=x2.addEvent,d2=x2.css,h2=x2.objectEach,m2=x2.pick,k2=x2.removeEvent,p2={},D2=!!l2.PointerEvent;return function(h3){function g4(){return null!==h3&&h3.apply(this,arguments)||this}B(g4,h3);g4.isRequired=function(){return!(a2.hasTouch||!l2.PointerEvent&&!l2.MSPointerEvent)};g4.prototype.batchMSEvents=function(a3){a3(this.chart.container,D2?"pointerdown":"MSPointerDown",this.onContainerPointerDown);a3(this.chart.container,D2?"pointermove":"MSPointerMove",this.onContainerPointerMove);a3(t2,D2?"pointerup":"MSPointerUp",this.onDocumentPointerUp)};g4.prototype.destroy=function(){this.batchMSEvents(k2);h3.prototype.destroy.call(this)};g4.prototype.init=function(a3,e3){h3.prototype.init.call(this,a3,e3);this.hasZoom&&d2(a3.container,{"-ms-touch-action":"none","touch-action":"none"})};g4.prototype.onContainerPointerDown=function(a3){C2(a3,"onContainerTouchStart","touchstart",(function(a4){p2[a4.pointerId]={pageX:a4.pageX,pageY:a4.pageY,target:a4.currentTarget}}))};g4.prototype.onContainerPointerMove=function(a3){C2(a3,"onContainerTouchMove","touchmove",(function(a4){p2[a4.pointerId]={pageX:a4.pageX,pageY:a4.pageY};p2[a4.pointerId].target||(p2[a4.pointerId].target=a4.currentTarget)}))};g4.prototype.onDocumentPointerUp=function(a3){C2(a3,"onDocumentTouchEnd","touchend",(function(a4){delete p2[a4.pointerId]}))};g4.prototype.setDOMEvents=function(){var a3=this.chart.tooltip;h3.prototype.setDOMEvents.call(this);(this.hasZoom||m2(a3&&a3.options.followTouchMove,true))&&this.batchMSEvents(e2)};return g4}(g3)}));K(g2,"Core/Legend/Legend.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/FormatUtilities.js"],g2["Core/Globals.js"],g2["Core/Series/Point.js"],g2["Core/Renderer/RendererUtilities.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B){var A2=a2.animObject,t2=a2.setAnimation,r2=g3.format,l2=x2.marginNames,e2=C2.distribute,d2=B.addEvent,h2=B.createElement,m2=B.css,k2=B.defined,p2=B.discardElement,D2=B.find,I=B.fireEvent,E2=B.isNumber,L2=B.merge,y2=B.pick,c2=B.relativeLength,w2=B.stableSort,f2=B.syncTimeout;a2=function(){function a3(b2,a4){this.allItems=[];this.contentGroup=this.box=void 0;this.display=false;this.group=void 0;this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0;this.options=void 0;this.padding=0;this.pages=[];this.proximate=false;this.scrollGroup=void 0;this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0;this.chart=b2;this.init(b2,a4)}a3.prototype.init=function(b2,a4){this.chart=b2;this.setOptions(a4);a4.enabled&&(this.render(),d2(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=d2(this.chart,"render",(function(){this.legend.proximatePositions();this.legend.positionItems()})):this.unchartrender&&this.unchartrender())};a3.prototype.setOptions=function(b2){var a4=y2(b2.padding,8);this.options=b2;this.chart.styledMode||(this.itemStyle=b2.itemStyle,this.itemHiddenStyle=L2(this.itemStyle,b2.itemHiddenStyle));this.itemMarginTop=b2.itemMarginTop||0;this.itemMarginBottom=b2.itemMarginBottom||0;this.padding=a4;this.initialItemY=a4-5;this.symbolWidth=y2(b2.symbolWidth,16);this.pages=[];this.proximate="proximate"===b2.layout&&!this.chart.inverted;this.baseline=void 0};a3.prototype.update=function(b2,a4){var c3=this.chart;this.setOptions(L2(true,this.options,b2));this.destroy();c3.isDirtyLegend=c3.isDirtyBox=true;y2(a4,true)&&c3.redraw();I(this,"afterUpdate")};a3.prototype.colorizeItem=function(b2,a4){var c3=b2.legendItem||{},d3=c3.group,f3=c3.label,e3=c3.line;c3=c3.symbol;if(d3)d3[a4?"removeClass":"addClass"]("highcharts-legend-item-hidden");if(!this.chart.styledMode){var h3=this.options;d3=this.itemHiddenStyle.color;h3=a4?h3.itemStyle.color:d3;var g4=a4?b2.color||d3:d3,k3=b2.options&&b2.options.marker,n2={fill:g4};f3&&f3.css({fill:h3,color:h3});e3&&e3.attr({stroke:g4});c3&&(k3&&c3.isMarker&&(n2=b2.pointAttribs(),a4||(n2.stroke=n2.fill=d3)),c3.attr(n2))}I(this,"afterColorizeItem",{item:b2,visible:a4})};a3.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()};a3.prototype.positionItem=function(b2){var a4=this,c3=b2.legendItem||{},d3=c3.group,f3=c3.x;f3=void 0===f3?0:f3;c3=c3.y;c3=void 0===c3?0:c3;var e3=this.options,h3=e3.symbolPadding,g4=!e3.rtl;e3=b2.checkbox;d3&&d3.element&&(h3={translateX:g4?f3:this.legendWidth-f3-2*h3-4,translateY:c3},d3[k2(d3.translateY)?"animate":"attr"](h3,void 0,(function(){I(a4,"afterPositionItem",{item:b2})})));e3&&(e3.x=f3,e3.y=c3)};a3.prototype.destroyItem=function(b2){for(var a4=b2.checkbox,c3=b2.legendItem||{},d3=0,f3=["group","label","line","symbol"];d3<f3.length;d3++){var e3=f3[d3];c3[e3]&&(c3[e3]=c3[e3].destroy())}a4&&p2(a4);b2.legendItem=void 0};a3.prototype.destroy=function(){for(var b2=0,a4=this.getAllItems();b2<a4.length;b2++)this.destroyItem(a4[b2]);b2=0;for(a4="clipRect up down pager nav box title group".split(" ");b2<a4.length;b2++){var c3=a4[b2];this[c3]&&(this[c3]=this[c3].destroy())}this.display=null};a3.prototype.positionCheckboxes=function(){var b2=this.group&&this.group.alignAttr,a4=this.clipHeight||this.legendHeight,c3=this.titleHeight;if(b2){var d3=b2.translateY;this.allItems.forEach((function(f3){var e3=f3.checkbox;if(e3){var h3=d3+c3+e3.y+(this.scrollOffset||0)+3;m2(e3,{left:b2.translateX+f3.checkboxOffset+e3.x-20+"px",top:h3+"px",display:this.proximate||h3>d3-6&&h3<d3+a4-6?"":"none"})}}),this)}};a3.prototype.renderTitle=function(){var b2=this.options,a4=this.padding,c3=b2.title,d3=0;c3.text&&(this.title||(this.title=this.chart.renderer.label(c3.text,a4-3,a4-4,void 0,void 0,void 0,b2.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(c3.style),this.title.add(this.group)),c3.width||this.title.css({width:this.maxLegendWidth+"px"}),b2=this.title.getBBox(),d3=b2.height,this.offsetWidth=b2.width,this.contentGroup.attr({translateY:d3}));this.titleHeight=d3};a3.prototype.setText=function(b2){var a4=this.options;b2.legendItem.label.attr({text:a4.labelFormat?r2(a4.labelFormat,b2,this.chart):a4.labelFormatter.call(b2)})};a3.prototype.renderItem=function(b2){var a4=b2.legendItem=b2.legendItem||{},c3=this.chart,d3=c3.renderer,f3=this.options,e3=this.symbolWidth,h3=f3.symbolPadding||0,g4=this.itemStyle,k3=this.itemHiddenStyle,n2="horizontal"===f3.layout?y2(f3.itemDistance,20):0,m3=!f3.rtl,l3=!b2.series,p3=!l3&&b2.series.drawLegendSymbol?b2.series:b2,r3=p3.options,w3=this.createCheckboxForItem&&r3&&r3.showCheckbox,G=f3.useHTML,P=b2.options.className,M=a4.label;r3=e3+h3+n2+(w3?20:0);M||(a4.group=d3.g("legend-item").addClass("highcharts-"+p3.type+"-series highcharts-color-"+b2.colorIndex+(P?" "+P:"")+(l3?" highcharts-series-"+b2.index:"")).attr({zIndex:1}).add(this.scrollGroup),a4.label=M=d3.text("",m3?e3+h3:-h3,this.baseline||0,G),c3.styledMode||M.css(L2(b2.visible?g4:k3)),M.attr({align:m3?"left":"right",zIndex:2}).add(a4.group),this.baseline||(this.fontMetrics=d3.fontMetrics(c3.styledMode?12:g4.fontSize,M),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,M.attr("y",this.baseline),this.symbolHeight=f3.symbolHeight||this.fontMetrics.f,f3.squareSymbol&&(this.symbolWidth=y2(f3.symbolWidth,Math.max(this.symbolHeight,16)),r3=this.symbolWidth+h3+n2+(w3?20:0),m3&&M.attr("x",this.symbolWidth+h3))),p3.drawLegendSymbol(this,b2),this.setItemEvents&&this.setItemEvents(b2,M,G));w3&&!b2.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(b2);this.colorizeItem(b2,b2.visible);!c3.styledMode&&g4.width||M.css({width:(f3.itemWidth||this.widthOption||c3.spacingBox.width)-r3+"px"});this.setText(b2);c3=M.getBBox();d3=this.fontMetrics&&this.fontMetrics.h||0;b2.itemWidth=b2.checkboxOffset=f3.itemWidth||a4.labelWidth||c3.width+r3;this.maxItemWidth=Math.max(this.maxItemWidth,b2.itemWidth);this.totalItemWidth+=b2.itemWidth;this.itemHeight=b2.itemHeight=Math.round(a4.labelHeight||(c3.height>1.5*d3?c3.height:d3))};a3.prototype.layoutItem=function(b2){var a4=this.options,c3=this.padding,d3="horizontal"===a4.layout,f3=b2.itemHeight,e3=this.itemMarginBottom,h3=this.itemMarginTop,g4=d3?y2(a4.itemDistance,20):0,k3=this.maxLegendWidth;a4=a4.alignColumns&&this.totalItemWidth>k3?this.maxItemWidth:b2.itemWidth;var n2=b2.legendItem||{};d3&&this.itemX-c3+a4>k3&&(this.itemX=c3,this.lastLineHeight&&(this.itemY+=h3+this.lastLineHeight+e3),this.lastLineHeight=0);this.lastItemY=h3+this.itemY+e3;this.lastLineHeight=Math.max(f3,this.lastLineHeight);n2.x=this.itemX;n2.y=this.itemY;d3?this.itemX+=a4:(this.itemY+=h3+f3+e3,this.lastLineHeight=f3);this.offsetWidth=this.widthOption||Math.max((d3?this.itemX-c3-(b2.checkbox?0:g4):a4)+c3,this.offsetWidth)};a3.prototype.getAllItems=function(){var b2=[];this.chart.series.forEach((function(a4){var c3=a4&&a4.options;a4&&y2(c3.showInLegend,k2(c3.linkedTo)?false:void 0,true)&&(b2=b2.concat((a4.legendItem||{}).labels||("point"===c3.legendType?a4.data:a4)))}));I(this,"afterGetAllItems",{allItems:b2});return b2};a3.prototype.getAlignment=function(){var b2=this.options;return this.proximate?b2.align.charAt(0)+"tv":b2.floating?"":b2.align.charAt(0)+b2.verticalAlign.charAt(0)+b2.layout.charAt(0)};a3.prototype.adjustMargins=function(b2,a4){var c3=this.chart,d3=this.options,f3=this.getAlignment();f3&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(e3,h3){e3.test(f3)&&!k2(b2[h3])&&(c3[l2[h3]]=Math.max(c3[l2[h3]],c3.legend[(h3+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][h3]*d3[h3%2?"x":"y"]+y2(d3.margin,12)+a4[h3]+(c3.titleOffset[h3]||0)))}))};a3.prototype.proximatePositions=function(){var b2=this.chart,a4=[],c3="left"===this.options.align;this.allItems.forEach((function(d4){var f4;var e3=c3;if(d4.yAxis){d4.xAxis.options.reversed&&(e3=!e3);d4.points&&(f4=D2(e3?d4.points:d4.points.slice(0).reverse(),(function(b3){return E2(b3.plotY)})));e3=this.itemMarginTop+d4.legendItem.label.getBBox().height+this.itemMarginBottom;var h4=d4.yAxis.top-b2.plotTop;d4.visible?(f4=f4?f4.plotY:d4.yAxis.height,f4+=h4-.3*e3):f4=h4+d4.yAxis.height;a4.push({target:f4,size:e3,item:d4})}}),this);for(var d3,f3=0,h3=e2(a4,b2.plotHeight);f3<h3.length;f3++){var g4=h3[f3];d3=g4.item.legendItem||{};E2(g4.pos)&&(d3.y=b2.plotTop-b2.spacing[0]+g4.pos)}};a3.prototype.render=function(){var b2=this.chart,a4=b2.renderer,d3=this.options,f3=this.padding,e3=this.getAllItems(),h3=this.group,g4=this.box;this.itemX=f3;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=c2(d3.width,b2.spacingBox.width-f3);var k3=b2.spacingBox.width-2*f3-d3.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(k3/=2);this.maxLegendWidth=this.widthOption||k3;h3||(this.group=h3=a4.g("legend").addClass(d3.className||"").attr({zIndex:7}).add(),this.contentGroup=a4.g().attr({zIndex:1}).add(h3),this.scrollGroup=a4.g().add(this.contentGroup));this.renderTitle();w2(e3,(function(b3,a5){return(b3.options&&b3.options.legendIndex||0)-(a5.options&&a5.options.legendIndex||0)}));d3.reversed&&e3.reverse();this.allItems=e3;this.display=k3=!!e3.length;this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0;e3.forEach(this.renderItem,this);e3.forEach(this.layoutItem,this);e3=(this.widthOption||this.offsetWidth)+f3;var n2=this.lastItemY+this.lastLineHeight+this.titleHeight;n2=this.handleOverflow(n2);n2+=f3;g4||(this.box=g4=a4.rect().addClass("highcharts-legend-box").attr({r:d3.borderRadius}).add(h3));b2.styledMode||g4.attr({stroke:d3.borderColor,"stroke-width":d3.borderWidth||0,fill:d3.backgroundColor||"none"}).shadow(d3.shadow);if(0<e3&&0<n2)g4[g4.placed?"animate":"attr"](g4.crisp.call({},{x:0,y:0,width:e3,height:n2},g4.strokeWidth()));h3[k3?"show":"hide"]();b2.styledMode&&"none"===h3.getStyle("display")&&(e3=n2=0);this.legendWidth=e3;this.legendHeight=n2;k3&&this.align();this.proximate||this.positionItems();I(this,"afterRender")};a3.prototype.align=function(b2){void 0===b2&&(b2=this.chart.spacingBox);var a4=this.chart,c3=this.options,d3=b2.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<a4.titleOffset[0]?d3+=a4.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<a4.titleOffset[2]&&(d3-=a4.titleOffset[2]);d3!==b2.y&&(b2=L2(b2,{y:d3}));a4.hasRendered||(this.group.placed=false);this.group.align(L2(c3,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":c3.verticalAlign}),true,b2)};a3.prototype.handleOverflow=function(b2){var a4=this,c3=this.chart,d3=c3.renderer,f3=this.options,e3=f3.y,h3="top"===f3.verticalAlign,g4=this.padding,k3=f3.maxHeight,n2=f3.navigation,m3=y2(n2.animation,true),l3=n2.arrowSize||12,p3=this.pages,r3=this.allItems,w3=function(b3){"number"===typeof b3?D3.attr({height:b3}):D3&&(a4.clipRect=D3.destroy(),a4.contentGroup.clip());a4.contentGroup.div&&(a4.contentGroup.div.style.clip=b3?"rect("+g4+"px,9999px,"+(g4+b3)+"px,0)":"auto")},G=function(b3){a4[b3]=d3.circle(0,0,1.3*l3).translate(l3/2,l3/2).add(R2);c3.styledMode||a4[b3].attr("fill","rgba(0,0,0,0.0001)");return a4[b3]},P,M,t3;e3=c3.spacingBox.height+(h3?-e3:e3)-g4;var R2=this.nav,D3=this.clipRect;"horizontal"!==f3.layout||"middle"===f3.verticalAlign||f3.floating||(e3/=2);k3&&(e3=Math.min(e3,k3));p3.length=0;b2&&0<e3&&b2>e3&&false!==n2.enabled?(this.clipHeight=P=Math.max(e3-20-this.titleHeight-g4,0),this.currentPage=y2(this.currentPage,1),this.fullHeight=b2,r3.forEach((function(b3,a5){t3=b3.legendItem||{};b3=t3.y||0;var c4=Math.round(t3.label.getBBox().height),d4=p3.length;if(!d4||b3-p3[d4-1]>P&&(M||b3)!==p3[d4-1])p3.push(M||b3),d4++;t3.pageIx=d4-1;M&&((r3[a5-1].legendItem||{}).pageIx=d4-1);a5===r3.length-1&&b3+c4-p3[d4-1]>P&&c4<=P&&(p3.push(b3),t3.pageIx=d4);b3!==M&&(M=b3)})),D3||(D3=a4.clipRect=d3.clipRect(0,g4,9999,0),a4.contentGroup.clip(D3)),w3(P),R2||(this.nav=R2=d3.g().attr({zIndex:1}).add(this.group),this.up=d3.symbol("triangle",0,0,l3,l3).add(R2),G("upTracker").on("click",(function(){a4.scroll(-1,m3)})),this.pager=d3.text("",15,10).addClass("highcharts-legend-navigation"),!c3.styledMode&&n2.style&&this.pager.css(n2.style),this.pager.add(R2),this.down=d3.symbol("triangle-down",0,0,l3,l3).add(R2),G("downTracker").on("click",(function(){a4.scroll(1,m3)}))),a4.scroll(0),b2=e3):R2&&(w3(),this.nav=R2.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return b2};a3.prototype.scroll=function(b2,a4){var c3=this,d3=this.chart,e3=this.pages,h3=e3.length,g4=this.clipHeight,k3=this.options.navigation,n2=this.pager,m3=this.padding,l3=this.currentPage+b2;l3>h3&&(l3=h3);0<l3&&("undefined"!==typeof a4&&t2(a4,d3),this.nav.attr({translateX:m3,translateY:g4+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(b3){b3.attr({class:1===l3?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),n2.attr({text:l3+"/"+h3}),[this.down,this.downTracker].forEach((function(b3){b3.attr({x:18+this.pager.getBBox().width,class:l3===h3?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),d3.styledMode||(this.up.attr({fill:1===l3?k3.inactiveColor:k3.activeColor}),this.upTracker.css({cursor:1===l3?"default":"pointer"}),this.down.attr({fill:l3===h3?k3.inactiveColor:k3.activeColor}),this.downTracker.css({cursor:l3===h3?"default":"pointer"})),this.scrollOffset=-e3[l3-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=l3,this.positionCheckboxes(),b2=A2(y2(a4,d3.renderer.globalAnimation,true)),f2((function(){I(c3,"afterScroll",{currentPage:l3})}),b2.duration))};a3.prototype.setItemEvents=function(b2,a4,c3){var d3=this,f3=b2.legendItem||{},e3=d3.chart.renderer.boxWrapper,h3=b2 instanceof F2,g4="highcharts-legend-"+(h3?"point":"series")+"-active",k3=d3.chart.styledMode,n2=function(a5){d3.allItems.forEach((function(c4){b2!==c4&&[c4].concat(c4.linkedSeries||[]).forEach((function(b3){b3.setState(a5,!h3)}))}))},m3=0;for(c3=c3?[a4,f3.symbol]:[f3.group];m3<c3.length;m3++)if(f3=c3[m3])f3.on("mouseover",(function(){b2.visible&&n2("inactive");b2.setState("hover");b2.visible&&e3.addClass(g4);k3||a4.css(d3.options.itemHoverStyle)})).on("mouseout",(function(){d3.chart.styledMode||a4.css(L2(b2.visible?d3.itemStyle:d3.itemHiddenStyle));n2("");e3.removeClass(g4);b2.setState()})).on("click",(function(a5){var c4=function(){b2.setVisible&&b2.setVisible();n2(b2.visible?"inactive":"")};e3.removeClass(g4);a5={browserEvent:a5};b2.firePointEvent?b2.firePointEvent("legendItemClick",a5,c4):I(b2,"legendItemClick",a5,c4)}))};a3.prototype.createCheckboxForItem=function(b2){b2.checkbox=h2("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:b2.selected,defaultChecked:b2.selected},this.options.itemCheckboxStyle,this.chart.container);d2(b2.checkbox,"click",(function(a4){I(b2.series||b2,"checkboxClick",{checked:a4.target.checked,item:b2},(function(){b2.select()}))}))};return a3}();return a2}));K(g2,"Core/Series/SeriesRegistry.js",[g2["Core/Globals.js"],g2["Core/Defaults.js"],g2["Core/Series/Point.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2){var A2=g3.defaultOptions,B=F2.extendClass,H2=F2.merge,t2;(function(g4){function l2(a3,d2){var e2=A2.plotOptions||{},m2=d2.defaultOptions,k2=d2.prototype;k2.type=a3;k2.pointClass||(k2.pointClass=x2);m2&&(e2[a3]=m2);g4.seriesTypes[a3]=d2}g4.seriesTypes=a2.seriesTypes;g4.registerSeriesType=l2;g4.seriesType=function(a3,d2,h2,m2,k2){var e2=A2.plotOptions||{};d2=d2||"";e2[a3]=H2(e2[d2],h2);l2(a3,B(g4.seriesTypes[d2]||function(){},m2));g4.seriesTypes[a3].prototype.type=a3;k2&&(g4.seriesTypes[a3].prototype.pointClass=B(x2,k2));return g4.seriesTypes[a3]}})(t2||(t2={}));return t2}));K(g2,"Core/Chart/Chart.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Axis/Axis.js"],g2["Core/Defaults.js"],g2["Core/FormatUtilities.js"],g2["Core/Foundation.js"],g2["Core/Globals.js"],g2["Core/Legend/Legend.js"],g2["Core/MSPointer.js"],g2["Core/Pointer.js"],g2["Core/Renderer/RendererRegistry.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Renderer/SVG/SVGRenderer.js"],g2["Core/Time.js"],g2["Core/Utilities.js"],g2["Core/Renderer/HTML/AST.js"]],(function(a2,g3,x2,F2,C2,B,H2,t2,r2,l2,e2,d2,h2,m2,k2){var p2=a2.animate,D2=a2.animObject,A2=a2.setAnimation,E2=x2.defaultOptions,L2=x2.defaultTime,y2=F2.numberFormat,c2=C2.registerEventOptions,w2=B.charts,f2=B.doc,n2=B.marginNames,b2=B.svg,u2=B.win,z2=e2.seriesTypes,q=m2.addEvent,N=m2.attr,J=m2.cleanRecursively,O2=m2.createElement,Q=m2.css,T2=m2.defined,Y=m2.discardElement,v2=m2.erase,U=m2.error,K2=m2.extend,ca=m2.find,S2=m2.fireEvent,G=m2.getStyle,P=m2.isArray,M=m2.isNumber,X=m2.isObject,R2=m2.isString,V2=m2.merge,Z=m2.objectEach,W2=m2.pick,ba=m2.pInt,fa=m2.relativeLength,ha=m2.removeEvent,ea=m2.splat,ia=m2.syncTimeout,ka=m2.uniqueKey;a2=function(){function a3(b3,a4,c3){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0;this.sharedClips={};this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0;this.getArgs(b3,a4,c3)}a3.chart=function(b3,c3,d3){return new a3(b3,c3,d3)};a3.prototype.getArgs=function(b3,a4,c3){R2(b3)||b3.nodeName?(this.renderTo=b3,this.init(a4,c3)):this.init(b3,a4)};a3.prototype.init=function(b3,a4){var d3=b3.plotOptions||{};S2(this,"init",{args:arguments},(function(){var f3=V2(E2,b3),e3=f3.chart;Z(f3.plotOptions,(function(b4,a5){X(b4)&&(b4.tooltip=d3[a5]&&V2(d3[a5].tooltip)||void 0)}));f3.tooltip.userOptions=b3.chart&&b3.chart.forExport&&b3.tooltip.userOptions||b3.tooltip;this.userOptions=b3;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.labelCollectors=[];this.callback=a4;this.isResizing=0;var g4=e3.zooming=e3.zooming||{};b3.chart&&!b3.chart.zooming&&(g4.resetButton=e3.resetZoomButton);g4.key=W2(g4.key,e3.zoomKey);g4.pinchType=W2(g4.pinchType,e3.pinchType);g4.singleTouch=W2(g4.singleTouch,e3.zoomBySingleTouch);g4.type=W2(g4.type,e3.zoomType);this.options=f3;this.axes=[];this.series=[];this.time=b3.time&&Object.keys(b3.time).length?new h2(b3.time):B.time;this.numberFormatter=e3.numberFormatter||y2;this.styledMode=e3.styledMode;this.hasCartesianSeries=e3.showAxes;this.index=w2.length;w2.push(this);B.chartCount++;c2(this,e3);this.xAxis=[];this.yAxis=[];this.pointCount=this.colorCounter=this.symbolCounter=0;S2(this,"afterInit");this.firstRender()}))};a3.prototype.initSeries=function(b3){var a4=this.options.chart;a4=b3.type||a4.type||a4.defaultSeriesType;var c3=z2[a4];c3||U(17,true,this,{missingModuleFor:a4});a4=new c3;"function"===typeof a4.init&&a4.init(this,b3);return a4};a3.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(b3){b3.points||b3.data||!b3.enabledDataSorting||b3.setData(b3.options.data,false)}))};a3.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(b3,a4){return b3.linkedSeries.length||a4.linkedSeries.length?a4.linkedSeries.length-b3.linkedSeries.length:0}))};a3.prototype.orderSeries=function(b3){var a4=this.series;b3=b3||0;for(var c3=a4.length;b3<c3;++b3)a4[b3]&&(a4[b3].index=b3,a4[b3].name=a4[b3].getName())};a3.prototype.isInsidePlot=function(b3,a4,c3){void 0===c3&&(c3={});var d3=this.inverted,f3=this.plotBox,e3=this.plotLeft,h3=this.plotTop,g4=this.scrollablePlotBox,k3=0;var n3=0;c3.visiblePlotOnly&&this.scrollingContainer&&(n3=this.scrollingContainer,k3=n3.scrollLeft,n3=n3.scrollTop);var m3=c3.series;f3=c3.visiblePlotOnly&&g4||f3;g4=c3.inverted?a4:b3;a4=c3.inverted?b3:a4;b3={x:g4,y:a4,isInsidePlot:true,options:c3};if(!c3.ignoreX){var q2=m3&&(d3&&!this.polar?m3.yAxis:m3.xAxis)||{pos:e3,len:Infinity};g4=c3.paneCoordinates?q2.pos+g4:e3+g4;g4>=Math.max(k3+e3,q2.pos)&&g4<=Math.min(k3+e3+f3.width,q2.pos+q2.len)||(b3.isInsidePlot=false)}!c3.ignoreY&&b3.isInsidePlot&&(d3=c3.axis&&!c3.axis.isXAxis&&c3.axis||m3&&(d3?m3.xAxis:m3.yAxis)||{pos:h3,len:Infinity},c3=c3.paneCoordinates?d3.pos+a4:h3+a4,c3>=Math.max(n3+h3,d3.pos)&&c3<=Math.min(n3+h3+f3.height,d3.pos+d3.len)||(b3.isInsidePlot=false));S2(this,"afterIsInsidePlot",b3);return b3.isInsidePlot};a3.prototype.redraw=function(b3){S2(this,"beforeRedraw");var a4=this.hasCartesianSeries?this.axes:this.colorAxis||[],c3=this.series,d3=this.pointer,f3=this.legend,e3=this.userOptions.legend,h3=this.renderer,g4=h3.isHidden(),k3=[],n3=this.isDirtyBox,m3=this.isDirtyLegend;this.setResponsive&&this.setResponsive(false);A2(this.hasRendered?b3:false,this);g4&&this.temporaryDisplay();this.layOutTitles();for(b3=c3.length;b3--;){var q2=c3[b3];if(q2.options.stacking||q2.options.centerInCategory){var l3=true;if(q2.isDirty){var G2=true;break}}}if(G2)for(b3=c3.length;b3--;)q2=c3[b3],q2.options.stacking&&(q2.isDirty=true);c3.forEach((function(b4){b4.isDirty&&("point"===b4.options.legendType?("function"===typeof b4.updateTotals&&b4.updateTotals(),m3=true):e3&&(e3.labelFormatter||e3.labelFormat)&&(m3=true));b4.isDirtyData&&S2(b4,"updatedData")}));m3&&f3&&f3.options.enabled&&(f3.render(),this.isDirtyLegend=false);l3&&this.getStacks();a4.forEach((function(b4){b4.updateNames();b4.setScale()}));this.getMargins();a4.forEach((function(b4){b4.isDirty&&(n3=true)}));a4.forEach((function(b4){var a5=b4.min+","+b4.max;b4.extKey!==a5&&(b4.extKey=a5,k3.push((function(){S2(b4,"afterSetExtremes",K2(b4.eventArgs,b4.getExtremes()));delete b4.eventArgs})));(n3||l3)&&b4.redraw()}));n3&&this.drawChartBox();S2(this,"predraw");c3.forEach((function(b4){(n3||b4.isDirty)&&b4.visible&&b4.redraw();b4.isDirtyData=false}));d3&&d3.reset(true);h3.draw();S2(this,"redraw");S2(this,"render");g4&&this.temporaryDisplay(true);k3.forEach((function(b4){b4.call()}))};a3.prototype.get=function(b3){function a4(a5){return a5.id===b3||a5.options&&a5.options.id===b3}for(var c3=this.series,d3=ca(this.axes,a4)||ca(this.series,a4),f3=0;!d3&&f3<c3.length;f3++)d3=ca(c3[f3].points||[],a4);return d3};a3.prototype.getAxes=function(){var b3=this,a4=this.options,c3=a4.xAxis=ea(a4.xAxis||{});a4=a4.yAxis=ea(a4.yAxis||{});S2(this,"getAxes");c3.forEach((function(b4,a5){b4.index=a5;b4.isX=true}));a4.forEach((function(b4,a5){b4.index=a5}));c3.concat(a4).forEach((function(a5){new g3(b3,a5)}));S2(this,"afterGetAxes")};a3.prototype.getSelectedPoints=function(){return this.series.reduce((function(b3,a4){a4.getPointsCollection().forEach((function(a5){W2(a5.selectedStaging,a5.selected)&&b3.push(a5)}));return b3}),[])};a3.prototype.getSelectedSeries=function(){return this.series.filter((function(b3){return b3.selected}))};a3.prototype.setTitle=function(b3,a4,c3){this.applyDescription("title",b3);this.applyDescription("subtitle",a4);this.applyDescription("caption",void 0);this.layOutTitles(c3)};a3.prototype.applyDescription=function(b3,a4){var c3=this,d3="title"===b3?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};d3=this.options[b3]=V2(!this.styledMode&&{style:d3},this.options[b3],a4);var f3=this[b3];f3&&a4&&(this[b3]=f3=f3.destroy());d3&&!f3&&(f3=this.renderer.text(d3.text,0,0,d3.useHTML).attr({align:d3.align,class:"highcharts-"+b3,zIndex:d3.zIndex||4}).add(),f3.update=function(a5){c3[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[b3]](a5)},this.styledMode||f3.css(d3.style),this[b3]=f3)};a3.prototype.layOutTitles=function(b3){var a4=[0,0,0],c3=this.renderer,d3=this.spacingBox;["title","subtitle","caption"].forEach((function(b4){var f4=this[b4],e3=this.options[b4],h3=e3.verticalAlign||"top";b4="title"===b4?"top"===h3?-3:0:"top"===h3?a4[0]+2:0;var g4;if(f4){this.styledMode||(g4=e3.style&&e3.style.fontSize);g4=c3.fontMetrics(g4,f4).b;f4.css({width:(e3.width||d3.width+(e3.widthAdjust||0))+"px"});var k3=Math.round(f4.getBBox(e3.useHTML).height);f4.align(K2({y:"bottom"===h3?g4:b4+g4,height:k3},e3),false,"spacingBox");e3.floating||("top"===h3?a4[0]=Math.ceil(a4[0]+k3):"bottom"===h3&&(a4[2]=Math.ceil(a4[2]+k3)))}}),this);a4[0]&&"top"===(this.options.title.verticalAlign||"top")&&(a4[0]+=this.options.title.margin);a4[2]&&"bottom"===this.options.caption.verticalAlign&&(a4[2]+=this.options.caption.margin);var f3=!this.titleOffset||this.titleOffset.join(",")!==a4.join(",");this.titleOffset=a4;S2(this,"afterLayOutTitles");!this.isDirtyBox&&f3&&(this.isDirtyBox=this.isDirtyLegend=f3,this.hasRendered&&W2(b3,true)&&this.isDirtyBox&&this.redraw())};a3.prototype.getChartSize=function(){var b3=this.options.chart,a4=b3.width;b3=b3.height;var c3=this.renderTo;T2(a4)||(this.containerWidth=G(c3,"width"));T2(b3)||(this.containerHeight=G(c3,"height"));this.chartWidth=Math.max(0,a4||this.containerWidth||600);this.chartHeight=Math.max(0,fa(b3,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))};a3.prototype.temporaryDisplay=function(b3){var a4=this.renderTo;if(b3)for(;a4&&a4.style;)a4.hcOrigStyle&&(Q(a4,a4.hcOrigStyle),delete a4.hcOrigStyle),a4.hcOrigDetached&&(f2.body.removeChild(a4),a4.hcOrigDetached=false),a4=a4.parentNode;else for(;a4&&a4.style;){f2.body.contains(a4)||a4.parentNode||(a4.hcOrigDetached=true,f2.body.appendChild(a4));if("none"===G(a4,"display",false)||a4.hcOricDetached)a4.hcOrigStyle={display:a4.style.display,height:a4.style.height,overflow:a4.style.overflow},b3={display:"block",overflow:"hidden"},a4!==this.renderTo&&(b3.height=0),Q(a4,b3),a4.offsetWidth||a4.style.setProperty("display","block","important");a4=a4.parentNode;if(a4===f2.body)break}};a3.prototype.setClassName=function(b3){this.container.className="highcharts-container "+(b3||"")};a3.prototype.getContainer=function(){var a4=this.options,c3=a4.chart,e3=ka(),h3,g4=this.renderTo;g4||(this.renderTo=g4=c3.renderTo);R2(g4)&&(this.renderTo=g4=f2.getElementById(g4));g4||U(13,true,this);var n3=ba(N(g4,"data-highcharts-chart"));M(n3)&&w2[n3]&&w2[n3].hasRendered&&w2[n3].destroy();N(g4,"data-highcharts-chart",this.index);g4.innerHTML=k2.emptyHTML;c3.skipClone||g4.offsetWidth||this.temporaryDisplay();this.getChartSize();n3=this.chartWidth;var m3=this.chartHeight;Q(g4,{overflow:"hidden"});this.styledMode||(h3=K2({position:"relative",overflow:"hidden",width:n3+"px",height:m3+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},c3.style||{}));this.container=e3=O2("div",{id:e3},h3,g4);this._cursor=e3.style.cursor;this.renderer=new(c3.renderer||!b2?l2.getRendererType(c3.renderer):d2)(e3,n3,m3,void 0,c3.forExport,a4.exporting&&a4.exporting.allowHTML,this.styledMode);A2(void 0,this);this.setClassName(c3.className);if(this.styledMode)for(var q2 in a4.defs)this.renderer.definition(a4.defs[q2]);else this.renderer.setStyle(c3.style);this.renderer.chartIndex=this.index;S2(this,"afterGetContainer")};a3.prototype.getMargins=function(b3){var a4=this.spacing,c3=this.margin,d3=this.titleOffset;this.resetMargins();d3[0]&&!T2(c3[0])&&(this.plotTop=Math.max(this.plotTop,d3[0]+a4[0]));d3[2]&&!T2(c3[2])&&(this.marginBottom=Math.max(this.marginBottom,d3[2]+a4[2]));this.legend&&this.legend.display&&this.legend.adjustMargins(c3,a4);S2(this,"getMargins");b3||this.getAxisMargins()};a3.prototype.getAxisMargins=function(){var b3=this,a4=b3.axisOffset=[0,0,0,0],c3=b3.colorAxis,d3=b3.margin,f3=function(b4){b4.forEach((function(b5){b5.visible&&b5.getOffset()}))};b3.hasCartesianSeries?f3(b3.axes):c3&&c3.length&&f3(c3);n2.forEach((function(c4,f4){T2(d3[f4])||(b3[c4]+=a4[f4])}));b3.setChartSize()};a3.prototype.reflow=function(b3){var a4=this,c3=a4.options.chart,d3=a4.renderTo,e3=T2(c3.width)&&T2(c3.height),h3=c3.width||G(d3,"width");c3=c3.height||G(d3,"height");d3=b3?b3.target:u2;delete a4.pointer.chartPosition;if(!e3&&!a4.isPrinting&&h3&&c3&&(d3===u2||d3===f2)){if(h3!==a4.containerWidth||c3!==a4.containerHeight)m2.clearTimeout(a4.reflowTimeout),a4.reflowTimeout=ia((function(){a4.container&&a4.setSize(void 0,void 0,false)}),b3?100:0);a4.containerWidth=h3;a4.containerHeight=c3}};a3.prototype.setReflow=function(b3){var a4=this;false===b3||this.unbindReflow?false===b3&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=q(u2,"resize",(function(b4){a4.options&&a4.reflow(b4)})),q(this,"destroy",this.unbindReflow))};a3.prototype.setSize=function(b3,a4,c3){var d3=this,f3=d3.renderer;d3.isResizing+=1;A2(c3,d3);c3=f3.globalAnimation;d3.oldChartHeight=d3.chartHeight;d3.oldChartWidth=d3.chartWidth;"undefined"!==typeof b3&&(d3.options.chart.width=b3);"undefined"!==typeof a4&&(d3.options.chart.height=a4);d3.getChartSize();d3.styledMode||(c3?p2:Q)(d3.container,{width:d3.chartWidth+"px",height:d3.chartHeight+"px"},c3);d3.setChartSize(true);f3.setSize(d3.chartWidth,d3.chartHeight,c3);d3.axes.forEach((function(b4){b4.isDirty=true;b4.setScale()}));d3.isDirtyLegend=true;d3.isDirtyBox=true;d3.layOutTitles();d3.getMargins();d3.redraw(c3);d3.oldChartHeight=null;S2(d3,"resize");ia((function(){d3&&S2(d3,"endResize",null,(function(){--d3.isResizing}))}),D2(c3).duration)};a3.prototype.setChartSize=function(b3){var a4=this.inverted,c3=this.renderer,d3=this.chartWidth,f3=this.chartHeight,e3=this.options.chart,h3=this.spacing,g4=this.clipOffset,k3,n3,m3,q2;this.plotLeft=k3=Math.round(this.plotLeft);this.plotTop=n3=Math.round(this.plotTop);this.plotWidth=m3=Math.max(0,Math.round(d3-k3-this.marginRight));this.plotHeight=q2=Math.max(0,Math.round(f3-n3-this.marginBottom));this.plotSizeX=a4?q2:m3;this.plotSizeY=a4?m3:q2;this.plotBorderWidth=e3.plotBorderWidth||0;this.spacingBox=c3.spacingBox={x:h3[3],y:h3[0],width:d3-h3[3]-h3[1],height:f3-h3[0]-h3[2]};this.plotBox=c3.plotBox={x:k3,y:n3,width:m3,height:q2};a4=2*Math.floor(this.plotBorderWidth/2);d3=Math.ceil(Math.max(a4,g4[3])/2);f3=Math.ceil(Math.max(a4,g4[0])/2);this.clipBox={x:d3,y:f3,width:Math.floor(this.plotSizeX-Math.max(a4,g4[1])/2-d3),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(a4,g4[2])/2-f3))};b3||(this.axes.forEach((function(b4){b4.setAxisSize();b4.setAxisTranslation()})),c3.alignElements());S2(this,"afterSetChartSize",{skipAxes:b3})};a3.prototype.resetMargins=function(){S2(this,"resetMargins");var b3=this,a4=b3.options.chart;["margin","spacing"].forEach((function(c3){var d3=a4[c3],f3=X(d3)?d3:[d3,d3,d3,d3];["Top","Right","Bottom","Left"].forEach((function(d4,e3){b3[c3][e3]=W2(a4[c3+d4],f3[e3])}))}));n2.forEach((function(a5,c3){b3[a5]=W2(b3.margin[c3],b3.spacing[c3])}));b3.axisOffset=[0,0,0,0];b3.clipOffset=[0,0,0,0]};a3.prototype.drawChartBox=function(){var b3=this.options.chart,a4=this.renderer,c3=this.chartWidth,d3=this.chartHeight,f3=this.styledMode,e3=this.plotBGImage,h3=b3.backgroundColor,g4=b3.plotBackgroundColor,k3=b3.plotBackgroundImage,n3=this.plotLeft,m3=this.plotTop,q2=this.plotWidth,l3=this.plotHeight,G2=this.plotBox,u3=this.clipRect,p3=this.clipBox,M2=this.chartBackground,v3=this.plotBackground,w3=this.plotBorder,r3,z3="animate";M2||(this.chartBackground=M2=a4.rect().addClass("highcharts-background").add(),z3="attr");if(f3)var y3=r3=M2.strokeWidth();else{y3=b3.borderWidth||0;r3=y3+(b3.shadow?8:0);h3={fill:h3||"none"};if(y3||M2["stroke-width"])h3.stroke=b3.borderColor,h3["stroke-width"]=y3;M2.attr(h3).shadow(b3.shadow)}M2[z3]({x:r3/2,y:r3/2,width:c3-r3-y3%2,height:d3-r3-y3%2,r:b3.borderRadius});z3="animate";v3||(z3="attr",this.plotBackground=v3=a4.rect().addClass("highcharts-plot-background").add());v3[z3](G2);f3||(v3.attr({fill:g4||"none"}).shadow(b3.plotShadow),k3&&(e3?(k3!==e3.attr("href")&&e3.attr("href",k3),e3.animate(G2)):this.plotBGImage=a4.image(k3,n3,m3,q2,l3).add()));u3?u3.animate({width:p3.width,height:p3.height}):this.clipRect=a4.clipRect(p3);z3="animate";w3||(z3="attr",this.plotBorder=w3=a4.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add());f3||w3.attr({stroke:b3.plotBorderColor,"stroke-width":b3.plotBorderWidth||0,fill:"none"});w3[z3](w3.crisp({x:n3,y:m3,width:q2,height:l3},-w3.strokeWidth()));this.isDirtyBox=false;S2(this,"afterDrawChartBox")};a3.prototype.propFromSeries=function(){var b3=this,a4=b3.options.chart,c3=b3.options.series,d3,f3,e3;["inverted","angular","polar"].forEach((function(h3){f3=z2[a4.type||a4.defaultSeriesType];e3=a4[h3]||f3&&f3.prototype[h3];for(d3=c3&&c3.length;!e3&&d3--;)(f3=z2[c3[d3].type])&&f3.prototype[h3]&&(e3=true);b3[h3]=e3}))};a3.prototype.linkSeries=function(){var b3=this,a4=b3.series;a4.forEach((function(b4){b4.linkedSeries.length=0}));a4.forEach((function(a5){var c3=a5.options.linkedTo;R2(c3)&&(c3=":previous"===c3?b3.series[a5.index-1]:b3.get(c3))&&c3.linkedParent!==a5&&(c3.linkedSeries.push(a5),a5.linkedParent=c3,c3.enabledDataSorting&&a5.setDataSortingOptions(),a5.visible=W2(a5.options.visible,c3.options.visible,a5.visible))}));S2(this,"afterLinkSeries")};a3.prototype.renderSeries=function(){this.series.forEach((function(b3){b3.translate();b3.render()}))};a3.prototype.renderLabels=function(){var b3=this,a4=b3.options.labels;a4.items&&a4.items.forEach((function(c3){var d3=K2(a4.style,c3.style),f3=ba(d3.left)+b3.plotLeft,e3=ba(d3.top)+b3.plotTop+12;delete d3.left;delete d3.top;b3.renderer.text(c3.html,f3,e3).attr({zIndex:2}).css(d3).add()}))};a3.prototype.render=function(){var b3=this.axes,a4=this.colorAxis,c3=this.renderer,d3=this.options,f3=function(b4){b4.forEach((function(b5){b5.visible&&b5.render()}))},e3=0;this.setTitle();this.legend=new H2(this,d3.legend);this.getStacks&&this.getStacks();this.getMargins(true);this.setChartSize();d3=this.plotWidth;b3.some((function(b4){if(b4.horiz&&b4.visible&&b4.options.labels.enabled&&b4.series.length)return e3=21,true}));var h3=this.plotHeight=Math.max(this.plotHeight-e3,0);b3.forEach((function(b4){b4.setScale()}));this.getAxisMargins();var g4=1.1<d3/this.plotWidth,k3=1.05<h3/this.plotHeight;if(g4||k3)b3.forEach((function(b4){(b4.horiz&&g4||!b4.horiz&&k3)&&b4.setTickInterval(true)})),this.getMargins();this.drawChartBox();this.hasCartesianSeries?f3(b3):a4&&a4.length&&f3(a4);this.seriesGroup||(this.seriesGroup=c3.g("series-group").attr({zIndex:3}).add());this.renderSeries();this.renderLabels();this.addCredits();this.setResponsive&&this.setResponsive();this.hasRendered=true};a3.prototype.addCredits=function(b3){var a4=this,c3=V2(true,this.options.credits,b3);c3.enabled&&!this.credits&&(this.credits=this.renderer.text(c3.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){c3.href&&(u2.location.href=c3.href)})).attr({align:c3.position.align,zIndex:8}),a4.styledMode||this.credits.css(c3.style),this.credits.add().align(c3.position),this.credits.update=function(b4){a4.credits=a4.credits.destroy();a4.addCredits(b4)})};a3.prototype.destroy=function(){var b3=this,a4=b3.axes,c3=b3.series,d3=b3.container,f3=d3&&d3.parentNode,e3;S2(b3,"destroy");b3.renderer.forExport?v2(w2,b3):w2[b3.index]=void 0;B.chartCount--;b3.renderTo.removeAttribute("data-highcharts-chart");ha(b3);for(e3=a4.length;e3--;)a4[e3]=a4[e3].destroy();this.scroller&&this.scroller.destroy&&this.scroller.destroy();for(e3=c3.length;e3--;)c3[e3]=c3[e3].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(a5){var c4=b3[a5];c4&&c4.destroy&&(b3[a5]=c4.destroy())}));d3&&(d3.innerHTML=k2.emptyHTML,ha(d3),f3&&Y(d3));Z(b3,(function(a5,c4){delete b3[c4]}))};a3.prototype.firstRender=function(){var b3=this,a4=b3.options;if(!b3.isReadyToRender||b3.isReadyToRender()){b3.getContainer();b3.resetMargins();b3.setChartSize();b3.propFromSeries();b3.getAxes();(P(a4.series)?a4.series:[]).forEach((function(a5){b3.initSeries(a5)}));b3.linkSeries();b3.setSeriesData();S2(b3,"beforeRender");r2&&(t2.isRequired()?b3.pointer=new t2(b3,a4):b3.pointer=new r2(b3,a4));b3.render();b3.pointer.getChartPosition();if(!b3.renderer.imgCount&&!b3.hasLoaded)b3.onload();b3.temporaryDisplay(true)}};a3.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(b3){b3&&"undefined"!==typeof this.index&&b3.apply(this,[this])}),this);S2(this,"load");S2(this,"render");T2(this.index)&&this.setReflow(this.options.chart.reflow);this.warnIfA11yModuleNotLoaded();this.hasLoaded=true};a3.prototype.warnIfA11yModuleNotLoaded=function(){var b3=this.options,a4=this.title;b3&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":(a4&&a4.element.textContent||"").replace(/</g,"<")}),b3.accessibility&&false===b3.accessibility.enabled||U('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',false,this))};a3.prototype.addSeries=function(b3,a4,c3){var d3=this,f3;b3&&(a4=W2(a4,true),S2(d3,"addSeries",{options:b3},(function(){f3=d3.initSeries(b3);d3.isDirtyLegend=true;d3.linkSeries();f3.enabledDataSorting&&f3.setData(b3.data,false);S2(d3,"afterAddSeries",{series:f3});a4&&d3.redraw(c3)})));return f3};a3.prototype.addAxis=function(b3,a4,c3,d3){return this.createAxis(a4?"xAxis":"yAxis",{axis:b3,redraw:c3,animation:d3})};a3.prototype.addColorAxis=function(b3,a4,c3){return this.createAxis("colorAxis",{axis:b3,redraw:a4,animation:c3})};a3.prototype.createAxis=function(b3,a4){b3=new g3(this,V2(a4.axis,{index:this[b3].length,isX:"xAxis"===b3}));W2(a4.redraw,true)&&this.redraw(a4.animation);return b3};a3.prototype.showLoading=function(b3){var a4=this,c3=a4.options,d3=c3.loading,f3=function(){e3&&Q(e3,{left:a4.plotLeft+"px",top:a4.plotTop+"px",width:a4.plotWidth+"px",height:a4.plotHeight+"px"})},e3=a4.loadingDiv,h3=a4.loadingSpan;e3||(a4.loadingDiv=e3=O2("div",{className:"highcharts-loading highcharts-loading-hidden"},null,a4.container));h3||(a4.loadingSpan=h3=O2("span",{className:"highcharts-loading-inner"},null,e3),q(a4,"redraw",f3));e3.className="highcharts-loading";k2.setElementHTML(h3,W2(b3,c3.lang.loading,""));a4.styledMode||(Q(e3,K2(d3.style,{zIndex:10})),Q(h3,d3.labelStyle),a4.loadingShown||(Q(e3,{opacity:0,display:""}),p2(e3,{opacity:d3.style.opacity||.5},{duration:d3.showDuration||0})));a4.loadingShown=true;f3()};a3.prototype.hideLoading=function(){var b3=this.options,a4=this.loadingDiv;a4&&(a4.className="highcharts-loading highcharts-loading-hidden",this.styledMode||p2(a4,{opacity:0},{duration:b3.loading.hideDuration||100,complete:function(){Q(a4,{display:"none"})}}));this.loadingShown=false};a3.prototype.update=function(b3,a4,d3,f3){var e3=this,g4={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},k3=b3.isResponsiveOptions,n3=[],m3,q2;S2(e3,"update",{options:b3});k3||e3.setResponsive(false,true);b3=J(b3,e3.options);e3.userOptions=V2(e3.userOptions,b3);var l3=b3.chart;if(l3){V2(true,e3.options.chart,l3);"className"in l3&&e3.setClassName(l3.className);"reflow"in l3&&e3.setReflow(l3.reflow);if("inverted"in l3||"polar"in l3||"type"in l3){e3.propFromSeries();var G2=true}"alignTicks"in l3&&(G2=true);"events"in l3&&c2(this,l3);Z(l3,(function(b4,a5){-1!==e3.propsRequireUpdateSeries.indexOf("chart."+a5)&&(m3=true);-1!==e3.propsRequireDirtyBox.indexOf(a5)&&(e3.isDirtyBox=true);-1!==e3.propsRequireReflow.indexOf(a5)&&(k3?e3.isDirtyBox=true:q2=true)}));!e3.styledMode&&l3.style&&e3.renderer.setStyle(e3.options.chart.style||{})}!e3.styledMode&&b3.colors&&(this.options.colors=b3.colors);b3.time&&(this.time===L2&&(this.time=new h2(b3.time)),V2(true,e3.options.time,b3.time));Z(b3,(function(a5,c3){if(e3[c3]&&"function"===typeof e3[c3].update)e3[c3].update(a5,false);else if("function"===typeof e3[g4[c3]])e3[g4[c3]](a5);else"colors"!==c3&&-1===e3.collectionsWithUpdate.indexOf(c3)&&V2(true,e3.options[c3],b3[c3]);"chart"!==c3&&-1!==e3.propsRequireUpdateSeries.indexOf(c3)&&(m3=true)}));this.collectionsWithUpdate.forEach((function(a5){if(b3[a5]){var c3=[];e3[a5].forEach((function(b4,a6){b4.options.isInternal||c3.push(W2(b4.options.index,a6))}));ea(b3[a5]).forEach((function(b4,f4){var h3=T2(b4.id),g5;h3&&(g5=e3.get(b4.id));!g5&&e3[a5]&&(g5=e3[a5][c3?c3[f4]:f4])&&h3&&T2(g5.options.id)&&(g5=void 0);g5&&g5.coll===a5&&(g5.update(b4,false),d3&&(g5.touched=true));!g5&&d3&&e3.collectionsWithInit[a5]&&(e3.collectionsWithInit[a5][0].apply(e3,[b4].concat(e3.collectionsWithInit[a5][1]||[]).concat([false])).touched=true)}));d3&&e3[a5].forEach((function(b4){b4.touched||b4.options.isInternal?delete b4.touched:n3.push(b4)}))}}));n3.forEach((function(b4){b4.chart&&b4.remove&&b4.remove(false)}));G2&&e3.axes.forEach((function(b4){b4.update({},false)}));m3&&e3.getSeriesOrderByLinks().forEach((function(b4){b4.chart&&b4.update({},false)}),this);G2=l3&&l3.width;l3=l3&&(R2(l3.height)?fa(l3.height,G2||e3.chartWidth):l3.height);q2||M(G2)&&G2!==e3.chartWidth||M(l3)&&l3!==e3.chartHeight?e3.setSize(G2,l3,f3):W2(a4,true)&&e3.redraw(f3);S2(e3,"afterUpdate",{options:b3,redraw:a4,animation:f3})};a3.prototype.setSubtitle=function(b3,a4){this.applyDescription("subtitle",b3);this.layOutTitles(a4)};a3.prototype.setCaption=function(b3,a4){this.applyDescription("caption",b3);this.layOutTitles(a4)};a3.prototype.showResetZoom=function(){function b3(){a4.zoomOut()}var a4=this,c3=E2.lang,d3=a4.options.chart.zooming.resetButton,f3=d3.theme,e3="chart"===d3.relativeTo||"spacingBox"===d3.relativeTo?null:"scrollablePlotBox";S2(this,"beforeShowResetZoom",null,(function(){a4.resetZoomButton=a4.renderer.button(c3.resetZoom,null,null,b3,f3).attr({align:d3.position.align,title:c3.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(d3.position,false,e3)}));S2(this,"afterShowResetZoom")};a3.prototype.zoomOut=function(){S2(this,"selection",{resetSelection:true},this.zoom)};a3.prototype.zoom=function(b3){var a4=this,c3=a4.pointer,d3=false,f3;!b3||b3.resetSelection?(a4.axes.forEach((function(b4){f3=b4.zoom()})),c3.initiated=false):b3.xAxis.concat(b3.yAxis).forEach((function(b4){var e4=b4.axis;if(c3[e4.isXAxis?"zoomX":"zoomY"]&&T2(c3.mouseDownX)&&T2(c3.mouseDownY)&&a4.isInsidePlot(c3.mouseDownX-a4.plotLeft,c3.mouseDownY-a4.plotTop,{axis:e4})||!T2(a4.inverted?c3.mouseDownX:c3.mouseDownY))f3=e4.zoom(b4.min,b4.max),e4.displayBtn&&(d3=true)}));var e3=a4.resetZoomButton;d3&&!e3?a4.showResetZoom():!d3&&X(e3)&&(a4.resetZoomButton=e3.destroy());f3&&a4.redraw(W2(a4.options.chart.animation,b3&&b3.animation,100>a4.pointCount))};a3.prototype.pan=function(b3,a4){var c3=this,d3=c3.hoverPoints;a4="object"===typeof a4?a4:{enabled:a4,type:"x"};var f3=c3.options.chart;f3&&f3.panning&&(f3.panning=a4);var e3=a4.type,h3;S2(this,"pan",{originalEvent:b3},(function(){d3&&d3.forEach((function(b4){b4.setState()}));var a5=c3.xAxis;"xy"===e3?a5=a5.concat(c3.yAxis):"y"===e3&&(a5=c3.yAxis);var f4={};a5.forEach((function(a6){if(a6.options.panningEnabled&&!a6.options.isInternal){var d4=a6.horiz,g4=b3[d4?"chartX":"chartY"];d4=d4?"mouseDownX":"mouseDownY";var k3=c3[d4],n3=a6.minPointOffset||0,m3=a6.reversed&&!c3.inverted||!a6.reversed&&c3.inverted?-1:1,l3=a6.getExtremes(),q2=a6.toValue(k3-g4,true)+n3*m3,G2=a6.toValue(k3+a6.len-g4,true)-(n3*m3||a6.isXAxis&&a6.pointRangePadding||0),u3=G2<q2;m3=a6.hasVerticalPanning();k3=u3?G2:q2;q2=u3?q2:G2;var p3=a6.panningState;!m3||a6.isXAxis||p3&&!p3.isDirty||a6.series.forEach((function(b4){var a7=b4.getProcessedData(true);a7=b4.getExtremes(a7.yData,true);p3||(p3={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE});M(a7.dataMin)&&M(a7.dataMax)&&(p3.startMin=Math.min(W2(b4.options.threshold,Infinity),a7.dataMin,p3.startMin),p3.startMax=Math.max(W2(b4.options.threshold,-Infinity),a7.dataMax,p3.startMax))}));m3=Math.min(W2(p3&&p3.startMin,l3.dataMin),n3?l3.min:a6.toValue(a6.toPixels(l3.min)-a6.minPixelPadding));G2=Math.max(W2(p3&&p3.startMax,l3.dataMax),n3?l3.max:a6.toValue(a6.toPixels(l3.max)+a6.minPixelPadding));a6.panningState=p3;a6.isOrdinal||(n3=m3-k3,0<n3&&(q2+=n3,k3=m3),n3=q2-G2,0<n3&&(q2=G2,k3-=n3),a6.series.length&&k3!==l3.min&&q2!==l3.max&&k3>=m3&&q2<=G2&&(a6.setExtremes(k3,q2,false,false,{trigger:"pan"}),!c3.resetZoomButton&&k3!==m3&&q2!==G2&&e3.match("y")&&(c3.showResetZoom(),a6.displayBtn=false),h3=true),f4[d4]=g4)}}));Z(f4,(function(b4,a6){c3[a6]=b4}));h3&&c3.redraw(false);Q(c3.container,{cursor:"move"})}))};return a3}();K2(a2.prototype,{callbacks:[],collectionsWithInit:{xAxis:[a2.prototype.addAxis,[true]],yAxis:[a2.prototype.addAxis,[false]],series:[a2.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")});return a2}));K(g2,"Core/Legend/LegendSymbol.js",[g2["Core/Utilities.js"]],(function(a2){var g3=a2.extend,x2=a2.merge,F2=a2.pick,C2;(function(a3){a3.drawLineMarker=function(a4){var t2=this.legendItem=this.legendItem||{},r2=this.options,l2=a4.symbolWidth,e2=a4.symbolHeight,d2=e2/2,h2=this.chart.renderer,m2=t2.group;a4=a4.baseline-Math.round(.3*a4.fontMetrics.b);var k2={},p2=r2.marker,D2=0;this.chart.styledMode||(k2={"stroke-width":Math.min(r2.lineWidth||0,24)},r2.dashStyle?k2.dashstyle=r2.dashStyle:"square"!==r2.linecap&&(k2["stroke-linecap"]="round"));t2.line=h2.path().addClass("highcharts-graph").attr(k2).add(m2);k2["stroke-linecap"]&&(D2=Math.min(t2.line.strokeWidth(),l2)/2);t2.line.attr({d:[["M",D2,a4],["L",l2-D2,a4]]});p2&&false!==p2.enabled&&l2&&(r2=Math.min(F2(p2.radius,d2),d2),0===this.symbol.indexOf("url")&&(p2=x2(p2,{width:e2,height:e2}),r2=0),t2.symbol=t2=h2.symbol(this.symbol,l2/2-r2,a4-r2,2*r2,2*r2,g3({context:"legend"},p2)).addClass("highcharts-point").add(m2),t2.isMarker=true)};a3.drawRectangle=function(a4,g4){g4=g4.legendItem||{};var r2=a4.symbolHeight,l2=a4.options.squareSymbol;g4.symbol=this.chart.renderer.rect(l2?(a4.symbolWidth-r2)/2:0,a4.baseline-r2+1,l2?r2:a4.symbolWidth,r2,F2(a4.options.symbolRadius,r2/2)).addClass("highcharts-point").attr({zIndex:3}).add(g4.group)}})(C2||(C2={}));return C2}));K(g2,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:false,crisp:true,showCheckbox:false,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:true},hover:{animation:{duration:50},enabled:true,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:true,formatter:function(){var a2=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":a2(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:true,states:{normal:{animation:true},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:true,turboThreshold:1e3,findNearestPointBy:"x"}}));K(g2,"Core/Series/Series.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Defaults.js"],g2["Core/Foundation.js"],g2["Core/Globals.js"],g2["Core/Legend/LegendSymbol.js"],g2["Core/Series/Point.js"],g2["Core/Series/SeriesDefaults.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Renderer/SVG/SVGElement.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B,H2,t2,r2,l2){var e2=a2.animObject,d2=a2.setAnimation,h2=g3.defaultOptions,m2=x2.registerEventOptions,k2=F2.hasTouch,p2=F2.svg,D2=F2.win,A2=t2.seriesTypes,E2=l2.arrayMax,L2=l2.arrayMin,y2=l2.clamp,c2=l2.cleanRecursively,w2=l2.correctFloat,f2=l2.defined,n2=l2.erase,b2=l2.error,u2=l2.extend,z2=l2.find,q=l2.fireEvent,N=l2.getNestedProperty,J=l2.isArray,O2=l2.isNumber,Q=l2.isString,T2=l2.merge,Y=l2.objectEach,v2=l2.pick,U=l2.removeEvent,K2=l2.splat,ca=l2.syncTimeout;a2=function(){function a3(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}a3.prototype.init=function(b3,a4){q(this,"init",{options:a4});var c3=this,d3=b3.series;this.eventsToUnbind=[];c3.chart=b3;c3.options=c3.setOptions(a4);a4=c3.options;c3.linkedSeries=[];c3.bindAxes();u2(c3,{name:a4.name,state:"",visible:false!==a4.visible,selected:true===a4.selected});m2(this,a4);var f3=a4.events;if(f3&&f3.click||a4.point&&a4.point.events&&a4.point.events.click||a4.allowPointSelect)b3.runTrackerClick=true;c3.getColor();c3.getSymbol();c3.parallelArrays.forEach((function(b4){c3[b4+"Data"]||(c3[b4+"Data"]=[])}));c3.isCartesian&&(b3.hasCartesianSeries=true);var e3;d3.length&&(e3=d3[d3.length-1]);c3._i=v2(e3&&e3._i,-1)+1;c3.opacity=c3.options.opacity;b3.orderSeries(this.insert(d3));a4.dataSorting&&a4.dataSorting.enabled?c3.setDataSortingOptions():c3.points||c3.data||c3.setData(a4.data,false);q(this,"afterInit")};a3.prototype.is=function(b3){return A2[b3]&&this instanceof A2[b3]};a3.prototype.insert=function(b3){var a4=this.options.index,c3;if(O2(a4)){for(c3=b3.length;c3--;)if(a4>=v2(b3[c3].options.index,b3[c3]._i)){b3.splice(c3+1,0,this);break}-1===c3&&b3.unshift(this);c3+=1}else b3.push(this);return v2(c3,b3.length-1)};a3.prototype.bindAxes=function(){var a4=this,c3=a4.options,d3=a4.chart,f3;q(this,"bindAxes",null,(function(){(a4.axisTypes||[]).forEach((function(e3){var h3=0;d3[e3].forEach((function(b3){f3=b3.options;if(c3[e3]===h3&&!f3.isInternal||"undefined"!==typeof c3[e3]&&c3[e3]===f3.id||"undefined"===typeof c3[e3]&&0===f3.index)a4.insert(b3.series),a4[e3]=b3,b3.isDirty=true;f3.isInternal||h3++}));a4[e3]||a4.optionalAxis===e3||b2(18,true,d3)}))}));q(this,"afterBindAxes")};a3.prototype.updateParallelArrays=function(b3,a4){var c3=b3.series,d3=arguments,f3=O2(a4)?function(d4){var f4="y"===d4&&c3.toYData?c3.toYData(b3):b3[d4];c3[d4+"Data"][a4]=f4}:function(b4){Array.prototype[a4].apply(c3[b4+"Data"],Array.prototype.slice.call(d3,2))};c3.parallelArrays.forEach(f3)};a3.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length};a3.prototype.autoIncrement=function(b3){var a4=this.options,c3=a4.pointIntervalUnit,d3=a4.relativeXValue,f3=this.chart.time,e3=this.xIncrement,h3;e3=v2(e3,a4.pointStart,0);this.pointInterval=h3=v2(this.pointInterval,a4.pointInterval,1);d3&&O2(b3)&&(h3*=b3);c3&&(a4=new f3.Date(e3),"day"===c3?f3.set("Date",a4,f3.get("Date",a4)+h3):"month"===c3?f3.set("Month",a4,f3.get("Month",a4)+h3):"year"===c3&&f3.set("FullYear",a4,f3.get("FullYear",a4)+h3),h3=a4.getTime()-e3);if(d3&&O2(b3))return e3+h3;this.xIncrement=e3+h3;return e3};a3.prototype.setDataSortingOptions=function(){var b3=this.options;u2(this,{requireSorting:false,sorted:false,enabledDataSorting:true,allowDG:false});f2(b3.pointRange)||(b3.pointRange=1)};a3.prototype.setOptions=function(b3){var a4=this.chart,c3=a4.options,d3=c3.plotOptions,e3=a4.userOptions||{};b3=T2(b3);a4=a4.styledMode;var g4={plotOptions:d3,userOptions:b3};q(this,"setOptions",g4);var k3=g4.plotOptions[this.type],n3=e3.plotOptions||{};this.userOptions=g4.userOptions;e3=T2(k3,d3.series,e3.plotOptions&&e3.plotOptions[this.type],b3);this.tooltipOptions=T2(h2.tooltip,h2.plotOptions.series&&h2.plotOptions.series.tooltip,h2.plotOptions[this.type].tooltip,c3.tooltip.userOptions,d3.series&&d3.series.tooltip,d3[this.type].tooltip,b3.tooltip);this.stickyTracking=v2(b3.stickyTracking,n3[this.type]&&n3[this.type].stickyTracking,n3.series&&n3.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?true:e3.stickyTracking);null===k3.marker&&delete e3.marker;this.zoneAxis=e3.zoneAxis;d3=this.zones=(e3.zones||[]).slice();!e3.negativeColor&&!e3.negativeFillColor||e3.zones||(c3={value:e3[this.zoneAxis+"Threshold"]||e3.threshold||0,className:"highcharts-negative"},a4||(c3.color=e3.negativeColor,c3.fillColor=e3.negativeFillColor),d3.push(c3));d3.length&&f2(d3[d3.length-1].value)&&d3.push(a4?{}:{color:this.color,fillColor:this.fillColor});q(this,"afterSetOptions",{options:e3});return e3};a3.prototype.getName=function(){return v2(this.options.name,"Series "+(this.index+1))};a3.prototype.getCyclic=function(b3,a4,c3){var d3=this.chart,e3=this.userOptions,h3=b3+"Index",g4=b3+"Counter",k3=c3?c3.length:v2(d3.options.chart[b3+"Count"],d3[b3+"Count"]);if(!a4){var n3=v2(e3[h3],e3["_"+h3]);f2(n3)||(d3.series.length||(d3[g4]=0),e3["_"+h3]=n3=d3[g4]%k3,d3[g4]+=1);c3&&(a4=c3[n3])}"undefined"!==typeof n3&&(this[h3]=n3);this[b3]=a4};a3.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||h2.plotOptions[this.type].color,this.chart.options.colors)};a3.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]};a3.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)};a3.prototype.findPointIndex=function(b3,a4){var c3=b3.id,d3=b3.x,f3=this.points,e3=this.options.dataSorting,h3,g4;if(c3)e3=this.chart.get(c3),e3 instanceof B&&(h3=e3);else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){if(h3=function(a5){return!a5.touched&&a5.index===b3.index},e3&&e3.matchByName?h3=function(a5){return!a5.touched&&a5.name===b3.name}:this.options.relativeXValue&&(h3=function(a5){return!a5.touched&&a5.options.x===b3.x}),h3=z2(f3,h3),!h3)return}if(h3){var k3=h3&&h3.index;"undefined"!==typeof k3&&(g4=true)}"undefined"===typeof k3&&O2(d3)&&(k3=this.xData.indexOf(d3,a4));-1!==k3&&"undefined"!==typeof k3&&this.cropped&&(k3=k3>=this.cropStart?k3-this.cropStart:k3);!g4&&O2(k3)&&f3[k3]&&f3[k3].touched&&(k3=void 0);return k3};a3.prototype.updateData=function(b3,a4){var c3=this.options,d3=c3.dataSorting,e3=this.points,h3=[],g4=this.requireSorting,k3=b3.length===e3.length,n3,m3,q2,l3=true;this.xIncrement=null;b3.forEach((function(b4,a5){var m4=f2(b4)&&this.pointClass.prototype.optionsToObject.call({series:this},b4)||{},l4=m4.x;if(m4.id||O2(l4)){if(m4=this.findPointIndex(m4,q2),-1===m4||"undefined"===typeof m4?h3.push(b4):e3[m4]&&b4!==c3.data[m4]?(e3[m4].update(b4,false,null,false),e3[m4].touched=true,g4&&(q2=m4+1)):e3[m4]&&(e3[m4].touched=true),!k3||a5!==m4||d3&&d3.enabled||this.hasDerivedData)n3=true}else h3.push(b4)}),this);if(n3)for(b3=e3.length;b3--;)(m3=e3[b3])&&!m3.touched&&m3.remove&&m3.remove(false,a4);else!k3||d3&&d3.enabled?l3=false:(b3.forEach((function(b4,a5){b4!==e3[a5].y&&e3[a5].update&&e3[a5].update(b4,false,null,false)})),h3.length=0);e3.forEach((function(b4){b4&&(b4.touched=false)}));if(!l3)return false;h3.forEach((function(b4){this.addPoint(b4,false,null,null,false)}),this);null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=E2(this.xData),this.autoIncrement());return true};a3.prototype.setData=function(a4,c3,d3,f3){void 0===c3&&(c3=true);var e3=this,h3=e3.points,g4=h3&&h3.length||0,k3=e3.options,n3=e3.chart,m3=k3.dataSorting,l3=e3.xAxis,q2=k3.turboThreshold,u3=this.xData,p3=this.yData,G=e3.pointArrayMap;G=G&&G.length;var v3=k3.keys,w3,r3=0,z3=1,y3=null;if(!n3.options.chart.allowMutatingData){k3.data&&delete e3.options.data;e3.userOptions.data&&delete e3.userOptions.data;var M=T2(true,a4)}a4=M||a4||[];M=a4.length;m3&&m3.enabled&&(a4=this.sortData(a4));n3.options.chart.allowMutatingData&&false!==f3&&M&&g4&&!e3.cropped&&!e3.hasGroupedData&&e3.visible&&!e3.boosted&&(w3=this.updateData(a4,d3));if(!w3){e3.xIncrement=null;e3.colorCounter=0;this.parallelArrays.forEach((function(b3){e3[b3+"Data"].length=0}));if(q2&&M>q2)if(y3=e3.getFirstValidPoint(a4),O2(y3))for(d3=0;d3<M;d3++)u3[d3]=this.autoIncrement(),p3[d3]=a4[d3];else if(J(y3))if(G)if(y3.length===G)for(d3=0;d3<M;d3++)u3[d3]=this.autoIncrement(),p3[d3]=a4[d3];else for(d3=0;d3<M;d3++)f3=a4[d3],u3[d3]=f3[0],p3[d3]=f3.slice(1,G+1);else if(v3&&(r3=v3.indexOf("x"),z3=v3.indexOf("y"),r3=0<=r3?r3:0,z3=0<=z3?z3:1),1===y3.length&&(z3=0),r3===z3)for(d3=0;d3<M;d3++)u3[d3]=this.autoIncrement(),p3[d3]=a4[d3][z3];else for(d3=0;d3<M;d3++)f3=a4[d3],u3[d3]=f3[r3],p3[d3]=f3[z3];else b2(12,false,n3);else for(d3=0;d3<M;d3++)"undefined"!==typeof a4[d3]&&(f3={series:e3},e3.pointClass.prototype.applyOptions.apply(f3,[a4[d3]]),e3.updateParallelArrays(f3,d3));p3&&Q(p3[0])&&b2(14,true,n3);e3.data=[];e3.options.data=e3.userOptions.data=a4;for(d3=g4;d3--;)h3[d3]&&h3[d3].destroy&&h3[d3].destroy();l3&&(l3.minRange=l3.userMinRange);e3.isDirty=n3.isDirtyBox=true;e3.isDirtyData=!!h3;d3=false}"point"===k3.legendType&&(this.processData(),this.generatePoints());c3&&n3.redraw(d3)};a3.prototype.sortData=function(b3){var a4=this,c3=a4.options.dataSorting.sortKey||"y",d3=function(b4,a5){return f2(a5)&&b4.pointClass.prototype.optionsToObject.call({series:b4},a5)||{}};b3.forEach((function(c4,e3){b3[e3]=d3(a4,c4);b3[e3].index=e3}),this);b3.concat().sort((function(b4,a5){b4=N(c3,b4);a5=N(c3,a5);return a5<b4?-1:a5>b4?1:0})).forEach((function(b4,a5){b4.x=a5}),this);a4.linkedSeries&&a4.linkedSeries.forEach((function(a5){var c4=a5.options,e3=c4.data;c4.dataSorting&&c4.dataSorting.enabled||!e3||(e3.forEach((function(c5,f3){e3[f3]=d3(a5,c5);b3[f3]&&(e3[f3].x=b3[f3].x,e3[f3].index=f3)})),a5.setData(e3,false))}));return b3};a3.prototype.getProcessedData=function(a4){var c3=this.xAxis,d3=this.options,e3=d3.cropThreshold,f3=a4||this.getExtremesFromAll||d3.getExtremesFromAll,h3=this.isCartesian;a4=c3&&c3.val2lin;d3=!(!c3||!c3.logarithmic);var g4=0,k3=this.xData,n3=this.yData,m3=this.requireSorting;var l3=false;var q2=k3.length;if(c3){l3=c3.getExtremes();var u3=l3.min;var p3=l3.max;l3=!(!c3.categories||c3.names.length)}if(h3&&this.sorted&&!f3&&(!e3||q2>e3||this.forceCrop)){if(k3[q2-1]<u3||k3[0]>p3)k3=[],n3=[];else if(this.yData&&(k3[0]<u3||k3[q2-1]>p3)){var G=this.cropData(this.xData,this.yData,u3,p3);k3=G.xData;n3=G.yData;g4=G.start;G=true}}for(e3=k3.length||1;--e3;)if(c3=d3?a4(k3[e3])-a4(k3[e3-1]):k3[e3]-k3[e3-1],0<c3&&("undefined"===typeof v3||c3<v3))var v3=c3;else 0>c3&&m3&&!l3&&(b2(15,false,this.chart),m3=false);return{xData:k3,yData:n3,cropped:G,cropStart:g4,closestPointRange:v3}};a3.prototype.processData=function(b3){var a4=this.xAxis;if(this.isCartesian&&!this.isDirty&&!a4.isDirty&&!this.yAxis.isDirty&&!b3)return false;b3=this.getProcessedData();this.cropped=b3.cropped;this.cropStart=b3.cropStart;this.processedXData=b3.xData;this.processedYData=b3.yData;this.closestPointRange=this.basePointRange=b3.closestPointRange;q(this,"afterProcessData")};a3.prototype.cropData=function(b3,a4,c3,d3,e3){var f3=b3.length,h3,g4=0,k3=f3;e3=v2(e3,this.cropShoulder);for(h3=0;h3<f3;h3++)if(b3[h3]>=c3){g4=Math.max(0,h3-e3);break}for(c3=h3;c3<f3;c3++)if(b3[c3]>d3){k3=c3+e3;break}return{xData:b3.slice(g4,k3),yData:a4.slice(g4,k3),start:g4,end:k3}};a3.prototype.generatePoints=function(){var b3=this.options,a4=this.processedData||b3.data,c3=this.processedXData,d3=this.processedYData,e3=this.pointClass,f3=c3.length,h3=this.cropStart||0,g4=this.hasGroupedData,k3=b3.keys,n3=[];b3=b3.dataGrouping&&b3.dataGrouping.groupAll?h3:0;var m3,l3,p3=this.data;if(!p3&&!g4){var v3=[];v3.length=a4.length;p3=this.data=v3}k3&&g4&&(this.options.keys=false);for(l3=0;l3<f3;l3++){v3=h3+l3;if(g4){var r3=(new e3).init(this,[c3[l3]].concat(K2(d3[l3])));r3.dataGroup=this.groupMap[b3+l3];r3.dataGroup.options&&(r3.options=r3.dataGroup.options,u2(r3,r3.dataGroup.options),delete r3.dataLabels)}else(r3=p3[v3])||"undefined"===typeof a4[v3]||(p3[v3]=r3=(new e3).init(this,a4[v3],c3[l3]));r3&&(r3.index=g4?b3+l3:v3,n3[l3]=r3)}this.options.keys=k3;if(p3&&(f3!==(m3=p3.length)||g4))for(l3=0;l3<m3;l3++)l3!==h3||g4||(l3+=f3),p3[l3]&&(p3[l3].destroyElements(),p3[l3].plotX=void 0);this.data=p3;this.points=n3;q(this,"afterGeneratePoints")};a3.prototype.getXExtremes=function(b3){return{min:L2(b3),max:E2(b3)}};a3.prototype.getExtremes=function(b3,a4){var c3=this.xAxis,d3=this.yAxis,e3=this.processedXData||this.xData,f3=[],h3=this.requireSorting?this.cropShoulder:0;d3=d3?d3.positiveValuesOnly:false;var g4,k3=0,n3=0,m3=0;b3=b3||this.stackedYData||this.processedYData||[];var l3=b3.length;if(c3){var p3=c3.getExtremes();k3=p3.min;n3=p3.max}for(g4=0;g4<l3;g4++){var u3=e3[g4];p3=b3[g4];var G=(O2(p3)||J(p3))&&(p3.length||0<p3||!d3);u3=a4||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!c3||(e3[g4+h3]||u3)>=k3&&(e3[g4-h3]||u3)<=n3;if(G&&u3)if(G=p3.length)for(;G--;)O2(p3[G])&&(f3[m3++]=p3[G]);else f3[m3++]=p3}b3={activeYData:f3,dataMin:L2(f3),dataMax:E2(f3)};q(this,"afterGetExtremes",{dataExtremes:b3});return b3};a3.prototype.applyExtremes=function(){var b3=this.getExtremes();this.dataMin=b3.dataMin;this.dataMax=b3.dataMax;return b3};a3.prototype.getFirstValidPoint=function(b3){for(var a4=b3.length,c3=0,d3=null;null===d3&&c3<a4;)d3=b3[c3],c3++;return d3};a3.prototype.translate=function(){this.processedXData||this.processData();this.generatePoints();var b3=this.options,a4=b3.stacking,c3=this.xAxis,d3=c3.categories,e3=this.enabledDataSorting,h3=this.yAxis,g4=this.points,k3=g4.length,n3=this.pointPlacementToXValue(),m3=!!n3,l3=b3.threshold,p3=b3.startFromThreshold?l3:0,u3=this.zoneAxis||"y",r3,z3,t3=Number.MAX_VALUE;for(r3=0;r3<k3;r3++){var D3=g4[r3],E3=D3.x,A3=void 0,N2=void 0,I=D3.y,x3=D3.low,C3=a4&&h3.stacking&&h3.stacking.stacks[(this.negStacks&&I<(p3?0:l3)?"-":"")+this.stackKey];if(h3.positiveValuesOnly&&!h3.validatePositiveValue(I)||c3.positiveValuesOnly&&!c3.validatePositiveValue(E3))D3.isNull=true;D3.plotX=z3=w2(y2(c3.translate(E3,0,0,0,1,n3,"flags"===this.type),-1e5,1e5));if(a4&&this.visible&&C3&&C3[E3]){var L3=this.getStackIndicator(L3,E3,this.index);!D3.isNull&&L3.key&&(A3=C3[E3],N2=A3.points[L3.key]);A3&&J(N2)&&(x3=N2[0],I=N2[1],x3===p3&&L3.key===C3[E3].base&&(x3=v2(O2(l3)?l3:h3.min)),h3.positiveValuesOnly&&f2(x3)&&0>=x3&&(x3=void 0),D3.total=D3.stackTotal=v2(A3.total),D3.percentage=f2(D3.y)&&A3.total?D3.y/A3.total*100:void 0,D3.stackY=I,this.irregularWidths||A3.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))}D3.yBottom=f2(x3)?y2(h3.translate(x3,0,1,0,1),-1e5,1e5):void 0;this.dataModify&&(I=this.dataModify.modifyValue(I,r3));D3.plotY=void 0;O2(I)&&(A3=h3.translate(I,false,true,false,true),"undefined"!==typeof A3&&(D3.plotY=y2(A3,-1e5,1e5)));D3.isInside=this.isPointInside(D3);D3.clientX=m3?w2(c3.translate(E3,0,0,0,1,n3)):z3;D3.negative=D3[u3]<(b3[u3+"Threshold"]||l3||0);D3.category=v2(d3&&d3[D3.x],D3.x);if(!D3.isNull&&false!==D3.visible){"undefined"!==typeof B2&&(t3=Math.min(t3,Math.abs(z3-B2)));var B2=z3}D3.zone=this.zones.length?D3.getZone():void 0;!D3.graphic&&this.group&&e3&&(D3.isNew=true)}this.closestPointRangePx=t3;q(this,"afterTranslate")};a3.prototype.getValidPoints=function(b3,a4,c3){var d3=this.chart;return(b3||this.points||[]).filter((function(b4){return a4&&!d3.isInsidePlot(b4.plotX,b4.plotY,{inverted:d3.inverted})?false:false!==b4.visible&&(c3||!b4.isNull)}))};a3.prototype.getClipBox=function(){var b3=this.chart,a4=this.xAxis,c3=this.yAxis,d3=T2(b3.clipBox);a4&&a4.len!==b3.plotSizeX&&(d3.width=a4.len);c3&&c3.len!==b3.plotSizeY&&(d3.height=c3.len);return d3};a3.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)};a3.prototype.setClip=function(){var b3=this.chart,a4=this.group,c3=this.markerGroup,d3=b3.sharedClips;b3=b3.renderer;var e3=this.getClipBox(),f3=this.getSharedClipKey(),h3=d3[f3];h3?h3.animate(e3):d3[f3]=h3=b3.clipRect(e3);a4&&a4.clip(false===this.options.clip?void 0:h3);c3&&c3.clip()};a3.prototype.animate=function(b3){var a4=this.chart,c3=this.group,d3=this.markerGroup,f3=a4.inverted,h3=e2(this.options.animation),g4=[this.getSharedClipKey(),h3.duration,h3.easing,h3.defer].join(),k3=a4.sharedClips[g4],n3=a4.sharedClips[g4+"m"];if(b3&&c3)h3=this.getClipBox(),k3?k3.attr("height",h3.height):(h3.width=0,f3&&(h3.x=a4.plotHeight),k3=a4.renderer.clipRect(h3),a4.sharedClips[g4]=k3,n3=a4.renderer.clipRect({x:-99,y:-99,width:f3?a4.plotWidth+199:99,height:f3?99:a4.plotHeight+199}),a4.sharedClips[g4+"m"]=n3),c3.clip(k3),d3&&d3.clip(n3);else if(k3&&!k3.hasClass("highcharts-animating")){a4=this.getClipBox();var m3=h3.step;d3&&d3.element.childNodes.length&&(h3.step=function(b4,a5){m3&&m3.apply(a5,arguments);"width"===a5.prop&&n3&&n3.element&&n3.attr(f3?"height":"width",b4+99)});k3.addClass("highcharts-animating").animate(a4,h3)}};a3.prototype.afterAnimate=function(){var b3=this;this.setClip();Y(this.chart.sharedClips,(function(a4,c3,d3){a4&&!b3.chart.container.querySelector('[clip-path="url(#'.concat(a4.id,')"]'))&&(a4.destroy(),delete d3[c3])}));this.finishedAnimating=true;q(this,"afterAnimate")};a3.prototype.drawPoints=function(b3){void 0===b3&&(b3=this.points);var a4=this.chart,c3=a4.styledMode,d3=this.colorAxis,e3=this.options.marker,f3=this[this.specialGroup||"markerGroup"],h3=this.xAxis,g4=v2(e3.enabled,!h3||h3.isRadial?true:null,this.closestPointRangePx>=e3.enabledThreshold*e3.radius),k3,n3;if(false!==e3.enabled||this._hasPointMarkers)for(k3=0;k3<b3.length;k3++){var m3=b3[k3];var l3=(n3=m3.graphic)?"animate":"attr";var q2=m3.marker||{};var p3=!!m3.marker;if((g4&&"undefined"===typeof q2.enabled||q2.enabled)&&!m3.isNull&&false!==m3.visible){var u3=v2(q2.symbol,this.symbol,"rect");var G=this.markerAttribs(m3,m3.selected&&"select");this.enabledDataSorting&&(m3.startXPos=h3.reversed?-(G.width||0):h3.width);var r3=false!==m3.isInside;!n3&&r3&&(0<(G.width||0)||m3.hasImage)&&(m3.graphic=n3=a4.renderer.symbol(u3,G.x,G.y,G.width,G.height,p3?q2:e3).add(f3),this.enabledDataSorting&&a4.hasRendered&&(n3.attr({x:m3.startXPos}),l3="animate"));n3&&"animate"===l3&&n3[r3?"show":"hide"](r3).animate(G);if(n3)if(q2=this.pointAttribs(m3,c3||!m3.selected?void 0:"select"),c3)d3&&n3.css({fill:q2.fill});else n3[l3](q2);n3&&n3.addClass(m3.getClassName(),true)}else n3&&(m3.graphic=n3.destroy())}};a3.prototype.markerAttribs=function(b3,a4){var c3=this.options,d3=c3.marker,e3=b3.marker||{},f3=e3.symbol||d3.symbol,h3={},g4=v2(e3.radius,d3&&d3.radius);a4&&(d3=d3.states[a4],a4=e3.states&&e3.states[a4],g4=v2(a4&&a4.radius,d3&&d3.radius,g4&&g4+(d3&&d3.radiusPlus||0)));b3.hasImage=f3&&0===f3.indexOf("url");b3.hasImage&&(g4=0);b3=b3.pos();O2(g4)&&b3&&(h3.x=b3[0]-g4,h3.y=b3[1]-g4,c3.crisp&&(h3.x=Math.floor(h3.x)));g4&&(h3.width=h3.height=2*g4);return h3};a3.prototype.pointAttribs=function(b3,a4){var c3=this.options.marker,d3=b3&&b3.options,e3=d3&&d3.marker||{},f3=d3&&d3.color,h3=b3&&b3.color,g4=b3&&b3.zone&&b3.zone.color,k3=this.color;b3=v2(e3.lineWidth,c3.lineWidth);d3=1;k3=f3||g4||h3||k3;f3=e3.fillColor||c3.fillColor||k3;h3=e3.lineColor||c3.lineColor||k3;a4=a4||"normal";c3=c3.states[a4]||{};a4=e3.states&&e3.states[a4]||{};b3=v2(a4.lineWidth,c3.lineWidth,b3+v2(a4.lineWidthPlus,c3.lineWidthPlus,0));f3=a4.fillColor||c3.fillColor||f3;h3=a4.lineColor||c3.lineColor||h3;d3=v2(a4.opacity,c3.opacity,d3);return{stroke:h3,"stroke-width":b3,fill:f3,opacity:d3}};a3.prototype.destroy=function(b3){var a4=this,c3=a4.chart,d3=/AppleWebKit\/533/.test(D2.navigator.userAgent),e3=a4.data||[],f3,h3,g4,k3;q(a4,"destroy",{keepEventsForUpdate:b3});this.removeEvents(b3);(a4.axisTypes||[]).forEach((function(b4){(k3=a4[b4])&&k3.series&&(n2(k3.series,a4),k3.isDirty=k3.forceRedraw=true)}));a4.legendItem&&a4.chart.legend.destroyItem(a4);for(h3=e3.length;h3--;)(g4=e3[h3])&&g4.destroy&&g4.destroy();a4.clips&&a4.clips.forEach((function(b4){return b4.destroy()}));l2.clearTimeout(a4.animationTimeout);Y(a4,(function(b4,a5){b4 instanceof r2&&!b4.survive&&(f3=d3&&"group"===a5?"hide":"destroy",b4[f3]())}));c3.hoverSeries===a4&&(c3.hoverSeries=void 0);n2(c3.series,a4);c3.orderSeries();Y(a4,(function(c4,d4){b3&&"hcEvents"===d4||delete a4[d4]}))};a3.prototype.applyZones=function(){var b3=this,a4=this.chart,c3=a4.renderer,d3=this.zones,e3=this.clips||[],f3=this.graph,h3=this.area,g4=Math.max(a4.plotWidth,a4.plotHeight),k3=this[(this.zoneAxis||"y")+"Axis"],n3=a4.inverted,m3,l3,q2,p3,u3,r3,z3,w3,t3=false;if(d3.length&&(f3||h3)&&k3&&"undefined"!==typeof k3.min){var D3=k3.reversed;var E3=k3.horiz;f3&&!this.showLine&&f3.hide();h3&&h3.hide();var A3=k3.getExtremes();d3.forEach((function(d4,G){m3=D3?E3?a4.plotWidth:0:E3?0:k3.toPixels(A3.min)||0;m3=y2(v2(l3,m3),0,g4);l3=y2(Math.round(k3.toPixels(v2(d4.value,A3.max),true)||0),0,g4);t3&&(m3=l3=k3.toPixels(A3.max));p3=Math.abs(m3-l3);u3=Math.min(m3,l3);r3=Math.max(m3,l3);k3.isXAxis?(q2={x:n3?r3:u3,y:0,width:p3,height:g4},E3||(q2.x=a4.plotHeight-q2.x)):(q2={x:0,y:n3?r3:u3,width:g4,height:p3},E3&&(q2.y=a4.plotWidth-q2.y));n3&&c3.isVML&&(q2=k3.isXAxis?{x:0,y:D3?u3:r3,height:q2.width,width:a4.chartWidth}:{x:q2.y-a4.plotLeft-a4.spacingBox.x,y:0,width:q2.height,height:a4.chartHeight});e3[G]?e3[G].animate(q2):e3[G]=c3.clipRect(q2);z3=b3["zone-area-"+G];w3=b3["zone-graph-"+G];f3&&w3&&w3.clip(e3[G]);h3&&z3&&z3.clip(e3[G]);t3=d4.value>A3.max;b3.resetZones&&0===l3&&(l3=void 0)}));this.clips=e3}else b3.visible&&(f3&&f3.show(),h3&&h3.show())};a3.prototype.plotGroup=function(b3,a4,c3,d3,e3){var h3=this[b3],g4=!h3;c3={visibility:c3,zIndex:d3||.1};"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(c3.opacity=this.opacity);g4&&(this[b3]=h3=this.chart.renderer.g().add(e3));h3.addClass("highcharts-"+a4+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(f2(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(h3.hasClass("highcharts-tracker")?" highcharts-tracker":""),true);h3.attr(c3)[g4?"attr":"animate"](this.getPlotBox(a4));return h3};a3.prototype.getPlotBox=function(b3){var a4=this.xAxis,c3=this.yAxis,d3=this.chart;b3=d3.inverted&&!d3.polar&&a4&&false!==this.invertible&&"series"===b3;d3.inverted&&(a4=c3,c3=this.xAxis);return{translateX:a4?a4.left:d3.plotLeft,translateY:c3?c3.top:d3.plotTop,rotation:b3?90:0,rotationOriginX:b3?(a4.len-c3.len)/2:0,rotationOriginY:b3?(a4.len+c3.len)/2:0,scaleX:b3?-1:1,scaleY:1}};a3.prototype.removeEvents=function(b3){b3||U(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(b4){b4()})),this.eventsToUnbind.length=0)};a3.prototype.render=function(){var b3=this,a4=b3.chart,c3=b3.options,d3=e2(c3.animation),f3=b3.visible?"inherit":"hidden",h3=c3.zIndex,g4=b3.hasRendered,k3=a4.seriesGroup;a4=!b3.finishedAnimating&&a4.renderer.isSVG?d3.duration:0;q(this,"render");b3.plotGroup("group","series",f3,h3,k3);b3.markerGroup=b3.plotGroup("markerGroup","markers",f3,h3,k3);false!==c3.clip&&b3.setClip();b3.animate&&a4&&b3.animate(true);b3.drawGraph&&(b3.drawGraph(),b3.applyZones());b3.visible&&b3.drawPoints();b3.drawDataLabels&&b3.drawDataLabels();b3.redrawPoints&&b3.redrawPoints();b3.drawTracker&&false!==b3.options.enableMouseTracking&&b3.drawTracker();b3.animate&&a4&&b3.animate();g4||(a4&&d3.defer&&(a4+=d3.defer),b3.animationTimeout=ca((function(){b3.afterAnimate()}),a4||0));b3.isDirty=false;b3.hasRendered=true;q(b3,"afterRender")};a3.prototype.redraw=function(){var b3=this.isDirty||this.isDirtyData;this.translate();this.render();b3&&delete this.kdTree};a3.prototype.searchPoint=function(b3,a4){var c3=this.xAxis,d3=this.yAxis,e3=this.chart.inverted;return this.searchKDTree({clientX:e3?c3.len-b3.chartY+c3.pos:b3.chartX-c3.pos,plotY:e3?d3.len-b3.chartX+d3.pos:b3.chartY-d3.pos},a4,b3)};a3.prototype.buildKDTree=function(b3){function a4(b4,d4,e3){var f3=b4&&b4.length;if(f3){var h3=c3.kdAxisArray[d4%e3];b4.sort((function(b5,a5){return b5[h3]-a5[h3]}));f3=Math.floor(f3/2);return{point:b4[f3],left:a4(b4.slice(0,f3),d4+1,e3),right:a4(b4.slice(f3+1),d4+1,e3)}}}this.buildingKdTree=true;var c3=this,d3=-1<c3.options.findNearestPointBy.indexOf("y")?2:1;delete c3.kdTree;ca((function(){c3.kdTree=a4(c3.getValidPoints(null,!c3.directTouch),d3,d3);c3.buildingKdTree=false}),c3.options.kdNow||b3&&"touchstart"===b3.type?0:1)};a3.prototype.searchKDTree=function(b3,a4,c3){function d3(b4,a5,c4,n3){var m3=a5.point,l3=e3.kdAxisArray[c4%n3],q2=m3,p3=f2(b4[h3])&&f2(m3[h3])?Math.pow(b4[h3]-m3[h3],2):null;var u3=f2(b4[g4])&&f2(m3[g4])?Math.pow(b4[g4]-m3[g4],2):null;u3=(p3||0)+(u3||0);m3.dist=f2(u3)?Math.sqrt(u3):Number.MAX_VALUE;m3.distX=f2(p3)?Math.sqrt(p3):Number.MAX_VALUE;l3=b4[l3]-m3[l3];u3=0>l3?"left":"right";p3=0>l3?"right":"left";a5[u3]&&(u3=d3(b4,a5[u3],c4+1,n3),q2=u3[k3]<q2[k3]?u3:m3);a5[p3]&&Math.sqrt(l3*l3)<q2[k3]&&(b4=d3(b4,a5[p3],c4+1,n3),q2=b4[k3]<q2[k3]?b4:q2);return q2}var e3=this,h3=this.kdAxisArray[0],g4=this.kdAxisArray[1],k3=a4?"distX":"dist";a4=-1<e3.options.findNearestPointBy.indexOf("y")?2:1;this.kdTree||this.buildingKdTree||this.buildKDTree(c3);if(this.kdTree)return d3(b3,this.kdTree,a4,a4)};a3.prototype.pointPlacementToXValue=function(){var b3=this.options,a4=b3.pointRange,c3=this.xAxis;b3=b3.pointPlacement;"between"===b3&&(b3=c3.reversed?-.5:.5);return O2(b3)?b3*(a4||c3.pointRange):0};a3.prototype.isPointInside=function(b3){var a4=this.chart,c3=this.xAxis,d3=this.yAxis;return"undefined"!==typeof b3.plotY&&"undefined"!==typeof b3.plotX&&0<=b3.plotY&&b3.plotY<=(d3?d3.len:a4.plotHeight)&&0<=b3.plotX&&b3.plotX<=(c3?c3.len:a4.plotWidth)};a3.prototype.drawTracker=function(){var b3=this,a4=b3.options,c3=a4.trackByArea,d3=[].concat(c3?b3.areaPath:b3.graphPath),e3=b3.chart,f3=e3.pointer,h3=e3.renderer,g4=e3.options.tooltip.snap,n3=b3.tracker,m3=function(a5){if(e3.hoverSeries!==b3)b3.onMouseOver()},l3="rgba(192,192,192,"+(p2?1e-4:.002)+")";n3?n3.attr({d:d3}):b3.graph&&(b3.tracker=h3.path(d3).attr({visibility:b3.visible?"inherit":"hidden",zIndex:2}).addClass(c3?"highcharts-tracker-area":"highcharts-tracker-line").add(b3.group),e3.styledMode||b3.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:l3,fill:c3?l3:"none","stroke-width":b3.graph.strokeWidth()+(c3?0:2*g4)}),[b3.tracker,b3.markerGroup,b3.dataLabelsGroup].forEach((function(b4){if(b4&&(b4.addClass("highcharts-tracker").on("mouseover",m3).on("mouseout",(function(b5){f3.onTrackerMouseOut(b5)})),a4.cursor&&!e3.styledMode&&b4.css({cursor:a4.cursor}),k2))b4.on("touchstart",m3)})));q(this,"afterDrawTracker")};a3.prototype.addPoint=function(b3,a4,c3,d3,e3){var f3=this.options,h3=this.data,g4=this.chart,k3=this.xAxis;k3=k3&&k3.hasNames&&k3.names;var n3=f3.data,m3=this.xData,l3;a4=v2(a4,true);var p3={series:this};this.pointClass.prototype.applyOptions.apply(p3,[b3]);var u3=p3.x;var r3=m3.length;if(this.requireSorting&&u3<m3[r3-1])for(l3=true;r3&&m3[r3-1]>u3;)r3--;this.updateParallelArrays(p3,"splice",r3,0,0);this.updateParallelArrays(p3,r3);k3&&p3.name&&(k3[u3]=p3.name);n3.splice(r3,0,b3);if(l3||this.processedData)this.data.splice(r3,0,null),this.processData();"point"===f3.legendType&&this.generatePoints();c3&&(h3[0]&&h3[0].remove?h3[0].remove(false):(h3.shift(),this.updateParallelArrays(p3,"shift"),n3.shift()));false!==e3&&q(this,"addPoint",{point:p3});this.isDirtyData=this.isDirty=true;a4&&g4.redraw(d3)};a3.prototype.removePoint=function(b3,a4,c3){var e3=this,f3=e3.data,h3=f3[b3],g4=e3.points,k3=e3.chart,n3=function(){g4&&g4.length===f3.length&&g4.splice(b3,1);f3.splice(b3,1);e3.options.data.splice(b3,1);e3.updateParallelArrays(h3||{series:e3},"splice",b3,1);h3&&h3.destroy();e3.isDirty=true;e3.isDirtyData=true;a4&&k3.redraw()};d2(c3,k3);a4=v2(a4,true);h3?h3.firePointEvent("remove",null,n3):n3()};a3.prototype.remove=function(b3,a4,c3,d3){function e3(){f3.destroy(d3);h3.isDirtyLegend=h3.isDirtyBox=true;h3.linkSeries();v2(b3,true)&&h3.redraw(a4)}var f3=this,h3=f3.chart;false!==c3?q(f3,"remove",null,e3):e3()};a3.prototype.update=function(a4,d3){a4=c2(a4,this.userOptions);q(this,"update",{options:a4});var e3=this,f3=e3.chart,h3=e3.userOptions,g4=e3.initialType||e3.type,k3=f3.options.plotOptions,n3=A2[g4].prototype,m3=e3.finishedAnimating&&{animation:false},l3={},p3=["eventOptions","navigatorSeries","baseSeries"],r3=a4.type||h3.type||f3.options.chart.type,z3=!(this.hasDerivedData||r3&&r3!==this.type||"undefined"!==typeof a4.pointStart||"undefined"!==typeof a4.pointInterval||"undefined"!==typeof a4.relativeXValue||a4.joinBy||a4.mapData||e3.hasOptionChanged("dataGrouping")||e3.hasOptionChanged("pointStart")||e3.hasOptionChanged("pointInterval")||e3.hasOptionChanged("pointIntervalUnit")||e3.hasOptionChanged("keys"));r3=r3||g4;z3&&(p3.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),false!==a4.visible&&p3.push("area","graph"),e3.parallelArrays.forEach((function(b3){p3.push(b3+"Data")})),a4.data&&(a4.dataSorting&&u2(e3.options.dataSorting,a4.dataSorting),this.setData(a4.data,false)));a4=T2(h3,m3,{index:"undefined"===typeof h3.index?e3.index:h3.index,pointStart:v2(k3&&k3.series&&k3.series.pointStart,h3.pointStart,e3.xData[0])},!z3&&{data:e3.options.data},a4);z3&&a4.data&&(a4.data=e3.options.data);p3=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(p3);p3.forEach((function(b3){p3[b3]=e3[b3];delete e3[b3]}));k3=false;if(A2[r3]){if(k3=r3!==e3.type,e3.remove(false,false,false,true),k3)if(Object.setPrototypeOf)Object.setPrototypeOf(e3,A2[r3].prototype);else{m3=Object.hasOwnProperty.call(e3,"hcEvents")&&e3.hcEvents;for(w3 in n3)e3[w3]=void 0;u2(e3,A2[r3].prototype);m3?e3.hcEvents=m3:delete e3.hcEvents}}else b2(17,true,f3,{missingModuleFor:r3});p3.forEach((function(b3){e3[b3]=p3[b3]}));e3.init(f3,a4);if(z3&&this.points){a4=e3.options;if(false===a4.visible)l3.graphic=1,l3.dataLabel=1;else if(!e3._hasPointLabels){n3=a4.marker;var w3=a4.dataLabels;h3=h3.marker||{};!n3||false!==n3.enabled&&h3.symbol===n3.symbol&&h3.height===n3.height&&h3.width===n3.width||(l3.graphic=1);w3&&false===w3.enabled&&(l3.dataLabel=1)}h3=0;for(n3=this.points;h3<n3.length;h3++)(w3=n3[h3])&&w3.series&&(w3.resolveColor(),Object.keys(l3).length&&w3.destroyElements(l3),false===a4.showInLegend&&w3.legendItem&&f3.legend.destroyItem(w3))}e3.initialType=g4;f3.linkSeries();k3&&e3.linkedSeries.length&&(e3.isDirtyData=true);q(this,"afterUpdate");v2(d3,true)&&f3.redraw(z3?void 0:false)};a3.prototype.setName=function(b3){this.name=this.options.name=this.userOptions.name=b3;this.chart.isDirtyLegend=true};a3.prototype.hasOptionChanged=function(b3){var a4=this.options[b3],c3=this.chart.options.plotOptions,d3=this.userOptions[b3];return d3?a4!==d3:a4!==v2(c3&&c3[this.type]&&c3[this.type][b3],c3&&c3.series&&c3.series[b3],a4)};a3.prototype.onMouseOver=function(){var b3=this.chart,a4=b3.hoverSeries;b3.pointer.setHoverChartIndex();if(a4&&a4!==this)a4.onMouseOut();this.options.events.mouseOver&&q(this,"mouseOver");this.setState("hover");b3.hoverSeries=this};a3.prototype.onMouseOut=function(){var b3=this.options,a4=this.chart,c3=a4.tooltip,d3=a4.hoverPoint;a4.hoverSeries=null;if(d3)d3.onMouseOut();this&&b3.events.mouseOut&&q(this,"mouseOut");!c3||this.stickyTracking||c3.shared&&!this.noSharedTooltip||c3.hide();a4.series.forEach((function(b4){b4.setState("",true)}))};a3.prototype.setState=function(b3,a4){var c3=this,d3=c3.options,e3=c3.graph,f3=d3.inactiveOtherPoints,h3=d3.states,g4=v2(h3[b3||"normal"]&&h3[b3||"normal"].animation,c3.chart.options.chart.animation),k3=d3.lineWidth,n3=0,m3=d3.opacity;b3=b3||"";if(c3.state!==b3&&([c3.group,c3.markerGroup,c3.dataLabelsGroup].forEach((function(a5){a5&&(c3.state&&a5.removeClass("highcharts-series-"+c3.state),b3&&a5.addClass("highcharts-series-"+b3))})),c3.state=b3,!c3.chart.styledMode)){if(h3[b3]&&false===h3[b3].enabled)return;b3&&(k3=h3[b3].lineWidth||k3+(h3[b3].lineWidthPlus||0),m3=v2(h3[b3].opacity,m3));if(e3&&!e3.dashstyle&&O2(k3))for(d3={"stroke-width":k3},e3.animate(d3,g4);c3["zone-graph-"+n3];)c3["zone-graph-"+n3].animate(d3,g4),n3+=1;f3||[c3.group,c3.markerGroup,c3.dataLabelsGroup,c3.labelBySeries].forEach((function(b4){b4&&b4.animate({opacity:m3},g4)}))}a4&&f3&&c3.points&&c3.setAllPointsToState(b3||void 0)};a3.prototype.setAllPointsToState=function(b3){this.points.forEach((function(a4){a4.setState&&a4.setState(b3)}))};a3.prototype.setVisible=function(b3,a4){var c3=this,d3=c3.chart,e3=d3.options.chart.ignoreHiddenSeries,f3=c3.visible,h3=(c3.visible=b3=c3.options.visible=c3.userOptions.visible="undefined"===typeof b3?!f3:b3)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(b4){if(c3[b4])c3[b4][h3]()}));if(d3.hoverSeries===c3||(d3.hoverPoint&&d3.hoverPoint.series)===c3)c3.onMouseOut();c3.legendItem&&d3.legend.colorizeItem(c3,b3);c3.isDirty=true;c3.options.stacking&&d3.series.forEach((function(b4){b4.options.stacking&&b4.visible&&(b4.isDirty=true)}));c3.linkedSeries.forEach((function(a5){a5.setVisible(b3,false)}));e3&&(d3.isDirtyBox=true);q(c3,h3);false!==a4&&d3.redraw()};a3.prototype.show=function(){this.setVisible(true)};a3.prototype.hide=function(){this.setVisible(false)};a3.prototype.select=function(b3){this.selected=b3=this.options.selected="undefined"===typeof b3?!this.selected:b3;this.checkbox&&(this.checkbox.checked=b3);q(this,b3?"select":"unselect")};a3.prototype.shouldShowTooltip=function(b3,a4,c3){void 0===c3&&(c3={});c3.series=this;c3.visiblePlotOnly=true;return this.chart.isInsidePlot(b3,a4,c3)};a3.defaultOptions=H2;a3.types=t2.seriesTypes;a3.registerType=t2.registerSeriesType;return a3}();u2(a2.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:false,drawLegendSymbol:C2.drawLineMarker,isCartesian:true,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:B,requireSorting:true,sorted:true});t2.series=a2;return a2}));K(g2,"Extensions/ScrollablePlotArea.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Axis/Axis.js"],g2["Core/Chart/Chart.js"],g2["Core/Series/Series.js"],g2["Core/Renderer/RendererRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B){var A2=a2.stop,t2=B.addEvent,r2=B.createElement,l2=B.defined,e2=B.merge,d2=B.pick;t2(x2,"afterSetChartSize",(function(a3){var d3=this.options.chart.scrollablePlotArea,h2=d3&&d3.minWidth;d3=d3&&d3.minHeight;if(!this.renderer.forExport){if(h2){if(this.scrollablePixelsX=h2=Math.max(0,h2-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=e2(this.plotBox);this.plotBox.width=this.plotWidth+=h2;this.inverted?this.clipBox.height+=h2:this.clipBox.width+=h2;var p2={1:{name:"right",value:h2}}}}else d3&&(this.scrollablePixelsY=h2=Math.max(0,d3-this.chartHeight),l2(h2)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=e2(this.plotBox),this.plotBox.height=this.plotHeight+=h2,this.inverted?this.clipBox.width+=h2:this.clipBox.height+=h2,p2={2:{name:"bottom",value:h2}}));p2&&!a3.skipAxes&&this.axes.forEach((function(a4){p2[a4.side]?a4.getPlotLinePath=function(){var d4=p2[a4.side].name,e3=this[d4];this[d4]=e3-p2[a4.side].value;var h3=g3.prototype.getPlotLinePath.apply(this,arguments);this[d4]=e3;return h3}:(a4.setAxisSize(),a4.setAxisTranslation())}))}}));t2(x2,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}));x2.prototype.setUpScrolling=function(){var a3=this,d3={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(d3.overflowX="auto");this.scrollablePixelsY&&(d3.overflowY="auto");this.scrollingParent=r2("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo);this.scrollingContainer=r2("div",{className:"highcharts-scrolling"},d3,this.scrollingParent);var e3;t2(this.scrollingContainer,"scroll",(function(){a3.pointer&&(delete a3.pointer.chartPosition,a3.hoverPoint&&(e3=a3.hoverPoint),a3.pointer.runPointActions(void 0,e3,true))}));this.innerContainer=r2("div",{className:"highcharts-inner-container"},null,this.scrollingContainer);this.innerContainer.appendChild(this.container);this.setUpScrolling=null};x2.prototype.moveFixedElements=function(){var a3=this.container,d3=this.fixedRenderer,e3=".highcharts-breadcrumbs-group .highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),g4;this.scrollablePixelsX&&!this.inverted?g4=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?g4=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?g4=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(g4=".highcharts-yaxis");g4&&e3.push(""+g4+":not(.highcharts-radial-axis)",""+g4+"-labels:not(.highcharts-radial-axis-labels)");e3.forEach((function(e4){[].forEach.call(a3.querySelectorAll(e4),(function(a4){(a4.namespaceURI===d3.SVG_NS?d3.box:d3.box.parentNode).appendChild(a4);a4.style.pointerEvents="auto"}))}))};x2.prototype.applyFixed=function(){var a3=!this.fixedDiv,e3=this.options.chart,g4=e3.scrollablePlotArea,l3=C2.getRendererType();a3?(this.fixedDiv=r2("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e3.style&&e3.style.zIndex||0)+2,top:0},null,true),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e3=new l3(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e3.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":d2(g4.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),t2(this,"afterShowResetZoom",this.moveFixedElements),t2(this,"afterApplyDrilldown",this.moveFixedElements),t2(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight);if(this.scrollableDirty||a3)this.scrollableDirty=false,this.moveFixedElements();e3=this.chartWidth+(this.scrollablePixelsX||0);l3=this.chartHeight+(this.scrollablePixelsY||0);A2(this.container);this.container.style.width=e3+"px";this.container.style.height=l3+"px";this.renderer.boxWrapper.attr({width:e3,height:l3,viewBox:[0,0,e3,l3].join(" ")});this.chartBackground.attr({width:e3,height:l3});this.scrollingContainer.style.height=this.chartHeight+"px";a3&&(g4.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*g4.scrollPositionX),g4.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*g4.scrollPositionY));l3=this.axisOffset;a3=this.plotTop-l3[0]-1;g4=this.plotLeft-l3[3]-1;e3=this.plotTop+this.plotHeight+l3[2]+1;l3=this.plotLeft+this.plotWidth+l3[1]+1;var D2=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),x3=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);a3=this.scrollablePixelsX?[["M",0,a3],["L",this.plotLeft-1,a3],["L",this.plotLeft-1,e3],["L",0,e3],["Z"],["M",D2,a3],["L",this.chartWidth,a3],["L",this.chartWidth,e3],["L",D2,e3],["Z"]]:this.scrollablePixelsY?[["M",g4,0],["L",g4,this.plotTop-1],["L",l3,this.plotTop-1],["L",l3,0],["Z"],["M",g4,x3],["L",g4,this.chartHeight],["L",l3,this.chartHeight],["L",l3,x3],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:a3})};t2(g3,"afterInit",(function(){this.chart.scrollableDirty=true}));t2(F2,"show",(function(){this.chart.scrollableDirty=true}))}));K(g2,"Core/Axis/Stacking/StackItem.js",[g2["Core/FormatUtilities.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=a2.format,C2=g3.series,B=x2.destroyObjectProperties,H2=x2.pick,t2=x2.isNumber;a2=function(){function a3(a4,e2,d2,h2,g4){var k2=a4.chart.inverted,m2=a4.reversed;this.axis=a4;a4=this.isNegative=!!d2!==!!m2;this.options=e2=e2||{};this.x=h2;this.cumulative=this.total=null;this.points={};this.hasValidPoints=false;this.stack=g4;this.rightCliff=this.leftCliff=0;this.alignOptions={align:e2.align||(k2?a4?"left":"right":"center"),verticalAlign:e2.verticalAlign||(k2?"middle":a4?"bottom":"top"),y:e2.y,x:e2.x};this.textAlign=e2.textAlign||(k2?a4?"right":"left":"center")}a3.prototype.destroy=function(){B(this,this.axis)};a3.prototype.render=function(a4){var e2=this.axis.chart,d2=this.options,h2=d2.format;h2=h2?A2(h2,this,e2):d2.formatter.call(this);this.label?this.label.attr({text:h2,visibility:"hidden"}):(this.label=e2.renderer.label(h2,null,void 0,d2.shape,void 0,void 0,d2.useHTML,false,"stack-labels"),h2={r:d2.borderRadius||0,text:h2,padding:H2(d2.padding,5),visibility:"hidden"},e2.styledMode||(h2.fill=d2.backgroundColor,h2.stroke=d2.borderColor,h2["stroke-width"]=d2.borderWidth,this.label.css(d2.style||{})),this.label.attr(h2),this.label.added||this.label.add(a4));this.label.labelrank=e2.plotSizeY};a3.prototype.setOffset=function(a4,e2,d2,h2,g4,k2){var m2=this.alignOptions,l2=this.axis,r2=this.label,E2=this.options,A3=this.textAlign,y2=l2.chart;a4=this.getStackBox({xOffset:a4,width:e2,boxBottom:d2,boxTop:h2,defaultX:g4,xAxis:k2});g4=m2.verticalAlign;r2&&a4&&(e2=r2.getBBox(),d2=r2.padding,h2="justify"===H2(E2.overflow,"justify"),m2.x=E2.x||0,m2.y=E2.y||0,g4=this.adjustStackPosition({labelBox:e2,verticalAlign:g4,textAlign:A3}),A3=g4.x,g4=g4.y,a4.x-=A3,a4.y-=g4,r2.align(m2,false,a4),(A3=y2.isInsidePlot(r2.alignAttr.x+m2.x+A3,r2.alignAttr.y+m2.y+g4))||(h2=false),h2&&C2.prototype.justifyDataLabel.call(l2,r2,m2,r2.alignAttr,e2,a4),r2.attr({x:r2.alignAttr.x,y:r2.alignAttr.y,rotation:E2.rotation,rotationOriginX:e2.width/2,rotationOriginY:e2.height/2}),H2(!h2&&E2.crop,true)&&(A3=t2(r2.x)&&t2(r2.y)&&y2.isInsidePlot(r2.x-d2+r2.width,r2.y)&&y2.isInsidePlot(r2.x+d2,r2.y)),r2[A3?"show":"hide"]())};a3.prototype.adjustStackPosition=function(a4){var e2=a4.labelBox,d2={bottom:0,middle:1,top:2,right:1,center:0,left:-1};return{x:e2.width/2+e2.width/2*d2[a4.textAlign],y:e2.height/2*d2[a4.verticalAlign]}};a3.prototype.getStackBox=function(a4){var e2=this.axis,d2=e2.chart,h2=a4.boxTop,g4=a4.defaultX,k2=a4.xOffset,l2=a4.width,r2=a4.boxBottom;h2=e2.stacking.usePercentage?100:H2(h2,this.total,0);h2=e2.toPixels(h2);a4=H2(g4,(a4.xAxis||d2.xAxis[0]).toPixels(this.x))+k2;e2=e2.toPixels(r2?r2:0);e2=Math.abs(h2-e2);r2=this.isNegative;return d2.inverted?{x:(r2?h2:h2-e2)-d2.plotLeft,y:a4-d2.plotTop,width:e2,height:l2}:{x:a4-d2.plotLeft,y:(r2?h2-e2:h2)-d2.plotTop,width:l2,height:e2}};return a3}();return a2}));K(g2,"Core/Axis/Stacking/StackingAxis.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Axis/Axis.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Axis/Stacking/StackItem.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2){function A2(){var b3=this,a3=b3.inverted;b3.yAxis.forEach((function(b4){b4.stacking&&b4.stacking.stacks&&b4.hasVisibleSeries&&(b4.stacking.oldStacks=b4.stacking.stacks)}));b3.series.forEach((function(c3){var d3=c3.xAxis&&c3.xAxis.options||{};!c3.options.stacking||true!==c3.visible&&false!==b3.options.chart.ignoreHiddenSeries||(c3.stackKey=[c3.type,f2(c3.options.stack,""),a3?d3.top:d3.left,a3?d3.height:d3.width].join())}))}function H2(){var b3=this.stacking;if(b3){var a3=b3.stacks;w2(a3,(function(b4,c3){E2(b4);a3[c3]=null}));b3&&b3.stackTotalGroup&&b3.stackTotalGroup.destroy()}}function t2(){"yAxis"!==this.coll||this.stacking||(this.stacking=new n2(this))}function r2(b3,a3,c3,d3){!I(b3)||b3.x!==a3||d3&&b3.stackKey!==d3?b3={x:a3,index:0,key:d3,stackKey:d3}:b3.index++;b3.key=[c3,a3,b3.index].join();return b3}function l2(){var b3=this,a3=b3.stackKey,c3=b3.yAxis.stacking.stacks,d3=b3.processedXData,e3=b3[b3.options.stacking+"Stacker"],f3;e3&&[a3,"-"+a3].forEach((function(a4){for(var h3=d3.length,g4,k3;h3--;)g4=d3[h3],f3=b3.getStackIndicator(f3,g4,b3.index,a4),(k3=(g4=c3[a4]&&c3[a4][g4])&&g4.points[f3.key])&&e3.call(b3,k3,g4,h3)}))}function e2(b3,a3,c3){a3=a3.total?100/a3.total:0;b3[0]=D2(b3[0]*a3);b3[1]=D2(b3[1]*a3);this.stackedYData[c3]=b3[1]}function d2(){var b3=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?k2.setStackedPoints.call(this,"group"):b3&&w2(b3.stacks,(function(a3,c3){"group"===c3.slice(-5)&&(w2(a3,(function(b4){return b4.destroy()})),delete b3.stacks[c3])}))}function h2(b3){var a3=this.chart,c3=b3||this.options.stacking;if(c3&&(true===this.visible||false===a3.options.chart.ignoreHiddenSeries)){var d3=this.processedXData,e3=this.processedYData,h3=[],g4=e3.length,k3=this.options,n3=k3.threshold,m3=f2(k3.startFromThreshold&&n3,0);k3=k3.stack;b3=b3?""+this.type+",".concat(c3):this.stackKey;var l3="-"+b3,p3=this.negStacks;a3="group"===c3?a3.yAxis[0]:this.yAxis;var u2=a3.stacking.stacks,r3=a3.stacking.oldStacks,w3,t3;a3.stacking.stacksTouched+=1;for(t3=0;t3<g4;t3++){var E3=d3[t3];var A3=e3[t3];var x3=this.getStackIndicator(x3,E3,this.index);var C3=x3.key;var B=(w3=p3&&A3<(m3?0:n3))?l3:b3;u2[B]||(u2[B]={});u2[B][E3]||(r3[B]&&r3[B][E3]?(u2[B][E3]=r3[B][E3],u2[B][E3].total=null):u2[B][E3]=new F2(a3,a3.options.stackLabels,!!w3,E3,k3));B=u2[B][E3];null!==A3?(B.points[C3]=B.points[this.index]=[f2(B.cumulative,m3)],I(B.cumulative)||(B.base=C3),B.touched=a3.stacking.stacksTouched,0<x3.index&&false===this.singleStacks&&(B.points[C3][0]=B.points[this.index+","+E3+",0"][0])):B.points[C3]=B.points[this.index]=null;"percent"===c3?(w3=w3?b3:l3,p3&&u2[w3]&&u2[w3][E3]?(w3=u2[w3][E3],B.total=w3.total=Math.max(w3.total,B.total)+Math.abs(A3)||0):B.total=D2(B.total+(Math.abs(A3)||0))):"group"===c3?(y2(A3)&&(A3=A3[0]),null!==A3&&(B.total=(B.total||0)+1)):B.total=D2(B.total+(A3||0));B.cumulative="group"===c3?(B.total||1)-1:f2(B.cumulative,m3)+(A3||0);null!==A3&&(B.points[C3].push(B.cumulative),h3[t3]=B.cumulative,B.hasValidPoints=true)}"percent"===c3&&(a3.stacking.usePercentage=true);"group"!==c3&&(this.stackedYData=h3);a3.stacking.oldStacks={}}}var m2=a2.getDeferredAnimation,k2=x2.series.prototype,p2=C2.addEvent,D2=C2.correctFloat,I=C2.defined,E2=C2.destroyObjectProperties,L2=C2.fireEvent,y2=C2.isArray,c2=C2.isNumber,w2=C2.objectEach,f2=C2.pick,n2=function(){function b3(b4){this.oldStacks={};this.stacks={};this.stacksTouched=0;this.axis=b4}b3.prototype.buildStacks=function(){var b4=this.axis,a3=b4.series,c3=b4.options.reversedStacks,d3=a3.length,e3;this.usePercentage=false;for(e3=d3;e3--;){var f3=a3[c3?e3:d3-e3-1];f3.setStackedPoints();f3.setGroupedPoints()}for(e3=0;e3<d3;e3++)a3[e3].modifyStacks();L2(b4,"afterBuildStacks")};b3.prototype.cleanStacks=function(){if(this.oldStacks)var b4=this.stacks=this.oldStacks;w2(b4,(function(b5){w2(b5,(function(b6){b6.cumulative=b6.total}))}))};b3.prototype.resetStacks=function(){var b4=this;w2(this.stacks,(function(a3){w2(a3,(function(d3,e3){c2(d3.touched)&&d3.touched<b4.stacksTouched?(d3.destroy(),delete a3[e3]):(d3.total=null,d3.cumulative=null)}))}))};b3.prototype.renderStackTotals=function(){var b4=this.axis,a3=b4.chart,c3=a3.renderer,d3=this.stacks;b4=m2(a3,b4.options.stackLabels&&b4.options.stackLabels.animation||false);var e3=this.stackTotalGroup=this.stackTotalGroup||c3.g("stack-labels").attr({zIndex:6,opacity:0}).add();e3.translate(a3.plotLeft,a3.plotTop);w2(d3,(function(b5){w2(b5,(function(b6){b6.render(e3)}))}));e3.animate({opacity:1},b4)};return b3}(),b2;(function(b3){var a3=[];b3.compose=function(b4,c3,f3){-1===a3.indexOf(b4)&&(a3.push(b4),p2(b4,"init",t2),p2(b4,"destroy",H2));-1===a3.indexOf(c3)&&(a3.push(c3),c3.prototype.getStacks=A2);-1===a3.indexOf(f3)&&(a3.push(f3),b4=f3.prototype,b4.getStackIndicator=r2,b4.modifyStacks=l2,b4.percentStacker=e2,b4.setGroupedPoints=d2,b4.setStackedPoints=h2)}})(b2||(b2={}));return b2}));K(g2,"Series/Line/LineSeries.js",[g2["Core/Series/Series.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=this&&this.__extends||function(){var a3=function(g4,r2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e2){a4.__proto__=e2}||function(a4,e2){for(var d2 in e2)e2.hasOwnProperty(d2)&&(a4[d2]=e2[d2])};return a3(g4,r2)};return function(g4,r2){function l2(){this.constructor=g4}a3(g4,r2);g4.prototype=null===r2?Object.create(r2):(l2.prototype=r2.prototype,new l2)}}(),C2=x2.defined,B=x2.merge;x2=function(g4){function t2(){var a3=null!==g4&&g4.apply(this,arguments)||this;a3.data=void 0;a3.options=void 0;a3.points=void 0;return a3}A2(t2,g4);t2.prototype.drawGraph=function(){var a3=this,g5=this.options,e2=(this.gappedPath||this.getGraphPath).call(this),d2=this.chart.styledMode,h2=[["graph","highcharts-graph"]];d2||h2[0].push(g5.lineColor||this.color||"#cccccc",g5.dashStyle);h2=a3.getZonesGraphs(h2);h2.forEach((function(h3,k2){var m2=h3[0],l2=a3[m2],r2=l2?"animate":"attr";l2?(l2.endX=a3.preventGraphAnimation?null:e2.xMap,l2.animate({d:e2})):e2.length&&(a3[m2]=l2=a3.chart.renderer.path(e2).addClass(h3[1]).attr({zIndex:1}).add(a3.group));l2&&!d2&&(m2={stroke:h3[2],"stroke-width":g5.lineWidth||0,fill:a3.fillGraph&&a3.color||"none"},h3[3]?m2.dashstyle=h3[3]:"square"!==g5.linecap&&(m2["stroke-linecap"]=m2["stroke-linejoin"]="round"),l2[r2](m2).shadow(2>k2&&g5.shadow));l2&&(l2.startX=e2.xMap,l2.isArea=e2.isArea)}))};t2.prototype.getGraphPath=function(a3,g5,e2){var d2=this,h2=d2.options,m2=[],k2=[],l2,r2=h2.step;a3=a3||d2.points;var t3=a3.reversed;t3&&a3.reverse();(r2={right:1,center:2}[r2]||r2&&3)&&t3&&(r2=4-r2);a3=this.getValidPoints(a3,false,!(h2.connectNulls&&!g5&&!e2));a3.forEach((function(p2,t4){var y2=p2.plotX,c2=p2.plotY,w2=a3[t4-1];(p2.leftCliff||w2&&w2.rightCliff)&&!e2&&(l2=true);p2.isNull&&!C2(g5)&&0<t4?l2=!h2.connectNulls:p2.isNull&&!g5?l2=true:(0===t4||l2?t4=[["M",p2.plotX,p2.plotY]]:d2.getPointSpline?t4=[d2.getPointSpline(a3,p2,t4)]:r2?(t4=1===r2?[["L",w2.plotX,c2]]:2===r2?[["L",(w2.plotX+y2)/2,w2.plotY],["L",(w2.plotX+y2)/2,c2]]:[["L",y2,w2.plotY]],t4.push(["L",y2,c2])):t4=[["L",y2,c2]],k2.push(p2.x),r2&&(k2.push(p2.x),2===r2&&k2.push(p2.x)),m2.push.apply(m2,t4),l2=false)}));m2.xMap=k2;return d2.graphPath=m2};t2.prototype.getZonesGraphs=function(a3){this.zones.forEach((function(g5,e2){e2=["zone-graph-"+e2,"highcharts-graph highcharts-zone-graph-"+e2+" "+(g5.className||"")];this.chart.styledMode||e2.push(g5.color||this.color,g5.dashStyle||this.options.dashStyle);a3.push(e2)}),this);return a3};t2.defaultOptions=B(a2.defaultOptions,{});return t2}(a2);g3.registerSeriesType("line",x2);return x2}));K(g2,"Series/Area/AreaSeries.js",[g2["Core/Color/Color.js"],g2["Core/Legend/LegendSymbol.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2){var A2=this&&this.__extends||function(){var a3=function(d2,e2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,d3){a4.__proto__=d3}||function(a4,d3){for(var e3 in d3)d3.hasOwnProperty(e3)&&(a4[e3]=d3[e3])};return a3(d2,e2)};return function(d2,e2){function h2(){this.constructor=d2}a3(d2,e2);d2.prototype=null===e2?Object.create(e2):(h2.prototype=e2.prototype,new h2)}}(),B=a2.parse,H2=x2.seriesTypes.line;a2=F2.extend;var t2=F2.merge,r2=F2.objectEach,l2=F2.pick;F2=function(a3){function d2(){var d3=null!==a3&&a3.apply(this,arguments)||this;d3.data=void 0;d3.options=void 0;d3.points=void 0;return d3}A2(d2,a3);d2.prototype.drawGraph=function(){this.areaPath=[];a3.prototype.drawGraph.apply(this);var d3=this,e2=this.areaPath,g4=this.options,p2=[["area","highcharts-area",this.color,g4.fillColor]];this.zones.forEach((function(a4,e3){p2.push(["zone-area-"+e3,"highcharts-area highcharts-zone-area-"+e3+" "+a4.className,a4.color||d3.color,a4.fillColor||g4.fillColor])}));p2.forEach((function(a4){var h2=a4[0],k2={},m2=d3[h2],p3=m2?"animate":"attr";m2?(m2.endX=d3.preventGraphAnimation?null:e2.xMap,m2.animate({d:e2})):(k2.zIndex=0,m2=d3[h2]=d3.chart.renderer.path(e2).addClass(a4[1]).add(d3.group),m2.isArea=true);d3.chart.styledMode||(k2.fill=l2(a4[3],B(a4[2]).setOpacity(l2(g4.fillOpacity,.75)).get()));m2[p3](k2);m2.startX=e2.xMap;m2.shiftUnit=g4.step?2:1}))};d2.prototype.getGraphPath=function(a4){var d3=H2.prototype.getGraphPath,e2=this.options,h2=e2.stacking,g4=this.yAxis,r3=[],t3=[],A3=this.index,y2=g4.stacking.stacks[this.stackKey],c2=e2.threshold,w2=Math.round(g4.getThreshold(e2.threshold));e2=l2(e2.connectNulls,"percent"===h2);var f2=function(b3,d4,e3){var f3=a4[b3];b3=h2&&y2[f3.x].points[A3];var n3=f3[e3+"Null"]||0;e3=f3[e3+"Cliff"]||0;f3=true;if(e3||n3){var k2=(n3?b3[0]:b3[1])+e3;var m2=b3[0]+e3;f3=!!n3}else!h2&&a4[d4]&&a4[d4].isNull&&(k2=m2=c2);"undefined"!==typeof k2&&(t3.push({plotX:z2,plotY:null===k2?w2:g4.getThreshold(k2),isNull:f3,isCliff:true}),r3.push({plotX:z2,plotY:null===m2?w2:g4.getThreshold(m2),doCurve:false}))};a4=a4||this.points;h2&&(a4=this.getStackPoints(a4));for(var n2=0,b2=a4.length;n2<b2;++n2){h2||(a4[n2].leftCliff=a4[n2].rightCliff=a4[n2].leftNull=a4[n2].rightNull=void 0);var u2=a4[n2].isNull;var z2=l2(a4[n2].rectPlotX,a4[n2].plotX);var q=h2?l2(a4[n2].yBottom,w2):w2;if(!u2||e2)e2||f2(n2,n2-1,"left"),u2&&!h2&&e2||(t3.push(a4[n2]),r3.push({x:n2,plotX:z2,plotY:q})),e2||f2(n2,n2+1,"right")}f2=d3.call(this,t3,true,true);r3.reversed=true;u2=d3.call(this,r3,true,true);(q=u2[0])&&"M"===q[0]&&(u2[0]=["L",q[1],q[2]]);u2=f2.concat(u2);u2.length&&u2.push(["Z"]);d3=d3.call(this,t3,false,e2);u2.xMap=f2.xMap;this.areaPath=u2;return d3};d2.prototype.getStackPoints=function(a4){var d3=this,e2=[],h2=[],g4=this.xAxis,t3=this.yAxis,A3=t3.stacking.stacks[this.stackKey],x3={},y2=t3.series,c2=y2.length,w2=t3.options.reversedStacks?1:-1,f2=y2.indexOf(d3);a4=a4||this.points;if(this.options.stacking){for(var n2=0;n2<a4.length;n2++)a4[n2].leftNull=a4[n2].rightNull=void 0,x3[a4[n2].x]=a4[n2];r2(A3,(function(b3,a5){null!==b3.total&&h2.push(a5)}));h2.sort((function(b3,a5){return b3-a5}));var b2=y2.map((function(b3){return b3.visible}));h2.forEach((function(a5,n3){var k2=0,m2,p2;if(x3[a5]&&!x3[a5].isNull)e2.push(x3[a5]),[-1,1].forEach((function(e3){var g5=1===e3?"rightNull":"leftNull",k3=A3[h2[n3+e3]],l3=0;if(k3)for(var q=f2;0<=q&&q<c2;){var u3=y2[q].index;m2=k3.points[u3];m2||(u3===d3.index?x3[a5][g5]=true:b2[q]&&(p2=A3[a5].points[u3])&&(l3-=p2[1]-p2[0]));q+=w2}x3[a5][1===e3?"rightCliff":"leftCliff"]=l3}));else{for(var u2=f2;0<=u2&&u2<c2;){if(m2=A3[a5].points[y2[u2].index]){k2=m2[1];break}u2+=w2}k2=l2(k2,0);k2=t3.translate(k2,0,1,0,1);e2.push({isNull:true,plotX:g4.translate(a5,0,0,0,1),x:a5,plotY:k2,yBottom:k2})}}))}return e2};d2.defaultOptions=t2(H2.defaultOptions,{threshold:0});return d2}(H2);a2(F2.prototype,{singleStacks:false,drawLegendSymbol:g3.drawRectangle});x2.registerSeriesType("area",F2);return F2}));K(g2,"Series/Spline/SplineSeries.js",[g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3){var A2=this&&this.__extends||function(){var a3=function(g4,r2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e2){a4.__proto__=e2}||function(a4,e2){for(var d2 in e2)e2.hasOwnProperty(d2)&&(a4[d2]=e2[d2])};return a3(g4,r2)};return function(g4,r2){function l2(){this.constructor=g4}a3(g4,r2);g4.prototype=null===r2?Object.create(r2):(l2.prototype=r2.prototype,new l2)}}(),F2=a2.seriesTypes.line,C2=g3.merge,B=g3.pick;g3=function(a3){function g4(){var g5=null!==a3&&a3.apply(this,arguments)||this;g5.data=void 0;g5.options=void 0;g5.points=void 0;return g5}A2(g4,a3);g4.prototype.getPointSpline=function(a4,g5,e2){var d2=g5.plotX||0,h2=g5.plotY||0,m2=a4[e2-1];e2=a4[e2+1];if(m2&&!m2.isNull&&false!==m2.doCurve&&!g5.isCliff&&e2&&!e2.isNull&&false!==e2.doCurve&&!g5.isCliff){a4=m2.plotY||0;var k2=e2.plotX||0;e2=e2.plotY||0;var l2=0;var r2=(1.5*d2+(m2.plotX||0))/2.5;var t2=(1.5*h2+a4)/2.5;k2=(1.5*d2+k2)/2.5;var A3=(1.5*h2+e2)/2.5;k2!==r2&&(l2=(A3-t2)*(k2-d2)/(k2-r2)+h2-A3);t2+=l2;A3+=l2;t2>a4&&t2>h2?(t2=Math.max(a4,h2),A3=2*h2-t2):t2<a4&&t2<h2&&(t2=Math.min(a4,h2),A3=2*h2-t2);A3>e2&&A3>h2?(A3=Math.max(e2,h2),t2=2*h2-A3):A3<e2&&A3<h2&&(A3=Math.min(e2,h2),t2=2*h2-A3);g5.rightContX=k2;g5.rightContY=A3}g5=["C",B(m2.rightContX,m2.plotX,0),B(m2.rightContY,m2.plotY,0),B(r2,d2,0),B(t2,h2,0),d2,h2];m2.rightContX=m2.rightContY=void 0;return g5};g4.defaultOptions=C2(F2.defaultOptions);return g4}(F2);a2.registerSeriesType("spline",g3);return g3}));K(g2,"Series/AreaSpline/AreaSplineSeries.js",[g2["Series/Spline/SplineSeries.js"],g2["Core/Legend/LegendSymbol.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2){var A2=this&&this.__extends||function(){var a3=function(e2,d2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,d3){a4.__proto__=d3}||function(a4,d3){for(var e3 in d3)d3.hasOwnProperty(e3)&&(a4[e3]=d3[e3])};return a3(e2,d2)};return function(e2,d2){function g4(){this.constructor=e2}a3(e2,d2);e2.prototype=null===d2?Object.create(d2):(g4.prototype=d2.prototype,new g4)}}(),B=x2.seriesTypes,H2=B.area;B=B.area.prototype;var t2=F2.extend,r2=F2.merge;F2=function(g4){function e2(){var a3=null!==g4&&g4.apply(this,arguments)||this;a3.data=void 0;a3.points=void 0;a3.options=void 0;return a3}A2(e2,g4);e2.defaultOptions=r2(a2.defaultOptions,H2.defaultOptions);return e2}(a2);t2(F2.prototype,{getGraphPath:B.getGraphPath,getStackPoints:B.getStackPoints,drawGraph:B.drawGraph,drawLegendSymbol:g3.drawRectangle});x2.registerSeriesType("areaspline",F2);return F2}));K(g2,"Series/Column/ColumnSeriesDefaults.js",[],(function(){return{borderRadius:0,centerInCategory:false,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:false,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:true,stickyTracking:false,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}}));K(g2,"Series/Column/ColumnSeries.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Color/Color.js"],g2["Series/Column/ColumnSeriesDefaults.js"],g2["Core/Globals.js"],g2["Core/Legend/LegendSymbol.js"],g2["Core/Series/Series.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B,H2,t2){var r2=this&&this.__extends||function(){var a3=function(c2,d3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b2){a4.__proto__=b2}||function(a4,b2){for(var c3 in b2)b2.hasOwnProperty(c3)&&(a4[c3]=b2[c3])};return a3(c2,d3)};return function(c2,d3){function e3(){this.constructor=c2}a3(c2,d3);c2.prototype=null===d3?Object.create(d3):(e3.prototype=d3.prototype,new e3)}}(),l2=a2.animObject,e2=g3.parse,d2=F2.hasTouch;a2=F2.noop;var h2=t2.clamp,m2=t2.defined,k2=t2.extend,p2=t2.fireEvent,A2=t2.isArray,I=t2.isNumber,E2=t2.merge,L2=t2.pick,y2=t2.objectEach;t2=function(a3){function c2(){var c3=null!==a3&&a3.apply(this,arguments)||this;c3.borderWidth=void 0;c3.data=void 0;c3.group=void 0;c3.options=void 0;c3.points=void 0;return c3}r2(c2,a3);c2.prototype.animate=function(a4){var c3=this,b2=this.yAxis,d3=c3.options,e3=this.chart.inverted,f2={},g4=e3?"translateX":"translateY";if(a4)f2.scaleY=.001,a4=h2(b2.toPixels(d3.threshold),b2.pos,b2.pos+b2.len),e3?f2.translateX=a4-b2.len:f2.translateY=a4,c3.clipBox&&c3.setClip(),c3.group.attr(f2);else{var m3=Number(c3.group.attr(g4));c3.group.animate({scaleY:1},k2(l2(c3.options.animation),{step:function(a5,d4){c3.group&&(f2[g4]=m3+d4.pos*(b2.pos-m3),c3.group.attr(f2))}}))}};c2.prototype.init=function(c3,d3){a3.prototype.init.apply(this,arguments);var b2=this;c3=b2.chart;c3.hasRendered&&c3.series.forEach((function(a4){a4.type===b2.type&&(a4.isDirty=true)}))};c2.prototype.getColumnMetrics=function(){var a4=this,c3=a4.options,b2=a4.xAxis,d3=a4.yAxis,e3=b2.options.reversedStacks;e3=b2.reversed&&!e3||!b2.reversed&&e3;var g4={},h3,k3=0;false===c3.grouping?k3=1:a4.chart.series.forEach((function(b3){var c4=b3.yAxis,e4=b3.options;if(b3.type===a4.type&&(b3.visible||!a4.chart.options.chart.ignoreHiddenSeries)&&d3.len===c4.len&&d3.pos===c4.pos){if(e4.stacking&&"group"!==e4.stacking){h3=b3.stackKey;"undefined"===typeof g4[h3]&&(g4[h3]=k3++);var f2=g4[h3]}else false!==e4.grouping&&(f2=k3++);b3.columnIndex=f2}}));var m3=Math.min(Math.abs(b2.transA)*(b2.ordinal&&b2.ordinal.slope||c3.pointRange||b2.closestPointRange||b2.tickInterval||1),b2.len),l3=m3*c3.groupPadding,p3=(m3-2*l3)/(k3||1);c3=Math.min(c3.maxPointWidth||b2.len,L2(c3.pointWidth,p3*(1-2*c3.pointPadding)));a4.columnMetrics={width:c3,offset:(p3-c3)/2+(l3+((a4.columnIndex||0)+(e3?1:0))*p3-m3/2)*(e3?-1:1),paddedWidth:p3,columnCount:k3};return a4.columnMetrics};c2.prototype.crispCol=function(a4,c3,b2,d3){var e3=this.chart,f2=this.borderWidth,g4=-(f2%2?.5:0);f2=f2%2?.5:1;e3.inverted&&e3.renderer.isVML&&(f2+=1);this.options.crisp&&(b2=Math.round(a4+b2)+g4,a4=Math.round(a4)+g4,b2-=a4);d3=Math.round(c3+d3)+f2;g4=.5>=Math.abs(c3)&&.5<d3;c3=Math.round(c3)+f2;d3-=c3;g4&&d3&&(--c3,d3+=1);return{x:a4,y:c3,width:b2,height:d3}};c2.prototype.adjustForMissingColumns=function(a4,c3,b2,d3){var e3=this,f2=this.options.stacking;if(!b2.isNull&&1<d3.columnCount){var g4=this.yAxis.options.reversedStacks,h3=0,k3=g4?0:-d3.columnCount;y2(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(a5){if("number"===typeof b2.x){var c4=a5[b2.x.toString()];c4&&(a5=c4.points[e3.index],f2?(a5&&(h3=k3),c4.hasValidPoints&&(g4?k3++:k3--)):A2(a5)&&(a5=Object.keys(c4.points).filter((function(b3){return!b3.match(",")&&c4.points[b3]&&1<c4.points[b3].length})).map(parseFloat).sort((function(b3,a6){return a6-b3})),h3=a5.indexOf(e3.index),k3=a5.length))}}));a4=(b2.plotX||0)+((k3-1)*d3.paddedWidth+c3)/2-c3-h3*d3.paddedWidth}return a4};c2.prototype.translate=function(){var a4=this,c3=a4.chart,b2=a4.options,d3=a4.dense=2>a4.closestPointRange*a4.xAxis.transA;d3=a4.borderWidth=L2(b2.borderWidth,d3?0:1);var e3=a4.xAxis,g4=a4.yAxis,k3=b2.threshold,l3=a4.translatedThreshold=g4.getThreshold(k3),p3=L2(b2.minPointLength,5),r3=a4.getColumnMetrics(),w2=r3.width,y3=a4.pointXOffset=r3.offset,v2=a4.dataMin,t3=a4.dataMax,A3=a4.barW=Math.max(w2,1+2*d3);c3.inverted&&(l3-=.5);b2.pointPadding&&(A3=Math.ceil(A3));B.prototype.translate.apply(a4);a4.points.forEach((function(d4){var f2=L2(d4.yBottom,l3),n2=999+Math.abs(f2),q=d4.plotX||0;n2=h2(d4.plotY,-n2,g4.len+n2);var u2=Math.min(n2,f2),z2=Math.max(n2,f2)-u2,D2=w2,x3=q+y3,E3=A3;p3&&Math.abs(z2)<p3&&(z2=p3,q=!g4.reversed&&!d4.negative||g4.reversed&&d4.negative,I(k3)&&I(t3)&&d4.y===k3&&t3<=k3&&(g4.min||0)<k3&&(v2!==t3||(g4.max||0)<=k3)&&(q=!q),u2=Math.abs(u2-l3)>p3?f2-p3:l3-(q?p3:0));m2(d4.options.pointWidth)&&(D2=E3=Math.ceil(d4.options.pointWidth),x3-=Math.round((D2-w2)/2));b2.centerInCategory&&(x3=a4.adjustForMissingColumns(x3,D2,d4,r3));d4.barX=x3;d4.pointWidth=D2;d4.tooltipPos=c3.inverted?[h2(g4.len+g4.pos-c3.plotLeft-n2,g4.pos-c3.plotLeft,g4.len+g4.pos-c3.plotLeft),e3.len+e3.pos-c3.plotTop-x3-E3/2,z2]:[e3.left-c3.plotLeft+x3+E3/2,h2(n2+g4.pos-c3.plotTop,g4.pos-c3.plotTop,g4.len+g4.pos-c3.plotTop),z2];d4.shapeType=a4.pointClass.prototype.shapeType||"rect";d4.shapeArgs=a4.crispCol.apply(a4,d4.isNull?[x3,l3,E3,0]:[x3,u2,E3,z2])}))};c2.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")};c2.prototype.pointAttribs=function(a4,c3){var b2=this.options,d3=this.pointAttrToOptions||{},f2=d3.stroke||"borderColor",g4=d3["stroke-width"]||"borderWidth",h3=a4&&a4.color||this.color,k3=a4&&a4[f2]||b2[f2]||h3;d3=a4&&a4.options.dashStyle||b2.dashStyle;var n2=a4&&a4[g4]||b2[g4]||this[g4]||0,m3=L2(a4&&a4.opacity,b2.opacity,1);if(a4&&this.zones.length){var l3=a4.getZone();h3=a4.options.color||l3&&(l3.color||a4.nonZonedColor)||this.color;l3&&(k3=l3.borderColor||k3,d3=l3.dashStyle||d3,n2=l3.borderWidth||n2)}c3&&a4&&(a4=E2(b2.states[c3],a4.options.states&&a4.options.states[c3]||{}),c3=a4.brightness,h3=a4.color||"undefined"!==typeof c3&&e2(h3).brighten(a4.brightness).get()||h3,k3=a4[f2]||k3,n2=a4[g4]||n2,d3=a4.dashStyle||d3,m3=L2(a4.opacity,m3));f2={fill:h3,stroke:k3,"stroke-width":n2,opacity:m3};d3&&(f2.dashstyle=d3);return f2};c2.prototype.drawPoints=function(a4){void 0===a4&&(a4=this.points);var c3=this,b2=this.chart,d3=c3.options,e3=b2.renderer,f2=d3.animationLimit||250,g4;a4.forEach((function(a5){var h3=a5.graphic,k3=!!h3,n2=h3&&b2.pointCount<f2?"animate":"attr";if(I(a5.plotY)&&null!==a5.y){g4=a5.shapeArgs;h3&&a5.hasNewShapeType()&&(h3=h3.destroy());c3.enabledDataSorting&&(a5.startXPos=c3.xAxis.reversed?-(g4?g4.width||0:0):c3.xAxis.width);h3||(a5.graphic=h3=e3[a5.shapeType](g4).add(a5.group||c3.group))&&c3.enabledDataSorting&&b2.hasRendered&&b2.pointCount<f2&&(h3.attr({x:a5.startXPos}),k3=true,n2="animate");if(h3&&k3)h3[n2](E2(g4));if(d3.borderRadius)h3[n2]({r:d3.borderRadius});b2.styledMode||h3[n2](c3.pointAttribs(a5,a5.selected&&"select")).shadow(false!==a5.allowShadow&&d3.shadow,null,d3.stacking&&!d3.borderRadius);h3&&(h3.addClass(a5.getClassName(),true),h3.attr({visibility:a5.visible?"inherit":"hidden"}))}else h3&&(a5.graphic=h3.destroy())}))};c2.prototype.drawTracker=function(a4){void 0===a4&&(a4=this.points);var c3=this,b2=c3.chart,e3=b2.pointer,f2=function(a5){var b3=e3.getPointFromEvent(a5);"undefined"!==typeof b3&&(e3.isDirectTouch=true,b3.onMouseOver(a5))},g4;a4.forEach((function(a5){g4=A2(a5.dataLabels)?a5.dataLabels:a5.dataLabel?[a5.dataLabel]:[];a5.graphic&&(a5.graphic.element.point=a5);g4.forEach((function(b3){b3.div?b3.div.point=a5:b3.element.point=a5}))}));c3._hasTracking||(c3.trackerGroups.forEach((function(a5){if(c3[a5]){c3[a5].addClass("highcharts-tracker").on("mouseover",f2).on("mouseout",(function(a6){e3.onTrackerMouseOut(a6)}));if(d2)c3[a5].on("touchstart",f2);!b2.styledMode&&c3.options.cursor&&c3[a5].css({cursor:c3.options.cursor})}})),c3._hasTracking=true);p2(this,"afterDrawTracker")};c2.prototype.remove=function(){var a4=this,c3=a4.chart;c3.hasRendered&&c3.series.forEach((function(b2){b2.type===a4.type&&(b2.isDirty=true)}));B.prototype.remove.apply(a4,arguments)};c2.defaultOptions=E2(B.defaultOptions,x2);return c2}(B);k2(t2.prototype,{cropShoulder:0,directTouch:true,drawLegendSymbol:C2.drawRectangle,getSymbol:a2,negStacks:true,trackerGroups:["group","dataLabelsGroup"]});H2.registerSeriesType("column",t2);return t2}));K(g2,"Core/Series/DataLabel.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/FormatUtilities.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=a2.getDeferredAnimation,C2=g3.format,B=x2.defined,H2=x2.extend,t2=x2.fireEvent,r2=x2.isArray,l2=x2.isString,e2=x2.merge,d2=x2.objectEach,h2=x2.pick,m2=x2.splat,k2;(function(a3){function g4(a4,c3,b2,d3,e3){var f2=this,g5=this.chart,k4=this.isCartesian&&g5.inverted,n2=this.enabledDataSorting,m3=a4.plotX,l3=a4.plotY,p3=b2.rotation,r3=b2.align,u2=B(m3)&&B(l3)&&g5.isInsidePlot(m3,Math.round(l3),{inverted:k4,paneCoordinates:true,series:f2});l3=function(b3){n2&&f2.xAxis&&!w3&&f2.setDataLabelStartPos(a4,c3,e3,u2,b3)};var w3="justify"===h2(b2.overflow,n2?"none":"justify");m3=this.visible&&false!==a4.visible&&B(m3)&&(a4.series.forceDL||n2&&!w3||u2||h2(b2.inside,!!this.options.stacking)&&d3&&g5.isInsidePlot(m3,k4?d3.x+1:d3.y+d3.height-1,{inverted:k4,paneCoordinates:true,series:f2}));k4=a4.pos();if(m3&&k4){p3&&c3.attr({align:r3});r3=c3.getBBox(true);var y3=[0,0];var t3=g5.renderer.fontMetrics(g5.styledMode?void 0:b2.style.fontSize,c3).b;d3=H2({x:k4[0],y:Math.round(k4[1]),width:0,height:0},d3);H2(b2,{width:r3.width,height:r3.height});p3?(w3=false,y3=g5.renderer.rotCorr(t3,p3),t3={x:d3.x+(b2.x||0)+d3.width/2+y3.x,y:d3.y+(b2.y||0)+{top:0,middle:.5,bottom:1}[b2.verticalAlign]*d3.height},y3=[r3.x-Number(c3.attr("x")),r3.y-Number(c3.attr("y"))],l3(t3),c3[e3?"attr":"animate"](t3)):(l3(d3),c3.align(b2,void 0,d3),t3=c3.alignAttr);w3&&0<=d3.height?this.justifyDataLabel(c3,b2,t3,r3,d3,e3):h2(b2.crop,true)&&(d3=t3.x,l3=t3.y,d3+=y3[0],l3+=y3[1],m3=g5.isInsidePlot(d3,l3,{paneCoordinates:true,series:f2})&&g5.isInsidePlot(d3+r3.width,l3+r3.height,{paneCoordinates:true,series:f2}));if(b2.shape&&!p3)c3[e3?"attr":"animate"]({anchorX:k4[0],anchorY:k4[1]})}e3&&n2&&(c3.placed=false);m3||n2&&!w3?c3.show():(c3.hide(),c3.placed=false)}function k3(a4,c3){var b2=c3.filter;return b2?(c3=b2.operator,a4=a4[b2.property],b2=b2.value,">"===c3&&a4>b2||"<"===c3&&a4<b2||">="===c3&&a4>=b2||"<="===c3&&a4<=b2||"=="===c3&&a4==b2||"==="===c3&&a4===b2?true:false):true}function p2(a4){void 0===a4&&(a4=this.points);var c3=this,b2=c3.chart,e3=c3.options,f2=c3.hasRendered||0,g5=b2.renderer,p3=b2.options.chart,w3=p3.backgroundColor;p3=p3.plotBackgroundColor;var x4=g5.getContrast(l2(p3)&&p3||l2(w3)&&w3||"#000000"),D2=e3.dataLabels,E2;w3=D2.animation;w3=D2.defer?A2(b2,w3,c3):{defer:0,duration:0};D2=y2(y2(b2.options.plotOptions&&b2.options.plotOptions.series&&b2.options.plotOptions.series.dataLabels,b2.options.plotOptions&&b2.options.plotOptions[c3.type]&&b2.options.plotOptions[c3.type].dataLabels),D2);t2(this,"drawDataLabels");if(r2(D2)||D2.enabled||c3._hasPointLabels){var F2=c3.plotGroup("dataLabelsGroup","data-labels",f2?"inherit":"hidden",D2.zIndex||6);F2.attr({opacity:+f2});!f2&&(f2=c3.dataLabelsGroup)&&(c3.visible&&F2.show(),f2[e3.animation?"animate":"attr"]({opacity:1},w3));a4.forEach((function(a5){E2=m2(y2(D2,a5.dlOptions||a5.options&&a5.options.dataLabels));E2.forEach((function(f3,n2){var m3=f3.enabled&&(!a5.isNull||a5.dataLabelOnNull)&&k3(a5,f3),l3=a5.connectors?a5.connectors[n2]:a5.connector,p4=a5.dataLabels?a5.dataLabels[n2]:a5.dataLabel,q=!p4,r3=h2(f3.distance,a5.labelDistance);if(m3){var u2=a5.getLabelConfig();var w4=h2(f3[a5.formatPrefix+"Format"],f3.format);u2=B(w4)?C2(w4,u2,b2):(f3[a5.formatPrefix+"Formatter"]||f3.formatter).call(u2,f3);w4=f3.style;var y3=f3.rotation;b2.styledMode||(w4.color=h2(f3.color,w4.color,c3.color,"#000000"),"contrast"===w4.color?(a5.contrastColor=g5.getContrast(a5.color||c3.color),w4.color=!B(r3)&&f3.inside||0>r3||e3.stacking?a5.contrastColor:x4):delete a5.contrastColor,e3.cursor&&(w4.cursor=e3.cursor));var t3={r:f3.borderRadius||0,rotation:y3,padding:f3.padding,zIndex:1};if(!b2.styledMode){r3=f3.backgroundColor;var v2=f3.borderColor;t3.fill="auto"===r3?a5.color:r3;t3.stroke="auto"===v2?a5.color:v2;t3["stroke-width"]=f3.borderWidth}d2(t3,(function(a6,b3){"undefined"===typeof a6&&delete t3[b3]}))}!p4||m3&&B(u2)&&!!p4.div===!!f3.useHTML&&(p4.rotation&&f3.rotation||p4.rotation===f3.rotation)||(q=true,a5.dataLabel=p4=a5.dataLabel&&a5.dataLabel.destroy(),a5.dataLabels&&(1===a5.dataLabels.length?delete a5.dataLabels:delete a5.dataLabels[n2]),n2||delete a5.dataLabel,l3&&(a5.connector=a5.connector.destroy(),a5.connectors&&(1===a5.connectors.length?delete a5.connectors:delete a5.connectors[n2])));m3&&B(u2)?(p4?t3.text=u2:(a5.dataLabels=a5.dataLabels||[],p4=a5.dataLabels[n2]=y3?g5.text(u2,0,0,f3.useHTML).addClass("highcharts-data-label"):g5.label(u2,0,0,f3.shape,null,null,f3.useHTML,null,"data-label"),n2||(a5.dataLabel=p4),p4.addClass(" highcharts-data-label-color-"+a5.colorIndex+" "+(f3.className||"")+(f3.useHTML?" highcharts-tracker":""))),p4.options=f3,p4.attr(t3),b2.styledMode||p4.css(w4).shadow(f3.shadow),(n2=f3[a5.formatPrefix+"TextPath"]||f3.textPath)&&!f3.useHTML&&(p4.setTextPath(a5.getDataLabelPath&&a5.getDataLabelPath(p4)||a5.graphic,n2),a5.dataLabelPath&&!n2.enabled&&(a5.dataLabelPath=a5.dataLabelPath.destroy())),p4.added||p4.add(F2),c3.alignDataLabel(a5,p4,f3,null,q)):p4&&p4.hide()}))}))}t2(this,"afterDrawDataLabels")}function x3(a4,c3,b2,d3,e3,g5){var f2=this.chart,h3=c3.align,k4=c3.verticalAlign,n2=a4.box?0:a4.padding||0,m3=c3.x;m3=void 0===m3?0:m3;var l3=c3.y;l3=void 0===l3?0:l3;var p3=(b2.x||0)+n2;if(0>p3){"right"===h3&&0<=m3?(c3.align="left",c3.inside=true):m3-=p3;var q=true}p3=(b2.x||0)+d3.width-n2;p3>f2.plotWidth&&("left"===h3&&0>=m3?(c3.align="right",c3.inside=true):m3+=f2.plotWidth-p3,q=true);p3=b2.y+n2;0>p3&&("bottom"===k4&&0<=l3?(c3.verticalAlign="top",c3.inside=true):l3-=p3,q=true);p3=(b2.y||0)+d3.height-n2;p3>f2.plotHeight&&("top"===k4&&0>=l3?(c3.verticalAlign="bottom",c3.inside=true):l3+=f2.plotHeight-p3,q=true);q&&(c3.x=m3,c3.y=l3,a4.placed=!g5,a4.align(c3,void 0,e3));return q}function y2(a4,c3){var b2=[],d3;if(r2(a4)&&!r2(c3))b2=a4.map((function(a5){return e2(a5,c3)}));else if(r2(c3)&&!r2(a4))b2=c3.map((function(b3){return e2(a4,b3)}));else if(r2(a4)||r2(c3))for(d3=Math.max(a4.length,c3.length);d3--;)b2[d3]=e2(a4[d3],c3[d3]);else b2=e2(a4,c3);return b2}function c2(a4,c3,b2,d3,e3){var f2=this.chart,g5=f2.inverted,h3=this.xAxis,k4=h3.reversed,m3=g5?c3.height/2:c3.width/2;a4=(a4=a4.pointWidth)?a4/2:0;c3.startXPos=g5?e3.x:k4?-m3-a4:h3.width-m3+a4;c3.startYPos=g5?k4?this.yAxis.height-m3+a4:-m3-a4:e3.y;d3?"hidden"===c3.visibility&&(c3.show(),c3.attr({opacity:0}).animate({opacity:1})):c3.attr({opacity:1}).animate({opacity:0},void 0,c3.hide);f2.hasRendered&&(b2&&c3.attr({x:c3.startXPos,y:c3.startYPos}),c3.placed=true)}var w2=[];a3.compose=function(a4){if(-1===w2.indexOf(a4)){var d3=a4.prototype;w2.push(a4);d3.alignDataLabel=g4;d3.drawDataLabels=p2;d3.justifyDataLabel=x3;d3.setDataLabelStartPos=c2}}})(k2||(k2={}));return k2}));K(g2,"Series/Column/ColumnDataLabel.js",[g2["Core/Series/DataLabel.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=g3.series,C2=x2.merge,B=x2.pick,H2;(function(g4){function r2(a3,d2,g5,m2,k2){var e2=this.chart.inverted,h2=a3.series,l3=(h2.xAxis?h2.xAxis.len:this.chart.plotSizeX)||0;h2=(h2.yAxis?h2.yAxis.len:this.chart.plotSizeY)||0;var r3=a3.dlBox||a3.shapeArgs,t2=B(a3.below,a3.plotY>B(this.translatedThreshold,h2)),y2=B(g5.inside,!!this.options.stacking);r3&&(m2=C2(r3),0>m2.y&&(m2.height+=m2.y,m2.y=0),r3=m2.y+m2.height-h2,0<r3&&r3<m2.height&&(m2.height-=r3),e2&&(m2={x:h2-m2.y-m2.height,y:l3-m2.x-m2.width,width:m2.height,height:m2.width}),y2||(e2?(m2.x+=t2?0:m2.width,m2.width=0):(m2.y+=t2?m2.height:0,m2.height=0)));g5.align=B(g5.align,!e2||y2?"center":t2?"right":"left");g5.verticalAlign=B(g5.verticalAlign,e2||y2?"middle":t2?"top":"bottom");A2.prototype.alignDataLabel.call(this,a3,d2,g5,m2,k2);g5.inside&&a3.contrastColor&&d2.css({color:a3.contrastColor})}var l2=[];g4.compose=function(e2){a2.compose(A2);-1===l2.indexOf(e2)&&(l2.push(e2),e2.prototype.alignDataLabel=r2)}})(H2||(H2={}));return H2}));K(g2,"Series/Bar/BarSeries.js",[g2["Series/Column/ColumnSeries.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=this&&this.__extends||function(){var a3=function(g4,r2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e2){a4.__proto__=e2}||function(a4,e2){for(var d2 in e2)e2.hasOwnProperty(d2)&&(a4[d2]=e2[d2])};return a3(g4,r2)};return function(g4,r2){function l2(){this.constructor=g4}a3(g4,r2);g4.prototype=null===r2?Object.create(r2):(l2.prototype=r2.prototype,new l2)}}(),C2=x2.extend,B=x2.merge;x2=function(g4){function t2(){var a3=null!==g4&&g4.apply(this,arguments)||this;a3.data=void 0;a3.options=void 0;a3.points=void 0;return a3}A2(t2,g4);t2.defaultOptions=B(a2.defaultOptions,{});return t2}(a2);C2(x2.prototype,{inverted:true});g3.registerSeriesType("bar",x2);return x2}));K(g2,"Series/Scatter/ScatterSeriesDefaults.js",[],(function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:true},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}}));K(g2,"Series/Scatter/ScatterSeries.js",[g2["Series/Scatter/ScatterSeriesDefaults.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=this&&this.__extends||function(){var a3=function(e2,d2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,d3){a4.__proto__=d3}||function(a4,d3){for(var e3 in d3)d3.hasOwnProperty(e3)&&(a4[e3]=d3[e3])};return a3(e2,d2)};return function(e2,d2){function g4(){this.constructor=e2}a3(e2,d2);e2.prototype=null===d2?Object.create(d2):(g4.prototype=d2.prototype,new g4)}}(),C2=g3.seriesTypes,B=C2.column,H2=C2.line;C2=x2.addEvent;var t2=x2.extend,r2=x2.merge;x2=function(g4){function e2(){var a3=null!==g4&&g4.apply(this,arguments)||this;a3.data=void 0;a3.options=void 0;a3.points=void 0;return a3}A2(e2,g4);e2.prototype.applyJitter=function(){var a3=this,e3=this.options.jitter,g5=this.points.length;e3&&this.points.forEach((function(d2,h2){["x","y"].forEach((function(k2,m2){var l2="plot"+k2.toUpperCase();if(e3[k2]&&!d2.isNull){var p2=a3[k2+"Axis"];var r3=e3[k2]*p2.transA;if(p2&&!p2.isLog){var c2=Math.max(0,d2[l2]-r3);p2=Math.min(p2.len,d2[l2]+r3);m2=1e4*Math.sin(h2+m2*g5);d2[l2]=c2+(p2-c2)*(m2-Math.floor(m2));"x"===k2&&(d2.clientX=d2.plotX)}}}))}))};e2.prototype.drawGraph=function(){this.options.lineWidth?g4.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())};e2.defaultOptions=r2(H2.defaultOptions,a2);return e2}(H2);t2(x2.prototype,{drawTracker:B.prototype.drawTracker,sorted:false,requireSorting:false,noSharedTooltip:true,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:false});C2(x2,"afterTranslate",(function(){this.applyJitter()}));g3.registerSeriesType("scatter",x2);return x2}));K(g2,"Series/CenteredUtilities.js",[g2["Core/Globals.js"],g2["Core/Series/Series.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=a2.deg2rad,C2=x2.fireEvent,B=x2.isNumber,H2=x2.pick,t2=x2.relativeLength,r2;(function(a3){a3.getCenter=function(){var a4=this.options,d2=this.chart,h2=2*(a4.slicedOffset||0),m2=d2.plotWidth-2*h2,k2=d2.plotHeight-2*h2,l2=a4.center,r3=Math.min(m2,k2),A3=a4.thickness,x3=a4.size,F2=a4.innerSize||0;"string"===typeof x3&&(x3=parseFloat(x3));"string"===typeof F2&&(F2=parseFloat(F2));a4=[H2(l2[0],"50%"),H2(l2[1],"50%"),H2(x3&&0>x3?void 0:a4.size,"100%"),H2(F2&&0>F2?void 0:a4.innerSize||0,"0%")];!d2.angular||this instanceof g3||(a4[3]=0);for(l2=0;4>l2;++l2)x3=a4[l2],d2=2>l2||2===l2&&/%$/.test(x3),a4[l2]=t2(x3,[m2,k2,r3,a4[2]][l2])+(d2?h2:0);a4[3]>a4[2]&&(a4[3]=a4[2]);B(A3)&&2*A3<a4[2]&&0<A3&&(a4[3]=a4[2]-2*A3);C2(this,"afterGetCenter",{positions:a4});return a4};a3.getStartAndEndRadians=function(a4,d2){a4=B(a4)?a4:0;d2=B(d2)&&d2>a4&&360>d2-a4?d2:a4+360;return{start:A2*(a4+-90),end:A2*(d2+-90)}}})(r2||(r2={}));return r2}));K(g2,"Series/Pie/PiePoint.js",[g2["Core/Animation/AnimationUtilities.js"],g2["Core/Series/Point.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2){var A2=this&&this.__extends||function(){var a3=function(d2,e2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,d3){a4.__proto__=d3}||function(a4,d3){for(var e3 in d3)d3.hasOwnProperty(e3)&&(a4[e3]=d3[e3])};return a3(d2,e2)};return function(d2,e2){function g4(){this.constructor=d2}a3(d2,e2);d2.prototype=null===e2?Object.create(e2):(g4.prototype=e2.prototype,new g4)}}(),C2=a2.setAnimation,B=x2.addEvent,H2=x2.defined;a2=x2.extend;var t2=x2.isNumber,r2=x2.pick,l2=x2.relativeLength;g3=function(a3){function d2(){var d3=null!==a3&&a3.apply(this,arguments)||this;d3.labelDistance=void 0;d3.options=void 0;d3.series=void 0;return d3}A2(d2,a3);d2.prototype.getConnectorPath=function(){var a4=this.labelPosition,d3=this.series.options.dataLabels,e2=this.connectorShapes,g4=d3.connectorShape;e2[g4]&&(g4=e2[g4]);return g4.call(this,{x:a4.final.x,y:a4.final.y,alignment:a4.alignment},a4.connectorPosition,d3)};d2.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}};d2.prototype.haloPath=function(a4){var d3=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(d3.x,d3.y,d3.r+a4,d3.r+a4,{innerR:d3.r-1,start:d3.start,end:d3.end})};d2.prototype.init=function(){var d3=this;a3.prototype.init.apply(this,arguments);this.name=r2(this.name,"Slice");var e2=function(a4){d3.slice("select"===a4.type)};B(this,"select",e2);B(this,"unselect",e2);return this};d2.prototype.isValid=function(){return t2(this.y)&&0<=this.y};d2.prototype.setVisible=function(a4,d3){var e2=this,g4=this.series,h2=g4.chart,m2=g4.options.ignoreHiddenPoint;d3=r2(d3,m2);a4!==this.visible&&(this.visible=this.options.visible=a4="undefined"===typeof a4?!this.visible:a4,g4.options.data[g4.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(d4){if(e2[d4])e2[d4][a4?"show":"hide"](a4)})),this.legendItem&&h2.legend.colorizeItem(this,a4),a4||"hover"!==this.state||this.setState(""),m2&&(g4.isDirty=true),d3&&h2.redraw())};d2.prototype.slice=function(a4,d3,e2){var g4=this.series;C2(e2,g4.chart);r2(d3,true);this.sliced=this.options.sliced=H2(a4)?a4:!this.sliced;g4.options.data[g4.data.indexOf(this)]=this.options;this.graphic&&this.graphic.animate(this.getTranslate());this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())};return d2}(g3);a2(g3.prototype,{connectorShapes:{fixedOffset:function(a3,d2,g4){var e2=d2.breakAt;d2=d2.touchingSliceAt;return[["M",a3.x,a3.y],g4.softConnector?["C",a3.x+("left"===a3.alignment?-5:5),a3.y,2*e2.x-d2.x,2*e2.y-d2.y,e2.x,e2.y]:["L",e2.x,e2.y],["L",d2.x,d2.y]]},straight:function(a3,d2){d2=d2.touchingSliceAt;return[["M",a3.x,a3.y],["L",d2.x,d2.y]]},crookedLine:function(a3,d2,g4){d2=d2.touchingSliceAt;var e2=this.series,h2=e2.center[0],p2=e2.chart.plotWidth,r3=e2.chart.plotLeft;e2=a3.alignment;var t3=this.shapeArgs.r;g4=l2(g4.crookDistance,1);p2="left"===e2?h2+t3+(p2+r3-h2-t3)*(1-g4):r3+(h2-t3)*g4;g4=["L",p2,a3.y];h2=true;if("left"===e2?p2>a3.x||p2<d2.x:p2<a3.x||p2>d2.x)h2=false;a3=[["M",a3.x,a3.y]];h2&&a3.push(g4);a3.push(["L",d2.x,d2.y]);return a3}}});return g3}));K(g2,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{center:[null,null],clip:false,colorByPoint:true,dataLabels:{allowOverlap:true,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:true,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:true,x:0},fillColor:void 0,ignoreHiddenPoint:true,inactiveOtherPoints:true,legendType:"point",marker:null,size:null,showInLegend:false,slicedOffset:10,stickyTracking:false,tooltip:{followPointer:true},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}));K(g2,"Series/Pie/PieSeries.js",[g2["Series/CenteredUtilities.js"],g2["Series/Column/ColumnSeries.js"],g2["Core/Globals.js"],g2["Core/Legend/LegendSymbol.js"],g2["Series/Pie/PiePoint.js"],g2["Series/Pie/PieSeriesDefaults.js"],g2["Core/Series/Series.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Renderer/SVG/Symbols.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2,B,H2,t2,r2,l2){var e2=this&&this.__extends||function(){var a3=function(d3,e3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,d4){a4.__proto__=d4}||function(a4,d4){for(var c2 in d4)d4.hasOwnProperty(c2)&&(a4[c2]=d4[c2])};return a3(d3,e3)};return function(d3,e3){function c2(){this.constructor=d3}a3(d3,e3);d3.prototype=null===e3?Object.create(e3):(c2.prototype=e3.prototype,new c2)}}(),d2=a2.getStartAndEndRadians;x2=x2.noop;var h2=l2.clamp,m2=l2.extend,k2=l2.fireEvent,p2=l2.merge,A2=l2.pick,I=l2.relativeLength;l2=function(a3){function g4(){var d3=null!==a3&&a3.apply(this,arguments)||this;d3.center=void 0;d3.data=void 0;d3.maxLabelDistance=void 0;d3.options=void 0;d3.points=void 0;return d3}e2(g4,a3);g4.prototype.animate=function(a4){var c2=this,d3=c2.points,e3=c2.startAngleRad;a4||d3.forEach((function(a5){var b2=a5.graphic,d4=a5.shapeArgs;b2&&d4&&(b2.attr({r:A2(a5.startR,c2.center&&c2.center[3]/2),start:e3,end:e3}),b2.animate({r:d4.r,start:d4.start,end:d4.end},c2.options.animation))}))};g4.prototype.drawEmpty=function(){var a4=this.startAngleRad,c2=this.endAngleRad,d3=this.options;if(0===this.total&&this.center){var e3=this.center[0];var g5=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(e3,g5,this.center[1]/2,0,a4,c2).addClass("highcharts-empty-series").add(this.group));this.graph.attr({d:r2.arc(e3,g5,this.center[2]/2,0,{start:a4,end:c2,innerR:this.center[3]/2})});this.chart.styledMode||this.graph.attr({"stroke-width":d3.borderWidth,fill:d3.fillColor||"none",stroke:d3.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())};g4.prototype.drawPoints=function(){var a4=this.chart.renderer;this.points.forEach((function(c2){c2.graphic&&c2.hasNewShapeType()&&(c2.graphic=c2.graphic.destroy());c2.graphic||(c2.graphic=a4[c2.shapeType](c2.shapeArgs).add(c2.series.group),c2.delayedRendering=true)}))};g4.prototype.generatePoints=function(){a3.prototype.generatePoints.call(this);this.updateTotals()};g4.prototype.getX=function(a4,c2,d3){var e3=this.center,g5=this.radii?this.radii[d3.index]||0:e3[2]/2;a4=Math.asin(h2((a4-e3[1])/(g5+d3.labelDistance),-1,1));return e3[0]+(c2?-1:1)*Math.cos(a4)*(g5+d3.labelDistance)+(0<d3.labelDistance?(c2?-1:1)*this.options.dataLabels.padding:0)};g4.prototype.hasData=function(){return!!this.processedXData.length};g4.prototype.redrawPoints=function(){var a4=this,c2=a4.chart,d3=c2.renderer,e3=a4.options.shadow,g5,b2,h3,k3;this.drawEmpty();!e3||a4.shadowGroup||c2.styledMode||(a4.shadowGroup=d3.g("shadow").attr({zIndex:-1}).add(a4.group));a4.points.forEach((function(f2){var n2={};b2=f2.graphic;if(!f2.isNull&&b2){var l3=void 0;k3=f2.shapeArgs;g5=f2.getTranslate();c2.styledMode||(l3=f2.shadowGroup,e3&&!l3&&(l3=f2.shadowGroup=d3.g("shadow").add(a4.shadowGroup)),l3&&l3.attr(g5),h3=a4.pointAttribs(f2,f2.selected&&"select"));f2.delayedRendering?(b2.setRadialReference(a4.center).attr(k3).attr(g5),c2.styledMode||b2.attr(h3).attr({"stroke-linejoin":"round"}).shadow(e3,l3),f2.delayedRendering=false):(b2.setRadialReference(a4.center),c2.styledMode||p2(true,n2,h3),p2(true,n2,k3,g5),b2.animate(n2));b2.attr({visibility:f2.visible?"inherit":"hidden"});b2.addClass(f2.getClassName(),true)}else b2&&(f2.graphic=b2.destroy())}))};g4.prototype.sortByAngle=function(a4,c2){a4.sort((function(a5,d3){return"undefined"!==typeof a5.angle&&(d3.angle-a5.angle)*c2}))};g4.prototype.translate=function(a4){k2(this,"translate");this.generatePoints();var c2=this.options,e3=c2.slicedOffset,f2=e3+(c2.borderWidth||0),g5=d2(c2.startAngle,c2.endAngle),b2=this.startAngleRad=g5.start;g5=(this.endAngleRad=g5.end)-b2;var h3=this.points,l3=c2.dataLabels.distance;c2=c2.ignoreHiddenPoint;var m3=h3.length,p3,r3=0;a4||(this.center=a4=this.getCenter());for(p3=0;p3<m3;p3++){var t3=h3[p3];var y2=b2+r3*g5;!t3.isValid()||c2&&!t3.visible||(r3+=t3.percentage/100);var x3=b2+r3*g5;var D2={x:a4[0],y:a4[1],r:a4[2]/2,innerR:a4[3]/2,start:Math.round(1e3*y2)/1e3,end:Math.round(1e3*x3)/1e3};t3.shapeType="arc";t3.shapeArgs=D2;t3.labelDistance=A2(t3.options.dataLabels&&t3.options.dataLabels.distance,l3);t3.labelDistance=I(t3.labelDistance,D2.r);this.maxLabelDistance=Math.max(this.maxLabelDistance||0,t3.labelDistance);x3=(x3+y2)/2;x3>1.5*Math.PI?x3-=2*Math.PI:x3<-Math.PI/2&&(x3+=2*Math.PI);t3.slicedTranslation={translateX:Math.round(Math.cos(x3)*e3),translateY:Math.round(Math.sin(x3)*e3)};D2=Math.cos(x3)*a4[2]/2;var v2=Math.sin(x3)*a4[2]/2;t3.tooltipPos=[a4[0]+.7*D2,a4[1]+.7*v2];t3.half=x3<-Math.PI/2||x3>Math.PI/2?1:0;t3.angle=x3;y2=Math.min(f2,t3.labelDistance/5);t3.labelPosition={natural:{x:a4[0]+D2+Math.cos(x3)*t3.labelDistance,y:a4[1]+v2+Math.sin(x3)*t3.labelDistance},final:{},alignment:0>t3.labelDistance?"center":t3.half?"right":"left",connectorPosition:{breakAt:{x:a4[0]+D2+Math.cos(x3)*y2,y:a4[1]+v2+Math.sin(x3)*y2},touchingSliceAt:{x:a4[0]+D2,y:a4[1]+v2}}}}k2(this,"afterTranslate")};g4.prototype.updateTotals=function(){var a4=this.points,c2=a4.length,d3=this.options.ignoreHiddenPoint,e3,g5=0;for(e3=0;e3<c2;e3++){var b2=a4[e3];!b2.isValid()||d3&&!b2.visible||(g5+=b2.y)}this.total=g5;for(e3=0;e3<c2;e3++)b2=a4[e3],b2.percentage=0<g5&&(b2.visible||!d3)?b2.y/g5*100:0,b2.total=g5};g4.defaultOptions=p2(H2.defaultOptions,B);return g4}(H2);m2(l2.prototype,{axisTypes:[],directTouch:true,drawGraph:void 0,drawLegendSymbol:F2.drawRectangle,drawTracker:g3.prototype.drawTracker,getCenter:a2.getCenter,getSymbol:x2,isCartesian:false,noSharedTooltip:true,pointAttribs:g3.prototype.pointAttribs,pointClass:C2,requireSorting:false,searchPoint:x2,trackerGroups:["group","dataLabelsGroup"]});t2.registerSeriesType("pie",l2);return l2}));K(g2,"Series/Pie/PieDataLabel.js",[g2["Core/Series/DataLabel.js"],g2["Core/Globals.js"],g2["Core/Renderer/RendererUtilities.js"],g2["Core/Series/SeriesRegistry.js"],g2["Core/Utilities.js"]],(function(a2,g3,x2,F2,C2){var A2=g3.noop,H2=x2.distribute,t2=F2.series,r2=C2.arrayMax,l2=C2.clamp,e2=C2.defined,d2=C2.merge,h2=C2.pick,m2=C2.relativeLength,k2;(function(g4){function k3(){var a3=this,g5=a3.data,f2=a3.chart,k4=a3.options.dataLabels||{},b2=k4.connectorPadding,l3=f2.plotWidth,m3=f2.plotHeight,p3=f2.plotLeft,y3=Math.round(f2.chartWidth/3),A3=a3.center,x4=A3[2]/2,D2=A3[1],B2=[[],[]],E2=[0,0,0,0],v2=a3.dataLabelPositioners,C3,F3,I,L2,G,K2,M,X,R2,V2,Z,W2;a3.visible&&(k4.enabled||a3._hasPointLabels)&&(g5.forEach((function(a4){a4.dataLabel&&a4.visible&&a4.dataLabel.shortened&&(a4.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),a4.dataLabel.shortened=false)})),t2.prototype.drawDataLabels.apply(a3),g5.forEach((function(a4){a4.dataLabel&&(a4.visible?(B2[a4.half].push(a4),a4.dataLabel._pos=null,!e2(k4.style.width)&&!e2(a4.options.dataLabels&&a4.options.dataLabels.style&&a4.options.dataLabels.style.width)&&a4.dataLabel.getBBox().width>y3&&(a4.dataLabel.css({width:Math.round(.7*y3)+"px"}),a4.dataLabel.shortened=true)):(a4.dataLabel=a4.dataLabel.destroy(),a4.dataLabels&&1===a4.dataLabels.length&&delete a4.dataLabels))})),B2.forEach((function(c2,d3){var g6=c2.length,n2=[],q;if(g6){a3.sortByAngle(c2,d3-.5);if(0<a3.maxLabelDistance){var r3=Math.max(0,D2-x4-a3.maxLabelDistance);var t3=Math.min(D2+x4+a3.maxLabelDistance,f2.plotHeight);c2.forEach((function(a4){0<a4.labelDistance&&a4.dataLabel&&(a4.top=Math.max(0,D2-x4-a4.labelDistance),a4.bottom=Math.min(D2+x4+a4.labelDistance,f2.plotHeight),q=a4.dataLabel.getBBox().height||21,a4.distributeBox={target:a4.labelPosition.natural.y-a4.top+q/2,size:q,rank:a4.y},n2.push(a4.distributeBox))}));r3=t3+q-r3;H2(n2,r3,r3/5)}for(Z=0;Z<g6;Z++){C3=c2[Z];K2=C3.labelPosition;L2=C3.dataLabel;V2=false===C3.visible?"hidden":"inherit";R2=r3=K2.natural.y;n2&&e2(C3.distributeBox)&&("undefined"===typeof C3.distributeBox.pos?V2="hidden":(M=C3.distributeBox.size,R2=v2.radialDistributionY(C3)));delete C3.positionIndex;if(k4.justify)X=v2.justify(C3,x4,A3);else switch(k4.alignTo){case"connectors":X=v2.alignToConnectors(c2,d3,l3,p3);break;case"plotEdges":X=v2.alignToPlotEdges(L2,d3,l3,p3);break;default:X=v2.radialDistributionX(a3,C3,R2,r3)}L2._attr={visibility:V2,align:K2.alignment};W2=C3.options.dataLabels||{};L2._pos={x:X+h2(W2.x,k4.x)+({left:b2,right:-b2}[K2.alignment]||0),y:R2+h2(W2.y,k4.y)-10};K2.final.x=X;K2.final.y=R2;h2(k4.crop,true)&&(G=L2.getBBox().width,r3=null,X-G<b2&&1===d3?(r3=Math.round(G-X+b2),E2[3]=Math.max(r3,E2[3])):X+G>l3-b2&&0===d3&&(r3=Math.round(X+G-l3+b2),E2[1]=Math.max(r3,E2[1])),0>R2-M/2?E2[0]=Math.max(Math.round(-R2+M/2),E2[0]):R2+M/2>m3&&(E2[2]=Math.max(Math.round(R2+M/2-m3),E2[2])),L2.sideOverflow=r3)}}})),0===r2(E2)||this.verifyDataLabelOverflow(E2))&&(this.placeDataLabels(),this.points.forEach((function(b3){W2=d2(k4,b3.options.dataLabels);if(F3=h2(W2.connectorWidth,1)){var c2;I=b3.connector;if((L2=b3.dataLabel)&&L2._pos&&b3.visible&&0<b3.labelDistance){V2=L2._attr.visibility;if(c2=!I)b3.connector=I=f2.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+b3.colorIndex+(b3.className?" "+b3.className:"")).add(a3.dataLabelsGroup),f2.styledMode||I.attr({"stroke-width":F3,stroke:W2.connectorColor||b3.color||"#666666"});I[c2?"attr":"animate"]({d:b3.getConnectorPath()});I.attr("visibility",V2)}else I&&(b3.connector=I.destroy())}})))}function p2(){this.points.forEach((function(a3){var c2=a3.dataLabel,d3;c2&&a3.visible&&((d3=c2._pos)?(c2.sideOverflow&&(c2._attr.width=Math.max(c2.getBBox().width-c2.sideOverflow,0),c2.css({width:c2._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),c2.shortened=true),c2.attr(c2._attr),c2[c2.moved?"animate":"attr"](d3),c2.moved=true):c2&&c2.attr({y:-9999}));delete a3.distributeBox}),this)}function x3(a3){var c2=this.center,d3=this.options,e3=d3.center,b2=d3.minSize||80,g5=null!==d3.size;if(!g5){if(null!==e3[0])var h3=Math.max(c2[2]-Math.max(a3[1],a3[3]),b2);else h3=Math.max(c2[2]-a3[1]-a3[3],b2),c2[0]+=(a3[3]-a3[1])/2;null!==e3[1]?h3=l2(h3,b2,c2[2]-Math.max(a3[0],a3[2])):(h3=l2(h3,b2,c2[2]-a3[0]-a3[2]),c2[1]+=(a3[0]-a3[2])/2);h3<c2[2]?(c2[2]=h3,c2[3]=Math.min(d3.thickness?Math.max(0,h3-2*d3.thickness):Math.max(0,m2(d3.innerSize||0,h3)),h3),this.translate(c2),this.drawDataLabels&&this.drawDataLabels()):g5=true}return g5}var B=[],y2={radialDistributionY:function(a3){return a3.top+a3.distributeBox.pos},radialDistributionX:function(a3,d3,e3,g5){return a3.getX(e3<d3.top+2||e3>d3.bottom-2?g5:e3,d3.half,d3)},justify:function(a3,d3,e3){return e3[0]+(a3.half?-1:1)*(d3+a3.labelDistance)},alignToPlotEdges:function(a3,d3,e3,g5){a3=a3.getBBox().width;return d3?a3+g5:e3-a3-g5},alignToConnectors:function(a3,d3,e3,g5){var b2=0,c2;a3.forEach((function(a4){c2=a4.dataLabel.getBBox().width;c2>b2&&(b2=c2)}));return d3?b2+g5:e3-b2-g5}};g4.compose=function(c2){a2.compose(t2);-1===B.indexOf(c2)&&(B.push(c2),c2=c2.prototype,c2.dataLabelPositioners=y2,c2.alignDataLabel=A2,c2.drawDataLabels=k3,c2.placeDataLabels=p2,c2.verifyDataLabelOverflow=x3)}})(k2||(k2={}));return k2}));K(g2,"Extensions/OverlappingDataLabels.js",[g2["Core/Chart/Chart.js"],g2["Core/Utilities.js"]],(function(a2,g3){function A2(a3,e2){var d2=false;if(a3){var g4=a3.newOpacity;a3.oldOpacity!==g4&&(a3.alignAttr&&a3.placed?(a3[g4?"removeClass":"addClass"]("highcharts-data-label-hidden"),d2=true,a3.alignAttr.opacity=g4,a3[a3.isOld?"animate":"attr"](a3.alignAttr,null,(function(){e2.styledMode||a3.css({pointerEvents:g4?"auto":"none"})})),C2(e2,"afterHideOverlappingLabel")):a3.attr({opacity:g4}));a3.isOld=true}return d2}var F2=g3.addEvent,C2=g3.fireEvent,B=g3.isArray,H2=g3.isNumber,t2=g3.objectEach,r2=g3.pick;F2(a2,"render",(function(){var a3=this,e2=[];(this.labelCollectors||[]).forEach((function(a4){e2=e2.concat(a4())}));(this.yAxis||[]).forEach((function(a4){a4.stacking&&a4.options.stackLabels&&!a4.options.stackLabels.allowOverlap&&t2(a4.stacking.stacks,(function(a5){t2(a5,(function(a6){a6.label&&e2.push(a6.label)}))}))}));(this.series||[]).forEach((function(d2){var g4=d2.options.dataLabels;d2.visible&&(false!==g4.enabled||d2._hasPointLabels)&&(g4=function(d3){return d3.forEach((function(d4){d4.visible&&(B(d4.dataLabels)?d4.dataLabels:d4.dataLabel?[d4.dataLabel]:[]).forEach((function(g5){var h2=g5.options;g5.labelrank=r2(h2.labelrank,d4.labelrank,d4.shapeArgs&&d4.shapeArgs.height);h2.allowOverlap?(g5.oldOpacity=g5.opacity,g5.newOpacity=1,A2(g5,a3)):e2.push(g5)}))}))},g4(d2.nodes||[]),g4(d2.points))}));this.hideOverlappingLabels(e2)}));a2.prototype.hideOverlappingLabels=function(a3){var e2=this,d2=a3.length,g4=e2.renderer,l2,k2,p2,r3=false;var t3=function(a4){var c2,d3=a4.box?0:a4.padding||0,e3=c2=0,h2;if(a4&&(!a4.alignAttr||a4.placed)){var b2=a4.alignAttr||{x:a4.attr("x"),y:a4.attr("y")};var k3=a4.parentGroup;a4.width||(c2=a4.getBBox(),a4.width=c2.width,a4.height=c2.height,c2=g4.fontMetrics(null,a4.element).h);var l3=a4.width-2*d3;(h2={left:"0",center:"0.5",right:"1"}[a4.alignValue])?e3=+h2*l3:H2(a4.x)&&Math.round(a4.x)!==a4.translateX&&(e3=a4.x-a4.translateX);return{x:b2.x+(k3.translateX||0)+d3-(e3||0),y:b2.y+(k3.translateY||0)+d3-c2,width:a4.width-2*d3,height:a4.height-2*d3}}};for(k2=0;k2<d2;k2++)if(l2=a3[k2])l2.oldOpacity=l2.opacity,l2.newOpacity=1,l2.absoluteBox=t3(l2);a3.sort((function(a4,c2){return(c2.labelrank||0)-(a4.labelrank||0)}));for(k2=0;k2<d2;k2++){var x2=(t3=a3[k2])&&t3.absoluteBox;for(l2=k2+1;l2<d2;++l2){var B2=(p2=a3[l2])&&p2.absoluteBox;!x2||!B2||t3===p2||0===t3.newOpacity||0===p2.newOpacity||"hidden"===t3.visibility||"hidden"===p2.visibility||B2.x>=x2.x+x2.width||B2.x+B2.width<=x2.x||B2.y>=x2.y+x2.height||B2.y+B2.height<=x2.y||((t3.labelrank<p2.labelrank?t3:p2).newOpacity=0)}}a3.forEach((function(a4){A2(a4,e2)&&(r3=true)}));r3&&C2(e2,"afterHideAllOverlappingLabels")}}));K(g2,"Core/Responsive.js",[g2["Core/Utilities.js"]],(function(a2){var g3=a2.extend,x2=a2.find,F2=a2.isArray,C2=a2.isObject,B=a2.merge,H2=a2.objectEach,t2=a2.pick,r2=a2.splat,l2=a2.uniqueKey,e2;(function(a3){var d2=[];a3.compose=function(a4){-1===d2.indexOf(a4)&&(d2.push(a4),g3(a4.prototype,e3.prototype));return a4};var e3=function(){function a4(){}a4.prototype.currentOptions=function(a5){function d3(a6,g5,c2,h2){var f2;H2(a6,(function(a7,b2){if(!h2&&-1<e4.collectionsWithUpdate.indexOf(b2)&&g5[b2])for(a7=r2(a7),c2[b2]=[],f2=0;f2<Math.max(a7.length,g5[b2].length);f2++)g5[b2][f2]&&(void 0===a7[f2]?c2[b2][f2]=g5[b2][f2]:(c2[b2][f2]={},d3(a7[f2],g5[b2][f2],c2[b2][f2],h2+1)));else C2(a7)?(c2[b2]=F2(a7)?[]:{},d3(a7,g5[b2]||{},c2[b2],h2+1)):c2[b2]="undefined"===typeof g5[b2]?null:g5[b2]}))}var e4=this,g4={};d3(a5,this.options,g4,0);return g4};a4.prototype.matchResponsiveRule=function(a5,d3){var e4=a5.condition;(e4.callback||function(){return this.chartWidth<=t2(e4.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=t2(e4.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=t2(e4.minWidth,0)&&this.chartHeight>=t2(e4.minHeight,0)}).call(this)&&d3.push(a5._id)};a4.prototype.setResponsive=function(a5,d3){var e4=this,g4=this.options.responsive,h2=this.currentResponsive,k2=[];!d3&&g4&&g4.rules&&g4.rules.forEach((function(a6){"undefined"===typeof a6._id&&(a6._id=l2());e4.matchResponsiveRule(a6,k2)}),this);d3=B.apply(void 0,k2.map((function(a6){return x2((g4||{}).rules||[],(function(c2){return c2._id===a6}))})).map((function(a6){return a6&&a6.chartOptions})));d3.isResponsiveOptions=true;k2=k2.toString()||void 0;k2!==(h2&&h2.ruleIds)&&(h2&&this.update(h2.undoOptions,a5,true),k2?(h2=this.currentOptions(d3),h2.isResponsiveOptions=true,this.currentResponsive={ruleIds:k2,mergedOptions:d3,undoOptions:h2},this.update(d3,a5,true)):this.currentResponsive=void 0)};return a4}()})(e2||(e2={}));return e2}));K(g2,"masters/highcharts.src.js",[g2["Core/Globals.js"],g2["Core/Utilities.js"],g2["Core/Defaults.js"],g2["Core/Animation/Fx.js"],g2["Core/Animation/AnimationUtilities.js"],g2["Core/Renderer/HTML/AST.js"],g2["Core/FormatUtilities.js"],g2["Core/Renderer/RendererUtilities.js"],g2["Core/Renderer/SVG/SVGElement.js"],g2["Core/Renderer/SVG/SVGRenderer.js"],g2["Core/Renderer/HTML/HTMLElement.js"],g2["Core/Renderer/HTML/HTMLRenderer.js"],g2["Core/Axis/Axis.js"],g2["Core/Axis/DateTimeAxis.js"],g2["Core/Axis/LogarithmicAxis.js"],g2["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],g2["Core/Axis/Tick.js"],g2["Core/Tooltip.js"],g2["Core/Series/Point.js"],g2["Core/Pointer.js"],g2["Core/MSPointer.js"],g2["Core/Legend/Legend.js"],g2["Core/Chart/Chart.js"],g2["Core/Axis/Stacking/StackingAxis.js"],g2["Core/Axis/Stacking/StackItem.js"],g2["Core/Series/Series.js"],g2["Core/Series/SeriesRegistry.js"],g2["Series/Column/ColumnSeries.js"],g2["Series/Column/ColumnDataLabel.js"],g2["Series/Pie/PieSeries.js"],g2["Series/Pie/PieDataLabel.js"],g2["Core/Series/DataLabel.js"],g2["Core/Responsive.js"],g2["Core/Color/Color.js"],g2["Core/Time.js"]],(function(a2,g3,x2,F2,C2,B,H2,t2,r2,l2,e2,d2,h2,m2,k2,p2,D2,I,E2,L2,y2,c2,w2,f2,n2,b2,u2,z2,q,K2,J,O2,Q,T2,Y){a2.animate=C2.animate;a2.animObject=C2.animObject;a2.getDeferredAnimation=C2.getDeferredAnimation;a2.setAnimation=C2.setAnimation;a2.stop=C2.stop;a2.timers=F2.timers;a2.AST=B;a2.Axis=h2;a2.Chart=w2;a2.chart=w2.chart;a2.Fx=F2;a2.Legend=c2;a2.PlotLineOrBand=p2;a2.Point=E2;a2.Pointer=y2.isRequired()?y2:L2;a2.Series=b2;a2.StackItem=n2;a2.SVGElement=r2;a2.SVGRenderer=l2;a2.Tick=D2;a2.Time=Y;a2.Tooltip=I;a2.Color=T2;a2.color=T2.parse;d2.compose(l2);e2.compose(r2);a2.defaultOptions=x2.defaultOptions;a2.getOptions=x2.getOptions;a2.time=x2.defaultTime;a2.setOptions=x2.setOptions;a2.dateFormat=H2.dateFormat;a2.format=H2.format;a2.numberFormat=H2.numberFormat;a2.addEvent=g3.addEvent;a2.arrayMax=g3.arrayMax;a2.arrayMin=g3.arrayMin;a2.attr=g3.attr;a2.clearTimeout=g3.clearTimeout;a2.correctFloat=g3.correctFloat;a2.createElement=g3.createElement;a2.css=g3.css;a2.defined=g3.defined;a2.destroyObjectProperties=g3.destroyObjectProperties;a2.discardElement=g3.discardElement;a2.distribute=t2.distribute;a2.erase=g3.erase;a2.error=g3.error;a2.extend=g3.extend;a2.extendClass=g3.extendClass;a2.find=g3.find;a2.fireEvent=g3.fireEvent;a2.getMagnitude=g3.getMagnitude;a2.getStyle=g3.getStyle;a2.inArray=g3.inArray;a2.isArray=g3.isArray;a2.isClass=g3.isClass;a2.isDOMElement=g3.isDOMElement;a2.isFunction=g3.isFunction;a2.isNumber=g3.isNumber;a2.isObject=g3.isObject;a2.isString=g3.isString;a2.keys=g3.keys;a2.merge=g3.merge;a2.normalizeTickInterval=g3.normalizeTickInterval;a2.objectEach=g3.objectEach;a2.offset=g3.offset;a2.pad=g3.pad;a2.pick=g3.pick;a2.pInt=g3.pInt;a2.relativeLength=g3.relativeLength;a2.removeEvent=g3.removeEvent;a2.seriesType=u2.seriesType;a2.splat=g3.splat;a2.stableSort=g3.stableSort;a2.syncTimeout=g3.syncTimeout;a2.timeUnits=g3.timeUnits;a2.uniqueKey=g3.uniqueKey;a2.useSerialIds=g3.useSerialIds;a2.wrap=g3.wrap;q.compose(z2);O2.compose(b2);m2.compose(h2);k2.compose(h2);J.compose(K2);p2.compose(h2);Q.compose(w2);f2.compose(h2,w2,b2);return a2}));g2["masters/highcharts.src.js"]._modules=g2;return g2["masters/highcharts.src.js"]}))})(highcharts);var highchartsExports=highcharts.exports;const Highcharts$1=getDefaultExportFromCjs(highchartsExports);const mapColors=array=>{const regex=/(data)\-[1-8]/;const newArray=array.map((item=>regex.test(item)?`${colors$1[`data_${item[item.length-1]}`]}`:item));return newArray};const BarGraph=({aria:aria={},data:data={},align:align="center",axisTitle:axisTitle,dark:dark=false,chartData:chartData,className:className="pb_bar_graph",colors:colors2,htmlOptions:htmlOptions={},customOptions:customOptions={},axisFormat:axisFormat,id:id,pointStart:pointStart,stacking:stacking,subTitle:subTitle,type:type="column",title:title="Title",xAxisCategories:xAxisCategories,yAxisMin:yAxisMin,yAxisMax:yAxisMax,legend:legend=false,toggleLegendClick:toggleLegendClick=true,height:height,layout:layout="horizontal",verticalAlign:verticalAlign="bottom",x:x2=0,y:y2=0,...props})=>{const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const setupTheme=()=>{dark?Highcharts$1.setOptions(highchartsDarkTheme):Highcharts$1.setOptions(highchartsTheme)};setupTheme();const staticOptions={title:{text:title},chart:{height:height,type:type},subtitle:{text:subTitle},yAxis:[{labels:{format:typeof axisFormat==="string"?axisFormat:axisFormat&&axisFormat[0]?axisFormat[0].format:""},min:yAxisMin,max:yAxisMax,opposite:false,title:{text:Array.isArray(axisTitle)?axisTitle.length>0?axisTitle[0].name:null:axisTitle},plotLines:typeof yAxisMin!=="undefined"&&yAxisMin!==null?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]}],xAxis:{categories:xAxisCategories},legend:{enabled:legend,align:align,verticalAlign:verticalAlign,layout:layout,x:x2,y:y2},colors:colors2!==void 0&&colors2.length>0?mapColors(colors2):highchartsTheme.colors,plotOptions:{series:{stacking:stacking,pointStart:pointStart,borderWidth:stacking?0:"",events:{},dataLabels:{enabled:false}}},series:chartData,credits:false};if(Array.isArray(axisTitle)&&axisTitle.length>1&&axisTitle[1].name){staticOptions.yAxis.push({labels:{format:typeof axisFormat==="string"?axisFormat:axisFormat[1].format},min:yAxisMin,max:yAxisMax,opposite:true,title:{text:axisTitle[1].name},plotLines:typeof yAxisMin!=="undefined"&&yAxisMin!==null?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]})}if(!toggleLegendClick){staticOptions.plotOptions.series.events={legendItemClick:()=>false}}const filteredProps={...props};delete filteredProps.verticalAlign;const[options2,setOptions]=useState({});useEffect((()=>{setOptions(merge(staticOptions,customOptions))}),[chartData]);return jsx$1(HighchartsReact,{containerProps:{className:classnames(globalProps(filteredProps),className),id:id,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2})};const buttonClassName=props=>{const{disabled:disabled=false,fullWidth:fullWidth=false,highlight:highlight,icon:icon,loading:loading=false,type:type="inline",variant:variant="primary",size:size=null}=props;let className="pb_button_kit";className+=`${variant!==null?`_${variant}`:""}`;className+=`${type!==null?`_${type}`:""}`;className+=`${fullWidth?"_block":""}`;className+=disabled?"_disabled":"_enabled";className+=loading?"_loading":"";className+=`${size!==null?` size_${size}`:""}`;className+=`${variant==="reaction"&&!isValidEmoji(icon)?` reaction_default`:""}`;className+=`${variant==="reaction"&&highlight?` active`:""}`;return className};const spinnerIcon=getAllIcons()["spinner"];const Button=props=>{const{aria:aria={},children:children,className:className,count:count2,data:data={},disabled:disabled,htmlOptions:htmlOptions={},icon:icon=null,iconRight:iconRight=false,id:id,loading:loading=false,onClick:onClick,tabIndex:tabIndex,link:link=null,newWindow:newWindow=false,target:target="",text:text,htmlType:htmlType="button",value:value,variant:variant,form:form=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(buttonClassName(props),globalProps(props),className);const loadingIcon=jsx$1("div",{className:"loading-icon",children:jsx$1(Icon,{className:"svg-inline--fa",customIcon:spinnerIcon.icon,fixedWidth:true,pulse:true})});const content=jsxs("span",{className:"pb_button_content",children:[icon&&!iconRight&&jsx$1("i",{className:`pb_icon_kit far fa-${icon} fa-fw button_with_icon`}),jsx$1("span",{children:text||children}),icon&&iconRight&&jsx$1("i",{className:`pb_icon_kit far fa-${icon} fa-fw button_with_icon_right`})]});const ifLoading=()=>{if(loading){return jsx$1(Fragment,{children:loadingIcon})}else{return content}};const getTargetAttribute=()=>{if(target&&link){return target}else if(newWindow){return"_blank"}return null};const displayButton=()=>{if(link){return jsx$1("a",{...ariaProps,...dataProps,...htmlProps,className:css4,href:link,id:id,rel:target!=="child"?"noreferrer":null,role:"link",tabIndex:tabIndex,target:getTargetAttribute(),children:ifLoading()})}else if(variant==="reaction"){return jsxs("button",{...ariaProps,...dataProps,...htmlProps,className:css4,disabled:disabled,form:form,id:id,onClick:onClick,role:"button",tabIndex:tabIndex,type:htmlType,value:value,children:[icon&&isValidEmoji(icon)&&jsxs(Flex,{align:"center",children:[jsx$1(Icon,{icon:icon}),count2&&jsx$1(Caption,{paddingLeft:"xxs",size:"xs",children:count2})]}),!isValidEmoji(icon)&&jsx$1(Icon,{icon:icon?icon:"face-smile-plus"})]})}else{return jsx$1("button",{...ariaProps,...dataProps,...htmlProps,className:css4,disabled:disabled,form:form,id:id,onClick:onClick,role:"button",tabIndex:tabIndex,type:htmlType,value:value,children:ifLoading()})}};return jsx$1(Fragment,{children:displayButton()})};const Checkbox=props=>{const{aria:aria={},checked:checked=false,children:children,className:className,dark:dark=false,data:data={},disabled:disabled=false,error:error=false,htmlOptions:htmlOptions={},id:id,indeterminate:indeterminate=false,name:name2="",onChange:onChange2=()=>{},tabIndex:tabIndex,text:text="",value:value=""}=props;const checkRef=useRef(null);const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_checkbox_kit",checked?"checked":null,error?"error":null,indeterminate?"indeterminate":null),globalProps(props),className);useEffect((()=>{if(checkRef.current){checkRef.current.checked=checked;checkRef.current.indeterminate=indeterminate}}),[indeterminate,checked]);const checkboxChildren=()=>{if(children)return children;else return jsx$1("input",{defaultChecked:checked,disabled:disabled,name:name2,onChange:onChange2,ref:checkRef,tabIndex:tabIndex,type:"checkbox",value:value})};return jsxs("label",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:[jsx$1(Fragment,{children:checkboxChildren()}),!indeterminate&&jsx$1("span",{className:"pb_checkbox_checkmark",children:jsx$1(Icon,{className:"check_icon",fixedWidth:true,icon:"check"})}),indeterminate&&jsx$1("span",{className:"pb_checkbox_indeterminate",children:jsx$1(Icon,{className:"indeterminate_icon",fixedWidth:true,icon:"minus"})}),jsx$1(Body$1,{className:"pb_checkbox_label",dark:dark,status:error?"negative":null,variant:null,children:text})]})};var highchartsMore$1={exports:{}};(function(module){(function(d2){module.exports?(d2["default"]=d2,module.exports=d2):d2("undefined"!==typeof Highcharts?Highcharts:void 0)})((function(d2){function D2(b2,c2,h2,a2){b2.hasOwnProperty(c2)||(b2[c2]=a2.apply(null,h2),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:c2,module:b2[c2]}})))}d2=d2?d2._modules:{};D2(d2,"Extensions/Pane.js",[d2["Core/Chart/Chart.js"],d2["Series/CenteredUtilities.js"],d2["Core/Globals.js"],d2["Core/Pointer.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2,f2){function w2(g2,k2,e3,a3,G){var m2=true,E2=e3[0],v2=e3[1],c3=Math.sqrt(Math.pow(g2-E2,2)+Math.pow(k2-v2,2));q(a3)&&q(G)&&(g2=Math.atan2(r2(k2-v2,8),r2(g2-E2,8)),G!==a3&&(m2=a3>G?g2>=a3&&g2<=Math.PI||g2<=G&&g2>=-Math.PI:g2>=a3&&g2<=r2(G,8)));return c3<=Math.ceil(e3[2]/2)&&m2}var d3=f2.addEvent,r2=f2.correctFloat,q=f2.defined,F2=f2.extend,p2=f2.merge,l2=f2.pick,e2=f2.splat;b2.prototype.collectionsWithUpdate.push("pane");f2=function(){function g2(k2,g3){this.options=this.chart=this.center=this.background=void 0;this.coll="pane";this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0};this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"};this.init(k2,g3)}g2.prototype.init=function(k2,g3){this.chart=g3;this.background=[];g3.pane.push(this);this.setOptions(k2)};g2.prototype.setOptions=function(k2){this.options=p2(this.defaultOptions,this.chart.angular?{background:{}}:void 0,k2)};g2.prototype.render=function(){var k2=this.options,g3=this.options.background,a3=this.chart.renderer;this.group||(this.group=a3.g("pane-group").attr({zIndex:k2.zIndex||0}).add());this.updateCenter();if(g3)for(g3=e2(g3),k2=Math.max(g3.length,this.background.length||0),a3=0;a3<k2;a3++)g3[a3]&&this.axis?this.renderBackground(p2(this.defaultBackgroundOptions,g3[a3]),a3):this.background[a3]&&(this.background[a3]=this.background[a3].destroy(),this.background.splice(a3,1))};g2.prototype.renderBackground=function(g3,e3){var k2="animate",m2={class:"highcharts-pane "+(g3.className||"")};this.chart.styledMode||F2(m2,{fill:g3.backgroundColor,stroke:g3.borderColor,"stroke-width":g3.borderWidth});this.background[e3]||(this.background[e3]=this.chart.renderer.path().add(this.group),k2="attr");this.background[e3][k2]({d:this.axis.getPlotBandPath(g3.from,g3.to,g3)}).attr(m2)};g2.prototype.updateCenter=function(g3){this.center=(g3||this.axis||{}).center=c2.getCenter.call(this)};g2.prototype.update=function(g3,e3){p2(true,this.options,g3);this.setOptions(this.options);this.render();this.chart.axes.forEach((function(g4){g4.pane===this&&(g4.pane=null,g4.update({},e3))}),this)};return g2}();b2.prototype.getHoverPane=function(g2){var e3=this,m2;g2&&e3.pane.forEach((function(k2){w2(g2.chartX-e3.plotLeft,g2.chartY-e3.plotTop,k2.center)&&(m2=k2)}));return m2};d3(b2,"afterIsInsidePlot",(function(g2){if(this.polar){if(g2.options.inverted){var e3=[g2.y,g2.x];g2.x=e3[0];g2.y=e3[1]}g2.isInsidePlot=this.pane.some((function(e4){return w2(g2.x,g2.y,e4.center,e4.axis&&e4.axis.normalizedStartAngleRad,e4.axis&&e4.axis.normalizedEndAngleRad)}))}}));d3(a2,"beforeGetHoverData",(function(g2){var e3=this.chart;e3.polar?(e3.hoverPane=e3.getHoverPane(g2),g2.filter=function(k2){return k2.visible&&!(!g2.shared&&k2.directTouch)&&l2(k2.options.enableMouseTracking,true)&&(!e3.hoverPane||k2.xAxis.pane===e3.hoverPane)}):e3.hoverPane=void 0}));d3(a2,"afterGetHoverData",(function(g2){var e3=this.chart;g2.hoverPoint&&g2.hoverPoint.plotX&&g2.hoverPoint.plotY&&e3.hoverPane&&!w2(g2.hoverPoint.plotX,g2.hoverPoint.plotY,e3.hoverPane.center)&&(g2.hoverPoint=void 0)}));h2.Pane=f2;return h2.Pane}));D2(d2,"Series/AreaRange/AreaRangePoint.js",[d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2){var h2=this&&this.__extends||function(){var a3=function(c3,b3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,c4){a4.__proto__=c4}||function(a4,c4){for(var b4 in c4)c4.hasOwnProperty(b4)&&(a4[b4]=c4[b4])};return a3(c3,b3)};return function(c3,b3){function f3(){this.constructor=c3}a3(c3,b3);c3.prototype=null===b3?Object.create(b3):(f3.prototype=b3.prototype,new f3)}}();b2=b2.seriesTypes.area.prototype;var a2=b2.pointClass.prototype,f2=c2.defined,d3=c2.isNumber;return function(c3){function b3(){var a3=null!==c3&&c3.apply(this,arguments)||this;a3.high=void 0;a3.low=void 0;a3.options=void 0;a3.plotX=void 0;a3.series=void 0;return a3}h2(b3,c3);b3.prototype.setState=function(){var c4=this.state,b4=this.series,h3=b4.chart.polar;f2(this.plotHigh)||(this.plotHigh=b4.yAxis.toPixels(this.high,true));f2(this.plotLow)||(this.plotLow=this.plotY=b4.yAxis.toPixels(this.low,true));b4.stateMarkerGraphic&&(b4.lowerStateMarkerGraphic=b4.stateMarkerGraphic,b4.stateMarkerGraphic=b4.upperStateMarkerGraphic);this.graphic=this.graphics&&this.graphics[1];this.plotY=this.plotHigh;h3&&d3(this.plotHighX)&&(this.plotX=this.plotHighX);a2.setState.apply(this,arguments);this.state=c4;this.plotY=this.plotLow;this.graphic=this.graphics&&this.graphics[0];h3&&d3(this.plotLowX)&&(this.plotX=this.plotLowX);b4.stateMarkerGraphic&&(b4.upperStateMarkerGraphic=b4.stateMarkerGraphic,b4.stateMarkerGraphic=b4.lowerStateMarkerGraphic,b4.lowerStateMarkerGraphic=void 0);a2.setState.apply(this,arguments)};b3.prototype.haloPath=function(){var b4=this.series.chart.polar,c4=[];this.plotY=this.plotLow;b4&&d3(this.plotLowX)&&(this.plotX=this.plotLowX);this.isInside&&(c4=a2.haloPath.apply(this,arguments));this.plotY=this.plotHigh;b4&&d3(this.plotHighX)&&(this.plotX=this.plotHighX);this.isTopInside&&(c4=c4.concat(a2.haloPath.apply(this,arguments)));return c4};b3.prototype.isValid=function(){return d3(this.low)&&d3(this.high)};return b3}(b2.pointClass)}));D2(d2,"Series/AreaRange/AreaRangeSeries.js",[d2["Series/AreaRange/AreaRangePoint.js"],d2["Core/Globals.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2){var f2=this&&this.__extends||function(){var g3=function(e3,k3){g3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g4,e4){g4.__proto__=e4}||function(g4,e4){for(var k4 in e4)e4.hasOwnProperty(k4)&&(g4[k4]=e4[k4])};return g3(e3,k3)};return function(e3,k3){function m3(){this.constructor=e3}g3(e3,k3);e3.prototype=null===k3?Object.create(k3):(m3.prototype=k3.prototype,new m3)}}();c2=c2.noop;var d3=h2.seriesTypes,n2=d3.area,r2=d3.area.prototype,q=d3.column.prototype;d3=a2.addEvent;var F2=a2.defined,p2=a2.extend,l2=a2.isArray,e2=a2.isNumber,g2=a2.pick,k2=a2.merge,m2={lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:true,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}};a2=function(e3){function a3(){var g3=null!==e3&&e3.apply(this,arguments)||this;g3.data=void 0;g3.options=void 0;g3.points=void 0;g3.lowerStateMarkerGraphic=void 0;g3.xAxis=void 0;return g3}f2(a3,e3);a3.prototype.toYData=function(g3){return[g3.low,g3.high]};a3.prototype.highToXY=function(g3){var e4=this.chart,k3=this.xAxis.postTranslate(g3.rectPlotX||0,this.yAxis.len-(g3.plotHigh||0));g3.plotHighX=k3.x-e4.plotLeft;g3.plotHigh=k3.y-e4.plotTop;g3.plotLowX=g3.plotX};a3.prototype.getGraphPath=function(e4){var k3=[],a4=[],m3=r2.getGraphPath,b3=this.options,c3=this.chart.polar,x2=c3&&false!==b3.connectEnds,B=b3.connectNulls,y2,f3=b3.step;e4=e4||this.points;for(y2=e4.length;y2--;){var t2=e4[y2];var G=c3?{plotX:t2.rectPlotX,plotY:t2.yBottom,doCurve:false}:{plotX:t2.plotX,plotY:t2.plotY,doCurve:false};t2.isNull||x2||B||e4[y2+1]&&!e4[y2+1].isNull||a4.push(G);var l3={polarPlotY:t2.polarPlotY,rectPlotX:t2.rectPlotX,yBottom:t2.yBottom,plotX:g2(t2.plotHighX,t2.plotX),plotY:t2.plotHigh,isNull:t2.isNull};a4.push(l3);k3.push(l3);t2.isNull||x2||B||e4[y2-1]&&!e4[y2-1].isNull||a4.push(G)}e4=m3.call(this,e4);f3&&(true===f3&&(f3="left"),b3.step={left:"right",center:"center",right:"left"}[f3]);k3=m3.call(this,k3);a4=m3.call(this,a4);b3.step=f3;b3=[].concat(e4,k3);!this.chart.polar&&a4[0]&&"M"===a4[0][0]&&(a4[0]=["L",a4[0][1],a4[0][2]]);this.graphPath=b3;this.areaPath=e4.concat(a4);b3.isArea=true;b3.xMap=e4.xMap;this.areaPath.xMap=e4.xMap;return b3};a3.prototype.drawDataLabels=function(){var e4=this.points,g3=e4.length,k3=[],a4=this.options.dataLabels,m3=this.chart.inverted,b3,x2;if(a4){if(l2(a4)){var c3=a4[0]||{enabled:false};var y2=a4[1]||{enabled:false}}else c3=p2({},a4),c3.x=a4.xHigh,c3.y=a4.yHigh,y2=p2({},a4),y2.x=a4.xLow,y2.y=a4.yLow;if(c3.enabled||this._hasPointLabels){for(b3=g3;b3--;)if(x2=e4[b3]){var f3=x2.plotHigh;f3=void 0===f3?0:f3;var t2=x2.plotLow;t2=void 0===t2?0:t2;t2=c3.inside?f3<t2:f3>t2;x2.y=x2.high;x2._plotY=x2.plotY;x2.plotY=f3;k3[b3]=x2.dataLabel;x2.dataLabel=x2.dataLabelUpper;x2.below=t2;m3?c3.align||(c3.align=t2?"right":"left"):c3.verticalAlign||(c3.verticalAlign=t2?"top":"bottom")}this.options.dataLabels=c3;r2.drawDataLabels&&r2.drawDataLabels.apply(this,arguments);for(b3=g3;b3--;)if(x2=e4[b3])x2.dataLabelUpper=x2.dataLabel,x2.dataLabel=k3[b3],delete x2.dataLabels,x2.y=x2.low,x2.plotY=x2._plotY}if(y2.enabled||this._hasPointLabels){for(b3=g3;b3--;)if(x2=e4[b3])k3=x2.plotHigh,f3=void 0===k3?0:k3,k3=x2.plotLow,t2=void 0===k3?0:k3,t2=y2.inside?f3<t2:f3>t2,x2.below=!t2,m3?y2.align||(y2.align=t2?"left":"right"):y2.verticalAlign||(y2.verticalAlign=t2?"bottom":"top");this.options.dataLabels=y2;r2.drawDataLabels&&r2.drawDataLabels.apply(this,arguments)}if(c3.enabled){for(b3=g3;b3--;)if(x2=e4[b3])x2.dataLabels=[x2.dataLabelUpper,x2.dataLabel].filter((function(e5){return!!e5}))}this.options.dataLabels=a4}};a3.prototype.alignDataLabel=function(){q.alignDataLabel.apply(this,arguments)};a3.prototype.drawPoints=function(){var e4=this.points.length,k3;r2.drawPoints.apply(this,arguments);for(k3=0;k3<e4;){var a4=this.points[k3];a4.graphics=a4.graphics||[];a4.origProps={plotY:a4.plotY,plotX:a4.plotX,isInside:a4.isInside,negative:a4.negative,zone:a4.zone,y:a4.y};if(a4.graphic||a4.graphics[0])a4.graphics[0]=a4.graphic;a4.graphic=a4.graphics[1];a4.plotY=a4.plotHigh;F2(a4.plotHighX)&&(a4.plotX=a4.plotHighX);a4.y=g2(a4.high,a4.origProps.y);a4.negative=a4.y<(this.options.threshold||0);this.zones.length&&(a4.zone=a4.getZone());this.chart.polar||(a4.isInside=a4.isTopInside="undefined"!==typeof a4.plotY&&0<=a4.plotY&&a4.plotY<=this.yAxis.len&&0<=a4.plotX&&a4.plotX<=this.xAxis.len);k3++}r2.drawPoints.apply(this,arguments);for(k3=0;k3<e4;){a4=this.points[k3];a4.graphics=a4.graphics||[];if(a4.graphic||a4.graphics[1])a4.graphics[1]=a4.graphic;a4.graphic=a4.graphics[0];a4.origProps&&(p2(a4,a4.origProps),delete a4.origProps);k3++}};a3.defaultOptions=k2(n2.defaultOptions,m2);return a3}(n2);d3(a2,"afterTranslate",(function(){var g3=this;"low,high"===this.pointArrayMap.join(",")&&this.points.forEach((function(a3){var k3=a3.high,m3=a3.plotY;a3.isNull?a3.plotY=void 0:(a3.plotLow=m3,a3.plotHigh=e2(k3)?g3.yAxis.translate(g3.dataModify?g3.dataModify.modifyValue(k3):k3,false,true,void 0,true):void 0,g3.dataModify&&(a3.yBottom=a3.plotHigh))}))}),{order:0});d3(a2,"afterTranslate",(function(){var e3=this;this.points.forEach((function(g3){if(e3.chart.polar)e3.highToXY(g3),g3.plotLow=g3.plotY,g3.tooltipPos=[((g3.plotHighX||0)+(g3.plotLowX||0))/2,((g3.plotHigh||0)+(g3.plotLow||0))/2];else{var a3=g3.pos(false,g3.plotLow),k3=g3.pos(false,g3.plotHigh);a3&&k3&&(a3[0]=(a3[0]+k3[0])/2,a3[1]=(a3[1]+k3[1])/2);g3.tooltipPos=a3}}))}),{order:3});p2(a2.prototype,{deferTranslatePolar:true,pointArrayMap:["low","high"],pointClass:b2,pointValKey:"low",setStackedPoints:c2});h2.registerSeriesType("arearange",a2);return a2}));D2(d2,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[d2["Series/AreaRange/AreaRangeSeries.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2){var a2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var e2 in b4)b4.hasOwnProperty(e2)&&(a4[e2]=b4[e2])};return a3(b3,c3)};return function(b3,c3){function f3(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(f3.prototype=c3.prototype,new f3)}}(),f2=c2.seriesTypes.spline.prototype,d3=h2.merge;h2=h2.extend;var n2=function(c3){function f3(){var a3=null!==c3&&c3.apply(this,arguments)||this;a3.options=void 0;a3.data=void 0;a3.points=void 0;return a3}a2(f3,c3);f3.defaultOptions=d3(b2.defaultOptions);return f3}(b2);h2(n2.prototype,{getPointSpline:f2.getPointSpline});c2.registerSeriesType("areasplinerange",n2);return n2}));D2(d2,"Series/BoxPlot/BoxPlotSeries.js",[d2["Series/Column/ColumnSeries.js"],d2["Core/Globals.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2){var f2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e2){a4.__proto__=e2}||function(a4,e2){for(var g2 in e2)e2.hasOwnProperty(g2)&&(a4[g2]=e2[g2])};return a3(b3,c3)};return function(b3,c3){function f3(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(f3.prototype=c3.prototype,new f3)}}();c2=c2.noop;var d3=a2.extend,n2=a2.merge,r2=a2.pick;a2=function(a3){function c3(){var b3=null!==a3&&a3.apply(this,arguments)||this;b3.data=void 0;b3.options=void 0;b3.points=void 0;return b3}f2(c3,a3);c3.prototype.pointAttribs=function(){return{}};c3.prototype.translate=function(){var b3=this.yAxis,c4=this.pointArrayMap;a3.prototype.translate.apply(this);this.points.forEach((function(a4){c4.forEach((function(g2){null!==a4[g2]&&(a4[g2+"Plot"]=b3.translate(a4[g2],0,1,0,1))}));a4.plotHigh=a4.highPlot}))};c3.prototype.drawPoints=function(){var a4=this,b3=a4.options,e2=a4.chart,g2=e2.renderer,k2,c4,f3,h3,d4,E2,v2=0,n3,I,K,x2,B=false!==a4.doQuartiles,y2,H2=a4.options.whiskerLength;a4.points.forEach((function(m2){var t2=m2.graphic,G=t2?"animate":"attr",N=m2.shapeArgs,L2={},l2={},w2={},u2={},C2=m2.color||a4.color;"undefined"!==typeof m2.plotY&&(n3=Math.round(N.width),I=Math.floor(N.x),K=I+n3,x2=Math.round(n3/2),k2=Math.floor(B?m2.q1Plot:m2.lowPlot),c4=Math.floor(B?m2.q3Plot:m2.lowPlot),f3=Math.floor(m2.highPlot),h3=Math.floor(m2.lowPlot),t2||(m2.graphic=t2=g2.g("point").add(a4.group),m2.stem=g2.path().addClass("highcharts-boxplot-stem").add(t2),H2&&(m2.whiskers=g2.path().addClass("highcharts-boxplot-whisker").add(t2)),B&&(m2.box=g2.path(void 0).addClass("highcharts-boxplot-box").add(t2)),m2.medianShape=g2.path(void 0).addClass("highcharts-boxplot-median").add(t2)),e2.styledMode||(l2.stroke=m2.stemColor||b3.stemColor||C2,l2["stroke-width"]=r2(m2.stemWidth,b3.stemWidth,b3.lineWidth),l2.dashstyle=m2.stemDashStyle||b3.stemDashStyle||b3.dashStyle,m2.stem.attr(l2),H2&&(w2.stroke=m2.whiskerColor||b3.whiskerColor||C2,w2["stroke-width"]=r2(m2.whiskerWidth,b3.whiskerWidth,b3.lineWidth),w2.dashstyle=m2.whiskerDashStyle||b3.whiskerDashStyle||b3.dashStyle,m2.whiskers.attr(w2)),B&&(L2.fill=m2.fillColor||b3.fillColor||C2,L2.stroke=b3.lineColor||C2,L2["stroke-width"]=b3.lineWidth||0,L2.dashstyle=m2.boxDashStyle||b3.boxDashStyle||b3.dashStyle,m2.box.attr(L2)),u2.stroke=m2.medianColor||b3.medianColor||C2,u2["stroke-width"]=r2(m2.medianWidth,b3.medianWidth,b3.lineWidth),u2.dashstyle=m2.medianDashStyle||b3.medianDashStyle||b3.dashStyle,m2.medianShape.attr(u2)),E2=m2.stem.strokeWidth()%2/2,v2=I+x2+E2,t2=[["M",v2,c4],["L",v2,f3],["M",v2,k2],["L",v2,h3]],m2.stem[G]({d:t2}),B&&(E2=m2.box.strokeWidth()%2/2,k2=Math.floor(k2)+E2,c4=Math.floor(c4)+E2,I+=E2,K+=E2,t2=[["M",I,c4],["L",I,k2],["L",K,k2],["L",K,c4],["L",I,c4],["Z"]],m2.box[G]({d:t2})),H2&&(E2=m2.whiskers.strokeWidth()%2/2,f3+=E2,h3+=E2,y2=/%$/.test(H2)?x2*parseFloat(H2)/100:H2/2,t2=[["M",v2-y2,f3],["L",v2+y2,f3],["M",v2-y2,h3],["L",v2+y2,h3]],m2.whiskers[G]({d:t2})),d4=Math.round(m2.medianPlot),E2=m2.medianShape.strokeWidth()%2/2,d4+=E2,t2=[["M",I,d4],["L",K,d4]],m2.medianShape[G]({d:t2}))}))};c3.prototype.toYData=function(a4){return[a4.low,a4.q1,a4.median,a4.q3,a4.high]};c3.defaultOptions=n2(b2.defaultOptions,{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b>{series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2});return c3}(b2);d3(a2.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:c2,setStackedPoints:c2});h2.registerSeriesType("boxplot",a2);return a2}));D2(d2,"Series/Bubble/BubbleLegendDefaults.js",[],(function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:false,labels:{className:void 0,allowOverlap:false,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:false,zIndex:1,zThreshold:0}}));D2(d2,"Series/Bubble/BubbleLegendItem.js",[d2["Core/Color/Color.js"],d2["Core/FormatUtilities.js"],d2["Core/Globals.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2){var f2=b2.parse,d3=h2.noop,n2=a2.arrayMax,r2=a2.arrayMin,q=a2.isNumber,F2=a2.merge,p2=a2.pick,l2=a2.stableSort;b2=function(){function a3(a4,e2){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legend=this.fontMetrics=this.chart=void 0;this.setState=d3;this.init(a4,e2)}a3.prototype.init=function(a4,e2){this.options=a4;this.visible=true;this.chart=e2.chart;this.legend=e2};a3.prototype.addToLegend=function(a4){a4.splice(this.options.legendIndex,0,this)};a3.prototype.drawLegendSymbol=function(a4){var g2=this.chart,e2=p2(a4.options.itemDistance,20),b3=this.legendItem||{},c3=this.options,f3=c3.ranges,h3=c3.connectorDistance;this.fontMetrics=g2.renderer.fontMetrics(c3.labels.style.fontSize);f3&&f3.length&&q(f3[0].value)?(l2(f3,(function(a5,g3){return g3.value-a5.value})),this.ranges=f3,this.setOptions(),this.render(),a4=this.getMaxLabelSize(),f3=this.ranges[0].radius,g2=2*f3,h3=h3-f3+a4.width,h3=0<h3?h3:0,this.maxLabel=a4,this.movementX="left"===c3.labels.align?h3:0,b3.labelWidth=g2+h3+e2,b3.labelHeight=g2+this.fontMetrics.h/2):a4.options.bubbleLegend.autoRanges=true};a3.prototype.setOptions=function(){var a4=this.ranges,e2=this.options,b3=this.chart.series[e2.seriesIndex],c3=this.legend.baseline,h3={zIndex:e2.zIndex,"stroke-width":e2.borderWidth},d4={zIndex:e2.zIndex,"stroke-width":e2.connectorWidth},E2={align:this.legend.options.rtl||"left"===e2.labels.align?"right":"left",zIndex:e2.zIndex},v2=b3.options.marker.fillOpacity,l3=this.chart.styledMode;a4.forEach((function(g2,k2){l3||(h3.stroke=p2(g2.borderColor,e2.borderColor,b3.color),h3.fill=p2(g2.color,e2.color,1!==v2?f2(b3.color).setOpacity(v2).get("rgba"):b3.color),d4.stroke=p2(g2.connectorColor,e2.connectorColor,b3.color));a4[k2].radius=this.getRangeRadius(g2.value);a4[k2]=F2(a4[k2],{center:a4[0].radius-a4[k2].radius+c3});l3||F2(true,a4[k2],{bubbleAttribs:F2(h3),connectorAttribs:F2(d4),labelAttribs:E2})}),this)};a3.prototype.getRangeRadius=function(a4){var e2=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e2.ranges[e2.ranges.length-1].value,e2.ranges[0].value,e2.minSize,e2.maxSize,a4)};a3.prototype.render=function(){var a4=this.legendItem||{},e2=this.chart.renderer,b3=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]});a4.symbol=e2.g("bubble-legend");a4.label=e2.g("bubble-legend-item");a4.symbol.translateX=0;e2=a4.symbol.translateY=0;for(var c3=this.ranges;e2<c3.length;e2++){var f3=c3[e2];f3.value>=b3&&this.renderRange(f3)}a4.symbol.add(a4.label);a4.label.add(a4.group);this.hideOverlappingLabels()};a3.prototype.renderRange=function(a4){var e2=this.options,g2=e2.labels,b3=this.chart,c3=b3.series[e2.seriesIndex],f3=b3.renderer,h3=this.symbols;b3=h3.labels;var d4=a4.center,l3=Math.abs(a4.radius),I=e2.connectorDistance||0,K=g2.align,x2=e2.connectorWidth,B=this.ranges[0].radius||0,y2=d4-l3-e2.borderWidth/2+x2/2,H2=this.fontMetrics;H2=H2.f/2-(H2.h-H2.f)/2;var t2=f3.styledMode;I=this.legend.options.rtl||"left"===K?-I:I;"center"===K&&(I=0,e2.connectorDistance=0,a4.labelAttribs.align="center");K=y2+e2.labels.y;var n3=B+I+e2.labels.x;h3.bubbleItems.push(f3.circle(B,d4+((y2%1?1:.5)-(x2%2?0:.5)),l3).attr(t2?{}:a4.bubbleAttribs).addClass((t2?"highcharts-color-"+c3.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e2.className||"")).add(this.legendItem.symbol));h3.connectors.push(f3.path(f3.crispLine([["M",B,y2],["L",B+I,y2]],e2.connectorWidth)).attr(t2?{}:a4.connectorAttribs).addClass((t2?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e2.connectorClassName||"")).add(this.legendItem.symbol));a4=f3.text(this.formatLabel(a4),n3,K+H2).attr(t2?{}:a4.labelAttribs).css(t2?{}:g2.style).addClass("highcharts-bubble-legend-labels "+(e2.labels.className||"")).add(this.legendItem.symbol);b3.push(a4);a4.placed=true;a4.alignAttr={x:n3,y:K+H2}};a3.prototype.getMaxLabelSize=function(){var a4,e2;this.symbols.labels.forEach((function(g2){e2=g2.getBBox(true);a4=a4?e2.width>a4.width?e2:a4:e2}));return a4||{}};a3.prototype.formatLabel=function(a4){var e2=this.options,g2=e2.labels.formatter;e2=e2.labels.format;var b3=this.chart.numberFormatter;return e2?c2.format(e2,a4):g2?g2.call(a4):b3(a4.value,1)};a3.prototype.hideOverlappingLabels=function(){var a4=this.chart,e2=this.symbols;!this.options.labels.allowOverlap&&e2&&(a4.hideOverlappingLabels(e2.labels),e2.labels.forEach((function(a5,g2){a5.newOpacity?a5.newOpacity!==a5.oldOpacity&&e2.connectors[g2].show():e2.connectors[g2].hide()})))};a3.prototype.getRanges=function(){var a4=this.legend.bubbleLegend,e2=a4.options.ranges,b3,c3=Number.MAX_VALUE,f3=-Number.MAX_VALUE;a4.chart.series.forEach((function(a5){a5.isBubble&&!a5.ignoreSeries&&(b3=a5.zData.filter(q),b3.length&&(c3=p2(a5.options.zMin,Math.min(c3,Math.max(r2(b3),false===a5.options.displayNegative?a5.options.zThreshold:-Number.MAX_VALUE))),f3=p2(a5.options.zMax,Math.max(f3,n2(b3)))))}));var h3=c3===f3?[{value:f3}]:[{value:c3},{value:(c3+f3)/2},{value:f3,autoRanges:true}];e2.length&&e2[0].radius&&h3.reverse();h3.forEach((function(a5,g2){e2&&e2[g2]&&(h3[g2]=F2(e2[g2],a5))}));return h3};a3.prototype.predictBubbleSizes=function(){var a4=this.chart,e2=this.fontMetrics,b3=a4.legend.options,c3=b3.floating,f3=(b3="horizontal"===b3.layout)?a4.legend.lastLineHeight:0,h3=a4.plotSizeX,d4=a4.plotSizeY,v2=a4.series[this.options.seriesIndex],l3=v2.getPxExtremes();a4=Math.ceil(l3.minPxSize);l3=Math.ceil(l3.maxPxSize);var I=Math.min(d4,h3);v2=v2.options.maxSize;if(c3||!/%$/.test(v2))e2=l3;else if(v2=parseFloat(v2),e2=(I+f3-e2.h/2)*v2/100/(v2/100+1),b3&&d4-e2>=h3||!b3&&h3-e2>=d4)e2=l3;return[a4,Math.ceil(e2)]};a3.prototype.updateRanges=function(a4,e2){var b3=this.legend.options.bubbleLegend;b3.minSize=a4;b3.maxSize=e2;b3.ranges=this.getRanges()};a3.prototype.correctSizes=function(){var a4=this.legend,e2=this.chart.series[this.options.seriesIndex].getPxExtremes();1<Math.abs(Math.ceil(e2.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,e2.maxPxSize),a4.render())};return a3}();return b2}));D2(d2,"Series/Bubble/BubbleLegendComposition.js",[d2["Series/Bubble/BubbleLegendDefaults.js"],d2["Series/Bubble/BubbleLegendItem.js"],d2["Core/Defaults.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2){function f2(a3,b3,g3){var c3=this.legend,m2=0<=d3(this),f3;if(c3&&c3.options.enabled&&c3.bubbleLegend&&c3.options.bubbleLegend.autoRanges&&m2){var k3=c3.bubbleLegend.options;m2=c3.bubbleLegend.predictBubbleSizes();c3.bubbleLegend.updateRanges(m2[0],m2[1]);k3.placed||(c3.group.placed=false,c3.allItems.forEach((function(a4){f3=a4.legendItem||{};f3.group&&(f3.group.translateY=null)})));c3.render();this.getMargins();this.axes.forEach((function(a4){a4.visible&&a4.render();k3.placed||(a4.setScale(),a4.updateNames(),e2(a4.ticks,(function(a5){a5.isNew=true;a5.isNewLabel=true})))}));k3.placed=true;this.getMargins();a3.call(this,b3,g3);c3.bubbleLegend.correctSizes();F2(c3,n2(c3))}else a3.call(this,b3,g3),c3&&c3.options.enabled&&c3.bubbleLegend&&(c3.render(),F2(c3,n2(c3)))}function d3(a3){a3=a3.series;for(var e3=0;e3<a3.length;){if(a3[e3]&&a3[e3].isBubble&&a3[e3].visible&&a3[e3].zData.length)return e3;e3++}return-1}function n2(a3){a3=a3.allItems;var e3=[],b3=a3.length,g3,c3=0;for(g3=0;g3<b3;g3++){var f3=a3[g3].legendItem||{};var k3=(a3[g3+1]||{}).legendItem||{};f3.labelHeight&&(a3[g3].itemHeight=f3.labelHeight);if(a3[g3]===a3[b3-1]||f3.y!==k3.y){e3.push({height:0});f3=e3[e3.length-1];for(c3;c3<=g3;c3++)a3[c3].itemHeight>f3.height&&(f3.height=a3[c3].itemHeight);f3.step=g3}}return e3}function r2(a3){var e3=this.bubbleLegend,b3=this.options,g3=b3.bubbleLegend,f3=d3(this.chart);e3&&e3.ranges&&e3.ranges.length&&(g3.ranges.length&&(g3.autoRanges=!!g3.ranges[0].autoRanges),this.destroyItem(e3));0<=f3&&b3.enabled&&g3.enabled&&(g3.seriesIndex=f3,this.bubbleLegend=new c2(g3,this),this.bubbleLegend.addToLegend(a3.allItems))}function q(){var a3=this.chart,e3=this.visible,b3=this.chart.legend;b3&&b3.bubbleLegend&&(this.visible=!e3,this.ignoreSeries=e3,a3=0<=d3(a3),b3.bubbleLegend.visible!==a3&&(b3.update({bubbleLegend:{enabled:a3}}),b3.bubbleLegend.visible=a3),this.visible=e3)}function F2(a3,e3){var b3=a3.options.rtl,g3,c3,f3,k3,m2=0;a3.allItems.forEach((function(a4,x2){k3=a4.legendItem||{};if(k3.group){g3=k3.group.translateX||0;c3=k3.y||0;if((f3=a4.movementX)||b3&&a4.ranges)f3=b3?g3-a4.options.maxSize/2:g3+f3,k3.group.attr({translateX:f3});x2>e3[m2].step&&m2++;k3.group.attr({translateY:Math.round(c3+e3[m2].height/2)});k3.y=c3+e3[m2].height/2}}))}var p2=h2.setOptions,l2=a2.addEvent,e2=a2.objectEach,g2=a2.wrap,k2=[];return{compose:function(a3,e3,c3){-1===k2.indexOf(a3)&&(k2.push(a3),p2({legend:{bubbleLegend:b2}}),g2(a3.prototype,"drawChartBox",f2));-1===k2.indexOf(e3)&&(k2.push(e3),l2(e3,"afterGetAllItems",r2));-1===k2.indexOf(c3)&&(k2.push(c3),l2(c3,"legendItemClick",q))}}}));D2(d2,"Series/Bubble/BubblePoint.js",[d2["Core/Series/Point.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2){var a2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function f2(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(f2.prototype=c3.prototype,new f2)}}();h2=h2.extend;c2=function(c3){function f2(){var a3=null!==c3&&c3.apply(this,arguments)||this;a3.options=void 0;a3.series=void 0;return a3}a2(f2,c3);f2.prototype.haloPath=function(a3){return b2.prototype.haloPath.call(this,0===a3?0:(this.marker?this.marker.radius||0:0)+a3)};return f2}(c2.seriesTypes.scatter.prototype.pointClass);h2(c2.prototype,{ttBelow:false});return c2}));D2(d2,"Series/Bubble/BubbleSeries.js",[d2["Series/Bubble/BubbleLegendComposition.js"],d2["Series/Bubble/BubblePoint.js"],d2["Core/Color/Color.js"],d2["Core/Globals.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2,f2,d3){function n2(){var a3=this,e3=this.len,b3=this.chart,g3=this.isXAxis,c3=g3?"xData":"yData",f3=this.min,k3=this.max-f3,m3=0,d4=e3,h3=e3/k3,l3;this.series.forEach((function(e4){if(e4.bubblePadding&&(e4.visible||!b3.options.chart.ignoreHiddenSeries)){l3=a3.allowZoomOutside=true;var x2=e4[c3];g3&&((e4.onPoint||e4).getRadii(0,0,e4),e4.onPoint&&(e4.radii=e4.onPoint.radii));if(0<k3){for(var B=x2.length;B--;)if(N(x2[B])&&a3.dataMin<=x2[B]&&x2[B]<=a3.max){var y2=e4.radii&&e4.radii[B]||0;m3=Math.min((x2[B]-f3)*h3-y2,m3);d4=Math.max((x2[B]-f3)*h3+y2,d4)}}}}));l3&&0<k3&&!this.logarithmic&&(d4-=e3,h3*=(e3+Math.max(0,m3)-Math.min(d4,e3))/e3,[["min","userMin",m3],["max","userMax",d4]].forEach((function(e4){"undefined"===typeof L2(a3.options[e4[0]],a3[e4[1]])&&(a3[e4[0]]+=e4[2]/h3)})))}var w2=this&&this.__extends||function(){var a3=function(e3,b3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e4){a4.__proto__=e4}||function(a4,e4){for(var b4 in e4)e4.hasOwnProperty(b4)&&(a4[b4]=e4[b4])};return a3(e3,b3)};return function(e3,b3){function g3(){this.constructor=e3}a3(e3,b3);e3.prototype=null===b3?Object.create(b3):(g3.prototype=b3.prototype,new g3)}}(),q=h2.parse;h2=a2.noop;var F2=f2.series,p2=f2.seriesTypes;a2=p2.column.prototype;var l2=p2.scatter;p2=d3.addEvent;var e2=d3.arrayMax,g2=d3.arrayMin,k2=d3.clamp,m2=d3.extend,N=d3.isNumber,G=d3.merge,L2=d3.pick,E2=[];d3=function(a3){function c3(){var e3=null!==a3&&a3.apply(this,arguments)||this;e3.data=void 0;e3.maxPxSize=void 0;e3.minPxSize=void 0;e3.options=void 0;e3.points=void 0;e3.radii=void 0;e3.yData=void 0;e3.zData=void 0;return e3}w2(c3,a3);c3.compose=function(a4,e3,c4,g3){b2.compose(e3,c4,g3);-1===E2.indexOf(a4)&&(E2.push(a4),a4.prototype.beforePadding=n2)};c3.prototype.animate=function(a4){!a4&&this.points.length<this.options.animationLimit&&this.points.forEach((function(a5){var e3=a5.graphic;e3&&e3.width&&(this.hasRendered||e3.attr({x:a5.plotX,y:a5.plotY,width:1,height:1}),e3.animate(this.markerAttribs(a5),this.options.animation))}),this)};c3.prototype.getRadii=function(){var a4=this,e3=this.zData,b3=this.yData,c4=[],g3=this.chart.bubbleZExtremes;var f3=this.getPxExtremes();var k3=f3.minPxSize,m3=f3.maxPxSize;if(!g3){var d4=Number.MAX_VALUE,h3=-Number.MAX_VALUE,l3;this.chart.series.forEach((function(e4){e4.bubblePadding&&(e4.visible||!a4.chart.options.chart.ignoreHiddenSeries)&&(e4=(e4.onPoint||e4).getZExtremes())&&(d4=Math.min(d4||e4.zMin,e4.zMin),h3=Math.max(h3||e4.zMax,e4.zMax),l3=true)}));l3?(g3={zMin:d4,zMax:h3},this.chart.bubbleZExtremes=g3):g3={zMin:0,zMax:0}}var n3=0;for(f3=e3.length;n3<f3;n3++){var v2=e3[n3];c4.push(this.getRadius(g3.zMin,g3.zMax,k3,m3,v2,b3&&b3[n3]))}this.radii=c4};c3.prototype.getRadius=function(a4,e3,b3,c4,g3,f3){var x2=this.options,k3="width"!==x2.sizeBy,m3=x2.zThreshold,d4=e3-a4,h3=.5;if(null===f3||null===g3)return null;if(N(g3)){x2.sizeByAbsoluteValue&&(g3=Math.abs(g3-m3),d4=Math.max(e3-m3,Math.abs(a4-m3)),a4=0);if(g3<a4)return b3/2-1;0<d4&&(h3=(g3-a4)/d4)}k3&&0<=h3&&(h3=Math.sqrt(h3));return Math.ceil(b3+h3*(c4-b3))/2};c3.prototype.hasData=function(){return!!this.processedXData.length};c3.prototype.pointAttribs=function(a4,e3){var b3=this.options.marker.fillOpacity;a4=F2.prototype.pointAttribs.call(this,a4,e3);1!==b3&&(a4.fill=q(a4.fill).setOpacity(b3).get("rgba"));return a4};c3.prototype.translate=function(){a3.prototype.translate.call(this);this.getRadii();this.translateBubble()};c3.prototype.translateBubble=function(){for(var a4=this.data,e3=this.radii,b3=this.getPxExtremes().minPxSize,c4=a4.length;c4--;){var g3=a4[c4],f3=e3?e3[c4]:0;N(f3)&&f3>=b3/2?(g3.marker=m2(g3.marker,{radius:f3,width:2*f3,height:2*f3}),g3.dlBox={x:g3.plotX-f3,y:g3.plotY-f3,width:2*f3,height:2*f3}):(g3.shapeArgs=g3.plotY=g3.dlBox=void 0,g3.isInside=false)}};c3.prototype.getPxExtremes=function(){var a4=Math.min(this.chart.plotWidth,this.chart.plotHeight),e3=function(e4){if("string"===typeof e4){var b4=/%$/.test(e4);e4=parseInt(e4,10)}return b4?a4*e4/100:e4},b3=e3(L2(this.options.minSize,8));e3=Math.max(e3(L2(this.options.maxSize,"20%")),b3);return{minPxSize:b3,maxPxSize:e3}};c3.prototype.getZExtremes=function(){var a4=this.options,b3=(this.zData||[]).filter(N);if(b3.length){var c4=L2(a4.zMin,k2(g2(b3),false===a4.displayNegative?a4.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));a4=L2(a4.zMax,e2(b3));if(N(c4)&&N(a4))return{zMin:c4,zMax:a4}}};c3.defaultOptions=G(l2.defaultOptions,{dataLabels:{formatter:function(){var a4=this.series.chart.numberFormatter,e3=this.point.z;return N(e3)?a4(e3,-1):""},inside:true,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:false,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"});return c3}(l2);m2(d3.prototype,{alignDataLabel:a2.alignDataLabel,applyZones:h2,bubblePadding:true,buildKDTree:h2,directTouch:true,isBubble:true,pointArrayMap:["y","z"],pointClass:c2,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"});p2(d3,"updatedData",(function(a3){delete a3.target.chart.bubbleZExtremes}));p2(d3,"remove",(function(a3){delete a3.target.chart.bubbleZExtremes}));f2.registerSeriesType("bubble",d3);return d3}));D2(d2,"Series/ColumnRange/ColumnRangePoint.js",[d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2){var h2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function f3(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(f3.prototype=c3.prototype,new f3)}}(),a2=b2.seriesTypes;b2=a2.column.prototype.pointClass.prototype;var f2=c2.extend,d3=c2.isNumber;c2=function(a3){function b3(){var b4=null!==a3&&a3.apply(this,arguments)||this;b4.options=void 0;b4.series=void 0;return b4}h2(b3,a3);b3.prototype.isValid=function(){return d3(this.low)};return b3}(a2.arearange.prototype.pointClass);f2(c2.prototype,{setState:b2.setState});return c2}));D2(d2,"Series/ColumnRange/ColumnRangeSeries.js",[d2["Series/ColumnRange/ColumnRangePoint.js"],d2["Core/Globals.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,d3,a2){var f2=this&&this.__extends||function(){var a3=function(e3,b3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e4){a4.__proto__=e4}||function(a4,e4){for(var b4 in e4)e4.hasOwnProperty(b4)&&(a4[b4]=e4[b4])};return a3(e3,b3)};return function(e3,b3){function c3(){this.constructor=e3}a3(e3,b3);e3.prototype=null===b3?Object.create(b3):(c3.prototype=b3.prototype,new c3)}}();c2=c2.noop;var h2=d3.seriesTypes,n2=h2.arearange,r2=h2.column,q=h2.column.prototype,F2=a2.clamp;h2=a2.extend;var p2=a2.isNumber,l2=a2.merge,e2=a2.pick,g2={pointRange:null,marker:null,states:{hover:{halo:false}}};a2=function(a3){function b3(){return null!==a3&&a3.apply(this,arguments)||this}f2(b3,a3);b3.prototype.setOptions=function(){l2(true,arguments[0],{stacking:void 0});return n2.prototype.setOptions.apply(this,arguments)};b3.prototype.translate=function(){var a4=this,b4=this.yAxis,c3=this.xAxis,g3=c3.startAngleRad,f3=this.chart,k2=this.xAxis.isRadial,d4=Math.max(f3.chartWidth,f3.chartHeight)+999,h3,x2,m2,l3;q.translate.apply(this);this.points.forEach((function(B){var t2=B.shapeArgs||{},y2=a4.options.minPointLength,n3=B.plotY,H2=b4.translate(B.high,0,1,0,1);p2(H2)&&p2(n3)&&(B.plotHigh=F2(H2,-d4,d4),B.plotLow=F2(n3,-d4,d4),l3=B.plotHigh,h3=e2(B.rectPlotY,B.plotY)-B.plotHigh,Math.abs(h3)<y2?(x2=y2-h3,h3+=x2,l3-=x2/2):0>h3&&(h3*=-1,l3-=h3),k2&&a4.polar?(m2=B.barX+g3,B.shapeType="arc",B.shapeArgs=a4.polar.arc(l3+h3,l3,m2,m2+B.pointWidth)):(t2.height=h3,t2.y=l3,y2=t2.x,y2=void 0===y2?0:y2,t2=t2.width,t2=void 0===t2?0:t2,B.tooltipPos=f3.inverted?[b4.len+b4.pos-f3.plotLeft-l3-h3/2,c3.len+c3.pos-f3.plotTop-y2-t2/2,h3]:[c3.left-f3.plotLeft+y2+t2/2,b4.pos-f3.plotTop+l3+h3/2,h3]))}))};b3.prototype.pointAttribs=function(){return q.pointAttribs.apply(this,arguments)};b3.prototype.translate3dPoints=function(){return q.translate3dPoints.apply(this,arguments)};b3.prototype.translate3dShapes=function(){return q.translate3dShapes.apply(this,arguments)};b3.defaultOptions=l2(r2.defaultOptions,n2.defaultOptions,g2);return b3}(n2);h2(a2.prototype,{directTouch:true,pointClass:b2,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:q.adjustForMissingColumns,animate:q.animate,crispCol:q.crispCol,drawGraph:c2,drawPoints:q.drawPoints,getSymbol:c2,drawTracker:q.drawTracker,getColumnMetrics:q.getColumnMetrics});d3.registerSeriesType("columnrange",a2);return a2}));D2(d2,"Series/ColumnPyramid/ColumnPyramidSeries.js",[d2["Series/Column/ColumnSeries.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2){var a2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e2){a4.__proto__=e2}||function(a4,e2){for(var b4 in e2)e2.hasOwnProperty(b4)&&(a4[b4]=e2[b4])};return a3(b3,c3)};return function(b3,c3){function f3(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(f3.prototype=c3.prototype,new f3)}}(),f2=b2.prototype,d3=h2.clamp,n2=h2.merge,r2=h2.pick;h2=function(c3){function h3(){var a3=null!==c3&&c3.apply(this,arguments)||this;a3.data=void 0;a3.options=void 0;a3.points=void 0;return a3}a2(h3,c3);h3.prototype.translate=function(){var a3=this,b3=a3.chart,e2=a3.options,c4=a3.dense=2>a3.closestPointRange*a3.xAxis.transA;c4=a3.borderWidth=r2(e2.borderWidth,c4?0:1);var k2=a3.yAxis,h4=e2.threshold,n3=a3.translatedThreshold=k2.getThreshold(h4),G=r2(e2.minPointLength,5),w2=a3.getColumnMetrics(),E2=w2.width,v2=a3.barW=Math.max(E2,1+2*c4),q=a3.pointXOffset=w2.offset;b3.inverted&&(n3-=.5);e2.pointPadding&&(v2=Math.ceil(v2));f2.translate.apply(a3);a3.points.forEach((function(c5){var g2=r2(c5.yBottom,n3),f3=999+Math.abs(g2),m2=d3(c5.plotY,-f3,k2.len+f3);f3=c5.plotX+q;var y2=v2/2,l2=Math.min(m2,g2);g2=Math.max(m2,g2)-l2;var t2;c5.barX=f3;c5.pointWidth=E2;c5.tooltipPos=b3.inverted?[k2.len+k2.pos-b3.plotLeft-m2,a3.xAxis.len-f3-y2,g2]:[f3+y2,m2+k2.pos-b3.plotTop,g2];m2=h4+(c5.total||c5.y);"percent"===e2.stacking&&(m2=h4+(0>c5.y)?-100:100);m2=k2.toPixels(m2,true);var J=(t2=b3.plotHeight-m2-(b3.plotHeight-n3))?y2*(l2-m2)/t2:0;var w3=t2?y2*(l2+g2-m2)/t2:0;t2=f3-J+y2;J=f3+J+y2;var p2=f3+w3+y2;w3=f3-w3+y2;var A2=l2-G;var F2=l2+g2;0>c5.y&&(A2=l2,F2=l2+g2+G);b3.inverted&&(p2=k2.width-l2,t2=m2-(k2.width-n3),J=y2*(m2-p2)/t2,w3=y2*(m2-(p2-g2))/t2,t2=f3+y2+J,J=t2-2*J,p2=f3-w3+y2,w3=f3+w3+y2,A2=l2,F2=l2+g2-G,0>c5.y&&(F2=l2+g2+G));c5.shapeType="path";c5.shapeArgs={x:t2,y:A2,width:J-t2,height:g2,d:[["M",t2,A2],["L",J,A2],["L",p2,F2],["L",w3,F2],["Z"]]}}))};h3.defaultOptions=n2(b2.defaultOptions,{});return h3}(b2);c2.registerSeriesType("columnpyramid",h2);return h2}));D2(d2,"Series/ErrorBar/ErrorBarSeriesDefaults.js",[],(function(){return{color:"#000000",grouping:false,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}}));D2(d2,"Series/ErrorBar/ErrorBarSeries.js",[d2["Series/BoxPlot/BoxPlotSeries.js"],d2["Series/Column/ColumnSeries.js"],d2["Series/ErrorBar/ErrorBarSeriesDefaults.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2,f2){var d3=this&&this.__extends||function(){var a3=function(b3,e2){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e3){a4.__proto__=e3}||function(a4,e3){for(var b4 in e3)e3.hasOwnProperty(b4)&&(a4[b4]=e3[b4])};return a3(b3,e2)};return function(b3,e2){function c3(){this.constructor=b3}a3(b3,e2);b3.prototype=null===e2?Object.create(e2):(c3.prototype=e2.prototype,new c3)}}(),n2=a2.seriesTypes.arearange,r2=f2.addEvent,q=f2.merge;f2=f2.extend;var F2=function(a3){function f3(){var e2=null!==a3&&a3.apply(this,arguments)||this;e2.data=void 0;e2.options=void 0;e2.points=void 0;return e2}d3(f3,a3);f3.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||c2.prototype.getColumnMetrics.call(this)};f3.prototype.drawDataLabels=function(){var a4=this.pointValKey;n2&&(n2.prototype.drawDataLabels.call(this),this.data.forEach((function(e2){e2.y=e2[a4]})))};f3.prototype.toYData=function(a4){return[a4.low,a4.high]};f3.defaultOptions=q(b2.defaultOptions,h2);return f3}(b2);r2(F2,"afterTranslate",(function(){this.points.forEach((function(a3){a3.plotLow=a3.plotY}))}),{order:0});f2(F2.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:false});a2.registerSeriesType("errorbar",F2);return F2}));D2(d2,"Series/Gauge/GaugePoint.js",[d2["Core/Series/SeriesRegistry.js"]],(function(b2){var c2=this&&this.__extends||function(){var b3=function(a2,c3){b3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a3,b4){a3.__proto__=b4}||function(a3,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a3[c4]=b4[c4])};return b3(a2,c3)};return function(a2,c3){function f2(){this.constructor=a2}b3(a2,c3);a2.prototype=null===c3?Object.create(c3):(f2.prototype=c3.prototype,new f2)}}();return function(b3){function a2(){var a3=null!==b3&&b3.apply(this,arguments)||this;a3.options=void 0;a3.series=void 0;a3.shapeArgs=void 0;return a3}c2(a2,b3);a2.prototype.setState=function(a3){this.state=a3};return a2}(b2.series.prototype.pointClass)}));D2(d2,"Series/Gauge/GaugeSeries.js",[d2["Series/Gauge/GaugePoint.js"],d2["Core/Globals.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,h2,a2){var f2=this&&this.__extends||function(){var a3=function(e3,b3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,e4){a4.__proto__=e4}||function(a4,e4){for(var b4 in e4)e4.hasOwnProperty(b4)&&(a4[b4]=e4[b4])};return a3(e3,b3)};return function(e3,b3){function c3(){this.constructor=e3}a3(e3,b3);e3.prototype=null===b3?Object.create(b3):(c3.prototype=b3.prototype,new c3)}}();c2=c2.noop;var d3=h2.series,n2=h2.seriesTypes.column,r2=a2.clamp,q=a2.isNumber,F2=a2.extend,p2=a2.merge,l2=a2.pick,e2=a2.pInt;a2=function(a3){function b3(){var e3=null!==a3&&a3.apply(this,arguments)||this;e3.data=void 0;e3.points=void 0;e3.options=void 0;e3.yAxis=void 0;return e3}f2(b3,a3);b3.prototype.translate=function(){var a4=this.yAxis,b4=this.options,c3=a4.center;this.generatePoints();this.points.forEach((function(g2){var f3=p2(b4.dial,g2.dial),d4=e2(f3.radius)*c3[2]/200,h3=e2(f3.baseLength)*d4/100,k2=e2(f3.rearLength)*d4/100,m2=f3.baseWidth,x2=f3.topWidth,B=b4.overshoot,y2=a4.startAngleRad+a4.translate(g2.y,void 0,void 0,void 0,true);if(q(B)||false===b4.wrap)B=q(B)?B/180*Math.PI:0,y2=r2(y2,a4.startAngleRad-B,a4.endAngleRad+B);y2=180*y2/Math.PI;g2.shapeType="path";g2.shapeArgs={d:f3.path||[["M",-k2,-m2/2],["L",h3,-m2/2],["L",d4,-x2/2],["L",d4,x2/2],["L",h3,m2/2],["L",-k2,m2/2],["Z"]],translateX:c3[0],translateY:c3[1],rotation:y2};g2.plotX=c3[0];g2.plotY=c3[1]}))};b3.prototype.drawPoints=function(){var a4=this,e3=a4.chart,b4=a4.yAxis.center,c3=a4.pivot,g2=a4.options,f3=g2.pivot,d4=e3.renderer;a4.points.forEach((function(b5){var c4=b5.graphic,f4=b5.shapeArgs,h3=f4.d,k2=p2(g2.dial,b5.dial);c4?(c4.animate(f4),f4.d=h3):b5.graphic=d4[b5.shapeType](f4).attr({rotation:f4.rotation,zIndex:1}).addClass("highcharts-dial").add(a4.group);if(!e3.styledMode)b5.graphic[c4?"animate":"attr"]({stroke:k2.borderColor,"stroke-width":k2.borderWidth,fill:k2.backgroundColor})}));c3?c3.animate({translateX:b4[0],translateY:b4[1]}):f3&&(a4.pivot=d4.circle(0,0,f3.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(b4[0],b4[1]).add(a4.group),e3.styledMode||a4.pivot.attr({fill:f3.backgroundColor,stroke:f3.borderColor,"stroke-width":f3.borderWidth}))};b3.prototype.animate=function(a4){var e3=this;a4||e3.points.forEach((function(a5){var b4=a5.graphic;b4&&(b4.attr({rotation:180*e3.yAxis.startAngleRad/Math.PI}),b4.animate({rotation:a5.shapeArgs.rotation},e3.options.animation))}))};b3.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup);d3.prototype.render.call(this);this.group.clip(this.chart.clipRect)};b3.prototype.setData=function(a4,e3){d3.prototype.setData.call(this,a4,false);this.processData();this.generatePoints();l2(e3,true)&&this.chart.redraw()};b3.prototype.hasData=function(){return!!this.points.length};b3.defaultOptions=p2(d3.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:false,defer:false,enabled:true,verticalAlign:"top",y:15,zIndex:2},dial:{backgroundColor:"#000000",baseLength:"70%",baseWidth:3,borderColor:"#cccccc",borderWidth:0,radius:"80%",rearLength:"10%",topWidth:1},pivot:{radius:5,borderWidth:0,borderColor:"#cccccc",backgroundColor:"#000000"},tooltip:{headerFormat:""},showInLegend:false});return b3}(d3);F2(a2.prototype,{angular:true,directTouch:true,drawGraph:c2,drawTracker:n2.prototype.drawTracker,fixedBox:true,forceDL:true,noSharedTooltip:true,pointClass:b2,trackerGroups:["group","dataLabelsGroup"]});h2.registerSeriesType("gauge",a2);return a2}));D2(d2,"Series/DragNodesComposition.js",[d2["Core/Utilities.js"]],(function(b2){function c2(){var a3=this,b3,c3,h2;a3.container&&(b3=d3(a3.container,"mousedown",(function(b4){var f2=a3.hoverPoint;f2&&f2.series&&f2.series.hasDraggableNodes&&f2.series.options.draggable&&(f2.series.onMouseDown(f2,b4),c3=d3(a3.container,"mousemove",(function(a4){return f2&&f2.series&&f2.series.onMouseMove(f2,a4)})),h2=d3(a3.container.ownerDocument,"mouseup",(function(a4){c3();h2();return f2&&f2.series&&f2.series.onMouseUp(f2,a4)})))})));d3(a3,"destroy",(function(){b3()}))}var d3=b2.addEvent,a2=[];return{compose:function(b3){-1===a2.indexOf(b3)&&(a2.push(b3),d3(b3,"load",c2))},onMouseDown:function(a3,b3){b3=this.chart.pointer.normalize(b3);a3.fixedPosition={chartX:b3.chartX,chartY:b3.chartY,plotX:a3.plotX,plotY:a3.plotY};a3.inDragMode=true},onMouseMove:function(a3,b3){if(a3.fixedPosition&&a3.inDragMode){var c3=this.chart,f2=c3.pointer.normalize(b3);b3=a3.fixedPosition.chartX-f2.chartX;f2=a3.fixedPosition.chartY-f2.chartY;var d4=c3.graphLayoutsLookup,h2=void 0,w2=void 0;if(5<Math.abs(b3)||5<Math.abs(f2))h2=a3.fixedPosition.plotX-b3,w2=a3.fixedPosition.plotY-f2,c3.isInsidePlot(h2,w2)&&(a3.plotX=h2,a3.plotY=w2,a3.hasDragged=true,this.redrawHalo(a3),d4.forEach((function(a4){a4.restartSimulation()})))}},onMouseUp:function(a3,b3){a3.fixedPosition&&(a3.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),a3.inDragMode=a3.hasDragged=false,this.options.fixedDraggable||delete a3.fixedPosition)},redrawHalo:function(a3){a3&&this.halo&&this.halo.attr({d:a3.haloPath(this.options.states.hover.halo.size)})}}}));D2(d2,"Series/GraphLayoutComposition.js",[d2["Core/Animation/AnimationUtilities.js"],d2["Core/Utilities.js"]],(function(b2,c2){function d3(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(a3){a3.updateSimulation()})),this.redraw())}function a2(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(a3){a3.updateSimulation(false)})),this.redraw())}function f2(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(a3){a3.stop()}))}function w2(){var a3=false,b3=function(e2){e2.maxIterations--&&isFinite(e2.temperature)&&!e2.isStable()&&!e2.enableSimulation&&(e2.beforeStep&&e2.beforeStep(),e2.step(),c3=false,a3=true)};if(this.graphLayoutsLookup){n2(false,this);for(this.graphLayoutsLookup.forEach((function(a4){return a4.start()}));!c3;){var c3=true;this.graphLayoutsLookup.forEach(b3)}a3&&this.series.forEach((function(a4){a4&&a4.layout&&a4.render()}))}}var n2=b2.setAnimation,r2=c2.addEvent,q=[];return{compose:function(b3){q.indexOf(b3)&&(q.push(b3),r2(b3,"afterPrint",d3),r2(b3,"beforePrint",a2),r2(b3,"predraw",f2),r2(b3,"render",w2))},integrations:{},layouts:{}}}));D2(d2,"Series/PackedBubble/PackedBubblePoint.js",[d2["Core/Chart/Chart.js"],d2["Core/Series/Point.js"],d2["Core/Series/SeriesRegistry.js"]],(function(b2,c2,d3){var a2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function f2(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(f2.prototype=c3.prototype,new f2)}}();return function(f2){function d4(){var a3=null!==f2&&f2.apply(this,arguments)||this;a3.degree=NaN;a3.mass=NaN;a3.radius=NaN;a3.options=void 0;a3.series=void 0;a3.value=null;return a3}a2(d4,f2);d4.prototype.destroy=function(){this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes);return c2.prototype.destroy.apply(this,arguments)};d4.prototype.firePointEvent=function(){var a3=this.series.options;if(this.isParentNode&&a3.parentNode){var b3=a3.allowPointSelect;a3.allowPointSelect=a3.parentNode.allowPointSelect;c2.prototype.firePointEvent.apply(this,arguments);a3.allowPointSelect=b3}else c2.prototype.firePointEvent.apply(this,arguments)};d4.prototype.select=function(){var a3=this.series.chart;this.isParentNode?(a3.getSelectedPoints=a3.getSelectedParentNodes,c2.prototype.select.apply(this,arguments),a3.getSelectedPoints=b2.prototype.getSelectedPoints):c2.prototype.select.apply(this,arguments)};return d4}(d3.seriesTypes.bubble.prototype.pointClass)}));D2(d2,"Series/PackedBubble/PackedBubbleSeriesDefaults.js",[d2["Core/Utilities.js"]],(function(b2){var c2=b2.isNumber;return{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:false,tooltip:{pointFormat:"Value: {point.value}"},draggable:true,useSimulation:true,parentNode:{allowPointSelect:false},dataLabels:{formatter:function(){var b3=this.series.chart.numberFormatter,a2=this.point.value;return c2(a2)?b3(a2,-1):""},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:true},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:false,seriesInteraction:true,dragBetweenSeries:false,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:true,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:true,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:false,maxSpeed:5,gravitationalConstant:.01,friction:-.981}}}));D2(d2,"Series/Networkgraph/VerletIntegration.js",[],(function(){return{attractive:function(b2,c2,d3){var a2=b2.getMass(),f2=-d3.x*c2*this.diffTemperature;c2=-d3.y*c2*this.diffTemperature;b2.fromNode.fixedPosition||(b2.fromNode.plotX-=f2*a2.fromNode/b2.fromNode.degree,b2.fromNode.plotY-=c2*a2.fromNode/b2.fromNode.degree);b2.toNode.fixedPosition||(b2.toNode.plotX+=f2*a2.toNode/b2.toNode.degree,b2.toNode.plotY+=c2*a2.toNode/b2.toNode.degree)},attractiveForceFunction:function(b2,c2){return(c2-b2)/b2},barycenter:function(){var b2=this.options.gravitationalConstant,c2=this.barycenter.xFactor,d3=this.barycenter.yFactor;c2=(c2-(this.box.left+this.box.width)/2)*b2;d3=(d3-(this.box.top+this.box.height)/2)*b2;this.nodes.forEach((function(a2){a2.fixedPosition||(a2.plotX-=c2/a2.mass/a2.degree,a2.plotY-=d3/a2.mass/a2.degree)}))},getK:function(b2){return Math.pow(b2.box.width*b2.box.height/b2.nodes.length,.5)},integrate:function(b2,c2){var d3=-b2.options.friction,a2=b2.options.maxSpeed,f2=(c2.plotX+c2.dispX-c2.prevX)*d3;d3*=c2.plotY+c2.dispY-c2.prevY;var w2=Math.abs,n2=w2(f2)/(f2||1);w2=w2(d3)/(d3||1);f2=n2*Math.min(a2,Math.abs(f2));d3=w2*Math.min(a2,Math.abs(d3));c2.prevX=c2.plotX+c2.dispX;c2.prevY=c2.plotY+c2.dispY;c2.plotX+=f2;c2.plotY+=d3;c2.temperature=b2.vectorLength({x:f2,y:d3})},repulsive:function(b2,c2,d3){c2=c2*this.diffTemperature/b2.mass/b2.degree;b2.fixedPosition||(b2.plotX+=d3.x*c2,b2.plotY+=d3.y*c2)},repulsiveForceFunction:function(b2,c2){return(c2-b2)/b2*(c2>b2?1:0)}}}));D2(d2,"Series/PackedBubble/PackedBubbleIntegration.js",[d2["Core/Globals.js"],d2["Series/Networkgraph/VerletIntegration.js"]],(function(b2,c2){return{barycenter:function(){for(var b3=this.options.gravitationalConstant,a2=this.box,c3=this.nodes,d3,n2,r2=0;r2<c3.length;r2++){var q=c3[r2];this.options.splitSeries&&!q.isParentNode?(d3=q.series.parentNode.plotX,n2=q.series.parentNode.plotY):(d3=a2.width/2,n2=a2.height/2);q.fixedPosition||(q.plotX-=(q.plotX-d3)*b3/(q.mass*Math.sqrt(c3.length)),q.plotY-=(q.plotY-n2)*b3/(q.mass*Math.sqrt(c3.length)))}},getK:b2.noop,integrate:c2.integrate,repulsive:function(b3,a2,c3,d3){var f2=a2*this.diffTemperature/b3.mass/b3.degree;a2=c3.x*f2;c3=c3.y*f2;b3.fixedPosition||(b3.plotX+=a2,b3.plotY+=c3);d3.fixedPosition||(d3.plotX-=a2,d3.plotY-=c3)},repulsiveForceFunction:function(b3,a2,c3,d3){return Math.min(b3,(c3.marker.radius+d3.marker.radius)/2)}}}));D2(d2,"Series/Networkgraph/EulerIntegration.js",[],(function(){return{attractive:function(b2,c2,d3,a2){var f2=b2.getMass(),h2=d3.x/a2*c2;c2*=d3.y/a2;b2.fromNode.fixedPosition||(b2.fromNode.dispX-=h2*f2.fromNode/b2.fromNode.degree,b2.fromNode.dispY-=c2*f2.fromNode/b2.fromNode.degree);b2.toNode.fixedPosition||(b2.toNode.dispX+=h2*f2.toNode/b2.toNode.degree,b2.toNode.dispY+=c2*f2.toNode/b2.toNode.degree)},attractiveForceFunction:function(b2,c2){return b2*b2/c2},barycenter:function(){var b2=this.options.gravitationalConstant,c2=this.barycenter.xFactor,d3=this.barycenter.yFactor;this.nodes.forEach((function(a2){if(!a2.fixedPosition){var f2=a2.getDegree();f2*=1+f2/2;a2.dispX+=(c2-a2.plotX)*b2*f2/a2.degree;a2.dispY+=(d3-a2.plotY)*b2*f2/a2.degree}}))},getK:function(b2){return Math.pow(b2.box.width*b2.box.height/b2.nodes.length,.3)},integrate:function(b2,c2){c2.dispX+=c2.dispX*b2.options.friction;c2.dispY+=c2.dispY*b2.options.friction;var d3=c2.temperature=b2.vectorLength({x:c2.dispX,y:c2.dispY});0!==d3&&(c2.plotX+=c2.dispX/d3*Math.min(Math.abs(c2.dispX),b2.temperature),c2.plotY+=c2.dispY/d3*Math.min(Math.abs(c2.dispY),b2.temperature))},repulsive:function(b2,c2,d3,a2){b2.dispX+=d3.x/a2*c2/b2.degree;b2.dispY+=d3.y/a2*c2/b2.degree},repulsiveForceFunction:function(b2,c2){return c2*c2/b2}}}));D2(d2,"Series/Networkgraph/QuadTreeNode.js",[],(function(){return function(){function b2(b3){this.isInternal=this.isEmpty=this.body=false;this.nodes=[];this.box=b3;this.boxSize=Math.min(b3.width,b3.height)}b2.prototype.divideBox=function(){var c2=this.box.width/2,d3=this.box.height/2;this.nodes[0]=new b2({left:this.box.left,top:this.box.top,width:c2,height:d3});this.nodes[1]=new b2({left:this.box.left+c2,top:this.box.top,width:c2,height:d3});this.nodes[2]=new b2({left:this.box.left+c2,top:this.box.top+d3,width:c2,height:d3});this.nodes[3]=new b2({left:this.box.left,top:this.box.top+d3,width:c2,height:d3})};b2.prototype.getBoxPosition=function(b3){var c2=b3.plotY<this.box.top+this.box.height/2;return b3.plotX<this.box.left+this.box.width/2?c2?0:3:c2?1:2};b2.prototype.insert=function(c2,d3){this.isInternal?this.nodes[this.getBoxPosition(c2)].insert(c2,d3-1):(this.isEmpty=false,this.body?d3?(this.isInternal=true,this.divideBox(),true!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,d3-1),this.body=true),this.nodes[this.getBoxPosition(c2)].insert(c2,d3-1)):(d3=new b2({top:c2.plotX||NaN,left:c2.plotY||NaN,width:.1,height:.1}),d3.body=c2,d3.isInternal=false,this.nodes.push(d3)):(this.isInternal=false,this.body=c2))};b2.prototype.updateMassAndCenter=function(){var b3=0,d3=0,a2=0;if(this.isInternal){for(var f2=0,w2=this.nodes;f2<w2.length;f2++){var n2=w2[f2];n2.isEmpty||(b3+=n2.mass,d3+=n2.plotX*n2.mass,a2+=n2.plotY*n2.mass)}d3/=b3;a2/=b3}else this.body&&(b3=this.body.mass,d3=this.body.plotX,a2=this.body.plotY);this.mass=b3;this.plotX=d3;this.plotY=a2};return b2}()}));D2(d2,"Series/Networkgraph/QuadTree.js",[d2["Series/Networkgraph/QuadTreeNode.js"]],(function(b2){return function(){function c2(c3,a2,d3,w2){this.box={left:c3,top:a2,width:d3,height:w2};this.maxDepth=25;this.root=new b2(this.box);this.root.isInternal=true;this.root.isRoot=true;this.root.divideBox()}c2.prototype.calculateMassAndCenter=function(){this.visitNodeRecursive(null,null,(function(b3){b3.updateMassAndCenter()}))};c2.prototype.insertNodes=function(b3){for(var a2=0;a2<b3.length;a2++)this.root.insert(b3[a2],this.maxDepth)};c2.prototype.visitNodeRecursive=function(b3,a2,c3){var d3;b3||(b3=this.root);b3===this.root&&a2&&(d3=a2(b3));if(false!==d3){for(var f2=0,h2=b3.nodes;f2<h2.length;f2++){var q=h2[f2];if(q.isInternal){a2&&(d3=a2(q));if(false===d3)continue;this.visitNodeRecursive(q,a2,c3)}else q.body&&a2&&a2(q.body);c3&&c3(q)}b3===this.root&&c3&&c3(b3)}};return c2}()}));D2(d2,"Series/Networkgraph/ReingoldFruchtermanLayout.js",[d2["Series/Networkgraph/EulerIntegration.js"],d2["Core/Globals.js"],d2["Series/GraphLayoutComposition.js"],d2["Series/Networkgraph/QuadTree.js"],d2["Core/Utilities.js"],d2["Series/Networkgraph/VerletIntegration.js"]],(function(b2,c2,d3,a2,f2,w2){var h2=c2.win,r2=f2.clamp,q=f2.defined,F2=f2.isFunction,p2=f2.pick;return function(){function c3(){this.attractiveForce=void 0;this.box={};this.currentStep=0;this.initialRendering=true;this.integration=void 0;this.links=[];this.nodes=[];this.repulsiveForce=this.quadTree=this.options=void 0;this.series=[];this.simulation=false}c3.compose=function(a3){d3.compose(a3);d3.integrations.euler=b2;d3.integrations.verlet=w2;d3.layouts["reingold-fruchterman"]=c3};c3.prototype.init=function(a3){this.options=a3;this.nodes=[];this.links=[];this.series=[];this.box={x:0,y:0,width:0,height:0};this.setInitialRendering(true);this.integration=d3.integrations[a3.integration];this.enableSimulation=a3.enableSimulation;this.attractiveForce=p2(a3.attractiveForce,this.integration.attractiveForceFunction);this.repulsiveForce=p2(a3.repulsiveForce,this.integration.repulsiveForceFunction);this.approximation=a3.approximation};c3.prototype.updateSimulation=function(a3){this.enableSimulation=p2(a3,this.options.enableSimulation)};c3.prototype.start=function(){var a3=this.series,b3=this.options;this.currentStep=0;this.forces=a3[0]&&a3[0].forces||[];this.chart=a3[0]&&a3[0].chart;this.initialRendering&&(this.initPositions(),a3.forEach((function(a4){a4.finishedAnimating=true;a4.render()})));this.setK();this.resetSimulation(b3);this.enableSimulation&&this.step()};c3.prototype.step=function(){var a3=this,b3=this.series;this.currentStep++;"barnes-hut"===this.approximation&&(this.createQuadTree(),this.quadTree.calculateMassAndCenter());for(var c4=0,d4=this.forces||[];c4<d4.length;c4++)this[d4[c4]+"Forces"](this.temperature);this.applyLimits();this.temperature=this.coolDown(this.startTemperature,this.diffTemperature,this.currentStep);this.prevSystemTemperature=this.systemTemperature;this.systemTemperature=this.getSystemTemperature();if(this.enableSimulation){for(c4=0;c4<b3.length;c4++)d4=b3[c4],d4.chart&&d4.render();this.maxIterations--&&isFinite(this.temperature)&&!this.isStable()?(this.simulation&&h2.cancelAnimationFrame(this.simulation),this.simulation=h2.requestAnimationFrame((function(){return a3.step()}))):this.simulation=false}};c3.prototype.stop=function(){this.simulation&&h2.cancelAnimationFrame(this.simulation)};c3.prototype.setArea=function(a3,b3,c4,d4){this.box={left:a3,top:b3,width:c4,height:d4}};c3.prototype.setK=function(){this.k=this.options.linkLength||this.integration.getK(this)};c3.prototype.addElementsToCollection=function(a3,b3){for(var e2=0;e2<a3.length;e2++){var c4=a3[e2];-1===b3.indexOf(c4)&&b3.push(c4)}};c3.prototype.removeElementFromCollection=function(a3,b3){a3=b3.indexOf(a3);-1!==a3&&b3.splice(a3,1)};c3.prototype.clear=function(){this.nodes.length=0;this.links.length=0;this.series.length=0;this.resetSimulation()};c3.prototype.resetSimulation=function(){this.forcedStop=false;this.systemTemperature=0;this.setMaxIterations();this.setTemperature();this.setDiffTemperature()};c3.prototype.restartSimulation=function(){this.simulation?this.resetSimulation():(this.setInitialRendering(false),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(true))};c3.prototype.setMaxIterations=function(a3){this.maxIterations=p2(a3,this.options.maxIterations)};c3.prototype.setTemperature=function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)};c3.prototype.setDiffTemperature=function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)};c3.prototype.setInitialRendering=function(a3){this.initialRendering=a3};c3.prototype.createQuadTree=function(){this.quadTree=new a2(this.box.left,this.box.top,this.box.width,this.box.height);this.quadTree.insertNodes(this.nodes)};c3.prototype.initPositions=function(){var a3=this.options.initialPositions;if(F2(a3)){a3.call(this);a3=0;for(var b3=this.nodes;a3<b3.length;a3++){var c4=b3[a3];q(c4.prevX)||(c4.prevX=c4.plotX);q(c4.prevY)||(c4.prevY=c4.plotY);c4.dispX=0;c4.dispY=0}}else"circle"===a3?this.setCircularPositions():this.setRandomPositions()};c3.prototype.setCircularPositions=function(){for(var a3=this.box,b3=this.nodes,c4=2*Math.PI/(b3.length+1),d4=b3.filter((function(a4){return 0===a4.linksTo.length})),f3={},h3=this.options.initialPositionRadius,l2=function(a4){var b4=0;for(a4=a4.linksFrom||[];b4<a4.length;b4++){var c5=a4[b4];f3[c5.toNode.id]||(f3[c5.toNode.id]=true,E2.push(c5.toNode),l2(c5.toNode))}},E2=[],v2=0;v2<d4.length;v2++){var q2=d4[v2];E2.push(q2);l2(q2)}if(E2.length)for(d4=0;d4<b3.length;d4++)v2=b3[d4],-1===E2.indexOf(v2)&&E2.push(v2);else E2=b3;d4=0;for(v2=E2.length;d4<v2;++d4)b3=E2[d4],b3.plotX=b3.prevX=p2(b3.plotX,a3.width/2+h3*Math.cos(d4*c4)),b3.plotY=b3.prevY=p2(b3.plotY,a3.height/2+h3*Math.sin(d4*c4)),b3.dispX=0,b3.dispY=0};c3.prototype.setRandomPositions=function(){for(var a3=this.box,b3=this.nodes,c4=b3.length+1,d4=function(a4){a4=a4*a4/Math.PI;return a4-=Math.floor(a4)},f3,h3=0,l2=b3.length;h3<l2;++h3)f3=b3[h3],f3.plotX=f3.prevX=p2(f3.plotX,a3.width*d4(h3)),f3.plotY=f3.prevY=p2(f3.plotY,a3.height*d4(c4+h3)),f3.dispX=0,f3.dispY=0};c3.prototype.force=function(a3){for(var b3=[],c4=1;c4<arguments.length;c4++)b3[c4-1]=arguments[c4];this.integration[a3].apply(this,b3)};c3.prototype.barycenterForces=function(){this.getBarycenter();this.force("barycenter")};c3.prototype.getBarycenter=function(){for(var a3=0,b3=0,c4=0,d4=0,f3=this.nodes;d4<f3.length;d4++){var h3=f3[d4];b3+=h3.plotX*h3.mass;c4+=h3.plotY*h3.mass;a3+=h3.mass}return this.barycenter={x:b3,y:c4,xFactor:b3/a3,yFactor:c4/a3}};c3.prototype.barnesHutApproximation=function(a3,b3){var c4=this.getDistXY(a3,b3),e2=this.vectorLength(c4);if(a3!==b3&&0!==e2)if(b3.isInternal)if(b3.boxSize/e2<this.options.theta&&0!==e2){var d4=this.repulsiveForce(e2,this.k);this.force("repulsive",a3,d4*b3.mass,c4,e2);var g2=false}else g2=true;else d4=this.repulsiveForce(e2,this.k),this.force("repulsive",a3,d4*b3.mass,c4,e2);return g2};c3.prototype.repulsiveForces=function(){var a3=this;if("barnes-hut"===this.approximation)for(var b3=function(b4){c4.quadTree.visitNodeRecursive(null,(function(c5){return a3.barnesHutApproximation(b4,c5)}))},c4=this,d4=0,f3=this.nodes;d4<f3.length;d4++){var h3=f3[d4];b3(h3)}else{f3=d4=b3=void 0;for(var l2=0,E2=this.nodes;l2<E2.length;l2++){h3=E2[l2];for(var v2=0,q2=this.nodes;v2<q2.length;v2++){var n2=q2[v2];h3===n2||h3.fixedPosition||(f3=this.getDistXY(h3,n2),d4=this.vectorLength(f3),0!==d4&&(b3=this.repulsiveForce(d4,this.k),this.force("repulsive",h3,b3*n2.mass,f3,d4)))}}}};c3.prototype.attractiveForces=function(){for(var a3,b3,c4,d4=0,f3=this.links;d4<f3.length;d4++){var h3=f3[d4];h3.fromNode&&h3.toNode&&(a3=this.getDistXY(h3.fromNode,h3.toNode),b3=this.vectorLength(a3),0!==b3&&(c4=this.attractiveForce(b3,this.k),this.force("attractive",h3,c4,a3,b3)))}};c3.prototype.applyLimits=function(){for(var a3=0,b3=this.nodes;a3<b3.length;a3++){var c4=b3[a3];if(c4.fixedPosition)break;this.integration.integrate(this,c4);this.applyLimitBox(c4,this.box);c4.dispX=0;c4.dispY=0}};c3.prototype.applyLimitBox=function(a3,b3){var c4=a3.radius;a3.plotX=r2(a3.plotX,b3.left+c4,b3.width-c4);a3.plotY=r2(a3.plotY,b3.top+c4,b3.height-c4)};c3.prototype.coolDown=function(a3,b3,c4){return a3-b3*c4};c3.prototype.isStable=function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature};c3.prototype.getSystemTemperature=function(){for(var a3=0,b3=0,c4=this.nodes;b3<c4.length;b3++)a3+=c4[b3].temperature;return a3};c3.prototype.vectorLength=function(a3){return Math.sqrt(a3.x*a3.x+a3.y*a3.y)};c3.prototype.getDistR=function(a3,b3){a3=this.getDistXY(a3,b3);return this.vectorLength(a3)};c3.prototype.getDistXY=function(a3,b3){var c4=a3.plotX-b3.plotX;a3=a3.plotY-b3.plotY;return{x:c4,y:a3,absX:Math.abs(c4),absY:Math.abs(a3)}};return c3}()}));D2(d2,"Series/PackedBubble/PackedBubbleLayout.js",[d2["Series/GraphLayoutComposition.js"],d2["Series/PackedBubble/PackedBubbleIntegration.js"],d2["Series/Networkgraph/ReingoldFruchtermanLayout.js"],d2["Core/Utilities.js"]],(function(b2,c2,d3,a2){function f2(){var a3=[];this.series.forEach((function(b3){b3.parentNode&&b3.parentNode.selected&&a3.push(b3.parentNode)}));return a3}function h2(){this.allDataPoints&&delete this.allDataPoints}var n2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function e2(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(e2.prototype=c3.prototype,new e2)}}(),r2=a2.addEvent,q=a2.pick,F2=[];a2=function(a3){function l2(){var b3=null!==a3&&a3.apply(this,arguments)||this;b3.index=NaN;b3.nodes=[];b3.options=void 0;b3.series=[];return b3}n2(l2,a3);l2.compose=function(a4){d3.compose(a4);b2.integrations.packedbubble=c2;b2.layouts.packedbubble=l2;-1===F2.indexOf(a4)&&(F2.push(a4),r2(a4,"beforeRedraw",h2),a4.prototype.getSelectedParentNodes=f2)};l2.prototype.beforeStep=function(){this.options.marker&&this.series.forEach((function(a4){a4&&a4.calculateParentRadius()}))};l2.prototype.isStable=function(){var a4=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&1e-5>a4||0>=this.temperature};l2.prototype.setCircularPositions=function(){for(var a4=this.box,b3=this.nodes,c3=2*Math.PI/(b3.length+1),d4=this.options.initialPositionRadius,f3,h3,l3=0,E2=0;E2<b3.length;E2++){var v2=b3[E2];this.options.splitSeries&&!v2.isParentNode?(f3=v2.series.parentNode.plotX,h3=v2.series.parentNode.plotY):(f3=a4.width/2,h3=a4.height/2);v2.plotX=v2.prevX=q(v2.plotX,f3+d4*Math.cos(v2.index||l3*c3));v2.plotY=v2.prevY=q(v2.plotY,h3+d4*Math.sin(v2.index||l3*c3));v2.dispX=0;v2.dispY=0;l3++}};l2.prototype.repulsiveForces=function(){var a4=this,b3=a4.options.bubblePadding,c3,d4,f3;a4.nodes.forEach((function(e2){e2.degree=e2.mass;e2.neighbours=0;a4.nodes.forEach((function(g2){c3=0;e2===g2||e2.fixedPosition||!a4.options.seriesInteraction&&e2.series!==g2.series||(f3=a4.getDistXY(e2,g2),d4=a4.vectorLength(f3)-(e2.marker.radius+g2.marker.radius+b3),0>d4&&(e2.degree+=.01,e2.neighbours++,c3=a4.repulsiveForce(-d4/Math.sqrt(e2.neighbours),a4.k,e2,g2)),a4.force("repulsive",e2,c3*g2.mass,f3,g2,d4))}))}))};l2.prototype.applyLimitBox=function(b3,c3){if(this.options.splitSeries&&!b3.isParentNode&&this.options.parentNodeLimit){var e2=this.getDistXY(b3,b3.series.parentNode);var d4=b3.series.parentNodeRadius-b3.marker.radius-this.vectorLength(e2);0>d4&&d4>-2*b3.marker.radius&&(b3.plotX-=.01*e2.x,b3.plotY-=.01*e2.y)}a3.prototype.applyLimitBox.call(this,b3,c3)};return l2}(d3);return b2.layouts.packedbubble=a2}));D2(d2,"Series/PackedBubble/PackedBubbleSeries.js",[d2["Core/Color/Color.js"],d2["Series/DragNodesComposition.js"],d2["Series/GraphLayoutComposition.js"],d2["Core/Globals.js"],d2["Series/PackedBubble/PackedBubblePoint.js"],d2["Series/PackedBubble/PackedBubbleSeriesDefaults.js"],d2["Series/PackedBubble/PackedBubbleLayout.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,d3,a2,f2,w2,n2,r2,q){var h2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function e3(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(e3.prototype=c3.prototype,new e3)}}(),p2=b2.parse;b2=a2.noop;var l2=r2.series.prototype,e2=r2.seriesTypes.bubble,g2=q.addEvent,k2=q.clamp,m2=q.defined,D3=q.extend,G=q.fireEvent,L2=q.isArray,E2=q.isNumber,v2=q.merge,Q=q.pick;q=function(a3){function b3(){var b4=null!==a3&&a3.apply(this,arguments)||this;b4.chart=void 0;b4.data=void 0;b4.layout=void 0;b4.options=void 0;b4.parentNodeMass=0;b4.points=void 0;b4.xData=void 0;return b4}h2(b3,a3);b3.compose=function(a4,b4,d4,f3){e2.compose(a4,b4,d4,f3);c2.compose(b4);n2.compose(b4)};b3.prototype.accumulateAllPoints=function(){for(var a4=this.chart,b4=[],c3,e3=0,d4=a4.series;e3<d4.length;e3++){var f3=d4[e3];if(f3.is("packedbubble")&&f3.visible||!a4.options.chart.ignoreHiddenSeries){c3=f3.yData||[];for(var g3=0;g3<c3.length;g3++)b4.push([null,null,c3[g3],f3.index,g3,{id:g3,marker:{radius:0}}])}}return b4};b3.prototype.addLayout=function(){var a4=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},b4=a4.type||"packedbubble",c3=this.chart.options.chart,e3=this.chart.graphLayoutsStorage,f3=this.chart.graphLayoutsLookup;e3||(this.chart.graphLayoutsStorage=e3={},this.chart.graphLayoutsLookup=f3=[]);var g3=e3[b4];g3||(a4.enableSimulation=m2(c3.forExport)?!c3.forExport:a4.enableSimulation,e3[b4]=g3=new d3.layouts[b4],g3.init(a4),f3.splice(g3.index,0,g3));this.layout=g3;this.points.forEach((function(a5){a5.mass=2;a5.degree=1;a5.collisionNmb=1}));g3.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight);g3.addElementsToCollection([this],g3.series);g3.addElementsToCollection(this.points,g3.nodes)};b3.prototype.addSeriesLayout=function(){var a4=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},b4=a4.type||"packedbubble",c3=this.chart.graphLayoutsStorage,e3=this.chart.graphLayoutsLookup;a4=v2(a4,a4.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation});var f3=c3[b4+"-series"];f3||(c3[b4+"-series"]=f3=new d3.layouts[b4],f3.init(a4),e3.splice(f3.index,0,f3));this.parentNodeLayout=f3;this.createParentNodes()};b3.prototype.calculateParentRadius=function(){var a4=this.seriesBox();this.parentNodeRadius=k2(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,a4?Math.max(Math.sqrt(Math.pow(a4.width,2)+Math.pow(a4.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20);this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)};b3.prototype.calculateZExtremes=function(){var a4=this.options.zMin,b4=this.options.zMax,c3=Infinity,e3=-Infinity;if(a4&&b4)return[a4,b4];this.chart.series.forEach((function(a5){a5.yData.forEach((function(a6){m2(a6)&&(a6>e3&&(e3=a6),a6<c3&&(c3=a6))}))}));a4=Q(a4,c3);b4=Q(b4,e3);return[a4,b4]};b3.prototype.checkOverlap=function(a4,b4){var c3=a4[0]-b4[0],e3=a4[1]-b4[1];return-.001>Math.sqrt(c3*c3+e3*e3)-Math.abs(a4[2]+b4[2])};b3.prototype.createParentNodes=function(){var a4=this,b4=this.pointClass,c3=this.chart,e3=this.parentNodeLayout,d4=this.layout.options,f3,g3=this.parentNode,h3={radius:this.parentNodeRadius,lineColor:this.color,fillColor:p2(this.color).brighten(.4).get()};d4.parentNodeOptions&&(h3=v2(d4.parentNodeOptions.marker||{},h3));this.parentNodeMass=0;this.points.forEach((function(b5){a4.parentNodeMass+=Math.PI*Math.pow(b5.marker.radius,2)}));this.calculateParentRadius();e3.nodes.forEach((function(b5){b5.seriesIndex===a4.index&&(f3=true)}));e3.setArea(0,0,c3.plotWidth,c3.plotHeight);f3||(g3||(g3=(new b4).init(this,{mass:this.parentNodeRadius/2,marker:h3,dataLabels:{inside:false},states:{normal:{marker:h3},hover:{marker:h3}},dataLabelOnNull:true,degree:this.parentNodeRadius,isParentNode:true,seriesIndex:this.index})),this.parentNode&&(g3.plotX=this.parentNode.plotX,g3.plotY=this.parentNode.plotY),this.parentNode=g3,e3.addElementsToCollection([this],e3.series),e3.addElementsToCollection([g3],e3.nodes))};b3.prototype.deferLayout=function(){var a4=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),a4.splitSeries&&this.addSeriesLayout())};b3.prototype.destroy=function(){var a4=this;this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach((function(b4){b4.removeElementFromCollection(a4,b4.series)}),this);this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy()));l2.destroy.apply(this,arguments)};b3.prototype.drawDataLabels=function(){l2.drawDataLabels.call(this,this.points);this.parentNode&&(this.parentNode.formatPrefix="parentNode",l2.drawDataLabels.call(this,[this.parentNode]))};b3.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var a4=this.chart,b4=this.layout.options.parentNodeOptions.marker;b4={fill:b4.fillColor||p2(this.color).brighten(.4).get(),opacity:b4.fillOpacity,stroke:b4.lineColor||this.color,"stroke-width":Q(b4.lineWidth,this.options.lineWidth)};this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,a4.seriesGroup),this.group.attr({zIndex:2}));this.calculateParentRadius();var c3=v2({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},b4);this.parentNode.graphic||(this.graph=this.parentNode.graphic=a4.renderer.symbol(b4.symbol).add(this.parentNodesGroup));this.parentNode.graphic.attr(c3)}};b3.prototype.drawTracker=function(){var b4=this.parentNode;a3.prototype.drawTracker.call(this);if(b4){var c3=L2(b4.dataLabels)?b4.dataLabels:b4.dataLabel?[b4.dataLabel]:[];b4.graphic&&(b4.graphic.element.point=b4);c3.forEach((function(a4){a4.div?a4.div.point=b4:a4.element.point=b4}))}};b3.prototype.getPointRadius=function(){var a4=this,b4=this.chart,c3=this.options,e3=c3.useSimulation,d4=Math.min(b4.plotWidth,b4.plotHeight),f3={},g3=[],h3=b4.allDataPoints||[],m3=h3.length,l3,v3,u2,C2;["minSize","maxSize"].forEach((function(a5){var b5=parseInt(c3[a5],10),e4=/%$/.test(c3[a5]);f3[a5]=e4?d4*b5/100:b5*Math.sqrt(m3)}));b4.minRadius=l3=f3.minSize/Math.sqrt(m3);b4.maxRadius=v3=f3.maxSize/Math.sqrt(m3);var z2=e3?this.calculateZExtremes():[l3,v3];h3.forEach((function(b5,c4){u2=e3?k2(b5[2],z2[0],z2[1]):b5[2];C2=a4.getRadius(z2[0],z2[1],l3,v3,u2);0===C2&&(C2=null);h3[c4][2]=C2;g3.push(C2)}));this.radii=g3};b3.prototype.init=function(){l2.init.apply(this,arguments);this.eventsToUnbind.push(g2(this,"updatedData",(function(){var a4=this;this.chart.series.forEach((function(b4){b4.type===a4.type&&(b4.isDirty=true)}),this)})));return this};b3.prototype.onMouseUp=function(a4){var b4=a4;if(b4.fixedPosition&&!b4.removed){var e3=this.layout,d4=this.parentNodeLayout,f3,g3;d4&&e3.options.dragBetweenSeries&&d4.nodes.forEach((function(a5){b4&&b4.marker&&a5!==b4.series.parentNode&&(f3=e3.getDistXY(b4,a5),g3=e3.vectorLength(f3)-a5.marker.radius-b4.marker.radius,0>g3&&(a5.series.addPoint(v2(b4.options,{plotX:b4.plotX,plotY:b4.plotY}),false),e3.removeElementFromCollection(b4,e3.nodes),b4.remove()))}));c2.onMouseUp.apply(this,arguments)}};b3.prototype.placeBubbles=function(a4){var b4=this.checkOverlap,c3=this.positionBubble,e3=[],d4=1,f3=0,g3=0;var h3=[];var k3;a4=a4.sort((function(a5,b5){return b5[2]-a5[2]}));if(a4.length){e3.push([[0,0,a4[0][2],a4[0][3],a4[0][4]]]);if(1<a4.length)for(e3.push([[0,0-a4[1][2]-a4[0][2],a4[1][2],a4[1][3],a4[1][4]]]),k3=2;k3<a4.length;k3++)a4[k3][2]=a4[k3][2]||1,h3=c3(e3[d4][f3],e3[d4-1][g3],a4[k3]),b4(h3,e3[d4][0])?(e3.push([]),g3=0,e3[d4+1].push(c3(e3[d4][f3],e3[d4][0],a4[k3])),d4++,f3=0):1<d4&&e3[d4-1][g3+1]&&b4(h3,e3[d4-1][g3+1])?(g3++,e3[d4].push(c3(e3[d4][f3],e3[d4-1][g3],a4[k3])),f3++):(f3++,e3[d4].push(h3));this.chart.stages=e3;this.chart.rawPositions=[].concat.apply([],e3);this.resizeRadius();h3=this.chart.rawPositions}return h3};b3.prototype.pointAttribs=function(a4,b4){var c3=this.options,e3=c3.marker;a4&&a4.isParentNode&&c3.layoutAlgorithm&&c3.layoutAlgorithm.parentNodeOptions&&(e3=c3.layoutAlgorithm.parentNodeOptions.marker);c3=e3.fillOpacity;a4=l2.pointAttribs.call(this,a4,b4);1!==c3&&(a4["fill-opacity"]=c3);return a4};b3.prototype.positionBubble=function(a4,b4,c3){var e3=Math.sqrt,d4=Math.asin,f3=Math.acos,g3=Math.pow,h3=Math.abs;e3=e3(g3(a4[0]-b4[0],2)+g3(a4[1]-b4[1],2));f3=f3((g3(e3,2)+g3(c3[2]+b4[2],2)-g3(c3[2]+a4[2],2))/(2*(c3[2]+b4[2])*e3));d4=d4(h3(a4[0]-b4[0])/e3);a4=(0>a4[1]-b4[1]?0:Math.PI)+f3+d4*(0>(a4[0]-b4[0])*(a4[1]-b4[1])?1:-1);return[b4[0]+(b4[2]+c3[2])*Math.sin(a4),b4[1]-(b4[2]+c3[2])*Math.cos(a4),c3[2],c3[3],c3[4]]};b3.prototype.render=function(){var a4=[];l2.render.apply(this,arguments);this.options.dataLabels.allowOverlap||(this.data.forEach((function(b4){L2(b4.dataLabels)&&b4.dataLabels.forEach((function(b5){a4.push(b5)}))})),this.options.useSimulation&&this.chart.hideOverlappingLabels(a4))};b3.prototype.resizeRadius=function(){var a4=this.chart,b4=a4.rawPositions,c3=Math.min,e3=Math.max,d4=a4.plotLeft,f3=a4.plotTop,g3=a4.plotHeight,h3=a4.plotWidth,k3,m3;var l3=k3=Number.POSITIVE_INFINITY;var u2=m3=Number.NEGATIVE_INFINITY;for(var C2=0;C2<b4.length;C2++){var z2=b4[C2];var v3=z2[2];l3=c3(l3,z2[0]-v3);u2=e3(u2,z2[0]+v3);k3=c3(k3,z2[1]-v3);m3=e3(m3,z2[1]+v3)}z2=[u2-l3,m3-k3];c3=c3.apply([],[(h3-d4)/z2[0],(g3-f3)/z2[1]]);if(1e-10<Math.abs(c3-1)){for(a4=0;a4<b4.length;a4++)z2=b4[a4],z2[2]*=c3;this.placeBubbles(b4)}else a4.diffY=g3/2+f3-k3-(m3-k3)/2,a4.diffX=h3/2+d4-l3-(u2-l3)/2};b3.prototype.seriesBox=function(){var a4=this.chart,b4=Math.max,c3=Math.min,e3=[a4.plotLeft,a4.plotLeft+a4.plotWidth,a4.plotTop,a4.plotTop+a4.plotHeight],d4;this.data.forEach((function(a5){m2(a5.plotX)&&m2(a5.plotY)&&a5.marker.radius&&(d4=a5.marker.radius,e3[0]=c3(e3[0],a5.plotX-d4),e3[1]=b4(e3[1],a5.plotX+d4),e3[2]=c3(e3[2],a5.plotY-d4),e3[3]=b4(e3[3],a5.plotY+d4))}));return E2(e3.width/e3.height)?e3:null};b3.prototype.setVisible=function(){var a4=this;l2.setVisible.apply(a4,arguments);a4.parentNodeLayout&&a4.graph?a4.visible?(a4.graph.show(),a4.parentNode.dataLabel&&a4.parentNode.dataLabel.show()):(a4.graph.hide(),a4.parentNodeLayout.removeElementFromCollection(a4.parentNode,a4.parentNodeLayout.nodes),a4.parentNode.dataLabel&&a4.parentNode.dataLabel.hide()):a4.layout&&(a4.visible?a4.layout.addElementsToCollection(a4.points,a4.layout.nodes):a4.points.forEach((function(b4){a4.layout.removeElementFromCollection(b4,a4.layout.nodes)})))};b3.prototype.translate=function(){var a4=this.chart,b4=this.data,c3=this.index,e3=this.options.useSimulation;this.processedXData=this.xData;this.generatePoints();m2(a4.allDataPoints)||(a4.allDataPoints=this.accumulateAllPoints(),this.getPointRadius());if(e3)var d4=a4.allDataPoints;else d4=this.placeBubbles(a4.allDataPoints),this.options.draggable=false;for(var f3=0,g3=d4;f3<g3.length;f3++){var h3=g3[f3];if(h3[3]===c3){d4=b4[h3[4]];var k3=Q(h3[2],void 0);e3||(d4.plotX=h3[0]-a4.plotLeft+a4.diffX,d4.plotY=h3[1]-a4.plotTop+a4.diffY);E2(k3)&&(d4.marker=D3(d4.marker,{radius:k3,width:2*k3,height:2*k3}),d4.radius=k3)}}e3&&this.deferLayout();G(this,"afterTranslate")};b3.defaultOptions=v2(e2.defaultOptions,w2);return b3}(e2);D3(q.prototype,{pointClass:f2,axisTypes:[],directTouch:true,forces:["barycenter","repulsive"],hasDraggableNodes:true,isCartesian:false,noSharedTooltip:true,pointArrayMap:["value"],pointValKey:"value",requireSorting:false,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],alignDataLabel:l2.alignDataLabel,indexateNodes:b2,onMouseDown:c2.onMouseDown,onMouseMove:c2.onMouseMove,redrawHalo:c2.redrawHalo,searchPoint:b2});r2.registerSeriesType("packedbubble",q);return q}));D2(d2,"Series/Polygon/PolygonSeries.js",[d2["Core/Globals.js"],d2["Core/Legend/LegendSymbol.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"]],(function(b2,c2,d3,a2){var f2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function e2(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(e2.prototype=c3.prototype,new e2)}}();b2=b2.noop;var h2=d3.series,n2=d3.seriesTypes,r2=n2.area,q=n2.line,F2=n2.scatter;n2=a2.extend;var p2=a2.merge;a2=function(a3){function b3(){var b4=null!==a3&&a3.apply(this,arguments)||this;b4.data=void 0;b4.options=void 0;b4.points=void 0;return b4}f2(b3,a3);b3.prototype.getGraphPath=function(){for(var a4=q.prototype.getGraphPath.call(this),b4=a4.length+1;b4--;)(b4===a4.length||"M"===a4[b4][0])&&0<b4&&a4.splice(b4,0,["Z"]);return this.areaPath=a4};b3.prototype.drawGraph=function(){this.options.fillColor=this.color;r2.prototype.drawGraph.call(this)};b3.defaultOptions=p2(F2.defaultOptions,{marker:{enabled:false,states:{hover:{enabled:false}}},stickyTracking:false,tooltip:{followPointer:true,pointFormat:""},trackByArea:true});return b3}(F2);n2(a2.prototype,{type:"polygon",drawLegendSymbol:c2.drawRectangle,drawTracker:h2.prototype.drawTracker,setStackedPoints:b2});d3.registerSeriesType("polygon",a2);return a2}));D2(d2,"Core/Axis/WaterfallAxis.js",[d2["Core/Axis/Stacking/StackItem.js"],d2["Core/Utilities.js"]],(function(b2,c2){var d3=c2.addEvent,a2=c2.objectEach,f2;(function(c3){function f3(){var a3=this.waterfall.stacks;a3&&(a3.changed=false,delete a3.alreadyChanged)}function h2(){var a3=this.options.stackLabels;a3&&a3.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function q(){for(var a3=this.axes,b3=this.series,c4=b3.length;c4--;)b3[c4].options.stacking&&(a3.forEach((function(a4){a4.isXAxis||(a4.waterfall.stacks.changed=true)})),c4=0)}function w2(){this.waterfall||(this.waterfall=new p2(this))}var p2=function(){function c4(a3){this.axis=a3;this.stacks={changed:false}}c4.prototype.renderStackTotals=function(){var c5=this.axis,d4=c5.waterfall.stacks,f4=c5.stacking&&c5.stacking.stackTotalGroup,h3=new b2(c5,c5.options.stackLabels||{},false,0,void 0);this.dummyStackItem=h3;f4&&a2(d4,(function(c6){a2(c6,(function(a3,c7){h3.total=a3.stackTotal;h3.x=+c7;a3.label&&(h3.label=a3.label);b2.prototype.render.call(h3,f4);a3.label=h3.label;delete h3.label}))}));h3.total=null};return c4}();c3.Composition=p2;c3.compose=function(a3,b3){d3(a3,"init",w2);d3(a3,"afterBuildStacks",f3);d3(a3,"afterRender",h2);d3(b3,"beforeRedraw",q)}})(f2||(f2={}));return f2}));D2(d2,"Series/Waterfall/WaterfallPoint.js",[d2["Series/Column/ColumnSeries.js"],d2["Core/Series/Point.js"],d2["Core/Utilities.js"]],(function(b2,c2,d3){var a2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function d4(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(d4.prototype=c3.prototype,new d4)}}(),f2=d3.isNumber;return function(b3){function d4(){var a3=null!==b3&&b3.apply(this,arguments)||this;a3.options=void 0;a3.series=void 0;return a3}a2(d4,b3);d4.prototype.getClassName=function(){var a3=c2.prototype.getClassName.call(this);this.isSum?a3+=" highcharts-sum":this.isIntermediateSum&&(a3+=" highcharts-intermediate-sum");return a3};d4.prototype.isValid=function(){return f2(this.y)||this.isSum||!!this.isIntermediateSum};return d4}(b2.prototype.pointClass)}));D2(d2,"Series/Waterfall/WaterfallSeries.js",[d2["Core/Axis/Axis.js"],d2["Core/Chart/Chart.js"],d2["Core/Series/SeriesRegistry.js"],d2["Core/Utilities.js"],d2["Core/Axis/WaterfallAxis.js"],d2["Series/Waterfall/WaterfallPoint.js"]],(function(b2,c2,d3,a2,f2,w2){var h2=this&&this.__extends||function(){var a3=function(b3,c3){a3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a4,b4){a4.__proto__=b4}||function(a4,b4){for(var c4 in b4)b4.hasOwnProperty(c4)&&(a4[c4]=b4[c4])};return a3(b3,c3)};return function(b3,c3){function e3(){this.constructor=b3}a3(b3,c3);b3.prototype=null===c3?Object.create(c3):(e3.prototype=c3.prototype,new e3)}}(),r2=d3.seriesTypes,q=r2.column,F2=r2.line,p2=a2.arrayMax,l2=a2.arrayMin,e2=a2.correctFloat;r2=a2.extend;var g2=a2.isNumber,k2=a2.merge,m2=a2.objectEach,D3=a2.pick;a2=function(a3){function b3(){var b4=null!==a3&&a3.apply(this,arguments)||this;b4.chart=void 0;b4.data=void 0;b4.options=void 0;b4.points=void 0;b4.stackedYNeg=void 0;b4.stackedYPos=void 0;b4.stackKey=void 0;b4.xData=void 0;b4.yAxis=void 0;b4.yData=void 0;return b4}h2(b3,a3);b3.prototype.generatePoints=function(){q.prototype.generatePoints.apply(this);for(var a4=0,b4=this.points.length;a4<b4;a4++){var c3=this.points[a4],d4=this.processedYData[a4];g2(d4)&&(c3.isIntermediateSum||c3.isSum)&&(c3.y=e2(d4))}};b3.prototype.translate=function(){var a4=this.options,b4=this.yAxis,c3=D3(a4.minPointLength,5),e3=c3/2,d4=a4.threshold||0;a4=a4.stacking;var f3=b4.waterfall.stacks[this.stackKey],h3=d4,k3=d4;q.prototype.translate.apply(this);for(var m3=this.points,t2=0;t2<m3.length;t2++){var l3=m3[t2];var n2=this.processedYData[t2];var p3=l3.shapeArgs;if(p3&&g2(n2)){var A2=[0,n2];var r3=l3.y;if(a4){if(f3){A2=f3[t2];if("overlap"===a4){var w3=A2.stackState[A2.stateIndex--];w3=0<=r3?w3:w3-r3;Object.hasOwnProperty.call(A2,"absolutePos")&&delete A2.absolutePos;Object.hasOwnProperty.call(A2,"absoluteNeg")&&delete A2.absoluteNeg}else 0<=r3?(w3=A2.threshold+A2.posTotal,A2.posTotal-=r3):(w3=A2.threshold+A2.negTotal,A2.negTotal-=r3,w3-=r3),!A2.posTotal&&g2(A2.absolutePos)&&Object.hasOwnProperty.call(A2,"absolutePos")&&(A2.posTotal=A2.absolutePos,delete A2.absolutePos),!A2.negTotal&&g2(A2.absoluteNeg)&&Object.hasOwnProperty.call(A2,"absoluteNeg")&&(A2.negTotal=A2.absoluteNeg,delete A2.absoluteNeg);l3.isSum||(A2.connectorThreshold=A2.threshold+A2.stackTotal);b4.reversed?(n2=0<=r3?w3-r3:w3+r3,r3=w3):(n2=w3,r3=w3-r3);l3.below=n2<=d4;p3.y=b4.translate(n2,false,true,false,true);p3.height=Math.abs(p3.y-b4.translate(r3,false,true,false,true));if(r3=b4.waterfall.dummyStackItem)r3.x=t2,r3.label=f3[t2].label,r3.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[t2],this.stackedYPos[t2],void 0,this.xAxis)}}else w3=Math.max(k3,k3+r3)+A2[0],p3.y=b4.translate(w3,false,true,false,true),l3.isSum?(p3.y=b4.translate(A2[1],false,true,false,true),p3.height=Math.min(b4.translate(A2[0],false,true,false,true),b4.len)-p3.y,l3.below=A2[1]<=d4):l3.isIntermediateSum?(0<=r3?(n2=A2[1]+h3,r3=h3):(n2=h3,r3=A2[1]+h3),b4.reversed&&(n2^=r3,r3^=n2,n2^=r3),p3.y=b4.translate(n2,false,true,false,true),p3.height=Math.abs(p3.y-Math.min(b4.translate(r3,false,true,false,true),b4.len)),h3+=A2[1],l3.below=n2<=d4):(p3.height=0<n2?b4.translate(k3,false,true,false,true)-p3.y:b4.translate(k3,false,true,false,true)-b4.translate(k3-n2,false,true,false,true),k3+=n2,l3.below=k3<d4),0>p3.height&&(p3.y+=p3.height,p3.height*=-1);l3.plotY=p3.y=Math.round(p3.y||0)-this.borderWidth%2/2;p3.height=Math.max(Math.round(p3.height||0),.001);l3.yBottom=p3.y+p3.height;p3.height<=c3&&!l3.isNull?(p3.height=c3,p3.y-=e3,l3.plotY=p3.y,l3.minPointLengthOffset=0>l3.y?-e3:e3):(l3.isNull&&(p3.width=0),l3.minPointLengthOffset=0);r3=l3.plotY+(l3.negative?p3.height:0);l3.below&&(l3.plotY+=p3.height);l3.tooltipPos&&(this.chart.inverted?l3.tooltipPos[0]=b4.len-r3:l3.tooltipPos[1]=r3);l3.isInside=this.isPointInside(l3)}}};b3.prototype.processData=function(b4){var c3=this.options,d4=this.yData,f3=c3.data,g3=d4.length,h3=c3.threshold||0,k3,l3,m3,t2,n2;for(n2=l3=k3=m3=t2=0;n2<g3;n2++){var q2=d4[n2];var p3=f3&&f3[n2]?f3[n2]:{};"sum"===q2||p3.isSum?d4[n2]=e2(l3):"intermediateSum"===q2||p3.isIntermediateSum?(d4[n2]=e2(k3),k3=0):(l3+=q2,k3+=q2);m3=Math.min(l3,m3);t2=Math.max(l3,t2)}a3.prototype.processData.call(this,b4);c3.stacking||(this.dataMin=m3+h3,this.dataMax=t2)};b3.prototype.toYData=function(a4){return a4.isSum?"sum":a4.isIntermediateSum?"intermediateSum":a4.y};b3.prototype.updateParallelArrays=function(b4,c3){a3.prototype.updateParallelArrays.call(this,b4,c3);if("sum"===this.yData[0]||"intermediateSum"===this.yData[0])this.yData[0]=null};b3.prototype.pointAttribs=function(a4,b4){var c3=this.options.upColor;c3&&!a4.options.color&&(a4.color=0<a4.y?c3:void 0);a4=q.prototype.pointAttribs.call(this,a4,b4);delete a4.dashstyle;return a4};b3.prototype.getGraphPath=function(){return[["M",0,0]]};b3.prototype.getCrispPath=function(){var a4=this.data,b4=this.yAxis,c3=a4.length,e3=Math.round(this.graph.strokeWidth())%2/2,d4=Math.round(this.borderWidth)%2/2,f3=this.xAxis.reversed,g3=this.yAxis.reversed,h3=this.options.stacking,k3=[],l3;for(l3=1;l3<c3;l3++){var m3=a4[l3].shapeArgs;var n2=a4[l3-1];var q2=a4[l3-1].shapeArgs;var p3=b4.waterfall.stacks[this.stackKey];var r3=0<n2.y?-q2.height:0;p3&&q2&&m3&&(p3=p3[l3-1],h3?(p3=p3.connectorThreshold,r3=Math.round(b4.translate(p3,false,true,false,true)+(g3?r3:0))-e3):r3=q2.y+n2.minPointLengthOffset+d4-e3,k3.push(["M",(q2.x||0)+(f3?0:q2.width||0),r3],["L",(m3.x||0)+(f3?m3.width||0:0),r3]));q2&&k3.length&&(!h3&&0>n2.y&&!g3||0<n2.y&&g3)&&((n2=k3[k3.length-2])&&"number"===typeof n2[2]&&(n2[2]+=q2.height||0),(n2=k3[k3.length-1])&&"number"===typeof n2[2]&&(n2[2]+=q2.height||0))}return k3};b3.prototype.drawGraph=function(){F2.prototype.drawGraph.call(this);this.graph&&this.graph.attr({d:this.getCrispPath()})};b3.prototype.setStackedPoints=function(){function a4(a5,b5,c4,e4){if(u2){if(R2)for(c4;c4<R2;c4++)u2.stackState[c4]+=e4;else u2.stackState[0]=a5,R2=u2.stackState.length;u2.stackState.push(u2.stackState[R2-1]+b5)}}var b4=this.options,c3=this.yAxis.waterfall.stacks,e3=b4.threshold||0,d4=e3,f3=d4,g3=this.stackKey,h3=this.xData,k3=h3.length,l3,m3,n2;this.yAxis.stacking.usePercentage=false;var q2=l3=m3=d4;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var p3=c3.changed;(n2=c3.alreadyChanged)&&0>n2.indexOf(g3)&&(p3=true);c3[g3]||(c3[g3]={});if(n2=c3[g3])for(var r3=0;r3<k3;r3++){var w3=h3[r3];if(!n2[w3]||p3)n2[w3]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:p3&&n2[w3]?n2[w3].label:void 0};var u2=n2[w3];var C2=this.yData[r3];0<=C2?u2.posTotal+=C2:u2.negTotal+=C2;var z2=b4.data[r3];w3=u2.absolutePos=u2.posTotal;var O2=u2.absoluteNeg=u2.negTotal;u2.stackTotal=w3+O2;var R2=u2.stackState.length;z2&&z2.isIntermediateSum?(a4(m3,l3,0,m3),m3=l3,l3=e3,d4^=f3,f3^=d4,d4^=f3):z2&&z2.isSum?(a4(e3,q2,R2,0),d4=e3):(a4(d4,C2,0,q2),z2&&(q2+=C2,l3+=C2));u2.stateIndex++;u2.threshold=d4;d4+=u2.stackTotal}c3.changed=false;c3.alreadyChanged||(c3.alreadyChanged=[]);c3.alreadyChanged.push(g3)}};b3.prototype.getExtremes=function(){var a4=this.options.stacking;if(a4){var b4=this.yAxis;b4=b4.waterfall.stacks;var c3=this.stackedYNeg=[];var e3=this.stackedYPos=[];"overlap"===a4?m2(b4[this.stackKey],(function(a5){c3.push(l2(a5.stackState));e3.push(p2(a5.stackState))})):m2(b4[this.stackKey],(function(a5){c3.push(a5.negTotal+a5.threshold);e3.push(a5.posTotal+a5.threshold)}));return{dataMin:l2(c3),dataMax:p2(e3)}}return{dataMin:this.dataMin,dataMax:this.dataMax}};b3.defaultOptions=k2(q.defaultOptions,{dataLabels:{inside:true},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}});return b3}(q);r2(a2.prototype,{getZonesGraphs:F2.prototype.getZonesGraphs,pointValKey:"y",showLine:true,pointClass:w2});d3.registerSeriesType("waterfall",a2);f2.compose(b2,c2);return a2}));D2(d2,"Core/Axis/RadialAxis.js",[d2["Core/Axis/AxisDefaults.js"],d2["Core/Defaults.js"],d2["Core/Globals.js"],d2["Core/Utilities.js"]],(function(b2,c2,d3,a2){var f2=c2.defaultOptions,h2=d3.noop,n2=a2.addEvent,r2=a2.correctFloat,q=a2.defined,F2=a2.extend,p2=a2.fireEvent,l2=a2.merge,e2=a2.pick,g2=a2.relativeLength,k2=a2.wrap,m2;(function(a3){function c3(){this.autoConnect=this.isCircular&&"undefined"===typeof e2(this.userMax,this.options.max)&&r2(this.endAngleRad-this.startAngleRad)===r2(2*Math.PI);!this.isCircular&&this.chart.inverted&&this.max++;this.autoConnect&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0)}function d4(){var a4=this;return function(){if(a4.isRadial&&a4.tickPositions&&a4.options.labels&&true!==a4.options.labels.allowOverlap)return a4.tickPositions.map((function(b3){return a4.ticks[b3]&&a4.ticks[b3].label})).filter((function(a5){return!!a5}))}}function m3(){return h2}function v2(a4,b3,c4){var e3=this.pane.center,d5=a4.value;if(this.isCircular){if(q(d5))a4.point&&(f3=a4.point.shapeArgs||{},f3.start&&(d5=this.chart.inverted?this.translate(a4.point.rectPlotY,true):a4.point.x));else{var f3=a4.chartX||0;var g3=a4.chartY||0;d5=this.translate(Math.atan2(g3-c4,f3-b3)-this.startAngleRad,true)}a4=this.getPosition(d5);f3=a4.x;g3=a4.y}else q(d5)||(f3=a4.chartX,g3=a4.chartY),q(f3)&&q(g3)&&(c4=e3[1]+this.chart.plotTop,d5=this.translate(Math.min(Math.sqrt(Math.pow(f3-b3,2)+Math.pow(g3-c4,2)),e3[2]/2)-e3[3]/2,true));return[d5,f3||0,g3||0]}function w2(a4,b3,c4){a4=this.pane.center;var d5=this.chart,f3=this.left||0,g3=this.top||0,h3=e2(b3,a4[2]/2-this.offset);"undefined"===typeof c4&&(c4=this.horiz?0:this.center&&-this.center[3]/2);c4&&(h3+=c4);this.isCircular||"undefined"!==typeof b3?(b3=this.chart.renderer.symbols.arc(f3+a4[0],g3+a4[1],h3,h3,{start:this.startAngleRad,end:this.endAngleRad,open:true,innerR:0}),b3.xBounds=[f3+a4[0]],b3.yBounds=[g3+a4[1]-h3]):(b3=this.postTranslate(this.angleRad,h3),b3=[["M",this.center[0]+d5.plotLeft,this.center[1]+d5.plotTop],["L",b3.x,b3.y]]);return b3}function D3(){this.constructor.prototype.getOffset.call(this);this.chart.axisOffset[this.side]=0}function K(a4,b3,c4){var d5=this.chart,f3=function(a5){if("string"===typeof a5){var b4=parseInt(a5,10);u3.test(a5)&&(b4=b4*C3/100);return b4}return a5},g3=this.center,h3=this.startAngleRad,C3=g3[2]/2,k3=Math.min(this.offset,0),l3=this.left||0,m4=this.top||0,u3=/%$/,z3=this.isCircular,n3=e2(f3(c4.outerRadius),C3),P=f3(c4.innerRadius);f3=e2(f3(c4.thickness),10);if("polygon"===this.options.gridLineInterpolation)k3=this.getPlotLinePath({value:a4}).concat(this.getPlotLinePath({value:b3,reverse:true}));else{a4=Math.max(a4,this.min);b3=Math.min(b3,this.max);a4=this.translate(a4);b3=this.translate(b3);z3||(n3=a4||0,P=b3||0);if("circle"!==c4.shape&&z3)c4=h3+(a4||0),h3+=b3||0;else{c4=-Math.PI/2;h3=1.5*Math.PI;var q2=true}n3-=k3;k3=d5.renderer.symbols.arc(l3+g3[0],m4+g3[1],n3,n3,{start:Math.min(c4,h3),end:Math.max(c4,h3),innerR:e2(P,n3-(f3-k3)),open:q2});z3&&(z3=(h3+c4)/2,l3=l3+g3[0]+g3[2]/2*Math.cos(z3),k3.xBounds=z3>-Math.PI/2&&z3<Math.PI/2?[l3,d5.plotWidth]:[0,l3],k3.yBounds=[m4+g3[1]+g3[2]/2*Math.sin(z3)],k3.yBounds[0]+=z3>-Math.PI&&0>z3||z3>Math.PI?-10:10)}return k3}function x2(a4){var b3=this,c4=this.pane.center,e3=this.chart,d5=e3.inverted,f3=a4.reverse,h3=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},C3=h3.innerRadius||"0%",k3=h3.outerRadius||"100%",l3=c4[0]+e3.plotLeft,m4=c4[1]+e3.plotTop,u3=this.height,z3=a4.isCrosshair;h3=c4[3]/2;var n3=a4.value,P;var q2=this.getPosition(n3);var p3=q2.x;q2=q2.y;z3&&(q2=this.getCrosshairPosition(a4,l3,m4),n3=q2[0],p3=q2[1],q2=q2[2]);if(this.isCircular)n3=Math.sqrt(Math.pow(p3-l3,2)+Math.pow(q2-m4,2)),f3="string"===typeof C3?g2(C3,1):C3/n3,e3="string"===typeof k3?g2(k3,1):k3/n3,c4&&h3&&(h3/=n3,f3<h3&&(f3=h3),e3<h3&&(e3=h3)),c4=[["M",l3+f3*(p3-l3),m4-f3*(m4-q2)],["L",p3-(1-e3)*(p3-l3),q2+(1-e3)*(m4-q2)]];else if((n3=this.translate(n3))&&(0>n3||n3>u3)&&(n3=0),"circle"===this.options.gridLineInterpolation)c4=this.getLinePath(0,n3,h3);else if(c4=[],e3[d5?"yAxis":"xAxis"].forEach((function(a5){a5.pane===b3.pane&&(P=a5)})),P)for(l3=P.tickPositions,P.autoConnect&&(l3=l3.concat([l3[0]])),f3&&(l3=l3.slice().reverse()),n3&&(n3+=h3),m4=0;m4<l3.length;m4++)h3=P.getPosition(l3[m4],n3),c4.push(m4?["L",h3.x,h3.y]:["M",h3.x,h3.y]);return c4}function B(a4,b3){a4=this.translate(a4);return this.postTranslate(this.isCircular?a4:this.angleRad,e2(this.isCircular?b3:0>a4?0:a4,this.center[2]/2)-this.offset)}function y2(){var a4=this.center,b3=this.chart,c4=this.options.title;return{x:b3.plotLeft+a4[0]+(c4.x||0),y:b3.plotTop+a4[1]-{high:.5,middle:.25,low:0}[c4.align]*a4[2]+(c4.y||0)}}function H2(a4){a4.beforeSetTickPositions=c3;a4.createLabelCollector=d4;a4.getCrosshairPosition=v2;a4.getLinePath=w2;a4.getOffset=D3;a4.getPlotBandPath=K;a4.getPlotLinePath=x2;a4.getPosition=B;a4.getTitlePosition=y2;a4.postTranslate=u2;a4.setAxisSize=z2;a4.setAxisTranslation=O2;a4.setOptions=R2}function t2(){var a4=this.chart,b3=this.options,c4=this.pane,d5=c4&&c4.options;a4.angular&&this.isXAxis||!c4||!a4.angular&&!a4.polar||(a4=2*Math.PI,c4=(e2(d5.startAngle,0)-90)*Math.PI/180,d5=(e2(d5.endAngle,e2(d5.startAngle,0)+360)-90)*Math.PI/180,this.angleRad=(b3.angle||0)*Math.PI/180,this.startAngleRad=c4,this.endAngleRad=d5,this.offset=b3.offset||0,b3=(c4%a4+a4)%a4,d5=(d5%a4+a4)%a4,b3>Math.PI&&(b3-=a4),d5>Math.PI&&(d5-=a4),this.normalizedStartAngleRad=b3,this.normalizedEndAngleRad=d5)}function J(a4){this.isRadial&&(a4.align=void 0,a4.preventDefault())}function N(){if(this.chart&&this.chart.labelCollectors){var a4=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=a4&&this.chart.labelCollectors.splice(a4,1)}}function U(a4){var c4=this.chart,e3=c4.inverted,d5=c4.angular,f3=c4.polar,g3=this.isXAxis,k3=this.coll,n3=d5&&g3;a4=a4.userOptions.pane||0;a4=this.pane=c4.pane&&c4.pane[a4];var u3;if("colorAxis"===k3)this.isRadial=false;else{if(d5){if(n3?(this.isHidden=true,this.createLabelCollector=m3,this.getOffset=h2,this.render=this.redraw=C2,this.setTitle=this.setCategories=this.setScale=h2):H2(this),u3=!g3)this.defaultPolarOptions=Y}else f3&&(H2(this),this.defaultPolarOptions=(u3=this.horiz)?X:l2("xAxis"===k3?b2.defaultXAxisOptions:b2.defaultYAxisOptions,Z),e3&&"yAxis"===k3&&(this.defaultPolarOptions.stackLabels=b2.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=true));d5||f3?(this.isRadial=true,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&c4.labelCollectors.push(this.labelCollector)):this.isRadial=false;a4&&u3&&(a4.axis=this);this.isCircular=u3}}function A2(){this.isRadial&&this.beforeSetTickPositions()}function M(a4){var b3=this.label;if(b3){var c4=this.axis,d5=b3.getBBox(),f3=c4.options.labels,h3=(c4.translate(this.pos)+c4.startAngleRad+Math.PI/2)/Math.PI*180%360,C3=Math.round(h3),k3=q(f3.y)?0:.3*-d5.height,l3=f3.y,m4=20,u3=f3.align,n3="end",z3=0>C3?C3+360:C3,p3=z3,O3=0,t3=0;if(c4.isRadial){var r3=c4.getPosition(this.pos,c4.center[2]/2+g2(e2(f3.distance,-25),c4.center[2]/2,-c4.center[2]/2));"auto"===f3.rotation?b3.attr({rotation:h3}):q(l3)||(l3=c4.chart.renderer.fontMetrics(b3.styles&&b3.styles.fontSize).b-d5.height/2);q(u3)||(c4.isCircular?(d5.width>c4.len*c4.tickInterval/(c4.max-c4.min)&&(m4=0),u3=h3>m4&&h3<180-m4?"left":h3>180+m4&&h3<360-m4?"right":"center"):u3="center",b3.attr({align:u3}));if("auto"===u3&&2===c4.tickPositions.length&&c4.isCircular){90<z3&&180>z3?z3=180-z3:270<z3&&360>=z3&&(z3=540-z3);180<p3&&360>=p3&&(p3=360-p3);if(c4.pane.options.startAngle===C3||c4.pane.options.startAngle===C3+360||c4.pane.options.startAngle===C3-360)n3="start";u3=-90<=C3&&90>=C3||-360<=C3&&-270>=C3||270<=C3&&360>=C3?"start"===n3?"right":"left":"start"===n3?"left":"right";70<p3&&110>p3&&(u3="center");15>z3||180<=z3&&195>z3?O3=.3*d5.height:15<=z3&&35>=z3?O3="start"===n3?0:.75*d5.height:195<=z3&&215>=z3?O3="start"===n3?.75*d5.height:0:35<z3&&90>=z3?O3="start"===n3?.25*-d5.height:d5.height:215<z3&&270>=z3&&(O3="start"===n3?d5.height:.25*-d5.height);15>p3?t3="start"===n3?.15*-d5.height:.15*d5.height:165<p3&&180>=p3&&(t3="start"===n3?.15*d5.height:.15*-d5.height);b3.attr({align:u3});b3.translate(t3,O3+k3)}a4.pos.x=r3.x+(f3.x||0);a4.pos.y=r3.y+(l3||0)}}}function S2(a4){this.axis.getPosition&&F2(a4.pos,this.axis.getPosition(this.pos))}function u2(a4,b3){var c4=this.chart,e3=this.center;a4=this.startAngleRad+a4;return{x:c4.plotLeft+e3[0]+Math.cos(a4)*b3,y:c4.plotTop+e3[1]+Math.sin(a4)*b3}}function C2(){this.isDirty=false}function z2(){this.constructor.prototype.setAxisSize.call(this);if(this.isRadial){this.pane.updateCenter(this);var a4=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var b3=this.postTranslate(this.angleRad,a4[3]/2);a4[0]=b3.x-this.chart.plotLeft;a4[1]=b3.y-this.chart.plotTop}this.len=this.width=this.height=(a4[2]-a4[3])*e2(this.sector,1)/2}}function O2(){this.constructor.prototype.setAxisTranslation.call(this);this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)}function R2(a4){a4=this.options=l2(this.constructor.defaultOptions,this.defaultPolarOptions,f2[this.coll],a4);a4.plotBands||(a4.plotBands=[]);p2(this,"afterSetOptions")}function W2(a4,b3,c4,e3,d5,f3,g3){var h3=this.axis;h3.isRadial?(a4=h3.getPosition(this.pos,h3.center[2]/2+e3),b3=["M",b3,c4,"L",a4.x,a4.y]):b3=a4.call(this,b3,c4,e3,d5,f3,g3);return b3}var T2=[],X={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:false,tickLength:0},Y={labels:{align:"center",x:0,y:void 0},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},Z={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:false,title:{x:4,text:null,rotation:90}};a3.compose=function(a4,b3){-1===T2.indexOf(a4)&&(T2.push(a4),n2(a4,"afterInit",t2),n2(a4,"autoLabelAlign",J),n2(a4,"destroy",N),n2(a4,"init",U),n2(a4,"initialAxisTranslation",A2));-1===T2.indexOf(b3)&&(T2.push(b3),n2(b3,"afterGetLabelPosition",M),n2(b3,"afterGetPosition",S2),k2(b3.prototype,"getMarkPath",W2));return a4}})(m2||(m2={}));return m2}));D2(d2,"Series/PolarComposition.js",[d2["Core/Animation/AnimationUtilities.js"],d2["Core/Globals.js"],d2["Extensions/Pane.js"],d2["Core/Axis/RadialAxis.js"],d2["Core/Utilities.js"]],(function(b2,c2,d3,a2,f2){function h2(a3,b3,c3,e3){var d4=e3?1:0;var f3=0<=b3&&b3<=a3.length-1?b3:0>b3?a3.length-1+b3:0;b3=0>f3-1?a3.length-(1+d4):f3-1;var g3=a3[b3];d4=a3[f3+1>a3.length-1?d4:f3+1];var C2=g3.plotY;var k3=d4.plotX;var l3=d4.plotY;d4=a3[f3].plotX;f3=a3[f3].plotY;g3=(1.5*d4+g3.plotX)/2.5;C2=(1.5*f3+C2)/2.5;k3=(1.5*d4+k3)/2.5;var m3=(1.5*f3+l3)/2.5;l3=Math.sqrt(Math.pow(g3-d4,2)+Math.pow(C2-f3,2));var z2=Math.sqrt(Math.pow(k3-d4,2)+Math.pow(m3-f3,2));g3=Math.atan2(C2-f3,g3-d4);m3=Math.PI/2+(g3+Math.atan2(m3-f3,k3-d4))/2;Math.abs(g3-m3)>Math.PI/2&&(m3-=Math.PI);g3=d4+Math.cos(m3)*l3;C2=f3+Math.sin(m3)*l3;k3=d4+Math.cos(Math.PI+m3)*z2;m3=f3+Math.sin(Math.PI+m3)*z2;d4={rightContX:k3,rightContY:m3,leftContX:g3,leftContY:C2,plotX:d4,plotY:f3};c3&&(d4.prevPointCont=h2(a3,b3,false,e3));return d4}function n2(){(this.pane||[]).forEach((function(a3){a3.render()}))}function r2(a3){var b3=a3.args[0].xAxis,c3=a3.args[0].yAxis;a3=a3.args[0].chart;b3&&c3&&("polygon"===c3.gridLineInterpolation?(b3.startOnTick=true,b3.endOnTick=true):"polygon"===b3.gridLineInterpolation&&a3.inverted&&(c3.startOnTick=true,c3.endOnTick=true))}function q(){var a3=this;this.pane||(this.pane=[]);this.options.pane=V2(this.options.pane);this.options.pane.forEach((function(b3){new d3(b3,a3)}),this)}function D3(a3){var b3=a3.args.marker,c3=this.chart.xAxis[0],d4=this.chart.yAxis[0],e3=this.chart.inverted,f3=e3?d4:c3;c3=e3?c3:d4;if(this.chart.polar){a3.preventDefault();d4=(b3.attr?b3.attr("start"):b3.start)-f3.startAngleRad;e3=b3.attr?b3.attr("r"):b3.r;var g3=(b3.attr?b3.attr("end"):b3.end)-f3.startAngleRad;b3=b3.attr?b3.attr("innerR"):b3.innerR;a3.result.x=d4+f3.pos;a3.result.width=g3-d4;a3.result.y=c3.len+c3.pos-b3;a3.result.height=b3-e3}}function p2(a3){var b3=this.chart;if(b3.polar&&b3.hoverPane&&b3.hoverPane.axis){a3.preventDefault();var c3=b3.hoverPane.center,d4=this.mouseDownX||0,e3=this.mouseDownY||0,f3=a3.args.chartY,g3=a3.args.chartX,h3=2*Math.PI,l3=b3.hoverPane.axis.startAngleRad,m3=b3.hoverPane.axis.endAngleRad,n3=b3.inverted?b3.xAxis[0]:b3.yAxis[0],u2={},q2="arc";u2.x=c3[0]+b3.plotLeft;u2.y=c3[1]+b3.plotTop;if(this.zoomHor){var p3=0<l3?m3-l3:Math.abs(l3)+Math.abs(m3),t3=Math.atan2(e3-b3.plotTop-c3[1],d4-b3.plotLeft-c3[0])-l3,r3=Math.atan2(f3-b3.plotTop-c3[1],g3-b3.plotLeft-c3[0])-l3;u2.r=c3[2]/2;u2.innerR=c3[3]/2;0>=t3&&(t3+=h3);0>=r3&&(r3+=h3);r3<t3&&(r3=[t3,t3=r3][0]);p3<h3&&l3+r3>m3+(h3-p3)/2&&(r3=t3,t3=0>=l3?l3:0);h3=u2.start=Math.max(t3+l3,l3);t3=u2.end=Math.min(r3+l3,m3);"polygon"===n3.options.gridLineInterpolation&&(r3=b3.hoverPane.axis,p3=h3-r3.startAngleRad+r3.pos,t3-=h3,q2=n3.getPlotLinePath({value:n3.max}),h3=r3.toValue(p3),p3=r3.toValue(p3+t3),h3<r3.getExtremes().min&&(t3=r3.getExtremes(),h3=t3.max-(t3.min-h3)),p3<r3.getExtremes().min&&(t3=r3.getExtremes(),p3=t3.max-(t3.min-p3)),p3<h3&&(p3=[h3,h3=p3][0]),q2=k2(q2,h3,p3,r3),q2.push(["L",c3[0]+b3.plotLeft,b3.plotTop+c3[1]]),u2.d=q2,q2="path")}this.zoomVert&&(r3=b3.inverted?b3.xAxis[0]:b3.yAxis[0],d4=Math.sqrt(Math.pow(d4-b3.plotLeft-c3[0],2)+Math.pow(e3-b3.plotTop-c3[1],2)),f3=Math.sqrt(Math.pow(g3-b3.plotLeft-c3[0],2)+Math.pow(f3-b3.plotTop-c3[1],2)),f3<d4&&(d4=[f3,f3=d4][0]),f3>c3[2]/2&&(f3=c3[2]/2),d4<c3[3]/2&&(d4=c3[3]/2),this.zoomHor||(u2.start=l3,u2.end=m3),u2.r=f3,u2.innerR=d4,"polygon"===r3.options.gridLineInterpolation&&(t3=r3.toValue(r3.len+r3.pos-d4),h3=r3.toValue(r3.len+r3.pos-f3),q2=r3.getPlotLinePath({value:h3}).concat(r3.getPlotLinePath({value:t3,reverse:true})),u2.d=q2,q2="path"));this.zoomHor&&this.zoomVert&&"polygon"===n3.options.gridLineInterpolation&&(r3=b3.hoverPane.axis,h3=u2.start||0,t3=u2.end||0,p3=h3-r3.startAngleRad+r3.pos,t3-=h3,h3=r3.toValue(p3),p3=r3.toValue(p3+t3),u2.d instanceof Array&&(c3=u2.d.slice(0,u2.d.length/2),l3=u2.d.slice(u2.d.length/2,u2.d.length),l3=K([],l3,true).reverse(),b3=b3.hoverPane.axis,c3=k2(c3,h3,p3,b3),(l3=k2(l3,h3,p3,b3))&&(l3[0][0]="L"),l3=K([],l3,true).reverse(),u2.d=c3.concat(l3),q2="path"));a3.attrs=u2;a3.shapeType=q2}}function l2(){var a3=this.chart;a3.polar&&(this.polar=new S2(this),a3.inverted&&(this.isRadialSeries=true,this.is("column")&&(this.isRadialBar=true)))}function e2(){if(this.chart.polar&&this.xAxis){var a3=this.chart;(this.kdByAngle=a3.tooltip&&a3.tooltip.shared)?this.searchPoint=g2:this.options.findNearestPointBy="xy";for(var b3=this.points,d4=b3.length;d4--;)this.preventPostTranslate||this.polar.toXY(b3[d4]),a3.hasParallelCoordinates||this.yAxis.reversed||(J(b3[d4].y,Number.MIN_VALUE)<this.yAxis.min||b3[d4].x<this.xAxis.min||b3[d4].x>this.xAxis.max?(b3[d4].isNull=true,b3[d4].plotY=NaN):b3[d4].isNull=b3[d4].isValid&&!b3[d4].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(B(this,"afterRender",(function(){if(a3.polar){var b4=this.yAxis.pane.center;if(this.clipCircle)this.clipCircle.animate({x:b4[0],y:b4[1],r:b4[2]/2,innerR:b4[3]/2});else{var d5=a3.renderer,e3=b4[0],f3=b4[1],g3=b4[2]/2,h3=b4[3]/2;b4=U();var k3=d5.createElement("clipPath").attr({id:b4}).add(d5.defs);d5=h3?d5.arc(e3,f3,g3,h3,0,2*Math.PI).add(k3):d5.circle(e3,f3,g3).add(k3);d5.id=b4;d5.clipPath=k3;this.clipCircle=d5}this.group.clip(this.clipCircle);this.setClip=c2.noop}}))))}}function g2(a3){var b3=this.chart,c3=this.xAxis;c3=c3.pane&&c3.pane.center;return this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(a3.chartX-(c3&&c3[0]||0)-b3.plotLeft,a3.chartY-(c3&&c3[1]||0)-b3.plotTop)})}function k2(a3,b3,c3,d4){var e3=d4.tickInterval;d4=d4.tickPositions;var f3=H2(d4,(function(a4){return a4>=c3})),g3=H2(K([],d4,true).reverse(),(function(a4){return a4<=b3}));y2(f3)||(f3=d4[d4.length-1]);y2(g3)||(g3=d4[0],f3+=e3,a3[0][0]="L",a3.unshift(a3[a3.length-3]));a3=a3.slice(d4.indexOf(g3),d4.indexOf(f3)+1);a3[0][0]="M";return a3}function m2(a3,b3){return H2(this.pane||[],(function(a4){return a4.options.id===b3}))||a3.call(this,b3)}function N(a3,b3,c3,d4,e3,f3){var g3=this.chart,h3=J(d4.inside,!!this.options.stacking);g3.polar?(a3=b3.rectPlotX/Math.PI*180,g3.inverted?(this.forceDL=g3.isInsidePlot(b3.plotX,b3.plotY),h3&&b3.shapeArgs?(e3=b3.shapeArgs,e3=this.yAxis.postTranslate(((e3.start||0)+(e3.end||0))/2-this.xAxis.startAngleRad,b3.barX+b3.pointWidth/2),e3={x:e3.x-g3.plotLeft,y:e3.y-g3.plotTop}):b3.tooltipPos&&(e3={x:b3.tooltipPos[0],y:b3.tooltipPos[1]}),d4.align=J(d4.align,"center"),d4.verticalAlign=J(d4.verticalAlign,"middle")):(null===d4.align&&(d4.align=20<a3&&160>a3?"left":200<a3&&340>a3?"right":"center"),null===d4.verticalAlign&&(d4.verticalAlign=45>a3||315<a3?"bottom":135<a3&&225>a3?"top":"middle")),Object.getPrototypeOf(Object.getPrototypeOf(this)).alignDataLabel.call(this,b3,c3,d4,e3,f3),this.isRadialBar&&b3.shapeArgs&&b3.shapeArgs.start===b3.shapeArgs.end?c3.hide():c3.show()):a3.call(this,b3,c3,d4,e3,f3)}function G(a3){var b3=this.options,c3=b3.stacking,d4=this.chart,e3=this.xAxis,g3=this.yAxis,h3=g3.reversed,k3=g3.center,l3=e3.startAngleRad,m3=e3.endAngleRad-l3,n3=0,p3=0,q2=0;this.preventPostTranslate=true;a3.call(this);if(e3.isRadial){a3=this.points;e3=a3.length;var r3=g3.translate(g3.min);var u2=g3.translate(g3.max);b3=b3.threshold||0;d4.inverted&&t2(b3)&&(n3=g3.translate(b3),y2(n3)&&(0>n3?n3=0:n3>m3&&(n3=m3),this.translatedThreshold=n3+l3));for(;e3--;){b3=a3[e3];var v3=b3.barX;var w2=b3.x;var x3=b3.y;b3.shapeType="arc";if(d4.inverted){b3.plotY=g3.translate(x3);c3&&g3.stacking?(x3=g3.stacking.stacks[(0>x3?"-":"")+this.stackKey],this.visible&&x3&&x3[w2]&&!b3.isNull&&(q2=x3[w2].points[this.getStackIndicator(void 0,w2,this.index).key],p3=g3.translate(q2[0]),q2=g3.translate(q2[1]),y2(p3)&&(p3=f2.clamp(p3,0,m3)))):(p3=n3,q2=b3.plotY);p3>q2&&(q2=[p3,p3=q2][0]);if(!h3)if(p3<r3)p3=r3;else if(q2>u2)q2=u2;else{if(q2<r3||p3>u2)p3=q2=0}else if(q2>r3)q2=r3;else if(p3<u2)p3=u2;else if(p3>r3||q2<u2)p3=q2=m3;g3.min>g3.max&&(p3=q2=h3?m3:0);p3+=l3;q2+=l3;k3&&(b3.barX=v3+=k3[3]/2);w2=Math.max(v3,0);x3=Math.max(v3+b3.pointWidth,0);b3.shapeArgs={x:k3&&k3[0],y:k3&&k3[1],r:x3,innerR:w2,start:p3,end:q2};b3.opacity=p3===q2?0:void 0;b3.plotY=(y2(this.translatedThreshold)&&(p3<this.translatedThreshold?p3:q2))-l3}else p3=v3+l3,b3.shapeArgs=this.polar.arc(b3.yBottom,b3.plotY,p3,p3+b3.pointWidth);this.polar.toXY(b3);d4.inverted?(v3=g3.postTranslate(b3.rectPlotY,v3+b3.pointWidth/2),b3.tooltipPos=[v3.x-d4.plotLeft,v3.y-d4.plotTop]):b3.tooltipPos=[b3.plotX,b3.plotY];k3&&(b3.ttBelow=b3.plotY>k3[1])}}}function L2(a3,b3){var c3=this;if(this.chart.polar){b3=b3||this.points;for(var d4=0;d4<b3.length;d4++)if(!b3[d4].isNull){var e3=d4;break}if(false!==this.options.connectEnds&&"undefined"!==typeof e3){this.connectEnds=true;b3.splice(b3.length,0,b3[e3]);var f3=true}b3.forEach((function(a4){"undefined"===typeof a4.polarPlotY&&c3.polar.toXY(a4)}))}e3=a3.apply(this,[].slice.call(arguments,1));f3&&b3.pop();return e3}function E2(a3,b3){var c3=this.chart,d4={xAxis:[],yAxis:[]};c3.polar?c3.axes.forEach((function(a4){if("colorAxis"!==a4.coll){var e3=a4.isXAxis,f3=a4.center,g3=b3.chartX-f3[0]-c3.plotLeft;f3=b3.chartY-f3[1]-c3.plotTop;d4[e3?"xAxis":"yAxis"].push({axis:a4,value:a4.translate(e3?Math.PI-Math.atan2(g3,f3):Math.sqrt(Math.pow(g3,2)+Math.pow(f3,2)),true)})}})):d4=a3.call(this,b3);return d4}function v2(a3,b3){this.chart.polar||a3.call(this,b3)}function Q(a3,b3){var d4=this,e3=this.chart,f3=this.group,g3=this.markerGroup,h3=this.xAxis&&this.xAxis.center,k3=e3.plotLeft,l3=e3.plotTop,m3=this.options.animation,n3,p3,q2,r3;if(e3.polar)if(d4.isRadialBar)b3||(d4.startAngleRad=J(d4.translatedThreshold,d4.xAxis.startAngleRad),c2.seriesTypes.pie.prototype.animate.call(d4,b3));else{if(e3.renderer.isSVG)if(m3=x2(m3),d4.is("column")){if(!b3){var t3=h3[3]/2;d4.points.forEach((function(a4){n3=a4.graphic;q2=(p3=a4.shapeArgs)&&p3.r;r3=p3&&p3.innerR;n3&&p3&&(n3.attr({r:t3,innerR:t3}),n3.animate({r:q2,innerR:r3},d4.options.animation))}))}}else b3?(a3={translateX:h3[0]+k3,translateY:h3[1]+l3,scaleX:.001,scaleY:.001},f3.attr(a3),g3&&g3.attr(a3)):(a3={translateX:k3,translateY:l3,scaleX:1,scaleY:1},f3.animate(a3,m3),g3&&g3.animate(a3,m3))}else a3.call(this,b3)}function I(a3,b3,c3,d4){this.chart.polar?d4?(a3=h2(b3,d4,true,this.connectEnds),b3=a3.prevPointCont&&a3.prevPointCont.rightContX,c3=a3.prevPointCont&&a3.prevPointCont.rightContY,a3=["C",t2(b3)?b3:a3.plotX,t2(c3)?c3:a3.plotY,t2(a3.leftContX)?a3.leftContX:a3.plotX,t2(a3.leftContY)?a3.leftContY:a3.plotY,a3.plotX,a3.plotY]):a3=["M",c3.plotX,c3.plotY]:a3=a3.call(this,b3,c3,d4);return a3}var K=this&&this.__spreadArray||function(a3,b3,c3){if(c3||2===arguments.length)for(var d4=0,e3=b3.length,f3;d4<e3;d4++)!f3&&d4 in b3||(f3||(f3=Array.prototype.slice.call(b3,0,d4)),f3[d4]=b3[d4]);return a3.concat(f3||Array.prototype.slice.call(b3))},x2=b2.animObject,B=f2.addEvent,y2=f2.defined,H2=f2.find,t2=f2.isNumber,J=f2.pick,V2=f2.splat,U=f2.uniqueKey,A2=f2.wrap,M=[],S2=function(){function b3(a3){this.series=a3}b3.compose=function(b4,c3,d4,f3,g3,h3,k3,t3,u2){a2.compose(b4,g3);-1===M.indexOf(c3)&&(M.push(c3),B(c3,"afterDrawChartBox",n2),B(c3,"getAxes",q),B(c3,"init",r2),A2(c3.prototype,"get",m2));-1===M.indexOf(d4)&&(M.push(d4),b4=d4.prototype,A2(b4,"getCoordinates",E2),A2(b4,"pinch",v2),B(d4,"getSelectionMarkerAttrs",p2),B(d4,"getSelectionBox",D3));-1===M.indexOf(f3)&&(M.push(f3),B(f3,"afterInit",l2),B(f3,"afterTranslate",e2,{order:2}),A2(f3.prototype,"animate",Q));k3&&-1===M.indexOf(k3)&&(M.push(k3),d4=k3.prototype,A2(d4,"alignDataLabel",N),A2(d4,"animate",Q),A2(d4,"translate",G));t3&&-1===M.indexOf(t3)&&(M.push(t3),A2(t3.prototype,"getGraphPath",L2));u2&&-1===M.indexOf(u2)&&(M.push(u2),t3=u2.prototype,A2(t3,"getPointSpline",I),h3&&-1===M.indexOf(h3)&&(M.push(h3),h3.prototype.getPointSpline=t3.getPointSpline))};b3.prototype.arc=function(a3,b4,c3,d4){var e3=this.series,f3=e3.xAxis.center,g3=e3.yAxis.len,h3=f3[3]/2;b4=g3-b4+h3;a3=g3-J(a3,g3)+h3;e3.yAxis.reversed&&(0>b4&&(b4=h3),0>a3&&(a3=h3));return{x:f3[0],y:f3[1],r:b4,innerR:a3,start:c3,end:d4}};b3.prototype.toXY=function(a3){var b4=this.series,c3=b4.chart,d4=b4.xAxis,e3=b4.yAxis,f3=a3.plotX,g3=c3.inverted,h3=a3.y,k3=a3.plotY,l3=g3?f3:e3.len-k3;g3&&b4&&!b4.isRadialBar&&(a3.plotY=k3=t2(h3)?e3.translate(h3):0);a3.rectPlotX=f3;a3.rectPlotY=k3;e3.center&&(l3+=e3.center[3]/2);t2(k3)&&(e3=g3?e3.postTranslate(k3,l3):d4.postTranslate(f3,l3),a3.plotX=a3.polarPlotX=e3.x-c3.plotLeft,a3.plotY=a3.polarPlotY=e3.y-c3.plotTop);b4.kdByAngle?(b4=(f3/Math.PI*180+d4.pane.options.startAngle)%360,0>b4&&(b4+=360),a3.clientX=b4):a3.clientX=a3.plotX};return b3}();return S2}));D2(d2,"masters/highcharts-more.src.js",[d2["Core/Globals.js"],d2["Core/Series/SeriesRegistry.js"],d2["Series/Bubble/BubbleSeries.js"],d2["Series/PackedBubble/PackedBubbleSeries.js"],d2["Series/PolarComposition.js"]],(function(b2,c2,d3,a2,f2){d3.compose(b2.Axis,b2.Chart,b2.Legend,b2.Series);a2.compose(b2.Axis,b2.Chart,b2.Legend,b2.Series);f2.compose(b2.Axis,b2.Chart,b2.Pointer,b2.Series,b2.Tick,c2.seriesTypes.areasplinerange,c2.seriesTypes.column,c2.seriesTypes.line,c2.seriesTypes.spline)}))}))})(highchartsMore$1);var highchartsMoreExports=highchartsMore$1.exports;const highchartsMore=getDefaultExportFromCjs(highchartsMoreExports);const alignBlockElement=event2=>{const itemToMove=document.querySelector(`#wrapper-circle-chart-${event2.target.renderTo.id} .pb-circle-chart-block`);const chartContainer=document.querySelector(`#${event2.target.renderTo.id}`);if(itemToMove!==null&&chartContainer!==null){itemToMove.style.height=`${event2.target.chartHeight}px`;itemToMove.style.width=`${event2.target.chartWidth}px`;if(chartContainer.firstChild!==null){chartContainer.firstChild.before(itemToMove)}}};const CircleChart=({align:align="center",aria:aria={},rounded:rounded=false,borderColor:borderColor=(rounded?null:""),borderWidth:borderWidth=(rounded?20:null),chartData:chartData,children:children,className:className,colors:colors2=[],customOptions:customOptions={},dark:dark=false,data:data={},dataLabelHtml:dataLabelHtml="<div>{point.name}</div>",dataLabels:dataLabels=false,height:height,htmlOptions:htmlOptions={},id:id,innerSize:innerSize="md",legend:legend=false,maxPointSize:maxPointSize=null,minPointSize:minPointSize=null,startAngle:startAngle=null,style:style="pie",title:title,tooltipHtml:tooltipHtml,useHtml:useHtml=false,zMin:zMin=null,layout:layout="horizontal",verticalAlign:verticalAlign="bottom",x:x2=0,y:y2=0,...props})=>{const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);highchartsMore(Highcharts$1);const setupTheme=()=>{dark?Highcharts$1.setOptions(highchartsDarkTheme):Highcharts$1.setOptions(highchartsTheme)};setupTheme();Highcharts$1.setOptions({tooltip:{headerFormat:null,pointFormat:tooltipHtml?tooltipHtml:'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>',useHTML:useHtml}});const innerSizes={sm:"35%",md:"50%",lg:"85%",none:"0%"};const innerSizeFormat=size=>innerSizes[size];const filteredProps={...props};delete filteredProps.verticalAlign;const[options2,setOptions]=useState({});useEffect((()=>{const formattedChartData=chartData.map((obj=>{obj.y=obj.value;delete obj.value;return obj}));const staticOptions={title:{text:title},chart:{height:height,type:style,events:{render:event2=>alignBlockElement(event2),redraw:event2=>alignBlockElement(event2)}},legend:{align:align,verticalAlign:verticalAlign,layout:layout,x:x2,y:y2},plotOptions:{pie:{colors:colors2.length>0?mapColors(colors2):highchartsTheme.colors,dataLabels:{enabled:dataLabels,connectorShape:"straight",connectorWidth:3,format:dataLabelHtml},showInLegend:legend}},series:[{minPointSize:minPointSize,maxPointSize:maxPointSize,innerSize:borderWidth==20?"100%":innerSizeFormat(innerSize),data:formattedChartData,zMin:zMin,startAngle:startAngle,borderWidth:borderWidth,borderColor:borderColor}],credits:false};setOptions(merge(staticOptions,customOptions))}),[chartData]);return jsx$1(Fragment,{children:children?jsxs("div",{id:`wrapper-circle-chart-${id}`,children:[jsx$1(HighchartsReact,{containerProps:{className:classnames("pb_circle_chart",globalProps(filteredProps)),id:id,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2}),jsx$1("div",{className:"pb-circle-chart-block",children:children})]}):jsx$1(HighchartsReact,{containerProps:{className:classnames("pb_circle_chart",globalProps(filteredProps)),id:id,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2})})};const CircleIconButton=props=>{const{aria:aria={},className:className,dark:dark,data:data={},disabled:disabled,htmlOptions:htmlOptions={},icon:icon,id:id,loading:loading=false,onClick:onClick=noop$1,type:type,link:link,newWindow:newWindow,variant:variant}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_circle_icon_button_kit"),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:jsx$1(Button,{dark:dark,disabled:disabled,htmlType:type,link:link,loading:loading,newWindow:newWindow,onClick:onClick,text:null,variant:variant,children:jsx$1(Icon,{fixedWidth:true,icon:icon})})})};const showElement=elem=>{elem.style.display="block";const height=elem.scrollHeight+"px";elem.style.height=height;elem.classList.add("is-visible");elem.style.overflow="hidden";window.setTimeout((()=>{elem.style.height="";elem.style.overflow="visible"}),300)};const hideElement=elem=>{elem.style.height=elem.scrollHeight+"px";window.setTimeout((()=>{elem.style.height="0";elem.style.paddingTop="0";elem.style.paddingBottom="0";elem.style.overflow="hidden"}),1);window.setTimeout((()=>{elem.classList.remove("is-visible");elem.style.overflow=""}),300)};const CollapsibleContext=createContext({});const CollapsibleContent=({children:children,className:className,...props})=>{const context=useContext(CollapsibleContext);const contentCSS=buildCss("pb_collapsible_content_kit");const contentSpacing=globalProps(props);const contentRef=useRef(null);useEffect((()=>{if(contentRef.current){if(context.collapsed){hideElement(contentRef.current)}else{showElement(contentRef.current)}}}),[context.collapsed]);return jsx$1("div",{className:classnames(contentCSS,contentSpacing,"toggle-content",className),"data-collapsible-content":"true",ref:contentRef,children:children})};const colorMap={default:"#242B42",light:"#687887",lighter:"#C1CDD6",link:"#0056CF",error:"#FF2229",success:"#00CA74"};const CollapsibleIcon=({collapsed:collapsed,icon:icon,iconSize:iconSize,iconColor:iconColor,onIconClick:onIconClick})=>{const color=colorMap[iconColor];const showIcon=icon2=>{if(icon2==="none"){return[]}else if(typeof icon2==="string"){return[icon2,icon2]}return icon2};const handleIconClick=e2=>{if(onIconClick){e2.stopPropagation();onIconClick()}};return jsx$1(Fragment,{children:icon!=="none"?collapsed?jsx$1("div",{className:"icon_wrapper",onClick:e2=>handleIconClick(e2),style:{verticalAlign:"middle",color:color},children:jsx$1(Icon,{icon:icon?showIcon(icon)[0]:"chevron-down",size:iconSize})},icon?showIcon(icon)[0]:"chevron-down"):jsx$1("div",{className:"icon_wrapper",onClick:e2=>handleIconClick(e2),style:{verticalAlign:"middle",color:color},children:jsx$1(Icon,{icon:icon?showIcon(icon)[1]:"chevron-up",size:iconSize})},icon?showIcon(icon)[1]:"chevron-up"):jsx$1("div",{})})};const CollapsibleMain=({children:children,className:className,cursor:cursor2="pointer",...props})=>{const{collapsed:collapsed,toggle:toggle,icon:icon,iconSize:iconSize,iconColor:iconColor,onIconClick:onIconClick,onClick:onClick}=useContext(CollapsibleContext);const mainCSS=buildCss("pb_collapsible_main_kit");const mainSpacing=globalProps(props,{cursor:cursor2});const handleCollapsibleClick=()=>{onClick&&onClick();const disableToggle=onClick&&onClick();if(disableToggle!==true){toggle()}};return jsx$1("div",{className:classnames(mainCSS,mainSpacing,className),children:jsx$1("div",{onClick:handleCollapsibleClick,children:jsxs(Flex,{spacing:"between",vertical:"center",children:[jsx$1(FlexItem,{children:children}),jsx$1(FlexItem,{children:jsx$1(CollapsibleIcon,{collapsed:collapsed,icon:icon,iconColor:iconColor,iconSize:iconSize,onIconClick:onIconClick})})]})})})};const Collapsible=({aria:aria={},className:className,children:children,collapsed:collapsed=true,data:data={},htmlOptions:htmlOptions={},icon:icon,iconColor:iconColor="default",iconSize:iconSize,onIconClick:onIconClick,onClick:onClick,id:id,...props})=>{const[isCollapsed,toggle,setIsCollapsed]=useCollapsible(collapsed);useEffect((()=>{setIsCollapsed(collapsed)}),[collapsed]);if(children.length!==2){throw new Error("Collapsible requires <CollapsibleMain> and <CollapsibleContent> to function properly.")}const FirstChild=children[0];const Main=FirstChild.type===CollapsibleMain?FirstChild:null;const Content=children[1];const{children:mainChildren=null,...mainProps}=Main?Main.props:{};const{children:contentChildren,...contentProps}=Content.props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_collapsible_kit"),globalProps(props),className);return jsx$1(CollapsibleContext.Provider,{value:{collapsed:isCollapsed,toggle:toggle,icon:icon,iconSize:iconSize,iconColor:iconColor,onIconClick:onIconClick,onClick:onClick},children:jsxs("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:[Main?jsx$1(CollapsibleMain,{...mainProps,children:mainChildren}):FirstChild,jsx$1(CollapsibleContent,{...contentProps,children:contentChildren})]})})};Collapsible.Main=CollapsibleMain;Collapsible.Content=CollapsibleContent;Collapsible.Icon=CollapsibleIcon;const Title=props=>{if(props.variant);const{aria:aria={},children:children,className:className,color:color,data:data={},htmlOptions:htmlOptions={},id:id,size:size=3,bold:bold=true,tag:tag="h3",text:text,variant:variant=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const getBold=bold?"":"thin";const isSizeNumberOrString=typeof size==="number"||typeof size==="string";const buildResponsiveSizeCss=()=>{let css4="";if(!isSizeNumberOrString){Object.entries(size).forEach((sizeObj=>{css4+=`pb_title_kit_${sizeObj[0]}_${sizeObj[1]} `}))}return css4.trim()};const classes=classnames(buildCss("pb_title_kit",isSizeNumberOrString?`size_${size}`:"",variant,color,getBold),globalProps(props),buildResponsiveSizeCss(),className);const Tag=`${tag}`;return jsx$1(Tag,{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:text||children})};const SectionSeparator=props=>{const{aria:aria={},children:children,className:className,data:data={},htmlOptions:htmlOptions={},id:id,lineStyle:lineStyle="solid",orientation:orientation="horizontal",text:text,dark:dark=false,variant:variant="card"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_section_separator_kit",variant,orientation,lineStyle==="dashed"?lineStyle:""),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:children&&children||text&&jsx$1("span",{children:jsx$1(Caption,{dark:dark,text:text})})})};var lib={exports:{}};var Modal$2={};var propTypes={exports:{}};var ReactPropTypesSecret$1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";var ReactPropTypesSecret_1=ReactPropTypesSecret$1;var ReactPropTypesSecret=ReactPropTypesSecret_1;function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction;var factoryWithThrowingShims=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret){return}var err=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");err.name="Invariant Violation";throw err}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes};{propTypes.exports=factoryWithThrowingShims()}var propTypesExports=propTypes.exports;const PropTypes=getDefaultExportFromCjs(propTypesExports);var ModalPortal={exports:{}};var focusManager={};var tabbable={exports:{}};(function(module,exports){Object.defineProperty(exports,"__esModule",{value:true});exports.default=findTabbableDescendants;
|
7
7
|
/*!
|
8
8
|
* Adapted from jQuery UI core
|
9
9
|
*
|