emqx/apps/emqx_enterprise_dashboard/priv/www/static/js/chunk-69b6fda6.4f049c18.js

1 line
424 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-69b6fda6"],{"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(){})},"0156":function(t,e,i){var n=i("6d8b");function r(t,e,i){i=i||{};var r=t.coordinateSystem,a=e.axis,o={},s=a.getAxesOnZeroOf()[0],l=a.position,u=s?"onZero":l,c=a.dim,h=r.getRect(),d=[h.x,h.x+h.width,h.y,h.y+h.height],f={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,g="x"===c?[d[2]-p,d[3]+p]:[d[0]-p,d[1]+p];if(s){var v=s.toGlobalCoord(s.dataToCoord(0));g[f.onZero]=Math.max(Math.min(v,g[1]),g[0])}o.position=["y"===c?g[f[u]]:d[0],"x"===c?g[f[u]]:d[3]],o.rotation=Math.PI/2*("x"===c?0:1);var m={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=m[l],o.labelOffset=s?g[f[l]]-g[f.onZero]:0,e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),n.retrieve(i.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var y=e.get("axisLabel.rotate");return o.labelRotate="top"===u?-y:y,o.z2=1,o}e.layout=r},"01ed":function(t,e,i){var n=i("3eba"),r=i("6d8b"),a=i("2306");i("5aa9"),i("af24"),n.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new a.Rect({shape:t.coordinateSystem.getRect(),style:r.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),n.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})},"02fd":function(t,e,i){"use strict";var n=i("08d2"),r=i.n(n);r.a},"0352":function(t,e,i){var n=i("6cb7"),r=i("b12f"),a=i("0f99"),o=a.detectSourceFormat,s=i("93d0"),l=s.SERIES_LAYOUT_BY_COLUMN;n.extend({type:"dataset",defaultOption:{seriesLayoutBy:l,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){o(this)}}),r.extend({type:"dataset"})},"04f6":function(t,e){var i=32,n=7;function r(t){var e=0;while(t>=i)e|=1&t,t>>=1;return t+e}function a(t,e,i,n){var r=e+1;if(r===i)return 1;if(n(t[r++],t[e])<0){while(r<i&&n(t[r],t[r-1])<0)r++;o(t,e,r)}else while(r<i&&n(t[r],t[r-1])>=0)r++;return r-e}function o(t,e,i){i--;while(e<i){var n=t[e];t[e++]=t[i],t[i--]=n}}function s(t,e,i,n,r){for(n===e&&n++;n<i;n++){var a,o=t[n],s=e,l=n;while(s<l)a=s+l>>>1,r(o,t[a])<0?l=a:s=a+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,r,a){var o=0,s=0,l=1;if(a(t,e[i+r])>0){s=n-r;while(l<s&&a(t,e[i+r+l])>0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}else{s=r+1;while(l<s&&a(t,e[i+r-l])<=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=o;o=r-l,l=r-u}o++;while(o<l){var c=o+(l-o>>>1);a(t,e[i+c])>0?o=c+1:l=c}return l}function u(t,e,i,n,r,a){var o=0,s=0,l=1;if(a(t,e[i+r])<0){s=r+1;while(l<s&&a(t,e[i+r-l])<0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=o;o=r-l,l=r-u}else{s=n-r;while(l<s&&a(t,e[i+r+l])>=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}o++;while(o<l){var c=o+(l-o>>>1);a(t,e[i+c])<0?l=c:o=c+1}return l}function c(t,e){var i,r,a=n,o=0,s=0;o=t.length;var c=[];function h(t,e){i[s]=t,r[s]=e,s+=1}function d(){while(s>1){var t=s-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]<r[t+1]&&t--;else if(r[t]>r[t+1])break;p(t)}}function f(){while(s>1){var t=s-2;t>0&&r[t-1]<r[t+1]&&t--,p(t)}}function p(n){var a=i[n],o=r[n],c=i[n+1],h=r[n+1];r[n]=o+h,n===s-3&&(i[n+1]=i[n+2],r[n+1]=r[n+2]),s--;var d=u(t[c],t,a,o,0,e);a+=d,o-=d,0!==o&&(h=l(t[a+o-1],t,c,h,h-1,e),0!==h&&(o<=h?g(a,o,c,h):v(a,o,c,h)))}function g(i,r,o,s){var h=0;for(h=0;h<r;h++)c[h]=t[i+h];var d=0,f=o,p=i;if(t[p++]=t[f++],0!==--s)if(1!==r){var g,v,m,y=a;while(1){g=0,v=0,m=!1;do{if(e(t[f],c[d])<0){if(t[p++]=t[f++],v++,g=0,0===--s){m=!0;break}}else if(t[p++]=c[d++],g++,v=0,1===--r){m=!0;break}}while((g|v)<y);if(m)break;do{if(g=u(t[f],c,d,r,0,e),0!==g){for(h=0;h<g;h++)t[p+h]=c[d+h];if(p+=g,d+=g,r-=g,r<=1){m=!0;break}}if(t[p++]=t[f++],0===--s){m=!0;break}if(v=l(c[d],t,f,s,0,e),0!==v){for(h=0;h<v;h++)t[p+h]=t[f+h];if(p+=v,f+=v,s-=v,0===s){m=!0;break}}if(t[p++]=c[d++],1===--r){m=!0;break}y--}while(g>=n||v>=n);if(m)break;y<0&&(y=0),y+=2}if(a=y,a<1&&(a=1),1===r){for(h=0;h<s;h++)t[p+h]=t[f+h];t[p+s]=c[d]}else{if(0===r)throw new Error;for(h=0;h<r;h++)t[p+h]=c[d+h]}}else{for(h=0;h<s;h++)t[p+h]=t[f+h];t[p+s]=c[d]}else for(h=0;h<r;h++)t[p+h]=c[d+h]}function v(i,r,o,s){var h=0;for(h=0;h<s;h++)c[h]=t[o+h];var d=i+r-1,f=s-1,p=o+s-1,g=0,v=0;if(t[p--]=t[d--],0!==--r)if(1!==s){var m=a;while(1){var y=0,x=0,_=!1;do{if(e(c[f],t[d])<0){if(t[p--]=t[d--],y++,x=0,0===--r){_=!0;break}}else if(t[p--]=c[f--],x++,y=0,1===--s){_=!0;break}}while((y|x)<m);if(_)break;do{if(y=r-u(c[f],t,i,r,r-1,e),0!==y){for(p-=y,d-=y,r-=y,v=p+1,g=d+1,h=y-1;h>=0;h--)t[v+h]=t[g+h];if(0===r){_=!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,v=p+1,g=f+1,h=0;h<x;h++)t[v+h]=c[g+h];if(s<=1){_=!0;break}}if(t[p--]=t[d--],0===--r){_=!0;break}m--}while(y>=n||x>=n);if(_)break;m<0&&(m=0),m+=2}if(a=m,a<1&&(a=1),1===s){for(p-=r,d-=r,v=p+1,g=d+1,h=r-1;h>=0;h--)t[v+h]=t[g+h];t[p]=c[f]}else{if(0===s)throw new Error;for(g=p-(s-1),h=0;h<s;h++)t[g+h]=c[h]}}else{for(p-=r,d-=r,v=p+1,g=d+1,h=r-1;h>=0;h--)t[v+h]=t[g+h];t[p]=c[f]}else for(g=p-(s-1),h=0;h<s;h++)t[g+h]=c[h]}i=[],r=[],this.mergeRuns=d,this.forceMergeRuns=f,this.pushRun=h}function h(t,e,n,o){n||(n=0),o||(o=t.length);var l=o-n;if(!(l<2)){var u=0;if(l<i)return u=a(t,n,o,e),void s(t,n,o,n+u,e);var h=new c(t,e),d=r(l);do{if(u=a(t,n,o,e),u<d){var f=l;f>d&&(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},"0655":function(t,e,i){var n=i("8728"),r=1e-8;function a(t,e){return Math.abs(t-e)<r}function o(t,e,i){var r=0,o=t[0];if(!o)return!1;for(var s=1;s<t.length;s++){var l=t[s];r+=n(o[0],o[1],l[0],l[1],e,i),o=l}var u=t[0];return a(o[0],u[0])&&a(o[1],u[1])||(r+=n(o[0],o[1],u[0],u[1],e,i)),0!==r}e.contain=o},"06ad":function(t,e,i){var n=i("4436"),r=i("41ef"),a=i("6d8b"),o=a.isArrayLike,s=Array.prototype.slice;function l(t,e){return t[e]}function u(t,e,i){t[e]=i}function c(t,e,i){return(e-t)*i+t}function h(t,e,i){return i>.5?e:t}function d(t,e,i,n,r){var a=t.length;if(1===r)for(var o=0;o<a;o++)n[o]=c(t[o],e[o],i);else{var s=a&&t[0].length;for(o=0;o<a;o++)for(var l=0;l<s;l++)n[o][l]=c(t[o][l],e[o][l],i)}}function f(t,e,i){var n=t.length,r=e.length;if(n!==r){var a=n>r;if(a)t.length=r;else for(var o=n;o<r;o++)t.push(1===i?e[o]:s.call(e[o]))}var l=t[0]&&t[0].length;for(o=0;o<t.length;o++)if(1===i)isNaN(t[o])&&(t[o]=e[o]);else for(var u=0;u<l;u++)isNaN(t[o][u])&&(t[o][u]=e[o][u])}function p(t,e,i){if(t===e)return!0;var n=t.length;if(n!==e.length)return!1;if(1===i){for(var r=0;r<n;r++)if(t[r]!==e[r])return!1}else{var a=t[0].length;for(r=0;r<n;r++)for(var o=0;o<a;o++)if(t[r][o]!==e[r][o])return!1}return!0}function g(t,e,i,n,r,a,o,s,l){var u=t.length;if(1===l)for(var c=0;c<u;c++)s[c]=v(t[c],e[c],i[c],n[c],r,a,o);else{var h=t[0].length;for(c=0;c<u;c++)for(var d=0;d<h;d++)s[c][d]=v(t[c][d],e[c][d],i[c][d],n[c][d],r,a,o)}}function v(t,e,i,n,r,a,o){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*o+(-3*(e-i)-2*s-l)*a+s*r+e}function m(t){if(o(t)){var e=t.length;if(o(t[0])){for(var i=[],n=0;n<e;n++)i.push(s.call(t[n]));return i}return s.call(t)}return t}function y(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function x(t){var e=t[t.length-1].value;return o(e&&e[0])?2:1}function _(t,e,i,a,s,l){var u=t._getter,m=t._setter,_="spline"===e,b=a.length;if(b){var w,S=a[0].value,M=o(S),C=!1,T=!1,I=M?x(a):0;a.sort(function(t,e){return t.time-e.time}),w=a[b-1].time;for(var A=[],D=[],k=a[0].value,O=!0,L=0;L<b;L++){A.push(a[L].time/w);var P=a[L].value;if(M&&p(P,k,I)||!M&&P===k||(O=!1),k=P,"string"===typeof P){var E=r.parse(P);E?(P=E,C=!0):T=!0}D.push(P)}if(l||!O){var R=D[b-1];for(L=0;L<b-1;L++)M?f(D[L],R,I):!isNaN(D[L])||isNaN(R)||T||C||(D[L]=R);M&&f(u(t._target,s),R,I);var N,B,z,F,V,H,G=0,W=0;if(C)var j=[0,0,0,0];var U=function(t,e){var i;if(e<0)i=0;else if(e<W){for(N=Math.min(G+1,b-1),i=N;i>=0;i--)if(A[i]<=e)break;i=Math.min(i,b-2)}else{for(i=G;i<b;i++)if(A[i]>e)break;i=Math.min(i-1,b-2)}G=i,W=e;var n=A[i+1]-A[i];if(0!==n)if(B=(e-A[i])/n,_)if(F=D[i],z=D[0===i?i:i-1],V=D[i>b-2?b-1:i+1],H=D[i>b-3?b-1:i+2],M)g(z,F,V,H,B,B*B,B*B*B,u(t,s),I);else{if(C)r=g(z,F,V,H,B,B*B,B*B*B,j,1),r=y(j);else{if(T)return h(F,V,B);r=v(z,F,V,H,B,B*B,B*B*B)}m(t,s,r)}else if(M)d(D[i],D[i+1],B,u(t,s),I);else{var r;if(C)d(D[i],D[i+1],B,j,1),r=y(j);else{if(T)return h(D[i],D[i+1],B);r=c(D[i],D[i+1],B)}m(t,s,r)}},$=new n({target:t._target,life:w,loop:t._loop,delay:t._delay,onframe:U,ondestroy:i});return e&&"spline"!==e&&($.easing=e),$}}}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 r=this._getter(this._target,n);if(null==r)continue;0!==t&&i[n].push({time:0,value:m(r)})}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;t<this._clipList.length;t++)this._clipList[t].pause();this._paused=!0},resume:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var t=this._doneList,e=t.length,i=0;i<e;i++)t[i].call(this)},start:function(t,e){var i,n=this,r=0,a=function(){r--,r||n._doneCallback()};for(var o in this._tracks)if(this._tracks.hasOwnProperty(o)){var s=_(this,t,a,this._tracks[o],o,e);s&&(this._clipList.push(s),r++,this.animation&&this.animation.addClip(s),i=s)}if(i){var l=i.onframe;i.onframe=function(t,e){l(t,e);for(var i=0;i<n._onframeList.length;i++)n._onframeList[i](t,e)}}return r||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,i=this.animation,n=0;n<e.length;n++){var r=e[n];t&&r.onframe(this._target,1),i&&i.removeClip(r)}e.length=0},delay:function(t){return this._delay=t,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}};var w=b;t.exports=w},"07d7":function(t,e,i){var n=i("6d8b"),r=i("41ef"),a=i("607d"),o=i("22d1"),s=i("eda2"),l=n.each,u=s.toCamelCase,c=["","-webkit-","-moz-","-o-"],h="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function d(t){var e="cubic-bezier(0.23, 1, 0.32, 1)",i="left "+t+"s "+e+",top "+t+"s "+e;return n.map(c,function(t){return t+"transition:"+i}).join(";")}function f(t){var e=[],i=t.get("fontSize"),n=t.getTextColor();return n&&e.push("color:"+n),e.push("font:"+t.getFont()),i&&e.push("line-height:"+Math.round(3*i/2)+"px"),l(["decoration","align"],function(i){var n=t.get(i);n&&e.push("text-"+i+":"+n)}),e.join(";")}function p(t){var e=[],i=t.get("transitionDuration"),n=t.get("backgroundColor"),a=t.getModel("textStyle"),c=t.get("padding");return i&&e.push(d(i)),n&&(o.canvasSupported?e.push("background-Color:"+n):(e.push("background-Color:#"+r.toHex(n)),e.push("filter:alpha(opacity=70)"))),l(["width","color","radius"],function(i){var n="border-"+i,r=u(n),a=t.get(r);null!=a&&e.push(n+":"+a+("color"===i?"":"px"))}),e.push(f(a)),null!=c&&e.push("padding:"+s.normalizeCssArray(c).join("px ")+"px"),e.join(";")+";"}function g(t,e){if(o.wxa)return null;var i=document.createElement("div"),n=this._zr=e.getZr();this.el=i,this._x=e.getWidth()/2,this._y=e.getHeight()/2,t.appendChild(i),this._container=t,this._show=!1,this._hideTimeout;var r=this;i.onmouseenter=function(){r._enterable&&(clearTimeout(r._hideTimeout),r._show=!0),r._inContent=!0},i.onmousemove=function(e){if(e=e||window.event,!r._enterable){var i=n.handler;a.normalizeEvent(t,e,!0),i.dispatch("mousemove",e)}},i.onmouseleave=function(){r._enterable&&r._show&&r.hideLater(r._hideDelay),r._inContent=!1}}g.prototype={constructor:g,_enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t),i=t.style;"absolute"!==i.position&&"absolute"!==e.position&&(i.position="relative")},show:function(t){clearTimeout(this._hideTimeout);var e=this.el;e.style.cssText=h+p(t)+";left:"+this._x+"px;top:"+this._y+"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,n=this._zr;n&&n.painter&&(i=n.painter.getViewportRootOffset())&&(t+=i.offsetLeft,e+=i.offsetTop);var r=this.el.style;r.left=t+"px",r.top=e+"px",this._x=t,this._y=e},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},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.paddingLeft,10)+parseInt(i.paddingRight,10)+parseInt(i.borderLeftWidth,10)+parseInt(i.borderRightWidth,10),e+=parseInt(i.paddingTop,10)+parseInt(i.paddingBottom,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10))}return{width:t,height:e}}};var v=g;t.exports=v},"08d2":function(t,e,i){},"0b44":function(t,e,i){var n=i("607d"),r=function(){this._track=[]};function a(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]}r.prototype={constructor:r,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 r=t.touches;if(r){for(var a={points:[],touches:[],target:e,event:t},o=0,s=r.length;o<s;o++){var l=r[o],u=n.clientToLocal(i,l,{});a.points.push([u.zrX,u.zrY]),a.touches.push(l)}this._track.push(a)}},_recognize:function(t){for(var e in s)if(s.hasOwnProperty(e)){var i=s[e](this._track,t);if(i)return i}}};var s={pinch:function(t,e){var i=t.length;if(i){var n=(t[i-1]||{}).points,r=(t[i-2]||{}).points||n;if(r&&r.length>1&&n&&n.length>1){var s=a(n)/a(r);!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=r;t.exports=l},"0cde":function(t,e,i){var n=i("1687"),r=i("401b"),a=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(),r=this.transform;if(i||e){r=r||n.create(),i?this.getLocalTransform(r):a(r),e&&(i?n.mul(r,t.transform,r):n.copy(r,t.transform)),this.transform=r;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;r[0]*=u,r[1]*=u,r[2]*=h,r[3]*=h}this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,r)}else r&&a(r)},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,r=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],r[0]=e,r[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&&r.applyTransform(i,i,n),i},u.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&r.applyTransform(i,i,n),i},l.getLocalTransform=function(t,e){e=e||[],a(e);var i=t.origin,r=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,r),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"),r=i("9850"),a=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 r=this._image=o.createOrUpdateImage(n,this._image,this,this.onload);if(r&&o.isImageReady(r)){var a=i.x||0,s=i.y||0,l=i.width,u=i.height,c=r.width/r.height;if(null==l&&null!=u?l=u*c:null==u&&null!=l?u=l/c:null==l&&null==u&&(l=r.width,u=r.height),this.setTransform(t),i.sWidth&&i.sHeight){var h=i.sx||0,d=i.sy||0;t.drawImage(r,h,d,i.sWidth,i.sHeight,a,s,l,u)}else if(i.sx&&i.sy){h=i.sx,d=i.sy;var f=l-h,p=u-d;t.drawImage(r,h,d,f,p,a,s,l,u)}else t.drawImage(r,a,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 r(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},a.inherits(s,n);var l=s;t.exports=l},"0f99":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("e0d3")),a=r.makeInner,o=r.getDataItemValue,s=i("8b7f"),l=s.getCoordSysDefineBySeries,u=i("6d8b"),c=u.createHashMap,h=u.each,d=u.map,f=u.isArray,p=u.isString,g=u.isObject,v=u.isTypedArray,m=u.isArrayLike,y=u.extend,x=(u.assert,i("ec6f")),_=i("93d0"),b=_.SOURCE_FORMAT_ORIGINAL,w=_.SOURCE_FORMAT_ARRAY_ROWS,S=_.SOURCE_FORMAT_OBJECT_ROWS,M=_.SOURCE_FORMAT_KEYED_COLUMNS,C=_.SOURCE_FORMAT_UNKNOWN,T=_.SOURCE_FORMAT_TYPED_ARRAY,I=_.SERIES_LAYOUT_BY_ROW,A=a();function D(t){var e=t.option.source,i=C;if(v(e))i=T;else if(f(e)){0===e.length&&(i=w);for(var n=0,r=e.length;n<r;n++){var a=e[n];if(null!=a){if(f(a)){i=w;break}if(g(a)){i=S;break}}}}else if(g(e)){for(var o in e)if(e.hasOwnProperty(o)&&m(e[o])){i=M;break}}else if(null!=e)throw new Error("Invalid data");A(t).sourceFormat=i}function k(t){return A(t).source}function O(t){A(t).datasetMap=c()}function L(t){var e=t.option,i=e.data,n=v(i)?T:b,r=!1,a=e.seriesLayoutBy,o=e.sourceHeader,s=e.dimensions,l=z(t);if(l){var u=l.option;i=u.source,n=A(l).sourceFormat,r=!0,a=a||u.seriesLayoutBy,null==o&&(o=u.sourceHeader),s=s||u.dimensions}var c=P(i,n,a,o,s),h=e.encode;!h&&l&&(h=B(t,l,i,n,a,c)),A(t).source=new x({data:i,fromDataset:r,seriesLayoutBy:a,sourceFormat:n,dimensionsDefine:c.dimensionsDefine,startIndex:c.startIndex,dimensionsDetectCount:c.dimensionsDetectCount,encodeDefine:h})}function P(t,e,i,n,r){if(!t)return{dimensionsDefine:E(r)};var a,s,l,u;if(e===w)"auto"===n||null==n?R(function(t){null!=t&&"-"!==t&&(p(t)?null==s&&(s=1):s=0)},i,t,10):s=n?1:0,r||1!==s||(r=[],R(function(t,e){r[e]=null!=t?t:""},i,t)),a=r?r.length:i===I?t.length:t[0]?t[0].length:null;else if(e===S)r||(r=N(t),l=!0);else if(e===M)r||(r=[],l=!0,h(t,function(t,e){r.push(e)}));else if(e===b){var c=o(t[0]);a=f(c)&&c.length||1}return l&&h(r,function(t,e){"name"===(g(t)?t.name:t)&&(u=e)}),{startIndex:s,dimensionsDefine:E(r),dimensionsDetectCount:a,potentialNameDimIndex:u}}function E(t){if(t){var e=c();return d(t,function(t,i){if(t=y({},g(t)?t:{name:t}),null==t.name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var n=e.get(t.name);return n?t.name+="-"+n.count++:e.set(t.name,{count:1}),t})}}function R(t,e,i,n){if(null==n&&(n=1/0),e===I)for(var r=0;r<i.length&&r<n;r++)t(i[r]?i[r][0]:null,r);else{var a=i[0]||[];for(r=0;r<a.length&&r<n;r++)t(a[r],r)}}function N(t){var e,i=0;while(i<t.length&&!(e=t[i++]));if(e){var n=[];return h(e,function(t,e){n.push(e)}),n}}function B(t,e,i,n,r,a){var o=l(t),s={},u=[],d=[],f=t.subType,p=c(["pie","map","funnel"]),g=c(["line","bar","pictorialBar","scatter","effectScatter","candlestick","boxplot"]);if(o&&null!=g.get(f)){var v=t.ecModel,m=A(v).datasetMap,y=e.uid+"_"+r,x=m.get(y)||m.set(y,{categoryWayDim:1,valueWayDim:0});h(o.coordSysDims,function(t){if(null==o.firstCategoryDimIndex){var e=x.valueWayDim++;s[t]=e,d.push(e)}else if(o.categoryAxisMap.get(t))s[t]=0,u.push(0);else{e=x.categoryWayDim++;s[t]=e,d.push(e)}})}else if(null!=p.get(f)){for(var _,b=0;b<5&&null==_;b++)V(i,n,r,a.dimensionsDefine,a.startIndex,b)||(_=b);if(null!=_){s.value=_;var w=a.potentialNameDimIndex||Math.max(_-1,0);d.push(w),u.push(w)}}return u.length&&(s.itemName=u),d.length&&(s.seriesName=d),s}function z(t){var e=t.option,i=e.data;if(!i)return t.ecModel.getComponent("dataset",e.datasetIndex||0)}function F(t,e){return V(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function V(t,e,i,n,r,a){var s,l,u=5;if(v(t))return!1;if(n&&(l=n[a],l=g(l)?l.name:l),e===w)if(i===I){for(var c=t[a],h=0;h<(c||[]).length&&h<u;h++)if(null!=(s=x(c[r+h])))return s}else for(h=0;h<t.length&&h<u;h++){var d=t[r+h];if(d&&null!=(s=x(d[a])))return s}else if(e===S){if(!l)return;for(h=0;h<t.length&&h<u;h++){var m=t[h];if(m&&null!=(s=x(m[l])))return s}}else if(e===M){if(!l)return;c=t[l];if(!c||v(c))return!1;for(h=0;h<c.length&&h<u;h++)if(null!=(s=x(c[h])))return s}else if(e===b)for(h=0;h<t.length&&h<u;h++){m=t[h];var y=o(m);if(!f(y))return!1;if(null!=(s=x(y[a])))return s}function x(t){return(null==t||!isFinite(t)||""===t)&&(!(!p(t)||"-"===t)||void 0)}return!1}e.detectSourceFormat=D,e.getSource=k,e.resetSourceDefaulter=O,e.prepareSource=L,e.guessOrdinal=F},"133d":function(t,e,i){var n=i("6d8b"),r=i("e0d3");function a(t,e){var i,a=[],o=t.seriesIndex;if(null==o||!(i=e.getSeriesByIndex(o)))return{point:[]};var s=i.getData(),l=r.queryDataIndex(s,t);if(null==l||l<0||n.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=i.coordinateSystem;if(i.getTooltipPosition)a=i.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)a=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),a=[h.x+h.width/2,h.y+h.height/2]}return{point:a,el:u}}t.exports=a},1418:function(t,e,i){var n=i("6d8b"),r=i("a15a"),a=r.createSymbol,o=i("2306"),s=i("3842"),l=s.parsePercent,u=i("c775f"),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,r){this.removeAll();var o=e.getItemVisual(i,"color"),s=a(t,-1,-1,2,2,o,r);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":"pointer"},d.updateData=function(t,e,i){this.silent=!1;var n=t.getItemVisual(e,"symbol")||"circle",r=t.hostModel,a=f(t,e),s=n!==this._symbolType;if(s){var l=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(n,t,e,a,l)}else{var u=this.childAt(0);u.silent=!1,o.updateProps(u,{scale:p(a)},r,e)}if(this._updateCommon(t,e,a,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,r,e)}this._seriesModel=r};var v=["itemStyle"],m=["emphasis","itemStyle"],y=["label"],x=["emphasis","label"];function _(){!o.isInEmphasis(this)&&w.call(this)}function b(){!o.isInEmphasis(this)&&S.call(this)}function w(){if(!this.incremental&&!this.useHoverLayer){var t=this.__symbolOriginalScale,e=t[1]/t[0];this.animateTo({scale:[Math.max(1.1*t[0],t[0]+3),Math.max(1.1*t[1],t[1]+3*e)]},400,"elasticOut")}}function S(){this.incremental||this.useHoverLayer||this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}d._updateCommon=function(t,e,i,r){var a=this.childAt(0),s=t.hostModel,u=t.getItemVisual(e,"color");"image"!==a.type&&a.useStyle({strokeNoScale:!0});var h=r&&r.itemStyle,d=r&&r.hoverItemStyle,f=r&&r.symbolRotate,g=r&&r.symbolOffset,M=r&&r.labelModel,C=r&&r.hoverLabelModel,T=r&&r.hoverAnimation,I=r&&r.cursorStyle;if(!r||t.hasItemOption){var A=r&&r.itemModel?r.itemModel:t.getItemModel(e);h=A.getModel(v).getItemStyle(["color"]),d=A.getModel(m).getItemStyle(),f=A.getShallow("symbolRotate"),g=A.getShallow("symbolOffset"),M=A.getModel(y),C=A.getModel(x),T=A.getShallow("hoverAnimation"),I=A.getShallow("cursor")}else d=n.extend({},d);var D=a.style;a.attr("rotation",(f||0)*Math.PI/180||0),g&&a.attr("position",[l(g[0],i[0]),l(g[1],i[1])]),I&&a.attr("cursor",I),a.setColor(u,r&&r.symbolInnerColor),a.setStyle(h);var k=t.getItemVisual(e,"opacity");null!=k&&(D.opacity=k);var O=t.getItemVisual(e,"liftZ"),L=a.__z2Origin;null!=O?null==L&&(a.__z2Origin=a.z2,a.z2+=O):null!=L&&(a.z2=L,a.__z2Origin=null);var P=r&&r.useNameLabel;function E(e,i){return P?t.getName(e):c(t,e)}o.setLabelStyle(D,d,M,C,{labelFetcher:s,labelDataIndex:e,defaultText:E,isRectText:!0,autoColor:u}),a.off("mouseover").off("mouseout").off("emphasis").off("normal"),a.hoverStyle=d,o.setHoverStyle(a),a.__symbolOriginalScale=p(i),T&&s.isAnimationEnabled()&&a.on("mouseover",_).on("mouseout",b).on("emphasis",w).on("normal",S)},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 M=h;t.exports=M},1548:function(t,e,i){var n=i("6d8b"),r=i("3301"),a=i("697e"),o=i("2023"),s=i("4319"),l=i("f934");l.getLayoutRect;e.getLayoutRect=l.getLayoutRect;var u=i("ee1a"),c=u.enableDataStack,h=u.isDimensionStacked,d=u.getStackedDimension,f=i("862d");e.completeDimensions=f;var p=i("b1d4");e.createDimensions=p;var g=i("a15a");function v(t){return r(t.getSource(),t)}e.createSymbol=g.createSymbol;var m={isDimensionStacked:h,enableDataStack:c,getStackedDimension:d};function y(t,e){var i=e;s.isInstance(e)||(i=new s(e),n.mixin(i,o));var r=a.createScaleByModel(i);return r.setExtent(t[0],t[1]),a.niceScaleExtent(r,i),r}function x(t){n.mixin(t,o)}e.createList=v,e.dataStack=m,e.createScale=y,e.mixinAxisModelCommonMethods=x},1687:function(t,e){var i="undefined"===typeof Float32Array?Array:Float32Array;function n(){var t=new i(6);return r(t),t}function r(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function o(t,e,i){var n=e[0]*i[0]+e[2]*i[1],r=e[1]*i[0]+e[3]*i[1],a=e[0]*i[2]+e[2]*i[3],o=e[1]*i[2]+e[3]*i[3],s=e[0]*i[4]+e[2]*i[5]+e[4],l=e[1]*i[4]+e[3]*i[5]+e[5];return t[0]=n,t[1]=r,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t}function s(t,e,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+i[0],t[5]=e[5]+i[1],t}function l(t,e,i){var n=e[0],r=e[2],a=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(i),c=Math.cos(i);return t[0]=n*c+o*u,t[1]=-n*u+o*c,t[2]=r*c+s*u,t[3]=-r*u+c*s,t[4]=c*a+u*l,t[5]=c*l-u*a,t}function u(t,e,i){var n=i[0],r=i[1];return t[0]=e[0]*n,t[1]=e[1]*r,t[2]=e[2]*n,t[3]=e[3]*r,t[4]=e[4]*n,t[5]=e[5]*r,t}function c(t,e){var i=e[0],n=e[2],r=e[4],a=e[1],o=e[3],s=e[5],l=i*o-a*n;return l?(l=1/l,t[0]=o*l,t[1]=-a*l,t[2]=-n*l,t[3]=i*l,t[4]=(n*s-o*r)*l,t[5]=(a*r-i*s)*l,t):null}function h(t){var e=n();return a(e,t),e}e.create=n,e.identity=r,e.copy=a,e.mul=o,e.translate=s,e.rotate=l,e.scale=u,e.invert=c,e.clone=h},"17b8":function(t,e,i){var n=i("3014"),r=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}});t.exports=r},"17d6":function(t,e,i){var n=i("6d8b"),r=i("22d1"),a=i("e0d3"),o=a.makeInner,s=o(),l=n.each;function u(t,e,i){if(!r.node){var n=e.getZr();s(n).records||(s(n).records={}),c(n,e);var a=s(n).records[t]||(s(n).records[t]={});a.handler=i}}function c(t,e){function i(i,n){t.on(i,function(i){var r=p(e);l(s(t).records,function(t){t&&n(t,i,r.dispatchAction)}),h(r.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,r=t.hideTip.length;n?i=t.showTip[n-1]:r&&(i=t.hideTip[r-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 r=e[n.type];r?r.push(n):(n.dispatchAction=i,t.dispatchAction(n))};return{dispatchAction:i,pendings:e}}function g(t,e){if(!r.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"),r=i("e0d8"),a=i("8e43"),o=r.prototype,s=r.extend({type:"ordinal",init:function(t,e){t&&!n.isArray(t)||(t=new a({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"),r=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"},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});t.exports=r},"19eb":function(t,e,i){var n=i("6d8b"),r=i("2b61"),a=i("d5b7"),o=i("9e2e");function s(t){for(var e in t=t||{},a.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new r(t.style,this),this._rect=null,this.__clipPaths=[]}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?a.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 r(t,this),this.dirty(!1),this}},n.inherits(s,a),n.mixin(s,o);var l=s;t.exports=l},"1ab3":function(t,e,i){var n=i("6d8b"),r=i("2306"),a=i("e887");function o(t,e,i,n){var r=e.getData(),a=this.dataIndex,o=r.getName(a),l=e.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:t,name:o,seriesId:e.id}),r.each(function(t){s(r.getItemGraphicEl(t),r.getItemLayout(t),e.isSelected(r.getName(t)),l,i)})}function s(t,e,i,n,r){var a=(e.startAngle+e.endAngle)/2,o=Math.cos(a),s=Math.sin(a),l=i?n:0,u=[o*l,s*l];r?t.animate().when(200,{position:u}).start("bounceOut"):t.attr("position",u)}function l(t,e){r.Group.call(this);var i=new r.Sector({z2:2}),n=new r.Polyline,a=new r.Text;function o(){n.ignore=n.hoverIgnore,a.ignore=a.hoverIgnore}function s(){n.ignore=n.normalIgnore,a.ignore=a.normalIgnore}this.add(i),this.add(n),this.add(a),this.updateData(t,e,!0),this.on("emphasis",o).on("normal",s).on("mouseover",o).on("mouseout",s)}var u=l.prototype;u.updateData=function(t,e,i){var a=this.childAt(0),o=t.hostModel,l=t.getItemModel(e),u=t.getItemLayout(e),c=n.extend({},u);if(c.label=null,i){a.setShape(c);var h=o.getShallow("animationType");"scale"===h?(a.shape.r=u.r0,r.initProps(a,{shape:{r:u.r}},o,e)):(a.shape.endAngle=u.startAngle,r.updateProps(a,{shape:{endAngle:u.endAngle}},o,e))}else r.updateProps(a,{shape:c},o,e);var d=t.getItemVisual(e,"color");a.useStyle(n.defaults({lineJoin:"bevel",fill:d},l.getModel("itemStyle").getItemStyle())),a.hoverStyle=l.getModel("emphasis.itemStyle").getItemStyle();var f=l.getShallow("cursor");function p(){a.stopAnimation(!0),a.animateTo({shape:{r:u.r+o.get("hoverOffset")}},300,"elasticOut")}function g(){a.stopAnimation(!0),a.animateTo({shape:{r:u.r}},300,"elasticOut")}f&&a.attr("cursor",f),s(this,t.getItemLayout(e),o.isSelected(null,e),o.get("selectedOffset"),o.get("animation")),a.off("mouseover").off("mouseout").off("emphasis").off("normal"),l.get("hoverAnimation")&&o.isAnimationEnabled()&&a.on("mouseover",p).on("mouseout",g).on("emphasis",p).on("normal",g),this._updateLabel(t,e),r.setHoverStyle(this)},u._updateLabel=function(t,e){var i=this.childAt(1),n=this.childAt(2),a=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e),l=s.label,u=t.getItemVisual(e,"color");r.updateProps(i,{shape:{points:l.linePoints||[[l.x,l.y],[l.x,l.y],[l.x,l.y]]}},a,e),r.updateProps(n,{style:{x:l.x,y:l.y}},a,e),n.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");r.setLabelStyle(n.style,n.hoverStyle={},c,h,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:u,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),n.ignore=n.normalIgnore=!c.get("show"),n.hoverIgnore=!h.get("show"),i.ignore=i.normalIgnore=!d.get("show"),i.hoverIgnore=!f.get("show"),i.setStyle({stroke:u,opacity:t.getItemVisual(e,"opacity")}),i.setStyle(d.getModel("lineStyle").getLineStyle()),i.hoverStyle=f.getModel("lineStyle").getLineStyle();var p=d.get("smooth");p&&!0===p&&(p=.4),i.setShape({smooth:p})},n.inherits(l,r.Group);var c=a.extend({type:"pie",init:function(){var t=new r.Group;this._sectorGroup=t},render:function(t,e,i,r){if(!r||r.from!==this.uid){var a=t.getData(),s=this._data,u=this.group,c=e.get("animation"),h=!s,d=t.get("animationType"),f=n.curry(o,this.uid,t,c,i),p=t.get("selectedMode");if(a.diff(s).add(function(t){var e=new l(a,t);h&&"scale"!==d&&e.eachChild(function(t){t.stopAnimation(!0)}),p&&e.on("click",f),a.setItemGraphicEl(t,e),u.add(e)}).update(function(t,e){var i=s.getItemGraphicEl(e);i.updateData(a,t),i.off("click"),p&&i.on("click",f),u.add(i),a.setItemGraphicEl(t,i)}).remove(function(t){var e=s.getItemGraphicEl(t);u.remove(e)}).execute(),c&&h&&a.count()>0&&"scale"!==d){var g=a.getItemLayout(0),v=Math.max(i.getWidth(),i.getHeight())/2,m=n.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(g.cx,g.cy,v,g.startAngle,g.clockwise,m,t))}else u.removeClipPath();this._data=a}},dispose:function(){},_createClipPath:function(t,e,i,n,a,o,s){var l=new r.Sector({shape:{cx:t,cy:e,r0:0,r:i,startAngle:n,endAngle:n,clockwise:a}});return r.initProps(l,{shape:{endAngle:n+(a?1:-1)*Math.PI*2}},s,o),l},containPoint:function(t,e){var i=e.getData(),n=i.getItemLayout(0);if(n){var r=t[0]-n.cx,a=t[1]-n.cy,o=Math.sqrt(r*r+a*a);return o<=n.r&&o>=n.r0}}}),h=c;t.exports=h},"1fab":function(t,e){var i=Array.prototype.slice,n=function(t){this._$handlers={},this._$eventProcessor=t};function r(t,e){var i=t._$eventProcessor;return null!=e&&i&&i.normalizeQuery&&(e=i.normalizeQuery(e)),e}function a(t,e,i,n,a,o){var s=t._$handlers;if("function"===typeof i&&(a=n,n=i,i=null),!n||!e)return t;i=r(t,i),s[e]||(s[e]=[]);for(var l=0;l<s[e].length;l++)if(s[e][l].h===n)return t;var u={h:n,one:o,query:i,ctx:a||t,callAtLast:n.zrEventfulCallAtLast},c=s[e].length-1,h=s[e][c];return h&&h.callAtLast?s[e].splice(c,0,u):s[e].push(u),t}n.prototype={constructor:n,one:function(t,e,i,n){return a(this,t,e,i,n,!0)},on:function(t,e,i,n){return a(this,t,e,i,n,!1)},isSilent:function(t){var e=this._$handlers;return!e[t]||!e[t].length},off:function(t,e){var i=this._$handlers;if(!t)return this._$handlers={},this;if(e){if(i[t]){for(var n=[],r=0,a=i[t].length;r<a;r++)i[t][r].h!==e&&n.push(i[t][r]);i[t]=n}i[t]&&0===i[t].length&&delete i[t]}else delete i[t];return this},trigger:function(t){var e=this._$handlers[t],n=this._$eventProcessor;if(e){var r=arguments,a=r.length;a>3&&(r=i.call(r,1));for(var o=e.length,s=0;s<o;){var l=e[s];if(n&&n.filter&&null!=l.query&&!n.filter(t,l.query))s++;else{switch(a){case 1:l.h.call(l.ctx);break;case 2:l.h.call(l.ctx,r[1]);break;case 3:l.h.call(l.ctx,r[1],r[2]);break;default:l.h.apply(l.ctx,r);break}l.one?(e.splice(s,1),o--):s++}}}return n&&n.afterTrigger&&n.afterTrigger(t),this},triggerWithContext:function(t){var e=this._$handlers[t],n=this._$eventProcessor;if(e){var r=arguments,a=r.length;a>4&&(r=i.call(r,1,r.length-1));for(var o=r[r.length-1],s=e.length,l=0;l<s;){var u=e[l];if(n&&n.filter&&null!=u.query&&!n.filter(t,u.query))l++;else{switch(a){case 1:u.h.call(o);break;case 2:u.h.call(o,r[1]);break;case 3:u.h.call(o,r[1],r[2]);break;default:u.h.apply(o,r);break}u.one?(e.splice(l,1),s--):l++}}}return n&&n.afterTrigger&&n.afterTrigger(t),this}};var o=n;t.exports=o},2023:function(t,e,i){var n=i("6d8b"),r={getMin:function(t){var e=this.option,i=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=i&&"dataMin"!==i&&"function"!==typeof i&&!n.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getMax:function(t){var e=this.option,i=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=i&&"dataMax"!==i&&"function"!==typeof i&&!n.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:n.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};t.exports=r},2039:function(t,e,i){var n=i("6d8b"),r={};function a(){this._coordinateSystems=[]}a.prototype={constructor:a,create:function(t,e){var i=[];n.each(r,function(n,r){var a=n.create(t,e);i=i.concat(a||[])}),this._coordinateSystems=i},update:function(t,e){n.each(this._coordinateSystems,function(i){i.update&&i.update(t,e)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},a.register=function(t,e){r[t]=e},a.get=function(t){return r[t]};var o=a;t.exports=o},"20c8":function(t,e,i){var n=i("4a3f"),r=i("401b"),a=i("e263"),o=i("9850"),s=i("2cf4"),l=s.devicePixelRatio,u={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],h=[],d=[],f=[],p=Math.min,g=Math.max,v=Math.cos,m=Math.sin,y=Math.sqrt,x=Math.abs,_="undefined"!==typeof Float32Array,b=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};b.prototype={constructor:b,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e){this._ux=x(1/l/t)||0,this._uy=x(1/l/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(u.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var i=x(t-this._xi)>this._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,r,a){return this.addData(u.C,t,e,i,n,r,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,n,r,a):this._ctx.bezierCurveTo(t,e,i,n,r,a)),this._xi=r,this._yi=a,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,r,a){return this.addData(u.A,t,e,i,i,n,r-n,0,a?0:1),this._ctx&&this._ctx.arc(t,e,i,n,r,a),this._xi=v(r)*i+t,this._yi=m(r)*i+e,this},arcTo:function(t,e,i,n,r){return this._ctx&&this._ctx.arcTo(t,e,i,n,r),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;i<t.length;i++)e+=t[i];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(t){var e=t.length;this.data&&this.data.length===e||!_||(this.data=new Float32Array(e));for(var i=0;i<e;i++)this.data[i]=t[i];this._len=e},appendPath:function(t){t instanceof Array||(t=[t]);for(var e=t.length,i=0,n=this._len,r=0;r<e;r++)i+=t[r].len();_&&this.data instanceof Float32Array&&(this.data=new Float32Array(n+i));for(r=0;r<e;r++)for(var a=t[r].data,o=0;o<a.length;o++)this.data[n++]=a[o];this._len=n},addData:function(t){if(this._saveData){var e=this.data;this._len+arguments.length>e.length&&(this._expandData(),e=this.data);for(var i=0;i<arguments.length;i++)e[this._len++]=arguments[i];this._prevCmd=t}},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var i,n,r=this._dashSum,a=this._dashOffset,o=this._lineDash,s=this._ctx,l=this._xi,u=this._yi,c=t-l,h=e-u,d=y(c*c+h*h),f=l,v=u,m=o.length;c/=d,h/=d,a<0&&(a=r+a),a%=r,f-=a*c,v-=a*h;while(c>0&&f<=t||c<0&&f>=t||0===c&&(h>0&&v<=e||h<0&&v>=e))n=this._dashIdx,i=o[n],f+=c*i,v+=h*i,this._dashIdx=(n+1)%m,c>0&&f<l||c<0&&f>l||h>0&&v<u||h<0&&v>u||s[n%2?"moveTo":"lineTo"](c>=0?p(f,t):g(f,t),h>=0?p(v,e):g(v,e));c=f-t,h=v-e,this._dashOffset=-y(c*c+h*h)},_dashedBezierTo:function(t,e,i,r,a,o){var s,l,u,c,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,v=this._xi,m=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(v,t,i,a,s+.1)-x(v,t,i,a,s),u=x(m,e,r,o,s+.1)-x(m,e,r,o,s),_+=y(l*l+u*u);for(;b<w;b++)if(S+=p[b],S>f)break;s=(S-f)/_;while(s<=1)c=x(v,t,i,a,s),h=x(m,e,r,o,s),b%2?g.moveTo(c,h):g.lineTo(c,h),s+=p[b]/_,b=(b+1)%w;b%2!==0&&g.lineTo(a,o),l=a-c,u=o-h,this._dashOffset=-y(l*l+u*u)},_dashedQuadraticTo:function(t,e,i,n){var r=i,a=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,r,a)},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;l<t.length;){var p=t[l++];switch(1===l&&(e=t[l],i=t[l+1],n=e,s=i),p){case u.M:n=t[l++],s=t[l++],e=n,i=s,d[0]=n,d[1]=s,f[0]=n,f[1]=s;break;case u.L:a.fromLine(e,i,t[l],t[l+1],d,f),e=t[l++],i=t[l++];break;case u.C:a.fromCubic(e,i,t[l++],t[l++],t[l++],t[l++],t[l],t[l+1],d,f),e=t[l++],i=t[l++];break;case u.Q:a.fromQuadratic(e,i,t[l++],t[l++],t[l],t[l+1],d,f),e=t[l++],i=t[l++];break;case u.A:var g=t[l++],y=t[l++],x=t[l++],_=t[l++],b=t[l++],w=t[l++]+b;l+=1;var S=1-t[l++];1===l&&(n=v(b)*x+g,s=m(b)*_+y),a.fromArc(g,y,x,_,b,w,S,d,f),e=v(w)*x+g,i=m(w)*_+y;break;case u.R:n=e=t[l++],s=i=t[l++];var M=t[l++],C=t[l++];a.fromLine(n,s,n+M,s+C,d,f);break;case u.Z:e=n,i=s;break}r.min(c,c,d),r.max(h,h,f)}return 0===l&&(c[0]=c[1]=h[0]=h[1]=0),new o(c[0],c[1],h[0]-c[0],h[1]-c[1])},rebuildPath:function(t){for(var e,i,n,r,a,o,s=this.data,l=this._ux,c=this._uy,h=this._len,d=0;d<h;){var f=s[d++];switch(1===d&&(n=s[d],r=s[d+1],e=n,i=r),f){case u.M:e=n=s[d++],i=r=s[d++],t.moveTo(n,r);break;case u.L:a=s[d++],o=s[d++],(x(a-n)>l||x(o-r)>c||d===h-1)&&(t.lineTo(a,o),n=a,r=o);break;case u.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),n=s[d-2],r=s[d-1];break;case u.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),n=s[d-2],r=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++],C=y>_?y:_,T=y>_?1:y/_,I=y>_?_/y:1,A=Math.abs(y-_)>.001,D=b+w;A?(t.translate(p,g),t.rotate(S),t.scale(T,I),t.arc(0,0,C,b,D,1-M),t.scale(1/T,1/I),t.rotate(-S),t.translate(-p,-g)):t.arc(p,g,C,b,D,1-M),1===d&&(e=v(b)*y+p,i=m(b)*_+g),n=v(D)*y+p,r=m(D)*_+g;break;case u.R:e=n=s[d],i=r=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case u.Z:t.closePath(),n=e,r=i}}}},b.CMD=u;var w=b;t.exports=w},"216a":function(t,e,i){var n=i("6d8b"),r=i("3842"),a=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<n){var r=i+n>>>1;t[r][1]<e?i=r+1:n=r}return i},v=s.extend({type:"time",getLabel:function(t){var e=this._stepLvl,i=new Date(t);return a.formatTime(e[0],i,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=p,e[1]+=p),e[1]===-1/0&&e[0]===1/0){var i=new Date;e[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),e[0]=e[1]-p}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var n=this._interval;t.fixMin||(e[0]=r.round(c(e[0]/n)*n)),t.fixMax||(e[1]=r.round(u(e[1]/n)*n))},niceTicks:function(t,e,i){t=t||10;var n=this._extent,a=n[1]-n[0],s=a/t;null!=e&&s<e&&(s=e),null!=i&&s>i&&(s=i);var l=m.length,h=g(m,s,0,l),d=m[Math.min(h,l-1)],f=d[1];if("year"===d[0]){var p=a/f,v=r.nice(p/t,!0);f*=v}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+r.parseDate(t)}});n.each(["contain","normalize"],function(t){v.prototype[t]=function(e){return l[t].call(this,this.parse(e))}});var m=[["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]];v.create=function(t){return new v({useUTC:t.ecModel.get("useUTC")})};var y=v;t.exports=y},"217b8":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("3301")),a=i("4f85"),o=a.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return r(this.getSource(),this)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clipOverflow:!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},"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}:r(navigator.userAgent);var n=i;function r(t){var e={},i={},n=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);return n&&(i.firefox=!0,i.version=n[1]),r&&(i.ie=!0,i.version=r[1]),a&&(i.edge=!0,i.version=a[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},2306:function(t,e,i){var n=i("6d8b"),r=i("342d"),a=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 v=i("87b1");e.Polygon=v;var m=i("d498");e.Polyline=m;var y=i("c7a2a");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 C=i("9850");e.BoundingRect=C;var T=i("392f");e.IncrementalDisplayable=T;var I=Math.round,A=Math.max,D=Math.min,k={},O=1;function L(t){return l.extend(t)}function P(t,e){return r.extendFromString(t,e)}function E(t,e,i,n){var a=r.createFromString(t,e);return i&&("center"===n&&(i=N(i,a.getBoundingRect())),z(a,i)),a}function R(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 r={width:t.width,height:t.height};n.setStyle(N(e,r))}}});return n}function N(t,e){var i,n=e.width/e.height,r=t.height*n;r<=t.width?i=t.height:(r=t.width,i=r/n);var a=t.x+t.width/2,o=t.y+t.height/2;return{x:a-r/2,y:o-i/2,width:r,height:i}}var B=r.mergePath;function z(t,e){if(t.applyTransform){var i=t.getBoundingRect(),n=i.calculateTransform(e);t.applyTransform(n)}}function F(t){var e=t.shape,i=t.style.lineWidth;return I(2*e.x1)===I(2*e.x2)&&(e.x1=e.x2=H(e.x1,i,!0)),I(2*e.y1)===I(2*e.y2)&&(e.y1=e.y2=H(e.y1,i,!0)),t}function V(t){var e=t.shape,i=t.style.lineWidth,n=e.x,r=e.y,a=e.width,o=e.height;return e.x=H(e.x,i,!0),e.y=H(e.y,i,!0),e.width=Math.max(H(n+a,i,!1)-e.x,0===a?0:1),e.height=Math.max(H(r+o,i,!1)-e.y,0===o?0:1),t}function H(t,e,i){var n=I(2*t);return(n+I(e))%2===0?n/2:(n+(i?1:-1))/2}function G(t){return null!=t&&"none"!==t}var W=n.createHashMap(),j=0;function U(t){if("string"!==typeof t)return t;var e=W.get(t);return e||(e=a.lift(t,-.1),j<1e4&&(W.set(t,e),j++)),e}function $(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 r in e)null!=e[r]&&(i[r]=n[r]);i.fill=n.fill,i.stroke=n.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}function q(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var i=t.useHoverLayer;t.__highlighted=i?"layer":"plain";var n=t.__zr;if(n||!i){var r=t,a=t.style;i&&(r=n.addHover(t),a=r.style),ft(a),i||$(r),a.extendFrom(e),Y(a,e,"fill"),Y(a,e,"stroke"),dt(a),i||(t.dirty(!1),t.z2+=O)}}}function Y(t,e,i){!G(e[i])&&G(t[i])&&(t[i]=U(t[i]))}function X(t){var e=t.__highlighted;if(e)if(t.__highlighted=!1,"layer"===e)t.__zr&&t.__zr.removeHover(t);else if(e){var i=t.style,n=t.__cachedNormalStl;n&&(ft(i),t.setStyle(n),dt(i));var r=t.__cachedNormalZ2;null!=r&&t.z2-r===O&&(t.z2=r)}}function Z(t,e){t.isGroup?t.traverse(function(t){!t.isGroup&&e(t)}):e(t)}function K(t,e){e=t.__hoverStl=!1!==e&&(e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,X(t),q(t))}function Q(t){return t&&t.__isEmphasisEntered}function J(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasisEntered&&Z(this,q)}function tt(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasisEntered&&Z(this,X)}function et(){this.__isEmphasisEntered=!0,Z(this,q)}function it(){this.__isEmphasisEntered=!1,Z(this,X)}function nt(t,e,i){t.isGroup?t.traverse(function(t){!t.isGroup&&K(t,t.hoverStyle||e)}):K(t,t.hoverStyle||e),rt(t,i)}function rt(t,e){var i=!1===e;if(t.__hoverSilentOnTouch=null!=e&&e.hoverSilentOnTouch,!i||t.__hoverStyleTrigger){var n=i?"off":"on";t[n]("mouseover",J)[n]("mouseout",tt),t[n]("emphasis",et)[n]("normal",it),t.__hoverStyleTrigger=!i}}function at(t,e,i,r,a,o,s){a=a||k;var l,u=a.labelFetcher,c=a.labelDataIndex,h=a.labelDimIndex,d=i.getShallow("show"),f=r.getShallow("show");(d||f)&&(u&&(l=u.getFormattedLabel(c,"normal",null,h)),null==l&&(l=n.isFunction(a.defaultText)?a.defaultText(c,a):a.defaultText));var p=d?l:null,g=f?n.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,h):null,l):null;null==p&&null==g||(ot(t,i,o,a),ot(e,r,s,a,!0)),t.text=p,e.text=g}function ot(t,e,i,r,a){return lt(t,e,r,a),i&&n.extend(t,i),t}function st(t,e,i){var n,r={isRectText:!0};!1===i?n=!0:r.autoColor=i,lt(t,e,r,n)}function lt(t,e,i,r){if(i=i||k,i.isRectText){var a=e.getShallow("position")||(r?null:"inside");"outside"===a&&(a="top"),t.textPosition=a,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"),r?null:5)}var s,l=e.ecModel,u=l&&l.option.textStyle,c=ut(e);if(c)for(var h in s={},c)if(c.hasOwnProperty(h)){var d=e.getModel(["rich",h]);ct(s[h]={},d,u,i,r)}return t.rich=s,ct(t,e,u,i,r,!0),i.forceRich&&!i.textStyle&&(i.textStyle={}),t}function ut(t){var e;while(t&&t!==t.ecModel){var i=(t.option||k).rich;if(i)for(var n in e=e||{},i)i.hasOwnProperty(n)&&(e[n]=1);t=t.parentModel}return e}function ct(t,e,i,r,a,o){i=!a&&i||k,t.textFill=ht(e.getShallow("color"),r)||i.color,t.textStroke=ht(e.getShallow("textBorderColor"),r)||i.textBorderColor,t.textStrokeWidth=n.retrieve2(e.getShallow("textBorderWidth"),i.textBorderWidth),t.insideRawTextPosition=t.textPosition,a||(o&&(t.insideRollbackOpt=r,dt(t)),null==t.textFill&&(t.textFill=r.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&&r.disableBox||(t.textBackgroundColor=ht(e.getShallow("backgroundColor"),r),t.textPadding=e.getShallow("padding"),t.textBorderColor=ht(e.getShallow("borderColor"),r),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 ht(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function dt(t){var e=t.insideRollbackOpt;if(e&&null==t.textFill){var i,n=e.useInsideStyle,r=t.insideRawTextPosition,a=e.autoColor;!1!==n&&(!0===n||e.isRectText&&r&&"string"===typeof r&&r.indexOf("inside")>=0)?(i={textFill:null,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth},t.textFill="#fff",null==t.textStroke&&(t.textStroke=a,null==t.textStrokeWidth&&(t.textStrokeWidth=2))):null!=a&&(i={textFill:null},t.textFill=a),i&&(t.insideRollback=i)}}function ft(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function pt(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 gt(t,e,i,n,r,a){"function"===typeof r&&(a=r,r=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(r,n.getAnimationDelayParams?n.getAnimationDelayParams(e,r):null)),"function"===typeof l&&(l=l(r)),l>0?e.animateTo(i,l,c||0,u,a,!!a):(e.stopAnimation(),e.attr(i),a&&a())}else e.stopAnimation(),e.attr(i),a&&a()}function vt(t,e,i,n,r){gt(!0,t,e,i,n,r)}function mt(t,e,i,n,r){gt(!1,t,e,i,n,r)}function yt(t,e){var i=o.identity([]);while(t&&t!==e)o.mul(i,t.getLocalTransform(),i),t=t.parent;return i}function xt(t,e,i){return e&&!n.isArrayLike(e)&&(e=u.getLocalTransform(e)),i&&(e=o.invert([],e)),s.applyTransform([],t,e)}function _t(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),a=["left"===t?-n:"right"===t?n:0,"top"===t?-r:"bottom"===t?r:0];return a=xt(a,e,i),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function bt(t,e,i,r){if(t&&e){var a=o(t);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=a[t.anid];if(e){var n=l(t);t.attr(l(e)),vt(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 wt(t,e){return n.map(t,function(t){var i=t[0];i=A(i,e.x),i=D(i,e.x+e.width);var n=t[1];return n=A(n,e.y),n=D(n,e.y+e.height),[i,n]})}function St(t,e){var i=A(t.x,e.x),n=D(t.x+t.width,e.x+e.width),r=A(t.y,e.y),a=D(t.y+t.height,e.y+e.height);if(n>=i&&a>=r)return{x:i,y:r,width:n-i,height:a-r}}function Mt(t,e,i){e=n.extend({rectHover:!0},e);var r=e.style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),n.defaults(r,i),new c(e)):E(t.replace("path://",""),e,i,"center")}e.Z2_EMPHASIS_LIFT=O,e.extendShape=L,e.extendPath=P,e.makePath=E,e.makeImage=R,e.mergePath=B,e.resizePath=z,e.subPixelOptimizeLine=F,e.subPixelOptimizeRect=V,e.subPixelOptimize=H,e.setElementHoverStyle=K,e.isInEmphasis=Q,e.setHoverStyle=nt,e.setAsHoverStyleTrigger=rt,e.setLabelStyle=at,e.setTextStyle=ot,e.setText=st,e.getFont=pt,e.updateProps=vt,e.initProps=mt,e.getTransform=yt,e.applyTransform=xt,e.transformDirection=_t,e.groupTransition=bt,e.clipPointsByRect=wt,e.clipRectByRect=St,e.createIcon=Mt},2449:function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("3eba")),a=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=r.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,i,n){this.mergeDefaultAndTheme(t,i),this.mergeOption(t,i,n.createdBySelf,!0)},isAnimationEnabled:function(){if(o.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e,i,n){var r=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),a.each(i.data,function(t){t instanceof Array?(d(t[0]),d(t[1])):d(t)}),s=new r(i,this,e),a.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){var e=this.getData(),i=this.getRawValue(t),n=a.isArray(i)?a.map(i,c).join(", "):c(i),r=e.getName(t),o=h(this.name);return(null!=i||r)&&(o+="<br />"),r&&(o+=h(r),null!=i&&(o+=" : ")),null!=i&&(o+=h(n)),o},getData:function(){return this._data},setData:function(t){this._data=t}});a.mixin(f,u);var p=f;t.exports=p},"269c":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"overview app-wrapper"},[i("el-row",{staticClass:"content-wrapper",attrs:{gutter:20}},[i("el-col",{attrs:{span:6}},[i("a-card",{staticClass:"app-card",attrs:{bordered:!0,loading:t.pageLoading}},[i("div",{staticClass:"app-card-title"},[t._v("\n "+t._s(t.$t("Overview.messageOut"))+"\n ")]),i("div",{staticClass:"content"},[i("span",[t._v("\n "+t._s(t.currentMetrics.sent)+"\n ")]),i("span",{staticClass:"unit"},[t._v(t._s(t.$t("Overview.strip"))+"/"+t._s(t.$t("Overview.second")))]),i("div",{staticClass:"flux-wrapper"},[i("simple-line",{attrs:{value:t.currentMetricsLogs.sent,type:"bar",color:"#34c388"}})],1)]),i("div",{staticClass:"app-footer"},[i("div",{staticClass:"footer-item"},[t._v("\n "+t._s(t.$t("Overview.currentMessageOutRate"))+"\n ")])])])],1),i("el-col",{attrs:{span:6}},[i("a-card",{staticClass:"app-card",attrs:{bordered:!0,loading:t.pageLoading}},[i("div",{staticClass:"app-card-title"},[t._v("\n "+t._s(t.$t("Overview.messageIn"))+"\n ")]),i("div",{staticClass:"content"},[i("span",[t._v("\n "+t._s(t.currentMetrics.received)+"\n ")]),i("span",{staticClass:"unit"},[t._v(t._s(t.$t("Overview.strip"))+"/"+t._s(t.$t("Overview.second")))]),i("div",{staticClass:"flux-wrapper"},[i("simple-line",{attrs:{type:"bar"},model:{value:t.currentMetricsLogs.received,callback:function(e){t.$set(t.currentMetricsLogs,"received",e)},expression:"currentMetricsLogs.received"}})],1)]),i("div",{staticClass:"app-footer"},[i("div",{staticClass:"footer-item"},[t._v("\n "+t._s(t.$t("Overview.currentMessageInRate"))+"\n ")])])])],1),i("el-col",{attrs:{span:6}},[i("a-card",{staticClass:"app-card",attrs:{bordered:!0,loading:t.pageLoading}},[i("div",{staticClass:"app-card-title"},[t._v("\n "+t._s(t.$t("Overview.subscriptionNumber"))+"\n ")]),i("div",{staticClass:"content"},[i("span",[t._v("\n "+t._s(t.currentMetrics.subscription)+"\n ")]),i("div",{staticClass:"flux-wrapper"},[i("simple-line",{attrs:{color:"#58afff",type:"bar"},model:{value:t.currentMetricsLogs.subscription,callback:function(e){t.$set(t.currentMetricsLogs,"subscription",e)},expression:"currentMetricsLogs.subscription"}})],1)]),i("div",{staticClass:"app-footer"},[i("div",{staticClass:"footer-item"},[t._v("\n "+t._s(t.$t("Overview.topicNumber"))+"\n ")])])])],1),t.$hasShow("monitor.connections")?i("el-col",{attrs:{span:6}},[i("a-card",{staticClass:"app-card",attrs:{bordered:!0,loading:t.pageLoading}},[i("div",{staticClass:"app-card-title"},[t._v("\n "+t._s(t.$t("Overview.connectionNumber"))+"\n ")]),i("div",{staticClass:"content"},[i("span",[t._v("\n "+t._s(t._formatNumber(t.currentMetrics.connection))+"\n ")]),i("el-progress",{staticClass:"status-progress",attrs:{"stroke-width":20,percentage:t.licensePercentage,format:function(){return""},color:t.getProgressColor(t.licensePercentage,"#2DC8B2")}})],1),i("div",{staticClass:"app-footer"},[i("div",{staticClass:"footer-item"},[t._v("\n "+t._s(t.$t("Overview.connectionsTips"))+"\n ")])])])],1):t._e()],1),i("a-card",{staticClass:"node-wrapper",attrs:{loading:t.pageLoading}},[i("div",{staticClass:"emq-title"},[i("div",{staticClass:"title"},[t._v("\n "+t._s(t.$t("Overview.nodeData"))+"\n ")]),i("div",{staticClass:"type-filter"},[i("emq-select",{staticStyle:{"margin-right":"20px"},attrs:{size:"mini",field:{options:t.nodes},"field-name":{label:"name",value:"node"}},on:{change:t.dataTypeChange},model:{value:t.nodeName,callback:function(e){t.nodeName=e},expression:"nodeName"}})],1)]),i("div",{staticClass:"basic"},[i("el-row",{attrs:{gutter:20}},[i("node-basic-card",{attrs:{value:t.currentNode}})],1)],1)]),i("percentage-cards",{ref:"percentageCards"}),i("polyline-cards"),t.$hasShow("monitor.license")?i("a-card",{staticClass:"license-card",attrs:{loading:t.pageLoading}},[i("div",{staticClass:"emq-title"},[t._v("\n "+t._s(t.$t("Overview.license"))+"\n ")]),i("ul",{staticClass:"license-field"},[t.license.customer_type!==t.evaluation?i("li",{staticClass:"item"},[i("span",{staticClass:"key"},[t._v(t._s(t.$t("Overview.customer"))+":")]),i("span",{staticClass:"value"},[t._v(t._s(t.license.customer))])]):t._e(),i("li",{staticClass:"item"},[i("span",{staticClass:"key"},[t._v(t._s(t.$t("Overview.numberOfConnectionLines"))+":")]),i("div",{staticClass:"content"},[i("el-progress",{staticClass:"license-progress",attrs:{"stroke-width":12,percentage:t.licensePercentage,format:t.formatConnection,color:t.getProgressColor(t.licensePercentage,"#34c388")}})],1)]),t.license.customer_type!==t.evaluation?[i("li",{staticClass:"item"},[i("span",{staticClass:"key"},[t._v(t._s(t.$t("Overview.issuanceOfEmail"))+":")]),i("span",{staticClass:"value"},[t._v(t._s(t.license.email))])]),i("li",{staticClass:"item"},[i("span",{staticClass:"key"},[t._v(t._s(t.$t("Overview.issuedAt"))+":")]),i("span",{staticClass:"value broker"},[t._v(t._s(t.license.issued_at))])]),i("li",{staticClass:"item"},[i("span",{staticClass:"key"},[t._v(t._s(t.$t("Overview.expireAt"))+":")]),i("span",{staticClass:"value broker"},[t._v(t._s(t.license.expiry_at))])])]:t._e()],2),t.$hasShow("monitor.connections")?i("div",{staticClass:"license-card-footer"},[t.license.customer_type===t.evaluation?i("div",{staticClass:"description",domProps:{innerHTML:t._s(t.$t("Overview.licenseEvaluationTip"))}},[t._v("\n "+t._s(t.$t("Overview.licenseEvaluationTip"))+"\n ")]):!0===t.license.expiry?i("div",{staticClass:"description",domProps:{innerHTML:t._s(t.$t("Overview.licenseExpiryTip"))}},[t._v("\n "+t._s(t.$t("Overview.licenseExpiryTip"))+"\n ")]):i("div",{staticClass:"description"},[t._v("\n "+t._s(t.$t("Overview.beforeTheCertificateExpires"))+"\n ")]),"trial"===t.license.type&&t.license.customer_type!==t.evaluation&&!1===t.license.expiry?i("div",{staticClass:"oper"},[i("el-tooltip",{attrs:{effect:"dark",content:t.$t("Overview.forTrialEdition"),placement:"top","visible-arrow":!1}},[i("el-tag",{attrs:{type:"danger"}},[t._v(t._s(t.$t("Overview.trialEdition")))])],1)],1):t._e()]):t._e()]):t._e(),i("el-dialog",{attrs:{title:"标题",width:t.licenseTipWidth+"px",visible:t.licenseTipVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.licenseTipVisible=e}}},[i("div",{staticClass:"tip-title",attrs:{slot:"title"},slot:"title"},[i("i",{staticClass:"el-icon-warning"}),i("span",[t._v(t._s(t.$t("Base.warning")))])]),i("div",{staticClass:"tip-content"},[t.isLicenseExpiry?i("p",{domProps:{innerHTML:t._s(t.$t("Overview.licenseExpiryTip"))}},[t._v("\n "+t._s(t.$t("Overview.licenseExpiryTip"))+"\n ")]):i("p",{domProps:{innerHTML:t._s(t.$t("Overview.licenseEvaluationTip"))}},[t._v("\n "+t._s(t.$t("Overview.licenseEvaluationTip"))+"\n ")])]),t.isLicenseExpiry?t._e():i("div",{staticClass:"tip-checkbox"},[i("el-checkbox",{on:{change:t.liceEvaTipShowChange},model:{value:t.noprompt,callback:function(e){t.noprompt=e},expression:"noprompt"}},[t._v(t._s(t.$t("Overview.notPromptAgain")))])],1),i("div",{staticClass:"tip-button"},[i("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){t.licenseTipVisible=!1}}},[t._v(t._s(t.$t("Overview.konw")))])],1)])],1)},r=[],a=(i("ac6a"),i("96cf"),i("3b8d")),o=i("cebc"),s=i("a8db"),l=(i("7514"),i("6c7b"),i("c1df")),u=i.n(l),c=i("640a"),h=i("6212"),d=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"chart",staticClass:"simple-line"})},f=[],p=i("3eba"),g=i.n(p),v=(i("ef97"),i("94b1"),i("cd12"),i("007d"),i("627c"),i("95a8"),i("db0e"),{mounted:function(){var t=this;setTimeout(function(){window.addEventListener("resize",t.chart.resize)},200)},beforeDestroy:function(){window.removeEventListener("resize",this.chart.resize)}}),m={name:"SimpleLine",mixins:[v],props:{value:{type:Object,default:function(){return{x:[],y:[]}},required:!0},color:{type:String,default:"#975fe4"},type:{type:String,default:"line"}},data:function(){return{chart:null,option:{color:[this.color],grid:{x:0,y:0,x2:0,y2:0},tooltip:{trigger:"axis",axisPointer:{type:"none"}},xAxis:{type:"category",data:this.value.x,triggerEvent:!0,axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!1}},yAxis:{type:"value",splitLine:{show:!1},axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!1}},series:[]}}},watch:{value:{deep:!0,handler:"setSeriesConfig"},"$store.state.leftBarCollapse":function(){setTimeout(this.setSeriesConfig,500)}},mounted:function(){this.setSeriesConfig()},created:function(){},methods:{setSeriesConfig:function(){var t=this.color,e=this.type;this.chart=g.a.init(this.$refs.chart),this.option.series=[{data:this.value.y,smooth:!0,type:e,symbolSize:0,lineStyle:{color:t},label:{show:!1},areaStyle:{color:t,opacity:1}}],this.chart.setOption(this.option)}}},y=m,x=i("2877"),_=Object(x["a"])(y,d,f,!1,null,null,null),b=_.exports,w=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"percentage-cards"},[i("el-row",{attrs:{gutter:20}},t._l(t.doughnutChartList,function(t,e){return i("div",{key:e},[i("el-col",{attrs:{span:8}},[i("a-card",{staticClass:"doughnut-card"},[i("doughnut-chart",{attrs:{chartId:t.chartId,cardTitle:t.cardTitle,legendData:t.legendData,seriesData:t.seriesData}})],1)],1)],1)}),0)],1)},S=[],M=(i("456d"),function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{style:{height:t.height,width:"100%"},attrs:{id:t.chartId}})}),C=[],T=(i("c037"),i("d28f"),{name:"DoughnutChart",mixins:[v],props:{chartId:{type:String,required:!0},cardTitle:{type:String,default:""},legendData:{type:Array,default:function(){return[]}},seriesData:{type:Array,default:function(){return[]}},height:{type:String,default:"230px"}},data:function(){return{chart:void 0}},watch:{seriesData:{deep:!0,handler:"drawChart"}},mounted:function(){this.drawChart()},methods:{drawChart:function(){this.chart=g.a.init(document.getElementById(this.chartId));var t={title:{text:this.cardTitle,textStyle:{fontSize:16}},tooltip:{trigger:"item",formatter:"{a} <br/>{b}: {c} ({d}%)"},legend:{orient:"horizontal",itemWidth:10,itemGap:16,textStyle:{color:"#757575"},bottom:0,icon:"circle",data:this.legendData},series:[{name:this.cardTitle,type:"pie",radius:["45%","55%"],avoidLabelOverlap:!1,hoverOffset:3,label:{show:!1,position:"center"},emphasis:{label:{show:!1}},labelLine:{show:!1},data:this.seriesData}]};this.chart.setOption(t)},reDrawEchart:function(){this.chart.dispose(),this.chart=void 0,this.drawChart()}}}),I=T,A=Object(x["a"])(I,M,C,!1,null,null,null),D=A.exports,k={name:"PercentageCards",components:{DoughnutChart:D},data:function(){return{doughnutChartList:[{chartId:"client",cardTitle:this.$t("Clients.clients"),legendData:[this.$t("Clients.authSuccess"),this.$t("Clients.authFailed"),this.$t("Clients.connectSuccess")],seriesData:[{value:0,name:this.$t("Clients.authSuccess"),itemStyle:{color:"#21BB7A"}},{value:0,name:this.$t("Clients.authFailed"),itemStyle:{color:"#FFC600"}},{value:0,name:this.$t("Clients.connectSuccess"),itemStyle:{color:"#3237A9"}}]},{chartId:"message",cardTitle:this.$t("Overview.message"),legendData:[this.$t("Overview.receivedMsg"),this.$t("Overview.sentMsg"),this.$t("Overview.droppedMsg")],seriesData:[{value:0,name:this.$t("Overview.receivedMsg"),itemStyle:{color:"#CAEADE"}},{value:0,name:this.$t("Overview.sentMsg"),itemStyle:{color:"#35BFDE"}},{value:0,name:this.$t("Overview.droppedMsg"),itemStyle:{color:"#3E32E2"}}]},{chartId:"messageDrop",cardTitle:this.$t("Overview.messageDrop"),legendData:[this.$t("Overview.expired"),this.$t("Overview.noSubscribers")],seriesData:[{value:0,name:this.$t("Overview.expired"),itemStyle:{color:"#CDBFFA"}},{value:0,name:this.$t("Overview.noSubscribers"),itemStyle:{color:"#383F65"}}]}]}},created:function(){this.loadMetricsData()},methods:{loadMetricsData:function(){var t=Object(a["a"])(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(c["a"])();case 2:e=t.sent,this.doughnutChartList.forEach(function(t){t.seriesData.forEach(function(i){var n=t.seriesData.indexOf(i),r=e[t.chartId],a=Object.keys(r);i.value=r[a[n]]})});case 4:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()}},O=k,L=(i("39bb"),Object(x["a"])(O,w,S,!1,null,null,null)),P=L.exports,E=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"polyline-cards"},[t.bigChartItem.text?i("el-collapse-transition",[i("div",{staticClass:"big-chart"},[i("a-card",{staticClass:"big-card"},[i("div",{staticClass:"card-title"},[t._v(t._s(t.bigChartItem.text))]),i("span",{staticClass:"shrink-icon",on:{click:function(e){t.bigChartItem={}}}}),i("polyline-chart",{ref:"bigChart",attrs:{"chart-id":"big-polyline","y-title":t.metricTitles,"chart-data":t.metricLog[t.bigChartItem.value],chartColors:t.chartColorList[t.bigChartItem.value],height:"420px",gridRight:"1.5%",gridLeft:"1%",legendBottom:"10px"}})],1)],1)]):t._e(),i("el-row",{attrs:{gutter:20}},t._l(t.dataTypeFilter,function(e){return i("div",{key:e.value},[e!==t.bigChartItem?[i("el-col",{attrs:{span:8}},[i("a-card",{staticClass:"polyline-card"},[i("div",{staticClass:"card-title"},[t._v(t._s(e.text))]),i("span",{staticClass:"enlarge-icon",on:{click:function(i){t.bigChartItem=e}}}),i("polyline-chart",{attrs:{"chart-id":e.value+"-polyline","y-title":t.metricTitles,"chart-data":t.metricLog[e.value],chartColors:t.chartColorList[e.value]}})],1)],1)]:t._e()],2)}),0)],1)},R=[],N=(i("5df3"),i("1c4c"),i("75fc")),B=i("768b"),z=(i("ffc1"),function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{style:{height:t.height,width:"100%"},attrs:{id:t.chartId}})}),F=[],V={name:"PolylineChart",mixins:[v],props:{chartId:{type:String,required:!0},yTitle:{type:Array,default:function(){return[""]}},chartColors:{type:Array,default:function(){return[]}},axisColor:{type:Object,default:function(){return{colorAxisLine:"#757575",colorAxisLabel:"#757575"}}},chartData:{type:Array,default:function(){return[{xData:[],yData:[]}]}},height:{type:String,default:"190px"},gridRight:{type:String,default:"5%"},gridLeft:{type:String,default:"2%"},legendBottom:{type:String,default:"-5px"}},data:function(){return{seriesConfig:[],chart:void 0}},watch:{chartData:{deep:!0,handler:"drawChart"}},mounted:function(){this.drawChart()},methods:{setSeriesConfig:function(){this.seriesConfig=[];for(var t=0;t<this.yTitle.length;t+=1)this.seriesConfig.push({name:this.yTitle[t],type:"line",smooth:!0,symbolSize:5,showSymbol:!1,data:this.chartData[t].yData,step:!1,lineStyle:{width:2},areaStyle:{color:new g.a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:t%6===0&&0!==t?this.chartColors[6]:this.chartColors[t%6]},{offset:1,color:"#fff"}]),opacity:.2}})},drawChart:function(){this.setSeriesConfig(),this.chart=g.a.init(document.getElementById(this.chartId));var t={legend:{bottom:this.legendBottom,data:this.yTitle,icon:"circle",itemWidth:6},color:this.chartColors,tooltip:{trigger:"axis",confine:!0},grid:{left:this.gridLeft,right:this.gridRight,top:"3%",bottom:"12%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:this.chartData[0].xData,axisLine:{lineStyle:{color:this.axisColor.colorAxisLine}},axisLabel:{showMinLabel:!1,textStyle:{color:this.axisColor.colorAxisLabel}}},yAxis:{type:"value",axisLine:{lineStyle:{color:this.axisColor.colorAxisLine}},splitLine:{show:!1},axisLabel:{textStyle:{color:this.axisColor.colorAxisLabel}}},series:this.seriesConfig};this.chart.setOption(t)},reDrawEchart:function(){this.chart.dispose(),this.chart=void 0,this.drawChart()}}},H=V,G=Object(x["a"])(H,z,F,!1,null,null,null),W=G.exports,j={name:"PolylineCards",components:{PolylineChart:W},data:function(){return{dataTypeMap:{dropped:this.$t("Overview.messageDrop"),connection:this.$t("Overview.connection"),route:this.$t("Overview.topics"),subscriptions:this.$t("Overview.Subscription"),sent:this.$t("Overview.messageOut"),received:this.$t("Overview.messageIn")},metricTitles:[],metricLog:{dropped:this.chartDataFill(32),connection:this.chartDataFill(32),route:this.chartDataFill(32),subscriptions:this.chartDataFill(32),sent:this.chartDataFill(32),received:this.chartDataFill(32)},dataTypeList:["dropped","connection","route","subscriptions","sent","received"],timerMetrics:null,bigChartItem:{}}},computed:{dataTypeFilter:function(){return Object.entries(this.dataTypeMap).map(function(t){var e=Object(B["a"])(t,2),i=e[0],n=e[1];return{text:n,value:i}})},chartColorList:function(){var t=function(t){var e=["#22BB7A","#4065E0","#EEC90D","#07E3E4","#6ECAFA","#AF79FF"],i=Object(N["a"])(e.splice(0,1,e[t]));return e.splice(t,1,i[0]),e};return{dropped:t(0),connection:t(1),route:t(2),subscriptions:t(3),sent:t(4),received:t(5)}}},created:function(){this.loadMetricsLogData()},beforeDestroy:function(){this.clearTimer()},methods:{chartDataFill:function(t){return Array.from({length:t},function(){return{xData:[],yData:[]}})},_formatTime:function(t){return u()(t).utcOffset(0).format("HH:mm")},loadMetricsLogData:function(){var t=this;try{this.dataTypeList.forEach(function(){var e=Object(a["a"])(regeneratorRuntime.mark(function e(i){var n,r;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["f"])(!1,i);case 2:n=e.sent,t.metricTitles=Object.keys(n),t.metricLog[i]=t.chartDataFill(t.metricTitles.length),r=t.metricLog[i],t.metricTitles.forEach(function(e,i){n[e].forEach(function(e){r[i].xData.push(t._formatTime(e[0])),r[i].yData.push(e[1])})});case 7:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()),this.timerMetrics=setInterval(this.setMetricsChartRealTime,6e4)}catch(e){console.error(e)}},setMetricsChartRealTime:function(){var t=this;this.dataTypeList.forEach(function(){var e=Object(a["a"])(regeneratorRuntime.mark(function e(i){var n,r;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["f"])(!1,i);case 2:n=e.sent,r=t.metricLog[i],t.metricTitles.forEach(function(e,i){var a=n[e],o=a[a.length-1];r[i].xData.length>=120&&(r[i].xData.shift(),r[i].yData.shift()),r[i].xData.push(t._formatTime(o[0])),r[i].yData.push(o[1])});case 5:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}())},clearTimer:function(){this.timerMetrics&&(clearInterval(this.timerMetrics),this.timerMetrics=null)}}},U=j,$=(i("d0bf"),Object(x["a"])(U,E,R,!1,null,null,null)),q=$.exports,Y={name:"Overview",components:{NodeBasicCard:h["a"],SimpleLine:b,PercentageCards:P,PolylineCards:q},props:{},data:function(){return{evaluation:10,pageLoading:!0,nodeName:"",initCurrentNode:{connections:16,load1:"14.01",load15:"11.85",load5:"12.54",max_fds:7168,memory_total:"126.59M",memory_used:"97.05M",node:"emqx@127.0.0.1",node_status:"Running",otp_release:"R21/10.3.4",process_available:2097152,process_used:402,uptime:"12 minutes, 37 seconds",version:"0.0.0+build.1.ref8234b61"},timer:0,nodes:[],licenseTipVisible:!1,isLicenseExpiry:!1,noprompt:!1,licenseTipWidth:460,license:{customer:"",email:"",plugins:"",max_connections:1e5,issued_at:"",expiry_at:"",vendor:"",version:"",type:"trial",expiry:!1,customer_type:0},currentMetricsLogs:{received:{x:Array(32).fill("N/A"),y:Array(32).fill(0)},sent:{x:Array(32).fill("N/A"),y:Array(32).fill(0)},subscription:{x:Array(32).fill("N/A"),y:Array(32).fill(0)}},currentMetrics:{node:0,received:0,sent:0,subscription:0,connection:0}}},computed:{licensePercentage:function(){var t=this.currentMetrics.connection,e=this.license.max_connections,i=Math.floor(t/e*100);return i<2?2:i},currentNode:function(){var t=this,e=this.nodes.find(function(e){return e.node===t.nodeName});if(e){var i=e.stats,n=Object(s["a"])(e,["stats"]);return Object(o["a"])({},i,n)}return this.initCurrentNode}},created:function(){var t=this;this.pageLoading=!0,this.loadData(),this.loadLicenseData(),clearInterval(this.timerData),this.timerData=setInterval(function(){t.loadData(),t.loadNodes(),t.$refs.percentageCards.loadMetricsData()},1e4),this.dataTypeChange()},beforeDestroy:function(){clearInterval(this.timerData)},methods:{liceEvaTipShowChange:function(t){t&&localStorage.setItem("licenseTipVisible",!1)},dataTypeChange:function(){this.loadNodes()},loadNodes:function(){var t=Object(a["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(c["h"])();case 2:this.nodes=t.sent,this.nodeName=this.nodeName||(this.nodes[0]||{}).node;case 4:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),formatConnection:function(){var t=this.currentMetrics.connection,e=this.license.max_connections;return"".concat(this._formatNumber(t),"/").concat(this._formatNumber(e))},_formatNumber:function(t){if(t>1e4){var e=t/1e3;return"".concat(parseInt(100*e,10)/100,"K")}return t},loadLicenseData:function(){var t=Object(a["a"])(regeneratorRuntime.mark(function t(){var e=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(c["c"])();case 2:this.license=t.sent,setTimeout(function(){e.license.customer_type===e.evaluation&&"false"!==localStorage.getItem("licenseTipVisible")&&(e.licenseTipVisible=!0,e.isLicenseExpiry=!1,e.licenseTipWidth=520),!0===e.license.expiry&&(e.licenseTipVisible=!0,e.isLicenseExpiry=!0,e.licenseTipWidth=600)},1e3);case 4:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),loadData:function(){var t=Object(a["a"])(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(c["b"])();case 2:if(e=t.sent,this.pageLoading=!1,e){t.next=6;break}return t.abrupt("return");case 6:this.currentMetrics=e,this.setCurrentMetricsLogsRealtime(e);case 8:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),getNow:function(){return u()().format("HH:mm:ss")},setCurrentMetricsLogsRealtime:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};["received","sent","subscription"].forEach(function(i){t.currentMetricsLogs[i]=t.currentMetricsLogs[i]||{x:[],y:[]};var n=e[i]||0;t.currentMetricsLogs[i].x.push(t.getNow()),t.currentMetricsLogs[i].y.push(n),t.currentMetricsLogs[i].x.length>=32&&(t.currentMetricsLogs[i].x.shift(),t.currentMetricsLogs[i].y.shift())})},getProgressColor:function(t,e){var i=e;return 100===t?i="#f5222d":t>=85&&t<100&&(i="#faad14"),i}}},X=Y,Z=(i("02fd"),Object(x["a"])(X,n,r,!1,null,null,null));e["default"]=Z.exports},"26e1":function(t,e,i){var n=i("6d8b"),r=i("e0d3"),a=n.each,o=n.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(t){var e=t&&t.itemStyle;if(e)for(var i=0,r=s.length;i<r;i++){var a=s[i],o=e.normal,l=e.emphasis;o&&o[a]&&(t[a]=t[a]||{},t[a].normal?n.merge(t[a].normal,o[a]):t[a].normal=o[a],o[a]=null),l&&l[a]&&(t[a]=t[a]||{},t[a].emphasis?n.merge(t[a].emphasis,l[a]):t[a].emphasis=l[a],l[a]=null)}}function u(t,e,i){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var r=t[e].normal,a=t[e].emphasis;r&&(i?(t[e].normal=t[e].emphasis=null,n.defaults(t[e],r)):t[e]=r),a&&(t.emphasis=t.emphasis||{},t.emphasis[e]=a)}}function c(t){u(t,"itemStyle"),u(t,"lineStyle"),u(t,"areaStyle"),u(t,"label"),u(t,"labelLine"),u(t,"upperLabel"),u(t,"edgeLabel")}function h(t,e){var i=o(t)&&t[e],n=o(i)&&i.textStyle;if(n)for(var a=0,s=r.TEXT_STYLE_OPTIONS.length;a<s;a++){e=r.TEXT_STYLE_OPTIONS[a];n.hasOwnProperty(e)&&(i[e]=n[e])}}function d(t){t&&(c(t),h(t,"label"),t.emphasis&&h(t.emphasis,"label"))}function f(t){if(o(t)){l(t),c(t),h(t,"label"),h(t,"upperLabel"),h(t,"edgeLabel"),t.emphasis&&(h(t.emphasis,"label"),h(t.emphasis,"upperLabel"),h(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(l(e),d(e));var i=t.markLine;i&&(l(i),d(i));var r=t.markArea;r&&d(r);var a=t.data;if("graph"===t.type){a=a||t.nodes;var s=t.links||t.edges;if(s&&!n.isTypedArray(s))for(var f=0;f<s.length;f++)d(s[f]);n.each(t.categories,function(t){c(t)})}if(a&&!n.isTypedArray(a))for(f=0;f<a.length;f++)d(a[f]);e=t.markPoint;if(e&&e.data){var p=e.data;for(f=0;f<p.length;f++)d(p[f])}i=t.markLine;if(i&&i.data){var g=i.data;for(f=0;f<g.length;f++)n.isArray(g[f])?(d(g[f][0]),d(g[f][1])):d(g[f])}"gauge"===t.type?(h(t,"axisLabel"),h(t,"title"),h(t,"detail")):"treemap"===t.type?(u(t.breadcrumb,"itemStyle"),n.each(t.levels,function(t){c(t)})):"tree"===t.type&&c(t.leaves)}}function p(t){return n.isArray(t)?t:t?[t]:[]}function g(t){return(n.isArray(t)?t[0]:t)||{}}function v(t,e){a(p(t.series),function(t){o(t)&&f(t)});var i=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&i.push("valueAxis","categoryAxis","logAxis","timeAxis"),a(i,function(e){a(p(t[e]),function(t){t&&(h(t,"axisLabel"),h(t.axisPointer,"label"))})}),a(p(t.parallel),function(t){var e=t&&t.parallelAxisDefault;h(e,"axisLabel"),h(e&&e.axisPointer,"label")}),a(p(t.calendar),function(t){u(t,"itemStyle"),h(t,"dayLabel"),h(t,"monthLabel"),h(t,"yearLabel")}),a(p(t.radar),function(t){h(t,"name")}),a(p(t.geo),function(t){o(t)&&(d(t),a(p(t.regions),function(t){d(t)}))}),a(p(t.timeline),function(t){d(t),u(t,"label"),u(t,"itemStyle"),u(t,"controlStyle",!0);var e=t.data;n.isArray(e)&&n.each(e,function(t){n.isObject(t)&&(u(t,"label"),u(t,"itemStyle"))})}),a(p(t.toolbox),function(t){u(t,"iconStyle"),a(t.feature,function(t){u(t,"iconStyle")})}),h(g(t.axisPointer),"label"),h(g(t.tooltip).axisPointer,"label")}t.exports=v},"282b":function(t,e,i){var n=i("6d8b");function r(t){for(var e=0;e<t.length;e++)t[e][1]||(t[e][1]=t[e][0]);return function(e,i,r){for(var a={},o=0;o<t.length;o++){var s=t[o][1];if(!(i&&n.indexOf(i,s)>=0||r&&n.indexOf(r,s)<0)){var l=e.getShallow(s);null!=l&&(a[t[o][0]]=l)}}return a}}t.exports=r},"292e":function(t,e,i){var n=i("3842"),r=n.parsePercent,a=n.linearMap,o=i("bb70"),s=i("6d8b"),l=2*Math.PI,u=Math.PI/180;function c(t,e,i,n){e.eachSeriesByType(t,function(t){var e=t.getData(),n=e.mapDimension("value"),c=t.get("center"),h=t.get("radius");s.isArray(h)||(h=[0,h]),s.isArray(c)||(c=[c,c]);var d=i.getWidth(),f=i.getHeight(),p=Math.min(d,f),g=r(c[0],d),v=r(c[1],f),m=r(h[0],p/2),y=r(h[1],p/2),x=-t.get("startAngle")*u,_=t.get("minAngle")*u,b=0;e.each(n,function(t){!isNaN(t)&&b++});var w=e.getSum(n),S=Math.PI/(w||b)*2,M=t.get("clockwise"),C=t.get("roseType"),T=t.get("stillShowZeroSum"),I=e.getDataExtent(n);I[0]=0;var A=l,D=0,k=x,O=M?1:-1;if(e.each(n,function(t,i){var n;if(isNaN(t))e.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:g,cy:v,r0:m,r:C?NaN:y});else{n="area"!==C?0===w&&T?S:t*S:l/b,n<_?(n=_,A-=_):D+=t;var r=k+O*n;e.setItemLayout(i,{angle:n,startAngle:k,endAngle:r,clockwise:M,cx:g,cy:v,r0:m,r:C?a(t,I,[m,y]):y}),k=r}}),A<l&&b)if(A<=.001){var L=l/b;e.each(n,function(t,i){if(!isNaN(t)){var n=e.getItemLayout(i);n.angle=L,n.startAngle=x+O*i*L,n.endAngle=x+O*(i+1)*L}})}else S=A/D,k=x,e.each(n,function(t,i){if(!isNaN(t)){var n=e.getItemLayout(i),r=n.angle===_?_:t*S;n.startAngle=k,n.endAngle=k+O*r,k+=O*r}});o(t,y,d,f)})}t.exports=c},"29a8":function(t,e){var i={toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType}",withoutName:"第{seriesId}个系列是一个{seriesType}",separator:{middle:"",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:"",end:""}}}};t.exports=i},"2b17":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("6d8b")),a=(r.isTypedArray,r.extend),o=(r.assert,r.each),s=r.isObject,l=i("e0d3"),u=l.getDataItemValue,c=l.isDataItemOption,h=i("3842"),d=h.parseDate,f=i("ec6f"),p=i("93d0"),g=p.SOURCE_FORMAT_TYPED_ARRAY,v=p.SOURCE_FORMAT_ARRAY_ROWS,m=p.SOURCE_FORMAT_ORIGINAL,y=p.SOURCE_FORMAT_OBJECT_ROWS;function x(t,e){f.isInstance(t)||(t=f.seriesDataToSource(t)),this._source=t;var i=this._data=t.data,n=t.sourceFormat;n===g&&(this._offset=0,this._dimSize=e,this._data=i);var r=b[n===v?n+"_"+t.seriesLayoutBy:n];a(this,r)}var _=x.prototype;_.pure=!1,_.persistent=!0,_.getSource=function(){return this._source};var b={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:M},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],i=this._data,n=0;n<i.length;n++){var r=i[n];e.push(r?r[t]:null)}return e},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:w,getItem:S,appendData:M},keyedColumns:{pure:!0,count:function(){var t=this._source.dimensionsDefine[0].name,e=this._data[t];return e?e.length:0},getItem:function(t){for(var e=[],i=this._source.dimensionsDefine,n=0;n<i.length;n++){var r=this._data[i[n].name];e.push(r?r[t]:null)}return e},appendData:function(t){var e=this._data;o(t,function(t,i){for(var n=e[i]||(e[i]=[]),r=0;r<(t||[]).length;r++)n.push(t[r])})}},original:{count:w,getItem:S,appendData:M},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(t,e){t-=this._offset,e=e||[];for(var i=this._dimSize*t,n=0;n<this._dimSize;n++)e[n]=this._data[i+n];return e},appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}}};function w(){return this._data.length}function S(t){return this._data[t]}function M(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}var C={arrayRows:T,objectRows:function(t,e,i,n){return null!=i?t[n]:t},keyedColumns:T,original:function(t,e,i,n){var r=u(t);return null!=i&&r instanceof Array?r[i]:r},typedArray:T};function T(t,e,i,n){return null!=i?t[i]:t}var I={arrayRows:A,objectRows:function(t,e,i,n){return D(t[e],this._dimensionInfos[e])},keyedColumns:A,original:function(t,e,i,n){var r=t&&(null==t.value?t:t.value);return!this._rawData.pure&&c(t)&&(this.hasItemOption=!0),D(r instanceof Array?r[n]:r,this._dimensionInfos[e])},typedArray:function(t,e,i,n){return t[n]}};function A(t,e,i,n){return D(t[n],this._dimensionInfos[e])}function D(t,e){var i=e&&e.type;if("ordinal"===i){var n=e&&e.ordinalMeta;return n?n.parseAndCollect(t):t}return"time"===i&&"number"!==typeof t&&null!=t&&"-"!==t&&(t=+d(t)),null==t||""===t?NaN:+t}function k(t,e,i){if(t){var n=t.getRawDataItem(e);if(null!=n){var r,a,o=t.getProvider().getSource().sourceFormat,s=t.getDimensionInfo(i);return s&&(r=s.name,a=s.index),C[o](n,e,a,r)}}}function O(t,e,i){if(t){var n=t.getProvider().getSource().sourceFormat;if(n===m||n===y){var r=t.getRawDataItem(e);return n!==m||s(r)||(r=null),r?r[i]:void 0}}}e.DefaultDataProvider=x,e.defaultDimValueGetters=I,e.retrieveRawValue=k,e.retrieveRawAttr=O},"2b61":function(t,e,i){var n=i("7d6d"),r=i("82eb"),a=r.ContextCachedBy,o=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],s=function(t){this.extendFrom(t,!1)};function l(t,e,i){var n=null==e.x?0:e.x,r=null==e.x2?1:e.x2,a=null==e.y?0:e.y,o=null==e.y2?0:e.y2;e.global||(n=n*i.width+i.x,r=r*i.width+i.x,a=a*i.height+i.y,o=o*i.height+i.y),n=isNaN(n)?0:n,r=isNaN(r)?1:r,a=isNaN(a)?0:a,o=isNaN(o)?0:o;var s=t.createLinearGradient(n,a,r,o);return s}function u(t,e,i){var n=i.width,r=i.height,a=Math.min(n,r),o=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;e.global||(o=o*n+i.x,s=s*r+i.y,l*=a);var u=t.createRadialGradient(o,s,0,o,s,l);return u}s.prototype={constructor:s,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,i){var r=this,s=i&&i.style,l=!s||t.__attrCachedBy!==a.STYLE_BIND;t.__attrCachedBy=a.STYLE_BIND;for(var u=0;u<o.length;u++){var c=o[u],h=c[0];(l||r[h]!==s[h])&&(t[h]=n(t,h,r[h]||c[1]))}if((l||r.fill!==s.fill)&&(t.fillStyle=r.fill),(l||r.stroke!==s.stroke)&&(t.strokeStyle=r.stroke),(l||r.opacity!==s.opacity)&&(t.globalAlpha=null==r.opacity?1:r.opacity),(l||r.blend!==s.blend)&&(t.globalCompositeOperation=r.blend||"source-over"),this.hasStroke()){var d=r.lineWidth;t.lineWidth=d/(this.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1)}},hasFill:function(){var t=this.fill;return null!=t&&"none"!==t},hasStroke:function(){var t=this.stroke;return null!=t&&"none"!==t&&this.lineWidth>0},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,r=n(t,e,i),a=e.colorStops,o=0;o<a.length;o++)r.addColorStop(a[o].offset,a[o].color);return r}};for(var c=s.prototype,h=0;h<o.length;h++){var d=o[h];d[0]in c||(c[d[0]]=d[1])}s.getGradient=c.getGradient;var f=s;t.exports=f},"2cf4":function(t,e){var i=1;"undefined"!==typeof window&&(i=Math.max(window.devicePixelRatio||1,1));var n=0,r=i;e.debugMode=n,e.devicePixelRatio=r},"2f45":function(t,e,i){var n=i("6d8b"),r=n.each,a=n.createHashMap,o=(n.assert,i("4e08")),s=(o.__DEV__,a(["tooltip","label","itemName","itemId","seriesName"]));function l(t){var e={},i=e.encode={},n=a(),o=[],l=[];r(t.dimensions,function(e){var r=t.getDimensionInfo(e),a=r.coordDim;if(a){var u=i[a];i.hasOwnProperty(a)||(u=i[a]=[]),u[r.coordDimIndex]=e,r.isExtraCoord||(n.set(a,1),c(r.type)&&(o[0]=e)),r.defaultTooltip&&l.push(e)}s.each(function(t,e){var n=i[e];i.hasOwnProperty(e)||(n=i[e]=[]);var a=r.otherDims[e];null!=a&&!1!==a&&(n[a]=r.name)})});var u=[],h={};n.each(function(t,e){var n=i[e];h[e]=n[0],u=u.concat(n)}),e.dataDimsOnCoord=u,e.encodeFirstDimNotExtra=h;var d=i.label;d&&d.length&&(o=d.slice());var f=i.tooltip;return f&&f.length?l=f.slice():l.length||(l=o.slice()),i.defaultedLabel=o,i.defaultedTooltip=l,e}function u(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function c(t){return!("ordinal"===t||"time"===t)}e.OTHER_DIMENSIONS=s,e.summarizeDimensions=l,e.getDimensionTypeByAxis=u},3014:function(t,e,i){var n=i("4f85"),r=i("3301"),a=n.extend({type:"series.__base_bar__",getInitialData:function(t,e){return r(this.getSource(),this)},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var i=e.dataToPoint(e.clampData(t)),n=this.getData(),r=n.getLayout("offset"),a=n.getLayout("size"),o=e.getBaseAxis().isHorizontal()?0:1;return i[o]+=r+a/2,i}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});t.exports=a},3041:function(t,e,i){var n=i("e1fc"),r=i("0da8"),a=i("76a5"),o=i("d9fc"),s=i("c7a2a"),l=i("ae69"),u=i("cb11"),c=i("cbe5"),h=i("87b1"),d=i("d498"),f=i("48a9"),p=i("2b61"),g=i("1687"),v=i("342d"),m=v.createFromString,y=i("6d8b"),x=y.isString,_=y.extend,b=y.defaults,w=y.trim,S=y.each,M=/[\s,]+/;function C(t){if(x(t)){var e=new DOMParser;t=e.parseFromString(t,"text/xml")}9===t.nodeType&&(t=t.firstChild);while("svg"!==t.nodeName.toLowerCase()||1!==t.nodeType)t=t.nextSibling;return t}function T(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}T.prototype.parse=function(t,e){e=e||{};var i=C(t);if(!i)throw new Error("Illegal svg");var r=new n;this._root=r;var a=i.getAttribute("viewBox")||"",o=parseFloat(i.getAttribute("width")||e.width),l=parseFloat(i.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(l)&&(l=null),P(i,r,null,!0);var u,c,h=i.firstChild;while(h)this._parseNode(h,r),h=h.nextSibling;if(a){var d=w(a).split(M);d.length>=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=V(u,o,l),!e.ignoreViewBox)){var f=r;r=new n,r.add(f),f.scale=c.scale.slice(),f.position=c.position.slice()}return e.ignoreRootClip||null==o||null==l||r.setClipPath(new s({shape:{x:0,y:0,width:o,height:l}})),{root:r,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 r=A[n];if(r){var a=r.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=a)}}else{r=I[n];r&&(i=r.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 r=new a({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});k(e,r),P(t,r,this._defs);var o=r.style.fontSize;o&&o<9&&(r.style.fontSize=9,r.scale=r.scale||[1,1],r.scale[0]*=o/9,r.scale[1]*=o/9);var s=r.getBoundingRect();return this._textX+=s.width,e.add(r),r};var I={g:function(t,e){var i=new n;return k(e,i),P(t,i,this._defs),i},rect:function(t,e){var i=new s;return k(e,i),P(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 k(e,i),P(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 k(e,i),P(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 k(e,i),P(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=O(i));var n=new h({shape:{points:i||[]}});return k(e,n),P(t,n,this._defs),n},polyline:function(t,e){var i=new c;k(e,i),P(t,i,this._defs);var n=t.getAttribute("points");n&&(n=O(n));var r=new d({shape:{points:n||[]}});return r},image:function(t,e){var i=new r;return k(e,i),P(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,r=t.getAttribute("y")||0,a=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(a),this._textY=parseFloat(r)+parseFloat(o);var s=new n;return k(e,s),P(t,s,this._defs),s},tspan:function(t,e){var i=t.getAttribute("x"),r=t.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=r&&(this._textY=parseFloat(r));var a=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0,s=new n;return k(e,s),P(t,s,this._defs),this._textX+=a,this._textY+=o,s},path:function(t,e){var i=t.getAttribute("d")||"",n=m(i);return k(e,n),P(t,n,this._defs),n}},A={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),r=parseInt(t.getAttribute("y2")||0,10),a=new f(e,i,n,r);return D(t,a),a},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 r=i.getAttribute("stop-color")||"#000000";e.addColorStop(n,r)}i=i.nextSibling}}function k(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),b(e.__inheritedStyle,t.__inheritedStyle))}function O(t){for(var e=w(t).split(M),i=[],n=0;n<e.length;n+=2){var r=parseFloat(e[n]),a=parseFloat(e[n+1]);i.push([r,a])}return i}var L={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function P(t,e,i,n){var r=e.__inheritedStyle||{},a="text"===e.type;if(1===t.nodeType&&(B(t,e),_(r,F(t)),!n))for(var o in L)if(L.hasOwnProperty(o)){var s=t.getAttribute(o);null!=s&&(r[L[o]]=s)}var l=a?"textFill":"fill",u=a?"textStroke":"stroke";e.style=e.style||new p;var c=e.style;null!=r.fill&&c.set(l,R(r.fill,i)),null!=r.stroke&&c.set(u,R(r.stroke,i)),S(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(t){var e="lineWidth"===t&&a?"textStrokeWidth":t;null!=r[t]&&c.set(e,parseFloat(r[t]))}),r.textBaseline&&"auto"!==r.textBaseline||(r.textBaseline="alphabetic"),"alphabetic"===r.textBaseline&&(r.textBaseline="bottom"),"start"===r.textAlign&&(r.textAlign="left"),"end"===r.textAlign&&(r.textAlign="right"),S(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(t){null!=r[t]&&c.set(t,r[t])}),r.lineDash&&(e.style.lineDash=w(r.lineDash).split(M)),c[u]&&"none"!==c[u]&&(e[u]=!0),e.__inheritedStyle=r}var E=/url\(\s*#(.*?)\)/;function R(t,e){var i=e&&t&&t.match(E);if(i){var n=w(i[1]),r=e[n];return r}return t}var N=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function B(t,e){var i=t.getAttribute("transform");if(i){i=i.replace(/,/g," ");var n=null,r=[];i.replace(N,function(t,e,i){r.push(e,i)});for(var a=r.length-1;a>0;a-=2){var o=r[a],s=r[a-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),console.warn("Skew transform is not supported yet");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 z=/([^\s:;]+)\s*:\s*([^:;]+)/g;function F(t){var e=t.getAttribute("style"),i={};if(!e)return i;var n,r={};z.lastIndex=0;while(null!=(n=z.exec(e)))r[n[1]]=n[2];for(var a in L)L.hasOwnProperty(a)&&null!=r[a]&&(i[L[a]]=r[a]);return i}function V(t,e,i){var n=e/t.width,r=i/t.height,a=Math.min(n,r),o=[a,a],s=[-(t.x+t.width/2)*a+e/2,-(t.y+t.height/2)*a+i/2];return{scale:o,position:s}}function H(t,e){var i=new T;return i.parse(t,e)}e.parseXML=C,e.makeViewBoxTransform=V,e.parseSVG=H},"307d":function(t,e,i){var n=i("6d8b"),r=i("6179"),a=i("3842"),o=i("923d"),s=i("73ca"),l=i("88f0"),u=function(t,e,i,r){var a=t.getData(),s=r.type;if(!n.isArray(r)&&("min"===s||"max"===s||"average"===s||"median"===s||null!=r.xAxis||null!=r.yAxis)){var l,u;if(null!=r.yAxis||null!=r.xAxis)l=null!=r.yAxis?"y":"x",e.getAxis(l),u=n.retrieve(r.yAxis,r.xAxis);else{var c=o.getAxisInfo(r,a,e,t);l=c.valueDataDim,c.valueAxis,u=o.numCalculate(a,l,s)}var h="x"===l?0:1,d=1-h,f=n.clone(r),p={};f.type=null,f.coord=[],p.coord=[],f.coord[d]=-1/0,p.coord[d]=1/0;var g=i.get("precision");g>=0&&"number"===typeof u&&(u=+u.toFixed(Math.min(g,20))),f.coord[h]=p.coord[h]=u,r=[f,p,{type:s,valueIndex:r.valueIndex,value:u}]}return r=[o.dataTransform(t,r[0]),o.dataTransform(t,r[1]),n.extend({},r[2])],r[2].type=r[2].type||"",n.merge(r[2],r[0]),n.merge(r[2],r[1]),r};function c(t){return!isNaN(t)&&!isFinite(t)}function h(t,e,i,n){var r=1-t,a=n.dimensions[t];return c(e[r])&&c(i[r])&&e[t]===i[t]&&n.getAxis(a).containData(e[t])}function d(t,e){if("cartesian2d"===t.type){var i=e[0].coord,n=e[1].coord;if(i&&n&&(h(1,i,n,t)||h(0,i,n,t)))return!0}return o.dataFilter(t,e[0])&&o.dataFilter(t,e[1])}function f(t,e,i,n,r){var o,s=n.coordinateSystem,l=t.getItemModel(e),u=a.parsePercent(l.get("x"),r.getWidth()),h=a.parsePercent(l.get("y"),r.getHeight());if(isNaN(u)||isNaN(h)){if(n.getMarkerPosition)o=n.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=s.dimensions,f=t.get(d[0],e),p=t.get(d[1],e);o=s.dataToPoint([f,p])}if("cartesian2d"===s.type){var g=s.getAxis("x"),v=s.getAxis("y");d=s.dimensions;c(t.get(d[0],e))?o[0]=g.toGlobalCoord(g.getExtent()[i?0:1]):c(t.get(d[1],e))&&(o[1]=v.toGlobalCoord(v.getExtent()[i?0:1]))}isNaN(u)||(o[0]=u),isNaN(h)||(o[1]=h)}else o=[u,h];t.setItemLayout(e,o)}var p=l.extend({type:"markLine",updateTransform:function(t,e,i){e.eachSeries(function(t){var e=t.markLineModel;if(e){var n=e.getData(),r=e.__from,a=e.__to;r.each(function(e){f(r,e,!0,t,i),f(a,e,!1,t,i)}),n.each(function(t){n.setItemLayout(t,[r.getItemLayout(t),a.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},renderSeries:function(t,e,i,r){var a=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=g(a,t,e),d=h.from,p=h.to,v=h.line;e.__from=d,e.__to=p,e.setData(v);var m=e.get("symbol"),y=e.get("symbolSize");function x(e,i,n){var a=e.getItemModel(i);f(e,i,n,t,r),e.setItemVisual(i,{symbolSize:a.get("symbolSize")||y[n?0:1],symbol:a.get("symbol",!0)||m[n?0:1],color:a.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(p,t,!1)}),v.each(function(t){var e=v.getItemModel(t).get("lineStyle.color");v.setItemVisual(t,{color:e||d.getItemVisual(t,"color")}),v.setItemLayout(t,[d.getItemLayout(t),p.getItemLayout(t)]),v.setItemVisual(t,{fromSymbolSize:d.getItemVisual(t,"symbolSize"),fromSymbol:d.getItemVisual(t,"symbol"),toSymbolSize:p.getItemVisual(t,"symbolSize"),toSymbol:p.getItemVisual(t,"symbol")})}),c.updateData(v),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 g(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 s=new r(a,i),l=new r(a,i),c=new r([],i),h=n.map(i.get("data"),n.curry(u,e,t,i));t&&(h=n.filter(h,n.curry(d,t)));var f=t?o.dimValueGetter:function(t){return t.value};return s.initData(n.map(h,function(t){return t[0]}),null,f),l.initData(n.map(h,function(t){return t[1]}),null,f),c.initData(n.map(h,function(t){return t[2]})),c.hasItemOption=!0,{from:s,to:l,line:c}}t.exports=p},"30a3":function(t,e,i){var n=i("6d8b"),r=i("607d"),a=r.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,a.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<e.length;i++)this.addClip(e[i])},removeClip:function(t){var e=n.indexOf(this._clips,t);e>=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i<e.length;i++)this.removeClip(e[i]);t.animation=null},_update:function(){for(var t=(new Date).getTime()-this._pausedTime,e=t-this._time,i=this._clips,n=i.length,r=[],a=[],o=0;o<n;o++){var s=i[o],l=s.step(t,e);l&&(r.push(l),a.push(s))}for(o=0;o<n;)i[o]._needsRemove?(i[o]=i[n-1],i.pop(),n--):o++;n=r.length;for(o=0;o<n;o++)a[o].fire(r[o]);this._time=t,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){var t=this;function e(){t._running&&(o(e),!t._paused&&t._update())}this._running=!0,o(e)},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(t,e){e=e||{};var i=new s(t,e.loop,e.getter,e.setter);return this.addAnimator(i),i}},n.mixin(l,a);var u=l;t.exports=u},3301:function(t,e,i){var n=i("6d8b"),r=i("6179"),a=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.getCoordSysDefineBySeries,g=i("ec6f"),v=i("ee1a"),m=v.enableDataStack;function y(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,v=a(t,{coordDimensions:o,generateCoord:i.generateCoord});c&&n.each(v,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||(v[h].otherDims.itemName=0);var y=m(e,v),_=new r(v,e);_.setCalculationInfo(y);var b=null!=h&&x(t)?function(t,e,i,n){return n===h?i:this.defaultDimValueGetter(t,e,i,n)}:null;return _.hasItemOption=!1,_.initData(t,null,b),_}function x(t){if(t.sourceFormat===s){var e=_(t.data||[]);return null!=e&&!n.isArray(h(e))}}function _(t){var e=0;while(e<t.length&&null==t[e])e++;return t[e]}var b=y;t.exports=b},"342d":function(t,e,i){var n=i("cbe5"),r=i("20c8"),a=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]<t[1]*e[0]?-1:1)*Math.acos(h(t,e))};function f(t,e,i,n,r,a,c,f,p,g,v){var m=p*(u/180),y=l(m)*(t-i)/2+s(m)*(e-n)/2,x=-1*s(m)*(t-i)/2+l(m)*(e-n)/2,_=y*y/(c*c)+x*x/(f*f);_>1&&(c*=o(_),f*=o(_));var b=(r===a?-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(m)*w-s(m)*S,C=(e+n)/2+s(m)*w+l(m)*S,T=d([1,0],[(y-w)/c,(x-S)/f]),I=[(y-w)/c,(x-S)/f],A=[(-1*y-w)/c,(-1*x-S)/f],D=d(I,A);h(I,A)<=-1&&(D=u),h(I,A)>=1&&(D=0),0===a&&D>0&&(D-=2*u),1===a&&D<0&&(D+=2*u),v.addData(g,M,C,c,f,T,D,m,a)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function v(t){if(!t)return new r;for(var e,i=0,n=0,a=i,o=n,s=new r,l=r.CMD,u=t.match(p),c=0;c<u.length;c++){for(var h,d=u[c],v=d.charAt(0),m=d.match(g)||[],y=m.length,x=0;x<y;x++)m[x]=parseFloat(m[x]);var _=0;while(_<y){var b,w,S,M,C,T,I,A=i,D=n;switch(v){case"l":i+=m[_++],n+=m[_++],h=l.L,s.addData(h,i,n);break;case"L":i=m[_++],n=m[_++],h=l.L,s.addData(h,i,n);break;case"m":i+=m[_++],n+=m[_++],h=l.M,s.addData(h,i,n),a=i,o=n,v="l";break;case"M":i=m[_++],n=m[_++],h=l.M,s.addData(h,i,n),a=i,o=n,v="L";break;case"h":i+=m[_++],h=l.L,s.addData(h,i,n);break;case"H":i=m[_++],h=l.L,s.addData(h,i,n);break;case"v":n+=m[_++],h=l.L,s.addData(h,i,n);break;case"V":n=m[_++],h=l.L,s.addData(h,i,n);break;case"C":h=l.C,s.addData(h,m[_++],m[_++],m[_++],m[_++],m[_++],m[_++]),i=m[_-2],n=m[_-1];break;case"c":h=l.C,s.addData(h,m[_++]+i,m[_++]+n,m[_++]+i,m[_++]+n,m[_++]+i,m[_++]+n),i+=m[_-2],n+=m[_-1];break;case"S":b=i,w=n;var k=s.len(),O=s.data;e===l.C&&(b+=i-O[k-4],w+=n-O[k-3]),h=l.C,A=m[_++],D=m[_++],i=m[_++],n=m[_++],s.addData(h,b,w,A,D,i,n);break;case"s":b=i,w=n;k=s.len(),O=s.data;e===l.C&&(b+=i-O[k-4],w+=n-O[k-3]),h=l.C,A=i+m[_++],D=n+m[_++],i+=m[_++],n+=m[_++],s.addData(h,b,w,A,D,i,n);break;case"Q":A=m[_++],D=m[_++],i=m[_++],n=m[_++],h=l.Q,s.addData(h,A,D,i,n);break;case"q":A=m[_++]+i,D=m[_++]+n,i+=m[_++],n+=m[_++],h=l.Q,s.addData(h,A,D,i,n);break;case"T":b=i,w=n;k=s.len(),O=s.data;e===l.Q&&(b+=i-O[k-4],w+=n-O[k-3]),i=m[_++],n=m[_++],h=l.Q,s.addData(h,b,w,i,n);break;case"t":b=i,w=n;k=s.len(),O=s.data;e===l.Q&&(b+=i-O[k-4],w+=n-O[k-3]),i+=m[_++],n+=m[_++],h=l.Q,s.addData(h,b,w,i,n);break;case"A":S=m[_++],M=m[_++],C=m[_++],T=m[_++],I=m[_++],A=i,D=n,i=m[_++],n=m[_++],h=l.A,f(A,D,i,n,T,I,S,M,C,h,s);break;case"a":S=m[_++],M=m[_++],C=m[_++],T=m[_++],I=m[_++],A=i,D=n,i+=m[_++],n+=m[_++],h=l.A,f(A,D,i,n,T,I,S,M,C,h,s);break}}"z"!==v&&"Z"!==v||(h=l.Z,s.addData(h),i=a,n=o),e=h}return s.toStatic(),s}function m(t,e){var i=v(t);return e=e||{},e.buildPath=function(t){if(t.setData){t.setData(i.data);var e=t.getContext();e&&t.rebuildPath(e)}else{e=t;i.rebuildPath(e)}},e.applyTransform=function(t){a(i,t),this.dirty(!0)},e}function y(t,e){return new n(m(t,e))}function x(t,e){return n.extend(m(t,e))}function _(t,e){for(var i=[],r=t.length,a=0;a<r;a++){var o=t[a];o.path||o.createPathProxy(),o.__dirtyPath&&o.buildPath(o.path,o.shape,!0),i.push(o.path)}var s=new n(e);return s.createPathProxy(),s.buildPath=function(t){t.appendPath(i);var e=t.getContext();e&&t.rebuildPath(e)},s}e.createFromString=y,e.extendFromString=x,e.mergePath=_},3842:function(t,e,i){var n=i("6d8b"),r=1e-4;function a(t){return t.replace(/^\s+/,"").replace(/\s+$/,"")}function o(t,e,i,n){var r=e[1]-e[0],a=i[1]-i[0];if(0===r)return 0===a?i[0]:(i[0]+i[1])/2;if(n)if(r>0){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])/r*a+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?a(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 r=e.indexOf(".");return r<0?0:e.length-1-r}function d(t,e){var i=Math.log,n=Math.LN10,r=Math.floor(i(t[1]-t[0])/n),a=Math.round(i(Math.abs(e[1]-e[0]))/n),o=Math.min(Math.max(-r+a,0),20);return isFinite(o)?o:20}function f(t,e,i){if(!t[e])return 0;var r=n.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===r)return 0;var a=Math.pow(10,i),o=n.map(t,function(t){return(isNaN(t)?0:t)/r*a*100}),s=100*a,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(u<s){for(var h=Number.NEGATIVE_INFINITY,d=null,f=0,p=c.length;f<p;++f)c[f]>h&&(h=c[f],d=f);++l[d],c[d]=0,++u}return l[e]/a}var p=9007199254740991;function g(t){var e=2*Math.PI;return(t%e+e)%e}function v(t){return t>-r&&t<r}var m=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function y(t){if(t instanceof Date)return t;if("string"===typeof t){var e=m.exec(t);if(!e)return new Date(NaN);if(e[8]){var i=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(i-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,i,+(e[5]||0),+e[6]||0,+e[7]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))}function x(t){return Math.pow(10,_(t))}function _(t){return Math.floor(Math.log(t)/Math.LN10)}function b(t,e){var i,n=_(t),r=Math.pow(10,n),a=t/r;return i=e?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10,t=i*r,n>=-20?+t.toFixed(n<0?-n:0):t}function w(t,e){var i=(t.length-1)*e+1,n=Math.floor(i),r=+t[n-1],a=i-n;return a?r+a*(t[n]-r):r}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<t.length;){for(var r=t[n].interval,a=t[n].close,o=0;o<2;o++)r[o]<=e&&(r[o]=e,a[o]=o?1:1-i),e=r[o],i=a[o];r[0]===r[1]&&a[0]*a[1]!==1?t.splice(n,1):n++}return t;function s(t,e,i){return t.interval[i]<e.interval[i]||t.interval[i]===e.interval[i]&&(t.close[i]-e.close[i]===(i?-1:1)||!i&&s(t,e,1))}}function M(t){return t-parseFloat(t)>=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=v,e.parseDate=y,e.quantity=x,e.nice=b,e.quantile=w,e.reformIntervals=S,e.isNumeric=M},"38a2":function(t,e,i){var n=i("2b17"),r=n.retrieveRawValue,a=i("eda2"),o=a.getTooltipMarker,s=a.formatTpl,l=i("e0d3"),u=l.getTooltipRenderMode,c=/\{@(.+?)\}/g,h={getDataParams:function(t,e){var i=this.getData(e),n=this.getRawValue(t,e),r=i.getRawIndex(t),a=i.getName(t),s=i.getRawDataItem(t),l=i.getItemVisual(t,"color"),c=this.ecModel.getComponent("tooltip"),h=c&&c.get("renderMode"),d=u(h),f=this.mainType,p="series"===f;return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:p?this.subType:null,seriesIndex:this.seriesIndex,seriesId:p?this.id:null,seriesName:p?this.name:null,name:a,dataIndex:r,data:s,dataType:e,value:n,color:l,marker:o({color:l,renderMode:d}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,i,n,a){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?[a||"label","formatter"]:[e,a||"label","formatter"]);if("function"===typeof h)return u.status=e,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)),r(o,t,i)})}},getRawValue:function(t,e){return r(this.getData(e),t)},formatTooltip:function(){}};t.exports=h},3901:function(t,e,i){var n=i("282b"),r=n([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),a={getLineStyle:function(t){var e=r(this,t),i=this.getLineDash(e.lineWidth);return i&&(e.lineDash=i),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?null:"dashed"===e?[n,n]:[i,i]}};t.exports=a},"392f":function(t,e,i){var n=i("6d8b"),r=n.inherits,a=i("19eb"),o=i("9850");function s(t){a.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;i<t.length;i++)this.addDisplayable(t[i],e)},s.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},s.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},s.prototype.brush=function(t,e){for(var i=this._cursor;i<this._displayables.length;i++){var n=this._displayables[i];n.beforeBrush&&n.beforeBrush(t),n.brush(t,i===this._cursor?null:this._displayables[i-1]),n.afterBrush&&n.afterBrush(t)}this._cursor=i;for(i=0;i<this._temporaryDisplayables.length;i++){n=this._temporaryDisplayables[i];n.beforeBrush&&n.beforeBrush(t),n.brush(t,0===i?null:this._temporaryDisplayables[i-1]),n.afterBrush&&n.afterBrush(t)}this._temporaryDisplayables=[],this.notClear=!0};var l=[];s.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var i=this._displayables[e],n=i.getBoundingRect().clone();i.needLocalTransform()&&n.applyTransform(i.getLocalTransform(l)),t.union(n)}this._rect=t}return this._rect},s.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();if(n.contain(i[0],i[1]))for(var r=0;r<this._displayables.length;r++){var a=this._displayables[r];if(a.contain(t,e))return!0}return!1},r(s,a);var u=s;t.exports=u},"39bb":function(t,e,i){"use strict";var n=i("f152"),r=i.n(n);r.a},"3eba":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("697e7")),a=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"),v=i("6cb7"),m=i("4f85"),y=i("b12f"),x=i("e887"),_=i("2306"),b=i("e0d3"),w=i("88b3"),S=w.throttle,M=i("fd63"),C=i("b809"),T=i("998c"),I=i("69ff"),A=i("c533"),D=i("f219");i("0352");var k=i("ec34"),O=a.assert,L=a.each,P=a.isFunction,E=a.isObject,R=v.parseClassType,N="4.2.1",B={zrender:"4.0.6"},z=1,F=1e3,V=5e3,H=1e3,G=2e3,W=3e3,j=4e3,U=5e3,$={PROCESSOR:{FILTER:F,STATISTIC:V},VISUAL:{LAYOUT:H,GLOBAL:G,CHART:W,COMPONENT:j,BRUSH:U}},q="__flagInMainProcess",Y="__optionUpdated",X=/^[a-zA-Z0-9_]+$/;function Z(t){return function(e,i,n){e=e&&e.toLowerCase(),u.prototype[t].call(this,e,i,n)}}function K(){u.call(this)}function Q(t,e,i){i=i||{},"string"===typeof e&&(e=It[e]),this.id,this.group,this._dom=t;var n="canvas",o=this._zr=r.init(t,{renderer:i.renderer||n,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});this._throttledZrFlush=S(a.bind(o.flush,o),17);e=a.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=xt(this);function c(t,e){return t.__prio-e.__prio}l(Tt,c),l(St,c),this._scheduler=new I(this,s,St,Tt),u.call(this,this._ecEventProcessor=new _t),this._messageCenter=new K,this._initEvents(),this.resize=a.bind(this.resize,this),this._pendingActions=[],o.animation.on("frame",this._onframe,this),lt(o,this),a.setAsPrimitive(this)}K.prototype.on=Z("on"),K.prototype.off=Z("off"),K.prototype.one=Z("one"),a.mixin(K,u);var J=Q.prototype;function tt(t,e,i){var n,r=this._model,a=this._coordSysMgr.getCoordinateSystems();e=b.parseFinder(r,e);for(var o=0;o<a.length;o++){var s=a[o];if(s[t]&&null!=(n=s[t](r,e,i)))return n}}J._onframe=function(){if(!this._disposed){var t=this._scheduler;if(this[Y]){var e=this[Y].silent;this[q]=!0,it(this),et.update.call(this),this[q]=!1,this[Y]=!1,ot.call(this,e),st.call(this,e)}else if(t.unfinished){var i=z,n=this._model,r=this._api;t.unfinished=!1;do{var a=+new Date;t.performSeriesTasks(n),t.performDataProcessorTasks(n),rt(this,n),t.performVisualTasks(n),ft(this,this._model,r,"remain"),i-=+new Date-a}while(i>0&&t.unfinished);t.unfinished||this._zr.flush()}}},J.getDom=function(){return this._dom},J.getZr=function(){return this._zr},J.setOption=function(t,e,i){var n;if(E(e)&&(i=e.lazyUpdate,n=e.silent,e=e.notMerge),this[q]=!0,!this._model||e){var r=new f(this._api),a=this._theme,o=this._model=new c(null,null,a,r);o.scheduler=this._scheduler,o.init(null,null,a,r)}this._model.setOption(t,Mt),i?(this[Y]={silent:n},this[q]=!1):(it(this),et.update.call(this),this._zr.flush(),this[Y]=!1,this[q]=!1,ot.call(this,n),st.call(this,n))},J.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},J.getModel=function(){return this._model},J.getOption=function(){return this._model&&this._model.getOption()},J.getWidth=function(){return this._zr.getWidth()},J.getHeight=function(){return this._zr.getHeight()},J.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},J.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)}},J.getSvgDataUrl=function(){if(s.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return a.each(e,function(t){t.stopAnimation(!0)}),t.painter.pathToDataUrl()}},J.getDataURL=function(t){t=t||{};var e=t.excludeComponents,i=this._model,n=[],r=this;L(e,function(t){i.eachComponent({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)})});var a="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return L(n,function(t){t.group.ignore=!1}),a},J.getConnectedDataURL=function(t){if(s.canvasSupported){var e=this.group,i=Math.min,n=Math.max,o=1/0;if(kt[e]){var l=o,u=o,c=-o,h=-o,d=[],f=t&&t.pixelRatio||1;a.each(Dt,function(r,o){if(r.group===e){var s=r.getRenderedCanvas(a.clone(t)),f=r.getDom().getBoundingClientRect();l=i(f.left,l),u=i(f.top,u),c=n(f.right,c),h=n(f.bottom,h),d.push({dom:s,left:f.left,top:f.top})}}),l*=f,u*=f,c*=f,h*=f;var p=c-l,g=h-u,v=a.createCanvas();v.width=p,v.height=g;var m=r.init(v);return L(d,function(t){var e=new _.Image({style:{x:t.left*f-l,y:t.top*f-u,image:t.dom}});m.add(e)}),m.refreshImmediately(),v.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},J.convertToPixel=a.curry(tt,"convertToPixel"),J.convertFromPixel=a.curry(tt,"convertFromPixel"),J.containPixel=function(t,e){var i,n=this._model;return t=b.parseFinder(n,t),a.each(t,function(t,n){n.indexOf("Models")>=0&&a.each(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)i|=!!r.containPoint(e);else if("seriesModels"===n){var a=this._chartsMap[t.__viewId];a&&a.containPoint&&(i|=a.containPoint(e,t))}},this)},this),!!i},J.getVisual=function(t,e){var i=this._model;t=b.parseFinder(i,t,{defaultMainType:"series"});var n=t.seriesModel,r=n.getData(),a=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?r.indexOfRawIndex(t.dataIndex):null;return null!=a?r.getItemVisual(a,e):r.getVisual(e)},J.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},J.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var et={prepareAndUpdate:function(t){it(this),et.update.call(this,t)},update:function(t){var e=this._model,i=this._api,n=this._zr,r=this._coordSysMgr,a=this._scheduler;if(e){a.restoreData(e,t),a.performSeriesTasks(e),r.create(e,i),a.performDataProcessorTasks(e,t),rt(this,e),r.update(e,i),ct(e),a.performVisualTasks(e,t),ht(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")}pt(e,i)}},updateTransform:function(t){var e=this._model,i=this,n=this._api;if(e){var r=[];e.eachComponent(function(a,o){var s=i.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,n,t);l&&l.update&&r.push(s)}else r.push(s)});var o=a.createHashMap();e.eachSeries(function(r){var a=i._chartsMap[r.__viewId];if(a.updateTransform){var s=a.updateTransform(r,e,n,t);s&&s.update&&o.set(r.uid,1)}else o.set(r.uid,1)}),ct(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),ft(i,e,n,t,o),pt(e,this._api)}},updateView:function(t){var e=this._model;e&&(x.markUpdateMethod(t,"updateView"),ct(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),ht(this,this._model,this._api,t),pt(e,this._api))},updateVisual:function(t){et.update.call(this,t)},updateLayout:function(t){et.update.call(this,t)}};function it(t){var e=t._model,i=t._scheduler;i.restorePipelines(e),i.prepareStageTasks(),ut(t,"component",e,i),ut(t,"chart",e,i),i.plan()}function nt(t,e,i,n,r){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};r&&(l.subType=r);var u=i.excludeSeriesId;null!=u&&(u=a.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 L(t._componentsViews.concat(t._chartsViews),c);function c(n){n&&n.__alive&&n[e]&&n[e](n.__model,o,t._api,i)}}function rt(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries(function(t){n.updateStreamModes(t,i[t.__viewId])})}function at(t,e){var i=t.type,n=t.escapeConnect,r=bt[i],o=r.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&R(s[0]),this[q]=!0;var u=[t],c=!1;t.batch&&(c=!0,u=a.map(t.batch,function(e){return e=a.defaults(a.extend({},e),t),e.batch=null,e}));var h,d=[],f="highlight"===i||"downplay"===i;L(u,function(t){h=r.action(t,this._model,this._api),h=h||a.extend({},t),h.type=o.event||h.type,d.push(h),f?nt(this,l,t,"series"):s&&nt(this,l,t,s.main,s.sub)},this),"none"===l||f||s||(this[Y]?(it(this),et.update.call(this,t),this[Y]=!1):et[l].call(this,t)),h=c?{type:o.event||i,escapeConnect:n,batch:d}:d[0],this[q]=!1,!e&&this._messageCenter.trigger(h.type,h)}function ot(t){var e=this._pendingActions;while(e.length){var i=e.shift();at.call(this,i,t)}}function st(t){!t&&this.trigger("updated")}function lt(t,e){t.on("rendered",function(){e.trigger("rendered"),!t.animation.isFinished()||e[Y]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})}function ut(t,e,i,n){for(var r="component"===e,a=r?t._componentsViews:t._chartsViews,o=r?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;u<a.length;u++)a[u].__alive=!1;function c(t){var e="_ec_"+t.id+"_"+t.type,u=o[e];if(!u){var c=R(t.type),h=r?y.getClass(c.main,c.sub):x.getClass(c.sub);u=new h,u.init(i,l),o[e]=u,a.push(u),s.add(u.group)}t.__viewId=u.__id=e,u.__alive=!0,u.__model=t,u.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!r&&n.prepareView(u,t,i,l)}r?i.eachComponent(function(t,e){"series"!==t&&c(e)}):i.eachSeries(c);for(u=0;u<a.length;){var h=a[u];h.__alive?u++:(!r&&h.renderTask.dispose(),s.remove(h.group),h.dispose(i,l),a.splice(u,1),delete o[h.__id],h.__id=h.group.__ecComponentInfo=null)}}function ct(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function ht(t,e,i,n){dt(t,e,i,n),L(t._chartsViews,function(t){t.__alive=!1}),ft(t,e,i,n),L(t._chartsViews,function(t){t.__alive||t.remove(e,i)})}function dt(t,e,i,n,r){L(r||t._componentsViews,function(t){var r=t.__model;t.render(r,e,i,n),yt(r,t)})}function ft(t,e,i,n,r){var a,o=t._scheduler;e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];i.__alive=!0;var s=i.renderTask;o.updatePayload(s,n),r&&r.get(e.uid)&&s.dirty(),a|=s.perform(o.getPerformArgs(s)),i.group.silent=!!e.get("silent"),yt(e,i),mt(e,i)}),o.unfinished|=a,vt(t._zr,e),C(t._zr.dom,e)}function pt(t,e){L(Ct,function(i){i(t,e)})}J.resize=function(t){this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var i=e.resetOption("media"),n=t&&t.silent;this[q]=!0,i&&it(this),et.update.call(this),this[q]=!1,ot.call(this,n),st.call(this,n)}},J.showLoading=function(t,e){if(E(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),At[t]){var i=At[t](this._api,e),n=this._zr;this._loadingFX=i,n.add(i)}},J.hideLoading=function(){this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},J.makeActionFromEvent=function(t){var e=a.extend({},t);return e.type=wt[t.type],e},J.dispatchAction=function(t,e){E(e)||(e={silent:!!e}),bt[t.type]&&this._model&&(this[q]?this._pendingActions.push(t):(at.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&s.browser.weChat&&this._throttledZrFlush(),ot.call(this,e.silent),st.call(this,e.silent)))},J.appendData=function(t){var e=t.seriesIndex,i=this.getModel(),n=i.getSeriesByIndex(e);n.appendData(t),this._scheduler.unfinished=!0},J.on=Z("on"),J.off=Z("off"),J.one=Z("one");var gt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function vt(t,e){var i=t.storage,n=0;i.traverse(function(t){t.isGroup||n++}),n>e.get("hoverLayerThreshold")&&!s.node&&i.traverse(function(t){t.isGroup||(t.useHoverLayer=!0)})}function mt(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 yt(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 xt(t){var e=t._coordSysMgr;return a.extend(new h(t),{getCoordinateSystems:a.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 _t(){this.eventInfo}J._initEvents=function(){L(gt,function(t){var e=function(e){var i,n=this.getModel(),r=e.target,o="globalout"===t;if(o)i={};else if(r&&null!=r.dataIndex){var s=r.dataModel||n.getSeriesByIndex(r.seriesIndex);i=s&&s.getDataParams(r.dataIndex,r.dataType,r)||{}}else r&&r.eventData&&(i=a.extend({},r.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:r,packedEvent:i,model:c,view:h},this.trigger(t,i)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)},this),L(wt,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},J.isDisposed=function(){return this._disposed},J.clear=function(){this.setOption({series:[]},!0)},J.dispose=function(){if(!this._disposed){this._disposed=!0,b.setAttribute(this.getDom(),Pt,"");var t=this._api,e=this._model;L(this._componentsViews,function(i){i.dispose(e,t)}),L(this._chartsViews,function(i){i.dispose(e,t)}),this._zr.dispose(),delete Dt[this.id]}},a.mixin(Q,u),_t.prototype={constructor:_t,normalizeQuery:function(t){var e={},i={},n={};if(a.isString(t)){var r=R(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};a.each(t,function(t,r){for(var a=!1,l=0;l<o.length;l++){var u=o[l],c=r.lastIndexOf(u);if(c>0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,a=!0)}}s.hasOwnProperty(r)&&(i[r]=t,a=!0),a||(n[r]=t)})}return{cptQuery:e,dataQuery:i,otherQuery:n}},filter:function(t,e,i){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,a=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,a,"name")&&c(u,a,"dataIndex")&&c(u,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,r,a));function c(t,e,i,n){return null==t[i]||e[n||i]===t[i]}},afterTrigger:function(){this.eventInfo=null}};var bt={},wt={},St=[],Mt=[],Ct=[],Tt=[],It={},At={},Dt={},kt={},Ot=new Date-0,Lt=new Date-0,Pt="_echarts_instance_";function Et(t){var e=0,i=1,n=2,r="__connectUpdateStatus";function a(t,e){for(var i=0;i<t.length;i++){var n=t[i];n[r]=e}}L(wt,function(o,s){t._messageCenter.on(s,function(o){if(kt[t.group]&&t[r]!==e){if(o&&o.escapeConnect)return;var s=t.makeActionFromEvent(o),l=[];L(Dt,function(e){e!==t&&e.group===t.group&&l.push(e)}),a(l,e),L(l,function(t){t[r]!==i&&t.dispatchAction(s)}),a(l,n)}})})}function Rt(t,e,i){var n=Vt(t);if(n)return n;var r=new Q(t,e,i);return r.id="ec_"+Ot++,Dt[r.id]=r,b.setAttribute(t,Pt,r.id),Et(r),r}function Nt(t){if(a.isArray(t)){var e=t;t=null,L(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+Lt++,L(e,function(e){e.group=t})}return kt[t]=!0,t}function Bt(t){kt[t]=!1}var zt=Bt;function Ft(t){"string"===typeof t?t=Dt[t]:t instanceof Q||(t=Vt(t)),t instanceof Q&&!t.isDisposed()&&t.dispose()}function Vt(t){return Dt[b.getAttribute(t,Pt)]}function Ht(t){return Dt[t]}function Gt(t,e){It[t]=e}function Wt(t){Mt.push(t)}function jt(t,e){Kt(St,t,e,F)}function Ut(t){Ct.push(t)}function $t(t,e,i){"function"===typeof e&&(i=e,e="");var n=E(t)?t.type:[t,t={event:e}][0];t.event=(t.event||n).toLowerCase(),e=t.event,O(X.test(n)&&X.test(e)),bt[n]||(bt[n]={action:i,actionInfo:t}),wt[e]=n}function qt(t,e){d.register(t,e)}function Yt(t){var e=d.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function Xt(t,e){Kt(Tt,t,e,H,"layout")}function Zt(t,e){Kt(Tt,t,e,W,"visual")}function Kt(t,e,i,n,r){(P(e)||E(e))&&(i=e,e=n);var a=I.wrapStageHandler(i,r);return a.__prio=e,a.__raw=i,t.push(a),a}function Qt(t,e){At[t]=e}function Jt(t){return v.extend(t)}function te(t){return y.extend(t)}function ee(t){return m.extend(t)}function ie(t){return x.extend(t)}function ne(t){a.$override("createCanvas",t)}function re(t,e,i){k.registerMap(t,e,i)}function ae(t){var e=k.retrieveMap(t);return e&&e[0]&&{geoJson:e[0].geoJSON,specialAreas:e[0].specialAreas}}Zt(G,M),Wt(p),jt(V,g),Qt("default",T),$t({type:"highlight",event:"highlight",update:"highlight"},a.noop),$t({type:"downplay",event:"downplay",update:"downplay"},a.noop),Gt("light",A),Gt("dark",D);var oe={};e.version=N,e.dependencies=B,e.PRIORITY=$,e.init=Rt,e.connect=Nt,e.disConnect=Bt,e.disconnect=zt,e.dispose=Ft,e.getInstanceByDom=Vt,e.getInstanceById=Ht,e.registerTheme=Gt,e.registerPreprocessor=Wt,e.registerProcessor=jt,e.registerPostUpdate=Ut,e.registerAction=$t,e.registerCoordinateSystem=qt,e.getCoordinateSystemDimensions=Yt,e.registerLayout=Xt,e.registerVisual=Zt,e.registerLoading=Qt,e.extendComponentModel=Jt,e.extendComponentView=te,e.extendSeriesModel=ee,e.extendChartView=ie,e.setCanvasCreator=ne,e.registerMap=re,e.getMap=ae,e.dataTool=oe;var se=i("b719");(function(){for(var t in se)se.hasOwnProperty(t)&&(e[t]=se[t])})()},"401b":function(t,e){var i="undefined"===typeof Float32Array?Array:Float32Array;function n(t,e){var n=new i(2);return null==t&&(t=0),null==e&&(e=0),n[0]=t,n[1]=e,n}function r(t,e){return t[0]=e[0],t[1]=e[1],t}function a(t){var e=new i(2);return e[0]=t[0],e[1]=t[1],e}function o(t,e,i){return t[0]=e,t[1]=i,t}function s(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t}function l(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t}function u(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t}function c(t){return Math.sqrt(d(t))}var h=c;function d(t){return t[0]*t[0]+t[1]*t[1]}var f=d;function p(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t}function g(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t}function v(t,e){return t[0]*e[0]+t[1]*e[1]}function m(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t}function y(t,e){var i=c(e);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function x(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var _=x;function b(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var w=b;function S(t,e){return t[0]=-e[0],t[1]=-e[1],t}function M(t,e,i,n){return t[0]=e[0]+n*(i[0]-e[0]),t[1]=e[1]+n*(i[1]-e[1]),t}function C(t,e,i){var n=e[0],r=e[1];return t[0]=i[0]*n+i[2]*r+i[4],t[1]=i[1]*n+i[3]*r+i[5],t}function T(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t}function I(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}e.create=n,e.copy=r,e.clone=a,e.set=o,e.add=s,e.scaleAndAdd=l,e.sub=u,e.len=c,e.length=h,e.lenSquare=d,e.lengthSquare=f,e.mul=p,e.div=g,e.dot=v,e.scale=m,e.normalize=y,e.distance=x,e.dist=_,e.distanceSquare=b,e.distSquare=w,e.negate=S,e.lerp=M,e.applyTransform=C,e.min=T,e.max=I},"41ef":function(t,e,i){var n=i("d51b"),r={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return t=Math.round(t),t<0?0:t>255?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)?a(parseFloat(t)/100*255):a(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,r){return t[0]=e,t[1]=i,t[2]=n,t[3]=r,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 v(t,e){g&&f(g,e),g=p.put(t,g||e.slice())}function m(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 r)return f(e,r[n]),v(t,e),e;if("#"!==n.charAt(0)){var a=n.indexOf("("),o=n.indexOf(")");if(-1!==a&&o+1===n.length){var s=n.substr(0,a),c=n.substr(a+1,o-(a+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),v(t,e),e);case"hsla":return 4!==c.length?void d(e,0,0,0,1):(c[3]=u(c[3]),y(c,e),v(t,e),e);case"hsl":return 3!==c.length?void d(e,0,0,0,1):(y(c,e),v(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),v(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),v(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]),r=u(t[2]),o=r<=.5?r*(n+1):r+n-r*n,s=2*r-o;return e=e||[],d(e,a(255*c(s,o,i+1/3)),a(255*c(s,o,i)),a(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,r=t[1]/255,a=t[2]/255,o=Math.min(n,r,a),s=Math.max(n,r,a),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-r)/6+l/2)/l,d=((s-a)/6+l/2)/l;n===s?e=d-h:r===s?e=1/3+c-d:a===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=m(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 A(i,4===i.length?"rgba":"rgb")}}function b(t){var e=m(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),r=Math.floor(n),o=Math.ceil(n),l=e[r],u=e[o],c=n-r;return i[0]=a(h(l[0],u[0],c)),i[1]=a(h(l[1],u[1],c)),i[2]=a(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),r=Math.floor(n),o=Math.ceil(n),l=m(e[r]),u=m(e[o]),c=n-r,d=A([a(h(l[0],u[0],c)),a(h(l[1],u[1],c)),a(h(l[2],u[2],c)),s(h(l[3],u[3],c))],"rgba");return i?{color:d,leftIndex:r,rightIndex:o,value:n}:d}}var C=M;function T(t,e,i,n){if(t=m(t),t)return t=x(t),null!=e&&(t[0]=o(e)),null!=i&&(t[1]=u(i)),null!=n&&(t[2]=u(n)),A(y(t),"rgba")}function I(t,e){if(t=m(t),t&&null!=e)return t[3]=s(e),A(t,"rgba")}function A(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=m,e.lift=_,e.toHex=b,e.fastLerp=w,e.fastMapToColor=S,e.lerp=M,e.mapToColor=C,e.modifyHSL=T,e.modifyAlpha=I,e.stringify=A},"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"),r=i("6d8b"),a=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"),v=i("ff2e"),m=i("e0d3"),y=m.getTooltipRenderMode,x=r.bind,_=r.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(!a.node){var i,n=t.getComponent("tooltip"),r=n.get("renderMode");this._renderMode=y(r),"html"===this._renderMode?(i=new o(e.getDom(),e),this._newLine="<br/>"):(i=new s(e),this._newLine="\n"),this._tooltipContent=i}},render:function(t,e,i){if(!a.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(),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(){n.manuallyShowTip(t,e,i,{x:n._lastX,y:n._lastY})})}},manuallyShowTip:function(t,e,i,n){if(n.from!==this.uid&&!a.node){var r=C(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},r)}else if(o)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,event:{},dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},r);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,event:{}},r)}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,event:{}},r))}},manuallyHideTip:function(t,e,i,n){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(C(n,i))},_manuallyAxisShowTip:function(t,e,i,n){var r=n.seriesIndex,a=n.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=a&&null!=o){var s=e.getSeriesByIndex(r);if(s){var l=s.getData();t=M([l.getItemModel(a),s,(s.coordinateSystem||{}).model,t]);if("axis"===t.get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:a,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 r=t.dataByCoordSys;r&&r.length?this._showAxisTooltip(r,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=r.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,a=[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,a=[];if(e&&null!=n){var u=v.getValueLabel(n,e.axis,i,t.seriesDataIndices,t.valueLabelOpt);r.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,v=l.formatTooltip(h,!0,null,c);if(r.isObject(v)){p=v.html;var m=v.markers;r.merge(d,m)}else p=v;a.push(p)}});var f=u;"html"!==c?o.push(a.join(h)):o.push((f?l.encodeHTML(f)+h:"")+a.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,a[0],a[1],this._tooltipContent,s):this._showTooltipContent(u,o,s,Math.random(),a[0],a[1],f,void 0,d)})},_showSeriesItemTooltip:function(t,e,i){var n=this._ecModel,a=e.seriesIndex,o=n.getSeriesByIndex(a),s=e.dataModel||o,l=e.dataIndex,u=e.dataType,c=s.getData(),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),v=s.formatTooltip(l,!1,u,this._renderMode);r.isObject(v)?(f=v.html,p=v.markers):(f=v,p=null);var m="item_"+s.name+"_"+l;this._showOrMove(h,function(){this._showTooltipContent(h,f,g,m,t.offsetX,t.offsetY,t.position,t.target,p)}),i({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:a,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var n=e.tooltip;if("string"===typeof n){var r=n;n={content:r,formatter:r}}var a=new f(n,this._tooltipModel,this._ecModel),o=a.get("content"),s=Math.random();this._showOrMove(a,function(){this._showTooltipContent(a,o,a.get("formatterParams")||{},s,t.offsetX,t.offsetY,t.position,e)}),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,n,r,a,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,r,a,c,i,s))},this);this._ticket=n,d=h(i,n,f)}c.setContent(d,u,t),c.show(t),this._updatePosition(t,o,r,a,c,i,s)}},_updatePosition:function(t,e,i,n,a,o,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=a.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,a.el,p,{viewSize:[l,u],contentSize:c.slice()})),r.isArray(e))i=b(e[0],l),n=b(e[1],u);else if(r.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 v=A(e,p,c);i=v[0],n=v[1]}else{v=T(i,n,a,l,u,h?null:20,f?null:20);i=v[0],n=v[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")){v=I(i,n,a,l,u);i=v[0],n=v[1]}a.moveTo(i,n)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e.length===t.length;return i&&_(e,function(e,n){var r=e.dataByAxis||{},a=t[n]||{},o=a.dataByAxis||[];i&=r.length===o.length,i&&_(r,function(t,e){var n=o[e]||{},r=t.seriesDataIndices||[],a=n.seriesDataIndices||[];i&=t.value===n.value&&t.axisType===n.axisType&&t.axisId===n.axisId&&r.length===a.length,i&&_(r,function(t,e){var n=a[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){a.node||(this._tooltipContent.hide(),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 C(t,e){return t.dispatchAction||r.bind(e.dispatchAction,e)}function T(t,e,i,n,r,a,o){var s=i.getOuterSize(),l=s.width,u=s.height;return null!=a&&(t+l+a>n?t-=l+a:t+=a),null!=o&&(e+u+o>r?e-=u+o:e+=o),[t,e]}function I(t,e,i,n,r){var a=i.getOuterSize(),o=a.width,s=a.height;return t=Math.min(t+o,n)-o,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function A(t,e,i){var n=i[0],r=i[1],a=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-r/2;break;case"top":o=e.x+l/2-n/2,s=e.y-r-a;break;case"bottom":o=e.x+l/2-n/2,s=e.y+u+a;break;case"left":o=e.x-n-a,s=e.y+u/2-r/2;break;case"right":o=e.x+l+a,s=e.y+u/2-r/2}return[o,s]}function D(t){return"center"===t||"middle"===t}t.exports=S},4319:function(t,e,i){var n=i("6d8b"),r=i("22d1"),a=i("e0d3"),o=a.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 v(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}function m(t,e,i){for(var n=0;n<e.length;n++)if(e[n]&&(t=t&&"object"===typeof t?t[e[n]]:null,null==t))break;return null==t&&i&&(t=i.get(e)),t}function y(t,e){var i=g(t).getParent;return i?i.call(t,e):t.parentModel}v.prototype={constructor:v,init:null,mergeOption:function(t){n.merge(this.option,t,!0)},get:function(t,e){return null==t?this.option:m(this.option,this.parsePath(t),!e&&y(this,t))},getShallow:function(t,e){var i=this.option,n=null==i?i:i[t],r=!e&&y(this,t);return null==n&&r&&(n=r.getShallow(t)),n},getModel:function(t,e){var i,n=null==t?this.option:m(this.option,t=this.parsePath(t));return e=e||(i=y(this,t))&&i.getModel(t),new v(n,e,this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){var t=this.constructor;return new t(n.clone(this.option))},setReadOnly:function(t){},parsePath:function(t){return"string"===typeof t&&(t=t.split(".")),t},customizeGetParent:function(t){g(this).getParent=t},isAnimationEnabled:function(){if(!r.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},l(v),u(v),p(v,c),p(v,h),p(v,d),p(v,f);var x=v;t.exports=x},4436:function(t,e,i){var n=i("74cb");function r(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}r.prototype={constructor:r,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else{var i=(t-this._startTime-this._pausedTime)/this._life;if(!(i<0)){i=Math.min(i,1);var r=this.easing,a="string"===typeof r?n[r]:r,o="function"===typeof a?a(i):i;return this.fire("frame",o),1===i?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){t="on"+t,this[t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var a=r;t.exports=a},4573:function(t,e,i){var n=i("cbe5"),r=n.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=2*Math.PI;t.moveTo(i+e.r,n),t.arc(i,n,e.r,0,r,!1),t.moveTo(i+e.r0,n),t.arc(i,n,e.r0,0,r,!0)}});t.exports=r},46508:function(t,e,i){var n=i("3eba"),r=i("6d8b");function a(t,e,i){var n,a={},o="toggleSelected"===t;return i.eachComponent("legend",function(i){o&&null!=n?i[n?"select":"unSelect"](e.name):(i[t](e.name),n=i.isSelected(e.name));var s=i.getData();r.each(s,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);a.hasOwnProperty(e)?a[e]=a[e]&&n:a[e]=n}})}),{name:e.name,selected:a}}n.registerAction("legendToggleSelect","legendselectchanged",r.curry(a,"toggleSelected")),n.registerAction("legendSelect","legendselected",r.curry(a,"select")),n.registerAction("legendUnSelect","legendunselected",r.curry(a,"unSelect"))},"48a9":function(t,e,i){var n=i("6d8b"),r=i("42e5"),a=function(t,e,i,n,a,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,r.call(this,a)};a.prototype={constructor:a},n.inherits(a,r);var o=a;t.exports=o},"48ac":function(t,e,i){var n=i("3eba"),r=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}}}),a=r;t.exports=a},"48c7":function(t,e,i){var n=i("6d8b"),r=i("6cb7"),a=i("9e47"),o=i("2023"),s=r.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};a("x",s,l,u),a("y",s,l,u);var c=s;t.exports=c},4942:function(t,e,i){var n=i("2cf4"),r=n.debugMode,a=function(){};1===r?a=function(){for(var t in arguments)throw new Error(arguments[t])}:r>1&&(a=function(){for(var t in arguments)console.log(arguments[t])});var o=a;t.exports=o},"4a3f":function(t,e,i){var n=i("401b"),r=n.create,a=n.distSquare,o=Math.pow,s=Math.sqrt,l=1e-8,u=1e-4,c=s(3),h=1/3,d=r(),f=r(),p=r();function g(t){return t>-l&&t<l}function v(t){return t>l||t<-l}function m(t,e,i,n,r){var a=1-r;return a*a*(a*t+3*r*e)+r*r*(r*n+3*a*i)}function y(t,e,i,n,r){var a=1-r;return 3*(((e-t)*a+2*(i-e)*r)*a+(n-i)*r*r)}function x(t,e,i,n,r,a){var l=n+3*(e-i)-t,u=3*(i-2*e+t),d=3*(e-t),f=t-r,p=u*u-3*l*d,v=u*d-9*l*f,m=d*d-3*u*f,y=0;if(g(p)&&g(v))if(g(u))a[0]=0;else{var x=-d/u;x>=0&&x<=1&&(a[y++]=x)}else{var _=v*v-4*p*m;if(g(_)){var b=v/p,w=(x=-u/l+b,-b/2);x>=0&&x<=1&&(a[y++]=x),w>=0&&w<=1&&(a[y++]=w)}else if(_>0){var S=s(_),M=p*u+1.5*l*(-v+S),C=p*u+1.5*l*(-v-S);M=M<0?-o(-M,h):o(M,h),C=C<0?-o(-C,h):o(C,h);x=(-u-(M+C))/(3*l);x>=0&&x<=1&&(a[y++]=x)}else{var T=(2*p*u-3*l*v)/(2*s(p*p*p)),I=Math.acos(T)/3,A=s(p),D=Math.cos(I),k=(x=(-u-2*A*D)/(3*l),w=(-u+A*(D+c*Math.sin(I)))/(3*l),(-u+A*(D-c*Math.sin(I)))/(3*l));x>=0&&x<=1&&(a[y++]=x),w>=0&&w<=1&&(a[y++]=w),k>=0&&k<=1&&(a[y++]=k)}}return y}function _(t,e,i,n,r){var a=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(v(a)){var c=-l/a;c>=0&&c<=1&&(r[u++]=c)}}else{var h=a*a-4*o*l;if(g(h))r[0]=-a/(2*o);else if(h>0){var d=s(h),f=(c=(-a+d)/(2*o),(-a-d)/(2*o));c>=0&&c<=1&&(r[u++]=c),f>=0&&f<=1&&(r[u++]=f)}}return u}function b(t,e,i,n,r,a){var o=(e-t)*r+t,s=(i-e)*r+e,l=(n-i)*r+i,u=(s-o)*r+o,c=(l-s)*r+s,h=(c-u)*r+u;a[0]=t,a[1]=o,a[2]=u,a[3]=h,a[4]=h,a[5]=c,a[6]=l,a[7]=n}function w(t,e,i,n,r,o,l,c,h,g,v){var y,x,_,b,w,S=.005,M=1/0;d[0]=h,d[1]=g;for(var C=0;C<1;C+=.05)f[0]=m(t,i,r,l,C),f[1]=m(e,n,o,c,C),b=a(d,f),b<M&&(y=C,M=b);M=1/0;for(var T=0;T<32;T++){if(S<u)break;x=y-S,_=y+S,f[0]=m(t,i,r,l,x),f[1]=m(e,n,o,c,x),b=a(f,d),x>=0&&b<M?(y=x,M=b):(p[0]=m(t,i,r,l,_),p[1]=m(e,n,o,c,_),w=a(p,d),_<=1&&w<M?(y=_,M=w):S*=.5)}return v&&(v[0]=m(t,i,r,l,y),v[1]=m(e,n,o,c,y)),s(M)}function S(t,e,i,n){var r=1-n;return r*(r*t+2*n*e)+n*n*i}function M(t,e,i,n){return 2*((1-n)*(e-t)+n*(i-e))}function C(t,e,i,n,r){var a=t-2*e+i,o=2*(e-t),l=t-n,u=0;if(g(a)){if(v(o)){var c=-l/o;c>=0&&c<=1&&(r[u++]=c)}}else{var h=o*o-4*a*l;if(g(h)){c=-o/(2*a);c>=0&&c<=1&&(r[u++]=c)}else if(h>0){var d=s(h),f=(c=(-o+d)/(2*a),(-o-d)/(2*a));c>=0&&c<=1&&(r[u++]=c),f>=0&&f<=1&&(r[u++]=f)}}return u}function T(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}function I(t,e,i,n,r){var a=(e-t)*n+t,o=(i-e)*n+e,s=(o-a)*n+a;r[0]=t,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=i}function A(t,e,i,n,r,o,l,c,h){var g,v=.005,m=1/0;d[0]=l,d[1]=c;for(var y=0;y<1;y+=.05){f[0]=S(t,i,r,y),f[1]=S(e,n,o,y);var x=a(d,f);x<m&&(g=y,m=x)}m=1/0;for(var _=0;_<32;_++){if(v<u)break;var b=g-v,w=g+v;f[0]=S(t,i,r,b),f[1]=S(e,n,o,b);x=a(f,d);if(b>=0&&x<m)g=b,m=x;else{p[0]=S(t,i,r,w),p[1]=S(e,n,o,w);var M=a(p,d);w<=1&&M<m?(g=w,m=M):v*=.5}}return h&&(h[0]=S(t,i,r,g),h[1]=S(e,n,o,g)),s(m)}e.cubicAt=m,e.cubicDerivativeAt=y,e.cubicRootAt=x,e.cubicExtrema=_,e.cubicSubdivide=b,e.cubicProjectPoint=w,e.quadraticAt=S,e.quadraticDerivativeAt=M,e.quadraticRootAt=C,e.quadraticExtremum=T,e.quadraticSubdivide=I,e.quadraticProjectPoint=A},"4a9d":function(t,e,i){var n=i("2306"),r=i("dcb3"),a=i("ff2e"),o=i("0156"),s=i("6679"),l=r.extend({makeElOption:function(t,e,i,n,r){var s=i.axis,l=s.grid,h=n.get("type"),d=u(l,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(e,!0));if(h&&"none"!==h){var p=a.buildElStyle(n),g=c[h](s,f,d,p);g.style=p,t.graphicKey=g.type,t.pointer=g}var v=o.layout(l.model,i);a.buildCartesianSingleLabelElOption(e,t,v,i,n,r)},getHandleTransform:function(t,e,i){var n=o.layout(e.axis.grid.model,e,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:a.getTransformedPosition(e.axis,t,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,i,n){var r=i.axis,a=r.grid,o=r.getGlobalExtent(!0),s=u(a,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,c=t.position;c[l]+=e[l],c[l]=Math.min(o[1],c[l]),c[l]=Math.max(o[0],c[l]);var h=(s[1]+s[0])/2,d=[h,h];d[l]=c[l];var f=[{verticalAlign:"middle"},{align:"center"}];return{position:c,rotation:t.rotation,cursorPoint:d,tooltipOption:f[l]}}});function u(t,e){var i={};return i[e.dim+"AxisIndex"]=e.index,t.getCartesian(i)}var c={line:function(t,e,i,r){var o=a.makeLineShape([e,i[0]],[e,i[1]],h(t));return n.subPixelOptimizeLine({shape:o,style:r}),{type:"Line",shape:o}},shadow:function(t,e,i,n){var r=Math.max(1,t.getBandWidth()),o=i[1]-i[0];return{type:"Rect",shape:a.makeRectShape([e-r/2,i[0]],[r,o],h(t))}}};function h(t){return"x"===t.dim?0:1}s.registerAxisPointerClass("CartesianAxisPointer",l);var d=l;t.exports=d},"4aa2":function(t,e,i){var n=i("cbe5"),r=i("897a"),a=n.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:r(n.prototype.brush),buildPath:function(t,e){var i=e.cx,n=e.cy,r=Math.max(e.r0||0,0),a=Math.max(e.r,0),o=e.startAngle,s=e.endAngle,l=e.clockwise,u=Math.cos(o),c=Math.sin(o);t.moveTo(u*r+i,c*r+n),t.lineTo(u*a+i,c*a+n),t.arc(i,n,a,o,s,!l),t.lineTo(Math.cos(s)*r+i,Math.sin(s)*r+n),0!==r&&t.arc(i,n,r,s,o,l),t.closePath()}});t.exports=a},"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"))},"4f85":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("6d8b")),a=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"),v=g.getLayoutParams,m=g.mergeLayoutParam,y=i("f47d"),x=y.createTask,_=i("0f99"),b=_.prepareSource,w=_.getSource,S=i("2b17"),M=S.retrieveRawValue,C=h.makeInner(),T=d.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.color",layoutMode:null,init:function(t,e,i,n){this.seriesIndex=this.componentIndex,this.dataTask=x({count:D,reset:k}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,i),b(this);var r=this.getInitialData(t,i);L(r,this),this.dataTask.context.data=r,C(this).dataBeforeProcessed=r,I(this)},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,n=i?v(t):{},a=this.subType;d.hasClass(a)&&(a+="Series"),r.merge(t,e.getTheme().get(this.subType)),r.merge(t,this.getDefaultOption()),h.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),i&&m(t,n,i)},mergeOption:function(t,e){t=r.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var i=this.layoutMode;i&&m(this.option,t,i),b(this);var n=this.getInitialData(t,e);L(n,this),this.dataTask.dirty(),this.dataTask.context.data=n,C(this).dataBeforeProcessed=n,I(this)},fillDataTextStyle:function(t){if(t&&!r.isTypedArray(t))for(var e=["show"],i=0;i<t.length;i++)t[i]&&t[i].label&&h.defaultEmphasis(t[i],"label",e)},getInitialData:function(){},appendData:function(t){var e=this.getRawData();e.appendData(t.data)},getData:function(t){var e=E(this);if(e){var i=e.context.data;return null==t?i:i.getLinkedData(t)}return C(this).data},setData:function(t){var e=E(this);if(e){var i=e.context;i.data!==t&&e.modifyOutputEnd&&e.setOutputEnd(t.count()),i.outputData=t,e!==this.dataTask&&(i.data=t)}C(this).data=t},getSource:function(){return w(this)},getRawData:function(){return C(this).dataBeforeProcessed},getBaseAxis:function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},formatTooltip:function(t,e,i,n){var a=this;n=n||"html";var o="html"===n?"<br/>":"\n",d="richText"===n,f={},p=0;function g(i){var o=r.reduce(i,function(t,e,i){var n=m.getDimensionInfo(i);return t|(n&&!1!==n.tooltip&&null!=n.displayName)},0),h=[];function g(t,i){var r=m.getDimensionInfo(i);if(r&&!1!==r.otherDims.tooltip){var g=r.type,v="sub"+a.seriesIndex+"at"+p,y=c({color:w,type:"subItem",renderMode:n,markerId:v}),x="string"===typeof y?y:y.content,_=(o?x+l(r.displayName||"-")+": ":"")+l("ordinal"===g?t+"":"time"===g?e?"":s("yyyy/MM/dd hh:mm:ss",t):u(t));_&&h.push(_),d&&(f[v]=w,++p)}}y.length?r.each(y,function(e){g(M(m,t,e),e)}):r.each(i,g);var v=o?d?"\n":"<br/>":"",x=v+h.join(v||", ");return{renderMode:n,content:x,style:f}}function v(t){return{renderMode:n,content:l(u(t)),style:f}}var m=this.getData(),y=m.mapDimension("defaultedTooltip",!0),x=y.length,_=this.getRawValue(t),b=r.isArray(_),w=m.getItemVisual(t,"color");r.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=x>1||b&&!x?g(_):v(x?M(m,t,y[0]):b?_[0]:_),C=S.content,T=a.seriesIndex+"at"+p,I=c({color:w,type:"item",renderMode:n,markerId:T});f[T]=w,++p;var A=m.getName(t),D=this.name;h.isNameSpecified(this)||(D=""),D=D?l(D)+(e?": ":o):"";var k="string"===typeof I?I:I.content,O=e?k+D+C:D+k+(A?l(A)+": "+C:C);return{html:O,markers:f}},isAnimationEnabled:function(){if(a.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,r=f.getColorFromPalette.call(this,t,e,i);return r||(r=n.getColorFromPalette(t,e,i)),r},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 I(t){var e=t.name;h.isNameSpecified(t)||(t.name=A(t)||e)}function A(t){var e=t.getRawData(),i=e.mapDimension("seriesName",!0),n=[];return r.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 k(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),O}function O(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function L(t,e){r.each(t.CHANGABLE_METHODS,function(i){t.wrapMethod(i,r.curry(P,e))})}function P(t){var e=E(t);e&&e.setOutputEnd(this.count())}function E(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var n=i.currentTask;if(n){var r=n.agentStubMap;r&&(n=r.get(t.uid))}return n}}r.mixin(T,p),r.mixin(T,f);var R=T;t.exports=R},"4fac":function(t,e,i){var n=i("620b"),r=i("9c2c");function a(t,e,i){var a=e.points,o=e.smooth;if(a&&a.length>=2){if(o&&"spline"!==o){var s=r(a,o,i,e.smoothConstraint);t.moveTo(a[0][0],a[0][1]);for(var l=a.length,u=0;u<(i?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=a[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}}else{"spline"===o&&(a=n(a,i)),t.moveTo(a[0][0],a[0][1]);u=1;for(var f=a.length;u<f;u++)t.lineTo(a[u][0],a[u][1])}i&&t.closePath()}}e.buildPath=a},"551f":function(t,e,i){var n=i("282b"),r=n([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),a={getItemStyle:function(t,e){var i=r(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=a},5693:function(t,e){function i(t,e){var i,n,r,a,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=r=a=h:h instanceof Array?1===h.length?i=n=r=a=h[0]:2===h.length?(i=r=h[0],n=a=h[1]):3===h.length?(i=h[0],n=a=h[1],r=h[2]):(i=h[0],n=h[1],r=h[2],a=h[3]):i=n=r=a=0,i+n>u&&(o=i+n,i*=u/o,n*=u/o),r+a>u&&(o=r+a,r*=u/o,a*=u/o),n+r>c&&(o=n+r,n*=c/o,r*=c/o),i+a>c&&(o=i+a,i*=c/o,a*=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-r),0!==r&&t.arc(s+u-r,l+c-r,r,0,Math.PI/2),t.lineTo(s+a,l+c),0!==a&&t.arc(s+a,l+c-a,a,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},"5aa9":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("6d8b")),a=r.isObject,o=r.each,s=r.map,l=r.indexOf,u=(r.retrieve,i("f934")),c=u.getLayoutRect,h=i("697e"),d=h.createScaleByModel,f=h.ifAxisCrossZero,p=h.niceScaleExtent,g=h.estimateLabelUnionRect,v=i("cbe9"),m=i("ec02"),y=i("2039"),x=i("ee1a"),_=x.getStackedDimension;function b(t,e,i){return t.getCoordSysModel()===e}function w(t,e,i){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,i),this.model=t}i("8ed2");var S=w.prototype;function M(t,e,i,n){i.getAxesOnZeroOf=function(){return r?[r]:[]};var r,a=t[e],o=i.model,s=o.get("axisLine.onZero"),l=o.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)C(a[l])&&(r=a[l]);else for(var u in a)if(a.hasOwnProperty(u)&&C(a[u])&&!n[c(a[u])]){r=a[u];break}r&&(n[c(r)]=!0)}function c(t){return t.dim+"_"+t.index}}function C(t){return t&&"category"!==t.type&&"time"!==t.type&&f(t)}function T(t,e){var i=t.getExtent(),n=i[0]+i[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return n-t+e}}S.type="grid",S.axisPointerEnabled=!0,S.getRect=function(){return this._rect},S.update=function(t,e){var i=this._axesMap;this._updateScale(t,this.model),o(i.x,function(t){p(t.scale,t.model)}),o(i.y,function(t){p(t.scale,t.model)});var n={};o(i.x,function(t){M(i,"y",t,n)}),o(i.y,function(t){M(i,"x",t,n)}),this.resize(this.model,e)},S.resize=function(t,e,i){var n=c(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=n;var r=this._axesList;function a(){o(r,function(t){var e=t.isHorizontal(),i=e?[0,n.width]:[0,n.height],r=t.inverse?1:0;t.setExtent(i[r],i[1-r]),T(t,e?n.x:n.y)})}a(),!i&&t.get("containLabel")&&(o(r,function(t){if(!t.model.get("axisLabel.inside")){var e=g(t);if(e){var i=t.isHorizontal()?"height":"width",r=t.model.get("axisLabel.margin");n[i]-=e[i]+r,"top"===t.position?n.y+=e.height+r:"left"===t.position&&(n.x+=e.width+r)}}}),a())},S.getAxis=function(t,e){var i=this._axesMap[t];if(null!=i){if(null==e)for(var n in i)if(i.hasOwnProperty(n))return i[n];return i[e]}},S.getAxes=function(){return this._axesList.slice()},S.getCartesian=function(t,e){if(null!=t&&null!=e){var i="x"+t+"y"+e;return this._coordsMap[i]}a(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var n=0,r=this._coordsList;n<r.length;n++)if(r[n].getAxis("x").index===t||r[n].getAxis("y").index===e)return r[n]},S.getCartesians=function(){return this._coordsList.slice()},S.convertToPixel=function(t,e,i){var n=this._findConvertTarget(t,e);return n.cartesian?n.cartesian.dataToPoint(i):n.axis?n.axis.toGlobalCoord(n.axis.dataToCoord(i)):null},S.convertFromPixel=function(t,e,i){var n=this._findConvertTarget(t,e);return n.cartesian?n.cartesian.pointToData(i):n.axis?n.axis.coordToData(n.axis.toLocalCoord(i)):null},S._findConvertTarget=function(t,e){var i,n,r=e.seriesModel,a=e.xAxisModel||r&&r.getReferringComponents("xAxis")[0],o=e.yAxisModel||r&&r.getReferringComponents("yAxis")[0],s=e.gridModel,u=this._coordsList;if(r)i=r.coordinateSystem,l(u,i)<0&&(i=null);else if(a&&o)i=this.getCartesian(a.componentIndex,o.componentIndex);else if(a)n=this.getAxis("x",a.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(s){var c=s.coordinateSystem;c===this&&(i=this._coordsList[0])}return{cartesian:i,axis:n}},S.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},S._initCartesian=function(t,e,i){var n={left:!1,right:!1,top:!1,bottom:!1},r={x:{},y:{}},a={x:0,y:0};if(e.eachComponent("xAxis",s("x"),this),e.eachComponent("yAxis",s("y"),this),!a.x||!a.y)return this._axesMap={},void(this._axesList=[]);function s(i){return function(o,s){if(b(o,t,e)){var l=o.get("position");"x"===i?"top"!==l&&"bottom"!==l&&(l="bottom",n[l]&&(l="top"===l?"bottom":"top")):"left"!==l&&"right"!==l&&(l="left",n[l]&&(l="left"===l?"right":"left")),n[l]=!0;var u=new m(i,d(o),[0,0],o.get("type"),l),c="category"===u.type;u.onBand=c&&o.get("boundaryGap"),u.inverse=o.get("inverse"),o.axis=u,u.model=o,u.grid=this,u.index=s,this._axesList.push(u),r[i][s]=u,a[i]++}}}this._axesMap=r,o(r.x,function(e,i){o(r.y,function(n,r){var a="x"+i+"y"+r,o=new v(a);o.grid=this,o.model=t,this._coordsMap[a]=o,this._coordsList.push(o),o.addAxis(e),o.addAxis(n)},this)},this)},S._updateScale=function(t,e){function i(t,e,i){o(t.mapDimension(e.dim,!0),function(i){e.scale.unionExtentFromData(t,_(t,i))})}o(this._axesList,function(t){t.scale.setExtent(1/0,-1/0)}),t.eachSeries(function(n){if(D(n)){var r=A(n,t),a=r[0],o=r[1];if(!b(a,e,t)||!b(o,e,t))return;var s=this.getCartesian(a.componentIndex,o.componentIndex),l=n.getData(),u=s.getAxis("x"),c=s.getAxis("y");"list"===l.type&&(i(l,u,n),i(l,c,n))}},this)},S.getTooltipAxes=function(t){var e=[],i=[];return o(this.getCartesians(),function(n){var r=null!=t&&"auto"!==t?n.getAxis(t):n.getBaseAxis(),a=n.getOtherAxis(r);l(e,r)<0&&e.push(r),l(i,a)<0&&i.push(a)}),{baseAxes:e,otherAxes:i}};var I=["xAxis","yAxis"];function A(t,e){return s(I,function(e){var i=t.getReferringComponents(e)[0];return i})}function D(t){return"cartesian2d"===t.get("coordinateSystem")}w.create=function(t,e){var i=[];return t.eachComponent("grid",function(n,r){var a=new w(n,t,e);a.name="grid_"+r,a.resize(n,e,!0),n.coordinateSystem=a,i.push(a)}),t.eachSeries(function(e){if(D(e)){var i=A(e,t),n=i[0],r=i[1],a=n.getCoordSysModel(),o=a.coordinateSystem;e.coordinateSystem=o.getCartesian(n.componentIndex,r.componentIndex)}}),i},w.dimensions=w.prototype.dimensions=v.prototype.dimensions,y.register("cartesian2d",w);var k=w;t.exports=k},"5e68":function(t,e,i){var n=i("6d8b"),r=i("2cf4"),a=r.devicePixelRatio,o=i("2b61"),s=i("dc2f");function l(){return!1}function u(t,e,i){var r=n.createCanvas(),a=e.getWidth(),o=e.getHeight(),s=r.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=a+"px",s.height=o+"px",r.setAttribute("data-zr-dom-id",t)),r.width=a*i,r.height=o*i,r}var c=function(t,e,i){var r;i=i||a,"string"===typeof t?r=u(t,e,i):n.isObject(t)&&(r=t,t=r.id),this.id=t,this.dom=r;var o=r.style;o&&(r.onselectstart=l,o["-webkit-user-select"]="none",o["user-select"]="none",o["-webkit-touch-callout"]="none",o["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",o["padding"]=0,o["margin"]=0,o["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=i};c.prototype={constructor:c,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=u("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},resize:function(t,e){var i=this.dpr,n=this.dom,r=n.style,a=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),n.width=t*i,n.height=e*i,a&&(a.width=t*i,a.height=e*i,1!==i&&this.ctxBack.scale(i,i))},clear:function(t,e){var i,n=this.dom,r=this.ctx,a=n.width,l=n.height,u=(e=e||this.clearColor,this.motionBlur&&!t),c=this.lastFrameAlpha,h=this.dpr;(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,a/h,l/h)),r.clearRect(0,0,a,l),e&&"transparent"!==e)&&(e.colorStops?(i=e.__canvasGradient||o.getGradient(r,e,{x:0,y:0,width:a,height:l}),e.__canvasGradient=i):e.image&&(i=s.prototype.getCanvasPattern.call(e,r)),r.save(),r.fillStyle=i||e,r.fillRect(0,0,a,l),r.restore());if(u){var d=this.domBack;r.save(),r.globalAlpha=c,r.drawImage(d,0,0,a,l),r.restore()}}};var h=c;t.exports=h},"5e76":function(t,e,i){var n=i("d51b"),r=new n(50);function a(t){if("string"===typeof t){var e=r.get(t);return e&&e.image}return t}function o(t,e,i,n,a){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!i)return e;var o=r.get(t),u={hostEl:i,cb:n,cbPayload:a};return o?(e=o.image,!l(e)&&o.pending.push(u)):(e=new Image,e.onload=e.onerror=s,r.put(t,e.__cachedImgObj={image:e,pending:[u]}),e.src=e.__zrImageSrc=t),e}return t}return e}function s(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var i=t.pending[e],n=i.cb;n&&n(this,i.cbPayload),i.hostEl.dirty()}t.pending.length=0}function l(t){return t&&t.width&&t.height}e.findExistImage=a,e.createOrUpdateImage=o,e.isImageReady=l},"5e97":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("3eba")),a=i("6d8b"),o=i("a15a"),s=o.createSymbol,l=i("2306"),u=i("7919"),c=u.makeBackground,h=i("f934"),d=a.curry,f=a.each,p=l.Group,g=r.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new p),this._backgroundEl,this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},render:function(t,e,i){var n=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===t.get("orient")?"right":"left"),this.renderInner(r,t,e,i);var o=t.getBoxLayoutParams(),s={width:i.getWidth(),height:i.getHeight()},l=t.get("padding"),u=h.getLayoutRect(o,s,l),d=this.layoutInner(t,r,u,n),f=h.getLayoutRect(a.defaults({width:d.width,height:d.height},o),s,l);this.group.attr("position",[f.x-d.x,f.y-d.y]),this.group.add(this._backgroundEl=c(d,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl)},renderInner:function(t,e,i,n){var r=this.getContentGroup(),o=a.createHashMap(),s=e.get("selectedMode"),l=[];i.eachRawSeries(function(t){!t.get("legendHoverLink")&&l.push(t.id)}),f(e.getData(),function(a,u){var c=a.get("name");if(this.newlineDisabled||""!==c&&"\n"!==c){var h=i.getSeriesByName(c)[0];if(!o.get(c))if(h){var f=h.getData(),g=f.getVisual("color");"function"===typeof g&&(g=g(h.getDataParams(0)));var x=f.getVisual("legendSymbol")||"roundRect",_=f.getVisual("symbol"),b=this._createItem(c,u,a,e,x,_,t,g,s);b.on("click",d(v,c,n)).on("mouseover",d(m,h.name,null,n,l)).on("mouseout",d(y,h.name,null,n,l)),o.set(c,!0)}else i.eachRawSeries(function(i){if(!o.get(c)&&i.legendDataProvider){var r=i.legendDataProvider(),h=r.indexOfName(c);if(h<0)return;var f=r.getItemVisual(h,"color"),p="roundRect",g=this._createItem(c,u,a,e,p,null,t,f,s);g.on("click",d(v,c,n)).on("mouseover",d(m,null,c,n,l)).on("mouseout",d(y,null,c,n,l)),o.set(c,!0)}},this)}else r.add(new p({newline:!0}))},this)},_createItem:function(t,e,i,n,r,o,u,c,h){var d=n.get("itemWidth"),f=n.get("itemHeight"),g=n.get("inactiveColor"),v=n.get("symbolKeepAspect"),m=n.isSelected(t),y=new p,x=i.getModel("textStyle"),_=i.get("icon"),b=i.getModel("tooltip"),w=b.parentModel;if(r=_||r,y.add(s(r,0,0,d,f,m?c:g,null==v||v)),!_&&o&&(o!==r||"none"===o)){var S=.8*f;"none"===o&&(o="circle"),y.add(s(o,(d-S)/2,(f-S)/2,S,S,m?c:g,null==v||v))}var M="left"===u?d+5:-5,C=u,T=n.get("formatter"),I=t;"string"===typeof T&&T?I=T.replace("{name}",null!=t?t:""):"function"===typeof T&&(I=T(t)),y.add(new l.Text({style:l.setTextStyle({},x,{text:I,x:M,y:f/2,textFill:m?x.getTextColor():g,textAlign:C,textVerticalAlign:"middle"})}));var A=new l.Rect({shape:y.getBoundingRect(),invisible:!0,tooltip:b.get("show")?a.extend({content:t,formatter:w.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:n.componentIndex,name:t,$vars:["name"]}},b.option):null});return y.add(A),y.eachChild(function(t){t.silent=!0}),A.silent=!h,this.getContentGroup().add(y),l.setHoverStyle(y),y.__legendDataIndex=e,y},layoutInner:function(t,e,i){var n=this.getContentGroup();h.box(t.get("orient"),n,t.get("itemGap"),i.width,i.height);var r=n.getBoundingRect();return n.attr("position",[-r.x,-r.y]),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function v(t,e){e.dispatchAction({type:"legendToggleSelect",name:t})}function m(t,e,i,n){var r=i.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||i.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:n})}function y(t,e,i,n){var r=i.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||i.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:n})}t.exports=g},"607d":function(t,e,i){var n=i("1fab");e.Dispatcher=n;var r=i("22d1"),a="undefined"!==typeof window&&!!window.addEventListener,o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/;function s(t){return t.getBoundingClientRect?t.getBoundingClientRect():{left:0,top:0}}function l(t,e,i,n){return i=i||{},n||!r.canvasSupported?u(t,e,i):r.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e.offsetX?(i.zrX=e.offsetX,i.zrY=e.offsetY):u(t,e,i),i}function u(t,e,i){var n=s(t);i.zrX=e.clientX-n.left,i.zrY=e.clientY-n.top}function c(t,e,i){if(e=e||window.event,null!=e.zrX)return e;var n=e.type,r=n&&n.indexOf("touch")>=0;if(r){var a="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];a&&l(t,a,e,i)}else l(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function h(t,e,i){a?t.addEventListener(e,i):t.attachEvent("on"+e,i)}function d(t,e,i){a?t.removeEventListener(e,i):t.detachEvent("on"+e,i)}var f=a?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function p(t){return 2===t.which||3===t.which}function g(t){return t.which>1}e.clientToLocal=l,e.normalizeEvent=c,e.addEventListener=h,e.removeEventListener=d,e.stop=f,e.isMiddleOrRightButtonOnMouseUpDown=p,e.notLeftMouse=g},6179:function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("6d8b")),a=i("4319"),o=i("80f0"),s=i("ec6f"),l=i("2b17"),u=l.defaultDimValueGetters,c=l.DefaultDataProvider,h=i("2f45"),d=h.summarizeDimensions,f=r.isObject,p="undefined",g=-1,v="e\0\0",m={float:typeof Float64Array===p?Array:Float64Array,int:typeof Int32Array===p?Array:Int32Array,ordinal:Array,number:Array,time:Array},y=typeof Uint32Array===p?Array:Uint32Array,x=typeof Int32Array===p?Array:Int32Array,_=typeof Uint16Array===p?Array:Uint16Array;function b(t){return t._rawCount>65535?y:_}function w(t){var e=t.constructor;return e===Array?t.slice():new e(t)}var S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],M=["_extent","_approximateExtent","_rawExtent"];function C(t,e){r.each(S.concat(e.__wrappedMethods||[]),function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t.__wrappedMethods=e.__wrappedMethods,r.each(M,function(i){t[i]=r.clone(e[i])}),t._calculationInfo=r.extend(e._calculationInfo)}var T=function(t,e){t=t||["x","y"];for(var i={},n=[],a={},o=0;o<t.length;o++){var s=t[o];r.isString(s)&&(s={name:s});var l=s.name;s.type=s.type||"float",s.coordDim||(s.coordDim=l,s.coordDimIndex=0),s.otherDims=s.otherDims||{},n.push(l),i[l]=s,s.index=o,s.createInvertedIndices&&(a[l]=[])}this.dimensions=n,this._dimensionInfos=i,this.hostModel=e,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=d(this),this._invertedIndicesMap=a,this._calculationInfo={}},I=T.prototype;function A(t,e,i,n,r){var a=m[e.type],o=n-1,s=e.name,l=t[s][o];if(l&&l.length<i){for(var u=new a(Math.min(r-o*i,i)),c=0;c<l.length;c++)u[c]=l[c];t[s][o]=u}for(var h=n*i;h<r;h+=i)t[s].push(new a(Math.min(r-h,i)))}function D(t){var e=t._invertedIndicesMap;r.each(e,function(i,n){var r=t._dimensionInfos[n],a=r.ordinalMeta;if(a){i=e[n]=new x(a.categories.length);for(var o=0;o<i.length;o++)i[o]=g;for(o=0;o<t._count;o++)i[t.get(n,o)]=o}})}function k(t,e,i){var n;if(null!=e){var r=t._chunkSize,a=Math.floor(i/r),o=i%r,s=t.dimensions[e],l=t._storage[s][a];if(l){n=l[o];var u=t._dimensionInfos[s].ordinalMeta;u&&u.categories.length&&(n=u.categories[n])}}return n}function O(t){return t}function L(t){return t<this._count&&t>=0?this._indices[t]:-1}function P(t,e){var i=t._idList[e];return null==i&&(i=k(t,t._idDimIdx,e)),null==i&&(i=v+e),i}function E(t){return r.isArray(t)||(t=[t]),t}function R(t,e){var i=t.dimensions,n=new T(r.map(i,t.getDimensionInfo,t),t.hostModel);C(n,t);for(var a=n._storage={},o=t._storage,s=0;s<i.length;s++){var l=i[s];o[l]&&(r.indexOf(e,l)>=0?(a[l]=N(o[l]),n._rawExtent[l]=B(),n._extent[l]=null):a[l]=o[l])}return n}function N(t){for(var e=new Array(t.length),i=0;i<t.length;i++)e[i]=w(t[i]);return e}function B(){return[1/0,-1/0]}I.type="list",I.hasItemOption=!0,I.getDimension=function(t){return isNaN(t)||(t=this.dimensions[t]||t),t},I.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},I.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},I.mapDimension=function(t,e){var i=this._dimensionsSummary;if(null==e)return i.encodeFirstDimNotExtra[t];var n=i.encode[t];return!0===e?(n||[]).slice():n&&n[e]},I.initData=function(t,e,i){var n=s.isInstance(t)||r.isArrayLike(t);n&&(t=new c(t,this.dimensions.length)),this._rawData=t,this._storage={},this._indices=null,this._nameList=e||[],this._idList=[],this._nameRepeatCount={},i||(this.hasItemOption=!1),this.defaultDimValueGetter=u[this._rawData.getSource().sourceFormat],this._dimValueGetter=i=i||this.defaultDimValueGetter,this._dimValueGetterArrayRows=u.arrayRows,this._rawExtent={},this._initDataFromProvider(0,t.count()),t.pure&&(this.hasItemOption=!1)},I.getProvider=function(){return this._rawData},I.appendData=function(t){var e=this._rawData,i=this.count();e.appendData(t);var n=e.count();e.persistent||(n+=i),this._initDataFromProvider(i,n)},I.appendValues=function(t,e){for(var i=this._chunkSize,n=this._storage,r=this.dimensions,a=r.length,o=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e?e.length:0),u=this._chunkCount,c=0;c<a;c++){var h=r[c];o[h]||(o[h]=B()),n[h]||(n[h]=[]),A(n,this._dimensionInfos[h],i,u,l),this._chunkCount=n[h].length}for(var d=new Array(a),f=s;f<l;f++){for(var p=f-s,g=Math.floor(f/i),v=f%i,m=0;m<a;m++){h=r[m];var y=this._dimValueGetterArrayRows(t[p]||d,h,p,m);n[h][g][v]=y;var x=o[h];y<x[0]&&(x[0]=y),y>x[1]&&(x[1]=y)}e&&(this._nameList[f]=e[p])}this._rawCount=this._count=l,this._extent={},D(this)},I._initDataFromProvider=function(t,e){if(!(t>=e)){for(var i,n=this._chunkSize,r=this._rawData,a=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;p<s;p++){var g=o[p];h[g]||(h[g]=B());var v=l[g];0===v.otherDims.itemName&&(i=this._nameDimIdx=p),0===v.otherDims.itemId&&(this._idDimIdx=p),a[g]||(a[g]=[]),A(a,v,n,f,e),this._chunkCount=a[g].length}for(var m=new Array(s),y=t;y<e;y++){m=r.getItem(y,m);for(var x=Math.floor(y/n),_=y%n,b=0;b<s;b++){g=o[b];var w=a[g][x],S=this._dimValueGetter(m,g,y,b);w[_]=S;var M=h[g];S<M[0]&&(M[0]=S),S>M[1]&&(M[1]=S)}if(!r.pure){var C=u[y];if(m&&null==C)if(null!=m.name)u[y]=C=m.name;else if(null!=i){var T=o[i],I=a[T][x];if(I){C=I[_];var k=l[T].ordinalMeta;k&&k.categories.length&&(C=k.categories[C])}}var O=null==m?null:m.id;null==O&&null!=C&&(d[C]=d[C]||0,O=C,d[C]>0&&(O+="__ec__"+d[C]),d[C]++),null!=O&&(c[y]=O)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},D(this)}},I.count=function(){return this._count},I.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,i=this._count;if(e===Array){r=new e(i);for(var n=0;n<i;n++)r[n]=t[n]}else r=new e(t.buffer,0,i)}else{e=b(this);var r=new e(this.count());for(n=0;n<r.length;n++)r[n]=n}return r},I.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var i=this._storage;if(!i[t])return NaN;e=this.getRawIndex(e);var n=Math.floor(e/this._chunkSize),r=e%this._chunkSize,a=i[t][n],o=a[r];return o},I.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var i=this._storage[t];if(!i)return NaN;var n=Math.floor(e/this._chunkSize),r=e%this._chunkSize,a=i[n];return a[r]},I._getFast=function(t,e){var i=Math.floor(e/this._chunkSize),n=e%this._chunkSize,r=this._storage[t][i];return r[n]},I.getValues=function(t,e){var i=[];r.isArray(t)||(e=t,t=this.dimensions);for(var n=0,a=t.length;n<a;n++)i.push(this.get(t[n],e));return i},I.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,i=this._dimensionInfos,n=0,r=e.length;n<r;n++)if("ordinal"!==i[e[n]].type&&isNaN(this.get(e[n],t)))return!1;return!0},I.getDataExtent=function(t){t=this.getDimension(t);var e=this._storage[t],i=B();if(!e)return i;var n,r=this.count(),a=!this._indices;if(a)return this._rawExtent[t].slice();if(n=this._extent[t],n)return n.slice();n=i;for(var o=n[0],s=n[1],l=0;l<r;l++){var u=this._getFast(t,this.getRawIndex(l));u<o&&(o=u),u>s&&(s=u)}return n=[o,s],this._extent[t]=n,n},I.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},I.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},I.getCalculationInfo=function(t){return this._calculationInfo[t]},I.setCalculationInfo=function(t,e){f(t)?r.extend(this._calculationInfo,t):this._calculationInfo[t]=e},I.getSum=function(t){var e=this._storage[t],i=0;if(e)for(var n=0,r=this.count();n<r;n++){var a=this.get(t,n);isNaN(a)||(i+=a)}return i},I.getMedian=function(t){var e=[];this.each(t,function(t,i){isNaN(t)||e.push(t)});var i=[].concat(e).sort(function(t,e){return t-e}),n=this.count();return 0===n?0:n%2===1?i[(n-1)/2]:(i[n/2]+i[n/2-1])/2},I.rawIndexOf=function(t,e){var i=t&&this._invertedIndicesMap[t],n=i[e];return null==n||isNaN(n)?g:n},I.indexOfName=function(t){for(var e=0,i=this.count();e<i;e++)if(this.getName(e)===t)return e;return-1},I.indexOfRawIndex=function(t){if(!this._indices)return t;if(t>=this._rawCount||t<0)return-1;var e=this._indices,i=e[t];if(null!=i&&i<this._count&&i===t)return t;var n=0,r=this._count-1;while(n<=r){var a=(n+r)/2|0;if(e[a]<t)n=a+1;else{if(!(e[a]>t))return a;r=a-1}}return-1},I.indicesOfNearest=function(t,e,i){var n=this._storage,r=n[t],a=[];if(!r)return a;null==i&&(i=1/0);for(var o=Number.MAX_VALUE,s=-1,l=0,u=this.count();l<u;l++){var c=e-this.get(t,l),h=Math.abs(c);c<=i&&h<=o&&((h<o||c>=0&&s<0)&&(o=h,s=c,a.length=0),a.push(l))}return a},I.getRawIndex=O,I.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],i=0;i<this.dimensions.length;i++){var n=this.dimensions[i];e.push(this.get(n,t))}return e},I.getName=function(t){var e=this.getRawIndex(t);return this._nameList[e]||k(this,this._nameDimIdx,e)||""},I.getId=function(t){return P(this,this.getRawIndex(t))},I.each=function(t,e,i,n){"use strict";if(this._count){"function"===typeof t&&(n=i,i=e,e=t,t=[]),i=i||n||this,t=r.map(E(t),this.getDimension,this);for(var a=t.length,o=0;o<this.count();o++)switch(a){case 0:e.call(i,o);break;case 1:e.call(i,this.get(t[0],o),o);break;case 2:e.call(i,this.get(t[0],o),this.get(t[1],o),o);break;default:for(var s=0,l=[];s<a;s++)l[s]=this.get(t[s],o);l[s]=o,e.apply(i,l)}}},I.filterSelf=function(t,e,i,n){"use strict";if(this._count){"function"===typeof t&&(n=i,i=e,e=t,t=[]),i=i||n||this,t=r.map(E(t),this.getDimension,this);for(var a=this.count(),o=b(this),s=new o(a),l=[],u=t.length,c=0,h=t[0],d=0;d<a;d++){var f,p=this.getRawIndex(d);if(0===u)f=e.call(i,d);else if(1===u){var g=this._getFast(h,p);f=e.call(i,g,d)}else{for(var v=0;v<u;v++)l[v]=this._getFast(h,p);l[v]=d,f=e.apply(i,l)}f&&(s[c++]=p)}return c<a&&(this._indices=s),this._count=c,this._extent={},this.getRawIndex=this._indices?L:O,this}},I.selectRange=function(t){"use strict";if(this._count){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);var n=e.length;if(n){var r=this.count(),a=b(this),o=new a(r),s=0,l=e[0],u=t[l][0],c=t[l][1],h=!1;if(!this._indices){var d=0;if(1===n){for(var f=this._storage[e[0]],p=0;p<this._chunkCount;p++)for(var g=f[p],v=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<v;m++){var y=g[m];(y>=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],w=t[e[1]][1];for(p=0;p<this._chunkCount;p++){g=f[p];var S=x[p];for(v=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<v;m++){y=g[m];var M=S[m];(y>=u&&y<=c||isNaN(y))&&(M>=_&&M<=w||isNaN(M))&&(o[s++]=d),d++}}h=!0}}if(!h)if(1===n)for(m=0;m<r;m++){var C=this.getRawIndex(m);y=this._getFast(l,C);(y>=u&&y<=c||isNaN(y))&&(o[s++]=C)}else for(m=0;m<r;m++){var T=!0;for(C=this.getRawIndex(m),p=0;p<n;p++){var I=e[p];y=this._getFast(i,C);(y<t[I][0]||y>t[I][1])&&(T=!1)}T&&(o[s++]=this.getRawIndex(m))}return s<r&&(this._indices=o),this._count=s,this._extent={},this.getRawIndex=this._indices?L:O,this}}},I.mapArray=function(t,e,i,n){"use strict";"function"===typeof t&&(n=i,i=e,e=t,t=[]),i=i||n||this;var r=[];return this.each(t,function(){r.push(e&&e.apply(this,arguments))},i),r},I.map=function(t,e,i,n){"use strict";i=i||n||this,t=r.map(E(t),this.getDimension,this);var a=R(this,t);a._indices=this._indices,a.getRawIndex=a._indices?L:O;for(var o=a._storage,s=[],l=this._chunkSize,u=t.length,c=this.count(),h=[],d=a._rawExtent,f=0;f<c;f++){for(var p=0;p<u;p++)h[p]=this.get(t[p],f);h[u]=f;var g=e&&e.apply(i,h);if(null!=g){"object"!==typeof g&&(s[0]=g,g=s);for(var v=this.getRawIndex(f),m=Math.floor(v/l),y=v%l,x=0;x<g.length;x++){var _=t[x],b=g[x],w=d[_],S=o[_];S&&(S[m][y]=b),b<w[0]&&(w[0]=b),b>w[1]&&(w[1]=b)}}}return a},I.downSample=function(t,e,i,n){for(var r=R(this,[t]),a=r._storage,o=[],s=Math.floor(1/e),l=a[t],u=this.count(),c=this._chunkSize,h=r._rawExtent[t],d=new(b(this))(u),f=0,p=0;p<u;p+=s){s>u-p&&(s=u-p,o.length=s);for(var g=0;g<s;g++){var v=this.getRawIndex(p+g),m=Math.floor(v/c),y=v%c;o[g]=l[m][y]}var x=i(o),_=this.getRawIndex(Math.min(p+n(o,x)||0,u-1)),w=Math.floor(_/c),S=_%c;l[w][S]=x,x<h[0]&&(h[0]=x),x>h[1]&&(h[1]=x),d[f++]=_}return r._count=f,r._indices=d,r.getRawIndex=L,r},I.getItemModel=function(t){var e=this.hostModel;return new a(this.getRawDataItem(t),e,e&&e.ecModel)},I.diff=function(t){var e=this;return new o(t?t.getIndices():[],this.getIndices(),function(e){return P(t,e)},function(t){return P(e,t)})},I.getVisual=function(t){var e=this._visual;return e&&e[t]},I.setVisual=function(t,e){if(f(t))for(var i in t)t.hasOwnProperty(i)&&this.setVisual(i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},I.setLayout=function(t,e){if(f(t))for(var i in t)t.hasOwnProperty(i)&&this.setLayout(i,t[i]);else this._layout[t]=e},I.getLayout=function(t){return this._layout[t]},I.getItemLayout=function(t){return this._itemLayouts[t]},I.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?r.extend(this._itemLayouts[t]||{},e):e},I.clearItemLayouts=function(){this._itemLayouts.length=0},I.getItemVisual=function(t,e,i){var n=this._itemVisuals[t],r=n&&n[e];return null!=r||i?r:this.getVisual(e)},I.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{},r=this.hasItemVisual;if(this._itemVisuals[t]=n,f(e))for(var a in e)e.hasOwnProperty(a)&&(n[a]=e[a],r[a]=!0);else n[e]=i,r[e]=!0},I.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var z=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};I.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(z,e)),this._graphicEls[t]=e},I.getItemGraphicEl=function(t){return this._graphicEls[t]},I.eachItemGraphicEl=function(t,e){r.each(this._graphicEls,function(i,n){i&&t&&t.call(e,i,n)})},I.cloneShallow=function(t){if(!t){var e=r.map(this.dimensions,this.getDimensionInfo,this);t=new T(e,this.hostModel)}if(t._storage=this._storage,C(t,this),this._indices){var i=this._indices.constructor;t._indices=new i(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?L:O,t},I.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(r.slice(arguments)))})},I.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],I.CHANGABLE_METHODS=["filterSelf","selectRange"];var F=T;t.exports=F},"620b":function(t,e,i){var n=i("401b"),r=n.distance;function a(t,e,i,n,r,a,o){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*o+(-3*(e-i)-2*s-l)*a+s*r+e}function o(t,e){for(var i=t.length,n=[],o=0,s=1;s<i;s++)o+=r(t[s-1],t[s]);var l=o/2;l=l<i?i:l;for(s=0;s<l;s++){var u,c,h,d=s/(l-1)*(e?i:i-1),f=Math.floor(d),p=d-f,g=t[f%i];e?(u=t[(f-1+i)%i],c=t[(f+1)%i],h=t[(f+2)%i]):(u=t[0===f?f:f-1],c=t[f>i-2?i-1:f+1],h=t[f>i-3?i-1:f+2]);var v=p*p,m=p*v;n.push([a(u[0],g[0],c[0],h[0],p,v,m),a(u[1],g[1],c[1],h[1],p,v,m)])}return n}t.exports=o},6212:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"node-basic-card"},[i("div",{staticClass:"version-wrapper"},[i("div",{staticClass:"version-title"},[t._v(t._s(t.$t("Overview.version"))+": "+t._s(t.record.version))])]),i("div",{staticClass:"basic-info"},[i("el-row",[i("el-form",{staticClass:"node-form",attrs:{"label-suffix":":","label-position":"left","label-width":"150px"}},[i("el-col",{attrs:{span:12}},[i("el-form-item",{attrs:{label:t.$t("Overview.systemTime")}},[i("span",{staticClass:"form-item-value"},[t._v(t._s(t.record.datetime))])])],1),i("el-col",{attrs:{span:12}},[i("el-form-item",{attrs:{label:t.$t("Overview.memory")}},[i("span",{staticClass:"form-item-value"},[t._v("\n "+t._s(t._f("formatMemory")(t.record.memory_used))+" / "+t._s(t._f("formatMemory")(t.record.memory_total))+"\n ")])])],1),i("el-col",{attrs:{span:12}},[i("el-form-item",{attrs:{label:t.$t("Overview.uptime")}},[i("span",{staticClass:"form-item-value"},[t._v(t._s(t.record.uptime))])])],1),i("el-col",{attrs:{span:12}},[i("el-form-item",{attrs:{label:t.$t("Overview.maxFds")}},[i("span",{staticClass:"form-item-value"},[t._v(t._s(t.record.max_fds))])])],1),i("el-col",{attrs:{span:12}},[i("el-form-item",{attrs:{label:"OTP Release"}},[i("span",{staticClass:"form-item-value"},[t._v(t._s(t.record.otp_release))])])],1),i("el-col",{attrs:{span:12}},[i("el-form-item",{attrs:{label:"Erlang "+t.$t("Overview.process")}},[i("span",{staticClass:"form-item-value"},[t._v(t._s(t.record.process_used)+" / "+t._s(t.record.process_available))])])],1),i("el-col",{attrs:{span:12}},[i("el-form-item",{attrs:{label:t.$t("Overview.nodeState")}},[i("span",{staticClass:"form-item-value"},[i("a-badge",{attrs:{"is-dot":"",status:"Running"===t.record.node_status?"success":"error",text:"Running"===t.record.node_status?t.$t("Overview.running"):t.$t("Overview.stopped")}})],1)])],1),i("el-col",{attrs:{span:12}},[i("el-form-item",{attrs:{label:"CPU "+t.$t("Overview.load")}},[i("span",{staticClass:"form-item-value"},[t._v(" "+t._s(t.record.load1)+" / "+t._s(t.record.load5)+" / "+t._s(t.record.load15)+" ")]),i("el-popover",{attrs:{trigger:"hover",content:"load1/load5/load15"}},[i("i",{staticClass:"el-icon-question",attrs:{slot:"reference"},slot:"reference"})])],1)],1),i("el-col",{attrs:{span:12}},[i("el-form-item",{attrs:{label:t.$t("Overview.currentConnection")}},[i("span",{staticClass:"form-item-value"},[t._v(" "+t._s(t.record["connections.count"])+" / "+t._s(t.record["connections.max"])+" ")])])],1),i("el-col",{attrs:{span:12}},[i("el-form-item",{attrs:{label:t.$t("Overview.topics")}},[i("span",{staticClass:"form-item-value"},[t._v(" "+t._s(t.record["topics.count"])+" / "+t._s(t.record["topics.max"])+" ")])])],1),i("el-col",{attrs:{span:12}},[i("el-form-item",{attrs:{label:t.$t("Overview.subscription")}},[i("span",{staticClass:"form-item-value"},[t._v("\n "+t._s(t.record["subscriptions.count"])+" / "+t._s(t.record["subscriptions.max"])+"\n ")])])],1),i("el-col",{attrs:{span:12}},[i("el-form-item",{attrs:{label:t.$t("Overview.retained")}},[i("span",{staticClass:"form-item-value"},[t._v(" "+t._s(t.record["retained.count"])+" / "+t._s(t.record["retained.max"])+" ")])])],1),i("el-col",{attrs:{span:12}},[i("el-form-item",{attrs:{label:t.$t("Overview.shareSubscription")}},[i("span",{staticClass:"form-item-value"},[t._v("\n "+t._s(t.record["subscriptions.shared.count"])+" / "+t._s(t.record["subscriptions.shared.max"])+"\n ")])])],1)],1)],1),t.showButton?i("el-button",{staticClass:"form-btn",attrs:{type:"primary",size:"small"},on:{click:t.toDetails}},[t._v("\n "+t._s(t.$t("Overview.viewMore"))+"\n ")]):t._e()],1)])},r=[],a=i("90b9"),o={name:"NodeBasicCard",components:{},filters:{formatMemory:function(t){return"number"===typeof t?Object(a["d"])(t):t}},props:{value:{type:Object,default:function(){return{}}},showButton:{type:Boolean,default:!0}},data:function(){return{data:{datetime:"2019-07-08 16:27:14",node:"emqx@127.0.0.1",node_status:"Running",otp_release:"R21/10.3.4",sysdescr:"EMQ X Broker",uptime:"2 days,6 hours, 47 minutes, 50 seconds",version:"0.0.0+build.1.ref6ab9527","subscriptions.shared.max":0,"subscriptions.max":102,"subscribers.max":102,"resources.max":2,"topics.count":1,"subscriptions.count":62,"suboptions.max":102,"topics.max":2,"sessions.persistent.max":0,"connections.max":102,"sessions.persistent.count":0,"actions.count":17,"retained.count":4,"rules.count":1,"routes.count":1,"subscriptions.shared.count":0,"suboptions.count":62,"sessions.count":62,"actions.max":17,"retained.max":4,"sessions.max":102,"rules.max":1,"routes.max":2,"resources.count":2,"subscribers.count":62,"connections.count":62,connections:77,load1:"9.41",load15:"10.59",load5:"10.77",max_fds:7168,memory_total:"1.14G",memory_used:"415.58M",name:"emqx@127.0.0.1",process_available:2097152,process_used:538}}},computed:{record:function(){return this.value}},created:function(){},methods:{toDetails:function(){this.$router.push({path:"/monitor/node",query:{name:this.record.node}})}}},s=o,l=(i("a2c2"),i("2877")),u=Object(l["a"])(s,n,r,!1,null,null,null);e["a"]=u.exports},"625e":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("6d8b")),a=".",o="___EC__COMPONENT__CONTAINER___";function s(t){var e={main:"",sub:""};return t&&(t=t.split(a),e.main=t[0]||"",e.sub=t[1]||""),e}function l(t){r.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 r.extend(i.prototype,t),i.extend=this.extend,i.superCall=d,i.superApply=f,r.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=r.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 r=n(e);r[e.sub]=t}}else i[e.main]=t;return t},t.getClass=function(t,e,n){var r=i[t];if(r&&r[o]&&(r=e?r[e]:null),n&&!r)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){t=s(t);var e=[],n=i[t.main];return n&&n[o]?r.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 r.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 a=t.extend;a&&(t.extend=function(e){var i=a.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("3eba"),r=i("2306"),a=i("f934"),o=a.getLayoutRect;n.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"}}}),n.extendComponentView({type:"title",render:function(t,e,i){if(this.group.removeAll(),t.get("show")){var n=this.group,a=t.getModel("textStyle"),s=t.getModel("subtextStyle"),l=t.get("textAlign"),u=t.get("textBaseline"),c=new r.Text({style:r.setTextStyle({},a,{text:t.get("text"),textFill:a.getTextColor()},{disableBox:!0}),z2:10}),h=c.getBoundingRect(),d=t.get("subtext"),f=new r.Text({style:r.setTextStyle({},s,{text:d,textFill:s.getTextColor(),y:h.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),g=t.get("sublink"),v=t.get("triggerEvent",!0);c.silent=!p&&!v,f.silent=!g&&!v,p&&c.on("click",function(){window.open(p,"_"+t.get("target"))}),g&&f.on("click",function(){window.open(g,"_"+t.get("subtarget"))}),c.eventData=f.eventData=v?{componentType:"title",componentIndex:t.componentIndex}:null,n.add(c),d&&n.add(f);var m=n.getBoundingRect(),y=t.getBoxLayoutParams();y.width=m.width,y.height=m.height;var x=o(y,{width:i.getWidth(),height:i.getHeight()},t.get("padding"));l||(l=t.get("left")||t.get("right"),"middle"===l&&(l="center"),"right"===l?x.x+=x.width:"center"===l&&(x.x+=x.width/2)),u||(u=t.get("top")||t.get("bottom"),"center"===u&&(u="middle"),"bottom"===u?x.y+=x.height:"middle"===u&&(x.y+=x.height/2),u=u||"top"),n.attr("position",[x.x,x.y]);var _={textAlign:l,textVerticalAlign:u};c.setStyle(_),f.setStyle(_),m=n.getBoundingRect();var b=x.margin,w=t.getItemStyle(["color","opacity"]);w.fill=t.get("backgroundColor");var S=new r.Rect({shape:{x:m.x-b[3],y:m.y-b[0],width:m.width+b[1]+b[3],height:m.height+b[0]+b[2],r:t.get("borderRadius")},style:w,silent:!0});r.subPixelOptimizeRect(S),n.add(S)}}})},"640a":function(t,e,i){"use strict";i.d(e,"h",function(){return l}),i.d(e,"b",function(){return c}),i.d(e,"c",function(){return h}),i.d(e,"f",function(){return d}),i.d(e,"e",function(){return f}),i.d(e,"d",function(){return p}),i.d(e,"g",function(){return g}),i.d(e,"a",function(){return m});var n=i("cebc"),r=(i("a481"),i("ac6a"),i("456d"),i("96cf"),i("3b8d")),a=i("1f75");function o(){return a["a"].get("/brokers")}function s(){return a["a"].get("/stats")}function l(){return u.apply(this,arguments)}function u(){return u=Object(r["a"])(regeneratorRuntime.mark(function t(){var e,i,r,l,u;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o();case 2:return e=t.sent,t.next=5,s();case 5:return i=t.sent,r={},e.forEach(function(t){r[t.node]=t}),l={},i.forEach(function(t){l[t.node]=t}),t.next=12,a["a"].get("/nodes");case 12:return u=t.sent,t.abrupt("return",u.map(function(t){var e=r[t.node]||{},i=l[t.node]||{};return Object(n["a"])({},e,i,t)}));case 14:case"end":return t.stop()}},t)})),u.apply(this,arguments)}function c(){return a["a"].get("/monitor/current_metrics")}function h(){return a["a"].get("/license_info")}function d(t,e){return!t&&e&&"basic"!==e?a["a"].get("/monitor/metrics/".concat(e)):t&&!e?a["a"].get("/nodes/".concat(t,"/monitor/metrics")):t&&e&&"basic"!==e?a["a"].get("/nodes/".concat(t,"/monitor/metrics/").concat(e)):a["a"].get("/monitor/metrics")}function f(t){return a["a"].get("/nodes/".concat(t,"/metrics"))}function p(t){return a["a"].get("/nodes/".concat(t,"/listeners"))}function g(t){return v.apply(this,arguments)}function v(){return v=Object(r["a"])(regeneratorRuntime.mark(function t(e){var i,r,o;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["a"].get("/brokers/".concat(e));case 2:return i=t.sent,t.next=5,a["a"].get("/nodes/".concat(e));case 5:return r=t.sent,t.next=8,a["a"].get("/nodes/".concat(e,"/stats"));case 8:return o=t.sent,t.abrupt("return",Object(n["a"])({},i,o,r));case 10:case"end":return t.stop()}},t)})),v.apply(this,arguments)}function m(){return y.apply(this,arguments)}function y(){return y=Object(r["a"])(regeneratorRuntime.mark(function t(){var e,i;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e={client:{authSuccess:0,authFailed:0,connectSuccess:0},message:{received:0,sent:0,dropped:0},messageDrop:{expired:0,noSubscribers:0}},t.next=3,a["a"].get("/metrics");case 3:return i=t.sent,i.forEach(function(t){var i=t.metrics;e.client.connectSuccess+=i["client.connected"],e.client.authSuccess+=i["client.auth.success"],e.client.authFailed+=i["client.auth.failure"],e.message.received+=i["messages.received"],e.message.sent+=i["messages.sent"],e.message.dropped+=i["messages.dropped"],e.messageDrop.expired+=i["messages.dropped.expired"],e.messageDrop.noSubscribers+=i["messages.dropped.no_subscribers"]}),t.abrupt("return",e);case 6:case"end":return t.stop()}},t)})),y.apply(this,arguments)}},6679:function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("3eba")),a=i("cd33"),o=r.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,i,n){this.axisPointerClass&&a.fixValue(t),o.superApply(this,"render",arguments),s(this,t,e,i,n,!0)},updateAxisPointer:function(t,e,i,n,r){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,r,s){var u=o.getAxisPointerClass(t.axisPointerClass);if(u){var c=a.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},"66b9":function(t,e,i){},"67cc":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("3eba")),a=i("6d8b"),o=i("2306"),s=i("e7aa"),l=s.setLabel,u=i("4319"),c=i("b5c7"),h=i("cbe5"),d=["itemStyle","barBorderWidth"];a.extend(u.prototype,c);var f=r.extendChartView({type:"bar",render:function(t,e,i){this._updateDrawMode(t);var n=t.get("coordinateSystem");return"cartesian2d"!==n&&"polar"!==n||(this._isLargeDraw?this._renderLarge(t,e,i):this._renderNormal(t,e,i)),this.group},incrementalPrepareRender:function(t,e,i){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,i,n){this._incrementalRenderLarge(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t,e,i){var n,r=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?n=u.isHorizontal():"polar"===l.type&&(n="angle"===u.dim);var c=t.isAnimationEnabled()?t:null;a.diff(s).add(function(e){if(a.hasValue(e)){var i=a.getItemModel(e),o=m[l.type](a,e,i),s=p[l.type](a,e,i,o,n,c);a.setItemGraphicEl(e,s),r.add(s),y(s,a,e,i,o,t,n,"polar"===l.type)}}).update(function(e,i){var u=s.getItemGraphicEl(i);if(a.hasValue(e)){var h=a.getItemModel(e),d=m[l.type](a,e,h);u?o.updateProps(u,{shape:d},c,e):u=p[l.type](a,e,h,d,n,c,!0),a.setItemGraphicEl(e,u),r.add(u),y(u,a,e,h,d,t,n,"polar"===l.type)}else r.remove(u)}).remove(function(t){var e=s.getItemGraphicEl(t);"cartesian2d"===l.type?e&&g(t,c,e):e&&v(t,c,e)}).execute(),this._data=a},_renderLarge:function(t,e,i){this._clear(),b(t,this.group)},_incrementalRenderLarge:function(t,e){b(e,this.group,!0)},dispose:a.noop,remove:function(t){this._clear(t)},_clear:function(t){var e=this.group,i=this._data;t&&t.get("animation")&&i&&!this._isLargeDraw?i.eachItemGraphicEl(function(e){"sector"===e.type?v(e.dataIndex,t,e):g(e.dataIndex,t,e)}):e.removeAll(),this._data=null}}),p={cartesian2d:function(t,e,i,n,r,s,l){var u=new o.Rect({shape:a.extend({},n)});if(s){var c=u.shape,h=r?"height":"width",d={};c[h]=0,d[h]=n[h],o[l?"updateProps":"initProps"](u,{shape:d},s,e)}return u},polar:function(t,e,i,n,r,s,l){var u=n.startAngle<n.endAngle,c=new o.Sector({shape:a.defaults({clockwise:u},n)});if(s){var h=c.shape,d=r?"r":"endAngle",f={};h[d]=r?0:n.startAngle,f[d]=n[d],o[l?"updateProps":"initProps"](c,{shape:f},s,e)}return c}};function g(t,e,i){i.style.text=null,o.updateProps(i,{shape:{width:0}},e,t,function(){i.parent&&i.parent.remove(i)})}function v(t,e,i){i.style.text=null,o.updateProps(i,{shape:{r:i.shape.r0}},e,t,function(){i.parent&&i.parent.remove(i)})}var m={cartesian2d:function(t,e,i){var n=t.getItemLayout(e),r=x(i,n),a=n.width>0?1:-1,o=n.height>0?1:-1;return{x:n.x+a*r/2,y:n.y+o*r/2,width:n.width-a*r,height:n.height-o*r}},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 y(t,e,i,n,r,s,u,c){var h=e.getItemVisual(i,"color"),d=e.getItemVisual(i,"opacity"),f=n.getModel("itemStyle"),p=n.getModel("emphasis.itemStyle").getBarItemStyle();c||t.setShape("r",f.get("barBorderRadius")||0),t.useStyle(a.defaults({fill:h,opacity:d},f.getBarItemStyle()));var g=n.getShallow("cursor");g&&t.attr("cursor",g);var v=u?r.height>0?"bottom":"top":r.width>0?"left":"right";c||l(t.style,p,n,h,s,i,v),o.setHoverStyle(t,p)}function x(t,e){var i=t.get(d)||0;return Math.min(i,Math.abs(e.width),Math.abs(e.height))}var _=h.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var i=e.points,n=this.__startPoint,r=this.__valueIdx,a=0;a<i.length;a+=2)n[this.__valueIdx]=i[a+r],t.moveTo(n[0],n[1]),t.lineTo(i[a],i[a+1])}});function b(t,e,i){var n=t.getData(),r=[],a=n.getLayout("valueAxisHorizontal")?1:0;r[1-a]=n.getLayout("valueAxisStart");var o=new _({shape:{points:n.getLayout("largePoints")},incremental:!!i,__startPoint:r,__valueIdx:a});e.add(o),w(o,t,n)}function w(t,e,i){var n=i.getVisual("borderColor")||i.getVisual("color"),r=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(r),t.style.fill=null,t.style.stroke=n,t.style.lineWidth=i.getLayout("barWidth")}t.exports=f},"68ab":function(t,e,i){var n=i("4a3f"),r=n.quadraticProjectPoint;function a(t,e,i,n,a,o,s,l,u){if(0===s)return!1;var c=s;if(u>e+c&&u>n+c&&u>o+c||u<e-c&&u<n-c&&u<o-c||l>t+c&&l>i+c&&l>a+c||l<t-c&&l<i-c&&l<a-c)return!1;var h=r(t,e,i,n,a,o,l,u,null);return h<=c/2}e.containStroke=a},"697e":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("6d8b")),a=i("18c0"),o=i("89e3"),s=i("e0d8"),l=i("3842"),u=i("9d57"),c=u.prepareLayoutBarSeries,h=u.makeColumnLayout,d=u.retrieveColumnLayout,f=i("9850");function p(t,e){var i,n,a,o=t.type,s=e.getMin(),u=e.getMax(),d=null!=s,f=null!=u,p=t.getExtent();"ordinal"===o?i=e.getCategories().length:(n=e.get("boundaryGap"),r.isArray(n)||(n=[n||0,n||0]),"boolean"===typeof n[0]&&(n=[0,0]),n[0]=l.parsePercent(n[0],1),n[1]=l.parsePercent(n[1],1),a=p[1]-p[0]||Math.abs(p[0])),null==s&&(s="ordinal"===o?i?0:NaN:p[0]-n[0]*a),null==u&&(u="ordinal"===o?i?i-1:NaN:p[1]+n[1]*a),"dataMin"===s?s=p[0]:"function"===typeof s&&(s=s({min:p[0],max:p[1]})),"dataMax"===u?u=p[1]:"function"===typeof u&&(u=u({min:p[0],max:p[1]})),(null==s||!isFinite(s))&&(s=NaN),(null==u||!isFinite(u))&&(u=NaN),t.setBlank(r.eqNaN(s)||r.eqNaN(u)||"ordinal"===o&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(s>0&&u>0&&!d&&(s=0),s<0&&u<0&&!f&&(u=0));var v=e.ecModel;if(v&&"time"===o){var m,y=c("bar",v);if(r.each(y,function(t){m|=t.getBaseAxis()===e.axis}),m){var x=h(y),_=g(s,u,e,x);s=_.min,u=_.max}}return[s,u]}function g(t,e,i,n){var a=i.axis.getExtent(),o=a[1]-a[0],s=d(n,i.axis);if(void 0===s)return{min:t,max:e};var l=1/0;r.each(s,function(t){l=Math.min(t.offset,l)});var u=-1/0;r.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 v(t,e){var i=p(t,e),n=null!=e.getMin(),r=null!=e.getMax(),a=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:a,fixMin:n,fixMax:r,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)}function m(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new a(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,r){return null!=i&&(r=n-i),e(_(t,n),r)}: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,r,a="category"===t.type,o=i.getExtent();a?r=i.count():(n=i.getTicks(),r=n.length);var s,l=t.getLabelModel(),u=x(t),c=1;r>40&&(c=Math.ceil(r/40));for(var h=0;h<r;h+=c){var d=n?n[h]:o[0]+h,f=u(d),p=l.getTextRect(f),g=w(p,l.get("rotate")||0);s?s.union(g):s=g}return s}}function w(t,e){var i=e*Math.PI/180,n=t.plain(),r=n.width,a=n.height,o=r*Math.cos(i)+a*Math.sin(i),s=r*Math.sin(i)+a*Math.cos(i),l=new f(n.x,n.y,o,s);return l}function S(t){var e=t.get("interval");return null==e?"auto":e}function M(t){return"category"===t.type&&0===S(t.getLabelModel())}i("216a"),i("8c2a"),e.getScaleExtent=p,e.niceScaleExtent=v,e.createScaleByModel=m,e.ifAxisCrossZero=y,e.makeLabelFormatter=x,e.getAxisRawValue=_,e.estimateLabelUnionRect=b,e.getOptionCategoryInterval=S,e.shouldShowAllLabels=M},"697e7":function(t,e,i){var n=i("de00"),r=i("22d1"),a=i("6d8b"),o=i("d2cf"),s=i("afa0"),l=i("ed21"),u=i("30a3"),c=i("cdaa"),h=!r.canvasSupported,d={canvas:l},f={},p="4.0.7";function g(t,e){var i=new _(n(),t,e);return f[i.id]=i,i}function v(t){if(t)t.dispose();else{for(var e in f)f.hasOwnProperty(e)&&f[e].dispose();f={}}return this}function m(t){return f[t]}function y(t,e){d[t]=e}function x(t){delete f[t]}var _=function(t,e,i){i=i||{},this.dom=e,this.id=t;var n=this,l=new s,f=i.renderer;if(h){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");f="vml"}else f&&d[f]||(f="canvas");var p=new d[f](e,l,i,t);this.storage=l,this.painter=p;var g=r.node||r.worker?null:new c(p.getViewportRoot());this.handler=new o(l,p,g,p.root),this.animation=new u({stage:{update:a.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var v=l.delFromStorage,m=l.addToStorage;l.delFromStorage=function(t){v.call(l,t),t&&t.removeSelfFromZr(n)},l.addToStorage=function(t){m.call(l,t),t.addSelfToZr(n)}};_.prototype={constructor:_,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this._needsRefresh=!0},setBackgroundColor:function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var t;this._needsRefresh&&(t=!0,this.refreshImmediately()),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately()),t&&this.trigger("rendered")},addHover:function(t,e){if(this.painter.addHover){var i=this.painter.addHover(t,e);return this.refreshHover(),i}},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e){return this.painter.pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},findHover:function(t,e){return this.handler.findHover(t,e)},on:function(t,e,i){this.handler.on(t,e,i)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler.trigger(t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,x(this.id)}},e.version=p,e.init=g,e.dispose=v,e.getInstance=m,e.registerPainter=y},"69ff":function(t,e,i){var n=i("6d8b"),r=n.each,a=n.map,o=n.isFunction,s=n.createHashMap,l=n.noop,u=i("f47d"),c=u.createTask,h=i("8918"),d=h.getUID,f=i("7e63"),p=i("843e"),g=i("e0d3"),v=g.normalizeToArray;function m(t,e,i,n){this.ecInstance=t,this.api=e,this.unfinished;i=this._dataProcessorHandlers=i.slice(),n=this._visualHandlers=n.slice();this._allHandlers=i.concat(n),this._stageTaskMap=s()}var y=m.prototype;function x(t,e,i,n,a){var o;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}a=a||{},r(e,function(e,r){if(!a.visualType||a.visualType===e.visualType){var l=t._stageTaskMap.get(e.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,d=c.agentStubMap;d.each(function(t){s(a,t)&&(t.dirty(),h=!0)}),h&&c.dirty(),_(c,n);var f=t.getPerformArgs(c,a.block);d.each(function(t){t.perform(f)}),o|=c.perform(f)}else u&&u.each(function(r,l){s(a,r)&&r.dirty();var u=t.getPerformArgs(r,a.block);u.skip=!e.performRawSeries&&i.isSeriesFiltered(r.context.model),_(r,n),o|=r.perform(u)})}}),t.unfinished|=o}y.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},y.getPerformArgs=function(t,e){if(t.__pipeline){var i=this._pipelineMap.get(t.__pipeline.id),n=i.context,r=!e&&i.progressiveEnabled&&(!n||n.progressiveRender)&&t.__idxInPipeline>i.blockIndex,a=r?i.step:null,o=n&&n.modDataCount,s=null!=o?Math.ceil(o/a):null;return{step:a,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(),r=n.count(),a=i.progressiveEnabled&&e.incrementalPrepareRender&&r>=i.threshold,o=t.get("large")&&r>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=i.context={progressiveRender:a,modDataCount:s,large:o}},y.restorePipelines=function(t){var e=this,i=e._pipelineMap=s();t.eachSeries(function(t){var n=t.getProgressive(),r=t.uid;i.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:n&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),L(e,t,t.dataTask)})},y.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),i=this.api;r(this._allHandlers,function(n){var r=t.get(n.uid)||t.set(n.uid,[]);n.reset&&b(this,n,r,e,i),n.overallReset&&w(this,n,r,e,i)},this)},y.prepareView=function(t,e,i,n){var r=t.renderTask,a=r.context;a.model=e,a.ecModel=i,a.api=n,r.__block=!t.incrementalPrepareRender,L(this,e,r)},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,r){var a=i.seriesTaskMap||(i.seriesTaskMap=s()),o=e.seriesType,l=e.getTargetSeries;function u(i){var o=i.uid,s=a.get(o)||a.set(o,c({plan:I,reset:A,count:O}));s.context={model:i,ecModel:n,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},L(t,i,s)}e.createOnAllSeries?n.eachRawSeries(u):o?n.eachRawSeriesByType(o,u):l&&l(n,r).each(u);var h=t._pipelineMap;a.each(function(t,e){h.get(e)||(t.dispose(),a.removeKey(e))})}function w(t,e,i,n,a){var o=i.overallTask=i.overallTask||c({reset:S});o.context={ecModel:n,api:a,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,L(t,e,n)}u?n.eachRawSeriesByType(u,p):h?h(n,a).each(p):(d=!1,r(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&&C}function C(){this.agent.dirty(),this.getDownstream().dirty()}function T(){this.agent&&this.agent.dirty()}function I(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function A(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=v(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?a(e,function(t,e){return k(e)}):D}var D=k(0);function k(t){return function(e,i){var n=i.data,r=i.resetDefines[t];if(r&&r.dataEach)for(var a=e.start;a<e.end;a++)r.dataEach(n,a);else r&&r.progress&&r.progress(e,n)}}function O(t){return t.data.count()}function L(t,e,i){var n=e.uid,r=t._pipelineMap.get(n);!r.head&&(r.head=i),r.tail&&r.tail.pipe(i),r.tail=i,i.__idxInPipeline=r.count++,i.__pipeline=r}function P(t){E=null;try{t(R,N)}catch(e){}return E}m.wrapStageHandler=function(t,e){return o(t)&&(t={overallReset:t,seriesType:P(t)}),t.uid=d("stageHandler"),e&&(t.visualType=e),t};var E,R={},N={};function B(t,e){for(var i in e.prototype)t[i]=l}B(R,f),B(N,p),R.eachSeriesByType=R.eachRawSeriesByType=function(t){E=t},R.eachComponent=function(t){"series"===t.mainType&&t.subType&&(E=t.subType)};var z=m;t.exports=z},"6cb7":function(t,e,i){var n=i("6d8b"),r=i("4319"),a=i("8918"),o=i("625e"),s=o.enableClassManagement,l=o.parseClassType,u=i("e0d3"),c=u.makeInner,h=i("f934"),d=i("de1c"),f=c(),p=r.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,e,i,n){r.call(this,t,e,i,n),this.uid=a.getUID("ec_cpt_model")},init:function(t,e,i,n){this.mergeDefaultAndTheme(t,i)},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,r=i?h.getLayoutParams(t):{},a=e.getTheme();n.merge(t,a.get(this.mainType)),n.merge(t,this.getDefaultOption()),i&&h.mergeLayoutParam(t,r,i)},mergeOption:function(t,e){n.merge(this.option,t,!0);var i=this.layoutMode;i&&h.mergeLayoutParam(this.option,t,i)},optionUpdated:function(t,e){},getDefaultOption:function(){var t=f(this);if(!t.defaultOption){var e=[],i=this.constructor;while(i){var r=i.prototype.defaultOption;r&&e.push(r),i=i.superClass}for(var a={},o=e.length-1;o>=0;o--)a=n.merge(a,e[o],!0);t.defaultOption=a}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}),a.enableSubTypeDefaulter(p),a.enableTopologicalTravel(p,g),n.mixin(p,d);var v=p;t.exports=v},"6d8b":function(t,e){var i={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},n={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},r=Object.prototype.toString,a=Array.prototype,o=a.forEach,s=a.filter,l=a.slice,u=a.map,c=a.reduce,h={};function d(t,e){"createCanvas"===t&&(y=null),h[t]=e}function f(t){if(null==t||"object"!==typeof t)return t;var e=t,a=r.call(t);if("[object Array]"===a){if(!X(t)){e=[];for(var o=0,s=t.length;o<s;o++)e[o]=f(t[o])}}else if(n[a]){if(!X(t)){var l=t.constructor;if(t.constructor.from)e=l.from(t);else{e=new l(t.length);for(o=0,s=t.length;o<s;o++)e[o]=f(t[o])}}}else if(!i[a]&&!X(t)&&!z(t))for(var u in e={},t)t.hasOwnProperty(u)&&(e[u]=f(t[u]));return e}function p(t,e,i){if(!R(e)||!R(t))return i?f(e):t;for(var n in e)if(e.hasOwnProperty(n)){var r=t[n],a=e[n];!R(a)||!R(r)||L(a)||L(r)||z(a)||z(r)||N(a)||N(r)||X(a)||X(r)?!i&&n in t||(t[n]=f(e[n],!0)):p(r,a,i)}return t}function g(t,e){for(var i=t[0],n=1,r=t.length;n<r;n++)i=p(i,t[n],e);return i}function v(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function m(t,e,i){for(var n in e)e.hasOwnProperty(n)&&(i?null!=e[n]:null==t[n])&&(t[n]=e[n]);return t}var y,x=function(){return h.createCanvas()};function _(){return y||(y=x().getContext("2d")),y}function b(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i}return-1}function w(t,e){var i=t.prototype;function n(){}for(var r in n.prototype=e.prototype,t.prototype=new n,i)t.prototype[r]=i[r];t.prototype.constructor=t,t.superClass=e}function S(t,e,i){t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,m(t,e,i)}function M(t){if(t)return"string"!==typeof t&&"number"===typeof t.length}function C(t,e,i){if(t&&e)if(t.forEach&&t.forEach===o)t.forEach(e,i);else if(t.length===+t.length)for(var n=0,r=t.length;n<r;n++)e.call(i,t[n],n,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(i,t[a],a,t)}function T(t,e,i){if(t&&e){if(t.map&&t.map===u)return t.map(e,i);for(var n=[],r=0,a=t.length;r<a;r++)n.push(e.call(i,t[r],r,t));return n}}function I(t,e,i,n){if(t&&e){if(t.reduce&&t.reduce===c)return t.reduce(e,i,n);for(var r=0,a=t.length;r<a;r++)i=e.call(n,i,t[r],r,t);return i}}function A(t,e,i){if(t&&e){if(t.filter&&t.filter===s)return t.filter(e,i);for(var n=[],r=0,a=t.length;r<a;r++)e.call(i,t[r],r,t)&&n.push(t[r]);return n}}function D(t,e,i){if(t&&e)for(var n=0,r=t.length;n<r;n++)if(e.call(i,t[n],n,t))return t[n]}function k(t,e){var i=l.call(arguments,2);return function(){return t.apply(e,i.concat(l.call(arguments)))}}function O(t){var e=l.call(arguments,1);return function(){return t.apply(this,e.concat(l.call(arguments)))}}function L(t){return"[object Array]"===r.call(t)}function P(t){return"function"===typeof t}function E(t){return"[object String]"===r.call(t)}function R(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function N(t){return!!i[r.call(t)]}function B(t){return!!n[r.call(t)]}function z(t){return"object"===typeof t&&"number"===typeof t.nodeType&&"object"===typeof t.ownerDocument}function F(t){return t!==t}function V(t){for(var e=0,i=arguments.length;e<i;e++)if(null!=arguments[e])return arguments[e]}function H(t,e){return null!=t?t:e}function G(t,e,i){return null!=t?t:null!=e?e:i}function W(){return Function.call.apply(l,arguments)}function j(t){if("number"===typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function U(t,e){if(!t)throw new Error(e)}function $(t){return null==t?null:"function"===typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}h.createCanvas=function(){return document.createElement("canvas")};var q="__ec_primitive__";function Y(t){t[q]=!0}function X(t){return t[q]}function Z(t){var e=L(t);this.data={};var i=this;function n(t,n){e?i.set(t,n):i.set(n,t)}t instanceof Z?t.each(n):t&&C(t,n)}function K(t){return new Z(t)}function Q(t,e){for(var i=new t.constructor(t.length+e.length),n=0;n<t.length;n++)i[n]=t[n];var r=t.length;for(n=0;n<e.length;n++)i[n+r]=e[n];return i}function J(){}Z.prototype={constructor:Z,get:function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},set:function(t,e){return this.data[t]=e},each:function(t,e){for(var i in void 0!==e&&(t=k(t,e)),this.data)this.data.hasOwnProperty(i)&&t(this.data[i],i)},removeKey:function(t){delete this.data[t]}},e.$override=d,e.clone=f,e.merge=p,e.mergeAll=g,e.extend=v,e.defaults=m,e.createCanvas=x,e.getContext=_,e.indexOf=b,e.inherits=w,e.mixin=S,e.isArrayLike=M,e.each=C,e.map=T,e.reduce=I,e.filter=A,e.find=D,e.bind=k,e.curry=O,e.isArray=L,e.isFunction=P,e.isString=E,e.isObject=R,e.isBuiltInObject=N,e.isTypedArray=B,e.isDom=z,e.eqNaN=F,e.retrieve=V,e.retrieve2=H,e.retrieve3=G,e.slice=W,e.normalizeCssArray=j,e.assert=U,e.trim=$,e.setAsPrimitive=Y,e.isPrimitive=X,e.createHashMap=K,e.concatArray=Q,e.noop=J},7023:function(t,e,i){var n=i("6d8b"),r={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=r},"71ad":function(t,e,i){var n=i("6d8b"),r={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)"]}}},a={};a.categoryAxis=n.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},r),a.valueAxis=n.merge({boundaryGap:[0,0],splitNumber:5},r),a.timeAxis=n.defaults({scale:!0,min:"dataMin",max:"dataMax"},a.valueAxis),a.logAxis=n.defaults({scale:!0,logBase:10},a.valueAxis);var o=a;t.exports=o},"73ca":function(t,e,i){var n=i("2306"),r=i("7e5b");function a(t){this._ctor=t||r,this.group=new n.Group}var o=a.prototype;function s(t,e,i,n){var r=e.getItemLayout(i);if(h(r)){var a=new t._ctor(e,i,n);e.setItemGraphicEl(i,a),t.group.add(a)}}function l(t,e,i,n,r,a){var o=e.getItemGraphicEl(n);h(i.getItemLayout(r))?(o?o.updateData(i,r,a):o=new t._ctor(i,r,a),i.setItemGraphicEl(r,o),t.group.add(o)):t.group.remove(o)}function u(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 c(t){return isNaN(t[0])||isNaN(t[1])}function h(t){return!c(t[0])&&!c(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 r=u(t);t.diff(n).add(function(i){s(e,t,i,r)}).update(function(i,a){l(e,n,t,a,i,r)}).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=u(t),this._lineData=null,this.group.removeAll()},o.incrementalUpdate=function(t,e){function i(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}for(var n=t.start;n<t.end;n++){var r=e.getItemLayout(n);if(h(r)){var a=new this._ctor(e,n,this._seriesScope);a.traverse(i),this.group.add(a),e.setItemGraphicEl(n,a)}}},o.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},o._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var d=a;t.exports=d},"74cb":function(t,e){var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},elasticOut:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},elasticInOut:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),(t*=2)<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-i.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},n=i;t.exports=n},"76a5":function(t,e,i){var n=i("19eb"),r=i("6d8b"),a=i("e86a"),o=i("a73c"),s=i("82eb"),l=s.ContextCachedBy,u=function(t){n.call(this,t)};u.prototype={constructor:u,type:"text",brush:function(t,e){var i=this.style;this.__dirty&&o.normalizeTextStyle(i,!0),i.fill=i.stroke=i.shadowBlur=i.shadowColor=i.shadowOffsetX=i.shadowOffsetY=null;var n=i.text;null!=n&&(n+=""),o.needDrawText(n,i)?(this.setTransform(t),o.renderText(this,t,n,i,null,e),this.restoreTransform(t)):t.__attrCachedBy=l.NONE},getBoundingRect:function(){var t=this.style;if(this.__dirty&&o.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var i=a.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(i.x+=t.x||0,i.y+=t.y||0,o.getStroke(t.textStroke,t.textStrokeWidth)){var n=t.textStrokeWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect}},r.inherits(u,n);var c=u;t.exports=c},7782:function(t,e,i){var n=i("3eba"),r=i("6d8b");function a(t,e){r.each(e,function(e){e.update="updateView",n.registerAction(e,function(i,n){var r={};return n.eachComponent({mainType:"series",subType:t,query:i},function(t){t[e.method]&&t[e.method](i.name,i.dataIndex);var n=t.getData();n.each(function(e){var i=n.getName(e);r[i]=t.isSelected(i)||!1})}),{name:i.name,selected:r}})})}t.exports=a},7919:function(t,e,i){var n=i("f934"),r=n.getLayoutRect,a=n.box,o=n.positionElement,s=i("eda2"),l=i("2306");function u(t,e,i){var n=e.getBoxLayoutParams(),s=e.get("padding"),l={width:i.getWidth(),height:i.getHeight()},u=r(n,l,s);a(e.get("orient"),t,e.get("itemGap"),u.width,u.height),o(t,n,l,s)}function c(t,e){var i=s.normalizeCssArray(e.get("padding")),n=e.getItemStyle(["color","opacity"]);n.fill=e.get("backgroundColor");t=new l.Rect({shape:{x:t.x-i[3],y:t.y-i[0],width:t.width+i[1]+i[3],height:t.height+i[0]+i[2],r:e.get("borderRadius")},style:n,silent:!0,z2:-1});return t}e.layout=u,e.makeBackground=c},"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},"7e5b":function(t,e,i){var n=i("6d8b"),r=i("401b"),a=i("a15a"),o=i("7f91"),s=i("2306"),l=i("3842"),u=l.round,c=["fromSymbol","toSymbol"];function h(t){return"_"+t+"Type"}function d(t,e,i){var r=e.getItemVisual(i,"color"),o=e.getItemVisual(i,t),s=e.getItemVisual(i,t+"Size");if(o&&"none"!==o){n.isArray(s)||(s=[s,s]);var l=a.createSymbol(o,-s[0]/2,-s[1]/2,s[0],s[1],r);return l.name=t,l}}function f(t){var e=new o({name:"line"});return p(e.shape,t),e}function p(t,e){var i=e[0],n=e[1],r=e[2];t.x1=i[0],t.y1=i[1],t.x2=n[0],t.y2=n[1],t.percent=1,r?(t.cpx1=r[0],t.cpy1=r[1]):(t.cpx1=NaN,t.cpy1=NaN)}function g(){var t=this,e=t.childOfName("fromSymbol"),i=t.childOfName("toSymbol"),n=t.childOfName("label");if(e||i||!n.ignore){var a=1,o=this.parent;while(o)o.scale&&(a/=o.scale[0]),o=o.parent;var s=t.childOfName("line");if(this.__dirty||s.__dirty){var l=s.shape.percent,u=s.pointAt(0),c=s.pointAt(l),h=r.sub([],c,u);if(r.normalize(h,h),e){e.attr("position",u);var d=s.tangentAt(0);e.attr("rotation",Math.PI/2-Math.atan2(d[1],d[0])),e.attr("scale",[a*l,a*l])}if(i){i.attr("position",c);d=s.tangentAt(1);i.attr("rotation",-Math.PI/2-Math.atan2(d[1],d[0])),i.attr("scale",[a*l,a*l])}if(!n.ignore){var f,p,g;n.attr("position",c);var v=5*a;if("end"===n.__position)f=[h[0]*v+c[0],h[1]*v+c[1]],p=h[0]>.8?"left":h[0]<-.8?"right":"center",g=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";else if("middle"===n.__position){var m=l/2,y=(d=s.tangentAt(m),[d[1],-d[0]]),x=s.pointAt(m);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]),f=[x[0]+y[0]*v,x[1]+y[1]*v],p="center",g="bottom";var _=-Math.atan2(d[1],d[0]);c[0]<u[0]&&(_=Math.PI+_),n.attr("rotation",_)}else f=[-h[0]*v+u[0],-h[1]*v+u[1]],p=h[0]>.8?"right":h[0]<-.8?"left":"center",g=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";n.attr({style:{textVerticalAlign:n.__verticalAlign||g,textAlign:n.__textAlign||p},position:f,scale:[a,a]})}}}}function v(t,e,i){s.Group.call(this),this._createLine(t,e,i)}var m=v.prototype;m.beforeUpdate=g,m._createLine=function(t,e,i){var r=t.hostModel,a=t.getItemLayout(e),o=f(a);o.shape.percent=0,s.initProps(o,{shape:{percent:1}},r,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)},m.updateData=function(t,e,i){var r=t.hostModel,a=this.childOfName("line"),o=t.getItemLayout(e),l={shape:{}};p(l.shape,o),s.updateProps(a,l,r,e),n.each(c,function(i){var n=t.getItemVisual(e,i),r=h(i);if(this[r]!==n){this.remove(this.childOfName(i));var a=d(i,t,e);this.add(a)}this[r]=n},this),this._updateCommonStl(t,e,i)},m._updateCommonStl=function(t,e,i){var r=t.hostModel,a=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);a.useStyle(n.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},o)),a.hoverStyle=l,n.each(c,function(t){var e=this.childOfName(t);e&&(e.setColor(p),e.setStyle({opacity:g}))},this);var v,m,y=h.getShallow("show"),x=d.getShallow("show"),_=this.childOfName("label");if((y||x)&&(v=p||"#000",m=r.getFormattedLabel(e,"normal",t.dataType),null==m)){var b=r.getRawValue(e);m=null==b?t.getName(e):isFinite(b)?u(b):b}var w=y?m:null,S=x?n.retrieve2(r.getFormattedLabel(e,"emphasis",t.dataType),m):null,M=_.style;null==w&&null==S||(s.setTextStyle(_.style,h,{text:w},{autoColor:v}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=h.get("position")||"middle"),_.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)},m.highlight=function(){this.trigger("emphasis")},m.downplay=function(){this.trigger("normal")},m.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},m.setLinePoints=function(t){var e=this.childOfName("line");p(e.shape,t),e.dirty()},n.inherits(v,s.Group);var y=v;t.exports=y},"7e63":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("6d8b")),a=r.each,o=r.filter,s=r.map,l=r.isArray,u=r.indexOf,c=r.isObject,h=r.isString,d=r.createHashMap,f=r.assert,p=r.clone,g=r.merge,v=r.extend,m=r.mixin,y=i("e0d3"),x=i("4319"),_=i("6cb7"),b=i("8971"),w=i("e47b"),S=i("0f99"),M=S.resetSourceDefaulter,C="\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(!(C 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 r=i.getTimelineOption(this);r&&(this.mergeOption(r),e=!0)}if(!t||"recreate"===t||"media"===t){var o=i.getMediaOption(this,this._api);o.length&&a(o,function(t){this.mergeOption(t,e=!0)},this)}return e},mergeOption:function(t){var e=this.option,i=this._componentsMap,n=[];function r(n,r){var o=y.normalizeToArray(t[n]),s=y.mappingToExists(i.get(n),o);y.makeIdAndName(s),a(s,function(t,e){var i=t.option;c(i)&&(t.keyInfo.mainType=n,t.keyInfo.subType=O(n,i,t.exist))});var l=k(i,r);e[n]=[],i.set(n,[]),a(s,function(t,r){var a=t.exist,o=t.option;if(f(c(o)||a,"Empty component definition"),o){var s=_.getClass(n,t.keyInfo.subType,!0);if(a&&a instanceof s)a.name=t.keyInfo.name,a.mergeOption(o,this),a.optionUpdated(o,!1);else{var u=v({dependentModels:l,componentIndex:r},t.keyInfo);a=new s(o,this,this,u),v(a,u),a.init(o,this,this,u),a.optionUpdated(null,!0)}}else a.mergeOption({},this),a.optionUpdated({},!1);i.get(n)[r]=a,e[n][r]=a.option},this),"series"===n&&L(this,i.get("series"))}M(this),a(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(),r,this),this._seriesIndicesMap=d(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=p(this.option);return a(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[C],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,r=t.id,a=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!=r){var h=l(r);i=o(c,function(t){return h&&u(r,t.id)>=0||!h&&t.id===r})}else if(null!=a){var d=l(a);i=o(c,function(t){return d&&u(a,t.name)>=0||!d&&t.name===a})}else i=c.slice();return P(i,t)},findComponents:function(t){var e=t.query,i=t.mainType,n=a(e),r=n?this.queryComponents(n):this._componentsMap.get(i);return s(P(r,t));function a(t){var e=i+"Index",n=i+"Id",r=i+"Name";return!t||null==t[e]&&null==t[n]&&null==t[r]?null:{mainType:i,index:t[e],id:t[n],name:t[r]}}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){a(t,function(t,r){e.call(i,n,t,r)})});else if(h(t))a(n.get(t),e,i);else if(c(t)){var r=this.findComponents(t);a(r,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){E(this),a(this._seriesIndices,function(i){var n=this._componentsMap.get("series")[i];t.call(e,n,i)},this)},eachRawSeries:function(t,e){a(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,i){E(this),a(this._seriesIndices,function(n){var r=this._componentsMap.get("series")[n];r.subType===t&&e.call(i,r,n)},this)},eachRawSeriesByType:function(t,e,i){return a(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return E(this),null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){E(this);var i=o(this._componentsMap.get("series"),t,e);L(this,i)},restoreData:function(t){var e=this._componentsMap;L(this,e.get("series"));var i=[];e.each(function(t,e){i.push(e)}),_.topologicalTravel(i,_.getAllClassMainTypes(),function(i,n){a(e.get(i),function(e){("series"!==i||!I(e,t))&&e.restoreData()})})}});function I(t,e){if(e){var i=e.seiresIndex,n=e.seriesId,r=e.seriesName;return null!=i&&t.componentIndex!==i||null!=n&&t.id!==n||null!=r&&t.name!==r}}function A(t,e){var i=t.color&&!t.colorLayer;a(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[C]=1,this._componentsMap=d({series:[]}),this._seriesIndices,this._seriesIndicesMap,A(t,this._theme.option),g(t,b,!1),this.mergeOption(t)}function k(t,e){l(e)||(e=e?[e]:[]);var i={};return a(e,function(e){i[e]=(t.get(e)||[]).slice()}),i}function O(t,e,i){var n=e.type?e.type:i?i.subType:_.determineSubType(t,e);return n}function L(t,e){t._seriesIndicesMap=d(t._seriesIndices=s(e,function(t){return t.componentIndex})||[])}function P(t,e){return e.hasOwnProperty("subType")?o(t,function(t){return t.subType===e.subType}):t}function E(t){}m(T,w);var R=T;t.exports=R},"7f91":function(t,e,i){var n=i("2306"),r=i("401b"),a=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){(s(e)?a:o).buildPath(t,e)},pointAt:function(t){return s(this.shape)?a.pointAt.call(this,t):o.pointAt.call(this,t)},tangentAt:function(t){var e=this.shape,i=s(e)?[e.x2-e.x1,e.y2-e.y1]:o.tangentAt.call(this,t);return r.normalize(i,i)}});t.exports=l},"7f96":function(t,e){function i(t,e,i){return{seriesType:t,performRawSeries:!0,reset:function(t,n,r){var a=t.getData(),o=t.get("symbol")||e,s=t.get("symbolSize"),l=t.get("symbolKeepAspect");if(a.setVisual({legendSymbol:i||o,symbol:o,symbolSize:s,symbolKeepAspect:l}),!n.isSeriesFiltered(t)){var u="function"===typeof s;return{dataEach:a.hasItemOption||u?c:null}}function c(e,i){if("function"===typeof s){var n=t.getRawValue(i),r=t.getDataParams(i);e.setItemVisual(i,"symbolSize",s(n,r))}if(e.hasItemOption){var a=e.getItemModel(i),o=a.getShallow("symbol",!0),l=a.getShallow("symbolSize",!0),u=a.getShallow("symbolKeepAspect",!0);null!=o&&e.setItemVisual(i,"symbol",o),null!=l&&e.setItemVisual(i,"symbolSize",l),null!=u&&e.setItemVisual(i,"symbolKeepAspect",u)}}}}}t.exports=i},"80f0":function(t,e){function i(t){return t}function n(t,e,n,r,a){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=a}function r(t,e,i,n,r){for(var a=0;a<t.length;a++){var o="_ec_"+r[n](t[a],a),s=e[o];null==s?(i.push(o),e[o]=a):(s.length||(e[o]=s=[s]),s.push(a))}}n.prototype={constructor:n,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t=this._old,e=this._new,i={},n={},a=[],o=[];for(r(t,i,a,"_oldKeyGetter",this),r(e,n,o,"_newKeyGetter",this),c=0;c<t.length;c++){var s=a[c],l=n[s];if(null!=l){var u=l.length;u?(1===u&&(n[s]=null),l=l.unshift()):n[s]=null,this._update&&this._update(l,c)}else this._remove&&this._remove(c)}for(var c=0;c<o.length;c++){s=o[c];if(n.hasOwnProperty(s)){l=n[s];if(null==l)continue;if(l.length){var h=0;for(u=l.length;h<u;h++)this._add&&this._add(l[h])}else this._add&&this._add(l)}}}};var a=n;t.exports=a},"82eb":function(t,e){var i={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},n=9;e.ContextCachedBy=i,e.WILL_BE_RESTORED=n},"82f9":function(t,e,i){var n=i("6d8b"),r=i("76a5");function a(t){this._zr=t.getZr(),this._show=!1,this._hideTimeout}a.prototype={constructor:a,_enterable:!0,update:function(){},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,e,i){this.el&&this._zr.remove(this.el);var n={},a=t,o="{marker",s="|}",l=a.indexOf(o);while(l>=0){var u=a.indexOf(s),c=a.substr(l+o.length,u-l-o.length);c.indexOf("sub")>-1?n["marker"+c]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[c],textOffset:[3,0]}:n["marker"+c]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[c]},a=a.substr(u+1),l=a.indexOf("{marker")}this.el=new r({style:{rich:n,text:t,textLineHeight:20,textBackgroundColor:i.get("backgroundColor"),textBorderRadius:i.get("borderRadius"),textFill:i.get("textStyle.color"),textPadding:i.get("padding")},z:i.get("z")}),this._zr.add(this.el);var h=this;this.el.on("mouseover",function(){h._enterable&&(clearTimeout(h._hideTimeout),h._show=!0),h._inContent=!0}),this.el.on("mouseout",function(){h._enterable&&h._show&&h.hideLater(h._hideDelay),h._inContent=!1})},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){this.el&&this.el.attr("position",[t,e])},hide:function(){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},getOuterSize:function(){return this.getSize()}};var o=a;t.exports=o},8344:function(t,e,i){var n=i("6d8b"),r=i("f706"),a=i("3842"),o=i("6179"),s=i("923d"),l=i("88f0");function u(t,e,i){var n=e.coordinateSystem;t.each(function(r){var o,s=t.getItemModel(r),l=a.parsePercent(s.get("x"),i.getWidth()),u=a.parsePercent(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(u)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(n){var c=t.get(n.dimensions[0],r),h=t.get(n.dimensions[1],r);o=n.dataToPoint([c,h])}}else o=[l,u];isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u),t.setItemLayout(r,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,n){var a=t.coordinateSystem,o=t.id,s=t.getData(),l=this.markerGroupMap,c=l.get(o)||l.set(o,new r),d=h(a,t,e);e.setData(d),u(e.getData(),t,n),d.each(function(t){var i=d.getItemModel(t),n=i.getShallow("symbolSize");"function"===typeof n&&(n=n(e.getRawValue(t),e.getDataParams(t))),d.setItemVisual(t,{symbolSize:n,color:i.get("itemStyle.color")||s.getVisual("color"),symbol:i.getShallow("symbol")})}),c.updateData(d),this.group.add(c.group),d.eachItemGraphicEl(function(t){t.traverse(function(t){t.dataModel=e})}),c.__keep=!0,c.group.silent=e.get("silent")||t.get("silent")}});function h(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 a=new o(r,i),l=n.map(i.get("data"),n.curry(s.dataTransform,e));return t&&(l=n.filter(l,n.curry(s.dataFilter,t))),a.initData(l,null,t?s.dimValueGetter:function(t){return t.value}),a}t.exports=c},"843e":function(t,e,i){var n=i("6d8b"),r=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function a(t){n.each(r,function(e){this[e]=n.bind(t[e],t)},this)}var o=a;t.exports=o},"84ce":function(t,e,i){var n=i("6d8b"),r=n.each,a=n.map,o=i("3842"),s=o.linearMap,l=o.getPixelPrecision,u=i("e073"),c=u.createAxisTicks,h=u.createAxisLabels,d=u.calculateCategoryInterval,f=[0,1],p=function(t,e,i){this.dim=t,this.scale=e,this._extent=i||[0,0],this.inverse=!1,this.onBand=!1};function g(t,e){var i=t[1]-t[0],n=e,r=i/n/2;t[0]+=r,t[1]-=r}function v(t,e,i,n,a){var o=e.length;if(t.onBand&&!n&&o){var s,l=t.getExtent();if(1===o)e[0].coord=l[0],s=e[1]={coord:l[0]};else{var u=e[1].coord-e[0].coord;r(e,function(t){t.coord-=u/2;var e=e||0;e%2>0&&(t.coord-=u/(2*(e+1)))}),s={coord:e[o-1].coord+u},e.push(s)}var c=l[0]>l[1];h(e[0].coord,l[0])&&(a?e[0].coord=l[0]:e.shift()),a&&h(l[0],e[0].coord)&&e.unshift({coord:l[0]}),h(l[1],s.coord)&&(a?s.coord=l[1]:e.pop()),a&&h(s.coord,l[1])&&e.push({coord:l[1]})}function h(t,e){return c?t>e:t<e}}p.prototype={constructor:p,contain:function(t){var e=this._extent,i=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]);return t>=i&&t<=n},containData:function(t){return this.contain(this.dataToCoord(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(),g(i,n.count())),s(t,f,i,e)},coordToData:function(t,e){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&(i=i.slice(),g(i,n.count()));var r=s(t,i,f,e);return this.scale.scale(r)},pointToData:function(t,e){},getTicksCoords:function(t){t=t||{};var e=t.tickModel||this.getTickModel(),i=c(this,e),n=i.ticks,r=a(n,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this),o=e.get("alignWithLabel");return v(this,r,i.tickCategoryInterval,o,t.clamp),r},getViewLabels:function(){return h(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 d(this)}};var m=p;t.exports=m},"84d5":function(t,e,i){var n=i("3eba"),r=i("6d8b"),a=i("4319"),o=i("e0d3"),s=o.isNameSpecified,l=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||{}},mergeOption:function(t){l.superCall(this,"mergeOption",t)},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,i=0;i<t.length;i++){var n=t[i].get("name");if(this.isSelected(n)){this.select(n),e=!0;break}}!e&&this.select(t[0].get("name"))}},_updateData:function(t){var e=[],i=[];t.eachRawSeries(function(n){var r,a=n.name;if(i.push(a),n.legendDataProvider){var o=n.legendDataProvider(),l=o.mapArray(o.getName);t.isSeriesFiltered(n)||(i=i.concat(l)),l.length?e=e.concat(l):r=!0}else r=!0;r&&s(n)&&e.push(n.name)}),this._availableNames=i;var n=this.get("data")||e,o=r.map(n,function(t){return"string"!==typeof t&&"number"!==typeof t||(t={name:t}),new a(t,this,this.ecModel)},this);this._data=o},getData:function(){return this._data},select:function(t){var e=this.option.selected,i=this.get("selectedMode");if("single"===i){var n=this._data;r.each(n,function(t){e[t.get("name")]=!1})}e[t]=!0},unSelect:function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},toggleSelected:function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},isSelected:function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&r.indexOf(this._availableNames,t)>=0},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",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}}),u=l;t.exports=u},"857d":function(t,e){var i=2*Math.PI;function n(t){return t%=i,t<0&&(t+=i),t}e.normalizeRadian=n},"862d":function(t,e,i){var n=i("6d8b"),r=n.createHashMap,a=n.each,o=n.isString,s=n.defaults,l=n.extend,u=n.isObject,c=n.clone,h=i("e0d3"),d=h.normalizeToArray,f=i("0f99"),p=f.guessOrdinal,g=i("ec6f"),v=i("2f45"),m=v.OTHER_DIMENSIONS;function y(t,e,i){g.isInstance(e)||(e=g.seriesDataToSource(e)),i=i||{},t=(t||[]).slice();for(var n=(i.dimsDef||[]).slice(),h=r(i.encodeDef),f=r(),v=r(),y=[],b=x(e,t,n,i.dimCount),w=0;w<b;w++){var S=n[w]=l({},u(n[w])?n[w]:{name:n[w]}),M=S.name,C=y[w]={otherDims:{}};null!=M&&null==f.get(M)&&(C.name=C.displayName=M,f.set(M,w)),null!=S.type&&(C.type=S.type),null!=S.displayName&&(C.displayName=S.displayName)}h.each(function(t,e){if(t=d(t).slice(),1===t.length&&t[0]<0)h.set(e,!1);else{var i=h.set(e,[]);a(t,function(t,n){o(t)&&(t=f.get(t)),null!=t&&t<b&&(i[n]=t,I(y[t],e,n))})}});var T=0;function I(t,e,i){null!=m.get(e)?t.otherDims[e]=i:(t.coordDim=e,t.coordDimIndex=i,v.set(e,!0))}a(t,function(t,e){var i,n,r;if(o(t))i=t,t={};else{i=t.name;var l=t.ordinalMeta;t.ordinalMeta=null,t=c(t),t.ordinalMeta=l,n=t.dimsDef,r=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null}var f=h.get(i);if(!1!==f){f=d(f);if(!f.length)for(var p=0;p<(n&&n.length||1);p++){while(T<y.length&&null!=y[T].coordDim)T++;T<y.length&&f.push(T++)}a(f,function(e,a){var o=y[e];if(I(s(o,t),i,a),null==o.name&&n){var l=n[a];!u(l)&&(l={name:l}),o.name=o.displayName=l.name,o.defaultTooltip=l.defaultTooltip}r&&s(o.otherDims,r)})}});var A=i.generateCoord,D=i.generateCoordCount,k=null!=D;D=A?D||1:0;for(var O=A||"value",L=0;L<b;L++){C=y[L]=y[L]||{};var P=C.coordDim;null==P&&(C.coordDim=_(O,v,k),C.coordDimIndex=0,(!A||D<=0)&&(C.isExtraCoord=!0),D--),null==C.name&&(C.name=_(C.coordDim,f)),null==C.type&&p(e,L,C.name)&&(C.type="ordinal")}return y}function x(t,e,i,n){var r=Math.max(t.dimensionsDetectCount||1,e.length,i.length,n||0);return a(e,function(t){var e=t.dimsDef;e&&(r=Math.max(r,e.length))}),r}function _(t,e,i){if(i||null!=e.get(t)){var n=0;while(null!=e.get(t+n))n++;t+=n}return e.set(t,!0),t}var b=y;t.exports=b},8728:function(t,e){function i(t,e,i,n,r,a){if(a>e&&a>n||a<e&&a<n)return 0;if(n===e)return 0;var o=n<e?1:-1,s=(a-e)/(n-e);1!==s&&0!==s||(o=n<e?.5:-.5);var l=s*(i-t)+t;return l===r?1/0:l>r?o:0}t.exports=i},"87b1":function(t,e,i){var n=i("cbe5"),r=i("4fac"),a=n.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){r.buildPath(t,e,!0)}});t.exports=a},"87c3":function(t,e,i){var n=i("6d8b"),r=n.map,a=i("cccd"),o=i("ee1a"),s=o.isDimensionStacked;function l(t){return{seriesType:t,plan:a(),reset:function(t){var e=t.getData(),i=t.coordinateSystem,n=t.pipelineContext,a=n.large;if(i){var o=r(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,r=a&&new Float32Array(n*l),s=t.start,u=0,c=[],h=[];s<t.end;s++){var d;if(1===l){var f=e.get(o[0],s);d=!isNaN(f)&&i.dataToPoint(f,null,h)}else{f=c[0]=e.get(o[0],s);var p=c[1]=e.get(o[1],s);d=!isNaN(f)&&!isNaN(p)&&i.dataToPoint(c,null,h)}a?(r[u++]=d?d[0]:NaN,r[u++]=d?d[1]:NaN):e.setItemLayout(s,d&&d.slice()||[NaN,NaN])}a&&e.setLayout("symbolPoints",r)}}}}t.exports=l},"88b3":function(t,e){var i="\0__throttleOriginMethod",n="\0__throttleRate",r="\0__throttleType";function a(t,e,i){var n,r,a,o,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,t.apply(a,o||[])}e=e||0;var d=function(){n=(new Date).getTime(),a=this,o=arguments;var t=s||e,d=s||i;s=null,r=n-(d?l:u)-t,clearTimeout(c),d?c=setTimeout(h,t):r>=0?h():c=setTimeout(h,-r),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[r],h=l[n];if(h!==o||c!==s){if(null==o||!s)return t[e]=u;l=t[e]=a(u,o,"debounce"===s),l[i]=u,l[r]=s,l[n]=o}return l}}function s(t,e){var n=t[e];n&&n[i]&&(t[e]=n[i])}e.throttle=a,e.createOrUpdate=o,e.clear=s},"88f0":function(t,e,i){var n=i("3eba"),r=i("6d8b"),a=n.extendComponentView({type:"marker",init:function(){this.markerGroupMap=r.createHashMap()},render:function(t,e,i){var n=this.markerGroupMap;n.each(function(t){t.__keep=!1});var r=this.type+"Model";e.eachSeries(function(t){var n=t[r];n&&this.renderSeries(t,n,e,i)},this),n.each(function(t){!t.__keep&&this.group.remove(t.group)},this)},renderSeries:function(){}});t.exports=a},8918:function(t,e,i){var n=i("6d8b"),r=i("625e"),a=r.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=a(t),e[t.main]=i},t.determineSubType=function(i,n){var r=n.type;if(!r){var o=a(i).main;t.hasSubTypes(i)&&e[o]&&(r=e[o](n))}return r},t}function u(t,e){function i(t){var i={},o=[];return n.each(t,function(s){var l=r(i,s),u=l.originalDeps=e(s),c=a(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=r(i,t);n.indexOf(e.successor,t)<0&&e.successor.push(s)})}),{graph:i,noEntryList:o}}function r(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function a(t,e){var i=[];return n.each(t,function(t){n.indexOf(e,t)>=0&&i.push(t)}),i}t.topologicalTravel=function(t,e,r,a){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&&(r.call(a,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"),r=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function a(t){return n.browser.ie&&n.browser.version>=11?function(){var e,i=this.__clipPaths,n=this.style;if(i)for(var a=0;a<i.length;a++){var o=i[a],s=o&&o.shape,l=o&&o.type;if(s&&("sector"===l&&s.startAngle===s.endAngle||"rect"===l&&(!s.width||!s.height))){for(var u=0;u<r.length;u++)r[u][2]=n[r[u][0]],n[r[u][0]]=r[u][1];e=!0;break}}if(t.apply(this,arguments),e)for(u=0;u<r.length;u++)n[r[u][0]]=r[u][2]}:t}t.exports=a},"89e3":function(t,e,i){var n=i("3842"),r=i("eda2"),a=i("e0d8"),o=i("944e"),s=n.round,l=a.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var i=this._extent;isNaN(t)||(i[0]=parseFloat(t)),isNaN(e)||(i[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[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(){return o.intervalScaleGetTicks(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getLabel:function(t,e){if(null==t)return"";var i=e&&e.precision;return null==i?i=n.getPrecisionSafe(t)||0:"auto"===i&&(i=this._intervalPrecision),t=s(t,i,!0),r.addCommas(t)},niceTicks:function(t,e,i){t=t||5;var n=this._extent,r=n[1]-n[0];if(isFinite(r)){r<0&&(r=-r,n.reverse());var a=o.intervalScaleNiceTicks(n,t,e,i);this._intervalPrecision=a.intervalPrecision,this._interval=a.interval,this._niceExtent=a.niceTickExtent}},niceExtent:function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var i=e[0];t.fixMax?e[0]-=i/2:(e[1]+=i/2,e[0]-=i/2)}else e[1]=1;var n=e[1]-e[0];isFinite(n)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=s(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=s(Math.ceil(e[1]/r)*r))}});l.create=function(){return new l};var u=l;t.exports=u},"8b7f":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("6d8b")),a=r.createHashMap,o=(r.retrieve,r.each);function s(t){var e=t.get("coordinateSystem"),i={coordSysName:e,coordSysDims:[],axisMap:a(),categoryAxisMap:a()},n=l[e];if(n)return n(t,i,i.axisMap,i.categoryAxisMap),i}var l={cartesian2d:function(t,e,i,n){var r=t.getReferringComponents("xAxis")[0],a=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],i.set("x",r),i.set("y",a),u(r)&&(n.set("x",r),e.firstCategoryDimIndex=0),u(a)&&(n.set("y",a),e.firstCategoryDimIndex=1)},singleAxis:function(t,e,i,n){var r=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],i.set("single",r),u(r)&&(n.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,i,n){var r=t.getReferringComponents("polar")[0],a=r.findAxisModel("radiusAxis"),o=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],i.set("radius",a),i.set("angle",o),u(a)&&(n.set("radius",a),e.firstCategoryDimIndex=0),u(o)&&(n.set("angle",o),e.firstCategoryDimIndex=1)},geo:function(t,e,i,n){e.coordSysDims=["lng","lat"]},parallel:function(t,e,i,n){var r=t.ecModel,a=r.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();o(a.parallelAxisIndex,function(t,a){var o=r.getComponent("parallelAxis",t),l=s[a];i.set(l,o),u(o)&&null==e.firstCategoryDimIndex&&(n.set(l,o),e.firstCategoryDimIndex=a)})}};function u(t){return"category"===t.get("type")}e.getCoordSysDefineBySeries=s},"8c2a":function(t,e,i){var n=i("6d8b"),r=i("e0d8"),a=i("3842"),o=i("89e3"),s=r.prototype,l=o.prototype,u=a.getPrecisionSafe,c=a.round,h=Math.floor,d=Math.ceil,f=Math.pow,p=Math.log,g=r.extend({type:"log",base:10,$constructor:function(){r.apply(this,arguments),this._originalScale=new o},getTicks:function(){var t=this._originalScale,e=this._extent,i=t.getExtent();return n.map(l.getTicks.call(this),function(n){var r=a.round(f(this.base,n));return r=n===e[0]&&t.__fixMin?v(r,i[0]):r,r=n===e[1]&&t.__fixMax?v(r,i[1]):r,r},this)},getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),f(this.base,t)},setExtent:function(t,e){var i=this.base;t=p(t)/p(i),e=p(e)/p(i),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=f(t,e[0]),e[1]=f(t,e[1]);var i=this._originalScale,n=i.getExtent();return i.__fixMin&&(e[0]=v(e[0],n[0])),i.__fixMax&&(e[1]=v(e[1],n[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=p(t[0])/p(e),t[1]=p(t[1])/p(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(i===1/0||i<=0)){var n=a.quantity(i),r=t/i*n;r<=.5&&(n*=10);while(!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0)n*=10;var o=[a.round(d(e[0]/n)*n),a.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 v(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 m=g;t.exports=m},"8d32":function(t,e,i){var n=i("cbe5"),r=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,r=Math.max(e.r,0),a=e.startAngle,o=e.endAngle,s=e.clockwise,l=Math.cos(a),u=Math.sin(a);t.moveTo(l*r+i,u*r+n),t.arc(i,n,r,a,o,!s)}});t.exports=r},"8e43":function(t,e,i){var n=i("6d8b"),r=n.createHashMap,a=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=r(t.categories))}function c(t){return a(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},"8ed2":function(t,e,i){i("48c7");var n=i("6cb7"),r=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=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<e.length;i++)if(!e[i].isSelected(t.name))return!1;return!0})}t.exports=i},"923d":function(t,e,i){var n=i("6d8b"),r=i("3842"),a=i("ee1a"),o=a.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,a,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[a]=e.get(i,d),l[s]=e.get(n,d);var f=r.getPrecision(e.get(n,d));return f=Math.min(f,20),f>=0&&(l[s]=+l[s].toFixed(f)),l}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(),r=t.coordinateSystem;if(e&&!u(e)&&!n.isArray(e.coord)&&r){var a=r.dimensions,o=p(e,i,r,t);if(e=n.clone(e),e.type&&d[e.type]&&o.baseAxis&&o.valueAxis){var l=s(a,o.baseAxis.dim),c=s(a,o.valueAxis.dim);e.coord=d[e.type](i,o.baseDataDim,o.valueDataDim,l,c),e.value=e.coord[c]}else{for(var h=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],f=0;f<2;f++)d[h[f]]&&(h[f]=y(i,i.mapDimension(a[f]),h[f]));e.coord=h}}return e}function p(t,e,i,n){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=i.getAxis(g(n,r.valueDataDim)),r.baseAxis=i.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=n.getBaseAxis(),r.valueAxis=i.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function g(t,e){var i=t.getData(),n=i.dimensions;e=i.getDimension(e);for(var r=0;r<n.length;r++){var a=i.getDimensionInfo(n[r]);if(a.name===e)return a.coordDim}}function v(t,e){return!(t&&t.containData&&e.coord&&!l(e))||t.containData(e.coord)}function m(t,e,i,n){return n<2?t.coord&&t.coord[n]:t.value}function y(t,e,i){if("average"===i){var n=0,r=0;return t.each(e,function(t,e){isNaN(t)||(n+=t,r++)}),n/r}return"median"===i?t.getMedian(e):t.getDataExtent(e,!0)["max"===i?1:0]}e.dataTransform=f,e.getAxisInfo=p,e.dataFilter=v,e.dimValueGetter=m,e.numCalculate=y},"93d0":function(t,e){var i="original",n="arrayRows",r="objectRows",a="keyedColumns",o="unknown",s="typedArray",l="column",u="row";e.SOURCE_FORMAT_ORIGINAL=i,e.SOURCE_FORMAT_ARRAY_ROWS=n,e.SOURCE_FORMAT_OBJECT_ROWS=r,e.SOURCE_FORMAT_KEYED_COLUMNS=a,e.SOURCE_FORMAT_UNKNOWN=o,e.SOURCE_FORMAT_TYPED_ARRAY=s,e.SERIES_LAYOUT_BY_COLUMN=l,e.SERIES_LAYOUT_BY_ROW=u},"944e":function(t,e,i){var n=i("3842"),r=n.round;function a(t,e,i,a){var s={},u=t[1]-t[0],c=s.interval=n.nice(u/e,!0);null!=i&&c<i&&(c=s.interval=i),null!=a&&c>a&&(c=s.interval=a);var h=s.intervalPrecision=o(c),d=s.niceTickExtent=[r(Math.ceil(t[0]/c)*c,h),r(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])}function u(t,e,i,n){var a=[];if(!t)return a;var o=1e4;e[0]<i[0]&&a.push(e[0]);var s=i[0];while(s<=i[1]){if(a.push(s),s=r(s+t,n),s===a[a.length-1])break;if(a.length>o)return[]}return e[1]>(a.length?a[a.length-1]:i[1])&&a.push(e[1]),a}e.intervalScaleNiceTicks=a,e.getIntervalPrecision=o,e.fixExtent=l,e.intervalScaleGetTicks=u},"94b1":function(t,e,i){var n=i("3eba"),r=i("6d8b"),a=i("9d57"),o=a.layout,s=a.largeLayout;i("5aa9"),i("17b8"),i("67cc"),i("01ed"),n.registerLayout(r.curry(o,"bar")),n.registerLayout(s),n.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},"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,r,a,o){if(0===r)return!1;var s=r,l=0,u=t;if(o>e+s&&o>n+s||o<e-s&&o<n-s||a>t+s&&a>i+s||a<t-s&&a<i-s)return!1;if(t===i)return Math.abs(a-t)<=s/2;l=(e-n)/(t-i),u=(t*n-i*e)/(t-i);var c=l*a-o+u,h=c*c/(l*l+1);return h<=s/2*s/2}e.containStroke=i},9850:function(t,e,i){var n=i("401b"),r=i("1687"),a=n.applyTransform,o=Math.min,s=Math.max;function l(t,e,i,n){i<0&&(t+=i,i=-i),n<0&&(e+=n,n=-n),this.x=t,this.y=e,this.width=i,this.height=n}l.prototype={constructor:l,union:function(t){var e=o(t.x,this.x),i=o(t.y,this.y);this.width=s(t.x+t.width,this.x+this.width)-e,this.height=s(t.y+t.height,this.y+this.height)-i,this.x=e,this.y=i},applyTransform:function(){var t=[],e=[],i=[],n=[];return function(r){if(r){t[0]=i[0]=this.x,t[1]=n[1]=this.y,e[0]=n[0]=this.x+this.width,e[1]=i[1]=this.y+this.height,a(t,t,r),a(e,e,r),a(i,i,r),a(n,n,r),this.x=o(t[0],e[0],i[0],n[0]),this.y=o(t[1],e[1],i[1],n[1]);var l=s(t[0],e[0],i[0],n[0]),u=s(t[1],e[1],i[1],n[1]);this.width=l-this.x,this.height=u-this.y}}}(),calculateTransform:function(t){var e=this,i=t.width/e.width,n=t.height/e.height,a=r.create();return r.translate(a,a,[-e.x,-e.y]),r.scale(a,a,[i,n]),r.translate(a,a,[t.x,t.y]),a},intersect:function(t){if(!t)return!1;t instanceof l||(t=l.create(t));var e=this,i=e.x,n=e.x+e.width,r=e.y,a=e.y+e.height,o=t.x,s=t.x+t.width,u=t.y,c=t.y+t.height;return!(n<o||s<i||a<u||c<r)},contain:function(t,e){var i=this;return t>=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},"98e7":function(t,e,i){var n=i("6d8b"),r=n.createHashMap;function a(t){return{getTargetSeries:function(e){var i={},n=r();return e.eachSeriesByType(t,function(t){t.__paletteScope=i,n.set(t.uid,t)}),n},reset:function(t,e){var i=t.getRawData(),n={},r=t.getData();r.each(function(t){var e=r.getRawIndex(t);n[e]=t}),i.each(function(e){var a=n[e],o=null!=a&&r.getItemVisual(a,"color",!0);if(o)i.setItemVisual(e,"color",o);else{var s=i.getItemModel(e),l=s.get("itemStyle.color")||t.getColorFromPalette(i.getName(e)||e+"",t.__paletteScope,i.count());i.setItemVisual(e,"color",l),null!=a&&r.setItemVisual(a,"color",l)}})}}}t.exports=a},"998c":function(t,e,i){var n=i("6d8b"),r=i("2306"),a=Math.PI;function o(t,e){e=e||{},n.defaults(e,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var i=new r.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),o=new r.Arc({shape:{startAngle:-a/2,endAngle:-a/2+.1,r:10},style:{stroke:e.color,lineCap:"round",lineWidth:5},zlevel:e.zlevel,z:10001}),s=new r.Rect({style:{fill:"none",text:e.text,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});o.animateShape(!0).when(1e3,{endAngle:3*a/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:3*a/2}).delay(300).start("circularInOut");var l=new r.Group;return l.add(o),l.add(s),l.add(i),l.resize=function(){var e=t.getWidth()/2,n=t.getHeight()/2;o.setShape({cx:e,cy:n});var r=o.shape.r;s.setShape({x:e-r,y:n-r,width:2*r,height:2*r}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},l.resize(),l}t.exports=o},"9bdb":function(t,e,i){var n=i("282b"),r=n([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a={getAreaStyle:function(t,e){return r(this,t,e)}};t.exports=a},"9c2c":function(t,e,i){var n=i("401b"),r=n.min,a=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=[],v=[],m=[],y=[];if(n){f=[1/0,1/0],p=[-1/0,-1/0];for(var x=0,_=t.length;x<_;x++)r(f,f,t[x]),a(p,p,t[x]);r(f,f,n[0]),a(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(v,d,h),o(v,v,e);var w=s(b,h),S=s(b,d),M=w+S;0!==M&&(w/=M,S/=M),o(m,v,-w),o(y,v,S);var C=l([],b,m),T=l([],b,y);n&&(a(C,C,f),r(C,C,p),a(T,T,f),r(T,T,p)),g.push(C),g.push(T)}return i&&g.push(g.shift()),g}t.exports=h},"9cf9":function(t,e){var i=Math.round;function n(t,e,n){var r=n&&n.lineWidth;if(e&&r){var o=e.x1,s=e.x2,l=e.y1,u=e.y2;i(2*o)===i(2*s)?t.x1=t.x2=a(o,r,!0):(t.x1=o,t.x2=s),i(2*l)===i(2*u)?t.y1=t.y2=a(l,r,!0):(t.y1=l,t.y2=u)}}function r(t,e,i){var n=i&&i.lineWidth;if(e&&n){var r=e.x,o=e.y,s=e.width,l=e.height;t.x=a(r,n,!0),t.y=a(o,n,!0),t.width=Math.max(a(r+s,n,!1)-t.x,0===s?0:1),t.height=Math.max(a(o+l,n,!1)-t.y,0===l?0:1)}}function a(t,e,n){var r=i(2*t);return(r+i(e))%2===0?r/2:(r+(n?1:-1))/2}e.subPixelOptimizeLine=n,e.subPixelOptimizeRect=r,e.subPixelOptimize=a},"9d57":function(t,e,i){var n=i("6d8b"),r=i("3842"),a=r.parsePercent,o=i("ee1a"),s=o.isDimensionStacked,l=i("cccd"),u="__ec_stack_",c=.5,h="undefined"!==typeof Float32Array?Float32Array:Array;function d(t){return t.get("stack")||u+t.seriesIndex}function f(t){return t.dim+t.index}function p(t){var e=[],i=t.axis,r="axis0";if("category"===i.type){for(var a=i.getBandWidth(),o=0;o<t.count;o++)e.push(n.defaults({bandWidth:a,axisKey:r,stackId:u+o},t));var s=m(e),l=[];for(o=0;o<t.count;o++){var c=s[r][u+o];c.offsetCenter=c.offset+c.width/2,l.push(c)}return l}}function g(t,e){var i=[];return e.eachSeriesByType(t,function(t){b(t)&&!w(t)&&i.push(t)}),i}function v(t){var e=[];return n.each(t,function(t){var i=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),o=r.getExtent(),s="category"===r.type?r.getBandWidth():Math.abs(o[1]-o[0])/i.count(),l=a(t.get("barWidth"),s),u=a(t.get("barMaxWidth"),s),c=t.get("barGap"),h=t.get("barCategoryGap");e.push({bandWidth:s,barWidth:l,barMaxWidth:u,barGap:c,barCategoryGap:h,axisKey:f(r),stackId:d(t)})}),m(e)}function m(t){var e={};n.each(t,function(t,i){var n=t.axisKey,r=t.bandWidth,a=e[n]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=a.stacks;e[n]=a;var s=t.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var u=t.barMaxWidth;u&&(o[s].maxWidth=u);var c=t.barGap;null!=c&&(a.gap=c);var h=t.barCategoryGap;null!=h&&(a.categoryGap=h)});var i={};return n.each(e,function(t,e){i[e]={};var r=t.stacks,o=t.bandWidth,s=a(t.categoryGap,o),l=a(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),n.each(r,function(t,e){var i=t.maxWidth;i&&i<h&&(i=Math.min(i,u),t.width&&(i=Math.min(i,t.width)),u-=i,t.width=i,c--)}),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var d,f=0;n.each(r,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(r,function(t,n){i[e][n]=i[e][n]||{offset:p,width:t.width},p+=t.width*(1+l)})}),i}function y(t,e,i){if(t&&e){var n=t[f(e)];return null!=n&&null!=i&&(n=n[d(i)]),n}}function x(t,e){var i=g(t,e),r=v(i),a={},o={};n.each(i,function(t){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),l=d(t),u=r[f(n)][l],c=u.offset,h=u.width,p=i.getOtherAxis(n),g=t.get("barMinHeight")||0;a[l]=a[l]||[],o[l]=o[l]||[],e.setLayout({offset:c,size:h});for(var v=e.mapDimension(p.dim),m=e.mapDimension(n.dim),y=s(e,v),x=p.isHorizontal(),_=S(n,p,y),b=0,w=e.count();b<w;b++){var M=e.get(v,b),C=e.get(m,b);if(!isNaN(M)){var T,I,A,D,k=M>=0?"p":"n",O=_;if(y&&(a[l][C]||(a[l][C]={p:_,n:_}),O=a[l][C][k]),x){var L=i.dataToPoint([M,C]);T=O,I=L[1]+c,A=L[0]-_,D=h,Math.abs(A)<g&&(A=(A<0?-1:1)*g),y&&(a[l][C][k]+=A)}else{L=i.dataToPoint([C,M]);T=L[0]+c,I=O,A=h,D=L[1]-_,Math.abs(D)<g&&(D=(D<=0?-1:1)*g),y&&(a[l][C][k]+=D)}e.setItemLayout(b,{x:T,y:I,width:A,height:D})}}},this)}var _={seriesType:"bar",plan:l(),reset:function(t){if(b(t)&&w(t)){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),r=i.getOtherAxis(n),a=e.mapDimension(r.dim),o=e.mapDimension(n.dim),s=r.isHorizontal(),l=s?0:1,u=y(v([t]),n,t).width;return u>c||(u=c),{progress:d}}function d(t,e){var c,d=new h(2*t.count),f=[],p=[],g=0;while(null!=(c=t.next()))p[l]=e.get(a,c),p[1-l]=e.get(o,c),f=i.dataToPoint(p,null,f),d[g++]=f[0],d[g++]=f[1];e.setLayout({largePoints:d,barWidth:u,valueAxisStart:S(n,r,!1),valueAxisHorizontal:s})}}};function b(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function w(t){return t.pipelineContext&&t.pipelineContext.large}function S(t,e,i){var n,r,a=e.getGlobalExtent();a[0]>a[1]?(n=a[1],r=a[0]):(n=a[0],r=a[1]);var o=e.toGlobalCoord(e.dataToCoord(0));return o<n&&(o=n),o>r&&(o=r),o}e.getLayoutOnAxis=p,e.prepareLayoutBarSeries=g,e.makeColumnLayout=v,e.retrieveColumnLayout=y,e.layout=x,e.largeLayout=_},"9e2e":function(t,e,i){var n=i("a73c"),r=i("9850"),a=i("82eb"),o=a.WILL_BE_RESTORED,s=new r,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 r=i.text;if(null!=r&&(r+=""),n.needDrawText(r,i)){t.save();var a=this.transform;i.transformText?this.setTransform(t):a&&(s.copy(e),s.applyTransform(a),e=s),n.renderText(this,t,r,i,e,o),t.restore()}}};var u=l;t.exports=u},"9e47":function(t,e,i){var n=i("6d8b"),r=i("71ad"),a=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(a){e.extend({type:t+"Axis."+a,mergeDefaultAndTheme:function(e,r){var o=this.layoutMode,u=o?s(e):{},c=r.getTheme();n.merge(e,c.get(a+"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([{},r[a+"Axis"],o],!0)})}),a.registerSubTypeDefaulter(t+"Axis",n.curry(i,t))}t.exports=h},"9f51":function(t,e,i){var n=i("857d"),r=n.normalizeRadian,a=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+h<i)return!1;if(Math.abs(n-o)%a<1e-4)return!0;if(s){var f=n;n=r(o),o=r(f)}else n=r(n),o=r(o);n>o&&(o+=a);var p=Math.atan2(c,u);return p<0&&(p+=a),p>=n&&p<=o||p+a>=n&&p+a<=o}e.containStroke=o},"9f82":function(t,e,i){var n=i("ee1a"),r=n.isDimensionStacked,a=i("6d8b"),o=a.map;function s(t,e,i){var n,a=t.getBaseAxis(),s=t.getOtherAxis(a),u=l(s,i),c=a.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)}),v=e.getCalculationInfo("stackResultDimension");return(n|=r(e,g[0]))&&(g[0]=v),(n|=r(e,g[1]))&&(g[1]=v),{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 r=NaN;t.stacked&&(r=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(r)&&(r=t.valueStart);var a=t.baseDataOffset,o=[];return o[a]=i.get(t.baseDim,n),o[1-a]=r,e.dataToPoint(o)}e.prepareDataCoordInfo=s,e.getStackedOnPoint=u},a100:function(t,e,i){},a15a:function(t,e,i){var n=i("6d8b"),r=i("2306"),a=i("9850"),o=r.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=e.width/2,a=e.height/2;t.moveTo(i,n-a),t.lineTo(i+r,n+a),t.lineTo(i-r,n+a),t.closePath()}}),s=r.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=e.width/2,a=e.height/2;t.moveTo(i,n-a),t.lineTo(i+r,n),t.lineTo(i,n+a),t.lineTo(i-r,n),t.closePath()}}),l=r.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,n=e.y,r=e.width/5*3,a=Math.max(r,e.height),o=r/2,s=o*o/(a-o),l=n-a+o+s,u=Math.asin(s/o),c=Math.cos(u)*o,h=Math.sin(u),d=Math.cos(u),f=.6*o,p=.7*o;t.moveTo(i-c,l+s),t.arc(i,l,o,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(i+c-h*f,l+s+d*f,i,n-p,i,n),t.bezierCurveTo(i,n-p,i-c+h*f,l+s+d*f,i-c,l+s),t.closePath()}}),u=r.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.height,n=e.width,r=e.x,a=e.y,o=n/3*2;t.moveTo(r,a),t.lineTo(r+o,a+i),t.lineTo(r,a+i/4*3),t.lineTo(r-o,a+i),t.lineTo(r,a),t.closePath()}}),c={line:r.Line,rect:r.Rect,roundRect:r.Rect,square:r.Rect,circle:r.Circle,diamond:s,pin:l,arrow:u,triangle:o},h={line:function(t,e,i,n,r){r.x1=t,r.y1=e+n/2,r.x2=t+i,r.y2=e+n/2},rect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r.height=n},roundRect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r.height=n,r.r=Math.min(i,n)/4},square:function(t,e,i,n,r){var a=Math.min(i,n);r.x=t,r.y=e,r.width=a,r.height=a},circle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.r=Math.min(i,n)/2},diamond:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r.height=n},pin:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r.height=n},arrow:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r.height=n},triangle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r.height=n}},d={};n.each(c,function(t,e){d[e]=new t});var f=r.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},beforeBrush:function(){var t=this.style,e=this.shape;"pin"===e.symbolType&&"inside"===t.textPosition&&(t.textPosition=["50%","40%"],t.textAlign="center",t.textVerticalAlign="middle")},buildPath:function(t,e,i){var n=e.symbolType,r=d[n];"none"!==e.symbolType&&(r||(n="rect",r=d[n]),h[n](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,i))}});function p(t,e){if("image"!==this.type){var i=this.style,n=this.shape;n&&"line"===n.symbolType?i.stroke=t:this.__isEmptyBrush?(i.stroke=t,i.fill=e||"#fff"):(i.fill&&(i.fill=t),i.stroke&&(i.stroke=t)),this.dirty(!1)}}function g(t,e,i,n,o,s,l){var u,c=0===t.indexOf("empty");return c&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),u=0===t.indexOf("image://")?r.makeImage(t.slice(8),new a(e,i,n,o),l?"center":"cover"):0===t.indexOf("path://")?r.makePath(t.slice(7),{},new a(e,i,n,o),l?"center":"cover"):new f({shape:{symbolType:t,x:e,y:i,width:n,height:o}}),u.__isEmptyBrush=c,u.setColor=p,u.setColor(s),u}e.createSymbol=g},a2c2:function(t,e,i){"use strict";var n=i("a100"),r=i.n(n);r.a},a73c:function(t,e,i){var n=i("6d8b"),r=n.retrieve2,a=n.retrieve3,o=n.each,s=n.normalizeCssArray,l=n.isString,u=n.isObject,c=i("e86a"),h=i("5693"),d=i("5e76"),f=i("7d6d"),p=i("82eb"),g=p.ContextCachedBy,v=p.WILL_BE_RESTORED,m=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"]];function b(t){return w(t),o(t.rich,w),t}function w(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 S(t,e,i,n,r,a){n.rich?C(t,e,i,n,r,a):M(t,e,i,n,r,a)}function M(t,e,i,n,r,a){"use strict";var o,s=D(n),l=!1,u=e.__attrCachedBy===g.PLAIN_TEXT;a!==v?(a&&(o=a.style,l=!s&&u&&o),e.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):u&&(e.__attrCachedBy=g.NONE);var h=n.font||m;l&&h===(o.font||m)||(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,w=x.lines,S=x.lineHeight,M=L(b,n,r),C=M.baseX,T=M.baseY,A=M.textAlign||"left",O=M.textVerticalAlign;I(e,n,r,C,T);var P=c.adjustTextY(T,b,O),N=C,z=P;if(s||p){var F=c.getWidth(i,d),V=F;p&&(V+=p[1]+p[3]);var H=c.adjustTextX(C,V,A);s&&k(t,e,n,H,P,V,b),p&&(N=B(C,A,p),z+=p[0])}e.textAlign=A,e.textBaseline="middle",e.globalAlpha=n.opacity||1;for(var G=0;G<_.length;G++){var W=_[G],j=W[0],U=W[1],$=n[j];l&&$===o[j]||(e[U]=f(e,U,$||W[2]))}z+=S/2;var q=n.textStrokeWidth,Y=l?o.textStrokeWidth:null,X=!l||q!==Y,Z=!l||X||n.textStroke!==o.textStroke,K=E(n.textStroke,q),Q=R(n.textFill);if(K&&(X&&(e.lineWidth=q),Z&&(e.strokeStyle=K)),Q&&(l&&n.textFill===o.textFill||(e.fillStyle=Q)),1===w.length)K&&e.strokeText(w[0],N,z),Q&&e.fillText(w[0],N,z);else for(G=0;G<w.length;G++)K&&e.strokeText(w[G],N,z),Q&&e.fillText(w[G],N,z),z+=S}function C(t,e,i,n,r,a){a!==v&&(e.__attrCachedBy=g.NONE);var o=t.__textCotentBlock;o&&!t.__dirtyText||(o=t.__textCotentBlock=c.parseRichText(i,n)),T(t,e,o,n,r)}function T(t,e,i,n,r){var a=i.width,o=i.outerWidth,s=i.outerHeight,l=n.textPadding,u=L(s,n,r),h=u.baseX,d=u.baseY,f=u.textAlign,p=u.textVerticalAlign;I(e,n,r,h,d);var g=c.adjustTextX(h,o,f),v=c.adjustTextY(d,s,p),m=g,y=v;l&&(m+=l[3],y+=l[0]);var x=m+a;D(n)&&k(t,e,n,g,v,o,s);for(var _=0;_<i.lines.length;_++){var b,w=i.lines[_],S=w.tokens,M=S.length,C=w.lineHeight,T=w.width,O=0,P=m,E=x,R=M-1;while(O<M&&(b=S[O],!b.textAlign||"left"===b.textAlign))A(t,e,b,n,C,y,P,"left"),T-=b.width,P+=b.width,O++;while(R>=0&&(b=S[R],"right"===b.textAlign))A(t,e,b,n,C,y,E,"right"),T-=b.width,E-=b.width,R--;P+=(a-(P-m)-(x-E)-T)/2;while(O<=R)b=S[O],A(t,e,b,n,C,y,P+b.width/2,"center"),P+=b.width,O++;y+=C}}function I(t,e,i,n,r){if(i&&e.textRotation){var a=e.textOrigin;"center"===a?(n=i.width/2+i.x,r=i.height/2+i.y):a&&(n=a[0]+i.x,r=a[1]+i.y),t.translate(n,r),t.rotate(-e.textRotation),t.translate(-n,-r)}}function A(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&&D(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=B(l,u,f),d-=i.height/2-f[2]-i.textHeight/2),P(e,"shadowBlur",a(c.textShadowBlur,n.textShadowBlur,0)),P(e,"shadowColor",c.textShadowColor||n.textShadowColor||"transparent"),P(e,"shadowOffsetX",a(c.textShadowOffsetX,n.textShadowOffsetX,0)),P(e,"shadowOffsetY",a(c.textShadowOffsetY,n.textShadowOffsetY,0)),P(e,"textAlign",u),P(e,"textBaseline","middle"),P(e,"font",i.font||m);var p=E(c.textStroke||n.textStroke,v),g=R(c.textFill||n.textFill),v=r(c.textStrokeWidth,n.textStrokeWidth);p&&(P(e,"lineWidth",v),P(e,"strokeStyle",p),e.strokeText(i.text,l,d)),g&&(P(e,"fillStyle",g),e.fillText(i.text,l,d))}function D(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function k(t,e,i,n,r,a,o){var s=i.textBackgroundColor,c=i.textBorderWidth,f=i.textBorderColor,p=l(s);if(P(e,"shadowBlur",i.textBoxShadowBlur||0),P(e,"shadowColor",i.textBoxShadowColor||"transparent"),P(e,"shadowOffsetX",i.textBoxShadowOffsetX||0),P(e,"shadowOffsetY",i.textBoxShadowOffsetY||0),p||c&&f){e.beginPath();var g=i.textBorderRadius;g?h.buildPath(e,{x:n,y:r,width:a,height:o,r:g}):e.rect(n,r,a,o),e.closePath()}if(p)if(P(e,"fillStyle",s),null!=i.fillOpacity){var v=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,e.fill(),e.globalAlpha=v}else e.fill();else if(u(s)){var m=s.image;m=d.createOrUpdateImage(m,null,t,O,s),m&&d.isImageReady(m)&&e.drawImage(m,n,r,a,o)}if(c&&f)if(P(e,"lineWidth",c),P(e,"strokeStyle",f),null!=i.strokeOpacity){v=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,e.stroke(),e.globalAlpha=v}else e.stroke()}function O(t,e){e.image=t}function L(t,e,i){var n=e.x||0,r=e.y||0,a=e.textAlign,o=e.textVerticalAlign;if(i){var s=e.textPosition;if(s instanceof Array)n=i.x+N(s[0],i.width),r=i.y+N(s[1],i.height);else{var l=c.adjustTextPositionOnRect(s,i,e.textDistance);n=l.x,r=l.y,a=a||l.textAlign,o=o||l.textVerticalAlign}var u=e.textOffset;u&&(n+=u[0],r+=u[1])}return{baseX:n,baseY:r,textAlign:a,textVerticalAlign:o}}function P(t,e,i){return t[e]=f(t,e,i),t[e]}function E(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function R(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function N(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function B(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}function z(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}e.normalizeTextStyle=b,e.renderText=S,e.getStroke=E,e.getFill=R,e.needDrawText=z},a8c6:function(t,e,i){var n=i("2449"),r=n.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});t.exports=r},a8db:function(t,e,i){"use strict";var n=i("e265"),r=i.n(n),a=i("a4bb"),o=i.n(a);function s(t,e){if(null==t)return{};var i,n,r={},a=o()(t);for(n=0;n<a.length;n++)i=a[n],e.indexOf(i)>=0||(r[i]=t[i]);return r}function l(t,e){if(null==t)return{};var i,n,a=s(t,e);if(r.a){var o=r()(t);for(n=0;n<o.length;n++)i=o[n],e.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(a[i]=t[i])}return a}i.d(e,"a",function(){return l})},a96b:function(t,e,i){var n=i("3eba"),r=n.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});t.exports=r},ac0f:function(t,e,i){var n=i("cbe5"),r=i("401b"),a=i("4a3f"),o=a.quadraticSubdivide,s=a.cubicSubdivide,l=a.quadraticAt,u=a.cubicAt,c=a.quadraticDerivativeAt,h=a.cubicDerivativeAt,d=[];function f(t,e,i){var n=t.cpx2,r=t.cpy2;return null===n||null===r?[(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,r=e.x2,a=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,r,f,d),l=d[1],r=d[2],o(n,u,a,f,d),u=d[1],a=d[2]),t.quadraticCurveTo(l,u,r,a)):(f<1&&(s(i,l,c,r,f,d),l=d[1],c=d[2],r=d[3],s(n,u,h,a,f,d),u=d[1],h=d[2],a=d[3]),t.bezierCurveTo(l,u,c,h,r,a)))},pointAt:function(t){return f(this.shape,t,!1)},tangentAt:function(t){var e=f(this.shape,t,!0);return r.normalize(e,e)}});t.exports=p},ae69:function(t,e,i){var n=i("cbe5"),r=n.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var i=.5522848,n=e.cx,r=e.cy,a=e.rx,o=e.ry,s=a*i,l=o*i;t.moveTo(n-a,r),t.bezierCurveTo(n-a,r-l,n-s,r-o,n,r-o),t.bezierCurveTo(n+s,r-o,n+a,r-l,n+a,r),t.bezierCurveTo(n+a,r+l,n+s,r+o,n,r+o),t.bezierCurveTo(n-s,r+o,n-a,r+l,n-a,r),t.closePath()}});t.exports=r},af24:function(t,e,i){i("48c7"),i("f273")},afa0:function(t,e,i){var n=i("6d8b"),r=i("22d1"),a=i("e1fc"),o=i("04f6");function s(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(t,e){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(t,e)},getDisplayList:function(t,e){return e=e||!1,t&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var e=this._roots,i=this._displayList,n=0,a=e.length;n<a;n++)this._updateAndAddDisplayable(e[n],null,t);i.length=this._displayListLen,r.canvasSupported&&o(i,s)},_updateAndAddDisplayable:function(t,e,i){if(!t.ignore||i){t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var n=t.clipPath;if(n){e=e?e.slice():[];var r=n,a=t;while(r)r.parent=a,r.updateTransform(),e.push(r),a=r,r=r.clipPath}if(t.isGroup){for(var o=t._children,s=0;s<o.length;s++){var l=o[s];t.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,e,i)}t.__dirty=!1}else t.__clipPaths=e,this._displayList[this._displayListLen++]=t}},addRoot:function(t){t.__storage!==this&&(t instanceof a&&t.addChildrenToStorage(this),this.addToStorage(t),this._roots.push(t))},delRoot:function(t){if(null==t){for(var e=0;e<this._roots.length;e++){var i=this._roots[e];i instanceof a&&i.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(t instanceof Array){e=0;for(var r=t.length;e<r;e++)this.delRoot(t[e])}else{var o=n.indexOf(this._roots,t);o>=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof a&&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},b12f:function(t,e,i){var n=i("e1fc"),r=i("8918"),a=i("625e"),o=function(){this.group=new n,this.uid=r.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){},a.enableClassExtend(o),a.enableClassManagement(o,{registerWhenExtend:!0});var l=o;t.exports=l},b1d4:function(t,e,i){var n=i("862d");function r(t,e){return e=e||{},n(e.coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}t.exports=r},b5c7:function(t,e,i){var n=i("282b"),r=n([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),a={getBarItemStyle:function(t){var e=r(this,t);if(this.getBorderLineDash){var i=this.getBorderLineDash();i&&(e.lineDash=i)}return e}};t.exports=a},b719:function(t,e,i){var n=i("697e7");e.zrender=n;var r=i("1687");e.matrix=r;var a=i("401b");e.vector=a;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 v=i("84ce");e.Axis=v;var m=i("22d1");e.env=m;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","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"),r=i("29a8"),a=i("2b17"),o=a.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 a=0;e.eachSeries(function(t,e){++a},this);var s,l=i.get("data.maxCount")||10,u=i.get("series.maxCount")||10,c=Math.min(a,u);if(!(a<1)){var h=v();s=h?p(g("general.withTitle"),{title:h}):g("general.withoutTitle");var d=[],f=a>1?"series.multiple.prefix":"series.single.prefix";s+=p(g(f),{seriesCount:a}),e.eachSeries(function(t,e){if(e<c){var i,n=t.get("name"),r="series."+(a>1?"multiple":"single")+".";i=g(n?r+"withName":r+"withoutName"),i=p(i,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:m(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;h<s.count();h++)if(h<l){var f=s.getName(h),v=o(s,h);u.push(p(g(f?"data.withName":"data.withoutName"),{name:f,value:v}))}i+=u.join(g("data.separator.middle"))+g("data.separator.end"),d.push(i)}}),s+=d.join(g("series.multiple.separator.middle"))+g("series.multiple.separator.end"),t.setAttribute("aria-label",s)}}function p(t,e){if("string"!==typeof t)return t;var i=t;return n.each(e,function(t,e){i=i.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)}),i}function g(t){var e=i.get(t);if(null==e){for(var n=t.split("."),a=r.aria,o=0;o<n.length;++o)a=a[n[o]];return a}return e}function v(){var t=e.getModel("title").option;return t&&t.length&&(t=t[0]),t&&t.text}function m(t){return r.series.typeNames[t]||"自定义图"}}t.exports=s},bb70:function(t,e,i){var n=i("e86a");function r(t,e,i,n,r,a,o){function s(e,i,n,r){for(var a=e;a<i;a++)if(t[a].y+=n,a>e&&a+1<i&&t[a+1].y>t[a].y+t[a].height)return void l(a,n/2);l(i-1,n/2)}function l(e,i){for(var n=e;n>=0;n--)if(t[n].y-=i,n>0&&t[n].y>t[n-1].y+t[n-1].height)break}function u(t,e,i,n,r,a){for(var o=e?Number.MAX_VALUE:0,s=0,l=t.length;s<l;s++){var u=Math.abs(t[s].y-n),c=t[s].len,h=t[s].len2,d=u<r+c?Math.sqrt((r+c+h)*(r+c+h)-u*u):Math.abs(t[s].x-i);e&&d>=o&&(d=o-10),!e&&d<=o&&(d=o+10),t[s].x=i+d*a,o=d}}t.sort(function(t,e){return t.y-e.y});for(var c,h=0,d=t.length,f=[],p=[],g=0;g<d;g++)c=t[g].y-h,c<0&&s(g,d,-c,r),h=t[g].y+t[g].height;o-h<0&&l(d-1,h-o);for(g=0;g<d;g++)t[g].y>=i?p.push(t[g]):f.push(t[g]);u(f,!1,e,i,n,r),u(p,!0,e,i,n,r)}function a(t,e,i,n,a,s){for(var l=[],u=[],c=0;c<t.length;c++)o(t[c])||(t[c].x<e?l.push(t[c]):u.push(t[c]));r(u,e,i,n,1,a,s),r(l,e,i,n,-1,a,s);for(c=0;c<t.length;c++)if(!o(t[c])){var h=t[c].linePoints;if(h){var d=h[1][0]-h[2][0];t[c].x<e?h[2][0]=t[c].x+3:h[2][0]=t[c].x-3,h[1][1]=h[2][1]=t[c].y,h[1][0]=h[2][0]+d}}}function o(t){return"center"===t.position}function s(t,e,i,r){var o,s,l=t.getData(),u=[],c=!1;l.each(function(i){var r,a,h,d,f=l.getItemLayout(i),p=l.getItemModel(i),g=p.getModel("label"),v=g.get("position")||p.get("emphasis.label.position"),m=p.getModel("labelLine"),y=m.get("length"),x=m.get("length2"),_=(f.startAngle+f.endAngle)/2,b=Math.cos(_),w=Math.sin(_);o=f.cx,s=f.cy;var S="inside"===v||"inner"===v;if("center"===v)r=f.cx,a=f.cy,d="center";else{var M=(S?(f.r+f.r0)/2*b:f.r*b)+o,C=(S?(f.r+f.r0)/2*w:f.r*w)+s;if(r=M+3*b,a=C+3*w,!S){var T=M+b*(y+e-f.r),I=C+w*(y+e-f.r),A=T+(b<0?-1:1)*x,D=I;r=A+(b<0?-5:5),a=D,h=[[M,C],[T,I],[A,D]]}d=S?"center":b>0?"left":"right"}var k=g.getFont(),O=g.get("rotate")?b<0?-_+Math.PI:-_:0,L=t.getFormattedLabel(i,"normal")||l.getName(i),P=n.getBoundingRect(L,k,d,"top");c=!!O,f.label={x:r,y:a,position:v,height:P.height,len:y,len2:x,linePoints:h,textAlign:d,verticalAlign:"middle",rotation:O,inside:S},S||u.push(f.label)}),!c&&t.get("avoidLabelOverlap")&&a(u,o,s,e,i,r)}t.exports=s},bd6b:function(t,e,i){var n=i("06ad"),r=i("4942"),a=i("6d8b"),o=a.isString,s=a.isFunction,l=a.isObject,u=a.isArrayLike,c=a.indexOf,h=function(){this.animators=[]};function d(t,e,i,n,r,a,l,u){o(n)?(a=r,r=n,n=0):s(r)?(a=r,r="linear",n=0):s(n)?(a=n,n=0):s(i)?(a=i,i=500):i||(i=500),t.stopAnimation(),f(t,"",t,e,i,n,u);var c=t.animators.slice(),h=c.length;function d(){h--,h||a&&a()}h||a&&a();for(var p=0;p<c.length;p++)c[p].done(d).start(r,l)}function f(t,e,i,n,r,a,o){var s={},c=0;for(var h in n)n.hasOwnProperty(h)&&(null!=i[h]?l(n[h])&&!u(n[h])?f(t,e?e+"."+h:h,i[h],n[h],r,a,o):(o?(s[h]=i[h],p(t,e,h,n[h])):s[h]=n[h],c++):null==n[h]||o||p(t,e,h,n[h]));c>0&&t.animate(e,!1).when(null==r?500:r,s).delay(a||0)}function p(t,e,i,n){if(e){var r={};r[e]={},r[e][i]=n,t.attr(r)}else t.attr(i,n)}h.prototype={constructor:h,animate:function(t,e){var i,a=!1,o=this,s=this.__zr;if(t){var l=t.split("."),u=o;a="shape"===l[0];for(var h=0,d=l.length;h<d;h++)u&&(u=u[l[h]]);u&&(i=u)}else i=o;if(i){var f=o.animators,p=new n(i,e);return p.during(function(t){o.dirty(a)}).done(function(){f.splice(c(f,p),1)}),f.push(p),s&&s.animation.addAnimator(p),p}r('Property "'+t+'" is not existed in element '+o.id)},stopAnimation:function(t){for(var e=this.animators,i=e.length,n=0;n<i;n++)e[n].stop(t);return e.length=0,this},animateTo:function(t,e,i,n,r,a){d(this,t,e,i,n,r,a)},animateFrom:function(t,e,i,n,r,a){d(this,t,e,i,n,r,a,!0)}};var g=h;t.exports=g},bda7:function(t,e,i){var n=i("6d8b"),r=i("f279");function a(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var i=t.features,n=0;n<i.length;n++)for(var r=i[n],a=r.geometry,s=a.coordinates,l=a.encodeOffsets,u=0;u<s.length;u++){var c=s[u];if("Polygon"===a.type)s[u]=o(c,l[u],e);else if("MultiPolygon"===a.type)for(var h=0;h<c.length;h++){var d=c[h];c[h]=o(d,l[u][h],e)}}return t.UTF8Encoding=!1,t}function o(t,e,i){for(var n=[],r=e[0],a=e[1],o=0;o<t.length;o+=2){var s=t.charCodeAt(o)-64,l=t.charCodeAt(o+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=a,r=s,a=l,n.push([s/i,l/i])}return n}function s(t){return a(t),n.map(n.filter(t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var e=t.properties,i=t.geometry,a=i.coordinates,o=[];"Polygon"===i.type&&o.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===i.type&&n.each(a,function(t){t[0]&&o.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});var s=new r(e.name,o,e.cp);return s.properties=e,s})}t.exports=s},c037:function(t,e,i){var n=i("3eba"),r=i("6d8b");i("f7c6"),i("1ab3");var a=i("7782"),o=i("98e7"),s=i("292e"),l=i("d3f47");a("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(r.curry(s,"pie")),n.registerProcessor(l("pie"))},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},c775f:function(t,e,i){var n=i("2b17"),r=n.retrieveRawValue;function a(t,e){var i=t.mapDimension("defaultedLabel",!0),n=i.length;if(1===n)return r(t,e,i[0]);if(n){for(var a=[],o=0;o<i.length;o++){var s=r(t,e,i[o]);a.push(s)}return a.join(" ")}}e.getDefaultLabel=a},c7a2a:function(t,e,i){var n=i("cbe5"),r=i("5693"),a=i("9cf9"),o=a.subPixelOptimizeRect,s={},l=n.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var i,n,a,l;this.subPixelOptimize?(o(s,e,this.style),i=s.x,n=s.y,a=s.width,l=s.height,s.r=e.r,e=s):(i=e.x,n=e.y,a=e.width,l=e.height),e.r?r.buildPath(t,e):t.rect(i,n,a,l),t.closePath()}});t.exports=l},ca98:function(t,e,i){var n=i("6d8b"),r=i("e0d3"),a=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 r,a,s=[],l=[],u=t.timeline;if(t.baseOption&&(a=t.baseOption),(u||t.options)&&(a=a||{},s=(t.options||[]).slice()),t.media){a=a||{};var c=t.media;o(c,function(t){t&&t.option&&(t.query?l.push(t):r||(r=t))})}return a||(a=t),a.timeline||(a.timeline=u),o([a].concat(s).concat(n.map(l,function(t){return t.option})),function(t){o(e,function(e){e(t,i)})}),{baseOption:a,timelineOptions:s,mediaDefault:r,mediaList:l}}function f(t,e,i){var r={width:e,height:i,aspectratio:e/i},a=!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(r[o],t,n)||(a=!1)}}),a}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 v(t,e){e=e||{},o(e,function(e,i){if(null!=e){var n=t[i];if(a.hasClass(i)){e=r.normalizeToArray(e),n=r.normalizeToArray(n);var o=r.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(r.normalizeToArray(t.series),function(t){t&&t.data&&n.isTypedArray(t.data)&&n.setAsPrimitive(t.data)}),t=s(t,!0);var i=this._optionBackup,a=d.call(this,t,e,!i);this._newBaseOption=a.baseOption,i?(v(i.baseOption,a.baseOption),a.timelineOptions.length&&(i.timelineOptions=a.timelineOptions),a.mediaList.length&&(i.mediaList=a.mediaList),a.mediaDefault&&(i.mediaDefault=a.mediaDefault)):this._optionBackup=a},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,r=this._mediaDefault,a=[],o=[];if(!n.length&&!r)return o;for(var u=0,c=n.length;u<c;u++)f(n[u].query,e,i)&&a.push(u);return!a.length&&r&&(a=[-1]),a.length&&!g(a,this._currentMediaIndices)&&(o=l(a,function(t){return s(-1===t?r.option:n[t].option)})),this._currentMediaIndices=a,o}};var m=h;t.exports=m},cb11:function(t,e,i){var n=i("cbe5"),r=i("9cf9"),a=r.subPixelOptimizeLine,o={},s=n.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i,n,r,s;this.subPixelOptimize?(a(o,e,this.style),i=o.x1,n=o.y1,r=o.x2,s=o.y2):(i=e.x1,n=e.y1,r=e.x2,s=e.y2);var l=e.percent;0!==l&&(t.moveTo(i,n),l<1&&(r=i*(1-l)+r*l,s=n*(1-l)+s*l),t.lineTo(r,s))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=s},cb6d:function(t,e){function i(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}function n(t,e){return{target:t,topTarget:e&&e.topTarget}}i.prototype={constructor:i,_dragStart:function(t){var e=t.target;e&&e.draggable&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(n(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var i=t.offsetX,r=t.offsetY,a=i-this._x,o=r-this._y;this._x=i,this._y=r,e.drift(a,o,t),this.dispatchToElement(n(e,t),"drag",t.event);var s=this.findHover(i,r,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.dispatchToElement(n(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(n(s,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(n(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(n(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var r=i;t.exports=r},cb8f:function(t,e,i){var n=i("3eba"),r=i("6d8b"),a=i("cd33"),o=i("eb6b");i("48ac"),i("d4b1"),i("4a9d"),n.registerPreprocessor(function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!r.isArray(e)&&(t.axisPointer.link=[e])}}),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=a.collect(t,e)}),n.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},o)},cbe5:function(t,e,i){var n=i("19eb"),r=i("6d8b"),a=i("20c8"),o=i("d833"),s=i("dc2f"),l=s.prototype.getCanvasPattern,u=Math.abs,c=new a(!0);function h(t){n.call(this,t),this.path=null}h.prototype={constructor:h,type:"path",__dirtyPath:!0,strokeContainThreshold:5,subPixelOptimize:!1,brush:function(t,e){var i,n=this.style,r=this.path||c,a=n.hasStroke(),o=n.hasFill(),s=n.fill,u=n.stroke,h=o&&!!s.colorStops,d=a&&!!u.colorStops,f=o&&!!s.image,p=a&&!!u.image;(n.bind(t,this,e),this.setTransform(t),this.__dirty)&&(h&&(i=i||this.getBoundingRect(),this._fillGradient=n.getGradient(t,s,i)),d&&(i=i||this.getBoundingRect(),this._strokeGradient=n.getGradient(t,u,i)));h?t.fillStyle=this._fillGradient:f&&(t.fillStyle=l.call(s,t)),d?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=l.call(u,t));var g=n.lineDash,v=n.lineDashOffset,m=!!t.setLineDash,y=this.getGlobalScale();if(r.setScale(y[0],y[1]),this.__dirtyPath||g&&!m&&a?(r.beginPath(t),g&&!m&&(r.setLineDash(g),r.setLineDashOffset(v)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),o)if(null!=n.fillOpacity){var x=t.globalAlpha;t.globalAlpha=n.fillOpacity*n.opacity,r.fill(t),t.globalAlpha=x}else r.fill(t);if(g&&m&&(t.setLineDash(g),t.lineDashOffset=v),a)if(null!=n.strokeOpacity){x=t.globalAlpha;t.globalAlpha=n.strokeOpacity*n.opacity,r.stroke(t),t.globalAlpha=x}else r.stroke(t);g&&m&&t.setLineDash([]),null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,i){},createPathProxy:function(){this.path=new a},getBoundingRect:function(){var t=this._rect,e=this.style,i=!t;if(i){var n=this.path;n||(n=this.path=new a),this.__dirtyPath&&(n.beginPath(),this.buildPath(n,this.shape,!1)),t=n.getBoundingRect()}if(this._rect=t,e.hasStroke()){var r=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||i){r.copy(t);var o=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),s>1e-10&&(r.width+=o/s,r.height+=o/s,r.x-=o/s/2,r.y-=o/s/2)}return r}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),r=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var a=this.path.data;if(r.hasStroke()){var s=r.lineWidth,l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(r.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(a,s/l,t,e)))return!0}if(r.hasFill())return o.contain(a,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(r.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 r in i)!n.hasOwnProperty(r)&&i.hasOwnProperty(r)&&(n[r]=i[r])}t.init&&t.init.call(this,e)};for(var i in r.inherits(e,h),t)"style"!==i&&"shape"!==i&&(e.prototype[i]=t[i]);return e},r.inherits(h,n);var d=h;t.exports=d},cbe9:function(t,e,i){var n=i("6d8b"),r=i("cf7e");function a(t){r.call(this,t)}a.prototype={constructor:a,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),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"),r=this.getAxis("y");return i=i||[],i[0]=n.toGlobalCoord(n.dataToCoord(t[0])),i[1]=r.toGlobalCoord(r.dataToCoord(t[1])),i},clampData:function(t,e){var i=this.getAxis("x").scale,n=this.getAxis("y").scale,r=i.getExtent(),a=n.getExtent(),o=i.parse(t[0]),s=n.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(r[0],r[1]),o),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[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")}},n.inherits(a,r);var o=a;t.exports=o},cccd:function(t,e,i){var n=i("e0d3"),r=n.makeInner;function a(){var t=r();return function(e){var i=t(e),n=e.pipelineContext,r=i.large,a=i.progressiveRender,o=i.large=n.large,s=i.progressiveRender=n.progressiveRender;return!!(r^o||a^s)&&"reset"}}t.exports=a},cd12:function(t,e,i){i("01ed"),i("4a9d"),i("cb8f")},cd33:function(t,e,i){var n=i("6d8b"),r=i("4319"),a=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"),r=e.getComponent("axisPointer"),s=r.get("link",!0)||[],l=[];a(i.getCoordinateSystems(),function(i){if(i.axisPointerEnabled){var c=m(i.model),d=t.coordSysAxesInfo[c]={};t.coordSysMap[c]=i;var f=i.model,p=f.getModel("tooltip",n);if(a(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)&&a(x.baseAxes,o(_,!y||"cross",g)),y&&a(x.otherAxes,o(_,"cross",!1))}}function _(n,a,o){var c=o.model.getModel("axisPointer",r),f=c.get("show");if(f&&("auto"!==f||n||v(c))){null==a&&(a=c.get("triggerTooltip")),c=n?u(o,p,r,e,n,a):c;var g=c.get("snap"),y=m(o.model),x=a||g||"category"===o.type,_=t.axesInfo[y]={key:y,axis:o,coordSys:i,axisPointerModel:c,triggerTooltip:a,involveSeries:x,snap:g,useHandle:v(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={};a(["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 r(c,i,o))}function c(t,e){e.eachSeries(function(e){var i=e.coordinateSystem,n=e.get("tooltip.trigger",!0),r=e.get("tooltip.show",!0);i&&"none"!==n&&!1!==n&&"item"!==n&&!1!==r&&!1!==e.get("axisPointer.show",!0)&&a(t.coordSysAxesInfo[m(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,r=0;r<t.length;r++){var a=t[r]||{};if(d(a[n+"AxisId"],i.id)||d(a[n+"AxisIndex"],i.componentIndex)||d(a[n+"AxisName"],i.name))return r}}function d(t,e){return"all"===t||n.isArray(t)&&n.indexOf(t,e)>=0||t===e}function f(t){var e=p(t);if(e){var i=e.axisPointerModel,n=e.axis.scale,r=i.option,a=i.get("status"),o=i.get("value");null!=o&&(o=n.parse(o));var s=v(i);null==a&&(r.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o<l[0]&&(o=l[0]),r.value=o,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function p(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[m(t)]}function g(t){var e=p(t);return e&&e.axisPointerModel}function v(t){return!!t.get("handle.show")}function m(t){return t.type+"||"+t.id}e.collect=s,e.fixValue=f,e.getAxisInfo=p,e.getAxisPointerModel=g,e.makeKey=m},cdaa:function(t,e,i){var n=i("607d"),r=n.addEventListener,a=n.removeEventListener,o=n.normalizeEvent,s=i("6d8b"),l=i("1fab"),u=i("22d1"),c=300,h=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],d=["touchstart","touchend","touchmove"],f={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},p=s.map(h,function(t){var e=t.replace("mouse","pointer");return f[e]?e:t});function g(t){return"mousewheel"===t&&u.browser.firefox?"DOMMouseScroll":t}function v(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=setTimeout(function(){t._touching=!1},700)}var m={mousemove:function(t){t=o(this.dom,t),this.trigger("mousemove",t)},mouseout:function(t){t=o(this.dom,t);var e=t.toElement||t.relatedTarget;if(e!==this.dom)while(e&&9!==e.nodeType){if(e===this.dom)return;e=e.parentNode}this.trigger("mouseout",t)},touchstart:function(t){t=o(this.dom,t),t.zrByTouch=!0,this._lastTouchMoment=new Date,this.handler.processGesture(this,t,"start"),m.mousemove.call(this,t),m.mousedown.call(this,t),v(this)},touchmove:function(t){t=o(this.dom,t),t.zrByTouch=!0,this.handler.processGesture(this,t,"change"),m.mousemove.call(this,t),v(this)},touchend:function(t){t=o(this.dom,t),t.zrByTouch=!0,this.handler.processGesture(this,t,"end"),m.mouseup.call(this,t),+new Date-this._lastTouchMoment<c&&m.click.call(this,t),v(this)},pointerdown:function(t){m.mousedown.call(this,t)},pointermove:function(t){y(t)||m.mousemove.call(this,t)},pointerup:function(t){m.mouseup.call(this,t)},pointerout:function(t){y(t)||m.mouseout.call(this,t)}};function y(t){var e=t.pointerType;return"pen"===e||"touch"===e}function x(t){function e(t,e){return function(){if(!e._touching)return t.apply(e,arguments)}}s.each(d,function(e){t._handlers[e]=s.bind(m[e],t)}),s.each(p,function(e){t._handlers[e]=s.bind(m[e],t)}),s.each(h,function(i){t._handlers[i]=e(m[i],t)})}function _(t){function e(e,i){s.each(e,function(e){r(t,g(e),i._handlers[e])},i)}l.call(this),this.dom=t,this._touching=!1,this._touchTimer,this._handlers={},x(this),u.pointerEventsSupported?e(p,this):(u.touchEventsSupported&&e(d,this),e(h,this))}s.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){m[t]=function(e){e=o(this.dom,e),this.trigger(t,e)}});var b=_.prototype;b.dispose=function(){for(var t=h.concat(d),e=0;e<t.length;e++){var i=t[e];a(this.dom,g(i),this._handlers[i])}},b.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},s.mixin(_,l);var w=_;t.exports=w},cf7e:function(t,e,i){var n=i("6d8b");function r(t){return this._axes[t]}var a=function(t){this._axes={},this._dimList=[],this.name=t||""};a.prototype={constructor:a,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return n.map(this._dimList,r,this)},getAxesByScale:function(t){return t=t.toLowerCase(),n.filter(this.getAxes(),function(e){return e.scale.type===t})},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var i=this._dimList,n=t instanceof Array?[]:{},r=0;r<i.length;r++){var a=i[r],o=this._axes[a];n[a]=o[e](t[a])}return n}};var o=a;t.exports=o},d0bf:function(t,e,i){"use strict";var n=i("66b9"),r=i.n(n);r.a},d15d:function(t,e,i){var n=i("6d8b"),r=n.createHashMap,a=n.each;function o(t){var e=r();t.eachSeries(function(t){var i=t.get("stack");if(i){var n=e.get(i)||e.set(i,[]),r=t.getData(),a={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!a.stackedDimension||!a.isStackedByIndex&&!a.stackedByDimension)return;n.length&&r.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(a)}}),e.each(s)}function s(t){a(t,function(e,i){var n=[],r=[NaN,NaN],a=[e.stackResultDimension,e.stackedOverDimension],o=e.data,s=e.isStackedByIndex,l=o.map(a,function(a,l,u){var c,h,d=o.get(e.stackedDimension,u);if(isNaN(d))return r;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 v=g.data.getByRawIndex(g.stackResultDimension,h);if(d>=0&&v>0||d<=0&&v<0){d+=v,f=v;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("46508"),i("5e97");var r=i("903c"),a=i("6cb7");n.registerProcessor(r),a.registerSubTypeDefaulter("legend",function(){return"plain"})},d2cf:function(t,e,i){var n=i("6d8b"),r=i("401b"),a=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(t){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,a.call(this),this.setHandlerProxy(i)};function g(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){var n,r=t;while(r){if(r.clipPath&&!r.clipPath.contain(e,i))return!1;r.silent&&(n=!0),r=r.parent}return!n||u}return!1}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=this._hovered,r=n.target;r&&!r.__zr&&(n=this.findHover(n.x,n.y),r=n.target);var a=this._hovered=this.findHover(e,i),o=a.target,s=this.proxy;s.setCursor&&s.setCursor(o?o.cursor:"default"),r&&o!==r&&this.dispatchToElement(n,"mouseout",t),this.dispatchToElement(a,"mousemove",t),o&&o!==r&&this.dispatchToElement(a,"mouseover",t)},mouseout:function(t){this.dispatchToElement(this._hovered,"mouseout",t);var e,i=t.toElement||t.relatedTarget;do{i=i&&i.parentNode}while(i&&9!==i.nodeType&&!(e=i===this.painterRoot));!e&&this.trigger("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 r="on"+e,a=c(e,t,i);while(n)if(n[r]&&(a.cancelBubble=n[r].call(n,a)),n.trigger(e,a),n=n.parent,a.cancelBubble)break;a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer(function(t){"function"===typeof t[r]&&t[r].call(t,a),t.trigger&&t.trigger(e,a)}))}},findHover:function(t,e,i){for(var n=this.storage.getDisplayList(),r={x:t,y:e},a=n.length-1;a>=0;a--){var o;if(n[a]!==i&&!n[a].ignore&&(o=g(n[a],t,e))&&(!r.topTarget&&(r.topTarget=n[a]),o!==u)){r.target=n[a];break}}return r},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 r=n.type;t.gestureEvent=r,this.dispatchToElement({target:n.target},r,n.event)}}},n.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){p.prototype[t]=function(e){var i=this.findHover(e.zrX,e.zrY),n=i.target;if("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||r.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}}),n.mixin(p,o),n.mixin(p,a);var v=p;t.exports=v},d3f47: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),r=0;r<i.length;r++)if(!i[r].isSelected(e))return!1;return!0})}}}}t.exports=i},d498:function(t,e,i){var n=i("cbe5"),r=i("4fac"),a=n.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){r.buildPath(t,e,!1)}});t.exports=a},d4b1:function(t,e,i){var n=i("3eba"),r=i("17d6"),a=n.extendComponentView({type:"axisPointer",render:function(t,e,i){var n=e.getComponent("tooltip"),a=t.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";r.register("axisPointer",i,function(t,e,i){"none"!==a&&("leave"===t||a.indexOf(t)>=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},remove:function(t,e){r.unregister(e.getZr(),"axisPointer"),a.superApply(this._model,"remove",arguments)},dispose:function(t,e){r.unregister("axisPointer",e),a.superApply(this._model,"dispose",arguments)}}),o=a;t.exports=o},d4c6:function(t,e,i){var n=i("cbe5"),r=n.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i<e.length;i++)t=t||e[i].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),i=0;i<t.length;i++)t[i].path||t[i].createPathProxy(),t[i].path.setScale(e[0],e[1])},buildPath:function(t,e){for(var i=e.paths||[],n=0;n<i.length;n++)i[n].buildPath(t,i[n].shape,!0)},afterBrush:function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),n.prototype.getBoundingRect.call(this)}});t.exports=r},d4d1:function(t,e,i){var n=i("cbe5"),r=i("401b"),a=i("897a"),o=r.min,s=r.max,l=r.scaleAndAdd,u=r.copy,c=[],h=[],d=[];function f(t){return isNaN(t[0])||isNaN(t[1])}function p(t,e,i,n,r,a,o,s,l,u,c){return"none"!==u&&u?g.apply(this,arguments):v.apply(this,arguments)}function g(t,e,i,n,r,a,o,s,l,c,p){for(var g=0,v=i,m=0;m<n;m++){var y=e[v];if(v>=r||v<0)break;if(f(y)){if(p){v+=a;continue}break}if(v===i)t[a>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=v,v+=a}return m}function v(t,e,i,n,a,p,g,v,m,y,x){for(var _=0,b=i,w=0;w<n;w++){var S=e[b];if(b>=a||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(m>0){var M=b+p,C=e[M];if(x)while(C&&f(e[M]))M+=p,C=e[M];var T=.5,I=e[_];C=e[M];if(!C||f(C))u(d,S);else{var A,D;if(f(C)&&!x&&(C=S),r.sub(c,C,I),"x"===y||"y"===y){var k="x"===y?0:1;A=Math.abs(S[k]-I[k]),D=Math.abs(S[k]-C[k])}else A=r.dist(S,I),D=r.dist(S,C);T=D/(D+A),l(d,S,c,-m*(1-T))}o(h,h,v),s(h,h,g),o(d,d,v),s(d,d,g),t.bezierCurveTo(h[0],h[1],d[0],d[1],S[0],S[1]),l(h,S,c,m*T)}else t.lineTo(S[0],S[1]);_=b,b+=p}return w}function m(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var r=0;r<t.length;r++){var a=t[r];a[0]<i[0]&&(i[0]=a[0]),a[1]<i[1]&&(i[1]=a[1]),a[0]>n[0]&&(n[0]=a[0]),a[1]>n[1]&&(n[1]=a[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:a(n.prototype.brush),buildPath:function(t,e){var i=e.points,n=0,r=i.length,a=m(i,e.smoothConstraint);if(e.connectNulls){for(;r>0;r--)if(!f(i[r-1]))break;for(;n<r;n++)if(!f(i[n]))break}while(n<r)n+=p(t,i,n,r,r,1,a.min,a.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}}),x=n.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:a(n.prototype.brush),buildPath:function(t,e){var i=e.points,n=e.stackedOnPoints,r=0,a=i.length,o=e.smoothMonotone,s=m(i,e.smoothConstraint),l=m(n,e.smoothConstraint);if(e.connectNulls){for(;a>0;a--)if(!f(i[a-1]))break;for(;r<a;r++)if(!f(i[r]))break}while(r<a){var u=p(t,i,r,a,a,1,s.min,s.max,e.smooth,o,e.connectNulls);p(t,n,r+u-1,u,a,-1,l.min,l.max,e.stackedOnSmooth,o,e.connectNulls),r+=u+1,t.closePath()}}});e.Polyline=y,e.Polygon=x},d51b:function(t,e){var i=function(){this.head=null,this.tail=null,this._len=0},n=i.prototype;n.insert=function(t){var e=new r(t);return this.insertEntry(e),e},n.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},n.remove=function(t){var e=t.prev,i=t.next;e?e.next=i:this.head=i,i?i.prev=e:this.tail=e,t.next=t.prev=null,this._len--},n.len=function(){return this._len},n.clear=function(){this.head=this.tail=null,this._len=0};var r=function(t){this.value=t,this.next,this.prev},a=function(t){this._list=new i,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},o=a.prototype;o.put=function(t,e){var i=this._list,n=this._map,a=null;if(null==n[t]){var o=i.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=i.head;i.remove(l),delete n[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new r(e),s.key=t,i.insertEntry(s),n[t]=s}return a},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=a;t.exports=s},d5b7:function(t,e,i){var n=i("de00"),r=i("1fab"),a=i("0cde"),o=i("bd6b"),s=i("6d8b"),l=function(t){a.call(this,t),r.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;i<e.length;i++)t.animation.addAnimator(e[i]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.removeAnimator(e[i]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},s.mixin(l,o),s.mixin(l,a),s.mixin(l,r);var u=l;t.exports=u},d833:function(t,e,i){var n=i("20c8"),r=i("9680"),a=i("e7d2"),o=i("68ab"),s=i("9f51"),l=i("857d"),u=l.normalizeRadian,c=i("4a3f"),h=i("8728"),d=n.CMD,f=2*Math.PI,p=1e-4;function g(t,e){return Math.abs(t-e)<p}var v=[-1,-1,-1],m=[-1,-1];function y(){var t=m[0];m[0]=m[1],m[1]=t}function x(t,e,i,n,r,a,o,s,l,u){if(u>e&&u>n&&u>a&&u>s||u<e&&u<n&&u<a&&u<s)return 0;var h=c.cubicRootAt(e,n,a,s,u,v);if(0===h)return 0;for(var d,f,p=0,g=-1,x=0;x<h;x++){var _=v[x],b=0===_||1===_?.5:1,w=c.cubicAt(t,i,r,o,_);w<l||(g<0&&(g=c.cubicExtrema(e,n,a,s,m),m[1]<m[0]&&g>1&&y(),d=c.cubicAt(e,n,a,s,m[0]),g>1&&(f=c.cubicAt(e,n,a,s,m[1]))),2===g?_<m[0]?p+=d<e?b:-b:_<m[1]?p+=f<d?b:-b:p+=s<f?b:-b:_<m[0]?p+=d<e?b:-b:p+=s<d?b:-b)}return p}function _(t,e,i,n,r,a,o,s){if(s>e&&s>n&&s>a||s<e&&s<n&&s<a)return 0;var l=c.quadraticRootAt(e,n,a,s,v);if(0===l)return 0;var u=c.quadraticExtremum(e,n,a);if(u>=0&&u<=1){for(var h=0,d=c.quadraticAt(e,n,a,u),f=0;f<l;f++){var p=0===v[f]||1===v[f]?.5:1,g=c.quadraticAt(t,i,r,v[f]);g<o||(v[f]<u?h+=d<e?p:-p:h+=a<d?p:-p)}return h}p=0===v[0]||1===v[0]?.5:1,g=c.quadraticAt(t,i,r,v[0]);return g<o?0:a<e?p:-p}function b(t,e,i,n,r,a,o,s){if(s-=e,s>i||s<-i)return 0;var l=Math.sqrt(i*i-s*s);v[0]=-l,v[1]=l;var c=Math.abs(n-r);if(c<1e-4)return 0;if(c%f<1e-4){n=0,r=f;var h=a?1:-1;return o>=v[0]+t&&o<=v[1]+t?h:0}if(a){l=n;n=u(r),r=u(l)}else n=u(n),r=u(r);n>r&&(r+=f);for(var d=0,p=0;p<2;p++){var g=v[p];if(g+t>o){var m=Math.atan2(s,g);h=a?1:-1;m<0&&(m=f+m),(m>=n&&m<=r||m+f>=n&&m+f<=r)&&(m>Math.PI/2&&m<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,v=0,m=0;m<t.length;){var y=t[m++];switch(y===d.M&&m>1&&(i||(u+=h(c,f,p,v,n,l))),1===m&&(c=t[m],f=t[m+1],p=c,v=f),y){case d.M:p=t[m++],v=t[m++],c=p,f=v;break;case d.L:if(i){if(r.containStroke(c,f,t[m],t[m+1],e,n,l))return!0}else u+=h(c,f,t[m],t[m+1],n,l)||0;c=t[m++],f=t[m++];break;case d.C:if(i){if(a.containStroke(c,f,t[m++],t[m++],t[m++],t[m++],t[m],t[m+1],e,n,l))return!0}else u+=x(c,f,t[m++],t[m++],t[m++],t[m++],t[m],t[m+1],n,l)||0;c=t[m++],f=t[m++];break;case d.Q:if(i){if(o.containStroke(c,f,t[m++],t[m++],t[m],t[m+1],e,n,l))return!0}else u+=_(c,f,t[m++],t[m++],t[m],t[m+1],n,l)||0;c=t[m++],f=t[m++];break;case d.A:var w=t[m++],S=t[m++],M=t[m++],C=t[m++],T=t[m++],I=t[m++];m+=1;var A=1-t[m++],D=Math.cos(T)*M+w,k=Math.sin(T)*C+S;m>1?u+=h(c,f,D,k,n,l):(p=D,v=k);var O=(n-w)*C/M+w;if(i){if(s.containStroke(w,S,C,T,T+I,A,e,O,l))return!0}else u+=b(w,S,C,T,T+I,A,O,l);c=Math.cos(T+I)*M+w,f=Math.sin(T+I)*C+S;break;case d.R:p=c=t[m++],v=f=t[m++];var L=t[m++],P=t[m++];D=p+L,k=v+P;if(i){if(r.containStroke(p,v,D,v,e,n,l)||r.containStroke(D,v,D,k,e,n,l)||r.containStroke(D,k,p,k,e,n,l)||r.containStroke(p,k,p,v,e,n,l))return!0}else u+=h(D,v,D,k,n,l),u+=h(p,k,p,v,n,l);break;case d.Z:if(i){if(r.containStroke(c,f,p,v,e,n,l))return!0}else u+=h(c,f,p,v,n,l);c=p,f=v;break}}return i||g(f,v)||(u+=h(c,f,p,v,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},d9fc:function(t,e,i){var n=i("cbe5"),r=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=r},db0e:function(t,e,i){var n=i("3eba");i("a8c6"),i("8344"),n.registerPreprocessor(function(t){t.markPoint=t.markPoint||{}})},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"),r=i("625e"),a=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){v(h(i).lastProp,n)||(h(i).lastProp=n,e?a.updateProps(i,n,t):(i.stopAnimation(),i.attr(n)))}function v(t,e){if(n.isObject(t)&&n.isObject(e)){var i=!0;return n.each(e,function(e,n){i=i&&v(t[n],e)}),!!i}return t===e}function m(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"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=r&&(t.zlevel=r),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,r){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,r||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 a.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,r="category"===n.type,a=e.get("snap");if(!a&&!r)return!1;if("auto"===i||null==i){var s=this.animationThreshold;if(r&&n.getBandWidth()>s)return!0;if(a){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,r){},createPointerEl:function(t,e,i,n){var r=e.pointer;if(r){var o=h(t).pointerEl=new a[r.type](d(e.pointer));t.add(o)}},createLabelEl:function(t,e,i,n){if(e.label){var r=h(t).labelEl=new a.Rect(d(e.label));t.add(r),m(r,n)}},updatePointerEl:function(t,e,i){var n=h(t).pointerEl;n&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,i,n){var r=h(t).labelEl;r&&(r.setStyle(e.label.style),i(r,{shape:e.label.shape,position:e.label.position}),m(r,n))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,r=this._api.getZr(),o=this._handle,u=i.getModel("handle"),c=i.get("status");if(!u.get("show")||!c||"hide"===c)return o&&r.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=a.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)}),r.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,r.enableClassExtend(p);var _=p;t.exports=_},dded:function(t,e,i){var n=i("6d8b"),r=i("42e5"),a=function(t,e,i,n,a){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==i?.5:i,this.type="radial",this.global=a||!1,r.call(this,n)};a.prototype={constructor:a},n.inherits(a,r);var o=a;t.exports=o},de00:function(t,e){var i=2311;function n(){return i++}t.exports=n},de1c:function(t,e){var i={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};t.exports=i},e073:function(t,e,i){var n=i("6d8b"),r=i("e86a"),a=i("e0d3"),o=a.makeInner,s=i("697e"),l=s.makeLabelFormatter,u=s.getOptionCategoryInterval,c=s.shouldShowAllLabels,h=o();function d(t){return"category"===t.type?p(t):m(t)}function f(t,e){return"category"===t.type?v(t,e):{ticks:t.scale.getTicks()}}function p(t){var e=t.getLabelModel(),i=g(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i}function g(t,e){var i,r,a=y(t,"labels"),o=u(e),s=x(a,o);return s||(n.isFunction(o)?i=C(t,o):(r="auto"===o?b(t):o,i=M(t,r)),_(a,o,{labels:i,labelCategoryInterval:r}))}function v(t,e){var i,r,a=y(t,"ticks"),o=u(e),s=x(a,o);if(s)return s;if(e.get("show")&&!t.scale.isBlank()||(i=[]),n.isFunction(o))i=C(t,o,!0);else if("auto"===o){var l=g(t,t.getLabelModel());r=l.labelCategoryInterval,i=n.map(l.labels,function(t){return t.tickValue})}else r=o,i=M(t,r,!0);return _(a,o,{ticks:i,tickCategoryInterval:r})}function m(t){var e=t.scale.getTicks(),i=l(t);return{labels:n.map(e,function(e,n){return{formattedLabel:i(e,n),rawLabel:t.scale.getLabel(e),tickValue:e}})}}function y(t,e){return h(t)[e]||(h(t)[e]=[])}function x(t,e){for(var i=0;i<t.length;i++)if(t[i].key===e)return t[i].value}function _(t,e,i){return t.push({key:e,value:i}),i}function b(t){var e=h(t).autoInterval;return null!=e?e:h(t).autoInterval=t.calculateCategoryInterval()}function w(t){var e=S(t),i=l(t),n=(e.axisRotate-e.labelRotate)/180*Math.PI,a=t.scale,o=a.getExtent(),s=a.count();if(o[1]-o[0]<1)return 0;var u=1;s>40&&(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,v=0;c<=o[1];c+=u){var m=0,y=0,x=r.getBoundingRect(i(c),e.font,"center","top");m=1.3*x.width,y=1.3*x.height,g=Math.max(g,m,7),v=Math.max(v,y,7)}var _=g/f,b=v/p;isNaN(_)&&(_=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(_,b))),M=h(t.model),C=M.lastAutoInterval,T=M.lastTickCount;return null!=C&&null!=T&&Math.abs(C-w)<=1&&Math.abs(T-s)<=1&&C>w?w=C:(M.lastTickCount=s,M.lastAutoInterval=w),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),r=t.scale,a=r.getExtent(),o=t.getLabelModel(),s=[],u=Math.max((e||0)+1,1),h=a[0],d=r.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!==a[0]&&m(a[0]);for(var v=h;v<=a[1];v+=u)m(v);function m(t){s.push(i?t:{formattedLabel:n(t),rawLabel:r.getLabel(t),tickValue:t})}return g&&v!==a[1]&&m(a[1]),s}function C(t,e,i){var r=t.scale,a=l(t),o=[];return n.each(r.getTicks(),function(t){var n=r.getLabel(t);e(t,n)&&o.push(i?t:{formattedLabel:a(t),rawLabel:n,tickValue:t})}),o}e.createAxisLabels=d,e.createAxisTicks=f,e.calculateCategoryInterval=w},e0d3:function(t,e,i){var n=i("6d8b"),r=i("22d1"),a=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,r=i.length;n<r;n++){var a=i[n];!t.emphasis[e].hasOwnProperty(a)&&t[e].hasOwnProperty(a)&&(t.emphasis[e][a]=t[e][a])}}}var h=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function d(t){return!o(t)||s(t)||t instanceof Date?t:t.value}function f(t){return o(t)&&!(t instanceof Array)}function p(t,e){e=(e||[]).slice();var i=n.map(t||[],function(t,e){return{exist:t}});return a(e,function(t,n){if(o(t)){for(var r=0;r<i.length;r++)if(!i[r].option&&null!=t.id&&i[r].exist.id===t.id+"")return i[r].option=t,void(e[n]=null);for(r=0;r<i.length;r++){var a=i[r].exist;if(!i[r].option&&(null==a.id||null==t.id)&&null!=t.name&&!m(t)&&!m(a)&&a.name===t.name+"")return i[r].option=t,void(e[n]=null)}}}),a(e,function(t,e){if(o(t)){for(var n=0;n<i.length;n++){var r=i[n].exist;if(!i[n].option&&!m(r)&&null==t.id){i[n].option=t;break}}n>=i.length&&i.push({option:t})}}),i}function g(t){var e=n.createHashMap();a(t,function(t,i){var n=t.exist;n&&e.set(n.id,t)}),a(t,function(t,i){var r=t.option;n.assert(!r||null==r.id||!e.get(r.id)||e.get(r.id)===t,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&e.set(r.id,t),!t.keyInfo&&(t.keyInfo={})}),a(t,function(t,i){var n=t.exist,r=t.option,a=t.keyInfo;if(o(r)){if(a.name=null!=r.name?r.name+"":n?n.name:l+i,n)a.id=n.id;else if(null!=r.id)a.id=r.id+"";else{var s=0;do{a.id="\0"+a.name+"\0"+s++}while(e.get(a.id))}e.set(a.id,t)}})}function v(t){var e=t.name;return!(!e||!e.indexOf(l))}function m(t){return o(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function y(t,e){var i={},n={};return r(t||[],i),r(e||[],n,i),[a(i),a(n)];function r(t,e,i){for(var n=0,r=t.length;n<r;n++)for(var a=t[n].seriesId,o=u(t[n].dataIndex),s=i&&i[a],l=0,c=o.length;l<c;l++){var h=o[l];s&&s[h]?s[h]=null:(e[a]||(e[a]={}))[h]=1}}function a(t,e){var i=[];for(var n in t)if(t.hasOwnProperty(n)&&null!=t[n])if(e)i.push(+n);else{var r=a(t[n],!0);r.length&&i.push({seriesId:n,dataIndex:r})}return i}}function x(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?n.isArray(e.dataIndex)?n.map(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?n.isArray(e.name)?n.map(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function _(){var t="__\0ec_inner_"+b+++"_"+Math.random().toFixed(5);return function(e){return e[t]||(e[t]={})}}var b=0;function w(t,e,i){if(n.isString(e)){var r={};r[e+"Index"]=0,e=r}var o=i&&i.defaultMainType;!o||S(e,o+"Index")||S(e,o+"Id")||S(e,o+"Name")||(e[o+"Index"]=0);var s={};return a(e,function(r,a){r=e[a];if("dataIndex"!==a&&"dataIndexInside"!==a){var o=a.match(/^(\w+)(Index|Id|Name)$/)||[],l=o[1],u=(o[2]||"").toLowerCase();if(!(!l||!u||null==r||"index"===u&&"none"===r||i&&i.includeMainTypes&&n.indexOf(i.includeMainTypes,l)<0)){var c={mainType:l};"index"===u&&"all"===r||(c[u]=r);var h=t.queryComponents(c);s[l+"Models"]=h,s[l+"Model"]=h[0]}}else s[a]=r}),s}function S(t,e){return t&&t.hasOwnProperty(e)}function M(t,e,i){t.setAttribute?t.setAttribute(e,i):t[e]=i}function C(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function T(t){return"auto"===t?r.domSupported?"html":"richText":t||"html"}function I(t,e){var i=n.createHashMap(),r=[];return n.each(t,function(t){var n=e(t);(i.get(n)||(r.push(n),i.set(n,[]))).push(t)}),{keys:r,buckets:i}}e.normalizeToArray=u,e.defaultEmphasis=c,e.TEXT_STYLE_OPTIONS=h,e.getDataItemValue=d,e.isDataItemOption=f,e.mappingToExists=p,e.makeIdAndName=g,e.isNameSpecified=v,e.isIdInner=m,e.compressBatches=y,e.queryDataIndex=x,e.makeInner=_,e.parseFinder=w,e.setAttribute=M,e.getAttribute=C,e.getTooltipRenderMode=T,e.groupData=I},e0d8:function(t,e,i){var n=i("625e");function r(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}r.prototype.parse=function(t){return t},r.prototype.getSetting=function(t){return this._setting[t]},r.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},r.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},r.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},r.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},r.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(t){this._isBlank=t},r.prototype.getLabel=null,n.enableClassExtend(r),n.enableClassManagement(r,{registerWhenExtend:!0});var a=r;t.exports=a},e1fc:function(t,e,i){var n=i("6d8b"),r=i("d5b7"),a=i("9850"),o=function(t){for(var e in t=t||{},r.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<e.length;i++)if(e[i].name===t)return e[i]},childCount:function(){return this._children.length},add:function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var i=this._children,n=i.indexOf(e);n>=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,r=this._children,a=n.indexOf(r,t);return a<0?this:(r.splice(a,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;e<i.length;e++)t=i[e],n&&(n.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(n)),t.parent=null;return i.length=0,this},eachChild:function(t,e){for(var i=this._children,n=0;n<i.length;n++){var r=i[n];t.call(e,r,n)}return this},traverse:function(t,e){for(var i=0;i<this._children.length;i++){var n=this._children[i];t.call(e,n),"group"===n.type&&n.traverse(t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children.length;e++){var i=this._children[e];t.addToStorage(i),i instanceof o&&i.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children.length;e++){var i=this._children[e];t.delFromStorage(i),i instanceof o&&i.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,i=new a(0,0,0,0),n=t||this._children,r=[],o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(r);u?(i.copy(l),i.applyTransform(u),e=e||i.clone(),e.union(i)):(e=e||l.clone(),e.union(l))}}return e||i}},n.inherits(o,r);var s=o;t.exports=s},e263:function(t,e,i){var n=i("401b"),r=i("4a3f"),a=Math.min,o=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,c=n.create(),h=n.create(),d=n.create();function f(t,e,i){if(0!==t.length){var n,r=t[0],s=r[0],l=r[0],u=r[1],c=r[1];for(n=1;n<t.length;n++)r=t[n],s=a(s,r[0]),l=o(l,r[0]),u=a(u,r[1]),c=o(c,r[1]);e[0]=s,e[1]=u,i[0]=l,i[1]=c}}function p(t,e,i,n,r,s){r[0]=a(t,i),r[1]=a(e,n),s[0]=o(t,i),s[1]=o(e,n)}var g=[],v=[];function m(t,e,i,n,s,l,u,c,h,d){var f,p=r.cubicExtrema,m=r.cubicAt,y=p(t,i,s,u,g);for(h[0]=1/0,h[1]=1/0,d[0]=-1/0,d[1]=-1/0,f=0;f<y;f++){var x=m(t,i,s,u,g[f]);h[0]=a(x,h[0]),d[0]=o(x,d[0])}for(y=p(e,n,l,c,v),f=0;f<y;f++){var _=m(e,n,l,c,v[f]);h[1]=a(_,h[1]),d[1]=o(_,d[1])}h[0]=a(t,h[0]),d[0]=o(t,d[0]),h[0]=a(u,h[0]),d[0]=o(u,d[0]),h[1]=a(e,h[1]),d[1]=o(e,d[1]),h[1]=a(c,h[1]),d[1]=o(c,d[1])}function y(t,e,i,n,s,l,u,c){var h=r.quadraticExtremum,d=r.quadraticAt,f=o(a(h(t,i,s),1),0),p=o(a(h(e,n,l),1),0),g=d(t,i,s,f),v=d(e,n,l,p);u[0]=a(t,s,g),u[1]=a(e,l,v),c[0]=o(t,s,g),c[1]=o(e,l,v)}function x(t,e,i,r,a,o,f,p,g){var v=n.min,m=n.max,y=Math.abs(a-o);if(y%u<1e-4&&y>1e-4)return p[0]=t-i,p[1]=e-r,g[0]=t+i,void(g[1]=e+r);if(c[0]=l(a)*i+t,c[1]=s(a)*r+e,h[0]=l(o)*i+t,h[1]=s(o)*r+e,v(p,c,h),m(g,c,h),a%=u,a<0&&(a+=u),o%=u,o<0&&(o+=u),a>o&&!f?o+=u:a<o&&f&&(a+=u),f){var x=o;o=a,a=x}for(var _=0;_<o;_+=Math.PI/2)_>a&&(d[0]=l(_)*i+t,d[1]=s(_)*r+e,v(p,d,p),m(g,d,g))}e.fromPoints=f,e.fromLine=p,e.fromCubic=m,e.fromQuadratic=y,e.fromArc=x},e46b:function(t,e,i){var n=i("b1d4"),r=i("6179"),a=i("6d8b"),o=a.extend,s=a.isArray;function l(t,e,i){e=s(e)&&{coordDimensions:e}||o({},e);var a=t.getSource(),l=n(a,e),u=new r(l,t);return u.initData(a,i),u}t.exports=l},e47b:function(t,e,i){var n=i("e0d3"),r=n.makeInner,a=n.normalizeToArray,o=r();function s(t,e){for(var i=t.length,n=0;n<i;n++)if(t[n].length>e)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),r=n.colorIdx||0,l=n.colorNameMap=n.colorNameMap||{};if(l.hasOwnProperty(t))return l[t];var u=a(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[r];return t&&(l[t]=d),n.colorIdx=(r+1)%h.length,d}}};t.exports=l},e7aa:function(t,e,i){var n=i("2306"),r=i("c775f"),a=r.getDefaultLabel;function o(t,e,i,r,o,l,u){var c=i.getModel("label"),h=i.getModel("emphasis.label");n.setLabelStyle(t,e,c,h,{labelFetcher:o,labelDataIndex:l,defaultText:a(o.getData(),l),isRectText:!0,autoColor:r}),s(t),s(e)}function s(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=o},e7d2:function(t,e,i){var n=i("4a3f");function r(t,e,i,r,a,o,s,l,u,c,h){if(0===u)return!1;var d=u;if(h>e+d&&h>r+d&&h>o+d&&h>l+d||h<e-d&&h<r-d&&h<o-d&&h<l-d||c>t+d&&c>i+d&&c>a+d&&c>s+d||c<t-d&&c<i-d&&c<a-d&&c<s-d)return!1;var f=n.cubicProjectPoint(t,e,i,r,a,o,s,l,c,h,null);return f<=d/2}e.containStroke=r},e86a:function(t,e,i){var n=i("9850"),r=i("5e76"),a=i("6d8b"),o=a.getContext,s=a.extend,l=a.retrieve2,u=a.retrieve3,c=a.trim,h={},d=0,f=5e3,p=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,g="12px sans-serif",v={};function m(t,e){v[t]=e}function y(t,e){e=e||g;var i=t+":"+e;if(h[i])return h[i];for(var n=(t+"").split("\n"),r=0,a=0,o=n.length;a<o;a++)r=Math.max(k(n[a],e).width,r);return d>f&&(d=0,h={}),d++,h[i]=r,r}function x(t,e,i,n,r,a,o,s){return o?b(t,e,i,n,r,a,o,s):_(t,e,i,n,r,a,s)}function _(t,e,i,r,a,o,s){var l=O(t,e,a,o,s),u=y(t,e);a&&(u+=a[1]+a[3]);var c=l.outerHeight,h=w(0,u,i),d=S(0,c,r),f=new n(h,d,u,c);return f.lineHeight=l.lineHeight,f}function b(t,e,i,r,a,o,s,l){var u=L(t,{rich:s,truncate:l,font:e,textAlign:i,textPadding:a,textLineHeight:o}),c=u.outerWidth,h=u.outerHeight,d=w(0,c,i),f=S(0,h,r);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.x,r=e.y,a=e.height,o=e.width,s=a/2,l="left",u="top";switch(t){case"left":n-=i,r+=s,l="right",u="middle";break;case"right":n+=i+o,r+=s,u="middle";break;case"top":n+=o/2,r-=i,l="center",u="bottom";break;case"bottom":n+=o/2,r+=a+i,l="center";break;case"inside":n+=o/2,r+=s,l="center",u="middle";break;case"insideLeft":n+=i,r+=s,u="middle";break;case"insideRight":n+=o-i,r+=s,l="right",u="middle";break;case"insideTop":n+=o/2,r+=i,l="center";break;case"insideBottom":n+=o/2,r+=a-i,l="center",u="bottom";break;case"insideTopLeft":n+=i,r+=i;break;case"insideTopRight":n+=o-i,r+=i,l="right";break;case"insideBottomLeft":n+=i,r+=a-i,u="bottom";break;case"insideBottomRight":n+=o-i,r+=a-i,l="right",u="bottom";break}return{x:n,y:r,textAlign:l,textVerticalAlign:u}}function C(t,e,i,n,r){if(!e)return"";var a=(t+"").split("\n");r=T(e,i,n,r);for(var o=0,s=a.length;o<s;o++)a[o]=I(a[o],r);return a.join("\n")}function T(t,e,i,n){n=s({},n),n.font=e;i=l(i,"...");n.maxIterations=l(n.maxIterations,2);var r=n.minChar=l(n.minChar,0);n.cnCharWidth=y("国",e);var a=n.ascCharWidth=y("a",e);n.placeholder=l(n.placeholder,"");for(var o=t=Math.max(0,t-1),u=0;u<r&&o>=a;u++)o-=a;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 I(t,e){var i=e.containerWidth,n=e.font,r=e.contentWidth;if(!i)return"";var a=y(t,n);if(a<=i)return t;for(var o=0;;o++){if(a<=r||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?A(t,r,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*r/a):0;t=t.substr(0,s),a=y(t,n)}return""===t&&(t=e.placeholder),t}function A(t,e,i,n){for(var r=0,a=0,o=t.length;a<o&&r<e;a++){var s=t.charCodeAt(a);r+=0<=s&&s<=127?i:n}return a}function D(t){return y("国",t)}function k(t,e){return v.measureText(t,e)}function O(t,e,i,n,r){null!=t&&(t+="");var a=l(n,D(e)),o=t?t.split("\n"):[],s=o.length*a,u=s;if(i&&(u+=i[0]+i[2]),t&&r){var c=r.outerHeight,h=r.outerWidth;if(null!=c&&u>c)t="",o=[];else if(null!=h)for(var d=T(h-(i?i[1]+i[3]:0),e,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),f=0,p=o.length;f<p;f++)o[f]=I(o[f],d)}return{lines:o,height:s,outerHeight:u,lineHeight:a}}function L(t,e){var i={lines:[],width:0,height:0};if(null!=t&&(t+=""),!t)return i;var n,a=p.lastIndex=0;while(null!=(n=p.exec(t))){var o=n.index;o>a&&P(i,t.substring(a,o)),P(i,n[2],n[1]),a=p.lastIndex}a<t.length&&P(i,t.substring(a,t.length));var s=i.lines,c=0,h=0,d=[],f=e.textPadding,g=e.truncate,v=g&&g.outerWidth,m=g&&g.outerHeight;f&&(null!=v&&(v-=f[1]+f[3]),null!=m&&(m-=f[0]+f[2]));for(var x=0;x<s.length;x++){for(var _=s[x],b=0,w=0,S=0;S<_.tokens.length;S++){var M=_.tokens[S],T=M.styleName&&e.rich[M.styleName]||{},I=M.textPadding=T.textPadding,A=M.font=T.font||e.font,k=M.textHeight=l(T.textHeight,D(A));if(I&&(k+=I[0]+I[2]),M.height=k,M.lineHeight=u(T.textLineHeight,e.textLineHeight,k),M.textAlign=T&&T.textAlign||e.textAlign,M.textVerticalAlign=T&&T.textVerticalAlign||"middle",null!=m&&c+M.lineHeight>m)return{lines:[],width:0,height:0};M.textWidth=y(M.text,A);var O=T.textWidth,L=null==O||"auto"===O;if("string"===typeof O&&"%"===O.charAt(O.length-1))M.percentWidth=O,d.push(M),O=0;else{if(L){O=M.textWidth;var E=T.textBackgroundColor,R=E&&E.image;R&&(R=r.findExistImage(R),r.isImageReady(R)&&(O=Math.max(O,R.width*k/R.height)))}var N=I?I[1]+I[3]:0;O+=N;var B=null!=v?v-w:null;null!=B&&B<O&&(!L||B<N?(M.text="",M.textWidth=O=0):(M.text=C(M.text,B-N,A,g.ellipsis,{minChar:g.minChar}),M.textWidth=y(M.text,A),O=M.textWidth+N))}w+=M.width=O,T&&(b=Math.max(b,M.lineHeight))}_.width=w,_.lineHeight=b,c+=b,h=Math.max(h,w)}i.outerWidth=i.width=l(e.textWidth,h),i.outerHeight=i.height=l(e.textHeight,c),f&&(i.outerWidth+=f[1]+f[3],i.outerHeight+=f[0]+f[2]);for(x=0;x<d.length;x++){M=d[x];var z=M.percentWidth;M.width=parseInt(z,10)/100*h}return i}function P(t,e,i){for(var n=""===e,r=e.split("\n"),a=t.lines,o=0;o<r.length;o++){var s=r[o],l={styleName:i,text:s,isLineHolder:!s&&!n};if(o)a.push({tokens:[l]});else{var u=(a[a.length-1]||(a[0]={tokens:[]})).tokens,c=u.length;1===c&&u[0].isLineHolder?u[0]=l:(s||!c||n)&&u.push(l)}}}function E(t){var e=(t.fontSize||t.fontFamily)&&[t.fontStyle,t.fontWeight,(t.fontSize||12)+"px",t.fontFamily||"sans-serif"].join(" ");return e&&c(e)||t.textFont||t.font}v.measureText=function(t,e){var i=o();return i.font=e||g,i.measureText(t)},e.DEFAULT_FONT=g,e.$override=m,e.getWidth=y,e.getBoundingRect=x,e.adjustTextX=w,e.adjustTextY=S,e.adjustTextPositionOnRect=M,e.truncateText=C,e.getLineHeight=D,e.measureText=k,e.parsePlainText=O,e.parseRichText=L,e.makeFont=E},e887:function(t,e,i){var n=i("6d8b"),r=n.each,a=i("e1fc"),o=i("8918"),s=i("625e"),l=i("e0d3"),u=i("f47d"),c=u.createTask,h=i("cccd"),d=l.makeInner(),f=h();function p(){this.group=new a,this.uid=o.getUID("viewChart"),this.renderTask=c({plan:y,reset:x}),this.renderTask.context={view:this}}p.prototype={type:"chart",init:function(t,e){},render:function(t,e,i,n){},highlight:function(t,e,i,n){m(t.getData(),n,"emphasis")},downplay:function(t,e,i,n){m(t.getData(),n,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var g=p.prototype;function v(t,e){if(t&&(t.trigger(e),"group"===t.type))for(var i=0;i<t.childCount();i++)v(t.childAt(i),e)}function m(t,e,i){var n=l.queryDataIndex(t,e);null!=n?r(l.normalizeToArray(n),function(e){v(t.getItemGraphicEl(e),i)}):t.eachItemGraphicEl(function(t){v(t,i)})}function y(t){return f(t.model)}function x(t){var e=t.model,i=t.ecModel,n=t.api,r=t.payload,a=e.pipelineContext.progressiveRender,o=t.view,s=r&&d(r).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==l&&o[l](e,i,n,r),_[l]}g.updateView=g.updateLayout=g.updateVisual=function(t,e,i,n){this.render(t,e,i,n)},s.enableClassExtend(p,["dispose"]),s.enableClassManagement(p,{registerWhenExtend:!0}),p.markUpdateMethod=function(t,e){d(t).updateMethod=e};var _={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},b=p;t.exports=b},eb6b:function(t,e,i){var n=i("6d8b"),r=i("e0d3"),a=r.makeInner,o=i("cd33"),s=i("133d"),l=n.each,u=n.curry,c=a();function h(t,e,i){var r=t.currTrigger,a=[t.x,t.y],o=t,c=t.dispatchAction||n.bind(i.dispatchAction,i),h=e.getComponent("axisPointer").coordSysAxesInfo;if(h){b(a)&&(a=s({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var f=b(a),w=o.axesInfo,S=h.axesInfo,M="leave"===r||b(a),C={},T={},I={list:[],map:{}},A={showPointer:u(p,T),showTooltip:u(g,I)};l(h.coordSysMap,function(t,e){var i=f||t.containPoint(a);l(h.coordSysAxesInfo[e],function(t,e){var n=t.axis,r=x(w,t);if(!M&&i&&(!w||r)){var o=r&&r.value;null!=o||f||(o=n.pointToData(a)),null!=o&&d(t,o,A,!1,C)}})});var D={};return l(S,function(t,e){var i=t.linkGroup;i&&!T[e]&&l(i.axesInfo,function(e,n){var r=T[n];if(e!==t&&r){var a=r.value;i.mapper&&(a=t.axis.scale.parse(i.mapper(a,_(e),_(t)))),D[t.key]=a}})}),l(D,function(t,e){d(S[e],t,A,!0,C)}),v(T,S,C),m(I,a,t,c),y(S,c,i),C}}function d(t,e,i,r,a){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==a.seriesIndex&&n.extend(a,l[0]),!r&&t.snap&&o.containData(u)&&null!=u&&(e=u),i.showPointer(t,e,l,a),i.showTooltip(t,s,u)}else i.showPointer(t,e)}function f(t,e){var i=e.axis,n=i.dim,r=t,a=[],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<o||p>=0&&s<0)&&(o=g,s=p,r=c,a.length=0),l(h,function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:a,snapToValue:r}}function p(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function g(t,e,i,n){var r=i.payloadBatch,a=e.axis,s=a.model,l=e.axisPointerModel;if(e.triggerTooltip&&r.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:a.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:n,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:r.slice()})}}function v(t,e,i){var n=i.axesInfo=[];l(e,function(e,i){var r=e.axisPointerModel.option,a=t[i];a?(!e.useHandle&&(r.status="show"),r.value=a.value,r.seriesDataIndices=(a.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&n.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})})}function m(t,e,i,n){if(!b(e)&&t.list.length){var r=((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:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else n({type:"hideTip"})}function y(t,e,i){var r=i.getZr(),a="axisPointerLastHighlights",o=c(r)[a]||{},s=c(r)[a]={};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},ec02:function(t,e,i){var n=i("6d8b"),r=i("84ce"),a=function(t,e,i,n,a){r.call(this,t,e,i),this.type=n||"value",this.position=a||"bottom"};a.prototype={constructor:a,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(a,r);var o=a;t.exports=o},ec34:function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("6d8b")),a=r.createHashMap,o=r.isString,s=r.isArray,l=r.each,u=(r.assert,i("3041")),c=u.parseXML,h=a(),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"),r=n.createHashMap,a=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&&r(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}p.seriesDataToSource=function(t){return new p({data:t,sourceFormat:a(t)?d:u,fromDataset:!1})},s(p);var g=p;t.exports=g},ed21:function(t,e,i){var n=i("2cf4"),r=n.devicePixelRatio,a=i("6d8b"),o=i("4942"),s=i("9850"),l=i("04f6"),u=i("5e68"),c=i("98b7"),h=i("0da8"),d=i("22d1"),f=1e5,p=314159,g=.01,v=.001;function m(t){return parseInt(t,10)}function y(t){return!!t&&(!!t.__builtin__||"function"===typeof t.resize&&"function"===typeof t.refresh)}var x=new s(0,0,0,0),_=new s(0,0,0,0);function b(t,e,i){return x.copy(t.getBoundingRect()),t.transform&&x.applyTransform(t.transform),_.width=e,_.height=i,!x.intersect(_)}function w(t,e){if(t===e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var i=0;i<t.length;i++)if(t[i]!==e[i])return!0}function S(t,e){for(var i=0;i<t.length;i++){var n=t[i];n.setTransform(e),e.beginPath(),n.buildPath(e,n.shape),e.clip(),n.restoreTransform(e)}}function M(t,e){var i=document.createElement("div");return i.style.cssText=["position:relative","overflow:hidden","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",i}var C=function(t,e,i){this.type="canvas";var n=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=i=a.extend({},i||{}),this.dpr=i.devicePixelRatio||r,this._singleCanvas=n,this.root=t;var o=t.style;o&&(o["-webkit-tap-highlight-color"]="transparent",o["-webkit-user-select"]=o["user-select"]=o["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var s=this._zlevelList=[],l=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,n){var c=t.width,h=t.height;null!=i.width&&(c=i.width),null!=i.height&&(h=i.height),this.dpr=i.devicePixelRatio||1,t.width=c*this.dpr,t.height=h*this.dpr,this._width=c,this._height=h;var d=new u(t,this,this.dpr);d.__builtin__=!0,d.initContext(),l[p]=d,d.zlevel=p,s.push(p),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var f=this._domRoot=M(this._width,this._height);t.appendChild(f)}this._hoverlayer=null,this._hoverElements=[]};C.prototype={constructor:C,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,t,this._redrawId);for(var n=0;n<i.length;n++){var r=i[n],a=this._layers[r];if(!a.__builtin__&&a.refresh){var o=0===n?this._backgroundColor:null;a.refresh(o)}}return this.refreshHover(),this},addHover:function(t,e){if(!t.__hoverMir){var i=new t.constructor({style:t.style,shape:t.shape,z:t.z,z2:t.z2,silent:t.silent});return i.__from=t,t.__hoverMir=i,e&&i.setStyle(e),this._hoverElements.push(i),i}},removeHover:function(t){var e=t.__hoverMir,i=this._hoverElements,n=a.indexOf(i,e);n>=0&&i.splice(n,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i<e.length;i++){var n=e[i].__from;n&&(n.__hoverMir=null)}e.length=0},refreshHover:function(){var t=this._hoverElements,e=t.length,i=this._hoverlayer;if(i&&i.clear(),e){l(t,this.storage.displayableSortFunc),i||(i=this._hoverlayer=this.getLayer(f));var n={};i.ctx.save();for(var r=0;r<e;){var a=t[r],o=a.__from;o&&o.__zr?(r++,o.invisible||(a.transform=o.transform,a.invTransform=o.invTransform,a.__clipPaths=o.__clipPaths,this._doPaintEl(a,i,!0,n))):(t.splice(r,1),o.__hoverMir=null,e--)}i.ctx.restore()}},getHoverLayer:function(){return this.getLayer(f)},_paintList:function(t,e,i){if(this._redrawId===i){e=e||!1,this._updateLayerStatus(t);var n=this._doPaintList(t,e);if(this._needsManuallyCompositing&&this._compositeManually(),!n){var r=this;c(function(){r._paintList(t,e,i)})}}},_compositeManually:function(){var t=this.getLayer(p).ctx,e=this._domRoot.width,i=this._domRoot.height;t.clearRect(0,0,e,i),this.eachBuiltinLayer(function(n){n.virtual&&t.drawImage(n.dom,0,0,e,i)})},_doPaintList:function(t,e){for(var i=[],n=0;n<this._zlevelList.length;n++){var r=this._zlevelList[n],o=this._layers[r];o.__builtin__&&o!==this._hoverlayer&&(o.__dirty||e)&&i.push(o)}for(var s=!0,l=0;l<i.length;l++){o=i[l];var u=o.ctx,c={};u.save();var h=e?o.__startIndex:o.__drawIndex,f=!e&&o.incremental&&Date.now,p=f&&Date.now(),g=o.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(o.__startIndex===o.__endIndex)o.clear(!1,g);else if(h===o.__startIndex){var v=t[h];v.incremental&&v.notClear&&!e||o.clear(!1,g)}-1===h&&(console.error("For some unknown reason. drawIndex is -1"),h=o.__startIndex);for(var m=h;m<o.__endIndex;m++){var y=t[m];if(this._doPaintEl(y,o,e,c),y.__dirty=y.__dirtyText=!1,f){var x=Date.now()-p;if(x>15)break}}o.__drawIndex=m,o.__drawIndex<o.__endIndex&&(s=!1),c.prevElClipPaths&&u.restore(),u.restore()}return d.wxa&&a.each(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),s},_doPaintEl:function(t,e,i,n){var r=e.ctx,a=t.transform;if((e.__dirty||i)&&!t.invisible&&0!==t.style.opacity&&(!a||a[0]||a[3])&&(!t.culling||!b(t,this._width,this._height))){var o=t.__clipPaths;n.prevElClipPaths&&!w(o,n.prevElClipPaths)||(n.prevElClipPaths&&(e.ctx.restore(),n.prevElClipPaths=null,n.prevEl=null),o&&(r.save(),S(o,r),n.prevElClipPaths=o)),t.beforeBrush&&t.beforeBrush(r),t.brush(r,n.prevEl||null),n.prevEl=t,t.afterBrush&&t.afterBrush(r)}},getLayer:function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=p);var i=this._layers[t];return i||(i=new u("zr_"+t,this,this.dpr),i.zlevel=t,i.__builtin__=!0,this._layerConfig[t]&&a.merge(i,this._layerConfig[t],!0),e&&(i.virtual=e),this.insertLayer(t,i),i.initContext()),i},insertLayer:function(t,e){var i=this._layers,n=this._zlevelList,r=n.length,a=null,s=-1,l=this._domRoot;if(i[t])o("ZLevel "+t+" has been used already");else if(y(e)){if(r>0&&t>n[0]){for(s=0;s<r-1;s++)if(n[s]<t&&n[s+1]>t)break;a=i[n[s]]}if(n.splice(s+1,0,t),i[t]=e,!e.virtual)if(a){var u=a.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,r=this._zlevelList;for(n=0;n<r.length;n++)i=r[n],t.call(e,this._layers[i],i)},eachBuiltinLayer:function(t,e){var i,n,r,a=this._zlevelList;for(r=0;r<a.length;r++)n=a[r],i=this._layers[n],i.__builtin__&&t.call(e,i,n)},eachOtherLayer:function(t,e){var i,n,r,a=this._zlevelList;for(r=0;r<a.length;r++)n=a[r],i=this._layers[n],i.__builtin__||t.call(e,i,n)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){function e(t){r&&(r.__endIndex!==t&&(r.__dirty=!0),r.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var i=1;i<t.length;i++){var n=t[i];if(n.zlevel!==t[i-1].zlevel||n.incremental){this._needsManuallyCompositing=!0;break}}var r=null,a=0;for(i=0;i<t.length;i++){n=t[i];var s,l=n.zlevel;n.incremental?(s=this.getLayer(l+v,this._needsManuallyCompositing),s.incremental=!0,a=1):s=this.getLayer(l+(a>0?g:0),this._needsManuallyCompositing),s.__builtin__||o("ZLevel "+l+" has been used by unkown layer "+s.id),s!==r&&(s.__used=!0,s.__startIndex!==i&&(s.__dirty=!0),s.__startIndex=i,s.incremental?s.__drawIndex=-1:s.__drawIndex=i,e(i),r=s),n.__dirty&&(s.__dirty=!0,s.incremental&&s.__drawIndex<0&&(s.__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]?a.merge(i[t],e,!0):i[t]=e;for(var n=0;n<this._zlevelList.length;n++){var r=this._zlevelList[n];if(r===t||r===t+g){var o=this._layers[r];a.merge(o,i[t],!0)}}}},delLayer:function(t){var e=this._layers,i=this._zlevelList,n=e[t];n&&(n.dom.parentNode.removeChild(n.dom),delete e[t],i.splice(a.indexOf(i,t),1))},resize:function(t,e){if(this._domRoot.style){var i=this._domRoot;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||e!==this._height){for(var r in i.style.width=t+"px",i.style.height=e+"px",this._layers)this._layers.hasOwnProperty(r)&&this._layers[r].resize(t,e);a.each(this._progressiveLayers,function(i){i.resize(t,e)}),this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(p).resize(t,e)}return this},clearLayer:function(t){var e=this._layers[t];e&&e.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[p].dom;var e=new u("image",this,t.pixelRatio||this.dpr);if(e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor),t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,n=e.dom.height,r=e.ctx;this.eachLayer(function(t){t.__builtin__?r.drawImage(t.dom,0,0,i,n):t.renderToCanvas&&(e.ctx.save(),t.renderToCanvas(e.ctx),e.ctx.restore())})}else for(var a={},o=this.storage.getDisplayList(!0),s=0;s<o.length;s++){var l=o[s];this._doPaintEl(l,e,!0,a)}return e.dom},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],r=["paddingLeft","paddingTop"][t],a=["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]||m(s[i])||m(o.style[i]))-(m(s[r])||0)-(m(s[a])||0)|0},pathToImage:function(t,e){e=e||this.dpr;var i=document.createElement("canvas"),n=i.getContext("2d"),r=t.getBoundingRect(),a=t.style,o=a.shadowBlur*e,s=a.shadowOffsetX*e,l=a.shadowOffsetY*e,u=a.hasStroke()?a.lineWidth:0,c=Math.max(u/2,-s+o),d=Math.max(u/2,s+o),f=Math.max(u/2,-l+o),p=Math.max(u/2,l+o),g=r.width+c+d,v=r.height+f+p;i.width=g*e,i.height=v*e,n.scale(e,e),n.clearRect(0,0,g,v),n.dpr=e;var m={position:t.position,rotation:t.rotation,scale:t.scale};t.position=[c-r.x,f-r.y],t.rotation=0,t.scale=[1,1],t.updateTransform(),t&&t.brush(n);var y=h,x=new y({style:{x:0,y:0,image:i}});return null!=m.position&&(x.position=t.position=m.position),null!=m.rotation&&(x.rotation=t.rotation=m.rotation),null!=m.scale&&(x.scale=t.scale=m.scale),x}};var T=C;t.exports=T},eda2:function(t,e,i){var n=i("6d8b"),r=i("e86a"),a=i("3842");function o(t){return isNaN(t)?"-":(t=(t+"").split("."),t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};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 r=e.length;if(!r)return"";for(var a=e[0].$vars||[],o=0;o<a.length;o++){var s=d[o];t=t.replace(f(s),f(s,0))}for(var l=0;l<r;l++)for(var u=0;u<a.length;u++){var c=e[l][a[u]];t=t.replace(f(d[u],l),i?h(c):c)}return t}function g(t,e,i){return n.each(e,function(e,n){t=t.replace("{"+n+"}",i?h(e):e)}),t}function v(t,e){t=n.isString(t)?{color:t,extraCssText:e}:t||{};var i=t.color,r=t.type,a=(e=t.extraCssText,t.renderMode||"html"),o=t.markerId||"X";return i?"html"===a?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+h(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+h(i)+";"+(e||"")+'"></span>':{renderMode:a,content:"{marker"+o+"|} ",style:{color:i}}:""}function m(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=a.parseDate(e),r=i?"UTC":"",o=n["get"+r+"FullYear"](),s=n["get"+r+"Month"]()+1,l=n["get"+r+"Date"](),u=n["get"+r+"Hours"](),c=n["get"+r+"Minutes"](),h=n["get"+r+"Seconds"](),d=n["get"+r+"Milliseconds"]();return t=t.replace("MM",m(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",m(l,2)).replace("d",l).replace("hh",m(u,2)).replace("h",u).replace("mm",m(c,2)).replace("m",c).replace("ss",m(h,2)).replace("s",h).replace("SSS",m(d,3)),t}function x(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}var _=r.truncateText;function b(t){return r.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)}function w(t,e,i,n,a,o,s,l){return r.getBoundingRect(t,e,i,n,a,l,o,s)}e.addCommas=o,e.toCamelCase=s,e.normalizeCssArray=l,e.encodeHTML=h,e.formatTpl=p,e.formatTplSimple=g,e.getTooltipMarker=v,e.formatTime=y,e.capitalFirst=x,e.truncateText=_,e.getTextBoundingRect=b,e.getTextRect=w},ee1a:function(t,e,i){var n=i("6d8b"),r=n.each,a=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(r(e,function(t,i){a(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;r(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},ee84:function(t,e,i){var n=i("20c8"),r=i("401b"),a=r.applyTransform,o=n.CMD,s=[[],[],[]],l=Math.sqrt,u=Math.atan2;function c(t,e){var i,n,r,c,h,d=t.data,f=o.M,p=o.C,g=o.L,v=o.R,m=o.A,y=o.Q;for(r=0,c=0;r<d.length;){switch(i=d[r++],c=r,n=0,i){case f:n=1;break;case g:n=1;break;case p:n=3;break;case y:n=2;break;case m:var x=e[4],_=e[5],b=l(e[0]*e[0]+e[1]*e[1]),w=l(e[2]*e[2]+e[3]*e[3]),S=u(-e[1]/w,e[0]/b);d[r]*=b,d[r++]+=x,d[r]*=w,d[r++]+=_,d[r++]*=b,d[r++]*=w,d[r++]+=S,d[r++]+=S,r+=2,c=r;break;case v:M[0]=d[r++],M[1]=d[r++],a(M,M,e),d[c++]=M[0],d[c++]=M[1],M[0]+=d[r++],M[1]+=d[r++],a(M,M,e),d[c++]=M[0],d[c++]=M[1]}for(h=0;h<n;h++){var M=s[h];M[0]=d[r++],M[1]=d[r++],a(M,M,e),d[c++]=M[0],d[c++]=M[1]}}}t.exports=c},ef97:function(t,e,i){var n=i("3eba");i("217b8"),i("f17f");var r=i("7f96"),a=i("87c3"),o=i("fdde");i("01ed"),n.registerVisual(r("line","circle","line")),n.registerLayout(a("line")),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,o("line"))},f123:function(t,e,i){var n=i("9f82"),r=n.prepareDataCoordInfo,a=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=[],v=[],m=[],y=[],x=r(s,e,u),_=r(l,t,c),b=0;b<h.length;b++){var w=h[b],S=!0;switch(w.cmd){case"=":var M=t.getItemLayout(w.idx),C=e.getItemLayout(w.idx1);(isNaN(M[0])||isNaN(M[1]))&&(M=C.slice()),d.push(M),f.push(C),p.push(i[w.idx]),g.push(n[w.idx1]),y.push(e.getRawIndex(w.idx1));break;case"+":var T=w.idx;d.push(s.dataToPoint([e.get(x.dataDimsForPoint[0],T),e.get(x.dataDimsForPoint[1],T)])),f.push(e.getItemLayout(T).slice()),p.push(a(x,s,e,T)),g.push(n[T]),y.push(e.getRawIndex(T));break;case"-":T=w.idx;var I=t.getRawIndex(T);I!==T?(d.push(t.getItemLayout(T)),f.push(l.dataToPoint([t.get(_.dataDimsForPoint[0],T),t.get(_.dataDimsForPoint[1],T)])),p.push(i[T]),g.push(a(_,l,t,T)),y.push(I)):S=!1}S&&(v.push(w),m.push(m.length))}m.sort(function(t,e){return y[t]-y[e]});var A=[],D=[],k=[],O=[],L=[];for(b=0;b<m.length;b++){T=m[b];A[b]=d[T],D[b]=f[T],k[b]=p[T],O[b]=g[T],L[b]=v[T]}return{current:A,next:D,stackedOnCurrent:k,stackedOnNext:O,status:L}}t.exports=s},f152:function(t,e,i){},f17f:function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("6d8b")),a=i("f706"),o=i("1418"),s=i("f123"),l=i("2306"),u=i("e0d3"),c=i("d4d1"),h=c.Polyline,d=c.Polygon,f=i("e887"),p=i("3842"),g=p.round,v=i("9f82"),m=v.prepareDataCoordInfo,y=v.getStackedOnPoint;function x(t,e){if(t.length===e.length){for(var i=0;i<t.length;i++){var n=t[i],r=e[i];if(n[0]!==r[0]||n[1]!==r[1])return}return!0}}function _(t){return"number"===typeof t?t:t?.5:0}function b(t){var e=t.getGlobalExtent();if(t.onBand){var i=t.getBandWidth()/2-1,n=e[1]>e[0]?1:-1;e[0]+=n*i,e[1]-=n*i}return e}function w(t,e,i){if(!i.valueDim)return[];for(var n=[],r=0,a=e.count();r<a;r++)n.push(y(i,t,e,r));return n}function S(t,e,i,n){var r=b(t.getAxis("x")),a=b(t.getAxis("y")),o=t.getBaseAxis().isHorizontal(),s=Math.min(r[0],r[1]),u=Math.min(a[0],a[1]),c=Math.max(r[0],r[1])-s,h=Math.max(a[0],a[1])-u;if(i)s-=.5,c+=.5,u-=.5,h+=.5;else{var d=n.get("lineStyle.width")||2,f=n.get("clipOverflow")?d/2:Math.max(c,h);o?(u-=f,h+=2*f):(s-=f,c+=2*f)}var p=new l.Rect({shape:{x:s,y:u,width:c,height:h}});return e&&(p.shape[o?"width":"height"]=0,l.initProps(p,{shape:{width:c,height:h}},n)),p}function M(t,e,i,n){var r=t.getAngleAxis(),a=t.getRadiusAxis(),o=a.getExtent().slice();o[0]>o[1]&&o.reverse();var s=r.getExtent(),u=Math.PI/180;i&&(o[0]-=.5,o[1]+=.5);var c=new l.Sector({shape:{cx:g(t.cx,1),cy:g(t.cy,1),r0:g(o[0],1),r:g(o[1],1),startAngle:-s[0]*u,endAngle:-s[1]*u,clockwise:r.inverse}});return e&&(c.shape.endAngle=-s[0]*u,l.initProps(c,{shape:{endAngle:-s[1]*u}},n)),c}function C(t,e,i,n){return"polar"===t.type?M(t,e,i,n):S(t,e,i,n)}function T(t,e,i){for(var n=e.getBaseAxis(),r="x"===n.dim||"radius"===n.dim?0:1,a=[],o=0;o<t.length-1;o++){var s=t[o+1],l=t[o];a.push(l);var u=[];switch(i){case"end":u[r]=s[r],u[1-r]=l[1-r],a.push(u);break;case"middle":var c=(l[r]+s[r])/2,h=[];u[r]=h[r]=c,u[1-r]=l[1-r],h[1-r]=s[1-r],a.push(u),a.push(h);break;default:u[r]=l[r],u[1-r]=s[1-r],a.push(u)}}return t[o]&&a.push(t[o]),a}function I(t,e){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var n,a,o=i.length-1;o>=0;o--){var s=i[o].dimension,u=t.dimensions[s],c=t.getDimensionInfo(u);if(n=c&&c.coordDim,"x"===n||"y"===n){a=i[o];break}}if(a){var h=e.getAxis(n),d=r.map(a.stops,function(t){return{coord:h.toGlobalCoord(h.dataToCoord(t.value)),color:t.color}}),f=d.length,p=a.outerColors.slice();f&&d[0].coord>d[f-1].coord&&(d.reverse(),p.reverse());var g=10,v=d[0].coord-g,m=d[f-1].coord+g,y=m-v;if(y<.001)return"transparent";r.each(d,function(t){t.offset=(t.coord-v)/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 l.LinearGradient(0,0,0,0,d,!0);return x[n]=v,x[n+"2"]=m,x}}}function A(t,e,i){var n=t.get("showAllSymbol"),a="auto"===n;if(!n||a){var o=i.getAxesByScale("ordinal")[0];if(o&&(!a||!D(o,e))){var s=e.mapDimension(o.dim),l={};return r.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 r=e.count(),a=Math.max(1,Math.round(r/5)),s=0;s<r;s+=a)if(1.5*o.getSymbolSize(e,s)[t.isHorizontal()?1:0]>n)return!1;return!0}var k=f.extend({type:"line",init:function(){var t=new l.Group,e=new a;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,i){var n=t.coordinateSystem,a=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,v=t.get("animation"),y=!l.isEmpty(),b=l.get("origin"),S=m(n,o,b),M=w(n,o,S),D=t.get("showSymbol"),k=D&&!c&&A(t,o,n),O=this._data;O&&O.eachItemGraphicEl(function(t,e){t.__temp&&(a.remove(t),O.setItemGraphicEl(e,null))}),D||d.remove(),a.add(g);var L=!c&&t.get("step");f&&h.type===n.type&&L===this._step?(y&&!p?p=this._newPolygon(u,M,n,v):p&&!y&&(g.remove(p),p=this._polygon=null),g.setClipPath(C(n,!1,!1,t)),D&&d.updateData(o,{isIgnore:k,clipShape:C(n,!1,!0,t)}),o.eachItemGraphicEl(function(t){t.stopAnimation(!0)}),x(this._stackedOnPoints,M)&&x(this._points,u)||(v?this._updateAnimation(o,M,n,i,L,b):(L&&(u=T(u,n,L),M=T(M,n,L)),f.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:M})))):(D&&d.updateData(o,{isIgnore:k,clipShape:C(n,!1,!0,t)}),L&&(u=T(u,n,L),M=T(M,n,L)),f=this._newPolyline(u,n,v),y&&(p=this._newPolygon(u,M,n,v)),g.setClipPath(C(n,!0,!1,t)));var P=I(o,n)||o.getVisual("color");f.useStyle(r.defaults(s.getLineStyle(),{fill:"none",stroke:P,lineJoin:"bevel"}));var E=t.get("smooth");if(E=_(t.get("smooth")),f.setShape({smooth:E,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),p){var R=o.getCalculationInfo("stackedOnSeries"),N=0;p.useStyle(r.defaults(l.getAreaStyle(),{fill:P,opacity:.7,lineJoin:"bevel"})),R&&(N=_(R.get("smooth"))),p.setShape({smooth:E,stackedOnSmooth:N,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=o,this._coordSys=n,this._stackedOnPoints=M,this._points=u,this._step=L,this._valueOrigin=b},dispose:function(){},highlight:function(t,e,i,n){var r=t.getData(),a=u.queryDataIndex(r,n);if(!(a instanceof Array)&&null!=a&&a>=0){var s=r.getItemGraphicEl(a);if(!s){var l=r.getItemLayout(a);if(!l)return;s=new o(r,a),s.position=l,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,r.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else f.prototype.highlight.call(this,t,e,i,n)},downplay:function(t,e,i,n){var r=t.getData(),a=u.queryDataIndex(r,n);if(null!=a&&a>=0){var o=r.getItemGraphicEl(a);o&&(o.__temp?(r.setItemGraphicEl(a,null),this.group.remove(o)):o.downplay())}else f.prototype.downplay.call(this,t,e,i,n)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new h({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new d({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_updateAnimation:function(t,e,i,n,r,a){var o=this._polyline,u=this._polygon,c=t.hostModel,h=s(this._data,t,this._stackedOnPoints,e,this._coordSys,i,this._valueOrigin,a),d=h.current,f=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;r&&(d=T(h.current,i,r),f=T(h.stackedOnCurrent,i,r),p=T(h.next,i,r),g=T(h.stackedOnNext,i,r)),o.shape.__points=h.current,o.shape.points=d,l.updateProps(o,{shape:{points:p}},c),u&&(u.setShape({points:d,stackedOnPoints:f}),l.updateProps(u,{shape:{points:p,stackedOnPoints:g}},c));for(var v=[],m=h.status,y=0;y<m.length;y++){var x=m[y].cmd;if("="===x){var _=t.getItemGraphicEl(m[y].idx1);_&&v.push({el:_,ptIdx:y})}}o.animators&&o.animators.length&&o.animators[0].during(function(){for(var t=0;t<v.length;t++){var e=v[t].el;e.attr("position",o.shape.__points[v[t].ptIdx])}})},remove:function(t){var e=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl(function(t,n){t.__temp&&(e.remove(t),i.setItemGraphicEl(n,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});t.exports=k},f219:function(t,e){var i="#eee",n=function(){return{axisLine:{lineStyle:{color:i}},axisTick:{lineStyle:{color:i}},axisLabel:{textStyle:{color:i}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:i}}}},r=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],a={color:r,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:i},crossStyle:{color:i}}},legend:{textStyle:{color:i}},textStyle:{color:i},title:{textStyle:{color:i}},toolbox:{iconStyle:{normal:{borderColor:i}}},dataZoom:{textStyle:{color:i}},visualMap:{textStyle:{color:i}},timeline:{lineStyle:{color:i},itemStyle:{normal:{color:r[1]}},label:{normal:{textStyle:{color:i}}},controlStyle:{normal:{color:i,borderColor:i}}},timeAxis:n(),logAxis:n(),valueAxis:n(),categoryAxis:n(),line:{symbol:"circle"},graph:{color:r},gauge:{title:{textStyle:{color:i}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};a.categoryAxis.splitLine.show=!1;var o=a;t.exports=o},f273:function(t,e,i){var n=i("6d8b"),r=i("2306"),a=i("fab22"),o=i("6679"),s=i("0156"),l=["axisLine","axisTickLabel","axisName"],u=["splitArea","splitLine"],c=o.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,i,o){this.group.removeAll();var h=this._axisGroup;if(this._axisGroup=new r.Group,this.group.add(this._axisGroup),t.get("show")){var d=t.getCoordSysModel(),f=s.layout(d,t),p=new a(t,f);n.each(l,p.add,p),this._axisGroup.add(p.getGroup()),n.each(u,function(e){t.get(e+".show")&&this["_"+e](t,d)},this),r.groupTransition(h,this._axisGroup,t),c.superCall(this,"render",t,e,i,o)}},remove:function(){this._splitAreaColors=null},_splitLine:function(t,e){var i=t.axis;if(!i.scale.isBlank()){var a=t.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color");s=n.isArray(s)?s:[s];for(var l=e.coordinateSystem.getRect(),u=i.isHorizontal(),c=0,h=i.getTicksCoords({tickModel:a}),d=[],f=[],p=o.getLineStyle(),g=0;g<h.length;g++){var v=i.toGlobalCoord(h[g].coord);u?(d[0]=v,d[1]=l.y,f[0]=v,f[1]=l.y+l.height):(d[0]=l.x,d[1]=v,f[0]=l.x+l.width,f[1]=v);var m=c++%s.length,y=h[g].tickValue;this._axisGroup.add(new r.Line(r.subPixelOptimizeLine({anid:null!=y?"line_"+h[g].tickValue:null,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:n.defaults({stroke:s[m]},p),silent:!0})))}}},_splitArea:function(t,e){var i=t.axis;if(!i.scale.isBlank()){var a=t.getModel("splitArea"),o=a.getModel("areaStyle"),s=o.get("color"),l=e.coordinateSystem.getRect(),u=i.getTicksCoords({tickModel:a,clamp:!0});if(u.length){var c=s.length,h=this._splitAreaColors,d=n.createHashMap(),f=0;if(h)for(var p=0;p<u.length;p++){var g=h.get(u[p].tickValue);if(null!=g){f=(g+(c-1)*p)%c;break}}var v=i.toGlobalCoord(u[0].coord),m=o.getAreaStyle();s=n.isArray(s)?s:[s];for(p=1;p<u.length;p++){var y,x,_,b,w=i.toGlobalCoord(u[p].coord);i.isHorizontal()?(y=v,x=l.y,_=w-y,b=l.height,v=y+_):(y=l.x,x=v,_=l.width,b=w-x,v=x+b);var S=u[p-1].tickValue;null!=S&&d.set(S,f),this._axisGroup.add(new r.Rect({anid:null!=S?"area_"+S:null,shape:{x:y,y:x,width:_,height:b},style:n.defaults({fill:s[f]},m),silent:!0})),f=(f+1)%c}this._splitAreaColors=d}}}});c.extend({type:"xAxis"}),c.extend({type:"yAxis"})},f279:function(t,e,i){var n=i("9850"),r=i("e263"),a=i("401b"),o=i("0655");function s(t,e,i){if(this.name=t,this.geometries=e,i)i=[i[0],i[1]];else{var n=this.getBoundingRect();i=[n.x+n.width/2,n.y+n.height/2]}this.center=i}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,i=[e,e],o=[-e,-e],s=[],l=[],u=this.geometries,c=0;c<u.length;c++)if("polygon"===u[c].type){var h=u[c].exterior;r.fromPoints(h,s,l),a.min(i,i,s),a.max(o,o,l)}return 0===c&&(i[0]=i[1]=o[0]=o[1]=0),this._rect=new n(i[0],i[1],o[0]-i[0],o[1]-i[1])},contain:function(t){var e=this.getBoundingRect(),i=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var n=0,r=i.length;n<r;n++)if("polygon"===i[n].type){var a=i[n].exterior,s=i[n].interiors;if(o.contain(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(o.contain(s[l]))continue t;return!0}}return!1},transformTo:function(t,e,i,r){var o=this.getBoundingRect(),s=o.width/o.height;i?r||(r=i/s):i=s*r;for(var l=new n(t,e,i,r),u=o.calculateTransform(l),c=this.geometries,h=0;h<c.length;h++)if("polygon"===c[h].type){for(var d=c[h].exterior,f=c[h].interiors,p=0;p<d.length;p++)a.applyTransform(d[p],d[p],u);for(var g=0;g<(f?f.length:0);g++)for(p=0;p<f[g].length;p++)a.applyTransform(f[g][p],f[g][p],u)}o=this._rect,o.copy(l),this.center=[o.x+o.width/2,o.y+o.height/2]},cloneShallow:function(t){null==t&&(t=this.name);var e=new s(t,this.geometries,this.center);return e._rect=this._rect,e.transformTo=null,e}};var l=s;t.exports=l},f47d:function(t,e,i){var n=i("6d8b"),r=(n.assert,n.isArray),a=i("4e08");a.__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 a=this.context;a.data=a.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,v=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!n&&(o||g<v)){var m=this._progress;if(r(m))for(var y=0;y<m.length;y++)c(this,m[y],g,v,u,d);else c(this,m,g,v,u,d)}this._dueIndex=v;var x=null!=this._settedOutputEnd?this._settedOutputEnd:v;this._outputDueEnd=x}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var u=function(){var t,e,i,n,r,a={reset:function(l,u,c,h){e=l,t=u,i=c,n=h,r=Math.ceil(n/i),a.next=i>1&&n>0?s:o}};return a;function o(){return e<t?e++:null}function s(){var a=e%r*i+Math.ceil(e/r),o=e>=t?null:a<n?a:e;return e++,o}}();function c(t,e,i,n,r,a){u.reset(i,n,r,a),t._callingProgress=e,t._callingProgress({start:i,end:n,count:n-i,next:u.next},t.context)}function h(t,e){var i,n;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&(i=t._reset(t.context),i&&i.progress&&(n=i.forceFirstProgress,i=i.progress),r(i)&&!i.length&&(i=null)),t._progress=i,t._modBy=t._modDataCount=null;var a=t._downstream;return a&&a.dirty(),n}l.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},l.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},l.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},l.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},l.getUpstream=function(){return this._upstream},l.getDownstream=function(){return this._downstream},l.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e.createTask=o},f706:function(t,e,i){var n=i("2306"),r=i("1418"),a=i("6d8b"),o=a.isObject;function s(t){this.group=new n.Group,this._symbolCtor=t||r}var l=s.prototype;function u(t,e,i,n){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(n.isIgnore&&n.isIgnore(i))&&!(n.clipShape&&!n.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(i,"symbol")}function c(t){return null==t||o(t)||(t={isIgnore:t}),t||{}}function h(t){var e=t.hostModel;return{itemStyle:e.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:e.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label"),cursorStyle:e.get("cursor")}}l.updateData=function(t,e){e=c(e);var i=this.group,r=t.hostModel,a=this._data,o=this._symbolCtor,s=h(t);a||i.removeAll(),t.diff(a).add(function(n){var r=t.getItemLayout(n);if(u(t,r,n,e)){var a=new o(t,n,s);a.attr("position",r),t.setItemGraphicEl(n,a),i.add(a)}}).update(function(l,c){var h=a.getItemGraphicEl(c),d=t.getItemLayout(l);u(t,d,l,e)?(h?(h.updateData(t,l,s),n.updateProps(h,{position:d},r)):(h=new o(t,l),h.attr("position",d)),i.add(h),t.setItemGraphicEl(l,h)):i.remove(h)}).remove(function(t){var e=a.getItemGraphicEl(t);e&&e.fadeOut(function(){i.remove(e)})}).execute(),this._data=t},l.isPersistent=function(){return!0},l.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl(function(e,i){var n=t.getItemLayout(i);e.attr("position",n)})},l.incrementalPrepareUpdate=function(t){this._seriesScope=h(t),this._data=null,this.group.removeAll()},l.incrementalUpdate=function(t,e,i){function n(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}i=c(i);for(var r=t.start;r<t.end;r++){var a=e.getItemLayout(r);if(u(e,a,r,i)){var o=new this._symbolCtor(e,r,this._seriesScope);o.traverse(n),o.attr("position",a),this.group.add(o),e.setItemGraphicEl(r,o)}}},l.remove=function(t){var e=this.group,i=this._data;i&&t?i.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)})}):e.removeAll()};var d=s;t.exports=d},f7c6:function(t,e,i){var n=i("3eba"),r=i("e46b"),a=i("6d8b"),o=i("e0d3"),s=i("3842"),l=s.getPercentWithPrecision,u=i("7023"),c=i("2b17"),h=c.retrieveRawAttr,d=n.extendSeriesModel({type:"series.pie",init:function(t){d.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){d.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,e){return r(this,["value"])},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),i=[],n=0,r=t.count();n<r;n++)i.push({name:t.getName(n),value:t.get(e,n),selected:h(t,n,"selected")});return i},getDataParams:function(t){var e=this.getData(),i=d.superCall(this,"getDataParams",t),n=[];return e.each(e.mapDimension("value"),function(t){n.push(t)}),i.percent=l(n,t,e.hostModel.get("percentPrecision")),i.$vars.push("percent"),i},_defaultLabelLine:function(t){o.defaultEmphasis(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},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,label:{rotate:!1,show:!0,position:"outer"},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationEasing:"cubicOut"}});a.mixin(d,u);var f=d;t.exports=f},f934:function(t,e,i){var n=i("6d8b"),r=i("9850"),a=i("3842"),o=a.parsePercent,s=i("eda2"),l=n.each,u=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function h(t,e,i,n,r){var a=0,o=0;null==n&&(n=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,u){var c,h,d=l.position,f=l.getBoundingRect(),p=e.childAt(u+1),g=p&&p.getBoundingRect();if("horizontal"===t){var v=f.width+(g?-g.x+f.x:0);c=a+v,c>n||l.newline?(a=0,c=v,o+=s+i,s=f.height):s=Math.max(s,f.height)}else{var m=f.height+(g?-g.y+f.y:0);h=o+m,h>r||l.newline?(a+=s+i,o=0,h=m,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=a,d[1]=o,"horizontal"===t?a=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,r=e.height,a=o(t.x,n),l=o(t.y,r),u=o(t.x2,n),c=o(t.y2,r);return(isNaN(a)||isNaN(parseFloat(t.x)))&&(a=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=n),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.y2)))&&(c=r),i=s.normalizeCssArray(i||0),{width:Math.max(u-a-i[1]-i[3],0),height:Math.max(c-l-i[0]-i[2],0)}}function v(t,e,i){i=s.normalizeCssArray(i||0);var n=e.width,a=e.height,l=o(t.left,n),u=o(t.top,a),c=o(t.right,n),h=o(t.bottom,a),d=o(t.width,n),f=o(t.height,a),p=i[2]+i[0],g=i[1]+i[3],v=t.aspect;switch(isNaN(d)&&(d=n-c-g-l),isNaN(f)&&(f=a-h-p-u),null!=v&&(isNaN(d)&&isNaN(f)&&(v>n/a?d=.8*n:f=.8*a),isNaN(d)&&(d=v*f),isNaN(f)&&(f=d/v)),isNaN(l)&&(l=n-c-d-g),isNaN(u)&&(u=a-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=a/2-f/2-i[0];break;case"bottom":u=a-f-p;break}l=l||0,u=u||0,isNaN(d)&&(d=n-g-l-(c||0)),isNaN(f)&&(f=a-p-u-(h||0));var m=new r(l+i[3],u+i[0],d,f);return m.margin=i,m}function m(t,e,i,a,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 r(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=v(n.defaults({width:c.width,height:c.height},e),i,a);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 r=i.ignoreSize;!n.isArray(r)&&(r=[r,r]);var a=s(c[0],0),o=s(c[1],1);function s(i,n){var a={},o=0,s={},c=0,d=2;if(l(i,function(e){s[e]=t[e]}),l(i,function(t){u(e,t)&&(a[t]=s[t]=e[t]),h(a,t)&&o++,h(s,t)&&c++}),r[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 a;for(var f=0;f<i.length;f++){var p=i[f];if(!u(a,p)&&u(t,p)){a[p]=t[p];break}}return a}return s}function u(t,e){return t.hasOwnProperty(e)}function h(t,e){return null!=t[e]&&"auto"!==t[e]}function d(t,e,i){l(t,function(t){e[t]=i[t]})}d(c[0],t,a),d(c[1],t,o)}function _(t){return b({},t)}function b(t,e){return e&&t&&l(u,function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t}e.LOCATION_PARAMS=u,e.HV_NAMES=c,e.box=d,e.vbox=f,e.hbox=p,e.getAvailableSize=g,e.getLayoutRect=v,e.positionElement=m,e.sizeCalculable=y,e.mergeLayoutParam=x,e.getLayoutParams=_,e.copyLayoutParams=b},fab22:function(t,e,i){var n=i("6d8b"),r=n.retrieve,a=n.defaults,o=n.extend,s=n.each,l=i("eda2"),u=i("2306"),c=i("4319"),h=i("3842"),d=h.isRadianAroundZero,f=h.remRadian,p=i("a15a"),g=p.createSymbol,v=i("1687"),m=i("401b"),y=m.applyTransform,x=i("697e"),_=x.shouldShowAllLabels,b=Math.PI;function w(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e}var S=function(t,e){this.opt=e,this.axisModel=t,a(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var i=new u.Group({position:e.position.slice(),rotation:e.rotation});i.updateTransform(),this._transform=i.transform,this._dumbGroup=i};S.prototype={constructor:S,hasBuilder:function(t){return!!M[t]},add:function(t){M[t].call(this)},getGroup:function(){return this.group}};var M={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var i=this.axisModel.axis.getExtent(),n=this._transform,r=[i[0],0],a=[i[1],0];n&&(y(r,r,n),y(a,a,n));var l=o({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new u.Line(u.subPixelOptimizeLine({anid:"line",shape:{x1:r[0],y1:r[1],x2:a[0],y2:a[1]},style:l,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1})));var c=e.get("axisLine.symbol"),h=e.get("axisLine.symbolSize"),d=e.get("axisLine.symbolOffset")||0;if("number"===typeof d&&(d=[d,d]),null!=c){"string"===typeof c&&(c=[c,c]),"string"!==typeof h&&"number"!==typeof h||(h=[h,h]);var f=h[0],p=h[1];s([{rotate:t.rotation+Math.PI/2,offset:d[0],r:0},{rotate:t.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((r[0]-a[0])*(r[0]-a[0])+(r[1]-a[1])*(r[1]-a[1]))}],function(e,i){if("none"!==c[i]&&null!=c[i]){var n=g(c[i],-f/2,-p/2,f,p,l.stroke,!0),a=e.r+e.offset,o=[r[0]+a*Math.cos(t.rotation),r[1]-a*Math.sin(t.rotation)];n.attr({rotation:e.rotate,position:o,silent:!0,z2:11}),this.group.add(n)}},this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,i=L(this,t,e),n=P(this,t,e);A(t,n,i)},axisName:function(){var t=this.opt,e=this.axisModel,i=r(t.axisName,e.get("name"));if(i){var n,a,s=e.get("nameLocation"),c=t.nameDirection,h=e.getModel("nameTextStyle"),d=e.get("nameGap")||0,f=this.axisModel.axis.getExtent(),p=f[0]>f[1]?-1:1,g=["start"===s?f[0]-p*d:"end"===s?f[1]+p*d:(f[0]+f[1])/2,O(s)?t.labelOffset+c*d:0],v=e.get("nameRotate");null!=v&&(v=v*b/180),O(s)?n=C(t.rotation,null!=v?v:t.rotation,c):(n=T(t,s,v||0,f),a=t.axisNameAvailableWidth,null!=a&&(a=Math.abs(a/Math.sin(n.rotation)),!isFinite(a)&&(a=null)));var m=h.getFont(),y=e.get("nameTruncate",!0)||{},x=y.ellipsis,_=r(t.nameTruncateMaxWidth,y.maxWidth,a),S=null!=x&&null!=_?l.truncateText(i,_,m,x,{minChar:2,placeholder:y.placeholder}):i,M=e.get("tooltip",!0),A=e.mainType,D={componentType:A,name:i,$vars:["name"]};D[A+"Index"]=e.componentIndex;var k=new u.Text({anid:"name",__fullText:i,__truncatedText:S,position:g,rotation:n.rotation,silent:I(e),z2:1,tooltip:M&&M.show?o({content:i,formatter:function(){return i},formatterParams:D},M):null});u.setTextStyle(k.style,h,{text:S,textFont:m,textFill:h.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:n.textAlign,textVerticalAlign:n.textVerticalAlign}),e.get("triggerEvent")&&(k.eventData=w(e),k.eventData.targetType="axisName",k.eventData.name=i),this._dumbGroup.add(k),k.updateTransform(),this.group.add(k),k.decomposeTransform()}}},C=S.innerTextLayout=function(t,e,i){var n,r,a=f(e-t);return d(a)?(r=i>0?"top":"bottom",n="center"):d(a-b)?(r=i>0?"bottom":"top",n="center"):(r="middle",n=a>0&&a<b?i>0?"right":"left":i>0?"left":"right"),{rotation:a,textAlign:n,textVerticalAlign:r}};function T(t,e,i,n){var r,a,o=f(i-t.rotation),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;return d(o-b/2)?(a=l?"bottom":"top",r="center"):d(o-1.5*b)?(a=l?"top":"bottom",r="center"):(a="middle",r=o<1.5*b&&o>b/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:r,textVerticalAlign:a}}function I(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)}function A(t,e,i){if(!_(t.axis)){var n=t.get("axisLabel.showMinLabel"),r=t.get("axisLabel.showMaxLabel");e=e||[],i=i||[];var a=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(a),D(u)):k(a,o)&&(n?(D(o),D(c)):(D(a),D(u))),!1===r?(D(s),D(h)):k(l,s)&&(r?(D(l),D(d)):(D(s),D(h)))}}function D(t){t&&(t.ignore=!0)}function k(t,e,i){var n=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(n&&r){var a=v.identity([]);return v.rotate(a,a,-t.rotation),n.applyTransform(v.mul([],a,t.getLocalTransform())),r.applyTransform(v.mul([],a,e.getLocalTransform())),n.intersect(r)}}function O(t){return"middle"===t||"center"===t}function L(t,e,i){var n=e.axis;if(e.get("axisTick.show")&&!n.scale.isBlank()){for(var r=e.getModel("axisTick"),o=r.getModel("lineStyle"),s=r.get("length"),l=n.getTicksCoords(),c=[],h=[],d=t._transform,f=[],p=0;p<l.length;p++){var g=l[p].coord;c[0]=g,c[1]=0,h[0]=g,h[1]=i.tickDirection*s,d&&(y(c,c,d),y(h,h,d));var v=new u.Line(u.subPixelOptimizeLine({anid:"tick_"+l[p].tickValue,shape:{x1:c[0],y1:c[1],x2:h[0],y2:h[1]},style:a(o.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),z2:2,silent:!0}));t.group.add(v),f.push(v)}return f}}function P(t,e,i){var n=e.axis,a=r(i.axisLabelShow,e.get("axisLabel.show"));if(a&&!n.scale.isBlank()){var o=e.getModel("axisLabel"),l=o.get("margin"),h=n.getViewLabels(),d=(r(i.labelRotate,o.get("rotate"))||0)*b/180,f=C(i.rotation,d,i.labelDirection),p=e.getCategories(!0),g=[],v=I(e),m=e.get("triggerEvent");return s(h,function(r,a){var s=r.tickValue,h=r.formattedLabel,d=r.rawLabel,y=o;p&&p[s]&&p[s].textStyle&&(y=new c(p[s].textStyle,o,e.ecModel));var x=y.getTextColor()||e.get("axisLine.lineStyle.color"),_=n.dataToCoord(s),b=[_,i.labelOffset+i.labelDirection*l],S=new u.Text({anid:"label_"+s,position:b,rotation:f.rotation,silent:v,z2:10});u.setTextStyle(S.style,y,{text:h,textAlign:y.getShallow("align",!0)||f.textAlign,textVerticalAlign:y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||f.textVerticalAlign,textFill:"function"===typeof x?x("category"===n.type?d:"value"===n.type?s+"":s,a):x}),m&&(S.eventData=w(e),S.eventData.targetType="axisLabel",S.eventData.value=d),t._dumbGroup.add(S),S.updateTransform(),g.push(S),t.group.add(S),S.decomposeTransform()}),g}}var E=S;t.exports=E},fb05:function(t,e,i){var n=i("6d8b"),r=n.each,a=n.isArray,o=n.isObject,s=i("26e1"),l=i("e0d3"),u=l.normalizeToArray;function c(t,e){e=e.split(",");for(var i=t,n=0;n<e.length;n++)if(i=i&&i[e[n]],null==i)break;return i}function h(t,e,i,n){e=e.split(",");for(var r,a=t,o=0;o<e.length-1;o++)r=e[o],null==a[r]&&(a[r]={}),a=a[r];(n||null==a[e[o]])&&(a[e[o]]=i)}function d(t){r(f,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var f=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],p=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function g(t,e){s(t,e),t.series=u(t.series),r(t.series,function(t){if(o(t)){var e=t.type;if("pie"!==e&&"gauge"!==e||null!=t.clockWise&&(t.clockwise=t.clockWise),"gauge"===e){var i=c(t,"pointer.color");null!=i&&h(t,"itemStyle.normal.color",i)}d(t)}}),t.dataRange&&(t.visualMap=t.dataRange),r(p,function(e){var i=t[e];i&&(a(i)||(i=[i]),r(i,function(t){d(t)}))})}t.exports=g},fd63:function(t,e,i){var n=i("42e5"),r={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var i=t.getData(),r=(t.visualColorAccessPath||"itemStyle.color").split("."),a=t.get(r)||t.getColorFromPalette(t.name,null,e.getSeriesCount());if(i.setVisual("color",a),!e.isSeriesFiltered(t)){"function"!==typeof a||a instanceof n||i.each(function(e){i.setItemVisual(e,"color",a(t.getDataParams(e)))});var o=function(t,e){var i=t.getItemModel(e),n=i.get(r,!0);null!=n&&t.setItemVisual(e,"color",n)};return{dataEach:i.hasItemOption?o:null}}}};t.exports=r},fdde:function(t,e){var i={average:function(t){for(var e=0,i=0,n=0;n<t.length;n++)isNaN(t[n])||(e+=t[n],i++);return 0===i?NaN:e/i},sum:function(t){for(var e=0,i=0;i<t.length;i++)e+=t[i]||0;return e},max:function(t){for(var e=-1/0,i=0;i<t.length;i++)t[i]>e&&(e=t[i]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,i=0;i<t.length;i++)t[i]<e&&(e=t[i]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},n=function(t,e){return Math.round(t.length/2)};function r(t){return{seriesType:t,modifyOutputEnd:!0,reset:function(t,e,r){var a=t.getData(),o=t.get("sampling"),s=t.coordinateSystem;if("cartesian2d"===s.type&&o){var l,u=s.getBaseAxis(),c=s.getOtherAxis(u),h=u.getExtent(),d=h[1]-h[0],f=Math.round(a.count()/d);if(f>1)"string"===typeof o?l=i[o]:"function"===typeof o&&(l=o),l&&t.setData(a.downSample(a.mapDimension(c.dim),1/f,l,n))}}}}t.exports=r},fe21:function(t,e,i){var n=i("e86a"),r=i("2306"),a=["textStyle","color"],o={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(a):null)},getFont:function(){return r.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},ff2e:function(t,e,i){var n=i("6d8b"),r=i("2306"),a=i("e86a"),o=i("eda2"),s=i("1687"),l=i("697e"),u=i("fab22");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,r){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=a.getBoundingRect(l,h),g=r.position,v=p.width+c[1]+c[3],m=p.height+c[0]+c[2],y=r.align;"right"===y&&(g[0]-=v),"center"===y&&(g[0]-=v/2);var x=r.verticalAlign;"bottom"===x&&(g[1]-=m),"middle"===x&&(g[1]-=m/2),d(g,v,m,n);var _=u.get("backgroundColor");_&&"auto"!==_||(_=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:v,height:m,r:u.get("borderRadius")},position:g.slice(),style:{text:l,textFont:h,textFill:u.getTextColor(),textPosition:"inside",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 r=n.getWidth(),a=n.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+i,a)-i,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function f(t,e,i,r,a){t=e.scale.parse(t);var o=e.scale.getLabel(t,{precision:a.precision}),s=a.formatter;if(s){var u={value:l.getAxisRawValue(e,t),seriesData:[]};n.each(r,function(t){var e=i.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,r=e&&e.getDataParams(n);r&&u.seriesData.push(r)}),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),r.applyTransform([t.dataToCoord(e),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)}function g(t,e,i,n,r,a){var o=u.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=r.get("label.margin"),h(e,n,r,a,{position:p(n.axis,t,i),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function v(t,e,i){return i=i||0,{x1:t[i],y1:t[1-i],x2:e[i],y2:e[1-i]}}function m(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,r,a){return{cx:t,cy:e,r0:i,r:n,startAngle:r,endAngle:a,clockwise:!0}}e.buildElStyle=c,e.buildLabelElOption=h,e.getValueLabel=f,e.getTransformedPosition=p,e.buildCartesianSingleLabelElOption=g,e.makeLineShape=v,e.makeRectShape=m,e.makeSectorShape=y}}]);