(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["Extension","chunk-4d5d93c2"],{"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 a(t,e,i){i=i||{};var a=t.coordinateSystem,r=e.axis,o={},s=r.getAxesOnZeroOf()[0],l=r.position,c=s?"onZero":l,u=r.dim,h=a.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"===u?[d[2]-p,d[3]+p]:[d[0]-p,d[1]+p];if(s){var m=s.toGlobalCoord(s.dataToCoord(0));g[f.onZero]=Math.max(Math.min(m,g[1]),g[0])}o.position=["y"===u?g[f[c]]:d[0],"x"===u?g[f[c]]:d[3]],o.rotation=Math.PI/2*("x"===u?0:1);var v={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=v[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"===c?-y:y,o.z2=1,o}e.layout=a},"01ed":function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("2306");i("5aa9"),i("af24"),n.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new r.Rect({shape:t.coordinateSystem.getRect(),style:a.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),n.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))},"0333":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgFJREFUeNrsWdFtgzAQNagD0AnSTFAqdQAYoFKzQTJB6QRVJkhHSCcgUgeAAfpBJ4AR2KC9a44qiiD2IRuOlpMsR0Gy37tnnx9YqTnm+N/huRj06+MhgC6FFtFfObSVd/9e257Ld5SYU/CKfu8moQBk/wa6suPxElSopCvw0vPZ+Aposo9Rkwq1VAWeNM9xcyciFaDKUxJINZQKNhVIDMBbV8EbOPu/KoAC15IUeGSA/1EBSK9FKABAQugyJoFmL8SgRDEoAVouCBpL5i20dQ/wpyT20D6h4QFXcDe3dwFoRCAboMGZPXAZOZFriFVALDciQEsiJeCSoiJDWOg2sUTwijClJlVIIvhObL6aeLQROAjGezAhsMFyJhB8Qdj0ZZRqfUb1Xgr4uO2M8DQHlgQSneC1J7EAEhfBG1mJEUlowRt7oRFIGIFnmbkBSRiDZ7tRMniZYwJxl3GzZadLh3YDXefS9RuZS6/EHttnZt+50ePO4QvKfq85uASGeCMLXRJYDEBgMfUlFM5LaKwKRBHQqW9dAa6F2OOpSm3vSoUrB4OiDdic3cTkkNU3dbzgiAznym0TMDFhz50foI7/IxH8jrqzVRA85h5ou33BTG8BIGuZwHgJKdK23o3v0oz3AA2IL9WNzcV+C+2OC57Ge0WgNMbpmCvbF4FzzPGX41uAAQD9ZKplOLOFswAAAABJRU5ErkJggg=="},"0352":function(t,e,i){var n=i("6cb7"),a=i("b12f"),r=i("0f99"),o=r.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)}}),a.extend({type:"dataset"})},"04f6":function(t,e,i){i("d9e2");var n=32,a=7;function r(t){var e=0;while(t>=n)e|=1&t,t>>=1;return t+e}function o(t,e,i,n){var a=e+1;if(a===i)return 1;if(n(t[a++],t[e])<0){while(a=0)a++;return a-e}function s(t,e,i){i--;while(e>>1,a(o,t[r])<0?l=r:s=r+1;var c=n-s;switch(c){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(c>0)t[s+c]=t[s+c-1],c--}t[s]=o}}function c(t,e,i,n,a,r){var o=0,s=0,l=1;if(r(t,e[i+a])>0){s=n-a;while(l0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}else{s=a+1;while(ls&&(l=s);var c=o;o=a-l,l=a-c}o++;while(o>>1);r(t,e[i+u])>0?o=u+1:l=u}return l}function u(t,e,i,n,a,r){var o=0,s=0,l=1;if(r(t,e[i+a])<0){s=a+1;while(ls&&(l=s);var c=o;o=a-l,l=a-c}else{s=n-a;while(l=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}o++;while(o>>1);r(t,e[i+u])<0?l=u:o=u+1}return l}function h(t,e){var i,n,r=a,o=0,s=0;o=t.length;var l=[];function h(t,e){i[s]=t,n[s]=e,s+=1}function d(){while(s>1){var t=s-2;if(t>=1&&n[t-1]<=n[t]+n[t+1]||t>=2&&n[t-2]<=n[t]+n[t-1])n[t-1]n[t+1])break;p(t)}}function f(){while(s>1){var t=s-2;t>0&&n[t-1]=a||m>=a);if(v)break;y<0&&(y=0),y+=2}if(r=y,r<1&&(r=1),1===n){for(h=0;h=0;h--)t[m+h]=t[g+h];if(0===n){_=!0;break}}if(t[p--]=l[f--],1===--s){_=!0;break}if(x=s-c(t[d],l,0,s,s-1,e),0!==x){for(p-=x,f-=x,s-=x,m=p+1,g=f+1,h=0;h=a||x>=a);if(_)break;v<0&&(v=0),v+=2}if(r=v,r<1&&(r=1),1===s){for(p-=n,d-=n,m=p+1,g=d+1,h=n-1;h>=0;h--)t[m+h]=t[g+h];t[p]=l[f]}else{if(0===s)throw new Error;for(g=p-(s-1),h=0;h=0;h--)t[m+h]=t[g+h];t[p]=l[f]}else for(g=p-(s-1),h=0;hd&&(f=d),l(t,i,i+f,i+c,e),c=f}u.pushRun(i,c),u.mergeRuns(),s-=c,i+=c}while(0!==s);u.forceMergeRuns()}}t.exports=d},"0655":function(t,e,i){var n=i("8728"),a=1e-8;function r(t,e){return Math.abs(t-e).5?e:t}function d(t,e,i,n,a){var r=t.length;if(1===a)for(var o=0;oa;if(r)t.length=a;else for(var o=n;o=0;i--)if(T[i]<=e)break;i=Math.min(i,b-2)}else{for(i=H;ie)break;i=Math.min(i-1,b-2)}H=i,G=e;var n=T[i+1]-T[i];if(0!==n)if(N=(e-T[i])/n,_)if(z=k[i],F=k[0===i?i:i-1],V=k[i>b-2?b-1:i+1],W=k[i>b-3?b-1:i+2],S)g(F,z,V,W,N,N*N,N*N*N,c(t,s),I);else{if(C)a=g(F,z,V,W,N,N*N,N*N*N,U,1),a=y(U);else{if(M)return h(z,V,N);a=m(F,z,V,W,N,N*N,N*N*N)}v(t,s,a)}else if(S)d(k[i],k[i+1],N,c(t,s),I);else{var a;if(C)d(k[i],k[i+1],N,U,1),a=y(U);else{if(M)return h(k[i],k[i+1],N);a=u(k[i],k[i+1],N)}v(t,s,a)}},Z=new n({target:t._target,life:w,loop:t._loop,delay:t._delay,onframe:Y,ondestroy:i});return e&&"spline"!==e&&(Z.easing=e),Z}}}var b=function(t,e,i,n){this._tracks={},this._target=t,this._loop=e||!1,this._getter=i||l,this._setter=n||c,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(t,e){var i=this._tracks;for(var n in e)if(e.hasOwnProperty(n)){if(!i[n]){i[n]=[];var a=this._getter(this._target,n);if(null==a)continue;0!==t&&i[n].push({time:0,value:v(a)})}i[n].push({time:t,value:e[n]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t1&&n&&n.length>1){var s=r(n)/r(a);!isFinite(s)&&(s=1),e.pinchScale=s;var l=o(n);return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},l=a;t.exports=l},"0cde":function(t,e,i){var n=i("1687"),a=i("401b"),r=n.identity,o=5e-5;function s(t){return t>o||t<-o}var l=function(t){t=t||{},t.position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},c=l.prototype;c.transform=null,c.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var u=[];c.updateTransform=function(){var t=this.parent,e=t&&t.transform,i=this.needLocalTransform(),a=this.transform;if(i||e){a=a||n.create(),i?this.getLocalTransform(a):r(a),e&&(i?n.mul(a,t.transform,a):n.copy(a,t.transform)),this.transform=a;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(u);var s=u[0]<0?-1:1,l=u[1]<0?-1:1,c=((u[0]-s)*o+s)/u[0]||0,h=((u[1]-l)*o+l)/u[1]||0;a[0]*=c,a[1]*=c,a[2]*=h,a[3]*=h}this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,a)}else a&&r(a)},c.getLocalTransform=function(t){return l.getLocalTransform(this,t)},c.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)},c.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var h=[],d=n.create();c.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=this.position,a=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(i-1)&&(i=Math.sqrt(i)),t[0]<0&&(e=-e),t[3]<0&&(i=-i),n[0]=t[4],n[1]=t[5],a[0]=e,a[1]=i,this.rotation=Math.atan2(-t[1]/i,t[0]/e)}},c.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)}},c.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},c.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&a.applyTransform(i,i,n),i},c.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&a.applyTransform(i,i,n),i},l.getLocalTransform=function(t,e){e=e||[],r(e);var i=t.origin,a=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return i&&(e[4]-=i[0],e[5]-=i[1]),n.scale(e,e,a),o&&n.rotate(e,e,o),i&&(e[4]+=i[0],e[5]+=i[1]),e[4]+=s[0],e[5]+=s[1],e};var f=l;t.exports=f},"0da8":function(t,e,i){var n=i("19eb"),a=i("9850"),r=i("6d8b"),o=i("5e76");function s(t){n.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var i=this.style,n=i.image;i.bind(t,this,e);var a=this._image=o.createOrUpdateImage(n,this._image,this,this.onload);if(a&&o.isImageReady(a)){var r=i.x||0,s=i.y||0,l=i.width,c=i.height,u=a.width/a.height;if(null==l&&null!=c?l=c*u:null==c&&null!=l?c=l/u:null==l&&null==c&&(l=a.width,c=a.height),this.setTransform(t),i.sWidth&&i.sHeight){var h=i.sx||0,d=i.sy||0;t.drawImage(a,h,d,i.sWidth,i.sHeight,r,s,l,c)}else if(i.sx&&i.sy){h=i.sx,d=i.sy;var f=l-h,p=c-d;t.drawImage(a,h,d,f,p,r,s,l,c)}else t.drawImage(a,r,s,l,c);null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new a(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},r.inherits(s,n);var l=s;t.exports=l},"0f99":function(t,e,i){i("d81d"),i("d9e2"),i("b0c0"),i("fb6a");var n=i("4e08"),a=(n.__DEV__,i("e0d3")),r=a.makeInner,o=a.getDataItemValue,s=i("6d8b"),l=s.createHashMap,c=s.each,u=s.map,h=s.isArray,d=s.isString,f=s.isObject,p=s.isTypedArray,g=s.isArrayLike,m=s.extend,v=(s.assert,i("ec6f")),y=i("93d0"),x=y.SOURCE_FORMAT_ORIGINAL,_=y.SOURCE_FORMAT_ARRAY_ROWS,b=y.SOURCE_FORMAT_OBJECT_ROWS,w=y.SOURCE_FORMAT_KEYED_COLUMNS,A=y.SOURCE_FORMAT_UNKNOWN,S=y.SOURCE_FORMAT_TYPED_ARRAY,C=y.SERIES_LAYOUT_BY_ROW,M={Must:1,Might:2,Not:3},I=r();function T(t){var e=t.option.source,i=A;if(p(e))i=S;else if(h(e)){0===e.length&&(i=_);for(var n=0,a=e.length;nt&&(t=e),t},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});t.exports=a},"17d6":function(t,e,i){var n=i("6d8b"),a=i("22d1"),r=i("e0d3"),o=r.makeInner,s=o(),l=n.each;function c(t,e,i){if(!a.node){var n=e.getZr();s(n).records||(s(n).records={}),u(n,e);var r=s(n).records[t]||(s(n).records[t]={});r.handler=i}}function u(t,e){function i(i,n){t.on(i,(function(i){var a=p(e);l(s(t).records,(function(t){t&&n(t,i,a.dispatchAction)})),h(a.pendings,e)}))}s(t).initialized||(s(t).initialized=!0,i("click",n.curry(f,"click")),i("mousemove",n.curry(f,"mousemove")),i("globalout",d))}function h(t,e){var i,n=t.showTip.length,a=t.hideTip.length;n?i=t.showTip[n-1]:a&&(i=t.hideTip[a-1]),i&&(i.dispatchAction=null,e.dispatchAction(i))}function d(t,e,i){t.handler("leave",null,i)}function f(t,e,i,n){e.handler(t,i,n)}function p(t){var e={showTip:[],hideTip:[]},i=function i(n){var a=e[n.type];a?a.push(n):(n.dispatchAction=i,t.dispatchAction(n))};return{dispatchAction:i,pendings:e}}function g(t,e){if(!a.node){var i=e.getZr(),n=(s(i).records||{})[t];n&&(s(i).records[t]=null)}}e.register=c,e.unregister=g},"18c0":function(t,e,i){var n=i("6d8b"),a=i("e0d8"),r=i("8e43"),o=a.prototype,s=a.extend({type:"ordinal",init:function(t,e){t&&!n.isArray(t)||(t=new r({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"===typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),o.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return o.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(o.scale.call(this,t))},getTicks:function(){var t=[],e=this._extent,i=e[0];while(i<=e[1])t.push(i),i++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:n.noop,niceExtent:n.noop});s.create=function(){return new s};var l=s;t.exports=l},"19eb":function(t,e,i){var n=i("6d8b"),a=i("2b61"),r=i("d5b7"),o=i("9e2e");function s(t){for(var e in t=t||{},r.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new a(t.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();return n.contain(i[0],i[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?r.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new a(t,this),this.dirty(!1),this},calculateTextPosition:null},n.inherits(s,r),n.mixin(s,o);var l=s;t.exports=l},"1ab3":function(t,e,i){var n=i("6d8b"),a=i("2306"),r=i("e887");function o(t,e,i,n){var a=e.getData(),r=this.dataIndex,o=a.getName(r),l=e.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:t,name:o,seriesId:e.id}),a.each((function(t){s(a.getItemGraphicEl(t),a.getItemLayout(t),e.isSelected(a.getName(t)),l,i)}))}function s(t,e,i,n,a){var r=(e.startAngle+e.endAngle)/2,o=Math.cos(r),s=Math.sin(r),l=i?n:0,c=[o*l,s*l];a?t.animate().when(200,{position:c}).start("bounceOut"):t.attr("position",c)}function l(t,e){a.Group.call(this);var i=new a.Sector({z2:2}),n=new a.Polyline,r=new a.Text;this.add(i),this.add(n),this.add(r),this.updateData(t,e,!0)}var c=l.prototype;c.updateData=function(t,e,i){var r=this.childAt(0),o=this.childAt(1),l=this.childAt(2),c=t.hostModel,u=t.getItemModel(e),h=t.getItemLayout(e),d=n.extend({},h);d.label=null;var f=c.getShallow("animationTypeUpdate");if(i){r.setShape(d);var p=c.getShallow("animationType");"scale"===p?(r.shape.r=h.r0,a.initProps(r,{shape:{r:h.r}},c,e)):(r.shape.endAngle=h.startAngle,a.updateProps(r,{shape:{endAngle:h.endAngle}},c,e))}else"expansion"===f?r.setShape(d):a.updateProps(r,{shape:d},c,e);var g=t.getItemVisual(e,"color");r.useStyle(n.defaults({lineJoin:"bevel",fill:g},u.getModel("itemStyle").getItemStyle())),r.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var m=u.getShallow("cursor");m&&r.attr("cursor",m),s(this,t.getItemLayout(e),c.isSelected(t.getName(e)),c.get("selectedOffset"),c.get("animation"));var v=!i&&"transition"===f;this._updateLabel(t,e,v),this.highDownOnUpdate=c.get("silent")?null:function(t,e){var i=c.isAnimationEnabled()&&u.get("hoverAnimation");"emphasis"===e?(o.ignore=o.hoverIgnore,l.ignore=l.hoverIgnore,i&&(r.stopAnimation(!0),r.animateTo({shape:{r:h.r+c.get("hoverOffset")}},300,"elasticOut"))):(o.ignore=o.normalIgnore,l.ignore=l.normalIgnore,i&&(r.stopAnimation(!0),r.animateTo({shape:{r:h.r}},300,"elasticOut")))},a.setHoverStyle(this)},c._updateLabel=function(t,e,i){var n=this.childAt(1),r=this.childAt(2),o=t.hostModel,s=t.getItemModel(e),l=t.getItemLayout(e),c=l.label,u=t.getItemVisual(e,"color");if(!c||isNaN(c.x)||isNaN(c.y))r.ignore=r.normalIgnore=r.hoverIgnore=n.ignore=n.normalIgnore=n.hoverIgnore=!0;else{var h={points:c.linePoints||[[c.x,c.y],[c.x,c.y],[c.x,c.y]]},d={x:c.x,y:c.y};i?(a.updateProps(n,{shape:h},o,e),a.updateProps(r,{style:d},o,e)):(n.attr({shape:h}),r.attr({style:d})),r.attr({rotation:c.rotation,origin:[c.x,c.y],z2:10});var f=s.getModel("label"),p=s.getModel("emphasis.label"),g=s.getModel("labelLine"),m=s.getModel("emphasis.labelLine");u=t.getItemVisual(e,"color");a.setLabelStyle(r.style,r.hoverStyle={},f,p,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:c.text,autoColor:u,useInsideStyle:!!c.inside},{textAlign:c.textAlign,textVerticalAlign:c.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),r.ignore=r.normalIgnore=!f.get("show"),r.hoverIgnore=!p.get("show"),n.ignore=n.normalIgnore=!g.get("show"),n.hoverIgnore=!m.get("show"),n.setStyle({stroke:u,opacity:t.getItemVisual(e,"opacity")}),n.setStyle(g.getModel("lineStyle").getLineStyle()),n.hoverStyle=m.getModel("lineStyle").getLineStyle();var v=g.get("smooth");v&&!0===v&&(v=.4),n.setShape({smooth:v})}},n.inherits(l,a.Group);var u=r.extend({type:"pie",init:function(){var t=new a.Group;this._sectorGroup=t},render:function(t,e,i,a){if(!a||a.from!==this.uid){var r=t.getData(),s=this._data,c=this.group,u=e.get("animation"),h=!s,d=t.get("animationType"),f=t.get("animationTypeUpdate"),p=n.curry(o,this.uid,t,u,i),g=t.get("selectedMode");if(r.diff(s).add((function(t){var e=new l(r,t);h&&"scale"!==d&&e.eachChild((function(t){t.stopAnimation(!0)})),g&&e.on("click",p),r.setItemGraphicEl(t,e),c.add(e)})).update((function(t,e){var i=s.getItemGraphicEl(e);h||"transition"===f||i.eachChild((function(t){t.stopAnimation(!0)})),i.updateData(r,t),i.off("click"),g&&i.on("click",p),c.add(i),r.setItemGraphicEl(t,i)})).remove((function(t){var e=s.getItemGraphicEl(t);c.remove(e)})).execute(),u&&r.count()>0&&(h?"scale"!==d:"transition"!==f)){for(var m=r.getItemLayout(0),v=1;isNaN(m.startAngle)&&v=n.r0}}}),h=u;t.exports=h},"1d8d":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARRJREFUeNrsmLENwjAQRQ2ixxuQEdgAXDIFFPQoEyQr0FOwAXSUZIRsgEdINuBOMtIJWU5EQY7wn2RFF6e478T3zzEGAAAAAMMxSU1uTu2SLlZDorf9vOotICR+oZEpWuyGRk5CzkkBlDyv+EPLykdw8m1MIw/sFCfPHGQQE2CV71vbJeCngIChmUXucZmqFOfcwL5VtxJkZOwDW8U512RkeWoPcPuwRhWCAAiAAAj4217oW1Siv2fvqYUPMT5ck+fywQSQm7rg/GyahYjLMF+G+J4yVnxCn/JaaWLBn42IV2/zmdY9UHTEvfqxUZZRrzxn3yXgKkqaxuPkMSmAyhc/5MLZWBPsG/xXrjYAAADAWHgKMAAJzjrDXWQlugAAAABJRU5ErkJggg=="},"1da1":function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));i("d3b7");function n(t,e,i,n,a,r,o){try{var s=t[r](o),l=s.value}catch(c){return void i(c)}s.done?e(l):Promise.resolve(l).then(n,a)}function a(t){return function(){var e=this,i=arguments;return new Promise((function(a,r){var o=t.apply(e,i);function s(t){n(o,a,r,s,l,"next",t)}function l(t){n(o,a,r,s,l,"throw",t)}s(void 0)}))}}},"1fab":function(t,e,i){i("fb6a"),i("4de4"),i("d3b7"),i("a434");var n=Array.prototype.slice,a=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 o(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;l3&&(a=n.call(a,1));for(var o=e.length,s=0;s4&&(a=n.call(a,1,a.length-1));for(var o=a[a.length-1],s=e.length,l=0;lthis._ux||x(e-this._yi)>this._uy||this._len<5;return this.addData(c.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,n,a,r){return this.addData(c.C,t,e,i,n,a,r),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,n,a,r):this._ctx.bezierCurveTo(t,e,i,n,a,r)),this._xi=a,this._yi=r,this},quadraticCurveTo:function(t,e,i,n){return this.addData(c.Q,t,e,i,n),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,i,n):this._ctx.quadraticCurveTo(t,e,i,n)),this._xi=i,this._yi=n,this},arc:function(t,e,i,n,a,r){return this.addData(c.A,t,e,i,i,n,a-n,0,r?0:1),this._ctx&&this._ctx.arc(t,e,i,n,a,r),this._xi=m(a)*i+t,this._yi=v(a)*i+e,this},arcTo:function(t,e,i,n,a){return this._ctx&&this._ctx.arcTo(t,e,i,n,a),this},rect:function(t,e,i,n){return this._ctx&&this._ctx.rect(t,e,i,n),this.addData(c.R,t,e,i,n),this},closePath:function(){this.addData(c.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t.closePath()),this._xi=e,this._yi=i,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;ie.length&&(this._expandData(),e=this.data);for(var i=0;i0&&f<=t||u<0&&f>=t||0===u&&(h>0&&m<=e||h<0&&m>=e))n=this._dashIdx,i=o[n],f+=u*i,m+=h*i,this._dashIdx=(n+1)%v,u>0&&fl||h>0&&mc||s[n%2?"moveTo":"lineTo"](u>=0?p(f,t):g(f,t),h>=0?p(m,e):g(m,e));u=f-t,h=m-e,this._dashOffset=-y(u*u+h*h)},_dashedBezierTo:function(t,e,i,a,r,o){var s,l,c,u,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,m=this._xi,v=this._yi,x=n.cubicAt,_=0,b=this._dashIdx,w=p.length,A=0;for(f<0&&(f=d+f),f%=d,s=0;s<1;s+=.1)l=x(m,t,i,r,s+.1)-x(m,t,i,r,s),c=x(v,e,a,o,s+.1)-x(v,e,a,o,s),_+=y(l*l+c*c);for(;bf)break;s=(A-f)/_;while(s<=1)u=x(m,t,i,r,s),h=x(v,e,a,o,s),b%2?g.moveTo(u,h):g.lineTo(u,h),s+=p[b]/_,b=(b+1)%w;b%2!==0&&g.lineTo(r,o),l=r-u,c=o-h,this._dashOffset=-y(l*l+c*c)},_dashedQuadraticTo:function(t,e,i,n){var a=i,r=n;i=(i+2*t)/3,n=(n+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,i,n,a,r)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,_&&(this.data=new Float32Array(t)))},getBoundingRect:function(){u[0]=u[1]=d[0]=d[1]=Number.MAX_VALUE,h[0]=h[1]=f[0]=f[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,n=0,s=0,l=0;ll||x(o-a)>u||d===h-1)&&(t.lineTo(r,o),n=r,a=o);break;case c.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case c.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case c.A:var p=s[d++],g=s[d++],y=s[d++],_=s[d++],b=s[d++],w=s[d++],A=s[d++],S=s[d++],C=y>_?y:_,M=y>_?1:y/_,I=y>_?_/y:1,T=Math.abs(y-_)>.001,k=b+w;T?(t.translate(p,g),t.rotate(A),t.scale(M,I),t.arc(0,0,C,b,k,1-S),t.scale(1/M,1/I),t.rotate(-A),t.translate(-p,-g)):t.arc(p,g,C,b,k,1-S),1===d&&(e=m(b)*y+p,i=v(b)*_+g),n=m(k)*y+p,a=v(k)*_+g;break;case c.R:e=n=s[d],i=a=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case c.Z:t.closePath(),n=e,a=i}}}},b.CMD=c;var w=b;t.exports=w},"216a":function(t,e,i){var n=i("6d8b"),a=i("3842"),r=i("eda2"),o=i("944e"),s=i("89e3"),l=s.prototype,c=Math.ceil,u=Math.floor,h=1e3,d=60*h,f=60*d,p=24*f,g=function(t,e,i,n){while(i>>1;t[a][1]i&&(s=i);var l=v.length,h=g(v,s,0,l),d=v[Math.min(h,l-1)],f=d[1];if("year"===d[0]){var p=r/f,m=a.nice(p/t,!0);f*=m}var y=this.getSetting("useUTC")?0:60*new Date(+n[0]||+n[1]).getTimezoneOffset()*1e3,x=[Math.round(c((n[0]-y)/f)*f+y),Math.round(u((n[1]-y)/f)*f+y)];o.fixExtent(x,n),this._stepLvl=d,this._interval=f,this._niceExtent=x},parse:function(t){return+a.parseDate(t)}});n.each(["contain","normalize"],(function(t){m.prototype[t]=function(e){return l[t].call(this,this.parse(e))}}));var v=[["hh:mm:ss",h],["hh:mm:ss",5*h],["hh:mm:ss",10*h],["hh:mm:ss",15*h],["hh:mm:ss",30*h],["hh:mm\nMM-dd",d],["hh:mm\nMM-dd",5*d],["hh:mm\nMM-dd",10*d],["hh:mm\nMM-dd",15*d],["hh:mm\nMM-dd",30*d],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",2*f],["hh:mm\nMM-dd",6*f],["hh:mm\nMM-dd",12*f],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];m.create=function(t){return new m({useUTC:t.ecModel.get("useUTC")})};var y=m;t.exports=y},"217b":function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("3301")),r=i("4f85"),o=r.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return a(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=o},"22d1":function(t,e,i){var n=i("7037").default;i("ac1f"),i("466d"),i("00b4");var a={};a="object"===("undefined"===typeof wx?"undefined":n(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}:o(navigator.userAgent);var r=a;function o(t){var e={},i={},n=t.match(/Firefox\/([\d.]+)/),a=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),r=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);return n&&(i.firefox=!0,i.version=n[1]),a&&(i.ie=!0,i.version=a[1]),r&&(i.edge=!0,i.version=r[1]),o&&(i.weChat=!0),{browser:i,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!i.ie&&!i.edge,pointerEventsSupported:"onpointerdown"in window&&(i.edge||i.ie&&i.version>=11),domSupported:"undefined"!==typeof document}}t.exports=r},2306:function(t,e,i){i("cb29"),i("498a"),i("a15b"),i("d81d"),i("fb6a"),i("ac1f"),i("5319");var n=i("6d8b"),a=i("342d"),r=i("41ef"),o=i("1687"),s=i("401b"),l=i("cbe5"),c=i("0cde"),u=i("0da8");e.Image=u;var h=i("e1fc");e.Group=h;var d=i("76a5");e.Text=d;var f=i("d9fc");e.Circle=f;var p=i("4aa2");e.Sector=p;var g=i("4573");e.Ring=g;var m=i("87b1");e.Polygon=m;var v=i("d498");e.Polyline=v;var y=i("c7a2");e.Rect=y;var x=i("cb11");e.Line=x;var _=i("ac0f");e.BezierCurve=_;var b=i("8d32");e.Arc=b;var w=i("d4c6");e.CompoundPath=w;var A=i("48a9");e.LinearGradient=A;var S=i("dded");e.RadialGradient=S;var C=i("9850");e.BoundingRect=C;var M=i("392f");e.IncrementalDisplayable=M;var I=i("9cf9"),T=Math.max,k=Math.min,D={},P=1,O={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},L="emphasis",E="normal",R=1,B={},N={};function F(t){return l.extend(t)}function z(t,e){return a.extendFromString(t,e)}function V(t,e){N[t]=e}function W(t){if(N.hasOwnProperty(t))return N[t]}function H(t,e,i,n){var r=a.createFromString(t,e);return i&&("center"===n&&(i=U(i,r.getBoundingRect())),Z(r,i)),r}function G(t,e,i){var n=new u({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var a={width:t.width,height:t.height};n.setStyle(U(e,a))}}});return n}function U(t,e){var i,n=e.width/e.height,a=t.height*n;a<=t.width?i=t.height:(a=t.width,i=a/n);var r=t.x+t.width/2,o=t.y+t.height/2;return{x:r-a/2,y:o-i/2,width:a,height:i}}var Y=a.mergePath;function Z(t,e){if(t.applyTransform){var i=t.getBoundingRect(),n=i.calculateTransform(e);t.applyTransform(n)}}function X(t){return I.subPixelOptimizeLine(t.shape,t.shape,t.style),t}function j(t){return I.subPixelOptimizeRect(t.shape,t.shape,t.style),t}var J=I.subPixelOptimize;function Q(t){return null!=t&&"none"!==t}var q=n.createHashMap(),K=0;function $(t){if("string"!==typeof t)return t;var e=q.get(t);return e||(e=r.lift(t,-.1),K<1e4&&(q.set(t,e),K++)),e}function tt(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var i=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var n=t.style;for(var a in e)null!=e[a]&&(i[a]=n[a]);i.fill=n.fill,i.stroke=n.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}function et(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var i=t.__zr,n=t.useHoverLayer&&i&&"canvas"===i.painter.type;if(t.__highlighted=n?"layer":"plain",!(t.isGroup||!i&&t.useHoverLayer)){var a=t,r=t.style;n&&(a=i.addHover(t),r=a.style),St(r),n||tt(a),r.extendFrom(e),it(r,e,"fill"),it(r,e,"stroke"),At(r),n||(t.dirty(!1),t.z2+=P)}}}function it(t,e,i){!Q(e[i])&&Q(t[i])&&(t[i]=$(t[i]))}function nt(t){var e=t.__highlighted;if(e&&(t.__highlighted=!1,!t.isGroup))if("layer"===e)t.__zr&&t.__zr.removeHover(t);else{var i=t.style,n=t.__cachedNormalStl;n&&(St(i),t.setStyle(n),At(i));var a=t.__cachedNormalZ2;null!=a&&t.z2-a===P&&(t.z2=a)}}function at(t,e,i){var n,a=E,r=E;t.__highlighted&&(a=L,n=!0),e(t,i),t.__highlighted&&(r=L,n=!0),t.isGroup&&t.traverse((function(t){!t.isGroup&&e(t,i)})),n&&t.__highDownOnUpdate&&t.__highDownOnUpdate(a,r)}function rt(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,nt(t),et(t))}function ot(t){!ut(this,t)&&!this.__highByOuter&&at(this,et)}function st(t){!ut(this,t)&&!this.__highByOuter&&at(this,nt)}function lt(t){this.__highByOuter|=1<<(t||0),at(this,et)}function ct(t){!(this.__highByOuter&=~(1<<(t||0)))&&at(this,nt)}function ut(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function ht(t,e){dt(t,!0),at(t,rt,e)}function dt(t,e){var i=!1===e;if(t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,!i||t.__highDownDispatcher){var n=i?"off":"on";t[n]("mouseover",ot)[n]("mouseout",st),t[n]("emphasis",lt)[n]("normal",ct),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!i}}function ft(t){return!(!t||!t.__highDownDispatcher)}function pt(t){var e=B[t];return null==e&&R<=32&&(e=B[t]=R++),e}function gt(t,e,i,a,r,o,s){r=r||D;var l,c=r.labelFetcher,u=r.labelDataIndex,h=r.labelDimIndex,d=r.labelProp,f=i.getShallow("show"),p=a.getShallow("show");(f||p)&&(c&&(l=c.getFormattedLabel(u,"normal",null,h,d)),null==l&&(l=n.isFunction(r.defaultText)?r.defaultText(u,r):r.defaultText));var g=f?l:null,m=p?n.retrieve2(c?c.getFormattedLabel(u,"emphasis",null,h,d):null,l):null;null==g&&null==m||(vt(t,i,o,r),vt(e,a,s,r,!0)),t.text=g,e.text=m}function mt(t,e,i){var a=t.style;e&&(St(a),t.setStyle(e),At(a)),a=t.__hoverStl,i&&a&&(St(a),n.extend(a,i),At(a))}function vt(t,e,i,a,r){return xt(t,e,a,r),i&&n.extend(t,i),t}function yt(t,e,i){var n,a={isRectText:!0};!1===i?n=!0:a.autoColor=i,xt(t,e,a,n)}function xt(t,e,i,a){if(i=i||D,i.isRectText){var r;i.getTextPosition?r=i.getTextPosition(e,a):(r=e.getShallow("position")||(a?null:"inside"),"outside"===r&&(r="top")),t.textPosition=r,t.textOffset=e.getShallow("offset");var o=e.getShallow("rotate");null!=o&&(o*=Math.PI/180),t.textRotation=o,t.textDistance=n.retrieve2(e.getShallow("distance"),a?null:5)}var s,l=e.ecModel,c=l&&l.option.textStyle,u=_t(e);if(u)for(var h in s={},u)if(u.hasOwnProperty(h)){var d=e.getModel(["rich",h]);bt(s[h]={},d,c,i,a)}return t.rich=s,bt(t,e,c,i,a,!0),i.forceRich&&!i.textStyle&&(i.textStyle={}),t}function _t(t){var e;while(t&&t!==t.ecModel){var i=(t.option||D).rich;if(i)for(var n in e=e||{},i)i.hasOwnProperty(n)&&(e[n]=1);t=t.parentModel}return e}function bt(t,e,i,a,r,o){i=!r&&i||D,t.textFill=wt(e.getShallow("color"),a)||i.color,t.textStroke=wt(e.getShallow("textBorderColor"),a)||i.textBorderColor,t.textStrokeWidth=n.retrieve2(e.getShallow("textBorderWidth"),i.textBorderWidth),r||(o&&(t.insideRollbackOpt=a,At(t)),null==t.textFill&&(t.textFill=a.autoColor)),t.fontStyle=e.getShallow("fontStyle")||i.fontStyle,t.fontWeight=e.getShallow("fontWeight")||i.fontWeight,t.fontSize=e.getShallow("fontSize")||i.fontSize,t.fontFamily=e.getShallow("fontFamily")||i.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),o&&a.disableBox||(t.textBackgroundColor=wt(e.getShallow("backgroundColor"),a),t.textPadding=e.getShallow("padding"),t.textBorderColor=wt(e.getShallow("borderColor"),a),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||i.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||i.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||i.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||i.textShadowOffsetY}function wt(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function At(t){var e,i=t.textPosition,n=t.insideRollbackOpt;if(n&&null==t.textFill){var a=n.autoColor,r=n.isRectText,o=n.useInsideStyle,s=!1!==o&&(!0===o||r&&i&&"string"===typeof i&&i.indexOf("inside")>=0),l=!s&&null!=a;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=a,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=a)}t.insideRollback=e}function St(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function Ct(t,e){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 Mt(t,e,i,n,a,r){"function"===typeof a&&(r=a,a=null);var o=n&&n.isAnimationEnabled();if(o){var s=t?"Update":"",l=n.getShallow("animationDuration"+s),c=n.getShallow("animationEasing"+s),u=n.getShallow("animationDelay"+s);"function"===typeof u&&(u=u(a,n.getAnimationDelayParams?n.getAnimationDelayParams(e,a):null)),"function"===typeof l&&(l=l(a)),l>0?e.animateTo(i,l,u||0,c,r,!!r):(e.stopAnimation(),e.attr(i),r&&r())}else e.stopAnimation(),e.attr(i),r&&r()}function It(t,e,i,n,a){Mt(!0,t,e,i,n,a)}function Tt(t,e,i,n,a){Mt(!1,t,e,i,n,a)}function kt(t,e){var i=o.identity([]);while(t&&t!==e)o.mul(i,t.getLocalTransform(),i),t=t.parent;return i}function Dt(t,e,i){return e&&!n.isArrayLike(e)&&(e=c.getLocalTransform(e)),i&&(e=o.invert([],e)),s.applyTransform([],t,e)}function Pt(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),a=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),r=["left"===t?-n:"right"===t?n:0,"top"===t?-a:"bottom"===t?a:0];return r=Dt(r,e,i),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"}function Ot(t,e,i,a){if(t&&e){var r=o(t);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var n=l(t);t.attr(l(e)),It(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 Lt(t,e){return n.map(t,(function(t){var i=t[0];i=T(i,e.x),i=k(i,e.x+e.width);var n=t[1];return n=T(n,e.y),n=k(n,e.y+e.height),[i,n]}))}function Et(t,e){var i=T(t.x,e.x),n=k(t.x+t.width,e.x+e.width),a=T(t.y,e.y),r=k(t.y+t.height,e.y+e.height);if(n>=i&&r>=a)return{x:i,y:a,width:n-i,height:r-a}}function Rt(t,e,i){e=n.extend({rectHover:!0},e);var a=e.style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(a.image=t.slice(8),n.defaults(a,i),new u(e)):H(t.replace("path://",""),e,i,"center")}function Bt(t,e,i,n,a){for(var r=0,o=a[a.length-1];r1)return!1;var m=Ft(f,p,u,h)/d;return!(m<0||m>1)}function Ft(t,e,i,n){return t*n-i*e}function zt(t){return t<=1e-6&&t>=-1e-6}V("circle",f),V("sector",p),V("ring",g),V("polygon",m),V("polyline",v),V("rect",y),V("line",x),V("bezierCurve",_),V("arc",b),e.Z2_EMPHASIS_LIFT=P,e.CACHED_LABEL_STYLE_PROPERTIES=O,e.extendShape=F,e.extendPath=z,e.registerShape=V,e.getShapeClass=W,e.makePath=H,e.makeImage=G,e.mergePath=Y,e.resizePath=Z,e.subPixelOptimizeLine=X,e.subPixelOptimizeRect=j,e.subPixelOptimize=J,e.setElementHoverStyle=rt,e.setHoverStyle=ht,e.setAsHighDownDispatcher=dt,e.isHighDownDispatcher=ft,e.getHighlightDigit=pt,e.setLabelStyle=gt,e.modifyLabelStyle=mt,e.setTextStyle=vt,e.setText=yt,e.getFont=Ct,e.updateProps=It,e.initProps=Tt,e.getTransform=kt,e.applyTransform=Dt,e.transformDirection=Pt,e.groupTransition=Ot,e.clipPointsByRect=Lt,e.clipRectByRect=Et,e.createIcon=Rt,e.linePolygonIntersect=Bt,e.lineLineIntersect=Nt},"26e1":function(t,e,i){var n=i("6d8b"),a=i("e0d3"),r=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,a=s.length;i=0||a&&n.indexOf(a,s)<0)){var l=e.getShallow(s);null!=l&&(r[t[o][0]]=l)}}return r}}t.exports=a},"292e":function(t,e,i){var n=i("3842"),a=n.parsePercent,r=n.linearMap,o=i("f934"),s=i("bb70"),l=i("6d8b"),c=2*Math.PI,u=Math.PI/180;function h(t,e){return o.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function d(t,e,i,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),n=e.mapDimension("value"),o=h(t,i),d=t.get("center"),f=t.get("radius");l.isArray(f)||(f=[0,f]),l.isArray(d)||(d=[d,d]);var p=a(o.width,i.getWidth()),g=a(o.height,i.getHeight()),m=Math.min(p,g),v=a(d[0],p)+o.x,y=a(d[1],g)+o.y,x=a(f[0],m/2),_=a(f[1],m/2),b=-t.get("startAngle")*u,w=t.get("minAngle")*u,A=0;e.each(n,(function(t){!isNaN(t)&&A++}));var S=e.getSum(n),C=Math.PI/(S||A)*2,M=t.get("clockwise"),I=t.get("roseType"),T=t.get("stillShowZeroSum"),k=e.getDataExtent(n);k[0]=0;var D=c,P=0,O=b,L=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:v,cy:y,r0:x,r:I?NaN:_,viewRect:o});else{n="area"!==I?0===S&&T?C:t*C:c/A,n0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},set:function(t,e){"string"===typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,i){for(var n="radial"===e.type?c:l,a=n(t,e,i),r=e.colorStops,o=0;o=4&&(c={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(c&&null!=o&&null!=l&&(u=V(c,o,l),!e.ignoreViewBox)){var f=a;a=new n,a.add(f),f.scale=u.scale.slice(),f.position=u.position.slice()}return e.ignoreRootClip||null==o||null==l||a.setClipPath(new s({shape:{x:0,y:0,width:o,height:l}})),{root:a,width:o,height:l,viewBoxRect:c,viewBoxTransform:u}},M.prototype._parseNode=function(t,e){var i,n=t.nodeName.toLowerCase();if("defs"===n?this._isDefine=!0:"text"===n&&(this._isText=!0),this._isDefine){var a=T[n];if(a){var r=a.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=r)}}else{a=I[n];a&&(i=a.call(this,t,e),e.add(i))}var s=t.firstChild;while(s)1===s.nodeType&&this._parseNode(s,i),3===s.nodeType&&this._isText&&this._parseText(s,i),s=s.nextSibling;"defs"===n?this._isDefine=!1:"text"===n&&(this._isText=!1)},M.prototype._parseText=function(t,e){if(1===t.nodeType){var i=t.getAttribute("dx")||0,n=t.getAttribute("dy")||0;this._textX+=parseFloat(i),this._textY+=parseFloat(n)}var a=new r({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});D(e,a),L(t,a,this._defs);var o=a.style.fontSize;o&&o<9&&(a.style.fontSize=9,a.scale=a.scale||[1,1],a.scale[0]*=o/9,a.scale[1]*=o/9);var s=a.getBoundingRect();return this._textX+=s.width,e.add(a),a};var I={g:function(t,e){var i=new n;return D(e,i),L(t,i,this._defs),i},rect:function(t,e){var i=new s;return D(e,i),L(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 D(e,i),L(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 c;return D(e,i),L(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 D(e,i),L(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),i},polygon:function(t,e){var i=t.getAttribute("points");i&&(i=P(i));var n=new h({shape:{points:i||[]}});return D(e,n),L(t,n,this._defs),n},polyline:function(t,e){var i=new u;D(e,i),L(t,i,this._defs);var n=t.getAttribute("points");n&&(n=P(n));var a=new d({shape:{points:n||[]}});return a},image:function(t,e){var i=new a;return D(e,i),L(t,i,this._defs),i.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),i},text:function(t,e){var i=t.getAttribute("x")||0,a=t.getAttribute("y")||0,r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(r),this._textY=parseFloat(a)+parseFloat(o);var s=new n;return D(e,s),L(t,s,this._defs),s},tspan:function(t,e){var i=t.getAttribute("x"),a=t.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=a&&(this._textY=parseFloat(a));var r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0,s=new n;return D(e,s),L(t,s,this._defs),this._textX+=r,this._textY+=o,s},path:function(t,e){var i=t.getAttribute("d")||"",n=v(i);return D(e,n),L(t,n,this._defs),n}},T={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),i=parseInt(t.getAttribute("y1")||0,10),n=parseInt(t.getAttribute("x2")||10,10),a=parseInt(t.getAttribute("y2")||0,10),r=new f(e,i,n,a);return k(t,r),r},radialgradient:function(t){}};function k(t,e){var i=t.firstChild;while(i){if(1===i.nodeType){var n=i.getAttribute("offset");n=n.indexOf("%")>0?parseInt(n,10)/100:n?parseFloat(n):0;var a=i.getAttribute("stop-color")||"#000000";e.addColorStop(n,a)}i=i.nextSibling}}function D(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),b(e.__inheritedStyle,t.__inheritedStyle))}function P(t){for(var e=w(t).split(S),i=[],n=0;n0;r-=2){var o=a[r],s=a[r-1];switch(n=n||g.create(),s){case"translate":o=w(o).split(S),g.translate(n,n,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=w(o).split(S),g.scale(n,n,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=w(o).split(S),g.rotate(n,n,parseFloat(o[0]));break;case"skew":o=w(o).split(S);break;case"matrix":o=w(o).split(S);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 F=/([^\s:;]+)\s*:\s*([^:;]+)/g;function z(t){var e=t.getAttribute("style"),i={};if(!e)return i;var n,a={};F.lastIndex=0;while(null!=(n=F.exec(e)))a[n[1]]=n[2];for(var r in O)O.hasOwnProperty(r)&&null!=a[r]&&(i[O[r]]=a[r]);return i}function V(t,e,i){var n=e/t.width,a=i/t.height,r=Math.min(n,a),o=[r,r],s=[-(t.x+t.width/2)*r+e/2,-(t.y+t.height/2)*r+i/2];return{scale:o,position:s}}function W(t,e){var i=new M;return i.parse(t,e)}e.parseXML=C,e.makeViewBoxTransform=V,e.parseSVG=W},"30a3":function(t,e,i){i("a434");var n=i("6d8b"),a=i("607d"),r=a.Dispatcher,o=i("98b7"),s=i("06ad"),l=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,r.call(this)};l.prototype={constructor:l,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),i=0;i=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i1&&(u*=o(_),f*=o(_));var b=(a===r?-1:1)*o((u*u*(f*f)-u*u*(x*x)-f*f*(y*y))/(u*u*(x*x)+f*f*(y*y)))||0,w=b*u*x/f,A=b*-f*y/u,S=(t+i)/2+l(v)*w-s(v)*A,C=(e+n)/2+s(v)*w+l(v)*A,M=d([1,0],[(y-w)/u,(x-A)/f]),I=[(y-w)/u,(x-A)/f],T=[(-1*y-w)/u,(-1*x-A)/f],k=d(I,T);h(I,T)<=-1&&(k=c),h(I,T)>=1&&(k=0),0===r&&k>0&&(k-=2*c),1===r&&k<0&&(k+=2*c),m.addData(g,S,C,u,f,M,k,v,r)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function m(t){if(!t)return new a;for(var e,i=0,n=0,r=i,o=n,s=new a,l=a.CMD,c=t.match(p),u=0;u0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/a*r+i[0]}function s(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return"string"===typeof t?r(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function l(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t}function c(t){return t.sort((function(t,e){return t-e})),t}function u(t){if(t=+t,isNaN(t))return 0;var e=1,i=0;while(Math.round(t*e)/e!==t)e*=10,i++;return i}function h(t){var e=t.toString(),i=e.indexOf("e");if(i>0){var n=+e.slice(i+1);return n<0?-n:0}var a=e.indexOf(".");return a<0?0:e.length-1-a}function d(t,e){var i=Math.log,n=Math.LN10,a=Math.floor(i(t[1]-t[0])/n),r=Math.round(i(Math.abs(e[1]-e[0]))/n),o=Math.min(Math.max(-a+r,0),20);return isFinite(o)?o:20}function f(t,e,i){if(!t[e])return 0;var a=n.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===a)return 0;var r=Math.pow(10,i),o=n.map(t,(function(t){return(isNaN(t)?0:t)/a*r*100})),s=100*r,l=n.map(o,(function(t){return Math.floor(t)})),c=n.reduce(l,(function(t,e){return t+e}),0),u=n.map(o,(function(t,e){return t-l[e]}));while(ch&&(h=u[f],d=f);++l[d],u[d]=0,++c}return l[e]/r}var p=9007199254740991;function g(t){var e=2*Math.PI;return(t%e+e)%e}function m(t){return t>-a&&t=10&&e++,e}function b(t,e){var i,n=_(t),a=Math.pow(10,n),r=t/a;return i=e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10,t=i*a,n>=-20?+t.toFixed(n<0?-n:0):t}function w(t,e){var i=(t.length-1)*e+1,n=Math.floor(i),a=+t[n-1],r=i-n;return r?a+r*(t[n]-a):a}function A(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,i=1,n=0;n=0}e.linearMap=o,e.parsePercent=s,e.round=l,e.asc=c,e.getPrecision=u,e.getPrecisionSafe=h,e.getPixelPrecision=d,e.getPercentWithPrecision=f,e.MAX_SAFE_INTEGER=p,e.remRadian=g,e.isRadianAroundZero=m,e.parseDate=y,e.quantity=x,e.quantityExponent=_,e.nice=b,e.quantile=w,e.reformIntervals=A,e.isNumeric=S},"38a2":function(t,e,i){i("b0c0"),i("ac1f"),i("5319"),i("fb6a");var n=i("2b17"),a=n.retrieveRawValue,r=i("eda2"),o=r.getTooltipMarker,s=r.formatTpl,l=i("e0d3"),c=l.getTooltipRenderMode,u=/\{@(.+?)\}/g,h={getDataParams:function(t,e){var i=this.getData(e),n=this.getRawValue(t,e),a=i.getRawIndex(t),r=i.getName(t),s=i.getRawDataItem(t),l=i.getItemVisual(t,"color"),u=i.getItemVisual(t,"borderColor"),h=this.ecModel.getComponent("tooltip"),d=h&&h.get("renderMode"),f=c(d),p=this.mainType,g="series"===p,m=i.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:g?this.subType:null,seriesIndex:this.seriesIndex,seriesId:g?this.id:null,seriesName:g?this.name:null,name:r,dataIndex:a,data:s,dataType:e,value:n,color:l,borderColor:u,dimensionNames:m?m.dimensionNames:null,encode:m?m.encode:null,marker:o({color:l,renderMode:f}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,i,n,r){e=e||"normal";var o=this.getData(i),l=o.getItemModel(t),c=this.getDataParams(t,i);null!=n&&c.value instanceof Array&&(c.value=c.value[n]);var h=l.get("normal"===e?[r||"label","formatter"]:[e,r||"label","formatter"]);if("function"===typeof h)return c.status=e,c.dimensionIndex=n,h(c);if("string"===typeof h){var d=s(h,c);return d.replace(u,(function(e,i){var n=i.length;return"["===i.charAt(0)&&"]"===i.charAt(n-1)&&(i=+i.slice(1,n-1)),a(o,t,i)}))}},getRawValue:function(t,e){return a(this.getData(e),t)},formatTooltip:function(){}};t.exports=h},3901:function(t,e,i){var n=i("282b"),a=n([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),r={getLineStyle:function(t){var e=a(this,t);return e.lineDash=this.getLineDash(e.lineWidth),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),i=Math.max(t,2),n=4*t;return"solid"!==e&&null!=e&&("dashed"===e?[n,n]:[i,i])}};t.exports=r},"392f":function(t,e,i){var n=i("6d8b"),a=n.inherits,r=i("19eb"),o=i("9850");function s(t){r.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},s.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i0&&t.unfinished);t.unfinished||this._zr.flush()}}},nt.getDom=function(){return this._dom},nt.getZr=function(){return this._zr},nt.setOption=function(t,e,i){if(this._disposed)_t(this.id);else{var n;if(E(e)&&(i=e.lazyUpdate,n=e.silent,e=e.notMerge),this[q]=!0,!this._model||e){var a=new f(this._api),r=this._theme,o=this._model=new u;o.scheduler=this._scheduler,o.init(null,null,r,a)}this._model.setOption(t,kt),i?(this[K]={silent:n},this[q]=!1):(ot(this),rt.update.call(this),this._zr.flush(),this[K]=!1,this[q]=!1,ut.call(this,n),ht.call(this,n))}},nt.setTheme=function(){},nt.getModel=function(){return this._model},nt.getOption=function(){return this._model&&this._model.getOption()},nt.getWidth=function(){return this._zr.getWidth()},nt.getHeight=function(){return this._zr.getHeight()},nt.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},nt.getRenderedCanvas=function(t){if(s.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr;return e.painter.getRenderedCanvas(t)}},nt.getSvgDataURL=function(){if(s.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return r.each(e,(function(t){t.stopAnimation(!0)})),t.painter.toDataURL()}},nt.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,i=this._model,n=[],a=this;O(e,(function(t){i.eachComponent({mainType:t},(function(t){var e=a._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)}))}));var r="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return O(n,(function(t){t.group.ignore=!1})),r}_t(this.id)},nt.getConnectedDataURL=function(t){if(this._disposed)_t(this.id);else if(s.canvasSupported){var e="svg"===t.type,i=this.group,n=Math.min,o=Math.max,l=1/0;if(Rt[i]){var c=l,u=l,h=-l,d=-l,f=[],p=t&&t.pixelRatio||1;r.each(Et,(function(a,s){if(a.group===i){var l=e?a.getZr().painter.getSvgDom().innerHTML:a.getRenderedCanvas(r.clone(t)),p=a.getDom().getBoundingClientRect();c=n(p.left,c),u=n(p.top,u),h=o(p.right,h),d=o(p.bottom,d),f.push({dom:l,left:p.left,top:p.top})}})),c*=p,u*=p,h*=p,d*=p;var g=h-c,m=d-u,v=r.createCanvas(),y=a.init(v,{renderer:e?"svg":"canvas"});if(y.resize({width:g,height:m}),e){var x="";return O(f,(function(t){var e=t.left-c,i=t.top-u;x+=''+t.dom+""})),y.painter.getSvgRoot().innerHTML=x,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new _.Rect({shape:{x:0,y:0,width:g,height:m},style:{fill:t.connectedBackgroundColor}})),O(f,(function(t){var e=new _.Image({style:{x:t.left*p-c,y:t.top*p-u,image:t.dom}});y.add(e)})),y.refreshImmediately(),v.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},nt.convertToPixel=r.curry(at,"convertToPixel"),nt.convertFromPixel=r.curry(at,"convertFromPixel"),nt.containPixel=function(t,e){if(!this._disposed){var i,n=this._model;return t=b.parseFinder(n,t),r.each(t,(function(t,n){n.indexOf("Models")>=0&&r.each(t,(function(t){var a=t.coordinateSystem;if(a&&a.containPoint)i|=!!a.containPoint(e);else if("seriesModels"===n){var r=this._chartsMap[t.__viewId];r&&r.containPoint&&(i|=r.containPoint(e,t))}}),this)}),this),!!i}_t(this.id)},nt.getVisual=function(t,e){var i=this._model;t=b.parseFinder(i,t,{defaultMainType:"series"});var n=t.seriesModel,a=n.getData(),r=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?a.indexOfRawIndex(t.dataIndex):null;return null!=r?a.getItemVisual(r,e):a.getVisual(e)},nt.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},nt.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var rt={prepareAndUpdate:function(t){ot(this),rt.update.call(this,t)},update:function(t){var e=this._model,i=this._api,n=this._zr,a=this._coordSysMgr,r=this._scheduler;if(e){r.restoreData(e,t),r.performSeriesTasks(e),a.create(e,i),r.performDataProcessorTasks(e,t),lt(this,e),a.update(e,i),pt(e),r.performVisualTasks(e,t),gt(this,e,i,t);var l=e.get("backgroundColor")||"transparent";if(s.canvasSupported)n.setBackgroundColor(l);else{var c=o.parse(l);l=o.stringify(c,"rgb"),0===c[3]&&(l="transparent")}yt(e,i)}},updateTransform:function(t){var e=this._model,i=this,n=this._api;if(e){var a=[];e.eachComponent((function(r,o){var s=i.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,n,t);l&&l.update&&a.push(s)}else a.push(s)}));var o=r.createHashMap();e.eachSeries((function(a){var r=i._chartsMap[a.__viewId];if(r.updateTransform){var s=r.updateTransform(a,e,n,t);s&&s.update&&o.set(a.uid,1)}else o.set(a.uid,1)})),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),vt(i,e,n,t,o),yt(e,this._api)}},updateView:function(t){var e=this._model;e&&(x.markUpdateMethod(t,"updateView"),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),gt(this,this._model,this._api,t),yt(e,this._api))},updateVisual:function(t){rt.update.call(this,t)},updateLayout:function(t){rt.update.call(this,t)}};function ot(t){var e=t._model,i=t._scheduler;i.restorePipelines(e),i.prepareStageTasks(),ft(t,"component",e,i),ft(t,"chart",e,i),i.plan()}function st(t,e,i,n,a){var o=t._model;if(n){var s={};s[n+"Id"]=i[n+"Id"],s[n+"Index"]=i[n+"Index"],s[n+"Name"]=i[n+"Name"];var l={mainType:n,query:s};a&&(l.subType=a);var c=i.excludeSeriesId;null!=c&&(c=r.createHashMap(b.normalizeToArray(c))),o&&o.eachComponent(l,(function(e){c&&null!=c.get(e.id)||u(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else O(t._componentsViews.concat(t._chartsViews),u);function u(n){n&&n.__alive&&n[e]&&n[e](n.__model,o,t._api,i)}}function lt(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries((function(t){n.updateStreamModes(t,i[t.__viewId])}))}function ct(t,e){var i=t.type,n=t.escapeConnect,a=Mt[i],o=a.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&R(s[0]),this[q]=!0;var c=[t],u=!1;t.batch&&(u=!0,c=r.map(t.batch,(function(e){return e=r.defaults(r.extend({},e),t),e.batch=null,e})));var h,d=[],f="highlight"===i||"downplay"===i;O(c,(function(t){h=a.action(t,this._model,this._api),h=h||r.extend({},t),h.type=o.event||h.type,d.push(h),f?st(this,l,t,"series"):s&&st(this,l,t,s.main,s.sub)}),this),"none"===l||f||s||(this[K]?(ot(this),rt.update.call(this,t),this[K]=!1):rt[l].call(this,t)),h=u?{type:o.event||i,escapeConnect:n,batch:d}:d[0],this[q]=!1,!e&&this._messageCenter.trigger(h.type,h)}function ut(t){var e=this._pendingActions;while(e.length){var i=e.shift();ct.call(this,i,t)}}function ht(t){!t&&this.trigger("updated")}function dt(t,e){t.on("rendered",(function(){e.trigger("rendered"),!t.animation.isFinished()||e[K]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))}function ft(t,e,i,n){for(var a="component"===e,r=a?t._componentsViews:t._chartsViews,o=a?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,c=0;ce.get("hoverLayerThreshold")&&!s.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var i=t._chartsMap[e.__viewId];i.__alive&&i.group.traverse((function(t){t.useHoverLayer=!0}))}}))}function wt(t,e){var i=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||t.style.blend!==i&&t.setStyle("blend",i),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.setStyle("blend",i)}))}))}function At(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 St(t){var e=t._coordSysMgr;return r.extend(new h(t),{getCoordinateSystems:r.bind(e.getCoordinateSystems,e),getComponentByElement:function(e){while(e){var i=e.__ecComponentInfo;if(null!=i)return t._model.getComponent(i.mainType,i.index);e=e.parent}}})}function Ct(){this.eventInfo}nt._initEvents=function(){O(xt,(function(t){var e=function(e){var i,n=this.getModel(),a=e.target,o="globalout"===t;if(o)i={};else if(a&&null!=a.dataIndex){var s=a.dataModel||n.getSeriesByIndex(a.seriesIndex);i=s&&s.getDataParams(a.dataIndex,a.dataType,a)||{}}else a&&a.eventData&&(i=r.extend({},a.eventData));if(i){var l=i.componentType,c=i.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",c=i.seriesIndex);var u=l&&null!=c&&n.getComponent(l,c),h=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];i.event=e,i.type=t,this._ecEventProcessor.eventInfo={targetEl:a,packedEvent:i,model:u,view:h},this.trigger(t,i)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),O(It,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},nt.isDisposed=function(){return this._disposed},nt.clear=function(){this._disposed?_t(this.id):this.setOption({series:[]},!0)},nt.dispose=function(){if(this._disposed)_t(this.id);else{this._disposed=!0,b.setAttribute(this.getDom(),Ft,"");var t=this._api,e=this._model;O(this._componentsViews,(function(i){i.dispose(e,t)})),O(this._chartsViews,(function(i){i.dispose(e,t)})),this._zr.dispose(),delete Et[this.id]}},r.mixin(it,c),Ct.prototype={constructor:Ct,normalizeQuery:function(t){var e={},i={},n={};if(r.isString(t)){var a=R(t);e.mainType=a.main||null,e.subType=a.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};r.each(t,(function(t,a){for(var r=!1,l=0;l0&&u===a.length-c.length){var h=a.slice(0,u);"data"!==h&&(e.mainType=h,e[c.toLowerCase()]=t,r=!0)}}s.hasOwnProperty(a)&&(i[a]=t,r=!0),r||(n[a]=t)}))}return{cptQuery:e,dataQuery:i,otherQuery:n}},filter:function(t,e,i){var n=this.eventInfo;if(!n)return!0;var a=n.targetEl,r=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var l=e.cptQuery,c=e.dataQuery;return u(l,o,"mainType")&&u(l,o,"subType")&&u(l,o,"index","componentIndex")&&u(l,o,"name")&&u(l,o,"id")&&u(c,r,"name")&&u(c,r,"dataIndex")&&u(c,r,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,a,r));function u(t,e,i,n){return null==t[i]||e[n||i]===t[i]}},afterTrigger:function(){this.eventInfo=null}};var Mt={},It={},Tt=[],kt=[],Dt=[],Pt=[],Ot={},Lt={},Et={},Rt={},Bt=new Date-0,Nt=new Date-0,Ft="_echarts_instance_";function zt(t){var e=0,i=1,n=2,a="__connectUpdateStatus";function r(t,e){for(var i=0;i255?255:t}function o(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?r(parseFloat(t)/100*255):r(parseInt(t,10))}function c(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function u(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function h(t,e,i){return t+(e-t)*i}function d(t,e,i,n,a){return t[0]=e,t[1]=i,t[2]=n,t[3]=a,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new n(20),g=null;function m(t,e){g&&f(g,e),g=p.put(t,g||e.slice())}function v(t,e){if(t){e=e||[];var i=p.get(t);if(i)return f(e,i);t+="";var n=t.replace(/ /g,"").toLowerCase();if(n in a)return f(e,a[n]),m(t,e),e;if("#"!==n.charAt(0)){var r=n.indexOf("("),o=n.indexOf(")");if(-1!==r&&o+1===n.length){var s=n.substr(0,r),u=n.substr(r+1,o-(r+1)).split(","),h=1;switch(s){case"rgba":if(4!==u.length)return void d(e,0,0,0,1);h=c(u.pop());case"rgb":return 3!==u.length?void d(e,0,0,0,1):(d(e,l(u[0]),l(u[1]),l(u[2]),h),m(t,e),e);case"hsla":return 4!==u.length?void d(e,0,0,0,1):(u[3]=c(u[3]),y(u,e),m(t,e),e);case"hsl":return 3!==u.length?void d(e,0,0,0,1):(y(u,e),m(t,e),e);default:return}}d(e,0,0,0,1)}else{if(4===n.length){var g=parseInt(n.substr(1),16);return g>=0&&g<=4095?(d(e,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),m(t,e),e):void d(e,0,0,0,1)}if(7===n.length){g=parseInt(n.substr(1),16);return g>=0&&g<=16777215?(d(e,(16711680&g)>>16,(65280&g)>>8,255&g,1),m(t,e),e):void d(e,0,0,0,1)}}}}function y(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=c(t[1]),a=c(t[2]),o=a<=.5?a*(n+1):a+n-a*n,s=2*a-o;return e=e||[],d(e,r(255*u(s,o,i+1/3)),r(255*u(s,o,i)),r(255*u(s,o,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function x(t){if(t){var e,i,n=t[0]/255,a=t[1]/255,r=t[2]/255,o=Math.min(n,a,r),s=Math.max(n,a,r),l=s-o,c=(s+o)/2;if(0===l)e=0,i=0;else{i=c<.5?l/(s+o):l/(2-s-o);var u=((s-n)/6+l/2)/l,h=((s-a)/6+l/2)/l,d=((s-r)/6+l/2)/l;n===s?e=d-h:a===s?e=1/3+u-d:r===s&&(e=2/3+h-u),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,i,c];return null!=t[3]&&f.push(t[3]),f}}function _(t,e){var i=v(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0,i[n]>255?i[n]=255:t[n]<0&&(i[n]=0);return T(i,4===i.length?"rgba":"rgb")}}function b(t){var e=v(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function w(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length-1),a=Math.floor(n),o=Math.ceil(n),l=e[a],c=e[o],u=n-a;return i[0]=r(h(l[0],c[0],u)),i[1]=r(h(l[1],c[1],u)),i[2]=r(h(l[2],c[2],u)),i[3]=s(h(l[3],c[3],u)),i}}var A=w;function S(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),a=Math.floor(n),o=Math.ceil(n),l=v(e[a]),c=v(e[o]),u=n-a,d=T([r(h(l[0],c[0],u)),r(h(l[1],c[1],u)),r(h(l[2],c[2],u)),s(h(l[3],c[3],u))],"rgba");return i?{color:d,leftIndex:a,rightIndex:o,value:n}:d}}var C=S;function M(t,e,i,n){if(t=v(t),t)return t=x(t),null!=e&&(t[0]=o(e)),null!=i&&(t[1]=c(i)),null!=n&&(t[2]=c(n)),T(y(t),"rgba")}function I(t,e){if(t=v(t),t&&null!=e)return t[3]=s(e),T(t,"rgba")}function T(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}e.parse=v,e.lift=_,e.toHex=b,e.fastLerp=w,e.fastMapToColor=A,e.lerp=S,e.mapToColor=C,e.modifyHSL=M,e.modifyAlpha=I,e.stringify=T},"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){i("a15b"),i("b0c0"),i("fb6a");var n=i("3eba"),a=i("6d8b"),r=i("22d1"),o=i("07d7"),s=i("82f9"),l=i("eda2"),c=i("3842"),u=i("2306"),h=i("133d"),d=i("f934"),f=i("4319"),p=i("17d6"),g=i("697e"),m=i("ff2e"),v=i("e0d3"),y=v.getTooltipRenderMode,x=a.bind,_=a.each,b=c.parsePercent,w=new u.Rect({shape:{x:-1,y:-1,width:2,height:2}}),A=n.extendComponentView({type:"tooltip",init:function(t,e){if(!r.node){var i,n=t.getComponent("tooltip"),a=n.get("renderMode");this._renderMode=y(a),"html"===this._renderMode?(i=new o(e.getDom(),e,{appendToBody:n.get("appendToBody",!0)}),this._newLine="
"):(i=new s(e),this._newLine="\n"),this._tooltipContent=i}},render:function(t,e,i){if(!r.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var n=this._tooltipContent;n.update(t),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel,e=t.get("triggerOn");p.register("itemTooltip",this._api,x((function(t,i,n){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(i,n):"leave"===t&&this._hide(n))}),this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!i.isDisposed()&&n.manuallyShowTip(t,e,i,{x:n._lastX,y:n._lastY})}))}},manuallyShowTip:function(t,e,i,n){if(n.from!==this.uid&&!r.node){var a=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},a)}else if(o)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},a);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,n))return;var l=h(n,e),c=l.point[0],u=l.point[1];null!=c&&null!=u&&this._tryShow({offsetX:c,offsetY:u,position:n.position,target:l.el},a)}else null!=n.x&&null!=n.y&&(i.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().findHover(n.x,n.y).target},a))}},manuallyHideTip:function(t,e,i,n){var a=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(C(n,i))},_manuallyAxisShowTip:function(t,e,i,n){var a=n.seriesIndex,r=n.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=a&&null!=r&&null!=o){var s=e.getSeriesByIndex(a);if(s){var l=s.getData();t=S([l.getItemModel(r),s,(s.coordinateSystem||{}).model,t]);if("axis"===t.get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:r,position:n.position}),!0}}},_tryShow:function(t,e){var i=t.target,n=this._tooltipModel;if(n){this._lastX=t.offsetX,this._lastY=t.offsetY;var a=t.dataByCoordSys;a&&a.length?this._showAxisTooltip(a,t):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,i,e)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,i,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var i=t.get("showDelay");e=a.bind(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},_showAxisTooltip:function(t,e){var i=this._ecModel,n=this._tooltipModel,r=[e.offsetX,e.offsetY],o=[],s=[],c=S([e.tooltipOption,n]),u=this._renderMode,h=this._newLine,d={};_(t,(function(t){_(t.dataByAxis,(function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),n=t.value,r=[];if(e&&null!=n){var c=m.getValueLabel(n,e.axis,i,t.seriesDataIndices,t.valueLabelOpt);a.each(t.seriesDataIndices,(function(o){var l=i.getSeriesByIndex(o.seriesIndex),h=o.dataIndexInside,f=l&&l.getDataParams(h);if(f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=g.getAxisRawValue(e.axis,n),f.axisValueLabel=c,f){s.push(f);var p,m=l.formatTooltip(h,!0,null,u);if(a.isObject(m)){p=m.html;var v=m.markers;a.merge(d,v)}else p=m;r.push(p)}}));var f=c;"html"!==u?o.push(r.join(h)):o.push((f?l.encodeHTML(f)+h:"")+r.join(h))}}))}),this),o.reverse(),o=o.join(this._newLine+this._newLine);var f=e.position;this._showOrMove(c,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(c,f,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(c,o,s,Math.random(),r[0],r[1],f,void 0,d)}))},_showSeriesItemTooltip:function(t,e,i){var n=this._ecModel,r=e.seriesIndex,o=n.getSeriesByIndex(r),s=e.dataModel||o,l=e.dataIndex,c=e.dataType,u=s.getData(c),h=S([u.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,c),m=s.formatTooltip(l,!1,c,this._renderMode);a.isObject(m)?(f=m.html,p=m.markers):(f=m,p=null);var v="item_"+s.name+"_"+l;this._showOrMove(h,(function(){this._showTooltipContent(h,f,g,v,t.offsetX,t.offsetY,t.position,t.target,p)})),i({type:"showTip",dataIndexInside:l,dataIndex:u.getRawIndex(l),seriesIndex:r,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var n=e.tooltip;if("string"===typeof n){var a=n;n={content:a,formatter:a}}var r=new f(n,this._tooltipModel,this._ecModel),o=r.get("content"),s=Math.random();this._showOrMove(r,(function(){this._showTooltipContent(r,o,r.get("formatterParams")||{},s,t.offsetX,t.offsetY,t.position,e)})),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,n,a,r,o,s,c){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=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&&(u.setContent(n,c,t),this._updatePosition(t,o,a,r,u,i,s))}),this);this._ticket=n,d=h(i,n,f)}u.setContent(d,c,t),u.show(t),this._updatePosition(t,o,a,r,u,i,s)}},_updatePosition:function(t,e,i,n,r,o,s){var l=this._api.getWidth(),c=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),f=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"===typeof e&&(e=e([i,n],o,r.el,p,{viewSize:[l,c],contentSize:u.slice()})),a.isArray(e))i=b(e[0],l),n=b(e[1],c);else if(a.isObject(e)){e.width=u[0],e.height=u[1];var g=d.getLayoutRect(e,{width:l,height:c});i=g.x,n=g.y,h=null,f=null}else if("string"===typeof e&&s){var m=T(e,p,u);i=m[0],n=m[1]}else{m=M(i,n,r,l,c,h?null:20,f?null:20);i=m[0],n=m[1]}if(h&&(i-=k(h)?u[0]/2:"right"===h?u[0]:0),f&&(n-=k(f)?u[1]/2:"bottom"===f?u[1]:0),t.get("confine")){m=I(i,n,r,l,c);i=m[0],n=m[1]}r.moveTo(i,n)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e.length===t.length;return i&&_(e,(function(e,n){var a=e.dataByAxis||{},r=t[n]||{},o=r.dataByAxis||[];i&=a.length===o.length,i&&_(a,(function(t,e){var n=o[e]||{},a=t.seriesDataIndices||[],r=n.seriesDataIndices||[];i&=t.value===n.value&&t.axisType===n.axisType&&t.axisId===n.axisId&&a.length===r.length,i&&_(a,(function(t,e){var n=r[e];i&=t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}))}))})),this._lastDataByCoordSys=t,!!i},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){r.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",e))}});function S(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||a.bind(e.dispatchAction,e)}function M(t,e,i,n,a,r,o){var s=i.getOuterSize(),l=s.width,c=s.height;return null!=r&&(t+l+r>n?t-=l+r:t+=r),null!=o&&(e+c+o>a?e-=c+o:e+=o),[t,e]}function I(t,e,i,n,a){var r=i.getOuterSize(),o=r.width,s=r.height;return t=Math.min(t+o,n)-o,e=Math.min(e+s,a)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function T(t,e,i){var n=i[0],a=i[1],r=5,o=0,s=0,l=e.width,c=e.height;switch(t){case"inside":o=e.x+l/2-n/2,s=e.y+c/2-a/2;break;case"top":o=e.x+l/2-n/2,s=e.y-a-r;break;case"bottom":o=e.x+l/2-n/2,s=e.y+c+r;break;case"left":o=e.x-n-r,s=e.y+c/2-a/2;break;case"right":o=e.x+l+r,s=e.y+c/2-a/2}return[o,s]}function k(t){return"center"===t||"middle"===t}t.exports=A},4319:function(t,e,i){var n=i("7037").default;i("ac1f"),i("1276");var a=i("6d8b"),r=i("22d1"),o=i("e0d3"),s=o.makeInner,l=i("625e"),c=l.enableClassExtend,u=l.enableClassCheck,h=i("3901"),d=i("9bdb"),f=i("fe21"),p=i("551f"),g=a.mixin,m=s();function v(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}function y(t,e,i){for(var a=0;a-l&&tl||t<-l}function v(t,e,i,n,a){var r=1-a;return r*r*(r*t+3*a*e)+a*a*(a*n+3*r*i)}function y(t,e,i,n,a){var r=1-a;return 3*(((e-t)*r+2*(i-e)*a)*r+(n-i)*a*a)}function x(t,e,i,n,a,r){var l=n+3*(e-i)-t,c=3*(i-2*e+t),d=3*(e-t),f=t-a,p=c*c-3*l*d,m=c*d-9*l*f,v=d*d-3*c*f,y=0;if(g(p)&&g(m))if(g(c))r[0]=0;else{var x=-d/c;x>=0&&x<=1&&(r[y++]=x)}else{var _=m*m-4*p*v;if(g(_)){var b=m/p,w=(x=-c/l+b,-b/2);x>=0&&x<=1&&(r[y++]=x),w>=0&&w<=1&&(r[y++]=w)}else if(_>0){var A=s(_),S=p*c+1.5*l*(-m+A),C=p*c+1.5*l*(-m-A);S=S<0?-o(-S,h):o(S,h),C=C<0?-o(-C,h):o(C,h);x=(-c-(S+C))/(3*l);x>=0&&x<=1&&(r[y++]=x)}else{var M=(2*p*c-3*l*m)/(2*s(p*p*p)),I=Math.acos(M)/3,T=s(p),k=Math.cos(I),D=(x=(-c-2*T*k)/(3*l),w=(-c+T*(k+u*Math.sin(I)))/(3*l),(-c+T*(k-u*Math.sin(I)))/(3*l));x>=0&&x<=1&&(r[y++]=x),w>=0&&w<=1&&(r[y++]=w),D>=0&&D<=1&&(r[y++]=D)}}return y}function _(t,e,i,n,a){var r=6*i-12*e+6*t,o=9*e+3*n-3*t-9*i,l=3*e-3*t,c=0;if(g(o)){if(m(r)){var u=-l/r;u>=0&&u<=1&&(a[c++]=u)}}else{var h=r*r-4*o*l;if(g(h))a[0]=-r/(2*o);else if(h>0){var d=s(h),f=(u=(-r+d)/(2*o),(-r-d)/(2*o));u>=0&&u<=1&&(a[c++]=u),f>=0&&f<=1&&(a[c++]=f)}}return c}function b(t,e,i,n,a,r){var o=(e-t)*a+t,s=(i-e)*a+e,l=(n-i)*a+i,c=(s-o)*a+o,u=(l-s)*a+s,h=(u-c)*a+c;r[0]=t,r[1]=o,r[2]=c,r[3]=h,r[4]=h,r[5]=u,r[6]=l,r[7]=n}function w(t,e,i,n,a,o,l,u,h,g,m){var y,x,_,b,w,A=.005,S=1/0;d[0]=h,d[1]=g;for(var C=0;C<1;C+=.05)f[0]=v(t,i,a,l,C),f[1]=v(e,n,o,u,C),b=r(d,f),b=0&&b=0&&u<=1&&(a[c++]=u)}}else{var h=o*o-4*r*l;if(g(h)){u=-o/(2*r);u>=0&&u<=1&&(a[c++]=u)}else if(h>0){var d=s(h),f=(u=(-o+d)/(2*r),(-o-d)/(2*r));u>=0&&u<=1&&(a[c++]=u),f>=0&&f<=1&&(a[c++]=f)}}return c}function M(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}function I(t,e,i,n,a){var r=(e-t)*n+t,o=(i-e)*n+e,s=(o-r)*n+r;a[0]=t,a[1]=r,a[2]=s,a[3]=s,a[4]=o,a[5]=i}function T(t,e,i,n,a,o,l,u,h){var g,m=.005,v=1/0;d[0]=l,d[1]=u;for(var y=0;y<1;y+=.05){f[0]=A(t,i,a,y),f[1]=A(e,n,o,y);var x=r(d,f);x=0&&x":"\n",d="richText"===n,f={},p=0;function g(i){var o=a.reduce(i,(function(t,e,i){var n=v.getDimensionInfo(i);return t|(n&&!1!==n.tooltip&&null!=n.displayName)}),0),h=[];function g(t,i){var a=v.getDimensionInfo(i);if(a&&!1!==a.otherDims.tooltip){var g=a.type,m="sub"+r.seriesIndex+"at"+p,y=u({color:w,type:"subItem",renderMode:n,markerId:m}),x="string"===typeof y?y:y.content,_=(o?x+l(a.displayName||"-")+": ":"")+l("ordinal"===g?t+"":"time"===g?e?"":s("yyyy/MM/dd hh:mm:ss",t):c(t));_&&h.push(_),d&&(f[m]=w,++p)}}y.length?a.each(y,(function(e){g(S(v,t,e),e)})):a.each(i,g);var m=o?d?"\n":"
":"",x=m+h.join(m||", ");return{renderMode:n,content:x,style:f}}function m(t){return{renderMode:n,content:l(c(t)),style:f}}var v=this.getData(),y=v.mapDimension("defaultedTooltip",!0),x=y.length,_=this.getRawValue(t),b=a.isArray(_),w=v.getItemVisual(t,"color");a.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var A=x>1||b&&!x?g(_):m(x?S(v,t,y[0]):b?_[0]:_),C=A.content,M=r.seriesIndex+"at"+p,I=u({color:w,type:"item",renderMode:n,markerId:M});f[M]=w,++p;var T=v.getName(t),k=this.name;h.isNameSpecified(this)||(k=""),k=k?l(k)+(e?": ":o):"";var D="string"===typeof I?I:I.content,P=e?D+k+C:k+D+(T?l(T)+": "+C:C);return{html:P,markers:f}},isAnimationEnabled:function(){if(r.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,i){var n=this.ecModel,a=f.getColorFromPalette.call(this,t,e,i);return a||(a=n.getColorFromPalette(t,e,i)),a},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function I(t){var e=t.name;h.isNameSpecified(t)||(t.name=T(t)||e)}function T(t){var e=t.getRawData(),i=e.mapDimension("seriesName",!0),n=[];return a.each(i,(function(t){var i=e.getDimensionInfo(t);i.displayName&&n.push(i.displayName)})),n.join(" ")}function k(t){return t.model.getRawData().count()}function D(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),P}function P(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function O(t,e){a.each(t.CHANGABLE_METHODS,(function(i){t.wrapMethod(i,a.curry(L,e))}))}function L(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 a=n.agentStubMap;a&&(n=a.get(t.uid))}return n}}a.mixin(M,p),a.mixin(M,f);var R=M;t.exports=R},"4fac":function(t,e,i){var n=i("620b"),a=i("9c2c");function r(t,e,i){var r=e.points,o=e.smooth;if(r&&r.length>=2){if(o&&"spline"!==o){var s=a(r,o,i,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var l=r.length,c=0;c<(i?l:l-1);c++){var u=s[2*c],h=s[2*c+1],d=r[(c+1)%l];t.bezierCurveTo(u[0],u[1],h[0],h[1],d[0],d[1])}}else{"spline"===o&&(r=n(r,i)),t.moveTo(r[0][0],r[0][1]);c=1;for(var f=r.length;cc&&(o=i+n,i*=c/o,n*=c/o),a+r>c&&(o=a+r,a*=c/o,r*=c/o),n+a>u&&(o=n+a,n*=u/o,a*=u/o),i+r>u&&(o=i+r,i*=u/o,r*=u/o),t.moveTo(s+i,l),t.lineTo(s+c-n,l),0!==n&&t.arc(s+c-n,l+n,n,-Math.PI/2,0),t.lineTo(s+c,l+u-a),0!==a&&t.arc(s+c-a,l+u-a,a,0,Math.PI/2),t.lineTo(s+r,l+u),0!==r&&t.arc(s+r,l+u-r,r,Math.PI/2,Math.PI),t.lineTo(s,l+i),0!==i&&t.arc(s+i,l+i,i,Math.PI,1.5*Math.PI)}e.buildPath=i},"58df":function(t,e,i){var n=i("6d8b"),a=i("2306");function r(t,e,i,r){var o=i.axis;if(!o.scale.isBlank()){var s=i.getModel("splitArea"),l=s.getModel("areaStyle"),c=l.get("color"),u=r.coordinateSystem.getRect(),h=o.getTicksCoords({tickModel:s,clamp:!0});if(h.length){var d=c.length,f=t.__splitAreaColors,p=n.createHashMap(),g=0;if(f)for(var m=0;m=0;if(a){var r="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];r&&h(t,r,e,i)}else h(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var o=e.button;return null==e.which&&void 0!==o&&c.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e}function g(t,e,i,n){l?t.addEventListener(e,i,n):t.attachEvent("on"+e,i)}function m(t,e,i,n){l?t.removeEventListener(e,i,n):t.detachEvent("on"+e,i)}var v=l?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function y(t){return 2===t.which||3===t.which}function x(t){return t.which>1}e.clientToLocal=h,e.getNativeEvent=f,e.normalizeEvent=p,e.addEventListener=g,e.removeEventListener=m,e.stop=v,e.isMiddleOrRightButtonOnMouseUpDown=y,e.notLeftMouse=x},6179:function(t,e,i){var n=i("7037").default;i("ace4"),i("d3b7"),i("4a9b"),i("907a"),i("9a8c"),i("a975"),i("735e"),i("c1ac"),i("d139"),i("3a7b"),i("d5d6"),i("82f8"),i("e91f"),i("60bd"),i("5f96"),i("3280"),i("3fcc"),i("ca91"),i("25a1"),i("cd26"),i("3c5d"),i("2954"),i("649e"),i("219c"),i("170b"),i("b39a"),i("72f7"),i("fa9e"),i("77d9"),i("143c"),i("fb2c"),i("84c3"),i("fb6a"),i("99af"),i("b0c0"),i("4e82"),i("d81d");var a=i("4e08"),r=(a.__DEV__,i("6d8b")),o=i("4319"),s=i("80f0"),l=i("ec6f"),c=i("2b17"),u=c.defaultDimValueGetters,h=c.DefaultDataProvider,d=i("2f45"),f=d.summarizeDimensions,p=i("562e"),g=r.isObject,m="undefined",v=-1,y="e\0\0",x={float:("undefined"===typeof Float64Array?"undefined":n(Float64Array))===m?Array:Float64Array,int:("undefined"===typeof Int32Array?"undefined":n(Int32Array))===m?Array:Int32Array,ordinal:Array,number:Array,time:Array},_=("undefined"===typeof Uint32Array?"undefined":n(Uint32Array))===m?Array:Uint32Array,b=("undefined"===typeof Int32Array?"undefined":n(Int32Array))===m?Array:Int32Array,w=("undefined"===typeof Uint16Array?"undefined":n(Uint16Array))===m?Array:Uint16Array;function A(t){return t._rawCount>65535?_:w}function S(t){var e=t.constructor;return e===Array?t.slice():new e(t)}var C=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],M=["_extent","_approximateExtent","_rawExtent"];function I(t,e){r.each(C.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=0?this._indices[t]:-1}function R(t,e){var i=t._idList[e];return null==i&&(i=O(t,t._idDimIdx,e)),null==i&&(i=y+e),i}function B(t){return r.isArray(t)||(t=[t]),t}function N(t,e){var i=t.dimensions,n=new T(r.map(i,t.getDimensionInfo,t),t.hostModel);I(n,t);for(var a=n._storage={},o=t._storage,s=0;s=0?(a[l]=F(o[l]),n._rawExtent[l]=z(),n._extent[l]=null):a[l]=o[l])}return n}function F(t){for(var e=new Array(t.length),i=0;ix[1]&&(x[1]=y)}e&&(this._nameList[f]=e[p])}this._rawCount=this._count=l,this._extent={},P(this)},k._initDataFromProvider=function(t,e){if(!(t>=e)){for(var i,n=this._chunkSize,a=this._rawData,r=this._storage,o=this.dimensions,s=o.length,l=this._dimensionInfos,c=this._nameList,u=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;pS[1]&&(S[1]=A)}if(!a.pure){var C=c[y];if(v&&null==C)if(null!=v.name)c[y]=C=v.name;else if(null!=i){var M=o[i],I=r[M][x];if(I){C=I[_];var T=l[M].ordinalMeta;T&&T.categories.length&&(C=T.categories[C])}}var k=null==v?null:v.id;null==k&&null!=C&&(d[C]=d[C]||0,k=C,d[C]>0&&(k+="__ec__"+d[C]),d[C]++),null!=k&&(u[y]=k)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=e,this._extent={},P(this)}},k.count=function(){return this._count},k.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,i=this._count;if(e===Array){a=new e(i);for(var n=0;n=0&&e=0&&es&&(s=c)}return n=[o,s],this._extent[t]=n,n},k.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},k.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},k.getCalculationInfo=function(t){return this._calculationInfo[t]},k.setCalculationInfo=function(t,e){g(t)?r.extend(this._calculationInfo,t):this._calculationInfo[t]=e},k.getSum=function(t){var e=this._storage[t],i=0;if(e)for(var n=0,a=this.count();n=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,i=e[t];if(null!=i&&it))return r;a=r-1}}return-1},k.indicesOfNearest=function(t,e,i){var n=this._storage,a=n[t],r=[];if(!a)return r;null==i&&(i=1/0);for(var o=1/0,s=-1,l=0,c=0,u=this.count();c=0&&s<0)&&(o=d,s=h,l=0),h===s&&(r[l++]=c))}return r.length=l,r},k.getRawIndex=L,k.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],i=0;i=c&&y<=u||isNaN(y))&&(o[s++]=d),d++}h=!0}else if(2===n){f=this._storage[l];var x=this._storage[e[1]],_=t[e[1]][0],b=t[e[1]][1];for(p=0;p=c&&y<=u||isNaN(y))&&(S>=_&&S<=b||isNaN(S))&&(o[s++]=d),d++}}h=!0}}if(!h)if(1===n)for(v=0;v=c&&y<=u||isNaN(y))&&(o[s++]=C)}else for(v=0;vt[I][1])&&(M=!1)}M&&(o[s++]=this.getRawIndex(v))}return sA[1]&&(A[1]=w)}}}return o},k.downSample=function(t,e,i,n){for(var a=N(this,[t]),r=a._storage,o=[],s=Math.floor(1/e),l=r[t],c=this.count(),u=this._chunkSize,h=a._rawExtent[t],d=new(A(this))(c),f=0,p=0;pc-p&&(s=c-p,o.length=s);for(var g=0;gh[1]&&(h[1]=x),d[f++]=_}return a._count=f,a._indices=d,a.getRawIndex=E,a},k.getItemModel=function(t){var e=this.hostModel;return new o(this.getRawDataItem(t),e,e&&e.ecModel)},k.diff=function(t){var e=this;return new s(t?t.getIndices():[],this.getIndices(),(function(e){return R(t,e)}),(function(t){return R(e,t)}))},k.getVisual=function(t){var e=this._visual;return e&&e[t]},k.setVisual=function(t,e){if(g(t))for(var i in t)t.hasOwnProperty(i)&&this.setVisual(i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},k.setLayout=function(t,e){if(g(t))for(var i in t)t.hasOwnProperty(i)&&this.setLayout(i,t[i]);else this._layout[t]=e},k.getLayout=function(t){return this._layout[t]},k.getItemLayout=function(t){return this._itemLayouts[t]},k.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?r.extend(this._itemLayouts[t]||{},e):e},k.clearItemLayouts=function(){this._itemLayouts.length=0},k.getItemVisual=function(t,e,i){var n=this._itemVisuals[t],a=n&&n[e];return null!=a||i?a:this.getVisual(e)},k.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{},a=this.hasItemVisual;if(this._itemVisuals[t]=n,g(e))for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r],a[r]=!0);else n[e]=i,a[e]=!0},k.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var V=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};k.setItemGraphicEl=function(t,e){var i=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=i&&i.seriesIndex,"group"===e.type&&e.traverse(V,e)),this._graphicEls[t]=e},k.getItemGraphicEl=function(t){return this._graphicEls[t]},k.eachItemGraphicEl=function(t,e){r.each(this._graphicEls,(function(i,n){i&&t&&t.call(e,i,n)}))},k.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,I(t,this),this._indices){var i=this._indices.constructor;t._indices=new i(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?E:L,t},k.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)))})},k.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],k.CHANGABLE_METHODS=["filterSelf","selectRange"];var W=T;t.exports=W},"620b":function(t,e,i){var n=i("401b"),a=n.distance;function r(t,e,i,n,a,r,o){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*o+(-3*(e-i)-2*s-l)*r+s*a+e}function o(t,e){for(var i=t.length,n=[],o=0,s=1;si-2?i-1:f+1],h=t[f>i-3?i-1:f+2]);var m=p*p,v=p*m;n.push([r(c[0],g[0],u[0],h[0],p,m,v),r(c[1],g[1],u[1],h[1],p,m,v)])}return n}t.exports=o},"625e":function(t,e,i){i("ac1f"),i("1276"),i("00b4"),i("a15b"),i("b680"),i("fb6a"),i("4c53"),i("d9e2");var n=i("4e08"),a=(n.__DEV__,i("6d8b")),r=".",o="___EC__COMPONENT__CONTAINER___";function s(t){var e={main:"",sub:""};return t&&(t=t.split(r),e.main=t[0]||"",e.sub=t[1]||""),e}function l(t){a.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function c(t,e){t.$constructor=t,t.extend=function(t){var e=this,i=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return a.extend(i.prototype,t),i.extend=this.extend,i.superCall=d,i.superApply=f,a.inherits(i,this),i.superClass=e,i}}var u=0;function h(t){var e=["__\0is_clz",u++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function d(t,e){var i=a.slice(arguments,2);return this.superClass.prototype[e].apply(t,i)}function f(t,e,i){return this.superClass.prototype[e].apply(t,i)}function p(t,e){e=e||{};var i={};function n(t){var e=i[t.main];return e&&e[o]||(e=i[t.main]={},e[o]=!0),e}if(t.registerClass=function(t,e){if(e)if(l(e),e=s(e),e.sub){if(e.sub!==o){var a=n(e);a[e.sub]=t}}else i[e.main]=t;return t},t.getClass=function(t,e,n){var a=i[t];if(a&&a[o]&&(a=e?a[e]:null),n&&!a)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return a},t.getClassesByMainType=function(t){t=s(t);var e=[],n=i[t.main];return n&&n[o]?a.each(n,(function(t,i){i!==o&&e.push(t)})):e.push(n),e},t.hasClass=function(t){return t=s(t),!!i[t.main]},t.getAllClassMainTypes=function(){var t=[];return a.each(i,(function(e,i){t.push(i)})),t},t.hasSubTypes=function(t){t=s(t);var e=i[t.main];return e&&e[o]},t.parseClassType=s,e.registerWhenExtend){var r=t.extend;r&&(t.extend=function(e){var i=r.call(this,e);return t.registerClass(i,e.type)})}return t}function g(t,e){}e.parseClassType=s,e.enableClassExtend=c,e.enableClassCheck=h,e.enableClassManagement=p,e.setReadOnly=g},"627c":function(t,e,i){i("cb29");var n=i("6d8b"),a=i("3eba"),r=i("2306"),o=i("f934"),s=o.getLayoutRect,l=i("eda2"),c=l.windowOpen;a.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),a.extendComponentView({type:"title",render:function(t,e,i){if(this.group.removeAll(),t.get("show")){var a=this.group,o=t.getModel("textStyle"),l=t.getModel("subtextStyle"),u=t.get("textAlign"),h=n.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),d=new r.Text({style:r.setTextStyle({},o,{text:t.get("text"),textFill:o.getTextColor()},{disableBox:!0}),z2:10}),f=d.getBoundingRect(),p=t.get("subtext"),g=new r.Text({style:r.setTextStyle({},l,{text:p,textFill:l.getTextColor(),y:f.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),m=t.get("link"),v=t.get("sublink"),y=t.get("triggerEvent",!0);d.silent=!m&&!y,g.silent=!v&&!y,m&&d.on("click",(function(){c(m,"_"+t.get("target"))})),v&&g.on("click",(function(){c(v,"_"+t.get("subtarget"))})),d.eventData=g.eventData=y?{componentType:"title",componentIndex:t.componentIndex}:null,a.add(d),p&&a.add(g);var x=a.getBoundingRect(),_=t.getBoxLayoutParams();_.width=x.width,_.height=x.height;var b=s(_,{width:i.getWidth(),height:i.getHeight()},t.get("padding"));u||(u=t.get("left")||t.get("right"),"middle"===u&&(u="center"),"right"===u?b.x+=b.width:"center"===u&&(b.x+=b.width/2)),h||(h=t.get("top")||t.get("bottom"),"center"===h&&(h="middle"),"bottom"===h?b.y+=b.height:"middle"===h&&(b.y+=b.height/2),h=h||"top"),a.attr("position",[b.x,b.y]);var w={textAlign:u,textVerticalAlign:h};d.setStyle(w),g.setStyle(w),x=a.getBoundingRect();var A=b.margin,S=t.getItemStyle(["color","opacity"]);S.fill=t.get("backgroundColor");var C=new r.Rect({shape:{x:x.x-A[3],y:x.y-A[0],width:x.width+A[1]+A[3],height:x.height+A[0]+A[2],r:t.get("borderRadius")},style:S,subPixelOptimize:!0,silent:!0});a.add(C)}}})},"65ed":function(t,e,i){i("a15b");var n=i("22d1"),a=i("84ec"),r=a.buildTransformer,o="___zrEVENTSAVED",s=[];function l(t,e,i,n,a){return c(s,e,n,a,!0)&&c(t,i,s[0],s[1])}function c(t,e,i,a,r){if(e.getBoundingClientRect&&n.domSupported&&!d(e)){var s=e[o]||(e[o]={}),l=u(e,s),c=h(l,s,r);if(c)return c(t,i,a),!0}return!1}function u(t,e){var i=e.markers;if(i)return i;i=e.markers=[];for(var n=["left","right"],a=["top","bottom"],r=0;r<4;r++){var o=document.createElement("div"),s=o.style,l=r%2,c=(r>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",a[c]+":0",n[1-l]+":auto",a[1-c]+":auto",""].join("!important;"),t.appendChild(o),i.push(o)}return i}function h(t,e,i){for(var n=i?"invTrans":"trans",a=e[n],o=e.srcCoords,s=!0,l=[],c=[],u=0;u<4;u++){var h=t[u].getBoundingClientRect(),d=2*u,f=h.left,p=h.top;l.push(f,p),s=s&&o&&f===o[d]&&p===o[d+1],c.push(t[u].offsetLeft,t[u].offsetTop)}return s&&a?a:(e.srcCoords=l,e[n]=i?r(c,l):r(l,c))}function d(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=l,e.transformCoordWithViewport=c,e.isCanvasEl=d},6679:function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),r=i("cd33"),o=a.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,i,n){this.axisPointerClass&&r.fixValue(t),o.superApply(this,"render",arguments),s(this,t,e,i,n,!0)},updateAxisPointer:function(t,e,i,n,a){s(this,t,e,i,n,!1)},remove:function(t,e){var i=this._axisPointer;i&&i.remove(e),o.superApply(this,"remove",arguments)},dispose:function(t,e){l(this,e),o.superApply(this,"dispose",arguments)}});function s(t,e,i,n,a,s){var c=o.getAxisPointerClass(t.axisPointerClass);if(c){var u=r.getAxisPointerModel(e);u?(t._axisPointer||(t._axisPointer=new c)).render(e,u,n,s):l(t,n)}}function l(t,e,i){var n=t._axisPointer;n&&n.dispose(e,i),t._axisPointer=null}var c=[];o.registerAxisPointerClass=function(t,e){c[t]=e},o.getAxisPointerClass=function(t){return t&&c[t]};var u=o;t.exports=u},"67cc":function(t,e,i){i("b0c0"),i("cb29"),i("a9e3");var n=i("4e08"),a=(n.__DEV__,i("3eba")),r=i("6d8b"),o=i("2306"),s=i("e7aa"),l=s.setLabel,c=i("4319"),u=i("b5c7"),h=i("cbe5"),d=i("e1fc"),f=i("88b3"),p=f.throttle,g=i("b0af"),m=g.createClipPath,v=i("c2be"),y=["itemStyle","barBorderWidth"],x=[0,0];function _(t,e){var i=t.getArea&&t.getArea();if("cartesian2d"===t.type){var n=t.getBaseAxis();if("category"!==n.type||!n.onBand){var a=e.getLayout("bandWidth");n.isHorizontal()?(i.x-=a,i.width+=2*a):(i.y-=a,i.height+=2*a)}}return i}r.extend(c.prototype,u);var b=a.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,a=this.group,r=t.getData(),s=this._data,l=t.coordinateSystem,c=l.getBaseAxis();"cartesian2d"===l.type?n=c.isHorizontal():"polar"===l.type&&(n="angle"===c.dim);var u=t.isAnimationEnabled()?t:null,h=t.get("clip",!0),f=_(l,r);a.removeClipPath();var p=t.get("roundCap",!0),g=t.get("showBackground",!0),m=t.getModel("backgroundStyle"),v=m.get("barBorderRadius")||0,y=[],x=this._backgroundEls||[],b=function(t){var e=T[l.type](r,t),i=z(l,n,e);return i.useStyle(m.getBarItemStyle()),"cartesian2d"===l.type&&i.setShape("r",v),y[t]=i,i};r.diff(s).add((function(e){var i=r.getItemModel(e),o=T[l.type](r,e,i);if(g&&b(e),r.hasValue(e)){if(h){var s=S[l.type](f,o);if(s)return void a.remove(c)}var c=C[l.type](e,o,n,u,!1,p);r.setItemGraphicEl(e,c),a.add(c),D(c,r,e,i,o,t,n,"polar"===l.type)}})).update((function(e,i){var c=r.getItemModel(e),d=T[l.type](r,e,c);if(g){var _;0===x.length?_=b(i):(_=x[i],_.useStyle(m.getBarItemStyle()),"cartesian2d"===l.type&&_.setShape("r",v),y[e]=_);var w=T[l.type](r,e),A=F(n,w,l);o.updateProps(_,{shape:A},u,e)}var M=s.getItemGraphicEl(i);if(r.hasValue(e)){if(h){var I=S[l.type](f,d);if(I)return void a.remove(M)}M?o.updateProps(M,{shape:d},u,e):M=C[l.type](e,d,n,u,!0,p),r.setItemGraphicEl(e,M),a.add(M),D(M,r,e,c,d,t,n,"polar"===l.type)}else a.remove(M)})).remove((function(t){var e=s.getItemGraphicEl(t);"cartesian2d"===l.type?e&&M(t,u,e):e&&I(t,u,e)})).execute();var w=this._backgroundGroup||(this._backgroundGroup=new d);w.removeAll();for(var A=0;A0?1:-1,o=n.height>0?1:-1;return{x:n.x+r*a/2,y:n.y+o*a/2,width:n.width-r*a,height:n.height-o*a}},polar:function(t,e,i){var n=t.getItemLayout(e);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle}}};function k(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function D(t,e,i,n,a,s,c,u){var h=e.getItemVisual(i,"color"),d=e.getItemVisual(i,"opacity"),f=e.getVisual("borderColor"),p=n.getModel("itemStyle"),g=n.getModel("emphasis.itemStyle").getBarItemStyle();u||t.setShape("r",p.get("barBorderRadius")||0),t.useStyle(r.defaults({stroke:k(a)?"none":f,fill:k(a)?"none":h,opacity:d},p.getBarItemStyle()));var m=n.getShallow("cursor");m&&t.attr("cursor",m);var v=c?a.height>0?"bottom":"top":a.width>0?"left":"right";u||l(t.style,g,n,h,s,i,v),k(a)&&(g.fill=g.stroke="none"),o.setHoverStyle(t,g)}function P(t,e){var i=t.get(y)||0,n=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),a=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,n,a)}var O=h.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var i=e.points,n=this.__startPoint,a=this.__baseDimIdx,r=0;r=0?i:null}),30,!1);function R(t,e,i){var n=t.__baseDimIdx,a=1-n,r=t.shape.points,o=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),l=t.__startPoint[a];x[0]=e,x[1]=i;for(var c=x[n],u=x[1-n],h=c-s,d=c+s,f=0,p=r.length/2;f=h&&m<=d&&(l<=v?u>=l&&u<=v:u>=v&&u<=l))return o[f]}return-1}function B(t,e,i){var n=i.getVisual("borderColor")||i.getVisual("color"),a=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(a),t.style.fill=null,t.style.stroke=n,t.style.lineWidth=i.getLayout("barWidth")}function N(t,e,i){var n=e.get("borderColor")||e.get("color"),a=e.getItemStyle(["color","borderColor"]);t.useStyle(a),t.style.fill=null,t.style.stroke=n,t.style.lineWidth=i.getLayout("barWidth")}function F(t,e,i){var n,a="polar"===i.type;return n=a?i.getArea():i.grid.getRect(),a?{cx:n.cx,cy:n.cy,r0:t?n.r0:e.r0,r:t?n.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:t?e.x:n.x,y:t?n.y:e.y,width:t?e.width:n.width,height:t?n.height:e.height}}function z(t,e,i){var n="polar"===t.type?o.Sector:o.Rect;return new n({shape:F(e,i,t),silent:!0,z2:0})}t.exports=b},"68ab":function(t,e,i){var n=i("4a3f"),a=n.quadraticProjectPoint;function r(t,e,i,n,r,o,s,l,c){if(0===s)return!1;var u=s;if(c>e+u&&c>n+u&&c>o+u||ct+u&&l>i+u&&l>r+u||l0&&c>0&&!f&&(s=0),s<0&&c<0&&!p&&(c=0));var m=e.ecModel;if(m&&"time"===o){var v,y=u("bar",m);if(a.each(y,(function(t){v|=t.getBaseAxis()===e.axis})),v){var x=h(y),_=g(s,c,e,x);s=_.min,c=_.max}}return{extent:[s,c],fixMin:f,fixMax:p}}function g(t,e,i,n){var r=i.axis.getExtent(),o=r[1]-r[0],s=d(n,i.axis);if(void 0===s)return{min:t,max:e};var l=1/0;a.each(s,(function(t){l=Math.min(t.offset,l)}));var c=-1/0;a.each(s,(function(t){c=Math.max(t.offset+t.width,c)})),l=Math.abs(l),c=Math.abs(c);var u=l+c,h=e-t,f=1-(l+c)/o,p=h/f-h;return e+=p*(c/u),t-=p*(l/u),{min:t,max:e}}function m(t,e){var i=p(t,e),n=i.extent,a=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var r=t.type;t.setExtent(n[0],n[1]),t.niceExtent({splitNumber:a,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:"interval"===r||"time"===r?e.get("minInterval"):null,maxInterval:"interval"===r||"time"===r?e.get("maxInterval"):null});var o=e.get("interval");null!=o&&t.setInterval&&t.setInterval(o)}function v(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new r(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new o;default:return(s.getClass(e)||o).create(t)}}function y(t){var e=t.scale.getExtent(),i=e[0],n=e[1];return!(i>0&&n>0||i<0&&n<0)}function x(t){var e=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"===typeof e?(e=function(e){return function(i){return i=t.scale.getLabel(i),e.replace("{value}",null!=i?i:"")}}(e),e):"function"===typeof e?function(n,a){return null!=i&&(a=n-i),e(_(t,n),a)}:function(e){return t.scale.getLabel(e)}}function _(t,e){return"category"===t.type?t.scale.getLabel(e):e}function b(t){var e=t.model,i=t.scale;if(e.get("axisLabel.show")&&!i.isBlank()){var n,a,r="category"===t.type,o=i.getExtent();r?a=i.count():(n=i.getTicks(),a=n.length);var s,l=t.getLabelModel(),c=x(t),u=1;a>40&&(u=Math.ceil(a/40));for(var h=0;hi.blockIndex,r=a?i.step:null,o=n&&n.modDataCount,s=null!=o?Math.ceil(o/r):null;return{step:r,modBy:s,modDataCount:o}}},y.getPipeline=function(t){return this._pipelineMap.get(t)},y.updateStreamModes=function(t,e){var i=this._pipelineMap.get(t.uid),n=t.getData(),a=n.count(),r=i.progressiveEnabled&&e.incrementalPrepareRender&&a>=i.threshold,o=t.get("large")&&a>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?a:null;t.pipelineContext=i.context={progressiveRender:r,modDataCount:s,large:o}},y.restorePipelines=function(t){var e=this,i=e._pipelineMap=s();t.eachSeries((function(t){var n=t.getProgressive(),a=t.uid;i.set(a,{id:a,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:n&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),O(e,t,t.dataTask)}))},y.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),i=this.api;a(this._allHandlers,(function(n){var a=t.get(n.uid)||t.set(n.uid,[]);n.reset&&b(this,n,a,e,i),n.overallReset&&w(this,n,a,e,i)}),this)},y.prepareView=function(t,e,i,n){var a=t.renderTask,r=a.context;r.model=e,r.ecModel=i,r.api=n,a.__block=!t.incrementalPrepareRender,O(this,e,a)},y.performDataProcessorTasks=function(t,e){x(this,this._dataProcessorHandlers,t,e,{block:!0})},y.performVisualTasks=function(t,e,i){x(this,this._visualHandlers,t,e,i)},y.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},y.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))};var _=y.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function b(t,e,i,n,a){var r=i.seriesTaskMap||(i.seriesTaskMap=s()),o=e.seriesType,l=e.getTargetSeries;function c(i){var o=i.uid,s=r.get(o)||r.set(o,u({plan:I,reset:T,count:P}));s.context={model:i,ecModel:n,api:a,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},O(t,i,s)}e.createOnAllSeries?n.eachRawSeries(c):o?n.eachRawSeriesByType(o,c):l&&l(n,a).each(c);var h=t._pipelineMap;r.each((function(t,e){h.get(e)||(t.dispose(),r.removeKey(e))}))}function w(t,e,i,n,r){var o=i.overallTask=i.overallTask||u({reset:A});o.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:t};var l=o.agentStubMap=o.agentStubMap||s(),c=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,u({reset:S,onDirty:M})),o.dirty()),n.context={model:e,overallProgress:d,modifyOutputEnd:f},n.agent=o,n.__block=d,O(t,e,n)}c?n.eachRawSeriesByType(c,p):h?h(n,r).each(p):(d=!1,a(n.getSeries(),p));var g=t._pipelineMap;l.each((function(t,e){g.get(e)||(t.dispose(),o.dirty(),l.removeKey(e))}))}function A(t){t.overallReset(t.ecModel,t.api,t.payload)}function S(t,e){return t.overallProgress&&C}function C(){this.agent.dirty(),this.getDownstream().dirty()}function M(){this.agent&&this.agent.dirty()}function I(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function T(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=m(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?r(e,(function(t,e){return D(e)})):k}var k=D(0);function D(t){return function(e,i){var n=i.data,a=i.resetDefines[t];if(a&&a.dataEach)for(var r=e.start;r=0;o--)r=n.merge(r,e[o],!0);t.defaultOption=r}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});function g(t){var e=[];return n.each(p.getClassesByMainType(t),(function(t){e=e.concat(t.prototype.dependencies||[])})),e=n.map(e,(function(t){return l(t).main})),"dataset"!==t&&n.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e}s(p,{registerWhenExtend:!0}),r.enableSubTypeDefaulter(p),r.enableTopologicalTravel(p,g),n.mixin(p,d);var m=p;t.exports=m},"6d8b":function(t,e,i){var n=i("7037").default;i("d3b7"),i("159b"),i("4de4"),i("fb6a"),i("d81d"),i("13d5"),i("99af"),i("d9e2"),i("498a"),i("ac1f"),i("5319"),i("7db0");var a={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},r={"[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},o=Object.prototype.toString,s=Array.prototype,l=s.forEach,c=s.filter,u=s.slice,h=s.map,d=s.reduce,f={};function p(t,e){"createCanvas"===t&&(_=null),f[t]=e}function g(t){if(null==t||"object"!==n(t))return t;var e=t,i=o.call(t);if("[object Array]"===i){if(!q(t)){e=[];for(var s=0,l=t.length;s=0;n--)x.isIdInner(e[n])&&e.splice(n,1);t[i]=e}})),delete t[M],t},getTheme:function(){return this._theme},getComponent:function(t,e){var i=this._componentsMap.get(t);if(i)return i[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var i,n=t.index,a=t.id,r=t.name,o=this._componentsMap.get(e);if(!o||!o.length)return[];if(null!=n)c(n)||(n=[n]),i=s(l(n,(function(t){return o[t]})),(function(t){return!!t}));else if(null!=a){var h=c(a);i=s(o,(function(t){return h&&u(a,t.id)>=0||!h&&t.id===a}))}else if(null!=r){var d=c(r);i=s(o,(function(t){return d&&u(r,t.name)>=0||!d&&t.name===r}))}else i=o.slice();return E(i,t)},findComponents:function(t){var e=t.query,i=t.mainType,n=r(e),a=n?this.queryComponents(n):this._componentsMap.get(i);return o(E(a,t));function r(t){var e=i+"Index",n=i+"Id",a=i+"Name";return!t||null==t[e]&&null==t[n]&&null==t[a]?null:{mainType:i,index:t[e],id:t[n],name:t[a]}}function o(e){return t.filter?s(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){o(t,(function(t,a){e.call(i,n,t,a)}))}));else if(d(t))o(n.get(t),e,i);else if(h(t)){var a=this.findComponents(t);o(a,e,i)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return s(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 s(e,(function(e){return e.subType===t}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){R(this),o(this._seriesIndices,(function(i){var n=this._componentsMap.get("series")[i];t.call(e,n,i)}),this)},eachRawSeries:function(t,e){o(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,i){R(this),o(this._seriesIndices,(function(n){var a=this._componentsMap.get("series")[n];a.subType===t&&e.call(i,a,n)}),this)},eachRawSeriesByType:function(t,e,i){return o(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return R(this),null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){R(this);var i=s(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)})),b.topologicalTravel(i,b.getAllClassMainTypes(),(function(i,n){o(e.get(i),(function(e){("series"!==i||!T(e,t))&&e.restoreData()}))}))}});function T(t,e){if(e){var i=e.seiresIndex,n=e.seriesId,a=e.seriesName;return null!=i&&t.componentIndex!==i||null!=n&&t.id!==n||null!=a&&t.name!==a}}function k(t,e){var i=t.color&&!t.colorLayer;o(e,(function(e,a){"colorLayer"===a&&i||b.hasClass(a)||("object"===n(e)?t[a]=t[a]?m(t[a],e,!1):g(e):null==t[a]&&(t[a]=e))}))}function D(t){t=t,this.option={},this.option[M]=1,this._componentsMap=f({series:[]}),this._seriesIndices,this._seriesIndicesMap,k(t,this._theme.option),m(t,w,!1),this.mergeOption(t)}function P(t,e){c(e)||(e=e?[e]:[]);var i={};return o(e,(function(e){i[e]=(t.get(e)||[]).slice()})),i}function O(t,e,i){var n=e.type?e.type:i?i.subType:b.determineSubType(t,e);return n}function L(t,e){t._seriesIndicesMap=f(t._seriesIndices=l(e,(function(t){return t.componentIndex}))||[])}function E(t,e){return e.hasOwnProperty("subType")?s(t,(function(t){return t.subType===e.subType})):t}function R(t){}y(I,A);var B=I;t.exports=B},"7f7d":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAERklEQVRoge2YaahWRRjHf6lokWummaBXwupDbmGFkppauWVRueGSmH5IykKzotASvWmlqHitvB/MvJm2qFwVN3DpalQqolmpSeo1kygziVwqXBn4vzQM95yZc8596UPv/8ssz5mZ5zkzz0oBBRRQQAFZcE3c2pMdJiTd+i6gM3Av0BZoofk/gEPAF8BeYHWSTZt+PTeSVisphxEYAjwJ9I6g15MwD2j8A1AGvCPhUiOrAHcAc4Bezvz3wH7gNHAJuB5oBdwD1AFuBV4HxgPPA0v+CwFGAe9b41+AecAa4EDEmhuBLsBEtWb8gX7AE2mYqJGOd150mC/WE3mzCuZtPTsFrAK6An31lAxGAFvSMJLmBgYAM9W/JEY2aVwE9AAeA1oDdYGawHngd2AzUA7sATYCtwHrtUdPYDkwKAkzSa1QU+BX9f8C2gGH9b7fAgYHnrsPmAUs1Xgd0E/9l0T799AYK5T0CS23+t3F/DiZyFDmDdoDHwIrxMNDwDeimdttFrpREgHMNXdT/zlgF1AKzAdqJ9jHxgDpQQ0pdQ7zQzdIIkDu3f+mA14DnkrDtYNbgCPAGeBpkQYCN4csDhXAWJg26g9Xf2pWzi0YHXoPWAD8rflxIQtDBch5UPP3jwNrs3AbgdHShTKRR8mDxyJEgLuBSeqv0w0UZWD0XIznfRnYoX5z/azSuM18fsBYlk+scc+Qv+KB8QkjdfZQ59Mu2v+KTHxD6dnYqC19NzDFGbcEGmUUYIPaFyLo7R3/dDZuM58ANyXjzYvLclQGPysO8uFKFgH+qUbmdwIdLU9uUJx1U58OxEofgx+BE3J2hxTgfV7F58aTf6b4KS8ChMIwt1tB2ldyTKHYlk8BYoM9oVheOS12Z1jr1YE6HvqWjMwb/JRlsU+Acx76yiyHCxc89Fi/4xNgpjO+4Ah1nY+7ALiWbopuNmdAYp+YTwBTNRgjJS1XBmV75jYxa0Ph6tk0xV7fadw3iwAGi5QHPA4cA96waI8E6ElVsPMH+4nYfqFIpvhUVgFcHFZJxKCxEnIbjWPWPgx8DFxrzXVSe9QyCCZWqq80NRZpqxKvWjHNJIfWRA7MxPZ9xPQrimTXyE/8aX2fY7q/NVeidpGPkSyOzCTh21UimaVSCypqmSx8WRVR5LPA29a4TJnXfcBBzRl6A4XW5/MpANKNxYosK4F3Nf+RlH6EEvTTurFK0WuKwWGqo36peVPcekY1VO/zqQ4BUOZUoadUYRW2TGq4MGJNPZngG5QLo9spkeJ2Dz08rQ64WKx658nA701Bd7KYb6HiVokMhKm3Xgw9uLoEyME2eaPFWLllaWzcqdrQcdl6o7C3OwruRXVFoy4eVZUhhz5S+pZqH7Qyu/2qQFSkOShfArglEWP3t1pjEz7MBj6VyU2NfAlgkpT7nTmjpN/qyVRGrEuMfAkwXUrdX7Z8hq88UkABBfwfAVwFxlDUz43nPRMAAAAASUVORK5CYII="},"7f96":function(t,e,i){var n=i("6d8b"),a=n.isFunction;function r(t,e,i){return{seriesType:t,performRawSeries:!0,reset:function(t,n,r){var o=t.getData(),s=t.get("symbol"),l=t.get("symbolSize"),c=t.get("symbolKeepAspect"),u=t.get("symbolRotate"),h=a(s),d=a(l),f=a(u),p=h||d||f,g=!h&&s?s:e,m=d?null:l;if(o.setVisual({legendSymbol:i||g,symbol:g,symbolSize:m,symbolKeepAspect:c,symbolRotate:u}),!n.isSeriesFiltered(t))return{dataEach:o.hasItemOption||p?v:null};function v(e,i){if(p){var n=t.getRawValue(i),a=t.getDataParams(i);h&&e.setItemVisual(i,"symbol",s(n,a)),d&&e.setItemVisual(i,"symbolSize",l(n,a)),f&&e.setItemVisual(i,"symbolRotate",u(n,a))}if(e.hasItemOption){var r=e.getItemModel(i),o=r.getShallow("symbol",!0),c=r.getShallow("symbolSize",!0),g=r.getShallow("symbolRotate",!0),m=r.getShallow("symbolKeepAspect",!0);null!=o&&e.setItemVisual(i,"symbol",o),null!=c&&e.setItemVisual(i,"symbolSize",c),null!=g&&e.setItemVisual(i,"symbolRotate",g),null!=m&&e.setItemVisual(i,"symbolKeepAspect",m)}}}}}t.exports=r},"80f0":function(t,e){function i(t){return t}function n(t,e,n,a,r){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=a||i,this.context=r}function a(t,e,i,n,a){for(var r=0;r=0){var u=o.indexOf(l),h=o.substr(c+s.length,u-c-s.length);h.indexOf("sub")>-1?n["marker"+h]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[h],textOffset:[3,0]}:n["marker"+h]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[h]},o=o.substr(u+1),c=o.indexOf("{marker")}var d=i.getModel("textStyle"),f=d.get("fontSize"),p=i.get("textLineHeight");null==p&&(p=Math.round(3*f/2)),this.el=new a({style:r.setTextStyle({},d,{rich:n,text:t,textBackgroundColor:i.get("backgroundColor"),textBorderRadius:i.get("borderRadius"),textFill:i.get("textStyle.color"),textPadding:i.get("padding"),textLineHeight:p}),z:i.get("z")}),this._zr.add(this.el);var g=this;this.el.on("mouseover",(function(){g._enterable&&(clearTimeout(g._hideTimeout),g._show=!0),g._inContent=!0})),this.el.on("mouseout",(function(){g._enterable&&g._show&&g.hideLater(g._hideDelay),g._inContent=!1}))},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){if(this.el){var i=this._styleCoord;o(i,this._zr,t,e),this.el.attr("position",[i[0],i[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var l=s;t.exports=l},"843e":function(t,e,i){var n=i("6d8b"),a=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function r(t){n.each(a,(function(e){this[e]=n.bind(t[e],t)}),this)}var o=r;t.exports=o},"84ce":function(t,e,i){i("d81d"),i("fb6a");var n=i("6d8b"),a=n.each,r=n.map,o=i("3842"),s=o.linearMap,l=o.getPixelPrecision,c=o.round,u=i("e073"),h=u.createAxisTicks,d=u.createAxisLabels,f=u.calculateCategoryInterval,p=[0,1],g=function(t,e,i){this.dim=t,this.scale=e,this._extent=i||[0,0],this.inverse=!1,this.onBand=!1};function m(t,e){var i=t[1]-t[0],n=e,a=i/n/2;t[0]+=a,t[1]-=a}function v(t,e,i,n){var r=e.length;if(t.onBand&&!i&&r){var o,s,l=t.getExtent();if(1===r)e[0].coord=l[0],o=e[1]={coord:l[0]};else{var u=e[r-1].tickValue-e[0].tickValue,h=(e[r-1].coord-e[0].coord)/u;a(e,(function(t){t.coord-=h/2}));var d=t.scale.getExtent();s=1+d[1]-e[r-1].tickValue,o={coord:e[r-1].coord+h*s},e.push(o)}var f=l[0]>l[1];p(e[0].coord,l[0])&&(n?e[0].coord=l[0]:e.shift()),n&&p(l[0],e[0].coord)&&e.unshift({coord:l[0]}),p(l[1],o.coord)&&(n?o.coord=l[1]:e.pop()),n&&p(o.coord,l[1])&&e.push({coord:l[1]})}function p(t,e){return t=c(t),e=c(e),f?t>e:t=i&&t<=n},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,e){var i=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&"ordinal"===n.type&&(i=i.slice(),m(i,n.count())),s(t,p,i,e)},coordToData:function(t,e){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&(i=i.slice(),m(i,n.count()));var a=s(t,i,p,e);return this.scale.scale(a)},pointToData:function(t,e){},getTicksCoords:function(t){t=t||{};var e=t.tickModel||this.getTickModel(),i=h(this,e),n=i.ticks,a=r(n,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this),o=e.get("alignWithLabel");return v(this,a,o,t.clamp),a},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var i=this.scale.getMinorTicks(e),n=r(i,(function(t){return r(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return n},getViewLabels:function(){return d(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),i=e[1]-e[0]+(this.onBand?1:0);0===i&&(i=1);var n=Math.abs(t[1]-t[0]);return Math.abs(n)/i},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}};var y=g;t.exports=y},"84d5":function(t,e,i){i("b0c0"),i("99af"),i("d81d");var n=i("3eba"),a=i("6d8b"),r=i("4319"),o=i("e0d3"),s=o.isNameSpecified,l=i("29a8"),c=l.legend.selector,u={all:{type:"all",title:a.clone(c.all)},inverse:{type:"inverse",title:a.clone(c.inverse)}},h=n.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,i){this.mergeDefaultAndTheme(t,i),t.selected=t.selected||{},this._updateSelector(t)},mergeOption:function(t){h.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var e=t.selector;!0===e&&(e=t.selector=["all","inverse"]),a.isArray(e)&&a.each(e,(function(t,i){a.isString(t)&&(t={type:t}),e[i]=a.merge(t,u[t.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,i=0;i=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),d=h;t.exports=d},"84ec":function(t,e){var i=Math.log(2);function n(t,e,a,r,o,s){var l=r+"-"+o,c=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var u=Math.round(Math.log((1<e&&r>n||ra?o:0}t.exports=i},"87b1":function(t,e,i){var n=i("cbe5"),a=i("4fac"),r=n.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){a.buildPath(t,e,!0)}});t.exports=r},"87c3":function(t,e,i){i("d81d"),i("fb6a"),i("ace4"),i("d3b7"),i("cfc3"),i("907a"),i("9a8c"),i("a975"),i("735e"),i("c1ac"),i("d139"),i("3a7b"),i("d5d6"),i("82f8"),i("e91f"),i("60bd"),i("5f96"),i("3280"),i("3fcc"),i("ca91"),i("25a1"),i("cd26"),i("3c5d"),i("2954"),i("649e"),i("219c"),i("170b"),i("b39a"),i("72f7"),i("fa9e"),i("77d9");var n=i("6d8b"),a=n.map,r=i("cccd"),o=i("ee1a"),s=o.isDimensionStacked;function l(t){return{seriesType:t,plan:r(),reset:function(t){var e=t.getData(),i=t.coordinateSystem,n=t.pipelineContext,r=n.large;if(i){var o=a(i.dimensions,(function(t){return e.mapDimension(t)})).slice(0,2),l=o.length,c=e.getCalculationInfo("stackResultDimension");return s(e,o[0])&&(o[0]=c),s(e,o[1])&&(o[1]=c),l&&{progress:u}}function u(t,e){for(var n=t.end-t.start,a=r&&new Float32Array(n*l),s=t.start,c=0,u=[],h=[];s=0?h():u=setTimeout(h,-a),l=n};return d.clear=function(){u&&(clearTimeout(u),u=null)},d.debounceNextCall=function(t){s=t},d}function o(t,e,o,s){var l=t[e];if(l){var c=l[i]||l,u=l[a],h=l[n];if(h!==o||u!==s){if(null==o||!s)return t[e]=c;l=t[e]=r(c,o,"debounce"===s),l[i]=c,l[a]=s,l[n]=o}return l}}function s(t,e){var n=t[e];n&&n[i]&&(t[e]=n[i])}e.throttle=r,e.createOrUpdate=o,e.clear=s},8918:function(t,e,i){i("a15b"),i("b680"),i("fb6a"),i("d9e2");var n=i("6d8b"),a=i("625e"),r=a.parseClassType,o=0;function s(t){return[t||"",o++,Math.random().toFixed(5)].join("_")}function l(t){var e={};return t.registerSubTypeDefaulter=function(t,i){t=r(t),e[t.main]=i},t.determineSubType=function(i,n){var a=n.type;if(!a){var o=r(i).main;t.hasSubTypes(i)&&e[o]&&(a=e[o](n))}return a},t}function c(t,e){function i(t){var i={},o=[];return n.each(t,(function(s){var l=a(i,s),c=l.originalDeps=e(s),u=r(c,t);l.entryCount=u.length,0===l.entryCount&&o.push(s),n.each(u,(function(t){n.indexOf(l.predecessor,t)<0&&l.predecessor.push(t);var e=a(i,t);n.indexOf(e.successor,t)<0&&e.successor.push(s)}))})),{graph:i,noEntryList:o}}function a(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function r(t,e){var i=[];return n.each(t,(function(t){n.indexOf(e,t)>=0&&i.push(t)})),i}t.topologicalTravel=function(t,e,a,r){if(t.length){var o=i(e),s=o.graph,l=o.noEntryList,c={};n.each(t,(function(t){c[t]=!0}));while(l.length){var u=l.pop(),h=s[u],d=!!c[u];d&&(a.call(r,u,h.originalDeps.slice()),delete c[u]),n.each(h.successor,d?p:f)}n.each(c,(function(){throw new Error("Circle dependency may exists")}))}function f(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function p(t){c[t]=!0,f(t)}}}e.getUID=s,e.enableSubTypeDefaulter=l,e.enableTopologicalTravel=c},8971:function(t,e,i){i("ac1f"),i("466d");var n="";"undefined"!==typeof navigator&&(n=navigator.platform||"");var a={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:n.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=a},"897a":function(t,e,i){var n=i("22d1"),a=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function r(t){return n.browser.ie&&n.browser.version>=11?function(){var e,i=this.__clipPaths,n=this.style;if(i)for(var r=0;re[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=o.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,i=this._extent,n=this._niceExtent,a=this._intervalPrecision,r=[];if(!e)return r;var o=1e4;i[0]o)return[]}var c=r.length?r[r.length-1]:n[1];return i[1]>c&&(t?r.push(s(c+e,a)):r.push(i[1])),r},getMinorTicks:function(t){for(var e=this.getTicks(!0),i=[],a=this.getExtent(),r=1;ra[0]&&d0)n*=10;var o=[r.round(d(e[0]/n)*n),r.round(h(e[1]/n)*n)];this._interval=n,this._niceExtent=o}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function m(t,e){return u(t,c(e))}n.each(["contain","normalize"],(function(t){g.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}})),g.create=function(){return new g};var v=g;t.exports=v},"8d32":function(t,e,i){var n=i("cbe5"),a=n.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.cx,n=e.cy,a=Math.max(e.r,0),r=e.startAngle,o=e.endAngle,s=e.clockwise,l=Math.cos(r),c=Math.sin(r);t.moveTo(l*a+i,c*a+n),t.arc(i,n,a,r,o,!s)}});t.exports=a},"8e43":function(t,e,i){i("d81d");var n=i("6d8b"),a=n.createHashMap,r=n.isObject,o=n.map;function s(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}s.createByAxisModel=function(t){var e=t.option,i=e.data,n=i&&o(i,u);return new s({categories:n,needCollect:!n,deduplication:!1!==e.dedplication})};var l=s.prototype;function c(t){return t._map||(t._map=a(t.categories))}function u(t){return r(t)&&null!=t.value?t.value:t+""}l.getOrdinal=function(t){return c(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=c(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"),a=n.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=a},"903c":function(t,e,i){function n(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var i=0;ir&&(u=s.interval=r);var h=s.intervalPrecision=o(u),d=s.niceTickExtent=[a(Math.ceil(t[0]/u)*u,h),a(Math.floor(t[1]/u)*u,h)];return l(d,t),s}function o(t){return n.getPrecisionSafe(t)+2}function s(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function l(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),s(t,0,e),s(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=r,e.getIntervalPrecision=o,e.fixExtent=l},"94b1":function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("9d57"),o=r.layout,s=r.largeLayout;i("5aa9"),i("17b8"),i("67cc"),i("01ed"),n.registerLayout(n.PRIORITY.VISUAL.LAYOUT,a.curry(o,"bar")),n.registerLayout(n.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),n.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},9680:function(t,e){function i(t,e,i,n,a,r,o){if(0===a)return!1;var s=a,l=0,c=t;if(o>e+s&&o>n+s||ot+s&&r>i+s||r=i.x&&t<=i.x+i.width&&e>=i.y&&e<=i.y+i.height},clone:function(){return new l(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},l.create=function(t){return new l(t.x,t.y,t.width,t.height)};var c=l;t.exports=c},"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"),a=n.createHashMap;function r(t){return{getTargetSeries:function(e){var i={},n=a();return e.eachSeriesByType(t,(function(t){t.__paletteScope=i,n.set(t.uid,t)})),n},reset:function(t,e){var i=t.getRawData(),n={},a=t.getData();a.each((function(t){var e=a.getRawIndex(t);n[e]=t})),i.each((function(e){var r,o=n[e],s=null!=o&&a.getItemVisual(o,"color",!0),l=null!=o&&a.getItemVisual(o,"borderColor",!0);if(s&&l||(r=i.getItemModel(e)),!s){var c=r.get("itemStyle.color")||t.getColorFromPalette(i.getName(e)||e+"",t.__paletteScope,i.count());null!=o&&a.setItemVisual(o,"color",c)}if(!l){var u=r.get("itemStyle.borderColor");null!=o&&a.setItemVisual(o,"borderColor",u)}}))}}}t.exports=r},"998c":function(t,e,i){var n=i("6d8b"),a=i("2306"),r=i("e86a"),o=Math.PI;function s(t,e){e=e||{},n.defaults(e,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var i=new a.Group,s=new a.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});i.add(s);var l=e.fontSize+" sans-serif",c=new a.Rect({style:{fill:"none",text:e.text,font:l,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});if(i.add(c),e.showSpinner){var u=new a.Arc({shape:{startAngle:-o/2,endAngle:-o/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001});u.animateShape(!0).when(1e3,{endAngle:3*o/2}).start("circularInOut"),u.animateShape(!0).when(1e3,{startAngle:3*o/2}).delay(300).start("circularInOut"),i.add(u)}return i.resize=function(){var i=r.getWidth(e.text,l),n=e.showSpinner?e.spinnerRadius:0,a=(t.getWidth()-2*n-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner?0:i/2),o=t.getHeight()/2;e.showSpinner&&u.setShape({cx:a,cy:o}),c.setShape({x:a-n,y:o-n,width:2*n,height:2*n}),s.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},i.resize(),i}t.exports=s},"9bdb":function(t,e,i){var n=i("282b"),a=n([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),r={getAreaStyle:function(t,e){return a(this,t,e)}};t.exports=r},"9c2c":function(t,e,i){i("4c53");var n=i("401b"),a=n.min,r=n.max,o=n.scale,s=n.distance,l=n.add,c=n.clone,u=n.sub;function h(t,e,i,n){var h,d,f,p,g=[],m=[],v=[],y=[];if(n){f=[1/0,1/0],p=[-1/0,-1/0];for(var x=0,_=t.length;x<_;x++)a(f,f,t[x]),r(p,p,t[x]);a(f,f,n[0]),r(p,p,n[1])}for(x=0,_=t.length;x<_;x++){var b=t[x];if(i)h=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){g.push(c(t[x]));continue}h=t[x-1],d=t[x+1]}u(m,d,h),o(m,m,e);var w=s(b,h),A=s(b,d),S=w+A;0!==S&&(w/=S,A/=S),o(v,m,-w),o(y,m,A);var C=l([],b,v),M=l([],b,y);n&&(r(C,C,f),a(C,C,p),r(M,M,f),a(M,M,p)),g.push(C),g.push(M)}return i&&g.push(g.shift()),g}t.exports=h},"9cf9":function(t,e){var i=Math.round;function n(t,e,n){if(e){var a=e.x1,o=e.x2,s=e.y1,l=e.y2;t.x1=a,t.x2=o,t.y1=s,t.y2=l;var c=n&&n.lineWidth;c&&(i(2*a)===i(2*o)&&(t.x1=t.x2=r(a,c,!0)),i(2*s)===i(2*l)&&(t.y1=t.y2=r(s,c,!0)))}}function a(t,e,i){if(e){var n=e.x,a=e.y,o=e.width,s=e.height;t.x=n,t.y=a,t.width=o,t.height=s;var l=i&&i.lineWidth;l&&(t.x=r(n,l,!0),t.y=r(a,l,!0),t.width=Math.max(r(n+o,l,!1)-t.x,0===o?0:1),t.height=Math.max(r(a+s,l,!1)-t.y,0===s?0:1))}}function r(t,e,n){if(!e)return t;var a=i(2*t);return(a+i(e))%2===0?a/2:(a+(n?1:-1))/2}e.subPixelOptimizeLine=n,e.subPixelOptimizeRect=a,e.subPixelOptimize=r},"9d57":function(t,e,i){i("ace4"),i("d3b7"),i("cfc3"),i("907a"),i("9a8c"),i("a975"),i("735e"),i("c1ac"),i("d139"),i("3a7b"),i("d5d6"),i("82f8"),i("e91f"),i("60bd"),i("5f96"),i("3280"),i("3fcc"),i("ca91"),i("25a1"),i("cd26"),i("3c5d"),i("2954"),i("649e"),i("219c"),i("170b"),i("b39a"),i("72f7"),i("fa9e"),i("77d9"),i("4e82");var n=i("6d8b"),a=i("3842"),r=a.parsePercent,o=i("ee1a"),s=o.isDimensionStacked,l=i("cccd"),c="__ec_stack_",u=.5,h="undefined"!==typeof Float32Array?Float32Array:Array;function d(t){return t.get("stack")||c+t.seriesIndex}function f(t){return t.dim+t.index}function p(t){var e=[],i=t.axis,a="axis0";if("category"===i.type){for(var r=i.getBandWidth(),o=0;o0&&(o=null===o?l:Math.min(o,l))}i[a]=o}}return i}function v(t){var e=m(t),i=[];return n.each(t,(function(t){var n,a=t.coordinateSystem,o=a.getBaseAxis(),s=o.getExtent();if("category"===o.type)n=o.getBandWidth();else if("value"===o.type||"time"===o.type){var l=o.dim+"_"+o.index,c=e[l],u=Math.abs(s[1]-s[0]),h=o.scale.getExtent(),p=Math.abs(h[1]-h[0]);n=c?u/p*c:u}else{var g=t.getData();n=Math.abs(s[1]-s[0])/g.count()}var m=r(t.get("barWidth"),n),v=r(t.get("barMaxWidth"),n),y=r(t.get("barMinWidth")||1,n),x=t.get("barGap"),_=t.get("barCategoryGap");i.push({bandWidth:n,barWidth:m,barMaxWidth:v,barMinWidth:y,barGap:x,barCategoryGap:_,axisKey:f(o),stackId:d(t)})})),y(i)}function y(t){var e={};n.each(t,(function(t,i){var n=t.axisKey,a=t.bandWidth,r=e[n]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=r.stacks;e[n]=r;var s=t.stackId;o[s]||r.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(r.remainedWidth,l),r.remainedWidth-=l);var c=t.barMaxWidth;c&&(o[s].maxWidth=c);var u=t.barMinWidth;u&&(o[s].minWidth=u);var h=t.barGap;null!=h&&(r.gap=h);var d=t.barCategoryGap;null!=d&&(r.categoryGap=d)}));var i={};return n.each(e,(function(t,e){i[e]={};var a=t.stacks,o=t.bandWidth,s=r(t.categoryGap,o),l=r(t.gap,1),c=t.remainedWidth,u=t.autoWidthCount,h=(c-s)/(u+(u-1)*l);h=Math.max(h,0),n.each(a,(function(t){var e=t.maxWidth,i=t.minWidth;if(t.width){n=t.width;e&&(n=Math.min(n,e)),i&&(n=Math.max(n,i)),t.width=n,c-=n+l*n,u--}else{var n=h;e&&en&&(n=i),n!==h&&(t.width=n,c-=n+l*n,u--)}})),h=(c-s)/(u+(u-1)*l),h=Math.max(h,0);var d,f=0;n.each(a,(function(t,e){t.width||(t.width=h),d=t,f+=t.width*(1+l)})),d&&(f-=d.width*l);var p=-f/2;n.each(a,(function(t,n){i[e][n]=i[e][n]||{bandWidth:o,offset:p,width:t.width},p+=t.width*(1+l)}))})),i}function x(t,e,i){if(t&&e){var n=t[f(e)];return null!=n&&null!=i&&(n=n[d(i)]),n}}function _(t,e){var i=g(t,e),a=v(i),r={},o={};n.each(i,(function(t){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),l=d(t),c=a[f(n)][l],u=c.offset,h=c.width,p=i.getOtherAxis(n),g=t.get("barMinHeight")||0;r[l]=r[l]||[],o[l]=o[l]||[],e.setLayout({bandWidth:c.bandWidth,offset:u,size:h});for(var m=e.mapDimension(p.dim),v=e.mapDimension(n.dim),y=s(e,m),x=p.isHorizontal(),_=S(n,p,y),b=0,w=e.count();b=0?"p":"n",P=_;if(y&&(r[l][k]||(r[l][k]={p:_,n:_}),P=r[l][k][D]),x){var O=i.dataToPoint([T,k]);A=P,C=O[1]+u,M=O[0]-_,I=h,Math.abs(M)u||(d=u),{progress:f}}function f(t,e){var u,f=t.count,p=new h(2*f),g=new h(2*f),m=new h(f),v=[],y=[],x=0,_=0;while(null!=(u=t.next()))y[c]=e.get(o,u),y[1-c]=e.get(s,u),v=i.dataToPoint(y,null,v),g[x]=l?n.x+n.width:v[0],p[x++]=v[0],g[x]=l?v[1]:n.y+n.height,p[x++]=v[1],m[_++]=u;e.setLayout({largePoints:p,largeDataIndices:m,largeBackgroundPoints:g,barWidth:d,valueAxisStart:S(a,r,!1),backgroundStart:l?n.x:n.y,valueAxisHorizontal:l})}}};function w(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function A(t){return t.pipelineContext&&t.pipelineContext.large}function S(t,e,i){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}e.getLayoutOnAxis=p,e.prepareLayoutBarSeries=g,e.makeColumnLayout=v,e.retrieveColumnLayout=x,e.layout=_,e.largeLayout=b},"9e2e":function(t,e,i){var n=i("a73c"),a=i("9850"),r=i("82eb"),o=r.WILL_BE_RESTORED,s=new a,l=function(){};l.prototype={constructor:l,drawRectText:function(t,e){var i=this.style;e=i.textRect||e,this.__dirty&&n.normalizeTextStyle(i,!0);var a=i.text;if(null!=a&&(a+=""),n.needDrawText(a,i)){t.save();var r=this.transform;i.transformText?this.setTransform(t):r&&(s.copy(e),s.applyTransform(r),e=s),n.renderText(this,t,a,i,e,o),t.restore()}}};var c=l;t.exports=c},"9e47":function(t,e,i){var n=i("6d8b"),a=i("71ad"),r=i("6cb7"),o=i("f934"),s=o.getLayoutParams,l=o.mergeLayoutParam,c=i("8e43"),u=["value","category","time","log"];function h(t,e,i,o){n.each(u,(function(r){e.extend({type:t+"Axis."+r,mergeDefaultAndTheme:function(e,a){var o=this.layoutMode,c=o?s(e):{},u=a.getTheme();n.merge(e,u.get(r+"Axis")),n.merge(e,this.getDefaultOption()),e.type=i(t,e),o&&l(e,c,o)},optionUpdated:function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=c.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:n.mergeAll([{},a[r+"Axis"],o],!0)})})),r.registerSubTypeDefaulter(t+"Axis",n.curry(i,t))}t.exports=h},"9f51":function(t,e,i){var n=i("857d"),a=n.normalizeRadian,r=2*Math.PI;function o(t,e,i,n,o,s,l,c,u){if(0===l)return!1;var h=l;c-=t,u-=e;var d=Math.sqrt(c*c+u*u);if(d-h>i||d+ho&&(o+=r);var p=Math.atan2(u,c);return p<0&&(p+=r),p>=n&&p<=o||p+r>=n&&p+r<=o}e.containStroke=o},"9f82":function(t,e,i){i("d81d");var n=i("ee1a"),a=n.isDimensionStacked,r=i("6d8b"),o=r.map;function s(t,e,i){var n,r=t.getBaseAxis(),s=t.getOtherAxis(r),c=l(s,i),u=r.dim,h=s.dim,d=e.mapDimension(h),f=e.mapDimension(u),p="x"===h||"radius"===h?1:0,g=o(t.dimensions,(function(t){return e.mapDimension(t)})),m=e.getCalculationInfo("stackResultDimension");return(n|=a(e,g[0]))&&(g[0]=m),(n|=a(e,g[1]))&&(g[1]=m),{dataDimsForPoint:g,valueStart:c,valueAxisDim:h,baseAxisDim:u,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 c(t,e,i,n){var a=NaN;t.stacked&&(a=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(a)&&(a=t.valueStart);var r=t.baseDataOffset,o=[];return o[r]=i.get(t.baseDim,n),o[1-r]=a,e.dataToPoint(o)}e.prepareDataCoordInfo=s,e.getStackedOnPoint=c},a15a:function(t,e,i){i("cb29"),i("fb6a");var n=i("6d8b"),a=i("2306"),r=i("9850"),o=i("e86a"),s=o.calculateTextPosition,l=a.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,a=e.width/2,r=e.height/2;t.moveTo(i,n-r),t.lineTo(i+a,n+r),t.lineTo(i-a,n+r),t.closePath()}}),c=a.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,a=e.width/2,r=e.height/2;t.moveTo(i,n-r),t.lineTo(i+a,n),t.lineTo(i,n+r),t.lineTo(i-a,n),t.closePath()}}),u=a.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,n=e.y,a=e.width/5*3,r=Math.max(a,e.height),o=a/2,s=o*o/(r-o),l=n-r+o+s,c=Math.asin(s/o),u=Math.cos(c)*o,h=Math.sin(c),d=Math.cos(c),f=.6*o,p=.7*o;t.moveTo(i-u,l+s),t.arc(i,l,o,Math.PI-c,2*Math.PI+c),t.bezierCurveTo(i+u-h*f,l+s+d*f,i,n-p,i,n),t.bezierCurveTo(i,n-p,i-u+h*f,l+s+d*f,i-u,l+s),t.closePath()}}),h=a.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.height,n=e.width,a=e.x,r=e.y,o=n/3*2;t.moveTo(a,r),t.lineTo(a+o,r+i),t.lineTo(a,r+i/4*3),t.lineTo(a-o,r+i),t.lineTo(a,r),t.closePath()}}),d={line:a.Line,rect:a.Rect,roundRect:a.Rect,square:a.Rect,circle:a.Circle,diamond:c,pin:u,arrow:h,triangle:l},f={line:function(t,e,i,n,a){a.x1=t,a.y1=e+n/2,a.x2=t+i,a.y2=e+n/2},rect:function(t,e,i,n,a){a.x=t,a.y=e,a.width=i,a.height=n},roundRect:function(t,e,i,n,a){a.x=t,a.y=e,a.width=i,a.height=n,a.r=Math.min(i,n)/4},square:function(t,e,i,n,a){var r=Math.min(i,n);a.x=t,a.y=e,a.width=r,a.height=r},circle:function(t,e,i,n,a){a.cx=t+i/2,a.cy=e+n/2,a.r=Math.min(i,n)/2},diamond:function(t,e,i,n,a){a.cx=t+i/2,a.cy=e+n/2,a.width=i,a.height=n},pin:function(t,e,i,n,a){a.x=t+i/2,a.y=e+n/2,a.width=i,a.height=n},arrow:function(t,e,i,n,a){a.x=t+i/2,a.y=e+n/2,a.width=i,a.height=n},triangle:function(t,e,i,n,a){a.cx=t+i/2,a.cy=e+n/2,a.width=i,a.height=n}},p={};n.each(d,(function(t,e){p[e]=new t}));var g=a.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,i){var n=s(t,e,i),a=this.shape;return a&&"pin"===a.symbolType&&"inside"===e.textPosition&&(n.y=i.y+.4*i.height),n},buildPath:function(t,e,i){var n=e.symbolType;if("none"!==n){var a=p[n];a||(n="rect",a=p[n]),f[n](e.x,e.y,e.width,e.height,a.shape),a.buildPath(t,a.shape,i)}}});function m(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 v(t,e,i,n,o,s,l){var c,u=0===t.indexOf("empty");return u&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),c=0===t.indexOf("image://")?a.makeImage(t.slice(8),new r(e,i,n,o),l?"center":"cover"):0===t.indexOf("path://")?a.makePath(t.slice(7),{},new r(e,i,n,o),l?"center":"cover"):new g({shape:{symbolType:t,x:e,y:i,width:n,height:o}}),c.__isEmptyBrush=u,c.setColor=m,c.setColor(s),c}e.createSymbol=v},a73c:function(t,e,i){i("cb29");var n=i("6d8b"),a=n.retrieve2,r=n.retrieve3,o=n.each,s=n.normalizeCssArray,l=n.isString,c=n.isObject,u=i("e86a"),h=i("5693"),d=i("5e76"),f=i("7d6d"),p=i("82eb"),g=p.ContextCachedBy,m=p.WILL_BE_RESTORED,v=u.DEFAULT_FONT,y={left:1,right:1,center:1},x={top:1,bottom:1,middle:1},_=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],b={},w={};function A(t){return S(t),o(t.rich,S),t}function S(t){if(t){t.font=u.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 C(t,e,i,n,a,r){n.rich?I(t,e,i,n,a,r):M(t,e,i,n,a,r)}function M(t,e,i,n,a,r){"use strict";var o,s=P(n),l=!1,c=e.__attrCachedBy===g.PLAIN_TEXT;r!==m?(r&&(o=r.style,l=!s&&c&&o),e.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):c&&(e.__attrCachedBy=g.NONE);var h=n.font||v;l&&h===(o.font||v)||(e.font=h);var d=t.__computedFont;t.__styleFont!==h&&(t.__styleFont=h,d=t.__computedFont=e.font);var p=n.textPadding,y=n.textLineHeight,x=t.__textCotentBlock;x&&!t.__dirtyText||(x=t.__textCotentBlock=u.parsePlainText(i,d,p,y,n.truncate));var b=x.outerHeight,A=x.lines,S=x.lineHeight,C=E(w,t,n,a),M=C.baseX,I=C.baseY,T=C.textAlign||"left",D=C.textVerticalAlign;k(e,n,a,M,I);var L=u.adjustTextY(I,b,D),R=M,F=L;if(s||p){var V=u.getWidth(i,d),W=V;p&&(W+=p[1]+p[3]);var H=u.adjustTextX(M,W,T);s&&O(t,e,n,H,L,W,b),p&&(R=z(M,T,p),F+=p[0])}e.textAlign=T,e.textBaseline="middle",e.globalAlpha=n.opacity||1;for(var G=0;G<_.length;G++){var U=_[G],Y=U[0],Z=U[1],X=n[Y];l&&X===o[Y]||(e[Z]=f(e,Z,X||U[2]))}F+=S/2;var j=n.textStrokeWidth,J=l?o.textStrokeWidth:null,Q=!l||j!==J,q=!l||Q||n.textStroke!==o.textStroke,K=B(n.textStroke,j),$=N(n.textFill);if(K&&(Q&&(e.lineWidth=j),q&&(e.strokeStyle=K)),$&&(l&&n.textFill===o.textFill||(e.fillStyle=$)),1===A.length)K&&e.strokeText(A[0],R,F),$&&e.fillText(A[0],R,F);else for(G=0;G=0&&(b=S[B],"right"===b.textAlign))D(t,e,b,n,M,y,R,"right"),I-=b.width,R-=b.width,B--;L+=(r-(L-v)-(x-R)-I)/2;while(T<=B)b=S[T],D(t,e,b,n,M,y,L+b.width/2,"center"),L+=b.width,T++;y+=M}}function k(t,e,i,n,a){if(i&&e.textRotation){var r=e.textOrigin;"center"===r?(n=i.width/2+i.x,a=i.height/2+i.y):r&&(n=r[0]+i.x,a=r[1]+i.y),t.translate(n,a),t.rotate(-e.textRotation),t.translate(-n,-a)}}function D(t,e,i,n,o,s,l,c){var u=n.rich[i.styleName]||{};u.text=i.text;var h=i.textVerticalAlign,d=s+o/2;"top"===h?d=s+i.height/2:"bottom"===h&&(d=s+o-i.height/2),!i.isLineHolder&&P(u)&&O(t,e,u,"right"===c?l-i.width:"center"===c?l-i.width/2:l,d-i.height/2,i.width,i.height);var f=i.textPadding;f&&(l=z(l,c,f),d-=i.height/2-f[2]-i.textHeight/2),R(e,"shadowBlur",r(u.textShadowBlur,n.textShadowBlur,0)),R(e,"shadowColor",u.textShadowColor||n.textShadowColor||"transparent"),R(e,"shadowOffsetX",r(u.textShadowOffsetX,n.textShadowOffsetX,0)),R(e,"shadowOffsetY",r(u.textShadowOffsetY,n.textShadowOffsetY,0)),R(e,"textAlign",c),R(e,"textBaseline","middle"),R(e,"font",i.font||v);var p=B(u.textStroke||n.textStroke,m),g=N(u.textFill||n.textFill),m=a(u.textStrokeWidth,n.textStrokeWidth);p&&(R(e,"lineWidth",m),R(e,"strokeStyle",p),e.strokeText(i.text,l,d)),g&&(R(e,"fillStyle",g),e.fillText(i.text,l,d))}function P(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function O(t,e,i,n,a,r,o){var s=i.textBackgroundColor,u=i.textBorderWidth,f=i.textBorderColor,p=l(s);if(R(e,"shadowBlur",i.textBoxShadowBlur||0),R(e,"shadowColor",i.textBoxShadowColor||"transparent"),R(e,"shadowOffsetX",i.textBoxShadowOffsetX||0),R(e,"shadowOffsetY",i.textBoxShadowOffsetY||0),p||u&&f){e.beginPath();var g=i.textBorderRadius;g?h.buildPath(e,{x:n,y:a,width:r,height:o,r:g}):e.rect(n,a,r,o),e.closePath()}if(p)if(R(e,"fillStyle",s),null!=i.fillOpacity){var m=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,e.fill(),e.globalAlpha=m}else e.fill();else if(c(s)){var v=s.image;v=d.createOrUpdateImage(v,null,t,L,s),v&&d.isImageReady(v)&&e.drawImage(v,n,a,r,o)}if(u&&f)if(R(e,"lineWidth",u),R(e,"strokeStyle",f),null!=i.strokeOpacity){m=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,e.stroke(),e.globalAlpha=m}else e.stroke()}function L(t,e){e.image=t}function E(t,e,i,n){var a=i.x||0,r=i.y||0,o=i.textAlign,s=i.textVerticalAlign;if(n){var l=i.textPosition;if(l instanceof Array)a=n.x+F(l[0],n.width),r=n.y+F(l[1],n.height);else{var c=e&&e.calculateTextPosition?e.calculateTextPosition(b,i,n):u.calculateTextPosition(b,i,n);a=c.x,r=c.y,o=o||c.textAlign,s=s||c.textVerticalAlign}var h=i.textOffset;h&&(a+=h[0],r+=h[1])}return t=t||{},t.baseX=a,t.baseY=r,t.textAlign=o,t.textVerticalAlign=s,t}function R(t,e,i){return t[e]=f(t,e,i),t[e]}function B(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function N(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function F(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function z(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}function V(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}e.normalizeTextStyle=A,e.renderText=C,e.getBoxPosition=E,e.getStroke=B,e.getFill=N,e.parsePercent=F,e.needDrawText=V},a96b:function(t,e,i){var n=i("3eba"),a=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=a},ac0d:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=document.documentElement,a=document.body,r={data:function(){return{}},activated:function(){window.addEventListener("scroll",this.handleScroll)},deactivated:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getScrollTop:function(){var t=0;return n&&n.scrollTop?t=n.scrollTop:a&&(t=a.scrollTop),t},getClientHeight:function(){var t=0;return t=a.clientHeight&&n.clientHeight?Math.min(a.clientHeight,n.clientHeight):Math.max(a.clientHeight,n.clientHeight),t},getScrollHeight:function(){return Math.max(a.scrollHeight,n.scrollHeight)},handleScroll:function(){this.otherScroll();var t=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=t>60,this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()?(this.isLoadMore&&this.getMoreData(),this.isBottom=!0):this.isBottom=!1},otherScroll:function(){}}}},ac0f:function(t,e,i){var n=i("cbe5"),a=i("401b"),r=i("4a3f"),o=r.quadraticSubdivide,s=r.cubicSubdivide,l=r.quadraticAt,c=r.cubicAt,u=r.quadraticDerivativeAt,h=r.cubicDerivativeAt,d=[];function f(t,e,i){var n=t.cpx2,a=t.cpy2;return null===n||null===a?[(i?h:c)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?h:c)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?u:l)(t.x1,t.cpx1,t.x2,e),(i?u:l)(t.y1,t.cpy1,t.y2,e)]}var p=n.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.x1,n=e.y1,a=e.x2,r=e.y2,l=e.cpx1,c=e.cpy1,u=e.cpx2,h=e.cpy2,f=e.percent;0!==f&&(t.moveTo(i,n),null==u||null==h?(f<1&&(o(i,l,a,f,d),l=d[1],a=d[2],o(n,c,r,f,d),c=d[1],r=d[2]),t.quadraticCurveTo(l,c,a,r)):(f<1&&(s(i,l,u,a,f,d),l=d[1],u=d[2],a=d[3],s(n,c,h,r,f,d),c=d[1],h=d[2],r=d[3]),t.bezierCurveTo(l,c,u,h,a,r)))},pointAt:function(t){return f(this.shape,t,!1)},tangentAt:function(t){var e=f(this.shape,t,!0);return a.normalize(e,e)}});t.exports=p},ae69:function(t,e,i){var n=i("cbe5"),a=n.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var i=.5522848,n=e.cx,a=e.cy,r=e.rx,o=e.ry,s=r*i,l=o*i;t.moveTo(n-r,a),t.bezierCurveTo(n-r,a-l,n-s,a-o,n,a-o),t.bezierCurveTo(n+s,a-o,n+r,a-l,n+r,a),t.bezierCurveTo(n+r,a+l,n+s,a+o,n,a+o),t.bezierCurveTo(n-s,a+o,n-r,a+l,n-r,a),t.closePath()}});t.exports=a},af24:function(t,e,i){i("48c7"),i("f273")},afa0:function(t,e,i){i("fb6a"),i("a434");var n=i("6d8b"),a=i("22d1"),r=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=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof r&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var c=l;t.exports=c},b0af:function(t,e,i){var n=i("2306"),a=i("3842"),r=a.round;function o(t,e,i){var a=t.getArea(),r=t.getBaseAxis().isHorizontal(),o=a.x,s=a.y,l=a.width,c=a.height,u=i.get("lineStyle.width")||2;o-=u/2,s-=u/2,l+=u,c+=u,o=Math.floor(o),l=Math.round(l);var h=new n.Rect({shape:{x:o,y:s,width:l,height:c}});return e&&(h.shape[r?"width":"height"]=0,n.initProps(h,{shape:{width:l,height:c}},i)),h}function s(t,e,i){var a=t.getArea(),o=new n.Sector({shape:{cx:r(t.cx,1),cy:r(t.cy,1),r0:r(a.r0,1),r:r(a.r,1),startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}});return e&&(o.shape.endAngle=a.startAngle,n.initProps(o,{shape:{endAngle:a.endAngle}},i)),o}function l(t,e,i){return t?"polar"===t.type?s(t,e,i):"cartesian2d"===t.type?o(t,e,i):null:null}e.createGridClipPath=o,e.createPolarClipPath=s,e.createClipPath=l},b12f:function(t,e,i){var n=i("e1fc"),a=i("8918"),r=i("625e"),o=function(){this.group=new n,this.uid=a.getUID("viewComponent")};o.prototype={constructor:o,init:function(t,e){},render:function(t,e,i,n){},dispose:function(){},filterForExposedEvent:null};var s=o.prototype;s.updateView=s.updateLayout=s.updateVisual=function(t,e,i,n){},r.enableClassExtend(o),r.enableClassManagement(o,{registerWhenExtend:!0});var l=o;t.exports=l},b1d4:function(t,e,i){var n=i("862d");function a(t,e){return e=e||{},n(e.coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,encodeDefaulter:e.encodeDefaulter,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}t.exports=a},b5c7:function(t,e,i){var n=i("282b"),a=n([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),r={getBarItemStyle:function(t){var e=a(this,t);if(this.getBorderLineDash){var i=this.getBorderLineDash();i&&(e.lineDash=i)}return e}};t.exports=r},b719:function(t,e,i){var n=i("697e7");e.zrender=n;var a=i("1687");e.matrix=a;var r=i("401b");e.vector=r;var o=i("6d8b"),s=i("41ef");e.color=s;var l=i("2306"),c=i("3842");e.number=c;var u=i("eda2");e.format=u;var h=i("88b3");h.throttle;e.throttle=h.throttle;var d=i("1548");e.helper=d;var f=i("bda7e");e.parseGeoJSON=f;var p=i("6179");e.List=p;var g=i("4319");e.Model=g;var m=i("84ce");e.Axis=m;var v=i("22d1");e.env=v;var y=f,x={};o.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(t){x[t]=o[t]}));var _={};o.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(t){_[t]=l[t]})),e.parseGeoJson=y,e.util=x,e.graphic=_},b809:function(t,e,i){i("a15b"),i("ac1f"),i("5319"),i("4d63"),i("c607"),i("2c3e"),i("25f0"),i("1276");var n=i("6d8b"),a=i("29a8"),r=i("2b17"),o=r.retrieveRawValue;function s(t,e){var i=e.getModel("aria");if(i.get("show"))if(i.get("description"))t.setAttribute("aria-label",i.get("description"));else{var r=0;e.eachSeries((function(t,e){++r}),this);var s,l=i.get("data.maxCount")||10,c=i.get("series.maxCount")||10,u=Math.min(r,c);if(!(r<1)){var h=m();s=h?p(g("general.withTitle"),{title:h}):g("general.withoutTitle");var d=[],f=r>1?"series.multiple.prefix":"series.single.prefix";s+=p(g(f),{seriesCount:r}),e.eachSeries((function(t,e){if(e1?"multiple":"single")+".";i=g(n?a+"withName":a+"withoutName"),i=p(i,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:v(t.subType)});var s=t.getData();window.data=s,s.count()>l?i+=p(g("data.partialData"),{displayCnt:l}):i+=g("data.allData");for(var c=[],h=0;hl+o)break;if(t[r].y+=n,r>e&&r+1t[r].y+t[r].height)return void h(r,n/2)}h(i-1,n/2)}function h(e,i){for(var n=e;n>=0;n--){if(t[n].y-i0&&t[n].y>t[n-1].y+t[n-1].height)break}}function d(t,e,i,n,a,r){for(var o=e?Number.MAX_VALUE:0,s=0,l=t.length;s=o&&(d=o-10),!e&&d<=o&&(d=o+10),t[s].x=i+d*r,o=d}}t.sort((function(t,e){return t.y-e.y}));for(var f,p=0,g=t.length,m=[],v=[],y=0;y=i?v.push(t[y]):m.push(t[y]);d(m,!1,e,i,n,a),d(v,!0,e,i,n,a)}function l(t,e,i,a,r,o,l,u){for(var h=[],d=[],f=Number.MAX_VALUE,p=-Number.MAX_VALUE,g=0;g0?"right":"left":D>0?"left":"right"}var H=c.get("rotate");O="number"===typeof H?H*(Math.PI/180):H?D<0?-k+Math.PI:-k:0,p=!!O,o.label={x:C,y:M,position:m,height:E.height,len:A,len2:S,linePoints:I,textAlign:T,verticalAlign:"middle",rotation:O,inside:R,labelDistance:v,labelAlignTo:y,labelMargin:x,bleedMargin:_,textRect:E,text:L,font:b},R||f.push(o.label)}})),!p&&t.get("avoidLabelOverlap")&&l(f,u,h,e,i,a,s,c)}t.exports=u},bd6b:function(t,e,i){i("ac1f"),i("1276"),i("a434"),i("fb6a");var n=i("06ad"),a=i("4942"),r=i("6d8b"),o=r.isString,s=r.isFunction,l=r.isObject,c=r.isArrayLike,u=r.indexOf,h=function(){this.animators=[]};function d(t,e,i,n,a,r,l,c){o(n)?(r=a,a=n,n=0):s(a)?(r=a,a="linear",n=0):s(n)?(r=n,n=0):s(i)?(r=i,i=500):i||(i=500),t.stopAnimation(),f(t,"",t,e,i,n,c);var u=t.animators.slice(),h=u.length;function d(){h--,h||r&&r()}h||r&&r();for(var p=0;p0&&t.animate(e,!1).when(null==a?500:a,s).delay(r||0)}function p(t,e,i,n){if(e){var a={};a[e]={},a[e][i]=n,t.attr(a)}else t.attr(i,n)}h.prototype={constructor:h,animate:function(t,e){var i,r=!1,o=this,s=this.__zr;if(t){var l=t.split("."),c=o;r="shape"===l[0];for(var h=0,d=l.length;h>1^-(1&s),l=l>>1^-(1&l),s+=a,l+=r,a=s,r=l,n.push([s/i,l/i])}return n}function s(t,e){return r(t),n.map(n.filter(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var i=t.properties,r=t.geometry,o=r.coordinates,s=[];"Polygon"===r.type&&s.push({type:"polygon",exterior:o[0],interiors:o.slice(1)}),"MultiPolygon"===r.type&&n.each(o,(function(t){t[0]&&s.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var l=new a(i[e||"name"],s,i.cp);return l.properties=i,l}))}t.exports=s},bf25:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));i("e7e5");var n=i("d399"),a=(i("81b2"),i("0eb6"),i("b7ef"),i("8bd4"),i("ac1f"),i("1276"),i("c19f"),i("ace4"),i("d3b7"),i("5cc6"),i("907a"),i("9a8c"),i("a975"),i("735e"),i("c1ac"),i("d139"),i("3a7b"),i("d5d6"),i("82f8"),i("e91f"),i("60bd"),i("5f96"),i("3280"),i("3fcc"),i("ca91"),i("25a1"),i("cd26"),i("3c5d"),i("2954"),i("649e"),i("219c"),i("170b"),i("b39a"),i("72f7"),i("fa9e"),i("77d9"),{data:function(){return{poster:"",poster_Data:{poster_data:null,background:{}},poster_id:null,posterShow:!1,isNewPosterPlugin:!1,toastPoster:null}},methods:{uploadImageM:function(t){var e=this,i=this;this.dataURL=t;var a=this.fun.getRealUrl("member.qrcode.uploadLocal",{local_upload:1,poster_id:i.poster_id,is_new:this.isNewPosterPlugin?1:0}),r=new FormData;r.append("file",this.dataURItoBlob(this.dataURL)),axios.post(a,r,{headers:{"Content-Type":"multipart/form-data"}}).then((function(t){1==t.data.result?$http.post("member.qrcode.poster-record",{poster_id:i.poster_id,image:t.data.data.img_url,is_new:e.isNewPosterPlugin?1:0}).then((function(t){1===t.result||Object(n["a"])(t.msg)})).catch((function(t){})):Object(n["a"])(t.data.msg)})).catch((function(t){}))},dataURItoBlob:function(t){for(var e=atob(t.split(",")[1]),i=t.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(e.length),a=new Uint8Array(n),r=0;r=0},this.indexOfName=function(e){var i=t();return i.indexOfName(e)},this.getItemVisual=function(e,i){var n=t();return n.getItemVisual(e,i)}}var n=i;t.exports=n},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},c5f1: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",{style:{"--color":""+t.background_color},attrs:{id:"extension-box"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.template,expression:"template"}]},["01"===t.template?i("div",[i("div",{staticClass:"background-box"},[i("div",{staticClass:"extension-head"},[i("img",{staticClass:"extension-head-avatar",attrs:{src:t.userInfo.avatar,alt:""}}),i("div",{staticClass:"extension-name-box",style:{maxWidth:t.share_page?"73%":"83%"}},[i("p",{staticClass:"extension-name van-ellipsis"},[t._v(t._s(t.userInfo.nickname))]),1!=t.show_member_id?i("p",{staticClass:"extension-id"},[t._v("ID:"+t._s(t.userInfo.member_id))]):t._e()]),t.share_page?i("div",{staticClass:"extension-share",on:{click:function(e){return t.toPage("MyIncome")}}},[i("i",{staticClass:"iconfont icon-bc_share_card"})]):t._e()]),t.income_page.identity&&t.income_page.identity.length>0?i("div",{staticClass:"extension-nickname-box",style:{height:!t.moreIdentity&&t.income_page.identity.length>5?"75px":""}},[i("div",{staticClass:"extension-nickname-bg"}),i("div",{staticClass:"nickname-warp"},t._l(t.income_page.identity,(function(e,n){return i("span",{key:n,staticClass:"nickname-warp-item"},[t._v(t._s(e))])})),0),!t.moreIdentity&&t.income_page.identity.length>5?i("i",{staticClass:"iconfont icon-member-top moreIdentity",on:{click:t.showMoreIdentity}}):t._e(),t.moreIdentity?i("i",{staticClass:"iconfont icon-member-bottom moreIdentity",on:{click:t.showMoreIdentity}}):t._e()]):t._e(),t.is_show_limit?i("div",{staticClass:"erdutixian-box_01"},[i("span",{staticStyle:{color:"#c8c8c8"}},[t._v("当前提现额度")]),i("span",{staticStyle:{color:"#edd0a3","font-size":"18px","font-weight":"bold"}},[t._v(t._s(t.amount_num))])]):t._e(),i("div",{class:{"extension-money-box-bg":t.is_show_limit}},[i("div",{staticClass:"extension-money-box"},[i("div",{staticClass:"extension-money-box-head"},[i("div",{staticClass:"time-box"},t._l(t.income_statistic_type_box,(function(e,n){return i("span",{key:n,class:[e.type===t.income_statistic_type?"active":""],on:{click:function(i){return t.tabChange("income_statistic_type",e.type)}}},[t._v(t._s(e.title))])})),0),i("div",{staticClass:"asset-line"}),0==t.userInfo.autoWithdraw&&t.withdraw_date&&!t.withdraw_date.disable?i("div",{staticClass:"asset-right-box 1",on:{click:t.gotoIncome}},[i("i",{staticClass:"iconfont icon-fontclass-shouru"}),i("span",[t._v(t._s(t.fun.initWithdrawal()))])]):t._e(),0!=t.userInfo.autoWithdraw&&t.withdraw_date&&!t.withdraw_date.disable?i("div",{staticClass:"asset-right-box 2"},[i("i",{staticClass:"iconfont icon-fontclass-shouru"}),i("span",[t._v(t._s(t.userInfo.autoWithdraw)+"号自动"+t._s(t.fun.initWithdrawal()))])]):t._e(),t.withdraw_date&&t.withdraw_date.disable?i("div",{staticClass:"asset-right-box 3",on:{click:t.toToast}},[i("i",{staticClass:"iconfont icon-fontclass-shouru"}),i("span",[t._v(t._s(t.withdraw_date.day)+"号可"+t._s(t.fun.initWithdrawal()))])]):t._e()]),i("div",{staticClass:"extension-money-box-body"},[t._m(0),i("div",{staticClass:"body-money"},t._l(t.income_statistic,(function(e,n){return i("div",{key:n,staticClass:"body-money-item",on:{click:function(i){return t.toPage(e.url)}}},[i("span",{staticClass:"money-top van-ellipsis"},[i("countTo",{attrs:{startVal:0,decimals:"myRelationship"===e.url?0:2,endVal:Number(e.value),duration:500}})],1),i("span",[t._v(t._s(e.title))])])})),0)]),i("p",{staticClass:"tips"},[t._v("本页收入统计仅包含已经结算部分,不含未结算部分~")]),i("p",{staticClass:"tips"},[t._v("已提现收入,未提现收入,提现中收入,团队粉丝不随周期变化")])])])]),i("div",{staticClass:"eChats-box"},[i("div",{staticClass:"tab-head"},[i("div",{staticClass:"tab-item",class:["1"!==t.charts_type?"active":""],on:{click:function(e){return t.tabChange("charts_type","")}}},[t._v("收入动态")]),i("div",{staticClass:"tab-item",class:["1"===t.charts_type?"active":""],on:{click:function(e){return t.tabChange("charts_type","1")}}},[t._v("收入占比")])]),i("div",["1"!==t.charts_type?i("div",{staticStyle:{height:"220px",width:"21rem"},attrs:{id:"echats-income"}}):t._e()]),i("div",["1"===t.charts_type?i("div",{staticStyle:{height:"250px",width:"21rem"},attrs:{id:"echats-income-pie"}}):t._e()])]),i("div",{staticClass:"income-box"},t._l(t.income_page.button,(function(e,n){return i("div",{key:e.icon+n,staticClass:"income-item",on:{click:function(i){return t.toPage(e.url)}}},[i("i",{staticClass:"iconfont",class:e.icon}),i("p",[t._v(t._s(e.title))])])})),0),i("div",{staticClass:"available-box"},[i("div",{staticClass:"tab-head"},[i("div",{staticClass:"tab-item",class:["1"!==t.available_type?"active":""],on:{click:function(e){return t.tabChange("available_type","")}}},[t._v("我的权限")]),1==t.is_show_unable?i("div",{staticClass:"tab-item",class:["1"===t.available_type?"active":""],on:{click:function(e){return t.tabChange("available_type","1")}}},[t._v("未开通权限")]):t._e()]),i("div",{staticClass:"available-body"},["1"!==t.available_type?t._l(t.extension,(function(e,n){return i("div",{key:e.icon+n,staticClass:"available-item",on:{click:function(i){return t.gotoPage(e)}}},[i("i",{staticClass:"iconfont",class:e.icon}),i("div",{staticClass:"available-money"},[i("p",{staticClass:"van-ellipsis",staticStyle:{"word-break":"keep-all"}},[t._v(t._s(e.title))]),i("p",{staticClass:"red-money van-ellipsis"},[i("span",[t._v(t._s(t.$i18n.t("money")))]),t._v(t._s(e.value)+" ")])]),i("i",{staticClass:"fa fa-angle-right"})])})):t._e(),"1"===t.available_type?t._l(t.unextension,(function(e){return i("div",{key:e.url,staticClass:"available-item",on:{click:function(i){return t.gotoPage(e)}}},[i("i",{staticClass:"iconfont",class:e.icon}),i("div",{staticClass:"available-money"},[i("p",{staticStyle:{"word-break":"keep-all"}},[t._v(t._s(e.title))]),i("p",{staticClass:"red-money van-ellipsis"},[i("span",[t._v(t._s(t.$i18n.t("money")))]),t._v(t._s(e.value)+" ")])]),i("i",{staticClass:"fa fa-angle-right"})])})):t._e()],2)]),i("div",{staticClass:"eChats-box"},[i("div",{staticClass:"tab-head"},[i("div",{staticClass:"tab-item",class:["1"!==t.fans_type?"active":""],on:{click:function(e){return t.tabChange("fans_type","")}}},[t._v("粉丝裂变")]),i("div",{staticClass:"tab-item",class:["1"===t.fans_type?"active":""],on:{click:function(e){return t.tabChange("fans_type","1")}}},[t._v("粉丝转化")])]),i("div",["1"!==t.fans_type?i("div",{staticStyle:{height:"220px",width:"21rem"},attrs:{id:"echats-fans"}}):t._e()]),i("div",["1"===t.fans_type?i("div",{staticStyle:{height:"220px",width:"21rem"},attrs:{id:"echats-fans-line"}}):t._e()]),i("div",{staticClass:"fans-box"},t._l(t.fans_fission.data,(function(e,n){return i("div",{key:n,staticClass:"fans-item"},[i("p",[t._v(t._s(e.value))]),i("p",[t._v(t._s(e.title))])])})),0)]),i("div",{staticClass:"plugin-items-box"},t._l(t.income_page.plugin_data,(function(e){return i("div",{key:e.url,staticClass:"plugin-items-icon",on:{click:function(i){return t.pluginGoto(e)}}},[i("i",{staticClass:"iconfont",class:e.class}),i("span",[t._v(t._s(e.title))])])})),0),i("div",{staticClass:"order-box"},[i("div",{staticClass:"tab-head"},[i("div",{staticClass:"tab-item",class:["1"!==t.extension_type?"active":""],on:{click:function(e){return t.tabChange("extension_type","")}}},[t._v("推广订单")]),i("div",{staticClass:"tab-item",class:["1"===t.extension_type?"active":""],on:{click:function(e){return t.tabChange("extension_type","1")}}},[t._v("推广粉丝")])]),"1"!==t.extension_type?i("div",{staticClass:"order-list"},t._l(t.extension_order.data,(function(e){return i("div",{key:e.order_sn,staticClass:"order-item"},[i("div",{staticClass:"order-item-left"},[i("div",{staticClass:"avatar"},[i("img",{staticClass:"avatar-image",attrs:{src:e.avatar}})]),i("div",{staticClass:"nickname"},[t._v(t._s(e.nickname))])]),i("div",{staticClass:"order-item-right"},[i("div",{staticClass:"order-top"},[i("p",{staticClass:"order-sn"},[t._v(t._s(e.order_sn))]),i("p",{staticClass:"status"},[t._v(t._s(e.status_name))])]),i("div",{staticClass:"order-bottom"},[i("p",{staticClass:"time"},[t._v(t._s(e.create_time))]),i("p",{staticClass:"money"},[i("span",{staticClass:"old-price"},[t._v(t._s(t.$i18n.t("money"))+t._s(e.goods_price))]),i("span",[t._v("实付:"+t._s(t.$i18n.t("money"))+t._s(e.price))])])])])])})),0):t._e(),"1"===t.extension_type?i("div",{staticClass:"fans-list"},t._l(t.extension_order.data,(function(e){return i("div",{key:e.order_sn,staticClass:"fans-item"},[i("img",{staticClass:"img",attrs:{src:e.avatar,alt:""}}),i("div",{staticClass:"fans-item-right"},[i("div",{staticClass:"fans-item-top"},[i("p",{staticClass:"fans-name"},[i("span",[t._v(t._s(e.nickname))]),t._v(" "),i("span",{staticClass:"id"},[t._v(t._s(e.child_id))])]),i("p",{staticClass:"pay-box"},[t._v(" 支付订单数: "),i("span",{staticClass:"num"},[t._v(t._s(e.order_price))])])]),i("div",{staticClass:"fans-item-bottom"},[i("span",{staticClass:"time"},[t._v(t._s(e.created_at))]),i("p",{staticClass:"pay-box"},[t._v(" 支付订单总额: "),i("span",{staticClass:"num"},[t._v(t._s(t.$i18n.t("money"))+t._s(e.order_count))])])])])])})),0):t._e(),t.extension_order.data&&t.extension_order.data.length<=0?i("div",{staticStyle:{"margin-top":"10px"}},[t._v("暂无数据")]):t._e()]),i("U_backup",{attrs:{btnFlag:t.btnFlag,id:1,datas:t.btnData}}),t.service?i("i",{staticClass:"iconfont icon-member_kefu service-box",style:{left:3==t.fun.getPhoneEnv()?"61%":t.buttonClientWidth},on:{click:t.openService}}):t._e(),i("d-connect-customer-service",{attrs:{show:t.showPopup,tel:t.service.service_mobile,online:t.service.cservice,qrcode:t.service.service_QRcode},on:{closed:function(e){t.showPopup=!1}}}),i("yz-goodsposter",{attrs:{posterData:t.poster_Data,defaultImg:t.poster,width:"18.875rem"},on:{finish:t.uploadImageM},model:{value:t.posterShow,callback:function(e){t.posterShow=e},expression:"posterShow"}})],1):t._e(),"02"===t.template?i("div",[i("div",{attrs:{id:"header"}},[i("div",{staticClass:"top"},[i("div",{staticClass:"img"},[i("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.userInfo.avatar}})]),i("ul",{staticClass:"header-info"},[i("li",{staticClass:"header-name"},[t._v(t._s(t.userInfo.nickname))]),1!=t.show_member_id?i("li",[i("span",[t._v("["+t._s(t.$i18n.t("extension.会员"))+"ID:"+t._s(t.userInfo.member_id)+"]")])]):t._e()]),t.share_page?i("div",{staticClass:"share",on:{click:function(e){return t.toPage("MyIncome")}}},[i("i",{staticClass:"iconfont icon-extension_code"}),i("span",[t._v(t._s(t.income_name_text)+t._s(t.$i18n.t("extension.分享")))])]):t._e()]),i("div",{staticClass:"income"},[i("ul",[i("li",{staticClass:"header-top"},[t._v(t._s(t.$i18n.t("extension.累计"))+t._s(t.income_name_text))]),i("li",[i("small",[t._v(t._s(t.$i18n.t("money")))]),t._v(" "+t._s(t.userInfo.grand_total)+" ")])]),i("ul",{staticClass:"right"},[i("li",{staticClass:"header-top"},[t._v(t._s(t.$i18n.t("extension.可"))+t._s(t.fun.initWithdrawal())+t._s(t.income_name_text))]),i("li",[i("small",[t._v(t._s(t.$i18n.t("money")))]),t._v(" "+t._s(t.userInfo.usable_total)+" ")])]),0==t.userInfo.auto_withdraw&&t.withdraw_date&&!t.withdraw_date.disable?i("div",{staticClass:"btn",staticStyle:{position:"relative"},on:{click:t.gotoIncome}},[i("button",{attrs:{type:"button"}},[t._v(t._s(t.$i18n.t("extension.去"))+t._s(t.fun.initWithdrawal())),i("i",{staticClass:"fa fa-angle-right"})])]):t._e(),0!=t.userInfo.auto_withdraw&&t.withdraw_date&&!t.withdraw_date.disable?i("div",{staticClass:"btn"},[i("button",{staticStyle:{"background-color":"#ccc"},attrs:{type:"button"}},[t._v(" "+t._s(t.userInfo.auto_withdraw)+"号自动"+t._s(t.fun.initWithdrawal())+" "),i("i",{staticClass:"fa fa-angle-right"})])]):t._e(),t.withdraw_date&&t.withdraw_date.disable?i("div",{staticClass:"btn",staticStyle:{position:"relative",width:"26%"},on:{click:t.toToast}},[i("button",{staticStyle:{"background-color":"#ccc"},attrs:{type:"button"}},[t._v(t._s(t.withdraw_date.day)+"号可"+t._s(t.fun.initWithdrawal())),i("i",{staticClass:"fa fa-angle-right"})])]):t._e()])]),i("ul",{attrs:{id:"detail"}},[t.showEarning?i("li",{on:{click:function(e){return t.toPage("myEarnings")}}},[i("i",{staticClass:"iconfont icon-extension_receive"}),i("span",[t._v(t._s(t.$i18n.t("extension.领取收益")))]),i("i",{staticClass:"fa fa-angle-right"})]):t._e(),i("li",{on:{click:function(e){return t.toPage("incomedetails")}}},[i("i",{staticClass:"iconfont icon-member_integral1-copy"}),i("span",[t._v(t._s(t.income_name_text)+t._s(t.$i18n.t("extension.明细")))]),i("i",{staticClass:"fa fa-angle-right"})]),i("li",{on:{click:function(e){return t.toPage("presentationRecord")}}},[i("i",{staticClass:"iconfont icon-member-withdrawals1"}),i("span",[t._v(t._s(t.fun.initWithdrawal())+t._s(t.$i18n.t("extension.明细")))]),i("i",{staticClass:"fa fa-angle-right"})]),t.is_show_performance?i("li",{on:{click:function(e){return t.toPage("Performance")}}},[i("i",{staticClass:"iconfont icon-extension_collect"}),i("span",[t._v(t._s(t.$i18n.t("extension.营业额")))]),i("i",{staticClass:"fa fa-angle-right"})]):t._e(),t.high_light.url?i("li",{on:{click:t.btnHighLight}},[i("i",{staticClass:"iconfont icon-fontclass-gaodeng"}),i("span",[t._v(t._s(t.highLightName))]),i("span",{staticClass:"high_light_count"},[t._v(t._s(t.high_light.count))]),i("i",{staticClass:"fa fa-angle-right"})]):t._e(),t.is_show_limit?i("li",[i("i",{staticClass:"iconfont icon-cord_erdutixian"}),i("span",[t._v("当前提现额度:"+t._s(t.amount_num))])]):t._e()]),i("div",{attrs:{id:"power"}},[i("div",{staticClass:"title"},[i("div",{staticClass:"spare"}),i("h1",[t._v(t._s(t.$i18n.t("extension.权限")))])]),"02"===t.template?i("div",{staticClass:"plugg"},t._l(t.extension,(function(e,n){return i("div",{key:n,staticClass:"plug-list",on:{click:function(i){return t.gotoPage(e)}}},[i("i",{staticClass:"iconfont",class:e.icon}),i("ul",{staticClass:"left"},[i("li",{staticClass:"left_a van-ellipsis"},[t._v(t._s(e.title))]),null!=e.level&&""!=e.level&&void 0!=e.level?i("li",{staticClass:"left_b"},[t._v(" "+t._s(e.level)+" ")]):t._e(),null==e.level||""==e.level||void 0==e.level?i("li",{staticClass:"left_b"}):t._e(),i("li",{staticClass:"left_c"},[i("span",[t._v(t._s(t.$i18n.t("money")))]),t._v(t._s(e.value)+" ")])])])})),0):t._e()]),1==t.is_show_unable?i("div",{attrs:{id:"more-power"}},[i("div",{staticClass:"title"},[i("div",{staticClass:"spare"}),i("h1",[t._v(t._s(t.$i18n.t("extension.更多权限")))])]),"02"===t.template?i("div",{staticClass:"plugg"},t._l(t.unextension,(function(e,n){return i("div",{key:n,staticClass:"plug-list",on:{click:function(i){return t.gotoPage(e)}}},[i("i",{staticClass:"iconfont",class:e.icon}),i("ul",{staticClass:"left"},[i("li",{staticClass:"left_a"},[t._v(t._s(e.title))]),i("li",{staticClass:"left_b"}),i("li",{staticClass:"left_c"},[i("span",[t._v(t._s(t.$i18n.t("money")))]),t._v(t._s(e.value)+" ")])])])})),0):t._e()]):t._e()]):t._e(),t.fun.isIphoneX()?i("div",{staticStyle:{height:"34px"}}):t._e(),i("div",{staticStyle:{height:"6.25rem"}})])])},a=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"body-head"},[i("div",{staticClass:"head-line"}),i("div",{staticClass:"head-circle"}),i("div",{staticClass:"head-line head-line-right"})])}],r=(i("e7e5"),i("d399")),o=i("2909"),s=(i("99af"),i("b0c0"),i("d3b7"),i("3ca3"),i("ddb0"),i("7b7b")),l=i("ec1b"),c=i.n(l),u=i("ac0d"),h=i("8e07"),d=i("c846"),f=i("bf25"),p={mixins:[u["a"],f["a"]],data:function(){return{show_member_id:"",withdraw_date:{},is_show_performance:"",is_show_unable:"",show1:!1,mailLanguage:"",is_agent:!1,total_income:0,info_img:"",userInfo:{},extension:[],unextension:[],share_page:!1,showEarning:!1,template:"",income_name_text:"",is_show_limit:!1,amount_num:0,high_light:[],income_statistic_type:"",income_statistic_type_box:[{type:"",title:"全部"},{type:"1",title:"今日"},{type:"2",title:"昨日"},{type:"3",title:"本周"},{type:"4",title:"上周"},{type:"5",title:"本月"},{type:"6",title:"上月"}],charts_type:"",fans_type:"",extension_type:"",available_type:"",income_page:"",background_color:"",income_statistic:[],income_dynamic:{},fans_fission:{},extension_order:{},isLoadMore:!0,buttonClientWidth:"",service:"",showPopup:!1,btnFlag:!1,btnData:{button_size:40,over_top:500,position_location:"right",icon_url:""},moreIdentity:!1,highLightName:"高灯"}},activated:function(){this.getExtensionData(),this.customizeIncome(),this.fun.setWXTitle($i18n.t("我的推广"))},mounted:function(){this.buttonClientWidth=document.body.clientWidth-52+"px",this.customizeIncome()},updated:function(){},methods:{initEcharts:function(){if(document.getElementById("echats-income")){var t=document.getElementById("echats-income"),e=s["a"].init(t),i=Math.ceil(Math.max.apply(Math,Object(o["a"])(this.income_dynamic.total_amount)))||50,n=Math.max.apply(Math,Object(o["a"])(this.income_dynamic.income_count))||50,a=i/5||5,r=n/5||5,l={tooltip:{trigger:"axis"},toolbox:{feature:{magicType:{show:!0,type:["line","bar"]},saveAsImage:{show:!0}}},legend:{data:["金额","笔数"]},xAxis:[{type:"category",data:this.income_dynamic.x_axis}],yAxis:[{type:"value",name:"金额",min:0,max:i,interval:a},{type:"value",name:"笔数",min:0,max:n,interval:r}],series:[{name:"金额",type:"bar",color:"#3b84f2",data:this.income_dynamic.total_amount},{name:"笔数",type:"line",yAxisIndex:1,color:"#ffc11e",data:this.income_dynamic.income_count}]};e.setOption(l)}},initPieEcharts:function(){var t=document.getElementById("echats-income-pie"),e=s["a"].init(t),i={legend:{top:"bottom"},toolbox:{show:!0,feature:{saveAsImage:{show:!0}}},series:[{name:"收入占比",type:"pie",radius:[15,50],center:["50%","50%"],roseType:"area",label:{formatter:"{name|{b}}\n{time|{c} 元}",rich:{time:{fontSize:10,color:"#999"}}},data:this.income_dynamic}]};e.setOption(i)},initFansEcharts:function(){if(document.getElementById("echats-fans")){var t=document.getElementById("echats-fans"),e=s["a"].init(t),i=Math.max.apply(Math,Object(o["a"])(this.fans_fission.totalFansSeries))||50,n=Math.max.apply(Math,Object(o["a"])(this.fans_fission.fansNewSeries))||50,a=i/5||5,r=n/5||5,l={tooltip:{trigger:"axis"},toolbox:{feature:{saveAsImage:{}}},legend:{data:["粉丝总数","单日新增粉丝"]},grid:{left:"2%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:this.fans_fission.x_axis},yAxis:[{type:"value",name:"总数",min:0,max:i,interval:a},{type:"value",name:"单日",min:0,max:n,interval:r}],series:[{name:"粉丝总数",type:"line",color:"#77c399",data:this.fans_fission.totalFansSeries},{name:"单日新增粉丝",type:"line",yAxisIndex:1,color:"#f19c70",data:this.fans_fission.fansNewSeries}]};e.setOption(l)}},initOrderEcharts:function(){if(document.getElementById("echats-fans-line")){var t=document.getElementById("echats-fans-line"),e=s["a"].init(t),i=Math.max.apply(Math,Object(o["a"])(this.fans_fission.orderCountSeries))||50,n=Math.max.apply(Math,Object(o["a"])(this.fans_fission.orderPriceSeries))||50,a=i/5||5,r=n/5||5,l={tooltip:{trigger:"axis"},toolbox:{feature:{magicType:{show:!0,type:["line","bar"]},saveAsImage:{show:!0}}},legend:{data:["订单金额","订单数量"]},xAxis:{type:"category",boundaryGap:!1,data:this.fans_fission.x_axis},yAxis:[{type:"value",name:"订单金额",min:0,max:n,interval:r},{type:"value",name:"订单数量",min:0,max:i,interval:a}],series:[{name:"订单金额",type:"bar",color:"#f19c70",data:this.fans_fission.orderPriceSeries},{name:"订单数量",type:"line",yAxisIndex:1,color:"#77c399",data:this.fans_fission.orderCountSeries}]};e.setOption(l)}},tabChange:function(t,e){"income_statistic_type"===t?(this.income_statistic_type=e,this.getIncomeStatistic(e)):"charts_type"===t?(this.charts_type=e,this.getEchats(e)):"available_type"===t?this.available_type=e:"fans_type"===t?(this.fans_type=e,this.getFans(e)):"extension_type"===t&&(this.extension_type=e,this.getExtension(e))},getIncomeStatistic:function(t){var e=this;$http.get("finance.income-page.income-statistic",{income_statistic_type:t},"loading").then((function(t){1===t.result?e.income_statistic=t.data:Object(r["a"])(t.msg)}))},getEchats:function(t){var e=this;this.income_dynamic=[],$http.get("finance.income-page.income-charts",{charts_type:t},"loading").then((function(i){1===i.result?(e.income_dynamic=i.data,e.$nextTick((function(){"1"===t?e.initPieEcharts():e.initEcharts()}))):Object(r["a"])(i.msg)}))},getFans:function(t){var e=this;$http.get("finance.income-page.fans-charts",{charts_type:t},"loading").then((function(i){1===i.result?(e.fans_fission=i.data,e.$nextTick((function(){"1"===t?e.initOrderEcharts():e.initFansEcharts()}))):Object(r["a"])(i.msg)}))},getExtension:function(t){var e=this;this.extension_order={},this.isLoadMore=!1,$http.get("finance.income-page.extension",{extension_type:t},"loading").then((function(t){1===t.result?(e.isLoadMore=!0,e.extension_order=t.data):Object(r["a"])(t.msg)}))},getMoreData:function(){var t=this;"01"===this.template&&(this.isLoadMore=!1,this.extension_order.current_page>=this.extension_order.last_page?this.isLoadMore=!1:(this.extension_order.current_page+=1,$http.get("finance.income-page.extension",{page:this.extension_order.current_page,extension_type:this.extension_type}).then((function(e){if(t.isLoadMore=!0,1===e.result){var i=e.data.data;t.extension_order.data=t.extension_order.data.concat(i)}else t.isLoadMore=!1}))))},getTemplate:function(t){t.extension&&(this.template=t.extension.name),1===this.$store.state.temp.item.is_decorate&&(0!=this.$store.state.temp.item.ViewSet.extension.is_default?this.template=this.$store.state.temp.item.ViewSet.extension.code.substring(9):this.template="01"),this.template||(this.template="01"),i("1c42"),"02"===this.template?i("cb2a"):i("9205")},initMailLanguage:function(){this.mailLanguage=this.fun.initMailLanguage()},gotoIncome:function(){var t=this;$http.get("member.member.withdrawByMobile",{},"loading").then((function(e){1===e.result?1==e.data.is_bind_mobile?t.$router.push(t.fun.getUrl("withdrawEditmobile",{})):t.$router.push(t.fun.getUrl("withdrawal",{})):t.$dialog.alert({message:e.msg})}))},getExtensionData:function(){var t=this;$http.get("finance.income-page.index",{},"loading").then((function(e){if(1===e.result){var n=JSON.parse(localStorage.getItem("plugin_setting"));if(t.highLightName=n&&n.high_light&&n.high_light.diy_name||"高灯",!t.fun.isTextEmpty(e.data.income_page.jump_link))return void(window.location.href=e.data.income_page.jump_link);if(e.data.template_set||1===t.$store.state.temp.item.is_decorate?t.getTemplate(e.data.template_set):(t.template="01",i("9205"),i("1c42")),"01"==t.template){if(t.income_page)return;t.income_page=e.data.income_page,i("4bd9"),t.income_page.set&&(t.background_color=t.income_page.set.background_color||"#ffc11e"),t.share_page=t.income_page.button_enabled.share_page,t.income_statistic=t.income_page.income_statistic,t.income_dynamic=t.income_page.income_dynamic,t.fans_fission=t.income_page.fans_fission,t.isLoadMore=!0,t.extension_order=t.income_page.extension_order,t.service=t.income_page.service,t.is_show_unable=t.income_page.button_enabled.is_show_unable,t.show_member_id=t.income_page.button_enabled.show_member_id,t.withdraw_date=t.income_page.button_enabled.withdraw_date,t.$nextTick((function(){t.initEcharts(),t.initFansEcharts()}))}else t.is_show_unable=e.data.income_page.is_show_unable,t.show_member_id=e.data.income_page.show_member_id,t.withdraw_date=e.data.income_page.withdraw_date,t.is_show_performance=e.data.income_page.is_show_performance,e.data.income_page.parameter&&(t.share_page=e.data.income_page.parameter.share_page,t.showEarning=e.data.income_page.parameter.plugin_settle_show);e.data.high_light&&(t.high_light=e.data.high_light),t.userInfo=e.data.income_page.info,t.extension=e.data.income_page.available,t.unextension=e.data.income_page.unavailable,e.data.income_page&&e.data.income_page.withdraw_limit&&(t.is_show_limit=e.data.income_page.withdraw_limit.is_show,t.is_show_limit&&(t.amount_num=e.data.income_page.withdraw_limit.amount))}else t.template="01",i("9205"),i("1c42")})).catch((function(e){t.template="01",i("9205"),i("1c42")}))},showMoreIdentity:function(){this.moreIdentity=!this.moreIdentity},toToast:function(){Object(r["a"])(this.withdraw_date.day_msg)},openService:function(){this.service.cservice||this.service.service_mobile||this.service.service_QRcode?this.showPopup=!0:window.location.href=this.service},pluginGoto:function(t){t.name?"article"==t.name?this.$router.push(this.fun.getUrl(t.url,{id:"0"})):"liveList"==t.url?this.$router.push(this.fun.getUrl(t.url,{from:1})):"courier"==t.name?(window.localStorage.setItem("couriername",t.title),this.$router.push(this.fun.getUrl(t.url))):"m-erweima"==t.name?this.openQrCode("block"):"supplier"==t.name?this.$router.push(this.fun.getUrl(t.url,{uid:this.supplier_id})):this.$router.push(this.fun.getUrl(t.url,{fromHome:1})):this.$router.push(this.fun.getUrl(t.url,{fromHome:1}))},toPage:function(t){"withdrawal"===t&&(this.withdraw_date&&this.withdraw_date.disable||this.userInfo.auto_withdraw&&this.withdraw_date&&!this.withdraw_date.disable)?this.withdraw_date&&this.withdraw_date.disable&&this.toToast():t.indexOf("http")>=0?window.location.href=t:this.$router.push(this.fun.getUrl(t,{},{extension:"extension"}))},gotoPage:function(t){t.is_relation?t.is_agent?"point_activity"!==t.mark?"jyk-find-point-others"!==t.mark?this.$router.push(this.fun.getUrl(t.url,{})):this.$router.push(this.fun.getUrl("pointAward",{key:"other"})):this.$router.push(this.fun.getUrl(t.url,{},{num:this.userInfo.member_id})):this.$router.push(this.fun.getUrl("ExtensionApply",{})):this.$dialog.alert({message:"未开放该权限"})},customizeIncome:function(){var t=this.fun.initMailLanguage();t&&t.income&&(this.income_name_text=t.income.income_name)},btnHighLight:function(){location.href=this.high_light.url}},components:{countTo:c.a,yzGoodsposter:d["a"],DConnectCustomerService:h["a"],U_backup:function(){return Promise.all([i.e("chunk-commons"),i.e("chunk-2d213ca5")]).then(i.bind(null,"86f2"))}}},g=p,m=g,v=(i("9342"),i("2877")),y=Object(v["a"])(m,n,a,!1,null,"2cd9f1c5",null);e["default"]=y.exports},c775:function(t,e,i){i("a15b");var n=i("2b17"),a=n.retrieveRawValue;function r(t,e){var i=t.mapDimension("defaultedLabel",!0),n=i.length;if(1===n)return a(t,e,i[0]);if(n){for(var r=[],o=0;o=0;--a){var r=this.tryEntries[a],o=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var s=i.call(r,"catchLoc"),l=i.call(r,"finallyLoc");if(s&&l){if(this.prev=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),S(i),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var a=n.arg;S(i)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:M(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=void 0),d}},t}},ca98:function(t,e,i){i("d81d"),i("fb6a"),i("99af"),i("ac1f"),i("466d"),i("a15b");var n=i("6d8b"),a=i("e0d3"),r=i("6cb7"),o=n.each,s=n.clone,l=n.map,c=n.merge,u=/^(min|max)?(.+)$/;function h(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function d(t,e,i){var a,r,s=[],l=[],c=t.timeline;if(t.baseOption&&(r=t.baseOption),(c||t.options)&&(r=r||{},s=(t.options||[]).slice()),t.media){r=r||{};var u=t.media;o(u,(function(t){t&&t.option&&(t.query?l.push(t):a||(a=t))}))}return r||(r=t),r.timeline||(r.timeline=c),o([r].concat(s).concat(n.map(l,(function(t){return t.option}))),(function(t){o(e,(function(e){e(t,i)}))})),{baseOption:r,timelineOptions:s,mediaDefault:a,mediaList:l}}function f(t,e,i){var a={width:e,height:i,aspectratio:e/i},r=!0;return n.each(t,(function(t,e){var i=e.match(u);if(i&&i[1]&&i[2]){var n=i[1],o=i[2].toLowerCase();p(a[o],t,n)||(r=!1)}})),r}function p(t,e,i){return"min"===i?t>=e:"max"===i?t<=e:t===e}function g(t,e){return t.join(",")===e.join(",")}function m(t,e){e=e||{},o(e,(function(e,i){if(null!=e){var n=t[i];if(r.hasClass(i)){e=a.normalizeToArray(e),n=a.normalizeToArray(n);var o=a.mappingToExists(n,e);t[i]=l(o,(function(t){return t.option&&t.exist?c(t.exist,t.option,!0):t.exist||t.option}))}else t[i]=c(n,e,!0)}}))}h.prototype={constructor:h,setOption:function(t,e){t&&n.each(a.normalizeToArray(t.series),(function(t){t&&t.data&&n.isTypedArray(t.data)&&n.setAsPrimitive(t.data)})),t=s(t);var i=this._optionBackup,r=d.call(this,t,e,!i);this._newBaseOption=r.baseOption,i?(m(i.baseOption,r.baseOption),r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,i=this._timelineOptions;if(i.length){var n=t.getComponent("timeline");n&&(e=s(i[n.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e=this._api.getWidth(),i=this._api.getHeight(),n=this._mediaList,a=this._mediaDefault,r=[],o=[];if(!n.length&&!a)return o;for(var c=0,u=n.length;c1e-10&&(a.width+=o/s,a.height+=o/s,a.x-=o/s/2,a.y-=o/s/2)}return a}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),a=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var r=this.path.data;if(a.hasStroke()){var s=a.lineWidth,l=a.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(a.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(r,s/l,t,e)))return!0}if(a.hasFill())return o.contain(r,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):n.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(a.isObject(t))for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]);else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&c(t[0]-1)>1e-10&&c(t[3]-1)>1e-10?Math.sqrt(c(t[0]*t[3]-t[2]*t[1])):1}},h.extend=function(t){var e=function(e){h.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var i=t.shape;if(i){this.shape=this.shape||{};var n=this.shape;for(var a in i)!n.hasOwnProperty(a)&&i.hasOwnProperty(a)&&(n[a]=i[a])}t.init&&t.init.call(this,e)};for(var i in a.inherits(e,h),t)"style"!==i&&"shape"!==i&&(e.prototype[i]=t[i]);return e},a.inherits(h,n);var d=h;t.exports=d},cbe9:function(t,e,i){var n=i("6d8b"),a=i("9850"),r=i("cf7e");function o(t){r.call(this,t)}o.prototype={constructor:o,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),i=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&i.contain(i.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,i){var n=this.getAxis("x"),a=this.getAxis("y");return i=i||[],i[0]=n.toGlobalCoord(n.dataToCoord(t[0])),i[1]=a.toGlobalCoord(a.dataToCoord(t[1])),i},clampData:function(t,e){var i=this.getAxis("x").scale,n=this.getAxis("y").scale,a=i.getExtent(),r=n.getExtent(),o=i.parse(t[0]),s=n.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(a[0],a[1]),o),Math.max(a[0],a[1])),e[1]=Math.min(Math.max(Math.min(r[0],r[1]),s),Math.max(r[0],r[1])),e},pointToData:function(t,e){var i=this.getAxis("x"),n=this.getAxis("y");return e=e||[],e[0]=i.coordToData(i.toLocalCoord(t[0])),e[1]=n.coordToData(n.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")},getArea:function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),i=Math.min(t[0],t[1]),n=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-i,o=Math.max(e[0],e[1])-n,s=new a(i,n,r,o);return s}},n.inherits(o,r);var s=o;t.exports=s},cccd:function(t,e,i){var n=i("e0d3"),a=n.makeInner;function r(){var t=a();return function(e){var i=t(e),n=e.pipelineContext,a=i.large,r=i.progressiveRender,o=i.large=n&&n.large,s=i.progressiveRender=n&&n.progressiveRender;return!!(a^o||r^s)&&"reset"}}t.exports=r},cd33:function(t,e,i){i("b0c0"),i("fb6a");var n=i("6d8b"),a=i("4319"),r=n.each,o=n.curry;function s(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(i,t,e),i.seriesInvolved&&u(i,t),i}function l(t,e,i){var n=e.getComponent("tooltip"),a=e.getComponent("axisPointer"),s=a.get("link",!0)||[],l=[];r(i.getCoordinateSystems(),(function(i){if(i.axisPointerEnabled){var u=v(i.model),d=t.coordSysAxesInfo[u]={};t.coordSysMap[u]=i;var f=i.model,p=f.getModel("tooltip",n);if(r(i.getAxes(),o(_,!1,null)),i.getTooltipAxes&&n&&p.get("show")){var g="axis"===p.get("trigger"),y="cross"===p.get("axisPointer.type"),x=i.getTooltipAxes(p.get("axisPointer.axis"));(g||y)&&r(x.baseAxes,o(_,!y||"cross",g)),y&&r(x.otherAxes,o(_,"cross",!1))}}function _(n,r,o){var u=o.model.getModel("axisPointer",a),f=u.get("show");if(f&&("auto"!==f||n||m(u))){null==r&&(r=u.get("triggerTooltip")),u=n?c(o,p,a,e,n,r):u;var g=u.get("snap"),y=v(o.model),x=r||g||"category"===o.type,_=t.axesInfo[y]={key:y,axis:o,coordSys:i,axisPointerModel:u,triggerTooltip:r,involveSeries:x,snap:g,useHandle:m(u),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 c(t,e,i,o,s,l){var c=e.getModel("axisPointer"),u={};r(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){u[t]=n.clone(c.get(t))})),u.snap="category"!==t.type&&!!l,"cross"===c.get("type")&&(u.type="line");var h=u.label||(u.label={});if(null==h.show&&(h.show=!1),"cross"===s){var d=c.get("label.show");if(h.show=null==d||d,!l){var f=u.lineStyle=c.get("crossStyle");f&&n.defaults(h,f.textStyle)}}return t.model.getModel("axisPointer",new a(u,i,o))}function u(t,e){e.eachSeries((function(e){var i=e.coordinateSystem,n=e.get("tooltip.trigger",!0),a=e.get("tooltip.show",!0);i&&"none"!==n&&!1!==n&&"item"!==n&&!1!==a&&!1!==e.get("axisPointer.show",!0)&&r(t.coordSysAxesInfo[v(i.model)],(function(t){var n=t.axis;i.getAxis(n.dim)===n&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}),this)}function h(t,e){for(var i=e.model,n=e.dim,a=0;a=0||t===e}function f(t){var e=p(t);if(e){var i=e.axisPointerModel,n=e.axis.scale,a=i.option,r=i.get("status"),o=i.get("value");null!=o&&(o=n.parse(o));var s=m(i);null==r&&(a.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o=0;p--){var g=t[p];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,u)),h>=0){var m=g.data.getByRawIndex(g.stackResultDimension,h);if(d>=0&&m>0||d<=0&&m<0){d+=m,f=m;break}}}return n[0]=d,n[1]=f,n}));o.hostModel.setData(l),e.data=l}))}t.exports=o},d28f:function(t,e,i){var n=i("3eba");i("84d5"),i("4650"),i("5e97");var a=i("903c"),r=i("6cb7");n.registerProcessor(n.PRIORITY.PROCESSOR.SERIES_FILTER,a),r.registerSubTypeDefaulter("legend",(function(){return"plain"}))},d2cf:function(t,e,i){var n=i("6d8b"),a=i("401b"),r=i("cb6d"),o=i("1fab"),s=i("607d"),l=i("0b44"),c="silent";function u(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:h}}function h(){s.stop(this.event)}function d(){}d.prototype.dispose=function(){};var f=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p=function(t,e,i,n){o.call(this),this.storage=t,this.painter=e,this.painterRoot=n,i=i||new d,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,r.call(this),this.setHandlerProxy(i)};function g(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){var n,a=t;while(a){if(a.clipPath&&!a.clipPath.contain(e,i))return!1;a.silent&&(n=!0),a=a.parent}return!n||c}return!1}function m(t,e,i){var n=t.painter;return e<0||e>n.getWidth()||i<0||i>n.getHeight()}p.prototype={constructor:p,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(n.each(f,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,i=t.zrY,n=m(this,e,i),a=this._hovered,r=a.target;r&&!r.__zr&&(a=this.findHover(a.x,a.y),r=a.target);var o=this._hovered=n?{x:e,y:i}:this.findHover(e,i),s=o.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),r&&s!==r&&this.dispatchToElement(a,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==r&&this.dispatchToElement(o,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,i=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!i&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var i=this[t];i&&i.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,i){t=t||{};var n=t.target;if(!n||!n.silent){var a="on"+e,r=u(e,t,i);while(n)if(n[a]&&(r.cancelBubble=n[a].call(n,r)),n.trigger(e,r),n=n.parent,r.cancelBubble)break;r.cancelBubble||(this.trigger(e,r),this.painter&&this.painter.eachOtherLayer((function(t){"function"===typeof t[a]&&t[a].call(t,r),t.trigger&&t.trigger(e,r)})))}},findHover:function(t,e,i){for(var n=this.storage.getDisplayList(),a={x:t,y:e},r=n.length-1;r>=0;r--){var o;if(n[r]!==i&&!n[r].ignore&&(o=g(n[r],t,e))&&(!a.topTarget&&(a.topTarget=n[r]),o!==c)){a.target=n[r];break}}return a},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var i=this._gestureMgr;"start"===e&&i.clear();var n=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),n){var a=n.type;t.gestureEvent=a,this.dispatchToElement({target:n.target},a,n.event)}}},n.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){p.prototype[t]=function(e){var i,n,r=e.zrX,o=e.zrY,s=m(this,r,o);if("mouseup"===t&&s||(i=this.findHover(r,o),n=i.target),"mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||a.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}})),n.mixin(p,o),n.mixin(p,r);var v=p;t.exports=v},d3f4:function(t,e){function i(t){return{seriesType:t,reset:function(t,e){var i=e.findComponents({mainType:"legend"});if(i&&i.length){var n=t.getData();n.filterSelf((function(t){for(var e=n.getName(t),a=0;a=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,e){a.unregister(e.getZr(),"axisPointer"),r.superApply(this._model,"remove",arguments)},dispose:function(t,e){a.unregister("axisPointer",e),r.superApply(this._model,"dispose",arguments)}}),o=r;t.exports=o},d4c6:function(t,e,i){var n=i("cbe5"),a=n.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i=a||m<0)break;if(f(y)){if(p){m+=r;continue}break}if(m===i)t[r>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=e[g],_="y"===u?1:0,b=(y[_]-x[_])*l;c(h,x),h[_]=x[_]+b,c(d,y),d[_]=y[_]-b,t.bezierCurveTo(h[0],h[1],d[0],d[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=m,m+=r}return v}function m(t,e,i,n,r,p,g,m,v,y,x){for(var _=0,b=i,w=0;w=r||b<0)break;if(f(A)){if(x){b+=p;continue}break}if(b===i)t[p>0?"moveTo":"lineTo"](A[0],A[1]),c(h,A);else if(v>0){var S=b+p,C=e[S];if(x)while(C&&f(e[S]))S+=p,C=e[S];var M=.5,I=e[_];C=e[S];if(!C||f(C))c(d,A);else{var T,k;if(f(C)&&!x&&(C=A),a.sub(u,C,I),"x"===y||"y"===y){var D="x"===y?0:1;T=Math.abs(A[D]-I[D]),k=Math.abs(A[D]-C[D])}else T=a.dist(A,I),k=a.dist(A,C);M=k/(k+T),l(d,A,u,-v*(1-M))}o(h,h,m),s(h,h,g),o(d,d,m),s(d,d,g),t.bezierCurveTo(h[0],h[1],d[0],d[1],A[0],A[1]),l(h,A,u,v*M)}else t.lineTo(A[0],A[1]);_=b,b+=p}return w}function v(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var a=0;an[0]&&(n[0]=r[0]),r[1]>n[1]&&(n[1]=r[1])}return{min:e?i:n,max:e?n:i}}var y=n.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:r(n.prototype.brush),buildPath:function(t,e){var i=e.points,n=0,a=i.length,r=v(i,e.smoothConstraint);if(e.connectNulls){for(;a>0;a--)if(!f(i[a-1]))break;for(;n0;r--)if(!f(i[r-1]))break;for(;a=this._maxSize&&o>0){var l=i.head;i.remove(l),delete n[l.key],r=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new a(e),s.key=t,i.insertEntry(s),n[t]=s}return r},o.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},o.clear=function(){this._list.clear(),this._map={}};var s=r;t.exports=s},d5b7:function(t,e,i){var n=i("de00"),a=i("1fab"),r=i("0cde"),o=i("bd6b"),s=i("6d8b"),l=function(t){r.call(this,t),a.call(this,t),o.call(this,t),this.id=t.id||n()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var i=this[t];i||(i=this[t]=[]),i[0]=e[0],i[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var i in t)t.hasOwnProperty(i)&&this.attrKV(i,t[i]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var i=0;ie&&c>n&&c>r&&c>s||c1&&y(),d=u.cubicAt(e,n,r,s,v[0]),g>1&&(f=u.cubicAt(e,n,r,s,v[1]))),2===g?_e&&s>n&&s>r||s=0&&c<=1){for(var h=0,d=u.quadraticAt(e,n,r,c),f=0;fi||s<-i)return 0;var l=Math.sqrt(i*i-s*s);m[0]=-l,m[1]=l;var u=Math.abs(n-a);if(u<1e-4)return 0;if(u%f<1e-4){n=0,a=f;var h=r?1:-1;return o>=m[0]+t&&o<=m[1]+t?h:0}if(r){l=n;n=c(a),a=c(l)}else n=c(n),a=c(a);n>a&&(a+=f);for(var d=0,p=0;p<2;p++){var g=m[p];if(g+t>o){var v=Math.atan2(s,g);h=r?1:-1;v<0&&(v=f+v),(v>=n&&v<=a||v+f>=n&&v+f<=a)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),d+=h)}}return d}function w(t,e,i,n,l){for(var c=0,u=0,f=0,p=0,m=0,v=0;v1&&(i||(c+=h(u,f,p,m,n,l))),1===v&&(u=t[v],f=t[v+1],p=u,m=f),y){case d.M:p=t[v++],m=t[v++],u=p,f=m;break;case d.L:if(i){if(a.containStroke(u,f,t[v],t[v+1],e,n,l))return!0}else c+=h(u,f,t[v],t[v+1],n,l)||0;u=t[v++],f=t[v++];break;case d.C:if(i){if(r.containStroke(u,f,t[v++],t[v++],t[v++],t[v++],t[v],t[v+1],e,n,l))return!0}else c+=x(u,f,t[v++],t[v++],t[v++],t[v++],t[v],t[v+1],n,l)||0;u=t[v++],f=t[v++];break;case d.Q:if(i){if(o.containStroke(u,f,t[v++],t[v++],t[v],t[v+1],e,n,l))return!0}else c+=_(u,f,t[v++],t[v++],t[v],t[v+1],n,l)||0;u=t[v++],f=t[v++];break;case d.A:var w=t[v++],A=t[v++],S=t[v++],C=t[v++],M=t[v++],I=t[v++];v+=1;var T=1-t[v++],k=Math.cos(M)*S+w,D=Math.sin(M)*C+A;v>1?c+=h(u,f,k,D,n,l):(p=k,m=D);var P=(n-w)*C/S+w;if(i){if(s.containStroke(w,A,C,M,M+I,T,e,P,l))return!0}else c+=b(w,A,C,M,M+I,T,P,l);u=Math.cos(M+I)*S+w,f=Math.sin(M+I)*C+A;break;case d.R:p=u=t[v++],m=f=t[v++];var O=t[v++],L=t[v++];k=p+O,D=m+L;if(i){if(a.containStroke(p,m,k,m,e,n,l)||a.containStroke(k,m,k,D,e,n,l)||a.containStroke(k,D,p,D,e,n,l)||a.containStroke(p,D,p,m,e,n,l))return!0}else c+=h(k,m,k,D,n,l),c+=h(p,D,p,m,n,l);break;case d.Z:if(i){if(a.containStroke(u,f,p,m,e,n,l))return!0}else c+=h(u,f,p,m,n,l);u=p,f=m;break}}return i||g(f,m)||(c+=h(u,f,p,m,n,l)||0),0!==c}function A(t,e,i){return w(t,0,!1,e,i)}function S(t,e,i,n){return w(t,e,!0,i,n)}e.contain=A,e.containStroke=S},d9fc:function(t,e,i){var n=i("cbe5"),a=n.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,i){i&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=a},dc2f:function(t,e,i){i("38cf");var n=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var a=n;t.exports=a},dcb3:function(t,e,i){i("fb6a");var n=i("6d8b"),a=i("625e"),r=i("2306"),o=i("cd33"),s=i("607d"),l=i("88b3"),c=i("e0d3"),u=c.makeInner,h=u(),d=n.clone,f=n.bind;function p(){}function g(t,e,i,n){m(h(i).lastProp,n)||(h(i).lastProp=n,e?r.updateProps(i,n,t):(i.stopAnimation(),i.attr(n)))}function m(t,e){if(n.isObject(t)&&n.isObject(e)){var i=!0;return n.each(e,(function(e,n){i=i&&m(t[n],e)})),!!i}return t===e}function v(t,e){t[e.get("label.show")?"show":"hide"]()}function y(t){return{position:t.position.slice(),rotation:t.rotation||0}}function x(t,e,i){var n=e.get("z"),a=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=a&&(t.zlevel=a),t.silent=i)}))}p.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,i,a){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,a||this._lastValue!==o||this._lastStatus!==s){this._lastValue=o,this._lastStatus=s;var l=this._group,c=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(c&&c.hide());l&&l.show(),c&&c.show();var u={};this.makeElOption(u,o,t,e,i);var h=u.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,u,f,e),this.updateLabelEl(l,u,f,e)}else l=this._group=new r.Group,this.createPointerEl(l,u,t,e),this.createLabelEl(l,u,t,e),i.getZr().add(l);x(l,e,!0),this._renderHandle(o)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var i=e.get("animation"),n=t.axis,a="category"===n.type,r=e.get("snap");if(!r&&!a)return!1;if("auto"===i||null==i){var s=this.animationThreshold;if(a&&n.getBandWidth()>s)return!0;if(r){var l=o.getAxisInfo(t).seriesDataCount,c=n.getExtent();return Math.abs(c[0]-c[1])/l>s}return!1}return!0===i},makeElOption:function(t,e,i,n,a){},createPointerEl:function(t,e,i,n){var a=e.pointer;if(a){var o=h(t).pointerEl=new r[a.type](d(e.pointer));t.add(o)}},createLabelEl:function(t,e,i,n){if(e.label){var a=h(t).labelEl=new r.Rect(d(e.label));t.add(a),v(a,n)}},updatePointerEl:function(t,e,i){var n=h(t).pointerEl;n&&e.pointer&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,i,n){var a=h(t).labelEl;a&&(a.setStyle(e.label.style),i(a,{shape:e.label.shape,position:e.label.position}),v(a,n))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,a=this._api.getZr(),o=this._handle,c=i.getModel("handle"),u=i.get("status");if(!c.get("show")||!u||"hide"===u)return o&&a.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=r.createIcon(c.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:f(this._onHandleDragMove,this,0,0),drift:f(this._onHandleDragMove,this),ondragend:f(this._onHandleDragEnd,this)}),a.add(o)),x(o,i,!1);var h=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];o.setStyle(c.getItemStyle(null,h));var d=c.get("size");n.isArray(d)||(d=[d,d]),o.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",c.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){g(this._axisPointerModel,!e&&this._moveAnimation,this._handle,y(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(y(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(y(n)),h(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var t=this._handle;if(t){var e=this._payloadInfo,i=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:i.axis.dim,axisIndex:i.componentIndex}]})}},_onHandleDragEnd:function(t){this._dragging=!1;var e=this._handle;if(e){var i=this._axisPointerModel.get("value");this._moveHandleToValue(i),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),i=this._group,n=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}},p.prototype.constructor=p,a.enableClassExtend(p);var _=p;t.exports=_},dded:function(t,e,i){var n=i("6d8b"),a=i("42e5"),r=function(t,e,i,n,r){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==i?.5:i,this.type="radial",this.global=r||!1,a.call(this,n)};r.prototype={constructor:r},n.inherits(r,a);var o=r;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},de8c:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAApxJREFUeNrsWUtuwjAQdaLum96AnqDpCUqXXTWcoLDrDjgB9ASUXXfACWDXJblB0xOUI9AbdAYNkmXF8fiTNK0ykgVSHPu98XjmDQjRWWed/WmLmtzs+/mhBx8pDbQjjPzy7b1oNQECvoCRaaYcYGxgvAKZY6sIAPghfKyY05HIwOZEogAAEykkTiAAwKECPD7b4WMYNzD6MBLpOZ7APZdE5AEawT0p4NWQmCnARgBsV7LehOYm0txrTjhFDuAziueexWtGr8K66Ii9RGIN80dBCVjGs2w7ADNgrN8nEme7Mp1CbOn5leNVyeD9hWkSgM0xrcrvmd6JLWJ+5XnfJ+Rhky2l73dBCODmSqZwtRkzlZ6tF4rAOFBZ6FNR4xIQ3gTo2BMRzkxxnSrZy/sE0sDFObHY7zMEgUQ0a3K4FqHuQFNqdS5d3ENZ1XYhUDQEfqJkqRfOexe/QCCXJPa5PxgrKRN7hHWQLETKMhQJDIucvP1FskHVVbjXgLsg9w4sAxHY0OejIQvNqPqHIUDHmXuCL2CdOX2f0npFReX/IIUaRo2SR/aOdQEL0u250dG0nFnJXTDKcFs57UKioEamYO4xL2mEtORt60DmUNhOWYYb0xRm95KMqFTCEdMrKS3iIyu0LSWzeRqVpdaYudBe+Gsi9OSW09hIiWNtkuIx0wsh9RA2NtzmaCqFUo/w8AhIYVOHDcvAlJzCkX6CEbr6EVdkm23N8mfBaG7UIppxT2Bi+bOJ651YMU6hsKrE5P2xaMb6VdUWsZBuslKjw4abGJQMVkrWFEJPop12qiMcAmkLga91cuKiJSCvdVrHRU4fm/awK3gdgWXDBLz2izTpa0G1oG7Dv5SmwQkoTUZS08Xc+YROZ5119k/sR4ABADwD97GXYybTAAAAAElFTkSuQmCC"},e073:function(t,e,i){i("d81d");var n=i("6d8b"),a=i("e86a"),r=i("e0d3"),o=r.makeInner,s=i("697e"),l=s.makeLabelFormatter,c=s.getOptionCategoryInterval,u=s.shouldShowAllLabels,h=o();function d(t){return"category"===t.type?p(t):v(t)}function f(t,e){return"category"===t.type?m(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,a,r=y(t,"labels"),o=c(e),s=x(r,o);return s||(n.isFunction(o)?i=C(t,o):(a="auto"===o?b(t):o,i=S(t,a)),_(r,o,{labels:i,labelCategoryInterval:a}))}function m(t,e){var i,a,r=y(t,"ticks"),o=c(e),s=x(r,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());a=l.labelCategoryInterval,i=n.map(l.labels,(function(t){return t.tickValue}))}else a=o,i=S(t,a,!0);return _(r,o,{ticks:i,tickCategoryInterval:a})}function v(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;i40&&(c=Math.max(1,Math.floor(s/40)));for(var u=o[0],d=t.dataToCoord(u+1)-t.dataToCoord(u),f=Math.abs(d*Math.cos(n)),p=Math.abs(d*Math.sin(n)),g=0,m=0;u<=o[1];u+=c){var v=0,y=0,x=a.getBoundingRect(i(u),e.font,"center","top");v=1.3*x.width,y=1.3*x.height,g=Math.max(g,v,7),m=Math.max(m,y,7)}var _=g/f,b=m/p;isNaN(_)&&(_=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(_,b))),S=h(t.model),C=t.getExtent(),M=S.lastAutoInterval,I=S.lastTickCount;return null!=M&&null!=I&&Math.abs(M-w)<=1&&Math.abs(I-s)<=1&&M>w&&S.axisExtend0===C[0]&&S.axisExtend1===C[1]?w=M:(S.lastTickCount=s,S.lastAutoInterval=w,S.axisExtend0=C[0],S.axisExtend1=C[1]),w}function A(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 S(t,e,i){var n=l(t),a=t.scale,r=a.getExtent(),o=t.getLabelModel(),s=[],c=Math.max((e||0)+1,1),h=r[0],d=a.count();0!==h&&c>1&&d/c>2&&(h=Math.round(Math.ceil(h/c)*c));var f=u(t),p=o.get("showMinLabel")||f,g=o.get("showMaxLabel")||f;p&&h!==r[0]&&v(r[0]);for(var m=h;m<=r[1];m+=c)v(m);function v(t){s.push(i?t:{formattedLabel:n(t),rawLabel:a.getLabel(t),tickValue:t})}return g&&m-c!==r[1]&&v(r[1]),s}function C(t,e,i){var a=t.scale,r=l(t),o=[];return n.each(a.getTicks(),(function(t){var n=a.getLabel(t);e(t,n)&&o.push(i?t:{formattedLabel:r(t),rawLabel:n,tickValue:t})})),o}e.createAxisLabels=d,e.createAxisTicks=f,e.calculateCategoryInterval=w},e0d3:function(t,e,i){i("fb6a"),i("d81d"),i("b0c0"),i("b680"),i("ac1f"),i("466d");var n=i("6d8b"),a=i("22d1"),r=n.each,o=n.isObject,s=n.isArray,l="series\0";function c(t){return t instanceof Array?t:null==t?[]:[t]}function u(t,e,i){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var n=0,a=i.length;n=i.length&&i.push({option:t})}})),i}function g(t){var e=n.createHashMap();r(t,(function(t,i){var n=t.exist;n&&e.set(n.id,t)})),r(t,(function(t,i){var a=t.option;n.assert(!a||null==a.id||!e.get(a.id)||e.get(a.id)===t,"id duplicates: "+(a&&a.id)),a&&null!=a.id&&e.set(a.id,t),!t.keyInfo&&(t.keyInfo={})})),r(t,(function(t,i){var n=t.exist,a=t.option,r=t.keyInfo;if(o(a)){if(r.name=null!=a.name?a.name+"":n?n.name:l+i,n)r.id=n.id;else if(null!=a.id)r.id=a.id+"";else{var s=0;do{r.id="\0"+r.name+"\0"+s++}while(e.get(r.id))}e.set(r.id,t)}}))}function m(t){var e=t.name;return!(!e||!e.indexOf(l))}function v(t){return o(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function y(t,e){var i={},n={};return a(t||[],i),a(e||[],n,i),[r(i),r(n)];function a(t,e,i){for(var n=0,a=t.length;n=e[0]&&t<=e[1]},a.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},a.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},a.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},a.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},a.prototype.getExtent=function(){return this._extent.slice()},a.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},a.prototype.isBlank=function(){return this._isBlank},a.prototype.setBlank=function(t){this._isBlank=t},a.prototype.getLabel=null,n.enableClassExtend(a),n.enableClassManagement(a,{registerWhenExtend:!0});var r=a;t.exports=r},e1fc:function(t,e,i){i("fb6a"),i("b0c0"),i("a434");var n=i("6d8b"),a=i("d5b7"),r=i("9850"),o=function(t){for(var e in t=t||{},a.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};o.prototype={constructor:o,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,i=0;i=0&&(i.splice(n,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var e=this.__zr,i=this.__storage,a=this._children,r=n.indexOf(a,t);return r<0||(a.splice(r,1),t.parent=null,i&&(i.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(i)),e&&e.refresh()),this},removeAll:function(){var t,e,i=this._children,n=this.__storage;for(e=0;e1e-4)return p[0]=t-i,p[1]=e-a,g[0]=t+i,void(g[1]=e+a);if(u[0]=l(r)*i+t,u[1]=s(r)*a+e,h[0]=l(o)*i+t,h[1]=s(o)*a+e,m(p,u,h),v(g,u,h),r%=c,r<0&&(r+=c),o%=c,o<0&&(o+=c),r>o&&!f?o+=c:rr&&(d[0]=l(_)*i+t,d[1]=s(_)*a+e,m(p,d,p),v(g,d,g))}e.fromPoints=f,e.fromLine=p,e.fromCubic=v,e.fromQuadratic=y,e.fromArc=x},e46b:function(t,e,i){var n=i("b1d4"),a=i("6179"),r=i("6d8b"),o=r.extend,s=r.isArray;function l(t,e,i){e=s(e)&&{coordDimensions:e}||o({},e);var r=t.getSource(),l=n(r,e),c=new a(l,t);return c.initData(r,i),c}t.exports=l},e47b:function(t,e,i){var n=i("e0d3"),a=n.makeInner,r=n.normalizeToArray,o=a();function s(t,e){for(var i=t.length,n=0;ne)return t[n];return t[i-1]}var l={clearColorPalette:function(){o(this).colorIdx=0,o(this).colorNameMap={}},getColorFromPalette:function(t,e,i){e=e||this;var n=o(e),a=n.colorIdx||0,l=n.colorNameMap=n.colorNameMap||{};if(l.hasOwnProperty(t))return l[t];var c=r(this.get("color",!0)),u=this.get("colorLayer",!0),h=null!=i&&u?s(u,i):c;if(h=h||c,h&&h.length){var d=h[a];return t&&(l[t]=d),n.colorIdx=(a+1)%h.length,d}}};t.exports=l},e7aa:function(t,e,i){var n=i("2306"),a=i("c775"),r=a.getDefaultLabel;function o(t,e,i,a,o,l,c){var u=i.getModel("label"),h=i.getModel("emphasis.label");n.setLabelStyle(t,e,u,h,{labelFetcher:o,labelDataIndex:l,defaultText:r(o.getData(),l),isRectText:!0,autoColor:a}),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 a(t,e,i,a,r,o,s,l,c,u,h){if(0===c)return!1;var d=c;if(h>e+d&&h>a+d&&h>o+d&&h>l+d||ht+d&&u>i+d&&u>r+d&&u>s+d||uf&&(d=0,h={}),d++,h[i]=a,a}function x(t,e,i,n,a,r,o,s){return o?b(t,e,i,n,a,r,o,s):_(t,e,i,n,a,r,s)}function _(t,e,i,a,r,o,s){var l=O(t,e,r,o,s),c=y(t,e);r&&(c+=r[1]+r[3]);var u=l.outerHeight,h=w(0,c,i),d=A(0,u,a),f=new n(h,d,c,u);return f.lineHeight=l.lineHeight,f}function b(t,e,i,a,r,o,s,l){var c=L(t,{rich:s,truncate:l,font:e,textAlign:i,textPadding:r,textLineHeight:o}),u=c.outerWidth,h=c.outerHeight,d=w(0,u,i),f=A(0,h,a);return new n(d,f,u,h)}function w(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function A(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function S(t,e,i){var n=e.textPosition,a=e.textDistance,r=i.x,o=i.y;a=a||0;var s=i.height,l=i.width,c=s/2,u="left",h="top";switch(n){case"left":r-=a,o+=c,u="right",h="middle";break;case"right":r+=a+l,o+=c,h="middle";break;case"top":r+=l/2,o-=a,u="center",h="bottom";break;case"bottom":r+=l/2,o+=s+a,u="center";break;case"inside":r+=l/2,o+=c,u="center",h="middle";break;case"insideLeft":r+=a,o+=c,h="middle";break;case"insideRight":r+=l-a,o+=c,u="right",h="middle";break;case"insideTop":r+=l/2,o+=a,u="center";break;case"insideBottom":r+=l/2,o+=s-a,u="center",h="bottom";break;case"insideTopLeft":r+=a,o+=a;break;case"insideTopRight":r+=l-a,o+=a,u="right";break;case"insideBottomLeft":r+=a,o+=s-a,h="bottom";break;case"insideBottomRight":r+=l-a,o+=s-a,u="right",h="bottom";break}return t=t||{},t.x=r,t.y=o,t.textAlign=u,t.textVerticalAlign=h,t}function C(t,e,i){var n={textPosition:t,textDistance:i};return S({},n,e)}function M(t,e,i,n,a){if(!e)return"";var r=(t+"").split("\n");a=I(e,i,n,a);for(var o=0,s=r.length;o=r;c++)o-=r;var u=y(i,e);return u>o&&(i="",u=0),o=t-u,n.ellipsis=i,n.ellipsisWidth=u,n.contentWidth=o,n.containerWidth=t,n}function T(t,e){var i=e.containerWidth,n=e.font,a=e.contentWidth;if(!i)return"";var r=y(t,n);if(r<=i)return t;for(var o=0;;o++){if(r<=a||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?k(t,a,e.ascCharWidth,e.cnCharWidth):r>0?Math.floor(t.length*a/r):0;t=t.substr(0,s),r=y(t,n)}return""===t&&(t=e.placeholder),t}function k(t,e,i,n){for(var a=0,r=0,o=t.length;rh)t="",o=[];else if(null!=d)for(var f=I(d-(i?i[1]+i[3]:0),e,a.ellipsis,{minChar:a.minChar,placeholder:a.placeholder}),p=0,g=o.length;pr&&E(i,t.substring(r,o)),E(i,n[2],n[1]),r=p.lastIndex}rv)return{lines:[],width:0,height:0};S.textWidth=y(S.text,T);var P=C.textWidth,O=null==P||"auto"===P;if("string"===typeof P&&"%"===P.charAt(P.length-1))S.percentWidth=P,d.push(S),P=0;else{if(O){P=S.textWidth;var L=C.textBackgroundColor,R=L&&L.image;R&&(R=a.findExistImage(R),a.isImageReady(R)&&(P=Math.max(P,R.width*k/R.height)))}var B=I?I[1]+I[3]:0;P+=B;var N=null!=m?m-w:null;null!=N&&N=0&&s<0)&&(o=g,s=p,a=u,r.length=0),l(h,(function(t){r.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:r,snapToValue:a}}function p(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function g(t,e,i,n){var a=i.payloadBatch,r=e.axis,s=r.model,l=e.axisPointerModel;if(e.triggerTooltip&&a.length){var c=e.coordSys.model,u=o.makeKey(c),h=t.map[u];h||(h=t.map[u]={coordSysId:c.id,coordSysIndex:c.componentIndex,coordSysType:c.type,coordSysMainType:c.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:r.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:n,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:a.slice()})}}function m(t,e,i){var n=i.axesInfo=[];l(e,(function(e,i){var a=e.axisPointerModel.option,r=t[i];r?(!e.useHandle&&(a.status="show"),a.value=r.value,a.seriesDataIndices=(r.payloadBatch||[]).slice()):!e.useHandle&&(a.status="hide"),"show"===a.status&&n.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:a.value})}))}function v(t,e,i,n){if(!b(e)&&t.list.length){var a=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:t.list})}else n({type:"hideTip"})}function y(t,e,i){var a=i.getZr(),r="axisPointerLastHighlights",o=u(a)[r]||{},s=u(a)[r]={};l(t,(function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&l(i.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;s[e]=t}))}));var c=[],h=[];n.each(o,(function(t,e){!s[e]&&h.push(t)})),n.each(s,(function(t,e){!o[e]&&c.push(t)})),h.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:h}),c.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:c})}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"),a=i("84ce"),r=function(t,e,i,n,r){a.call(this,t,e,i),this.type=n||"value",this.position=r||"bottom"};r.prototype={constructor:r,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},n.inherits(r,a);var o=r;t.exports=o},ec1b:function(t,e,i){(function(t){var n,a,r,o=i("7037").default;i("a9e3"),i("b680"),i("ac1f"),i("1276"),i("00b4"),i("5319"),i("d3b7"),i("159b"),i("b64b"),function(i,s){"object"==o(e)&&"object"==o(t)?t.exports=s():(a=[],n=s,r="function"===typeof n?n.apply(e,a):n,void 0===r||(t.exports=r))}(0,(function(){return function(t){function e(n){if(i[n])return i[n].exports;var a=i[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var i={};return e.m=t,e.c=i,e.i=function(t){return t},e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=2)}([function(t,e,i){var n=i(4)(i(1),i(5),null,null);t.exports=n.exports},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(3);e.default={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(t){return t>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(t,e,i,n){return i*(1-Math.pow(2,-10*t/n))*1024/1023+e}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,n.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,n.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,n.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,n.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(t){this.startTime||(this.startTime=t),this.timestamp=t;var e=t-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(e/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e1?this.decimal+e[1]:"",a=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;a.test(i);)i=i.replace(a,"$1"+this.separator+"$2");return this.prefix+i+n+this.suffix}},destroyed:function(){(0,n.cancelAnimationFrame)(this.rAF)}}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(0),a=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=a.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",a.default)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=0,a="webkit moz ms o".split(" "),r=void 0,o=void 0;if("undefined"==typeof window)e.requestAnimationFrame=r=function(){},e.cancelAnimationFrame=o=function(){};else{e.requestAnimationFrame=r=window.requestAnimationFrame,e.cancelAnimationFrame=o=window.cancelAnimationFrame;for(var s=void 0,l=0;l=0&&i.splice(n,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i15)break}}o.__drawIndex=v,o.__drawIndex0&&t>n[0]){for(s=0;st)break;r=i[n[s]]}if(n.splice(s+1,0,t),i[t]=e,!e.virtual)if(r){var c=r.dom;c.nextSibling?l.insertBefore(e.dom,c.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else o("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var i,n,a=this._zlevelList;for(n=0;n0?g:0),this._needsManuallyCompositing),l.__builtin__||o("ZLevel "+c+" has been used by unkown layer "+l.id),l!==r&&(l.__used=!0,l.__startIndex!==i&&(l.__dirty=!0),l.__startIndex=i,l.incremental?l.__drawIndex=-1:l.__drawIndex=i,e(i),r=l),n.__dirty&&(l.__dirty=!0,l.incremental&&l.__drawIndex<0&&(l.__drawIndex=i))}e(i),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?r.merge(i[t],e,!0):i[t]=e;for(var n=0;n1?"."+t[1]:""))}function s(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var l=n.normalizeCssArray,c=/([&<>"'])/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"};function h(t){return null==t?"":(t+"").replace(c,(function(t,e){return u[e]}))}var d=["a","b","c","d","e","f","g"],f=function(t,e){return"{"+t+(null==e?"":e)+"}"};function p(t,e,i){n.isArray(e)||(e=[e]);var a=e.length;if(!a)return"";for(var r=e[0].$vars||[],o=0;o':'':{renderMode:r,content:"{marker"+o+"|} ",style:{color:i}}:""}function v(t,e){return t+="","0000".substr(0,e-t.length)+t}function y(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=r.parseDate(e),a=i?"UTC":"",o=n["get"+a+"FullYear"](),s=n["get"+a+"Month"]()+1,l=n["get"+a+"Date"](),c=n["get"+a+"Hours"](),u=n["get"+a+"Minutes"](),h=n["get"+a+"Seconds"](),d=n["get"+a+"Milliseconds"]();return t=t.replace("MM",v(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",v(l,2)).replace("d",l).replace("hh",v(c,2)).replace("h",c).replace("mm",v(u,2)).replace("m",u).replace("ss",v(h,2)).replace("s",h).replace("SSS",v(d,3)),t}function x(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}var _=a.truncateText;function b(t){return a.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)}function w(t,e,i,n,r,o,s,l){return a.getBoundingRect(t,e,i,n,r,l,o,s)}function A(t,e){if("_blank"===e||"blank"===e){var i=window.open();i.opener=null,i.location=t}else window.open(t,e)}e.addCommas=o,e.toCamelCase=s,e.normalizeCssArray=l,e.encodeHTML=h,e.formatTpl=p,e.formatTplSimple=g,e.getTooltipMarker=m,e.formatTime=y,e.capitalFirst=x,e.truncateText=_,e.getTextBoundingRect=b,e.getTextRect=w,e.windowOpen=A},ee1a:function(t,e,i){i("b0c0");var n=i("6d8b"),a=n.each,r=n.isString;function o(t,e,i){i=i||{};var n,o,s,l,c=i.byIndex,u=i.stackedCoordDimension,h=!(!t||!t.get("stack"));if(a(e,(function(t,i){r(t)&&(e[i]=t={name:t}),h&&!t.isExtraCoord&&(c||n||!t.ordinalMeta||(n=t),o||"ordinal"===t.type||"time"===t.type||u&&u!==t.coordDim||(o=t))})),!o||c||n||(c=!0),o){s="__\0ecstackresult",l="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var d=o.coordDim,f=o.type,p=0;a(e,(function(t){t.coordDim===d&&p++})),e.push({name:s,coordDim:d,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0}),p++,e.push({name:l,coordDim:l,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:n&&n.name,isStackedByIndex:c,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"),a=i("401b"),r=a.applyTransform,o=n.CMD,s=[[],[],[]],l=Math.sqrt,c=Math.atan2;function u(t,e){var i,n,a,u,h,d=t.data,f=o.M,p=o.C,g=o.L,m=o.R,v=o.A,y=o.Q;for(a=0,u=0;a=0;o--){var s=i[o].dimension,l=t.dimensions[s],c=t.getDimensionInfo(l);if(n=c&&c.coordDim,"x"===n||"y"===n){r=i[o];break}}if(r){var h=e.getAxis(n),d=a.map(r.stops,(function(t){return{coord:h.toGlobalCoord(h.dataToCoord(t.value)),color:t.color}})),f=d.length,p=r.outerColors.slice();f&&d[0].coord>d[f-1].coord&&(d.reverse(),p.reverse());var g=10,m=d[0].coord-g,v=d[f-1].coord+g,y=v-m;if(y<.001)return"transparent";a.each(d,(function(t){t.offset=(t.coord-m)/y})),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var x=new u.LinearGradient(0,0,0,0,d,!0);return x[n]=m,x[n+"2"]=v,x}}}function T(t,e,i){var n=t.get("showAllSymbol"),r="auto"===n;if(!n||r){var o=i.getAxesByScale("ordinal")[0];if(o&&(!r||!k(o,e))){var s=e.mapDimension(o.dim),l={};return a.each(o.getViewLabels(),(function(t){l[t.tickValue]=1})),function(t){return!l.hasOwnProperty(e.get(s,t))}}}}function k(t,e){var i=t.getExtent(),n=Math.abs(i[1]-i[0])/t.scale.count();isNaN(n)&&(n=0);for(var a=e.count(),r=Math.max(1,Math.round(a/5)),o=0;on)return!1;return!0}function D(t,e,i){if("cartesian2d"===t.type){var n=t.getBaseAxis().isHorizontal(),a=_(t,e,i);if(!i.get("clip",!0)){var r=a.shape,o=Math.max(r.width,r.height);n?(r.y-=o,r.height+=2*o):(r.x-=o,r.width+=2*o)}return a}return b(t,e,i)}var P=g.extend({type:"line",init:function(){var t=new u.Group,e=new s;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,i){var n=t.coordinateSystem,r=this.group,o=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),c=o.mapArray(o.getItemLayout),u="polar"===n.type,h=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,g=this._lineGroup,m=t.get("animation"),y=!l.isEmpty(),x=l.get("origin"),_=v(n,o,x),b=C(n,o,_),A=t.get("showSymbol"),k=A&&!u&&T(t,o,n),P=this._data;P&&P.eachItemGraphicEl((function(t,e){t.__temp&&(r.remove(t),P.setItemGraphicEl(e,null))})),A||d.remove(),r.add(g);var O,L=!u&&t.get("step");n&&n.getArea&&t.get("clip",!0)&&(O=n.getArea(),null!=O.width?(O.x-=.1,O.y-=.1,O.width+=.2,O.height+=.2):O.r0&&(O.r0-=.5,O.r1+=.5)),this._clipShapeForSymbol=O,f&&h.type===n.type&&L===this._step?(y&&!p?p=this._newPolygon(c,b,n,m):p&&!y&&(g.remove(p),p=this._polygon=null),g.setClipPath(D(n,!1,t)),A&&d.updateData(o,{isIgnore:k,clipShape:O}),o.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),w(this._stackedOnPoints,b)&&w(this._points,c)||(m?this._updateAnimation(o,b,n,i,L,x):(L&&(c=M(c,n,L),b=M(b,n,L)),f.setShape({points:c}),p&&p.setShape({points:c,stackedOnPoints:b})))):(A&&d.updateData(o,{isIgnore:k,clipShape:O}),L&&(c=M(c,n,L),b=M(b,n,L)),f=this._newPolyline(c,n,m),y&&(p=this._newPolygon(c,b,n,m)),g.setClipPath(D(n,!0,t)));var E=I(o,n)||o.getVisual("color");f.useStyle(a.defaults(s.getLineStyle(),{fill:"none",stroke:E,lineJoin:"bevel"}));var R=t.get("smooth");if(R=S(t.get("smooth")),f.setShape({smooth:R,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),p){var B=o.getCalculationInfo("stackedOnSeries"),N=0;p.useStyle(a.defaults(l.getAreaStyle(),{fill:E,opacity:.7,lineJoin:"bevel"})),B&&(N=S(B.get("smooth"))),p.setShape({smooth:R,stackedOnSmooth:N,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=o,this._coordSys=n,this._stackedOnPoints=b,this._points=c,this._step=L,this._valueOrigin=x},dispose:function(){},highlight:function(t,e,i,n){var a=t.getData(),r=h.queryDataIndex(a,n);if(!(r instanceof Array)&&null!=r&&r>=0){var o=a.getItemGraphicEl(r);if(!o){var s=a.getItemLayout(r);if(!s)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;o=new l(a,r),o.position=s,o.setZ(t.get("zlevel"),t.get("z")),o.ignore=isNaN(s[0])||isNaN(s[1]),o.__temp=!0,a.setItemGraphicEl(r,o),o.stopSymbolAnimation(!0),this.group.add(o)}o.highlight()}else g.prototype.highlight.call(this,t,e,i,n)},downplay:function(t,e,i,n){var a=t.getData(),r=h.queryDataIndex(a,n);if(null!=r&&r>=0){var o=a.getItemGraphicEl(r);o&&(o.__temp?(a.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay())}else g.prototype.downplay.call(this,t,e,i,n)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new f({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new p({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_updateAnimation:function(t,e,i,n,a,r){var o=this._polyline,s=this._polygon,l=t.hostModel,h=c(this._data,t,this._stackedOnPoints,e,this._coordSys,i,this._valueOrigin,r),d=h.current,f=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;if(a&&(d=M(h.current,i,a),f=M(h.stackedOnCurrent,i,a),p=M(h.next,i,a),g=M(h.stackedOnNext,i,a)),A(d,p)>3e3||s&&A(f,g)>3e3)return o.setShape({points:p}),void(s&&s.setShape({points:p,stackedOnPoints:g}));o.shape.__points=h.current,o.shape.points=d,u.updateProps(o,{shape:{points:p}},l),s&&(s.setShape({points:d,stackedOnPoints:f}),u.updateProps(s,{shape:{points:p,stackedOnPoints:g}},l));for(var m=[],v=h.status,y=0;y=1)&&(t=1),t}s===c&&l===d||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=h(this,n)),this._modBy=c,this._modDataCount=d;var p=t&&t.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,m=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!n&&(o||g1&&n>0?s:o}};return r;function o(){return e=t?null:rn||l.newline?(r=0,u=m,o+=s+i,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);h=o+v,h>a||l.newline?(r+=s+i,o=0,h=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=r,d[1]=o,"horizontal"===t?r=u+i:o=h+i)}))}var d=h,f=n.curry(h,"vertical"),p=n.curry(h,"horizontal");function g(t,e,i){var n=e.width,a=e.height,r=o(t.x,n),l=o(t.y,a),c=o(t.x2,n),u=o(t.y2,a);return(isNaN(r)||isNaN(parseFloat(t.x)))&&(r=0),(isNaN(c)||isNaN(parseFloat(t.x2)))&&(c=n),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(u)||isNaN(parseFloat(t.y2)))&&(u=a),i=s.normalizeCssArray(i||0),{width:Math.max(c-r-i[1]-i[3],0),height:Math.max(u-l-i[0]-i[2],0)}}function m(t,e,i){i=s.normalizeCssArray(i||0);var n=e.width,r=e.height,l=o(t.left,n),c=o(t.top,r),u=o(t.right,n),h=o(t.bottom,r),d=o(t.width,n),f=o(t.height,r),p=i[2]+i[0],g=i[1]+i[3],m=t.aspect;switch(isNaN(d)&&(d=n-u-g-l),isNaN(f)&&(f=r-h-p-c),null!=m&&(isNaN(d)&&isNaN(f)&&(m>n/r?d=.8*n:f=.8*r),isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=n-u-d-g),isNaN(c)&&(c=r-h-f-p),t.left||t.right){case"center":l=n/2-d/2-i[3];break;case"right":l=n-d-g;break}switch(t.top||t.bottom){case"middle":case"center":c=r/2-f/2-i[0];break;case"bottom":c=r-f-p;break}l=l||0,c=c||0,isNaN(d)&&(d=n-g-l-(u||0)),isNaN(f)&&(f=r-p-c-(h||0));var v=new a(l+i[3],c+i[0],d,f);return v.margin=i,v}function v(t,e,i,r,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],c=o&&o.boundingMode||"all";if(s||l){var u;if("raw"===c)u="group"===t.type?new a(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(u=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();u=u.clone(),u.applyTransform(h)}e=m(n.defaults({width:u.width,height:u.height},e),i,r);var d=t.position,f=s?e.x-u.x:0,p=l?e.y-u.y:0;t.attr("position","raw"===c?[f,p]:[d[0]+f,d[1]+p])}}function y(t,e){return null!=t[u[e][0]]||null!=t[u[e][1]]&&null!=t[u[e][2]]}function x(t,e,i){!n.isObject(i)&&(i={});var a=i.ignoreSize;!n.isArray(a)&&(a=[a,a]);var r=s(u[0],0),o=s(u[1],1);function s(i,n){var r={},o=0,s={},u=0,d=2;if(l(i,(function(e){s[e]=t[e]})),l(i,(function(t){c(e,t)&&(r[t]=s[t]=e[t]),h(r,t)&&o++,h(s,t)&&u++})),a[n])return h(e,i[1])?s[i[2]]=null:h(e,i[2])&&(s[i[1]]=null),s;if(u!==d&&o){if(o>=d)return r;for(var f=0;ff[1]?-1:1,g=["start"===s?f[0]-p*d:"end"===s?f[1]+p*d:(f[0]+f[1])/2,P(s)?t.labelOffset+u*d:0],m=e.get("nameRotate");null!=m&&(m=m*b/180),P(s)?n=C(t.rotation,null!=m?m:t.rotation,u):(n=M(t,s,m||0,f),r=t.axisNameAvailableWidth,null!=r&&(r=Math.abs(r/Math.sin(n.rotation)),!isFinite(r)&&(r=null)));var v=h.getFont(),y=e.get("nameTruncate",!0)||{},x=y.ellipsis,_=a(t.nameTruncateMaxWidth,y.maxWidth,r),w=null!=x&&null!=_?l.truncateText(i,_,v,x,{minChar:2,placeholder:y.placeholder}):i,A=e.get("tooltip",!0),T=e.mainType,k={componentType:T,name:i,$vars:["name"]};k[T+"Index"]=e.componentIndex;var D=new c.Text({anid:"name",__fullText:i,__truncatedText:w,position:g,rotation:n.rotation,silent:I(e),z2:1,tooltip:A&&A.show?o({content:i,formatter:function(){return i},formatterParams:k},A):null});c.setTextStyle(D.style,h,{text:w,textFont:v,textFill:h.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:h.get("align")||n.textAlign,textVerticalAlign:h.get("verticalAlign")||n.textVerticalAlign}),e.get("triggerEvent")&&(D.eventData=S(e),D.eventData.targetType="axisName",D.eventData.name=i),this._dumbGroup.add(D),D.updateTransform(),this.group.add(D),D.decomposeTransform()}}},S=w.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},C=w.innerTextLayout=function(t,e,i){var n,a,r=f(e-t);return d(r)?(a=i>0?"top":"bottom",n="center"):d(r-b)?(a=i>0?"bottom":"top",n="center"):(a="middle",n=r>0&&r0?"right":"left":i>0?"left":"right"),{rotation:r,textAlign:n,textVerticalAlign:a}};function M(t,e,i,n){var a,r,o=f(i-t.rotation),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;return d(o-b/2)?(r=l?"bottom":"top",a="center"):d(o-1.5*b)?(r=l?"top":"bottom",a="center"):(r="middle",a=o<1.5*b&&o>b/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:a,textVerticalAlign:r}}var I=w.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function T(t,e,i){if(!_(t.axis)){var n=t.get("axisLabel.showMinLabel"),a=t.get("axisLabel.showMaxLabel");e=e||[],i=i||[];var r=e[0],o=e[1],s=e[e.length-1],l=e[e.length-2],c=i[0],u=i[1],h=i[i.length-1],d=i[i.length-2];!1===n?(k(r),k(c)):D(r,o)&&(n?(k(o),k(u)):(k(r),k(c))),!1===a?(k(s),k(h)):D(l,s)&&(a?(k(l),k(d)):(k(s),k(h)))}}function k(t){t&&(t.ignore=!0)}function D(t,e,i){var n=t&&t.getBoundingRect().clone(),a=e&&e.getBoundingRect().clone();if(n&&a){var r=m.identity([]);return m.rotate(r,r,-t.rotation),n.applyTransform(m.mul([],r,t.getLocalTransform())),a.applyTransform(m.mul([],r,e.getLocalTransform())),n.intersect(a)}}function P(t){return"middle"===t||"center"===t}function O(t,e,i,n,a){for(var r=[],o=[],s=[],l=0;le&&(e=t[i]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,i=0;i1)"string"===typeof o?l=i[o]:"function"===typeof o&&(l=o),l&&t.setData(r.downSample(r.mapDimension(u.dim),1/f,l,n))}}}}t.exports=a},fe21:function(t,e,i){var n=i("e86a"),a=i("2306"),r=["textStyle","color"],o={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(r):null)},getFont:function(){return a.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return n.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};t.exports=o},fe4c:function(t,e,i){var n=i("827f");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("499e").default;a("4a680625",n,!0,{sourceMap:!1,shadowMode:!1})},ff2e:function(t,e,i){i("cb29"),i("fb6a"),i("ac1f"),i("5319");var n=i("6d8b"),a=i("2306"),r=i("e86a"),o=i("eda2"),s=i("1687"),l=i("697e"),c=i("fab2");function u(t){var e,i=t.get("type"),n=t.getModel(i+"Style");return"line"===i?(e=n.getLineStyle(),e.fill=null):"shadow"===i&&(e=n.getAreaStyle(),e.stroke=null),e}function h(t,e,i,n,a){var s=i.get("value"),l=f(s,e.axis,e.ecModel,i.get("seriesDataIndices"),{precision:i.get("label.precision"),formatter:i.get("label.formatter")}),c=i.getModel("label"),u=o.normalizeCssArray(c.get("padding")||0),h=c.getFont(),p=r.getBoundingRect(l,h),g=a.position,m=p.width+u[1]+u[3],v=p.height+u[0]+u[2],y=a.align;"right"===y&&(g[0]-=m),"center"===y&&(g[0]-=m/2);var x=a.verticalAlign;"bottom"===x&&(g[1]-=v),"middle"===x&&(g[1]-=v/2),d(g,m,v,n);var _=c.get("backgroundColor");_&&"auto"!==_||(_=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:m,height:v,r:c.get("borderRadius")},position:g.slice(),style:{text:l,textFont:h,textFill:c.getTextColor(),textPosition:"inside",textPadding:u,fill:_,stroke:c.get("borderColor")||"transparent",lineWidth:c.get("borderWidth")||0,shadowBlur:c.get("shadowBlur"),shadowColor:c.get("shadowColor"),shadowOffsetX:c.get("shadowOffsetX"),shadowOffsetY:c.get("shadowOffsetY")},z2:10}}function d(t,e,i,n){var a=n.getWidth(),r=n.getHeight();t[0]=Math.min(t[0]+e,a)-e,t[1]=Math.min(t[1]+i,r)-i,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function f(t,e,i,a,r){t=e.scale.parse(t);var o=e.scale.getLabel(t,{precision:r.precision}),s=r.formatter;if(s){var c={value:l.getAxisRawValue(e,t),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};n.each(a,(function(t){var e=i.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,a=e&&e.getDataParams(n);a&&c.seriesData.push(a)})),n.isString(s)?o=s.replace("{value}",o):n.isFunction(s)&&(o=s(c))}return o}function p(t,e,i){var n=s.create();return s.rotate(n,n,i.rotation),s.translate(n,n,i.position),a.applyTransform([t.dataToCoord(e),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)}function g(t,e,i,n,a,r){var o=c.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=a.get("label.margin"),h(e,n,a,r,{position:p(n.axis,t,i),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function m(t,e,i){return i=i||0,{x1:t[i],y1:t[1-i],x2:e[i],y2:e[1-i]}}function v(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}function y(t,e,i,n,a,r){return{cx:t,cy:e,r0:i,r:n,startAngle:a,endAngle:r,clockwise:!0}}e.buildElStyle=u,e.buildLabelElOption=h,e.getValueLabel=f,e.getTransformedPosition=p,e.buildCartesianSingleLabelElOption=g,e.makeLineShape=m,e.makeRectShape=v,e.makeSectorShape=y}}]);