!function(d){function c(t,o,e){for(var i=4,a=[];i--;)a[i]=Math.round(o.rgba[i]+(t.rgba[i]-o.rgba[i])*(1-e));return"rgba("+a.join(",")+")"}function t(){}var o=d.Axis,e=d.Chart,s=d.Point,i=d.Pointer,u=d.each,l=d.extend,h=d.merge,p=d.pick,m=d.numberFormat,a=d.getOptions(),x=d.seriesTypes,n=a.plotOptions,r=d.wrap,g=d.Color;a.mapNavigation={buttonOptions:{align:"right",verticalAlign:"bottom",x:0,width:18,height:18,style:{fontSize:"15px",fontWeight:"bold",textAlign:"center"}},buttons:{zoomIn:{onclick:function(){this.mapZoom(.5)},text:"+",y:-32},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:0}}},d.splitPath=function(t){var o;t=(t=(t=t.replace(/([A-Za-z])/g," $1 ")).replace(/^\s*/,"").replace(/\s*$/,"")).split(/[ ,]+/);for(o=0;oi[o]+i[t]&&(e[t]>i[t]?(e[t]=i[t],e[o]=i[o]):e[o]=i[o]+i[t]-e[t]),e[t]>i[t]&&(e[t]=i[t]),e[o]"},states:{normal:{animation:!0}}}),o=d.extendClass(s,{applyOptions:function(t,o){var e=s.prototype.applyOptions.call(this,t,o);return e.path&&"string"==typeof e.path&&(e.path=e.options.path=d.splitPath(e.path)),e},onMouseOver:function(){clearTimeout(this.colorInterval),s.prototype.onMouseOver.call(this)},onMouseOut:function(){var e=this,i=+new Date,a=g(e.options.color),n=g(e.pointAttr.hover.fill),t=e.series.options.states.normal.animation,r=t&&(t.duration||500);r&&4===a.rgba.length&&4===n.rgba.length&&(delete e.pointAttr[""].fill,clearTimeout(e.colorInterval),e.colorInterval=setInterval(function(){var t=(new Date-i)/r,o=e.graphic;1 "),void 0!==e&&(o+=m(e,h)),void 0!==e&&void 0!==i&&(o+=" - "),void 0!==i&&(o+=m(i,h)),p.push(d.extend({chart:l.chart,name:o,options:{},drawLegendSymbol:x.area.prototype.drawLegendSymbol,visible:!0,setState:function(){},setVisible:function(){}},t))}),l.legendItems=p):n&&(e=n.from,i=n.to,a=n.fromLabel,n=n.toLabel,s=r?[0,0,1,0]:[0,1,0,0],r||(r=a,a=n,n=r),r={linearGradient:{x1:s[0],y1:s[1],x2:s[2],y2:s[3]},stops:[[0,e],[1,i]]},p=[{chart:l.chart,options:{},fromLabel:a,toLabel:n,color:r,drawLegendSymbol:this.drawLegendSymbolGradient,visible:!0,setState:function(){},setVisible:function(){}}],l.legendItems=p)},drawLegendSymbol:x.area.prototype.drawLegendSymbol,drawLegendSymbolGradient:function(t,o){var e,i,a,n=t.options.symbolPadding,r=p(t.options.padding,8),s=this.chart.renderer.fontMetrics(t.options.itemStyle.fontSize).h,l="horizontal"===t.options.layout;a=p(t.options.rectangleLength,200),i=l?(e=-n/2,0):(e=-a+t.baseline-n/2,r+s),o.fromText=this.chart.renderer.text(o.fromLabel,i,e).attr({zIndex:2}).add(o.legendGroup),i=o.fromText.getBBox(),o.legendSymbol=this.chart.renderer.rect(l?i.x+i.width+n:i.x-s-n,i.y,l?a:s,l?s:a,2).attr({zIndex:1}).add(o.legendGroup),a=o.legendSymbol.getBBox(),o.toText=this.chart.renderer.text(o.toLabel,a.x+a.width+n,l?e:a.y+a.height-n).attr({zIndex:2}).add(o.legendGroup),e=o.toText.getBBox(),l?(t.offsetWidth=i.width+a.width+e.width+2*n+r,t.itemY=s+r):(t.offsetWidth=Math.max(i.width,e.width)+n+a.width+r,t.itemY=a.height+r,t.itemX=n)},getBox:function(t){var l=Number.MIN_VALUE,h=Number.MAX_VALUE,p=Number.MIN_VALUE,d=Number.MAX_VALUE;u(t||this.options.data,function(t){for(var o=t.path,e=o.length,i=!1,a=Number.MIN_VALUE,n=Number.MAX_VALUE,r=Number.MIN_VALUE,s=Number.MAX_VALUE;e--;)"number"!=typeof o[e]||isNaN(o[e])||(i?(a=Math.max(a,o[e]),n=Math.min(n,o[e])):(r=Math.max(r,o[e]),s=Math.min(s,o[e])),i=!i);t._maxX=a,t._minX=n,t._maxY=r,t._minY=s,l=Math.max(l,a),h=Math.min(h,n),p=Math.max(p,r),d=Math.min(d,s)}),this.minY=d,this.maxY=p,this.minX=h,this.maxX=l},translatePath:function(t){var o,e=!1,i=this.xAxis,a=this.yAxis;for(o=(t=[].concat(t)).length;o--;)"number"==typeof t[o]&&(t[o]=e?Math.round(i.translate(t[o])):Math.round(a.len-a.translate(t[o])),e=!e);return t},setData:function(){d.Series.prototype.setData.apply(this,arguments),this.getBox()},translate:function(){var o=this,e=Number.MAX_VALUE,i=Number.MIN_VALUE;o.generatePoints(),u(o.data,function(t){t.shapeType="path",t.shapeArgs={d:o.translatePath(t.path)},"number"==typeof t.y&&(t.y>i?i=t.y:t.y