You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wkcrm/static/js/chunk-753d.357bb5b4.js

1 line
794 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-753d"],{"+TT/":function(t,e,i){var n=i("bYtY"),a=i("mFDi"),r=i("OELB").parsePercent,o=i("7aKB"),s=n.each,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function h(t,e,i,n,a){var r=0,o=0;null==n&&(n=1/0),null==a&&(a=1/0);var s=0;e.eachChild(function(l,u){var h,c,d=l.position,f=l.getBoundingRect(),p=e.childAt(u+1),g=p&&p.getBoundingRect();if("horizontal"===t){var m=f.width+(g?-g.x+f.x:0);(h=r+m)>n||l.newline?(r=0,h=m,o+=s+i,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);(c=o+v)>a||l.newline?(r+=s+i,o=0,c=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=r,d[1]=o,"horizontal"===t?r=h+i:o=c+i)})}var c=h,d=n.curry(h,"vertical"),f=n.curry(h,"horizontal");function p(t,e,i){i=o.normalizeCssArray(i||0);var n=e.width,s=e.height,l=r(t.left,n),u=r(t.top,s),h=r(t.right,n),c=r(t.bottom,s),d=r(t.width,n),f=r(t.height,s),p=i[2]+i[0],g=i[1]+i[3],m=t.aspect;switch(isNaN(d)&&(d=n-h-g-l),isNaN(f)&&(f=s-c-p-u),null!=m&&(isNaN(d)&&isNaN(f)&&(m>n/s?d=.8*n:f=.8*s),isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=n-h-d-g),isNaN(u)&&(u=s-c-f-p),t.left||t.right){case"center":l=n/2-d/2-i[3];break;case"right":l=n-d-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-f/2-i[0];break;case"bottom":u=s-f-p}l=l||0,u=u||0,isNaN(d)&&(d=n-g-l-(h||0)),isNaN(f)&&(f=s-p-u-(c||0));var v=new a(l+i[3],u+i[0],d,f);return v.margin=i,v}function g(t,e){return e&&t&&s(l,function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t}e.LOCATION_PARAMS=l,e.HV_NAMES=u,e.box=c,e.vbox=d,e.hbox=f,e.getAvailableSize=function(t,e,i){var n=e.width,a=e.height,s=r(t.x,n),l=r(t.y,a),u=r(t.x2,n),h=r(t.y2,a);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=n),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(h)||isNaN(parseFloat(t.y2)))&&(h=a),i=o.normalizeCssArray(i||0),{width:Math.max(u-s-i[1]-i[3],0),height:Math.max(h-l-i[0]-i[2],0)}},e.getLayoutRect=p,e.positionElement=function(t,e,i,r,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],u=o&&o.boundingMode||"all";if(s||l){var h;if("raw"===u)h="group"===t.type?new a(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(h=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();(h=h.clone()).applyTransform(c)}e=p(n.defaults({width:h.width,height:h.height},e),i,r);var d=t.position,f=s?e.x-h.x:0,g=l?e.y-h.y:0;t.attr("position","raw"===u?[f,g]:[d[0]+f,d[1]+g])}},e.sizeCalculable=function(t,e){return null!=t[u[e][0]]||null!=t[u[e][1]]&&null!=t[u[e][2]]},e.mergeLayoutParam=function(t,e,i){!n.isObject(i)&&(i={});var a=i.ignoreSize;!n.isArray(a)&&(a=[a,a]);var r=l(u[0],0),o=l(u[1],1);function l(i,n){var r={},o=0,l={},u=0;if(s(i,function(e){l[e]=t[e]}),s(i,function(t){h(e,t)&&(r[t]=l[t]=e[t]),c(r,t)&&o++,c(l,t)&&u++}),a[n])return c(e,i[1])?l[i[2]]=null:c(e,i[2])&&(l[i[1]]=null),l;if(2!==u&&o){if(o>=2)return r;for(var d=0;d<i.length;d++){var f=i[d];if(!h(r,f)&&h(t,f)){r[f]=t[f];break}}return r}return l}function h(t,e){return t.hasOwnProperty(e)}function c(t,e){return null!=t[e]&&"auto"!==t[e]}function d(t,e,i){s(t,function(t){e[t]=i[t]})}d(u[0],t,r),d(u[1],t,o)},e.getLayoutParams=function(t){return g({},t)},e.copyLayoutParams=g},"+lIL":function(t,e,i){var n=i("ProS");i("/ry/"),i("3OrL");var a=i("L5E0"),r=i("7Phj");n.registerVisual(a),n.registerLayout(r)},"+rIm":function(t,e,i){var n=i("bYtY"),a=n.retrieve,r=n.defaults,o=n.extend,s=n.each,l=i("7aKB"),u=i("IwbS"),h=i("Qxkt"),c=i("OELB"),d=c.isRadianAroundZero,f=c.remRadian,p=i("oVpE").createSymbol,g=i("Fofx"),m=i("QBsz").applyTransform,v=i("aX7z").shouldShowAllLabels,y=Math.PI,x=function(t,e){this.opt=e,this.axisModel=t,r(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var i=new u.Group({position:e.position.slice(),rotation:e.rotation});i.updateTransform(),this._transform=i.transform,this._dumbGroup=i};x.prototype={constructor:x,hasBuilder:function(t){return!!_[t]},add:function(t){_[t].call(this)},getGroup:function(){return this.group}};var _={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var i=this.axisModel.axis.getExtent(),n=this._transform,a=[i[0],0],r=[i[1],0];n&&(m(a,a,n),m(r,r,n));var l=o({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new u.Line({anid:"line",subPixelOptimize:!0,shape:{x1:a[0],y1:a[1],x2:r[0],y2:r[1]},style:l,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1}));var h=e.get("axisLine.symbol"),c=e.get("axisLine.symbolSize"),d=e.get("axisLine.symbolOffset")||0;if("number"==typeof d&&(d=[d,d]),null!=h){"string"==typeof h&&(h=[h,h]),"string"!=typeof c&&"number"!=typeof c||(c=[c,c]);var f=c[0],g=c[1];s([{rotate:t.rotation+Math.PI/2,offset:d[0],r:0},{rotate:t.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((a[0]-r[0])*(a[0]-r[0])+(a[1]-r[1])*(a[1]-r[1]))}],function(e,i){if("none"!==h[i]&&null!=h[i]){var n=p(h[i],-f/2,-g/2,f,g,l.stroke,!0),r=e.r+e.offset,o=[a[0]+r*Math.cos(t.rotation),a[1]-r*Math.sin(t.rotation)];n.attr({rotation:e.rotate,position:o,silent:!0,z2:11}),this.group.add(n)}},this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,i=function(t,e,i){var n=e.axis;if(!e.get("axisTick.show")||n.scale.isBlank())return;for(var a=e.getModel("axisTick"),o=a.getModel("lineStyle"),s=a.get("length"),l=n.getTicksCoords(),h=[],c=[],d=t._transform,f=[],p=0;p<l.length;p++){var g=l[p].coord;h[0]=g,h[1]=0,c[0]=g,c[1]=i.tickDirection*s,d&&(m(h,h,d),m(c,c,d));var v=new u.Line({anid:"tick_"+l[p].tickValue,subPixelOptimize:!0,shape:{x1:h[0],y1:h[1],x2:c[0],y2:c[1]},style:r(o.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),z2:2,silent:!0});t.group.add(v),f.push(v)}return f}(this,t,e);!function(t,e,i){if(v(t.axis))return;var n=t.get("axisLabel.showMinLabel"),a=t.get("axisLabel.showMaxLabel");e=e||[],i=i||[];var r=e[0],o=e[1],s=e[e.length-1],l=e[e.length-2],u=i[0],h=i[1],c=i[i.length-1],d=i[i.length-2];!1===n?(M(r),M(u)):I(r,o)&&(n?(M(o),M(h)):(M(r),M(u)));!1===a?(M(s),M(c)):I(l,s)&&(a?(M(l),M(d)):(M(s),M(c)))}(t,function(t,e,i){var n=e.axis;if(!a(i.axisLabelShow,e.get("axisLabel.show"))||n.scale.isBlank())return;var r=e.getModel("axisLabel"),o=r.get("margin"),l=n.getViewLabels(),c=(a(i.labelRotate,r.get("rotate"))||0)*y/180,d=w(i.rotation,c,i.labelDirection),f=e.getCategories&&e.getCategories(!0),p=[],g=S(e),m=e.get("triggerEvent");return s(l,function(a,s){var l=a.tickValue,c=a.formattedLabel,v=a.rawLabel,y=r;f&&f[l]&&f[l].textStyle&&(y=new h(f[l].textStyle,r,e.ecModel));var x=y.getTextColor()||e.get("axisLine.lineStyle.color"),_=[n.dataToCoord(l),i.labelOffset+i.labelDirection*o],w=new u.Text({anid:"label_"+l,position:_,rotation:d.rotation,silent:g,z2:10});u.setTextStyle(w.style,y,{text:c,textAlign:y.getShallow("align",!0)||d.textAlign,textVerticalAlign:y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||d.textVerticalAlign,textFill:"function"==typeof x?x("category"===n.type?v:"value"===n.type?l+"":l,s):x}),m&&(w.eventData=b(e),w.eventData.targetType="axisLabel",w.eventData.value=v),t._dumbGroup.add(w),w.updateTransform(),p.push(w),t.group.add(w),w.decomposeTransform()}),p}(this,t,e),i)},axisName:function(){var t=this.opt,e=this.axisModel,i=a(t.axisName,e.get("name"));if(i){var n,r,s=e.get("nameLocation"),h=t.nameDirection,c=e.getModel("nameTextStyle"),p=e.get("nameGap")||0,g=this.axisModel.axis.getExtent(),m=g[0]>g[1]?-1:1,v=["start"===s?g[0]-m*p:"end"===s?g[1]+m*p:(g[0]+g[1])/2,T(s)?t.labelOffset+h*p:0],x=e.get("nameRotate");null!=x&&(x=x*y/180),T(s)?n=w(t.rotation,null!=x?x:t.rotation,h):(n=function(t,e,i,n){var a,r,o=f(i-t.rotation),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;d(o-y/2)?(r=l?"bottom":"top",a="center"):d(o-1.5*y)?(r=l?"top":"bottom",a="center"):(r="middle",a=o<1.5*y&&o>y/2?l?"left":"right":l?"right":"left");return{rotation:o,textAlign:a,textVerticalAlign:r}}(t,s,x||0,g),null!=(r=t.axisNameAvailableWidth)&&(r=Math.abs(r/Math.sin(n.rotation)),!isFinite(r)&&(r=null)));var _=c.getFont(),M=e.get("nameTruncate",!0)||{},I=M.ellipsis,A=a(t.nameTruncateMaxWidth,M.maxWidth,r),D=null!=I&&null!=A?l.truncateText(i,A,_,I,{minChar:2,placeholder:M.placeholder}):i,C=e.get("tooltip",!0),L=e.mainType,P={componentType:L,name:i,$vars:["name"]};P[L+"Index"]=e.componentIndex;var k=new u.Text({anid:"name",__fullText:i,__truncatedText:D,position:v,rotation:n.rotation,silent:S(e),z2:1,tooltip:C&&C.show?o({content:i,formatter:function(){return i},formatterParams:P},C):null});u.setTextStyle(k.style,c,{text:D,textFont:_,textFill:c.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:c.get("align")||n.textAlign,textVerticalAlign:c.get("verticalAlign")||n.textVerticalAlign}),e.get("triggerEvent")&&(k.eventData=b(e),k.eventData.targetType="axisName",k.eventData.name=i),this._dumbGroup.add(k),k.updateTransform(),this.group.add(k),k.decomposeTransform()}}},b=x.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},w=x.innerTextLayout=function(t,e,i){var n,a,r=f(e-t);return d(r)?(a=i>0?"top":"bottom",n="center"):d(r-y)?(a=i>0?"bottom":"top",n="center"):(a="middle",n=r>0&&r<y?i>0?"right":"left":i>0?"left":"right"),{rotation:r,textAlign:n,textVerticalAlign:a}};var S=x.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function M(t){t&&(t.ignore=!0)}function I(t,e,i){var n=t&&t.getBoundingRect().clone(),a=e&&e.getBoundingRect().clone();if(n&&a){var r=g.identity([]);return g.rotate(r,r,-t.rotation),n.applyTransform(g.mul([],r,t.getLocalTransform())),a.applyTransform(g.mul([],r,e.getLocalTransform())),n.intersect(a)}}function T(t){return"middle"===t||"center"===t}var A=x;t.exports=A},"+wW9":function(t,e,i){var n=i("bYtY"),a=n.each,r=n.isArray,o=n.isObject,s=i("JuEJ"),l=i("4NO4").normalizeToArray;function u(t){a(h,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var h=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],c=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];t.exports=function(t,e){s(t,e),t.series=l(t.series),a(t.series,function(t){if(o(t)){var e=t.type;if("pie"!==e&&"gauge"!==e||null!=t.clockWise&&(t.clockwise=t.clockWise),"gauge"===e){var i=function(t,e){e=e.split(",");for(var i=t,n=0;n<e.length&&null!=(i=i&&i[e[n]]);n++);return i}(t,"pointer.color");null!=i&&function(t,e,i,n){e=e.split(",");for(var a,r=t,o=0;o<e.length-1;o++)null==r[a=e[o]]&&(r[a]={}),r=r[a];(n||null==r[e[o]])&&(r[e[o]]=i)}(t,"itemStyle.color",i)}u(t)}}),t.dataRange&&(t.visualMap=t.dataRange),a(c,function(e){var i=t[e];i&&(r(i)||(i=[i]),a(i,function(t){u(t)}))})}},"/IIm":function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=i("H6uX"),r=i("IwbS"),o=i("pP6R"),s=i("gPAo"),l=n.curry,u=n.each,h=n.map,c=Math.min,d=Math.max,f=Math.pow,p=1e4,g=6,m=6,v="globalPan",y={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},x={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},_={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},b=0;function w(t){a.call(this),this._zr=t,this.group=new r.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+b++,this._handlers={},u(X,function(t,e){this._handlers[e]=n.bind(t,this)},this)}function S(t,e){var i=K[e.brushType].createCover(t,e);return i.__brushOption=e,T(i,e),t.group.add(i),i}function M(t,e){var i=D(e);return i.endCreating&&(i.endCreating(t,e),T(e,e.__brushOption)),e}function I(t,e){var i=e.__brushOption;D(e).updateCoverShape(t,e,i.range,i)}function T(t,e){var i=e.z;null==i&&(i=p),t.traverse(function(t){t.z=i,t.z2=i})}function A(t,e){D(e).updateCommon(t,e),I(t,e)}function D(t){return K[t.__brushOption.brushType]}function C(t,e,i){var n,a=t._panels;if(!a)return!0;var r=t._transform;return u(a,function(t){t.isTargetByCursor(e,i,r)&&(n=t)}),n}function L(t,e){var i=t._panels;if(!i)return!0;var n=e.__brushOption.panelId;return null==n||i[n]}function P(t){var e=t._covers,i=e.length;return u(e,function(e){t.group.remove(e)},t),e.length=0,!!i}function k(t,e){var i=h(t._covers,function(t){var e=t.__brushOption,i=n.clone(e.range);return{brushType:e.brushType,panelId:e.panelId,range:i}});t.trigger("brush",i,{isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function O(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function E(t,e,i,n){var a=new r.Group;return a.add(new r.Rect({name:"main",style:B(i),silent:!0,draggable:!0,cursor:"move",drift:l(t,e,a,"nswe"),ondragend:l(k,e,{isEnd:!0})})),u(n,function(i){a.add(new r.Rect({name:i,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:l(t,e,a,i),ondragend:l(k,e,{isEnd:!0})}))}),a}function N(t,e,i,n){var a=n.brushStyle.lineWidth||0,r=d(a,m),o=i[0][0],s=i[1][0],l=o-a/2,u=s-a/2,h=i[0][1],c=i[1][1],f=h-r+a/2,p=c-r+a/2,g=h-o,v=c-s,y=g+a,x=v+a;z(t,e,"main",o,s,g,v),n.transformable&&(z(t,e,"w",l,u,r,x),z(t,e,"e",f,u,r,x),z(t,e,"n",l,u,y,r),z(t,e,"s",l,p,y,r),z(t,e,"nw",l,u,r,r),z(t,e,"ne",f,u,r,r),z(t,e,"sw",l,p,r,r),z(t,e,"se",f,p,r,r))}function R(t,e){var i=e.__brushOption,n=i.transformable,a=e.childAt(0);a.useStyle(B(i)),a.attr({silent:!n,cursor:n?"move":"default"}),u(["w","e","n","s","se","sw","ne","nw"],function(i){var a=e.childOfName(i),o=function t(e,i){if(i.length>1){i=i.split("");var n=[t(e,i[0]),t(e,i[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}var n=r.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[i],function(t){return r.getTransform(t.group)}(e));return{left:"w",right:"e",top:"n",bottom:"s"}[n]}(t,i);a&&a.attr({silent:!n,invisible:!n,cursor:n?x[o]+"-resize":null})})}function z(t,e,i,n,a,r,o){var s,l,u,h,f,p=e.childOfName(i);p&&p.setShape((s=H(t,e,[[n,a],[n+r,a+o]]),l=c(s[0][0],s[1][0]),u=c(s[0][1],s[1][1]),h=d(s[0][0],s[1][0]),f=d(s[0][1],s[1][1]),{x:l,y:u,width:h-l,height:f-u}))}function B(t){return n.defaults({strokeNoScale:!0},t.brushStyle)}function V(t,e,i,n){var a=[c(t,i),c(e,n)],r=[d(t,i),d(e,n)];return[[a[0],r[0]],[a[1],r[1]]]}function Y(t,e,i,n,a,r,o,s){var l=n.__brushOption,h=t(l.range),c=F(i,r,o);u(a.split(""),function(t){var e=y[t];h[e[0]][e[1]]+=c[e[0]]}),l.range=e(V(h[0][0],h[1][0],h[0][1],h[1][1])),A(i,n),k(i,{isEnd:!1})}function G(t,e,i,n,a){var r=e.__brushOption.range,o=F(t,i,n);u(r,function(t){t[0]+=o[0],t[1]+=o[1]}),A(t,e),k(t,{isEnd:!1})}function F(t,e,i){var n=t.group,a=n.transformCoordToLocal(e,i),r=n.transformCoordToLocal(0,0);return[a[0]-r[0],a[1]-r[1]]}function H(t,e,i){var a=L(t,e);return a&&!0!==a?a.clipPath(i,t._transform):n.clone(i)}function W(t){var e=t.event;e.preventDefault&&e.preventDefault()}function U(t,e,i){return t.childOfName("main").contain(e,i)}function j(t,e,i,a){var r,o=t._creatingCover,s=t._creatingPanel,l=t._brushOption;if(t._track.push(i.slice()),function(t){var e=t._track;if(!e.length)return!1;var i=e[e.length-1],n=e[0],a=i[0]-n[0],r=i[1]-n[1];return f(a*a+r*r,.5)>g}(t)||o){if(s&&!o){"single"===l.brushMode&&P(t);var u=n.clone(l);u.brushType=Z(u.brushType,s),u.panelId=!0===s?null:s.panelId,o=t._creatingCover=S(t,u),t._covers.push(o)}if(o){var h=K[Z(t._brushType,s)];o.__brushOption.range=h.getCreatingRange(H(t,o,t._track)),a&&(M(t,o),h.updateCommon(t,o)),I(t,o),r={isEnd:a}}}else a&&"single"===l.brushMode&&l.removeOnClick&&C(t,e,i)&&P(t)&&(r={isEnd:a,removeOnClick:!0});return r}function Z(t,e){return"auto"===t?e.defaultBrushType:t}w.prototype={constructor:w,enableBrush:function(t){var e,i;return this._brushType&&(i=(e=this)._zr,o.release(i,v,e._uid),u(e._handlers,function(t,e){i.off(e,t)}),e._brushType=e._brushOption=null),t.brushType&&function(t,e){var i=t._zr;t._enableGlobalPan||o.take(i,v,t._uid);u(t._handlers,function(t,e){i.on(e,t)}),t._brushType=e.brushType,t._brushOption=n.merge(n.clone(_),e,!0)}(this,t),this},setPanels:function(t){if(t&&t.length){var e=this._panels={};n.each(t,function(t){e[t.panelId]=n.clone(t)})}else this._panels=null;return this},mount:function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t.position||[0,0],rotation:t.rotation||0,scale:t.scale||[1,1]}),this._transform=e.getLocalTransform(),this},eachCover:function(t,e){u(this._covers,t,e)},updateCovers:function(t){t=n.map(t,function(t){return n.merge(n.clone(_),t,!0)});var e="\0-brush-index-",i=this._covers,a=this._covers=[],r=this,o=this._creatingCover;return new s(i,t,function(t,e){return l(t.__brushOption,e)},l).add(u).update(u).remove(function(t){i[t]!==o&&r.group.remove(i[t])}).execute(),this;function l(t,i){return(null!=t.id?t.id:e+i)+"-"+t.brushType}function u(e,n){var s=t[e];if(null!=n&&i[n]===o)a[e]=i[n];else{var l=a[e]=null!=n?(i[n].__brushOption=s,i[n]):M(r,S(r,s));A(r,l)}}},unmount:function(){return this.enableBrush(!1),P(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},n.mixin(w,a);var X={mousedown:function(t){if(this._dragging)q.call(this,t);else if(!t.target||!t.target.draggable){W(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=C(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);if(function(t,e,i){if(t._brushType){var n=t._zr,a=t._covers,r=C(t,e,i);if(!t._dragging)for(var o=0;o<a.length;o++){var s=a[o].__brushOption;if(r&&(!0===r||s.panelId===r.panelId)&&K[s.brushType].contain(a[o],i[0],i[1]))return}r&&n.setCursorStyle("crosshair")}}(this,t,e),this._dragging){W(t);var i=j(this,t,e,!1);i&&k(this,i)}},mouseup:q};function q(t){if(this._dragging){W(t);var e=j(this,t,this.group.transformCoordToLocal(t.offsetX,t.offsetY),!0);this._dragging=!1,this._track=[],this._creatingCover=null,e&&k(this,e)}}var K={lineX:Q(0),lineY:Q(1),rect:{createCover:function(t,e){return E(l(Y,function(t){return t},function(t){return t}),t,e,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(t){var e=O(t);return V(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,i,n){N(t,e,i,n)},updateCommon:R,contain:U},polygon:{createCover:function(t,e){var i=new r.Group;return i.add(new r.Polyline({name:"main",style:B(e),silent:!0})),i},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new r.Polygon({name:"main",draggable:!0,drift:l(G,t,e),ondragend:l(k,t,{isEnd:!0})}))},updateCoverShape:function(t,e,i,n){e.childAt(0).setShape({points:H(t,e,i)})},updateCommon:R,contain:U}};function Q(t){return{createCover:function(e,i){return E(l(Y,function(e){var i=[e,[0,100]];return t&&i.reverse(),i},function(e){return e[t]}),e,i,[["w","e"],["n","s"]][t])},getCreatingRange:function(e){var i=O(e);return[c(i[0][t],i[1][t]),d(i[0][t],i[1][t])]},updateCoverShape:function(e,i,n,a){var r,o=L(e,i);if(!0!==o&&o.getLinearBrushOtherExtent)r=o.getLinearBrushOtherExtent(t,e._transform);else{var s=e._zr;r=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[n,r];t&&l.reverse(),N(e,i,l,a)},updateCommon:R,contain:U}}var J=w;t.exports=J},"/SeX":function(t,e,i){var n=i("knOB"),a=i("qZFw"),r=function(t){this.name=t||"",this.cx=0,this.cy=0,this._radiusAxis=new n,this._angleAxis=new a,this._radiusAxis.polar=this._angleAxis.polar=this};r.prototype={type:"polar",axisPointerEnabled:!0,constructor:r,dimensions:["radius","angle"],model:null,containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(t){var e=[],i=this._angleAxis,n=this._radiusAxis;return i.scale.type===t&&e.push(i),n.scale.type===t&&e.push(n),e},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){var i=this.pointToCoord(t);return[this._radiusAxis.radiusToData(i[0],e),this._angleAxis.angleToData(i[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=this.getAngleAxis(),a=n.getExtent(),r=Math.min(a[0],a[1]),o=Math.max(a[0],a[1]);n.inverse?r=o-360:o=r+360;var s=Math.sqrt(e*e+i*i);e/=s,i/=s;for(var l=Math.atan2(-i,e)/Math.PI*180,u=l<r?1:-1;l<r||l>o;)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],i=t[1]/180*Math.PI;return[Math.cos(i)*e+this.cx,-Math.sin(i)*e+this.cy]}};var o=r;t.exports=o},"/WM3":function(t,e,i){var n=i("QuXc"),a={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var i=t.getData(),a=(t.visualColorAccessPath||"itemStyle.color").split("."),r=t.get(a)||t.getColorFromPalette(t.name,null,e.getSeriesCount());if(i.setVisual("color",r),!e.isSeriesFiltered(t)){"function"!=typeof r||r instanceof n||i.each(function(e){i.setItemVisual(e,"color",r(t.getDataParams(e)))});return{dataEach:i.hasItemOption?function(t,e){var i=t.getItemModel(e).get(a,!0);null!=i&&t.setItemVisual(e,"color",i)}:null}}}};t.exports=a},"/d5a":function(t,e){var i={average:function(t){for(var e=0,i=0,n=0;n<t.length;n++)isNaN(t[n])||(e+=t[n],i++);return 0===i?NaN:e/i},sum:function(t){for(var e=0,i=0;i<t.length;i++)e+=t[i]||0;return e},max:function(t){for(var e=-1/0,i=0;i<t.length;i++)t[i]>e&&(e=t[i]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,i=0;i<t.length;i++)t[i]<e&&(e=t[i]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},n=function(t,e){return Math.round(t.length/2)};t.exports=function(t){return{seriesType:t,modifyOutputEnd:!0,reset:function(t,e,a){var r=t.getData(),o=t.get("sampling"),s=t.coordinateSystem;if("cartesian2d"===s.type&&o){var l,u=s.getBaseAxis(),h=s.getOtherAxis(u),c=u.getExtent(),d=c[1]-c[0],f=Math.round(r.count()/d);f>1&&("string"==typeof o?l=i[o]:"function"==typeof o&&(l=o),l&&t.setData(r.downSample(r.mapDimension(h.dim),1/f,l,n)))}}}}},"/iHx":function(t,e,i){var n=i("6GrX"),a=i("IwbS"),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},"/ry/":function(t,e,i){var n=i("bYtY"),a=i("T4UG"),r=i("5GhG").seriesModelMixin,o=a.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});n.mixin(o,r,!0);var s=o;t.exports=s},"/stD":function(t,e,i){var n=i("bYtY"),a=i("IUWy"),r=i("Kagy").toolbox.brush;function o(t,e,i){this.model=t,this.ecModel=e,this.api=i,this._brushType,this._brushMode}o.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:n.clone(r.title)};var s=o.prototype;s.render=s.updateView=function(t,e,i){var a,r,o;e.eachComponent({mainType:"brush"},function(t){a=t.brushType,r=t.brushOption.brushMode||"single",o|=t.areas.length}),this._brushType=a,this._brushMode=r,n.each(t.get("type",!0),function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===a)?"emphasis":"normal")})},s.getIcons=function(){var t=this.model,e=t.get("icon",!0),i={};return n.each(t.get("type",!0),function(t){e[t]&&(i[t]=e[t])}),i},s.onclick=function(t,e,i){var n=this._brushType,a=this._brushMode;"clear"===i?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===i?n:n!==i&&i,brushMode:"keep"===i?"multiple"===a?"single":"multiple":a}})},a.register("brush",o);var l=o;t.exports=l},"/y7N":function(t,e,i){var n=i("bYtY"),a=i("IwbS"),r=i("6GrX"),o=i("7aKB"),s=i("Fofx"),l=i("aX7z"),u=i("+rIm");function h(t,e,i,n,a){var s=c(i.get("value"),e.axis,e.ecModel,i.get("seriesDataIndices"),{precision:i.get("label.precision"),formatter:i.get("label.formatter")}),l=i.getModel("label"),u=o.normalizeCssArray(l.get("padding")||0),h=l.getFont(),d=r.getBoundingRect(s,h),f=a.position,p=d.width+u[1]+u[3],g=d.height+u[0]+u[2],m=a.align;"right"===m&&(f[0]-=p),"center"===m&&(f[0]-=p/2);var v=a.verticalAlign;"bottom"===v&&(f[1]-=g),"middle"===v&&(f[1]-=g/2),function(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)}(f,p,g,n);var y=l.get("backgroundColor");y&&"auto"!==y||(y=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:p,height:g,r:l.get("borderRadius")},position:f.slice(),style:{text:s,textFont:h,textFill:l.getTextColor(),textPosition:"inside",textPadding:u,fill:y,stroke:l.get("borderColor")||"transparent",lineWidth:l.get("borderWidth")||0,shadowBlur:l.get("shadowBlur"),shadowColor:l.get("shadowColor"),shadowOffsetX:l.get("shadowOffsetX"),shadowOffsetY:l.get("shadowOffsetY")},z2:10}}function c(t,e,i,a,r){t=e.scale.parse(t);var o=e.scale.getLabel(t,{precision:r.precision}),s=r.formatter;if(s){var u={value:l.getAxisRawValue(e,t),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};n.each(a,function(t){var e=i.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,a=e&&e.getDataParams(n);a&&u.seriesData.push(a)}),n.isString(s)?o=s.replace("{value}",o):n.isFunction(s)&&(o=s(u))}return o}function d(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)}e.buildElStyle=function(t){var e,i=t.get("type"),n=t.getModel(i+"Style");return"line"===i?(e=n.getLineStyle()).fill=null:"shadow"===i&&((e=n.getAreaStyle()).stroke=null),e},e.buildLabelElOption=h,e.getValueLabel=c,e.getTransformedPosition=d,e.buildCartesianSingleLabelElOption=function(t,e,i,n,a,r){var o=u.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=a.get("label.margin"),h(e,n,a,r,{position:d(n.axis,t,i),align:o.textAlign,verticalAlign:o.textVerticalAlign})},e.makeLineShape=function(t,e,i){return{x1:t[i=i||0],y1:t[1-i],x2:e[i],y2:e[1-i]}},e.makeRectShape=function(t,e,i){return{x:t[i=i||0],y:t[1-i],width:e[i],height:e[1-i]}},e.makeSectorShape=function(t,e,i,n,a,r){return{cx:t,cy:e,r0:i,r:n,startAngle:a,endAngle:r,clockwise:!0}}},"0/Rx":function(t,e){t.exports=function(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<i.length;a++)if(!i[a].isSelected(e))return!1;return!0})}}}}},"01d+":function(t,e,i){var n=i("bYtY").each,a=i("HF/U"),r=a.simpleLayout,o=a.simpleLayoutEdge;t.exports=function(t,e){t.eachSeriesByType("graph",function(t){var e=t.get("layout"),i=t.coordinateSystem;if(i&&"view"!==i.type){var a=t.getData(),s=[];n(i.dimensions,function(t){s=s.concat(a.mapDimension(t,!0))});for(var l=0;l<a.count();l++){for(var u=[],h=!1,c=0;c<s.length;c++){var d=a.get(s[c],l);isNaN(d)||(h=!0),u.push(d)}h?a.setItemLayout(l,i.dataToPoint(u)):a.setItemLayout(l,[NaN,NaN])}o(a.graph)}else e&&"none"!==e||r(t)})}},"06DH":function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("Kagy"),o=i("IUWy"),s=r.toolbox.magicType;function l(t){this.model=t}l.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z",tiled:"M2.3,2.2h22.8V25H2.3V2.2z M35,2.2h22.8V25H35V2.2zM2.3,35h22.8v22.8H2.3V35z M35,35h22.8v22.8H35V35z"},title:a.clone(s.title),option:{},seriesIndex:{}};var u=l.prototype;u.getIcons=function(){var t=this.model,e=t.get("icon"),i={};return a.each(t.get("type"),function(t){e[t]&&(i[t]=e[t])}),i};var h={line:function(t,e,i,n){if("bar"===t)return a.merge({id:e,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.line")||{},!0)},bar:function(t,e,i,n){if("line"===t)return a.merge({id:e,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.bar")||{},!0)},stack:function(t,e,i,n){if("line"===t||"bar"===t)return a.merge({id:e,stack:"__ec_magicType_stack__"},n.get("option.stack")||{},!0)},tiled:function(t,e,i,n){if("line"===t||"bar"===t)return a.merge({id:e,stack:""},n.get("option.tiled")||{},!0)}},c=[["line","bar"],["stack","tiled"]];u.onclick=function(t,e,i){var n=this.model,r=n.get("seriesIndex."+i);if(h[i]){var o={series:[]};a.each(c,function(t){a.indexOf(t,i)>=0&&a.each(t,function(t){n.setIconStatus(t,"normal")})}),n.setIconStatus(i,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},function(e){var r=e.subType,s=e.id,l=h[i](r,s,e,n);l&&(a.defaults(l,e.option),o.series.push(l));var u=e.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===i||"bar"===i)){var c=u.getAxesByScale("ordinal")[0];if(c){var d=c.dim+"Axis",f=t.queryComponents({mainType:d,index:e.get(name+"Index"),id:e.get(name+"Id")})[0].componentIndex;o[d]=o[d]||[];for(var p=0;p<=f;p++)o[d][f]=o[d][f]||{};o[d][f].boundaryGap="bar"===i}}}),e.dispatchAction({type:"changeMagicType",currentType:i,newOption:o})}},n.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)}),o.register("magicType",l);var d=l;t.exports=d},"06Qe":function(t,e,i){var n,a=i("ItGF"),r="urn:schemas-microsoft-com:vml",o="undefined"==typeof window?null:window,s=!1,l=o&&o.document;if(l&&!a.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",r),n=function(t){return l.createElement("<zrvml:"+t+' class="zrvml">')}}catch(t){n=function(t){return l.createElement("<"+t+' xmlns="'+r+'" class="zrvml">')}}e.doc=l,e.createNode=function(t){return n(t)},e.initVML=function(){if(!s&&l){s=!0;var t=l.styleSheets;t.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}},"0Bwj":function(t,e,i){var n=i("T4UG"),a=i("I3/A"),r=i("7aKB").encodeHTML,o=i("Qxkt"),s=(i("Tghj").__DEV__,n.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(t,e){for(var i=t.edges||t.links,n=t.data||t.nodes,r=t.levels,s=this.levelModels={},l=0;l<r.length;l++)null!=r[l].depth&&r[l].depth>=0&&(s[r[l].depth]=new o(r[l],this,e));if(n&&i)return a(n,i,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t,e){return t.customizeGetParent(function(t){var i=this.parentModel,n=i.getData().getItemLayout(e).depth,a=i.levelModels[n];return a||this.parentModel}),t}),e.wrapMethod("getItemModel",function(t,e){return t.customizeGetParent(function(t){var i=this.parentModel,n=i.getGraph().getEdgeByIndex(e),a=n.node1.getLayout().depth,r=i.levelModels[a];return r||this.parentModel}),t})}).data},setNodePosition:function(t,e){var i=this.option.data[t];i.localX=e[0],i.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,i){if("edge"===i){var n=this.getDataParams(t,i),a=n.data,o=a.source+" -- "+a.target;return n.value&&(o+=" : "+n.value),r(o)}if("node"===i){var l=this.getGraph().getNodeByIndex(t).getLayout().value,u=this.getDataParams(t,i).data.name;if(l)o=u+" : "+l;return r(o)}return s.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.6}},animationEasing:"linear",animationDuration:1e3}})),l=s;t.exports=l},"0HBW":function(t,e,i){var n=i("ProS"),a=i("bYtY");function r(t,e){e.update="updateView",n.registerAction(e,function(e,i){var n={};return i.eachComponent({mainType:"geo",query:e},function(i){i[t](e.name);var r=i.coordinateSystem;a.each(r.regions,function(t){n[t.name]=i.isSelected(t.name)||!1})}),{selected:n,name:e.name}})}i("Hxpc"),i("7uqq"),i("dmGj"),i("SehX"),r("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),r("select",{type:"geoSelect",event:"geoselected"}),r("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(t,e,i){var n=i("bYtY"),a=i("+TT/"),r=i("OELB"),o=i("IDmD");function s(t,e,i){this._model=t}function l(t,e,i,n){var a=i.calendarModel,r=i.seriesModel,o=a?a.coordinateSystem:r?r.coordinateSystem:null;return o===this?o[t](n):null}s.prototype={constructor:s,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(t){var e=(t=r.parseDate(t)).getFullYear(),i=t.getMonth()+1;i=i<10?"0"+i:i;var n=t.getDate();n=n<10?"0"+n:n;var a=t.getDay();return{y:e,m:i,d:n,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+i+"-"+n,date:t}},getNextNDay:function(t,e){return 0===(e=e||0)?this.getDateInfo(t):((t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t))},update:function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var i=this._rangeInfo.weeks||1,r=["width","height"],o=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[i,7]:[7,i];n.each([0,1],function(t){c(o,t)&&(s[r[t]]=o[t]*l[t])});var u={width:e.getWidth(),height:e.getHeight()},h=this._rect=a.getLayoutRect(s,u);function c(t,e){return null!=t[e]&&"auto"!==t[e]}n.each([0,1],function(t){c(o,t)||(o[t]=h[r[t]]/l[t])}),this._sw=o[0],this._sh=o[1]},dataToPoint:function(t,e){n.isArray(t)&&(t=t[0]),null==e&&(e=!0);var i=this.getDateInfo(t),a=this._rangeInfo,r=i.formatedDate;if(e&&!(i.time>=a.start.time&&i.time<a.end.time+864e5))return[NaN,NaN];var o=i.day,s=this._getRangeInfo([a.start.time,r]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+s*this._sh+this._sh/2]:[this._rect.x+s*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},pointToData:function(t){var e=this.pointToDate(t);return e&&e.time},dataToRect:function(t,e){var i=this.dataToPoint(t,e);return{contentShape:{x:i[0]-(this._sw-this._lineWidth)/2,y:i[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:i,tl:[i[0]-this._sw/2,i[1]-this._sh/2],tr:[i[0]+this._sw/2,i[1]-this._sh/2],br:[i[0]+this._sw/2,i[1]+this._sh/2],bl:[i[0]-this._sw/2,i[1]+this._sh/2]}},pointToDate:function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,i=Math.floor((t[1]-this._rect.y)/this._sh)+1,n=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(i,e-1,n):this._getDateByWeeksAndDay(e,i-1,n)},convertToPixel:n.curry(l,"dataToPoint"),convertFromPixel:n.curry(l,"pointToData"),_initRangeOption:function(){var t=this._model.get("range"),e=t;if(n.isArray(e)&&1===e.length&&(e=e[0]),/^\d{4}$/.test(e)&&(t=[e+"-01-01",e+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(e)){var i=this.getDateInfo(e),a=i.date;a.setMonth(a.getMonth()+1);var r=this.getNextNDay(a,-1);t=[i.formatedDate,r.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(e)&&(t=[e,e]);var o=this._getRangeInfo(t);return o.start.time>o.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var i=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,n=new Date(t[0].time),a=n.getDate(),r=t[1].date.getDate();if(n.setDate(a+i-1),n.getDate()!==r)for(var o=n.getTime()-t[1].time>0?1:-1;n.getDate()!==r&&(n.getTime()-t[1].time)*o>0;)i-=o,n.setDate(a+i-1);var s=Math.floor((i+t[0].day+6)/7),l=e?1-s:s-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:i,weeks:s,nthWeek:l,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,i){var n=this._getRangeInfo(i);if(t>n.weeks||0===t&&e<n.fweek||t===n.weeks&&e>n.lweek)return!1;var a=7*(t-1)-n.fweek+e,r=new Date(n.start.time);return r.setDate(n.start.d+a),this.getDateInfo(r)}},s.dimensions=s.prototype.dimensions,s.getDimensionsInfo=s.prototype.getDimensionsInfo,s.create=function(t,e){var i=[];return t.eachComponent("calendar",function(n){var a=new s(n,t,e);i.push(a),n.coordinateSystem=a}),t.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])}),i},o.register("calendar",s);var u=s;t.exports=u},"0V0F":function(t,e,i){var n=i("bYtY"),a=n.createHashMap,r=n.each;function o(t){r(t,function(e,i){var n=[],a=[NaN,NaN],r=[e.stackResultDimension,e.stackedOverDimension],o=e.data,s=e.isStackedByIndex,l=o.map(r,function(r,l,u){var h,c,d=o.get(e.stackedDimension,u);if(isNaN(d))return a;s?c=o.getRawIndex(u):h=o.get(e.stackedByDimension,u);for(var f=NaN,p=i-1;p>=0;p--){var g=t[p];if(s||(c=g.data.rawIndexOf(g.stackedByDimension,h)),c>=0){var m=g.data.getByRawIndex(g.stackResultDimension,c);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=function(t){var e=a();t.eachSeries(function(t){var i=t.get("stack");if(i){var n=e.get(i)||e.set(i,[]),a=t.getData(),r={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:t};if(!r.stackedDimension||!r.isStackedByIndex&&!r.stackedByDimension)return;n.length&&a.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(r)}}),e.each(o)}},"0o9m":function(t,e,i){var n=i("ProS");i("hNWo"),i("RlCK"),i("XpcN");var a=i("kDyi"),r=i("bLfw");n.registerProcessor(a),r.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(t,e,i){var n=i("ProS");n.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),n.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0s+r":function(t,e,i){var n=i("bYtY"),a=i("QBsz"),r=i("y23F"),o=i("H6uX"),s=i("YH21"),l=i("C0SR"),u="silent";function h(t){s.stop(this.event)}function c(){}c.prototype.dispose=function(){};var d=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],f=function(t,e,i,n){o.call(this),this.storage=t,this.painter=e,this.painterRoot=n,i=i||new c,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,r.call(this),this.setHandlerProxy(i)};function p(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){for(var n,a=t;a;){if(a.clipPath&&!a.clipPath.contain(e,i))return!1;a.silent&&(n=!0),a=a.parent}return!n||u}return!1}f.prototype={constructor:f,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(n.each(d,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,i=t.zrY,n=this._hovered,a=n.target;a&&!a.__zr&&(a=(n=this.findHover(n.x,n.y)).target);var r=this._hovered=this.findHover(e,i),o=r.target,s=this.proxy;s.setCursor&&s.setCursor(o?o.cursor:"default"),a&&o!==a&&this.dispatchToElement(n,"mouseout",t),this.dispatchToElement(r,"mousemove",t),o&&o!==a&&this.dispatchToElement(r,"mouseover",t)},mouseout:function(t){this.dispatchToElement(this._hovered,"mouseout",t);var e,i=t.toElement||t.relatedTarget;do{i=i&&i.parentNode}while(i&&9!==i.nodeType&&!(e=i===this.painterRoot));!e&&this.trigger("globalout",{event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var i=this[t];i&&i.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,i){var n=(t=t||{}).target;if(!n||!n.silent){for(var a="on"+e,r=function(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}}(e,t,i);n&&(n[a]&&(r.cancelBubble=n[a].call(n,r)),n.trigger(e,r),n=n.parent,!r.cancelBubble););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=p(n[r],t,e))&&(!a.topTarget&&(a.topTarget=n[r]),o!==u)){a.target=n[r];break}}return a},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var i=this._gestureMgr;"start"===e&&i.clear();var n=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),n){var a=n.type;t.gestureEvent=a,this.dispatchToElement({target:n.target},a,n.event)}}},n.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){f.prototype[t]=function(e){var i=this.findHover(e.zrX,e.zrY),n=i.target;if("mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||a.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}}),n.mixin(f,o),n.mixin(f,r);var g=f;t.exports=g},"10cm":function(t,e,i){var n=i("ProS"),a=i("2B6p").updateCenterAndZoom;i("0qV/");n.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},function(t,e){e.eachComponent({mainType:"series",query:t},function(e){var i=e.coordinateSystem,n=a(i,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)})})},"1Jh7":function(t,e,i){var n=i("y+Vt"),a=i("T6xi"),r=n.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){a.buildPath(t,e,!1)}});t.exports=r},"1LEl":function(t,e,i){var n=i("ProS"),a=i("F9bG"),r=n.extendComponentView({type:"axisPointer",render:function(t,e,i){var n=e.getComponent("tooltip"),r=t.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";a.register("axisPointer",i,function(t,e,i){"none"!==r&&("leave"===t||r.indexOf(t)>=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},"1MYJ":function(t,e,i){var n=i("y+Vt"),a=n.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i<e.length;i++)t=t||e[i].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),i=0;i<t.length;i++)t[i].path||t[i].createPathProxy(),t[i].path.setScale(e[0],e[1],t[i].segmentIgnoreThreshold)},buildPath:function(t,e){for(var i=e.paths||[],n=0;n<i.length;n++)i[n].buildPath(t,i[n].shape,!0)},afterBrush:function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),n.prototype.getBoundingRect.call(this)}});t.exports=a},"1NG9":function(t,e,i){var n=i("y+Vt"),a=i("QBsz"),r=i("iXp4"),o=a.min,s=a.max,l=a.scaleAndAdd,u=a.copy,h=[],c=[],d=[];function f(t){return isNaN(t[0])||isNaN(t[1])}function p(t,e,i,n,r,p,g,m,v,y,x){return"none"!==y&&y?function(t,e,i,n,a,r,o,s,l,h,p){for(var g=0,m=i,v=0;v<n;v++){var y=e[m];if(m>=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"===h?1:0,b=(y[_]-x[_])*l;u(c,x),c[_]=x[_]+b,u(d,y),d[_]=y[_]-b,t.bezierCurveTo(c[0],c[1],d[0],d[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=m,m+=r}return v}.apply(this,arguments):function(t,e,i,n,r,p,g,m,v,y,x){for(var _=0,b=i,w=0;w<n;w++){var S=e[b];if(b>=r||b<0)break;if(f(S)){if(x){b+=p;continue}break}if(b===i)t[p>0?"moveTo":"lineTo"](S[0],S[1]),u(c,S);else if(v>0){var M=b+p,I=e[M];if(x)for(;I&&f(e[M]);)I=e[M+=p];var T=.5,A=e[_],I=e[M];if(!I||f(I))u(d,S);else{var D,C;if(f(I)&&!x&&(I=S),a.sub(h,I,A),"x"===y||"y"===y){var L="x"===y?0:1;D=Math.abs(S[L]-A[L]),C=Math.abs(S[L]-I[L])}else D=a.dist(S,A),C=a.dist(S,I);l(d,S,h,-v*(1-(T=C/(C+D))))}o(c,c,m),s(c,c,g),o(d,d,m),s(d,d,g),t.bezierCurveTo(c[0],c[1],d[0],d[1],S[0],S[1]),l(c,S,h,v*T)}else t.lineTo(S[0],S[1]);_=b,b+=p}return w}.apply(this,arguments)}function g(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var a=0;a<t.length;a++){var r=t[a];r[0]<i[0]&&(i[0]=r[0]),r[1]<i[1]&&(i[1]=r[1]),r[0]>n[0]&&(n[0]=r[0]),r[1]>n[1]&&(n[1]=r[1])}return{min:e?i:n,max:e?n:i}}var m=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=g(i,e.smoothConstraint);if(e.connectNulls){for(;a>0&&f(i[a-1]);a--);for(;n<a&&f(i[n]);n++);}for(;n<a;)n+=p(t,i,n,a,a,1,r.min,r.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}}),v=n.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:r(n.prototype.brush),buildPath:function(t,e){var i=e.points,n=e.stackedOnPoints,a=0,r=i.length,o=e.smoothMonotone,s=g(i,e.smoothConstraint),l=g(n,e.smoothConstraint);if(e.connectNulls){for(;r>0&&f(i[r-1]);r--);for(;a<r&&f(i[a]);a++);}for(;a<r;){var u=p(t,i,a,r,r,1,s.min,s.max,e.smooth,o,e.connectNulls);p(t,n,a+u-1,u,r,-1,l.min,l.max,e.stackedOnSmooth,o,e.connectNulls),a+=u+1,t.closePath()}}});e.Polyline=m,e.Polygon=v},"1RvN":function(t,e){var i=function(){this.head=null,this.tail=null,this._len=0},n=i.prototype;n.insert=function(t){var e=new a(t);return this.insertEntry(e),e},n.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},n.remove=function(t){var e=t.prev,i=t.next;e?e.next=i:this.head=i,i?i.prev=e:this.tail=e,t.next=t.prev=null,this._len--},n.len=function(){return this._len},n.clear=function(){this.head=this.tail=null,this._len=0};var a=function(t){this.value=t,this.next,this.prev},r=function(t){this._list=new i,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},o=r.prototype;o.put=function(t,e){var i=this._list,n=this._map,r=null;if(null==n[t]){var o=i.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=i.head;i.remove(l),delete n[l.key],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},"1bdT":function(t,e,i){var n=i("3gBT"),a=i("H6uX"),r=i("DN4a"),o=i("vWvF"),s=i("bYtY"),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}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var i=this[t];i||(i=this[t]=[]),i[0]=e[0],i[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var i in t)t.hasOwnProperty(i)&&this.attrKV(i,t[i]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.addAnimator(e[i]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.removeAnimator(e[i]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},s.mixin(l,o),s.mixin(l,r),s.mixin(l,a);var u=l;t.exports=u},"1tlw":function(t,e,i){var n=i("MBQ8").extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(t){return t.stack=null,n.superApply(this,"getInitialData",arguments)}}),a=n;t.exports=a},"1u/T":function(t,e,i){i("ProS").registerAction({type:"selectDataRange",event:"dataRangeSelected",update:"update"},function(t,e){e.eachComponent({mainType:"visualMap",query:t},function(e){e.setSelected(t.selected)})})},"1xaR":function(t,e,i){var n=i("ProS"),a=i("bYtY");i("qgGe"),i("NA0q"),i("RPvy");var r=i("mOdp"),o=i("y3NT"),s=i("0/Rx");n.registerVisual(a.curry(r,"sunburst")),n.registerLayout(a.curry(o,"sunburst")),n.registerProcessor(a.curry(s,"sunburst"))},2548:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("6GrX"),o=i("IUWy"),s=i("IwbS"),l=i("Qxkt"),u=i("gPAo"),h=i("eRkO"),c=n.extendComponentView({type:"toolbox",render:function(t,e,i,n){var c=this.group;if(c.removeAll(),t.get("show")){var d=+t.get("itemSize"),f=t.get("feature")||{},p=this._features||(this._features={}),g=[];a.each(f,function(t,e){g.push(e)}),new u(this._featureNames||[],g).add(m).update(m).remove(a.curry(m,null)).execute(),this._featureNames=g,h.layout(c,t,i),c.add(h.makeBackground(c.getBoundingRect(),t)),c.eachChild(function(t){var e=t.__title,n=t.hoverStyle;if(n&&e){var a=r.getBoundingRect(e,r.makeFont(n)),o=t.position[0]+c.position[0],s=!1;t.position[1]+c.position[1]+d+a.height>i.getHeight()&&(n.textPosition="top",s=!0);var l=s?-5-a.height:d+8;o+a.width/2>i.getWidth()?(n.textPosition=["100%",l],n.textAlign="right"):o-a.width/2<0&&(n.textPosition=[0,l],n.textAlign="left")}})}function m(r,u){var h,m=g[r],v=g[u],y=f[m],x=new l(y,t,t.ecModel);if(m&&!v){if(function(t){return 0===t.indexOf("my")}(m))h={model:x,onclick:x.option.onclick,featureName:m};else{var _=o.get(m);if(!_)return;h=new _(x,e,i)}p[m]=h}else{if(!(h=p[v]))return;h.model=x,h.ecModel=e,h.api=i}m||!v?x.get("show")&&!h.unusable?(!function(n,r,o){var l=n.getModel("iconStyle"),u=n.getModel("emphasis.iconStyle"),h=r.getIcons?r.getIcons():n.get("icon"),f=n.get("title")||{};if("string"==typeof h){var p=h,g=f;f={},(h={})[o]=p,f[o]=g}var m=n.iconPaths={};a.each(h,function(o,h){var p=s.createIcon(o,{},{x:-d/2,y:-d/2,width:d,height:d});p.setStyle(l.getItemStyle()),p.hoverStyle=u.getItemStyle();var g=t.getModel("tooltip");g&&g.get("show")&&p.attr("tooltip",a.extend({content:f[h],formatter:g.get("formatter",!0)||function(){return f[h]},formatterParams:{componentType:"toolbox",name:h,title:f[h],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),s.setHoverStyle(p),t.get("showTitle")&&(p.__title=f[h],p.on("mouseover",function(){var t=u.getItemStyle();p.setStyle({text:f[h],textPosition:u.get("textPosition")||"bottom",textFill:u.get("textFill")||t.fill||t.stroke||"#000",textAlign:u.get("textAlign")||"center",textBackgroundColor:u.get("textBackgroundColor"),textBorderRadius:u.get("textBorderRadius"),textPadding:u.get("textPadding")})}).on("mouseout",function(){p.setStyle({textFill:null,textBackgroundColor:null})})),p.trigger(n.get("iconStatus."+h)||"normal"),c.add(p),p.on("click",a.bind(r.onclick,r,e,i,h)),m[h]=p})}(x,h,m),x.setIconStatus=function(t,e){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[t]=e,n[t]&&n[t].trigger(e)},h.render&&h.render(x,e,i,n)):h.remove&&h.remove(e,i):h.dispose&&h.dispose(e,i)}},updateView:function(t,e,i,n){a.each(this._features,function(t){t.updateView&&t.updateView(t.model,e,i,n)})},remove:function(t,e){a.each(this._features,function(i){i.remove&&i.remove(t,e)}),this.group.removeAll()},dispose:function(t,e){a.each(this._features,function(i){i.dispose&&i.dispose(t,e)})}});t.exports=c},"2B6p":function(t,e){e.updateCenterAndZoom=function(t,e,i){var n=t.getZoom(),a=t.getCenter(),r=e.zoom,o=t.dataToPoint(a);null!=e.dx&&null!=e.dy&&(o[0]-=e.dx,o[1]-=e.dy,a=t.pointToData(o),t.setCenter(a));if(null!=r){if(i){var s=i.min||0,l=i.max||1/0;r=Math.max(Math.min(n*r,l),s)/n}t.scale[0]*=r,t.scale[1]*=r;var u=t.position,h=(e.originX-u[0])*(r-1),c=(e.originY-u[1])*(r-1);u[0]-=h,u[1]-=c,t.updateTransform(),a=t.pointToData(o),t.setCenter(a),t.setZoom(r*n)}return{center:t.getCenter(),zoom:t.getZoom()}}},"2DNl":function(t,e,i){var n=i("IMiH"),a=i("loD1"),r=i("59Ip"),o=i("aKvl"),s=i("n1HI"),l=i("hX1E").normalizeRadian,u=i("Sj9i"),h=i("hyiK"),c=n.CMD,d=2*Math.PI,f=1e-4;var p=[-1,-1,-1],g=[-1,-1];function m(t,e,i,n,a,r,o,s,l,h){if(h>e&&h>n&&h>r&&h>s||h<e&&h<n&&h<r&&h<s)return 0;var c,d=u.cubicRootAt(e,n,r,s,h,p);if(0===d)return 0;for(var f,m,v=0,y=-1,x=0;x<d;x++){var _=p[x],b=0===_||1===_?.5:1;u.cubicAt(t,i,a,o,_)<l||(y<0&&(y=u.cubicExtrema(e,n,r,s,g),g[1]<g[0]&&y>1&&(void 0,c=g[0],g[0]=g[1],g[1]=c),f=u.cubicAt(e,n,r,s,g[0]),y>1&&(m=u.cubicAt(e,n,r,s,g[1]))),2===y?_<g[0]?v+=f<e?b:-b:_<g[1]?v+=m<f?b:-b:v+=s<m?b:-b:_<g[0]?v+=f<e?b:-b:v+=s<f?b:-b)}return v}function v(t,e,i,n,a,r,o,s){if(s>e&&s>n&&s>r||s<e&&s<n&&s<r)return 0;var l=u.quadraticRootAt(e,n,r,s,p);if(0===l)return 0;var h=u.quadraticExtremum(e,n,r);if(h>=0&&h<=1){for(var c=0,d=u.quadraticAt(e,n,r,h),f=0;f<l;f++){var g=0===p[f]||1===p[f]?.5:1;u.quadraticAt(t,i,a,p[f])<o||(p[f]<h?c+=d<e?g:-g:c+=r<d?g:-g)}return c}g=0===p[0]||1===p[0]?.5:1;return u.quadraticAt(t,i,a,p[0])<o?0:r<e?g:-g}function y(t,e,i,n,a,r,o,s){if((s-=e)>i||s<-i)return 0;var u=Math.sqrt(i*i-s*s);p[0]=-u,p[1]=u;var h=Math.abs(n-a);if(h<1e-4)return 0;if(h%d<1e-4){n=0,a=d;var c=r?1:-1;return o>=p[0]+t&&o<=p[1]+t?c:0}if(r){u=n;n=l(a),a=l(u)}else n=l(n),a=l(a);n>a&&(a+=d);for(var f=0,g=0;g<2;g++){var m=p[g];if(m+t>o){var v=Math.atan2(s,m);c=r?1:-1;v<0&&(v=d+v),(v>=n&&v<=a||v+d>=n&&v+d<=a)&&(v>Math.PI/2&&v<1.5*Math.PI&&(c=-c),f+=c)}}return f}function x(t,e,i,n,l){for(var u,d,p=0,g=0,x=0,_=0,b=0,w=0;w<t.length;){var S=t[w++];switch(S===c.M&&w>1&&(i||(p+=h(g,x,_,b,n,l))),1===w&&(_=g=t[w],b=x=t[w+1]),S){case c.M:g=_=t[w++],x=b=t[w++];break;case c.L:if(i){if(a.containStroke(g,x,t[w],t[w+1],e,n,l))return!0}else p+=h(g,x,t[w],t[w+1],n,l)||0;g=t[w++],x=t[w++];break;case c.C:if(i){if(r.containStroke(g,x,t[w++],t[w++],t[w++],t[w++],t[w],t[w+1],e,n,l))return!0}else p+=m(g,x,t[w++],t[w++],t[w++],t[w++],t[w],t[w+1],n,l)||0;g=t[w++],x=t[w++];break;case c.Q:if(i){if(o.containStroke(g,x,t[w++],t[w++],t[w],t[w+1],e,n,l))return!0}else p+=v(g,x,t[w++],t[w++],t[w],t[w+1],n,l)||0;g=t[w++],x=t[w++];break;case c.A:var M=t[w++],I=t[w++],T=t[w++],A=t[w++],D=t[w++],C=t[w++];w+=1;var L=1-t[w++],P=Math.cos(D)*T+M,k=Math.sin(D)*A+I;w>1?p+=h(g,x,P,k,n,l):(_=P,b=k);var O=(n-M)*A/T+M;if(i){if(s.containStroke(M,I,A,D,D+C,L,e,O,l))return!0}else p+=y(M,I,A,D,D+C,L,O,l);g=Math.cos(D+C)*T+M,x=Math.sin(D+C)*A+I;break;case c.R:_=g=t[w++],b=x=t[w++];P=_+t[w++],k=b+t[w++];if(i){if(a.containStroke(_,b,P,b,e,n,l)||a.containStroke(P,b,P,k,e,n,l)||a.containStroke(P,k,_,k,e,n,l)||a.containStroke(_,k,_,b,e,n,l))return!0}else p+=h(P,b,P,k,n,l),p+=h(_,k,_,b,n,l);break;case c.Z:if(i){if(a.containStroke(g,x,_,b,e,n,l))return!0}else p+=h(g,x,_,b,n,l);g=_,x=b}}return i||(u=x,d=b,Math.abs(u-d)<f)||(p+=h(g,x,_,b,n,l)||0),0!==p}e.contain=function(t,e,i){return x(t,0,!1,e,i)},e.containStroke=function(t,e,i,n){return x(t,e,!0,i,n)}},"2dDv":function(t,e,i){var n=i("bYtY"),a=i("Fofx"),r=i("+TT/"),o=i("aX7z"),s=i("D1WM"),l=i("IwbS"),u=i("OELB"),h=i("72pK"),c=n.each,d=Math.min,f=Math.max,p=Math.floor,g=Math.ceil,m=u.round,v=Math.PI;function y(t,e,i){this._axesMap=n.createHashMap(),this._axesLayout={},this.dimensions=t.dimensions,this._rect,this._model=t,this._init(t,e,i)}function x(t,e){return d(f(t,e[0]),e[1])}y.prototype={type:"parallel",constructor:y,_init:function(t,e,i){var n=t.dimensions,a=t.parallelAxisIndex;c(n,function(t,i){var n=a[i],r=e.getComponent("parallelAxis",n),l=this._axesMap.set(t,new s(t,o.createScaleByModel(r),[0,0],r.get("type"),n)),u="category"===l.type;l.onBand=u&&r.get("boundaryGap"),l.inverse=r.get("inverse"),r.axis=l,l.model=r,l.coordinateSystem=r.coordinateSystem=this},this)},update:function(t,e){this._updateAxesFromSeries(this._model,t)},containPoint:function(t){var e=this._makeLayoutInfo(),i=e.axisBase,n=e.layoutBase,a=e.pixelDimIndex,r=t[1-a],o=t[a];return r>=i&&r<=i+e.axisLength&&o>=n&&o<=n+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries(function(i){if(t.contains(i,e)){var n=i.getData();c(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(n,n.mapDimension(t)),o.niceScaleExtent(e.scale,e.model)},this)}},this)},resize:function(t,e){this._rect=r.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,i=this._rect,n=["x","y"],a=["width","height"],r=e.get("layout"),o="horizontal"===r?0:1,s=i[a[o]],l=[0,s],u=this.dimensions.length,h=x(e.get("axisExpandWidth"),l),c=x(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,f=e.get("axisExpandWindow");f?(t=x(f[1]-f[0],l),f[1]=f[0]+t):(t=x(h*(c-1),l),(f=[h*(e.get("axisExpandCenter")||p(u/2))-t/2])[1]=f[0]+t);var v=(s-t)/(u-c);v<3&&(v=0);var y=[p(m(f[0]/h,1))+1,g(m(f[1]/h,1))-1],_=v/h*f[0];return{layout:r,pixelDimIndex:o,layoutBase:i[n[o]],layoutLength:s,axisBase:i[n[1-o]],axisLength:i[a[1-o]],axisExpandable:d,axisExpandWidth:h,axisCollapseWidth:v,axisExpandWindow:f,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:_}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,i=this.dimensions,n=this._makeLayoutInfo(),r=n.layout;e.each(function(t){var e=[0,n.axisLength],i=t.inverse?1:0;t.setExtent(e[i],e[1-i])}),c(i,function(e,i){var o=(n.axisExpandable?function(t,e){var i,n,a=e.layoutLength,r=e.axisExpandWidth,o=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;t<l[0]?(i=t*s,n=s):t<=l[1]?(i=e.axisExpandWindow0Pos+t*r-e.axisExpandWindow[0],u=r,h=!0):(i=a-(o-1-t)*s,n=s);return{position:i,axisNameAvailableWidth:u,axisLabelShow:h,nameTruncateMaxWidth:n}}:function(t,e){var i=e.layoutLength/(e.axisCount-1);return{position:i*t,axisNameAvailableWidth:i,axisLabelShow:!0}})(i,n),s={horizontal:{x:o.position,y:n.axisLength},vertical:{x:0,y:o.position}},l={horizontal:v/2,vertical:0},u=[s[r].x+t.x,s[r].y+t.y],h=l[r],c=a.create();a.rotate(c,c,h),a.translate(c,c,u),this._axesLayout[e]={position:u,rotation:h,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(t,e,i,a){null==i&&(i=0),null==a&&(a=t.count());var r=this._axesMap,o=this.dimensions,s=[],l=[];n.each(o,function(e){s.push(t.mapDimension(e)),l.push(r.get(e).model)});for(var u=this.hasAxisBrushed(),h=i;h<a;h++){var c;if(u){c="active";for(var d=t.getValues(s,h),f=0,p=o.length;f<p;f++){if("inactive"===l[f].getActiveState(d[f])){c="inactive";break}}}else c="normal";e(c,h)}},hasAxisBrushed:function(){for(var t=this.dimensions,e=this._axesMap,i=!1,n=0,a=t.length;n<a;n++)"normal"!==e.get(t[n]).model.getActiveState()&&(i=!0);return i},axisCoordToPoint:function(t,e){var i=this._axesLayout[e];return l.applyTransform([t,0],i.transform)},getAxisLayout:function(t){return n.clone(this._axesLayout[t])},getSlidedAxisExpandWindow:function(t){var e=this._makeLayoutInfo(),i=e.pixelDimIndex,n=e.axisExpandWindow.slice(),a=n[1]-n[0],r=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:n};var o,s=t[i]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),p=null!=c[0];if(u)p&&u&&s<a*c[0]?(l="jump",o=s-a*c[2]):p&&u&&s>a*(1-c[0])?(l="jump",o=s-a*(1-c[2])):(o=s-a*c[1])>=0&&(o=s-a*(1-c[1]))<=0&&(o=0),(o*=e.axisExpandWidth/u)?h(o,n,r,"all"):l="none";else{a=n[1]-n[0];(n=[f(0,r[1]*s/a-a/2)])[1]=d(r[1],n[0]+a),n[0]=n[1]-a}return{axisExpandWindow:n,behavior:l}}};var _=y;t.exports=_},"2fGM":function(t,e,i){var n=i("bYtY"),a=i("bLfw"),r=i("nkfE"),o=i("ICMv"),s=a.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});n.merge(s.prototype,o);var l={splitNumber:5};function u(t,e){return e.type||(e.data?"category":"value")}r("angle",s,u,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),r("radius",s,u,l)},"2fw6":function(t,e,i){var n=i("y+Vt").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=n},"2uGb":function(t,e,i){var n=i("ProS");i("ko1b"),i("s2lz"),i("RBEP");var a=i("kMLO"),r=i("nKiI");n.registerVisual(a),n.registerLayout(r)},"2w7y":function(t,e,i){var n=i("ProS");i("qMZE"),i("g0SD"),n.registerPreprocessor(function(t){t.markPoint=t.markPoint||{}})},"33Ds":function(t,e,i){var n=i("ProS"),a=i("b9oc"),r=i("Kagy"),o=i("IUWy"),s=r.toolbox.restore;function l(t){this.model=t}l.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:s.title},l.prototype.onclick=function(t,e,i){a.clear(t),e.dispatchAction({type:"restore",from:this.uid})},o.register("restore",l),n.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")});var u=l;t.exports=u},"3C/r":function(t,e){var i=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};i.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var n=i;t.exports=n},"3CBa":function(t,e,i){var n=i("hydK").createElement,a=i("bYtY"),r=i("SUKs"),o=i("y+Vt"),s=i("Dagg"),l=i("dqUG"),u=i("DBLp"),h=i("sW+o"),c=i("n6Mw"),d=i("vKoX"),f=i("P47w"),p=f.path,g=f.image,m=f.text;function v(t){return parseInt(t,10)}function y(t,e){return e&&t&&e.parentNode!==t}function x(t,e,i){if(y(t,e)&&i){var n=i.nextSibling;n?t.insertBefore(e,n):t.appendChild(e)}}function _(t,e){if(y(t,e)){var i=t.firstChild;i?t.insertBefore(e,i):t.appendChild(e)}}function b(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function w(t){return t.__textSvgEl}function S(t){return t.__svgEl}var M=function(t,e,i,r){this.root=t,this.storage=e,this._opts=i=a.extend({},i||{});var o=n("svg");o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("version","1.1"),o.setAttribute("baseProfile","full"),o.style.cssText="user-select:none;position:absolute;left:0;top:0;",this.gradientManager=new h(r,o),this.clipPathManager=new c(r,o),this.shadowManager=new d(r,o);var s=document.createElement("div");s.style.cssText="overflow:hidden;position:relative",this._svgRoot=o,this._viewport=s,t.appendChild(s),s.appendChild(o),this.resize(i.width,i.height),this._visibleList=[]};M.prototype={constructor:M,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._viewport.style.background=t},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var e,i,n=this._svgRoot,a=this._visibleList,r=t.length,h=[];for(e=0;e<r;e++){var c=t[e],d=(i=c)instanceof o?p:i instanceof s?g:i instanceof l?m:p,f=S(c)||w(c);c.invisible||(c.__dirty&&(d&&d.brush(c),this.clipPathManager.update(c),c.style&&(this.gradientManager.update(c.style.fill),this.gradientManager.update(c.style.stroke),this.shadowManager.update(f,c)),c.__dirty=!1),h.push(c))}var v,y=u(a,h);for(e=0;e<y.length;e++){if((T=y[e]).removed)for(var M=0;M<T.count;M++){f=S(c=a[T.indices[M]]);var I=w(c);b(n,f),b(n,I)}}for(e=0;e<y.length;e++){var T;if((T=y[e]).added)for(M=0;M<T.count;M++){f=S(c=h[T.indices[M]]),I=w(c);v?x(n,f,v):_(n,f),f?x(n,I,f):v?x(n,I,v):_(n,I),x(n,I,f),v=I||f||v,this.gradientManager.addWithoutUpdate(f,c),this.shadowManager.addWithoutUpdate(v,c),this.clipPathManager.markUsed(c)}else if(!T.removed)for(M=0;M<T.count;M++){v=f=w(c=h[T.indices[M]])||S(c)||v,this.gradientManager.markUsed(c),this.gradientManager.addWithoutUpdate(f,c),this.shadowManager.markUsed(c),this.shadowManager.addWithoutUpdate(f,c),this.clipPathManager.markUsed(c)}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=h},_getDefs:function(t){var e,i=this._svgRoot;return 0===(e=this._svgRoot.getElementsByTagName("defs")).length?t?((e=i.insertBefore(n("defs"),i.firstChild)).contains||(e.contains=function(t){var i=e.children;if(!i)return!1;for(var n=i.length-1;n>=0;--n)if(i[n]===t)return!0;return!1}),e):null:e[0]},resize:function(t,e){var i=this._viewport;i.style.display="none";var n=this._opts;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=this._getSize(0),e=this._getSize(1),i.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var a=i.style;a.width=t+"px",a.height=e+"px";var r=this._svgRoot;r.setAttribute("width",t),r.setAttribute("height",e)}},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,i=["width","height"][t],n=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],r=["paddingRight","paddingBottom"][t];if(null!=e[i]&&"auto"!==e[i])return parseFloat(e[i]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[n]||v(s[i])||v(o.style[i]))-(v(s[a])||0)-(v(s[r])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},pathToDataUrl:function(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+this._svgRoot.outerHTML}},a.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){var e;M.prototype[t]=(e=t,function(){r('In SVG mode painter not support method "'+e+'"')})});var I=M;t.exports=I},"3LNs":function(t,e,i){var n=i("bYtY"),a=i("Yl7c"),r=i("IwbS"),o=i("zTMp"),s=i("YH21"),l=i("iLNv"),u=(0,i("4NO4").makeInner)(),h=n.clone,c=n.bind;function d(){}function f(t,e,i,a){(function t(e,i){if(n.isObject(e)&&n.isObject(i)){var a=!0;return n.each(i,function(i,n){a=a&&t(e[n],i)}),!!a}return e===i})(u(i).lastProp,a)||(u(i).lastProp=a,e?r.updateProps(i,a,t):(i.stopAnimation(),i.attr(a)))}function p(t,e){t[e.get("label.show")?"show":"hide"]()}function g(t){return{position:t.position.slice(),rotation:t.rotation||0}}function m(t,e,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)})}d.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,i,a){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,a||this._lastValue!==o||this._lastStatus!==s){this._lastValue=o,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var h={};this.makeElOption(h,o,t,e,i);var c=h.graphicKey;c!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=c;var d=this._moveAnimation=this.determineAnimation(t,e);if(l){var p=n.curry(f,e,d);this.updatePointerEl(l,h,p,e),this.updateLabelEl(l,h,p,e)}else l=this._group=new r.Group,this.createPointerEl(l,h,t,e),this.createLabelEl(l,h,t,e),i.getZr().add(l);m(l,e,!0),this._renderHandle(o)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var i=e.get("animation"),n=t.axis,a="category"===n.type,r=e.get("snap");if(!r&&!a)return!1;if("auto"===i||null==i){var s=this.animationThreshold;if(a&&n.getBandWidth()>s)return!0;if(r){var l=o.getAxisInfo(t).seriesDataCount,u=n.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===i},makeElOption:function(t,e,i,n,a){},createPointerEl:function(t,e,i,n){var a=e.pointer;if(a){var o=u(t).pointerEl=new r[a.type](h(e.pointer));t.add(o)}},createLabelEl:function(t,e,i,n){if(e.label){var a=u(t).labelEl=new r.Rect(h(e.label));t.add(a),p(a,n)}},updatePointerEl:function(t,e,i){var n=u(t).pointerEl;n&&e.pointer&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,i,n){var a=u(t).labelEl;a&&(a.setStyle(e.label.style),i(a,{shape:e.label.shape,position:e.label.position}),p(a,n))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,a=this._api.getZr(),o=this._handle,u=i.getModel("handle"),h=i.get("status");if(!u.get("show")||!h||"hide"===h)return o&&a.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=r.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:c(this._onHandleDragMove,this,0,0),drift:c(this._onHandleDragMove,this),ondragend:c(this._onHandleDragEnd,this)}),a.add(o)),m(o,i,!1);o.setStyle(u.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=u.get("size");n.isArray(d)||(d=[d,d]),o.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){f(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(g(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(g(n)),u(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},_onHandleDragEnd:function(t){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;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{x:t[i=i||0],y:t[1-i],width:e[i],height:e[1-i]}}},d.prototype.constructor=d,a.enableClassExtend(d);var v=d;t.exports=v},"3OrL":function(t,e,i){var n=i("bYtY"),a=i("6Ic6"),r=i("IwbS"),o=i("y+Vt"),s=["itemStyle"],l=["emphasis","itemStyle"],u=a.extend({type:"boxplot",render:function(t,e,i){var n=t.getData(),a=this.group,r=this._data;this._data||a.removeAll();var o="horizontal"===t.get("layout")?1:0;n.diff(r).add(function(t){if(n.hasValue(t)){var e=c(n.getItemLayout(t),n,t,o,!0);n.setItemGraphicEl(t,e),a.add(e)}}).update(function(t,e){var i=r.getItemGraphicEl(e);if(n.hasValue(t)){var s=n.getItemLayout(t);i?d(s,i,n,t):i=c(s,n,t,o),a.add(i),n.setItemGraphicEl(t,i)}else a.remove(i)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&a.remove(e)}).execute(),this._data=n},remove:function(t){var e=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl(function(t){t&&e.remove(t)})},dispose:n.noop}),h=o.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var i=e.points,n=0;for(t.moveTo(i[n][0],i[n][1]),n++;n<4;n++)t.lineTo(i[n][0],i[n][1]);for(t.closePath();n<i.length;n++)t.moveTo(i[n][0],i[n][1]),n++,t.lineTo(i[n][0],i[n][1])}});function c(t,e,i,a,r){var o=t.ends,s=new h({shape:{points:r?function(t,e,i){return n.map(t,function(t){return(t=t.slice())[e]=i.initBaseline,t})}(o,a,t):o}});return d(t,s,e,i,r),s}function d(t,e,i,n,a){var o=i.hostModel;(0,r[a?"initProps":"updateProps"])(e,{shape:{points:t.ends}},o,n);var u=i.getItemModel(n),h=u.getModel(s),c=i.getItemVisual(n,"color"),d=h.getItemStyle(["borderColor"]);d.stroke=c,d.strokeNoScale=!0,e.useStyle(d),e.z2=100;var f=u.getModel(l).getItemStyle();r.setHoverStyle(e,f)}var f=u;t.exports=f},"3TkU":function(t,e,i){i("aTJb"),i("OlYY"),i("fc+c"),i("QUw5"),i("Swgg"),i("LBfv"),i("noeP")},"3X6L":function(t,e,i){var n=i("bYtY"),a=i("7a+S"),r=i("OKJ2"),o=a.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});n.mixin(o,r);var s=o;t.exports=s},"3e3G":function(t,e,i){var n=i("bYtY"),a=i("QuXc"),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},"3gBT":function(t,e){var i=2311;t.exports=function(){return i++}},"3hzK":function(t,e){t.exports={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")}}}},"3m61":function(t,e){function i(t){return t instanceof Array||(t=[t,t]),t}t.exports=function(t){t.eachSeriesByType("graph",function(t){var e=t.getGraph(),n=t.getEdgeData(),a=i(t.get("edgeSymbol")),r=i(t.get("edgeSymbolSize")),o="lineStyle.color".split("."),s="lineStyle.opacity".split(".");n.setVisual("fromSymbol",a&&a[0]),n.setVisual("toSymbol",a&&a[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("color",t.get(o)),n.setVisual("opacity",t.get(s)),n.each(function(t){var a=n.getItemModel(t),r=e.getEdgeByIndex(t),l=i(a.getShallow("symbol",!0)),u=i(a.getShallow("symbolSize",!0)),h=a.get(o),c=a.get(s);switch(h){case"source":h=r.node1.getVisual("color");break;case"target":h=r.node2.getVisual("color")}l[0]&&r.setVisual("fromSymbol",l[0]),l[1]&&r.setVisual("toSymbol",l[1]),u[0]&&r.setVisual("fromSymbolSize",u[0]),u[1]&&r.setVisual("toSymbolSize",u[1]),r.setVisual("color",h),r.setVisual("opacity",c)})})}},"3zoK":function(t,e,i){var n=i("bYtY"),a=i("bLfw"),r=i("KCsZ"),o=i("nkfE"),s=i("OELB"),l=i("ICMv"),u=a.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return r([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(t){var e=this.activeIntervals=n.clone(t);if(e)for(var i=e.length-1;i>=0;i--)s.asc(e[i])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(t))return"inactive";if(1===e.length){var i=e[0];if(i[0]<=t&&t<=i[1])return"active"}else for(var n=0,a=e.length;n<a;n++)if(e[n][0]<=t&&t<=e[n][1])return"active";return"inactive"}});n.merge(u.prototype,l),o("parallel",u,function(t,e){return e.type||(e.data?"category":"value")},{type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10});var h=u;t.exports=h},"4Feb":function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=i("IwbS"),r=i("x3X8").getDefaultLabel,o=i("MwEJ"),s=i("nVfU").getLayoutOnAxis,l=i("gPAo"),u=i("T4UG"),h=i("Qxkt"),c=i("6Ic6"),d=i("qj72"),f=i("ANjR"),p=i("MHtr"),g=i("6usn"),m=i("Rx6q"),v=a.CACHED_LABEL_STYLE_PROPERTIES,y=["itemStyle"],x=["emphasis","itemStyle"],_=["label"],b=["emphasis","label"],w="e\0\0",S={cartesian2d:d,geo:f,singleAxis:p,polar:g,calendar:m};function M(t,e,i,n,a){null==i[t]||a||(e[t]=i[t],i[t]=n[t])}function I(t,e,i,o){var l=t.get("renderItem"),u=t.coordinateSystem,h={};u&&(h=u.prepareCustoms?u.prepareCustoms():S[u.type](u));var c,d,f,p,g,m=n.defaults({getWidth:o.getWidth,getHeight:o.getHeight,getZr:o.getZr,getDevicePixelRatio:o.getDevicePixelRatio,value:function(t,i){return null==i&&(i=c),e.get(e.getDimension(t||0),i)},style:function(i,o){null==o&&(o=c),M(o);var s=d.getModel(y).getItemStyle();null!=g&&(s.fill=g);var l=e.getItemVisual(o,"opacity");null!=l&&(s.opacity=l);var u=i?L(i,f):f;return a.setTextStyle(s,u,null,{autoColor:g,isRectText:!0}),s.text=u.getShallow("show")?n.retrieve2(t.getFormattedLabel(o,"normal"),r(e,o)):null,i&&P(s,i),s},styleEmphasis:function(i,o){null==o&&(o=c),M(o);var s=d.getModel(x).getItemStyle(),l=i?L(i,p):p;return a.setTextStyle(s,l,null,{isRectText:!0},!0),s.text=l.getShallow("show")?n.retrieve3(t.getFormattedLabel(o,"emphasis"),t.getFormattedLabel(o,"normal"),r(e,o)):null,i&&P(s,i),s},visual:function(t,i){return null==i&&(i=c),e.getItemVisual(i,t)},barLayout:function(t){if(u.getBaseAxis){var e=u.getBaseAxis();return s(n.defaults({axis:e},t),o)}},currentSeriesIndices:function(){return i.getCurrentSeriesIndices()},font:function(t){return a.getFont(t,i)}},h.api||{}),v={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:h.coordSys,dataInsideLength:e.count(),encode:function(t){var e={};return n.each(t.dimensions,function(i,n){var a=t.getDimensionInfo(i);if(!a.isExtraCoord){var r=a.coordDim;(e[r]=e[r]||[])[a.coordDimIndex]=n}}),e}(t.getData())},w=!0;return function(t,i){return c=t,w=!0,l&&l(n.defaults({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:i?i.type:null},v),m)};function M(t){null==t&&(t=c),w&&(d=e.getItemModel(t),f=d.getModel(_),p=d.getModel(b),g=e.getItemVisual(t,"color"),w=!1)}}function T(t,e,i,n,a,r){return(t=A(t,e,i,n,a,r,!0))&&r.setItemGraphicEl(e,t),t}function A(t,e,i,r,o,s,u){var h,c=!i,d=(i=i||{}).type,f=i.shape,p=i.style;if(t&&(c||null!=d&&d!==t.__customGraphicType||"path"===d&&((h=f)&&(h.hasOwnProperty("pathData")||h.hasOwnProperty("d")))&&O(f)!==t.__customPathData||"image"===d&&E(p,"image")&&p.image!==t.__customImagePath||"text"===d&&E(f,"text")&&p.text!==t.__customText)&&(o.remove(t),t=null),!c){var g=!t;return!t&&(t=function(t){var e,i=t.type;if("path"===i){var n=t.shape,r=null!=n.width&&null!=n.height?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,o=O(n);(e=a.makePath(o,null,r,n.layout||"center")).__customPathData=o}else"image"===i?(e=new a.Image({})).__customImagePath=t.style.image:"text"===i?(e=new a.Text({})).__customText=t.style.text:e=new(0,a[i.charAt(0).toUpperCase()+i.slice(1)]);return e.__customGraphicType=i,e.name=t.name,e}(i)),function(t,e,i,r,o,s,l){var u={},h=i.style||{};if(i.shape&&(u.shape=n.clone(i.shape)),i.position&&(u.position=i.position.slice()),i.scale&&(u.scale=i.scale.slice()),i.origin&&(u.origin=i.origin.slice()),i.rotation&&(u.rotation=i.rotation),"image"===t.type&&i.style){var c=u.style={};n.each(["x","y","width","height"],function(e){M(e,c,h,t.style,s)})}"text"===t.type&&i.style&&(c=u.style={},n.each(["x","y"],function(e){M(e,c,h,t.style,s)}),!h.hasOwnProperty("textFill")&&h.fill&&(h.textFill=h.fill),!h.hasOwnProperty("textStroke")&&h.stroke&&(h.textStroke=h.stroke));if("group"!==t.type&&(t.useStyle(h),s)){t.style.opacity=0;var d=h.opacity;null==d&&(d=1),a.initProps(t,{style:{opacity:d}},r,e)}s?t.attr(u):a.updateProps(t,u,r,e),i.hasOwnProperty("z2")&&t.attr("z2",i.z2||0),i.hasOwnProperty("silent")&&t.attr("silent",i.silent),i.hasOwnProperty("invisible")&&t.attr("invisible",i.invisible),i.hasOwnProperty("ignore")&&t.attr("ignore",i.ignore),i.hasOwnProperty("info")&&t.attr("info",i.info);var f=i.styleEmphasis,p=!1===f;t.__cusHasEmphStl&&null==f||!t.__cusHasEmphStl&&p||(a.setElementHoverStyle(t,f),t.__cusHasEmphStl=!p),l&&a.setAsHighDownDispatcher(t,!p)}(t,e,i,r,0,g,u),"group"===d&&function(t,e,i,n,a){var r=i.children,o=r?r.length:0,s=i.$mergeChildren,u="byName"===s||i.diffChildrenByName,h=!1===s;if(!o&&!u&&!h)return;if(u)return c={oldChildren:t.children()||[],newChildren:r||[],dataIndex:e,animatableModel:n,group:t,data:a},void new l(c.oldChildren,c.newChildren,D,D,c).add(C).update(C).remove(k).execute();var c;h&&t.removeAll();for(var d=0;d<o;d++)r[d]&&A(t.childAt(d),e,r[d],n,t,a)}(t,e,i,r,s),o.add(t),t}}function D(t,e){var i=t&&t.name;return null!=i?i:w+e}function C(t,e){var i=this.context,n=null!=t?i.newChildren[t]:null;A(null!=e?i.oldChildren[e]:null,i.dataIndex,n,i.animatableModel,i.group,i.data)}function L(t,e){var i=new h({},e);return n.each(v,function(e,n){t.hasOwnProperty(e)&&(i.option[n]=t[e])}),i}function P(t,e){for(var i in e)!e.hasOwnProperty(i)&&v.hasOwnProperty(i)||(t[i]=e[i])}function k(t){var e=this.context,i=e.oldChildren[t];i&&e.group.remove(i)}function O(t){return t&&(t.pathData||t.d)}function E(t,e){return t&&t.hasOwnProperty(e)}u.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0},getInitialData:function(t,e){return o(this.getSource(),this)},getDataParams:function(t,e,i){var n=u.prototype.getDataParams.apply(this,arguments);return i&&(n.info=i.info),n}}),c.extend({type:"custom",_data:null,render:function(t,e,i,n){var a=this._data,r=t.getData(),o=this.group,s=I(t,r,e,i);r.diff(a).add(function(e){T(null,e,s(e,n),t,o,r)}).update(function(e,i){T(a.getItemGraphicEl(i),e,s(e,n),t,o,r)}).remove(function(t){var e=a.getItemGraphicEl(t);e&&o.remove(e)}).execute(),this._data=r},incrementalPrepareRender:function(t,e,i){this.group.removeAll(),this._data=null},incrementalRender:function(t,e,i,n,a){var r=e.getData(),o=I(e,r,i,n);function s(t){t.isGroup||(t.incremental=!0,t.useHoverLayer=!0)}for(var l=t.start;l<t.end;l++){T(null,l,o(l,a),e,this.group,r).traverse(s)}},dispose:n.noop,filterForExposedEvent:function(t,e,i,n){var a=e.element;if(null==a||i.name===a)return!0;for(;(i=i.parent)&&i!==this.group;)if(i.name===a)return!0;return!1}})},"4HMb":function(t,e,i){var n=i("bYtY"),a=i("6GrX"),r=i("4NO4").makeInner,o=i("aX7z"),s=o.makeLabelFormatter,l=o.getOptionCategoryInterval,u=o.shouldShowAllLabels,h=r();function c(t,e){var i,a=d(t,"labels"),r=l(e),o=f(a,r);return o||p(a,r,{labels:n.isFunction(r)?m(t,r):g(t,i="auto"===r?function(t){var e=h(t).autoInterval;return null!=e?e:h(t).autoInterval=t.calculateCategoryInterval()}(t):r),labelCategoryInterval:i})}function d(t,e){return h(t)[e]||(h(t)[e]=[])}function f(t,e){for(var i=0;i<t.length;i++)if(t[i].key===e)return t[i].value}function p(t,e,i){return t.push({key:e,value:i}),i}function g(t,e,i){var n=s(t),a=t.scale,r=a.getExtent(),o=t.getLabelModel(),l=[],h=Math.max((e||0)+1,1),c=r[0],d=a.count();0!==c&&h>1&&d/h>2&&(c=Math.round(Math.ceil(c/h)*h));var f=u(t),p=o.get("showMinLabel")||f,g=o.get("showMaxLabel")||f;p&&c!==r[0]&&v(r[0]);for(var m=c;m<=r[1];m+=h)v(m);function v(t){l.push(i?t:{formattedLabel:n(t),rawLabel:a.getLabel(t),tickValue:t})}return g&&m-h!==r[1]&&v(r[1]),l}function m(t,e,i){var a=t.scale,r=s(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=function(t){return"category"===t.type?function(t){var e=t.getLabelModel(),i=c(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i}(t):function(t){var e=t.scale.getTicks(),i=s(t);return{labels:n.map(e,function(e,n){return{formattedLabel:i(e,n),rawLabel:t.scale.getLabel(e),tickValue:e}})}}(t)},e.createAxisTicks=function(t,e){return"category"===t.type?function(t,e){var i,a,r=d(t,"ticks"),o=l(e),s=f(r,o);if(s)return s;if(e.get("show")&&!t.scale.isBlank()||(i=[]),n.isFunction(o))i=m(t,o,!0);else if("auto"===o){var u=c(t,t.getLabelModel());a=u.labelCategoryInterval,i=n.map(u.labels,function(t){return t.tickValue})}else i=g(t,a=o,!0);return p(r,o,{ticks:i,tickCategoryInterval:a})}(t,e):{ticks:t.scale.getTicks()}},e.calculateCategoryInterval=function(t){var e=function(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()}}(t),i=s(t),n=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),l=r.count();if(o[1]-o[0]<1)return 0;var u=1;l>40&&(u=Math.max(1,Math.floor(l/40)));for(var c=o[0],d=t.dataToCoord(c+1)-t.dataToCoord(c),f=Math.abs(d*Math.cos(n)),p=Math.abs(d*Math.sin(n)),g=0,m=0;c<=o[1];c+=u){var v,y,x=a.getBoundingRect(i(c),e.font,"center","top");v=1.3*x.width,y=1.3*x.height,g=Math.max(g,v,7),m=Math.max(m,y,7)}var _=g/f,b=m/p;isNaN(_)&&(_=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(_,b))),S=h(t.model),M=S.lastAutoInterval,I=S.lastTickCount;return null!=M&&null!=I&&Math.abs(M-w)<=1&&Math.abs(I-l)<=1&&M>w?w=M:(S.lastTickCount=l,S.lastAutoInterval=w),w}},"4NO4":function(t,e,i){var n=i("bYtY"),a=i("ItGF"),r=n.each,o=n.isObject,s=n.isArray,l="series\0";function u(t){return t instanceof Array?t:null==t?[]:[t]}function h(t){return o(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}var c=0;function d(t,e){return t&&t.hasOwnProperty(e)}e.normalizeToArray=u,e.defaultEmphasis=function(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<a;n++){var r=i[n];!t.emphasis[e].hasOwnProperty(r)&&t[e].hasOwnProperty(r)&&(t.emphasis[e][r]=t[e][r])}}},e.TEXT_STYLE_OPTIONS=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"],e.getDataItemValue=function(t){return!o(t)||s(t)||t instanceof Date?t:t.value},e.isDataItemOption=function(t){return o(t)&&!(t instanceof Array)},e.mappingToExists=function(t,e){e=(e||[]).slice();var i=n.map(t||[],function(t,e){return{exist:t}});return r(e,function(t,n){if(o(t)){for(var a=0;a<i.length;a++)if(!i[a].option&&null!=t.id&&i[a].exist.id===t.id+"")return i[a].option=t,void(e[n]=null);for(a=0;a<i.length;a++){var r=i[a].exist;if(!(i[a].option||null!=r.id&&null!=t.id||null==t.name||h(t)||h(r)||r.name!==t.name+""))return i[a].option=t,void(e[n]=null)}}}),r(e,function(t,e){if(o(t)){for(var n=0;n<i.length;n++){var a=i[n].exist;if(!i[n].option&&!h(a)&&null==t.id){i[n].option=t;break}}n>=i.length&&i.push({option:t})}}),i},e.makeIdAndName=function(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)}})},e.isNameSpecified=function(t){var e=t.name;return!(!e||!e.indexOf(l))},e.isIdInner=h,e.compressBatches=function(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<a;n++)for(var r=t[n].seriesId,o=u(t[n].dataIndex),s=i&&i[r],l=0,h=o.length;l<h;l++){var c=o[l];s&&s[c]?s[c]=null:(e[r]||(e[r]={}))[c]=1}}function r(t,e){var i=[];for(var n in t)if(t.hasOwnProperty(n)&&null!=t[n])if(e)i.push(+n);else{var a=r(t[n],!0);a.length&&i.push({seriesId:n,dataIndex:a})}return i}},e.queryDataIndex=function(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?n.isArray(e.dataIndex)?n.map(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?n.isArray(e.name)?n.map(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0},e.makeInner=function(){var t="__\0ec_inner_"+c+++"_"+Math.random().toFixed(5);return function(e){return e[t]||(e[t]={})}},e.parseFinder=function(t,e,i){if(n.isString(e)){var a={};a[e+"Index"]=0,e=a}var o=i&&i.defaultMainType;!o||d(e,o+"Index")||d(e,o+"Id")||d(e,o+"Name")||(e[o+"Index"]=0);var s={};return r(e,function(a,r){if(a=e[r],"dataIndex"!==r&&"dataIndexInside"!==r){var o=r.match(/^(\w+)(Index|Id|Name)$/)||[],l=o[1],u=(o[2]||"").toLowerCase();if(!(!l||!u||null==a||"index"===u&&"none"===a||i&&i.includeMainTypes&&n.indexOf(i.includeMainTypes,l)<0)){var h={mainType:l};"index"===u&&"all"===a||(h[u]=a);var c=t.queryComponents(h);s[l+"Models"]=c,s[l+"Model"]=c[0]}}else s[r]=a}),s},e.setAttribute=function(t,e,i){t.setAttribute?t.setAttribute(e,i):t[e]=i},e.getAttribute=function(t,e){return t.getAttribute?t.getAttribute(e):t[e]},e.getTooltipRenderMode=function(t){return"auto"===t?a.domSupported?"html":"richText":t||"html"},e.groupData=function(t,e){var i=n.createHashMap(),a=[];return n.each(t,function(t){var n=e(t);(i.get(n)||(a.push(n),i.set(n,[]))).push(t)}),{keys:a,buckets:i}}},"4NgU":function(t,e,i){var n=i("Yl7c");function a(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}a.prototype.parse=function(t){return t},a.prototype.getSetting=function(t){return this._setting[t]},a.prototype.contain=function(t){var e=this._extent;return t>=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[0]&&(e[0]=t[0]),t[1]>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},"4fz+":function(t,e,i){var n=i("bYtY"),a=i("1bdT"),r=i("mFDi"),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<e.length;i++)if(e[i].name===t)return e[i]},childCount:function(){return this._children.length},add:function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var i=this._children,n=i.indexOf(e);n>=0&&(i.splice(n,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var e=this.__zr,i=this.__storage,a=this._children,r=n.indexOf(a,t);return r<0?this:(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;e<i.length;e++)t=i[e],n&&(n.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(n)),t.parent=null;return i.length=0,this},eachChild:function(t,e){for(var i=this._children,n=0;n<i.length;n++){var a=i[n];t.call(e,a,n)}return this},traverse:function(t,e){for(var i=0;i<this._children.length;i++){var n=this._children[i];t.call(e,n),"group"===n.type&&n.traverse(t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children.length;e++){var i=this._children[e];t.addToStorage(i),i instanceof o&&i.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children.length;e++){var i=this._children[e];t.delFromStorage(i),i instanceof o&&i.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,i=new r(0,0,0,0),n=t||this._children,a=[],o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(a);u?(i.copy(l),i.applyTransform(u),(e=e||i.clone()).union(i)):(e=e||l.clone()).union(l)}}return e||i}},n.inherits(o,a);var s=o;t.exports=s},"4mN7":function(t,e,i){var n=i("QBsz"),a=i("Sj9i"),r=Math.min,o=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,h=n.create(),c=n.create(),d=n.create();var f=[],p=[];e.fromPoints=function(t,e,i){if(0!==t.length){var n,a=t[0],s=a[0],l=a[0],u=a[1],h=a[1];for(n=1;n<t.length;n++)a=t[n],s=r(s,a[0]),l=o(l,a[0]),u=r(u,a[1]),h=o(h,a[1]);e[0]=s,e[1]=u,i[0]=l,i[1]=h}},e.fromLine=function(t,e,i,n,a,s){a[0]=r(t,i),a[1]=r(e,n),s[0]=o(t,i),s[1]=o(e,n)},e.fromCubic=function(t,e,i,n,s,l,u,h,c,d){var g,m=a.cubicExtrema,v=a.cubicAt,y=m(t,i,s,u,f);for(c[0]=1/0,c[1]=1/0,d[0]=-1/0,d[1]=-1/0,g=0;g<y;g++){var x=v(t,i,s,u,f[g]);c[0]=r(x,c[0]),d[0]=o(x,d[0])}for(y=m(e,n,l,h,p),g=0;g<y;g++){var _=v(e,n,l,h,p[g]);c[1]=r(_,c[1]),d[1]=o(_,d[1])}c[0]=r(t,c[0]),d[0]=o(t,d[0]),c[0]=r(u,c[0]),d[0]=o(u,d[0]),c[1]=r(e,c[1]),d[1]=o(e,d[1]),c[1]=r(h,c[1]),d[1]=o(h,d[1])},e.fromQuadratic=function(t,e,i,n,s,l,u,h){var c=a.quadraticExtremum,d=a.quadraticAt,f=o(r(c(t,i,s),1),0),p=o(r(c(e,n,l),1),0),g=d(t,i,s,f),m=d(e,n,l,p);u[0]=r(t,s,g),u[1]=r(e,l,m),h[0]=o(t,s,g),h[1]=o(e,l,m)},e.fromArc=function(t,e,i,a,r,o,f,p,g){var m=n.min,v=n.max,y=Math.abs(r-o);if(y%u<1e-4&&y>1e-4)return p[0]=t-i,p[1]=e-a,g[0]=t+i,void(g[1]=e+a);if(h[0]=l(r)*i+t,h[1]=s(r)*a+e,c[0]=l(o)*i+t,c[1]=s(o)*a+e,m(p,h,c),v(g,h,c),(r%=u)<0&&(r+=u),(o%=u)<0&&(o+=u),r>o&&!f?o+=u:r<o&&f&&(r+=u),f){var x=o;o=r,r=x}for(var _=0;_<o;_+=Math.PI/2)_>r&&(d[0]=l(_)*i+t,d[1]=s(_)*a+e,m(p,d,p),v(g,d,g))}},"56rv":function(t,e,i){var n=i("IwbS"),a=i("x3X8").getDefaultLabel;function r(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=function(t,e,i,o,s,l,u){var h=i.getModel("label"),c=i.getModel("emphasis.label");n.setLabelStyle(t,e,h,c,{labelFetcher:s,labelDataIndex:l,defaultText:a(s.getData(),l),isRectText:!0,autoColor:o}),r(t),r(e)}},"59Ip":function(t,e,i){var n=i("Sj9i");e.containStroke=function(t,e,i,a,r,o,s,l,u,h,c){if(0===u)return!1;var d=u;return!(c>e+d&&c>a+d&&c>o+d&&c>l+d||c<e-d&&c<a-d&&c<o-d&&c<l-d||h>t+d&&h>i+d&&h>r+d&&h>s+d||h<t-d&&h<i-d&&h<r-d&&h<s-d)&&n.cubicProjectPoint(t,e,i,a,r,o,s,l,h,c,null)<=d/2}},"5GhG":function(t,e,i){var n=i("5GtS"),a=i("bYtY"),r=i("L0Ub").getDimensionTypeByAxis,o={_baseAxisDim:null,getInitialData:function(t,e){var i,o,s=e.getComponent("xAxis",this.get("xAxisIndex")),l=e.getComponent("yAxis",this.get("yAxisIndex")),u=s.get("type"),h=l.get("type");"category"===u?(t.layout="horizontal",i=s.getOrdinalMeta(),o=!0):"category"===h?(t.layout="vertical",i=l.getOrdinalMeta(),o=!0):t.layout=t.layout||"horizontal";var c=["x","y"],d="horizontal"===t.layout?0:1,f=this._baseAxisDim=c[d],p=c[1-d],g=[s,l],m=g[d].get("type"),v=g[1-d].get("type"),y=t.data;if(y&&o){var x=[];a.each(y,function(t,e){var i;t.value&&a.isArray(t.value)?(i=t.value.slice(),t.value.unshift(e)):a.isArray(t)?(i=t.slice(),t.unshift(e)):i=t,x.push(i)}),t.data=x}var _=this.defaultValueDimensions;return n(this,{coordDimensions:[{name:f,type:r(m),ordinalMeta:i,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:p,type:r(v),dimsDef:_.slice()}],dimensionsCount:_.length+1})},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}};e.seriesModelMixin=o},"5GtS":function(t,e,i){var n=i("sdST"),a=i("YXkt"),r=i("bYtY"),o=r.extend,s=r.isArray;t.exports=function(t,e,i){e=s(e)&&{coordDimensions:e}||o({},e);var r=t.getSource(),l=n(r,e),u=new a(l,t);return u.initData(r,i),u}},"5Hur":function(t,e,i){var n=i("4NO4"),a=n.makeInner,r=n.normalizeToArray,o=a();var s={clearColorPalette:function(){o(this).colorIdx=0,o(this).colorNameMap={}},getColorFromPalette:function(t,e,i){var n=o(e=e||this),a=n.colorIdx||0,s=n.colorNameMap=n.colorNameMap||{};if(s.hasOwnProperty(t))return s[t];var l=r(this.get("color",!0)),u=this.get("colorLayer",!0),h=null!=i&&u?function(t,e){for(var i=t.length,n=0;n<i;n++)if(t[n].length>e)return t[n];return t[i-1]}(u,i):l;if((h=h||l)&&h.length){var c=h[a];return t&&(s[t]=c),n.colorIdx=(a+1)%h.length,c}}};t.exports=s},"5NHt":function(t,e,i){i("aTJb"),i("OlYY"),i("fc+c"),i("N5BQ"),i("IyUQ"),i("LBfv"),i("noeP")},"5s0K":function(t,e,i){var n=i("bYtY");e.createWrap=function(){var t,e=[],i={};return{add:function(t,a,r,o,s){return n.isString(o)&&(s=o,o=0),!i[t.id]&&(i[t.id]=1,e.push({el:t,target:a,time:r,delay:o,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var n=e.length,a=0,r=e.length;a<r;a++){var o=e[a];o.el.animateTo(o.target,o.time,o.delay,o.easing,s)}return this;function s(){--n||(e.length=0,i={},t&&t())}}}}},"6/nd":function(t,e,i){i("ProS").registerAction("legendScroll","legendscroll",function(t,e){var i=t.scrollDataIndex;null!=i&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(i)})})},"62sa":function(t,e,i){var n=i("bYtY"),a=i("4NO4").makeInner,r=i("zTMp"),o=i("Ez2D"),s=n.each,l=n.curry,u=a();function h(t,e,i,a,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var l=function(t,e){var i=e.axis,n=i.dim,a=t,r=[],o=Number.MAX_VALUE,l=-1;return s(e.seriesModels,function(e,u){var h,c,d=e.getData().mapDimension(n,!0);if(e.getAxisTooltipData){var f=e.getAxisTooltipData(d,t,i);c=f.dataIndices,h=f.nestestValue}else{if(!(c=e.getData().indicesOfNearest(d[0],t,"category"===i.type?.5:null)).length)return;h=e.getData().get(d[0],c[0])}if(null!=h&&isFinite(h)){var p=t-h,g=Math.abs(p);g<=o&&((g<o||p>=0&&l<0)&&(o=g,l=p,a=h,r.length=0),s(c,function(t){r.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:r,snapToValue:a}}(e,t),u=l.payloadBatch,h=l.snapToValue;u[0]&&null==r.seriesIndex&&n.extend(r,u[0]),!a&&t.snap&&o.containData(h)&&null!=h&&(e=h),i.showPointer(t,e,u,r),i.showTooltip(t,l,h)}else i.showPointer(t,e)}function c(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function d(t,e,i,n){var a=i.payloadBatch,o=e.axis,s=o.model,l=e.axisPointerModel;if(e.triggerTooltip&&a.length){var u=e.coordSys.model,h=r.makeKey(u),c=t.map[h];c||(c=t.map[h]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.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 f(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 p(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=function(t,e,i){var a=t.currTrigger,r=[t.x,t.y],g=t,m=t.dispatchAction||n.bind(i.dispatchAction,i),v=e.getComponent("axisPointer").coordSysAxesInfo;if(v){p(r)&&(r=o({seriesIndex:g.seriesIndex,dataIndex:g.dataIndex},e).point);var y=p(r),x=g.axesInfo,_=v.axesInfo,b="leave"===a||p(r),w={},S={},M={list:[],map:{}},I={showPointer:l(c,S),showTooltip:l(d,M)};s(v.coordSysMap,function(t,e){var i=y||t.containPoint(r);s(v.coordSysAxesInfo[e],function(t,e){var n=t.axis,a=function(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}}(x,t);if(!b&&i&&(!x||a)){var o=a&&a.value;null!=o||y||(o=n.pointToData(r)),null!=o&&h(t,o,I,!1,w)}})});var T={};return s(_,function(t,e){var i=t.linkGroup;i&&!S[e]&&s(i.axesInfo,function(e,n){var a=S[n];if(e!==t&&a){var r=a.value;i.mapper&&(r=t.axis.scale.parse(i.mapper(r,f(e),f(t)))),T[t.key]=r}})}),s(T,function(t,e){h(_[e],t,I,!0,w)}),function(t,e,i){var n=i.axesInfo=[];s(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})})}(S,_,w),function(t,e,i,n){if(!p(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"})}(M,r,t,m),function(t,e,i){var a=i.getZr(),r=u(a).axisPointerLastHighlights||{},o=u(a).axisPointerLastHighlights={};s(t,function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&s(i.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;o[e]=t})});var l=[],h=[];n.each(r,function(t,e){!o[e]&&h.push(t)}),n.each(o,function(t,e){!r[e]&&l.push(t)}),h.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:h}),l.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:l})}(_,0,i),w}}},"6GrX":function(t,e,i){var n=i("mFDi"),a=i("Xnb7"),r=i("bYtY"),o=r.getContext,s=r.extend,l=r.retrieve2,u=r.retrieve3,h=r.trim,c={},d=0,f=5e3,p=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,g="12px sans-serif",m={};function v(t,e){var i=t+":"+(e=e||g);if(c[i])return c[i];for(var n=(t+"").split("\n"),a=0,r=0,o=n.length;r<o;r++)a=Math.max(T(n[r],e).width,a);return d>f&&(d=0,c={}),d++,c[i]=a,a}function y(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function x(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function _(t,e,i){var n=e.textPosition,a=e.textDistance,r=i.x,o=i.y,s=i.height,l=i.width,u=s/2,h="left",c="top";switch(n){case"left":r-=a,o+=u,h="right",c="middle";break;case"right":r+=a+l,o+=u,c="middle";break;case"top":r+=l/2,o-=a,h="center",c="bottom";break;case"bottom":r+=l/2,o+=s+a,h="center";break;case"inside":r+=l/2,o+=u,h="center",c="middle";break;case"insideLeft":r+=a,o+=u,c="middle";break;case"insideRight":r+=l-a,o+=u,h="right",c="middle";break;case"insideTop":r+=l/2,o+=a,h="center";break;case"insideBottom":r+=l/2,o+=s-a,h="center",c="bottom";break;case"insideTopLeft":r+=a,o+=a;break;case"insideTopRight":r+=l-a,o+=a,h="right";break;case"insideBottomLeft":r+=a,o+=s-a,c="bottom";break;case"insideBottomRight":r+=l-a,o+=s-a,h="right",c="bottom"}return(t=t||{}).x=r,t.y=o,t.textAlign=h,t.textVerticalAlign=c,t}function b(t,e,i,n,a){if(!e)return"";var r=(t+"").split("\n");a=w(e,i,n,a);for(var o=0,s=r.length;o<s;o++)r[o]=S(r[o],a);return r.join("\n")}function w(t,e,i,n){(n=s({},n)).font=e;i=l(i,"...");n.maxIterations=l(n.maxIterations,2);var a=n.minChar=l(n.minChar,0);n.cnCharWidth=v("国",e);var r=n.ascCharWidth=v("a",e);n.placeholder=l(n.placeholder,"");for(var o=t=Math.max(0,t-1),u=0;u<a&&o>=r;u++)o-=r;var h=v(i,e);return h>o&&(i="",h=0),o=t-h,n.ellipsis=i,n.ellipsisWidth=h,n.contentWidth=o,n.containerWidth=t,n}function S(t,e){var i=e.containerWidth,n=e.font,a=e.contentWidth;if(!i)return"";var r=v(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?M(t,a,e.ascCharWidth,e.cnCharWidth):r>0?Math.floor(t.length*a/r):0;r=v(t=t.substr(0,s),n)}return""===t&&(t=e.placeholder),t}function M(t,e,i,n){for(var a=0,r=0,o=t.length;r<o&&a<e;r++){var s=t.charCodeAt(r);a+=0<=s&&s<=127?i:n}return r}function I(t){return v("国",t)}function T(t,e){return m.measureText(t,e)}function A(t,e,i,n,a){null!=t&&(t+="");var r=l(n,I(e)),o=t?t.split("\n"):[],s=o.length*r,u=s;if(i&&(u+=i[0]+i[2]),t&&a){var h=a.outerHeight,c=a.outerWidth;if(null!=h&&u>h)t="",o=[];else if(null!=c)for(var d=w(c-(i?i[1]+i[3]:0),e,a.ellipsis,{minChar:a.minChar,placeholder:a.placeholder}),f=0,p=o.length;f<p;f++)o[f]=S(o[f],d)}return{lines:o,height:s,outerHeight:u,lineHeight:r}}function D(t,e){var i={lines:[],width:0,height:0};if(null!=t&&(t+=""),!t)return i;for(var n,r=p.lastIndex=0;null!=(n=p.exec(t));){var o=n.index;o>r&&C(i,t.substring(r,o)),C(i,n[2],n[1]),r=p.lastIndex}r<t.length&&C(i,t.substring(r,t.length));var s=i.lines,h=0,c=0,d=[],f=e.textPadding,g=e.truncate,m=g&&g.outerWidth,y=g&&g.outerHeight;f&&(null!=m&&(m-=f[1]+f[3]),null!=y&&(y-=f[0]+f[2]));for(var x=0;x<s.length;x++){for(var _=s[x],w=0,S=0,M=0;M<_.tokens.length;M++){var T=(z=_.tokens[M]).styleName&&e.rich[z.styleName]||{},A=z.textPadding=T.textPadding,D=z.font=T.font||e.font,L=z.textHeight=l(T.textHeight,I(D));if(A&&(L+=A[0]+A[2]),z.height=L,z.lineHeight=u(T.textLineHeight,e.textLineHeight,L),z.textAlign=T&&T.textAlign||e.textAlign,z.textVerticalAlign=T&&T.textVerticalAlign||"middle",null!=y&&h+z.lineHeight>y)return{lines:[],width:0,height:0};z.textWidth=v(z.text,D);var P=T.textWidth,k=null==P||"auto"===P;if("string"==typeof P&&"%"===P.charAt(P.length-1))z.percentWidth=P,d.push(z),P=0;else{if(k){P=z.textWidth;var O=T.textBackgroundColor,E=O&&O.image;E&&(E=a.findExistImage(E),a.isImageReady(E)&&(P=Math.max(P,E.width*L/E.height)))}var N=A?A[1]+A[3]:0;P+=N;var R=null!=m?m-S:null;null!=R&&R<P&&(!k||R<N?(z.text="",z.textWidth=P=0):(z.text=b(z.text,R-N,D,g.ellipsis,{minChar:g.minChar}),z.textWidth=v(z.text,D),P=z.textWidth+N))}S+=z.width=P,T&&(w=Math.max(w,z.lineHeight))}_.width=S,_.lineHeight=w,h+=w,c=Math.max(c,S)}i.outerWidth=i.width=l(e.textWidth,c),i.outerHeight=i.height=l(e.textHeight,h),f&&(i.outerWidth+=f[1]+f[3],i.outerHeight+=f[0]+f[2]);for(x=0;x<d.length;x++){var z,B=(z=d[x]).percentWidth;z.width=parseInt(B,10)/100*c}return i}function C(t,e,i){for(var n=""===e,a=e.split("\n"),r=t.lines,o=0;o<a.length;o++){var s=a[o],l={styleName:i,text:s,isLineHolder:!s&&!n};if(o)r.push({tokens:[l]});else{var u=(r[r.length-1]||(r[0]={tokens:[]})).tokens,h=u.length;1===h&&u[0].isLineHolder?u[0]=l:(s||!h||n)&&u.push(l)}}}m.measureText=function(t,e){var i=o();return i.font=e||g,i.measureText(t)},e.DEFAULT_FONT=g,e.$override=function(t,e){m[t]=e},e.getWidth=v,e.getBoundingRect=function(t,e,i,a,r,o,s,l){return s?function(t,e,i,a,r,o,s,l){var u=D(t,{rich:s,truncate:l,font:e,textAlign:i,textPadding:r,textLineHeight:o}),h=u.outerWidth,c=u.outerHeight,d=y(0,h,i),f=x(0,c,a);return new n(d,f,h,c)}(t,e,i,a,r,o,s,l):function(t,e,i,a,r,o,s){var l=A(t,e,r,o,s),u=v(t,e);r&&(u+=r[1]+r[3]);var h=l.outerHeight,c=y(0,u,i),d=x(0,h,a),f=new n(c,d,u,h);return f.lineHeight=l.lineHeight,f}(t,e,i,a,r,o,l)},e.adjustTextX=y,e.adjustTextY=x,e.calculateTextPosition=_,e.adjustTextPositionOnRect=function(t,e,i){return _({},{textPosition:t,textDistance:i},e)},e.truncateText=b,e.getLineHeight=I,e.measureText=T,e.parsePlainText=A,e.parseRichText=D,e.makeFont=function(t){var e=(t.fontSize||t.fontFamily)&&[t.fontStyle,t.fontWeight,(t.fontSize||12)+"px",t.fontFamily||"sans-serif"].join(" ");return e&&h(e)||t.textFont||t.font}},"6Ic6":function(t,e,i){var n=i("bYtY").each,a=i("4fz+"),r=i("iRjW"),o=i("Yl7c"),s=i("4NO4"),l=i("IwbS"),u=i("9H2F").createTask,h=i("zM3Q"),c=s.makeInner(),d=h();function f(){this.group=new a,this.uid=r.getUID("viewChart"),this.renderTask=u({plan:v,reset:y}),this.renderTask.context={view:this}}f.prototype={type:"chart",init:function(t,e){},render:function(t,e,i,n){},highlight:function(t,e,i,n){m(t.getData(),n,"emphasis")},downplay:function(t,e,i,n){m(t.getData(),n,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var p=f.prototype;function g(t,e,i){if(t&&(t.trigger(e,i),t.isGroup&&!l.isHighDownDispatcher(t)))for(var n=0,a=t.childCount();n<a;n++)g(t.childAt(n),e,i)}function m(t,e,i){var a=s.queryDataIndex(t,e),r=e&&null!=e.highlightKey?l.getHighlightDigit(e.highlightKey):null;null!=a?n(s.normalizeToArray(a),function(e){g(t.getItemGraphicEl(e),i,r)}):t.eachItemGraphicEl(function(t){g(t,i,r)})}function v(t){return d(t.model)}function y(t){var e=t.model,i=t.ecModel,n=t.api,a=t.payload,r=e.pipelineContext.progressiveRender,o=t.view,s=a&&c(a).updateMethod,l=r?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==l&&o[l](e,i,n,a),x[l]}p.updateView=p.updateLayout=p.updateVisual=function(t,e,i,n){this.render(t,e,i,n)},o.enableClassExtend(f,["dispose"]),o.enableClassManagement(f,{registerWhenExtend:!0}),f.markUpdateMethod=function(t,e){c(t).updateMethod=e};var x={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},_=f;t.exports=_},"6fms":function(t,e,i){var n=i("SUKs"),a=i("06Qe"),r=i("bYtY").each;function o(t){return parseInt(t,10)}function s(t,e){a.initVML(),this.root=t,this.storage=e;var i=document.createElement("div"),n=document.createElement("div");i.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",n.style.cssText="position:absolute;left:0;top:0;",t.appendChild(i),this._vmlRoot=n,this._vmlViewport=i,this.resize();var r=e.delFromStorage,o=e.addToStorage;e.delFromStorage=function(t){r.call(e,t),t&&t.onRemove&&t.onRemove(n)},e.addToStorage=function(t){t.onAdd&&t.onAdd(n),o.call(e,t)},this._firstPaint=!0}s.prototype={constructor:s,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var e=this._vmlRoot,i=0;i<t.length;i++){var n=t[i];n.invisible||n.ignore?(n.__alreadyNotVisible||n.onRemove(e),n.__alreadyNotVisible=!0):(n.__alreadyNotVisible&&n.onAdd(e),n.__alreadyNotVisible=!1,n.__dirty&&(n.beforeBrush&&n.beforeBrush(),(n.brushVML||n.brush).call(n,e),n.afterBrush&&n.afterBrush())),n.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(e),this._firstPaint=!1)},resize:function(t,e){t=null==t?this._getWidth():t,e=null==e?this._getHeight():e;if(this._width!==t||this._height!==e){this._width=t,this._height=e;var i=this._vmlViewport.style;i.width=t+"px",i.height=e+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var t=this.root,e=t.currentStyle;return(t.clientWidth||o(e.width))-o(e.paddingLeft)-o(e.paddingRight)|0},_getHeight:function(){var t=this.root,e=t.currentStyle;return(t.clientHeight||o(e.height))-o(e.paddingTop)-o(e.paddingBottom)|0}},r(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){var e;s.prototype[t]=(e=t,function(){n('In IE8.0 VML mode painter not support method "'+e+'"')})});var l=s;t.exports=l},"6r85":function(t,e,i){var n=i("bYtY");t.exports=function(t){t&&n.isArray(t.series)&&n.each(t.series,function(t){n.isObject(t)&&"k"===t.type&&(t.type="candlestick")})}},"6uqw":function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("ItGF"),o=i("YOMW"),s=i("XxSj"),l=i("K4ya"),u=i("4NO4"),h=i("OELB"),c=s.mapVisual,d=s.eachVisual,f=a.isArray,p=a.each,g=h.asc,m=h.linearMap,v=a.noop,y=n.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-1/0,1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(t,e,i){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(t,i)},optionUpdated:function(t,e){var i=this.option;r.canvasSupported||(i.realtime=!1),!e&&l.replaceVisualOption(i,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(t){var e=this.stateList;t=a.bind(t,this),this.controllerVisuals=l.createVisualMappings(this.option.controller,e,t),this.targetVisuals=l.createVisualMappings(this.option.target,e,t)},getTargetSeriesIndices:function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries(function(t,i){e.push(i)}):e=u.normalizeToArray(t),e},eachTargetSeries:function(t,e){a.each(this.getTargetSeriesIndices(),function(i){t.call(e,this.ecModel.getSeriesByIndex(i))},this)},isTargetSeries:function(t){var e=!1;return this.eachTargetSeries(function(i){i===t&&(e=!0)}),e},formatValueText:function(t,e,i){var n,r,o=this.option,s=o.precision,l=this.dataBound,u=o.formatter;return i=i||["<",">"],a.isArray(t)&&(t=t.slice(),n=!0),r=e?t:n?[h(t[0]),h(t[1])]:h(t),a.isString(u)?u.replace("{value}",n?r[0]:r).replace("{value2}",n?r[1]:r):a.isFunction(u)?n?u(t[0],t[1]):u(t):n?t[0]===l[0]?i[0]+" "+r[1]:t[1]===l[1]?i[1]+" "+r[0]:r[0]+" - "+r[1]:r;function h(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension,i=t.dimensions;if(null!=e||i.length){if(null!=e)return t.getDimension(e);for(var n=t.dimensions,a=n.length-1;a>=0;a--){var r=n[a];if(!t.getDimensionInfo(r).isCalculationCoord)return r}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,i={inRange:e.inRange,outOfRange:e.outOfRange},n=e.target||(e.target={}),r=e.controller||(e.controller={});a.merge(n,i),a.merge(r,i);var l=this.isCategory();function u(i){f(e.color)&&!i.inRange&&(i.inRange={color:e.color.slice().reverse()}),i.inRange=i.inRange||{color:t.get("gradientColor")},p(this.stateList,function(t){var e=i[t];if(a.isString(e)){var n=o.get(e,"active",l);n?(i[t]={},i[t][e]=n):delete i[t]}},this)}u.call(this,n),u.call(this,r),function(t,e,i){var n=t[e],a=t[i];n&&!a&&(a=t[i]={},p(n,function(t,e){if(s.isValidType(e)){var i=o.get(e,"inactive",l);null!=i&&(a[e]=i,"color"!==e||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}}))}.call(this,n,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,i=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,n=this.get("inactiveColor");p(this.stateList,function(r){var o=this.itemSize,s=t[r];s||(s=t[r]={color:l?n:[n]}),null==s.symbol&&(s.symbol=e&&a.clone(e)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=i&&a.clone(i)||(l?o[0]:[o[0],o[0]])),s.symbol=c(s.symbol,function(t){return"none"===t||"square"===t?"roundRect":t});var u=s.symbolSize;if(null!=u){var h=-1/0;d(u,function(t){t>h&&(h=t)}),s.symbolSize=c(u,function(t){return m(t,[0,h],[0,o[0]],!0)})}},this)}.call(this,r)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});t.exports=y},"6usn":function(t,e,i){var n=i("bYtY");function a(t,e){return n.map(["Radius","Angle"],function(i,n){var a=this["get"+i+"Axis"](),r=e[n],o=t[n]/2,s="dataTo"+i,l="category"===a.type?a.getBandWidth():Math.abs(a[s](r-o)-a[s](r+o));return"Angle"===i&&(l=l*Math.PI/180),l},this)}t.exports=function(t){var e=t.getRadiusAxis(),i=t.getAngleAxis(),r=e.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:r[1],r0:r[0]},api:{coord:n.bind(function(n){var a=e.dataToRadius(n[0]),r=i.dataToAngle(n[1]),o=t.coordToPoint([a,r]);return o.push(a,r*Math.PI/180),o}),size:n.bind(a,t)}}}},"72pK":function(t,e){function i(t,e){var i=t[e]-t[1-e];return{span:Math.abs(i),sign:i>0?-1:i<0?1:e?-1:1}}function n(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}t.exports=function(t,e,a,r,o,s){t=t||0;var l=a[1]-a[0];if(null!=o&&(o=n(o,[0,l])),null!=s&&(s=Math.max(s,null!=o?o:0)),"all"===r){var u=Math.abs(e[1]-e[0]);o=s=n(u=n(u,[0,l]),[o,s]),r=0}e[0]=n(e[0],a),e[1]=n(e[1],a);var h=i(e,r);e[r]+=t;var c=o||0,d=a.slice();h.sign<0?d[0]+=c:d[1]-=c,e[r]=n(e[r],d);var f=i(e,r);return null!=o&&(f.sign!==h.sign||f.span<o)&&(e[1-r]=e[r]+h.sign*o),f=i(e,r),null!=s&&f.span>s&&(e[1-r]=e[r]+f.sign*s),e}},"75ce":function(t,e,i){var n=i("ProS");i("IXuL"),i("8X+K");var a=i("f5Yq"),r=i("h8O9"),o=i("/d5a");i("Ae16"),n.registerVisual(a("line","circle","line")),n.registerLayout(r("line")),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,o("line"))},"75ev":function(t,e,i){var n=i("ProS");i("IWNH"),i("bNin"),i("v5uJ");var a=i("f5Yq"),r=i("yik8");n.registerVisual(a("tree","circle")),n.registerLayout(r)},"7AJT":function(t,e,i){var n=i("bYtY"),a=i("hM6l"),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},"7DRL":function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=n.createHashMap,r=n.isString,o=n.isArray,s=n.each,l=(n.assert,i("MEGo").parseXML),u=a(),h={registerMap:function(t,e,i){var n;return o(e)?n=e:e.svg?n=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(i=e.specialAreas,e=e.geoJson),n=[{type:"geoJSON",source:e,specialAreas:i}]),s(n,function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON"),(0,c[e])(t)}),u.set(t,n)},retrieveMap:function(t){return u.get(t)}},c={geoJSON:function(t){var e=t.source;t.geoJSON=r(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=l(t.source)}};t.exports=h},"7G+c":function(t,e,i){var n=i("bYtY"),a=n.createHashMap,r=n.isTypedArray,o=i("Yl7c").enableClassCheck,s=i("k9D9"),l=s.SOURCE_FORMAT_ORIGINAL,u=s.SERIES_LAYOUT_BY_COLUMN,h=s.SOURCE_FORMAT_UNKNOWN,c=s.SOURCE_FORMAT_TYPED_ARRAY,d=s.SOURCE_FORMAT_KEYED_COLUMNS;function f(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===d?{}:[]),this.sourceFormat=t.sourceFormat||h,this.seriesLayoutBy=t.seriesLayoutBy||u,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&a(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}f.seriesDataToSource=function(t){return new f({data:t,sourceFormat:r(t)?c:l,fromDataset:!1})},o(f);var p=f;t.exports=p},"7Phj":function(t,e,i){var n=i("bYtY"),a=i("OELB").parsePercent,r=n.each;t.exports=function(t){var e=function(t){var e=[],i=[];return t.eachSeriesByType("boxplot",function(t){var a=t.getBaseAxis(),r=n.indexOf(i,a);r<0&&(r=i.length,i[r]=a,e[r]={axis:a,seriesModels:[]}),e[r].seriesModels.push(t)}),e}(t);r(e,function(t){var e=t.seriesModels;e.length&&(function(t){var e,i,o=t.axis,s=t.seriesModels,l=s.length,u=t.boxWidthList=[],h=t.boxOffsetList=[],c=[];if("category"===o.type)i=o.getBandWidth();else{var d=0;r(s,function(t){d=Math.max(d,t.getData().count())}),e=o.getExtent(),Math.abs(e[1]-e[0])}r(s,function(t){var e=t.get("boxWidth");n.isArray(e)||(e=[e,e]),c.push([a(e[0],i)||0,a(e[1],i)||0])});var f=.8*i-2,p=f/l*.3,g=(f-p*(l-1))/l,m=g/2-f/2;r(s,function(t,e){h.push(m),m+=p+g,u.push(Math.min(Math.max(g,c[e][0]),c[e][1]))})}(t),r(e,function(e,i){!function(t,e,i){var n=t.coordinateSystem,a=t.getData(),r=i/2,o="horizontal"===t.get("layout")?0:1,s=1-o,l=["x","y"],u=a.mapDimension(l[o]),h=a.mapDimension(l[s],!0);if(!(null==u||h.length<5))for(var c=0;c<a.count();c++){var d=a.get(u,c),f=x(d,h[2],c),p=x(d,h[0],c),g=x(d,h[1],c),m=x(d,h[3],c),v=x(d,h[4],c),y=[];_(y,g,0),_(y,m,1),y.push(p,g,v,m),b(y,p),b(y,v),b(y,f),a.setItemLayout(c,{initBaseline:f[s],ends:y})}function x(t,i,r){var l,u=a.get(i,r),h=[];return h[o]=t,h[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=n.dataToPoint(h))[o]+=e,l}function _(t,e,i){var n=e.slice(),a=e.slice();n[o]+=r,a[o]-=r,i?t.push(n,a):t.push(a,n)}function b(t,e){var i=e.slice(),n=e.slice();i[o]-=r,n[o]+=r,t.push(i,n)}}(e,t.boxOffsetList[i],t.boxWidthList[i])}))})}},"7SHv":function(t,e,i){var n=i("LPTA").devicePixelRatio,a=i("bYtY"),r=i("SUKs"),o=i("mFDi"),s=i("BPZU"),l=i("Xmg4"),u=i("mLcG"),h=i("Dagg"),c=i("ItGF");function d(t){return parseInt(t,10)}var f=new o(0,0,0,0),p=new o(0,0,0,0);var g=function(t,e,i){this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=i=a.extend({},i||{}),this.dpr=i.devicePixelRatio||n,this._singleCanvas=r,this.root=t;var o=t.style;o&&(o["-webkit-tap-highlight-color"]="transparent",o["-webkit-user-select"]=o["user-select"]=o["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var s=this._zlevelList=[],u=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,r){var h=t.width,c=t.height;null!=i.width&&(h=i.width),null!=i.height&&(c=i.height),this.dpr=i.devicePixelRatio||1,t.width=h*this.dpr,t.height=c*this.dpr,this._width=h,this._height=c;var d=new l(t,this,this.dpr);d.__builtin__=!0,d.initContext(),u[314159]=d,d.zlevel=314159,s.push(314159),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var f=this._domRoot=function(t,e){var i=document.createElement("div");return i.style.cssText=["position:relative","overflow:hidden","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",i}(this._width,this._height);t.appendChild(f)}this._hoverlayer=null,this._hoverElements=[]};g.prototype={constructor:g,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,t,this._redrawId);for(var n=0;n<i.length;n++){var a=i[n],r=this._layers[a];if(!r.__builtin__&&r.refresh){var o=0===n?this._backgroundColor:null;r.refresh(o)}}return this.refreshHover(),this},addHover:function(t,e){if(!t.__hoverMir){var i=new t.constructor({style:t.style,shape:t.shape,z:t.z,z2:t.z2,silent:t.silent});return i.__from=t,t.__hoverMir=i,e&&i.setStyle(e),this._hoverElements.push(i),i}},removeHover:function(t){var e=t.__hoverMir,i=this._hoverElements,n=a.indexOf(i,e);n>=0&&i.splice(n,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i<e.length;i++){var n=e[i].__from;n&&(n.__hoverMir=null)}e.length=0},refreshHover:function(){var t=this._hoverElements,e=t.length,i=this._hoverlayer;if(i&&i.clear(),e){s(t,this.storage.displayableSortFunc),i||(i=this._hoverlayer=this.getLayer(1e5));var n={};i.ctx.save();for(var a=0;a<e;){var r=t[a],o=r.__from;o&&o.__zr?(a++,o.invisible||(r.transform=o.transform,r.invTransform=o.invTransform,r.__clipPaths=o.__clipPaths,this._doPaintEl(r,i,!0,n))):(t.splice(a,1),o.__hoverMir=null,e--)}i.ctx.restore()}},getHoverLayer:function(){return this.getLayer(1e5)},_paintList:function(t,e,i){if(this._redrawId===i){e=e||!1,this._updateLayerStatus(t);var n=this._doPaintList(t,e);if(this._needsManuallyCompositing&&this._compositeManually(),!n){var a=this;u(function(){a._paintList(t,e,i)})}}},_compositeManually:function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,i=this._domRoot.height;t.clearRect(0,0,e,i),this.eachBuiltinLayer(function(n){n.virtual&&t.drawImage(n.dom,0,0,e,i)})},_doPaintList:function(t,e){for(var i=[],n=0;n<this._zlevelList.length;n++){var r=this._zlevelList[n];(l=this._layers[r]).__builtin__&&l!==this._hoverlayer&&(l.__dirty||e)&&i.push(l)}for(var o=!0,s=0;s<i.length;s++){var l,u=(l=i[s]).ctx,h={};u.save();var d=e?l.__startIndex:l.__drawIndex,f=!e&&l.incremental&&Date.now,p=f&&Date.now(),g=l.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,g);else if(d===l.__startIndex){var m=t[d];m.incremental&&m.notClear&&!e||l.clear(!1,g)}-1===d&&(d=l.__startIndex);for(var v=d;v<l.__endIndex;v++){var y=t[v];if(this._doPaintEl(y,l,e,h),y.__dirty=y.__dirtyText=!1,f)if(Date.now()-p>15)break}l.__drawIndex=v,l.__drawIndex<l.__endIndex&&(o=!1),h.prevElClipPaths&&u.restore(),u.restore()}return c.wxa&&a.each(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),o},_doPaintEl:function(t,e,i,n){var a=e.ctx,r=t.transform;if((e.__dirty||i)&&!t.invisible&&0!==t.style.opacity&&(!r||r[0]||r[3])&&(!t.culling||!function(t,e,i){return f.copy(t.getBoundingRect()),t.transform&&f.applyTransform(t.transform),p.width=e,p.height=i,!f.intersect(p)}(t,this._width,this._height))){var o=t.__clipPaths,s=n.prevElClipPaths;s&&!function(t,e){if(t===e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var i=0;i<t.length;i++)if(t[i]!==e[i])return!0;return!1}(o,s)||(s&&(a.restore(),n.prevElClipPaths=null,n.prevEl=null),o&&(a.save(),function(t,e){for(var i=0;i<t.length;i++){var n=t[i];n.setTransform(e),e.beginPath(),n.buildPath(e,n.shape),e.clip(),n.restoreTransform(e)}}(o,a),n.prevElClipPaths=o)),t.beforeBrush&&t.beforeBrush(a),t.brush(a,n.prevEl||null),n.prevEl=t,t.afterBrush&&t.afterBrush(a)}},getLayer:function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var i=this._layers[t];return i||((i=new l("zr_"+t,this,this.dpr)).zlevel=t,i.__builtin__=!0,this._layerConfig[t]&&a.merge(i,this._layerConfig[t],!0),e&&(i.virtual=e),this.insertLayer(t,i),i.initContext()),i},insertLayer:function(t,e){var i=this._layers,n=this._zlevelList,a=n.length,o=null,s=-1,l=this._domRoot;if(i[t])r("ZLevel "+t+" has been used already");else if(function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(a>0&&t>n[0]){for(s=0;s<a-1&&!(n[s]<t&&n[s+1]>t);s++);o=i[n[s]]}if(n.splice(s+1,0,t),i[t]=e,!e.virtual)if(o){var u=o.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else r("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var i,n,a=this._zlevelList;for(n=0;n<a.length;n++)i=a[n],t.call(e,this._layers[i],i)},eachBuiltinLayer:function(t,e){var i,n,a,r=this._zlevelList;for(a=0;a<r.length;a++)n=r[a],(i=this._layers[n]).__builtin__&&t.call(e,i,n)},eachOtherLayer:function(t,e){var i,n,a,r=this._zlevelList;for(a=0;a<r.length;a++)n=r[a],(i=this._layers[n]).__builtin__||t.call(e,i,n)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){function e(t){n&&(n.__endIndex!==t&&(n.__dirty=!0),n.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var i=1;i<t.length;i++){if((o=t[i]).zlevel!==t[i-1].zlevel||o.incremental){this._needsManuallyCompositing=!0;break}}var n=null,a=0;for(i=0;i<t.length;i++){var o,s,l=(o=t[i]).zlevel;o.incremental?((s=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,a=1):s=this.getLayer(l+(a>0?.01:0),this._needsManuallyCompositing),s.__builtin__||r("ZLevel "+l+" has been used by unkown layer "+s.id),s!==n&&(s.__used=!0,s.__startIndex!==i&&(s.__dirty=!0),s.__startIndex=i,s.incremental?s.__drawIndex=-1:s.__drawIndex=i,e(i),n=s),o.__dirty&&(s.__dirty=!0,s.incremental&&s.__drawIndex<0&&(s.__drawIndex=i))}e(i),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?a.merge(i[t],e,!0):i[t]=e;for(var n=0;n<this._zlevelList.length;n++){var r=this._zlevelList[n];if(r===t||r===t+.01){var o=this._layers[r];a.merge(o,i[t],!0)}}}},delLayer:function(t){var e=this._layers,i=this._zlevelList,n=e[t];n&&(n.dom.parentNode.removeChild(n.dom),delete e[t],i.splice(a.indexOf(i,t),1))},resize:function(t,e){if(this._domRoot.style){var i=this._domRoot;i.style.display="none";var n=this._opts;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=this._getSize(0),e=this._getSize(1),i.style.display="",this._width!==t||e!==this._height){for(var r in i.style.width=t+"px",i.style.height=e+"px",this._layers)this._layers.hasOwnProperty(r)&&this._layers[r].resize(t,e);a.each(this._progressiveLayers,function(i){i.resize(t,e)}),this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(314159).resize(t,e)}return this},clearLayer:function(t){var e=this._layers[t];e&&e.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new l("image",this,t.pixelRatio||this.dpr);if(e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor),t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,n=e.dom.height,a=e.ctx;this.eachLayer(function(t){t.__builtin__?a.drawImage(t.dom,0,0,i,n):t.renderToCanvas&&(e.ctx.save(),t.renderToCanvas(e.ctx),e.ctx.restore())})}else for(var r={},o=this.storage.getDisplayList(!0),s=0;s<o.length;s++){var u=o[s];this._doPaintEl(u,e,!0,r)}return e.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,i=["width","height"][t],n=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],r=["paddingRight","paddingBottom"][t];if(null!=e[i]&&"auto"!==e[i])return parseFloat(e[i]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[n]||d(s[i])||d(o.style[i]))-(d(s[a])||0)-(d(s[r])||0)|0},pathToImage:function(t,e){e=e||this.dpr;var i=document.createElement("canvas"),n=i.getContext("2d"),a=t.getBoundingRect(),r=t.style,o=r.shadowBlur*e,s=r.shadowOffsetX*e,l=r.shadowOffsetY*e,u=r.hasStroke()?r.lineWidth:0,c=Math.max(u/2,-s+o),d=Math.max(u/2,s+o),f=Math.max(u/2,-l+o),p=Math.max(u/2,l+o),g=a.width+c+d,m=a.height+f+p;i.width=g*e,i.height=m*e,n.scale(e,e),n.clearRect(0,0,g,m),n.dpr=e;var v={position:t.position,rotation:t.rotation,scale:t.scale};t.position=[c-a.x,f-a.y],t.rotation=0,t.scale=[1,1],t.updateTransform(),t&&t.brush(n);var y=new h({style:{x:0,y:0,image:i}});return null!=v.position&&(y.position=t.position=v.position),null!=v.rotation&&(y.rotation=t.rotation=v.rotation),null!=v.scale&&(y.scale=t.scale=v.scale),y}};var m=g;t.exports=m},"7a+S":function(t,e,i){var n=i("bYtY"),a=i("bLfw"),r=i("YXkt"),o=i("4NO4"),s=a.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(t,e,i){this._data,this._names,this.mergeDefaultAndTheme(t,i),this._initData()},mergeOption:function(t){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t=this.option,e=t.data||[],i=t.axisType,a=this._names=[];if("category"===i){var s=[];n.each(e,function(t,e){var i,r=o.getDataItemValue(t);n.isObject(t)?(i=n.clone(t)).value=e:i=e,s.push(i),n.isString(r)||null!=r&&!isNaN(r)||(r=""),a.push(r+"")}),e=s}var l={category:"ordinal",time:"time"}[i]||"number";(this._data=new r([{name:"value",type:l}],this)).initData(e,a)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;t.exports=l},"7aKB":function(t,e,i){var n=i("bYtY"),a=i("6GrX"),r=i("OELB");var o=n.normalizeCssArray,s=/([&<>"'])/g,l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function u(t){return null==t?"":(t+"").replace(s,function(t,e){return l[e]})}var h=["a","b","c","d","e","f","g"],c=function(t,e){return"{"+t+(null==e?"":e)+"}"};function d(t,e){return"0000".substr(0,e-(t+="").length)+t}var f=a.truncateText;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")},e.toCamelCase=function(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},e.normalizeCssArray=o,e.encodeHTML=u,e.formatTpl=function(t,e,i){n.isArray(e)||(e=[e]);var a=e.length;if(!a)return"";for(var r=e[0].$vars||[],o=0;o<r.length;o++){var s=h[o];t=t.replace(c(s),c(s,0))}for(var l=0;l<a;l++)for(var d=0;d<r.length;d++){var f=e[l][r[d]];t=t.replace(c(h[d],l),i?u(f):f)}return t},e.formatTplSimple=function(t,e,i){return n.each(e,function(e,n){t=t.replace("{"+n+"}",i?u(e):e)}),t},e.getTooltipMarker=function(t,e){var i=(t=n.isString(t)?{color:t,extraCssText:e}:t||{}).color,a=t.type,r=(e=t.extraCssText,t.renderMode||"html"),o=t.markerId||"X";return i?"html"===r?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+u(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+u(i)+";"+(e||"")+'"></span>':{renderMode:r,content:"{marker"+o+"|} ",style:{color:i}}:""},e.formatTime=function(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=r.parseDate(e),a=i?"UTC":"",o=n["get"+a+"FullYear"](),s=n["get"+a+"Month"]()+1,l=n["get"+a+"Date"](),u=n["get"+a+"Hours"](),h=n["get"+a+"Minutes"](),c=n["get"+a+"Seconds"](),f=n["get"+a+"Milliseconds"]();return t=t.replace("MM",d(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",d(l,2)).replace("d",l).replace("hh",d(u,2)).replace("h",u).replace("mm",d(h,2)).replace("m",h).replace("ss",d(c,2)).replace("s",c).replace("SSS",d(f,3))},e.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},e.truncateText=f,e.getTextBoundingRect=function(t){return a.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},e.getTextRect=function(t,e,i,n,r,o,s,l){return a.getBoundingRect(t,e,i,n,r,l,o,s)}},"7bkD":function(t,e,i){var n=i("bYtY");e.layout=function(t,e){e=e||{};var i=t.coordinateSystem,a=t.axis,r={},o=a.position,s=a.orient,l=i.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],h={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};r.position=["vertical"===s?h.vertical[o]:u[0],"horizontal"===s?h.horizontal[o]:u[3]],r.rotation=Math.PI/2*{horizontal:0,vertical:1}[s],r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get("axisTick.inside")&&(r.tickDirection=-r.tickDirection),n.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(r.labelDirection=-r.labelDirection);var c=e.rotate;return null==c&&(c=t.get("axisLabel.rotate")),r.labelRotation="top"===o?-c:c,r.z2=1,r}},"7hqr":function(t,e,i){var n=i("bYtY"),a=n.each,r=n.isString;function o(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}e.enableDataStack=function(t,e,i){var n,o,s,l,u=(i=i||{}).byIndex,h=i.stackedCoordDimension,c=!(!t||!t.get("stack"));if(a(e,function(t,i){r(t)&&(e[i]=t={name:t}),c&&!t.isExtraCoord&&(u||n||!t.ordinalMeta||(n=t),o||"ordinal"===t.type||"time"===t.type||h&&h!==t.coordDim||(o=t))}),!o||u||n||(u=!0),o){s="__\0ecstackresult",l="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var d=o.coordDim,f=o.type,p=0;a(e,function(t){t.coordDim===d&&p++}),e.push({name:s,coordDim:d,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0}),p++,e.push({name:l,coordDim:l,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:n&&n.name,isStackedByIndex:u,stackedOverDimension:l,stackResultDimension:s}},e.isDimensionStacked=o,e.getStackedDimension=function(t,e){return o(t,e)?t.getCalculationInfo("stackResultDimension"):e}},"7mYs":function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("IwbS"),o=i("7aKB"),s=i("OELB"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},h=n.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,i){var n=this.group;n.removeAll();var a=t.coordinateSystem,r=a.getRangeInfo(),o=a.getOrient();this._renderDayRect(t,r,n),this._renderLines(t,r,o,n),this._renderYearText(t,r,o,n),this._renderMonthText(t,o,n),this._renderWeekText(t,r,o,n)},_renderDayRect:function(t,e,i){for(var n=t.coordinateSystem,a=t.getModel("itemStyle").getItemStyle(),o=n.getCellWidth(),s=n.getCellHeight(),l=e.start.time;l<=e.end.time;l=n.getNextNDay(l,1).time){var u=n.dataToRect([l],!1).tl,h=new r.Rect({shape:{x:u[0],y:u[1],width:o,height:s},cursor:"default",style:a});i.add(h)}},_renderLines:function(t,e,i,n){var a=this,r=t.coordinateSystem,o=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=o.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,h=0;u.time<=e.end.time;h++){d(u.formatedDate),0===h&&(u=r.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=r.getDateInfo(c)}function d(e){a._firstDayOfMonth.push(r.getDateInfo(e)),a._firstDayPoints.push(r.dataToRect([e],!1).tl);var l=a._getLinePointsOfOneWeek(t,e,i);a._tlpoints.push(l[0]),a._blpoints.push(l[l.length-1]),s&&a._drawSplitline(l,o,n)}d(r.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(a._getEdgesPoints(a._tlpoints,l,i),o,n),s&&this._drawSplitline(a._getEdgesPoints(a._blpoints,l,i),o,n)},_getEdgesPoints:function(t,e,i){var n=[t[0].slice(),t[t.length-1].slice()],a="horizontal"===i?0:1;return n[0][a]=n[0][a]-e/2,n[1][a]=n[1][a]+e/2,n},_drawSplitline:function(t,e,i){var n=new r.Polyline({z2:20,shape:{points:t},style:e});i.add(n)},_getLinePointsOfOneWeek:function(t,e,i){var n=t.coordinateSystem;e=n.getDateInfo(e);for(var a=[],r=0;r<7;r++){var o=n.getNextNDay(e.time,r),s=n.dataToRect([o.time],!1);a[2*o.day]=s.tl,a[2*o.day+1]=s["horizontal"===i?"bl":"tr"]}return a},_formatterLabel:function(t,e){return"string"==typeof t&&t?o.formatTplSimple(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,i,n,a){e=e.slice();var r=["center","bottom"];"bottom"===n?(e[1]+=a,r=["center","top"]):"left"===n?e[0]-=a:"right"===n?(e[0]+=a,r=["center","top"]):e[1]-=a;var o=0;return"left"!==n&&"right"!==n||(o=Math.PI/2),{rotation:o,position:e,style:{textAlign:r[0],textVerticalAlign:r[1]}}},_renderYearText:function(t,e,i,n){var a=t.getModel("yearLabel");if(a.get("show")){var o=a.get("margin"),s=a.get("position");s||(s="horizontal"!==i?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,h=(l[0][1]+l[1][1])/2,c="horizontal"===i?0:1,d={top:[u,l[c][1]],bottom:[u,l[1-c][1]],left:[l[1-c][0],h],right:[l[c][0],h]},f=e.start.y;+e.end.y>+e.start.y&&(f=f+"-"+e.end.y);var p=a.get("formatter"),g={start:e.start.y,end:e.end.y,nameMap:f},m=this._formatterLabel(p,g),v=new r.Text({z2:30});r.setTextStyle(v.style,a,{text:m}),v.attr(this._yearTextPositionControl(v,d[s],i,s,o)),n.add(v)}},_monthTextPositionControl:function(t,e,i,n,a){var r="left",o="top",s=t[0],l=t[1];return"horizontal"===i?(l+=a,e&&(r="center"),"start"===n&&(o="bottom")):(s+=a,e&&(o="middle"),"start"===n&&(r="right")),{x:s,y:l,textAlign:r,textVerticalAlign:o}},_renderMonthText:function(t,e,i){var n=t.getModel("monthLabel");if(n.get("show")){var o=n.get("nameMap"),s=n.get("margin"),u=n.get("position"),h=n.get("align"),c=[this._tlpoints,this._blpoints];a.isString(o)&&(o=l[o.toUpperCase()]||[]);var d="start"===u?0:1,f="horizontal"===e?0:1;s="start"===u?-s:s;for(var p="center"===h,g=0;g<c[d].length-1;g++){var m=c[d][g].slice(),v=this._firstDayOfMonth[g];if(p){var y=this._firstDayPoints[g];m[f]=(y[f]+c[0][g+1][f])/2}var x=n.get("formatter"),_=o[+v.m-1],b={yyyy:v.y,yy:(v.y+"").slice(2),MM:v.m,M:+v.m,nameMap:_},w=this._formatterLabel(x,b),S=new r.Text({z2:30});a.extend(r.setTextStyle(S.style,n,{text:w}),this._monthTextPositionControl(m,p,e,u,s)),i.add(S)}}},_weekTextPositionControl:function(t,e,i,n,a){var r="center",o="middle",s=t[0],l=t[1],u="start"===i;return"horizontal"===e?(s=s+n+(u?1:-1)*a[0]/2,r=u?"right":"left"):(l=l+n+(u?1:-1)*a[1]/2,o=u?"bottom":"top"),{x:s,y:l,textAlign:r,textVerticalAlign:o}},_renderWeekText:function(t,e,i,n){var o=t.getModel("dayLabel");if(o.get("show")){var l=t.coordinateSystem,h=o.get("position"),c=o.get("nameMap"),d=o.get("margin"),f=l.getFirstDayOfWeek();a.isString(c)&&(c=u[c.toUpperCase()]||[]);var p=l.getNextNDay(e.end.time,7-e.lweek).time,g=[l.getCellWidth(),l.getCellHeight()];d=s.parsePercent(d,g["horizontal"===i?0:1]),"start"===h&&(p=l.getNextNDay(e.start.time,-(7+e.fweek)).time,d=-d);for(var m=0;m<7;m++){var v,y=l.getNextNDay(p,m),x=l.dataToRect([y.time],!1).center;v=Math.abs((m+f)%7);var _=new r.Text({z2:30});a.extend(r.setTextStyle(_.style,o,{text:c[v]}),this._weekTextPositionControl(x,i,h,d,g)),n.add(_)}}}});t.exports=h},"7oTu":function(t,e,i){var n=i("IMiH"),a=i("QBsz").applyTransform,r=n.CMD,o=[[],[],[]],s=Math.sqrt,l=Math.atan2;t.exports=function(t,e){var i,n,u,h,c,d=t.data,f=r.M,p=r.C,g=r.L,m=r.R,v=r.A,y=r.Q;for(u=0,h=0;u<d.length;){switch(i=d[u++],h=u,n=0,i){case f:case g:n=1;break;case p:n=3;break;case y:n=2;break;case v:var x=e[4],_=e[5],b=s(e[0]*e[0]+e[1]*e[1]),w=s(e[2]*e[2]+e[3]*e[3]),S=l(-e[1]/w,e[0]/b);d[u]*=b,d[u++]+=x,d[u]*=w,d[u++]+=_,d[u++]*=b,d[u++]*=w,d[u++]+=S,d[u++]+=S,h=u+=2;break;case m:M[0]=d[u++],M[1]=d[u++],a(M,M,e),d[h++]=M[0],d[h++]=M[1],M[0]+=d[u++],M[1]+=d[u++],a(M,M,e),d[h++]=M[0],d[h++]=M[1]}for(c=0;c<n;c++){var M;(M=o[c])[0]=d[u++],M[1]=d[u++],a(M,M,e),d[h++]=M[0],d[h++]=M[1]}}}},"7pVf":function(t,e,i){var n=i("ProS"),a=i("ZqQs");i("oE7X"),i("OUJF"),i("3X6L"),i("NH9N"),n.registerPreprocessor(a)},"7ph2":function(t,e){function i(t){return t instanceof Array||(t=[t,t]),t}var n="lineStyle.opacity".split("."),a={seriesType:"lines",reset:function(t,e,a){var r=i(t.get("symbol")),o=i(t.get("symbolSize")),s=t.getData();return s.setVisual("fromSymbol",r&&r[0]),s.setVisual("toSymbol",r&&r[1]),s.setVisual("fromSymbolSize",o&&o[0]),s.setVisual("toSymbolSize",o&&o[1]),s.setVisual("opacity",t.get(n)),{dataEach:s.hasItemOption?function(t,e){var a=t.getItemModel(e),r=i(a.getShallow("symbol",!0)),o=i(a.getShallow("symbolSize",!0)),s=a.get(n);r[0]&&t.setItemVisual(e,"fromSymbol",r[0]),r[1]&&t.setItemVisual(e,"toSymbol",r[1]),o[0]&&t.setItemVisual(e,"fromSymbolSize",o[0]),o[1]&&t.setItemVisual(e,"toSymbolSize",o[1]),t.setItemVisual(e,"opacity",s)}:null}}};t.exports=a},"7uqq":function(t,e,i){i("Tghj").__DEV__;var n=i("ProS"),a=i("bYtY"),r=i("AUH6"),o=i("+TT/"),s=i("OELB"),l=i("W4dC"),u=i("7DRL");function h(t,e){var i=t.get("boundingCoords");if(null!=i){var n=i[0],a=i[1];isNaN(n[0])||isNaN(n[1])||isNaN(a[0])||isNaN(a[1])||this.setBoundingRect(n[0],n[1],a[0]-n[0],a[1]-n[1])}var r,l=this.getBoundingRect(),u=t.get("layoutCenter"),h=t.get("layoutSize"),c=e.getWidth(),d=e.getHeight(),f=l.width/l.height*this.aspectScale,p=!1;if(u&&h&&(u=[s.parsePercent(u[0],c),s.parsePercent(u[1],d)],h=s.parsePercent(h,Math.min(c,d)),isNaN(u[0])||isNaN(u[1])||isNaN(h)||(p=!0)),p){var g={};f>1?(g.width=h,g.height=h/f):(g.height=h,g.width=h*f),g.y=u[1]-g.height/2,g.x=u[0]-g.width/2}else(r=t.getBoxLayoutParams()).aspect=f,g=o.getLayoutRect(r,{width:c,height:d});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function c(t,e){a.each(e.get("geoCoord"),function(e,i){t.addGeoCoord(i,e)})}var d={dimensions:r.prototype.dimensions,create:function(t,e){var i=[];t.eachComponent("geo",function(t,n){var a=t.get("map"),o=t.get("aspectScale"),s=!0,l=u.retrieveMap(a);l&&l[0]&&"svg"===l[0].type?(null==o&&(o=1),s=!1):null==o&&(o=.75);var d=new r(a+n,a,t.get("nameMap"),s);d.aspectScale=o,d.zoomLimit=t.get("scaleLimit"),i.push(d),c(d,t),t.coordinateSystem=d,d.model=t,d.resize=h,d.resize(t,e)}),t.eachSeries(function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=i[e]}});var n={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();n[e]=n[e]||[],n[e].push(t)}}),a.each(n,function(t,n){var o=a.map(t,function(t){return t.get("nameMap")}),s=new r(n,n,a.mergeAll(o));s.zoomLimit=a.retrieve.apply(null,a.map(t,function(t){return t.get("scaleLimit")})),i.push(s),s.resize=h,s.aspectScale=t[0].get("aspectScale"),s.resize(t[0],e),a.each(t,function(t){t.coordinateSystem=s,c(s,t)})}),i},getFilledRegions:function(t,e,i){for(var n=(t||[]).slice(),r=a.createHashMap(),o=0;o<n.length;o++)r.set(n[o].name,n[o]);var s=l.load(e,i);return a.each(s.regions,function(t){var e=t.name;!r.get(e)&&n.push({name:e})}),n}};n.registerCoordinateSystem("geo",d);var f=d;t.exports=f},"7yuC":function(t,e,i){var n=i("QBsz"),a=n.scaleAndAdd;e.forceLayout=function(t,e,i){for(var r=i.rect,o=r.width,s=r.height,l=[r.x+o/2,r.y+s/2],u=null==i.gravity?.1:i.gravity,h=0;h<t.length;h++){var c=t[h];c.p||(c.p=n.create(o*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),c.pp=n.clone(c.p),c.edges=null}var d=.6;return{warmUp:function(){d=.5},setFixed:function(e){t[e].fixed=!0},setUnfixed:function(e){t[e].fixed=!1},step:function(i){for(var r=[],o=t.length,s=0;s<e.length;s++){var h=e[s],c=h.n1,f=h.n2;n.sub(r,f.p,c.p);var p=n.len(r)-h.d,g=f.w/(c.w+f.w);isNaN(g)&&(g=0),n.normalize(r,r),!c.fixed&&a(c.p,c.p,r,g*p*d),!f.fixed&&a(f.p,f.p,r,-(1-g)*p*d)}for(s=0;s<o;s++)(x=t[s]).fixed||(n.sub(r,l,x.p),a(x.p,x.p,r,u*d));for(s=0;s<o;s++){c=t[s];for(var m=s+1;m<o;m++){f=t[m],n.sub(r,f.p,c.p),0===(p=n.len(r))&&(n.set(r,Math.random()-.5,Math.random()-.5),p=1);var v=(c.rep+f.rep)/p/p;!c.fixed&&a(c.pp,c.pp,r,v),!f.fixed&&a(f.pp,f.pp,r,-v)}}var y=[];for(s=0;s<o;s++){var x;(x=t[s]).fixed||(n.sub(y,x.p,x.pp),a(x.p,x.p,y,d),n.copy(x.pp,x.p))}d*=.992,i&&i(t,e,d<.01)}}}},"8SMY":function(t,e,i){var n=i("n4Lv"),a=n.prepareDataCoordInfo,r=n.getStackedOnPoint;t.exports=function(t,e,i,n,o,s,l,u){for(var h=function(t,e){var i=[];return e.diff(t).add(function(t){i.push({cmd:"+",idx:t})}).update(function(t,e){i.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){i.push({cmd:"-",idx:t})}).execute(),i}(t,e),c=[],d=[],f=[],p=[],g=[],m=[],v=[],y=a(o,e,l),x=a(s,t,u),_=0;_<h.length;_++){var b=h[_],w=!0;switch(b.cmd){case"=":var S=t.getItemLayout(b.idx),M=e.getItemLayout(b.idx1);(isNaN(S[0])||isNaN(S[1]))&&(S=M.slice()),c.push(S),d.push(M),f.push(i[b.idx]),p.push(n[b.idx1]),v.push(e.getRawIndex(b.idx1));break;case"+":var I=b.idx;c.push(o.dataToPoint([e.get(y.dataDimsForPoint[0],I),e.get(y.dataDimsForPoint[1],I)])),d.push(e.getItemLayout(I).slice()),f.push(r(y,o,e,I)),p.push(n[I]),v.push(e.getRawIndex(I));break;case"-":I=b.idx;var T=t.getRawIndex(I);T!==I?(c.push(t.getItemLayout(I)),d.push(s.dataToPoint([t.get(x.dataDimsForPoint[0],I),t.get(x.dataDimsForPoint[1],I)])),f.push(i[I]),p.push(r(x,s,t,I)),v.push(T)):w=!1}w&&(g.push(b),m.push(m.length))}m.sort(function(t,e){return v[t]-v[e]});var A=[],D=[],C=[],L=[],P=[];for(_=0;_<m.length;_++)I=m[_],A[_]=c[I],D[_]=d[I],C[_]=f[I],L[_]=p[I],P[_]=g[I];return{current:A,next:D,stackedOnCurrent:C,stackedOnNext:L,status:P}}},"8Th4":function(t,e,i){var n=i("3LNs"),a=i("/y7N"),r=i("7bkD"),o=i("Znkb"),s=["x","y"],l=["width","height"],u=n.extend({makeElOption:function(t,e,i,n,o){var s=i.axis,l=s.coordinateSystem,u=d(l,1-c(s)),f=l.dataToPoint(e)[0],p=n.get("type");if(p&&"none"!==p){var g=a.buildElStyle(n),m=h[p](s,f,u);m.style=g,t.graphicKey=m.type,t.pointer=m}var v=r.layout(i);a.buildCartesianSingleLabelElOption(e,t,v,i,n,o)},getHandleTransform:function(t,e,i){var n=r.layout(e,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:a.getTransformedPosition(e.axis,t,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,i,n){var a=i.axis,r=a.coordinateSystem,o=c(a),s=d(r,o),l=t.position;l[o]+=e[o],l[o]=Math.min(s[1],l[o]),l[o]=Math.max(s[0],l[o]);var u=d(r,1-o),h=(u[1]+u[0])/2,f=[h,h];return f[o]=l[o],{position:l,rotation:t.rotation,cursorPoint:f,tooltipOption:{verticalAlign:"middle"}}}}),h={line:function(t,e,i){return{type:"Line",subPixelOptimize:!0,shape:a.makeLineShape([e,i[0]],[e,i[1]],c(t))}},shadow:function(t,e,i){var n=t.getBandWidth(),r=i[1]-i[0];return{type:"Rect",shape:a.makeRectShape([e-n/2,i[0]],[n,r],c(t))}}};function c(t){return t.isHorizontal()?0:1}function d(t,e){var i=t.getRect();return[i[s[e]],i[s[e]]+i[l[e]]]}o.registerAxisPointerClass("SingleAxisPointer",u);var f=u;t.exports=f},"8Uz6":function(t,e,i){var n=i("hNWo"),a=i("+TT/"),r=a.mergeLayoutParam,o=a.getLayoutParams,s=n.extend({type:"legend.scroll",setScrollDataIndex:function(t){this.option.scrollDataIndex=t},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(t,e,i,n){var a=o(t);s.superCall(this,"init",t,e,i,n),l(this,t,a)},mergeOption:function(t,e){s.superCall(this,"mergeOption",t,e),l(this,this.option,t)},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}}});function l(t,e,i){var n=[1,1];n[t.getOrient().index]=0,r(e,i,{type:"box",ignoreSize:n})}var u=s;t.exports=u},"8X+K":function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=i("9wZj"),r=i("FBjb"),o=i("8SMY"),s=i("IwbS"),l=i("4NO4"),u=i("1NG9"),h=u.Polyline,c=u.Polygon,d=i("6Ic6"),f=i("OELB").round,p=i("n4Lv"),g=p.prepareDataCoordInfo,m=p.getStackedOnPoint;function v(t,e){if(t.length===e.length){for(var i=0;i<t.length;i++){var n=t[i],a=e[i];if(n[0]!==a[0]||n[1]!==a[1])return}return!0}}function y(t){return"number"==typeof t?t:t?.5:0}function x(t){var e=t.getGlobalExtent();if(t.onBand){var i=t.getBandWidth()/2-1,n=e[1]>e[0]?1:-1;e[0]+=n*i,e[1]-=n*i}return e}function _(t,e,i,n){return"polar"===t.type?function(t,e,i,n){var a=t.getAngleAxis(),r=t.getRadiusAxis().getExtent().slice();r[0]>r[1]&&r.reverse();var o=a.getExtent(),l=Math.PI/180;i&&(r[0]-=.5,r[1]+=.5);var u=new s.Sector({shape:{cx:f(t.cx,1),cy:f(t.cy,1),r0:f(r[0],1),r:f(r[1],1),startAngle:-o[0]*l,endAngle:-o[1]*l,clockwise:a.inverse}});return e&&(u.shape.endAngle=-o[0]*l,s.initProps(u,{shape:{endAngle:-o[1]*l}},n)),u}(t,e,i,n):function(t,e,i,n){var a=x(t.getAxis("x")),r=x(t.getAxis("y")),o=t.getBaseAxis().isHorizontal(),l=Math.min(a[0],a[1]),u=Math.min(r[0],r[1]),h=Math.max(a[0],a[1])-l,c=Math.max(r[0],r[1])-u;if(i)l-=.5,h+=.5,u-=.5,c+=.5;else{var d=n.get("lineStyle.width")||2,f=n.get("clipOverflow")?d/2:Math.max(h,c);o?(u-=f,c+=2*f):(l-=f,h+=2*f)}var p=new s.Rect({shape:{x:l,y:u,width:h,height:c}});return e&&(p.shape[o?"width":"height"]=0,s.initProps(p,{shape:{width:h,height:c}},n)),p}(t,e,i,n)}function b(t,e,i){for(var n=e.getBaseAxis(),a="x"===n.dim||"radius"===n.dim?0:1,r=[],o=0;o<t.length-1;o++){var s=t[o+1],l=t[o];r.push(l);var u=[];switch(i){case"end":u[a]=s[a],u[1-a]=l[1-a],r.push(u);break;case"middle":var h=(l[a]+s[a])/2,c=[];u[a]=c[a]=h,u[1-a]=l[1-a],c[1-a]=s[1-a],r.push(u),r.push(c);break;default:u[a]=l[a],u[1-a]=s[1-a],r.push(u)}}return t[o]&&r.push(t[o]),r}function w(t,e,i){var a=t.get("showAllSymbol"),o="auto"===a;if(!a||o){var s=i.getAxesByScale("ordinal")[0];if(s&&(!o||!function(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(),o=Math.max(1,Math.round(a/5)),s=0;s<a;s+=o)if(1.5*r.getSymbolSize(e,s)[t.isHorizontal()?1:0]>n)return!1;return!0}(s,e))){var l=e.mapDimension(s.dim),u={};return n.each(s.getViewLabels(),function(t){u[t.tickValue]=1}),function(t){return!u.hasOwnProperty(e.get(l,t))}}}}var S=d.extend({type:"line",init:function(){var t=new s.Group,e=new a;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,i){var a=t.coordinateSystem,r=this.group,o=t.getData(),l=t.getModel("lineStyle"),u=t.getModel("areaStyle"),h=o.mapArray(o.getItemLayout),c="polar"===a.type,d=this._coordSys,f=this._symbolDraw,p=this._polyline,x=this._polygon,S=this._lineGroup,M=t.get("animation"),I=!u.isEmpty(),T=u.get("origin"),A=function(t,e,i){if(!i.valueDim)return[];for(var n=[],a=0,r=e.count();a<r;a++)n.push(m(i,t,e,a));return n}(a,o,g(a,o,T)),D=t.get("showSymbol"),C=D&&!c&&w(t,o,a),L=this._data;L&&L.eachItemGraphicEl(function(t,e){t.__temp&&(r.remove(t),L.setItemGraphicEl(e,null))}),D||f.remove(),r.add(S);var P=!c&&t.get("step");p&&d.type===a.type&&P===this._step?(I&&!x?x=this._newPolygon(h,A,a,M):x&&!I&&(S.remove(x),x=this._polygon=null),S.setClipPath(_(a,!1,!1,t)),D&&f.updateData(o,{isIgnore:C,clipShape:_(a,!1,!0,t)}),o.eachItemGraphicEl(function(t){t.stopAnimation(!0)}),v(this._stackedOnPoints,A)&&v(this._points,h)||(M?this._updateAnimation(o,A,a,i,P,T):(P&&(h=b(h,a,P),A=b(A,a,P)),p.setShape({points:h}),x&&x.setShape({points:h,stackedOnPoints:A})))):(D&&f.updateData(o,{isIgnore:C,clipShape:_(a,!1,!0,t)}),P&&(h=b(h,a,P),A=b(A,a,P)),p=this._newPolyline(h,a,M),I&&(x=this._newPolygon(h,A,a,M)),S.setClipPath(_(a,!0,!1,t)));var k=function(t,e){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var a,r,o=i.length-1;o>=0;o--){var l=i[o].dimension,u=t.dimensions[l],h=t.getDimensionInfo(u);if("x"===(a=h&&h.coordDim)||"y"===a){r=i[o];break}}if(r){var c=e.getAxis(a),d=n.map(r.stops,function(t){return{coord:c.toGlobalCoord(c.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=d[0].coord-10,m=d[f-1].coord+10,v=m-g;if(v<.001)return"transparent";n.each(d,function(t){t.offset=(t.coord-g)/v}),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 y=new s.LinearGradient(0,0,0,0,d,!0);return y[a]=g,y[a+"2"]=m,y}}}(o,a)||o.getVisual("color");p.useStyle(n.defaults(l.getLineStyle(),{fill:"none",stroke:k,lineJoin:"bevel"}));var O=t.get("smooth");if(O=y(t.get("smooth")),p.setShape({smooth:O,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),x){var E=o.getCalculationInfo("stackedOnSeries"),N=0;x.useStyle(n.defaults(u.getAreaStyle(),{fill:k,opacity:.7,lineJoin:"bevel"})),E&&(N=y(E.get("smooth"))),x.setShape({smooth:O,stackedOnSmooth:N,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=o,this._coordSys=a,this._stackedOnPoints=A,this._points=h,this._step=P,this._valueOrigin=T},dispose:function(){},highlight:function(t,e,i,n){var a=t.getData(),o=l.queryDataIndex(a,n);if(!(o instanceof Array)&&null!=o&&o>=0){var s=a.getItemGraphicEl(o);if(!s){var u=a.getItemLayout(o);if(!u)return;(s=new r(a,o)).position=u,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(u[0])||isNaN(u[1]),s.__temp=!0,a.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else d.prototype.highlight.call(this,t,e,i,n)},downplay:function(t,e,i,n){var a=t.getData(),r=l.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 d.prototype.downplay.call(this,t,e,i,n)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new h({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new c({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_updateAnimation:function(t,e,i,n,a,r){var l=this._polyline,u=this._polygon,h=t.hostModel,c=o(this._data,t,this._stackedOnPoints,e,this._coordSys,i,this._valueOrigin,r),d=c.current,f=c.stackedOnCurrent,p=c.next,g=c.stackedOnNext;a&&(d=b(c.current,i,a),f=b(c.stackedOnCurrent,i,a),p=b(c.next,i,a),g=b(c.stackedOnNext,i,a)),l.shape.__points=c.current,l.shape.points=d,s.updateProps(l,{shape:{points:p}},h),u&&(u.setShape({points:d,stackedOnPoints:f}),s.updateProps(u,{shape:{points:p,stackedOnPoints:g}},h));for(var m=[],v=c.status,y=0;y<v.length;y++){if("="===v[y].cmd){var x=t.getItemGraphicEl(v[y].idx1);x&&m.push({el:x,ptIdx:y})}}l.animators&&l.animators.length&&l.animators[0].during(function(){for(var t=0;t<m.length;t++){m[t].el.attr("position",l.shape.__points[m[t].ptIdx])}})},remove:function(t){var e=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl(function(t,n){t.__temp&&(e.remove(t),i.setItemGraphicEl(n,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});t.exports=S},"8XDt":function(t,e,i){i("qH13"),(0,i("aX58").registerPainter)("vml",i("6fms"))},"8hn6":function(t,e){var i=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],n={color:i,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:"#eee"},crossStyle:{color:"#eee"}}},legend:{textStyle:{color:"#eee"}},textStyle:{color:"#eee"},title:{textStyle:{color:"#eee"}},toolbox:{iconStyle:{normal:{borderColor:"#eee"}}},dataZoom:{textStyle:{color:"#eee"}},visualMap:{textStyle:{color:"#eee"}},timeline:{lineStyle:{color:"#eee"},itemStyle:{normal:{color:i[1]}},label:{normal:{textStyle:{color:"#eee"}}},controlStyle:{normal:{color:"#eee",borderColor:"#eee"}}},timeAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},logAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},valueAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},categoryAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},line:{symbol:"circle"},graph:{color:i},gauge:{title:{textStyle:{color:"#eee"}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};n.categoryAxis.splitLine.show=!1;var a=n;t.exports=a},"8nMs":function(t,e,i){var n=i("bYtY"),a=i("IwbS"),r=i("+rIm"),o=i("Znkb"),s=i("AVZG"),l=["axisLine","axisTickLabel","axisName"],u=["splitArea","splitLine"],h=o.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,i,o){this.group.removeAll();var c=this._axisGroup;if(this._axisGroup=new a.Group,this.group.add(this._axisGroup),t.get("show")){var d=t.getCoordSysModel(),f=s.layout(d,t),p=new r(t,f);n.each(l,p.add,p),this._axisGroup.add(p.getGroup()),n.each(u,function(e){t.get(e+".show")&&this["_"+e](t,d)},this),a.groupTransition(c,this._axisGroup,t),h.superCall(this,"render",t,e,i,o)}},remove:function(){this._splitAreaColors=null},_splitLine:function(t,e){var i=t.axis;if(!i.scale.isBlank()){var r=t.getModel("splitLine"),o=r.getModel("lineStyle"),s=o.get("color");s=n.isArray(s)?s:[s];for(var l=e.coordinateSystem.getRect(),u=i.isHorizontal(),h=0,c=i.getTicksCoords({tickModel:r}),d=[],f=[],p=o.getLineStyle(),g=0;g<c.length;g++){var m=i.toGlobalCoord(c[g].coord);u?(d[0]=m,d[1]=l.y,f[0]=m,f[1]=l.y+l.height):(d[0]=l.x,d[1]=m,f[0]=l.x+l.width,f[1]=m);var v=h++%s.length,y=c[g].tickValue;this._axisGroup.add(new a.Line({anid:null!=y?"line_"+c[g].tickValue:null,subPixelOptimize:!0,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:n.defaults({stroke:s[v]},p),silent:!0}))}}},_splitArea:function(t,e){var i=t.axis;if(!i.scale.isBlank()){var r=t.getModel("splitArea"),o=r.getModel("areaStyle"),s=o.get("color"),l=e.coordinateSystem.getRect(),u=i.getTicksCoords({tickModel:r,clamp:!0});if(u.length){var h=s.length,c=this._splitAreaColors,d=n.createHashMap(),f=0;if(c)for(var p=0;p<u.length;p++){var g=c.get(u[p].tickValue);if(null!=g){f=(g+(h-1)*p)%h;break}}var m=i.toGlobalCoord(u[0].coord),v=o.getAreaStyle();s=n.isArray(s)?s:[s];for(p=1;p<u.length;p++){var y,x,_,b,w=i.toGlobalCoord(u[p].coord);i.isHorizontal()?(y=m,x=l.y,_=w-y,b=l.height,m=y+_):(y=l.x,x=m,_=l.width,m=x+(b=w-x));var S=u[p-1].tickValue;null!=S&&d.set(S,f),this._axisGroup.add(new a.Rect({anid:null!=S?"area_"+S:null,shape:{x:y,y:x,width:_,height:b},style:n.defaults({fill:s[f]},v),silent:!0})),f=(f+1)%h}this._splitAreaColors=d}}}});h.extend({type:"xAxis"}),h.extend({type:"yAxis"})},"8nly":function(t,e,i){var n=i("mFDi"),a=i("4mN7"),r=i("QBsz"),o=i("BlVb");function s(t,e,i){if(this.name=t,this.geometries=e,i)i=[i[0],i[1]];else{var n=this.getBoundingRect();i=[n.x+n.width/2,n.y+n.height/2]}this.center=i}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,i=[e,e],o=[-e,-e],s=[],l=[],u=this.geometries,h=0;h<u.length;h++)if("polygon"===u[h].type){var c=u[h].exterior;a.fromPoints(c,s,l),r.min(i,i,s),r.max(o,o,l)}return 0===h&&(i[0]=i[1]=o[0]=o[1]=0),this._rect=new n(i[0],i[1],o[0]-i[0],o[1]-i[1])},contain:function(t){var e=this.getBoundingRect(),i=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var n=0,a=i.length;n<a;n++)if("polygon"===i[n].type){var r=i[n].exterior,s=i[n].interiors;if(o.contain(r,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(o.contain(s[l]))continue t;return!0}}return!1},transformTo:function(t,e,i,a){var o=this.getBoundingRect(),s=o.width/o.height;i?a||(a=i/s):i=s*a;for(var l=new n(t,e,i,a),u=o.calculateTransform(l),h=this.geometries,c=0;c<h.length;c++)if("polygon"===h[c].type){for(var d=h[c].exterior,f=h[c].interiors,p=0;p<d.length;p++)r.applyTransform(d[p],d[p],u);for(var g=0;g<(f?f.length:0);g++)for(p=0;p<f[g].length;p++)r.applyTransform(f[g][p],f[g][p],u)}(o=this._rect).copy(l),this.center=[o.x+o.width/2,o.y+o.height/2]},cloneShallow:function(t){null==t&&(t=this.name);var e=new s(t,this.geometries,this.center);return e._rect=this._rect,e.transformTo=null,e}};var l=s;t.exports=l},"8waO":function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("iLNv"),o=i("ZWlE");i("hJvP"),i("IXyC"),i("xRUu");n.extendComponentView({type:"parallel",render:function(t,e,i){this._model=t,this._api=i,this._handlers||(this._handlers={},a.each(s,function(t,e){i.getZr().on(e,this._handlers[e]=a.bind(t,this))},this)),r.createOrUpdate(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},dispose:function(t,e){a.each(this._handlers,function(t,i){e.getZr().off(i,t)}),this._handlers=null},_throttledDispatchExpand:function(t){this._dispatchExpand(t)},_dispatchExpand:function(t){t&&this._api.dispatchAction(a.extend({type:"parallelAxisExpand"},t))}});var s={mousedown:function(t){l(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(l(this,"click")&&e){var i=[t.offsetX,t.offsetY];if(Math.pow(e[0]-i[0],2)+Math.pow(e[1]-i[1],2)>5)return;var n=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==n.behavior&&this._dispatchExpand({axisExpandWindow:n.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&l(this,"mousemove")){var e=this._model,i=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),n=i.behavior;"jump"===n&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===n?null:{axisExpandWindow:i.axisExpandWindow,animation:"jump"===n&&null})}}};function l(t,e){var i=t._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===e}n.registerPreprocessor(o)},"8x+h":function(t,e,i){i("Tghj").__DEV__;var n=i("ProS"),a=i("bYtY"),r=i("K4ya"),o=i("Qxkt"),s=["#ddd"];function l(t,e){return a.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new o(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var u=n.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var i=this.option;!e&&r.replaceVisualOption(i,t,["inBrush","outOfBrush"]);var n=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:s},n.hasOwnProperty("liftZ")||(n.liftZ=5)},setAreas:function(t){t&&(this.areas=a.map(t,function(t){return l(this.option,t)},this))},setBrushOption:function(t){this.brushOption=l(this.option,t),this.brushType=this.brushOption.brushType}});t.exports=u},"98bh":function(t,e,i){var n=i("ProS"),a=i("5GtS"),r=i("bYtY"),o=i("4NO4"),s=i("OELB").getPercentWithPrecision,l=i("cCMj"),u=i("KxfA").retrieveRawAttr,h=n.extendSeriesModel({type:"series.pie",init:function(t){h.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){h.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,e){return a(this,["value"])},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),i=[],n=0,a=t.count();n<a;n++)i.push({name:t.getName(n),value:t.get(e,n),selected:u(t,n,"selected")});return i},getDataParams:function(t){var e=this.getData(),i=h.superCall(this,"getDataParams",t),n=[];return e.each(e.mapDimension("value"),function(t){n.push(t)}),i.percent=s(n,t,e.hostModel.get("percentPrecision")),i.$vars.push("percent"),i},_defaultLabelLine:function(t){o.defaultEmphasis(t,"labelLine",["show"]);var e=t.labelLine,i=t.emphasis.labelLine;e.show=e.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,label:{rotate:!1,show:!0,position:"outer"},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationEasing:"cubicOut"}});r.mixin(h,l);var c=h;t.exports=c},"9H2F":function(t,e,i){var n=i("bYtY"),a=(n.assert,n.isArray);i("Tghj").__DEV__;function r(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}var o=r.prototype;o.perform=function(t){var e,i=this._upstream,n=t&&t.skip;if(this._dirty&&i){var r=this.context;r.data=r.outputData=i.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!n&&(e=this._plan(this.context));var o,s=d(this._modBy),u=this._modDataCount||0,h=d(t&&t.modBy),c=t&&t.modDataCount||0;function d(t){return!(t>=1)&&(t=1),t}s===h&&u===c||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=function(t,e){var i,n;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&((i=t._reset(t.context))&&i.progress&&(n=i.forceFirstProgress,i=i.progress),a(i)&&!i.length&&(i=null));t._progress=i,t._modBy=t._modDataCount=null;var r=t._downstream;return r&&r.dirty(),n}(this,n)),this._modBy=h,this._modDataCount=c;var f=t&&t.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,g=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!n&&(o||p<g)){var m=this._progress;if(a(m))for(var v=0;v<m.length;v++)l(this,m[v],p,g,h,c);else l(this,m,p,g,h,c)}this._dueIndex=g;var y=null!=this._settedOutputEnd?this._settedOutputEnd:g;this._outputDueEnd=y}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var s=function(){var t,e,i,n,a,r={reset:function(l,u,h,c){e=l,t=u,i=h,n=c,a=Math.ceil(n/i),r.next=i>1&&n>0?s:o}};return r;function o(){return e<t?e++:null}function s(){var r=e%a*i+Math.ceil(e/a),o=e>=t?null:r<n?r:e;return e++,o}}();function l(t,e,i,n,a,r){s.reset(i,n,a,r),t._callingProgress=e,t._callingProgress({start:i,end:n,count:n-i,next:s.next},t.context)}o.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},o.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},o.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},o.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},o.getUpstream=function(){return this._upstream},o.getDownstream=function(){return this._downstream},o.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e.createTask=function(t){return new r(t)}},"9KIM":function(t,e,i){var n=i("mFDi"),a=i("xSat").onIrrelevantElement,r=i("IwbS");function o(t){return n.create(t)}e.makeRectPanelClipPath=function(t){return t=o(t),function(e,i){return r.clipPointsByRect(e,t)}},e.makeLinearBrushOtherExtent=function(t,e){return t=o(t),function(i){var n=null!=e?e:i,a=n?t.width:t.height,r=n?t.x:t.y;return[r,r+(a||0)]}},e.makeRectIsTargetByCursor=function(t,e,i){return t=o(t),function(n,r,o){return t.contain(r[0],r[1])&&!a(n,e,i)}}},"9eas":function(t,e,i){i("HM/N"),i("tBnm")},"9hCq":function(t,e,i){var n=i("IwbS"),a=i("+TT/"),r=i("bYtY"),o=i("VaxA").wrapTreePathInfo,s=5;function l(t){this.group=new n.Group,t.add(this.group)}function u(t,e,i,n,a,r){var o=[[a?t:t-s,e],[t+i,e],[t+i,e+n],[a?t:t-s,e+n]];return!r&&o.splice(2,0,[t+i+s,e+n/2]),!a&&o.push([t,e+n/2]),o}function h(t,e,i){t.eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.componentIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:i&&i.dataIndex,name:i&&i.name},treePathInfo:i&&o(i,e)}}l.prototype={constructor:l,render:function(t,e,i,n){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&i){var s=r.getModel("itemStyle"),l=s.getModel("textStyle"),u={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(i,u,l),this._renderContent(t,u,s,l,n),a.positionElement(o,u.pos,u.box)}},_prepare:function(t,e,i){for(var n=t;n;n=n.parentNode){var a=n.getModel().get("name"),r=i.getTextRect(a),o=Math.max(r.width+16,e.emptyItemWidth);e.totalWidth+=o+8,e.renderList.push({node:n,text:a,width:o})}},_renderContent:function(t,e,i,o,s){for(var l=0,c=e.emptyItemWidth,d=t.get("breadcrumb.height"),f=a.getAvailableSize(e.pos,e.box),p=e.totalWidth,g=e.renderList,m=g.length-1;m>=0;m--){var v=g[m],y=v.node,x=v.width,_=v.text;p>f.width&&(p-=x-c,x=c,_=null);var b=new n.Polygon({shape:{points:u(l,0,x,d,m===g.length-1,0===m)},style:r.defaults(i.getItemStyle(),{lineJoin:"bevel",text:_,textFill:o.getTextColor(),textFont:o.getFont()}),z:10,onclick:r.curry(s,y)});this.group.add(b),h(b,t,y),l+=x+8}},remove:function(){this.group.removeAll()}};var c=l;t.exports=c},"9u0u":function(t,e,i){var n=i("bYtY");t.exports=function(t){var e={};t.eachSeriesByType("map",function(t){var i=t.getHostGeoModel(),n=i?"o"+i.id:"i"+t.getMapType();(e[n]=e[n]||[]).push(t)}),n.each(e,function(t,e){for(var i,a,r,o=(i=n.map(t,function(t){return t.getData()}),a=t[0].get("mapValueCalculation"),r={},n.each(i,function(t){t.each(t.mapDimension("value"),function(e,i){var n="ec-"+t.getName(i);r[n]=r[n]||[],isNaN(e)||r[n].push(e)})}),i[0].map(i[0].mapDimension("value"),function(t,e){for(var n,o="ec-"+i[0].getName(e),s=0,l=1/0,u=-1/0,h=r[o].length,c=0;c<h;c++)l=Math.min(l,r[o][c]),u=Math.max(u,r[o][c]),s+=r[o][c];return n="min"===a?l:"max"===a?u:"average"===a?s/h:s,0===h?NaN:n})),s=0;s<t.length;s++)t[s].originalData=t[s].getData();for(s=0;s<t.length;s++)t[s].seriesGroup=t,t[s].needsDrawMap=0===s&&!t[s].getHostGeoModel(),t[s].setData(o.cloneShallow()),t[s].mainSeries=t[0]})}},"9wZj":function(t,e,i){var n=i("IwbS"),a=i("FBjb"),r=i("bYtY").isObject;function o(t){this.group=new n.Group,this._symbolCtor=t||a}var s=o.prototype;function l(t,e,i,n){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(n.isIgnore&&n.isIgnore(i))&&!(n.clipShape&&!n.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(i,"symbol")}function u(t){return null==t||r(t)||(t={isIgnore:t}),t||{}}function h(t){var e=t.hostModel;return{itemStyle:e.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:e.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label"),cursorStyle:e.get("cursor")}}s.updateData=function(t,e){e=u(e);var i=this.group,a=t.hostModel,r=this._data,o=this._symbolCtor,s=h(t);r||i.removeAll(),t.diff(r).add(function(n){var a=t.getItemLayout(n);if(l(t,a,n,e)){var r=new o(t,n,s);r.attr("position",a),t.setItemGraphicEl(n,r),i.add(r)}}).update(function(u,h){var c=r.getItemGraphicEl(h),d=t.getItemLayout(u);l(t,d,u,e)?(c?(c.updateData(t,u,s),n.updateProps(c,{position:d},a)):(c=new o(t,u)).attr("position",d),i.add(c),t.setItemGraphicEl(u,c)):i.remove(c)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut(function(){i.remove(e)})}).execute(),this._data=t},s.isPersistent=function(){return!0},s.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl(function(e,i){var n=t.getItemLayout(i);e.attr("position",n)})},s.incrementalPrepareUpdate=function(t){this._seriesScope=h(t),this._data=null,this.group.removeAll()},s.incrementalUpdate=function(t,e,i){function n(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}i=u(i);for(var a=t.start;a<t.end;a++){var r=e.getItemLayout(a);if(l(e,r,a,i)){var o=new this._symbolCtor(e,a,this._seriesScope);o.traverse(n),o.attr("position",r),this.group.add(o),e.setItemGraphicEl(a,o)}}},s.remove=function(t){var e=this.group,i=this._data;i&&t?i.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)})}):e.removeAll()};var c=o;t.exports=c},A1Ka:function(t,e,i){var n=i("bLfw"),a=i("sS/r"),r=i("D5nY").detectSourceFormat,o=i("k9D9").SERIES_LAYOUT_BY_COLUMN;n.extend({type:"dataset",defaultOption:{seriesLayoutBy:o,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){r(this)}}),a.extend({type:"dataset"})},AE9C:function(t,e,i){var n=i("bYtY"),a=i("crZl"),r=i("IwbS"),o=i("oVpE").createSymbol,s=i("+TT/"),l=i("y7Aq"),u=a.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group;t.removeAll();var e=this.visualMapModel,i=e.get("textGap"),a=e.textStyleModel,o=a.getFont(),l=a.getTextColor(),u=this._getItemAlign(),h=e.itemSize,c=this._getViewData(),d=c.endsText,f=n.retrieve(e.get("showLabel",!0),!d);d&&this._renderEndsText(t,d[0],h,f,u),n.each(c.viewPieceList,function(a){var s=a.piece,c=new r.Group;c.onclick=n.bind(this._onItemClick,this,s),this._enableHoverLink(c,a.indexInModelPieceList);var d=e.getRepresentValue(s);if(this._createItemSymbol(c,d,[0,0,h[0],h[1]]),f){var p=this.visualMapModel.getValueState(d);c.add(new r.Text({style:{x:"right"===u?-i:h[0]+i,y:h[1]/2,text:s.text,textVerticalAlign:"middle",textAlign:u,textFont:o,textFill:l,opacity:"outOfRange"===p?.5:1}}))}t.add(c)},this),d&&this._renderEndsText(t,d[1],h,f,u),s.box(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(t,e){function i(t){var i=this.visualMapModel;i.option.hoverLink&&this.api.dispatchAction({type:t,batch:l.makeHighDownBatch(i.findTargetDataIndices(e),i)})}t.on("mouseover",n.bind(i,this,"highlight")).on("mouseout",n.bind(i,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return l.getItemAlign(t,this.api,t.itemSize);var i=e.align;return i&&"auto"!==i||(i="left"),i},_renderEndsText:function(t,e,i,n,a){if(e){var o=new r.Group,s=this.visualMapModel.textStyleModel;o.add(new r.Text({style:{x:n?"right"===a?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:n?a:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(o)}},_getViewData:function(){var t=this.visualMapModel,e=n.map(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),i=t.get("text"),a=t.get("orient"),r=t.get("inverse");return("horizontal"===a?r:!r)?e.reverse():i&&(i=i.slice().reverse()),{viewPieceList:e,endsText:i}},_createItemSymbol:function(t,e,i){t.add(o(this.getControllerVisual(e,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,i=e.option,a=n.clone(i.selected),r=e.getSelectedMapKey(t);"single"===i.selectedMode?(a[r]=!0,n.each(a,function(t,e){a[e]=e===r})):a[r]=!a[r],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})}});t.exports=u},AEZ6:function(t,e,i){var n=i("bYtY"),a=n.each,r=n.createHashMap,o=i("T4UG"),s=i("MwEJ"),l=o.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,e){var i=this.getSource();return function(t,e){if(t.encodeDefine)return;var i=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(!i)return;var n=t.encodeDefine=r();a(i.dimensions,function(t){var e=+t.replace("dim","");n.set(t,e)})}(i,this),s(i,this)},getRawIndicesByActiveState:function(t){var e=this.coordinateSystem,i=this.getData(),n=[];return e.eachActiveState(i,function(e,a){t===e&&n.push(i.getRawIndex(a))}),n},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});t.exports=l},AH3D:function(t,e,i){var n=i("ProS");i("y4/Y"),i("qWt2"),i("Qvb6"),n.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),n.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(t,e,i){var n=i("ProS"),a=i("5GtS"),r=i("4NO4").defaultEmphasis,o=n.extendSeriesModel({type:"series.funnel",init:function(t){o.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(t)},getInitialData:function(t,e){return a(this,["value"])},_defaultLabelLine:function(t){r(t,"labelLine",["show"]);var e=t.labelLine,i=t.emphasis.labelLine;e.show=e.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},getDataParams:function(t){var e=this.getData(),i=o.superCall(this,"getDataParams",t),n=e.mapDimension("value"),a=e.getSum(n);return i.percent=a?+(e.get(n,t)/a*100).toFixed(2):0,i.$vars.push("percent"),i},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),s=o;t.exports=s},ANjR:function(t,e,i){var n=i("bYtY");function a(t,e){return e=e||[0,0],n.map([0,1],function(i){var n=e[i],a=t[i]/2,r=[],o=[];return r[i]=n-a,o[i]=n+a,r[1-i]=o[1-i]=e[1-i],Math.abs(this.dataToPoint(r)[i]-this.dataToPoint(o)[i])},this)}t.exports=function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:n.bind(a,t)}}}},AUH6:function(t,e,i){var n=i("bYtY"),a=i("mFDi"),r=i("bMXI"),o=i("W4dC");function s(t,e,i,n){r.call(this,t),this.map=e;var a=o.load(e,i);this._nameCoordMap=a.nameCoordMap,this._regionsMap=a.regionsMap,this._invertLongitute=null==n||n,this.regions=a.regions,this._rect=a.boundingRect}function l(t,e,i,n){var a=i.geoModel,r=i.seriesModel,o=a?a.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return o===this?o[t](n):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,i=0;i<e.length;i++)if(e[i].contain(t))return!0;return!1},transformTo:function(t,e,i,n){var r=this.getBoundingRect(),o=this._invertLongitute;r=r.clone(),o&&(r.y=-r.y-r.height);var s=this._rawTransformable;if(s.transform=r.calculateTransform(new a(t,e,i,n)),s.decomposeTransform(),o){var l=s.scale;l[1]=-l[1]}s.updateTransform(),this._updateTransform()},getRegion:function(t){return this._regionsMap.get(t)},getRegionByCoord:function(t){for(var e=this.regions,i=0;i<e.length;i++)if(e[i].contain(t))return e[i]},addGeoCoord:function(t,e){this._nameCoordMap.set(t,e)},getGeoCoord:function(t){return this._nameCoordMap.get(t)},getBoundingRect:function(){return this._rect},dataToPoint:function(t,e,i){if("string"==typeof t&&(t=this.getGeoCoord(t)),t)return r.prototype.dataToPoint.call(this,t,e,i)},convertToPixel:n.curry(l,"dataToPoint"),convertFromPixel:n.curry(l,"pointToData")},n.mixin(s,r);var u=s;t.exports=u},AVZG:function(t,e,i){var n=i("bYtY");e.layout=function(t,e,i){i=i||{};var a=t.coordinateSystem,r=e.axis,o={},s=r.getAxesOnZeroOf()[0],l=r.position,u=s?"onZero":l,h=r.dim,c=a.getRect(),d=[c.x,c.x+c.width,c.y,c.y+c.height],f={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,g="x"===h?[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"===h?g[f[u]]:d[0],"x"===h?g[f[u]]:d[3]],o.rotation=Math.PI/2*("x"===h?0:1),o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[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 v=e.get("axisLabel.rotate");return o.labelRotate="top"===u?-v:v,o.z2=1,o}},"Ae+d":function(t,e){e.updateViewOnPan=function(t,e,i){var n=t.target,a=n.position;a[0]+=e,a[1]+=i,n.dirty()},e.updateViewOnZoom=function(t,e,i,n){var a=t.target,r=t.zoomLimit,o=a.position,s=a.scale,l=t.zoom=t.zoom||1;if(l*=e,r){var u=r.min||0,h=r.max||1/0;l=Math.max(Math.min(h,l),u)}var c=l/t.zoom;t.zoom=l,o[0]-=(i-o[0])*(c-1),o[1]-=(n-o[1])*(c-1),s[0]*=c,s[1]*=c,a.dirty()}},Ae16:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("IwbS");i("Wqna"),i("rySg"),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={})})},"B+YJ":function(t,e,i){i("TYVI"),i("p1MT")},B9fm:function(t,e,i){var n=i("bYtY"),a=i("Qe9p"),r=i("YH21"),o=i("ItGF"),s=i("7aKB"),l=n.each,u=s.toCamelCase,h=["","-webkit-","-moz-","-o-"];function c(t){var e,i,r=[],c=t.get("transitionDuration"),d=t.get("backgroundColor"),f=t.getModel("textStyle"),p=t.get("padding");return c&&r.push((i="left "+(e=c)+"s cubic-bezier(0.23, 1, 0.32, 1),top "+e+"s cubic-bezier(0.23, 1, 0.32, 1)",n.map(h,function(t){return t+"transition:"+i}).join(";"))),d&&(o.canvasSupported?r.push("background-Color:"+d):(r.push("background-Color:#"+a.toHex(d)),r.push("filter:alpha(opacity=70)"))),l(["width","color","radius"],function(e){var i="border-"+e,n=u(i),a=t.get(n);null!=a&&r.push(i+":"+a+("color"===e?"":"px"))}),r.push(function(t){var e=[],i=t.get("fontSize"),n=t.getTextColor();return n&&e.push("color:"+n),e.push("font:"+t.getFont()),i&&e.push("line-height:"+Math.round(3*i/2)+"px"),l(["decoration","align"],function(i){var n=t.get(i);n&&e.push("text-"+i+":"+n)}),e.join(";")}(f)),null!=p&&r.push("padding:"+s.normalizeCssArray(p).join("px ")+"px"),r.join(";")+";"}function d(t,e){if(o.wxa)return null;var i=document.createElement("div"),n=this._zr=e.getZr();this.el=i,this._x=e.getWidth()/2,this._y=e.getHeight()/2,t.appendChild(i),this._container=t,this._show=!1,this._hideTimeout;var a=this;i.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},i.onmousemove=function(e){if(e=e||window.event,!a._enterable){var i=n.handler;r.normalizeEvent(t,e,!0),i.dispatch("mousemove",e)}},i.onmouseleave=function(){a._enterable&&a._show&&a.hideLater(a._hideDelay),a._inContent=!1}}d.prototype={constructor:d,_enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t),i=t.style;"absolute"!==i.position&&"absolute"!==e.position&&(i.position="relative")},show:function(t){clearTimeout(this._hideTimeout);var e=this.el;e.style.cssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+c(t)+";left:"+this._x+"px;top:"+this._y+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var i,n=this._zr;n&&n.painter&&(i=n.painter.getViewportRootOffset())&&(t+=i.offsetLeft,e+=i.offsetTop);var a=this.el.style;a.left=t+"px",a.top=e+"px",this._x=t,this._y=e},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var i=document.defaultView.getComputedStyle(this.el);i&&(t+=parseInt(i.borderLeftWidth,10)+parseInt(i.borderRightWidth,10),e+=parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10))}return{width:t,height:e}}};var f=d;t.exports=f},BPZU:function(t,e){var i=32,n=7;function a(t,e,i,n){var a=e+1;if(a===i)return 1;if(n(t[a++],t[e])<0){for(;a<i&&n(t[a],t[a-1])<0;)a++;!function(t,e,i){i--;for(;e<i;){var n=t[e];t[e++]=t[i],t[i--]=n}}(t,e,a)}else for(;a<i&&n(t[a],t[a-1])>=0;)a++;return a-e}function r(t,e,i,n,a){for(n===e&&n++;n<i;n++){for(var r,o=t[n],s=e,l=n;s<l;)a(o,t[r=s+l>>>1])<0?l=r:s=r+1;var u=n-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=o}}function o(t,e,i,n,a,r){var o=0,s=0,l=1;if(r(t,e[i+a])>0){for(s=n-a;l<s&&r(t,e[i+a+l])>0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}else{for(s=a+1;l<s&&r(t,e[i+a-l])<=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=o;o=a-l,l=a-u}for(o++;o<l;){var h=o+(l-o>>>1);r(t,e[i+h])>0?o=h+1:l=h}return l}function s(t,e,i,n,a,r){var o=0,s=0,l=1;if(r(t,e[i+a])<0){for(s=a+1;l<s&&r(t,e[i+a-l])<0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=o;o=a-l,l=a-u}else{for(s=n-a;l<s&&r(t,e[i+a+l])>=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}for(o++;o<l;){var h=o+(l-o>>>1);r(t,e[i+h])<0?l=h:o=h+1}return l}function l(t,e){var i,a,r,l=n,u=0;i=t.length;var h=[];function c(i){var c=a[i],d=r[i],f=a[i+1],p=r[i+1];r[i]=d+p,i===u-3&&(a[i+1]=a[i+2],r[i+1]=r[i+2]),u--;var g=s(t[f],t,c,d,0,e);c+=g,0!==(d-=g)&&0!==(p=o(t[c+d-1],t,f,p,p-1,e))&&(d<=p?function(i,a,r,u){var c=0;for(c=0;c<a;c++)h[c]=t[i+c];var d=0,f=r,p=i;if(t[p++]=t[f++],0==--u){for(c=0;c<a;c++)t[p+c]=h[d+c];return}if(1===a){for(c=0;c<u;c++)t[p+c]=t[f+c];return void(t[p+u]=h[d])}var g,m,v,y=l;for(;;){g=0,m=0,v=!1;do{if(e(t[f],h[d])<0){if(t[p++]=t[f++],m++,g=0,0==--u){v=!0;break}}else if(t[p++]=h[d++],g++,m=0,1==--a){v=!0;break}}while((g|m)<y);if(v)break;do{if(0!==(g=s(t[f],h,d,a,0,e))){for(c=0;c<g;c++)t[p+c]=h[d+c];if(p+=g,d+=g,(a-=g)<=1){v=!0;break}}if(t[p++]=t[f++],0==--u){v=!0;break}if(0!==(m=o(h[d],t,f,u,0,e))){for(c=0;c<m;c++)t[p+c]=t[f+c];if(p+=m,f+=m,0===(u-=m)){v=!0;break}}if(t[p++]=h[d++],1==--a){v=!0;break}y--}while(g>=n||m>=n);if(v)break;y<0&&(y=0),y+=2}if((l=y)<1&&(l=1),1===a){for(c=0;c<u;c++)t[p+c]=t[f+c];t[p+u]=h[d]}else{if(0===a)throw new Error;for(c=0;c<a;c++)t[p+c]=h[d+c]}}(c,d,f,p):function(i,a,r,u){var c=0;for(c=0;c<u;c++)h[c]=t[r+c];var d=i+a-1,f=u-1,p=r+u-1,g=0,m=0;if(t[p--]=t[d--],0==--a){for(g=p-(u-1),c=0;c<u;c++)t[g+c]=h[c];return}if(1===u){for(m=(p-=a)+1,g=(d-=a)+1,c=a-1;c>=0;c--)t[m+c]=t[g+c];return void(t[p]=h[f])}var v=l;for(;;){var y=0,x=0,_=!1;do{if(e(h[f],t[d])<0){if(t[p--]=t[d--],y++,x=0,0==--a){_=!0;break}}else if(t[p--]=h[f--],x++,y=0,1==--u){_=!0;break}}while((y|x)<v);if(_)break;do{if(0!==(y=a-s(h[f],t,i,a,a-1,e))){for(a-=y,m=(p-=y)+1,g=(d-=y)+1,c=y-1;c>=0;c--)t[m+c]=t[g+c];if(0===a){_=!0;break}}if(t[p--]=h[f--],1==--u){_=!0;break}if(0!==(x=u-o(t[d],h,0,u,u-1,e))){for(u-=x,m=(p-=x)+1,g=(f-=x)+1,c=0;c<x;c++)t[m+c]=h[g+c];if(u<=1){_=!0;break}}if(t[p--]=t[d--],0==--a){_=!0;break}v--}while(y>=n||x>=n);if(_)break;v<0&&(v=0),v+=2}(l=v)<1&&(l=1);if(1===u){for(m=(p-=a)+1,g=(d-=a)+1,c=a-1;c>=0;c--)t[m+c]=t[g+c];t[p]=h[f]}else{if(0===u)throw new Error;for(g=p-(u-1),c=0;c<u;c++)t[g+c]=h[c]}}(c,d,f,p))}a=[],r=[],this.mergeRuns=function(){for(;u>1;){var t=u-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]<r[t+1]&&t--;else if(r[t]>r[t+1])break;c(t)}},this.forceMergeRuns=function(){for(;u>1;){var t=u-2;t>0&&r[t-1]<r[t+1]&&t--,c(t)}},this.pushRun=function(t,e){a[u]=t,r[u]=e,u+=1}}t.exports=function(t,e,n,o){n||(n=0),o||(o=t.length);var s=o-n;if(!(s<2)){var u=0;if(s<i)r(t,n,o,n+(u=a(t,n,o,e)),e);else{var h=new l(t,e),c=function(t){for(var e=0;t>=i;)e|=1&t,t>>=1;return t+e}(s);do{if((u=a(t,n,o,e))<c){var d=s;d>c&&(d=c),r(t,n,n+d,n+u,e),u=d}h.pushRun(n,u),h.mergeRuns(),s-=u,n+=u}while(0!==s);h.forceMergeRuns()}}}},BlVb:function(t,e,i){var n=i("hyiK"),a=1e-8;function r(t,e){return Math.abs(t-e)<a}e.contain=function(t,e,i){var a=0,o=t[0];if(!o)return!1;for(var s=1;s<t.length;s++){var l=t[s];a+=n(o[0],o[1],l[0],l[1],e,i),o=l}var u=t[0];return r(o[0],u[0])&&r(o[1],u[1])||(a+=n(o[0],o[1],u[0],u[1],e,i)),0!==a}},Bq2U:function(t,e,i){var n=i("RDYZ"),a=i("Qe9p"),r=i("bYtY").isArrayLike,o=Array.prototype.slice;function s(t,e){return t[e]}function l(t,e,i){t[e]=i}function u(t,e,i){return(e-t)*i+t}function h(t,e,i){return i>.5?e:t}function c(t,e,i,n,a){var r=t.length;if(1===a)for(var o=0;o<r;o++)n[o]=u(t[o],e[o],i);else{var s=r&&t[0].length;for(o=0;o<r;o++)for(var l=0;l<s;l++)n[o][l]=u(t[o][l],e[o][l],i)}}function d(t,e,i){var n=t.length,a=e.length;if(n!==a)if(n>a)t.length=a;else for(var r=n;r<a;r++)t.push(1===i?e[r]:o.call(e[r]));var s=t[0]&&t[0].length;for(r=0;r<t.length;r++)if(1===i)isNaN(t[r])&&(t[r]=e[r]);else for(var l=0;l<s;l++)isNaN(t[r][l])&&(t[r][l]=e[r][l])}function f(t,e,i){if(t===e)return!0;var n=t.length;if(n!==e.length)return!1;if(1===i){for(var a=0;a<n;a++)if(t[a]!==e[a])return!1}else{var r=t[0].length;for(a=0;a<n;a++)for(var o=0;o<r;o++)if(t[a][o]!==e[a][o])return!1}return!0}function p(t,e,i,n,a,r,o,s,l){var u=t.length;if(1===l)for(var h=0;h<u;h++)s[h]=g(t[h],e[h],i[h],n[h],a,r,o);else{var c=t[0].length;for(h=0;h<u;h++)for(var d=0;d<c;d++)s[h][d]=g(t[h][d],e[h][d],i[h][d],n[h][d],a,r,o)}}function g(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 m(t){if(r(t)){var e=t.length;if(r(t[0])){for(var i=[],n=0;n<e;n++)i.push(o.call(t[n]));return i}return o.call(t)}return t}function v(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function y(t,e,i,o,s,l){var m=t._getter,y=t._setter,x="spline"===e,_=o.length;if(_){var b,w=o[0].value,S=r(w),M=!1,I=!1,T=S?function(t){var e=t[t.length-1].value;return r(e&&e[0])?2:1}(o):0;o.sort(function(t,e){return t.time-e.time}),b=o[_-1].time;for(var A=[],D=[],C=o[0].value,L=!0,P=0;P<_;P++){A.push(o[P].time/b);var k=o[P].value;if(S&&f(k,C,T)||!S&&k===C||(L=!1),C=k,"string"==typeof k){var O=a.parse(k);O?(k=O,M=!0):I=!0}D.push(k)}if(l||!L){var E=D[_-1];for(P=0;P<_-1;P++)S?d(D[P],E,T):!isNaN(D[P])||isNaN(E)||I||M||(D[P]=E);S&&d(m(t._target,s),E,T);var N,R,z,B,V,Y=0,G=0;if(M)var F=[0,0,0,0];var H=new n({target:t._target,life:b,loop:t._loop,delay:t._delay,onframe:function(t,e){var i;if(e<0)i=0;else if(e<G){for(i=Math.min(Y+1,_-1);i>=0&&!(A[i]<=e);i--);i=Math.min(i,_-2)}else{for(i=Y;i<_&&!(A[i]>e);i++);i=Math.min(i-1,_-2)}Y=i,G=e;var n=A[i+1]-A[i];if(0!==n)if(N=(e-A[i])/n,x)if(z=D[i],R=D[0===i?i:i-1],B=D[i>_-2?_-1:i+1],V=D[i>_-3?_-1:i+2],S)p(R,z,B,V,N,N*N,N*N*N,m(t,s),T);else{if(M)a=p(R,z,B,V,N,N*N,N*N*N,F,1),a=v(F);else{if(I)return h(z,B,N);a=g(R,z,B,V,N,N*N,N*N*N)}y(t,s,a)}else if(S)c(D[i],D[i+1],N,m(t,s),T);else{var a;if(M)c(D[i],D[i+1],N,F,1),a=v(F);else{if(I)return h(D[i],D[i+1],N);a=u(D[i],D[i+1],N)}y(t,s,a)}},ondestroy:i});return e&&"spline"!==e&&(H.easing=e),H}}}var x=function(t,e,i,n){this._tracks={},this._target=t,this._loop=e||!1,this._getter=i||s,this._setter=n||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};x.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:m(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;t<this._clipList.length;t++)this._clipList[t].pause();this._paused=!0},resume:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var t=this._doneList,e=t.length,i=0;i<e;i++)t[i].call(this)},start:function(t,e){var i,n=this,a=0,r=function(){--a||n._doneCallback()};for(var o in this._tracks)if(this._tracks.hasOwnProperty(o)){var s=y(this,t,r,this._tracks[o],o,e);s&&(this._clipList.push(s),a++,this.animation&&this.animation.addClip(s),i=s)}if(i){var l=i.onframe;i.onframe=function(t,e){l(t,e);for(var i=0;i<n._onframeList.length;i++)n._onframeList[i](t,e)}}return a||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,i=this.animation,n=0;n<e.length;n++){var a=e[n];t&&a.onframe(this._target,1),i&&i.removeClip(a)}e.length=0},delay:function(t){return this._delay=t,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}};var _=x;t.exports=_},Bsck:function(t,e,i){var n=i("bYtY"),a=i("Qxkt"),r=i("Mdki"),o=i("YXkt"),s=i("sdST"),l=function(t,e){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=e};function u(t,e,i){this.root,this.data,this._nodes=[],this.hostModel=t,this.levelModels=n.map(e||[],function(e){return new a(e,t,t.ecModel)}),this.leavesModel=new a(i||{},t,t.ecModel)}l.prototype={constructor:l,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,e,i){"function"==typeof t&&(i=e,e=t,t=null),t=t||{},n.isString(t)&&(t={order:t});var a,r=t.order||"preorder",o=this[t.attr||"children"];"preorder"===r&&(a=e.call(i,this));for(var s=0;!a&&s<o.length;s++)o[s].eachNode(t,e,i);"postorder"===r&&e.call(i,this)},updateDepthAndHeight:function(t){var e=0;this.depth=t;for(var i=0;i<this.children.length;i++){var n=this.children[i];n.updateDepthAndHeight(t+1),n.height>e&&(e=n.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,i=this.children,n=i.length;e<n;e++){var a=i[e].getNodeById(t);if(a)return a}},contains:function(t){if(t===this)return!0;for(var e=0,i=this.children,n=i.length;e<n;e++){var a=i[e].contains(t);if(a)return a}},getAncestors:function(t){for(var e=[],i=t?this:this.parentNode;i;)e.push(i),i=i.parentNode;return e.reverse(),e},getValue:function(t){var e=this.hostTree.data;return e.get(e.getDimension(t||"value"),this.dataIndex)},setLayout:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e,i=this.hostTree,n=i.data.getItemModel(this.dataIndex),a=this.getLevelModel();return a||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(e=this.getLeavesModel()),n.getModel(t,(a||e||i.hostModel).getModel(t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},u.prototype={constructor:u,type:"tree",eachNode:function(t,e,i){this.root.eachNode(t,e,i)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,i=0,n=e.length;i<n;i++)e[i].dataIndex=-1;for(i=0,n=t.count();i<n;i++)e[t.getRawIndex(i)].dataIndex=i},clearLayouts:function(){this.data.clearItemLayouts()}},u.createTree=function(t,e,i){var a=new u(e,i.levels,i.leaves),h=[],c=1;!function t(e,i){var r=e.value;c=Math.max(c,n.isArray(r)?r.length:1);h.push(e);var o=new l(e.name,a);i?function(t,e){var i=e.children;if(t.parentNode===e)return;i.push(t),t.parentNode=e}(o,i):a.root=o;a._nodes.push(o);var s=e.children;if(s)for(var u=0;u<s.length;u++)t(s[u],o)}(t),a.root.updateDepthAndHeight(0);var d=s(h,{coordDimensions:["value"],dimensionsCount:c}),f=new o(d,e);return f.initData(h),r({mainData:f,struct:a,structAttr:"tree"}),a.update(),a};var h=u;t.exports=h},BuqR:function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=i("6uqw"),r=i("XxSj"),o=i("YOMW"),s=i("OELB").reformIntervals,l=a.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(t,e){l.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var i=this._mode=this._determineMode();u[this._mode].call(this),this._resetSelected(t,e);var a=this.option.categories;this.resetVisual(function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=n.clone(a)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=n.map(this._pieceList,function(t){t=n.clone(t);return"inRange"!==e&&(t.visual=null),t}))})},completeVisualOption:function(){var t=this.option,e={},i=r.listVisualTypes(),s=this.isCategory();function l(t,e,i){return t&&t[e]&&(n.isObject(t[e])?t[e].hasOwnProperty(i):t[e]===i)}n.each(t.pieces,function(t){n.each(i,function(i){t.hasOwnProperty(i)&&(e[i]=1)})}),n.each(e,function(e,i){var a=0;n.each(this.stateList,function(e){a|=l(t,e,i)||l(t.target,e,i)},this),!a&&n.each(this.stateList,function(e){(t[e]||(t[e]={}))[i]=o.get(i,"inRange"===e?"active":"inactive",s)})},this),a.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(t,e){var i=this.option,a=this._pieceList,r=(e?i:t).selected||{};if(i.selected=r,n.each(a,function(t,e){var i=this.getSelectedMapKey(t);r.hasOwnProperty(i)||(r[i]=!0)},this),"single"===i.selectedMode){var o=!1;n.each(a,function(t,e){var i=this.getSelectedMapKey(t);r[i]&&(o?r[i]=!1:o=!0)},this)}},getSelectedMapKey:function(t){return"categories"===this._mode?t.value+"":t.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=n.clone(t)},getValueState:function(t){var e=r.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),function(e,i){r.findPieceIndex(e,this._pieceList)===t&&n.push(i)},this),e.push({seriesId:i.id,dataIndex:n})},this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var i=t.interval||[];e=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return e},getVisualMeta:function(t){if(!this.isCategory()){var e=[],i=[],a=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var s=-1/0;return n.each(r,function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])},this),{stops:e,outerColors:i}}function l(n,r){var o=a.getRepresentValue({interval:n});r||(r=a.getValueState(o));var s=t(o,r);n[0]===-1/0?i[0]=s:n[1]===1/0?i[1]=s:e.push({value:n[0],color:s},{value:n[1],color:s})}}}),u={splitNumber:function(){var t=this.option,e=this._pieceList,i=Math.min(t.precision,20),a=this.getExtent(),r=t.splitNumber;r=Math.max(parseInt(r,10),1),t.splitNumber=r;for(var o=(a[1]-a[0])/r;+o.toFixed(i)!==o&&i<5;)i++;t.precision=i,o=+o.toFixed(i);var l=0;t.minOpen&&e.push({index:l++,interval:[-1/0,a[0]],close:[0,0]});for(var u=a[0],h=l+r;l<h;u+=o){var c=l===r-1?a[1]:u+o;e.push({index:l++,interval:[u,c],close:[1,1]})}t.maxOpen&&e.push({index:l++,interval:[a[1],1/0],close:[0,0]}),s(e),n.each(e,function(t){t.text=this.formatValueText(t.interval)},this)},categories:function(){var t=this.option;n.each(t.categories,function(t){this._pieceList.push({text:this.formatValueText(t,!0),value:t})},this),h(t,this._pieceList)},pieces:function(){var t=this.option,e=this._pieceList;n.each(t.pieces,function(t,i){n.isObject(t)||(t={value:t});var a={text:"",index:i};if(null!=t.label&&(a.text=t.label),t.hasOwnProperty("value")){var o=a.value=t.value;a.interval=[o,o],a.close=[1,1]}else{for(var s=a.interval=[],l=a.close=[0,0],u=[1,0,1],h=[-1/0,1/0],c=[],d=0;d<2;d++){for(var f=[["gte","gt","min"],["lte","lt","max"]][d],p=0;p<3&&null==s[d];p++)s[d]=t[f[p]],l[d]=u[p],c[d]=2===p;null==s[d]&&(s[d]=h[d])}c[0]&&s[1]===1/0&&(l[0]=0),c[1]&&s[0]===-1/0&&(l[1]=0),s[0]===s[1]&&l[0]&&l[1]&&(a.value=s[0])}a.visual=r.retrieveVisuals(t),e.push(a)},this),h(t,e),s(e),n.each(e,function(t){var e=t.close,i=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,i)},this)}};function h(t,e){var i=t.inverse;("vertical"===t.orient?!i:i)&&e.reverse()}var c=l;t.exports=c},C0SR:function(t,e,i){var n=i("YH21"),a=function(){this._track=[]};function r(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}a.prototype={constructor:a,recognize:function(t,e,i){return this._doTrack(t,e,i),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,i){var a=t.touches;if(a){for(var r={points:[],touches:[],target:e,event:t},o=0,s=a.length;o<s;o++){var l=a[o],u=n.clientToLocal(i,l,{});r.points.push([u.zrX,u.zrY]),r.touches.push(l)}this._track.push(r)}},_recognize:function(t){for(var e in o)if(o.hasOwnProperty(e)){var i=o[e](this._track,t);if(i)return i}}};var o={pinch:function(t,e){var i=t.length;if(i){var n,a=(t[i-1]||{}).points,o=(t[i-2]||{}).points||a;if(o&&o.length>1&&a&&a.length>1){var s=r(a)/r(o);!isFinite(s)&&(s=1),e.pinchScale=s;var l=[((n=a)[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2];return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},s=a;t.exports=s},C0tN:function(t,e,i){i("0o9m"),i("8Uz6"),i("Ducp"),i("6/nd")},CBdT:function(t,e,i){var n=i("ProS");i("8waO"),i("AEZ6"),i("YNf1");var a=i("q3GZ");n.registerVisual(a)},CF2D:function(t,e,i){var n=i("ProS");i("vZI5"),i("GeKi");var a=i("6r85"),r=i("TJmX"),o=i("CbHG");n.registerPreprocessor(a),n.registerVisual(r),n.registerLayout(o)},"CMP+":function(t,e,i){var n=i("bYtY"),a=i("hM6l"),r=function(t,e,i,n){a.call(this,t,e,i),this.type=n||"value",this.model=null};r.prototype={constructor:r,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},n.inherits(r,a);var o=r;t.exports=o},CbHG:function(t,e,i){var n=i("IwbS").subPixelOptimize,a=i("zM3Q"),r=i("OELB").parsePercent,o=i("bYtY").retrieve2,s="undefined"!=typeof Float32Array?Float32Array:Array,l={seriesType:"candlestick",plan:a(),reset:function(t){var e=t.coordinateSystem,i=t.getData(),a=function(t,e){var i,n=t.getBaseAxis(),a="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/e.count()),s=r(o(t.get("barMaxWidth"),a),a),l=r(o(t.get("barMinWidth"),1),a),u=t.get("barWidth");return null!=u?r(u,a):Math.max(Math.min(a/2,s),l)}(t,i),l=0,h=1,c=["x","y"],d=i.mapDimension(c[l]),f=i.mapDimension(c[h],!0),p=f[0],g=f[1],m=f[2],v=f[3];if(i.setLayout({candleWidth:a,isSimpleBox:a<=1.3}),!(null==d||f.length<4))return{progress:t.pipelineContext.large?function(t,i){var n,a,r=new s(5*t.count),o=0,c=[],f=[];for(;null!=(a=t.next());){var y=i.get(d,a),x=i.get(p,a),_=i.get(g,a),b=i.get(m,a),w=i.get(v,a);isNaN(y)||isNaN(b)||isNaN(w)?(r[o++]=NaN,o+=4):(r[o++]=u(i,a,x,_,g),c[l]=y,c[h]=b,n=e.dataToPoint(c,null,f),r[o++]=n?n[0]:NaN,r[o++]=n?n[1]:NaN,c[h]=w,n=e.dataToPoint(c,null,f),r[o++]=n?n[1]:NaN)}i.setLayout("largePoints",r)}:function(t,i){var r;for(;null!=(r=t.next());){var o=i.get(d,r),s=i.get(p,r),c=i.get(g,r),f=i.get(m,r),y=i.get(v,r),x=Math.min(s,c),_=Math.max(s,c),b=T(x,o),w=T(_,o),S=T(f,o),M=T(y,o),I=[];A(I,w,0),A(I,b,1),I.push(C(M),C(w),C(S),C(b)),i.setItemLayout(r,{sign:u(i,r,s,c,g),initBaseline:s>c?w[h]:b[h],ends:I,brushRect:D(f,y,o)})}function T(t,i){var n=[];return n[l]=i,n[h]=t,isNaN(i)||isNaN(t)?[NaN,NaN]:e.dataToPoint(n)}function A(t,e,i){var r=e.slice(),o=e.slice();r[l]=n(r[l]+a/2,1,!1),o[l]=n(o[l]-a/2,1,!0),i?t.push(r,o):t.push(o,r)}function D(t,e,i){var n=T(t,i),r=T(e,i);return n[l]-=a/2,r[l]-=a/2,{x:n[0],y:n[1],width:h?a:r[0]-n[0],height:h?r[1]-n[1]:a}}function C(t){return t[l]=n(t[l],1),t}}}}};function u(t,e,i,n,a){return i>n?-1:i<n?1:e>0?t.get(a,e-1)<=n?1:-1:1}t.exports=l},Cm0C:function(t,e,i){i("5NHt"),i("f3JH")},D1WM:function(t,e,i){var n=i("bYtY"),a=i("hM6l"),r=function(t,e,i,n,r){a.call(this,t,e,i),this.type=n||"value",this.axisIndex=r};r.prototype={constructor:r,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},n.inherits(r,a);var o=r;t.exports=o},D5nY:function(t,e,i){i("Tghj").__DEV__;var n=i("4NO4"),a=n.makeInner,r=n.getDataItemValue,o=i("i38C").getCoordSysDefineBySeries,s=i("bYtY"),l=s.createHashMap,u=s.each,h=s.map,c=s.isArray,d=s.isString,f=s.isObject,p=s.isTypedArray,g=s.isArrayLike,m=s.extend,v=(s.assert,i("7G+c")),y=i("k9D9"),x=y.SOURCE_FORMAT_ORIGINAL,_=y.SOURCE_FORMAT_ARRAY_ROWS,b=y.SOURCE_FORMAT_OBJECT_ROWS,w=y.SOURCE_FORMAT_KEYED_COLUMNS,S=y.SOURCE_FORMAT_UNKNOWN,M=y.SOURCE_FORMAT_TYPED_ARRAY,I=y.SERIES_LAYOUT_BY_ROW,T=a();function A(t){if(t){var e=l();return h(t,function(t,i){if(null==(t=m({},f(t)?t:{name:t})).name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var n=e.get(t.name);return n?t.name+="-"+n.count++:e.set(t.name,{count:1}),t})}}function D(t,e,i,n){if(null==n&&(n=1/0),e===I)for(var a=0;a<i.length&&a<n;a++)t(i[a]?i[a][0]:null,a);else{var r=i[0]||[];for(a=0;a<r.length&&a<n;a++)t(r[a],a)}}function C(t,e,i,n,a,o){var s,l;if(p(t))return!1;if(n&&(l=n[o],l=f(l)?l.name:l),e===_)if(i===I){for(var u=t[o],h=0;h<(u||[]).length&&h<5;h++)if(null!=(s=y(u[a+h])))return s}else for(h=0;h<t.length&&h<5;h++){var g=t[a+h];if(g&&null!=(s=y(g[o])))return s}else if(e===b){if(!l)return;for(h=0;h<t.length&&h<5;h++){if((m=t[h])&&null!=(s=y(m[l])))return s}}else if(e===w){if(!l)return;if(!(u=t[l])||p(u))return!1;for(h=0;h<u.length&&h<5;h++)if(null!=(s=y(u[h])))return s}else if(e===x)for(h=0;h<t.length&&h<5;h++){var m=t[h],v=r(m);if(!c(v))return!1;if(null!=(s=y(v[o])))return s}function y(t){return(null==t||!isFinite(t)||""===t)&&(!(!d(t)||"-"===t)||void 0)}return!1}e.detectSourceFormat=function(t){var e=t.option.source,i=S;if(p(e))i=M;else if(c(e)){0===e.length&&(i=_);for(var n=0,a=e.length;n<a;n++){var r=e[n];if(null!=r){if(c(r)){i=_;break}if(f(r)){i=b;break}}}}else if(f(e)){for(var o in e)if(e.hasOwnProperty(o)&&g(e[o])){i=w;break}}else if(null!=e)throw new Error("Invalid data");T(t).sourceFormat=i},e.getSource=function(t){return T(t).source},e.resetSourceDefaulter=function(t){T(t).datasetMap=l()},e.prepareSource=function(t){var e=t.option,i=e.data,n=p(i)?M:x,a=!1,s=e.seriesLayoutBy,h=e.sourceHeader,g=e.dimensions,m=function(t){var e=t.option;if(!e.data)return t.ecModel.getComponent("dataset",e.datasetIndex||0)}(t);if(m){var y=m.option;i=y.source,n=T(m).sourceFormat,a=!0,s=s||y.seriesLayoutBy,null==h&&(h=y.sourceHeader),g=g||y.dimensions}var S=function(t,e,i,n,a){if(!t)return{dimensionsDefine:A(a)};var o,s,l,h;if(e===_)"auto"===n||null==n?D(function(t){null!=t&&"-"!==t&&(d(t)?null==s&&(s=1):s=0)},i,t,10):s=n?1:0,a||1!==s||(a=[],D(function(t,e){a[e]=null!=t?t:""},i,t)),o=a?a.length:i===I?t.length:t[0]?t[0].length:null;else if(e===b)a||(a=function(t){for(var e,i=0;i<t.length&&!(e=t[i++]););if(e){var n=[];return u(e,function(t,e){n.push(e)}),n}}(t),l=!0);else if(e===w)a||(a=[],l=!0,u(t,function(t,e){a.push(e)}));else if(e===x){var p=r(t[0]);o=c(p)&&p.length||1}return l&&u(a,function(t,e){"name"===(f(t)?t.name:t)&&(h=e)}),{startIndex:s,dimensionsDefine:A(a),dimensionsDetectCount:o,potentialNameDimIndex:h}}(i,n,s,h,g),L=e.encode;!L&&m&&(L=function(t,e,i,n,a,r){var s=o(t),h={},c=[],d=[],f=t.subType,p=l(["pie","map","funnel"]),g=l(["line","bar","pictorialBar","scatter","effectScatter","candlestick","boxplot"]);if(s&&null!=g.get(f)){var m=t.ecModel,v=T(m).datasetMap,y=e.uid+"_"+a,x=v.get(y)||v.set(y,{categoryWayDim:1,valueWayDim:0});u(s.coordSysDims,function(t){if(null==s.firstCategoryDimIndex){var e=x.valueWayDim++;h[t]=e,d.push(e)}else if(s.categoryAxisMap.get(t))h[t]=0,c.push(0);else{var e=x.categoryWayDim++;h[t]=e,d.push(e)}})}else if(null!=p.get(f)){for(var _,b=0;b<5&&null==_;b++)C(i,n,a,r.dimensionsDefine,r.startIndex,b)||(_=b);if(null!=_){h.value=_;var w=r.potentialNameDimIndex||Math.max(_-1,0);d.push(w),c.push(w)}}return c.length&&(h.itemName=c),d.length&&(h.seriesName=d),h}(t,m,i,n,s,S)),T(t).source=new v({data:i,fromDataset:a,seriesLayoutBy:s,sourceFormat:n,dimensionsDefine:S.dimensionsDefine,startIndex:S.startIndex,dimensionsDetectCount:S.dimensionsDetectCount,encodeDefine:L})},e.guessOrdinal=function(t,e){return C(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}},D9ME:function(t,e,i){var n=i("IwbS"),a=i("fls0"),r=i("bYtY"),o=i("oVpE").createSymbol,s=i("QBsz"),l=i("Sj9i");function u(t,e,i){n.Group.call(this),this.add(this.createLine(t,e,i)),this._updateEffectSymbol(t,e)}var h=u.prototype;h.createLine=function(t,e,i){return new a(t,e,i)},h._updateEffectSymbol=function(t,e){var i=t.getItemModel(e).getModel("effect"),n=i.get("symbolSize"),a=i.get("symbol");r.isArray(n)||(n=[n,n]);var s=i.get("color")||t.getItemVisual(e,"color"),l=this.childAt(1);this._symbolType!==a&&(this.remove(l),(l=o(a,-.5,-.5,1,1,s)).z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",s),l.setStyle(i.getItemStyle(["color"])),l.attr("scale",n),l.setColor(s),l.attr("scale",n),this._symbolType=a,this._updateEffectAnimation(t,i,e))},h._updateEffectAnimation=function(t,e,i){var n=this.childAt(1);if(n){var a=this,o=t.getItemLayout(i),s=1e3*e.get("period"),l=e.get("loop"),u=e.get("constantSpeed"),h=r.retrieve(e.get("delay"),function(e){return e/t.count()*s/3}),c="function"==typeof h;if(n.ignore=!0,this.updateAnimationPoints(n,o),u>0&&(s=this.getLineLength(n)/u*1e3),s!==this._period||l!==this._loop){n.stopAnimation();var d=h;c&&(d=h(i)),n.__t>0&&(d=-s*n.__t),n.__t=0;var f=n.animate("",l).when(s,{__t:1}).delay(d).during(function(){a.updateSymbolPosition(n)});l||f.done(function(){a.remove(n)}),f.start()}this._period=s,this._loop=l}},h.getLineLength=function(t){return s.dist(t.__p1,t.__cp1)+s.dist(t.__cp1,t.__p2)},h.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},h.updateData=function(t,e,i){this.childAt(0).updateData(t,e,i),this._updateEffectSymbol(t,e)},h.updateSymbolPosition=function(t){var e=t.__p1,i=t.__p2,n=t.__cp1,a=t.__t,r=t.position,o=l.quadraticAt,s=l.quadraticDerivativeAt;r[0]=o(e[0],n[0],i[0],a),r[1]=o(e[1],n[1],i[1],a);var u=s(e[0],n[0],i[0],a),h=s(e[1],n[1],i[1],a);t.rotation=-Math.atan2(h,u)-Math.PI/2,t.ignore=!1},h.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var i=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,i,e)},r.inherits(u,n.Group);var c=u;t.exports=c},DBLp:function(t,e){function i(){}function n(t,e,i,n){for(var a=0,r=e.length,o=0,s=0;a<r;a++){var l=e[a];if(l.removed){for(u=[],h=s;h<s+l.count;h++)u.push(h);l.indices=u,s+=l.count}else{for(var u=[],h=o;h<o+l.count;h++)u.push(h);l.indices=u,o+=l.count,l.added||(s+=l.count)}}return e}i.prototype={diff:function(t,e,i){i||(i=function(t,e){return t===e}),this.equals=i;var a=this;t=t.slice();var r=(e=e.slice()).length,o=t.length,s=1,l=r+o,u=[{newPos:-1,components:[]}],h=this.extractCommon(u[0],e,t,0);if(u[0].newPos+1>=r&&h+1>=o){for(var c=[],d=0;d<e.length;d++)c.push(d);return[{indices:c,count:e.length}]}function f(){for(var i=-1*s;i<=s;i+=2){var l,h=u[i-1],c=u[i+1],d=(c?c.newPos:0)-i;h&&(u[i-1]=void 0);var f=h&&h.newPos+1<r,p=c&&0<=d&&d<o;if(f||p){if(!f||p&&h.newPos<c.newPos?(l={newPos:(g=c).newPos,components:g.components.slice(0)},a.pushComponent(l.components,void 0,!0)):((l=h).newPos++,a.pushComponent(l.components,!0,void 0)),d=a.extractCommon(l,e,t,i),l.newPos+1>=r&&d+1>=o)return n(a,l.components,e,t);u[i]=l}else u[i]=void 0}var g;s++}for(;s<=l;){var p=f();if(p)return p}},pushComponent:function(t,e,i){var n=t[t.length-1];n&&n.added===e&&n.removed===i?t[t.length-1]={count:n.count+1,added:e,removed:i}:t.push({count:1,added:e,removed:i})},extractCommon:function(t,e,i,n){for(var a=e.length,r=i.length,o=t.newPos,s=o-n,l=0;o+1<a&&s+1<r&&this.equals(e[o+1],i[s+1]);)o++,s++,l++;return l&&t.components.push({count:l}),t.newPos=o,s},tokenize:function(t){return t.slice()},join:function(t){return t.slice()}};var a=new i;t.exports=function(t,e,i){return a.diff(t,e,i)}},DEFe:function(t,e,i){var n=i("bYtY"),a=i("SgGq"),r=i("Ae+d"),o=i("xSat").onIrrelevantElement,s=i("IwbS"),l=i("W4dC"),u=i("iRjW").getUID;function h(t,e){var i=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(i.fill=n),i}function c(t,e){e.eachChild(function(e){n.each(e.__regions,function(i){e.trigger(t.isSelected(i.name)?"emphasis":"normal")})})}function d(t,e){var i=new s.Group;this.uid=u("ec_map_draw"),this._controller=new a(t.getZr()),this._controllerHost={target:e?i:null},this.group=i,this._updateGroup=e,this._mouseDownFlag,this._mapName,this._initialized,i.add(this._regionsGroup=new s.Group),i.add(this._backgroundGroup=new s.Group)}d.prototype={constructor:d,draw:function(t,e,i,a,r){var o="geo"===t.mainType,l=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},function(e){l||e.getHostGeoModel()!==t||(l=e.getData())});var u=t.coordinateSystem;this._updateBackground(u);var d=this._regionsGroup,f=this.group,p=u.scale,g={position:u.position,scale:p};!d.childAt(0)||r?f.attr(g):s.updateProps(f,g,t),d.removeAll();var m=["itemStyle"],v=["emphasis","itemStyle"],y=["label"],x=["emphasis","label"],_=n.createHashMap();n.each(u.regions,function(e){var i=_.get(e.name)||_.set(e.name,new s.Group),a=new s.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});i.add(a);var r,u=(P=t.getRegionModel(e.name)||t).getModel(m),c=P.getModel(v),f=h(u),g=h(c),b=P.getModel(y),w=P.getModel(x);if(l){r=l.indexOfName(e.name);var S=l.getItemVisual(r,"color",!0);S&&(f.fill=S)}n.each(e.geometries,function(t){if("polygon"===t.type){a.shape.paths.push(new s.Polygon({segmentIgnoreThreshold:1,shape:{points:t.exterior}}));for(var e=0;e<(t.interiors?t.interiors.length:0);e++)a.shape.paths.push(new s.Polygon({segmentIgnoreThreshold:1,shape:{points:t.interiors[e]}}))}}),a.setStyle(f),a.style.strokeNoScale=!0,a.culling=!0;var M=b.get("show"),I=w.get("show"),T=l&&isNaN(l.get(l.mapDimension("value"),r)),A=l&&l.getItemLayout(r);if(o||T&&(M||I)||A&&A.showLabel){var D,C=o?e.name:r;(!l||r>=0)&&(D=t);var L=new s.Text({position:e.center.slice(),scale:[1/p[0],1/p[1]],z2:10,silent:!0});s.setLabelStyle(L.style,L.hoverStyle={},b,w,{labelFetcher:D,labelDataIndex:C,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),i.add(L)}if(l)l.setItemGraphicEl(r,i);else{var P=t.getRegionModel(e.name);a.eventData={componentType:"geo",componentIndex:t.componentIndex,geoIndex:t.componentIndex,name:e.name,region:P&&P.option||{}}}(i.__regions||(i.__regions=[])).push(e),i.highDownSilentOnTouch=!!t.get("selectedMode"),s.setHoverStyle(i,g),d.add(i)}),this._updateController(t,e,i),function(t,e,i,a,r){i.off("click"),i.off("mousedown"),e.get("selectedMode")&&(i.on("mousedown",function(){t._mouseDownFlag=!0}),i.on("click",function(o){if(t._mouseDownFlag){t._mouseDownFlag=!1;for(var s=o.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===e.mainType?"geo":"map")+"ToggleSelect",batch:n.map(s.__regions,function(t){return{name:t.name,from:r.uid}})};l[e.mainType+"Id"]=e.id,a.dispatchAction(l),c(e,i)}}}))}(this,t,d,i,a),c(t,d)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&l.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(t){var e=t.map;this._mapName!==e&&n.each(l.makeGraphic(e,this.uid),function(t){this._backgroundGroup.add(t)},this),this._mapName=e},_updateController:function(t,e,i){var a=t.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=t.get("scaleLimit"),l.zoom=a.getZoom(),s.enable(t.get("roam")||!1);var u=t.mainType;function h(){var e={type:"geoRoam",componentType:u};return e[u+"Id"]=t.id,e}s.off("pan").on("pan",function(t){this._mouseDownFlag=!1,r.updateViewOnPan(l,t.dx,t.dy),i.dispatchAction(n.extend(h(),{dx:t.dx,dy:t.dy}))},this),s.off("zoom").on("zoom",function(t){if(this._mouseDownFlag=!1,r.updateViewOnZoom(l,t.scale,t.originX,t.originY),i.dispatchAction(n.extend(h(),{zoom:t.scale,originX:t.originX,originY:t.originY})),this._updateGroup){var e=this.group.scale;this._regionsGroup.traverse(function(t){"text"===t.type&&t.attr("scale",[1/e[0],1/e[1]])})}},this),s.setPointerChecker(function(e,n,r){return a.getViewRectAfterRoam().contain(n,r)&&!o(e,i,t)})}};var f=d;t.exports=f},DN4a:function(t,e,i){var n=i("Fofx"),a=i("QBsz"),r=n.identity,o=5e-5;function s(t){return t>o||t<-o}var l=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var h=[];u.updateTransform=function(){var t=this.parent,e=t&&t.transform,i=this.needLocalTransform(),a=this.transform;if(i||e){a=a||n.create(),i?this.getLocalTransform(a):r(a),e&&(i?n.mul(a,t.transform,a):n.copy(a,t.transform)),this.transform=a;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(h);var s=h[0]<0?-1:1,l=h[1]<0?-1:1,u=((h[0]-s)*o+s)/h[0]||0,c=((h[1]-l)*o+l)/h[1]||0;a[0]*=u,a[1]*=u,a[2]*=c,a[3]*=c}this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,a)}else a&&r(a)},u.getLocalTransform=function(t){return l.getLocalTransform(this,t)},u.setTransform=function(t){var e=this.transform,i=t.dpr||1;e?t.setTransform(i*e[0],i*e[1],i*e[2],i*e[3],i*e[4],i*e[5]):t.setTransform(i,0,0,i,0,0)},u.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var c=[],d=n.create();u.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=this.position,a=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(i-1)&&(i=Math.sqrt(i)),t[0]<0&&(e=-e),t[3]<0&&(i=-i),n[0]=t[4],n[1]=t[5],a[0]=e,a[1]=i,this.rotation=Math.atan2(-t[1]/i,t[0]/e)}},u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(n.mul(c,t.invTransform,e),e=c);var i=this.origin;i&&(i[0]||i[1])&&(d[4]=i[0],d[5]=i[1],n.mul(c,e,d),c[4]-=i[0],c[5]-=i[1],e=c),this.setLocalTransform(e)}},u.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},u.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&a.applyTransform(i,i,n),i},u.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&a.applyTransform(i,i,n),i},l.getLocalTransform=function(t,e){r(e=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},Dagg:function(t,e,i){var n=i("Gev7"),a=i("mFDi"),r=i("bYtY"),o=i("Xnb7");function s(t){n.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var i=this.style,n=i.image;i.bind(t,this,e);var a=this._image=o.createOrUpdateImage(n,this._image,this,this.onload);if(a&&o.isImageReady(a)){var r=i.x||0,s=i.y||0,l=i.width,u=i.height,h=a.width/a.height;if(null==l&&null!=u?l=u*h:null==u&&null!=l?u=l/h:null==l&&null==u&&(l=a.width,u=a.height),this.setTransform(t),i.sWidth&&i.sHeight){var c=i.sx||0,d=i.sy||0;t.drawImage(a,c,d,i.sWidth,i.sHeight,r,s,l,u)}else if(i.sx&&i.sy){var f=l-(c=i.sx),p=u-(d=i.sy);t.drawImage(a,c,d,f,p,r,s,l,u)}else t.drawImage(a,r,s,l,u);null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new a(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},r.inherits(s,n);var l=s;t.exports=l},Dg8C:function(t,e,i){var n=i("XxSj"),a=i("bYtY");t.exports=function(t,e){t.eachSeriesByType("sankey",function(t){var e=t.getGraph().nodes;if(e.length){var i=1/0,r=-1/0;a.each(e,function(t){var e=t.getLayout().value;e<i&&(i=e),e>r&&(r=e)}),a.each(e,function(e){var a=new n({type:"color",mappingMethod:"linear",dataExtent:[i,r],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),o=e.getModel().get("itemStyle.color");null!=o?e.setVisual("color",o):e.setVisual("color",a)})}})}},Ducp:function(t,e,i){var n=i("bYtY"),a=i("IwbS"),r=i("+TT/"),o=i("XpcN"),s=a.Group,l=["width","height"],u=["x","y"],h=o.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){h.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){h.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,e,i,r){var o=this;h.superCall(this,"renderInner",t,e,i,r);var s=this._controllerGroup,l=e.get("pageIconSize",!0);n.isArray(l)||(l=[l,l]),c("pagePrev",0);var u=e.getModel("pageTextStyle");function c(t,i){var u=t+"DataIndex",h=a.createIcon(e.get("pageIcons",!0)[e.getOrient().name][i],{onclick:n.bind(o._pageGo,o,u,e,r)},{x:-l[0]/2,y:-l[1]/2,width:l[0],height:l[1]});h.name=t,s.add(h)}s.add(new a.Text({name:"pageText",style:{textFill:u.getTextColor(),font:u.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),c("pageNext",1)},layoutInner:function(t,e,i,o){var s=this.getContentGroup(),h=this._containerGroup,c=this._controllerGroup,d=t.getOrient().index,f=l[d],p=l[1-d],g=u[1-d];r.box(t.get("orient"),s,t.get("itemGap"),d?i.width:null,d?null:i.height),r.box("horizontal",c,t.get("pageButtonItemGap",!0));var m=s.getBoundingRect(),v=c.getBoundingRect(),y=this._showController=m[f]>i[f],x=[-m.x,-m.y];o||(x[d]=s.position[d]);var _=[0,0],b=[-v.x,-v.y],w=n.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));y&&("end"===t.get("pageButtonPosition",!0)?b[d]+=i[f]-v[f]:_[d]+=v[f]+w);b[1-d]+=m[p]/2-v[p]/2,s.attr("position",x),h.attr("position",_),c.attr("position",b);var S=this.group.getBoundingRect();if((S={x:0,y:0})[f]=y?i[f]:m[f],S[p]=Math.max(m[p],v[p]),S[g]=Math.min(0,v[g]+b[1-d]),h.__rectSize=i[f],y){var M={x:0,y:0};M[f]=Math.max(i[f]-v[f]-w,0),M[p]=S[p],h.setClipPath(new a.Rect({shape:M})),h.__rectSize=M[f]}else c.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var I=this._getPageInfo(t);return null!=I.pageIndex&&a.updateProps(s,{position:I.contentPosition},!!y&&t),this._updatePageInfoView(t,I),S},_pageGo:function(t,e,i){var n=this._getPageInfo(e)[t];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:e.id})},_updatePageInfoView:function(t,e){var i=this._controllerGroup;n.each(["pagePrev","pageNext"],function(n){var a=null!=e[n+"DataIndex"],r=i.childOfName(n);r&&(r.setStyle("fill",a?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),r.cursor=a?"pointer":"default")});var a=i.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,s=null!=o?o+1:0,l=e.pageCount;a&&r&&a.setStyle("text",n.isString(r)?r.replace("{current}",s).replace("{total}",l):r({current:s,total:l}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,a=t.getOrient().index,r=l[a],o=u[a],s=this._findTargetItemIndex(e),h=i.children(),c=h[s],d=h.length,f=d?1:0,p={contentPosition:i.position.slice(),pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return p;var g=_(c);p.contentPosition[a]=-g.s;for(var m=s+1,v=g,y=g,x=null;m<=d;++m)(!(x=_(h[m]))&&y.e>v.s+n||x&&!b(x,v.s))&&(v=y.i>v.i?y:x)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=v.i),++p.pageCount),y=x;for(m=s-1,v=g,y=g,x=null;m>=-1;--m)(x=_(h[m]))&&b(y,x.s)||!(v.i<y.i)||(y=v,null==p.pagePrevDataIndex&&(p.pagePrevDataIndex=v.i),++p.pageCount,++p.pageIndex),v=x;return p;function _(t){if(t){var e=t.getBoundingRect(),i=e[o]+t.position[a];return{s:i,e:i+e[r],i:t.__legendDataIndex}}}function b(t,e){return t.e>=e&&t.s<=e+n}},_findTargetItemIndex:function(t){var e,i,n=this.getContentGroup();return this._showController&&n.eachChild(function(n,a){var r=n.__legendDataIndex;null==i&&null!=r&&(i=a),r===t&&(e=a)}),null!=e?e:i}}),c=h;t.exports=c},EMyp:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("mFDi"),o=i("K4ya"),s=i("qJCg"),l=i("iLNv"),u=i("vZ6x"),h=["inBrush","outOfBrush"],c="__ecBrushSelect",d="__ecInBrushSelectEvent",f=n.PRIORITY.VISUAL.BRUSH;function p(t,e){if(!t.isDisposed()){var i=t.getZr();i[d]=!0,t.dispatchAction({type:"brushSelect",batch:e}),i[d]=!1}}function g(t,e,i,n){for(var a=0,r=e.length;a<r;a++){var o=e[a];if(t[o.brushType](n,i,o.selectors,o))return!0}}function m(t){var e=t.brushSelector;if(a.isString(e)){var i=[];return a.each(s,function(t,n){i[n]=function(i,n,a,r){var o=n.getItemLayout(i);return t[e](o,a,r)}}),i}if(a.isFunction(e)){var n={};return a.each(s,function(t,i){n[i]=e}),n}return e}n.registerLayout(f,function(t,e,i){t.eachComponent({mainType:"brush"},function(e){i&&"takeGlobalCursor"===i.type&&e.setBrushOption("brush"===i.key?i.brushOption:{brushType:!1}),(e.brushTargetManager=new u(e.option,t)).setInputRanges(e.areas,t)})}),n.registerVisual(f,function(t,e,i){var n,r,u=[];t.eachComponent({mainType:"brush"},function(e,i){var l={brushId:e.id,brushIndex:i,brushName:e.name,areas:a.clone(e.areas),selected:[]};u.push(l);var c=e.option,d=c.brushLink,f=[],p=[],y=[],x=0;i||(n=c.throttleType,r=c.throttleDelay);var _=a.map(e.areas,function(t){return function(t){var e=t.selectors={};return a.each(s[t.brushType],function(i,n){e[n]=function(n){return i(n,e,t)}}),t}(a.defaults({boundingRect:v[t.brushType](t)},t))}),b=o.createVisualMappings(e.option,h,function(t){t.mappingMethod="fixed"});function w(t){return"all"===d||f[t]}function S(t){return!!t.length}a.isArray(d)&&a.each(d,function(t){f[t]=1}),t.eachSeries(function(i,n){var r=y[n]=[];"parallel"===i.subType?function(t,e){var i=t.coordinateSystem;x|=i.hasAxisBrushed(),w(e)&&i.eachActiveState(t.getData(),function(t,e){"active"===t&&(p[e]=1)})}(i,n):function(i,n,r){var o=m(i);if(!o||function(t,e){var i=t.option.seriesIndex;return null!=i&&"all"!==i&&(a.isArray(i)?a.indexOf(i,e)<0:e!==i)}(e,n))return;if(a.each(_,function(n){o[n.brushType]&&e.brushTargetManager.controlSeries(n,i,t)&&r.push(n),x|=S(r)}),w(n)&&S(r)){var s=i.getData();s.each(function(t){g(o,r,s,t)&&(p[t]=1)})}}(i,n,r)}),t.eachSeries(function(t,e){var i={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};l.selected.push(i);var n=m(t),a=y[e],r=t.getData(),s=w(e)?function(t){return p[t]?(i.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(t){return g(n,a,r,t)?(i.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"};(w(e)?x:S(a))&&o.applyVisual(h,b,r,s)})}),function(t,e,i,n,a){if(!a)return;var r=t.getZr();if(r[d])return;r[c]||(r[c]=p);l.createOrUpdate(r,c,i,e)(t,n)}(e,n,r,u,i)});var v={lineX:a.noop,lineY:a.noop,rect:function(t){return y(t.range)},polygon:function(t){for(var e,i=t.range,n=0,a=i.length;n<a;n++){e=e||[[1/0,-1/0],[1/0,-1/0]];var r=i[n];r[0]<e[0][0]&&(e[0][0]=r[0]),r[0]>e[0][1]&&(e[0][1]=r[0]),r[1]<e[1][0]&&(e[1][0]=r[1]),r[1]>e[1][1]&&(e[1][1]=r[1])}return e&&y(e)}};function y(t){return new r(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}},ERHi:function(t,e,i){var n=i("ProS");i("Z6js"),i("R4Th");var a=i("f5Yq"),r=i("h8O9");n.registerVisual(a("effectScatter","circle")),n.registerLayout(r("effectScatter"))},Ez2D:function(t,e,i){var n=i("bYtY"),a=i("4NO4");t.exports=function(t,e){var i,r=[],o=t.seriesIndex;if(null==o||!(i=e.getSeriesByIndex(o)))return{point:[]};var s=i.getData(),l=a.queryDataIndex(s,t);if(null==l||l<0||n.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),h=i.coordinateSystem;if(i.getTooltipPosition)r=i.getTooltipPosition(l)||[];else if(h&&h.dataToPoint)r=h.dataToPoint(s.getValues(n.map(h.dimensions,function(t){return s.mapDimension(t)}),l,!0))||[];else if(u){var c=u.getBoundingRect().clone();c.applyTransform(u.transform),r=[c.x+c.width/2,c.y+c.height/2]}return{point:r,el:u}}},F0hE:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("ca2m"),o=i("Qxkt"),s=i("ICMv"),l=r.valueAxis;function u(t,e){return a.defaults({show:e},t)}var h=n.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),i=this.get("scale"),n=this.get("axisLine"),r=this.get("axisTick"),l=this.get("axisLabel"),u=this.get("name"),h=this.get("name.show"),c=this.get("name.formatter"),d=this.get("nameGap"),f=this.get("triggerEvent"),p=a.map(this.get("indicator")||[],function(p){null!=p.max&&p.max>0&&!p.min?p.min=0:null!=p.min&&p.min<0&&!p.max&&(p.max=0);var g=u;if(null!=p.color&&(g=a.defaults({color:p.color},u)),p=a.merge(a.clone(p),{boundaryGap:t,splitNumber:e,scale:i,axisLine:n,axisTick:r,axisLabel:l,name:p.text,nameLocation:"end",nameGap:d,nameTextStyle:g,triggerEvent:f},!1),h||(p.name=""),"string"==typeof c){var m=p.name;p.name=c.replace("{value}",null!=m?m:"")}else"function"==typeof c&&(p.name=c(p.name,p));var v=a.extend(new o(p,null,this.ecModel),s);return v.mainType="radar",v.componentIndex=this.componentIndex,v},this);this.getIndicatorModels=function(){return p}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:a.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}});t.exports=h},F5Ls:function(t,e){var i={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};t.exports=function(t,e){if("china"===t){var n=i[e.name];if(n){var a=e.center;a[0]+=n[0]/10.5,a[1]+=-n[1]/14}}}},F7hV:function(t,e,i){var n=i("MBQ8").extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t}});t.exports=n},F9bG:function(t,e,i){var n=i("bYtY"),a=i("ItGF"),r=(0,i("4NO4").makeInner)(),o=n.each;function s(t,e,i){t.handler("leave",null,i)}function l(t,e,i,n){e.handler(t,i,n)}e.register=function(t,e,i){if(!a.node){var u=e.getZr();r(u).records||(r(u).records={}),function(t,e){function i(i,n){t.on(i,function(i){var a=function(t){var e={showTip:[],hideTip:[]},i=function(n){var a=e[n.type];a?a.push(n):(n.dispatchAction=i,t.dispatchAction(n))};return{dispatchAction:i,pendings:e}}(e);o(r(t).records,function(t){t&&n(t,i,a.dispatchAction)}),function(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))}(a.pendings,e)})}r(t).initialized||(r(t).initialized=!0,i("click",n.curry(l,"click")),i("mousemove",n.curry(l,"mousemove")),i("globalout",s))}(u,e),(r(u).records[t]||(r(u).records[t]={})).handler=i}},e.unregister=function(t,e){if(!a.node){var i=e.getZr();(r(i).records||{})[t]&&(r(i).records[t]=null)}}},FBjb:function(t,e,i){var n=i("bYtY"),a=i("oVpE").createSymbol,r=i("IwbS"),o=i("OELB").parsePercent,s=i("x3X8").getDefaultLabel;function l(t,e,i){r.Group.call(this),this.updateData(t,e,i)}var u=l.prototype,h=l.getSymbolSize=function(t,e){var i=t.getItemVisual(e,"symbolSize");return i instanceof Array?i.slice():[+i,+i]};function c(t){return[t[0]/2,t[1]/2]}function d(t,e){this.parent.drift(t,e)}u._createSymbol=function(t,e,i,n,r){this.removeAll();var o=e.getItemVisual(i,"color"),s=a(t,-1,-1,2,2,o,r);s.attr({z2:100,culling:!0,scale:c(n)}),s.drift=d,this._symbolType=t,this.add(s)},u.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},u.getSymbolPath=function(){return this.childAt(0)},u.getScale=function(){return this.childAt(0).scale},u.highlight=function(){this.childAt(0).trigger("emphasis")},u.downplay=function(){this.childAt(0).trigger("normal")},u.setZ=function(t,e){var i=this.childAt(0);i.zlevel=t,i.z=e},u.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},u.updateData=function(t,e,i){this.silent=!1;var n=t.getItemVisual(e,"symbol")||"circle",a=t.hostModel,o=h(t,e),s=n!==this._symbolType;if(s){var l=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(n,t,e,o,l)}else{(u=this.childAt(0)).silent=!1,r.updateProps(u,{scale:c(o)},a,e)}if(this._updateCommon(t,e,o,i),s){var u=this.childAt(0),d=i&&i.fadeIn,f={scale:u.scale.slice()};d&&(f.style={opacity:u.style.opacity}),u.scale=[0,0],d&&(u.style.opacity=0),r.initProps(u,f,a,e)}this._seriesModel=a};var f=["itemStyle"],p=["emphasis","itemStyle"],g=["label"],m=["emphasis","label"];function v(t,e){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===e){var i=this.__symbolOriginalScale,n=i[1]/i[0],a={scale:[Math.max(1.1*i[0],i[0]+3),Math.max(1.1*i[1],i[1]+3*n)]};this.animateTo(a,400,"elasticOut")}else"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}u._updateCommon=function(t,e,i,a){var l=this.childAt(0),u=t.hostModel,h=t.getItemVisual(e,"color");"image"!==l.type&&l.useStyle({strokeNoScale:!0});var d=a&&a.itemStyle,y=a&&a.hoverItemStyle,x=a&&a.symbolRotate,_=a&&a.symbolOffset,b=a&&a.labelModel,w=a&&a.hoverLabelModel,S=a&&a.hoverAnimation,M=a&&a.cursorStyle;if(!a||t.hasItemOption){var I=a&&a.itemModel?a.itemModel:t.getItemModel(e);d=I.getModel(f).getItemStyle(["color"]),y=I.getModel(p).getItemStyle(),x=I.getShallow("symbolRotate"),_=I.getShallow("symbolOffset"),b=I.getModel(g),w=I.getModel(m),S=I.getShallow("hoverAnimation"),M=I.getShallow("cursor")}else y=n.extend({},y);var T=l.style;l.attr("rotation",(x||0)*Math.PI/180||0),_&&l.attr("position",[o(_[0],i[0]),o(_[1],i[1])]),M&&l.attr("cursor",M),l.setColor(h,a&&a.symbolInnerColor),l.setStyle(d);var A=t.getItemVisual(e,"opacity");null!=A&&(T.opacity=A);var D=t.getItemVisual(e,"liftZ"),C=l.__z2Origin;null!=D?null==C&&(l.__z2Origin=l.z2,l.z2+=D):null!=C&&(l.z2=C,l.__z2Origin=null);var L=a&&a.useNameLabel;r.setLabelStyle(T,y,b,w,{labelFetcher:u,labelDataIndex:e,defaultText:function(e,i){return L?t.getName(e):s(t,e)},isRectText:!0,autoColor:h}),l.__symbolOriginalScale=c(i),l.hoverStyle=y,l.highDownOnUpdate=S&&u.isAnimationEnabled()?v:null,r.setHoverStyle(l)},u.fadeOut=function(t,e){var i=this.childAt(0);this.silent=i.silent=!0,(!e||!e.keepLabel)&&(i.style.text=null),r.updateProps(i,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},n.inherits(l,r.Group);var y=l;t.exports=y},FGaS:function(t,e,i){var n=i("ProS"),a=i("IwbS"),r=i("bYtY"),o=i("oVpE");var s=n.extendChartView({type:"radar",render:function(t,e,i){var n=t.coordinateSystem,s=this.group,l=t.getData(),u=this._data;function h(t,e){var i=t.getItemVisual(e,"symbol")||"circle",n=t.getItemVisual(e,"color");if("none"!==i){var a=function(t){return r.isArray(t)||(t=[+t,+t]),t}(t.getItemVisual(e,"symbolSize")),s=o.createSymbol(i,-1,-1,2,2,n);return s.attr({style:{strokeNoScale:!0},z2:100,scale:[a[0]/2,a[1]/2]}),s}}function c(e,i,n,r,o,s){n.removeAll();for(var l=0;l<i.length-1;l++){var u=h(r,o);u&&(u.__dimIdx=l,e[l]?(u.attr("position",e[l]),a[s?"initProps":"updateProps"](u,{position:i[l]},t,o)):u.attr("position",i[l]),n.add(u))}}function d(t){return r.map(t,function(t){return[n.cx,n.cy]})}l.diff(u).add(function(e){var i=l.getItemLayout(e);if(i){var n=new a.Polygon,r=new a.Polyline,o={shape:{points:i}};n.shape.points=d(i),r.shape.points=d(i),a.initProps(n,o,t,e),a.initProps(r,o,t,e);var s=new a.Group,u=new a.Group;s.add(r),s.add(n),s.add(u),c(r.shape.points,i,u,l,e,!0),l.setItemGraphicEl(e,s)}}).update(function(e,i){var n=u.getItemGraphicEl(i),r=n.childAt(0),o=n.childAt(1),s=n.childAt(2),h={shape:{points:l.getItemLayout(e)}};h.shape.points&&(c(r.shape.points,h.shape.points,s,l,e,!1),a.updateProps(r,h,t),a.updateProps(o,h,t),l.setItemGraphicEl(e,n))}).remove(function(t){s.remove(u.getItemGraphicEl(t))}).execute(),l.eachItemGraphicEl(function(t,e){var i=l.getItemModel(e),n=t.childAt(0),o=t.childAt(1),u=t.childAt(2),h=l.getItemVisual(e,"color");s.add(t),n.useStyle(r.defaults(i.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:h})),n.hoverStyle=i.getModel("emphasis.lineStyle").getLineStyle();var c=i.getModel("areaStyle"),d=i.getModel("emphasis.areaStyle"),f=c.isEmpty()&&c.parentModel.isEmpty(),p=d.isEmpty()&&d.parentModel.isEmpty();p=p&&f,o.ignore=f,o.useStyle(r.defaults(c.getAreaStyle(),{fill:h,opacity:.7})),o.hoverStyle=d.getAreaStyle();var g=i.getModel("itemStyle").getItemStyle(["color"]),m=i.getModel("emphasis.itemStyle").getItemStyle(),v=i.getModel("label"),y=i.getModel("emphasis.label");u.eachChild(function(t){t.setStyle(g),t.hoverStyle=r.clone(m);var i=l.get(l.dimensions[t.__dimIdx],e);(null==i||isNaN(i))&&(i=""),a.setLabelStyle(t.style,t.hoverStyle,v,y,{labelFetcher:l.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:i,autoColor:h,isRectText:!0})}),t.highDownOnUpdate=function(t,e){o.attr("ignore","emphasis"===e?p:f)},a.setHoverStyle(t)}),this._data=l},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=s},FNN5:function(t,e,i){var n=i("bYtY"),a=i("IwbS"),r=i("+rIm"),o=["axisLine","axisTickLabel","axisName"],s=["splitLine","splitArea"],l=i("Znkb").extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,a=i.polar,l=a.getAngleAxis(),u=i.getTicksCoords(),h=l.getExtent()[0],c=i.getExtent(),d=function(t,e,i){return{position:[t.cx,t.cy],rotation:i/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}(a,t,h),f=new r(t,d);n.each(o,f.add,f),this.group.add(f.getGroup()),n.each(s,function(e){t.get(e+".show")&&!i.scale.isBlank()&&this["_"+e](t,a,h,c,u)},this)}},_splitLine:function(t,e,i,r,o){var s=t.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var h=[],c=0;c<o.length;c++){var d=u++%l.length;h[d]=h[d]||[],h[d].push(new a.Circle({shape:{cx:e.cx,cy:e.cy,r:o[c].coord},silent:!0}))}for(c=0;c<h.length;c++)this.group.add(a.mergePath(h[c],{style:n.defaults({stroke:l[c%l.length],fill:null},s.getLineStyle()),silent:!0}))},_splitArea:function(t,e,i,r,o){if(o.length){var s=t.getModel("splitArea").getModel("areaStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var h=[],c=o[0].coord,d=1;d<o.length;d++){var f=u++%l.length;h[f]=h[f]||[],h[f].push(new a.Sector({shape:{cx:e.cx,cy:e.cy,r0:c,r:o[d].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),c=o[d].coord}for(d=0;d<h.length;d++)this.group.add(a.mergePath(h[d],{style:n.defaults({fill:l[d%l.length]},s.getAreaStyle()),silent:!0}))}}});t.exports=l},FUi9:function(t,e,i){var n=i("bYtY"),a=i("MwEJ"),r=i("aX7z"),o=i("ICMv"),s=i("Qxkt"),l=i("+TT/");l.getLayoutRect;e.getLayoutRect=l.getLayoutRect;var u=i("7hqr"),h=u.enableDataStack,c=u.isDimensionStacked,d=u.getStackedDimension,f=i("hi0g");e.completeDimensions=f;var p=i("sdST");e.createDimensions=p;var g=i("oVpE");e.createSymbol=g.createSymbol;var m={isDimensionStacked:c,enableDataStack:h,getStackedDimension:d};e.createList=function(t){return a(t.getSource(),t)},e.dataStack=m,e.createScale=function(t,e){var i=e;s.isInstance(e)||(i=new s(e),n.mixin(i,o));var a=r.createScaleByModel(i);return a.setExtent(t[0],t[1]),r.niceScaleExtent(a,i),a},e.mixinAxisModelCommonMethods=function(t){n.mixin(t,o)}},"Fa/5":function(t,e,i){var n=i("ProS");i("y2l5"),i("q/+u");var a=i("f5Yq"),r=i("h8O9");i("Ae16"),n.registerVisual(a("scatter","circle")),n.registerLayout(r("scatter"))},Fofx:function(t,e){var i="undefined"==typeof Float32Array?Array:Float32Array;function n(){var t=new i(6);return a(t),t}function a(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function r(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}e.create=n,e.identity=a,e.copy=r,e.mul=function(t,e,i){var n=e[0]*i[0]+e[2]*i[1],a=e[1]*i[0]+e[3]*i[1],r=e[0]*i[2]+e[2]*i[3],o=e[1]*i[2]+e[3]*i[3],s=e[0]*i[4]+e[2]*i[5]+e[4],l=e[1]*i[4]+e[3]*i[5]+e[5];return t[0]=n,t[1]=a,t[2]=r,t[3]=o,t[4]=s,t[5]=l,t},e.translate=function(t,e,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+i[0],t[5]=e[5]+i[1],t},e.rotate=function(t,e,i){var n=e[0],a=e[2],r=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(i),h=Math.cos(i);return t[0]=n*h+o*u,t[1]=-n*u+o*h,t[2]=a*h+s*u,t[3]=-a*u+h*s,t[4]=h*r+u*l,t[5]=h*l-u*r,t},e.scale=function(t,e,i){var n=i[0],a=i[1];return t[0]=e[0]*n,t[1]=e[1]*a,t[2]=e[2]*n,t[3]=e[3]*a,t[4]=e[4]*n,t[5]=e[5]*a,t},e.invert=function(t,e){var i=e[0],n=e[2],a=e[4],r=e[1],o=e[3],s=e[5],l=i*o-r*n;return l?(l=1/l,t[0]=o*l,t[1]=-r*l,t[2]=-n*l,t[3]=i*l,t[4]=(n*s-o*a)*l,t[5]=(r*a-i*s)*l,t):null},e.clone=function(t){var e=n();return r(e,t),e}},GMDS:function(t,e,i){var n=i("bYtY"),a=i("4NgU"),r=i("jkPA"),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(){for(var t=[],e=this._extent,i=e[0];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},GVMX:function(t,e,i){var n=i("JEkh").extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end"},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});t.exports=n},GeKi:function(t,e,i){var n=i("bYtY"),a=i("6Ic6"),r=i("IwbS"),o=i("y+Vt"),s=["itemStyle"],l=["emphasis","itemStyle"],u=["color","color0","borderColor","borderColor0"],h=a.extend({type:"candlestick",render:function(t,e,i){this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},incrementalPrepareRender:function(t,e,i){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,i,n){this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t){var e=t.getData(),i=this._data,n=this.group,a=e.getLayout("isSimpleBox");this._data||n.removeAll(),e.diff(i).add(function(i){if(e.hasValue(i)){var o,s=e.getItemLayout(i);o=d(s,i,!0),r.initProps(o,{shape:{points:s.ends}},t,i),f(o,e,i,a),n.add(o),e.setItemGraphicEl(i,o)}}).update(function(o,s){var l=i.getItemGraphicEl(s);if(e.hasValue(o)){var u=e.getItemLayout(o);l?r.updateProps(l,{shape:{points:u.ends}},t,o):l=d(u,o),f(l,e,o,a),n.add(l),e.setItemGraphicEl(o,l)}else n.remove(l)}).remove(function(t){var e=i.getItemGraphicEl(t);e&&n.remove(e)}).execute(),this._data=e},_renderLarge:function(t){this._clear(),g(t,this.group)},_incrementalRenderNormal:function(t,e){for(var i,n=e.getData(),a=n.getLayout("isSimpleBox");null!=(i=t.next());){var r;f(r=d(n.getItemLayout(i),i),n,i,a),r.incremental=!0,this.group.add(r)}},_incrementalRenderLarge:function(t,e){g(e,this.group,!0)},remove:function(t){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:n.noop}),c=o.extend({type:"normalCandlestickBox",shape:{},buildPath:function(t,e){var i=e.points;this.__simpleBox?(t.moveTo(i[4][0],i[4][1]),t.lineTo(i[6][0],i[6][1])):(t.moveTo(i[0][0],i[0][1]),t.lineTo(i[1][0],i[1][1]),t.lineTo(i[2][0],i[2][1]),t.lineTo(i[3][0],i[3][1]),t.closePath(),t.moveTo(i[4][0],i[4][1]),t.lineTo(i[5][0],i[5][1]),t.moveTo(i[6][0],i[6][1]),t.lineTo(i[7][0],i[7][1]))}});function d(t,e,i){var a=t.ends;return new c({shape:{points:i?function(t,e){return n.map(t,function(t){return(t=t.slice())[1]=e.initBaseline,t})}(a,t):a},z2:100})}function f(t,e,i,n){var a=e.getItemModel(i),o=a.getModel(s),h=e.getItemVisual(i,"color"),c=e.getItemVisual(i,"borderColor")||h,d=o.getItemStyle(u);t.useStyle(d),t.style.strokeNoScale=!0,t.style.fill=h,t.style.stroke=c,t.__simpleBox=n;var f=a.getModel(l).getItemStyle();r.setHoverStyle(t,f)}var p=o.extend({type:"largeCandlestickBox",shape:{},buildPath:function(t,e){for(var i=e.points,n=0;n<i.length;)if(this.__sign===i[n++]){var a=i[n++];t.moveTo(a,i[n++]),t.lineTo(a,i[n++])}else n+=3}});function g(t,e,i){var n=t.getData(),a=n.getLayout("largePoints"),r=new p({shape:{points:a},__sign:1});e.add(r);var o=new p({shape:{points:a},__sign:-1});e.add(o),m(1,r,t,n),m(-1,o,t,n),i&&(r.incremental=!0,o.incremental=!0)}function m(t,e,i,n){var a=t>0?"P":"N",r=n.getVisual("borderColor"+a)||n.getVisual("color"+a),o=i.getModel(s).getItemStyle(u);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var v=h;t.exports=v},Gev7:function(t,e,i){var n=i("bYtY"),a=i("K2GJ"),r=i("1bdT"),o=i("ni6a");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);return this.getBoundingRect().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},GrNh:function(t,e,i){var n=i("bYtY"),a=i("IwbS"),r=i("6Ic6");function o(t,e,i,n){var a=e.getData(),r=this.dataIndex,o=a.getName(r),l=e.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:t,name:o,seriesId:e.id}),a.each(function(t){s(a.getItemGraphicEl(t),a.getItemLayout(t),e.isSelected(a.getName(t)),l,i)})}function s(t,e,i,n,a){var r=(e.startAngle+e.endAngle)/2,o=Math.cos(r),s=Math.sin(r),l=i?n:0,u=[o*l,s*l];a?t.animate().when(200,{position:u}).start("bounceOut"):t.attr("position",u)}function l(t,e){a.Group.call(this);var i=new a.Sector({z2:2}),n=new a.Polyline,r=new a.Text;this.add(i),this.add(n),this.add(r),this.updateData(t,e,!0)}var u=l.prototype;u.updateData=function(t,e,i){var r=this.childAt(0),o=this.childAt(1),l=this.childAt(2),u=t.hostModel,h=t.getItemModel(e),c=t.getItemLayout(e),d=n.extend({},c);(d.label=null,i)?(r.setShape(d),"scale"===u.getShallow("animationType")?(r.shape.r=c.r0,a.initProps(r,{shape:{r:c.r}},u,e)):(r.shape.endAngle=c.startAngle,a.updateProps(r,{shape:{endAngle:c.endAngle}},u,e))):a.updateProps(r,{shape:d},u,e);var f=t.getItemVisual(e,"color");r.useStyle(n.defaults({lineJoin:"bevel",fill:f},h.getModel("itemStyle").getItemStyle())),r.hoverStyle=h.getModel("emphasis.itemStyle").getItemStyle();var p=h.getShallow("cursor");p&&r.attr("cursor",p),s(this,t.getItemLayout(e),u.isSelected(null,e),u.get("selectedOffset"),u.get("animation")),this._updateLabel(t,e),this.highDownOnUpdate=h.get("hoverAnimation")&&u.isAnimationEnabled()?function(t,e){"emphasis"===e?(o.ignore=o.hoverIgnore,l.ignore=l.hoverIgnore,r.stopAnimation(!0),r.animateTo({shape:{r:c.r+u.get("hoverOffset")}},300,"elasticOut")):(o.ignore=o.normalIgnore,l.ignore=l.normalIgnore,r.stopAnimation(!0),r.animateTo({shape:{r:c.r}},300,"elasticOut"))}:null,a.setHoverStyle(this)},u._updateLabel=function(t,e){var i=this.childAt(1),n=this.childAt(2),r=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"color");if(!s||isNaN(s.x)||isNaN(s.y))n.ignore=n.normalIgnore=n.hoverIgnore=i.ignore=i.normalIgnore=i.hoverIgnore=!0;else{a.updateProps(i,{shape:{points:s.linePoints||[[s.x,s.y],[s.x,s.y],[s.x,s.y]]}},r,e),a.updateProps(n,{style:{x:s.x,y:s.y}},r,e),n.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=o.getModel("label"),h=o.getModel("emphasis.label"),c=o.getModel("labelLine"),d=o.getModel("emphasis.labelLine");l=t.getItemVisual(e,"color");a.setLabelStyle(n.style,n.hoverStyle={},u,h,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),n.ignore=n.normalIgnore=!u.get("show"),n.hoverIgnore=!h.get("show"),i.ignore=i.normalIgnore=!c.get("show"),i.hoverIgnore=!d.get("show"),i.setStyle({stroke:l,opacity:t.getItemVisual(e,"opacity")}),i.setStyle(c.getModel("lineStyle").getLineStyle()),i.hoverStyle=d.getModel("lineStyle").getLineStyle();var f=c.get("smooth");f&&!0===f&&(f=.4),i.setShape({smooth:f})}},n.inherits(l,a.Group);var h=r.extend({type:"pie",init:function(){var t=new a.Group;this._sectorGroup=t},render:function(t,e,i,a){if(!a||a.from!==this.uid){var r=t.getData(),s=this._data,u=this.group,h=e.get("animation"),c=!s,d=t.get("animationType"),f=n.curry(o,this.uid,t,h,i),p=t.get("selectedMode");if(r.diff(s).add(function(t){var e=new l(r,t);c&&"scale"!==d&&e.eachChild(function(t){t.stopAnimation(!0)}),p&&e.on("click",f),r.setItemGraphicEl(t,e),u.add(e)}).update(function(t,e){var i=s.getItemGraphicEl(e);i.updateData(r,t),i.off("click"),p&&i.on("click",f),u.add(i),r.setItemGraphicEl(t,i)}).remove(function(t){var e=s.getItemGraphicEl(t);u.remove(e)}).execute(),h&&c&&r.count()>0&&"scale"!==d){for(var g=r.getItemLayout(0),m=1;isNaN(g.startAngle)&&m<r.count();++m)g=r.getItemLayout(m);var v=Math.max(i.getWidth(),i.getHeight())/2,y=n.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(g.cx,g.cy,v,g.startAngle,g.clockwise,y,t))}else u.removeClipPath();this._data=r}},dispose:function(){},_createClipPath:function(t,e,i,n,r,o,s){var l=new a.Sector({shape:{cx:t,cy:e,r0:0,r:i,startAngle:n,endAngle:n,clockwise:r}});return a.initProps(l,{shape:{endAngle:n+(r?1:-1)*Math.PI*2}},s,o),l},containPoint:function(t,e){var i=e.getData().getItemLayout(0);if(i){var n=t[0]-i.cx,a=t[1]-i.cy,r=Math.sqrt(n*n+a*a);return r<=i.r&&r>=i.r0}}});t.exports=h},H6uX:function(t,e){var i=Array.prototype.slice,n=function(t){this._$handlers={},this._$eventProcessor=t};function a(t,e,i,n,a,r){var o=t._$handlers;if("function"==typeof i&&(a=n,n=i,i=null),!n||!e)return t;i=function(t,e){var i=t._$eventProcessor;return null!=e&&i&&i.normalizeQuery&&(e=i.normalizeQuery(e)),e}(t,i),o[e]||(o[e]=[]);for(var s=0;s<o[e].length;s++)if(o[e][s].h===n)return t;var l={h:n,one:r,query:i,ctx:a||t,callAtLast:n.zrEventfulCallAtLast},u=o[e].length-1,h=o[e][u];return h&&h.callAtLast?o[e].splice(u,0,l):o[e].push(l),t}n.prototype={constructor:n,one:function(t,e,i,n){return a(this,t,e,i,n,!0)},on:function(t,e,i,n){return a(this,t,e,i,n,!1)},isSilent:function(t){var e=this._$handlers;return!e[t]||!e[t].length},off:function(t,e){var i=this._$handlers;if(!t)return this._$handlers={},this;if(e){if(i[t]){for(var n=[],a=0,r=i[t].length;a<r;a++)i[t][a].h!==e&&n.push(i[t][a]);i[t]=n}i[t]&&0===i[t].length&&delete i[t]}else delete i[t];return this},trigger:function(t){var e=this._$handlers[t],n=this._$eventProcessor;if(e){var a=arguments,r=a.length;r>3&&(a=i.call(a,1));for(var o=e.length,s=0;s<o;){var l=e[s];if(n&&n.filter&&null!=l.query&&!n.filter(t,l.query))s++;else{switch(r){case 1:l.h.call(l.ctx);break;case 2:l.h.call(l.ctx,a[1]);break;case 3:l.h.call(l.ctx,a[1],a[2]);break;default:l.h.apply(l.ctx,a)}l.one?(e.splice(s,1),o--):s++}}}return n&&n.afterTrigger&&n.afterTrigger(t),this},triggerWithContext:function(t){var e=this._$handlers[t],n=this._$eventProcessor;if(e){var a=arguments,r=a.length;r>4&&(a=i.call(a,1,a.length-1));for(var o=a[a.length-1],s=e.length,l=0;l<s;){var u=e[l];if(n&&n.filter&&null!=u.query&&!n.filter(t,u.query))l++;else{switch(r){case 1:u.h.call(o);break;case 2:u.h.call(o,a[1]);break;case 3:u.h.call(o,a[1],a[2]);break;default:u.h.apply(o,a)}u.one?(e.splice(l,1),s--):l++}}}return n&&n.afterTrigger&&n.afterTrigger(t),this}};var r=n;t.exports=r},"HF/U":function(t,e,i){var n=i("QBsz");function a(t){t.eachEdge(function(t){var e=t.getModel().get("lineStyle.curveness")||0,i=n.clone(t.node1.getLayout()),a=n.clone(t.node2.getLayout()),r=[i,a];+e&&r.push([(i[0]+a[0])/2-(i[1]-a[1])*e,(i[1]+a[1])/2-(a[0]-i[0])*e]),t.setLayout(r)})}e.simpleLayout=function(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var i=t.getGraph();i.eachNode(function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])}),a(i)}},e.simpleLayoutEdge=a},"HM/N":function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=i("/SeX"),r=i("OELB").parsePercent,o=i("aX7z"),s=o.createScaleByModel,l=o.niceScaleExtent,u=i("IDmD"),h=i("7hqr").getStackedDimension;function c(t,e){var i=this,a=i.getAngleAxis(),r=i.getRadiusAxis();if(a.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===i){var e=t.getData();n.each(e.mapDimension("radius",!0),function(t){r.scale.unionExtentFromData(e,h(e,t))}),n.each(e.mapDimension("angle",!0),function(t){a.scale.unionExtentFromData(e,h(e,t))})}}),l(a.scale,a.model),l(r.scale,r.model),"category"===a.type&&!a.onBand){var o=a.getExtent(),s=360/a.scale.count();a.inverse?o[1]+=s:o[1]-=s,a.setExtent(o[0],o[1])}}function d(t,e){if(t.type=e.get("type"),t.scale=s(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var i=e.get("startAngle");t.setExtent(i,i+(t.inverse?-360:360))}e.axis=t,t.model=e}i("ePAk");var f={dimensions:a.prototype.dimensions,create:function(t,e){var i=[];return t.eachComponent("polar",function(t,n){var o=new a(n);o.update=c;var s=o.getRadiusAxis(),l=o.getAngleAxis(),u=t.findAxisModel("radiusAxis"),h=t.findAxisModel("angleAxis");d(s,u),d(l,h),function(t,e,i){var n=e.get("center"),a=i.getWidth(),o=i.getHeight();t.cx=r(n[0],a),t.cy=r(n[1],o);var s=t.getRadiusAxis(),l=Math.min(a,o)/2,u=r(e.get("radius"),l);s.inverse?s.setExtent(u,0):s.setExtent(0,u)}(o,t,e),i.push(o),t.coordinateSystem=o,o.model=t}),t.eachSeries(function(e){if("polar"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e.coordinateSystem=i.coordinateSystem}}),i}};u.register("polar",f)},HjIi:function(t,e,i){var n=i("bYtY"),a=i("OELB").parsePercent,r=i("7hqr").isDimensionStacked;function o(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function s(t,e){return e.dim+t.model.componentIndex}var l=function(t,e,i){var l={},u=function(t,e){var i={};n.each(t,function(t,e){var n=t.getData(),r=t.coordinateSystem,l=r.getBaseAxis(),u=s(r,l),h=l.getExtent(),c="category"===l.type?l.getBandWidth():Math.abs(h[1]-h[0])/n.count(),d=i[u]||{bandWidth:c,remainedWidth:c,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},f=d.stacks;i[u]=d;var p=o(t);f[p]||d.autoWidthCount++,f[p]=f[p]||{width:0,maxWidth:0};var g=a(t.get("barWidth"),c),m=a(t.get("barMaxWidth"),c),v=t.get("barGap"),y=t.get("barCategoryGap");g&&!f[p].width&&(g=Math.min(d.remainedWidth,g),f[p].width=g,d.remainedWidth-=g),m&&(f[p].maxWidth=m),null!=v&&(d.gap=v),null!=y&&(d.categoryGap=y)});var r={};return n.each(i,function(t,e){r[e]={};var i=t.stacks,o=t.bandWidth,s=a(t.categoryGap,o),l=a(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),n.each(i,function(t,e){var i=t.maxWidth;i&&i<c&&(i=Math.min(i,u),t.width&&(i=Math.min(i,t.width)),u-=i,t.width=i,h--)}),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var d,f=0;n.each(i,function(t,e){t.width||(t.width=c),d=t,f+=t.width*(1+l)}),d&&(f-=d.width*l);var p=-f/2;n.each(i,function(t,i){r[e][i]=r[e][i]||{offset:p,width:t.width},p+=t.width*(1+l)})}),r}(n.filter(e.getSeriesByType(t),function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type}));e.eachSeriesByType(t,function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),a=s(i,n),h=o(t),c=u[a][h],d=c.offset,f=c.width,p=i.getOtherAxis(n),g=t.coordinateSystem.cx,m=t.coordinateSystem.cy,v=t.get("barMinHeight")||0,y=t.get("barMinAngle")||0;l[h]=l[h]||[];for(var x=e.mapDimension(p.dim),_=e.mapDimension(n.dim),b=r(e,x),w=p.getExtent()[0],S=0,M=e.count();S<M;S++){var I=e.get(x,S),T=e.get(_,S);if(!isNaN(I)){var A,D,C,L,P=I>=0?"p":"n",k=w;if(b&&(l[h][T]||(l[h][T]={p:w,n:w}),k=l[h][T][P]),"radius"===p.dim){var O=p.dataToRadius(I)-w,E=n.dataToAngle(T);Math.abs(O)<v&&(O=(O<0?-1:1)*v),A=k,D=k+O,L=(C=E-d)-f,b&&(l[h][T][P]=D)}else{var N=p.dataToAngle(I,!0)-w,R=n.dataToRadius(T);Math.abs(N)<y&&(N=(N<0?-1:1)*y),D=(A=R+d)+f,C=k,L=k+N,b&&(l[h][T][P]=L)}e.setItemLayout(S,{cx:g,cy:m,r0:A,r:D,startAngle:-C*Math.PI/180,endAngle:-L*Math.PI/180})}}}},this)};t.exports=l},Hw7h:function(t,e,i){var n=i("y+Vt").extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(t,e){var i=Math.cos,n=Math.sin,a=e.r,r=e.width,o=e.angle,s=e.x-i(o)*r*(r>=a/3?1:2),l=e.y-n(o)*r*(r>=a/3?1:2);o=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+i(o)*r,e.y+n(o)*r),t.lineTo(e.x+i(e.angle)*a,e.y+n(e.angle)*a),t.lineTo(e.x-i(o)*r,e.y-n(o)*r),t.lineTo(s,l)}});t.exports=n},Hxpc:function(t,e,i){var n=i("bYtY"),a=i("4NO4"),r=i("bLfw"),o=i("Qxkt"),s=i("cCMj"),l=i("7uqq"),u=r.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){r.prototype.init.apply(this,arguments),a.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var t=this.option,e=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=n.reduce(t.regions||[],function(t,i){return i.name&&t.set(i.name,new o(i,e)),t},n.createHashMap()),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new o(null,this,this.ecModel)},getFormattedLabel:function(t,e){var i=this.getRegionModel(t).get("label."+e+".formatter"),n={name:t};return"function"==typeof i?(n.status=e,i(n)):"string"==typeof i?i.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});n.mixin(u,s);var h=u;t.exports=h},"I+77":function(t,e,i){var n=i("ProS");i("h54F"),i("lwQL"),i("10cm");var a=i("Z1r0"),r=i("f5Yq"),o=i("KUOm"),s=i("3m61"),l=i("01d+"),u=i("rdor"),h=i("WGYa"),c=i("ewwo");n.registerProcessor(a),n.registerVisual(r("graph","circle",null)),n.registerVisual(o),n.registerVisual(s),n.registerLayout(l),n.registerLayout(n.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),n.registerLayout(h),n.registerCoordinateSystem("graphView",{create:c})},"I+Bx":function(t,e,i){var n=i("bYtY"),a=i("eIcI"),r=i("ieMj"),o=i("OELB"),s=i("aX7z"),l=s.getScaleExtent,u=s.niceScaleExtent,h=i("IDmD");function c(t,e,i){this._model=t,this.dimensions=[],this._indicatorAxes=n.map(t.getIndicatorModels(),function(t,e){var i="indicator_"+e,n=new a(i,new r);return n.name=t.get("name"),n.model=t,t.axis=n,this.dimensions.push(i),n},this),this.resize(t,i),this.cx,this.cy,this.r,this.r0,this.startAngle}c.prototype.getIndicatorAxes=function(){return this._indicatorAxes},c.prototype.dataToPoint=function(t,e){var i=this._indicatorAxes[e];return this.coordToPoint(i.dataToCoord(t),e)},c.prototype.coordToPoint=function(t,e){var i=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(i),this.cy-t*Math.sin(i)]},c.prototype.pointToData=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=Math.sqrt(e*e+i*i);e/=n,i/=n;for(var a,r=Math.atan2(-i,e),o=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],h=Math.abs(r-u.angle);h<o&&(a=u,s=l,o=h)}return[s,+(a&&a.coodToData(n))]},c.prototype.resize=function(t,e){var i=t.get("center"),a=e.getWidth(),r=e.getHeight(),s=Math.min(a,r)/2;this.cx=o.parsePercent(i[0],a),this.cy=o.parsePercent(i[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var l=t.get("radius");"string"!=typeof l&&"number"!=typeof l||(l=[0,l]),this.r0=o.parsePercent(l[0],s),this.r=o.parsePercent(l[1],s),n.each(this._indicatorAxes,function(t,e){t.setExtent(this.r0,this.r);var i=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;i=Math.atan2(Math.sin(i),Math.cos(i)),t.angle=i},this)},c.prototype.update=function(t,e){var i=this._indicatorAxes,a=this._model;n.each(i,function(t){t.scale.setExtent(1/0,-1/0)}),t.eachSeriesByType("radar",function(e,r){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===a){var o=e.getData();n.each(i,function(t){t.scale.unionExtentFromData(o,o.mapDimension(t.dim))})}},this);var r=a.get("splitNumber");function s(t){var e=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),i=t/e;return 2===i?i=5:i*=2,i*e}n.each(i,function(t,e){var i=l(t.scale,t.model);u(t.scale,t.model);var n=t.model,a=t.scale,h=n.getMin(),c=n.getMax(),d=a.getInterval();if(null!=h&&null!=c)a.setExtent(+h,+c),a.setInterval((c-h)/r);else if(null!=h){var f;do{f=h+d*r,a.setExtent(+h,f),a.setInterval(d),d=s(d)}while(f<i[1]&&isFinite(f)&&isFinite(i[1]))}else if(null!=c){var p;do{p=c-d*r,a.setExtent(p,+c),a.setInterval(d),d=s(d)}while(p>i[0]&&isFinite(p)&&isFinite(i[0]))}else{a.getTicks().length-1>r&&(d=s(d));var g=Math.round((i[0]+i[1])/2/d)*d,m=Math.round(r/2);a.setExtent(o.round(g-m*d),o.round(g+(r-m)*d)),a.setInterval(d)}})},c.dimensions=[],c.create=function(t,e){var i=[];return t.eachComponent("radar",function(n){var a=new c(n,t,e);i.push(a),n.coordinateSystem=a}),t.eachSeriesByType("radar",function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])}),i},h.register("radar",c);var d=c;t.exports=d},"I3/A":function(t,e,i){var n=i("bYtY"),a=i("YXkt"),r=i("c2i1"),o=i("Mdki"),s=i("sdST"),l=i("IDmD"),u=i("MwEJ");t.exports=function(t,e,i,h,c){for(var d=new r(h),f=0;f<t.length;f++)d.addNode(n.retrieve(t[f].id,t[f].name,f),f);var p=[],g=[],m=0;for(f=0;f<e.length;f++){var v=e[f],y=v.source,x=v.target;d.addEdge(y,x,m)&&(g.push(v),p.push(n.retrieve(v.id,y+" > "+x)),m++)}var _,b=i.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(t,i);else{var w=l.get(b),S=w&&"view"!==w.type&&w.dimensions||[];n.indexOf(S,"value")<0&&S.concat(["value"]);var M=s(t,{coordDimensions:S});(_=new a(M,i)).initData(t)}var I=new a(["value"],i);return I.initData(g,p),c&&c(_,I),o({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:I},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},ICMv:function(t,e,i){var n=i("bYtY"),a={getMin:function(t){var e=this.option,i=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=i&&"dataMin"!==i&&"function"!=typeof i&&!n.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getMax:function(t){var e=this.option,i=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=i&&"dataMax"!==i&&"function"!=typeof i&&!n.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:n.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};t.exports=a},IDmD:function(t,e,i){var n=i("bYtY"),a={};function r(){this._coordinateSystems=[]}r.prototype={constructor:r,create:function(t,e){var i=[];n.each(a,function(n,a){var r=n.create(t,e);i=i.concat(r||[])}),this._coordinateSystems=i},update:function(t,e){n.each(this._coordinateSystems,function(i){i.update&&i.update(t,e)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},r.register=function(t,e){a[t]=e},r.get=function(t){return a[t]};var o=r;t.exports=o},IMiH:function(t,e,i){var n=i("Sj9i"),a=i("QBsz"),r=i("4mN7"),o=i("mFDi"),s=i("LPTA").devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],h=[],c=[],d=[],f=Math.min,p=Math.max,g=Math.cos,m=Math.sin,v=Math.sqrt,y=Math.abs,x="undefined"!=typeof Float32Array,_=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};_.prototype={constructor:_,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,i){i=i||0,this._ux=y(i/s/t)||0,this._uy=y(i/s/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(l.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var i=y(t-this._xi)>this._ux||y(e-this._yi)>this._uy||this._len<5;return this.addData(l.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(l.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(l.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(l.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=g(a)*i+t,this._yi=m(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(l.R,t,e,i,n),this},closePath:function(){this.addData(l.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t.closePath()),this._xi=e,this._yi=i,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;i<t.length;i++)e+=t[i];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(t){var e=t.length;this.data&&this.data.length===e||!x||(this.data=new Float32Array(e));for(var i=0;i<e;i++)this.data[i]=t[i];this._len=e},appendPath:function(t){t instanceof Array||(t=[t]);for(var e=t.length,i=0,n=this._len,a=0;a<e;a++)i+=t[a].len();x&&this.data instanceof Float32Array&&(this.data=new Float32Array(n+i));for(a=0;a<e;a++)for(var r=t[a].data,o=0;o<r.length;o++)this.data[n++]=r[o];this._len=n},addData:function(t){if(this._saveData){var e=this.data;this._len+arguments.length>e.length&&(this._expandData(),e=this.data);for(var i=0;i<arguments.length;i++)e[this._len++]=arguments[i];this._prevCmd=t}},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var i,n,a=this._dashSum,r=this._dashOffset,o=this._lineDash,s=this._ctx,l=this._xi,u=this._yi,h=t-l,c=e-u,d=v(h*h+c*c),g=l,m=u,y=o.length;for(h/=d,c/=d,r<0&&(r=a+r),g-=(r%=a)*h,m-=r*c;h>0&&g<=t||h<0&&g>=t||0===h&&(c>0&&m<=e||c<0&&m>=e);)g+=h*(i=o[n=this._dashIdx]),m+=c*i,this._dashIdx=(n+1)%y,h>0&&g<l||h<0&&g>l||c>0&&m<u||c<0&&m>u||s[n%2?"moveTo":"lineTo"](h>=0?f(g,t):p(g,t),c>=0?f(m,e):p(m,e));h=g-t,c=m-e,this._dashOffset=-v(h*h+c*c)},_dashedBezierTo:function(t,e,i,a,r,o){var s,l,u,h,c,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,m=this._xi,y=this._yi,x=n.cubicAt,_=0,b=this._dashIdx,w=p.length,S=0;for(f<0&&(f=d+f),f%=d,s=0;s<1;s+=.1)l=x(m,t,i,r,s+.1)-x(m,t,i,r,s),u=x(y,e,a,o,s+.1)-x(y,e,a,o,s),_+=v(l*l+u*u);for(;b<w&&!((S+=p[b])>f);b++);for(s=(S-f)/_;s<=1;)h=x(m,t,i,r,s),c=x(y,e,a,o,s),b%2?g.moveTo(h,c):g.lineTo(h,c),s+=p[b]/_,b=(b+1)%w;b%2!=0&&g.lineTo(r,o),l=r-h,u=o-c,this._dashOffset=-v(l*l+u*u)},_dashedQuadraticTo:function(t,e,i,n){var a=i,r=n;i=(i+2*t)/3,n=(n+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,i,n,a,r)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,x&&(this.data=new Float32Array(t)))},getBoundingRect:function(){u[0]=u[1]=c[0]=c[1]=Number.MAX_VALUE,h[0]=h[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,n=0,s=0,f=0;f<t.length;){var p=t[f++];switch(1===f&&(n=e=t[f],s=i=t[f+1]),p){case l.M:e=n=t[f++],i=s=t[f++],c[0]=n,c[1]=s,d[0]=n,d[1]=s;break;case l.L:r.fromLine(e,i,t[f],t[f+1],c,d),e=t[f++],i=t[f++];break;case l.C:r.fromCubic(e,i,t[f++],t[f++],t[f++],t[f++],t[f],t[f+1],c,d),e=t[f++],i=t[f++];break;case l.Q:r.fromQuadratic(e,i,t[f++],t[f++],t[f],t[f+1],c,d),e=t[f++],i=t[f++];break;case l.A:var v=t[f++],y=t[f++],x=t[f++],_=t[f++],b=t[f++],w=t[f++]+b;f+=1;var S=1-t[f++];1===f&&(n=g(b)*x+v,s=m(b)*_+y),r.fromArc(v,y,x,_,b,w,S,c,d),e=g(w)*x+v,i=m(w)*_+y;break;case l.R:n=e=t[f++],s=i=t[f++];var M=t[f++],I=t[f++];r.fromLine(n,s,n+M,s+I,c,d);break;case l.Z:e=n,i=s}a.min(u,u,c),a.max(h,h,d)}return 0===f&&(u[0]=u[1]=h[0]=h[1]=0),new o(u[0],u[1],h[0]-u[0],h[1]-u[1])},rebuildPath:function(t){for(var e,i,n,a,r,o,s=this.data,u=this._ux,h=this._uy,c=this._len,d=0;d<c;){var f=s[d++];switch(1===d&&(e=n=s[d],i=a=s[d+1]),f){case l.M:e=n=s[d++],i=a=s[d++],t.moveTo(n,a);break;case l.L:r=s[d++],o=s[d++],(y(r-n)>u||y(o-a)>h||d===c-1)&&(t.lineTo(r,o),n=r,a=o);break;case l.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 l.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case l.A:var p=s[d++],v=s[d++],x=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],I=x>_?x:_,T=x>_?1:x/_,A=x>_?_/x:1,D=b+w;Math.abs(x-_)>.001?(t.translate(p,v),t.rotate(S),t.scale(T,A),t.arc(0,0,I,b,D,1-M),t.scale(1/T,1/A),t.rotate(-S),t.translate(-p,-v)):t.arc(p,v,I,b,D,1-M),1===d&&(e=g(b)*x+p,i=m(b)*_+v),n=g(D)*x+p,a=m(D)*_+v;break;case l.R:e=n=s[d],i=a=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case l.Z:t.closePath(),n=e,a=i}}}},_.CMD=l;var b=_;t.exports=b},IUWy:function(t,e){var i={};e.register=function(t,e){i[t]=e},e.get=function(t){return i[t]}},IWNH:function(t,e,i){var n=i("T4UG"),a=i("Bsck"),r=i("7aKB").encodeHTML,o=n.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},i=t.leaves||{},n={};n.leaves=i;var r=a.createTree(e,this,n),o=0;r.eachNode("preorder",function(t){t.depth>o&&(o=t.depth)});var s=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=s}),r.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){for(var e=this.getData().tree,i=e.root.children[0],n=e.getNodeByDataIndex(t),a=n.getValue(),o=n.name;n&&n!==i;)o=n.parentNode.name+"."+o,n=n.parentNode;return r(o+(isNaN(a)||null==a?"":" : "+a))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=o},IWp7:function(t,e,i){var n=i("bYtY"),a=i("OELB"),r=i("7aKB"),o=i("lE7J"),s=i("ieMj"),l=s.prototype,u=Math.ceil,h=Math.floor,c=s.extend({type:"time",getLabel:function(t){var e=this._stepLvl,i=new Date(t);return r.formatTime(e[0],i,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=864e5,e[1]+=864e5),e[1]===-1/0&&e[0]===1/0){var i=new Date;e[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),e[0]=e[1]-864e5}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var n=this._interval;t.fixMin||(e[0]=a.round(h(e[0]/n)*n)),t.fixMax||(e[1]=a.round(u(e[1]/n)*n))},niceTicks:function(t,e,i){t=t||10;var n=this._extent,r=n[1]-n[0],s=r/t;null!=e&&s<e&&(s=e),null!=i&&s>i&&(s=i);var l=d.length,c=function(t,e,i,n){for(;i<n;){var a=i+n>>>1;t[a][1]<e?i=a+1:n=a}return i}(d,s,0,l),f=d[Math.min(c,l-1)],p=f[1];if("year"===f[0]){var g=r/p;p*=a.nice(g/t,!0)}var m=this.getSetting("useUTC")?0:60*new Date(+n[0]||+n[1]).getTimezoneOffset()*1e3,v=[Math.round(u((n[0]-m)/p)*p+m),Math.round(h((n[1]-m)/p)*p+m)];o.fixExtent(v,n),this._stepLvl=f,this._interval=p,this._niceExtent=v},parse:function(t){return+a.parseDate(t)}});n.each(["contain","normalize"],function(t){c.prototype[t]=function(e){return l[t].call(this,this.parse(e))}});var d=[["hh:mm:ss",1e3],["hh:mm:ss",5e3],["hh:mm:ss",1e4],["hh:mm:ss",15e3],["hh:mm:ss",3e4],["hh:mm\nMM-dd",6e4],["hh:mm\nMM-dd",3e5],["hh:mm\nMM-dd",6e5],["hh:mm\nMM-dd",9e5],["hh:mm\nMM-dd",18e5],["hh:mm\nMM-dd",36e5],["hh:mm\nMM-dd",72e5],["hh:mm\nMM-dd",216e5],["hh:mm\nMM-dd",432e5],["MM-dd\nyyyy",864e5],["MM-dd\nyyyy",1728e5],["MM-dd\nyyyy",2592e5],["MM-dd\nyyyy",3456e5],["MM-dd\nyyyy",432e6],["MM-dd\nyyyy",5184e5],["week",6048e5],["MM-dd\nyyyy",864e6],["week",12096e5],["week",18144e5],["month",26784e5],["week",36288e5],["month",53568e5],["week",6048e6],["quarter",8208e6],["month",107136e5],["month",13392e6],["half-year",16416e6],["month",214272e5],["month",26784e6],["year",32832e6]];c.create=function(t){return new c({useUTC:t.ecModel.get("useUTC")})};var f=c;t.exports=f},IXuL:function(t,e,i){i("Tghj").__DEV__;var n=i("MwEJ"),a=i("T4UG").extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return n(this.getSource(),this)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clipOverflow:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=a},IXyC:function(t,e,i){var n=i("bYtY"),a=i("bLfw");i("3zoK");var r=a.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){a.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(t){var e=this.option;t&&n.merge(e,t,!0),this._initDimensions()},contains:function(t,e){var i=t.get("parallelIndex");return null!=i&&e.getComponent("parallel",i)===this},setAxisExpand:function(t){n.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])},this)},_initDimensions:function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],i=n.filter(this.dependentModels.parallelAxis,function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this);n.each(i,function(i){t.push("dim"+i.get("dim")),e.push(i.componentIndex)})}});t.exports=r},ItGF:function(t,e){var i="object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"==typeof document&&"undefined"!=typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"==typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:function(t){var e={},i=t.match(/Firefox\/([\d.]+)/),n=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge\/([\d.]+)/),r=/micromessenger/i.test(t);i&&(e.firefox=!0,e.version=i[1]);n&&(e.ie=!0,e.version=n[1]);a&&(e.edge=!0,e.version=a[1]);r&&(e.weChat=!0);return{browser:e,os:{},node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!e.ie&&!e.edge,pointerEventsSupported:"onpointerdown"in window&&(e.edge||e.ie&&e.version>=11),domSupported:"undefined"!=typeof document}}(navigator.userAgent);t.exports=i},Itpr:function(t,e,i){var n=i("+TT/");function a(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function r(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function o(t,e,i){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:i}function s(t,e,i){var n=i/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=n,e.hierNode.shift+=i,e.hierNode.modifier+=i,e.hierNode.prelim+=i,t.hierNode.change+=n}function l(t,e){return t.parentNode===e.parentNode?1:2}e.init=function(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var e,i,n=[t];e=n.pop();)if(i=e.children,e.isExpand&&i.length)for(var a=i.length-1;a>=0;a--){var r=i[a];r.hierNode={defaultAncestor:null,ancestor:r,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},n.push(r)}},e.firstWalk=function(t,e){var i=t.isExpand?t.children:[],n=t.parentNode.children,l=t.hierNode.i?n[t.hierNode.i-1]:null;if(i.length){!function(t){for(var e=t.children,i=e.length,n=0,a=0;--i>=0;){var r=e[i];r.hierNode.prelim+=n,r.hierNode.modifier+=n,a+=r.hierNode.change,n+=r.hierNode.shift+a}}(t);var u=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;l?(t.hierNode.prelim=l.hierNode.prelim+e(t,l),t.hierNode.modifier=t.hierNode.prelim-u):t.hierNode.prelim=u}else l&&(t.hierNode.prelim=l.hierNode.prelim+e(t,l));t.parentNode.hierNode.defaultAncestor=function(t,e,i,n){if(e){for(var l=t,u=t,h=u.parentNode.children[0],c=e,d=l.hierNode.modifier,f=u.hierNode.modifier,p=h.hierNode.modifier,g=c.hierNode.modifier;c=a(c),u=r(u),c&&u;){l=a(l),h=r(h),l.hierNode.ancestor=t;var m=c.hierNode.prelim+g-u.hierNode.prelim-f+n(c,u);m>0&&(s(o(c,t,i),t,m),f+=m,d+=m),g+=c.hierNode.modifier,f+=u.hierNode.modifier,d+=l.hierNode.modifier,p+=h.hierNode.modifier}c&&!a(l)&&(l.hierNode.thread=c,l.hierNode.modifier+=g-d),u&&!r(h)&&(h.hierNode.thread=u,h.hierNode.modifier+=f-p,i=t)}return i}(t,l,t.parentNode.hierNode.defaultAncestor||n[0],e)},e.secondWalk=function(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier},e.separation=function(t){return arguments.length?t:l},e.radialCoordinate=function(t,e){var i={};return t-=Math.PI/2,i.x=e*Math.cos(t),i.y=e*Math.sin(t),i},e.getViewRect=function(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}},IwbS:function(t,e,i){var n=i("bYtY"),a=i("NC18"),r=i("Qe9p"),o=i("Fofx"),s=i("QBsz"),l=i("y+Vt"),u=i("DN4a"),h=i("Dagg");e.Image=h;var c=i("4fz+");e.Group=c;var d=i("dqUG");e.Text=d;var f=i("2fw6");e.Circle=f;var p=i("SqI9");e.Sector=p;var g=i("RXMa");e.Ring=g;var m=i("h7HQ");e.Polygon=m;var v=i("1Jh7");e.Polyline=v;var y=i("x6Kt");e.Rect=y;var x=i("yxFR");e.Line=x;var _=i("rA99");e.BezierCurve=_;var b=i("jTL6");e.Arc=b;var w=i("1MYJ");e.CompoundPath=w;var S=i("SKnc");e.LinearGradient=S;var M=i("3e3G");e.RadialGradient=M;var I=i("mFDi");e.BoundingRect=I;var T=i("OS9S");e.IncrementalDisplayable=T;var A=i("nPnh"),D=Math.max,C=Math.min,L={},P=1,k="emphasis",O="normal",E=1,N={};function R(t,e,i,n){var r=a.createFromString(t,e);return i&&("center"===n&&(i=z(i,r.getBoundingRect())),V(r,i)),r}function z(t,e){var i,n=e.width/e.height,a=t.height*n;return i=a<=t.width?t.height:(a=t.width)/n,{x:t.x+t.width/2-a/2,y:t.y+t.height/2-i/2,width:a,height:i}}var B=a.mergePath;function V(t,e){if(t.applyTransform){var i=t.getBoundingRect().calculateTransform(e);t.applyTransform(i)}}var Y=A.subPixelOptimize;function G(t){return null!=t&&"none"!==t}var F=n.createHashMap(),H=0;function W(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var i=t.useHoverLayer;t.__highlighted=i?"layer":"plain";var n=t.__zr;if(!(t.isGroup||!n&&i)){var a=t,r=t.style;i&&(r=(a=n.addHover(t)).style),ot(r),i||function(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var i=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var n=t.style;for(var a in e)null!=e[a]&&(i[a]=n[a]);i.fill=n.fill,i.stroke=n.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}(a),r.extendFrom(e),U(r,e,"fill"),U(r,e,"stroke"),rt(r),i||(t.dirty(!1),t.z2+=P)}}}function U(t,e,i){!G(e[i])&&G(t[i])&&(t[i]=function(t){if("string"!=typeof t)return t;var e=F.get(t);return e||(e=r.lift(t,-.1),H<1e4&&(F.set(t,e),H++)),e}(t[i]))}function j(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&&(ot(i),t.setStyle(n),rt(i));var a=t.__cachedNormalZ2;null!=a&&t.z2-a===P&&(t.z2=a)}}function Z(t,e,i){var n,a=O,r=O;t.__highlighted&&(a=k,n=!0),e(t,i),t.__highlighted&&(r=k,n=!0),t.isGroup&&t.traverse(function(t){!t.isGroup&&e(t,i)}),n&&t.__highDownOnUpdate&&t.__highDownOnUpdate(a,r)}function X(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,j(t),W(t))}function q(t){!$(this,t)&&!this.__highByOuter&&Z(this,W)}function K(t){!$(this,t)&&!this.__highByOuter&&Z(this,j)}function Q(t){this.__highByOuter|=1<<(t||0),Z(this,W)}function J(t){!(this.__highByOuter&=~(1<<(t||0)))&&Z(this,j)}function $(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function tt(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",q)[n]("mouseout",K),t[n]("emphasis",Q)[n]("normal",J),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!i}}function et(t,e,i,a,r){return it(t,e,a,r),i&&n.extend(t,i),t}function it(t,e,i,a){if((i=i||L).isRectText){var r=e.getShallow("position")||(a?null:"inside");"outside"===r&&(r="top"),t.textPosition=r,t.textOffset=e.getShallow("offset");var o=e.getShallow("rotate");null!=o&&(o*=Math.PI/180),t.textRotation=o,t.textDistance=n.retrieve2(e.getShallow("distance"),a?null:5)}var s,l=e.ecModel,u=l&&l.option.textStyle,h=function(t){var e;for(;t&&t!==t.ecModel;){var i=(t.option||L).rich;if(i)for(var n in e=e||{},i)i.hasOwnProperty(n)&&(e[n]=1);t=t.parentModel}return e}(e);if(h)for(var c in s={},h)if(h.hasOwnProperty(c)){var d=e.getModel(["rich",c]);nt(s[c]={},d,u,i,a)}return t.rich=s,nt(t,e,u,i,a,!0),i.forceRich&&!i.textStyle&&(i.textStyle={}),t}function nt(t,e,i,a,r,o){i=!r&&i||L,t.textFill=at(e.getShallow("color"),a)||i.color,t.textStroke=at(e.getShallow("textBorderColor"),a)||i.textBorderColor,t.textStrokeWidth=n.retrieve2(e.getShallow("textBorderWidth"),i.textBorderWidth),r||(o&&(t.insideRollbackOpt=a,rt(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=at(e.getShallow("backgroundColor"),a),t.textPadding=e.getShallow("padding"),t.textBorderColor=at(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 at(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function rt(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 ot(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function st(t,e,i,n,a,r){if("function"==typeof a&&(r=a,a=null),n&&n.isAnimationEnabled()){var o=t?"Update":"",s=n.getShallow("animationDuration"+o),l=n.getShallow("animationEasing"+o),u=n.getShallow("animationDelay"+o);"function"==typeof u&&(u=u(a,n.getAnimationDelayParams?n.getAnimationDelayParams(e,a):null)),"function"==typeof s&&(s=s(a)),s>0?e.animateTo(i,s,u||0,l,r,!!r):(e.stopAnimation(),e.attr(i),r&&r())}else e.stopAnimation(),e.attr(i),r&&r()}function lt(t,e,i,n,a){st(!0,t,e,i,n,a)}function ut(t,e,i){return e&&!n.isArrayLike(e)&&(e=u.getLocalTransform(e)),i&&(e=o.invert([],e)),s.applyTransform([],t,e)}function ht(t,e,i,n,a,r,o,s){var l,u=i-t,h=n-e,c=o-a,d=s-r,f=ct(c,d,u,h);if((l=f)<=1e-6&&l>=-1e-6)return!1;var p=t-a,g=e-r,m=ct(p,g,u,h)/f;if(m<0||m>1)return!1;var v=ct(p,g,c,d)/f;return!(v<0||v>1)}function ct(t,e,i,n){return t*n-i*e}e.Z2_EMPHASIS_LIFT=P,e.CACHED_LABEL_STYLE_PROPERTIES={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},e.extendShape=function(t){return l.extend(t)},e.extendPath=function(t,e){return a.extendFromString(t,e)},e.makePath=R,e.makeImage=function(t,e,i){var n=new h({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(z(e,a))}}});return n},e.mergePath=B,e.resizePath=V,e.subPixelOptimizeLine=function(t){return A.subPixelOptimizeLine(t.shape,t.shape,t.style),t},e.subPixelOptimizeRect=function(t){return A.subPixelOptimizeRect(t.shape,t.shape,t.style),t},e.subPixelOptimize=Y,e.setElementHoverStyle=X,e.setHoverStyle=function(t,e){tt(t,!0),Z(t,X,e)},e.setAsHighDownDispatcher=tt,e.isHighDownDispatcher=function(t){return!(!t||!t.__highDownDispatcher)},e.getHighlightDigit=function(t){var e=N[t];return null==e&&E<=32&&(e=N[t]=E++),e},e.setLabelStyle=function(t,e,i,a,r,o,s){var l,u=(r=r||L).labelFetcher,h=r.labelDataIndex,c=r.labelDimIndex,d=i.getShallow("show"),f=a.getShallow("show");(d||f)&&(u&&(l=u.getFormattedLabel(h,"normal",null,c)),null==l&&(l=n.isFunction(r.defaultText)?r.defaultText(h,r):r.defaultText));var p=d?l:null,g=f?n.retrieve2(u?u.getFormattedLabel(h,"emphasis",null,c):null,l):null;null==p&&null==g||(et(t,i,o,r),et(e,a,s,r,!0)),t.text=p,e.text=g},e.modifyLabelStyle=function(t,e,i){var a=t.style;e&&(ot(a),t.setStyle(e),rt(a)),a=t.__hoverStl,i&&a&&(ot(a),n.extend(a,i),rt(a))},e.setTextStyle=et,e.setText=function(t,e,i){var n,a={isRectText:!0};!1===i?n=!0:a.autoColor=i,it(t,e,a,n)},e.getFont=function(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(" "))},e.updateProps=lt,e.initProps=function(t,e,i,n,a){st(!1,t,e,i,n,a)},e.getTransform=function(t,e){for(var i=o.identity([]);t&&t!==e;)o.mul(i,t.getLocalTransform(),i),t=t.parent;return i},e.applyTransform=ut,e.transformDirection=function(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=ut(r,e,i),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"},e.groupTransition=function(t,e,i,a){if(t&&e){var r,o=(r={},t.traverse(function(t){!t.isGroup&&t.anid&&(r[t.anid]=t)}),r);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=o[t.anid];if(e){var n=l(t);t.attr(l(e)),lt(t,n,i,t.dataIndex)}}})}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=n.extend({},t.shape)),e}},e.clipPointsByRect=function(t,e){return n.map(t,function(t){var i=t[0];i=D(i,e.x),i=C(i,e.x+e.width);var n=t[1];return n=D(n,e.y),[i,n=C(n,e.y+e.height)]})},e.clipRectByRect=function(t,e){var i=D(t.x,e.x),n=C(t.x+t.width,e.x+e.width),a=D(t.y,e.y),r=C(t.y+t.height,e.y+e.height);if(n>=i&&r>=a)return{x:i,y:a,width:n-i,height:r-a}},e.createIcon=function(t,e,i){var a=(e=n.extend({rectHover:!0},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 h(e)):R(t.replace("path://",""),e,i,"center")},e.linePolygonIntersect=function(t,e,i,n,a){for(var r=0,o=a[a.length-1];r<a.length;r++){var s=a[r];if(ht(t,e,i,n,s[0],s[1],o[0],o[1]))return!0;o=s}},e.lineLineIntersect=ht},IyUQ:function(t,e,i){var n=i("bYtY"),a=i("YH21"),r=i("IwbS"),o=i("iLNv"),s=i("fc+c"),l=i("OELB"),u=i("+TT/"),h=i("72pK"),c=r.Rect,d=l.linearMap,f=l.asc,p=n.bind,g=n.each,m="horizontal",v=5,y=["line","bar","candlestick","scatter"],x=s.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,i,n){x.superApply(this,"render",arguments),o.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){x.superApply(this,"remove",arguments),o.clear(this,"_dispatchZoomAction")},dispose:function(){x.superApply(this,"dispose",arguments),o.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new r.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,i=this._findCoordRect(),a={width:e.getWidth(),height:e.getHeight()},r=this._orient===m?{right:a.width-i.x-i.width,top:a.height-30-7,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},o=u.getLayoutParams(t.option);n.each(["right","top","width","height"],function(t){"ph"===o[t]&&(o[t]=r[t])});var s=u.getLayoutRect(o,a,t.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),a=n&&n.get("inverse"),r=this._displayables.barGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;r.attr(i!==m||a?i===m&&a?{scale:o?[-1,1]:[-1,-1]}:"vertical"!==i||a?{scale:o?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:o?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:o?[1,1]:[1,-1]});var s=t.getBoundingRect([r]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,i=this._displayables.barGroup;i.add(new c({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),i.add(new c({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:n.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,i=t.series,a=i.getRawData(),o=i.getShadowDim?i.getShadowDim():t.otherDim;if(null!=o){var s=a.getDataExtent(o),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,h=[0,e[1]],c=[0,e[0]],f=[[e[0],0],[0,0]],p=[],g=c[1]/(a.count()-1),m=0,v=Math.round(a.count()/e[0]);a.each([o],function(t,e){if(v>0&&e%v)m+=g;else{var i=null==t||isNaN(t)||""===t,n=i?0:d(t,s,h,!0);i&&!u&&e?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!i&&u&&(f.push([m,0]),p.push([m,0])),f.push([m,n]),p.push([m,n]),m+=g,u=i}});var y=this.dataZoomModel;this._displayables.barGroup.add(new r.Polygon({shape:{points:f},style:n.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new r.Polyline({shape:{points:p},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var i,a=this.ecModel;return t.eachTargetAxis(function(r,o){var s=t.getAxisProxy(r.name,o).getTargetSeriesModels();n.each(s,function(t){if(!(i||!0!==e&&n.indexOf(y,t.get("type"))<0)){var s,l=a.getComponent(r.axis,o).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[r.name],h=t.coordinateSystem;null!=u&&h.getOtherAxis&&(s=h.getOtherAxis(l).inverse),u=t.getData().mapDimension(u),i={thisAxis:l,series:t,thisDim:r.name,otherDim:u,otherAxisInverse:s}}},this)},this),i}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],i=t.handleLabels=[],n=this._displayables.barGroup,o=this._size,s=this.dataZoomModel;n.add(t.filler=new c({draggable:!0,cursor:_(this._orient),drift:p(this._onDragMove,this,"all"),onmousemove:function(t){a.stop(t.event)},ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:s.get("fillerColor"),textPosition:"inside"}})),n.add(new c({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),g([0,1],function(t){var o=r.createIcon(s.get("handleIcon"),{cursor:_(this._orient),draggable:!0,drift:p(this._onDragMove,this,t),onmousemove:function(t){a.stop(t.event)},ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),u=o.getBoundingRect();this._handleHeight=l.parsePercent(s.get("handleSize"),this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,o.setStyle(s.getModel("handleStyle").getItemStyle());var h=s.get("handleColor");null!=h&&(o.style.fill=h),n.add(e[t]=o);var c=s.textStyleModel;this.group.add(i[t]=new r.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))},this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[d(t[0],[0,100],e,!0),d(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var i=this.dataZoomModel,n=this._handleEnds,a=this._getViewExtent(),r=i.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];h(e,n,a,i.get("zoomLock")?"all":t,null!=r.minSpan?d(r.minSpan,o,a,!0):null,null!=r.maxSpan?d(r.maxSpan,o,a,!0):null);var s=this._range,l=this._range=f([d(n[0],a,o,!0),d(n[1],a,o,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var e=this._displayables,i=this._handleEnds,n=f(i.slice()),a=this._size;g([0,1],function(t){var n=e.handles[t],r=this._handleHeight;n.attr({scale:[r/2,r/2],position:[i[t],a[1]/2-r/2]})},this),e.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:a[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,i=this._displayables,n=i.handleLabels,a=this._orient,o=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,h=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(h[0],l),this._formatLabel(h[1],l)]}}var c=f(this._handleEnds.slice());function d(t){var e=r.getTransform(i.handles[t].parent,this.group),s=r.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+v,u=r.applyTransform([c[t]+(0===t?-l:l),this._size[1]/2],e);n[t].setStyle({x:u[0],y:u[1],textVerticalAlign:a===m?"middle":s,textAlign:a===m?s:"center",text:o[t]})}d.call(this,0),d.call(this,1)},_formatLabel:function(t,e){var i=this.dataZoomModel,a=i.get("labelFormatter"),r=i.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(r,20));return n.isFunction(a)?a(t,o):n.isString(a)?a.replace("{value}",o):o},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,i){this._dragging=!0;var n=this._displayables.barGroup.getLocalTransform(),a=r.applyTransform([e,i],n,!0),o=this._updateInterval(t,a[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),o&&s&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,i=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(i[0]<0||i[0]>e[0]||i[1]<0||i[1]>e[1])){var n=this._handleEnds,a=(n[0]+n[1])/2,r=this._updateInterval("all",i[0]-a);this._updateView(),r&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),function(e){if(!t&&e.length){var i=e[0].model.coordinateSystem;t=i.getRect&&i.getRect()}}),!t){var e=this.api.getWidth(),i=this.api.getHeight();t={x:.2*e,y:.2*i,width:.6*e,height:.6*i}}return t}});function _(t){return"vertical"===t?"ns-resize":"ew-resize"}var b=x;t.exports=b},JEkh:function(t,e,i){i("Tghj").__DEV__;var n=i("ProS"),a=i("bYtY"),r=i("ItGF"),o=i("4NO4"),s=i("7aKB"),l=i("OKJ2"),u=s.addCommas,h=s.encodeHTML;function c(t){o.defaultEmphasis(t,"label",["show"])}var d=n.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,i,n){this.mergeDefaultAndTheme(t,i),this.mergeOption(t,i,n.createdBySelf,!0)},isAnimationEnabled:function(){if(r.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e,i,n){var r=this.constructor,o=this.mainType+"Model";i||e.eachSeries(function(t){var i=t.get(this.mainType,!0),s=t[o];i&&i.data?(s?s.mergeOption(i,e,!0):(n&&c(i),a.each(i.data,function(t){t instanceof Array?(c(t[0]),c(t[1])):c(t)}),s=new r(i,this,e),a.extend(s,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[o]=s):t[o]=null},this)},formatTooltip:function(t){var e=this.getData(),i=this.getRawValue(t),n=a.isArray(i)?a.map(i,u).join(", "):u(i),r=e.getName(t),o=h(this.name);return(null!=i||r)&&(o+="<br />"),r&&(o+=h(r),null!=i&&(o+=" : ")),null!=i&&(o+=h(n)),o},getData:function(){return this._data},setData:function(t){this._data=t}});a.mixin(d,l);var f=d;t.exports=f},JLnu:function(t,e,i){var n=i("+TT/"),a=i("OELB"),r=a.parsePercent,o=a.linearMap;t.exports=function(t,e,i){t.eachSeriesByType("funnel",function(t){var i=t.getData(),a=i.mapDimension("value"),s=t.get("sort"),l=function(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),u=function(t,e){for(var i=t.mapDimension("value"),n=t.mapArray(i,function(t){return t}),a=[],r="ascending"===e,o=0,s=t.count();o<s;o++)a[o]=o;return"function"==typeof e?a.sort(e):"none"!==e&&a.sort(function(t,e){return r?n[t]-n[e]:n[e]-n[t]}),a}(i,s),h=[r(t.get("minSize"),l.width),r(t.get("maxSize"),l.width)],c=i.getDataExtent(a),d=t.get("min"),f=t.get("max");null==d&&(d=Math.min(c[0],0)),null==f&&(f=c[1]);var p=t.get("funnelAlign"),g=t.get("gap"),m=(l.height-g*(i.count()-1))/i.count(),v=l.y,y=function(t,e){var n,r=i.get(a,t)||0,s=o(r,[d,f],h,!0);switch(p){case"left":n=l.x;break;case"center":n=l.x+(l.width-s)/2;break;case"right":n=l.x+l.width-s}return[[n,e],[n+s,e]]};"ascending"===s&&(m=-m,g=-g,v+=l.height,u=u.reverse());for(var x=0;x<u.length;x++){var _=u[x],b=u[x+1],w=i.getItemModel(_).get("itemStyle.height");null==w?w=m:(w=r(w,l.height),"ascending"===s&&(w=-w));var S=y(_,v),M=y(b,v+w);v+=w+g,i.setItemLayout(_,{points:S.concat(M.slice().reverse())})}!function(t){t.each(function(e){var i,n,a,r,o=t.getItemModel(e),s=o.getModel("label").get("position"),l=o.getModel("labelLine"),u=t.getItemLayout(e),h=u.points,c="inner"===s||"inside"===s||"center"===s||"insideLeft"===s||"insideRight"===s;if(c)"insideLeft"===s?(n=(h[0][0]+h[3][0])/2+5,a=(h[0][1]+h[3][1])/2,i="left"):"insideRight"===s?(n=(h[1][0]+h[2][0])/2-5,a=(h[1][1]+h[2][1])/2,i="right"):(n=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,a=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,i="center"),r=[[n,a],[n,a]];else{var d,f,p,g=l.get("length");"left"===s?(d=(h[3][0]+h[0][0])/2,f=(h[3][1]+h[0][1])/2,n=(p=d-g)-5,i="right"):"right"===s?(d=(h[1][0]+h[2][0])/2,f=(h[1][1]+h[2][1])/2,n=(p=d+g)+5,i="left"):"rightTop"===s?(d=h[1][0],f=h[1][1],n=(p=d+g)+5,i="top"):"rightBottom"===s?(d=h[2][0],f=h[2][1],n=(p=d+g)+5,i="bottom"):"leftTop"===s?(d=h[0][0],f=h[1][1],n=(p=d-g)-5,i="right"):"leftBottom"===s?(d=h[3][0],f=h[2][1],n=(p=d-g)-5,i="right"):(d=(h[1][0]+h[2][0])/2,f=(h[1][1]+h[2][1])/2,n=(p=d+g)+5,i="left"),r=[[d,f],[p,f]],a=f}u.label={linePoints:r,x:n,y:a,verticalAlign:"middle",textAlign:i,inside:c}})}(i)})}},JVwQ:function(t,e,i){var n=i("ProS"),a=i("1NG9").Polygon,r=i("IwbS"),o=i("bYtY"),s=o.bind,l=o.extend,u=i("gPAo"),h=n.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(t,e,i){var n=t.getData(),o=this.group,h=t.getLayerSeries(),c=n.getLayout("layoutInfo"),d=c.rect,f=c.boundaryGap;function p(t){return t.name}o.attr("position",[0,d.y+f[0]]);var g={};function m(e,i,s){var u=this._layers;if("remove"!==e){for(var c,d,f,p=[],m=[],v=h[i].indices,y=0;y<v.length;y++){var x=n.getItemLayout(v[y]),_=x.x,b=x.y0,w=x.y;p.push([_,b]),m.push([_,b+w]),c=n.getItemVisual(v[y],"color")}var S=n.getItemLayout(v[0]),M=n.getItemModel(v[y-1]),I=M.getModel("label"),T=I.get("margin");if("add"===e){var A=g[i]=new r.Group;d=new a({shape:{points:p,stackedOnPoints:m,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),f=new r.Text({style:{x:S.x-T,y:S.y0+S.y/2}}),A.add(d),A.add(f),o.add(A),d.setClipPath(function(t,e,i){var n=new r.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return r.initProps(n,{shape:{width:t.width+20,height:t.height+20}},e,i),n}(d.getBoundingRect(),t,function(){d.removeClipPath()}))}else{A=u[s];d=A.childAt(0),f=A.childAt(1),o.add(A),g[i]=A,r.updateProps(d,{shape:{points:p,stackedOnPoints:m}},t),r.updateProps(f,{style:{x:S.x-T,y:S.y0+S.y/2}},t)}var D=M.getModel("emphasis.itemStyle"),C=M.getModel("itemStyle");r.setTextStyle(f.style,I,{text:I.get("show")?t.getFormattedLabel(v[y-1],"normal")||n.getName(v[y-1]):null,textVerticalAlign:"middle"}),d.setStyle(l({fill:c},C.getItemStyle(["color"]))),r.setHoverStyle(d,D.getItemStyle())}else o.remove(u[i])}new u(this._layersSeries||[],h,p,p).add(s(m,this,"add")).update(s(m,this,"update")).remove(s(m,this,"remove")).execute(),this._layersSeries=h,this._layers=g},dispose:function(){}});t.exports=h},JuEJ:function(t,e,i){var n=i("bYtY"),a=i("4NO4"),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<a;i++){var r=s[i],o=e.normal,l=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?n.merge(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),l&&l[r]&&(t[r]=t[r]||{},t[r].emphasis?n.merge(t[r].emphasis,l[r]):t[r].emphasis=l[r],l[r]=null)}}function u(t,e,i){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var a=t[e].normal,r=t[e].emphasis;a&&(i?(t[e].normal=t[e].emphasis=null,n.defaults(t[e],a)):t[e]=a),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r)}}function h(t){u(t,"itemStyle"),u(t,"lineStyle"),u(t,"areaStyle"),u(t,"label"),u(t,"labelLine"),u(t,"upperLabel"),u(t,"edgeLabel")}function c(t,e){var i=o(t)&&t[e],n=o(i)&&i.textStyle;if(n)for(var r=0,s=a.TEXT_STYLE_OPTIONS.length;r<s;r++){e=a.TEXT_STYLE_OPTIONS[r];n.hasOwnProperty(e)&&(i[e]=n[e])}}function d(t){t&&(h(t),c(t,"label"),t.emphasis&&c(t.emphasis,"label"))}function f(t){return n.isArray(t)?t:t?[t]:[]}function p(t){return(n.isArray(t)?t[0]:t)||{}}t.exports=function(t,e){r(f(t.series),function(t){o(t)&&function(t){if(o(t)){l(t),h(t),c(t,"label"),c(t,"upperLabel"),c(t,"edgeLabel"),t.emphasis&&(c(t.emphasis,"label"),c(t.emphasis,"upperLabel"),c(t.emphasis,"edgeLabel")),(i=t.markPoint)&&(l(i),d(i)),(a=t.markLine)&&(l(a),d(a));var e=t.markArea;e&&d(e);var i,a,r=t.data;if("graph"===t.type){r=r||t.nodes;var s=t.links||t.edges;if(s&&!n.isTypedArray(s))for(var f=0;f<s.length;f++)d(s[f]);n.each(t.categories,function(t){h(t)})}if(r&&!n.isTypedArray(r))for(f=0;f<r.length;f++)d(r[f]);if((i=t.markPoint)&&i.data){var p=i.data;for(f=0;f<p.length;f++)d(p[f])}if((a=t.markLine)&&a.data){var g=a.data;for(f=0;f<g.length;f++)n.isArray(g[f])?(d(g[f][0]),d(g[f][1])):d(g[f])}"gauge"===t.type?(c(t,"axisLabel"),c(t,"title"),c(t,"detail")):"treemap"===t.type?(u(t.breadcrumb,"itemStyle"),n.each(t.levels,function(t){h(t)})):"tree"===t.type&&h(t.leaves)}}(t)});var i=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&i.push("valueAxis","categoryAxis","logAxis","timeAxis"),r(i,function(e){r(f(t[e]),function(t){t&&(c(t,"axisLabel"),c(t.axisPointer,"label"))})}),r(f(t.parallel),function(t){var e=t&&t.parallelAxisDefault;c(e,"axisLabel"),c(e&&e.axisPointer,"label")}),r(f(t.calendar),function(t){u(t,"itemStyle"),c(t,"dayLabel"),c(t,"monthLabel"),c(t,"yearLabel")}),r(f(t.radar),function(t){c(t,"name")}),r(f(t.geo),function(t){o(t)&&(d(t),r(f(t.regions),function(t){d(t)}))}),r(f(t.timeline),function(t){d(t),u(t,"label"),u(t,"itemStyle"),u(t,"controlStyle",!0);var e=t.data;n.isArray(e)&&n.each(e,function(t){n.isObject(t)&&(u(t,"label"),u(t,"itemStyle"))})}),r(f(t.toolbox),function(t){u(t,"iconStyle"),r(t.feature,function(t){u(t,"iconStyle")})}),c(p(t.axisPointer),"label"),c(p(t.tooltip).axisPointer,"label")}},K2GJ:function(t,e,i){var n=i("fW2E"),a=i("gut8").ContextCachedBy,r=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],o=function(t){this.extendFrom(t,!1)};function s(t,e,i){var n=null==e.x?0:e.x,a=null==e.x2?1:e.x2,r=null==e.y?0:e.y,o=null==e.y2?0:e.y2;return e.global||(n=n*i.width+i.x,a=a*i.width+i.x,r=r*i.height+i.y,o=o*i.height+i.y),n=isNaN(n)?0:n,a=isNaN(a)?1:a,r=isNaN(r)?0:r,o=isNaN(o)?0:o,t.createLinearGradient(n,r,a,o)}function l(t,e,i){var n=i.width,a=i.height,r=Math.min(n,a),o=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(o=o*n+i.x,s=s*a+i.y,l*=r),t.createRadialGradient(o,s,0,o,s,l)}for(var u=o.prototype={constructor:o,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,i){var o=i&&i.style,s=!o||t.__attrCachedBy!==a.STYLE_BIND;t.__attrCachedBy=a.STYLE_BIND;for(var l=0;l<r.length;l++){var u=r[l],h=u[0];(s||this[h]!==o[h])&&(t[h]=n(t,h,this[h]||u[1]))}if((s||this.fill!==o.fill)&&(t.fillStyle=this.fill),(s||this.stroke!==o.stroke)&&(t.strokeStyle=this.stroke),(s||this.opacity!==o.opacity)&&(t.globalAlpha=null==this.opacity?1:this.opacity),(s||this.blend!==o.blend)&&(t.globalCompositeOperation=this.blend||"source-over"),this.hasStroke()){var c=this.lineWidth;t.lineWidth=c/(this.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1)}},hasFill:function(){var t=this.fill;return null!=t&&"none"!==t},hasStroke:function(){var t=this.stroke;return null!=t&&"none"!==t&&this.lineWidth>0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,i){for(var n=("radial"===e.type?l:s)(t,e,i),a=e.colorStops,r=0;r<a.length;r++)n.addColorStop(a[r].offset,a[r].color);return n}},h=0;h<r.length;h++){var c=r[h];c[0]in u||(u[c[0]]=c[1])}o.getGradient=u.getGradient;var d=o;t.exports=d},K4ya:function(t,e,i){var n=i("bYtY"),a=i("XxSj"),r=n.each;function o(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}e.createVisualMappings=function(t,e,i){var o={};return r(e,function(e){var s,l=o[e]=((s=function(){}).prototype.__hidden=s.prototype,new s);r(t[e],function(t,r){if(a.isValidType(r)){var o={type:r,visual:t};i&&i(o,e),l[r]=new a(o),"opacity"===r&&((o=n.clone(o)).type="colorAlpha",l.__hidden.__alphaForOpacity=new a(o))}})}),o},e.replaceVisualOption=function(t,e,i){var a;n.each(i,function(t){e.hasOwnProperty(t)&&o(e[t])&&(a=!0)}),a&&n.each(i,function(i){e.hasOwnProperty(i)&&o(e[i])?t[i]=n.clone(e[i]):delete t[i]})},e.applyVisual=function(t,e,i,r,o,s){var l,u={};function h(t){return i.getItemVisual(l,t)}function c(t,e){i.setItemVisual(l,t,e)}function d(t,n){l=null==s?t:n;var a=i.getRawDataItem(l);if(!a||!1!==a.visualMap)for(var d=r.call(o,t),f=e[d],p=u[d],g=0,m=p.length;g<m;g++){var v=p[g];f[v]&&f[v].applyVisual(t,h,c)}}n.each(t,function(t){var i=a.prepareVisualTypes(e[t]);u[t]=i}),null==s?i.each(d):i.each([s],d)},e.incrementalApplyVisual=function(t,e,i,r){var o={};return n.each(t,function(t){var i=a.prepareVisualTypes(e[t]);o[t]=i}),{progress:function(t,n){function a(t){return n.getItemVisual(l,t)}function s(t,e){n.setItemVisual(l,t,e)}var l;for(null!=r&&(r=n.getDimension(r));null!=(l=t.next());){var u=n.getRawDataItem(l);if(!u||!1!==u.visualMap)for(var h=null!=r?n.get(r,l,!0):l,c=i(h),d=e[c],f=o[c],p=0,g=f.length;p<g;p++){var m=f[p];d[m]&&d[m].applyVisual(h,a,s)}}}}}},KCsZ:function(t,e,i){var n=i("bYtY");t.exports=function(t){for(var e=0;e<t.length;e++)t[e][1]||(t[e][1]=t[e][0]);return function(e,i,a){for(var r={},o=0;o<t.length;o++){var s=t[o][1];if(!(i&&n.indexOf(i,s)>=0||a&&n.indexOf(a,s)<0)){var l=e.getShallow(s);null!=l&&(r[t[o][0]]=l)}}return r}}},KS52:function(t,e,i){var n=i("OELB"),a=n.parsePercent,r=n.linearMap,o=i("u3DP"),s=i("bYtY"),l=2*Math.PI,u=Math.PI/180;t.exports=function(t,e,i,n){e.eachSeriesByType(t,function(t){var e=t.getData(),n=e.mapDimension("value"),h=t.get("center"),c=t.get("radius");s.isArray(c)||(c=[0,c]),s.isArray(h)||(h=[h,h]);var d=i.getWidth(),f=i.getHeight(),p=Math.min(d,f),g=a(h[0],d),m=a(h[1],f),v=a(c[0],p/2),y=a(c[1],p/2),x=-t.get("startAngle")*u,_=t.get("minAngle")*u,b=0;e.each(n,function(t){!isNaN(t)&&b++});var w=e.getSum(n),S=Math.PI/(w||b)*2,M=t.get("clockwise"),I=t.get("roseType"),T=t.get("stillShowZeroSum"),A=e.getDataExtent(n);A[0]=0;var D=l,C=0,L=x,P=M?1:-1;if(e.each(n,function(t,i){var n;if(isNaN(t))e.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:g,cy:m,r0:v,r:I?NaN:y});else{(n="area"!==I?0===w&&T?S:t*S:l/b)<_?(n=_,D-=_):C+=t;var a=L+P*n;e.setItemLayout(i,{angle:n,startAngle:L,endAngle:a,clockwise:M,cx:g,cy:m,r0:v,r:I?r(t,A,[v,y]):y}),L=a}}),D<l&&b)if(D<=.001){var k=l/b;e.each(n,function(t,i){if(!isNaN(t)){var n=e.getItemLayout(i);n.angle=k,n.startAngle=x+P*i*k,n.endAngle=x+P*(i+1)*k}})}else S=D/C,L=x,e.each(n,function(t,i){if(!isNaN(t)){var n=e.getItemLayout(i),a=n.angle===_?_:t*S;n.startAngle=L,n.endAngle=L+P*a,L+=P*a}});o(t,y,d,f)})}},KUOm:function(t,e){t.exports=function(t){var e={};t.eachSeriesByType("graph",function(t){var i=t.getCategoriesData(),n=t.getData(),a={};i.each(function(n){var r=i.getName(n);a["ec-"+r]=n;var o=i.getItemModel(n),s=o.get("itemStyle.color")||t.getColorFromPalette(r,e);i.setItemVisual(n,"color",s);for(var l=["opacity","symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var h=o.getShallow(l[u],!0);null!=h&&i.setItemVisual(n,l[u],h)}}),i.count()&&n.each(function(t){var e=n.getItemModel(t).getShallow("category");if(null!=e){"string"==typeof e&&(e=a["ec-"+e]);for(var r=["color","opacity","symbol","symbolSize","symbolKeepAspect"],o=0;o<r.length;o++)null==n.getItemVisual(t,r[o],!0)&&n.setItemVisual(t,r[o],i.getItemVisual(e,r[o]))}})})}},Kagy:function(t,e){t.exports={toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType}",withoutName:"第{seriesId}个系列是一个{seriesType}",separator:{middle:"",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:"",end:""}}}}},KamJ:function(t,e,i){var n=i("ProS"),a=i("szbU");i("vF/C"),i("qwVE"),i("BuqR"),i("AE9C"),i("1u/T"),n.registerPreprocessor(a)},KxfA:function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=(n.isTypedArray,n.extend),r=(n.assert,n.each),o=n.isObject,s=i("4NO4"),l=s.getDataItemValue,u=s.isDataItemOption,h=i("OELB").parseDate,c=i("7G+c"),d=i("k9D9"),f=d.SOURCE_FORMAT_TYPED_ARRAY,p=d.SOURCE_FORMAT_ARRAY_ROWS,g=d.SOURCE_FORMAT_ORIGINAL,m=d.SOURCE_FORMAT_OBJECT_ROWS;function v(t,e){c.isInstance(t)||(t=c.seriesDataToSource(t)),this._source=t;var i=this._data=t.data,n=t.sourceFormat;n===f&&(this._offset=0,this._dimSize=e,this._data=i);var r=x[n===p?n+"_"+t.seriesLayoutBy:n];a(this,r)}var y=v.prototype;y.pure=!1,y.persistent=!0,y.getSource=function(){return this._source};var x={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:w},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],i=this._data,n=0;n<i.length;n++){var a=i[n];e.push(a?a[t]:null)}return e},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:_,getItem:b,appendData:w},keyedColumns:{pure:!0,count:function(){var t=this._source.dimensionsDefine[0].name,e=this._data[t];return e?e.length:0},getItem:function(t){for(var e=[],i=this._source.dimensionsDefine,n=0;n<i.length;n++){var a=this._data[i[n].name];e.push(a?a[t]:null)}return e},appendData:function(t){var e=this._data;r(t,function(t,i){for(var n=e[i]||(e[i]=[]),a=0;a<(t||[]).length;a++)n.push(t[a])})}},original:{count:_,getItem:b,appendData:w},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(t,e){t-=this._offset,e=e||[];for(var i=this._dimSize*t,n=0;n<this._dimSize;n++)e[n]=this._data[i+n];return e},appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}}};function _(){return this._data.length}function b(t){return this._data[t]}function w(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}var S={arrayRows:M,objectRows:function(t,e,i,n){return null!=i?t[n]:t},keyedColumns:M,original:function(t,e,i,n){var a=l(t);return null!=i&&a instanceof Array?a[i]:a},typedArray:M};function M(t,e,i,n){return null!=i?t[i]:t}var I={arrayRows:T,objectRows:function(t,e,i,n){return A(t[e],this._dimensionInfos[e])},keyedColumns:T,original:function(t,e,i,n){var a=t&&(null==t.value?t:t.value);return!this._rawData.pure&&u(t)&&(this.hasItemOption=!0),A(a instanceof Array?a[n]:a,this._dimensionInfos[e])},typedArray:function(t,e,i,n){return t[n]}};function T(t,e,i,n){return A(t[n],this._dimensionInfos[e])}function A(t,e){var i=e&&e.type;if("ordinal"===i){var n=e&&e.ordinalMeta;return n?n.parseAndCollect(t):t}return"time"===i&&"number"!=typeof t&&null!=t&&"-"!==t&&(t=+h(t)),null==t||""===t?NaN:+t}e.DefaultDataProvider=v,e.defaultDimValueGetters=I,e.retrieveRawValue=function(t,e,i){if(t){var n=t.getRawDataItem(e);if(null!=n){var a,r,o=t.getProvider().getSource().sourceFormat,s=t.getDimensionInfo(i);return s&&(a=s.name,r=s.index),S[o](n,e,r,a)}}},e.retrieveRawAttr=function(t,e,i){if(t){var n=t.getProvider().getSource().sourceFormat;if(n===g||n===m){var a=t.getRawDataItem(e);return n!==g||o(a)||(a=null),a?a[i]:void 0}}}},L0Ub:function(t,e,i){var n=i("bYtY"),a=n.each,r=n.createHashMap,o=(n.assert,i("Tghj").__DEV__,r(["tooltip","label","itemName","itemId","seriesName"]));function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}e.OTHER_DIMENSIONS=o,e.summarizeDimensions=function(t){var e={},i=e.encode={},n=r(),l=[],u=[],h=e.userOutput={dimensionNames:t.dimensions.slice(),encode:{}};a(t.dimensions,function(e){var a,r=t.getDimensionInfo(e),c=r.coordDim;if(c){var d=r.coordDimIndex;s(i,c)[d]=e,r.isExtraCoord||(n.set(c,1),"ordinal"!==(a=r.type)&&"time"!==a&&(l[0]=e),s(h.encode,c)[d]=r.index),r.defaultTooltip&&u.push(e)}o.each(function(t,e){var n=s(i,e),a=r.otherDims[e];null!=a&&!1!==a&&(n[a]=r.name)})});var c=[],d={};n.each(function(t,e){var n=i[e];d[e]=n[0],c=c.concat(n)}),e.dataDimsOnCoord=c,e.encodeFirstDimNotExtra=d;var f=i.label;f&&f.length&&(l=f.slice());var p=i.tooltip;return p&&p.length?u=p.slice():u.length||(u=l.slice()),i.defaultedLabel=l,i.defaultedTooltip=u,e},e.getDimensionTypeByAxis=function(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},L3Oj:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("HjIi");i("HM/N"),i("9eas"),i("eS4l"),i("y4/Y"),i("as94"),n.registerLayout(a.curry(r,"bar")),n.extendComponentView({type:"polar"})},L5E0:function(t,e){var i=["itemStyle","borderColor"];t.exports=function(t,e){var n=t.get("color");t.eachRawSeriesByType("boxplot",function(e){var a=n[e.seriesIndex%n.length],r=e.getData();r.setVisual({legendSymbol:"roundRect",color:e.get(i)||a}),t.isSeriesFiltered(e)||r.each(function(t){var e=r.getItemModel(t);r.setItemVisual(t,{color:e.get(i,!0)})})})}},LBfv:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=a.createHashMap,o=a.each;n.registerProcessor({getTargetSeries:function(t){var e=r();return t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(t,i,n){var a=n.getAxisProxy(t.name,i);o(a.getTargetSeriesModels(),function(t){e.set(t.uid,t)})})}),e},modifyOutputEnd:!0,overallReset:function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(t,i,n){n.getAxisProxy(t.name,i).reset(n,e)}),t.eachTargetAxis(function(t,i,n){n.getAxisProxy(t.name,i).filterData(n,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy(),i=e.getDataPercentWindow(),n=e.getDataValueWindow();t.setRawRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]},!0)})}})},LPTA:function(t,e){var i=1;"undefined"!=typeof window&&(i=Math.max(window.devicePixelRatio||1,1));var n=i;e.debugMode=0,e.devicePixelRatio=n},LPzL:function(t,e,i){var n=i("ProS");i("QzjZ"),i("vL6D"),i("xiyX"),i("y4/Y"),i("8Th4"),n.extendComponentView({type:"single"})},LzGr:function(t,e,i){var n=i("ProS"),a=i("rnVJ");i("EMyp"),i("8x+h"),i("wt3j"),i("uOyE"),i("/stD"),n.registerPreprocessor(a)},MBQ8:function(t,e,i){var n=i("T4UG"),a=i("MwEJ"),r=n.extend({type:"series.__base_bar__",getInitialData:function(t,e){return a(this.getSource(),this)},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var i=e.dataToPoint(e.clampData(t)),n=this.getData(),a=n.getLayout("offset"),r=n.getLayout("size");return i[e.getBaseAxis().isHorizontal()?0:1]+=a+r/2,i}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});t.exports=r},MEGo:function(t,e,i){var n=i("4fz+"),a=i("Dagg"),r=i("dqUG"),o=i("2fw6"),s=i("x6Kt"),l=i("rmlV"),u=i("yxFR"),h=i("y+Vt"),c=i("h7HQ"),d=i("1Jh7"),f=i("SKnc"),p=i("K2GJ"),g=i("Fofx"),m=i("NC18").createFromString,v=i("bYtY"),y=v.isString,x=v.extend,_=v.defaults,b=v.trim,w=v.each,S=/[\s,]+/;function M(t){y(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));for(9===t.nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}function I(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}I.prototype.parse=function(t,e){e=e||{};var i=M(t);if(!i)throw new Error("Illegal svg");var a=new n;this._root=a;var r=i.getAttribute("viewBox")||"",o=parseFloat(i.getAttribute("width")||e.width),l=parseFloat(i.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(l)&&(l=null),P(i,a,null,!0);for(var u,h,c=i.firstChild;c;)this._parseNode(c,a),c=c.nextSibling;if(r){var d=b(r).split(S);d.length>=4&&(u={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(u&&null!=o&&null!=l&&(h=R(u,o,l),!e.ignoreViewBox)){var f=a;(a=new n).add(f),f.scale=h.scale.slice(),f.position=h.position.slice()}return e.ignoreRootClip||null==o||null==l||a.setClipPath(new s({shape:{x:0,y:0,width:o,height:l}})),{root:a,width:o,height:l,viewBoxRect:u,viewBoxTransform:h}},I.prototype._parseNode=function(t,e){var i,n,a=t.nodeName.toLowerCase();if("defs"===a?this._isDefine=!0:"text"===a&&(this._isText=!0),this._isDefine){if(n=A[a]){var r=n.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=r)}}else(n=T[a])&&(i=n.call(this,t,e),e.add(i));for(var s=t.firstChild;s;)1===s.nodeType&&this._parseNode(s,i),3===s.nodeType&&this._isText&&this._parseText(s,i),s=s.nextSibling;"defs"===a?this._isDefine=!1:"text"===a&&(this._isText=!1)},I.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),P(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 T={g:function(t,e){var i=new n;return D(e,i),P(t,i,this._defs),i},rect:function(t,e){var i=new s;return D(e,i),P(t,i,this._defs),i.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),i},circle:function(t,e){var i=new o;return D(e,i),P(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),i},line:function(t,e){var i=new u;return D(e,i),P(t,i,this._defs),i.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),i},ellipse:function(t,e){var i=new l;return D(e,i),P(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),i},polygon:function(t,e){var i=t.getAttribute("points");i&&(i=C(i));var n=new c({shape:{points:i||[]}});return D(e,n),P(t,n,this._defs),n},polyline:function(t,e){var i=new h;D(e,i),P(t,i,this._defs);var n=t.getAttribute("points");return n&&(n=C(n)),new d({shape:{points:n||[]}})},image:function(t,e){var i=new a;return D(e,i),P(t,i,this._defs),i.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),i},text:function(t,e){var i=t.getAttribute("x")||0,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),P(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),P(t,s,this._defs),this._textX+=r,this._textY+=o,s},path:function(t,e){var i=t.getAttribute("d")||"",n=m(i);return D(e,n),P(t,n,this._defs),n}},A={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),i=parseInt(t.getAttribute("y1")||0,10),n=parseInt(t.getAttribute("x2")||10,10),a=parseInt(t.getAttribute("y2")||0,10),r=new f(e,i,n,a);return function(t,e){var i=t.firstChild;for(;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}}(t,r),r},radialgradient:function(t){}};function D(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),_(e.__inheritedStyle,t.__inheritedStyle))}function C(t){for(var e=b(t).split(S),i=[],n=0;n<e.length;n+=2){var a=parseFloat(e[n]),r=parseFloat(e[n+1]);i.push([a,r])}return i}var L={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function P(t,e,i,n){var a=e.__inheritedStyle||{},r="text"===e.type;if(1===t.nodeType&&(function(t,e){var i=t.getAttribute("transform");if(i){var n=null,a=[];(i=i.replace(/,/g," ")).replace(E,function(t,e,i){a.push(e,i)});for(var r=a.length-1;r>0;r-=2){var o=a[r],s=a[r-1];switch(n=n||g.create(),s){case"translate":o=b(o).split(S),g.translate(n,n,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=b(o).split(S),g.scale(n,n,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=b(o).split(S),g.rotate(n,n,parseFloat(o[0]));break;case"skew":o=b(o).split(S);break;case"matrix":var o=b(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])}}e.setLocalTransform(n)}}(t,e),x(a,function(t){var e=t.getAttribute("style"),i={};if(!e)return i;var n,a={};N.lastIndex=0;for(;null!=(n=N.exec(e));)a[n[1]]=n[2];for(var r in L)L.hasOwnProperty(r)&&null!=a[r]&&(i[L[r]]=a[r]);return i}(t)),!n))for(var o in L)if(L.hasOwnProperty(o)){var s=t.getAttribute(o);null!=s&&(a[L[o]]=s)}var l=r?"textFill":"fill",u=r?"textStroke":"stroke";e.style=e.style||new p;var h=e.style;null!=a.fill&&h.set(l,O(a.fill,i)),null!=a.stroke&&h.set(u,O(a.stroke,i)),w(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(t){var e="lineWidth"===t&&r?"textStrokeWidth":t;null!=a[t]&&h.set(e,parseFloat(a[t]))}),a.textBaseline&&"auto"!==a.textBaseline||(a.textBaseline="alphabetic"),"alphabetic"===a.textBaseline&&(a.textBaseline="bottom"),"start"===a.textAlign&&(a.textAlign="left"),"end"===a.textAlign&&(a.textAlign="right"),w(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(t){null!=a[t]&&h.set(t,a[t])}),a.lineDash&&(e.style.lineDash=b(a.lineDash).split(S)),h[u]&&"none"!==h[u]&&(e[u]=!0),e.__inheritedStyle=a}var k=/url\(\s*#(.*?)\)/;function O(t,e){var i=e&&t&&t.match(k);return i?e[b(i[1])]:t}var E=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;var N=/([^\s:;]+)\s*:\s*([^:;]+)/g;function R(t,e,i){var n=e/t.width,a=i/t.height,r=Math.min(n,a);return{scale:[r,r],position:[-(t.x+t.width/2)*r+e/2,-(t.y+t.height/2)*r+i/2]}}e.parseXML=M,e.makeViewBoxTransform=R,e.parseSVG=function(t,e){return(new I).parse(t,e)}},MH26:function(t,e,i){var n=i("bYtY"),a=i("YXkt"),r=i("OELB"),o=i("kj2x"),s=i("c8qY"),l=i("iPDy"),u=i("7hqr").getStackedDimension,h=function(t,e,i,a){var r=t.getData(),s=a.type;if(!n.isArray(a)&&("min"===s||"max"===s||"average"===s||"median"===s||null!=a.xAxis||null!=a.yAxis)){var l,h;if(null!=a.yAxis||null!=a.xAxis)l=e.getAxis(null!=a.yAxis?"y":"x"),h=n.retrieve(a.yAxis,a.xAxis);else{var c=o.getAxisInfo(a,r,e,t);l=c.valueAxis;var d=u(r,c.valueDataDim);h=o.numCalculate(r,d,s)}var f="x"===l.dim?0:1,p=1-f,g=n.clone(a),m={};g.type=null,g.coord=[],m.coord=[],g.coord[p]=-1/0,m.coord[p]=1/0;var v=i.get("precision");v>=0&&"number"==typeof h&&(h=+h.toFixed(Math.min(v,20))),g.coord[f]=m.coord[f]=h,a=[g,m,{type:s,valueIndex:a.valueIndex,value:h}]}return(a=[o.dataTransform(t,a[0]),o.dataTransform(t,a[1]),n.extend({},a[2])])[2].type=a[2].type||"",n.merge(a[2],a[0]),n.merge(a[2],a[1]),a};function c(t){return!isNaN(t)&&!isFinite(t)}function d(t,e,i,n){var a=1-t,r=n.dimensions[t];return c(e[a])&&c(i[a])&&e[t]===i[t]&&n.getAxis(r).containData(e[t])}function f(t,e){if("cartesian2d"===t.type){var i=e[0].coord,n=e[1].coord;if(i&&n&&(d(1,i,n,t)||d(0,i,n,t)))return!0}return o.dataFilter(t,e[0])&&o.dataFilter(t,e[1])}function p(t,e,i,n,a){var o,s=n.coordinateSystem,l=t.getItemModel(e),u=r.parsePercent(l.get("x"),a.getWidth()),h=r.parsePercent(l.get("y"),a.getHeight());if(isNaN(u)||isNaN(h)){if(n.getMarkerPosition)o=n.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=s.dimensions,f=t.get(d[0],e),p=t.get(d[1],e);o=s.dataToPoint([f,p])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");d=s.dimensions;c(t.get(d[0],e))?o[0]=g.toGlobalCoord(g.getExtent()[i?0:1]):c(t.get(d[1],e))&&(o[1]=m.toGlobalCoord(m.getExtent()[i?0:1]))}isNaN(u)||(o[0]=u),isNaN(h)||(o[1]=h)}else o=[u,h];t.setItemLayout(e,o)}var g=l.extend({type:"markLine",updateTransform:function(t,e,i){e.eachSeries(function(t){var e=t.markLineModel;if(e){var n=e.getData(),a=e.__from,r=e.__to;a.each(function(e){p(a,e,!0,t,i),p(r,e,!1,t,i)}),n.each(function(t){n.setItemLayout(t,[a.getItemLayout(t),r.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},renderSeries:function(t,e,i,r){var l=t.coordinateSystem,u=t.id,c=t.getData(),d=this.markerGroupMap,g=d.get(u)||d.set(u,new s);this.group.add(g.group);var m=function(t,e,i){var r;r=t?n.map(t&&t.dimensions,function(t){var i=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return n.defaults({name:t},i)}):[{name:"value",type:"float"}];var s=new a(r,i),l=new a(r,i),u=new a([],i),c=n.map(i.get("data"),n.curry(h,e,t,i));t&&(c=n.filter(c,n.curry(f,t)));var d=t?o.dimValueGetter:function(t){return t.value};return s.initData(n.map(c,function(t){return t[0]}),null,d),l.initData(n.map(c,function(t){return t[1]}),null,d),u.initData(n.map(c,function(t){return t[2]})),u.hasItemOption=!0,{from:s,to:l,line:u}}(l,t,e),v=m.from,y=m.to,x=m.line;e.__from=v,e.__to=y,e.setData(x);var _=e.get("symbol"),b=e.get("symbolSize");function w(e,i,n){var a=e.getItemModel(i);p(e,i,n,t,r),e.setItemVisual(i,{symbolSize:a.get("symbolSize")||b[n?0:1],symbol:a.get("symbol",!0)||_[n?0:1],color:a.get("itemStyle.color")||c.getVisual("color")})}n.isArray(_)||(_=[_,_]),"number"==typeof b&&(b=[b,b]),m.from.each(function(t){w(v,t,!0),w(y,t,!1)}),x.each(function(t){var e=x.getItemModel(t).get("lineStyle.color");x.setItemVisual(t,{color:e||v.getItemVisual(t,"color")}),x.setItemLayout(t,[v.getItemLayout(t),y.getItemLayout(t)]),x.setItemVisual(t,{fromSymbolSize:v.getItemVisual(t,"symbolSize"),fromSymbol:v.getItemVisual(t,"symbol"),toSymbolSize:y.getItemVisual(t,"symbolSize"),toSymbol:y.getItemVisual(t,"symbol")})}),g.updateData(x),m.line.eachItemGraphicEl(function(t,i){t.traverse(function(t){t.dataModel=e})}),g.__keep=!0,g.group.silent=e.get("silent")||t.get("silent")}});t.exports=g},MHoB:function(t,e,i){var n=i("bYtY"),a=i("6uqw"),r=i("OELB"),o=[20,140],s=a.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=o[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=o[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):n.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){a.prototype.completeVisualOption.apply(this,arguments),n.each(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)},this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=r.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},getValueState:function(t){var e=this.option.range,i=this.getExtent();return(e[0]<=i[0]||e[0]<=t)&&(e[1]>=i[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),function(e,i){t[0]<=e&&e<=t[1]&&n.push(i)},this),e.push({seriesId:i.id,dataIndex:n})},this),e},getVisualMeta:function(t){var e=l(this,"outOfRange",this.getExtent()),i=l(this,"inRange",this.option.range.slice()),n=[];function a(e,i){n.push({value:e,color:t(e,i)})}for(var r=0,o=0,s=i.length,u=e.length;o<u&&(!i.length||e[o]<=i[0]);o++)e[o]<i[r]&&a(e[o],"outOfRange");for(var h=1;r<s;r++,h=0)h&&n.length&&a(i[r],"outOfRange"),a(i[r],"inRange");for(h=1;o<u;o++)(!i.length||i[i.length-1]<e[o])&&(h&&(n.length&&a(n[n.length-1].value,"outOfRange"),h=0),a(e[o],"outOfRange"));var c=n.length;return{stops:n,outerColors:[c?n[0].color:"transparent",c?n[c-1].color:"transparent"]}}});function l(t,e,i){if(i[0]===i[1])return i.slice();for(var n=(i[1]-i[0])/200,a=i[0],r=[],o=0;o<=200&&a<i[1];o++)r.push(a),a+=n;return r.push(i[1]),r}var u=s;t.exports=u},MHtr:function(t,e,i){var n=i("bYtY");function a(t,e){var i=this.getAxis(),n=e instanceof Array?e[0]:e,a=(t instanceof Array?t[0]:t)/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(n-a)-i.dataToCoord(n+a))}t.exports=function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:n.bind(a,t)}}}},MKOG:function(t,e,i){var n=i("bYtY"),a=i("YH21").Dispatcher,r=i("mLcG"),o=i("Bq2U"),s=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,a.call(this)};s.prototype={constructor:s,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),i=0;i<e.length;i++)this.addClip(e[i])},removeClip:function(t){var e=n.indexOf(this._clips,t);e>=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i<e.length;i++)this.removeClip(e[i]);t.animation=null},_update:function(){for(var t=(new Date).getTime()-this._pausedTime,e=t-this._time,i=this._clips,n=i.length,a=[],r=[],o=0;o<n;o++){var s=i[o],l=s.step(t,e);l&&(a.push(l),r.push(s))}for(o=0;o<n;)i[o]._needsRemove?(i[o]=i[n-1],i.pop(),n--):o++;n=a.length;for(o=0;o<n;o++)r[o].fire(a[o]);this._time=t,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){var t=this;this._running=!0,r(function e(){t._running&&(r(e),!t._paused&&t._update())})},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(t,e){var i=new o(t,(e=e||{}).loop,e.getter,e.setter);return this.addAnimator(i),i}},n.mixin(s,a);var l=s;t.exports=l},MRoa:function(t,e,i){var n=i("ProS");i("0Bwj"),i("W2nI"),i("vcCh");var a=i("gawk"),r=i("Dg8C");n.registerLayout(a),n.registerVisual(r)},MT78:function(t,e,i){var n=i("ProS");!function(){for(var t in n){if(null==n||!n.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=n[t]}}();var a=i("txkQ");!function(){for(var t in a){if(null==a||!a.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=a[t]}}(),i("A1Ka"),i("75ce"),i("lLGD"),i("wDdD"),i("Fa/5"),i("jett"),i("Z1wy"),i("75ev"),i("2uGb"),i("I+77"),i("B+YJ"),i("pLH3"),i("CBdT"),i("MRoa"),i("+lIL"),i("CF2D"),i("ERHi"),i("p+If"),i("XOKv"),i("qt/9"),i("bBL8"),i("1xaR"),i("4Feb"),i("zRKj"),i("L3Oj"),i("0HBW"),i("LPzL"),i("8waO"),i("k5C7"),i("f1nB"),i("sRwP"),i("AH3D"),i("y4/Y"),i("LzGr"),i("Ynxi"),i("7pVf"),i("2w7y"),i("laiN"),i("fjKi"),i("C0tN"),i("0o9m"),i("Cm0C"),i("f3JH"),i("5NHt"),i("VFCP"),i("dBmv"),i("KamJ"),i("8XDt"),i("juDX")},Mdki:function(t,e,i){var n=i("bYtY"),a=n.each,r="\0__link_datas",o="\0__link_mainData";function s(t,e){if((a=this)[o]===a){var i=n.extend({},this[r]);i[this.dataType]=e,c(e,i,t)}else d(e,this.dataType,this[o],t);var a;return e}function l(t,e){return t.struct&&t.struct.update(this),e}function u(t,e){return a(e[r],function(i,n){i!==e&&d(i.cloneShallow(),n,e,t)}),e}function h(t){var e=this[o];return null==t||null==e?e:e[r][t]}function c(t,e,i){t[r]={},a(e,function(e,n){d(e,n,t,i)})}function d(t,e,i,n){i[r][e]=t,t[o]=i,t.dataType=e,n.struct&&(t[n.structAttr]=n.struct,n.struct[n.datasAttr[e]]=t),t.getLinkedData=h}var f=function(t){var e=t.mainData,i=t.datas;i||(i={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,c(e,i,t),a(i,function(i){a(e.TRANSFERABLE_METHODS,function(e){i.wrapMethod(e,n.curry(s,t))})}),e.wrapMethod("cloneShallow",n.curry(u,t)),a(e.CHANGABLE_METHODS,function(i){e.wrapMethod(i,n.curry(l,t))}),n.assert(i[e.dataType]===e)};t.exports=f},Mgri:function(t,e,i){for(var n=i("bYtY"),a=i("8nly"),r=[126,25],o=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],s=0;s<o.length;s++)for(var l=0;l<o[s].length;l++)o[s][l][0]/=10.5,o[s][l][1]/=-14,o[s][l][0]+=r[0],o[s][l][1]+=r[1];t.exports=function(t,e){"china"===t&&e.push(new a("南海诸岛",n.map(o,function(t){return{type:"polygon",exterior:t}}),r))}},MqEG:function(t,e,i){var n=i("bYtY"),a=i("fc+c"),r=i("72pK"),o=i("VXYp"),s=n.bind,l=a.extend({type:"dataZoom.inside",init:function(t,e){this._range},render:function(t,e,i,a){l.superApply(this,"render",arguments),this._range=t.getPercentRange(),n.each(this.getTargetCoordInfo(),function(e,a){var r=n.map(e,function(t){return o.generateCoordId(t.model)});n.each(e,function(e){var l=e.model,h={};n.each(["pan","zoom","scrollMove"],function(t){h[t]=s(u[t],this,e,a)},this),o.register(i,{coordId:o.generateCoordId(l),allCoordIds:r,containsPoint:function(t,e,i){return l.coordinateSystem.containPoint([e,i])},dataZoomId:t.id,dataZoomModel:t,getRange:h})},this)},this)},dispose:function(){o.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null}}),u={zoom:function(t,e,i,n){var a=this._range,o=a.slice(),s=t.axisModels[0];if(s){var l=c[e](null,[n.originX,n.originY],s,i,t),u=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(o[1]-o[0])+o[0],h=Math.max(1/n.scale,0);o[0]=(o[0]-u)*h+u,o[1]=(o[1]-u)*h+u;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return r(0,o,[0,100],0,d.minSpan,d.maxSpan),this._range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}},pan:h(function(t,e,i,n,a,r){var o=c[n]([r.oldX,r.oldY],[r.newX,r.newY],e,a,i);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength}),scrollMove:h(function(t,e,i,n,a,r){return c[n]([0,0],[r.scrollDelta,r.scrollDelta],e,a,i).signal*(t[1]-t[0])*r.scrollDelta})};function h(t){return function(e,i,n,a){var o=this._range,s=o.slice(),l=e.axisModels[0];if(l){var u=t(s,l,e,i,n,a);return r(u,s,[0,100],"all"),this._range=s,o[0]!==s[0]||o[1]!==s[1]?s:void 0}}}var c={grid:function(t,e,i,n,a){var r=i.axis,o={},s=a.model.coordinateSystem.getRect();return t=t||[0,0],"x"===r.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=r.inverse?-1:1),o},polar:function(t,e,i,n,a){var r=i.axis,o={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===i.mainType?(o.pixel=e[0]-t[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=r.inverse?-1:1),o},singleAxis:function(t,e,i,n,a){var r=i.axis,o=a.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===r.orient?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=r.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=r.inverse?-1:1),s}},d=l;t.exports=d},MwEJ:function(t,e,i){var n=i("bYtY"),a=i("YXkt"),r=i("sdST"),o=i("k9D9").SOURCE_FORMAT_ORIGINAL,s=i("L0Ub").getDimensionTypeByAxis,l=i("4NO4").getDataItemValue,u=i("IDmD"),h=i("i38C").getCoordSysDefineBySeries,c=i("7G+c"),d=i("7hqr").enableDataStack;var f=function(t,e,i){i=i||{},c.isInstance(t)||(t=c.seriesDataToSource(t));var f,p=e.get("coordinateSystem"),g=u.get(p),m=h(e);m&&(f=n.map(m.coordSysDims,function(t){var e={name:t},i=m.axisMap.get(t);if(i){var n=i.get("type");e.type=s(n)}return e})),f||(f=g&&(g.getDimensionsInfo?g.getDimensionsInfo():g.dimensions.slice())||["x","y"]);var v,y,x=r(t,{coordDimensions:f,generateCoord:i.generateCoord});m&&n.each(x,function(t,e){var i=t.coordDim,n=m.categoryAxisMap.get(i);n&&(null==v&&(v=e),t.ordinalMeta=n.getOrdinalMeta()),null!=t.otherDims.itemName&&(y=!0)}),y||null==v||(x[v].otherDims.itemName=0);var _=d(e,x),b=new a(x,e);b.setCalculationInfo(_);var w=null!=v&&function(t){if(t.sourceFormat===o){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return null!=e&&!n.isArray(l(e))}}(t)?function(t,e,i,n){return n===v?i:this.defaultDimValueGetter(t,e,i,n)}:null;return b.hasItemOption=!1,b.initData(t,null,w),b};t.exports=f},Mylv:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("IwbS"),o=i("oVpE").createSymbol,s=i("OELB"),l=s.parsePercent,u=s.isNumeric,h=i("56rv").setLabel,c=["itemStyle","borderWidth"],d=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],f=new r.Circle;function p(t,e,i,n){var r=t.getItemLayout(e),o=i.get("symbolRepeat"),s=i.get("symbolClip"),h=i.get("symbolPosition")||"start",d=(i.get("symbolRotate")||0)*Math.PI/180||0,p=i.get("symbolPatternSize")||2,m=i.isAnimationEnabled(),v={dataIndex:e,layout:r,itemModel:i,symbolType:t.getItemVisual(e,"symbol")||"circle",color:t.getItemVisual(e,"color"),symbolClip:s,symbolRepeat:o,symbolRepeatDirection:i.get("symbolRepeatDirection"),symbolPatternSize:p,rotation:d,animationModel:m?i:null,hoverAnimation:m&&i.get("hoverAnimation"),z2:i.getShallow("z",!0)||0};!function(t,e,i,n,r){var o,s=n.valueDim,l=t.get("symbolBoundingData"),u=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),h=u.toGlobalCoord(u.dataToCoord(0)),c=1-+(i[s.wh]<=0);if(a.isArray(l)){var d=[g(u,l[0])-h,g(u,l[1])-h];d[1]<d[0]&&d.reverse(),o=d[c]}else o=null!=l?g(u,l)-h:e?n.coordSysExtent[s.index][c]-h:i[s.wh];r.boundingLength=o,e&&(r.repeatCutLength=i[s.wh]);r.pxSign=o>0?1:o<0?-1:0}(i,o,r,n,v),function(t,e,i,n,r,o,s,u,h,c){var d=h.valueDim,f=h.categoryDim,p=Math.abs(i[f.wh]),g=t.getItemVisual(e,"symbolSize");a.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]);g[f.index]=l(g[f.index],p),g[d.index]=l(g[d.index],n?p:Math.abs(o)),c.symbolSize=g,(c.symbolScale=[g[0]/u,g[1]/u])[d.index]*=(h.isHorizontal?-1:1)*s}(t,e,r,o,0,v.boundingLength,v.pxSign,p,n,v),function(t,e,i,n,a){var r=t.get(c)||0;r&&(f.attr({scale:e.slice(),rotation:i}),f.updateTransform(),r/=f.getLineScale(),r*=e[n.valueDim.index]);a.valueLineWidth=r}(i,v.symbolScale,d,n,v);var y=v.symbolSize,x=i.get("symbolOffset");return a.isArray(x)&&(x=[l(x[0],y[0]),l(x[1],y[1])]),function(t,e,i,n,r,o,s,h,c,d,f,p){var g=f.categoryDim,m=f.valueDim,v=p.pxSign,y=Math.max(e[m.index]+h,0),x=y;if(n){var _=Math.abs(c),b=a.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=l(b,e[m.index]);var S=Math.max(y+2*b,0),M=w?0:2*b,I=u(n),T=I?n:P((_+M)/S),A=_-T*y;S=y+2*(b=A/2/(w?T:T-1)),M=w?0:2*b,I||"fixed"===n||(T=d?P((Math.abs(d)+M)/S):0),x=T*S-M,p.repeatTimes=T,p.symbolMargin=b}var D=v*(x/2),C=p.pathPosition=[];C[g.index]=i[g.wh]/2,C[m.index]="start"===s?D:"end"===s?c-D:c/2,o&&(C[0]+=o[0],C[1]+=o[1]);var L=p.bundlePosition=[];L[g.index]=i[g.xy],L[m.index]=i[m.xy];var k=p.barRectShape=a.extend({},i);k[m.wh]=v*Math.max(Math.abs(i[m.wh]),Math.abs(C[m.index]+D)),k[g.wh]=i[g.wh];var O=p.clipShape={};O[g.xy]=-i[g.xy],O[g.wh]=f.ecSize[g.wh],O[m.xy]=0,O[m.wh]=i[m.wh]}(i,y,r,o,0,x,h,v.valueLineWidth,v.boundingLength,v.repeatCutLength,n,v),v}function g(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function m(t){var e=t.symbolPatternSize,i=o(t.symbolType,-e/2,-e/2,e,e,t.color);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function v(t,e,i,n){var a=t.__pictorialBundle,r=i.symbolSize,o=i.valueLineWidth,s=i.pathPosition,l=e.valueDim,u=i.repeatTimes||0,h=0,c=r[e.valueDim.index]+o+2*i.symbolMargin;for(D(t,function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h<u?C(t,null,p(h),i,n):C(t,null,{scale:[0,0]},i,n,function(){a.remove(t)}),M(t,i),h++});h<u;h++){var d=m(i);d.__pictorialAnimationIndex=h,d.__pictorialRepeatTimes=u,a.add(d);var f=p(h);C(d,{position:f.position,scale:[0,0]},{scale:f.scale,rotation:f.rotation},i,n),d.on("mouseover",g).on("mouseout",v),M(d,i)}function p(t){var e=s.slice(),n=i.pxSign,a=t;return("start"===i.symbolRepeatDirection?n>0:n<0)&&(a=u-1-t),e[l.index]=c*(a-u/2+.5)+s[l.index],{position:e,scale:i.symbolScale.slice(),rotation:i.rotation}}function g(){D(t,function(t){t.trigger("emphasis")})}function v(){D(t,function(t){t.trigger("normal")})}}function y(t,e,i,n){var a=t.__pictorialBundle,r=t.__pictorialMainPath;r?C(r,null,{position:i.pathPosition.slice(),scale:i.symbolScale.slice(),rotation:i.rotation},i,n):(r=t.__pictorialMainPath=m(i),a.add(r),C(r,{position:i.pathPosition.slice(),scale:[0,0],rotation:i.rotation},{scale:i.symbolScale.slice()},i,n),r.on("mouseover",function(){this.trigger("emphasis")}).on("mouseout",function(){this.trigger("normal")})),M(r,i)}function x(t,e,i){var n=a.extend({},e.barRectShape),o=t.__pictorialBarRect;o?C(o,null,{shape:n},e,i):(o=t.__pictorialBarRect=new r.Rect({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(o))}function _(t,e,i,n){if(i.symbolClip){var o=t.__pictorialClipPath,s=a.extend({},i.clipShape),l=e.valueDim,u=i.animationModel,h=i.dataIndex;if(o)r.updateProps(o,{shape:s},u,h);else{s[l.wh]=0,o=new r.Rect({shape:s}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var c={};c[l.wh]=i.clipShape[l.wh],r[n?"updateProps":"initProps"](o,{shape:c},u,h)}}}function b(t,e){var i=t.getItemModel(e);return i.getAnimationDelayParams=w,i.isAnimationEnabled=S,i}function w(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function S(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function M(t,e){t.off("emphasis").off("normal");var i=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",function(){this.animateTo({scale:[1.1*i[0],1.1*i[1]]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:i.slice()},400,"elasticOut")})}function I(t,e,i,n){var a=new r.Group,o=new r.Group;return a.add(o),a.__pictorialBundle=o,o.attr("position",i.bundlePosition.slice()),i.symbolRepeat?v(a,e,i):y(a,0,i),x(a,i,n),_(a,e,i,n),a.__pictorialShapeStr=A(t,i),a.__pictorialSymbolMeta=i,a}function T(t,e,i,n){var o=n.__pictorialBarRect;o&&(o.style.text=null);var s=[];D(n,function(t){s.push(t)}),n.__pictorialMainPath&&s.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),a.each(s,function(t){r.updateProps(t,{scale:[0,0]},i,e,function(){n.parent&&n.parent.remove(n)})}),t.setItemGraphicEl(e,null)}function A(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function D(t,e,i){a.each(t.__pictorialBundle.children(),function(n){n!==t.__pictorialBarRect&&e.call(i,n)})}function C(t,e,i,n,a,o){e&&t.attr(e),n.symbolClip&&!a?i&&t.attr(i):i&&r[a?"updateProps":"initProps"](t,i,n.animationModel,n.dataIndex,o)}function L(t,e,i){var n=i.color,o=i.dataIndex,s=i.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),c=s.getShallow("cursor");D(t,function(t){t.setColor(n),t.setStyle(a.defaults({fill:n,opacity:i.opacity},l)),r.setHoverStyle(t,u),c&&(t.cursor=c),t.z2=i.z2});var d={},f=e.valueDim.posDesc[+(i.boundingLength>0)],p=t.__pictorialBarRect;h(p.style,d,s,n,e.seriesModel,o,f),r.setHoverStyle(p,d)}function P(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var k=n.extendChartView({type:"pictorialBar",render:function(t,e,i){var n=this.group,a=t.getData(),o=this._data,s=t.coordinateSystem,l=!!s.getBaseAxis().isHorizontal(),u=s.grid.getRect(),h={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:t,coordSys:s,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:d[+l],categoryDim:d[1-l]};return a.diff(o).add(function(t){if(a.hasValue(t)){var e=b(a,t),i=p(a,t,e,h),r=I(a,h,i);a.setItemGraphicEl(t,r),n.add(r),L(r,h,i)}}).update(function(t,e){var i=o.getItemGraphicEl(e);if(a.hasValue(t)){var s=b(a,t),l=p(a,t,s,h),u=A(a,l);i&&u!==i.__pictorialShapeStr&&(n.remove(i),a.setItemGraphicEl(t,null),i=null),i?function(t,e,i){var n=i.animationModel,a=i.dataIndex,o=t.__pictorialBundle;r.updateProps(o,{position:i.bundlePosition.slice()},n,a),i.symbolRepeat?v(t,e,i,!0):y(t,e,i,!0);x(t,i,!0),_(t,e,i,!0)}(i,h,l):i=I(a,h,l,!0),a.setItemGraphicEl(t,i),i.__pictorialSymbolMeta=l,n.add(i),L(i,h,l)}else n.remove(i)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&T(o,t,e.__pictorialSymbolMeta.animationModel,e)}).execute(),this._data=a,this.group},dispose:a.noop,remove:function(t,e){var i=this.group,n=this._data;t.get("animation")?n&&n.eachItemGraphicEl(function(e){T(n,e.dataIndex,t,e)}):i.removeAll()}});t.exports=k},N5BQ:function(t,e,i){var n=i("OlYY").extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}});t.exports=n},NA0q:function(t,e,i){var n=i("bYtY"),a=i("6Ic6"),r=i("TkdX"),o=i("gPAo"),s=a.extend({type:"sunburst",init:function(){},render:function(t,e,i,a){var s=this;this.seriesModel=t,this.api=i,this.ecModel=e;var l=t.getData(),u=l.tree.root,h=t.getViewRoot(),c=this.group,d=t.get("renderLabelForZeroData"),f=[];h.eachNode(function(t){f.push(t)});var p=this._oldChildren||[];if(function(i,a){if(0===i.length&&0===a.length)return;function s(t){return t.getId()}function h(n,o){var s=null==n?null:i[n],h=null==o?null:a[o];!function(i,n){d||!i||i.getValue()||(i=null);if(i!==u&&n!==u)if(n&&n.piece)i?(n.piece.updateData(!1,i,"normal",t,e),l.setItemGraphicEl(i.dataIndex,n.piece)):function(t){if(!t)return;t.piece&&(c.remove(t.piece),t.piece=null)}(n);else if(i){var a=new r(i,t,e);c.add(a),l.setItemGraphicEl(i.dataIndex,a)}}(s,h)}new o(a,i,s,s).add(h).update(h).remove(n.curry(h,null)).execute()}(f,p),function(i,n){if(n.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,i,"normal",t,e):(s.virtualPiece=new r(i,t,e),c.add(s.virtualPiece)),n.piece._onclickEvent&&n.piece.off("click",n.piece._onclickEvent);var a=function(t){s._rootToNode(n.parentNode)};n.piece._onclickEvent=a,s.virtualPiece.on("click",a)}else s.virtualPiece&&(c.remove(s.virtualPiece),s.virtualPiece=null)}(u,h),a&&a.highlight&&a.highlight.piece){var g=t.getShallow("highlightPolicy");a.highlight.piece.onEmphasis(g)}else if(a&&a.unhighlight){var m=this.virtualPiece;!m&&u.children.length&&(m=u.children[0].piece),m&&m.onNormal()}this._initEvents(),this._oldChildren=f},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var i=!1;t.seriesModel.getViewRoot().eachNode(function(n){if(!i&&n.piece&&n.piece.childAt(0)===e.target){var a=n.getModel().get("nodeClick");if("rootToNode"===a)t._rootToNode(n);else if("link"===a){var r=n.getModel(),o=r.get("link");if(o){var s=r.get("target",!0)||"_blank";window.open(o,s)}}i=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var i=e.getData().getItemLayout(0);if(i){var n=t[0]-i.cx,a=t[1]-i.cy,r=Math.sqrt(n*n+a*a);return r<=i.r&&r>=i.r0}}});t.exports=s},NC18:function(t,e,i){var n=i("y+Vt"),a=i("IMiH"),r=i("7oTu"),o=Math.sqrt,s=Math.sin,l=Math.cos,u=Math.PI,h=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},c=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(h(t)*h(e))},d=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(c(t,e))};function f(t,e,i,n,a,r,h,f,p,g,m){var v=p*(u/180),y=l(v)*(t-i)/2+s(v)*(e-n)/2,x=-1*s(v)*(t-i)/2+l(v)*(e-n)/2,_=y*y/(h*h)+x*x/(f*f);_>1&&(h*=o(_),f*=o(_));var b=(a===r?-1:1)*o((h*h*(f*f)-h*h*(x*x)-f*f*(y*y))/(h*h*(x*x)+f*f*(y*y)))||0,w=b*h*x/f,S=b*-f*y/h,M=(t+i)/2+l(v)*w-s(v)*S,I=(e+n)/2+s(v)*w+l(v)*S,T=d([1,0],[(y-w)/h,(x-S)/f]),A=[(y-w)/h,(x-S)/f],D=[(-1*y-w)/h,(-1*x-S)/f],C=d(A,D);c(A,D)<=-1&&(C=u),c(A,D)>=1&&(C=0),0===r&&C>0&&(C-=2*u),1===r&&C<0&&(C+=2*u),m.addData(g,M,I,h,f,T,C,v,r)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function m(t,e){var i=function(t){if(!t)return new a;for(var e,i=0,n=0,r=i,o=n,s=new a,l=a.CMD,u=t.match(p),h=0;h<u.length;h++){for(var c,d=u[h],m=d.charAt(0),v=d.match(g)||[],y=v.length,x=0;x<y;x++)v[x]=parseFloat(v[x]);for(var _=0;_<y;){var b,w,S,M,I,T,A,D=i,C=n;switch(m){case"l":i+=v[_++],n+=v[_++],c=l.L,s.addData(c,i,n);break;case"L":i=v[_++],n=v[_++],c=l.L,s.addData(c,i,n);break;case"m":i+=v[_++],n+=v[_++],c=l.M,s.addData(c,i,n),r=i,o=n,m="l";break;case"M":i=v[_++],n=v[_++],c=l.M,s.addData(c,i,n),r=i,o=n,m="L";break;case"h":i+=v[_++],c=l.L,s.addData(c,i,n);break;case"H":i=v[_++],c=l.L,s.addData(c,i,n);break;case"v":n+=v[_++],c=l.L,s.addData(c,i,n);break;case"V":n=v[_++],c=l.L,s.addData(c,i,n);break;case"C":c=l.C,s.addData(c,v[_++],v[_++],v[_++],v[_++],v[_++],v[_++]),i=v[_-2],n=v[_-1];break;case"c":c=l.C,s.addData(c,v[_++]+i,v[_++]+n,v[_++]+i,v[_++]+n,v[_++]+i,v[_++]+n),i+=v[_-2],n+=v[_-1];break;case"S":b=i,w=n;var L=s.len(),P=s.data;e===l.C&&(b+=i-P[L-4],w+=n-P[L-3]),c=l.C,D=v[_++],C=v[_++],i=v[_++],n=v[_++],s.addData(c,b,w,D,C,i,n);break;case"s":b=i,w=n,L=s.len(),P=s.data,e===l.C&&(b+=i-P[L-4],w+=n-P[L-3]),c=l.C,D=i+v[_++],C=n+v[_++],i+=v[_++],n+=v[_++],s.addData(c,b,w,D,C,i,n);break;case"Q":D=v[_++],C=v[_++],i=v[_++],n=v[_++],c=l.Q,s.addData(c,D,C,i,n);break;case"q":D=v[_++]+i,C=v[_++]+n,i+=v[_++],n+=v[_++],c=l.Q,s.addData(c,D,C,i,n);break;case"T":b=i,w=n,L=s.len(),P=s.data,e===l.Q&&(b+=i-P[L-4],w+=n-P[L-3]),i=v[_++],n=v[_++],c=l.Q,s.addData(c,b,w,i,n);break;case"t":b=i,w=n,L=s.len(),P=s.data,e===l.Q&&(b+=i-P[L-4],w+=n-P[L-3]),i+=v[_++],n+=v[_++],c=l.Q,s.addData(c,b,w,i,n);break;case"A":S=v[_++],M=v[_++],I=v[_++],T=v[_++],A=v[_++],f(D=i,C=n,i=v[_++],n=v[_++],T,A,S,M,I,c=l.A,s);break;case"a":S=v[_++],M=v[_++],I=v[_++],T=v[_++],A=v[_++],f(D=i,C=n,i+=v[_++],n+=v[_++],T,A,S,M,I,c=l.A,s)}}"z"!==m&&"Z"!==m||(c=l.Z,s.addData(c),i=r,n=o),e=c}return s.toStatic(),s}(t);return(e=e||{}).buildPath=function(t){if(t.setData){t.setData(i.data),(e=t.getContext())&&t.rebuildPath(e)}else{var e=t;i.rebuildPath(e)}},e.applyTransform=function(t){r(i,t),this.dirty(!0)},e}e.createFromString=function(t,e){return new n(m(t,e))},e.extendFromString=function(t,e){return n.extend(m(t,e))},e.mergePath=function(t,e){for(var i=[],a=t.length,r=0;r<a;r++){var o=t[r];o.path||o.createPathProxy(),o.__dirtyPath&&o.buildPath(o.path,o.shape,!0),i.push(o.path)}var s=new n(e);return s.createPathProxy(),s.buildPath=function(t){t.appendPath(i);var e=t.getContext();e&&t.rebuildPath(e)},s}},NH9N:function(t,e,i){var n=i("bYtY"),a=i("mFDi"),r=i("Fofx"),o=i("IwbS"),s=i("+TT/"),l=i("kzvK"),u=i("CMP+"),h=i("oVpE").createSymbol,c=i("aX7z"),d=i("OELB"),f=i("7aKB").encodeHTML,p=n.bind,g=n.each,m=Math.PI,v=l.extend({type:"timeline.slider",init:function(t,e){this.api=e,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(t,e,i,n){if(this.model=t,this.api=i,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var a=this._layout(t,i),r=this._createGroup("mainGroup"),o=this._createGroup("labelGroup"),s=this._axis=this._createAxis(a,t);t.formatTooltip=function(t){return f(s.scale.getLabel(t))},g(["AxisLine","AxisTick","Control","CurrentPointer"],function(e){this["_render"+e](a,r,s,t)},this),this._renderAxisLabel(a,o,s,t),this._position(a,t)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(t,e){var i=t.get("label.position"),n=t.get("orient"),a=function(t,e){return s.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e);null==i||"auto"===i?i="horizontal"===n?a.y+a.height/2<e.getHeight()/2?"-":"+":a.x+a.width/2<e.getWidth()/2?"+":"-":isNaN(i)&&(i={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[n][i]);var r,o,l,u,h={horizontal:"center",vertical:i>=0||"+"===i?"left":"right"},c={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:m/2},f="vertical"===n?a.height:a.width,p=t.getModel("controlStyle"),g=p.get("show",!0),v=g?p.get("itemSize"):0,y=g?p.get("itemGap"):0,x=v+y,_=t.get("label.rotate")||0;_=_*m/180;var b=p.get("position",!0),w=g&&p.get("showPlayBtn",!0),S=g&&p.get("showPrevBtn",!0),M=g&&p.get("showNextBtn",!0),I=0,T=f;return"left"===b||"bottom"===b?(w&&(r=[0,0],I+=x),S&&(o=[I,0],I+=x),M&&(l=[T-v,0],T-=x)):(w&&(r=[T-v,0],T-=x),S&&(o=[0,0],I+=x),M&&(l=[T-v,0],T-=x)),u=[I,T],t.get("inverse")&&u.reverse(),{viewRect:a,mainLength:f,orient:n,rotation:d[n],labelRotation:_,labelPosOpt:i,labelAlign:t.get("label.align")||h[n],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||c[n],playPosition:r,prevBtnPosition:o,nextBtnPosition:l,axisExtent:u,controlSize:v,controlGap:y}},_position:function(t,e){var i=this._mainGroup,n=this._labelGroup,a=t.viewRect;if("vertical"===t.orient){var o=r.create(),s=a.x,l=a.y+a.height;r.translate(o,o,[-s,-l]),r.rotate(o,o,-m/2),r.translate(o,o,[s,l]),(a=a.clone()).applyTransform(o)}var u=y(a),h=y(i.getBoundingRect()),c=y(n.getBoundingRect()),d=i.position,f=n.position;f[0]=d[0]=u[0][0];var p,g=t.labelPosOpt;isNaN(g)?(x(d,h,u,1,p="+"===g?0:1),x(f,c,u,1,1-p)):(x(d,h,u,1,p=g>=0?0:1),f[1]=d[1]+g);function v(t){var e=t.position;t.origin=[u[0][0]-e[0],u[1][0]-e[1]]}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function x(t,e,i,n,a){t[n]+=i[n][a]-e[n][a]}i.attr("position",d),n.attr("position",f),i.rotation=n.rotation=t.rotation,v(i),v(n)},_createAxis:function(t,e){var i=e.getData(),n=e.get("axisType"),a=c.createScaleByModel(e,n);a.getTicks=function(){return i.mapArray(["value"],function(t){return t})};var r=i.getDataExtent("value");a.setExtent(r[0],r[1]),a.niceTicks();var o=new u("value",a,t.axisExtent,n);return o.model=e,o},_createGroup:function(t){var e=this["_"+t]=new o.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,i,a){var r=i.getExtent();a.get("lineStyle.show")&&e.add(new o.Line({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:n.extend({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,i,n){var a=n.getData(),r=i.scale.getTicks();g(r,function(t){var r=i.dataToCoord(t),s=a.getItemModel(t),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),h={position:[r,0],onclick:p(this._changeTimeline,this,t)},c=y(s,l,e,h);o.setHoverStyle(c,u.getItemStyle()),s.get("tooltip")?(c.dataIndex=t,c.dataModel=n):c.dataIndex=c.dataModel=null},this)},_renderAxisLabel:function(t,e,i,n){if(i.getLabelModel().get("show")){var a=n.getData(),r=i.getViewLabels();g(r,function(n){var r=n.tickValue,s=a.getItemModel(r),l=s.getModel("label"),u=s.getModel("emphasis.label"),h=i.dataToCoord(n.tickValue),c=new o.Text({position:[h,0],rotation:t.labelRotation-t.rotation,onclick:p(this._changeTimeline,this,r),silent:!1});o.setTextStyle(c.style,l,{text:n.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(c),o.setHoverStyle(c,o.setTextStyle({},u))},this)}},_renderControl:function(t,e,i,r){var s=t.controlSize,l=t.rotation,u=r.getModel("controlStyle").getItemStyle(),h=r.getModel("emphasis.controlStyle").getItemStyle(),c=[0,-s/2,s,s],d=r.getPlayState(),f=r.get("inverse",!0);function g(t,i,d,f){if(t){var p=function(t,e,i,r){return o.makePath(t.get(e).replace(/^path:\/\//,""),n.clone(r||{}),new a(i[0],i[1],i[2],i[3]),"center")}(r,i,c,{position:t,origin:[s/2,0],rotation:f?-l:0,rectHover:!0,style:u,onclick:d});e.add(p),o.setHoverStyle(p,h)}}g(t.nextBtnPosition,"controlStyle.nextIcon",p(this._changeTimeline,this,f?"-":"+")),g(t.prevBtnPosition,"controlStyle.prevIcon",p(this._changeTimeline,this,f?"+":"-")),g(t.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),p(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(t,e,i,n){var a=n.getData(),r=n.getCurrentIndex(),o=a.getItemModel(r).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=p(s._handlePointerDrag,s),t.ondragend=p(s._handlePointerDragend,s),x(t,r,i,n,!0)},onUpdate:function(t){x(t,r,i,n)}};this._currentPointer=y(o,o,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var i=this._toAxisCoord(t)[0],n=this._axis,a=d.asc(n.getExtent().slice());i>a[1]&&(i=a[1]),i<a[0]&&(i=a[0]),this._currentPointer.position[0]=i,this._currentPointer.dirty();var r=this._findNearestTick(i),o=this.model;(e||r!==o.getCurrentIndex()&&o.get("realtime"))&&this._changeTimeline(r)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(p(function(){var t=this.model;this._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))},this),this.model.get("playInterval")))},_toAxisCoord:function(t){var e=this._mainGroup.getLocalTransform();return o.applyTransform(t,e,!0)},_findNearestTick:function(t){var e,i=this.model.getData(),n=1/0,a=this._axis;return i.each(["value"],function(i,r){var o=a.dataToCoord(i),s=Math.abs(o-t);s<n&&(n=s,e=r)}),e},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})}});function y(t,e,i,a,r,o){var s=e.get("color");if(r)r.setColor(s),i.add(r),o&&o.onUpdate(r);else{var l=t.get("symbol");(r=h(l,-1,-1,2,2,s)).setStyle("strokeNoScale",!0),i.add(r),o&&o.onCreate(r)}var u=e.getItemStyle(["color","symbol","symbolSize"]);r.setStyle(u),a=n.merge({rectHover:!0,z2:100},a,!0);var c=t.get("symbolSize");(c=c instanceof Array?c.slice():[+c,+c])[0]/=2,c[1]/=2,a.scale=c;var f=t.get("symbolOffset");if(f){var p=a.position=a.position||[0,0];p[0]+=d.parsePercent(f[0],c[0]),p[1]+=d.parsePercent(f[1],c[1])}var g=t.get("symbolRotate");return a.rotation=(g||0)*Math.PI/180||0,r.attr(a),r.updateTransform(),r}function x(t,e,i,n,a){if(!t.dragging){var r=n.getModel("checkpointStyle"),o=i.dataToCoord(n.getData().get(["value"],e));a||!r.get("animation",!0)?t.attr({position:[o,0]}):(t.stopAnimation(!0),t.animateTo({position:[o,0]},r.get("animationDuration",!0),r.get("animationEasing",!0)))}}t.exports=v},OELB:function(t,e,i){var n=i("bYtY"),a=1e-4;var r=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function o(t){return Math.floor(Math.log(t)/Math.LN10)}e.linearMap=function(t,e,i,n){var a=e[1]-e[0],r=i[1]-i[0];if(0===a)return 0===r?i[0]:(i[0]+i[1])/2;if(n)if(a>0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/a*r+i[0]},e.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?(i=t,i.replace(/^\s+/,"").replace(/\s+$/,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var i},e.round=function(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t},e.asc=function(t){return t.sort(function(t,e){return t-e}),t},e.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i},e.getPrecisionSafe=function(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},e.getPixelPrecision=function(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},e.getPercentWithPrecision=function(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;for(var r=Math.pow(10,i),o=n.map(t,function(t){return(isNaN(t)?0:t)/a*r*100}),s=100*r,l=n.map(o,function(t){return Math.floor(t)}),u=n.reduce(l,function(t,e){return t+e},0),h=n.map(o,function(t,e){return t-l[e]});u<s;){for(var c=Number.NEGATIVE_INFINITY,d=null,f=0,p=h.length;f<p;++f)h[f]>c&&(c=h[f],d=f);++l[d],h[d]=0,++u}return l[e]/r},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return t>-a&&t<a},e.parseDate=function(t){if(t instanceof Date)return t;if("string"==typeof t){var e=r.exec(t);if(!e)return new Date(NaN);if(e[8]){var i=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(i-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,i,+(e[5]||0),+e[6]||0,+e[7]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))},e.quantity=function(t){return Math.pow(10,o(t))},e.nice=function(t,e){var i=o(t),n=Math.pow(10,i),a=t/n;return t=(e?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10)*n,i>=-20?+t.toFixed(i<0?-i:0):t},e.quantile=function(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},e.reformIntervals=function(t){t.sort(function(t,e){return function t(e,i,n){return e.interval[n]<i.interval[n]||e.interval[n]===i.interval[n]&&(e.close[n]-i.close[n]==(n?-1:1)||!n&&t(e,i,1))}(t,e,0)?-1:1});for(var e=-1/0,i=1,n=0;n<t.length;){for(var a=t[n].interval,r=t[n].close,o=0;o<2;o++)a[o]<=e&&(a[o]=e,r[o]=o?1:1-i),e=a[o],i=r[o];a[0]===a[1]&&r[0]*r[1]!=1?t.splice(n,1):n++}return t},e.isNumeric=function(t){return t-parseFloat(t)>=0}},OKJ2:function(t,e,i){var n=i("KxfA").retrieveRawValue,a=i("7aKB"),r=a.getTooltipMarker,o=a.formatTpl,s=i("4NO4").getTooltipRenderMode,l=/\{@(.+?)\}/g,u={getDataParams:function(t,e){var i=this.getData(e),n=this.getRawValue(t,e),a=i.getRawIndex(t),o=i.getName(t),l=i.getRawDataItem(t),u=i.getItemVisual(t,"color"),h=this.ecModel.getComponent("tooltip"),c=h&&h.get("renderMode"),d=s(c),f=this.mainType,p="series"===f,g=i.userOutput;return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:p?this.subType:null,seriesIndex:this.seriesIndex,seriesId:p?this.id:null,seriesName:p?this.name:null,name:o,dataIndex:a,data:l,dataType:e,value:n,color:u,dimensionNames:g?g.dimensionNames:null,encode:g?g.encode:null,marker:r({color:u,renderMode:d}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,i,a,r){e=e||"normal";var s=this.getData(i),u=s.getItemModel(t),h=this.getDataParams(t,i);null!=a&&h.value instanceof Array&&(h.value=h.value[a]);var c=u.get("normal"===e?[r||"label","formatter"]:[e,r||"label","formatter"]);return"function"==typeof c?(h.status=e,h.dimensionIndex=a,c(h)):"string"==typeof c?o(c,h).replace(l,function(e,i){var a=i.length;return"["===i.charAt(0)&&"]"===i.charAt(a-1)&&(i=+i.slice(1,a-1)),n(s,t,i)}):void 0},getRawValue:function(t,e){return n(this.getData(e),t)},formatTooltip:function(){}};t.exports=u},OQFs:function(t,e,i){var n=i("KCsZ")([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),a={getLineStyle:function(t){var e=n(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=a},OS9S:function(t,e,i){var n=i("bYtY").inherits,a=i("Gev7"),r=i("mFDi");function o(t){a.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}o.prototype.incremental=!0,o.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},o.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},o.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i<t.length;i++)this.addDisplayable(t[i],e)},o.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},o.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){(e=this._displayables[t]).parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},o.prototype.brush=function(t,e){for(var i=this._cursor;i<this._displayables.length;i++){(n=this._displayables[i]).beforeBrush&&n.beforeBrush(t),n.brush(t,i===this._cursor?null:this._displayables[i-1]),n.afterBrush&&n.afterBrush(t)}this._cursor=i;for(i=0;i<this._temporaryDisplayables.length;i++){var n;(n=this._temporaryDisplayables[i]).beforeBrush&&n.beforeBrush(t),n.brush(t,0===i?null:this._temporaryDisplayables[i-1]),n.afterBrush&&n.afterBrush(t)}this._temporaryDisplayables=[],this.notClear=!0};var s=[];o.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new r(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var i=this._displayables[e],n=i.getBoundingRect().clone();i.needLocalTransform()&&n.applyTransform(i.getLocalTransform(s)),t.union(n)}this._rect=t}return this._rect},o.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(i[0],i[1]))for(var n=0;n<this._displayables.length;n++){if(this._displayables[n].contain(t,e))return!0}return!1},n(o,a);var l=o;t.exports=l},OUJF:function(t,e,i){var n=i("ProS"),a=i("bYtY");n.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,e){var i=e.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.setPlayState(!1)),e.resetOption("timeline"),a.defaults({currentIndex:i.option.currentIndex},t)}),n.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,e){var i=e.getComponent("timeline");i&&null!=t.playState&&i.setPlayState(t.playState)})},OXB0:function(t,e,i){var n=i("T4UG"),a=i("MwEJ"),r=i("IDmD"),o=n.extend({type:"series.heatmap",getInitialData:function(t,e){return a(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var t=r.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});t.exports=o},OlYY:function(t,e,i){i("Tghj").__DEV__;var n=i("ProS"),a=i("bYtY"),r=i("ItGF"),o=i("4NO4"),s=i("UOVi"),l=i("zDms"),u=a.each,h=s.eachAxisDim;function c(t){var e={};return u(["start","end","startValue","endValue","throttle"],function(i){t.hasOwnProperty(i)&&(e[i]=t[i])}),e}function d(t,e){var i=t._rangePropMode,n=t.get("rangeMode");u([["start","startValue"],["end","endValue"]],function(t,a){var r=null!=e[t[0]],o=null!=e[t[1]];r&&!o?i[a]="percent":!r&&o?i[a]="value":n?i[a]=n[a]:r&&(i[a]="percent")})}var f=n.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,e,i){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var n=c(t);this.mergeDefaultAndTheme(t,i),this.doInit(n)},mergeOption:function(t){var e=c(t);a.merge(this.option,t,!0),this.doInit(e)},doInit:function(t){var e=this.option;r.canvasSupported||(e.realtime=!1),this._setDefaultThrottle(t),d(this,t),u([["start","startValue"],["end","endValue"]],function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(e,i,n,a){var r=this.dependentModels[e.axis][i],o=r.__dzAxisProxy||(r.__dzAxisProxy=new l(e.name,i,this,a));t[e.name+"_"+i]=o},this)},_resetTarget:function(){var t=this.option,e=this._judgeAutoMode();h(function(e){var i=e.axisIndex;t[i]=o.normalizeToArray(t[i])},this),"axisIndex"===e?this._autoSetAxisIndex():"orient"===e&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,e=!1;h(function(i){null!=t[i.axisIndex]&&(e=!0)},this);var i=t.orient;return null==i&&e?"orient":e?void 0:(null==i&&(t.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var t=!0,e=this.get("orient",!0),i=this.option,n=this.dependentModels;if(t){var r="vertical"===e?"y":"x";n[r+"Axis"].length?(i[r+"AxisIndex"]=[0],t=!1):u(n.singleAxis,function(n){t&&n.get("orient",!0)===e&&(i.singleAxisIndex=[n.componentIndex],t=!1)})}t&&h(function(e){if(t){var n=[],a=this.dependentModels[e.axis];if(a.length&&!n.length)for(var r=0,o=a.length;r<o;r++)"category"===a[r].get("type")&&n.push(r);i[e.axisIndex]=n,n.length&&(t=!1)}},this),t&&this.ecModel.eachSeries(function(t){this._isSeriesHasAllAxesTypeOf(t,"value")&&h(function(e){var n=i[e.axisIndex],r=t.get(e.axisIndex),o=t.get(e.axisId);r=t.ecModel.queryComponents({mainType:e.axis,index:r,id:o})[0].componentIndex,a.indexOf(n,r)<0&&n.push(r)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(e){!t&&(t=e.name)},this),this.option.orient="y"===t?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,e){var i=!0;return h(function(n){var a=t.get(n.axisIndex),r=this.dependentModels[n.axis][a];r&&r.get("type")===e||(i=!1)},this),i},_setDefaultThrottle:function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var t;return h(function(e){if(null==t){var i=this.get(e.axisIndex);i.length&&(t=this.dependentModels[e.axis][i[0]])}},this),t},eachTargetAxis:function(t,e){var i=this.ecModel;h(function(n){u(this.get(n.axisIndex),function(a){t.call(e,n,a,this,i)},this)},this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var i=this.getAxisProxy(t,e);return i&&i.getAxisModel()},setRawRange:function(t,e){var i=this.option;u([["start","startValue"],["end","endValue"]],function(e){null==t[e[0]]&&null==t[e[1]]||(i[e[0]]=t[e[0]],i[e[1]]=t[e[1]])},this),!e&&d(this,t)},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var i in e)if(e.hasOwnProperty(i)&&e[i].hostedBy(this))return e[i];for(var i in e)if(e.hasOwnProperty(i)&&!e[i].hostedBy(this))return e[i]},getRangePropMode:function(){return this._rangePropMode.slice()}});t.exports=f},P47w:function(t,e,i){var n=i("hydK").createElement,a=i("IMiH"),r=i("mFDi"),o=i("Fofx"),s=i("6GrX"),l=i("pzxd"),u=i("dqUG"),h=a.CMD,c=Array.prototype.join,d="none",f=Math.round,p=Math.sin,g=Math.cos,m=Math.PI,v=2*Math.PI,y=180/m,x=1e-4;function _(t){return f(1e4*t)/1e4}function b(t){return t<x&&t>-x}function w(t,e){e&&S(t,"transform","matrix("+c.call(e,",")+")")}function S(t,e,i){(!i||"linear"!==i.type&&"radial"!==i.type)&&t.setAttribute(e,i)}function M(t,e,i,n){if(function(t,e){var i=e?t.textFill:t.fill;return null!=i&&i!==d}(e,i)){var a=i?e.textFill:e.fill;S(t,"fill",a="transparent"===a?d:a),S(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else S(t,"fill",d);if(function(t,e){var i=e?t.textStroke:t.stroke;return null!=i&&i!==d}(e,i)){var r=i?e.textStroke:e.stroke;S(t,"stroke",r="transparent"===r?d:r),S(t,"stroke-width",(i?e.textStrokeWidth:e.lineWidth)/(!i&&e.strokeNoScale?n.getLineScale():1)),S(t,"paint-order",i?"stroke":"fill"),S(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity),e.lineDash?(S(t,"stroke-dasharray",e.lineDash.join(",")),S(t,"stroke-dashoffset",f(e.lineDashOffset||0))):S(t,"stroke-dasharray",""),e.lineCap&&S(t,"stroke-linecap",e.lineCap),e.lineJoin&&S(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&S(t,"stroke-miterlimit",e.miterLimit)}else S(t,"stroke",d)}var I={};I.brush=function(t){var e=t.style,i=t.__svgEl;i||(i=n("path"),t.__svgEl=i),t.path||t.createPathProxy();var a=t.path;if(t.__dirtyPath){a.beginPath(),a.subPixelOptimize=!1,t.buildPath(a,t.shape),t.__dirtyPath=!1;var r=function(t){for(var e=[],i=t.data,n=t.len(),a=0;a<n;){var r="",o=0;switch(i[a++]){case h.M:r="M",o=2;break;case h.L:r="L",o=2;break;case h.Q:r="Q",o=4;break;case h.C:r="C",o=6;break;case h.A:var s=i[a++],l=i[a++],u=i[a++],c=i[a++],d=i[a++],x=i[a++],w=i[a++],S=i[a++],M=Math.abs(x),I=b(M-v)&&!b(M),T=!1;T=M>=v||!b(M)&&(x>-m&&x<0||x>m)==!!S;var A=_(s+u*g(d)),D=_(l+c*p(d));I&&(x=S?v-1e-4:1e-4-v,T=!0,9===a&&e.push("M",A,D));var C=_(s+u*g(d+x)),L=_(l+c*p(d+x));e.push("A",_(u),_(c),f(w*y),+T,+S,C,L);break;case h.Z:r="Z";break;case h.R:C=_(i[a++]),L=_(i[a++]);var P=_(i[a++]),k=_(i[a++]);e.push("M",C,L,"L",C+P,L,"L",C+P,L+k,"L",C,L+k,"L",C,L)}r&&e.push(r);for(var O=0;O<o;O++)e.push(_(i[a++]))}return e.join(" ")}(a);r.indexOf("NaN")<0&&S(i,"d",r)}M(i,e,!1,t),w(i,t.transform),null!=e.text&&L(t,t.getBoundingRect())};var T={brush:function(t){var e=t.style,i=e.image;i instanceof HTMLImageElement&&(i=i.src);if(i){var a=e.x||0,r=e.y||0,o=e.width,s=e.height,l=t.__svgEl;l||(l=n("image"),t.__svgEl=l),i!==t.__imageSrc&&(!function(t,e,i){t.setAttributeNS("http://www.w3.org/1999/xlink",e,i)}(l,"href",i),t.__imageSrc=i),S(l,"width",o),S(l,"height",s),S(l,"x",a),S(l,"y",r),w(l,t.transform),null!=e.text&&L(t,t.getBoundingRect())}}},A={},D=new r,C={},L=function(t,e,i){var a=t.style;t.__dirty&&l.normalizeTextStyle(a,!0);var r=a.text;if(null!=r){r+="";var h,c,d=t.__textSvgEl;d||(d=n("text"),t.__textSvgEl=d);var f=a.textPosition,p=a.textAlign||"left";"number"==typeof a.fontSize&&(a.fontSize+="px");var g=a.font||[a.fontStyle||"",a.fontWeight||"",a.fontSize||"",a.fontFamily||""].join(" ")||s.DEFAULT_FONT,m=a.textVerticalAlign,v=(i=s.getBoundingRect(r,g,p,m,a.textPadding,a.textLineHeight)).lineHeight;if(f instanceof Array)h=e.x+f[0],c=e.y+f[1];else{var y=t.calculateTextPosition?t.calculateTextPosition(C,a,e):s.calculateTextPosition(C,a,e);h=y.x,c=y.y,m=y.textVerticalAlign,p=y.textAlign}P(d,m),g&&(d.style.font=g);var x=a.textPadding;if(S(d,"x",h),S(d,"y",c),M(d,a,!0,t),t instanceof u||t.style.transformText)w(d,t.transform);else{if(t.transform)D.copy(e),D.applyTransform(t.transform),e=D;else{var _=t.transformCoordToGlobal(e.x,e.y);e.x=_[0],e.y=_[1],t.transform=o.identity(o.create())}var b=a.textOrigin;"center"===b?(h=i.width/2+h,c=i.height/2+c):b&&(h=b[0]+h,c=b[1]+c);var I=-a.textRotation||0,T=o.create();o.rotate(T,T,I);_=[t.transform[4],t.transform[5]];o.translate(T,T,_),w(d,T)}var A=r.split("\n"),L=A.length,k=p;"left"===k?(k="start",x&&(h+=x[3])):"right"===k?(k="end",x&&(h-=x[1])):"center"===k&&(k="middle",x&&(h+=(x[3]-x[1])/2));var O=0;if("bottom"===m?(O=-i.height+v,x&&(O-=x[2])):"middle"===m?(O=(-i.height+v)/2,x&&(c+=(x[0]-x[2])/2)):x&&(O+=x[0]),t.__text!==r||t.__textFont!==g){var E=t.__tspanList||[];t.__tspanList=E;for(var N=0;N<L;N++){(z=E[N])?z.innerHTML="":(z=E[N]=n("tspan"),d.appendChild(z),P(z,m),S(z,"text-anchor",k)),S(z,"x",h),S(z,"y",c+N*v+O),z.appendChild(document.createTextNode(A[N]))}for(;N<E.length;N++)d.removeChild(E[N]);E.length=L,t.__text=r,t.__textFont=g}else if(t.__tspanList.length){var R=t.__tspanList.length;for(N=0;N<R;++N){var z;(z=t.__tspanList[N])&&(S(z,"x",h),S(z,"y",c+N*v+O))}}}};function P(t,e){switch(e){case"middle":S(t,"dominant-baseline","middle"),S(t,"alignment-baseline","middle");break;case"bottom":S(t,"dominant-baseline","ideographic"),S(t,"alignment-baseline","ideographic");break;default:S(t,"dominant-baseline","hanging"),S(t,"alignment-baseline","hanging")}}A.drawRectText=L,A.brush=function(t){var e=t.style;null!=e.text&&(e.textPosition=[0,0],L(t,{x:e.x||0,y:e.y||0,width:0,height:0},t.getBoundingRect()))},e.path=I,e.image=T,e.text=A},PNag:function(t,e,i){var n=i("bYtY"),a=i("SKnc"),r=i("YH21"),o=i("crZl"),s=i("IwbS"),l=i("OELB"),u=i("72pK"),h=i("y7Aq"),c=i("4NO4"),d=l.linearMap,f=n.each,p=Math.min,g=Math.max,m=12,v=6,y=o.extend({type:"visualMap.continuous",init:function(){y.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,i,n){n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var i=t.get("text");this._renderEndsText(e,i,0),this._renderEndsText(e,i,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,i){if(e){var n=e[1-i];n=null!=n?n+"":"";var a=this.visualMapModel,r=a.get("textGap"),o=a.itemSize,l=this._shapes.barGroup,u=this._applyTransform([o[0]/2,0===i?-r:o[1]+r],l),h=this._applyTransform(0===i?"bottom":"top",l),c=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===c?"middle":h,textAlign:"horizontal"===c?h:"center",text:n,textFont:d.getFont(),textFill:d.getTextColor()}}))}},_renderBar:function(t){var e=this.visualMapModel,i=this._shapes,a=e.itemSize,r=this._orient,o=this._useHandle,s=h.getItemAlign(e,this.api,a),l=i.barGroup=this._createBarGroup(s);l.add(i.outOfRange=x()),l.add(i.inRange=x(null,o?b(this._orient):null,n.bind(this._dragHandle,this,"all",!1),n.bind(this._dragHandle,this,"all",!0)));var u=e.textStyleModel.getTextRect("国"),c=g(u.width,u.height);o&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(l,0,a,c,r,s),this._createHandle(l,1,a,c,r,s)),this._createIndicator(l,a,c,r),t.add(l)},_createHandle:function(t,e,i,a,o){var l=n.bind(this._dragHandle,this,e,!1),u=n.bind(this._dragHandle,this,e,!0),h=x(function(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}(e,a),b(this._orient),l,u);h.position[0]=i[0],t.add(h);var c=this.visualMapModel.textStyleModel,d=new s.Text({draggable:!0,drift:l,onmousemove:function(t){r.stop(t.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:c.getFont(),textFill:c.getTextColor()}});this.group.add(d);var f=["horizontal"===o?a/2:1.5*a,"horizontal"===o?0===e?-1.5*a:1.5*a:0===e?-a/2:a/2],p=this._shapes;p.handleThumbs[e]=h,p.handleLabelPoints[e]=f,p.handleLabels[e]=d},_createIndicator:function(t,e,i,n){var a=x([[0,0]],"move");a.position[0]=e[0],a.attr({invisible:!0,silent:!0}),t.add(a);var r=this.visualMapModel.textStyleModel,o=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:r.getFont(),textFill:r.getTextColor()}});this.group.add(o);var l=["horizontal"===n?i/2:v+3,0],u=this._shapes;u.indicator=a,u.indicatorLabel=o,u.indicatorLabelPoint=l},_dragHandle:function(t,e,i,n){if(this._useHandle){if(this._dragging=!e,!e){var a=this._applyTransform([i,n],this._shapes.barGroup,!0);this._updateInterval(t,a[1]),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():_(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),i=t.getExtent(),n=[0,t.itemSize[1]];this._handleEnds=[d(e[0],i,n,!0),d(e[1],i,n,!0)]},_updateInterval:function(t,e){e=e||0;var i=this.visualMapModel,n=this._handleEnds,a=[0,i.itemSize[1]];u(e,n,a,t,0);var r=i.getExtent();this._dataInterval=[d(n[0],a,r,!0),d(n[1],a,r,!0)]},_updateView:function(t){var e=this.visualMapModel,i=e.getExtent(),n=this._shapes,a=[0,e.itemSize[1]],r=t?a:this._handleEnds,o=this._createBarVisual(this._dataInterval,i,r,"inRange"),s=this._createBarVisual(i,i,a,"outOfRange");n.inRange.setStyle({fill:o.barColor,opacity:o.opacity}).setShape("points",o.barPoints),n.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(r,o)},_createBarVisual:function(t,e,i,n){var r={forceState:n,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),s=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],l=this._createBarPoints(i,s);return{barColor:new a(0,0,0,1,o),barPoints:l,handlesColor:[o[0].color,o[o.length-1].color]}},_makeColorGradient:function(t,e){var i=[],n=(t[1]-t[0])/100;i.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var a=1;a<100;a++){var r=t[0]+n*a;if(r>t[1])break;i.push({color:this.getControllerVisual(r,"color",e),offset:a/100})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},_createBarPoints:function(t,e){var i=this.visualMapModel.itemSize;return[[i[0]-e[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,i=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||i?"horizontal"===e&&i?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||i?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,a=i.handleThumbs,r=i.handleLabels;f([0,1],function(o){var l=a[o];l.setStyle("fill",e.handlesColor[o]),l.position[1]=t[o];var u=s.applyTransform(i.handleLabelPoints[o],s.getTransform(l,this.group));r[o].setStyle({x:u[0],y:u[1],text:n.formatValueText(this._dataInterval[o]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===o?"bottom":"top":"left",i.barGroup)})},this)}},_showIndicator:function(t,e,i,n){var a=this.visualMapModel,r=a.getExtent(),o=a.itemSize,l=[0,o[1]],u=d(t,r,l,!0),h=this._shapes,c=h.indicator;if(c){c.position[1]=u,c.attr("invisible",!1),c.setShape("points",function(t,e,i,n){return t?[[0,-p(e,g(i,0))],[v,0],[0,p(e,g(n-i,0))]]:[[0,0],[5,-5],[5,5]]}(!!i,n,u,o[1]));var f=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0});c.setStyle("fill",f);var m=s.applyTransform(h.indicatorLabelPoint,s.getTransform(c,this.group)),y=h.indicatorLabel;y.attr("invisible",!1);var x=this._applyTransform("left",h.barGroup),_=this._orient;y.setStyle({text:(i||"")+a.formatValueText(e),textVerticalAlign:"horizontal"===_?x:"middle",textAlign:"horizontal"===_?"center":x,x:m[0],y:m[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",function(e){if(t._hovering=!0,!t._dragging){var i=t.visualMapModel.itemSize,n=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);n[1]=p(g(0,n[1]),i[1]),t._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}}).on("mouseout",function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var a=[0,n[1]],r=i.getExtent();t=p(g(a[0],t),a[1]);var o=function(t,e,i){var n=m/2,a=t.get("hoverLinkDataSize");a&&(n=d(a,e,i,!0)/2);return n}(i,r,a),s=[t-o,t+o],l=d(t,a,r,!0),u=[d(s[0],a,r,!0),d(s[1],a,r,!0)];s[0]<a[0]&&(u[0]=-1/0),s[1]>a[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",o):u[1]===1/0?this._showIndicator(l,u[0],"> ",o):this._showIndicator(l,l,"≈ ",o));var f=this._hoverLinkDataIndices,v=[];(e||_(i))&&(v=this._hoverLinkDataIndices=i.findTargetDataIndices(u));var y=c.compressBatches(f,v);this._dispatchHighDown("downplay",h.makeHighDownBatch(y[0],i)),this._dispatchHighDown("highlight",h.makeHighDownBatch(y[1],i))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,i=this.visualMapModel;if(e&&null!=e.dataIndex){var n=this.ecModel.getSeriesByIndex(e.seriesIndex);if(i.isTargetSeries(n)){var a=n.getData(e.dataType),r=a.get(i.getDataDimension(a),e.dataIndex,!0);isNaN(r)||this._showIndicator(r,r)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",h.makeHighDownBatch(t,this.visualMapModel)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,i,a){var r=s.getTransform(e,a?null:this.group);return s[n.isArray(t)?"applyTransform":"transformDirection"](t,r,i)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function x(t,e,i,n){return new s.Polygon({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){r.stop(t.event)},ondragend:n})}function _(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function b(t){return"vertical"===t?"ns-resize":"ew-resize"}var w=y;t.exports=w},ProS:function(t,e,i){i("Tghj").__DEV__;var n=i("aX58"),a=i("bYtY"),r=i("Qe9p"),o=i("ItGF"),s=i("BPZU"),l=i("H6uX"),u=i("fmMI"),h=i("hD7B"),c=i("IDmD"),d=i("ypgQ"),f=i("+wW9"),p=i("0V0F"),g=i("bLfw"),m=i("T4UG"),v=i("sS/r"),y=i("6Ic6"),x=i("IwbS"),_=i("4NO4"),b=i("iLNv").throttle,w=i("/WM3"),S=i("uAnK"),M=i("mYwL"),I=i("af/B"),T=i("xTNl"),A=i("8hn6");i("A1Ka");var D=i("7DRL"),C=a.assert,L=a.each,P=a.isFunction,k=a.isObject,O=g.parseClassType,E=1e3,N=1e3,R=3e3,z={PROCESSOR:{FILTER:E,STATISTIC:5e3},VISUAL:{LAYOUT:N,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:R,POST_CHART_LAYOUT:3500,COMPONENT:4e3,BRUSH:5e3}},B="__flagInMainProcess",V="__optionUpdated",Y=/^[a-zA-Z0-9_]+$/;function G(t){return function(e,i,n){e=e&&e.toLowerCase(),l.prototype[t].call(this,e,i,n)}}function F(){l.call(this)}function H(t,e,i){i=i||{},"string"==typeof e&&(e=ft[e]),this.id,this.group,this._dom=t;var r=this._zr=n.init(t,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});this._throttledZrFlush=b(a.bind(r.flush,r),17),(e=a.clone(e))&&f(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new c;var o,u,d=this._api=(u=(o=this)._coordSysMgr,a.extend(new h(o),{getCoordinateSystems:a.bind(u.getCoordinateSystems,u),getComponentByElement:function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return o._model.getComponent(e.mainType,e.index);t=t.parent}}}));function p(t,e){return t.__prio-e.__prio}s(dt,p),s(ut,p),this._scheduler=new I(this,d,ut,dt),l.call(this,this._ecEventProcessor=new ot),this._messageCenter=new F,this._initEvents(),this.resize=a.bind(this.resize,this),this._pendingActions=[],r.animation.on("frame",this._onframe,this),function(t,e){t.on("rendered",function(){e.trigger("rendered"),!t.animation.isFinished()||e[V]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})}(r,this),a.setAsPrimitive(this)}F.prototype.on=G("on"),F.prototype.off=G("off"),F.prototype.one=G("one"),a.mixin(F,l);var W=H.prototype;function U(t,e,i){var n,a=this._model,r=this._coordSysMgr.getCoordinateSystems();e=_.parseFinder(a,e);for(var o=0;o<r.length;o++){var s=r[o];if(s[t]&&null!=(n=s[t](a,e,i)))return n}}W._onframe=function(){if(!this._disposed){var t=this._scheduler;if(this[V]){var e=this[V].silent;this[B]=!0,Z(this),j.update.call(this),this[B]=!1,this[V]=!1,Q.call(this,e),J.call(this,e)}else if(t.unfinished){var i=1,n=this._model,a=this._api;t.unfinished=!1;do{var r=+new Date;t.performSeriesTasks(n),t.performDataProcessorTasks(n),q(this,n),t.performVisualTasks(n),it(this,this._model,a,"remain"),i-=+new Date-r}while(i>0&&t.unfinished);t.unfinished||this._zr.flush()}}},W.getDom=function(){return this._dom},W.getZr=function(){return this._zr},W.setOption=function(t,e,i){var n;if(k(e)&&(i=e.lazyUpdate,n=e.silent,e=e.notMerge),this[B]=!0,!this._model||e){var a=new d(this._api),r=this._theme,o=this._model=new u;o.scheduler=this._scheduler,o.init(null,null,r,a)}this._model.setOption(t,ht),i?(this[V]={silent:n},this[B]=!1):(Z(this),j.update.call(this),this._zr.flush(),this[V]=!1,this[B]=!1,Q.call(this,n),J.call(this,n))},W.setTheme=function(){},W.getModel=function(){return this._model},W.getOption=function(){return this._model&&this._model.getOption()},W.getWidth=function(){return this._zr.getWidth()},W.getHeight=function(){return this._zr.getHeight()},W.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},W.getRenderedCanvas=function(t){if(o.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},W.getSvgDataUrl=function(){if(o.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return a.each(e,function(t){t.stopAnimation(!0)}),t.painter.pathToDataUrl()}},W.getDataURL=function(t){var e=(t=t||{}).excludeComponents,i=this._model,n=[],a=this;L(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 L(n,function(t){t.group.ignore=!1}),r},W.getConnectedDataURL=function(t){if(o.canvasSupported){var e=this.group,i=Math.min,r=Math.max;if(mt[e]){var s=1/0,l=1/0,u=-1/0,h=-1/0,c=[],d=t&&t.pixelRatio||1;a.each(gt,function(n,o){if(n.group===e){var d=n.getRenderedCanvas(a.clone(t)),f=n.getDom().getBoundingClientRect();s=i(f.left,s),l=i(f.top,l),u=r(f.right,u),h=r(f.bottom,h),c.push({dom:d,left:f.left,top:f.top})}});var f=(u*=d)-(s*=d),p=(h*=d)-(l*=d),g=a.createCanvas();g.width=f,g.height=p;var m=n.init(g);return t.connectedBackgroundColor&&m.add(new x.Rect({shape:{x:0,y:0,width:f,height:p},style:{fill:t.connectedBackgroundColor}})),L(c,function(t){var e=new x.Image({style:{x:t.left*d-s,y:t.top*d-l,image:t.dom}});m.add(e)}),m.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},W.convertToPixel=a.curry(U,"convertToPixel"),W.convertFromPixel=a.curry(U,"convertFromPixel"),W.containPixel=function(t,e){var i,n=this._model;return t=_.parseFinder(n,t),a.each(t,function(t,n){n.indexOf("Models")>=0&&a.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},W.getVisual=function(t,e){var i=this._model,n=(t=_.parseFinder(i,t,{defaultMainType:"series"})).seriesModel.getData(),a=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;return null!=a?n.getItemVisual(a,e):n.getVisual(e)},W.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},W.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var j={prepareAndUpdate:function(t){Z(this),j.update.call(this,t)},update:function(t){var e=this._model,i=this._api,n=this._zr,a=this._coordSysMgr,s=this._scheduler;if(e){s.restoreData(e,t),s.performSeriesTasks(e),a.create(e,i),s.performDataProcessorTasks(e,t),q(this,e),a.update(e,i),tt(e),s.performVisualTasks(e,t),et(this,e,i,t);var l=e.get("backgroundColor")||"transparent";if(o.canvasSupported)n.setBackgroundColor(l);else{var u=r.parse(l);l=r.stringify(u,"rgb"),0===u[3]&&(l="transparent")}nt(e,i)}},updateTransform:function(t){var e=this._model,i=this,n=this._api;if(e){var r=[];e.eachComponent(function(a,o){var s=i.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,n,t);l&&l.update&&r.push(s)}else r.push(s)});var o=a.createHashMap();e.eachSeries(function(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)}),tt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),it(i,e,n,t,o),nt(e,this._api)}},updateView:function(t){var e=this._model;e&&(y.markUpdateMethod(t,"updateView"),tt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),et(this,this._model,this._api,t),nt(e,this._api))},updateVisual:function(t){j.update.call(this,t)},updateLayout:function(t){j.update.call(this,t)}};function Z(t){var e=t._model,i=t._scheduler;i.restorePipelines(e),i.prepareStageTasks(),$(t,"component",e,i),$(t,"chart",e,i),i.plan()}function X(t,e,i,n,r){var o=t._model;if(n){var s={};s[n+"Id"]=i[n+"Id"],s[n+"Index"]=i[n+"Index"],s[n+"Name"]=i[n+"Name"];var l={mainType:n,query:s};r&&(l.subType=r);var u=i.excludeSeriesId;null!=u&&(u=a.createHashMap(_.normalizeToArray(u))),o&&o.eachComponent(l,function(e){u&&null!=u.get(e.id)||h(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else L(t._componentsViews.concat(t._chartsViews),h);function h(n){n&&n.__alive&&n[e]&&n[e](n.__model,o,t._api,i)}}function q(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries(function(t){n.updateStreamModes(t,i[t.__viewId])})}function K(t,e){var i=t.type,n=t.escapeConnect,r=st[i],o=r.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&O(s[0]),this[B]=!0;var u=[t],h=!1;t.batch&&(h=!0,u=a.map(t.batch,function(e){return(e=a.defaults(a.extend({},e),t)).batch=null,e}));var c,d=[],f="highlight"===i||"downplay"===i;L(u,function(t){(c=(c=r.action(t,this._model,this._api))||a.extend({},t)).type=o.event||c.type,d.push(c),f?X(this,l,t,"series"):s&&X(this,l,t,s.main,s.sub)},this),"none"===l||f||s||(this[V]?(Z(this),j.update.call(this,t),this[V]=!1):j[l].call(this,t)),c=h?{type:o.event||i,escapeConnect:n,batch:d}:d[0],this[B]=!1,!e&&this._messageCenter.trigger(c.type,c)}function Q(t){for(var e=this._pendingActions;e.length;){var i=e.shift();K.call(this,i,t)}}function J(t){!t&&this.trigger("updated")}function $(t,e,i,n){for(var a="component"===e,r=a?t._componentsViews:t._chartsViews,o=a?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;u<r.length;u++)r[u].__alive=!1;function h(t){var e="_ec_"+t.id+"_"+t.type,u=o[e];if(!u){var h=O(t.type);(u=new(a?v.getClass(h.main,h.sub):y.getClass(h.sub))).init(i,l),o[e]=u,r.push(u),s.add(u.group)}t.__viewId=u.__id=e,u.__alive=!0,u.__model=t,u.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!a&&n.prepareView(u,t,i,l)}a?i.eachComponent(function(t,e){"series"!==t&&h(e)}):i.eachSeries(h);for(u=0;u<r.length;){var c=r[u];c.__alive?u++:(!a&&c.renderTask.dispose(),s.remove(c.group),c.dispose(i,l),r.splice(u,1),delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}}function tt(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function et(t,e,i,n){!function(t,e,i,n,a){L(a||t._componentsViews,function(t){var a=t.__model;t.render(a,e,i,n),rt(a,t)})}(t,e,i,n),L(t._chartsViews,function(t){t.__alive=!1}),it(t,e,i,n),L(t._chartsViews,function(t){t.__alive||t.remove(e,i)})}function it(t,e,i,n,a){var r,s=t._scheduler;e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];i.__alive=!0;var o=i.renderTask;s.updatePayload(o,n),a&&a.get(e.uid)&&o.dirty(),r|=o.perform(s.getPerformArgs(o)),i.group.silent=!!e.get("silent"),rt(e,i),function(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)})})}(e,i)}),s.unfinished|=r,function(t,e){var i=0;t._zr.storage.traverse(function(t){i++}),i>e.get("hoverLayerThreshold")&&!o.node&&e.eachSeries(function(e){if(!e.preventUsingHoverLayer){var i=t._chartsMap[e.__viewId];i.__alive&&i.group.traverse(function(t){t.useHoverLayer=!0})}})}(t,e),S(t._zr.dom,e)}function nt(t,e){L(ct,function(i){i(t,e)})}W.resize=function(t){this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var i=e.resetOption("media"),n=t&&t.silent;this[B]=!0,i&&Z(this),j.update.call(this),this[B]=!1,Q.call(this,n),J.call(this,n)}},W.showLoading=function(t,e){if(k(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),pt[t]){var i=pt[t](this._api,e),n=this._zr;this._loadingFX=i,n.add(i)}},W.hideLoading=function(){this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},W.makeActionFromEvent=function(t){var e=a.extend({},t);return e.type=lt[t.type],e},W.dispatchAction=function(t,e){k(e)||(e={silent:!!e}),st[t.type]&&this._model&&(this[B]?this._pendingActions.push(t):(K.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&o.browser.weChat&&this._throttledZrFlush(),Q.call(this,e.silent),J.call(this,e.silent)))},W.appendData=function(t){var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0},W.on=G("on"),W.off=G("off"),W.one=G("one");var at=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function rt(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 ot(){this.eventInfo}W._initEvents=function(){L(at,function(t){var e=function(e){var i,n=this.getModel(),r=e.target;if("globalout"===t)i={};else if(r&&null!=r.dataIndex){var o=r.dataModel||n.getSeriesByIndex(r.seriesIndex);i=o&&o.getDataParams(r.dataIndex,r.dataType,r)||{}}else r&&r.eventData&&(i=a.extend({},r.eventData));if(i){var s=i.componentType,l=i.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=i.seriesIndex);var u=s&&null!=l&&n.getComponent(s,l),h=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];i.event=e,i.type=t,this._ecEventProcessor.eventInfo={targetEl:r,packedEvent:i,model:u,view:h},this.trigger(t,i)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)},this),L(lt,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},W.isDisposed=function(){return this._disposed},W.clear=function(){this.setOption({series:[]},!0)},W.dispose=function(){if(!this._disposed){this._disposed=!0,_.setAttribute(this.getDom(),xt,"");var t=this._api,e=this._model;L(this._componentsViews,function(i){i.dispose(e,t)}),L(this._chartsViews,function(i){i.dispose(e,t)}),this._zr.dispose(),delete gt[this.id]}},a.mixin(H,l),ot.prototype={constructor:ot,normalizeQuery:function(t){var e={},i={},n={};if(a.isString(t)){var r=O(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};a.each(t,function(t,a){for(var r=!1,l=0;l<o.length;l++){var u=o[l],h=a.lastIndexOf(u);if(h>0&&h===a.length-u.length){var c=a.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,r=!0)}}s.hasOwnProperty(a)&&(i[a]=t,r=!0),r||(n[a]=t)})}return{cptQuery:e,dataQuery:i,otherQuery:n}},filter:function(t,e,i){var n=this.eventInfo;if(!n)return!0;var a=n.targetEl,r=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return h(l,o,"mainType")&&h(l,o,"subType")&&h(l,o,"index","componentIndex")&&h(l,o,"name")&&h(l,o,"id")&&h(u,r,"name")&&h(u,r,"dataIndex")&&h(u,r,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,a,r));function h(t,e,i,n){return null==t[i]||e[n||i]===t[i]}},afterTrigger:function(){this.eventInfo=null}};var st={},lt={},ut=[],ht=[],ct=[],dt=[],ft={},pt={},gt={},mt={},vt=new Date-0,yt=new Date-0,xt="_echarts_instance_";function _t(t){mt[t]=!1}var bt=_t;function wt(t){return gt[_.getAttribute(t,xt)]}function St(t,e){ft[t]=e}function Mt(t){ht.push(t)}function It(t,e){Dt(ut,t,e,E)}function Tt(t,e,i){"function"==typeof e&&(i=e,e="");var n=k(t)?t.type:[t,t={event:e}][0];t.event=(t.event||n).toLowerCase(),e=t.event,C(Y.test(n)&&Y.test(e)),st[n]||(st[n]={action:i,actionInfo:t}),lt[e]=n}function At(t,e){Dt(dt,t,e,R,"visual")}function Dt(t,e,i,n,a){(P(e)||k(e))&&(i=e,e=n);var r=I.wrapStageHandler(i,a);return r.__prio=e,r.__raw=i,t.push(r),r}function Ct(t,e){pt[t]=e}At(2e3,w),Mt(f),It(5e3,p),Ct("default",M),Tt({type:"highlight",event:"highlight",update:"highlight"},a.noop),Tt({type:"downplay",event:"downplay",update:"downplay"},a.noop),St("light",T),St("dark",A);e.version="4.3.0",e.dependencies={zrender:"4.1.0"},e.PRIORITY=z,e.init=function(t,e,i){var n=wt(t);if(n)return n;var a=new H(t,e,i);return a.id="ec_"+vt++,gt[a.id]=a,_.setAttribute(t,xt,a.id),function(t){var e="__connectUpdateStatus";function i(t,i){for(var n=0;n<t.length;n++)t[n][e]=i}L(lt,function(n,a){t._messageCenter.on(a,function(n){if(mt[t.group]&&0!==t[e]){if(n&&n.escapeConnect)return;var a=t.makeActionFromEvent(n),r=[];L(gt,function(e){e!==t&&e.group===t.group&&r.push(e)}),i(r,0),L(r,function(t){1!==t[e]&&t.dispatchAction(a)}),i(r,2)}})})}(a),a},e.connect=function(t){if(a.isArray(t)){var e=t;t=null,L(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+yt++,L(e,function(e){e.group=t})}return mt[t]=!0,t},e.disConnect=_t,e.disconnect=bt,e.dispose=function(t){"string"==typeof t?t=gt[t]:t instanceof H||(t=wt(t)),t instanceof H&&!t.isDisposed()&&t.dispose()},e.getInstanceByDom=wt,e.getInstanceById=function(t){return gt[t]},e.registerTheme=St,e.registerPreprocessor=Mt,e.registerProcessor=It,e.registerPostUpdate=function(t){ct.push(t)},e.registerAction=Tt,e.registerCoordinateSystem=function(t,e){c.register(t,e)},e.getCoordinateSystemDimensions=function(t){var e=c.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()},e.registerLayout=function(t,e){Dt(dt,t,e,N,"layout")},e.registerVisual=At,e.registerLoading=Ct,e.extendComponentModel=function(t){return g.extend(t)},e.extendComponentView=function(t){return v.extend(t)},e.extendSeriesModel=function(t){return m.extend(t)},e.extendChartView=function(t){return y.extend(t)},e.setCanvasCreator=function(t){a.$override("createCanvas",t)},e.registerMap=function(t,e,i){D.registerMap(t,e,i)},e.getMap=function(t){var e=D.retrieveMap(t);return e&&e[0]&&{geoJson:e[0].geoJSON,specialAreas:e[0].specialAreas}},e.dataTool={};var Lt=i("txkQ");!function(){for(var t in Lt)Lt.hasOwnProperty(t)&&(e[t]=Lt[t])}()},Q7if:function(t,e,i){var n=i("JEkh").extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});t.exports=n},QBsz:function(t,e){var i="undefined"==typeof Float32Array?Array:Float32Array;function n(t){return Math.sqrt(r(t))}var a=n;function r(t){return t[0]*t[0]+t[1]*t[1]}var o=r;function s(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var l=s;function u(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var h=u;e.create=function(t,e){var n=new i(2);return null==t&&(t=0),null==e&&(e=0),n[0]=t,n[1]=e,n},e.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t},e.clone=function(t){var e=new i(2);return e[0]=t[0],e[1]=t[1],e},e.set=function(t,e,i){return t[0]=e,t[1]=i,t},e.add=function(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t},e.scaleAndAdd=function(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t},e.sub=function(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t},e.len=n,e.length=a,e.lenSquare=r,e.lengthSquare=o,e.mul=function(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t},e.div=function(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t},e.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]},e.scale=function(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t},e.normalize=function(t,e){var i=n(e);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t},e.distance=s,e.dist=l,e.distanceSquare=u,e.distSquare=h,e.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t},e.lerp=function(t,e,i,n){return t[0]=e[0]+n*(i[0]-e[0]),t[1]=e[1]+n*(i[1]-e[1]),t},e.applyTransform=function(t,e,i){var n=e[0],a=e[1];return t[0]=i[0]*n+i[2]*a+i[4],t[1]=i[1]*n+i[3]*a+i[5],t},e.min=function(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t},e.max=function(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}},QUw5:function(t,e,i){var n=i("OlYY").extend({type:"dataZoom.select"});t.exports=n},Qe9p:function(t,e,i){var n={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return(t=Math.round(t))<0?0:t>255?255:t}function r(t){return t<0?0:t>1?1:t}function o(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function s(t){return t.length&&"%"===t.charAt(t.length-1)?r(parseFloat(t)/100):r(parseFloat(t))}function l(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 u(t,e,i){return t+(e-t)*i}function h(t,e,i,n,a){return t[0]=e,t[1]=i,t[2]=n,t[3]=a,t}function c(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new(i("1RvN"))(20),f=null;function p(t,e){f&&c(f,e),f=d.put(t,f||e.slice())}function g(t,e){if(t){e=e||[];var i=d.get(t);if(i)return c(e,i);var a,r=(t+="").replace(/ /g,"").toLowerCase();if(r in n)return c(e,n[r]),p(t,e),e;if("#"===r.charAt(0))return 4===r.length?(a=parseInt(r.substr(1),16))>=0&&a<=4095?(h(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,1),p(t,e),e):void h(e,0,0,0,1):7===r.length?(a=parseInt(r.substr(1),16))>=0&&a<=16777215?(h(e,(16711680&a)>>16,(65280&a)>>8,255&a,1),p(t,e),e):void h(e,0,0,0,1):void 0;var l=r.indexOf("("),u=r.indexOf(")");if(-1!==l&&u+1===r.length){var f=r.substr(0,l),g=r.substr(l+1,u-(l+1)).split(","),v=1;switch(f){case"rgba":if(4!==g.length)return void h(e,0,0,0,1);v=s(g.pop());case"rgb":return 3!==g.length?void h(e,0,0,0,1):(h(e,o(g[0]),o(g[1]),o(g[2]),v),p(t,e),e);case"hsla":return 4!==g.length?void h(e,0,0,0,1):(g[3]=s(g[3]),m(g,e),p(t,e),e);case"hsl":return 3!==g.length?void h(e,0,0,0,1):(m(g,e),p(t,e),e);default:return}}h(e,0,0,0,1)}}function m(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=s(t[1]),r=s(t[2]),o=r<=.5?r*(n+1):r+n-r*n,u=2*r-o;return h(e=e||[],a(255*l(u,o,i+1/3)),a(255*l(u,o,i)),a(255*l(u,o,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function v(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length-1),o=Math.floor(n),s=Math.ceil(n),l=e[o],h=e[s],c=n-o;return i[0]=a(u(l[0],h[0],c)),i[1]=a(u(l[1],h[1],c)),i[2]=a(u(l[2],h[2],c)),i[3]=r(u(l[3],h[3],c)),i}}var y=v;function x(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),o=Math.floor(n),s=Math.ceil(n),l=g(e[o]),h=g(e[s]),c=n-o,d=b([a(u(l[0],h[0],c)),a(u(l[1],h[1],c)),a(u(l[2],h[2],c)),r(u(l[3],h[3],c))],"rgba");return i?{color:d,leftIndex:o,rightIndex:s,value:n}:d}}var _=x;function b(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=g,e.lift=function(t,e){var i=g(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 b(i,4===i.length?"rgba":"rgb")}},e.toHex=function(t){var e=g(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},e.fastLerp=v,e.fastMapToColor=y,e.lerp=x,e.mapToColor=_,e.modifyHSL=function(t,e,i,n){if(t=g(t))return t=function(t){if(t){var e,i,n=t[0]/255,a=t[1]/255,r=t[2]/255,o=Math.min(n,a,r),s=Math.max(n,a,r),l=s-o,u=(s+o)/2;if(0===l)e=0,i=0;else{i=u<.5?l/(s+o):l/(2-s-o);var h=((s-n)/6+l/2)/l,c=((s-a)/6+l/2)/l,d=((s-r)/6+l/2)/l;n===s?e=d-c:a===s?e=1/3+h-d:r===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,i,u];return null!=t[3]&&f.push(t[3]),f}}(t),null!=e&&(t[0]=(a=e,(a=Math.round(a))<0?0:a>360?360:a)),null!=i&&(t[1]=s(i)),null!=n&&(t[2]=s(n)),b(m(t),"rgba");var a},e.modifyAlpha=function(t,e){if((t=g(t))&&null!=e)return t[3]=r(e),b(t,"rgba")},e.stringify=b},QuXc: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},Qvb6:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("ItGF"),o=i("B9fm"),s=i("gvm7"),l=i("7aKB"),u=i("OELB"),h=i("IwbS"),c=i("Ez2D"),d=i("+TT/"),f=i("Qxkt"),p=i("F9bG"),g=i("aX7z"),m=i("/y7N"),v=i("4NO4").getTooltipRenderMode,y=a.bind,x=a.each,_=u.parsePercent,b=new h.Rect({shape:{x:-1,y:-1,width:2,height:2}}),w=n.extendComponentView({type:"tooltip",init:function(t,e){if(!r.node){var i,n=t.getComponent("tooltip").get("renderMode");this._renderMode=v(n),"html"===this._renderMode?(i=new o(e.getDom(),e),this._newLine="<br/>"):(i=new s(e),this._newLine="\n"),this._tooltipContent=i}},render:function(t,e,i){if(!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(),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel.get("triggerOn");p.register("itemTooltip",this._api,y(function(e,i,n){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(i,n):"leave"===e&&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=M(n,i);this._ticket="";var o=n.dataByCoordSys;if(n.tooltip&&null!=n.x&&null!=n.y){var s=b;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,event:{},dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},a);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,n))return;var l=c(n,e),u=l.point[0],h=l.point[1];null!=u&&null!=h&&this._tryShow({offsetX:u,offsetY:h,position:n.position,target:l.el,event:{}},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,event:{}},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(M(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)if("axis"===(t=S([s.getData().getItemModel(r),s,(s.coordinateSystem||{}).model,t])).get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:r,position:n.position}),!0}},_tryShow:function(t,e){var i=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var n=t.dataByCoordSys;n&&n.length?this._showAxisTooltip(n,t):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,i,e)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,i,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var i=t.get("showDelay");e=a.bind(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},_showAxisTooltip:function(t,e){var i=this._ecModel,n=this._tooltipModel,r=[e.offsetX,e.offsetY],o=[],s=[],u=S([e.tooltipOption,n]),h=this._renderMode,c=this._newLine,d={};x(t,function(t){x(t.dataByAxis,function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),n=t.value,r=[];if(e&&null!=n){var u=m.getValueLabel(n,e.axis,i,t.seriesDataIndices,t.valueLabelOpt);a.each(t.seriesDataIndices,function(o){var l=i.getSeriesByIndex(o.seriesIndex),c=o.dataIndexInside,f=l&&l.getDataParams(c);if(f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=g.getAxisRawValue(e.axis,n),f.axisValueLabel=u,f){s.push(f);var p,m=l.formatTooltip(c,!0,null,h);if(a.isObject(m)){p=m.html;var v=m.markers;a.merge(d,v)}else p=m;r.push(p)}});var f=u;"html"!==h?o.push(r.join(c)):o.push((f?l.encodeHTML(f)+c:"")+r.join(c))}})},this),o.reverse(),o=o.join(this._newLine+this._newLine);var f=e.position;this._showOrMove(u,function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,f,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(u,o,s,Math.random(),r[0],r[1],f,void 0,d)})},_showSeriesItemTooltip:function(t,e,i){var n=this._ecModel,r=e.seriesIndex,o=n.getSeriesByIndex(r),s=e.dataModel||o,l=e.dataIndex,u=e.dataType,h=s.getData(),c=S([h.getItemModel(l),s,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),d=c.get("trigger");if(null==d||"item"===d){var f,p,g=s.getDataParams(l,u),m=s.formatTooltip(l,!1,u,this._renderMode);a.isObject(m)?(f=m.html,p=m.markers):(f=m,p=null);var v="item_"+s.name+"_"+l;this._showOrMove(c,function(){this._showTooltipContent(c,f,g,v,t.offsetX,t.offsetY,t.position,t.target,p)}),i({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:r,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var n=e.tooltip;if("string"==typeof n){n={content:n,formatter:n}}var a=new f(n,this._tooltipModel,this._ecModel),r=a.get("content"),o=Math.random();this._showOrMove(a,function(){this._showTooltipContent(a,r,a.get("formatterParams")||{},o,t.offsetX,t.offsetY,t.position,e)}),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,n,a,r,o,s,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var h=this._tooltipContent,c=t.get("formatter");o=o||t.get("position");var d=e;if(c&&"string"==typeof c)d=l.formatTpl(c,i,!0);else if("function"==typeof c){var f=y(function(e,n){e===this._ticket&&(h.setContent(n,u,t),this._updatePosition(t,o,a,r,h,i,s))},this);this._ticket=n,d=c(i,n,f)}h.setContent(d,u,t),h.show(t),this._updatePosition(t,o,a,r,h,i,s)}},_updatePosition:function(t,e,i,n,r,o,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var h=r.getSize(),c=t.get("align"),f=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"==typeof e&&(e=e([i,n],o,r.el,p,{viewSize:[l,u],contentSize:h.slice()})),a.isArray(e))i=_(e[0],l),n=_(e[1],u);else if(a.isObject(e)){e.width=h[0],e.height=h[1];var g=d.getLayoutRect(e,{width:l,height:u});i=g.x,n=g.y,c=null,f=null}else if("string"==typeof e&&s){var m=function(t,e,i){var n=i[0],a=i[1],r=0,o=0,s=e.width,l=e.height;switch(t){case"inside":r=e.x+s/2-n/2,o=e.y+l/2-a/2;break;case"top":r=e.x+s/2-n/2,o=e.y-a-5;break;case"bottom":r=e.x+s/2-n/2,o=e.y+l+5;break;case"left":r=e.x-n-5,o=e.y+l/2-a/2;break;case"right":r=e.x+s+5,o=e.y+l/2-a/2}return[r,o]}(e,p,h);i=m[0],n=m[1]}else{m=function(t,e,i,n,a,r,o){var s=i.getOuterSize(),l=s.width,u=s.height;null!=r&&(t+l+r>n?t-=l+r:t+=r);null!=o&&(e+u+o>a?e-=u+o:e+=o);return[t,e]}(i,n,r,l,u,c?null:20,f?null:20);i=m[0],n=m[1]}if(c&&(i-=I(c)?h[0]/2:"right"===c?h[0]:0),f&&(n-=I(f)?h[1]/2:"bottom"===f?h[1]:0),t.get("confine")){m=function(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]}(i,n,r,l,u);i=m[0],n=m[1]}r.moveTo(i,n)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e.length===t.length;return i&&x(e,function(e,n){var a=e.dataByAxis||{},r=(t[n]||{}).dataByAxis||[];(i&=a.length===r.length)&&x(a,function(t,e){var n=r[e]||{},a=t.seriesDataIndices||[],o=n.seriesDataIndices||[];(i&=t.value===n.value&&t.axisType===n.axisType&&t.axisId===n.axisId&&a.length===o.length)&&x(a,function(t,e){var n=o[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.hide(),p.unregister("itemTooltip",e))}});function S(t){for(var e=t.pop();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 M(t,e){return t.dispatchAction||a.bind(e.dispatchAction,e)}function I(t){return"center"===t||"middle"===t}t.exports=w},Qxkt:function(t,e,i){var n=i("bYtY"),a=i("ItGF"),r=i("4NO4").makeInner,o=i("Yl7c"),s=o.enableClassExtend,l=o.enableClassCheck,u=i("OQFs"),h=i("m9t5"),c=i("/iHx"),d=i("VR9l"),f=n.mixin,p=r();function g(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}function m(t,e,i){for(var n=0;n<e.length&&(!e[n]||null!=(t=t&&"object"==typeof t?t[e[n]]:null));n++);return null==t&&i&&(t=i.get(e)),t}function v(t,e){var i=p(t).getParent;return i?i.call(t,e):t.parentModel}g.prototype={constructor:g,init:null,mergeOption:function(t){n.merge(this.option,t,!0)},get:function(t,e){return null==t?this.option:m(this.option,this.parsePath(t),!e&&v(this,t))},getShallow:function(t,e){var i=this.option,n=null==i?i:i[t],a=!e&&v(this,t);return null==n&&a&&(n=a.getShallow(t)),n},getModel:function(t,e){var i;return new g(null==t?this.option:m(this.option,t=this.parsePath(t)),e=e||(i=v(this,t))&&i.getModel(t),this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){return new(0,this.constructor)(n.clone(this.option))},setReadOnly:function(t){},parsePath:function(t){return"string"==typeof t&&(t=t.split(".")),t},customizeGetParent:function(t){p(this).getParent=t},isAnimationEnabled:function(){if(!a.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},s(g),l(g),f(g,u),f(g,h),f(g,c),f(g,d);var y=g;t.exports=y},QzjZ:function(t,e,i){var n=i("S/Yl");i("IDmD").register("single",{create:function(t,e){var i=[];return t.eachComponent("singleAxis",function(a,r){var o=new n(a,t,e);o.name="single_"+r,o.resize(a,e),a.coordinateSystem=o,i.push(o)}),t.eachSeries(function(e){if("singleAxis"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"singleAxis",index:e.get("singleAxisIndex"),id:e.get("singleAxisId")})[0];e.coordinateSystem=i&&i.coordinateSystem}}),i},dimensions:n.prototype.dimensions})},R4Th:function(t,e,i){var n=i("ProS"),a=i("9wZj"),r=i("yO87"),o=i("Fofx"),s=i("h8O9"),l=n.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new a(r)},render:function(t,e,i){var n=t.getData(),a=this._symbolDraw;a.updateData(n),this.group.add(a.group)},updateTransform:function(t,e,i){var n=t.getData();this.group.dirty();var a=s().reset(t);a.progress&&a.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_updateGroupTransform:function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=o.clone(e.getRoamTransform()),this.group.decomposeTransform())},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e)},dispose:function(){}});t.exports=l},RBEP:function(t,e,i){for(var n=i("ProS"),a=i("VaxA"),r=function(){},o=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s<o.length;s++)n.registerAction({type:o[s],update:"updateView"},r);n.registerAction({type:"treemapRootToNode",update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},function(e,i){var n=a.retrieveTargetInfo(t,["treemapZoomToNode","treemapRootToNode"],e);if(n){var r=e.getViewRoot();r&&(t.direction=a.aboveViewRoot(r,n.node)?"rollUp":"drillDown"),e.resetViewRoot(n.node)}})})},RDYZ:function(t,e,i){var n=i("dMvE");function a(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}a.prototype={constructor:a,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else{var i=(t-this._startTime-this._pausedTime)/this._life;if(!(i<0)){i=Math.min(i,1);var a=this.easing,r="string"==typeof a?n[a]:a,o="function"==typeof r?r(i):i;return this.fire("frame",o),1===i?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){this[t="on"+t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var r=a;t.exports=r},RPvy:function(t,e,i){var n=i("ProS"),a=i("VaxA"),r="sunburstRootToNode";n.registerAction({type:r,update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e,i){var n=a.retrieveTargetInfo(t,[r],e);if(n){var o=e.getViewRoot();o&&(t.direction=a.aboveViewRoot(o,n.node)?"rollUp":"drillDown"),e.resetViewRoot(n.node)}})});var o="sunburstHighlight";n.registerAction({type:o,update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e,i){var n=a.retrieveTargetInfo(t,[o],e);n&&(t.highlight=n.node)})});n.registerAction({type:"sunburstUnhighlight",update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e,i){t.unhighlight=!0})})},RSch:function(t,e,i){var n=i("IwbS"),a=i("bYtY");function r(t,e,i){n.Group.call(this),this._createPolyline(t,e,i)}var o=r.prototype;o._createPolyline=function(t,e,i){var a=t.getItemLayout(e),r=new n.Polyline({shape:{points:a}});this.add(r),this._updateCommonStl(t,e,i)},o.updateData=function(t,e,i){var a=t.hostModel,r=this.childAt(0),o={shape:{points:t.getItemLayout(e)}};n.updateProps(r,o,a,e),this._updateCommonStl(t,e,i)},o._updateCommonStl=function(t,e,i){var r=this.childAt(0),o=t.getItemModel(e),s=t.getItemVisual(e,"color"),l=i&&i.lineStyle,u=i&&i.hoverLineStyle;i&&!t.hasItemOption||(l=o.getModel("lineStyle").getLineStyle(),u=o.getModel("emphasis.lineStyle").getLineStyle()),r.useStyle(a.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),r.hoverStyle=u,n.setHoverStyle(this)},o.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},a.inherits(r,n.Group);var s=r;t.exports=s},RXMa:function(t,e,i){var n=i("y+Vt").extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var i=e.cx,n=e.cy,a=2*Math.PI;t.moveTo(i+e.r,n),t.arc(i,n,e.r,0,a,!1),t.moveTo(i+e.r0,n),t.arc(i,n,e.r0,0,a,!0)}});t.exports=n},RlCK:function(t,e,i){var n=i("ProS"),a=i("bYtY");function r(t,e,i){var n,r={},o="toggleSelected"===t;return i.eachComponent("legend",function(i){o&&null!=n?i[n?"select":"unSelect"](e.name):(i[t](e.name),n=i.isSelected(e.name));var s=i.getData();a.each(s,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&n:r[e]=n}})}),{name:e.name,selected:r}}n.registerAction("legendToggleSelect","legendselectchanged",a.curry(r,"toggleSelected")),n.registerAction("legendSelect","legendselected",a.curry(r,"select")),n.registerAction("legendUnSelect","legendunselected",a.curry(r,"unSelect"))},Rx6q:function(t,e){t.exports=function(t){var e=t.getRect(),i=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:i.start,end:i.end,weeks:i.weeks,dayCount:i.allDay}},api:{coord:function(e,i){return t.dataToPoint(e,i)}}}}},"S/Yl":function(t,e,i){var n=i("Zvw2"),a=i("aX7z"),r=i("+TT/").getLayoutRect,o=i("bYtY").each;function s(t,e,i){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,i),this.model=t}s.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:s,_init:function(t,e,i){var r=this.dimension,o=new n(r,a.createScaleByModel(t),[0,0],t.get("type"),t.get("position")),s="category"===o.type;o.onBand=s&&t.get("boundaryGap"),o.inverse=t.get("inverse"),o.orient=t.get("orient"),t.axis=o,o.model=t,o.coordinateSystem=this,this._axis=o},update:function(t,e){t.eachSeries(function(t){if(t.coordinateSystem===this){var e=t.getData();o(e.mapDimension(this.dimension,!0),function(t){this._axis.scale.unionExtentFromData(e,t)},this),a.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(t,e){this._rect=r({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,e=this._axis,i=e.isHorizontal(),n=i?[0,t.width]:[0,t.height],a=e.reverse?1:0;e.setExtent(n[a],n[1-a]),this._updateAxisTransform(e,i?t.x:t.y)},_updateAxisTransform:function(t,e){var i=t.getExtent(),n=i[0]+i[1],a=t.isHorizontal();t.toGlobalCoord=a?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord=a?function(t){return t-e}:function(t){return n-t+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(t){var e=this.getRect(),i=this.getAxis();return"horizontal"===i.orient?i.contain(i.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:i.contain(i.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),i=this.getRect(),n=[],a="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),n[a]=e.toGlobalCoord(e.dataToCoord(+t)),n[1-a]=0===a?i.y+i.height/2:i.x+i.width/2,n}};var l=s;t.exports=l},"SA4+":function(t,e,i){i("Tghj").__DEV__;var n=i("ProS"),a=i("IwbS"),r=i("zYTA"),o=i("bYtY");var s=n.extendChartView({type:"heatmap",render:function(t,e,i){var n;e.eachComponent("visualMap",function(e){e.eachTargetSeries(function(i){i===t&&(n=e)})}),this.group.removeAll(),this._incrementalDisplayable=null;var a=t.coordinateSystem;"cartesian2d"===a.type||"calendar"===a.type?this._renderOnCartesianAndCalendar(t,i,0,t.getData().count()):function(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}(a)&&this._renderOnGeo(a,t,n,i)},incrementalPrepareRender:function(t,e,i){this.group.removeAll()},incrementalRender:function(t,e,i,n){e.coordinateSystem&&this._renderOnCartesianAndCalendar(e,n,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,e,i,n,r){var s,l,u=t.coordinateSystem;if("cartesian2d"===u.type){var h=u.getAxis("x"),c=u.getAxis("y");s=h.getBandWidth(),l=c.getBandWidth()}for(var d=this.group,f=t.getData(),p=t.getModel("itemStyle").getItemStyle(["color"]),g=t.getModel("emphasis.itemStyle").getItemStyle(),m=t.getModel("label"),v=t.getModel("emphasis.label"),y=u.type,x="cartesian2d"===y?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],_=i;_<n;_++){var b;if("cartesian2d"===y){if(isNaN(f.get(x[2],_)))continue;var w=u.dataToPoint([f.get(x[0],_),f.get(x[1],_)]);b=new a.Rect({shape:{x:w[0]-s/2,y:w[1]-l/2,width:s,height:l},style:{fill:f.getItemVisual(_,"color"),opacity:f.getItemVisual(_,"opacity")}})}else{if(isNaN(f.get(x[1],_)))continue;b=new a.Rect({z2:1,shape:u.dataToRect([f.get(x[0],_)]).contentShape,style:{fill:f.getItemVisual(_,"color"),opacity:f.getItemVisual(_,"opacity")}})}var S=f.getItemModel(_);f.hasItemOption&&(p=S.getModel("itemStyle").getItemStyle(["color"]),g=S.getModel("emphasis.itemStyle").getItemStyle(),m=S.getModel("label"),v=S.getModel("emphasis.label"));var M=t.getRawValue(_),I="-";M&&null!=M[2]&&(I=M[2]),a.setLabelStyle(p,g,m,v,{labelFetcher:t,labelDataIndex:_,defaultText:I,isRectText:!0}),b.setStyle(p),a.setHoverStyle(b,f.hasItemOption?g:o.extend({},g)),b.incremental=r,r&&(b.useHoverLayer=!0),d.add(b),f.setItemGraphicEl(_,b)}},_renderOnGeo:function(t,e,i,n){var s=i.targetVisuals.inRange,l=i.targetVisuals.outOfRange,u=e.getData(),h=this._hmLayer||this._hmLayer||new r;h.blurSize=e.get("blurSize"),h.pointSize=e.get("pointSize"),h.minOpacity=e.get("minOpacity"),h.maxOpacity=e.get("maxOpacity");var c=t.getViewRect().clone(),d=t.getRoamTransform();c.applyTransform(d);var f=Math.max(c.x,0),p=Math.max(c.y,0),g=Math.min(c.width+c.x,n.getWidth()),m=Math.min(c.height+c.y,n.getHeight()),v=g-f,y=m-p,x=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],_=u.mapArray(x,function(e,i,n){var a=t.dataToPoint([e,i]);return a[0]-=f,a[1]-=p,a.push(n),a}),b=i.getExtent(),w="visualMap.continuous"===i.type?function(t,e){var i=t[1]-t[0];return e=[(e[0]-t[0])/i,(e[1]-t[0])/i],function(t){return t>=e[0]&&t<=e[1]}}(b,i.option.range):function(t,e,i){var n=t[1]-t[0],a=(e=o.map(e,function(e){return{interval:[(e.interval[0]-t[0])/n,(e.interval[1]-t[0])/n]}})).length,r=0;return function(t){for(var n=r;n<a;n++)if((o=e[n].interval)[0]<=t&&t<=o[1]){r=n;break}if(n===a)for(n=r-1;n>=0;n--){var o;if((o=e[n].interval)[0]<=t&&t<=o[1]){r=n;break}}return n>=0&&n<a&&i[n]}}(b,i.getPieceList(),i.option.selected);h.update(_,v,y,s.color.getNormalizer(),{inRange:s.color.getColorMapper(),outOfRange:l.color.getColorMapper()},w);var S=new a.Image({style:{width:v,height:y,x:f,y:p,image:h.canvas},silent:!0});this.group.add(S)},dispose:function(){}});t.exports=s},SA8n:function(t,e,i){var n=i("Sj9i"),a=i("QBsz"),r=i("U/Mo").getSymbolSize,o=[],s=[],l=[],u=n.quadraticAt,h=a.distSquare,c=Math.abs;function d(t,e,i){for(var n,a=t[0],r=t[1],d=t[2],f=1/0,p=i*i,g=.1,m=.1;m<=.9;m+=.1){o[0]=u(a[0],r[0],d[0],m),o[1]=u(a[1],r[1],d[1],m),(x=c(h(o,e)-p))<f&&(f=x,n=m)}for(var v=0;v<32;v++){var y=n+g;s[0]=u(a[0],r[0],d[0],n),s[1]=u(a[1],r[1],d[1],n),l[0]=u(a[0],r[0],d[0],y),l[1]=u(a[1],r[1],d[1],y);var x=h(s,e)-p;if(c(x)<.01)break;var _=h(l,e)-p;g/=2,x<0?_>=0?n+=g:n-=g:_>=0?n-=g:n+=g}return n}t.exports=function(t,e){var i=[],o=n.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];e/=2,t.eachEdge(function(t,n){var h=t.getLayout(),c=t.getVisual("fromSymbol"),f=t.getVisual("toSymbol");h.__original||(h.__original=[a.clone(h[0]),a.clone(h[1])],h[2]&&h.__original.push(a.clone(h[2])));var p=h.__original;if(null!=h[2]){if(a.copy(s[0],p[0]),a.copy(s[1],p[2]),a.copy(s[2],p[1]),c&&"none"!==c){var g=r(t.node1),m=d(s,p[0],g*e);o(s[0][0],s[1][0],s[2][0],m,i),s[0][0]=i[3],s[1][0]=i[4],o(s[0][1],s[1][1],s[2][1],m,i),s[0][1]=i[3],s[1][1]=i[4]}f&&"none"!==f&&(g=r(t.node2),m=d(s,p[1],g*e),o(s[0][0],s[1][0],s[2][0],m,i),s[1][0]=i[1],s[2][0]=i[2],o(s[0][1],s[1][1],s[2][1],m,i),s[1][1]=i[1],s[2][1]=i[2]),a.copy(h[0],s[0]),a.copy(h[1],s[2]),a.copy(h[2],s[1])}else a.copy(l[0],p[0]),a.copy(l[1],p[1]),a.sub(u,l[1],l[0]),a.normalize(u,u),c&&"none"!==c&&(g=r(t.node1),a.scaleAndAdd(l[0],l[0],u,g*e)),f&&"none"!==f&&(g=r(t.node2),a.scaleAndAdd(l[1],l[1],u,-g*e)),a.copy(h[0],l[0]),a.copy(h[1],l[1])})}},SKnc:function(t,e,i){var n=i("bYtY"),a=i("QuXc"),r=function(t,e,i,n,r,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==i?1:i,this.y2=null==n?0:n,this.type="linear",this.global=o||!1,a.call(this,r)};r.prototype={constructor:r},n.inherits(r,a);var o=r;t.exports=o},"SKx+":function(t,e,i){var n=i("ProS").extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}});t.exports=n},SMc4:function(t,e,i){var n=i("bYtY"),a=i("bLfw"),r=i("nkfE"),o=i("ICMv"),s=a.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(t,e){return e.type||(e.data?"category":"value")}n.merge(s.prototype,o);var u={offset:0};r("x",s,l,u),r("y",s,l,u);var h=s;t.exports=h},SUKs:function(t,e,i){var n=i("LPTA").debugMode,a=function(){};1===n?a=function(){for(var t in arguments)throw new Error(arguments[t])}:n>1&&(a=function(){for(var t in arguments);});var r=a;t.exports=r},SehX:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("2B6p").updateCenterAndZoom;n.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(t,e){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},function(e){var n=e.coordinateSystem;if("geo"===n.type){var o=r(n,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===i&&a.each(e.seriesGroup,function(t){t.setCenter(o.center),t.setZoom(o.zoom)})}})})},SgGq:function(t,e,i){var n=i("bYtY"),a=i("H6uX"),r=i("YH21"),o=i("pP6R");function s(t){this.pointerChecker,this._zr=t,this._opt={};var e=n.bind,i=e(l,this),r=e(u,this),o=e(h,this),s=e(c,this),f=e(d,this);a.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(e,a){this.disable(),this._opt=n.defaults(n.clone(a)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",i),t.on("mousemove",r),t.on("mouseup",o)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",s),t.on("pinch",f))},this.disable=function(){t.off("mousedown",i),t.off("mousemove",r),t.off("mouseup",o),t.off("mousewheel",s),t.off("pinch",f)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(t){if(!(r.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)){var e=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,i)&&(this._x=e,this._y=i,this._dragging=!0)}}function u(t){if(this._dragging&&g("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!o.isTaken(this._zr,"globalPan")){var e=t.offsetX,i=t.offsetY,n=this._x,a=this._y,s=e-n,l=i-a;this._x=e,this._y=i,this._opt.preventDefaultMouseMove&&r.stop(t.event),p(this,"pan","moveOnMouseMove",t,{dx:s,dy:l,oldX:n,oldY:a,newX:e,newY:i})}}function h(t){r.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function c(t){var e=g("zoomOnMouseWheel",t,this._opt),i=g("moveOnMouseWheel",t,this._opt),n=t.wheelDelta,a=Math.abs(n),r=t.offsetX,o=t.offsetY;if(0!==n&&(e||i)){if(e){var s=a>3?1.4:a>1?1.2:1.1;f(this,"zoom","zoomOnMouseWheel",t,{scale:n>0?s:1/s,originX:r,originY:o})}if(i){var l=Math.abs(n);f(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(n>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:r,originY:o})}}}function d(t){o.isTaken(this._zr,"globalPan")||f(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY})}function f(t,e,i,n,a){t.pointerChecker&&t.pointerChecker(n,a.originX,a.originY)&&(r.stop(n.event),p(t,e,i,n,a))}function p(t,e,i,a,r){r.isAvailableBehavior=n.bind(g,null,i,a),t.trigger(e,r)}function g(t,e,i){var a=i[t];return!t||a&&(!n.isString(a)||e.event[a+"Key"])}n.mixin(s,a);var m=s;t.exports=m},Sj9i:function(t,e,i){var n=i("QBsz"),a=n.create,r=n.distSquare,o=Math.pow,s=Math.sqrt,l=1e-8,u=1e-4,h=s(3),c=1/3,d=a(),f=a(),p=a();function g(t){return t>-l&&t<l}function m(t){return t>l||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){var a=1-n;return a*(a*t+2*n*e)+n*n*i}e.cubicAt=v,e.cubicDerivativeAt=function(t,e,i,n,a){var r=1-a;return 3*(((e-t)*r+2*(i-e)*a)*r+(n-i)*a*a)},e.cubicRootAt=function(t,e,i,n,a,r){var l=n+3*(e-i)-t,u=3*(i-2*e+t),d=3*(e-t),f=t-a,p=u*u-3*l*d,m=u*d-9*l*f,v=d*d-3*u*f,y=0;if(g(p)&&g(m))g(u)?r[0]=0:(C=-d/u)>=0&&C<=1&&(r[y++]=C);else{var x=m*m-4*p*v;if(g(x)){var _=m/p,b=-_/2;(C=-u/l+_)>=0&&C<=1&&(r[y++]=C),b>=0&&b<=1&&(r[y++]=b)}else if(x>0){var w=s(x),S=p*u+1.5*l*(-m+w),M=p*u+1.5*l*(-m-w);(C=(-u-((S=S<0?-o(-S,c):o(S,c))+(M=M<0?-o(-M,c):o(M,c))))/(3*l))>=0&&C<=1&&(r[y++]=C)}else{var I=(2*p*u-3*l*m)/(2*s(p*p*p)),T=Math.acos(I)/3,A=s(p),D=Math.cos(T),C=(-u-2*A*D)/(3*l),L=(b=(-u+A*(D+h*Math.sin(T)))/(3*l),(-u+A*(D-h*Math.sin(T)))/(3*l));C>=0&&C<=1&&(r[y++]=C),b>=0&&b<=1&&(r[y++]=b),L>=0&&L<=1&&(r[y++]=L)}}return y},e.cubicExtrema=function(t,e,i,n,a){var r=6*i-12*e+6*t,o=9*e+3*n-3*t-9*i,l=3*e-3*t,u=0;if(g(o))m(r)&&(c=-l/r)>=0&&c<=1&&(a[u++]=c);else{var h=r*r-4*o*l;if(g(h))a[0]=-r/(2*o);else if(h>0){var c,d=s(h),f=(-r-d)/(2*o);(c=(-r+d)/(2*o))>=0&&c<=1&&(a[u++]=c),f>=0&&f<=1&&(a[u++]=f)}}return u},e.cubicSubdivide=function(t,e,i,n,a,r){var o=(e-t)*a+t,s=(i-e)*a+e,l=(n-i)*a+i,u=(s-o)*a+o,h=(l-s)*a+s,c=(h-u)*a+u;r[0]=t,r[1]=o,r[2]=u,r[3]=c,r[4]=c,r[5]=h,r[6]=l,r[7]=n},e.cubicProjectPoint=function(t,e,i,n,a,o,l,h,c,g,m){var y,x,_,b,w,S=.005,M=1/0;d[0]=c,d[1]=g;for(var I=0;I<1;I+=.05)f[0]=v(t,i,a,l,I),f[1]=v(e,n,o,h,I),(b=r(d,f))<M&&(y=I,M=b);M=1/0;for(var T=0;T<32&&!(S<u);T++)x=y-S,_=y+S,f[0]=v(t,i,a,l,x),f[1]=v(e,n,o,h,x),b=r(f,d),x>=0&&b<M?(y=x,M=b):(p[0]=v(t,i,a,l,_),p[1]=v(e,n,o,h,_),w=r(p,d),_<=1&&w<M?(y=_,M=w):S*=.5);return m&&(m[0]=v(t,i,a,l,y),m[1]=v(e,n,o,h,y)),s(M)},e.quadraticAt=y,e.quadraticDerivativeAt=function(t,e,i,n){return 2*((1-n)*(e-t)+n*(i-e))},e.quadraticRootAt=function(t,e,i,n,a){var r=t-2*e+i,o=2*(e-t),l=t-n,u=0;if(g(r))m(o)&&(c=-l/o)>=0&&c<=1&&(a[u++]=c);else{var h=o*o-4*r*l;if(g(h))(c=-o/(2*r))>=0&&c<=1&&(a[u++]=c);else if(h>0){var c,d=s(h),f=(-o-d)/(2*r);(c=(-o+d)/(2*r))>=0&&c<=1&&(a[u++]=c),f>=0&&f<=1&&(a[u++]=f)}}return u},e.quadraticExtremum=function(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n},e.quadraticSubdivide=function(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},e.quadraticProjectPoint=function(t,e,i,n,a,o,l,h,c){var g,m=.005,v=1/0;d[0]=l,d[1]=h;for(var x=0;x<1;x+=.05)f[0]=y(t,i,a,x),f[1]=y(e,n,o,x),(S=r(d,f))<v&&(g=x,v=S);v=1/0;for(var _=0;_<32&&!(m<u);_++){var b=g-m,w=g+m;f[0]=y(t,i,a,b),f[1]=y(e,n,o,b);var S=r(f,d);if(b>=0&&S<v)g=b,v=S;else{p[0]=y(t,i,a,w),p[1]=y(e,n,o,w);var M=r(p,d);w<=1&&M<v?(g=w,v=M):m*=.5}}return c&&(c[0]=y(t,i,a,g),c[1]=y(e,n,o,g)),s(v)}},Sp2Z:function(t,e,i){var n=i("3LNs"),a=i("/y7N"),r=i("AVZG"),o=i("Znkb"),s=n.extend({makeElOption:function(t,e,i,n,o){var s=i.axis,h=s.grid,c=n.get("type"),d=l(h,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(e,!0));if(c&&"none"!==c){var p=a.buildElStyle(n),g=u[c](s,f,d);g.style=p,t.graphicKey=g.type,t.pointer=g}var m=r.layout(h.model,i);a.buildCartesianSingleLabelElOption(e,t,m,i,n,o)},getHandleTransform:function(t,e,i){var n=r.layout(e.axis.grid.model,e,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:a.getTransformedPosition(e.axis,t,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,i,n){var a=i.axis,r=a.grid,o=a.getGlobalExtent(!0),s=l(r,a).getOtherAxis(a).getGlobalExtent(),u="x"===a.dim?0:1,h=t.position;h[u]+=e[u],h[u]=Math.min(o[1],h[u]),h[u]=Math.max(o[0],h[u]);var c=(s[1]+s[0])/2,d=[c,c];d[u]=h[u];return{position:h,rotation:t.rotation,cursorPoint:d,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][u]}}});function l(t,e){var i={};return i[e.dim+"AxisIndex"]=e.index,t.getCartesian(i)}var u={line:function(t,e,i){return{type:"Line",subPixelOptimize:!0,shape:a.makeLineShape([e,i[0]],[e,i[1]],h(t))}},shadow:function(t,e,i){var n=Math.max(1,t.getBandWidth()),r=i[1]-i[0];return{type:"Rect",shape:a.makeRectShape([e-n/2,i[0]],[n,r],h(t))}}};function h(t){return"x"===t.dim?0:1}o.registerAxisPointerClass("CartesianAxisPointer",s);var c=s;t.exports=c},SqI9:function(t,e,i){var n=i("y+Vt"),a=i("iXp4"),r=n.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:a(n.prototype.brush),buildPath:function(t,e){var i=e.cx,n=e.cy,a=Math.max(e.r0||0,0),r=Math.max(e.r,0),o=e.startAngle,s=e.endAngle,l=e.clockwise,u=Math.cos(o),h=Math.sin(o);t.moveTo(u*a+i,h*a+n),t.lineTo(u*r+i,h*r+n),t.arc(i,n,r,o,s,!l),t.lineTo(Math.cos(s)*a+i,Math.sin(s)*a+n),0!==a&&t.arc(i,n,a,s,o,l),t.closePath()}});t.exports=r},SrGk:function(t,e,i){var n=i("hydK").createElement,a=i("bYtY"),r=i("y+Vt"),o=i("Dagg"),s=i("dqUG"),l=i("P47w"),u=l.path,h=l.image,c=l.text;function d(t,e,i,n,a){this._zrId=t,this._svgRoot=e,this._tagNames="string"==typeof i?[i]:i,this._markLabel=n,this._domName=a||"_dom",this.nextId=0}d.prototype.createElement=n,d.prototype.getDefs=function(t){var e=this._svgRoot,i=this._svgRoot.getElementsByTagName("defs");return 0===i.length?t?((i=e.insertBefore(this.createElement("defs"),e.firstChild)).contains||(i.contains=function(t){var e=i.children;if(!e)return!1;for(var n=e.length-1;n>=0;--n)if(e[n]===t)return!0;return!1}),i):null:i[0]},d.prototype.update=function(t,e){if(t){var i=this.getDefs(!1);if(t[this._domName]&&i.contains(t[this._domName]))"function"==typeof e&&e(t);else{var n=this.add(t);n&&(t[this._domName]=n)}}},d.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},d.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},d.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return a.each(this._tagNames,function(i){var n=t.getElementsByTagName(i);e=e.concat([].slice.call(n))}),e},d.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;a.each(t,function(t){t[e._markLabel]="0"})},d.prototype.markUsed=function(t){t&&(t[this._markLabel]="1")},d.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this.getDoms(),i=this;a.each(e,function(e){"1"!==e[i._markLabel]&&t.removeChild(e)})}},d.prototype.getSvgProxy=function(t){return t instanceof r?u:t instanceof o?h:t instanceof s?c:u},d.prototype.getTextSvgElement=function(t){return t.__textSvgEl},d.prototype.getSvgElement=function(t){return t.__svgEl};var f=d;t.exports=f},Swgg:function(t,e,i){var n=i("fc+c").extend({type:"dataZoom.select"});t.exports=n},T4UG:function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=i("ItGF"),r=i("7aKB"),o=r.formatTime,s=r.encodeHTML,l=r.addCommas,u=r.getTooltipMarker,h=i("4NO4"),c=i("bLfw"),d=i("5Hur"),f=i("OKJ2"),p=i("+TT/"),g=p.getLayoutParams,m=p.mergeLayoutParam,v=i("9H2F").createTask,y=i("D5nY"),x=y.prepareSource,_=y.getSource,b=i("KxfA").retrieveRawValue,w=h.makeInner(),S=c.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.color",layoutMode:null,init:function(t,e,i,n){this.seriesIndex=this.componentIndex,this.dataTask=v({count:I,reset:T}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,i),x(this);var a=this.getInitialData(t,i);D(a,this),this.dataTask.context.data=a,w(this).dataBeforeProcessed=a,M(this)},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,a=i?g(t):{},r=this.subType;c.hasClass(r)&&(r+="Series"),n.merge(t,e.getTheme().get(this.subType)),n.merge(t,this.getDefaultOption()),h.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),i&&m(t,a,i)},mergeOption:function(t,e){t=n.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var i=this.layoutMode;i&&m(this.option,t,i),x(this);var a=this.getInitialData(t,e);D(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,w(this).dataBeforeProcessed=a,M(this)},fillDataTextStyle:function(t){if(t&&!n.isTypedArray(t))for(var e=["show"],i=0;i<t.length;i++)t[i]&&t[i].label&&h.defaultEmphasis(t[i],"label",e)},getInitialData:function(){},appendData:function(t){this.getRawData().appendData(t.data)},getData:function(t){var e=L(this);if(e){var i=e.context.data;return null==t?i:i.getLinkedData(t)}return w(this).data},setData:function(t){var e=L(this);if(e){var i=e.context;i.data!==t&&e.modifyOutputEnd&&e.setOutputEnd(t.count()),i.outputData=t,e!==this.dataTask&&(i.data=t)}w(this).data=t},getSource:function(){return _(this)},getRawData:function(){return w(this).dataBeforeProcessed},getBaseAxis:function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},formatTooltip:function(t,e,i,a){var r=this,c="html"===(a=a||"html")?"<br/>":"\n",d="richText"===a,f={},p=0;function g(t){return{renderMode:a,content:s(l(t)),style:f}}var m=this.getData(),v=m.mapDimension("defaultedTooltip",!0),y=v.length,x=this.getRawValue(t),_=n.isArray(x),w=m.getItemVisual(t,"color");n.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=(y>1||_&&!y?function(i){var h=n.reduce(i,function(t,e,i){var n=m.getDimensionInfo(i);return t|(n&&!1!==n.tooltip&&null!=n.displayName)},0),c=[];function g(t,i){var n=m.getDimensionInfo(i);if(n&&!1!==n.otherDims.tooltip){var g=n.type,v="sub"+r.seriesIndex+"at"+p,y=u({color:w,type:"subItem",renderMode:a,markerId:v}),x="string"==typeof y?y:y.content,_=(h?x+s(n.displayName||"-")+": ":"")+s("ordinal"===g?t+"":"time"===g?e?"":o("yyyy/MM/dd hh:mm:ss",t):l(t));_&&c.push(_),d&&(f[v]=w,++p)}}v.length?n.each(v,function(e){g(b(m,t,e),e)}):n.each(i,g);var y=h?d?"\n":"<br/>":"",x=y+c.join(y||", ");return{renderMode:a,content:x,style:f}}(x):g(y?b(m,t,v[0]):_?x[0]:x)).content,M=r.seriesIndex+"at"+p,I=u({color:w,type:"item",renderMode:a,markerId:M});f[M]=w,++p;var T=m.getName(t),A=this.name;h.isNameSpecified(this)||(A=""),A=A?s(A)+(e?": ":c):"";var D="string"==typeof I?I:I.content;return{html:e?D+A+S:A+D+(T?s(T)+": "+S:S),markers:f}},isAnimationEnabled:function(){if(a.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,i){var n=this.ecModel,a=d.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 M(t){var e=t.name;h.isNameSpecified(t)||(t.name=function(t){var e=t.getRawData(),i=e.mapDimension("seriesName",!0),a=[];return n.each(i,function(t){var i=e.getDimensionInfo(t);i.displayName&&a.push(i.displayName)}),a.join(" ")}(t)||e)}function I(t){return t.model.getRawData().count()}function T(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),A}function A(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function D(t,e){n.each(t.CHANGABLE_METHODS,function(i){t.wrapMethod(i,n.curry(C,e))})}function C(t){var e=L(t);e&&e.setOutputEnd(this.count())}function L(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}}n.mixin(S,f),n.mixin(S,d);var P=S;t.exports=P},T6xi:function(t,e,i){var n=i("YgsL"),a=i("nCxF");e.buildPath=function(t,e,i){var r=e.points,o=e.smooth;if(r&&r.length>=2){if(o&&"spline"!==o){var s=a(r,o,i,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var l=r.length,u=0;u<(i?l:l-1);u++){var h=s[2*u],c=s[2*u+1],d=r[(u+1)%l];t.bezierCurveTo(h[0],h[1],c[0],c[1],d[0],d[1])}}else{"spline"===o&&(r=n(r,i)),t.moveTo(r[0][0],r[0][1]),u=1;for(var f=r.length;u<f;u++)t.lineTo(r[u][0],r[u][1])}i&&t.closePath()}}},TIY9:function(t,e,i){var n=i("bYtY").each,a=i("vafp"),r=i("4NO4").makeInner,o=i("Mgri"),s=i("F5Ls"),l=i("a9QJ"),u=i("p/La"),h=r(),c={load:function(t,e){var i=h(e).parsed;if(i)return i;var r,c=e.specialAreas||{},d=e.geoJSON;try{r=d?a(d):[]}catch(t){throw new Error("Invalid geoJson format\n"+t.message)}return n(r,function(e){var i=e.name;s(t,e),l(t,e),u(t,e);var n=c[i];n&&e.transformTo(n.left,n.top,n.width,n.height)}),o(t,r),h(e).parsed={regions:r,boundingRect:function(t){for(var e,i=0;i<t.length;i++){var n=t[i].getBoundingRect();(e=e||n.clone()).union(n)}return e}(r)}}};t.exports=c},TJmX:function(t,e,i){var n=["itemStyle","borderColor"],a=["itemStyle","borderColor0"],r=["itemStyle","color"],o=["itemStyle","color0"],s={seriesType:"candlestick",plan:i("zM3Q")(),performRawSeries:!0,reset:function(t,e){var i=t.getData(),s=t.pipelineContext.large;if(i.setVisual({legendSymbol:"roundRect",colorP:l(1,t),colorN:l(-1,t),borderColorP:u(1,t),borderColorN:u(-1,t)}),!e.isSeriesFiltered(t))return!s&&{progress:function(t,e){var i;for(;null!=(i=t.next());){var n=e.getItemModel(i),a=e.getItemLayout(i).sign;e.setItemVisual(i,{color:l(a,n),borderColor:u(a,n)})}}};function l(t,e){return e.get(t>0?r:o)}function u(t,e){return e.get(t>0?n:a)}}};t.exports=s},TWL2:function(t,e,i){var n=i("IwbS"),a=i("bYtY"),r=i("6Ic6");function o(t,e){n.Group.call(this);var i=new n.Polygon,a=new n.Polyline,r=new n.Text;this.add(i),this.add(a),this.add(r),this.highDownOnUpdate=function(t,e){"emphasis"===e?(a.ignore=a.hoverIgnore,r.ignore=r.hoverIgnore):(a.ignore=a.normalIgnore,r.ignore=r.normalIgnore)},this.updateData(t,e,!0)}var s=o.prototype,l=["itemStyle","opacity"];s.updateData=function(t,e,i){var r=this.childAt(0),o=t.hostModel,s=t.getItemModel(e),u=t.getItemLayout(e),h=t.getItemModel(e).get(l);h=null==h?1:h,r.useStyle({}),i?(r.setShape({points:u.points}),r.setStyle({opacity:0}),n.initProps(r,{style:{opacity:h}},o,e)):n.updateProps(r,{style:{opacity:h},shape:{points:u.points}},o,e);var c=s.getModel("itemStyle"),d=t.getItemVisual(e,"color");r.setStyle(a.defaults({lineJoin:"round",fill:d},c.getItemStyle(["opacity"]))),r.hoverStyle=c.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),n.setHoverStyle(this)},s._updateLabel=function(t,e){var i=this.childAt(1),a=this.childAt(2),r=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"color");n.updateProps(i,{shape:{points:s.linePoints||s.linePoints}},r,e),n.updateProps(a,{style:{x:s.x,y:s.y}},r,e),a.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=o.getModel("label"),h=o.getModel("emphasis.label"),c=o.getModel("labelLine"),d=o.getModel("emphasis.labelLine");l=t.getItemVisual(e,"color");n.setLabelStyle(a.style,a.hoverStyle={},u,h,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),a.ignore=a.normalIgnore=!u.get("show"),a.hoverIgnore=!h.get("show"),i.ignore=i.normalIgnore=!c.get("show"),i.hoverIgnore=!d.get("show"),i.setStyle({stroke:l}),i.setStyle(c.getModel("lineStyle").getLineStyle()),i.hoverStyle=d.getModel("lineStyle").getLineStyle()},a.inherits(o,n.Group);var u=r.extend({type:"funnel",render:function(t,e,i){var n=t.getData(),a=this._data,r=this.group;n.diff(a).add(function(t){var e=new o(n,t);n.setItemGraphicEl(t,e),r.add(e)}).update(function(t,e){var i=a.getItemGraphicEl(e);i.updateData(n,t),r.add(i),n.setItemGraphicEl(t,i)}).remove(function(t){var e=a.getItemGraphicEl(t);r.remove(e)}).execute(),this._data=n},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=u},TYVI:function(t,e,i){var n=i("5GtS"),a=i("T4UG"),r=i("bYtY"),o=a.extend({type:"series.gauge",getInitialData:function(t,e){var i=t.data||[];return r.isArray(i)||(i=[i]),t.data=i,n(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}});t.exports=o},Tghj:function(t,e,i){(function(t){var i;"undefined"!=typeof window?i=window.__DEV__:void 0!==t&&(i=t.__DEV__),void 0===i&&(i=!0);var n=i;e.__DEV__=n}).call(this,i("yLpj"))},ThAp:function(t,e,i){var n=i("bYtY"),a=i("5GtS"),r=i("T4UG"),o=i("7aKB"),s=o.encodeHTML,l=o.addCommas,u=i("cCMj"),h=i("KxfA").retrieveRawAttr,c=i("W4dC"),d=r.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var e=a(this,["value"]),i=e.mapDimension("value"),r=n.createHashMap(),o=[],s=[],l=0,u=e.count();l<u;l++){var d=e.getName(l);r.set(d,!0),o.push({name:d,value:e.get(i,l),selected:h(e,l,"selected")})}var f=c.load(this.getMapType(),this.option.nameMap);return n.each(f.regions,function(t){var e=t.name;r.get(e)||(o.push({name:e}),s.push(e))}),this.updateSelectedMap(o),e.appendValues([],s),e},getHostGeoModel:function(){var t=this.option.geoIndex;return null!=t?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},getRegionModel:function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},formatTooltip:function(t){for(var e=this.getData(),i=l(this.getRawValue(t)),n=e.getName(t),a=this.seriesGroup,r=[],o=0;o<a.length;o++){var u=a[o].originalData.indexOfName(n),h=e.mapDimension("value");isNaN(a[o].originalData.get(h,u))||r.push(s(a[o].name))}return r.join(", ")+"<br />"+s(n+" : "+i)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),i=this.coordinateSystem,n=i.getRegion(e);return n&&i.dataToPoint(n.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}}}});n.mixin(d,u);var f=d;t.exports=f},TkdX:function(t,e,i){var n=i("bYtY"),a=i("IwbS"),r={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},o=2,s=4;function l(t,e,i){a.Group.call(this);var n=new a.Sector({z2:o});n.seriesIndex=e.seriesIndex;var r=new a.Text({z2:s,silent:t.getModel("label").get("silent")});function l(){r.ignore=r.hoverIgnore}function u(){r.ignore=r.normalIgnore}this.add(n),this.add(r),this.updateData(!0,t,"normal",e,i),this.on("emphasis",l).on("normal",u).on("mouseover",l).on("mouseout",u)}var u=l.prototype;u.updateData=function(t,e,i,r,o){this.node=e,e.piece=this,r=r||this._seriesModel,o=o||this._ecModel;var s=this.childAt(0);s.dataIndex=e.dataIndex;var l=e.getModel(),u=e.getLayout(),h=n.extend({},u);h.label=null;var c=function(t,e,i){var a=t.getVisual("color"),r=t.getVisual("visualMeta");r&&0!==r.length||(a=null);var o=t.getModel("itemStyle").get("color");if(o)return o;if(a)return a;if(0===t.depth)return i.option.color[0];var s=i.option.color.length;o=i.option.color[function(t){var e=t;for(;e.depth>1;)e=e.parentNode;var i=t.getAncestors()[0];return n.indexOf(i.children,e)}(t)%s];return o}(e,0,o);!function(t,e,i){e.getData().setItemVisual(t.dataIndex,"color",i)}(e,r,c);var d,f=l.getModel("itemStyle").getItemStyle();if("normal"===i)d=f;else{var p=l.getModel(i+".itemStyle").getItemStyle();d=n.merge(p,f)}d=n.defaults({lineJoin:"bevel",fill:d.fill||c},d),t?(s.setShape(h),s.shape.r=u.r0,a.updateProps(s,{shape:{r:u.r}},r,e.dataIndex),s.useStyle(d)):"object"==typeof d.fill&&d.fill.type||"object"==typeof s.style.fill&&s.style.fill.type?(a.updateProps(s,{shape:h},r),s.useStyle(d)):a.updateProps(s,{shape:h,style:d},r),this._updateLabel(r,c,i);var g=l.getShallow("cursor");if(g&&s.attr("cursor",g),t){var m=r.getShallow("highlightPolicy");this._initEvents(s,e,r,m)}this._seriesModel=r||this._seriesModel,this._ecModel=o||this._ecModel},u.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode(function(i){var n,a,o;i.piece&&(e.node===i?i.piece.updateData(!1,i,"emphasis"):(n=i,a=e.node,(o=t)!==r.NONE&&(o===r.SELF?n===a:o===r.ANCESTOR?n===a||n.isAncestorOf(a):n===a||n.isDescendantOf(a))?i.piece.childAt(0).trigger("highlight"):t!==r.NONE&&i.piece.childAt(0).trigger("downplay")))})},u.onNormal=function(){this.node.hostTree.root.eachNode(function(t){t.piece&&t.piece.updateData(!1,t,"normal")})},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(t,e,i){var r=this.node.getModel(),o=r.getModel("label"),s="normal"===i||"emphasis"===i?o:r.getModel(i+".label"),l=r.getModel("emphasis.label"),u=n.retrieve(t.getFormattedLabel(this.node.dataIndex,i,null,null,"label"),this.node.name);!1===I("show")&&(u="");var h=this.node.getLayout(),c=s.get("minAngle");null==c&&(c=o.get("minAngle")),c=c/180*Math.PI;var d=h.endAngle-h.startAngle;null!=c&&Math.abs(d)<c&&(u="");var f=this.childAt(1);a.setLabelStyle(f.style,f.hoverStyle||{},o,l,{defaultText:s.getShallow("show")?u:null,autoColor:e,useInsideStyle:!0});var p,g=(h.startAngle+h.endAngle)/2,m=Math.cos(g),v=Math.sin(g),y=I("position"),x=I("distance")||0,_=I("align");"outside"===y?(p=h.r+x,_=g>Math.PI/2?"right":"left"):_&&"center"!==_?"left"===_?(p=h.r0+x,g>Math.PI/2&&(_="right")):"right"===_&&(p=h.r-x,g>Math.PI/2&&(_="left")):(p=(h.r+h.r0)/2,_="center"),f.attr("style",{text:u,textAlign:_,textVerticalAlign:I("verticalAlign")||"middle",opacity:I("opacity")});var b=p*m+h.cx,w=p*v+h.cy;f.attr("position",[b,w]);var S=I("rotate"),M=0;function I(t){var e=s.get(t);return null==e?o.get(t):e}"radial"===S?(M=-g)<-Math.PI/2&&(M+=Math.PI):"tangential"===S?(M=Math.PI/2-g)>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI):"number"==typeof S&&(M=S*Math.PI/180),f.attr("rotation",M)},u._initEvents=function(t,e,i,n){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var a=this,r=function(){a.onEmphasis(n)},o=function(){a.onNormal()};i.isAnimationEnabled()&&t.on("mouseover",r).on("mouseout",o).on("emphasis",r).on("normal",o).on("downplay",function(){a.onDownplay()}).on("highlight",function(){a.onHighlight()})},n.inherits(l,a.Group);var h=l;t.exports=h},Tp9H:function(t,e,i){var n=i("ItGF"),a=i("Kagy"),r=i("IUWy"),o=a.toolbox.saveAsImage;function s(t){this.model=t}s.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:o.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:o.lang.slice()},s.prototype.unusable=!n.canvasSupported,s.prototype.onclick=function(t,e){var i=this.model,a=i.get("name")||t.get("title.0.text")||"echarts",r=i.get("type",!0)||"png",o=e.getConnectedDataURL({type:r,backgroundColor:i.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if("function"!=typeof MouseEvent||n.browser.ie||n.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var s=atob(o.split(",")[1]),l=s.length,u=new Uint8Array(l);l--;)u[l]=s.charCodeAt(l);var h=new Blob([u]);window.navigator.msSaveOrOpenBlob(h,a+"."+r)}else{var c=i.get("lang"),d='<body style="margin:0;"><img src="'+o+'" style="max-width:100%;" title="'+(c&&c[0]||"")+'" /></body>';window.open().document.write(d)}else{var f=document.createElement("a");f.download=a+"."+r,f.target="_blank",f.href=o;var p=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});f.dispatchEvent(p)}},r.register("saveAsImage",s);var l=s;t.exports=l},"U/Mo":function(t,e){e.getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var i=t.option.nodeScaleRatio,n=e.scale,a=n&&n[0]||1;return((e.getZoom()-1)*i+1)/a},e.getSymbolSize=function(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}},UOVi:function(t,e,i){var n=i("bYtY"),a=i("7aKB"),r=["cartesian2d","polar","singleAxis"];function o(t,e){t=t.slice();var i=n.map(t,a.capitalFirst);e=(e||[]).slice();var r=n.map(e,a.capitalFirst);return function(a,o){n.each(t,function(t,n){for(var s={name:t,capital:i[n]},l=0;l<e.length;l++)s[e[l]]=t+r[l];a.call(o,s)})}}var s=o(["x","y","z","radius","angle","single"],["axisIndex","axis","index","id"]);e.isCoordSupported=function(t){return n.indexOf(r,t)>=0},e.createNameEach=o,e.eachAxisDim=s,e.createLinkedNodesFinder=function(t,e,i){return function(r){var o,s={nodes:[],records:{}};if(e(function(t){s.records[t.name]={}}),!r)return s;a(r,s);do{o=!1,t(l)}while(o);function l(t){!function(t,e){return n.indexOf(e.nodes,t)>=0}(t,s)&&function(t,a){var r=!1;return e(function(e){n.each(i(t,e)||[],function(t){a.records[e.name][t]&&(r=!0)})}),r}(t,s)&&(a(t,s),o=!0)}return s};function a(t,a){a.nodes.push(t),e(function(e){n.each(i(t,e)||[],function(t){a.records[e.name][t]=!0})})}}},UnoB:function(t,e,i){var n=i("bYtY"),a=i("OELB");function r(t,e,i){if(t.count())for(var a,r=e.coordinateSystem,o=e.getLayerSeries(),s=t.mapDimension("single"),l=t.mapDimension("value"),u=n.map(o,function(e){return n.map(e.indices,function(e){var i=r.dataToPoint(t.get(s,e));return i[1]=t.get(l,e),i})}),h=function(t){for(var e=t.length,i=t[0].length,n=[],a=[],r=0,o={},s=0;s<i;++s){for(var l=0,u=0;l<e;++l)u+=t[l][s][1];u>r&&(r=u),n.push(u)}for(var h=0;h<i;++h)a[h]=(r-n[h])/2;r=0;for(var c=0;c<i;++c){var d=n[c]+a[c];d>r&&(r=d)}return o.y0=a,o.max=r,o}(u),c=h.y0,d=i/h.max,f=o.length,p=o[0].indices.length,g=0;g<p;++g){a=c[g]*d,t.setItemLayout(o[0].indices[g],{layerIndex:0,x:u[0][g][0],y0:a,y:u[0][g][1]*d});for(var m=1;m<f;++m)a+=u[m-1][g][1]*d,t.setItemLayout(o[m].indices[g],{layerIndex:m,x:u[m][g][0],y0:a,y:u[m][g][1]*d})}}t.exports=function(t,e){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),i=t.coordinateSystem,n={},o=i.getRect();n.rect=o;var s=t.get("boundaryGap"),l=i.getAxis();n.boundaryGap=s,"horizontal"===l.orient?(s[0]=a.parsePercent(s[0],o.height),s[1]=a.parsePercent(s[1],o.height),r(e,t,o.height-s[0]-s[1])):(s[0]=a.parsePercent(s[0],o.width),s[1]=a.parsePercent(s[1],o.width),r(e,t,o.width-s[0]-s[1])),e.setLayout("layoutInfo",n)})}},VFCP:function(t,e,i){i("dBmv"),i("KamJ")},VPsl:function(t,e){t.exports=function(t){t.eachSeriesByType("map",function(t){var e=t.get("color"),i=t.getModel("itemStyle"),n=i.get("areaColor"),a=i.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:n,color:a})})}},VR9l:function(t,e,i){var n=i("KCsZ")([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),a={getItemStyle:function(t,e){var i=n(this,t,e),a=this.getBorderLineDash();return a&&(i.lineDash=a),i},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}};t.exports=a},VSLf:function(t,e,i){i("I+Bx"),i("F0hE"),i("bBKM")},VXYp:function(t,e,i){var n=i("bYtY"),a=i("SgGq"),r=i("iLNv"),o="\0_ec_dataZoom_roams";function s(t){var e=t.getZr();return e[o]||(e[o]={})}function l(t){n.each(t,function(e,i){e.count||(e.controller.dispose(),delete t[i])})}function u(t,e){t.dispatchAction({type:"dataZoom",batch:e})}e.register=function(t,e){var i=s(t),o=e.dataZoomId,h=e.coordId;n.each(i,function(t,i){var a=t.dataZoomInfos;a[o]&&n.indexOf(e.allCoordIds,h)<0&&(delete a[o],t.count--)}),l(i);var c=i[h];c||((c=i[h]={coordId:h,dataZoomInfos:{},count:0}).controller=function(t,e){var i=new a(t.getZr());return n.each(["pan","zoom","scrollMove"],function(t){i.on(t,function(i){var a=[];n.each(e.dataZoomInfos,function(n){if(i.isAvailableBehavior(n.dataZoomModel.option)){var r=(n.getRange||{})[t],o=r&&r(e.controller,i);!n.dataZoomModel.get("disabled",!0)&&o&&a.push({dataZoomId:n.dataZoomId,start:o[0],end:o[1]})}}),a.length&&e.dispatchAction(a)})}),i}(t,c),c.dispatchAction=n.curry(u,t)),!c.dataZoomInfos[o]&&c.count++,c.dataZoomInfos[o]=e;var d,f,p,g,m=(d=c.dataZoomInfos,p={type_true:2,type_move:1,type_false:0,type_undefined:-1},g=!0,n.each(d,function(t){var e=t.dataZoomModel,i=!e.get("disabled",!0)&&(!e.get("zoomLock",!0)||"move");p["type_"+i]>p["type_"+f]&&(f=i),g&=e.get("preventDefaultMouseMove",!0)}),{controlType:f,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!g}});c.controller.enable(m.controlType,m.opt),c.controller.setPointerChecker(e.containsPoint),r.createOrUpdate(c,"dispatchAction",e.dataZoomModel.get("throttle",!0),"fixRate")},e.unregister=function(t,e){var i=s(t);n.each(i,function(t){t.controller.dispose();var i=t.dataZoomInfos;i[e]&&(delete i[e],t.count--)}),l(i)},e.generateCoordId=function(t){return t.type+"\0_"+t.id}},VaxA:function(t,e,i){var n=i("bYtY");function a(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}e.retrieveTargetInfo=function(t,e,i){if(t&&n.indexOf(e,t.type)>=0){var a=i.getData().tree.root,r=t.targetNode;if("string"==typeof r&&(r=a.getNodeById(r)),r&&a.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=a.getNodeById(o)))return{node:r}}},e.getPathToRoot=a,e.aboveViewRoot=function(t,e){var i=a(t);return n.indexOf(i,e)>=0},e.wrapTreePathInfo=function(t,e){for(var i=[];t;){var n=t.dataIndex;i.push({name:t.name,dataIndex:n,value:e.getRawValue(n)}),t=t.parentNode}return i.reverse(),i}},VpOo:function(t,e){e.buildPath=function(t,e){var i,n,a,r,o,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"==typeof c?i=n=a=r=c:c instanceof Array?1===c.length?i=n=a=r=c[0]:2===c.length?(i=a=c[0],n=r=c[1]):3===c.length?(i=c[0],n=r=c[1],a=c[2]):(i=c[0],n=c[1],a=c[2],r=c[3]):i=n=a=r=0,i+n>u&&(i*=u/(o=i+n),n*=u/o),a+r>u&&(a*=u/(o=a+r),r*=u/o),n+a>h&&(n*=h/(o=n+a),a*=h/o),i+r>h&&(i*=h/(o=i+r),r*=h/o),t.moveTo(s+i,l),t.lineTo(s+u-n,l),0!==n&&t.arc(s+u-n,l+n,n,-Math.PI/2,0),t.lineTo(s+u,l+h-a),0!==a&&t.arc(s+u-a,l+h-a,a,0,Math.PI/2),t.lineTo(s+r,l+h),0!==r&&t.arc(s+r,l+h-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)}},W2nI:function(t,e,i){var n=i("IwbS"),a=i("ProS"),r=i("bYtY"),o=["itemStyle","opacity"],s=["lineStyle","opacity"];function l(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function u(t,e,i){var n=t.getGraphicEl(),a=l(t,e);null!=i&&(null==a&&(a=1),a*=i),n.downplay&&n.downplay(),n.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",a)})}function h(t,e){var i=l(t,e),n=t.getGraphicEl();n.highlight&&n.highlight(),n.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",i)})}var c=n.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(t,e){var i=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+i,e.y2),t.bezierCurveTo(e.cpx2+i,e.cpy2,e.cpx1+i,e.cpy1,e.x1+i,e.y1)):(t.lineTo(e.x2,e.y2+i),t.bezierCurveTo(e.cpx2,e.cpy2+i,e.cpx1,e.cpy1+i,e.x1,e.y1+i)),t.closePath()}}),d=a.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(t,e,i){var a=this,r=t.getGraph(),o=this.group,s=t.layoutInfo,l=s.width,u=s.height,h=t.getData(),d=t.getData("edge"),f=t.get("orient");this._model=t,o.removeAll(),o.attr("position",[s.x,s.y]),r.eachEdge(function(e){var i=new c;i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var a,r,s,h,p,g,m,v,y=e.getModel("lineStyle"),x=y.get("curveness"),_=e.node1.getLayout(),b=e.node1.getModel(),w=b.get("localX"),S=b.get("localY"),M=e.node2.getLayout(),I=e.node2.getModel(),T=I.get("localX"),A=I.get("localY"),D=e.getLayout();switch(i.shape.extent=Math.max(1,D.dy),i.shape.orient=f,"vertical"===f?(a=(null!=w?w*l:_.x)+D.sy,r=(null!=S?S*u:_.y)+_.dy,s=(null!=T?T*l:M.x)+D.ty,p=a,g=r*(1-x)+(h=null!=A?A*u:M.y)*x,m=s,v=r*x+h*(1-x)):(a=(null!=w?w*l:_.x)+_.dx,r=(null!=S?S*u:_.y)+D.sy,p=a*(1-x)+(s=null!=T?T*l:M.x)*x,g=r,m=a*x+s*(1-x),v=h=(null!=A?A*u:M.y)+D.ty),i.setShape({x1:a,y1:r,x2:s,y2:h,cpx1:p,cpy1:g,cpx2:m,cpy2:v}),i.setStyle(y.getItemStyle()),i.style.fill){case"source":i.style.fill=e.node1.getVisual("color");break;case"target":i.style.fill=e.node2.getVisual("color")}n.setHoverStyle(i,e.getModel("emphasis.lineStyle").getItemStyle()),o.add(i),d.setItemGraphicEl(e.dataIndex,i)}),r.eachNode(function(e){var i=e.getLayout(),a=e.getModel(),r=a.get("localX"),s=a.get("localY"),c=a.getModel("label"),d=a.getModel("emphasis.label"),f=new n.Rect({shape:{x:null!=r?r*l:i.x,y:null!=s?s*u:i.y,width:i.dx,height:i.dy},style:a.getModel("itemStyle").getItemStyle()}),p=e.getModel("emphasis.itemStyle").getItemStyle();n.setLabelStyle(f.style,p,c,d,{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id,isRectText:!0}),f.setStyle("fill",e.getVisual("color")),n.setHoverStyle(f,p),o.add(f),h.setItemGraphicEl(e.dataIndex,f),f.dataType="node"}),h.eachItemGraphicEl(function(e,n){var r=h.getItemModel(n);r.get("draggable")&&(e.drift=function(e,r){a._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=r,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:h.getRawIndex(n),localX:this.shape.x/l,localY:this.shape.y/u})},e.ondragend=function(){a._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move"),r.get("focusNodeAdjacency")&&(e.off("mouseover").on("mouseover",function(){a._focusAdjacencyDisabled||i.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.off("mouseout").on("mouseout",function(){a._focusAdjacencyDisabled||i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))}),d.eachItemGraphicEl(function(e,n){d.getItemModel(n).get("focusNodeAdjacency")&&(e.off("mouseover").on("mouseover",function(){a._focusAdjacencyDisabled||i.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),e.off("mouseout").on("mouseout",function(){a._focusAdjacencyDisabled||i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))}),!this._data&&t.get("animation")&&o.setClipPath(function(t,e,i){var a=new n.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return n.initProps(a,{shape:{width:t.width+20,height:t.height+20}},e,i),a}(o.getBoundingRect(),t,function(){o.removeClipPath()})),this._data=t.getData()},dispose:function(){},focusNodeAdjacency:function(t,e,i,n){var a=this._model.getData(),l=a.graph,c=n.dataIndex,d=a.getItemModel(c),f=n.edgeDataIndex;if(null!=c||null!=f){var p=l.getNodeByIndex(c),g=l.getEdgeByIndex(f);if(l.eachNode(function(t){u(t,o,.1)}),l.eachEdge(function(t){u(t,s,.1)}),p){h(p,o);var m=d.get("focusNodeAdjacency");"outEdges"===m?r.each(p.outEdges,function(t){t.dataIndex<0||(h(t,s),h(t.node2,o))}):"inEdges"===m?r.each(p.inEdges,function(t){t.dataIndex<0||(h(t,s),h(t.node1,o))}):"allEdges"===m&&r.each(p.edges,function(t){t.dataIndex<0||(h(t,s),h(t.node1,o),h(t.node2,o))})}g&&(h(g,s),h(g.node1,o),h(g.node2,o))}},unfocusNodeAdjacency:function(t,e,i,n){var a=this._model.getGraph();a.eachNode(function(t){u(t,o)}),a.eachEdge(function(t){u(t,s)})}});t.exports=d},W4dC:function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=n.each,r=n.createHashMap,o=i("7DRL"),s=i("TIY9"),l=i("yS9w"),u=i("mFDi"),h={geoJSON:s,svg:l},c={load:function(t,e){var i,n=[],o=r(),s=r(),l=f(t);return a(l,function(r){var l=h[r.type].load(t,r);a(l.regions,function(t){var i=t.name;e&&e.hasOwnProperty(i)&&(t=t.cloneShallow(i=e[i])),n.push(t),o.set(i,t),s.set(i,t.center)});var u=l.boundingRect;u&&(i?i.union(u):i=u.clone())}),{regions:n,regionsMap:o,nameCoordMap:s,boundingRect:i||new u(0,0,0,0)}},makeGraphic:d("makeGraphic"),removeGraphic:d("removeGraphic")};function d(t){return function(e,i){var n=f(e),r=[];return a(n,function(n){var a=h[n.type][t];a&&r.push(a(e,n,i))}),r}}function f(t){return o.retrieveMap(t)||[]}t.exports=c},WGYa:function(t,e,i){var n=i("7yuC").forceLayout,a=i("HF/U").simpleLayout,r=i("lOQZ").circularLayout,o=i("OELB").linearMap,s=i("QBsz"),l=i("bYtY");t.exports=function(t){t.eachSeriesByType("graph",function(t){if(!(v=t.coordinateSystem)||"view"===v.type)if("force"===t.get("layout")){var e=t.preservedPoints||{},i=t.getGraph(),u=i.data,h=i.edgeData,c=t.getModel("force"),d=c.get("initLayout");t.preservedPoints?u.each(function(t){var i=u.getId(t);u.setItemLayout(t,e[i]||[NaN,NaN])}):d&&"none"!==d?"circular"===d&&r(t,"value"):a(t);var f=u.getDataExtent("value"),p=h.getDataExtent("value"),g=c.get("repulsion"),m=c.get("edgeLength");l.isArray(g)||(g=[g,g]),l.isArray(m)||(m=[m,m]),m=[m[1],m[0]];var v,y=u.mapArray("value",function(t,e){var i=u.getItemLayout(e),n=o(t,f,g);return isNaN(n)&&(n=(g[0]+g[1])/2),{w:n,rep:n,fixed:u.getItemModel(e).get("fixed"),p:!i||isNaN(i[0])||isNaN(i[1])?null:i}}),x=h.mapArray("value",function(t,e){var n=i.getEdgeByIndex(e),a=o(t,p,m);return isNaN(a)&&(a=(m[0]+m[1])/2),{n1:y[n.node1.dataIndex],n2:y[n.node2.dataIndex],d:a,curveness:n.getModel().get("lineStyle.curveness")||0}}),_=(v=t.coordinateSystem).getBoundingRect(),b=n(y,x,{rect:_,gravity:c.get("gravity")}),w=b.step;b.step=function(t){for(var n=0,a=y.length;n<a;n++)y[n].fixed&&s.copy(y[n].p,i.getNodeByIndex(n).getLayout());w(function(n,a,r){for(var o=0,l=n.length;o<l;o++)n[o].fixed||i.getNodeByIndex(o).setLayout(n[o].p),e[u.getId(o)]=n[o].p;for(o=0,l=a.length;o<l;o++){var h=a[o],c=i.getEdgeByIndex(o),d=h.n1.p,f=h.n2.p,p=c.getLayout();(p=p?p.slice():[])[0]=p[0]||[],p[1]=p[1]||[],s.copy(p[0],d),s.copy(p[1],f),+h.curveness&&(p[2]=[(d[0]+f[0])/2-(d[1]-f[1])*h.curveness,(d[1]+f[1])/2-(f[0]-d[0])*h.curveness]),c.setLayout(p)}t&&t(r)})},t.forceLayout=b,t.preservedPoints=e,b.step()}else t.forceLayout=null})}},Wqna:function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=n.isObject,r=n.each,o=n.map,s=n.indexOf,l=(n.retrieve,i("+TT/").getLayoutRect),u=i("aX7z"),h=u.createScaleByModel,c=u.ifAxisCrossZero,d=u.niceScaleExtent,f=u.estimateLabelUnionRect,p=i("y+lR"),g=i("7AJT"),m=i("IDmD"),v=i("7hqr").getStackedDimension;function y(t,e,i){return t.getCoordSysModel()===e}function x(t,e,i){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,i),this.model=t}i("jtI2");var _=x.prototype;function b(t,e,i,n){i.getAxesOnZeroOf=function(){return a?[a]:[]};var a,r=t[e],o=i.model,s=o.get("axisLine.onZero"),l=o.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)w(r[l])&&(a=r[l]);else for(var u in r)if(r.hasOwnProperty(u)&&w(r[u])&&!n[h(r[u])]){a=r[u];break}a&&(n[h(a)]=!0)}function h(t){return t.dim+"_"+t.index}}function w(t){return t&&"category"!==t.type&&"time"!==t.type&&c(t)}_.type="grid",_.axisPointerEnabled=!0,_.getRect=function(){return this._rect},_.update=function(t,e){var i=this._axesMap;this._updateScale(t,this.model),r(i.x,function(t){d(t.scale,t.model)}),r(i.y,function(t){d(t.scale,t.model)});var n={};r(i.x,function(t){b(i,"y",t,n)}),r(i.y,function(t){b(i,"x",t,n)}),this.resize(this.model,e)},_.resize=function(t,e,i){var n=l(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=n;var a=this._axesList;function o(){r(a,function(t){var e=t.isHorizontal(),i=e?[0,n.width]:[0,n.height],a=t.inverse?1:0;t.setExtent(i[a],i[1-a]),function(t,e){var i=t.getExtent(),n=i[0]+i[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return n-t+e}}(t,e?n.x:n.y)})}o(),!i&&t.get("containLabel")&&(r(a,function(t){if(!t.model.get("axisLabel.inside")){var e=f(t);if(e){var i=t.isHorizontal()?"height":"width",a=t.model.get("axisLabel.margin");n[i]-=e[i]+a,"top"===t.position?n.y+=e.height+a:"left"===t.position&&(n.x+=e.width+a)}}}),o())},_.getAxis=function(t,e){var i=this._axesMap[t];if(null!=i){if(null==e)for(var n in i)if(i.hasOwnProperty(n))return i[n];return i[e]}},_.getAxes=function(){return this._axesList.slice()},_.getCartesian=function(t,e){if(null!=t&&null!=e){var i="x"+t+"y"+e;return this._coordsMap[i]}a(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var n=0,r=this._coordsList;n<r.length;n++)if(r[n].getAxis("x").index===t||r[n].getAxis("y").index===e)return r[n]},_.getCartesians=function(){return this._coordsList.slice()},_.convertToPixel=function(t,e,i){var n=this._findConvertTarget(t,e);return n.cartesian?n.cartesian.dataToPoint(i):n.axis?n.axis.toGlobalCoord(n.axis.dataToCoord(i)):null},_.convertFromPixel=function(t,e,i){var n=this._findConvertTarget(t,e);return n.cartesian?n.cartesian.pointToData(i):n.axis?n.axis.coordToData(n.axis.toLocalCoord(i)):null},_._findConvertTarget=function(t,e){var i,n,a=e.seriesModel,r=e.xAxisModel||a&&a.getReferringComponents("xAxis")[0],o=e.yAxisModel||a&&a.getReferringComponents("yAxis")[0],l=e.gridModel,u=this._coordsList;if(a)i=a.coordinateSystem,s(u,i)<0&&(i=null);else if(r&&o)i=this.getCartesian(r.componentIndex,o.componentIndex);else if(r)n=this.getAxis("x",r.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(l){l.coordinateSystem===this&&(i=this._coordsList[0])}return{cartesian:i,axis:n}},_.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},_._initCartesian=function(t,e,i){var n={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},o={x:0,y:0};if(e.eachComponent("xAxis",s("x"),this),e.eachComponent("yAxis",s("y"),this),!o.x||!o.y)return this._axesMap={},void(this._axesList=[]);function s(e){return function(i,r){if(y(i,t)){var s=i.get("position");"x"===e?"top"!==s&&"bottom"!==s&&(s=n.bottom?"top":"bottom"):"left"!==s&&"right"!==s&&(s=n.left?"right":"left"),n[s]=!0;var l=new g(e,h(i),[0,0],i.get("type"),s),u="category"===l.type;l.onBand=u&&i.get("boundaryGap"),l.inverse=i.get("inverse"),i.axis=l,l.model=i,l.grid=this,l.index=r,this._axesList.push(l),a[e][r]=l,o[e]++}}}this._axesMap=a,r(a.x,function(e,i){r(a.y,function(n,a){var r="x"+i+"y"+a,o=new p(r);o.grid=this,o.model=t,this._coordsMap[r]=o,this._coordsList.push(o),o.addAxis(e),o.addAxis(n)},this)},this)},_._updateScale=function(t,e){function i(t,e,i){r(t.mapDimension(e.dim,!0),function(i){e.scale.unionExtentFromData(t,v(t,i))})}r(this._axesList,function(t){t.scale.setExtent(1/0,-1/0)}),t.eachSeries(function(n){if(I(n)){var a=M(n,t),r=a[0],o=a[1];if(!y(r,e)||!y(o,e))return;var s=this.getCartesian(r.componentIndex,o.componentIndex),l=n.getData(),u=s.getAxis("x"),h=s.getAxis("y");"list"===l.type&&(i(l,u,n),i(l,h,n))}},this)},_.getTooltipAxes=function(t){var e=[],i=[];return r(this.getCartesians(),function(n){var a=null!=t&&"auto"!==t?n.getAxis(t):n.getBaseAxis(),r=n.getOtherAxis(a);s(e,a)<0&&e.push(a),s(i,r)<0&&i.push(r)}),{baseAxes:e,otherAxes:i}};var S=["xAxis","yAxis"];function M(t,e){return o(S,function(e){return t.getReferringComponents(e)[0]})}function I(t){return"cartesian2d"===t.get("coordinateSystem")}x.create=function(t,e){var i=[];return t.eachComponent("grid",function(n,a){var r=new x(n,t,e);r.name="grid_"+a,r.resize(n,e,!0),n.coordinateSystem=r,i.push(r)}),t.eachSeries(function(t){if(I(t)){var e=M(t),i=e[0],n=e[1],a=i.getCoordSysModel().coordinateSystem;t.coordinateSystem=a.getCartesian(i.componentIndex,n.componentIndex)}}),i},x.dimensions=x.prototype.dimensions=p.prototype.dimensions,m.register("cartesian2d",x);var T=x;t.exports=T},XOKv:function(t,e,i){i("OXB0"),i("SA4+")},Xmg4:function(t,e,i){var n=i("bYtY"),a=i("LPTA").devicePixelRatio,r=i("K2GJ"),o=i("3C/r");function s(){return!1}function l(t,e,i){var a=n.createCanvas(),r=e.getWidth(),o=e.getHeight(),s=a.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=r+"px",s.height=o+"px",a.setAttribute("data-zr-dom-id",t)),a.width=r*i,a.height=o*i,a}var u=function(t,e,i){var r;i=i||a,"string"==typeof t?r=l(t,e,i):n.isObject(t)&&(t=(r=t).id),this.id=t,this.dom=r;var o=r.style;o&&(r.onselectstart=s,o["-webkit-user-select"]="none",o["user-select"]="none",o["-webkit-touch-callout"]="none",o["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",o.padding=0,o.margin=0,o["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=i};u.prototype={constructor:u,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=l("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},resize:function(t,e){var i=this.dpr,n=this.dom,a=n.style,r=this.domBack;a&&(a.width=t+"px",a.height=e+"px"),n.width=t*i,n.height=e*i,r&&(r.width=t*i,r.height=e*i,1!==i&&this.ctxBack.scale(i,i))},clear:function(t,e){var i,n=this.dom,a=this.ctx,s=n.width,l=n.height,u=(e=e||this.clearColor,this.motionBlur&&!t),h=this.lastFrameAlpha,c=this.dpr;(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,s/c,l/c)),a.clearRect(0,0,s,l),e&&"transparent"!==e)&&(e.colorStops?(i=e.__canvasGradient||r.getGradient(a,e,{x:0,y:0,width:s,height:l}),e.__canvasGradient=i):e.image&&(i=o.prototype.getCanvasPattern.call(e,a)),a.save(),a.fillStyle=i||e,a.fillRect(0,0,s,l),a.restore());if(u){var d=this.domBack;a.save(),a.globalAlpha=h,a.drawImage(d,0,0,s,l),a.restore()}}};var h=u;t.exports=h},Xnb7:function(t,e,i){var n=new(i("1RvN"))(50);function a(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var i=t.pending[e],n=i.cb;n&&n(this,i.cbPayload),i.hostEl.dirty()}t.pending.length=0}function r(t){return t&&t.width&&t.height}e.findExistImage=function(t){if("string"==typeof t){var e=n.get(t);return e&&e.image}return t},e.createOrUpdateImage=function(t,e,i,o,s){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!i)return e;var l=n.get(t),u={hostEl:i,cb:o,cbPayload:s};return l?!r(e=l.image)&&l.pending.push(u):((e=new Image).onload=e.onerror=a,n.put(t,e.__cachedImgObj={image:e,pending:[u]}),e.src=e.__zrImageSrc=t),e}return t}return e},e.isImageReady=r},XpcN:function(t,e,i){i("Tghj").__DEV__;var n=i("ProS"),a=i("bYtY"),r=i("oVpE").createSymbol,o=i("IwbS"),s=i("eRkO").makeBackground,l=i("+TT/"),u=a.curry,h=a.each,c=o.Group,d=n.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new c),this._backgroundEl,this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},render:function(t,e,i){var n=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===t.get("orient")?"right":"left"),this.renderInner(r,t,e,i);var o=t.getBoxLayoutParams(),u={width:i.getWidth(),height:i.getHeight()},h=t.get("padding"),c=l.getLayoutRect(o,u,h),d=this.layoutInner(t,r,c,n),f=l.getLayoutRect(a.defaults({width:d.width,height:d.height},o),u,h);this.group.attr("position",[f.x-d.x,f.y-d.y]),this.group.add(this._backgroundEl=s(d,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl)},renderInner:function(t,e,i,n){var r=this.getContentGroup(),o=a.createHashMap(),s=e.get("selectedMode"),l=[];i.eachRawSeries(function(t){!t.get("legendHoverLink")&&l.push(t.id)}),h(e.getData(),function(a,h){var d=a.get("name");if(this.newlineDisabled||""!==d&&"\n"!==d){var m=i.getSeriesByName(d)[0];if(!o.get(d))if(m){var v=m.getData(),y=v.getVisual("color");"function"==typeof y&&(y=y(m.getDataParams(0)));var x=v.getVisual("legendSymbol")||"roundRect",_=v.getVisual("symbol");this._createItem(d,h,a,e,x,_,t,y,s).on("click",u(f,d,n)).on("mouseover",u(p,m.name,null,n,l)).on("mouseout",u(g,m.name,null,n,l)),o.set(d,!0)}else i.eachRawSeries(function(i){if(!o.get(d)&&i.legendDataProvider){var r=i.legendDataProvider(),c=r.indexOfName(d);if(c<0)return;var m=r.getItemVisual(c,"color");this._createItem(d,h,a,e,"roundRect",null,t,m,s).on("click",u(f,d,n)).on("mouseover",u(p,null,d,n,l)).on("mouseout",u(g,null,d,n,l)),o.set(d,!0)}},this)}else r.add(new c({newline:!0}))},this)},_createItem:function(t,e,i,n,s,l,u,h,d){var f=n.get("itemWidth"),p=n.get("itemHeight"),g=n.get("inactiveColor"),m=n.get("symbolKeepAspect"),v=n.isSelected(t),y=new c,x=i.getModel("textStyle"),_=i.get("icon"),b=i.getModel("tooltip"),w=b.parentModel;if(s=_||s,y.add(r(s,0,0,f,p,v?h:g,null==m||m)),!_&&l&&(l!==s||"none"===l)){var S=.8*p;"none"===l&&(l="circle"),y.add(r(l,(f-S)/2,(p-S)/2,S,S,v?h:g,null==m||m))}var M="left"===u?f+5:-5,I=u,T=n.get("formatter"),A=t;"string"==typeof T&&T?A=T.replace("{name}",null!=t?t:""):"function"==typeof T&&(A=T(t)),y.add(new o.Text({style:o.setTextStyle({},x,{text:A,x:M,y:p/2,textFill:v?x.getTextColor():g,textAlign:I,textVerticalAlign:"middle"})}));var D=new o.Rect({shape:y.getBoundingRect(),invisible:!0,tooltip:b.get("show")?a.extend({content:t,formatter:w.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:n.componentIndex,name:t,$vars:["name"]}},b.option):null});return y.add(D),y.eachChild(function(t){t.silent=!0}),D.silent=!d,this.getContentGroup().add(y),o.setHoverStyle(y),y.__legendDataIndex=e,y},layoutInner:function(t,e,i){var n=this.getContentGroup();l.box(t.get("orient"),n,t.get("itemGap"),i.width,i.height);var a=n.getBoundingRect();return n.attr("position",[-a.x,-a.y]),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function f(t,e){e.dispatchAction({type:"legendToggleSelect",name:t})}function p(t,e,i,n){var a=i.getZr().storage.getDisplayList()[0];a&&a.useHoverLayer||i.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:n})}function g(t,e,i,n){var a=i.getZr().storage.getDisplayList()[0];a&&a.useHoverLayer||i.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:n})}t.exports=d},XxSj:function(t,e,i){var n=i("bYtY"),a=i("Qe9p"),r=i("OELB").linearMap,o=n.each,s=n.isObject,l=-1,u=function(t){var e=t.mappingMethod,i=t.type,a=this.option=n.clone(t);this.type=i,this.mappingMethod=e,this._normalizeData=_[e];var r=h[i];this.applyVisual=r.applyVisual,this.getColorMapper=r.getColorMapper,this._doMap=r._doMap[e],"piecewise"===e?(c(a),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,n.each(e,function(e,i){e.originIndex=i,null!=e.visual&&(t.hasSpecialVisual=!0)})}(a)):"category"===e?a.categories?function(t){var e=t.categories,i=t.visual,a=t.categoryMap={};if(o(e,function(t,e){a[t]=e}),!n.isArray(i)){var r=[];n.isObject(i)?o(i,function(t,e){var i=a[e];r[null!=i?i:l]=t}):r[l]=i,i=x(t,r)}for(var s=e.length-1;s>=0;s--)null==i[s]&&(delete a[e[s]],e.pop())}(a):c(a,!0):(n.assert("linear"!==e||a.dataExtent),c(a))};u.prototype={constructor:u,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return n.bind(this._normalizeData,this)}};var h=u.visualHandlers={color:{applyVisual:p("color"),getColorMapper:function(){var t=this.option;return n.bind("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),g.call(this,t)}:function(e,i,n){var r=!!n;return!i&&(e=this._normalizeData(e)),n=a.fastLerp(e,t.parsedVisual,n),r?n:a.stringify(n,"rgba")},this)},_doMap:{linear:function(t){return a.stringify(a.fastLerp(t,this.option.parsedVisual),"rgba")},category:g,piecewise:function(t,e){var i=y.call(this,e);return null==i&&(i=a.stringify(a.fastLerp(t,this.option.parsedVisual),"rgba")),i},fixed:m}},colorHue:d(function(t,e){return a.modifyHSL(t,e)}),colorSaturation:d(function(t,e){return a.modifyHSL(t,null,e)}),colorLightness:d(function(t,e){return a.modifyHSL(t,null,null,e)}),colorAlpha:d(function(t,e){return a.modifyAlpha(t,e)}),opacity:{applyVisual:p("opacity"),_doMap:v([0,1])},liftZ:{applyVisual:p("liftZ"),_doMap:{linear:m,category:m,piecewise:m,fixed:m}},symbol:{applyVisual:function(t,e,i){var a=this.mapValueToVisual(t);if(n.isString(a))i("symbol",a);else if(s(a))for(var r in a)a.hasOwnProperty(r)&&i(r,a[r])},_doMap:{linear:f,category:g,piecewise:function(t,e){var i=y.call(this,e);return null==i&&(i=f.call(this,t)),i},fixed:m}},symbolSize:{applyVisual:p("symbolSize"),_doMap:v([0,1])}};function c(t,e){var i=t.visual,a=[];n.isObject(i)?o(i,function(t){a.push(t)}):null!=i&&a.push(i);e||1!==a.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(a[1]=a[0]),x(t,a)}function d(t){return{applyVisual:function(e,i,n){e=this.mapValueToVisual(e),n("color",t(i("color"),e))},_doMap:v([0,1])}}function f(t){var e=this.option.visual;return e[Math.round(r(t,[0,1],[0,e.length-1],!0))]||{}}function p(t){return function(e,i,n){n(t,this.mapValueToVisual(e))}}function g(t){var e=this.option.visual;return e[this.option.loop&&t!==l?t%e.length:t]}function m(){return this.option.visual[0]}function v(t){return{linear:function(e){return r(e,t,this.option.visual,!0)},category:g,piecewise:function(e,i){var n=y.call(this,i);return null==n&&(n=r(e,t,this.option.visual,!0)),n},fixed:m}}function y(t){var e=this.option,i=e.pieceList;if(e.hasSpecialVisual){var n=i[u.findPieceIndex(t,i)];if(n&&n.visual)return n.visual[this.type]}}function x(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=n.map(e,function(t){return a.parse(t)})),e}var _={linear:function(t){return r(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,i=u.findPieceIndex(t,e,!0);if(null!=i)return r(i,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?l:e},fixed:n.noop};function b(t,e,i){return t?e<=i:e<i}u.listVisualTypes=function(){var t=[];return n.each(h,function(e,i){t.push(i)}),t},u.addVisualHandler=function(t,e){h[t]=e},u.isValidType=function(t){return h.hasOwnProperty(t)},u.eachVisual=function(t,e,i){n.isObject(t)?n.each(t,e,i):e.call(i,t)},u.mapVisual=function(t,e,i){var a,r=n.isArray(t)?[]:n.isObject(t)?{}:(a=!0,null);return u.eachVisual(t,function(t,n){var o=e.call(i,t,n);a?r=o:r[n]=o}),r},u.retrieveVisuals=function(t){var e,i={};return t&&o(h,function(n,a){t.hasOwnProperty(a)&&(i[a]=t[a],e=!0)}),e?i:null},u.prepareVisualTypes=function(t){if(s(t)){var e=[];o(t,function(t,i){e.push(i)}),t=e}else{if(!n.isArray(t))return[];t=t.slice()}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1}),t},u.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},u.findPieceIndex=function(t,e,i){for(var n,a=1/0,r=0,o=e.length;r<o;r++){var s=e[r].value;if(null!=s){if(s===t||"string"==typeof s&&s===t+"")return r;i&&c(s,r)}}for(r=0,o=e.length;r<o;r++){var l=e[r],u=l.interval,h=l.close;if(u){if(u[0]===-1/0){if(b(h[1],t,u[1]))return r}else if(u[1]===1/0){if(b(h[0],u[0],t))return r}else if(b(h[0],u[0],t)&&b(h[1],t,u[1]))return r;i&&c(u[0],r),i&&c(u[1],r)}}if(i)return t===1/0?e.length-1:t===-1/0?0:n;function c(e,i){var r=Math.abs(e-t);r<a&&(a=r,n=i)}};var w=u;t.exports=w},YH21:function(t,e,i){var n=i("H6uX");e.Dispatcher=n;var a=i("ItGF"),r=i("hOwI").buildTransformer,o="undefined"!=typeof window&&!!window.addEventListener,s=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,l="___zrEVENTSAVED",u=[];function h(t,e,i,n){return i=i||{},n||!a.canvasSupported?c(t,e,i):a.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e.offsetX?(i.zrX=e.offsetX,i.zrY=e.offsetY):c(t,e,i),i}function c(t,e,i){if(t.getBoundingClientRect&&a.domSupported){var n=e.clientX,o=e.clientY;if("CANVAS"===t.nodeName.toUpperCase()){var s=t.getBoundingClientRect();return i.zrX=n-s.left,void(i.zrY=o-s.top)}var h=t[l]||(t[l]={}),c=function(t,e){for(var i=e.transformer,n=e.srcCoords,a=!0,o=[],s=[],l=0;l<4;l++){var u=t[l].getBoundingClientRect(),h=2*l,c=u.left,d=u.top;o.push(c,d),a&=n&&c===n[h]&&d===n[h+1],s.push(t[l].offsetLeft,t[l].offsetTop)}return a?i:(e.srcCoords=o,e.transformer=r(o,s))}(function(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,u=(r>>1)%2;s.cssText=["position:absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","width:0","height:0",n[l]+":0",a[u]+":0",n[1-l]+":auto",a[1-u]+":auto",""].join("!important;"),t.appendChild(o),i.push(o)}return i}(t,h),h);if(c)return c(u,n,o),i.zrX=u[0],void(i.zrY=u[1])}i.zrX=i.zrY=0}var d=o?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};e.clientToLocal=h,e.normalizeEvent=function(t,e,i){if(null!=(e=e||window.event).zrX)return e;var n=e.type;if(n&&n.indexOf("touch")>=0){var a="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];a&&h(t,a,e,i)}else h(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var r=e.button;return null==e.which&&void 0!==r&&s.test(e.type)&&(e.which=1&r?1:2&r?3:4&r?2:0),e},e.addEventListener=function(t,e,i){o?t.addEventListener(e,i):t.attachEvent("on"+e,i)},e.removeEventListener=function(t,e,i){o?t.removeEventListener(e,i):t.detachEvent("on"+e,i)},e.stop=d,e.isMiddleOrRightButtonOnMouseUpDown=function(t){return 2===t.which||3===t.which},e.notLeftMouse=function(t){return t.which>1}},YNf1:function(t,e,i){var n=i("IwbS"),a=.3;function r(t,e,i,n){for(var a,r=[],o=0;o<i.length;o++){var s=i[o],l=t.get(t.mapDimension(s),e);a=l,("category"===n.getAxis(s).type?null==a:null==a||isNaN(a))||r.push(n.dataToPoint(l,s))}return r}function o(t,e,i,a,o){var s=r(t,i,a,o),l=new n.Polyline({shape:{points:s},silent:!0,z2:10});return e.add(l),t.setItemGraphicEl(i,l),l}function s(t){var e=t.get("smooth",!0);return!0===e&&(e=a),{lineStyle:t.getModel("lineStyle").getLineStyle(),smooth:null!=e?e:a}}function l(t,e,i,n){var a=n.lineStyle;e.hasItemOption&&(a=e.getItemModel(i).getModel("lineStyle").getLineStyle());t.useStyle(a);var r=t.style;r.fill=null,r.stroke=e.getItemVisual(i,"color"),r.opacity=e.getItemVisual(i,"opacity"),n.smooth&&(t.shape.smooth=n.smooth)}var u=i("6Ic6").extend({type:"parallel",init:function(){this._dataGroup=new n.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(t,e,i,a){var u=this._dataGroup,h=t.getData(),c=this._data,d=t.coordinateSystem,f=d.dimensions,p=s(t);if(h.diff(c).add(function(t){l(o(h,u,t,f,d),h,t,p)}).update(function(e,i){var o=c.getItemGraphicEl(i),s=r(h,e,f,d);h.setItemGraphicEl(e,o);var u=a&&!1===a.animation?null:t;n.updateProps(o,{shape:{points:s}},u,e),l(o,h,e,p)}).remove(function(t){var e=c.getItemGraphicEl(t);u.remove(e)}).execute(),!this._initialized){this._initialized=!0;var g=function(t,e,i){var a=t.model,r=t.getRect(),o=new n.Rect({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),s="horizontal"===a.get("layout")?"width":"height";return o.setShape(s,0),n.initProps(o,{shape:{width:r.width,height:r.height}},e,i),o}(d,t,function(){setTimeout(function(){u.removeClipPath()})});u.setClipPath(g)}this._data=h},incrementalPrepareRender:function(t,e,i){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,i){for(var n=e.getData(),a=e.coordinateSystem,r=a.dimensions,u=s(e),h=t.start;h<t.end;h++){var c=o(n,this._dataGroup,h,r,a);c.incremental=!0,l(c,n,h,u)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});t.exports=u},YOMW:function(t,e,i){var n=i("bYtY"),a={get:function(t,e,i){var a=n.clone((r[t]||{})[e]);return i&&n.isArray(a)?a[a.length-1]:a}},r={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},o=a;t.exports=o},YXkt:function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=i("Qxkt"),r=i("gPAo"),o=i("7G+c"),s=i("KxfA"),l=s.defaultDimValueGetters,u=s.DefaultDataProvider,h=i("L0Ub").summarizeDimensions,c=n.isObject,d=-1,f="e\0\0",p={float:"undefined"==typeof Float64Array?Array:Float64Array,int:"undefined"==typeof Int32Array?Array:Int32Array,ordinal:Array,number:Array,time:Array},g="undefined"==typeof Uint32Array?Array:Uint32Array,m="undefined"==typeof Int32Array?Array:Int32Array,v="undefined"==typeof Uint16Array?Array:Uint16Array;function y(t){return t._rawCount>65535?g:v}var x=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],_=["_extent","_approximateExtent","_rawExtent"];function b(t,e){n.each(x.concat(e.__wrappedMethods||[]),function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t.__wrappedMethods=e.__wrappedMethods,n.each(_,function(i){t[i]=n.clone(e[i])}),t._calculationInfo=n.extend(e._calculationInfo)}var w=function(t,e){t=t||["x","y"];for(var i={},a=[],r={},o=0;o<t.length;o++){var s=t[o];n.isString(s)&&(s={name:s});var l=s.name;s.type=s.type||"float",s.coordDim||(s.coordDim=l,s.coordDimIndex=0),s.otherDims=s.otherDims||{},a.push(l),i[l]=s,s.index=o,s.createInvertedIndices&&(r[l]=[])}this.dimensions=a,this._dimensionInfos=i,this.hostModel=e,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=h(this),this._invertedIndicesMap=r,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},S=w.prototype;function M(t,e,i,n,a){var r=p[e.type],o=n-1,s=e.name,l=t[s][o];if(l&&l.length<i){for(var u=new r(Math.min(a-o*i,i)),h=0;h<l.length;h++)u[h]=l[h];t[s][o]=u}for(var c=n*i;c<a;c+=i)t[s].push(new r(Math.min(a-c,i)))}function I(t){var e=t._invertedIndicesMap;n.each(e,function(i,n){var a=t._dimensionInfos[n].ordinalMeta;if(a){i=e[n]=new m(a.categories.length);for(var r=0;r<i.length;r++)i[r]=d;for(r=0;r<t._count;r++)i[t.get(n,r)]=r}})}function T(t,e,i){var n;if(null!=e){var a=t._chunkSize,r=Math.floor(i/a),o=i%a,s=t.dimensions[e],l=t._storage[s][r];if(l){n=l[o];var u=t._dimensionInfos[s].ordinalMeta;u&&u.categories.length&&(n=u.categories[n])}}return n}function A(t){return t}function D(t){return t<this._count&&t>=0?this._indices[t]:-1}function C(t,e){var i=t._idList[e];return null==i&&(i=T(t,t._idDimIdx,e)),null==i&&(i=f+e),i}function L(t){return n.isArray(t)||(t=[t]),t}function P(t,e){var i=t.dimensions,a=new w(n.map(i,t.getDimensionInfo,t),t.hostModel);b(a,t);for(var r=a._storage={},o=t._storage,s=0;s<i.length;s++){var l=i[s];o[l]&&(n.indexOf(e,l)>=0?(r[l]=k(o[l]),a._rawExtent[l]=O(),a._extent[l]=null):r[l]=o[l])}return a}function k(t){for(var e,i,n=new Array(t.length),a=0;a<t.length;a++)n[a]=(e=t[a],i=void 0,(i=e.constructor)===Array?e.slice():new i(e));return n}function O(){return[1/0,-1/0]}S.type="list",S.hasItemOption=!0,S.getDimension=function(t){return"number"!=typeof t&&(isNaN(t)||this._dimensionInfos.hasOwnProperty(t))||(t=this.dimensions[t]),t},S.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},S.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},S.mapDimension=function(t,e){var i=this._dimensionsSummary;if(null==e)return i.encodeFirstDimNotExtra[t];var n=i.encode[t];return!0===e?(n||[]).slice():n&&n[e]},S.initData=function(t,e,i){(o.isInstance(t)||n.isArrayLike(t))&&(t=new u(t,this.dimensions.length)),this._rawData=t,this._storage={},this._indices=null,this._nameList=e||[],this._idList=[],this._nameRepeatCount={},i||(this.hasItemOption=!1),this.defaultDimValueGetter=l[this._rawData.getSource().sourceFormat],this._dimValueGetter=i=i||this.defaultDimValueGetter,this._dimValueGetterArrayRows=l.arrayRows,this._rawExtent={},this._initDataFromProvider(0,t.count()),t.pure&&(this.hasItemOption=!1)},S.getProvider=function(){return this._rawData},S.appendData=function(t){var e=this._rawData,i=this.count();e.appendData(t);var n=e.count();e.persistent||(n+=i),this._initDataFromProvider(i,n)},S.appendValues=function(t,e){for(var i=this._chunkSize,n=this._storage,a=this.dimensions,r=a.length,o=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e?e.length:0),u=this._chunkCount,h=0;h<r;h++){o[v=a[h]]||(o[v]=O()),n[v]||(n[v]=[]),M(n,this._dimensionInfos[v],i,u,l),this._chunkCount=n[v].length}for(var c=new Array(r),d=s;d<l;d++){for(var f=d-s,p=Math.floor(d/i),g=d%i,m=0;m<r;m++){var v=a[m],y=this._dimValueGetterArrayRows(t[f]||c,v,f,m);n[v][p][g]=y;var x=o[v];y<x[0]&&(x[0]=y),y>x[1]&&(x[1]=y)}e&&(this._nameList[d]=e[f])}this._rawCount=this._count=l,this._extent={},I(this)},S._initDataFromProvider=function(t,e){if(!(t>=e)){for(var i,n=this._chunkSize,a=this._rawData,r=this._storage,o=this.dimensions,s=o.length,l=this._dimensionInfos,u=this._nameList,h=this._idList,c=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;p<s;p++){c[b=o[p]]||(c[b]=O());var g=l[b];0===g.otherDims.itemName&&(i=this._nameDimIdx=p),0===g.otherDims.itemId&&(this._idDimIdx=p),r[b]||(r[b]=[]),M(r,g,n,f,e),this._chunkCount=r[b].length}for(var m=new Array(s),v=t;v<e;v++){m=a.getItem(v,m);for(var y=Math.floor(v/n),x=v%n,_=0;_<s;_++){var b,w=r[b=o[_]][y],S=this._dimValueGetter(m,b,v,_);w[x]=S;var T=c[b];S<T[0]&&(T[0]=S),S>T[1]&&(T[1]=S)}if(!a.pure){var A=u[v];if(m&&null==A)if(null!=m.name)u[v]=A=m.name;else if(null!=i){var D=o[i],C=r[D][y];if(C){A=C[x];var L=l[D].ordinalMeta;L&&L.categories.length&&(A=L.categories[A])}}var P=null==m?null:m.id;null==P&&null!=A&&(d[A]=d[A]||0,P=A,d[A]>0&&(P+="__ec__"+d[A]),d[A]++),null!=P&&(h[v]=P)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=e,this._extent={},I(this)}},S.count=function(){return this._count},S.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<i;n++)a[n]=t[n]}else a=new e(t.buffer,0,i)}else{var a=new(e=y(this))(this.count());for(n=0;n<a.length;n++)a[n]=n}return a},S.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var i=this._storage;if(!i[t])return NaN;e=this.getRawIndex(e);var n=Math.floor(e/this._chunkSize),a=e%this._chunkSize;return i[t][n][a]},S.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var i=this._storage[t];if(!i)return NaN;var n=Math.floor(e/this._chunkSize),a=e%this._chunkSize;return i[n][a]},S._getFast=function(t,e){var i=Math.floor(e/this._chunkSize),n=e%this._chunkSize;return this._storage[t][i][n]},S.getValues=function(t,e){var i=[];n.isArray(t)||(e=t,t=this.dimensions);for(var a=0,r=t.length;a<r;a++)i.push(this.get(t[a],e));return i},S.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,i=0,n=e.length;i<n;i++)if(isNaN(this.get(e[i],t)))return!1;return!0},S.getDataExtent=function(t){t=this.getDimension(t);var e=this._storage[t],i=O();if(!e)return i;var n,a=this.count();if(!this._indices)return this._rawExtent[t].slice();if(n=this._extent[t])return n.slice();for(var r=(n=i)[0],o=n[1],s=0;s<a;s++){var l=this._getFast(t,this.getRawIndex(s));l<r&&(r=l),l>o&&(o=l)}return n=[r,o],this._extent[t]=n,n},S.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},S.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},S.getCalculationInfo=function(t){return this._calculationInfo[t]},S.setCalculationInfo=function(t,e){c(t)?n.extend(this._calculationInfo,t):this._calculationInfo[t]=e},S.getSum=function(t){var e=0;if(this._storage[t])for(var i=0,n=this.count();i<n;i++){var a=this.get(t,i);isNaN(a)||(e+=a)}return e},S.getMedian=function(t){var e=[];this.each(t,function(t,i){isNaN(t)||e.push(t)});var i=[].concat(e).sort(function(t,e){return t-e}),n=this.count();return 0===n?0:n%2==1?i[(n-1)/2]:(i[n/2]+i[n/2-1])/2},S.rawIndexOf=function(t,e){var i=(t&&this._invertedIndicesMap[t])[e];return null==i||isNaN(i)?d:i},S.indexOfName=function(t){for(var e=0,i=this.count();e<i;e++)if(this.getName(e)===t)return e;return-1},S.indexOfRawIndex=function(t){if(!this._indices)return t;if(t>=this._rawCount||t<0)return-1;var e=this._indices,i=e[t];if(null!=i&&i<this._count&&i===t)return t;for(var n=0,a=this._count-1;n<=a;){var r=(n+a)/2|0;if(e[r]<t)n=r+1;else{if(!(e[r]>t))return r;a=r-1}}return-1},S.indicesOfNearest=function(t,e,i){var n=[];if(!this._storage[t])return n;null==i&&(i=1/0);for(var a=Number.MAX_VALUE,r=-1,o=0,s=this.count();o<s;o++){var l=e-this.get(t,o),u=Math.abs(l);l<=i&&u<=a&&((u<a||l>=0&&r<0)&&(a=u,r=l,n.length=0),n.push(o))}return n},S.getRawIndex=A,S.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],i=0;i<this.dimensions.length;i++){var n=this.dimensions[i];e.push(this.get(n,t))}return e},S.getName=function(t){var e=this.getRawIndex(t);return this._nameList[e]||T(this,this._nameDimIdx,e)||""},S.getId=function(t){return C(this,this.getRawIndex(t))},S.each=function(t,e,i,a){"use strict";if(this._count){"function"==typeof t&&(a=i,i=e,e=t,t=[]),i=i||a||this;for(var r=(t=n.map(L(t),this.getDimension,this)).length,o=0;o<this.count();o++)switch(r){case 0:e.call(i,o);break;case 1:e.call(i,this.get(t[0],o),o);break;case 2:e.call(i,this.get(t[0],o),this.get(t[1],o),o);break;default:for(var s=0,l=[];s<r;s++)l[s]=this.get(t[s],o);l[s]=o,e.apply(i,l)}}},S.filterSelf=function(t,e,i,a){"use strict";if(this._count){"function"==typeof t&&(a=i,i=e,e=t,t=[]),i=i||a||this,t=n.map(L(t),this.getDimension,this);for(var r=this.count(),o=new(y(this))(r),s=[],l=t.length,u=0,h=t[0],c=0;c<r;c++){var d,f=this.getRawIndex(c);if(0===l)d=e.call(i,c);else if(1===l){var p=this._getFast(h,f);d=e.call(i,p,c)}else{for(var g=0;g<l;g++)s[g]=this._getFast(h,f);s[g]=c,d=e.apply(i,s)}d&&(o[u++]=f)}return u<r&&(this._indices=o),this._count=u,this._extent={},this.getRawIndex=this._indices?D:A,this}},S.selectRange=function(t){"use strict";if(this._count){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);var n=e.length;if(n){var a=this.count(),r=new(y(this))(a),o=0,s=e[0],l=t[s][0],u=t[s][1],h=!1;if(!this._indices){var c=0;if(1===n){for(var d=this._storage[e[0]],f=0;f<this._chunkCount;f++)for(var p=d[f],g=Math.min(this._count-f*this._chunkSize,this._chunkSize),m=0;m<g;m++){((w=p[m])>=l&&w<=u||isNaN(w))&&(r[o++]=c),c++}h=!0}else if(2===n){d=this._storage[s];var v=this._storage[e[1]],x=t[e[1]][0],_=t[e[1]][1];for(f=0;f<this._chunkCount;f++){p=d[f];var b=v[f];for(g=Math.min(this._count-f*this._chunkSize,this._chunkSize),m=0;m<g;m++){var w=p[m],S=b[m];(w>=l&&w<=u||isNaN(w))&&(S>=x&&S<=_||isNaN(S))&&(r[o++]=c),c++}}h=!0}}if(!h)if(1===n)for(m=0;m<a;m++){var M=this.getRawIndex(m);((w=this._getFast(s,M))>=l&&w<=u||isNaN(w))&&(r[o++]=M)}else for(m=0;m<a;m++){var I=!0;for(M=this.getRawIndex(m),f=0;f<n;f++){var T=e[f];((w=this._getFast(i,M))<t[T][0]||w>t[T][1])&&(I=!1)}I&&(r[o++]=this.getRawIndex(m))}return o<a&&(this._indices=r),this._count=o,this._extent={},this.getRawIndex=this._indices?D:A,this}}},S.mapArray=function(t,e,i,n){"use strict";"function"==typeof t&&(n=i,i=e,e=t,t=[]),i=i||n||this;var a=[];return this.each(t,function(){a.push(e&&e.apply(this,arguments))},i),a},S.map=function(t,e,i,a){"use strict";i=i||a||this;var r=P(this,t=n.map(L(t),this.getDimension,this));r._indices=this._indices,r.getRawIndex=r._indices?D:A;for(var o=r._storage,s=[],l=this._chunkSize,u=t.length,h=this.count(),c=[],d=r._rawExtent,f=0;f<h;f++){for(var p=0;p<u;p++)c[p]=this.get(t[p],f);c[u]=f;var g=e&&e.apply(i,c);if(null!=g){"object"!=typeof g&&(s[0]=g,g=s);for(var m=this.getRawIndex(f),v=Math.floor(m/l),y=m%l,x=0;x<g.length;x++){var _=t[x],b=g[x],w=d[_],S=o[_];S&&(S[v][y]=b),b<w[0]&&(w[0]=b),b>w[1]&&(w[1]=b)}}}return r},S.downSample=function(t,e,i,n){for(var a=P(this,[t]),r=a._storage,o=[],s=Math.floor(1/e),l=r[t],u=this.count(),h=this._chunkSize,c=a._rawExtent[t],d=new(y(this))(u),f=0,p=0;p<u;p+=s){s>u-p&&(s=u-p,o.length=s);for(var g=0;g<s;g++){var m=this.getRawIndex(p+g),v=Math.floor(m/h),x=m%h;o[g]=l[v][x]}var _=i(o),b=this.getRawIndex(Math.min(p+n(o,_)||0,u-1)),w=b%h;l[Math.floor(b/h)][w]=_,_<c[0]&&(c[0]=_),_>c[1]&&(c[1]=_),d[f++]=b}return a._count=f,a._indices=d,a.getRawIndex=D,a},S.getItemModel=function(t){var e=this.hostModel;return new a(this.getRawDataItem(t),e,e&&e.ecModel)},S.diff=function(t){var e=this;return new r(t?t.getIndices():[],this.getIndices(),function(e){return C(t,e)},function(t){return C(e,t)})},S.getVisual=function(t){var e=this._visual;return e&&e[t]},S.setVisual=function(t,e){if(c(t))for(var i in t)t.hasOwnProperty(i)&&this.setVisual(i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},S.setLayout=function(t,e){if(c(t))for(var i in t)t.hasOwnProperty(i)&&this.setLayout(i,t[i]);else this._layout[t]=e},S.getLayout=function(t){return this._layout[t]},S.getItemLayout=function(t){return this._itemLayouts[t]},S.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?n.extend(this._itemLayouts[t]||{},e):e},S.clearItemLayouts=function(){this._itemLayouts.length=0},S.getItemVisual=function(t,e,i){var n=this._itemVisuals[t],a=n&&n[e];return null!=a||i?a:this.getVisual(e)},S.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{},a=this.hasItemVisual;if(this._itemVisuals[t]=n,c(e))for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r],a[r]=!0);else n[e]=i,a[e]=!0},S.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var E=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};S.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(E,e)),this._graphicEls[t]=e},S.getItemGraphicEl=function(t){return this._graphicEls[t]},S.eachItemGraphicEl=function(t,e){n.each(this._graphicEls,function(i,n){i&&t&&t.call(e,i,n)})},S.cloneShallow=function(t){if(!t){var e=n.map(this.dimensions,this.getDimensionInfo,this);t=new w(e,this.hostModel)}if(t._storage=this._storage,b(t,this),this._indices){var i=this._indices.constructor;t._indices=new i(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?D:A,t},S.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(n.slice(arguments)))})},S.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],S.CHANGABLE_METHODS=["filterSelf","selectRange"];var N=w;t.exports=N},YgsL:function(t,e,i){var n=i("QBsz").distance;function a(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}t.exports=function(t,e){for(var i=t.length,r=[],o=0,s=1;s<i;s++)o+=n(t[s-1],t[s]);var l=o/2;for(l=l<i?i:l,s=0;s<l;s++){var u,h,c,d=s/(l-1)*(e?i:i-1),f=Math.floor(d),p=d-f,g=t[f%i];e?(u=t[(f-1+i)%i],h=t[(f+1)%i],c=t[(f+2)%i]):(u=t[0===f?f:f-1],h=t[f>i-2?i-1:f+1],c=t[f>i-3?i-1:f+2]);var m=p*p,v=p*m;r.push([a(u[0],g[0],h[0],c[0],p,m,v),a(u[1],g[1],h[1],c[1],p,m,v)])}return r}},Yl7c:function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=".",r="___EC__COMPONENT__CONTAINER___";function o(t){var e={main:"",sub:""};return t&&(t=t.split(a),e.main=t[0]||"",e.sub=t[1]||""),e}var s=0;function l(t,e){var i=n.slice(arguments,2);return this.superClass.prototype[e].apply(t,i)}function u(t,e,i){return this.superClass.prototype[e].apply(t,i)}e.parseClassType=o,e.enableClassExtend=function(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 n.extend(i.prototype,t),i.extend=this.extend,i.superCall=l,i.superApply=u,n.inherits(i,this),i.superClass=e,i}},e.enableClassCheck=function(t){var e=["__\0is_clz",s++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}},e.enableClassManagement=function(t,e){e=e||{};var i={};if(t.registerClass=function(t,e){return e&&(function(t){n.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}(e),(e=o(e)).sub?e.sub!==r&&((function(t){var e=i[t.main];return e&&e[r]||((e=i[t.main]={})[r]=!0),e}(e))[e.sub]=t):i[e.main]=t),t},t.getClass=function(t,e,n){var a=i[t];if(a&&a[r]&&(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=o(t);var e=[],a=i[t.main];return a&&a[r]?n.each(a,function(t,i){i!==r&&e.push(t)}):e.push(a),e},t.hasClass=function(t){return t=o(t),!!i[t.main]},t.getAllClassMainTypes=function(){var t=[];return n.each(i,function(e,i){t.push(i)}),t},t.hasSubTypes=function(t){t=o(t);var e=i[t.main];return e&&e[r]},t.parseClassType=o,e.registerWhenExtend){var a=t.extend;a&&(t.extend=function(e){var i=a.call(this,e);return t.registerClass(i,e.type)})}return t},e.setReadOnly=function(t,e){}},Ynxi:function(t,e,i){var n=i("bYtY"),a=i("ProS"),r=i("IwbS"),o=i("+TT/").getLayoutRect;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,s=t.getModel("textStyle"),l=t.getModel("subtextStyle"),u=t.get("textAlign"),h=n.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),c=new r.Text({style:r.setTextStyle({},s,{text:t.get("text"),textFill:s.getTextColor()},{disableBox:!0}),z2:10}),d=c.getBoundingRect(),f=t.get("subtext"),p=new r.Text({style:r.setTextStyle({},l,{text:f,textFill:l.getTextColor(),y:d.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),g=t.get("link"),m=t.get("sublink"),v=t.get("triggerEvent",!0);c.silent=!g&&!v,p.silent=!m&&!v,g&&c.on("click",function(){window.open(g,"_"+t.get("target"))}),m&&p.on("click",function(){window.open(m,"_"+t.get("subtarget"))}),c.eventData=p.eventData=v?{componentType:"title",componentIndex:t.componentIndex}:null,a.add(c),f&&a.add(p);var y=a.getBoundingRect(),x=t.getBoxLayoutParams();x.width=y.width,x.height=y.height;var _=o(x,{width:i.getWidth(),height:i.getHeight()},t.get("padding"));u||("middle"===(u=t.get("left")||t.get("right"))&&(u="center"),"right"===u?_.x+=_.width:"center"===u&&(_.x+=_.width/2)),h||("center"===(h=t.get("top")||t.get("bottom"))&&(h="middle"),"bottom"===h?_.y+=_.height:"middle"===h&&(_.y+=_.height/2),h=h||"top"),a.attr("position",[_.x,_.y]);var b={textAlign:u,textVerticalAlign:h};c.setStyle(b),p.setStyle(b),y=a.getBoundingRect();var w=_.margin,S=t.getItemStyle(["color","opacity"]);S.fill=t.get("backgroundColor");var M=new r.Rect({shape:{x:y.x-w[3],y:y.y-w[0],width:y.width+w[1]+w[3],height:y.height+w[0]+w[2],r:t.get("borderRadius")},style:S,subPixelOptimize:!0,silent:!0});a.add(M)}}})},Z1r0:function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",function(t){var i=t.getCategoriesData(),n=t.getGraph().data,a=i.mapArray(i.getName);n.filterSelf(function(t){var i=n.getItemModel(t).getShallow("category");if(null!=i){"number"==typeof i&&(i=a[i]);for(var r=0;r<e.length;r++)if(!e[r].isSelected(i))return!1}return!0})},this)}},Z1wy:function(t,e,i){var n=i("ProS");i("ThAp"),i("pmaE"),i("SehX"),i("7uqq");var a=i("zuHt"),r=i("VPsl"),o=i("9u0u"),s=i("lELe"),l=i("d4KN");n.registerLayout(a),n.registerVisual(r),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,o),n.registerPreprocessor(s),l("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(t,e,i){var n=i("MwEJ"),a=i("T4UG").extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(t,e){return n(this.getSource(),this)},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});t.exports=a},Z8zF:function(t,e,i){i("Tghj").__DEV__;var n=i("ProS"),a=i("bYtY"),r=i("IwbS"),o=i("56rv").setLabel,s=i("Qxkt"),l=i("tceW"),u=i("y+Vt"),h=i("iLNv").throttle,c=["itemStyle","barBorderWidth"],d=[0,0];a.extend(s.prototype,l);var f=n.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,o=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?n=u.isHorizontal():"polar"===l.type&&(n="angle"===u.dim);var h=t.isAnimationEnabled()?t:null;o.diff(s).add(function(e){if(o.hasValue(e)){var i=o.getItemModel(e),r=v[l.type](o,e,i),s=p[l.type](o,e,i,r,n,h);o.setItemGraphicEl(e,s),a.add(s),y(s,o,e,i,r,t,n,"polar"===l.type)}}).update(function(e,i){var u=s.getItemGraphicEl(i);if(o.hasValue(e)){var c=o.getItemModel(e),d=v[l.type](o,e,c);u?r.updateProps(u,{shape:d},h,e):u=p[l.type](o,e,c,d,n,h,!0),o.setItemGraphicEl(e,u),a.add(u),y(u,o,e,c,d,t,n,"polar"===l.type)}else a.remove(u)}).remove(function(t){var e=s.getItemGraphicEl(t);"cartesian2d"===l.type?e&&g(t,h,e):e&&m(t,h,e)}).execute(),this._data=o},_renderLarge:function(t,e,i){this._clear(),_(t,this.group)},_incrementalRenderLarge:function(t,e){_(e,this.group,!0)},dispose:a.noop,remove:function(t){this._clear(t)},_clear:function(t){var e=this.group,i=this._data;t&&t.get("animation")&&i&&!this._isLargeDraw?i.eachItemGraphicEl(function(e){"sector"===e.type?m(e.dataIndex,t,e):g(e.dataIndex,t,e)}):e.removeAll(),this._data=null}}),p={cartesian2d:function(t,e,i,n,o,s,l){var u=new r.Rect({shape:a.extend({},n)});if(s){var h=u.shape,c=o?"height":"width",d={};h[c]=0,d[c]=n[c],r[l?"updateProps":"initProps"](u,{shape:d},s,e)}return u},polar:function(t,e,i,n,o,s,l){var u=n.startAngle<n.endAngle,h=new r.Sector({shape:a.defaults({clockwise:u},n)});if(s){var c=h.shape,d=o?"r":"endAngle",f={};c[d]=o?0:n.startAngle,f[d]=n[d],r[l?"updateProps":"initProps"](h,{shape:f},s,e)}return h}};function g(t,e,i){i.style.text=null,r.updateProps(i,{shape:{width:0}},e,t,function(){i.parent&&i.parent.remove(i)})}function m(t,e,i){i.style.text=null,r.updateProps(i,{shape:{r:i.shape.r0}},e,t,function(){i.parent&&i.parent.remove(i)})}var v={cartesian2d:function(t,e,i){var n=t.getItemLayout(e),a=function(t,e){var i=t.get(c)||0;return Math.min(i,Math.abs(e.width),Math.abs(e.height))}(i,n),r=n.width>0?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 y(t,e,i,n,s,l,u,h){var c=e.getItemVisual(i,"color"),d=e.getItemVisual(i,"opacity"),f=n.getModel("itemStyle"),p=n.getModel("emphasis.itemStyle").getBarItemStyle();h||t.setShape("r",f.get("barBorderRadius")||0),t.useStyle(a.defaults({fill:c,opacity:d},f.getBarItemStyle()));var g=n.getShallow("cursor");g&&t.attr("cursor",g);var m=u?s.height>0?"bottom":"top":s.width>0?"left":"right";h||o(t.style,p,n,c,l,i,m),r.setHoverStyle(t,p)}var x=u.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var i=e.points,n=this.__startPoint,a=this.__baseDimIdx,r=0;r<i.length;r+=2)n[a]=i[r+a],t.moveTo(n[0],n[1]),t.lineTo(i[r],i[r+1])}});function _(t,e,i){var n=t.getData(),a=[],r=n.getLayout("valueAxisHorizontal")?1:0;a[1-r]=n.getLayout("valueAxisStart");var o=new x({shape:{points:n.getLayout("largePoints")},incremental:!!i,__startPoint:a,__baseDimIdx:r,__largeDataIndices:n.getLayout("largeDataIndices"),__barWidth:n.getLayout("barWidth")});e.add(o),function(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")}(o,t,n),o.seriesIndex=t.seriesIndex,t.get("silent")||(o.on("mousedown",b),o.on("mousemove",b))}var b=h(function(t){var e=function(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];d[0]=e,d[1]=i;for(var u=d[n],h=d[1-n],c=u-s,f=u+s,p=0,g=r.length/2;p<g;p++){var m=2*p,v=r[m+n],y=r[m+a];if(v>=c&&v<=f&&(l<=y?h>=l&&h<=y:h>=y&&h<=l))return o[p]}return-1}(this,t.offsetX,t.offsetY);this.dataIndex=e>=0?e:null},30,!1);t.exports=f},ZWlE:function(t,e,i){var n=i("bYtY"),a=i("4NO4");t.exports=function(t){!function(t){if(!t.parallel){var e=!1;n.each(t.series,function(t){t&&"parallel"===t.type&&(e=!0)}),e&&(t.parallel=[{}])}}(t),function(t){var e=a.normalizeToArray(t.parallelAxis);n.each(e,function(e){if(n.isObject(e)){var i=e.parallelIndex||0,r=a.normalizeToArray(t.parallel)[i];r&&r.parallelAxisDefault&&n.merge(e,r.parallelAxisDefault,!1)}})}(t)}},ZYIC:function(t,e,i){var n={seriesType:"lines",plan:i("zM3Q")(),reset:function(t){var e=t.coordinateSystem,i=t.get("polyline"),n=t.pipelineContext.large;return{progress:function(a,r){var o=[];if(n){var s,l=a.end-a.start;if(i){for(var u=0,h=a.start;h<a.end;h++)u+=t.getLineCoordsCount(h);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var c=0,d=[];for(h=a.start;h<a.end;h++){var f=t.getLineCoords(h,o);i&&(s[c++]=f);for(var p=0;p<f;p++)d=e.dataToPoint(o[p],!1,d),s[c++]=d[0],s[c++]=d[1]}r.setLayout("linesPoints",s)}else for(h=a.start;h<a.end;h++){var g=r.getItemModel(h),m=(f=t.getLineCoords(h,o),[]);if(i)for(var v=0;v<f;v++)m.push(e.dataToPoint(o[v]));else{m[0]=e.dataToPoint(o[0]),m[1]=e.dataToPoint(o[1]);var y=g.get("lineStyle.curveness");+y&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*y,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*y])}r.setItemLayout(h,m)}}}}};t.exports=n},Znkb:function(t,e,i){i("Tghj").__DEV__;var n=i("ProS"),a=i("zTMp"),r=n.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,i,n){this.axisPointerClass&&a.fixValue(t),r.superApply(this,"render",arguments),o(this,t,e,i,n,!0)},updateAxisPointer:function(t,e,i,n,a){o(this,t,e,i,n,!1)},remove:function(t,e){var i=this._axisPointer;i&&i.remove(e),r.superApply(this,"remove",arguments)},dispose:function(t,e){s(this,e),r.superApply(this,"dispose",arguments)}});function o(t,e,i,n,o,l){var u=r.getAxisPointerClass(t.axisPointerClass);if(u){var h=a.getAxisPointerModel(e);h?(t._axisPointer||(t._axisPointer=new u)).render(e,h,n,l):s(t,n)}}function s(t,e,i){var n=t._axisPointer;n&&n.dispose(e,i),t._axisPointer=null}var l=[];r.registerAxisPointerClass=function(t,e){l[t]=e},r.getAxisPointerClass=function(t){return t&&l[t]};var u=r;t.exports=u},ZqQs:function(t,e,i){var n=i("bYtY");function a(t){var e=t.itemStyle||(t.itemStyle={}),i=e.emphasis||(e.emphasis={}),a=t.label||t.label||{},o=a.normal||(a.normal={}),s={normal:1,emphasis:1};n.each(a,function(t,e){s[e]||r(o,e)||(o[e]=t)}),i.label&&!r(a,"emphasis")&&(a.emphasis=i.label,delete i.label)}function r(t,e){return t.hasOwnProperty(e)}t.exports=function(t){var e=t&&t.timeline;n.isArray(e)||(e=e?[e]:[]),n.each(e,function(t){t&&function(t){var e=t.type,i={number:"value",time:"time"};if(i[e]&&(t.axisType=i[e],delete t.type),a(t),r(t,"controlPosition")){var o=t.controlStyle||(t.controlStyle={});r(o,"position")||(o.position=t.controlPosition),"none"!==o.position||r(o,"show")||(o.show=!1,delete o.position),delete t.controlPosition}n.each(t.data||[],function(t){n.isObject(t)&&!n.isArray(t)&&(!r(t,"value")&&r(t,"name")&&(t.value=t.name),a(t))})}(t)})}},Zvw2:function(t,e,i){var n=i("bYtY"),a=i("hM6l"),r=function(t,e,i,n,r){a.call(this,t,e,i),this.type=n||"value",this.position=r||"bottom",this.orient=null};r.prototype={constructor:r,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},n.inherits(r,a);var o=r;t.exports=o},a9QJ:function(t,e){var i={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};t.exports=function(t,e){if("world"===t){var n=i[e.name];if(n){var a=e.center;a[0]=n[0],a[1]=n[1]}}}},aKvl:function(t,e,i){var n=i("Sj9i").quadraticProjectPoint;e.containStroke=function(t,e,i,a,r,o,s,l,u){if(0===s)return!1;var h=s;return!(u>e+h&&u>a+h&&u>o+h||u<e-h&&u<a-h&&u<o-h||l>t+h&&l>i+h&&l>r+h||l<t-h&&l<i-h&&l<r-h)&&n(t,e,i,a,r,o,l,u,null)<=h/2}},aTJb:function(t,e,i){i("bLfw").registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aX58:function(t,e,i){var n=i("3gBT"),a=i("ItGF"),r=i("bYtY"),o=i("0s+r"),s=i("r6Bn"),l=i("7SHv"),u=i("MKOG"),h=i("zarK"),c=!a.canvasSupported,d={canvas:l},f={};var p=function(t,e,i){i=i||{},this.dom=e,this.id=t;var n=this,l=new s,f=i.renderer;if(c){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");f="vml"}else f&&d[f]||(f="canvas");var p=new d[f](e,l,i,t);this.storage=l,this.painter=p;var g=a.node||a.worker?null:new h(p.getViewportRoot());this.handler=new o(l,p,g,p.root),this.animation=new u({stage:{update:r.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var m=l.delFromStorage,v=l.addToStorage;l.delFromStorage=function(t){m.call(l,t),t&&t.removeSelfFromZr(n)},l.addToStorage=function(t){v.call(l,t),t.addSelfToZr(n)}};p.prototype={constructor:p,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this._needsRefresh=!0},setBackgroundColor:function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var t;this._needsRefresh&&(t=!0,this.refreshImmediately()),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately()),t&&this.trigger("rendered")},addHover:function(t,e){if(this.painter.addHover){var i=this.painter.addHover(t,e);return this.refreshHover(),i}},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e){return this.painter.pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},findHover:function(t,e){return this.handler.findHover(t,e)},on:function(t,e,i){this.handler.on(t,e,i)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler.trigger(t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,t=this.id,delete f[t]}},e.version="4.1.0",e.init=function(t,e){var i=new p(n(),t,e);return f[i.id]=i,i},e.dispose=function(t){if(t)t.dispose();else{for(var e in f)f.hasOwnProperty(e)&&f[e].dispose();f={}}return this},e.getInstance=function(t){return f[t]},e.registerPainter=function(t,e){d[t]=e}},aX7z:function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=i("GMDS"),r=i("ieMj"),o=i("4NgU"),s=i("OELB"),l=i("nVfU"),u=l.prepareLayoutBarSeries,h=l.makeColumnLayout,c=l.retrieveColumnLayout,d=i("mFDi");function f(t,e){var i,a,r,o=t.type,l=e.getMin(),d=e.getMax(),f=null!=l,p=null!=d,g=t.getExtent();"ordinal"===o?i=e.getCategories().length:(a=e.get("boundaryGap"),n.isArray(a)||(a=[a||0,a||0]),"boolean"==typeof a[0]&&(a=[0,0]),a[0]=s.parsePercent(a[0],1),a[1]=s.parsePercent(a[1],1),r=g[1]-g[0]||Math.abs(g[0])),null==l&&(l="ordinal"===o?i?0:NaN:g[0]-a[0]*r),null==d&&(d="ordinal"===o?i?i-1:NaN:g[1]+a[1]*r),"dataMin"===l?l=g[0]:"function"==typeof l&&(l=l({min:g[0],max:g[1]})),"dataMax"===d?d=g[1]:"function"==typeof d&&(d=d({min:g[0],max:g[1]})),(null==l||!isFinite(l))&&(l=NaN),(null==d||!isFinite(d))&&(d=NaN),t.setBlank(n.eqNaN(l)||n.eqNaN(d)||"ordinal"===o&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(l>0&&d>0&&!f&&(l=0),l<0&&d<0&&!p&&(d=0));var m=e.ecModel;if(m&&"time"===o){var v,y=u("bar",m);if(n.each(y,function(t){v|=t.getBaseAxis()===e.axis}),v){var x=h(y),_=function(t,e,i,a){var r=i.axis.getExtent(),o=r[1]-r[0],s=c(a,i.axis);if(void 0===s)return{min:t,max:e};var l=1/0;n.each(s,function(t){l=Math.min(t.offset,l)});var u=-1/0;n.each(s,function(t){u=Math.max(t.offset+t.width,u)}),l=Math.abs(l),u=Math.abs(u);var h=l+u,d=e-t,f=d/(1-(l+u)/o)-d;return{min:t-=f*(l/h),max:e+=f*(u/h)}}(l,d,e,x);l=_.min,d=_.max}}return[l,d]}function p(t){var e,i=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof i?(e=i,i=function(i){return i=t.scale.getLabel(i),e.replace("{value}",null!=i?i:"")}):"function"==typeof i?function(e,a){return null!=n&&(a=e-n),i(g(t,e),a)}:function(e){return t.scale.getLabel(e)}}function g(t,e){return"category"===t.type?t.scale.getLabel(e):e}function m(t){var e=t.get("interval");return null==e?"auto":e}i("IWp7"),i("jCoz"),e.getScaleExtent=f,e.niceScaleExtent=function(t,e){var i=f(t,e),n=null!=e.getMin(),a=null!=e.getMax(),r=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:r,fixMin:n,fixMax:a,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)},e.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new a(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new r;default:return(o.getClass(e)||r).create(t)}},e.ifAxisCrossZero=function(t){var e=t.scale.getExtent(),i=e[0],n=e[1];return!(i>0&&n>0||i<0&&n<0)},e.makeLabelFormatter=p,e.getAxisRawValue=g,e.estimateLabelUnionRect=function(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();a=r?i.count():(n=i.getTicks()).length;var s,l,u,h,c,f,g,m,v,y=t.getLabelModel(),x=p(t),_=1;a>40&&(_=Math.ceil(a/40));for(var b=0;b<a;b+=_){var w=x(n?n[b]:o[0]+b),S=y.getTextRect(w),M=(l=S,u=y.get("rotate")||0,h=u*Math.PI/180,c=l.plain(),f=c.width,g=c.height,m=f*Math.cos(h)+g*Math.sin(h),v=f*Math.sin(h)+g*Math.cos(h),new d(c.x,c.y,m,v));s?s.union(M):s=M}return s}},e.getOptionCategoryInterval=m,e.shouldShowAllLabels=function(t){return"category"===t.type&&0===m(t.getLabelModel())}},"af/B":function(t,e,i){var n=i("bYtY"),a=n.each,r=n.map,o=n.isFunction,s=n.createHashMap,l=n.noop,u=i("9H2F").createTask,h=i("iRjW").getUID,c=i("fmMI"),d=i("hD7B"),f=i("4NO4").normalizeToArray;function p(t,e,i,n){this.ecInstance=t,this.api=e,this.unfinished;i=this._dataProcessorHandlers=i.slice(),n=this._visualHandlers=n.slice();this._allHandlers=i.concat(n),this._stageTaskMap=s()}var g=p.prototype;function m(t,e,i,n,r){var o;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}r=r||{},a(e,function(e,a){if(!r.visualType||r.visualType===e.visualType){var l=t._stageTaskMap.get(e.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,d=h.agentStubMap;d.each(function(t){s(r,t)&&(t.dirty(),c=!0)}),c&&h.dirty(),v(h,n);var f=t.getPerformArgs(h,r.block);d.each(function(t){t.perform(f)}),o|=h.perform(f)}else u&&u.each(function(a,l){s(r,a)&&a.dirty();var u=t.getPerformArgs(a,r.block);u.skip=!e.performRawSeries&&i.isSeriesFiltered(a.context.model),v(a,n),o|=a.perform(u)})}}),t.unfinished|=o}g.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},g.getPerformArgs=function(t,e){if(t.__pipeline){var i=this._pipelineMap.get(t.__pipeline.id),n=i.context,a=!e&&i.progressiveEnabled&&(!n||n.progressiveRender)&&t.__idxInPipeline>i.blockIndex?i.step:null,r=n&&n.modDataCount;return{step:a,modBy:null!=r?Math.ceil(r/a):null,modDataCount:r}}},g.getPipeline=function(t){return this._pipelineMap.get(t)},g.updateStreamModes=function(t,e){var i=this._pipelineMap.get(t.uid),n=t.getData().count(),a=i.progressiveEnabled&&e.incrementalPrepareRender&&n>=i.threshold,r=t.get("large")&&n>=t.get("largeThreshold"),o="mod"===t.get("progressiveChunkMode")?n:null;t.pipelineContext=i.context={progressiveRender:a,modDataCount:o,large:r}},g.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}),A(e,t,t.dataTask)})},g.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),i=this.api;a(this._allHandlers,function(n){var r=t.get(n.uid)||t.set(n.uid,[]);n.reset&&function(t,e,i,n,a){var r=i.seriesTaskMap||(i.seriesTaskMap=s()),o=e.seriesType,l=e.getTargetSeries;e.createOnAllSeries?n.eachRawSeries(h):o?n.eachRawSeriesByType(o,h):l&&l(n,a).each(h);function h(i){var o=i.uid,s=r.get(o)||r.set(o,u({plan:w,reset:S,count:T}));s.context={model:i,ecModel:n,api:a,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},A(t,i,s)}var c=t._pipelineMap;r.each(function(t,e){c.get(e)||(t.dispose(),r.removeKey(e))})}(this,n,r,e,i),n.overallReset&&function(t,e,i,n,r){var o=i.overallTask=i.overallTask||u({reset:y});o.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:t};var l=o.agentStubMap=o.agentStubMap||s(),h=e.seriesType,c=e.getTargetSeries,d=!0,f=e.modifyOutputEnd;h?n.eachRawSeriesByType(h,p):c?c(n,r).each(p):(d=!1,a(n.getSeries(),p));function p(e){var i=e.uid,n=l.get(i);n||(n=l.set(i,u({reset:x,onDirty:b})),o.dirty()),n.context={model:e,overallProgress:d,modifyOutputEnd:f},n.agent=o,n.__block=d,A(t,e,n)}var g=t._pipelineMap;l.each(function(t,e){g.get(e)||(t.dispose(),o.dirty(),l.removeKey(e))})}(this,n,r,e,i)},this)},g.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,A(this,e,a)},g.performDataProcessorTasks=function(t,e){m(this,this._dataProcessorHandlers,t,e,{block:!0})},g.performVisualTasks=function(t,e,i){m(this,this._visualHandlers,t,e,i)},g.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e|=t.dataTask.perform()}),this.unfinished|=e},g.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 v=g.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function y(t){t.overallReset(t.ecModel,t.api,t.payload)}function x(t,e){return t.overallProgress&&_}function _(){this.agent.dirty(),this.getDownstream().dirty()}function b(){this.agent&&this.agent.dirty()}function w(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function S(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=f(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?r(e,function(t,e){return I(e)}):M}var M=I(0);function I(t){return function(e,i){var n=i.data,a=i.resetDefines[t];if(a&&a.dataEach)for(var r=e.start;r<e.end;r++)a.dataEach(n,r);else a&&a.progress&&a.progress(e,n)}}function T(t){return t.data.count()}function A(t,e,i){var n=e.uid,a=t._pipelineMap.get(n);!a.head&&(a.head=i),a.tail&&a.tail.pipe(i),a.tail=i,i.__idxInPipeline=a.count++,i.__pipeline=a}p.wrapStageHandler=function(t,e){return o(t)&&(t={overallReset:t,seriesType:function(t){D=null;try{t(C,L)}catch(t){}return D}(t)}),t.uid=h("stageHandler"),e&&(t.visualType=e),t};var D,C={},L={};function P(t,e){for(var i in e.prototype)t[i]=l}P(C,c),P(L,d),C.eachSeriesByType=C.eachRawSeriesByType=function(t){D=t},C.eachComponent=function(t){"series"===t.mainType&&t.subType&&(D=t.subType)};var k=p;t.exports=k},akwb:function(t,e,i){var n=i("RSch"),a=i("bYtY"),r=i("D9ME"),o=i("QBsz");function s(t,e,i){r.call(this,t,e,i),this._lastFrame=0,this._lastFramePercent=0}var l=s.prototype;l.createLine=function(t,e,i){return new n(t,e,i)},l.updateAnimationPoints=function(t,e){this._points=e;for(var i=[0],n=0,a=1;a<e.length;a++){var r=e[a-1],s=e[a];n+=o.dist(r,s),i.push(n)}if(0!==n){for(a=0;a<i.length;a++)i[a]/=n;this._offsets=i,this._length=n}},l.getLineLength=function(t){return this._length},l.updateSymbolPosition=function(t){var e=t.__t,i=this._points,n=this._offsets,a=i.length;if(n){var r=this._lastFrame;if(e<this._lastFramePercent){for(s=Math.min(r+1,a-1);s>=0&&!(n[s]<=e);s--);s=Math.min(s,a-2)}else{for(var s=r;s<a&&!(n[s]>e);s++);s=Math.min(s-1,a-2)}o.lerp(t.position,i[s],i[s+1],(e-n[s])/(n[s+1]-n[s]));var l=i[s+1][0]-i[s][0],u=i[s+1][1]-i[s][1];t.rotation=-Math.atan2(u,l)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},a.inherits(s,r);var u=s;t.exports=u},as94:function(t,e,i){var n=i("7aKB"),a=i("3LNs"),r=i("IwbS"),o=i("/y7N"),s=i("Fofx"),l=i("+rIm"),u=i("Znkb"),h=a.extend({makeElOption:function(t,e,i,a,u){var h=i.axis;"angle"===h.dim&&(this.animationThreshold=Math.PI/18);var d,f=h.polar,p=f.getOtherAxis(h).getExtent();d=h["dataTo"+n.capitalFirst(h.dim)](e);var g=a.get("type");if(g&&"none"!==g){var m=o.buildElStyle(a),v=c[g](h,f,d,p,m);v.style=m,t.graphicKey=v.type,t.pointer=v}var y=function(t,e,i,n,a){var o=e.axis,u=o.dataToCoord(t),h=n.getAngleAxis().getExtent()[0];h=h/180*Math.PI;var c,d,f,p=n.getRadiusAxis().getExtent();if("radius"===o.dim){var g=s.create();s.rotate(g,g,h),s.translate(g,g,[n.cx,n.cy]),c=r.applyTransform([u,-a],g);var m=e.getModel("axisLabel").get("rotate")||0,v=l.innerTextLayout(h,m*Math.PI/180,-1);d=v.textAlign,f=v.textVerticalAlign}else{var y=p[1];c=n.coordToPoint([y+a,u]);var x=n.cx,_=n.cy;d=Math.abs(c[0]-x)/y<.3?"center":c[0]>x?"left":"right",f=Math.abs(c[1]-_)/y<.3?"middle":c[1]>_?"top":"bottom"}return{position:c,align:d,verticalAlign:f}}(e,i,0,f,a.get("label.margin"));o.buildLabelElOption(t,i,a,u,y)}});var c={line:function(t,e,i,n,a){return"angle"===t.dim?{type:"Line",shape:o.makeLineShape(e.coordToPoint([n[0],i]),e.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:i}}},shadow:function(t,e,i,n,a){var r=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,n[0],n[1],(-i-r/2)*s,(r/2-i)*s)}:{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,i-r/2,i+r/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",h);var d=h;t.exports=d},b9oc:function(t,e,i){var n=i("bYtY").each,a="\0_ec_hist_store";function r(t){var e=t[a];return e||(e=t[a]=[{}]),e}e.push=function(t,e){var i=r(t);n(e,function(e,n){for(var a=i.length-1;a>=0&&!i[a][n];a--);if(a<0){var r=t.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(r){var o=r.getPercentRange();i[0][n]={dataZoomId:n,start:o[0],end:o[1]}}}}),i.push(e)},e.pop=function(t){var e=r(t),i=e[e.length-1];e.length>1&&e.pop();var a={};return n(i,function(t,i){for(var n=e.length-1;n>=0;n--)if(t=e[n][i]){a[i]=t;break}}),a},e.clear=function(t){t[a]=null},e.count=function(t){return r(t).length}},bBKM:function(t,e,i){i("Tghj").__DEV__;var n=i("ProS"),a=i("bYtY"),r=i("+rIm"),o=i("IwbS"),s=["axisLine","axisTickLabel","axisName"],l=n.extendComponentView({type:"radar",render:function(t,e,i){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes(),n=a.map(i,function(t){return new r(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})});a.each(n,function(t){a.each(s,t.add,t),this.group.add(t.getGroup())},this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes();if(i.length){var n=t.get("shape"),r=t.getModel("splitLine"),s=t.getModel("splitArea"),l=r.getModel("lineStyle"),u=s.getModel("areaStyle"),h=r.get("show"),c=s.get("show"),d=l.get("color"),f=u.get("color");d=a.isArray(d)?d:[d],f=a.isArray(f)?f:[f];var p=[],g=[];if("circle"===n)for(var m=i[0].getTicksCoords(),v=e.cx,y=e.cy,x=0;x<m.length;x++){if(h)p[A(p,d,x)].push(new o.Circle({shape:{cx:v,cy:y,r:m[x].coord}}));if(c&&x<m.length-1)g[A(g,f,x)].push(new o.Ring({shape:{cx:v,cy:y,r0:m[x].coord,r:m[x+1].coord}}))}else{var _,b=a.map(i,function(t,i){var n=t.getTicksCoords();return _=null==_?n.length-1:Math.min(n.length-1,_),a.map(n,function(t){return e.coordToPoint(t.coord,i)})}),w=[];for(x=0;x<=_;x++){for(var S=[],M=0;M<i.length;M++)S.push(b[M][x]);if(S[0]&&S.push(S[0].slice()),h)p[A(p,d,x)].push(new o.Polyline({shape:{points:S}}));if(c&&w)g[A(g,f,x-1)].push(new o.Polygon({shape:{points:S.concat(w)}}));w=S.slice().reverse()}}var I=l.getLineStyle(),T=u.getAreaStyle();a.each(g,function(t,e){this.group.add(o.mergePath(t,{style:a.defaults({stroke:"none",fill:f[e%f.length]},T),silent:!0}))},this),a.each(p,function(t,e){this.group.add(o.mergePath(t,{style:a.defaults({fill:"none",stroke:d[e%d.length]},I),silent:!0}))},this)}function A(t,e,i){var n=i%e.length;return t[n]=t[n]||[],n}}});t.exports=l},bBL8:function(t,e,i){var n=i("ProS");i("LPzL"),i("rfSb"),i("JVwQ");var a=i("UnoB"),r=i("cbJ4"),o=i("0/Rx");n.registerLayout(a),n.registerVisual(r),n.registerProcessor(o("themeRiver"))},bLfw:function(t,e,i){var n=i("bYtY"),a=i("Qxkt"),r=i("iRjW"),o=i("Yl7c"),s=o.enableClassManagement,l=o.parseClassType,u=i("4NO4").makeInner,h=i("+TT/"),c=i("3hzK"),d=u(),f=a.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,e,i,n){a.call(this,t,e,i,n),this.uid=r.getUID("ec_cpt_model")},init:function(t,e,i,n){this.mergeDefaultAndTheme(t,i)},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,a=i?h.getLayoutParams(t):{},r=e.getTheme();n.merge(t,r.get(this.mainType)),n.merge(t,this.getDefaultOption()),i&&h.mergeLayoutParam(t,a,i)},mergeOption:function(t,e){n.merge(this.option,t,!0);var i=this.layoutMode;i&&h.mergeLayoutParam(this.option,t,i)},optionUpdated:function(t,e){},getDefaultOption:function(){var t=d(this);if(!t.defaultOption){for(var e=[],i=this.constructor;i;){var a=i.prototype.defaultOption;a&&e.push(a),i=i.superClass}for(var r={},o=e.length-1;o>=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)})}});s(f,{registerWhenExtend:!0}),r.enableSubTypeDefaulter(f),r.enableTopologicalTravel(f,function(t){var e=[];n.each(f.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");return e}),n.mixin(f,c);var p=f;t.exports=p},bMXI:function(t,e,i){var n=i("bYtY"),a=i("QBsz"),r=i("Fofx"),o=i("mFDi"),s=i("DN4a"),l=a.applyTransform;function u(){s.call(this)}function h(t){this.name=t,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function c(t,e,i,n){var a=i.seriesModel,r=a?a.coordinateSystem:null;return r===this?r[t](n):null}n.mixin(u,s),h.prototype={constructor:h,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,i,n){return this._rect=new o(t,e,i,n),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,i,n){this.transformTo(t,e,i,n),this._viewRect=new o(t,e,i,n)},transformTo:function(t,e,i,n){var a=this.getBoundingRect(),r=this._rawTransformable;r.transform=a.calculateTransform(new o(t,e,i,n)),r.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,i=this.getDefaultCenter(),n=this.getCenter(),r=this.getZoom();n=a.applyTransform([],n,t),i=a.applyTransform([],i,t),e.origin=n,e.position=[i[0]-n[0],i[1]-n[1]],e.scale=[r,r],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),r.copy(this.transform||(this.transform=[]),e.transform||r.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],r.invert(this.invTransform,this.transform),this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,i){var n=e?this._rawTransform:this.transform;return i=i||[],n?l(i,t,n):a.copy(i,t)},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:n.curry(c,"dataToPoint"),convertFromPixel:n.curry(c,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},n.mixin(h,s);var d=h;t.exports=d},bNin:function(t,e,i){var n=i("bYtY"),a=i("IwbS"),r=i("FBjb"),o=i("Itpr").radialCoordinate,s=i("ProS"),l=i("4mN7"),u=i("bMXI"),h=i("Ae+d"),c=i("SgGq"),d=i("xSat").onIrrelevantElement,f=s.extendChartView({type:"tree",init:function(t,e){this._oldTree,this._mainGroup=new a.Group,this._controller=new c(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(t,e,i,n){var a=t.getData(),r=t.layoutInfo,o=this._mainGroup,s=t.get("layout");"radial"===s?o.attr("position",[r.x+r.width/2,r.y+r.height/2]):o.attr("position",[r.x,r.y]),this._updateViewCoordSys(t),this._updateController(t,e,i);var l=this._data,u={expandAndCollapse:t.get("expandAndCollapse"),layout:s,orient:t.getOrient(),curvature:t.get("lineStyle.curveness"),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};a.diff(l).add(function(e){p(a,e)&&m(a,e,null,o,t,u)}).update(function(e,i){var n=l.getItemGraphicEl(i);p(a,e)?m(a,e,n,o,t,u):n&&v(l,i,n,o,t,u)}).remove(function(e){var i=l.getItemGraphicEl(e);i&&v(l,e,i,o,t,u)}).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===u.expandAndCollapse&&a.eachItemGraphicEl(function(e,n){e.off("click").on("click",function(){i.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:n})})}),this._data=a},_updateViewCoordSys:function(t){var e=t.getData(),i=[];e.each(function(t){var n=e.getItemLayout(t);!n||isNaN(n.x)||isNaN(n.y)||i.push([+n.x,+n.y])});var n=[],a=[];l.fromPoints(i,n,a),a[0]-n[0]==0&&(a[0]+=1,n[0]-=1),a[1]-n[1]==0&&(a[1]+=1,n[1]-=1);var r=t.coordinateSystem=new u;r.zoomLimit=t.get("scaleLimit"),r.setBoundingRect(n[0],n[1],a[0]-n[0],a[1]-n[1]),r.setCenter(t.get("center")),r.setZoom(t.get("zoom")),this.group.attr({position:r.position,scale:r.scale}),this._viewCoordSys=r},_updateController:function(t,e,i){var n=this._controller,a=this._controllerHost,r=this.group;n.setPointerChecker(function(e,n,a){var o=r.getBoundingRect();return o.applyTransform(r.transform),o.contain(n,a)&&!d(e,i,t)}),n.enable(t.get("roam")),a.zoomLimit=t.get("scaleLimit"),a.zoom=t.coordinateSystem.getZoom(),n.off("pan").off("zoom").on("pan",function(e){h.updateViewOnPan(a,e.dx,e.dy),i.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})},this).on("zoom",function(e){h.updateViewOnZoom(a,e.scale,e.originX,e.originY),i.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),this._updateNodeAndLinkScale(t)},this)},_updateNodeAndLinkScale:function(t){var e=t.getData(),i=this._getNodeGlobalScale(t),n=[i,i];e.eachItemGraphicEl(function(t,e){t.attr("scale",n)})},_getNodeGlobalScale:function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var i=this._nodeScaleRatio,n=e.scale,a=n&&n[0]||1;return((e.getZoom()-1)*i+1)/a},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function p(t,e){var i=t.getItemLayout(e);return i&&!isNaN(i.x)&&!isNaN(i.y)&&"none"!==t.getItemVisual(e,"symbol")}function g(t,e,i){return i.itemModel=e,i.itemStyle=e.getModel("itemStyle").getItemStyle(),i.hoverItemStyle=e.getModel("emphasis.itemStyle").getItemStyle(),i.lineStyle=e.getModel("lineStyle").getLineStyle(),i.labelModel=e.getModel("label"),i.hoverLabelModel=e.getModel("emphasis.label"),!1===t.isExpand&&0!==t.children.length?i.symbolInnerColor=i.itemStyle.fill:i.symbolInnerColor="#fff",i}function m(t,e,i,o,s,l){var u=!i,h=t.tree.getNodeByDataIndex(e),c=(l=g(h,h.getModel(),l),t.tree.root),d=h.parentNode===c?h:h.parentNode||h,f=t.getItemGraphicEl(d.dataIndex),p=d.getLayout(),m=f?{x:f.position[0],y:f.position[1],rawX:f.__radialOldRawX,rawY:f.__radialOldRawY}:p,v=h.getLayout();u?(i=new r(t,e,l)).attr("position",[m.x,m.y]):i.updateData(t,e,l),i.__radialOldRawX=i.__radialRawX,i.__radialOldRawY=i.__radialRawY,i.__radialRawX=v.rawX,i.__radialRawY=v.rawY,o.add(i),t.setItemGraphicEl(e,i),a.updateProps(i,{position:[v.x,v.y]},s);var x=i.getSymbolPath();if("radial"===l.layout){var _,b,w=c.children[0],S=w.getLayout(),M=w.children.length;if(v.x===S.x&&!0===h.isExpand){var I={};I.x=(w.children[0].getLayout().x+w.children[M-1].getLayout().x)/2,I.y=(w.children[0].getLayout().y+w.children[M-1].getLayout().y)/2,(_=Math.atan2(I.y-S.y,I.x-S.x))<0&&(_=2*Math.PI+_),(b=I.x<S.x)&&(_-=Math.PI)}else(_=Math.atan2(v.y-S.y,v.x-S.x))<0&&(_=2*Math.PI+_),0===h.children.length||0!==h.children.length&&!1===h.isExpand?(b=v.x<S.x)&&(_-=Math.PI):(b=v.x>S.x)||(_-=Math.PI);var T=b?"left":"right";x.setStyle({textPosition:T,textRotation:-_,textOrigin:"center",verticalAlign:"middle"})}if(h.parentNode&&h.parentNode!==c){var A=i.__edge;A||(A=i.__edge=new a.BezierCurve({shape:y(l,m,m),style:n.defaults({opacity:0,strokeNoScale:!0},l.lineStyle)})),a.updateProps(A,{shape:y(l,p,v),style:{opacity:1}},s),o.add(A)}}function v(t,e,i,n,r,o){for(var s,l=t.tree.getNodeByDataIndex(e),u=t.tree.root,h=(o=g(l,l.getModel(),o),l.parentNode===u?l:l.parentNode||l);null==(s=h.getLayout());)h=h.parentNode===u?h:h.parentNode||h;a.updateProps(i,{position:[s.x+1,s.y+1]},r,function(){n.remove(i),t.setItemGraphicEl(e,null)}),i.fadeOut(null,{keepLabel:!0});var c=i.__edge;c&&a.updateProps(c,{shape:y(o,s,s),style:{opacity:0}},r,function(){n.remove(c)})}function y(t,e,i){var n,a,r,s,l,u,h,c,d=t.orient;if("radial"===t.layout){l=e.rawX,h=e.rawY,u=i.rawX,c=i.rawY;var f=o(l,h),p=o(l,h+(c-h)*t.curvature),g=o(u,c+(h-c)*t.curvature),m=o(u,c);return{x1:f.x,y1:f.y,x2:m.x,y2:m.y,cpx1:p.x,cpy1:p.y,cpx2:g.x,cpy2:g.y}}return l=e.x,h=e.y,u=i.x,c=i.y,"LR"!==d&&"RL"!==d||(n=l+(u-l)*t.curvature,a=h,r=u+(l-u)*t.curvature,s=c),"TB"!==d&&"BT"!==d||(n=l,a=h+(c-h)*t.curvature,r=u,s=c+(h-c)*t.curvature),{x1:l,y1:h,x2:u,y2:c,cpx1:n,cpy1:a,cpx2:r,cpy2:s}}t.exports=f},bYtY:function(t,e){var i={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},n={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},a=Object.prototype.toString,r=Array.prototype,o=r.forEach,s=r.filter,l=r.slice,u=r.map,h=r.reduce,c={};function d(t){if(null==t||"object"!=typeof t)return t;var e=t,r=a.call(t);if("[object Array]"===r){if(!M(t)){e=[];for(var o=0,s=t.length;o<s;o++)e[o]=d(t[o])}}else if(n[r]){if(!M(t)){var l=t.constructor;if(t.constructor.from)e=l.from(t);else{e=new l(t.length);for(o=0,s=t.length;o<s;o++)e[o]=d(t[o])}}}else if(!i[r]&&!M(t)&&!w(t))for(var u in e={},t)t.hasOwnProperty(u)&&(e[u]=d(t[u]));return e}function f(t,e,i){if(!_(e)||!_(t))return i?d(e):t;for(var n in e)if(e.hasOwnProperty(n)){var a=t[n],r=e[n];!_(r)||!_(a)||x(r)||x(a)||w(r)||w(a)||b(r)||b(a)||M(r)||M(a)?!i&&n in t||(t[n]=d(e[n])):f(a,r,i)}return t}function p(t,e,i){for(var n in e)e.hasOwnProperty(n)&&(i?null!=e[n]:null==t[n])&&(t[n]=e[n]);return t}var g,m=function(){return c.createCanvas()};function v(t,e,i){if(t&&e)if(t.forEach&&t.forEach===o)t.forEach(e,i);else if(t.length===+t.length)for(var n=0,a=t.length;n<a;n++)e.call(i,t[n],n,t);else for(var r in t)t.hasOwnProperty(r)&&e.call(i,t[r],r,t)}function y(t,e){var i=l.call(arguments,2);return function(){return t.apply(e,i.concat(l.call(arguments)))}}function x(t){return"[object Array]"===a.call(t)}function _(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function b(t){return!!i[a.call(t)]}function w(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}c.createCanvas=function(){return document.createElement("canvas")};var S="__ec_primitive__";function M(t){return t[S]}function I(t){var e=x(t);this.data={};var i=this;function n(t,n){e?i.set(t,n):i.set(n,t)}t instanceof I?t.each(n):t&&v(t,n)}I.prototype={constructor:I,get:function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},set:function(t,e){return this.data[t]=e},each:function(t,e){for(var i in void 0!==e&&(t=y(t,e)),this.data)this.data.hasOwnProperty(i)&&t(this.data[i],i)},removeKey:function(t){delete this.data[t]}},e.$override=function(t,e){"createCanvas"===t&&(g=null),c[t]=e},e.clone=d,e.merge=f,e.mergeAll=function(t,e){for(var i=t[0],n=1,a=t.length;n<a;n++)i=f(i,t[n],e);return i},e.extend=function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t},e.defaults=p,e.createCanvas=m,e.getContext=function(){return g||(g=m().getContext("2d")),g},e.indexOf=function(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i}return-1},e.inherits=function(t,e){var i=t.prototype;function n(){}for(var a in n.prototype=e.prototype,t.prototype=new n,i)t.prototype[a]=i[a];t.prototype.constructor=t,t.superClass=e},e.mixin=function(t,e,i){p(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,i)},e.isArrayLike=function(t){if(t)return"string"!=typeof t&&"number"==typeof t.length},e.each=v,e.map=function(t,e,i){if(t&&e){if(t.map&&t.map===u)return t.map(e,i);for(var n=[],a=0,r=t.length;a<r;a++)n.push(e.call(i,t[a],a,t));return n}},e.reduce=function(t,e,i,n){if(t&&e){if(t.reduce&&t.reduce===h)return t.reduce(e,i,n);for(var a=0,r=t.length;a<r;a++)i=e.call(n,i,t[a],a,t);return i}},e.filter=function(t,e,i){if(t&&e){if(t.filter&&t.filter===s)return t.filter(e,i);for(var n=[],a=0,r=t.length;a<r;a++)e.call(i,t[a],a,t)&&n.push(t[a]);return n}},e.find=function(t,e,i){if(t&&e)for(var n=0,a=t.length;n<a;n++)if(e.call(i,t[n],n,t))return t[n]},e.bind=y,e.curry=function(t){var e=l.call(arguments,1);return function(){return t.apply(this,e.concat(l.call(arguments)))}},e.isArray=x,e.isFunction=function(t){return"function"==typeof t},e.isString=function(t){return"[object String]"===a.call(t)},e.isObject=_,e.isBuiltInObject=b,e.isTypedArray=function(t){return!!n[a.call(t)]},e.isDom=w,e.eqNaN=function(t){return t!=t},e.retrieve=function(t){for(var e=0,i=arguments.length;e<i;e++)if(null!=arguments[e])return arguments[e]},e.retrieve2=function(t,e){return null!=t?t:e},e.retrieve3=function(t,e,i){return null!=t?t:null!=e?e:i},e.slice=function(){return Function.call.apply(l,arguments)},e.normalizeCssArray=function(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t},e.assert=function(t,e){if(!t)throw new Error(e)},e.trim=function(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},e.setAsPrimitive=function(t){t[S]=!0},e.isPrimitive=M,e.createHashMap=function(t){return new I(t)},e.concatArray=function(t,e){for(var i=new t.constructor(t.length+e.length),n=0;n<t.length;n++)i[n]=t[n];var a=t.length;for(n=0;n<e.length;n++)i[n+a]=e[n];return i},e.noop=function(){}},bZqE:function(t,e){e.eachAfter=function(t,e,i){for(var n,a=[t],r=[];n=a.pop();)if(r.push(n),n.isExpand){var o=n.children;if(o.length)for(var s=0;s<o.length;s++)a.push(o[s])}for(;n=r.pop();)e(n,i)},e.eachBefore=function(t,e){for(var i,n=[t];i=n.pop();)if(e(i),i.isExpand){var a=i.children;if(a.length)for(var r=a.length-1;r>=0;r--)n.push(a[r])}}},c2i1:function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=i("Yl7c").enableClassCheck;function r(t){return"_EC_"+t}var o=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},s=o.prototype;function l(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function u(t,e,i){this.node1=t,this.node2=e,this.dataIndex=null==i?-1:i}s.type="graph",s.isDirected=function(){return this._directed},s.addNode=function(t,e){t=null==t?""+e:""+t;var i=this._nodesMap;if(!i[r(t)]){var n=new l(t,e);return n.hostGraph=this,this.nodes.push(n),i[r(t)]=n,n}},s.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},s.getNodeById=function(t){return this._nodesMap[r(t)]},s.addEdge=function(t,e,i){var n=this._nodesMap,a=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),l.isInstance(t)||(t=n[r(t)]),l.isInstance(e)||(e=n[r(e)]),t&&e){var o=t.id+"-"+e.id;if(!a[o]){var s=new u(t,e,i);return s.hostGraph=this,this._directed&&(t.outEdges.push(s),e.inEdges.push(s)),t.edges.push(s),t!==e&&e.edges.push(s),this.edges.push(s),a[o]=s,s}}},s.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},s.getEdge=function(t,e){l.isInstance(t)&&(t=t.id),l.isInstance(e)&&(e=e.id);var i=this._edgesMap;return this._directed?i[t+"-"+e]:i[t+"-"+e]||i[e+"-"+t]},s.eachNode=function(t,e){for(var i=this.nodes,n=i.length,a=0;a<n;a++)i[a].dataIndex>=0&&t.call(e,i[a],a)},s.eachEdge=function(t,e){for(var i=this.edges,n=i.length,a=0;a<n;a++)i[a].dataIndex>=0&&i[a].node1.dataIndex>=0&&i[a].node2.dataIndex>=0&&t.call(e,i[a],a)},s.breadthFirstTraverse=function(t,e,i,n){if(l.isInstance(e)||(e=this._nodesMap[r(e)]),e){for(var a="out"===i?"outEdges":"in"===i?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(n,e,null))for(var s=[e];s.length;){var u=s.shift(),h=u[a];for(o=0;o<h.length;o++){var c=h[o],d=c.node1===u?c.node2:c.node1;if(!d.__visited){if(t.call(n,d,u))return;s.push(d),d.__visited=!0}}}}},s.update=function(){for(var t=this.data,e=this.edgeData,i=this.nodes,n=this.edges,a=0,r=i.length;a<r;a++)i[a].dataIndex=-1;for(a=0,r=t.count();a<r;a++)i[t.getRawIndex(a)].dataIndex=a;e.filterSelf(function(t){var i=n[e.getRawIndex(t)];return i.node1.dataIndex>=0&&i.node2.dataIndex>=0});for(a=0,r=n.length;a<r;a++)n[a].dataIndex=-1;for(a=0,r=e.count();a<r;a++)n[e.getRawIndex(a)].dataIndex=a},s.clone=function(){for(var t=new o(this._directed),e=this.nodes,i=this.edges,n=0;n<e.length;n++)t.addNode(e[n].id,e[n].dataIndex);for(n=0;n<i.length;n++){var a=i[n];t.addEdge(a.node1.id,a.node2.id,a.dataIndex)}return t},l.prototype={constructor:l,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)}},u.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)};var h=function(t,e){return{getValue:function(i){var n=this[t][e];return n.get(n.getDimension(i||"value"),this.dataIndex)},setVisual:function(i,n){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,i,n)},getVisual:function(i,n){return this[t][e].getItemVisual(this.dataIndex,i,n)},setLayout:function(i,n){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,i,n)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}};n.mixin(l,h("hostGraph","data")),n.mixin(u,h("hostGraph","edgeData")),o.Node=l,o.Edge=u,a(l),a(u);var c=o;t.exports=c},c8qY:function(t,e,i){var n=i("IwbS"),a=i("fls0");function r(t){this._ctor=t||a,this.group=new n.Group}var o=r.prototype;function s(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function l(t){return isNaN(t[0])||isNaN(t[1])}function u(t){return!l(t[0])&&!l(t[1])}o.isPersistent=function(){return!0},o.updateData=function(t){var e=this,i=e.group,n=e._lineData;e._lineData=t,n||i.removeAll();var a=s(t);t.diff(n).add(function(i){!function(t,e,i,n){if(!u(e.getItemLayout(i)))return;var a=new t._ctor(e,i,n);e.setItemGraphicEl(i,a),t.group.add(a)}(e,t,i,a)}).update(function(i,r){!function(t,e,i,n,a,r){var o=e.getItemGraphicEl(n);if(!u(i.getItemLayout(a)))return void t.group.remove(o);o?o.updateData(i,a,r):o=new t._ctor(i,a,r);i.setItemGraphicEl(a,o),t.group.add(o)}(e,n,t,r,i,a)}).remove(function(t){i.remove(n.getItemGraphicEl(t))}).execute()},o.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,i){e.updateLayout(t,i)},this)},o.incrementalPrepareUpdate=function(t){this._seriesScope=s(t),this._lineData=null,this.group.removeAll()},o.incrementalUpdate=function(t,e){function i(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}for(var n=t.start;n<t.end;n++){if(u(e.getItemLayout(n))){var a=new this._ctor(e,n,this._seriesScope);a.traverse(i),this.group.add(a),e.setItemGraphicEl(n,a)}}},o.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},o._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var h=r;t.exports=h},cCMj:function(t,e,i){var n=i("bYtY"),a={updateSelectedMap:function(t){this._targetList=n.isArray(t)?t.slice():[],this._selectTargetMap=n.reduce(t||[],function(t,e){return t.set(e.name,e),t},n.createHashMap())},select:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);"single"===this.get("selectedMode")&&this._selectTargetMap.each(function(t){t.selected=!1}),i&&(i.selected=!0)},unSelect:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);i&&(i.selected=!1)},toggleSelected:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);if(null!=i)return this[i.selected?"unSelect":"select"](t,e),i.selected},isSelected:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);return i&&i.selected}};t.exports=a},ca2m:function(t,e,i){var n=i("bYtY"),a={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},r={};r.categoryAxis=n.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},a),r.valueAxis=n.merge({boundaryGap:[0,0],splitNumber:5},a),r.timeAxis=n.defaults({scale:!0,min:"dataMin",max:"dataMax"},r.valueAxis),r.logAxis=n.defaults({scale:!0,logBase:10},r.valueAxis);var o=r;t.exports=o},cbJ4:function(t,e,i){var n=i("bYtY").createHashMap;t.exports=function(t){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),i=t.getRawData(),a=t.get("color"),r=n();e.each(function(t){r.set(e.getRawIndex(t),t)}),i.each(function(n){var o=i.getName(n),s=a[(t.nameMap.get(o)-1)%a.length];i.setItemVisual(n,"color",s);var l=r.get(n);null!=l&&e.setItemVisual(l,"color",s)})})}},cpOr:function(t,e,i){i("Tghj").__DEV__;var n=i("T4UG"),a=i("YXkt"),r=i("bYtY"),o=r.concatArray,s=r.mergeAll,l=r.map,u=i("7aKB").encodeHTML,h=(i("IDmD"),"undefined"==typeof Uint32Array?Array:Uint32Array),c="undefined"==typeof Float64Array?Array:Float64Array;function d(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=l(e,function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),s([e,t[0],t[1]])}))}var f=n.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(t){t.data=t.data||[],d(t);var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count)),f.superApply(this,"init",arguments)},mergeOption:function(t){if(t.data=t.data||[],d(t),t.data){var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count))}f.superApply(this,"mergeOption",arguments)},appendData:function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=o(this._flatCoords,e.flatCoords),this._flatCoordsOffset=o(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},_getCoordsFromItemModel:function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},getLineCoordsCount:function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},getLineCoords:function(t,e){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[2*t],n=this._flatCoordsOffset[2*t+1],a=0;a<n;a++)e[a]=e[a]||[],e[a][0]=this._flatCoords[i+2*a],e[a][1]=this._flatCoords[i+2*a+1];return n}var r=this._getCoordsFromItemModel(t);for(a=0;a<r.length;a++)e[a]=e[a]||[],e[a][0]=r[a][0],e[a][1]=r[a][1];return r.length},_processFlatCoordsArray:function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),"number"==typeof t[0]){for(var i=t.length,n=new h(i),a=new c(i),r=0,o=0,s=0,l=0;l<i;){s++;var u=t[l++];n[o++]=r+e,n[o++]=u;for(var d=0;d<u;d++){var f=t[l++],p=t[l++];a[r++]=f,a[r++]=p}}return{flatCoordsOffset:new Uint32Array(n.buffer,0,o),flatCoords:a,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},getInitialData:function(t,e){var i=new a(["value"],this);return i.hasItemOption=!1,i.initData(t.data,[],function(t,e,n,a){if(t instanceof Array)return NaN;i.hasItemOption=!0;var r=t.value;return null!=r?r instanceof Array?r[a]:r:void 0}),i},formatTooltip:function(t){var e=this.getData().getItemModel(t),i=e.get("name");if(i)return i;var n=e.get("fromName"),a=e.get("toName"),r=[];return null!=n&&r.push(n),null!=a&&r.push(a),u(r.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),p=f;t.exports=p},crZl:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("IwbS"),o=i("7aKB"),s=i("+TT/"),l=i("XxSj"),u=n.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e,this.visualMapModel},render:function(t,e,i,n){this.visualMapModel=t,!1!==t.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,i=o.normalizeCssArray(e.get("padding")||0),n=t.getBoundingRect();t.add(new r.Rect({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,i){var n=(i=i||{}).forceState,r=this.visualMapModel,o={};if("symbol"===e&&(o.symbol=r.get("itemSymbol")),"color"===e){var s=r.get("contentColor");o.color=s}function u(t){return o[t]}function h(t,e){o[t]=e}var c=r.controllerVisuals[n||r.getValueState(t)],d=l.prepareVisualTypes(c);return a.each(d,function(n){var a=c[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",a=c.__alphaForOpacity),l.dependsOn(n,e)&&a&&a.applyVisual(t,u,h)}),o[e]},positionGroup:function(t){var e=this.visualMapModel,i=this.api;s.positionElement(t,e.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},doRender:a.noop});t.exports=u},d4KN:function(t,e,i){var n=i("ProS"),a=i("bYtY");t.exports=function(t,e){a.each(e,function(e){e.update="updateView",n.registerAction(e,function(i,n){var a={};return n.eachComponent({mainType:"series",subType:t,query:i},function(t){t[e.method]&&t[e.method](i.name,i.dataIndex);var n=t.getData();n.each(function(e){var i=n.getName(e);a[i]=t.isSelected(i)||!1})}),{name:i.name,selected:a,seriesId:i.seriesId}})})}},dBmv:function(t,e,i){var n=i("ProS"),a=i("szbU");i("vF/C"),i("qwVE"),i("MHoB"),i("PNag"),i("1u/T"),n.registerPreprocessor(a)},dMvE:function(t,e){var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),(t*=2)<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-i.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},n=i;t.exports=n},dmGj:function(t,e,i){var n=i("DEFe"),a=i("ProS").extendComponentView({type:"geo",init:function(t,e){var i=new n(e,!0);this._mapDraw=i,this.group.add(i.group)},render:function(t,e,i,n){if(!n||"geoToggleSelect"!==n.type||n.from!==this.uid){var a=this._mapDraw;t.get("show")?a.draw(t,e,i,this,n):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});t.exports=a},dnwI:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("YH21"),o=i("Kagy"),s=i("IUWy"),l=o.toolbox.dataView,u=new Array(60).join("-"),h="\t";function c(t){var e,i,n=function(t){var e={},i=[],n=[];return t.eachRawSeries(function(t){var a=t.coordinateSystem;if(!a||"cartesian2d"!==a.type&&"polar"!==a.type)i.push(t);else{var r=a.getBaseAxis();if("category"===r.type){var o=r.dim+"_"+r.index;e[o]||(e[o]={categoryAxis:r,valueAxis:a.getOtherAxis(r),series:[]},n.push({axisDim:r.dim,axisIndex:r.index})),e[o].series.push(t)}else i.push(t)}}),{seriesGroupByCategoryAxis:e,other:i,meta:n}}(t);return{value:a.filter([(e=n.seriesGroupByCategoryAxis,i=[],a.each(e,function(t,e){var n=t.categoryAxis,r=t.valueAxis.dim,o=[" "].concat(a.map(t.series,function(t){return t.name})),s=[n.model.getCategories()];a.each(t.series,function(t){s.push(t.getRawData().mapArray(r,function(t){return t}))});for(var l=[o.join(h)],u=0;u<s[0].length;u++){for(var c=[],d=0;d<s.length;d++)c.push(s[d][u]);l.push(c.join(h))}i.push(l.join("\n"))}),i.join("\n\n"+u+"\n\n")),function(t){return a.map(t,function(t){var e=t.getRawData(),i=[t.name],n=[];return e.each(e.dimensions,function(){for(var t=arguments.length,a=arguments[t-1],r=e.getName(a),o=0;o<t-1;o++)n[o]=arguments[o];i.push((r?r+h:"")+n.join(h))}),i.join("\n")}).join("\n\n"+u+"\n\n")}(n.other)],function(t){return t.replace(/[\n\t\s]/g,"")}).join("\n\n"+u+"\n\n"),meta:n.meta}}function d(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var f=new RegExp("["+h+"]+","g");function p(t,e){var i=t.split(new RegExp("\n*"+u+"\n*","g")),n={series:[]};return a.each(i,function(t,i){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(h)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),i=d(e.shift()).split(f),n=[],r=a.map(i,function(t){return{name:t,data:[]}}),o=0;o<e.length;o++){var s=d(e[o]).split(f);n.push(s.shift());for(var l=0;l<s.length;l++)r[l]&&(r[l].data[o]=s[l])}return{series:r,categories:n}}(t),o=e[i],s=o.axisDim+"Axis";o&&(n[s]=n[s]||[],n[s][o.axisIndex]={data:r.categories},n.series=n.series.concat(r.series))}else{r=function(t){for(var e=t.split(/\n+/g),i=d(e.shift()),n=[],a=0;a<e.length;a++){var r,o=d(e[a]).split(f),s="",l=!1;isNaN(o[0])?(l=!0,s=o[0],o=o.slice(1),n[a]={name:s,value:[]},r=n[a].value):r=n[a]=[];for(var u=0;u<o.length;u++)r.push(+o[u]);1===r.length&&(l?n[a].value=r[0]:n[a]=r[0])}return{name:i,data:n}}(t);n.series.push(r)}}),n}function g(t){this._dom=null,this.model=t}g.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:a.clone(l.title),lang:a.clone(l.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},g.prototype.onclick=function(t,e){var i=e.getDom(),n=this.model;this._dom&&i.removeChild(this._dom);var o=document.createElement("div");o.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",o.style.backgroundColor=n.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=n.get("lang")||[];s.innerHTML=l[0]||n.get("title"),s.style.cssText="margin: 10px 20px;",s.style.color=n.get("textColor");var u=document.createElement("div"),h=document.createElement("textarea");u.style.cssText="display:block;width:100%;overflow:auto;";var d=n.get("optionToContent"),f=n.get("contentToOption"),g=c(t);if("function"==typeof d){var m=d(e.getOption());"string"==typeof m?u.innerHTML=m:a.isDom(m)&&u.appendChild(m)}else u.appendChild(h),h.readOnly=n.get("readOnly"),h.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",h.style.color=n.get("textColor"),h.style.borderColor=n.get("textareaBorderColor"),h.style.backgroundColor=n.get("textareaColor"),h.value=g.value;var v=g.meta,y=document.createElement("div");y.style.cssText="position:absolute;bottom:0;left:0;right:0;";var x="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",_=document.createElement("div"),b=document.createElement("div");x+=";background-color:"+n.get("buttonColor"),x+=";color:"+n.get("buttonTextColor");var w=this;function S(){i.removeChild(o),w._dom=null}r.addEventListener(_,"click",S),r.addEventListener(b,"click",function(){var t;try{t="function"==typeof f?f(u,e.getOption()):p(h.value,v)}catch(t){throw S(),new Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),S()}),_.innerHTML=l[1],b.innerHTML=l[2],b.style.cssText=x,_.style.cssText=x,!n.get("readOnly")&&y.appendChild(b),y.appendChild(_),o.appendChild(s),o.appendChild(u),o.appendChild(y),u.style.height=i.clientHeight-80+"px",i.appendChild(o),this._dom=o},g.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},g.prototype.dispose=function(t,e){this.remove(t,e)},s.register("dataView",g),n.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,e){var i=[];a.each(t.newOption.series,function(t){var n=e.getSeriesByName(t.name)[0];if(n){var r=n.get("data");i.push({name:t.name,data:function(t,e){return a.map(t,function(t,i){var n=e&&e[i];return a.isObject(n)&&!a.isArray(n)?(a.isObject(t)&&!a.isArray(t)&&(t=t.value),a.defaults({value:t},n)):t})}(t.data,r)})}else i.push(a.extend({type:"scatter"},t))}),e.mergeOption(a.defaults({series:i},t.newOption))});var m=g;t.exports=m},dqUG:function(t,e,i){var n=i("Gev7"),a=i("bYtY"),r=i("6GrX"),o=i("pzxd"),s=i("gut8").ContextCachedBy,l=function(t){n.call(this,t)};l.prototype={constructor:l,type:"text",brush:function(t,e){var i=this.style;this.__dirty&&o.normalizeTextStyle(i,!0),i.fill=i.stroke=i.shadowBlur=i.shadowColor=i.shadowOffsetX=i.shadowOffsetY=null;var n=i.text;null!=n&&(n+=""),o.needDrawText(n,i)?(this.setTransform(t),o.renderText(this,t,n,i,null,e),this.restoreTransform(t)):t.__attrCachedBy=s.NONE},getBoundingRect:function(){var t=this.style;if(this.__dirty&&o.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var i=r.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(i.x+=t.x||0,i.y+=t.y||0,o.getStroke(t.textStroke,t.textStrokeWidth)){var n=t.textStrokeWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect}},a.inherits(l,n);var u=l;t.exports=u},eIcI:function(t,e,i){var n=i("bYtY"),a=i("hM6l");function r(t,e,i){a.call(this,t,e,i),this.type="value",this.angle=0,this.name="",this.model}n.inherits(r,a);var o=r;t.exports=o},eJH7:function(t,e,i){var n=i("bYtY");t.exports=function(t){var e=t.polar;if(e){n.isArray(e)||(e=[e]);var i=[];n.each(e,function(e,a){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],n.isArray(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):i.push(e)}),t.polar=i}n.each(t.series,function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)})}},ePAk:function(t,e,i){var n=i("ProS");i("2fGM");var a=n.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e;return this.ecModel.eachComponent(t,function(t){t.getCoordSysModel()===this&&(e=t)},this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});t.exports=a},eRkO:function(t,e,i){var n=i("+TT/"),a=n.getLayoutRect,r=n.box,o=n.positionElement,s=i("7aKB"),l=i("IwbS");e.layout=function(t,e,i){var n=e.getBoxLayoutParams(),s=e.get("padding"),l={width:i.getWidth(),height:i.getHeight()},u=a(n,l,s);r(e.get("orient"),t,e.get("itemGap"),u.width,u.height),o(t,n,l,s)},e.makeBackground=function(t,e){var i=s.normalizeCssArray(e.get("padding")),n=e.getItemStyle(["color","opacity"]);return n.fill=e.get("backgroundColor"),t=new l.Rect({shape:{x:t.x-i[3],y:t.y-i[0],width:t.width+i[1]+i[3],height:t.height+i[0]+i[2],r:e.get("borderRadius")},style:n,silent:!0,z2:-1})}},eS4l:function(t,e,i){i("HM/N"),i("FNN5")},ewwo:function(t,e,i){var n=i("bMXI"),a=i("+TT/").getLayoutRect,r=i("4mN7");t.exports=function(t,e){var i=[];return t.eachSeriesByType("graph",function(t){var o=t.get("coordinateSystem");if(!o||"view"===o){var s=t.getData(),l=s.mapArray(function(t){var e=s.getItemModel(t);return[+e.get("x"),+e.get("y")]}),u=[],h=[];r.fromPoints(l,u,h),h[0]-u[0]==0&&(h[0]+=1,u[0]-=1),h[1]-u[1]==0&&(h[1]+=1,u[1]-=1);var c=(h[0]-u[0])/(h[1]-u[1]),d=function(t,e,i){var n=t.getBoxLayoutParams();return n.aspect=i,a(n,{width:e.getWidth(),height:e.getHeight()})}(t,e,c);isNaN(c)&&(u=[d.x,d.y],h=[d.x+d.width,d.y+d.height]);var f=h[0]-u[0],p=h[1]-u[1],g=d.width,m=d.height,v=t.coordinateSystem=new n;v.zoomLimit=t.get("scaleLimit"),v.setBoundingRect(u[0],u[1],f,p),v.setViewRect(d.x,d.y,g,m),v.setCenter(t.get("center")),v.setZoom(t.get("zoom")),i.push(v)}}),i}},f1nB:function(t,e,i){i("Tghj").__DEV__;var n=i("ProS"),a=i("bYtY"),r=i("4NO4"),o=i("IwbS"),s=i("+TT/");n.registerPreprocessor(function(t){var e=t.graphic;a.isArray(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])});var l=n.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(t){var e=this.option.elements;this.option.elements=null,l.superApply(this,"mergeOption",arguments),this.option.elements=e},optionUpdated:function(t,e){var i=this.option,n=(e?i:t).elements,o=i.elements=e?[]:i.elements,l=[];this._flatten(n,l);var u=r.mappingToExists(o,l);r.makeIdAndName(u);var h=this._elOptionsToUpdate=[];a.each(u,function(t,e){var i=t.option;i&&(h.push(i),function(t,e){var i=t.exist;if(e.id=t.keyInfo.id,!e.type&&i&&(e.type=i.type),null==e.parentId){var n=e.parentOption;n?e.parentId=n.id:i&&(e.parentId=i.parentId)}e.parentOption=null}(t,i),function(t,e,i){var n=a.extend({},i),r=t[e],o=i.$action||"merge";"merge"===o?r?(a.merge(r,n,!0),s.mergeLayoutParam(r,n,{ignoreSize:!0}),s.copyLayoutParams(i,r)):t[e]=n:"replace"===o?t[e]=n:"remove"===o&&r&&(t[e]=null)}(o,e,i),function(t,e){if(!t)return;t.hv=e.hv=[c(e,["left","right"]),c(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0))}(o[e],i))},this);for(var d=o.length-1;d>=0;d--)null==o[d]?o.splice(d,1):delete o[d].$action},_flatten:function(t,e,i){a.each(t,function(t){if(t){i&&(t.parentOption=i),e.push(t);var n=t.children;"group"===t.type&&n&&this._flatten(n,e,t),delete t.children}},this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function u(t,e,i,n){var a=i.type,r=new(0,o[a.charAt(0).toUpperCase()+a.slice(1)])(i);e.add(r),n.set(t,r),r.__ecGraphicId=t}function h(t,e){var i=t&&t.parent;i&&("group"===t.type&&t.traverse(function(t){h(t,e)}),e.removeKey(t.__ecGraphicId),i.remove(t))}function c(t,e){var i;return a.each(e,function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)}),i}n.extendComponentView({type:"graphic",init:function(t,e){this._elMap=a.createHashMap(),this._lastGraphicModel},render:function(t,e,i){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,i)},_updateElements:function(t){var e=t.useElOptionsToUpdate();if(e){var i=this._elMap,n=this.group;a.each(e,function(e){var r=e.$action,o=e.id,l=i.get(o),c=e.parentId,d=null!=c?i.get(c):n,f=e.style;"text"===e.type&&f&&(e.hv&&e.hv[1]&&(f.textVerticalAlign=f.textBaseline=null),!f.hasOwnProperty("textFill")&&f.fill&&(f.textFill=f.fill),!f.hasOwnProperty("textStroke")&&f.stroke&&(f.textStroke=f.stroke));var p=function(t){return t=a.extend({},t),a.each(["id","parentId","$action","hv","bounding"].concat(s.LOCATION_PARAMS),function(e){delete t[e]}),t}(e);r&&"merge"!==r?"replace"===r?(h(l,i),u(o,d,p,i)):"remove"===r&&h(l,i):l?l.attr(p):u(o,d,p,i);var g=i.get(o);g&&(g.__ecGraphicWidth=e.width,g.__ecGraphicHeight=e.height,function(t,e,i){var n=t.eventData;t.silent||t.ignore||n||(n=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name});n&&(n.info=t.info)}(g,t))})}},_relocate:function(t,e){for(var i=t.option.elements,n=this.group,a=this._elMap,r=i.length-1;r>=0;r--){var o=i[r],l=a.get(o.id);if(l){var u=l.parent,h=u===n?{width:e.getWidth(),height:e.getHeight()}:{width:u.__ecGraphicWidth||0,height:u.__ecGraphicHeight||0};s.positionElement(l,o,h,null,{hv:o.hv,boundingMode:o.bounding})}}},_clear:function(){var t=this._elMap;t.each(function(e){h(e,t)}),this._elMap=a.createHashMap()},dispose:function(){this._clear()}})},f3JH:function(t,e,i){i("aTJb"),i("OlYY"),i("fc+c"),i("oY9F"),i("MqEG"),i("LBfv"),i("noeP")},f5HG:function(t,e,i){var n=i("IwbS"),a=i("QBsz"),r=n.Line.prototype,o=n.BezierCurve.prototype;function s(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var l=n.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(t,e){this[s(e)?"_buildPathLine":"_buildPathCurve"](t,e)},_buildPathLine:r.buildPath,_buildPathCurve:o.buildPath,pointAt:function(t){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](t)},_pointAtLine:r.pointAt,_pointAtCurve:o.pointAt,tangentAt:function(t){var e=this.shape,i=s(e)?[e.x2-e.x1,e.y2-e.y1]:this._tangentAtCurve(t);return a.normalize(i,i)},_tangentAtCurve:o.tangentAt});t.exports=l},f5Yq:function(t,e,i){var n=i("bYtY").isFunction;t.exports=function(t,e,i){return{seriesType:t,performRawSeries:!0,reset:function(t,a,r){var o=t.getData(),s=t.get("symbol"),l=t.get("symbolSize"),u=t.get("symbolKeepAspect"),h=n(s),c=n(l),d=h||c,f=!h&&s?s:e,p=c?null:l;if(o.setVisual({legendSymbol:i||f,symbol:f,symbolSize:p,symbolKeepAspect:u}),!a.isSeriesFiltered(t))return{dataEach:o.hasItemOption||d?function(e,i){if(d){var n=t.getRawValue(i),a=t.getDataParams(i);h&&e.setItemVisual(i,"symbol",s(n,a)),c&&e.setItemVisual(i,"symbolSize",l(n,a))}if(e.hasItemOption){var r=e.getItemModel(i),o=r.getShallow("symbol",!0),u=r.getShallow("symbolSize",!0),f=r.getShallow("symbolKeepAspect",!0);null!=o&&e.setItemVisual(i,"symbol",o),null!=u&&e.setItemVisual(i,"symbolSize",u),null!=f&&e.setItemVisual(i,"symbolKeepAspect",f)}}:null}}}}},fE02:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("/IIm"),o=i("vZ6x"),s=i("b9oc"),l=i("72pK"),u=i("Kagy"),h=i("IUWy");i("3TkU");var c=u.toolbox.dataZoom,d=a.each,f="\0_ec_\0toolbox-dataZoom_";function p(t,e,i){(this._brushController=new r(i.getZr())).on("brush",a.bind(this._onBrush,this)).mount(),this._isZoomActive}p.defaultOption={show:!0,icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:a.clone(c.title)};var g=p.prototype;g.render=function(t,e,i,n){this.model=t,this.ecModel=e,this.api=i,function(t,e,i,n,a){var r=i._isZoomActive;n&&"takeGlobalCursor"===n.type&&(r="dataZoomSelect"===n.key&&n.dataZoomSelectActive);i._isZoomActive=r,t.setIconStatus("zoom",r?"emphasis":"normal");var s=new o(v(t.option),e,{include:["grid"]});i._brushController.setPanels(s.makePanelOpts(a,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"})).enableBrush(!!r&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}(t,e,this,n,i),function(t,e){t.setIconStatus("back",s.count(e)>1?"emphasis":"normal")}(t,e)},g.onclick=function(t,e,i){m[i].call(this)},g.remove=function(t,e){this._brushController.unmount()},g.dispose=function(t,e){this._brushController.dispose()};var m={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function v(t){var e={};return a.each(["xAxisIndex","yAxisIndex"],function(i){e[i]=t[i],null==e[i]&&(e[i]="all"),(!1===e[i]||"none"===e[i])&&(e[i]=[])}),e}g._onBrush=function(t,e){if(e.isEnd&&t.length){var i={},n=this.ecModel;this._brushController.updateCovers([]),new o(v(this.model.option),n,{include:["grid"]}).matchOutputRanges(t,n,function(t,e,i){if("cartesian2d"===i.type){var n=t.brushType;"rect"===n?(a("x",i,e[0]),a("y",i,e[1])):a({lineX:"x",lineY:"y"}[n],i,e)}}),s.push(n,i),this._dispatchZoomAction(i)}function a(t,e,a){var r=e.getAxis(t),o=r.model,s=function(t,e,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},function(i){i.getAxisModel(t,e.componentIndex)&&(n=i)}),n}(t,o,n),u=s.findRepresentativeAxisProxy(o).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(a=l(0,a.slice(),r.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(i[s.id]={dataZoomId:s.id,startValue:a[0],endValue:a[1]})}},g._dispatchZoomAction=function(t){var e=[];d(t,function(t,i){e.push(a.clone(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},h.register("dataZoom",p),n.registerPreprocessor(function(t){if(t){var e=t.dataZoom||(t.dataZoom=[]);a.isArray(e)||(t.dataZoom=e=[e]);var i=t.toolbox;if(i&&(a.isArray(i)&&(i=i[0]),i&&i.feature)){var n=i.feature.dataZoom;r("xAxis",n),r("yAxis",n)}}function r(i,n){if(n){var r=i+"Index",o=n[r];null==o||"all"===o||a.isArray(o)||(o=!1===o||"none"===o?[]:[o]),function(e,i){var n=t[e];a.isArray(n)||(n=n?[n]:[]);d(n,i)}(i,function(t,n){if(null==o||"all"===o||-1!==a.indexOf(o,n)){var s={type:"select",$fromToolbox:!0,id:f+i+n};s[r]=n,e.push(s)}})}}});var y=p;t.exports=y},fW2E:function(t,e){var i={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};t.exports=function(t,e,n){return i.hasOwnProperty(e)?n*t.dpr:n}},"fc+c":function(t,e,i){var n=i("sS/r").extend({type:"dataZoom",render:function(t,e,i,n){this.dataZoomModel=t,this.ecModel=e,this.api=i},getTargetCoordInfo:function(){var t=this.dataZoomModel,e=this.ecModel,i={};return t.eachTargetAxis(function(t,n){var a=e.getComponent(t.axis,n);if(a){var r=a.getCoordSysModel();r&&function(t,e,i,n){for(var a,r=0;r<i.length;r++)if(i[r].model===t){a=i[r];break}a||i.push(a={model:t,axisModels:[],coordIndex:n});a.axisModels.push(e)}(r,a,i[r.mainType]||(i[r.mainType]=[]),r.componentIndex)}},this),i}});t.exports=n},fjKi:function(t,e,i){var n=i("ProS");i("Q7if"),i("jndi"),n.registerPreprocessor(function(t){t.markArea=t.markArea||{}})},fls0:function(t,e,i){var n=i("bYtY"),a=i("QBsz"),r=i("oVpE"),o=i("f5HG"),s=i("IwbS"),l=i("OELB").round,u=["fromSymbol","toSymbol"];function h(t){return"_"+t+"Type"}function c(t,e,i){var a=e.getItemVisual(i,"color"),o=e.getItemVisual(i,t),s=e.getItemVisual(i,t+"Size");if(o&&"none"!==o){n.isArray(s)||(s=[s,s]);var l=r.createSymbol(o,-s[0]/2,-s[1]/2,s[0],s[1],a);return l.name=t,l}}function d(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var i=e[2];i?(t.cpx1=i[0],t.cpy1=i[1]):(t.cpx1=NaN,t.cpy1=NaN)}function f(t,e,i){s.Group.call(this),this._createLine(t,e,i)}var p=f.prototype;p.beforeUpdate=function(){var t=this.childOfName("fromSymbol"),e=this.childOfName("toSymbol"),i=this.childOfName("label");if(t||e||!i.ignore){for(var n=1,r=this.parent;r;)r.scale&&(n/=r.scale[0]),r=r.parent;var o=this.childOfName("line");if(this.__dirty||o.__dirty){var s=o.shape.percent,l=o.pointAt(0),u=o.pointAt(s),h=a.sub([],u,l);if(a.normalize(h,h),t){t.attr("position",l);var c=o.tangentAt(0);t.attr("rotation",Math.PI/2-Math.atan2(c[1],c[0])),t.attr("scale",[n*s,n*s])}if(e&&(e.attr("position",u),c=o.tangentAt(1),e.attr("rotation",-Math.PI/2-Math.atan2(c[1],c[0])),e.attr("scale",[n*s,n*s])),!i.ignore){var d,f,p;i.attr("position",u);var g=5*n;if("end"===i.__position)d=[h[0]*g+u[0],h[1]*g+u[1]],f=h[0]>.8?"left":h[0]<-.8?"right":"center",p=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";else if("middle"===i.__position){var m=s/2,v=[(c=o.tangentAt(m))[1],-c[0]],y=o.pointAt(m);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]),d=[y[0]+v[0]*g,y[1]+v[1]*g],f="center",p="bottom";var x=-Math.atan2(c[1],c[0]);u[0]<l[0]&&(x=Math.PI+x),i.attr("rotation",x)}else d=[-h[0]*g+l[0],-h[1]*g+l[1]],f=h[0]>.8?"right":h[0]<-.8?"left":"center",p=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";i.attr({style:{textVerticalAlign:i.__verticalAlign||p,textAlign:i.__textAlign||f},position:d,scale:[n,n]})}}}},p._createLine=function(t,e,i){var a=t.hostModel,r=function(t){var e=new o({name:"line",subPixelOptimize:!0});return d(e.shape,t),e}(t.getItemLayout(e));r.shape.percent=0,s.initProps(r,{shape:{percent:1}},a,e),this.add(r);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),n.each(u,function(i){var n=c(i,t,e);this.add(n),this[h(i)]=t.getItemVisual(e,i)},this),this._updateCommonStl(t,e,i)},p.updateData=function(t,e,i){var a=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),l={shape:{}};d(l.shape,o),s.updateProps(r,l,a,e),n.each(u,function(i){var n=t.getItemVisual(e,i),a=h(i);if(this[a]!==n){this.remove(this.childOfName(i));var r=c(i,t,e);this.add(r)}this[a]=n},this),this._updateCommonStl(t,e,i)},p._updateCommonStl=function(t,e,i){var a=t.hostModel,r=this.childOfName("line"),o=i&&i.lineStyle,h=i&&i.hoverLineStyle,c=i&&i.labelModel,d=i&&i.hoverLabelModel;if(!i||t.hasItemOption){var f=t.getItemModel(e);o=f.getModel("lineStyle").getLineStyle(),h=f.getModel("emphasis.lineStyle").getLineStyle(),c=f.getModel("label"),d=f.getModel("emphasis.label")}var p=t.getItemVisual(e,"color"),g=n.retrieve3(t.getItemVisual(e,"opacity"),o.opacity,1);r.useStyle(n.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},o)),r.hoverStyle=h,n.each(u,function(t){var e=this.childOfName(t);e&&(e.setColor(p),e.setStyle({opacity:g}))},this);var m,v,y=c.getShallow("show"),x=d.getShallow("show"),_=this.childOfName("label");if((y||x)&&(m=p||"#000",null==(v=a.getFormattedLabel(e,"normal",t.dataType)))){var b=a.getRawValue(e);v=null==b?t.getName(e):isFinite(b)?l(b):b}var w=y?v:null,S=x?n.retrieve2(a.getFormattedLabel(e,"emphasis",t.dataType),v):null,M=_.style;null==w&&null==S||(s.setTextStyle(_.style,c,{text:w},{autoColor:m}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=c.get("position")||"middle"),_.hoverStyle=null!=S?{text:S,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!x,s.setHoverStyle(this)},p.highlight=function(){this.trigger("emphasis")},p.downplay=function(){this.trigger("normal")},p.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},p.setLinePoints=function(t){var e=this.childOfName("line");d(e.shape,t),e.dirty()},n.inherits(f,s.Group);var g=f;t.exports=g},fmMI:function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=n.each,r=n.filter,o=n.map,s=n.isArray,l=n.indexOf,u=n.isObject,h=n.isString,c=n.createHashMap,d=n.assert,f=n.clone,p=n.merge,g=n.extend,m=n.mixin,v=i("4NO4"),y=i("Qxkt"),x=i("bLfw"),_=i("iXHM"),b=i("5Hur"),w=i("D5nY").resetSourceDefaulter,S="\0_ec_inner",M=y.extend({init:function(t,e,i,n){i=i||{},this.option=null,this._theme=new y(i),this._optionManager=n},setOption:function(t,e){d(!(S in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,i=this._optionManager;if(!t||"recreate"===t){var n=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(n)):function(t){t=t,this.option={},this.option[S]=1,this._componentsMap=c({series:[]}),this._seriesIndices,this._seriesIndicesMap,e=t,i=this._theme.option,n=e.color&&!e.colorLayer,a(i,function(t,i){"colorLayer"===i&&n||x.hasClass(i)||("object"==typeof t?e[i]=e[i]?p(e[i],t,!1):f(t):null==e[i]&&(e[i]=t))}),p(t,_,!1),this.mergeOption(t);var e,i,n}.call(this,n),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var r=i.getTimelineOption(this);r&&(this.mergeOption(r),e=!0)}if(!t||"recreate"===t||"media"===t){var o=i.getMediaOption(this,this._api);o.length&&a(o,function(t){this.mergeOption(t,e=!0)},this)}return e},mergeOption:function(t){var e=this.option,i=this._componentsMap,n=[];w(this),a(t,function(t,i){null!=t&&(x.hasClass(i)?i&&n.push(i):e[i]=null==e[i]?f(t):p(e[i],t,!0))}),x.topologicalTravel(n,x.getAllClassMainTypes(),function(n,r){var o=v.normalizeToArray(t[n]),l=v.mappingToExists(i.get(n),o);v.makeIdAndName(l),a(l,function(t,e){var i=t.option;u(i)&&(t.keyInfo.mainType=n,t.keyInfo.subType=function(t,e,i){return e.type?e.type:i?i.subType:x.determineSubType(t,e)}(n,i,t.exist))});var h=function(t,e){s(e)||(e=e?[e]:[]);var i={};return a(e,function(e){i[e]=(t.get(e)||[]).slice()}),i}(i,r);e[n]=[],i.set(n,[]),a(l,function(t,a){var r=t.exist,o=t.option;if(d(u(o)||r,"Empty component definition"),o){var s=x.getClass(n,t.keyInfo.subType,!0);if(r&&r instanceof s)r.name=t.keyInfo.name,r.mergeOption(o,this),r.optionUpdated(o,!1);else{var l=g({dependentModels:h,componentIndex:a},t.keyInfo);r=new s(o,this,this,l),g(r,l),r.init(o,this,this,l),r.optionUpdated(null,!0)}}else r.mergeOption({},this),r.optionUpdated({},!1);i.get(n)[a]=r,e[n][a]=r.option},this),"series"===n&&I(this,i.get("series"))},this),this._seriesIndicesMap=c(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=f(this.option);return a(t,function(e,i){if(x.hasClass(i)){for(var n=(e=v.normalizeToArray(e)).length-1;n>=0;n--)v.isIdInner(e[n])&&e.splice(n,1);t[i]=e}}),delete t[S],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,u=t.name,h=this._componentsMap.get(e);if(!h||!h.length)return[];if(null!=n)s(n)||(n=[n]),i=r(o(n,function(t){return h[t]}),function(t){return!!t});else if(null!=a){var c=s(a);i=r(h,function(t){return c&&l(a,t.id)>=0||!c&&t.id===a})}else if(null!=u){var d=s(u);i=r(h,function(t){return d&&l(u,t.name)>=0||!d&&t.name===u})}else i=h.slice();return T(i,t)},findComponents:function(t){var e,i,n,a,o,s=t.query,l=t.mainType,u=(i=l+"Index",n=l+"Id",a=l+"Name",!(e=s)||null==e[i]&&null==e[n]&&null==e[a]?null:{mainType:l,index:e[i],id:e[n],name:e[a]}),h=u?this.queryComponents(u):this._componentsMap.get(l);return o=T(h,t),t.filter?r(o,t.filter):o},eachComponent:function(t,e,i){var n=this._componentsMap;if("function"==typeof t)i=e,e=t,n.each(function(t,n){a(t,function(t,a){e.call(i,n,t,a)})});else if(h(t))a(n.get(t),e,i);else if(u(t)){var r=this.findComponents(t);a(r,e,i)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return r(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 r(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){a(this._seriesIndices,function(i){var n=this._componentsMap.get("series")[i];t.call(e,n,i)},this)},eachRawSeries:function(t,e){a(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,i){a(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 a(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){I(this,r(this._componentsMap.get("series"),t,e))},restoreData:function(t){var e=this._componentsMap;I(this,e.get("series"));var i=[];e.each(function(t,e){i.push(e)}),x.topologicalTravel(i,x.getAllClassMainTypes(),function(i,n){a(e.get(i),function(e){("series"!==i||!function(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}}(e,t))&&e.restoreData()})})}});function I(t,e){t._seriesIndicesMap=c(t._seriesIndices=o(e,function(t){return t.componentIndex})||[])}function T(t,e){return e.hasOwnProperty("subType")?r(t,function(t){return t.subType===e.subType}):t}m(M,b);var A=M;t.exports=A},g0SD:function(t,e,i){var n=i("bYtY"),a=i("9wZj"),r=i("OELB"),o=i("YXkt"),s=i("kj2x");function l(t,e,i){var n=e.coordinateSystem;t.each(function(a){var o,s=t.getItemModel(a),l=r.parsePercent(s.get("x"),i.getWidth()),u=r.parsePercent(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(u)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,a));else if(n){var h=t.get(n.dimensions[0],a),c=t.get(n.dimensions[1],a);o=n.dataToPoint([h,c])}}else o=[l,u];isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u),t.setItemLayout(a,o)})}var u=i("iPDy").extend({type:"markPoint",updateTransform:function(t,e,i){e.eachSeries(function(t){var e=t.markPointModel;e&&(l(e.getData(),t,i),this.markerGroupMap.get(t.id).updateLayout(e))},this)},renderSeries:function(t,e,i,r){var u=t.coordinateSystem,h=t.id,c=t.getData(),d=this.markerGroupMap,f=d.get(h)||d.set(h,new a),p=function(t,e,i){var a;a=t?n.map(t&&t.dimensions,function(t){var i=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return n.defaults({name:t},i)}):[{name:"value",type:"float"}];var r=new o(a,i),l=n.map(i.get("data"),n.curry(s.dataTransform,e));t&&(l=n.filter(l,n.curry(s.dataFilter,t)));return r.initData(l,null,t?s.dimValueGetter:function(t){return t.value}),r}(u,t,e);e.setData(p),l(e.getData(),t,r),p.each(function(t){var i=p.getItemModel(t),a=i.getShallow("symbol"),r=i.getShallow("symbolSize"),o=n.isFunction(a),s=n.isFunction(r);if(o||s){var l=e.getRawValue(t),u=e.getDataParams(t);o&&(a=a(l,u)),s&&(r=r(l,u))}p.setItemVisual(t,{symbol:a,symbolSize:r,color:i.get("itemStyle.color")||c.getVisual("color")})}),f.updateData(p),this.group.add(f.group),p.eachItemGraphicEl(function(t){t.traverse(function(t){t.dataModel=e})}),f.__keep=!0,f.group.silent=e.get("silent")||t.get("silent")}});t.exports=u},g7p0:function(t,e,i){var n=i("bYtY"),a=i("bLfw"),r=i("+TT/"),o=r.getLayoutParams,s=r.sizeCalculable,l=r.mergeLayoutParam,u=a.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(t,e,i,n){var a=o(t);u.superApply(this,"init",arguments),h(t,a)},mergeOption:function(t,e){u.superApply(this,"mergeOption",arguments),h(this.option,t)}});function h(t,e){var i=t.cellSize;n.isArray(i)?1===i.length&&(i[1]=i[0]):i=t.cellSize=[i,i];var a=n.map([0,1],function(t){return s(e,t)&&(i[t]="auto"),null!=i[t]&&"auto"!==i[t]});l(t,e,{type:"box",ignoreSize:a})}var c=u;t.exports=c},gPAo: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<t.length;r++){var o="_ec_"+a[n](t[r],r),s=e[o];null==s?(i.push(o),e[o]=r):(s.length||(e[o]=s=[s]),s.push(r))}}n.prototype={constructor:n,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t=this._old,e=this._new,i={},n=[],r=[];for(a(t,{},n,"_oldKeyGetter",this),a(e,i,r,"_newKeyGetter",this),o=0;o<t.length;o++){if(null!=(l=i[s=n[o]]))(h=l.length)?(1===h&&(i[s]=null),l=l.unshift()):i[s]=null,this._update&&this._update(l,o);else this._remove&&this._remove(o)}for(var o=0;o<r.length;o++){var s=r[o];if(i.hasOwnProperty(s)){var l;if(null==(l=i[s]))continue;if(l.length)for(var u=0,h=l.length;u<h;u++)this._add&&this._add(l[u]);else this._add&&this._add(l)}}}};var r=n;t.exports=r},gawk:function(t,e,i){var n=i("+TT/"),a=i("bYtY"),r=i("4NO4").groupData;function o(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function s(t,e,i,n,r){var o="vertical"===r?"x":"y";a.each(t,function(t){var a,s,l;t.sort(function(t,e){return t.getLayout()[o]-e.getLayout()[o]});for(var u=0,h=t.length,c="vertical"===r?"dx":"dy",d=0;d<h;d++)(l=u-(s=t[d]).getLayout()[o])>0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[c]+e;if((l=u-e-("vertical"===r?n:i))>0)for(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a,d=h-2;d>=0;--d)(l=(s=t[d]).getLayout()[o]+s.getLayout()[c]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]})}function l(t,e,i){a.each(t.slice().reverse(),function(t){a.each(t,function(t){if(t.outEdges.length){var n=f(t.outEdges,u,i)/f(t.outEdges,d,i);if("vertical"===i){var a=t.getLayout().x+(n-c(t,i))*e;t.setLayout({x:a},!0)}else{var r=t.getLayout().y+(n-c(t,i))*e;t.setLayout({y:r},!0)}}})})}function u(t,e){return c(t.node2,e)*t.getValue()}function h(t,e){return c(t.node1,e)*t.getValue()}function c(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function d(t){return t.getValue()}function f(t,e,i){for(var n=0,a=t.length,r=-1;++r<a;){var o=+e.call(t,t[r],i);isNaN(o)||(n+=o)}return n}function p(t,e,i){a.each(t,function(t){a.each(t,function(t){if(t.inEdges.length){var n=f(t.inEdges,h,i)/f(t.inEdges,d,i);if("vertical"===i){var a=t.getLayout().x+(n-c(t,i))*e;t.setLayout({x:a},!0)}else{var r=t.getLayout().y+(n-c(t,i))*e;t.setLayout({y:r},!0)}}})})}t.exports=function(t,e,i){t.eachSeriesByType("sankey",function(t){var i=t.get("nodeWidth"),u=t.get("nodeGap"),h=function(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=h;var c=h.width,g=h.height,m=t.getGraph(),v=m.nodes,y=m.edges;!function(t){a.each(t,function(t){var e=f(t.outEdges,d),i=f(t.inEdges,d),n=Math.max(e,i);t.setLayout({value:n},!0)})}(v),function(t,e,i,n,u,h,c,d,f){(function(t,e,i,n,r,s,l){for(var u=[],h=[],c=[],d=[],f=0,p=0;p<e.length;p++)u[p]=1;for(p=0;p<t.length;p++)h[p]=t[p].inEdges.length,0===h[p]&&c.push(t[p]);for(var g=-1;c.length;){for(var m=0;m<c.length;m++){var v=c[m],y=v.hostGraph.data.getRawDataItem(v.dataIndex),x=null!=y.depth&&y.depth>=0;x&&y.depth>g&&(g=y.depth),v.setLayout({depth:x?y.depth:f},!0),"vertical"===s?v.setLayout({dy:i},!0):v.setLayout({dx:i},!0);for(var _=0;_<v.outEdges.length;_++){var b=v.outEdges[_],w=e.indexOf(b);u[w]=0;var S=b.node2,M=t.indexOf(S);0==--h[M]&&d.indexOf(S)<0&&d.push(S)}}++f,c=d,d=[]}for(p=0;p<u.length;p++)if(1===u[p])throw new Error("Sankey is a DAG, the original data has cycle!");var I=g>f-1?g:f-1;l&&"left"!==l&&function(t,e,i,n){if("right"===e){for(var r=[],s=t,l=0;s.length;){for(var u=0;u<s.length;u++){var h=s[u];h.setLayout({skNodeHeight:l},!0);for(var c=0;c<h.inEdges.length;c++){var d=h.inEdges[c];r.indexOf(d.node1)<0&&r.push(d.node1)}}s=r,r=[],++l}a.each(t,function(t){o(t)||t.setLayout({depth:Math.max(0,n-t.getLayout().skNodeHeight)},!0)})}else"justify"===e&&function(t,e){a.each(t,function(t){o(t)||t.outEdges.length||t.setLayout({depth:e},!0)})}(t,n)}(t,l,0,I),function(t,e,i){a.each(t,function(t){var n=t.getLayout().depth*e;"vertical"===i?t.setLayout({y:n},!0):t.setLayout({x:n},!0)})}(t,"vertical"===s?(r-i)/I:(n-i)/I,s)})(t,e,i,u,h,d,f),function(t,e,i,n,o,u,h){var c=function(t,e){var i=[],n="vertical"===e?"y":"x",o=r(t,function(t){return t.getLayout()[n]});return o.keys.sort(function(t,e){return t-e}),a.each(o.keys,function(t){i.push(o.buckets.get(t))}),i}(t,h);(function(t,e,i,n,r,o){var s=1/0;a.each(t,function(t){var e=t.length,l=0;a.each(t,function(t){l+=t.getLayout().value});var u="vertical"===o?(n-(e-1)*r)/l:(i-(e-1)*r)/l;u<s&&(s=u)}),a.each(t,function(t){a.each(t,function(t,e){var i=t.getLayout().value*s;"vertical"===o?(t.setLayout({x:e},!0),t.setLayout({dx:i},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:i},!0))})}),a.each(e,function(t){var e=+t.getValue()*s;t.setLayout({dy:e},!0)})})(c,e,i,n,o,h),s(c,o,i,n,h);for(var d=1;u>0;u--)l(c,d*=.99,h),s(c,o,i,n,h),p(c,d,h),s(c,o,i,n,h)}(t,e,h,u,n,c,d),function(t,e){var i="vertical"===e?"x":"y";a.each(t,function(t){t.outEdges.sort(function(t,e){return t.node2.getLayout()[i]-e.node2.getLayout()[i]}),t.inEdges.sort(function(t,e){return t.node1.getLayout()[i]-e.node1.getLayout()[i]})}),a.each(t,function(t){var e=0,i=0;a.each(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),a.each(t.inEdges,function(t){t.setLayout({ty:i},!0),i+=t.getLayout().dy})})}(t,d)}(v,y,i,u,c,g,0!==a.filter(v,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))})}},gut8:function(t,e){e.ContextCachedBy={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},e.WILL_BE_RESTORED=9},gvm7:function(t,e,i){var n=i("bYtY"),a=i("dqUG");function r(t){this._zr=t.getZr(),this._show=!1,this._hideTimeout}r.prototype={constructor:r,_enterable:!0,update:function(){},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,e,i){this.el&&this._zr.remove(this.el);for(var n={},r=t,o=r.indexOf("{marker");o>=0;){var s=r.indexOf("|}"),l=r.substr(o+"{marker".length,s-o-"{marker".length);l.indexOf("sub")>-1?n["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[l],textOffset:[3,0]}:n["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[l]},o=(r=r.substr(s+1)).indexOf("{marker")}this.el=new a({style:{rich:n,text:t,textLineHeight:20,textBackgroundColor:i.get("backgroundColor"),textBorderRadius:i.get("borderRadius"),textFill:i.get("textStyle.color"),textPadding:i.get("padding")},z:i.get("z")}),this._zr.add(this.el);var u=this;this.el.on("mouseover",function(){u._enterable&&(clearTimeout(u._hideTimeout),u._show=!0),u._inContent=!0}),this.el.on("mouseout",function(){u._enterable&&u._show&&u.hideLater(u._hideDelay),u._inContent=!1})},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){this.el&&this.el.attr("position",[t,e])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var o=r;t.exports=o},h54F:function(t,e,i){var n=i("ProS"),a=i("YXkt"),r=i("bYtY"),o=i("4NO4").defaultEmphasis,s=i("Qxkt"),l=i("7aKB").encodeHTML,u=i("I3/A"),h=n.extendSeriesModel({type:"series.graph",init:function(t){h.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){h.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){h.superApply(this,"mergeDefaultAndTheme",arguments),o(t,["edgeLabel"],["show"])},getInitialData:function(t,e){var i=t.edges||t.links||[],n=t.data||t.nodes||[],a=this;if(n&&i)return u(n,i,this,!0,function(t,i){t.wrapMethod("getItemModel",function(t){var e=a._categoriesModels,i=t.getShallow("category"),n=e[i];return n&&(n.parentModel=t.parentModel,t.parentModel=n),t});var n=a.getModel("edgeLabel"),r=new s({label:n.option},n.parentModel,e),o=a.getModel("emphasis.edgeLabel"),l=new s({emphasis:{label:o.option}},o.parentModel,e);function u(t){return(t=this.parsePath(t))&&"label"===t[0]?r:t&&"emphasis"===t[0]&&"label"===t[1]?l:this.parentModel}i.wrapMethod("getItemModel",function(t){return t.customizeGetParent(u),t})}).data},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,i){if("edge"===i){var n=this.getData(),a=this.getDataParams(t,i),r=n.graph.getEdgeByIndex(t),o=n.getName(r.node1.dataIndex),s=n.getName(r.node2.dataIndex),u=[];return null!=o&&u.push(o),null!=s&&u.push(s),u=l(u.join(" > ")),a.value&&(u+=" : "+l(a.value)),u}return h.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=r.map(this.option.categories||[],function(t){return null!=t.value?t:r.extend({value:0},t)}),e=new a(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t,!0)})},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return h.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle"},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),c=h;t.exports=c},h7HQ:function(t,e,i){var n=i("y+Vt"),a=i("T6xi"),r=n.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){a.buildPath(t,e,!0)}});t.exports=r},h8O9:function(t,e,i){var n=i("bYtY").map,a=i("zM3Q"),r=i("7hqr").isDimensionStacked;t.exports=function(t){return{seriesType:t,plan:a(),reset:function(t){var e=t.getData(),i=t.coordinateSystem,a=t.pipelineContext.large;if(i){var o=n(i.dimensions,function(t){return e.mapDimension(t)}).slice(0,2),s=o.length,l=e.getCalculationInfo("stackResultDimension");return r(e,o[0])&&(o[0]=l),r(e,o[1])&&(o[1]=l),s&&{progress:function(t,e){for(var n=t.end-t.start,r=a&&new Float32Array(n*s),l=t.start,u=0,h=[],c=[];l<t.end;l++){var d;if(1===s){var f=e.get(o[0],l);d=!isNaN(f)&&i.dataToPoint(f,null,c)}else{f=h[0]=e.get(o[0],l);var p=h[1]=e.get(o[1],l);d=!isNaN(f)&&!isNaN(p)&&i.dataToPoint(h,null,c)}a?(r[u++]=d?d[0]:NaN,r[u++]=d?d[1]:NaN):e.setItemLayout(l,d&&d.slice()||[NaN,NaN])}a&&e.setLayout("symbolPoints",r)}}}}}}},hD7B:function(t,e,i){var n=i("bYtY"),a=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];var r=function(t){n.each(a,function(e){this[e]=n.bind(t[e],t)},this)};t.exports=r},hFmY:function(t,e,i){var n=i("ProS");n.registerAction({type:"axisAreaSelect",event:"axisAreaSelected"},function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},function(e){e.axis.model.setActiveIntervals(t.intervals)})}),n.registerAction("parallelAxisExpand",function(t,e){e.eachComponent({mainType:"parallel",query:t},function(e){e.setAxisExpand(t)})})},hJvP:function(t,e,i){var n=i("2dDv");i("IDmD").register("parallel",{create:function(t,e){var i=[];return t.eachComponent("parallel",function(a,r){var o=new n(a,t,e);o.name="parallel_"+r,o.resize(a,e),a.coordinateSystem=o,o.model=a,i.push(o)}),t.eachSeries(function(e){if("parallel"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"parallel",index:e.get("parallelIndex"),id:e.get("parallelId")})[0];e.coordinateSystem=i.coordinateSystem}}),i}})},hM6l:function(t,e,i){var n=i("bYtY"),a=n.each,r=n.map,o=i("OELB"),s=o.linearMap,l=o.getPixelPrecision,u=i("4HMb"),h=u.createAxisTicks,c=u.createAxisLabels,d=u.calculateCategoryInterval,f=[0,1],p=function(t,e,i){this.dim=t,this.scale=e,this._extent=i||[0,0],this.inverse=!1,this.onBand=!1};function g(t,e){var i=(t[1]-t[0])/e/2;t[0]+=i,t[1]-=i}p.prototype={constructor:p,contain:function(t){var e=this._extent,i=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]);return t>=i&&t<=n},containData:function(t){return this.contain(this.dataToCoord(t))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,e){var i=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&"ordinal"===n.type&&g(i=i.slice(),n.count()),s(t,f,i,e)},coordToData:function(t,e){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&g(i=i.slice(),n.count());var a=s(t,i,f,e);return this.scale.scale(a)},pointToData:function(t,e){},getTicksCoords:function(t){var e=(t=t||{}).tickModel||this.getTickModel(),i=h(this,e),n=i.ticks,o=r(n,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this),s=e.get("alignWithLabel");return function(t,e,i,n,r){var o=e.length;if(!t.onBand||n||!o)return;var s,l=t.getExtent();if(1===o)e[0].coord=l[0],s=e[1]={coord:l[0]};else{var u=e[1].coord-e[0].coord;a(e,function(t){t.coord-=u/2;var e=e||0;e%2>0&&(t.coord-=u/(2*(e+1)))}),s={coord:e[o-1].coord+u},e.push(s)}var h=l[0]>l[1];c(e[0].coord,l[0])&&(r?e[0].coord=l[0]:e.shift());r&&c(l[0],e[0].coord)&&e.unshift({coord:l[0]});c(l[1],s.coord)&&(r?s.coord=l[1]:e.pop());r&&c(s.coord,l[1])&&e.push({coord:l[1]});function c(t,e){return h?t>e:t<e}}(this,o,i.tickCategoryInterval,s,t.clamp),o},getViewLabels:function(){return c(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),i=e[1]-e[0]+(this.onBand?1:0);0===i&&(i=1);var n=Math.abs(t[1]-t[0]);return Math.abs(n)/i},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return d(this)}};var m=p;t.exports=m},hNWo:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("Qxkt"),o=i("4NO4").isNameSpecified,s=n.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,i){this.mergeDefaultAndTheme(t,i),t.selected=t.selected||{}},mergeOption:function(t){s.superCall(this,"mergeOption",t)},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,i=0;i<t.length;i++){var n=t[i].get("name");if(this.isSelected(n)){this.select(n),e=!0;break}}!e&&this.select(t[0].get("name"))}},_updateData:function(t){var e=[],i=[];t.eachRawSeries(function(n){var a,r=n.name;if(i.push(r),n.legendDataProvider){var s=n.legendDataProvider(),l=s.mapArray(s.getName);t.isSeriesFiltered(n)||(i=i.concat(l)),l.length?e=e.concat(l):a=!0}else a=!0;a&&o(n)&&e.push(n.name)}),this._availableNames=i;var n=this.get("data")||e,s=a.map(n,function(t){return"string"!=typeof t&&"number"!=typeof t||(t={name:t}),new r(t,this,this.ecModel)},this);this._data=s},getData:function(){return this._data},select:function(t){var e=this.option.selected;if("single"===this.get("selectedMode")){var i=this._data;a.each(i,function(t){e[t.get("name")]=!1})}e[t]=!0},unSelect:function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},toggleSelected:function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},isSelected:function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&a.indexOf(this._availableNames,t)>=0},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}}),l=s;t.exports=l},hOwI:function(t,e){var i=Math.log(2);function n(t,e,a,r,o,s){var l=r+"-"+o,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var h=Math.round(Math.log((1<<u)-1&~o)/i);return t[a][h]}for(var c=r|1<<a,d=a+1;r&1<<d;)d++;for(var f=0,p=0,g=0;p<u;p++){var m=1<<p;m&o||(f+=(g%2?-1:1)*t[a][p]*n(t,e-1,d,c,o|m,s),g++)}return s[l]=f,f}e.buildTransformer=function(t,e){var i=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],a={},r=n(i,8,0,0,0,a);if(0!==r){for(var o=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==o[l]&&(o[l]=0),o[l]+=((s+l)%2?-1:1)*n(i,7,0===s?1:0,1<<s,1<<l,a)/r*e[s];return function(t,e,i){var n=e*o[6]+i*o[7]+1;t[0]=(e*o[0]+i*o[1]+o[2])/n,t[1]=(e*o[3]+i*o[4]+o[5])/n}}}},hX1E:function(t,e){var i=2*Math.PI;e.normalizeRadian=function(t){return(t%=i)<0&&(t+=i),t}},hi0g:function(t,e,i){var n=i("bYtY"),a=n.createHashMap,r=n.each,o=n.isString,s=n.defaults,l=n.extend,u=n.isObject,h=n.clone,c=i("4NO4").normalizeToArray,d=i("D5nY").guessOrdinal,f=i("7G+c"),p=i("L0Ub").OTHER_DIMENSIONS;function g(t,e,i){if(i||null!=e.get(t)){for(var n=0;null!=e.get(t+n);)n++;t+=n}return e.set(t,!0),t}var m=function(t,e,i){f.isInstance(e)||(e=f.seriesDataToSource(e)),i=i||{},t=(t||[]).slice();for(var n=(i.dimsDef||[]).slice(),m=a(i.encodeDef),v=a(),y=a(),x=[],_=function(t,e,i,n){var a=Math.max(t.dimensionsDetectCount||1,e.length,i.length,n||0);return r(e,function(t){var e=t.dimsDef;e&&(a=Math.max(a,e.length))}),a}(e,t,n,i.dimCount),b=0;b<_;b++){var w=n[b]=l({},u(n[b])?n[b]:{name:n[b]}),S=w.name,M=x[b]={otherDims:{}};null!=S&&null==v.get(S)&&(M.name=M.displayName=S,v.set(S,b)),null!=w.type&&(M.type=w.type),null!=w.displayName&&(M.displayName=w.displayName)}m.each(function(t,e){if(1===(t=c(t).slice()).length&&!o(t[0])&&t[0]<0)m.set(e,!1);else{var i=m.set(e,[]);r(t,function(t,n){o(t)&&(t=v.get(t)),null!=t&&t<_&&(i[n]=t,T(x[t],e,n))})}});var I=0;function T(t,e,i){null!=p.get(e)?t.otherDims[e]=i:(t.coordDim=e,t.coordDimIndex=i,y.set(e,!0))}r(t,function(t,e){var i,n,a;if(o(t))i=t,t={};else{i=t.name;var l=t.ordinalMeta;t.ordinalMeta=null,(t=h(t)).ordinalMeta=l,n=t.dimsDef,a=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null}if(!1!==(d=m.get(i))){var d;if(!(d=c(d)).length)for(var f=0;f<(n&&n.length||1);f++){for(;I<x.length&&null!=x[I].coordDim;)I++;I<x.length&&d.push(I++)}r(d,function(e,r){var o=x[e];if(T(s(o,t),i,r),null==o.name&&n){var l=n[r];!u(l)&&(l={name:l}),o.name=o.displayName=l.name,o.defaultTooltip=l.defaultTooltip}a&&s(o.otherDims,a)})}});var A=i.generateCoord,D=i.generateCoordCount,C=null!=D;D=A?D||1:0;for(var L=A||"value",P=0;P<_;P++)null==(M=x[P]=x[P]||{}).coordDim&&(M.coordDim=g(L,y,C),M.coordDimIndex=0,(!A||D<=0)&&(M.isExtraCoord=!0),D--),null==M.name&&(M.name=g(M.coordDim,v)),null==M.type&&d(e,P,M.name)&&(M.type="ordinal");return x};t.exports=m},hw6D:function(t,e,i){var n=i("bYtY");function a(t){return!isNaN(t[0])&&!isNaN(t[1])}function r(t){return[t.cx,t.cy]}t.exports=function(t){t.eachSeriesByType("radar",function(t){var e=t.getData(),i=[],o=t.coordinateSystem;if(o){var s=o.getIndicatorAxes();n.each(s,function(t,n){e.each(e.mapDimension(s[n].dim),function(t,e){i[e]=i[e]||[];var s=o.dataToPoint(t,n);i[e][n]=a(s)?s:r(o)})}),e.each(function(t){var s=n.find(i[t],function(t){return a(t)})||r(o);i[t].push(s.slice()),e.setItemLayout(t,i[t])})}})}},hydK:function(t,e){var i="http://www.w3.org/2000/svg";e.createElement=function(t){return document.createElementNS(i,t)}},hyiK:function(t,e){t.exports=function(t,e,i,n,a,r){if(r>e&&r>n||r<e&&r<n)return 0;if(n===e)return 0;var o=n<e?1:-1,s=(r-e)/(n-e);1!==s&&0!==s||(o=n<e?.5:-.5);var l=s*(i-t)+t;return l===a?1/0:l>a?o:0}},i38C:function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=n.createHashMap,r=(n.retrieve,n.each);var o={cartesian2d:function(t,e,i,n){var a=t.getReferringComponents("xAxis")[0],r=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],i.set("x",a),i.set("y",r),s(a)&&(n.set("x",a),e.firstCategoryDimIndex=0),s(r)&&(n.set("y",r),e.firstCategoryDimIndex=1)},singleAxis:function(t,e,i,n){var a=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],i.set("single",a),s(a)&&(n.set("single",a),e.firstCategoryDimIndex=0)},polar:function(t,e,i,n){var a=t.getReferringComponents("polar")[0],r=a.findAxisModel("radiusAxis"),o=a.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],i.set("radius",r),i.set("angle",o),s(r)&&(n.set("radius",r),e.firstCategoryDimIndex=0),s(o)&&(n.set("angle",o),e.firstCategoryDimIndex=1)},geo:function(t,e,i,n){e.coordSysDims=["lng","lat"]},parallel:function(t,e,i,n){var a=t.ecModel,o=a.getComponent("parallel",t.get("parallelIndex")),l=e.coordSysDims=o.dimensions.slice();r(o.parallelAxisIndex,function(t,r){var o=a.getComponent("parallelAxis",t),u=l[r];i.set(u,o),s(o)&&null==e.firstCategoryDimIndex&&(n.set(u,o),e.firstCategoryDimIndex=r)})}};function s(t){return"category"===t.get("type")}e.getCoordSysDefineBySeries=function(t){var e=t.get("coordinateSystem"),i={coordSysName:e,coordSysDims:[],axisMap:a(),categoryAxisMap:a()},n=o[e];if(n)return n(t,i,i.axisMap,i.categoryAxisMap),i}},iLNv:function(t,e){var i="\0__throttleOriginMethod",n="\0__throttleRate",a="\0__throttleType";function r(t,e,i){var n,a,r,o,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(r,o||[])}e=e||0;var d=function(){n=(new Date).getTime(),r=this,o=arguments;var t=s||e,d=s||i;s=null,a=n-(d?l:u)-t,clearTimeout(h),d?h=setTimeout(c,t):a>=0?c():h=setTimeout(c,-a),l=n};return d.clear=function(){h&&(clearTimeout(h),h=null)},d.debounceNextCall=function(t){s=t},d}e.throttle=r,e.createOrUpdate=function(t,e,o,s){var l=t[e];if(l){var u=l[i]||l,h=l[a];if(l[n]!==o||h!==s){if(null==o||!s)return t[e]=u;(l=t[e]=r(u,o,"debounce"===s))[i]=u,l[a]=s,l[n]=o}return l}},e.clear=function(t,e){var n=t[e];n&&n[i]&&(t[e]=n[i])}},iPDy:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=n.extendComponentView({type:"marker",init:function(){this.markerGroupMap=a.createHashMap()},render:function(t,e,i){var n=this.markerGroupMap;n.each(function(t){t.__keep=!1});var a=this.type+"Model";e.eachSeries(function(t){var n=t[a];n&&this.renderSeries(t,n,e,i)},this),n.each(function(t){!t.__keep&&this.group.remove(t.group)},this)},renderSeries:function(){}});t.exports=r},iRjW:function(t,e,i){var n=i("bYtY"),a=i("Yl7c").parseClassType,r=0;e.getUID=function(t){return[t||"",r++,Math.random().toFixed(5)].join("_")},e.enableSubTypeDefaulter=function(t){var e={};return t.registerSubTypeDefaulter=function(t,i){t=a(t),e[t.main]=i},t.determineSubType=function(i,n){var r=n.type;if(!r){var o=a(i).main;t.hasSubTypes(i)&&e[o]&&(r=e[o](n))}return r},t},e.enableTopologicalTravel=function(t,e){function i(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,a,r,o){if(t.length){var s=function(t){var a={},r=[];return n.each(t,function(o){var s=i(a,o),l=function(t,e){var i=[];return n.each(t,function(t){n.indexOf(e,t)>=0&&i.push(t)}),i}(s.originalDeps=e(o),t);s.entryCount=l.length,0===s.entryCount&&r.push(o),n.each(l,function(t){n.indexOf(s.predecessor,t)<0&&s.predecessor.push(t);var e=i(a,t);n.indexOf(e.successor,t)<0&&e.successor.push(o)})}),{graph:a,noEntryList:r}}(a),l=s.graph,u=s.noEntryList,h={};for(n.each(t,function(t){h[t]=!0});u.length;){var c=u.pop(),d=l[c],f=!!h[c];f&&(r.call(o,c,d.originalDeps.slice()),delete h[c]),n.each(d.successor,f?g:p)}n.each(h,function(){throw new Error("Circle dependency may exists")})}function p(t){l[t].entryCount--,0===l[t].entryCount&&u.push(t)}function g(t){h[t]=!0,p(t)}}}},iXHM:function(t,e){var i="";"undefined"!=typeof navigator&&(i=navigator.platform||"");var n={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:i.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};t.exports=n},iXp4:function(t,e,i){var n=i("ItGF"),a=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];t.exports=function(t){return n.browser.ie&&n.browser.version>=11?function(){var e,i=this.__clipPaths,n=this.style;if(i)for(var r=0;r<i.length;r++){var o=i[r],s=o&&o.shape,l=o&&o.type;if(s&&("sector"===l&&s.startAngle===s.endAngle||"rect"===l&&(!s.width||!s.height))){for(var u=0;u<a.length;u++)a[u][2]=n[a[u][0]],n[a[u][0]]=a[u][1];e=!0;break}}if(t.apply(this,arguments),e)for(u=0;u<a.length;u++)n[a[u][0]]=a[u][2]}:t}},ieMj:function(t,e,i){var n=i("OELB"),a=i("7aKB"),r=i("4NgU"),o=i("lE7J"),s=n.round,l=r.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var i=this._extent;isNaN(t)||(i[0]=parseFloat(t)),isNaN(e)||(i[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=o.getIntervalPrecision(t)},getTicks:function(){return o.intervalScaleGetTicks(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getLabel:function(t,e){if(null==t)return"";var i=e&&e.precision;return null==i?i=n.getPrecisionSafe(t)||0:"auto"===i&&(i=this._intervalPrecision),t=s(t,i,!0),a.addCommas(t)},niceTicks:function(t,e,i){t=t||5;var n=this._extent,a=n[1]-n[0];if(isFinite(a)){a<0&&(a=-a,n.reverse());var r=o.intervalScaleNiceTicks(n,t,e,i);this._intervalPrecision=r.intervalPrecision,this._interval=r.interval,this._niceExtent=r.niceTickExtent}},niceExtent:function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var i=e[0];t.fixMax?e[0]-=i/2:(e[1]+=i/2,e[0]-=i/2)}else e[1]=1;var n=e[1]-e[0];isFinite(n)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var a=this._interval;t.fixMin||(e[0]=s(Math.floor(e[0]/a)*a)),t.fixMax||(e[1]=s(Math.ceil(e[1]/a)*a))}});l.create=function(){return new l};var u=l;t.exports=u},jCoz:function(t,e,i){var n=i("bYtY"),a=i("4NgU"),r=i("OELB"),o=i("ieMj"),s=a.prototype,l=o.prototype,u=r.getPrecisionSafe,h=r.round,c=Math.floor,d=Math.ceil,f=Math.pow,p=Math.log,g=a.extend({type:"log",base:10,$constructor:function(){a.apply(this,arguments),this._originalScale=new o},getTicks:function(){var t=this._originalScale,e=this._extent,i=t.getExtent();return n.map(l.getTicks.call(this),function(n){var a=r.round(f(this.base,n));return a=n===e[0]&&t.__fixMin?m(a,i[0]):a,a=n===e[1]&&t.__fixMax?m(a,i[1]):a},this)},getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),f(this.base,t)},setExtent:function(t,e){var i=this.base;t=p(t)/p(i),e=p(e)/p(i),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=f(t,e[0]),e[1]=f(t,e[1]);var i=this._originalScale,n=i.getExtent();return i.__fixMin&&(e[0]=m(e[0],n[0])),i.__fixMax&&(e[1]=m(e[1],n[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=p(t[0])/p(e),t[1]=p(t[1])/p(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(i===1/0||i<=0)){var n=r.quantity(i);for(t/i*n<=.5&&(n*=10);!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0;)n*=10;var a=[r.round(d(e[0]/n)*n),r.round(c(e[1]/n)*n)];this._interval=n,this._niceExtent=a}},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 h(t,u(e))}n.each(["contain","normalize"],function(t){g.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}}),g.create=function(){return new g};var v=g;t.exports=v},jTL6:function(t,e,i){var n=i("y+Vt").extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.cx,n=e.cy,a=Math.max(e.r,0),r=e.startAngle,o=e.endAngle,s=e.clockwise,l=Math.cos(r),u=Math.sin(r);t.moveTo(l*a+i,u*a+n),t.arc(i,n,a,r,o,!s)}});t.exports=n},jett:function(t,e,i){var n=i("ProS");i("VSLf"),i("oBaM"),i("FGaS");var a=i("mOdp"),r=i("f5Yq"),o=i("hw6D"),s=i("0/Rx"),l=i("eJH7");n.registerVisual(a("radar")),n.registerVisual(r("radar","circle")),n.registerLayout(o),n.registerProcessor(s("radar")),n.registerPreprocessor(l)},jkPA:function(t,e,i){var n=i("bYtY"),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,h);return new s({categories:n,needCollect:!n,deduplication:!1!==e.dedplication})};var l=s.prototype;function u(t){return t._map||(t._map=a(t.categories))}function h(t){return r(t)&&null!=t.value?t.value:t+""}l.getOrdinal=function(t){return u(this).get(t)},l.parseAndCollect=function(t){var e,i=this._needCollect;if("string"!=typeof t&&!i)return t;if(i&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var n=u(this);return null==(e=n.get(t))&&(i?(e=this.categories.length,this.categories[e]=t,n.set(t,e)):e=NaN),e};var c=s;t.exports=c},jndi:function(t,e,i){var n=i("bYtY"),a=i("Qe9p"),r=i("YXkt"),o=i("OELB"),s=i("IwbS"),l=i("kj2x"),u=function(t,e,i,a){var r=l.dataTransform(t,a[0]),o=l.dataTransform(t,a[1]),s=n.retrieve,u=r.coord,h=o.coord;u[0]=s(u[0],-1/0),u[1]=s(u[1],-1/0),h[0]=s(h[0],1/0),h[1]=s(h[1],1/0);var c=n.mergeAll([{},r,o]);return c.coord=[r.coord,o.coord],c.x0=r.x,c.y0=r.y,c.x1=o.x,c.y1=o.y,c};function h(t){return!isNaN(t)&&!isFinite(t)}function c(t,e,i,n){var a=1-t;return h(e[a])&&h(i[a])}function d(t,e){var i=e.coord[0],n=e.coord[1];return!("cartesian2d"!==t.type||!i||!n||!c(1,i,n)&&!c(0,i,n))||(l.dataFilter(t,{coord:i,x:e.x0,y:e.y0})||l.dataFilter(t,{coord:n,x:e.x1,y:e.y1}))}function f(t,e,i,n,a){var r,s=n.coordinateSystem,l=t.getItemModel(e),u=o.parsePercent(l.get(i[0]),a.getWidth()),c=o.parsePercent(l.get(i[1]),a.getHeight());if(isNaN(u)||isNaN(c)){if(n.getMarkerPosition)r=n.getMarkerPosition(t.getValues(i,e));else{var d=[g=t.get(i[0],e),m=t.get(i[1],e)];s.clampData&&s.clampData(d,d),r=s.dataToPoint(d,!0)}if("cartesian2d"===s.type){var f=s.getAxis("x"),p=s.getAxis("y"),g=t.get(i[0],e),m=t.get(i[1],e);h(g)?r[0]=f.toGlobalCoord(f.getExtent()["x0"===i[0]?0:1]):h(m)&&(r[1]=p.toGlobalCoord(p.getExtent()["y0"===i[1]?0:1]))}isNaN(u)||(r[0]=u),isNaN(c)||(r[1]=c)}else r=[u,c];return r}var p=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];i("iPDy").extend({type:"markArea",updateTransform:function(t,e,i){e.eachSeries(function(t){var e=t.markAreaModel;if(e){var a=e.getData();a.each(function(e){var r=n.map(p,function(n){return f(a,e,n,t,i)});a.setItemLayout(e,r),a.getItemGraphicEl(e).setShape("points",r)})}},this)},renderSeries:function(t,e,i,o){var l=t.coordinateSystem,h=t.id,c=t.getData(),g=this.markerGroupMap,m=g.get(h)||g.set(h,{group:new s.Group});this.group.add(m.group),m.__keep=!0;var v=function(t,e,i){var a,o;t?(a=n.map(t&&t.dimensions,function(t){var i=e.getData(),a=i.getDimensionInfo(i.mapDimension(t))||{};return n.defaults({name:t},a)}),o=new r(n.map(["x0","y0","x1","y1"],function(t,e){return{name:t,type:a[e%2].type}}),i)):o=new r(a=[{name:"value",type:"float"}],i);var s=n.map(i.get("data"),n.curry(u,e,t,i));t&&(s=n.filter(s,n.curry(d,t)));var l=t?function(t,e,i,n){return t.coord[Math.floor(n/2)][n%2]}:function(t){return t.value};return o.initData(s,null,l),o.hasItemOption=!0,o}(l,t,e);e.setData(v),v.each(function(e){v.setItemLayout(e,n.map(p,function(i){return f(v,e,i,t,o)})),v.setItemVisual(e,{color:c.getVisual("color")})}),v.diff(m.__data).add(function(t){var e=new s.Polygon({shape:{points:v.getItemLayout(t)}});v.setItemGraphicEl(t,e),m.group.add(e)}).update(function(t,i){var n=m.__data.getItemGraphicEl(i);s.updateProps(n,{shape:{points:v.getItemLayout(t)}},e,t),m.group.add(n),v.setItemGraphicEl(t,n)}).remove(function(t){var e=m.__data.getItemGraphicEl(t);m.group.remove(e)}).execute(),v.eachItemGraphicEl(function(t,i){var r=v.getItemModel(i),o=r.getModel("label"),l=r.getModel("emphasis.label"),u=v.getItemVisual(i,"color");t.useStyle(n.defaults(r.getModel("itemStyle").getItemStyle(),{fill:a.modifyAlpha(u,.4),stroke:u})),t.hoverStyle=r.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(t.style,t.hoverStyle,o,l,{labelFetcher:e,labelDataIndex:i,defaultText:v.getName(i)||"",isRectText:!0,autoColor:u}),s.setHoverStyle(t,{}),t.dataModel=e}),m.__data=v,m.group.silent=e.get("silent")||t.get("silent")}})},"jsU+":function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("IUWy"),o=n.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){o.superApply(this,"optionUpdated",arguments),a.each(this.option.feature,function(t,e){var i=r.get(e);i&&a.merge(t,i.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),s=o;t.exports=s},jtI2:function(t,e,i){i("SMc4");var n=i("bLfw").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=n},juDX:function(t,e,i){i("P47w"),(0,i("aX58").registerPainter)("svg",i("3CBa"))},k5C7:function(t,e,i){i("0JAE"),i("g7p0"),i("7mYs")},k9D9:function(t,e){e.SOURCE_FORMAT_ORIGINAL="original",e.SOURCE_FORMAT_ARRAY_ROWS="arrayRows",e.SOURCE_FORMAT_OBJECT_ROWS="objectRows",e.SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",e.SOURCE_FORMAT_UNKNOWN="unknown",e.SOURCE_FORMAT_TYPED_ARRAY="typedArray",e.SERIES_LAYOUT_BY_COLUMN="column",e.SERIES_LAYOUT_BY_ROW="row"},kDyi:function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var i=0;i<e.length;i++)if(!e[i].isSelected(t.name))return!1;return!0})}},kMLO:function(t,e,i){var n=i("XxSj"),a=i("Qe9p"),r=i("bYtY"),o=r.isArray,s="itemStyle",l={seriesType:"treemap",reset:function(t,e,i,o){var l=t.getData().tree,h=l.root,d=t.getModel(s);h.isRemoved()||function t(e,i,o,l,h,d){var f=e.getModel();var p=e.getLayout();if(!p||p.invisible||!p.isInView)return;var g=e.getModel(s);var m=o[e.depth];var v=function(t,e,i,n){var a=r.extend({},e);return r.each(["color","colorAlpha","colorSaturation"],function(r){var o=t.get(r,!0);null==o&&i&&(o=i[r]),null==o&&(o=e[r]),null==o&&(o=n.get(r)),null!=o&&(a[r]=o)}),a}(g,i,m,l);var y=g.get("borderColor");var x=g.get("borderColorSaturation");var _;null!=x&&(_=u(v),y=function(t,e){return null!=e?a.modifyHSL(e,null,null,t):null}(x,_));e.setVisual("borderColor",y);var b=e.viewChildren;if(b&&b.length){var w=function(t,e,i,a,r,o){if(!o||!o.length)return;var s=c(e,"color")||null!=r.color&&"none"!==r.color&&(c(e,"colorAlpha")||c(e,"colorSaturation"));if(!s)return;var l=e.get("visualMin"),u=e.get("visualMax"),h=i.dataExtent.slice();null!=l&&l<h[0]&&(h[0]=l),null!=u&&u>h[1]&&(h[1]=u);var d=e.get("colorMappingBy"),f={type:s.name,dataExtent:h,visual:s.range};"color"!==f.type||"index"!==d&&"id"!==d?f.mappingMethod="linear":(f.mappingMethod="category",f.loop=!0);var p=new n(f);return p.__drColorMappingBy=d,p}(0,f,p,0,v,b);r.each(b,function(e,i){if(e.depth>=h.length||e===h[e.depth]){var n=function(t,e,i,n,a,o){var s=r.extend({},e);if(a){var l=a.type,u="color"===l&&a.__drColorMappingBy,h="index"===u?n:"id"===u?o.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));s[l]=a.mapValueToVisual(h)}return s}(f,v,e,i,w,d);t(e,n,o,l,h,d)}})}else _=u(v),e.setVisual("color",_)}(h,{},r.map(l.levelModels,function(t){return t?t.get(s):null}),d,t.getViewRoot().getAncestors(),t)}};function u(t){var e=h(t,"color");if(e){var i=h(t,"colorAlpha"),n=h(t,"colorSaturation");return n&&(e=a.modifyHSL(e,null,null,n)),i&&(e=a.modifyAlpha(e,i)),e}}function h(t,e){var i=t[e];if(null!=i&&"none"!==i)return i}function c(t,e){var i=t.get(e);return o(i)&&i.length?{name:e,range:i}:null}t.exports=l},kj2x:function(t,e,i){var n=i("bYtY"),a=i("OELB"),r=i("7hqr").isDimensionStacked,o=n.indexOf;function s(t,e,i,n,o,s){var l=[],u=r(e,n)?e.getCalculationInfo("stackResultDimension"):n,h=c(e,u,t),d=e.indicesOfNearest(u,h)[0];l[o]=e.get(i,d),l[s]=e.get(n,d);var f=a.getPrecision(e.get(n,d));return(f=Math.min(f,20))>=0&&(l[s]=+l[s].toFixed(f)),l}var l=n.curry,u={min:l(s,"min"),max:l(s,"max"),average:l(s,"average")};function h(t,e,i,n){var a={};return null!=t.valueIndex||null!=t.valueDim?(a.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,a.valueAxis=i.getAxis(function(t,e){var i=t.getData(),n=i.dimensions;e=i.getDimension(e);for(var a=0;a<n.length;a++){var r=i.getDimensionInfo(n[a]);if(r.name===e)return r.coordDim}}(n,a.valueDataDim)),a.baseAxis=i.getOtherAxis(a.valueAxis),a.baseDataDim=e.mapDimension(a.baseAxis.dim)):(a.baseAxis=n.getBaseAxis(),a.valueAxis=i.getOtherAxis(a.baseAxis),a.baseDataDim=e.mapDimension(a.baseAxis.dim),a.valueDataDim=e.mapDimension(a.valueAxis.dim)),a}function c(t,e,i){if("average"===i){var n=0,a=0;return t.each(e,function(t,e){isNaN(t)||(n+=t,a++)}),n/a}return"median"===i?t.getMedian(e):t.getDataExtent(e,!0)["max"===i?1:0]}e.dataTransform=function(t,e){var i=t.getData(),a=t.coordinateSystem;if(e&&!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!n.isArray(e.coord)&&a){var r=a.dimensions,s=h(e,i,a,t);if((e=n.clone(e)).type&&u[e.type]&&s.baseAxis&&s.valueAxis){var l=o(r,s.baseAxis.dim),d=o(r,s.valueAxis.dim);e.coord=u[e.type](i,s.baseDataDim,s.valueDataDim,l,d),e.value=e.coord[d]}else{for(var f=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],p=0;p<2;p++)u[f[p]]&&(f[p]=c(i,i.mapDimension(r[p]),f[p]));e.coord=f}}return e},e.getAxisInfo=h,e.dataFilter=function(t,e){return!(t&&t.containData&&e.coord&&!function(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}(e))||t.containData(e.coord)},e.dimValueGetter=function(t,e,i,n){return n<2?t.coord&&t.coord[n]:t.value},e.numCalculate=c},knOB:function(t,e,i){var n=i("bYtY"),a=i("hM6l");function r(t,e){a.call(this,"radius",t,e),this.type="category"}r.prototype={constructor:r,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToRadius:a.prototype.dataToCoord,radiusToData:a.prototype.coordToData},n.inherits(r,a);var o=r;t.exports=o},ko1b:function(t,e,i){var n=i("bYtY"),a=i("T4UG"),r=i("Bsck"),o=i("Qxkt"),s=i("7aKB"),l=s.encodeHTML,u=s.addCommas,h=i("VaxA").wrapTreePathInfo,c=a.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(t,e){var i={name:t.name,children:t.data};!function t(e){var i=0;n.each(e.children,function(e){t(e);var a=e.value;n.isArray(a)&&(a=a[0]),i+=a});var a=e.value;n.isArray(a)&&(a=a[0]);(null==a||isNaN(a))&&(a=i);a<0&&(a=0);n.isArray(e.value)?e.value[0]=a:e.value=a}(i);var a=t.levels||[];a=t.levels=function(t,e){var i,a=e.get("color");if(!a)return;if(t=t||[],n.each(t,function(t){var e=new o(t),n=e.get("color");(e.get("itemStyle.color")||n&&"none"!==n)&&(i=!0)}),!i){var r=t[0]||(t[0]={});r.color=a.slice()}return t}(a,e);var s={};return s.levels=a,r.createTree(i,this,s).data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(t){var e=this.getData(),i=this.getRawValue(t),a=n.isArray(i)?u(i[0]):u(i),r=e.getName(t);return l(r+": "+a)},getDataParams:function(t){var e=a.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=h(i,this),e},setLayoutInfo:function(t){this.layoutInfo=this.layoutInfo||{},n.extend(this.layoutInfo,t)},mapIdToIndex:function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=n.createHashMap(),this._idIndexMapCount=0);var i=e.get(t);return null==i&&e.set(t,i=this._idIndexMapCount++),i},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});t.exports=c},kzvK:function(t,e,i){var n=i("sS/r").extend({type:"timeline"});t.exports=n},lE7J:function(t,e,i){var n=i("OELB"),a=n.round;function r(t){return n.getPrecisionSafe(t)+2}function o(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function s(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),o(t,0,e),o(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,i,o){var l={},u=t[1]-t[0],h=l.interval=n.nice(u/e,!0);null!=i&&h<i&&(h=l.interval=i),null!=o&&h>o&&(h=l.interval=o);var c=l.intervalPrecision=r(h);return s(l.niceTickExtent=[a(Math.ceil(t[0]/h)*h,c),a(Math.floor(t[1]/h)*h,c)],t),l},e.getIntervalPrecision=r,e.fixExtent=s,e.intervalScaleGetTicks=function(t,e,i,n){var r=[];if(!t)return r;e[0]<i[0]&&r.push(e[0]);for(var o=i[0];o<=i[1]&&(r.push(o),(o=a(o+t,n))!==r[r.length-1]);)if(r.length>1e4)return[];return e[1]>(r.length?r[r.length-1]:i[1])&&r.push(e[1]),r}},lELe:function(t,e,i){var n=i("bYtY");t.exports=function(t){var e=[];n.each(t.series,function(t){t&&"map"===t.type&&(e.push(t),t.map=t.map||t.mapType,n.defaults(t,t.mapLocation))})}},lLGD:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("nVfU"),o=r.layout,s=r.largeLayout;i("Wqna"),i("F7hV"),i("Z8zF"),i("Ae16"),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")}})},lOQZ:function(t,e,i){var n=i("QBsz"),a=i("U/Mo"),r=a.getSymbolSize,o=a.getNodeGlobalScale,s=Math.PI,l=[];var u={value:function(t,e,i,n,a,r,o,s){var l=0,u=n.getSum("value"),h=2*Math.PI/(u||s);i.eachNode(function(t){var e=t.getValue("value"),i=h*(u?e:1)/2;l+=i,t.setLayout([a*Math.cos(l)+r,a*Math.sin(l)+o]),l+=i})},symbolSize:function(t,e,i,n,a,u,h,c){var d=0;l.length=c;var f=o(t);i.eachNode(function(t){var e=r(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=f;var i=Math.asin(e/2/a);isNaN(i)&&(i=s/2),l[t.dataIndex]=i,d+=2*i});var p=(2*s-d)/c/2,g=0;i.eachNode(function(t){var e=p+l[t.dataIndex];g+=e,t.setLayout([a*Math.cos(g)+u,a*Math.sin(g)+h]),g+=e})}};e.circularLayout=function(t,e){var i=t.coordinateSystem;if(!i||"view"===i.type){var a=i.getBoundingRect(),r=t.getData(),o=r.graph,s=a.width/2+a.x,l=a.height/2+a.y,h=Math.min(a.width,a.height)/2,c=r.count();r.setLayout({cx:s,cy:l}),c&&(u[e](t,i,o,r,h,s,l,c),o.eachEdge(function(t){var e,i=t.getModel().get("lineStyle.curveness")||0,a=n.clone(t.node1.getLayout()),r=n.clone(t.node2.getLayout()),o=(a[0]+r[0])/2,u=(a[1]+r[1])/2;+i&&(e=[s*(i*=3)+o*(1-i),l*i+u*(1-i)]),t.setLayout([a,r,e])}))}}},laiN:function(t,e,i){var n=i("ProS");i("GVMX"),i("MH26"),n.registerPreprocessor(function(t){t.markLine=t.markLine||{}})},loD1:function(t,e){e.containStroke=function(t,e,i,n,a,r,o){if(0===a)return!1;var s=a,l=0;if(o>e+s&&o>n+s||o<e-s&&o<n-s||r>t+s&&r>i+s||r<t-s&&r<i-s)return!1;if(t===i)return Math.abs(r-t)<=s/2;var u=(l=(e-n)/(t-i))*r-o+(t*n-i*e)/(t-i);return u*u/(l*l+1)<=s/2*s/2}},lwQL:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("9wZj"),o=i("c8qY"),s=i("SgGq"),l=i("Ae+d"),u=i("xSat").onIrrelevantElement,h=i("IwbS"),c=i("SA8n"),d=i("U/Mo").getNodeGlobalScale,f="__focusNodeAdjacency",p=["itemStyle","opacity"],g=["lineStyle","opacity"];function m(t,e){var i=t.getVisual("opacity");return null!=i?i:t.getModel().get(e)}function v(t,e,i){var n=t.getGraphicEl(),a=m(t,e);null!=i&&(null==a&&(a=1),a*=i),n.downplay&&n.downplay(),n.traverse(function(t){if(!t.isGroup){var e=t.lineLabelOriginalOpacity;null!=e&&null==i||(e=a),t.setStyle("opacity",e)}})}function y(t,e){var i=m(t,e),n=t.getGraphicEl();n.traverse(function(t){!t.isGroup&&t.setStyle("opacity",i)}),n.highlight&&n.highlight()}var x=n.extendChartView({type:"graph",init:function(t,e){var i=new r,n=new o,a=this.group;this._controller=new s(e.getZr()),this._controllerHost={target:a},a.add(i.group),a.add(n.group),this._symbolDraw=i,this._lineDraw=n,this._firstRender=!0},render:function(t,e,i){var n=t.coordinateSystem;this._model=t;var a=this._symbolDraw,r=this._lineDraw,o=this.group;if("view"===n.type){var s={position:n.position,scale:n.scale};this._firstRender?o.attr(s):h.updateProps(o,s,t)}c(t.getGraph(),d(t));var l=t.getData();a.updateData(l);var u=t.getEdgeData();r.updateData(u),this._updateNodeAndLinkScale(),this._updateController(t,e,i),clearTimeout(this._layoutTimeout);var p=t.forceLayout,g=t.get("force.layoutAnimation");p&&this._startForceLayoutIteration(p,g),l.eachItemGraphicEl(function(e,n){var a=l.getItemModel(n);e.off("drag").off("dragend");var r=a.get("draggable");r&&e.on("drag",function(){p&&(p.warmUp(),!this._layouting&&this._startForceLayoutIteration(p,g),p.setFixed(n),l.setItemLayout(n,e.position))},this).on("dragend",function(){p&&p.setUnfixed(n)},this),e.setDraggable(r&&p),e[f]&&e.off("mouseover",e[f]),e.__unfocusNodeAdjacency&&e.off("mouseout",e.__unfocusNodeAdjacency),a.get("focusNodeAdjacency")&&(e.on("mouseover",e[f]=function(){i.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.on("mouseout",e.__unfocusNodeAdjacency=function(){i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))},this),l.graph.eachEdge(function(e){var n=e.getGraphicEl();n[f]&&n.off("mouseover",n[f]),n.__unfocusNodeAdjacency&&n.off("mouseout",n.__unfocusNodeAdjacency),e.getModel().get("focusNodeAdjacency")&&(n.on("mouseover",n[f]=function(){i.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),n.on("mouseout",n.__unfocusNodeAdjacency=function(){i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))});var m="circular"===t.get("layout")&&t.get("circular.rotateLabel"),v=l.getLayout("cx"),y=l.getLayout("cy");l.eachItemGraphicEl(function(t,e){var i=l.getItemModel(e).get("label.rotate")||0,n=t.getSymbolPath();if(m){var a=l.getItemLayout(e),r=Math.atan2(a[1]-y,a[0]-v);r<0&&(r=2*Math.PI+r);var o=a[0]<v;o&&(r-=Math.PI);var s=o?"left":"right";h.modifyLabelStyle(n,{textRotation:-r,textPosition:s,textOrigin:"center"},{textPosition:s})}else h.modifyLabelStyle(n,{textRotation:i*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},focusNodeAdjacency:function(t,e,i,n){var r=this._model.getData().graph,o=n.dataIndex,s=n.edgeDataIndex,l=r.getNodeByIndex(o),u=r.getEdgeByIndex(s);(l||u)&&(r.eachNode(function(t){v(t,p,.1)}),r.eachEdge(function(t){v(t,g,.1)}),l&&(y(l,p),a.each(l.edges,function(t){t.dataIndex<0||(y(t,g),y(t.node1,p),y(t.node2,p))})),u&&(y(u,g),y(u.node1,p),y(u.node2,p)))},unfocusNodeAdjacency:function(t,e,i,n){var a=this._model.getData().graph;a.eachNode(function(t){v(t,p)}),a.eachEdge(function(t){v(t,g)})},_startForceLayoutIteration:function(t,e){var i=this;!function n(){t.step(function(t){i.updateLayout(i._model),(i._layouting=!t)&&(e?i._layoutTimeout=setTimeout(n,16):n())})}()},_updateController:function(t,e,i){var n=this._controller,a=this._controllerHost,r=this.group;n.setPointerChecker(function(e,n,a){var o=r.getBoundingRect();return o.applyTransform(r.transform),o.contain(n,a)&&!u(e,i,t)}),"view"===t.coordinateSystem.type?(n.enable(t.get("roam")),a.zoomLimit=t.get("scaleLimit"),a.zoom=t.coordinateSystem.getZoom(),n.off("pan").off("zoom").on("pan",function(e){l.updateViewOnPan(a,e.dx,e.dy),i.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})}).on("zoom",function(e){l.updateViewOnZoom(a,e.scale,e.originX,e.originY),i.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),this._updateNodeAndLinkScale(),c(t.getGraph(),d(t)),this._lineDraw.updateLayout()},this)):n.disable()},_updateNodeAndLinkScale:function(){var t=this._model,e=t.getData(),i=d(t),n=[i,i];e.eachItemGraphicEl(function(t,e){t.attr("scale",n)})},updateLayout:function(t){c(t.getGraph(),d(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});t.exports=x},m9t5:function(t,e,i){var n=i("KCsZ")([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a={getAreaStyle:function(t,e){return n(this,t,e)}};t.exports=a},mFDi:function(t,e,i){var n,a,r,o,s=i("QBsz"),l=i("Fofx"),u=s.applyTransform,h=Math.min,c=Math.max;function d(t,e,i,n){i<0&&(t+=i,i=-i),n<0&&(e+=n,n=-n),this.x=t,this.y=e,this.width=i,this.height=n}d.prototype={constructor:d,union:function(t){var e=h(t.x,this.x),i=h(t.y,this.y);this.width=c(t.x+t.width,this.x+this.width)-e,this.height=c(t.y+t.height,this.y+this.height)-i,this.x=e,this.y=i},applyTransform:(n=[],a=[],r=[],o=[],function(t){if(t){n[0]=r[0]=this.x,n[1]=o[1]=this.y,a[0]=o[0]=this.x+this.width,a[1]=r[1]=this.y+this.height,u(n,n,t),u(a,a,t),u(r,r,t),u(o,o,t),this.x=h(n[0],a[0],r[0],o[0]),this.y=h(n[1],a[1],r[1],o[1]);var e=c(n[0],a[0],r[0],o[0]),i=c(n[1],a[1],r[1],o[1]);this.width=e-this.x,this.height=i-this.y}}),calculateTransform:function(t){var e=this,i=t.width/e.width,n=t.height/e.height,a=l.create();return l.translate(a,a,[-e.x,-e.y]),l.scale(a,a,[i,n]),l.translate(a,a,[t.x,t.y]),a},intersect:function(t){if(!t)return!1;t instanceof d||(t=d.create(t));var e=this,i=e.x,n=e.x+e.width,a=e.y,r=e.y+e.height,o=t.x,s=t.x+t.width,l=t.y,u=t.y+t.height;return!(n<o||s<i||r<l||u<a)},contain:function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new d(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},d.create=function(t){return new d(t.x,t.y,t.width,t.height)};var f=d;t.exports=f},mLcG: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},mOdp:function(t,e,i){var n=i("bYtY").createHashMap;t.exports=function(t){return{getTargetSeries:function(e){var i={},a=n();return e.eachSeriesByType(t,function(t){t.__paletteScope=i,a.set(t.uid,t)}),a},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=n[e],o=null!=r&&a.getItemVisual(r,"color",!0);if(o)i.setItemVisual(e,"color",o);else{var s=i.getItemModel(e).get("itemStyle.color")||t.getColorFromPalette(i.getName(e)||e+"",t.__paletteScope,i.count());i.setItemVisual(e,"color",s),null!=r&&a.setItemVisual(r,"color",s)}})}}}},mYwL:function(t,e,i){var n=i("bYtY"),a=i("IwbS"),r=Math.PI;t.exports=function(t,e){e=e||{},n.defaults(e,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var i=new a.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),o=new a.Arc({shape:{startAngle:-r/2,endAngle:-r/2+.1,r:10},style:{stroke:e.color,lineCap:"round",lineWidth:5},zlevel:e.zlevel,z:10001}),s=new a.Rect({style:{fill:"none",text:e.text,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});o.animateShape(!0).when(1e3,{endAngle:3*r/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:3*r/2}).delay(300).start("circularInOut");var l=new a.Group;return l.add(o),l.add(s),l.add(i),l.resize=function(){var e=t.getWidth()/2,n=t.getHeight()/2;o.setShape({cx:e,cy:n});var a=o.shape.r;s.setShape({x:e-a,y:n-a,width:2*a,height:2*a}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},l.resize(),l}},n1HI:function(t,e,i){var n=i("hX1E").normalizeRadian,a=2*Math.PI;e.containStroke=function(t,e,i,r,o,s,l,u,h){if(0===l)return!1;var c=l;u-=t,h-=e;var d=Math.sqrt(u*u+h*h);if(d-c>i||d+c<i)return!1;if(Math.abs(r-o)%a<1e-4)return!0;if(s){var f=r;r=n(o),o=n(f)}else r=n(r),o=n(o);r>o&&(o+=a);var p=Math.atan2(h,u);return p<0&&(p+=a),p>=r&&p<=o||p+a>=r&&p+a<=o}},n4Lv:function(t,e,i){var n=i("7hqr").isDimensionStacked,a=i("bYtY").map;e.prepareDataCoordInfo=function(t,e,i){var r,o=t.getBaseAxis(),s=t.getOtherAxis(o),l=function(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}(s,i),u=o.dim,h=s.dim,c=e.mapDimension(h),d=e.mapDimension(u),f="x"===h||"radius"===h?1:0,p=a(t.dimensions,function(t){return e.mapDimension(t)}),g=e.getCalculationInfo("stackResultDimension");return(r|=n(e,p[0]))&&(p[0]=g),(r|=n(e,p[1]))&&(p[1]=g),{dataDimsForPoint:p,valueStart:l,valueAxisDim:h,baseAxisDim:u,stacked:!!r,valueDim:c,baseDim:d,baseDataOffset:f,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}},e.getStackedOnPoint=function(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)}},n6Mw:function(t,e,i){var n=i("SrGk"),a=i("bYtY"),r=i("Fofx");function o(t,e){n.call(this,t,e,"clipPath","__clippath_in_use__")}a.inherits(o,n),o.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var i=this.getTextSvgElement(t);i&&this.updateDom(i,t.__clipPaths,!0),this.markUsed(t)},o.prototype.updateDom=function(t,e,i){if(e&&e.length>0){var n,a,o=this.getDefs(!0),s=e[0],l=i?"_textDom":"_dom";s[l]?(a=s[l].getAttribute("id"),n=s[l],o.contains(n)||o.appendChild(n)):(a="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(n=this.createElement("clipPath")).setAttribute("id",a),o.appendChild(n),s[l]=n);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!i){var h=Array.prototype.slice.call(s.transform);r.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=h}else u.brush(s);var c=this.getSvgElement(s);n.innerHTML="",n.appendChild(c.cloneNode()),t.setAttribute("clip-path","url(#"+a+")"),e.length>1&&this.updateDom(n,e.slice(1),i)}else t&&t.setAttribute("clip-path","none")},o.prototype.markUsed=function(t){var e=this;t.__clipPaths&&a.each(t.__clipPaths,function(t){t._dom&&n.prototype.markUsed.call(e,t._dom),t._textDom&&n.prototype.markUsed.call(e,t._textDom)})};var s=o;t.exports=s},nCxF:function(t,e,i){var n=i("QBsz"),a=n.min,r=n.max,o=n.scale,s=n.distance,l=n.add,u=n.clone,h=n.sub;t.exports=function(t,e,i,n){var c,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)c=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){g.push(u(t[x]));continue}c=t[x-1],d=t[x+1]}h(m,d,c),o(m,m,e);var w=s(b,c),S=s(b,d),M=w+S;0!==M&&(w/=M,S/=M),o(v,m,-w),o(y,m,S);var I=l([],b,v),T=l([],b,y);n&&(r(I,I,f),a(I,I,p),r(T,T,f),a(T,T,p)),g.push(I),g.push(T)}return i&&g.push(g.shift()),g}},nKiI:function(t,e,i){var n=i("bYtY"),a=i("mFDi"),r=i("OELB"),o=r.parsePercent,s=r.MAX_SAFE_INTEGER,l=i("+TT/"),u=i("VaxA"),h=Math.max,c=Math.min,d=n.retrieve,f=n.each,p=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],m=["upperLabel","show"],v=["upperLabel","height"],y={seriesType:"treemap",reset:function(t,e,i,r){var m=i.getWidth(),v=i.getHeight(),y=t.option,w=l.getLayoutRect(t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()}),S=y.size||[],M=o(d(w.width,S[0]),m),I=o(d(w.height,S[1]),v),T=r&&r.type,A=u.retrieveTargetInfo(r,["treemapZoomToNode","treemapRootToNode"],t),D="treemapRender"===T||"treemapMove"===T?r.rootRect:null,C=t.getViewRoot(),L=u.getPathToRoot(C);if("treemapMove"!==T){var P="treemapZoomToNode"===T?function(t,e,i,n,a){var r,o=(e||{}).node,l=[n,a];if(!o||o===i)return l;var u=n*a,h=u*t.option.zoomToNodeRatio;for(;r=o.parentNode;){for(var c=0,d=r.children,f=0,g=d.length;f<g;f++)c+=d[f].getValue();var m=o.getValue();if(0===m)return l;h*=c/m;var v=r.getModel(),y=v.get(p),x=Math.max(y,b(v));(h+=4*y*y+(3*y+x)*Math.pow(h,.5))>s&&(h=s),o=r}h<u&&(h=u);var _=Math.pow(h/u,.5);return[n*_,a*_]}(t,A,C,M,I):D?[D.width,D.height]:[M,I],k=y.sort;k&&"asc"!==k&&"desc"!==k&&(k="desc");var O={squareRatio:y.squareRatio,sort:k,leafDepth:y.leafDepth};C.hostTree.clearLayouts();var E={x:0,y:0,width:P[0],height:P[1],area:P[0]*P[1]};C.setLayout(E),function t(e,i,a,r){var o;var s;if(e.isRemoved())return;var l=e.getLayout();o=l.width;s=l.height;var u=e.getModel();var d=u.get(p);var m=u.get(g)/2;var v=b(u);var y=Math.max(d,v);var w=d-m;var S=y-m;var u=e.getModel();e.setLayout({borderWidth:d,upperHeight:y,upperLabelHeight:v},!0);o=h(o-2*w,0);s=h(s-w-S,0);var M=o*s;var I=function(t,e,i,a,r,o){var s=t.children||[],l=a.sort;"asc"!==l&&"desc"!==l&&(l=null);var u=null!=a.leafDepth&&a.leafDepth<=o;if(r&&!u)return t.viewChildren=[];!function(t,e){e&&t.sort(function(t,i){var n="asc"===e?t.getValue()-i.getValue():i.getValue()-t.getValue();return 0===n?"asc"===e?t.dataIndex-i.dataIndex:i.dataIndex-t.dataIndex:n})}(s=n.filter(s,function(t){return!t.isRemoved()}),l);var h=function(t,e,i){for(var n=0,a=0,r=e.length;a<r;a++)n+=e[a].getValue();var o=t.get("visualDimension");if(e&&e.length)if("value"===o&&i)s=[e[e.length-1].getValue(),e[0].getValue()],"asc"===i&&s.reverse();else{var s=[1/0,-1/0];f(e,function(t){var e=t.getValue(o);e<s[0]&&(s[0]=e),e>s[1]&&(s[1]=e)})}else s=[NaN,NaN];return{sum:n,dataExtent:s}}(e,s,l);if(0===h.sum)return t.viewChildren=[];if(h.sum=function(t,e,i,n,a){if(!n)return i;for(var r=t.get("visibleMin"),o=a.length,s=o,l=o-1;l>=0;l--){var u=a["asc"===n?o-l-1:l].getValue();u/i*e<r&&(s=l,i-=u)}return"asc"===n?a.splice(0,o-s):a.splice(s,o-s),i}(e,i,h.sum,l,s),0===h.sum)return t.viewChildren=[];for(var c=0,d=s.length;c<d;c++){var p=s[c].getValue()/h.sum*i;s[c].setLayout({area:p})}u&&(s.length&&t.setLayout({isLeafRoot:!0},!0),s.length=0);return t.viewChildren=s,t.setLayout({dataExtent:h.dataExtent},!0),s}(e,u,M,i,a,r);if(!I.length)return;var T={x:w,y:S,width:o,height:s};var A=c(o,s);var D=1/0;var C=[];C.area=0;for(var L=0,P=I.length;L<P;){var k=I[L];C.push(k),C.area+=k.getLayout().area;var O=x(C,A,i.squareRatio);O<=D?(L++,D=O):(C.area-=C.pop().getLayout().area,_(C,A,T,m,!1),A=c(T.width,T.height),C.length=C.area=0,D=1/0)}C.length&&_(C,A,T,m,!0);if(!a){var E=u.get("childrenVisibleMin");null!=E&&M<E&&(a=!0)}for(var L=0,P=I.length;L<P;L++)t(I[L],i,a,r+1)}(C,O,!1,0);E=C.getLayout();f(L,function(t,e){var i=(L[e+1]||C).getValue();t.setLayout(n.extend({dataExtent:[i,i],borderWidth:0,upperHeight:0},E))})}var N=t.getData().tree.root;N.setLayout(function(t,e,i){if(e)return{x:e.x,y:e.y};var n={x:0,y:0};if(!i)return n;var a=i.node,r=a.getLayout();if(!r)return n;var o=[r.width/2,r.height/2],s=a;for(;s;){var l=s.getLayout();o[0]+=l.x,o[1]+=l.y,s=s.parentNode}return{x:t.width/2-o[0],y:t.height/2-o[1]}}(w,D,A),!0),t.setLayoutInfo(w),function t(e,i,n,r,o){var s=e.getLayout();var l=n[o];var u=l&&l===e;if(l&&!u||o===n.length&&e!==r)return;e.setLayout({isInView:!0,invisible:!u&&!i.intersect(s),isAboveViewRoot:u},!0);var h=new a(i.x-s.x,i.y-s.y,i.width,i.height);f(e.viewChildren||[],function(e){t(e,h,n,r,o+1)})}(N,new a(-w.x,-w.y,m,v),L,C,0)}};function x(t,e,i){for(var n,a=0,r=1/0,o=0,s=t.length;o<s;o++)(n=t[o].getLayout().area)&&(n<r&&(r=n),n>a&&(a=n));var l=t.area*t.area,u=e*e*i;return l?h(u*a/l,l/(u*r)):1/0}function _(t,e,i,n,a){var r=e===i.width?0:1,o=1-r,s=["x","y"],l=["width","height"],u=i[s[r]],d=e?t.area/e:0;(a||d>i[l[o]])&&(d=i[l[o]]);for(var f=0,p=t.length;f<p;f++){var g=t[f],m={},v=d?g.getLayout().area/d:0,y=m[l[o]]=h(d-2*n,0),x=i[s[r]]+i[l[r]]-u,_=f===p-1||x<v?x:v,b=m[l[r]]=h(_-2*n,0);m[s[o]]=i[s[o]]+c(n,y/2),m[s[r]]=u+c(n,b/2),u+=_,g.setLayout(m,!0)}i[s[o]]+=d,i[l[o]]-=d}function b(t){return t.get(m)?t.get(v):0}t.exports=y},nPnh:function(t,e){var i=Math.round;function n(t,e,n){var a=i(2*t);return(a+i(e))%2==0?a/2:(a+(n?1:-1))/2}e.subPixelOptimizeLine=function(t,e,a){var r=a&&a.lineWidth;if(e&&r){var o=e.x1,s=e.x2,l=e.y1,u=e.y2;i(2*o)===i(2*s)?t.x1=t.x2=n(o,r,!0):(t.x1=o,t.x2=s),i(2*l)===i(2*u)?t.y1=t.y2=n(l,r,!0):(t.y1=l,t.y2=u)}},e.subPixelOptimizeRect=function(t,e,i){var a=i&&i.lineWidth;if(e&&a){var r=e.x,o=e.y,s=e.width,l=e.height;t.x=n(r,a,!0),t.y=n(o,a,!0),t.width=Math.max(n(r+s,a,!1)-t.x,0===s?0:1),t.height=Math.max(n(o+l,a,!1)-t.y,0===l?0:1)}},e.subPixelOptimize=n},nVfU:function(t,e,i){var n=i("bYtY"),a=i("OELB").parsePercent,r=i("7hqr").isDimensionStacked,o=i("zM3Q"),s="__ec_stack_",l="undefined"!=typeof Float32Array?Float32Array:Array;function u(t){return t.get("stack")||s+t.seriesIndex}function h(t){return t.dim+t.index}function c(t,e){var i=[];return e.eachSeriesByType(t,function(t){m(t)&&!v(t)&&i.push(t)}),i}function d(t){var e=[];return n.each(t,function(t){var i=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=n.getExtent(),o="category"===n.type?n.getBandWidth():Math.abs(r[1]-r[0])/i.count(),s=a(t.get("barWidth"),o),l=a(t.get("barMaxWidth"),o),c=t.get("barGap"),d=t.get("barCategoryGap");e.push({bandWidth:o,barWidth:s,barMaxWidth:l,barGap:c,barCategoryGap:d,axisKey:h(n),stackId:u(t)})}),f(e)}function f(t){var e={};n.each(t,function(t,i){var n=t.axisKey,a=t.bandWidth,r=e[n]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=r.stacks;e[n]=r;var s=t.stackId;o[s]||r.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(r.remainedWidth,l),r.remainedWidth-=l);var u=t.barMaxWidth;u&&(o[s].maxWidth=u);var h=t.barGap;null!=h&&(r.gap=h);var c=t.barCategoryGap;null!=c&&(r.categoryGap=c)});var i={};return n.each(e,function(t,e){i[e]={};var r=t.stacks,o=t.bandWidth,s=a(t.categoryGap,o),l=a(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),n.each(r,function(t,e){var i=t.maxWidth;i&&i<c&&(i=Math.min(i,u),t.width&&(i=Math.min(i,t.width)),u-=i,t.width=i,h--)}),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var d,f=0;n.each(r,function(t,e){t.width||(t.width=c),d=t,f+=t.width*(1+l)}),d&&(f-=d.width*l);var p=-f/2;n.each(r,function(t,n){i[e][n]=i[e][n]||{offset:p,width:t.width},p+=t.width*(1+l)})}),i}function p(t,e,i){if(t&&e){var n=t[h(e)];return null!=n&&null!=i&&(n=n[u(i)]),n}}var g={seriesType:"bar",plan:o(),reset:function(t){if(m(t)&&v(t)){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),a=i.getOtherAxis(n),r=e.mapDimension(a.dim),o=e.mapDimension(n.dim),s=a.isHorizontal(),u=s?0:1,h=p(d([t]),n,t).width;return h>.5||(h=.5),{progress:function(t,e){var c,d=t.count,f=new l(2*d),p=new l(d),g=[],m=[],v=0,x=0;for(;null!=(c=t.next());)m[u]=e.get(r,c),m[1-u]=e.get(o,c),g=i.dataToPoint(m,null,g),f[v++]=g[0],f[v++]=g[1],p[x++]=c;e.setLayout({largePoints:f,largeDataIndices:p,barWidth:h,valueAxisStart:y(n,a,!1),valueAxisHorizontal:s})}}}}};function m(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function v(t){return t.pipelineContext&&t.pipelineContext.large}function y(t,e,i){var n,a,r=e.getGlobalExtent();r[0]>r[1]?(n=r[1],a=r[0]):(n=r[0],a=r[1]);var o=e.toGlobalCoord(e.dataToCoord(0));return o<n&&(o=n),o>a&&(o=a),o}e.getLayoutOnAxis=function(t){var e=[],i=t.axis;if("category"===i.type){for(var a=i.getBandWidth(),r=0;r<t.count;r++)e.push(n.defaults({bandWidth:a,axisKey:"axis0",stackId:s+r},t));var o=f(e),l=[];for(r=0;r<t.count;r++){var u=o.axis0[s+r];u.offsetCenter=u.offset+u.width/2,l.push(u)}return l}},e.prepareLayoutBarSeries=c,e.makeColumnLayout=d,e.retrieveColumnLayout=p,e.layout=function(t,e){var i=c(t,e),a=d(i),o={},s={};n.each(i,function(t){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),l=u(t),c=a[h(n)][l],d=c.offset,f=c.width,p=i.getOtherAxis(n),g=t.get("barMinHeight")||0;o[l]=o[l]||[],s[l]=s[l]||[],e.setLayout({offset:d,size:f});for(var m=e.mapDimension(p.dim),v=e.mapDimension(n.dim),x=r(e,m),_=p.isHorizontal(),b=y(0,p),w=0,S=e.count();w<S;w++){var M=e.get(m,w),I=e.get(v,w);if(!isNaN(M)&&!isNaN(I)){var T,A,D,C,L,P=M>=0?"p":"n",k=b;x&&(o[l][I]||(o[l][I]={p:b,n:b}),k=o[l][I][P]),_?(T=k,A=(L=i.dataToPoint([M,I]))[1]+d,D=L[0]-b,C=f,Math.abs(D)<g&&(D=(D<0?-1:1)*g),x&&(o[l][I][P]+=D)):(T=(L=i.dataToPoint([I,M]))[0]+d,A=k,D=f,C=L[1]-b,Math.abs(C)<g&&(C=(C<=0?-1:1)*g),x&&(o[l][I][P]+=C)),e.setItemLayout(w,{x:T,y:A,width:D,height:C})}}},this)},e.largeLayout=g},ni6a:function(t,e,i){var n=i("pzxd"),a=i("mFDi"),r=i("gut8").WILL_BE_RESTORED,o=new a,s=function(){};s.prototype={constructor:s,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 s=this.transform;i.transformText?this.setTransform(t):s&&(o.copy(e),o.applyTransform(s),e=o),n.renderText(this,t,a,i,e,r),t.restore()}}};var l=s;t.exports=l},nkfE:function(t,e,i){var n=i("bYtY"),a=i("ca2m"),r=i("bLfw"),o=i("+TT/"),s=o.getLayoutParams,l=o.mergeLayoutParam,u=i("jkPA"),h=["value","category","time","log"];t.exports=function(t,e,i,o){n.each(h,function(r){e.extend({type:t+"Axis."+r,mergeDefaultAndTheme:function(e,a){var o=this.layoutMode,u=o?s(e):{},h=a.getTheme();n.merge(e,h.get(r+"Axis")),n.merge(e,this.getDefaultOption()),e.type=i(t,e),o&&l(e,u,o)},optionUpdated:function(){"category"===this.option.type&&(this.__ordinalMeta=u.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:n.mergeAll([{},a[r+"Axis"],o],!0)})}),r.registerSubTypeDefaulter(t+"Axis",n.curry(i,t))}},noeP:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("UOVi");n.registerAction("dataZoom",function(t,e){var i=r.createLinkedNodesFinder(a.bind(e.eachComponent,e,"dataZoom"),r.eachAxisDim,function(t,e){return t.get(e.axisIndex)}),n=[];e.eachComponent({mainType:"dataZoom",query:t},function(t,e){n.push.apply(n,i(t).nodes)}),a.each(n,function(e,i){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})},o40c:function(t,e,i){var n=i("IwbS"),a=i("OS9S"),r=i("loD1"),o=i("aKvl"),s=n.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(t,e){var i=e.segs,n=e.curveness;if(e.polyline)for(var a=0;a<i.length;){var r=i[a++];if(r>0){t.moveTo(i[a++],i[a++]);for(var o=1;o<r;o++)t.lineTo(i[a++],i[a++])}}else for(a=0;a<i.length;){var s=i[a++],l=i[a++],u=i[a++],h=i[a++];if(t.moveTo(s,l),n>0){var c=(s+u)/2-(l-h)*n,d=(l+h)/2-(u-s)*n;t.quadraticCurveTo(c,d,u,h)}else t.lineTo(u,h)}},findDataIndex:function(t,e){var i=this.shape,n=i.segs,a=i.curveness;if(i.polyline)for(var s=0,l=0;l<n.length;){var u=n[l++];if(u>0)for(var h=n[l++],c=n[l++],d=1;d<u;d++){var f=n[l++],p=n[l++];if(r.containStroke(h,c,f,p))return s}s++}else for(s=0,l=0;l<n.length;){h=n[l++],c=n[l++],f=n[l++],p=n[l++];if(a>0){var g=(h+f)/2-(c-p)*a,m=(c+p)/2-(f-h)*a;if(o.containStroke(h,c,g,m,f,p))return s}else if(r.containStroke(h,c,f,p))return s;s++}return-1}});function l(){this.group=new n.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(t){this.group.removeAll();var e=new s({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},u.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(t,e){var i=new s;i.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(i,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(i,!0):(i.rectHover=!0,i.cursor="default",i.__startIndex=t.start,this.group.add(i))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(t,e,i){var n=e.hostModel;t.setShape({polyline:n.get("polyline"),curveness:n.get("lineStyle.curveness")}),t.useStyle(n.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var a=e.getVisual("color");a&&t.setStyle("stroke",a),t.setStyle("fill"),i||(t.seriesIndex=n.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var i=t.findDataIndex(e.offsetX,e.offsetY);i>0&&(t.dataIndex=i+t.__startIndex)}))},u._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var h=l;t.exports=h},oBaM:function(t,e,i){var n=i("T4UG"),a=i("5GtS"),r=i("bYtY"),o=i("7aKB").encodeHTML,s=n.extend({type:"series.radar",dependencies:["radar"],init:function(t){s.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},getInitialData:function(t,e){return a(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(t){var e=this.getData(),i=this.coordinateSystem.getIndicatorAxes(),n=this.getData().getName(t);return o(""===n?this.name:n)+"<br/>"+r.map(i,function(i,n){var a=e.get(e.mapDimension(i.dim),t);return o(i.name+" : "+a)}).join("<br />")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),l=s;t.exports=l},oE7X:function(t,e,i){i("bLfw").registerSubTypeDefaulter("timeline",function(){return"slider"})},oVpE:function(t,e,i){var n=i("bYtY"),a=i("IwbS"),r=i("mFDi"),o=i("6GrX").calculateTextPosition,s=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()}}),l=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,u=Math.asin(s/o),h=Math.cos(u)*o,c=Math.sin(u),d=Math.cos(u),f=.6*o,p=.7*o;t.moveTo(i-h,l+s),t.arc(i,l,o,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(i+h-c*f,l+s+d*f,i,n-p,i,n),t.bezierCurveTo(i,n-p,i-h+c*f,l+s+d*f,i-h,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()}}),c={line:a.Line,rect:a.Rect,roundRect:a.Rect,square:a.Rect,circle:a.Circle,diamond:l,pin:u,arrow:h,triangle:s},d={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}},f={};n.each(c,function(t,e){f[e]=new t});var p=a.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,i){var n=o(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=f[n];a||(a=f[n="rect"]),d[n](e.x,e.y,e.width,e.height,a.shape),a.buildPath(t,a.shape,i)}}});function g(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)}}e.createSymbol=function(t,e,i,n,o,s,l){var u,h=0===t.indexOf("empty");return h&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(u=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 p({shape:{symbolType:t,x:e,y:i,width:n,height:o}})).__isEmptyBrush=h,u.setColor=g,u.setColor(s),u}},oY9F:function(t,e,i){var n=i("OlYY").extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});t.exports=n},"p+If":function(t,e,i){var n=i("ProS");i("cpOr"),i("rkZ5");var a=i("ZYIC"),r=i("7ph2");n.registerLayout(a),n.registerVisual(r)},"p/La":function(t,e){var i=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];t.exports=function(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:i[0]})}},p1MT:function(t,e,i){var n=i("Hw7h"),a=i("IwbS"),r=i("6Ic6"),o=i("OELB"),s=o.parsePercent,l=o.round,u=o.linearMap;function h(t,e){return e&&("string"==typeof e?t=e.replace("{value}",null!=t?t:""):"function"==typeof e&&(t=e(t))),t}var c=2*Math.PI,d=r.extend({type:"gauge",render:function(t,e,i){this.group.removeAll();var n=t.get("axisLine.lineStyle.color"),a=function(t,e){var i=t.get("center"),n=e.getWidth(),a=e.getHeight(),r=Math.min(n,a);return{cx:s(i[0],e.getWidth()),cy:s(i[1],e.getHeight()),r:s(t.get("radius"),r/2)}}(t,i);this._renderMain(t,e,i,n,a)},dispose:function(){},_renderMain:function(t,e,i,n,r){for(var o=this.group,s=t.getModel("axisLine"),l=s.getModel("lineStyle"),u=t.get("clockwise"),h=-t.get("startAngle")/180*Math.PI,d=((v=-t.get("endAngle")/180*Math.PI)-h)%c,f=h,p=l.get("width"),g=s.get("show"),m=0;g&&m<n.length;m++){var v=h+d*Math.min(Math.max(n[m][0],0),1),y=new a.Sector({shape:{startAngle:f,endAngle:v,cx:r.cx,cy:r.cy,clockwise:u,r0:r.r-p,r:r.r},silent:!0});y.setStyle({fill:n[m][1]}),y.setStyle(l.getLineStyle(["color","borderWidth","borderColor"])),o.add(y),f=v}var x=function(t){if(t<=0)return n[0][1];for(var e=0;e<n.length;e++)if(n[e][0]>=t&&(0===e?0:n[e-1][0])<t)return n[e][1];return n[e-1][1]};if(!u){var _=h;h=v,v=_}this._renderTicks(t,e,i,x,r,h,v,u),this._renderPointer(t,e,i,x,r,h,v,u),this._renderTitle(t,e,i,x,r),this._renderDetail(t,e,i,x,r)},_renderTicks:function(t,e,i,n,r,o,u,c){for(var d=this.group,f=r.cx,p=r.cy,g=r.r,m=+t.get("min"),v=+t.get("max"),y=t.getModel("splitLine"),x=t.getModel("axisTick"),_=t.getModel("axisLabel"),b=t.get("splitNumber"),w=x.get("splitNumber"),S=s(y.get("length"),g),M=s(x.get("length"),g),I=o,T=(u-o)/b,A=T/w,D=y.getModel("lineStyle").getLineStyle(),C=x.getModel("lineStyle").getLineStyle(),L=0;L<=b;L++){var P=Math.cos(I),k=Math.sin(I);if(y.get("show")){var O=new a.Line({shape:{x1:P*g+f,y1:k*g+p,x2:P*(g-S)+f,y2:k*(g-S)+p},style:D,silent:!0});"auto"===D.stroke&&O.setStyle({stroke:n(L/b)}),d.add(O)}if(_.get("show")){var E=h(l(L/b*(v-m)+m),_.get("formatter")),N=_.get("distance"),R=n(L/b);d.add(new a.Text({style:a.setTextStyle({},_,{text:E,x:P*(g-S-N)+f,y:k*(g-S-N)+p,textVerticalAlign:k<-.4?"top":k>.4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},{autoColor:R}),silent:!0}))}if(x.get("show")&&L!==b){for(var z=0;z<=w;z++){P=Math.cos(I),k=Math.sin(I);var B=new a.Line({shape:{x1:P*g+f,y1:k*g+p,x2:P*(g-M)+f,y2:k*(g-M)+p},silent:!0,style:C});"auto"===C.stroke&&B.setStyle({stroke:n((L+z/w)/b)}),d.add(B),I+=A}I-=A}else I+=T}},_renderPointer:function(t,e,i,r,o,l,h,c){var d=this.group,f=this._data;if(t.get("pointer.show")){var p=[+t.get("min"),+t.get("max")],g=[l,h],m=t.getData(),v=m.mapDimension("value");m.diff(f).add(function(e){var i=new n({shape:{angle:l}});a.initProps(i,{shape:{angle:u(m.get(v,e),p,g,!0)}},t),d.add(i),m.setItemGraphicEl(e,i)}).update(function(e,i){var n=f.getItemGraphicEl(i);a.updateProps(n,{shape:{angle:u(m.get(v,e),p,g,!0)}},t),d.add(n),m.setItemGraphicEl(e,n)}).remove(function(t){var e=f.getItemGraphicEl(t);d.remove(e)}).execute(),m.eachItemGraphicEl(function(t,e){var i=m.getItemModel(e),n=i.getModel("pointer");t.setShape({x:o.cx,y:o.cy,width:s(n.get("width"),o.r),r:s(n.get("length"),o.r)}),t.useStyle(i.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",r(u(m.get(v,e),p,[0,1],!0))),a.setHoverStyle(t,i.getModel("emphasis.itemStyle").getItemStyle())}),this._data=m}else f&&f.eachItemGraphicEl(function(t){d.remove(t)})},_renderTitle:function(t,e,i,n,r){var o=t.getData(),l=o.mapDimension("value"),h=t.getModel("title");if(h.get("show")){var c=h.get("offsetCenter"),d=r.cx+s(c[0],r.r),f=r.cy+s(c[1],r.r),p=+t.get("min"),g=+t.get("max"),m=t.getData().get(l,0),v=n(u(m,[p,g],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},h,{x:d,y:f,text:o.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(t,e,i,n,r){var o=t.getModel("detail"),l=+t.get("min"),c=+t.get("max");if(o.get("show")){var d=o.get("offsetCenter"),f=r.cx+s(d[0],r.r),p=r.cy+s(d[1],r.r),g=s(o.get("width"),r.r),m=s(o.get("height"),r.r),v=t.getData(),y=v.get(v.mapDimension("value"),0),x=n(u(y,[l,c],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},o,{x:f,y:p,text:h(y,o.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}});t.exports=d},pLH3:function(t,e,i){var n=i("ProS");i("ALo7"),i("TWL2");var a=i("mOdp"),r=i("JLnu"),o=i("0/Rx");n.registerVisual(a("funnel")),n.registerLayout(r),n.registerProcessor(o("funnel"))},pP6R:function(t,e,i){var n="\0_ec_interaction_mutex";function a(t){return t[n]||(t[n]={})}i("ProS").registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),e.take=function(t,e,i){a(t)[e]=i},e.release=function(t,e,i){var n=a(t);n[e]===i&&(n[e]=null)},e.isTaken=function(t,e){return!!a(t)[e]}},pmaE:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("IwbS"),o=i("DEFe"),s="__seriesMapHighDown",l="__seriesMapCallKey",u=n.extendChartView({type:"map",render:function(t,e,i,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var a=this.group;if(a.removeAll(),!t.getHostGeoModel()){if(n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===t.id)(r=this._mapDraw)&&a.add(r.group);else if(t.needsDrawMap){var r=this._mapDraw||new o(i,!0);a.add(r.group),r.draw(t,e,i,this,n),this._mapDraw=r}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,i)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(t,e,i){var n=t.originalData,o=this.group;n.each(n.mapDimension("value"),function(e,i){if(!isNaN(e)){var u=n.getItemLayout(i);if(u&&u.point){var d=u.point,f=u.offset,p=new r.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:d[0]+9*f,cy:d[1],r:3},silent:!0,z2:8+(f?0:r.Z2_EMPHASIS_LIFT+1)});if(!f){var g=t.mainSeries.getData(),m=n.getName(i),v=g.indexOfName(m),y=n.getItemModel(i),x=y.getModel("label"),_=y.getModel("emphasis.label"),b=g.getItemGraphicEl(v),w=a.retrieve2(t.getFormattedLabel(v,"normal"),m),S=a.retrieve2(t.getFormattedLabel(v,"emphasis"),w),M=b[s],I=Math.random();if(!M){M=b[s]={};var T=a.curry(h,!0),A=a.curry(h,!1);b.on("mouseover",T).on("mouseout",A).on("emphasis",T).on("normal",A)}b[l]=I,a.extend(M,{recordVersion:I,circle:p,labelModel:x,hoverLabelModel:_,emphasisText:S,normalText:w}),c(M,!1)}o.add(p)}}})}});function h(t){var e=this[s];e&&e.recordVersion===this[l]&&c(e,t)}function c(t,e){var i=t.circle,n=t.labelModel,a=t.hoverLabelModel,o=t.emphasisText,s=t.normalText;e?(i.style.extendFrom(r.setTextStyle({},a,{text:a.get("show")?o:null},{isRectText:!0,useInsideStyle:!1},!0)),i.__mapOriginalZ2=i.z2,i.z2+=r.Z2_EMPHASIS_LIFT):(r.setTextStyle(i.style,n,{text:n.get("show")?s:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),i.dirty(!1),null!=i.__mapOriginalZ2&&(i.z2=i.__mapOriginalZ2,i.__mapOriginalZ2=null))}t.exports=u},pzxd:function(t,e,i){var n=i("bYtY"),a=n.retrieve2,r=n.retrieve3,o=n.each,s=n.normalizeCssArray,l=n.isString,u=n.isObject,h=i("6GrX"),c=i("VpOo"),d=i("Xnb7"),f=i("fW2E"),p=i("gut8"),g=p.ContextCachedBy,m=p.WILL_BE_RESTORED,v=h.DEFAULT_FONT,y={left:1,right:1,center:1},x={top:1,bottom:1,middle:1},_=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],b={},w={};function S(t){if(t){t.font=h.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",t.textPadding&&(t.textPadding=s(t.textPadding))}}function M(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 I(t,e,i,n,o,s,l,u){var h=n.rich[i.styleName]||{};h.text=i.text;var c=i.textVerticalAlign,d=s+o/2;"top"===c?d=s+i.height/2:"bottom"===c&&(d=s+o-i.height/2),!i.isLineHolder&&T(h)&&A(t,e,h,"right"===u?l-i.width:"center"===u?l-i.width/2:l,d-i.height/2,i.width,i.height);var f=i.textPadding;f&&(l=E(l,u,f),d-=i.height/2-f[2]-i.textHeight/2),L(e,"shadowBlur",r(h.textShadowBlur,n.textShadowBlur,0)),L(e,"shadowColor",h.textShadowColor||n.textShadowColor||"transparent"),L(e,"shadowOffsetX",r(h.textShadowOffsetX,n.textShadowOffsetX,0)),L(e,"shadowOffsetY",r(h.textShadowOffsetY,n.textShadowOffsetY,0)),L(e,"textAlign",u),L(e,"textBaseline","middle"),L(e,"font",i.font||v);var p=P(h.textStroke||n.textStroke,m),g=k(h.textFill||n.textFill),m=a(h.textStrokeWidth,n.textStrokeWidth);p&&(L(e,"lineWidth",m),L(e,"strokeStyle",p),e.strokeText(i.text,l,d)),g&&(L(e,"fillStyle",g),e.fillText(i.text,l,d))}function T(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function A(t,e,i,n,a,r,o){var s=i.textBackgroundColor,h=i.textBorderWidth,f=i.textBorderColor,p=l(s);if(L(e,"shadowBlur",i.textBoxShadowBlur||0),L(e,"shadowColor",i.textBoxShadowColor||"transparent"),L(e,"shadowOffsetX",i.textBoxShadowOffsetX||0),L(e,"shadowOffsetY",i.textBoxShadowOffsetY||0),p||h&&f){e.beginPath();var g=i.textBorderRadius;g?c.buildPath(e,{x:n,y:a,width:r,height:o,r:g}):e.rect(n,a,r,o),e.closePath()}if(p)if(L(e,"fillStyle",s),null!=i.fillOpacity){var m=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,e.fill(),e.globalAlpha=m}else e.fill();else if(u(s)){var v=s.image;(v=d.createOrUpdateImage(v,null,t,D,s))&&d.isImageReady(v)&&e.drawImage(v,n,a,r,o)}if(h&&f)if(L(e,"lineWidth",h),L(e,"strokeStyle",f),null!=i.strokeOpacity){m=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,e.stroke(),e.globalAlpha=m}else e.stroke()}function D(t,e){e.image=t}function C(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+O(l[0],n.width),r=n.y+O(l[1],n.height);else{var u=e&&e.calculateTextPosition?e.calculateTextPosition(b,i,n):h.calculateTextPosition(b,i,n);a=u.x,r=u.y,o=o||u.textAlign,s=s||u.textVerticalAlign}var c=i.textOffset;c&&(a+=c[0],r+=c[1])}return(t=t||{}).baseX=a,t.baseY=r,t.textAlign=o,t.textVerticalAlign=s,t}function L(t,e,i){return t[e]=f(t,e,i),t[e]}function P(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function k(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function O(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function E(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}e.normalizeTextStyle=function(t){return S(t),o(t.rich,S),t},e.renderText=function(t,e,i,n,a,r){n.rich?function(t,e,i,n,a,r){r!==m&&(e.__attrCachedBy=g.NONE);var o=t.__textCotentBlock;o&&!t.__dirtyText||(o=t.__textCotentBlock=h.parseRichText(i,n)),function(t,e,i,n,a){var r=i.width,o=i.outerWidth,s=i.outerHeight,l=n.textPadding,u=C(w,t,n,a),c=u.baseX,d=u.baseY,f=u.textAlign,p=u.textVerticalAlign;M(e,n,a,c,d);var g=h.adjustTextX(c,o,f),m=h.adjustTextY(d,s,p),v=g,y=m;l&&(v+=l[3],y+=l[0]);var x=v+r;T(n)&&A(t,e,n,g,m,o,s);for(var _=0;_<i.lines.length;_++){for(var b,S=i.lines[_],D=S.tokens,L=D.length,P=S.lineHeight,k=S.width,O=0,E=v,N=x,R=L-1;O<L&&(!(b=D[O]).textAlign||"left"===b.textAlign);)I(t,e,b,n,P,y,E,"left"),k-=b.width,E+=b.width,O++;for(;R>=0&&"right"===(b=D[R]).textAlign;)I(t,e,b,n,P,y,N,"right"),k-=b.width,N-=b.width,R--;for(E+=(r-(E-v)-(x-N)-k)/2;O<=R;)b=D[O],I(t,e,b,n,P,y,E+b.width/2,"center"),E+=b.width,O++;y+=P}}(t,e,o,n,a)}(t,e,i,n,a,r):function(t,e,i,n,a,r){"use strict";var o,s=T(n),l=!1,u=e.__attrCachedBy===g.PLAIN_TEXT;r!==m?(r&&(o=r.style,l=!s&&u&&o),e.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):u&&(e.__attrCachedBy=g.NONE);var c=n.font||v;l&&c===(o.font||v)||(e.font=c);var d=t.__computedFont;t.__styleFont!==c&&(t.__styleFont=c,d=t.__computedFont=e.font);var p=n.textPadding,y=n.textLineHeight,x=t.__textCotentBlock;x&&!t.__dirtyText||(x=t.__textCotentBlock=h.parsePlainText(i,d,p,y,n.truncate));var b=x.outerHeight,S=x.lines,I=x.lineHeight,D=C(w,t,n,a),L=D.baseX,O=D.baseY,N=D.textAlign||"left",R=D.textVerticalAlign;M(e,n,a,L,O);var z=h.adjustTextY(O,b,R),B=L,V=z;if(s||p){var Y=h.getWidth(i,d),G=Y;p&&(G+=p[1]+p[3]);var F=h.adjustTextX(L,G,N);s&&A(t,e,n,F,z,G,b),p&&(B=E(L,N,p),V+=p[0])}e.textAlign=N,e.textBaseline="middle",e.globalAlpha=n.opacity||1;for(var H=0;H<_.length;H++){var W=_[H],U=W[0],j=W[1],Z=n[U];l&&Z===o[U]||(e[j]=f(e,j,Z||W[2]))}V+=I/2;var X=n.textStrokeWidth,q=l?o.textStrokeWidth:null,K=!l||X!==q,Q=!l||K||n.textStroke!==o.textStroke,J=P(n.textStroke,X),$=k(n.textFill);if(J&&(K&&(e.lineWidth=X),Q&&(e.strokeStyle=J)),$&&(l&&n.textFill===o.textFill||(e.fillStyle=$)),1===S.length)J&&e.strokeText(S[0],B,V),$&&e.fillText(S[0],B,V);else for(var H=0;H<S.length;H++)J&&e.strokeText(S[H],B,V),$&&e.fillText(S[H],B,V),V+=I}(t,e,i,n,a,r)},e.getStroke=P,e.getFill=k,e.needDrawText=function(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}},"q/+u":function(t,e,i){var n=i("ProS"),a=i("9wZj"),r=i("yWXo"),o=i("h8O9");n.extendChartView({type:"scatter",render:function(t,e,i){var n=t.getData();this._updateSymbolDraw(n,t).updateData(n),this._finished=!0},incrementalPrepareRender:function(t,e,i){var n=t.getData();this._updateSymbolDraw(n,t).incrementalPrepareUpdate(n),this._finished=!1},incrementalRender:function(t,e,i){this._symbolDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,i){var n=t.getData();if(this.group.dirty(),!this._finished||n.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var a=o().reset(t);a.progress&&a.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_updateSymbolDraw:function(t,e){var i=this._symbolDraw,n=e.pipelineContext.large;return i&&n===this._isLargeDraw||(i&&i.remove(),i=this._symbolDraw=n?new r:new a,this._isLargeDraw=n,this.group.removeAll()),this.group.add(i.group),i},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(t,e){var i=["lineStyle","normal","opacity"],n={seriesType:"parallel",reset:function(t,e,n){var a=t.getModel("itemStyle"),r=t.getModel("lineStyle"),o=e.get("color"),s=r.get("color")||a.get("color")||o[t.seriesIndex%o.length],l=t.get("inactiveOpacity"),u=t.get("activeOpacity"),h=t.getModel("lineStyle").getLineStyle(),c=t.coordinateSystem,d=t.getData(),f={normal:h.opacity,active:u,inactive:l};return d.setVisual("color",s),{progress:function(t,e){c.eachActiveState(e,function(t,n){var a=f[t];if("normal"===t&&e.hasItemOption){var r=e.getItemModel(n).get(i,!0);null!=r&&(a=r)}e.setItemVisual(n,"opacity",a)},t.start,t.end)}}}};t.exports=n},qH13:function(t,e,i){var n=i("ItGF"),a=i("QBsz").applyTransform,r=i("mFDi"),o=i("Qe9p"),s=i("6GrX"),l=i("pzxd"),u=i("ni6a"),h=i("Gev7"),c=i("Dagg"),d=i("dqUG"),f=i("y+Vt"),p=i("IMiH"),g=i("QuXc"),m=i("06Qe"),v=p.CMD,y=Math.round,x=Math.sqrt,_=Math.abs,b=Math.cos,w=Math.sin,S=Math.max;if(!n.canvasSupported){var M=21600,I=M/2,T=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=M+","+M,t.coordorigin="0,0"},A=function(t,e,i){return"rgb("+[t,e,i].join(",")+")"},D=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},C=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},L=function(t,e,i){return 1e5*(parseFloat(t)||0)+1e3*(parseFloat(e)||0)+i},P=function(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t},k=function(t,e,i){var n=o.parse(e);i=+i,isNaN(i)&&(i=1),n&&(t.color=A(n[0],n[1],n[2]),t.opacity=i*n[3])},O=function(t,e,i,n){var r="fill"===e,s=t.getElementsByTagName(e)[0];null!=i[e]&&"none"!==i[e]&&(r||!r&&i.lineWidth)?(t[r?"filled":"stroked"]="true",i[e]instanceof g&&C(t,s),s||(s=m.createNode(e)),r?function(t,e,i){var n,r,s=e.fill;if(null!=s)if(s instanceof g){var l,u=0,h=[0,0],c=0,d=1,f=i.getBoundingRect(),p=f.width,m=f.height;if("linear"===s.type){l="gradient";var v=i.transform,y=[s.x*p,s.y*m],x=[s.x2*p,s.y2*m];v&&(a(y,y,v),a(x,x,v));var _=x[0]-y[0],b=x[1]-y[1];(u=180*Math.atan2(_,b)/Math.PI)<0&&(u+=360),u<1e-6&&(u=0)}else{l="gradientradial",y=[s.x*p,s.y*m],v=i.transform;var w=i.scale,I=p,T=m;h=[(y[0]-f.x)/I,(y[1]-f.y)/T],v&&a(y,y,v),I/=w[0]*M,T/=w[1]*M;var D=S(I,T);c=0/D,d=2*s.r/D-c}var C=s.colorStops.slice();C.sort(function(t,e){return t.offset-e.offset});for(var L=C.length,P=[],O=[],E=0;E<L;E++){var N=C[E],R=(n=N.color,r=o.parse(n),[A(r[0],r[1],r[2]),r[3]]);O.push(N.offset*d+c+" "+R[0]),0!==E&&E!==L-1||P.push(R)}if(L>=2){var z=P[0][0],B=P[1][0],V=P[0][1]*e.opacity,Y=P[1][1]*e.opacity;t.type=l,t.method="none",t.focus="100%",t.angle=u,t.color=z,t.color2=B,t.colors=O.join(","),t.opacity=Y,t.opacity2=V}"radial"===l&&(t.focusposition=h.join(","))}else k(t,s,e.opacity)}(s,i,n):function(t,e){e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof g||k(t,e.stroke,e.opacity)}(s,i),D(t,s)):(t[r?"filled":"stroked"]="false",C(t,s))},E=[[],[],[]];f.prototype.brushVML=function(t){var e=this.style,i=this._vmlEl;i||(i=m.createNode("shape"),T(i),this._vmlEl=i),O(i,"fill",e,this),O(i,"stroke",e,this);var n=this.transform,r=null!=n,o=i.getElementsByTagName("stroke")[0];if(o){var s=e.lineWidth;if(r&&!e.strokeNoScale){var l=n[0]*n[3]-n[1]*n[2];s*=x(_(l))}o.weight=s+"px"}var u=this.path||(this.path=new p);this.__dirtyPath&&(u.beginPath(),u.subPixelOptimize=!1,this.buildPath(u,this.shape),u.toStatic(),this.__dirtyPath=!1),i.path=function(t,e){var i,n,r,o,s,l,u=v.M,h=v.C,c=v.L,d=v.A,f=v.Q,p=[],g=t.data,m=t.len();for(o=0;o<m;){switch(n="",i=0,r=g[o++]){case u:n=" m ",i=1,s=g[o++],l=g[o++],E[0][0]=s,E[0][1]=l;break;case c:n=" l ",i=1,s=g[o++],l=g[o++],E[0][0]=s,E[0][1]=l;break;case f:case h:n=" c ",i=3;var _,S,T=g[o++],A=g[o++],D=g[o++],C=g[o++];r===f?(_=D,S=C,D=(D+2*T)/3,C=(C+2*A)/3,T=(s+2*T)/3,A=(l+2*A)/3):(_=g[o++],S=g[o++]),E[0][0]=T,E[0][1]=A,E[1][0]=D,E[1][1]=C,E[2][0]=_,E[2][1]=S,s=_,l=S;break;case d:var L=0,P=0,k=1,O=1,N=0;e&&(L=e[4],P=e[5],k=x(e[0]*e[0]+e[1]*e[1]),O=x(e[2]*e[2]+e[3]*e[3]),N=Math.atan2(-e[1]/O,e[0]/k));var R=g[o++],z=g[o++],B=g[o++],V=g[o++],Y=g[o++]+N,G=g[o++]+Y+N;o++;var F=g[o++],H=R+b(Y)*B,W=z+w(Y)*V,U=(T=R+b(G)*B,A=z+w(G)*V,F?" wa ":" at ");Math.abs(H-T)<1e-4&&(Math.abs(G-Y)>.01?F&&(H+=.0125):Math.abs(W-z)<1e-4?F&&H<R||!F&&H>R?A-=.0125:A+=.0125:F&&W<z||!F&&W>z?T+=.0125:T-=.0125),p.push(U,y(((R-B)*k+L)*M-I),",",y(((z-V)*O+P)*M-I),",",y(((R+B)*k+L)*M-I),",",y(((z+V)*O+P)*M-I),",",y((H*k+L)*M-I),",",y((W*O+P)*M-I),",",y((T*k+L)*M-I),",",y((A*O+P)*M-I)),s=T,l=A;break;case v.R:var j=E[0],Z=E[1];j[0]=g[o++],j[1]=g[o++],Z[0]=j[0]+g[o++],Z[1]=j[1]+g[o++],e&&(a(j,j,e),a(Z,Z,e)),j[0]=y(j[0]*M-I),Z[0]=y(Z[0]*M-I),j[1]=y(j[1]*M-I),Z[1]=y(Z[1]*M-I),p.push(" m ",j[0],",",j[1]," l ",Z[0],",",j[1]," l ",Z[0],",",Z[1]," l ",j[0],",",Z[1]);break;case v.Z:p.push(" x ")}if(i>0){p.push(n);for(var X=0;X<i;X++){var q=E[X];e&&a(q,q,e),p.push(y(q[0]*M-I),",",y(q[1]*M-I),X<i-1?",":"")}}}return p.join("")}(u,this.transform),i.style.zIndex=L(this.zlevel,this.z,this.z2),D(t,i),null!=e.text?this.drawRectText(t,this.getBoundingRect()):this.removeRectText(t)},f.prototype.onRemove=function(t){C(t,this._vmlEl),this.removeRectText(t)},f.prototype.onAdd=function(t){D(t,this._vmlEl),this.appendRectText(t)};c.prototype.brushVML=function(t){var e,i,n,r=this.style,o=r.image;if("object"==typeof(n=o)&&n.tagName&&"IMG"===n.tagName.toUpperCase()){var s=o.src;if(s===this._imageSrc)e=this._imageWidth,i=this._imageHeight;else{var l=o.runtimeStyle,u=l.width,h=l.height;l.width="auto",l.height="auto",e=o.width,i=o.height,l.width=u,l.height=h,this._imageSrc=s,this._imageWidth=e,this._imageHeight=i}o=s}else o===this._imageSrc&&(e=this._imageWidth,i=this._imageHeight);if(o){var c=r.x||0,d=r.y||0,f=r.width,p=r.height,g=r.sWidth,v=r.sHeight,_=r.sx||0,b=r.sy||0,w=g&&v,M=this._vmlEl;M||(M=m.doc.createElement("div"),T(M),this._vmlEl=M);var I,A=M.style,C=!1,P=1,k=1;if(this.transform&&(I=this.transform,P=x(I[0]*I[0]+I[1]*I[1]),k=x(I[2]*I[2]+I[3]*I[3]),C=I[1]||I[2]),C){var O=[c,d],E=[c+f,d],N=[c,d+p],R=[c+f,d+p];a(O,O,I),a(E,E,I),a(N,N,I),a(R,R,I);var z=S(O[0],E[0],N[0],R[0]),B=S(O[1],E[1],N[1],R[1]),V=[];V.push("M11=",I[0]/P,",","M12=",I[2]/k,",","M21=",I[1]/P,",","M22=",I[3]/k,",","Dx=",y(c*P+I[4]),",","Dy=",y(d*k+I[5])),A.padding="0 "+y(z)+"px "+y(B)+"px 0",A.filter="progid:DXImageTransform.Microsoft.Matrix("+V.join("")+", SizingMethod=clip)"}else I&&(c=c*P+I[4],d=d*k+I[5]),A.filter="",A.left=y(c)+"px",A.top=y(d)+"px";var Y=this._imageEl,G=this._cropEl;Y||(Y=m.doc.createElement("div"),this._imageEl=Y);var F=Y.style;if(w){if(e&&i)F.width=y(P*e*f/g)+"px",F.height=y(k*i*p/v)+"px";else{var H=new Image,W=this;H.onload=function(){H.onload=null,e=H.width,i=H.height,F.width=y(P*e*f/g)+"px",F.height=y(k*i*p/v)+"px",W._imageWidth=e,W._imageHeight=i,W._imageSrc=o},H.src=o}G||((G=m.doc.createElement("div")).style.overflow="hidden",this._cropEl=G);var U=G.style;U.width=y((f+_*f/g)*P),U.height=y((p+b*p/v)*k),U.filter="progid:DXImageTransform.Microsoft.Matrix(Dx="+-_*f/g*P+",Dy="+-b*p/v*k+")",G.parentNode||M.appendChild(G),Y.parentNode!==G&&G.appendChild(Y)}else F.width=y(P*f)+"px",F.height=y(k*p)+"px",M.appendChild(Y),G&&G.parentNode&&(M.removeChild(G),this._cropEl=null);var j="",Z=r.opacity;Z<1&&(j+=".Alpha(opacity="+y(100*Z)+") "),j+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+o+", SizingMethod=scale)",F.filter=j,M.style.zIndex=L(this.zlevel,this.z,this.z2),D(t,M),null!=r.text&&this.drawRectText(t,this.getBoundingRect())}},c.prototype.onRemove=function(t){C(t,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(t)},c.prototype.onAdd=function(t){D(t,this._vmlEl),this.appendRectText(t)};var N,R={},z=0,B=document.createElement("div");s.$override("measureText",function(t,e){var i=m.doc;N||((N=i.createElement("div")).style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",m.doc.body.appendChild(N));try{N.style.font=e}catch(t){}return N.innerHTML="",N.appendChild(i.createTextNode(t)),{width:N.offsetWidth}});for(var V=new r,Y=function(t,e,i,n){var r=this.style;this.__dirty&&l.normalizeTextStyle(r,!0);var o=r.text;if(null!=o&&(o+=""),o){if(r.rich){var u=s.parseRichText(o,r);o=[];for(var h=0;h<u.lines.length;h++){for(var c=u.lines[h].tokens,d=[],f=0;f<c.length;f++)d.push(c[f].text);o.push(d.join(""))}o=o.join("\n")}var p,g,v=r.textAlign,x=r.textVerticalAlign,_=function(t){var e=R[t];if(!e){z>100&&(z=0,R={});var i,n=B.style;try{n.font=t,i=n.fontFamily.split(",")[0]}catch(t){}e={style:n.fontStyle||"normal",variant:n.fontVariant||"normal",weight:n.fontWeight||"normal",size:0|parseFloat(n.fontSize||12),family:i||"Microsoft YaHei"},R[t]=e,z++}return e}(r.font),b=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';i=i||s.getBoundingRect(o,b,v,x,r.textPadding,r.textLineHeight);var w=this.transform;if(w&&!n&&(V.copy(e),V.applyTransform(w),e=V),n)p=e.x,g=e.y;else{var S=r.textPosition;if(S instanceof Array)p=e.x+P(S[0],e.width),g=e.y+P(S[1],e.height),v=v||"left";else{var M=this.calculateTextPosition?this.calculateTextPosition({},r,e):s.calculateTextPosition({},r,e);p=M.x,g=M.y,v=v||M.textAlign,x=x||M.textVerticalAlign}}p=s.adjustTextX(p,i.width,v),g=s.adjustTextY(g,i.height,x),g+=i.height/2;var I,A,C,k=m.createNode,E=this._textVmlEl;E?A=(I=(C=E.firstChild).nextSibling).nextSibling:(E=k("line"),I=k("path"),A=k("textpath"),C=k("skew"),A.style["v-text-align"]="left",T(E),I.textpathok=!0,A.on=!0,E.from="0 0",E.to="1000 0.05",D(E,C),D(E,I),D(E,A),this._textVmlEl=E);var N=[p,g],Y=E.style;w&&n?(a(N,N,w),C.on=!0,C.matrix=w[0].toFixed(3)+","+w[2].toFixed(3)+","+w[1].toFixed(3)+","+w[3].toFixed(3)+",0,0",C.offset=(y(N[0])||0)+","+(y(N[1])||0),C.origin="0 0",Y.left="0px",Y.top="0px"):(C.on=!1,Y.left=y(p)+"px",Y.top=y(g)+"px"),A.string=String(o).replace(/&/g,"&amp;").replace(/"/g,"&quot;");try{A.style.font=b}catch(t){}O(E,"fill",{fill:r.textFill,opacity:r.opacity},this),O(E,"stroke",{stroke:r.textStroke,opacity:r.opacity,lineDash:r.lineDash||null},this),E.style.zIndex=L(this.zlevel,this.z,this.z2),D(t,E)}},G=function(t){C(t,this._textVmlEl),this._textVmlEl=null},F=function(t){D(t,this._textVmlEl)},H=[u,h,c,f,d],W=0;W<H.length;W++){var U=H[W].prototype;U.drawRectText=Y,U.removeRectText=G,U.appendRectText=F}d.prototype.brushVML=function(t){var e=this.style;null!=e.text?this.drawRectText(t,{x:e.x||0,y:e.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(t)},d.prototype.onRemove=function(t){this.removeRectText(t)},d.prototype.onAdd=function(t){this.appendRectText(t)}}},qJCg:function(t,e,i){var n=i("BlVb"),a=i("mFDi"),r=i("IwbS").linePolygonIntersect;function o(t){var e=["x","y"],i=["width","height"];return{point:function(e,i,n){if(e){var a=n.range;return s(e[t],a)}},rect:function(n,a,r){if(n){var o=r.range,l=[n[e[t]],n[e[t]]+n[i[t]]];return l[1]<l[0]&&l.reverse(),s(l[0],o)||s(l[1],o)||s(o[0],l)||s(o[1],l)}}}}function s(t,e){return e[0]<=t&&t<=e[1]}var l={lineX:o(0),lineY:o(1),rect:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])},rect:function(t,e,i){return t&&i.boundingRect.intersect(t)}},polygon:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])&&n.contain(i.range,t[0],t[1])},rect:function(t,e,i){var o=i.range;if(!t||o.length<=1)return!1;var s=t.x,l=t.y,u=t.width,h=t.height,c=o[0];return!!(n.contain(o,s,l)||n.contain(o,s+u,l)||n.contain(o,s,l+h)||n.contain(o,s+u,l+h)||a.create(t).contain(c[0],c[1])||r(s,l,s+u,l,o)||r(s,l,s,l+h,o)||r(s+u,l,s+u,l+h,o)||r(s,l+h,s+u,l+h,o))||void 0}}};t.exports=l},qMZE:function(t,e,i){var n=i("JEkh").extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});t.exports=n},qWt2:function(t,e,i){var n=i("ProS").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=n},qZFw:function(t,e,i){var n=i("bYtY"),a=i("6GrX"),r=i("hM6l"),o=(0,i("4NO4").makeInner)();function s(t,e){e=e||[0,360],r.call(this,"angle",t,e),this.type="category"}s.prototype={constructor:s,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToAngle:r.prototype.dataToCoord,angleToData:r.prototype.coordToData,calculateCategoryInterval:function(){var t=this.getLabelModel(),e=this.scale,i=e.getExtent(),n=e.count();if(i[1]-i[0]<1)return 0;var r=i[0],s=this.dataToCoord(r+1)-this.dataToCoord(r),l=Math.abs(s),u=a.getBoundingRect(r,t.getFont(),"center","top"),h=Math.max(u.height,7)/l;isNaN(h)&&(h=1/0);var c=Math.max(0,Math.floor(h)),d=o(this.model),f=d.lastAutoInterval,p=d.lastTickCount;return null!=f&&null!=p&&Math.abs(f-c)<=1&&Math.abs(p-n)<=1&&f>c?c=f:(d.lastTickCount=n,d.lastAutoInterval=c),c}},n.inherits(s,r);var l=s;t.exports=l},qgGe:function(t,e,i){var n=i("bYtY"),a=i("T4UG"),r=i("Bsck"),o=i("VaxA").wrapTreePathInfo,s=a.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(t,e){var i={name:t.name,children:t.data};!function t(e){var i=0;n.each(e.children,function(e){t(e);var a=e.value;n.isArray(a)&&(a=a[0]),i+=a});var a=e.value;n.isArray(a)&&(a=a[0]);(null==a||isNaN(a))&&(a=i);a<0&&(a=0);n.isArray(e.value)?e.value[0]=a:e.value=a}(i);var a=t.levels||[],o={};return o.levels=a,r.createTree(i,this,o).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var e=a.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=o(i,this),e},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0,emphasis:{}},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1,emphasis:{},highlight:{opacity:1},downplay:{opacity:.9}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});t.exports=s},qj72:function(t,e,i){var n=i("bYtY");function a(t,e){return e=e||[0,0],n.map(["x","y"],function(i,n){var a=this.getAxis(i),r=e[n],o=t[n]/2;return"category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(r-o)-a.dataToCoord(r+o))},this)}t.exports=function(t){var e=t.grid.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:n.bind(a,t)}}}},"qt/9":function(t,e,i){var n=i("ProS"),a=i("bYtY");i("Wqna"),i("1tlw"),i("Mylv");var r=i("nVfU").layout,o=i("f5Yq");i("Ae16"),n.registerLayout(a.curry(r,"pictorialBar")),n.registerVisual(o("pictorialBar","roundRect"))},qwVE:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("K4ya"),o=i("XxSj"),s=n.PRIORITY.VISUAL.COMPONENT;function l(t,e,i,n){for(var a=e.targetVisuals[n],r=o.prepareVisualTypes(a),s={color:t.getData().getVisual("color")},l=0,u=r.length;l<u;l++){var h=r[l],c=a["opacity"===h?"__alphaForOpacity":h];c&&c.applyVisual(i,d,f)}return s.color;function d(t){return s[t]}function f(t,e){s[t]=e}}n.registerVisual(s,{createOnAllSeries:!0,reset:function(t,e){var i=[];return e.eachComponent("visualMap",function(e){var n=t.pipelineContext;!e.isTargetSeries(t)||n&&n.large||i.push(r.incrementalApplyVisual(e.stateList,e.targetVisuals,a.bind(e.getValueState,e),e.getDataDimension(t.getData())))}),i}}),n.registerVisual(s,{createOnAllSeries:!0,reset:function(t,e){var i=t.getData(),n=[];e.eachComponent("visualMap",function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta(a.bind(l,null,t,e))||{stops:[],outerColors:[]},o=e.getDataDimension(i),s=i.getDimensionInfo(o);null!=s&&(r.dimension=s.index,n.push(r))}}),t.getData().setVisual("visualMeta",n)}})},r6Bn:function(t,e,i){var n=i("bYtY"),a=i("ItGF"),r=i("4fz+"),o=i("BPZU");function s(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(t,e){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(t,e)},getDisplayList:function(t,e){return e=e||!1,t&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var e=this._roots,i=this._displayList,n=0,r=e.length;n<r;n++)this._updateAndAddDisplayable(e[n],null,t);i.length=this._displayListLen,a.canvasSupported&&o(i,s)},_updateAndAddDisplayable:function(t,e,i){if(!t.ignore||i){t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var n=t.clipPath;if(n){e=e?e.slice():[];for(var a=n,r=t;a;)a.parent=r,a.updateTransform(),e.push(a),r=a,a=a.clipPath}if(t.isGroup){for(var o=t._children,s=0;s<o.length;s++){var l=o[s];t.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,e,i)}t.__dirty=!1}else t.__clipPaths=e,this._displayList[this._displayListLen++]=t}},addRoot:function(t){t.__storage!==this&&(t instanceof r&&t.addChildrenToStorage(this),this.addToStorage(t),this._roots.push(t))},delRoot:function(t){if(null==t){for(var e=0;e<this._roots.length;e++){var i=this._roots[e];i instanceof r&&i.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(t instanceof Array){e=0;for(var a=t.length;e<a;e++)this.delRoot(t[e])}else{var o=n.indexOf(this._roots,t);o>=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof r&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;t.exports=u},rA99:function(t,e,i){var n=i("y+Vt"),a=i("QBsz"),r=i("Sj9i"),o=r.quadraticSubdivide,s=r.cubicSubdivide,l=r.quadraticAt,u=r.cubicAt,h=r.quadraticDerivativeAt,c=r.cubicDerivativeAt,d=[];function f(t,e,i){var n=t.cpx2,a=t.cpy2;return null===n||null===a?[(i?c:u)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?c:u)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?h:l)(t.x1,t.cpx1,t.x2,e),(i?h:l)(t.y1,t.cpy1,t.y2,e)]}var p=n.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.x1,n=e.y1,a=e.x2,r=e.y2,l=e.cpx1,u=e.cpy1,h=e.cpx2,c=e.cpy2,f=e.percent;0!==f&&(t.moveTo(i,n),null==h||null==c?(f<1&&(o(i,l,a,f,d),l=d[1],a=d[2],o(n,u,r,f,d),u=d[1],r=d[2]),t.quadraticCurveTo(l,u,a,r)):(f<1&&(s(i,l,h,a,f,d),l=d[1],h=d[2],a=d[3],s(n,u,c,r,f,d),u=d[1],c=d[2],r=d[3]),t.bezierCurveTo(l,u,h,c,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},rdor:function(t,e,i){var n=i("lOQZ").circularLayout;t.exports=function(t){t.eachSeriesByType("graph",function(t){"circular"===t.get("layout")&&n(t,"symbolSize")})}},rfSb:function(t,e,i){var n=i("T4UG"),a=i("sdST"),r=i("L0Ub").getDimensionTypeByAxis,o=i("YXkt"),s=i("bYtY"),l=i("4NO4").groupData,u=i("7aKB").encodeHTML,h=n.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){h.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(t){var e=t.length,i=[];l(t,function(t){return t[2]}).buckets.each(function(t,e){i.push({name:e,dataList:t})});for(var n=i.length,a=-1,r=-1,o=0;o<n;++o){var s=i[o].dataList.length;s>a&&(a=s,r=o)}for(var u=0;u<n;++u)if(u!==r)for(var h=i[u].name,c=0;c<a;++c){for(var d=i[r].dataList[c][0],f=i[u].dataList.length,p=-1,g=0;g<f;++g){if(i[u].dataList[g][0]===d){p=g;break}}-1===p&&(t[e]=[],t[e][0]=d,t[e][1]=0,t[e][2]=h,e++)}return t},getInitialData:function(t,e){for(var i=e.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0].get("type"),n=s.filter(t.data,function(t){return void 0!==t[2]}),l=this.fixData(n||[]),u=[],h=this.nameMap=s.createHashMap(),c=0,d=0;d<l.length;++d)u.push(l[d][2]),h.get(l[d][2])||(h.set(l[d][2],c),c++);var f=a(l,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:r(i)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),p=new o(f,this);return p.initData(l),p},getLayerSeries:function(){for(var t=this.getData(),e=t.count(),i=[],n=0;n<e;++n)i[n]=n;var a=t.mapDimension("single"),r=[];return l(i,function(e){return t.get("name",e)}).buckets.each(function(e,i){e.sort(function(e,i){return t.get(a,e)-t.get(a,i)}),r.push({name:i,indices:e})}),r},getAxisTooltipData:function(t,e,i){s.isArray(t)||(t=t?[t]:[]);for(var n,a=this.getData(),r=this.getLayerSeries(),o=[],l=r.length,u=0;u<l;++u){for(var h=Number.MAX_VALUE,c=-1,d=r[u].indices.length,f=0;f<d;++f){var p=a.get(t[0],r[u].indices[f]),g=Math.abs(p-e);g<=h&&(n=p,h=g,c=r[u].indices[f])}o.push(c)}return{dataIndices:o,nestestValue:n}},formatTooltip:function(t){var e=this.getData(),i=e.getName(t),n=e.get(e.mapDimension("value"),t);return(isNaN(n)||null==n)&&(n="-"),u(i+" : "+n)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),c=h;t.exports=c},rkZ5:function(t,e,i){i("Tghj").__DEV__;var n=i("ProS"),a=i("c8qY"),r=i("D9ME"),o=i("fls0"),s=i("RSch"),l=i("akwb"),u=i("o40c"),h=i("ZYIC"),c=n.extendChartView({type:"lines",init:function(){},render:function(t,e,i){var n=t.getData(),a=this._updateLineDraw(n,t),r=t.get("zlevel"),o=t.get("effect.trailLength"),s=i.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(r).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&o&&(l||s.configLayer(r,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(o/10+.9,1),0)})),a.updateData(n),this._lastZlevel=r,this._finished=!0},incrementalPrepareRender:function(t,e,i){var n=t.getData();this._updateLineDraw(n,t).incrementalPrepareUpdate(n),this._clearLayer(i),this._finished=!1},incrementalRender:function(t,e,i){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,i){var n=t.getData(),a=t.pipelineContext;if(!this._finished||a.large||a.progressiveRender)return{update:!0};var r=h.reset(t);r.progress&&r.progress({start:0,end:n.count()},n),this._lineDraw.updateLayout(),this._clearLayer(i)},_updateLineDraw:function(t,e){var i=this._lineDraw,n=this._showEffect(e),h=!!e.get("polyline"),c=e.pipelineContext.large;return i&&n===this._hasEffet&&h===this._isPolyline&&c===this._isLargeDraw||(i&&i.remove(),i=this._lineDraw=c?new u:new a(h?n?l:s:n?r:o),this._hasEffet=n,this._isPolyline=h,this._isLargeDraw=c,this.group.removeAll()),this.group.add(i.group),i},_showEffect:function(t){return!!t.get("effect.show")},_clearLayer:function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});t.exports=c},rmlV:function(t,e,i){var n=i("y+Vt").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=n},rnVJ:function(t,e,i){var n=i("bYtY"),a=["rect","polygon","keep","clear"];t.exports=function(t,e){var i=t&&t.brush;if(n.isArray(i)||(i=i?[i]:[]),i.length){var r=[];n.each(i,function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(r=r.concat(e))});var o=t&&t.toolbox;n.isArray(o)&&(o=o[0]),o||(o={feature:{}},t.toolbox=[o]);var s,l,u=o.feature||(o.feature={}),h=u.brush||(u.brush={}),c=h.type||(h.type=[]);c.push.apply(c,r),s=c,l={},n.each(s,function(t){l[t]=1}),s.length=0,n.each(l,function(t,e){s.push(e)}),e&&!c.length&&c.push.apply(c,a)}}},rySg:function(t,e,i){i("SMc4"),i("8nMs")},s2lz:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("IwbS"),o=i("gPAo"),s=i("VaxA"),l=i("9hCq"),u=i("SgGq"),h=i("mFDi"),c=i("Fofx"),d=i("5s0K"),f=i("KCsZ"),p=a.bind,g=r.Group,m=r.Rect,v=a.each,y=["label"],x=["emphasis","label"],_=["upperLabel"],b=["emphasis","upperLabel"],w=10,S=1,M=2,I=f([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),T=function(t){var e=I(t);return e.stroke=e.fill=e.lineWidth=null,e},A=n.extendChartView({type:"treemap",init:function(t,e){this._containerGroup,this._storage={nodeGroup:[],background:[],content:[]},this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(t,e,i,n){var r=e.findComponents({mainType:"series",subType:"treemap",query:n});if(!(a.indexOf(r,t)<0)){this.seriesModel=t,this.api=i,this.ecModel=e;var o=s.retrieveTargetInfo(n,["treemapZoomToNode","treemapRootToNode"],t),l=n&&n.type,u=t.layoutInfo,h=!this._oldTree,c=this._storage,d="treemapRootToNode"===l&&o&&c?{rootNodeGroup:c.nodeGroup[o.node.getRawIndex()],direction:n.direction}:null,f=this._giveContainerGroup(u),p=this._doRender(f,t,d);h||l&&"treemapZoomToNode"!==l&&"treemapRootToNode"!==l?p.renderFinally():this._doAnimation(f,p,t,d),this._resetController(i),this._renderBreadcrumb(t,i,o)}},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new g,this._initEvents(e),this.group.add(e)),e.attr("position",[t.x,t.y]),e},_doRender:function(t,e,i){var n=e.getData().tree,r=this._oldTree,s={nodeGroup:[],background:[],content:[]},l={nodeGroup:[],background:[],content:[]},u=this._storage,h=[],c=a.curry(D,e,l,u,i,s,h);!function t(e,i,n,r,s){r?(i=e,v(e,function(t,e){!t.isRemoved()&&u(e,e)})):new o(i,e,l,l).add(u).update(u).remove(a.curry(u,null)).execute();function l(t){return t.getId()}function u(a,o){var l=null!=a?e[a]:null,u=null!=o?i[o]:null,h=c(l,u,n,s);h&&t(l&&l.viewChildren||[],u&&u.viewChildren||[],h,r,s+1)}}(n.root?[n.root]:[],r&&r.root?[r.root]:[],t,n===r||!r,0);var d=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&v(t,function(t,i){var n=e[i];v(t,function(t){t&&(n.push(t),t.__tmWillDelete=1)})}),e}(u);return this._oldTree=n,this._storage=l,{lastsForAnimation:s,willDeleteEls:d,renderFinally:function(){v(d,function(t){v(t,function(t){t.parent&&t.parent.remove(t)})}),v(h,function(t){t.invisible=!0,t.dirty()})}}},_doAnimation:function(t,e,i,n){if(i.get("animation")){var r=i.get("animationDurationUpdate"),o=i.get("animationEasing"),s=d.createWrap();v(e.willDeleteEls,function(t,e){v(t,function(t,i){if(!t.invisible){var a,l=t.parent;if(n&&"drillDown"===n.direction)a=l===n.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,h=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,h=l.__tmNodeHeight/2),a="nodeGroup"===e?{position:[u,h],style:{opacity:0}}:{shape:{x:u,y:h,width:0,height:0},style:{opacity:0}}}a&&s.add(t,a,r,o)}})}),v(this._storage,function(t,i){v(t,function(t,n){var l=e.lastsForAnimation[i][n],u={};l&&("nodeGroup"===i?l.old&&(u.position=t.position.slice(),t.attr("position",l.old)):(l.old&&(u.shape=a.extend({},t.shape),t.setShape(l.old)),l.fadein?(t.setStyle("opacity",0),u.style={opacity:1}):1!==t.style.opacity&&(u.style={opacity:1})),s.add(t,u,r,o))})},this),this._state="animating",s.done(p(function(){this._state="ready",e.renderFinally()},this)).start()}},_resetController:function(t){var e=this._controller;e||((e=this._controller=new u(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",p(this._onPan,this)),e.on("zoom",p(this._onZoom,this)));var i=new h(0,0,t.getWidth(),t.getHeight());e.setPointerChecker(function(t,e,n){return i.contain(e,n)})},_clearController:function(){var t=this._controller;t&&(t.dispose(),t=null)},_onPan:function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var i=e.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+t.dx,y:i.y+t.dy,width:i.width,height:i.height}})}},_onZoom:function(t){var e=t.originX,i=t.originY;if("animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var a=n.getLayout();if(!a)return;var r=new h(a.x,a.y,a.width,a.height),o=this.seriesModel.layoutInfo;e-=o.x,i-=o.y;var s=c.create();c.translate(s,s,[-e,-i]),c.scale(s,s,[t.scale,t.scale]),c.translate(s,s,[e,i]),r.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x,y:r.y,width:r.width,height:r.height}})}},_initEvents:function(t){t.on("click",function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var i=this.findTarget(t.offsetX,t.offsetY);if(i){var n=i.node;if(n.getLayout().isLeafRoot)this._rootToNode(i);else if("zoomToNode"===e)this._zoomToNode(i);else if("link"===e){var a=n.hostTree.data.getItemModel(n.dataIndex),r=a.get("link",!0),o=a.get("target",!0)||"blank";r&&window.open(r,o)}}}}},this)},_renderBreadcrumb:function(t,e,i){i||(i=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(i={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(t,e,i.node,p(function(e){"animating"!==this._state&&(s.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))},this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var i;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(n){var a=this._storage.background[n.getRawIndex()];if(a){var r=a.transformCoordToLocal(t,e),o=a.shape;if(!(o.x<=r[0]&&r[0]<=o.x+o.width&&o.y<=r[1]&&r[1]<=o.y+o.height))return!1;i={node:n,offsetX:r[0],offsetY:r[1]}}},this),i}});function D(t,e,i,n,o,s,l,u,h,c){if(l){var d=l.getLayout();if(d&&d.isInView){var f=d.width,p=d.height,v=d.borderWidth,A=d.invisible,D=l.getRawIndex(),C=u&&u.getRawIndex(),L=l.viewChildren,P=d.upperHeight,k=L&&L.length,O=l.getModel("itemStyle"),E=l.getModel("emphasis.itemStyle"),N=Y("nodeGroup",g);if(N){if(h.add(N),N.attr("position",[d.x||0,d.y||0]),N.__tmNodeWidth=f,N.__tmNodeHeight=p,d.isAboveViewRoot)return N;var R=Y("background",m,c,S);if(R&&function(e,i,n){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex,i.setShape({x:0,y:0,width:f,height:p});var a=l.getVisual("borderColor",!0),o=E.get("borderColor");B(i,function(){var t=T(O);t.fill=a;var e=I(E);if(e.fill=o,n){var s=f-2*v;V(t,e,a,s,P,{x:v,y:0,width:s,height:P})}else t.text=e.text=null;i.setStyle(t),r.setHoverStyle(i,e)}),e.add(i)}(N,R,k&&d.upperHeight),!k){var z=Y("content",m,c,M);z&&function(e,i){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex;var n=Math.max(f-2*v,0),a=Math.max(p-2*v,0);i.culling=!0,i.setShape({x:v,y:v,width:n,height:a});var o=l.getVisual("color",!0);B(i,function(){var t=T(O);t.fill=o;var e=I(E);V(t,e,o,n,a),i.setStyle(t),r.setHoverStyle(i,e)}),e.add(i)}(N,z)}return N}}}function B(t,e){A?!t.invisible&&s.push(t):(e(),t.__tmWillVisible||(t.invisible=!1))}function V(e,i,n,o,s,u){var h=l.getModel(),c=a.retrieve(t.getFormattedLabel(l.dataIndex,"normal",null,null,u?"upperLabel":"label"),h.get("name"));if(!u&&d.isLeafRoot){var f=t.get("drillDownIcon",!0);c=f?f+" "+c:c}var p=h.getModel(u?_:y),g=h.getModel(u?b:x),m=p.getShallow("show");r.setLabelStyle(e,i,p,g,{defaultText:m?c:null,autoColor:n,isRectText:!0}),u&&(e.textRect=a.clone(u)),e.truncate=m&&p.get("ellipsis")?{outerWidth:o,outerHeight:s,minChar:2}:null}function Y(t,r,s,u){var h=null!=C&&i[t][C],c=o[t];return h?(i[t][C]=null,function(t,e,i){(t[D]={}).old="nodeGroup"===i?e.position.slice():a.extend({},e.shape)}(c,h,t)):A||((h=new r({z:function(t,e){var i=t*w+e;return(i-1)/i}(s,u)})).__tmDepth=s,h.__tmStorageName=t,function(t,e,i){var a=t[D]={},r=l.parentNode;if(r&&(!n||"drillDown"===n.direction)){var s=0,u=0,h=o.background[r.getRawIndex()];!n&&h&&h.old&&(s=h.old.width,u=h.old.height),a.old="nodeGroup"===i?[0,u]:{x:s,y:u,width:0,height:0}}a.fadein="nodeGroup"!==i}(c,0,t)),e[t][D]=h}}t.exports=A},sAZ8:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("+rIm"),o=i("/IIm"),s=i("9KIM"),l=i("IwbS"),u=["axisLine","axisTickLabel","axisName"],h=n.extendComponentView({type:"parallelAxis",init:function(t,e){h.superApply(this,"init",arguments),(this._brushController=new o(e.getZr())).on("brush",a.bind(this._onBrush,this))},render:function(t,e,i,n){if(!function(t,e,i){return i&&"axisAreaSelect"===i.type&&e.findComponents({mainType:"parallelAxis",query:i})[0]===t}(t,e,n)){this.axisModel=t,this.api=i,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),t.get("show")){var s=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),h=s.coordinateSystem,c=t.getAreaSelectStyle(),d=c.width,f=t.axis.dim,p=h.getAxisLayout(f),g=a.extend({strokeContainThreshold:d},p),m=new r(t,g);a.each(u,m.add,m),this._axisGroup.add(m.getGroup()),this._refreshBrushController(g,c,t,s,d,i);var v=n&&!1===n.animation?null:t;l.groupTransition(o,this._axisGroup,v)}}},_refreshBrushController:function(t,e,i,n,r,o){var u=i.axis.getExtent(),h=u[1]-u[0],c=Math.min(30,.1*Math.abs(h)),d=l.BoundingRect.create({x:u[0],y:-r/2,width:h,height:r});d.x-=c,d.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(d),isTargetByCursor:s.makeRectIsTargetByCursor(d,o,n),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(d,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return a.map(t.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}})}(i))},_onBrush:function(t,e){var i=this.axisModel,n=i.axis,r=a.map(t,function(t){return[n.coordToData(t.range[0],!0),n.coordToData(t.range[1],!0)]});(!i.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:r})},dispose:function(){this._brushController.dispose()}});var c=h;t.exports=c},sRwP:function(t,e,i){i("jsU+"),i("2548"),i("Tp9H"),i("06DH"),i("dnwI"),i("fE02"),i("33Ds")},"sS/r":function(t,e,i){var n=i("4fz+"),a=i("iRjW"),r=i("Yl7c"),o=function(){this.group=new n,this.uid=a.getUID("viewComponent")},s=o.prototype={constructor:o,init:function(t,e){},render:function(t,e,i,n){},dispose:function(){},filterForExposedEvent:null};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},"sW+o":function(t,e,i){var n=i("SrGk"),a=i("bYtY"),r=i("SUKs"),o=i("Qe9p");function s(t,e){n.call(this,t,e,["linearGradient","radialGradient"],"__gradient_in_use__")}a.inherits(s,n),s.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var i=this;a.each(["fill","stroke"],function(n){if(e.style[n]&&("linear"===e.style[n].type||"radial"===e.style[n].type)){var a,r=e.style[n],o=i.getDefs(!0);r._dom?(a=r._dom,o.contains(r._dom)||i.addDom(a)):a=i.add(r),i.markUsed(e);var s=a.getAttribute("id");t.setAttribute(n,"url(#"+s+")")}})}},s.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return r("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},s.prototype.update=function(t){var e=this;n.prototype.update.call(this,t,function(){var i=t.type,n=t._dom.tagName;"linear"===i&&"linearGradient"===n||"radial"===i&&"radialGradient"===n?e.updateDom(t,t._dom):(e.removeDom(t),e.add(t))})},s.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void r("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var i=t.colorStops,n=0,a=i.length;n<a;++n){var s=this.createElement("stop");s.setAttribute("offset",100*i[n].offset+"%");var l=i[n].color;if(l.indexOf(!1)){var u=o.parse(l)[3],h=o.toHex(l);s.setAttribute("stop-color","#"+h),s.setAttribute("stop-opacity",u)}else s.setAttribute("stop-color",i[n].color);e.appendChild(s)}t._dom=e},s.prototype.markUsed=function(t){if(t.style){var e=t.style.fill;e&&e._dom&&n.prototype.markUsed.call(this,e._dom),(e=t.style.stroke)&&e._dom&&n.prototype.markUsed.call(this,e._dom)}};var l=s;t.exports=l},sdST:function(t,e,i){var n=i("hi0g");t.exports=function(t,e){return n((e=e||{}).coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}},szbU:function(t,e,i){var n=i("bYtY"),a=n.each;function r(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}t.exports=function(t){var e=t&&t.visualMap;n.isArray(e)||(e=e?[e]:[]),a(e,function(t){if(t){r(t,"splitList")&&!r(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&n.isArray(e)&&a(e,function(t){n.isObject(t)&&(r(t,"start")&&!r(t,"min")&&(t.min=t.start),r(t,"end")&&!r(t,"max")&&(t.max=t.end))})}})}},tBnm:function(t,e,i){var n=i("bYtY"),a=i("IwbS"),r=i("Qxkt"),o=i("Znkb"),s=i("+rIm"),l=["axisLine","axisLabel","axisTick","splitLine","splitArea"];function u(t,e,i){e[1]>e[0]&&(e=e.slice().reverse());var n=t.coordToPoint([e[0],i]),a=t.coordToPoint([e[1],i]);return{x1:n[0],y1:n[1],x2:a[0],y2:a[1]}}function h(t){return t.getRadiusAxis().inverse?0:1}function c(t){var e=t[0],i=t[t.length-1];e&&i&&Math.abs(Math.abs(e.coord-i.coord)-360)<1e-4&&t.pop()}var d=o.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,a=i.polar,r=a.getRadiusAxis().getExtent(),o=i.getTicksCoords(),s=n.map(i.getViewLabels(),function(t){return(t=n.clone(t)).coord=i.dataToCoord(t.tickValue),t});c(s),c(o),n.each(l,function(e){!t.get(e+".show")||i.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,a,o,r,s)},this)}},_axisLine:function(t,e,i,n){var r=t.getModel("axisLine.lineStyle"),o=new a.Circle({shape:{cx:e.cx,cy:e.cy,r:n[h(e)]},style:r.getLineStyle(),z2:1,silent:!0});o.style.fill=null,this.group.add(o)},_axisTick:function(t,e,i,r){var o=t.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),l=r[h(e)],c=n.map(i,function(t){return new a.Line({shape:u(e,[l,l+s],t.coord)})});this.group.add(a.mergePath(c,{style:n.defaults(o.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_axisLabel:function(t,e,i,o,l){var u=t.getCategories(!0),c=t.getModel("axisLabel"),d=c.get("margin"),f=t.get("triggerEvent");n.each(l,function(i,n){var l=c,p=i.tickValue,g=o[h(e)],m=e.coordToPoint([g+d,i.coord]),v=e.cx,y=e.cy,x=Math.abs(m[0]-v)/g<.3?"center":m[0]>v?"left":"right",_=Math.abs(m[1]-y)/g<.3?"middle":m[1]>y?"top":"bottom";u&&u[p]&&u[p].textStyle&&(l=new r(u[p].textStyle,c,c.ecModel));var b=new a.Text({silent:s.isLabelSilent(t)});this.group.add(b),a.setTextStyle(b.style,l,{x:m[0],y:m[1],textFill:l.getTextColor()||t.get("axisLine.lineStyle.color"),text:i.formattedLabel,textAlign:x,textVerticalAlign:_}),f&&(b.eventData=s.makeAxisEventDataBase(t),b.eventData.targetType="axisLabel",b.eventData.value=i.rawLabel)},this)},_splitLine:function(t,e,i,r){var o=t.getModel("splitLine").getModel("lineStyle"),s=o.get("color"),l=0;s=s instanceof Array?s:[s];for(var h=[],c=0;c<i.length;c++){var d=l++%s.length;h[d]=h[d]||[],h[d].push(new a.Line({shape:u(e,r,i[c].coord)}))}for(c=0;c<h.length;c++)this.group.add(a.mergePath(h[c],{style:n.defaults({stroke:s[c%s.length]},o.getLineStyle()),silent:!0,z:t.get("z")}))},_splitArea:function(t,e,i,r){if(i.length){var o=t.getModel("splitArea").getModel("areaStyle"),s=o.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],h=Math.PI/180,c=-i[0].coord*h,d=Math.min(r[0],r[1]),f=Math.max(r[0],r[1]),p=t.get("clockwise"),g=1;g<i.length;g++){var m=l++%s.length;u[m]=u[m]||[],u[m].push(new a.Sector({shape:{cx:e.cx,cy:e.cy,r0:d,r:f,startAngle:c,endAngle:-i[g].coord*h,clockwise:p},silent:!0})),c=-i[g].coord*h}for(g=0;g<u.length;g++)this.group.add(a.mergePath(u[g],{style:n.defaults({fill:s[g%s.length]},o.getAreaStyle()),silent:!0}))}}});t.exports=d},tceW:function(t,e,i){var n=i("KCsZ")([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),a={getBarItemStyle:function(t){var e=n(this,t);if(this.getBorderLineDash){var i=this.getBorderLineDash();i&&(e.lineDash=i)}return e}};t.exports=a},txkQ:function(t,e,i){var n=i("aX58");e.zrender=n;var a=i("Fofx");e.matrix=a;var r=i("QBsz");e.vector=r;var o=i("bYtY"),s=i("Qe9p");e.color=s;var l=i("IwbS"),u=i("OELB");e.number=u;var h=i("7aKB");e.format=h;var c=i("iLNv");c.throttle;e.throttle=c.throttle;var d=i("FUi9");e.helper=d;var f=i("vafp");e.parseGeoJSON=f;var p=i("YXkt");e.List=p;var g=i("Qxkt");e.Model=g;var m=i("hM6l");e.Axis=m;var v=i("ItGF");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","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=_},u3DP:function(t,e,i){var n=i("6GrX"),a=Math.PI/180;function r(t,e,i,n,a,r,o){function s(e,i,n,a){for(var r=e;r<i;r++)if(t[r].y+=n,r>e&&r+1<i&&t[r+1].y>t[r].y+t[r].height)return void l(r,n/2);l(i-1,n/2)}function l(e,i){for(var n=e;n>=0&&(t[n].y-=i,!(n>0&&t[n].y>t[n-1].y+t[n-1].height));n--);}function u(t,e,i,n,a,r){for(var o=e?Number.MAX_VALUE:0,s=0,l=t.length;s<l;s++){var u=Math.abs(t[s].y-n),h=t[s].len,c=t[s].len2,d=u<a+h?Math.sqrt((a+h+c)*(a+h+c)-u*u):Math.abs(t[s].x-i);e&&d>=o&&(d=o-10),!e&&d<=o&&(d=o+10),t[s].x=i+d*r,o=d}}t.sort(function(t,e){return t.y-e.y});for(var h,c=0,d=t.length,f=[],p=[],g=0;g<d;g++)(h=t[g].y-c)<0&&s(g,d,-h),c=t[g].y+t[g].height;o-c<0&&l(d-1,c-o);for(g=0;g<d;g++)t[g].y>=i?p.push(t[g]):f.push(t[g]);u(f,!1,e,i,n,a),u(p,!0,e,i,n,a)}function o(t){return"center"===t.position}t.exports=function(t,e,i,s,l){var u,h,c=t.getData(),d=[],f=!1,p=(t.get("minShowLabelAngle")||0)*a;c.each(function(i){var a=c.getItemLayout(i),r=c.getItemModel(i),o=r.getModel("label"),s=o.get("position")||r.get("emphasis.label.position"),l=r.getModel("labelLine"),g=l.get("length"),m=l.get("length2");if(!(a.angle<p)){var v,y,x,_,b=(a.startAngle+a.endAngle)/2,w=Math.cos(b),S=Math.sin(b);u=a.cx,h=a.cy;var M="inside"===s||"inner"===s;if("center"===s)v=a.cx,y=a.cy,_="center";else{var I=(M?(a.r+a.r0)/2*w:a.r*w)+u,T=(M?(a.r+a.r0)/2*S:a.r*S)+h;if(v=I+3*w,y=T+3*S,!M){var A=I+w*(g+e-a.r),D=T+S*(g+e-a.r),C=A+(w<0?-1:1)*m;v=C+(w<0?-5:5),y=D,x=[[I,T],[A,D],[C,D]]}_=M?"center":w>0?"left":"right"}var L,P=o.getFont(),k=o.get("rotate");L="number"==typeof k?k*(Math.PI/180):k?w<0?-b+Math.PI:-b:0;var O=t.getFormattedLabel(i,"normal")||c.getName(i),E=n.getBoundingRect(O,P,_,"top");f=!!L,a.label={x:v,y:y,position:s,height:E.height,len:g,len2:m,linePoints:x,textAlign:_,verticalAlign:"middle",rotation:L,inside:M},M||d.push(a.label)}}),!f&&t.get("avoidLabelOverlap")&&function(t,e,i,n,a,s){for(var l=[],u=[],h=0;h<t.length;h++)o(t[h])||(t[h].x<e?l.push(t[h]):u.push(t[h]));for(r(u,e,i,n,1,0,s),r(l,e,i,n,-1,0,s),h=0;h<t.length;h++)if(!o(t[h])){var c=t[h].linePoints;if(c){var d=c[1][0]-c[2][0];t[h].x<e?c[2][0]=t[h].x+3:c[2][0]=t[h].x-3,c[1][1]=c[2][1]=t[h].y,c[1][0]=c[2][0]+d}}}(d,u,h,e,0,s)}},uAnK:function(t,e,i){var n=i("bYtY"),a=i("Kagy"),r=i("KxfA").retrieveRawValue;t.exports=function(t,e){var i=e.getModel("aria");if(i.get("show"))if(i.get("description"))t.setAttribute("aria-label",i.get("description"));else{var o=0;e.eachSeries(function(t,e){++o},this);var s,l=i.get("data.maxCount")||10,u=i.get("series.maxCount")||10,h=Math.min(o,u);if(!(o<1)){var c=function(){var t=e.getModel("title").option;return t&&t.length&&(t=t[0]),t&&t.text}();s=c?f(p("general.withTitle"),{title:c}):p("general.withoutTitle");var d=[];s+=f(p(o>1?"series.multiple.prefix":"series.single.prefix"),{seriesCount:o}),e.eachSeries(function(t,e){if(e<h){var i,n=t.get("name"),s="series."+(o>1?"multiple":"single")+".";i=f(i=p(n?s+"withName":s+"withoutName"),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(y=t.subType,a.series.typeNames[y]||"自定义图")});var u=t.getData();window.data=u,u.count()>l?i+=f(p("data.partialData"),{displayCnt:l}):i+=p("data.allData");for(var c=[],g=0;g<u.count();g++)if(g<l){var m=u.getName(g),v=r(u,g);c.push(f(p(m?"data.withName":"data.withoutName"),{name:m,value:v}))}i+=c.join(p("data.separator.middle"))+p("data.separator.end"),d.push(i)}var y}),s+=d.join(p("series.multiple.separator.middle"))+p("series.multiple.separator.end"),t.setAttribute("aria-label",s)}}function f(t,e){if("string"!=typeof t)return t;var i=t;return n.each(e,function(t,e){i=i.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)}),i}function p(t){var e=i.get(t);if(null==e){for(var n=t.split("."),r=a.aria,o=0;o<n.length;++o)r=r[n[o]];return r}return e}}},uOyE:function(t,e,i){var n=i("ProS");n.registerAction({type:"brush",event:"brush"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(e){e.setAreas(t.areas)})}),n.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){})},v5uJ:function(t,e,i){var n=i("ProS"),a=i("2B6p").updateCenterAndZoom;n.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var i=t.dataIndex,n=e.getData().tree.getNodeByDataIndex(i);n.isExpand=!n.isExpand})}),n.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var i=e.coordinateSystem,n=a(i,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)})})},"vF/C":function(t,e,i){i("bLfw").registerSubTypeDefaulter("visualMap",function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})},vKoX:function(t,e,i){var n=i("SrGk");function a(t,e){n.call(this,t,e,["filter"],"__filter_in_use__","_shadowDom")}function r(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}i("bYtY").inherits(a,n),a.prototype.addWithoutUpdate=function(t,e){if(e&&r(e.style)){var i,n=e.style;if(n._shadowDom)i=n._shadowDom,this.getDefs(!0).contains(n._shadowDom)||this.addDom(i);else i=this.add(e);this.markUsed(e);var a=i.getAttribute("id");t.style.filter="url(#"+a+")"}},a.prototype.add=function(t){var e=this.createElement("filter"),i=t.style;return i._shadowDomId=i._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+i._shadowDomId),this.updateDom(t,e),this.addDom(e),e},a.prototype.update=function(t,e){var i=e.style;if(r(i)){var a=this;n.prototype.update.call(this,e,function(t){a.updateDom(e,t._shadowDom)})}else this.remove(t,i)},a.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(e),t.style.filter="")},a.prototype.updateDom=function(t,e){var i=e.getElementsByTagName("feDropShadow");i=0===i.length?this.createElement("feDropShadow"):i[0];var n,a,r,o,s=t.style,l=t.scale&&t.scale[0]||1,u=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)n=s.shadowOffsetX||0,a=s.shadowOffsetY||0,r=s.shadowBlur,o=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);n=s.textShadowOffsetX||0,a=s.textShadowOffsetY||0,r=s.textShadowBlur,o=s.textShadowColor}i.setAttribute("dx",n/l),i.setAttribute("dy",a/u),i.setAttribute("flood-color",o);var h=r/2/l+" "+r/2/u;i.setAttribute("stdDeviation",h),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(r/2*200)+"%"),e.setAttribute("height",Math.ceil(r/2*200)+"%"),e.appendChild(i),s._shadowDom=e},a.prototype.markUsed=function(t){var e=t.style;e&&e._shadowDom&&n.prototype.markUsed.call(this,e._shadowDom)};var o=a;t.exports=o},vL6D:function(t,e,i){var n=i("bYtY"),a=i("+rIm"),r=i("IwbS"),o=i("7bkD"),s=["axisLine","axisTickLabel","axisName"],l=i("Znkb").extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,e,i,r){var u=this.group;u.removeAll();var h=o.layout(t),c=new a(t,h);n.each(s,c.add,c),u.add(c.getGroup()),t.get("splitLine.show")&&this._splitLine(t),l.superCall(this,"render",t,e,i,r)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){var i=t.getModel("splitLine"),n=i.getModel("lineStyle"),a=n.get("width"),o=n.get("color");o=o instanceof Array?o:[o];for(var s=t.coordinateSystem.getRect(),l=e.isHorizontal(),u=[],h=0,c=e.getTicksCoords({tickModel:i}),d=[],f=[],p=0;p<c.length;++p){var g=e.toGlobalCoord(c[p].coord);l?(d[0]=g,d[1]=s.y,f[0]=g,f[1]=s.y+s.height):(d[0]=s.x,d[1]=g,f[0]=s.x+s.width,f[1]=g);var m=h++%o.length;u[m]=u[m]||[],u[m].push(new r.Line({subPixelOptimize:!0,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:{lineWidth:a},silent:!0}))}for(p=0;p<u.length;++p)this.group.add(r.mergePath(u[p],{style:{stroke:o[p%o.length],lineDash:n.getLineDash(a),lineWidth:a},silent:!0}))}}}),u=l;t.exports=u},vWvF:function(t,e,i){var n=i("Bq2U"),a=i("SUKs"),r=i("bYtY"),o=r.isString,s=r.isFunction,l=r.isObject,u=r.isArrayLike,h=r.indexOf,c=function(){this.animators=[]};function d(t,e,i,n,a,r,h,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(),function t(e,i,n,a,r,o,s){var h={};var c=0;for(var d in a)a.hasOwnProperty(d)&&(null!=n[d]?l(a[d])&&!u(a[d])?t(e,i?i+"."+d:d,n[d],a[d],r,o,s):(s?(h[d]=n[d],f(e,i,d,a[d])):h[d]=a[d],c++):null==a[d]||s||f(e,i,d,a[d]));c>0&&e.animate(i,!1).when(null==r?500:r,h).delay(o||0)}(t,"",t,e,i,n,c);var d=t.animators.slice(),p=d.length;function g(){--p||r&&r()}p||r&&r();for(var m=0;m<d.length;m++)d[m].done(g).start(a,h)}function f(t,e,i,n){if(e){var a={};a[e]={},a[e][i]=n,t.attr(a)}else t.attr(i,n)}c.prototype={constructor:c,animate:function(t,e){var i,r=!1,o=this,s=this.__zr;if(t){var l=t.split("."),u=o;r="shape"===l[0];for(var c=0,d=l.length;c<d;c++)u&&(u=u[l[c]]);u&&(i=u)}else i=o;if(i){var f=o.animators,p=new n(i,e);return p.during(function(t){o.dirty(r)}).done(function(){f.splice(h(f,p),1)}),f.push(p),s&&s.animation.addAnimator(p),p}a('Property "'+t+'" is not existed in element '+o.id)},stopAnimation:function(t){for(var e=this.animators,i=e.length,n=0;n<i;n++)e[n].stop(t);return e.length=0,this},animateTo:function(t,e,i,n,a,r){d(this,t,e,i,n,a,r)},animateFrom:function(t,e,i,n,a,r){d(this,t,e,i,n,a,r,!0)}};var p=c;t.exports=p},vZ6x:function(t,e,i){i("Tghj").__DEV__;var n=i("bYtY"),a=i("IwbS"),r=i("4NO4"),o=i("9KIM"),s=n.each,l=n.indexOf,u=n.curry,h=["dataToPoint","pointToData"],c=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function d(t,e,i){var n=this._targetInfoList=[],a={},r=g(e,t);s(m,function(t,e){(!i||!i.include||l(i.include,e)>=0)&&t(r,n,a)})}var f=d.prototype;function p(t){return t[0]>t[1]&&t.reverse(),t}function g(t,e){return r.parseFinder(t,e,{includeMainTypes:c})}f.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,function(t,e,i){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var n=x[t.brushType](0,i,e);t.__rangeOffset={offset:b[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax}}})},f.matchOutputRanges=function(t,e,i){s(t,function(t){var a=this.findTargetInfo(t,e);a&&!0!==a&&n.each(a.coordSyses,function(n){var a=x[t.brushType](1,n,t.range);i(t,a.values,n,e)})},this)},f.setInputRanges=function(t,e){s(t,function(t){var i,n,a,r,o,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=x[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?b[t.brushType](l.values,u.offset,(i=l.xyMinMax,n=u.xyMinMax,a=S(i),r=S(n),o=[a[0]/r[0],a[1]/r[1]],isNaN(o[0])&&(o[0]=1),isNaN(o[1])&&(o[1]=1),o)):l.values}},this)},f.makePanelOpts=function(t,e){return n.map(this._targetInfoList,function(i){var n=i.getPanelRect();return{panelId:i.panelId,defaultBrushType:e&&e(i),clipPath:o.makeRectPanelClipPath(n),isTargetByCursor:o.makeRectIsTargetByCursor(n,t,i.coordSysModel),getLinearBrushOtherExtent:o.makeLinearBrushOtherExtent(n)}})},f.controlSeries=function(t,e,i){var n=this.findTargetInfo(t,i);return!0===n||n&&l(n.coordSyses,e.coordinateSystem)>=0},f.findTargetInfo=function(t,e){for(var i=this._targetInfoList,n=g(e,t),a=0;a<i.length;a++){var r=i[a],o=t.panelId;if(o){if(r.panelId===o)return r}else for(a=0;a<v.length;a++)if(v[a](n,r))return r}return!0};var m={grid:function(t,e){var i=t.xAxisModels,a=t.yAxisModels,r=t.gridModels,o=n.createHashMap(),u={},h={};(i||a||r)&&(s(i,function(t){var e=t.axis.grid.model;o.set(e.id,e),u[e.id]=!0}),s(a,function(t){var e=t.axis.grid.model;o.set(e.id,e),h[e.id]=!0}),s(r,function(t){o.set(t.id,t),u[t.id]=!0,h[t.id]=!0}),o.each(function(t){var n=t.coordinateSystem,r=[];s(n.getCartesians(),function(t,e){(l(i,t.getAxis("x").model)>=0||l(a,t.getAxis("y").model)>=0)&&r.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:r[0],coordSyses:r,getPanelRect:y.grid,xAxisDeclared:u[t.id],yAxisDeclared:h[t.id]})}))},geo:function(t,e){s(t.geoModels,function(t){var i=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:i,coordSyses:[i],getPanelRect:y.geo})})}},v=[function(t,e){var i=t.xAxisModel,n=t.yAxisModel,a=t.gridModel;return!a&&i&&(a=i.axis.grid.model),!a&&n&&(a=n.axis.grid.model),a&&a===e.gridModel},function(t,e){var i=t.geoModel;return i&&i===e.geoModel}],y={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(a.getTransform(t)),e}},x={lineX:u(_,0),lineY:u(_,1),rect:function(t,e,i){var n=e[h[t]]([i[0][0],i[1][0]]),a=e[h[t]]([i[0][1],i[1][1]]),r=[p([n[0],a[0]]),p([n[1],a[1]])];return{values:r,xyMinMax:r}},polygon:function(t,e,i){var a=[[1/0,-1/0],[1/0,-1/0]];return{values:n.map(i,function(i){var n=e[h[t]](i);return a[0][0]=Math.min(a[0][0],n[0]),a[1][0]=Math.min(a[1][0],n[1]),a[0][1]=Math.max(a[0][1],n[0]),a[1][1]=Math.max(a[1][1],n[1]),n}),xyMinMax:a}}};function _(t,e,i,a){var r=i.getAxis(["x","y"][t]),o=p(n.map([0,1],function(t){return e?r.coordToData(r.toLocalCoord(a[t])):r.toGlobalCoord(r.dataToCoord(a[t]))})),s=[];return s[t]=o,s[1-t]=[NaN,NaN],{values:o,xyMinMax:s}}var b={lineX:u(w,0),lineY:u(w,1),rect:function(t,e,i){return[[t[0][0]-i[0]*e[0][0],t[0][1]-i[0]*e[0][1]],[t[1][0]-i[1]*e[1][0],t[1][1]-i[1]*e[1][1]]]},polygon:function(t,e,i){return n.map(t,function(t,n){return[t[0]-i[0]*e[n][0],t[1]-i[1]*e[n][1]]})}};function w(t,e,i,n){return[e[0]-n[t]*i[0],e[1]-n[t]*i[1]]}function S(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var M=d;t.exports=M},vZI5:function(t,e,i){var n=i("bYtY"),a=i("T4UG"),r=i("5GhG").seriesModelMixin,o=a.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(t,e,i){var n=e.getItemLayout(t);return n&&i.rect(n.brushRect)}});n.mixin(o,r,!0);var s=o;t.exports=s},vafp:function(t,e,i){var n=i("bYtY"),a=i("8nly");function r(t,e,i){for(var n=[],a=e[0],r=e[1],o=0;o<t.length;o+=2){var s=t.charCodeAt(o)-64,l=t.charCodeAt(o+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),a=s+=a,r=l+=r,n.push([s/i,l/i])}return n}t.exports=function(t){return function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var i=t.features,n=0;n<i.length;n++)for(var a=i[n].geometry,o=a.coordinates,s=a.encodeOffsets,l=0;l<o.length;l++){var u=o[l];if("Polygon"===a.type)o[l]=r(u,s[l],e);else if("MultiPolygon"===a.type)for(var h=0;h<u.length;h++){var c=u[h];u[h]=r(c,s[l][h],e)}}t.UTF8Encoding=!1}(t),n.map(n.filter(t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var e=t.properties,i=t.geometry,r=i.coordinates,o=[];"Polygon"===i.type&&o.push({type:"polygon",exterior:r[0],interiors:r.slice(1)}),"MultiPolygon"===i.type&&n.each(r,function(t){t[0]&&o.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});var s=new a(e.name,o,e.cp);return s.properties=e,s})}},vcCh:function(t,e,i){var n=i("ProS");i("0qV/"),n.registerAction({type:"dragNode",event:"dragNode",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])})})},wDdD:function(t,e,i){var n=i("ProS"),a=i("bYtY");i("98bh"),i("GrNh");var r=i("d4KN"),o=i("mOdp"),s=i("KS52"),l=i("0/Rx");r("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),n.registerVisual(o("pie")),n.registerLayout(a.curry(s,"pie")),n.registerProcessor(l("pie"))},wt3j:function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("/IIm"),o=n.extendComponentView({type:"brush",init:function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new r(e.getZr())).on("brush",a.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,s.apply(this,arguments)},updateTransform:s,updateView:s,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var i=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:a.clone(t),$from:i})}});function s(t,e,i,n){(!n||n.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(i)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}t.exports=o},x3X8:function(t,e,i){var n=i("KxfA").retrieveRawValue;e.getDefaultLabel=function(t,e){var i=t.mapDimension("defaultedLabel",!0),a=i.length;if(1===a)return n(t,e,i[0]);if(a){for(var r=[],o=0;o<i.length;o++){var s=n(t,e,i[o]);r.push(s)}return r.join(" ")}}},x6Kt:function(t,e,i){var n=i("y+Vt"),a=i("VpOo"),r=i("nPnh").subPixelOptimizeRect,o={},s=n.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var i,n,s,l;this.subPixelOptimize?(r(o,e,this.style),i=o.x,n=o.y,s=o.width,l=o.height,o.r=e.r,e=o):(i=e.x,n=e.y,s=e.width,l=e.height),e.r?a.buildPath(t,e):t.rect(i,n,s,l),t.closePath()}});t.exports=s},xRUu:function(t,e,i){i("hJvP"),i("hFmY"),i("sAZ8")},xSat:function(t,e){var i={axisPointer:1,tooltip:1,brush:1};e.onIrrelevantElement=function(t,e,n){var a=e.getComponentByElement(t.topTarget),r=a&&a.coordinateSystem;return a&&a!==n&&!i[a.mainType]&&r&&r.model!==n}},xTNl: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},xiyX:function(t,e,i){var n=i("bYtY"),a=i("bLfw"),r=i("nkfE"),o=i("ICMv"),s=a.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}});n.merge(s.prototype,o),r("single",s,function(t,e){return e.type||(e.data?"category":"value")},{left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}});var l=s;t.exports=l},"y+Vt":function(t,e,i){var n=i("Gev7"),a=i("bYtY"),r=i("IMiH"),o=i("2DNl"),s=i("3C/r").prototype.getCanvasPattern,l=Math.abs,u=new r(!0);function h(t){n.call(this,t),this.path=null}h.prototype={constructor:h,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var i,n=this.style,a=this.path||u,r=n.hasStroke(),o=n.hasFill(),l=n.fill,h=n.stroke,c=o&&!!l.colorStops,d=r&&!!h.colorStops,f=o&&!!l.image,p=r&&!!h.image;(n.bind(t,this,e),this.setTransform(t),this.__dirty)&&(c&&(i=i||this.getBoundingRect(),this._fillGradient=n.getGradient(t,l,i)),d&&(i=i||this.getBoundingRect(),this._strokeGradient=n.getGradient(t,h,i)));c?t.fillStyle=this._fillGradient:f&&(t.fillStyle=s.call(l,t)),d?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=s.call(h,t));var g=n.lineDash,m=n.lineDashOffset,v=!!t.setLineDash,y=this.getGlobalScale();if(a.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!v&&r?(a.beginPath(t),g&&!v&&(a.setLineDash(g),a.setLineDashOffset(m)),this.buildPath(a,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),o)if(null!=n.fillOpacity){var x=t.globalAlpha;t.globalAlpha=n.fillOpacity*n.opacity,a.fill(t),t.globalAlpha=x}else a.fill(t);if(g&&v&&(t.setLineDash(g),t.lineDashOffset=m),r)if(null!=n.strokeOpacity){x=t.globalAlpha;t.globalAlpha=n.strokeOpacity*n.opacity,a.stroke(t),t.globalAlpha=x}else a.stroke(t);g&&v&&t.setLineDash([]),null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,i){},createPathProxy:function(){this.path=new r},getBoundingRect:function(){var t=this._rect,e=this.style,i=!t;if(i){var n=this.path;n||(n=this.path=new r),this.__dirtyPath&&(n.beginPath(),this.buildPath(n,this.shape,!1)),t=n.getBoundingRect()}if(this._rect=t,e.hasStroke()){var a=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||i){a.copy(t);var o=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),s>1e-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&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(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 c=h;t.exports=c},"y+lR":function(t,e,i){var n=i("bYtY"),a=i("z35g");function r(t){a.call(this,t)}r.prototype={constructor:r,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||[])[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||[])[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||[])[0]=i.coordToData(i.toLocalCoord(t[0])),e[1]=n.coordToData(n.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")}},n.inherits(r,a);var o=r;t.exports=o},y23F:function(t,e){function i(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}function n(t,e){return{target:t,topTarget:e&&e.topTarget}}i.prototype={constructor:i,_dragStart:function(t){var e=t.target;e&&e.draggable&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(n(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var i=t.offsetX,a=t.offsetY,r=i-this._x,o=a-this._y;this._x=i,this._y=a,e.drift(r,o,t),this.dispatchToElement(n(e,t),"drag",t.event);var s=this.findHover(i,a,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.dispatchToElement(n(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(n(s,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(n(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(n(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var a=i;t.exports=a},y2l5:function(t,e,i){var n=i("MwEJ"),a=i("T4UG").extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(t,e){return n(this.getSource(),this)},brushSelector:"point",getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8}}});t.exports=a},y3NT:function(t,e,i){var n=i("OELB").parsePercent,a=i("bYtY"),r=(Math.PI,Math.PI/180);t.exports=function(t,e,i,o){e.eachSeriesByType(t,function(t){var e=t.get("center"),o=t.get("radius");a.isArray(o)||(o=[0,o]),a.isArray(e)||(e=[e,e]);var s=i.getWidth(),l=i.getHeight(),u=Math.min(s,l),h=n(e[0],s),c=n(e[1],l),d=n(o[0],u/2),f=n(o[1],u/2),p=-t.get("startAngle")*r,g=t.get("minAngle")*r,m=t.getData().tree.root,v=t.getViewRoot(),y=v.depth,x=t.get("sort");null!=x&&function t(e,i){var n=e.children||[];e.children=function(t,e){if("function"==typeof e)return t.sort(e);var i="asc"===e;return t.sort(function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(i?-1:1):n})}(n,i),n.length&&a.each(e.children,function(e){t(e,i)})}(v,x);var _=0;a.each(v.children,function(t){!isNaN(t.getValue())&&_++});var b=v.getValue(),w=Math.PI/(b||_)*2,S=v.depth>0,M=v.height-(S?-1:1),I=(f-d)/(M||1),T=t.get("clockwise"),A=t.get("stillShowZeroSum"),D=T?1:-1,C=function(t,e){if(t){var i=e;if(t!==m){var r=t.getValue(),o=0===b&&A?w:r*w;o<g&&(o=g),i=e+D*o;var s=t.depth-y-(S?-1:1),l=d+I*s,f=d+I*(s+1),p=t.getModel();null!=p.get("r0")&&(l=n(p.get("r0"),u/2)),null!=p.get("r")&&(f=n(p.get("r"),u/2)),t.setLayout({angle:o,startAngle:e,endAngle:i,clockwise:T,cx:h,cy:c,r0:l,r:f})}if(t.children&&t.children.length){var v=0;a.each(t.children,function(t){v+=C(t,e+v)})}return i-e}};if(S){var L=d,P=d+I,k=2*Math.PI;m.setLayout({angle:k,startAngle:p,endAngle:p+k,clockwise:T,cx:h,cy:c,r0:L,r:P})}C(v,p)})}},"y4/Y":function(t,e,i){var n=i("ProS"),a=i("bYtY"),r=i("zTMp"),o=i("62sa");i("SKx+"),i("1LEl"),i("Sp2Z"),n.registerPreprocessor(function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!a.isArray(e)&&(t.axisPointer.link=[e])}}),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=r.collect(t,e)}),n.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},o)},y7Aq:function(t,e,i){var n=i("bYtY"),a=i("+TT/").getLayoutRect;e.getItemAlign=function(t,e,i){var n=t.option,r=n.align;if(null!=r&&"auto"!==r)return r;for(var o={width:e.getWidth(),height:e.getHeight()},s="horizontal"===n.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],u=l[s],h=[0,null,10],c={},d=0;d<3;d++)c[l[1-s][d]]=h[d],c[u[d]]=2===d?i[0]:n[u[d]];var f=[["x","width",3],["y","height",0]][s],p=a(c,o,n.padding);return u[(p.margin[f[2]]||0)+p[f[0]]+.5*p[f[1]]<.5*o[f[1]]?0:1]},e.makeHighDownBatch=function(t,e){return n.each(t||[],function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")}),t}},yO87:function(t,e,i){var n=i("bYtY"),a=i("oVpE").createSymbol,r=i("IwbS").Group,o=i("OELB").parsePercent,s=i("FBjb");function l(t,e){t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?e.color:null,fill:"fill"===e.brushType?e.color:null}})})}function u(t,e){r.call(this);var i=new s(t,e),n=new r;this.add(i),this.add(n),n.beforeUpdate=function(){this.attr(i.getScale())},this.updateData(t,e)}var h=u.prototype;h.stopEffectAnimation=function(){this.childAt(1).removeAll()},h.startEffectAnimation=function(t){for(var e=t.symbolType,i=t.color,n=this.childAt(1),r=0;r<3;r++){var o=a(e,-1,-1,2,2,i);o.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var s=-r/3*t.period+t.effectOffset;o.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(s).start(),o.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),n.add(o)}l(n,t)},h.updateEffectAnimation=function(t){for(var e=this._effectCfg,i=this.childAt(1),n=["symbolType","period","rippleScale"],a=0;a<n.length;a++){var r=n[a];if(e[r]!==t[r])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}l(i,t)},h.highlight=function(){this.trigger("emphasis")},h.downplay=function(){this.trigger("normal")},h.updateData=function(t,e){var i=t.hostModel;this.childAt(0).updateData(t,e);var a=this.childAt(1),r=t.getItemModel(e),s=t.getItemVisual(e,"symbol"),l=function(t){return n.isArray(t)||(t=[+t,+t]),t}(t.getItemVisual(e,"symbolSize")),u=t.getItemVisual(e,"color");a.attr("scale",l),a.traverse(function(t){t.attr({fill:u})});var h=r.getShallow("symbolOffset");if(h){var c=a.position;c[0]=o(h[0],l[0]),c[1]=o(h[1],l[1])}a.rotation=(r.getShallow("symbolRotate")||0)*Math.PI/180||0;var d={};if(d.showEffectOn=i.get("showEffectOn"),d.rippleScale=r.get("rippleEffect.scale"),d.brushType=r.get("rippleEffect.brushType"),d.period=1e3*r.get("rippleEffect.period"),d.effectOffset=e/t.count(),d.z=r.getShallow("z")||0,d.zlevel=r.getShallow("zlevel")||0,d.symbolType=s,d.color=u,this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===d.showEffectOn)this._effectCfg?this.updateEffectAnimation(d):this.startEffectAnimation(d),this._effectCfg=d;else{this._effectCfg=null,this.stopEffectAnimation();var f=this.childAt(0),p=function(){f.highlight(),"render"!==d.showEffectOn&&this.startEffectAnimation(d)},g=function(){f.downplay(),"render"!==d.showEffectOn&&this.stopEffectAnimation()};this.on("mouseover",p,this).on("mouseout",g,this).on("emphasis",p,this).on("normal",g,this)}this._effectCfg=d},h.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},n.inherits(u,r);var c=u;t.exports=c},yS9w:function(t,e,i){var n=i("MEGo"),a=n.parseSVG,r=n.makeViewBoxTransform,o=i("4fz+"),s=i("x6Kt"),l=i("bYtY"),u=l.assert,h=l.createHashMap,c=i("mFDi"),d=(0,i("4NO4").makeInner)(),f={load:function(t,e){var i=d(e).originRoot;if(i)return{root:i,boundingRect:d(e).boundingRect};var n=p(e);return d(e).originRoot=n.root,d(e).boundingRect=n.boundingRect,n},makeGraphic:function(t,e,i){var n=d(e),a=n.rootMap||(n.rootMap=h()),r=a.get(i);if(r)return r;var o=n.originRoot,s=n.boundingRect;return n.originRootHostKey?r=p(e,s).root:(n.originRootHostKey=i,r=o),a.set(i,r)},removeGraphic:function(t,e,i){var n=d(e),a=n.rootMap;a&&a.removeKey(i),i===n.originRootHostKey&&(n.originRootHostKey=null)}};function p(t,e){var i,n,l=t.svgXML;try{n=(i=l&&a(l,{ignoreViewBox:!0,ignoreRootClip:!0})||{}).root,u(null!=n)}catch(t){throw new Error("Invalid svg format\n"+t.message)}var h=i.width,d=i.height,f=i.viewBoxRect;if(e||(e=null==h||null==d?n.getBoundingRect():new c(0,0,0,0),null!=h&&(e.width=h),null!=d&&(e.height=d)),f){var p=r(f,e.width,e.height),g=n;(n=new o).add(g),g.scale=p.scale,g.position=p.position}return n.setClipPath(new s({shape:e.plain()})),{root:n,boundingRect:e}}t.exports=f},yWXo:function(t,e,i){var n=i("IwbS"),a=i("oVpE").createSymbol,r=i("OS9S"),o=n.extendShape({shape:{points:null},symbolProxy:null,buildPath:function(t,e){var i=e.points,n=e.size,a=this.symbolProxy,r=a.shape;if(!((t.getContext?t.getContext():t)&&n[0]<4))for(var o=0;o<i.length;){var s=i[o++],l=i[o++];isNaN(s)||isNaN(l)||(r.x=s-n[0]/2,r.y=l-n[1]/2,r.width=n[0],r.height=n[1],a.buildPath(t,r,!0))}},afterBrush:function(t){var e=this.shape,i=e.points,n=e.size;if(n[0]<4){this.setTransform(t);for(var a=0;a<i.length;){var r=i[a++],o=i[a++];isNaN(r)||isNaN(o)||t.fillRect(r-n[0]/2,o-n[1]/2,n[0],n[1])}this.restoreTransform(t)}},findDataIndex:function(t,e){for(var i=this.shape,n=i.points,a=i.size,r=Math.max(a[0],4),o=Math.max(a[1],4),s=n.length/2-1;s>=0;s--){var l=2*s,u=n[l]-r/2,h=n[l+1]-o/2;if(t>=u&&e>=h&&t<=u+r&&e<=h+o)return s}return-1}});function s(){this.group=new n.Group}var l=s.prototype;l.isPersistent=function(){return!this._incremental},l.updateData=function(t){this.group.removeAll();var e=new o({rectHover:!0,cursor:"default"});e.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},l.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");this.group.eachChild(function(t){if(null!=t.startIndex){var i=2*(t.endIndex-t.startIndex),n=4*t.startIndex*2;e=new Float32Array(e.buffer,n,i)}t.setShape("points",e)})}},l.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new r({silent:!0})),this.group.add(this._incremental)):this._incremental=null},l.incrementalUpdate=function(t,e){var i;this._incremental?(i=new o,this._incremental.addDisplayable(i,!0)):((i=new o({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end})).incremental=!0,this.group.add(i)),i.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(i,e,!!this._incremental)},l._setCommon=function(t,e,i){var n=e.hostModel,r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.symbolProxy=a(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(n.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var s=e.getVisual("color");s&&t.setColor(s),i||(t.seriesIndex=n.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var i=t.findDataIndex(e.offsetX,e.offsetY);i>=0&&(t.dataIndex=i+(t.startIndex||0))}))},l.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},l._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var u=s;t.exports=u},yik8:function(t,e,i){var n=i("bZqE"),a=n.eachAfter,r=n.eachBefore,o=i("Itpr"),s=o.init,l=o.firstWalk,u=o.secondWalk,h=o.separation,c=o.radialCoordinate,d=o.getViewRect;t.exports=function(t,e){t.eachSeriesByType("tree",function(t){!function(t,e){var i=d(t,e);t.layoutInfo=i;var n=t.get("layout"),o=0,f=0,p=null;"radial"===n?(o=2*Math.PI,f=Math.min(i.height,i.width)/2,p=h(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(o=i.width,f=i.height,p=h());var g=t.getData().tree.root,m=g.children[0];if(m){s(g),a(m,l,p),g.hierNode.modifier=-m.hierNode.prelim,r(m,u);var v=m,y=m,x=m;r(m,function(t){var e=t.getLayout().x;e<v.getLayout().x&&(v=t),e>y.getLayout().x&&(y=t),t.depth>x.depth&&(x=t)});var _=v===y?1:p(v,y)/2,b=_-v.getLayout().x,w=0,S=0,M=0,I=0;if("radial"===n)w=o/(y.getLayout().x+_+b),S=f/(x.depth-1||1),r(m,function(t){M=(t.getLayout().x+b)*w,I=(t.depth-1)*S;var e=c(M,I);t.setLayout({x:e.x,y:e.y,rawX:M,rawY:I},!0)});else{var T=t.getOrient();"RL"===T||"LR"===T?(S=f/(y.getLayout().x+_+b),w=o/(x.depth-1||1),r(m,function(t){I=(t.getLayout().x+b)*S,M="LR"===T?(t.depth-1)*w:o-(t.depth-1)*w,t.setLayout({x:M,y:I},!0)})):"TB"!==T&&"BT"!==T||(w=o/(y.getLayout().x+_+b),S=f/(x.depth-1||1),r(m,function(t){M=(t.getLayout().x+b)*w,I="TB"===T?(t.depth-1)*S:f-(t.depth-1)*S,t.setLayout({x:M,y:I},!0)}))}}}(t,e)})}},ypgQ:function(t,e,i){var n=i("bYtY"),a=i("4NO4"),r=i("bLfw"),o=n.each,s=n.clone,l=n.map,u=n.merge,h=/^(min|max)?(.+)$/;function c(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function d(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(h);if(i&&i[1]&&i[2]){var n=i[1],o=i[2].toLowerCase();(function(t,e,i){return"min"===i?t>=e:"max"===i?t<=e:t===e})(a[o],t,n)||(r=!1)}}),r}c.prototype={constructor:c,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,h,c=this._optionBackup,d=function(t,e,i){var a,r,s=[],l=[],u=t.timeline;t.baseOption&&(r=t.baseOption);(u||t.options)&&(r=r||{},s=(t.options||[]).slice());if(t.media){r=r||{};var h=t.media;o(h,function(t){t&&t.option&&(t.query?l.push(t):a||(a=t))})}r||(r=t);r.timeline||(r.timeline=u);return 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}}.call(this,t,e,!c);this._newBaseOption=d.baseOption,c?(i=c.baseOption,h=d.baseOption,o(h=h||{},function(t,e){if(null!=t){var n=i[e];if(r.hasClass(e)){t=a.normalizeToArray(t),n=a.normalizeToArray(n);var o=a.mappingToExists(n,t);i[e]=l(o,function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option})}else i[e]=u(n,t,!0)}}),d.timelineOptions.length&&(c.timelineOptions=d.timelineOptions),d.mediaList.length&&(c.mediaList=d.mediaList),d.mediaDefault&&(c.mediaDefault=d.mediaDefault)):this._optionBackup=d},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,i,n=this._api.getWidth(),a=this._api.getHeight(),r=this._mediaList,o=this._mediaDefault,u=[],h=[];if(!r.length&&!o)return h;for(var c=0,f=r.length;c<f;c++)d(r[c].query,n,a)&&u.push(c);return!u.length&&o&&(u=[-1]),u.length&&(e=u,i=this._currentMediaIndices,e.join(",")!==i.join(","))&&(h=l(u,function(t){return s(-1===t?o.option:r[t].option)})),this._currentMediaIndices=u,h}};var f=c;t.exports=f},yxFR:function(t,e,i){var n=i("y+Vt"),a=i("nPnh").subPixelOptimizeLine,r={},o=n.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i,n,o,s;this.subPixelOptimize?(a(r,e,this.style),i=r.x1,n=r.y1,o=r.x2,s=r.y2):(i=e.x1,n=e.y1,o=e.x2,s=e.y2);var l=e.percent;0!==l&&(t.moveTo(i,n),l<1&&(o=i*(1-l)+o*l,s=n*(1-l)+s*l),t.lineTo(o,s))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=o},z35g:function(t,e,i){var n=i("bYtY");function a(t){return this._axes[t]}var r=function(t){this._axes={},this._dimList=[],this.name=t||""};r.prototype={constructor:r,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return n.map(this._dimList,a,this)},getAxesByScale:function(t){return t=t.toLowerCase(),n.filter(this.getAxes(),function(e){return e.scale.type===t})},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var i=this._dimList,n=t instanceof Array?[]:{},a=0;a<i.length;a++){var r=i[a],o=this._axes[r];n[r]=o[e](t[r])}return n}};var o=r;t.exports=o},zDms:function(t,e,i){var n=i("bYtY"),a=i("OELB"),r=i("UOVi"),o=i("72pK"),s=n.each,l=a.asc,u=function(t,e,i,n){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=n,this._dataZoomModel=i};function h(t,e){var i=t.getAxisModel(),n=t._percentWindow,r=t._valueWindow;if(n){var o=a.getPixelPrecision(r,[0,500]);o=Math.min(o,20);var s=e||0===n[0]&&100===n[1];i.setRange(s?null:+r[0].toFixed(o),s?null:+r[1].toFixed(o))}}u.prototype={constructor:u,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this.ecModel;return e.eachSeries(function(i){if(r.isCoordSupported(i.get("coordinateSystem"))){var n=this._dimName,a=e.queryComponents({mainType:n+"Axis",index:i.get(n+"AxisIndex"),id:i.get(n+"AxisId")})[0];this._axisIndex===(a&&a.componentIndex)&&t.push(i)}},this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,i,n=this._dimName,a=this.ecModel,r=this.getAxisModel();return"x"===n||"y"===n?(e="gridIndex",t="x"===n?"y":"x"):(e="polarIndex",t="angle"===n?"radius":"angle"),a.eachComponent(t+"Axis",function(t){(t.get(e)||0)===(r.get(e)||0)&&(i=t)}),i},getMinMaxSpan:function(){return n.clone(this._minMaxSpan)},calculateDataWindow:function(t){var e,i=this._dataExtent,n=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),u=[0,100],h=[],c=[];s(["start","end"],function(o,s){var l=t[o],d=t[o+"Value"];"percent"===r[s]?(null==l&&(l=u[s]),d=n.parse(a.linearMap(l,u,i))):(e=!0,d=null==d?i[s]:n.parse(d),l=a.linearMap(d,i,u)),c[s]=d,h[s]=l}),l(c),l(h);var d=this._minMaxSpan;function f(t,e,i,r,s){var l=s?"Span":"ValueSpan";o(0,t,i,"all",d["min"+l],d["max"+l]);for(var u=0;u<2;u++)e[u]=a.linearMap(t[u],i,r,!0),s&&(e[u]=n.parse(e[u]))}return e?f(c,h,i,u,!1):f(h,c,u,i,!0),{valueWindow:c,percentWindow:h}},reset:function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,i){var n=[1/0,-1/0];s(i,function(t){var i=t.getData();i&&s(i.mapDimension(e,!0),function(t){var e=i.getApproximateExtent(t);e[0]<n[0]&&(n[0]=e[0]),e[1]>n[1]&&(n[1]=e[1])})}),n[1]<n[0]&&(n=[NaN,NaN]);return function(t,e){var i=t.getAxisModel(),n=i.getMin(!0),a="category"===i.get("type"),r=a&&i.getCategories().length;null!=n&&"dataMin"!==n&&"function"!=typeof n?e[0]=n:a&&(e[0]=r>0?0:NaN);var o=i.getMax(!0);null!=o&&"dataMax"!==o&&"function"!=typeof o?e[1]=o:a&&(e[1]=r>0?r-1:NaN),i.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0))}(t,n),n}(this,this._dimName,e),function(t){var e=t._minMaxSpan={},i=t._dataZoomModel,n=t._dataExtent;s(["min","max"],function(r){var o=i.get(r+"Span"),s=i.get(r+"ValueSpan");null!=s&&(s=t.getAxisModel().axis.scale.parse(s)),null!=s?o=a.linearMap(n[0]+s,n,[0,100],!0):null!=o&&(s=a.linearMap(o,[0,100],n,!0)-n[0]),e[r+"Span"]=o,e[r+"ValueSpan"]=s})}(this);var i=this.calculateDataWindow(t.option);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,h(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,h(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),a=t.get("filterMode"),r=this._valueWindow;"none"!==a&&s(n,function(t){var e=t.getData(),n=e.mapDimension(i,!0);n.length&&("weakFilter"===a?e.filterSelf(function(t){for(var i,a,o,s=0;s<n.length;s++){var l=e.get(n[s],t),u=!isNaN(l),h=l<r[0],c=l>r[1];if(u&&!h&&!c)return!0;u&&(o=!0),h&&(i=!0),c&&(a=!0)}return o&&i&&a}):s(n,function(i){if("empty"===a)t.setData(e=e.map(i,function(t){return function(t){return t>=r[0]&&t<=r[1]}(t)?t:NaN}));else{var n={};n[i]=r,e.selectRange(n)}}),s(n,function(t){e.setApproximateExtent(r,t)}))})}}};var c=u;t.exports=c},zM3Q:function(t,e,i){var n=i("4NO4").makeInner;t.exports=function(){var t=n();return function(e){var i=t(e),n=e.pipelineContext,a=i.large,r=i.progressiveRender,o=i.large=n.large,s=i.progressiveRender=n.progressiveRender;return!!(a^o||r^s)&&"reset"}}},zRKj:function(t,e,i){i("Ae16"),i("Sp2Z"),i("y4/Y")},zTMp:function(t,e,i){var n=i("bYtY"),a=i("Qxkt"),r=n.each,o=n.curry;function s(t,e){return"all"===t||n.isArray(t)&&n.indexOf(t,e)>=0||t===e}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[h(t)]}function u(t){return!!t.get("handle.show")}function h(t){return t.type+"||"+t.id}e.collect=function(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,i){var l=e.getComponent("tooltip"),c=e.getComponent("axisPointer"),d=c.get("link",!0)||[],f=[];r(i.getCoordinateSystems(),function(i){if(i.axisPointerEnabled){var p=h(i.model),g=t.coordSysAxesInfo[p]={};t.coordSysMap[p]=i;var m=i.model,v=m.getModel("tooltip",l);if(r(i.getAxes(),o(b,!1,null)),i.getTooltipAxes&&l&&v.get("show")){var y="axis"===v.get("trigger"),x="cross"===v.get("axisPointer.type"),_=i.getTooltipAxes(v.get("axisPointer.axis"));(y||x)&&r(_.baseAxes,o(b,!x||"cross",y)),x&&r(_.otherAxes,o(b,"cross",!1))}}function b(o,l,p){var m=p.model.getModel("axisPointer",c),y=m.get("show");if(y&&("auto"!==y||o||u(m))){null==l&&(l=m.get("triggerTooltip"));var x=(m=o?function(t,e,i,o,s,l){var u=e.getModel("axisPointer"),h={};r(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){h[t]=n.clone(u.get(t))}),h.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(h.type="line");var c=h.label||(h.label={});if(null==c.show&&(c.show=!1),"cross"===s){var d=u.get("label.show");if(c.show=null==d||d,!l){var f=h.lineStyle=u.get("crossStyle");f&&n.defaults(c,f.textStyle)}}return t.model.getModel("axisPointer",new a(h,i,o))}(p,v,c,e,o,l):m).get("snap"),_=h(p.model),b=l||x||"category"===p.type,w=t.axesInfo[_]={key:_,axis:p,coordSys:i,axisPointerModel:m,triggerTooltip:l,involveSeries:b,snap:x,useHandle:u(m),seriesModels:[]};g[_]=w,t.seriesInvolved|=b;var S=function(t,e){for(var i=e.model,n=e.dim,a=0;a<t.length;a++){var r=t[a]||{};if(s(r[n+"AxisId"],i.id)||s(r[n+"AxisIndex"],i.componentIndex)||s(r[n+"AxisName"],i.name))return a}}(d,p);if(null!=S){var M=f[S]||(f[S]={axesInfo:{}});M.axesInfo[_]=w,M.mapper=d[S].mapper,w.linkGroup=M}}}})}(i,t,e),i.seriesInvolved&&function(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[h(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)}(i,t),i},e.fixValue=function(t){var e=l(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=u(i);null==r&&(a.status=s?"show":"hide");var h=n.getExtent().slice();h[0]>h[1]&&h.reverse(),(null==o||o>h[1])&&(o=h[1]),o<h[0]&&(o=h[0]),a.value=o,s&&(a.status=e.axis.scale.isBlank()?"hide":"show")}},e.getAxisInfo=l,e.getAxisPointerModel=function(t){var e=l(t);return e&&e.axisPointerModel},e.makeKey=h},zYTA:function(t,e,i){var n=i("bYtY");function a(){var t=n.createCanvas();this.canvas=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}a.prototype={update:function(t,e,i,n,a,r){var o=this._getBrush(),s=this._getGradient(t,a,"inRange"),l=this._getGradient(t,a,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),d=t.length;h.width=e,h.height=i;for(var f=0;f<d;++f){var p=t[f],g=p[0],m=p[1],v=n(p[2]);c.globalAlpha=v,c.drawImage(o,g-u,m-u)}if(!h.width||!h.height)return h;for(var y=c.getImageData(0,0,h.width,h.height),x=y.data,_=0,b=x.length,w=this.minOpacity,S=this.maxOpacity-w;_<b;){v=x[_+3]/256;var M=4*Math.floor(255*v);if(v>0){var I=r(v)?s:l;v>0&&(v=v*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return c.putImageData(y,0,0),h},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=n.createCanvas()),e=this.pointSize+this.blurSize,i=2*e;t.width=i,t.height=i;var a=t.getContext("2d");return a.clearRect(0,0,i,i),a.shadowOffsetX=i,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-e,e,this.pointSize,0,2*Math.PI,!0),a.closePath(),a.fill(),t},_getGradient:function(t,e,i){for(var n=this._gradientPixels,a=n[i]||(n[i]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,s=0;s<256;s++)e[i](s/255,!0,r),a[o++]=r[0],a[o++]=r[1],a[o++]=r[2],a[o++]=r[3];return a}};var r=a;t.exports=r},zarK:function(t,e,i){var n=i("YH21"),a=n.addEventListener,r=n.removeEventListener,o=n.normalizeEvent,s=i("bYtY"),l=i("H6uX"),u=i("ItGF"),h=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],c=["touchstart","touchend","touchmove"],d={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},f=s.map(h,function(t){var e=t.replace("mouse","pointer");return d[e]?e:t});function p(t){return"mousewheel"===t&&u.browser.firefox?"DOMMouseScroll":t}function g(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=setTimeout(function(){t._touching=!1},700)}var m={mousemove:function(t){t=o(this.dom,t),this.trigger("mousemove",t)},mouseout:function(t){var e=(t=o(this.dom,t)).toElement||t.relatedTarget;if(e!==this.dom)for(;e&&9!==e.nodeType;){if(e===this.dom)return;e=e.parentNode}this.trigger("mouseout",t)},touchstart:function(t){(t=o(this.dom,t)).zrByTouch=!0,this._lastTouchMoment=new Date,this.handler.processGesture(this,t,"start"),m.mousemove.call(this,t),m.mousedown.call(this,t),g(this)},touchmove:function(t){(t=o(this.dom,t)).zrByTouch=!0,this.handler.processGesture(this,t,"change"),m.mousemove.call(this,t),g(this)},touchend:function(t){(t=o(this.dom,t)).zrByTouch=!0,this.handler.processGesture(this,t,"end"),m.mouseup.call(this,t),+new Date-this._lastTouchMoment<300&&m.click.call(this,t),g(this)},pointerdown:function(t){m.mousedown.call(this,t)},pointermove:function(t){v(t)||m.mousemove.call(this,t)},pointerup:function(t){m.mouseup.call(this,t)},pointerout:function(t){v(t)||m.mouseout.call(this,t)}};function v(t){var e=t.pointerType;return"pen"===e||"touch"===e}function y(t){var e;function i(e,i){s.each(e,function(e){a(t,p(e),i._handlers[e])},i)}l.call(this),this.dom=t,this._touching=!1,this._touchTimer,this._handlers={},e=this,s.each(c,function(t){e._handlers[t]=s.bind(m[t],e)}),s.each(f,function(t){e._handlers[t]=s.bind(m[t],e)}),s.each(h,function(t){e._handlers[t]=function(t,e){return function(){if(!e._touching)return t.apply(e,arguments)}}(m[t],e)}),u.pointerEventsSupported?i(f,this):(u.touchEventsSupported&&i(c,this),i(h,this))}s.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){m[t]=function(e){e=o(this.dom,e),this.trigger(t,e)}});var x=y.prototype;x.dispose=function(){for(var t=h.concat(c),e=0;e<t.length;e++){var i=t[e];r(this.dom,p(i),this._handlers[i])}},x.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},s.mixin(y,l);var _=y;t.exports=_},zuHt:function(t,e,i){var n=i("bYtY");t.exports=function(t){var e={};t.eachSeriesByType("map",function(i){var a=i.getMapType();if(!i.getHostGeoModel()&&!e[a]){var r={};n.each(i.seriesGroup,function(e){var i=e.coordinateSystem,n=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&n.each(n.mapDimension("value"),function(t,e){var a=n.getName(e),o=i.getRegion(a);if(o&&!isNaN(t)){var s=r[a]||0,l=i.dataToPoint(o.center);r[a]=s+1,n.setItemLayout(e,{point:l,offset:s})}})});var o=i.getData();o.each(function(t){var e=o.getName(t),i=o.getItemLayout(t)||{};i.showLabel=!r[e],o.setItemLayout(t,i)}),e[a]=!0}})}}}]);