chunk-vendors~be6a9b4d.05f3ec1a.js 157 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors~be6a9b4d"],{"0046":function(e,t,a){var o=a("6d8b"),i=o.each,n=o.createHashMap,r=a("4f85"),s=a("3301"),l=r.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(e,t){var a=this.getSource();return u(a,this),s(a,this)},getRawIndicesByActiveState:function(e){var t=this.coordinateSystem,a=this.getData(),o=[];return t.eachActiveState(a,function(t,i){e===t&&o.push(a.getRawIndex(i))}),o},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function u(e,t){if(!e.encodeDefine){var a=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(a){var o=e.encodeDefine=n();i(a.dimensions,function(e){var t=c(e);o.set(e,t)})}}}function c(e){return+e.replace("dim","")}e.exports=l},"0817":function(e,t,a){var o=a("3eba");a("f306"),a("0046"),a("60d7");var i=a("ab71");o.registerVisual(i)},"0e0f":function(e,t,a){var o=a("5f14"),i=a("6d8b");function n(e,t){e.eachSeriesByType("sankey",function(e){var t=e.getGraph(),a=t.nodes;if(a.length){var n=1/0,r=-1/0;i.each(a,function(e){var t=e.getLayout().value;t<n&&(n=t),t>r&&(r=t)}),i.each(a,function(t){var a=new o({type:"color",mappingMethod:"linear",dataExtent:[n,r],visual:e.get("color")}),i=a.mapValueToVisual(t.getLayout().value);t.setVisual("color",i);var s=t.getModel(),l=s.get("itemStyle.color");null!=l&&t.setVisual("color",l)})}})}e.exports=n},"0fd3":function(e,t,a){var o=a("2306"),i=a("7e5b"),n=a("6d8b"),r=a("a15a"),s=r.createSymbol,l=a("401b"),u=a("4a3f");function c(e,t,a){o.Group.call(this),this.add(this.createLine(e,t,a)),this._updateEffectSymbol(e,t)}var d=c.prototype;d.createLine=function(e,t,a){return new i(e,t,a)},d._updateEffectSymbol=function(e,t){var a=e.getItemModel(t),o=a.getModel("effect"),i=o.get("symbolSize"),r=o.get("symbol");n.isArray(i)||(i=[i,i]);var l=o.get("color")||e.getItemVisual(t,"color"),u=this.childAt(1);this._symbolType!==r&&(this.remove(u),u=s(r,-.5,-.5,1,1,l),u.z2=100,u.culling=!0,this.add(u)),u&&(u.setStyle("shadowColor",l),u.setStyle(o.getItemStyle(["color"])),u.attr("scale",i),u.setColor(l),u.attr("scale",i),this._symbolType=r,this._updateEffectAnimation(e,o,t))},d._updateEffectAnimation=function(e,t,a){var o=this.childAt(1);if(o){var i=this,r=e.getItemLayout(a),s=1e3*t.get("period"),l=t.get("loop"),u=t.get("constantSpeed"),c=n.retrieve(t.get("delay"),function(t){return t/e.count()*s/3}),d="function"===typeof c;if(o.ignore=!0,this.updateAnimationPoints(o,r),u>0&&(s=this.getLineLength(o)/u*1e3),s!==this._period||l!==this._loop){o.stopAnimation();var h=c;d&&(h=c(a)),o.__t>0&&(h=-s*o.__t),o.__t=0;var p=o.animate("",l).when(s,{__t:1}).delay(h).during(function(){i.updateSymbolPosition(o)});l||p.done(function(){i.remove(o)}),p.start()}this._period=s,this._loop=l}},d.getLineLength=function(e){return l.dist(e.__p1,e.__cp1)+l.dist(e.__cp1,e.__p2)},d.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},d.updateData=function(e,t,a){this.childAt(0).updateData(e,t,a),this._updateEffectSymbol(e,t)},d.updateSymbolPosition=function(e){var t=e.__p1,a=e.__p2,o=e.__cp1,i=e.__t,n=e.position,r=u.quadraticAt,s=u.quadraticDerivativeAt;n[0]=r(t[0],o[0],a[0],i),n[1]=r(t[1],o[1],a[1],i);var l=s(t[0],o[0],a[0],i),c=s(t[1],o[1],a[1],i);e.rotation=-Math.atan2(c,l)-Math.PI/2,e.ignore=!1},d.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var a=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,a,t)},n.inherits(c,o.Group);var h=c;e.exports=h},1418:function(e,t,a){var o=a("6d8b"),i=a("a15a"),n=i.createSymbol,r=a("2306"),s=a("3842"),l=s.parsePercent,u=a("c775"),c=u.getDefaultLabel;function d(e,t,a){r.Group.call(this),this.updateData(e,t,a)}var h=d.prototype,p=d.getSymbolSize=function(e,t){var a=e.getItemVisual(t,"symbolSize");return a instanceof Array?a.slice():[+a,+a]};function g(e){return[e[0]/2,e[1]/2]}function f(e,t){this.parent.drift(e,t)}h._createSymbol=function(e,t,a,o,i){this.removeAll();var r=t.getItemVisual(a,"color"),s=n(e,-1,-1,2,2,r,i);s.attr({z2:100,culling:!0,scale:g(o)}),s.drift=f,this._symbolType=e,this.add(s)},h.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(e)},h.getSymbolPath=function(){return this.childAt(0)},h.getScale=function(){return this.childAt(0).scale},h.highlight=function(){this.childAt(0).trigger("emphasis")},h.downplay=function(){this.childAt(0).trigger("normal")},h.setZ=function(e,t){var a=this.childAt(0);a.zlevel=e,a.z=t},h.setDraggable=function(e){var t=this.childAt(0);t.draggable=e,t.cursor=e?"move":"pointer"},h.updateData=function(e,t,a){this.silent=!1;var o=e.getItemVisual(t,"symbol")||"circle",i=e.hostModel,n=p(e,t),s=o!==this._symbolType;if(s){var l=e.getItemVisual(t,"symbolKeepAspect");this._createSymbol(o,e,t,n,l)}else{var u=this.childAt(0);u.silent=!1,r.updateProps(u,{scale:g(n)},i,t)}if(this._updateCommon(e,t,n,a),s){u=this.childAt(0);var c=a&&a.fadeIn,d={scale:u.scale.slice()};c&&(d.style={opacity:u.style.opacity}),u.scale=[0,0],c&&(u.style.opacity=0),r.initProps(u,d,i,t)}this._seriesModel=i};var m=["itemStyle"],y=["emphasis","itemStyle"],v=["label"],x=["emphasis","label"];function b(){!r.isInEmphasis(this)&&S.call(this)}function _(){!r.isInEmphasis(this)&&w.call(this)}function S(){if(!this.incremental&&!this.useHoverLayer){var e=this.__symbolOriginalScale,t=e[1]/e[0];this.animateTo({scale:[Math.max(1.1*e[0],e[0]+3),Math.max(1.1*e[1],e[1]+3*t)]},400,"elasticOut")}}function w(){this.incremental||this.useHoverLayer||this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}h._updateCommon=function(e,t,a,i){var n=this.childAt(0),s=e.hostModel,u=e.getItemVisual(t,"color");"image"!==n.type&&n.useStyle({strokeNoScale:!0});var d=i&&i.itemStyle,h=i&&i.hoverItemStyle,p=i&&i.symbolRotate,f=i&&i.symbolOffset,I=i&&i.labelModel,L=i&&i.hoverLabelModel,A=i&&i.hoverAnimation,M=i&&i.cursorStyle;if(!i||e.hasItemOption){var D=i&&i.itemModel?i.itemModel:e.getItemModel(t);d=D.getModel(m).getItemStyle(["color"]),h=D.getModel(y).getItemStyle(),p=D.getShallow("symbolRotate"),f=D.getShallow("symbolOffset"),I=D.getModel(v),L=D.getModel(x),A=D.getShallow("hoverAnimation"),M=D.getShallow("cursor")}else h=o.extend({},h);var N=n.style;n.attr("rotation",(p||0)*Math.PI/180||0),f&&n.attr("position",[l(f[0],a[0]),l(f[1],a[1])]),M&&n.attr("cursor",M),n.setColor(u,i&&i.symbolInnerColor),n.setStyle(d);var C=e.getItemVisual(t,"opacity");null!=C&&(N.opacity=C);var P=e.getItemVisual(t,"liftZ"),T=n.__z2Origin;null!=P?null==T&&(n.__z2Origin=n.z2,n.z2+=P):null!=T&&(n.z2=T,n.__z2Origin=null);var E=i&&i.useNameLabel;function V(t,a){return E?e.getName(t):c(e,t)}r.setLabelStyle(N,h,I,L,{labelFetcher:s,labelDataIndex:t,defaultText:V,isRectText:!0,autoColor:u}),n.off("mouseover").off("mouseout").off("emphasis").off("normal"),n.hoverStyle=h,r.setHoverStyle(n),n.__symbolOriginalScale=g(a),A&&s.isAnimationEnabled()&&n.on("mouseover",b).on("mouseout",_).on("emphasis",S).on("normal",w)},h.fadeOut=function(e,t){var a=this.childAt(0);this.silent=a.silent=!0,(!t||!t.keepLabel)&&(a.style.text=null),r.updateProps(a,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,e)},o.inherits(d,r.Group);var I=d;e.exports=I},1466:function(e,t,a){var o=a("3eba"),i=a("2306"),n=a("6d8b"),r=a("a15a");function s(e){return n.isArray(e)||(e=[+e,+e]),e}var l=o.extendChartView({type:"radar",render:function(e,t,a){var o=e.coordinateSystem,l=this.group,u=e.getData(),c=this._data;function d(e,t){var a=e.getItemVisual(t,"symbol")||"circle",o=e.getItemVisual(t,"color");if("none"!==a){var i=s(e.getItemVisual(t,"symbolSize")),n=r.createSymbol(a,-1,-1,2,2,o);return n.attr({style:{strokeNoScale:!0},z2:100,scale:[i[0]/2,i[1]/2]}),n}}function h(t,a,o,n,r,s){o.removeAll();for(var l=0;l<a.length-1;l++){var u=d(n,r);u&&(u.__dimIdx=l,t[l]?(u.attr("position",t[l]),i[s?"initProps":"updateProps"](u,{position:a[l]},e,r)):u.attr("position",a[l]),o.add(u))}}function p(e){return n.map(e,function(e){return[o.cx,o.cy]})}u.diff(c).add(function(t){var a=u.getItemLayout(t);if(a){var o=new i.Polygon,n=new i.Polyline,r={shape:{points:a}};o.shape.points=p(a),n.shape.points=p(a),i.initProps(o,r,e,t),i.initProps(n,r,e,t);var s=new i.Group,l=new i.Group;s.add(n),s.add(o),s.add(l),h(n.shape.points,a,l,u,t,!0),u.setItemGraphicEl(t,s)}}).update(function(t,a){var o=c.getItemGraphicEl(a),n=o.childAt(0),r=o.childAt(1),s=o.childAt(2),l={shape:{points:u.getItemLayout(t)}};l.shape.points&&(h(n.shape.points,l.shape.points,s,u,t,!1),i.updateProps(n,l,e),i.updateProps(r,l,e),u.setItemGraphicEl(t,o))}).remove(function(e){l.remove(c.getItemGraphicEl(e))}).execute(),u.eachItemGraphicEl(function(e,t){var a=u.getItemModel(t),o=e.childAt(0),r=e.childAt(1),s=e.childAt(2),c=u.getItemVisual(t,"color");l.add(e),o.useStyle(n.defaults(a.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),o.hoverStyle=a.getModel("emphasis.lineStyle").getLineStyle();var d=a.getModel("areaStyle"),h=a.getModel("emphasis.areaStyle"),p=d.isEmpty()&&d.parentModel.isEmpty(),g=h.isEmpty()&&h.parentModel.isEmpty();g=g&&p,r.ignore=p,r.useStyle(n.defaults(d.getAreaStyle(),{fill:c,opacity:.7})),r.hoverStyle=h.getAreaStyle();var f=a.getModel("itemStyle").getItemStyle(["color"]),m=a.getModel("emphasis.itemStyle").getItemStyle(),y=a.getModel("label"),v=a.getModel("emphasis.label");function x(){r.attr("ignore",g)}function b(){r.attr("ignore",p)}s.eachChild(function(e){e.setStyle(f),e.hoverStyle=n.clone(m),i.setLabelStyle(e.style,e.hoverStyle,y,v,{labelFetcher:u.hostModel,labelDataIndex:t,labelDimIndex:e.__dimIdx,defaultText:u.get(u.dimensions[e.__dimIdx],t),autoColor:c,isRectText:!0})}),e.off("mouseover").off("mouseout").off("normal").off("emphasis"),e.on("emphasis",x).on("mouseover",x).on("normal",b).on("mouseout",b),i.setHoverStyle(e)}),this._data=u},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});e.exports=l},"15af":function(e,t,a){var o=a("3eba");a("cb69"),a("abff");var i=a("7f96"),n=a("87c3");a("01ed"),o.registerVisual(i("scatter","circle")),o.registerLayout(n("scatter"))},"1ab3":function(e,t,a){var o=a("6d8b"),i=a("2306"),n=a("e887");function r(e,t,a,o){var i=t.getData(),n=this.dataIndex,r=i.getName(n),l=t.get("selectedOffset");o.dispatchAction({type:"pieToggleSelect",from:e,name:r,seriesId:t.id}),i.each(function(e){s(i.getItemGraphicEl(e),i.getItemLayout(e),t.isSelected(i.getName(e)),l,a)})}function s(e,t,a,o,i){var n=(t.startAngle+t.endAngle)/2,r=Math.cos(n),s=Math.sin(n),l=a?o:0,u=[r*l,s*l];i?e.animate().when(200,{position:u}).start("bounceOut"):e.attr("position",u)}function l(e,t){i.Group.call(this);var a=new i.Sector({z2:2}),o=new i.Polyline,n=new i.Text;function r(){o.ignore=o.hoverIgnore,n.ignore=n.hoverIgnore}function s(){o.ignore=o.normalIgnore,n.ignore=n.normalIgnore}this.add(a),this.add(o),this.add(n),this.updateData(e,t,!0),this.on("emphasis",r).on("normal",s).on("mouseover",r).on("mouseout",s)}var u=l.prototype;u.updateData=function(e,t,a){var n=this.childAt(0),r=e.hostModel,l=e.getItemModel(t),u=e.getItemLayout(t),c=o.extend({},u);if(c.label=null,a){n.setShape(c);var d=r.getShallow("animationType");"scale"===d?(n.shape.r=u.r0,i.initProps(n,{shape:{r:u.r}},r,t)):(n.shape.endAngle=u.startAngle,i.updateProps(n,{shape:{endAngle:u.endAngle}},r,t))}else i.updateProps(n,{shape:c},r,t);var h=e.getItemVisual(t,"color");n.useStyle(o.defaults({lineJoin:"bevel",fill:h},l.getModel("itemStyle").getItemStyle())),n.hoverStyle=l.getModel("emphasis.itemStyle").getItemStyle();var p=l.getShallow("cursor");function g(){n.stopAnimation(!0),n.animateTo({shape:{r:u.r+r.get("hoverOffset")}},300,"elasticOut")}function f(){n.stopAnimation(!0),n.animateTo({shape:{r:u.r}},300,"elasticOut")}p&&n.attr("cursor",p),s(this,e.getItemLayout(t),r.isSelected(null,t),r.get("selectedOffset"),r.get("animation")),n.off("mouseover").off("mouseout").off("emphasis").off("normal"),l.get("hoverAnimation")&&r.isAnimationEnabled()&&n.on("mouseover",g).on("mouseout",f).on("emphasis",g).on("normal",f),this._updateLabel(e,t),i.setHoverStyle(this)},u._updateLabel=function(e,t){var a=this.childAt(1),o=this.childAt(2),n=e.hostModel,r=e.getItemModel(t),s=e.getItemLayout(t),l=s.label,u=e.getItemVisual(t,"color");i.updateProps(a,{shape:{points:l.linePoints||[[l.x,l.y],[l.x,l.y],[l.x,l.y]]}},n,t),i.updateProps(o,{style:{x:l.x,y:l.y}},n,t),o.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var c=r.getModel("label"),d=r.getModel("emphasis.label"),h=r.getModel("labelLine"),p=r.getModel("emphasis.labelLine");u=e.getItemVisual(t,"color");i.setLabelStyle(o.style,o.hoverStyle={},c,d,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:e.getName(t),autoColor:u,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign,opacity:e.getItemVisual(t,"opacity")}),o.ignore=o.normalIgnore=!c.get("show"),o.hoverIgnore=!d.get("show"),a.ignore=a.normalIgnore=!h.get("show"),a.hoverIgnore=!p.get("show"),a.setStyle({stroke:u,opacity:e.getItemVisual(t,"opacity")}),a.setStyle(h.getModel("lineStyle").getLineStyle()),a.hoverStyle=p.getModel("lineStyle").getLineStyle();var g=h.get("smooth");g&&!0===g&&(g=.4),a.setShape({smooth:g})},o.inherits(l,i.Group);var c=n.extend({type:"pie",init:function(){var e=new i.Group;this._sectorGroup=e},render:function(e,t,a,i){if(!i||i.from!==this.uid){var n=e.getData(),s=this._data,u=this.group,c=t.get("animation"),d=!s,h=e.get("animationType"),p=o.curry(r,this.uid,e,c,a),g=e.get("selectedMode");if(n.diff(s).add(function(e){var t=new l(n,e);d&&"scale"!==h&&t.eachChild(function(e){e.stopAnimation(!0)}),g&&t.on("click",p),n.setItemGraphicEl(e,t),u.add(t)}).update(function(e,t){var a=s.getItemGraphicEl(t);a.updateData(n,e),a.off("click"),g&&a.on("click",p),u.add(a),n.setItemGraphicEl(e,a)}).remove(function(e){var t=s.getItemGraphicEl(e);u.remove(t)}).execute(),c&&d&&n.count()>0&&"scale"!==h){var f=n.getItemLayout(0),m=Math.max(a.getWidth(),a.getHeight())/2,y=o.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(f.cx,f.cy,m,f.startAngle,f.clockwise,y,e))}else u.removeClipPath();this._data=n}},dispose:function(){},_createClipPath:function(e,t,a,o,n,r,s){var l=new i.Sector({shape:{cx:e,cy:t,r0:0,r:a,startAngle:o,endAngle:o,clockwise:n}});return i.initProps(l,{shape:{endAngle:o+(n?1:-1)*Math.PI*2}},s,r),l},containPoint:function(e,t){var a=t.getData(),o=a.getItemLayout(0);if(o){var i=e[0]-o.cx,n=e[1]-o.cy,r=Math.sqrt(i*i+n*n);return r<=o.r&&r>=o.r0}}}),d=c;e.exports=d},"1c5f":function(e,t,a){var o=a("401b");function i(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var a=e.getGraph();a.eachNode(function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])}),n(a)}}function n(e){e.eachEdge(function(e){var t=e.getModel().get("lineStyle.curveness")||0,a=o.clone(e.node1.getLayout()),i=o.clone(e.node2.getLayout()),n=[a,i];+t&&n.push([(a[0]+i[0])/2-(a[1]-i[1])*t,(a[1]+i[1])/2-(i[0]-a[0])*t]),e.setLayout(n)})}t.simpleLayout=i,t.simpleLayoutEdge=n},2163:function(e,t,a){var o=a("4f85"),i=a("06c7"),n=a("eda2"),r=n.encodeHTML,s=o.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(e){var t={name:e.name,children:e.data},a=e.leaves||{},o={};o.leaves=a;var n=i.createTree(t,this,o),r=0;n.eachNode("preorder",function(e){e.depth>r&&(r=e.depth)});var s=e.expandAndCollapse,l=s&&e.initialTreeDepth>=0?e.initialTreeDepth:r;return n.root.eachNode("preorder",function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=l}),n.data},getOrient:function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},formatTooltip:function(e){var t=this.getData().tree,a=t.root.children[0],o=t.getNodeByDataIndex(e),i=o.getValue(),n=o.name;while(o&&o!==a)n=o.parentNode.name+"."+n,o=o.parentNode;return r(n+(isNaN(i)||null==i?"":" : "+i))},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}});e.exports=s},"217b":function(e,t,a){var o=a("4e08"),i=(o.__DEV__,a("3301")),n=a("4f85"),r=n.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){return i(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}});e.exports=r},"22da":function(e,t,a){var o=a("f934");function i(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var t,a,o=[e];while(t=o.pop())if(a=t.children,t.isExpand&&a.length)for(var i=a.length,n=i-1;n>=0;n--){var r=a[n];r.hierNode={defaultAncestor:null,ancestor:r,prelim:0,modifier:0,change:0,shift:0,i:n,thread:null},o.push(r)}}function n(e,t){var a=e.isExpand?e.children:[],o=e.parentNode.children,i=e.hierNode.i?o[e.hierNode.i-1]:null;if(a.length){c(e);var n=(a[0].hierNode.prelim+a[a.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-n):e.hierNode.prelim=n}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=d(e,i,e.parentNode.hierNode.defaultAncestor||o[0],t)}function r(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function s(e){return arguments.length?e:m}function l(e,t){var a={};return e-=Math.PI/2,a.x=t*Math.cos(e),a.y=t*Math.sin(e),a}function u(e,t){return o.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e){var t=e.children,a=t.length,o=0,i=0;while(--a>=0){var n=t[a];n.hierNode.prelim+=o,n.hierNode.modifier+=o,i+=n.hierNode.change,o+=n.hierNode.shift+i}}function d(e,t,a,o){if(t){var i=e,n=e,r=n.parentNode.children[0],s=t,l=i.hierNode.modifier,u=n.hierNode.modifier,c=r.hierNode.modifier,d=s.hierNode.modifier;while(s=h(s),n=p(n),s&&n){i=h(i),r=p(r),i.hierNode.ancestor=e;var m=s.hierNode.prelim+d-n.hierNode.prelim-u+o(s,n);m>0&&(f(g(s,e,a),e,m),u+=m,l+=m),d+=s.hierNode.modifier,u+=n.hierNode.modifier,l+=i.hierNode.modifier,c+=r.hierNode.modifier}s&&!h(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=d-l),n&&!p(r)&&(r.hierNode.thread=n,r.hierNode.modifier+=u-c,a=e)}return a}function h(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function p(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function g(e,t,a){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:a}function f(e,t,a){var o=a/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=o,t.hierNode.shift+=a,t.hierNode.modifier+=a,t.hierNode.prelim+=a,e.hierNode.change+=o}function m(e,t){return e.parentNode===t.parentNode?1:2}t.init=i,t.firstWalk=n,t.secondWalk=r,t.separation=s,t.radialCoordinate=l,t.getViewRect=u},"237f":function(e,t,a){var o=a("6d8b"),i=a("6179"),n=a("7368"),r=a("31d9"),s=a("b1d4"),l=a("2039"),u=a("3301");function c(e,t,a,c,d){for(var h=new n(c),p=0;p<e.length;p++)h.addNode(o.retrieve(e[p].id,e[p].name,p),p);var g=[],f=[],m=0;for(p=0;p<t.length;p++){var y=t[p],v=y.source,x=y.target;h.addEdge(v,x,m)&&(f.push(y),g.push(o.retrieve(y.id,v+" > "+x)),m++)}var b,_=a.get("coordinateSystem");if("cartesian2d"===_||"polar"===_)b=u(e,a);else{var S=l.get(_),w=S&&"view"!==S.type&&S.dimensions||[];o.indexOf(w,"value")<0&&w.concat(["value"]);var I=s(e,{coordDimensions:w});b=new i(I,a),b.initData(e)}var L=new i(["value"],a);return L.initData(f,g),d&&d(b,L),r({mainData:b,struct:h,structAttr:"graph",datas:{node:b,edge:L},datasAttr:{node:"data",edge:"edgeData"}}),h.update(),h}e.exports=c},"23eef":function(e,t,a){var o=a("3eba");a("879e"),a("9704"),a("d747");var i=a("675a"),n=a("7f96"),r=a("2943"),s=a("de6e"),l=a("d357"),u=a("adda"),c=a("5866"),d=a("7b0c");o.registerProcessor(i),o.registerVisual(n("graph","circle",null)),o.registerVisual(r),o.registerVisual(s),o.registerLayout(l),o.registerLayout(u),o.registerLayout(c),o.registerCoordinateSystem("graphView",{create:d})},"255c":function(e,t,a){var o=a("3eba"),i=a("d4d1"),n=i.Polygon,r=a("2306"),s=a("6d8b"),l=s.bind,u=s.extend,c=a("80f0"),d=o.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(e,t,a){var o=e.getData(),i=this.group,s=e.getLayerSeries(),d=o.getLayout("layoutInfo"),p=d.rect,g=d.boundaryGap;function f(e){return e.name}i.attr("position",[0,p.y+g[0]]);var m=new c(this._layersSeries||[],s,f,f),y={};function v(t,a,l){var c=this._layers;if("remove"!==t){for(var d,p,g,f=[],m=[],v=s[a].indices,x=0;x<v.length;x++){var b=o.getItemLayout(v[x]),_=b.x,S=b.y0,w=b.y;f.push([_,S]),m.push([_,S+w]),d=o.getItemVisual(v[x],"color")}var I=o.getItemLayout(v[0]),L=o.getItemModel(v[x-1]),A=L.getModel("label"),M=A.get("margin");if("add"===t){var D=y[a]=new r.Group;p=new n({shape:{points:f,stackedOnPoints:m,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),g=new r.Text({style:{x:I.x-M,y:I.y0+I.y/2}}),D.add(p),D.add(g),i.add(D),p.setClipPath(h(p.getBoundingRect(),e,function(){p.removeClipPath()}))}else{D=c[l];p=D.childAt(0),g=D.childAt(1),i.add(D),y[a]=D,r.updateProps(p,{shape:{points:f,stackedOnPoints:m}},e),r.updateProps(g,{style:{x:I.x-M,y:I.y0+I.y/2}},e)}var N=L.getModel("emphasis.itemStyle"),C=L.getModel("itemStyle");r.setTextStyle(g.style,A,{text:A.get("show")?e.getFormattedLabel(v[x-1],"normal")||o.getName(v[x-1]):null,textVerticalAlign:"middle"}),p.setStyle(u({fill:d},C.getItemStyle(["color"]))),r.setHoverStyle(p,N.getItemStyle())}else i.remove(c[a])}m.add(l(v,this,"add")).update(l(v,this,"update")).remove(l(v,this,"remove")).execute(),this._layersSeries=s,this._layers=y},dispose:function(){}});function h(e,t,a){var o=new r.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return r.initProps(o,{shape:{width:e.width+20,height:e.height+20}},t,a),o}e.exports=d},"292e":function(e,t,a){var o=a("3842"),i=o.parsePercent,n=o.linearMap,r=a("bb70"),s=a("6d8b"),l=2*Math.PI,u=Math.PI/180;function c(e,t,a,o){t.eachSeriesByType(e,function(e){var t=e.getData(),o=t.mapDimension("value"),c=e.get("center"),d=e.get("radius");s.isArray(d)||(d=[0,d]),s.isArray(c)||(c=[c,c]);var h=a.getWidth(),p=a.getHeight(),g=Math.min(h,p),f=i(c[0],h),m=i(c[1],p),y=i(d[0],g/2),v=i(d[1],g/2),x=-e.get("startAngle")*u,b=e.get("minAngle")*u,_=0;t.each(o,function(e){!isNaN(e)&&_++});var S=t.getSum(o),w=Math.PI/(S||_)*2,I=e.get("clockwise"),L=e.get("roseType"),A=e.get("stillShowZeroSum"),M=t.getDataExtent(o);M[0]=0;var D=l,N=0,C=x,P=I?1:-1;if(t.each(o,function(e,a){var o;if(isNaN(e))t.setItemLayout(a,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:I,cx:f,cy:m,r0:y,r:L?NaN:v});else{o="area"!==L?0===S&&A?w:e*w:l/_,o<b?(o=b,D-=b):N+=e;var i=C+P*o;t.setItemLayout(a,{angle:o,startAngle:C,endAngle:i,clockwise:I,cx:f,cy:m,r0:y,r:L?n(e,M,[y,v]):v}),C=i}}),D<l&&_)if(D<=.001){var T=l/_;t.each(o,function(e,a){if(!isNaN(e)){var o=t.getItemLayout(a);o.angle=T,o.startAngle=x+P*a*T,o.endAngle=x+P*(a+1)*T}})}else w=D/N,C=x,t.each(o,function(e,a){if(!isNaN(e)){var o=t.getItemLayout(a),i=o.angle===b?b:e*w;o.startAngle=C,o.endAngle=C+P*i,C+=P*i}});r(e,v,h,p)})}e.exports=c},2943:function(e,t){function a(e){var t={};e.eachSeriesByType("graph",function(e){var a=e.getCategoriesData(),o=e.getData(),i={};a.each(function(o){var n=a.getName(o);i["ec-"+n]=o;var r=a.getItemModel(o),s=r.get("itemStyle.color")||e.getColorFromPalette(n,t);a.setItemVisual(o,"color",s)}),a.count()&&o.each(function(e){var t=o.getItemModel(e),n=t.getShallow("category");null!=n&&("string"===typeof n&&(n=i["ec-"+n]),o.getItemVisual(e,"color",!0)||o.setItemVisual(e,"color",a.getItemVisual(n,"color")))})})}e.exports=a},"311a":function(e,t,a){var o=a("3eba");a("d01c"),a("5b69"),a("bdc0");var i=a("81ac"),n=a("0e0f");o.registerLayout(i),o.registerVisual(n)},3301:function(e,t,a){var o=a("6d8b"),i=a("6179"),n=a("b1d4"),r=a("93d0"),s=r.SOURCE_FORMAT_ORIGINAL,l=a("2f45"),u=l.getDimensionTypeByAxis,c=a("e0d3"),d=c.getDataItemValue,h=a("2039"),p=a("8b7f"),g=p.getCoordSysDefineBySeries,f=a("ec6f"),m=a("ee1a"),y=m.enableDataStack;function v(e,t,a){a=a||{},f.isInstance(e)||(e=f.seriesDataToSource(e));var r,s=t.get("coordinateSystem"),l=h.get(s),c=g(t);c&&(r=o.map(c.coordSysDims,function(e){var t={name:e},a=c.axisMap.get(e);if(a){var o=a.get("type");t.type=u(o)}return t})),r||(r=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var d,p,m=n(e,{coordDimensions:r,generateCoord:a.generateCoord});c&&o.each(m,function(e,t){var a=e.coordDim,o=c.categoryAxisMap.get(a);o&&(null==d&&(d=t),e.ordinalMeta=o.getOrdinalMeta()),null!=e.otherDims.itemName&&(p=!0)}),p||null==d||(m[d].otherDims.itemName=0);var v=y(t,m),b=new i(m,t);b.setCalculationInfo(v);var _=null!=d&&x(e)?function(e,t,a,o){return o===d?a:this.defaultDimValueGetter(e,t,a,o)}:null;return b.hasItemOption=!1,b.initData(e,null,_),b}function x(e){if(e.sourceFormat===s){var t=b(e.data||[]);return null!=t&&!o.isArray(d(t))}}function b(e){var t=0;while(t<e.length&&null==e[t])t++;return e[t]}var _=v;e.exports=_},"340d":function(e,t,a){var o=a("6d8b"),i=a("e887"),n=a("4e47"),r=a("80f0"),s="sunburstRootToNode",l=i.extend({type:"sunburst",init:function(){},render:function(e,t,a,i){var s=this;this.seriesModel=e,this.api=a,this.ecModel=t;var l=e.getData(),u=l.tree.root,c=e.getViewRoot(),d=this.group,h=e.get("renderLabelForZeroData"),p=[];c.eachNode(function(e){p.push(e)});var g=this._oldChildren||[];if(y(p,g),b(u,c),i&&i.highlight&&i.highlight.piece){var f=e.getShallow("highlightPolicy");i.highlight.piece.onEmphasis(f)}else if(i&&i.unhighlight){var m=this.virtualPiece;!m&&u.children.length&&(m=u.children[0].piece),m&&m.onNormal()}function y(e,t){function a(e){return e.getId()}function i(a,o){var i=null==a?null:e[a],n=null==o?null:t[o];v(i,n)}0===e.length&&0===t.length||new r(t,e,a,a).add(i).update(i).remove(o.curry(i,null)).execute()}function v(a,o){if(h||!a||a.getValue()||(a=null),a!==u&&o!==u)if(o&&o.piece)a?(o.piece.updateData(!1,a,"normal",e,t),l.setItemGraphicEl(a.dataIndex,o.piece)):x(o);else if(a){var i=new n(a,e,t);d.add(i),l.setItemGraphicEl(a.dataIndex,i)}}function x(e){e&&e.piece&&(d.remove(e.piece),e.piece=null)}function b(a,o){if(o.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,a,"normal",e,t):(s.virtualPiece=new n(a,e,t),d.add(s.virtualPiece)),o.piece._onclickEvent&&o.piece.off("click",o.piece._onclickEvent);var i=function(e){s._rootToNode(o.parentNode)};o.piece._onclickEvent=i,s.virtualPiece.on("click",i)}else s.virtualPiece&&(d.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=p},dispose:function(){},_initEvents:function(){var e=this,t=function(t){var a=!1,o=e.seriesModel.getViewRoot();o.eachNode(function(o){if(!a&&o.piece&&o.piece.childAt(0)===t.target){var i=o.getModel().get("nodeClick");if("rootToNode"===i)e._rootToNode(o);else if("link"===i){var n=o.getModel(),r=n.get("link");if(r){var s=n.get("target",!0)||"_blank";window.open(r,s)}}a=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_rootToNode:function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:s,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,t){var a=t.getData(),o=a.getItemLayout(0);if(o){var i=e[0]-o.cx,n=e[1]-o.cy,r=Math.sqrt(i*i+n*n);return r<=o.r&&r>=o.r0}}}),u=l;e.exports=u},3970:function(e,t,a){var o=a("4f85"),i=a("3301"),n=a("2039"),r=o.extend({type:"series.heatmap",getInitialData:function(e,t){return i(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var e=n.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});e.exports=r},4411:function(e,t,a){for(var o=a("3eba"),i=a("55ac"),n=function(){},r=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s<r.length;s++)o.registerAction({type:r[s],update:"updateView"},n);o.registerAction({type:"treemapRootToNode",update:"updateView"},function(e,t){function a(t,a){var o=["treemapZoomToNode","treemapRootToNode"],n=i.retrieveTargetInfo(e,o,t);if(n){var r=t.getViewRoot();r&&(e.direction=i.aboveViewRoot(r,n.node)?"rollUp":"drillDown"),t.resetViewRoot(n.node)}}t.eachComponent({mainType:"series",subType:"treemap",query:e},a)})},"44fb":function(e,t,a){var o=a("3eba"),i=a("55ac"),n="sunburstRootToNode";o.registerAction({type:n,update:"updateView"},function(e,t){function a(t,a){var o=i.retrieveTargetInfo(e,[n],t);if(o){var r=t.getViewRoot();r&&(e.direction=i.aboveViewRoot(r,o.node)?"rollUp":"drillDown"),t.resetViewRoot(o.node)}}t.eachComponent({mainType:"series",subType:"sunburst",query:e},a)});var r="sunburstHighlight";o.registerAction({type:r,update:"updateView"},function(e,t){function a(t,a){var o=i.retrieveTargetInfo(e,[r],t);o&&(e.highlight=o.node)}t.eachComponent({mainType:"series",subType:"sunburst",query:e},a)});var s="sunburstUnhighlight";o.registerAction({type:s,update:"updateView"},function(e,t){function a(t,a){e.unhighlight=!0}t.eachComponent({mainType:"series",subType:"sunburst",query:e},a)})},4527:function(e,t,a){var o=a("2306"),i=a("6d8b");function n(e,t,a){o.Group.call(this),this._createPolyline(e,t,a)}var r=n.prototype;r._createPolyline=function(e,t,a){var i=e.getItemLayout(t),n=new o.Polyline({shape:{points:i}});this.add(n),this._updateCommonStl(e,t,a)},r.updateData=function(e,t,a){var i=e.hostModel,n=this.childAt(0),r={shape:{points:e.getItemLayout(t)}};o.updateProps(n,r,i,t),this._updateCommonStl(e,t,a)},r._updateCommonStl=function(e,t,a){var n=this.childAt(0),r=e.getItemModel(t),s=e.getItemVisual(t,"color"),l=a&&a.lineStyle,u=a&&a.hoverLineStyle;a&&!e.hasItemOption||(l=r.getModel("lineStyle").getLineStyle(),u=r.getModel("emphasis.lineStyle").getLineStyle()),n.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),n.hoverStyle=u,o.setHoverStyle(this)},r.updateLayout=function(e,t){var a=this.childAt(0);a.setShape("points",e.getItemLayout(t))},i.inherits(n,o.Group);var s=n;e.exports=s},"480e":function(e,t,a){var o=a("4e08"),i=(o.__DEV__,a("3eba")),n=a("2306"),r=a("cd84"),s=a("6d8b");function l(e,t,a){var o=e[1]-e[0];t=s.map(t,function(t){return{interval:[(t.interval[0]-e[0])/o,(t.interval[1]-e[0])/o]}});var i=t.length,n=0;return function(e){for(var o=n;o<i;o++){var r=t[o].interval;if(r[0]<=e&&e<=r[1]){n=o;break}}if(o===i)for(o=n-1;o>=0;o--){r=t[o].interval;if(r[0]<=e&&e<=r[1]){n=o;break}}return o>=0&&o<i&&a[o]}}function u(e,t){var a=e[1]-e[0];return t=[(t[0]-e[0])/a,(t[1]-e[0])/a],function(e){return e>=t[0]&&e<=t[1]}}function c(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var d=i.extendChartView({type:"heatmap",render:function(e,t,a){var o;t.eachComponent("visualMap",function(t){t.eachTargetSeries(function(a){a===e&&(o=t)})}),this.group.removeAll(),this._incrementalDisplayable=null;var i=e.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(e,a,0,e.getData().count()):c(i)&&this._renderOnGeo(i,e,o,a)},incrementalPrepareRender:function(e,t,a){this.group.removeAll()},incrementalRender:function(e,t,a,o){var i=t.coordinateSystem;i&&this._renderOnCartesianAndCalendar(t,o,e.start,e.end,!0)},_renderOnCartesianAndCalendar:function(e,t,a,o,i){var r,l,u=e.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),d=u.getAxis("y");r=c.getBandWidth(),l=d.getBandWidth()}for(var h=this.group,p=e.getData(),g="itemStyle",f="emphasis.itemStyle",m="label",y="emphasis.label",v=e.getModel(g).getItemStyle(["color"]),x=e.getModel(f).getItemStyle(),b=e.getModel(m),_=e.getModel(y),S=u.type,w="cartesian2d"===S?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],I=a;I<o;I++){var L;if("cartesian2d"===S){if(isNaN(p.get(w[2],I)))continue;var A=u.dataToPoint([p.get(w[0],I),p.get(w[1],I)]);L=new n.Rect({shape:{x:A[0]-r/2,y:A[1]-l/2,width:r,height:l},style:{fill:p.getItemVisual(I,"color"),opacity:p.getItemVisual(I,"opacity")}})}else{if(isNaN(p.get(w[1],I)))continue;L=new n.Rect({z2:1,shape:u.dataToRect([p.get(w[0],I)]).contentShape,style:{fill:p.getItemVisual(I,"color"),opacity:p.getItemVisual(I,"opacity")}})}var M=p.getItemModel(I);p.hasItemOption&&(v=M.getModel(g).getItemStyle(["color"]),x=M.getModel(f).getItemStyle(),b=M.getModel(m),_=M.getModel(y));var D=e.getRawValue(I),N="-";D&&null!=D[2]&&(N=D[2]),n.setLabelStyle(v,x,b,_,{labelFetcher:e,labelDataIndex:I,defaultText:N,isRectText:!0}),L.setStyle(v),n.setHoverStyle(L,p.hasItemOption?x:s.extend({},x)),L.incremental=i,i&&(L.useHoverLayer=!0),h.add(L),p.setItemGraphicEl(I,L)}},_renderOnGeo:function(e,t,a,o){var i=a.targetVisuals.inRange,s=a.targetVisuals.outOfRange,c=t.getData(),d=this._hmLayer||this._hmLayer||new r;d.blurSize=t.get("blurSize"),d.pointSize=t.get("pointSize"),d.minOpacity=t.get("minOpacity"),d.maxOpacity=t.get("maxOpacity");var h=e.getViewRect().clone(),p=e.getRoamTransform();h.applyTransform(p);var g=Math.max(h.x,0),f=Math.max(h.y,0),m=Math.min(h.width+h.x,o.getWidth()),y=Math.min(h.height+h.y,o.getHeight()),v=m-g,x=y-f,b=[c.mapDimension("lng"),c.mapDimension("lat"),c.mapDimension("value")],_=c.mapArray(b,function(t,a,o){var i=e.dataToPoint([t,a]);return i[0]-=g,i[1]-=f,i.push(o),i}),S=a.getExtent(),w="visualMap.continuous"===a.type?u(S,a.option.range):l(S,a.getPieceList(),a.option.selected);d.update(_,v,x,i.color.getNormalizer(),{inRange:i.color.getColorMapper(),outOfRange:s.color.getColorMapper()},w);var I=new n.Image({style:{width:v,height:x,x:g,y:f,image:d.canvas},silent:!0});this.group.add(I)},dispose:function(){}});e.exports=d},"480f":function(e,t,a){var o=a("4a3f"),i=a("401b"),n=[],r=[],s=[],l=o.quadraticAt,u=i.distSquare,c=Math.abs;function d(e,t,a){for(var o,i=e[0],d=e[1],h=e[2],p=1/0,g=a*a,f=.1,m=.1;m<=.9;m+=.1){n[0]=l(i[0],d[0],h[0],m),n[1]=l(i[1],d[1],h[1],m);var y=c(u(n,t)-g);y<p&&(p=y,o=m)}for(var v=0;v<32;v++){var x=o+f;r[0]=l(i[0],d[0],h[0],o),r[1]=l(i[1],d[1],h[1],o),s[0]=l(i[0],d[0],h[0],x),s[1]=l(i[1],d[1],h[1],x);y=u(r,t)-g;if(c(y)<.01)break;var b=u(s,t)-g;f/=2,y<0?b>=0?o+=f:o-=f:b>=0?o-=f:o+=f}return o}function h(e,t){var a=[],n=o.quadraticSubdivide,r=[[],[],[]],s=[[],[]],l=[];function u(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),t}t/=2,e.eachEdge(function(e,o){var c=e.getLayout(),h=e.getVisual("fromSymbol"),p=e.getVisual("toSymbol");c.__original||(c.__original=[i.clone(c[0]),i.clone(c[1])],c[2]&&c.__original.push(i.clone(c[2])));var g=c.__original;if(null!=c[2]){if(i.copy(r[0],g[0]),i.copy(r[1],g[2]),i.copy(r[2],g[1]),h&&"none"!==h){var f=u(e.node1),m=d(r,g[0],f*t);n(r[0][0],r[1][0],r[2][0],m,a),r[0][0]=a[3],r[1][0]=a[4],n(r[0][1],r[1][1],r[2][1],m,a),r[0][1]=a[3],r[1][1]=a[4]}if(p&&"none"!==p){f=u(e.node2),m=d(r,g[1],f*t);n(r[0][0],r[1][0],r[2][0],m,a),r[1][0]=a[1],r[2][0]=a[2],n(r[0][1],r[1][1],r[2][1],m,a),r[1][1]=a[1],r[2][1]=a[2]}i.copy(c[0],r[0]),i.copy(c[1],r[2]),i.copy(c[2],r[1])}else{if(i.copy(s[0],g[0]),i.copy(s[1],g[1]),i.sub(l,s[1],s[0]),i.normalize(l,l),h&&"none"!==h){f=u(e.node1);i.scaleAndAdd(s[0],s[0],l,f*t)}if(p&&"none"!==p){f=u(e.node2);i.scaleAndAdd(s[1],s[1],l,-f*t)}i.copy(c[0],s[0]),i.copy(c[1],s[1])}})}e.exports=h},"4e10":function(e,t,a){var o=a("6d8b"),i=a("e46b"),n=a("4f85"),r=a("eda2"),s=r.encodeHTML,l=r.addCommas,u=a("7023"),c=a("2b17"),d=c.retrieveRawAttr,h=a("5b87"),p=n.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var t=i(this,["value"]),a=t.mapDimension("value"),n=o.createHashMap(),r=[],s=[],l=0,u=t.count();l<u;l++){var c=t.getName(l);n.set(c,!0),r.push({name:c,value:t.get(a,l),selected:d(t,l,"selected")})}var p=h.load(this.getMapType(),this.option.nameMap);return o.each(p.regions,function(e){var t=e.name;n.get(t)||(r.push({name:t}),s.push(t))}),this.updateSelectedMap(r),t.appendValues([],s),t},getHostGeoModel:function(){var e=this.option.geoIndex;return null!=e?this.dependentModels.geo[e]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(e){var t=this.getData();return t.get(t.mapDimension("value"),e)},getRegionModel:function(e){var t=this.getData();return t.getItemModel(t.indexOfName(e))},formatTooltip:function(e){for(var t=this.getData(),a=l(this.getRawValue(e)),o=t.getName(e),i=this.seriesGroup,n=[],r=0;r<i.length;r++){var u=i[r].originalData.indexOfName(o),c=t.mapDimension("value");isNaN(i[r].originalData.get(c,u))||n.push(s(i[r].name))}return n.join(", ")+"<br />"+s(o+" : "+a)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),a=this.coordinateSystem,o=a.getRegion(t);return o&&a.dataToPoint(o.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},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)"}}}});o.mixin(p,u);var g=p;e.exports=g},"4e47":function(e,t,a){var o=a("6d8b"),i=a("2306"),n={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},r=2,s=4;function l(e,t,a){i.Group.call(this);var o=new i.Sector({z2:r});o.seriesIndex=t.seriesIndex;var n=new i.Text({z2:s,silent:e.getModel("label").get("silent")});function l(){n.ignore=n.hoverIgnore}function u(){n.ignore=n.normalIgnore}this.add(o),this.add(n),this.updateData(!0,e,"normal",t,a),this.on("emphasis",l).on("normal",u).on("mouseover",l).on("mouseout",u)}var u=l.prototype;u.updateData=function(e,t,a,n,r){this.node=t,t.piece=this,n=n||this._seriesModel,r=r||this._ecModel;var s=this.childAt(0);s.dataIndex=t.dataIndex;var l=t.getModel(),u=t.getLayout(),c=o.extend({},u);c.label=null;var h=d(t,n,r);g(t,n,h);var p,f=l.getModel("itemStyle").getItemStyle();if("normal"===a)p=f;else{var m=l.getModel(a+".itemStyle").getItemStyle();p=o.merge(m,f)}p=o.defaults({lineJoin:"bevel",fill:p.fill||h},p),e?(s.setShape(c),s.shape.r=u.r0,i.updateProps(s,{shape:{r:u.r}},n,t.dataIndex),s.useStyle(p)):"object"===typeof p.fill&&p.fill.type||"object"===typeof s.style.fill&&s.style.fill.type?(i.updateProps(s,{shape:c},n),s.useStyle(p)):i.updateProps(s,{shape:c,style:p},n),this._updateLabel(n,h,a);var y=l.getShallow("cursor");if(y&&s.attr("cursor",y),e){var v=n.getShallow("highlightPolicy");this._initEvents(s,t,n,v)}this._seriesModel=n||this._seriesModel,this._ecModel=r||this._ecModel},u.onEmphasis=function(e){var t=this;this.node.hostTree.root.eachNode(function(a){a.piece&&(t.node===a?a.piece.updateData(!1,a,"emphasis"):p(a,t.node,e)?a.piece.childAt(0).trigger("highlight"):e!==n.NONE&&a.piece.childAt(0).trigger("downplay"))})},u.onNormal=function(){this.node.hostTree.root.eachNode(function(e){e.piece&&e.piece.updateData(!1,e,"normal")})},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(e,t,a){var n=this.node.getModel(),r=n.getModel("label"),s="normal"===a||"emphasis"===a?r:n.getModel(a+".label"),l=n.getModel("emphasis.label"),u=o.retrieve(e.getFormattedLabel(this.node.dataIndex,"normal",null,null,"label"),this.node.name);!1===L("show")&&(u="");var c=this.node.getLayout(),d=s.get("minAngle");null==d&&(d=r.get("minAngle")),d=d/180*Math.PI;var h=c.endAngle-c.startAngle;null!=d&&Math.abs(h)<d&&(u="");var p=this.childAt(1);i.setLabelStyle(p.style,p.hoverStyle||{},r,l,{defaultText:s.getShallow("show")?u:null,autoColor:t,useInsideStyle:!0});var g,f=(c.startAngle+c.endAngle)/2,m=Math.cos(f),y=Math.sin(f),v=L("position"),x=L("distance")||0,b=L("align");"outside"===v?(g=c.r+x,b=f>Math.PI/2?"right":"left"):b&&"center"!==b?"left"===b?(g=c.r0+x,f>Math.PI/2&&(b="right")):"right"===b&&(g=c.r-x,f>Math.PI/2&&(b="left")):(g=(c.r+c.r0)/2,b="center"),p.attr("style",{text:u,textAlign:b,textVerticalAlign:L("verticalAlign")||"middle",opacity:L("opacity")});var _=g*m+c.cx,S=g*y+c.cy;p.attr("position",[_,S]);var w=L("rotate"),I=0;function L(e){var t=s.get(e);return null==t?r.get(e):t}"radial"===w?(I=-f,I<-Math.PI/2&&(I+=Math.PI)):"tangential"===w?(I=Math.PI/2-f,I>Math.PI/2?I-=Math.PI:I<-Math.PI/2&&(I+=Math.PI)):"number"===typeof w&&(I=w*Math.PI/180),p.attr("rotation",I)},u._initEvents=function(e,t,a,o){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var i=this,n=function(){i.onEmphasis(o)},r=function(){i.onNormal()},s=function(){i.onDownplay()},l=function(){i.onHighlight()};a.isAnimationEnabled()&&e.on("mouseover",n).on("mouseout",r).on("emphasis",n).on("normal",r).on("downplay",s).on("highlight",l)},o.inherits(l,i.Group);var c=l;function d(e,t,a){var o=e.getVisual("color"),i=e.getVisual("visualMeta");i&&0!==i.length||(o=null);var n=e.getModel("itemStyle").get("color");if(n)return n;if(o)return o;if(0===e.depth)return a.option.color[0];var r=a.option.color.length;return n=a.option.color[h(e)%r],n}function h(e){var t=e;while(t.depth>1)t=t.parentNode;var a=e.getAncestors()[0];return o.indexOf(a.children,t)}function p(e,t,a){return a!==n.NONE&&(a===n.SELF?e===t:a===n.ANCESTOR?e===t||e.isAncestorOf(t):e===t||e.isDescendantOf(t))}function g(e,t,a){var o=t.getData();o.setItemVisual(e.dataIndex,"color",a)}e.exports=c},"527a":function(e,t,a){var o=a("6d8b"),i=a("3842");function n(e,t){e.eachSeriesByType("themeRiver",function(e){var t=e.getData(),a=e.coordinateSystem,o={},n=a.getRect();o.rect=n;var s=e.get("boundaryGap"),l=a.getAxis();if(o.boundaryGap=s,"horizontal"===l.orient){s[0]=i.parsePercent(s[0],n.height),s[1]=i.parsePercent(s[1],n.height);var u=n.height-s[0]-s[1];r(t,e,u)}else{s[0]=i.parsePercent(s[0],n.width),s[1]=i.parsePercent(s[1],n.width);var c=n.width-s[0]-s[1];r(t,e,c)}t.setLayout("layoutInfo",o)})}function r(e,t,a){if(e.count())for(var i,n=t.coordinateSystem,r=t.getLayerSeries(),l=e.mapDimension("single"),u=e.mapDimension("value"),c=o.map(r,function(t){return o.map(t.indices,function(t){var a=n.dataToPoint(e.get(l,t));return a[1]=e.get(u,t),a})}),d=s(c),h=d.y0,p=a/d.max,g=r.length,f=r[0].indices.length,m=0;m<f;++m){i=h[m]*p,e.setItemLayout(r[0].indices[m],{layerIndex:0,x:c[0][m][0],y0:i,y:c[0][m][1]*p});for(var y=1;y<g;++y)i+=c[y-1][m][1]*p,e.setItemLayout(r[y].indices[m],{layerIndex:y,x:c[y][m][0],y0:i,y:c[y][m][1]*p})}}function s(e){for(var t=e.length,a=e[0].length,o=[],i=[],n=0,r={},s=0;s<a;++s){for(var l=0,u=0;l<t;++l)u+=e[l][s][1];u>n&&(n=u),o.push(u)}for(var c=0;c<a;++c)i[c]=(n-o[c])/2;n=0;for(var d=0;d<a;++d){var h=o[d]+i[d];h>n&&(n=h)}return r.y0=i,r.max=n,r}e.exports=n},"54fb":function(e,t){function a(e){e.eachSeriesByType("map",function(e){var t=e.get("color"),a=e.getModel("itemStyle"),o=a.get("areaColor"),i=a.get("color")||t[e.seriesIndex%t.length];e.getData().setVisual({areaColor:o,color:i})})}e.exports=a},"55ac":function(e,t,a){var o=a("6d8b");function i(e,t,a){if(e&&o.indexOf(t,e.type)>=0){var i=a.getData().tree.root,n=e.targetNode;if("string"===typeof n&&(n=i.getNodeById(n)),n&&i.contains(n))return{node:n};var r=e.targetNodeId;if(null!=r&&(n=i.getNodeById(r)))return{node:n}}}function n(e){var t=[];while(e)e=e.parentNode,e&&t.push(e);return t.reverse()}function r(e,t){var a=n(e);return o.indexOf(a,t)>=0}function s(e,t){var a=[];while(e){var o=e.dataIndex;a.push({name:e.name,dataIndex:o,value:t.getRawValue(o)}),e=e.parentNode}return a.reverse(),a}t.retrieveTargetInfo=i,t.getPathToRoot=n,t.aboveViewRoot=r,t.wrapTreePathInfo=s},5866:function(e,t,a){var o=a("ef2b"),i=o.forceLayout,n=a("1c5f"),r=n.simpleLayout,s=a("94e4"),l=s.circularLayout,u=a("3842"),c=u.linearMap,d=a("401b"),h=a("6d8b");function p(e){e.eachSeriesByType("graph",function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var a=e.preservedPoints||{},o=e.getGraph(),n=o.data,s=o.edgeData,u=e.getModel("force"),p=u.get("initLayout");e.preservedPoints?n.each(function(e){var t=n.getId(e);n.setItemLayout(e,a[t]||[NaN,NaN])}):p&&"none"!==p?"circular"===p&&l(e):r(e);var g=n.getDataExtent("value"),f=s.getDataExtent("value"),m=u.get("repulsion"),y=u.get("edgeLength");h.isArray(m)||(m=[m,m]),h.isArray(y)||(y=[y,y]),y=[y[1],y[0]];var v=n.mapArray("value",function(e,t){var a=n.getItemLayout(t),o=c(e,g,m);return isNaN(o)&&(o=(m[0]+m[1])/2),{w:o,rep:o,fixed:n.getItemModel(t).get("fixed"),p:!a||isNaN(a[0])||isNaN(a[1])?null:a}}),x=s.mapArray("value",function(e,t){var a=o.getEdgeByIndex(t),i=c(e,f,y);return isNaN(i)&&(i=(y[0]+y[1])/2),{n1:v[a.node1.dataIndex],n2:v[a.node2.dataIndex],d:i,curveness:a.getModel().get("lineStyle.curveness")||0}}),b=(t=e.coordinateSystem,t.getBoundingRect()),_=i(v,x,{rect:b,gravity:u.get("gravity")}),S=_.step;_.step=function(e){for(var t=0,i=v.length;t<i;t++)v[t].fixed&&d.copy(v[t].p,o.getNodeByIndex(t).getLayout());S(function(t,i,r){for(var s=0,l=t.length;s<l;s++)t[s].fixed||o.getNodeByIndex(s).setLayout(t[s].p),a[n.getId(s)]=t[s].p;for(s=0,l=i.length;s<l;s++){var u=i[s],c=o.getEdgeByIndex(s),h=u.n1.p,p=u.n2.p,g=c.getLayout();g=g?g.slice():[],g[0]=g[0]||[],g[1]=g[1]||[],d.copy(g[0],h),d.copy(g[1],p),+u.curveness&&(g[2]=[(h[0]+p[0])/2-(h[1]-p[1])*u.curveness,(h[1]+p[1])/2-(p[0]-h[0])*u.curveness]),c.setLayout(g)}e&&e(r)})},e.forceLayout=_,e.preservedPoints=a,_.step()}else e.forceLayout=null})}e.exports=p},"5b69":function(e,t,a){var o=a("2306"),i=a("3eba"),n=a("6d8b"),r=["itemStyle","opacity"],s=["lineStyle","opacity"];function l(e,t){return e.getVisual("opacity")||e.getModel().get(t)}function u(e,t,a){var o=e.getGraphicEl(),i=l(e,t);null!=a&&(null==i&&(i=1),i*=a),o.downplay&&o.downplay(),o.traverse(function(e){"group"!==e.type&&e.setStyle("opacity",i)})}function c(e,t){var a=l(e,t),o=e.getGraphicEl();o.highlight&&o.highlight(),o.traverse(function(e){"group"!==e.type&&e.setStyle("opacity",a)})}var d=o.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(e,t){var a=t.extent,o=t.orient;"vertical"===o?(e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),e.lineTo(t.x2+a,t.y2),e.bezierCurveTo(t.cpx2+a,t.cpy2,t.cpx1+a,t.cpy1,t.x1+a,t.y1)):(e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),e.lineTo(t.x2,t.y2+a),e.bezierCurveTo(t.cpx2,t.cpy2+a,t.cpx1,t.cpy1+a,t.x1,t.y1+a)),e.closePath()}}),h=i.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(e,t,a){var i=this,n=e.getGraph(),r=this.group,s=e.layoutInfo,l=s.width,u=s.height,c=e.getData(),h=e.getData("edge"),g=e.get("orient");this._model=e,r.removeAll(),r.attr("position",[s.x,s.y]),n.eachEdge(function(t){var a=new d;a.dataIndex=t.dataIndex,a.seriesIndex=e.seriesIndex,a.dataType="edge";var i,n,s,c,p,f,m,y,v=t.getModel("lineStyle"),x=v.get("curveness"),b=t.node1.getLayout(),_=t.node1.getModel(),S=_.get("localX"),w=_.get("localY"),I=t.node2.getLayout(),L=t.node2.getModel(),A=L.get("localX"),M=L.get("localY"),D=t.getLayout();switch(a.shape.extent=Math.max(1,D.dy),a.shape.orient=g,"vertical"===g?(i=(null!=S?S*l:b.x)+D.sy,n=(null!=w?w*u:b.y)+b.dy,s=(null!=A?A*l:I.x)+D.ty,c=null!=M?M*u:I.y,p=i,f=n*(1-x)+c*x,m=s,y=n*x+c*(1-x)):(i=(null!=S?S*l:b.x)+b.dx,n=(null!=w?w*u:b.y)+D.sy,s=null!=A?A*l:I.x,c=(null!=M?M*u:I.y)+D.ty,p=i*(1-x)+s*x,f=n,m=i*x+s*(1-x),y=c),a.setShape({x1:i,y1:n,x2:s,y2:c,cpx1:p,cpy1:f,cpx2:m,cpy2:y}),a.setStyle(v.getItemStyle()),a.style.fill){case"source":a.style.fill=t.node1.getVisual("color");break;case"target":a.style.fill=t.node2.getVisual("color");break}o.setHoverStyle(a,t.getModel("emphasis.lineStyle").getItemStyle()),r.add(a),h.setItemGraphicEl(t.dataIndex,a)}),n.eachNode(function(t){var a=t.getLayout(),i=t.getModel(),n=i.get("localX"),s=i.get("localY"),d=i.getModel("label"),h=i.getModel("emphasis.label"),p=new o.Rect({shape:{x:null!=n?n*l:a.x,y:null!=s?s*u:a.y,width:a.dx,height:a.dy},style:i.getModel("itemStyle").getItemStyle()}),g=t.getModel("emphasis.itemStyle").getItemStyle();o.setLabelStyle(p.style,g,d,h,{labelFetcher:e,labelDataIndex:t.dataIndex,defaultText:t.id,isRectText:!0}),p.setStyle("fill",t.getVisual("color")),o.setHoverStyle(p,g),r.add(p),c.setItemGraphicEl(t.dataIndex,p),p.dataType="node"}),c.eachItemGraphicEl(function(t,o){var n=c.getItemModel(o);n.get("draggable")&&(t.drift=function(t,n){i._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=n,this.dirty(),a.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(o),localX:this.shape.x/l,localY:this.shape.y/u})},t.ondragend=function(){i._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move"),n.get("focusNodeAdjacency")&&(t.off("mouseover").on("mouseover",function(){i._focusAdjacencyDisabled||a.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.off("mouseout").on("mouseout",function(){i._focusAdjacencyDisabled||a.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})}))}),h.eachItemGraphicEl(function(t,o){var n=h.getItemModel(o);n.get("focusNodeAdjacency")&&(t.off("mouseover").on("mouseover",function(){i._focusAdjacencyDisabled||a.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex})}),t.off("mouseout").on("mouseout",function(){i._focusAdjacencyDisabled||a.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})}))}),!this._data&&e.get("animation")&&r.setClipPath(p(r.getBoundingRect(),e,function(){r.removeClipPath()})),this._data=e.getData()},dispose:function(){},focusNodeAdjacency:function(e,t,a,o){var i=this._model.getData(),l=i.graph,d=o.dataIndex,h=i.getItemModel(d),p=o.edgeDataIndex;if(null!=d||null!=p){var g=l.getNodeByIndex(d),f=l.getEdgeByIndex(p);if(l.eachNode(function(e){u(e,r,.1)}),l.eachEdge(function(e){u(e,s,.1)}),g){c(g,r);var m=h.get("focusNodeAdjacency");"outEdges"===m?n.each(g.outEdges,function(e){e.dataIndex<0||(c(e,s),c(e.node2,r))}):"inEdges"===m?n.each(g.inEdges,function(e){e.dataIndex<0||(c(e,s),c(e.node1,r))}):"allEdges"===m&&n.each(g.edges,function(e){e.dataIndex<0||(c(e,s),c(e.node1,r),c(e.node2,r))})}f&&(c(f,s),c(f.node1,r),c(f.node2,r))}},unfocusNodeAdjacency:function(e,t,a,o){var i=this._model.getGraph();i.eachNode(function(e){u(e,r)}),i.eachEdge(function(e){u(e,s)})}});function p(e,t,a){var i=new o.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return o.initProps(i,{shape:{width:e.width+20,height:e.height+20}},t,a),i}e.exports=h},"5ce2":function(e,t,a){a("3970"),a("480e")},"60d7":function(e,t,a){var o=a("2306"),i=a("e887"),n=.3,r=i.extend({type:"parallel",init:function(){this._dataGroup=new o.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(e,t,a,i){var n=this._dataGroup,r=e.getData(),h=this._data,p=e.coordinateSystem,g=p.dimensions,f=c(e);function m(e){var t=u(r,n,e,g,p);d(t,r,e,f)}function y(t,a){var n=h.getItemGraphicEl(a),s=l(r,t,g,p);r.setItemGraphicEl(t,n);var u=i&&!1===i.animation?null:e;o.updateProps(n,{shape:{points:s}},u,t),d(n,r,t,f)}function v(e){var t=h.getItemGraphicEl(e);n.remove(t)}if(r.diff(h).add(m).update(y).remove(v).execute(),!this._initialized){this._initialized=!0;var x=s(p,e,function(){setTimeout(function(){n.removeClipPath()})});n.setClipPath(x)}this._data=r},incrementalPrepareRender:function(e,t,a){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(e,t,a){for(var o=t.getData(),i=t.coordinateSystem,n=i.dimensions,r=c(t),s=e.start;s<e.end;s++){var l=u(o,this._dataGroup,s,n,i);l.incremental=!0,d(l,o,s,r)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function s(e,t,a){var i=e.model,n=e.getRect(),r=new o.Rect({shape:{x:n.x,y:n.y,width:n.width,height:n.height}}),s="horizontal"===i.get("layout")?"width":"height";return r.setShape(s,0),o.initProps(r,{shape:{width:n.width,height:n.height}},t,a),r}function l(e,t,a,o){for(var i=[],n=0;n<a.length;n++){var r=a[n],s=e.get(e.mapDimension(r),t);h(s,o.getAxis(r).type)||i.push(o.dataToPoint(s,r))}return i}function u(e,t,a,i,n){var r=l(e,a,i,n),s=new o.Polyline({shape:{points:r},silent:!0,z2:10});return t.add(s),e.setItemGraphicEl(a,s),s}function c(e){var t=e.get("smooth",!0);return!0===t&&(t=n),{lineStyle:e.getModel("lineStyle").getLineStyle(),smooth:null!=t?t:n}}function d(e,t,a,o){var i=o.lineStyle;if(t.hasItemOption){var n=t.getItemModel(a).getModel("lineStyle");i=n.getLineStyle()}e.useStyle(i);var r=e.style;r.fill=null,r.stroke=t.getItemVisual(a,"color"),r.opacity=t.getItemVisual(a,"opacity"),o.smooth&&(e.shape.smooth=o.smooth)}function h(e,t){return"category"===t?null==e:null==e||isNaN(e)}var p=r;e.exports=p},6582:function(e,t,a){var o=a("cccd"),i={seriesType:"lines",plan:o(),reset:function(e){var t=e.coordinateSystem,a=e.get("polyline"),o=e.pipelineContext.large;function i(i,n){var r=[];if(o){var s,l=i.end-i.start;if(a){for(var u=0,c=i.start;c<i.end;c++)u+=e.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var d=0,h=[];for(c=i.start;c<i.end;c++){var p=e.getLineCoords(c,r);a&&(s[d++]=p);for(var g=0;g<p;g++)h=t.dataToPoint(r[g],!1,h),s[d++]=h[0],s[d++]=h[1]}n.setLayout("linesPoints",s)}else for(c=i.start;c<i.end;c++){var f=n.getItemModel(c),m=(p=e.getLineCoords(c,r),[]);if(a)for(var y=0;y<p;y++)m.push(t.dataToPoint(r[y]));else{m[0]=t.dataToPoint(r[0]),m[1]=t.dataToPoint(r[1]);var v=f.get("lineStyle.curveness");+v&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*v,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*v])}n.setItemLayout(c,m)}}return{progress:i}}};e.exports=i},"675a":function(e,t){function a(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",function(e){var a=e.getCategoriesData(),o=e.getGraph(),i=o.data,n=a.mapArray(a.getName);i.filterSelf(function(e){var a=i.getItemModel(e),o=a.getShallow("category");if(null!=o){"number"===typeof o&&(o=n[o]);for(var r=0;r<t.length;r++)if(!t[r].isSelected(o))return!1}return!0})},this)}e.exports=a},"675c":function(e,t,a){var o=a("3eba");a("4e10"),a("a666"),a("49e8"),a("eeea");var i=a("cee1"),n=a("54fb"),r=a("f6ed"),s=a("9442"),l=a("7782");o.registerLayout(i),o.registerVisual(n),o.registerProcessor(o.PRIORITY.PROCESSOR.STATISTIC,r),o.registerPreprocessor(s),l("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},"6a4c":function(e,t,a){var o=a("4527"),i=a("6d8b"),n=a("0fd3"),r=a("401b");function s(e,t,a){n.call(this,e,t,a),this._lastFrame=0,this._lastFramePercent=0}var l=s.prototype;l.createLine=function(e,t,a){return new o(e,t,a)},l.updateAnimationPoints=function(e,t){this._points=t;for(var a=[0],o=0,i=1;i<t.length;i++){var n=t[i-1],s=t[i];o+=r.dist(n,s),a.push(o)}if(0!==o){for(i=0;i<a.length;i++)a[i]/=o;this._offsets=a,this._length=o}},l.getLineLength=function(e){return this._length},l.updateSymbolPosition=function(e){var t=e.__t,a=this._points,o=this._offsets,i=a.length;if(o){var n=this._lastFrame;if(t<this._lastFramePercent){var s=Math.min(n+1,i-1);for(l=s;l>=0;l--)if(o[l]<=t)break;l=Math.min(l,i-2)}else{for(var l=n;l<i;l++)if(o[l]>t)break;l=Math.min(l-1,i-2)}r.lerp(e.position,a[l],a[l+1],(t-o[l])/(o[l+1]-o[l]));var u=a[l+1][0]-a[l][0],c=a[l+1][1]-a[l][1];e.rotation=-Math.atan2(c,u)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=t,e.ignore=!1}},i.inherits(s,n);var u=s;e.exports=u},"6c12f":function(e,t,a){var o=a("3eba");a("2cfc"),a("adf4"),a("255c");var i=a("527a"),n=a("71b2"),r=a("d3f47");o.registerLayout(i),o.registerVisual(n),o.registerProcessor(r("themeRiver"))},"6cd8":function(e,t,a){var o=a("6d8b"),i=a("2306"),n=a("1418"),r=a("22da"),s=r.radialCoordinate,l=a("3eba"),u=a("e263"),c=a("6cc5"),d=a("01ef"),h=a("4a01"),p=a("c526"),g=p.onIrrelevantElement,f=l.extendChartView({type:"tree",init:function(e,t){this._oldTree,this._mainGroup=new i.Group,this._controller=new h(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(e,t,a,o){var i=e.getData(),n=e.layoutInfo,r=this._mainGroup,s=e.get("layout");"radial"===s?r.attr("position",[n.x+n.width/2,n.y+n.height/2]):r.attr("position",[n.x,n.y]),this._updateViewCoordSys(e),this._updateController(e,t,a);var l=this._data,u={expandAndCollapse:e.get("expandAndCollapse"),layout:s,orient:e.getOrient(),curvature:e.get("lineStyle.curveness"),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};i.diff(l).add(function(t){m(i,t)&&v(i,t,null,r,e,u)}).update(function(t,a){var o=l.getItemGraphicEl(a);m(i,t)?v(i,t,o,r,e,u):o&&x(l,a,o,r,e,u)}).remove(function(t){var a=l.getItemGraphicEl(t);a&&x(l,t,a,r,e,u)}).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===u.expandAndCollapse&&i.eachItemGraphicEl(function(t,o){t.off("click").on("click",function(){a.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:o})})}),this._data=i},_updateViewCoordSys:function(e){var t=e.getData(),a=[];t.each(function(e){var o=t.getItemLayout(e);!o||isNaN(o.x)||isNaN(o.y)||a.push([+o.x,+o.y])});var o=[],i=[];u.fromPoints(a,o,i),i[0]-o[0]===0&&(i[0]+=1,o[0]-=1),i[1]-o[1]===0&&(i[1]+=1,o[1]-=1);var n=e.coordinateSystem=new c;n.zoomLimit=e.get("scaleLimit"),n.setBoundingRect(o[0],o[1],i[0]-o[0],i[1]-o[1]),n.setCenter(e.get("center")),n.setZoom(e.get("zoom")),this.group.attr({position:n.position,scale:n.scale}),this._viewCoordSys=n},_updateController:function(e,t,a){var o=this._controller,i=this._controllerHost,n=this.group;o.setPointerChecker(function(t,o,i){var r=n.getBoundingRect();return r.applyTransform(n.transform),r.contain(o,i)&&!g(t,a,e)}),o.enable(e.get("roam")),i.zoomLimit=e.get("scaleLimit"),i.zoom=e.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(t){d.updateViewOnPan(i,t.dx,t.dy),a.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})},this).on("zoom",function(t){d.updateViewOnZoom(i,t.scale,t.originX,t.originY),a.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(e)},this)},_updateNodeAndLinkScale:function(e){var t=e.getData(),a=this._getNodeGlobalScale(e),o=[a,a];t.eachItemGraphicEl(function(e,t){e.attr("scale",o)})},_getNodeGlobalScale:function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var a=this._nodeScaleRatio,o=t.scale,i=o&&o[0]||1,n=t.getZoom(),r=(n-1)*a+1;return r/i},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function m(e,t){var a=e.getItemLayout(t);return a&&!isNaN(a.x)&&!isNaN(a.y)&&"none"!==e.getItemVisual(t,"symbol")}function y(e,t,a){return a.itemModel=t,a.itemStyle=t.getModel("itemStyle").getItemStyle(),a.hoverItemStyle=t.getModel("emphasis.itemStyle").getItemStyle(),a.lineStyle=t.getModel("lineStyle").getLineStyle(),a.labelModel=t.getModel("label"),a.hoverLabelModel=t.getModel("emphasis.label"),!1===e.isExpand&&0!==e.children.length?a.symbolInnerColor=a.itemStyle.fill:a.symbolInnerColor="#fff",a}function v(e,t,a,r,s,l){var u=!a,c=e.tree.getNodeByDataIndex(t),d=c.getModel(),h=(l=y(c,d,l),e.tree.root),p=c.parentNode===h?c:c.parentNode||c,g=e.getItemGraphicEl(p.dataIndex),f=p.getLayout(),m=g?{x:g.position[0],y:g.position[1],rawX:g.__radialOldRawX,rawY:g.__radialOldRawY}:f,v=c.getLayout();u?(a=new n(e,t,l),a.attr("position",[m.x,m.y])):a.updateData(e,t,l),a.__radialOldRawX=a.__radialRawX,a.__radialOldRawY=a.__radialRawY,a.__radialRawX=v.rawX,a.__radialRawY=v.rawY,r.add(a),e.setItemGraphicEl(t,a),i.updateProps(a,{position:[v.x,v.y]},s);var x=a.getSymbolPath();if("radial"===l.layout){var _,S,w=h.children[0],I=w.getLayout(),L=w.children.length;if(v.x===I.x&&!0===c.isExpand){var A={};A.x=(w.children[0].getLayout().x+w.children[L-1].getLayout().x)/2,A.y=(w.children[0].getLayout().y+w.children[L-1].getLayout().y)/2,_=Math.atan2(A.y-I.y,A.x-I.x),_<0&&(_=2*Math.PI+_),S=A.x<I.x,S&&(_-=Math.PI)}else _=Math.atan2(v.y-I.y,v.x-I.x),_<0&&(_=2*Math.PI+_),0===c.children.length||0!==c.children.length&&!1===c.isExpand?(S=v.x<I.x,S&&(_-=Math.PI)):(S=v.x>I.x,S||(_-=Math.PI));var M=S?"left":"right";x.setStyle({textPosition:M,textRotation:-_,textOrigin:"center",verticalAlign:"middle"})}if(c.parentNode&&c.parentNode!==h){var D=a.__edge;D||(D=a.__edge=new i.BezierCurve({shape:b(l,m,m),style:o.defaults({opacity:0,strokeNoScale:!0},l.lineStyle)})),i.updateProps(D,{shape:b(l,f,v),style:{opacity:1}},s),r.add(D)}}function x(e,t,a,o,n,r){var s,l=e.tree.getNodeByDataIndex(t),u=e.tree.root,c=l.getModel(),d=(r=y(l,c,r),l.parentNode===u?l:l.parentNode||l);while(s=d.getLayout(),null==s)d=d.parentNode===u?d:d.parentNode||d;i.updateProps(a,{position:[s.x+1,s.y+1]},n,function(){o.remove(a),e.setItemGraphicEl(t,null)}),a.fadeOut(null,{keepLabel:!0});var h=a.__edge;h&&i.updateProps(h,{shape:b(r,s,s),style:{opacity:0}},n,function(){o.remove(h)})}function b(e,t,a){var o,i,n,r,l,u,c,d,h=e.orient;if("radial"===e.layout){l=t.rawX,c=t.rawY,u=a.rawX,d=a.rawY;var p=s(l,c),g=s(l,c+(d-c)*e.curvature),f=s(u,d+(c-d)*e.curvature),m=s(u,d);return{x1:p.x,y1:p.y,x2:m.x,y2:m.y,cpx1:g.x,cpy1:g.y,cpx2:f.x,cpy2:f.y}}return l=t.x,c=t.y,u=a.x,d=a.y,"LR"!==h&&"RL"!==h||(o=l+(u-l)*e.curvature,i=c,n=u+(l-u)*e.curvature,r=d),"TB"!==h&&"BT"!==h||(o=l,i=c+(d-c)*e.curvature,n=u,r=d+(c-d)*e.curvature),{x1:l,y1:c,x2:u,y2:d,cpx1:o,cpy1:i,cpx2:n,cpy2:r}}e.exports=f},"6d9a":function(e,t){function a(e,t,a){var o,i=[e],n=[];while(o=i.pop())if(n.push(o),o.isExpand){var r=o.children;if(r.length)for(var s=0;s<r.length;s++)i.push(r[s])}while(o=n.pop())t(o,a)}function o(e,t){var a,o=[e];while(a=o.pop())if(t(a),a.isExpand){var i=a.children;if(i.length)for(var n=i.length-1;n>=0;n--)o.push(i[n])}}t.eachAfter=a,t.eachBefore=o},"71b2":function(e,t,a){var o=a("6d8b"),i=o.createHashMap;function n(e){e.eachSeriesByType("themeRiver",function(e){var t=e.getData(),a=e.getRawData(),o=e.get("color"),n=i();t.each(function(e){n.set(t.getRawIndex(e),e)}),a.each(function(i){var r=a.getName(i),s=o[(e.nameMap.get(r)-1)%o.length];a.setItemVisual(i,"color",s);var l=n.get(i);null!=l&&t.setItemVisual(l,"color",s)})})}e.exports=n},7293:function(e,t,a){var o=a("4e08"),i=(o.__DEV__,a("4f85")),n=a("6179"),r=a("6d8b"),s=r.concatArray,l=r.mergeAll,u=r.map,c=a("eda2"),d=c.encodeHTML,h=(a("2039"),"undefined"===typeof Uint32Array?Array:Uint32Array),p="undefined"===typeof Float64Array?Array:Float64Array;function g(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=u(t,function(e){var t=[e[0].coord,e[1].coord],a={coords:t};return e[0].name&&(a.fromName=e[0].name),e[1].name&&(a.toName=e[1].name),l([a,e[0],e[1]])}))}var f=i.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(e){e.data=e.data||[],g(e);var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count)),f.superApply(this,"init",arguments)},mergeOption:function(e){if(e.data=e.data||[],g(e),e.data){var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count))}f.superApply(this,"mergeOption",arguments)},appendData:function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=s(this._flatCoords,t.flatCoords),this._flatCoordsOffset=s(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},_getCoordsFromItemModel:function(e){var t=this.getData().getItemModel(e),a=t.option instanceof Array?t.option:t.getShallow("coords");return a},getLineCoordsCount:function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},getLineCoords:function(e,t){if(this._flatCoordsOffset){for(var a=this._flatCoordsOffset[2*e],o=this._flatCoordsOffset[2*e+1],i=0;i<o;i++)t[i]=t[i]||[],t[i][0]=this._flatCoords[a+2*i],t[i][1]=this._flatCoords[a+2*i+1];return o}var n=this._getCoordsFromItemModel(e);for(i=0;i<n.length;i++)t[i]=t[i]||[],t[i][0]=n[i][0],t[i][1]=n[i][1];return n.length},_processFlatCoordsArray:function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),"number"===typeof e[0]){for(var a=e.length,o=new h(a),i=new p(a),n=0,r=0,s=0,l=0;l<a;){s++;var u=e[l++];o[r++]=n+t,o[r++]=u;for(var c=0;c<u;c++){var d=e[l++],g=e[l++];i[n++]=d,i[n++]=g}}return{flatCoordsOffset:new Uint32Array(o.buffer,0,r),flatCoords:i,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},getInitialData:function(e,t){var a=new n(["value"],this);return a.hasItemOption=!1,a.initData(e.data,[],function(e,t,o,i){if(e instanceof Array)return NaN;a.hasItemOption=!0;var n=e.value;return null!=n?n instanceof Array?n[i]:n:void 0}),a},formatTooltip:function(e){var t=this.getData(),a=t.getItemModel(e),o=a.get("name");if(o)return o;var i=a.get("fromName"),n=a.get("toName"),r=[];return null!=i&&r.push(i),null!=n&&r.push(n),d(r.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},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}}}),m=f;e.exports=m},"73ca":function(e,t,a){var o=a("2306"),i=a("7e5b");function n(e){this._ctor=e||i,this.group=new o.Group}var r=n.prototype;function s(e,t,a,o){var i=t.getItemLayout(a);if(d(i)){var n=new e._ctor(t,a,o);t.setItemGraphicEl(a,n),e.group.add(n)}}function l(e,t,a,o,i,n){var r=t.getItemGraphicEl(o);d(a.getItemLayout(i))?(r?r.updateData(a,i,n):r=new e._ctor(a,i,n),a.setItemGraphicEl(i,r),e.group.add(r)):e.group.remove(r)}function u(e){var t=e.hostModel;return{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}function c(e){return isNaN(e[0])||isNaN(e[1])}function d(e){return!c(e[0])&&!c(e[1])}r.isPersistent=function(){return!0},r.updateData=function(e){var t=this,a=t.group,o=t._lineData;t._lineData=e,o||a.removeAll();var i=u(e);e.diff(o).add(function(a){s(t,e,a,i)}).update(function(a,n){l(t,o,e,n,a,i)}).remove(function(e){a.remove(o.getItemGraphicEl(e))}).execute()},r.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl(function(t,a){t.updateLayout(e,a)},this)},r.incrementalPrepareUpdate=function(e){this._seriesScope=u(e),this._lineData=null,this.group.removeAll()},r.incrementalUpdate=function(e,t){function a(e){e.isGroup||(e.incremental=e.useHoverLayer=!0)}for(var o=e.start;o<e.end;o++){var i=t.getItemLayout(o);if(d(i)){var n=new this._ctor(t,o,this._seriesScope);n.traverse(a),this.group.add(n),t.setItemGraphicEl(o,n)}}},r.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},r._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var h=n;e.exports=h},7891:function(e,t,a){var o=a("6d8b");function i(e){var t=e.polar;if(t){o.isArray(t)||(t=[t]);var a=[];o.each(t,function(t,i){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],o.isArray(e.radar)||(e.radar=[e.radar]),e.radar.push(t)):a.push(t)}),e.polar=a}o.each(e.series,function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)})}e.exports=i},"7b0c":function(e,t,a){var o=a("6cc5"),i=a("f934"),n=i.getLayoutRect,r=a("e263");function s(e,t,a){var o=e.getBoxLayoutParams();return o.aspect=a,n(o,{width:t.getWidth(),height:t.getHeight()})}function l(e,t){var a=[];return e.eachSeriesByType("graph",function(e){var i=e.get("coordinateSystem");if(!i||"view"===i){var n=e.getData(),l=n.mapArray(function(e){var t=n.getItemModel(e);return[+t.get("x"),+t.get("y")]}),u=[],c=[];r.fromPoints(l,u,c),c[0]-u[0]===0&&(c[0]+=1,u[0]-=1),c[1]-u[1]===0&&(c[1]+=1,u[1]-=1);var d=(c[0]-u[0])/(c[1]-u[1]),h=s(e,t,d);isNaN(d)&&(u=[h.x,h.y],c=[h.x+h.width,h.y+h.height]);var p=c[0]-u[0],g=c[1]-u[1],f=h.width,m=h.height,y=e.coordinateSystem=new o;y.zoomLimit=e.get("scaleLimit"),y.setBoundingRect(u[0],u[1],p,g),y.setViewRect(h.x,h.y,f,m),y.setCenter(e.get("center")),y.setZoom(e.get("zoom")),a.push(y)}}),a}e.exports=l},"7e5b":function(e,t,a){var o=a("6d8b"),i=a("401b"),n=a("a15a"),r=a("7f91"),s=a("2306"),l=a("3842"),u=l.round,c=["fromSymbol","toSymbol"];function d(e){return"_"+e+"Type"}function h(e,t,a){var i=t.getItemVisual(a,"color"),r=t.getItemVisual(a,e),s=t.getItemVisual(a,e+"Size");if(r&&"none"!==r){o.isArray(s)||(s=[s,s]);var l=n.createSymbol(r,-s[0]/2,-s[1]/2,s[0],s[1],i);return l.name=e,l}}function p(e){var t=new r({name:"line"});return g(t.shape,e),t}function g(e,t){var a=t[0],o=t[1],i=t[2];e.x1=a[0],e.y1=a[1],e.x2=o[0],e.y2=o[1],e.percent=1,i?(e.cpx1=i[0],e.cpy1=i[1]):(e.cpx1=NaN,e.cpy1=NaN)}function f(){var e=this,t=e.childOfName("fromSymbol"),a=e.childOfName("toSymbol"),o=e.childOfName("label");if(t||a||!o.ignore){var n=1,r=this.parent;while(r)r.scale&&(n/=r.scale[0]),r=r.parent;var s=e.childOfName("line");if(this.__dirty||s.__dirty){var l=s.shape.percent,u=s.pointAt(0),c=s.pointAt(l),d=i.sub([],c,u);if(i.normalize(d,d),t){t.attr("position",u);var h=s.tangentAt(0);t.attr("rotation",Math.PI/2-Math.atan2(h[1],h[0])),t.attr("scale",[n*l,n*l])}if(a){a.attr("position",c);h=s.tangentAt(1);a.attr("rotation",-Math.PI/2-Math.atan2(h[1],h[0])),a.attr("scale",[n*l,n*l])}if(!o.ignore){var p,g,f;o.attr("position",c);var m=5*n;if("end"===o.__position)p=[d[0]*m+c[0],d[1]*m+c[1]],g=d[0]>.8?"left":d[0]<-.8?"right":"center",f=d[1]>.8?"top":d[1]<-.8?"bottom":"middle";else if("middle"===o.__position){var y=l/2,v=(h=s.tangentAt(y),[h[1],-h[0]]),x=s.pointAt(y);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]),p=[x[0]+v[0]*m,x[1]+v[1]*m],g="center",f="bottom";var b=-Math.atan2(h[1],h[0]);c[0]<u[0]&&(b=Math.PI+b),o.attr("rotation",b)}else p=[-d[0]*m+u[0],-d[1]*m+u[1]],g=d[0]>.8?"right":d[0]<-.8?"left":"center",f=d[1]>.8?"bottom":d[1]<-.8?"top":"middle";o.attr({style:{textVerticalAlign:o.__verticalAlign||f,textAlign:o.__textAlign||g},position:p,scale:[n,n]})}}}}function m(e,t,a){s.Group.call(this),this._createLine(e,t,a)}var y=m.prototype;y.beforeUpdate=f,y._createLine=function(e,t,a){var i=e.hostModel,n=e.getItemLayout(t),r=p(n);r.shape.percent=0,s.initProps(r,{shape:{percent:1}},i,t),this.add(r);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),o.each(c,function(a){var o=h(a,e,t);this.add(o),this[d(a)]=e.getItemVisual(t,a)},this),this._updateCommonStl(e,t,a)},y.updateData=function(e,t,a){var i=e.hostModel,n=this.childOfName("line"),r=e.getItemLayout(t),l={shape:{}};g(l.shape,r),s.updateProps(n,l,i,t),o.each(c,function(a){var o=e.getItemVisual(t,a),i=d(a);if(this[i]!==o){this.remove(this.childOfName(a));var n=h(a,e,t);this.add(n)}this[i]=o},this),this._updateCommonStl(e,t,a)},y._updateCommonStl=function(e,t,a){var i=e.hostModel,n=this.childOfName("line"),r=a&&a.lineStyle,l=a&&a.hoverLineStyle,d=a&&a.labelModel,h=a&&a.hoverLabelModel;if(!a||e.hasItemOption){var p=e.getItemModel(t);r=p.getModel("lineStyle").getLineStyle(),l=p.getModel("emphasis.lineStyle").getLineStyle(),d=p.getModel("label"),h=p.getModel("emphasis.label")}var g=e.getItemVisual(t,"color"),f=o.retrieve3(e.getItemVisual(t,"opacity"),r.opacity,1);n.useStyle(o.defaults({strokeNoScale:!0,fill:"none",stroke:g,opacity:f},r)),n.hoverStyle=l,o.each(c,function(e){var t=this.childOfName(e);t&&(t.setColor(g),t.setStyle({opacity:f}))},this);var m,y,v=d.getShallow("show"),x=h.getShallow("show"),b=this.childOfName("label");if((v||x)&&(m=g||"#000",y=i.getFormattedLabel(t,"normal",e.dataType),null==y)){var _=i.getRawValue(t);y=null==_?e.getName(t):isFinite(_)?u(_):_}var S=v?y:null,w=x?o.retrieve2(i.getFormattedLabel(t,"emphasis",e.dataType),y):null,I=b.style;null==S&&null==w||(s.setTextStyle(b.style,d,{text:S},{autoColor:m}),b.__textAlign=I.textAlign,b.__verticalAlign=I.textVerticalAlign,b.__position=d.get("position")||"middle"),b.hoverStyle=null!=w?{text:w,textFill:h.getTextColor(!0),fontStyle:h.getShallow("fontStyle"),fontWeight:h.getShallow("fontWeight"),fontSize:h.getShallow("fontSize"),fontFamily:h.getShallow("fontFamily")}:{text:null},b.ignore=!v&&!x,s.setHoverStyle(this)},y.highlight=function(){this.trigger("emphasis")},y.downplay=function(){this.trigger("normal")},y.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},y.setLinePoints=function(e){var t=this.childOfName("line");g(t.shape,e),t.dirty()},o.inherits(m,s.Group);var v=m;e.exports=v},"7f91":function(e,t,a){var o=a("2306"),i=a("401b"),n=o.Line.prototype,r=o.BezierCurve.prototype;function s(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var l=o.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(e,t){(s(t)?n:r).buildPath(e,t)},pointAt:function(e){return s(this.shape)?n.pointAt.call(this,e):r.pointAt.call(this,e)},tangentAt:function(e){var t=this.shape,a=s(t)?[t.x2-t.x1,t.y2-t.y1]:r.tangentAt.call(this,e);return i.normalize(a,a)}});e.exports=l},"81ac":function(e,t,a){var o=a("f934"),i=a("6d8b"),n=a("e0d3"),r=n.groupData,s=a("4e08");s.__DEV__;function l(e,t,a){e.eachSeriesByType("sankey",function(e){var a=e.get("nodeWidth"),o=e.get("nodeGap"),n=u(e,t);e.layoutInfo=n;var r=n.width,s=n.height,l=e.getGraph(),h=l.nodes,p=l.edges;d(h);var g=i.filter(h,function(e){return 0===e.getLayout().value}),f=0!==g.length?0:e.get("layoutIterations"),m=e.get("orient");c(h,p,a,o,r,s,f,m)})}function u(e,t){return o.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e,t,a,o,i,n,r,s){h(e,t,a,i,n,s),f(e,t,n,i,o,r,s),A(e,s)}function d(e){i.each(e,function(e){var t=I(e.outEdges,w),a=I(e.inEdges,w),o=Math.max(t,a);e.setLayout({value:o},!0)})}function h(e,t,a,o,i,n){for(var r=[],s=[],l=[],u=[],c=0,d=0,h=0;h<t.length;h++)r[h]=1;for(h=0;h<e.length;h++)s[h]=e[h].inEdges.length,0===s[h]&&l.push(e[h]);while(l.length){for(var f=0;f<l.length;f++){var m=l[f];"vertical"===n?(m.setLayout({y:c},!0),m.setLayout({dy:a},!0)):(m.setLayout({x:c},!0),m.setLayout({dx:a},!0));for(var y=0;y<m.outEdges.length;y++){var v=m.outEdges[y],x=t.indexOf(v);r[x]=0;var b=v.node2,_=e.indexOf(b);0===--s[_]&&u.push(b)}}++c,l=u,u=[]}for(h=0;h<r.length;h++);p(e,c,n),d="vertical"===n?(i-a)/(c-1):(o-a)/(c-1),g(e,d,n)}function p(e,t,a){i.each(e,function(e){e.outEdges.length||("vertical"===a?e.setLayout({y:t-1},!0):e.setLayout({x:t-1},!0))})}function g(e,t,a){i.each(e,function(e){if("vertical"===a){var o=e.getLayout().y*t;e.setLayout({y:o},!0)}else{var i=e.getLayout().x*t;e.setLayout({x:i},!0)}})}function f(e,t,a,o,i,n,r){var s=m(e,r);y(e,s,t,a,o,i,r),v(s,i,a,o,r);for(var l=1;n>0;n--)l*=.99,x(s,l,r),v(s,i,a,o,r),L(s,l,r),v(s,i,a,o,r)}function m(e,t){var a=[],o="vertical"===t?"y":"x",n=r(e,function(e){return e.getLayout()[o]});return n.keys.sort(function(e,t){return e-t}),i.each(n.keys,function(e){a.push(n.buckets.get(e))}),a}function y(e,t,a,o,n,r,s){var l=[];i.each(t,function(e){var t=e.length,a=0,u=0;i.each(e,function(e){a+=e.getLayout().value}),u="vertical"===s?(n-(t-1)*r)/a:(o-(t-1)*r)/a,l.push(u)}),l.sort(function(e,t){return e-t});var u=l[0];i.each(t,function(e){i.each(e,function(e,t){var a=e.getLayout().value*u;"vertical"===s?(e.setLayout({x:t},!0),e.setLayout({dx:a},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:a},!0))})}),i.each(a,function(e){var t=+e.getValue()*u;e.setLayout({dy:t},!0)})}function v(e,t,a,o,n){i.each(e,function(e){var i,r,s,l=0,u=e.length;if("vertical"===n){var c;for(e.sort(function(e,t){return e.getLayout().x-t.getLayout().x}),s=0;s<u;s++)i=e[s],r=l-i.getLayout().x,r>0&&(c=i.getLayout().x+r,i.setLayout({x:c},!0)),l=i.getLayout().x+i.getLayout().dx+t;if(r=l-t-o,r>0)for(c=i.getLayout().x-r,i.setLayout({x:c},!0),l=c,s=u-2;s>=0;--s)i=e[s],r=i.getLayout().x+i.getLayout().dx+t-l,r>0&&(c=i.getLayout().x-r,i.setLayout({x:c},!0)),l=i.getLayout().x}else{var d;for(e.sort(function(e,t){return e.getLayout().y-t.getLayout().y}),s=0;s<u;s++)i=e[s],r=l-i.getLayout().y,r>0&&(d=i.getLayout().y+r,i.setLayout({y:d},!0)),l=i.getLayout().y+i.getLayout().dy+t;if(r=l-t-a,r>0)for(d=i.getLayout().y-r,i.setLayout({y:d},!0),l=d,s=u-2;s>=0;--s)i=e[s],r=i.getLayout().y+i.getLayout().dy+t-l,r>0&&(d=i.getLayout().y-r,i.setLayout({y:d},!0)),l=i.getLayout().y}})}function x(e,t,a){i.each(e.slice().reverse(),function(e){i.each(e,function(e){if(e.outEdges.length){var o=I(e.outEdges,b,a)/I(e.outEdges,w,a);if("vertical"===a){var i=e.getLayout().x+(o-S(e,a))*t;e.setLayout({x:i},!0)}else{var n=e.getLayout().y+(o-S(e,a))*t;e.setLayout({y:n},!0)}}})})}function b(e,t){return S(e.node2,t)*e.getValue()}function _(e,t){return S(e.node1,t)*e.getValue()}function S(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function w(e){return e.getValue()}function I(e,t,a){var o=0,i=e.length,n=-1;while(++n<i){var r=+t.call(e,e[n],a);isNaN(r)||(o+=r)}return o}function L(e,t,a){i.each(e,function(e){i.each(e,function(e){if(e.inEdges.length){var o=I(e.inEdges,_,a)/I(e.inEdges,w,a);if("vertical"===a){var i=e.getLayout().x+(o-S(e,a))*t;e.setLayout({x:i},!0)}else{var n=e.getLayout().y+(o-S(e,a))*t;e.setLayout({y:n},!0)}}})})}function A(e,t){i.each(e,function(e){"vertical"===t?(e.outEdges.sort(function(e,t){return e.node2.getLayout().x-t.node2.getLayout().x}),e.inEdges.sort(function(e,t){return e.node1.getLayout().x-t.node1.getLayout().x})):(e.outEdges.sort(function(e,t){return e.node2.getLayout().y-t.node2.getLayout().y}),e.inEdges.sort(function(e,t){return e.node1.getLayout().y-t.node1.getLayout().y}))}),i.each(e,function(e){var t=0,a=0;i.each(e.outEdges,function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy}),i.each(e.inEdges,function(e){e.setLayout({ty:a},!0),a+=e.getLayout().dy})})}e.exports=l},"870e":function(e,t){function a(e){e.eachSeriesByType("radar",function(e){var t=e.getData(),a=[],o=e.coordinateSystem;if(o){for(var i=o.getIndicatorAxes(),n=0;n<i.length;n++)t.each(t.mapDimension(i[n].dim),r);t.each(function(e){a[e][0]&&a[e].push(a[e][0].slice()),t.setItemLayout(e,a[e])})}function r(e,t){a[t]=a[t]||[],a[t][n]=o.dataToPoint(e,n)}})}e.exports=a},"879e":function(e,t,a){var o=a("3eba"),i=a("6179"),n=a("6d8b"),r=a("e0d3"),s=r.defaultEmphasis,l=a("4319"),u=a("eda2"),c=u.encodeHTML,d=a("237f"),h=o.extendSeriesModel({type:"series.graph",init:function(e){h.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeOption:function(e){h.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(e){h.superApply(this,"mergeDefaultAndTheme",arguments),s(e,["edgeLabel"],["show"])},getInitialData:function(e,t){var a=e.edges||e.links||[],o=e.data||e.nodes||[],i=this;if(o&&a)return d(o,a,this,!0,n).data;function n(e,a){e.wrapMethod("getItemModel",function(e){var t=i._categoriesModels,a=e.getShallow("category"),o=t[a];return o&&(o.parentModel=e.parentModel,e.parentModel=o),e});var o=i.getModel("edgeLabel"),n=new l({label:o.option},o.parentModel,t),r=i.getModel("emphasis.edgeLabel"),s=new l({emphasis:{label:r.option}},r.parentModel,t);function u(e){return e=this.parsePath(e),e&&"label"===e[0]?n:e&&"emphasis"===e[0]&&"label"===e[1]?s:this.parentModel}a.wrapMethod("getItemModel",function(e){return e.customizeGetParent(u),e})}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,t,a){if("edge"===a){var o=this.getData(),i=this.getDataParams(e,a),n=o.graph.getEdgeByIndex(e),r=o.getName(n.node1.dataIndex),s=o.getName(n.node2.dataIndex),l=[];return null!=r&&l.push(r),null!=s&&l.push(s),l=c(l.join(" > ")),i.value&&(l+=" : "+c(i.value)),l}return h.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=n.map(this.option.categories||[],function(e){return null!=e.value?e:n.extend({value:0},e)}),t=new i(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray(function(e){return t.getItemModel(e,!0)})},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},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}}}}),p=h;e.exports=p},"8deb":function(e,t,a){var o=a("3eba");a("5522"),a("a016"),a("1466");var i=a("98e7"),n=a("7f96"),r=a("870e"),s=a("d3f47"),l=a("7891");o.registerVisual(i("radar")),o.registerVisual(n("radar","circle")),o.registerLayout(r),o.registerProcessor(s("radar")),o.registerPreprocessor(l)},"90c2":function(e,t,a){var o=a("5f14"),i=a("41ef"),n=a("6d8b"),r=n.isArray,s="itemStyle",l={seriesType:"treemap",reset:function(e,t,a,o){var i=e.getData().tree,r=i.root,l=e.getModel(s);if(!r.isRemoved()){var c=n.map(i.levelModels,function(e){return e?e.get(s):null});u(r,{},c,l,e.getViewRoot().getAncestors(),e)}}};function u(e,t,a,o,i,r){var l=e.getModel(),p=e.getLayout();if(p&&!p.invisible&&p.isInView){var f,y=e.getModel(s),v=a[e.depth],x=c(y,t,v,o),b=y.get("borderColor"),_=y.get("borderColorSaturation");null!=_&&(f=d(x,e),b=h(_,f)),e.setVisual("borderColor",b);var S=e.viewChildren;if(S&&S.length){var w=g(e,l,p,y,x,S);n.each(S,function(e,t){if(e.depth>=i.length||e===i[e.depth]){var n=m(l,x,e,t,w,r);u(e,n,a,o,i,r)}})}else f=d(x,e),e.setVisual("color",f)}}function c(e,t,a,o){var i=n.extend({},t);return n.each(["color","colorAlpha","colorSaturation"],function(n){var r=e.get(n,!0);null==r&&a&&(r=a[n]),null==r&&(r=t[n]),null==r&&(r=o.get(n)),null!=r&&(i[n]=r)}),i}function d(e){var t=p(e,"color");if(t){var a=p(e,"colorAlpha"),o=p(e,"colorSaturation");return o&&(t=i.modifyHSL(t,null,null,o)),a&&(t=i.modifyAlpha(t,a)),t}}function h(e,t){return null!=t?i.modifyHSL(t,null,null,e):null}function p(e,t){var a=e[t];if(null!=a&&"none"!==a)return a}function g(e,t,a,i,n,r){if(r&&r.length){var s=f(t,"color")||null!=n.color&&"none"!==n.color&&(f(t,"colorAlpha")||f(t,"colorSaturation"));if(s){var l=t.get("visualMin"),u=t.get("visualMax"),c=a.dataExtent.slice();null!=l&&l<c[0]&&(c[0]=l),null!=u&&u>c[1]&&(c[1]=u);var d=t.get("colorMappingBy"),h={type:s.name,dataExtent:c,visual:s.range};"color"!==h.type||"index"!==d&&"id"!==d?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var p=new o(h);return p.__drColorMappingBy=d,p}}}function f(e,t){var a=e.get(t);return r(a)&&a.length?{name:t,range:a}:null}function m(e,t,a,o,i,r){var s=n.extend({},t);if(i){var l=i.type,u="color"===l&&i.__drColorMappingBy,c="index"===u?o:"id"===u?r.mapIdToIndex(a.getId()):a.getValue(e.get("visualDimension"));s[l]=i.mapValueToVisual(c)}return s}e.exports=l},"928d":function(e,t,a){var o=a("6d8b"),i=a("4f85"),n=a("06c7"),r=a("4319"),s=a("eda2"),l=s.encodeHTML,u=s.addCommas,c=a("55ac"),d=c.wrapTreePathInfo,h=i.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],_viewRoot:null,defaultOption:{progressive:0,hoverLayerThreshold:1/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(e,t){var a={name:e.name,children:e.data};p(a);var o=e.levels||[];o=e.levels=g(o,t);var i={};return i.levels=o,n.createTree(a,this,i).data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(e){var t=this.getData(),a=this.getRawValue(e),i=o.isArray(a)?u(a[0]):u(a),n=t.getName(e);return l(n+": "+i)},getDataParams:function(e){var t=i.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=d(a,this),t},setLayoutInfo:function(e){this.layoutInfo=this.layoutInfo||{},o.extend(this.layoutInfo,e)},mapIdToIndex:function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=o.createHashMap(),this._idIndexMapCount=0);var a=t.get(e);return null==a&&t.set(e,a=this._idIndexMapCount++),a},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});function p(e){var t=0;o.each(e.children,function(e){p(e);var a=e.value;o.isArray(a)&&(a=a[0]),t+=a});var a=e.value;o.isArray(a)&&(a=a[0]),(null==a||isNaN(a))&&(a=t),a<0&&(a=0),o.isArray(e.value)?e.value[0]=a:e.value=a}function g(e,t){var a=t.get("color");if(a){var i;if(e=e||[],o.each(e,function(e){var t=new r(e),a=t.get("color");(t.get("itemStyle.color")||a&&"none"!==a)&&(i=!0)}),!i){var n=e[0]||(e[0]={});n.color=a.slice()}return e}}e.exports=h},9442:function(e,t,a){var o=a("6d8b");function i(e){var t=[];o.each(e.series,function(e){e&&"map"===e.type&&(t.push(e),e.map=e.map||e.mapType,o.defaults(e,e.mapLocation))})}e.exports=i},"94e4":function(e,t,a){var o=a("401b");function i(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var a=t.getBoundingRect(),i=e.getData(),n=i.graph,r=0,s=i.getSum("value"),l=2*Math.PI/(s||i.count()),u=a.width/2+a.x,c=a.height/2+a.y,d=Math.min(a.width,a.height)/2;n.eachNode(function(e){var t=e.getValue("value");r+=l*(s?t:1)/2,e.setLayout([d*Math.cos(r)+u,d*Math.sin(r)+c]),r+=l*(s?t:1)/2}),i.setLayout({cx:u,cy:c}),n.eachEdge(function(e){var t,a=e.getModel().get("lineStyle.curveness")||0,i=o.clone(e.node1.getLayout()),n=o.clone(e.node2.getLayout()),r=(i[0]+n[0])/2,s=(i[1]+n[1])/2;+a&&(a*=3,t=[u*a+r*(1-a),c*a+s*(1-a)]),e.setLayout([i,n,t])})}}t.circularLayout=i},9704:function(e,t,a){var o=a("3eba"),i=a("6d8b"),n=a("f706"),r=a("73ca"),s=a("4a01"),l=a("01ef"),u=a("c526"),c=u.onIrrelevantElement,d=a("2306"),h=a("480f"),p="__focusNodeAdjacency",g="__unfocusNodeAdjacency",f=["itemStyle","opacity"],m=["lineStyle","opacity"];function y(e,t){return e.getVisual("opacity")||e.getModel().get(t)}function v(e,t,a){var o=e.getGraphicEl(),i=y(e,t);null!=a&&(null==i&&(i=1),i*=a),o.downplay&&o.downplay(),o.traverse(function(e){if("group"!==e.type){var t=e.lineLabelOriginalOpacity;null!=t&&null==a||(t=i),e.setStyle("opacity",t)}})}function x(e,t){var a=y(e,t),o=e.getGraphicEl();o.highlight&&o.highlight(),o.traverse(function(e){"group"!==e.type&&e.setStyle("opacity",a)})}var b=o.extendChartView({type:"graph",init:function(e,t){var a=new n,o=new r,i=this.group;this._controller=new s(t.getZr()),this._controllerHost={target:i},i.add(a.group),i.add(o.group),this._symbolDraw=a,this._lineDraw=o,this._firstRender=!0},render:function(e,t,a){var o=e.coordinateSystem;this._model=e,this._nodeScaleRatio=e.get("nodeScaleRatio");var i=this._symbolDraw,n=this._lineDraw,r=this.group;if("view"===o.type){var s={position:o.position,scale:o.scale};this._firstRender?r.attr(s):d.updateProps(r,s,e)}h(e.getGraph(),this._getNodeGlobalScale(e));var l=e.getData();i.updateData(l);var u=e.getEdgeData();n.updateData(u),this._updateNodeAndLinkScale(),this._updateController(e,t,a),clearTimeout(this._layoutTimeout);var c=e.forceLayout,f=e.get("force.layoutAnimation");c&&this._startForceLayoutIteration(c,f),l.eachItemGraphicEl(function(t,o){var i=l.getItemModel(o);t.off("drag").off("dragend");var n=i.get("draggable");n&&t.on("drag",function(){c&&(c.warmUp(),!this._layouting&&this._startForceLayoutIteration(c,f),c.setFixed(o),l.setItemLayout(o,t.position))},this).on("dragend",function(){c&&c.setUnfixed(o)},this),t.setDraggable(n&&c),t[p]&&t.off("mouseover",t[p]),t[g]&&t.off("mouseout",t[g]),i.get("focusNodeAdjacency")&&(t.on("mouseover",t[p]=function(){a.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.on("mouseout",t[g]=function(){a.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})}))},this),l.graph.eachEdge(function(t){var o=t.getGraphicEl();o[p]&&o.off("mouseover",o[p]),o[g]&&o.off("mouseout",o[g]),t.getModel().get("focusNodeAdjacency")&&(o.on("mouseover",o[p]=function(){a.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex})}),o.on("mouseout",o[g]=function(){a.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})}))});var m="circular"===e.get("layout")&&e.get("circular.rotateLabel"),y=l.getLayout("cx"),v=l.getLayout("cy");l.eachItemGraphicEl(function(e,t){var a=e.getSymbolPath();if(m){var o=l.getItemLayout(t),i=Math.atan2(o[1]-v,o[0]-y);i<0&&(i=2*Math.PI+i);var n=o[0]<y;n&&(i-=Math.PI);var r=n?"left":"right";a.setStyle({textRotation:-i,textPosition:r,textOrigin:"center"}),a.hoverStyle&&(a.hoverStyle.textPosition=r)}else a.setStyle({textRotation:0})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},focusNodeAdjacency:function(e,t,a,o){var n=this._model.getData(),r=n.graph,s=o.dataIndex,l=o.edgeDataIndex,u=r.getNodeByIndex(s),c=r.getEdgeByIndex(l);(u||c)&&(r.eachNode(function(e){v(e,f,.1)}),r.eachEdge(function(e){v(e,m,.1)}),u&&(x(u,f),i.each(u.edges,function(e){e.dataIndex<0||(x(e,m),x(e.node1,f),x(e.node2,f))})),c&&(x(c,m),x(c.node1,f),x(c.node2,f)))},unfocusNodeAdjacency:function(e,t,a,o){var i=this._model.getData().graph;i.eachNode(function(e){v(e,f)}),i.eachEdge(function(e){v(e,m)})},_startForceLayoutIteration:function(e,t){var a=this;(function o(){e.step(function(e){a.updateLayout(a._model),(a._layouting=!e)&&(t?a._layoutTimeout=setTimeout(o,16):o())})})()},_updateController:function(e,t,a){var o=this._controller,i=this._controllerHost,n=this.group;o.setPointerChecker(function(t,o,i){var r=n.getBoundingRect();return r.applyTransform(n.transform),r.contain(o,i)&&!c(t,a,e)}),"view"===e.coordinateSystem.type?(o.enable(e.get("roam")),i.zoomLimit=e.get("scaleLimit"),i.zoom=e.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(t){l.updateViewOnPan(i,t.dx,t.dy),a.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})}).on("zoom",function(t){l.updateViewOnZoom(i,t.scale,t.originX,t.originY),a.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(),h(e.getGraph(),this._getNodeGlobalScale(e)),this._lineDraw.updateLayout()},this)):o.disable()},_updateNodeAndLinkScale:function(){var e=this._model,t=e.getData(),a=this._getNodeGlobalScale(e),o=[a,a];t.eachItemGraphicEl(function(e,t){e.attr("scale",o)})},_getNodeGlobalScale:function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var a=this._nodeScaleRatio,o=t.scale,i=o&&o[0]||1,n=t.getZoom(),r=(n-1)*a+1;return r/i},updateLayout:function(e){h(e.getGraph(),this._getNodeGlobalScale(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});e.exports=b},"9ca8":function(e,t,a){var o=a("6d8b"),i=a("9850"),n=a("3842"),r=n.parsePercent,s=n.MAX_SAFE_INTEGER,l=a("f934"),u=a("55ac"),c=Math.max,d=Math.min,h=o.retrieve,p=o.each,g=["itemStyle","borderWidth"],f=["itemStyle","gapWidth"],m=["upperLabel","show"],y=["upperLabel","height"],v={seriesType:"treemap",reset:function(e,t,a,n){var s=a.getWidth(),c=a.getHeight(),d=e.option,g=l.getLayoutRect(e.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()}),f=d.size||[],m=r(h(g.width,f[0]),s),y=r(h(g.height,f[1]),c),v=n&&n.type,b=["treemapZoomToNode","treemapRootToNode"],_=u.retrieveTargetInfo(n,b,e),S="treemapRender"===v||"treemapMove"===v?n.rootRect:null,w=e.getViewRoot(),I=u.getPathToRoot(w);if("treemapMove"!==v){var L="treemapZoomToNode"===v?A(e,_,w,m,y):S?[S.width,S.height]:[m,y],N=d.sort;N&&"asc"!==N&&"desc"!==N&&(N="desc");var C={squareRatio:d.squareRatio,sort:N,leafDepth:d.leafDepth};w.hostTree.clearLayouts();var P={x:0,y:0,width:L[0],height:L[1],area:L[0]*L[1]};w.setLayout(P),x(w,C,!1,0);P=w.getLayout();p(I,function(e,t){var a=(I[t+1]||w).getValue();e.setLayout(o.extend({dataExtent:[a,a],borderWidth:0,upperHeight:0},P))})}var T=e.getData().tree.root;T.setLayout(M(g,S,_),!0),e.setLayoutInfo(g),D(T,new i(-g.x,-g.y,s,c),I,w,0)}};function x(e,t,a,o){var i,n;if(!e.isRemoved()){var r=e.getLayout();i=r.width,n=r.height;var s=e.getModel(),l=s.get(g),u=s.get(f)/2,h=N(s),p=Math.max(l,h),m=l-u,y=p-u;s=e.getModel();e.setLayout({borderWidth:l,upperHeight:p,upperLabelHeight:h},!0),i=c(i-2*m,0),n=c(n-m-y,0);var v=i*n,_=b(e,s,v,t,a,o);if(_.length){var S={x:m,y:y,width:i,height:n},w=d(i,n),A=1/0,M=[];M.area=0;for(var D=0,C=_.length;D<C;){var P=_[D];M.push(P),M.area+=P.getLayout().area;var T=I(M,w,t.squareRatio);T<=A?(D++,A=T):(M.area-=M.pop().getLayout().area,L(M,w,S,u,!1),w=d(S.width,S.height),M.length=M.area=0,A=1/0)}if(M.length&&L(M,w,S,u,!0),!a){var E=s.get("childrenVisibleMin");null!=E&&v<E&&(a=!0)}for(D=0,C=_.length;D<C;D++)x(_[D],t,a,o+1)}}}function b(e,t,a,i,n,r){var s=e.children||[],l=i.sort;"asc"!==l&&"desc"!==l&&(l=null);var u=null!=i.leafDepth&&i.leafDepth<=r;if(n&&!u)return e.viewChildren=[];s=o.filter(s,function(e){return!e.isRemoved()}),S(s,l);var c=w(t,s,l);if(0===c.sum)return e.viewChildren=[];if(c.sum=_(t,a,c.sum,l,s),0===c.sum)return e.viewChildren=[];for(var d=0,h=s.length;d<h;d++){var p=s[d].getValue()/c.sum*a;s[d].setLayout({area:p})}return u&&(s.length&&e.setLayout({isLeafRoot:!0},!0),s.length=0),e.viewChildren=s,e.setLayout({dataExtent:c.dataExtent},!0),s}function _(e,t,a,o,i){if(!o)return a;for(var n=e.get("visibleMin"),r=i.length,s=r,l=r-1;l>=0;l--){var u=i["asc"===o?r-l-1:l].getValue();u/a*t<n&&(s=l,a-=u)}return"asc"===o?i.splice(0,r-s):i.splice(s,r-s),a}function S(e,t){return t&&e.sort(function(e,a){var o="asc"===t?e.getValue()-a.getValue():a.getValue()-e.getValue();return 0===o?"asc"===t?e.dataIndex-a.dataIndex:a.dataIndex-e.dataIndex:o}),e}function w(e,t,a){for(var o=0,i=0,n=t.length;i<n;i++)o+=t[i].getValue();var r=e.get("visualDimension");if(t&&t.length)if("value"===r&&a)s=[t[t.length-1].getValue(),t[0].getValue()],"asc"===a&&s.reverse();else{var s=[1/0,-1/0];p(t,function(e){var t=e.getValue(r);t<s[0]&&(s[0]=t),t>s[1]&&(s[1]=t)})}else s=[NaN,NaN];return{sum:o,dataExtent:s}}function I(e,t,a){for(var o,i=0,n=1/0,r=0,s=e.length;r<s;r++)o=e[r].getLayout().area,o&&(o<n&&(n=o),o>i&&(i=o));var l=e.area*e.area,u=t*t*a;return l?c(u*i/l,l/(u*n)):1/0}function L(e,t,a,o,i){var n=t===a.width?0:1,r=1-n,s=["x","y"],l=["width","height"],u=a[s[n]],h=t?e.area/t:0;(i||h>a[l[r]])&&(h=a[l[r]]);for(var p=0,g=e.length;p<g;p++){var f=e[p],m={},y=h?f.getLayout().area/h:0,v=m[l[r]]=c(h-2*o,0),x=a[s[n]]+a[l[n]]-u,b=p===g-1||x<y?x:y,_=m[l[n]]=c(b-2*o,0);m[s[r]]=a[s[r]]+d(o,v/2),m[s[n]]=u+d(o,_/2),u+=b,f.setLayout(m,!0)}a[s[r]]+=h,a[l[r]]-=h}function A(e,t,a,o,i){var n,r=(t||{}).node,l=[o,i];if(!r||r===a)return l;var u=o*i,c=u*e.option.zoomToNodeRatio;while(n=r.parentNode){for(var d=0,h=n.children,p=0,f=h.length;p<f;p++)d+=h[p].getValue();var m=r.getValue();if(0===m)return l;c*=d/m;var y=n.getModel(),v=y.get(g),x=Math.max(v,N(y,v));c+=4*v*v+(3*v+x)*Math.pow(c,.5),c>s&&(c=s),r=n}c<u&&(c=u);var b=Math.pow(c/u,.5);return[o*b,i*b]}function M(e,t,a){if(t)return{x:t.x,y:t.y};var o={x:0,y:0};if(!a)return o;var i=a.node,n=i.getLayout();if(!n)return o;var r=[n.width/2,n.height/2],s=i;while(s){var l=s.getLayout();r[0]+=l.x,r[1]+=l.y,s=s.parentNode}return{x:e.width/2-r[0],y:e.height/2-r[1]}}function D(e,t,a,o,n){var r=e.getLayout(),s=a[n],l=s&&s===e;if(!(s&&!l||n===a.length&&e!==o)){e.setLayout({isInView:!0,invisible:!l&&!t.intersect(r),isAboveViewRoot:l},!0);var u=new i(t.x-r.x,t.y-r.y,t.width,t.height);p(e.viewChildren||[],function(e){D(e,u,a,o,n+1)})}}function N(e){return e.get(m)?e.get(y):0}e.exports=v},"9f82":function(e,t,a){var o=a("ee1a"),i=o.isDimensionStacked,n=a("6d8b"),r=n.map;function s(e,t,a){var o,n=e.getBaseAxis(),s=e.getOtherAxis(n),u=l(s,a),c=n.dim,d=s.dim,h=t.mapDimension(d),p=t.mapDimension(c),g="x"===d||"radius"===d?1:0,f=r(e.dimensions,function(e){return t.mapDimension(e)}),m=t.getCalculationInfo("stackResultDimension");return(o|=i(t,f[0]))&&(f[0]=m),(o|=i(t,f[1]))&&(f[1]=m),{dataDimsForPoint:f,valueStart:u,valueAxisDim:d,baseAxisDim:c,stacked:!!o,valueDim:h,baseDim:p,baseDataOffset:g,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function l(e,t){var a=0,o=e.scale.getExtent();return"start"===t?a=o[0]:"end"===t?a=o[1]:o[0]>0?a=o[0]:o[1]<0&&(a=o[1]),a}function u(e,t,a,o){var i=NaN;e.stacked&&(i=a.get(a.getCalculationInfo("stackedOverDimension"),o)),isNaN(i)&&(i=e.valueStart);var n=e.baseDataOffset,r=[];return r[n]=a.get(e.baseDim,o),r[1-n]=i,t.dataToPoint(r)}t.prepareDataCoordInfo=s,t.getStackedOnPoint=u},a016:function(e,t,a){var o=a("4f85"),i=a("e46b"),n=a("6d8b"),r=a("eda2"),s=r.encodeHTML,l=o.extend({type:"series.radar",dependencies:["radar"],init:function(e){l.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},getInitialData:function(e,t){return i(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(e){var t=this.getData(),a=this.coordinateSystem,o=a.getIndicatorAxes(),i=this.getData().getName(e);return s(""===i?this.name:i)+"<br/>"+n.map(o,function(a,o){var i=t.get(t.mapDimension(a.dim),e);return s(a.name+" : "+i)}).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}}),u=l;e.exports=u},a38d:function(e,t,a){var o=a("2306"),i=a("392f"),n=a("9680"),r=a("68ab"),s=o.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(e,t){var a=t.segs,o=t.curveness;if(t.polyline)for(var i=0;i<a.length;){var n=a[i++];if(n>0){e.moveTo(a[i++],a[i++]);for(var r=1;r<n;r++)e.lineTo(a[i++],a[i++])}}else for(i=0;i<a.length;){var s=a[i++],l=a[i++],u=a[i++],c=a[i++];if(e.moveTo(s,l),o>0){var d=(s+u)/2-(l-c)*o,h=(l+c)/2-(u-s)*o;e.quadraticCurveTo(d,h,u,c)}else e.lineTo(u,c)}},findDataIndex:function(e,t){var a=this.shape,o=a.segs,i=a.curveness;if(a.polyline)for(var s=0,l=0;l<o.length;){var u=o[l++];if(u>0)for(var c=o[l++],d=o[l++],h=1;h<u;h++){var p=o[l++],g=o[l++];if(n.containStroke(c,d,p,g))return s}s++}else for(s=0,l=0;l<o.length;){c=o[l++],d=o[l++],p=o[l++],g=o[l++];if(i>0){var f=(c+p)/2-(d-g)*i,m=(d+g)/2-(p-c)*i;if(r.containStroke(c,d,f,m,p,g))return s}else if(n.containStroke(c,d,p,g))return s;s++}return-1}});function l(){this.group=new o.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(e){this.group.removeAll();var t=new s({rectHover:!0,cursor:"default"});t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e),this.group.add(t),this._incremental=null},u.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>5e5?(this._incremental||(this._incremental=new i({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(e,t){var a=new s;a.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(a,t,!!this._incremental),this._incremental?this._incremental.addDisplayable(a,!0):(a.rectHover=!0,a.cursor="default",a.__startIndex=e.start,this.group.add(a))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(e,t,a){var o=t.hostModel;e.setShape({polyline:o.get("polyline"),curveness:o.get("lineStyle.curveness")}),e.useStyle(o.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var i=t.getVisual("color");i&&e.setStyle("stroke",i),e.setStyle("fill"),a||(e.seriesIndex=o.seriesIndex,e.on("mousemove",function(t){e.dataIndex=null;var a=e.findDataIndex(t.offsetX,t.offsetY);a>0&&(e.dataIndex=a+e.__startIndex)}))},u._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var c=l;e.exports=c},a666:function(e,t,a){var o=a("3eba"),i=a("6d8b"),n=a("2306"),r=a("0c41"),s="__seriesMapHighDown",l="__seriesMapCallKey",u=o.extendChartView({type:"map",render:function(e,t,a,o){if(!o||"mapToggleSelect"!==o.type||o.from!==this.uid){var i=this.group;if(i.removeAll(),!e.getHostGeoModel()){if(o&&"geoRoam"===o.type&&"series"===o.componentType&&o.seriesId===e.id){n=this._mapDraw;n&&i.add(n.group)}else if(e.needsDrawMap){var n=this._mapDraw||new r(a,!0);i.add(n.group),n.draw(e,t,a,this,o),this._mapDraw=n}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,a)}}},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(e,t,a){var o=e.originalData,r=this.group;o.each(o.mapDimension("value"),function(t,a){if(!isNaN(t)){var u=o.getItemLayout(a);if(u&&u.point){var h=u.point,p=u.offset,g=new n.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:h[0]+9*p,cy:h[1],r:3},silent:!0,z2:8+(p?0:n.Z2_EMPHASIS_LIFT+1)});if(!p){var f=e.mainSeries.getData(),m=o.getName(a),y=f.indexOfName(m),v=o.getItemModel(a),x=v.getModel("label"),b=v.getModel("emphasis.label"),_=f.getItemGraphicEl(y),S=i.retrieve2(e.getFormattedLabel(y,"normal"),m),w=i.retrieve2(e.getFormattedLabel(y,"emphasis"),S),I=_[s],L=Math.random();if(!I){I=_[s]={};var A=i.curry(c,!0),M=i.curry(c,!1);_.on("mouseover",A).on("mouseout",M).on("emphasis",A).on("normal",M)}_[l]=L,i.extend(I,{recordVersion:L,circle:g,labelModel:x,hoverLabelModel:b,emphasisText:w,normalText:S}),d(I,!1)}r.add(g)}}})}});function c(e){var t=this[s];t&&t.recordVersion===this[l]&&d(t,e)}function d(e,t){var a=e.circle,o=e.labelModel,i=e.hoverLabelModel,r=e.emphasisText,s=e.normalText;t?(a.style.extendFrom(n.setTextStyle({},i,{text:i.get("show")?r:null},{isRectText:!0,useInsideStyle:!1},!0)),a.__mapOriginalZ2=a.z2,a.z2+=n.Z2_EMPHASIS_LIFT):(n.setTextStyle(a.style,o,{text:o.get("show")?s:null,textPosition:o.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),a.dirty(!1),null!=a.__mapOriginalZ2&&(a.z2=a.__mapOriginalZ2,a.__mapOriginalZ2=null))}e.exports=u},a7e21:function(e,t,a){var o=a("3eba");a("7293"),a("ae46");var i=a("6582"),n=a("ee98");o.registerLayout(i),o.registerVisual(n)},aa01:function(e,t,a){var o=a("6d8b"),i=a("4f85"),n=a("06c7"),r=a("55ac"),s=r.wrapTreePathInfo,l=i.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(e,t){var a={name:e.name,children:e.data};u(a);var o=e.levels||[],i={};return i.levels=o,n.createTree(a,this,i).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(e){var t=i.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=s(a,this),t},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(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});function u(e){var t=0;o.each(e.children,function(e){u(e);var a=e.value;o.isArray(a)&&(a=a[0]),t+=a});var a=e.value;o.isArray(a)&&(a=a[0]),(null==a||isNaN(a))&&(a=t),a<0&&(a=0),o.isArray(e.value)?e.value[0]=a:e.value=a}e.exports=l},aadf:function(e,t,a){var o=a("3eba"),i=a("6d8b");a("5aa9"),a("d6d9"),a("3329");var n=a("9d57"),r=n.layout,s=a("7f96");a("01ed"),o.registerLayout(i.curry(r,"pictorialBar")),o.registerVisual(s("pictorialBar","roundRect"))},ab71:function(e,t){var a=["lineStyle","normal","opacity"],o={seriesType:"parallel",reset:function(e,t,o){var i=e.getModel("itemStyle"),n=e.getModel("lineStyle"),r=t.get("color"),s=n.get("color")||i.get("color")||r[e.seriesIndex%r.length],l=e.get("inactiveOpacity"),u=e.get("activeOpacity"),c=e.getModel("lineStyle").getLineStyle(),d=e.coordinateSystem,h=e.getData(),p={normal:c.opacity,active:u,inactive:l};function g(e,t){d.eachActiveState(t,function(e,o){var i=p[e];if("normal"===e&&t.hasItemOption){var n=t.getItemModel(o).get(a,!0);null!=n&&(i=n)}t.setItemVisual(o,"opacity",i)},e.start,e.end)}return h.setVisual("color",s),{progress:g}}};e.exports=o},abff:function(e,t,a){var o=a("3eba"),i=a("f706"),n=a("c965"),r=a("87c3");o.extendChartView({type:"scatter",render:function(e,t,a){var o=e.getData(),i=this._updateSymbolDraw(o,e);i.updateData(o),this._finished=!0},incrementalPrepareRender:function(e,t,a){var o=e.getData(),i=this._updateSymbolDraw(o,e);i.incrementalPrepareUpdate(o),this._finished=!1},incrementalRender:function(e,t,a){this._symbolDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,a){var o=e.getData();if(this.group.dirty(),!this._finished||o.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var i=r().reset(e);i.progress&&i.progress({start:0,end:o.count()},o),this._symbolDraw.updateLayout(o)},_updateSymbolDraw:function(e,t){var a=this._symbolDraw,o=t.pipelineContext,r=o.large;return a&&r===this._isLargeDraw||(a&&a.remove(),a=this._symbolDraw=r?new n:new i,this._isLargeDraw=r,this.group.removeAll()),this.group.add(a.group),a},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},adda:function(e,t,a){var o=a("94e4"),i=o.circularLayout;function n(e){e.eachSeriesByType("graph",function(e){"circular"===e.get("layout")&&i(e)})}e.exports=n},adf4:function(e,t,a){var o=a("4f85"),i=a("b1d4"),n=a("2f45"),r=n.getDimensionTypeByAxis,s=a("6179"),l=a("6d8b"),u=a("e0d3"),c=u.groupData,d=a("eda2"),h=d.encodeHTML,p=2,g=o.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){g.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(e){var t=e.length,a=c(e,function(e){return e[2]}),o=[];a.buckets.each(function(e,t){o.push({name:t,dataList:e})});for(var i=o.length,n=-1,r=-1,s=0;s<i;++s){var l=o[s].dataList.length;l>n&&(n=l,r=s)}for(var u=0;u<i;++u)if(u!==r)for(var d=o[u].name,h=0;h<n;++h){for(var p=o[r].dataList[h][0],g=o[u].dataList.length,f=-1,m=0;m<g;++m){var y=o[u].dataList[m][0];if(y===p){f=m;break}}-1===f&&(e[t]=[],e[t][0]=p,e[t][1]=0,e[t][2]=d,t++)}return e},getInitialData:function(e,t){for(var a=t.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],o=a.get("type"),n=l.filter(e.data,function(e){return void 0!==e[2]}),u=this.fixData(n||[]),c=[],d=this.nameMap=l.createHashMap(),h=0,g=0;g<u.length;++g)c.push(u[g][p]),d.get(u[g][p])||(d.set(u[g][p],h),h++);var f=i(u,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:r(o)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),m=new s(f,this);return m.initData(u),m},getLayerSeries:function(){for(var e=this.getData(),t=e.count(),a=[],o=0;o<t;++o)a[o]=o;var i=e.mapDimension("single"),n=c(a,function(t){return e.get("name",t)}),r=[];return n.buckets.each(function(t,a){t.sort(function(t,a){return e.get(i,t)-e.get(i,a)}),r.push({name:a,indices:t})}),r},getAxisTooltipData:function(e,t,a){l.isArray(e)||(e=e?[e]:[]);for(var o,i=this.getData(),n=this.getLayerSeries(),r=[],s=n.length,u=0;u<s;++u){for(var c=Number.MAX_VALUE,d=-1,h=n[u].indices.length,p=0;p<h;++p){var g=i.get(e[0],n[u].indices[p]),f=Math.abs(g-t);f<=c&&(o=g,c=f,d=n[u].indices[p])}r.push(d)}return{dataIndices:r,nestestValue:o}},formatTooltip:function(e){var t=this.getData(),a=t.getName(e),o=t.get(t.mapDimension("value"),e);return(isNaN(o)||null==o)&&(o="-"),h(a+" : "+o)},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}}}}),f=g;e.exports=f},ae46:function(e,t,a){var o=a("4e08"),i=(o.__DEV__,a("3eba")),n=a("73ca"),r=a("0fd3"),s=a("7e5b"),l=a("4527"),u=a("6a4c"),c=a("a38d"),d=a("6582"),h=i.extendChartView({type:"lines",init:function(){},render:function(e,t,a){var o=e.getData(),i=this._updateLineDraw(o,e),n=e.get("zlevel"),r=e.get("effect.trailLength"),s=a.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(n).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&r&&(l||s.configLayer(n,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(r/10+.9,1),0)})),i.updateData(o),this._lastZlevel=n,this._finished=!0},incrementalPrepareRender:function(e,t,a){var o=e.getData(),i=this._updateLineDraw(o,e);i.incrementalPrepareUpdate(o),this._clearLayer(a),this._finished=!1},incrementalRender:function(e,t,a){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,a){var o=e.getData(),i=e.pipelineContext;if(!this._finished||i.large||i.progressiveRender)return{update:!0};var n=d.reset(e);n.progress&&n.progress({start:0,end:o.count()},o),this._lineDraw.updateLayout(),this._clearLayer(a)},_updateLineDraw:function(e,t){var a=this._lineDraw,o=this._showEffect(t),i=!!t.get("polyline"),d=t.pipelineContext,h=d.large;return a&&o===this._hasEffet&&i===this._isPolyline&&h===this._isLargeDraw||(a&&a.remove(),a=this._lineDraw=h?new c:new n(i?o?u:l:o?r:s),this._hasEffet=o,this._isPolyline=i,this._isLargeDraw=h,this.group.removeAll()),this.group.add(a.group),a},_showEffect:function(e){return!!e.get("effect.show")},_clearLayer:function(e){var t=e.getZr(),a="svg"===t.painter.getType();a||null==this._lastZlevel||t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});e.exports=h},b369:function(e,t,a){var o=a("3eba"),i=a("6d8b"),n=a("2306"),r=a("80f0"),s=a("55ac"),l=a("f610"),u=a("4a01"),c=a("9850"),d=a("1687"),h=a("e6cd"),p=a("282b"),g=i.bind,f=n.Group,m=n.Rect,y=i.each,v=3,x=["label"],b=["emphasis","label"],_=["upperLabel"],S=["emphasis","upperLabel"],w=10,I=1,L=2,A=p([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),M=function(e){var t=A(e);return t.stroke=t.fill=t.lineWidth=null,t},D=o.extendChartView({type:"treemap",init:function(e,t){this._containerGroup,this._storage=N(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(e,t,a,o){var n=t.findComponents({mainType:"series",subType:"treemap",query:o});if(!(i.indexOf(n,e)<0)){this.seriesModel=e,this.api=a,this.ecModel=t;var r=["treemapZoomToNode","treemapRootToNode"],l=s.retrieveTargetInfo(o,r,e),u=o&&o.type,c=e.layoutInfo,d=!this._oldTree,h=this._storage,p="treemapRootToNode"===u&&l&&h?{rootNodeGroup:h.nodeGroup[l.node.getRawIndex()],direction:o.direction}:null,g=this._giveContainerGroup(c),f=this._doRender(g,e,p);d||u&&"treemapZoomToNode"!==u&&"treemapRootToNode"!==u?f.renderFinally():this._doAnimation(g,f,e,p),this._resetController(a),this._renderBreadcrumb(e,a,l)}},_giveContainerGroup:function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new f,this._initEvents(t),this.group.add(t)),t.attr("position",[e.x,e.y]),t},_doRender:function(e,t,a){var o=t.getData().tree,n=this._oldTree,s=N(),l=N(),u=this._storage,c=[],d=i.curry(C,t,l,u,a,s,c);p(o.root?[o.root]:[],n&&n.root?[n.root]:[],e,o===n||!n,0);var h=g(u);return this._oldTree=o,this._storage=l,{lastsForAnimation:s,willDeleteEls:h,renderFinally:f};function p(e,t,a,o,n){function s(e){return e.getId()}function l(i,r){var s=null!=i?e[i]:null,l=null!=r?t[r]:null,u=d(s,l,a,n);u&&p(s&&s.viewChildren||[],l&&l.viewChildren||[],u,o,n+1)}o?(t=e,y(e,function(e,t){!e.isRemoved()&&l(t,t)})):new r(t,e,s,s).add(l).update(l).remove(i.curry(l,null)).execute()}function g(e){var t=N();return e&&y(e,function(e,a){var o=t[a];y(e,function(e){e&&(o.push(e),e.__tmWillDelete=1)})}),t}function f(){y(h,function(e){y(e,function(e){e.parent&&e.parent.remove(e)})}),y(c,function(e){e.invisible=!0,e.dirty()})}},_doAnimation:function(e,t,a,o){if(a.get("animation")){var n=a.get("animationDurationUpdate"),r=a.get("animationEasing"),s=h.createWrap();y(t.willDeleteEls,function(e,t){y(e,function(e,a){if(!e.invisible){var i,l=e.parent;if(o&&"drillDown"===o.direction)i=l===o.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,c=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,c=l.__tmNodeHeight/2),i="nodeGroup"===t?{position:[u,c],style:{opacity:0}}:{shape:{x:u,y:c,width:0,height:0},style:{opacity:0}}}i&&s.add(e,i,n,r)}})}),y(this._storage,function(e,a){y(e,function(e,o){var l=t.lastsForAnimation[a][o],u={};l&&("nodeGroup"===a?l.old&&(u.position=e.position.slice(),e.attr("position",l.old)):(l.old&&(u.shape=i.extend({},e.shape),e.setShape(l.old)),l.fadein?(e.setStyle("opacity",0),u.style={opacity:1}):1!==e.style.opacity&&(u.style={opacity:1})),s.add(e,u,n,r))})},this),this._state="animating",s.done(g(function(){this._state="ready",t.renderFinally()},this)).start()}},_resetController:function(e){var t=this._controller;t||(t=this._controller=new u(e.getZr()),t.enable(this.seriesModel.get("roam")),t.on("pan",g(this._onPan,this)),t.on("zoom",g(this._onZoom,this)));var a=new c(0,0,e.getWidth(),e.getHeight());t.setPointerChecker(function(e,t,o){return a.contain(t,o)})},_clearController:function(){var e=this._controller;e&&(e.dispose(),e=null)},_onPan:function(e){if("animating"!==this._state&&(Math.abs(e.dx)>v||Math.abs(e.dy)>v)){var t=this.seriesModel.getData().tree.root;if(!t)return;var a=t.getLayout();if(!a)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x+e.dx,y:a.y+e.dy,width:a.width,height:a.height}})}},_onZoom:function(e){var t=e.originX,a=e.originY;if("animating"!==this._state){var o=this.seriesModel.getData().tree.root;if(!o)return;var i=o.getLayout();if(!i)return;var n=new c(i.x,i.y,i.width,i.height),r=this.seriesModel.layoutInfo;t-=r.x,a-=r.y;var s=d.create();d.translate(s,s,[-t,-a]),d.scale(s,s,[e.scale,e.scale]),d.translate(s,s,[t,a]),n.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x,y:n.y,width:n.width,height:n.height}})}},_initEvents:function(e){e.on("click",function(e){if("ready"===this._state){var t=this.seriesModel.get("nodeClick",!0);if(t){var a=this.findTarget(e.offsetX,e.offsetY);if(a){var o=a.node;if(o.getLayout().isLeafRoot)this._rootToNode(a);else if("zoomToNode"===t)this._zoomToNode(a);else if("link"===t){var i=o.hostTree.data.getItemModel(o.dataIndex),n=i.get("link",!0),r=i.get("target",!0)||"blank";n&&window.open(n,r)}}}}},this)},_renderBreadcrumb:function(e,t,a){function o(t){"animating"!==this._state&&(s.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))}a||(a=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2),a||(a={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(e,t,a.node,g(o,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=N(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},_rootToNode:function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},findTarget:function(e,t){var a,o=this.seriesModel.getViewRoot();return o.eachNode({attr:"viewChildren",order:"preorder"},function(o){var i=this._storage.background[o.getRawIndex()];if(i){var n=i.transformCoordToLocal(e,t),r=i.shape;if(!(r.x<=n[0]&&n[0]<=r.x+r.width&&r.y<=n[1]&&n[1]<=r.y+r.height))return!1;a={node:o,offsetX:n[0],offsetY:n[1]}}},this),a}});function N(){return{nodeGroup:[],background:[],content:[]}}function C(e,t,a,o,r,s,l,u,c,d){if(l){var h=l.getLayout();if(h&&h.isInView){var p=h.width,g=h.height,y=h.borderWidth,v=h.invisible,w=l.getRawIndex(),D=u&&u.getRawIndex(),N=l.viewChildren,C=h.upperHeight,T=N&&N.length,E=l.getModel("itemStyle"),V=l.getModel("emphasis.itemStyle"),R=F("nodeGroup",f);if(R){if(c.add(R),R.attr("position",[h.x||0,h.y||0]),R.__tmNodeWidth=p,R.__tmNodeHeight=g,h.isAboveViewRoot)return R;var O=F("background",m,d,I);if(O&&G(R,O,T&&h.upperHeight),!T){var z=F("content",m,d,L);z&&k(R,z)}return R}}}function G(t,a,o){a.dataIndex=l.dataIndex,a.seriesIndex=e.seriesIndex,a.setShape({x:0,y:0,width:p,height:g});var i=l.getVisual("borderColor",!0),r=V.get("borderColor");B(a,function(){var e=M(E);e.fill=i;var t=A(V);if(t.fill=r,o){var s=p-2*y;H(e,t,i,s,C,{x:y,y:0,width:s,height:C})}else e.text=t.text=null;a.setStyle(e),n.setHoverStyle(a,t)}),t.add(a)}function k(t,a){a.dataIndex=l.dataIndex,a.seriesIndex=e.seriesIndex;var o=Math.max(p-2*y,0),i=Math.max(g-2*y,0);a.culling=!0,a.setShape({x:y,y:y,width:o,height:i});var r=l.getVisual("color",!0);B(a,function(){var e=M(E);e.fill=r;var t=A(V);H(e,t,r,o,i),a.setStyle(e),n.setHoverStyle(a,t)}),t.add(a)}function B(e,t){v?!e.invisible&&s.push(e):(t(),e.__tmWillVisible||(e.invisible=!1))}function H(t,a,o,r,s,u){var c=l.getModel(),d=i.retrieve(e.getFormattedLabel(l.dataIndex,"normal",null,null,u?"upperLabel":"label"),c.get("name"));if(!u&&h.isLeafRoot){var p=e.get("drillDownIcon",!0);d=p?p+" "+d:d}var g=c.getModel(u?_:x),f=c.getModel(u?S:b),m=g.getShallow("show");n.setLabelStyle(t,a,g,f,{defaultText:m?d:null,autoColor:o,isRectText:!0}),u&&(t.textRect=i.clone(u)),t.truncate=m&&g.get("ellipsis")?{outerWidth:r,outerHeight:s,minChar:2}:null}function F(e,o,i,n){var s=null!=D&&a[e][D],l=r[e];return s?(a[e][D]=null,W(l,s,e)):v||(s=new o({z:P(i,n)}),s.__tmDepth=i,s.__tmStorageName=e,Z(l,s,e)),t[e][w]=s}function W(e,t,a){var o=e[w]={};o.old="nodeGroup"===a?t.position.slice():i.extend({},t.shape)}function Z(e,t,a){var i=e[w]={},n=l.parentNode;if(n&&(!o||"drillDown"===o.direction)){var s=0,u=0,c=r.background[n.getRawIndex()];!o&&c&&c.old&&(s=c.old.width,u=c.old.height),i.old="nodeGroup"===a?[0,u]:{x:s,y:u,width:0,height:0}}i.fadein="nodeGroup"!==a}}function P(e,t){var a=e*w+t;return(a-1)/a}e.exports=D},bb70:function(e,t,a){var o=a("e86a");function i(e,t,a,o,i,n,r){function s(t,a,o,i){for(var n=t;n<a;n++)if(e[n].y+=o,n>t&&n+1<a&&e[n+1].y>e[n].y+e[n].height)return void l(n,o/2);l(a-1,o/2)}function l(t,a){for(var o=t;o>=0;o--)if(e[o].y-=a,o>0&&e[o].y>e[o-1].y+e[o-1].height)break}function u(e,t,a,o,i,n){for(var r=t?Number.MAX_VALUE:0,s=0,l=e.length;s<l;s++){var u=Math.abs(e[s].y-o),c=e[s].len,d=e[s].len2,h=u<i+c?Math.sqrt((i+c+d)*(i+c+d)-u*u):Math.abs(e[s].x-a);t&&h>=r&&(h=r-10),!t&&h<=r&&(h=r+10),e[s].x=a+h*n,r=h}}e.sort(function(e,t){return e.y-t.y});for(var c,d=0,h=e.length,p=[],g=[],f=0;f<h;f++)c=e[f].y-d,c<0&&s(f,h,-c,i),d=e[f].y+e[f].height;r-d<0&&l(h-1,d-r);for(f=0;f<h;f++)e[f].y>=a?g.push(e[f]):p.push(e[f]);u(p,!1,t,a,o,i),u(g,!0,t,a,o,i)}function n(e,t,a,o,n,s){for(var l=[],u=[],c=0;c<e.length;c++)r(e[c])||(e[c].x<t?l.push(e[c]):u.push(e[c]));i(u,t,a,o,1,n,s),i(l,t,a,o,-1,n,s);for(c=0;c<e.length;c++)if(!r(e[c])){var d=e[c].linePoints;if(d){var h=d[1][0]-d[2][0];e[c].x<t?d[2][0]=e[c].x+3:d[2][0]=e[c].x-3,d[1][1]=d[2][1]=e[c].y,d[1][0]=d[2][0]+h}}}function r(e){return"center"===e.position}function s(e,t,a,i){var r,s,l=e.getData(),u=[],c=!1;l.each(function(a){var i,n,d,h,p=l.getItemLayout(a),g=l.getItemModel(a),f=g.getModel("label"),m=f.get("position")||g.get("emphasis.label.position"),y=g.getModel("labelLine"),v=y.get("length"),x=y.get("length2"),b=(p.startAngle+p.endAngle)/2,_=Math.cos(b),S=Math.sin(b);r=p.cx,s=p.cy;var w="inside"===m||"inner"===m;if("center"===m)i=p.cx,n=p.cy,h="center";else{var I=(w?(p.r+p.r0)/2*_:p.r*_)+r,L=(w?(p.r+p.r0)/2*S:p.r*S)+s;if(i=I+3*_,n=L+3*S,!w){var A=I+_*(v+t-p.r),M=L+S*(v+t-p.r),D=A+(_<0?-1:1)*x,N=M;i=D+(_<0?-5:5),n=N,d=[[I,L],[A,M],[D,N]]}h=w?"center":_>0?"left":"right"}var C=f.getFont(),P=f.get("rotate")?_<0?-b+Math.PI:-b:0,T=e.getFormattedLabel(a,"normal")||l.getName(a),E=o.getBoundingRect(T,C,h,"top");c=!!P,p.label={x:i,y:n,position:m,height:E.height,len:v,len2:x,linePoints:d,textAlign:h,verticalAlign:"middle",rotation:P,inside:w},w||u.push(p.label)}),!c&&e.get("avoidLabelOverlap")&&n(u,r,s,t,a,i)}e.exports=s},bdc0:function(e,t,a){var o=a("3eba");a("d2a5"),o.registerAction({type:"dragNode",event:"dragNode",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])})})},bf9b:function(e,t,a){var o=a("3eba"),i=a("d81e"),n=i.updateCenterAndZoom;o.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},function(t){var a=e.dataIndex,o=t.getData().tree,i=o.getNodeByDataIndex(a);i.isExpand=!i.isExpand})}),o.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},function(t){var a=t.coordinateSystem,o=n(a,e);t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom)})})},c037:function(e,t,a){var o=a("3eba"),i=a("6d8b");a("f7c6"),a("1ab3");var n=a("7782"),r=a("98e7"),s=a("292e"),l=a("d3f47");n("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),o.registerVisual(r("pie")),o.registerLayout(i.curry(s,"pie")),o.registerProcessor(l("pie"))},c775:function(e,t,a){var o=a("2b17"),i=o.retrieveRawValue;function n(e,t){var a=e.mapDimension("defaultedLabel",!0),o=a.length;if(1===o)return i(e,t,a[0]);if(o){for(var n=[],r=0;r<a.length;r++){var s=i(e,t,a[r]);n.push(s)}return n.join(" ")}}t.getDefaultLabel=n},c8ef:function(e,t,a){var o=a("6d8b"),i=a("a15a"),n=i.createSymbol,r=a("2306"),s=r.Group,l=a("3842"),u=l.parsePercent,c=a("1418"),d=3;function h(e){return o.isArray(e)||(e=[+e,+e]),e}function p(e,t){e.eachChild(function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?t.color:null,fill:"fill"===t.brushType?t.color:null}})})}function g(e,t){s.call(this);var a=new c(e,t),o=new s;this.add(a),this.add(o),o.beforeUpdate=function(){this.attr(a.getScale())},this.updateData(e,t)}var f=g.prototype;f.stopEffectAnimation=function(){this.childAt(1).removeAll()},f.startEffectAnimation=function(e){for(var t=e.symbolType,a=e.color,o=this.childAt(1),i=0;i<d;i++){var r=n(t,-1,-1,2,2,a);r.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var s=-i/d*e.period+e.effectOffset;r.animate("",!0).when(e.period,{scale:[e.rippleScale/2,e.rippleScale/2]}).delay(s).start(),r.animateStyle(!0).when(e.period,{opacity:0}).delay(s).start(),o.add(r)}p(o,e)},f.updateEffectAnimation=function(e){for(var t=this._effectCfg,a=this.childAt(1),o=["symbolType","period","rippleScale"],i=0;i<o.length;i++){var n=o[i];if(t[n]!==e[n])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}p(a,e)},f.highlight=function(){this.trigger("emphasis")},f.downplay=function(){this.trigger("normal")},f.updateData=function(e,t){var a=e.hostModel;this.childAt(0).updateData(e,t);var o=this.childAt(1),i=e.getItemModel(t),n=e.getItemVisual(t,"symbol"),r=h(e.getItemVisual(t,"symbolSize")),s=e.getItemVisual(t,"color");o.attr("scale",r),o.traverse(function(e){e.attr({fill:s})});var l=i.getShallow("symbolOffset");if(l){var c=o.position;c[0]=u(l[0],r[0]),c[1]=u(l[1],r[1])}o.rotation=(i.getShallow("symbolRotate")||0)*Math.PI/180||0;var d={};if(d.showEffectOn=a.get("showEffectOn"),d.rippleScale=i.get("rippleEffect.scale"),d.brushType=i.get("rippleEffect.brushType"),d.period=1e3*i.get("rippleEffect.period"),d.effectOffset=t/e.count(),d.z=i.getShallow("z")||0,d.zlevel=i.getShallow("zlevel")||0,d.symbolType=n,d.color=s,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 p=this.childAt(0),g=function(){p.highlight(),"render"!==d.showEffectOn&&this.startEffectAnimation(d)},f=function(){p.downplay(),"render"!==d.showEffectOn&&this.stopEffectAnimation()};this.on("mouseover",g,this).on("mouseout",f,this).on("emphasis",g,this).on("normal",f,this)}this._effectCfg=d},f.fadeOut=function(e){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),e&&e()},o.inherits(g,s);var m=g;e.exports=m},c965:function(e,t,a){var o=a("2306"),i=a("a15a"),n=i.createSymbol,r=a("392f"),s=4,l=o.extendShape({shape:{points:null},symbolProxy:null,buildPath:function(e,t){var a=t.points,o=t.size,i=this.symbolProxy,n=i.shape,r=e.getContext?e.getContext():e,l=r&&o[0]<s;if(!l)for(var u=0;u<a.length;){var c=a[u++],d=a[u++];isNaN(c)||isNaN(d)||(n.x=c-o[0]/2,n.y=d-o[1]/2,n.width=o[0],n.height=o[1],i.buildPath(e,n,!0))}},afterBrush:function(e){var t=this.shape,a=t.points,o=t.size,i=o[0]<s;if(i){this.setTransform(e);for(var n=0;n<a.length;){var r=a[n++],l=a[n++];isNaN(r)||isNaN(l)||e.fillRect(r-o[0]/2,l-o[1]/2,o[0],o[1])}this.restoreTransform(e)}},findDataIndex:function(e,t){for(var a=this.shape,o=a.points,i=a.size,n=Math.max(i[0],4),r=Math.max(i[1],4),s=o.length/2-1;s>=0;s--){var l=2*s,u=o[l]-n/2,c=o[l+1]-r/2;if(e>=u&&t>=c&&e<=u+n&&t<=c+r)return s}return-1}});function u(){this.group=new o.Group}var c=u.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(e){this.group.removeAll();var t=new l({rectHover:!0,cursor:"default"});t.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(t,e),this.group.add(t),this._incremental=null},c.updateLayout=function(e){if(!this._incremental){var t=e.getLayout("symbolPoints");this.group.eachChild(function(e){if(null!=e.startIndex){var a=2*(e.endIndex-e.startIndex),o=4*e.startIndex*2;t=new Float32Array(t.buffer,o,a)}e.setShape("points",t)})}},c.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>2e6?(this._incremental||(this._incremental=new r({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(e,t){var a;this._incremental?(a=new l,this._incremental.addDisplayable(a,!0)):(a=new l({rectHover:!0,cursor:"default",startIndex:e.start,endIndex:e.end}),a.incremental=!0,this.group.add(a)),a.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(a,t,!!this._incremental)},c._setCommon=function(e,t,a){var o=t.hostModel,i=t.getVisual("symbolSize");e.setShape("size",i instanceof Array?i:[i,i]),e.symbolProxy=n(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var r=e.shape.size[0]<s;e.useStyle(o.getModel("itemStyle").getItemStyle(r?["color","shadowBlur","shadowColor"]:["color"]));var l=t.getVisual("color");l&&e.setColor(l),a||(e.seriesIndex=o.seriesIndex,e.on("mousemove",function(t){e.dataIndex=null;var a=e.findDataIndex(t.offsetX,t.offsetY);a>=0&&(e.dataIndex=a+(e.startIndex||0))}))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var d=u;e.exports=d},ca29:function(e,t,a){var o=a("6d9a"),i=o.eachAfter,n=o.eachBefore,r=a("22da"),s=r.init,l=r.firstWalk,u=r.secondWalk,c=r.separation,d=r.radialCoordinate,h=r.getViewRect;function p(e,t){e.eachSeriesByType("tree",function(e){g(e,t)})}function g(e,t){var a=h(e,t);e.layoutInfo=a;var o=e.get("layout"),r=0,p=0,g=null;"radial"===o?(r=2*Math.PI,p=Math.min(a.height,a.width)/2,g=c(function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth})):(r=a.width,p=a.height,g=c());var f=e.getData().tree.root,m=f.children[0];if(m){s(f),i(m,l,g),f.hierNode.modifier=-m.hierNode.prelim,n(m,u);var y=m,v=m,x=m;n(m,function(e){var t=e.getLayout().x;t<y.getLayout().x&&(y=e),t>v.getLayout().x&&(v=e),e.depth>x.depth&&(x=e)});var b=y===v?1:g(y,v)/2,_=b-y.getLayout().x,S=0,w=0,I=0,L=0;if("radial"===o)S=r/(v.getLayout().x+b+_),w=p/(x.depth-1||1),n(m,function(e){I=(e.getLayout().x+_)*S,L=(e.depth-1)*w;var t=d(I,L);e.setLayout({x:t.x,y:t.y,rawX:I,rawY:L},!0)});else{var A=e.getOrient();"RL"===A||"LR"===A?(w=p/(v.getLayout().x+b+_),S=r/(x.depth-1||1),n(m,function(e){L=(e.getLayout().x+_)*w,I="LR"===A?(e.depth-1)*S:r-(e.depth-1)*S,e.setLayout({x:I,y:L},!0)})):"TB"!==A&&"BT"!==A||(S=r/(v.getLayout().x+b+_),w=p/(x.depth-1||1),n(m,function(e){I=(e.getLayout().x+_)*S,L="TB"===A?(e.depth-1)*w:p-(e.depth-1)*w,e.setLayout({x:I,y:L},!0)}))}}}e.exports=p},cb69:function(e,t,a){var o=a("3301"),i=a("4f85"),n=i.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(e,t){return o(this.getSource(),this)},brushSelector:"point",getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8}}});e.exports=n},cb73:function(e,t,a){var o=a("3842"),i=o.parsePercent,n=a("6d8b"),r=(Math.PI,Math.PI/180);function s(e,t,a,o){t.eachSeriesByType(e,function(e){var t=e.get("center"),o=e.get("radius");n.isArray(o)||(o=[0,o]),n.isArray(t)||(t=[t,t]);var s=a.getWidth(),u=a.getHeight(),c=Math.min(s,u),d=i(t[0],s),h=i(t[1],u),p=i(o[0],c/2),g=i(o[1],c/2),f=-e.get("startAngle")*r,m=e.get("minAngle")*r,y=e.getData().tree.root,v=e.getViewRoot(),x=v.depth,b=e.get("sort");null!=b&&l(v,b);var _=0;n.each(v.children,function(e){!isNaN(e.getValue())&&_++});var S=v.getValue(),w=Math.PI/(S||_)*2,I=v.depth>0,L=v.height-(I?-1:1),A=(g-p)/(L||1),M=e.get("clockwise"),D=e.get("stillShowZeroSum"),N=M?1:-1,C=function(e,t){if(e){var a=t;if(e!==y){var o=e.getValue(),r=0===S&&D?w:o*w;r<m?(r=m,m):o,a=t+N*r;var s=e.depth-x-(I?-1:1),l=p+A*s,u=p+A*(s+1),g=e.getModel();null!=g.get("r0")&&(l=i(g.get("r0"),c/2)),null!=g.get("r")&&(u=i(g.get("r"),c/2)),e.setLayout({angle:r,startAngle:t,endAngle:a,clockwise:M,cx:d,cy:h,r0:l,r:u})}if(e.children&&e.children.length){var f=0;n.each(e.children,function(e){f+=C(e,t+f)})}return a-t}};if(I){var P=p,T=p+A,E=2*Math.PI;y.setLayout({angle:E,startAngle:f,endAngle:f+E,clockwise:M,cx:d,cy:h,r0:P,r:T})}C(v,f)})}function l(e,t){var a=e.children||[];e.children=u(a,t),a.length&&n.each(e.children,function(e){l(e,t)})}function u(e,t){if("function"===typeof t)return e.sort(t);var a="asc"===t;return e.sort(function(e,t){var o=(e.getValue()-t.getValue())*(a?1:-1);return 0===o?(e.dataIndex-t.dataIndex)*(a?-1:1):o})}e.exports=s},cccd:function(e,t,a){var o=a("e0d3"),i=o.makeInner;function n(){var e=i();return function(t){var a=e(t),o=t.pipelineContext,i=a.large,n=a.progressiveRender,r=a.large=o.large,s=a.progressiveRender=o.progressiveRender;return!!(i^r||n^s)&&"reset"}}e.exports=n},cd84:function(e,t,a){var o=a("6d8b"),i=256;function n(){var e=o.createCanvas();this.canvas=e,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}n.prototype={update:function(e,t,a,o,n,r){var s=this._getBrush(),l=this._getGradient(e,n,"inRange"),u=this._getGradient(e,n,"outOfRange"),c=this.pointSize+this.blurSize,d=this.canvas,h=d.getContext("2d"),p=e.length;d.width=t,d.height=a;for(var g=0;g<p;++g){var f=e[g],m=f[0],y=f[1],v=f[2],x=o(v);h.globalAlpha=x,h.drawImage(s,m-c,y-c)}if(!d.width||!d.height)return d;var b=h.getImageData(0,0,d.width,d.height),_=b.data,S=0,w=_.length,I=this.minOpacity,L=this.maxOpacity,A=L-I;while(S<w){x=_[S+3]/256;var M=4*Math.floor(x*(i-1));if(x>0){var D=r(x)?l:u;x>0&&(x=x*A+I),_[S++]=D[M],_[S++]=D[M+1],_[S++]=D[M+2],_[S++]=D[M+3]*x*256}else S+=4}return h.putImageData(b,0,0),d},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=o.createCanvas()),t=this.pointSize+this.blurSize,a=2*t;e.width=a,e.height=a;var i=e.getContext("2d");return i.clearRect(0,0,a,a),i.shadowOffsetX=a,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-t,t,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),e},_getGradient:function(e,t,a){for(var o=this._gradientPixels,i=o[a]||(o[a]=new Uint8ClampedArray(1024)),n=[0,0,0,0],r=0,s=0;s<256;s++)t[a](s/255,!0,n),i[r++]=n[0],i[r++]=n[1],i[r++]=n[2],i[r++]=n[3];return i}};var r=n;e.exports=r},cee1:function(e,t,a){var o=a("6d8b");function i(e){var t={};e.eachSeriesByType("map",function(a){var i=a.getMapType();if(!a.getHostGeoModel()&&!t[i]){var n={};o.each(a.seriesGroup,function(t){var a=t.coordinateSystem,o=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&o.each(o.mapDimension("value"),function(e,t){var i=o.getName(t),r=a.getRegion(i);if(r&&!isNaN(e)){var s=n[i]||0,l=a.dataToPoint(r.center);n[i]=s+1,o.setItemLayout(t,{point:l,offset:s})}})});var r=a.getData();r.each(function(e){var t=r.getName(e),a=r.getItemLayout(e)||{};a.showLabel=!n[t],r.setItemLayout(e,a)}),t[i]=!0}})}e.exports=i},d01c:function(e,t,a){var o=a("4f85"),i=a("237f"),n=a("eda2"),r=n.encodeHTML,s=o.extend({type:"series.sankey",layoutInfo:null,getInitialData:function(e){var t=e.edges||e.links,a=e.data||e.nodes;if(a&&t){var o=i(a,t,this,!0);return o.data}},setNodePosition:function(e,t){var a=this.option.data[e];a.localX=t[0],a.localY=t[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(e,t,a){if("edge"===a){var o=this.getDataParams(e,a),i=o.data,n=i.source+" -- "+i.target;return o.value&&(n+=" : "+o.value),r(n)}return s.superCall(this,"formatTooltip",e,t)},optionUpdated:function(){var e=this.option;!0===e.focusNodeAdjacency&&(e.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},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;e.exports=l},d2a5:function(e,t,a){var o=a("3eba");o.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),o.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},d357:function(e,t,a){var o=a("6d8b"),i=o.each,n=a("1c5f"),r=n.simpleLayout,s=n.simpleLayoutEdge;function l(e,t){e.eachSeriesByType("graph",function(e){var t=e.get("layout"),a=e.coordinateSystem;if(a&&"view"!==a.type){var o=e.getData(),n=[];i(a.dimensions,function(e){n=n.concat(o.mapDimension(e,!0))});for(var l=0;l<o.count();l++){for(var u=[],c=!1,d=0;d<n.length;d++){var h=o.get(n[d],l);isNaN(h)||(c=!0),u.push(h)}c?o.setItemLayout(l,a.dataToPoint(u)):o.setItemLayout(l,[NaN,NaN])}s(o.graph)}else t&&"none"!==t||r(e)})}e.exports=l},d4d1:function(e,t,a){var o=a("cbe5"),i=a("401b"),n=a("897a"),r=i.min,s=i.max,l=i.scaleAndAdd,u=i.copy,c=[],d=[],h=[];function p(e){return isNaN(e[0])||isNaN(e[1])}function g(e,t,a,o,i,n,r,s,l,u,c){return"none"!==u&&u?f.apply(this,arguments):m.apply(this,arguments)}function f(e,t,a,o,i,n,r,s,l,c,g){for(var f=0,m=a,y=0;y<o;y++){var v=t[m];if(m>=i||m<0)break;if(p(v)){if(g){m+=n;continue}break}if(m===a)e[n>0?"moveTo":"lineTo"](v[0],v[1]);else if(l>0){var x=t[f],b="y"===c?1:0,_=(v[b]-x[b])*l;u(d,x),d[b]=x[b]+_,u(h,v),h[b]=v[b]-_,e.bezierCurveTo(d[0],d[1],h[0],h[1],v[0],v[1])}else e.lineTo(v[0],v[1]);f=m,m+=n}return y}function m(e,t,a,o,n,g,f,m,y,v,x){for(var b=0,_=a,S=0;S<o;S++){var w=t[_];if(_>=n||_<0)break;if(p(w)){if(x){_+=g;continue}break}if(_===a)e[g>0?"moveTo":"lineTo"](w[0],w[1]),u(d,w);else if(y>0){var I=_+g,L=t[I];if(x)while(L&&p(t[I]))I+=g,L=t[I];var A=.5,M=t[b];L=t[I];if(!L||p(L))u(h,w);else{var D,N;if(p(L)&&!x&&(L=w),i.sub(c,L,M),"x"===v||"y"===v){var C="x"===v?0:1;D=Math.abs(w[C]-M[C]),N=Math.abs(w[C]-L[C])}else D=i.dist(w,M),N=i.dist(w,L);A=N/(N+D),l(h,w,c,-y*(1-A))}r(d,d,m),s(d,d,f),r(h,h,m),s(h,h,f),e.bezierCurveTo(d[0],d[1],h[0],h[1],w[0],w[1]),l(d,w,c,y*A)}else e.lineTo(w[0],w[1]);b=_,_+=g}return S}function y(e,t){var a=[1/0,1/0],o=[-1/0,-1/0];if(t)for(var i=0;i<e.length;i++){var n=e[i];n[0]<a[0]&&(a[0]=n[0]),n[1]<a[1]&&(a[1]=n[1]),n[0]>o[0]&&(o[0]=n[0]),n[1]>o[1]&&(o[1]=n[1])}return{min:t?a:o,max:t?o:a}}var v=o.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:n(o.prototype.brush),buildPath:function(e,t){var a=t.points,o=0,i=a.length,n=y(a,t.smoothConstraint);if(t.connectNulls){for(;i>0;i--)if(!p(a[i-1]))break;for(;o<i;o++)if(!p(a[o]))break}while(o<i)o+=g(e,a,o,i,i,1,n.min,n.max,t.smooth,t.smoothMonotone,t.connectNulls)+1}}),x=o.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:n(o.prototype.brush),buildPath:function(e,t){var a=t.points,o=t.stackedOnPoints,i=0,n=a.length,r=t.smoothMonotone,s=y(a,t.smoothConstraint),l=y(o,t.smoothConstraint);if(t.connectNulls){for(;n>0;n--)if(!p(a[n-1]))break;for(;i<n;i++)if(!p(a[i]))break}while(i<n){var u=g(e,a,i,n,n,1,s.min,s.max,t.smooth,r,t.connectNulls);g(e,o,i+u-1,u,n,-1,l.min,l.max,t.stackedOnSmooth,r,t.connectNulls),i+=u+1,e.closePath()}}});t.Polyline=v,t.Polygon=x},d7169:function(e,t,a){var o=a("3eba"),i=a("6d8b");a("aa01"),a("340d"),a("44fb");var n=a("98e7"),r=a("cb73"),s=a("d3f47");o.registerVisual(i.curry(n,"sunburst")),o.registerLayout(i.curry(r,"sunburst")),o.registerProcessor(i.curry(s,"sunburst"))},d747:function(e,t,a){var o=a("3eba"),i=a("d81e"),n=i.updateCenterAndZoom;a("d2a5");var r={type:"graphRoam",event:"graphRoam",update:"none"};o.registerAction(r,function(e,t){t.eachComponent({mainType:"series",query:e},function(t){var a=t.coordinateSystem,o=n(a,e);t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom)})})},dae1:function(e,t,a){var o=a("3eba");a("928d"),a("b369"),a("4411");var i=a("90c2"),n=a("9ca8");o.registerVisual(i),o.registerLayout(n)},de6e:function(e,t){function a(e){return e instanceof Array||(e=[e,e]),e}function o(e){e.eachSeriesByType("graph",function(e){var t=e.getGraph(),o=e.getEdgeData(),i=a(e.get("edgeSymbol")),n=a(e.get("edgeSymbolSize")),r="lineStyle.color".split("."),s="lineStyle.opacity".split(".");o.setVisual("fromSymbol",i&&i[0]),o.setVisual("toSymbol",i&&i[1]),o.setVisual("fromSymbolSize",n&&n[0]),o.setVisual("toSymbolSize",n&&n[1]),o.setVisual("color",e.get(r)),o.setVisual("opacity",e.get(s)),o.each(function(e){var i=o.getItemModel(e),n=t.getEdgeByIndex(e),l=a(i.getShallow("symbol",!0)),u=a(i.getShallow("symbolSize",!0)),c=i.get(r),d=i.get(s);switch(c){case"source":c=n.node1.getVisual("color");break;case"target":c=n.node2.getVisual("color");break}l[0]&&n.setVisual("fromSymbol",l[0]),l[1]&&n.setVisual("toSymbol",l[1]),u[0]&&n.setVisual("fromSymbolSize",u[0]),u[1]&&n.setVisual("toSymbolSize",u[1]),n.setVisual("color",c),n.setVisual("opacity",d)})})}e.exports=o},e468:function(e,t,a){var o=a("e46b"),i=a("6d8b"),n=a("2f45"),r=n.getDimensionTypeByAxis,s={_baseAxisDim:null,getInitialData:function(e,t){var a,n,s=t.getComponent("xAxis",this.get("xAxisIndex")),l=t.getComponent("yAxis",this.get("yAxisIndex")),u=s.get("type"),c=l.get("type");"category"===u?(e.layout="horizontal",a=s.getOrdinalMeta(),n=!0):"category"===c?(e.layout="vertical",a=l.getOrdinalMeta(),n=!0):e.layout=e.layout||"horizontal";var d=["x","y"],h="horizontal"===e.layout?0:1,p=this._baseAxisDim=d[h],g=d[1-h],f=[s,l],m=f[h].get("type"),y=f[1-h].get("type"),v=e.data;if(v&&n){var x=[];i.each(v,function(e,t){var a;e.value&&i.isArray(e.value)?(a=e.value.slice(),e.value.unshift(t)):i.isArray(e)?(a=e.slice(),e.unshift(t)):a=e,x.push(a)}),e.data=x}var b=this.defaultValueDimensions;return o(this,{coordDimensions:[{name:p,type:r(m),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:g,type:r(y),dimsDef:b.slice()}],dimensionsCount:b.length+1})},getBaseAxis:function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis}};t.seriesModelMixin=s},e46b:function(e,t,a){var o=a("b1d4"),i=a("6179"),n=a("6d8b"),r=n.extend,s=n.isArray;function l(e,t,a){t=s(t)&&{coordDimensions:t}||r({},t);var n=e.getSource(),l=o(n,t),u=new i(l,e);return u.initData(n,a),u}e.exports=l},ee98:function(e,t){function a(e){return e instanceof Array||(e=[e,e]),e}var o="lineStyle.opacity".split("."),i={seriesType:"lines",reset:function(e,t,i){var n=a(e.get("symbol")),r=a(e.get("symbolSize")),s=e.getData();function l(e,t){var i=e.getItemModel(t),n=a(i.getShallow("symbol",!0)),r=a(i.getShallow("symbolSize",!0)),s=i.get(o);n[0]&&e.setItemVisual(t,"fromSymbol",n[0]),n[1]&&e.setItemVisual(t,"toSymbol",n[1]),r[0]&&e.setItemVisual(t,"fromSymbolSize",r[0]),r[1]&&e.setItemVisual(t,"toSymbolSize",r[1]),e.setItemVisual(t,"opacity",s)}return s.setVisual("fromSymbol",n&&n[0]),s.setVisual("toSymbol",n&&n[1]),s.setVisual("fromSymbolSize",r&&r[0]),s.setVisual("toSymbolSize",r&&r[1]),s.setVisual("opacity",e.get(o)),{dataEach:s.hasItemOption?l:null}}};e.exports=i},ef2b:function(e,t,a){var o=a("401b"),i=o.scaleAndAdd;function n(e,t,a){for(var n=a.rect,r=n.width,s=n.height,l=[n.x+r/2,n.y+s/2],u=null==a.gravity?.1:a.gravity,c=0;c<e.length;c++){var d=e[c];d.p||(d.p=o.create(r*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),d.pp=o.clone(d.p),d.edges=null}var h=.6;return{warmUp:function(){h=.5},setFixed:function(t){e[t].fixed=!0},setUnfixed:function(t){e[t].fixed=!1},step:function(a){for(var n=[],r=e.length,s=0;s<t.length;s++){var c=t[s],d=c.n1,p=c.n2;o.sub(n,p.p,d.p);var g=o.len(n)-c.d,f=p.w/(d.w+p.w);isNaN(f)&&(f=0),o.normalize(n,n),!d.fixed&&i(d.p,d.p,n,f*g*h),!p.fixed&&i(p.p,p.p,n,-(1-f)*g*h)}for(s=0;s<r;s++){var m=e[s];m.fixed||(o.sub(n,l,m.p),i(m.p,m.p,n,u*h))}for(s=0;s<r;s++){d=e[s];for(var y=s+1;y<r;y++){p=e[y];o.sub(n,p.p,d.p);g=o.len(n);0===g&&(o.set(n,Math.random()-.5,Math.random()-.5),g=1);var v=(d.rep+p.rep)/g/g;!d.fixed&&i(d.pp,d.pp,n,v),!p.fixed&&i(p.pp,p.pp,n,-v)}}var x=[];for(s=0;s<r;s++){m=e[s];m.fixed||(o.sub(x,m.p,m.pp),i(m.p,m.p,x,h),o.copy(m.pp,m.p))}h*=.992,a&&a(e,t,h<.01)}}}t.forceLayout=n},ef97:function(e,t,a){var o=a("3eba");a("217b"),a("f17f");var i=a("7f96"),n=a("87c3"),r=a("fdde");a("01ed"),o.registerVisual(i("line","circle","line")),o.registerLayout(n("line")),o.registerProcessor(o.PRIORITY.PROCESSOR.STATISTIC,r("line"))},ef97a:function(e,t,a){var o=a("3eba");a("2163"),a("6cd8"),a("bf9b");var i=a("7f96"),n=a("ca29");o.registerVisual(i("tree","circle")),o.registerLayout(n)},f123:function(e,t,a){var o=a("9f82"),i=o.prepareDataCoordInfo,n=o.getStackedOnPoint;function r(e,t){var a=[];return t.diff(e).add(function(e){a.push({cmd:"+",idx:e})}).update(function(e,t){a.push({cmd:"=",idx:t,idx1:e})}).remove(function(e){a.push({cmd:"-",idx:e})}).execute(),a}function s(e,t,a,o,s,l,u,c){for(var d=r(e,t),h=[],p=[],g=[],f=[],m=[],y=[],v=[],x=i(s,t,u),b=i(l,e,c),_=0;_<d.length;_++){var S=d[_],w=!0;switch(S.cmd){case"=":var I=e.getItemLayout(S.idx),L=t.getItemLayout(S.idx1);(isNaN(I[0])||isNaN(I[1]))&&(I=L.slice()),h.push(I),p.push(L),g.push(a[S.idx]),f.push(o[S.idx1]),v.push(t.getRawIndex(S.idx1));break;case"+":var A=S.idx;h.push(s.dataToPoint([t.get(x.dataDimsForPoint[0],A),t.get(x.dataDimsForPoint[1],A)])),p.push(t.getItemLayout(A).slice()),g.push(n(x,s,t,A)),f.push(o[A]),v.push(t.getRawIndex(A));break;case"-":A=S.idx;var M=e.getRawIndex(A);M!==A?(h.push(e.getItemLayout(A)),p.push(l.dataToPoint([e.get(b.dataDimsForPoint[0],A),e.get(b.dataDimsForPoint[1],A)])),g.push(a[A]),f.push(n(b,l,e,A)),v.push(M)):w=!1}w&&(m.push(S),y.push(y.length))}y.sort(function(e,t){return v[e]-v[t]});var D=[],N=[],C=[],P=[],T=[];for(_=0;_<y.length;_++){A=y[_];D[_]=h[A],N[_]=p[A],C[_]=g[A],P[_]=f[A],T[_]=m[A]}return{current:D,next:N,stackedOnCurrent:C,stackedOnNext:P,status:T}}e.exports=s},f17f:function(e,t,a){var o=a("4e08"),i=(o.__DEV__,a("6d8b")),n=a("f706"),r=a("1418"),s=a("f123"),l=a("2306"),u=a("e0d3"),c=a("d4d1"),d=c.Polyline,h=c.Polygon,p=a("e887"),g=a("3842"),f=g.round,m=a("9f82"),y=m.prepareDataCoordInfo,v=m.getStackedOnPoint;function x(e,t){if(e.length===t.length){for(var a=0;a<e.length;a++){var o=e[a],i=t[a];if(o[0]!==i[0]||o[1]!==i[1])return}return!0}}function b(e){return"number"===typeof e?e:e?.5:0}function _(e){var t=e.getGlobalExtent();if(e.onBand){var a=e.getBandWidth()/2-1,o=t[1]>t[0]?1:-1;t[0]+=o*a,t[1]-=o*a}return t}function S(e,t,a){if(!a.valueDim)return[];for(var o=[],i=0,n=t.count();i<n;i++)o.push(v(a,e,t,i));return o}function w(e,t,a,o){var i=_(e.getAxis("x")),n=_(e.getAxis("y")),r=e.getBaseAxis().isHorizontal(),s=Math.min(i[0],i[1]),u=Math.min(n[0],n[1]),c=Math.max(i[0],i[1])-s,d=Math.max(n[0],n[1])-u;if(a)s-=.5,c+=.5,u-=.5,d+=.5;else{var h=o.get("lineStyle.width")||2,p=o.get("clipOverflow")?h/2:Math.max(c,d);r?(u-=p,d+=2*p):(s-=p,c+=2*p)}var g=new l.Rect({shape:{x:s,y:u,width:c,height:d}});return t&&(g.shape[r?"width":"height"]=0,l.initProps(g,{shape:{width:c,height:d}},o)),g}function I(e,t,a,o){var i=e.getAngleAxis(),n=e.getRadiusAxis(),r=n.getExtent().slice();r[0]>r[1]&&r.reverse();var s=i.getExtent(),u=Math.PI/180;a&&(r[0]-=.5,r[1]+=.5);var c=new l.Sector({shape:{cx:f(e.cx,1),cy:f(e.cy,1),r0:f(r[0],1),r:f(r[1],1),startAngle:-s[0]*u,endAngle:-s[1]*u,clockwise:i.inverse}});return t&&(c.shape.endAngle=-s[0]*u,l.initProps(c,{shape:{endAngle:-s[1]*u}},o)),c}function L(e,t,a,o){return"polar"===e.type?I(e,t,a,o):w(e,t,a,o)}function A(e,t,a){for(var o=t.getBaseAxis(),i="x"===o.dim||"radius"===o.dim?0:1,n=[],r=0;r<e.length-1;r++){var s=e[r+1],l=e[r];n.push(l);var u=[];switch(a){case"end":u[i]=s[i],u[1-i]=l[1-i],n.push(u);break;case"middle":var c=(l[i]+s[i])/2,d=[];u[i]=d[i]=c,u[1-i]=l[1-i],d[1-i]=s[1-i],n.push(u),n.push(d);break;default:u[i]=l[i],u[1-i]=s[1-i],n.push(u)}}return e[r]&&n.push(e[r]),n}function M(e,t){var a=e.getVisual("visualMeta");if(a&&a.length&&e.count()&&"cartesian2d"===t.type){for(var o,n,r=a.length-1;r>=0;r--){var s=a[r].dimension,u=e.dimensions[s],c=e.getDimensionInfo(u);if(o=c&&c.coordDim,"x"===o||"y"===o){n=a[r];break}}if(n){var d=t.getAxis(o),h=i.map(n.stops,function(e){return{coord:d.toGlobalCoord(d.dataToCoord(e.value)),color:e.color}}),p=h.length,g=n.outerColors.slice();p&&h[0].coord>h[p-1].coord&&(h.reverse(),g.reverse());var f=10,m=h[0].coord-f,y=h[p-1].coord+f,v=y-m;if(v<.001)return"transparent";i.each(h,function(e){e.offset=(e.coord-m)/v}),h.push({offset:p?h[p-1].offset:.5,color:g[1]||"transparent"}),h.unshift({offset:p?h[0].offset:.5,color:g[0]||"transparent"});var x=new l.LinearGradient(0,0,0,0,h,!0);return x[o]=m,x[o+"2"]=y,x}}}function D(e,t,a){var o=e.get("showAllSymbol"),n="auto"===o;if(!o||n){var r=a.getAxesByScale("ordinal")[0];if(r&&(!n||!N(r,t))){var s=t.mapDimension(r.dim),l={};return i.each(r.getViewLabels(),function(e){l[e.tickValue]=1}),function(e){return!l.hasOwnProperty(t.get(s,e))}}}}function N(e,t){var a=e.getExtent(),o=Math.abs(a[1]-a[0])/e.scale.count();isNaN(o)&&(o=0);for(var i=t.count(),n=Math.max(1,Math.round(i/5)),s=0;s<i;s+=n)if(1.5*r.getSymbolSize(t,s)[e.isHorizontal()?1:0]>o)return!1;return!0}var C=p.extend({type:"line",init:function(){var e=new l.Group,t=new n;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,a){var o=e.coordinateSystem,n=this.group,r=e.getData(),s=e.getModel("lineStyle"),l=e.getModel("areaStyle"),u=r.mapArray(r.getItemLayout),c="polar"===o.type,d=this._coordSys,h=this._symbolDraw,p=this._polyline,g=this._polygon,f=this._lineGroup,m=e.get("animation"),v=!l.isEmpty(),_=l.get("origin"),w=y(o,r,_),I=S(o,r,w),N=e.get("showSymbol"),C=N&&!c&&D(e,r,o),P=this._data;P&&P.eachItemGraphicEl(function(e,t){e.__temp&&(n.remove(e),P.setItemGraphicEl(t,null))}),N||h.remove(),n.add(f);var T=!c&&e.get("step");p&&d.type===o.type&&T===this._step?(v&&!g?g=this._newPolygon(u,I,o,m):g&&!v&&(f.remove(g),g=this._polygon=null),f.setClipPath(L(o,!1,!1,e)),N&&h.updateData(r,{isIgnore:C,clipShape:L(o,!1,!0,e)}),r.eachItemGraphicEl(function(e){e.stopAnimation(!0)}),x(this._stackedOnPoints,I)&&x(this._points,u)||(m?this._updateAnimation(r,I,o,a,T,_):(T&&(u=A(u,o,T),I=A(I,o,T)),p.setShape({points:u}),g&&g.setShape({points:u,stackedOnPoints:I})))):(N&&h.updateData(r,{isIgnore:C,clipShape:L(o,!1,!0,e)}),T&&(u=A(u,o,T),I=A(I,o,T)),p=this._newPolyline(u,o,m),v&&(g=this._newPolygon(u,I,o,m)),f.setClipPath(L(o,!0,!1,e)));var E=M(r,o)||r.getVisual("color");p.useStyle(i.defaults(s.getLineStyle(),{fill:"none",stroke:E,lineJoin:"bevel"}));var V=e.get("smooth");if(V=b(e.get("smooth")),p.setShape({smooth:V,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),g){var R=r.getCalculationInfo("stackedOnSeries"),O=0;g.useStyle(i.defaults(l.getAreaStyle(),{fill:E,opacity:.7,lineJoin:"bevel"})),R&&(O=b(R.get("smooth"))),g.setShape({smooth:V,stackedOnSmooth:O,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=r,this._coordSys=o,this._stackedOnPoints=I,this._points=u,this._step=T,this._valueOrigin=_},dispose:function(){},highlight:function(e,t,a,o){var i=e.getData(),n=u.queryDataIndex(i,o);if(!(n instanceof Array)&&null!=n&&n>=0){var s=i.getItemGraphicEl(n);if(!s){var l=i.getItemLayout(n);if(!l)return;s=new r(i,n),s.position=l,s.setZ(e.get("zlevel"),e.get("z")),s.ignore=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,i.setItemGraphicEl(n,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else p.prototype.highlight.call(this,e,t,a,o)},downplay:function(e,t,a,o){var i=e.getData(),n=u.queryDataIndex(i,o);if(null!=n&&n>=0){var r=i.getItemGraphicEl(n);r&&(r.__temp?(i.setItemGraphicEl(n,null),this.group.remove(r)):r.downplay())}else p.prototype.downplay.call(this,e,t,a,o)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new d({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t,t},_newPolygon:function(e,t){var a=this._polygon;return a&&this._lineGroup.remove(a),a=new h({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(a),this._polygon=a,a},_updateAnimation:function(e,t,a,o,i,n){var r=this._polyline,u=this._polygon,c=e.hostModel,d=s(this._data,e,this._stackedOnPoints,t,this._coordSys,a,this._valueOrigin,n),h=d.current,p=d.stackedOnCurrent,g=d.next,f=d.stackedOnNext;i&&(h=A(d.current,a,i),p=A(d.stackedOnCurrent,a,i),g=A(d.next,a,i),f=A(d.stackedOnNext,a,i)),r.shape.__points=d.current,r.shape.points=h,l.updateProps(r,{shape:{points:g}},c),u&&(u.setShape({points:h,stackedOnPoints:p}),l.updateProps(u,{shape:{points:g,stackedOnPoints:f}},c));for(var m=[],y=d.status,v=0;v<y.length;v++){var x=y[v].cmd;if("="===x){var b=e.getItemGraphicEl(y[v].idx1);b&&m.push({el:b,ptIdx:v})}}r.animators&&r.animators.length&&r.animators[0].during(function(){for(var e=0;e<m.length;e++){var t=m[e].el;t.attr("position",r.shape.__points[m[e].ptIdx])}})},remove:function(e){var t=this.group,a=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),a&&a.eachItemGraphicEl(function(e,o){e.__temp&&(t.remove(e),a.setItemGraphicEl(o,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});e.exports=C},f610:function(e,t,a){var o=a("2306"),i=a("f934"),n=a("6d8b"),r=a("55ac"),s=r.wrapTreePathInfo,l=8,u=8,c=5;function d(e){this.group=new o.Group,e.add(this.group)}function h(e,t,a,o,i,n){var r=[[i?e:e-c,t],[e+a,t],[e+a,t+o],[i?e:e-c,t+o]];return!n&&r.splice(2,0,[e+a+c,t+o/2]),!i&&r.push([e,t+o/2]),r}function p(e,t,a){e.eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.componentIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:a&&a.dataIndex,name:a&&a.name},treePathInfo:a&&s(a,t)}}d.prototype={constructor:d,render:function(e,t,a,o){var n=e.getModel("breadcrumb"),r=this.group;if(r.removeAll(),n.get("show")&&a){var s=n.getModel("itemStyle"),l=s.getModel("textStyle"),u={pos:{left:n.get("left"),right:n.get("right"),top:n.get("top"),bottom:n.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:n.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(a,u,l),this._renderContent(e,u,s,l,o),i.positionElement(r,u.pos,u.box)}},_prepare:function(e,t,a){for(var o=e;o;o=o.parentNode){var i=o.getModel().get("name"),n=a.getTextRect(i),r=Math.max(n.width+2*l,t.emptyItemWidth);t.totalWidth+=r+u,t.renderList.push({node:o,text:i,width:r})}},_renderContent:function(e,t,a,r,s){for(var l=0,c=t.emptyItemWidth,d=e.get("breadcrumb.height"),g=i.getAvailableSize(t.pos,t.box),f=t.totalWidth,m=t.renderList,y=m.length-1;y>=0;y--){var v=m[y],x=v.node,b=v.width,_=v.text;f>g.width&&(f-=b-c,b=c,_=null);var S=new o.Polygon({shape:{points:h(l,0,b,d,y===m.length-1,0===y)},style:n.defaults(a.getItemStyle(),{lineJoin:"bevel",text:_,textFill:r.getTextColor(),textFont:r.getFont()}),z:10,onclick:n.curry(s,x)});this.group.add(S),p(S,e,x),l+=b+u}},remove:function(){this.group.removeAll()}};var g=d;e.exports=g},f6ed:function(e,t,a){var o=a("6d8b");function i(e,t){var a={};return o.each(e,function(e){e.each(e.mapDimension("value"),function(t,o){var i="ec-"+e.getName(o);a[i]=a[i]||[],isNaN(t)||a[i].push(t)})}),e[0].map(e[0].mapDimension("value"),function(o,i){for(var n,r="ec-"+e[0].getName(i),s=0,l=1/0,u=-1/0,c=a[r].length,d=0;d<c;d++)l=Math.min(l,a[r][d]),u=Math.max(u,a[r][d]),s+=a[r][d];return n="min"===t?l:"max"===t?u:"average"===t?s/c:s,0===c?NaN:n})}function n(e){var t={};e.eachSeriesByType("map",function(e){var a=e.getHostGeoModel(),o=a?"o"+a.id:"i"+e.getMapType();(t[o]=t[o]||[]).push(e)}),o.each(t,function(e,t){for(var a=i(o.map(e,function(e){return e.getData()}),e[0].get("mapValueCalculation")),n=0;n<e.length;n++)e[n].originalData=e[n].getData();for(n=0;n<e.length;n++)e[n].seriesGroup=e,e[n].needsDrawMap=0===n&&!e[n].getHostGeoModel(),e[n].setData(a.cloneShallow()),e[n].mainSeries=e[0]})}e.exports=n},f706:function(e,t,a){var o=a("2306"),i=a("1418"),n=a("6d8b"),r=n.isObject;function s(e){this.group=new o.Group,this._symbolCtor=e||i}var l=s.prototype;function u(e,t,a,o){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(o.isIgnore&&o.isIgnore(a))&&!(o.clipShape&&!o.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(a,"symbol")}function c(e){return null==e||r(e)||(e={isIgnore:e}),e||{}}function d(e){var t=e.hostModel;return{itemStyle:t.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:t.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label"),cursorStyle:t.get("cursor")}}l.updateData=function(e,t){t=c(t);var a=this.group,i=e.hostModel,n=this._data,r=this._symbolCtor,s=d(e);n||a.removeAll(),e.diff(n).add(function(o){var i=e.getItemLayout(o);if(u(e,i,o,t)){var n=new r(e,o,s);n.attr("position",i),e.setItemGraphicEl(o,n),a.add(n)}}).update(function(l,c){var d=n.getItemGraphicEl(c),h=e.getItemLayout(l);u(e,h,l,t)?(d?(d.updateData(e,l,s),o.updateProps(d,{position:h},i)):(d=new r(e,l),d.attr("position",h)),a.add(d),e.setItemGraphicEl(l,d)):a.remove(d)}).remove(function(e){var t=n.getItemGraphicEl(e);t&&t.fadeOut(function(){a.remove(t)})}).execute(),this._data=e},l.isPersistent=function(){return!0},l.updateLayout=function(){var e=this._data;e&&e.eachItemGraphicEl(function(t,a){var o=e.getItemLayout(a);t.attr("position",o)})},l.incrementalPrepareUpdate=function(e){this._seriesScope=d(e),this._data=null,this.group.removeAll()},l.incrementalUpdate=function(e,t,a){function o(e){e.isGroup||(e.incremental=e.useHoverLayer=!0)}a=c(a);for(var i=e.start;i<e.end;i++){var n=t.getItemLayout(i);if(u(t,n,i,a)){var r=new this._symbolCtor(t,i,this._seriesScope);r.traverse(o),r.attr("position",n),this.group.add(r),t.setItemGraphicEl(i,r)}}},l.remove=function(e){var t=this.group,a=this._data;a&&e?a.eachItemGraphicEl(function(e){e.fadeOut(function(){t.remove(e)})}):t.removeAll()};var h=s;e.exports=h},f7c6:function(e,t,a){var o=a("3eba"),i=a("e46b"),n=a("6d8b"),r=a("e0d3"),s=a("3842"),l=s.getPercentWithPrecision,u=a("7023"),c=a("2b17"),d=c.retrieveRawAttr,h=o.extendSeriesModel({type:"series.pie",init:function(e){h.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(e)},mergeOption:function(e){h.superCall(this,"mergeOption",e),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(e,t){return i(this,["value"])},_createSelectableList:function(){for(var e=this.getRawData(),t=e.mapDimension("value"),a=[],o=0,i=e.count();o<i;o++)a.push({name:e.getName(o),value:e.get(t,o),selected:d(e,o,"selected")});return a},getDataParams:function(e){var t=this.getData(),a=h.superCall(this,"getDataParams",e),o=[];return t.each(t.mapDimension("value"),function(e){o.push(e)}),a.percent=l(o,e,t.hostModel.get("percentPrecision")),a.$vars.push("percent"),a},_defaultLabelLine:function(e){r.defaultEmphasis(e,"labelLine",["show"]);var t=e.labelLine,a=e.emphasis.labelLine;t.show=t.show&&e.label.show,a.show=a.show&&e.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,label:{rotate:!1,show:!0,position:"outer"},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationEasing:"cubicOut"}});n.mixin(h,u);var p=h;e.exports=p}}]);
  2. //# sourceMappingURL=chunk-vendors~be6a9b4d.05f3ec1a.js.map