(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b94b82bc","chunk-768aa37e","chunk-7f661caa","chunk-f82514bc","chunk-37d7ee24","chunk-25572bd2","chunk-46a910b4","chunk-58bfdb12","chunk-951e6e0c"],{"0046":function(t,e,i){var n=i("6d8b"),a=n.each,r=n.createHashMap,o=i("4f85"),s=i("3301"),l=o.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,e){var i=this.getSource();return u(i,this),s(i,this)},getRawIndicesByActiveState:function(t){var e=this.coordinateSystem,i=this.getData(),n=[];return e.eachActiveState(i,(function(e,a){t===e&&n.push(i.getRawIndex(a))})),n},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"}});function u(t,e){if(!t.encodeDefine){var i=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(i){var n=t.encodeDefine=r();a(i.dimensions,(function(t){var e=c(t);n.set(t,e)}))}}}function c(t){return+t.replace("dim","")}t.exports=l},"004f":function(t,e,i){var n=i("6d8b"),a=i("72b6"),r=i("2306"),o=i("a15a"),s=o.createSymbol,l=i("f934"),u=i("cbb0"),c=a.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group;t.removeAll();var e=this.visualMapModel,i=e.get("textGap"),a=e.textStyleModel,o=a.getFont(),s=a.getTextColor(),u=this._getItemAlign(),c=e.itemSize,h=this._getViewData(),d=h.endsText,f=n.retrieve(e.get("showLabel",!0),!d);function p(a){var l=a.piece,h=new r.Group;h.onclick=n.bind(this._onItemClick,this,l),this._enableHoverLink(h,a.indexInModelPieceList);var d=e.getRepresentValue(l);if(this._createItemSymbol(h,d,[0,0,c[0],c[1]]),f){var p=this.visualMapModel.getValueState(d);h.add(new r.Text({style:{x:"right"===u?-i:c[0]+i,y:c[1]/2,text:l.text,textVerticalAlign:"middle",textAlign:u,textFont:o,textFill:s,opacity:"outOfRange"===p?.5:1}}))}t.add(h)}d&&this._renderEndsText(t,d[0],c,f,u),n.each(h.viewPieceList,p,this),d&&this._renderEndsText(t,d[1],c,f,u),l.box(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(t,e){function i(t){var i=this.visualMapModel;i.option.hoverLink&&this.api.dispatchAction({type:t,batch:u.makeHighDownBatch(i.findTargetDataIndices(e),i)})}t.on("mouseover",n.bind(i,this,"highlight")).on("mouseout",n.bind(i,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return u.getItemAlign(t,this.api,t.itemSize);var i=e.align;return i&&"auto"!==i||(i="left"),i},_renderEndsText:function(t,e,i,n,a){if(e){var o=new r.Group,s=this.visualMapModel.textStyleModel;o.add(new r.Text({style:{x:n?"right"===a?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:n?a:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(o)}},_getViewData:function(){var t=this.visualMapModel,e=n.map(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),i=t.get("text"),a=t.get("orient"),r=t.get("inverse");return("horizontal"===a?r:!r)?e.reverse():i&&(i=i.slice().reverse()),{viewPieceList:e,endsText:i}},_createItemSymbol:function(t,e,i){t.add(s(this.getControllerVisual(e,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,i=e.option,a=n.clone(i.selected),r=e.getSelectedMapKey(t);"single"===i.selectedMode?(a[r]=!0,n.each(a,(function(t,e){a[e]=e===r}))):a[r]=!a[r],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})}}),h=c;t.exports=h},"007d":function(t,e,i){var n=i("3eba");i("cb8f"),i("a96b"),i("42f6"),n.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),n.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},"00ba":function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("e46b"),o=i("e0d3"),s=o.defaultEmphasis,l=i("0f99"),u=l.makeSeriesEncodeForNameBased,c=i("c4a3"),h=n.extendSeriesModel({type:"series.funnel",init:function(t){h.superApply(this,"init",arguments),this.legendVisualProvider=new c(a.bind(this.getData,this),a.bind(this.getRawData,this)),this._defaultLabelLine(t)},getInitialData:function(t,e){return r(this,{coordDimensions:["value"],encodeDefaulter:a.curry(u,this)})},_defaultLabelLine:function(t){s(t,"labelLine",["show"]);var e=t.labelLine,i=t.emphasis.labelLine;e.show=e.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},getDataParams:function(t){var e=this.getData(),i=h.superCall(this,"getDataParams",t),n=e.mapDimension("value"),a=e.getSum(n);return i.percent=a?+(e.get(n,t)/a*100).toFixed(2):0,i.$vars.push("percent"),i},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}}}}),d=h;t.exports=d},"00d8":function(t,e,i){var n=i("6d8b");function a(t,e){return e=e||[0,0],n.map([0,1],(function(i){var n=e[i],a=t[i]/2,r=[],o=[];return r[i]=n-a,o[i]=n+a,r[1-i]=o[1-i]=e[1-i],Math.abs(this.dataToPoint(r)[i]-this.dataToPoint(o)[i])}),this)}function r(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:n.bind(a,t)}}}t.exports=r},"0141":function(t,e,i){var n=i("6d8b"),a=i("9850"),r=i("6cc5"),o=i("5b87");function s(t,e,i,n){r.call(this,t),this.map=e;var a=o.load(e,i);this._nameCoordMap=a.nameCoordMap,this._regionsMap=a.regionsMap,this._invertLongitute=null==n||n,this.regions=a.regions,this._rect=a.boundingRect}function l(t,e,i,n){var a=i.geoModel,r=i.seriesModel,o=a?a.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return o===this?o[t](n):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,i=0;i=i)e|=1&t,t>>=1;return t+e}function r(t,e,i,n){var a=e+1;if(a===i)return 1;if(n(t[a++],t[e])<0){while(a=0)a++;return a-e}function o(t,e,i){i--;while(e>>1,a(o,t[r])<0?l=r:s=r+1;var u=n-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:while(u>0)t[s+u]=t[s+u-1],u--}t[s]=o}}function l(t,e,i,n,a,r){var o=0,s=0,l=1;if(r(t,e[i+a])>0){s=n-a;while(l0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}else{s=a+1;while(ls&&(l=s);var u=o;o=a-l,l=a-u}o++;while(o>>1);r(t,e[i+c])>0?o=c+1:l=c}return l}function u(t,e,i,n,a,r){var o=0,s=0,l=1;if(r(t,e[i+a])<0){s=a+1;while(ls&&(l=s);var u=o;o=a-l,l=a-u}else{s=n-a;while(l=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}o++;while(o>>1);r(t,e[i+c])<0?l=c:o=c+1}return l}function c(t,e){var i,a,r=n,o=0,s=0;o=t.length;var c=[];function h(t,e){i[s]=t,a[s]=e,s+=1}function d(){while(s>1){var t=s-2;if(t>=1&&a[t-1]<=a[t]+a[t+1]||t>=2&&a[t-2]<=a[t]+a[t-1])a[t-1]a[t+1])break;p(t)}}function f(){while(s>1){var t=s-2;t>0&&a[t-1]=n||m>=n);if(v)break;y<0&&(y=0),y+=2}if(r=y,r<1&&(r=1),1===a){for(h=0;h=0;h--)t[m+h]=t[g+h];if(0===a){_=!0;break}}if(t[p--]=c[f--],1===--s){_=!0;break}if(x=s-l(t[d],c,0,s,s-1,e),0!==x){for(p-=x,f-=x,s-=x,m=p+1,g=f+1,h=0;h=n||x>=n);if(_)break;v<0&&(v=0),v+=2}if(r=v,r<1&&(r=1),1===s){for(p-=a,d-=a,m=p+1,g=d+1,h=a-1;h>=0;h--)t[m+h]=t[g+h];t[p]=c[f]}else{if(0===s)throw new Error;for(g=p-(s-1),h=0;h=0;h--)t[m+h]=t[g+h];t[p]=c[f]}else for(g=p-(s-1),h=0;hd&&(f=d),s(t,n,n+f,n+u,e),u=f}h.pushRun(n,u),h.mergeRuns(),l-=u,n+=u}while(0!==l);h.forceMergeRuns()}}t.exports=h},"0584":function(t,e,i){t.exports=i.p+"img/weijiaqiao.0d0a2e7a.jpg"},"0655":function(t,e,i){var n=i("8728"),a=1e-8;function r(t,e){return Math.abs(t-e).5?e:t}function d(t,e,i,n,a){var r=t.length;if(1===a)for(var o=0;oa;if(r)t.length=a;else for(var o=n;o=0;i--)if(C[i]<=e)break;i=Math.min(i,b-2)}else{for(i=H;ie)break;i=Math.min(i-1,b-2)}H=i,W=e;var n=C[i+1]-C[i];if(0!==n)if(z=(e-C[i])/n,_)if(V=D[i],B=D[0===i?i:i-1],G=D[i>b-2?b-1:i+1],F=D[i>b-3?b-1:i+2],M)g(B,V,G,F,z,z*z,z*z*z,u(t,s),A);else{if(I)a=g(B,V,G,F,z,z*z,z*z*z,U,1),a=y(U);else{if(T)return h(V,G,z);a=m(B,V,G,F,z,z*z,z*z*z)}v(t,s,a)}else if(M)d(D[i],D[i+1],z,u(t,s),A);else{var a;if(I)d(D[i],D[i+1],z,U,1),a=y(U);else{if(T)return h(D[i],D[i+1],z);a=c(D[i],D[i+1],z)}v(t,s,a)}},Z=new n({target:t._target,life:w,loop:t._loop,delay:t._delay,onframe:j,ondestroy:i});return e&&"spline"!==e&&(Z.easing=e),Z}}}var b=function(t,e,i,n){this._tracks={},this._target=t,this._loop=e||!1,this._getter=i||l,this._setter=n||u,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(t,e){var i=this._tracks;for(var n in e)if(e.hasOwnProperty(n)){if(!i[n]){i[n]=[];var a=this._getter(this._target,n);if(null==a)continue;0!==t&&i[n].push({time:0,value:v(a)})}i[n].push({time:t,value:e[n]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;te&&(e=n.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,i=this.children,n=i.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e=this.hostTree,i=e.data.getItemModel(this.dataIndex);return i.getModel(t)}},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){var e=t.parentNode;while(e){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},l.prototype={constructor:l,type:"tree",eachNode:function(t,e,i){this.root.eachNode(t,e,i)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,i=0,n=e.length;i0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=a.clone(t)},getValueState:function(t){var e=o.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),(function(e,i){var a=o.findPieceIndex(e,this._pieceList);a===t&&n.push(i)}),this),e.push({seriesId:i.id,dataIndex:n})}),this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var i=t.interval||[];e=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return e},getVisualMeta:function(t){if(!this.isCategory()){var e=[],i=[],n=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),o=r[r.length-1].interval[1],o!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var s=-1/0;return a.each(r,(function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])}),this),{stops:e,outerColors:i}}function l(a,r){var o=n.getRepresentValue({interval:a});r||(r=n.getValueState(o));var s=t(o,r);a[0]===-1/0?i[0]=s:a[1]===1/0?i[1]=s:e.push({value:a[0],color:s},{value:a[1],color:s})}}}),h={splitNumber:function(){var t=this.option,e=this._pieceList,i=Math.min(t.precision,20),n=this.getExtent(),r=t.splitNumber;r=Math.max(parseInt(r,10),1),t.splitNumber=r;var o=(n[1]-n[0])/r;while(+o.toFixed(i)!==o&&i<5)i++;t.precision=i,o=+o.toFixed(i),t.minOpen&&e.push({interval:[-1/0,n[0]],close:[0,0]});for(var s=0,l=n[0];s","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,i)}),this)}};function d(t,e){var i=t.inverse;("vertical"===t.orient?!i:i)&&e.reverse()}var f=c;t.exports=f},"07d7":function(t,e,i){var n=i("6d8b"),a=i("41ef"),r=i("607d"),o=i("65ed"),s=i("22d1"),l=i("eda2"),u=n.each,c=l.toCamelCase,h=["","-webkit-","-moz-","-o-"],d="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function f(t){var e="cubic-bezier(0.23, 1, 0.32, 1)",i="left "+t+"s "+e+",top "+t+"s "+e;return n.map(h,(function(t){return t+"transition:"+i})).join(";")}function p(t){var e=[],i=t.get("fontSize"),n=t.getTextColor();n&&e.push("color:"+n),e.push("font:"+t.getFont());var a=t.get("lineHeight");null==a&&(a=Math.round(3*i/2)),i&&e.push("line-height:"+a+"px");var r=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,s=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return o&&e.push("text-shadow:"+s+"px "+l+"px "+o+"px "+r),u(["decoration","align"],(function(i){var n=t.get(i);n&&e.push("text-"+i+":"+n)})),e.join(";")}function g(t){var e=[],i=t.get("transitionDuration"),n=t.get("backgroundColor"),r=t.getModel("textStyle"),o=t.get("padding");return i&&e.push(f(i)),n&&(s.canvasSupported?e.push("background-Color:"+n):(e.push("background-Color:#"+a.toHex(n)),e.push("filter:alpha(opacity=70)"))),u(["width","color","radius"],(function(i){var n="border-"+i,a=c(n),r=t.get(a);null!=r&&e.push(n+":"+r+("color"===i?"":"px"))})),e.push(p(r)),null!=o&&e.push("padding:"+l.normalizeCssArray(o).join("px ")+"px"),e.join(";")+";"}function m(t,e,i,n,a){var r=e&&e.painter;if(i){var s=r&&r.getViewportRoot();s&&o.transformLocalCoord(t,s,document.body,n,a)}else{t[0]=n,t[1]=a;var l=r&&r.getViewportRootOffset();l&&(t[0]+=l.offsetLeft,t[1]+=l.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function v(t,e,i){if(s.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var a=this._zr=e.getZr(),o=this._appendToBody=i&&i.appendToBody;this._styleCoord=[0,0,0,0],m(this._styleCoord,a,o,e.getWidth()/2,e.getHeight()/2),o?document.body.appendChild(n):t.appendChild(n),this._container=t,this._show=!1,this._hideTimeout;var l=this;n.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!l._enterable){var e=a.handler,i=a.painter.getViewportRoot();r.normalizeEvent(i,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}}v.prototype={constructor:v,_enterable:!0,update:function(t){var e=this._container,i=e.currentStyle||document.defaultView.getComputedStyle(e),n=e.style;"absolute"!==n.position&&"absolute"!==i.position&&(n.position="relative");var a=t.get("alwaysShowContent");a&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],i=t*this._zr.getWidth(),n=e*this._zr.getHeight();this.moveTo(i,n)},show:function(t){clearTimeout(this._hideTimeout);var e=this.el,i=this._styleCoord;e.style.cssText=d+g(t)+";left:"+i[0]+"px;top:"+i[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 i=this._styleCoord;m(i,this._zr,this._appendToBody,t,e);var n=this.el.style;n.left=i[0]+"px",n.top=i[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(n.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var i=document.defaultView.getComputedStyle(this.el);i&&(t+=parseInt(i.borderLeftWidth,10)+parseInt(i.borderRightWidth,10),e+=parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10))}return{width:t,height:e}}};var y=v;t.exports=y},"07e6":function(t,e,i){i("4d85"),i("a753")},"0817":function(t,e,i){var n=i("3eba");i("f306"),i("0046"),i("60d7");var a=i("ab71");n.registerVisual(a)},"085d":function(t,e,i){var n=i("3eba");i("bd92"),i("19e2");var a=i("eabf"),r=i("4c99"),o=i("09b1");n.registerPreprocessor(a),n.registerVisual(r),n.registerLayout(o)},"08c3":function(t,e,i){var n=i("6d8b"),a=i("84ce"),r=function(t,e,i,n){a.call(this,t,e,i),this.type=n||"value",this.model=null};r.prototype={constructor:r,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},n.inherits(r,a);var o=r;t.exports=o},"09b1":function(t,e,i){var n=i("2306"),a=n.subPixelOptimize,r=i("cccd"),o=i("3842"),s=o.parsePercent,l=i("6d8b"),u=l.retrieve2,c="undefined"!==typeof Float32Array?Float32Array:Array,h={seriesType:"candlestick",plan:r(),reset:function(t){var e=t.coordinateSystem,i=t.getData(),n=f(t,i),r=0,o=1,s=["x","y"],l=i.mapDimension(s[r]),u=i.mapDimension(s[o],!0),h=u[0],p=u[1],g=u[2],m=u[3];if(i.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),!(null==l||u.length<4))return{progress:t.pipelineContext.large?y:v};function v(t,i){var s;while(null!=(s=t.next())){var u=i.get(l,s),c=i.get(h,s),f=i.get(p,s),v=i.get(g,s),y=i.get(m,s),x=Math.min(c,f),_=Math.max(c,f),b=T(x,u),w=T(_,u),S=T(v,u),M=T(y,u),I=[];A(I,w,0),A(I,b,1),I.push(D(M),D(w),D(S),D(b)),i.setItemLayout(s,{sign:d(i,s,c,f,p),initBaseline:c>f?w[o]:b[o],ends:I,brushRect:C(v,y,u)})}function T(t,i){var n=[];return n[r]=i,n[o]=t,isNaN(i)||isNaN(t)?[NaN,NaN]:e.dataToPoint(n)}function A(t,e,i){var o=e.slice(),s=e.slice();o[r]=a(o[r]+n/2,1,!1),s[r]=a(s[r]-n/2,1,!0),i?t.push(o,s):t.push(s,o)}function C(t,e,i){var a=T(t,i),s=T(e,i);return a[r]-=n/2,s[r]-=n/2,{x:a[0],y:a[1],width:o?n:s[0]-a[0],height:o?s[1]-a[1]:n}}function D(t){return t[r]=a(t[r],1),t}}function y(t,i){var n,a,s=new c(4*t.count),u=0,f=[],v=[];while(null!=(a=t.next())){var y=i.get(l,a),x=i.get(h,a),_=i.get(p,a),b=i.get(g,a),w=i.get(m,a);isNaN(y)||isNaN(b)||isNaN(w)?(s[u++]=NaN,u+=3):(s[u++]=d(i,a,x,_,p),f[r]=y,f[o]=b,n=e.dataToPoint(f,null,v),s[u++]=n?n[0]:NaN,s[u++]=n?n[1]:NaN,f[o]=w,n=e.dataToPoint(f,null,v),s[u++]=n?n[1]:NaN)}i.setLayout("largePoints",s)}}};function d(t,e,i,n,a){var r;return r=i>n?-1:i0?t.get(a,e-1)<=n?1:-1:1,r}function f(t,e){var i,n=t.getBaseAxis(),a="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/e.count()),r=s(u(t.get("barMaxWidth"),a),a),o=s(u(t.get("barMinWidth"),1),a),l=t.get("barWidth");return null!=l?s(l,a):Math.max(Math.min(a/2,r),o)}t.exports=h},"0a6d":function(t,e,i){i("e4d1"),i("7f72")},"0b44":function(t,e,i){var n=i("607d"),a=function(){this._track=[]};function r(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}function o(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}a.prototype={constructor:a,recognize:function(t,e,i){return this._doTrack(t,e,i),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,i){var a=t.touches;if(a){for(var r={points:[],touches:[],target:e,event:t},o=0,s=a.length;o1&&n&&n.length>1){var s=r(n)/r(a);!isFinite(s)&&(s=1),e.pinchScale=s;var l=o(n);return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},l=a;t.exports=l},"0b4b":function(t,e,i){i("d28f"),i("f14c"),i("0ee7"),i("ebf9")},"0c12":function(t,e){function i(){}function n(t,e,i,n){for(var a=0,r=e.length,o=0,s=0;a=o&&h+1>=s){for(var d=[],f=0;f=o&&f+1>=s)return n(r,u.components,e,t);c[i]=u}else c[i]=void 0}l++}while(l<=u){var g=p();if(g)return g}},pushComponent:function(t,e,i){var n=t[t.length-1];n&&n.added===e&&n.removed===i?t[t.length-1]={count:n.count+1,added:e,removed:i}:t.push({count:1,added:e,removed:i})},extractCommon:function(t,e,i,n){var a=e.length,r=i.length,o=t.newPos,s=o-n,l=0;while(o+1a&&(a=e);var s=a%2?a+2:a+3;o=[];for(var l=0;l=0)&&(R=t);var N=new l.Text({position:D(e.center.slice()),scale:[1/m.scale[0],1/m.scale[1]],z2:10,silent:!0});if(l.setLabelStyle(N.style,N.hoverStyle={},x,_,{labelFetcher:R,labelDataIndex:E,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!y){var z=[1/c[0],1/c[1]];l.updateProps(N,{scale:z},t)}i.add(N)}if(s)s.setItemGraphicEl(r,i);else{u=t.getRegionModel(e.name);a.eventData={componentType:"geo",componentIndex:t.componentIndex,geoIndex:t.componentIndex,name:e.name,region:u&&u.option||{}}}var B=i.__regions||(i.__regions=[]);B.push(e),i.highDownSilentOnTouch=!!t.get("selectedMode"),l.setHoverStyle(i,v),h.add(i)})),this._updateController(t,e,i),p(this,t,h,i,a),g(t,h)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&u.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(t){var e=t.map;this._mapName!==e&&n.each(u.makeGraphic(e,this.uid),(function(t){this._backgroundGroup.add(t)}),this),this._mapName=e},_updateController:function(t,e,i){var a=t.coordinateSystem,o=this._controller,l=this._controllerHost;l.zoomLimit=t.get("scaleLimit"),l.zoom=a.getZoom(),o.enable(t.get("roam")||!1);var u=t.mainType;function c(){var e={type:"geoRoam",componentType:u};return e[u+"Id"]=t.id,e}o.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,r.updateViewOnPan(l,t.dx,t.dy),i.dispatchAction(n.extend(c(),{dx:t.dx,dy:t.dy}))}),this),o.off("zoom").on("zoom",(function(t){if(this._mouseDownFlag=!1,r.updateViewOnZoom(l,t.scale,t.originX,t.originY),i.dispatchAction(n.extend(c(),{zoom:t.scale,originX:t.originX,originY:t.originY})),this._updateGroup){var e=this.group.scale;this._regionsGroup.traverse((function(t){"text"===t.type&&t.attr("scale",[1/e[0],1/e[1]])}))}}),this),o.setPointerChecker((function(e,n,r){return a.getViewRectAfterRoam().contain(n,r)&&!s(e,i,t)}))}};var v=m;t.exports=v},"0cde":function(t,e,i){var n=i("1687"),a=i("401b"),r=n.identity,o=5e-5;function s(t){return t>o||t<-o}var l=function(t){t=t||{},t.position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var c=[];u.updateTransform=function(){var t=this.parent,e=t&&t.transform,i=this.needLocalTransform(),a=this.transform;if(i||e){a=a||n.create(),i?this.getLocalTransform(a):r(a),e&&(i?n.mul(a,t.transform,a):n.copy(a,t.transform)),this.transform=a;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(c);var s=c[0]<0?-1:1,l=c[1]<0?-1:1,u=((c[0]-s)*o+s)/c[0]||0,h=((c[1]-l)*o+l)/c[1]||0;a[0]*=u,a[1]*=u,a[2]*=h,a[3]*=h}this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,a)}else a&&r(a)},u.getLocalTransform=function(t){return l.getLocalTransform(this,t)},u.setTransform=function(t){var e=this.transform,i=t.dpr||1;e?t.setTransform(i*e[0],i*e[1],i*e[2],i*e[3],i*e[4],i*e[5]):t.setTransform(i,0,0,i,0,0)},u.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var h=[],d=n.create();u.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=this.position,a=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(i-1)&&(i=Math.sqrt(i)),t[0]<0&&(e=-e),t[3]<0&&(i=-i),n[0]=t[4],n[1]=t[5],a[0]=e,a[1]=i,this.rotation=Math.atan2(-t[1]/i,t[0]/e)}},u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(n.mul(h,t.invTransform,e),e=h);var i=this.origin;i&&(i[0]||i[1])&&(d[4]=i[0],d[5]=i[1],n.mul(h,e,d),h[4]-=i[0],h[5]-=i[1],e=h),this.setLocalTransform(e)}},u.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},u.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&a.applyTransform(i,i,n),i},u.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&a.applyTransform(i,i,n),i},l.getLocalTransform=function(t,e){e=e||[],r(e);var i=t.origin,a=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return i&&(e[4]-=i[0],e[5]-=i[1]),n.scale(e,e,a),o&&n.rotate(e,e,o),i&&(e[4]+=i[0],e[5]+=i[1]),e[4]+=s[0],e[5]+=s[1],e};var f=l;t.exports=f},"0da8":function(t,e,i){var n=i("19eb"),a=i("9850"),r=i("6d8b"),o=i("5e76");function s(t){n.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var i=this.style,n=i.image;i.bind(t,this,e);var a=this._image=o.createOrUpdateImage(n,this._image,this,this.onload);if(a&&o.isImageReady(a)){var r=i.x||0,s=i.y||0,l=i.width,u=i.height,c=a.width/a.height;if(null==l&&null!=u?l=u*c:null==u&&null!=l?u=l/c:null==l&&null==u&&(l=a.width,u=a.height),this.setTransform(t),i.sWidth&&i.sHeight){var h=i.sx||0,d=i.sy||0;t.drawImage(a,h,d,i.sWidth,i.sHeight,r,s,l,u)}else if(i.sx&&i.sy){h=i.sx,d=i.sy;var f=l-h,p=u-d;t.drawImage(a,h,d,f,p,r,s,l,u)}else t.drawImage(a,r,s,l,u);null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new a(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},r.inherits(s,n);var l=s;t.exports=l},"0e0f":function(t,e,i){var n=i("5f14"),a=i("6d8b");function r(t,e){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph(),i=e.nodes;if(i.length){var r=1/0,o=-1/0;a.each(i,(function(t){var e=t.getLayout().value;eo&&(o=e)})),a.each(i,(function(e){var i=new n({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}),a=i.mapValueToVisual(e.getLayout().value),s=e.getModel().get("itemStyle.color");null!=s?e.setVisual("color",s):e.setVisual("color",a)}))}}))}t.exports=r},"0ee7":function(t,e,i){var n=i("6d8b"),a=i("2306"),r=i("f934"),o=i("5e97"),s=a.Group,l=["width","height"],u=["x","y"],c=o.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,e,i,r,o,s,l){var u=this;c.superCall(this,"renderInner",t,e,i,r,o,s,l);var h=this._controllerGroup,d=e.get("pageIconSize",!0);n.isArray(d)||(d=[d,d]),p("pagePrev",0);var f=e.getModel("pageTextStyle");function p(t,i){var o=t+"DataIndex",s=a.createIcon(e.get("pageIcons",!0)[e.getOrient().name][i],{onclick:n.bind(u._pageGo,u,o,e,r)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});s.name=t,h.add(s)}h.add(new a.Text({name:"pageText",style:{textFill:f.getTextColor(),font:f.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),p("pageNext",1)},layoutInner:function(t,e,i,a,o,s){var c=this.getSelectorGroup(),h=t.getOrient().index,d=l[h],f=u[h],p=l[1-h],g=u[1-h];o&&r.box("horizontal",c,t.get("selectorItemGap",!0));var m=t.get("selectorButtonGap",!0),v=c.getBoundingRect(),y=[-v.x,-v.y],x=n.clone(i);o&&(x[d]=i[d]-v[d]-m);var _=this._layoutContentAndController(t,a,x,h,d,p,g);if(o){if("end"===s)y[h]+=_[d]+m;else{var b=v[d]+m;y[h]-=b,_[f]-=b}_[d]+=v[d]+m,y[1-h]+=_[g]+_[p]/2-v[p]/2,_[p]=Math.max(_[p],v[p]),_[g]=Math.min(_[g],v[g]+y[1-h]),c.attr("position",y)}return _},_layoutContentAndController:function(t,e,i,o,s,l,u){var c=this.getContentGroup(),h=this._containerGroup,d=this._controllerGroup;r.box(t.get("orient"),c,t.get("itemGap"),o?i.width:null,o?null:i.height),r.box("horizontal",d,t.get("pageButtonItemGap",!0));var f=c.getBoundingRect(),p=d.getBoundingRect(),g=this._showController=f[s]>i[s],m=[-f.x,-f.y];e||(m[o]=c.position[o]);var v=[0,0],y=[-p.x,-p.y],x=n.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(g){var _=t.get("pageButtonPosition",!0);"end"===_?y[o]+=i[s]-p[s]:v[o]+=p[s]+x}y[1-o]+=f[l]/2-p[l]/2,c.attr("position",m),h.attr("position",v),d.attr("position",y);var b={x:0,y:0};if(b[s]=g?i[s]:f[s],b[l]=Math.max(f[l],p[l]),b[u]=Math.min(0,p[u]+y[1-o]),h.__rectSize=i[s],g){var w={x:0,y:0};w[s]=Math.max(i[s]-p[s]-x,0),w[l]=b[l],h.setClipPath(new a.Rect({shape:w})),h.__rectSize=w[s]}else d.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var S=this._getPageInfo(t);return null!=S.pageIndex&&a.updateProps(c,{position:S.contentPosition},!!g&&t),this._updatePageInfoView(t,S),b},_pageGo:function(t,e,i){var n=this._getPageInfo(e)[t];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:e.id})},_updatePageInfoView:function(t,e){var i=this._controllerGroup;n.each(["pagePrev","pageNext"],(function(n){var a=null!=e[n+"DataIndex"],r=i.childOfName(n);r&&(r.setStyle("fill",a?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),r.cursor=a?"pointer":"default")}));var a=i.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,s=null!=o?o+1:0,l=e.pageCount;a&&r&&a.setStyle("text",n.isString(r)?r.replace("{current}",s).replace("{total}",l):r({current:s,total:l}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,a=t.getOrient().index,r=l[a],o=u[a],s=this._findTargetItemIndex(e),c=i.children(),h=c[s],d=c.length,f=d?1:0,p={contentPosition:i.position.slice(),pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var g=_(h);p.contentPosition[a]=-g.s;for(var m=s+1,v=g,y=g,x=null;m<=d;++m)x=_(c[m]),(!x&&y.e>v.s+n||x&&!b(x,v.s))&&(v=y.i>v.i?y:x,v&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=v.i),++p.pageCount)),y=x;for(m=s-1,v=g,y=g,x=null;m>=-1;--m)x=_(c[m]),x&&b(y,x.s)||!(v.i=e&&t.s<=e+n}},_findTargetItemIndex:function(t){if(!this._showController)return 0;var e,i,n=this.getContentGroup();return n.eachChild((function(n,a){var r=n.__legendDataIndex;null==i&&null!=r&&(i=a),r===t&&(e=a)})),null!=e?e:i}}),h=c;t.exports=h},"0f55":function(t,e,i){var n=i("6d8b"),a=i("84ce"),r=function(t,e,i,n,r){a.call(this,t,e,i),this.type=n||"value",this.axisIndex=r};r.prototype={constructor:r,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},n.inherits(r,a);var o=r;t.exports=o},"0f99":function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("e0d3")),r=a.makeInner,o=a.getDataItemValue,s=i("6d8b"),l=s.createHashMap,u=s.each,c=s.map,h=s.isArray,d=s.isString,f=s.isObject,p=s.isTypedArray,g=s.isArrayLike,m=s.extend,v=(s.assert,i("ec6f")),y=i("93d0"),x=y.SOURCE_FORMAT_ORIGINAL,_=y.SOURCE_FORMAT_ARRAY_ROWS,b=y.SOURCE_FORMAT_OBJECT_ROWS,w=y.SOURCE_FORMAT_KEYED_COLUMNS,S=y.SOURCE_FORMAT_UNKNOWN,M=y.SOURCE_FORMAT_TYPED_ARRAY,I=y.SERIES_LAYOUT_BY_ROW,T={Must:1,Might:2,Not:3},A=r();function C(t){var e=t.option.source,i=S;if(p(e))i=M;else if(h(e)){0===e.length&&(i=_);for(var n=0,a=e.length;n0&&(s=this.getLineLength(n)/u*1e3),s!==this._period||l!==this._loop){n.stopAnimation();var d=c;h&&(d=c(i)),n.__t>0&&(d=-s*n.__t),n.__t=0;var f=n.animate("",l).when(s,{__t:1}).delay(d).during((function(){a.updateSymbolPosition(n)}));l||f.done((function(){a.remove(n)})),f.start()}this._period=s,this._loop=l}},h.getLineLength=function(t){return l.dist(t.__p1,t.__cp1)+l.dist(t.__cp1,t.__p2)},h.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},h.updateData=function(t,e,i){this.childAt(0).updateData(t,e,i),this._updateEffectSymbol(t,e)},h.updateSymbolPosition=function(t){var e=t.__p1,i=t.__p2,n=t.__cp1,a=t.__t,r=t.position,o=[r[0],r[1]],s=u.quadraticAt,c=u.quadraticDerivativeAt;r[0]=s(e[0],n[0],i[0],a),r[1]=s(e[1],n[1],i[1],a);var h=c(e[0],n[0],i[0],a),d=c(e[1],n[1],i[1],a);if(t.rotation=-Math.atan2(d,h)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==t.__lastT&&t.__lastTe[0][1]&&(e[0][1]=r[0]),r[1]e[1][1]&&(e[1][1]=r[1])}return e&&w(e)}};function w(t){return new r(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,i){var n=i("3eba");i("67a8"),i("4784");var a=i("7f96"),r=i("87c3");n.registerVisual(a("effectScatter","circle")),n.registerLayout(r("effectScatter"))},"133d":function(t,e,i){var n=i("6d8b"),a=i("e0d3");function r(t,e){var i,r=[],o=t.seriesIndex;if(null==o||!(i=e.getSeriesByIndex(o)))return{point:[]};var s=i.getData(),l=a.queryDataIndex(s,t);if(null==l||l<0||n.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=i.coordinateSystem;if(i.getTooltipPosition)r=i.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)r=c.dataToPoint(s.getValues(n.map(c.dimensions,(function(t){return s.mapDimension(t)})),l,!0))||[];else if(u){var h=u.getBoundingRect().clone();h.applyTransform(u.transform),r=[h.x+h.width/2,h.y+h.height/2]}return{point:r,el:u}}t.exports=r},1418:function(t,e,i){var n=i("6d8b"),a=i("a15a"),r=a.createSymbol,o=i("2306"),s=i("3842"),l=s.parsePercent,u=i("c775"),c=u.getDefaultLabel;function h(t,e,i){o.Group.call(this),this.updateData(t,e,i)}var d=h.prototype,f=h.getSymbolSize=function(t,e){var i=t.getItemVisual(e,"symbolSize");return i instanceof Array?i.slice():[+i,+i]};function p(t){return[t[0]/2,t[1]/2]}function g(t,e){this.parent.drift(t,e)}d._createSymbol=function(t,e,i,n,a){this.removeAll();var o=e.getItemVisual(i,"color"),s=r(t,-1,-1,2,2,o,a);s.attr({z2:100,culling:!0,scale:p(n)}),s.drift=g,this._symbolType=t,this.add(s)},d.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},d.getSymbolPath=function(){return this.childAt(0)},d.getScale=function(){return this.childAt(0).scale},d.highlight=function(){this.childAt(0).trigger("emphasis")},d.downplay=function(){this.childAt(0).trigger("normal")},d.setZ=function(t,e){var i=this.childAt(0);i.zlevel=t,i.z=e},d.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},d.updateData=function(t,e,i){this.silent=!1;var n=t.getItemVisual(e,"symbol")||"circle",a=t.hostModel,r=f(t,e),s=n!==this._symbolType;if(s){var l=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(n,t,e,r,l)}else{var u=this.childAt(0);u.silent=!1,o.updateProps(u,{scale:p(r)},a,e)}if(this._updateCommon(t,e,r,i),s){u=this.childAt(0);var c=i&&i.fadeIn,h={scale:u.scale.slice()};c&&(h.style={opacity:u.style.opacity}),u.scale=[0,0],c&&(u.style.opacity=0),o.initProps(u,h,a,e)}this._seriesModel=a};var m=["itemStyle"],v=["emphasis","itemStyle"],y=["label"],x=["emphasis","label"];function _(t,e){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===e){var i=this.__symbolOriginalScale,n=i[1]/i[0],a={scale:[Math.max(1.1*i[0],i[0]+3),Math.max(1.1*i[1],i[1]+3*n)]};this.animateTo(a,400,"elasticOut")}else"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}d._updateCommon=function(t,e,i,a){var r=this.childAt(0),s=t.hostModel,u=t.getItemVisual(e,"color");"image"!==r.type?r.useStyle({strokeNoScale:!0}):r.setStyle({opacity:1,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var h=a&&a.itemStyle,d=a&&a.hoverItemStyle,f=a&&a.symbolOffset,g=a&&a.labelModel,b=a&&a.hoverLabelModel,w=a&&a.hoverAnimation,S=a&&a.cursorStyle;if(!a||t.hasItemOption){var M=a&&a.itemModel?a.itemModel:t.getItemModel(e);h=M.getModel(m).getItemStyle(["color"]),d=M.getModel(v).getItemStyle(),f=M.getShallow("symbolOffset"),g=M.getModel(y),b=M.getModel(x),w=M.getShallow("hoverAnimation"),S=M.getShallow("cursor")}else d=n.extend({},d);var I=r.style,T=t.getItemVisual(e,"symbolRotate");r.attr("rotation",(T||0)*Math.PI/180||0),f&&r.attr("position",[l(f[0],i[0]),l(f[1],i[1])]),S&&r.attr("cursor",S),r.setColor(u,a&&a.symbolInnerColor),r.setStyle(h);var A=t.getItemVisual(e,"opacity");null!=A&&(I.opacity=A);var C=t.getItemVisual(e,"liftZ"),D=r.__z2Origin;null!=C?null==D&&(r.__z2Origin=r.z2,r.z2+=C):null!=D&&(r.z2=D,r.__z2Origin=null);var L=a&&a.useNameLabel;function P(e,i){return L?t.getName(e):c(t,e)}o.setLabelStyle(I,d,g,b,{labelFetcher:s,labelDataIndex:e,defaultText:P,isRectText:!0,autoColor:u}),r.__symbolOriginalScale=p(i),r.hoverStyle=d,r.highDownOnUpdate=w&&s.isAnimationEnabled()?_:null,o.setHoverStyle(r)},d.fadeOut=function(t,e){var i=this.childAt(0);this.silent=i.silent=!0,(!e||!e.keepLabel)&&(i.style.text=null),o.updateProps(i,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},n.inherits(h,o.Group);var b=h;t.exports=b},1466:function(t,e,i){var n=i("3eba"),a=i("2306"),r=i("6d8b"),o=i("a15a");function s(t){return r.isArray(t)||(t=[+t,+t]),t}var l=n.extendChartView({type:"radar",render:function(t,e,i){var n=t.coordinateSystem,l=this.group,u=t.getData(),c=this._data;function h(t,e){var i=t.getItemVisual(e,"symbol")||"circle",n=t.getItemVisual(e,"color");if("none"!==i){var a=s(t.getItemVisual(e,"symbolSize")),r=o.createSymbol(i,-1,-1,2,2,n),l=t.getItemVisual(e,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scale:[a[0]/2,a[1]/2],rotation:l*Math.PI/180||0}),r}}function d(e,i,n,r,o,s){n.removeAll();for(var l=0;l0&&!g.min?g.min=0:null!=g.min&&g.min<0&&!g.max&&(g.max=0);var m=c;if(null!=g.color&&(m=a.defaults({color:g.color},c)),g=a.merge(a.clone(g),{boundaryGap:t,splitNumber:e,scale:i,axisLine:n,axisTick:r,axisType:l,axisLabel:u,name:g.text,nameLocation:"end",nameGap:f,nameTextStyle:m,triggerEvent:p},!1),h||(g.name=""),"string"===typeof d){var v=g.name;g.name=d.replace("{value}",null!=v?v:"")}else"function"===typeof d&&(g.name=d(g.name,g));var y=a.extend(new o(g,null,this.ecModel),s);return y.mainType="radar",y.componentIndex=this.componentIndex,y}),this);this.getIndicatorModels=function(){return g}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:a.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),axisType:"interval",splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}}),h=c;t.exports=h},1792:function(t,e){var i={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function n(t,e){if("china"===t){var n=i[e.name];if(n){var a=e.center;a[0]+=n[0]/10.5,a[1]+=-n[1]/14}}}t.exports=n},"17b8":function(t,e,i){var n=i("3014"),a=n.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});t.exports=a},"17d6":function(t,e,i){var n=i("6d8b"),a=i("22d1"),r=i("e0d3"),o=r.makeInner,s=o(),l=n.each;function u(t,e,i){if(!a.node){var n=e.getZr();s(n).records||(s(n).records={}),c(n,e);var r=s(n).records[t]||(s(n).records[t]={});r.handler=i}}function c(t,e){function i(i,n){t.on(i,(function(i){var a=p(e);l(s(t).records,(function(t){t&&n(t,i,a.dispatchAction)})),h(a.pendings,e)}))}s(t).initialized||(s(t).initialized=!0,i("click",n.curry(f,"click")),i("mousemove",n.curry(f,"mousemove")),i("globalout",d))}function h(t,e){var i,n=t.showTip.length,a=t.hideTip.length;n?i=t.showTip[n-1]:a&&(i=t.hideTip[a-1]),i&&(i.dispatchAction=null,e.dispatchAction(i))}function d(t,e,i){t.handler("leave",null,i)}function f(t,e,i,n){e.handler(t,i,n)}function p(t){var e={showTip:[],hideTip:[]},i=function(n){var a=e[n.type];a?a.push(n):(n.dispatchAction=i,t.dispatchAction(n))};return{dispatchAction:i,pendings:e}}function g(t,e){if(!a.node){var i=e.getZr(),n=(s(i).records||{})[t];n&&(s(i).records[t]=null)}}e.register=u,e.unregister=g},"18c0":function(t,e,i){var n=i("6d8b"),a=i("e0d8"),r=i("8e43"),o=a.prototype,s=a.extend({type:"ordinal",init:function(t,e){t&&!n.isArray(t)||(t=new r({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"===typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),o.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return o.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(o.scale.call(this,t))},getTicks:function(){var t=[],e=this._extent,i=e[0];while(i<=e[1])t.push(i),i++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:n.noop,niceExtent:n.noop});s.create=function(){return new s};var l=s;t.exports=l},1953:function(t,e,i){var n=i("2449"),a=n.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});t.exports=a},"19e2":function(t,e,i){var n=i("6d8b"),a=i("e887"),r=i("2306"),o=i("cbe5"),s=i("b0af"),l=s.createClipPath,u=["itemStyle"],c=["emphasis","itemStyle"],h=["color","color0","borderColor","borderColor0"],d=a.extend({type:"candlestick",render:function(t,e,i){this.group.removeClipPath(),this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},incrementalPrepareRender:function(t,e,i){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,i,n){this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t){var e=t.getData(),i=this._data,n=this.group,a=e.getLayout("isSimpleBox"),o=t.get("clip",!0),s=t.coordinateSystem,l=s.getArea&&s.getArea();this._data||n.removeAll(),e.diff(i).add((function(i){if(e.hasValue(i)){var s,u=e.getItemLayout(i);if(o&&g(l,u))return;s=p(u,i,!0),r.initProps(s,{shape:{points:u.ends}},t,i),m(s,e,i,a),n.add(s),e.setItemGraphicEl(i,s)}})).update((function(s,u){var c=i.getItemGraphicEl(u);if(e.hasValue(s)){var h=e.getItemLayout(s);o&&g(l,h)?n.remove(c):(c?r.updateProps(c,{shape:{points:h.ends}},t,s):c=p(h,s),m(c,e,s,a),n.add(c),e.setItemGraphicEl(s,c))}else n.remove(c)})).remove((function(t){var e=i.getItemGraphicEl(t);e&&n.remove(e)})).execute(),this._data=e},_renderLarge:function(t){this._clear(),x(t,this.group);var e=t.get("clip",!0)?l(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},_incrementalRenderNormal:function(t,e){var i,n=e.getData(),a=n.getLayout("isSimpleBox");while(null!=(i=t.next())){var r,o=n.getItemLayout(i);r=p(o,i),m(r,n,i,a),r.incremental=!0,this.group.add(r)}},_incrementalRenderLarge:function(t,e){x(e,this.group,!0)},remove:function(t){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:n.noop}),f=o.extend({type:"normalCandlestickBox",shape:{},buildPath:function(t,e){var i=e.points;this.__simpleBox?(t.moveTo(i[4][0],i[4][1]),t.lineTo(i[6][0],i[6][1])):(t.moveTo(i[0][0],i[0][1]),t.lineTo(i[1][0],i[1][1]),t.lineTo(i[2][0],i[2][1]),t.lineTo(i[3][0],i[3][1]),t.closePath(),t.moveTo(i[4][0],i[4][1]),t.lineTo(i[5][0],i[5][1]),t.moveTo(i[6][0],i[6][1]),t.lineTo(i[7][0],i[7][1]))}});function p(t,e,i){var n=t.ends;return new f({shape:{points:i?v(n,t):n},z2:100})}function g(t,e){for(var i=!0,n=0;n0?"P":"N",r=n.getVisual("borderColor"+a)||n.getVisual("color"+a),o=i.getModel(u).getItemStyle(h);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var b=d;t.exports=b},"19eb":function(t,e,i){var n=i("6d8b"),a=i("2b61"),r=i("d5b7"),o=i("9e2e");function s(t){for(var e in t=t||{},r.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new a(t.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();return n.contain(i[0],i[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?r.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new a(t,this),this.dirty(!1),this},calculateTextPosition:null},n.inherits(s,r),n.mixin(s,o);var l=s;t.exports=l},"1ab3":function(t,e,i){var n=i("6d8b"),a=i("2306"),r=i("e887");function o(t,e,i,n){var a=e.getData(),r=this.dataIndex,o=a.getName(r),l=e.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:t,name:o,seriesId:e.id}),a.each((function(t){s(a.getItemGraphicEl(t),a.getItemLayout(t),e.isSelected(a.getName(t)),l,i)}))}function s(t,e,i,n,a){var r=(e.startAngle+e.endAngle)/2,o=Math.cos(r),s=Math.sin(r),l=i?n:0,u=[o*l,s*l];a?t.animate().when(200,{position:u}).start("bounceOut"):t.attr("position",u)}function l(t,e){a.Group.call(this);var i=new a.Sector({z2:2}),n=new a.Polyline,r=new a.Text;this.add(i),this.add(n),this.add(r),this.updateData(t,e,!0)}var u=l.prototype;u.updateData=function(t,e,i){var r=this.childAt(0),o=this.childAt(1),l=this.childAt(2),u=t.hostModel,c=t.getItemModel(e),h=t.getItemLayout(e),d=n.extend({},h);d.label=null;var f=u.getShallow("animationTypeUpdate");if(i){r.setShape(d);var p=u.getShallow("animationType");"scale"===p?(r.shape.r=h.r0,a.initProps(r,{shape:{r:h.r}},u,e)):(r.shape.endAngle=h.startAngle,a.updateProps(r,{shape:{endAngle:h.endAngle}},u,e))}else"expansion"===f?r.setShape(d):a.updateProps(r,{shape:d},u,e);var g=t.getItemVisual(e,"color");r.useStyle(n.defaults({lineJoin:"bevel",fill:g},c.getModel("itemStyle").getItemStyle())),r.hoverStyle=c.getModel("emphasis.itemStyle").getItemStyle();var m=c.getShallow("cursor");m&&r.attr("cursor",m),s(this,t.getItemLayout(e),u.isSelected(t.getName(e)),u.get("selectedOffset"),u.get("animation"));var v=!i&&"transition"===f;this._updateLabel(t,e,v),this.highDownOnUpdate=u.get("silent")?null:function(t,e){var i=u.isAnimationEnabled()&&c.get("hoverAnimation");"emphasis"===e?(o.ignore=o.hoverIgnore,l.ignore=l.hoverIgnore,i&&(r.stopAnimation(!0),r.animateTo({shape:{r:h.r+u.get("hoverOffset")}},300,"elasticOut"))):(o.ignore=o.normalIgnore,l.ignore=l.normalIgnore,i&&(r.stopAnimation(!0),r.animateTo({shape:{r:h.r}},300,"elasticOut")))},a.setHoverStyle(this)},u._updateLabel=function(t,e,i){var n=this.childAt(1),r=this.childAt(2),o=t.hostModel,s=t.getItemModel(e),l=t.getItemLayout(e),u=l.label,c=t.getItemVisual(e,"color");if(!u||isNaN(u.x)||isNaN(u.y))r.ignore=r.normalIgnore=r.hoverIgnore=n.ignore=n.normalIgnore=n.hoverIgnore=!0;else{var h={points:u.linePoints||[[u.x,u.y],[u.x,u.y],[u.x,u.y]]},d={x:u.x,y:u.y};i?(a.updateProps(n,{shape:h},o,e),a.updateProps(r,{style:d},o,e)):(n.attr({shape:h}),r.attr({style:d})),r.attr({rotation:u.rotation,origin:[u.x,u.y],z2:10});var f=s.getModel("label"),p=s.getModel("emphasis.label"),g=s.getModel("labelLine"),m=s.getModel("emphasis.labelLine");c=t.getItemVisual(e,"color");a.setLabelStyle(r.style,r.hoverStyle={},f,p,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:u.text,autoColor:c,useInsideStyle:!!u.inside},{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),r.ignore=r.normalIgnore=!f.get("show"),r.hoverIgnore=!p.get("show"),n.ignore=n.normalIgnore=!g.get("show"),n.hoverIgnore=!m.get("show"),n.setStyle({stroke:c,opacity:t.getItemVisual(e,"opacity")}),n.setStyle(g.getModel("lineStyle").getLineStyle()),n.hoverStyle=m.getModel("lineStyle").getLineStyle();var v=g.get("smooth");v&&!0===v&&(v=.4),n.setShape({smooth:v})}},n.inherits(l,a.Group);var c=r.extend({type:"pie",init:function(){var t=new a.Group;this._sectorGroup=t},render:function(t,e,i,a){if(!a||a.from!==this.uid){var r=t.getData(),s=this._data,u=this.group,c=e.get("animation"),h=!s,d=t.get("animationType"),f=t.get("animationTypeUpdate"),p=n.curry(o,this.uid,t,c,i),g=t.get("selectedMode");if(r.diff(s).add((function(t){var e=new l(r,t);h&&"scale"!==d&&e.eachChild((function(t){t.stopAnimation(!0)})),g&&e.on("click",p),r.setItemGraphicEl(t,e),u.add(e)})).update((function(t,e){var i=s.getItemGraphicEl(e);h||"transition"===f||i.eachChild((function(t){t.stopAnimation(!0)})),i.updateData(r,t),i.off("click"),g&&i.on("click",p),u.add(i),r.setItemGraphicEl(t,i)})).remove((function(t){var e=s.getItemGraphicEl(t);u.remove(e)})).execute(),c&&r.count()>0&&(h?"scale"!==d:"transition"!==f)){for(var m=r.getItemLayout(0),v=1;isNaN(m.startAngle)&&v=n.r0}}}),h=c;t.exports=h},"1c5f":function(t,e,i){var n=i("401b"),a=i("6d8b"),r=i("0c37"),o=r.getCurvenessForEdge;function s(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var i=t.getGraph();i.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),l(i,t)}}function l(t,e){t.eachEdge((function(t,i){var r=a.retrieve3(t.getModel().get("lineStyle.curveness"),-o(t,e,i,!0),0),s=n.clone(t.node1.getLayout()),l=n.clone(t.node2.getLayout()),u=[s,l];+r&&u.push([(s[0]+l[0])/2-(s[1]-l[1])*r,(s[1]+l[1])/2-(l[0]-s[0])*r]),t.setLayout(u)}))}e.simpleLayout=s,e.simpleLayoutEdge=l},"1ccf":function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),r=i("fd27"),o=i("3842"),s=o.parsePercent,l=i("697e"),u=l.createScaleByModel,c=l.niceScaleExtent,h=i("2039"),d=i("ee1a"),f=d.getStackedDimension;function p(t,e,i){var n=e.get("center"),r=i.getWidth(),o=i.getHeight();t.cx=s(n[0],r),t.cy=s(n[1],o);var l=t.getRadiusAxis(),u=Math.min(r,o)/2,c=e.get("radius");null==c?c=[0,"100%"]:a.isArray(c)||(c=[0,c]),c=[s(c[0],u),s(c[1],u)],l.inverse?l.setExtent(c[1],c[0]):l.setExtent(c[0],c[1])}function g(t,e){var i=this,n=i.getAngleAxis(),r=i.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===i){var e=t.getData();a.each(e.mapDimension("radius",!0),(function(t){r.scale.unionExtentFromData(e,f(e,t))})),a.each(e.mapDimension("angle",!0),(function(t){n.scale.unionExtentFromData(e,f(e,t))}))}})),c(n.scale,n.model),c(r.scale,r.model),"category"===n.type&&!n.onBand){var o=n.getExtent(),s=360/n.scale.count();n.inverse?o[1]+=s:o[1]-=s,n.setExtent(o[0],o[1])}}function m(t,e){if(t.type=e.get("type"),t.scale=u(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var i=e.get("startAngle");t.setExtent(i,i+(t.inverse?-360:360))}e.axis=t,t.model=e}i("78f0");var v={dimensions:r.prototype.dimensions,create:function(t,e){var i=[];return t.eachComponent("polar",(function(t,n){var a=new r(n);a.update=g;var o=a.getRadiusAxis(),s=a.getAngleAxis(),l=t.findAxisModel("radiusAxis"),u=t.findAxisModel("angleAxis");m(o,l),m(s,u),p(a,t,e),i.push(a),t.coordinateSystem=a,a.model=t})),t.eachSeries((function(e){if("polar"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e.coordinateSystem=i.coordinateSystem}})),i}};h.register("polar",v)},"1e32":function(t,e,i){var n=i("6d8b"),a=i("3842"),r=a.parsePercent,o=i("ee1a"),s=o.isDimensionStacked;function l(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function u(t,e){return e.dim+t.model.componentIndex}function c(t,e,i){var a={},r=h(n.filter(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),o=u(i,n),c=l(t),h=r[o][c],d=h.offset,f=h.width,p=i.getOtherAxis(n),g=t.coordinateSystem.cx,m=t.coordinateSystem.cy,v=t.get("barMinHeight")||0,y=t.get("barMinAngle")||0;a[c]=a[c]||[];for(var x=e.mapDimension(p.dim),_=e.mapDimension(n.dim),b=s(e,x),w="radius"!==n.dim||!t.get("roundCap",!0),S="radius"===p.dim?p.dataToRadius(0):p.dataToAngle(0),M=0,I=e.count();M=0?"p":"n",O=S;if(b&&(a[c][P]||(a[c][P]={p:S,n:S}),O=a[c][P][k]),"radius"===p.dim){var R=p.dataToRadius(L)-S,E=n.dataToAngle(P);Math.abs(R)=a/3?1:2),l=e.y-n(o)*r*(r>=a/3?1:2);o=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+i(o)*r,e.y+n(o)*r),t.lineTo(e.x+i(e.angle)*a,e.y+n(e.angle)*a),t.lineTo(e.x-i(o)*r,e.y-n(o)*r),t.lineTo(s,l)}});t.exports=a},"1f1a":function(t,e,i){var n=i("6d8b"),a=i("e0d3"),r=i("6cb7"),o=i("4319"),s=i("7023"),l=i("eeea"),u=r.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){r.prototype.init.apply(this,arguments),a.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var t=this.option,e=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=n.reduce(t.regions||[],(function(t,i){return i.name&&t.set(i.name,new o(i,e)),t}),n.createHashMap()),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new o(null,this,this.ecModel)},getFormattedLabel:function(t,e){e=e||"normal";var i=this.getRegionModel(t),n=i.get(("normal"===e?"":e+".")+"label.formatter"),a={name:t};return"function"===typeof n?(a.status=e,n(a)):"string"===typeof n?n.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});n.mixin(u,s);var c=u;t.exports=c},"1fab":function(t,e){var i=Array.prototype.slice,n=function(t){this._$handlers={},this._$eventProcessor=t};function a(t,e){var i=t._$eventProcessor;return null!=e&&i&&i.normalizeQuery&&(e=i.normalizeQuery(e)),e}function r(t,e,i,n,r,o){var s=t._$handlers;if("function"===typeof i&&(r=n,n=i,i=null),!n||!e)return t;i=a(t,i),s[e]||(s[e]=[]);for(var l=0;l3&&(a=i.call(a,1));for(var o=e.length,s=0;s4&&(a=i.call(a,1,a.length-1));for(var o=a[a.length-1],s=e.length,l=0;lthis._ux||x(e-this._yi)>this._uy||this._len<5;return this.addData(u.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,n,a,r){return this.addData(u.C,t,e,i,n,a,r),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,n,a,r):this._ctx.bezierCurveTo(t,e,i,n,a,r)),this._xi=a,this._yi=r,this},quadraticCurveTo:function(t,e,i,n){return this.addData(u.Q,t,e,i,n),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,i,n):this._ctx.quadraticCurveTo(t,e,i,n)),this._xi=i,this._yi=n,this},arc:function(t,e,i,n,a,r){return this.addData(u.A,t,e,i,i,n,a-n,0,r?0:1),this._ctx&&this._ctx.arc(t,e,i,n,a,r),this._xi=m(a)*i+t,this._yi=v(a)*i+e,this},arcTo:function(t,e,i,n,a){return this._ctx&&this._ctx.arcTo(t,e,i,n,a),this},rect:function(t,e,i,n){return this._ctx&&this._ctx.rect(t,e,i,n),this.addData(u.R,t,e,i,n),this},closePath:function(){this.addData(u.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t.closePath()),this._xi=e,this._yi=i,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,this._dashIdx=0;for(var e=0,i=0;ie.length&&(this._expandData(),e=this.data);for(var i=0;i0&&f<=t||c<0&&f>=t||0===c&&(h>0&&m<=e||h<0&&m>=e))n=this._dashIdx,i=o[n],f+=c*i,m+=h*i,this._dashIdx=(n+1)%v,c>0&&fl||h>0&&mu||s[n%2?"moveTo":"lineTo"](c>=0?p(f,t):g(f,t),h>=0?p(m,e):g(m,e));c=f-t,h=m-e,this._dashOffset=-y(c*c+h*h)},_dashedBezierTo:function(t,e,i,a,r,o){var s,l,u,c,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,m=this._xi,v=this._yi,x=n.cubicAt,_=0,b=this._dashIdx,w=p.length,S=0;for(f<0&&(f=d+f),f%=d,s=0;s<1;s+=.1)l=x(m,t,i,r,s+.1)-x(m,t,i,r,s),u=x(v,e,a,o,s+.1)-x(v,e,a,o,s),_+=y(l*l+u*u);for(;bf)break;s=(S-f)/_;while(s<=1)c=x(m,t,i,r,s),h=x(v,e,a,o,s),b%2?g.moveTo(c,h):g.lineTo(c,h),s+=p[b]/_,b=(b+1)%w;b%2!==0&&g.lineTo(r,o),l=r-c,u=o-h,this._dashOffset=-y(l*l+u*u)},_dashedQuadraticTo:function(t,e,i,n){var a=i,r=n;i=(i+2*t)/3,n=(n+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,i,n,a,r)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,_&&(this.data=new Float32Array(t)))},getBoundingRect:function(){c[0]=c[1]=d[0]=d[1]=Number.MAX_VALUE,h[0]=h[1]=f[0]=f[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,n=0,s=0,l=0;ll||x(o-a)>c||d===h-1)&&(t.lineTo(r,o),n=r,a=o);break;case u.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case u.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case u.A:var p=s[d++],g=s[d++],y=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],I=y>_?y:_,T=y>_?1:y/_,A=y>_?_/y:1,C=Math.abs(y-_)>.001,D=b+w;C?(t.translate(p,g),t.rotate(S),t.scale(T,A),t.arc(0,0,I,b,D,1-M),t.scale(1/T,1/A),t.rotate(-S),t.translate(-p,-g)):t.arc(p,g,I,b,D,1-M),1===d&&(e=m(b)*y+p,i=v(b)*_+g),n=m(D)*y+p,a=v(D)*_+g;break;case u.R:e=n=s[d],i=a=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case u.Z:t.closePath(),n=e,a=i}}}},b.CMD=u;var w=b;t.exports=w},2145:function(t,e){var i={};function n(t,e){i[t]=e}function a(t){return i[t]}e.register=n,e.get=a},2163:function(t,e,i){var n=i("4f85"),a=i("06c7"),r=i("eda2"),o=r.encodeHTML,s=i("4319"),l=n.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},i=t.leaves||{},n=new s(i,this,this.ecModel),r=a.createTree(e,this,o);function o(t){t.wrapMethod("getItemModel",(function(t,e){var i=r.getNodeByDataIndex(e);return i.children.length&&i.isExpand||(t.parentModel=n),t}))}var l=0;r.eachNode("preorder",(function(t){t.depth>l&&(l=t.depth)}));var u=t.expandAndCollapse,c=u&&t.initialTreeDepth>=0?t.initialTreeDepth:l;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=c})),r.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){var e=this.getData().tree,i=e.root.children[0],n=e.getNodeByDataIndex(t),a=n.getValue(),r=n.name;while(n&&n!==i)r=n.parentNode.name+"."+r,n=n.parentNode;return o(r+(isNaN(a)||null==a?"":" : "+a))},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=l},"216a":function(t,e,i){var n=i("6d8b"),a=i("3842"),r=i("eda2"),o=i("944e"),s=i("89e3"),l=s.prototype,u=Math.ceil,c=Math.floor,h=1e3,d=60*h,f=60*d,p=24*f,g=function(t,e,i,n){while(i>>1;t[a][1]i&&(s=i);var l=v.length,h=g(v,s,0,l),d=v[Math.min(h,l-1)],f=d[1];if("year"===d[0]){var p=r/f,m=a.nice(p/t,!0);f*=m}var y=this.getSetting("useUTC")?0:60*new Date(+n[0]||+n[1]).getTimezoneOffset()*1e3,x=[Math.round(u((n[0]-y)/f)*f+y),Math.round(c((n[1]-y)/f)*f+y)];o.fixExtent(x,n),this._stepLvl=d,this._interval=f,this._niceExtent=x},parse:function(t){return+a.parseDate(t)}});n.each(["contain","normalize"],(function(t){m.prototype[t]=function(e){return l[t].call(this,this.parse(e))}}));var v=[["hh:mm:ss",h],["hh:mm:ss",5*h],["hh:mm:ss",10*h],["hh:mm:ss",15*h],["hh:mm:ss",30*h],["hh:mm\nMM-dd",d],["hh:mm\nMM-dd",5*d],["hh:mm\nMM-dd",10*d],["hh:mm\nMM-dd",15*d],["hh:mm\nMM-dd",30*d],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",2*f],["hh:mm\nMM-dd",6*f],["hh:mm\nMM-dd",12*f],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];m.create=function(t){return new m({useUTC:t.ecModel.get("useUTC")})};var y=m;t.exports=y},"217b":function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("3301")),r=i("4f85"),o=r.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return a(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=o},"217c":function(t,e,i){var n=i("6d8b"),a=i("6cb7");i("df3a");var r=a.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){a.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(t){var e=this.option;t&&n.merge(e,t,!0),this._initDimensions()},contains:function(t,e){var i=t.get("parallelIndex");return null!=i&&e.getComponent("parallel",i)===this},setAxisExpand:function(t){n.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},_initDimensions:function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],i=n.filter(this.dependentModels.parallelAxis,(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this);n.each(i,(function(i){t.push("dim"+i.get("dim")),e.push(i.componentIndex)}))}});t.exports=r},"22d1":function(t,e){var i={};i="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:a(navigator.userAgent);var n=i;function a(t){var e={},i={},n=t.match(/Firefox\/([\d.]+)/),a=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),r=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);return n&&(i.firefox=!0,i.version=n[1]),a&&(i.ie=!0,i.version=a[1]),r&&(i.edge=!0,i.version=r[1]),o&&(i.weChat=!0),{browser:i,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!i.ie&&!i.edge,pointerEventsSupported:"onpointerdown"in window&&(i.edge||i.ie&&i.version>=11),domSupported:"undefined"!==typeof document}}t.exports=n},"22da":function(t,e,i){var n=i("f934");function a(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var e,i,n=[t];while(e=n.pop())if(i=e.children,e.isExpand&&i.length)for(var a=i.length,r=a-1;r>=0;r--){var o=i[r];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:r,thread:null},n.push(o)}}function r(t,e){var i=t.isExpand?t.children:[],n=t.parentNode.children,a=t.hierNode.i?n[t.hierNode.i-1]:null;if(i.length){c(t);var r=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;a?(t.hierNode.prelim=a.hierNode.prelim+e(t,a),t.hierNode.modifier=t.hierNode.prelim-r):t.hierNode.prelim=r}else a&&(t.hierNode.prelim=a.hierNode.prelim+e(t,a));t.parentNode.hierNode.defaultAncestor=h(t,a,t.parentNode.hierNode.defaultAncestor||n[0],e)}function o(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function s(t){return arguments.length?t:m}function l(t,e){var i={};return t-=Math.PI/2,i.x=e*Math.cos(t),i.y=e*Math.sin(t),i}function u(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function c(t){var e=t.children,i=e.length,n=0,a=0;while(--i>=0){var r=e[i];r.hierNode.prelim+=n,r.hierNode.modifier+=n,a+=r.hierNode.change,n+=r.hierNode.shift+a}}function h(t,e,i,n){if(e){var a=t,r=t,o=r.parentNode.children[0],s=e,l=a.hierNode.modifier,u=r.hierNode.modifier,c=o.hierNode.modifier,h=s.hierNode.modifier;while(s=d(s),r=f(r),s&&r){a=d(a),o=f(o),a.hierNode.ancestor=t;var m=s.hierNode.prelim+h-r.hierNode.prelim-u+n(s,r);m>0&&(g(p(s,t,i),t,m),u+=m,l+=m),h+=s.hierNode.modifier,u+=r.hierNode.modifier,l+=a.hierNode.modifier,c+=o.hierNode.modifier}s&&!d(a)&&(a.hierNode.thread=s,a.hierNode.modifier+=h-l),r&&!f(o)&&(o.hierNode.thread=r,o.hierNode.modifier+=u-c,i=t)}return i}function d(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function f(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function p(t,e,i){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:i}function g(t,e,i){var n=i/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=n,e.hierNode.shift+=i,e.hierNode.modifier+=i,e.hierNode.prelim+=i,t.hierNode.change+=n}function m(t,e){return t.parentNode===e.parentNode?1:2}e.init=a,e.firstWalk=r,e.secondWalk=o,e.separation=s,e.radialCoordinate=l,e.getViewRect=u},2306:function(t,e,i){var n=i("6d8b"),a=i("342d"),r=i("41ef"),o=i("1687"),s=i("401b"),l=i("cbe5"),u=i("0cde"),c=i("0da8");e.Image=c;var h=i("e1fc");e.Group=h;var d=i("76a5");e.Text=d;var f=i("d9fc");e.Circle=f;var p=i("4aa2");e.Sector=p;var g=i("4573");e.Ring=g;var m=i("87b1");e.Polygon=m;var v=i("d498");e.Polyline=v;var y=i("c7a2");e.Rect=y;var x=i("cb11");e.Line=x;var _=i("ac0f");e.BezierCurve=_;var b=i("8d32");e.Arc=b;var w=i("d4c6");e.CompoundPath=w;var S=i("48a9");e.LinearGradient=S;var M=i("dded");e.RadialGradient=M;var I=i("9850");e.BoundingRect=I;var T=i("392f");e.IncrementalDisplayable=T;var A=i("9cf9"),C=Math.max,D=Math.min,L={},P=1,k={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},O="emphasis",R="normal",E=1,N={},z={};function B(t){return l.extend(t)}function V(t,e){return a.extendFromString(t,e)}function G(t,e){z[t]=e}function F(t){if(z.hasOwnProperty(t))return z[t]}function H(t,e,i,n){var r=a.createFromString(t,e);return i&&("center"===n&&(i=U(i,r.getBoundingRect())),Z(r,i)),r}function W(t,e,i){var n=new c({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var a={width:t.width,height:t.height};n.setStyle(U(e,a))}}});return n}function U(t,e){var i,n=e.width/e.height,a=t.height*n;a<=t.width?i=t.height:(a=t.width,i=a/n);var r=t.x+t.width/2,o=t.y+t.height/2;return{x:r-a/2,y:o-i/2,width:a,height:i}}var j=a.mergePath;function Z(t,e){if(t.applyTransform){var i=t.getBoundingRect(),n=i.calculateTransform(e);t.applyTransform(n)}}function Y(t){return A.subPixelOptimizeLine(t.shape,t.shape,t.style),t}function X(t){return A.subPixelOptimizeRect(t.shape,t.shape,t.style),t}var q=A.subPixelOptimize;function K(t){return null!=t&&"none"!==t}var $=n.createHashMap(),J=0;function Q(t){if("string"!==typeof t)return t;var e=$.get(t);return e||(e=r.lift(t,-.1),J<1e4&&($.set(t,e),J++)),e}function tt(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var i=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var n=t.style;for(var a in e)null!=e[a]&&(i[a]=n[a]);i.fill=n.fill,i.stroke=n.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}function et(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var i=t.__zr,n=t.useHoverLayer&&i&&"canvas"===i.painter.type;if(t.__highlighted=n?"layer":"plain",!(t.isGroup||!i&&t.useHoverLayer)){var a=t,r=t.style;n&&(a=i.addHover(t),r=a.style),Mt(r),n||tt(a),r.extendFrom(e),it(r,e,"fill"),it(r,e,"stroke"),St(r),n||(t.dirty(!1),t.z2+=P)}}}function it(t,e,i){!K(e[i])&&K(t[i])&&(t[i]=Q(t[i]))}function nt(t){var e=t.__highlighted;if(e&&(t.__highlighted=!1,!t.isGroup))if("layer"===e)t.__zr&&t.__zr.removeHover(t);else{var i=t.style,n=t.__cachedNormalStl;n&&(Mt(i),t.setStyle(n),St(i));var a=t.__cachedNormalZ2;null!=a&&t.z2-a===P&&(t.z2=a)}}function at(t,e,i){var n,a=R,r=R;t.__highlighted&&(a=O,n=!0),e(t,i),t.__highlighted&&(r=O,n=!0),t.isGroup&&t.traverse((function(t){!t.isGroup&&e(t,i)})),n&&t.__highDownOnUpdate&&t.__highDownOnUpdate(a,r)}function rt(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,nt(t),et(t))}function ot(t){!ct(this,t)&&!this.__highByOuter&&at(this,et)}function st(t){!ct(this,t)&&!this.__highByOuter&&at(this,nt)}function lt(t){this.__highByOuter|=1<<(t||0),at(this,et)}function ut(t){!(this.__highByOuter&=~(1<<(t||0)))&&at(this,nt)}function ct(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function ht(t,e){dt(t,!0),at(t,rt,e)}function dt(t,e){var i=!1===e;if(t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,!i||t.__highDownDispatcher){var n=i?"off":"on";t[n]("mouseover",ot)[n]("mouseout",st),t[n]("emphasis",lt)[n]("normal",ut),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!i}}function ft(t){return!(!t||!t.__highDownDispatcher)}function pt(t){var e=N[t];return null==e&&E<=32&&(e=N[t]=E++),e}function gt(t,e,i,a,r,o,s){r=r||L;var l,u=r.labelFetcher,c=r.labelDataIndex,h=r.labelDimIndex,d=r.labelProp,f=i.getShallow("show"),p=a.getShallow("show");(f||p)&&(u&&(l=u.getFormattedLabel(c,"normal",null,h,d)),null==l&&(l=n.isFunction(r.defaultText)?r.defaultText(c,r):r.defaultText));var g=f?l:null,m=p?n.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,h,d):null,l):null;null==g&&null==m||(vt(t,i,o,r),vt(e,a,s,r,!0)),t.text=g,e.text=m}function mt(t,e,i){var a=t.style;e&&(Mt(a),t.setStyle(e),St(a)),a=t.__hoverStl,i&&a&&(Mt(a),n.extend(a,i),St(a))}function vt(t,e,i,a,r){return xt(t,e,a,r),i&&n.extend(t,i),t}function yt(t,e,i){var n,a={isRectText:!0};!1===i?n=!0:a.autoColor=i,xt(t,e,a,n)}function xt(t,e,i,a){if(i=i||L,i.isRectText){var r;i.getTextPosition?r=i.getTextPosition(e,a):(r=e.getShallow("position")||(a?null:"inside"),"outside"===r&&(r="top")),t.textPosition=r,t.textOffset=e.getShallow("offset");var o=e.getShallow("rotate");null!=o&&(o*=Math.PI/180),t.textRotation=o,t.textDistance=n.retrieve2(e.getShallow("distance"),a?null:5)}var s,l=e.ecModel,u=l&&l.option.textStyle,c=_t(e);if(c)for(var h in s={},c)if(c.hasOwnProperty(h)){var d=e.getModel(["rich",h]);bt(s[h]={},d,u,i,a)}return t.rich=s,bt(t,e,u,i,a,!0),i.forceRich&&!i.textStyle&&(i.textStyle={}),t}function _t(t){var e;while(t&&t!==t.ecModel){var i=(t.option||L).rich;if(i)for(var n in e=e||{},i)i.hasOwnProperty(n)&&(e[n]=1);t=t.parentModel}return e}function bt(t,e,i,a,r,o){i=!r&&i||L,t.textFill=wt(e.getShallow("color"),a)||i.color,t.textStroke=wt(e.getShallow("textBorderColor"),a)||i.textBorderColor,t.textStrokeWidth=n.retrieve2(e.getShallow("textBorderWidth"),i.textBorderWidth),r||(o&&(t.insideRollbackOpt=a,St(t)),null==t.textFill&&(t.textFill=a.autoColor)),t.fontStyle=e.getShallow("fontStyle")||i.fontStyle,t.fontWeight=e.getShallow("fontWeight")||i.fontWeight,t.fontSize=e.getShallow("fontSize")||i.fontSize,t.fontFamily=e.getShallow("fontFamily")||i.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),o&&a.disableBox||(t.textBackgroundColor=wt(e.getShallow("backgroundColor"),a),t.textPadding=e.getShallow("padding"),t.textBorderColor=wt(e.getShallow("borderColor"),a),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||i.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||i.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||i.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||i.textShadowOffsetY}function wt(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function St(t){var e,i=t.textPosition,n=t.insideRollbackOpt;if(n&&null==t.textFill){var a=n.autoColor,r=n.isRectText,o=n.useInsideStyle,s=!1!==o&&(!0===o||r&&i&&"string"===typeof i&&i.indexOf("inside")>=0),l=!s&&null!=a;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=a,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=a)}t.insideRollback=e}function Mt(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function It(t,e){var i=e&&e.getModel("textStyle");return n.trim([t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}function Tt(t,e,i,n,a,r){"function"===typeof a&&(r=a,a=null);var o=n&&n.isAnimationEnabled();if(o){var s=t?"Update":"",l=n.getShallow("animationDuration"+s),u=n.getShallow("animationEasing"+s),c=n.getShallow("animationDelay"+s);"function"===typeof c&&(c=c(a,n.getAnimationDelayParams?n.getAnimationDelayParams(e,a):null)),"function"===typeof l&&(l=l(a)),l>0?e.animateTo(i,l,c||0,u,r,!!r):(e.stopAnimation(),e.attr(i),r&&r())}else e.stopAnimation(),e.attr(i),r&&r()}function At(t,e,i,n,a){Tt(!0,t,e,i,n,a)}function Ct(t,e,i,n,a){Tt(!1,t,e,i,n,a)}function Dt(t,e){var i=o.identity([]);while(t&&t!==e)o.mul(i,t.getLocalTransform(),i),t=t.parent;return i}function Lt(t,e,i){return e&&!n.isArrayLike(e)&&(e=u.getLocalTransform(e)),i&&(e=o.invert([],e)),s.applyTransform([],t,e)}function Pt(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),a=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),r=["left"===t?-n:"right"===t?n:0,"top"===t?-a:"bottom"===t?a:0];return r=Lt(r,e,i),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"}function kt(t,e,i,a){if(t&&e){var r=o(t);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var n=l(t);t.attr(l(e)),At(t,n,i,t.dataIndex)}}}))}function o(t){var e={};return t.traverse((function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)})),e}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=n.extend({},t.shape)),e}}function Ot(t,e){return n.map(t,(function(t){var i=t[0];i=C(i,e.x),i=D(i,e.x+e.width);var n=t[1];return n=C(n,e.y),n=D(n,e.y+e.height),[i,n]}))}function Rt(t,e){var i=C(t.x,e.x),n=D(t.x+t.width,e.x+e.width),a=C(t.y,e.y),r=D(t.y+t.height,e.y+e.height);if(n>=i&&r>=a)return{x:i,y:a,width:n-i,height:r-a}}function Et(t,e,i){e=n.extend({rectHover:!0},e);var a=e.style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(a.image=t.slice(8),n.defaults(a,i),new c(e)):H(t.replace("path://",""),e,i,"center")}function Nt(t,e,i,n,a){for(var r=0,o=a[a.length-1];r1)return!1;var m=Bt(f,p,c,h)/d;return!(m<0||m>1)}function Bt(t,e,i,n){return t*n-i*e}function Vt(t){return t<=1e-6&&t>=-1e-6}G("circle",f),G("sector",p),G("ring",g),G("polygon",m),G("polyline",v),G("rect",y),G("line",x),G("bezierCurve",_),G("arc",b),e.Z2_EMPHASIS_LIFT=P,e.CACHED_LABEL_STYLE_PROPERTIES=k,e.extendShape=B,e.extendPath=V,e.registerShape=G,e.getShapeClass=F,e.makePath=H,e.makeImage=W,e.mergePath=j,e.resizePath=Z,e.subPixelOptimizeLine=Y,e.subPixelOptimizeRect=X,e.subPixelOptimize=q,e.setElementHoverStyle=rt,e.setHoverStyle=ht,e.setAsHighDownDispatcher=dt,e.isHighDownDispatcher=ft,e.getHighlightDigit=pt,e.setLabelStyle=gt,e.modifyLabelStyle=mt,e.setTextStyle=vt,e.setText=yt,e.getFont=It,e.updateProps=At,e.initProps=Ct,e.getTransform=Dt,e.applyTransform=Lt,e.transformDirection=Pt,e.groupTransition=kt,e.clipPointsByRect=Ot,e.clipRectByRect=Rt,e.createIcon=Et,e.linePolygonIntersect=Nt,e.lineLineIntersect=zt},2325:function(t,e,i){var n=i("6d8b"),a=i("607d"),r=i("2306"),o=i("88b3"),s=i("7dcf"),l=i("3842"),u=i("f934"),c=i("ef6a"),h=r.Rect,d=l.linearMap,f=l.asc,p=n.bind,g=n.each,m=7,v=1,y=30,x="horizontal",_="vertical",b=5,w=["line","bar","candlestick","scatter"],S=s.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,i,n){S.superApply(this,"render",arguments),o.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){S.superApply(this,"remove",arguments),o.clear(this,"_dispatchZoomAction")},dispose:function(){S.superApply(this,"dispose",arguments),o.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new r.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,i=this._findCoordRect(),a={width:e.getWidth(),height:e.getHeight()},r=this._orient===x?{right:a.width-i.x-i.width,top:a.height-y-m,width:i.width,height:y}:{right:m,top:i.y,width:y,height:i.height},o=u.getLayoutParams(t.option);n.each(["right","top","width","height"],(function(t){"ph"===o[t]&&(o[t]=r[t])}));var s=u.getLayoutRect(o,a,t.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===_&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),a=n&&n.get("inverse"),r=this._displayables.barGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;r.attr(i!==x||a?i===x&&a?{scale:o?[-1,1]:[-1,-1]}:i!==_||a?{scale:o?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:o?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:o?[1,1]:[1,-1]});var s=t.getBoundingRect([r]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,i=this._displayables.barGroup;i.add(new h({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),i.add(new h({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:n.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,i=t.series,a=i.getRawData(),o=i.getShadowDim?i.getShadowDim():t.otherDim;if(null!=o){var s=a.getDataExtent(o),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,e[1]],h=[0,e[0]],f=[[e[0],0],[0,0]],p=[],g=h[1]/(a.count()-1),m=0,v=Math.round(a.count()/e[0]);a.each([o],(function(t,e){if(v>0&&e%v)m+=g;else{var i=null==t||isNaN(t)||""===t,n=i?0:d(t,s,c,!0);i&&!u&&e?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!i&&u&&(f.push([m,0]),p.push([m,0])),f.push([m,n]),p.push([m,n]),m+=g,u=i}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new r.Polygon({shape:{points:f},style:n.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new r.Polyline({shape:{points:p},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var i,a=this.ecModel;return t.eachTargetAxis((function(r,o){var s=t.getAxisProxy(r.name,o).getTargetSeriesModels();n.each(s,(function(t){if(!i&&!(!0!==e&&n.indexOf(w,t.get("type"))<0)){var s,l=a.getComponent(r.axis,o).axis,u=M(r.name),c=t.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=t.getData().mapDimension(u),i={thisAxis:l,series:t,thisDim:r.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),i}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],i=t.handleLabels=[],n=this._displayables.barGroup,a=this._size,o=this.dataZoomModel;n.add(t.filler=new h({draggable:!0,cursor:I(this._orient),drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:o.get("fillerColor"),textPosition:"inside"}})),n.add(new h({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{stroke:o.get("dataBackgroundColor")||o.get("borderColor"),lineWidth:v,fill:"rgba(0,0,0,0)"}})),g([0,1],(function(t){var a=r.createIcon(o.get("handleIcon"),{cursor:I(this._orient),draggable:!0,drift:p(this._onDragMove,this,t),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=a.getBoundingRect();this._handleHeight=l.parsePercent(o.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,a.setStyle(o.getModel("handleStyle").getItemStyle());var u=o.get("handleColor");null!=u&&(a.style.fill=u),n.add(e[t]=a);var c=o.textStyleModel;this.group.add(i[t]=new r.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))}),this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[d(t[0],[0,100],e,!0),d(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var i=this.dataZoomModel,n=this._handleEnds,a=this._getViewExtent(),r=i.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];c(e,n,a,i.get("zoomLock")?"all":t,null!=r.minSpan?d(r.minSpan,o,a,!0):null,null!=r.maxSpan?d(r.maxSpan,o,a,!0):null);var s=this._range,l=this._range=f([d(n[0],a,o,!0),d(n[1],a,o,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var e=this._displayables,i=this._handleEnds,n=f(i.slice()),a=this._size;g([0,1],(function(t){var n=e.handles[t],r=this._handleHeight;n.attr({scale:[r/2,r/2],position:[i[t],a[1]/2-r/2]})}),this),e.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:a[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,i=this._displayables,n=i.handleLabels,a=this._orient,o=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var h=f(this._handleEnds.slice());function d(t){var e=r.getTransform(i.handles[t].parent,this.group),s=r.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+b,u=r.applyTransform([h[t]+(0===t?-l:l),this._size[1]/2],e);n[t].setStyle({x:u[0],y:u[1],textVerticalAlign:a===x?"middle":s,textAlign:a===x?s:"center",text:o[t]})}d.call(this,0),d.call(this,1)},_formatLabel:function(t,e){var i=this.dataZoomModel,a=i.get("labelFormatter"),r=i.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(r,20));return n.isFunction(a)?a(t,o):n.isString(a)?a.replace("{value}",o):o},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,i,n){this._dragging=!0,a.stop(n.event);var o=this._displayables.barGroup.getLocalTransform(),s=r.applyTransform([e,i],o,!0),l=this._updateInterval(t,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var t=this.dataZoomModel.get("realtime");!t&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,i=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(i[0]<0||i[0]>e[0]||i[1]<0||i[1]>e[1])){var n=this._handleEnds,a=(n[0]+n[1])/2,r=this._updateInterval("all",i[0]-a);this._updateView(),r&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),(function(e){if(!t&&e.length){var i=e[0].model.coordinateSystem;t=i.getRect&&i.getRect()}})),!t){var e=this.api.getWidth(),i=this.api.getHeight();t={x:.2*e,y:.2*i,width:.6*e,height:.6*i}}return t}});function M(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function I(t){return"vertical"===t?"ns-resize":"ew-resize"}var T=S;t.exports=T},"237f":function(t,e,i){var n=i("6d8b"),a=i("6179"),r=i("7368"),o=i("31d9"),s=i("b1d4"),l=i("2039"),u=i("3301");function c(t,e,i,c,h){for(var d=new r(c),f=0;f "+x)),m++)}var _,b=i.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(t,i);else{var w=l.get(b),S=w&&"view"!==w.type&&w.dimensions||[];n.indexOf(S,"value")<0&&S.concat(["value"]);var M=s(t,{coordDimensions:S});_=new a(M,i),_.initData(t)}var I=new a(["value"],i);return I.initData(g,p),h&&h(_,I),o({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:I},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}t.exports=c},"23e0":function(t,e,i){var n=i("6d8b"),a=i("7887"),r=i("89e3"),o=i("3842"),s=i("697e"),l=s.getScaleExtent,u=s.niceScaleExtent,c=i("2039"),h=i("8c2a");function d(t,e,i){this._model=t,this.dimensions=[],this._indicatorAxes=n.map(t.getIndicatorModels(),(function(t,e){var i="indicator_"+e,n=new a(i,"log"===t.get("axisType")?new h:new r);return n.name=t.get("name"),n.model=t,t.axis=n,this.dimensions.push(i),n}),this),this.resize(t,i),this.cx,this.cy,this.r,this.r0,this.startAngle}d.prototype.getIndicatorAxes=function(){return this._indicatorAxes},d.prototype.dataToPoint=function(t,e){var i=this._indicatorAxes[e];return this.coordToPoint(i.dataToCoord(t),e)},d.prototype.coordToPoint=function(t,e){var i=this._indicatorAxes[e],n=i.angle,a=this.cx+t*Math.cos(n),r=this.cy-t*Math.sin(n);return[a,r]},d.prototype.pointToData=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=Math.sqrt(e*e+i*i);e/=n,i/=n;for(var a,r=Math.atan2(-i,e),o=1/0,s=-1,l=0;li[0]&&isFinite(g)&&isFinite(i[0]))}else{var f=a.getTicks().length-1;f>r&&(d=s(d));var p=Math.ceil(i[1]/d)*d,g=o.round(p-d*r);a.setExtent(g,p),a.setInterval(d)}}))},d.dimensions=[],d.create=function(t,e){var i=[];return t.eachComponent("radar",(function(n){var a=new d(n,t,e);i.push(a),n.coordinateSystem=a})),t.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])})),i},c.register("radar",d);var f=d;t.exports=f},"23ee":function(t,e,i){var n=i("3eba");i("879e"),i("9704"),i("d747");var a=i("675a"),r=i("7f96"),o=i("2943"),s=i("de6e"),l=i("d357"),u=i("adda"),c=i("5866"),h=i("7b0c");n.registerProcessor(a),n.registerVisual(r("graph","circle",null)),n.registerVisual(o),n.registerVisual(s),n.registerLayout(l),n.registerLayout(n.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),n.registerLayout(c),n.registerCoordinateSystem("graphView",{create:h})},2449:function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),r=i("6d8b"),o=i("22d1"),s=i("e0d3"),l=i("eda2"),u=i("38a2"),c=l.addCommas,h=l.encodeHTML;function d(t){s.defaultEmphasis(t,"label",["show"])}var f=a.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,i){this.mergeDefaultAndTheme(t,i),this._mergeOption(t,i,!1,!0)},isAnimationEnabled:function(){if(o.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e){this._mergeOption(t,e,!1,!1)},_mergeOption:function(t,e,i,n){var a=this.constructor,o=this.mainType+"Model";i||e.eachSeries((function(t){var i=t.get(this.mainType,!0),s=t[o];i&&i.data?(s?s._mergeOption(i,e,!0):(n&&d(i),r.each(i.data,(function(t){t instanceof Array?(d(t[0]),d(t[1])):d(t)})),s=new a(i,this,e),r.extend(s,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[o]=s):t[o]=null}),this)},formatTooltip:function(t,e,i,n){var a=this.getData(),o=this.getRawValue(t),s=r.isArray(o)?r.map(o,c).join(", "):c(o),l=a.getName(t),u=h(this.name),d="html"===n?"
":"\n";return(null!=o||l)&&(u+=d),l&&(u+=h(l),null!=o&&(u+=" : ")),null!=o&&(u+=h(s)),u},getData:function(){return this._data},setData:function(t){this._data=t}});r.mixin(f,u);var p=f;t.exports=p},"24b9e":function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("f934")),r=i("3842"),o=r.parsePercent,s=r.linearMap;function l(t,e){return a.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function u(t,e){for(var i=t.mapDimension("value"),n=t.mapArray(i,(function(t){return t})),a=[],r="ascending"===e,o=0,s=t.count();o=0||a&&n.indexOf(a,s)<0)){var l=e.getShallow(s);null!=l&&(r[t[o][0]]=l)}}return r}}t.exports=a},"292e":function(t,e,i){var n=i("3842"),a=n.parsePercent,r=n.linearMap,o=i("f934"),s=i("bb70c"),l=i("6d8b"),u=2*Math.PI,c=Math.PI/180;function h(t,e){return o.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function d(t,e,i,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),n=e.mapDimension("value"),o=h(t,i),d=t.get("center"),f=t.get("radius");l.isArray(f)||(f=[0,f]),l.isArray(d)||(d=[d,d]);var p=a(o.width,i.getWidth()),g=a(o.height,i.getHeight()),m=Math.min(p,g),v=a(d[0],p)+o.x,y=a(d[1],g)+o.y,x=a(f[0],m/2),_=a(f[1],m/2),b=-t.get("startAngle")*c,w=t.get("minAngle")*c,S=0;e.each(n,(function(t){!isNaN(t)&&S++}));var M=e.getSum(n),I=Math.PI/(M||S)*2,T=t.get("clockwise"),A=t.get("roseType"),C=t.get("stillShowZeroSum"),D=e.getDataExtent(n);D[0]=0;var L=u,P=0,k=b,O=T?1:-1;if(e.each(n,(function(t,i){var n;if(isNaN(t))e.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:T,cx:v,cy:y,r0:x,r:A?NaN:_,viewRect:o});else{n="area"!==A?0===M&&C?I:t*I:u/S,n0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},set:function(t,e){"string"===typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,i){for(var n="radial"===e.type?u:l,a=n(t,e,i),r=e.colorStops,o=0;o=4&&(u={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(u&&null!=o&&null!=l&&(c=G(u,o,l),!e.ignoreViewBox)){var f=a;a=new n,a.add(f),f.scale=c.scale.slice(),f.position=c.position.slice()}return e.ignoreRootClip||null==o||null==l||a.setClipPath(new s({shape:{x:0,y:0,width:o,height:l}})),{root:a,width:o,height:l,viewBoxRect:u,viewBoxTransform:c}},T.prototype._parseNode=function(t,e){var i,n=t.nodeName.toLowerCase();if("defs"===n?this._isDefine=!0:"text"===n&&(this._isText=!0),this._isDefine){var a=C[n];if(a){var r=a.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=r)}}else{a=A[n];a&&(i=a.call(this,t,e),e.add(i))}var s=t.firstChild;while(s)1===s.nodeType&&this._parseNode(s,i),3===s.nodeType&&this._isText&&this._parseText(s,i),s=s.nextSibling;"defs"===n?this._isDefine=!1:"text"===n&&(this._isText=!1)},T.prototype._parseText=function(t,e){if(1===t.nodeType){var i=t.getAttribute("dx")||0,n=t.getAttribute("dy")||0;this._textX+=parseFloat(i),this._textY+=parseFloat(n)}var a=new r({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});L(e,a),O(t,a,this._defs);var o=a.style.fontSize;o&&o<9&&(a.style.fontSize=9,a.scale=a.scale||[1,1],a.scale[0]*=o/9,a.scale[1]*=o/9);var s=a.getBoundingRect();return this._textX+=s.width,e.add(a),a};var A={g:function(t,e){var i=new n;return L(e,i),O(t,i,this._defs),i},rect:function(t,e){var i=new s;return L(e,i),O(t,i,this._defs),i.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),i},circle:function(t,e){var i=new o;return L(e,i),O(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),i},line:function(t,e){var i=new u;return L(e,i),O(t,i,this._defs),i.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),i},ellipse:function(t,e){var i=new l;return L(e,i),O(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),i},polygon:function(t,e){var i=t.getAttribute("points");i&&(i=P(i));var n=new h({shape:{points:i||[]}});return L(e,n),O(t,n,this._defs),n},polyline:function(t,e){var i=new c;L(e,i),O(t,i,this._defs);var n=t.getAttribute("points");n&&(n=P(n));var a=new d({shape:{points:n||[]}});return a},image:function(t,e){var i=new a;return L(e,i),O(t,i,this._defs),i.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),i},text:function(t,e){var i=t.getAttribute("x")||0,a=t.getAttribute("y")||0,r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(r),this._textY=parseFloat(a)+parseFloat(o);var s=new n;return L(e,s),O(t,s,this._defs),s},tspan:function(t,e){var i=t.getAttribute("x"),a=t.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=a&&(this._textY=parseFloat(a));var r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0,s=new n;return L(e,s),O(t,s,this._defs),this._textX+=r,this._textY+=o,s},path:function(t,e){var i=t.getAttribute("d")||"",n=v(i);return L(e,n),O(t,n,this._defs),n}},C={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),i=parseInt(t.getAttribute("y1")||0,10),n=parseInt(t.getAttribute("x2")||10,10),a=parseInt(t.getAttribute("y2")||0,10),r=new f(e,i,n,a);return D(t,r),r},radialgradient:function(t){}};function D(t,e){var i=t.firstChild;while(i){if(1===i.nodeType){var n=i.getAttribute("offset");n=n.indexOf("%")>0?parseInt(n,10)/100:n?parseFloat(n):0;var a=i.getAttribute("stop-color")||"#000000";e.addColorStop(n,a)}i=i.nextSibling}}function L(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),b(e.__inheritedStyle,t.__inheritedStyle))}function P(t){for(var e=w(t).split(M),i=[],n=0;n0;r-=2){var o=a[r],s=a[r-1];switch(n=n||g.create(),s){case"translate":o=w(o).split(M),g.translate(n,n,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=w(o).split(M),g.scale(n,n,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=w(o).split(M),g.rotate(n,n,parseFloat(o[0]));break;case"skew":o=w(o).split(M);break;case"matrix":o=w(o).split(M);n[0]=parseFloat(o[0]),n[1]=parseFloat(o[1]),n[2]=parseFloat(o[2]),n[3]=parseFloat(o[3]),n[4]=parseFloat(o[4]),n[5]=parseFloat(o[5]);break}}e.setLocalTransform(n)}}var B=/([^\s:;]+)\s*:\s*([^:;]+)/g;function V(t){var e=t.getAttribute("style"),i={};if(!e)return i;var n,a={};B.lastIndex=0;while(null!=(n=B.exec(e)))a[n[1]]=n[2];for(var r in k)k.hasOwnProperty(r)&&null!=a[r]&&(i[k[r]]=a[r]);return i}function G(t,e,i){var n=e/t.width,a=i/t.height,r=Math.min(n,a),o=[r,r],s=[-(t.x+t.width/2)*r+e/2,-(t.y+t.height/2)*r+i/2];return{scale:o,position:s}}function F(t,e){var i=new T;return i.parse(t,e)}e.parseXML=I,e.makeViewBoxTransform=G,e.parseSVG=F},"307a":function(t,e,i){var n=i("6d8b"),a=i("eaea"),r=i("3842"),o=[20,140],s=a.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=o[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=o[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):n.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){a.prototype.completeVisualOption.apply(this,arguments),n.each(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)}),this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=r.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=i[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),(function(e,i){t[0]<=e&&e<=t[1]&&n.push(i)}),this),e.push({seriesId:i.id,dataIndex:n})}),this),e},getVisualMeta:function(t){var e=l(this,"outOfRange",this.getExtent()),i=l(this,"inRange",this.option.range.slice()),n=[];function a(e,i){n.push({value:e,color:t(e,i)})}for(var r=0,o=0,s=i.length,u=e.length;o=0&&"number"===typeof u&&(u=+u.toFixed(Math.min(v,20))),g.coord[f]=m.coord[f]=u,a=[g,m,{type:s,valueIndex:a.valueIndex,value:u}]}return a=[o.dataTransform(t,a[0]),o.dataTransform(t,a[1]),n.extend({},a[2])],a[2].type=a[2].type||"",n.merge(a[2],a[0]),n.merge(a[2],a[1]),a};function d(t){return!isNaN(t)&&!isFinite(t)}function f(t,e,i,n){var a=1-t,r=n.dimensions[t];return d(e[a])&&d(i[a])&&e[t]===i[t]&&n.getAxis(r).containData(e[t])}function p(t,e){if("cartesian2d"===t.type){var i=e[0].coord,n=e[1].coord;if(i&&n&&(f(1,i,n,t)||f(0,i,n,t)))return!0}return o.dataFilter(t,e[0])&&o.dataFilter(t,e[1])}function g(t,e,i,n,a){var o,s=n.coordinateSystem,l=t.getItemModel(e),u=r.parsePercent(l.get("x"),a.getWidth()),c=r.parsePercent(l.get("y"),a.getHeight());if(isNaN(u)||isNaN(c)){if(n.getMarkerPosition)o=n.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=s.dimensions,f=t.get(h[0],e),p=t.get(h[1],e);o=s.dataToPoint([f,p])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");h=s.dimensions;d(t.get(h[0],e))?o[0]=g.toGlobalCoord(g.getExtent()[i?0:1]):d(t.get(h[1],e))&&(o[1]=m.toGlobalCoord(m.getExtent()[i?0:1]))}isNaN(u)||(o[0]=u),isNaN(c)||(o[1]=c)}else o=[u,c];t.setItemLayout(e,o)}var m=l.extend({type:"markLine",updateTransform:function(t,e,i){e.eachSeries((function(t){var e=t.markLineModel;if(e){var n=e.getData(),a=e.__from,r=e.__to;a.each((function(e){g(a,e,!0,t,i),g(r,e,!1,t,i)})),n.each((function(t){n.setItemLayout(t,[a.getItemLayout(t),r.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},renderSeries:function(t,e,i,a){var r=t.coordinateSystem,o=t.id,l=t.getData(),u=this.markerGroupMap,c=u.get(o)||u.set(o,new s);this.group.add(c.group);var h=v(r,t,e),d=h.from,f=h.to,p=h.line;e.__from=d,e.__to=f,e.setData(p);var m=e.get("symbol"),y=e.get("symbolSize");function x(e,i,n){var r=e.getItemModel(i);g(e,i,n,t,a),e.setItemVisual(i,{symbolRotate:r.get("symbolRotate"),symbolSize:r.get("symbolSize")||y[n?0:1],symbol:r.get("symbol",!0)||m[n?0:1],color:r.get("itemStyle.color")||l.getVisual("color")})}n.isArray(m)||(m=[m,m]),"number"===typeof y&&(y=[y,y]),h.from.each((function(t){x(d,t,!0),x(f,t,!1)})),p.each((function(t){var e=p.getItemModel(t).get("lineStyle.color");p.setItemVisual(t,{color:e||d.getItemVisual(t,"color")}),p.setItemLayout(t,[d.getItemLayout(t),f.getItemLayout(t)]),p.setItemVisual(t,{fromSymbolRotate:d.getItemVisual(t,"symbolRotate"),fromSymbolSize:d.getItemVisual(t,"symbolSize"),fromSymbol:d.getItemVisual(t,"symbol"),toSymbolRotate:f.getItemVisual(t,"symbolRotate"),toSymbolSize:f.getItemVisual(t,"symbolSize"),toSymbol:f.getItemVisual(t,"symbol")})})),c.updateData(p),h.line.eachItemGraphicEl((function(t,i){t.traverse((function(t){t.dataModel=e}))})),c.__keep=!0,c.group.silent=e.get("silent")||t.get("silent")}});function v(t,e,i){var r;r=t?n.map(t&&t.dimensions,(function(t){var i=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return n.defaults({name:t},i)})):[{name:"value",type:"float"}];var s=new a(r,i),l=new a(r,i),u=new a([],i),c=n.map(i.get("data"),n.curry(h,e,t,i));t&&(c=n.filter(c,n.curry(p,t)));var d=t?o.dimValueGetter:function(t){return t.value};return s.initData(n.map(c,(function(t){return t[0]})),null,d),l.initData(n.map(c,(function(t){return t[1]})),null,d),u.initData(n.map(c,(function(t){return t[2]}))),u.hasItemOption=!0,{from:s,to:l,line:u}}t.exports=m},"30a3":function(t,e,i){var n=i("6d8b"),a=i("607d"),r=a.Dispatcher,o=i("98b7"),s=i("06ad"),l=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,r.call(this)};l.prototype={constructor:l,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),i=0;i=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(o[1]-o[0])+o[0],c=Math.max(1/n.scale,0);o[0]=(o[0]-u)*c+u,o[1]=(o[1]-u)*c+u;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return r(0,o,[0,100],0,d.minSpan,d.maxSpan),this._range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}},pan:c((function(t,e,i,n,a,r){var o=h[n]([r.oldX,r.oldY],[r.newX,r.newY],e,a,i);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength})),scrollMove:c((function(t,e,i,n,a,r){var o=h[n]([0,0],[r.scrollDelta,r.scrollDelta],e,a,i);return o.signal*(t[1]-t[0])*r.scrollDelta}))};function c(t){return function(e,i,n,a){var o=this._range,s=o.slice(),l=e.axisModels[0];if(l){var u=t(s,l,e,i,n,a);return r(u,s,[0,100],"all"),this._range=s,o[0]!==s[0]||o[1]!==s[1]?s:void 0}}}var h={grid:function(t,e,i,n,a){var r=i.axis,o={},s=a.model.coordinateSystem.getRect();return t=t||[0,0],"x"===r.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=r.inverse?-1:1),o},polar:function(t,e,i,n,a){var r=i.axis,o={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===i.mainType?(o.pixel=e[0]-t[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=r.inverse?-1:1),o},singleAxis:function(t,e,i,n,a){var r=i.axis,o=a.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===r.orient?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=r.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=r.inverse?-1:1),s}},d=l;t.exports=d},3301:function(t,e,i){var n=i("6d8b"),a=i("6179"),r=i("b1d4"),o=i("93d0"),s=o.SOURCE_FORMAT_ORIGINAL,l=i("2f45"),u=l.getDimensionTypeByAxis,c=i("e0d3"),h=c.getDataItemValue,d=i("2039"),f=i("8b7f"),p=f.getCoordSysInfoBySeries,g=i("ec6f"),m=i("ee1a"),v=m.enableDataStack,y=i("0f99"),x=y.makeSeriesEncodeForAxisCoordSys;function _(t,e,i){i=i||{},g.isInstance(t)||(t=g.seriesDataToSource(t));var o,s=e.get("coordinateSystem"),l=d.get(s),c=p(e);c&&(o=n.map(c.coordSysDims,(function(t){var e={name:t},i=c.axisMap.get(t);if(i){var n=i.get("type");e.type=u(n)}return e}))),o||(o=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var h,f,m=r(t,{coordDimensions:o,generateCoord:i.generateCoord,encodeDefaulter:i.useEncodeDefaulter?n.curry(x,o,e):null});c&&n.each(m,(function(t,e){var i=t.coordDim,n=c.categoryAxisMap.get(i);n&&(null==h&&(h=e),t.ordinalMeta=n.getOrdinalMeta()),null!=t.otherDims.itemName&&(f=!0)})),f||null==h||(m[h].otherDims.itemName=0);var y=v(e,m),_=new a(m,e);_.setCalculationInfo(y);var w=null!=h&&b(t)?function(t,e,i,n){return n===h?i:this.defaultDimValueGetter(t,e,i,n)}:null;return _.hasItemOption=!1,_.initData(t,null,w),_}function b(t){if(t.sourceFormat===s){var e=w(t.data||[]);return null!=e&&!n.isArray(h(e))}}function w(t){var e=0;while(e0?1:o<0?-1:0}function x(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function _(t,e,i,n,r,o,s,l,c,h){var d=c.valueDim,f=c.categoryDim,p=Math.abs(i[f.wh]),g=t.getItemVisual(e,"symbolSize");a.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[f.index]=u(g[f.index],p),g[d.index]=u(g[d.index],n?p:Math.abs(o)),h.symbolSize=g;var m=h.symbolScale=[g[0]/l,g[1]/l];m[d.index]*=(c.isHorizontal?-1:1)*s}function b(t,e,i,n,a){var r=t.get(f)||0;r&&(g.attr({scale:e.slice(),rotation:i}),g.updateTransform(),r/=g.getLineScale(),r*=e[n.valueDim.index]),a.valueLineWidth=r}function w(t,e,i,n,r,o,s,l,h,d,f,p){var g=f.categoryDim,m=f.valueDim,v=p.pxSign,y=Math.max(e[m.index]+l,0),x=y;if(n){var _=Math.abs(h),b=a.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=u(b,e[m.index]);var S=Math.max(y+2*b,0),M=w?0:2*b,I=c(n),T=I?n:V((_+M)/S),A=_-T*y;b=A/2/(w?T:T-1),S=y+2*b,M=w?0:2*b,I||"fixed"===n||(T=d?V((Math.abs(d)+M)/S):0),x=T*S-M,p.repeatTimes=T,p.symbolMargin=b}var C=v*(x/2),D=p.pathPosition=[];D[g.index]=i[g.wh]/2,D[m.index]="start"===s?C:"end"===s?h-C:h/2,o&&(D[0]+=o[0],D[1]+=o[1]);var L=p.bundlePosition=[];L[g.index]=i[g.xy],L[m.index]=i[m.xy];var P=p.barRectShape=a.extend({},i);P[m.wh]=v*Math.max(Math.abs(i[m.wh]),Math.abs(D[m.index]+C)),P[g.wh]=i[g.wh];var k=p.clipShape={};k[g.xy]=-i[g.xy],k[g.wh]=f.ecSize[g.wh],k[m.xy]=0,k[m.wh]=i[m.wh]}function S(t){var e=t.symbolPatternSize,i=s(t.symbolType,-e/2,-e/2,e,e,t.color);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function M(t,e,i,n){var a=t.__pictorialBundle,r=i.symbolSize,o=i.valueLineWidth,s=i.pathPosition,l=e.valueDim,u=i.repeatTimes||0,c=0,h=r[e.valueDim.index]+o+2*i.symbolMargin;for(N(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c0:n<0)&&(a=u-1-t),e[l.index]=h*(a-u/2+.5)+s[l.index],{position:e,scale:i.symbolScale.slice(),rotation:i.rotation}}function g(){N(t,(function(t){t.trigger("emphasis")}))}function m(){N(t,(function(t){t.trigger("normal")}))}}function I(t,e,i,n){var a=t.__pictorialBundle,r=t.__pictorialMainPath;function o(){this.trigger("emphasis")}function s(){this.trigger("normal")}r?z(r,null,{position:i.pathPosition.slice(),scale:i.symbolScale.slice(),rotation:i.rotation},i,n):(r=t.__pictorialMainPath=S(i),a.add(r),z(r,{position:i.pathPosition.slice(),scale:[0,0],rotation:i.rotation},{scale:i.symbolScale.slice()},i,n),r.on("mouseover",o).on("mouseout",s)),P(r,i)}function T(t,e,i){var n=a.extend({},e.barRectShape),o=t.__pictorialBarRect;o?z(o,null,{shape:n},e,i):(o=t.__pictorialBarRect=new r.Rect({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(o))}function A(t,e,i,n){if(i.symbolClip){var o=t.__pictorialClipPath,s=a.extend({},i.clipShape),l=e.valueDim,u=i.animationModel,c=i.dataIndex;if(o)r.updateProps(o,{shape:s},u,c);else{s[l.wh]=0,o=new r.Rect({shape:s}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var h={};h[l.wh]=i.clipShape[l.wh],r[n?"updateProps":"initProps"](o,{shape:h},u,c)}}}function C(t,e){var i=t.getItemModel(e);return i.getAnimationDelayParams=D,i.isAnimationEnabled=L,i}function D(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function L(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function P(t,e){t.off("emphasis").off("normal");var i=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",(function(){this.animateTo({scale:[1.1*i[0],1.1*i[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:i.slice()},400,"elasticOut")}))}function k(t,e,i,n){var a=new r.Group,o=new r.Group;return a.add(o),a.__pictorialBundle=o,o.attr("position",i.bundlePosition.slice()),i.symbolRepeat?M(a,e,i):I(a,e,i),T(a,i,n),A(a,e,i,n),a.__pictorialShapeStr=E(t,i),a.__pictorialSymbolMeta=i,a}function O(t,e,i){var n=i.animationModel,a=i.dataIndex,o=t.__pictorialBundle;r.updateProps(o,{position:i.bundlePosition.slice()},n,a),i.symbolRepeat?M(t,e,i,!0):I(t,e,i,!0),T(t,i,!0),A(t,e,i,!0)}function R(t,e,i,n){var o=n.__pictorialBarRect;o&&(o.style.text=null);var s=[];N(n,(function(t){s.push(t)})),n.__pictorialMainPath&&s.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),a.each(s,(function(t){r.updateProps(t,{scale:[0,0]},i,e,(function(){n.parent&&n.parent.remove(n)}))})),t.setItemGraphicEl(e,null)}function E(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function N(t,e,i){a.each(t.__pictorialBundle.children(),(function(n){n!==t.__pictorialBarRect&&e.call(i,n)}))}function z(t,e,i,n,a,o){e&&t.attr(e),n.symbolClip&&!a?i&&t.attr(i):i&&r[a?"updateProps":"initProps"](t,i,n.animationModel,n.dataIndex,o)}function B(t,e,i){var n=i.color,o=i.dataIndex,s=i.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),c=s.getShallow("cursor");N(t,(function(t){t.setColor(n),t.setStyle(a.defaults({fill:n,opacity:i.opacity},l)),r.setHoverStyle(t,u),c&&(t.cursor=c),t.z2=i.z2}));var h={},f=e.valueDim.posDesc[+(i.boundingLength>0)],p=t.__pictorialBarRect;d(p.style,h,s,n,e.seriesModel,o,f),r.setHoverStyle(p,h)}function V(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var G=m;t.exports=G},"340d":function(t,e,i){var n=i("6d8b"),a=i("e887"),r=i("4e47"),o=i("80f0"),s=i("eda2"),l=s.windowOpen,u="sunburstRootToNode",c=a.extend({type:"sunburst",init:function(){},render:function(t,e,i,a){var s=this;this.seriesModel=t,this.api=i,this.ecModel=e;var l=t.getData(),u=l.tree.root,c=t.getViewRoot(),h=this.group,d=t.get("renderLabelForZeroData"),f=[];c.eachNode((function(t){f.push(t)}));var p=this._oldChildren||[];if(v(f,p),_(u,c),a&&a.highlight&&a.highlight.piece){var g=t.getShallow("highlightPolicy");a.highlight.piece.onEmphasis(g)}else if(a&&a.unhighlight){var m=this.virtualPiece;!m&&u.children.length&&(m=u.children[0].piece),m&&m.onNormal()}function v(t,e){function i(t){return t.getId()}function a(i,n){var a=null==i?null:t[i],r=null==n?null:e[n];y(a,r)}0===t.length&&0===e.length||new o(e,t,i,i).add(a).update(a).remove(n.curry(a,null)).execute()}function y(i,n){if(d||!i||i.getValue()||(i=null),i!==u&&n!==u)if(n&&n.piece)i?(n.piece.updateData(!1,i,"normal",t,e),l.setItemGraphicEl(i.dataIndex,n.piece)):x(n);else if(i){var a=new r(i,t,e);h.add(a),l.setItemGraphicEl(i.dataIndex,a)}}function x(t){t&&t.piece&&(h.remove(t.piece),t.piece=null)}function _(i,n){if(n.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,i,"normal",t,e):(s.virtualPiece=new r(i,t,e),h.add(s.virtualPiece)),n.piece._onclickEvent&&n.piece.off("click",n.piece._onclickEvent);var a=function(t){s._rootToNode(n.parentNode)};n.piece._onclickEvent=a,s.virtualPiece.on("click",a)}else s.virtualPiece&&(h.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=f},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var i=!1,n=t.seriesModel.getViewRoot();n.eachNode((function(n){if(!i&&n.piece&&n.piece.childAt(0)===e.target){var a=n.getModel().get("nodeClick");if("rootToNode"===a)t._rootToNode(n);else if("link"===a){var r=n.getModel(),o=r.get("link");if(o){var s=r.get("target",!0)||"_blank";l(o,s)}}i=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:u,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var i=e.getData(),n=i.getItemLayout(0);if(n){var a=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(a*a+r*r);return o<=n.r&&o>=n.r0}}}),h=c;t.exports=h},"342d":function(t,e,i){var n=i("cbe5"),a=i("20c8"),r=i("ee84"),o=Math.sqrt,s=Math.sin,l=Math.cos,u=Math.PI,c=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},h=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(c(t)*c(e))},d=function(t,e){return(t[0]*e[1]1&&(c*=o(_),f*=o(_));var b=(a===r?-1:1)*o((c*c*(f*f)-c*c*(x*x)-f*f*(y*y))/(c*c*(x*x)+f*f*(y*y)))||0,w=b*c*x/f,S=b*-f*y/c,M=(t+i)/2+l(v)*w-s(v)*S,I=(e+n)/2+s(v)*w+l(v)*S,T=d([1,0],[(y-w)/c,(x-S)/f]),A=[(y-w)/c,(x-S)/f],C=[(-1*y-w)/c,(-1*x-S)/f],D=d(A,C);h(A,C)<=-1&&(D=u),h(A,C)>=1&&(D=0),0===r&&D>0&&(D-=2*u),1===r&&D<0&&(D+=2*u),m.addData(g,M,I,c,f,T,D,v,r)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function m(t){if(!t)return new a;for(var e,i=0,n=0,r=i,o=n,s=new a,l=a.CMD,u=t.match(p),c=0;ca){var o=r*e.width,l=(o-e.height)/2,u=e.minY-l;u<0&&(u=0);e.maxY;t.drawImage(this.cacheCanvas,e.minX,u,e.width,o,0,0,this.width,this.height)}else{var c=e.height/r,h=(c-e.width)/2,d=e.minX-h;t.drawImage(this.cacheCanvas,d,e.minY,c,e.height,0,0,this.width,this.height)}}function f(t){if(!(e.width>t||e.height>t)){var a=e.height/e.width,r=e.width,o=e.height;if(a>1){var s=t/e.height;r=s*e.width,o=t}else{var l=t/e.width;r=t,o=l*e.height}var u=(r-e.width)/2;e.minX-=u;var c=!1;e.minX<0&&(e.minX=0,e.maxX=r,c=!0),c||(e.maxX+=u,e.maxX>i&&(e.maxX=i,e.minX=e.maxX-r));var h=(o-e.height)/2;e.minY-=h,c=!1,e.minY<0&&(e.minY=0,e.maxY=o,c=!0),c||(e.maxY+=h,e.maxY>n&&(e.maxY=n,e.minY=e.maxY-o)),e.width=r,e.height=o}}},renderToCache:function(t){this.cacheCanvas||(this.cacheCanvas=document.createElement("canvas"));var e=this.cacheCanvas,i=this.imageData.width,n=this.imageData.height;e.width=i,e.height=n;var a=e.getContext("2d");a.fillStyle="green",a.fillRect(0,0,i,n),this.canvasImg&&a.drawImage(this.canvasImg,0,0,i,n);var r={minX:i,maxX:0,minY:n,maxY:0};if(0==this.mapLeaderData.length&&0==this.mapPilotData.length&&!this.leader||this.leader&&0==this.mapLeaderData.length)return r.minX=r.minY=0,r.maxX=r.minX+i,r.maxY=r.minY+n,r.width=i,r.height=n,void(this.wrapbox=r);var o=this;function s(t,e){a.lineWidth=2,a.beginPath(),a.strokeStyle=e,t.map((function(t,e){var s=!0;t.forEach((function(t,e){var l=o.longtitude2px(t.longtitude),u=o.latitude2px(t.latitude);l<0||l>i||u<0||u>n||(lr.maxX&&(r.maxX=l),ur.maxY&&(r.maxY=u),s?(a.moveTo(l,u),s=!1):a.lineTo(l,u))})),a.stroke()}))}s(this.mapLeaderData,"#2cfefe"),s(this.mapPilotData,"#3aa1fc"),r.width=r.maxX-r.minX,r.height=r.maxY-r.minY,r.width<4&&r.height<4&&(r.minX=r.minY=0,r.maxX=r.minX+i,r.maxY=r.minY+n,r.width=i,r.height=n),this.wrapbox=r},updateLeader:function(t,e){var i=this;this.mapID=t,this.mapLeaderData=e||[],this.mapPilotData=[];var n=r["a"].filter((function(t){return t.id==i.mapID}));if(this.imageData=n[0],this.imageData){this.initlonlatScale();var a=new Image,o=this;a.onload=function(){o.renderToCache(!0),o.render()},a.src=this.imageData.url,this.canvasImg=a}else alert("找不到场景ID:".concat(this.mapID,"的配置"))},update:function(t,e,i){var n=this;this.mapID=t,this.mapLeaderData=e||[],this.mapPilotData=i||[];var a=r["a"].filter((function(t){return t.id==n.mapID}));if(this.imageData=a[0],this.imageData){this.initlonlatScale();var o=new Image,s=this;o.onload=function(){s.renderToCache(),s.render()},o.src=this.imageData.url,this.canvasImg=o,this.renderToCache()}else alert("找不到场景ID:".concat(this.mapID,"的配置"))},initlonlatScale:function(){var t=this.imageData,e=t.rightTop.lon-t.leftBottom.lon,i=t.rightTop.lat-t.leftBottom.lat;e=t.width/e,i=t.height/i,this.lonlatScale={wScale:e,hScale:i}},formatAllData:function(){var t=this,e=this.origin,i=this.scale,n=this.mapLeaderData,a=this.mapPilotData;n.length>0&&n.map((function(n,a){n.forEach((function(n){var a=t.lonlatToPX(n.longtitude,"lon"),r=t.lonlatToPX(n.latitude,"lat");a=Math.abs(a-e.x)*i.scaleX,r=Math.abs(r-e.y)*i.scaleY,n.x=a,n.y=r}))})),this.leaderCanvasData=n,a.length>0&&(a.map((function(n,a){n.forEach((function(n){var a=t.lonlatToPX(n.longtitude,"lon"),r=t.lonlatToPX(n.latitude,"lat");a=Math.abs(a-e.x)*i.scaleX,r=Math.abs(r-e.y)*i.scaleY,n.x=a,n.y=r}))})),this.pilotCanvasData=a),this.drawLineCanvas()},drawLineCanvas:function(){var t=this.$refs.mapCanvas;t.width=this.width,t.height=this.height,t=t.getContext("2d");var e=this.leaderCanvasData,i=this.pilotCanvasData;0==e.length&&0==i.length?t.drawImage(this.canvasImg,0,0,this.imageData.width,this.imageData.height,0,0,this.width,this.height):t.drawImage(this.canvasImg,this.origin.x,this.origin.y,this.lineCanvas.width,this.lineCanvas.height,0,0,this.width,this.height),t.lineWidth=2,e.length>0&&(t.beginPath(),t.strokeStyle="#2cfefe",e.map((function(e,i){e.map((function(e,i){0==i?t.moveTo(e.x,e.y):t.lineTo(e.x,e.y)}))})),t.stroke()),i.length>0&&(t.beginPath(),t.strokeStyle="#3aa1fc",i.map((function(e,i){e.map((function(e,i){0==i?t.moveTo(e.x,e.y):t.lineTo(e.x,e.y)}))})),t.stroke())},getSortArrData:function(t){var e=-180,i=-180,n=180,a=180;return t.forEach((function(t){t.forEach((function(t){t.longtitude>e&&(e=t.longtitude),t.latitude>i&&(i=t.latitude),t.longtitude=0||"+"===i?"left":"right"},c={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:y/2},d="vertical"===n?a.height:a.width,f=t.getModel("controlStyle"),p=f.get("show",!0),g=p?f.get("itemSize"):0,m=p?f.get("itemGap"):0,v=g+m,x=t.get("label.rotate")||0;x=x*y/180;var b=f.get("position",!0),w=p&&f.get("showPlayBtn",!0),S=p&&f.get("showPrevBtn",!0),M=p&&f.get("showNextBtn",!0),I=0,T=d;return"left"===b||"bottom"===b?(w&&(r=[0,0],I+=v),S&&(o=[I,0],I+=v),M&&(s=[T-g,0],T-=v)):(w&&(r=[T-g,0],T-=v),S&&(o=[0,0],I+=v),M&&(s=[T-g,0],T-=v)),l=[I,T],t.get("inverse")&&l.reverse(),{viewRect:a,mainLength:d,orient:n,rotation:h[n],labelRotation:x,labelPosOpt:i,labelAlign:t.get("label.align")||u[n],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||c[n],playPosition:r,prevBtnPosition:o,nextBtnPosition:s,axisExtent:l,controlSize:g,controlGap:m}},_position:function(t,e){var i=this._mainGroup,n=this._labelGroup,a=t.viewRect;if("vertical"===t.orient){var o=r.create(),s=a.x,l=a.y+a.height;r.translate(o,o,[-s,-l]),r.rotate(o,o,-y/2),r.translate(o,o,[s,l]),a=a.clone(),a.applyTransform(o)}var u=v(a),c=v(i.getBoundingRect()),h=v(n.getBoundingRect()),d=i.position,f=n.position;f[0]=d[0]=u[0][0];var p=t.labelPosOpt;if(isNaN(p)){var g="+"===p?0:1;x(d,c,u,1,g),x(f,h,u,1,1-g)}else{g=p>=0?0:1;x(d,c,u,1,g),f[1]=d[1]+p}function m(t){var e=t.position;t.origin=[u[0][0]-e[0],u[1][0]-e[1]]}function v(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function x(t,e,i,n,a){t[n]+=i[n][a]-e[n][a]}i.attr("position",d),n.attr("position",f),i.rotation=n.rotation=t.rotation,m(i),m(n)},_createAxis:function(t,e){var i=e.getData(),n=e.get("axisType"),a=d.createScaleByModel(e,n);a.getTicks=function(){return i.mapArray(["value"],(function(t){return t}))};var r=i.getDataExtent("value");a.setExtent(r[0],r[1]),a.niceTicks();var o=new u("value",a,t.axisExtent,n);return o.model=e,o},_createGroup:function(t){var e=this["_"+t]=new o.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,i,a){var r=i.getExtent();a.get("lineStyle.show")&&e.add(new o.Line({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:n.extend({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,i,n){var a=n.getData(),r=i.scale.getTicks();v(r,(function(t){var r=i.dataToCoord(t),s=a.getItemModel(t),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[r,0],onclick:m(this._changeTimeline,this,t)},h=w(s,l,e,c);o.setHoverStyle(h,u.getItemStyle()),s.get("tooltip")?(h.dataIndex=t,h.dataModel=n):h.dataIndex=h.dataModel=null}),this)},_renderAxisLabel:function(t,e,i,n){var a=i.getLabelModel();if(a.get("show")){var r=n.getData(),s=i.getViewLabels();v(s,(function(n){var a=n.tickValue,s=r.getItemModel(a),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=i.dataToCoord(n.tickValue),h=new o.Text({position:[c,0],rotation:t.labelRotation-t.rotation,onclick:m(this._changeTimeline,this,a),silent:!1});o.setTextStyle(h.style,l,{text:n.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(h),o.setHoverStyle(h,o.setTextStyle({},u))}),this)}},_renderControl:function(t,e,i,n){var a=t.controlSize,r=t.rotation,s=n.getModel("controlStyle").getItemStyle(),l=n.getModel("emphasis.controlStyle").getItemStyle(),u=[0,-a/2,a,a],c=n.getPlayState(),h=n.get("inverse",!0);function d(t,i,c,h){if(t){var d={position:t,origin:[a/2,0],rotation:h?-r:0,rectHover:!0,style:s,onclick:c},f=b(n,i,u,d);e.add(f),o.setHoverStyle(f,l)}}d(t.nextBtnPosition,"controlStyle.nextIcon",m(this._changeTimeline,this,h?"-":"+")),d(t.prevBtnPosition,"controlStyle.prevIcon",m(this._changeTimeline,this,h?"+":"-")),d(t.playPosition,"controlStyle."+(c?"stopIcon":"playIcon"),m(this._handlePlayClick,this,!c),!0)},_renderCurrentPointer:function(t,e,i,n){var a=n.getData(),r=n.getCurrentIndex(),o=a.getItemModel(r).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=m(s._handlePointerDrag,s),t.ondragend=m(s._handlePointerDragend,s),S(t,r,i,n,!0)},onUpdate:function(t){S(t,r,i,n)}};this._currentPointer=w(o,o,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var i=this._toAxisCoord(t)[0],n=this._axis,a=f.asc(n.getExtent().slice());i>a[1]&&(i=a[1]),i0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/a*r+i[0]}function s(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return"string"===typeof t?r(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function l(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t}function u(t){return t.sort((function(t,e){return t-e})),t}function c(t){if(t=+t,isNaN(t))return 0;var e=1,i=0;while(Math.round(t*e)/e!==t)e*=10,i++;return i}function h(t){var e=t.toString(),i=e.indexOf("e");if(i>0){var n=+e.slice(i+1);return n<0?-n:0}var a=e.indexOf(".");return a<0?0:e.length-1-a}function d(t,e){var i=Math.log,n=Math.LN10,a=Math.floor(i(t[1]-t[0])/n),r=Math.round(i(Math.abs(e[1]-e[0]))/n),o=Math.min(Math.max(-a+r,0),20);return isFinite(o)?o:20}function f(t,e,i){if(!t[e])return 0;var a=n.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===a)return 0;var r=Math.pow(10,i),o=n.map(t,(function(t){return(isNaN(t)?0:t)/a*r*100})),s=100*r,l=n.map(o,(function(t){return Math.floor(t)})),u=n.reduce(l,(function(t,e){return t+e}),0),c=n.map(o,(function(t,e){return t-l[e]}));while(uh&&(h=c[f],d=f);++l[d],c[d]=0,++u}return l[e]/r}var p=9007199254740991;function g(t){var e=2*Math.PI;return(t%e+e)%e}function m(t){return t>-a&&t=10&&e++,e}function b(t,e){var i,n=_(t),a=Math.pow(10,n),r=t/a;return i=e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10,t=i*a,n>=-20?+t.toFixed(n<0?-n:0):t}function w(t,e){var i=(t.length-1)*e+1,n=Math.floor(i),a=+t[n-1],r=i-n;return r?a+r*(t[n]-a):a}function S(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,i=1,n=0;n=0}e.linearMap=o,e.parsePercent=s,e.round=l,e.asc=u,e.getPrecision=c,e.getPrecisionSafe=h,e.getPixelPrecision=d,e.getPercentWithPrecision=f,e.MAX_SAFE_INTEGER=p,e.remRadian=g,e.isRadianAroundZero=m,e.parseDate=y,e.quantity=x,e.quantityExponent=_,e.nice=b,e.quantile=w,e.reformIntervals=S,e.isNumeric=M},"38a2":function(t,e,i){var n=i("2b17"),a=n.retrieveRawValue,r=i("eda2"),o=r.getTooltipMarker,s=r.formatTpl,l=i("e0d3"),u=l.getTooltipRenderMode,c=/\{@(.+?)\}/g,h={getDataParams:function(t,e){var i=this.getData(e),n=this.getRawValue(t,e),a=i.getRawIndex(t),r=i.getName(t),s=i.getRawDataItem(t),l=i.getItemVisual(t,"color"),c=i.getItemVisual(t,"borderColor"),h=this.ecModel.getComponent("tooltip"),d=h&&h.get("renderMode"),f=u(d),p=this.mainType,g="series"===p,m=i.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:g?this.subType:null,seriesIndex:this.seriesIndex,seriesId:g?this.id:null,seriesName:g?this.name:null,name:r,dataIndex:a,data:s,dataType:e,value:n,color:l,borderColor:c,dimensionNames:m?m.dimensionNames:null,encode:m?m.encode:null,marker:o({color:l,renderMode:f}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,i,n,r){e=e||"normal";var o=this.getData(i),l=o.getItemModel(t),u=this.getDataParams(t,i);null!=n&&u.value instanceof Array&&(u.value=u.value[n]);var h=l.get("normal"===e?[r||"label","formatter"]:[e,r||"label","formatter"]);if("function"===typeof h)return u.status=e,u.dimensionIndex=n,h(u);if("string"===typeof h){var d=s(h,u);return d.replace(c,(function(e,i){var n=i.length;return"["===i.charAt(0)&&"]"===i.charAt(n-1)&&(i=+i.slice(1,n-1)),a(o,t,i)}))}},getRawValue:function(t,e){return a(this.getData(e),t)},formatTooltip:function(){}};t.exports=h},3901:function(t,e,i){var n=i("282b"),a=n([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),r={getLineStyle:function(t){var e=a(this,t);return e.lineDash=this.getLineDash(e.lineWidth),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),i=Math.max(t,2),n=4*t;return"solid"!==e&&null!=e&&("dashed"===e?[n,n]:[i,i])}};t.exports=r},"392f":function(t,e,i){var n=i("6d8b"),a=n.inherits,r=i("19eb"),o=i("9850");function s(t){r.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},s.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i0?100:20}},getFirstTargetAxisModel:function(){var t;return h((function(e){if(null==t){var i=this.get(e.axisIndex);i.length&&(t=this.dependentModels[e.axis][i[0]])}}),this),t},eachTargetAxis:function(t,e){var i=this.ecModel;h((function(n){c(this.get(n.axisIndex),(function(a){t.call(e,n,a,this,i)}),this)}),this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var i=this.getAxisProxy(t,e);return i&&i.getAxisModel()},setRawRange:function(t){var e=this.option,i=this.settledOption;c([["start","startValue"],["end","endValue"]],(function(n){null==t[n[0]]&&null==t[n[1]]||(e[n[0]]=i[n[0]]=t[n[0]],e[n[1]]=i[n[1]]=t[n[1]])}),this),p(this,t)},setCalculatedRange:function(t){var e=this.option;c(["start","startValue","end","endValue"],(function(i){e[i]=t[i]}))},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var i in e)if(e.hasOwnProperty(i)&&e[i].hostedBy(this))return e[i];for(var i in e)if(e.hasOwnProperty(i)&&!e[i].hostedBy(this))return e[i]},getRangePropMode:function(){return this._rangePropMode.slice()}});function f(t){var e={};return c(["start","end","startValue","endValue","throttle"],(function(i){t.hasOwnProperty(i)&&(e[i]=t[i])})),e}function p(t,e){var i=t._rangePropMode,n=t.get("rangeMode");c([["start","startValue"],["end","endValue"]],(function(t,a){var r=null!=e[t[0]],o=null!=e[t[1]];r&&!o?i[a]="percent":!r&&o?i[a]="value":n?i[a]=n[a]:r&&(i[a]="percent")}))}var g=d;t.exports=g},"3cd6":function(t,e,i){var n=i("6d8b"),a=i("48a9"),r=i("607d"),o=i("72b6"),s=i("2306"),l=i("3842"),u=i("ef6a"),c=i("cbb0"),h=i("e0d3"),d=l.linearMap,f=n.each,p=Math.min,g=Math.max,m=12,v=6,y=o.extend({type:"visualMap.continuous",init:function(){y.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,i,n){n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var i=t.get("text");this._renderEndsText(e,i,0),this._renderEndsText(e,i,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,i){if(e){var n=e[1-i];n=null!=n?n+"":"";var a=this.visualMapModel,r=a.get("textGap"),o=a.itemSize,l=this._shapes.barGroup,u=this._applyTransform([o[0]/2,0===i?-r:o[1]+r],l),c=this._applyTransform(0===i?"bottom":"top",l),h=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===h?"middle":c,textAlign:"horizontal"===h?c:"center",text:n,textFont:d.getFont(),textFill:d.getTextColor()}}))}},_renderBar:function(t){var e=this.visualMapModel,i=this._shapes,a=e.itemSize,r=this._orient,o=this._useHandle,s=c.getItemAlign(e,this.api,a),l=i.barGroup=this._createBarGroup(s);l.add(i.outOfRange=x()),l.add(i.inRange=x(null,o?M(this._orient):null,n.bind(this._dragHandle,this,"all",!1),n.bind(this._dragHandle,this,"all",!0)));var u=e.textStyleModel.getTextRect("国"),h=g(u.width,u.height);o&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(l,0,a,h,r,s),this._createHandle(l,1,a,h,r,s)),this._createIndicator(l,a,h,r),t.add(l)},_createHandle:function(t,e,i,a,o){var l=n.bind(this._dragHandle,this,e,!1),u=n.bind(this._dragHandle,this,e,!0),c=x(_(e,a),M(this._orient),l,u);c.position[0]=i[0],t.add(c);var h=this.visualMapModel.textStyleModel,d=new s.Text({draggable:!0,drift:l,onmousemove:function(t){r.stop(t.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:h.getFont(),textFill:h.getTextColor()}});this.group.add(d);var f=["horizontal"===o?a/2:1.5*a,"horizontal"===o?0===e?-1.5*a:1.5*a:0===e?-a/2:a/2],p=this._shapes;p.handleThumbs[e]=c,p.handleLabelPoints[e]=f,p.handleLabels[e]=d},_createIndicator:function(t,e,i,n){var a=x([[0,0]],"move");a.position[0]=e[0],a.attr({invisible:!0,silent:!0}),t.add(a);var r=this.visualMapModel.textStyleModel,o=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:r.getFont(),textFill:r.getTextColor()}});this.group.add(o);var l=["horizontal"===n?i/2:v+3,0],u=this._shapes;u.indicator=a,u.indicatorLabel=o,u.indicatorLabelPoint=l},_dragHandle:function(t,e,i,n){if(this._useHandle){if(this._dragging=!e,!e){var a=this._applyTransform([i,n],this._shapes.barGroup,!0);this._updateInterval(t,a[1]),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():S(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),i=t.getExtent(),n=[0,t.itemSize[1]];this._handleEnds=[d(e[0],i,n,!0),d(e[1],i,n,!0)]},_updateInterval:function(t,e){e=e||0;var i=this.visualMapModel,n=this._handleEnds,a=[0,i.itemSize[1]];u(e,n,a,t,0);var r=i.getExtent();this._dataInterval=[d(n[0],a,r,!0),d(n[1],a,r,!0)]},_updateView:function(t){var e=this.visualMapModel,i=e.getExtent(),n=this._shapes,a=[0,e.itemSize[1]],r=t?a:this._handleEnds,o=this._createBarVisual(this._dataInterval,i,r,"inRange"),s=this._createBarVisual(i,i,a,"outOfRange");n.inRange.setStyle({fill:o.barColor,opacity:o.opacity}).setShape("points",o.barPoints),n.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(r,o)},_createBarVisual:function(t,e,i,n){var r={forceState:n,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),s=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],l=this._createBarPoints(i,s);return{barColor:new a(0,0,0,1,o),barPoints:l,handlesColor:[o[0].color,o[o.length-1].color]}},_makeColorGradient:function(t,e){var i=100,n=[],a=(t[1]-t[0])/i;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;rt[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/i})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var i=this.visualMapModel.itemSize;return[[i[0]-e[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,i=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||i?"horizontal"===e&&i?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||i?{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){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,a=i.handleThumbs,r=i.handleLabels;f([0,1],(function(o){var l=a[o];l.setStyle("fill",e.handlesColor[o]),l.position[1]=t[o];var u=s.applyTransform(i.handleLabelPoints[o],s.getTransform(l,this.group));r[o].setStyle({x:u[0],y:u[1],text:n.formatValueText(this._dataInterval[o]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===o?"bottom":"top":"left",i.barGroup)})}),this)}},_showIndicator:function(t,e,i,n){var a=this.visualMapModel,r=a.getExtent(),o=a.itemSize,l=[0,o[1]],u=d(t,r,l,!0),c=this._shapes,h=c.indicator;if(h){h.position[1]=u,h.attr("invisible",!1),h.setShape("points",b(!!i,n,u,o[1]));var f={convertOpacityToAlpha:!0},p=this.getControllerVisual(t,"color",f);h.setStyle("fill",p);var g=s.applyTransform(c.indicatorLabelPoint,s.getTransform(h,this.group)),m=c.indicatorLabel;m.attr("invisible",!1);var v=this._applyTransform("left",c.barGroup),y=this._orient;m.setStyle({text:(i||"")+a.formatValueText(e),textVerticalAlign:"horizontal"===y?v:"middle",textAlign:"horizontal"===y?"center":v,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var i=t.visualMapModel.itemSize,n=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);n[1]=p(g(0,n[1]),i[1]),t._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[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 i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var a=[0,n[1]],r=i.getExtent();t=p(g(a[0],t),a[1]);var o=w(i,r,a),s=[t-o,t+o],l=d(t,a,r,!0),u=[d(s[0],a,r,!0),d(s[1],a,r,!0)];s[0]a[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",o):u[1]===1/0?this._showIndicator(l,u[0],"> ",o):this._showIndicator(l,l,"≈ ",o));var f=this._hoverLinkDataIndices,m=[];(e||S(i))&&(m=this._hoverLinkDataIndices=i.findTargetDataIndices(u));var v=h.compressBatches(f,m);this._dispatchHighDown("downplay",c.makeHighDownBatch(v[0],i)),this._dispatchHighDown("highlight",c.makeHighDownBatch(v[1],i))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,i=this.visualMapModel;if(e&&null!=e.dataIndex){var n=this.ecModel.getSeriesByIndex(e.seriesIndex);if(i.isTargetSeries(n)){var a=n.getData(e.dataType),r=a.get(i.getDataDimension(a),e.dataIndex,!0);isNaN(r)||this._showIndicator(r,r)}}},_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,i,a){var r=s.getTransform(e,a?null:this.group);return s[n.isArray(t)?"applyTransform":"transformDirection"](t,r,i)},_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 x(t,e,i,n){return new s.Polygon({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){r.stop(t.event)},ondragend:n})}function _(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}function b(t,e,i,n){return t?[[0,-p(e,g(i,0))],[v,0],[0,p(e,g(n-i,0))]]:[[0,0],[5,-5],[5,5]]}function w(t,e,i){var n=m/2,a=t.get("hoverLinkDataSize");return a&&(n=d(a,e,i,!0)/2),n}function S(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function M(t){return"vertical"===t?"ns-resize":"ew-resize"}var I=y;t.exports=I},"3d3e":function(t,e,i){"use strict";i("e63a")},"3eba":function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("697e7")),r=i("6d8b"),o=i("41ef"),s=i("22d1"),l=i("04f6"),u=i("1fab"),c=i("7e63"),h=i("843e"),d=i("2039"),f=i("ca98"),p=i("fb05"),g=i("d15d"),m=i("6cb7"),v=i("4f85"),y=i("b12f"),x=i("e887"),_=i("2306"),b=i("e0d3"),w=i("88b3"),S=w.throttle,M=i("fd63"),I=i("b809"),T=i("998c"),A=i("69ff"),C=i("c533"),D=i("f219");i("0352");var L=i("ec34"),P=r.assert,k=r.each,O=r.isFunction,R=r.isObject,E=m.parseClassType,N="4.9.0",z={zrender:"4.3.2"},B=1,V=1e3,G=800,F=900,H=5e3,W=1e3,U=1100,j=2e3,Z=3e3,Y=3500,X=4e3,q=5e3,K={PROCESSOR:{FILTER:V,SERIES_FILTER:G,STATISTIC:H},VISUAL:{LAYOUT:W,PROGRESSIVE_LAYOUT:U,GLOBAL:j,CHART:Z,POST_CHART_LAYOUT:Y,COMPONENT:X,BRUSH:q}},$="__flagInMainProcess",J="__optionUpdated",Q=/^[a-zA-Z0-9_]+$/;function tt(t,e){return function(i,n,a){e||!this._disposed?(i=i&&i.toLowerCase(),u.prototype[t].call(this,i,n,a)):_t(this.id)}}function et(){u.call(this)}function it(t,e,i){i=i||{},"string"===typeof e&&(e=kt[e]),this.id,this.group,this._dom=t;var n="canvas",o=this._zr=a.init(t,{renderer:i.renderer||n,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});this._throttledZrFlush=S(r.bind(o.flush,o),17);e=r.clone(e);e&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new d;var s=this._api=Mt(this);function c(t,e){return t.__prio-e.__prio}l(Pt,c),l(Ct,c),this._scheduler=new A(this,s,Ct,Pt),u.call(this,this._ecEventProcessor=new It),this._messageCenter=new et,this._initEvents(),this.resize=r.bind(this.resize,this),this._pendingActions=[],o.animation.on("frame",this._onframe,this),dt(o,this),r.setAsPrimitive(this)}et.prototype.on=tt("on",!0),et.prototype.off=tt("off",!0),et.prototype.one=tt("one",!0),r.mixin(et,u);var nt=it.prototype;function at(t,e,i){if(this._disposed)_t(this.id);else{var n,a=this._model,r=this._coordSysMgr.getCoordinateSystems();e=b.parseFinder(a,e);for(var o=0;o0&&t.unfinished);t.unfinished||this._zr.flush()}}},nt.getDom=function(){return this._dom},nt.getZr=function(){return this._zr},nt.setOption=function(t,e,i){if(this._disposed)_t(this.id);else{var n;if(R(e)&&(i=e.lazyUpdate,n=e.silent,e=e.notMerge),this[$]=!0,!this._model||e){var a=new f(this._api),r=this._theme,o=this._model=new c;o.scheduler=this._scheduler,o.init(null,null,r,a)}this._model.setOption(t,Dt),i?(this[J]={silent:n},this[$]=!1):(ot(this),rt.update.call(this),this._zr.flush(),this[J]=!1,this[$]=!1,ct.call(this,n),ht.call(this,n))}},nt.setTheme=function(){},nt.getModel=function(){return this._model},nt.getOption=function(){return this._model&&this._model.getOption()},nt.getWidth=function(){return this._zr.getWidth()},nt.getHeight=function(){return this._zr.getHeight()},nt.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},nt.getRenderedCanvas=function(t){if(s.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr;return e.painter.getRenderedCanvas(t)}},nt.getSvgDataURL=function(){if(s.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return r.each(e,(function(t){t.stopAnimation(!0)})),t.painter.toDataURL()}},nt.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,i=this._model,n=[],a=this;k(e,(function(t){i.eachComponent({mainType:t},(function(t){var e=a._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)}))}));var r="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return k(n,(function(t){t.group.ignore=!1})),r}_t(this.id)},nt.getConnectedDataURL=function(t){if(this._disposed)_t(this.id);else if(s.canvasSupported){var e="svg"===t.type,i=this.group,n=Math.min,o=Math.max,l=1/0;if(Et[i]){var u=l,c=l,h=-l,d=-l,f=[],p=t&&t.pixelRatio||1;r.each(Rt,(function(a,s){if(a.group===i){var l=e?a.getZr().painter.getSvgDom().innerHTML:a.getRenderedCanvas(r.clone(t)),p=a.getDom().getBoundingClientRect();u=n(p.left,u),c=n(p.top,c),h=o(p.right,h),d=o(p.bottom,d),f.push({dom:l,left:p.left,top:p.top})}})),u*=p,c*=p,h*=p,d*=p;var g=h-u,m=d-c,v=r.createCanvas(),y=a.init(v,{renderer:e?"svg":"canvas"});if(y.resize({width:g,height:m}),e){var x="";return k(f,(function(t){var e=t.left-u,i=t.top-c;x+=''+t.dom+""})),y.painter.getSvgRoot().innerHTML=x,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new _.Rect({shape:{x:0,y:0,width:g,height:m},style:{fill:t.connectedBackgroundColor}})),k(f,(function(t){var e=new _.Image({style:{x:t.left*p-u,y:t.top*p-c,image:t.dom}});y.add(e)})),y.refreshImmediately(),v.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},nt.convertToPixel=r.curry(at,"convertToPixel"),nt.convertFromPixel=r.curry(at,"convertFromPixel"),nt.containPixel=function(t,e){if(!this._disposed){var i,n=this._model;return t=b.parseFinder(n,t),r.each(t,(function(t,n){n.indexOf("Models")>=0&&r.each(t,(function(t){var a=t.coordinateSystem;if(a&&a.containPoint)i|=!!a.containPoint(e);else if("seriesModels"===n){var r=this._chartsMap[t.__viewId];r&&r.containPoint&&(i|=r.containPoint(e,t))}}),this)}),this),!!i}_t(this.id)},nt.getVisual=function(t,e){var i=this._model;t=b.parseFinder(i,t,{defaultMainType:"series"});var n=t.seriesModel,a=n.getData(),r=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?a.indexOfRawIndex(t.dataIndex):null;return null!=r?a.getItemVisual(r,e):a.getVisual(e)},nt.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},nt.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var rt={prepareAndUpdate:function(t){ot(this),rt.update.call(this,t)},update:function(t){var e=this._model,i=this._api,n=this._zr,a=this._coordSysMgr,r=this._scheduler;if(e){r.restoreData(e,t),r.performSeriesTasks(e),a.create(e,i),r.performDataProcessorTasks(e,t),lt(this,e),a.update(e,i),pt(e),r.performVisualTasks(e,t),gt(this,e,i,t);var l=e.get("backgroundColor")||"transparent";if(s.canvasSupported)n.setBackgroundColor(l);else{var u=o.parse(l);l=o.stringify(u,"rgb"),0===u[3]&&(l="transparent")}yt(e,i)}},updateTransform:function(t){var e=this._model,i=this,n=this._api;if(e){var a=[];e.eachComponent((function(r,o){var s=i.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,n,t);l&&l.update&&a.push(s)}else a.push(s)}));var o=r.createHashMap();e.eachSeries((function(a){var r=i._chartsMap[a.__viewId];if(r.updateTransform){var s=r.updateTransform(a,e,n,t);s&&s.update&&o.set(a.uid,1)}else o.set(a.uid,1)})),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),vt(i,e,n,t,o),yt(e,this._api)}},updateView:function(t){var e=this._model;e&&(x.markUpdateMethod(t,"updateView"),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),gt(this,this._model,this._api,t),yt(e,this._api))},updateVisual:function(t){rt.update.call(this,t)},updateLayout:function(t){rt.update.call(this,t)}};function ot(t){var e=t._model,i=t._scheduler;i.restorePipelines(e),i.prepareStageTasks(),ft(t,"component",e,i),ft(t,"chart",e,i),i.plan()}function st(t,e,i,n,a){var o=t._model;if(n){var s={};s[n+"Id"]=i[n+"Id"],s[n+"Index"]=i[n+"Index"],s[n+"Name"]=i[n+"Name"];var l={mainType:n,query:s};a&&(l.subType=a);var u=i.excludeSeriesId;null!=u&&(u=r.createHashMap(b.normalizeToArray(u))),o&&o.eachComponent(l,(function(e){u&&null!=u.get(e.id)||c(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else k(t._componentsViews.concat(t._chartsViews),c);function c(n){n&&n.__alive&&n[e]&&n[e](n.__model,o,t._api,i)}}function lt(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries((function(t){n.updateStreamModes(t,i[t.__viewId])}))}function ut(t,e){var i=t.type,n=t.escapeConnect,a=Tt[i],o=a.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&E(s[0]),this[$]=!0;var u=[t],c=!1;t.batch&&(c=!0,u=r.map(t.batch,(function(e){return e=r.defaults(r.extend({},e),t),e.batch=null,e})));var h,d=[],f="highlight"===i||"downplay"===i;k(u,(function(t){h=a.action(t,this._model,this._api),h=h||r.extend({},t),h.type=o.event||h.type,d.push(h),f?st(this,l,t,"series"):s&&st(this,l,t,s.main,s.sub)}),this),"none"===l||f||s||(this[J]?(ot(this),rt.update.call(this,t),this[J]=!1):rt[l].call(this,t)),h=c?{type:o.event||i,escapeConnect:n,batch:d}:d[0],this[$]=!1,!e&&this._messageCenter.trigger(h.type,h)}function ct(t){var e=this._pendingActions;while(e.length){var i=e.shift();ut.call(this,i,t)}}function ht(t){!t&&this.trigger("updated")}function dt(t,e){t.on("rendered",(function(){e.trigger("rendered"),!t.animation.isFinished()||e[J]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))}function ft(t,e,i,n){for(var a="component"===e,r=a?t._componentsViews:t._chartsViews,o=a?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;ue.get("hoverLayerThreshold")&&!s.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var i=t._chartsMap[e.__viewId];i.__alive&&i.group.traverse((function(t){t.useHoverLayer=!0}))}}))}function wt(t,e){var i=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||t.style.blend!==i&&t.setStyle("blend",i),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.setStyle("blend",i)}))}))}function St(t,e){var i=t.get("z"),n=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=n&&(t.zlevel=n))}))}function Mt(t){var e=t._coordSysMgr;return r.extend(new h(t),{getCoordinateSystems:r.bind(e.getCoordinateSystems,e),getComponentByElement:function(e){while(e){var i=e.__ecComponentInfo;if(null!=i)return t._model.getComponent(i.mainType,i.index);e=e.parent}}})}function It(){this.eventInfo}nt._initEvents=function(){k(xt,(function(t){var e=function(e){var i,n=this.getModel(),a=e.target,o="globalout"===t;if(o)i={};else if(a&&null!=a.dataIndex){var s=a.dataModel||n.getSeriesByIndex(a.seriesIndex);i=s&&s.getDataParams(a.dataIndex,a.dataType,a)||{}}else a&&a.eventData&&(i=r.extend({},a.eventData));if(i){var l=i.componentType,u=i.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=i.seriesIndex);var c=l&&null!=u&&n.getComponent(l,u),h=c&&this["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];i.event=e,i.type=t,this._ecEventProcessor.eventInfo={targetEl:a,packedEvent:i,model:c,view:h},this.trigger(t,i)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),k(At,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},nt.isDisposed=function(){return this._disposed},nt.clear=function(){this._disposed?_t(this.id):this.setOption({series:[]},!0)},nt.dispose=function(){if(this._disposed)_t(this.id);else{this._disposed=!0,b.setAttribute(this.getDom(),Bt,"");var t=this._api,e=this._model;k(this._componentsViews,(function(i){i.dispose(e,t)})),k(this._chartsViews,(function(i){i.dispose(e,t)})),this._zr.dispose(),delete Rt[this.id]}},r.mixin(it,u),It.prototype={constructor:It,normalizeQuery:function(t){var e={},i={},n={};if(r.isString(t)){var a=E(t);e.mainType=a.main||null,e.subType=a.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};r.each(t,(function(t,a){for(var r=!1,l=0;l0&&c===a.length-u.length){var h=a.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,r=!0)}}s.hasOwnProperty(a)&&(i[a]=t,r=!0),r||(n[a]=t)}))}return{cptQuery:e,dataQuery:i,otherQuery:n}},filter:function(t,e,i){var n=this.eventInfo;if(!n)return!0;var a=n.targetEl,r=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return c(l,o,"mainType")&&c(l,o,"subType")&&c(l,o,"index","componentIndex")&&c(l,o,"name")&&c(l,o,"id")&&c(u,r,"name")&&c(u,r,"dataIndex")&&c(u,r,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,a,r));function c(t,e,i,n){return null==t[i]||e[n||i]===t[i]}},afterTrigger:function(){this.eventInfo=null}};var Tt={},At={},Ct=[],Dt=[],Lt=[],Pt=[],kt={},Ot={},Rt={},Et={},Nt=new Date-0,zt=new Date-0,Bt="_echarts_instance_";function Vt(t){var e=0,i=1,n=2,a="__connectUpdateStatus";function r(t,e){for(var i=0;i-_}function S(t,e){var i=e?t.textFill:t.fill;return null!=i&&i!==f}function M(t,e){var i=e?t.textStroke:t.stroke;return null!=i&&i!==f}function I(t,e){e&&T(t,"transform","matrix("+d.call(e,",")+")")}function T(t,e,i){(!i||"linear"!==i.type&&"radial"!==i.type)&&t.setAttribute(e,i)}function A(t,e,i){t.setAttributeNS("http://www.w3.org/1999/xlink",e,i)}function C(t,e,i,n){if(S(e,i)){var a=i?e.textFill:e.fill;a="transparent"===a?f:a,T(t,"fill",a),T(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else T(t,"fill",f);if(M(e,i)){var r=i?e.textStroke:e.stroke;r="transparent"===r?f:r,T(t,"stroke",r);var o=i?e.textStrokeWidth:e.lineWidth,s=!i&&e.strokeNoScale?n.getLineScale():1;T(t,"stroke-width",o/s),T(t,"paint-order",i?"stroke":"fill"),T(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity);var l=e.lineDash;l?(T(t,"stroke-dasharray",e.lineDash.join(",")),T(t,"stroke-dashoffset",p(e.lineDashOffset||0))):T(t,"stroke-dasharray",""),e.lineCap&&T(t,"stroke-linecap",e.lineCap),e.lineJoin&&T(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&T(t,"stroke-miterlimit",e.miterLimit)}else T(t,"stroke",f)}function D(t){for(var e=[],i=t.data,n=t.len(),a=0;a=y:-_>=y),A=_>0?_%y:_%y+y,C=!1;C=!!T||!w(I)&&A>=v===!!M;var D=b(l+c*m(f)),L=b(u+d*g(f));T&&(_=M?y-1e-4:1e-4-y,C=!0,9===a&&e.push("M",D,L));var P=b(l+c*m(f+_)),k=b(u+d*g(f+_));e.push("A",b(c),b(d),p(S*x),+C,+M,P,k);break;case h.Z:o="Z";break;case h.R:P=b(i[a++]),k=b(i[a++]);var O=b(i[a++]),R=b(i[a++]);e.push("M",P,k,"L",P+O,k,"L",P+O,k+R,"L",P,k+R,"L",P,k);break}o&&e.push(o);for(var E=0;Ek){for(;L255?255:t}function o(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?r(parseFloat(t)/100*255):r(parseInt(t,10))}function u(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function c(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function h(t,e,i){return t+(e-t)*i}function d(t,e,i,n,a){return t[0]=e,t[1]=i,t[2]=n,t[3]=a,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new n(20),g=null;function m(t,e){g&&f(g,e),g=p.put(t,g||e.slice())}function v(t,e){if(t){e=e||[];var i=p.get(t);if(i)return f(e,i);t+="";var n=t.replace(/ /g,"").toLowerCase();if(n in a)return f(e,a[n]),m(t,e),e;if("#"!==n.charAt(0)){var r=n.indexOf("("),o=n.indexOf(")");if(-1!==r&&o+1===n.length){var s=n.substr(0,r),c=n.substr(r+1,o-(r+1)).split(","),h=1;switch(s){case"rgba":if(4!==c.length)return void d(e,0,0,0,1);h=u(c.pop());case"rgb":return 3!==c.length?void d(e,0,0,0,1):(d(e,l(c[0]),l(c[1]),l(c[2]),h),m(t,e),e);case"hsla":return 4!==c.length?void d(e,0,0,0,1):(c[3]=u(c[3]),y(c,e),m(t,e),e);case"hsl":return 3!==c.length?void d(e,0,0,0,1):(y(c,e),m(t,e),e);default:return}}d(e,0,0,0,1)}else{if(4===n.length){var g=parseInt(n.substr(1),16);return g>=0&&g<=4095?(d(e,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),m(t,e),e):void d(e,0,0,0,1)}if(7===n.length){g=parseInt(n.substr(1),16);return g>=0&&g<=16777215?(d(e,(16711680&g)>>16,(65280&g)>>8,255&g,1),m(t,e),e):void d(e,0,0,0,1)}}}}function y(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=u(t[1]),a=u(t[2]),o=a<=.5?a*(n+1):a+n-a*n,s=2*a-o;return e=e||[],d(e,r(255*c(s,o,i+1/3)),r(255*c(s,o,i)),r(255*c(s,o,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function x(t){if(t){var e,i,n=t[0]/255,a=t[1]/255,r=t[2]/255,o=Math.min(n,a,r),s=Math.max(n,a,r),l=s-o,u=(s+o)/2;if(0===l)e=0,i=0;else{i=u<.5?l/(s+o):l/(2-s-o);var c=((s-n)/6+l/2)/l,h=((s-a)/6+l/2)/l,d=((s-r)/6+l/2)/l;n===s?e=d-h:a===s?e=1/3+c-d:r===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,i,u];return null!=t[3]&&f.push(t[3]),f}}function _(t,e){var i=v(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0,i[n]>255?i[n]=255:t[n]<0&&(i[n]=0);return C(i,4===i.length?"rgba":"rgb")}}function b(t){var e=v(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function w(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length-1),a=Math.floor(n),o=Math.ceil(n),l=e[a],u=e[o],c=n-a;return i[0]=r(h(l[0],u[0],c)),i[1]=r(h(l[1],u[1],c)),i[2]=r(h(l[2],u[2],c)),i[3]=s(h(l[3],u[3],c)),i}}var S=w;function M(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),a=Math.floor(n),o=Math.ceil(n),l=v(e[a]),u=v(e[o]),c=n-a,d=C([r(h(l[0],u[0],c)),r(h(l[1],u[1],c)),r(h(l[2],u[2],c)),s(h(l[3],u[3],c))],"rgba");return i?{color:d,leftIndex:a,rightIndex:o,value:n}:d}}var I=M;function T(t,e,i,n){if(t=v(t),t)return t=x(t),null!=e&&(t[0]=o(e)),null!=i&&(t[1]=u(i)),null!=n&&(t[2]=u(n)),C(y(t),"rgba")}function A(t,e){if(t=v(t),t&&null!=e)return t[3]=s(e),C(t,"rgba")}function C(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}e.parse=v,e.lift=_,e.toHex=b,e.fastLerp=w,e.fastMapToColor=S,e.lerp=M,e.mapToColor=I,e.modifyHSL=T,e.modifyAlpha=A,e.stringify=C},"42e5":function(t,e){var i=function(t){this.colorStops=t||[]};i.prototype={constructor:i,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var n=i;t.exports=n},"42f6":function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("22d1"),o=i("07d7"),s=i("82f9"),l=i("eda2"),u=i("3842"),c=i("2306"),h=i("133d"),d=i("f934"),f=i("4319"),p=i("17d6"),g=i("697e"),m=i("ff2e"),v=i("e0d3"),y=v.getTooltipRenderMode,x=a.bind,_=a.each,b=u.parsePercent,w=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}}),S=n.extendComponentView({type:"tooltip",init:function(t,e){if(!r.node){var i,n=t.getComponent("tooltip"),a=n.get("renderMode");this._renderMode=y(a),"html"===this._renderMode?(i=new o(e.getDom(),e,{appendToBody:n.get("appendToBody",!0)}),this._newLine="
"):(i=new s(e),this._newLine="\n"),this._tooltipContent=i}},render:function(t,e,i){if(!r.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var n=this._tooltipContent;n.update(t),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel,e=t.get("triggerOn");p.register("itemTooltip",this._api,x((function(t,i,n){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(i,n):"leave"===t&&this._hide(n))}),this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!i.isDisposed()&&n.manuallyShowTip(t,e,i,{x:n._lastX,y:n._lastY})}))}},manuallyShowTip:function(t,e,i,n){if(n.from!==this.uid&&!r.node){var a=I(n,i);this._ticket="";var o=n.dataByCoordSys;if(n.tooltip&&null!=n.x&&null!=n.y){var s=w;s.position=[n.x,n.y],s.update(),s.tooltip=n.tooltip,this._tryShow({offsetX:n.x,offsetY:n.y,target:s},a)}else if(o)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},a);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,n))return;var l=h(n,e),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:n.position,target:l.el},a)}else null!=n.x&&null!=n.y&&(i.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().findHover(n.x,n.y).target},a))}},manuallyHideTip:function(t,e,i,n){var a=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(I(n,i))},_manuallyAxisShowTip:function(t,e,i,n){var a=n.seriesIndex,r=n.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=a&&null!=r&&null!=o){var s=e.getSeriesByIndex(a);if(s){var l=s.getData();t=M([l.getItemModel(r),s,(s.coordinateSystem||{}).model,t]);if("axis"===t.get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:r,position:n.position}),!0}}},_tryShow:function(t,e){var i=t.target,n=this._tooltipModel;if(n){this._lastX=t.offsetX,this._lastY=t.offsetY;var a=t.dataByCoordSys;a&&a.length?this._showAxisTooltip(a,t):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,i,e)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,i,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var i=t.get("showDelay");e=a.bind(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},_showAxisTooltip:function(t,e){var i=this._ecModel,n=this._tooltipModel,r=[e.offsetX,e.offsetY],o=[],s=[],u=M([e.tooltipOption,n]),c=this._renderMode,h=this._newLine,d={};_(t,(function(t){_(t.dataByAxis,(function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),n=t.value,r=[];if(e&&null!=n){var u=m.getValueLabel(n,e.axis,i,t.seriesDataIndices,t.valueLabelOpt);a.each(t.seriesDataIndices,(function(o){var l=i.getSeriesByIndex(o.seriesIndex),h=o.dataIndexInside,f=l&&l.getDataParams(h);if(f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=g.getAxisRawValue(e.axis,n),f.axisValueLabel=u,f){s.push(f);var p,m=l.formatTooltip(h,!0,null,c);if(a.isObject(m)){p=m.html;var v=m.markers;a.merge(d,v)}else p=m;r.push(p)}}));var f=u;"html"!==c?o.push(r.join(h)):o.push((f?l.encodeHTML(f)+h:"")+r.join(h))}}))}),this),o.reverse(),o=o.join(this._newLine+this._newLine);var f=e.position;this._showOrMove(u,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,f,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(u,o,s,Math.random(),r[0],r[1],f,void 0,d)}))},_showSeriesItemTooltip:function(t,e,i){var n=this._ecModel,r=e.seriesIndex,o=n.getSeriesByIndex(r),s=e.dataModel||o,l=e.dataIndex,u=e.dataType,c=s.getData(u),h=M([c.getItemModel(l),s,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),d=h.get("trigger");if(null==d||"item"===d){var f,p,g=s.getDataParams(l,u),m=s.formatTooltip(l,!1,u,this._renderMode);a.isObject(m)?(f=m.html,p=m.markers):(f=m,p=null);var v="item_"+s.name+"_"+l;this._showOrMove(h,(function(){this._showTooltipContent(h,f,g,v,t.offsetX,t.offsetY,t.position,t.target,p)})),i({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:r,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var n=e.tooltip;if("string"===typeof n){var a=n;n={content:a,formatter:a}}var r=new f(n,this._tooltipModel,this._ecModel),o=r.get("content"),s=Math.random();this._showOrMove(r,(function(){this._showTooltipContent(r,o,r.get("formatterParams")||{},s,t.offsetX,t.offsetY,t.position,e)})),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,n,a,r,o,s,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent,h=t.get("formatter");o=o||t.get("position");var d=e;if(h&&"string"===typeof h)d=l.formatTpl(h,i,!0);else if("function"===typeof h){var f=x((function(e,n){e===this._ticket&&(c.setContent(n,u,t),this._updatePosition(t,o,a,r,c,i,s))}),this);this._ticket=n,d=h(i,n,f)}c.setContent(d,u,t),c.show(t),this._updatePosition(t,o,a,r,c,i,s)}},_updatePosition:function(t,e,i,n,r,o,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=r.getSize(),h=t.get("align"),f=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"===typeof e&&(e=e([i,n],o,r.el,p,{viewSize:[l,u],contentSize:c.slice()})),a.isArray(e))i=b(e[0],l),n=b(e[1],u);else if(a.isObject(e)){e.width=c[0],e.height=c[1];var g=d.getLayoutRect(e,{width:l,height:u});i=g.x,n=g.y,h=null,f=null}else if("string"===typeof e&&s){var m=C(e,p,c);i=m[0],n=m[1]}else{m=T(i,n,r,l,u,h?null:20,f?null:20);i=m[0],n=m[1]}if(h&&(i-=D(h)?c[0]/2:"right"===h?c[0]:0),f&&(n-=D(f)?c[1]/2:"bottom"===f?c[1]:0),t.get("confine")){m=A(i,n,r,l,u);i=m[0],n=m[1]}r.moveTo(i,n)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e.length===t.length;return i&&_(e,(function(e,n){var a=e.dataByAxis||{},r=t[n]||{},o=r.dataByAxis||[];i&=a.length===o.length,i&&_(a,(function(t,e){var n=o[e]||{},a=t.seriesDataIndices||[],r=n.seriesDataIndices||[];i&=t.value===n.value&&t.axisType===n.axisType&&t.axisId===n.axisId&&a.length===r.length,i&&_(a,(function(t,e){var n=r[e];i&=t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}))}))})),this._lastDataByCoordSys=t,!!i},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){r.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",e))}});function M(t){var e=t.pop();while(t.length){var i=t.pop();i&&(f.isInstance(i)&&(i=i.get("tooltip",!0)),"string"===typeof i&&(i={formatter:i}),e=new f(i,e,e.ecModel))}return e}function I(t,e){return t.dispatchAction||a.bind(e.dispatchAction,e)}function T(t,e,i,n,a,r,o){var s=i.getOuterSize(),l=s.width,u=s.height;return null!=r&&(t+l+r>n?t-=l+r:t+=r),null!=o&&(e+u+o>a?e-=u+o:e+=o),[t,e]}function A(t,e,i,n,a){var r=i.getOuterSize(),o=r.width,s=r.height;return t=Math.min(t+o,n)-o,e=Math.min(e+s,a)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function C(t,e,i){var n=i[0],a=i[1],r=5,o=0,s=0,l=e.width,u=e.height;switch(t){case"inside":o=e.x+l/2-n/2,s=e.y+u/2-a/2;break;case"top":o=e.x+l/2-n/2,s=e.y-a-r;break;case"bottom":o=e.x+l/2-n/2,s=e.y+u+r;break;case"left":o=e.x-n-r,s=e.y+u/2-a/2;break;case"right":o=e.x+l+r,s=e.y+u/2-a/2}return[o,s]}function D(t){return"center"===t||"middle"===t}t.exports=S},4319:function(t,e,i){var n=i("6d8b"),a=i("22d1"),r=i("e0d3"),o=r.makeInner,s=i("625e"),l=s.enableClassExtend,u=s.enableClassCheck,c=i("3901"),h=i("9bdb"),d=i("fe21"),f=i("551f"),p=n.mixin,g=o();function m(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}function v(t,e,i){for(var n=0;n=0;n--){o=e[n].interval;if(o[0]<=t&&t<=o[1]){r=n;break}}return n>=0&&n=e[0]&&t<=e[1]}}function c(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var h=a.extendChartView({type:"heatmap",render:function(t,e,i){var n;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(i){i===t&&(n=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var a=t.coordinateSystem;"cartesian2d"===a.type||"calendar"===a.type?this._renderOnCartesianAndCalendar(t,i,0,t.getData().count()):c(a)&&this._renderOnGeo(a,t,n,i)},incrementalPrepareRender:function(t,e,i){this.group.removeAll()},incrementalRender:function(t,e,i,n){var a=e.coordinateSystem;a&&this._renderOnCartesianAndCalendar(e,n,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,e,i,n,a){var o,l,u=t.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),h=u.getAxis("y");o=c.getBandWidth(),l=h.getBandWidth()}for(var d=this.group,f=t.getData(),p="itemStyle",g="emphasis.itemStyle",m="label",v="emphasis.label",y=t.getModel(p).getItemStyle(["color"]),x=t.getModel(g).getItemStyle(),_=t.getModel(m),b=t.getModel(v),w=u.type,S="cartesian2d"===w?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],M=i;M=0?n+=g:n-=g:_>=0?n-=g:n+=g}return n}function p(t,e){var i=[],r=n.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];e/=2,t.eachEdge((function(t,n){var c=t.getLayout(),h=t.getVisual("fromSymbol"),d=t.getVisual("toSymbol");c.__original||(c.__original=[a.clone(c[0]),a.clone(c[1])],c[2]&&c.__original.push(a.clone(c[2])));var p=c.__original;if(null!=c[2]){if(a.copy(s[0],p[0]),a.copy(s[1],p[2]),a.copy(s[2],p[1]),h&&"none"!==h){var g=o(t.node1),m=f(s,p[0],g*e);r(s[0][0],s[1][0],s[2][0],m,i),s[0][0]=i[3],s[1][0]=i[4],r(s[0][1],s[1][1],s[2][1],m,i),s[0][1]=i[3],s[1][1]=i[4]}if(d&&"none"!==d){g=o(t.node2),m=f(s,p[1],g*e);r(s[0][0],s[1][0],s[2][0],m,i),s[1][0]=i[1],s[2][0]=i[2],r(s[0][1],s[1][1],s[2][1],m,i),s[1][1]=i[1],s[2][1]=i[2]}a.copy(c[0],s[0]),a.copy(c[1],s[2]),a.copy(c[2],s[1])}else{if(a.copy(l[0],p[0]),a.copy(l[1],p[1]),a.sub(u,l[1],l[0]),a.normalize(u,u),h&&"none"!==h){g=o(t.node1);a.scaleAndAdd(l[0],l[0],u,g*e)}if(d&&"none"!==d){g=o(t.node2);a.scaleAndAdd(l[1],l[1],u,-g*e)}a.copy(c[0],l[0]),a.copy(c[1],l[1])}}))}t.exports=p},"48a9":function(t,e,i){var n=i("6d8b"),a=i("42e5"),r=function(t,e,i,n,r,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==i?1:i,this.y2=null==n?0:n,this.type="linear",this.global=o||!1,a.call(this,r)};r.prototype={constructor:r},n.inherits(r,a);var o=r;t.exports=o},"48ac":function(t,e,i){var n=i("3eba"),a=n.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),r=a;t.exports=r},"48c7":function(t,e,i){var n=i("6d8b"),a=i("6cb7"),r=i("9e47"),o=i("2023"),s=a.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(t,e){return e.type||(e.data?"category":"value")}n.merge(s.prototype,o);var u={offset:0};r("x",s,l,u),r("y",s,l,u);var c=s;t.exports=c},4942:function(t,e,i){var n=i("2cf4"),a=n.debugMode,r=function(){};1===a&&(r=console.error);var o=r;t.exports=o},"49e8":function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("d81e"),o=r.updateCenterAndZoom;n.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},(function(e){var n=e.coordinateSystem;if("geo"===n.type){var r=o(n,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom),"series"===i&&a.each(e.seriesGroup,(function(t){t.setCenter(r.center),t.setZoom(r.zoom)}))}}))}))},"4a01":function(t,e,i){var n=i("6d8b"),a=i("1fab"),r=i("607d"),o=i("a4fe");function s(t){this.pointerChecker,this._zr=t,this._opt={};var e=n.bind,i=e(l,this),r=e(u,this),o=e(c,this),s=e(h,this),f=e(d,this);a.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(e,a){this.disable(),this._opt=n.defaults(n.clone(a)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",i),t.on("mousemove",r),t.on("mouseup",o)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",s),t.on("pinch",f))},this.disable=function(){t.off("mousedown",i),t.off("mousemove",r),t.off("mouseup",o),t.off("mousewheel",s),t.off("pinch",f)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(t){if(!(r.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)){var e=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,i)&&(this._x=e,this._y=i,this._dragging=!0)}}function u(t){if(this._dragging&&g("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!o.isTaken(this._zr,"globalPan")){var e=t.offsetX,i=t.offsetY,n=this._x,a=this._y,s=e-n,l=i-a;this._x=e,this._y=i,this._opt.preventDefaultMouseMove&&r.stop(t.event),p(this,"pan","moveOnMouseMove",t,{dx:s,dy:l,oldX:n,oldY:a,newX:e,newY:i})}}function c(t){r.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function h(t){var e=g("zoomOnMouseWheel",t,this._opt),i=g("moveOnMouseWheel",t,this._opt),n=t.wheelDelta,a=Math.abs(n),r=t.offsetX,o=t.offsetY;if(0!==n&&(e||i)){if(e){var s=a>3?1.4:a>1?1.2:1.1,l=n>0?s:1/s;f(this,"zoom","zoomOnMouseWheel",t,{scale:l,originX:r,originY:o})}if(i){var u=Math.abs(n),c=(n>0?1:-1)*(u>3?.4:u>1?.15:.05);f(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:c,originX:r,originY:o})}}}function d(t){if(!o.isTaken(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;f(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY})}}function f(t,e,i,n,a){t.pointerChecker&&t.pointerChecker(n,a.originX,a.originY)&&(r.stop(n.event),p(t,e,i,n,a))}function p(t,e,i,a,r){r.isAvailableBehavior=n.bind(g,null,i,a),t.trigger(e,r)}function g(t,e,i){var a=i[t];return!t||a&&(!n.isString(a)||e.event[a+"Key"])}n.mixin(s,a);var m=s;t.exports=m},"4a3f":function(t,e,i){var n=i("401b"),a=n.create,r=n.distSquare,o=Math.pow,s=Math.sqrt,l=1e-8,u=1e-4,c=s(3),h=1/3,d=a(),f=a(),p=a();function g(t){return t>-l&&tl||t<-l}function v(t,e,i,n,a){var r=1-a;return r*r*(r*t+3*a*e)+a*a*(a*n+3*r*i)}function y(t,e,i,n,a){var r=1-a;return 3*(((e-t)*r+2*(i-e)*a)*r+(n-i)*a*a)}function x(t,e,i,n,a,r){var l=n+3*(e-i)-t,u=3*(i-2*e+t),d=3*(e-t),f=t-a,p=u*u-3*l*d,m=u*d-9*l*f,v=d*d-3*u*f,y=0;if(g(p)&&g(m))if(g(u))r[0]=0;else{var x=-d/u;x>=0&&x<=1&&(r[y++]=x)}else{var _=m*m-4*p*v;if(g(_)){var b=m/p,w=(x=-u/l+b,-b/2);x>=0&&x<=1&&(r[y++]=x),w>=0&&w<=1&&(r[y++]=w)}else if(_>0){var S=s(_),M=p*u+1.5*l*(-m+S),I=p*u+1.5*l*(-m-S);M=M<0?-o(-M,h):o(M,h),I=I<0?-o(-I,h):o(I,h);x=(-u-(M+I))/(3*l);x>=0&&x<=1&&(r[y++]=x)}else{var T=(2*p*u-3*l*m)/(2*s(p*p*p)),A=Math.acos(T)/3,C=s(p),D=Math.cos(A),L=(x=(-u-2*C*D)/(3*l),w=(-u+C*(D+c*Math.sin(A)))/(3*l),(-u+C*(D-c*Math.sin(A)))/(3*l));x>=0&&x<=1&&(r[y++]=x),w>=0&&w<=1&&(r[y++]=w),L>=0&&L<=1&&(r[y++]=L)}}return y}function _(t,e,i,n,a){var r=6*i-12*e+6*t,o=9*e+3*n-3*t-9*i,l=3*e-3*t,u=0;if(g(o)){if(m(r)){var c=-l/r;c>=0&&c<=1&&(a[u++]=c)}}else{var h=r*r-4*o*l;if(g(h))a[0]=-r/(2*o);else if(h>0){var d=s(h),f=(c=(-r+d)/(2*o),(-r-d)/(2*o));c>=0&&c<=1&&(a[u++]=c),f>=0&&f<=1&&(a[u++]=f)}}return u}function b(t,e,i,n,a,r){var o=(e-t)*a+t,s=(i-e)*a+e,l=(n-i)*a+i,u=(s-o)*a+o,c=(l-s)*a+s,h=(c-u)*a+u;r[0]=t,r[1]=o,r[2]=u,r[3]=h,r[4]=h,r[5]=c,r[6]=l,r[7]=n}function w(t,e,i,n,a,o,l,c,h,g,m){var y,x,_,b,w,S=.005,M=1/0;d[0]=h,d[1]=g;for(var I=0;I<1;I+=.05)f[0]=v(t,i,a,l,I),f[1]=v(e,n,o,c,I),b=r(d,f),b=0&&b=0&&c<=1&&(a[u++]=c)}}else{var h=o*o-4*r*l;if(g(h)){c=-o/(2*r);c>=0&&c<=1&&(a[u++]=c)}else if(h>0){var d=s(h),f=(c=(-o+d)/(2*r),(-o-d)/(2*r));c>=0&&c<=1&&(a[u++]=c),f>=0&&f<=1&&(a[u++]=f)}}return u}function T(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}function A(t,e,i,n,a){var r=(e-t)*n+t,o=(i-e)*n+e,s=(o-r)*n+r;a[0]=t,a[1]=r,a[2]=s,a[3]=s,a[4]=o,a[5]=i}function C(t,e,i,n,a,o,l,c,h){var g,m=.005,v=1/0;d[0]=l,d[1]=c;for(var y=0;y<1;y+=.05){f[0]=S(t,i,a,y),f[1]=S(e,n,o,y);var x=r(d,f);x=0&&x=0;--n)if(e[n]===t)return!0;return!1}),i):null:i[0]},g.prototype.update=function(t,e){if(t){var i=this.getDefs(!1);if(t[this._domName]&&i.contains(t[this._domName]))"function"===typeof e&&e(t);else{var n=this.add(t);n&&(t[this._domName]=n)}}},g.prototype.addDom=function(t){var e=this.getDefs(!0);e.appendChild(t)},g.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},g.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return r.each(this._tagNames,(function(i){var n=t.getElementsByTagName(i);e=e.concat([].slice.call(n))})),e},g.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;r.each(t,(function(t){t[e._markLabel]=f}))},g.prototype.markUsed=function(t){t&&(t[this._markLabel]=p)},g.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this.getDoms(),i=this;r.each(e,(function(e){e[i._markLabel]!==p&&t.removeChild(e)}))}},g.prototype.getSvgProxy=function(t){return t instanceof o?c:t instanceof s?h:t instanceof l?d:c},g.prototype.getTextSvgElement=function(t){return t.__textSvgEl},g.prototype.getSvgElement=function(t){return t.__svgEl};var m=g;t.exports=m},"4b08":function(t,e,i){var n=i("7dcf"),a=n.extend({type:"dataZoom.select"});t.exports=a},"4bf6":function(t,e,i){var n=i("66fc"),a=i("697e"),r=i("f934"),o=r.getLayoutRect,s=i("6d8b"),l=s.each;function u(t,e,i){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,i),this.model=t}u.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:u,_init:function(t,e,i){var r=this.dimension,o=new n(r,a.createScaleByModel(t),[0,0],t.get("type"),t.get("position")),s="category"===o.type;o.onBand=s&&t.get("boundaryGap"),o.inverse=t.get("inverse"),o.orient=t.get("orient"),t.axis=o,o.model=t,o.coordinateSystem=this,this._axis=o},update:function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();l(e.mapDimension(this.dimension,!0),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),a.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(t,e){this._rect=o({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,e=this._axis,i=e.isHorizontal(),n=i?[0,t.width]:[0,t.height],a=e.reverse?1:0;e.setExtent(n[a],n[1-a]),this._updateAxisTransform(e,i?t.x:t.y)},_updateAxisTransform:function(t,e){var i=t.getExtent(),n=i[0]+i[1],a=t.isHorizontal();t.toGlobalCoord=a?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord=a?function(t){return t-e}:function(t){return n-t+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(t){var e=this.getRect(),i=this.getAxis(),n=i.orient;return"horizontal"===n?i.contain(i.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:i.contain(i.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(),i=this.getRect(),n=[],a="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),n[a]=e.toGlobalCoord(e.dataToCoord(+t)),n[1-a]=0===a?i.y+i.height/2:i.x+i.width/2,n}};var c=u;t.exports=c},"4c86":function(t,e,i){var n=i("6d8b"),a=n.each,r=i("bda7"),o=i("e0d3"),s=o.makeInner,l=i("320a"),u=i("1792"),c=i("6bd4"),h=i("a7f2"),d=s(),f={load:function(t,e,i){var n=d(e).parsed;if(n)return n;var o,s=e.specialAreas||{},f=e.geoJSON;try{o=f?r(f,i):[]}catch(g){throw new Error("Invalid geoJson format\n"+g.message)}return l(t,o),a(o,(function(e){var i=e.name;u(t,e),c(t,e),h(t,e);var n=s[i];n&&e.transformTo(n.left,n.top,n.width,n.height)})),d(e).parsed={regions:o,boundingRect:p(o)}}};function p(t){for(var e,i=0;i0?o:s)}function c(t,e){return e.get(t>0?a:r)}}};t.exports=l},"4d62":function(t,e,i){var n=i("2306"),a=i("6d8b"),r=i("e887");function o(t,e){n.Group.call(this);var i=new n.Polygon,a=new n.Polyline,r=new n.Text;this.add(i),this.add(a),this.add(r),this.highDownOnUpdate=function(t,e){"emphasis"===e?(a.ignore=a.hoverIgnore,r.ignore=r.hoverIgnore):(a.ignore=a.normalIgnore,r.ignore=r.normalIgnore)},this.updateData(t,e,!0)}var s=o.prototype,l=["itemStyle","opacity"];s.updateData=function(t,e,i){var r=this.childAt(0),o=t.hostModel,s=t.getItemModel(e),u=t.getItemLayout(e),c=t.getItemModel(e).get(l);c=null==c?1:c,r.useStyle({}),i?(r.setShape({points:u.points}),r.setStyle({opacity:0}),n.initProps(r,{style:{opacity:c}},o,e)):n.updateProps(r,{style:{opacity:c},shape:{points:u.points}},o,e);var h=s.getModel("itemStyle"),d=t.getItemVisual(e,"color");r.setStyle(a.defaults({lineJoin:"round",fill:d},h.getItemStyle(["opacity"]))),r.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),n.setHoverStyle(this)},s._updateLabel=function(t,e){var i=this.childAt(1),a=this.childAt(2),r=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e),l=s.label,u=t.getItemVisual(e,"color");n.updateProps(i,{shape:{points:l.linePoints||l.linePoints}},r,e),n.updateProps(a,{style:{x:l.x,y:l.y}},r,e),a.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var c=o.getModel("label"),h=o.getModel("emphasis.label"),d=o.getModel("labelLine"),f=o.getModel("emphasis.labelLine");u=t.getItemVisual(e,"color");n.setLabelStyle(a.style,a.hoverStyle={},c,h,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:u,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign}),a.ignore=a.normalIgnore=!c.get("show"),a.hoverIgnore=!h.get("show"),i.ignore=i.normalIgnore=!d.get("show"),i.hoverIgnore=!f.get("show"),i.setStyle({stroke:u}),i.setStyle(d.getModel("lineStyle").getLineStyle()),i.hoverStyle=f.getModel("lineStyle").getLineStyle()},a.inherits(o,n.Group);var u=r.extend({type:"funnel",render:function(t,e,i){var n=t.getData(),a=this._data,r=this.group;n.diff(a).add((function(t){var e=new o(n,t);n.setItemGraphicEl(t,e),r.add(e)})).update((function(t,e){var i=a.getItemGraphicEl(e);i.updateData(n,t),r.add(i),n.setItemGraphicEl(t,i)})).remove((function(t){var e=a.getItemGraphicEl(t);r.remove(e)})).execute(),this._data=n},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),c=u;t.exports=c},"4d85":function(t,e,i){var n=i("e46b"),a=i("4f85"),r=a.extend({type:"series.gauge",getInitialData:function(t,e){return n(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),o=r;t.exports=o},"4dcc":function(t,e,i){t.exports=i.p+"img/puer.5d1ad707.jpg"},"4e08":function(t,e,i){(function(t){var i;"undefined"!==typeof window?i=window.__DEV__:"undefined"!==typeof t&&(i=t.__DEV__),"undefined"===typeof i&&(i=!0);var n=i;e.__DEV__=n}).call(this,i("c8ba"))},"4e10":function(t,e,i){var n=i("6d8b"),a=i("e46b"),r=i("4f85"),o=i("eda2"),s=o.encodeHTML,l=o.addCommas,u=i("7023"),c=i("2b17"),h=c.retrieveRawAttr,d=i("5b87"),f=i("0f99"),p=f.makeSeriesEncodeForNameBased,g=r.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var e=a(this,{coordDimensions:["value"],encodeDefaulter:n.curry(p,this)}),i=e.mapDimension("value"),r=n.createHashMap(),o=[],s=[],l=0,u=e.count();l":"\n";return c.join(", ")+p+s(o+" : "+r)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),i=this.coordinateSystem,n=i.getRegion(e);return n&&i.dataToPoint(n.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"}});n.mixin(g,u);var m=g;t.exports=m},"4e47":function(t,e,i){var n=i("6d8b"),a=i("2306"),r={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},o=2,s=4;function l(t,e,i){a.Group.call(this);var n=new a.Sector({z2:o});n.seriesIndex=e.seriesIndex;var r=new a.Text({z2:s,silent:t.getModel("label").get("silent")});function l(){r.ignore=r.hoverIgnore}function u(){r.ignore=r.normalIgnore}this.add(n),this.add(r),this.updateData(!0,t,"normal",e,i),this.on("emphasis",l).on("normal",u).on("mouseover",l).on("mouseout",u)}var u=l.prototype;u.updateData=function(t,e,i,r,o){this.node=e,e.piece=this,r=r||this._seriesModel,o=o||this._ecModel;var s=this.childAt(0);s.dataIndex=e.dataIndex;var l=e.getModel(),u=e.getLayout(),c=n.extend({},u);c.label=null;var d=h(e,r,o);p(e,r,d);var f,g=l.getModel("itemStyle").getItemStyle();if("normal"===i)f=g;else{var m=l.getModel(i+".itemStyle").getItemStyle();f=n.merge(m,g)}f=n.defaults({lineJoin:"bevel",fill:f.fill||d},f),t?(s.setShape(c),s.shape.r=u.r0,a.updateProps(s,{shape:{r:u.r}},r,e.dataIndex),s.useStyle(f)):"object"===typeof f.fill&&f.fill.type||"object"===typeof s.style.fill&&s.style.fill.type?(a.updateProps(s,{shape:c},r),s.useStyle(f)):a.updateProps(s,{shape:c,style:f},r),this._updateLabel(r,d,i);var v=l.getShallow("cursor");if(v&&s.attr("cursor",v),t){var y=r.getShallow("highlightPolicy");this._initEvents(s,e,r,y)}this._seriesModel=r||this._seriesModel,this._ecModel=o||this._ecModel,a.setHoverStyle(this)},u.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode((function(i){i.piece&&(e.node===i?i.piece.updateData(!1,i,"emphasis"):f(i,e.node,t)?i.piece.childAt(0).trigger("highlight"):t!==r.NONE&&i.piece.childAt(0).trigger("downplay"))}))},u.onNormal=function(){this.node.hostTree.root.eachNode((function(t){t.piece&&t.piece.updateData(!1,t,"normal")}))},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(t,e,i){var r=this.node.getModel(),o=r.getModel("label"),s="normal"===i||"emphasis"===i?o:r.getModel(i+".label"),l=r.getModel("emphasis.label"),u=s.get("formatter"),c=u?i:"normal",h=n.retrieve(t.getFormattedLabel(this.node.dataIndex,c,null,null,"label"),this.node.name);!1===A("show")&&(h="");var d=this.node.getLayout(),f=s.get("minAngle");null==f&&(f=o.get("minAngle")),f=f/180*Math.PI;var p=d.endAngle-d.startAngle;null!=f&&Math.abs(p)Math.PI/2?"right":"left"):w&&"center"!==w?"left"===w?(m=d.r0+b,v>Math.PI/2&&(w="right")):"right"===w&&(m=d.r-b,v>Math.PI/2&&(w="left")):(m=(d.r+d.r0)/2,w="center"),g.attr("style",{text:h,textAlign:w,textVerticalAlign:A("verticalAlign")||"middle",opacity:A("opacity")});var S=m*y+d.cx,M=m*x+d.cy;g.attr("position",[S,M]);var I=A("rotate"),T=0;function A(t){var e=s.get(t);return null==e?o.get(t):e}"radial"===I?(T=-v,T<-Math.PI/2&&(T+=Math.PI)):"tangential"===I?(T=Math.PI/2-v,T>Math.PI/2?T-=Math.PI:T<-Math.PI/2&&(T+=Math.PI)):"number"===typeof I&&(T=I*Math.PI/180),g.attr("rotation",T)},u._initEvents=function(t,e,i,n){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var a=this,r=function(){a.onEmphasis(n)},o=function(){a.onNormal()},s=function(){a.onDownplay()},l=function(){a.onHighlight()};i.isAnimationEnabled()&&t.on("mouseover",r).on("mouseout",o).on("emphasis",r).on("normal",o).on("downplay",s).on("highlight",l)},n.inherits(l,a.Group);var c=l;function h(t,e,i){var n=t.getVisual("color"),a=t.getVisual("visualMeta");a&&0!==a.length||(n=null);var r=t.getModel("itemStyle").get("color");if(r)return r;if(n)return n;if(0===t.depth)return i.option.color[0];var o=i.option.color.length;return r=i.option.color[d(t)%o],r}function d(t){var e=t;while(e.depth>1)e=e.parentNode;var i=t.getAncestors()[0];return n.indexOf(i.children,e)}function f(t,e,i){return i!==r.NONE&&(i===r.SELF?t===e:i===r.ANCESTOR?t===e||t.isAncestorOf(e):t===e||t.isDescendantOf(e))}function p(t,e,i){var n=e.getData();n.setItemVisual(t.dataIndex,"color",i)}t.exports=c},"4e9f":function(t,e,i){var n=i("22d1"),a=i("29a8"),r=i("2145"),o=a.toolbox.saveAsImage;function s(t){this.model=t}s.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()},s.prototype.unusable=!n.canvasSupported;var l=s.prototype;l.onclick=function(t,e){var i=this.model,a=i.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":i.get("type",!0)||"png",s=e.getConnectedDataURL({type:o,backgroundColor:i.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if("function"!==typeof MouseEvent||n.browser.ie||n.browser.edge)if(window.navigator.msSaveOrOpenBlob){var l=atob(s.split(",")[1]),u=l.length,c=new Uint8Array(u);while(u--)c[u]=l.charCodeAt(u);var h=new Blob([c]);window.navigator.msSaveOrOpenBlob(h,a+"."+o)}else{var d=i.get("lang"),f='',p=window.open();p.document.write(f)}else{var g=document.createElement("a");g.download=a+"."+o,g.target="_blank",g.href=s;var m=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});g.dispatchEvent(m)}},r.register("saveAsImage",s);var u=s;t.exports=u},"4f85":function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),r=i("22d1"),o=i("eda2"),s=o.formatTime,l=o.encodeHTML,u=o.addCommas,c=o.getTooltipMarker,h=i("e0d3"),d=i("6cb7"),f=i("e47b"),p=i("38a2"),g=i("f934"),m=g.getLayoutParams,v=g.mergeLayoutParam,y=i("f47d"),x=y.createTask,_=i("0f99"),b=_.prepareSource,w=_.getSource,S=i("2b17"),M=S.retrieveRawValue,I=h.makeInner(),T=d.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,i,n){this.seriesIndex=this.componentIndex,this.dataTask=x({count:D,reset:L}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,i),b(this);var a=this.getInitialData(t,i);k(a,this),this.dataTask.context.data=a,I(this).dataBeforeProcessed=a,A(this)},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,n=i?m(t):{},r=this.subType;d.hasClass(r)&&(r+="Series"),a.merge(t,e.getTheme().get(this.subType)),a.merge(t,this.getDefaultOption()),h.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),i&&v(t,n,i)},mergeOption:function(t,e){t=a.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var i=this.layoutMode;i&&v(this.option,t,i),b(this);var n=this.getInitialData(t,e);k(n,this),this.dataTask.dirty(),this.dataTask.context.data=n,I(this).dataBeforeProcessed=n,A(this)},fillDataTextStyle:function(t){if(t&&!a.isTypedArray(t))for(var e=["show"],i=0;i":"\n",d="richText"===n,f={},p=0;function g(i){var o=a.reduce(i,(function(t,e,i){var n=v.getDimensionInfo(i);return t|(n&&!1!==n.tooltip&&null!=n.displayName)}),0),h=[];function g(t,i){var a=v.getDimensionInfo(i);if(a&&!1!==a.otherDims.tooltip){var g=a.type,m="sub"+r.seriesIndex+"at"+p,y=c({color:w,type:"subItem",renderMode:n,markerId:m}),x="string"===typeof y?y:y.content,_=(o?x+l(a.displayName||"-")+": ":"")+l("ordinal"===g?t+"":"time"===g?e?"":s("yyyy/MM/dd hh:mm:ss",t):u(t));_&&h.push(_),d&&(f[m]=w,++p)}}y.length?a.each(y,(function(e){g(M(v,t,e),e)})):a.each(i,g);var m=o?d?"\n":"
":"",x=m+h.join(m||", ");return{renderMode:n,content:x,style:f}}function m(t){return{renderMode:n,content:l(u(t)),style:f}}var v=this.getData(),y=v.mapDimension("defaultedTooltip",!0),x=y.length,_=this.getRawValue(t),b=a.isArray(_),w=v.getItemVisual(t,"color");a.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=x>1||b&&!x?g(_):m(x?M(v,t,y[0]):b?_[0]:_),I=S.content,T=r.seriesIndex+"at"+p,A=c({color:w,type:"item",renderMode:n,markerId:T});f[T]=w,++p;var C=v.getName(t),D=this.name;h.isNameSpecified(this)||(D=""),D=D?l(D)+(e?": ":o):"";var L="string"===typeof A?A:A.content,P=e?L+D+I:D+L+(C?l(C)+": "+I:I);return{html:P,markers:f}},isAnimationEnabled:function(){if(r.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,i){var n=this.ecModel,a=f.getColorFromPalette.call(this,t,e,i);return a||(a=n.getColorFromPalette(t,e,i)),a},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 A(t){var e=t.name;h.isNameSpecified(t)||(t.name=C(t)||e)}function C(t){var e=t.getRawData(),i=e.mapDimension("seriesName",!0),n=[];return a.each(i,(function(t){var i=e.getDimensionInfo(t);i.displayName&&n.push(i.displayName)})),n.join(" ")}function D(t){return t.model.getRawData().count()}function L(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),P}function P(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function k(t,e){a.each(t.CHANGABLE_METHODS,(function(i){t.wrapMethod(i,a.curry(O,e))}))}function O(t){var e=R(t);e&&e.setOutputEnd(this.count())}function R(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var n=i.currentTask;if(n){var a=n.agentStubMap;a&&(n=a.get(t.uid))}return n}}a.mixin(T,p),a.mixin(T,f);var E=T;t.exports=E},"4fac":function(t,e,i){var n=i("620b"),a=i("9c2c");function r(t,e,i){var r=e.points,o=e.smooth;if(r&&r.length>=2){if(o&&"spline"!==o){var s=a(r,o,i,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var l=r.length,u=0;u<(i?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=r[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}}else{"spline"===o&&(r=n(r,i)),t.moveTo(r[0][0],r[0][1]);u=1;for(var f=r.length;u=0}function l(t,e){t=t.slice();var i=n.map(t,a.capitalFirst);e=(e||[]).slice();var r=n.map(e,a.capitalFirst);return function(a,o){n.each(t,(function(t,n){for(var s={name:t,capital:i[n]},l=0;l=0}function r(t,a){var r=!1;return e((function(e){n.each(i(t,e)||[],(function(t){a.records[e.name][t]&&(r=!0)}))})),r}function o(t,a){a.nodes.push(t),e((function(e){n.each(i(t,e)||[],(function(t){a.records[e.name][t]=!0}))}))}}e.isCoordSupported=s,e.createNameEach=l,e.eachAxisDim=u,e.createLinkedNodesFinder=c},"527a":function(t,e,i){var n=i("6d8b"),a=i("3842");function r(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),i=t.coordinateSystem,n={},r=i.getRect();n.rect=r;var s=t.get("boundaryGap"),l=i.getAxis();if(n.boundaryGap=s,"horizontal"===l.orient){s[0]=a.parsePercent(s[0],r.height),s[1]=a.parsePercent(s[1],r.height);var u=r.height-s[0]-s[1];o(e,t,u)}else{s[0]=a.parsePercent(s[0],r.width),s[1]=a.parsePercent(s[1],r.width);var c=r.width-s[0]-s[1];o(e,t,c)}e.setLayout("layoutInfo",n)}))}function o(t,e,i){if(t.count())for(var a,r=e.coordinateSystem,o=e.getLayerSeries(),l=t.mapDimension("single"),u=t.mapDimension("value"),c=n.map(o,(function(e){return n.map(e.indices,(function(e){var i=r.dataToPoint(t.get(l,e));return i[1]=t.get(u,e),i}))})),h=s(c),d=h.y0,f=i/h.max,p=o.length,g=o[0].indices.length,m=0;mr&&(r=u),n.push(u)}for(var c=0;cr&&(r=d)}return o.y0=a,o.max=r,o}t.exports=r},"53f3":function(t,e){function i(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var i=t.option.nodeScaleRatio,n=e.scale,a=n&&n[0]||1,r=e.getZoom(),o=(r-1)*i+1;return o/a}function n(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}e.getNodeGlobalScale=i,e.getSymbolSize=n},5450:function(t,e,i){i("7419"),i("29a9")},"54fb":function(t,e){function i(t){t.eachSeriesByType("map",(function(t){var e=t.get("color"),i=t.getModel("itemStyle"),n=i.get("areaColor"),a=i.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:n,color:a})}))}t.exports=i},"551f":function(t,e,i){var n=i("282b"),a=n([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),r={getItemStyle:function(t,e){var i=a(this,t,e),n=this.getBorderLineDash();return n&&(i.lineDash=n),i},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}};t.exports=r},5522:function(t,e,i){i("23e0"),i("1748"),i("6c12")},5576:function(t,e,i){var n=i("6d8b"),a=i("4a01"),r=i("88b3"),o="\0_ec_dataZoom_roams";function s(t,e){var i=c(t),a=e.dataZoomId,o=e.coordId;n.each(i,(function(t,i){var r=t.dataZoomInfos;r[a]&&n.indexOf(e.allCoordIds,o)<0&&(delete r[a],t.count--)})),d(i);var s=i[o];s||(s=i[o]={coordId:o,dataZoomInfos:{},count:0},s.controller=h(t,s),s.dispatchAction=n.curry(f,t)),!s.dataZoomInfos[a]&&s.count++,s.dataZoomInfos[a]=e;var l=p(s.dataZoomInfos);s.controller.enable(l.controlType,l.opt),s.controller.setPointerChecker(e.containsPoint),r.createOrUpdate(s,"dispatchAction",e.dataZoomModel.get("throttle",!0),"fixRate")}function l(t,e){var i=c(t);n.each(i,(function(t){t.controller.dispose();var i=t.dataZoomInfos;i[e]&&(delete i[e],t.count--)})),d(i)}function u(t){return t.type+"\0_"+t.id}function c(t){var e=t.getZr();return e[o]||(e[o]={})}function h(t,e){var i=new a(t.getZr());return n.each(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(i){var a=[];n.each(e.dataZoomInfos,(function(n){if(i.isAvailableBehavior(n.dataZoomModel.option)){var r=(n.getRange||{})[t],o=r&&r(e.controller,i);!n.dataZoomModel.get("disabled",!0)&&o&&a.push({dataZoomId:n.dataZoomId,start:o[0],end:o[1]})}})),a.length&&e.dispatchAction(a)}))})),i}function d(t){n.each(t,(function(e,i){e.count||(e.controller.dispose(),delete t[i])}))}function f(t,e){t.dispatchAction({type:"dataZoom",batch:e})}function p(t){var e,i="type_",a={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return n.each(t,(function(t){var n=t.dataZoomModel,o=!n.get("disabled",!0)&&(!n.get("zoomLock",!0)||"move");a[i+o]>a[i+e]&&(e=o),r&=n.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}e.register=s,e.unregister=l,e.generateCoordId=u},"55ac":function(t,e,i){var n=i("6d8b");function a(t,e,i){if(t&&n.indexOf(e,t.type)>=0){var a=i.getData().tree.root,r=t.targetNode;if("string"===typeof r&&(r=a.getNodeById(r)),r&&a.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=a.getNodeById(o)))return{node:r}}}function r(t){var e=[];while(t)t=t.parentNode,t&&e.push(t);return e.reverse()}function o(t,e){var i=r(t);return n.indexOf(i,e)>=0}function s(t,e){var i=[];while(t){var n=t.dataIndex;i.push({name:t.name,dataIndex:n,value:e.getRawValue(n)}),t=t.parentNode}return i.reverse(),i}e.retrieveTargetInfo=a,e.getPathToRoot=r,e.aboveViewRoot=o,e.wrapTreePathInfo=s},"560a":function(t,e,i){t.exports=i.p+"img/beijing.588b8c74.jpg"},"562e":function(t,e,i){var n=i("6d8b");function a(t){null!=t&&n.extend(this,t),this.otherDims={}}var r=a;t.exports=r},5693:function(t,e){function i(t,e){var i,n,a,r,o,s=e.x,l=e.y,u=e.width,c=e.height,h=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof h?i=n=a=r=h:h instanceof Array?1===h.length?i=n=a=r=h[0]:2===h.length?(i=a=h[0],n=r=h[1]):3===h.length?(i=h[0],n=r=h[1],a=h[2]):(i=h[0],n=h[1],a=h[2],r=h[3]):i=n=a=r=0,i+n>u&&(o=i+n,i*=u/o,n*=u/o),a+r>u&&(o=a+r,a*=u/o,r*=u/o),n+a>c&&(o=n+a,n*=c/o,a*=c/o),i+r>c&&(o=i+r,i*=c/o,r*=c/o),t.moveTo(s+i,l),t.lineTo(s+u-n,l),0!==n&&t.arc(s+u-n,l+n,n,-Math.PI/2,0),t.lineTo(s+u,l+c-a),0!==a&&t.arc(s+u-a,l+c-a,a,0,Math.PI/2),t.lineTo(s+r,l+c),0!==r&&t.arc(s+r,l+c-r,r,Math.PI/2,Math.PI),t.lineTo(s,l+i),0!==i&&t.arc(s+i,l+i,i,Math.PI,1.5*Math.PI)}e.buildPath=i},5866:function(t,e,i){var n=i("ef2b"),a=n.forceLayout,r=i("1c5f"),o=r.simpleLayout,s=i("94e4"),l=s.circularLayout,u=i("3842"),c=u.linearMap,h=i("401b"),d=i("6d8b"),f=i("0c37"),p=f.getCurvenessForEdge;function g(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var i=t.preservedPoints||{},n=t.getGraph(),r=n.data,s=n.edgeData,u=t.getModel("force"),f=u.get("initLayout");t.preservedPoints?r.each((function(t){var e=r.getId(t);r.setItemLayout(t,i[e]||[NaN,NaN])})):f&&"none"!==f?"circular"===f&&l(t,"value"):o(t);var g=r.getDataExtent("value"),m=s.getDataExtent("value"),v=u.get("repulsion"),y=u.get("edgeLength");d.isArray(v)||(v=[v,v]),d.isArray(y)||(y=[y,y]),y=[y[1],y[0]];var x=r.mapArray("value",(function(t,e){var i=r.getItemLayout(e),n=c(t,g,v);return isNaN(n)&&(n=(v[0]+v[1])/2),{w:n,rep:n,fixed:r.getItemModel(e).get("fixed"),p:!i||isNaN(i[0])||isNaN(i[1])?null:i}})),_=s.mapArray("value",(function(e,i){var a=n.getEdgeByIndex(i),r=c(e,m,y);isNaN(r)&&(r=(y[0]+y[1])/2);var o=a.getModel(),s=d.retrieve3(o.get("lineStyle.curveness"),-p(a,t,i,!0),0);return{n1:x[a.node1.dataIndex],n2:x[a.node2.dataIndex],d:r,curveness:s,ignoreForceLayout:o.get("ignoreForceLayout")}})),b=(e=t.coordinateSystem,e.getBoundingRect()),w=a(x,_,{rect:b,gravity:u.get("gravity"),friction:u.get("friction")}),S=w.step;w.step=function(t){for(var e=0,a=x.length;e=0;o--)null==i[o]&&(delete a[e[o]],e.pop())}function p(t,e){var i=t.visual,a=[];n.isObject(i)?s(i,(function(t){a.push(t)})):null!=i&&a.push(i);var r={color:1,symbol:1};e||1!==a.length||r.hasOwnProperty(t.type)||(a[1]=a[0]),w(t,a)}function g(t){return{applyVisual:function(e,i,n){e=this.mapValueToVisual(e),n("color",t(i("color"),e))},_doMap:_([0,1])}}function m(t){var e=this.option.visual;return e[Math.round(o(t,[0,1],[0,e.length-1],!0))]||{}}function v(t){return function(e,i,n){n(t,this.mapValueToVisual(e))}}function y(t){var e=this.option.visual;return e[this.option.loop&&t!==u?t%e.length:t]}function x(){return this.option.visual[0]}function _(t){return{linear:function(e){return o(e,t,this.option.visual,!0)},category:y,piecewise:function(e,i){var n=b.call(this,i);return null==n&&(n=o(e,t,this.option.visual,!0)),n},fixed:x}}function b(t){var e=this.option,i=e.pieceList;if(e.hasSpecialVisual){var n=c.findPieceIndex(t,i),a=i[n];if(a&&a.visual)return a.visual[this.type]}}function w(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=n.map(e,(function(t){return a.parse(t)}))),e}var S={linear:function(t){return o(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,i=c.findPieceIndex(t,e,!0);if(null!=i)return o(i,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?u:e},fixed:n.noop};function M(t,e,i){return t?e<=i:e=0;if(a){var r="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];r&&h(t,r,e,i)}else h(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var o=e.button;return null==e.which&&void 0!==o&&u.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e}function g(t,e,i,n){l?t.addEventListener(e,i,n):t.attachEvent("on"+e,i)}function m(t,e,i,n){l?t.removeEventListener(e,i,n):t.detachEvent("on"+e,i)}var v=l?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function y(t){return 2===t.which||3===t.which}function x(t){return t.which>1}e.clientToLocal=h,e.getNativeEvent=f,e.normalizeEvent=p,e.addEventListener=g,e.removeEventListener=m,e.stop=v,e.isMiddleOrRightButtonOnMouseUpDown=y,e.notLeftMouse=x},"60d7":function(t,e,i){var n=i("2306"),a=i("e887"),r=.3,o=a.extend({type:"parallel",init:function(){this._dataGroup=new n.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(t,e,i,a){var r=this._dataGroup,o=t.getData(),d=this._data,f=t.coordinateSystem,p=f.dimensions,g=c(t);function m(t){var e=u(o,r,t,p,f);h(e,o,t,g)}function v(e,i){var r=d.getItemGraphicEl(i),s=l(o,e,p,f);o.setItemGraphicEl(e,r);var u=a&&!1===a.animation?null:t;n.updateProps(r,{shape:{points:s}},u,e),h(r,o,e,g)}function y(t){var e=d.getItemGraphicEl(t);r.remove(e)}if(o.diff(d).add(m).update(v).remove(y).execute(),!this._initialized){this._initialized=!0;var x=s(f,t,(function(){setTimeout((function(){r.removeClipPath()}))}));r.setClipPath(x)}this._data=o},incrementalPrepareRender:function(t,e,i){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,i){for(var n=e.getData(),a=e.coordinateSystem,r=a.dimensions,o=c(e),s=t.start;s65535?x:b}function S(t){var e=t.constructor;return e===Array?t.slice():new e(t)}var M=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],I=["_extent","_approximateExtent","_rawExtent"];function T(t,e){a.each(M.concat(e.__wrappedMethods||[]),(function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})),t.__wrappedMethods=e.__wrappedMethods,a.each(I,(function(i){t[i]=a.clone(e[i])})),t._calculationInfo=a.extend(e._calculationInfo)}var A=function(t,e){t=t||["x","y"];for(var i={},n=[],r={},o=0;o=0?this._indices[t]:-1}function R(t,e){var i=t._idList[e];return null==i&&(i=P(t,t._idDimIdx,e)),null==i&&(i=v+e),i}function E(t){return a.isArray(t)||(t=[t]),t}function N(t,e){var i=t.dimensions,n=new A(a.map(i,t.getDimensionInfo,t),t.hostModel);T(n,t);for(var r=n._storage={},o=t._storage,s=0;s=0?(r[l]=z(o[l]),n._rawExtent[l]=B(),n._extent[l]=null):r[l]=o[l])}return n}function z(t){for(var e=new Array(t.length),i=0;ix[1]&&(x[1]=y)}e&&(this._nameList[f]=e[p])}this._rawCount=this._count=l,this._extent={},L(this)},C._initDataFromProvider=function(t,e){if(!(t>=e)){for(var i,n=this._chunkSize,a=this._rawData,r=this._storage,o=this.dimensions,s=o.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;pM[1]&&(M[1]=S)}if(!a.pure){var I=u[y];if(v&&null==I)if(null!=v.name)u[y]=I=v.name;else if(null!=i){var T=o[i],A=r[T][x];if(A){I=A[_];var C=l[T].ordinalMeta;C&&C.categories.length&&(I=C.categories[I])}}var P=null==v?null:v.id;null==P&&null!=I&&(d[I]=d[I]||0,P=I,d[I]>0&&(P+="__ec__"+d[I]),d[I]++),null!=P&&(c[y]=P)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=e,this._extent={},L(this)}},C.count=function(){return this._count},C.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,i=this._count;if(e===Array){a=new e(i);for(var n=0;n=0&&e=0&&es&&(s=u)}return n=[o,s],this._extent[t]=n,n},C.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},C.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},C.getCalculationInfo=function(t){return this._calculationInfo[t]},C.setCalculationInfo=function(t,e){p(t)?a.extend(this._calculationInfo,t):this._calculationInfo[t]=e},C.getSum=function(t){var e=this._storage[t],i=0;if(e)for(var n=0,a=this.count();n=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,i=e[t];if(null!=i&&it))return r;a=r-1}}return-1},C.indicesOfNearest=function(t,e,i){var n=this._storage,a=n[t],r=[];if(!a)return r;null==i&&(i=1/0);for(var o=1/0,s=-1,l=0,u=0,c=this.count();u=0&&s<0)&&(o=d,s=h,l=0),h===s&&(r[l++]=u))}return r.length=l,r},C.getRawIndex=k,C.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],i=0;i=u&&y<=c||isNaN(y))&&(o[s++]=d),d++}h=!0}else if(2===n){f=this._storage[l];var x=this._storage[e[1]],_=t[e[1]][0],b=t[e[1]][1];for(p=0;p=u&&y<=c||isNaN(y))&&(M>=_&&M<=b||isNaN(M))&&(o[s++]=d),d++}}h=!0}}if(!h)if(1===n)for(v=0;v=u&&y<=c||isNaN(y))&&(o[s++]=I)}else for(v=0;vt[A][1])&&(T=!1)}T&&(o[s++]=this.getRawIndex(v))}return sw[1]&&(w[1]=b)}}}return r},C.downSample=function(t,e,i,n){for(var a=N(this,[t]),r=a._storage,o=[],s=Math.floor(1/e),l=r[t],u=this.count(),c=this._chunkSize,h=a._rawExtent[t],d=new(w(this))(u),f=0,p=0;pu-p&&(s=u-p,o.length=s);for(var g=0;gh[1]&&(h[1]=x),d[f++]=_}return a._count=f,a._indices=d,a.getRawIndex=O,a},C.getItemModel=function(t){var e=this.hostModel;return new r(this.getRawDataItem(t),e,e&&e.ecModel)},C.diff=function(t){var e=this;return new o(t?t.getIndices():[],this.getIndices(),(function(e){return R(t,e)}),(function(t){return R(e,t)}))},C.getVisual=function(t){var e=this._visual;return e&&e[t]},C.setVisual=function(t,e){if(p(t))for(var i in t)t.hasOwnProperty(i)&&this.setVisual(i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},C.setLayout=function(t,e){if(p(t))for(var i in t)t.hasOwnProperty(i)&&this.setLayout(i,t[i]);else this._layout[t]=e},C.getLayout=function(t){return this._layout[t]},C.getItemLayout=function(t){return this._itemLayouts[t]},C.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?a.extend(this._itemLayouts[t]||{},e):e},C.clearItemLayouts=function(){this._itemLayouts.length=0},C.getItemVisual=function(t,e,i){var n=this._itemVisuals[t],a=n&&n[e];return null!=a||i?a:this.getVisual(e)},C.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{},a=this.hasItemVisual;if(this._itemVisuals[t]=n,p(e))for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r],a[r]=!0);else n[e]=i,a[e]=!0},C.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var V=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};C.setItemGraphicEl=function(t,e){var i=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=i&&i.seriesIndex,"group"===e.type&&e.traverse(V,e)),this._graphicEls[t]=e},C.getItemGraphicEl=function(t){return this._graphicEls[t]},C.eachItemGraphicEl=function(t,e){a.each(this._graphicEls,(function(i,n){i&&t&&t.call(e,i,n)}))},C.cloneShallow=function(t){if(!t){var e=a.map(this.dimensions,this.getDimensionInfo,this);t=new A(e,this.hostModel)}if(t._storage=this._storage,T(t,this),this._indices){var i=this._indices.constructor;t._indices=new i(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?O:k,t},C.wrapMethod=function(t,e){var i=this[t];"function"===typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t].concat(a.slice(arguments)))})},C.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],C.CHANGABLE_METHODS=["filterSelf","selectRange"];var G=A;t.exports=G},"618c":function(t,e,i){t.exports=i.p+"img/xiangyin.96864562.jpg"},"620b":function(t,e,i){var n=i("401b"),a=n.distance;function r(t,e,i,n,a,r,o){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*o+(-3*(e-i)-2*s-l)*r+s*a+e}function o(t,e){for(var i=t.length,n=[],o=0,s=1;si-2?i-1:f+1],h=t[f>i-3?i-1:f+2]);var m=p*p,v=p*m;n.push([r(u[0],g[0],c[0],h[0],p,m,v),r(u[1],g[1],c[1],h[1],p,m,v)])}return n}t.exports=o},"625e":function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),r=".",o="___EC__COMPONENT__CONTAINER___";function s(t){var e={main:"",sub:""};return t&&(t=t.split(r),e.main=t[0]||"",e.sub=t[1]||""),e}function l(t){a.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function u(t,e){t.$constructor=t,t.extend=function(t){var e=this,i=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return a.extend(i.prototype,t),i.extend=this.extend,i.superCall=d,i.superApply=f,a.inherits(i,this),i.superClass=e,i}}var c=0;function h(t){var e=["__\0is_clz",c++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function d(t,e){var i=a.slice(arguments,2);return this.superClass.prototype[e].apply(t,i)}function f(t,e,i){return this.superClass.prototype[e].apply(t,i)}function p(t,e){e=e||{};var i={};function n(t){var e=i[t.main];return e&&e[o]||(e=i[t.main]={},e[o]=!0),e}if(t.registerClass=function(t,e){if(e)if(l(e),e=s(e),e.sub){if(e.sub!==o){var a=n(e);a[e.sub]=t}}else i[e.main]=t;return t},t.getClass=function(t,e,n){var a=i[t];if(a&&a[o]&&(a=e?a[e]:null),n&&!a)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return a},t.getClassesByMainType=function(t){t=s(t);var e=[],n=i[t.main];return n&&n[o]?a.each(n,(function(t,i){i!==o&&e.push(t)})):e.push(n),e},t.hasClass=function(t){return t=s(t),!!i[t.main]},t.getAllClassMainTypes=function(){var t=[];return a.each(i,(function(e,i){t.push(i)})),t},t.hasSubTypes=function(t){t=s(t);var e=i[t.main];return e&&e[o]},t.parseClassType=s,e.registerWhenExtend){var r=t.extend;r&&(t.extend=function(e){var i=r.call(this,e);return t.registerClass(i,e.type)})}return t}function g(t,e){}e.parseClassType=s,e.enableClassExtend=u,e.enableClassCheck=h,e.enableClassManagement=p,e.setReadOnly=g},"627c":function(t,e,i){var n=i("6d8b"),a=i("3eba"),r=i("2306"),o=i("f934"),s=o.getLayoutRect,l=i("eda2"),u=l.windowOpen;a.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),a.extendComponentView({type:"title",render:function(t,e,i){if(this.group.removeAll(),t.get("show")){var a=this.group,o=t.getModel("textStyle"),l=t.getModel("subtextStyle"),c=t.get("textAlign"),h=n.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),d=new r.Text({style:r.setTextStyle({},o,{text:t.get("text"),textFill:o.getTextColor()},{disableBox:!0}),z2:10}),f=d.getBoundingRect(),p=t.get("subtext"),g=new r.Text({style:r.setTextStyle({},l,{text:p,textFill:l.getTextColor(),y:f.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),m=t.get("link"),v=t.get("sublink"),y=t.get("triggerEvent",!0);d.silent=!m&&!y,g.silent=!v&&!y,m&&d.on("click",(function(){u(m,"_"+t.get("target"))})),v&&g.on("click",(function(){u(v,"_"+t.get("subtarget"))})),d.eventData=g.eventData=y?{componentType:"title",componentIndex:t.componentIndex}:null,a.add(d),p&&a.add(g);var x=a.getBoundingRect(),_=t.getBoxLayoutParams();_.width=x.width,_.height=x.height;var b=s(_,{width:i.getWidth(),height:i.getHeight()},t.get("padding"));c||(c=t.get("left")||t.get("right"),"middle"===c&&(c="center"),"right"===c?b.x+=b.width:"center"===c&&(b.x+=b.width/2)),h||(h=t.get("top")||t.get("bottom"),"center"===h&&(h="middle"),"bottom"===h?b.y+=b.height:"middle"===h&&(b.y+=b.height/2),h=h||"top"),a.attr("position",[b.x,b.y]);var w={textAlign:c,textVerticalAlign:h};d.setStyle(w),g.setStyle(w),x=a.getBoundingRect();var S=b.margin,M=t.getItemStyle(["color","opacity"]);M.fill=t.get("backgroundColor");var I=new r.Rect({shape:{x:x.x-S[3],y:x.y-S[0],width:x.width+S[1]+S[3],height:x.height+S[0]+S[2],r:t.get("borderRadius")},style:M,subPixelOptimize:!0,silent:!0});a.add(I)}}})},6569:function(t,e,i){var n=i("6d8b"),a=i("e0d3");function r(t){o(t),s(t)}function o(t){if(!t.parallel){var e=!1;n.each(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}}function s(t){var e=a.normalizeToArray(t.parallelAxis);n.each(e,(function(e){if(n.isObject(e)){var i=e.parallelIndex||0,r=a.normalizeToArray(t.parallel)[i];r&&r.parallelAxisDefault&&n.merge(e,r.parallelAxisDefault,!1)}}))}t.exports=r},65820:function(t,e,i){var n=i("cccd"),a={seriesType:"lines",plan:n(),reset:function(t){var e=t.coordinateSystem,i=t.get("polyline"),n=t.pipelineContext.large;function a(a,r){var o=[];if(n){var s,l=a.end-a.start;if(i){for(var u=0,c=a.start;c>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",a[u]+":0",n[1-l]+":auto",a[1-u]+":auto",""].join("!important;"),t.appendChild(o),i.push(o)}return i}function h(t,e,i){for(var n=i?"invTrans":"trans",a=e[n],o=e.srcCoords,s=!0,l=[],u=[],c=0;c<4;c++){var h=t[c].getBoundingClientRect(),d=2*c,f=h.left,p=h.top;l.push(f,p),s=s&&o&&f===o[d]&&p===o[d+1],u.push(t[c].offsetLeft,t[c].offsetTop)}return s&&a?a:(e.srcCoords=l,e[n]=i?r(u,l):r(l,u))}function d(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=l,e.transformCoordWithViewport=u,e.isCanvasEl=d},6641:function(t,e,i){t.exports=i.p+"img/hongyuan.1c23c31a.jpg"},6679:function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),r=i("cd33"),o=a.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,i,n){this.axisPointerClass&&r.fixValue(t),o.superApply(this,"render",arguments),s(this,t,e,i,n,!0)},updateAxisPointer:function(t,e,i,n,a){s(this,t,e,i,n,!1)},remove:function(t,e){var i=this._axisPointer;i&&i.remove(e),o.superApply(this,"remove",arguments)},dispose:function(t,e){l(this,e),o.superApply(this,"dispose",arguments)}});function s(t,e,i,n,a,s){var u=o.getAxisPointerClass(t.axisPointerClass);if(u){var c=r.getAxisPointerModel(e);c?(t._axisPointer||(t._axisPointer=new u)).render(e,c,n,s):l(t,n)}}function l(t,e,i){var n=t._axisPointer;n&&n.dispose(e,i),t._axisPointer=null}var u=[];o.registerAxisPointerClass=function(t,e){u[t]=e},o.getAxisPointerClass=function(t){return t&&u[t]};var c=o;t.exports=c},"66a4":function(t,e,i){var n=i("6d8b");function a(t){var e=t&&t.timeline;n.isArray(e)||(e=e?[e]:[]),n.each(e,(function(t){t&&r(t)}))}function r(t){var e=t.type,i={number:"value",time:"time"};if(i[e]&&(t.axisType=i[e],delete t.type),o(t),s(t,"controlPosition")){var a=t.controlStyle||(t.controlStyle={});s(a,"position")||(a.position=t.controlPosition),"none"!==a.position||s(a,"show")||(a.show=!1,delete a.position),delete t.controlPosition}n.each(t.data||[],(function(t){n.isObject(t)&&!n.isArray(t)&&(!s(t,"value")&&s(t,"name")&&(t.value=t.name),o(t))}))}function o(t){var e=t.itemStyle||(t.itemStyle={}),i=e.emphasis||(e.emphasis={}),a=t.label||t.label||{},r=a.normal||(a.normal={}),o={normal:1,emphasis:1};n.each(a,(function(t,e){o[e]||s(r,e)||(r[e]=t)})),i.label&&!s(a,"emphasis")&&(a.emphasis=i.label,delete i.label)}function s(t,e){return t.hasOwnProperty(e)}t.exports=a},"66fc":function(t,e,i){var n=i("6d8b"),a=i("84ce"),r=function(t,e,i,n,r){a.call(this,t,e,i),this.type=n||"value",this.position=r||"bottom",this.orient=null};r.prototype={constructor:r,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},n.inherits(r,a);var o=r;t.exports=o},"675a":function(t,e){function i(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var i=t.getCategoriesData(),n=t.getGraph(),a=n.data,r=i.mapArray(i.getName);a.filterSelf((function(t){var i=a.getItemModel(t),n=i.getShallow("category");if(null!=n){"number"===typeof n&&(n=r[n]);for(var o=0;o0?1:-1,o=n.height>0?1:-1;return{x:n.x+r*a/2,y:n.y+o*a/2,width:n.width-r*a,height:n.height-o*a}},polar:function(t,e,i){var n=t.getItemLayout(e);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle}}};function D(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function L(t,e,i,n,a,s,u,c){var h=e.getItemVisual(i,"color"),d=e.getItemVisual(i,"opacity"),f=e.getVisual("borderColor"),p=n.getModel("itemStyle"),g=n.getModel("emphasis.itemStyle").getBarItemStyle();c||t.setShape("r",p.get("barBorderRadius")||0),t.useStyle(r.defaults({stroke:D(a)?"none":f,fill:D(a)?"none":h,opacity:d},p.getBarItemStyle()));var m=n.getShallow("cursor");m&&t.attr("cursor",m);var v=u?a.height>0?"bottom":"top":a.width>0?"left":"right";c||l(t.style,g,n,h,s,i,v),D(a)&&(g.fill=g.stroke="none"),o.setHoverStyle(t,g)}function P(t,e){var i=t.get(y)||0,n=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),a=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,n,a)}var k=h.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var i=e.points,n=this.__startPoint,a=this.__baseDimIdx,r=0;r=0?i:null}),30,!1);function E(t,e,i){var n=t.__baseDimIdx,a=1-n,r=t.shape.points,o=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),l=t.__startPoint[a];x[0]=e,x[1]=i;for(var u=x[n],c=x[1-n],h=u-s,d=u+s,f=0,p=r.length/2;f=h&&m<=d&&(l<=v?c>=l&&c<=v:c>=v&&c<=l))return o[f]}return-1}function N(t,e,i){var n=i.getVisual("borderColor")||i.getVisual("color"),a=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(a),t.style.fill=null,t.style.stroke=n,t.style.lineWidth=i.getLayout("barWidth")}function z(t,e,i){var n=e.get("borderColor")||e.get("color"),a=e.getItemStyle(["color","borderColor"]);t.useStyle(a),t.style.fill=null,t.style.stroke=n,t.style.lineWidth=i.getLayout("barWidth")}function B(t,e,i){var n,a="polar"===i.type;return n=a?i.getArea():i.grid.getRect(),a?{cx:n.cx,cy:n.cy,r0:t?n.r0:e.r0,r:t?n.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:t?e.x:n.x,y:t?n.y:e.y,width:t?e.width:n.width,height:t?n.height:e.height}}function V(t,e,i){var n="polar"===t.type?o.Sector:o.Rect;return new n({shape:B(e,i,t),silent:!0,z2:0})}t.exports=b},"68ab":function(t,e,i){var n=i("4a3f"),a=n.quadraticProjectPoint;function r(t,e,i,n,r,o,s,l,u){if(0===s)return!1;var c=s;if(u>e+c&&u>n+c&&u>o+c||ut+c&&l>i+c&&l>r+c||l0&&u>0&&!f&&(s=0),s<0&&u<0&&!p&&(u=0));var m=e.ecModel;if(m&&"time"===o){var v,y=c("bar",m);if(a.each(y,(function(t){v|=t.getBaseAxis()===e.axis})),v){var x=h(y),_=g(s,u,e,x);s=_.min,u=_.max}}return{extent:[s,u],fixMin:f,fixMax:p}}function g(t,e,i,n){var r=i.axis.getExtent(),o=r[1]-r[0],s=d(n,i.axis);if(void 0===s)return{min:t,max:e};var l=1/0;a.each(s,(function(t){l=Math.min(t.offset,l)}));var u=-1/0;a.each(s,(function(t){u=Math.max(t.offset+t.width,u)})),l=Math.abs(l),u=Math.abs(u);var c=l+u,h=e-t,f=1-(l+u)/o,p=h/f-h;return e+=p*(u/c),t-=p*(l/c),{min:t,max:e}}function m(t,e){var i=p(t,e),n=i.extent,a=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var r=t.type;t.setExtent(n[0],n[1]),t.niceExtent({splitNumber:a,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:"interval"===r||"time"===r?e.get("minInterval"):null,maxInterval:"interval"===r||"time"===r?e.get("maxInterval"):null});var o=e.get("interval");null!=o&&t.setInterval&&t.setInterval(o)}function v(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new r(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new o;default:return(s.getClass(e)||o).create(t)}}function y(t){var e=t.scale.getExtent(),i=e[0],n=e[1];return!(i>0&&n>0||i<0&&n<0)}function x(t){var e=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"===typeof e?(e=function(e){return function(i){return i=t.scale.getLabel(i),e.replace("{value}",null!=i?i:"")}}(e),e):"function"===typeof e?function(n,a){return null!=i&&(a=n-i),e(_(t,n),a)}:function(e){return t.scale.getLabel(e)}}function _(t,e){return"category"===t.type?t.scale.getLabel(e):e}function b(t){var e=t.model,i=t.scale;if(e.get("axisLabel.show")&&!i.isBlank()){var n,a,r="category"===t.type,o=i.getExtent();r?a=i.count():(n=i.getTicks(),a=n.length);var s,l=t.getLabelModel(),u=x(t),c=1;a>40&&(c=Math.ceil(a/40));for(var h=0;hi.blockIndex,r=a?i.step:null,o=n&&n.modDataCount,s=null!=o?Math.ceil(o/r):null;return{step:r,modBy:s,modDataCount:o}}},y.getPipeline=function(t){return this._pipelineMap.get(t)},y.updateStreamModes=function(t,e){var i=this._pipelineMap.get(t.uid),n=t.getData(),a=n.count(),r=i.progressiveEnabled&&e.incrementalPrepareRender&&a>=i.threshold,o=t.get("large")&&a>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?a:null;t.pipelineContext=i.context={progressiveRender:r,modDataCount:s,large:o}},y.restorePipelines=function(t){var e=this,i=e._pipelineMap=s();t.eachSeries((function(t){var n=t.getProgressive(),a=t.uid;i.set(a,{id:a,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:n&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),k(e,t,t.dataTask)}))},y.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),i=this.api;a(this._allHandlers,(function(n){var a=t.get(n.uid)||t.set(n.uid,[]);n.reset&&b(this,n,a,e,i),n.overallReset&&w(this,n,a,e,i)}),this)},y.prepareView=function(t,e,i,n){var a=t.renderTask,r=a.context;r.model=e,r.ecModel=i,r.api=n,a.__block=!t.incrementalPrepareRender,k(this,e,a)},y.performDataProcessorTasks=function(t,e){x(this,this._dataProcessorHandlers,t,e,{block:!0})},y.performVisualTasks=function(t,e,i){x(this,this._visualHandlers,t,e,i)},y.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},y.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))};var _=y.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function b(t,e,i,n,a){var r=i.seriesTaskMap||(i.seriesTaskMap=s()),o=e.seriesType,l=e.getTargetSeries;function u(i){var o=i.uid,s=r.get(o)||r.set(o,c({plan:A,reset:C,count:P}));s.context={model:i,ecModel:n,api:a,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},k(t,i,s)}e.createOnAllSeries?n.eachRawSeries(u):o?n.eachRawSeriesByType(o,u):l&&l(n,a).each(u);var h=t._pipelineMap;r.each((function(t,e){h.get(e)||(t.dispose(),r.removeKey(e))}))}function w(t,e,i,n,r){var o=i.overallTask=i.overallTask||c({reset:S});o.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:t};var l=o.agentStubMap=o.agentStubMap||s(),u=e.seriesType,h=e.getTargetSeries,d=!0,f=e.modifyOutputEnd;function p(e){var i=e.uid,n=l.get(i);n||(n=l.set(i,c({reset:M,onDirty:T})),o.dirty()),n.context={model:e,overallProgress:d,modifyOutputEnd:f},n.agent=o,n.__block=d,k(t,e,n)}u?n.eachRawSeriesByType(u,p):h?h(n,r).each(p):(d=!1,a(n.getSeries(),p));var g=t._pipelineMap;l.each((function(t,e){g.get(e)||(t.dispose(),o.dirty(),l.removeKey(e))}))}function S(t){t.overallReset(t.ecModel,t.api,t.payload)}function M(t,e){return t.overallProgress&&I}function I(){this.agent.dirty(),this.getDownstream().dirty()}function T(){this.agent&&this.agent.dirty()}function A(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function C(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=m(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?r(e,(function(t,e){return L(e)})):D}var D=L(0);function L(t){return function(e,i){var n=i.data,a=i.resetDefines[t];if(a&&a.dataEach)for(var r=e.start;r=0;l--)if(n[l]<=e)break;l=Math.min(l,a-2)}else{for(var l=r;le)break;l=Math.min(l-1,a-2)}o.lerp(t.position,i[l],i[l+1],(e-n[l])/(n[l+1]-n[l]));var u=i[l+1][0]-i[l][0],c=i[l+1][1]-i[l][1];t.rotation=-Math.atan2(c,u)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=e,t.ignore=!1}},a.inherits(s,r);var u=s;t.exports=u},"6acf":function(t,e,i){var n=i("eda2"),a=i("dcb3"),r=i("2306"),o=i("ff2e"),s=i("1687"),l=i("fab2"),u=i("6679"),c=a.extend({makeElOption:function(t,e,i,a,r){var s=i.axis;"angle"===s.dim&&(this.animationThreshold=Math.PI/18);var l,u=s.polar,c=u.getOtherAxis(s),f=c.getExtent();l=s["dataTo"+n.capitalFirst(s.dim)](e);var p=a.get("type");if(p&&"none"!==p){var g=o.buildElStyle(a),m=d[p](s,u,l,f,g);m.style=g,t.graphicKey=m.type,t.pointer=m}var v=a.get("label.margin"),y=h(e,i,a,u,v);o.buildLabelElOption(t,i,a,r,y)}});function h(t,e,i,n,a){var o=e.axis,u=o.dataToCoord(t),c=n.getAngleAxis().getExtent()[0];c=c/180*Math.PI;var h,d,f,p=n.getRadiusAxis().getExtent();if("radius"===o.dim){var g=s.create();s.rotate(g,g,c),s.translate(g,g,[n.cx,n.cy]),h=r.applyTransform([u,-a],g);var m=e.getModel("axisLabel").get("rotate")||0,v=l.innerTextLayout(c,m*Math.PI/180,-1);d=v.textAlign,f=v.textVerticalAlign}else{var y=p[1];h=n.coordToPoint([y+a,u]);var x=n.cx,_=n.cy;d=Math.abs(h[0]-x)/y<.3?"center":h[0]>x?"left":"right",f=Math.abs(h[1]-_)/y<.3?"middle":h[1]>_?"top":"bottom"}return{position:h,align:d,verticalAlign:f}}var d={line:function(t,e,i,n,a){return"angle"===t.dim?{type:"Line",shape:o.makeLineShape(e.coordToPoint([n[0],i]),e.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:i}}},shadow:function(t,e,i,n,a){var r=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,n[0],n[1],(-i-r/2)*s,(r/2-i)*s)}:{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,i-r/2,i+r/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c);var f=c;t.exports=f},"6bd4":function(t,e){var i={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function n(t,e){if("world"===t){var n=i[e.name];if(n){var a=e.center;a[0]=n[0],a[1]=n[1]}}}t.exports=n},"6c12":function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),r=i("6d8b"),o=i("fab2"),s=i("2306"),l=["axisLine","axisTickLabel","axisName"],u=a.extendComponentView({type:"radar",render:function(t,e,i){var n=this.group;n.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes(),n=r.map(i,(function(t){var i=new o(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return i}));r.each(n,(function(t){r.each(l,t.add,t),this.group.add(t.getGroup())}),this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes();if(i.length){var n=t.get("shape"),a=t.getModel("splitLine"),o=t.getModel("splitArea"),l=a.getModel("lineStyle"),u=o.getModel("areaStyle"),c=a.get("show"),h=o.get("show"),d=l.get("color"),f=u.get("color");d=r.isArray(d)?d:[d],f=r.isArray(f)?f:[f];var p=[],g=[];if("circle"===n)for(var m=i[0].getTicksCoords(),v=e.cx,y=e.cy,x=0;x=0;o--)r=n.merge(r,e[o],!0);t.defaultOption=r}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});function g(t){var e=[];return n.each(p.getClassesByMainType(t),(function(t){e=e.concat(t.prototype.dependencies||[])})),e=n.map(e,(function(t){return l(t).main})),"dataset"!==t&&n.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e}s(p,{registerWhenExtend:!0}),r.enableSubTypeDefaulter(p),r.enableTopologicalTravel(p,g),n.mixin(p,d);var m=p;t.exports=m},"6cc5":function(t,e,i){var n=i("6d8b"),a=i("401b"),r=i("1687"),o=i("9850"),s=i("0cde"),l=a.applyTransform;function u(){s.call(this)}function c(t){this.name=t,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function h(t,e,i,n){var a=i.seriesModel,r=a?a.coordinateSystem:null;return r===this?r[t](n):null}n.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,i,n){return this._rect=new o(t,e,i,n),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,i,n){this.transformTo(t,e,i,n),this._viewRect=new o(t,e,i,n)},transformTo:function(t,e,i,n){var a=this.getBoundingRect(),r=this._rawTransformable;r.transform=a.calculateTransform(new o(t,e,i,n)),r.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect(),e=t.x+t.width/2,i=t.y+t.height/2;return[e,i]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,i=this.getDefaultCenter(),n=this.getCenter(),r=this.getZoom();n=a.applyTransform([],n,t),i=a.applyTransform([],i,t),e.origin=n,e.position=[i[0]-n[0],i[1]-n[1]],e.scale=[r,r],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),r.copy(this.transform||(this.transform=[]),e.transform||r.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],r.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var t=this._roamTransformable.transform,e=this._rawTransformable;return{roamTransform:t?n.slice(t):r.create(),rawScale:n.slice(e.scale),rawPosition:n.slice(e.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,i){var n=e?this._rawTransform:this.transform;return i=i||[],n?l(i,t,n):a.copy(i,t)},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:n.curry(h,"dataToPoint"),convertFromPixel:n.curry(h,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},n.mixin(c,s);var d=c;t.exports=d},"6cd8":function(t,e,i){var n=i("6d8b"),a=i("2306"),r=i("1418"),o=i("22da"),s=o.radialCoordinate,l=i("3eba"),u=i("e263"),c=i("6cc5"),h=i("01ef"),d=i("4a01"),f=i("c526"),p=f.onIrrelevantElement,g=i("4e08"),m=(g.__DEV__,i("3842")),v=m.parsePercent,y=a.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.childPoints,n=i.length,a=e.parentPoint,r=i[0],o=i[n-1];if(1===n)return t.moveTo(a[0],a[1]),void t.lineTo(r[0],r[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=v(e.forkPosition,1),h=[];h[l]=a[l],h[u]=a[u]+(o[u]-a[u])*c,t.moveTo(a[0],a[1]),t.lineTo(h[0],h[1]),t.moveTo(r[0],r[1]),h[l]=r[l],t.lineTo(h[0],h[1]),h[l]=o[l],t.lineTo(h[0],h[1]),t.lineTo(o[0],o[1]);for(var d=1;dw.x,x||(y-=Math.PI));var T=x?"left":"right",A=s.labelModel.get("rotate"),C=A*(Math.PI/180);v.setStyle({textPosition:s.labelModel.get("position")||T,textRotation:null==A?-y:C,textOrigin:"center",verticalAlign:"middle"})}S(o,u,h,i,g,p,m,n,s)}function S(t,e,i,r,o,s,l,u,c){var h=c.edgeShape,d=r.__edge;if("curve"===h)e.parentNode&&e.parentNode!==i&&(d||(d=r.__edge=new a.BezierCurve({shape:I(c,o,o),style:n.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),a.updateProps(d,{shape:I(c,s,l),style:n.defaults({opacity:1},c.lineStyle)},t));else if("polyline"===h&&"orthogonal"===c.layout&&e!==i&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var f=e.children,p=[],g=0;g=0;r--)n.push(a[r])}}e.eachAfter=i,e.eachBefore=n},"6fda":function(t,e,i){var n=i("6d8b"),a=n.each,r="\0_ec_hist_store";function o(t,e){var i=c(t);a(e,(function(e,n){for(var a=i.length-1;a>=0;a--){var r=i[a];if(r[n])break}if(a<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(o){var s=o.getPercentRange();i[0][n]={dataZoomId:n,start:s[0],end:s[1]}}}})),i.push(e)}function s(t){var e=c(t),i=e[e.length-1];e.length>1&&e.pop();var n={};return a(i,(function(t,i){for(var a=e.length-1;a>=0;a--){t=e[a][i];if(t){n[i]=t;break}}})),n}function l(t){t[r]=null}function u(t){return c(t).length}function c(t){var e=t[r];return e||(e=t[r]=[{}]),e}e.push=o,e.pop=s,e.clear=l,e.count=u},7023:function(t,e,i){var n=i("6d8b"),a={updateSelectedMap:function(t){this._targetList=n.isArray(t)?t.slice():[],this._selectTargetMap=n.reduce(t||[],(function(t,e){return t.set(e.name,e),t}),n.createHashMap())},select:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t),n=this.get("selectedMode");"single"===n&&this._selectTargetMap.each((function(t){t.selected=!1})),i&&(i.selected=!0)},unSelect:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);i&&(i.selected=!1)},toggleSelected:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);if(null!=i)return this[i.selected?"unSelect":"select"](t,e),i.selected},isSelected:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);return i&&i.selected}};t.exports=a},"71ad":function(t,e,i){var n=i("6d8b"),a={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},r={};r.categoryAxis=n.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},a),r.valueAxis=n.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},a),r.timeAxis=n.defaults({scale:!0,min:"dataMin",max:"dataMax"},r.valueAxis),r.logAxis=n.defaults({scale:!0,logBase:10},r.valueAxis);var o=r;t.exports=o},"71b2":function(t,e,i){var n=i("6d8b"),a=n.createHashMap;function r(t){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),i=t.getRawData(),n=t.get("color"),r=a();e.each((function(t){r.set(e.getRawIndex(t),t)})),i.each((function(a){var o=i.getName(a),s=n[(t.nameMap.get(o)-1)%n.length];i.setItemVisual(a,"color",s);var l=r.get(a);null!=l&&e.setItemVisual(l,"color",s)}))}))}t.exports=r},7250:function(t,e,i){},7293:function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("4f85")),r=i("6179"),o=i("6d8b"),s=o.concatArray,l=o.mergeAll,u=o.map,c=i("eda2"),h=c.encodeHTML,d=(i("2039"),"undefined"===typeof Uint32Array?Array:Uint32Array),f="undefined"===typeof Float64Array?Array:Float64Array;function p(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=u(e,(function(t){var e=[t[0].coord,t[1].coord],i={coords:e};return t[0].name&&(i.fromName=t[0].name),t[1].name&&(i.toName=t[1].name),l([i,t[0],t[1]])})))}var g=a.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(t){t.data=t.data||[],p(t);var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count)),g.superApply(this,"init",arguments)},mergeOption:function(t){if(p(t),t.data){var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count))}g.superApply(this,"mergeOption",arguments)},appendData:function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=s(this._flatCoords,e.flatCoords),this._flatCoordsOffset=s(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},_getCoordsFromItemModel:function(t){var e=this.getData().getItemModel(t),i=e.option instanceof Array?e.option:e.getShallow("coords");return i},getLineCoordsCount:function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},getLineCoords:function(t,e){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[2*t],n=this._flatCoordsOffset[2*t+1],a=0;a "))},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}}}),m=g;t.exports=m},"72b6":function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("2306"),o=i("eda2"),s=i("f934"),l=i("5f14"),u=n.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,i,n){this.visualMapModel=t,!1!==t.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,i=o.normalizeCssArray(e.get("padding")||0),n=t.getBoundingRect();t.add(new r.Rect({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,i){i=i||{};var n=i.forceState,r=this.visualMapModel,o={};if("symbol"===e&&(o.symbol=r.get("itemSymbol")),"color"===e){var s=r.get("contentColor");o.color=s}function u(t){return o[t]}function c(t,e){o[t]=e}var h=r.controllerVisuals[n||r.getValueState(t)],d=l.prepareVisualTypes(h);return a.each(d,(function(n){var a=h[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",a=h.__alphaForOpacity),l.dependsOn(n,e)&&a&&a.applyVisual(t,u,c)})),o[e]},positionGroup:function(t){var e=this.visualMapModel,i=this.api;s.positionElement(t,e.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},doRender:a.noop});t.exports=u},7368:function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),r=i("625e"),o=r.enableClassCheck;function s(t){return"_EC_"+t}var l=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},u=l.prototype;function c(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function h(t,e,i){this.node1=t,this.node2=e,this.dataIndex=null==i?-1:i}u.type="graph",u.isDirected=function(){return this._directed},u.addNode=function(t,e){t=null==t?""+e:""+t;var i=this._nodesMap;if(!i[s(t)]){var n=new c(t,e);return n.hostGraph=this,this.nodes.push(n),i[s(t)]=n,n}},u.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},u.getNodeById=function(t){return this._nodesMap[s(t)]},u.addEdge=function(t,e,i){var n=this._nodesMap,a=this._edgesMap;if("number"===typeof t&&(t=this.nodes[t]),"number"===typeof e&&(e=this.nodes[e]),c.isInstance(t)||(t=n[s(t)]),c.isInstance(e)||(e=n[s(e)]),t&&e){var r=t.id+"-"+e.id,o=new h(t,e,i);return o.hostGraph=this,this._directed&&(t.outEdges.push(o),e.inEdges.push(o)),t.edges.push(o),t!==e&&e.edges.push(o),this.edges.push(o),a[r]=o,o}},u.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},u.getEdge=function(t,e){c.isInstance(t)&&(t=t.id),c.isInstance(e)&&(e=e.id);var i=this._edgesMap;return this._directed?i[t+"-"+e]:i[t+"-"+e]||i[e+"-"+t]},u.eachNode=function(t,e){for(var i=this.nodes,n=i.length,a=0;a=0&&t.call(e,i[a],a)},u.eachEdge=function(t,e){for(var i=this.edges,n=i.length,a=0;a=0&&i[a].node1.dataIndex>=0&&i[a].node2.dataIndex>=0&&t.call(e,i[a],a)},u.breadthFirstTraverse=function(t,e,i,n){if(c.isInstance(e)||(e=this._nodesMap[s(e)]),e){for(var a="out"===i?"outEdges":"in"===i?"inEdges":"edges",r=0;r=0&&i.node2.dataIndex>=0}));for(a=0,r=n.length;a=0&&this[t][e].setItemVisual(this.dataIndex,i,n)},getVisual:function(i,n){return this[t][e].getItemVisual(this.dataIndex,i,n)},setLayout:function(i,n){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,i,n)},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)}}};a.mixin(c,d("hostGraph","data")),a.mixin(h,d("hostGraph","edgeData")),l.Node=c,l.Edge=h,o(c),o(h);var f=l;t.exports=f},"73ca":function(t,e,i){var n=i("2306"),a=i("7e5b");function r(t){this._ctor=t||a,this.group=new n.Group}var o=r.prototype;function s(t,e,i,n){var a=e.getItemLayout(i);if(d(a)){var r=new t._ctor(e,i,n);e.setItemGraphicEl(i,r),t.group.add(r)}}function l(t,e,i,n,a,r){var o=e.getItemGraphicEl(n);d(i.getItemLayout(a))?(o?o.updateData(i,a,r):o=new t._ctor(i,a,r),i.setItemGraphicEl(a,o),t.group.add(o)):t.group.remove(o)}function u(t){return t.animators&&t.animators.length>0}function c(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function h(t){return isNaN(t[0])||isNaN(t[1])}function d(t){return!h(t[0])&&!h(t[1])}o.isPersistent=function(){return!0},o.updateData=function(t){var e=this,i=e.group,n=e._lineData;e._lineData=t,n||i.removeAll();var a=c(t);t.diff(n).add((function(i){s(e,t,i,a)})).update((function(i,r){l(e,n,t,r,i,a)})).remove((function(t){i.remove(n.getItemGraphicEl(t))})).execute()},o.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,i){e.updateLayout(t,i)}),this)},o.incrementalPrepareUpdate=function(t){this._seriesScope=c(t),this._lineData=null,this.group.removeAll()},o.incrementalUpdate=function(t,e){function i(t){t.isGroup||u(t)||(t.incremental=t.useHoverLayer=!0)}for(var n=t.start;n=0)return!0}var v=new RegExp("["+c+"]+","g");function y(t){for(var e=t.split(/\n+/g),i=g(e.shift()).split(v),n=[],r=a.map(i,(function(t){return{name:t,data:[]}})),o=0;o1?"emphasis":"normal")}function x(t,e,i,n,a){var r=i._isZoomActive;n&&"takeGlobalCursor"===n.type&&(r="dataZoomSelect"===n.key&&n.dataZoomSelectActive),i._isZoomActive=r,t.setIconStatus("zoom",r?"emphasis":"normal");var s=new o(v(t.option),e,{include:["grid"]});i._brushController.setPanels(s.makePanelOpts(a,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!r&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}g._onBrush=function(t,e){if(e.isEnd&&t.length){var i={},n=this.ecModel;this._brushController.updateCovers([]);var a=new o(v(this.model.option),n,{include:["grid"]});a.matchOutputRanges(t,n,(function(t,e,i){if("cartesian2d"===i.type){var n=t.brushType;"rect"===n?(r("x",i,e[0]),r("y",i,e[1])):r({lineX:"x",lineY:"y"}[n],i,e)}})),s.push(n,i),this._dispatchZoomAction(i)}function r(t,e,a){var r=e.getAxis(t),o=r.model,s=u(t,o,n),c=s.findRepresentativeAxisProxy(o).getMinMaxSpan();null==c.minValueSpan&&null==c.maxValueSpan||(a=l(0,a.slice(),r.scale.getExtent(),0,c.minValueSpan,c.maxValueSpan)),s&&(i[s.id]={dataZoomId:s.id,startValue:a[0],endValue:a[1]})}function u(t,e,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},(function(i){var a=i.getAxisModel(t,e.componentIndex);a&&(n=i)})),n}},g._dispatchZoomAction=function(t){var e=[];d(t,(function(t,i){e.push(a.clone(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},c.register("dataZoom",p),n.registerPreprocessor((function(t){if(t){var e=t.dataZoom||(t.dataZoom=[]);a.isArray(e)||(t.dataZoom=e=[e]);var i=t.toolbox;if(i&&(a.isArray(i)&&(i=i[0]),i&&i.feature)){var n=i.feature.dataZoom;r("xAxis",n),r("yAxis",n)}}function r(t,i){if(i){var n=t+"Index",r=i[n];null==r||"all"===r||a.isArray(r)||(r=!1===r||"none"===r?[]:[r]),o(t,(function(o,s){if(null==r||"all"===r||-1!==a.indexOf(r,s)){var l={type:"select",$fromToolbox:!0,filterMode:i.filterMode||"filter",id:f+t+s};l[n]=s,e.push(l)}}))}}function o(e,i){var n=t[e];a.isArray(n)||(n=n?[n]:[]),d(n,i)}}));var _=p;t.exports=_},"7d6d":function(t,e){var i={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function n(t,e,n){return i.hasOwnProperty(e)?n*t.dpr:n}t.exports=n},"7dcf":function(t,e,i){var n=i("b12f"),a=n.extend({type:"dataZoom",render:function(t,e,i,n){this.dataZoomModel=t,this.ecModel=e,this.api=i},getTargetCoordInfo:function(){var t=this.dataZoomModel,e=this.ecModel,i={};function n(t,e,i,n){for(var a,r=0;r0&&(w[0]=-w[0],w[1]=-w[1]);var M,I=f[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var T=-Math.atan2(f[1],f[0]);c[0].8?"left":h[0]<-.8?"right":"center",m=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":p=[-h[0]*x+u[0],-h[1]*_+u[1]],g=h[0]>.8?"right":h[0]<-.8?"left":"center",m=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":p=[x*I+u[0],u[1]+M],g=f[0]<0?"right":"left",v=[-x*I,-M];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":p=[S[0],S[1]+M],g="center",v=[0,-M];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":p=[-x*I+c[0],c[1]+M],g=f[0]>=0?"right":"left",v=[x*I,-M];break}n.attr({style:{textVerticalAlign:n.__verticalAlign||m,textAlign:n.__textAlign||g},position:p,scale:[r,r],origin:v})}}}}function m(t,e,i){s.Group.call(this),this._createLine(t,e,i)}var v=m.prototype;v.beforeUpdate=g,v._createLine=function(t,e,i){var a=t.hostModel,r=t.getItemLayout(e),o=f(r);o.shape.percent=0,s.initProps(o,{shape:{percent:1}},a,e),this.add(o);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),n.each(c,(function(i){var n=d(i,t,e);this.add(n),this[h(i)]=t.getItemVisual(e,i)}),this),this._updateCommonStl(t,e,i)},v.updateData=function(t,e,i){var a=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),l={shape:{}};p(l.shape,o),s.updateProps(r,l,a,e),n.each(c,(function(i){var n=t.getItemVisual(e,i),a=h(i);if(this[a]!==n){this.remove(this.childOfName(i));var r=d(i,t,e);this.add(r)}this[a]=n}),this),this._updateCommonStl(t,e,i)},v._updateCommonStl=function(t,e,i){var a=t.hostModel,r=this.childOfName("line"),o=i&&i.lineStyle,l=i&&i.hoverLineStyle,h=i&&i.labelModel,d=i&&i.hoverLabelModel;if(!i||t.hasItemOption){var f=t.getItemModel(e);o=f.getModel("lineStyle").getLineStyle(),l=f.getModel("emphasis.lineStyle").getLineStyle(),h=f.getModel("label"),d=f.getModel("emphasis.label")}var p=t.getItemVisual(e,"color"),g=n.retrieve3(t.getItemVisual(e,"opacity"),o.opacity,1);r.useStyle(n.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},o)),r.hoverStyle=l,n.each(c,(function(t){var e=this.childOfName(t);e&&(e.setColor(p),e.setStyle({opacity:g}))}),this);var m,v,y=h.getShallow("show"),x=d.getShallow("show"),_=this.childOfName("label");if((y||x)&&(m=p||"#000",v=a.getFormattedLabel(e,"normal",t.dataType),null==v)){var b=a.getRawValue(e);v=null==b?t.getName(e):isFinite(b)?u(b):b}var w=y?v:null,S=x?n.retrieve2(a.getFormattedLabel(e,"emphasis",t.dataType),v):null,M=_.style;if(null!=w||null!=S){s.setTextStyle(_.style,h,{text:w},{autoColor:m}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=h.get("position")||"middle";var I=h.get("distance");n.isArray(I)||(I=[I,I]),_.__labelDistance=I}_.hoverStyle=null!=S?{text:S,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!x,s.setHoverStyle(this)},v.highlight=function(){this.trigger("emphasis")},v.downplay=function(){this.trigger("normal")},v.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},v.setLinePoints=function(t){var e=this.childOfName("line");p(e.shape,t),e.dirty()},n.inherits(m,s.Group);var y=m;t.exports=y},"7e63":function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),r=a.each,o=a.filter,s=a.map,l=a.isArray,u=a.indexOf,c=a.isObject,h=a.isString,d=a.createHashMap,f=a.assert,p=a.clone,g=a.merge,m=a.extend,v=a.mixin,y=i("e0d3"),x=i("4319"),_=i("6cb7"),b=i("8971"),w=i("e47b"),S=i("0f99"),M=S.resetSourceDefaulter,I="\0_ec_inner",T=x.extend({init:function(t,e,i,n){i=i||{},this.option=null,this._theme=new x(i),this._optionManager=n},setOption:function(t,e){f(!(I in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,i=this._optionManager;if(!t||"recreate"===t){var n=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(n)):D.call(this,n),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=i.getTimelineOption(this);a&&(this.mergeOption(a),e=!0)}if(!t||"recreate"===t||"media"===t){var o=i.getMediaOption(this,this._api);o.length&&r(o,(function(t){this.mergeOption(t,e=!0)}),this)}return e},mergeOption:function(t){var e=this.option,i=this._componentsMap,n=[];function a(n,a){var o=y.normalizeToArray(t[n]),s=y.mappingToExists(i.get(n),o);y.makeIdAndName(s),r(s,(function(t,e){var i=t.option;c(i)&&(t.keyInfo.mainType=n,t.keyInfo.subType=P(n,i,t.exist))}));var l=L(i,a);e[n]=[],i.set(n,[]),r(s,(function(t,a){var r=t.exist,o=t.option;if(f(c(o)||r,"Empty component definition"),o){var s=_.getClass(n,t.keyInfo.subType,!0);if(r&&r.constructor===s)r.name=t.keyInfo.name,r.mergeOption(o,this),r.optionUpdated(o,!1);else{var u=m({dependentModels:l,componentIndex:a},t.keyInfo);r=new s(o,this,this,u),m(r,u),r.init(o,this,this,u),r.optionUpdated(null,!0)}}else r.mergeOption({},this),r.optionUpdated({},!1);i.get(n)[a]=r,e[n][a]=r.option}),this),"series"===n&&k(this,i.get("series"))}M(this),r(t,(function(t,i){null!=t&&(_.hasClass(i)?i&&n.push(i):e[i]=null==e[i]?p(t):g(e[i],t,!0))})),_.topologicalTravel(n,_.getAllClassMainTypes(),a,this),this._seriesIndicesMap=d(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=p(this.option);return r(t,(function(e,i){if(_.hasClass(i)){e=y.normalizeToArray(e);for(var n=e.length-1;n>=0;n--)y.isIdInner(e[n])&&e.splice(n,1);t[i]=e}})),delete t[I],t},getTheme:function(){return this._theme},getComponent:function(t,e){var i=this._componentsMap.get(t);if(i)return i[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var i,n=t.index,a=t.id,r=t.name,c=this._componentsMap.get(e);if(!c||!c.length)return[];if(null!=n)l(n)||(n=[n]),i=o(s(n,(function(t){return c[t]})),(function(t){return!!t}));else if(null!=a){var h=l(a);i=o(c,(function(t){return h&&u(a,t.id)>=0||!h&&t.id===a}))}else if(null!=r){var d=l(r);i=o(c,(function(t){return d&&u(r,t.name)>=0||!d&&t.name===r}))}else i=c.slice();return O(i,t)},findComponents:function(t){var e=t.query,i=t.mainType,n=r(e),a=n?this.queryComponents(n):this._componentsMap.get(i);return s(O(a,t));function r(t){var e=i+"Index",n=i+"Id",a=i+"Name";return!t||null==t[e]&&null==t[n]&&null==t[a]?null:{mainType:i,index:t[e],id:t[n],name:t[a]}}function s(e){return t.filter?o(e,t.filter):e}},eachComponent:function(t,e,i){var n=this._componentsMap;if("function"===typeof t)i=e,e=t,n.each((function(t,n){r(t,(function(t,a){e.call(i,n,t,a)}))}));else if(h(t))r(n.get(t),e,i);else if(c(t)){var a=this.findComponents(t);r(a,e,i)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.name===t}))},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.subType===t}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){R(this),r(this._seriesIndices,(function(i){var n=this._componentsMap.get("series")[i];t.call(e,n,i)}),this)},eachRawSeries:function(t,e){r(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,i){R(this),r(this._seriesIndices,(function(n){var a=this._componentsMap.get("series")[n];a.subType===t&&e.call(i,a,n)}),this)},eachRawSeriesByType:function(t,e,i){return r(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return R(this),null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){R(this);var i=o(this._componentsMap.get("series"),t,e);k(this,i)},restoreData:function(t){var e=this._componentsMap;k(this,e.get("series"));var i=[];e.each((function(t,e){i.push(e)})),_.topologicalTravel(i,_.getAllClassMainTypes(),(function(i,n){r(e.get(i),(function(e){("series"!==i||!A(e,t))&&e.restoreData()}))}))}});function A(t,e){if(e){var i=e.seiresIndex,n=e.seriesId,a=e.seriesName;return null!=i&&t.componentIndex!==i||null!=n&&t.id!==n||null!=a&&t.name!==a}}function C(t,e){var i=t.color&&!t.colorLayer;r(e,(function(e,n){"colorLayer"===n&&i||_.hasClass(n)||("object"===typeof e?t[n]=t[n]?g(t[n],e,!1):p(e):null==t[n]&&(t[n]=e))}))}function D(t){t=t,this.option={},this.option[I]=1,this._componentsMap=d({series:[]}),this._seriesIndices,this._seriesIndicesMap,C(t,this._theme.option),g(t,b,!1),this.mergeOption(t)}function L(t,e){l(e)||(e=e?[e]:[]);var i={};return r(e,(function(e){i[e]=(t.get(e)||[]).slice()})),i}function P(t,e,i){var n=e.type?e.type:i?i.subType:_.determineSubType(t,e);return n}function k(t,e){t._seriesIndicesMap=d(t._seriesIndices=s(e,(function(t){return t.componentIndex}))||[])}function O(t,e){return e.hasOwnProperty("subType")?o(t,(function(t){return t.subType===e.subType})):t}function R(t){}v(T,w);var E=T;t.exports=E},"7f59":function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),r=i("6d8b"),o=i("e0d3"),s=i("2306"),l=i("f934"),u=i("3842"),c=u.parsePercent,h={path:null,compoundPath:null,group:s.Group,image:s.Image,text:s.Text};a.registerPreprocessor((function(t){var e=t.graphic;r.isArray(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}));var d=a.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(t){var e=this.option.elements;this.option.elements=null,d.superApply(this,"mergeOption",arguments),this.option.elements=e},optionUpdated:function(t,e){var i=this.option,n=(e?i:t).elements,a=i.elements=e?[]:i.elements,s=[];this._flatten(n,s);var l=o.mappingToExists(a,s);o.makeIdAndName(l);var u=this._elOptionsToUpdate=[];r.each(l,(function(t,e){var i=t.option;i&&(u.push(i),v(t,i),y(a,e,i),x(a[e],i))}),this);for(var c=a.length-1;c>=0;c--)null==a[c]?a.splice(c,1):delete a[c].$action},_flatten:function(t,e,i){r.each(t,(function(t){if(t){i&&(t.parentOption=i),e.push(t);var n=t.children;"group"===t.type&&n&&this._flatten(n,e,t),delete t.children}}),this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function f(t,e,i,n){var a=i.type,r=h.hasOwnProperty(a)?h[a]:s.getShapeClass(a),o=new r(i);e.add(o),n.set(t,o),o.__ecGraphicId=t}function p(t,e){var i=t&&t.parent;i&&("group"===t.type&&t.traverse((function(t){p(t,e)})),e.removeKey(t.__ecGraphicId),i.remove(t))}function g(t){return t=r.extend({},t),r.each(["id","parentId","$action","hv","bounding"].concat(l.LOCATION_PARAMS),(function(e){delete t[e]})),t}function m(t,e){var i;return r.each(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)})),i}function v(t,e){var i=t.exist;if(e.id=t.keyInfo.id,!e.type&&i&&(e.type=i.type),null==e.parentId){var n=e.parentOption;n?e.parentId=n.id:i&&(e.parentId=i.parentId)}e.parentOption=null}function y(t,e,i){var n=r.extend({},i),a=t[e],o=i.$action||"merge";"merge"===o?a?(r.merge(a,n,!0),l.mergeLayoutParam(a,n,{ignoreSize:!0}),l.copyLayoutParams(i,a)):t[e]=n:"replace"===o?t[e]=n:"remove"===o&&a&&(t[e]=null)}function x(t,e){t&&(t.hv=e.hv=[m(e,["left","right"]),m(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0)))}function _(t,e,i){var n=t.eventData;t.silent||t.ignore||n||(n=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),n&&(n.info=t.info)}a.extendComponentView({type:"graphic",init:function(t,e){this._elMap=r.createHashMap(),this._lastGraphicModel},render:function(t,e,i){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,i)},_updateElements:function(t){var e=t.useElOptionsToUpdate();if(e){var i=this._elMap,n=this.group;r.each(e,(function(e){var a=e.$action,r=e.id,o=i.get(r),s=e.parentId,l=null!=s?i.get(s):n,u=e.style;"text"===e.type&&u&&(e.hv&&e.hv[1]&&(u.textVerticalAlign=u.textBaseline=null),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke));var c=g(e);a&&"merge"!==a?"replace"===a?(p(o,i),f(r,l,c,i)):"remove"===a&&p(o,i):o?o.attr(c):f(r,l,c,i);var h=i.get(r);h&&(h.__ecGraphicWidthOption=e.width,h.__ecGraphicHeightOption=e.height,_(h,t,e))}))}},_relocate:function(t,e){for(var i=t.option.elements,n=this.group,a=this._elMap,r=e.getWidth(),o=e.getHeight(),s=0;s=0;s--){u=i[s],h=a.get(u.id);if(h){d=h.parent;var p=d===n?{width:r,height:o}:{width:d.__ecGraphicWidth,height:d.__ecGraphicHeight};l.positionElement(h,u,p,null,{hv:u.hv,boundingMode:u.bounding})}}},_clear:function(){var t=this._elMap;t.each((function(e){p(e,t)})),this._elMap=r.createHashMap()},dispose:function(){this._clear()}})},"7f72":function(t,e,i){i("6932"),i("3a56"),i("7dcf"),i("a18f"),i("32a1"),i("2c17"),i("9e87")},"7f91":function(t,e,i){var n=i("2306"),a=i("401b"),r=n.Line.prototype,o=n.BezierCurve.prototype;function s(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var l=n.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(t,e){this[s(e)?"_buildPathLine":"_buildPathCurve"](t,e)},_buildPathLine:r.buildPath,_buildPathCurve:o.buildPath,pointAt:function(t){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](t)},_pointAtLine:r.pointAt,_pointAtCurve:o.pointAt,tangentAt:function(t){var e=this.shape,i=s(e)?[e.x2-e.x1,e.y2-e.y1]:this._tangentAtCurve(t);return a.normalize(i,i)},_tangentAtCurve:o.tangentAt});t.exports=l},"7f96":function(t,e,i){var n=i("6d8b"),a=n.isFunction;function r(t,e,i){return{seriesType:t,performRawSeries:!0,reset:function(t,n,r){var o=t.getData(),s=t.get("symbol"),l=t.get("symbolSize"),u=t.get("symbolKeepAspect"),c=t.get("symbolRotate"),h=a(s),d=a(l),f=a(c),p=h||d||f,g=!h&&s?s:e,m=d?null:l;if(o.setVisual({legendSymbol:i||g,symbol:g,symbolSize:m,symbolKeepAspect:u,symbolRotate:c}),!n.isSeriesFiltered(t))return{dataEach:o.hasItemOption||p?v:null};function v(e,i){if(p){var n=t.getRawValue(i),a=t.getDataParams(i);h&&e.setItemVisual(i,"symbol",s(n,a)),d&&e.setItemVisual(i,"symbolSize",l(n,a)),f&&e.setItemVisual(i,"symbolRotate",c(n,a))}if(e.hasItemOption){var r=e.getItemModel(i),o=r.getShallow("symbol",!0),u=r.getShallow("symbolSize",!0),g=r.getShallow("symbolRotate",!0),m=r.getShallow("symbolKeepAspect",!0);null!=o&&e.setItemVisual(i,"symbol",o),null!=u&&e.setItemVisual(i,"symbolSize",u),null!=g&&e.setItemVisual(i,"symbolRotate",g),null!=m&&e.setItemVisual(i,"symbolKeepAspect",m)}}}}}t.exports=r},"80d3":function(t,e,i){t.exports=i.p+"img/zhoushan.8380e1d6.jpg"},"80f0":function(t,e){function i(t){return t}function n(t,e,n,a,r){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=a||i,this.context=r}function a(t,e,i,n,a){for(var r=0;r=0;_&&x.depth>m&&(m=x.depth),y.setLayout({depth:_?x.depth:h},!0),"vertical"===r?y.setLayout({dy:i},!0):y.setLayout({dx:i},!0);for(var b=0;bh-1?m:h-1;o&&"left"!==o&&f(t,o,r,T);d="vertical"===r?(a-i)/T:(n-i)/T;g(t,d,r)}function d(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function f(t,e,i,n){if("right"===e){var r=[],o=t,s=0;while(o.length){for(var l=0;l0;r--)l*=.99,_(s,l,o),x(s,a,i,n,o),C(s,l,o),x(s,a,i,n,o)}function v(t,e){var i=[],n="vertical"===e?"y":"x",r=o(t,(function(t){return t.getLayout()[n]}));return r.keys.sort((function(t,e){return t-e})),a.each(r.keys,(function(t){i.push(r.buckets.get(t))})),i}function y(t,e,i,n,r,o){var s=1/0;a.each(t,(function(t){var e=t.length,l=0;a.each(t,(function(t){l+=t.getLayout().value}));var u="vertical"===o?(n-(e-1)*r)/l:(i-(e-1)*r)/l;u0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[h]+e;var f="vertical"===r?n:i;if(l=u-e-f,l>0)for(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a,d=c-2;d>=0;--d)s=t[d],l=s.getLayout()[o]+s.getLayout()[h]+e-u,l>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}))}function _(t,e,i){a.each(t.slice().reverse(),(function(t){a.each(t,(function(t){if(t.outEdges.length){var n=A(t.outEdges,b,i)/A(t.outEdges,T,i);if(isNaN(n)){var a=t.outEdges.length;n=a?A(t.outEdges,w,i)/a:0}if("vertical"===i){var r=t.getLayout().x+(n-I(t,i))*e;t.setLayout({x:r},!0)}else{var o=t.getLayout().y+(n-I(t,i))*e;t.setLayout({y:o},!0)}}}))}))}function b(t,e){return I(t.node2,e)*t.getValue()}function w(t,e){return I(t.node2,e)}function S(t,e){return I(t.node1,e)*t.getValue()}function M(t,e){return I(t.node1,e)}function I(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function T(t){return t.getValue()}function A(t,e,i){var n=0,a=t.length,r=-1;while(++r=0){var c=o.indexOf(l),h=o.substr(u+s.length,c-u-s.length);h.indexOf("sub")>-1?n["marker"+h]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[h],textOffset:[3,0]}:n["marker"+h]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[h]},o=o.substr(c+1),u=o.indexOf("{marker")}var d=i.getModel("textStyle"),f=d.get("fontSize"),p=i.get("textLineHeight");null==p&&(p=Math.round(3*f/2)),this.el=new a({style:r.setTextStyle({},d,{rich:n,text:t,textBackgroundColor:i.get("backgroundColor"),textBorderRadius:i.get("borderRadius"),textFill:i.get("textStyle.color"),textPadding:i.get("padding"),textLineHeight:p}),z:i.get("z")}),this._zr.add(this.el);var g=this;this.el.on("mouseover",(function(){g._enterable&&(clearTimeout(g._hideTimeout),g._show=!0),g._inContent=!0})),this.el.on("mouseout",(function(){g._enterable&&g._show&&g.hideLater(g._hideDelay),g._inContent=!1}))},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){if(this.el){var i=this._styleCoord;o(i,this._zr,t,e),this.el.attr("position",[i[0],i[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var l=s;t.exports=l},8344:function(t,e,i){var n=i("6d8b"),a=i("f706"),r=i("3842"),o=i("6179"),s=i("923d"),l=i("88f0");function u(t,e,i){var n=e.coordinateSystem;t.each((function(a){var o,s=t.getItemModel(a),l=r.parsePercent(s.get("x"),i.getWidth()),u=r.parsePercent(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(u)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,a));else if(n){var c=t.get(n.dimensions[0],a),h=t.get(n.dimensions[1],a);o=n.dataToPoint([c,h])}}else o=[l,u];isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u),t.setItemLayout(a,o)}))}var c=l.extend({type:"markPoint",updateTransform:function(t,e,i){e.eachSeries((function(t){var e=t.markPointModel;e&&(u(e.getData(),t,i),this.markerGroupMap.get(t.id).updateLayout(e))}),this)},renderSeries:function(t,e,i,r){var o=t.coordinateSystem,s=t.id,l=t.getData(),c=this.markerGroupMap,d=c.get(s)||c.set(s,new a),f=h(o,t,e);e.setData(f),u(e.getData(),t,r),f.each((function(t){var i=f.getItemModel(t),a=i.getShallow("symbol"),r=i.getShallow("symbolSize"),o=i.getShallow("symbolRotate"),s=n.isFunction(a),u=n.isFunction(r),c=n.isFunction(o);if(s||u||c){var h=e.getRawValue(t),d=e.getDataParams(t);s&&(a=a(h,d)),u&&(r=r(h,d)),c&&(o=o(h,d))}f.setItemVisual(t,{symbol:a,symbolSize:r,symbolRotate:o,color:i.get("itemStyle.color")||l.getVisual("color")})})),d.updateData(f),this.group.add(d.group),f.eachItemGraphicEl((function(t){t.traverse((function(t){t.dataModel=e}))})),d.__keep=!0,d.group.silent=e.get("silent")||t.get("silent")}});function h(t,e,i){var a;a=t?n.map(t&&t.dimensions,(function(t){var i=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return n.defaults({name:t},i)})):[{name:"value",type:"float"}];var r=new o(a,i),l=n.map(i.get("data"),n.curry(s.dataTransform,e));return t&&(l=n.filter(l,n.curry(s.dataFilter,t))),r.initData(l,null,t?s.dimValueGetter:function(t){return t.value}),r}t.exports=c},"83ba":function(t,e,i){var n=i("6d8b"),a=i("6cb7"),r=i("f934"),o=r.getLayoutParams,s=r.sizeCalculable,l=r.mergeLayoutParam,u=a.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(t,e,i,n){var a=o(t);u.superApply(this,"init",arguments),c(t,a)},mergeOption:function(t,e){u.superApply(this,"mergeOption",arguments),c(this.option,t)}});function c(t,e){var i=t.cellSize;n.isArray(i)?1===i.length&&(i[1]=i[0]):i=t.cellSize=[i,i];var a=n.map([0,1],(function(t){return s(e,t)&&(i[t]="auto"),null!=i[t]&&"auto"!==i[t]}));l(t,e,{type:"box",ignoreSize:a})}var h=u;t.exports=h},"843e":function(t,e,i){var n=i("6d8b"),a=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function r(t){n.each(a,(function(e){this[e]=n.bind(t[e],t)}),this)}var o=r;t.exports=o},8459:function(t,e,i){var n=i("3eba"),a={type:"axisAreaSelect",event:"axisAreaSelected"};n.registerAction(a,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),n.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))},"849b":function(t,e,i){var n=i("d9d0"),a=i("2039");function r(t,e){var i=[];return t.eachComponent("parallel",(function(a,r){var o=new n(a,t,e);o.name="parallel_"+r,o.resize(a,e),a.coordinateSystem=o,o.model=a,i.push(o)})),t.eachSeries((function(e){if("parallel"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"parallel",index:e.get("parallelIndex"),id:e.get("parallelId")})[0];e.coordinateSystem=i.coordinateSystem}})),i}a.register("parallel",{create:r})},"84ce":function(t,e,i){var n=i("6d8b"),a=n.each,r=n.map,o=i("3842"),s=o.linearMap,l=o.getPixelPrecision,u=o.round,c=i("e073"),h=c.createAxisTicks,d=c.createAxisLabels,f=c.calculateCategoryInterval,p=[0,1],g=function(t,e,i){this.dim=t,this.scale=e,this._extent=i||[0,0],this.inverse=!1,this.onBand=!1};function m(t,e){var i=t[1]-t[0],n=e,a=i/n/2;t[0]+=a,t[1]-=a}function v(t,e,i,n){var r=e.length;if(t.onBand&&!i&&r){var o,s,l=t.getExtent();if(1===r)e[0].coord=l[0],o=e[1]={coord:l[0]};else{var c=e[r-1].tickValue-e[0].tickValue,h=(e[r-1].coord-e[0].coord)/c;a(e,(function(t){t.coord-=h/2}));var d=t.scale.getExtent();s=1+d[1]-e[r-1].tickValue,o={coord:e[r-1].coord+h*s},e.push(o)}var f=l[0]>l[1];p(e[0].coord,l[0])&&(n?e[0].coord=l[0]:e.shift()),n&&p(l[0],e[0].coord)&&e.unshift({coord:l[0]}),p(l[1],o.coord)&&(n?o.coord=l[1]:e.pop()),n&&p(o.coord,l[1])&&e.push({coord:l[1]})}function p(t,e){return t=u(t),e=u(e),f?t>e:t=i&&t<=n},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,e){var i=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&"ordinal"===n.type&&(i=i.slice(),m(i,n.count())),s(t,p,i,e)},coordToData:function(t,e){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&(i=i.slice(),m(i,n.count()));var a=s(t,i,p,e);return this.scale.scale(a)},pointToData:function(t,e){},getTicksCoords:function(t){t=t||{};var e=t.tickModel||this.getTickModel(),i=h(this,e),n=i.ticks,a=r(n,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this),o=e.get("alignWithLabel");return v(this,a,o,t.clamp),a},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var i=this.scale.getMinorTicks(e),n=r(i,(function(t){return r(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return n},getViewLabels:function(){return d(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),i=e[1]-e[0]+(this.onBand?1:0);0===i&&(i=1);var n=Math.abs(t[1]-t[0]);return Math.abs(n)/i},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}};var y=g;t.exports=y},"84d5":function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("4319"),o=i("e0d3"),s=o.isNameSpecified,l=i("29a8"),u=l.legend.selector,c={all:{type:"all",title:a.clone(u.all)},inverse:{type:"inverse",title:a.clone(u.inverse)}},h=n.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,i){this.mergeDefaultAndTheme(t,i),t.selected=t.selected||{},this._updateSelector(t)},mergeOption:function(t){h.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var e=t.selector;!0===e&&(e=t.selector=["all","inverse"]),a.isArray(e)&&a.each(e,(function(t,i){a.isString(t)&&(t={type:t}),e[i]=a.merge(t,c[t.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,i=0;i=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),d=h;t.exports=d},"84ec":function(t,e){var i=Math.log(2);function n(t,e,a,r,o,s){var l=r+"-"+o,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var c=Math.round(Math.log((1<e&&r>n||ra?o:0}t.exports=i},"879e":function(t,e,i){var n=i("3eba"),a=i("6179"),r=i("6d8b"),o=i("e0d3"),s=o.defaultEmphasis,l=i("4319"),u=i("eda2"),c=u.encodeHTML,h=i("237f"),d=i("c4a3"),f=i("0c37"),p=f.initCurvenessList,g=f.createEdgeMapForCurveness,m=n.extendSeriesModel({type:"series.graph",init:function(t){m.superApply(this,"init",arguments);var e=this;function i(){return e._categoriesData}this.legendVisualProvider=new d(i,i),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){m.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){m.superApply(this,"mergeDefaultAndTheme",arguments),s(t,["edgeLabel"],["show"])},getInitialData:function(t,e){var i=t.edges||t.links||[],n=t.data||t.nodes||[],a=this;if(n&&i){p(this);var o=h(n,i,this,!0,s);return r.each(o.edges,(function(t){g(t.node1,t.node2,this,t.dataIndex)}),this),o.data}function s(t,i){t.wrapMethod("getItemModel",(function(t){var e=a._categoriesModels,i=t.getShallow("category"),n=e[i];return n&&(n.parentModel=t.parentModel,t.parentModel=n),t}));var n=a.getModel("edgeLabel"),r=new l({label:n.option},n.parentModel,e),o=a.getModel("emphasis.edgeLabel"),s=new l({emphasis:{label:o.option}},o.parentModel,e);function u(t){return t=this.parsePath(t),t&&"label"===t[0]?r:t&&"emphasis"===t[0]&&"label"===t[1]?s:this.parentModel}i.wrapMethod("getItemModel",(function(t){return t.customizeGetParent(u),t}))}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,i){if("edge"===i){var n=this.getData(),a=this.getDataParams(t,i),r=n.graph.getEdgeByIndex(t),o=n.getName(r.node1.dataIndex),s=n.getName(r.node2.dataIndex),l=[];return null!=o&&l.push(o),null!=s&&l.push(s),l=c(l.join(" > ")),a.value&&(l+=" : "+c(a.value)),l}return m.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=r.map(this.option.categories||[],(function(t){return null!=t.value?t:r.extend({value:0},t)})),e=new a(["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 m.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}}}}),v=m;t.exports=v},"87b1":function(t,e,i){var n=i("cbe5"),a=i("4fac"),r=n.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){a.buildPath(t,e,!0)}});t.exports=r},"87c3":function(t,e,i){var n=i("6d8b"),a=n.map,r=i("cccd"),o=i("ee1a"),s=o.isDimensionStacked;function l(t){return{seriesType:t,plan:r(),reset:function(t){var e=t.getData(),i=t.coordinateSystem,n=t.pipelineContext,r=n.large;if(i){var o=a(i.dimensions,(function(t){return e.mapDimension(t)})).slice(0,2),l=o.length,u=e.getCalculationInfo("stackResultDimension");return s(e,o[0])&&(o[0]=u),s(e,o[1])&&(o[1]=u),l&&{progress:c}}function c(t,e){for(var n=t.end-t.start,a=r&&new Float32Array(n*l),s=t.start,u=0,c=[],h=[];s=0?h():c=setTimeout(h,-a),l=n};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){s=t},d}function o(t,e,o,s){var l=t[e];if(l){var u=l[i]||l,c=l[a],h=l[n];if(h!==o||c!==s){if(null==o||!s)return t[e]=u;l=t[e]=r(u,o,"debounce"===s),l[i]=u,l[a]=s,l[n]=o}return l}}function s(t,e){var n=t[e];n&&n[i]&&(t[e]=n[i])}e.throttle=r,e.createOrUpdate=o,e.clear=s},"88f0":function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=n.extendComponentView({type:"marker",init:function(){this.markerGroupMap=a.createHashMap()},render:function(t,e,i){var n=this.markerGroupMap;n.each((function(t){t.__keep=!1}));var a=this.type+"Model";e.eachSeries((function(t){var n=t[a];n&&this.renderSeries(t,n,e,i)}),this),n.each((function(t){!t.__keep&&this.group.remove(t.group)}),this)},renderSeries:function(){}});t.exports=r},8918:function(t,e,i){var n=i("6d8b"),a=i("625e"),r=a.parseClassType,o=0;function s(t){return[t||"",o++,Math.random().toFixed(5)].join("_")}function l(t){var e={};return t.registerSubTypeDefaulter=function(t,i){t=r(t),e[t.main]=i},t.determineSubType=function(i,n){var a=n.type;if(!a){var o=r(i).main;t.hasSubTypes(i)&&e[o]&&(a=e[o](n))}return a},t}function u(t,e){function i(t){var i={},o=[];return n.each(t,(function(s){var l=a(i,s),u=l.originalDeps=e(s),c=r(u,t);l.entryCount=c.length,0===l.entryCount&&o.push(s),n.each(c,(function(t){n.indexOf(l.predecessor,t)<0&&l.predecessor.push(t);var e=a(i,t);n.indexOf(e.successor,t)<0&&e.successor.push(s)}))})),{graph:i,noEntryList:o}}function a(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function r(t,e){var i=[];return n.each(t,(function(t){n.indexOf(e,t)>=0&&i.push(t)})),i}t.topologicalTravel=function(t,e,a,r){if(t.length){var o=i(e),s=o.graph,l=o.noEntryList,u={};n.each(t,(function(t){u[t]=!0}));while(l.length){var c=l.pop(),h=s[c],d=!!u[c];d&&(a.call(r,c,h.originalDeps.slice()),delete u[c]),n.each(h.successor,d?p:f)}n.each(u,(function(){throw new Error("Circle dependency may exists")}))}function f(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function p(t){u[t]=!0,f(t)}}}e.getUID=s,e.enableSubTypeDefaulter=l,e.enableTopologicalTravel=u},8971:function(t,e){var i="";"undefined"!==typeof navigator&&(i=navigator.platform||"");var n={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:i.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};t.exports=n},"897a":function(t,e,i){var n=i("22d1"),a=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function r(t){return n.browser.ie&&n.browser.version>=11?function(){var e,i=this.__clipPaths,n=this.style;if(i)for(var r=0;re[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=o.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,i=this._extent,n=this._niceExtent,a=this._intervalPrecision,r=[];if(!e)return r;var o=1e4;i[0]o)return[]}var u=r.length?r[r.length-1]:n[1];return i[1]>u&&(t?r.push(s(u+e,a)):r.push(i[1])),r},getMinorTicks:function(t){for(var e=this.getTicks(!0),i=[],a=this.getExtent(),r=1;ra[0]&&d0)n*=10;var o=[r.round(d(e[0]/n)*n),r.round(h(e[1]/n)*n)];this._interval=n,this._niceExtent=o}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function m(t,e){return c(t,u(e))}n.each(["contain","normalize"],(function(t){g.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}})),g.create=function(){return new g};var v=g;t.exports=v},"8d32":function(t,e,i){var n=i("cbe5"),a=n.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.cx,n=e.cy,a=Math.max(e.r,0),r=e.startAngle,o=e.endAngle,s=e.clockwise,l=Math.cos(r),u=Math.sin(r);t.moveTo(l*a+i,u*a+n),t.arc(i,n,a,r,o,!s)}});t.exports=a},"8deb":function(t,e,i){var n=i("3eba");i("5522"),i("a016"),i("1466");var a=i("98e7"),r=i("7f96"),o=i("870e"),s=i("d3f4"),l=i("7891");n.registerVisual(a("radar")),n.registerVisual(r("radar","circle")),n.registerLayout(o),n.registerProcessor(s("radar")),n.registerPreprocessor(l)},"8e43":function(t,e,i){var n=i("6d8b"),a=n.createHashMap,r=n.isObject,o=n.map;function s(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}s.createByAxisModel=function(t){var e=t.option,i=e.data,n=i&&o(i,c);return new s({categories:n,needCollect:!n,deduplication:!1!==e.dedplication})};var l=s.prototype;function u(t){return t._map||(t._map=a(t.categories))}function c(t){return r(t)&&null!=t.value?t.value:t+""}l.getOrdinal=function(t){return u(this).get(t)},l.parseAndCollect=function(t){var e,i=this._needCollect;if("string"!==typeof t&&!i)return t;if(i&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var n=u(this);return e=n.get(t),null==e&&(i?(e=this.categories.length,this.categories[e]=t,n.set(t,e)):e=NaN),e};var h=s;t.exports=h},"8e77":function(t,e,i){var n=i("6d8b"),a=i("41ef"),r=i("6179"),o=i("3842"),s=i("2306"),l=i("923d"),u=i("88f0"),c=function(t,e,i,a){var r=l.dataTransform(t,a[0]),o=l.dataTransform(t,a[1]),s=n.retrieve,u=r.coord,c=o.coord;u[0]=s(u[0],-1/0),u[1]=s(u[1],-1/0),c[0]=s(c[0],1/0),c[1]=s(c[1],1/0);var h=n.mergeAll([{},r,o]);return h.coord=[r.coord,o.coord],h.x0=r.x,h.y0=r.y,h.x1=o.x,h.y1=o.y,h};function h(t){return!isNaN(t)&&!isFinite(t)}function d(t,e,i,n){var a=1-t;return h(e[a])&&h(i[a])}function f(t,e){var i=e.coord[0],n=e.coord[1];return!("cartesian2d"!==t.type||!i||!n||!d(1,i,n,t)&&!d(0,i,n,t))||(l.dataFilter(t,{coord:i,x:e.x0,y:e.y0})||l.dataFilter(t,{coord:n,x:e.x1,y:e.y1}))}function p(t,e,i,n,a){var r,s=n.coordinateSystem,l=t.getItemModel(e),u=o.parsePercent(l.get(i[0]),a.getWidth()),c=o.parsePercent(l.get(i[1]),a.getHeight());if(isNaN(u)||isNaN(c)){if(n.getMarkerPosition)r=n.getMarkerPosition(t.getValues(i,e));else{var d=t.get(i[0],e),f=t.get(i[1],e),p=[d,f];s.clampData&&s.clampData(p,p),r=s.dataToPoint(p,!0)}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");d=t.get(i[0],e),f=t.get(i[1],e);h(d)?r[0]=g.toGlobalCoord(g.getExtent()["x0"===i[0]?0:1]):h(f)&&(r[1]=m.toGlobalCoord(m.getExtent()["y0"===i[1]?0:1]))}isNaN(u)||(r[0]=u),isNaN(c)||(r[1]=c)}else r=[u,c];return r}var g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];function m(t,e,i){var a,o,s=["x0","y0","x1","y1"];t?(a=n.map(t&&t.dimensions,(function(t){var i=e.getData(),a=i.getDimensionInfo(i.mapDimension(t))||{};return n.defaults({name:t},a)})),o=new r(n.map(s,(function(t,e){return{name:t,type:a[e%2].type}})),i)):(a=[{name:"value",type:"float"}],o=new r(a,i));var l=n.map(i.get("data"),n.curry(c,e,t,i));t&&(l=n.filter(l,n.curry(f,t)));var u=t?function(t,e,i,n){return t.coord[Math.floor(n/2)][n%2]}:function(t){return t.value};return o.initData(l,null,u),o.hasItemOption=!0,o}u.extend({type:"markArea",updateTransform:function(t,e,i){e.eachSeries((function(t){var e=t.markAreaModel;if(e){var a=e.getData();a.each((function(e){var r=n.map(g,(function(n){return p(a,e,n,t,i)}));a.setItemLayout(e,r);var o=a.getItemGraphicEl(e);o.setShape("points",r)}))}}),this)},renderSeries:function(t,e,i,r){var o=t.coordinateSystem,l=t.id,u=t.getData(),c=this.markerGroupMap,d=c.get(l)||c.set(l,{group:new s.Group});this.group.add(d.group),d.__keep=!0;var f=m(o,t,e);e.setData(f),f.each((function(e){var i=n.map(g,(function(i){return p(f,e,i,t,r)})),a=!0;n.each(g,(function(t){if(a){var i=f.get(t[0],e),n=f.get(t[1],e);(h(i)||o.getAxis("x").containData(i))&&(h(n)||o.getAxis("y").containData(n))&&(a=!1)}})),f.setItemLayout(e,{points:i,allClipped:a}),f.setItemVisual(e,{color:u.getVisual("color")})})),f.diff(d.__data).add((function(t){var e=f.getItemLayout(t);if(!e.allClipped){var i=new s.Polygon({shape:{points:e.points}});f.setItemGraphicEl(t,i),d.group.add(i)}})).update((function(t,i){var n=d.__data.getItemGraphicEl(i),a=f.getItemLayout(t);a.allClipped?n&&d.group.remove(n):(n?s.updateProps(n,{shape:{points:a.points}},e,t):n=new s.Polygon({shape:{points:a.points}}),f.setItemGraphicEl(t,n),d.group.add(n))})).remove((function(t){var e=d.__data.getItemGraphicEl(t);d.group.remove(e)})).execute(),f.eachItemGraphicEl((function(t,i){var r=f.getItemModel(i),o=r.getModel("label"),l=r.getModel("emphasis.label"),u=f.getItemVisual(i,"color");t.useStyle(n.defaults(r.getModel("itemStyle").getItemStyle(),{fill:a.modifyAlpha(u,.4),stroke:u})),t.hoverStyle=r.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(t.style,t.hoverStyle,o,l,{labelFetcher:e,labelDataIndex:i,defaultText:f.getName(i)||"",isRectText:!0,autoColor:u}),s.setHoverStyle(t,{}),t.dataModel=e})),d.__data=f,d.group.silent=e.get("silent")||t.get("silent")}})},"8ec5":function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("2145"),o=n.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){o.superApply(this,"optionUpdated",arguments),a.each(this.option.feature,(function(t,e){var i=r.get(e);i&&a.merge(t,i.defaultOption)}))},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),s=o;t.exports=s},"8ed2":function(t,e,i){i("48c7");var n=i("6cb7"),a=n.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=a},"8ee0":function(t,e,i){i("3f8e");var n=i("697e7"),a=n.registerPainter,r=i("dc20");a("svg",r)},"903c":function(t,e){function i(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var i=0;i=i.length||t===i[t.depth]){var r=m(a,g,t,e,_,n);u(t,r,i,n)}}))}else l=h(g,t),t.setVisual("color",l)}}function c(t,e,i){var n=r.extend({},e),a=i.designatedVisualItemStyle;return r.each(["color","colorAlpha","colorSaturation"],(function(i){a[i]=e[i];var r=t.get(i);a[i]=null,null!=r&&(n[i]=r)})),n}function h(t){var e=f(t,"color");if(e){var i=f(t,"colorAlpha"),n=f(t,"colorSaturation");return n&&(e=a.modifyHSL(e,null,null,n)),i&&(e=a.modifyAlpha(e,i)),e}}function d(t,e){return null!=e?a.modifyHSL(e,null,null,t):null}function f(t,e){var i=t[e];if(null!=i&&"none"!==i)return i}function p(t,e,i,a,r,o){if(o&&o.length){var s=g(e,"color")||null!=r.color&&"none"!==r.color&&(g(e,"colorAlpha")||g(e,"colorSaturation"));if(s){var l=e.get("visualMin"),u=e.get("visualMax"),c=i.dataExtent.slice();null!=l&&lc[1]&&(c[1]=u);var h=e.get("colorMappingBy"),d={type:s.name,dataExtent:c,visual:s.range};"color"!==d.type||"index"!==h&&"id"!==h?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var f=new n(d);return f.__drColorMappingBy=h,f}}}function g(t,e){var i=t.get(e);return o(i)&&i.length?{name:e,range:i}:null}function m(t,e,i,n,a,o){var s=r.extend({},e);if(a){var l=a.type,u="color"===l&&a.__drColorMappingBy,c="index"===u?n:"id"===u?o.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));s[l]=a.mapValueToVisual(c)}return s}t.exports=l},"923d":function(t,e,i){var n=i("6d8b"),a=i("3842"),r=i("ee1a"),o=r.isDimensionStacked,s=n.indexOf;function l(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function u(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}function c(t,e,i,n,r,s){var l=[],u=o(e,n),c=u?e.getCalculationInfo("stackResultDimension"):n,h=y(e,c,t),d=e.indicesOfNearest(c,h)[0];l[r]=e.get(i,d),l[s]=e.get(c,d);var f=e.get(n,d),p=a.getPrecision(e.get(n,d));return p=Math.min(p,20),p>=0&&(l[s]=+l[s].toFixed(p)),[l,f]}var h=n.curry,d={min:h(c,"min"),max:h(c,"max"),average:h(c,"average")};function f(t,e){var i=t.getData(),a=t.coordinateSystem;if(e&&!u(e)&&!n.isArray(e.coord)&&a){var r=a.dimensions,o=p(e,i,a,t);if(e=n.clone(e),e.type&&d[e.type]&&o.baseAxis&&o.valueAxis){var l=s(r,o.baseAxis.dim),c=s(r,o.valueAxis.dim),h=d[e.type](i,o.baseDataDim,o.valueDataDim,l,c);e.coord=h[0],e.value=h[1]}else{for(var f=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],g=0;g<2;g++)d[f[g]]&&(f[g]=y(i,i.mapDimension(r[g]),f[g]));e.coord=f}}return e}function p(t,e,i,n){var a={};return null!=t.valueIndex||null!=t.valueDim?(a.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,a.valueAxis=i.getAxis(g(n,a.valueDataDim)),a.baseAxis=i.getOtherAxis(a.valueAxis),a.baseDataDim=e.mapDimension(a.baseAxis.dim)):(a.baseAxis=n.getBaseAxis(),a.valueAxis=i.getOtherAxis(a.baseAxis),a.baseDataDim=e.mapDimension(a.baseAxis.dim),a.valueDataDim=e.mapDimension(a.valueAxis.dim)),a}function g(t,e){var i=t.getData(),n=i.dimensions;e=i.getDimension(e);for(var a=0;ar&&(c=s.interval=r);var h=s.intervalPrecision=o(c),d=s.niceTickExtent=[a(Math.ceil(t[0]/c)*c,h),a(Math.floor(t[1]/c)*c,h)];return l(d,t),s}function o(t){return n.getPrecisionSafe(t)+2}function s(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function l(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),s(t,0,e),s(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=r,e.getIntervalPrecision=o,e.fixExtent=l},"94b1":function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("9d57"),o=r.layout,s=r.largeLayout;i("5aa9"),i("17b8"),i("67cc"),i("01ed"),n.registerLayout(n.PRIORITY.VISUAL.LAYOUT,a.curry(o,"bar")),n.registerLayout(n.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),n.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},"94e4":function(t,e,i){var n=i("401b"),a=i("53f3"),r=a.getSymbolSize,o=a.getNodeGlobalScale,s=i("6d8b"),l=i("0c37"),u=l.getCurvenessForEdge,c=Math.PI,h=[];function d(t,e){var i=t.coordinateSystem;if(!i||"view"===i.type){var a=i.getBoundingRect(),r=t.getData(),o=r.graph,l=a.width/2+a.x,c=a.height/2+a.y,h=Math.min(a.width,a.height)/2,d=r.count();r.setLayout({cx:l,cy:c}),d&&(f[e](t,i,o,r,h,l,c,d),o.eachEdge((function(e,i){var a,r=s.retrieve3(e.getModel().get("lineStyle.curveness"),u(e,t,i),0),o=n.clone(e.node1.getLayout()),h=n.clone(e.node2.getLayout()),d=(o[0]+h[0])/2,f=(o[1]+h[1])/2;+r&&(r*=3,a=[l*r+d*(1-r),c*r+f*(1-r)]),e.setLayout([o,h,a])})))}}var f={value:function(t,e,i,n,a,r,o,s){var l=0,u=n.getSum("value"),c=2*Math.PI/(u||s);i.eachNode((function(t){var e=t.getValue("value"),i=c*(u?e:1)/2;l+=i,t.setLayout([a*Math.cos(l)+r,a*Math.sin(l)+o]),l+=i}))},symbolSize:function(t,e,i,n,a,s,l,u){var d=0;h.length=u;var f=o(t);i.eachNode((function(t){var e=r(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=f;var i=Math.asin(e/2/a);isNaN(i)&&(i=c/2),h[t.dataIndex]=i,d+=2*i}));var p=(2*c-d)/u/2,g=0;i.eachNode((function(t){var e=p+h[t.dataIndex];g+=e,t.setLayout([a*Math.cos(g)+s,a*Math.sin(g)+l]),g+=e}))}};e.circularLayout=d},"95a8":function(t,e,i){var n=i("3eba");i("1953"),i("307d"),n.registerPreprocessor((function(t){t.markLine=t.markLine||{}}))},9680:function(t,e){function i(t,e,i,n,a,r,o){if(0===a)return!1;var s=a,l=0,u=t;if(o>e+s&&o>n+s||ot+s&&r>i+s||r=i.x&&t<=i.x+i.width&&e>=i.y&&e<=i.y+i.height},clone:function(){return new l(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}}},l.create=function(t){return new l(t.x,t.y,t.width,t.height)};var u=l;t.exports=u},"98b7":function(t,e){var i="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=i},"98d3f":function(t,e,i){t.exports=i.p+"img/yuncheng.69acd0b7.jpg"},"98e7":function(t,e,i){var n=i("6d8b"),a=n.createHashMap;function r(t){return{getTargetSeries:function(e){var i={},n=a();return e.eachSeriesByType(t,(function(t){t.__paletteScope=i,n.set(t.uid,t)})),n},reset:function(t,e){var i=t.getRawData(),n={},a=t.getData();a.each((function(t){var e=a.getRawIndex(t);n[e]=t})),i.each((function(e){var r,o=n[e],s=null!=o&&a.getItemVisual(o,"color",!0),l=null!=o&&a.getItemVisual(o,"borderColor",!0);if(s&&l||(r=i.getItemModel(e)),!s){var u=r.get("itemStyle.color")||t.getColorFromPalette(i.getName(e)||e+"",t.__paletteScope,i.count());null!=o&&a.setItemVisual(o,"color",u)}if(!l){var c=r.get("itemStyle.borderColor");null!=o&&a.setItemVisual(o,"borderColor",c)}}))}}}t.exports=r},"998c":function(t,e,i){var n=i("6d8b"),a=i("2306"),r=i("e86ad"),o=Math.PI;function s(t,e){e=e||{},n.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 i=new a.Group,s=new a.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});i.add(s);var l=e.fontSize+" sans-serif",u=new a.Rect({style:{fill:"none",text:e.text,font:l,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});if(i.add(u),e.showSpinner){var c=new a.Arc({shape:{startAngle:-o/2,endAngle:-o/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001});c.animateShape(!0).when(1e3,{endAngle:3*o/2}).start("circularInOut"),c.animateShape(!0).when(1e3,{startAngle:3*o/2}).delay(300).start("circularInOut"),i.add(c)}return i.resize=function(){var i=r.getWidth(e.text,l),n=e.showSpinner?e.spinnerRadius:0,a=(t.getWidth()-2*n-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner?0:i/2),o=t.getHeight()/2;e.showSpinner&&c.setShape({cx:a,cy:o}),u.setShape({x:a-n,y:o-n,width:2*n,height:2*n}),s.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},i.resize(),i}t.exports=s},"9bdb":function(t,e,i){var n=i("282b"),a=n([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),r={getAreaStyle:function(t,e){return a(this,t,e)}};t.exports=r},"9c2c":function(t,e,i){var n=i("401b"),a=n.min,r=n.max,o=n.scale,s=n.distance,l=n.add,u=n.clone,c=n.sub;function h(t,e,i,n){var h,d,f,p,g=[],m=[],v=[],y=[];if(n){f=[1/0,1/0],p=[-1/0,-1/0];for(var x=0,_=t.length;x<_;x++)a(f,f,t[x]),r(p,p,t[x]);a(f,f,n[0]),r(p,p,n[1])}for(x=0,_=t.length;x<_;x++){var b=t[x];if(i)h=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){g.push(u(t[x]));continue}h=t[x-1],d=t[x+1]}c(m,d,h),o(m,m,e);var w=s(b,h),S=s(b,d),M=w+S;0!==M&&(w/=M,S/=M),o(v,m,-w),o(y,m,S);var I=l([],b,v),T=l([],b,y);n&&(r(I,I,f),a(I,I,p),r(T,T,f),a(T,T,p)),g.push(I),g.push(T)}return i&&g.push(g.shift()),g}t.exports=h},"9c74":function(t,e,i){t.exports=i.p+"img/zhongjiang.d46cca4b.jpg"},"9ca8":function(t,e,i){var n=i("6d8b"),a=i("9850"),r=i("3842"),o=r.parsePercent,s=r.MAX_SAFE_INTEGER,l=i("f934"),u=i("55ac"),c=Math.max,h=Math.min,d=n.retrieve,f=n.each,p=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],m=["upperLabel","show"],v=["upperLabel","height"],y={seriesType:"treemap",reset:function(t,e,i,r){var s=i.getWidth(),c=i.getHeight(),h=t.option,p=l.getLayoutRect(t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()}),g=h.size||[],m=o(d(p.width,g[0]),s),v=o(d(p.height,g[1]),c),y=r&&r.type,_=["treemapZoomToNode","treemapRootToNode"],b=u.retrieveTargetInfo(r,_,t),w="treemapRender"===y||"treemapMove"===y?r.rootRect:null,S=t.getViewRoot(),M=u.getPathToRoot(S);if("treemapMove"!==y){var I="treemapZoomToNode"===y?T(t,b,S,m,v):w?[w.width,w.height]:[m,v],D=h.sort;D&&"asc"!==D&&"desc"!==D&&(D="desc");var L={squareRatio:h.squareRatio,sort:D,leafDepth:h.leafDepth};S.hostTree.clearLayouts();var P={x:0,y:0,width:I[0],height:I[1],area:I[0]*I[1]};S.setLayout(P),x(S,L,!1,0);P=S.getLayout();f(M,(function(t,e){var i=(M[e+1]||S).getValue();t.setLayout(n.extend({dataExtent:[i,i],borderWidth:0,upperHeight:0},P))}))}var k=t.getData().tree.root;k.setLayout(A(p,w,b),!0),t.setLayoutInfo(p),C(k,new a(-p.x,-p.y,s,c),M,S,0)}};function x(t,e,i,n){var a,r;if(!t.isRemoved()){var o=t.getLayout();a=o.width,r=o.height;var s=t.getModel(),l=s.get(p),u=s.get(g)/2,d=D(s),f=Math.max(l,d),m=l-u,v=f-u;s=t.getModel();t.setLayout({borderWidth:l,upperHeight:f,upperLabelHeight:d},!0),a=c(a-2*m,0),r=c(r-m-v,0);var y=a*r,b=_(t,s,y,e,i,n);if(b.length){var w={x:m,y:v,width:a,height:r},S=h(a,r),T=1/0,A=[];A.area=0;for(var C=0,L=b.length;C=0;l--){var u=a["asc"===n?o-l-1:l].getValue();u/i*es[1]&&(s[1]=e)}))}else s=[NaN,NaN];return{sum:n,dataExtent:s}}function M(t,e,i){for(var n,a=0,r=1/0,o=0,s=t.length;oa&&(a=n));var l=t.area*t.area,u=e*e*i;return l?c(u*a/l,l/(u*r)):1/0}function I(t,e,i,n,a){var r=e===i.width?0:1,o=1-r,s=["x","y"],l=["width","height"],u=i[s[r]],d=e?t.area/e:0;(a||d>i[l[o]])&&(d=i[l[o]]);for(var f=0,p=t.length;fs&&(c=s),o=r}c0&&(o=null===o?l:Math.min(o,l))}i[a]=o}}return i}function v(t){var e=m(t),i=[];return n.each(t,(function(t){var n,a=t.coordinateSystem,o=a.getBaseAxis(),s=o.getExtent();if("category"===o.type)n=o.getBandWidth();else if("value"===o.type||"time"===o.type){var l=o.dim+"_"+o.index,u=e[l],c=Math.abs(s[1]-s[0]),h=o.scale.getExtent(),p=Math.abs(h[1]-h[0]);n=u?c/p*u:c}else{var g=t.getData();n=Math.abs(s[1]-s[0])/g.count()}var m=r(t.get("barWidth"),n),v=r(t.get("barMaxWidth"),n),y=r(t.get("barMinWidth")||1,n),x=t.get("barGap"),_=t.get("barCategoryGap");i.push({bandWidth:n,barWidth:m,barMaxWidth:v,barMinWidth:y,barGap:x,barCategoryGap:_,axisKey:f(o),stackId:d(t)})})),y(i)}function y(t){var e={};n.each(t,(function(t,i){var n=t.axisKey,a=t.bandWidth,r=e[n]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=r.stacks;e[n]=r;var s=t.stackId;o[s]||r.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(r.remainedWidth,l),r.remainedWidth-=l);var u=t.barMaxWidth;u&&(o[s].maxWidth=u);var c=t.barMinWidth;c&&(o[s].minWidth=c);var h=t.barGap;null!=h&&(r.gap=h);var d=t.barCategoryGap;null!=d&&(r.categoryGap=d)}));var i={};return n.each(e,(function(t,e){i[e]={};var a=t.stacks,o=t.bandWidth,s=r(t.categoryGap,o),l=r(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),n.each(a,(function(t){var e=t.maxWidth,i=t.minWidth;if(t.width){n=t.width;e&&(n=Math.min(n,e)),i&&(n=Math.max(n,i)),t.width=n,u-=n+l*n,c--}else{var n=h;e&&en&&(n=i),n!==h&&(t.width=n,u-=n+l*n,c--)}})),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var d,f=0;n.each(a,(function(t,e){t.width||(t.width=h),d=t,f+=t.width*(1+l)})),d&&(f-=d.width*l);var p=-f/2;n.each(a,(function(t,n){i[e][n]=i[e][n]||{bandWidth:o,offset:p,width:t.width},p+=t.width*(1+l)}))})),i}function x(t,e,i){if(t&&e){var n=t[f(e)];return null!=n&&null!=i&&(n=n[d(i)]),n}}function _(t,e){var i=g(t,e),a=v(i),r={},o={};n.each(i,(function(t){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),l=d(t),u=a[f(n)][l],c=u.offset,h=u.width,p=i.getOtherAxis(n),g=t.get("barMinHeight")||0;r[l]=r[l]||[],o[l]=o[l]||[],e.setLayout({bandWidth:u.bandWidth,offset:c,size:h});for(var m=e.mapDimension(p.dim),v=e.mapDimension(n.dim),y=s(e,m),x=p.isHorizontal(),_=M(n,p,y),b=0,w=e.count();b=0?"p":"n",P=_;if(y&&(r[l][D]||(r[l][D]={p:_,n:_}),P=r[l][D][L]),x){var k=i.dataToPoint([C,D]);S=P,I=k[1]+c,T=k[0]-_,A=h,Math.abs(T)c||(d=c),{progress:f}}function f(t,e){var c,f=t.count,p=new h(2*f),g=new h(2*f),m=new h(f),v=[],y=[],x=0,_=0;while(null!=(c=t.next()))y[u]=e.get(o,c),y[1-u]=e.get(s,c),v=i.dataToPoint(y,null,v),g[x]=l?n.x+n.width:v[0],p[x++]=v[0],g[x]=l?v[1]:n.y+n.height,p[x++]=v[1],m[_++]=c;e.setLayout({largePoints:p,largeDataIndices:m,largeBackgroundPoints:g,barWidth:d,valueAxisStart:M(a,r,!1),backgroundStart:l?n.x:n.y,valueAxisHorizontal:l})}}};function w(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function S(t){return t.pipelineContext&&t.pipelineContext.large}function M(t,e,i){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}e.getLayoutOnAxis=p,e.prepareLayoutBarSeries=g,e.makeColumnLayout=v,e.retrieveColumnLayout=x,e.layout=_,e.largeLayout=b},"9e02":function(t,e,i){t.exports=i.p+"img/taigu.8b1937d7.jpg"},"9e2e":function(t,e,i){var n=i("a73c"),a=i("9850"),r=i("82eb"),o=r.WILL_BE_RESTORED,s=new a,l=function(){};l.prototype={constructor:l,drawRectText:function(t,e){var i=this.style;e=i.textRect||e,this.__dirty&&n.normalizeTextStyle(i,!0);var a=i.text;if(null!=a&&(a+=""),n.needDrawText(a,i)){t.save();var r=this.transform;i.transformText?this.setTransform(t):r&&(s.copy(e),s.applyTransform(r),e=s),n.renderText(this,t,a,i,e,o),t.restore()}}};var u=l;t.exports=u},"9e47":function(t,e,i){var n=i("6d8b"),a=i("71ad"),r=i("6cb7"),o=i("f934"),s=o.getLayoutParams,l=o.mergeLayoutParam,u=i("8e43"),c=["value","category","time","log"];function h(t,e,i,o){n.each(c,(function(r){e.extend({type:t+"Axis."+r,mergeDefaultAndTheme:function(e,a){var o=this.layoutMode,u=o?s(e):{},c=a.getTheme();n.merge(e,c.get(r+"Axis")),n.merge(e,this.getDefaultOption()),e.type=i(t,e),o&&l(e,u,o)},optionUpdated:function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=u.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:n.mergeAll([{},a[r+"Axis"],o],!0)})})),r.registerSubTypeDefaulter(t+"Axis",n.curry(i,t))}t.exports=h},"9e87":function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("50e5");n.registerAction("dataZoom",(function(t,e){var i=r.createLinkedNodesFinder(a.bind(e.eachComponent,e,"dataZoom"),r.eachAxisDim,(function(t,e){return t.get(e.axisIndex)})),n=[];e.eachComponent({mainType:"dataZoom",query:t},(function(t,e){n.push.apply(n,i(t).nodes)})),a.each(n,(function(e,i){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))},"9f33":function(t,e,i){t.exports=i.p+"img/shandong.d5b69a41.jpg"},"9f51":function(t,e,i){var n=i("857d"),a=n.normalizeRadian,r=2*Math.PI;function o(t,e,i,n,o,s,l,u,c){if(0===l)return!1;var h=l;u-=t,c-=e;var d=Math.sqrt(u*u+c*c);if(d-h>i||d+ho&&(o+=r);var p=Math.atan2(c,u);return p<0&&(p+=r),p>=n&&p<=o||p+r>=n&&p+r<=o}e.containStroke=o},"9f82":function(t,e,i){var n=i("ee1a"),a=n.isDimensionStacked,r=i("6d8b"),o=r.map;function s(t,e,i){var n,r=t.getBaseAxis(),s=t.getOtherAxis(r),u=l(s,i),c=r.dim,h=s.dim,d=e.mapDimension(h),f=e.mapDimension(c),p="x"===h||"radius"===h?1:0,g=o(t.dimensions,(function(t){return e.mapDimension(t)})),m=e.getCalculationInfo("stackResultDimension");return(n|=a(e,g[0]))&&(g[0]=m),(n|=a(e,g[1]))&&(g[1]=m),{dataDimsForPoint:g,valueStart:u,valueAxisDim:h,baseAxisDim:c,stacked:!!n,valueDim:d,baseDim:f,baseDataOffset:p,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function l(t,e){var i=0,n=t.scale.getExtent();return"start"===e?i=n[0]:"end"===e?i=n[1]:n[0]>0?i=n[0]:n[1]<0&&(i=n[1]),i}function u(t,e,i,n){var a=NaN;t.stacked&&(a=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(a)&&(a=t.valueStart);var r=t.baseDataOffset,o=[];return o[r]=i.get(t.baseDim,n),o[1-r]=a,e.dataToPoint(o)}e.prepareDataCoordInfo=s,e.getStackedOnPoint=u},"9f97":function(t,e,i){},"9fa3":function(t,e,i){var n=i("4ab1"),a=i("6d8b"),r=i("1687");function o(t,e){n.call(this,t,e,"clipPath","__clippath_in_use__")}a.inherits(o,n),o.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var i=this.getTextSvgElement(t);i&&this.updateDom(i,t.__clipPaths,!0),this.markUsed(t)},o.prototype.updateDom=function(t,e,i){if(e&&e.length>0){var n,a,o=this.getDefs(!0),s=e[0],l=i?"_textDom":"_dom";s[l]?(a=s[l].getAttribute("id"),n=s[l],o.contains(n)||o.appendChild(n)):(a="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,n=this.createElement("clipPath"),n.setAttribute("id",a),o.appendChild(n),s[l]=n);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!i){var c=Array.prototype.slice.call(s.transform);r.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var h=this.getSvgElement(s);n.innerHTML="",n.appendChild(h.cloneNode()),t.setAttribute("clip-path","url(#"+a+")"),e.length>1&&this.updateDom(n,e.slice(1),i)}else t&&t.setAttribute("clip-path","none")},o.prototype.markUsed=function(t){var e=this;t.__clipPaths&&a.each(t.__clipPaths,(function(t){t._dom&&n.prototype.markUsed.call(e,t._dom),t._textDom&&n.prototype.markUsed.call(e,t._textDom)}))};var s=o;t.exports=s},a016:function(t,e,i){var n=i("4f85"),a=i("e46b"),r=i("6d8b"),o=i("eda2"),s=o.encodeHTML,l=i("c4a3"),u=n.extend({type:"series.radar",dependencies:["radar"],init:function(t){u.superApply(this,"init",arguments),this.legendVisualProvider=new l(r.bind(this.getData,this),r.bind(this.getRawData,this))},getInitialData:function(t,e){return a(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(t,e,i,n){var a=this.getData(),o=this.coordinateSystem,l=o.getIndicatorAxes(),u=this.getData().getName(t),c="html"===n?"
":"\n";return s(""===u?this.name:u)+c+r.map(l,(function(e,i){var n=a.get(a.mapDimension(e.dim),t);return s(e.name+" : "+n)})).join(c)},getTooltipPosition:function(t){if(null!=t)for(var e=this.getData(),i=this.coordinateSystem,n=e.getValues(r.map(i.dimensions,(function(t){return e.mapDimension(t)})),t,!0),a=0,o=n.length;a0){t.moveTo(i[a++],i[a++]);for(var o=1;o0){var h=(s+u)/2-(l-c)*n,d=(l+c)/2-(u-s)*n;t.quadraticCurveTo(h,d,u,c)}else t.lineTo(u,c)}},findDataIndex:function(t,e){var i=this.shape,n=i.segs,a=i.curveness;if(i.polyline)for(var s=0,l=0;l0)for(var c=n[l++],h=n[l++],d=1;d0){var g=(c+f)/2-(h-p)*a,m=(h+p)/2-(f-c)*a;if(o.containStroke(c,h,g,m,f,p))return s}else if(r.containStroke(c,h,f,p))return s;s++}return-1}});function l(){this.group=new n.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(t){this.group.removeAll();var e=new s({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},u.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(t,e){var i=new s;i.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(i,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(i,!0):(i.rectHover=!0,i.cursor="default",i.__startIndex=t.start,this.group.add(i))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(t,e,i){var n=e.hostModel;t.setShape({polyline:n.get("polyline"),curveness:n.get("lineStyle.curveness")}),t.useStyle(n.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var a=e.getVisual("color");a&&t.setStyle("stroke",a),t.setStyle("fill"),i||(t.seriesIndex=n.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null;var i=t.findDataIndex(e.offsetX,e.offsetY);i>0&&(t.dataIndex=i+t.__startIndex)})))},u._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var c=l;t.exports=c},a4b1:function(t,e,i){var n=i("3eba");i("00ba"),i("4d62");var a=i("98e7"),r=i("24b9e"),o=i("d3f4");n.registerVisual(a("funnel")),n.registerLayout(r),n.registerProcessor(o("funnel"))},a4fe:function(t,e,i){var n=i("3eba"),a="\0_ec_interaction_mutex";function r(t,e,i){var n=l(t);n[e]=i}function o(t,e,i){var n=l(t),a=n[e];a===i&&(n[e]=null)}function s(t,e){return!!l(t)[e]}function l(t){return t[a]||(t[a]={})}n.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),e.take=r,e.release=o,e.isTaken=s},a5b7:function(t,e,i){t.exports=i.p+"img/linfen.4a7a7a9b.jpg"},a666:function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("2306"),o=i("0c41"),s="__seriesMapHighDown",l="__seriesMapCallKey",u=n.extendChartView({type:"map",render:function(t,e,i,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var a=this.group;if(a.removeAll(),!t.getHostGeoModel()){if(n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===t.id){r=this._mapDraw;r&&a.add(r.group)}else if(t.needsDrawMap){var r=this._mapDraw||new o(i,!0);a.add(r.group),r.draw(t,e,i,this,n),this._mapDraw=r}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,i)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(t,e,i){var n=t.originalData,o=this.group;n.each(n.mapDimension("value"),(function(e,i){if(!isNaN(e)){var u=n.getItemLayout(i);if(u&&u.point){var d=u.point,f=u.offset,p=new r.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:d[0]+9*f,cy:d[1],r:3},silent:!0,z2:8+(f?0:r.Z2_EMPHASIS_LIFT+1)});if(!f){var g=t.mainSeries.getData(),m=n.getName(i),v=g.indexOfName(m),y=n.getItemModel(i),x=y.getModel("label"),_=y.getModel("emphasis.label"),b=g.getItemGraphicEl(v),w=a.retrieve2(t.getFormattedLabel(v,"normal"),m),S=a.retrieve2(t.getFormattedLabel(v,"emphasis"),w),M=b[s],I=Math.random();if(!M){M=b[s]={};var T=a.curry(c,!0),A=a.curry(c,!1);b.on("mouseover",T).on("mouseout",A).on("emphasis",T).on("normal",A)}b[l]=I,a.extend(M,{recordVersion:I,circle:p,labelModel:x,hoverLabelModel:_,emphasisText:S,normalText:w}),h(M,!1)}o.add(p)}}}))}});function c(t){var e=this[s];e&&e.recordVersion===this[l]&&h(e,t)}function h(t,e){var i=t.circle,n=t.labelModel,a=t.hoverLabelModel,o=t.emphasisText,s=t.normalText;e?(i.style.extendFrom(r.setTextStyle({},a,{text:a.get("show")?o:null},{isRectText:!0,useInsideStyle:!1},!0)),i.__mapOriginalZ2=i.z2,i.z2+=r.Z2_EMPHASIS_LIFT):(r.setTextStyle(i.style,n,{text:n.get("show")?s:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),i.dirty(!1),null!=i.__mapOriginalZ2&&(i.z2=i.__mapOriginalZ2,i.__mapOriginalZ2=null))}t.exports=u},a73c:function(t,e,i){var n=i("6d8b"),a=n.retrieve2,r=n.retrieve3,o=n.each,s=n.normalizeCssArray,l=n.isString,u=n.isObject,c=i("e86ad"),h=i("5693"),d=i("5e76"),f=i("7d6d"),p=i("82eb"),g=p.ContextCachedBy,m=p.WILL_BE_RESTORED,v=c.DEFAULT_FONT,y={left:1,right:1,center:1},x={top:1,bottom:1,middle:1},_=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],b={},w={};function S(t){return M(t),o(t.rich,M),t}function M(t){if(t){t.font=c.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||y[e]?e:"left";var i=t.textVerticalAlign||t.textBaseline;"center"===i&&(i="middle"),t.textVerticalAlign=null==i||x[i]?i:"top";var n=t.textPadding;n&&(t.textPadding=s(t.textPadding))}}function I(t,e,i,n,a,r){n.rich?A(t,e,i,n,a,r):T(t,e,i,n,a,r)}function T(t,e,i,n,a,r){"use strict";var o,s=P(n),l=!1,u=e.__attrCachedBy===g.PLAIN_TEXT;r!==m?(r&&(o=r.style,l=!s&&u&&o),e.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):u&&(e.__attrCachedBy=g.NONE);var h=n.font||v;l&&h===(o.font||v)||(e.font=h);var d=t.__computedFont;t.__styleFont!==h&&(t.__styleFont=h,d=t.__computedFont=e.font);var p=n.textPadding,y=n.textLineHeight,x=t.__textCotentBlock;x&&!t.__dirtyText||(x=t.__textCotentBlock=c.parsePlainText(i,d,p,y,n.truncate));var b=x.outerHeight,S=x.lines,M=x.lineHeight,I=R(w,t,n,a),T=I.baseX,A=I.baseY,C=I.textAlign||"left",L=I.textVerticalAlign;D(e,n,a,T,A);var O=c.adjustTextY(A,b,L),E=T,B=O;if(s||p){var G=c.getWidth(i,d),F=G;p&&(F+=p[1]+p[3]);var H=c.adjustTextX(T,F,C);s&&k(t,e,n,H,O,F,b),p&&(E=V(T,C,p),B+=p[0])}e.textAlign=C,e.textBaseline="middle",e.globalAlpha=n.opacity||1;for(var W=0;W<_.length;W++){var U=_[W],j=U[0],Z=U[1],Y=n[j];l&&Y===o[j]||(e[Z]=f(e,Z,Y||U[2]))}B+=M/2;var X=n.textStrokeWidth,q=l?o.textStrokeWidth:null,K=!l||X!==q,$=!l||K||n.textStroke!==o.textStroke,J=N(n.textStroke,X),Q=z(n.textFill);if(J&&(K&&(e.lineWidth=X),$&&(e.strokeStyle=J)),Q&&(l&&n.textFill===o.textFill||(e.fillStyle=Q)),1===S.length)J&&e.strokeText(S[0],E,B),Q&&e.fillText(S[0],E,B);else for(W=0;W=0&&(b=M[N],"right"===b.textAlign))L(t,e,b,n,T,y,E,"right"),A-=b.width,E-=b.width,N--;O+=(r-(O-v)-(x-E)-A)/2;while(C<=N)b=M[C],L(t,e,b,n,T,y,O+b.width/2,"center"),O+=b.width,C++;y+=T}}function D(t,e,i,n,a){if(i&&e.textRotation){var r=e.textOrigin;"center"===r?(n=i.width/2+i.x,a=i.height/2+i.y):r&&(n=r[0]+i.x,a=r[1]+i.y),t.translate(n,a),t.rotate(-e.textRotation),t.translate(-n,-a)}}function L(t,e,i,n,o,s,l,u){var c=n.rich[i.styleName]||{};c.text=i.text;var h=i.textVerticalAlign,d=s+o/2;"top"===h?d=s+i.height/2:"bottom"===h&&(d=s+o-i.height/2),!i.isLineHolder&&P(c)&&k(t,e,c,"right"===u?l-i.width:"center"===u?l-i.width/2:l,d-i.height/2,i.width,i.height);var f=i.textPadding;f&&(l=V(l,u,f),d-=i.height/2-f[2]-i.textHeight/2),E(e,"shadowBlur",r(c.textShadowBlur,n.textShadowBlur,0)),E(e,"shadowColor",c.textShadowColor||n.textShadowColor||"transparent"),E(e,"shadowOffsetX",r(c.textShadowOffsetX,n.textShadowOffsetX,0)),E(e,"shadowOffsetY",r(c.textShadowOffsetY,n.textShadowOffsetY,0)),E(e,"textAlign",u),E(e,"textBaseline","middle"),E(e,"font",i.font||v);var p=N(c.textStroke||n.textStroke,m),g=z(c.textFill||n.textFill),m=a(c.textStrokeWidth,n.textStrokeWidth);p&&(E(e,"lineWidth",m),E(e,"strokeStyle",p),e.strokeText(i.text,l,d)),g&&(E(e,"fillStyle",g),e.fillText(i.text,l,d))}function P(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function k(t,e,i,n,a,r,o){var s=i.textBackgroundColor,c=i.textBorderWidth,f=i.textBorderColor,p=l(s);if(E(e,"shadowBlur",i.textBoxShadowBlur||0),E(e,"shadowColor",i.textBoxShadowColor||"transparent"),E(e,"shadowOffsetX",i.textBoxShadowOffsetX||0),E(e,"shadowOffsetY",i.textBoxShadowOffsetY||0),p||c&&f){e.beginPath();var g=i.textBorderRadius;g?h.buildPath(e,{x:n,y:a,width:r,height:o,r:g}):e.rect(n,a,r,o),e.closePath()}if(p)if(E(e,"fillStyle",s),null!=i.fillOpacity){var m=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,e.fill(),e.globalAlpha=m}else e.fill();else if(u(s)){var v=s.image;v=d.createOrUpdateImage(v,null,t,O,s),v&&d.isImageReady(v)&&e.drawImage(v,n,a,r,o)}if(c&&f)if(E(e,"lineWidth",c),E(e,"strokeStyle",f),null!=i.strokeOpacity){m=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,e.stroke(),e.globalAlpha=m}else e.stroke()}function O(t,e){e.image=t}function R(t,e,i,n){var a=i.x||0,r=i.y||0,o=i.textAlign,s=i.textVerticalAlign;if(n){var l=i.textPosition;if(l instanceof Array)a=n.x+B(l[0],n.width),r=n.y+B(l[1],n.height);else{var u=e&&e.calculateTextPosition?e.calculateTextPosition(b,i,n):c.calculateTextPosition(b,i,n);a=u.x,r=u.y,o=o||u.textAlign,s=s||u.textVerticalAlign}var h=i.textOffset;h&&(a+=h[0],r+=h[1])}return t=t||{},t.baseX=a,t.baseY=r,t.textAlign=o,t.textVerticalAlign=s,t}function E(t,e,i){return t[e]=f(t,e,i),t[e]}function N(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function z(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function B(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function V(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}function G(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}e.normalizeTextStyle=S,e.renderText=I,e.getBoxPosition=R,e.getStroke=N,e.getFill=z,e.parsePercent=B,e.needDrawText=G},a753:function(t,e,i){var n=i("1f0e"),a=i("2306"),r=i("e887"),o=i("3842"),s=o.parsePercent,l=o.round,u=o.linearMap;function c(t,e){var i=t.get("center"),n=e.getWidth(),a=e.getHeight(),r=Math.min(n,a),o=s(i[0],e.getWidth()),l=s(i[1],e.getHeight()),u=s(t.get("radius"),r/2);return{cx:o,cy:l,r:u}}function h(t,e){return e&&("string"===typeof e?t=e.replace("{value}",null!=t?t:""):"function"===typeof e&&(t=e(t))),t}var d=2*Math.PI,f=r.extend({type:"gauge",render:function(t,e,i){this.group.removeAll();var n=t.get("axisLine.lineStyle.color"),a=c(t,i);this._renderMain(t,e,i,n,a)},dispose:function(){},_renderMain:function(t,e,i,n,r){for(var o=this.group,s=t.getModel("axisLine"),l=s.getModel("lineStyle"),u=t.get("clockwise"),c=-t.get("startAngle")/180*Math.PI,h=-t.get("endAngle")/180*Math.PI,f=(h-c)%d,p=c,g=l.get("width"),m=s.get("show"),v=0;m&&v=t&&(0===e?0:n[e-1][0]).4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},{autoColor:N}),silent:!0}))}if(x.get("show")&&L!==b){for(var z=0;z<=w;z++){P=Math.cos(I),k=Math.sin(I);var B=new a.Line({shape:{x1:P*g+f,y1:k*g+p,x2:P*(g-M)+f,y2:k*(g-M)+p},silent:!0,style:D});"auto"===D.stroke&&B.setStyle({stroke:n((L+z/w)/b)}),d.add(B),I+=A}I-=A}else I+=T}},_renderPointer:function(t,e,i,r,o,l,c,h){var d=this.group,f=this._data;if(t.get("pointer.show")){var p=[+t.get("min"),+t.get("max")],g=[l,c],m=t.getData(),v=m.mapDimension("value");m.diff(f).add((function(e){var i=new n({shape:{angle:l}});a.initProps(i,{shape:{angle:u(m.get(v,e),p,g,!0)}},t),d.add(i),m.setItemGraphicEl(e,i)})).update((function(e,i){var n=f.getItemGraphicEl(i);a.updateProps(n,{shape:{angle:u(m.get(v,e),p,g,!0)}},t),d.add(n),m.setItemGraphicEl(e,n)})).remove((function(t){var e=f.getItemGraphicEl(t);d.remove(e)})).execute(),m.eachItemGraphicEl((function(t,e){var i=m.getItemModel(e),n=i.getModel("pointer");t.setShape({x:o.cx,y:o.cy,width:s(n.get("width"),o.r),r:s(n.get("length"),o.r)}),t.useStyle(i.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",r(u(m.get(v,e),p,[0,1],!0))),a.setHoverStyle(t,i.getModel("emphasis.itemStyle").getItemStyle())})),this._data=m}else f&&f.eachItemGraphicEl((function(t){d.remove(t)}))},_renderTitle:function(t,e,i,n,r){var o=t.getData(),l=o.mapDimension("value"),c=t.getModel("title");if(c.get("show")){var h=c.get("offsetCenter"),d=r.cx+s(h[0],r.r),f=r.cy+s(h[1],r.r),p=+t.get("min"),g=+t.get("max"),m=t.getData().get(l,0),v=n(u(m,[p,g],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},c,{x:d,y:f,text:o.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(t,e,i,n,r){var o=t.getModel("detail"),l=+t.get("min"),c=+t.get("max");if(o.get("show")){var d=o.get("offsetCenter"),f=r.cx+s(d[0],r.r),p=r.cy+s(d[1],r.r),g=s(o.get("width"),r.r),m=s(o.get("height"),r.r),v=t.getData(),y=v.get(v.mapDimension("value"),0),x=n(u(y,[l,c],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},o,{x:f,y:p,text:h(y,o.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}}),p=f;t.exports=p},a7e2:function(t,e,i){var n=i("3eba");i("7293"),i("ae46");var a=i("65820"),r=i("ee98");n.registerLayout(a),n.registerVisual(r)},a7f2:function(t,e){var i=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function n(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:i[0]})}t.exports=n},a87d:function(t,e,i){var n=i("22d1"),a=i("401b"),r=a.applyTransform,o=i("9850"),s=i("41ef"),l=i("e86ad"),u=i("a73c"),c=i("9e2e"),h=i("19eb"),d=i("0da8"),f=i("76a5"),p=i("cbe5"),g=i("20c8"),m=i("42e5"),v=i("d3a4"),y=g.CMD,x=Math.round,_=Math.sqrt,b=Math.abs,w=Math.cos,S=Math.sin,M=Math.max;if(!n.canvasSupported){var I=",",T="progid:DXImageTransform.Microsoft",A=21600,C=A/2,D=1e5,L=1e3,P=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=A+","+A,t.coordorigin="0,0"},k=function(t){return String(t).replace(/&/g,"&").replace(/"/g,""")},O=function(t,e,i){return"rgb("+[t,e,i].join(",")+")"},R=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},E=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},N=function(t,e,i){return(parseFloat(t)||0)*D+(parseFloat(e)||0)*L+i},z=u.parsePercent,B=function(t,e,i){var n=s.parse(e);i=+i,isNaN(i)&&(i=1),n&&(t.color=O(n[0],n[1],n[2]),t.opacity=i*n[3])},V=function(t){var e=s.parse(t);return[O(e[0],e[1],e[2]),e[3]]},G=function(t,e,i){var n=e.fill;if(null!=n)if(n instanceof m){var a,o=0,s=[0,0],l=0,u=1,c=i.getBoundingRect(),h=c.width,d=c.height;if("linear"===n.type){a="gradient";var f=i.transform,p=[n.x*h,n.y*d],g=[n.x2*h,n.y2*d];f&&(r(p,p,f),r(g,g,f));var v=g[0]-p[0],y=g[1]-p[1];o=180*Math.atan2(v,y)/Math.PI,o<0&&(o+=360),o<1e-6&&(o=0)}else{a="gradientradial";p=[n.x*h,n.y*d],f=i.transform;var x=i.scale,_=h,b=d;s=[(p[0]-c.x)/_,(p[1]-c.y)/b],f&&r(p,p,f),_/=x[0]*A,b/=x[1]*A;var w=M(_,b);l=0/w,u=2*n.r/w-l}var S=n.colorStops.slice();S.sort((function(t,e){return t.offset-e.offset}));for(var I=S.length,T=[],C=[],D=0;D=2){var k=T[0][0],O=T[1][0],R=T[0][1]*e.opacity,E=T[1][1]*e.opacity;t.type=a,t.method="none",t.focus="100%",t.angle=o,t.color=k,t.color2=O,t.colors=C.join(","),t.opacity=E,t.opacity2=R}"radial"===a&&(t.focusposition=s.join(","))}else B(t,n,e.opacity)},F=function(t,e){e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof m||B(t,e.stroke,e.opacity)},H=function(t,e,i,n){var a="fill"===e,r=t.getElementsByTagName(e)[0];null!=i[e]&&"none"!==i[e]&&(a||!a&&i.lineWidth)?(t[a?"filled":"stroked"]="true",i[e]instanceof m&&E(t,r),r||(r=v.createNode(e)),a?G(r,i,n):F(r,i),R(t,r)):(t[a?"filled":"stroked"]="false",E(t,r))},W=[[],[],[]],U=function(t,e){var i,n,a,o,s,l,u=y.M,c=y.C,h=y.L,d=y.A,f=y.Q,p=[],g=t.data,m=t.len();for(o=0;o.01?H&&(U+=270/A):Math.abs(j-z)<1e-4?H&&UN?T-=270/A:T+=270/A:H&&jz?M+=270/A:M-=270/A),p.push(Z,x(((N-B)*O+P)*A-C),I,x(((z-V)*R+k)*A-C),I,x(((N+B)*O+P)*A-C),I,x(((z+V)*R+k)*A-C),I,x((U*O+P)*A-C),I,x((j*R+k)*A-C),I,x((M*O+P)*A-C),I,x((T*R+k)*A-C)),s=M,l=T;break;case y.R:var Y=W[0],X=W[1];Y[0]=g[o++],Y[1]=g[o++],X[0]=Y[0]+g[o++],X[1]=Y[1]+g[o++],e&&(r(Y,Y,e),r(X,X,e)),Y[0]=x(Y[0]*A-C),X[0]=x(X[0]*A-C),Y[1]=x(Y[1]*A-C),X[1]=x(X[1]*A-C),p.push(" m ",Y[0],I,Y[1]," l ",X[0],I,Y[1]," l ",X[0],I,X[1]," l ",Y[0],I,X[1]);break;case y.Z:p.push(" x ")}if(i>0){p.push(n);for(var q=0;qK&&(q=0,X={});var i,n=$.style;try{n.font=t,i=n.fontFamily.split(",")[0]}catch(a){}e={style:n.fontStyle||Y,variant:n.fontVariant||Y,weight:n.fontWeight||Y,size:0|parseFloat(n.fontSize||12),family:i||"Microsoft YaHei"},X[t]=e,q++}return e};l.$override("measureText",(function(t,e){var i=v.doc;Z||(Z=i.createElement("div"),Z.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",v.doc.body.appendChild(Z));try{Z.style.font=e}catch(n){}return Z.innerHTML="",Z.appendChild(i.createTextNode(t)),{width:Z.offsetWidth}}));for(var Q=new o,tt=function(t,e,i,n){var a=this.style;this.__dirty&&u.normalizeTextStyle(a,!0);var o=a.text;if(null!=o&&(o+=""),o){if(a.rich){var s=l.parseRichText(o,a);o=[];for(var c=0;cf?f=g:(p.lastTickCount=r,p.lastAutoInterval=f),f}},n.inherits(u,r);var c=u;t.exports=c},aa01:function(t,e,i){var n=i("6d8b"),a=i("4f85"),r=i("06c7"),o=i("4319"),s=i("55ac"),l=s.wrapTreePathInfo,u=a.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(t,e){var i={name:t.name,children:t.data};c(i);var a=n.map(t.levels||[],(function(t){return new o(t,this,e)}),this),s=r.createTree(i,this,l);function l(t){t.wrapMethod("getItemModel",(function(t,e){var i=s.getNodeByDataIndex(e),n=a[i.depth];return n&&(t.parentModel=n),t}))}return s.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var e=a.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=l(i,this),e},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});function c(t){var e=0;n.each(t.children,(function(t){c(t);var i=t.value;n.isArray(i)&&(i=i[0]),e+=i}));var i=t.value;n.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=e),i<0&&(i=0),n.isArray(t.value)?t.value[0]=i:t.value=i}t.exports=u},aa3e:function(t,e,i){var n=i("6d8b");function a(t,e){return e=e||[0,0],n.map(["x","y"],(function(i,n){var a=this.getAxis(i),r=e[n],o=t[n]/2;return"category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(r-o)-a.dataToCoord(r+o))}),this)}function r(t){var e=t.grid.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:n.bind(a,t)}}}t.exports=r},aadf:function(t,e,i){var n=i("3eba"),a=i("6d8b");i("5aa9"),i("d6d9"),i("3329");var r=i("9d57"),o=r.layout,s=i("7f96");i("01ed"),n.registerLayout(a.curry(o,"pictorialBar")),n.registerVisual(s("pictorialBar","roundRect"))},ab05:function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("2b8c"),o=i("5f14"),s=n.PRIORITY.VISUAL.COMPONENT;function l(t,e,i,n){for(var a=e.targetVisuals[n],r=o.prepareVisualTypes(a),s={color:t.getData().getVisual("color")},l=0,u=r.length;l1e4||!this._symbolDraw.isPersistent())return{update:!0};var a=o().reset(t);a.progress&&a.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_getClipShape:function(t){var e=t.coordinateSystem,i=e&&e.getArea&&e.getArea();return t.get("clip",!0)?i:null},_updateSymbolDraw:function(t,e){var i=this._symbolDraw,n=e.pipelineContext,o=n.large;return i&&o===this._isLargeDraw||(i&&i.remove(),i=this._symbolDraw=o?new r:new a,this._isLargeDraw=o,this.group.removeAll()),this.group.add(i.group),i},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},ac0f:function(t,e,i){var n=i("cbe5"),a=i("401b"),r=i("4a3f"),o=r.quadraticSubdivide,s=r.cubicSubdivide,l=r.quadraticAt,u=r.cubicAt,c=r.quadraticDerivativeAt,h=r.cubicDerivativeAt,d=[];function f(t,e,i){var n=t.cpx2,a=t.cpy2;return null===n||null===a?[(i?h:u)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?h:u)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?c:l)(t.x1,t.cpx1,t.x2,e),(i?c:l)(t.y1,t.cpy1,t.y2,e)]}var p=n.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.x1,n=e.y1,a=e.x2,r=e.y2,l=e.cpx1,u=e.cpy1,c=e.cpx2,h=e.cpy2,f=e.percent;0!==f&&(t.moveTo(i,n),null==c||null==h?(f<1&&(o(i,l,a,f,d),l=d[1],a=d[2],o(n,u,r,f,d),u=d[1],r=d[2]),t.quadraticCurveTo(l,u,a,r)):(f<1&&(s(i,l,c,a,f,d),l=d[1],c=d[2],a=d[3],s(n,u,h,r,f,d),u=d[1],h=d[2],r=d[3]),t.bezierCurveTo(l,u,c,h,a,r)))},pointAt:function(t){return f(this.shape,t,!1)},tangentAt:function(t){var e=f(this.shape,t,!0);return a.normalize(e,e)}});t.exports=p},adda:function(t,e,i){var n=i("94e4"),a=n.circularLayout;function r(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&a(t,"symbolSize")}))}t.exports=r},adf4:function(t,e,i){var n=i("4f85"),a=i("b1d4"),r=i("2f45"),o=r.getDimensionTypeByAxis,s=i("6179"),l=i("6d8b"),u=i("e0d3"),c=u.groupData,h=i("eda2"),d=h.encodeHTML,f=i("c4a3"),p=2,g=n.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){g.superApply(this,"init",arguments),this.legendVisualProvider=new f(l.bind(this.getData,this),l.bind(this.getRawData,this))},fixData:function(t){var e=t.length,i={},n=c(t,(function(t){return i.hasOwnProperty(t[0])||(i[t[0]]=-1),t[2]})),a=[];n.buckets.each((function(t,e){a.push({name:e,dataList:t})}));for(var r=a.length,o=0;o=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof r&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;t.exports=u},b006:function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("fab2"),o=i("fc82"),s=i("f4a2"),l=i("2306"),u=["axisLine","axisTickLabel","axisName"],c=n.extendComponentView({type:"parallelAxis",init:function(t,e){c.superApply(this,"init",arguments),(this._brushController=new o(e.getZr())).on("brush",a.bind(this._onBrush,this))},render:function(t,e,i,n){if(!h(t,e,n)){this.axisModel=t,this.api=i,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),t.get("show")){var s=f(t,e),c=s.coordinateSystem,d=t.getAreaSelectStyle(),p=d.width,g=t.axis.dim,m=c.getAxisLayout(g),v=a.extend({strokeContainThreshold:p},m),y=new r(t,v);a.each(u,y.add,y),this._axisGroup.add(y.getGroup()),this._refreshBrushController(v,d,t,s,p,i);var x=n&&!1===n.animation?null:t;l.groupTransition(o,this._axisGroup,x)}}},_refreshBrushController:function(t,e,i,n,a,r){var o=i.axis.getExtent(),u=o[1]-o[0],c=Math.min(30,.1*Math.abs(u)),h=l.BoundingRect.create({x:o[0],y:-a/2,width:u,height:a});h.x-=c,h.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(h),isTargetByCursor:s.makeRectIsTargetByCursor(h,r,n),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(h,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(d(i))},_onBrush:function(t,e){var i=this.axisModel,n=i.axis,r=a.map(t,(function(t){return[n.coordToData(t.range[0],!0),n.coordToData(t.range[1],!0)]}));(!i.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:r})},dispose:function(){this._brushController.dispose()}});function h(t,e,i){return i&&"axisAreaSelect"===i.type&&e.findComponents({mainType:"parallelAxis",query:i})[0]===t}function d(t){var e=t.axis;return a.map(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}function f(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}var p=c;t.exports=p},b0af:function(t,e,i){var n=i("2306"),a=i("3842"),r=a.round;function o(t,e,i){var a=t.getArea(),r=t.getBaseAxis().isHorizontal(),o=a.x,s=a.y,l=a.width,u=a.height,c=i.get("lineStyle.width")||2;o-=c/2,s-=c/2,l+=c,u+=c,o=Math.floor(o),l=Math.round(l);var h=new n.Rect({shape:{x:o,y:s,width:l,height:u}});return e&&(h.shape[r?"width":"height"]=0,n.initProps(h,{shape:{width:l,height:u}},i)),h}function s(t,e,i){var a=t.getArea(),o=new n.Sector({shape:{cx:r(t.cx,1),cy:r(t.cy,1),r0:r(a.r0,1),r:r(a.r,1),startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}});return e&&(o.shape.endAngle=a.startAngle,n.initProps(o,{shape:{endAngle:a.endAngle}},i)),o}function l(t,e,i){return t?"polar"===t.type?s(t,e,i):"cartesian2d"===t.type?o(t,e,i):null:null}e.createGridClipPath=o,e.createPolarClipPath=s,e.createClipPath=l},b11c:function(t,e,i){i("8ec5"),i("db9e"),i("4e9f"),i("d3a0"),i("767c"),i("7c4d"),i("df70")},b12f:function(t,e,i){var n=i("e1fc"),a=i("8918"),r=i("625e"),o=function(){this.group=new n,this.uid=a.getUID("viewComponent")};o.prototype={constructor:o,init:function(t,e){},render:function(t,e,i,n){},dispose:function(){},filterForExposedEvent:null};var s=o.prototype;s.updateView=s.updateLayout=s.updateVisual=function(t,e,i,n){},r.enableClassExtend(o),r.enableClassManagement(o,{registerWhenExtend:!0});var l=o;t.exports=l},b16f:function(t,e,i){var n=i("4ab1"),a=i("6d8b"),r=i("4942"),o=i("41ef");function s(t,e){n.call(this,t,e,["linearGradient","radialGradient"],"__gradient_in_use__")}a.inherits(s,n),s.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var i=this;a.each(["fill","stroke"],(function(n){if(e.style[n]&&("linear"===e.style[n].type||"radial"===e.style[n].type)){var a,r=e.style[n],o=i.getDefs(!0);r._dom?(a=r._dom,o.contains(r._dom)||i.addDom(a)):a=i.add(r),i.markUsed(e);var s=a.getAttribute("id");t.setAttribute(n,"url(#"+s+")")}}))}},s.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return r("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},s.prototype.update=function(t){var e=this;n.prototype.update.call(this,t,(function(){var i=t.type,n=t._dom.tagName;"linear"===i&&"linearGradient"===n||"radial"===i&&"radialGradient"===n?e.updateDom(t,t._dom):(e.removeDom(t),e.add(t))}))},s.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void r("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var i=t.colorStops,n=0,a=i.length;n-1){var u=o.parse(l)[3],c=o.toHex(l);s.setAttribute("stop-color","#"+c),s.setAttribute("stop-opacity",u)}else s.setAttribute("stop-color",i[n].color);e.appendChild(s)}t._dom=e},s.prototype.markUsed=function(t){if(t.style){var e=t.style.fill;e&&e._dom&&n.prototype.markUsed.call(this,e._dom),e=t.style.stroke,e&&e._dom&&n.prototype.markUsed.call(this,e._dom)}};var l=s;t.exports=l},b1d4:function(t,e,i){var n=i("862d");function a(t,e){return e=e||{},n(e.coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,encodeDefaulter:e.encodeDefaulter,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}t.exports=a},b336:function(t,e,i){var n=i("6d8b"),a=n.each;function r(t){var e=t&&t.visualMap;n.isArray(e)||(e=e?[e]:[]),a(e,(function(t){if(t){o(t,"splitList")&&!o(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&n.isArray(e)&&a(e,(function(t){n.isObject(t)&&(o(t,"start")&&!o(t,"min")&&(t.min=t.start),o(t,"end")&&!o(t,"max")&&(t.max=t.end))}))}}))}function o(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}t.exports=r},b369:function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("2306"),o=i("80f0"),s=i("55ac"),l=i("f610"),u=i("4a01"),c=i("9850"),h=i("1687"),d=i("e6cd"),f=i("282b"),p=i("eda2"),g=p.windowOpen,m=a.bind,v=r.Group,y=r.Rect,x=a.each,_=3,b=["label"],w=["emphasis","label"],S=["upperLabel"],M=["emphasis","upperLabel"],I=10,T=1,A=2,C=f([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),D=function(t){var e=C(t);return e.stroke=e.fill=e.lineWidth=null,e},L=n.extendChartView({type:"treemap",init:function(t,e){this._containerGroup,this._storage=P(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(t,e,i,n){var r=e.findComponents({mainType:"series",subType:"treemap",query:n});if(!(a.indexOf(r,t)<0)){this.seriesModel=t,this.api=i,this.ecModel=e;var o=["treemapZoomToNode","treemapRootToNode"],l=s.retrieveTargetInfo(n,o,t),u=n&&n.type,c=t.layoutInfo,h=!this._oldTree,d=this._storage,f="treemapRootToNode"===u&&l&&d?{rootNodeGroup:d.nodeGroup[l.node.getRawIndex()],direction:n.direction}:null,p=this._giveContainerGroup(c),g=this._doRender(p,t,f);h||u&&"treemapZoomToNode"!==u&&"treemapRootToNode"!==u?g.renderFinally():this._doAnimation(p,g,t,f),this._resetController(i),this._renderBreadcrumb(t,i,l)}},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new v,this._initEvents(e),this.group.add(e)),e.attr("position",[t.x,t.y]),e},_doRender:function(t,e,i){var n=e.getData().tree,r=this._oldTree,s=P(),l=P(),u=this._storage,c=[],h=a.curry(k,e,l,u,i,s,c);f(n.root?[n.root]:[],r&&r.root?[r.root]:[],t,n===r||!r,0);var d=p(u);return this._oldTree=n,this._storage=l,{lastsForAnimation:s,willDeleteEls:d,renderFinally:g};function f(t,e,i,n,r){function s(t){return t.getId()}function l(a,o){var s=null!=a?t[a]:null,l=null!=o?e[o]:null,u=h(s,l,i,r);u&&f(s&&s.viewChildren||[],l&&l.viewChildren||[],u,n,r+1)}n?(e=t,x(t,(function(t,e){!t.isRemoved()&&l(e,e)}))):new o(e,t,s,s).add(l).update(l).remove(a.curry(l,null)).execute()}function p(t){var e=P();return t&&x(t,(function(t,i){var n=e[i];x(t,(function(t){t&&(n.push(t),t.__tmWillDelete=1)}))})),e}function g(){x(d,(function(t){x(t,(function(t){t.parent&&t.parent.remove(t)}))})),x(c,(function(t){t.invisible=!0,t.dirty()}))}},_doAnimation:function(t,e,i,n){if(i.get("animation")){var r=i.get("animationDurationUpdate"),o=i.get("animationEasing"),s=d.createWrap();x(e.willDeleteEls,(function(t,e){x(t,(function(t,i){if(!t.invisible){var a,l=t.parent;if(n&&"drillDown"===n.direction)a=l===n.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,c=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,c=l.__tmNodeHeight/2),a="nodeGroup"===e?{position:[u,c],style:{opacity:0}}:{shape:{x:u,y:c,width:0,height:0},style:{opacity:0}}}a&&s.add(t,a,r,o)}}))})),x(this._storage,(function(t,i){x(t,(function(t,n){var l=e.lastsForAnimation[i][n],u={};l&&("nodeGroup"===i?l.old&&(u.position=t.position.slice(),t.attr("position",l.old)):(l.old&&(u.shape=a.extend({},t.shape),t.setShape(l.old)),l.fadein?(t.setStyle("opacity",0),u.style={opacity:1}):1!==t.style.opacity&&(u.style={opacity:1})),s.add(t,u,r,o))}))}),this),this._state="animating",s.done(m((function(){this._state="ready",e.renderFinally()}),this)).start()}},_resetController:function(t){var e=this._controller;e||(e=this._controller=new u(t.getZr()),e.enable(this.seriesModel.get("roam")),e.on("pan",m(this._onPan,this)),e.on("zoom",m(this._onZoom,this)));var i=new c(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,n){return i.contain(e,n)}))},_clearController:function(){var t=this._controller;t&&(t.dispose(),t=null)},_onPan:function(t){if("animating"!==this._state&&(Math.abs(t.dx)>_||Math.abs(t.dy)>_)){var e=this.seriesModel.getData().tree.root;if(!e)return;var i=e.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+t.dx,y:i.y+t.dy,width:i.width,height:i.height}})}},_onZoom:function(t){var e=t.originX,i=t.originY;if("animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var a=n.getLayout();if(!a)return;var r=new c(a.x,a.y,a.width,a.height),o=this.seriesModel.layoutInfo;e-=o.x,i-=o.y;var s=h.create();h.translate(s,s,[-e,-i]),h.scale(s,s,[t.scale,t.scale]),h.translate(s,s,[e,i]),r.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x,y:r.y,width:r.width,height:r.height}})}},_initEvents:function(t){t.on("click",(function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var i=this.findTarget(t.offsetX,t.offsetY);if(i){var n=i.node;if(n.getLayout().isLeafRoot)this._rootToNode(i);else if("zoomToNode"===e)this._zoomToNode(i);else if("link"===e){var a=n.hostTree.data.getItemModel(n.dataIndex),r=a.get("link",!0),o=a.get("target",!0)||"blank";r&&g(r,o)}}}}}),this)},_renderBreadcrumb:function(t,e,i){function n(e){"animating"!==this._state&&(s.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))}i||(i=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2),i||(i={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(t,e,i.node,m(n,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=P(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var i,n=this.seriesModel.getViewRoot();return n.eachNode({attr:"viewChildren",order:"preorder"},(function(n){var a=this._storage.background[n.getRawIndex()];if(a){var r=a.transformCoordToLocal(t,e),o=a.shape;if(!(o.x<=r[0]&&r[0]<=o.x+o.width&&o.y<=r[1]&&r[1]<=o.y+o.height))return!1;i={node:n,offsetX:r[0],offsetY:r[1]}}}),this),i}});function P(){return{nodeGroup:[],background:[],content:[]}}function k(t,e,i,n,o,s,l,u,c,h){if(l){var d=l.getLayout(),f=t.getData();if(f.setItemGraphicEl(l.dataIndex,null),d&&d.isInView){var p=d.width,g=d.height,m=d.borderWidth,x=d.invisible,_=l.getRawIndex(),I=u&&u.getRawIndex(),L=l.viewChildren,P=d.upperHeight,k=L&&L.length,R=l.getModel("itemStyle"),E=l.getModel("emphasis.itemStyle"),N=j("nodeGroup",v);if(N){if(c.add(N),N.attr("position",[d.x||0,d.y||0]),N.__tmNodeWidth=p,N.__tmNodeHeight=g,d.isAboveViewRoot)return N;var z=l.getModel(),B=j("background",y,h,T);if(B&&G(N,B,k&&d.upperLabelHeight),k)r.isHighDownDispatcher(N)&&r.setAsHighDownDispatcher(N,!1),B&&(r.setAsHighDownDispatcher(B,!0),f.setItemGraphicEl(l.dataIndex,B));else{var V=j("content",y,h,A);V&&F(N,V),B&&r.isHighDownDispatcher(B)&&r.setAsHighDownDispatcher(B,!1),r.setAsHighDownDispatcher(N,!0),f.setItemGraphicEl(l.dataIndex,N)}return N}}}function G(e,i,n){if(i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex,i.setShape({x:0,y:0,width:p,height:g}),x)H(i);else{i.invisible=!1;var a=l.getVisual("borderColor",!0),o=E.get("borderColor"),s=D(R);s.fill=a;var u=C(E);if(u.fill=o,n){var c=p-2*m;W(s,u,a,c,P,{x:m,y:0,width:c,height:P})}else s.text=u.text=null;i.setStyle(s),r.setElementHoverStyle(i,u)}e.add(i)}function F(e,i){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex;var n=Math.max(p-2*m,0),a=Math.max(g-2*m,0);if(i.culling=!0,i.setShape({x:m,y:m,width:n,height:a}),x)H(i);else{i.invisible=!1;var o=l.getVisual("color",!0),s=D(R);s.fill=o;var u=C(E);W(s,u,o,n,a),i.setStyle(s),r.setElementHoverStyle(i,u)}e.add(i)}function H(t){!t.invisible&&s.push(t)}function W(e,i,n,o,s,u){var c=z.get("name"),h=z.getModel(u?S:b),f=z.getModel(u?M:w),p=h.getShallow("show");r.setLabelStyle(e,i,h,f,{defaultText:p?c:null,autoColor:n,isRectText:!0,labelFetcher:t,labelDataIndex:l.dataIndex,labelProp:u?"upperLabel":"label"}),U(e,u,d),U(i,u,d),u&&(e.textRect=a.clone(u)),e.truncate=p&&h.get("ellipsis")?{outerWidth:o,outerHeight:s,minChar:2}:null}function U(e,i,n){var a=e.text;if(!i&&n.isLeafRoot&&null!=a){var r=t.get("drillDownIcon",!0);e.text=r?r+" "+a:a}}function j(t,n,a,r){var s=null!=I&&i[t][I],l=o[t];return s?(i[t][I]=null,Z(l,s,t)):x||(s=new n({z:O(a,r)}),s.__tmDepth=a,s.__tmStorageName=t,Y(l,s,t)),e[t][_]=s}function Z(t,e,i){var n=t[_]={};n.old="nodeGroup"===i?e.position.slice():a.extend({},e.shape)}function Y(t,e,i){var a=t[_]={},r=l.parentNode;if(r&&(!n||"drillDown"===n.direction)){var s=0,u=0,c=o.background[r.getRawIndex()];!n&&c&&c.old&&(s=c.old.width,u=c.old.height),a.old="nodeGroup"===i?[0,u]:{x:s,y:u,width:0,height:0}}a.fadein="nodeGroup"!==i}}function O(t,e){var i=t*I+e;return(i-1)/i}t.exports=L},b419:function(t,e,i){var n=i("6d8b"),a=i("2306"),r=i("4319"),o=i("6679"),s=i("fab2"),l=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function u(t,e,i){e[1]>e[0]&&(e=e.slice().reverse());var n=t.coordToPoint([e[0],i]),a=t.coordToPoint([e[1],i]);return{x1:n[0],y1:n[1],x2:a[0],y2:a[1]}}function c(t){var e=t.getRadiusAxis();return e.inverse?0:1}function h(t){var e=t[0],i=t[t.length-1];e&&i&&Math.abs(Math.abs(e.coord-i.coord)-360)<1e-4&&t.pop()}var d=o.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,a=i.polar,r=a.getRadiusAxis().getExtent(),o=i.getTicksCoords(),s=i.getMinorTicksCoords(),u=n.map(i.getViewLabels(),(function(t){t=n.clone(t);return t.coord=i.dataToCoord(t.tickValue),t}));h(u),h(o),n.each(l,(function(e){!t.get(e+".show")||i.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,a,o,s,r,u)}),this)}},_axisLine:function(t,e,i,n,r){var o,s=t.getModel("axisLine.lineStyle"),l=c(e),u=l?0:1;o=0===r[u]?new a.Circle({shape:{cx:e.cx,cy:e.cy,r:r[l]},style:s.getLineStyle(),z2:1,silent:!0}):new a.Ring({shape:{cx:e.cx,cy:e.cy,r:r[l],r0:r[u]},style:s.getLineStyle(),z2:1,silent:!0}),o.style.fill=null,this.group.add(o)},_axisTick:function(t,e,i,r,o){var s=t.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),h=o[c(e)],d=n.map(i,(function(t){return new a.Line({shape:u(e,[h,h+l],t.coord)})}));this.group.add(a.mergePath(d,{style:n.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_minorTick:function(t,e,i,r,o){if(r.length){for(var s=t.getModel("axisTick"),l=t.getModel("minorTick"),h=(s.get("inside")?-1:1)*l.get("length"),d=o[c(e)],f=[],p=0;pv?"left":"right",_=Math.abs(m[1]-y)/g<.3?"middle":m[1]>y?"top":"bottom";h&&h[u]&&h[u].textStyle&&(o=new r(h[u].textStyle,d,d.ecModel));var b=new a.Text({silent:s.isLabelSilent(t)});this.group.add(b),a.setTextStyle(b.style,o,{x:m[0],y:m[1],textFill:o.getTextColor()||t.get("axisLine.lineStyle.color"),text:i.formattedLabel,textAlign:x,textVerticalAlign:_}),p&&(b.eventData=s.makeAxisEventDataBase(t),b.eventData.targetType="axisLabel",b.eventData.value=i.rawLabel)}),this)},_splitLine:function(t,e,i,r,o){var s=t.getModel("splitLine"),l=s.getModel("lineStyle"),c=l.get("color"),h=0;c=c instanceof Array?c:[c];for(var d=[],f=0;f2?t.toFixed(2):t}}},o=r,s=(i("30dc"),i("2877")),l=Object(s["a"])(o,n,a,!1,null,"10e49446",null);e["default"]=l.exports},b719:function(t,e,i){var n=i("697e7");e.zrender=n;var a=i("1687");e.matrix=a;var r=i("401b");e.vector=r;var o=i("6d8b"),s=i("41ef");e.color=s;var l=i("2306"),u=i("3842");e.number=u;var c=i("eda2");e.format=c;var h=i("88b3");h.throttle;e.throttle=h.throttle;var d=i("1548");e.helper=d;var f=i("bda7");e.parseGeoJSON=f;var p=i("6179");e.List=p;var g=i("4319");e.Model=g;var m=i("84ce");e.Axis=m;var v=i("22d1");e.env=v;var y=f,x={};o.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(t){x[t]=o[t]}));var _={};o.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(t){_[t]=l[t]})),e.parseGeoJson=y,e.util=x,e.graphic=_},b809:function(t,e,i){var n=i("6d8b"),a=i("29a8"),r=i("2b17"),o=r.retrieveRawValue;function s(t,e){var i=e.getModel("aria");if(i.get("show"))if(i.get("description"))t.setAttribute("aria-label",i.get("description"));else{var r=0;e.eachSeries((function(t,e){++r}),this);var s,l=i.get("data.maxCount")||10,u=i.get("series.maxCount")||10,c=Math.min(r,u);if(!(r<1)){var h=m();s=h?p(g("general.withTitle"),{title:h}):g("general.withoutTitle");var d=[],f=r>1?"series.multiple.prefix":"series.single.prefix";s+=p(g(f),{seriesCount:r}),e.eachSeries((function(t,e){if(e1?"multiple":"single")+".";i=g(n?a+"withName":a+"withoutName"),i=p(i,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:v(t.subType)});var s=t.getData();window.data=s,s.count()>l?i+=p(g("data.partialData"),{displayCnt:l}):i+=g("data.allData");for(var u=[],h=0;hl+o)break;if(t[r].y+=n,r>e&&r+1t[r].y+t[r].height)return void h(r,n/2)}h(i-1,n/2)}function h(e,i){for(var n=e;n>=0;n--){if(t[n].y-i0&&t[n].y>t[n-1].y+t[n-1].height)break}}function d(t,e,i,n,a,r){for(var o=e?Number.MAX_VALUE:0,s=0,l=t.length;s=o&&(d=o-10),!e&&d<=o&&(d=o+10),t[s].x=i+d*r,o=d}}t.sort((function(t,e){return t.y-e.y}));for(var f,p=0,g=t.length,m=[],v=[],y=0;y=i?v.push(t[y]):m.push(t[y]);d(m,!1,e,i,n,a),d(v,!0,e,i,n,a)}function l(t,e,i,a,r,o,l,c){for(var h=[],d=[],f=Number.MAX_VALUE,p=-Number.MAX_VALUE,g=0;g0?"right":"left":L>0?"left":"right"}var H=u.get("rotate");k="number"===typeof H?H*(Math.PI/180):H?L<0?-D+Math.PI:-D:0,p=!!k,o.label={x:I,y:T,position:m,height:R.height,len:S,len2:M,linePoints:A,textAlign:C,verticalAlign:"middle",rotation:k,inside:E,labelDistance:v,labelAlignTo:y,labelMargin:x,bleedMargin:_,textRect:R,text:O,font:b},E||f.push(o.label)}})),!p&&t.get("avoidLabelOverlap")&&l(f,c,h,e,i,a,s,u)}t.exports=c},bc5f:function(t,e,i){var n=i("6cb7");n.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}))},bcaa:function(t,e,i){var n=i("4ab1"),a=i("6d8b");function r(t,e){n.call(this,t,e,["filter"],"__filter_in_use__","_shadowDom")}function o(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}a.inherits(r,n),r.prototype.addWithoutUpdate=function(t,e){if(e&&o(e.style)){var i;if(e._shadowDom){i=e._shadowDom;var n=this.getDefs(!0);n.contains(e._shadowDom)||this.addDom(i)}else i=this.add(e);this.markUsed(e);var a=i.getAttribute("id");t.style.filter="url(#"+a+")"}},r.prototype.add=function(t){var e=this.createElement("filter");return t._shadowDomId=t._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+t._shadowDomId),this.updateDom(t,e),this.addDom(e),e},r.prototype.update=function(t,e){var i=e.style;if(o(i)){var a=this;n.prototype.update.call(this,e,(function(){a.updateDom(e,e._shadowDom)}))}else this.remove(t,e)},r.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(t),t.style.filter="")},r.prototype.updateDom=function(t,e){var i=e.getElementsByTagName("feDropShadow");i=0===i.length?this.createElement("feDropShadow"):i[0];var n,a,r,o,s=t.style,l=t.scale&&t.scale[0]||1,u=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)n=s.shadowOffsetX||0,a=s.shadowOffsetY||0,r=s.shadowBlur,o=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);n=s.textShadowOffsetX||0,a=s.textShadowOffsetY||0,r=s.textShadowBlur,o=s.textShadowColor}i.setAttribute("dx",n/l),i.setAttribute("dy",a/u),i.setAttribute("flood-color",o);var c=r/2/l,h=r/2/u,d=c+" "+h;i.setAttribute("stdDeviation",d),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(r/2*200)+"%"),e.setAttribute("height",Math.ceil(r/2*200)+"%"),e.appendChild(i),t._shadowDom=e},r.prototype.markUsed=function(t){t._shadowDom&&n.prototype.markUsed.call(this,t._shadowDom)};var s=r;t.exports=s},bcbe:function(t,e,i){var n=i("6d8b"),a=i("fab2"),r=i("2306"),o=i("edb9"),s=i("6679"),l=i("58df"),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,h=["axisLine","axisTickLabel","axisName"],d=["splitArea","splitLine"],f=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,e,i,s){var l=this.group;l.removeAll();var u=this._axisGroup;this._axisGroup=new r.Group;var c=o.layout(t),p=new a(t,c);n.each(h,p.add,p),l.add(this._axisGroup),l.add(p.getGroup()),n.each(d,(function(e){t.get(e+".show")&&this["_"+e](t)}),this),r.groupTransition(u,this._axisGroup,t),f.superCall(this,"render",t,e,i,s)},remove:function(){c(this)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){var i=t.getModel("splitLine"),n=i.getModel("lineStyle"),a=n.get("width"),o=n.get("color");o=o instanceof Array?o:[o];for(var s=t.coordinateSystem.getRect(),l=e.isHorizontal(),u=[],c=0,h=e.getTicksCoords({tickModel:i}),d=[],f=[],p=0;p0&&t.animate(e,!1).when(null==a?500:a,s).delay(r||0)}function p(t,e,i,n){if(e){var a={};a[e]={},a[e][i]=n,t.attr(a)}else t.attr(i,n)}h.prototype={constructor:h,animate:function(t,e){var i,r=!1,o=this,s=this.__zr;if(t){var l=t.split("."),u=o;r="shape"===l[0];for(var h=0,d=l.length;h=0)&&t(r,n,a)}))}var p=f.prototype;function g(t){return t[0]>t[1]&&t.reverse(),t}function m(t,e){return o.parseFinder(t,e,{includeMainTypes:d})}p.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,(function(t,e,i){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var n=_[t.brushType](0,i,e);t.__rangeOffset={offset:w[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax}}}))},p.matchOutputRanges=function(t,e,i){l(t,(function(t){var n=this.findTargetInfo(t,e);n&&!0!==n&&a.each(n.coordSyses,(function(n){var a=_[t.brushType](1,n,t.range);i(t,a.values,n,e)}))}),this)},p.setInputRanges=function(t,e){l(t,(function(t){var i=this.findTargetInfo(t,e);if(t.range=t.range||[],i&&!0!==i){t.panelId=i.panelId;var n=_[t.brushType](0,i.coordSys,t.coordRange),a=t.__rangeOffset;t.range=a?w[t.brushType](n.values,a.offset,M(n.xyMinMax,a.xyMinMax)):n.values}}),this)},p.makePanelOpts=function(t,e){return a.map(this._targetInfoList,(function(i){var n=i.getPanelRect();return{panelId:i.panelId,defaultBrushType:e&&e(i),clipPath:s.makeRectPanelClipPath(n),isTargetByCursor:s.makeRectIsTargetByCursor(n,t,i.coordSysModel),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(n)}}))},p.controlSeries=function(t,e,i){var n=this.findTargetInfo(t,i);return!0===n||n&&u(n.coordSyses,e.coordinateSystem)>=0},p.findTargetInfo=function(t,e){for(var i=this._targetInfoList,n=m(e,t),a=0;a=0||u(n,t.getAxis("y").model)>=0)&&r.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:r[0],coordSyses:r,getPanelRect:x.grid,xAxisDeclared:s[t.id],yAxisDeclared:c[t.id]})})))},geo:function(t,e){l(t.geoModels,(function(t){var i=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:i,coordSyses:[i],getPanelRect:x.geo})}))}},y=[function(t,e){var i=t.xAxisModel,n=t.yAxisModel,a=t.gridModel;return!a&&i&&(a=i.axis.grid.model),!a&&n&&(a=n.axis.grid.model),a&&a===e.gridModel},function(t,e){var i=t.geoModel;return i&&i===e.geoModel}],x={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(r.getTransform(t)),e}},_={lineX:c(b,0),lineY:c(b,1),rect:function(t,e,i){var n=e[h[t]]([i[0][0],i[1][0]]),a=e[h[t]]([i[0][1],i[1][1]]),r=[g([n[0],a[0]]),g([n[1],a[1]])];return{values:r,xyMinMax:r}},polygon:function(t,e,i){var n=[[1/0,-1/0],[1/0,-1/0]],r=a.map(i,(function(i){var a=e[h[t]](i);return n[0][0]=Math.min(n[0][0],a[0]),n[1][0]=Math.min(n[1][0],a[1]),n[0][1]=Math.max(n[0][1],a[0]),n[1][1]=Math.max(n[1][1],a[1]),a}));return{values:r,xyMinMax:n}}};function b(t,e,i,n){var r=i.getAxis(["x","y"][t]),o=g(a.map([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(n[t])):r.toGlobalCoord(r.dataToCoord(n[t]))}))),s=[];return s[t]=o,s[1-t]=[NaN,NaN],{values:o,xyMinMax:s}}var w={lineX:c(S,0),lineY:c(S,1),rect:function(t,e,i){return[[t[0][0]-i[0]*e[0][0],t[0][1]-i[0]*e[0][1]],[t[1][0]-i[1]*e[1][0],t[1][1]-i[1]*e[1][1]]]},polygon:function(t,e,i){return a.map(t,(function(t,n){return[t[0]-i[0]*e[n][0],t[1]-i[1]*e[n][1]]}))}};function S(t,e,i,n){return[e[0]-n[t]*i[0],e[1]-n[t]*i[1]]}function M(t,e){var i=I(t),n=I(e),a=[i[0]/n[0],i[1]/n[1]];return isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a}function I(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var T=f;t.exports=T},bda7:function(t,e,i){var n=i("6d8b"),a=i("f279");function r(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var i=t.features,n=0;n>1^-(1&s),l=l>>1^-(1&l),s+=a,l+=r,a=s,r=l,n.push([s/i,l/i])}return n}function s(t,e){return r(t),n.map(n.filter(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var i=t.properties,r=t.geometry,o=r.coordinates,s=[];"Polygon"===r.type&&s.push({type:"polygon",exterior:o[0],interiors:o.slice(1)}),"MultiPolygon"===r.type&&n.each(o,(function(t){t[0]&&s.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var l=new a(i[e||"name"],s,i.cp);return l.properties=i,l}))}t.exports=s},bdc0:function(t,e,i){var n=i("3eba");i("d2a5"),n.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))},bf9b:function(t,e,i){var n=i("3eba"),a=i("d81e"),r=a.updateCenterAndZoom;n.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var i=t.dataIndex,n=e.getData().tree,a=n.getNodeByDataIndex(i);a.isExpand=!a.isExpand}))})),n.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var i=e.coordinateSystem,n=r(i,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)}))}))},c037:function(t,e,i){var n=i("3eba"),a=i("6d8b");i("f7c6"),i("1ab3");var r=i("7782"),o=i("98e7"),s=i("292e"),l=i("d3f4");r("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),n.registerVisual(o("pie")),n.registerLayout(a.curry(s,"pie")),n.registerProcessor(l("pie"))},c2be:function(t,e,i){var n=i("2306"),a=n.extendShape,r=a({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(t,e){var i=e.cx,n=e.cy,a=Math.max(e.r0||0,0),r=Math.max(e.r,0),o=.5*(r-a),s=a+o,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=Math.cos(l),d=Math.sin(l),f=Math.cos(u),p=Math.sin(u),g=c?u-l<2*Math.PI:l-u<2*Math.PI;g&&(t.moveTo(h*a+i,d*a+n),t.arc(h*s+i,d*s+n,o,-Math.PI+l,l,!c)),t.arc(i,n,r,l,u,!c),t.moveTo(f*r+i,p*r+n),t.arc(f*s+i,p*s+n,o,u-2*Math.PI,u-Math.PI,!c),0!==a&&(t.arc(i,n,a,u,l,c),t.moveTo(h*a+i,p*a+n)),t.closePath()}});t.exports=r},c2dde:function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("fc82"),o=i("10cc"),s=o.layoutCovers,l=n.extendComponentView({type:"brush",init:function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new r(e.getZr())).on("brush",a.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,u.apply(this,arguments)},updateTransform:function(t,e){return s(e),u.apply(this,arguments)},updateView:u,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var i=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:a.clone(t),$from:i}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:i,areas:a.clone(t),$from:i})}});function u(t,e,i,n){(!n||n.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(i)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}t.exports=l},c4a3:function(t,e){function i(t,e){this.getAllNames=function(){var t=e();return t.mapArray(t.getName)},this.containName=function(t){var i=e();return i.indexOfName(t)>=0},this.indexOfName=function(e){var i=t();return i.indexOfName(e)},this.getItemVisual=function(e,i){var n=t();return n.getItemVisual(e,i)}}var n=i;t.exports=n},c515:function(t,e,i){i("849b"),i("8459"),i("b006")},c526:function(t,e){var i={axisPointer:1,tooltip:1,brush:1};function n(t,e,n){var a=e.getComponentByElement(t.topTarget),r=a&&a.coordinateSystem;return a&&a!==n&&!i[a.mainType]&&r&&r.model!==n}e.onIrrelevantElement=n},c533:function(t,e){var i=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],n={color:i,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],i]};t.exports=n},c62c:function(t,e,i){var n=i("6d8b"),a=i("6cb7"),r=i("9e47"),o=i("2023"),s=a.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),l={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function u(t,e){return e.type||(e.data?"category":"value")}n.merge(s.prototype,o),r("single",s,u,l);var c=s;t.exports=c},c63e:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t._self._c;return e("vue-ellipse-progress",t._b({attrs:{progress:t.progress}},"vue-ellipse-progress",t.options,!1),[e("span",{attrs:{slot:"legend-value"},slot:"legend-value"},[e("span",{staticClass:"base"},[t._v(" / ")]),e("span",{staticClass:"base"},[t._v(" "+t._s(t.total||0)+" ")])]),e("div",{attrs:{slot:"legend-caption"},slot:"legend-caption"},[e("p",{staticClass:"title"},[t._v("故障解除次数")])])])},a=[],r={name:"CirclrProgress",props:{size:{type:Number,default:0},ok:{type:[Number,String],default:0},total:{type:[Number,String],default:"-"}},data:function(){return{}},computed:{progress:function(){var t=0;return this.total&&this.total>0&&(t=Math.floor(100*this.ok/this.total)),t},options:function(){var t=Math.floor(this.size/4);return{loading:"-"==this.total,color:"#00DBF7","empty-color":"#47646B",size:3.2*this.size,thickness:t,"empty-thickness":t,"line-mode":"out-over 0",animation:"reverse 300 0","font-size":"0.6rem","font-color":"white","legend-value":this.ok}}},mounted:function(){},methods:{}},o=r,s=(i("e4a3"),i("2877")),l=Object(s["a"])(o,n,a,!1,null,"1820cf68",null);e["default"]=l.exports},c6ef:function(t,e,i){"use strict";i("40f3")},c775:function(t,e,i){var n=i("2b17"),a=n.retrieveRawValue;function r(t,e){var i=t.mapDimension("defaultedLabel",!0),n=i.length;if(1===n)return a(t,e,i[0]);if(n){for(var r=[],o=0;o=0;s--){var l=2*s,u=n[l]-r/2,c=n[l+1]-o/2;if(t>=u&&e>=c&&t<=u+r&&e<=c+o)return s}return-1}});function u(){this.group=new n.Group}var c=u.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(t,e){this.group.removeAll();var i=new l({rectHover:!0,cursor:"default"});i.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(i,t,!1,e),this.group.add(i),this._incremental=null},c.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");this.group.eachChild((function(t){if(null!=t.startIndex){var i=2*(t.endIndex-t.startIndex),n=4*t.startIndex*2;e=new Float32Array(e.buffer,n,i)}t.setShape("points",e)}))}},c.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new o({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(t,e,i){var n;this._incremental?(n=new l,this._incremental.addDisplayable(n,!0)):(n=new l({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end}),n.incremental=!0,this.group.add(n)),n.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(n,e,!!this._incremental,i)},c._setCommon=function(t,e,i,n){var a=e.hostModel;n=n||{};var o=e.getVisual("symbolSize");t.setShape("size",o instanceof Array?o:[o,o]),t.softClipShape=n.clipShape||null,t.symbolProxy=r(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var l=t.shape.size[0]=0&&(t.dataIndex=i+(t.startIndex||0))})))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var h=u;t.exports=h},ca29:function(t,e,i){var n=i("6d9a"),a=n.eachAfter,r=n.eachBefore,o=i("22da"),s=o.init,l=o.firstWalk,u=o.secondWalk,c=o.separation,h=o.radialCoordinate,d=o.getViewRect;function f(t,e){t.eachSeriesByType("tree",(function(t){p(t,e)}))}function p(t,e){var i=d(t,e);t.layoutInfo=i;var n=t.get("layout"),o=0,f=0,p=null;"radial"===n?(o=2*Math.PI,f=Math.min(i.height,i.width)/2,p=c((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(o=i.width,f=i.height,p=c());var g=t.getData().tree.root,m=g.children[0];if(m){s(g),a(m,l,p),g.hierNode.modifier=-m.hierNode.prelim,r(m,u);var v=m,y=m,x=m;r(m,(function(t){var e=t.getLayout().x;ey.getLayout().x&&(y=t),t.depth>x.depth&&(x=t)}));var _=v===y?1:p(v,y)/2,b=_-v.getLayout().x,w=0,S=0,M=0,I=0;if("radial"===n)w=o/(y.getLayout().x+_+b),S=f/(x.depth-1||1),r(m,(function(t){M=(t.getLayout().x+b)*w,I=(t.depth-1)*S;var e=h(M,I);t.setLayout({x:e.x,y:e.y,rawX:M,rawY:I},!0)}));else{var T=t.getOrient();"RL"===T||"LR"===T?(S=f/(y.getLayout().x+_+b),w=o/(x.depth-1||1),r(m,(function(t){I=(t.getLayout().x+b)*S,M="LR"===T?(t.depth-1)*w:o-(t.depth-1)*w,t.setLayout({x:M,y:I},!0)}))):"TB"!==T&&"BT"!==T||(w=o/(y.getLayout().x+_+b),S=f/(x.depth-1||1),r(m,(function(t){M=(t.getLayout().x+b)*w,I="TB"===T?(t.depth-1)*S:f-(t.depth-1)*S,t.setLayout({x:M,y:I},!0)})))}}}t.exports=f},ca98:function(t,e,i){var n=i("6d8b"),a=i("e0d3"),r=i("6cb7"),o=n.each,s=n.clone,l=n.map,u=n.merge,c=/^(min|max)?(.+)$/;function h(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function d(t,e,i){var a,r,s=[],l=[],u=t.timeline;if(t.baseOption&&(r=t.baseOption),(u||t.options)&&(r=r||{},s=(t.options||[]).slice()),t.media){r=r||{};var c=t.media;o(c,(function(t){t&&t.option&&(t.query?l.push(t):a||(a=t))}))}return r||(r=t),r.timeline||(r.timeline=u),o([r].concat(s).concat(n.map(l,(function(t){return t.option}))),(function(t){o(e,(function(e){e(t,i)}))})),{baseOption:r,timelineOptions:s,mediaDefault:a,mediaList:l}}function f(t,e,i){var a={width:e,height:i,aspectratio:e/i},r=!0;return n.each(t,(function(t,e){var i=e.match(c);if(i&&i[1]&&i[2]){var n=i[1],o=i[2].toLowerCase();p(a[o],t,n)||(r=!1)}})),r}function p(t,e,i){return"min"===i?t>=e:"max"===i?t<=e:t===e}function g(t,e){return t.join(",")===e.join(",")}function m(t,e){e=e||{},o(e,(function(e,i){if(null!=e){var n=t[i];if(r.hasClass(i)){e=a.normalizeToArray(e),n=a.normalizeToArray(n);var o=a.mappingToExists(n,e);t[i]=l(o,(function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option}))}else t[i]=u(n,e,!0)}}))}h.prototype={constructor:h,setOption:function(t,e){t&&n.each(a.normalizeToArray(t.series),(function(t){t&&t.data&&n.isTypedArray(t.data)&&n.setAsPrimitive(t.data)})),t=s(t);var i=this._optionBackup,r=d.call(this,t,e,!i);this._newBaseOption=r.baseOption,i?(m(i.baseOption,r.baseOption),r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},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,i=this._timelineOptions;if(i.length){var n=t.getComponent("timeline");n&&(e=s(i[n.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e=this._api.getWidth(),i=this._api.getHeight(),n=this._mediaList,a=this._mediaDefault,r=[],o=[];if(!n.length&&!a)return o;for(var u=0,c=n.length;u0,I=y.height-(M?-1:1),T=(p-f)/(I||1),A=t.get("clockwise"),C=t.get("stillShowZeroSum"),D=A?1:-1,L=function(t,e){if(t){var i=e;if(t!==v){var n=t.getValue(),o=0===w&&C?S:n*S;o1e-10&&(a.width+=o/s,a.height+=o/s,a.x-=o/s/2,a.y-=o/s/2)}return a}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),a=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var r=this.path.data;if(a.hasStroke()){var s=a.lineWidth,l=a.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(a.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(r,s/l,t,e)))return!0}if(a.hasFill())return o.contain(r,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):n.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(a.isObject(t))for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]);else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&u(t[0]-1)>1e-10&&u(t[3]-1)>1e-10?Math.sqrt(u(t[0]*t[3]-t[2]*t[1])):1}},h.extend=function(t){var e=function(e){h.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var i=t.shape;if(i){this.shape=this.shape||{};var n=this.shape;for(var a in i)!n.hasOwnProperty(a)&&i.hasOwnProperty(a)&&(n[a]=i[a])}t.init&&t.init.call(this,e)};for(var i in a.inherits(e,h),t)"style"!==i&&"shape"!==i&&(e.prototype[i]=t[i]);return e},a.inherits(h,n);var d=h;t.exports=d},cbe9:function(t,e,i){var n=i("6d8b"),a=i("9850"),r=i("cf7e");function o(t){r.call(this,t)}o.prototype={constructor:o,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),i=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&i.contain(i.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,i){var n=this.getAxis("x"),a=this.getAxis("y");return i=i||[],i[0]=n.toGlobalCoord(n.dataToCoord(t[0])),i[1]=a.toGlobalCoord(a.dataToCoord(t[1])),i},clampData:function(t,e){var i=this.getAxis("x").scale,n=this.getAxis("y").scale,a=i.getExtent(),r=n.getExtent(),o=i.parse(t[0]),s=n.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(a[0],a[1]),o),Math.max(a[0],a[1])),e[1]=Math.min(Math.max(Math.min(r[0],r[1]),s),Math.max(r[0],r[1])),e},pointToData:function(t,e){var i=this.getAxis("x"),n=this.getAxis("y");return e=e||[],e[0]=i.coordToData(i.toLocalCoord(t[0])),e[1]=n.coordToData(n.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")},getArea:function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),i=Math.min(t[0],t[1]),n=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-i,o=Math.max(e[0],e[1])-n,s=new a(i,n,r,o);return s}},n.inherits(o,r);var s=o;t.exports=s},cc39:function(t,e,i){var n=i("6d8b"),a=i("3842"),r=i("50e5"),o=i("ef6a"),s=n.each,l=a.asc,u=function(t,e,i,n){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=n,this._dataZoomModel=i};function c(t,e,i){var n=[1/0,-1/0];return s(i,(function(t){var i=t.getData();i&&s(i.mapDimension(e,!0),(function(t){var e=i.getApproximateExtent(t);e[0]n[1]&&(n[1]=e[1])}))})),n[1]0?0:NaN);var o=i.getMax(!0);return null!=o&&"dataMax"!==o&&"function"!==typeof o?e[1]=o:a&&(e[1]=r>0?r-1:NaN),i.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0)),e}function d(t,e){var i=t.getAxisModel(),n=t._percentWindow,r=t._valueWindow;if(n){var o=a.getPixelPrecision(r,[0,500]);o=Math.min(o,20);var s=e||0===n[0]&&100===n[1];i.setRange(s?null:+r[0].toFixed(o),s?null:+r[1].toFixed(o))}}function f(t){var e=t._minMaxSpan={},i=t._dataZoomModel,n=t._dataExtent;s(["min","max"],(function(r){var o=i.get(r+"Span"),s=i.get(r+"ValueSpan");null!=s&&(s=t.getAxisModel().axis.scale.parse(s)),null!=s?o=a.linearMap(n[0]+s,n,[0,100],!0):null!=o&&(s=a.linearMap(o,[0,100],n,!0)-n[0]),e[r+"Span"]=o,e[r+"ValueSpan"]=s}))}u.prototype={constructor:u,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this.ecModel;return e.eachSeries((function(i){if(r.isCoordSupported(i.get("coordinateSystem"))){var n=this._dimName,a=e.queryComponents({mainType:n+"Axis",index:i.get(n+"AxisIndex"),id:i.get(n+"AxisId")})[0];this._axisIndex===(a&&a.componentIndex)&&t.push(i)}}),this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,i,n=this._dimName,a=this.ecModel,r=this.getAxisModel(),o="x"===n||"y"===n;return o?(e="gridIndex",t="x"===n?"y":"x"):(e="polarIndex",t="angle"===n?"radius":"angle"),a.eachComponent(t+"Axis",(function(t){(t.get(e)||0)===(r.get(e)||0)&&(i=t)})),i},getMinMaxSpan:function(){return n.clone(this._minMaxSpan)},calculateDataWindow:function(t){var e,i=this._dataExtent,n=this.getAxisModel(),r=n.axis.scale,u=this._dataZoomModel.getRangePropMode(),c=[0,100],h=[],d=[];s(["start","end"],(function(n,o){var s=t[n],l=t[n+"Value"];"percent"===u[o]?(null==s&&(s=c[o]),l=r.parse(a.linearMap(s,c,i))):(e=!0,l=null==l?i[o]:r.parse(l),s=a.linearMap(l,i,c)),d[o]=l,h[o]=s})),l(d),l(h);var f=this._minMaxSpan;function p(t,e,i,n,s){var l=s?"Span":"ValueSpan";o(0,t,i,"all",f["min"+l],f["max"+l]);for(var u=0;u<2;u++)e[u]=a.linearMap(t[u],i,n,!0),s&&(e[u]=r.parse(e[u]))}return e?p(d,h,i,c,!1):p(h,d,c,i,!0),{valueWindow:d,percentWindow:h}},reset:function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=c(this,this._dimName,e),f(this);var i=this.calculateDataWindow(t.settledOption);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,d(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,d(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),a=t.get("filterMode"),r=this._valueWindow;"none"!==a&&s(n,(function(t){var e=t.getData(),n=e.mapDimension(i,!0);n.length&&("weakFilter"===a?e.filterSelf((function(t){for(var i,a,o,s=0;sr[1];if(u&&!c&&!h)return!0;u&&(o=!0),c&&(i=!0),h&&(a=!0)}return o&&i&&a})):s(n,(function(i){if("empty"===a)t.setData(e=e.map(i,(function(t){return o(t)?t:NaN})));else{var n={};n[i]=r,e.selectRange(n)}})),s(n,(function(t){e.setApproximateExtent(r,t)})))}))}function o(t){return t>=r[0]&&t<=r[1]}}};var p=u;t.exports=p},cccd:function(t,e,i){var n=i("e0d3"),a=n.makeInner;function r(){var t=a();return function(e){var i=t(e),n=e.pipelineContext,a=i.large,r=i.progressiveRender,o=i.large=n&&n.large,s=i.progressiveRender=n&&n.progressiveRender;return!!(a^o||r^s)&&"reset"}}t.exports=r},cd12:function(t,e,i){i("01ed"),i("4a9d"),i("cb8f")},cd33:function(t,e,i){var n=i("6d8b"),a=i("4319"),r=n.each,o=n.curry;function s(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(i,t,e),i.seriesInvolved&&c(i,t),i}function l(t,e,i){var n=e.getComponent("tooltip"),a=e.getComponent("axisPointer"),s=a.get("link",!0)||[],l=[];r(i.getCoordinateSystems(),(function(i){if(i.axisPointerEnabled){var c=v(i.model),d=t.coordSysAxesInfo[c]={};t.coordSysMap[c]=i;var f=i.model,p=f.getModel("tooltip",n);if(r(i.getAxes(),o(_,!1,null)),i.getTooltipAxes&&n&&p.get("show")){var g="axis"===p.get("trigger"),y="cross"===p.get("axisPointer.type"),x=i.getTooltipAxes(p.get("axisPointer.axis"));(g||y)&&r(x.baseAxes,o(_,!y||"cross",g)),y&&r(x.otherAxes,o(_,"cross",!1))}}function _(n,r,o){var c=o.model.getModel("axisPointer",a),f=c.get("show");if(f&&("auto"!==f||n||m(c))){null==r&&(r=c.get("triggerTooltip")),c=n?u(o,p,a,e,n,r):c;var g=c.get("snap"),y=v(o.model),x=r||g||"category"===o.type,_=t.axesInfo[y]={key:y,axis:o,coordSys:i,axisPointerModel:c,triggerTooltip:r,involveSeries:x,snap:g,useHandle:m(c),seriesModels:[]};d[y]=_,t.seriesInvolved|=x;var b=h(s,o);if(null!=b){var w=l[b]||(l[b]={axesInfo:{}});w.axesInfo[y]=_,w.mapper=s[b].mapper,_.linkGroup=w}}}}))}function u(t,e,i,o,s,l){var u=e.getModel("axisPointer"),c={};r(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){c[t]=n.clone(u.get(t))})),c.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(c.type="line");var h=c.label||(c.label={});if(null==h.show&&(h.show=!1),"cross"===s){var d=u.get("label.show");if(h.show=null==d||d,!l){var f=c.lineStyle=u.get("crossStyle");f&&n.defaults(h,f.textStyle)}}return t.model.getModel("axisPointer",new a(c,i,o))}function c(t,e){e.eachSeries((function(e){var i=e.coordinateSystem,n=e.get("tooltip.trigger",!0),a=e.get("tooltip.show",!0);i&&"none"!==n&&!1!==n&&"item"!==n&&!1!==a&&!1!==e.get("axisPointer.show",!0)&&r(t.coordSysAxesInfo[v(i.model)],(function(t){var n=t.axis;i.getAxis(n.dim)===n&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}),this)}function h(t,e){for(var i=e.model,n=e.dim,a=0;a=0||t===e}function f(t){var e=p(t);if(e){var i=e.axisPointerModel,n=e.axis.scale,a=i.option,r=i.get("status"),o=i.get("value");null!=o&&(o=n.parse(o));var s=m(i);null==r&&(a.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o0){var C=o(x)?l:u;x>0&&(x=x*T+M),b[w++]=C[A],b[w++]=C[A+1],b[w++]=C[A+2],b[w++]=C[A+3]*x*256}else w+=4}return d.putImageData(_,0,0),h},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=n.createCanvas()),e=this.pointSize+this.blurSize,i=2*e;t.width=i,t.height=i;var a=t.getContext("2d");return a.clearRect(0,0,i,i),a.shadowOffsetX=i,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-e,e,this.pointSize,0,2*Math.PI,!0),a.closePath(),a.fill(),t},_getGradient:function(t,e,i){for(var n=this._gradientPixels,a=n[i]||(n[i]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,s=0;s<256;s++)e[i](s/255,!0,r),a[o++]=r[0],a[o++]=r[1],a[o++]=r[2],a[o++]=r[3];return a}};var o=r;t.exports=o},cdaa:function(t,e,i){var n=i("607d"),a=n.addEventListener,r=n.removeEventListener,o=n.normalizeEvent,s=n.getNativeEvent,l=i("6d8b"),u=i("1fab"),c=i("22d1"),h=300,d=c.domSupported,f=function(){var t=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],i={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=l.map(t,(function(t){var e=t.replace("mouse","pointer");return i.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:n}}(),p={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function g(t){return"mousewheel"===t&&c.browser.firefox?"DOMMouseScroll":t}function m(t){var e=t.pointerType;return"pen"===e||"touch"===e}function v(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function y(t){t&&(t.zrByTouch=!0)}function x(t,e){return o(t.dom,new b(t,e),!0)}function _(t,e){var i=e,n=!1;while(i&&9!==i.nodeType&&!(n=i.domBelongToZr||i!==e&&i===t.painterRoot))i=i.parentNode;return n}function b(t,e){this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}var w=b.prototype;w.stopPropagation=w.stopImmediatePropagation=w.preventDefault=l.noop;var S={mousedown:function(t){t=o(this.dom,t),this._mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=o(this.dom,t);var e=this._mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||D(this,!0),this.trigger("mousemove",t)},mouseup:function(t){t=o(this.dom,t),D(this,!1),this.trigger("mouseup",t)},mouseout:function(t){t=o(this.dom,t),this._pointerCapturing&&(t.zrEventControl="no_globalout");var e=t.toElement||t.relatedTarget;t.zrIsToLocalDOM=_(this,e),this.trigger("mouseout",t)},touchstart:function(t){t=o(this.dom,t),y(t),this._lastTouchMoment=new Date,this.handler.processGesture(t,"start"),S.mousemove.call(this,t),S.mousedown.call(this,t)},touchmove:function(t){t=o(this.dom,t),y(t),this.handler.processGesture(t,"change"),S.mousemove.call(this,t)},touchend:function(t){t=o(this.dom,t),y(t),this.handler.processGesture(t,"end"),S.mouseup.call(this,t),+new Date-this._lastTouchMoment=0&&(o[r[l].depth]=new s(r[l],this,e));if(n&&i){var u=a(n,i,this,!0,c);return u.data}function c(t,e){t.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var i=this.parentModel,n=i.getData().getItemLayout(e).depth,a=i.levelModels[n];return a||this.parentModel})),t})),e.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var i=this.parentModel,n=i.getGraph().getEdgeByIndex(e),a=n.node1.getLayout().depth,r=i.levelModels[a];return r||this.parentModel})),t}))}},setNodePosition:function(t,e){var i=this.option.data[t];i.localX=e[0],i.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,i){if("edge"===i){var n=this.getDataParams(t,i),a=n.data,r=a.source+" -- "+a.target;return n.value&&(r+=" : "+n.value),o(r)}if("node"===i){var s=this.getGraph().getNodeByIndex(t),l=s.getLayout().value,c=this.getDataParams(t,i).data.name;if(l)r=c+" : "+l;return o(r)}return u.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,e){var i=u.superCall(this,"getDataParams",t,e);if(null==i.value&&"node"===e){var n=this.getGraph().getNodeByIndex(t),a=n.getLayout().value;i.value=a}return i},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}})),c=u;t.exports=c},d070:function(t,e,i){var n=i("3eba"),a=i("6d8b");function r(t,e){e.update="updateView",n.registerAction(e,(function(e,i){var n={};return i.eachComponent({mainType:"geo",query:e},(function(i){i[t](e.name);var r=i.coordinateSystem;a.each(r.regions,(function(t){n[t.name]=i.isSelected(t.name)||!1}))})),{selected:n,name:e.name}}))}i("1f1a"),i("eeea"),i("7661"),i("49e8"),r("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),r("select",{type:"geoSelect",event:"geoselected"}),r("unSelect",{type:"geoUnSelect",event:"geounselected"})},d090:function(t,e,i){var n=i("6d8b"),a=i("f934"),r=i("3842"),o=i("2039"),s=864e5;function l(t,e,i){this._model=t}function u(t,e,i,n){var a=i.calendarModel,r=i.seriesModel,o=a?a.coordinateSystem:r?r.coordinateSystem:null;return o===this?o[t](n):null}l.prototype={constructor:l,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(t){t=r.parseDate(t);var e=t.getFullYear(),i=t.getMonth()+1;i=i<10?"0"+i:i;var n=t.getDate();n=n<10?"0"+n:n;var a=t.getDay();return a=Math.abs((a+7-this.getFirstDayOfWeek())%7),{y:e,m:i,d:n,day:a,time:t.getTime(),formatedDate:e+"-"+i+"-"+n,date:t}},getNextNDay:function(t,e){return e=e||0,0===e||(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+e)),this.getDateInfo(t)},update:function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var i=this._rangeInfo.weeks||1,r=["width","height"],o=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[i,7]:[7,i];n.each([0,1],(function(t){h(o,t)&&(s[r[t]]=o[t]*l[t])}));var u={width:e.getWidth(),height:e.getHeight()},c=this._rect=a.getLayoutRect(s,u);function h(t,e){return null!=t[e]&&"auto"!==t[e]}n.each([0,1],(function(t){h(o,t)||(o[t]=c[r[t]]/l[t])})),this._sw=o[0],this._sh=o[1]},dataToPoint:function(t,e){n.isArray(t)&&(t=t[0]),null==e&&(e=!0);var i=this.getDateInfo(t),a=this._rangeInfo,r=i.formatedDate;if(e&&!(i.time>=a.start.time&&i.timeo.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],t[0].time>t[1].time&&(e=!0,t.reverse());var i=Math.floor(t[1].time/s)-Math.floor(t[0].time/s)+1,n=new Date(t[0].time),a=n.getDate(),r=t[1].date.getDate();n.setDate(a+i-1);var o=n.getDate();if(o!==r){var l=n.getTime()-t[1].time>0?1:-1;while((o=n.getDate())!==r&&(n.getTime()-t[1].time)*l>0)i-=l,n.setDate(o-l)}var u=Math.floor((i+t[0].day+6)/7),c=e?1-u:u-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:i,weeks:u,nthWeek:c,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,i){var n=this._getRangeInfo(i);if(t>n.weeks||0===t&&en.lweek)return!1;var a=7*(t-1)-n.fweek+e,r=new Date(n.start.time);return r.setDate(n.start.d+a),this.getDateInfo(r)}},l.dimensions=l.prototype.dimensions,l.getDimensionsInfo=l.prototype.getDimensionsInfo,l.create=function(t,e){var i=[];return t.eachComponent("calendar",(function(n){var a=new l(n,t,e);i.push(a),n.coordinateSystem=a})),t.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},o.register("calendar",l);var c=l;t.exports=c},d15d:function(t,e,i){var n=i("6d8b"),a=n.createHashMap,r=n.each;function o(t){var e=a();t.eachSeries((function(t){var i=t.get("stack");if(i){var n=e.get(i)||e.set(i,[]),a=t.getData(),r={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:t};if(!r.stackedDimension||!r.isStackedByIndex&&!r.stackedByDimension)return;n.length&&a.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(r)}})),e.each(s)}function s(t){r(t,(function(e,i){var n=[],a=[NaN,NaN],r=[e.stackResultDimension,e.stackedOverDimension],o=e.data,s=e.isStackedByIndex,l=o.map(r,(function(r,l,u){var c,h,d=o.get(e.stackedDimension,u);if(isNaN(d))return a;s?h=o.getRawIndex(u):c=o.get(e.stackedByDimension,u);for(var f=NaN,p=i-1;p>=0;p--){var g=t[p];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,c)),h>=0){var m=g.data.getByRawIndex(g.stackResultDimension,h);if(d>=0&&m>0||d<=0&&m<0){d+=m,f=m;break}}}return n[0]=d,n[1]=f,n}));o.hostModel.setData(l),e.data=l}))}t.exports=o},d28f:function(t,e,i){var n=i("3eba");i("84d5"),i("4650"),i("5e97");var a=i("903c"),r=i("6cb7");n.registerProcessor(n.PRIORITY.PROCESSOR.SERIES_FILTER,a),r.registerSubTypeDefaulter("legend",(function(){return"plain"}))},d2a5:function(t,e,i){var n=i("3eba");n.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),n.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},d2cf:function(t,e,i){var n=i("6d8b"),a=i("401b"),r=i("cb6d"),o=i("1fab"),s=i("607d"),l=i("0b44"),u="silent";function c(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:h}}function h(){s.stop(this.event)}function d(){}d.prototype.dispose=function(){};var f=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p=function(t,e,i,n){o.call(this),this.storage=t,this.painter=e,this.painterRoot=n,i=i||new d,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,r.call(this),this.setHandlerProxy(i)};function g(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){var n,a=t;while(a){if(a.clipPath&&!a.clipPath.contain(e,i))return!1;a.silent&&(n=!0),a=a.parent}return!n||u}return!1}function m(t,e,i){var n=t.painter;return e<0||e>n.getWidth()||i<0||i>n.getHeight()}p.prototype={constructor:p,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(n.each(f,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,i=t.zrY,n=m(this,e,i),a=this._hovered,r=a.target;r&&!r.__zr&&(a=this.findHover(a.x,a.y),r=a.target);var o=this._hovered=n?{x:e,y:i}:this.findHover(e,i),s=o.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),r&&s!==r&&this.dispatchToElement(a,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==r&&this.dispatchToElement(o,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,i=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!i&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var i=this[t];i&&i.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,i){t=t||{};var n=t.target;if(!n||!n.silent){var a="on"+e,r=c(e,t,i);while(n)if(n[a]&&(r.cancelBubble=n[a].call(n,r)),n.trigger(e,r),n=n.parent,r.cancelBubble)break;r.cancelBubble||(this.trigger(e,r),this.painter&&this.painter.eachOtherLayer((function(t){"function"===typeof t[a]&&t[a].call(t,r),t.trigger&&t.trigger(e,r)})))}},findHover:function(t,e,i){for(var n=this.storage.getDisplayList(),a={x:t,y:e},r=n.length-1;r>=0;r--){var o;if(n[r]!==i&&!n[r].ignore&&(o=g(n[r],t,e))&&(!a.topTarget&&(a.topTarget=n[r]),o!==u)){a.target=n[r];break}}return a},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var i=this._gestureMgr;"start"===e&&i.clear();var n=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),n){var a=n.type;t.gestureEvent=a,this.dispatchToElement({target:n.target},a,n.event)}}},n.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){p.prototype[t]=function(e){var i,n,r=e.zrX,o=e.zrY,s=m(this,r,o);if("mouseup"===t&&s||(i=this.findHover(r,o),n=i.target),"mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||a.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}})),n.mixin(p,o),n.mixin(p,r);var v=p;t.exports=v},d357:function(t,e,i){var n=i("6d8b"),a=n.each,r=i("1c5f"),o=r.simpleLayout,s=r.simpleLayoutEdge;function l(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),i=t.coordinateSystem;if(i&&"view"!==i.type){var n=t.getData(),r=[];a(i.dimensions,(function(t){r=r.concat(n.mapDimension(t,!0))}));for(var l=0;l=0&&a.each(t,(function(t){n.setIconStatus(t,"normal")}))})),n.setIconStatus(i,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},c),"stack"===i){var f=u.series&&u.series[0]&&u.series[0].stack===l;o=f?a.merge({stack:s.title.tiled},s.title):a.clone(s.title)}e.dispatchAction({type:"changeMagicType",currentType:i,newOption:u,newTitle:o,featureName:"magicType"})}},n.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)})),o.register("magicType",u);var f=u;t.exports=f},d3a4:function(t,e,i){var n,a=i("22d1"),r="urn:schemas-microsoft-com:vml",o="undefined"===typeof window?null:window,s=!1,l=o&&o.document;function u(t){return n(t)}if(l&&!a.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",r),n=function(t){return l.createElement("')}}catch(h){n=function(t){return l.createElement("<"+t+' xmlns="'+r+'" class="zrvml">')}}function c(){if(!s&&l){s=!0;var t=l.styleSheets;t.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}e.doc=l,e.createNode=u,e.initVML=c},d3f4:function(t,e){function i(t){return{seriesType:t,reset:function(t,e){var i=e.findComponents({mainType:"legend"});if(i&&i.length){var n=t.getData();n.filterSelf((function(t){for(var e=n.getName(t),a=0;a=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,e){a.unregister(e.getZr(),"axisPointer"),r.superApply(this._model,"remove",arguments)},dispose:function(t,e){a.unregister("axisPointer",e),r.superApply(this._model,"dispose",arguments)}}),o=r;t.exports=o},d4c6:function(t,e,i){var n=i("cbe5"),a=n.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i=a||m<0)break;if(f(y)){if(p){m+=r;continue}break}if(m===i)t[r>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=e[g],_="y"===c?1:0,b=(y[_]-x[_])*l;u(h,x),h[_]=x[_]+b,u(d,y),d[_]=y[_]-b,t.bezierCurveTo(h[0],h[1],d[0],d[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=m,m+=r}return v}function m(t,e,i,n,r,p,g,m,v,y,x){for(var _=0,b=i,w=0;w=r||b<0)break;if(f(S)){if(x){b+=p;continue}break}if(b===i)t[p>0?"moveTo":"lineTo"](S[0],S[1]),u(h,S);else if(v>0){var M=b+p,I=e[M];if(x)while(I&&f(e[M]))M+=p,I=e[M];var T=.5,A=e[_];I=e[M];if(!I||f(I))u(d,S);else{var C,D;if(f(I)&&!x&&(I=S),a.sub(c,I,A),"x"===y||"y"===y){var L="x"===y?0:1;C=Math.abs(S[L]-A[L]),D=Math.abs(S[L]-I[L])}else C=a.dist(S,A),D=a.dist(S,I);T=D/(D+C),l(d,S,c,-v*(1-T))}o(h,h,m),s(h,h,g),o(d,d,m),s(d,d,g),t.bezierCurveTo(h[0],h[1],d[0],d[1],S[0],S[1]),l(h,S,c,v*T)}else t.lineTo(S[0],S[1]);_=b,b+=p}return w}function v(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var a=0;an[0]&&(n[0]=r[0]),r[1]>n[1]&&(n[1]=r[1])}return{min:e?i:n,max:e?n:i}}var y=n.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:r(n.prototype.brush),buildPath:function(t,e){var i=e.points,n=0,a=i.length,r=v(i,e.smoothConstraint);if(e.connectNulls){for(;a>0;a--)if(!f(i[a-1]))break;for(;n0;r--)if(!f(i[r-1]))break;for(;a=this._maxSize&&o>0){var l=i.head;i.remove(l),delete n[l.key],r=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new a(e),s.key=t,i.insertEntry(s),n[t]=s}return r},o.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},o.clear=function(){this._list.clear(),this._map={}};var s=r;t.exports=s},d5b7:function(t,e,i){var n=i("de00"),a=i("1fab"),r=i("0cde"),o=i("bd6b"),s=i("6d8b"),l=function(t){r.call(this,t),a.call(this,t),o.call(this,t),this.id=t.id||n()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var i=this[t];i||(i=this[t]=[]),i[0]=e[0],i[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var i in t)t.hasOwnProperty(i)&&this.attrKV(i,t[i]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var i=0;ie&&u>n&&u>r&&u>s||u1&&y(),d=c.cubicAt(e,n,r,s,v[0]),g>1&&(f=c.cubicAt(e,n,r,s,v[1]))),2===g?_e&&s>n&&s>r||s=0&&u<=1){for(var h=0,d=c.quadraticAt(e,n,r,u),f=0;fi||s<-i)return 0;var l=Math.sqrt(i*i-s*s);m[0]=-l,m[1]=l;var c=Math.abs(n-a);if(c<1e-4)return 0;if(c%f<1e-4){n=0,a=f;var h=r?1:-1;return o>=m[0]+t&&o<=m[1]+t?h:0}if(r){l=n;n=u(a),a=u(l)}else n=u(n),a=u(a);n>a&&(a+=f);for(var d=0,p=0;p<2;p++){var g=m[p];if(g+t>o){var v=Math.atan2(s,g);h=r?1:-1;v<0&&(v=f+v),(v>=n&&v<=a||v+f>=n&&v+f<=a)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),d+=h)}}return d}function w(t,e,i,n,l){for(var u=0,c=0,f=0,p=0,m=0,v=0;v1&&(i||(u+=h(c,f,p,m,n,l))),1===v&&(c=t[v],f=t[v+1],p=c,m=f),y){case d.M:p=t[v++],m=t[v++],c=p,f=m;break;case d.L:if(i){if(a.containStroke(c,f,t[v],t[v+1],e,n,l))return!0}else u+=h(c,f,t[v],t[v+1],n,l)||0;c=t[v++],f=t[v++];break;case d.C:if(i){if(r.containStroke(c,f,t[v++],t[v++],t[v++],t[v++],t[v],t[v+1],e,n,l))return!0}else u+=x(c,f,t[v++],t[v++],t[v++],t[v++],t[v],t[v+1],n,l)||0;c=t[v++],f=t[v++];break;case d.Q:if(i){if(o.containStroke(c,f,t[v++],t[v++],t[v],t[v+1],e,n,l))return!0}else u+=_(c,f,t[v++],t[v++],t[v],t[v+1],n,l)||0;c=t[v++],f=t[v++];break;case d.A:var w=t[v++],S=t[v++],M=t[v++],I=t[v++],T=t[v++],A=t[v++];v+=1;var C=1-t[v++],D=Math.cos(T)*M+w,L=Math.sin(T)*I+S;v>1?u+=h(c,f,D,L,n,l):(p=D,m=L);var P=(n-w)*I/M+w;if(i){if(s.containStroke(w,S,I,T,T+A,C,e,P,l))return!0}else u+=b(w,S,I,T,T+A,C,P,l);c=Math.cos(T+A)*M+w,f=Math.sin(T+A)*I+S;break;case d.R:p=c=t[v++],m=f=t[v++];var k=t[v++],O=t[v++];D=p+k,L=m+O;if(i){if(a.containStroke(p,m,D,m,e,n,l)||a.containStroke(D,m,D,L,e,n,l)||a.containStroke(D,L,p,L,e,n,l)||a.containStroke(p,L,p,m,e,n,l))return!0}else u+=h(D,m,D,L,n,l),u+=h(p,L,p,m,n,l);break;case d.Z:if(i){if(a.containStroke(c,f,p,m,e,n,l))return!0}else u+=h(c,f,p,m,n,l);c=p,f=m;break}}return i||g(f,m)||(u+=h(c,f,p,m,n,l)||0),0!==u}function S(t,e,i){return w(t,0,!1,e,i)}function M(t,e,i,n){return w(t,e,!0,i,n)}e.contain=S,e.containStroke=M},d9d0:function(t,e,i){var n=i("6d8b"),a=i("1687"),r=i("f934"),o=i("697e"),s=i("0f55"),l=i("2306"),u=i("3842"),c=i("ef6a"),h=n.each,d=Math.min,f=Math.max,p=Math.floor,g=Math.ceil,m=u.round,v=Math.PI;function y(t,e,i){this._axesMap=n.createHashMap(),this._axesLayout={},this.dimensions=t.dimensions,this._rect,this._model=t,this._init(t,e,i)}function x(t,e){return d(f(t,e[0]),e[1])}function _(t,e){var i=e.layoutLength/(e.axisCount-1);return{position:i*t,axisNameAvailableWidth:i,axisLabelShow:!0}}function b(t,e){var i,n,a=e.layoutLength,r=e.axisExpandWidth,o=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;return t=i&&r<=i+e.axisLength&&o>=n&&o<=n+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries((function(i){if(t.contains(i,e)){var n=i.getData();h(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(n,n.mapDimension(t)),o.niceScaleExtent(e.scale,e.model)}),this)}}),this)},resize:function(t,e){this._rect=r.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,i=this._rect,n=["x","y"],a=["width","height"],r=e.get("layout"),o="horizontal"===r?0:1,s=i[a[o]],l=[0,s],u=this.dimensions.length,c=x(e.get("axisExpandWidth"),l),h=x(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,f=e.get("axisExpandWindow");if(f)t=x(f[1]-f[0],l),f[1]=f[0]+t;else{t=x(c*(h-1),l);var v=e.get("axisExpandCenter")||p(u/2);f=[c*v-t/2],f[1]=f[0]+t}var y=(s-t)/(u-h);y<3&&(y=0);var _=[p(m(f[0]/c,1))+1,g(m(f[1]/c,1))-1],b=y/c*f[0];return{layout:r,pixelDimIndex:o,layoutBase:i[n[o]],layoutLength:s,axisBase:i[n[1-o]],axisLength:i[a[1-o]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:y,axisExpandWindow:f,axisCount:u,winInnerIndices:_,axisExpandWindow0Pos:b}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,i=this.dimensions,n=this._makeLayoutInfo(),r=n.layout;e.each((function(t){var e=[0,n.axisLength],i=t.inverse?1:0;t.setExtent(e[i],e[1-i])})),h(i,(function(e,i){var o=(n.axisExpandable?b:_)(i,n),s={horizontal:{x:o.position,y:n.axisLength},vertical:{x:0,y:o.position}},l={horizontal:v/2,vertical:0},u=[s[r].x+t.x,s[r].y+t.y],c=l[r],h=a.create();a.rotate(h,h,c),a.translate(h,h,u),this._axesLayout[e]={position:u,rotation:c,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(t,e,i,a){null==i&&(i=0),null==a&&(a=t.count());var r=this._axesMap,o=this.dimensions,s=[],l=[];n.each(o,(function(e){s.push(t.mapDimension(e)),l.push(r.get(e).model)}));for(var u=this.hasAxisBrushed(),c=i;ca*(1-h[0])?(l="jump",o=s-a*(1-h[2])):(o=s-a*h[1])>=0&&(o=s-a*(1-h[1]))<=0&&(o=0),o*=e.axisExpandWidth/u,o?c(o,n,r,"all"):l="none";else{a=n[1]-n[0];var g=r[1]*s/a;n=[f(0,g-a/2)],n[1]=d(r[1],n[0]+a),n[0]=n[1]-a}return{axisExpandWindow:n,behavior:l}}};var w=y;t.exports=w},d9f1:function(t,e,i){var n=i("6d8b"),a=i("6cb7"),r=i("9e47"),o=i("2023"),s=a.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});n.merge(s.prototype,o);var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function u(t,e){return e.type||(e.data?"category":"value")}r("angle",s,u,l.angle),r("radius",s,u,l.radius)},d9fc:function(t,e,i){var n=i("cbe5"),a=n.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,i){i&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=a},dae1:function(t,e,i){var n=i("3eba");i("928d"),i("b369"),i("4411");var a=i("90c2"),r=i("9ca8");n.registerVisual(a),n.registerLayout(r)},db0e:function(t,e,i){var n=i("3eba");i("a8c6"),i("8344"),n.registerPreprocessor((function(t){t.markPoint=t.markPoint||{}}))},db9e:function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("e86ad"),o=i("2145"),s=i("2306"),l=i("4319"),u=i("80f0"),c=i("7919"),h=n.extendComponentView({type:"toolbox",render:function(t,e,i,n){var h=this.group;if(h.removeAll(),t.get("show")){var f=+t.get("itemSize"),p=t.get("feature")||{},g=this._features||(this._features={}),m=[];a.each(p,(function(t,e){m.push(e)})),new u(this._featureNames||[],m).add(v).update(v).remove(a.curry(v,null)).execute(),this._featureNames=m,c.layout(h,t,i),h.add(c.makeBackground(h.getBoundingRect(),t)),h.eachChild((function(t){var e=t.__title,n=t.hoverStyle;if(n&&e){var a=r.getBoundingRect(e,r.makeFont(n)),o=t.position[0]+h.position[0],s=t.position[1]+h.position[1]+f,l=!1;s+a.height>i.getHeight()&&(n.textPosition="top",l=!0);var u=l?-5-a.height:f+8;o+a.width/2>i.getWidth()?(n.textPosition=["100%",u],n.textAlign="right"):o-a.width/2<0&&(n.textPosition=[0,u],n.textAlign="left")}}))}function v(a,r){var s,u=m[a],c=m[r],h=p[u],f=new l(h,t,t.ecModel);if(n&&null!=n.newTitle&&n.featureName===u&&(h.title=n.newTitle),u&&!c){if(d(u))s={model:f,onclick:f.option.onclick,featureName:u};else{var v=o.get(u);if(!v)return;s=new v(f,e,i)}g[u]=s}else{if(s=g[c],!s)return;s.model=f,s.ecModel=e,s.api=i}u||!c?f.get("show")&&!s.unusable?(y(f,s,u),f.setIconStatus=function(t,e){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[t]=e,n[t]&&n[t].trigger(e)},s.render&&s.render(f,e,i,n)):s.remove&&s.remove(e,i):s.dispose&&s.dispose(e,i)}function y(n,r,o){var l=n.getModel("iconStyle"),u=n.getModel("emphasis.iconStyle"),c=r.getIcons?r.getIcons():n.get("icon"),d=n.get("title")||{};if("string"===typeof c){var p=c,g=d;c={},d={},c[o]=p,d[o]=g}var m=n.iconPaths={};a.each(c,(function(o,c){var p=s.createIcon(o,{},{x:-f/2,y:-f/2,width:f,height:f});p.setStyle(l.getItemStyle()),p.hoverStyle=u.getItemStyle(),p.setStyle({text:d[c],textAlign:u.get("textAlign"),textBorderRadius:u.get("textBorderRadius"),textPadding:u.get("textPadding"),textFill:null});var g=t.getModel("tooltip");g&&g.get("show")&&p.attr("tooltip",a.extend({content:d[c],formatter:g.get("formatter",!0)||function(){return d[c]},formatterParams:{componentType:"toolbox",name:c,title:d[c],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),s.setHoverStyle(p),t.get("showTitle")&&(p.__title=d[c],p.on("mouseover",(function(){var e=u.getItemStyle(),i="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";p.setStyle({textFill:u.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:u.get("textBackgroundColor"),textPosition:u.get("textPosition")||i})})).on("mouseout",(function(){p.setStyle({textFill:null,textBackgroundColor:null})}))),p.trigger(n.get("iconStatus."+c)||"normal"),h.add(p),p.on("click",a.bind(r.onclick,r,e,i,c)),m[c]=p}))}},updateView:function(t,e,i,n){a.each(this._features,(function(t){t.updateView&&t.updateView(t.model,e,i,n)}))},remove:function(t,e){a.each(this._features,(function(i){i.remove&&i.remove(t,e)})),this.group.removeAll()},dispose:function(t,e){a.each(this._features,(function(i){i.dispose&&i.dispose(t,e)}))}});function d(t){return 0===t.indexOf("my")}t.exports=h},dbfa:function(t,e,i){t.exports=i.p+"img/kashi.15945cbe.jpg"},dc20:function(t,e,i){var n=i("8727"),a=n.createElement,r=i("6d8b"),o=i("4942"),s=i("cbe5"),l=i("0da8"),u=i("76a5"),c=i("0c12"),h=i("b16f"),d=i("9fa3"),f=i("bcaa"),p=i("3f8e"),g=p.path,m=p.image,v=p.text;function y(t){return parseInt(t,10)}function x(t){return t instanceof s?g:t instanceof l?m:t instanceof u?v:g}function _(t,e){return e&&t&&e.parentNode!==t}function b(t,e,i){if(_(t,e)&&i){var n=i.nextSibling;n?t.insertBefore(e,n):t.appendChild(e)}}function w(t,e){if(_(t,e)){var i=t.firstChild;i?t.insertBefore(e,i):t.appendChild(e)}}function S(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function M(t){return t.__textSvgEl}function I(t){return t.__svgEl}var T=function(t,e,i,n){this.root=t,this.storage=e,this._opts=i=r.extend({},i||{});var o=a("svg");o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("version","1.1"),o.setAttribute("baseProfile","full"),o.style.cssText="user-select:none;position:absolute;left:0;top:0;";var s=a("g");o.appendChild(s);var l=a("g");o.appendChild(l),this.gradientManager=new h(n,l),this.clipPathManager=new d(n,l),this.shadowManager=new f(n,l);var u=document.createElement("div");u.style.cssText="overflow:hidden;position:relative",this._svgDom=o,this._svgRoot=l,this._backgroundRoot=s,this._viewport=u,t.appendChild(u),u.appendChild(o),this.resize(i.width,i.height),this._visibleList=[]};function A(t){return function(){o('In SVG mode painter not support method "'+t+'"')}}T.prototype={constructor:T,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=a("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();var e,i=this._svgRoot,n=this._visibleList,a=t.length,r=[];for(e=0;e=0;--n)if(e[n]===t)return!0;return!1}),i}return null}return i[0]},resize:function(t,e){var i=this._viewport;i.style.display="none";var n=this._opts;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=this._getSize(0),e=this._getSize(1),i.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var a=i.style;a.width=t+"px",a.height=e+"px";var r=this._svgDom;r.setAttribute("width",t),r.setAttribute("height",e)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",t),this._backgroundNode.setAttribute("height",e))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,i=["width","height"][t],n=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],r=["paddingRight","paddingBottom"][t];if(null!=e[i]&&"auto"!==e[i])return parseFloat(e[i]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[n]||y(s[i])||y(o.style[i]))-(y(s[a])||0)-(y(s[r])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var t=encodeURIComponent(this._svgDom.outerHTML.replace(/>\n\r<"));return"data:image/svg+xml;charset=UTF-8,"+t}},r.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(t){T.prototype[t]=A(t)}));var C=T;t.exports=C},dc2f:function(t,e){var i=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};i.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var n=i;t.exports=n},dcb3:function(t,e,i){var n=i("6d8b"),a=i("625e"),r=i("2306"),o=i("cd33"),s=i("607d"),l=i("88b3"),u=i("e0d3"),c=u.makeInner,h=c(),d=n.clone,f=n.bind;function p(){}function g(t,e,i,n){m(h(i).lastProp,n)||(h(i).lastProp=n,e?r.updateProps(i,n,t):(i.stopAnimation(),i.attr(n)))}function m(t,e){if(n.isObject(t)&&n.isObject(e)){var i=!0;return n.each(e,(function(e,n){i=i&&m(t[n],e)})),!!i}return t===e}function v(t,e){t[e.get("label.show")?"show":"hide"]()}function y(t){return{position:t.position.slice(),rotation:t.rotation||0}}function x(t,e,i){var n=e.get("z"),a=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=a&&(t.zlevel=a),t.silent=i)}))}p.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,i,a){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,a||this._lastValue!==o||this._lastStatus!==s){this._lastValue=o,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,o,t,e,i);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=h;var d=this._moveAnimation=this.determineAnimation(t,e);if(l){var f=n.curry(g,e,d);this.updatePointerEl(l,c,f,e),this.updateLabelEl(l,c,f,e)}else l=this._group=new r.Group,this.createPointerEl(l,c,t,e),this.createLabelEl(l,c,t,e),i.getZr().add(l);x(l,e,!0),this._renderHandle(o)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var i=e.get("animation"),n=t.axis,a="category"===n.type,r=e.get("snap");if(!r&&!a)return!1;if("auto"===i||null==i){var s=this.animationThreshold;if(a&&n.getBandWidth()>s)return!0;if(r){var l=o.getAxisInfo(t).seriesDataCount,u=n.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===i},makeElOption:function(t,e,i,n,a){},createPointerEl:function(t,e,i,n){var a=e.pointer;if(a){var o=h(t).pointerEl=new r[a.type](d(e.pointer));t.add(o)}},createLabelEl:function(t,e,i,n){if(e.label){var a=h(t).labelEl=new r.Rect(d(e.label));t.add(a),v(a,n)}},updatePointerEl:function(t,e,i){var n=h(t).pointerEl;n&&e.pointer&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,i,n){var a=h(t).labelEl;a&&(a.setStyle(e.label.style),i(a,{shape:e.label.shape,position:e.label.position}),v(a,n))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,a=this._api.getZr(),o=this._handle,u=i.getModel("handle"),c=i.get("status");if(!u.get("show")||!c||"hide"===c)return o&&a.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=r.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:f(this._onHandleDragMove,this,0,0),drift:f(this._onHandleDragMove,this),ondragend:f(this._onHandleDragEnd,this)}),a.add(o)),x(o,i,!1);var h=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];o.setStyle(u.getItemStyle(null,h));var d=u.get("size");n.isArray(d)||(d=[d,d]),o.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){g(this._axisPointerModel,!e&&this._moveAnimation,this._handle,y(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(y(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(y(n)),h(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var t=this._handle;if(t){var e=this._payloadInfo,i=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:i.axis.dim,axisIndex:i.componentIndex}]})}},_onHandleDragEnd:function(t){this._dragging=!1;var e=this._handle;if(e){var i=this._axisPointerModel.get("value");this._moveHandleToValue(i),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),i=this._group,n=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}},p.prototype.constructor=p,a.enableClassExtend(p);var _=p;t.exports=_},dcea:function(t,e,i){var n=i("6d8b"),a=i("e887"),r=i("2306"),o=i("cbe5"),s=["itemStyle"],l=["emphasis","itemStyle"],u=a.extend({type:"boxplot",render:function(t,e,i){var n=t.getData(),a=this.group,r=this._data;this._data||a.removeAll();var o="horizontal"===t.get("layout")?1:0;n.diff(r).add((function(t){if(n.hasValue(t)){var e=n.getItemLayout(t),i=h(e,n,t,o,!0);n.setItemGraphicEl(t,i),a.add(i)}})).update((function(t,e){var i=r.getItemGraphicEl(e);if(n.hasValue(t)){var s=n.getItemLayout(t);i?d(s,i,n,t):i=h(s,n,t,o),a.add(i),n.setItemGraphicEl(t,i)}else a.remove(i)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&a.remove(e)})).execute(),this._data=n},remove:function(t){var e=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl((function(t){t&&e.remove(t)}))},dispose:n.noop}),c=o.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var i=e.points,n=0;for(t.moveTo(i[n][0],i[n][1]),n++;n<4;n++)t.lineTo(i[n][0],i[n][1]);for(t.closePath();ne.offsetHeight&&(e.scrollTop+=1,t.scrollTop!=e.scrollTop?t.scrollTop=e.scrollTop:(clearInterval(t.timer),setTimeout((function(){t.initScroll()}),2e3)))}),100)}}},o=r,s=(i("f0ec"),i("2877")),l=Object(s["a"])(o,n,a,!1,null,"40896b2a",null);e["default"]=l.exports},df3a:function(t,e,i){var n=i("6d8b"),a=i("6cb7"),r=i("282b"),o=i("9e47"),s=i("3842"),l=i("2023"),u=a.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return r([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(t){var e=this.activeIntervals=n.clone(t);if(e)for(var i=e.length-1;i>=0;i--)s.asc(e[i])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(t))return"inactive";if(1===e.length){var i=e[0];if(i[0]<=t&&t<=i[1])return"active"}else for(var n=0,a=e.length;n40&&(u=Math.max(1,Math.floor(s/40)));for(var c=o[0],d=t.dataToCoord(c+1)-t.dataToCoord(c),f=Math.abs(d*Math.cos(n)),p=Math.abs(d*Math.sin(n)),g=0,m=0;c<=o[1];c+=u){var v=0,y=0,x=a.getBoundingRect(i(c),e.font,"center","top");v=1.3*x.width,y=1.3*x.height,g=Math.max(g,v,7),m=Math.max(m,y,7)}var _=g/f,b=m/p;isNaN(_)&&(_=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(_,b))),M=h(t.model),I=t.getExtent(),T=M.lastAutoInterval,A=M.lastTickCount;return null!=T&&null!=A&&Math.abs(T-w)<=1&&Math.abs(A-s)<=1&&T>w&&M.axisExtend0===I[0]&&M.axisExtend1===I[1]?w=T:(M.lastTickCount=s,M.lastAutoInterval=w,M.axisExtend0=I[0],M.axisExtend1=I[1]),w}function S(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function M(t,e,i){var n=l(t),a=t.scale,r=a.getExtent(),o=t.getLabelModel(),s=[],u=Math.max((e||0)+1,1),h=r[0],d=a.count();0!==h&&u>1&&d/u>2&&(h=Math.round(Math.ceil(h/u)*u));var f=c(t),p=o.get("showMinLabel")||f,g=o.get("showMaxLabel")||f;p&&h!==r[0]&&v(r[0]);for(var m=h;m<=r[1];m+=u)v(m);function v(t){s.push(i?t:{formattedLabel:n(t),rawLabel:a.getLabel(t),tickValue:t})}return g&&m-u!==r[1]&&v(r[1]),s}function I(t,e,i){var a=t.scale,r=l(t),o=[];return n.each(a.getTicks(),(function(t){var n=a.getLabel(t);e(t,n)&&o.push(i?t:{formattedLabel:r(t),rawLabel:n,tickValue:t})})),o}e.createAxisLabels=d,e.createAxisTicks=f,e.calculateCategoryInterval=w},e0d3:function(t,e,i){var n=i("6d8b"),a=i("22d1"),r=n.each,o=n.isObject,s=n.isArray,l="series\0";function u(t){return t instanceof Array?t:null==t?[]:[t]}function c(t,e,i){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var n=0,a=i.length;n=i.length&&i.push({option:t})}})),i}function g(t){var e=n.createHashMap();r(t,(function(t,i){var n=t.exist;n&&e.set(n.id,t)})),r(t,(function(t,i){var a=t.option;n.assert(!a||null==a.id||!e.get(a.id)||e.get(a.id)===t,"id duplicates: "+(a&&a.id)),a&&null!=a.id&&e.set(a.id,t),!t.keyInfo&&(t.keyInfo={})})),r(t,(function(t,i){var n=t.exist,a=t.option,r=t.keyInfo;if(o(a)){if(r.name=null!=a.name?a.name+"":n?n.name:l+i,n)r.id=n.id;else if(null!=a.id)r.id=a.id+"";else{var s=0;do{r.id="\0"+r.name+"\0"+s++}while(e.get(r.id))}e.set(r.id,t)}}))}function m(t){var e=t.name;return!(!e||!e.indexOf(l))}function v(t){return o(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function y(t,e){var i={},n={};return a(t||[],i),a(e||[],n,i),[r(i),r(n)];function a(t,e,i){for(var n=0,a=t.length;n=e[0]&&t<=e[1]},a.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},a.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},a.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},a.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},a.prototype.getExtent=function(){return this._extent.slice()},a.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},a.prototype.isBlank=function(){return this._isBlank},a.prototype.setBlank=function(t){this._isBlank=t},a.prototype.getLabel=null,n.enableClassExtend(a),n.enableClassManagement(a,{registerWhenExtend:!0});var r=a;t.exports=r},e1fc:function(t,e,i){var n=i("6d8b"),a=i("d5b7"),r=i("9850"),o=function(t){for(var e in t=t||{},a.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};o.prototype={constructor:o,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,i=0;i=0&&(i.splice(n,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var e=this.__zr,i=this.__storage,a=this._children,r=n.indexOf(a,t);return r<0||(a.splice(r,1),t.parent=null,i&&(i.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(i)),e&&e.refresh()),this},removeAll:function(){var t,e,i=this._children,n=this.__storage;for(e=0;e1e-4)return p[0]=t-i,p[1]=e-a,g[0]=t+i,void(g[1]=e+a);if(c[0]=l(r)*i+t,c[1]=s(r)*a+e,h[0]=l(o)*i+t,h[1]=s(o)*a+e,m(p,c,h),v(g,c,h),r%=u,r<0&&(r+=u),o%=u,o<0&&(o+=u),r>o&&!f?o+=u:rr&&(d[0]=l(_)*i+t,d[1]=s(_)*a+e,m(p,d,p),v(g,d,g))}e.fromPoints=f,e.fromLine=p,e.fromCubic=v,e.fromQuadratic=y,e.fromArc=x},e3de:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t._self._c;return e("div",{style:t.styleObj,attrs:{id:t.id}},[0==t.data.length?e("a-skeleton",{staticClass:"skeleton"}):t._e()],1)},a=[],r=i("313e"),o=i.n(r),s={name:"lineChart",props:{size:{type:Number,default:100},type:{type:[Number,String],default:0},data:{type:Array,default:function(){return[]}}},data:function(){return{myChart:null}},computed:{styleObj:function(){return{width:"5.1rem",height:"2.5rem"}},id:function(){return"id"+this.type}},mounted:function(){var t=this;window.addEventListener("resize",(function(){t.myChart.resize()}),!1);var e=document.getElementById(this.id);this.myChart=o.a.init(e)},watch:{data:function(){this.drawLine()}},methods:{drawLine:function(){var t=this,e=["#00FFFF","#3aa1ff"],i=[],n=[],a=this.data;a.forEach((function(e){i.push(e.tick);var a=e[["speed","altitude"][t.type]];n.push(a)}));var r=this.size/7,o="#d9d9d9",s="rgba(216, 216, 216, 0.2)",l={grid:{top:.4*this.size,bottom:.4*this.size,left:.5*this.size,right:.35*this.size},xAxis:{name:"时间",nameGap:this.size/20,nameTextStyle:{fontSize:r},type:"category",data:i,axisLine:{lineStyle:{color:o}},axisTick:{alignWithLabel:!0},axisLabel:{fontSize:r,color:o}},yAxis:{name:["速度","高度"][this.type],nameTextStyle:{fontSize:r},type:"value",axisLine:{show:!1,lineStyle:{color:o}},axisTick:{show:!1},axisLabel:{fontSize:r,color:o},splitLine:{lineStyle:{type:"dashed",color:s}}},series:[{data:n,type:"line",color:"#00FFFF",borderType:"dashed",symbol:"none",smooth:!0,lineStyle:{color:e[this.type],width:1}}]};this.myChart.setOption(l)}}},l=s,u=(i("5e2d"),i("2877")),c=Object(u["a"])(l,n,a,!1,null,"dc9472e2",null);e["default"]=c.exports},e468:function(t,e,i){var n=i("e46b"),a=i("6d8b"),r=i("2f45"),o=r.getDimensionTypeByAxis,s=i("0f99"),l=s.makeSeriesEncodeForAxisCoordSys,u={_baseAxisDim:null,getInitialData:function(t,e){var i,r,s=e.getComponent("xAxis",this.get("xAxisIndex")),u=e.getComponent("yAxis",this.get("yAxisIndex")),c=s.get("type"),h=u.get("type");"category"===c?(t.layout="horizontal",i=s.getOrdinalMeta(),r=!0):"category"===h?(t.layout="vertical",i=u.getOrdinalMeta(),r=!0):t.layout=t.layout||"horizontal";var d=["x","y"],f="horizontal"===t.layout?0:1,p=this._baseAxisDim=d[f],g=d[1-f],m=[s,u],v=m[f].get("type"),y=m[1-f].get("type"),x=t.data;if(x&&r){var _=[];a.each(x,(function(t,e){var i;t.value&&a.isArray(t.value)?(i=t.value.slice(),t.value.unshift(e)):a.isArray(t)?(i=t.slice(),t.unshift(e)):i=t,_.push(i)})),t.data=_}var b=this.defaultValueDimensions,w=[{name:p,type:o(v),ordinalMeta:i,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:g,type:o(y),dimsDef:b.slice()}];return n(this,{coordDimensions:w,dimensionsCount:b.length+1,encodeDefaulter:a.curry(l,w,this)})},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}};e.seriesModelMixin=u},e46b:function(t,e,i){var n=i("b1d4"),a=i("6179"),r=i("6d8b"),o=r.extend,s=r.isArray;function l(t,e,i){e=s(e)&&{coordDimensions:e}||o({},e);var r=t.getSource(),l=n(r,e),u=new a(l,t);return u.initData(r,i),u}t.exports=l},e47b:function(t,e,i){var n=i("e0d3"),a=n.makeInner,r=n.normalizeToArray,o=a();function s(t,e){for(var i=t.length,n=0;ne)return t[n];return t[i-1]}var l={clearColorPalette:function(){o(this).colorIdx=0,o(this).colorNameMap={}},getColorFromPalette:function(t,e,i){e=e||this;var n=o(e),a=n.colorIdx||0,l=n.colorNameMap=n.colorNameMap||{};if(l.hasOwnProperty(t))return l[t];var u=r(this.get("color",!0)),c=this.get("colorLayer",!0),h=null!=i&&c?s(c,i):u;if(h=h||u,h&&h.length){var d=h[a];return t&&(l[t]=d),n.colorIdx=(a+1)%h.length,d}}};t.exports=l},e4a3:function(t,e,i){"use strict";i("273e")},e4d1:function(t,e,i){i("6932"),i("3a56"),i("7dcf"),i("3790"),i("2325"),i("2c17"),i("9e87")},e63a:function(t,e,i){},e6cd:function(t,e,i){var n=i("6d8b");function a(){var t,e=[],i={};return{add:function(t,a,r,o,s){return n.isString(o)&&(s=o,o=0),!i[t.id]&&(i[t.id]=1,e.push({el:t,target:a,time:r,delay:o,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var n=e.length,a=0,r=e.length;ae+d&&h>a+d&&h>o+d&&h>l+d||ht+d&&c>i+d&&c>r+d&&c>s+d||cf&&(d=0,h={}),d++,h[i]=a,a}function x(t,e,i,n,a,r,o,s){return o?b(t,e,i,n,a,r,o,s):_(t,e,i,n,a,r,s)}function _(t,e,i,a,r,o,s){var l=k(t,e,r,o,s),u=y(t,e);r&&(u+=r[1]+r[3]);var c=l.outerHeight,h=w(0,u,i),d=S(0,c,a),f=new n(h,d,u,c);return f.lineHeight=l.lineHeight,f}function b(t,e,i,a,r,o,s,l){var u=O(t,{rich:s,truncate:l,font:e,textAlign:i,textPadding:r,textLineHeight:o}),c=u.outerWidth,h=u.outerHeight,d=w(0,c,i),f=S(0,h,a);return new n(d,f,c,h)}function w(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function S(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function M(t,e,i){var n=e.textPosition,a=e.textDistance,r=i.x,o=i.y;a=a||0;var s=i.height,l=i.width,u=s/2,c="left",h="top";switch(n){case"left":r-=a,o+=u,c="right",h="middle";break;case"right":r+=a+l,o+=u,h="middle";break;case"top":r+=l/2,o-=a,c="center",h="bottom";break;case"bottom":r+=l/2,o+=s+a,c="center";break;case"inside":r+=l/2,o+=u,c="center",h="middle";break;case"insideLeft":r+=a,o+=u,h="middle";break;case"insideRight":r+=l-a,o+=u,c="right",h="middle";break;case"insideTop":r+=l/2,o+=a,c="center";break;case"insideBottom":r+=l/2,o+=s-a,c="center",h="bottom";break;case"insideTopLeft":r+=a,o+=a;break;case"insideTopRight":r+=l-a,o+=a,c="right";break;case"insideBottomLeft":r+=a,o+=s-a,h="bottom";break;case"insideBottomRight":r+=l-a,o+=s-a,c="right",h="bottom";break}return t=t||{},t.x=r,t.y=o,t.textAlign=c,t.textVerticalAlign=h,t}function I(t,e,i){var n={textPosition:t,textDistance:i};return M({},n,e)}function T(t,e,i,n,a){if(!e)return"";var r=(t+"").split("\n");a=A(e,i,n,a);for(var o=0,s=r.length;o=r;u++)o-=r;var c=y(i,e);return c>o&&(i="",c=0),o=t-c,n.ellipsis=i,n.ellipsisWidth=c,n.contentWidth=o,n.containerWidth=t,n}function C(t,e){var i=e.containerWidth,n=e.font,a=e.contentWidth;if(!i)return"";var r=y(t,n);if(r<=i)return t;for(var o=0;;o++){if(r<=a||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?D(t,a,e.ascCharWidth,e.cnCharWidth):r>0?Math.floor(t.length*a/r):0;t=t.substr(0,s),r=y(t,n)}return""===t&&(t=e.placeholder),t}function D(t,e,i,n){for(var a=0,r=0,o=t.length;rh)t="",o=[];else if(null!=d)for(var f=A(d-(i?i[1]+i[3]:0),e,a.ellipsis,{minChar:a.minChar,placeholder:a.placeholder}),p=0,g=o.length;pr&&R(i,t.substring(r,o)),R(i,n[2],n[1]),r=p.lastIndex}rv)return{lines:[],width:0,height:0};M.textWidth=y(M.text,C);var P=I.textWidth,k=null==P||"auto"===P;if("string"===typeof P&&"%"===P.charAt(P.length-1))M.percentWidth=P,d.push(M),P=0;else{if(k){P=M.textWidth;var O=I.textBackgroundColor,E=O&&O.image;E&&(E=a.findExistImage(E),a.isImageReady(E)&&(P=Math.max(P,E.width*D/E.height)))}var N=A?A[1]+A[3]:0;P+=N;var z=null!=m?m-w:null;null!=z&&z"],a.isArray(t)&&(t=t.slice(),n=!0),r=e?t:n?[c(t[0]),c(t[1])]:c(t),a.isString(u)?u.replace("{value}",n?r[0]:r).replace("{value2}",n?r[1]:r):a.isFunction(u)?n?u(t[0],t[1]):u(t):n?t[0]===l[0]?i[0]+" "+r[1]:t[1]===l[1]?i[1]+" "+r[0]:r[0]+" - "+r[1]:r;function c(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension,i=t.dimensions;if(null!=e||i.length){if(null!=e)return t.getDimension(e);for(var n=t.dimensions,a=n.length-1;a>=0;a--){var r=n[a],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return r}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,i={inRange:e.inRange,outOfRange:e.outOfRange},n=e.target||(e.target={}),r=e.controller||(e.controller={});a.merge(n,i),a.merge(r,i);var l=this.isCategory();function u(i){f(e.color)&&!i.inRange&&(i.inRange={color:e.color.slice().reverse()}),i.inRange=i.inRange||{color:t.get("gradientColor")},p(this.stateList,(function(t){var e=i[t];if(a.isString(e)){var n=o.get(e,"active",l);n?(i[t]={},i[t][e]=n):delete i[t]}}),this)}function c(t,e,i){var n=t[e],a=t[i];n&&!a&&(a=t[i]={},p(n,(function(t,e){if(s.isValidType(e)){var i=o.get(e,"inactive",l);null!=i&&(a[e]=i,"color"!==e||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}})))}function g(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,i=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,n=this.get("inactiveColor");p(this.stateList,(function(r){var o=this.itemSize,s=t[r];s||(s=t[r]={color:l?n:[n]}),null==s.symbol&&(s.symbol=e&&a.clone(e)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=i&&a.clone(i)||(l?o[0]:[o[0],o[0]])),s.symbol=h(s.symbol,(function(t){return"none"===t||"square"===t?"roundRect":t}));var u=s.symbolSize;if(null!=u){var c=-1/0;d(u,(function(t){t>c&&(c=t)})),s.symbolSize=h(u,(function(t){return m(t,[0,c],[0,o[0]],!0)}))}}),this)}u.call(this,n),u.call(this,r),c.call(this,n,"inRange","outOfRange"),g.call(this,r)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v}),x=y;t.exports=x},eaeb:function(t,e,i){var n=i("6d8b");function a(t,e){return n.map(["Radius","Angle"],(function(i,n){var a=this["get"+i+"Axis"](),r=e[n],o=t[n]/2,s="dataTo"+i,l="category"===a.type?a.getBandWidth():Math.abs(a[s](r-o)-a[s](r+o));return"Angle"===i&&(l=l*Math.PI/180),l}),this)}function r(t){var e=t.getRadiusAxis(),i=t.getAngleAxis(),r=e.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:r[1],r0:r[0]},api:{coord:n.bind((function(n){var a=e.dataToRadius(n[0]),r=i.dataToAngle(n[1]),o=t.coordToPoint([a,r]);return o.push(a,r*Math.PI/180),o})),size:n.bind(a,t)}}}t.exports=r},eb6b:function(t,e,i){var n=i("6d8b"),a=i("e0d3"),r=a.makeInner,o=i("cd33"),s=i("133d"),l=n.each,u=n.curry,c=r();function h(t,e,i){var a=t.currTrigger,r=[t.x,t.y],o=t,c=t.dispatchAction||n.bind(i.dispatchAction,i),h=e.getComponent("axisPointer").coordSysAxesInfo;if(h){b(r)&&(r=s({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var f=b(r),w=o.axesInfo,S=h.axesInfo,M="leave"===a||b(r),I={},T={},A={list:[],map:{}},C={showPointer:u(p,T),showTooltip:u(g,A)};l(h.coordSysMap,(function(t,e){var i=f||t.containPoint(r);l(h.coordSysAxesInfo[e],(function(t,e){var n=t.axis,a=x(w,t);if(!M&&i&&(!w||a)){var o=a&&a.value;null!=o||f||(o=n.pointToData(r)),null!=o&&d(t,o,C,!1,I)}}))}));var D={};return l(S,(function(t,e){var i=t.linkGroup;i&&!T[e]&&l(i.axesInfo,(function(e,n){var a=T[n];if(e!==t&&a){var r=a.value;i.mapper&&(r=t.axis.scale.parse(i.mapper(r,_(e),_(t)))),D[t.key]=r}}))})),l(D,(function(t,e){d(S[e],t,C,!0,I)})),m(T,S,I),v(A,r,t,c),y(S,c,i),I}}function d(t,e,i,a,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var s=f(e,t),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==r.seriesIndex&&n.extend(r,l[0]),!a&&t.snap&&o.containData(u)&&null!=u&&(e=u),i.showPointer(t,e,l,r),i.showTooltip(t,s,u)}else i.showPointer(t,e)}function f(t,e){var i=e.axis,n=i.dim,a=t,r=[],o=Number.MAX_VALUE,s=-1;return l(e.seriesModels,(function(e,u){var c,h,d=e.getData().mapDimension(n,!0);if(e.getAxisTooltipData){var f=e.getAxisTooltipData(d,t,i);h=f.dataIndices,c=f.nestestValue}else{if(h=e.getData().indicesOfNearest(d[0],t,"category"===i.type?.5:null),!h.length)return;c=e.getData().get(d[0],h[0])}if(null!=c&&isFinite(c)){var p=t-c,g=Math.abs(p);g<=o&&((g=0&&s<0)&&(o=g,s=p,a=c,r.length=0),l(h,(function(t){r.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:r,snapToValue:a}}function p(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function g(t,e,i,n){var a=i.payloadBatch,r=e.axis,s=r.model,l=e.axisPointerModel;if(e.triggerTooltip&&a.length){var u=e.coordSys.model,c=o.makeKey(u),h=t.map[c];h||(h=t.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:r.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:n,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:a.slice()})}}function m(t,e,i){var n=i.axesInfo=[];l(e,(function(e,i){var a=e.axisPointerModel.option,r=t[i];r?(!e.useHandle&&(a.status="show"),a.value=r.value,a.seriesDataIndices=(r.payloadBatch||[]).slice()):!e.useHandle&&(a.status="hide"),"show"===a.status&&n.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:a.value})}))}function v(t,e,i,n){if(!b(e)&&t.list.length){var a=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:t.list})}else n({type:"hideTip"})}function y(t,e,i){var a=i.getZr(),r="axisPointerLastHighlights",o=c(a)[r]||{},s=c(a)[r]={};l(t,(function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&l(i.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;s[e]=t}))}));var u=[],h=[];n.each(o,(function(t,e){!s[e]&&h.push(t)})),n.each(s,(function(t,e){!o[e]&&u.push(t)})),h.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:h}),u.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:u})}function x(t,e){for(var i=0;i<(t||[]).length;i++){var n=t[i];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}function _(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=e.componentIndex,i.axisName=i[n+"AxisName"]=e.name,i.axisId=i[n+"AxisId"]=e.id,i}function b(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=h},ebf9:function(t,e,i){var n=i("3eba");n.registerAction("legendScroll","legendscroll",(function(t,e){var i=t.scrollDataIndex;null!=i&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(i)}))}))},ec02:function(t,e,i){var n=i("6d8b"),a=i("84ce"),r=function(t,e,i,n,r){a.call(this,t,e,i),this.type=n||"value",this.position=r||"bottom"};r.prototype={constructor:r,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[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},n.inherits(r,a);var o=r;t.exports=o},ec34:function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),r=a.createHashMap,o=a.isString,s=a.isArray,l=a.each,u=(a.assert,i("3041")),c=u.parseXML,h=r(),d={registerMap:function(t,e,i){var n;return s(e)?n=e:e.svg?n=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(i=e.specialAreas,e=e.geoJson),n=[{type:"geoJSON",source:e,specialAreas:i}]),l(n,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON");var i=f[e];i(t)})),h.set(t,n)},retrieveMap:function(t){return h.get(t)}},f={geoJSON:function(t){var e=t.source;t.geoJSON=o(e)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=c(t.source)}};t.exports=d},ec6f:function(t,e,i){var n=i("6d8b"),a=n.createHashMap,r=n.isTypedArray,o=i("625e"),s=o.enableClassCheck,l=i("93d0"),u=l.SOURCE_FORMAT_ORIGINAL,c=l.SERIES_LAYOUT_BY_COLUMN,h=l.SOURCE_FORMAT_UNKNOWN,d=l.SOURCE_FORMAT_TYPED_ARRAY,f=l.SOURCE_FORMAT_KEYED_COLUMNS;function p(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===f?{}:[]),this.sourceFormat=t.sourceFormat||h,this.seriesLayoutBy=t.seriesLayoutBy||c,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&a(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}p.seriesDataToSource=function(t){return new p({data:t,sourceFormat:r(t)?d:u,fromDataset:!1})},s(p);var g=p;t.exports=g},ecf8:function(t,e,i){var n=i("6d8b"),a=i("3842"),r=a.parsePercent,o=n.each;function s(t){var e=l(t);o(e,(function(t){var e=t.seriesModels;e.length&&(u(t),o(e,(function(e,i){c(e,t.boxOffsetList[i],t.boxWidthList[i])})))}))}function l(t){var e=[],i=[];return t.eachSeriesByType("boxplot",(function(t){var a=t.getBaseAxis(),r=n.indexOf(i,a);r<0&&(r=i.length,i[r]=a,e[r]={axis:a,seriesModels:[]}),e[r].seriesModels.push(t)})),e}function u(t){var e,i,a=t.axis,s=t.seriesModels,l=s.length,u=t.boxWidthList=[],c=t.boxOffsetList=[],h=[];if("category"===a.type)i=a.getBandWidth();else{var d=0;o(s,(function(t){d=Math.max(d,t.getData().count())})),e=a.getExtent(),Math.abs(e[1]-e[0])}o(s,(function(t){var e=t.get("boxWidth");n.isArray(e)||(e=[e,e]),h.push([r(e[0],i)||0,r(e[1],i)||0])}));var f=.8*i-2,p=f/l*.3,g=(f-p*(l-1))/l,m=g/2-f/2;o(s,(function(t,e){c.push(m),m+=p+g,u.push(Math.min(Math.max(g,h[e][0]),h[e][1]))}))}function c(t,e,i){var n=t.coordinateSystem,a=t.getData(),r=i/2,o="horizontal"===t.get("layout")?0:1,s=1-o,l=["x","y"],u=a.mapDimension(l[o]),c=a.mapDimension(l[s],!0);if(!(null==u||c.length<5))for(var h=0;h=0&&i.splice(n,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i15)break}}o.__drawIndex=v,o.__drawIndex0&&t>n[0]){for(s=0;st)break;r=i[n[s]]}if(n.splice(s+1,0,t),i[t]=e,!e.virtual)if(r){var u=r.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else o("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var i,n,a=this._zlevelList;for(n=0;n0?g:0),this._needsManuallyCompositing),l.__builtin__||o("ZLevel "+u+" has been used by unkown layer "+l.id),l!==r&&(l.__used=!0,l.__startIndex!==i&&(l.__dirty=!0),l.__startIndex=i,l.incremental?l.__drawIndex=-1:l.__drawIndex=i,e(i),r=l),n.__dirty&&(l.__dirty=!0,l.incremental&&l.__drawIndex<0&&(l.__drawIndex=i))}e(i),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?r.merge(i[t],e,!0):i[t]=e;for(var n=0;n1?"."+t[1]:""))}function s(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var l=n.normalizeCssArray,u=/([&<>"'])/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function h(t){return null==t?"":(t+"").replace(u,(function(t,e){return c[e]}))}var d=["a","b","c","d","e","f","g"],f=function(t,e){return"{"+t+(null==e?"":e)+"}"};function p(t,e,i){n.isArray(e)||(e=[e]);var a=e.length;if(!a)return"";for(var r=e[0].$vars||[],o=0;o':'':{renderMode:r,content:"{marker"+o+"|} ",style:{color:i}}:""}function v(t,e){return t+="","0000".substr(0,e-t.length)+t}function y(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=r.parseDate(e),a=i?"UTC":"",o=n["get"+a+"FullYear"](),s=n["get"+a+"Month"]()+1,l=n["get"+a+"Date"](),u=n["get"+a+"Hours"](),c=n["get"+a+"Minutes"](),h=n["get"+a+"Seconds"](),d=n["get"+a+"Milliseconds"]();return t=t.replace("MM",v(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",v(l,2)).replace("d",l).replace("hh",v(u,2)).replace("h",u).replace("mm",v(c,2)).replace("m",c).replace("ss",v(h,2)).replace("s",h).replace("SSS",v(d,3)),t}function x(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}var _=a.truncateText;function b(t){return a.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)}function w(t,e,i,n,r,o,s,l){return a.getBoundingRect(t,e,i,n,r,l,o,s)}function S(t,e){if("_blank"===e||"blank"===e){var i=window.open();i.opener=null,i.location=t}else window.open(t,e)}e.addCommas=o,e.toCamelCase=s,e.normalizeCssArray=l,e.encodeHTML=h,e.formatTpl=p,e.formatTplSimple=g,e.getTooltipMarker=m,e.formatTime=y,e.capitalFirst=x,e.truncateText=_,e.getTextBoundingRect=b,e.getTextRect=w,e.windowOpen=S},edaf:function(t,e,i){var n=i("6d8b"),a=i("6cb7"),r=i("6179"),o=i("e0d3"),s=a.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,i){this._data,this._names,this.mergeDefaultAndTheme(t,i),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=this.option,e=t.data||[],i=t.axisType,a=this._names=[];if("category"===i){var s=[];n.each(e,(function(t,e){var i,r=o.getDataItemValue(t);n.isObject(t)?(i=n.clone(t),i.value=e):i=e,s.push(i),n.isString(r)||null!=r&&!isNaN(r)||(r=""),a.push(r+"")})),e=s}var l={category:"ordinal",time:"time"}[i]||"number",u=this._data=new r([{name:"value",type:l}],this);u.initData(e,a)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;t.exports=l},edb9:function(t,e,i){var n=i("6d8b");function a(t,e){e=e||{};var i=t.coordinateSystem,a=t.axis,r={},o=a.position,s=a.orient,l=i.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};r.position=["vertical"===s?c.vertical[o]:u[0],"horizontal"===s?c.horizontal[o]:u[3]];var h={horizontal:0,vertical:1};r.rotation=Math.PI/2*h[s];var d={top:-1,bottom:1,right:1,left:-1};r.labelDirection=r.tickDirection=r.nameDirection=d[o],t.get("axisTick.inside")&&(r.tickDirection=-r.tickDirection),n.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(r.labelDirection=-r.labelDirection);var f=e.rotate;return null==f&&(f=t.get("axisLabel.rotate")),r.labelRotation="top"===o?-f:f,r.z2=1,r}e.layout=a},ee1a:function(t,e,i){var n=i("6d8b"),a=n.each,r=n.isString;function o(t,e,i){i=i||{};var n,o,s,l,u=i.byIndex,c=i.stackedCoordDimension,h=!(!t||!t.get("stack"));if(a(e,(function(t,i){r(t)&&(e[i]=t={name:t}),h&&!t.isExtraCoord&&(u||n||!t.ordinalMeta||(n=t),o||"ordinal"===t.type||"time"===t.type||c&&c!==t.coordDim||(o=t))})),!o||u||n||(u=!0),o){s="__\0ecstackresult",l="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var d=o.coordDim,f=o.type,p=0;a(e,(function(t){t.coordDim===d&&p++})),e.push({name:s,coordDim:d,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0}),p++,e.push({name:l,coordDim:l,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:n&&n.name,isStackedByIndex:u,stackedOverDimension:l,stackResultDimension:s}}function s(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function l(t,e){return s(t,e)?t.getCalculationInfo("stackResultDimension"):e}e.enableDataStack=o,e.isDimensionStacked=s,e.getStackedDimension=l},ee66:function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("2306"),o=i("eda2"),s=i("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:["日","一","二","三","四","五","六"]},c=n.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,i){var n=this.group;n.removeAll();var a=t.coordinateSystem,r=a.getRangeInfo(),o=a.getOrient();this._renderDayRect(t,r,n),this._renderLines(t,r,o,n),this._renderYearText(t,r,o,n),this._renderMonthText(t,o,n),this._renderWeekText(t,r,o,n)},_renderDayRect:function(t,e,i){for(var n=t.coordinateSystem,a=t.getModel("itemStyle").getItemStyle(),o=n.getCellWidth(),s=n.getCellHeight(),l=e.start.time;l<=e.end.time;l=n.getNextNDay(l,1).time){var u=n.dataToRect([l],!1).tl,c=new r.Rect({shape:{x:u[0],y:u[1],width:o,height:s},cursor:"default",style:a});i.add(c)}},_renderLines:function(t,e,i,n){var a=this,r=t.coordinateSystem,o=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=o.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){d(u.formatedDate),0===c&&(u=r.getDateInfo(e.start.y+"-"+e.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=r.getDateInfo(h)}function d(e){a._firstDayOfMonth.push(r.getDateInfo(e)),a._firstDayPoints.push(r.dataToRect([e],!1).tl);var l=a._getLinePointsOfOneWeek(t,e,i);a._tlpoints.push(l[0]),a._blpoints.push(l[l.length-1]),s&&a._drawSplitline(l,o,n)}d(r.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(a._getEdgesPoints(a._tlpoints,l,i),o,n),s&&this._drawSplitline(a._getEdgesPoints(a._blpoints,l,i),o,n)},_getEdgesPoints:function(t,e,i){var n=[t[0].slice(),t[t.length-1].slice()],a="horizontal"===i?0:1;return n[0][a]=n[0][a]-e/2,n[1][a]=n[1][a]+e/2,n},_drawSplitline:function(t,e,i){var n=new r.Polyline({z2:20,shape:{points:t},style:e});i.add(n)},_getLinePointsOfOneWeek:function(t,e,i){var n=t.coordinateSystem;e=n.getDateInfo(e);for(var a=[],r=0;r<7;r++){var o=n.getNextNDay(e.time,r),s=n.dataToRect([o.time],!1);a[2*o.day]=s.tl,a[2*o.day+1]=s["horizontal"===i?"bl":"tr"]}return a},_formatterLabel:function(t,e){return"string"===typeof t&&t?o.formatTplSimple(t,e):"function"===typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,i,n,a){e=e.slice();var r=["center","bottom"];"bottom"===n?(e[1]+=a,r=["center","top"]):"left"===n?e[0]-=a:"right"===n?(e[0]+=a,r=["center","top"]):e[1]-=a;var o=0;return"left"!==n&&"right"!==n||(o=Math.PI/2),{rotation:o,position:e,style:{textAlign:r[0],textVerticalAlign:r[1]}}},_renderYearText:function(t,e,i,n){var a=t.getModel("yearLabel");if(a.get("show")){var o=a.get("margin"),s=a.get("position");s||(s="horizontal"!==i?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,h="horizontal"===i?0:1,d={top:[u,l[h][1]],bottom:[u,l[1-h][1]],left:[l[1-h][0],c],right:[l[h][0],c]},f=e.start.y;+e.end.y>+e.start.y&&(f=f+"-"+e.end.y);var p=a.get("formatter"),g={start:e.start.y,end:e.end.y,nameMap:f},m=this._formatterLabel(p,g),v=new r.Text({z2:30});r.setTextStyle(v.style,a,{text:m}),v.attr(this._yearTextPositionControl(v,d[s],i,s,o)),n.add(v)}},_monthTextPositionControl:function(t,e,i,n,a){var r="left",o="top",s=t[0],l=t[1];return"horizontal"===i?(l+=a,e&&(r="center"),"start"===n&&(o="bottom")):(s+=a,e&&(o="middle"),"start"===n&&(r="right")),{x:s,y:l,textAlign:r,textVerticalAlign:o}},_renderMonthText:function(t,e,i){var n=t.getModel("monthLabel");if(n.get("show")){var o=n.get("nameMap"),s=n.get("margin"),u=n.get("position"),c=n.get("align"),h=[this._tlpoints,this._blpoints];a.isString(o)&&(o=l[o.toUpperCase()]||[]);var d="start"===u?0:1,f="horizontal"===e?0:1;s="start"===u?-s:s;for(var p="center"===c,g=0;g1?(g.width=c,g.height=c/f):(g.height=c,g.width=c*f),g.y=u[1]-g.height/2,g.x=u[0]-g.width/2}else r=t.getBoxLayoutParams(),r.aspect=f,g=s.getLayoutRect(r,{width:h,height:d});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function d(t,e){r.each(e.get("geoCoord"),(function(e,i){t.addGeoCoord(i,e)}))}var f={dimensions:o.prototype.dimensions,create:function(t,e){var i=[];t.eachComponent("geo",(function(t,n){var a=t.get("map"),r=t.get("aspectScale"),s=!0,l=c.retrieveMap(a);l&&l[0]&&"svg"===l[0].type?(null==r&&(r=1),s=!1):null==r&&(r=.75);var u=new o(a+n,a,t.get("nameMap"),s);u.aspectScale=r,u.zoomLimit=t.get("scaleLimit"),i.push(u),d(u,t),t.coordinateSystem=u,u.model=t,u.resize=h,u.resize(t,e)})),t.eachSeries((function(t){var e=t.get("coordinateSystem");if("geo"===e){var n=t.get("geoIndex")||0;t.coordinateSystem=i[n]}}));var n={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();n[e]=n[e]||[],n[e].push(t)}})),r.each(n,(function(t,n){var a=r.map(t,(function(t){return t.get("nameMap")})),s=new o(n,n,r.mergeAll(a));s.zoomLimit=r.retrieve.apply(null,r.map(t,(function(t){return t.get("scaleLimit")}))),i.push(s),s.resize=h,s.aspectScale=t[0].get("aspectScale"),s.resize(t[0],e),r.each(t,(function(t){t.coordinateSystem=s,d(s,t)}))})),i},getFilledRegions:function(t,e,i){for(var n=(t||[]).slice(),a=r.createHashMap(),o=0;os&&(e[1-r]=e[r]+f.sign*s),e}function n(t,e){var i=t[e]-t[1-e];return{span:Math.abs(i),sign:i>0?-1:i<0?1:e?-1:1}}function a(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}t.exports=i},ef97:function(t,e,i){var n=i("3eba");i("217b"),i("f17f");var a=i("7f96"),r=i("87c3"),o=i("fdde");i("01ed"),n.registerVisual(a("line","circle","line")),n.registerLayout(r("line")),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,o("line"))},ef97a:function(t,e,i){var n=i("3eba");i("2163"),i("6cd8"),i("bf9b");var a=i("7f96"),r=i("ca29");n.registerVisual(a("tree","circle")),n.registerLayout(r)},f0ec:function(t,e,i){"use strict";i("7250")},f109:function(t,e,i){t.exports=i.p+"img/shuimogou.e7e9d253.jpg"},f123:function(t,e,i){var n=i("9f82"),a=n.prepareDataCoordInfo,r=n.getStackedOnPoint;function o(t,e){var i=[];return e.diff(t).add((function(t){i.push({cmd:"+",idx:t})})).update((function(t,e){i.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){i.push({cmd:"-",idx:t})})).execute(),i}function s(t,e,i,n,s,l,u,c){for(var h=o(t,e),d=[],f=[],p=[],g=[],m=[],v=[],y=[],x=a(s,e,u),_=a(l,t,c),b=0;b=0;o--){var s=i[o].dimension,l=t.dimensions[s],u=t.getDimensionInfo(l);if(n=u&&u.coordDim,"x"===n||"y"===n){r=i[o];break}}if(r){var h=e.getAxis(n),d=a.map(r.stops,(function(t){return{coord:h.toGlobalCoord(h.dataToCoord(t.value)),color:t.color}})),f=d.length,p=r.outerColors.slice();f&&d[0].coord>d[f-1].coord&&(d.reverse(),p.reverse());var g=10,m=d[0].coord-g,v=d[f-1].coord+g,y=v-m;if(y<.001)return"transparent";a.each(d,(function(t){t.offset=(t.coord-m)/y})),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var x=new c.LinearGradient(0,0,0,0,d,!0);return x[n]=m,x[n+"2"]=v,x}}}function C(t,e,i){var n=t.get("showAllSymbol"),r="auto"===n;if(!n||r){var o=i.getAxesByScale("ordinal")[0];if(o&&(!r||!D(o,e))){var s=e.mapDimension(o.dim),l={};return a.each(o.getViewLabels(),(function(t){l[t.tickValue]=1})),function(t){return!l.hasOwnProperty(e.get(s,t))}}}}function D(t,e){var i=t.getExtent(),n=Math.abs(i[1]-i[0])/t.scale.count();isNaN(n)&&(n=0);for(var a=e.count(),r=Math.max(1,Math.round(a/5)),o=0;on)return!1;return!0}function L(t,e,i){if("cartesian2d"===t.type){var n=t.getBaseAxis().isHorizontal(),a=_(t,e,i);if(!i.get("clip",!0)){var r=a.shape,o=Math.max(r.width,r.height);n?(r.y-=o,r.height+=2*o):(r.x-=o,r.width+=2*o)}return a}return b(t,e,i)}var P=g.extend({type:"line",init:function(){var t=new c.Group,e=new s;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,i){var n=t.coordinateSystem,r=this.group,o=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=o.mapArray(o.getItemLayout),c="polar"===n.type,h=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,g=this._lineGroup,m=t.get("animation"),y=!l.isEmpty(),x=l.get("origin"),_=v(n,o,x),b=I(n,o,_),S=t.get("showSymbol"),D=S&&!c&&C(t,o,n),P=this._data;P&&P.eachItemGraphicEl((function(t,e){t.__temp&&(r.remove(t),P.setItemGraphicEl(e,null))})),S||d.remove(),r.add(g);var k,O=!c&&t.get("step");n&&n.getArea&&t.get("clip",!0)&&(k=n.getArea(),null!=k.width?(k.x-=.1,k.y-=.1,k.width+=.2,k.height+=.2):k.r0&&(k.r0-=.5,k.r1+=.5)),this._clipShapeForSymbol=k,f&&h.type===n.type&&O===this._step?(y&&!p?p=this._newPolygon(u,b,n,m):p&&!y&&(g.remove(p),p=this._polygon=null),g.setClipPath(L(n,!1,t)),S&&d.updateData(o,{isIgnore:D,clipShape:k}),o.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),w(this._stackedOnPoints,b)&&w(this._points,u)||(m?this._updateAnimation(o,b,n,i,O,x):(O&&(u=T(u,n,O),b=T(b,n,O)),f.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:b})))):(S&&d.updateData(o,{isIgnore:D,clipShape:k}),O&&(u=T(u,n,O),b=T(b,n,O)),f=this._newPolyline(u,n,m),y&&(p=this._newPolygon(u,b,n,m)),g.setClipPath(L(n,!0,t)));var R=A(o,n)||o.getVisual("color");f.useStyle(a.defaults(s.getLineStyle(),{fill:"none",stroke:R,lineJoin:"bevel"}));var E=t.get("smooth");if(E=M(t.get("smooth")),f.setShape({smooth:E,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),p){var N=o.getCalculationInfo("stackedOnSeries"),z=0;p.useStyle(a.defaults(l.getAreaStyle(),{fill:R,opacity:.7,lineJoin:"bevel"})),N&&(z=M(N.get("smooth"))),p.setShape({smooth:E,stackedOnSmooth:z,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=o,this._coordSys=n,this._stackedOnPoints=b,this._points=u,this._step=O,this._valueOrigin=x},dispose:function(){},highlight:function(t,e,i,n){var a=t.getData(),r=h.queryDataIndex(a,n);if(!(r instanceof Array)&&null!=r&&r>=0){var o=a.getItemGraphicEl(r);if(!o){var s=a.getItemLayout(r);if(!s)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;o=new l(a,r),o.position=s,o.setZ(t.get("zlevel"),t.get("z")),o.ignore=isNaN(s[0])||isNaN(s[1]),o.__temp=!0,a.setItemGraphicEl(r,o),o.stopSymbolAnimation(!0),this.group.add(o)}o.highlight()}else g.prototype.highlight.call(this,t,e,i,n)},downplay:function(t,e,i,n){var a=t.getData(),r=h.queryDataIndex(a,n);if(null!=r&&r>=0){var o=a.getItemGraphicEl(r);o&&(o.__temp?(a.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay())}else g.prototype.downplay.call(this,t,e,i,n)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new f({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new p({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_updateAnimation:function(t,e,i,n,a,r){var o=this._polyline,s=this._polygon,l=t.hostModel,h=u(this._data,t,this._stackedOnPoints,e,this._coordSys,i,this._valueOrigin,r),d=h.current,f=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;if(a&&(d=T(h.current,i,a),f=T(h.stackedOnCurrent,i,a),p=T(h.next,i,a),g=T(h.stackedOnNext,i,a)),S(d,p)>3e3||s&&S(f,g)>3e3)return o.setShape({points:p}),void(s&&s.setShape({points:p,stackedOnPoints:g}));o.shape.__points=h.current,o.shape.points=d,c.updateProps(o,{shape:{points:p}},l),s&&(s.setShape({points:d,stackedOnPoints:f}),c.updateProps(s,{shape:{points:p,stackedOnPoints:g}},l));for(var m=[],v=h.status,y=0;ys)return;var a=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==a.behavior&&this._dispatchExpand({axisExpandWindow:a.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&u(this,"mousemove")){var e=this._model,i=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),n=i.behavior;"jump"===n&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===n?null:{axisExpandWindow:i.axisExpandWindow,animation:"jump"===n&&null})}}};function u(t,e){var i=t._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===e}n.registerPreprocessor(o)},f31f:function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),r=i("6d8b"),o=i("2b8c"),s=i("4319"),l=["#ddd"],u=a.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var i=this.option;!e&&o.replaceVisualOption(i,t,["inBrush","outOfBrush"]);var n=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:l},n.hasOwnProperty("liftZ")||(n.liftZ=5)},setAreas:function(t){t&&(this.areas=r.map(t,(function(t){return c(this.option,t)}),this))},setBrushOption:function(t){this.brushOption=c(this.option,t),this.brushType=this.brushOption.brushType}});function c(t,e){return r.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new s(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var h=u;t.exports=h},f47d:function(t,e,i){var n=i("6d8b"),a=(n.assert,n.isArray),r=i("4e08");r.__DEV__;function o(t){return new s(t)}function s(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}var l=s.prototype;l.perform=function(t){var e,i=this._upstream,n=t&&t.skip;if(this._dirty&&i){var r=this.context;r.data=r.outputData=i.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!n&&(e=this._plan(this.context));var o,s=f(this._modBy),l=this._modDataCount||0,u=f(t&&t.modBy),d=t&&t.modDataCount||0;function f(t){return!(t>=1)&&(t=1),t}s===u&&l===d||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=h(this,n)),this._modBy=u,this._modDataCount=d;var p=t&&t.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,m=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!n&&(o||g1&&n>0?s:o}};return r;function o(){return e=t?null:r=0;v--){var y=m[v],x=y.node,_=y.width,b=y.text;g>p.width&&(g-=_-c,_=c,b=null);var w=new n.Polygon({shape:{points:d(l,0,_,h,v===m.length-1,0===v)},style:r.defaults(i.getItemStyle(),{lineJoin:"bevel",text:b,textFill:o.getTextColor(),textFont:o.getFont()}),z:10,onclick:r.curry(s,x)});this.group.add(w),f(w,t,x),l+=_+u}},remove:function(){this.group.removeAll()}};var p=h;t.exports=p},f6ed:function(t,e,i){var n=i("6d8b");function a(t,e){var i={};return n.each(t,(function(t){t.each(t.mapDimension("value"),(function(e,n){var a="ec-"+t.getName(n);i[a]=i[a]||[],isNaN(e)||i[a].push(e)}))})),t[0].map(t[0].mapDimension("value"),(function(n,a){for(var r,o="ec-"+t[0].getName(a),s=0,l=1/0,u=-1/0,c=i[o].length,h=0;hn||l.newline?(r=0,c=m,o+=s+i,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);h=o+v,h>a||l.newline?(r+=s+i,o=0,h=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=r,d[1]=o,"horizontal"===t?r=c+i:o=h+i)}))}var d=h,f=n.curry(h,"vertical"),p=n.curry(h,"horizontal");function g(t,e,i){var n=e.width,a=e.height,r=o(t.x,n),l=o(t.y,a),u=o(t.x2,n),c=o(t.y2,a);return(isNaN(r)||isNaN(parseFloat(t.x)))&&(r=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=n),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.y2)))&&(c=a),i=s.normalizeCssArray(i||0),{width:Math.max(u-r-i[1]-i[3],0),height:Math.max(c-l-i[0]-i[2],0)}}function m(t,e,i){i=s.normalizeCssArray(i||0);var n=e.width,r=e.height,l=o(t.left,n),u=o(t.top,r),c=o(t.right,n),h=o(t.bottom,r),d=o(t.width,n),f=o(t.height,r),p=i[2]+i[0],g=i[1]+i[3],m=t.aspect;switch(isNaN(d)&&(d=n-c-g-l),isNaN(f)&&(f=r-h-p-u),null!=m&&(isNaN(d)&&isNaN(f)&&(m>n/r?d=.8*n:f=.8*r),isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=n-c-d-g),isNaN(u)&&(u=r-h-f-p),t.left||t.right){case"center":l=n/2-d/2-i[3];break;case"right":l=n-d-g;break}switch(t.top||t.bottom){case"middle":case"center":u=r/2-f/2-i[0];break;case"bottom":u=r-f-p;break}l=l||0,u=u||0,isNaN(d)&&(d=n-g-l-(c||0)),isNaN(f)&&(f=r-p-u-(h||0));var v=new a(l+i[3],u+i[0],d,f);return v.margin=i,v}function v(t,e,i,r,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],u=o&&o.boundingMode||"all";if(s||l){var c;if("raw"===u)c="group"===t.type?new a(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(c=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();c=c.clone(),c.applyTransform(h)}e=m(n.defaults({width:c.width,height:c.height},e),i,r);var d=t.position,f=s?e.x-c.x:0,p=l?e.y-c.y:0;t.attr("position","raw"===u?[f,p]:[d[0]+f,d[1]+p])}}function y(t,e){return null!=t[c[e][0]]||null!=t[c[e][1]]&&null!=t[c[e][2]]}function x(t,e,i){!n.isObject(i)&&(i={});var a=i.ignoreSize;!n.isArray(a)&&(a=[a,a]);var r=s(c[0],0),o=s(c[1],1);function s(i,n){var r={},o=0,s={},c=0,d=2;if(l(i,(function(e){s[e]=t[e]})),l(i,(function(t){u(e,t)&&(r[t]=s[t]=e[t]),h(r,t)&&o++,h(s,t)&&c++})),a[n])return h(e,i[1])?s[i[2]]=null:h(e,i[2])&&(s[i[1]]=null),s;if(c!==d&&o){if(o>=d)return r;for(var f=0;ff[1]?-1:1,g=["start"===s?f[0]-p*d:"end"===s?f[1]+p*d:(f[0]+f[1])/2,P(s)?t.labelOffset+c*d:0],m=e.get("nameRotate");null!=m&&(m=m*b/180),P(s)?n=I(t.rotation,null!=m?m:t.rotation,c):(n=T(t,s,m||0,f),r=t.axisNameAvailableWidth,null!=r&&(r=Math.abs(r/Math.sin(n.rotation)),!isFinite(r)&&(r=null)));var v=h.getFont(),y=e.get("nameTruncate",!0)||{},x=y.ellipsis,_=a(t.nameTruncateMaxWidth,y.maxWidth,r),w=null!=x&&null!=_?l.truncateText(i,_,v,x,{minChar:2,placeholder:y.placeholder}):i,S=e.get("tooltip",!0),C=e.mainType,D={componentType:C,name:i,$vars:["name"]};D[C+"Index"]=e.componentIndex;var L=new u.Text({anid:"name",__fullText:i,__truncatedText:w,position:g,rotation:n.rotation,silent:A(e),z2:1,tooltip:S&&S.show?o({content:i,formatter:function(){return i},formatterParams:D},S):null});u.setTextStyle(L.style,h,{text:w,textFont:v,textFill:h.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:h.get("align")||n.textAlign,textVerticalAlign:h.get("verticalAlign")||n.textVerticalAlign}),e.get("triggerEvent")&&(L.eventData=M(e),L.eventData.targetType="axisName",L.eventData.name=i),this._dumbGroup.add(L),L.updateTransform(),this.group.add(L),L.decomposeTransform()}}},M=w.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},I=w.innerTextLayout=function(t,e,i){var n,a,r=f(e-t);return d(r)?(a=i>0?"top":"bottom",n="center"):d(r-b)?(a=i>0?"bottom":"top",n="center"):(a="middle",n=r>0&&r0?"right":"left":i>0?"left":"right"),{rotation:r,textAlign:n,textVerticalAlign:a}};function T(t,e,i,n){var a,r,o=f(i-t.rotation),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;return d(o-b/2)?(r=l?"bottom":"top",a="center"):d(o-1.5*b)?(r=l?"top":"bottom",a="center"):(r="middle",a=o<1.5*b&&o>b/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:a,textVerticalAlign:r}}var A=w.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function C(t,e,i){if(!_(t.axis)){var n=t.get("axisLabel.showMinLabel"),a=t.get("axisLabel.showMaxLabel");e=e||[],i=i||[];var r=e[0],o=e[1],s=e[e.length-1],l=e[e.length-2],u=i[0],c=i[1],h=i[i.length-1],d=i[i.length-2];!1===n?(D(r),D(u)):L(r,o)&&(n?(D(o),D(c)):(D(r),D(u))),!1===a?(D(s),D(h)):L(l,s)&&(a?(D(l),D(d)):(D(s),D(h)))}}function D(t){t&&(t.ignore=!0)}function L(t,e,i){var n=t&&t.getBoundingRect().clone(),a=e&&e.getBoundingRect().clone();if(n&&a){var r=m.identity([]);return m.rotate(r,r,-t.rotation),n.applyTransform(m.mul([],r,t.getLocalTransform())),a.applyTransform(m.mul([],r,e.getLocalTransform())),n.intersect(a)}}function P(t){return"middle"===t||"center"===t}function k(t,e,i,n,a){for(var r=[],o=[],s=[],l=0;lm}function V(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function G(t,e,i,n){var a=new o.Group;return a.add(new o.Rect({name:"main",style:U(i),silent:!0,draggable:!0,cursor:"move",drift:u(t,e,a,"nswe"),ondragend:u(z,e,{isEnd:!0})})),c(n,(function(i){a.add(new o.Rect({name:i,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:u(t,e,a,i),ondragend:u(z,e,{isEnd:!0})}))})),a}function F(t,e,i,n){var a=n.brushStyle.lineWidth||0,r=f(a,v),o=i[0][0],s=i[1][0],l=o-a/2,u=s-a/2,c=i[0][1],h=i[1][1],d=c-r+a/2,p=h-r+a/2,g=c-o,m=h-s,y=g+a,x=m+a;W(t,e,"main",o,s,g,m),n.transformable&&(W(t,e,"w",l,u,r,x),W(t,e,"e",d,u,r,x),W(t,e,"n",l,u,y,r),W(t,e,"s",l,p,y,r),W(t,e,"nw",l,u,r,r),W(t,e,"ne",d,u,r,r),W(t,e,"sw",l,p,r,r),W(t,e,"se",d,p,r,r))}function H(t,e){var i=e.__brushOption,n=i.transformable,a=e.childAt(0);a.useStyle(U(i)),a.attr({silent:!n,cursor:n?"move":"default"}),c(["w","e","n","s","se","sw","ne","nw"],(function(i){var a=e.childOfName(i),r=Y(t,i);a&&a.attr({silent:!n,invisible:!n,cursor:n?_[r]+"-resize":null})}))}function W(t,e,i,n,a,r,o){var s=e.childOfName(i);s&&s.setShape(J($(t,e,[[n,a],[n+r,a+o]])))}function U(t){return a.defaults({strokeNoScale:!0},t.brushStyle)}function j(t,e,i,n){var a=[d(t,i),d(e,n)],r=[f(t,i),f(e,n)];return[[a[0],r[0]],[a[1],r[1]]]}function Z(t){return o.getTransform(t.group)}function Y(t,e){if(e.length>1){e=e.split("");var i=[Y(t,e[0]),Y(t,e[1])];return("e"===i[0]||"w"===i[0])&&i.reverse(),i.join("")}var n={w:"left",e:"right",n:"top",s:"bottom"},a={left:"w",right:"e",top:"n",bottom:"s"};i=o.transformDirection(n[e],Z(t));return a[i]}function X(t,e,i,n,a,r,o,s){var l=n.__brushOption,u=t(l.range),h=K(i,r,o);c(a.split(""),(function(t){var e=x[t];u[e[0]][e[1]]+=h[e[0]]})),l.range=e(j(u[0][0],u[1][0],u[0][1],u[1][1])),k(i,n),z(i,{isEnd:!1})}function q(t,e,i,n,a){var r=e.__brushOption.range,o=K(t,i,n);c(r,(function(t){t[0]+=o[0],t[1]+=o[1]})),k(t,e),z(t,{isEnd:!1})}function K(t,e,i){var n=t.group,a=n.transformCoordToLocal(e,i),r=n.transformCoordToLocal(0,0);return[a[0]-r[0],a[1]-r[1]]}function $(t,e,i){var n=E(t,e);return n&&!0!==n?n.clipPath(i,t._transform):a.clone(i)}function J(t){var e=d(t[0][0],t[1][0]),i=d(t[0][1],t[1][1]),n=f(t[0][0],t[1][0]),a=f(t[0][1],t[1][1]);return{x:e,y:i,width:n-e,height:a-i}}function Q(t,e,i){if(t._brushType&&!ot(t,e)){var n=t._zr,a=t._covers,r=R(t,e,i);if(!t._dragging)for(var o=0;on.getWidth()||i<0||i>n.getHeight()}var st={lineX:lt(0),lineY:lt(1),rect:{createCover:function(t,e){return G(u(X,(function(t){return t}),(function(t){return t})),t,e,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(t){var e=V(t);return j(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,i,n){F(t,e,i,n)},updateCommon:H,contain:et},polygon:{createCover:function(t,e){var i=new o.Group;return i.add(new o.Polyline({name:"main",style:U(e),silent:!0})),i},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new o.Polygon({name:"main",draggable:!0,drift:u(q,t,e),ondragend:u(z,t,{isEnd:!0})}))},updateCoverShape:function(t,e,i,n){e.childAt(0).setShape({points:$(t,e,i)})},updateCommon:H,contain:et}};function lt(t){return{createCover:function(e,i){return G(u(X,(function(e){var i=[e,[0,100]];return t&&i.reverse(),i}),(function(e){return e[t]})),e,i,[["w","e"],["n","s"]][t])},getCreatingRange:function(e){var i=V(e),n=d(i[0][t],i[1][t]),a=f(i[0][t],i[1][t]);return[n,a]},updateCoverShape:function(e,i,n,a){var r,o=E(e,i);if(!0!==o&&o.getLinearBrushOtherExtent)r=o.getLinearBrushOtherExtent(t,e._transform);else{var s=e._zr;r=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[n,r];t&&l.reverse(),F(e,i,l,a)},updateCommon:H,contain:et}}var ut=S;t.exports=ut},fd27:function(t,e,i){var n=i("9273"),a=i("a991"),r=function(t){this.name=t||"",this.cx=0,this.cy=0,this._radiusAxis=new n,this._angleAxis=new a,this._radiusAxis.polar=this._angleAxis.polar=this};r.prototype={type:"polar",axisPointerEnabled:!0,constructor:r,dimensions:["radius","angle"],model:null,containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(t){var e=[],i=this._angleAxis,n=this._radiusAxis;return i.scale.type===t&&e.push(i),n.scale.type===t&&e.push(n),e},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){var i=this.pointToCoord(t);return[this._radiusAxis.radiusToData(i[0],e),this._angleAxis.angleToData(i[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=this.getAngleAxis(),a=n.getExtent(),r=Math.min(a[0],a[1]),o=Math.max(a[0],a[1]);n.inverse?r=o-360:o=r+360;var s=Math.sqrt(e*e+i*i);e/=s,i/=s;var l=Math.atan2(-i,e)/Math.PI*180,u=lo)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],i=t[1]/180*Math.PI,n=Math.cos(i)*e+this.cx,a=-Math.sin(i)*e+this.cy;return[n,a]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),i=e.getExtent().slice();i[0]>i[1]&&i.reverse();var n=t.getExtent(),a=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:i[0],r:i[1],startAngle:-n[0]*a,endAngle:-n[1]*a,clockwise:t.inverse,contain:function(t,e){var i=t-this.cx,n=e-this.cy,a=i*i+n*n,r=this.r,o=this.r0;return a<=r*r&&a>=o*o}}}};var o=r;t.exports=o},fd63:function(t,e,i){var n=i("42e5"),a=i("6d8b"),r=a.isFunction,o={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var i=t.getData(),a=(t.visualColorAccessPath||"itemStyle.color").split("."),o=t.get(a),s=!r(o)||o instanceof n?null:o;o&&!s||(o=t.getColorFromPalette(t.name,null,e.getSeriesCount())),i.setVisual("color",o);var l=(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),u=t.get(l);if(i.setVisual("borderColor",u),!e.isSeriesFiltered(t)){s&&i.each((function(e){i.setItemVisual(e,"color",s(t.getDataParams(e)))}));var c=function(t,e){var i=t.getItemModel(e),n=i.get(a,!0),r=i.get(l,!0);null!=n&&t.setItemVisual(e,"color",n),null!=r&&t.setItemVisual(e,"borderColor",r)};return{dataEach:i.hasItemOption?c:null}}}};t.exports=o},fdde:function(t,e){var i={average:function(t){for(var e=0,i=0,n=0;ne&&(e=t[i]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,i=0;i1)"string"===typeof o?l=i[o]:"function"===typeof o&&(l=o),l&&t.setData(r.downSample(r.mapDimension(c.dim),1/f,l,n))}}}}t.exports=a},fe21:function(t,e,i){var n=i("e86ad"),a=i("2306"),r=["textStyle","color"],o={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(r):null)},getFont:function(){return a.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return n.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};t.exports=o},febc:function(t,e,i){var n=i("6d8b"),a=i("4f85"),r=i("e468"),o=r.seriesModelMixin,s=a.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});n.mixin(s,o,!0);var l=s;t.exports=l},fecb:function(t,e,i){var n=i("6d8b"),a=i("2145"),r=i("29a8"),o=r.toolbox.brush;function s(t,e,i){this.model=t,this.ecModel=e,this.api=i,this._brushType,this._brushMode}s.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:n.clone(o.title)};var l=s.prototype;l.render=l.updateView=function(t,e,i){var a,r,o;e.eachComponent({mainType:"brush"},(function(t){a=t.brushType,r=t.brushOption.brushMode||"single",o|=t.areas.length})),this._brushType=a,this._brushMode=r,n.each(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===a)?"emphasis":"normal")}))},l.getIcons=function(){var t=this.model,e=t.get("icon",!0),i={};return n.each(t.get("type",!0),(function(t){e[t]&&(i[t]=e[t])})),i},l.onclick=function(t,e,i){var n=this._brushType,a=this._brushMode;"clear"===i?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===i?n:n!==i&&i,brushMode:"keep"===i?"multiple"===a?"single":"multiple":a}})},a.register("brush",s);var u=s;t.exports=u},ff2e:function(t,e,i){var n=i("6d8b"),a=i("2306"),r=i("e86ad"),o=i("eda2"),s=i("1687"),l=i("697e"),u=i("fab2");function c(t){var e,i=t.get("type"),n=t.getModel(i+"Style");return"line"===i?(e=n.getLineStyle(),e.fill=null):"shadow"===i&&(e=n.getAreaStyle(),e.stroke=null),e}function h(t,e,i,n,a){var s=i.get("value"),l=f(s,e.axis,e.ecModel,i.get("seriesDataIndices"),{precision:i.get("label.precision"),formatter:i.get("label.formatter")}),u=i.getModel("label"),c=o.normalizeCssArray(u.get("padding")||0),h=u.getFont(),p=r.getBoundingRect(l,h),g=a.position,m=p.width+c[1]+c[3],v=p.height+c[0]+c[2],y=a.align;"right"===y&&(g[0]-=m),"center"===y&&(g[0]-=m/2);var x=a.verticalAlign;"bottom"===x&&(g[1]-=v),"middle"===x&&(g[1]-=v/2),d(g,m,v,n);var _=u.get("backgroundColor");_&&"auto"!==_||(_=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:m,height:v,r:u.get("borderRadius")},position:g.slice(),style:{text:l,textFont:h,textFill:u.getTextColor(),textPosition:"inside",textPadding:c,fill:_,stroke:u.get("borderColor")||"transparent",lineWidth:u.get("borderWidth")||0,shadowBlur:u.get("shadowBlur"),shadowColor:u.get("shadowColor"),shadowOffsetX:u.get("shadowOffsetX"),shadowOffsetY:u.get("shadowOffsetY")},z2:10}}function d(t,e,i,n){var a=n.getWidth(),r=n.getHeight();t[0]=Math.min(t[0]+e,a)-e,t[1]=Math.min(t[1]+i,r)-i,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function f(t,e,i,a,r){t=e.scale.parse(t);var o=e.scale.getLabel(t,{precision:r.precision}),s=r.formatter;if(s){var u={value:l.getAxisRawValue(e,t),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};n.each(a,(function(t){var e=i.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,a=e&&e.getDataParams(n);a&&u.seriesData.push(a)})),n.isString(s)?o=s.replace("{value}",o):n.isFunction(s)&&(o=s(u))}return o}function p(t,e,i){var n=s.create();return s.rotate(n,n,i.rotation),s.translate(n,n,i.position),a.applyTransform([t.dataToCoord(e),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)}function g(t,e,i,n,a,r){var o=u.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=a.get("label.margin"),h(e,n,a,r,{position:p(n.axis,t,i),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function m(t,e,i){return i=i||0,{x1:t[i],y1:t[1-i],x2:e[i],y2:e[1-i]}}function v(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}function y(t,e,i,n,a,r){return{cx:t,cy:e,r0:i,r:n,startAngle:a,endAngle:r,clockwise:!0}}e.buildElStyle=c,e.buildLabelElOption=h,e.getValueLabel=f,e.getTransformedPosition=p,e.buildCartesianSingleLabelElOption=g,e.makeLineShape=m,e.makeRectShape=v,e.makeSectorShape=y},ffdf:function(t,e,i){}}]);