webpackJsonp([0],{"++K3":function(t,e){var n,i,r,o,a,s,l,c,u,h,d,f,p,g,m,v=!1;function y(){if(!v){v=!0;var t=navigator.userAgent,e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),y=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(f=/\b(iPhone|iP[ao]d)/.exec(t),p=/\b(iP[ao]d)/.exec(t),h=/Android/i.exec(t),g=/FBAN\/\w+;/i.exec(t),m=/Mobile/i.exec(t),d=!!/Win64/.exec(t),e){(n=e[1]?parseFloat(e[1]):e[5]?parseFloat(e[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(t);s=b?parseFloat(b[1])+4:n,i=e[2]?parseFloat(e[2]):NaN,r=e[3]?parseFloat(e[3]):NaN,(o=e[4]?parseFloat(e[4]):NaN)?(e=/(?:Chrome\/(\d+\.\d+))/.exec(t),a=e&&e[1]?parseFloat(e[1]):NaN):a=NaN}else n=i=r=a=o=NaN;if(y){if(y[1]){var x=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);l=!x||parseFloat(x[1].replace("_","."))}else l=!1;c=!!y[2],u=!!y[3]}else l=c=u=!1}}var b={ie:function(){return y()||n},ieCompatibilityMode:function(){return y()||s>n},ie64:function(){return b.ie()&&d},firefox:function(){return y()||i},opera:function(){return y()||r},webkit:function(){return y()||o},safari:function(){return b.webkit()},chrome:function(){return y()||a},windows:function(){return y()||c},osx:function(){return y()||l},linux:function(){return y()||u},iphone:function(){return y()||f},mobile:function(){return y()||f||p||h||m},nativeApp:function(){return y()||g},android:function(){return y()||h},ipad:function(){return y()||p}};t.exports=b},"+2Ke":function(t,e){e.SOURCE_FORMAT_ORIGINAL="original",e.SOURCE_FORMAT_ARRAY_ROWS="arrayRows",e.SOURCE_FORMAT_OBJECT_ROWS="objectRows",e.SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",e.SOURCE_FORMAT_UNKNOWN="unknown",e.SOURCE_FORMAT_TYPED_ARRAY="typedArray",e.SERIES_LAYOUT_BY_COLUMN="column",e.SERIES_LAYOUT_BY_ROW="row"},"+Dgo":function(t,e,n){var i=n("Y5nL"),r=n("Pgdp"),o=n("kdOt").detectSourceFormat,a=n("+2Ke").SERIES_LAYOUT_BY_COLUMN;i.extend({type:"dataset",defaultOption:{seriesLayoutBy:a,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){o(this)}}),r.extend({type:"dataset"})},"+E39":function(t,e,n){t.exports=!n("S82l")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"+K7g":function(t,e,n){var i=n("Icdr");i.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),i.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"+PQg":function(t,e,n){var i=n("Icdr"),r=n("/gxq"),o=n("3h1/"),a=n("dCQY"),s=n("0sHC"),l=n("Pdtn"),c=n("1Hui"),u=n("v/cD"),h=i.extendComponentView({type:"toolbox",render:function(t,e,n,i){var h=this.group;if(h.removeAll(),t.get("show")){var d=+t.get("itemSize"),f=t.get("feature")||{},p=this._features||(this._features={}),g=[];r.each(f,function(t,e){g.push(e)}),new c(this._featureNames||[],g).add(m).update(m).remove(r.curry(m,null)).execute(),this._featureNames=g,u.layout(h,t,n),h.add(u.makeBackground(h.getBoundingRect(),t)),h.eachChild(function(t){var e=t.__title,i=t.hoverStyle;if(i&&e){var r=o.getBoundingRect(e,o.makeFont(i)),a=t.position[0]+h.position[0],s=!1;t.position[1]+h.position[1]+d+r.height>n.getHeight()&&(i.textPosition="top",s=!0);var l=s?-5-r.height:d+8;a+r.width/2>n.getWidth()?(i.textPosition=["100%",l],i.textAlign="right"):a-r.width/2<0&&(i.textPosition=[0,l],i.textAlign="left")}})}function m(o,c){var u,m=g[o],v=g[c],y=f[m],b=new l(y,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===m&&(y.title=i.newTitle),m&&!v){if(function(t){return 0===t.indexOf("my")}(m))u={model:b,onclick:b.option.onclick,featureName:m};else{var x=a.get(m);if(!x)return;u=new x(b,e,n)}p[m]=u}else{if(!(u=p[v]))return;u.model=b,u.ecModel=e,u.api=n}m||!v?b.get("show")&&!u.unusable?(!function(i,o,a){var l=i.getModel("iconStyle"),c=i.getModel("emphasis.iconStyle"),u=o.getIcons?o.getIcons():i.get("icon"),f=i.get("title")||{};if("string"==typeof u){var p=u,g=f;f={},(u={})[a]=p,f[a]=g}var m=i.iconPaths={};r.each(u,function(a,u){var p=s.createIcon(a,{},{x:-d/2,y:-d/2,width:d,height:d});p.setStyle(l.getItemStyle()),p.hoverStyle=c.getItemStyle(),p.setStyle({text:f[u],textAlign:c.get("textAlign"),textBorderRadius:c.get("textBorderRadius"),textPadding:c.get("textPadding"),textFill:null});var g=t.getModel("tooltip");g&&g.get("show")&&p.attr("tooltip",r.extend({content:f[u],formatter:g.get("formatter",!0)||function(){return f[u]},formatterParams:{componentType:"toolbox",name:u,title:f[u],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),s.setHoverStyle(p),t.get("showTitle")&&(p.__title=f[u],p.on("mouseover",function(){var e=c.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";p.setStyle({textFill:c.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:c.get("textBackgroundColor"),textPosition:c.get("textPosition")||n})}).on("mouseout",function(){p.setStyle({textFill:null,textBackgroundColor:null})})),p.trigger(i.get("iconStatus."+u)||"normal"),h.add(p),p.on("click",r.bind(o.onclick,o,e,n,u)),m[u]=p})}(b,u,m),b.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&i[t].trigger(e)},u.render&&u.render(b,e,n,i)):u.remove&&u.remove(e,n):u.dispose&&u.dispose(e,n)}},updateView:function(t,e,n,i){r.each(this._features,function(t){t.updateView&&t.updateView(t.model,e,n,i)})},remove:function(t,e){r.each(this._features,function(n){n.remove&&n.remove(t,e)}),this.group.removeAll()},dispose:function(t,e){r.each(this._features,function(n){n.dispose&&n.dispose(t,e)})}});t.exports=h},"+UTs":function(t,e,n){var i=n("GxVO"),r=n("No7X"),o=i.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){r.buildPath(t,e,!0)}});t.exports=o},"+Y0c":function(t,e,n){var i=new(n("zMj2"))(50);function r(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;ee&&(e=i.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},l.prototype={constructor:l,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n=0&&(s[o[l].depth]=new a(o[l],this,e));if(i&&n)return r(i,n,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t,e){return t.customizeGetParent(function(t){var n=this.parentModel,i=n.getData().getItemLayout(e).depth,r=n.levelModels[i];return r||this.parentModel}),t}),e.wrapMethod("getItemModel",function(t,e){return t.customizeGetParent(function(t){var n=this.parentModel,i=n.getGraph().getEdgeByIndex(e),r=i.node1.getLayout().depth,o=n.levelModels[r];return o||this.parentModel}),t})}).data},setNodePosition:function(t,e){var n=this.option.data[t];n.localX=e[0],n.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,n){if("edge"===n){var i=this.getDataParams(t,n),r=i.data,a=r.source+" -- "+r.target;return i.value&&(a+=" : "+i.value),o(a)}if("node"===n){var l=this.getGraph().getNodeByIndex(t).getLayout().value,c=this.getDataParams(t,n).data.name;if(l)a=c+" : "+l;return o(a)}return s.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,e){var n=s.superCall(this,"getDataParams",t,e);if(null==n.value&&"node"===e){var i=this.getGraph().getNodeByIndex(t).getLayout().value;n.value=i}return n},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}})),l=s;t.exports=l},"/+sa":function(t,e,n){var i=n("BNYN");function r(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}r.prototype.parse=function(t){return t},r.prototype.getSetting=function(t){return this._setting[t]},r.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},r.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},r.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},r.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},r.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(t){this._isBlank=t},r.prototype.getLabel=null,i.enableClassExtend(r),i.enableClassManagement(r,{registerWhenExtend:!0});var o=r;t.exports=o},"//Fk":function(t,e,n){t.exports={default:n("U5ju"),__esModule:!0}},"/506":function(t,e,n){"use strict";var i=n("75l9"),r={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){r[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});var o={},a=i.version.split(".");function s(t,e){for(var n=e?e.split("."):a,i=t.split("."),r=0;r<3;r++){if(n[r]>i[r])return!0;if(n[r]0;){var o=i[r],a=e[o];if(a){var s=t[o],l=void 0===s||a(s,o,t);if(!0!==l)throw new TypeError("option "+o+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:r}},"/86O":function(t,e,n){var i=n("9qnA"),r=n("/gxq"),o=n("3h1/"),a=n("qjrH"),s=n("28kU").ContextCachedBy,l=function(t){i.call(this,t)};l.prototype={constructor:l,type:"text",brush:function(t,e){var n=this.style;this.__dirty&&a.normalizeTextStyle(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null;var i=n.text;null!=i&&(i+=""),a.needDrawText(i,n)?(this.setTransform(t),a.renderText(this,t,i,n,null,e),this.restoreTransform(t)):t.__attrCachedBy=s.NONE},getBoundingRect:function(){var t=this.style;if(this.__dirty&&a.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var n=o.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(n.x+=t.x||0,n.y+=t.y||0,a.getStroke(t.textStroke,t.textStrokeWidth)){var i=t.textStrokeWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect}},r.inherits(l,i);var c=l;t.exports=c},"/99E":function(t,e,n){n("0BOU"),n("yEXw"),n("w6Zv")},"/BOW":function(t,e,n){var i=n("/gxq"),r=n("2HcM"),o=function(t,e,n,i,o){r.call(this,t,e,n),this.type=i||"value",this.axisIndex=o};o.prototype={constructor:o,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},i.inherits(o,r);var a=o;t.exports=a},"/ZBO":function(t,e,n){var i=n("dOVI"),r=n("C7PF"),o=i.identity,a=5e-5;function s(t){return t>a||t<-a}var l=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},c=l.prototype;c.transform=null,c.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var u=[];c.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),r=this.transform;if(n||e){r=r||i.create(),n?this.getLocalTransform(r):o(r),e&&(n?i.mul(r,t.transform,r):i.copy(r,t.transform)),this.transform=r;var a=this.globalScaleRatio;if(null!=a&&1!==a){this.getGlobalScale(u);var s=u[0]<0?-1:1,l=u[1]<0?-1:1,c=((u[0]-s)*a+s)/u[0]||0,h=((u[1]-l)*a+l)/u[1]||0;r[0]*=c,r[1]*=c,r[2]*=h,r[3]*=h}this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,r)}else r&&o(r)},c.getLocalTransform=function(t){return l.getLocalTransform(this,t)},c.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},c.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var h=[],d=i.create();c.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=this.position,r=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),i[0]=t[4],i[1]=t[5],r[0]=e,r[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e)}},c.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(i.mul(h,t.invTransform,e),e=h);var n=this.origin;n&&(n[0]||n[1])&&(d[4]=n[0],d[5]=n[1],i.mul(h,e,d),h[4]-=n[0],h[5]-=n[1],e=h),this.setLocalTransform(e)}},c.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},c.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&r.applyTransform(n,n,i),n},c.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&r.applyTransform(n,n,i),n},l.getLocalTransform=function(t,e){o(e=e||[]);var n=t.origin,r=t.scale||[1,1],a=t.rotation||0,s=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),i.scale(e,e,r),a&&i.rotate(e,e,a),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=s[0],e[5]+=s[1],e};var f=l;t.exports=f},"/bQp":function(t,e){t.exports={}},"/gZK":function(t,e,n){var i=n("hcq/"),r=n("Rfu2"),o=n("/gxq"),a=o.extend,s=o.isArray;t.exports=function(t,e,n){e=s(e)&&{coordDimensions:e}||a({},e);var o=t.getSource(),l=i(o,e),c=new r(l,t);return c.initData(o,n),c}},"/gxq":function(t,e){var n={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},i={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},r=Object.prototype.toString,o=Array.prototype,a=o.forEach,s=o.filter,l=o.slice,c=o.map,u=o.reduce,h={};function d(t){if(null==t||"object"!=typeof t)return t;var e=t,o=r.call(t);if("[object Array]"===o){if(!S(t)){e=[];for(var a=0,s=t.length;a=0&&(e=t.slice(i),t=t.slice(0,i));var r=t.indexOf("?");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{path:t,query:n,hash:e}}(o.path||""),d=e&&e.path||"/",f=h.path?w(h.path,d,n||o.append):d,p=function(t,e,n){void 0===e&&(e={});var i,r=n||u;try{i=r(t||"")}catch(t){i={}}for(var o in e){var a=e[o];i[o]=Array.isArray(a)?a.map(c):c(a)}return i}(h.query,o.query,r&&r.options.parseQuery),g=o.hash||h.hash;return g&&"#"!==g.charAt(0)&&(g="#"+g),{_normalized:!0,path:f,query:p,hash:g}}var H,W=[String,Object],G=[String,Array],q=function(){},U={name:"RouterLink",props:{to:{type:W,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:G,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),a=o.location,s=o.route,l=o.href,c={},u=n.options.linkActiveClass,h=n.options.linkExactActiveClass,p=null==u?"router-link-active":u,g=null==h?"router-link-exact-active":h,m=null==this.activeClass?p:this.activeClass,y=null==this.exactActiveClass?g:this.exactActiveClass,b=s.redirectedFrom?f(null,V(s.redirectedFrom),null,n):s;c[y]=v(r,b,this.exactPath),c[m]=this.exact||this.exactPath?c[y]:function(t,e){return 0===t.path.replace(d,"/").indexOf(e.path.replace(d,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,b);var x=c[y]?this.ariaCurrentValue:null,_=function(t){Y(t)&&(e.replace?n.replace(a,q):n.push(a,q))},w={click:Y};Array.isArray(this.event)?this.event.forEach(function(t){w[t]=_}):w[this.event]=_;var C={class:c},S=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:s,navigate:_,isActive:c[m],isExactActive:c[y]});if(S){if(1===S.length)return S[0];if(S.length>1||!S.length)return 0===S.length?t():t("span",{},S)}if("a"===this.tag)C.on=w,C.attrs={href:l,"aria-current":x};else{var k=function t(e){if(e)for(var n,i=0;i-1&&(s.params[d]=n.params[d]);return s.path=$(u.path,s.params),l(u,s,a)}if(s.path){s.params={};for(var f=0;f-1}function kt(t,e){return St(t)&&t._isRouter&&(null==e||t.type===e)}function Tt(t,e,n){var i=function(r){r>=t.length?n():t[r]?e(t[r],function(){i(r+1)}):i(r+1)};i(0)}function Mt(t){return function(e,n,i){var r=!1,o=0,a=null;Dt(t,function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){r=!0,o++;var l,c=Et(function(e){var r;((r=e).__esModule||Ot&&"Module"===r[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:H.extend(e),n.components[s]=e,--o<=0&&i()}),u=Et(function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=St(t)?t:new Error(e),i(a))});try{l=t(c,u)}catch(t){u(t)}if(l)if("function"==typeof l.then)l.then(c,u);else{var h=l.component;h&&"function"==typeof h.then&&h.then(c,u)}}}),r||i()}}function Dt(t,e){return At(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function At(t){return Array.prototype.concat.apply([],t)}var Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Et(t){var e=!1;return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];if(!e)return e=!0,t.apply(this,n)}}var It=function(t,e){this.router=t,this.base=function(t){if(!t)if(K){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=g,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Pt(t,e,n,i){var r=Dt(t,function(t,i,r,o){var a=function(t,e){"function"!=typeof t&&(t=H.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,i,r,o)}):n(a,i,r,o)});return At(i?r.reverse():r)}function Lt(t,e){if(e)return function(){return t.apply(e,arguments)}}It.prototype.listen=function(t){this.cb=t},It.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},It.prototype.onError=function(t){this.errorCbs.push(t)},It.prototype.transitionTo=function(t,e,n){var i,r=this;try{i=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach(function(e){e(t)}),t}var o=this.current;this.confirmTransition(i,function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.router.afterHooks.forEach(function(t){t&&t(i,o)}),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(i)}))},function(t){n&&n(t),t&&!r.ready&&(kt(t,bt.redirected)&&o===g||(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)})))})},It.prototype.confirmTransition=function(t,e,n){var i=this,r=this.current;this.pending=t;var o,a,s=function(t){!kt(t)&&St(t)&&(i.errorCbs.length?i.errorCbs.forEach(function(e){e(t)}):console.error(t)),n&&n(t)},l=t.matched.length-1,c=r.matched.length-1;if(v(t,r)&&l===c&&t.matched[l]===r.matched[c])return this.ensureURL(),t.hash&&st(this.router,r,t,!1),s(((a=wt(o=r,t,bt.duplicated,'Avoided redundant navigation to current location: "'+o.fullPath+'".')).name="NavigationDuplicated",a));var u=function(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,i=mt&&n;i&&this.listeners.push(at());var r=function(){var n=t.current,r=Rt(t.base);t.current===g&&r===t._startLocation||t.transitionTo(r,function(t){i&&st(e,t,n,!0)})};window.addEventListener("popstate",r),this.listeners.push(function(){window.removeEventListener("popstate",r)})}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){vt(C(i.base+t.fullPath)),st(i.router,t,r,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){yt(C(i.base+t.fullPath)),st(i.router,t,r,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(Rt(this.base)!==this.current.fullPath){var e=C(this.base+this.current.fullPath);t?vt(e):yt(e)}},e.prototype.getCurrentLocation=function(){return Rt(this.base)},e}(It);function Rt(t){var e=window.location.pathname,n=e.toLowerCase(),i=t.toLowerCase();return!t||n!==i&&0!==n.indexOf(C(i+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Bt=function(t){function e(e,n,i){t.call(this,e,n),i&&function(t){var e=Rt(t);if(!/^\/#/.test(e))return window.location.replace(C(t+"/#"+e)),!0}(this.base)||zt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=mt&&e;n&&this.listeners.push(at());var i=function(){var e=t.current;zt()&&t.transitionTo(jt(),function(i){n&&st(t.router,i,e,!0),mt||Vt(i.fullPath)})},r=mt?"popstate":"hashchange";window.addEventListener(r,i),this.listeners.push(function(){window.removeEventListener(r,i)})}},e.prototype.push=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){$t(t.fullPath),st(i.router,t,r,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){Vt(t.fullPath),st(i.router,t,r,!1),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;jt()!==e&&(t?$t(e):Vt(e))},e.prototype.getCurrentLocation=function(){return jt()},e}(It);function zt(){var t=jt();return"/"===t.charAt(0)||(Vt("/"+t),!1)}function jt(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function Ft(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function $t(t){mt?vt(Ft(t)):window.location.hash=t}function Vt(t){mt?yt(Ft(t)):window.location.replace(Ft(t))}var Ht=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,function(){var t=e.current;e.index=n,e.updateRoute(i),e.router.afterHooks.forEach(function(e){e&&e(i,t)})},function(t){kt(t,bt.duplicated)&&(e.index=n)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(It),Wt=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=J(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!mt&&!1!==t.fallback,this.fallback&&(e="hash"),K||(e="abstract"),this.mode=e,e){case"history":this.history=new Nt(this,t.base);break;case"hash":this.history=new Bt(this,t.base,this.fallback);break;case"abstract":this.history=new Ht(this,t.base);break;default:0}},Gt={currentRoute:{configurable:!0}};Wt.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Gt.currentRoute.get=function(){return this.history&&this.history.current},Wt.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()}),!this.app){this.app=t;var n=this.history;if(n instanceof Nt||n instanceof Bt){var i=function(t){n.setupListeners(),function(t){var i=n.current,r=e.options.scrollBehavior;mt&&r&&"fullPath"in t&&st(e,t,i,!1)}(t)};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},Wt.prototype.beforeEach=function(t){return Ut(this.beforeHooks,t)},Wt.prototype.beforeResolve=function(t){return Ut(this.resolveHooks,t)},Wt.prototype.afterEach=function(t){return Ut(this.afterHooks,t)},Wt.prototype.onReady=function(t,e){this.history.onReady(t,e)},Wt.prototype.onError=function(t){this.history.onError(t)},Wt.prototype.push=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){i.history.push(t,e,n)});this.history.push(t,e,n)},Wt.prototype.replace=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){i.history.replace(t,e,n)});this.history.replace(t,e,n)},Wt.prototype.go=function(t){this.history.go(t)},Wt.prototype.back=function(){this.go(-1)},Wt.prototype.forward=function(){this.go(1)},Wt.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},Wt.prototype.resolve=function(t,e,n){var i=V(t,e=e||this.history.current,n,this),r=this.match(i,e),o=r.redirectedFrom||r.fullPath;return{location:i,route:r,href:function(t,e,n){var i="hash"===n?"#"+e:e;return t?C(t+"/"+i):i}(this.history.base,o,this.mode),normalizedTo:i,resolved:r}},Wt.prototype.getRoutes=function(){return this.matcher.getRoutes()},Wt.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Wt.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Wt.prototype,Gt);var qt=Wt;function Ut(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Wt.install=X,Wt.version="3.6.4",Wt.isNavigationFailure=kt,Wt.NavigationFailureType=bt,Wt.START_LOCATION=g,K&&window.Vue&&window.Vue.use(Wt)},"/vN/":function(t,e,n){var i=n("Icdr"),r=n("/gZK"),o=n("/gxq"),a=n("vXqC"),s=n("wWR3").getPercentWithPrecision,l=n("kQD9"),c=n("5KBG").retrieveRawAttr,u=n("kdOt").makeSeriesEncodeForNameBased,h=n("FCaW"),d=i.extendSeriesModel({type:"series.pie",init:function(t){d.superApply(this,"init",arguments),this.legendVisualProvider=new h(o.bind(this.getData,this),o.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){d.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,e){return r(this,{coordDimensions:["value"],encodeDefaulter:o.curry(u,this)})},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),n=[],i=0,r=t.count();i=e.length)break;r=e[i++]}else{if((i=e.next()).done)break;r=i.value}var o=r.target.__resizeListeners__||[];o.length&&o.forEach(function(t){t()})}};e.addResizeListener=function(t,e){s||(t.__resizeListeners__||(t.__resizeListeners__=[],t.__ro__=new o.default((0,a.debounce)(16,l)),t.__ro__.observe(t)),t.__resizeListeners__.push(e))},e.removeResizeListener=function(t,e){t&&t.__resizeListeners__&&(t.__resizeListeners__.splice(t.__resizeListeners__.indexOf(e),1),t.__resizeListeners__.length||t.__ro__.disconnect())}},"06OY":function(t,e,n){var i=n("3Eo+")("meta"),r=n("EqjI"),o=n("D2L2"),a=n("evD5").f,s=0,l=Object.isExtensible||function(){return!0},c=!n("S82l")(function(){return l(Object.preventExtensions({}))}),u=function(t){a(t,i,{value:{i:"O"+ ++s,w:{}}})},h=t.exports={KEY:i,NEED:!1,fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[i].i},getWeak:function(t,e){if(!o(t,i)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[i].w},onFreeze:function(t){return c&&h.NEED&&l(t)&&!o(t,i)&&u(t),t}}},"0BNI":function(t,e,n){var i=n("/gxq"),r=n("0sHC"),o=n("Pdtn"),a=n("43ae"),s=n("vjPX"),l=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function c(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function u(t){return t.getRadiusAxis().inverse?0:1}function h(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var d=a.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,r=n.polar,o=r.getRadiusAxis().getExtent(),a=n.getTicksCoords(),s=n.getMinorTicksCoords(),c=i.map(n.getViewLabels(),function(t){return(t=i.clone(t)).coord=n.dataToCoord(t.tickValue),t});h(c),h(a),i.each(l,function(e){!t.get(e+".show")||n.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,r,a,s,o,c)},this)}},_axisLine:function(t,e,n,i,o){var a,s=t.getModel("axisLine.lineStyle"),l=u(e),c=l?0:1;(a=0===o[c]?new r.Circle({shape:{cx:e.cx,cy:e.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new r.Ring({shape:{cx:e.cx,cy:e.cy,r:o[l],r0:o[c]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,this.group.add(a)},_axisTick:function(t,e,n,o,a){var s=t.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),h=a[u(e)],d=i.map(n,function(t){return new r.Line({shape:c(e,[h,h+l],t.coord)})});this.group.add(r.mergePath(d,{style:i.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_minorTick:function(t,e,n,o,a){if(o.length){for(var s=t.getModel("axisTick"),l=t.getModel("minorTick"),h=(s.get("inside")?-1:1)*l.get("length"),d=a[u(e)],f=[],p=0;pv?"left":"right",x=Math.abs(m[1]-y)/g<.3?"middle":m[1]>y?"top":"bottom";h&&h[c]&&h[c].textStyle&&(a=new o(h[c].textStyle,d,d.ecModel));var _=new r.Text({silent:s.isLabelSilent(t)});this.group.add(_),r.setTextStyle(_.style,a,{x:m[0],y:m[1],textFill:a.getTextColor()||t.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:b,textVerticalAlign:x}),p&&(_.eventData=s.makeAxisEventDataBase(t),_.eventData.targetType="axisLabel",_.eventData.value=n.rawLabel)},this)},_splitLine:function(t,e,n,o,a){var s=t.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var h=[],d=0;d=r.start.time&&n.timea.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var n=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,i=new Date(t[0].time),r=i.getDate(),o=t[1].date.getDate();i.setDate(r+n-1);var a=i.getDate();if(a!==o)for(var s=i.getTime()-t[1].time>0?1:-1;(a=i.getDate())!==o&&(i.getTime()-t[1].time)*s>0;)n-=s,i.setDate(a-s);var l=Math.floor((n+t[0].day+6)/7),c=e?1-l:l-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:l,nthWeek:c,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return!1;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(i.start.d+r),this.getDateInfo(o)}},s.dimensions=s.prototype.dimensions,s.getDimensionsInfo=s.prototype.getDimensionsInfo,s.create=function(t,e){var n=[];return t.eachComponent("calendar",function(i){var r=new s(i,t,e);n.push(r),i.coordinateSystem=r}),t.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])}),n},a.register("calendar",s);var c=s;t.exports=c},"0MNY":function(t,e,n){n("4Nz2").__DEV__;var i=n("/gxq"),r=i.createHashMap,o=i.isString,a=i.isArray,s=i.each,l=(i.assert,n("jDhh").parseXML),c=r(),u={registerMap:function(t,e,n){var i;return a(e)?i=e:e.svg?i=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),i=[{type:"geoJSON",source:e,specialAreas:n}]),s(i,function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON"),(0,h[e])(t)}),c.set(t,i)},retrieveMap:function(t){return c.get(t)}},h={geoJSON:function(t){var e=t.source;t.geoJSON=o(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=l(t.source)}};t.exports=u},"0O1a":function(t,e,n){var i=n("Icdr"),r=n("DZTl");n("Osoq"),n("w2H/"),n("mlpt"),n("XiVP"),n("H4Wn"),i.registerPreprocessor(r)},"0fQF":function(t,e){function n(){}function i(t,e,n,i){for(var r=0,o=e.length,a=0,s=0;r=o&&u+1>=a){for(var h=[],d=0;d=o&&d+1>=a)return i(r,l.components,e,t);c[n]=l}else c[n]=void 0}var g;s++}for(;s<=l;){var p=f();if(p)return p}},pushComponent:function(t,e,n){var i=t[t.length-1];i&&i.added===e&&i.removed===n?t[t.length-1]={count:i.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,i){for(var r=e.length,o=n.length,a=t.newPos,s=a-i,l=0;a+1=0&&t===parseInt(t,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(t){var e=void 0===t?t:Number(t);if(void 0!==e){if(isNaN(e))return;if(this.stepStrictly){var n=this.getPrecision(this.step),i=Math.pow(10,n);e=Math.round(e/this.step)*i*this.step/i}void 0!==this.precision&&(e=this.toPrecision(e,this.precision))}e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),this.currentValue=e,this.userInput=null,this.$emit("input",e)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)this.max},numPrecision:function(){var t=this.value,e=this.step,n=this.getPrecision,i=this.precision,r=n(e);return void 0!==i?(r>i&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),i):Math.max(n(t),r)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var t=this.currentValue;if("number"==typeof t){if(this.stepStrictly){var e=this.getPrecision(this.step),n=Math.pow(10,e);t=Math.round(t/this.step)*n*this.step/n}void 0!==this.precision&&(t=t.toFixed(this.precision))}return t}},methods:{toPrecision:function(t,e){return void 0===e&&(e=this.numPrecision),parseFloat(Math.round(t*Math.pow(10,e))/Math.pow(10,e))},getPrecision:function(t){if(void 0===t)return 0;var e=t.toString(),n=e.indexOf("."),i=0;return-1!==n&&(i=e.length-n-1),i},_increase:function(t,e){if("number"!=typeof t&&void 0!==t)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*t+n*e)/n)},_decrease:function(t,e){if("number"!=typeof t&&void 0!==t)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*t-n*e)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var t=this.value||0,e=this._increase(t,this.step);this.setCurrentValue(e)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var t=this.value||0,e=this._decrease(t,this.step);this.setCurrentValue(e)}},handleBlur:function(t){this.$emit("blur",t)},handleFocus:function(t){this.$emit("focus",t)},setCurrentValue:function(t){var e=this.currentValue;"number"==typeof t&&void 0!==this.precision&&(t=this.toPrecision(t,this.precision)),t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),e!==t&&(this.userInput=null,this.$emit("input",t),this.$emit("change",t,e),this.currentValue=t)},handleInput:function(t){this.userInput=t},handleInputChange:function(t){var e=""===t?void 0:Number(t);isNaN(e)&&""!==t||this.setCurrentValue(e),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var t=this.$refs.input.$refs.input;t.setAttribute("role","spinbutton"),t.setAttribute("aria-valuemax",this.max),t.setAttribute("aria-valuemin",this.min),t.setAttribute("aria-valuenow",this.currentValue),t.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){this.$refs&&this.$refs.input&&this.$refs.input.$refs.input.setAttribute("aria-valuenow",this.currentValue)}},u=n(0),h=Object(u.a)(c,i,[],!1,null,null,null);h.options.__file="packages/input-number/src/input-number.vue";var d=h.exports;d.install=function(t){t.component(d.name,d)};e.default=d}})},"0nGg":function(t,e,n){var i=n("Icdr"),r=n("/gxq"),o=n("dZZy"),a=n("6n1D"),s=n("5Mek"),l=n("YpIy"),c=n("NKek").onIrrelevantElement,u=n("0sHC"),h=n("Goha"),d=n("hD/x").getNodeGlobalScale,f="__focusNodeAdjacency",p=["itemStyle","opacity"],g=["lineStyle","opacity"];function m(t,e){var n=t.getVisual("opacity");return null!=n?n:t.getModel().get(e)}function v(t,e,n){var i=t.getGraphicEl(),r=m(t,e);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse(function(t){if(!t.isGroup){var e=t.lineLabelOriginalOpacity;null!=e&&null==n||(e=r),t.setStyle("opacity",e)}})}function y(t,e){var n=m(t,e),i=t.getGraphicEl();i.traverse(function(t){!t.isGroup&&t.setStyle("opacity",n)}),i.highlight&&i.highlight()}var b=i.extendChartView({type:"graph",init:function(t,e){var n=new o,i=new a,r=this.group;this._controller=new s(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},render:function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if("view"===r.type){var l={position:r.position,scale:r.scale};this._firstRender?s.attr(l):u.updateProps(s,l,t)}h(t.getGraph(),d(t));var c=t.getData();o.updateData(c);var p=t.getEdgeData();a.updateData(p),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var g=t.forceLayout,m=t.get("force.layoutAnimation");g&&this._startForceLayoutIteration(g,m),c.eachItemGraphicEl(function(e,r){var o=c.getItemModel(r);e.off("drag").off("dragend");var a=o.get("draggable");a&&e.on("drag",function(){g&&(g.warmUp(),!this._layouting&&this._startForceLayoutIteration(g,m),g.setFixed(r),c.setItemLayout(r,e.position))},this).on("dragend",function(){g&&g.setUnfixed(r)},this),e.setDraggable(a&&g),e[f]&&e.off("mouseover",e[f]),e.__unfocusNodeAdjacency&&e.off("mouseout",e.__unfocusNodeAdjacency),o.get("focusNodeAdjacency")&&(e.on("mouseover",e[f]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.on("mouseout",e.__unfocusNodeAdjacency=function(){i._dispatchUnfocus(n)}))},this),c.graph.eachEdge(function(e){var r=e.getGraphicEl();r[f]&&r.off("mouseover",r[f]),r.__unfocusNodeAdjacency&&r.off("mouseout",r.__unfocusNodeAdjacency),e.getModel().get("focusNodeAdjacency")&&(r.on("mouseover",r[f]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),r.on("mouseout",r.__unfocusNodeAdjacency=function(){i._dispatchUnfocus(n)}))});var v="circular"===t.get("layout")&&t.get("circular.rotateLabel"),y=c.getLayout("cx"),b=c.getLayout("cy");c.eachItemGraphicEl(function(t,e){var n=c.getItemModel(e).get("label.rotate")||0,i=t.getSymbolPath();if(v){var r=c.getItemLayout(e),o=Math.atan2(r[1]-b,r[0]-y);o<0&&(o=2*Math.PI+o);var a=r[0]=0),l=!s&&null!=r;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=r,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=r)}t.insideRollback=e}function lt(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function ct(t,e,n,i,r,o){if("function"==typeof r&&(o=r,r=null),i&&i.isAnimationEnabled()){var a=t?"Update":"",s=i.getShallow("animationDuration"+a),l=i.getShallow("animationEasing"+a),c=i.getShallow("animationDelay"+a);"function"==typeof c&&(c=c(r,i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null)),"function"==typeof s&&(s=s(r)),s>0?e.animateTo(n,s,c||0,l,o,!!o):(e.stopAnimation(),e.attr(n),o&&o())}else e.stopAnimation(),e.attr(n),o&&o()}function ut(t,e,n,i,r){ct(!0,t,e,n,i,r)}function ht(t,e,n){return e&&!i.isArrayLike(e)&&(e=c.getLocalTransform(e)),n&&(e=a.invert([],e)),s.applyTransform([],t,e)}function dt(t,e,n,i,r,o,a,s){var l,c=n-t,u=i-e,h=a-r,d=s-o,f=ft(h,d,c,u);if((l=f)<=1e-6&&l>=-1e-6)return!1;var p=t-r,g=e-o,m=ft(p,g,c,u)/f;if(m<0||m>1)return!1;var v=ft(p,g,h,d)/f;return!(v<0||v>1)}function ft(t,e,n,i){return t*i-n*e}B("circle",f),B("sector",p),B("ring",g),B("polygon",m),B("polyline",v),B("rect",y),B("line",b),B("bezierCurve",x),B("arc",_),e.Z2_EMPHASIS_LIFT=E,e.CACHED_LABEL_STYLE_PROPERTIES={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},e.extendShape=function(t){return l.extend(t)},e.extendPath=function(t,e){return r.extendFromString(t,e)},e.registerShape=B,e.getShapeClass=function(t){if(R.hasOwnProperty(t))return R[t]},e.makePath=z,e.makeImage=function(t,e,n){var i=new u({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(j(e,r))}}});return i},e.mergePath=F,e.resizePath=$,e.subPixelOptimizeLine=function(t){return M.subPixelOptimizeLine(t.shape,t.shape,t.style),t},e.subPixelOptimizeRect=function(t){return M.subPixelOptimizeRect(t.shape,t.shape,t.style),t},e.subPixelOptimize=V,e.setElementHoverStyle=K,e.setHoverStyle=function(t,e){nt(t,!0),X(t,K,e)},e.setAsHighDownDispatcher=nt,e.isHighDownDispatcher=function(t){return!(!t||!t.__highDownDispatcher)},e.getHighlightDigit=function(t){var e=N[t];return null==e&&L<=32&&(e=N[t]=L++),e},e.setLabelStyle=function(t,e,n,r,o,a,s){var l,c=(o=o||O).labelFetcher,u=o.labelDataIndex,h=o.labelDimIndex,d=o.labelProp,f=n.getShallow("show"),p=r.getShallow("show");(f||p)&&(c&&(l=c.getFormattedLabel(u,"normal",null,h,d)),null==l&&(l=i.isFunction(o.defaultText)?o.defaultText(u,o):o.defaultText));var g=f?l:null,m=p?i.retrieve2(c?c.getFormattedLabel(u,"emphasis",null,h,d):null,l):null;null==g&&null==m||(it(t,n,a,o),it(e,r,s,o,!0)),t.text=g,e.text=m},e.modifyLabelStyle=function(t,e,n){var r=t.style;e&&(lt(r),t.setStyle(e),st(r)),r=t.__hoverStl,n&&r&&(lt(r),i.extend(r,n),st(r))},e.setTextStyle=it,e.setText=function(t,e,n){var i,r={isRectText:!0};!1===n?i=!0:r.autoColor=n,rt(t,e,r,i)},e.getFont=function(t,e){var n=e&&e.getModel("textStyle");return i.trim([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))},e.updateProps=ut,e.initProps=function(t,e,n,i,r){ct(!1,t,e,n,i,r)},e.getTransform=function(t,e){for(var n=a.identity([]);t&&t!==e;)a.mul(n,t.getLocalTransform(),n),t=t.parent;return n},e.applyTransform=ht,e.transformDirection=function(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=ht(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"},e.groupTransition=function(t,e,n,r){if(t&&e){var o,a=(o={},t.traverse(function(t){!t.isGroup&&t.anid&&(o[t.anid]=t)}),o);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=a[t.anid];if(e){var i=l(t);t.attr(l(e)),ut(t,i,n,t.dataIndex)}}})}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=i.extend({},t.shape)),e}},e.clipPointsByRect=function(t,e){return i.map(t,function(t){var n=t[0];n=D(n,e.x),n=A(n,e.x+e.width);var i=t[1];return i=D(i,e.y),[n,i=A(i,e.y+e.height)]})},e.clipRectByRect=function(t,e){var n=D(t.x,e.x),i=A(t.x+t.width,e.x+e.width),r=D(t.y,e.y),o=A(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}},e.createIcon=function(t,e,n){var r=(e=i.extend({rectHover:!0},e)).style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),i.defaults(r,n),new u(e)):z(t.replace("path://",""),e,n,"center")},e.linePolygonIntersect=function(t,e,n,i,r){for(var o=0,a=r[r.length-1];o0&&(h?"scale"!==d:"transition"!==f)){for(var m=o.getItemLayout(0),v=1;isNaN(m.startAngle)&&v=n.r0}}});t.exports=u},"1DJE":function(t,e,n){var i=n("/gxq");var r=function(t){null!=t&&i.extend(this,t),this.otherDims={}};t.exports=r},"1FNb":function(t,e,n){var i=n("Icdr");n("z81E"),n("0nGg"),n("iZVd");var r=n("T6W2"),o=n("AjK0"),a=n("akwy"),s=n("TXKS"),l=n("4RQY"),c=n("NAKW"),u=n("pzOI"),h=n("KGuM");i.registerProcessor(r),i.registerVisual(o("graph","circle",null)),i.registerVisual(a),i.registerVisual(s),i.registerLayout(l),i.registerLayout(i.PRIORITY.VISUAL.POST_CHART_LAYOUT,c),i.registerLayout(u),i.registerCoordinateSystem("graphView",{create:h})},"1Hui":function(t,e){function n(t){return t}function i(t,e,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=i||n,this._newKeyGetter=r||n,this.context=o}function r(t,e,n,i,r){for(var o=0;o0?"P":"N",o=i.getVisual("borderColor"+r)||i.getVisual("color"+r),a=n.getModel(l).getItemStyle(u);e.useStyle(a),e.style.fill=null,e.style.stroke=o}var b=h;t.exports=b},"1Xuh":function(t,e,n){var i=n("/gxq"),r=n("8b51"),o=n("wWR3").parsePercent,a=n("HHfb"),s=i.each,l=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function u(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,c){var u,h,d=l.position,f=l.getBoundingRect(),p=e.childAt(c+1),g=p&&p.getBoundingRect();if("horizontal"===t){var m=f.width+(g?-g.x+f.x:0);(u=o+m)>i||l.newline?(o=0,u=m,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);(h=a+v)>r||l.newline?(o+=s+n,a=0,h=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=o,d[1]=a,"horizontal"===t?o=u+n:a=h+n)})}var h=u,d=i.curry(u,"vertical"),f=i.curry(u,"horizontal");function p(t,e,n){n=a.normalizeCssArray(n||0);var i=e.width,s=e.height,l=o(t.left,i),c=o(t.top,s),u=o(t.right,i),h=o(t.bottom,s),d=o(t.width,i),f=o(t.height,s),p=n[2]+n[0],g=n[1]+n[3],m=t.aspect;switch(isNaN(d)&&(d=i-u-g-l),isNaN(f)&&(f=s-h-p-c),null!=m&&(isNaN(d)&&isNaN(f)&&(m>i/s?d=.8*i:f=.8*s),isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=i-u-d-g),isNaN(c)&&(c=s-h-f-p),t.left||t.right){case"center":l=i/2-d/2-n[3];break;case"right":l=i-d-g}switch(t.top||t.bottom){case"middle":case"center":c=s/2-f/2-n[0];break;case"bottom":c=s-f-p}l=l||0,c=c||0,isNaN(d)&&(d=i-g-l-(u||0)),isNaN(f)&&(f=s-p-c-(h||0));var v=new r(l+n[3],c+n[0],d,f);return v.margin=n,v}function g(t,e){return e&&t&&s(l,function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}e.LOCATION_PARAMS=l,e.HV_NAMES=c,e.box=h,e.vbox=d,e.hbox=f,e.getAvailableSize=function(t,e,n){var i=e.width,r=e.height,s=o(t.x,i),l=o(t.y,r),c=o(t.x2,i),u=o(t.y2,r);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(c)||isNaN(parseFloat(t.x2)))&&(c=i),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(u)||isNaN(parseFloat(t.y2)))&&(u=r),n=a.normalizeCssArray(n||0),{width:Math.max(c-s-n[1]-n[3],0),height:Math.max(u-l-n[0]-n[2],0)}},e.getLayoutRect=p,e.positionElement=function(t,e,n,o,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],c=a&&a.boundingMode||"all";if(s||l){var u;if("raw"===c)u="group"===t.type?new r(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(u=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(u=u.clone()).applyTransform(h)}e=p(i.defaults({width:u.width,height:u.height},e),n,o);var d=t.position,f=s?e.x-u.x:0,g=l?e.y-u.y:0;t.attr("position","raw"===c?[f,g]:[d[0]+f,d[1]+g])}},e.sizeCalculable=function(t,e){return null!=t[c[e][0]]||null!=t[c[e][1]]&&null!=t[c[e][2]]},e.mergeLayoutParam=function(t,e,n){!i.isObject(n)&&(n={});var r=n.ignoreSize;!i.isArray(r)&&(r=[r,r]);var o=l(c[0],0),a=l(c[1],1);function l(n,i){var o={},a=0,l={},c=0;if(s(n,function(e){l[e]=t[e]}),s(n,function(t){u(e,t)&&(o[t]=l[t]=e[t]),h(o,t)&&a++,h(l,t)&&c++}),r[i])return h(e,n[1])?l[n[2]]=null:h(e,n[2])&&(l[n[1]]=null),l;if(2!==c&&a){if(a>=2)return o;for(var d=0;d=0&&t.call(e,n[r],r)},s.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},s.breadthFirstTraverse=function(t,e,n,i){if(l.isInstance(e)||(e=this._nodesMap[o(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",a=0;a=0&&n.node2.dataIndex>=0});for(r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[t][e].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}};i.mixin(l,u("hostGraph","data")),i.mixin(c,u("hostGraph","edgeData")),a.Node=l,a.Edge=c,r(l),r(c);var h=a;t.exports=h},"21It":function(t,e,n){"use strict";var i=n("FtD3");t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(i("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"28kU":function(t,e){e.ContextCachedBy={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},e.WILL_BE_RESTORED=9},"2HcM":function(t,e,n){var i=n("/gxq"),r=i.each,o=i.map,a=n("wWR3"),s=a.linearMap,l=a.getPixelPrecision,c=a.round,u=n("SiPa"),h=u.createAxisTicks,d=u.createAxisLabels,f=u.calculateCategoryInterval,p=[0,1],g=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function m(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}g.prototype={constructor:g,contain:function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&m(n=n.slice(),i.count()),s(t,p,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&m(n=n.slice(),i.count());var r=s(t,n,p,e);return this.scale.scale(r)},pointToData:function(t,e){},getTicksCoords:function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=h(this,e).ticks,i=o(n,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this);return function(t,e,n,i){var o=e.length;if(!t.onBand||n||!o)return;var a,s,l=t.getExtent();if(1===o)e[0].coord=l[0],a=e[1]={coord:l[0]};else{var u=e[o-1].tickValue-e[0].tickValue,h=(e[o-1].coord-e[0].coord)/u;r(e,function(t){t.coord-=h/2});var d=t.scale.getExtent();s=1+d[1]-e[o-1].tickValue,a={coord:e[o-1].coord+h*s},e.push(a)}var f=l[0]>l[1];p(e[0].coord,l[0])&&(i?e[0].coord=l[0]:e.shift());i&&p(l[0],e[0].coord)&&e.unshift({coord:l[0]});p(l[1],a.coord)&&(i?a.coord=l[1]:e.pop());i&&p(a.coord,l[1])&&e.push({coord:l[1]});function p(t,e){return t=c(t),e=c(e),f?t>e:t0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return o(e,function(t){return o(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},getViewLabels:function(){return d(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}};var v=g;t.exports=v},"2I/p":function(t,e,n){var i=n("ABnm").normalizeRadian,r=2*Math.PI;e.containStroke=function(t,e,n,o,a,s,l,c,u){if(0===l)return!1;var h=l;c-=t,u-=e;var d=Math.sqrt(c*c+u*u);if(d-h>n||d+ha&&(a+=r);var p=Math.atan2(u,c);return p<0&&(p+=r),p>=o&&p<=a||p+r>=o&&p+r<=a}},"2KxR":function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},"2M5Q":function(t,e,n){var i=n("moDv"),r=n("u+XU"),o=n("LICT"),a=n("oBGI"),s=n("2I/p"),l=n("ABnm").normalizeRadian,c=n("AAi1"),u=n("QxFU"),h=i.CMD,d=2*Math.PI,f=1e-4;var p=[-1,-1,-1],g=[-1,-1];function m(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u1&&(void 0,h=g[0],g[0]=g[1],g[1]=h),f=c.cubicAt(e,i,o,s,g[0]),y>1&&(m=c.cubicAt(e,i,o,s,g[1]))),2===y?xe&&s>i&&s>o||s=0&&u<=1){for(var h=0,d=c.quadraticAt(e,i,o,u),f=0;fn||s<-n)return 0;var c=Math.sqrt(n*n-s*s);p[0]=-c,p[1]=c;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u%d<1e-4){i=0,r=d;var h=o?1:-1;return a>=p[0]+t&&a<=p[1]+t?h:0}if(o){c=i;i=l(r),r=l(c)}else i=l(i),r=l(r);i>r&&(r+=d);for(var f=0,g=0;g<2;g++){var m=p[g];if(m+t>a){var v=Math.atan2(s,m);h=o?1:-1;v<0&&(v=d+v),(v>=i&&v<=r||v+d>=i&&v+d<=r)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),f+=h)}}return f}function b(t,e,n,i,l){for(var c,d,p=0,g=0,b=0,x=0,_=0,w=0;w1&&(n||(p+=u(g,b,x,_,i,l))),1===w&&(x=g=t[w],_=b=t[w+1]),C){case h.M:g=x=t[w++],b=_=t[w++];break;case h.L:if(n){if(r.containStroke(g,b,t[w],t[w+1],e,i,l))return!0}else p+=u(g,b,t[w],t[w+1],i,l)||0;g=t[w++],b=t[w++];break;case h.C:if(n){if(o.containStroke(g,b,t[w++],t[w++],t[w++],t[w++],t[w],t[w+1],e,i,l))return!0}else p+=m(g,b,t[w++],t[w++],t[w++],t[w++],t[w],t[w+1],i,l)||0;g=t[w++],b=t[w++];break;case h.Q:if(n){if(a.containStroke(g,b,t[w++],t[w++],t[w],t[w+1],e,i,l))return!0}else p+=v(g,b,t[w++],t[w++],t[w],t[w+1],i,l)||0;g=t[w++],b=t[w++];break;case h.A:var S=t[w++],k=t[w++],T=t[w++],M=t[w++],D=t[w++],A=t[w++];w+=1;var O=1-t[w++],E=Math.cos(D)*T+S,I=Math.sin(D)*M+k;w>1?p+=u(g,b,E,I,i,l):(x=E,_=I);var P=(i-S)*M/T+S;if(n){if(s.containStroke(S,k,M,D,D+A,O,e,P,l))return!0}else p+=y(S,k,M,D,D+A,O,P,l);g=Math.cos(D+A)*T+S,b=Math.sin(D+A)*M+k;break;case h.R:x=g=t[w++],_=b=t[w++];E=x+t[w++],I=_+t[w++];if(n){if(r.containStroke(x,_,E,_,e,i,l)||r.containStroke(E,_,E,I,e,i,l)||r.containStroke(E,I,x,I,e,i,l)||r.containStroke(x,I,x,_,e,i,l))return!0}else p+=u(E,_,E,I,i,l),p+=u(x,I,x,_,i,l);break;case h.Z:if(n){if(r.containStroke(g,b,x,_,e,i,l))return!0}else p+=u(g,b,x,_,i,l);g=x,b=_}}return n||(c=b,d=_,Math.abs(c-d)n-2?n-1:f+1],h=t[f>n-3?n-1:f+2]);var m=p*p,v=p*m;o.push([r(c[0],g[0],u[0],h[0],p,m,v),r(c[1],g[1],u[1],h[1],p,m,v)])}return o}},"2kvA":function(t,e,n){"use strict";e.__esModule=!0,e.isInContainer=e.getScrollContainer=e.isScroll=e.getStyle=e.once=e.off=e.on=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.hasClass=p,e.addClass=function(t,e){if(!t)return;for(var n=t.className,i=(e||"").split(" "),r=0,o=i.length;r-1}var g=e.getStyle=c<9?function(t,e){if(!a){if(!t||!e)return null;"float"===(e=h(e))&&(e="styleFloat");try{switch(e){case"opacity":try{return t.filters.item("alpha").opacity/100}catch(t){return 1}default:return t.style[e]||t.currentStyle?t.currentStyle[e]:null}}catch(n){return t.style[e]}}}:function(t,e){if(!a){if(!t||!e)return null;"float"===(e=h(e))&&(e="cssFloat");try{var n=document.defaultView.getComputedStyle(t,"");return t.style[e]||n?n[e]:null}catch(n){return t.style[e]}}};var m=e.isScroll=function(t,e){if(!a)return g(t,null!==e&&void 0!==e?e?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto|overlay)/)};e.getScrollContainer=function(t,e){if(!a){for(var n=t;n;){if([window,document,document.documentElement].includes(n))return window;if(m(n,e))return n;n=n.parentNode}return n}},e.isInContainer=function(t,e){if(a||!t||!e)return!1;var n=t.getBoundingClientRect(),i=void 0;return i=[window,document,document.documentElement,null,void 0].includes(e)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:e.getBoundingClientRect(),n.topi.top&&n.right>i.left&&n.leftf&&(d=0,h={}),d++,h[n]=r,r}function y(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function b(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function x(t,e,n){var i=e.textPosition,r=e.textDistance,o=n.x,a=n.y;r=r||0;var s=n.height,l=n.width,c=s/2,u="left",h="top";switch(i){case"left":o-=r,a+=c,u="right",h="middle";break;case"right":o+=r+l,a+=c,h="middle";break;case"top":o+=l/2,a-=r,u="center",h="bottom";break;case"bottom":o+=l/2,a+=s+r,u="center";break;case"inside":o+=l/2,a+=c,u="center",h="middle";break;case"insideLeft":o+=r,a+=c,h="middle";break;case"insideRight":o+=l-r,a+=c,u="right",h="middle";break;case"insideTop":o+=l/2,a+=r,u="center";break;case"insideBottom":o+=l/2,a+=s-r,u="center",h="bottom";break;case"insideTopLeft":o+=r,a+=r;break;case"insideTopRight":o+=l-r,a+=r,u="right";break;case"insideBottomLeft":o+=r,a+=s-r,h="bottom";break;case"insideBottomRight":o+=l-r,a+=s-r,u="right",h="bottom"}return(t=t||{}).x=o,t.y=a,t.textAlign=u,t.textVerticalAlign=h,t}function _(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=w(e,n,i,r);for(var a=0,s=o.length;a=o;c++)a-=o;var u=v(n,e);return u>a&&(n="",u=0),a=t-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=a,i.containerWidth=t,i}function C(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=v(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?S(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=v(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function S(t,e,n,i){for(var r=0,o=0,a=t.length;oh)t="",a=[];else if(null!=d)for(var f=w(d-(n?n[1]+n[3]:0),e,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),p=0,g=a.length;po&&A(n,t.substring(o,a)),A(n,i[2],i[1]),o=p.lastIndex}oy)return{lines:[],width:0,height:0};B.textWidth=v(B.text,D);var E=T.textWidth,I=null==E||"auto"===E;if("string"==typeof E&&"%"===E.charAt(E.length-1))B.percentWidth=E,d.push(B),E=0;else{if(I){E=B.textWidth;var P=T.textBackgroundColor,L=P&&P.image;L&&(L=r.findExistImage(L),r.isImageReady(L)&&(E=Math.max(E,L.width*O/L.height)))}var N=M?M[1]+M[3]:0;E+=N;var R=null!=m?m-C:null;null!=R&&R0&&d>0&&!p&&(l=0),l<0&&d<0&&!g&&(d=0));var m=e.ecModel;if(m&&"time"===a){var v,y=c("bar",m);if(i.each(y,function(t){v|=t.getBaseAxis()===e.axis}),v){var b=u(y),x=function(t,e,n,r){var o=n.axis.getExtent(),a=o[1]-o[0],s=h(r,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;i.each(s,function(t){l=Math.min(t.offset,l)});var c=-1/0;i.each(s,function(t){c=Math.max(t.offset+t.width,c)}),l=Math.abs(l),c=Math.abs(c);var u=l+c,d=e-t,f=d/(1-(l+c)/a)-d;return{min:t-=f*(l/u),max:e+=f*(c/u)}}(l,d,e,b);l=x.min,d=x.max}}return{extent:[l,d],fixMin:p,fixMax:g}}function p(t){var e,n=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof n?(e=n,n=function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}):"function"==typeof n?function(e,r){return null!=i&&(r=e-i),n(g(t,e),r)}:function(e){return t.scale.getLabel(e)}}function g(t,e){return"category"===t.type?t.scale.getLabel(e):e}function m(t){var e=t.get("interval");return null==e?"auto":e}n("dDRy"),n("xCbH"),e.getScaleExtent=f,e.niceScaleExtent=function(t,e){var n=f(t,e),i=n.extent,r=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:r,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var a=e.get("interval");null!=a&&t.setInterval&&t.setInterval(a)},e.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new r(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new o;default:return(a.getClass(e)||o).create(t)}},e.ifAxisCrossZero=function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)},e.makeLabelFormatter=p,e.getAxisRawValue=g,e.estimateLabelUnionRect=function(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){var i,r,o="category"===t.type,a=n.getExtent();r=o?n.count():(i=n.getTicks()).length;var s,l,c,u,h,f,g,m,v,y=t.getLabelModel(),b=p(t),x=1;r>40&&(x=Math.ceil(r/40));for(var _=0;_0&&e.animate(n,!1).when(null==o?500:o,u).delay(a||0)}(t,"",t,e,n,i,h);var d=t.animators.slice(),p=d.length;function g(){--p||o&&o()}p||o&&o();for(var m=0;m0,S=v.height-(C?-1:1),k=(f-d)/(S||1),T=t.get("clockwise"),M=t.get("stillShowZeroSum"),D=T?1:-1,A=function(t,e){if(t){var n=e;if(t!==m){var o=t.getValue(),a=0===_&&M?w:o*w;a-b}function w(t,e){e&&C(t,"transform","matrix("+h.call(e,",")+")")}function C(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&t.setAttribute(e,n)}function S(t,e,n,i){if(function(t,e){var n=e?t.textFill:t.fill;return null!=n&&n!==d}(e,n)){var r=n?e.textFill:e.fill;C(t,"fill",r="transparent"===r?d:r),C(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else C(t,"fill",d);if(function(t,e){var n=e?t.textStroke:t.stroke;return null!=n&&n!==d}(e,n)){var o=n?e.textStroke:e.stroke;C(t,"stroke",o="transparent"===o?d:o),C(t,"stroke-width",(n?e.textStrokeWidth:e.lineWidth)/(!n&&e.strokeNoScale?i.getLineScale():1)),C(t,"paint-order",n?"stroke":"fill"),C(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity),e.lineDash?(C(t,"stroke-dasharray",e.lineDash.join(",")),C(t,"stroke-dashoffset",f(e.lineDashOffset||0))):C(t,"stroke-dasharray",""),e.lineCap&&C(t,"stroke-linecap",e.lineCap),e.lineJoin&&C(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&C(t,"stroke-miterlimit",e.miterLimit)}else C(t,"stroke",d)}var k={};k.brush=function(t){var e=t.style,n=t.__svgEl;n||(n=i("path"),t.__svgEl=n),t.path||t.createPathProxy();var r=t.path;if(t.__dirtyPath){r.beginPath(),r.subPixelOptimize=!1,t.buildPath(r,t.shape),t.__dirtyPath=!1;var o=function(t){for(var e=[],n=t.data,i=t.len(),r=0;r=v:-b>=v),T=b>0?b%v:b%v+v,M=!1;M=!!k||!_(S)&&T>=m==!!C;var D=x(s+c*g(d)),A=x(l+h*p(d));k&&(b=C?v-1e-4:1e-4-v,M=!0,9===r&&e.push("M",D,A));var O=x(s+c*g(d+b)),E=x(l+h*p(d+b));e.push("A",x(c),x(h),f(w*y),+M,+C,O,E);break;case u.Z:o="Z";break;case u.R:O=x(n[r++]),E=x(n[r++]);var I=x(n[r++]),P=x(n[r++]);e.push("M",O,E,"L",O+I,E,"L",O+I,E+P,"L",O,E+P,"L",O,E)}o&&e.push(o);for(var L=0;LB){for(;NparseInt(i.split("Firefox/")[1],10);return{product:"Highcharts",version:"8.2.2",deg2rad:2*Math.PI/360,doc:n,hasBidiBug:l,hasTouch:!!e.TouchEvent,isMS:o,isWebKit:-1!==i.indexOf("AppleWebKit"),isFirefox:a,isChrome:s,isSafari:!s&&-1!==i.indexOf("Safari"),isTouchDevice:/(Mobile|Android|Windows Phone)/.test(i),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:r,win:e,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:function(){},charts:[],dateFormats:{}}}),e(n,"Core/Utilities.js",[n["Core/Globals.js"]],function(t){function e(t,n,i,r){var o=n?"Highcharts error":"Highcharts warning";32===t&&(t=o+": Deprecated member");var a=g(t),s=a?o+" #"+t+": www.highcharts.com/errors/"+t+"/":t.toString();if(o=function(){if(n)throw Error(s);c.console&&e.messages.indexOf(s)},void 0!==r){var l="";a&&(s+="?"),H(r,function(t,e){l+="\n - "+e+": "+t,a&&(s+=encodeURI(e)+"="+encodeURI(t))}),s+=l}i?U(i,"displayError",{code:t,message:s,params:r},o):o(),e.messages.push(s)}function n(){var t,e=arguments,n={},r=function(t,e){return"object"!=typeof t&&(t={}),H(e,function(n,o){!i(n,!0)||p(n)||f(n)?t[o]=e[o]:t[o]=r(t[o]||{},n)}),t};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));var o=e.length;for(t=0;tt&&-1/0=n&&(e=[1/n]))),i=0;i=t||!r&&s<=(e[i]+(e[i+1]||e[i]))/2));i++);return R(a*n,-Math.round(Math.log(.001)/Math.LN10))},E=t.stableSort=function(t,e){var n,i,r=t.length;for(i=0;in&&(n=t[e]);return n},L=t.destroyObjectProperties=function(t,e){H(t,function(n,i){n&&n!==e&&n.destroy&&n.destroy(),delete t[i]})},N=t.discardElement=function(e){var n=t.garbageBin;n||(n=C("div")),e&&n.appendChild(e),n.innerHTML=""},R=t.correctFloat=function(t,e){return parseFloat(t.toPrecision(e||14))},B=t.timeUnits={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},z=t.numberFormat=function(e,n,i,r){e=+e||0,n=+n;var a=t.defaultOptions.lang,s=(e.toString().split(".")[1]||"").split("e")[0].length,l=e.toString().split("e");if(-1===n)n=Math.min(s,20);else if(g(n)){if(n&&l[1]&&0>l[1]){var c=n+ +l[1];0<=c?(l[0]=(+l[0]).toExponential(c).split("e")[0],n=c):(l[0]=l[0].split(".")[0]||0,e=20>n?(l[0]*Math.pow(10,l[1])).toFixed(n):0,l[1]=0)}}else n=2;var h=(Math.abs(l[1]?l[0]:e)+Math.pow(10,-Math.max(n,s)-1)).toFixed(n);return c=3<(s=String(u(h))).length?s.length%3:0,i=o(i,a.decimalPoint),r=o(r,a.thousandsSep),e=(0>e?"-":"")+(c?s.substr(0,c)+r:""),e+=s.substr(c).replace(/(\d{3})(?=\d)/g,"$1"+r),n&&(e+=i+h.slice(-n)),l[1]&&0!=+e&&(e+="e"+l[1]),e};Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var j=t.getStyle=function(n,i,r){return"width"===i?(i=Math.min(n.offsetWidth,n.scrollWidth),(r=n.getBoundingClientRect&&n.getBoundingClientRect().width)=i-1&&(i=Math.floor(r)),Math.max(0,i-t.getStyle(n,"padding-left")-t.getStyle(n,"padding-right"))):"height"===i?Math.max(0,Math.min(n.offsetHeight,n.scrollHeight)-t.getStyle(n,"padding-top")-t.getStyle(n,"padding-bottom")):(c.getComputedStyle||e(27,!0),(n=c.getComputedStyle(n,void 0))&&(n=n.getPropertyValue(i),o(r,"opacity"!==i)&&(n=u(n))),n)},F=t.inArray=function(t,n,i){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),n.indexOf(t,i)},$=t.find=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var n,i=t.length;for(n=0;ne?t>16,(65280&t)>>8,255&t,1]:4===r&&(n=[(3840&t)>>4|(3840&t)>>8,(240&t)>>4|240&t,(15&t)<<4|15&t,1])}if(!n)for(i=this.parsers.length;i--&&!n;){var o=this.parsers[i];(r=o.regex.exec(t))&&(n=o.parse(r))}}this.rgba=n||[]},e.prototype.get=function(t){var e=this.input,r=this.rgba;if(void 0!==this.stops){var o=i(e);o.stops=[].concat(o.stops),this.stops.forEach(function(e,n){o.stops[n]=[o.stops[n][0],e.get(t)]})}else o=r&&n(r[0])?"rgb"===t||!t&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===t?r[3]:"rgba("+r.join(",")+")":e;return o},e.prototype.brighten=function(t){var e,i=this.rgba;if(this.stops)this.stops.forEach(function(e){e.brighten(t)});else if(n(t)&&0!==t)for(e=0;3>e;e++)i[e]+=r(255*t),0>i[e]&&(i[e]=0),255i)for(var r=0;r=a+this.startTime){this.now=this.end,this.pos=1,this.update();var l=s[this.prop]=!0;r(s,function(t){!0!==t&&(l=!1)}),l&&o&&o.call(i),t=!1}else this.pos=n.easing((e-this.startTime)/a),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},e.prototype.initPath=function(t,e,n){function r(t,e){for(;t.lengthi.width)&&(i={width:0,height:0})}else i=this.htmlGetBBox();if(r.isSVG&&(e=i.width,r=i.height,h&&(i.height=r={"11px,17":14,"13px,20":16}[a&&a.fontSize+","+Math.round(r)]||r),n&&(a=n*s,i.width=Math.abs(r*Math.sin(a))+Math.abs(e*Math.cos(a)),i.height=Math.abs(r*Math.cos(a))+Math.abs(e*Math.sin(a)))),f&&0]*>/g,"").replace(/</g,"<").replace(/>/g,">")))},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,n){var i=this.shadows;if(i)for(var r=i.length;r--;)n.call(i[r],"height"===t?Math.max(e-(i[r].cutHeight||0),0):"d"===t?this.d:e,t,i[r])},t.prototype.updateTransform=function(){var t=this.translateX||0,e=this.translateY||0,n=this.scaleX,i=this.scaleY,r=this.inverted,o=this.rotation,a=this.matrix,s=this.element;r&&(t+=this.width,e+=this.height),t=["translate("+t+","+e+")"],y(a)&&t.push("matrix("+a.join(",")+")"),r?t.push("rotate(90) scale(-1,1)"):o&&t.push("rotate("+o+" "+D(this.rotationOriginX,s.getAttribute("x"),0)+" "+D(this.rotationOriginY,s.getAttribute("y")||0)+")"),(y(n)||y(i))&&t.push("scale("+D(n,1)+" "+D(i,1)+")"),t.length&&s.setAttribute("transform",t.join(" "))},t.prototype.visibilitySetter=function(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var n=this.renderer,i=this.parentGroup,r=(i||n).element||n.box,o=this.element,a=!1;n=r===n.box;var s,l=this.added;if(y(t)?(o.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):y(this[e])&&o.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&i&&(i.handleZ=!0),s=(e=r.childNodes).length-1;0<=s&&!a;s--){l=(i=e[s]).getAttribute("data-z-index");var c=!y(l);i!==o&&(0>t&&c&&!n&&!s?(r.insertBefore(o,e[s]),a=!0):(A(l)<=t||c&&(!y(t)||0<=t))&&(r.insertBefore(o,e[s+1]||null),a=!0))}a||(r.insertBefore(o,e[n?3:0]||null),a=!0)}return a},t}()).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},n.SVGElement=t,n.SVGElement}),e(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=e.defined,r=e.extend,o=e.isNumber,a=e.merge,s=e.removeEvent;return function(e){function l(t,n,i,r,o,a,s,c,u,h){var d=e.call(this)||this;if(d.init(t,"g"),d.textStr=n,d.x=i,d.y=r,d.anchorX=a,d.anchorY=s,d.baseline=u,d.className=h,"button"!==h&&d.addClass("highcharts-label"),h&&d.addClass("highcharts-"+h),d.text=t.text("",0,0,c).attr({zIndex:1}),"string"==typeof o){var f=/^url\((.*?)\)$/.test(o);(d.renderer.symbols[o]||f)&&(d.symbolKey=o)}return d.bBox=l.emptyBBox,d.padding=3,d.paddingLeft=0,d.baselineOffset=0,d.needsBox=t.styledMode||f,d.deferredAttr={},d.alignFactor=0,d}return n(l,e),l.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))},l.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},l.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},l.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},l.prototype.css=function(e){if(e){var n={};e=a(e),l.textProps.forEach(function(t){void 0!==e[t]&&(n[t]=e[t],delete e[t])}),this.text.css(n);var i="fontSize"in n||"fontWeight"in n;("width"in n||i)&&(this.updateBoxSize(),i&&this.updateTextPadding())}return t.prototype.css.call(this,e)},l.prototype.destroy=function(){s(this.element,"mouseenter"),s(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},l.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},l.prototype.getBBox=function(){var t=this.bBox,e=this.padding;return{width:t.width+2*e,height:t.height+2*e,x:t.x-e,y:t.y-e}},l.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},l.prototype.heightSetter=function(t){this.heightSetting=t},l.prototype.on=function(e,n){var i=this,r=i.text,o=r&&"SPAN"===r.element.tagName?r:void 0;if(o){var a=function(t){("mouseenter"===e||"mouseleave"===e)&&t.relatedTarget instanceof Element&&(i.element.contains(t.relatedTarget)||o.element.contains(t.relatedTarget))||n.call(i.element,t)};o.on(e,a)}return t.prototype.on.call(i,e,a||n),i},l.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:i(t)?t:"",x:this.x,y:this.y}),this.box&&i(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},l.prototype.paddingSetter=function(t){i(t)&&t!==this.padding&&(this.padding=t,this.updateTextPadding())},l.prototype.paddingLeftSetter=function(t){i(t)&&t!==this.paddingLeft&&(this.paddingLeft=t,this.updateTextPadding())},l.prototype.rSetter=function(t,e){this.boxAttr(e,t)},l.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},l.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},l.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},l.prototype["text-alignSetter"]=function(t){this.textAlign=t},l.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateBoxSize(),this.updateTextPadding()},l.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},n=this.padding,a=this.paddingLeft,s=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!i(this.text.textStr)?l.emptyBBox:this.text.getBBox();this.width=(this.widthSetting||s.width||0)+2*n+a,this.height=(this.heightSetting||s.height||0)+2*n,this.baselineOffset=n+Math.min(this.renderer.fontMetrics(t&&t.fontSize,this.text).b,s.height||1/0),this.needsBox&&(this.box||((t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this),t=this.getCrispAdjust(),e.x=t,e.y=(this.baseline?-this.baselineOffset:0)+t),e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(r(e,this.deferredAttr)),this.deferredAttr={}),this.bBox=s},l.prototype.updateTextPadding=function(){var t=this.text,e=this.baseline?0:this.baselineOffset,n=this.paddingLeft+this.padding;i(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(n+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),n===t.x&&e===t.y||(t.attr("x",n),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0),this.updateBoxSize()),void 0!==e&&t.attr("y",e)),t.x=n,t.y=e},l.prototype.widthSetter=function(t){this.widthSetting=o(t)?t:void 0},l.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*((this.widthSetting||this.bBox.width)+2*this.padding),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},l.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},l.emptyBBox={width:0,height:0,x:0,y:0},l.textProps="color cursor direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),l}(t)}),e(n,"Core/Renderer/SVG/SVGRenderer.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGLabel.js"],n["Core/Utilities.js"]],function(t,e,n,i,r){var o=r.addEvent,a=r.attr,s=r.createElement,l=r.css,c=r.defined,u=r.destroyObjectProperties,h=r.extend,d=r.isArray,f=r.isNumber,p=r.isObject,g=r.isString,m=r.merge,v=r.objectEach,y=r.pick,b=r.pInt,x=r.splat,_=r.uniqueKey,w=e.charts,C=e.deg2rad,S=e.doc,k=e.isFirefox,T=e.isMS,M=e.isWebKit;r=e.noop;var D=e.svg,A=e.SVG_NS,O=e.symbolSizes,E=e.win,I=function(){function e(t,e,n,i,r,o,a){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(t,e,n,i,r,o,a)}return e.prototype.init=function(t,e,n,i,r,s,c){var u,h=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"});c||h.css(this.getStyle(i)),i=h.element,t.appendChild(i),a(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&a(i,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=i,this.boxWrapper=h,this.alignedObjects=[],this.url=(k||M)&&S.getElementsByTagName("base").length?E.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",this.createElement("desc").add().element.appendChild(S.createTextNode("Created with Highcharts 8.2.2")),this.defs=this.createElement("defs").add(),this.allowHTML=s,this.forExport=r,this.styledMode=c,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1),k&&t.getBoundingClientRect&&((e=function(){l(t,{left:0,top:0}),u=t.getBoundingClientRect(),l(t,{left:Math.ceil(u.left)-u.left+"px",top:Math.ceil(u.top)-u.top+"px"})})(),this.unSubPixelFix=o(E,"resize",e))},e.prototype.definition=function(t){var e=this;return function t(n,i){var r;return x(n).forEach(function(n){var o=e.createElement(n.tagName),a={};v(n,function(t,e){"tagName"!==e&&"children"!==e&&"textContent"!==e&&(a[e]=t)}),o.attr(a),o.add(i||e.defs),n.textContent&&o.element.appendChild(S.createTextNode(n.textContent)),t(n.children||[],o),r=o}),r}(t)},e.prototype.getStyle=function(t){return this.style=h({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},e.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},e.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},e.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),u(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},e.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},e.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+e.cx*t[2],cy:t[1]-t[2]/2+e.cy*t[2],r:e.r*t[2]}},e.prototype.truncate=function(t,e,n,i,r,o,a){var s,l,c=this,u=t.rotation,h=i?1:0,d=(n||i).length,f=d,p=[],g=function(t){e.firstChild&&e.removeChild(e.firstChild),t&&e.appendChild(S.createTextNode(t))},m=function(o,s){if(void 0===p[s=s||o])if(e.getSubStringLength)try{p[s]=r+e.getSubStringLength(0,i?s+1:s)}catch(t){}else c.getSpanWidth&&(g(a(n||i,o)),p[s]=r+c.getSpanWidth(t,e));return p[s]};t.rotation=0;var v=m(e.textContent.length);if(l=r+v>o){for(;h<=d;)f=Math.ceil((h+d)/2),i&&(s=a(i,f)),v=m(f,s&&s.length-1),h===d?h=d+1:v>o?d=f-1:h=f;0===d?g(""):n&&d===n.length-1||g(s||a(n||i,f))}return i&&i.splice(0,f),t.actualWidth=v,t.rotation=u,l},e.prototype.buildText=function(t){var e,n,i=t.element,r=this,o=r.forExport,s=y(t.textStr,"").toString(),c=-1!==s.indexOf("<"),u=i.childNodes,h=a(i,"x"),d=t.styles,f=t.textWidth,p=d&&d.lineHeight,m=d&&d.textOutline,x=d&&"ellipsis"===d.textOverflow,_=d&&"nowrap"===d.whiteSpace,w=d&&d.fontSize,C=u.length;d=f&&!t.added&&this.box;var k=function(t){var e;return r.styledMode||(e=/(px|em)$/.test(t&&t.style.fontSize)?t.style.fontSize:w||r.style.fontSize||12),p?b(p):r.fontMetrics(e,t.getAttribute("style")?t:i).h},T=function(t,e){return v(r.escapes,function(n,i){e&&-1!==e.indexOf(n)||(t=t.toString().replace(new RegExp(n,"g"),i))}),t},M=function(t,e){var n=t.indexOf("<");if(-1!==(n=(t=t.substring(n,t.indexOf(">")-n)).indexOf(e+"="))&&(n=n+e.length+1,'"'===(e=t.charAt(n))||"'"===e))return(t=t.substring(n+1)).substring(0,t.indexOf(e))},O=//g,E=[s,x,_,p,m,w,f].join();if(E!==t.textCache){for(t.textCache=E;C--;)i.removeChild(u[C]);c||m||x||f||-1!==s.indexOf(" ")&&(!_||O.test(s))?(d&&d.appendChild(i),c?s=(s=r.styledMode?s.replace(/<(b|strong)>/g,'').replace(/<(i|em)>/g,''):s.replace(/<(b|strong)>/g,'').replace(/<(i|em)>/g,'')).replace(//g,"").split(O):s=[s],(s=s.filter(function(t){return""!==t})).forEach(function(s,c){var u=0,d=0,p=(s=s.replace(/^\s+|\s+$/g,"").replace(//g,"|||")).split("|||");p.forEach(function(s){if(""!==s||1===p.length){var g,m,v={},y=S.createElementNS(r.SVG_NS,"tspan");if((g=M(s,"class"))&&a(y,"class",g),(g=M(s,"style"))&&(g=g.replace(/(;| |^)color([ :])/,"$1fill$2"),a(y,"style",g)),(m=M(s,"href"))&&!o&&-1===m.split(":")[0].toLowerCase().indexOf("javascript")){var b=S.createElementNS(r.SVG_NS,"a");a(b,"href",m),a(y,"class","highcharts-anchor"),b.appendChild(y),r.styledMode||l(y,{cursor:"pointer"})}if(" "!==(s=T(s.replace(/<[a-zA-Z\/](.|\n)*?>/g,"")||" "))){if(y.appendChild(S.createTextNode(s)),u?v.dx=0:c&&null!==h&&(v.x=h),a(y,v),i.appendChild(b||y),!u&&n&&(!D&&o&&l(y,{display:"block"}),a(y,"dy",k(y))),f){var C=s.replace(/([^\^])-/g,"$1- ").split(" ");if(v=!_&&(1(t=/px/.test(t)?b(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},e.prototype.rotCorr=function(t,e,n){var i=t;return e&&n&&(i=Math.max(i*Math.cos(e*C),4)),{x:-t/3*Math.sin(e*C),y:i}},e.prototype.pathToSegments=function(t){for(var e=[],n=[],i={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},r=0;r":">","'":"'",'"':"""},I.prototype.symbols={circle:function(t,e,n,i){return this.arc(t+n/2,e+i/2,n/2,i/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},square:function(t,e,n,i){return[["M",t,e],["L",t+n,e],["L",t+n,e+i],["L",t,e+i],["Z"]]},triangle:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i],["L",t,e+i],["Z"]]},"triangle-down":function(t,e,n,i){return[["M",t,e],["L",t+n,e],["L",t+n/2,e+i],["Z"]]},diamond:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i/2],["L",t+n/2,e+i],["L",t,e+i/2],["Z"]]},arc:function(t,e,n,i,r){var o=[];if(r){var a=r.start||0,s=r.end||0,l=r.r||n;n=r.r||i||n;var u=.001>Math.abs(s-a-2*Math.PI);s-=.001,i=r.innerR,u=y(r.open,u);var h=Math.cos(a),d=Math.sin(a),f=Math.cos(s),p=Math.sin(s);a=y(r.longArc,.001>s-a-Math.PI?0:1),o.push(["M",t+l*h,e+n*d],["A",l,n,0,a,y(r.clockwise,1),t+l*f,e+n*p]),c(i)&&o.push(u?["M",t+i*f,e+i*p]:["L",t+i*f,e+i*p],["A",i,i,0,a,c(r.clockwise)?1-r.clockwise:0,t+i*h,e+i*d]),u||o.push(["Z"])}return o},callout:function(t,e,n,i,r){var o=Math.min(r&&r.r||0,n,i),a=o+6,s=r&&r.anchorX||0;r=r&&r.anchorY||0;var l=[["M",t+o,e],["L",t+n-o,e],["C",t+n,e,t+n,e,t+n,e+o],["L",t+n,e+i-o],["C",t+n,e+i,t+n,e+i,t+n-o,e+i],["L",t+o,e+i],["C",t,e+i,t,e+i,t,e+i-o],["L",t,e+o],["C",t,e,t,e,t+o,e]];return s&&s>n?r>e+a&&rs?r>e+a&&ri&&s>t+a&&sr&&s>t+a&&sthis.oldTextWidth)&&((f=this.textPxLength)||(i(e,{width:"",whiteSpace:d||"nowrap"}),f=e.offsetWidth),f=f>p),f&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)?(i(e,{width:p+"px",display:"block",whiteSpace:d||"normal"}),this.oldTextWidth=p,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,g!==this.cTT&&(d=t.fontMetrics(e.style.fontSize,e).b,!r(h)||h===(this.oldRotation||0)&&c===this.oldAlign||this.setSpanRotation(h,u,d),this.getSpanCorrection(!r(h)&&this.textPxLength||e.offsetWidth,d,u,h,c)),i(e,{left:a+(this.xCorr||0)+"px",top:l+(this.yCorr||0)+"px"}),this.cTT=g,this.oldRotation=h,this.oldAlign=c}}else this.alignOnAdd=!0},setSpanRotation:function(t,e,n){var r={},o=this.renderer.getTransformKey();r[o]=r.transform="rotate("+t+"deg)",r[o+(l?"Origin":"-origin")]=r.transformOrigin=100*e+"% "+n+"px",i(this.element,r)},getSpanCorrection:function(t,e,n){this.xCorr=-t*n,this.yCorr=-e}}),e}),e(n,"Core/Renderer/HTML/HTMLRenderer.js",[n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],function(t,e,n,i){var r=t.isFirefox,o=t.isMS,a=t.isWebKit,s=t.win,l=i.attr,c=i.createElement,u=i.extend,h=i.pick;return u(n.prototype,{getTransformKey:function(){return o&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":a?"-webkit-transform":r?"MozTransform":s.opera?"-o-transform":""},html:function(t,n,i){var r=this.createElement("span"),o=r.element,a=r.renderer,s=a.isSVG,d=function(t,n){["opacity","visibility"].forEach(function(i){t[i+"Setter"]=function(r,o,a){var s=t.div?t.div.style:n;e.prototype[i+"Setter"].call(this,r,o,a),s&&(s[o]=r)}}),t.addedSetters=!0};return r.textSetter=function(t){t!==o.innerHTML&&(delete this.bBox,delete this.oldTextWidth),this.textStr=t,o.innerHTML=h(t,""),r.doTransform=!0},s&&d(r,r.element.style),r.xSetter=r.ySetter=r.alignSetter=r.rotationSetter=function(t,e){"align"===e?r.alignValue=r.textAlign=t:r[e]=t,r.doTransform=!0},r.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},r.attr({text:t,x:Math.round(n),y:Math.round(i)}).css({position:"absolute"}),a.styledMode||r.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),o.style.whiteSpace="nowrap",r.css=r.htmlCss,s&&(r.add=function(t){var e=a.box.parentNode,n=[];if(this.parentGroup=t){var i=t.div;if(!i){for(;t;)n.push(t),t=t.parentGroup;n.reverse().forEach(function(t){function o(e,n){t[n]=e,"translateX"===n?s.left=e+"px":s.top=e+"px",t.doTransform=!0}var a=l(t.element,"class"),s=(i=t.div=t.div||c("div",a?{className:a}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,pointerEvents:t.styles&&t.styles.pointerEvents},i||e)).style;u(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(i),on:function(){return n[0].div&&r.on.apply({element:n[0].div},arguments),t},translateXSetter:o,translateYSetter:o}),t.addedSetters||d(t)})}}else i=e;return i.appendChild(o),r.added=!0,r.alignOnAdd&&r.htmlUpdateTransform(),r}),r}}),n}),e(n,"Core/Axis/Tick.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],function(t,e){var n=e.clamp,i=e.correctFloat,r=e.defined,o=e.destroyObjectProperties,a=e.extend,s=e.fireEvent,l=e.isNumber,c=e.merge,u=e.objectEach,h=e.pick,d=t.deg2rad;return e=function(){function t(t,e,n,i,r){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,s(this,"init"),n||i||this.addLabel()}return t.prototype.addLabel=function(){var t=this,e=t.axis,n=e.options,o=e.chart,s=e.categories,l=e.logarithmic,c=e.names,u=t.pos,d=h(t.options&&t.options.labels,n.labels),f=e.tickPositions,p=u===f[0],g=u===f[f.length-1];c=this.parameters.category||(s?h(s[u],c[u],u):u);var m,v,y=t.label;if(s=(!d.step||1===d.step)&&1===e.tickInterval,f=f.info,e.dateTime&&f)var b=o.time.resolveDTLFormat(n.dateTimeLabelFormats[!n.grid&&f.higherRanks[u]||f.unitName]),x=b.main;t.isFirst=p,t.isLast=g,t.formatCtx={axis:e,chart:o,isFirst:p,isLast:g,dateTimeLabelFormat:x,tickPositionInfo:f,value:l?i(l.lin2log(c)):c,pos:u},n=e.labelFormatter.call(t.formatCtx,this.formatCtx),(v=b&&b.list)&&(t.shortenLabel=function(){for(m=0;mc&&i-u*fo&&(s=Math.round((r-i)/Math.cos(c*d))):(r=i+(1-u)*f,i-u*fo&&(g=o-t.x+g*u,m=-1),(g=Math.min(p,g))g||e.autoRotation&&(l.styles||{}).width)&&(s=g)),s&&(this.shortenLabel?this.shortenLabel():(v.width=Math.floor(s)+"px",(n.style||{}).textOverflow||(v.textOverflow="ellipsis"),l.css(v)))},t.prototype.moveLabel=function(t,e){var n=this,i=n.label,r=!1,o=n.axis,a=o.reversed;if(i&&i.textStr===t?(n.movedLabel=i,r=!0,delete n.label):u(o.ticks,function(e){r||e.isNew||e===n||!e.label||e.label.textStr!==t||(n.movedLabel=e.label,r=!0,e.labelPos=n.movedLabel.xy,delete e.label)}),!r&&(n.labelPos||i)){var s=n.labelPos||i.xy;i=o.horiz?a?0:o.width+o.left:s.x,o=o.horiz?s.y:a?o.width+o.left:0,n.movedLabel=n.createLabel({x:i,y:o},t,e),n.movedLabel&&n.movedLabel.attr({opacity:0})}},t.prototype.render=function(t,e,n){var i=this.axis,r=i.horiz,o=this.pos,a=h(this.tickmarkOffset,i.tickmarkOffset);a=(o=this.getPosition(r,o,a,e)).x;var l=o.y;i=r&&a===i.pos+i.len||!r&&l===i.pos?-1:1,n=h(n,1),this.isActive=!0,this.renderGridLine(e,n,i),this.renderMark(o,n,i),this.renderLabel(o,e,n,t),this.isNew=!1,s(this,"afterRender")},t.prototype.renderGridLine=function(t,e,n){var i=this.axis,r=i.options,o=this.gridLine,a={},s=this.pos,l=this.type,c=h(this.tickmarkOffset,i.tickmarkOffset),u=i.chart.renderer,d=l?l+"Grid":"grid",f=r[d+"LineWidth"],p=r[d+"LineColor"];r=r[d+"LineDashStyle"],o||(i.chart.styledMode||(a.stroke=p,a["stroke-width"]=f,r&&(a.dashstyle=r)),l||(a.zIndex=1),t&&(e=0),this.gridLine=o=u.path().attr(a).addClass("highcharts-"+(l?l+"-":"")+"grid-line").add(i.gridGroup)),o&&(n=i.getPlotLinePath({value:s+c,lineWidth:o.strokeWidth()*n,force:"pass",old:t}))&&o[t||this.isNew?"attr":"animate"]({d:n,opacity:e})},t.prototype.renderMark=function(t,e,n){var i=this.axis,r=i.options,o=i.chart.renderer,a=this.type,s=a?a+"Tick":"tick",l=i.tickSize(s),c=this.mark,u=!c,d=t.x;t=t.y;var f=h(r[s+"Width"],!a&&i.isXAxis?1:0);r=r[s+"Color"],l&&(i.opposite&&(l[0]=-l[0]),u&&(this.mark=c=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(i.axisGroup),i.chart.styledMode||c.attr({stroke:r,"stroke-width":f})),c[u?"attr":"animate"]({d:this.getMarkPath(d,t,l[0],c.strokeWidth()*n,i.horiz,o),opacity:e}))},t.prototype.renderLabel=function(t,e,n,i){var r=this.axis,o=r.horiz,a=r.options,s=this.label,c=a.labels,u=c.step;r=h(this.tickmarkOffset,r.tickmarkOffset);var d=!0,f=t.x;t=t.y,s&&l(f)&&(s.xy=t=this.getLabelPosition(f,t,s,o,c,r,i,u),this.isFirst&&!this.isLast&&!h(a.showFirstLabel,1)||this.isLast&&!this.isFirst&&!h(a.showLastLabel,1)?d=!1:!o||c.step||c.rotation||e||0===n||this.handleOverflow(t),u&&i%u&&(d=!1),d&&l(t.y)?(t.opacity=n,s[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(s.attr("y",-9999),this.isNewLabel=!0))},t.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,n=e.reversed;if(t&&!this.isNew){var i=e.horiz?n?e.left:e.width+e.left:t.xy.x;n=e.horiz?t.xy.y:n?e.width+e.top:e.top,t.animate({x:i,y:n,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},t}(),t.Tick=e,t.Tick}),e(n,"Core/Time.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],function(t,e){var n=e.defined,i=e.error,r=e.extend,o=e.isObject,a=e.merge,s=e.objectEach,l=e.pad,c=e.pick,u=e.splat,h=e.timeUnits,d=t.win;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=d.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var n=e.getTime(),i=n-this.getTimezoneOffset(e);return e.setTime(i),t=e["getUTC"+t](),e.setTime(n),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t)return e["setUTC"+t](n);var i=this.getTimezoneOffset(e);return i=e.getTime()-i,e.setTime(i),e["setUTC"+t](n),t=this.getTimezoneOffset(e),i=e.getTime()+t,e.setTime(i)}return this.useUTC?e["setUTC"+t](n):e["set"+t](n)},e.prototype.update=function(t){var e=c(t&&t.useUTC,!0);this.options=t=a(!0,this.options||{},t),this.Date=t.Date||d.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=!(e&&!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(e,n,i,r,o,a){if(this.useUTC){var s=this.Date.UTC.apply(0,arguments),l=this.getTimezoneOffset(s);s+=l;var u=this.getTimezoneOffset(s);l!==u?s+=u-l:l-36e5!==this.getTimezoneOffset(s-36e5)||t.isSafari||(s-=36e5)}else s=new this.Date(e,n,c(i,1),c(r,0),c(o,0),c(a,0)).getTime();return s},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,n=e.moment||d.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(n)return function(t){return 6e4*-n.tz(t,e.timezone).utcOffset()};i(25)}return this.useUTC&&e.getTimezoneOffset?function(t){return 6e4*e.getTimezoneOffset(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,i,o){var a;if(!n(i)||isNaN(i))return(null===(a=t.defaultOptions.lang)||void 0===a?void 0:a.invalidDate)||"";e=c(e,"%Y-%m-%d %H:%M:%S");var u=this;a=new this.Date(i);var h=this.get("Hours",a),d=this.get("Day",a),f=this.get("Date",a),p=this.get("Month",a),g=this.get("FullYear",a),m=t.defaultOptions.lang,v=null===m||void 0===m?void 0:m.weekdays,y=null===m||void 0===m?void 0:m.shortWeekdays;return a=r({a:y?y[d]:v[d].substr(0,3),A:v[d],d:l(f),e:l(f,2," "),w:d,b:m.shortMonths[p],B:m.months[p],m:l(p+1),o:p+1,y:g.toString().substr(2,2),Y:g,H:l(h),k:h,I:l(h%12||12),l:h%12||12,M:l(this.get("Minutes",a)),p:12>h?"AM":"PM",P:12>h?"am":"pm",S:l(a.getSeconds()),L:l(Math.floor(i%1e3),3)},t.dateFormats),s(a,function(t,n){for(;-1!==e.indexOf("%"+n);)e=e.replace("%"+n,"function"==typeof t?t.call(u,i):t)}),o?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return o(t,!0)?t:{main:(t=u(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,i,o){var a,s=this,l=[],u={},d=new s.Date(e),f=t.unitRange,p=t.count||1;if(o=c(o,1),n(e)){if(s.set("Milliseconds",d,f>=h.second?0:p*Math.floor(s.get("Milliseconds",d)/p)),f>=h.second&&s.set("Seconds",d,f>=h.minute?0:p*Math.floor(s.get("Seconds",d)/p)),f>=h.minute&&s.set("Minutes",d,f>=h.hour?0:p*Math.floor(s.get("Minutes",d)/p)),f>=h.hour&&s.set("Hours",d,f>=h.day?0:p*Math.floor(s.get("Hours",d)/p)),f>=h.day&&s.set("Date",d,f>=h.month?1:Math.max(1,p*Math.floor(s.get("Date",d)/p))),f>=h.month){s.set("Month",d,f>=h.year?0:p*Math.floor(s.get("Month",d)/p));var g=s.get("FullYear",d)}f>=h.year&&s.set("FullYear",d,g-g%p),f===h.week&&(g=s.get("Day",d),s.set("Date",d,s.get("Date",d)-g+o+(g4*h.month||s.getTimezoneOffset(e)!==s.getTimezoneOffset(i)),e=d.getTime(),d=1;el.length&&l.forEach(function(t){0==t%18e5&&"000000000"===s.dateFormat("%H%M%S%L",t)&&(u[t]="day")})}return l.info=r(t,{higherRanks:u,totalRange:f*p}),l},e}(),t.Time=e,t.Time}),e(n,"Core/Options.js",[n["Core/Globals.js"],n["Core/Color/Color.js"],n["Core/Time.js"],n["Core/Utilities.js"]],function(t,e,n,i){var r=t.isTouchDevice,o=t.svg;return e=e.parse,i=i.merge,t.defaultOptions={colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),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:!0},chart:{styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"},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:!0,align:"center",alignColumns:!0,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:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,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:!0,animation:o,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:"",padding:8,snap:r?25:10,headerFormat:'{point.key}
',pointFormat:' {series.name}: {point.y}
',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,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"}},t.time=new n(i(t.defaultOptions.global,t.defaultOptions.time)),t.dateFormat=function(e,n,i){return t.time.dateFormat(e,n,i)},{dateFormat:t.dateFormat,defaultOptions:t.defaultOptions,time:t.time}}),e(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"],n["Core/Options.js"]],function(t,e,n,i,r,o){var a=t.animObject,s=r.addEvent,l=r.arrayMax,c=r.arrayMin,u=r.clamp,h=r.correctFloat,d=r.defined,f=r.destroyObjectProperties,p=r.error,g=r.extend,m=r.fireEvent,v=r.format,y=r.getMagnitude,b=r.isArray,x=r.isFunction,_=r.isNumber,w=r.isString,C=r.merge,S=r.normalizeTickInterval,k=r.objectEach,T=r.pick,M=r.relativeLength,D=r.removeEvent,A=r.splat,O=r.syncTimeout,E=o.defaultOptions,I=n.deg2rad;return t=function(){function t(t,e){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.oldMin=this.oldMax=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.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var n=e.isX,i=this;i.chart=t,i.horiz=t.inverted&&!i.isZAxis?!n:n,i.isXAxis=n,i.coll=i.coll||(n?"xAxis":"yAxis"),m(this,"init",{userOptions:e}),i.opposite=e.opposite,i.side=e.side||(i.horiz?i.opposite?0:2:i.opposite?1:3),i.setOptions(e);var r=this.options,o=r.type;i.labelFormatter=r.labels.formatter||i.defaultLabelFormatter,i.userOptions=e,i.minPixelPadding=0,i.reversed=r.reversed,i.visible=!1!==r.visible,i.zoomEnabled=!1!==r.zoomEnabled,i.hasNames="category"===o||!0===r.categories,i.categories=r.categories||i.hasNames,i.names||(i.names=[],i.names.keys={}),i.plotLinesAndBandsGroups={},i.positiveValuesOnly=!!i.logarithmic,i.isLinked=d(r.linkedTo),i.ticks={},i.labelEdge=[],i.minorTicks={},i.plotLinesAndBands=[],i.alternateBands={},i.len=0,i.minRange=i.userMinRange=r.minRange||r.maxZoom,i.range=r.range,i.offset=r.offset||0,i.max=null,i.min=null,i.crosshair=T(r.crosshair,A(t.options.tooltip.crosshairs)[n?0:1],!1),e=i.options.events,-1===t.axes.indexOf(i)&&(n?t.axes.splice(t.xAxis.length,0,i):t.axes.push(i),t[i.coll].push(i)),i.series=i.series||[],t.inverted&&!i.isZAxis&&n&&void 0===i.reversed&&(i.reversed=!0),i.labelRotation=i.options.labels.rotation,k(e,function(t,e){x(t)&&s(i,e,t)}),m(this,"afterInit")},t.prototype.setOptions=function(e){this.options=C(t.defaultOptions,"yAxis"===this.coll&&t.defaultYAxisOptions,[t.defaultTopAxisOptions,t.defaultRightAxisOptions,t.defaultBottomAxisOptions,t.defaultLeftAxisOptions][this.side],C(E[this.coll],e)),m(this,"afterSetOptions",{userOptions:e})},t.prototype.defaultLabelFormatter=function(){var t=this.axis,e=_(this.value)?this.value:NaN,n=t.chart.time,i=t.categories,r=this.dateTimeLabelFormat,o=E.lang,a=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;var s=a&&a.length,l=t.options.labels.format;t=t.logarithmic?Math.abs(e):t.tickInterval;var c=this.chart,u=c.numberFormatter;if(l)var h=v(l,this,c);else if(i)h=""+this.value;else if(r)h=n.dateFormat(r,e);else if(s&&1e3<=t)for(;s--&&void 0===h;)t>=(n=Math.pow(o,s+1))&&0==10*e%n&&null!==a[s]&&0!==e&&(h=u(e/n,-1)+a[s]);return void 0===h&&(h=1e4<=Math.abs(e)?u(e,-1):u(e,-1,void 0,"")),h},t.prototype.getSeriesExtremes=function(){var t,e=this,n=e.chart;m(this,"getSeriesExtremes",null,function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach(function(i){if(i.visible||!n.options.chart.ignoreHiddenSeries){var r=i.options,o=r.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=o&&(o=null),e.isXAxis){if((r=i.xData).length){r=e.logarithmic?r.filter(e.validatePositiveValue):r;var a=(t=i.getXExtremes(r)).min,s=t.max;_(a)||a instanceof Date||(r=r.filter(_),a=(t=i.getXExtremes(r)).min,s=t.max),r.length&&(e.dataMin=Math.min(T(e.dataMin,a),a),e.dataMax=Math.max(T(e.dataMax,s),s))}}else i=i.applyExtremes(),_(i.dataMin)&&(a=i.dataMin,e.dataMin=Math.min(T(e.dataMin,a),a)),_(i.dataMax)&&(s=i.dataMax,e.dataMax=Math.max(T(e.dataMax,s),s)),d(o)&&(e.threshold=o),(!r.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}})}),m(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,n,i,r,o){var a=this.linkedParent||this,s=1,l=0,c=i?a.oldTransA:a.transA;i=i?a.oldMin:a.min;var u=a.minPixelPadding;return r=(a.isOrdinal||a.brokenAxis&&a.brokenAxis.hasBreaks||a.logarithmic&&r)&&a.lin2val,c||(c=a.transA),n&&(s*=-1,l=a.len),a.reversed&&(l-=(s*=-1)*(a.sector||a.len)),e?(t=(t*s+l-u)/c+i,r&&(t=a.lin2val(t))):(r&&(t=a.val2lin(t)),t=_(i)?s*(t-i)*c+l+s*u+(_(o)?c*o:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,n){return("pass"!==v&&tn)&&(v?t=u(t,e,n):a=!0),t}var n,i,r,o,a,s=this,l=s.chart,c=s.left,h=s.top,d=t.old,f=t.value,p=t.translatedValue,g=t.lineWidth,v=t.force,y=d&&l.oldChartHeight||l.chartHeight,b=d&&l.oldChartWidth||l.chartWidth,x=s.transB;return t={value:f,lineWidth:g,old:d,force:v,acrossPanes:t.acrossPanes,translatedValue:p},m(this,"getPlotLinePath",t,function(t){p=T(p,s.translate(f,null,null,d)),p=u(p,-1e5,1e5),n=r=Math.round(p+x),i=o=Math.round(y-p-x),_(p)?s.horiz?(i=h,o=y-s.bottom,n=r=e(n,c,c+s.width)):(n=c,r=b-s.right,i=o=e(i,h,h+s.height)):(a=!0,v=!1),t.path=a&&!v?null:l.renderer.crispLine([["M",n,i],["L",r,o]],g||1)}),t.path},t.prototype.getLinearTickPositions=function(t,e,n){var i=h(Math.floor(e/t)*t);n=h(Math.ceil(n/t)*t);var r,o=[];if(h(i+t)===i&&(r=20),this.single)return[e];for(e=i;e<=n&&(o.push(e),(e=h(e+t,r))!==a);)var a=e;return o},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?T(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,n=this.minorTickInterval,i=[],r=this.pointRangePadding||0,o=this.min-r,a=(r=this.max+r)-o;if(a&&a/n=this.minRange,h=this.minRange,f=(h-a+o)/2;f=[o-f,T(r.min,o-f)],u&&(f[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),a=[(o=l(f))+h,T(r.max,o+h)],u&&(a[2]=s?s.log2lin(this.dataMax):this.dataMax),(a=c(a))-o=g)w=g,l=0;else if(e.dataMax<=g){var C=g;s=0}e.min=T(b,w,e.dataMin),e.max=T(x,C,e.dataMax)}i&&(e.positiveValuesOnly&&!t&&0>=Math.min(e.min,T(e.dataMin,e.min))&&p(10,1,n),e.min=h(i.log2lin(e.min),16),e.max=h(i.log2lin(e.max),16)),e.range&&d(e.max)&&(e.userMin=e.min=b=Math.max(e.dataMin,e.minFromRange()),e.userMax=x=e.max,e.range=null),m(e,"foundExtremes"),e.beforePadding&&e.beforePadding(),e.adjustForMinRange(),!(f||e.axisPointRange||e.stacking&&e.stacking.usePercentage||a)&&d(e.min)&&d(e.max)&&(n=e.max-e.min)&&(!d(b)&&l&&(e.min-=n*l),!d(x)&&s&&(e.max+=n*s)),_(e.userMin)||(_(r.softMin)&&r.softMine.max&&(e.max=x=r.softMax),_(r.ceiling)&&(e.max=Math.min(e.max,r.ceiling))),v&&d(e.dataMin)&&(g=g||0,!d(b)&&e.min=g?e.min=e.options.minRange?Math.min(g,e.max-e.minRange):g:!d(x)&&e.max>g&&e.dataMax<=g&&(e.max=e.options.minRange?Math.max(g,e.min+e.minRange):g)),e.tickInterval=e.min===e.max||void 0===e.min||void 0===e.max?1:a&&!c&&u===e.linkedParent.options.tickPixelInterval?c=e.linkedParent.tickInterval:T(c,this.tickAmount?(e.max-e.min)/Math.max(this.tickAmount-1,1):void 0,f?1:(e.max-e.min)*u/Math.max(e.len,u)),o&&!t&&e.series.forEach(function(t){t.processData(e.min!==e.oldMin||e.max!==e.oldMax)}),e.setAxisTranslation(!0),m(this,"initialAxisTranslation"),e.pointRange&&!c&&(e.tickInterval=Math.max(e.pointRange,e.tickInterval)),t=T(r.minTickInterval,e.dateTime&&!e.series.some(function(t){return t.noSharedTooltip})?e.closestPointRange:0),!c&&e.tickIntervale.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(e.tickInterval=e.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,n=this.getMinorTickInterval(),i=t.tickPositioner,r=this.hasVerticalPanning(),o="colorAxis"===this.coll,a=(o||!r)&&t.startOnTick;r=(o||!r)&&t.endOnTick,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===n&&this.tickInterval?this.tickInterval/5:n,this.single=this.min===this.max&&d(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=n=e&&e.slice(),!n&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?n=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(n=[this.min,this.max],p(19,!1,this.chart)),n.length>this.len&&((n=[n[0],n.pop()])[0]===n[1]&&(n.length=1)),this.tickPositions=n,i&&(i=i.apply(this,[this.min,this.max])))&&(this.tickPositions=n=i),this.paddedTicks=n.slice(0),this.trimTicks(n,a,r),this.isLinked||(this.single&&2>n.length&&!this.categories&&!this.series.some(function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement})&&(this.min-=.5,this.max+=.5),e||i||this.adjustTickAmount()),m(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,n){var i=t[0],r=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(m(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==i)this.min=i;else for(;this.min-o>t[0];)t.shift();if(n)this.max=r;else for(;this.max+oe&&(this.finalTickAmt=e,e=5),this.tickAmount=e},t.prototype.adjustTickAmount=function(){var t,e=this.options,n=this.tickInterval,i=this.tickPositions,r=this.tickAmount,o=this.finalTickAmt,a=i&&i.length,s=T(this.threshold,this.softThreshold?0:null);if(this.hasData()){if(ar&&(this.tickInterval*=2,this.setTickPositions());if(d(o)){for(n=e=i.length;n--;)(3===o&&1==n%2||2>=o&&0s&&(e=s)),d(r)&&(os&&(o=s))),n.displayBtn=void 0!==e||void 0!==o,n.setExtremes(e,o,!1,void 0,{trigger:"zoom"})),t.zoomed=!0}),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],i=this.horiz,r=this.width=Math.round(M(T(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),o=this.height=Math.round(M(T(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),a=this.top=Math.round(M(T(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(M(T(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-o-a,this.right=t.chartWidth-r-e,this.len=Math.max(i?r:o,0),this.pos=i?e:a},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?h(t.lin2log(this.min)):this.min,max:t?h(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,n=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=n:1/0===t?t=e:n>t?t=n:ee?t.align="right":195e&&(t.align="left")}),t.align},t.prototype.tickSize=function(t){var e=this.options,n=e["tick"===t?"tickLength":"minorTickLength"],i=T(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0);if(i&&n){"inside"===e[t+"Position"]&&(n=-n);var r=[n,i]}return m(this,"afterTickSize",t={tickSize:r}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,n,i=this.options.labels,r=this.horiz,o=this.tickInterval,a=o,s=this.len/(((this.categories?1:0)+this.max-this.min)/o),l=i.rotation,c=this.labelMetrics(),u=Number.MAX_VALUE,f=this.max-this.min,p=function(t){var e=t/(s||1);return(e=1f&&1/0!==t&&1/0!==s&&f&&(e=Math.ceil(f/o)),h(e*o)};return r?(n=!i.staggerLines&&!i.step&&(d(l)?[l]:s=n){var i=(e=p(Math.abs(c.h/Math.sin(I*n))))+Math.abs(n/360);i(r.step||0))return r.rotation?0:(this.staggerLines||1)*this.len/o;if(!i){if(void 0!==(t=null===(e=null===r||void 0===r?void 0:r.style)||void 0===e?void 0:e.width))return parseInt(t,10);if(a)return a-n.spacing[3]}return.33*n.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,n=this.tickPositions,i=this.ticks,r=this.options.labels,o=r&&r.style||{},a=this.horiz,s=this.getSlotWidth(),l=Math.max(1,Math.round(s-2*(r.padding||5))),c={},u=this.labelMetrics(),h=r.style&&r.style.textOverflow,d=0;if(w(r.rotation)||(c.rotation=r.rotation||0),n.forEach(function(t){(t=i[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>d&&(d=t.label.textPxLength)}),this.maxLabelLength=d,this.autoRotation)d>l&&d>u.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(s){var f=l;if(!h){var p="clip";for(l=n.length;!a&&l--;){var g=n[l];(g=i[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>s&&g.css({width:s+"px"}),g.getBBox().height>this.len/n.length-(u.h-u.f)&&(g.specificTextOverflow="ellipsis"))}}}c.rotation&&(f=d>.5*t.chartHeight?.33*t.chartHeight:d,h||(p="ellipsis")),(this.labelAlign=r.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),n.forEach(function(t){var e=(t=i[t])&&t.label,n=o.width,r={};e&&(e.attr(c),t.shortenLabel?t.shortenLabel():f&&!n&&"nowrap"!==o.whiteSpace&&(f=this.min&&t<=this.max||null!==(n=this.grid)&&void 0!==n&&n.isColumn)&&(o[t]||(o[t]=new i(this,t)),a&&o[t].isNew&&o[t].render(e,!0,-1),o[t].render(e))},t.prototype.render=function(){var t,e,r=this,o=r.chart,s=r.logarithmic,l=r.options,c=r.isLinked,u=r.tickPositions,h=r.axisTitle,d=r.ticks,f=r.minorTicks,p=r.alternateBands,g=l.stackLabels,v=l.alternateGridColor,y=r.tickmarkOffset,b=r.axisLine,x=r.showAxis,w=a(o.renderer.globalAnimation);r.labelEdge.length=0,r.overlap=!1,[d,f,p].forEach(function(t){k(t,function(t){t.isActive=!1})}),(r.hasData()||c)&&(r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach(function(t){r.renderMinorTick(t)}),u.length&&(u.forEach(function(t,e){r.renderTick(t,e)}),y&&(0===r.min||r.single)&&(d[-1]||(d[-1]=new i(r,-1,null,!0)),d[-1].render(-1))),v&&u.forEach(function(i,a){e=void 0!==u[a+1]?u[a+1]+y:r.max-y,0==a%2&&ie&&(!a||g<=n)&&void 0!==g&&u.push(g),g>n&&(d=!0);var g=p}}}else e=this.lin2log(e),n=this.lin2log(n),t=a?s.getMinorTickInterval():c.tickInterval,t=o("auto"===t?null:t,this.minorAutoInterval,c.tickPixelInterval/(a?5:1)*(n-e)/((a?l/s.tickPositions.length:l)||1)),t=r(t,void 0,i(t)),u=s.getLinearTickPositions(t,e,n).map(this.log2lin),a||(this.minorAutoInterval=t/5);return a||(s.tickInterval=t),u},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();return(e=function(){function t(){}return t.compose=function(t){t.keepProps.push("logarithmic");var e=t.prototype,i=a.prototype;e.log2lin=i.log2lin,e.lin2log=i.lin2log,n(t,"init",function(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:(e||(e=this.logarithmic=new a(this)),this.log2lin!==e.log2lin&&(e.log2lin=this.log2lin.bind(this)),this.lin2log!==e.lin2log&&(e.lin2log=this.lin2log.bind(this)))}),n(t,"afterInit",function(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})})},t}()).compose(t),e}),e(n,"Core/Axis/PlotLineOrBand.js",[n["Core/Axis/Axis.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(t,e,n){var i=n.arrayMax,r=n.arrayMin,o=n.defined,a=n.destroyObjectProperties,s=n.erase,l=n.extend,c=n.merge,u=n.objectEach,h=n.pick;return n=function(){function t(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return t.prototype.render=function(){e.fireEvent(this,"render");var t=this,n=t.axis,i=n.horiz,r=n.logarithmic,a=t.options,s=a.label,l=t.label,d=a.to,f=a.from,p=a.value,g=o(f)&&o(d),m=o(p),v=t.svgElem,y=!v,b=[],x=a.color,_=h(a.zIndex,0),w=a.events;b={class:"highcharts-plot-"+(g?"band ":"line ")+(a.className||"")};var C={},S=n.chart.renderer,k=g?"bands":"lines";if(r&&(f=r.log2lin(f),d=r.log2lin(d),p=r.log2lin(p)),n.chart.styledMode||(m?(b.stroke=x||"#999999",b["stroke-width"]=h(a.width,1),a.dashStyle&&(b.dashstyle=a.dashStyle)):g&&(b.fill=x||"#e6ebf5",a.borderWidth&&(b.stroke=a.borderColor,b["stroke-width"]=a.borderWidth))),C.zIndex=_,k+="-"+_,(r=n.plotLinesAndBandsGroups[k])||(n.plotLinesAndBandsGroups[k]=r=S.g("plot-"+k).attr(C).add()),y&&(t.svgElem=v=S.path().attr(b).add(r)),m)b=n.getPlotLinePath({value:p,lineWidth:v.strokeWidth(),acrossPanes:a.acrossPanes});else{if(!g)return;b=n.getPlotBandPath(f,d,a)}return!t.eventsAdded&&w&&(u(w,function(e,n){v.on(n,function(e){w[n].apply(t,[e])})}),t.eventsAdded=!0),(y||!v.d)&&b&&b.length?v.attr({d:b}):v&&(b?(v.show(!0),v.animate({d:b})):v.d&&(v.hide(),l&&(t.label=l=l.destroy()))),s&&(o(s.text)||o(s.formatter))&&b&&b.length&&0this.max&&e>this.max,n&&i){if(t){var s=n.toString()===i.toString();a=0}for(t=0;tt){l=s;break}if(a[l]&&o.substr(a[l])!=="01-01 00:00:00.000".substr(a[l]))break;"week"!==l&&(s=l)}if(l)var c=r.resolveDTLFormat(i[l]).main;return c},v.prototype.getLabel=function(){var e,n,i,a=this,s=this.chart.renderer,l=this.chart.styledMode,c=this.options,u="tooltip"+(o(c.className)?" "+c.className:""),h=(null===(e=c.style)||void 0===e?void 0:e.pointerEvents)||(!this.followPointer&&c.stickOnContact?"auto":"none");e=function(){a.inContact=!0};if(!this.label){if(this.outside&&(this.container=i=t.doc.createElement("div"),i.className="highcharts-tooltip-container",r(i,{position:"absolute",top:"1px",pointerEvents:h,zIndex:3}),t.doc.body.appendChild(i),this.renderer=s=new t.Renderer(i,0,0,null===(n=this.chart.options.chart)||void 0===n?void 0:n.style,void 0,void 0,s.styledMode)),this.split?this.label=s.g(u):(this.label=s.label("",0,0,c.shape||"callout",null,null,c.useHTML,null,u).attr({padding:c.padding,r:c.borderRadius}),l||this.label.attr({fill:c.backgroundColor,"stroke-width":c.borderWidth}).css(c.style).css({pointerEvents:h}).shadow(c.shadow)),l&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+this.chart.index)),a.outside&&!a.split){var d=this.label,f=d.xSetter,p=d.ySetter;d.xSetter=function(t){f.call(d,a.distance),i.style.left=t+"px"},d.ySetter=function(t){p.call(d,a.distance),i.style.top=t+"px"}}this.label.on("mouseenter",e).on("mouseleave",function(){var t=a.chart.hoverSeries;a.inContact=!1,t&&t.onMouseOut&&t.onMouseOut()}).attr({zIndex:8}).add()}return this.label},v.prototype.getPosition=function(t,e,i){var r,o=this.chart,a=this.distance,s={},l=o.inverted&&i.h||0,c=this.outside,u=c?n.documentElement.clientWidth-2*a:o.chartWidth,h=c?Math.max(n.body.scrollHeight,n.documentElement.scrollHeight,n.body.offsetHeight,n.documentElement.offsetHeight,n.documentElement.clientHeight):o.chartHeight,d=o.pointer.getChartPosition(),p=o.containerScaling,g=function(t){return p?t*p.scaleX:t},m=function(t){return p?t*p.scaleY:t},v=function(n){var r="x"===n;return[n,r?u:h,r?t:e].concat(c?[r?g(t):m(e),r?d.left-a+g(i.plotX+o.plotLeft):d.top-a+m(i.plotY+o.plotTop),0,r?u:h]:[r?t:e,r?i.plotX+o.plotLeft:i.plotY+o.plotTop,r?o.plotLeft:o.plotTop,r?o.plotLeft+o.plotWidth:o.plotTop+o.plotHeight])},y=v("y"),b=v("x"),x=!this.followPointer&&f(i.ttBelow,!o.inverted==!!i.negative),_=function(t){var e=y;y=b,b=e,r=t},w=function(){!1!==function(t,e,n,i,r,o,c){var u="y"===t?m(a):g(a),h=(n-i)/2,d=ip-l?p:p-l);else{if(!f)return!1;s[t]=Math.max(o,r+l+n>e?r:r+l)}}.apply(0,y)?!1!==function(t,e,n,i,r){var o;return re-a?o=!1:s[t]=re-i/2?e-i-2:r-n/2,o}.apply(0,b)||r||(_(!0),w()):r?s.x=s.y=0:(_(!0),w())};return(o.inverted||1=b+d&&O.pos+y<=b+d+c-v&&(E=O.pos+y);m=i(m,S.left-_,S.right+_),"number"==typeof E?(p=p.height+1,y=C?C.call(o,l,p,a):r(m,E,s,l),t.push({align:C?0:void 0,anchorX:m,anchorY:E,boxWidth:l,point:a,rank:f(y.rank,s?1:0),size:p,target:y.y,tt:e,x:y.x})):e.isActive=!1}return t},[]),!C&&e.some(function(t){return t.xn[0]?Math.max(Math.abs(n[0]),r.width-n[0]):Math.max(Math.abs(n[0]),r.width),i.height=0>n[1]?Math.max(Math.abs(n[1]),r.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),r.height),this.tracker?this.tracker.attr(i):(this.tracker=e.renderer.rect(i).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},v.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},v.prototype.tooltipFooterHeaderFormatter=function(t,e){var n=e?"footer":"header",i=t.series,r=i.tooltipOptions,o=r.xDateFormat,a=i.xAxis,s=a&&"datetime"===a.options.type&&u(t.key),h=r[n+"Format"];return l(this,"headerFormatter",e={isFooter:e,labelConfig:t},function(e){s&&!o&&(o=this.getXDateFormat(t,r,a)),s&&o&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach(function(t){h=h.replace("{point."+t+"}","{point."+t+":"+o+"}")}),i.chart.styledMode&&(h=this.styledModeFormat(h)),e.text=c(h,{point:t,series:i},this.chart)}),e.text},v.prototype.update=function(t){this.destroy(),d(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,d(!0,this.options,t))},v.prototype.updatePosition=function(t){var e=this.chart,n=e.pointer,i=this.getLabel(),o=t.plotX+e.plotLeft,a=t.plotY+e.plotTop;if(n=n.getChartPosition(),t=(this.options.positioner||this.getPosition).call(this,i.width,i.height,t),this.outside){var s=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(i.width+s,i.height+s,!1),(e=e.containerScaling)&&(r(this.container,{transform:"scale("+e.scaleX+", "+e.scaleY+")"}),o*=e.scaleX,a*=e.scaleY),o+=n.left-t.x,a+=n.top-t.y}this.move(Math.round(t.x),Math.round(t.y||0),o,a)},v}();return t.Tooltip=v,t.Tooltip}),e(n,"Core/Pointer.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Tooltip.js"],n["Core/Utilities.js"]],function(t,e,n,i){var r=t.parse,o=e.charts,a=e.noop,s=i.addEvent,l=i.attr,c=i.css,u=i.defined,h=i.extend,d=i.find,f=i.fireEvent,p=i.isNumber,g=i.isObject,m=i.objectEach,v=i.offset,y=i.pick,b=i.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.chart=t,this.hasDragged=!1,this.options=e,this.unbindContainerMouseLeave=function(){},this.unbindContainerMouseEnter=function(){},this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,n=[];(t||[]).forEach(function(t){e=t.series,n.push(e),e.linkedParent&&n.push(e.linkedParent),e.linkedSeries&&(n=n.concat(e.linkedSeries)),e.navigatorSeries&&n.push(e.navigatorSeries)}),this.chart.series.forEach(function(t){-1===n.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")})},t.prototype.destroy=function(){var t=this;void 0!==t.unDocMouseMove&&t.unDocMouseMove(),this.unbindContainerMouseLeave(),e.chartCount||(e.unbindDocumentMouseUp&&(e.unbindDocumentMouseUp=e.unbindDocumentMouseUp()),e.unbindDocumentTouchEnd&&(e.unbindDocumentTouchEnd=e.unbindDocumentTouchEnd())),clearInterval(t.tooltipTimeout),m(t,function(e,n){t[n]=void 0})},t.prototype.drag=function(t){var e=this.chart,n=e.options.chart,i=t.chartX,o=t.chartY,a=this.zoomHor,s=this.zoomVert,l=e.plotLeft,c=e.plotTop,u=e.plotWidth,h=e.plotHeight,d=this.selectionMarker,f=this.mouseDownX||0,p=this.mouseDownY||0,m=g(n.panning)?n.panning&&n.panning.enabled:n.panning,v=n.panKey&&t[n.panKey+"Key"];if((!d||!d.touch)&&(il+u&&(i=l+u),oc+h&&(o=c+h),this.hasDragged=Math.sqrt(Math.pow(f-i,2)+Math.pow(p-o,2)),10t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(n,r),(r=g(t,!0))&&!(r=!g(i,!0))){r=i.distX-t.distX;var o=i.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(i.series.group&&i.series.group.zIndex);r=0<(0!==r&&e?r:0!==o?o:0!==a?a:i.series.index>t.series.index?-1:1)}r&&(i=t)}),i)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var n=t.series,i=n.xAxis;n=n.yAxis;var r=y(t.clientX,t.plotX),o=t.shapeArgs;return i&&n?e?{chartX:i.len+i.pos-r,chartY:n.len+n.pos-t.plotY}:{chartX:r+i.pos,chartY:t.plotY+n.pos}:o&&o.x&&o.y?{chartX:o.x,chartY:o.y}:void 0},t.prototype.getChartPosition=function(){return this.chartPosition||(this.chartPosition=v(this.chart.container))},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach(function(n){e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])})}),e},t.prototype.getHoverData=function(t,e,n,i,r,o){var a,s=[];i=!(!i||!t);var l=e&&!e.stickyTracking,c={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:r};return f(this,"beforeGetHoverData",c),l=l?[e]:n.filter(function(t){return c.filter?c.filter(t):t.visible&&!(!r&&t.directTouch)&&y(t.options.enableMouseTracking,!0)&&t.stickyTracking}),e=(a=i||!o?t:this.findNearestKDPoint(l,r,o))&&a.series,a&&(r&&!e.noSharedTooltip?(l=n.filter(function(t){return c.filter?c.filter(t):t.visible&&!(!r&&t.directTouch)&&y(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip})).forEach(function(t){var e=d(t.points,function(t){return t.x===a.x&&!t.isNull});g(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),s.push(e))}):s.push(a)),f(this,"afterGetHoverData",c={hoverPoint:a}),{hoverPoint:c.hoverPoint,hoverSeries:e,hoverPoints:s}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var n;t;){if(n=l(t,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}t=t.parentNode}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=e.chart.events&&!!e.chart.events.click,this.pinchDown=[],this.lastValidTouch={},n&&(t.tooltip=new n(t,e.tooltip),this.followTouchMove=y(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var n=t.touches,i=n?n.length?n.item(0):y(n.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),n=i.pageX-e.left,e=i.pageY-e.top,(i=this.chart.containerScaling)&&(n/=i.scaleX,e/=i.scaleY),h(t,{chartX:Math.round(n),chartY:Math.round(e)})},t.prototype.onContainerClick=function(t){var e=this.chart,n=e.hoverPoint;t=this.normalize(t);var i=e.plotLeft,r=e.plotTop;e.cancelClick||(n&&this.inClass(t.target,"highcharts-tracker")?(f(n.series,"click",h(t,{point:n})),e.hoverPoint&&n.firePointEvent("click",t)):(h(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-i,t.chartY-r)&&f(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var n=1==(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||n)&&(this.zoomOption(t),n&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(t){var n=o[y(e.hoverChartIndex,-1)],i=this.chart.tooltip;t=this.normalize(t),n&&(t.relatedTarget||t.toElement)&&(n.pointer.reset(),n.pointer.chartPosition=void 0),i&&!i.isHidden&&this.reset()},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),"mousedown"===e.mouseIsDown&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)||this.runPointActions(t)},t.prototype.onDocumentTouchEnd=function(t){o[e.hoverChartIndex]&&o[e.hoverChartIndex].pointer.drop(t)},t.prototype.onContainerTouchMove=function(t){this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.zoomOption(t),this.touch(t,!0)},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,n=this.chartPosition;t=this.normalize(t,n);var i=e.tooltip;!n||i&&i.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(t){var n=o[y(e.hoverChartIndex,-1)];n&&n.pointer.drop(t)},t.prototype.pinch=function(t){var e=this,n=e.chart,i=e.pinchDown,r=t.touches||[],o=r.length,s=e.lastValidTouch,l=e.hasZoom,c=e.selectionMarker,u={},d=1===o&&(e.inClass(t.target,"highcharts-tracker")&&n.runTrackerClick||e.runChartClick),f={};1y.max&&(e=y.max-l,S=!0);S?(_-=.8*(_-a[h][0]),"number"==typeof C&&(C-=.8*(C-a[h][1])),n()):a[h]=[_,C],v||(o[h]=c-g,o[p]=l),o=v?1/m:m,r[p]=l,r[h]=e,i[v?t?"scaleY":"scaleX":"scale"+d]=m,i["translate"+d]=o*g+(_-o*x)},t.prototype.reset=function(t,e){var n=this.chart,i=n.hoverSeries,r=n.hoverPoint,o=n.hoverPoints,a=n.tooltip,s=a&&a.shared?o:r;t&&s&&b(s).forEach(function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)}),t?a&&s&&b(s).length&&(a.refresh(s),a.shared&&o?o.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):r&&(r.setState(r.state,!0),n.axes.forEach(function(t){t.crosshair&&r.series[t.coll]===t&&t.drawCrosshair(null,r)}))):(r&&r.onMouseOut(),o&&o.forEach(function(t){t.setState()}),i&&i.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach(function(t){t.hideCrosshair()}),this.hoverX=n.hoverPoints=n.hoverPoint=null)},t.prototype.runPointActions=function(t,n){var i=this.chart,r=i.tooltip&&i.tooltip.options.enabled?i.tooltip:void 0,a=!!r&&r.shared,l=n||i.hoverPoint,c=l&&l.series||i.hoverSeries;l=(c=this.getHoverData(l,c,i.series,(!t||"touchmove"!==t.type)&&(!!n||c&&c.directTouch&&this.isDirectTouch),a,t)).hoverPoint;var u=c.hoverPoints;if(n=(c=c.hoverSeries)&&c.tooltipOptions.followPointer,a=a&&c&&!c.noSharedTooltip,l&&(l!==i.hoverPoint||r&&r.isHidden)){if((i.hoverPoints||[]).forEach(function(t){-1===u.indexOf(t)&&t.setState()}),i.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(u),(u||[]).forEach(function(t){t.setState("hover")}),i.hoverPoint&&i.hoverPoint.firePointEvent("mouseOut"),!l.series)return;i.hoverPoints=u,i.hoverPoint=l,l.firePointEvent("mouseOver"),r&&r.refresh(a?u:l,t)}else n&&r&&!r.isHidden&&(l=r.getAnchor([{}],t),r.updatePosition({plotX:l[0],plotY:l[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(i.container.ownerDocument,"mousemove",function(t){var n=o[e.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(t)})),i.axes.forEach(function(e){var n,r=y((e.crosshair||{}).snap,!0);r&&((n=i.hoverPoint)&&n.series[e.coll]===e||(n=d(u,function(t){return t.series[e.coll]===e}))),n||!r?e.drawCrosshair(t,n):e.hideCrosshair()})},t.prototype.scaleGroups=function(t,e){var n,i=this.chart;i.series.forEach(function(r){n=t||r.getPlotBox(),r.xAxis&&r.xAxis.zoomEnabled&&r.group&&(r.group.attr(n),r.markerGroup&&(r.markerGroup.attr(n),r.markerGroup.clip(e?i.clipRect:null)),r.dataLabelsGroup&&r.dataLabelsGroup.attr(n))}),i.clipRect.attr(e||i.clipBox)},t.prototype.setDOMEvents=function(){var t=this.chart.container,n=t.ownerDocument;t.onmousedown=this.onContainerMouseDown.bind(this),t.onmousemove=this.onContainerMouseMove.bind(this),t.onclick=this.onContainerClick.bind(this),this.unbindContainerMouseEnter=s(t,"mouseenter",this.onContainerMouseEnter.bind(this)),this.unbindContainerMouseLeave=s(t,"mouseleave",this.onContainerMouseLeave.bind(this)),e.unbindDocumentMouseUp||(e.unbindDocumentMouseUp=s(n,"mouseup",this.onDocumentMouseUp.bind(this))),e.hasTouch&&(s(t,"touchstart",this.onContainerTouchStart.bind(this)),s(t,"touchmove",this.onContainerTouchMove.bind(this)),e.unbindDocumentTouchEnd||(e.unbindDocumentTouchEnd=s(n,"touchend",this.onDocumentTouchEnd.bind(this))))},t.prototype.setHoverChartIndex=function(){var t=this.chart,n=e.charts[y(e.hoverChartIndex,-1)];n&&n!==t&&n.pointer.onContainerMouseLeave({relatedTarget:!0}),n&&n.mouseIsDown||(e.hoverChartIndex=t.index)},t.prototype.touch=function(t,e){var n=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),n.isInsidePlot(t.chartX-n.plotLeft,t.chartY-n.plotTop)&&!n.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var i=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));y(i,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.zoomOption=function(t){var e=this.chart,n=e.options.chart,i=n.zoomType||"";e=e.inverted,/touch/.test(t.type)&&(i=y(n.pinchType,i)),this.zoomX=t=/x/.test(i),this.zoomY=i=/y/.test(i),this.zoomHor=t&&!e||i&&e,this.zoomVert=i&&!e||t&&e,this.hasZoom=t||i},t}(),e.Pointer=t}),e(n,"Core/MSPointer.js",[n["Core/Globals.js"],n["Core/Pointer.js"],n["Core/Utilities.js"]],function(t,e,n){function i(e,n,i,r){"touch"!==e.pointerType&&e.pointerType!==e.MSPOINTER_TYPE_TOUCH||!o[t.hoverChartIndex]||(r(e),(r=o[t.hoverChartIndex].pointer)[n]({type:i,target:e.currentTarget,preventDefault:s,touches:function(){var t=[];return t.item=function(t){return this[t]},u(d,function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})}),t}()}))}var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=t.charts,a=t.doc,s=t.noop,l=n.addEvent,c=n.css,u=n.objectEach,h=n.removeEvent,d={},f=!!t.win.PointerEvent;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.batchMSEvents=function(t){t(this.chart.container,f?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,f?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(a,f?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},e.prototype.destroy=function(){this.batchMSEvents(h),t.prototype.destroy.call(this)},e.prototype.init=function(e,n){t.prototype.init.call(this,e,n),this.hasZoom&&c(e.container,{"-ms-touch-action":"none","touch-action":"none"})},e.prototype.onContainerPointerDown=function(t){i(t,"onContainerTouchStart","touchstart",function(t){d[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},e.prototype.onContainerPointerMove=function(t){i(t,"onContainerTouchMove","touchmove",function(t){d[t.pointerId]={pageX:t.pageX,pageY:t.pageY},d[t.pointerId].target||(d[t.pointerId].target=t.currentTarget)})},e.prototype.onDocumentPointerUp=function(t){i(t,"onDocumentTouchEnd","touchend",function(t){delete d[t.pointerId]})},e.prototype.setDOMEvents=function(){t.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(l)},e}(e)}),e(n,"Core/Legend.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(t,e,n){var i=t.animObject,r=t.setAnimation,o=n.addEvent,a=n.css,s=n.defined,l=n.discardElement,c=n.find,u=n.fireEvent,h=n.format,d=n.isNumber,f=n.merge,p=n.pick,g=n.relativeLength,m=n.stableSort,v=n.syncTimeout;t=n.wrap,n=e.isFirefox;var y=e.marginNames,b=e.win,x=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,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={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),o(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=o(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=p(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=f(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=p(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var n=this.chart;this.setOptions(f(!0,this.options,t)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,p(e,!0)&&n.redraw(),u(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var n=this.options,i=t.legendItem,r=t.legendLine,o=t.legendSymbol,a=this.itemHiddenStyle.color;n=e?n.itemStyle.color:a;var s=e&&t.color||a,l=t.options&&t.options.marker,c={fill:s};i&&i.css({fill:n,color:n}),r&&r.attr({stroke:s}),o&&(l&&o.isMarker&&(c=t.pointAttribs(),e||(c.stroke=c.fill=a)),o.attr(c))}u(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,n=this.options,i=n.symbolPadding,r=!n.rtl,o=t._legendItemPos;n=o[0],o=o[1];var a=t.checkbox,l=t.legendGroup;l&&l.element&&(i={translateX:r?n:this.legendWidth-n-2*i-4,translateY:o},r=function(){u(e,"afterPositionItem",{item:t})},s(l.translateY)?l.animate(i,void 0,r):(l.attr(i),r())),a&&(a.x=n,a.y=o)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(e){t[e]&&(t[e]=t[e].destroy())}),e&&l(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach(function(e){["legendItem","legendGroup"].forEach(t,e)}),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,n=this.titleHeight;if(t){var i=t.translateY;this.allItems.forEach(function(r){var o=r.checkbox;if(o){var s=i+n+o.y+(this.scrollOffset||0)+3;a(o,{left:t.translateX+r.checkboxOffset+o.x-20+"px",top:s+"px",display:this.proximate||s>i-6&&sl?this.maxItemWidth:t.itemWidth,i&&this.itemX-n+e>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=a+this.itemY+o,this.lastLineHeight=Math.max(r,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],i?this.itemX+=e:(this.itemY+=a+r+o,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((i?this.itemX-n-(t.checkbox?0:s):e)+n,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach(function(e){var n=e&&e.options;e&&p(n.showInLegend,!s(n.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===n.legendType?e.data:e)))}),u(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var n=this.chart,i=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(o,a){o.test(r)&&!s(t[a])&&(n[y[a]]=Math.max(n[y[a]],n.legend[(a+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][a]*i[a%2?"x":"y"]+p(i.margin,12)+e[a]+(n.titleOffset[a]||0)))})},t.prototype.proximatePositions=function(){var t=this.chart,n=[],i="left"===this.options.align;this.allItems.forEach(function(e){var r,o=i;if(e.yAxis){e.xAxis.options.reversed&&(o=!o),e.points&&(r=c(o?e.points:e.points.slice(0).reverse(),function(t){return d(t.plotY)})),o=this.itemMarginTop+e.legendItem.getBBox().height+this.itemMarginBottom;var a=e.yAxis.top-t.plotTop;e.visible?(r=r?r.plotY:e.yAxis.height,r+=a-.3*o):r=a+e.yAxis.height,n.push({target:r,size:o,item:e})}},this),e.distribute(n,t.plotHeight),n.forEach(function(e){e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos})},t.prototype.render=function(){var t=this.chart,e=t.renderer,n=this.group,i=this.box,r=this.options,o=this.padding;this.itemX=o,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=g(r.width,t.spacingBox.width-o);var a=t.spacingBox.width-2*o-r.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(a/=2),this.maxLegendWidth=this.widthOption||a,n||(this.group=n=e.g("legend").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(n),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle();var s=this.getAllItems();m(s,function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),r.reversed&&s.reverse(),this.allItems=s,this.display=a=!!s.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,s.forEach(this.renderItem,this),s.forEach(this.layoutItem,this),s=(this.widthOption||this.offsetWidth)+o;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=o,i||(this.box=i=e.rect().addClass("highcharts-legend-box").attr({r:r.borderRadius}).add(n),i.isNew=!0),t.styledMode||i.attr({stroke:r.borderColor,"stroke-width":r.borderWidth||0,fill:r.backgroundColor||"none"}).shadow(r.shadow),0o&&!1!==h.enabled?(this.clipHeight=s=Math.max(o-20-this.titleHeight-a,0),this.currentPage=p(this.currentPage,1),this.fullHeight=t,v.forEach(function(t,e){var n=t._legendItemPos[1],i=Math.round(t.legendItem.getBBox().height),r=m.length;(!r||n-m[r-1]>s&&(l||n)!==m[r-1])&&(m.push(l||n),r++),t.pageIx=r-1,l&&(v[e-1].pageIx=r-1),e===v.length-1&&n+i-m[r-1]>s&&n!==l&&(m.push(n),t.pageIx=r),n!==l&&(l=n)}),u||(u=e.clipRect=i.clipRect(0,a,9999,0),e.contentGroup.clip(u)),y(s),g||(this.nav=g=i.g().attr({zIndex:1}).add(this.group),this.up=i.symbol("triangle",0,0,f,f).add(g),b("upTracker").on("click",function(){e.scroll(-1,d)}),this.pager=i.text("",15,10).addClass("highcharts-legend-navigation"),n.styledMode||this.pager.css(h.style),this.pager.add(g),this.down=i.symbol("triangle-down",0,0,f,f).add(g),b("downTracker").on("click",function(){e.scroll(1,d)})),e.scroll(0),t=o):g&&(y(),this.nav=g.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var n=this,o=this.chart,a=this.pages,s=a.length,l=this.currentPage+t;t=this.clipHeight;var c=this.options.navigation,h=this.pager,d=this.padding;l>s&&(l=s),0=n.value;)n=e[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},t.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},t.prototype.init=function(t,e,n){return this.series=t,this.applyOptions(e,n),this.id=r(this.id)?this.id:m(),this.resolveColor(),t.chart.pointCount++,s(this,"afterInit"),this},t.prototype.optionsToObject=function(e){var n={},i=this.series,r=i.options.keys,o=r||i.pointArrayMap||["y"],a=o.length,s=0,l=0;if(h(e)||null===e)n[o[0]]=e;else if(u(e))for(!r&&e.length>a&&("string"===(i=typeof e[0])?n.name=e[0]:"number"===i&&(n.x=e[0]),s++);l=D(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return D(e,t.length-1)},bindAxes:function(){var t,e=this,n=e.options,i=e.chart;x(this,"bindAxes",null,function(){(e.axisTypes||[]).forEach(function(r){i[r].forEach(function(i){t=i.options,(n[r]===t.index||void 0!==n[r]&&n[r]===t.id||void 0===n[r]&&0===t.index)&&(e.insert(i.series),e[r]=i,i.isDirty=!0)}),e[r]||e.optionalAxis===r||v(18,!0,i)})}),x(this,"afterBindAxes")},updateParallelArrays:function(t,e){var n=t.series,i=arguments,r=S(e)?function(i){var r="y"===i&&n.toYData?n.toYData(t):t[i];n[i+"Data"][e]=r}:function(t){Array.prototype[e].apply(n[t+"Data"],Array.prototype.slice.call(i,2))};n.parallelArrays.forEach(r)},hasData:function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0=this.cropStart?c-this.cropStart:c),!n&&o[c]&&o[c].touched&&(c=void 0),c},drawLegendSymbol:i.drawLineMarker,updateData:function(t,e){var n,i,r,o=this.options,a=o.dataSorting,s=this.points,l=[],c=this.requireSorting,u=t.length===s.length,d=!0;if(this.xIncrement=null,t.forEach(function(t,e){var i=g(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},h=i.x;i.id||S(h)?(-1===(h=this.findPointIndex(i,r))||void 0===h?l.push(t):s[h]&&t!==o.data[h]?(s[h].update(t,!1,null,!1),s[h].touched=!0,c&&(r=h+1)):s[h]&&(s[h].touched=!0),(!u||e!==h||a&&a.enabled||this.hasDerivedData)&&(n=!0)):l.push(t)},this),n)for(t=s.length;t--;)(i=s[t])&&!i.touched&&i.remove&&i.remove(!1,e);else!u||a&&a.enabled?d=!1:(t.forEach(function(t,e){s[e].update&&t!==s[e].y&&s[e].update(t,!1,null,!1)}),l.length=0);return s.forEach(function(t){t&&(t.touched=!1)}),!!d&&(l.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=h(this.xData),this.autoIncrement()),!0)},setData:function(t,e,n,i){var r,o=this,a=o.points,s=a&&a.length||0,l=o.options,c=o.chart,u=l.dataSorting,h=null,d=o.xAxis;h=l.turboThreshold;var f,p=this.xData,g=this.yData,m=(r=o.pointArrayMap)&&r.length,y=l.keys,b=0,x=1;if(r=(t=t||[]).length,e=D(e,!0),u&&u.enabled&&(t=this.sortData(t)),!1!==i&&r&&s&&!o.cropped&&!o.hasGroupedData&&o.visible&&!o.isSeriesBoosting&&(f=this.updateData(t,n)),!f){if(o.xIncrement=null,o.colorCounter=0,this.parallelArrays.forEach(function(t){o[t+"Data"].length=0}),h&&r>h)if(h=o.getFirstValidPoint(t),S(h))for(n=0;nt?1:0}).forEach(function(t,e){t.x=e},this),e.linkedSeries&&e.linkedSeries.forEach(function(e){var n=e.options,r=n.data;n.dataSorting&&n.dataSorting.enabled||!r||(r.forEach(function(n,o){r[o]=i(e,n),t[o]&&(r[o].x=t[o].x,r[o].index=o)}),e.setData(r,!1))}),t},getProcessedData:function(t){var e=this.xData,n=this.yData,i=e.length,r=0,o=this.xAxis,a=this.options,s=a.cropThreshold,l=t||this.getExtremesFromAll||a.getExtremesFromAll,c=this.isCartesian;t=o&&o.val2lin,a=!(!o||!o.logarithmic);var u=this.requireSorting;if(o)var h=(o=o.getExtremes()).min,d=o.max;if(c&&this.sorted&&!l&&(!s||i>s||this.forceCrop))if(e[i-1]d)e=[],n=[];else if(this.yData&&(e[0]d)){e=(r=this.cropData(this.xData,this.yData,h,d)).xData,n=r.yData,r=r.start;var f=!0}for(s=e.length||1;--s;)if(0<(i=a?t(e[s])-t(e[s-1]):e[s]-e[s-1])&&(void 0===p||ii&&u&&(v(15,!1,this.chart),u=!1);return{xData:e,yData:n,cropped:f,cropStart:r,closestPointRange:p}},processData:function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange},cropData:function(t,e,n,i,r){var o,a=t.length,s=0,l=a;for(r=D(r,this.cropShoulder),o=0;o=n){s=Math.max(0,o-r);break}for(n=o;ni){l=n+r;break}return{xData:t.slice(s,l),yData:e.slice(s,l),start:s,end:l}},generatePoints:function(){var t,e=this.options,n=e.data,i=this.data,r=this.processedXData,o=this.processedYData,a=this.pointClass,s=r.length,l=this.cropStart||0,c=this.hasGroupedData;e=e.keys;var u,h=[];for(i||c||((i=[]).length=n.length,i=this.data=i),e&&c&&(this.options.keys=!1),u=0;u=l&&(o[n-u]||p)<=c,m&&p)if(m=g.length)for(;m--;)S(g[m])&&(a[s++]=g[m]);else a[s++]=g}return t={dataMin:d(a),dataMax:h(a)},x(this,"afterGetExtremes",{dataExtremes:t}),t},applyExtremes:function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},getFirstValidPoint:function(t){for(var e=null,n=t.length,i=0;null===e&&i=T&&(T=null),_.total=_.stackTotal=O.total,_.percentage=O.total&&_.y/O.total*100,_.stackY=k,this.irregularWidths||O.setOffset(this.pointXOffset||0,this.barW||0)),_.yBottom=g(T)?f(s.translate(T,0,1,0,1),-1e5,1e5):null,u&&(k=this.modifyValue(k,_)),_.plotY="number"==typeof k&&1/0!==k?f(s.translate(k,0,1,0,1),-1e5,1e5):void 0,_.isInside=this.isPointInside(_),_.clientX=d?p(r.translate(C,0,0,0,1,h)):e,_.negative=_[y]<(n[y+"Threshold"]||m||0),_.category=o&&void 0!==o[_.x]?o[_.x]:_.x,!_.isNull&&!1!==_.visible){void 0!==I&&(b=Math.min(b,Math.abs(e-I)));var I=e}_.zone=this.zones.length&&_.getZone(),!_.graphic&&this.group&&a&&(_.isNew=!0)}this.closestPointRangePx=b,x(this,"afterTranslate")},getValidPoints:function(t,e,n){var i=this.chart;return(t||this.points||[]).filter(function(t){return!(e&&!i.isInsidePlot(t.plotX,t.plotY,i.inverted))&&(!1!==t.visible&&(n||!t.isNull))})},getClipBox:function(t,e){var n=this.options,i=this.chart,r=i.inverted,o=this.xAxis,a=o&&this.yAxis,s=i.options.chart.scrollablePlotArea||{};return t&&!1===n.clip&&a?t=r?{y:-i.chartWidth+a.len+a.pos,height:i.chartWidth,width:i.chartHeight,x:-i.chartHeight+o.len+o.pos}:{y:-a.pos,height:i.chartHeight,width:i.chartWidth,x:-o.pos}:(t=this.clipBox||i.clipBox,e&&(t.width=i.plotSizeX,t.x=(i.scrollablePixelsX||0)*(s.scrollPositionX||0))),e?{width:t.width,x:t.x}:t},setClip:function(t){var e=this.chart,n=this.options,i=e.renderer,r=e.inverted,o=this.clipBox,a=this.getClipBox(t),s=this.sharedClipKey||["_sharedClip",t&&t.duration,t&&t.easing,a.height,n.xAxis,n.yAxis].join(),l=e[s],c=e[s+"m"];t&&(a.width=0,r&&(a.x=e.plotHeight+(!1!==n.clip?0:e.plotTop))),l?e.hasLoaded||l.attr(a):(t&&(e[s+"m"]=c=i.clipRect(r?e.plotSizeX+99:-99,r?-e.plotLeft:-e.plotTop,99,r?e.chartWidth:e.chartHeight)),e[s]=l=i.clipRect(a),l.count={length:0}),t&&!l.count[this.index]&&(l.count[this.index]=!0,l.count.length+=1),(!1!==n.clip||t)&&(this.group.clip(t||o?l:e.clipRect),this.markerGroup.clip(c),this.sharedClipKey=s),t||(l.count[this.index]&&(delete l.count[this.index],--l.count.length),0===l.count.length&&s&&e[s]&&(o||(e[s]=e[s].destroy()),e[s+"m"]&&(e[s+"m"]=e[s+"m"].destroy())))},animate:function(t){var e=this.chart,n=l(this.options.animation);if(!e.hasRendered)if(t)this.setClip(n);else{var i=this.sharedClipKey;t=e[i];var r=this.getClipBox(n,!0);t&&t.animate(r,n),e[i+"m"]&&e[i+"m"].animate({width:r.width+99,x:r.x-(e.inverted?0:99)},n)}},afterAnimate:function(){this.setClip(),x(this,"afterAnimate"),this.finishedAnimating=!0},drawPoints:function(){var t,e,n=this.points,i=this.chart,r=this.options.marker,o=this[this.specialGroup]||this.markerGroup,a=this.xAxis,s=D(r.enabled,!(a&&!a.isRadial)||null,this.closestPointRangePx>=r.enabledThreshold*r.radius);if(!1!==r.enabled||this._hasPointMarkers)for(t=0;to&&e.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)})},getZonesGraphs:function(t){return this.zones.forEach(function(e,n){n=["zone-graph-"+n,"highcharts-graph highcharts-zone-graph-"+n+" "+(e.className||"")],this.chart.styledMode||n.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(n)},this),t},applyZones:function(){var t,e,n,i,r,o,a,s,l=this,c=this.chart,u=c.renderer,h=this.zones,d=this.clips||[],p=this.graph,g=this.area,m=Math.max(c.chartWidth,c.chartHeight),v=this[(this.zoneAxis||"y")+"Axis"],y=c.inverted,b=!1;if(h.length&&(p||g)&&v&&void 0!==v.min){var x=v.reversed,_=v.horiz;p&&!this.showLine&&p.hide(),g&&g.hide();var w=v.getExtremes();h.forEach(function(h,C){t=x?_?c.plotWidth:0:_?0:v.toPixels(w.min)||0,t=f(D(e,t),0,m),e=f(Math.round(v.toPixels(D(h.value,w.max),!0)||0),0,m),b&&(t=e=v.toPixels(w.max)),i=Math.abs(t-e),r=Math.min(t,e),o=Math.max(t,e),v.isXAxis?(n={x:y?o:r,y:0,width:i,height:m},_||(n.x=c.plotHeight-n.x)):(n={x:0,y:y?o:r,width:m,height:i},_&&(n.y=c.plotWidth-n.y)),y&&u.isVML&&(n=v.isXAxis?{x:0,y:x?r:o,height:n.width,width:c.chartWidth}:{x:n.y-c.plotLeft-c.spacingBox.x,y:0,width:n.height,height:c.chartHeight}),d[C]?d[C].animate(n):d[C]=u.clipRect(n),a=l["zone-area-"+C],s=l["zone-graph-"+C],p&&s&&s.clip(d[C]),g&&a&&a.clip(d[C]),b=h.value>w.max,l.resetZones&&0===e&&(e=void 0)}),this.clips=d}else l.visible&&(p&&p.show(!0),g&&g.show(!0))},invertGroups:function(t){function e(){["group","markerGroup"].forEach(function(e){n[e]&&(i.renderer.isVML&&n[e].attr({width:n.yAxis.len,height:n.xAxis.len}),n[e].width=n.yAxis.len,n[e].height=n.xAxis.len,n[e].invert(!n.isRadialSeries&&t))})}var n=this,i=n.chart;n.xAxis&&(n.eventsToUnbind.push(u(i,"resize",e)),e(),n.invertGroups=e)},plotGroup:function(t,e,n,i,r){var o=this[t],a=!o;return n={visibility:n,zIndex:i||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(n.opacity=this.opacity),a&&(this[t]=o=this.chart.renderer.g().add(r)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(g(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(n)[a?"attr":"animate"](this.getPlotBox()),o},getPlotBox:function(){var t=this.chart,e=this.xAxis,n=this.yAxis;return t.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:n?n.top:t.plotTop,scaleX:1,scaleY:1}},removeEvents:function(t){t?this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(t){t()}),this.eventsToUnbind.length=0):A(this)},render:function(){var t=this,e=t.chart,n=t.options,i=l(n.animation),r=!t.finishedAnimating&&e.renderer.isSVG&&i.duration,o=t.visible?"inherit":"hidden",a=n.zIndex,s=t.hasRendered,c=e.seriesGroup,u=e.inverted;x(this,"render");var h=t.plotGroup("group","series",o,a,c);t.markerGroup=t.plotGroup("markerGroup","markers",o,a,c),r&&t.animate&&t.animate(!0),h.inverted=!(!t.isCartesian&&!t.invertable)&&u,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(u),!1===n.clip||t.sharedClipKey||s||h.clip(e.clipRect),r&&t.animate&&t.animate(),s||(r&&i.defer&&(r+=i.defer),t.animationTimeout=E(function(){t.afterAnimate()},r||0)),t.isDirty=!1,t.hasRendered=!0,x(t,"afterRender")},redraw:function(){var t=this.chart,e=this.isDirty||this.isDirtyData,n=this.group,i=this.xAxis,r=this.yAxis;n&&(t.inverted&&n.attr({width:t.plotWidth,height:t.plotHeight}),n.animate({translateX:D(i&&i.left,t.plotLeft),translateY:D(r&&r.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},kdAxisArray:["clientX","plotY"],searchPoint:function(t,e){var n=this.xAxis,i=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:r?i.len-t.chartX+i.pos:t.chartY-i.pos},e,t)},buildKDTree:function(t){this.buildingKdTree=!0;var e=this,n=-1(u=e[u]-c[u])?"left":"right",d=0>u?"right":"left",n[f]&&(h=(f=t(e,n[f],s+1,l))[a]f;)p--;this.updateParallelArrays(d,"splice",p,0,0),this.updateParallelArrays(d,p),l&&d.name&&(l[f]=d.name),u.splice(p,0,t),c&&(this.data.splice(p,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),n&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(d,"shift"),u.shift())),!1!==r&&_(this,"addPoint",{point:d}),this.isDirtyData=this.isDirty=!0,e&&s.redraw(i)},removePoint:function(t,e,n){var i=this,r=i.data,o=r[t],a=i.points,s=i.chart,l=function(){a&&a.length===r.length&&a.splice(t,1),r.splice(t,1),i.options.data.splice(t,1),i.updateParallelArrays(o||{series:i},"splice",t,1),o&&o.destroy(),i.isDirty=!0,i.isDirtyData=!0,e&&s.redraw()};h(n,s),e=D(e,!0),o?o.firePointEvent("remove",null,l):l()},remove:function(t,e,n,i){function r(){o.destroy(i),o.remove=null,a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),D(t,!0)&&a.redraw(e)}var o=this,a=o.chart;!1!==n?_(o,"remove",null,r):r()},update:function(t,e){t=r.cleanRecursively(t,this.userOptions),_(this,"update",{options:t});var n,i=this,o=i.chart,a=i.userOptions,s=i.initialType||i.type,l=o.options.plotOptions,c=t.type||a.type||o.options.chart.type,u=!(this.hasDerivedData||c&&c!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||i.hasOptionChanged("dataGrouping")||i.hasOptionChanged("pointStart")||i.hasOptionChanged("pointInterval")||i.hasOptionChanged("pointIntervalUnit")||i.hasOptionChanged("keys")),h=d[s].prototype,f=["eventOptions","navigatorSeries","baseSeries"],p=i.finishedAnimating&&{animation:!1},g={};for(n in u&&(f.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&f.push("area","graph"),i.parallelArrays.forEach(function(t){f.push(t+"Data")}),t.data&&(t.dataSorting&&x(i.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=T(a,p,{index:void 0===a.index?i.index:a.index,pointStart:D(l&&l.series&&l.series.pointStart,a.pointStart,i.xData[0])},!u&&{data:i.options.data},t),u&&t.data&&(t.data=i.options.data),(f=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(f)).forEach(function(t){f[t]=i[t],delete i[t]}),i.remove(!1,null,!1,!0),h)i[n]=void 0;if(d[c||s]?x(i,d[c||s].prototype):b(17,!0,o,{missingModuleFor:c||s}),f.forEach(function(t){i[t]=f[t]}),i.init(o,t),u&&this.points){var m=i.options;!1===m.visible?(g.graphic=1,g.dataLabel=1):i._hasPointLabels||(t=m.marker,a=m.dataLabels,t&&(!1===t.enabled||"symbol"in t)&&(g.graphic=1),a&&!1===a.enabled&&(g.dataLabel=1)),this.points.forEach(function(t){t&&t.series&&(t.resolveColor(),Object.keys(g).length&&t.destroyElements(g),!1===m.showInLegend&&t.legendItem&&o.legend.destroyItem(t))},this)}i.initialType=s,o.linkSeries(),_(this,"afterUpdate"),D(e,!0)&&o.redraw(!!u&&void 0)},setName:function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},hasOptionChanged:function(t){var e=this.options[t],n=this.chart.options.plotOptions,i=this.userOptions[t];return i?e!==i:e!==D(n&&n[this.type]&&n[this.type][t],n&&n.series&&n.series[t],e)}}),x(e.prototype,{update:function(t,e){var n=this.chart,i=t&&t.events||{};t=T(this.userOptions,t),n.options[this.coll].indexOf&&(n.options[this.coll][n.options[this.coll].indexOf(this.userOptions)]=t),M(n.options[this.coll].events,function(t,e){void 0===i[e]&&(i[e]=void 0)}),this.destroy(!0),this.init(n,x(t,{events:i})),n.isDirtyBox=!0,D(e,!0)&&n.redraw()},remove:function(t){for(var e=this.chart,n=this.coll,i=this.series,r=i.length;r--;)i[r]&&i[r].remove(!1);y(e.axes,this),y(e[n],this),w(e.options[n])?e.options[n].splice(this.options.index,1):delete e.options[n],e[n].forEach(function(t,e){t.options.index=t.userOptions.index=e}),this.destroy(),e.isDirtyBox=!0,D(t,!0)&&e.redraw()},setTitle:function(t,e){this.update({title:t},e)},setCategories:function(t,e){this.update({categories:t},e)}})}),e(n,"Series/AreaSeries.js",[n["Core/Series/Series.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Mixins/LegendSymbol.js"],n["Core/Utilities.js"]],function(t,e,n,i,r){var o=e.parse,a=r.objectEach,s=r.pick,l=n.Series;t.seriesType("area","line",{threshold:0},{singleStacks:!1,getStackPoints:function(t){var e,n=[],i=[],r=this.xAxis,o=this.yAxis,l=o.stacking.stacks[this.stackKey],c={},u=this.index,h=o.series,d=h.length,f=s(o.options.reversedStacks,!0)?1:-1;if(t=t||this.points,this.options.stacking){for(e=0;et&&u>o?h=2*o-(u=Math.max(t,o)):ui&&h>o?u=2*o-(h=Math.max(i,o)):h=Math.abs(e)&&.5t.closestPointRange*t.xAxis.transA;i=t.borderWidth=g(n.borderWidth,i?0:1);var r=t.xAxis,a=t.yAxis,s=n.threshold,l=t.translatedThreshold=a.getThreshold(s),h=g(n.minPointLength,5),d=t.getColumnMetrics(),p=d.width,m=t.barW=Math.max(p,1+2*i),v=t.pointXOffset=d.offset,y=t.dataMin,b=t.dataMax;e.inverted&&(l-=.5),n.pointPadding&&(m=Math.ceil(m)),o.prototype.translate.apply(t),t.points.forEach(function(i){var o=g(i.yBottom,l),x=999+Math.abs(o),_=p,w=i.plotX||0;x=c(i.plotY,-x,a.len+x);var C=w+v,S=m,k=Math.min(x,o),T=Math.max(x,o)-k;if(h&&Math.abs(T)h?o-h:l-(M?h:0)}u(i.options.pointWidth)&&(_=S=Math.ceil(i.options.pointWidth),C-=Math.round((_-p)/2)),n.centerInCategory&&(C=t.adjustForMissingColumns(C,_,i,d)),i.barX=C,i.pointWidth=_,i.tooltipPos=e.inverted?[a.len+a.pos-e.plotLeft-x,r.len+r.pos-e.plotTop-(w||0)-v-S/2,T]:[C+S/2,x+a.pos-e.plotTop,T],i.shapeType=t.pointClass.prototype.shapeType||"rect",i.shapeArgs=t.crispCol.apply(t,i.isNull?[C,l,S,0]:[C,k,S,T])})},getSymbol:t,drawLegendSymbol:r.drawRectangle,drawGraph:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},pointAttribs:function(t,e){var n=this.options,i=this.pointAttrToOptions||{},r=i.stroke||"borderColor",o=i["stroke-width"]||"borderWidth",a=t&&t.color||this.color,s=t&&t[r]||n[r]||this.color||a,c=t&&t[o]||n[o]||this[o]||0;i=t&&t.options.dashStyle||n.dashStyle;var u=g(t&&t.opacity,n.opacity,1);if(t&&this.zones.length){var h=t.getZone();a=t.options.color||h&&(h.color||t.nonZonedColor)||this.color,h&&(s=h.borderColor||s,i=h.dashStyle||i,c=h.borderWidth||c)}return e&&t&&(e=(t=p(n.states[e],t.options.states&&t.options.states[e]||{})).brightness,a=t.color||void 0!==e&&l(a).brighten(t.brightness).get()||a,s=t[r]||s,c=t[o]||c,i=t.dashStyle||i,u=g(t.opacity,u)),r={fill:a,stroke:s,"stroke-width":c,opacity:u},i&&(r.dashstyle=i),r},drawPoints:function(){var t,e=this,n=this.chart,i=e.options,r=n.renderer,o=i.animationLimit||250;e.points.forEach(function(a){var s=a.graphic,l=!!s,c=s&&n.pointCount
{series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}},{sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,drawGraph:function(){(this.options.lineWidth||0===this.options.lineWidth&&this.graph&&this.graph.strokeWidth())&&i.prototype.drawGraph.call(this)},applyJitter:function(){var t=this,e=this.options.jitter,n=this.points.length;e&&this.points.forEach(function(i,r){["x","y"].forEach(function(o,a){var s="plot"+o.toUpperCase();if(e[o]&&!i.isNull){var l=t[o+"Axis"],c=e[o]*l.transA;if(l&&!l.isLog){var u=Math.max(0,i[s]-c);l=Math.min(l.len,i[s]+c),a=1e4*Math.sin(r+a*n),i[s]=u+(l-u)*(a-Math.floor(a)),"x"===o&&(i.clientX=i.plotX)}}})})}}),n(i,"afterTranslate",function(){this.applyJitter&&this.applyJitter()})}),e(n,"Mixins/CenteredSeries.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],function(t,e){var n=e.isNumber,i=e.pick,r=e.relativeLength,o=t.deg2rad;return t.CenteredSeriesMixin={getCenter:function(){var e=this.options,n=this.chart,o=2*(e.slicedOffset||0),a=n.plotWidth-2*o,s=n.plotHeight-2*o,l=e.center,c=Math.min(a,s),u=e.size,h=e.innerSize||0;for("string"==typeof u&&(u=parseFloat(u)),"string"==typeof h&&(h=parseFloat(h)),e=[i(l[0],"50%"),i(l[1],"50%"),i(u&&0>u?void 0:e.size,"100%"),i(h&&0>h?void 0:e.innerSize||0,"0%")],!n.angular||this instanceof t.Series||(e[3]=0),l=0;4>l;++l)u=e[l],n=2>l||2===l&&/%$/.test(u),e[l]=r(u,[a,s,c,e[2]][l])+(n?o:0);return e[3]>e[2]&&(e[3]=e[2]),e},getStartAndEndRadians:function(t,e){return t=n(t)?t:0,e=n(e)&&e>t&&360>e-t?e:t+360,{start:o*(t+-90),end:o*(e+-90)}}}}),e(n,"Series/PieSeries.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Series.js"],n["Mixins/CenteredSeries.js"],n["Core/Globals.js"],n["Mixins/LegendSymbol.js"],n["Series/LineSeries.js"],n["Core/Series/Point.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],function(t,e,n,i,r,o,a,s,l){var c=t.setAnimation,u=n.getStartAndEndRadians;t=i.noop;var h=l.addEvent,d=l.clamp,f=l.defined,p=l.fireEvent,g=l.isNumber,m=l.merge,v=l.pick,y=l.relativeLength;e.seriesType("pie","line",{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttribs:e.seriesTypes.column.prototype.pointAttribs,animate:function(t){var e=this,n=e.points,i=e.startAngleRad;t||n.forEach(function(t){var n=t.graphic,r=t.shapeArgs;n&&r&&(n.attr({r:v(t.startR,e.center&&e.center[3]/2),start:i,end:i}),n.animate({r:r.r,start:r.start,end:r.end},e.options.animation))})},hasData:function(){return!!this.processedXData.length},updateTotals:function(){var t,e=0,n=this.points,i=n.length,r=this.options.ignoreHiddenPoint;for(t=0;t1.5*Math.PI?g-=2*Math.PI:g<-Math.PI/2&&(g+=2*Math.PI),d.slicedTranslation={translateX:Math.round(Math.cos(g)*i),translateY:Math.round(Math.sin(g)*i)};var m=Math.cos(g)*t[2]/2,b=Math.sin(g)*t[2]/2;d.tooltipPos=[t[0]+.7*m,t[1]+.7*b],d.half=g<-Math.PI/2||g>Math.PI/2?1:0,d.angle=g,f=Math.min(r,d.labelDistance/5),d.labelPosition={natural:{x:t[0]+m+Math.cos(g)*d.labelDistance,y:t[1]+b+Math.sin(g)*d.labelDistance},final:{},alignment:0>d.labelDistance?"center":d.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+m+Math.cos(g)*f,y:t[1]+b+Math.sin(g)*f},touchingSliceAt:{x:t[0]+m,y:t[1]+b}}}}p(this,"afterTranslate")},drawEmpty:function(){var t=this.startAngleRad,e=this.endAngleRad,n=this.options;if(0===this.total&&this.center){var i=this.center[0],r=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(i,r,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.prototype.symbols.arc(i,r,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":n.borderWidth,fill:n.fillColor||"none",stroke:n.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},redrawPoints:function(){var t,e,n,i,r=this,o=r.chart,a=o.renderer,s=r.options.shadow;this.drawEmpty(),!s||r.shadowGroup||o.styledMode||(r.shadowGroup=a.g("shadow").attr({zIndex:-1}).add(r.group)),r.points.forEach(function(l){var c={};if(e=l.graphic,!l.isNull&&e){if(i=l.shapeArgs,t=l.getTranslate(),!o.styledMode){var u=l.shadowGroup;s&&!u&&(u=l.shadowGroup=a.g("shadow").add(r.shadowGroup)),u&&u.attr(t),n=r.pointAttribs(l,l.selected&&"select")}l.delayedRendering?(e.setRadialReference(r.center).attr(i).attr(t),o.styledMode||e.attr(n).attr({"stroke-linejoin":"round"}).shadow(s,u),l.delayedRendering=!1):(e.setRadialReference(r.center),o.styledMode||m(!0,c,n),m(!0,c,i,t),e.animate(c)),e.attr({visibility:l.visible?"inherit":"hidden"}),e.addClass(l.getClassName())}else e&&(l.graphic=e.destroy())})},drawPoints:function(){var t=this.chart.renderer;this.points.forEach(function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)})},searchPoint:t,sortByAngle:function(t,e){t.sort(function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e})},drawLegendSymbol:r.drawRectangle,getCenter:n.getCenter,getSymbol:t,drawGraph:null},{init:function(){a.prototype.init.apply(this,arguments);var t=this;t.name=v(t.name,"Slice");var e=function(e){t.slice("select"===e.type)};return h(t,"select",e),h(t,"unselect",e),t},isValid:function(){return g(this.y)&&0<=this.y},setVisible:function(t,e){var n=this,i=n.series,r=i.chart,o=i.options.ignoreHiddenPoint;e=v(e,o),t!==n.visible&&(n.visible=n.options.visible=t=void 0===t?!n.visible:t,i.options.data[i.data.indexOf(n)]=n.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(e){n[e]&&n[e][t?"show":"hide"](!0)}),n.legendItem&&r.legend.colorizeItem(n,t),t||"hover"!==n.state||n.setState(""),o&&(i.isDirty=!0),e&&r.redraw())},slice:function(t,e,n){var i=this.series;c(n,i.chart),v(e,!0),this.sliced=this.options.sliced=f(t)?t:!this.sliced,i.options.data[i.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},getTranslate:function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},haloPath:function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},connectorShapes:{fixedOffset:function(t,e,n){var i=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*i.x-e.x,2*i.y-e.y,i.x,i.y]:["L",i.x,i.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,n){e=e.touchingSliceAt;var i=this.series,r=i.center[0],o=i.chart.plotWidth,a=i.chart.plotLeft;i=t.alignment;var s=this.shapeArgs.r;return n=y(n.crookDistance,1),n=["L",o="left"===i?r+s+(o+a-r-s)*(1-n):a+(r-s)*n,t.y],r=!0,("left"===i?o>t.x||oe.x)&&(r=!1),t=[["M",t.x,t.y]],r&&t.push(n),t.push(["L",e.x,e.y]),t}},getConnectorPath:function(){var t=this.labelPosition,e=this.series.options.dataLabels,n=e.connectorShape,i=this.connectorShapes;return i[n]&&(n=i[n]),n.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)}})}),e(n,"Core/Series/DataLabels.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Globals.js"],n["Core/Series/CartesianSeries.js"],n["Core/Utilities.js"]],function(t,e,n,i){var r=t.getDeferredAnimation;t=e.noop;var o=e.seriesTypes,a=i.arrayMax,s=i.clamp,l=i.defined,c=i.extend,u=i.fireEvent,h=i.format,d=i.isArray,f=i.merge,p=i.objectEach,g=i.pick,m=i.relativeLength,v=i.splat,y=i.stableSort;e.distribute=function(t,n,i){function r(t,e){return t.target-e.target}var o,a=!0,l=t,c=[],u=0,h=l.reducedLen||n;for(o=t.length;o--;)u+=t[o].size;if(u>h){for(y(t,function(t,e){return(e.rank||0)-(t.rank||0)}),u=o=0;u<=h;)u+=t[o].size,o++;c=t.splice(o-1,t.length)}for(y(t,r),t=t.map(function(t){return{size:t.size,targets:[t.target],align:g(t.align,.5)}});a;){for(o=t.length;o--;)a=t[o],u=(Math.min.apply(0,a.targets)+Math.max.apply(0,a.targets))/2,a.pos=s(u-a.size*a.align,0,n-a.size);for(o=t.length,a=!1;o--;)0t[o].pos&&(t[o-1].size+=t[o].size,t[o-1].targets=t[o-1].targets.concat(t[o].targets),t[o-1].align=.5,t[o-1].pos+t[o-1].size>n&&(t[o-1].pos=n-t[o-1].size),t.splice(o,1),a=!0)}l.push.apply(l,c),o=0,t.some(function(t){var r=0;if(t.targets.some(function(){if(l[o].pos=t.pos+r,void 0!==i&&Math.abs(l[o].pos-l[o].target)>i)return l.slice(0,o+1).forEach(function(t){delete t.pos}),l.reducedLen=(l.reducedLen||n)-.1*n,l.reducedLen>.1*n&&e.distribute(l,n,i),!0;r+=l[o].size,o++}))return!0}),y(l,r)},n.prototype.drawDataLabels=function(){function t(t,e){var n,i=[];if(d(t)&&!d(e))i=t.map(function(t){return f(t,e)});else if(d(e)&&!d(t))i=e.map(function(e){return f(t,e)});else if(d(t)||d(e))for(n=Math.max(t.length,e.length);n--;)i[n]=f(t[n],e[n]);else i=f(t,e);return i}var e=this,n=e.chart,i=e.options,o=i.dataLabels,a=e.points,s=e.hasRendered||0,c=o.animation;c=o.defer?r(n,c,e):{defer:0,duration:0};var m=n.renderer;if(o=t(t(n.options.plotOptions&&n.options.plotOptions.series&&n.options.plotOptions.series.dataLabels,n.options.plotOptions&&n.options.plotOptions[e.type]&&n.options.plotOptions[e.type].dataLabels),o),u(this,"drawDataLabels"),d(o)||o.enabled||e._hasPointLabels){var y=e.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",o.zIndex||6);y.attr({opacity:+s}),!s&&(s=e.dataLabelsGroup)&&(e.visible&&y.show(!0),s[i.animation?"animate":"attr"]({opacity:1},c)),a.forEach(function(r){v(t(o,r.dlOptions||r.options&&r.options.dataLabels)).forEach(function(t,o){var a=t.enabled&&(!r.isNull||r.dataLabelOnNull)&&function(t,e){var n=e.filter;return!n||(e=n.operator,t=t[n.property],n=n.value,">"===e&&t>n||"<"===e&&t="===e&&t>=n||"<="===e&&t<=n||"=="===e&&t==n||"==="===e&&t===n)}(r,t),s=r.dataLabels?r.dataLabels[o]:r.dataLabel,c=r.connectors?r.connectors[o]:r.connector,u=g(t.distance,r.labelDistance),d=!s;if(a){var f=r.getLabelConfig(),v=g(t[r.formatPrefix+"Format"],t.format);f=l(v)?h(v,f,n):(t[r.formatPrefix+"Formatter"]||t.formatter).call(f,t),v=t.style;var b=t.rotation;n.styledMode||(v.color=g(t.color,v.color,e.color,"#000000"),"contrast"===v.color?(r.contrastColor=m.getContrast(r.color||e.color),v.color=!l(u)&&t.inside||0>u||i.stacking?r.contrastColor:"#000000"):delete r.contrastColor,i.cursor&&(v.cursor=i.cursor));var x={r:t.borderRadius||0,rotation:b,padding:t.padding,zIndex:1};n.styledMode||(x.fill=t.backgroundColor,x.stroke=t.borderColor,x["stroke-width"]=t.borderWidth),p(x,function(t,e){void 0===t&&delete x[e]})}!s||a&&l(f)?a&&l(f)&&(s?x.text=f:(r.dataLabels=r.dataLabels||[],s=r.dataLabels[o]=b?m.text(f,0,-9999,t.useHTML).addClass("highcharts-data-label"):m.label(f,0,-9999,t.shape,null,null,t.useHTML,null,"data-label"),o||(r.dataLabel=s),s.addClass(" highcharts-data-label-color-"+r.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),s.options=t,s.attr(x),n.styledMode||s.css(v).shadow(t.shadow),s.added||s.add(y),t.textPath&&!t.useHTML&&(s.setTextPath(r.getDataLabelPath&&r.getDataLabelPath(s)||r.graphic,t.textPath),r.dataLabelPath&&!t.textPath.enabled&&(r.dataLabelPath=r.dataLabelPath.destroy())),e.alignDataLabel(r,s,t,null,d)):(r.dataLabel=r.dataLabel&&r.dataLabel.destroy(),r.dataLabels&&(1===r.dataLabels.length?delete r.dataLabels:delete r.dataLabels[o]),o||delete r.dataLabel,c&&(r.connector=r.connector.destroy(),r.connectors&&(1===r.connectors.length?delete r.connectors:delete r.connectors[o])))})})}u(this,"afterDrawDataLabels")},n.prototype.alignDataLabel=function(t,e,n,i,r){var o=this,a=this.chart,s=this.isCartesian&&a.inverted,l=this.enabledDataSorting,u=g(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),h=g(t.plotY,-9999),d=e.getBBox(),f=n.rotation,p=n.align,m=a.isInsidePlot(u,Math.round(h),s),v="justify"===g(n.overflow,l?"none":"justify"),y=this.visible&&!1!==t.visible&&(t.series.forceDL||l&&!v||m||n.inside&&i&&a.isInsidePlot(u,s?i.x+1:i.y+i.height-1,s)),b=function(n){l&&o.xAxis&&!v&&o.setDataLabelStartPos(t,e,r,m,n)};if(y){var x=a.renderer.fontMetrics(a.styledMode?void 0:n.style.fontSize,e).b;i=c({x:s?this.yAxis.len-h:u,y:Math.round(s?this.xAxis.len-u:h),width:0,height:0},i),c(n,{width:d.width,height:d.height}),f?(v=!1,u=a.renderer.rotCorr(x,f),b(u={x:i.x+(n.x||0)+i.width/2+u.x,y:i.y+(n.y||0)+{top:0,middle:.5,bottom:1}[n.verticalAlign]*i.height}),e[r?"attr":"animate"](u).attr({align:p}),b=180<(b=(f+720)%360)&&360>b,"left"===p?u.y-=b?d.height:0:"center"===p?(u.x-=d.width/2,u.y-=d.height/2):"right"===p&&(u.x-=d.width,u.y-=b?0:d.height),e.placed=!0,e.alignAttr=u):(b(i),e.align(n,null,i),u=e.alignAttr),v&&0<=i.height?this.justifyDataLabel(e,n,u,d,i,r):g(n.crop,!0)&&(y=a.isInsidePlot(u.x,u.y)&&a.isInsidePlot(u.x+d.width,u.y+d.height)),n.shape&&!f&&e[r?"attr":"animate"]({anchorX:s?a.plotWidth-t.plotY:t.plotX,anchorY:s?a.plotHeight-t.plotX:t.plotY})}r&&l&&(e.placed=!1),y||l&&!v||(e.hide(!0),e.placed=!1)},n.prototype.setDataLabelStartPos=function(t,e,n,i,r){var o=this.chart,a=o.inverted,s=this.xAxis,l=s.reversed,c=a?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,s=a?r.x:l?-c-t:s.width-c+t,r=a?l?this.yAxis.height-c+t:-c-t:r.y,e.startXPos=s,e.startYPos=r,i?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)},n.prototype.justifyDataLabel=function(t,e,n,i,r,o){var a=this.chart,s=e.align,l=e.verticalAlign,c=t.box?0:t.padding||0,u=e.x;u=void 0===u?0:u;var h=e.y,d=void 0===h?0:h;if(0>(h=n.x+c)){"right"===s&&0<=u?(e.align="left",e.inside=!0):u-=h;var f=!0}return(h=n.x+i.width-c)>a.plotWidth&&("left"===s&&0>=u?(e.align="right",e.inside=!0):u+=a.plotWidth-h,f=!0),0>(h=n.y+c)&&("bottom"===l&&0<=d?(e.verticalAlign="top",e.inside=!0):d-=h,f=!0),(h=n.y+i.height-c)>a.plotHeight&&("top"===l&&0>=d?(e.verticalAlign="bottom",e.inside=!0):d+=a.plotHeight-h,f=!0),f&&(e.x=u,e.y=d,t.placed=!o,t.align(e,void 0,r)),f},o.pie&&(o.pie.prototype.dataLabelPositioners={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,n,i){return t.getX(ne.bottom-2?i:n,e.half,e)},justify:function(t,e,n){return n[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,n,i){return t=t.getBBox().width,e?t+i:n-t-i},alignToConnectors:function(t,e,n,i){var r,o=0;return t.forEach(function(t){(r=t.dataLabel.getBBox().width)>o&&(o=r)}),e?o+i:n-o-i}},o.pie.prototype.drawDataLabels=function(){var t,i,r,o,s,c,u,h,d,p,m,v,y=this,b=y.data,x=y.chart,_=y.options.dataLabels||{},w=_.connectorPadding,C=x.plotWidth,S=x.plotHeight,k=x.plotLeft,T=Math.round(x.chartWidth/3),M=y.center,D=M[2]/2,A=M[1],O=[[],[]],E=[0,0,0,0],I=y.dataLabelPositioners;y.visible&&(_.enabled||y._hasPointLabels)&&(b.forEach(function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)}),n.prototype.drawDataLabels.apply(y),b.forEach(function(t){t.dataLabel&&(t.visible?(O[t.half].push(t),t.dataLabel._pos=null,!l(_.style.width)&&!l(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>T&&(t.dataLabel.css({width:Math.round(.7*T)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))}),O.forEach(function(n,i){var r,a=n.length,f=[];if(a){if(y.sortByAngle(n,i-.5),0C-w&&0===i&&(b=Math.round(h+s-C+w),E[1]=Math.max(b,E[1])),0>d-u/2?E[0]=Math.max(Math.round(u/2-d),E[0]):d+u/2>S&&(E[2]=Math.max(Math.round(d+u/2-S),E[2])),o.sideOverflow=b)}}}),0===a(E)||this.verifyDataLabelOverflow(E))&&(this.placeDataLabels(),this.points.forEach(function(t){var e;(v=f(_,t.options.dataLabels),i=g(v.connectorWidth,1))&&(r=t.connector,(o=t.dataLabel)&&o._pos&&t.visible&&0g(this.translatedThreshold,s.yAxis.len)),u=g(i.inside,!!this.options.stacking);l&&(0>(r=f(l)).y&&(r.height+=r.y,r.y=0),0<(l=r.y+r.height-s.yAxis.len)&&l=h.x+h.width||d.x+d.width<=h.x||d.y>=h.y+h.height||d.y+d.height<=h.y||((u.labelrank=s&&o<=l||c||!p(o))&&(u=!0),i[c?"zoomX":"zoomY"]&&u&&(e=a.zoom(t.min,t.max),a.displayBtn&&(r=!0))});var a=n.resetZoomButton;r&&!a?n.showResetZoom():!r&&x(a)&&(n.resetZoomButton=a.destroy()),e&&n.redraw(C(n.options.chart.animation,t&&t.animation,100>n.pointCount))},pan:function(t,e){var n,i=this,r=i.hoverPoints,o=i.options.chart,a=i.options.mapNavigation&&i.options.mapNavigation.enabled;e="object"==typeof e?e:{enabled:e,type:"x"},o&&o.panning&&(o.panning=e);var s=e.type;m(this,"pan",{originalEvent:t},function(){r&&r.forEach(function(t){t.setState()});var e=[1];"xy"===s?e=[1,0]:"y"===s&&(e=[0]),e.forEach(function(e){var r=i[e?"xAxis":"yAxis"][0],o=r.horiz,l=t[o?"chartX":"chartY"],c=i[o=o?"mouseDownX":"mouseDownY"],u=(r.pointRange||0)/2,h=r.reversed&&!i.inverted||!r.reversed&&i.inverted?-1:1,d=r.getExtremes(),f=r.toValue(c-l,!0)+u*h,p=(h=r.toValue(c+r.len-l,!0)-u*h)=h&&f<=u&&(r.setExtremes(c,f,!1,!1,{trigger:"pan"}),i.resetZoomButton||a||c===h||f===u||!s.match("y")||(i.showResetZoom(),r.displayBtn=!1),n=!0),i[o]=l)}),n&&i.redraw(!1),f(i.container,{cursor:"move"})})}}),g(a.prototype,{select:function(t,e){var n=this,i=n.series,r=i.chart;this.selectedStaging=t=C(t,!n.selected),n.firePointEvent(t?"select":"unselect",{accumulate:e},function(){n.selected=n.options.selected=t,i.options.data[i.data.indexOf(n)]=n.options,n.setState(t&&"select"),e||r.getSelectedPoints().forEach(function(t){var e=t.series;t.selected&&t!==n&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(r.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))})}),delete this.selectedStaging},onMouseOver:function(t){var e=this.series.chart,n=e.pointer;t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e.inverted),n.runPointActions(t,this)},onMouseOut:function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach(function(t){t.setState()}),t.hoverPoints=t.hoverPoint=null},importEvents:function(){if(!this.hasImportedEvents){var t=this,e=_(t.series.options.point,t.options).events;t.events=e,w(e,function(e,n){y(e)&&h(t,n,e)}),this.hasImportedEvents=!0}},setState:function(t,e){var n,i=this.series,r=this.state,o=i.options.states[t||"normal"]||{},a=u.plotOptions[i.type].marker&&i.options.marker,s=a&&!1===a.enabled,l=a&&a.states&&a.states[t||"normal"]||{},c=!1===l.enabled,h=i.stateMarkerGraphic,d=this.marker||{},f=i.chart,p=i.halo,v=a&&i.markerAttribs;if(!((t=t||"")===this.state&&!e||this.selected&&"select"!==t||!1===o.enabled||t&&(c||s&&!1===l.enabled)||t&&d.states&&d.states[t]&&!1===d.states[t].enabled)){if(this.state=t,v&&(n=i.markerAttribs(this,t)),this.graphic){if(r&&this.graphic.removeClass("highcharts-point-"+r),t&&this.graphic.addClass("highcharts-point-"+t),!f.styledMode){var y=i.pointAttribs(this,t),b=C(f.options.chart.animation,o.animation);i.options.inactiveOtherPoints&&y.opacity&&((this.dataLabels||[]).forEach(function(t){t&&t.animate({opacity:y.opacity},b)}),this.connector&&this.connector.animate({opacity:y.opacity},b)),this.graphic.animate(y,b)}n&&this.graphic.animate(n,C(f.options.chart.animation,l.animation,a.animation)),h&&h.hide()}else t&&l&&(r=d.symbol||i.symbol,h&&h.currentSymbol!==r&&(h=h.destroy()),n&&(h?h[e?"animate":"attr"]({x:n.x,y:n.y}):r&&(i.stateMarkerGraphic=h=f.renderer.symbol(r,n.x,n.y,n.width,n.height).add(i.markerGroup),h.currentSymbol=r)),!f.styledMode&&h&&h.attr(i.pointAttribs(this,t))),h&&(h[t&&this.isInside?"show":"hide"](),h.element.point=this);t=o.halo,o=(h=this.graphic||h)&&h.visibility||"inherit",t&&t.size&&h&&"hidden"!==o&&!this.isCluster?(p||(i.halo=p=f.renderer.path().add(h.parentGroup)),p.show()[e?"animate":"attr"]({d:this.haloPath(t.size)}),p.attr({class:"highcharts-halo highcharts-color-"+C(this.colorIndex,i.colorIndex)+(this.className?" "+this.className:""),visibility:o,zIndex:-1}),p.point=this,f.styledMode||p.attr(g({fill:this.color||i.color,"fill-opacity":t.opacity},t.attributes))):p&&p.point&&p.point.haloPath&&p.animate({d:p.point.haloPath(0)},null,p.hide),m(this,"afterSetState")}},haloPath:function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)}}),g(r.prototype,{onMouseOver:function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&m(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},onMouseOut:function(){var t=this.options,e=this.chart,n=e.tooltip,i=e.hoverPoint;e.hoverSeries=null,i&&i.onMouseOut(),this&&t.events.mouseOut&&m(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),e.series.forEach(function(t){t.setState("",!0)})},setState:function(t,e){var n=this,i=n.options,r=n.graph,o=i.inactiveOtherPoints,a=i.states,s=i.lineWidth,l=i.opacity,c=C(a[t||"normal"]&&a[t||"normal"].animation,n.chart.options.chart.animation);if(i=0,t=t||"",n.state!==t&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach(function(e){e&&(n.state&&e.removeClass("highcharts-series-"+n.state),t&&e.addClass("highcharts-series-"+t))}),n.state=t,!n.chart.styledMode)){if(a[t]&&!1===a[t].enabled)return;if(t&&(s=a[t].lineWidth||s+(a[t].lineWidthPlus||0),l=C(a[t].opacity,l)),r&&!r.dashstyle)for(a={"stroke-width":s},r.animate(a,c);n["zone-graph-"+i];)n["zone-graph-"+i].attr(a),i+=1;o||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach(function(t){t&&t.animate({opacity:l},c)})}e&&o&&n.points&&n.setAllPointsToState(t)},setAllPointsToState:function(t){this.points.forEach(function(e){e.setState&&e.setState(t)})},setVisible:function(t,e){var n=this,i=n.chart,r=n.legendItem,o=i.options.chart.ignoreHiddenSeries,a=n.visible,s=(n.visible=t=n.options.visible=n.userOptions.visible=void 0===t?!a:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(t){n[t]&&n[t][s]()}),i.hoverSeries!==n&&(i.hoverPoint&&i.hoverPoint.series)!==n||n.onMouseOut(),r&&i.legend.colorizeItem(n,t),n.isDirty=!0,n.options.stacking&&i.series.forEach(function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)}),n.linkedSeries.forEach(function(e){e.setVisible(t,!1)}),o&&(i.isDirtyBox=!0),m(n,s),!1!==e&&i.redraw()},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),m(this,t?"select":"unselect")},drawTracker:n.drawTrackerGraph})}),e(n,"Core/Responsive.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],function(t,e){var n=e.find,i=e.isArray,r=e.isObject,o=e.merge,a=e.objectEach,s=e.pick,l=e.splat,c=e.uniqueKey;t.prototype.setResponsive=function(t,e){var i=this.options.responsive,r=[],a=this.currentResponsive;!e&&i&&i.rules&&i.rules.forEach(function(t){void 0===t._id&&(t._id=c()),this.matchResponsiveRule(t,r)},this),(e=o.apply(0,r.map(function(t){return n(i.rules,function(e){return e._id===t}).chartOptions}))).isResponsiveOptions=!0,(r=r.toString()||void 0)!==(a&&a.ruleIds)&&(a&&this.update(a.undoOptions,t,!0),r?((a=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:r,mergedOptions:e,undoOptions:a},this.update(e,t,!0)):this.currentResponsive=void 0)},t.prototype.matchResponsiveRule=function(t,e){var n=t.condition;(n.callback||function(){return this.chartWidth<=s(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=s(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=s(n.minWidth,0)&&this.chartHeight>=s(n.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.currentOptions=function(t){var e=this,n={};return function t(n,o,s,c){var u;a(n,function(n,a){if(!c&&-1=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},remove:function(t,e){r.unregister(e.getZr(),"axisPointer"),o.superApply(this._model,"remove",arguments)},dispose:function(t,e){r.unregister("axisPointer",e),o.superApply(this._model,"dispose",arguments)}}),a=o;t.exports=a},"5Hn/":function(t,e,n){var i=n("/gxq"),r=n("UAiw"),o=n("0sHC"),a=n("QD+P"),s=n("ilLo"),l=n("wWR3"),c=n("1Xuh"),u=n("og9+"),h=o.Rect,d=l.linearMap,f=l.asc,p=i.bind,g=i.each,m="horizontal",v=5,y=["line","bar","candlestick","scatter"],b=s.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,n,i){b.superApply(this,"render",arguments),a.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){b.superApply(this,"remove",arguments),a.clear(this,"_dispatchZoomAction")},dispose:function(){b.superApply(this,"dispose",arguments),a.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new o.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,n=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===m?{right:r.width-n.x-n.width,top:r.height-30-7,width:n.width,height:30}:{right:7,top:n.y,width:30,height:n.height},a=c.getLayoutParams(t.option);i.each(["right","top","width","height"],function(t){"ph"===a[t]&&(a[t]=o[t])});var s=c.getLayoutRect(a,r,t.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.barGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==m||r?n===m&&r?{scale:a?[-1,1]:[-1,-1]}:"vertical"!==n||r?{scale:a?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:a?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:a?[1,1]:[1,-1]});var s=t.getBoundingRect([o]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.barGroup;n.add(new h({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),n.add(new h({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:i.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,n=t.series,r=n.getRawData(),a=n.getShadowDim?n.getShadowDim():t.otherDim;if(null!=a){var s=r.getDataExtent(a),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var c,u=[0,e[1]],h=[0,e[0]],f=[[e[0],0],[0,0]],p=[],g=h[1]/(r.count()-1),m=0,v=Math.round(r.count()/e[0]);r.each([a],function(t,e){if(v>0&&e%v)m+=g;else{var n=null==t||isNaN(t)||""===t,i=n?0:d(t,s,u,!0);n&&!c&&e?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!n&&c&&(f.push([m,0]),p.push([m,0])),f.push([m,i]),p.push([m,i]),m+=g,c=n}});var y=this.dataZoomModel;this._displayables.barGroup.add(new o.Polygon({shape:{points:f},style:i.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new o.Polyline({shape:{points:p},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,r=this.ecModel;return t.eachTargetAxis(function(o,a){var s=t.getAxisProxy(o.name,a).getTargetSeriesModels();i.each(s,function(t){if(!(n||!0!==e&&i.indexOf(y,t.get("type"))<0)){var s,l=r.getComponent(o.axis,a).axis,c={x:"y",y:"x",radius:"angle",angle:"radius"}[o.name],u=t.coordinateSystem;null!=c&&u.getOtherAxis&&(s=u.getOtherAxis(l).inverse),c=t.getData().mapDimension(c),n={thisAxis:l,series:t,thisDim:o.name,otherDim:c,otherAxisInverse:s}}},this)},this),n}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],n=t.handleLabels=[],i=this._displayables.barGroup,r=this._size,a=this.dataZoomModel;i.add(t.filler=new h({draggable:!0,cursor:x(this._orient),drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:a.get("fillerColor"),textPosition:"inside"}})),i.add(new h({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),g([0,1],function(t){var r=o.createIcon(a.get("handleIcon"),{cursor:x(this._orient),draggable:!0,drift:p(this._onDragMove,this,t),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=r.getBoundingRect();this._handleHeight=l.parsePercent(a.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,r.setStyle(a.getModel("handleStyle").getItemStyle());var c=a.get("handleColor");null!=c&&(r.style.fill=c),i.add(e[t]=r);var u=a.textStyleModel;this.group.add(n[t]=new o.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:u.getTextColor(),textFont:u.getFont()},z2:10}))},this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[d(t[0],[0,100],e,!0),d(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];u(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?d(o.minSpan,a,r,!0):null,null!=o.maxSpan?d(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=f([d(i[0],r,a,!0),d(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var e=this._displayables,n=this._handleEnds,i=f(n.slice()),r=this._size;g([0,1],function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scale:[o/2,o/2],position:[n[t],r[1]/2-o/2]})},this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,a=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,c=this._range,u=t?s.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:s.getDataValueWindow();a=[this._formatLabel(u[0],l),this._formatLabel(u[1],l)]}}var h=f(this._handleEnds.slice());function d(t){var e=o.getTransform(n.handles[t].parent,this.group),s=o.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+v,c=o.applyTransform([h[t]+(0===t?-l:l),this._size[1]/2],e);i[t].setStyle({x:c[0],y:c[1],textVerticalAlign:r===m?"middle":s,textAlign:r===m?s:"center",text:a[t]})}d.call(this,0),d.call(this,1)},_formatLabel:function(t,e){var n=this.dataZoomModel,r=n.get("labelFormatter"),o=n.get("labelPrecision");null!=o&&"auto"!==o||(o=e.getPixelPrecision());var a=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(o,20));return i.isFunction(r)?r(t,a):i.isString(r)?r.replace("{value}",a):a},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,n,i){this._dragging=!0,r.stop(i.event);var a=this._displayables.barGroup.getLocalTransform(),s=o.applyTransform([e,n],a,!0),l=this._updateInterval(t,s[0]),c=this.dataZoomModel.get("realtime");this._updateView(!c),l&&c&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,n=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),function(e){if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}}),!t){var e=this.api.getWidth(),n=this.api.getHeight();t={x:.2*e,y:.2*n,width:.6*e,height:.6*n}}return t}});function x(t){return"vertical"===t?"ns-resize":"ew-resize"}var _=b;t.exports=_},"5KBG":function(t,e,n){n("4Nz2").__DEV__;var i=n("/gxq"),r=(i.isTypedArray,i.extend),o=(i.assert,i.each),a=i.isObject,s=n("vXqC"),l=s.getDataItemValue,c=s.isDataItemOption,u=n("wWR3").parseDate,h=n("rrAD"),d=n("+2Ke"),f=d.SOURCE_FORMAT_TYPED_ARRAY,p=d.SOURCE_FORMAT_ARRAY_ROWS,g=d.SOURCE_FORMAT_ORIGINAL,m=d.SOURCE_FORMAT_OBJECT_ROWS;function v(t,e){h.isInstance(t)||(t=h.seriesDataToSource(t)),this._source=t;var n=this._data=t.data,i=t.sourceFormat;i===f&&(this._offset=0,this._dimSize=e,this._data=n);var o=b[i===p?i+"_"+t.seriesLayoutBy:i];r(this,o)}var y=v.prototype;y.pure=!1,y.persistent=!0,y.getSource=function(){return this._source};var b={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:w},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],n=this._data,i=0;i3?1.4:r>1?1.2:1.1;f(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a})}if(n){var l=Math.abs(i);f(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a})}}}function d(t){a.isTaken(this._zr,"globalPan")||f(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY})}function f(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(o.stop(i.event),p(t,e,n,i,r))}function p(t,e,n,r,o){o.isAvailableBehavior=i.bind(g,null,n,r),t.trigger(e,o)}function g(t,e,n){var r=n[t];return!t||r&&(!i.isString(r)||e.event[r+"Key"])}i.mixin(s,r);var m=s;t.exports=m},"5PlU":function(t,e,n){var i=n("RY/4"),r=n("dSzd")("iterator"),o=n("/bQp");t.exports=n("FeBl").isIterable=function(t){var e=Object(t);return void 0!==e[r]||"@@iterator"in e||o.hasOwnProperty(i(e))}},"5QRV":function(t,e,n){var i=n("/gxq"),r=n("ao1T"),o=n("3yJd"),a=n("2uoh"),s=n("Pdtn"),l=n("1Xuh");l.getLayoutRect;e.getLayoutRect=l.getLayoutRect;var c=n("qVJQ"),u=c.enableDataStack,h=c.isDimensionStacked,d=c.getStackedDimension,f=n("/n1K");e.completeDimensions=f;var p=n("hcq/");e.createDimensions=p;var g=n("kK7q");e.createSymbol=g.createSymbol;var m={isDimensionStacked:h,enableDataStack:u,getStackedDimension:d};e.createList=function(t){return r(t.getSource(),t)},e.dataStack=m,e.createScale=function(t,e){var n=e;s.isInstance(e)||(n=new s(e),i.mixin(n,a));var r=o.createScaleByModel(n);return r.setExtent(t[0],t[1]),o.niceScaleExtent(r,n),r},e.mixinAxisModelCommonMethods=function(t){i.mixin(t,a)}},"5QVw":function(t,e,n){t.exports={default:n("BwfY"),__esModule:!0}},"5VQ+":function(t,e,n){"use strict";var i=n("cGG2");t.exports=function(t,e){i.forEach(t,function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])})}},"5dr1":function(t,e,n){var i=n("/gxq"),r=n("8b51"),o=n("ct4P");function a(t){o.call(this,t)}a.prototype={constructor:a,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,n){var i=this.getAxis("x"),r=this.getAxis("y");return(n=n||[])[0]=i.toGlobalCoord(i.dataToCoord(t[0])),n[1]=r.toGlobalCoord(r.dataToCoord(t[1])),n},clampData:function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},pointToData:function(t,e){var n=this.getAxis("x"),i=this.getAxis("y");return(e=e||[])[0]=n.coordToData(n.toLocalCoord(t[0])),e[1]=i.coordToData(i.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")},getArea:function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]),o=Math.max(t[0],t[1])-n,a=Math.max(e[0],e[1])-i;return new r(n,i,o,a)}},i.inherits(a,o);var s=a;t.exports=s},"5eDb":function(t,e,n){(function(e){!function(n){"use strict";var i=function(){},r=function(t,e){return function(){for(var n=[],i=0;i-1},F=function(t,e){for(var n=0,i=t.length;n=534,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:8!==c,range:n.window.getSelection&&"Range"in n.window,documentMode:c&&!h?n.document.documentMode||7:10,fileApi:m,ceFalse:!1===c||c>8,cacheSuffix:null,container:null,overrideViewPort:null,experimentalShadowDom:!1,canHaveCSP:!1===c||c>11,desktop:!v&&!y,windowsPhone:b},ut=window.Promise?window.Promise:function(){function t(t,e){return function(){t.apply(e,arguments)}}var e=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},n=function(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],l(e,t(o,this),t(a,this))},i=n.immediateFn||"function"==typeof setImmediate&&setImmediate||function(t){setTimeout(t,1)};function r(t){var e=this;null!==this._state?i(function(){var n=e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void t.reject(e)}t.resolve(i)}else(e._state?t.resolve:t.reject)(e._value)}):this._deferreds.push(t)}function o(e){try{if(e===this)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if("function"==typeof n)return void l(t(n,e),t(o,this),t(a,this))}this._state=!0,this._value=e,s.call(this)}catch(t){a.call(this,t)}}function a(t){this._state=!1,this._value=t,s.call(this)}function s(){for(var t=0,e=this._deferreds.length;t0)return n[0]}return e}(t,r.target)),t&>.test(t.type)&&void 0===t.pageX&&void 0!==t.clientX){var o=r.target.ownerDocument||n.document,a=o.documentElement,s=o.body;r.pageX=t.clientX+(a&&a.scrollLeft||s&&s.scrollLeft||0)-(a&&a.clientLeft||s&&s.clientLeft||0),r.pageY=t.clientY+(a&&a.scrollTop||s&&s.scrollTop||0)-(a&&a.clientTop||s&&s.clientTop||0)}return r.preventDefault=function(){r.isDefaultPrevented=yt,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},r.stopPropagation=function(){r.isPropagationStopped=yt,t&&(t.stopPropagation?t.stopPropagation():t.cancelBubble=!0)},r.stopImmediatePropagation=function(){r.isImmediatePropagationStopped=yt,r.stopPropagation()},!1===function(t){return t.isDefaultPrevented===yt||t.isDefaultPrevented===vt}(r)&&(r.isDefaultPrevented=vt,r.isPropagationStopped=vt,r.isImmediatePropagationStopped=vt),void 0===r.metaKey&&(r.metaKey=!1),r},wt=function(t,e,n){var i=t.document,r={type:"ready"};if(n.domLoaded)e(r);else{var o=function(){return"complete"===i.readyState||"interactive"===i.readyState&&i.body},a=function(){n.domLoaded||(n.domLoaded=!0,e(r))},s=function(){o()&&(xt(i,"readystatechange",s),a())},l=function(){try{i.documentElement.doScroll("left")}catch(t){return void pt.setTimeout(l)}a()};!i.addEventListener||ct.ie&&ct.ie<11?(bt(i,"readystatechange",s),i.documentElement.doScroll&&t.self===t.top&&l()):o()?a():bt(t,"DOMContentLoaded",a),bt(t,"load",a)}},Ct=function(){var t,e,i,r,o,a=this,s={};e="mce-data-"+(+new Date).toString(32),r="onmouseenter"in n.document.documentElement,i="onfocusin"in n.document.documentElement,o={mouseenter:"mouseover",mouseleave:"mouseout"},t=1,a.domLoaded=!1,a.events=s;var l=function(t,e){var n,i,r,o,a=s[e];if(n=a&&a[t.type])for(i=0,r=n.length;i+~]|"+oe+")"+oe+"*"),de=new RegExp("="+oe+"*([^\\]'\"]*?)"+oe+"*\\]","g"),fe=new RegExp(le),pe=new RegExp("^"+ae+"$"),ge={ID:new RegExp("^#("+ae+")"),CLASS:new RegExp("^\\.("+ae+")"),TAG:new RegExp("^("+ae+"|[*])"),ATTR:new RegExp("^"+se),PSEUDO:new RegExp("^"+le),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+oe+"*(even|odd|(([+-]|)(\\d*)n|)"+oe+"*(?:([+-]|)"+oe+"*(\\d+)|))"+oe+"*\\)|)","i"),bool:new RegExp("^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$","i"),needsContext:new RegExp("^"+oe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+oe+"*((?:-\\d)?\\d*)"+oe+"*\\)|)(?=[^-]|$)","i")},me=/^(?:input|select|textarea|button)$/i,ve=/^h\d$/i,ye=/^[^{]+\{\s*\[native \w/,be=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,xe=/[+~]/,_e=/'|\\/g,we=new RegExp("\\\\([\\da-f]{1,6}"+oe+"?|("+oe+")|.)","ig"),Ce=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{ne.apply(Qt=ie.call(Ht.childNodes),Ht.childNodes),Qt[Ht.childNodes.length].nodeType}catch(t){ne={apply:Qt.length?function(t,e){ee.apply(t,ie.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}var Se=function(t,e,n,i){var r,o,a,s,l,c,u,h,d,f;if((e?e.ownerDocument||e:Ht)!==Rt&&Nt(e),e=e||Rt,n=n||[],!t||"string"!=typeof t)return n;if(1!==(s=e.nodeType)&&9!==s)return[];if(zt&&!i){if(r=be.exec(t))if(a=r[1]){if(9===s){if(!(o=e.getElementById(a))||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(a))&&$t(e,o)&&o.id===a)return n.push(o),n}else{if(r[2])return ne.apply(n,e.getElementsByTagName(t)),n;if((a=r[3])&&kt.getElementsByClassName)return ne.apply(n,e.getElementsByClassName(a)),n}if(kt.qsa&&(!jt||!jt.test(t))){if(h=u=Vt,d=e,f=9===s&&t,1===s&&"object"!==e.nodeName.toLowerCase()){for(c=At(t),(u=e.getAttribute("id"))?h=u.replace(_e,"\\$&"):e.setAttribute("id",h),h="[id='"+h+"'] ",l=c.length;l--;)c[l]=h+Pe(c[l]);d=xe.test(t)&&Ee(e.parentNode)||e,f=c.join(",")}if(f)try{return ne.apply(n,d.querySelectorAll(f)),n}catch(t){}finally{u||e.removeAttribute("id")}}}return Et(t.replace(ce,"$1"),e,n,i)};function ke(){var t=[];return function e(n,i){return t.push(n+" ")>Tt.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function Te(t){return t[Vt]=!0,t}function Me(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Zt)-(~t.sourceIndex||Zt);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function De(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function Ae(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function Oe(t){return Te(function(e){return e=+e,Te(function(n,i){for(var r,o=t([],n.length,e),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function Ee(t){return t&&typeof t.getElementsByTagName!==Kt&&t}for(St in kt=Se.support={},Dt=Se.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},Nt=Se.setDocument=function(t){var e,n=t?t.ownerDocument||t:Ht,i=n.defaultView;return n!==Rt&&9===n.nodeType&&n.documentElement?(Rt=n,Bt=n.documentElement,zt=!Dt(n),i&&i!==function(t){try{return t.top}catch(t){}return null}(i)&&(i.addEventListener?i.addEventListener("unload",function(){Nt()},!1):i.attachEvent&&i.attachEvent("onunload",function(){Nt()})),kt.attributes=!0,kt.getElementsByTagName=!0,kt.getElementsByClassName=ye.test(n.getElementsByClassName),kt.getById=!0,Tt.find.ID=function(t,e){if(typeof e.getElementById!==Kt&&zt){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},Tt.filter.ID=function(t){var e=t.replace(we,Ce);return function(t){return t.getAttribute("id")===e}},Tt.find.TAG=kt.getElementsByTagName?function(t,e){if(typeof e.getElementsByTagName!==Kt)return e.getElementsByTagName(t)}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},Tt.find.CLASS=kt.getElementsByClassName&&function(t,e){if(zt)return e.getElementsByClassName(t)},Ft=[],jt=[],kt.disconnectedMatch=!0,jt=jt.length&&new RegExp(jt.join("|")),Ft=Ft.length&&new RegExp(Ft.join("|")),e=ye.test(Bt.compareDocumentPosition),$t=e||ye.test(Bt.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},Xt=e?function(t,e){if(t===e)return Lt=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!kt.sortDetached&&e.compareDocumentPosition(t)===i?t===n||t.ownerDocument===Ht&&$t(Ht,t)?-1:e===n||e.ownerDocument===Ht&&$t(Ht,e)?1:Pt?re.call(Pt,t)-re.call(Pt,e):0:4&i?-1:1)}:function(t,e){if(t===e)return Lt=!0,0;var i,r=0,o=t.parentNode,a=e.parentNode,s=[t],l=[e];if(!o||!a)return t===n?-1:e===n?1:o?-1:a?1:Pt?re.call(Pt,t)-re.call(Pt,e):0;if(o===a)return Me(t,e);for(i=t;i=i.parentNode;)s.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;s[r]===l[r];)r++;return r?Me(s[r],l[r]):s[r]===Ht?-1:l[r]===Ht?1:0},n):Rt},Se.matches=function(t,e){return Se(t,null,null,e)},Se.matchesSelector=function(t,e){if((t.ownerDocument||t)!==Rt&&Nt(t),e=e.replace(de,"='$1']"),kt.matchesSelector&&zt&&(!Ft||!Ft.test(e))&&(!jt||!jt.test(e)))try{var n=(void 0).call(t,e);if(n||kt.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return Se(e,Rt,null,[t]).length>0},Se.contains=function(t,e){return(t.ownerDocument||t)!==Rt&&Nt(t),$t(t,e)},Se.attr=function(t,e){(t.ownerDocument||t)!==Rt&&Nt(t);var n=Tt.attrHandle[e.toLowerCase()],i=n&&Jt.call(Tt.attrHandle,e.toLowerCase())?n(t,e,!zt):void 0;return void 0!==i?i:kt.attributes||!zt?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},Se.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},Se.uniqueSort=function(t){var e,n=[],i=0,r=0;if(Lt=!kt.detectDuplicates,Pt=!kt.sortStable&&t.slice(0),t.sort(Xt),Lt){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return Pt=null,t},Mt=Se.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=Mt(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=Mt(e);return n},(Tt=Se.selectors={cacheLength:50,createPseudo:Te,match:ge,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(we,Ce),t[3]=(t[3]||t[4]||t[5]||"").replace(we,Ce),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||Se.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&Se.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ge.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&fe.test(n)&&(e=At(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(we,Ce).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=qt[t+" "];return e||(e=new RegExp("(^|"+oe+")"+t+"("+oe+"|$)"))&&qt(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==Kt&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(i){var r=Se.attr(i,t);return null==r?"!="===e:!e||(r+="","="===e?r===n:"!="===e?r!==n:"^="===e?n&&0===r.indexOf(n):"*="===e?n&&r.indexOf(n)>-1:"$="===e?n&&r.slice(-n.length)===n:"~="===e?(" "+r+" ").indexOf(n)>-1:"|="===e&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var c,u,h,d,f,p,g=o!==a?"nextSibling":"previousSibling",m=e.parentNode,v=s&&e.nodeName.toLowerCase(),y=!l&&!s;if(m){if(o){for(;g;){for(h=e;h=h[g];)if(s?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&y){for(f=(c=(u=m[Vt]||(m[Vt]={}))[t]||[])[0]===Wt&&c[1],d=c[0]===Wt&&c[2],h=f&&m.childNodes[f];h=++f&&h&&h[g]||(d=f=0)||p.pop();)if(1===h.nodeType&&++d&&h===e){u[t]=[Wt,f,d];break}}else if(y&&(c=(e[Vt]||(e[Vt]={}))[t])&&c[0]===Wt)d=c[1];else for(;(h=++f&&h&&h[g]||(d=f=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++d||(y&&((h[Vt]||(h[Vt]={}))[t]=[Wt,d]),h!==e)););return(d-=r)===i||d%i==0&&d/i>=0}}},PSEUDO:function(t,e){var n,i=Tt.pseudos[t]||Tt.setFilters[t.toLowerCase()]||Se.error("unsupported pseudo: "+t);return i[Vt]?i(e):i.length>1?(n=[t,t,"",e],Tt.setFilters.hasOwnProperty(t.toLowerCase())?Te(function(t,n){for(var r,o=i(t,e),a=o.length;a--;)t[r=re.call(t,o[a])]=!(n[r]=o[a])}):function(t){return i(t,0,n)}):i}},pseudos:{not:Te(function(t){var e=[],n=[],i=Ot(t.replace(ce,"$1"));return i[Vt]?Te(function(t,e,n,r){for(var o,a=i(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),!n.pop()}}),has:Te(function(t){return function(e){return Se(t,e).length>0}}),contains:Te(function(t){return t=t.replace(we,Ce),function(e){return(e.textContent||e.innerText||Mt(e)).indexOf(t)>-1}}),lang:Te(function(t){return pe.test(t||"")||Se.error("unsupported lang: "+t),t=t.replace(we,Ce).toLowerCase(),function(e){var n;do{if(n=zt?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(t){var e=n.window.location&&n.window.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===Bt},focus:function(t){return t===Rt.activeElement&&(!Rt.hasFocus||Rt.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!Tt.pseudos.empty(t)},header:function(t){return ve.test(t.nodeName)},input:function(t){return me.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:Oe(function(){return[0]}),last:Oe(function(t,e){return[e-1]}),eq:Oe(function(t,e,n){return[n<0?n+e:n]}),even:Oe(function(t,e){for(var n=0;n=0;)t.push(i);return t}),gt:Oe(function(t,e,n){for(var i=n<0?n+e:n;++i1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function Re(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,c=null!=e;s-1&&(o[c]=!(a[c]=h))}}else v=Re(v===a?v.splice(p,v.length):v),r?r(null,a,v,l):ne.apply(a,v)})}function ze(t){for(var e,n,i,r=t.length,o=Tt.relative[t[0].type],a=o||Tt.relative[" "],s=o?1:0,l=Le(function(t){return t===e},a,!0),c=Le(function(t){return re.call(e,t)>-1},a,!0),u=[function(t,n,i){return!o&&(i||n!==It)||((e=n).nodeType?l(t,n,i):c(t,n,i))}];s1&&Ne(u),s>1&&Pe(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(ce,"$1"),n,s0,i=t.length>0,r=function(r,o,a,s,l){var c,u,h,d=0,f="0",p=r&&[],g=[],m=It,v=r||i&&Tt.find.TAG("*",l),y=Wt+=null==m?1:Math.random()||.1,b=v.length;for(l&&(It=o!==Rt&&o);f!==b&&null!=(c=v[f]);f++){if(i&&c){for(u=0;h=t[u++];)if(h(c,o,a)){s.push(c);break}l&&(Wt=y)}n&&((c=!h&&c)&&d--,r&&p.push(c))}if(d+=f,n&&f!==d){for(u=0;h=e[u++];)h(p,g,o,a);if(r){if(d>0)for(;f--;)p[f]||g[f]||(g[f]=te.call(s));g=Re(g)}ne.apply(s,g),l&&!r&&g.length>0&&d+e.length>1&&Se.uniqueSort(s)}return l&&(Wt=y,It=m),p};return n?Te(r):r}(r,i))).selector=t}return o},Et=Se.select=function(t,e,n,i){var r,o,a,s,l,c="function"==typeof t&&t,u=!i&&At(t=c.selector||t);if(n=n||[],1===u.length){if((o=u[0]=u[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&kt.getById&&9===e.nodeType&&zt&&Tt.relative[o[1].type]){if(!(e=(Tt.find.ID(a.matches[0].replace(we,Ce),e)||[])[0]))return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=ge.needsContext.test(t)?0:o.length;r--&&(a=o[r],!Tt.relative[s=a.type]);)if((l=Tt.find[s])&&(i=l(a.matches[0].replace(we,Ce),xe.test(o[0].type)&&Ee(e.parentNode)||e))){if(o.splice(r,1),!(t=i.length&&Pe(o)))return ne.apply(n,i),n;break}}return(c||Ot(t,u))(i,e,!zt,n,xe.test(t)&&Ee(e.parentNode)||e),n},kt.sortStable=Vt.split("").sort(Xt).join("")===Vt,kt.detectDuplicates=!!Lt,Nt(),kt.sortDetached=!0;var je=Array.isArray,Fe=function(t,e,n){var i,r;if(!t)return 0;if(n=n||t,void 0!==t.length){for(i=0,r=t.length;i)[^>]*$|#([\w\-]*)$)/,Je=Ct.Event,Qe=Ue.makeMap("children,contents,next,prev"),tn=function(t){return void 0!==t},en=function(t){return"string"==typeof t},nn=function(t,e){var n,i,r;for(r=(e=e||Ye).createElement("div"),n=e.createDocumentFragment(),r.innerHTML=t;i=r.firstChild;)n.appendChild(i);return n},rn=function(t,e,n,i){var r;if(en(e))e=nn(e,yn(t[0]));else if(e.length&&!e.nodeType){if(e=fn.makeArray(e),i)for(r=e.length-1;r>=0;r--)rn(t,e[r],n,i);else for(r=0;r"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:Ze.exec(t)))return fn(e).find(t);if(i[1])for(r=nn(t,yn(e)).firstChild;r;)Xe.call(this,r),r=r.nextSibling;else{if(!(r=yn(e).getElementById(i[2])))return this;if(r.id!==i[2])return this.find(t);this.length=1,this[0]=r}}else this.add(t,!1);return this},toArray:function(){return Ue.toArray(this)},add:function(t,e){var n,i;if(en(t))return this.add(fn(t));if(!1!==e)for(n=fn.unique(this.toArray().concat(fn.makeArray(t))),this.length=n.length,i=0;i1&&(Qe[t]||(i=fn.unique(i)),0===t.indexOf("parents")&&(i=i.reverse())),i=fn(i),n?i.filter(n):i}}),mn({parentsUntil:function(t,e){return bn(t,"parentNode",e)},nextUntil:function(t,e){return xn(t,"nextSibling",1,e).slice(1)},prevUntil:function(t,e){return xn(t,"previousSibling",1,e).slice(1)}},function(t,e){fn.fn[t]=function(n,i){var r=[];return this.each(function(){var t=e.call(r,this,n,r);t&&(fn.isArray(t)?r.push.apply(r,t):r.push(t))}),this.length>1&&(r=fn.unique(r),0!==t.indexOf("parents")&&"prevUntil"!==t||(r=r.reverse())),r=fn(r),i?r.filter(i):r}}),fn.fn.is=function(t){return!!t&&this.filter(t).length>0},fn.fn.init.prototype=fn.fn,fn.overrideDefaults=function(t){var e,n=function(i,r){return e=e||t(),0===arguments.length&&(i=e.element),r||(r=e.context),new n.fn.init(i,r)};return fn.extend(n,this),n};var wn=function(t,e,n){mn(n,function(n,i){t[n]=t[n]||{},t[n][e]=i})};ct.ie&&ct.ie<8&&(wn(hn,"get",{maxlength:function(t){var e=t.maxLength;if(2147483647!==e)return e},size:function(t){var e=t.size;if(20!==e)return e},class:function(t){return t.className},style:function(t){var e=t.style.cssText;if(0!==e.length)return e}}),wn(hn,"set",{class:function(t,e){t.className=e},style:function(t,e){t.style.cssText=e}})),ct.ie&&ct.ie<9&&(un.float="styleFloat",wn(dn,"set",{opacity:function(t,e){var n=t.style;null===e||""===e?n.removeAttribute("filter"):(n.zoom=1,n.filter="alpha(opacity="+100*e+")")}})),fn.attrHooks=hn,fn.cssHooks=dn;var Cn,Sn,kn,Tn=function(){return Mn(0,0)},Mn=function(t,e){return{major:t,minor:e}},Dn={nu:Mn,detect:function(t,e){var n=String(e).toLowerCase();return 0===t.length?Tn():function(t,e){var n=function(t,e){for(var n=0;n1)throw n.console.error("HTML does not have a single root node",t),new Error("HTML must have a single root node");return Yn(i.childNodes[0])},fromTag:function(t,e){var i=(e||n.document).createElement(t);return Yn(i)},fromText:function(t,e){var i=(e||n.document).createTextNode(t);return Yn(i)},fromDom:Yn,fromPoint:function(t,e,n){var i=t.dom();return T.from(i.elementFromPoint(e,n)).map(Yn)}},Kn=(n.Node.ATTRIBUTE_NODE,n.Node.CDATA_SECTION_NODE,n.Node.COMMENT_NODE,n.Node.DOCUMENT_NODE),Zn=(n.Node.DOCUMENT_TYPE_NODE,n.Node.DOCUMENT_FRAGMENT_NODE,n.Node.ELEMENT_NODE),Jn=n.Node.TEXT_NODE,Qn=(n.Node.PROCESSING_INSTRUCTION_NODE,n.Node.ENTITY_REFERENCE_NODE,n.Node.ENTITY_NODE,n.Node.NOTATION_NODE,function(t){return t.dom().nodeName.toLowerCase()}),ti=function(t){return function(e){return function(t){return t.dom().nodeType}(e)===t}},ei=ti(Zn),ni=ti(Jn),ii=Object.keys,ri=Object.hasOwnProperty,oi=function(t,e){for(var n=ii(t),i=0,r=n.length;i1)for(var n=1;n=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n.setImmediate="function"==typeof e?e:function(t){var e=l++,i=!(arguments.length<2)&&a.call(arguments,1);return s[e]=!0,r(function(){s[e]&&(i?t.apply(null,i):t.call(null),n.clearImmediate(e))}),e},n.clearImmediate="function"==typeof i?i:function(t){delete s[t]}}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":1,timers:3}],4:[function(t,e,n){var i=t("promise-polyfill"),r="undefined"!=typeof window?window:Function("return this;")();e.exports={boltExport:r.Promise||i}},{"promise-polyfill":2}]},{},[4])(4)})}(void 0,Wi,Gi,void 0);var qi=Gi.exports.boltExport,Ui=function(t){var e=T.none(),i=[],r=function(t){o()?s(t):i.push(t)},o=function(){return e.isSome()},a=function(t){V(t,s)},s=function(t){e.each(function(e){n.setTimeout(function(){t(e)},0)})};return t(function(t){e=T.some(t),a(i),i=[]}),{get:r,map:function(t){return Ui(function(e){r(function(n){e(t(n))})})},isReady:o}},Yi={nu:Ui,pure:function(t){return Ui(function(e){e(t)})}},Xi=function(t){n.setTimeout(function(){throw t},0)},Ki=function(t){var e=function(e){t().then(e,Xi)};return{map:function(e){return Ki(function(){return t().then(e)})},bind:function(e){return Ki(function(){return t().then(function(t){return e(t).toPromise()})})},anonBind:function(e){return Ki(function(){return t().then(function(){return e.toPromise()})})},toLazy:function(){return Yi.nu(e)},toCached:function(){var e=null;return Ki(function(){return null===e&&(e=t()),e})},toPromise:t,get:e}},Zi={nu:function(t){return Ki(function(){return new qi(t)})},pure:function(t){return Ki(function(){return qi.resolve(t)})}},Ji=function(t,e){return e(function(e){var n=[],i=0;0===t.length?e([]):V(t,function(r,o){r.get(function(r){return function(o){n[r]=o,++i>=t.length&&e(n)}}(o))})})},Qi=function(t){return Ji(t,Zi.nu)},tr=function(t){return{is:function(e){return t===e},isValue:w,isError:_,getOr:o(t),getOrThunk:o(t),getOrDie:o(t),or:function(e){return tr(t)},orThunk:function(e){return tr(t)},fold:function(e,n){return n(t)},map:function(e){return tr(e(t))},mapError:function(e){return tr(t)},each:function(e){e(t)},bind:function(e){return e(t)},exists:function(e){return e(t)},forall:function(e){return e(t)},toOption:function(){return T.some(t)}}},er=function(t){return{is:_,isValue:_,isError:w,getOr:a,getOrThunk:function(t){return t()},getOrDie:function(){return(e=String(t),function(){throw new Error(e)})();var e},or:function(t){return t},orThunk:function(t){return t()},fold:function(e,n){return e(t)},map:function(e){return er(t)},mapError:function(e){return er(e(t))},each:i,bind:function(e){return er(t)},exists:_,forall:w,toOption:T.none}},nr={value:tr,error:er,fromOption:function(t,e){return t.fold(function(){return er(e)},tr)}};function ir(t,e){var n=t,i=function(t,n,i,r){var o,a;if(t){if(!r&&t[n])return t[n];if(t!==e){if(o=t[i])return o;for(a=t.parentNode;a&&a!==e;a=a.parentNode)if(o=a[i])return o}}};this.current=function(){return n},this.next=function(t){return n=i(n,"firstChild","nextSibling",t)},this.prev=function(t){return n=i(n,"lastChild","previousSibling",t)},this.prev2=function(t){return n=function(t,n,i,r){var o,a,s;if(t){if(o=t[i],e&&o===e)return;if(o){if(!r)for(s=o[n];s;s=s[n])if(!s[n])return s;return o}if((a=t.parentNode)&&a!==e)return a}}(n,"lastChild","previousSibling",t)}}var rr,or,ar,sr=function(t){var e;return function(n){return(e=e||function(t,e){for(var n={},i=0,r=t.length;i=0;n--)Ir(t,i[n]);if(!1===Or.isDocument(e)){if(Or.isText(e)&&e.nodeValue.length>0){var r=Ue.trim(e.nodeValue).length;if(t.isBlock(e.parentNode)||r>0)return;if(0===r&&function(t){var e=t.previousSibling&&"SPAN"===t.previousSibling.nodeName,n=t.nextSibling&&"SPAN"===t.nextSibling.nodeName;return e&&n}(e))return}else if(Or.isElement(e)&&(1===(i=e.childNodes).length&&Er(i[0])&&e.parentNode.insertBefore(i[0],e),i.length||gr(Xn.fromDom(e))))return;t.remove(e)}return e}},Pr={trimNode:Ir},Lr=Ue.makeMap,Nr=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Rr=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Br=/[<>&\"\']/g,zr=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,jr={128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};or={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},ar={"<":"<",">":">","&":"&",""":'"',"'":"'"};var Fr=function(t,e){var n,i,r,o={};if(t){for(t=t.split(","),e=e||10,n=0;n1?"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";":or[t]||"&#"+t.charCodeAt(0)+";"})},Hr=function(t,e,n){return n=n||rr,t.replace(e?Nr:Rr,function(t){return or[t]||n[t]||t})},Wr={encodeRaw:$r,encodeAllRaw:function(t){return(""+t).replace(Br,function(t){return or[t]||t})},encodeNumeric:Vr,encodeNamed:Hr,getEncodeFunc:function(t,e){var n=Fr(e)||rr,i=Lr(t.replace(/\+/g,","));return i.named&&i.numeric?function(t,e){return t.replace(e?Nr:Rr,function(t){return void 0!==or[t]?or[t]:void 0!==n[t]?n[t]:t.length>1?"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";":"&#"+t.charCodeAt(0)+";"})}:i.named?e?function(t,e){return Hr(t,e,n)}:Hr:i.numeric?Vr:$r},decode:function(t){return t.replace(zr,function(t,e){return e?(e="x"===e.charAt(0).toLowerCase()?parseInt(e.substr(1),16):parseInt(e,10))>65535?(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e))):jr[e]||String.fromCharCode(e):ar[t]||rr[t]||(n=t,(i=Xn.fromTag("div").dom()).innerHTML=n,i.textContent||i.innerText||n);var n,i})}},Gr={},qr={},Ur=Ue.makeMap,Yr=Ue.each,Xr=Ue.extend,Kr=Ue.explode,Zr=Ue.inArray,Jr=function(t,e){return(t=Ue.trim(t))?t.split(e||" "):[]},Qr=function(t){var e,n,i,r,o,a,s={},l=function(t,n,i){var r,o,a,l=function(t,e){var n,i,r={};for(n=0,i=t.length;n