(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2af406aa"],{"0046":function(t,e,n){var i=n("6d8b"),o=i.each,a=i.createHashMap,r=(i=n("4f85"),n("3301"));n=i.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,e){var n,i,s,l=this.getSource();return i=this,(n=l).encodeDefine||(i=i.ecModel.getComponent("parallel",i.get("parallelIndex")))&&(s=n.encodeDefine=a(),o(i.dimensions,(function(t){var e=+t.replace("dim","");s.set(t,e)}))),r(l,this)},getRawIndicesByActiveState:function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,(function(e,o){t===e&&i.push(n.getRawIndex(o))})),i},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});t.exports=n},"004f":function(t,e,n){var i=n("6d8b"),o=n("72b6"),a=n("2306"),r=n("a15a").createSymbol,s=n("f934"),l=n("cbb0");n=o.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group,e=(t.removeAll(),this.visualMapModel),n=e.get("textGap"),o=e.textStyleModel,r=o.getFont(),l=o.getTextColor(),u=this._getItemAlign(),c=e.itemSize,h=(o=this._getViewData(),o.endsText),d=i.retrieve(e.get("showLabel",!0),!h);h&&this._renderEndsText(t,h[0],c,d,u),i.each(o.viewPieceList,(function(o){var s=o.piece,h=new a.Group;h.onclick=i.bind(this._onItemClick,this,s),this._enableHoverLink(h,o.indexInModelPieceList),o=e.getRepresentValue(s);this._createItemSymbol(h,o,[0,0,c[0],c[1]]),d&&(o=this.visualMapModel.getValueState(o),h.add(new a.Text({style:{x:"right"===u?-n:c[0]+n,y:c[1]/2,text:s.text,textVerticalAlign:"middle",textAlign:u,textFont:r,textFill:l,opacity:"outOfRange"===o?.5:1}}))),t.add(h)}),this),h&&this._renderEndsText(t,h[1],c,d,u),s.box(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(t,e){function n(t){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:t,batch:l.makeHighDownBatch(n.findTargetDataIndices(e),n)})}t.on("mouseover",i.bind(n,this,"highlight")).on("mouseout",i.bind(n,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;return"vertical"===e.orient?l.getItemAlign(t,this.api,t.itemSize):(t=e.align)&&"auto"!==t?t:"left"},_renderEndsText:function(t,e,n,i,o){var r,s;e&&(r=new a.Group,s=this.visualMapModel.textStyleModel,r.add(new a.Text({style:{x:i?"right"===o?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:i?o:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(r))},_getViewData:function(){var t=this.visualMapModel,e=i.map(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),o=t.get("orient");t=t.get("inverse");return("horizontal"===o?t:!t)?e.reverse():n=n&&n.slice().reverse(),{viewPieceList:e,endsText:n}},_createItemSymbol:function(t,e,n){t.add(r(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,n=e.option,o=i.clone(n.selected),a=e.getSelectedMapKey(t);"single"===n.selectedMode?(o[a]=!0,i.each(o,(function(t,e){o[e]=e===a}))):o[a]=!o[a],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}});t.exports=n},"007d":function(t,e,n){var i=n("3eba");n("cb8f"),n("a96b"),n("42f6"),i.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),i.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},"00ba":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("e46b"),r=n("e0d3").defaultEmphasis,s=n("0f99").makeSeriesEncodeForNameBased,l=n("c4a3"),u=i.extendSeriesModel({type:"series.funnel",init:function(t){u.superApply(this,"init",arguments),this.legendVisualProvider=new l(o.bind(this.getData,this),o.bind(this.getRawData,this)),this._defaultLabelLine(t)},getInitialData:function(t,e){return a(this,{coordDimensions:["value"],encodeDefaulter:o.curry(s,this)})},_defaultLabelLine:function(t){r(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},getDataParams:function(t){var e=this.getData(),n=u.superCall(this,"getDataParams",t),i=e.mapDimension("value"),o=e.getSum(i);return n.percent=o?+(e.get(i,t)/o*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}});t.exports=u},"00d8":function(t,e,n){var i=n("6d8b");function o(t,e){return e=e||[0,0],i.map([0,1],(function(n){var i=e[n],o=t[n]/2,a=[],r=[];return a[n]=i-o,r[n]=i+o,a[1-n]=r[1-n]=e[1-n],Math.abs(this.dataToPoint(a)[n]-this.dataToPoint(r)[n])}),this)}t.exports=function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:i.bind(o,t)}}}},"0141":function(t,e,n){var i=n("6d8b"),o=n("9850"),a=n("6cc5"),r=n("5b87");function s(t,e,n,i){a.call(this,t),this.map=e,t=r.load(e,n),this._nameCoordMap=t.nameCoordMap,this._regionsMap=t.regionsMap,this._invertLongitute=null==i||i,this.regions=t.regions,this._rect=t.boundingRect}function l(t,e,n,i){var o=n.geoModel;n=n.seriesModel,o=o?o.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return o===this?o[t](i):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,n=0;n>>1])<0?l=a:s=1+a;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;0>>1);0>>1);a(t,e[n+c])<0?l=c:r=c+1}return l}function l(t,e){var n,o,a=i,l=0,u=(t.length,[]);function c(c){var h=n[c],d=o[c],p=n[c+1],f=o[c+1];o[c]=d+f,c===l-3&&(n[c+1]=n[c+2],o[c+1]=o[c+2]),l--,c=s(t[p],t,h,d,0,e);if(h+=c,0!=(d-=c)&&0!==(f=r(t[h+d-1],t,p,f,f-1,e)))if(d<=f){var g=h,m=d,y=(c=p,f),v=0;for(v=0;vo[t+1])break;c(t)}},this.forceMergeRuns=function(){for(;1>=1;return t+e}(s);do{}while((u=o(t,i,r,e))e&&(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;es&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])}),this),{stops:e,outerColors:n};function l(i,a){var r=o.getRepresentValue({interval:i});a=a||o.getValueState(r),r=t(r,a);i[0]===-1/0?n[0]=r:i[1]===1/0?n[1]=r:e.push({value:i[0],color:r},{value:i[1],color:r})}}}),u={splitNumber:function(){var t=this.option,e=this._pieceList,n=Math.min(t.precision,20),o=this.getExtent(),a=t.splitNumber;a=Math.max(parseInt(a,10),1);t.splitNumber=a;for(var r=(o[1]-o[0])/a;+r.toFixed(n)!==r&&n<5;)n++;t.precision=n,r=+r.toFixed(n),t.minOpen&&e.push({interval:[-1/0,o[0]],close:[0,0]});for(var l=0,u=o[0];l","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,e)}),this)}};function c(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}t.exports=l},"07d7":function(t,e,n){var i=n("6d8b"),o=n("41ef"),a=n("607d"),r=n("65ed"),s=n("22d1"),l=n("eda2"),u=i.each,c=l.toCamelCase,h=["","-webkit-","-moz-","-o-"];function d(t){var e,n,a=[],r=t.get("transitionDuration"),d=t.get("backgroundColor"),p=t.getModel("textStyle"),f=t.get("padding");return r&&a.push((n="left "+r+"s "+(e="cubic-bezier(0.23, 1, 0.32, 1)")+",top "+r+"s "+e,i.map(h,(function(t){return t+"transition:"+n})).join(";"))),d&&(s.canvasSupported?a.push("background-Color:"+d):(a.push("background-Color:#"+o.toHex(d)),a.push("filter:alpha(opacity=70)"))),u(["width","color","radius"],(function(e){var n="border-"+e,i=c(n);i=t.get(i);null!=i&&a.push(n+":"+i+("color"===e?"":"px"))})),a.push(function(t){var e=[],n=t.get("fontSize");(i=t.getTextColor())&&e.push("color:"+i),e.push("font:"+t.getFont()),null==(i=t.get("lineHeight"))&&(i=Math.round(3*n/2)),n&&e.push("line-height:"+i+"px");n=t.get("textShadowColor");var i=t.get("textShadowBlur")||0,o=t.get("textShadowOffsetX")||0,a=t.get("textShadowOffsetY")||0;return i&&e.push("text-shadow:"+o+"px "+a+"px "+i+"px "+n),u(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}(p)),null!=f&&a.push("padding:"+l.normalizeCssArray(f).join("px ")+"px"),a.join(";")+";"}function p(t,e,n,i,o){var a=e&&e.painter;n?(n=a&&a.getViewportRoot())&&r.transformLocalCoord(t,n,document.body,i,o):(t[0]=i,t[1]=o,(n=a&&a.getViewportRootOffset())&&(t[0]+=n.offsetLeft,t[1]+=n.offsetTop)),t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function f(t,e,n){if(s.wxa)return null;var i=document.createElement("div"),o=(i.domBelongToZr=!0,this.el=i,this._zr=e.getZr()),r=(n=this._appendToBody=n&&n.appendToBody,this._styleCoord=[0,0,0,0],p(this._styleCoord,o,n,e.getWidth()/2,e.getHeight()/2),(n?document.body:t).appendChild(i),this._container=t,this._show=!1,this._hideTimeout,this);i.onmouseenter=function(){r._enterable&&(clearTimeout(r._hideTimeout),r._show=!0),r._inContent=!0},i.onmousemove=function(t){var e,n;t=t||window.event,r._enterable||(e=o.handler,n=o.painter.getViewportRoot(),a.normalizeEvent(n,t,!0),e.dispatch("mousemove",t))},i.onmouseleave=function(){r._enterable&&r._show&&r.hideLater(r._hideDelay),r._inContent=!1}}f.prototype={constructor:f,_enterable:!0,update:function(t){var e=this._container,n=e.currentStyle||document.defaultView.getComputedStyle(e);e=e.style;"absolute"!==e.position&&"absolute"!==n.position&&(e.position="relative"),t.get("alwaysShowContent")&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3];t*=this._zr.getWidth(),e*=this._zr.getHeight();this.moveTo(t,e)},show:function(t){clearTimeout(this._hideTimeout);var e=this.el,n=this._styleCoord;e.style.cssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+d(t)+";left:"+n[0]+"px;top:"+n[1]+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var n=this._styleCoord;p(n,this._zr,this._appendToBody,t,e),t=this.el.style;t.left=n[0]+"px",t.top=n[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(i.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var t,e=this.el.clientWidth,n=this.el.clientHeight;return document.defaultView&&document.defaultView.getComputedStyle&&(t=document.defaultView.getComputedStyle(this.el))&&(e+=parseInt(t.borderLeftWidth,10)+parseInt(t.borderRightWidth,10),n+=parseInt(t.borderTopWidth,10)+parseInt(t.borderBottomWidth,10)),{width:e,height:n}}},t.exports=f},"07e6":function(t,e,n){n("4d85"),n("a753")},"0817":function(t,e,n){var i=n("3eba");n("f306"),n("0046"),n("60d7"),n=n("ab71");i.registerVisual(n)},"085d":function(t,e,n){var i=n("3eba"),o=(n("bd92"),n("19e2"),n("eabf")),a=n("4c99");n=n("09b1");i.registerPreprocessor(o),i.registerVisual(a),i.registerLayout(n)},"08c3":function(t,e,n){function i(t,e,n,i){a.call(this,t,e,n),this.type=i||"value",this.model=null}var o=n("6d8b"),a=n("84ce");i.prototype={constructor:i,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},o.inherits(i,a),t.exports=i},"09b1":function(t,e,n){var i=n("2306").subPixelOptimize,o=n("cccd"),a=n("3842").parsePercent,r=n("6d8b").retrieve2,s="undefined"!=typeof Float32Array?Float32Array:Array;n={seriesType:"candlestick",plan:o(),reset:function(t){var e,n,o=t.coordinateSystem,u=t.getData(),c=(e=u,p="category"===(p=(h=t).getBaseAxis()).type?p.getBandWidth():(p=p.getExtent(),Math.abs(p[1]-p[0])/e.count()),e=a(r(h.get("barMaxWidth"),p),p),n=a(r(h.get("barMinWidth"),1),p),null!=(h=h.get("barWidth"))?a(h,p):Math.max(Math.min(p/2,e),n)),h=["x","y"],d=u.mapDimension(h[0]),p=u.mapDimension(h[1],!0),f=p[0],g=p[1],m=p[2],y=p[3];if(u.setLayout({candleWidth:c,isSimpleBox:c<=1.3}),!(null==d||p.length<4))return{progress:t.pipelineContext.large?function(t,e){for(var n,i=new s(4*t.count),a=0,r=[],u=[];null!=(n=t.next());){var c=e.get(d,n),h=e.get(f,n),p=e.get(g,n),v=e.get(m,n),x=e.get(y,n);isNaN(c)||isNaN(v)||isNaN(x)?(i[a++]=NaN,a+=3):(i[a++]=l(e,n,h,p,g),r[0]=c,r[1]=v,n=o.dataToPoint(r,null,u),i[a++]=n?n[0]:NaN,i[a++]=n?n[1]:NaN,r[1]=x,n=o.dataToPoint(r,null,u),i[a++]=n?n[1]:NaN)}e.setLayout("largePoints",i)}:function(t,e){for(var n;null!=(n=t.next());){var a=e.get(d,n),r=e.get(f,n),s=e.get(g,n),u=e.get(m,n),h=e.get(y,n),p=Math.min(r,s),v=Math.max(r,s),x=(p=w(p,a),v=w(v,a),w(u,a)),_=w(h,a),b=[];S(b,v,0),S(b,p,1),b.push(M(_),M(v),M(x),M(p)),e.setItemLayout(n,{sign:l(e,n,r,s,g),initBaseline:(s=o&&a<=n+1){for(var u=[],c=0;c=o&&a<=h+1){for(var f=s.components,g=0,m=f.length,y=0,v=0;gn[s],m=[-p.x,-p.y],y=(e=(e||(m[r]=c.position[r]),[0,0]),[-f.x,-f.y]),v=i.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));g&&("end"===t.get("pageButtonPosition",!0)?y[r]+=n[s]-f[s]:e[r]+=f[s]+v),y[1-r]+=p[l]/2-f[l]/2,c.attr("position",m),h.attr("position",e),d.attr("position",y),m={x:0,y:0},m[s]=(g?n:p)[s],m[l]=Math.max(p[l],f[l]),m[u]=Math.min(0,f[u]+y[1-r]),h.__rectSize=n[s],g?((e={x:0,y:0})[s]=Math.max(n[s]-f[s]-v,0),e[l]=m[l],h.setClipPath(new o.Rect({shape:e})),h.__rectSize=e[s]):d.eachChild((function(t){t.attr({invisible:!0,silent:!0})})),p=this._getPageInfo(t);return null!=p.pageIndex&&o.updateProps(c,{position:p.contentPosition},g&&t),this._updatePageInfoView(t,p),m},_pageGo:function(t,e,n){t=this._getPageInfo(e)[t],null!=t&&n.dispatchAction({type:"legendScroll",scrollDataIndex:t,legendId:e.id})},_updatePageInfoView:function(t,e){var n=this._controllerGroup,o=(i.each(["pagePrev","pageNext"],(function(i){var o=null!=e[i+"DataIndex"];i=n.childOfName(i);i&&(i.setStyle("fill",o?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),i.cursor=o?"pointer":"default")})),n.childOfName("pageText")),a=t.get("pageFormatter"),r=e.pageIndex,s=(r=null!=r?r+1:0,e.pageCount);o&&a&&o.setStyle("text",i.isString(a)?a.replace("{current}",r).replace("{total}",s):a({current:r,total:s}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,o=t.getOrient().index,a=s[o],r=l[o],u=(t=this._findTargetItemIndex(e),n.children()),c=(e=u[t],u.length),h=c?1:0,d={contentPosition:n.position.slice(),pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(e){n=y(e),d.contentPosition[o]=-n.s;for(var p=t+1,f=n,g=n,m=null;p<=c;++p)(!(m=y(u[p]))&&g.e>f.s+i||m&&!v(m,f.s))&&(f=g.i>f.i?g:m)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=f.i),++d.pageCount),g=m;for(p=t-1,f=n,g=n,m=null;-1<=p;--p)(m=y(u[p]))&&v(g,m.s)||!(f.i=e&&t.s<=e+i}},_findTargetItemIndex:function(t){var e,n;return this._showController?(this.getContentGroup().eachChild((function(i,o){i=i.__legendDataIndex,null==n&&null!=i&&(n=o),i===t&&(e=o)})),null!=e?e:n):0}});t.exports=u},"0f55":function(t,e,n){function i(t,e,n,i,o){a.call(this,t,e,n),this.type=i||"value",this.axisIndex=o}var o=n("6d8b"),a=n("84ce");i.prototype={constructor:i,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},o.inherits(i,a),t.exports=i},"0f99":function(t,e,n){n("4e08").__DEV__;var i=n("e0d3"),o=i.makeInner,a=i.getDataItemValue,r=(i=n("6d8b"),i.createHashMap),s=i.each,l=i.map,u=i.isArray,c=i.isString,h=i.isObject,d=i.isTypedArray,p=i.isArrayLike,f=i.extend,g=(i.assert,n("ec6f")),m=(i=n("93d0"),i.SOURCE_FORMAT_ORIGINAL),y=i.SOURCE_FORMAT_ARRAY_ROWS,v=i.SOURCE_FORMAT_OBJECT_ROWS,x=i.SOURCE_FORMAT_KEYED_COLUMNS,_=i.SOURCE_FORMAT_UNKNOWN,b=i.SOURCE_FORMAT_TYPED_ARRAY,w=i.SERIES_LAYOUT_BY_ROW,S={Must:1,Might:2,Not:3},M=o();function I(t){var e;if(t)return e=r(),l(t,(function(t,n){var i;return null!=(t=f({},h(t)?t:{name:t})).name&&(t.name+="",null==t.displayName&&(t.displayName=t.name),(i=e.get(t.name))?t.name+="-"+i.count++:e.set(t.name,{count:1})),t}))}function T(t,e,n,i){if(null==i&&(i=1/0),e===w)for(var o=0;oo[0][1]&&(o[0][1]=a[0]),a[1]o[1][1]&&(o[1][1]=a[1])}return o&&v(o)}};function v(t){return new a(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}e.layoutCovers=p},1111:function(t,e,n){var i=n("3eba"),o=(n("67a8"),n("4784"),n("7f96"));n=n("87c3");i.registerVisual(o("effectScatter","circle")),i.registerLayout(n("effectScatter"))},"133d":function(t,e,n){var i=n("6d8b"),o=n("e0d3");t.exports=function(t,e){var n,a,r=[],s=t.seriesIndex;return null==s||!(e=e.getSeriesByIndex(s))||(n=e.getData(),null==(s=o.queryDataIndex(n,t)))||s<0||i.isArray(s)?{point:[]}:(t=n.getItemGraphicEl(s),a=e.coordinateSystem,e.getTooltipPosition?r=e.getTooltipPosition(s)||[]:a&&a.dataToPoint?r=a.dataToPoint(n.getValues(i.map(a.dimensions,(function(t){return n.mapDimension(t)})),s,!0))||[]:t&&((e=t.getBoundingRect().clone()).applyTransform(t.transform),r=[e.x+e.width/2,e.y+e.height/2]),{point:r,el:t})}},1418:function(t,e,n){var i=n("6d8b"),o=n("a15a").createSymbol,a=n("2306"),r=n("3842").parsePercent,s=n("c775f").getDefaultLabel;function l(t,e,n){a.Group.call(this),this.updateData(t,e,n)}n=l.prototype;var u=l.getSymbolSize=function(t,e){return t=t.getItemVisual(e,"symbolSize"),t instanceof Array?t.slice():[+t,+t]};function c(t){return[t[0]/2,t[1]/2]}function h(t,e){this.parent.drift(t,e)}n._createSymbol=function(t,e,n,i,a){this.removeAll(),e=e.getItemVisual(n,"color"),n=o(t,-1,-1,2,2,e,a),n.attr({z2:100,culling:!0,scale:c(i)}),n.drift=h,this._symbolType=t,this.add(n)},n.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},n.getSymbolPath=function(){return this.childAt(0)},n.getScale=function(){return this.childAt(0).scale},n.highlight=function(){this.childAt(0).trigger("emphasis")},n.downplay=function(){this.childAt(0).trigger("normal")},n.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},n.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},n.updateData=function(t,e,n){this.silent=!1;var i,o,r=t.getItemVisual(e,"symbol")||"circle",s=t.hostModel,l=u(t,e),h=r!==this._symbolType;h?(o=t.getItemVisual(e,"symbolKeepAspect"),this._createSymbol(r,t,e,l,o)):((i=this.childAt(0)).silent=!1,a.updateProps(i,{scale:c(l)},s,e)),this._updateCommon(t,e,l,n),h&&(i=this.childAt(0),r=n&&n.fadeIn,o={scale:i.scale.slice()},r&&(o.style={opacity:i.style.opacity}),i.scale=[0,0],r&&(i.style.opacity=0),a.initProps(i,o,s,e)),this._seriesModel=s};var d=["itemStyle"],p=["emphasis","itemStyle"],f=["label"],g=["emphasis","label"];function m(t,e){var n,i;this.incremental||this.useHoverLayer||("emphasis"===e?(n=(i=this.__symbolOriginalScale)[1]/i[0],i={scale:[Math.max(1.1*i[0],i[0]+3),Math.max(1.1*i[1],i[1]+3*n)]},this.animateTo(i,400,"elasticOut")):"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut"))}n._updateCommon=function(t,e,n,o){var l=this.childAt(0),u=t.hostModel,h=t.getItemVisual(e,"color"),y=("image"!==l.type?l.useStyle({strokeNoScale:!0}):l.setStyle({opacity:1,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null}),o&&o.itemStyle),v=o&&o.hoverItemStyle,x=o&&o.symbolOffset,_=o&&o.labelModel,b=o&&o.hoverLabelModel,w=o&&o.hoverAnimation,S=o&&o.cursorStyle,M=(!o||t.hasItemOption?(y=(M=o&&o.itemModel?o.itemModel:t.getItemModel(e)).getModel(d).getItemStyle(["color"]),v=M.getModel(p).getItemStyle(),x=M.getShallow("symbolOffset"),_=M.getModel(f),b=M.getModel(g),w=M.getShallow("hoverAnimation"),S=M.getShallow("cursor")):v=i.extend({},v),l.style),I=t.getItemVisual(e,"symbolRotate"),T=(I=(l.attr("rotation",(I||0)*Math.PI/180||0),x&&l.attr("position",[r(x[0],n[0]),r(x[1],n[1])]),S&&l.attr("cursor",S),l.setColor(h,o&&o.symbolInnerColor),l.setStyle(y),t.getItemVisual(e,"opacity")),x=(null!=I&&(M.opacity=I),t.getItemVisual(e,"liftZ")),S=l.__z2Origin,null!=x?null==S&&(l.__z2Origin=l.z2,l.z2+=x):null!=S&&(l.z2=S,l.__z2Origin=null),o&&o.useNameLabel);a.setLabelStyle(M,v,_,b,{labelFetcher:u,labelDataIndex:e,defaultText:function(e,n){return T?t.getName(e):s(t,e)},isRectText:!0,autoColor:h}),l.__symbolOriginalScale=c(n),l.hoverStyle=v,l.highDownOnUpdate=w&&u.isAnimationEnabled()?m:null,a.setHoverStyle(l)},n.fadeOut=function(t,e){var n=this.childAt(0);this.silent=n.silent=!0,e&&e.keepLabel||(n.style.text=null),a.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},i.inherits(l,a.Group),t.exports=l},1466:function(t,e,n){var i=n("3eba"),o=n("2306"),a=n("6d8b"),r=n("a15a");n=i.extendChartView({type:"radar",render:function(t,e,n){var i=t.coordinateSystem,s=this.group,l=t.getData(),u=this._data;function c(t,e){var n,i=t.getItemVisual(e,"symbol")||"circle",o=t.getItemVisual(e,"color");if("none"!==i)return n=t.getItemVisual(e,"symbolSize"),n=n=a.isArray(n)?n:[+n,+n],i=r.createSymbol(i,-1,-1,2,2,o),o=t.getItemVisual(e,"symbolRotate")||0,i.attr({style:{strokeNoScale:!0},z2:100,scale:[n[0]/2,n[1]/2],rotation:o*Math.PI/180||0}),i}function h(e,n,i,a,r,s){i.removeAll();for(var l=0;l=e.r0}});t.exports=l},"1c5f":function(t,e,n){var i=n("401b"),o=n("6d8b"),a=n("0c37").getCurvenessForEdge;function r(t,e){t.eachEdge((function(t,n){n=o.retrieve3(t.getModel().get("lineStyle.curveness"),-a(t,e,n,!0),0);var r=i.clone(t.node1.getLayout()),s=i.clone(t.node2.getLayout()),l=[r,s];+n&&l.push([(r[0]+s[0])/2-(r[1]-s[1])*n,(r[1]+s[1])/2-(s[0]-r[0])*n]),t.setLayout(l)}))}e.simpleLayout=function(t){var e=t.coordinateSystem;e&&"view"!==e.type||((e=t.getGraph()).eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),r(e,t))},e.simpleLayoutEdge=r},"1ccf":function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=n("fd27"),a=n("3842").parsePercent,r=n("697e"),s=r.createScaleByModel,l=r.niceScaleExtent,u=(r=n("2039"),n("ee1aa").getStackedDimension);function c(t,e){var n,o=this,a=o.getAngleAxis(),r=o.getRadiusAxis();a.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){var e;t.coordinateSystem===o&&(e=t.getData(),i.each(e.mapDimension("radius",!0),(function(t){r.scale.unionExtentFromData(e,u(e,t))})),i.each(e.mapDimension("angle",!0),(function(t){a.scale.unionExtentFromData(e,u(e,t))})))})),l(a.scale,a.model),l(r.scale,r.model),"category"!==a.type||a.onBand||(t=a.getExtent(),n=360/a.scale.count(),a.inverse?t[1]+=n:t[1]-=n,a.setExtent(t[0],t[1]))}function h(t,e){var n;t.type=e.get("type"),t.scale=s(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType&&(t.inverse^=e.get("clockwise"),n=e.get("startAngle"),t.setExtent(n,n+(t.inverse?-360:360))),(e.axis=t).model=e}n("78f0"),n={dimensions:o.prototype.dimensions,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,r){r=new o(r);var s,l=(r.update=c,r.getRadiusAxis()),u=r.getAngleAxis(),d=t.findAxisModel("radiusAxis"),p=t.findAxisModel("angleAxis");h(l,d),h(u,p),l=r,d=e,p=(u=t).get("center"),s=d.getWidth(),d=d.getHeight(),l.cx=a(p[0],s),l.cy=a(p[1],d),p=l.getRadiusAxis(),l=Math.min(s,d)/2,null==(s=u.get("radius"))?s=[0,"100%"]:i.isArray(s)||(s=[0,s]),s=[a(s[0],l),a(s[1],l)],p.inverse?p.setExtent(s[1],s[0]):p.setExtent(s[0],s[1]),n.push(r),(t.coordinateSystem=r).model=t})),t.eachSeries((function(e){var n;"polar"===e.get("coordinateSystem")&&(n=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0],e.coordinateSystem=n.coordinateSystem)})),n}},r.register("polar",n)},"1e32":function(t,e,n){var i=n("6d8b"),o=n("3842").parsePercent,a=n("ee1aa").isDimensionStacked;function r(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function s(t,e){return e.dim+t.model.componentIndex}t.exports=function(t,e,n){var l,u,c,h={},d=(l=i.filter(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})),u={},i.each(l,(function(t,e){var n=t.getData(),i=t.coordinateSystem,a=i.getBaseAxis(),l=(i=s(i,a),a.getExtent()),c=(a="category"===a.type?a.getBandWidth():Math.abs(l[1]-l[0])/n.count(),l=u[i]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},n=l.stacks,i=(u[i]=l,r(t)),n[i]||l.autoWidthCount++,n[i]=n[i]||{width:0,maxWidth:0},o(t.get("barWidth"),a)),h=(a=o(t.get("barMaxWidth"),a),t.get("barGap"));t=t.get("barCategoryGap");c&&!n[i].width&&(c=Math.min(l.remainedWidth,c),n[i].width=c,l.remainedWidth-=c),a&&(n[i].maxWidth=a),null!=h&&(l.gap=h),null!=t&&(l.categoryGap=t)})),c={},i.each(u,(function(t,e){c[e]={};var n,a=t.stacks,r=t.bandWidth,s=(r=o(t.categoryGap,r),o(t.gap,1)),l=t.remainedWidth,u=t.autoWidthCount,h=(l-r)/(u+(u-1)*s),d=(h=Math.max(h,0),i.each(a,(function(t,e){var n=t.maxWidth;n&&nthis._ux||x(e-this._yi)>this._uy||this._len<5;return this.addData(u.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,o,a){return this.addData(u.C,t,e,n,i,o,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,o,a):this._ctx.bezierCurveTo(t,e,n,i,o,a)),this._xi=o,this._yi=a,this},quadraticCurveTo:function(t,e,n,i){return this.addData(u.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,o,a){return this.addData(u.A,t,e,n,n,i,o-i,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,i,o,a),this._xi=m(o)*n+t,this._yi=y(o)*n+e,this},arcTo:function(t,e,n,i,o){return this._ctx&&this._ctx.arcTo(t,e,n,i,o),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(u.R,t,e,n,i),this},closePath:function(){this.addData(u.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t;for(var e=this._dashIdx=0,n=0;ne.length&&(this._expandData(),e=this.data);for(var n=0;nr||x(p-o)>s||c===l-1)&&(t.lineTo(d,p),i=d,o=p);break;case u.C:t.bezierCurveTo(a[c++],a[c++],a[c++],a[c++],a[c++],a[c++]),i=a[c-2],o=a[c-1];break;case u.Q:t.quadraticCurveTo(a[c++],a[c++],a[c++],a[c++]),i=a[c-2],o=a[c-1];break;case u.A:var d=a[c++],p=a[c++],f=a[c++],g=a[c++],v=a[c++],_=a[c++],b=a[c++],w=a[c++],S=gs&&(s=t.depth)}));var l=t.expandAndCollapse&&0<=t.initialTreeDepth?t.initialTreeDepth:s;return a.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=l})),a.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){for(var e=this.getData().tree,n=e.root.children[0],i=e.getNodeByDataIndex(t),o=(e=i.getValue(),i.name);i&&i!==n;)o=i.parentNode.name+"."+o,i=i.parentNode;return a(o+(isNaN(e)||null==e?"":" : "+e))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=n},"216a":function(t,e,n){var i=n("6d8b"),o=n("3842"),a=n("eda2"),r=n("944e"),s=(n=n("89e3"),n.prototype),l=Math.ceil,u=Math.floor,c=36e5,h=864e5,d=n.extend({type:"time",getLabel:function(t){var e=this._stepLvl;t=new Date(t);return a.formatTime(e[0],t,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent,n=(e[0]===e[1]&&(e[0]-=h,e[1]+=h),e[1]===-1/0&&e[0]===1/0&&(n=new Date,e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-h),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval),this._interval);t.fixMin||(e[0]=o.round(u(e[0]/n)*n)),t.fixMax||(e[1]=o.round(l(e[1]/n)*n))},niceTicks:function(t,e,n){var i=this._extent,a=i[1]-i[0],s=a/(t=t||10);null!=e&&s>>1;t[o][1]Math.abs(i[1])?0e[0]||t[1]<0||t[1]>e[1]||(e=((e=this._handleEnds)[0]+e[1])/2,t=this._updateInterval("all",t[0]-e),this._updateView(),t&&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,e,n;return g(this.getTargetCoordInfo(),(function(t){!n&&t.length&&(t=t[0].model.coordinateSystem,n=t.getRect&&t.getRect())})),n||(t=this.api.getWidth(),e=this.api.getHeight(),n={x:.2*t,y:.2*e,width:.6*t,height:.6*e}),n}});function _(t){return"vertical"===t?"ns-resize":"ew-resize"}t.exports=x},"237f":function(t,e,n){var i=n("6d8b"),o=n("6179"),a=n("7368"),r=n("31d9"),s=n("b1d4"),l=n("2039"),u=n("3301");t.exports=function(t,e,n,c,h){for(var d=new a(c),p=0;p "+_)),y++)}return"cartesian2d"===(c=n.get("coordinateSystem"))||"polar"===c?f=u(t,n):(c=(c=l.get(c))&&"view"!==c.type&&c.dimensions||[],i.indexOf(c,"value")<0&&c.concat(["value"]),c=s(t,{coordDimensions:c}),(f=new o(c,n)).initData(t)),(c=new o(["value"],n)).initData(m,g),h&&h(f,c),r({mainData:f,struct:d,structAttr:"graph",datas:{node:f,edge:c},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},"23e0":function(t,e,n){var i=n("6d8b"),o=n("7887"),a=n("89e3"),r=n("3842"),s=n("697e"),l=s.getScaleExtent,u=s.niceScaleExtent,c=(s=n("2039"),n("8c2a"));function h(t,e,n){this._model=t,this.dimensions=[],this._indicatorAxes=i.map(t.getIndicatorModels(),(function(t,e){e="indicator_"+e;var n=new o(e,new("log"===t.get("axisType")?c:a));return n.name=t.get("name"),(n.model=t).axis=n,this.dimensions.push(e),n}),this),this.resize(t,n),this.cx,this.cy,this.r,this.r0,this.startAngle}h.prototype.getIndicatorAxes=function(){return this._indicatorAxes},h.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},h.prototype.coordToPoint=function(t,e){return e=this._indicatorAxes[e].angle,[this.cx+t*Math.cos(e),this.cy-t*Math.sin(e)]},h.prototype.pointToData=function(t){for(var e,n=t[0]-this.cx,i=(t=t[1]-this.cy,Math.sqrt(n*n+t*t)),o=(n/=i,t/=i,Math.atan2(-t,n)),a=1/0,r=-1,s=0;sn[0]&&isFinite(f)&&isFinite(n[0]););else{t=o.getTicks().length-1;var p=(a":"\n"),a&&(t+=u(a),null!=r)&&(t+=" : "),null!=r&&(t+=u(s)),t},getData:function(){return this._data},setData:function(t){this._data=t}}),o.mixin(s,n),t.exports=s},"24b9":function(t,e,n){n("4e08").__DEV__;var i=n("f934"),o=(n=n("3842"),n.parsePercent),a=n.linearMap;t.exports=function(t,e,n){t.eachSeriesByType("funnel",(function(t){function n(t,e){if("horizontal"===h){var n,i=r.get(s,t)||0,o=a(i,[y,v],m,!0);switch(x){case"top":n=g;break;case"center":n=g+(p-o)/2;break;case"bottom":n=g+(p-o)}return[[e,n],[e,n+o]]}i=r.get(s,t)||0;var l,u=a(i,[y,v],m,!0);switch(x){case"left":l=f;break;case"center":l=f+(d-u)/2;break;case"right":l=f+d-u}return[[l,e],[l+u,e]]}var r=t.getData(),s=r.mapDimension("value"),l=t.get("sort"),u=(u=e,i.getLayoutRect(t.getBoxLayoutParams(),{width:u.getWidth(),height:u.getHeight()})),c=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),o=[],a="ascending"===e,r=0,s=t.count();re[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){o.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,(function(t){t=this.option.controller[t].symbolSize,t&&t[0]!==t[1]&&(t[0]=0)}),this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=a.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],o=n.getData();o.each(this.getDataDimension(o),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},getVisualMeta:function(t){var e=l(0,0,this.getExtent()),n=l(0,0,this.option.range.slice()),i=[];function o(e,n){i.push({value:e,color:t(e,n)})}for(var a=0,r=0,s=n.length,u=e.length;r=e.r0}});t.exports=n},"342d":function(t,e,n){function i(t,e){return(t[0]*e[1]n[1]?n[1]:t)=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/o*a+n[0]},e.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t},e.round=function(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t},e.asc=function(t){return t.sort((function(t,e){return t-e})),t},e.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n},e.getPrecisionSafe=function(t){var e=(t=t.toString()).indexOf("e");return 0c&&(c=u[d],h=d);++s[h],u[h]=0,++l}return s[e]/a},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return-1e-4t[1])break;n.push({color:this.getControllerVisual(a,"color",e),offset:o/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){var n,i,o,a;this._useHandle&&(n=this._shapes,i=this.visualMapModel,o=n.handleThumbs,a=n.handleLabels,p([0,1],(function(r){var l=o[r];l.setStyle("fill",e.handlesColor[r]),l.position[1]=t[r],l=s.applyTransform(n.handleLabelPoints[r],s.getTransform(l,this.group));a[r].setStyle({x:l[0],y:l[1],text:i.formatValueText(this._dataInterval[r]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===r?"bottom":"top":"left",n.barGroup)})}),this))},_showIndicator:function(t,e,n,i){var o,a=this.visualMapModel,r=a.getExtent(),l=a.itemSize,u=[0,l[1]],c=(r=d(t,r,u,!0),u=this._shapes,u.indicator);c&&(c.position[1]=r,c.attr("invisible",!1),c.setShape("points",(o=!!n,i=i,r=r,l=l[1],o?[[0,-f(i,g(r,0))],[6,0],[0,f(i,g(l-r,0))]]:[[0,0],[5,-5],[5,5]])),o=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c.setStyle("fill",o),i=s.applyTransform(u.indicatorLabelPoint,s.getTransform(c,this.group)),(l=u.indicatorLabel).attr("invisible",!1),r=this._applyTransform("left",u.barGroup),t=this._orient,l.setStyle({text:(n||"")+a.formatValueText(e),textVerticalAlign:"horizontal"===t?r:"middle",textAlign:"horizontal"===t?"center":r,x:i[0],y:i[1]}))},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",(function(e){var n;t._hovering=!0,t._dragging||(n=t.visualMapModel.itemSize,(e=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0))[1]=f(g(0,e[1]),n[1]),t._doHoverLinkToSeries(e[1],0<=e[0]&&e[0]<=n[0]))})).on("mouseout",(function(){t._hovering=!1,t._dragging||t._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var n,i,o,a=this.visualMapModel,r=a.itemSize;a.option.hoverLink&&(r=[0,r[1]],i=a.getExtent(),o=[(t=f(g(r[0],t),r[1]))-(n=function(t,e,n){var i=6;t=t.get("hoverLinkDataSize");return t&&(i=d(t,e,n,!0)/2),i}(a,i,r)),t+n],t=d(t,r,i,!0),i=[d(o[0],r,i,!0),d(o[1],r,i,!0)],o[0] ",n):this._showIndicator(t,t,"≈ ",n)),r=this._hoverLinkDataIndices,o=[],(e||v(a))&&(o=this._hoverLinkDataIndices=a.findTargetDataIndices(i)),t=h.compressBatches(r,o),this._dispatchHighDown("downplay",c.makeHighDownBatch(t[0],a)),this._dispatchHighDown("highlight",c.makeHighDownBatch(t[1],a)))},_hoverLinkFromSeriesMouseOver:function(t){t=t.target;var e,n=this.visualMapModel;t&&null!=t.dataIndex&&(e=this.ecModel.getSeriesByIndex(t.seriesIndex),n.isTargetSeries(e))&&(n=(e=e.getData(t.dataType)).get(n.getDataDimension(e),t.dataIndex,!0),isNaN(n)||this._showIndicator(n,n))},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(t,this.visualMapModel)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,n,o){return e=s.getTransform(e,o?null:this.group),s[i.isArray(t)?"applyTransform":"transformDirection"](t,e,n)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function y(t,e,n,i){return new s.Polygon({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){a.stop(t.event)},ondragend:i})}function v(t){var e=t.get("hoverLinkOnHandle");return null==e?t.get("realtime"):e}function x(t){return"vertical"===t?"ns-resize":"ew-resize"}t.exports=m},"3eba":function(t,e,n){n("4e08").__DEV__;var i=n("697e7"),o=n("6d8b"),a=n("41ef"),r=n("22d1"),s=n("04f6"),l=n("1fab"),u=n("7e63"),c=n("843e"),h=n("2039"),d=n("ca98"),p=n("fb05"),f=n("d15d"),g=n("6cb7"),m=n("4f85"),y=n("b12f"),v=n("e887"),x=n("2306"),_=n("e0d3"),b=n("88b3").throttle,w=n("fd63"),S=n("b809"),M=n("998c"),I=n("69ff"),T=n("c533"),A=n("f219"),C=(n("0352"),n("ec34")),D=o.assert,L=o.each,P=o.isFunction,k=o.isObject,O=g.parseClassType,R={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:3500,COMPONENT:4e3,BRUSH:5e3}},E="__flagInMainProcess",N="__optionUpdated",z=/^[a-zA-Z0-9_]+$/;function B(t,e){return function(n,i,o){!e&&this._disposed?this.id:(n=n&&n.toLowerCase(),l.prototype[t].call(this,n,i,o))}}function V(){l.call(this)}function G(t,e,n){n=n||{},"string"==typeof e&&(e=ct[e]),this.id,this.group,this._dom=t,t=this._zr=i.init(t,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height}),this._throttledZrFlush=b(o.bind(t.flush,t),17),(e=o.clone(e))&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new h;var a,r,u;e=this._api=(n=(a=this)._coordSysMgr,o.extend(new c(a),{getCoordinateSystems:o.bind(n.getCoordinateSystems,n),getComponentByElement:function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return a._model.getComponent(e.mainType,e.index);t=t.parent}}}));function d(t,e){return t.__prio-e.__prio}s(ut,d),s(rt,d),this._scheduler=new I(this,e,rt,ut),l.call(this,this._ecEventProcessor=new it),this._messageCenter=new V,this._initEvents(),this.resize=o.bind(this.resize,this),this._pendingActions=[],t.animation.on("frame",this._onframe,this),u=this,(r=t).on("rendered",(function(){u.trigger("rendered"),!r.animation.isFinished()||u[N]||u._scheduler.unfinished||u._pendingActions.length||u.trigger("finished")})),o.setAsPrimitive(this)}V.prototype.on=B("on",!0),V.prototype.off=B("off",!0),V.prototype.one=B("one",!0),o.mixin(V,l);var F=G.prototype;function H(t,e,n){if(this._disposed)this.id;else{var i=this._model,o=this._coordSysMgr.getCoordinateSystems();e=_.parseFinder(i,e);for(var a=0;a'+t.dom+""})),y.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()):(t.connectedBackgroundColor&&y.add(new x.Rect({shape:{x:0,y:0,width:f,height:g},style:{fill:t.connectedBackgroundColor}})),L(d,(function(t){t=new x.Image({style:{x:t.left*p-l,y:t.top*p-u,image:t.dom}}),y.add(t)})),y.refreshImmediately(),m.toDataURL("image/"+(t&&t.type||"png")))):this.getDataURL(t)},F.convertToPixel=o.curry(H,"convertToPixel"),F.convertFromPixel=o.curry(H,"convertFromPixel"),F.containPixel=function(t,e){var n,i;if(!this._disposed)return n=this._model,t=_.parseFinder(n,t),o.each(t,(function(t,n){0<=n.indexOf("Models")&&o.each(t,(function(t){var o=t.coordinateSystem;o&&o.containPoint?i|=!!o.containPoint(e):"seriesModels"===n&&(o=this._chartsMap[t.__viewId])&&o.containPoint&&(i|=o.containPoint(e,t))}),this)}),this),!!i;this.id},F.getVisual=function(t,e){var n=this._model;n=(t=_.parseFinder(n,t,{defaultMainType:"series"})).seriesModel.getData(),t=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;return null!=t?n.getItemVisual(t,e):n.getVisual(e)},F.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},F.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var W={prepareAndUpdate:function(t){U(this),W.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,o=this._coordSysMgr,s=this._scheduler;e&&(s.restoreData(e,t),s.performSeriesTasks(e),o.create(e,n),s.performDataProcessorTasks(e,t),Y(this,e),o.update(e,n),$(e),s.performVisualTasks(e,t),J(this,e,n,t),o=e.get("backgroundColor")||"transparent",r.canvasSupported?i.setBackgroundColor(o):(s=a.parse(o),o=a.stringify(s,"rgb"),0===s[3]&&(o="transparent")),tt(e,n))},updateTransform:function(t){var e,n,i=this._model,a=this,r=this._api;i&&(e=[],i.eachComponent((function(n,o){var s=a.getViewOfComponentModel(o);s&&s.__alive&&(!s.updateTransform||(o=s.updateTransform(o,i,r,t))&&o.update)&&e.push(s)})),n=o.createHashMap(),i.eachSeries((function(e){var o=a._chartsMap[e.__viewId];(!o.updateTransform||(o=o.updateTransform(e,i,r,t))&&o.update)&&n.set(e.uid,1)})),$(i),this._scheduler.performVisualTasks(i,t,{setDirty:!0,dirtyMap:n}),Q(a,i,0,t,n),tt(i,this._api))},updateView:function(t){var e=this._model;e&&(v.markUpdateMethod(t,"updateView"),$(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),J(this,this._model,this._api,t),tt(e,this._api))},updateVisual:function(t){W.update.call(this,t)},updateLayout:function(t){W.update.call(this,t)}};function U(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),K(t,"component",e,n),K(t,"chart",e,n),n.plan()}function Z(t,e,n,i,a){var r,s,l=t._model;function u(i){i&&i.__alive&&i[e]&&i[e](i.__model,l,t._api,n)}i?((r={})[i+"Id"]=n[i+"Id"],r[i+"Index"]=n[i+"Index"],r[i+"Name"]=n[i+"Name"],r={mainType:i,query:r},a&&(r.subType=a),null!=(s=n.excludeSeriesId)&&(s=o.createHashMap(_.normalizeToArray(s))),l&&l.eachComponent(r,(function(e){s&&null!=s.get(e.id)||u(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)):L(t._componentsViews.concat(t._chartsViews),u)}function Y(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))}function j(t,e){var n,i=t.type,a=t.escapeConnect,r=ot[i],s=r.actionInfo,l=(u=(s.update||"update").split(":")).pop(),u=null!=u[0]&&O(u[0]),c=(this[E]=!0,[t]),h=!1,d=(t.batch&&(h=!0,c=o.map(t.batch,(function(e){return(e=o.defaults(o.extend({},e),t)).batch=null,e}))),[]),p="highlight"===i||"downplay"===i;L(c,(function(t){(n=(n=r.action(t,this._model,this._api))||o.extend({},t)).type=s.event||n.type,d.push(n),p?Z(this,l,t,"series"):u&&Z(this,l,t,u.main,u.sub)}),this),"none"===l||p||u||(this[N]?(U(this),W.update.call(this,t),this[N]=!1):W[l].call(this,t)),n=h?{type:s.event||i,escapeConnect:a,batch:d}:d[0],this[E]=!1,e||this._messageCenter.trigger(n.type,n)}function X(t){for(var e=this._pendingActions;e.length;){var n=e.shift();j.call(this,n,t)}}function q(t){t||this.trigger("updated")}function K(t,e,n,i){for(var o="component"===e,a=o?t._componentsViews:t._chartsViews,r=o?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;ul.get("hoverLayerThreshold")&&!r.node&&l.eachSeries((function(t){t.preventUsingHoverLayer||(t=s._chartsMap[t.__viewId]).__alive&&t.group.traverse((function(t){t.useHoverLayer=!0}))})),S(t._zr.dom,e)}function tt(t,e){L(lt,(function(n){n(t,e)}))}F.resize=function(t){var e;this._disposed?this.id:(this._zr.resize(t),e=this._model,this._loadingFX&&this._loadingFX.resize(),e&&(e=e.resetOption("media"),t=t&&t.silent,this[E]=!0,e&&U(this),W.update.call(this),this[E]=!1,X.call(this,t),q.call(this,t)))},F.showLoading=function(t,e){this._disposed?this.id:(k(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),ht[t]&&(t=ht[t](this._api,e),e=this._zr,this._loadingFX=t,e.add(t)))},F.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},F.makeActionFromEvent=function(t){var e=o.extend({},t);return e.type=at[t.type],e},F.dispatchAction=function(t,e){this._disposed?this.id:(k(e)||(e={silent:!!e}),ot[t.type]&&this._model&&(this[E]?this._pendingActions.push(t):(j.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&r.browser.weChat&&this._throttledZrFlush(),X.call(this,e.silent),q.call(this,e.silent))))},F.appendData=function(t){var e;this._disposed?this.id:(e=t.seriesIndex,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0)},F.on=B("on",!1),F.off=B("off",!1),F.one=B("one",!1);var et=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function nt(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i)&&(t.zlevel=i)}))}function it(){this.eventInfo}F._initEvents=function(){L(et,(function(t){function e(e){var n,i,a,r=this.getModel(),s=e.target;"globalout"===t?n={}:s&&null!=s.dataIndex?n=(a=s.dataModel||r.getSeriesByIndex(s.seriesIndex))&&a.getDataParams(s.dataIndex,s.dataType,s)||{}:s&&s.eventData&&(n=o.extend({},s.eventData)),n&&(a=n.componentType,i=n.componentIndex,"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",i=n.seriesIndex),a=(r=a&&null!=i&&r.getComponent(a,i))&&this["series"===r.mainType?"_chartsMap":"_componentsMap"][r.__viewId],n.event=e,n.type=t,this._ecEventProcessor.eventInfo={targetEl:s,packedEvent:n,model:r,view:a},this.trigger(t,n))}e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),L(at,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},F.isDisposed=function(){return this._disposed},F.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},F.dispose=function(){var t,e;this._disposed?this.id:(this._disposed=!0,_.setAttribute(this.getDom(),mt,""),t=this._api,e=this._model,L(this._componentsViews,(function(n){n.dispose(e,t)})),L(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete dt[this.id])},o.mixin(G,l),it.prototype={constructor:it,normalizeQuery:function(t){var e,n,i,a={},r={},s={};return o.isString(t)?(e=O(t),a.mainType=e.main||null,a.subType=e.sub||null):(n=["Index","Name","Id"],i={name:1,dataIndex:1,dataType:1},o.each(t,(function(t,e){for(var o=!1,l=0;l>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,1),f(t,e),e):void c(e,0,0,0,1):7===n.length?0<=(o=parseInt(n.substr(1),16))&&o<=16777215?(c(e,(16711680&o)>>16,(65280&o)>>8,255&o,1),f(t,e),e):void c(e,0,0,0,1):void 0;var o=n.indexOf("("),a=n.indexOf(")");if(-1!==o&&a+1===n.length){var l=n.substr(0,o),u=n.substr(o+1,a-(o+1)).split(","),p=1;switch(l){case"rgba":if(4!==u.length)return void c(e,0,0,0,1);p=s(u.pop());case"rgb":return 3!==u.length?void c(e,0,0,0,1):(c(e,r(u[0]),r(u[1]),r(u[2]),p),f(t,e),e);case"hsla":return 4!==u.length?void c(e,0,0,0,1):(u[3]=s(u[3]),m(u,e),f(t,e),e);case"hsl":return 3!==u.length?void c(e,0,0,0,1):(m(u,e),f(t,e),e);default:return}}c(e,0,0,0,1)}}function m(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=s(t[1]),a=s(t[2]);i=a<=.5?a*(i+1):a+i-a*i,a=2*a-i;return c(e=e||[],o(255*l(a,i,n+1/3)),o(255*l(a,i,n)),o(255*l(a,i,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function y(t,e,n){var i,r,s;if(e&&e.length&&0<=t&&t<=1)return n=n||[],t*=e.length-1,i=Math.floor(t),s=Math.ceil(t),r=e[i],e=e[s],n[0]=o(u(r[0],e[0],s=t-i)),n[1]=o(u(r[1],e[1],s)),n[2]=o(u(r[2],e[2],s)),n[3]=a(u(r[3],e[3],s)),n}function v(t,e,n){var i,r,s,l;if(e&&e.length&&0<=t&&t<=1)return t*=e.length-1,i=Math.floor(t),r=Math.ceil(t),l=g(e[i]),e=g(e[r]),l=_([o(u(l[0],e[0],s=t-i)),o(u(l[1],e[1],s)),o(u(l[2],e[2],s)),a(u(l[3],e[3],s))],"rgba"),n?{color:l,leftIndex:i,rightIndex:r,value:t}:l}n=y;var x=v;function _(t,e){var n;if(t&&t.length)return n=t[0]+","+t[1]+","+t[2],"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}e.parse=g,e.lift=function(t,e){var n=g(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,255=p[0]&&t<=p[1]}):(s=e,l=n.getPieceList(),u=n.option.selected,c=s[1]-s[0],h=(l=r.map(l,(function(t){return{interval:[(t.interval[0]-s[0])/c,(t.interval[1]-s[0])/c]}}))).length,d=0,function(t){for(var e=d;e=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),n=this.getRect(),i=[],o="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[o]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-o]=0==o?n.y+n.height/2:n.x+n.width/2,i}},t.exports=s},"4c86":function(t,e,n){var i=n("6d8b").each,o=n("bda7"),a=n("e0d3").makeInner,r=n("320a"),s=n("1792"),l=n("6bd4"),u=n("a7f2"),c=a();t.exports={load:function(t,e,n){var a=c(e).parsed;if(a)return a;var h,d=e.specialAreas||{};a=e.geoJSON;try{h=a?o(a,n):[]}catch(e){throw new Error("Invalid geoJson format\n"+e.message)}return r(t,h),i(h,(function(e){var n=e.name;s(t,e),l(t,e),u(t,e),n=d[n];n&&e.transformTo(n.left,n.top,n.width,n.height)})),c(e).parsed={regions:h,boundingRect:function(t){for(var e,n=0;n":"\n",c.join(", ")+t+s(r+" : "+a)},getTooltipPosition:function(t){var e;if(null!=t)return t=this.getData().getName(t),(t=(e=this.coordinateSystem).getRegion(t))&&e.dataToPoint(t.center)},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});i.mixin(n,r),t.exports=n},"4e47":function(t,e,n){var i=n("6d8b"),o=n("2306"),a="none",r="ancestor",s="self";function l(t,e,n){o.Group.call(this);var i=new o.Sector({z2:2}),a=(i.seriesIndex=e.seriesIndex,new o.Text({z2:4,silent:t.getModel("label").get("silent")}));function r(){a.ignore=a.hoverIgnore}function s(){a.ignore=a.normalIgnore}this.add(i),this.add(a),this.updateData(!0,t,"normal",e,n),this.on("emphasis",r).on("normal",s).on("mouseover",r).on("mouseout",s)}n=l.prototype,n.updateData=function(t,e,n,a,r){(this.node=e).piece=this,a=a||this._seriesModel,r=r||this._ecModel;var s,l=this.childAt(0),u=(l.dataIndex=e.dataIndex,e.getModel()),c=e.getLayout(),h=i.extend({},c),d=(h.label=null,function(t,e){var n=t.getVisual("color"),o=t.getVisual("visualMeta");if(o&&0!==o.length||(n=null),o=t.getModel("itemStyle").get("color"),!o){if(n)return n;if(0===t.depth)return e.option.color[0];n=e.option.color.length,o=e.option.color[function(t){for(var e=t;1Math.PI/2?"right":"left"):p&&"center"!==p?"left"===p?(a=u.r0+d,n>Math.PI/2&&(p="right")):"right"===p&&(a=u.r-d,n>Math.PI/2)&&(p="left"):(a=(u.r+u.r0)/2,p="center"),c.attr("style",{text:t,textAlign:p,textVerticalAlign:f("verticalAlign")||"middle",opacity:f("opacity")}),h=a*r+u.cx,d=a*e+u.cy,c.attr("position",[h,d]),t=f("rotate"),p=0;function f(t){var e=l.get(t);return null==e?s.get(t):e}"radial"===t?(p=-n)<-Math.PI/2&&(p+=Math.PI):"tangential"===t?(p=Math.PI/2-n)>Math.PI/2?p-=Math.PI:p<-Math.PI/2&&(p+=Math.PI):"number"==typeof t&&(p=t*Math.PI/180),c.attr("rotation",p)},n._initEvents=function(t,e,n,i){function o(){r.onEmphasis(i)}function a(){r.onNormal()}t.off("mouseover").off("mouseout").off("emphasis").off("normal");var r=this;n.isAnimationEnabled()&&t.on("mouseover",o).on("mouseout",a).on("emphasis",o).on("normal",a).on("downplay",(function(){r.onDownplay()})).on("highlight",(function(){r.onHighlight()}))},i.inherits(l,o.Group),t.exports=l},"4e9f":function(t,e,n){var i=n("22d1"),o=n("29a8");n=n("2145"),o=o.toolbox.saveAsImage;function a(t){this.model=t}a.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:o.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:o.lang.slice()},a.prototype.unusable=!i.canvasSupported,a.prototype.onclick=function(t,e){var n=this.model,o=n.get("name")||t.get("title.0.text")||"echarts",a="svg"===e.getZr().painter.getType()?"svg":n.get("type",!0)||"png";e=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!=typeof MouseEvent||i.browser.ie||i.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var r=atob(e.split(",")[1]),s=r.length,l=new Uint8Array(s);s--;)l[s]=r.charCodeAt(s);t=new Blob([l]),window.navigator.msSaveOrOpenBlob(t,o+"."+a)}else t=n.get("lang"),n='',window.open().document.write(n);else t=document.createElement("a"),t.download=o+"."+a,t.target="_blank",t.href=e,n=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1}),t.dispatchEvent(n)},n.register("saveAsImage",a),t.exports=a},"4f85":function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=n("22d1"),a=n("eda2"),r=a.formatTime,s=a.encodeHTML,l=a.addCommas,u=a.getTooltipMarker,c=n("e0d3"),h=n("6cb7"),d=n("e47b"),p=(a=n("38a2"),n("f934")),f=p.getLayoutParams,g=p.mergeLayoutParam,m=n("f47d").createTask,y=(p=n("0f99"),p.prepareSource),v=p.getSource,x=n("2b17").retrieveRawValue,_=c.makeInner();p=h.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,n,i){this.seriesIndex=this.componentIndex,this.dataTask=m({count:w,reset:S}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),y(this),t=this.getInitialData(t,n),I(t,this),this.dataTask.context.data=t,_(this).dataBeforeProcessed=t,b(this)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,o=n?f(t):{},a=this.subType;h.hasClass(a),i.merge(t,e.getTheme().get(this.subType)),i.merge(t,this.getDefaultOption()),c.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&g(t,o,n)},mergeOption:function(t,e){t=i.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&g(this.option,t,n),y(this),n=this.getInitialData(t,e);I(n,this),this.dataTask.dirty(),this.dataTask.context.data=n,_(this).dataBeforeProcessed=n,b(this)},fillDataTextStyle:function(t){if(t&&!i.isTypedArray(t))for(var e=["show"],n=0;n":"\n",d="richText"===o,p={},f=0;function g(t){return{renderMode:o,content:s(l(t)),style:p}}var m,y,v=this.getData(),_=v.mapDimension("defaultedTooltip",!0),b=_.length,w=this.getRawValue(t),S=i.isArray(w),M=v.getItemVisual(t,"color");function I(t,n){var i,c,h;n=v.getDimensionInfo(n);n&&!1!==n.otherDims.tooltip&&(i=n.type,c="sub"+a.seriesIndex+"at"+f,h="string"==typeof(h=u({color:M,type:"subItem",renderMode:o,markerId:c}))?h:h.content,(h=(m?h+s(n.displayName||"-")+": ":"")+s("ordinal"===i?t+"":"time"===i?e?"":r("yyyy/MM/dd hh:mm:ss",t):l(t)))&&y.push(h),d)&&(p[c]=M,++f)}M=(M=i.isObject(M)&&M.colorStops?(M.colorStops[0]||{}).color:M)||"transparent";var T=(1":"",T+=y.join(T||", "),{renderMode:o,content:T,style:p}):g(b?x(v,t,_[0]):S?w[0]:w)).content;b=a.seriesIndex+"at"+f,_=u({color:M,type:"item",renderMode:o,markerId:b}),p[b]=M,++f,S=v.getName(t),w=this.name,w=(w=c.isNameSpecified(this)?w:"")?s(w)+(e?": ":h):"",b="string"==typeof _?_:_.content;return{html:e?b+w+T:w+b+(S?s(S)+": "+T:T),markers:p}},isAnimationEnabled:function(){var t;return!(o.node||(t=this.getShallow("animation"))&&this.getData().count()>this.getShallow("animationThreshold"))&&t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel;return d.getColorFromPalette.call(this,t,e,n)||i.getColorFromPalette(t,e,n)},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function b(t){var e,n,o=t.name;c.isNameSpecified(t)||(t.name=(t=(e=(t=t).getRawData()).mapDimension("seriesName",!0),n=[],i.each(t,(function(t){t=e.getDimensionInfo(t),t.displayName&&n.push(t.displayName)})),n.join(" ")||o))}function w(t){return t.model.getRawData().count()}function S(t){return t=t.model,t.setData(t.getRawData().cloneShallow()),M}function M(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function I(t,e){i.each(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,i.curry(T,e))}))}function T(t){t=A(t),t&&t.setOutputEnd(this.count())}function A(t){var e,n=(t.ecModel||{}).scheduler;n=n&&n.getPipeline(t.uid);if(n)return(n=n.currentTask)&&(e=n.agentStubMap)?e.get(t.uid):n}i.mixin(p,a),i.mixin(p,d),t.exports=p},"4fac":function(t,e,n){var i=n("620b"),o=n("9c2c");e.buildPath=function(t,e,n){var a=e.points,r=e.smooth;if(a&&2<=a.length){if(r&&"spline"!==r)for(var s=o(a,r,n,e.smoothConstraint),l=(t.moveTo(a[0][0],a[0][1]),a.length),u=0;u<(n?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=a[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}else{"spline"===r&&(a=i(a,n)),t.moveTo(a[0][0],a[0][1]);u=1;for(var p=a.length;ux[1]&&(x[1]=v)}e&&(this._nameList[d]=e[p])}this._rawCount=this._count=l,this._extent={},S(this)},n._initDataFromProvider=function(t,e){if(!(e<=t)){for(var n,i=this._chunkSize,o=this._rawData,a=this._storage,r=this.dimensions,s=r.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},p=this._chunkCount,f=0;fA[1]&&(A[1]=C)}o.pure||(v=u[y],m&&null==v&&(null!=m.name?u[y]=v=m.name:null!=n&&(x=a[_=r[n]][b])&&(v=x[M],x=l[_].ordinalMeta)&&x.categories.length&&(v=x.categories[v])),null==(_=null==m?null:m.id)&&null!=v&&(d[v]=d[v]||0,0=this._rawCount||t<0)){if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return a;o=a-1}}}return-1},n.indicesOfNearest=function(t,e,n){var i=[];if(this._storage[t]){null==n&&(n=1/0);for(var o=1/0,a=-1,r=0,s=0,l=this.count();st[C][1])&&(A=!1)}A&&(a[r++]=this.getRawIndex(m))}return rb[1]&&(b[1]=_)}}}return o},n.downSample=function(t,e,n,i){for(var o=D(this,[t]),a=o._storage,r=[],s=Math.floor(1/e),l=a[t],u=this.count(),c=this._chunkSize,h=o._rawExtent[t],d=new(y(this))(u),p=0,f=0;fh[1]&&(h[1]=x),d[p++]=_}return o._count=p,o._indices=d,o.getRawIndex=T,o},n.getItemModel=function(t){var e=this.hostModel;return new o(this.getRawDataItem(t),e,e&&e.ecModel)},n.diff=function(t){var e=this;return new a(t?t.getIndices():[],this.getIndices(),(function(e){return A(t,e)}),(function(t){return A(e,t)}))},n.getVisual=function(t){var e=this._visual;return e&&e[t]},n.setVisual=function(t,e){if(d(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},n.setLayout=function(t,e){if(d(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},n.getLayout=function(t){return this._layout[t]},n.getItemLayout=function(t){return this._itemLayouts[t]},n.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?i.extend(this._itemLayouts[t]||{},e):e},n.clearItemLayouts=function(){this._itemLayouts.length=0},n.getItemVisual=function(t,e,n){return t=this._itemVisuals[t],t=t&&t[e],null!=t||n?t:this.getVisual(e)},n.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},o=this.hasItemVisual;if(this._itemVisuals[t]=i,d(e))for(var a in e)e.hasOwnProperty(a)&&(i[a]=e[a],o[a]=!0);else i[e]=n,o[e]=!0},n.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}},n.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type)&&e.traverse(P,e),this._graphicEls[t]=e},n.getItemGraphicEl=function(t){return this._graphicEls[t]},n.eachItemGraphicEl=function(t,e){i.each(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},n.cloneShallow=function(t){var e;return t||(e=i.map(this.dimensions,this.getDimensionInfo,this),t=new b(e,this.hostModel)),t._storage=this._storage,_(t,this),this._indices?(e=this._indices.constructor,t._indices=new e(this._indices)):t._indices=null,t.getRawIndex=t._indices?T:I,t},n.wrapMethod=function(t,e){var n=this[t];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(i.slice(arguments)))})},n.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],n.CHANGABLE_METHODS=["filterSelf","selectRange"],t.exports=b},"620b":function(t,e,n){var i=n("401b").distance;function o(t,e,n,i,o,a,r){return t=.5*(n-t),i=.5*(i-e),(2*(e-n)+t+i)*r+(-3*(e-n)-2*t-i)*a+t*o+e}t.exports=function(t,e){for(var n=t.length,a=[],r=0,s=1;s>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",o[u]+":0",i[1-l]+":auto",o[1-u]+":auto",""].join("!important;"),t.appendChild(r),n.push(r)}}return n}(e,u),u,s);if(e)return e(t,n,r),!0}return!1}function l(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=function(t,e,n,i,o){return s(r,e,i,o,!0)&&s(t,n,r[0],r[1])},e.transformCoordWithViewport=s,e.isCanvasEl=l},6679:function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("cd33"),a=i.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,i){this.axisPointerClass&&o.fixValue(t),a.superApply(this,"render",arguments),r(this,t,0,n,0,!0)},updateAxisPointer:function(t,e,n,i,o){r(this,t,0,n,0,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),a.superApply(this,"remove",arguments)},dispose:function(t,e){s(this,e),a.superApply(this,"dispose",arguments)}});function r(t,e,n,i,r,l){var u,c=a.getAxisPointerClass(t.axisPointerClass);c&&((u=o.getAxisPointerModel(e))?(t._axisPointer||(t._axisPointer=new c)).render(e,u,i,l):s(t,i))}function s(t,e,n){var i=t._axisPointer;i&&i.dispose(e,n),t._axisPointer=null}var l=[];a.registerAxisPointerClass=function(t,e){l[t]=e},a.getAxisPointerClass=function(t){return t&&l[t]},t.exports=a},"66a4":function(t,e,n){var i=n("6d8b");function o(t){var e=t.itemStyle||(t.itemStyle={}),n=(e=e.emphasis||(e.emphasis={}),t=t.label||t.label||{},t.normal||(t.normal={})),o={normal:1,emphasis:1};i.each(t,(function(t,e){o[e]||a(n,e)||(n[e]=t)})),e.label&&!a(t,"emphasis")&&(t.emphasis=e.label,delete e.label)}function a(t,e){return t.hasOwnProperty(e)}t.exports=function(t){t=t&&t.timeline,i.isArray(t)||(t=t?[t]:[]),i.each(t,(function(t){var e,n;t&&(e=(t=t).type,(n={number:"value",time:"time"})[e]&&(t.axisType=n[e],delete t.type),o(t),a(t,"controlPosition")&&(a(n=t.controlStyle||(t.controlStyle={}),"position")||(n.position=t.controlPosition),"none"!==n.position||a(n,"show")||(n.show=!1,delete n.position),delete t.controlPosition),i.each(t.data||[],(function(t){i.isObject(t)&&!i.isArray(t)&&(!a(t,"value")&&a(t,"name")&&(t.value=t.name),o(t))})))}))}},"66fc":function(t,e,n){function i(t,e,n,i,o){a.call(this,t,e,n),this.type=i||"value",this.position=o||"bottom",this.orient=null}var o=n("6d8b"),a=n("84ce");i.prototype={constructor:i,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},o.inherits(i,a),t.exports=i},"675a":function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getGraph().data,o=n.mapArray(n.getName);i.filterSelf((function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){"number"==typeof n&&(n=o[n]);for(var a=0;an.blockIndex?n.step:null,modBy:null!=(t=i&&i.modDataCount)?Math.ceil(t/e):null,modDataCount:t}},n.getPipeline=function(t){return this._pipelineMap.get(t)},n.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),o=(e=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,t.get("large")&&i>=t.get("largeThreshold"));i="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:e,modDataCount:i,large:o}},n.restorePipelines=function(t){var e=this,n=e._pipelineMap=s();t.eachSeries((function(t){var i=t.getProgressive(),o=t.uid;n.set(o,{id:o,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),I(e,t,t.dataTask)}))},n.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;o(this._allHandlers,(function(i){var a,r,l,c,h,d,p,f,g,v,w,S,T,A,C,D=t.get(i.uid)||t.set(i.uid,[]);function L(t){var e=t.uid;e=h.get(e)||h.set(e,u({plan:_,reset:b,count:M}));e.context={model:t,ecModel:l,api:c,useClearVisual:r.isVisual&&!r.isLayout,plan:r.plan,reset:r.reset,scheduler:a},I(a,t,e)}function P(t){var e=t.uid,n=w.get(e);n||(n=w.set(e,u({reset:y,onDirty:x})),v.dirty()),n.context={model:t,overallProgress:T,modifyOutputEnd:A},n.agent=v,n.__block=T,I(p,t,n)}i.reset&&(a=this,r=i,l=e,c=n,h=(f=D).seriesTaskMap||(f.seriesTaskMap=s()),f=r.seriesType,g=r.getTargetSeries,r.createOnAllSeries?l.eachRawSeries(L):f?l.eachRawSeriesByType(f,L):g&&g(l,c).each(L),d=a._pipelineMap,h.each((function(t,e){d.get(e)||(t.dispose(),h.removeKey(e))}))),i.overallReset&&(p=this,f=i,g=e,i=n,(v=(D=D).overallTask=D.overallTask||u({reset:m})).context={ecModel:g,api:i,overallReset:f.overallReset,scheduler:p},w=v.agentStubMap=v.agentStubMap||s(),D=f.seriesType,S=f.getTargetSeries,T=!0,A=f.modifyOutputEnd,D?g.eachRawSeriesByType(D,P):S?S(g,i).each(P):(T=!1,o(g.getSeries(),P)),C=p._pipelineMap,w.each((function(t,e){C.get(e)||(t.dispose(),v.dirty(),w.removeKey(e))})))}),this)},n.prepareView=function(t,e,n,i){var o=t.renderTask,a=o.context;a.model=e,a.ecModel=n,a.api=i,o.__block=!t.incrementalPrepareRender,I(this,e,o)},n.performDataProcessorTasks=function(t,e){f(this,this._dataProcessorHandlers,t,e,{block:!0})},n.performVisualTasks=function(t,e,n){f(this,this._visualHandlers,t,e,n)},n.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},n.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}}while(e=e.getUpstream())}))};var g=n.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function m(t){t.overallReset(t.ecModel,t.api,t.payload)}function y(t,e){return t.overallProgress&&v}function v(){this.agent.dirty(),this.getDownstream().dirty()}function x(){this.agent&&this.agent.dirty()}function _(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function b(t){return t.useClearVisual&&t.data.clearAllVisual(),t=t.resetDefines=d(t.reset(t.model,t.ecModel,t.api,t.payload)),1e);s++);s=Math.min(s-1,o-2)}r.lerp(t.position,n[s],n[s+1],(e-i[s])/(i[s+1]-i[s])),a=n[s+1][0]-n[s][0],n=n[s+1][1]-n[s][1],t.rotation=-Math.atan2(n,a)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},o.inherits(s,a),t.exports=s},"6acf":function(t,e,n){var i=n("eda2"),o=n("dcb3"),a=n("2306"),r=n("ff2e"),s=n("1687"),l=n("fab2"),u=(n=n("6679"),o=o.extend({makeElOption:function(t,e,n,o,c){var h,d=n.axis,p=("angle"===d.dim&&(this.animationThreshold=Math.PI/18),d.polar),f=p.getOtherAxis(d).getExtent(),g=d["dataTo"+i.capitalFirst(d.dim)](e),m=o.get("type");m&&"none"!==m&&(h=r.buildElStyle(o),(m=u[m](d,p,g,f,h)).style=h,t.graphicKey=m.type,t.pointer=m),d=function(t,e,n,i){var o,r,u,c=e.axis,h=(t=c.dataToCoord(t),u=(u=n.getAngleAxis().getExtent()[0])/180*Math.PI,n.getRadiusAxis().getExtent());return h="radius"===c.dim?(c=s.create(),s.rotate(c,c,u),s.translate(c,c,[n.cx,n.cy]),o=a.applyTransform([t,-i],c),c=e.getModel("axisLabel").get("rotate")||0,e=l.innerTextLayout(u,c*Math.PI/180,-1),r=e.textAlign,e.textVerticalAlign):(u=h[1],o=n.coordToPoint([u+i,t]),c=n.cx,e=n.cy,r=Math.abs(o[0]-c)/u<.3?"center":o[0]>c?"left":"right",Math.abs(o[1]-e)/u<.3?"middle":o[1]>e?"top":"bottom"),{position:o,align:r,verticalAlign:h}}(e,n,p,o.get("label.margin")),r.buildLabelElOption(t,n,o,c,d)}}),{line:function(t,e,n,i,o){return"angle"===t.dim?{type:"Line",shape:r.makeLineShape(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i,o){var a=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:r.makeSectorShape(e.cx,e.cy,i[0],i[1],(-n-a/2)*s,(a/2-n)*s)}:{type:"Sector",shape:r.makeSectorShape(e.cx,e.cy,n-a/2,n+a/2,0,2*Math.PI)}}});n.registerAxisPointerClass("PolarAxisPointer",o),t.exports=o},"6bd4":function(t,e){var n={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};t.exports=function(t,e){"world"===t&&(t=n[e.name])&&((e=e.center)[0]=t[0],e[1]=t[1])}},"6c12":function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("6d8b"),a=n("fab2"),r=n("2306"),s=["axisLine","axisTickLabel","axisName"];n=i.extendComponentView({type:"radar",render:function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem;t=e.getIndicatorAxes(),t=o.map(t,(function(t){return new a(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}));o.each(t,(function(t){o.each(s,t.add,t),this.group.add(t.getGroup())}),this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),a=t.getModel("splitLine"),s=(t=t.getModel("splitArea"),a.getModel("lineStyle")),l=t.getModel("areaStyle"),u=a.get("show"),c=t.get("show"),h=s.get("color"),d=l.get("color"),p=(h=o.isArray(h)?h:[h],d=o.isArray(d)?d:[d],[]),f=[];if("circle"===i)for(var g=n[0].getTicksCoords(),m=e.cx,y=e.cy,v=0;ve.x)||(_-=Math.PI)),t=y?"left":"right",e=(v=l.labelModel.get("rotate"))*(Math.PI/180),u.setStyle({textPosition:l.labelModel.get("position")||t,textRotation:null==v?-_:e,textOrigin:"center",verticalAlign:"middle"})),s),v=(u=c,t=h,n),_=p;e=d,s=g,c=r,h=l,n=h.edgeShape,p=v.__edge;if("curve"===n)u.parentNode&&u.parentNode!==t&&(p=p||(v.__edge=new o.BezierCurve({shape:x(h,_,_),style:i.defaults({opacity:0,strokeNoScale:!0},h.lineStyle)})),o.updateProps(p,{shape:x(h,e,s),style:i.defaults({opacity:1},h.lineStyle)},y));else if("polyline"===n&&"orthogonal"===h.layout&&u!==t&&u.children&&0!==u.children.length&&!0===u.isExpand){for(var b=u.children,w=[],S=0;S ")))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}});t.exports=p},"72b6":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("2306"),r=n("eda2"),s=n("f934"),l=n("5f14");n=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e,this.visualMapModel},render:function(t,e,n,i){!1===(this.visualMapModel=t).get("show")?this.group.removeAll():this.doRender.apply(this,arguments)},renderBackground:function(t){var e=this.visualMapModel,n=r.normalizeCssArray(e.get("padding")||0),i=t.getBoundingRect();t.add(new a.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,n){var i=(n=n||{}).forceState,a=this.visualMapModel,r={};function s(t){return r[t]}function u(t,e){r[t]=e}"symbol"===e&&(r.symbol=a.get("itemSymbol")),"color"===e&&(h=a.get("contentColor"),r.color=h);var c=a.controllerVisuals[i||a.getValueState(t)],h=l.prepareVisualTypes(c);return o.each(h,(function(i){var o=c[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",o=c.__alphaForOpacity),l.dependsOn(i,e)&&o&&o.applyVisual(t,s,u)})),r[e]},positionGroup:function(t){var e=this.visualMapModel,n=this.api;s.positionElement(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:o.noop});t.exports=n},7368:function(t,e,n){n("4e08").__DEV__;var i=n("6d8b");n=n("625e").enableClassCheck;function o(t){return"_EC_"+t}function a(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData}var r=a.prototype;function s(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function l(t,e,n){this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}function u(t,e){return{getValue:function(n){var i=this[t][e];return i.get(i.getDimension(n||"value"),this.dataIndex)},setVisual:function(n,i){0<=this.dataIndex&&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){0<=this.dataIndex&&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)}}}r.type="graph",r.isDirected=function(){return this._directed},r.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[o(t)])return((e=new s(t,e)).hostGraph=this).nodes.push(e),n[o(t)]=e},r.getNodeByIndex=function(t){return t=this.data.getRawIndex(t),this.nodes[t]},r.getNodeById=function(t){return this._nodesMap[o(t)]},r.addEdge=function(t,e,n){var i=this._nodesMap,a=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),s.isInstance(t)||(t=i[o(t)]),s.isInstance(e)||(e=i[o(e)]),t&&e)return i=t.id+"-"+e.id,((n=new l(t,e,n)).hostGraph=this)._directed&&(t.outEdges.push(n),e.inEdges.push(n)),t.edges.push(n),t!==e&&e.edges.push(n),this.edges.push(n),a[i]=n},r.getEdgeByIndex=function(t){return t=this.edgeData.getRawIndex(t),this.edges[t]},r.getEdge=function(t,e){s.isInstance(t)&&(t=t.id),s.isInstance(e)&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},r.eachNode=function(t,e){for(var n=this.nodes,i=n.length,o=0;oO&&(O=N.depth),E.setLayout({depth:z?N.depth:P},!0),"vertical"===T?E.setLayout({dy:M},!0):E.setLayout({dx:M},!0);for(var B=0;Bd[1],f(n[0].coord,d[0])&&(t?n[0].coord=d[0]:n.shift()),t&&f(d[0],n[0].coord)&&n.unshift({coord:d[0]}),f(d[1],i.coord)&&(t?i.coord=d[1]:n.pop()),t)&&f(i.coord,d[1])&&n.push({coord:d[1]}),p},getMinorTicksCoords:function(){var t;return"ordinal"===this.scale.type?[]:(t=this.model.getModel("minorTick").get("splitNumber"),t=this.scale.getMinorTicks(t=0 ")),i.value&&(r+=" : "+l(i.value)),r):p.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=a.map(this.option.categories||[],(function(t){return null!=t.value?t:a.extend({value:0},t)})),e=new o(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t,!0)}))},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return p.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}});t.exports=p},"87b1":function(t,e,n){var i=n("cbe5"),o=n("4fac");n=i.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){o.buildPath(t,e,!0)}});t.exports=n},"87c3":function(t,e,n){var i=n("6d8b").map,o=n("cccd"),a=n("ee1aa").isDimensionStacked;t.exports=function(t){return{seriesType:t,plan:o(),reset:function(t){var e,n,o=t.getData(),r=t.coordinateSystem,s=t.pipelineContext.large;if(r)return e=i(r.dimensions,(function(t){return o.mapDimension(t)})).slice(0,2),n=e.length,t=o.getCalculationInfo("stackResultDimension"),a(o,e[0])&&(e[0]=t),a(o,e[1])&&(e[1]=t),n&&{progress:function(t,i){for(var o,a,l=t.end-t.start,u=s&&new Float32Array(l*n),c=t.start,h=0,d=[],p=[];ce[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=r.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,n=this._extent,i=this._niceExtent,o=this._intervalPrecision,a=[];if(e){n[0]l&&a.push(t?s(l+e,o):n[1])}return a},getMinorTicks:function(t){for(var e=this.getTicks(!0),n=[],o=this.getExtent(),a=1;ao[0]&&hn[1]&&(n[1]=s),a=e.get("colorMappingBy"),"color"!==(s={type:r.name,dataExtent:n,visual:r.range}).type||"index"!==a&&"id"!==a?s.mappingMethod="linear":(s.mappingMethod="category",s.loop=!0),(e=new i(s)).__drColorMappingBy=a,e}}function d(t,e){return t=t.get(e),r(t)&&t.length?{name:e,range:t}:null}function p(t,e,n,i,o,r){var s,l;e=a.extend({},e);return o&&(i="index"===(l="color"===(s=o.type)&&o.__drColorMappingBy)?i:"id"===l?r.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension")),e[s]=o.mapValueToVisual(i)),e}t.exports={seriesType:"treemap",reset:function(t,e,n,i){var o=t.getData().tree.root;o.isRemoved()||function t(e,n,i,o){var r=e.getModel(),c=e.getLayout();if(c&&!c.invisible&&c.isInView){var d=e.getModel("itemStyle"),f=s(d,n,o);n=d.get("borderColor");var g,m,y=d.get("borderColorSaturation");null!=y&&(g=l(f),n=u(y,g)),e.setVisual("borderColor",n),y=e.viewChildren,y&&y.length?(m=h(0,r,c,0,f,y),a.each(y,(function(e,n){(e.depth>=i.length||e===i[e.depth])&&(n=p(r,f,e,n,m,o),t(e,n,i,o))}))):(g=l(f),e.setVisual("color",g))}}(o,{},t.getViewRoot().getAncestors(),t)}}},"923d":function(t,e,n){var i=n("6d8b"),o=n("3842"),a=n("ee1aa").isDimensionStacked,r=i.indexOf;function s(t,e,n,i,r,s){var l=[],u=a(e,i)?e.getCalculationInfo("stackResultDimension"):i;t=c(e,u,t),t=e.indicesOfNearest(u,t)[0],l[r]=e.get(n,t),l[s]=e.get(u,t),r=e.get(i,t),n=o.getPrecision(e.get(i,t));return 0<=(n=Math.min(n,20))&&(l[s]=+l[s].toFixed(n)),[l,r]}n=i.curry;var l={min:n(s,"min"),max:n(s,"max"),average:n(s,"average")};function u(t,e,n,i){var o={};return null!=t.valueIndex||null!=t.valueDim?(o.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,o.valueAxis=n.getAxis(function(t,e){var n=t.getData(),i=n.dimensions;e=n.getDimension(e);for(var o=0;ot[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,n,r){var l={},u=t[1]-t[0];u=l.interval=i.nice(u/e,!0),null!=n&&u=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new d(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},d.create=function(t){return new d(t.x,t.y,t.width,t.height)},t.exports=d},"98b7":function(t,e){var n="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=n},"98e7":function(t,e,n){var i=n("6d8b").createHashMap;t.exports=function(t){return{getTargetSeries:function(e){var n={},o=i();return e.eachSeriesByType(t,(function(t){t.__paletteScope=n,o.set(t.uid,t)})),o},reset:function(t,e){var n=t.getRawData(),i={},o=t.getData();o.each((function(t){var e=o.getRawIndex(t);i[e]=t})),n.each((function(e){var a,r=i[e],s=null!=r&&o.getItemVisual(r,"color",!0),l=null!=r&&o.getItemVisual(r,"borderColor",!0);s&&l||(a=n.getItemModel(e)),s||(s=a.get("itemStyle.color")||t.getColorFromPalette(n.getName(e)||e+"",t.__paletteScope,n.count()),null!=r&&o.setItemVisual(r,"color",s)),l||(e=a.get("itemStyle.borderColor"),null!=r&&o.setItemVisual(r,"borderColor",e))}))}}}},"998c":function(t,e,n){var i=n("6d8b"),o=n("2306"),a=n("e86a"),r=Math.PI;t.exports=function(t,e){e=e||{},i.defaults(e,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var n,s=new o.Group,l=new o.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),u=(s.add(l),e.fontSize+" sans-serif"),c=new o.Rect({style:{fill:"none",text:e.text,font:u,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});return s.add(c),e.showSpinner&&((n=new o.Arc({shape:{startAngle:-r/2,endAngle:-r/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*r/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*r/2}).delay(300).start("circularInOut"),s.add(n)),s.resize=function(){var i=a.getWidth(e.text,u),o=e.showSpinner?e.spinnerRadius:0,r=(i=(t.getWidth()-2*o-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner?0:i/2),t.getHeight()/2);e.showSpinner&&n.setShape({cx:i,cy:r}),c.setShape({x:i-o,y:r-o,width:2*o,height:2*o}),l.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},s.resize(),s}},"9bdb7":function(t,e,n){var i=n("282b")([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]);t.exports={getAreaStyle:function(t,e){return i(this,t,e)}}},"9c2c":function(t,e,n){n=n("401b");var i=n.min,o=n.max,a=n.scale,r=n.distance,s=n.add,l=n.clone,u=n.sub;t.exports=function(t,e,n,c){var h,d,p=[],f=[],g=[],m=[];if(c){for(var y=[1/0,1/0],v=[-1/0,-1/0],x=0,_=t.length;x<_;x++)i(y,y,t[x]),o(v,v,t[x]);i(y,y,c[0]),o(v,v,c[1])}for(x=0,_=t.length;x<_;x++){var b=t[x];if(n)h=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){p.push(l(t[x]));continue}h=t[x-1],d=t[x+1]}u(f,d,h),a(f,f,e);var w=r(b,h),S=r(b,d),M=w+S;M=(0!==M&&(w/=M,S/=M),a(g,f,-w),a(m,f,S),s([],b,g)),w=s([],b,m);c&&(o(M,M,y),i(M,M,v),o(w,w,y),i(w,w,v)),p.push(M),p.push(w)}return n&&p.push(p.shift()),p}},"9ca8":function(t,e,n){var i=n("6d8b"),o=n("9850"),a=n("3842"),r=a.parsePercent,s=a.MAX_SAFE_INTEGER,l=n("f934"),u=n("55ac"),c=Math.max,h=Math.min,d=i.retrieve,p=i.each,f=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],m=["upperLabel","show"],y=["upperLabel","height"];function v(t,e,n,o,a,r){var s,l=t.children||[],u=o.sort;"asc"!==u&&"desc"!==u&&(u=null),o=null!=o.leafDepth&&o.leafDepth<=r;if(a&&!o)return t.viewChildren=[];l=i.filter(l,(function(t){return!t.isRemoved()})),r=l,(s=u)&&r.sort((function(t,e){var n="asc"===s?t.getValue()-e.getValue():e.getValue()-t.getValue();return 0==n?"asc"===s?t.dataIndex-e.dataIndex:e.dataIndex-t.dataIndex:n}));var c=function(t,e,n){for(var i=0,o=0,a=e.length;or[1]&&(r[1]=t)}))):r=[NaN,NaN],{sum:i,dataExtent:r}}(e,l,u);if(0===c.sum)return t.viewChildren=[];if(c.sum=function(t,e,n,i,o){if(i){for(var a=t.get("visibleMin"),r=o.length,s=r,l=r-1;0<=l;l--){var u=o["asc"===i?r-l-1:l].getValue();u/n*en[l[r]])&&(d=n[l[r]]);for(var p=0,f=t.length;p":"\n";return r(""===l?this.name:l)+i+a.map(s,(function(e,n){var i=o.get(o.mapDimension(e.dim),t);return r(e.name+" : "+i)})).join(i)},getTooltipPosition:function(t){if(null!=t)for(var e,n=this.getData(),i=this.coordinateSystem,o=n.getValues(a.map(i.dimensions,(function(t){return n.mapDimension(t)})),t,!0),r=0,s=o.length;r=t&&(0===e?0:i[e-1][0])e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]);t=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:t[0],y2:t[1]}}function c(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()}n=r.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){var n,o,a,r,s,u;this.group.removeAll(),t.get("show")&&(n=t.axis,o=n.polar,a=o.getRadiusAxis().getExtent(),r=n.getTicksCoords(),s=n.getMinorTicksCoords(),h(u=i.map(n.getViewLabels(),(function(t){return(t=i.clone(t)).coord=n.dataToCoord(t.tickValue),t}))),h(r),i.each(l,(function(e){!t.get(e+".show")||n.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,o,r,s,a,u)}),this))},_axisLine:function(t,e,n,i,a){t=t.getModel("axisLine.lineStyle");var r=c(e),s=r?0:1;e=0===a[s]?new o.Circle({shape:{cx:e.cx,cy:e.cy,r:a[r]},style:t.getLineStyle(),z2:1,silent:!0}):new o.Ring({shape:{cx:e.cx,cy:e.cy,r:a[r],r0:a[s]},style:t.getLineStyle(),z2:1,silent:!0});e.style.fill=null,this.group.add(e)},_axisTick:function(t,e,n,a,r){var s=t.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),h=r[c(e)];r=i.map(n,(function(t){return new o.Line({shape:u(e,[h,h+l],t.coord)})}));this.group.add(o.mergePath(r,{style:i.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_minorTick:function(t,e,n,a,r){if(a.length){for(var s=t.getModel("axisTick"),l=t.getModel("minorTick"),h=(s.get("inside")?-1:1)*l.get("length"),d=r[c(e)],p=[],f=0;fy?"left":"right",g=Math.abs(m[1]-v)/g<.3?"middle":m[1]>v?"top":"bottom",h&&h[u]&&h[u].textStyle&&(r=new a(h[u].textStyle,d,d.ecModel)),v=new o.Text({silent:s.isLabelSilent(t)});this.group.add(v),o.setTextStyle(v.style,r,{x:m[0],y:m[1],textFill:r.getTextColor()||t.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:y,textVerticalAlign:g}),f&&(v.eventData=s.makeAxisEventDataBase(t),v.eventData.targetType="axisLabel",v.eventData.value=n.rawLabel)}),this)},_splitLine:function(t,e,n,a,r){for(var s=t.getModel("splitLine").getModel("lineStyle"),l=0,c=(c=s.get("color"))instanceof Array?c:[c],h=[],d=0;dr?e+=h(d("data.partialData"),{displayCnt:r}):e+=d("data.allData"),[]),g=0;gt[i-1].y+t[i-1].height));i--);}function h(t,e,n,i,o,a){for(var r,s,l,u=e?Number.MAX_VALUE:0,c=0,h=t.length;cl+r);o++)if(t[o].y+=i,et[o].y+t[o].height)return c(o,i/2);c(n-1,i/2)}(y,f,-d),p=t[y].y+t[y].height;for(r-p<0&&c(f-1,p-r),y=0;y=n?m:g).push(t[y]);h(g,!1,e,n,i,o),h(m,!0,e,n,i,o)}function s(t){return"center"===t.position}t.exports=function(t,e,n,l,u,c){var h,d,p=t.getData(),f=[],g=!1,m=(t.get("minShowLabelAngle")||0)*a;if(p.each((function(a){var r,s,l,c,y,v,x,_,b,w,S,M,I=p.getItemLayout(a),T=p.getItemModel(a),A=T.getModel("label"),C=A.get("position")||T.get("emphasis.label.position"),D=A.get("distanceToLabelLine"),L=A.get("alignTo"),P=o(A.get("margin"),n),k=A.get("bleedMargin"),O=A.getFont(),R=(T=T.getModel("labelLine"),T.get("length"));R=o(R,n),T=T.get("length2"),T=o(T,n);I.anglet[1]&&t.reverse(),t}function f(t,e){return a.parseFinder(t,e,{includeMainTypes:c})}d.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,(function(t,e,n){(t.coordRanges||(t.coordRanges=[])).push(e),t.coordRange||(t.coordRange=e,n=v[t.brushType](0,n,e),t.__rangeOffset={offset:_[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax})}))},d.matchOutputRanges=function(t,e,n){s(t,(function(t){var o=this.findTargetInfo(t,e);o&&!0!==o&&i.each(o.coordSyses,(function(i){var o=v[t.brushType](1,i,t.range);n(t,o.values,i,e)}))}),this)},d.setInputRanges=function(t,e){s(t,(function(t){var n,i=this.findTargetInfo(t,e);t.range=t.range||[],i&&!0!==i&&(t.panelId=i.panelId,i=v[t.brushType](0,i.coordSys,t.coordRange),n=t.__rangeOffset,t.range=n?_[t.brushType](i.values,n.offset,function(t,e){return t=w(t),e=w(e),t=[t[0]/e[0],t[1]/e[1]],isNaN(t[0])&&(t[0]=1),isNaN(t[1])&&(t[1]=1),t}(i.xyMinMax,n.xyMinMax)):i.values)}),this)},d.makePanelOpts=function(t,e){return i.map(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e&&e(n),clipPath:r.makeRectPanelClipPath(i),isTargetByCursor:r.makeRectIsTargetByCursor(i,t,n.coordSysModel),getLinearBrushOtherExtent:r.makeLinearBrushOtherExtent(i)}}))},d.controlSeries=function(t,e,n){return t=this.findTargetInfo(t,n),!0===t||t&&0<=l(t.coordSyses,e.coordinateSystem)},d.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=f(e,t),o=0;o>1^-(1&s),l=(l=t.charCodeAt(r+1)-64)>>1^-(1&l);i.push([(o=s+=o)/n,(a=l+=a)/n])}return i}t.exports=function(t,e){var n=t;if(n.UTF8Encoding){for(var r=n.UTF8Scale,s=(null==r&&(r=1024),n.features),l=0;lm.getLayout().x&&(m=t),t.depth>y.depth&&(y=t)})),n=g===m?1:f(g,m)/2,v=n-g.getLayout().x,w=b=_=x=0,"radial"===i?(x=d/(m.getLayout().x+n+v),_=p/(y.depth-1||1),a(M,(function(t){b=(t.getLayout().x+v)*x,w=(t.depth-1)*_;var e=c(b,w);t.setLayout({x:e.x,y:e.y,rawX:b,rawY:w},!0)}))):"RL"===(S=t.getOrient())||"LR"===S?(_=p/(m.getLayout().x+n+v),x=d/(y.depth-1||1),a(M,(function(t){w=(t.getLayout().x+v)*_,b="LR"===S?(t.depth-1)*x:d-(t.depth-1)*x,t.setLayout({x:b,y:w},!0)}))):"TB"!==S&&"BT"!==S||(x=d/(m.getLayout().x+n+v),_=p/(y.depth-1||1),a(M,(function(t){b=(t.getLayout().x+v)*x,w="TB"===S?(t.depth-1)*_:p-(t.depth-1)*_,t.setLayout({x:b,y:w},!0)}))))}))}},ca98:function(t,e,n){var i=n("6d8b"),o=n("e0d3"),a=n("6cb7"),r=i.each,s=i.clone,l=i.map,u=i.merge,c=/^(min|max)?(.+)$/;function h(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}h.prototype={constructor:h,setOption:function(t,e){t&&i.each(o.normalizeToArray(t.series),(function(t){t&&t.data&&i.isTypedArray(t.data)&&i.setAsPrimitive(t.data)})),t=s(t);var n,c=this._optionBackup;t=function(t,e,n){var o,a,s,l=[],u=[],c=t.timeline;return t.baseOption&&(a=t.baseOption),(c||t.options)&&(a=a||{},l=(t.options||[]).slice()),t.media&&(a=a||{},s=t.media,r(s,(function(t){t&&t.option&&(t.query?u.push(t):o=o||t)}))),a=a||t,a.timeline||(a.timeline=c),r([a].concat(l).concat(i.map(u,(function(t){return t.option}))),(function(t){r(e,(function(e){e(t,n)}))})),{baseOption:a,timelineOptions:l,mediaDefault:o,mediaList:u}}.call(this,t,e,!c);this._newBaseOption=t.baseOption,c?(n=c.baseOption,e=t.baseOption,r(e=e||{},(function(t,e){var i,r;null!=t&&(i=n[e],a.hasClass(e)?(t=o.normalizeToArray(t),i=o.normalizeToArray(i),r=o.mappingToExists(i,t),n[e]=l(r,(function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option}))):n[e]=u(i,t,!0))})),t.timelineOptions.length&&(c.timelineOptions=t.timelineOptions),t.mediaList.length&&(c.mediaList=t.mediaList),t.mediaDefault&&(c.mediaDefault=t.mediaDefault)):this._optionBackup=t},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;return n.length&&(t=t.getComponent("timeline"))?s(n[t.getCurrentIndex()],!0):e},getMediaOption:function(t){var e=this._api.getWidth(),n=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,r=[],u=[];if(o.length||a){for(var h,d,p=0,f=o.length;pi[1]&&(i[1]=t[1])}))})),i[1]a[1];if(u&&!c&&!l)return!0;u&&(r=!0),c&&(n=!0),l&&(o=!0)}return r&&n&&o})):l(i,(function(n){var i;"empty"===o?t.setData(e=e.map(n,(function(t){return(e=t)>=a[0]&&e<=a[1]?t:NaN;var e}))):((i={})[n]=a,e.selectRange(i))})),l(i,(function(t){e.setApproximateExtent(a,t)})))}))}},t.exports=i},cccd:function(t,e,n){var i=n("e0d3").makeInner;t.exports=function(){var t=i();return function(e){var n=t(e),i=(e=e.pipelineContext,n.large),o=n.progressiveRender,a=n.large=e&&e.large;n=n.progressiveRender=e&&e.progressiveRender;return!!(i^a||o^n)&&"reset"}}},cd12:function(t,e,n){n("01ed"),n("4a9d"),n("cb8f")},cd33:function(t,e,n){var i=n("6d8b"),o=n("4319"),a=i.each,r=i.curry;function s(t,e){return"all"===t||i.isArray(t)&&0<=i.indexOf(t,e)||t===e}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[c(t)]}function u(t){return!!t.get("handle.show")}function c(t){return t.type+"||"+t.id}e.collect=function(t,e){var n,l,h,d,p,f,g={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return n=g,e=e,h=(l=t).getComponent("tooltip"),d=l.getComponent("axisPointer"),p=d.get("link",!0)||[],f=[],a(e.getCoordinateSystems(),(function(t){var e,g,m,y,v;function x(r,h,m){var y,v=m.model.getModel("axisPointer",d),x=v.get("show");x&&("auto"!==x||r||u(v))&&(null==h&&(h=v.get("triggerTooltip")),x=(v=r?function(t,e,n,r,s,l){var u=e.getModel("axisPointer"),c={};return a(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){c[t]=i.clone(u.get(t))})),c.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(c.type="line"),e=c.label||(c.label={}),null==e.show&&(e.show=!1),"cross"===s&&(s=u.get("label.show"),e.show=null==s||s,l||(s=c.lineStyle=u.get("crossStyle"))&&i.defaults(e,s.textStyle)),t.model.getModel("axisPointer",new o(c,n,r))}(m,g,d,l,r,h):v).get("snap"),r=c(m.model),y=h||x||"category"===m.type,h=n.axesInfo[r]={key:r,axis:m,coordSys:t,axisPointerModel:v,triggerTooltip:h,involveSeries:y,snap:x,useHandle:u(v),seriesModels:[]},e[r]=h,n.seriesInvolved|=y,null!=(x=function(t,e){for(var n=e.model,i=e.dim,o=0;oa[1]&&a.reverse(),(i=null==i||i>a[1]?a[1]:i)=n.start.time&&t.timeo.end.time&&e.reverse(),e},_getRangeInfo:function(t){(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var e,n,i=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,o=new Date(t[0].time),a=o.getDate(),r=t[1].date.getDate();if(o.setDate(a+i-1),o.getDate()!==r)for(var s=0n.weeks||0===t&&en.lweek)&&(t=7*(t-1)-n.fweek+e,(e=new Date(n.start.time)).setDate(n.start.d+t),this.getDateInfo(e))}},r.dimensions=r.prototype.dimensions,r.getDimensionsInfo=r.prototype.getDimensionsInfo,r.create=function(t,e){var n=[];return t.eachComponent("calendar",(function(t){var e=new r(t);n.push(e),t.coordinateSystem=e})),t.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])})),n},n.register("calendar",r),t.exports=r},d15d:function(t,e,n){n=n("6d8b");var i=n.createHashMap,o=n.each;function a(t){o(t,(function(e,n){var i=[],o=[NaN,NaN],a=[e.stackResultDimension,e.stackedOverDimension],r=e.data,s=e.isStackedByIndex;a=r.map(a,(function(a,l,u){var c,h,d=r.get(e.stackedDimension,u);if(isNaN(d))return o;s?h=r.getRawIndex(u):c=r.get(e.stackedByDimension,u);for(var p=NaN,f=n-1;0<=f;f--){var g=t[f];if(0<=(h=s?h:g.data.rawIndexOf(g.stackedByDimension,c))&&(g=g.data.getByRawIndex(g.stackResultDimension,h),0<=d&&0t.getWidth()||n<0||n>t.getHeight()}h.prototype={constructor:h,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(i.each(d,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,i=p(this,e,n),o=this._hovered,a=o.target;a&&!a.__zr&&(a=(o=this.findHover(o.x,o.y)).target),i=this._hovered=i?{x:e,y:n}:this.findHover(e,n),e=i.target,n=this.proxy;n.setCursor&&n.setCursor(e?e.cursor:"default"),a&&e!==a&&this.dispatchToElement(o,"mouseout",t),this.dispatchToElement(i,"mousemove",t),e&&e!==a&&this.dispatchToElement(i,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,n=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"===e||n||this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){t=this[t],t&&t.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var o="on"+e,a={type:e,event:n,target:(t=t).target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:u};i&&(i[o]&&(a.cancelBubble=i[o].call(i,a)),i.trigger(e,a),i=i.parent,!a.cancelBubble););a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer((function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)})))}},findHover:function(t,e,n){for(var i,o=this.storage.getDisplayList(),a={x:t,y:e},r=o.length-1;0<=r;r--)if(o[r]!==n&&!o[r].ignore&&(i=function(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i,o=t;o;){if(o.clipPath&&!o.clipPath.contain(e,n))return!1;o.silent&&(i=!0),o=o.parent}return!i||"silent"}return!1}(o[r],t,e))&&(a.topTarget||(a.topTarget=o[r]),"silent"!==i)){a.target=o[r];break}return a},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr,i=("start"===e&&n.clear(),n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom));"end"===e&&n.clear(),i&&(e=i.type,t.gestureEvent=e,this.dispatchToElement({target:i.target},e,i.event))}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){h.prototype[t]=function(e){var n,i,a=e.zrX,r=e.zrY,s=p(this,a,r);if("mouseup"===t&&s||(i=(n=this.findHover(a,r)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||4')}}catch(t){i=function(t){return s.createElement("<"+t+' xmlns="'+o+'" class="zrvml">')}}e.doc=s,e.createNode=function(t){return i(t)},e.initVML=function(){var t;!r&&s&&(r=!0,((t=s.styleSheets).length<31?s.createStyleSheet():t[0]).addRule(".zrvml","behavior:url(#default#VML)"))}},d3f47:function(t,e){t.exports=function(t){return{seriesType:t,reset:function(t,e){var n,i=e.findComponents({mainType:"legend"});i&&i.length&&(n=t.getData()).filterSelf((function(t){for(var e=n.getName(t),o=0;oi[0]&&(i[0]=a[0]),a[1]>i[1]&&(i[1]=a[1])}return{min:e?n:i,max:e?i:n}}var y=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:n(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,o=n.length,a=m(n,e.smoothConstraint);if(e.connectNulls){for(;0=this._maxSize&&0=f[i=0]+t&&r<=f[1]+t?h:0;(o=a?(e=i,i=l(o),l(e)):(i=l(i),l(o)))Math.PI/2&&p<1.5*Math.PI?-h:h)}return u}(T,A,D,L,L+P,k,E,g);_=Math.cos(L+P)*C+T,b=Math.sin(L+P)*D+A;break;case h.R:if(w=_=t[M++],S=b=t[M++],O=w+t[M++],R=S+t[M++],n){if(o.containStroke(w,S,O,S,e,i,g)||o.containStroke(O,S,O,R,e,i,g)||o.containStroke(O,R,w,R,e,i,g)||o.containStroke(w,R,w,S,e,i,g))return!0}else x=(x+=c(O,S,O,R,i,g))+c(w,R,w,S,i,g);break;case h.Z:if(n){if(o.containStroke(_,b,w,S,e,i,g))return!0}else x+=c(_,b,w,S,i,g);_=w,b=S}}return n||(y=b,v=S,Math.abs(y-v)l*(1-i[0])?(r="jump",e=t-l*(1-i[2])):0<=(e=t-l*i[1])&&(e=t-l*(1-i[1]))<=0&&(e=0),(e*=a.axisExpandWidth/n)?c(e,s,u,"all"):r="none"):(l=s[1]-s[0],(s=[p(0,u[1]*t/l-l/2)])[1]=d(u[1],s[0]+l),s[0]=s[1]-l),{axisExpandWindow:s,behavior:r}):{behavior:"none",axisExpandWindow:s}}},t.exports=v},d9f1:function(t,e,n){var i=n("6d8b"),o=n("6cb7"),a=n("9e47");n=n("2023"),o=o.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});function r(t,e){return e.type||(e.data?"category":"value")}i.merge(o.prototype,n),i={splitNumber:5},a("angle",o,r,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),a("radius",o,r,i)},d9fc:function(t,e,n){n=n("cbe5").extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}}),t.exports=n},dae1:function(t,e,n){var i=n("3eba"),o=(n("928d"),n("b369"),n("4411"),n("90c2"));n=n("9ca8");i.registerVisual(o),i.registerLayout(n)},db0e:function(t,e,n){var i=n("3eba");n("a8c6"),n("8344"),i.registerPreprocessor((function(t){t.markPoint=t.markPoint||{}}))},db9e:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("e86a"),r=n("2145"),s=n("2306"),l=n("4319"),u=n("80f0"),c=n("7919");n=i.extendComponentView({type:"toolbox",render:function(t,e,n,i){var h,d,p,f,g=this.group;function m(a,u){a=f[a],u=f[u];var c,m,y,v,x,_,b,w,S=d[a],M=new l(S,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===a&&(S.title=i.newTitle),a&&!u){if(0===a.indexOf("my"))c={model:M,onclick:M.option.onclick,featureName:a};else{S=r.get(a);if(!S)return;c=new S(M,e,n)}p[a]=c}else{if(!(c=p[u]))return;c.model=M,c.ecModel=e,c.api=n}!a&&u?c.dispose&&c.dispose(e,n):!M.get("show")||c.unusable?c.remove&&c.remove(e,n):(y=c,S=a,v=(m=M).getModel("iconStyle"),x=m.getModel("emphasis.iconStyle"),u=y.getIcons?y.getIcons():m.get("icon"),_=m.get("title")||{},"string"==typeof u&&(a=u,b=_,_={},(u={})[S]=a,_[S]=b),w=m.iconPaths={},o.each(u,(function(i,a){var r=s.createIcon(i,{},{x:-h/2,y:-h/2,width:h,height:h});r.setStyle(v.getItemStyle()),r.hoverStyle=x.getItemStyle(),r.setStyle({text:_[a],textAlign:x.get("textAlign"),textBorderRadius:x.get("textBorderRadius"),textPadding:x.get("textPadding"),textFill:null}),i=t.getModel("tooltip");i&&i.get("show")&&r.attr("tooltip",o.extend({content:_[a],formatter:i.get("formatter",!0)||function(){return _[a]},formatterParams:{componentType:"toolbox",name:a,title:_[a],$vars:["name","title"]},position:i.get("position",!0)||"bottom"},i.option)),s.setHoverStyle(r),t.get("showTitle")&&(r.__title=_[a],r.on("mouseover",(function(){var e=x.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";r.setStyle({textFill:x.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:x.get("textBackgroundColor"),textPosition:x.get("textPosition")||n})})).on("mouseout",(function(){r.setStyle({textFill:null,textBackgroundColor:null})}))),r.trigger(m.get("iconStatus."+a)||"normal"),g.add(r),r.on("click",o.bind(y.onclick,y,e,n,a)),w[a]=r})),M.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)},c.render&&c.render(M,e,n,i))}g.removeAll(),t.get("show")&&(h=+t.get("itemSize"),d=t.get("feature")||{},p=this._features||(this._features={}),f=[],o.each(d,(function(t,e){f.push(e)})),new u(this._featureNames||[],f).add(m).update(m).remove(o.curry(m,null)).execute(),this._featureNames=f,c.layout(g,t,n),g.add(c.makeBackground(g.getBoundingRect(),t)),g.eachChild((function(t){var e,i,o=t.__title,r=t.hoverStyle;r&&o&&(o=a.getBoundingRect(o,a.makeFont(r)),e=t.position[0]+g.position[0],i=!1,t.position[1]+g.position[1]+h+o.height>n.getHeight()&&(r.textPosition="top",i=!0),t=i?-5-o.height:h+8,e+o.width/2>n.getWidth()?(r.textPosition=["100%",t],r.textAlign="right"):e-o.width/2<0&&(r.textPosition=[0,t],r.textAlign="left"))})))},updateView:function(t,e,n,i){o.each(this._features,(function(t){t.updateView&&t.updateView(t.model,e,n,i)}))},remove:function(t,e){o.each(this._features,(function(n){n.remove&&n.remove(t,e)})),this.group.removeAll()},dispose:function(t,e){o.each(this._features,(function(n){n.dispose&&n.dispose(t,e)}))}});t.exports=n},dc20:function(t,e,n){var i=n("8727").createElement,o=n("6d8b"),a=n("4942"),r=n("cbe5"),s=n("0da8"),l=n("76a5"),u=n("0c12"),c=n("b16f"),h=n("9fa3"),d=n("bcaa"),p=(n=n("3f8e"),n.path),f=n.image,g=n.text;function m(t){return parseInt(t,10)}function y(t,e){return e&&t&&e.parentNode!==t}function v(t,e,n){y(t,e)&&n&&((n=n.nextSibling)?t.insertBefore(e,n):t.appendChild(e))}function x(t,e){var n;y(t,e)&&((n=t.firstChild)?t.insertBefore(e,n):t.appendChild(e))}function _(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function b(t){return t.__textSvgEl}function w(t){return t.__svgEl}function S(t,e,n,a){this.root=t,this.storage=e,this._opts=n=o.extend({},n||{}),(e=i("svg")).setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("version","1.1"),e.setAttribute("baseProfile","full"),e.style.cssText="user-select:none;position:absolute;left:0;top:0;";var r=i("g"),s=(e.appendChild(r),i("g"));e.appendChild(s),this.gradientManager=new c(a,s),this.clipPathManager=new h(a,s),this.shadowManager=new d(a,s),(a=document.createElement("div")).style.cssText="overflow:hidden;position:relative",this._svgDom=e,this._svgRoot=s,this._backgroundRoot=r,this._viewport=a,t.appendChild(a),a.appendChild(e),this.resize(n.width,n.height),this._visibleList=[]}S.prototype={constructor:S,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var e=i("rect");e.setAttribute("width",this.getWidth()),e.setAttribute("height",this.getHeight()),e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("id",0),e.style.fill=t,this._backgroundRoot.appendChild(e),this._backgroundNode=e},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();for(var e=this._svgRoot,n=this._visibleList,i=t.length,o=[],a=0;a\n\r<"))}},o.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(t){var e;S.prototype[t]=(e=t,function(){a('In SVG mode painter not support method "'+e+'"')})})),t.exports=S},dc2f:function(t,e){function n(t,e){this.image=t,this.repeat=e,this.type="pattern"}n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")},t.exports=n},dcb3:function(t,e,n){var i=n("6d8b"),o=n("625e"),a=n("2306"),r=n("cd33"),s=n("607d"),l=n("88b3"),u=(0,n("e0d3").makeInner)(),c=i.clone,h=i.bind;function d(){}function p(t,e,n,o){!function t(e,n){var o;return i.isObject(e)&&i.isObject(n)?(o=!0,i.each(n,(function(n,i){o=o&&t(e[i],n)})),!!o):e===n}(u(n).lastProp,o)&&(u(n).lastProp=o,e?a.updateProps(n,o,t):(n.stopAnimation(),n.attr(o)))}function f(t,e){t[e.get("label.show")?"show":"hide"]()}function g(t){return{position:t.position.slice(),rotation:t.rotation||0}}function m(t,e,n){var i=e.get("z"),o=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=o&&(t.zlevel=o),t.silent=n)}))}o.enableClassExtend((d.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,n,o){var r,s,l=e.get("value"),u=e.get("status");this._axisModel=t,this._axisPointerModel=e,this._api=n,!o&&this._lastValue===l&&this._lastStatus===u||(this._lastValue=l,this._lastStatus=u,o=this._group,r=this._handle,u&&"hide"!==u?(o&&o.show(),r&&r.show(),this.makeElOption(u={},l,t,e,n),(s=u.graphicKey)!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=s,s=this._moveAnimation=this.determineAnimation(t,e),o?(s=i.curry(p,e,s),this.updatePointerEl(o,u,s,e),this.updateLabelEl(o,u,s,e)):(o=this._group=new a.Group,this.createPointerEl(o,u,t,e),this.createLabelEl(o,u,t,e),n.getZr().add(o)),m(o,e,!0),this._renderHandle(l)):(o&&o.hide(),r&&r.hide()))},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n,i=e.get("animation"),o=t.axis,a="category"===o.type;e=e.get("snap");return!(!e&&!a)&&("auto"===i||null==i?(n=this.animationThreshold,a&&o.getBandWidth()>n||!!e&&(a=r.getAxisInfo(t).seriesDataCount,e=o.getExtent(),Math.abs(e[0]-e[1])/a>n)):!0===i)},makeElOption:function(t,e,n,i,o){},createPointerEl:function(t,e,n,i){var o=e.pointer;o&&(o=u(t).pointerEl=new a[o.type](c(e.pointer)),t.add(o))},createLabelEl:function(t,e,n,i){e.label&&(e=u(t).labelEl=new a.Rect(c(e.label)),t.add(e),f(e,i))},updatePointerEl:function(t,e,n){t=u(t).pointerEl,t&&e.pointer&&(t.setStyle(e.pointer.style),n(t,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,i){t=u(t).labelEl,t&&(t.setStyle(e.label.style),n(t,{shape:e.label.shape,position:e.label.position}),f(t,i))},_renderHandle:function(t){var e,n,o,r,u,c;!this._dragging&&this.updateHandleTransform&&(e=this._axisPointerModel,n=this._api.getZr(),o=this._handle,r=e.getModel("handle"),c=e.get("status"),r.get("show")&&c&&"hide"!==c?(this._handle||(u=!0,o=this._handle=a.createIcon(r.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:h(this._onHandleDragMove,this,0,0),drift:h(this._onHandleDragMove,this),ondragend:h(this._onHandleDragEnd,this)}),n.add(o)),m(o,e,!1),o.setStyle(r.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"])),c=r.get("size"),i.isArray(c)||(c=[c,c]),o.attr("scale",[c[0]/2,c[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",r.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,u)):(o&&n.remove(o),this._handle=null))},_moveHandleToValue:function(t,e){p(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;n&&(this._dragging=!0,t=this.updateHandleTransform(g(n),[t,e],this._axisModel,this._axisPointerModel),this._payloadInfo=t,n.stopAnimation(),n.attr(g(t)),u(n).lastProp=null,this._doDispatchAxisPointer())},_doDispatchAxisPointer:function(){var t,e;this._handle&&(t=this._payloadInfo,e=this._axisModel,this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]}))},_onHandleDragEnd:function(t){var e;this._dragging=!1,this._handle&&(e=this._axisPointerModel.get("value"),this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"}))},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;t=t.getZr();var e=this._group,n=this._handle;t&&e&&(this._lastGraphicKey=null,e&&t.remove(e),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}}).constructor=d),t.exports=d},dcea:function(t,e,n){var i=n("6d8b"),o=n("e887"),a=n("2306"),r=(n=n("cbe5"),["itemStyle"]),s=["emphasis","itemStyle"],l=(o=o.extend({type:"boxplot",render:function(t,e,n){var i=t.getData(),o=this.group,a=this._data,r=(this._data||o.removeAll(),"horizontal"===t.get("layout")?1:0);i.diff(a).add((function(t){var e;i.hasValue(t)&&(e=u(i.getItemLayout(t),i,t,r,!0),i.setItemGraphicEl(t,e),o.add(e))})).update((function(t,e){var n;e=a.getItemGraphicEl(e);i.hasValue(t)?(n=i.getItemLayout(t),e?c(n,e,i,t):e=u(n,i,t,r),o.add(e),i.setItemGraphicEl(t,e)):o.remove(e)})).remove((function(t){t=a.getItemGraphicEl(t),t&&o.remove(t)})).execute(),this._data=i},remove:function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},dispose:i.noop}),n.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i=n.length&&n.push({option:t})}})),n},e.makeIdAndName=function(t){var e=i.createHashMap();a(t,(function(t,n){var i=t.exist;i&&e.set(i.id,t)})),a(t,(function(t,n){var o=t.option;i.assert(!o||null==o.id||!e.get(o.id)||e.get(o.id)===t,"id duplicates: "+(o&&o.id)),o&&null!=o.id&&e.set(o.id,t),t.keyInfo||(t.keyInfo={})})),a(t,(function(t,n){var i=t.exist,o=t.option,a=t.keyInfo;if(r(o)){if(a.name=null!=o.name?o.name+"":i?i.name:"series\0"+n,i)a.id=i.id;else if(null!=o.id)a.id=o.id+"";else for(var s=0;a.id="\0"+a.name+"\0"+s++,e.get(a.id););e.set(a.id,t)}}))},e.isNameSpecified=function(t){return!(!(t=t.name)||!t.indexOf("series\0"))},e.isIdInner=u,e.compressBatches=function(t,e){var n={},i={};return o(t||[],n),o(e||[],i,n),[a(n),a(i)];function o(t,e,n){for(var i=0,o=t.length;i=e[0]&&t<=e[1]},i.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},i.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},i.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},i.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},i.prototype.getExtent=function(){return this._extent.slice()},i.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},i.prototype.isBlank=function(){return this._isBlank},i.prototype.setBlank=function(t){this._isBlank=t},i.prototype.getLabel=null,n.enableClassExtend(i),n.enableClassManagement(i,{registerWhenExtend:!0}),t.exports=i},e1fc:function(t,e,n){function i(t){for(var e in a.call(this,t=t||{}),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0}var o=n("6d8b"),a=n("d5b7"),r=n("9850");i.prototype={constructor:i,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;ne)return t[i];return t[n-1]}(r,n):i)||i)&&r.length?(n=r[s],t&&(l[t]=n),e.colorIdx=(s+1)%r.length,n):void 0)}}},e4d1:function(t,e,n){n("6932"),n("3a56"),n("7dcf"),n("3790"),n("2325"),n("2c17"),n("9e87")},e6cd:function(t,e,n){var i=n("6d8b");e.createWrap=function(){var t,e=[],n={};return{add:function(t,o,a,r,s){return i.isString(r)&&(s=r,r=0),!n[t.id]&&(n[t.id]=1,e.push({el:t,target:o,time:a,delay:r,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var i=e.length,o=0,a=e.length;o=e.maxIterations){t+=e.ellipsis;break}var s=0===r?function(t,e,n,i){for(var o=0,a=0,r=t.length;av)return{lines:[],width:0,height:0};R.textWidth=m(R.text,D);var P,k=T.textWidth,O=null==k||"auto"===k;"string"==typeof k&&"%"===k.charAt(k.length-1)?(R.percentWidth=k,d.push(R),k=0):(O&&(k=R.textWidth,P=(P=T.textBackgroundColor)&&P.image)&&(P=o.findExistImage(P),o.isImageReady(P))&&(k=Math.max(k,P.width*L/P.height)),k+=L=C?C[1]+C[3]:0,null!=(P=null!=y?y-M:null)&&P"],o.isArray(t)&&(t=t.slice(),i=!0),e=e?t:i?[l(t[0]),l(t[1])]:l(t),o.isString(a)?a.replace("{value}",i?e[0]:e).replace("{value2}",i?e[1]:e):o.isFunction(a)?i?a(t[0],t[1]):a(t):i?t[0]===s[0]?n[0]+" "+e[1]:t[1]===s[1]?n[1]+" "+e[0]:e[0]+" - "+e[1]:e;function l(t){return t===s[0]?"min":t===s[1]?"max":(+t).toFixed(Math.min(r,20))}},resetExtent:function(){var t=this.option;t=f([t.min,t.max]);this._dataExtent=t},getDataDimension:function(t){var e=this.option.dimension,n=t.dimensions;if(null!=e||n.length){if(null!=e)return t.getDimension(e);for(var i=t.dimensions,o=i.length-1;0<=o;o--){var a=i[o];if(!t.getDimensionInfo(a).isCalculationCoord)return a}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),a=e.controller||(e.controller={}),l=(o.merge(i,n),o.merge(a,n),this.isCategory());function u(n){d(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")},p(this.stateList,(function(t){var e,i=n[t];o.isString(i)&&((e=r.get(i,"active",l))?(n[t]={},n[t][i]=e):delete n[t])}),this)}u.call(this,i),u.call(this,a),function(t,e,n){e=t[e];var i=t[n];e&&!i&&(i=t[n]={},p(e,(function(t,e){var n;s.isValidType(e)&&null!=(n=r.get(e,"inactive",l))&&(i[e]=n,"color"!==e||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor");p(this.stateList,(function(a){var r,s=this.itemSize,u=t[a];null==(u=u||(t[a]={color:l?i:[i]})).symbol&&(u.symbol=e&&o.clone(e)||(l?"roundRect":["roundRect"])),null==u.symbolSize&&(u.symbolSize=n&&o.clone(n)||(l?s[0]:[s[0],s[0]])),u.symbol=c(u.symbol,(function(t){return"none"===t||"square"===t?"roundRect":t})),a=u.symbolSize;null!=a&&(r=-1/0,h(a,(function(t){ra[1]&&a.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:a[1],r0:a[0]},api:{coord:i.bind((function(i){var o=e.dataToRadius(i[0]),a=(i=n.dataToAngle(i[1]),t.coordToPoint([o,i]));return a.push(o,i*Math.PI/180),a})),size:i.bind(o,t)}}}},eb6b:function(t,e,n){var i=n("6d8b"),o=n("e0d3").makeInner,a=n("cd33"),r=n("133d"),s=i.each,l=i.curry,u=o();function c(t,e,n,o,a){var r,l,u,c,h,d,p,f,g,m,y=t.axis;!y.scale.isBlank()&&y.containData(e)&&(t.involveSeries?(l=e,u=t.axis,c=u.dim,h=l,d=[],p=Number.MAX_VALUE,f=-1,s(t.seriesModels,(function(t,e){var n,i=t.getData().mapDimension(c,!0);if(t.getAxisTooltipData){var o=t.getAxisTooltipData(i,l,u),a=o.dataIndices;o=o.nestestValue}else{if(!(a=t.getData().indicesOfNearest(i[0],l,"category"===u.type?.5:null)).length)return;o=t.getData().get(i[0],a[0])}null!=o&&isFinite(o)&&(i=l-o,(n=Math.abs(i))<=p)&&((ne[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},o.inherits(i,a),t.exports=i},ec34:function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=i.createHashMap,a=i.isString,r=i.isArray,s=i.each,l=(i.assert,n("3041").parseXML),u=o(),c={geoJSON:function(t){var e=t.source;t.geoJSON=a(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=l(t.source)}};t.exports={registerMap:function(t,e,n){return e=r(e)?e:e.svg?[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),[{type:"geoJSON",source:e,specialAreas:n}]),s(e,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON"),(0,c[e])(t)})),u.set(t,e)},retrieveMap:function(t){return u.get(t)}}},ec6f:function(t,e,n){var i=n("6d8b"),o=i.createHashMap,a=i.isTypedArray,r=(i=n("625e").enableClassCheck,n=n("93d0"),n.SOURCE_FORMAT_ORIGINAL),s=n.SERIES_LAYOUT_BY_COLUMN,l=n.SOURCE_FORMAT_UNKNOWN,u=n.SOURCE_FORMAT_TYPED_ARRAY,c=n.SOURCE_FORMAT_KEYED_COLUMNS;function h(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===c?{}:[]),this.sourceFormat=t.sourceFormat||l,this.seriesLayoutBy=t.seriesLayoutBy||s,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&o(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}h.seriesDataToSource=function(t){return new h({data:t,sourceFormat:a(t)?u:r,fromDataset:!1})},i(h),t.exports=h},ecf8:function(t,e,n){var i=n("6d8b"),o=n("3842").parsePercent,a=i.each;t.exports=function(t){var e,n;e=[],n=[],t.eachSeriesByType("boxplot",(function(t){var o=t.getBaseAxis(),a=i.indexOf(n,o);a<0&&(a=n.length,n[a]=o,e[a]={axis:o,seriesModels:[]}),e[a].seriesModels.push(t)})),a(e,(function(t){var e,n,r,s,l,u,c,h,d,p,f,g,m=t.seriesModels;m.length&&(d=(e=t).axis,r=e.seriesModels,s=r.length,l=e.boxWidthList=[],u=e.boxOffsetList=[],c=[],"category"===d.type?n=d.getBandWidth():(h=0,a(r,(function(t){h=Math.max(h,t.getData().count())})),e=d.getExtent(),Math.abs(e[1]-e[0])),a(r,(function(t){t=t.get("boxWidth"),i.isArray(t)||(t=[t,t]),c.push([o(t[0],n)||0,o(t[1],n)||0])})),p=(d=.8*n-2)/s*.3,g=(f=(d-p*(s-1))/s)/2-d/2,a(r,(function(t,e){u.push(g),g+=p+f,l.push(Math.min(Math.max(f,c[e][0]),c[e][1]))})),a(m,(function(e,n){var i=t.boxOffsetList[n],o=(n=t.boxWidthList[n],e.coordinateSystem),a=e.getData(),r=n/2,s="horizontal"===e.get("layout")?0:1,l=1-s,u=(n=["x","y"],a.mapDimension(n[s])),c=a.mapDimension(n[l],!0);if(!(null==u||c.length<5))for(var h=0;ho[0]){for(l=0;lt);l++);s=i[o[l]]}o.splice(l+1,0,t),(i[t]=e).virtual||(s?(n=s.dom).nextSibling?u.insertBefore(e.dom,n.nextSibling):u.appendChild(e.dom):u.firstChild?u.insertBefore(e.dom,u.firstChild):u.appendChild(e.dom))}else a("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){for(var n,i=this._zlevelList,o=0;o"'])/g),s={"&":"&","<":"<",">":">",'"':""","'":"'"};function l(t){return null==t?"":(t+"").replace(r,(function(t,e){return s[e]}))}function u(t,e){return"{"+t+(null==e?"":e)+"}"}var c=["a","b","c","d","e","f","g"];function h(t,e){return"0000".substr(0,e-(t+="").length)+t}var d=o.truncateText;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(1':'':{renderMode:a,content:"{marker"+t+"|} ",style:{color:n}}:""},e.formatTime=function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=(e=a.parseDate(e))["get"+(n=n?"UTC":"")+"FullYear"](),o=e["get"+n+"Month"]()+1,r=e["get"+n+"Date"](),s=e["get"+n+"Hours"](),l=e["get"+n+"Minutes"](),u=e["get"+n+"Seconds"]();e=e["get"+n+"Milliseconds"]();return t.replace("MM",h(o,2)).replace("M",o).replace("yyyy",i).replace("yy",i%100).replace("dd",h(r,2)).replace("d",r).replace("hh",h(s,2)).replace("h",s).replace("mm",h(l,2)).replace("m",l).replace("ss",h(u,2)).replace("s",u).replace("SSS",h(e,3))},e.capitalFirst=function(t){return t&&t.charAt(0).toUpperCase()+t.substr(1)},e.truncateText=d,e.getTextBoundingRect=function(t){return o.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},e.getTextRect=function(t,e,n,i,a,r,s,l){return o.getBoundingRect(t,e,n,i,a,l,r,s)},e.windowOpen=function(t,e){var n;"_blank"===e||"blank"===e?((n=window.open()).opener=null,n.location=t):window.open(t,e)}},edaf:function(t,e,n){var i=n("6d8b"),o=n("6cb7"),a=n("6179"),r=n("e0d3"),s=o.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(t,e,n){this._data,this._names,this.mergeDefaultAndTheme(t,n),this._initData()},mergeOption:function(t){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t=e<=t?e-1:t)<0&&(t=0),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t,e=this.option,n=e.data||[],o=(e=e.axisType,this._names=[]);"category"===e&&(t=[],i.each(n,(function(e,n){var a,s=r.getDataItemValue(e);i.isObject(e)?(a=i.clone(e)).value=n:a=n,t.push(a),i.isString(s)||null!=s&&!isNaN(s)||(s=""),o.push(s+"")})),n=t),e={category:"ordinal",time:"time"}[e]||"number";(this._data=new a([{name:"value",type:e}],this)).initData(n,o)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}});t.exports=s},edb9:function(t,e,n){var i=n("6d8b");e.layout=function(t,e){e=e||{};var n=t.coordinateSystem,o=t.axis,a={},r=o.position,s=(o=o.orient,{horizontal:{top:(n=[(n=n.getRect()).x,n.x+n.width,n.y,n.y+n.height])[2],bottom:n[3]},vertical:{left:n[0],right:n[1]}});return a.position=["vertical"===o?s.vertical[r]:n[0],"horizontal"===o?s.horizontal[r]:n[3]],a.rotation=Math.PI/2*{horizontal:0,vertical:1}[o],a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,right:1,left:-1}[r],t.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),i.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection),null==(s=e.rotate)&&(s=t.get("axisLabel.rotate")),a.labelRotation="top"===r?-s:s,a.z2=1,a}},ee1aa:function(t,e,n){n=n("6d8b");var i=n.each,o=n.isString;function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}e.enableDataStack=function(t,e,n){var a,r,s,l,u,c,h=(n=n||{}).byIndex,d=n.stackedCoordDimension,p=!(!t||!t.get("stack"));return i(e,(function(t,n){o(t)&&(e[n]=t={name:t}),p&&!t.isExtraCoord&&(h||a||!t.ordinalMeta||(a=t),r||"ordinal"===t.type||"time"===t.type||d&&d!==t.coordDim||(r=t))})),!r||h||a||(h=!0),r&&(s="__\0ecstackresult",l="__\0ecstackedover",a&&(a.createInvertedIndices=!0),u=r.coordDim,n=r.type,c=0,i(e,(function(t){t.coordDim===u&&c++})),e.push({name:s,coordDim:u,coordDimIndex:c,type:n,isExtraCoord:!0,isCalculationCoord:!0}),c++,e.push({name:l,coordDim:l,coordDimIndex:c,type:n,isExtraCoord:!0,isCalculationCoord:!0})),{stackedDimension:r&&r.name,stackedByDimension:a&&a.name,isStackedByIndex:h,stackedOverDimension:l,stackResultDimension:s}},e.isDimensionStacked=a,e.getStackedDimension=function(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},ee66:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("2306"),r=n("eda2"),s=n("3842"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]};n=i.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,n){var i=this.group,o=(i.removeAll(),t.coordinateSystem),a=o.getRangeInfo();o=o.getOrient();this._renderDayRect(t,a,i),this._renderLines(t,a,o,i),this._renderYearText(t,a,o,i),this._renderMonthText(t,o,i),this._renderWeekText(t,a,o,i)},_renderDayRect:function(t,e,n){for(var i=t.coordinateSystem,o=t.getModel("itemStyle").getItemStyle(),r=i.getCellWidth(),s=i.getCellHeight(),l=e.start.time;l<=e.end.time;l=i.getNextNDay(l,1).time){var u=i.dataToRect([l],!1).tl;u=new a.Rect({shape:{x:u[0],y:u[1],width:r,height:s},cursor:"default",style:o});n.add(u)}},_renderLines:function(t,e,n,i){for(var o=this,a=t.coordinateSystem,r=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=r.lineWidth,u=(this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[],e.start),c=0;u.time<=e.end.time;c++){d(u.formatedDate);var h=(u=0===c?a.getDateInfo(e.start.y+"-"+e.start.m):u).date;h.setMonth(h.getMonth()+1),u=a.getDateInfo(h)}function d(e){o._firstDayOfMonth.push(a.getDateInfo(e)),o._firstDayPoints.push(a.dataToRect([e],!1).tl),e=o._getLinePointsOfOneWeek(t,e,n),o._tlpoints.push(e[0]),o._blpoints.push(e[e.length-1]),s&&o._drawSplitline(e,r,i)}d(a.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,l,n),r,i),s&&this._drawSplitline(o._getEdgesPoints(o._blpoints,l,n),r,i)},_getEdgesPoints:function(t,e,n){return t=[t[0].slice(),t[t.length-1].slice()],n="horizontal"===n?0:1,t[0][n]=t[0][n]-e/2,t[1][n]=t[1][n]+e/2,t},_drawSplitline:function(t,e,n){t=new a.Polyline({z2:20,shape:{points:t},style:e}),n.add(t)},_getLinePointsOfOneWeek:function(t,e,n){for(var i=t.coordinateSystem,o=(e=i.getDateInfo(e),[]),a=0;a<7;a++){var r=i.getNextNDay(e.time,a),s=i.dataToRect([r.time],!1);o[2*r.day]=s.tl,o[2*r.day+1]=s["horizontal"===n?"bl":"tr"]}return o},_formatterLabel:function(t,e){return"string"==typeof t&&t?r.formatTplSimple(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,n,i,o){e=e.slice();var a=["center","bottom"];"bottom"===i?(e[1]+=o,a=["center","top"]):"left"===i?e[0]-=o:"right"===i?(e[0]+=o,a=["center","top"]):e[1]-=o,o=0;return{rotation:o="left"!==i&&"right"!==i?o:Math.PI/2,position:e,style:{textAlign:a[0],textVerticalAlign:a[1]}}},_renderYearText:function(t,e,n,i){var o,r,s,l,u,c;t=t.getModel("yearLabel");t.get("show")&&(o=t.get("margin"),r=(r=t.get("position"))||("horizontal"!==n?"top":"left"),s=((c=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]])[0][0]+c[1][0])/2,u=(c[0][1]+c[1][1])/2,s={top:[s,c[l="horizontal"===n?0:1][1]],bottom:[s,c[1-l][1]],left:[c[1-l][0],u],right:[c[l][0],u]},c=e.start.y,+e.end.y>+e.start.y&&(c=c+"-"+e.end.y),l=t.get("formatter"),u={start:e.start.y,end:e.end.y,nameMap:c},e=this._formatterLabel(l,u),c=new a.Text({z2:30}),a.setTextStyle(c.style,t,{text:e}),c.attr(this._yearTextPositionControl(c,s[r],n,r,o)),i.add(c))},_monthTextPositionControl:function(t,e,n,i,o){var a="left",r="top",s=t[0];t=t[1];return"horizontal"===n?(t+=o,e&&(a="center"),"start"===i&&(r="bottom")):(s+=o,e&&(r="middle"),"start"===i&&(a="right")),{x:s,y:t,textAlign:a,textVerticalAlign:r}},_renderMonthText:function(t,e,n){var i=t.getModel("monthLabel");if(i.get("show"))for(var r=i.get("nameMap"),s=i.get("margin"),u=i.get("position"),c=(t=i.get("align"),[this._tlpoints,this._blpoints]),h=(o.isString(r)&&(r=l[r.toUpperCase()]||[]),"start"===u?0:1),d="horizontal"===e?0:1,p=(s="start"===u?-s:s,"center"===t),f=0;fs&&(e[1-a]=e[a]+o.sign*s),e}},ef97:function(t,e,n){var i=n("3eba"),o=(n("217b"),n("f17f"),n("7f96")),a=n("87c3"),r=n("fdde");n("01ed"),i.registerVisual(o("line","circle","line")),i.registerLayout(a("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,r("line"))},ef97a:function(t,e,n){var i=n("3eba"),o=(n("2163"),n("6cd8"),n("bf9b"),n("7f96"));n=n("ca29");i.registerVisual(o("tree","circle")),i.registerLayout(n)},f123:function(t,e,n){n=n("9f82");var i=n.prepareDataCoordInfo,o=n.getStackedOnPoint;t.exports=function(t,e,n,a,r,s,l,u){c=[],e.diff(t).add((function(t){c.push({cmd:"+",idx:t})})).update((function(t,e){c.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){c.push({cmd:"-",idx:t})})).execute();for(var c,h=c,d=[],p=[],f=[],g=[],m=[],y=[],v=[],x=i(r,e,l),_=i(s,t,u),b=0;bi)return;return 1}(t,e)))return a=e.mapDimension(t.dim),s={},i.each(t.getViewLabels(),(function(t){s[t.tickValue]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}function S(t,e,n){var i,o,a,r;return"cartesian2d"===t.type?(i=t.getBaseAxis().isHorizontal(),o=m(t,e,n),n.get("clip",!0)||(a=o.shape,r=Math.max(a.width,a.height),i?(a.y-=r,a.height+=2*r):(a.x-=r,a.width+=2*r)),o):y(t,e,n)}n=p.extend({type:"line",init:function(){var t=new l.Group,e=new a;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,n){var o,a=t.coordinateSystem,r=this.group,s=t.getData(),u=t.getModel("lineStyle"),c=t.getModel("areaStyle"),h=s.mapArray(s.getItemLayout),d="polar"===a.type,p=this._coordSys,m=this._symbolDraw,y=this._polyline,x=this._polygon,M=this._lineGroup,I=t.get("animation"),T=!c.isEmpty(),A=c.get("origin"),C=function(t,e,n){if(!n.valueDim)return[];for(var i=[],o=0,a=e.count();oe[c-1].coord&&(e.reverse(),h.reverse()),e[0].coord-10),p=e[c-1].coord+10,f=p-d;return f<.001?"transparent":(i.each(e,(function(t){t.offset=(t.coord-d)/f})),e.push({offset:c?e[c-1].offset:.5,color:h[1]||"transparent"}),e.unshift({offset:c?e[0].offset:.5,color:h[0]||"transparent"}),c=new l.LinearGradient(0,0,0,0,e,!0),c[r]=d,c[r+"2"]=p,c)}}}(s,a)||s.getVisual("color"),y.useStyle(i.defaults(u.getLineStyle(),{fill:"none",stroke:p,lineJoin:"bevel"})),t.get("smooth"),n=_(t.get("smooth"));y.setShape({smooth:n,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),x&&(D=s.getCalculationInfo("stackedOnSeries"),m=0,x.useStyle(i.defaults(c.getAreaStyle(),{fill:p,opacity:.7,lineJoin:"bevel"})),D&&(m=_(D.get("smooth"))),x.setShape({smooth:n,stackedOnSmooth:m,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})),this._data=s,this._coordSys=a,this._stackedOnPoints=C,this._points=h,this._step=d,this._valueOrigin=A},dispose:function(){},highlight:function(t,e,n,i){var o=t.getData(),a=u.queryDataIndex(o,i);if(!(a instanceof Array)&&null!=a&&0<=a){var s=o.getItemGraphicEl(a);if(!s){var l=o.getItemLayout(a);if(!l)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l[0],l[1]))return;(s=new r(o,a)).position=l,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,o.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else p.prototype.highlight.call(this,t,e,n,i)},downplay:function(t,e,n,i){var o,a=t.getData(),r=u.queryDataIndex(a,i);null!=r&&0<=r?(o=a.getItemGraphicEl(r))&&(o.__temp?(a.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay()):p.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new h({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new d({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n},_updateAnimation:function(t,e,n,i,o,a){var r=this._polyline,u=this._polygon,c=t.hostModel,h=(e=s(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,a),a=e.current,e.stackedOnCurrent),d=e.next,p=e.stackedOnNext;if(o&&(a=b(e.current,n,o),h=b(e.stackedOnCurrent,n,o),d=b(e.next,n,o),p=b(e.stackedOnNext,n,o)),3e3y.width&&(v-=S-g,S=g,b=null),new i.Polygon({shape:{points:(u=f,c=0,M=S,h=m,d=_===x.length-1,p=void 0,p=[[d?u:u-5,c],[u+M,c],[u+M,c+h],[d?u:u-5,c+h]],0===_||p.splice(2,0,[u+M+5,c+h/2]),d||p.push([u,c+h/2]),p)},style:a.defaults(n.getItemStyle(),{lineJoin:"bevel",text:b,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:a.curry(l,w)}));this.group.add(M),d=t,u=w,M.eventData={componentType:"series",componentSubType:"treemap",componentIndex:d.componentIndex,seriesIndex:d.componentIndex,seriesName:d.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:u&&u.dataIndex,name:u&&u.name},treePathInfo:u&&r(u,d)},f+=S+8}},remove:function(){this.group.removeAll()}},t.exports=s},f6ed:function(t,e,n){var i=n("6d8b");t.exports=function(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel();n=n?"o"+n.id:"i"+t.getMapType();(e[n]=e[n]||[]).push(t)})),i.each(e,(function(t,e){n=i.map(t,(function(t){return t.getData()})),o=t[0].get("mapValueCalculation"),a={},i.each(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){n="ec-"+t.getName(n),a[n]=a[n]||[],isNaN(e)||a[n].push(e)}))}));for(var n,o,a,r=n[0].map(n[0].mapDimension("value"),(function(t,e){for(var i="ec-"+n[0].getName(e),r=0,s=1/0,l=-1/0,u=a[i].length,c=0;cr[1]?-1:1,e=["start"===h?r[0]-e*l:"end"===h?r[1]+e*l:(r[0]+r[1])/2,I(h)?f.labelOffset+i*l:0],null!=(l=g.get("nameRotate"))&&(l=l*v/180),I(h)?n=b(f.rotation,null!=l?l:f.rotation,i):(n=function(t,e,n,i){var o;n=p(n-t.rotation),t=i[0]>i[1],i="start"===e&&!t||"start"!==e&&t;return e=d(n-v/2)?(o=i?"bottom":"top","center"):d(n-1.5*v)?(o=i?"top":"bottom","center"):(o="middle",n<1.5*v&&v/2t.getWidth()||n<0||n>t.getHeight()}(t,e)){var i=t._zr,o=t._covers,a=C(t,e,n);if(!t._dragging)for(var r=0;re[1]&&e.reverse(),t.getExtent()),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){t-=this.cx,e-=this.cy,t=t*t+e*e,e=this.r;var n=this.r0;return t<=e*e&&n*n<=t}}}},t.exports=i},fd63:function(t,e,n){var i=n("42e5"),o=n("6d8b").isFunction;t.exports={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),a=(t.visualColorAccessPath||"itemStyle.color").split("."),r=t.get(a),s=!o(r)||r instanceof i?null:r,l=(r&&!s||(r=t.getColorFromPalette(t.name,null,e.getSeriesCount())),n.setVisual("color",r),(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."));r=t.get(l);if(n.setVisual("borderColor",r),!e.isSeriesFiltered(t))return s&&n.each((function(e){n.setItemVisual(e,"color",s(t.getDataParams(e)))})),{dataEach:n.hasItemOption?function(t,e){var n=t.getItemModel(e),i=n.get(a,!0);n=n.get(l,!0);null!=i&&t.setItemVisual(e,"color",i),null!=n&&t.setItemVisual(e,"borderColor",n)}:null}}}},fdde:function(t,e){function n(t,e){return Math.round(t.length/2)}var i={average:function(t){for(var e=0,n=0,i=0;ie&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n