forgeplus/public/react/build/static/js/27.99eef048.chunk.js

1 line
486 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

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

(this.webpackJsonp=this.webpackJsonp||[]).push([[27,132],{"+hnl":function(e,t,n){},"+lIL":function(e,t,n){var i=n("ProS");n("/ry/"),n("3OrL");var o=n("L5E0"),a=n("7Phj");i.registerVisual(o),i.registerLayout(a)},"/IIm":function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=n("H6uX"),a=n("IwbS"),r=n("pP6R"),s=n("gPAo"),l=i.curry,u=i.each,c=i.map,d=Math.min,h=Math.max,p=Math.pow,g={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},f={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},m={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},v=0;function y(e){o.call(this),this._zr=e,this.group=new a.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+v++,this._handlers={},u(F,(function(e,t){this._handlers[t]=i.bind(e,this)}),this)}function x(e,t){var n=Z[t.brushType].createCover(e,t);return n.__brushOption=t,S(n,t),e.group.add(n),n}function _(e,t){var n=M(t);return n.endCreating&&(n.endCreating(e,t),S(t,t.__brushOption)),t}function b(e,t){var n=t.__brushOption;M(t).updateCoverShape(e,t,n.range,n)}function S(e,t){var n=t.z;null==n&&(n=1e4),e.traverse((function(e){e.z=n,e.z2=n}))}function w(e,t){M(t).updateCommon(e,t),b(e,t)}function M(e){return Z[e.__brushOption.brushType]}function I(e,t,n){var i,o=e._panels;if(!o)return!0;var a=e._transform;return u(o,(function(e){e.isTargetByCursor(t,n,a)&&(i=e)})),i}function A(e,t){var n=e._panels;if(!n)return!0;var i=t.__brushOption.panelId;return null==i||n[i]}function T(e){var t=e._covers,n=t.length;return u(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function D(e,t){var n=c(e._covers,(function(e){var t=e.__brushOption,n=i.clone(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",n,{isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function C(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function L(e,t,n,i){var o=new a.Group;return o.add(new a.Rect({name:"main",style:E(n),silent:!0,draggable:!0,cursor:"move",drift:l(e,t,o,"nswe"),ondragend:l(D,t,{isEnd:!0})})),u(i,(function(n){o.add(new a.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:l(e,t,o,n),ondragend:l(D,t,{isEnd:!0})}))})),o}function P(e,t,n,i){var o=i.brushStyle.lineWidth||0,a=h(o,6),r=n[0][0],s=n[1][0],l=r-o/2,u=s-o/2,c=n[0][1],d=n[1][1],p=c-a+o/2,g=d-a+o/2,f=c-r,m=d-s,v=f+o,y=m+o;N(e,t,"main",r,s,f,m),i.transformable&&(N(e,t,"w",l,u,a,y),N(e,t,"e",p,u,a,y),N(e,t,"n",l,u,v,a),N(e,t,"s",l,g,v,a),N(e,t,"nw",l,u,a,a),N(e,t,"ne",p,u,a,a),N(e,t,"sw",l,g,a,a),N(e,t,"se",p,g,a,a))}function k(e,t){var n=t.__brushOption,i=n.transformable,o=t.childAt(0);o.useStyle(E(n)),o.attr({silent:!i,cursor:i?"move":"default"}),u(["w","e","n","s","se","sw","ne","nw"],(function(n){var o=t.childOfName(n),r=function e(t,n){if(n.length>1)return n=n.split(""),("e"===(i=[e(t,n[0]),e(t,n[1])])[0]||"w"===i[0])&&i.reverse(),i.join("");var i;return{left:"w",right:"e",top:"n",bottom:"s"}[i=a.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[n],function(e){return a.getTransform(e.group)}(t))]}(e,n);o&&o.attr({silent:!i,invisible:!i,cursor:i?f[r]+"-resize":null})}))}function N(e,t,n,i,o,a,r){var s,l,u,c,p,g=t.childOfName(n);g&&g.setShape((s=B(e,t,[[i,o],[i+a,o+r]]),l=d(s[0][0],s[1][0]),u=d(s[0][1],s[1][1]),c=h(s[0][0],s[1][0]),p=h(s[0][1],s[1][1]),{x:l,y:u,width:c-l,height:p-u}))}function E(e){return i.defaults({strokeNoScale:!0},e.brushStyle)}function O(e,t,n,i){var o=[d(e,n),d(t,i)],a=[h(e,n),h(t,i)];return[[o[0],a[0]],[o[1],a[1]]]}function R(e,t,n,i,o,a,r,s){var l=i.__brushOption,c=e(l.range),d=z(n,a,r);u(o.split(""),(function(e){var t=g[e];c[t[0]][t[1]]+=d[t[0]]})),l.range=t(O(c[0][0],c[1][0],c[0][1],c[1][1])),w(n,i),D(n,{isEnd:!1})}function V(e,t,n,i,o){var a=t.__brushOption.range,r=z(e,n,i);u(a,(function(e){e[0]+=r[0],e[1]+=r[1]})),w(e,t),D(e,{isEnd:!1})}function z(e,t,n){var i=e.group,o=i.transformCoordToLocal(t,n),a=i.transformCoordToLocal(0,0);return[o[0]-a[0],o[1]-a[1]]}function B(e,t,n){var o=A(e,t);return o&&!0!==o?o.clipPath(n,e._transform):i.clone(n)}function G(e){var t=e.event;t.preventDefault&&t.preventDefault()}function Y(e,t,n){return e.childOfName("main").contain(t,n)}function H(e,t,n,o){var a,r=e._creatingCover,s=e._creatingPanel,l=e._brushOption;if(e._track.push(n.slice()),function(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],i=t[0],o=n[0]-i[0],a=n[1]-i[1];return p(o*o+a*a,.5)>6}(e)||r){if(s&&!r){"single"===l.brushMode&&T(e);var u=i.clone(l);u.brushType=W(u.brushType,s),u.panelId=!0===s?null:s.panelId,r=e._creatingCover=x(e,u),e._covers.push(r)}if(r){var c=Z[W(e._brushType,s)];r.__brushOption.range=c.getCreatingRange(B(e,r,e._track)),o&&(_(e,r),c.updateCommon(e,r)),b(e,r),a={isEnd:o}}}else o&&"single"===l.brushMode&&l.removeOnClick&&I(e,t,n)&&T(e)&&(a={isEnd:o,removeOnClick:!0});return a}function W(e,t){return"auto"===e?t.defaultBrushType:e}y.prototype={constructor:y,enableBrush:function(e){var t,n;return this._brushType&&(n=(t=this)._zr,r.release(n,"globalPan",t._uid),function(e,t){u(t,(function(t,n){e.off(n,t)}))}(n,t._handlers),t._brushType=t._brushOption=null),e.brushType&&function(e,t){var n=e._zr;e._enableGlobalPan||r.take(n,"globalPan",e._uid);(function(e,t){u(t,(function(t,n){e.on(n,t)}))})(n,e._handlers),e._brushType=t.brushType,e._brushOption=i.merge(i.clone(m),t,!0)}(this,e),this},setPanels:function(e){if(e&&e.length){var t=this._panels={};i.each(e,(function(e){t[e.panelId]=i.clone(e)}))}else this._panels=null;return this},mount:function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({position:e.position||[0,0],rotation:e.rotation||0,scale:e.scale||[1,1]}),this._transform=t.getLocalTransform(),this},eachCover:function(e,t){u(this._covers,e,t)},updateCovers:function(e){e=i.map(e,(function(e){return i.merge(i.clone(m),e,!0)}));var t=this._covers,n=this._covers=[],o=this,a=this._creatingCover;return new s(t,e,(function(e,t){return r(e.__brushOption,t)}),r).add(l).update(l).remove((function(e){t[e]!==a&&o.group.remove(t[e])})).execute(),this;function r(e,t){return(null!=e.id?e.id:"\0-brush-index-"+t)+"-"+e.brushType}function l(i,r){var s=e[i];if(null!=r&&t[r]===a)n[i]=t[r];else{var l=n[i]=null!=r?(t[r].__brushOption=s,t[r]):_(o,x(o,s));w(o,l)}}},unmount:function(){return this.enableBrush(!1),T(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},i.mixin(y,o);var F={mousedown:function(e){if(this._dragging)j(this,e);else if(!e.target||!e.target.draggable){G(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null,(this._creatingPanel=I(this,e,t))&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,i=this.group.transformCoordToLocal(t,n);if(function(e,t,n){if(e._brushType&&!function(e,t,n){var i=e._zr;return t<0||t>i.getWidth()||n<0||n>i.getHeight()}(e,t)){var i=e._zr,o=e._covers,a=I(e,t,n);if(!e._dragging)for(var r=0;r<o.length;r++){var s=o[r].__brushOption;if(a&&(!0===a||s.panelId===a.panelId)&&Z[s.brushType].contain(o[r],n[0],n[1]))return}a&&i.setCursorStyle("crosshair")}}(this,e,i),this._dragging){G(e);var o=H(this,e,i,!1);o&&D(this,o)}},mouseup:function(e){j(this,e)}};function j(e,t){if(e._dragging){G(t);var n=t.offsetX,i=t.offsetY,o=e.group.transformCoordToLocal(n,i),a=H(e,t,o,!0);e._dragging=!1,e._track=[],e._creatingCover=null,a&&D(e,a)}}var Z={lineX:U(0),lineY:U(1),rect:{createCover:function(e,t){return L(l(R,(function(e){return e}),(function(e){return e})),e,t,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(e){var t=C(e);return O(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,i){P(e,t,n,i)},updateCommon:k,contain:Y},polygon:{createCover:function(e,t){var n=new a.Group;return n.add(new a.Polyline({name:"main",style:E(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new a.Polygon({name:"main",draggable:!0,drift:l(V,e,t),ondragend:l(D,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,i){t.childAt(0).setShape({points:B(e,t,n)})},updateCommon:k,contain:Y}};function U(e){return{createCover:function(t,n){return L(l(R,(function(t){var n=[t,[0,100]];return e&&n.reverse(),n}),(function(t){return t[e]})),t,n,[["w","e"],["n","s"]][e])},getCreatingRange:function(t){var n=C(t);return[d(n[0][e],n[1][e]),h(n[0][e],n[1][e])]},updateCoverShape:function(t,n,i,o){var a,r=A(t,n);if(!0!==r&&r.getLinearBrushOtherExtent)a=r.getLinearBrushOtherExtent(e,t._transform);else{var s=t._zr;a=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[i,a];e&&l.reverse(),P(t,n,l,o)},updateCommon:k,contain:Y}}var X=y;e.exports=X},"/SeX":function(e,t,n){var i=n("knOB"),o=n("qZFw"),a=function(e){this.name=e||"",this.cx=0,this.cy=0,this._radiusAxis=new i,this._angleAxis=new o,this._radiusAxis.polar=this._angleAxis.polar=this};a.prototype={type:"polar",axisPointerEnabled:!0,constructor:a,dimensions:["radius","angle"],model:null,containPoint:function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},containData:function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},getAxis:function(e){return this["_"+e+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(e){var t=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===e&&t.push(n),i.scale.type===e&&t.push(i),t},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},dataToPoint:function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},pointToData:function(e,t){var n=this.pointToCoord(e);return[this._radiusAxis.radiusToData(n[0],t),this._angleAxis.angleToData(n[1],t)]},pointToCoord:function(e){var t=e[0]-this.cx,n=e[1]-this.cy,i=this.getAngleAxis(),o=i.getExtent(),a=Math.min(o[0],o[1]),r=Math.max(o[0],o[1]);i.inverse?a=r-360:r=a+360;var s=Math.sqrt(t*t+n*n);t/=s,n/=s;for(var l=Math.atan2(-n,t)/Math.PI*180,u=l<a?1:-1;l<a||l>r;)l+=360*u;return[s,l]},coordToPoint:function(e){var t=e[0],n=e[1]/180*Math.PI;return[Math.cos(n)*t+this.cx,-Math.sin(n)*t+this.cy]},getArea:function(){var e=this.getAngleAxis(),t=this.getRadiusAxis().getExtent().slice();t[0]>t[1]&&t.reverse();var n=e.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:t[0],r:t[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,i=t-this.cy,o=n*n+i*i,a=this.r,r=this.r0;return o<=a*a&&o>=r*r}}}};var r=a;e.exports=r},"/d5a":function(e,t){var n={average:function(e){for(var t=0,n=0,i=0;i<e.length;i++)isNaN(e[i])||(t+=e[i],n++);return 0===n?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},nearest:function(e){return e[0]}},i=function(e,t){return Math.round(e.length/2)};e.exports=function(e){return{seriesType:e,modifyOutputEnd:!0,reset:function(e,t,o){var a=e.getData(),r=e.get("sampling"),s=e.coordinateSystem;if("cartesian2d"===s.type&&r){var l,u=s.getBaseAxis(),c=s.getOtherAxis(u),d=u.getExtent(),h=Math.abs(d[1]-d[0]),p=Math.round(a.count()/h);if(p>1)"string"==typeof r?l=n[r]:"function"==typeof r&&(l=r),l&&e.setData(a.downSample(a.mapDimension(c.dim),1/p,l,i))}}}}},"/ry/":function(e,t,n){var i=n("bYtY"),o=n("T4UG"),a=n("5GhG").seriesModelMixin,r=o.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});i.mixin(r,a,!0);var s=r;e.exports=s},"/stD":function(e,t,n){var i=n("bYtY"),o=n("IUWy"),a=n("Kagy").toolbox.brush;function r(e,t,n){this.model=e,this.ecModel=t,this.api=n,this._brushType,this._brushMode}r.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:i.clone(a.title)};var s=r.prototype;s.render=s.updateView=function(e,t,n){var o,a,r;t.eachComponent({mainType:"brush"},(function(e){o=e.brushType,a=e.brushOption.brushMode||"single",r|=e.areas.length})),this._brushType=o,this._brushMode=a,i.each(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===a:"clear"===t?r:t===o)?"emphasis":"normal")}))},s.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return i.each(e.get("type",!0),(function(e){t[e]&&(n[e]=t[e])})),n},s.onclick=function(e,t,n){var i=this._brushType,o=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===o?"single":"multiple":o}})},o.register("brush",r);var l=r;e.exports=l},"01d+":function(e,t,n){var i=n("bYtY").each,o=n("HF/U"),a=o.simpleLayout,r=o.simpleLayoutEdge;e.exports=function(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),n=e.coordinateSystem;if(n&&"view"!==n.type){var o=e.getData(),s=[];i(n.dimensions,(function(e){s=s.concat(o.mapDimension(e,!0))}));for(var l=0;l<o.count();l++){for(var u=[],c=!1,d=0;d<s.length;d++){var h=o.get(s[d],l);isNaN(h)||(c=!0),u.push(h)}c?o.setItemLayout(l,n.dataToPoint(u)):o.setItemLayout(l,[NaN,NaN])}r(o.graph,e)}else t&&"none"!==t||a(e)}))}},"06DH":function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("Kagy"),r=n("IUWy"),s=a.toolbox.magicType;function l(e){this.model=e}l.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:o.clone(s.title),option:{},seriesIndex:{}};var u=l.prototype;u.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return o.each(e.get("type"),(function(e){t[e]&&(n[e]=t[e])})),n};var c={line:function(e,t,n,i){if("bar"===e)return o.merge({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.line")||{},!0)},bar:function(e,t,n,i){if("line"===e)return o.merge({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.bar")||{},!0)},stack:function(e,t,n,i){var a="__ec_magicType_stack__"===n.get("stack");if("line"===e||"bar"===e)return i.setIconStatus("stack",a?"normal":"emphasis"),o.merge({id:t,stack:a?"":"__ec_magicType_stack__"},i.get("option.stack")||{},!0)}},d=[["line","bar"],["stack"]];u.onclick=function(e,t,n){var i=this.model,a=i.get("seriesIndex."+n);if(c[n]){var r,l={series:[]};if(o.each(d,(function(e){o.indexOf(e,n)>=0&&o.each(e,(function(e){i.setIconStatus(e,"normal")}))})),i.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==a?null:{seriesIndex:a}},(function(t){var a=t.subType,r=t.id,s=c[n](a,r,t,i);s&&(o.defaults(s,t.option),l.series.push(s));var u=t.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===n||"bar"===n)){var d=u.getAxesByScale("ordinal")[0];if(d){var h=d.dim+"Axis",p=e.queryComponents({mainType:h,index:t.get(name+"Index"),id:t.get(name+"Id")})[0].componentIndex;l[h]=l[h]||[];for(var g=0;g<=p;g++)l[h][p]=l[h][p]||{};l[h][p].boundaryGap="bar"===n}}})),"stack"===n)r=l.series&&l.series[0]&&"__ec_magicType_stack__"===l.series[0].stack?o.merge({stack:s.title.tiled},s.title):o.clone(s.title);t.dispatchAction({type:"changeMagicType",currentType:n,newOption:l,newTitle:r,featureName:"magicType"})}},i.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)})),r.register("magicType",l);var h=l;e.exports=h},"06Qe":function(e,t,n){var i,o=n("ItGF"),a="urn:schemas-microsoft-com:vml",r="undefined"==typeof window?null:window,s=!1,l=r&&r.document;if(l&&!o.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",a),i=function(e){return l.createElement("<zrvml:"+e+' class="zrvml">')}}catch(e){i=function(e){return l.createElement("<"+e+' xmlns="'+a+'" class="zrvml">')}}t.doc=l,t.createNode=function(e){return i(e)},t.initVML=function(){if(!s&&l){s=!0;var e=l.styleSheets;e.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):e[0].addRule(".zrvml","behavior:url(#default#VML)")}}},"0Bwj":function(e,t,n){var i=n("T4UG"),o=n("I3/A"),a=n("7aKB").encodeHTML,r=n("Qxkt"),s=(n("Tghj").__DEV__,i.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(e,t){for(var n=e.edges||e.links,i=e.data||e.nodes,a=e.levels,s=this.levelModels={},l=0;l<a.length;l++)null!=a[l].depth&&a[l].depth>=0&&(s[a[l].depth]=new r(a[l],this,t));if(i&&n)return o(i,n,this,!0,(function(e,t){e.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var n=this.parentModel,i=n.getData().getItemLayout(t).depth;return n.levelModels[i]||this.parentModel})),e})),t.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var n=this.parentModel,i=n.getGraph().getEdgeByIndex(t).node1.getLayout().depth;return n.levelModels[i]||this.parentModel})),e}))})).data},setNodePosition:function(e,t){var n=this.option.data[e];n.localX=t[0],n.localY=t[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(e,t,n){if("edge"===n){var i=this.getDataParams(e,n),o=i.data,r=o.source+" -- "+o.target;return i.value&&(r+=" : "+i.value),a(r)}if("node"===n){var l=this.getGraph().getNodeByIndex(e).getLayout().value,u=this.getDataParams(e,n).data.name;if(l)r=u+" : "+l;return a(r)}return s.superCall(this,"formatTooltip",e,t)},optionUpdated:function(){var e=this.option;!0===e.focusNodeAdjacency&&(e.focusNodeAdjacency="allEdges")},getDataParams:function(e,t){var n=s.superCall(this,"getDataParams",e,t);if(null==n.value&&"node"===t){var i=this.getGraph().getNodeByIndex(e).getLayout().value;n.value=i}return n},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}})),l=s;e.exports=l},"0HBW":function(e,t,n){var i=n("ProS"),o=n("bYtY");function a(e,t){t.update="updateView",i.registerAction(t,(function(t,n){var i={};return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name);var a=n.coordinateSystem;o.each(a.regions,(function(e){i[e.name]=n.isSelected(e.name)||!1}))})),{selected:i,name:t.name}}))}n("Hxpc"),n("7uqq"),n("dmGj"),n("SehX"),a("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),a("select",{type:"geoSelect",event:"geoselected"}),a("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(e,t,n){var i=n("bYtY"),o=n("+TT/"),a=n("OELB"),r=n("IDmD");function s(e,t,n){this._model=e}function l(e,t,n,i){var o=n.calendarModel,a=n.seriesModel,r=o?o.coordinateSystem:a?a.coordinateSystem:null;return r===this?r[e](i):null}s.prototype={constructor:s,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(e){var t=(e=a.parseDate(e)).getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var i=e.getDate();i=i<10?"0"+i:i;var o=e.getDay();return{y:t,m:n,d:i,day:o=Math.abs((o+7-this.getFirstDayOfWeek())%7),time:e.getTime(),formatedDate:t+"-"+n+"-"+i,date:e}},getNextNDay:function(e,t){return 0===(t=t||0)||(e=new Date(this.getDateInfo(e).time)).setDate(e.getDate()+t),this.getDateInfo(e)},update:function(e,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,a=["width","height"],r=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[n,7]:[7,n];i.each([0,1],(function(e){d(r,e)&&(s[a[e]]=r[e]*l[e])}));var u={width:t.getWidth(),height:t.getHeight()},c=this._rect=o.getLayoutRect(s,u);function d(e,t){return null!=e[t]&&"auto"!==e[t]}i.each([0,1],(function(e){d(r,e)||(r[e]=c[a[e]]/l[e])})),this._sw=r[0],this._sh=r[1]},dataToPoint:function(e,t){i.isArray(e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),o=this._rangeInfo,a=n.formatedDate;if(t&&!(n.time>=o.start.time&&n.time<o.end.time+864e5))return[NaN,NaN];var r=n.day,s=this._getRangeInfo([o.start.time,a]).nthWeek;return"vertical"===this._orient?[this._rect.x+r*this._sw+this._sw/2,this._rect.y+s*this._sh+this._sh/2]:[this._rect.x+s*this._sw+this._sw/2,this._rect.y+r*this._sh+this._sh/2]},pointToData:function(e){var t=this.pointToDate(e);return t&&t.time},dataToRect:function(e,t){var n=this.dataToPoint(e,t);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},pointToDate:function(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,n=Math.floor((e[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,t-1,i):this._getDateByWeeksAndDay(t,n-1,i)},convertToPixel:i.curry(l,"dataToPoint"),convertFromPixel:i.curry(l,"pointToData"),_initRangeOption:function(){var e=this._model.get("range"),t=e;if(i.isArray(t)&&1===t.length&&(t=t[0]),/^\d{4}$/.test(t)&&(e=[t+"-01-01",t+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(t)){var n=this.getDateInfo(t),o=n.date;o.setMonth(o.getMonth()+1);var a=this.getNextNDay(o,-1);e=[n.formatedDate,a.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(t)&&(e=[t,t]);var r=this._getRangeInfo(e);return r.start.time>r.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t;(e=[this.getDateInfo(e[0]),this.getDateInfo(e[1])])[0].time>e[1].time&&(t=!0,e.reverse());var n=Math.floor(e[1].time/864e5)-Math.floor(e[0].time/864e5)+1,i=new Date(e[0].time),o=i.getDate(),a=e[1].date.getDate();i.setDate(o+n-1);var r=i.getDate();if(r!==a)for(var s=i.getTime()-e[1].time>0?1:-1;(r=i.getDate())!==a&&(i.getTime()-e[1].time)*s>0;)n-=s,i.setDate(r-s);var l=Math.floor((n+e[0].day+6)/7),u=t?1-l:l-1;return t&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:n,weeks:l,nthWeek:u,fweek:e[0].day,lweek:e[1].day}},_getDateByWeeksAndDay:function(e,t,n){var i=this._getRangeInfo(n);if(e>i.weeks||0===e&&t<i.fweek||e===i.weeks&&t>i.lweek)return!1;var o=7*(e-1)-i.fweek+t,a=new Date(i.start.time);return a.setDate(i.start.d+o),this.getDateInfo(a)}},s.dimensions=s.prototype.dimensions,s.getDimensionsInfo=s.prototype.getDimensionsInfo,s.create=function(e,t){var n=[];return e.eachComponent("calendar",(function(i){var o=new s(i,e,t);n.push(o),i.coordinateSystem=o})),e.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("calendarIndex")||0])})),n},r.register("calendar",s);var u=s;e.exports=u},"0qV/":function(e,t,n){var i=n("ProS");i.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),i.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},"10cm":function(e,t,n){var i=n("ProS"),o=n("2B6p").updateCenterAndZoom;n("0qV/");i.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},(function(e,t){t.eachComponent({mainType:"series",query:e},(function(t){var n=t.coordinateSystem,i=o(n,e);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)}))}))},"1NG9":function(e,t,n){var i=n("y+Vt"),o=n("QBsz"),a=n("iXp4"),r=o.min,s=o.max,l=o.scaleAndAdd,u=o.copy,c=[],d=[],h=[];function p(e){return isNaN(e[0])||isNaN(e[1])}function g(e,t,n,i,o,a,r,s,l,u,c){return"none"!==u&&u?f.apply(this,arguments):m.apply(this,arguments)}function f(e,t,n,i,o,a,r,s,l,c,g){for(var f=0,m=n,v=0;v<i;v++){var y=t[m];if(m>=o||m<0)break;if(p(y)){if(g){m+=a;continue}break}if(m===n)e[a>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=t[f],_="y"===c?1:0,b=(y[_]-x[_])*l;u(d,x),d[_]=x[_]+b,u(h,y),h[_]=y[_]-b,e.bezierCurveTo(d[0],d[1],h[0],h[1],y[0],y[1])}else e.lineTo(y[0],y[1]);f=m,m+=a}return v}function m(e,t,n,i,a,g,f,m,v,y,x){for(var _=0,b=n,S=0;S<i;S++){var w=t[b];if(b>=a||b<0)break;if(p(w)){if(x){b+=g;continue}break}if(b===n)e[g>0?"moveTo":"lineTo"](w[0],w[1]),u(d,w);else if(v>0){var M=b+g,I=t[M];if(x)for(;I&&p(t[M]);)I=t[M+=g];var A=.5,T=t[_];if(!(I=t[M])||p(I))u(h,w);else{var D,C;if(p(I)&&!x&&(I=w),o.sub(c,I,T),"x"===y||"y"===y){var L="x"===y?0:1;D=Math.abs(w[L]-T[L]),C=Math.abs(w[L]-I[L])}else D=o.dist(w,T),C=o.dist(w,I);l(h,w,c,-v*(1-(A=C/(C+D))))}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,v*A)}else e.lineTo(w[0],w[1]);_=b,b+=g}return S}function v(e,t){var n=[1/0,1/0],i=[-1/0,-1/0];if(t)for(var o=0;o<e.length;o++){var a=e[o];a[0]<n[0]&&(n[0]=a[0]),a[1]<n[1]&&(n[1]=a[1]),a[0]>i[0]&&(i[0]=a[0]),a[1]>i[1]&&(i[1]=a[1])}return{min:t?n:i,max:t?i:n}}var y=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:a(i.prototype.brush),buildPath:function(e,t){var n=t.points,i=0,o=n.length,a=v(n,t.smoothConstraint);if(t.connectNulls){for(;o>0&&p(n[o-1]);o--);for(;i<o&&p(n[i]);i++);}for(;i<o;)i+=g(e,n,i,o,o,1,a.min,a.max,t.smooth,t.smoothMonotone,t.connectNulls)+1}}),x=i.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:a(i.prototype.brush),buildPath:function(e,t){var n=t.points,i=t.stackedOnPoints,o=0,a=n.length,r=t.smoothMonotone,s=v(n,t.smoothConstraint),l=v(i,t.smoothConstraint);if(t.connectNulls){for(;a>0&&p(n[a-1]);a--);for(;o<a&&p(n[o]);o++);}for(;o<a;){var u=g(e,n,o,a,a,1,s.min,s.max,t.smooth,r,t.connectNulls);g(e,i,o+u-1,u,a,-1,l.min,l.max,t.stackedOnSmooth,r,t.connectNulls),o+=u+1,e.closePath()}}});t.Polyline=y,t.Polygon=x},"1tlw":function(e,t,n){var i=n("MBQ8").extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(e){return e.stack=null,i.superApply(this,"getInitialData",arguments)}}),o=i;e.exports=o},"1u/T":function(e,t,n){n("ProS").registerAction({type:"selectDataRange",event:"dataRangeSelected",update:"update"},(function(e,t){t.eachComponent({mainType:"visualMap",query:e},(function(t){t.setSelected(e.selected)}))}))},"1xaR":function(e,t,n){var i=n("ProS"),o=n("bYtY");n("qgGe"),n("NA0q"),n("RPvy");var a=n("mOdp"),r=n("y3NT"),s=n("0/Rx");i.registerVisual(o.curry(a,"sunburst")),i.registerLayout(o.curry(r,"sunburst")),i.registerProcessor(o.curry(s,"sunburst"))},2548:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("6GrX"),r=n("IUWy"),s=n("IwbS"),l=n("Qxkt"),u=n("gPAo"),c=n("eRkO"),d=i.extendComponentView({type:"toolbox",render:function(e,t,n,i){var d=this.group;if(d.removeAll(),e.get("show")){var h=+e.get("itemSize"),p=e.get("feature")||{},g=this._features||(this._features={}),f=[];o.each(p,(function(e,t){f.push(t)})),new u(this._featureNames||[],f).add(m).update(m).remove(o.curry(m,null)).execute(),this._featureNames=f,c.layout(d,e,n),d.add(c.makeBackground(d.getBoundingRect(),e)),d.eachChild((function(e){var t=e.__title,i=e.hoverStyle;if(i&&t){var o=a.getBoundingRect(t,a.makeFont(i)),r=e.position[0]+d.position[0],s=!1;e.position[1]+d.position[1]+h+o.height>n.getHeight()&&(i.textPosition="top",s=!0);var l=s?-5-o.height:h+8;r+o.width/2>n.getWidth()?(i.textPosition=["100%",l],i.textAlign="right"):r-o.width/2<0&&(i.textPosition=[0,l],i.textAlign="left")}}))}function m(a,u){var c,m=f[a],v=f[u],y=p[m],x=new l(y,e,e.ecModel);if(i&&null!=i.newTitle&&i.featureName===m&&(y.title=i.newTitle),m&&!v){if(function(e){return 0===e.indexOf("my")}(m))c={model:x,onclick:x.option.onclick,featureName:m};else{var _=r.get(m);if(!_)return;c=new _(x,t,n)}g[m]=c}else{if(!(c=g[v]))return;c.model=x,c.ecModel=t,c.api=n}m||!v?x.get("show")&&!c.unusable?(!function(i,a,r){var l=i.getModel("iconStyle"),u=i.getModel("emphasis.iconStyle"),c=a.getIcons?a.getIcons():i.get("icon"),p=i.get("title")||{};if("string"==typeof c){var g=c,f=p;p={},(c={})[r]=g,p[r]=f}var m=i.iconPaths={};o.each(c,(function(r,c){var g=s.createIcon(r,{},{x:-h/2,y:-h/2,width:h,height:h});g.setStyle(l.getItemStyle()),g.hoverStyle=u.getItemStyle(),g.setStyle({text:p[c],textAlign:u.get("textAlign"),textBorderRadius:u.get("textBorderRadius"),textPadding:u.get("textPadding"),textFill:null});var f=e.getModel("tooltip");f&&f.get("show")&&g.attr("tooltip",o.extend({content:p[c],formatter:f.get("formatter",!0)||function(){return p[c]},formatterParams:{componentType:"toolbox",name:c,title:p[c],$vars:["name","title"]},position:f.get("position",!0)||"bottom"},f.option)),s.setHoverStyle(g),e.get("showTitle")&&(g.__title=p[c],g.on("mouseover",(function(){var t=u.getItemStyle(),n="vertical"===e.get("orient")?null==e.get("right")?"right":"left":null==e.get("bottom")?"bottom":"top";g.setStyle({textFill:u.get("textFill")||t.fill||t.stroke||"#000",textBackgroundColor:u.get("textBackgroundColor"),textPosition:u.get("textPosition")||n})})).on("mouseout",(function(){g.setStyle({textFill:null,textBackgroundColor:null})}))),g.trigger(i.get("iconStatus."+c)||"normal"),d.add(g),g.on("click",o.bind(a.onclick,a,t,n,c)),m[c]=g}))}(x,c,m),x.setIconStatus=function(e,t){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,i[e]&&i[e].trigger(t)},c.render&&c.render(x,t,n,i)):c.remove&&c.remove(t,n):c.dispose&&c.dispose(t,n)}},updateView:function(e,t,n,i){o.each(this._features,(function(e){e.updateView&&e.updateView(e.model,t,n,i)}))},remove:function(e,t){o.each(this._features,(function(n){n.remove&&n.remove(e,t)})),this.group.removeAll()},dispose:function(e,t){o.each(this._features,(function(n){n.dispose&&n.dispose(e,t)}))}});e.exports=d},"2B6p":function(e,t){t.updateCenterAndZoom=function(e,t,n){var i=e.getZoom(),o=e.getCenter(),a=t.zoom,r=e.dataToPoint(o);if(null!=t.dx&&null!=t.dy){r[0]-=t.dx,r[1]-=t.dy;o=e.pointToData(r);e.setCenter(o)}if(null!=a){if(n){var s=n.min||0,l=n.max||1/0;a=Math.max(Math.min(i*a,l),s)/i}e.scale[0]*=a,e.scale[1]*=a;var u=e.position,c=(t.originX-u[0])*(a-1),d=(t.originY-u[1])*(a-1);u[0]-=c,u[1]-=d,e.updateTransform();o=e.pointToData(r);e.setCenter(o),e.setZoom(a*i)}return{center:e.getCenter(),zoom:e.getZoom()}}},"2dDv":function(e,t,n){var i=n("bYtY"),o=n("Fofx"),a=n("+TT/"),r=n("aX7z"),s=n("D1WM"),l=n("IwbS"),u=n("OELB"),c=n("72pK"),d=i.each,h=Math.min,p=Math.max,g=Math.floor,f=Math.ceil,m=u.round,v=Math.PI;function y(e,t,n){this._axesMap=i.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._rect,this._model=e,this._init(e,t,n)}function x(e,t){return h(p(e,t[0]),t[1])}function _(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function b(e,t){var n,i,o=t.layoutLength,a=t.axisExpandWidth,r=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e<l[0]?(n=e*s,i=s):e<=l[1]?(n=t.axisExpandWindow0Pos+e*a-t.axisExpandWindow[0],u=a,c=!0):(n=o-(r-1-e)*s,i=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:i}}y.prototype={type:"parallel",constructor:y,_init:function(e,t,n){var i=e.dimensions,o=e.parallelAxisIndex;d(i,(function(e,n){var i=o[n],a=t.getComponent("parallelAxis",i),l=this._axesMap.set(e,new s(e,r.createScaleByModel(a),[0,0],a.get("type"),i)),u="category"===l.type;l.onBand=u&&a.get("boundaryGap"),l.inverse=a.get("inverse"),a.axis=l,l.model=a,l.coordinateSystem=a.coordinateSystem=this}),this)},update:function(e,t){this._updateAxesFromSeries(this._model,e)},containPoint:function(e){var t=this._makeLayoutInfo(),n=t.axisBase,i=t.layoutBase,o=t.pixelDimIndex,a=e[1-o],r=e[o];return a>=n&&a<=n+t.axisLength&&r>=i&&r<=i+t.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(e,t){t.eachSeries((function(n){if(e.contains(n,t)){var i=n.getData();d(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(i,i.mapDimension(e)),r.niceScaleExtent(t.scale,t.model)}),this)}}),this)},resize:function(e,t){this._rect=a.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var e,t=this._model,n=this._rect,i=["x","y"],o=["width","height"],a=t.get("layout"),r="horizontal"===a?0:1,s=n[o[r]],l=[0,s],u=this.dimensions.length,c=x(t.get("axisExpandWidth"),l),d=x(t.get("axisExpandCount")||0,[0,u]),h=t.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&s>0,p=t.get("axisExpandWindow");p?(e=x(p[1]-p[0],l),p[1]=p[0]+e):(e=x(c*(d-1),l),(p=[c*(t.get("axisExpandCenter")||g(u/2))-e/2])[1]=p[0]+e);var v=(s-e)/(u-d);v<3&&(v=0);var y=[g(m(p[0]/c,1))+1,f(m(p[1]/c,1))-1],_=v/c*p[0];return{layout:a,pixelDimIndex:r,layoutBase:n[i[r]],layoutLength:s,axisBase:n[i[1-r]],axisLength:n[o[1-r]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:v,axisExpandWindow:p,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:_}},_layoutAxes:function(){var e=this._rect,t=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),a=i.layout;t.each((function(e){var t=[0,i.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])})),d(n,(function(t,n){var r=(i.axisExpandable?b:_)(n,i),s={horizontal:{x:r.position,y:i.axisLength},vertical:{x:0,y:r.position}},l={horizontal:v/2,vertical:0},u=[s[a].x+e.x,s[a].y+e.y],c=l[a],d=o.create();o.rotate(d,d,c),o.translate(d,d,u),this._axesLayout[t]={position:u,rotation:c,transform:d,axisNameAvailableWidth:r.axisNameAvailableWidth,axisLabelShow:r.axisLabelShow,nameTruncateMaxWidth:r.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(e){return this._axesMap.get(e)},dataToPoint:function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},eachActiveState:function(e,t,n,o){null==n&&(n=0),null==o&&(o=e.count());var a=this._axesMap,r=this.dimensions,s=[],l=[];i.each(r,(function(t){s.push(e.mapDimension(t)),l.push(a.get(t).model)}));for(var u=this.hasAxisBrushed(),c=n;c<o;c++){var d;if(u){d="active";for(var h=e.getValues(s,c),p=0,g=r.length;p<g;p++){if("inactive"===l[p].getActiveState(h[p])){d="inactive";break}}}else d="normal";t(d,c)}},hasAxisBrushed:function(){for(var e=this.dimensions,t=this._axesMap,n=!1,i=0,o=e.length;i<o;i++)"normal"!==t.get(e[i]).model.getActiveState()&&(n=!0);return n},axisCoordToPoint:function(e,t){var n=this._axesLayout[t];return l.applyTransform([e,0],n.transform)},getAxisLayout:function(e){return i.clone(this._axesLayout[e])},getSlidedAxisExpandWindow:function(e){var t=this._makeLayoutInfo(),n=t.pixelDimIndex,i=t.axisExpandWindow.slice(),o=i[1]-i[0],a=[0,t.axisExpandWidth*(t.axisCount-1)];if(!this.containPoint(e))return{behavior:"none",axisExpandWindow:i};var r,s=e[n]-t.layoutBase-t.axisExpandWindow0Pos,l="slide",u=t.axisCollapseWidth,d=this._model.get("axisExpandSlideTriggerArea"),g=null!=d[0];if(u)g&&u&&s<o*d[0]?(l="jump",r=s-o*d[2]):g&&u&&s>o*(1-d[0])?(l="jump",r=s-o*(1-d[2])):(r=s-o*d[1])>=0&&(r=s-o*(1-d[1]))<=0&&(r=0),(r*=t.axisExpandWidth/u)?c(r,i,a,"all"):l="none";else{o=i[1]-i[0];(i=[p(0,a[1]*s/o-o/2)])[1]=h(a[1],i[0]+o),i[0]=i[1]-o}return{axisExpandWindow:i,behavior:l}}};var S=y;e.exports=S},"2fGM":function(e,t,n){var i=n("bYtY"),o=n("bLfw"),a=n("nkfE"),r=n("ICMv"),s=o.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});i.merge(s.prototype,r);var l={splitNumber:5};function u(e,t){return t.type||(t.data?"category":"value")}a("angle",s,u,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),a("radius",s,u,l)},"2uGb":function(e,t,n){var i=n("ProS");n("ko1b"),n("s2lz"),n("RBEP");var o=n("kMLO"),a=n("nKiI");i.registerVisual(o),i.registerLayout(a)},"33Ds":function(e,t,n){var i=n("ProS"),o=n("b9oc"),a=n("Kagy"),r=n("IUWy"),s=a.toolbox.restore;function l(e){this.model=e}l.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:s.title},l.prototype.onclick=function(e,t,n){o.clear(e),t.dispatchAction({type:"restore",from:this.uid})},r.register("restore",l),i.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));var u=l;e.exports=u},"3CBa":function(e,t,n){var i=n("hydK").createElement,o=n("bYtY"),a=n("SUKs"),r=n("y+Vt"),s=n("Dagg"),l=n("dqUG"),u=n("DBLp"),c=n("sW+o"),d=n("n6Mw"),h=n("vKoX"),p=n("P47w"),g=p.path,f=p.image,m=p.text;function v(e){return parseInt(e,10)}function y(e,t){return t&&e&&t.parentNode!==e}function x(e,t,n){if(y(e,t)&&n){var i=n.nextSibling;i?e.insertBefore(t,i):e.appendChild(t)}}function _(e,t){if(y(e,t)){var n=e.firstChild;n?e.insertBefore(t,n):e.appendChild(t)}}function b(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)}function S(e){return e.__textSvgEl}function w(e){return e.__svgEl}var M=function(e,t,n,a){this.root=e,this.storage=t,this._opts=n=o.extend({},n||{});var r=i("svg");r.setAttribute("xmlns","http://www.w3.org/2000/svg"),r.setAttribute("version","1.1"),r.setAttribute("baseProfile","full"),r.style.cssText="user-select:none;position:absolute;left:0;top:0;";var s=i("g");r.appendChild(s);var l=i("g");r.appendChild(l),this.gradientManager=new c(a,l),this.clipPathManager=new d(a,l),this.shadowManager=new h(a,l);var u=document.createElement("div");u.style.cssText="overflow:hidden;position:relative",this._svgDom=r,this._svgRoot=l,this._backgroundRoot=s,this._viewport=u,e.appendChild(u),u.appendChild(r),this.resize(n.width,n.height),this._visibleList=[]};M.prototype={constructor:M,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0);this._paintList(e)},setBackgroundColor:function(e){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var t=i("rect");t.setAttribute("width",this.getWidth()),t.setAttribute("height",this.getHeight()),t.setAttribute("x",0),t.setAttribute("y",0),t.setAttribute("id",0),t.style.fill=e,this._backgroundRoot.appendChild(t),this._backgroundNode=t},_paintList:function(e){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var t,n,i=this._svgRoot,o=this._visibleList,a=e.length,c=[];for(t=0;t<a;t++){var d=e[t],h=(n=d)instanceof r?g:n instanceof s?f:n instanceof l?m:g,p=w(d)||S(d);d.invisible||(d.__dirty&&(h&&h.brush(d),this.clipPathManager.update(d),d.style&&(this.gradientManager.update(d.style.fill),this.gradientManager.update(d.style.stroke),this.shadowManager.update(p,d)),d.__dirty=!1),c.push(d))}var v,y=u(o,c);for(t=0;t<y.length;t++){if((A=y[t]).removed)for(var M=0;M<A.count;M++){p=w(d=o[A.indices[M]]);var I=S(d);b(i,p),b(i,I)}}for(t=0;t<y.length;t++){var A;if((A=y[t]).added)for(M=0;M<A.count;M++){p=w(d=c[A.indices[M]]),I=S(d);v?x(i,p,v):_(i,p),p?x(i,I,p):v?x(i,I,v):_(i,I),x(i,I,p),v=I||p||v,this.gradientManager.addWithoutUpdate(p||I,d),this.shadowManager.addWithoutUpdate(p||I,d),this.clipPathManager.markUsed(d)}else if(!A.removed)for(M=0;M<A.count;M++){p=w(d=c[A.indices[M]]),I=S(d),p=w(d),I=S(d);this.gradientManager.markUsed(d),this.gradientManager.addWithoutUpdate(p||I,d),this.shadowManager.markUsed(d),this.shadowManager.addWithoutUpdate(p||I,d),this.clipPathManager.markUsed(d),I&&x(i,I,p),v=p||I||v}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=c},_getDefs:function(e){var t,n=this._svgDom;return 0===(t=n.getElementsByTagName("defs")).length?e?((t=n.insertBefore(i("defs"),n.firstChild)).contains||(t.contains=function(e){var n=t.children;if(!n)return!1;for(var i=n.length-1;i>=0;--i)if(n[i]===e)return!0;return!1}),t):null:t[0]},resize:function(e,t){var n=this._viewport;n.style.display="none";var i=this._opts;if(null!=e&&(i.width=e),null!=t&&(i.height=t),e=this._getSize(0),t=this._getSize(1),n.style.display="",this._width!==e||this._height!==t){this._width=e,this._height=t;var o=n.style;o.width=e+"px",o.height=t+"px";var a=this._svgDom;a.setAttribute("width",e),a.setAttribute("height",t)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",e),this._backgroundNode.setAttribute("height",t))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(e){var t=this._opts,n=["width","height"][e],i=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=t[n]&&"auto"!==t[n])return parseFloat(t[n]);var r=this.root,s=document.defaultView.getComputedStyle(r);return(r[i]||v(s[n])||v(r.style[n]))-(v(s[o])||0)-(v(s[a])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(this._svgDom.outerHTML.replace(/></g,">\n\r<"))}},o.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(e){var t;M.prototype[e]=(t=e,function(){a('In SVG mode painter not support method "'+t+'"')})}));var I=M;e.exports=I},"3OrL":function(e,t,n){var i=n("bYtY"),o=n("6Ic6"),a=n("IwbS"),r=n("y+Vt"),s=["itemStyle"],l=["emphasis","itemStyle"],u=o.extend({type:"boxplot",render:function(e,t,n){var i=e.getData(),o=this.group,a=this._data;this._data||o.removeAll();var r="horizontal"===e.get("layout")?1:0;i.diff(a).add((function(e){if(i.hasValue(e)){var t=d(i.getItemLayout(e),i,e,r,!0);i.setItemGraphicEl(e,t),o.add(t)}})).update((function(e,t){var n=a.getItemGraphicEl(t);if(i.hasValue(e)){var s=i.getItemLayout(e);n?h(s,n,i,e):n=d(s,i,e,r),o.add(n),i.setItemGraphicEl(e,n)}else o.remove(n)})).remove((function(e){var t=a.getItemGraphicEl(e);t&&o.remove(t)})).execute(),this._data=i},remove:function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(e){e&&t.remove(e)}))},dispose:i.noop}),c=r.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,t){var n=t.points,i=0;for(e.moveTo(n[i][0],n[i][1]),i++;i<4;i++)e.lineTo(n[i][0],n[i][1]);for(e.closePath();i<n.length;i++)e.moveTo(n[i][0],n[i][1]),i++,e.lineTo(n[i][0],n[i][1])}});function d(e,t,n,i,o){var a=e.ends,r=new c({shape:{points:o?p(a,i,e):a}});return h(e,r,t,n,o),r}function h(e,t,n,i,o){var r=n.hostModel;(0,a[o?"initProps":"updateProps"])(t,{shape:{points:e.ends}},r,i);var u=n.getItemModel(i),c=u.getModel(s),d=n.getItemVisual(i,"color"),h=c.getItemStyle(["borderColor"]);h.stroke=d,h.strokeNoScale=!0,t.useStyle(h),t.z2=100;var p=u.getModel(l).getItemStyle();a.setHoverStyle(t,p)}function p(e,t,n){return i.map(e,(function(e){return(e=e.slice())[t]=n.initBaseline,e}))}var g=u;e.exports=g},"3TkU":function(e,t,n){n("aTJb"),n("OlYY"),n("fc+c"),n("QUw5"),n("Swgg"),n("LBfv"),n("noeP")},"3X6L":function(e,t,n){var i=n("bYtY"),o=n("7a+S"),a=n("OKJ2"),r=o.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});i.mixin(r,a);var s=r;e.exports=s},"3m61":function(e,t){function n(e){return e instanceof Array||(e=[e,e]),e}e.exports=function(e){e.eachSeriesByType("graph",(function(e){var t=e.getGraph(),i=e.getEdgeData(),o=n(e.get("edgeSymbol")),a=n(e.get("edgeSymbolSize")),r="lineStyle.color".split("."),s="lineStyle.opacity".split(".");i.setVisual("fromSymbol",o&&o[0]),i.setVisual("toSymbol",o&&o[1]),i.setVisual("fromSymbolSize",a&&a[0]),i.setVisual("toSymbolSize",a&&a[1]),i.setVisual("color",e.get(r)),i.setVisual("opacity",e.get(s)),i.each((function(e){var o=i.getItemModel(e),a=t.getEdgeByIndex(e),l=n(o.getShallow("symbol",!0)),u=n(o.getShallow("symbolSize",!0)),c=o.get(r),d=o.get(s);switch(c){case"source":c=a.node1.getVisual("color");break;case"target":c=a.node2.getVisual("color")}l[0]&&a.setVisual("fromSymbol",l[0]),l[1]&&a.setVisual("toSymbol",l[1]),u[0]&&a.setVisual("fromSymbolSize",u[0]),u[1]&&a.setVisual("toSymbolSize",u[1]),a.setVisual("color",c),a.setVisual("opacity",d)}))}))}},"3zoK":function(e,t,n){var i=n("bYtY"),o=n("bLfw"),a=n("KCsZ"),r=n("nkfE"),s=n("OELB"),l=n("ICMv"),u=o.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return a([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(e){var t=this.activeIntervals=i.clone(e);if(t)for(var n=t.length-1;n>=0;n--)s.asc(t[n])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var i=0,o=t.length;i<o;i++)if(t[i][0]<=e&&e<=t[i][1])return"active";return"inactive"}});i.merge(u.prototype,l),r("parallel",u,(function(e,t){return t.type||(t.data?"category":"value")}),{type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10});var c=u;e.exports=c},"4Feb":function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=n("IwbS"),a=n("x3X8").getDefaultLabel,r=n("MwEJ"),s=n("nVfU").getLayoutOnAxis,l=n("gPAo"),u=n("T4UG"),c=n("Qxkt"),d=n("6Ic6"),h=n("sK/D").createClipPath,p=n("qj72"),g=n("ANjR"),f=n("MHtr"),m=n("6usn"),v=n("Rx6q"),y=o.CACHED_LABEL_STYLE_PROPERTIES,x=["itemStyle"],_=["emphasis","itemStyle"],b=["label"],S=["emphasis","label"],w={cartesian2d:p,geo:g,singleAxis:f,polar:m,calendar:v};function M(e,t,n,i,o){null==n[e]||o||(t[e]=n[e],n[e]=i[e])}function I(e,t,n,r){var l=e.get("renderItem"),u=e.coordinateSystem,c={};u&&(c=u.prepareCustoms?u.prepareCustoms():w[u.type](u));var d,h,p,g,f,m=i.defaults({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:function(e,n){return null==n&&(n=d),t.get(t.getDimension(e||0),n)},style:function(n,r){null==r&&(r=d),M(r);var s=h.getModel(x).getItemStyle();null!=f&&(s.fill=f);var l=t.getItemVisual(r,"opacity");null!=l&&(s.opacity=l);var u=n?P(n,p):p;return o.setTextStyle(s,u,null,{autoColor:f,isRectText:!0}),s.text=u.getShallow("show")?i.retrieve2(e.getFormattedLabel(r,"normal"),a(t,r)):null,n&&k(s,n),s},styleEmphasis:function(n,r){null==r&&(r=d),M(r);var s=h.getModel(_).getItemStyle(),l=n?P(n,g):g;return o.setTextStyle(s,l,null,{isRectText:!0},!0),s.text=l.getShallow("show")?i.retrieve3(e.getFormattedLabel(r,"emphasis"),e.getFormattedLabel(r,"normal"),a(t,r)):null,n&&k(s,n),s},visual:function(e,n){return null==n&&(n=d),t.getItemVisual(n,e)},barLayout:function(e){if(u.getBaseAxis){var t=u.getBaseAxis();return s(i.defaults({axis:t},e),r)}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(e){return o.getFont(e,n)}},c.api||{}),v={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:c.coordSys,dataInsideLength:t.count(),encode:A(e.getData())},y=!0;return function(e,n){return d=e,y=!0,l&&l(i.defaults({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},v),m)};function M(e){null==e&&(e=d),y&&(h=t.getItemModel(e),p=h.getModel(b),g=h.getModel(S),f=t.getItemVisual(e,"color"),y=!1)}}function A(e){var t={};return i.each(e.dimensions,(function(n,i){var o=e.getDimensionInfo(n);if(!o.isExtraCoord){var a=o.coordDim;(t[a]=t[a]||[])[o.coordDimIndex]=i}})),t}function T(e,t,n,i,o,a){return(e=D(e,t,n,i,o,a,!0))&&a.setItemGraphicEl(t,e),e}function D(e,t,n,a,r,s,u){var c,d=!n,h=(n=n||{}).type,p=n.shape,g=n.style;if(e&&(d||null!=h&&h!==e.__customGraphicType||"path"===h&&((c=p)&&(c.hasOwnProperty("pathData")||c.hasOwnProperty("d")))&&E(p)!==e.__customPathData||"image"===h&&O(g,"image")&&g.image!==e.__customImagePath||"text"===h&&O(p,"text")&&g.text!==e.__customText)&&(r.remove(e),e=null),!d){var f=!e;return!e&&(e=function(e){var t,n=e.type;if("path"===n){var i=e.shape,a=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,r=E(i);(t=o.makePath(r,null,a,i.layout||"center")).__customPathData=r}else if("image"===n)(t=new o.Image({})).__customImagePath=e.style.image;else if("text"===n)(t=new o.Text({})).__customText=e.style.text;else if("group"===n)t=new o.Group;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');t=new(o.getShapeClass(n))}return t.__customGraphicType=n,t.name=e.name,t}(n)),function(e,t,n,a,r,s,l){var u={},c=n.style||{};if(n.shape&&(u.shape=i.clone(n.shape)),n.position&&(u.position=n.position.slice()),n.scale&&(u.scale=n.scale.slice()),n.origin&&(u.origin=n.origin.slice()),n.rotation&&(u.rotation=n.rotation),"image"===e.type&&n.style){var d=u.style={};i.each(["x","y","width","height"],(function(t){M(t,d,c,e.style,s)}))}if("text"===e.type&&n.style){d=u.style={};i.each(["x","y"],(function(t){M(t,d,c,e.style,s)})),!c.hasOwnProperty("textFill")&&c.fill&&(c.textFill=c.fill),!c.hasOwnProperty("textStroke")&&c.stroke&&(c.textStroke=c.stroke)}if("group"!==e.type&&(e.useStyle(c),s)){e.style.opacity=0;var h=c.opacity;null==h&&(h=1),o.initProps(e,{style:{opacity:h}},a,t)}s?e.attr(u):o.updateProps(e,u,a,t),n.hasOwnProperty("z2")&&e.attr("z2",n.z2||0),n.hasOwnProperty("silent")&&e.attr("silent",n.silent),n.hasOwnProperty("invisible")&&e.attr("invisible",n.invisible),n.hasOwnProperty("ignore")&&e.attr("ignore",n.ignore),n.hasOwnProperty("info")&&e.attr("info",n.info);var p=n.styleEmphasis;o.setElementHoverStyle(e,p),l&&o.setAsHighDownDispatcher(e,!1!==p)}(e,t,n,a,0,f,u),"group"===h&&function(e,t,n,i,o){var a=n.children,r=a?a.length:0,s=n.$mergeChildren,u="byName"===s||n.diffChildrenByName,c=!1===s;if(!r&&!u&&!c)return;if(u)return d={oldChildren:e.children()||[],newChildren:a||[],dataIndex:t,animatableModel:i,group:e,data:o},void new l(d.oldChildren,d.newChildren,C,C,d).add(L).update(L).remove(N).execute();var d;c&&e.removeAll();for(var h=0;h<r;h++)a[h]&&D(e.childAt(h),t,a[h],i,e,o)}(e,t,n,a,s),r.add(e),e}}function C(e,t){var n=e&&e.name;return null!=n?n:"e\0\0"+t}function L(e,t){var n=this.context,i=null!=e?n.newChildren[e]:null;D(null!=t?n.oldChildren[t]:null,n.dataIndex,i,n.animatableModel,n.group,n.data)}function P(e,t){var n=new c({},t);return i.each(y,(function(t,i){e.hasOwnProperty(t)&&(n.option[i]=e[t])})),n}function k(e,t){for(var n in t)!t.hasOwnProperty(n)&&y.hasOwnProperty(n)||(e[n]=t[n])}function N(e){var t=this.context,n=t.oldChildren[e];n&&t.group.remove(n)}function E(e){return e&&(e.pathData||e.d)}function O(e,t){return e&&e.hasOwnProperty(t)}u.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(e,t){return r(this.getSource(),this)},getDataParams:function(e,t,n){var i=u.prototype.getDataParams.apply(this,arguments);return n&&(i.info=n.info),i}}),d.extend({type:"custom",_data:null,render:function(e,t,n,i){var o=this._data,a=e.getData(),r=this.group,s=I(e,a,t,n);a.diff(o).add((function(t){T(null,t,s(t,i),e,r,a)})).update((function(t,n){T(o.getItemGraphicEl(n),t,s(t,i),e,r,a)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&r.remove(t)})).execute();var l=e.get("clip",!0)?h(e.coordinateSystem,!1,e):null;l?r.setClipPath(l):r.removeClipPath(),this._data=a},incrementalPrepareRender:function(e,t,n){this.group.removeAll(),this._data=null},incrementalRender:function(e,t,n,i,o){var a=t.getData(),r=I(t,a,n,i);function s(e){e.isGroup||(e.incremental=!0,e.useHoverLayer=!0)}for(var l=e.start;l<e.end;l++){T(null,l,r(l,o),t,this.group,a).traverse(s)}},dispose:i.noop,filterForExposedEvent:function(e,t,n,i){var o=t.element;if(null==o||n.name===o)return!0;for(;(n=n.parent)&&n!==this.group;)if(n.name===o)return!0;return!1}})},"56rv":function(e,t,n){var i=n("IwbS"),o=n("x3X8").getDefaultLabel;function a(e,t){"outside"===e.textPosition&&(e.textPosition=t)}t.setLabel=function(e,t,n,r,s,l,u){var c=n.getModel("label"),d=n.getModel("emphasis.label");i.setLabelStyle(e,t,c,d,{labelFetcher:s,labelDataIndex:l,defaultText:o(s.getData(),l),isRectText:!0,autoColor:r}),a(e),a(t)}},"5GhG":function(e,t,n){var i=n("5GtS"),o=n("bYtY"),a=n("L0Ub").getDimensionTypeByAxis,r=n("D5nY").makeSeriesEncodeForAxisCoordSys,s={_baseAxisDim:null,getInitialData:function(e,t){var n,s,l=t.getComponent("xAxis",this.get("xAxisIndex")),u=t.getComponent("yAxis",this.get("yAxisIndex")),c=l.get("type"),d=u.get("type");"category"===c?(e.layout="horizontal",n=l.getOrdinalMeta(),s=!0):"category"===d?(e.layout="vertical",n=u.getOrdinalMeta(),s=!0):e.layout=e.layout||"horizontal";var h=["x","y"],p="horizontal"===e.layout?0:1,g=this._baseAxisDim=h[p],f=h[1-p],m=[l,u],v=m[p].get("type"),y=m[1-p].get("type"),x=e.data;if(x&&s){var _=[];o.each(x,(function(e,t){var n;e.value&&o.isArray(e.value)?(n=e.value.slice(),e.value.unshift(t)):o.isArray(e)?(n=e.slice(),e.unshift(t)):n=e,_.push(n)})),e.data=_}var b=this.defaultValueDimensions,S=[{name:g,type:a(v),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:f,type:a(y),dimsDef:b.slice()}];return i(this,{coordDimensions:S,dimensionsCount:b.length+1,encodeDefaulter:o.curry(r,S,this)})},getBaseAxis:function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis}};t.seriesModelMixin=s},"5NHt":function(e,t,n){n("aTJb"),n("OlYY"),n("fc+c"),n("N5BQ"),n("IyUQ"),n("LBfv"),n("noeP")},"5s0K":function(e,t,n){var i=n("bYtY");t.createWrap=function(){var e,t=[],n={};return{add:function(e,o,a,r,s){return i.isString(r)&&(s=r,r=0),!n[e.id]&&(n[e.id]=1,t.push({el:e,target:o,time:a,delay:r,easing:s}),!0)},done:function(t){return e=t,this},start:function(){for(var i=t.length,o=0,a=t.length;o<a;o++){var r=t[o];r.el.animateTo(r.target,r.time,r.delay,r.easing,s)}return this;function s(){--i||(t.length=0,n={},e&&e())}}}}},"6/nd":function(e,t,n){n("ProS").registerAction("legendScroll","legendscroll",(function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(n)}))}))},"6fms":function(e,t,n){var i=n("SUKs"),o=n("06Qe"),a=n("bYtY").each;function r(e){return parseInt(e,10)}function s(e,t){o.initVML(),this.root=e,this.storage=t;var n=document.createElement("div"),i=document.createElement("div");n.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",i.style.cssText="position:absolute;left:0;top:0;",e.appendChild(n),this._vmlRoot=i,this._vmlViewport=n,this.resize();var a=t.delFromStorage,r=t.addToStorage;t.delFromStorage=function(e){a.call(t,e),e&&e.onRemove&&e.onRemove(i)},t.addToStorage=function(e){e.onAdd&&e.onAdd(i),r.call(t,e)},this._firstPaint=!0}s.prototype={constructor:s,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0,!0);this._paintList(e)},_paintList:function(e){for(var t=this._vmlRoot,n=0;n<e.length;n++){var i=e[n];i.invisible||i.ignore?(i.__alreadyNotVisible||i.onRemove(t),i.__alreadyNotVisible=!0):(i.__alreadyNotVisible&&i.onAdd(t),i.__alreadyNotVisible=!1,i.__dirty&&(i.beforeBrush&&i.beforeBrush(),(i.brushVML||i.brush).call(i,t),i.afterBrush&&i.afterBrush())),i.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(t),this._firstPaint=!1)},resize:function(e,t){e=null==e?this._getWidth():e,t=null==t?this._getHeight():t;if(this._width!==e||this._height!==t){this._width=e,this._height=t;var n=this._vmlViewport.style;n.width=e+"px",n.height=t+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var e=this.root,t=e.currentStyle;return(e.clientWidth||r(t.width))-r(t.paddingLeft)-r(t.paddingRight)|0},_getHeight:function(){var e=this.root,t=e.currentStyle;return(e.clientHeight||r(t.height))-r(t.paddingTop)-r(t.paddingBottom)|0}},a(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],(function(e){var t;s.prototype[e]=(t=e,function(){i('In IE8.0 VML mode painter not support method "'+t+'"')})}));var l=s;e.exports=l},"6r85":function(e,t,n){var i=n("bYtY");e.exports=function(e){e&&i.isArray(e.series)&&i.each(e.series,(function(e){i.isObject(e)&&"k"===e.type&&(e.type="candlestick")}))}},"6uqw":function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("ItGF"),r=n("YOMW"),s=n("XxSj"),l=n("K4ya"),u=n("4NO4"),c=n("OELB"),d=s.mapVisual,h=s.eachVisual,p=o.isArray,g=o.each,f=c.asc,m=c.linearMap,v=o.noop,y=i.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-1/0,1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(e,t,n){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(e,n)},optionUpdated:function(e,t){var n=this.option;a.canvasSupported||(n.realtime=!1),!t&&l.replaceVisualOption(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(e){var t=this.stateList;e=o.bind(e,this),this.controllerVisuals=l.createVisualMappings(this.option.controller,t,e),this.targetVisuals=l.createVisualMappings(this.option.target,t,e)},getTargetSeriesIndices:function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries((function(e,n){t.push(n)})):t=u.normalizeToArray(e),t},eachTargetSeries:function(e,t){o.each(this.getTargetSeriesIndices(),(function(n){e.call(t,this.ecModel.getSeriesByIndex(n))}),this)},isTargetSeries:function(e){var t=!1;return this.eachTargetSeries((function(n){n===e&&(t=!0)})),t},formatValueText:function(e,t,n){var i,a,r=this.option,s=r.precision,l=this.dataBound,u=r.formatter;return n=n||["<",">"],o.isArray(e)&&(e=e.slice(),i=!0),a=t?e:i?[c(e[0]),c(e[1])]:c(e),o.isString(u)?u.replace("{value}",i?a[0]:a).replace("{value2}",i?a[1]:a):o.isFunction(u)?i?u(e[0],e[1]):u(e):i?e[0]===l[0]?n[0]+" "+a[1]:e[1]===l[1]?n[1]+" "+a[0]:a[0]+" - "+a[1]:a;function c(e){return e===l[0]?"min":e===l[1]?"max":(+e).toFixed(Math.min(s,20))}},resetExtent:function(){var e=this.option,t=f([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension,n=e.dimensions;if(null!=t||n.length){if(null!=t)return e.getDimension(t);for(var i=e.dimensions,o=i.length-1;o>=0;o--){var a=i[o];if(!e.getDimensionInfo(a).isCalculationCoord)return a}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},i=t.target||(t.target={}),a=t.controller||(t.controller={});o.merge(i,n),o.merge(a,n);var l=this.isCategory();function u(n){p(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")},g(this.stateList,(function(e){var t=n[e];if(o.isString(t)){var i=r.get(t,"active",l);i?(n[e]={},n[e][t]=i):delete n[e]}}),this)}u.call(this,i),u.call(this,a),function(e,t,n){var i=e[t],o=e[n];i&&!o&&(o=e[n]={},g(i,(function(e,t){if(s.isValidType(t)){var n=r.get(t,"inactive",l);null!=n&&(o[t]=n,"color"!==t||o.hasOwnProperty("opacity")||o.hasOwnProperty("colorAlpha")||(o.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,i=this.get("inactiveColor");g(this.stateList,(function(a){var r=this.itemSize,s=e[a];s||(s=e[a]={color:l?i:[i]}),null==s.symbol&&(s.symbol=t&&o.clone(t)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&o.clone(n)||(l?r[0]:[r[0],r[0]])),s.symbol=d(s.symbol,(function(e){return"none"===e||"square"===e?"roundRect":e}));var u=s.symbolSize;if(null!=u){var c=-1/0;h(u,(function(e){e>c&&(c=e)})),s.symbolSize=d(u,(function(e){return m(e,[0,c],[0,r[0]],!0)}))}}),this)}.call(this,a)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});e.exports=y},"6usn":function(e,t,n){var i=n("bYtY");function o(e,t){return i.map(["Radius","Angle"],(function(n,i){var o=this["get"+n+"Axis"](),a=t[i],r=e[i]/2,s="dataTo"+n,l="category"===o.type?o.getBandWidth():Math.abs(o[s](a-r)-o[s](a+r));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}e.exports=function(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),a=t.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:a[1],r0:a[0]},api:{coord:i.bind((function(i){var o=t.dataToRadius(i[0]),a=n.dataToAngle(i[1]),r=e.coordToPoint([o,a]);return r.push(o,a*Math.PI/180),r})),size:i.bind(o,e)}}}},"72pK":function(e,t){function n(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function i(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}e.exports=function(e,t,o,a,r,s){e=e||0;var l=o[1]-o[0];if(null!=r&&(r=i(r,[0,l])),null!=s&&(s=Math.max(s,null!=r?r:0)),"all"===a){var u=Math.abs(t[1]-t[0]);u=i(u,[0,l]),r=s=i(u,[r,s]),a=0}t[0]=i(t[0],o),t[1]=i(t[1],o);var c=n(t,a);t[a]+=e;var d=r||0,h=o.slice();c.sign<0?h[0]+=d:h[1]-=d,t[a]=i(t[a],h);var p=n(t,a);return null!=r&&(p.sign!==c.sign||p.span<r)&&(t[1-a]=t[a]+c.sign*r),p=n(t,a),null!=s&&p.span>s&&(t[1-a]=t[a]+p.sign*s),t}},"75ce":function(e,t,n){var i=n("ProS");n("IXuL"),n("8X+K");var o=n("f5Yq"),a=n("h8O9"),r=n("/d5a");n("Ae16"),i.registerVisual(o("line","circle","line")),i.registerLayout(a("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,r("line"))},"75ev":function(e,t,n){var i=n("ProS");n("IWNH"),n("bNin"),n("v5uJ");var o=n("f5Yq"),a=n("yik8");i.registerVisual(o("tree","circle")),i.registerLayout(a)},"7AJT":function(e,t,n){var i=n("bYtY"),o=n("hM6l"),a=function(e,t,n,i,a){o.call(this,e,t,n),this.type=i||"value",this.position=a||"bottom"};a.prototype={constructor:a,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getGlobalExtent:function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},i.inherits(a,o);var r=a;e.exports=r},"7Phj":function(e,t,n){var i=n("bYtY"),o=n("OELB").parsePercent,a=i.each;e.exports=function(e){var t=function(e){var t=[],n=[];return e.eachSeriesByType("boxplot",(function(e){var o=e.getBaseAxis(),a=i.indexOf(n,o);a<0&&(a=n.length,n[a]=o,t[a]={axis:o,seriesModels:[]}),t[a].seriesModels.push(e)})),t}(e);a(t,(function(e){var t=e.seriesModels;t.length&&(!function(e){var t,n,r=e.axis,s=e.seriesModels,l=s.length,u=e.boxWidthList=[],c=e.boxOffsetList=[],d=[];if("category"===r.type)n=r.getBandWidth();else{var h=0;a(s,(function(e){h=Math.max(h,e.getData().count())})),t=r.getExtent(),Math.abs(t[1]-t[0])}a(s,(function(e){var t=e.get("boxWidth");i.isArray(t)||(t=[t,t]),d.push([o(t[0],n)||0,o(t[1],n)||0])}));var p=.8*n-2,g=p/l*.3,f=(p-g*(l-1))/l,m=f/2-p/2;a(s,(function(e,t){c.push(m),m+=g+f,u.push(Math.min(Math.max(f,d[t][0]),d[t][1]))}))}(e),a(t,(function(t,n){!function(e,t,n){var i=e.coordinateSystem,o=e.getData(),a=n/2,r="horizontal"===e.get("layout")?0:1,s=1-r,l=["x","y"],u=o.mapDimension(l[r]),c=o.mapDimension(l[s],!0);if(null==u||c.length<5)return;for(var d=0;d<o.count();d++){var h=o.get(u,d),p=x(h,c[2],d),g=x(h,c[0],d),f=x(h,c[1],d),m=x(h,c[3],d),v=x(h,c[4],d),y=[];_(y,f,0),_(y,m,1),y.push(g,f,v,m),b(y,g),b(y,v),b(y,p),o.setItemLayout(d,{initBaseline:p[s],ends:y})}function x(e,n,a){var l,u=o.get(n,a),c=[];return c[r]=e,c[s]=u,isNaN(e)||isNaN(u)?l=[NaN,NaN]:(l=i.dataToPoint(c))[r]+=t,l}function _(e,t,n){var i=t.slice(),o=t.slice();i[r]+=a,o[r]-=a,n?e.push(i,o):e.push(o,i)}function b(e,t){var n=t.slice(),i=t.slice();n[r]-=a,i[r]+=a,e.push(n,i)}}(t,e.boxOffsetList[n],e.boxWidthList[n])})))}))}},"7a+S":function(e,t,n){var i=n("bYtY"),o=n("bLfw"),a=n("YXkt"),r=n("4NO4"),s=o.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(e,t,n){this._data,this._names,this.mergeDefaultAndTheme(e,n),this._initData()},mergeOption:function(e){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(e){this.option.autoPlay=!!e},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,t=e.data||[],n=e.axisType,o=this._names=[];if("category"===n){var s=[];i.each(t,(function(e,t){var n,a=r.getDataItemValue(e);i.isObject(e)?(n=i.clone(e)).value=t:n=t,s.push(n),i.isString(a)||null!=a&&!isNaN(a)||(a=""),o.push(a+"")})),t=s}var l={category:"ordinal",time:"time"}[n]||"number";(this._data=new a([{name:"value",type:l}],this)).initData(t,o)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;e.exports=l},"7bkD":function(e,t,n){var i=n("bYtY");t.layout=function(e,t){t=t||{};var n=e.coordinateSystem,o=e.axis,a={},r=o.position,s=o.orient,l=n.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};a.position=["vertical"===s?c.vertical[r]:u[0],"horizontal"===s?c.horizontal[r]:u[3]],a.rotation=Math.PI/2*{horizontal:0,vertical:1}[s],a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,right:1,left:-1}[r],e.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),i.retrieve(t.labelInside,e.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var d=t.rotate;return null==d&&(d=e.get("axisLabel.rotate")),a.labelRotation="top"===r?-d:d,a.z2=1,a}},"7mYs":function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("IwbS"),r=n("7aKB"),s=n("OELB"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},c=i.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,n){var i=this.group;i.removeAll();var o=e.coordinateSystem,a=o.getRangeInfo(),r=o.getOrient();this._renderDayRect(e,a,i),this._renderLines(e,a,r,i),this._renderYearText(e,a,r,i),this._renderMonthText(e,r,i),this._renderWeekText(e,a,r,i)},_renderDayRect:function(e,t,n){for(var i=e.coordinateSystem,o=e.getModel("itemStyle").getItemStyle(),r=i.getCellWidth(),s=i.getCellHeight(),l=t.start.time;l<=t.end.time;l=i.getNextNDay(l,1).time){var u=i.dataToRect([l],!1).tl,c=new a.Rect({shape:{x:u[0],y:u[1],width:r,height:s},cursor:"default",style:o});n.add(c)}},_renderLines:function(e,t,n,i){var o=this,a=e.coordinateSystem,r=e.getModel("splitLine.lineStyle").getLineStyle(),s=e.get("splitLine.show"),l=r.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,c=0;u.time<=t.end.time;c++){h(u.formatedDate),0===c&&(u=a.getDateInfo(t.start.y+"-"+t.start.m));var d=u.date;d.setMonth(d.getMonth()+1),u=a.getDateInfo(d)}function h(t){o._firstDayOfMonth.push(a.getDateInfo(t)),o._firstDayPoints.push(a.dataToRect([t],!1).tl);var l=o._getLinePointsOfOneWeek(e,t,n);o._tlpoints.push(l[0]),o._blpoints.push(l[l.length-1]),s&&o._drawSplitline(l,r,i)}h(a.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,l,n),r,i),s&&this._drawSplitline(o._getEdgesPoints(o._blpoints,l,n),r,i)},_getEdgesPoints:function(e,t,n){var i=[e[0].slice(),e[e.length-1].slice()],o="horizontal"===n?0:1;return i[0][o]=i[0][o]-t/2,i[1][o]=i[1][o]+t/2,i},_drawSplitline:function(e,t,n){var i=new a.Polyline({z2:20,shape:{points:e},style:t});n.add(i)},_getLinePointsOfOneWeek:function(e,t,n){var i=e.coordinateSystem;t=i.getDateInfo(t);for(var o=[],a=0;a<7;a++){var r=i.getNextNDay(t.time,a),s=i.dataToRect([r.time],!1);o[2*r.day]=s.tl,o[2*r.day+1]=s["horizontal"===n?"bl":"tr"]}return o},_formatterLabel:function(e,t){return"string"==typeof e&&e?r.formatTplSimple(e,t):"function"==typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,n,i,o){t=t.slice();var a=["center","bottom"];"bottom"===i?(t[1]+=o,a=["center","top"]):"left"===i?t[0]-=o:"right"===i?(t[0]+=o,a=["center","top"]):t[1]-=o;var r=0;return"left"!==i&&"right"!==i||(r=Math.PI/2),{rotation:r,position:t,style:{textAlign:a[0],textVerticalAlign:a[1]}}},_renderYearText:function(e,t,n,i){var o=e.getModel("yearLabel");if(o.get("show")){var r=o.get("margin"),s=o.get("position");s||(s="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,d="horizontal"===n?0:1,h={top:[u,l[d][1]],bottom:[u,l[1-d][1]],left:[l[1-d][0],c],right:[l[d][0],c]},p=t.start.y;+t.end.y>+t.start.y&&(p=p+"-"+t.end.y);var g=o.get("formatter"),f={start:t.start.y,end:t.end.y,nameMap:p},m=this._formatterLabel(g,f),v=new a.Text({z2:30});a.setTextStyle(v.style,o,{text:m}),v.attr(this._yearTextPositionControl(v,h[s],n,s,r)),i.add(v)}},_monthTextPositionControl:function(e,t,n,i,o){var a="left",r="top",s=e[0],l=e[1];return"horizontal"===n?(l+=o,t&&(a="center"),"start"===i&&(r="bottom")):(s+=o,t&&(r="middle"),"start"===i&&(a="right")),{x:s,y:l,textAlign:a,textVerticalAlign:r}},_renderMonthText:function(e,t,n){var i=e.getModel("monthLabel");if(i.get("show")){var r=i.get("nameMap"),s=i.get("margin"),u=i.get("position"),c=i.get("align"),d=[this._tlpoints,this._blpoints];o.isString(r)&&(r=l[r.toUpperCase()]||[]);var h="start"===u?0:1,p="horizontal"===t?0:1;s="start"===u?-s:s;for(var g="center"===c,f=0;f<d[h].length-1;f++){var m=d[h][f].slice(),v=this._firstDayOfMonth[f];if(g){var y=this._firstDayPoints[f];m[p]=(y[p]+d[0][f+1][p])/2}var x=i.get("formatter"),_=r[+v.m-1],b={yyyy:v.y,yy:(v.y+"").slice(2),MM:v.m,M:+v.m,nameMap:_},S=this._formatterLabel(x,b),w=new a.Text({z2:30});o.extend(a.setTextStyle(w.style,i,{text:S}),this._monthTextPositionControl(m,g,t,u,s)),n.add(w)}}},_weekTextPositionControl:function(e,t,n,i,o){var a="center",r="middle",s=e[0],l=e[1],u="start"===n;return"horizontal"===t?(s=s+i+(u?1:-1)*o[0]/2,a=u?"right":"left"):(l=l+i+(u?1:-1)*o[1]/2,r=u?"bottom":"top"),{x:s,y:l,textAlign:a,textVerticalAlign:r}},_renderWeekText:function(e,t,n,i){var r=e.getModel("dayLabel");if(r.get("show")){var l=e.coordinateSystem,c=r.get("position"),d=r.get("nameMap"),h=r.get("margin"),p=l.getFirstDayOfWeek();o.isString(d)&&(d=u[d.toUpperCase()]||[]);var g=l.getNextNDay(t.end.time,7-t.lweek).time,f=[l.getCellWidth(),l.getCellHeight()];h=s.parsePercent(h,f["horizontal"===n?0:1]),"start"===c&&(g=l.getNextNDay(t.start.time,-(7+t.fweek)).time,h=-h);for(var m=0;m<7;m++){var v,y=l.getNextNDay(g,m),x=l.dataToRect([y.time],!1).center;v=Math.abs((m+p)%7);var _=new a.Text({z2:30});o.extend(a.setTextStyle(_.style,r,{text:d[v]}),this._weekTextPositionControl(x,n,c,h,f)),i.add(_)}}}});e.exports=c},"7pVf":function(e,t,n){var i=n("ProS"),o=n("ZqQs");n("oE7X"),n("OUJF"),n("3X6L"),n("NH9N"),i.registerPreprocessor(o)},"7ph2":function(e,t){function n(e){return e instanceof Array||(e=[e,e]),e}var i="lineStyle.opacity".split("."),o={seriesType:"lines",reset:function(e,t,o){var a=n(e.get("symbol")),r=n(e.get("symbolSize")),s=e.getData();return s.setVisual("fromSymbol",a&&a[0]),s.setVisual("toSymbol",a&&a[1]),s.setVisual("fromSymbolSize",r&&r[0]),s.setVisual("toSymbolSize",r&&r[1]),s.setVisual("opacity",e.get(i)),{dataEach:s.hasItemOption?function(e,t){var o=e.getItemModel(t),a=n(o.getShallow("symbol",!0)),r=n(o.getShallow("symbolSize",!0)),s=o.get(i);a[0]&&e.setItemVisual(t,"fromSymbol",a[0]),a[1]&&e.setItemVisual(t,"toSymbol",a[1]),r[0]&&e.setItemVisual(t,"fromSymbolSize",r[0]),r[1]&&e.setItemVisual(t,"toSymbolSize",r[1]),e.setItemVisual(t,"opacity",s)}:null}}};e.exports=o},"7uqq":function(e,t,n){n("Tghj").__DEV__;var i=n("ProS"),o=n("bYtY"),a=n("AUH6"),r=n("+TT/"),s=n("OELB"),l=n("W4dC"),u=n("7DRL");function c(e,t){var n=e.get("boundingCoords");if(null!=n){var i=n[0],o=n[1];isNaN(i[0])||isNaN(i[1])||isNaN(o[0])||isNaN(o[1])||this.setBoundingRect(i[0],i[1],o[0]-i[0],o[1]-i[1])}var a,l=this.getBoundingRect(),u=e.get("layoutCenter"),c=e.get("layoutSize"),d=t.getWidth(),h=t.getHeight(),p=l.width/l.height*this.aspectScale,g=!1;if(u&&c&&(u=[s.parsePercent(u[0],d),s.parsePercent(u[1],h)],c=s.parsePercent(c,Math.min(d,h)),isNaN(u[0])||isNaN(u[1])||isNaN(c)||(g=!0)),g){var f={};p>1?(f.width=c,f.height=c/p):(f.height=c,f.width=c*p),f.y=u[1]-f.height/2,f.x=u[0]-f.width/2}else(a=e.getBoxLayoutParams()).aspect=p,f=r.getLayoutRect(a,{width:d,height:h});this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function d(e,t){o.each(t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}var h={dimensions:a.prototype.dimensions,create:function(e,t){var n=[];e.eachComponent("geo",(function(e,i){var o=e.get("map"),r=e.get("aspectScale"),s=!0,l=u.retrieveMap(o);l&&l[0]&&"svg"===l[0].type?(null==r&&(r=1),s=!1):null==r&&(r=.75);var h=new a(o+i,o,e.get("nameMap"),s);h.aspectScale=r,h.zoomLimit=e.get("scaleLimit"),n.push(h),d(h,e),e.coordinateSystem=h,h.model=e,h.resize=c,h.resize(e,t)})),e.eachSeries((function(e){if("geo"===e.get("coordinateSystem")){var t=e.get("geoIndex")||0;e.coordinateSystem=n[t]}}));var i={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();i[t]=i[t]||[],i[t].push(e)}})),o.each(i,(function(e,i){var r=o.map(e,(function(e){return e.get("nameMap")})),s=new a(i,i,o.mergeAll(r));s.zoomLimit=o.retrieve.apply(null,o.map(e,(function(e){return e.get("scaleLimit")}))),n.push(s),s.resize=c,s.aspectScale=e[0].get("aspectScale"),s.resize(e[0],t),o.each(e,(function(e){e.coordinateSystem=s,d(s,e)}))})),n},getFilledRegions:function(e,t,n){for(var i=(e||[]).slice(),a=o.createHashMap(),r=0;r<i.length;r++)a.set(i[r].name,i[r]);var s=l.load(t,n);return o.each(s.regions,(function(e){var t=e.name;!a.get(t)&&i.push({name:t})})),i}};i.registerCoordinateSystem("geo",h);var p=h;e.exports=p},"7yuC":function(e,t,n){var i=n("QBsz"),o=i.scaleAndAdd;t.forceLayout=function(e,t,n){for(var a=n.rect,r=a.width,s=a.height,l=[a.x+r/2,a.y+s/2],u=null==n.gravity?.1:n.gravity,c=0;c<e.length;c++){var d=e[c];d.p||(d.p=i.create(r*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),d.pp=i.clone(d.p),d.edges=null}var h=null==n.friction?.6:n.friction,p=h;return{warmUp:function(){p=.8*h},setFixed:function(t){e[t].fixed=!0},setUnfixed:function(t){e[t].fixed=!1},step:function(n){for(var a=[],r=e.length,s=0;s<t.length;s++){var c=t[s];if(!c.ignoreForceLayout){var d=c.n1,h=c.n2;i.sub(a,h.p,d.p);var g=i.len(a)-c.d,f=h.w/(d.w+h.w);isNaN(f)&&(f=0),i.normalize(a,a),!d.fixed&&o(d.p,d.p,a,f*g*p),!h.fixed&&o(h.p,h.p,a,-(1-f)*g*p)}}for(s=0;s<r;s++){(x=e[s]).fixed||(i.sub(a,l,x.p),o(x.p,x.p,a,u*p))}for(s=0;s<r;s++){d=e[s];for(var m=s+1;m<r;m++){h=e[m];i.sub(a,h.p,d.p),0===(g=i.len(a))&&(i.set(a,Math.random()-.5,Math.random()-.5),g=1);var v=(d.rep+h.rep)/g/g;!d.fixed&&o(d.pp,d.pp,a,v),!h.fixed&&o(h.pp,h.pp,a,-v)}}var y=[];for(s=0;s<r;s++){var x;(x=e[s]).fixed||(i.sub(y,x.p,x.pp),o(x.p,x.p,y,p),i.copy(x.pp,x.p))}p*=.992,n&&n(e,t,p<.01)}}}},"8SMY":function(e,t,n){var i=n("n4Lv"),o=i.prepareDataCoordInfo,a=i.getStackedOnPoint;e.exports=function(e,t,n,i,r,s,l,u){for(var c=function(e,t){var n=[];return t.diff(e).add((function(e){n.push({cmd:"+",idx:e})})).update((function(e,t){n.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){n.push({cmd:"-",idx:e})})).execute(),n}(e,t),d=[],h=[],p=[],g=[],f=[],m=[],v=[],y=o(r,t,l),x=o(s,e,u),_=0;_<c.length;_++){var b=c[_],S=!0;switch(b.cmd){case"=":var w=e.getItemLayout(b.idx),M=t.getItemLayout(b.idx1);(isNaN(w[0])||isNaN(w[1]))&&(w=M.slice()),d.push(w),h.push(M),p.push(n[b.idx]),g.push(i[b.idx1]),v.push(t.getRawIndex(b.idx1));break;case"+":var I=b.idx;d.push(r.dataToPoint([t.get(y.dataDimsForPoint[0],I),t.get(y.dataDimsForPoint[1],I)])),h.push(t.getItemLayout(I).slice()),p.push(a(y,r,t,I)),g.push(i[I]),v.push(t.getRawIndex(I));break;case"-":I=b.idx;var A=e.getRawIndex(I);A!==I?(d.push(e.getItemLayout(I)),h.push(s.dataToPoint([e.get(x.dataDimsForPoint[0],I),e.get(x.dataDimsForPoint[1],I)])),p.push(n[I]),g.push(a(x,s,e,I)),v.push(A)):S=!1}S&&(f.push(b),m.push(m.length))}m.sort((function(e,t){return v[e]-v[t]}));var T=[],D=[],C=[],L=[],P=[];for(_=0;_<m.length;_++){I=m[_];T[_]=d[I],D[_]=h[I],C[_]=p[I],L[_]=g[I],P[_]=f[I]}return{current:T,next:D,stackedOnCurrent:C,stackedOnNext:L,status:P}}},"8Th4":function(e,t,n){var i=n("3LNs"),o=n("/y7N"),a=n("7bkD"),r=n("Znkb"),s=["x","y"],l=["width","height"],u=i.extend({makeElOption:function(e,t,n,i,r){var s=n.axis,l=s.coordinateSystem,u=h(l,1-d(s)),p=l.dataToPoint(t)[0],g=i.get("type");if(g&&"none"!==g){var f=o.buildElStyle(i),m=c[g](s,p,u);m.style=f,e.graphicKey=m.type,e.pointer=m}var v=a.layout(n);o.buildCartesianSingleLabelElOption(t,e,v,n,i,r)},getHandleTransform:function(e,t,n){var i=a.layout(t,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:o.getTransformedPosition(t.axis,e,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,n,i){var o=n.axis,a=o.coordinateSystem,r=d(o),s=h(a,r),l=e.position;l[r]+=t[r],l[r]=Math.min(s[1],l[r]),l[r]=Math.max(s[0],l[r]);var u=h(a,1-r),c=(u[1]+u[0])/2,p=[c,c];return p[r]=l[r],{position:l,rotation:e.rotation,cursorPoint:p,tooltipOption:{verticalAlign:"middle"}}}}),c={line:function(e,t,n){return{type:"Line",subPixelOptimize:!0,shape:o.makeLineShape([t,n[0]],[t,n[1]],d(e))}},shadow:function(e,t,n){var i=e.getBandWidth(),a=n[1]-n[0];return{type:"Rect",shape:o.makeRectShape([t-i/2,n[0]],[i,a],d(e))}}};function d(e){return e.isHorizontal()?0:1}function h(e,t){var n=e.getRect();return[n[s[t]],n[s[t]]+n[l[t]]]}r.registerAxisPointerClass("SingleAxisPointer",u);var p=u;e.exports=p},"8Uz6":function(e,t,n){var i=n("hNWo"),o=n("+TT/"),a=o.mergeLayoutParam,r=o.getLayoutParams,s=i.extend({type:"legend.scroll",setScrollDataIndex:function(e){this.option.scrollDataIndex=e},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(e,t,n,i){var o=r(e);s.superCall(this,"init",e,t,n,i),l(this,e,o)},mergeOption:function(e,t){s.superCall(this,"mergeOption",e,t),l(this,this.option,e)}});function l(e,t,n){var i=[1,1];i[e.getOrient().index]=0,a(t,n,{type:"box",ignoreSize:i})}var u=s;e.exports=u},"8X+K":function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=n("4mN7").fromPoints,a=n("9wZj"),r=n("FBjb"),s=n("8SMY"),l=n("IwbS"),u=n("4NO4"),c=n("1NG9"),d=c.Polyline,h=c.Polygon,p=n("6Ic6"),g=n("n4Lv"),f=g.prepareDataCoordInfo,m=g.getStackedOnPoint,v=n("sK/D"),y=v.createGridClipPath,x=v.createPolarClipPath;function _(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++){var i=e[n],o=t[n];if(i[0]!==o[0]||i[1]!==o[1])return}return!0}}function b(e,t){var n=[],i=[],a=[],r=[];return o(e,n,i),o(t,a,r),Math.max(Math.abs(n[0]-a[0]),Math.abs(n[1]-a[1]),Math.abs(i[0]-r[0]),Math.abs(i[1]-r[1]))}function S(e){return"number"==typeof e?e:e?.5:0}function w(e,t,n){for(var i=t.getBaseAxis(),o="x"===i.dim||"radius"===i.dim?0:1,a=[],r=0;r<e.length-1;r++){var s=e[r+1],l=e[r];a.push(l);var u=[];switch(n){case"end":u[o]=s[o],u[1-o]=l[1-o],a.push(u);break;case"middle":var c=(l[o]+s[o])/2,d=[];u[o]=d[o]=c,u[1-o]=l[1-o],d[1-o]=s[1-o],a.push(u),a.push(d);break;default:u[o]=l[o],u[1-o]=s[1-o],a.push(u)}}return e[r]&&a.push(e[r]),a}function M(e,t,n){var o=e.get("showAllSymbol"),a="auto"===o;if(!o||a){var s=n.getAxesByScale("ordinal")[0];if(s&&(!a||!function(e,t){var n=e.getExtent(),i=Math.abs(n[1]-n[0])/e.scale.count();isNaN(i)&&(i=0);for(var o=t.count(),a=Math.max(1,Math.round(o/5)),s=0;s<o;s+=a)if(1.5*r.getSymbolSize(t,s)[e.isHorizontal()?1:0]>i)return!1;return!0}(s,t))){var l=t.mapDimension(s.dim),u={};return i.each(s.getViewLabels(),(function(e){u[e.tickValue]=1})),function(e){return!u.hasOwnProperty(t.get(l,e))}}}}function I(e,t,n){if("cartesian2d"===e.type){var i=e.getBaseAxis().isHorizontal(),o=y(e,t,n);if(!n.get("clip",!0)){var a=o.shape,r=Math.max(a.width,a.height);i?(a.y-=r,a.height+=2*r):(a.x-=r,a.width+=2*r)}return o}return x(e,t,n)}var A=p.extend({type:"line",init:function(){var e=new l.Group,t=new a;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,n){var o=e.coordinateSystem,a=this.group,r=e.getData(),s=e.getModel("lineStyle"),u=e.getModel("areaStyle"),c=r.mapArray(r.getItemLayout),d="polar"===o.type,h=this._coordSys,p=this._symbolDraw,g=this._polyline,v=this._polygon,y=this._lineGroup,x=e.get("animation"),b=!u.isEmpty(),A=u.get("origin"),T=function(e,t,n){if(!n.valueDim)return[];for(var i=[],o=0,a=t.count();o<a;o++)i.push(m(n,e,t,o));return i}(o,r,f(o,r,A)),D=e.get("showSymbol"),C=D&&!d&&M(e,r,o),L=this._data;L&&L.eachItemGraphicEl((function(e,t){e.__temp&&(a.remove(e),L.setItemGraphicEl(t,null))})),D||p.remove(),a.add(y);var P,k=!d&&e.get("step");o&&o.getArea&&e.get("clip",!0)&&(null!=(P=o.getArea()).width?(P.x-=.1,P.y-=.1,P.width+=.2,P.height+=.2):P.r0&&(P.r0-=.5,P.r1+=.5)),this._clipShapeForSymbol=P,g&&h.type===o.type&&k===this._step?(b&&!v?v=this._newPolygon(c,T,o,x):v&&!b&&(y.remove(v),v=this._polygon=null),y.setClipPath(I(o,!1,e)),D&&p.updateData(r,{isIgnore:C,clipShape:P}),r.eachItemGraphicEl((function(e){e.stopAnimation(!0)})),_(this._stackedOnPoints,T)&&_(this._points,c)||(x?this._updateAnimation(r,T,o,n,k,A):(k&&(c=w(c,o,k),T=w(T,o,k)),g.setShape({points:c}),v&&v.setShape({points:c,stackedOnPoints:T})))):(D&&p.updateData(r,{isIgnore:C,clipShape:P}),k&&(c=w(c,o,k),T=w(T,o,k)),g=this._newPolyline(c,o,x),b&&(v=this._newPolygon(c,T,o,x)),y.setClipPath(I(o,!0,e)));var N=function(e,t){var n=e.getVisual("visualMeta");if(n&&n.length&&e.count()&&"cartesian2d"===t.type){for(var o,a,r=n.length-1;r>=0;r--){var s=n[r].dimension,u=e.dimensions[s],c=e.getDimensionInfo(u);if("x"===(o=c&&c.coordDim)||"y"===o){a=n[r];break}}if(a){var d=t.getAxis(o),h=i.map(a.stops,(function(e){return{coord:d.toGlobalCoord(d.dataToCoord(e.value)),color:e.color}})),p=h.length,g=a.outerColors.slice();p&&h[0].coord>h[p-1].coord&&(h.reverse(),g.reverse());var f=h[0].coord-10,m=h[p-1].coord+10,v=m-f;if(v<.001)return"transparent";i.each(h,(function(e){e.offset=(e.coord-f)/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 y=new l.LinearGradient(0,0,0,0,h,!0);return y[o]=f,y[o+"2"]=m,y}}}(r,o)||r.getVisual("color");g.useStyle(i.defaults(s.getLineStyle(),{fill:"none",stroke:N,lineJoin:"bevel"}));var E=e.get("smooth");if(E=S(e.get("smooth")),g.setShape({smooth:E,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),v){var O=r.getCalculationInfo("stackedOnSeries"),R=0;v.useStyle(i.defaults(u.getAreaStyle(),{fill:N,opacity:.7,lineJoin:"bevel"})),O&&(R=S(O.get("smooth"))),v.setShape({smooth:E,stackedOnSmooth:R,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=r,this._coordSys=o,this._stackedOnPoints=T,this._points=c,this._step=k,this._valueOrigin=A},dispose:function(){},highlight:function(e,t,n,i){var o=e.getData(),a=u.queryDataIndex(o,i);if(!(a instanceof Array)&&null!=a&&a>=0){var s=o.getItemGraphicEl(a);if(!s){var l=o.getItemLayout(a);if(!l)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l[0],l[1]))return;(s=new r(o,a)).position=l,s.setZ(e.get("zlevel"),e.get("z")),s.ignore=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,o.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else p.prototype.highlight.call(this,e,t,n,i)},downplay:function(e,t,n,i){var o=e.getData(),a=u.queryDataIndex(o,i);if(null!=a&&a>=0){var r=o.getItemGraphicEl(a);r&&(r.__temp?(o.setItemGraphicEl(a,null),this.group.remove(r)):r.downplay())}else p.prototype.downplay.call(this,e,t,n,i)},_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 n=this._polygon;return n&&this._lineGroup.remove(n),n=new h({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(e,t,n,i,o,a){var r=this._polyline,u=this._polygon,c=e.hostModel,d=s(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,a),h=d.current,p=d.stackedOnCurrent,g=d.next,f=d.stackedOnNext;if(o&&(h=w(d.current,n,o),p=w(d.stackedOnCurrent,n,o),g=w(d.next,n,o),f=w(d.stackedOnNext,n,o)),b(h,g)>3e3||u&&b(p,f)>3e3)return r.setShape({points:g}),void(u&&u.setShape({points:g,stackedOnPoints:f}));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=[],v=d.status,y=0;y<v.length;y++){if("="===v[y].cmd){var x=e.getItemGraphicEl(v[y].idx1);x&&m.push({el:x,ptIdx:y})}}r.animators&&r.animators.length&&r.animators[0].during((function(){for(var e=0;e<m.length;e++){m[e].el.attr("position",r.shape.__points[m[e].ptIdx])}}))},remove:function(e){var t=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(e,i){e.__temp&&(t.remove(e),n.setItemGraphicEl(i,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});e.exports=A},"8XDt":function(e,t,n){n("qH13"),(0,n("aX58").registerPainter)("vml",n("6fms"))},"8fsc":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,a=void 0;try{for(var r,s=e[Symbol.iterator]();!(i=(r=s.next()).done)&&(n.push(r.value),!t||n.length!==t);i=!0);}catch(e){o=!0,a=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=n("q1tI"),a=u(o),r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("MT78")),s=u(n("wd/R")),l=u(n("vDqi"));function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.userLogin,n=e.time,u=e.chooseTime,c=(0,o.useState)(""),d=i(c,2),h=d[0],p=d[1],g=(0,o.useState)(""),f=i(g,2),m=f[0],v=f[1];function y(e){for(var t=+r.number.parseDate(m),n=+r.number.parseDate(h),i=[],o=function(){var t=function(e){var t=new Date(e),n=t.getFullYear()+"-",i=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",o=t.getDate()<10?"0"+t.getDate():t.getDate();return n+i+o}(a),n=e.filter((function(e){return e.date===t}));n&&n.length>0?i.push([n[0].date,n[0].contributions]):i.push([t,0])},a=t;a<=n;a+=864e5)o();return i}return(0,o.useEffect)((function(){if(n){var e=void 0,t="";if(parseInt(n,0)===parseInt((0,s.default)().get("year"),0)){var i=(0,s.default)().get("year"),o=(0,s.default)().get("month"),a=(0,s.default)().get("date");e=i+"-"+(o+1)+"-"+a,t=i-1+"-"+(o+1)+"-"+a}else e=n+"-12-31",t=n+"-01-01";p(e),v(t)}}),[n]),(0,o.useEffect)((function(){var e;m&&h&&(e="/users/"+t+"/headmaps.json",l.default.get(e).then((function(e){if(e&&e.data){var t=e.data.headmaps;t.sort((n="contributions",function(e,t){return e[n]-t[n]})),function(e,t){var n=document.getElementById("Calendar"),i=r.init(n),o={title:{show:!1},tooltip:{formatter:function(e){return e.data[0]+": "+e.data[1]+"个贡献"}},visualMap:{min:0,max:t,type:"piecewise",orient:"horizontal",left:"center",bottom:40,inRange:{color:["#fafafa","#216e39"]}},calendar:{top:50,left:40,right:30,cellSize:["auto",13],range:[m,h],splitLine:{show:!1,lineStyle:{color:"#fff",width:1,type:"solid"}},itemStyle:{borderWidth:.5},yearLabel:{show:!1},monthLabel:{nameMap:"cn"},dayLabel:{nameMap:"cn",firstDay:1}},series:{type:"heatmap",coordinateSystem:"calendar",data:y(e)}};i.setOption(o),i.on("click",(function(e){u(e.data)}))}(t,t[t.length-1].contributions)}var n})).catch((function(e){})))}),[m,h]),a.default.createElement("div",{id:"Calendar",style:{height:"210px"}})}},"8nMs":function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a=n("+rIm"),r=n("Znkb"),s=n("AVZG"),l=n("WN+l"),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,d=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine","minorSplitLine"],p=r.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(e,t,n,r){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new o.Group,this.group.add(this._axisGroup),e.get("show")){var u=e.getCoordSysModel(),c=s.layout(u,e),g=new a(e,c);i.each(d,g.add,g),this._axisGroup.add(g.getGroup()),i.each(h,(function(t){e.get(t+".show")&&this["_"+t](e,u)}),this),o.groupTransition(l,this._axisGroup,e),p.superCall(this,"render",e,t,n,r)}},remove:function(){c(this)},_splitLine:function(e,t){var n=e.axis;if(!n.scale.isBlank()){var a=e.getModel("splitLine"),r=a.getModel("lineStyle"),s=r.get("color");s=i.isArray(s)?s:[s];for(var l=t.coordinateSystem.getRect(),u=n.isHorizontal(),c=0,d=n.getTicksCoords({tickModel:a}),h=[],p=[],g=r.getLineStyle(),f=0;f<d.length;f++){var m=n.toGlobalCoord(d[f].coord);u?(h[0]=m,h[1]=l.y,p[0]=m,p[1]=l.y+l.height):(h[0]=l.x,h[1]=m,p[0]=l.x+l.width,p[1]=m);var v=c++%s.length,y=d[f].tickValue;this._axisGroup.add(new o.Line({anid:null!=y?"line_"+d[f].tickValue:null,subPixelOptimize:!0,shape:{x1:h[0],y1:h[1],x2:p[0],y2:p[1]},style:i.defaults({stroke:s[v]},g),silent:!0}))}}},_minorSplitLine:function(e,t){var n=e.axis,i=e.getModel("minorSplitLine").getModel("lineStyle"),a=t.coordinateSystem.getRect(),r=n.isHorizontal(),s=n.getMinorTicksCoords();if(s.length)for(var l=[],u=[],c=i.getLineStyle(),d=0;d<s.length;d++)for(var h=0;h<s[d].length;h++){var p=n.toGlobalCoord(s[d][h].coord);r?(l[0]=p,l[1]=a.y,u[0]=p,u[1]=a.y+a.height):(l[0]=a.x,l[1]=p,u[0]=a.x+a.width,u[1]=p),this._axisGroup.add(new o.Line({anid:"minor_line_"+s[d][h].tickValue,subPixelOptimize:!0,shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:c,silent:!0}))}},_splitArea:function(e,t){u(this,this._axisGroup,e,t)}});p.extend({type:"xAxis"}),p.extend({type:"yAxis"})},"8waO":function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("iLNv"),r=n("ZWlE");n("hJvP"),n("IXyC"),n("xRUu");i.extendComponentView({type:"parallel",render:function(e,t,n){this._model=e,this._api=n,this._handlers||(this._handlers={},o.each(s,(function(e,t){n.getZr().on(t,this._handlers[t]=o.bind(e,this))}),this)),a.createOrUpdate(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},dispose:function(e,t){o.each(this._handlers,(function(e,n){t.getZr().off(n,e)})),this._handlers=null},_throttledDispatchExpand:function(e){this._dispatchExpand(e)},_dispatchExpand:function(e){e&&this._api.dispatchAction(o.extend({type:"parallelAxisExpand"},e))}});var s={mousedown:function(e){l(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(l(this,"click")&&t){var n=[e.offsetX,e.offsetY];if(Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2)>5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&l(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i&&null})}}};function l(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}i.registerPreprocessor(r)},"8x+h":function(e,t,n){n("Tghj").__DEV__;var i=n("ProS"),o=n("bYtY"),a=n("K4ya"),r=n("Qxkt"),s=["#ddd"];function l(e,t){return o.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new r(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var u=i.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(e,t){var n=this.option;!t&&a.replaceVisualOption(n,e,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:s},i.hasOwnProperty("liftZ")||(i.liftZ=5)},setAreas:function(e){e&&(this.areas=o.map(e,(function(e){return l(this.option,e)}),this))},setBrushOption:function(e){this.brushOption=l(this.option,e),this.brushType=this.brushOption.brushType}});e.exports=u},"9KIM":function(e,t,n){var i=n("mFDi"),o=n("xSat").onIrrelevantElement,a=n("IwbS");function r(e){return i.create(e)}t.makeRectPanelClipPath=function(e){return e=r(e),function(t,n){return a.clipPointsByRect(t,e)}},t.makeLinearBrushOtherExtent=function(e,t){return e=r(e),function(n){var i=null!=t?t:n,o=i?e.width:e.height,a=i?e.x:e.y;return[a,a+(o||0)]}},t.makeRectIsTargetByCursor=function(e,t,n){return e=r(e),function(i,a,r){return e.contain(a[0],a[1])&&!o(i,t,n)}}},"9eas":function(e,t,n){n("HM/N"),n("tBnm")},"9hCq":function(e,t,n){var i=n("IwbS"),o=n("+TT/"),a=n("bYtY"),r=n("VaxA").wrapTreePathInfo;function s(e){this.group=new i.Group,e.add(this.group)}function l(e,t,n,i,o,a){var r=[[o?e:e-5,t],[e+n,t],[e+n,t+i],[o?e:e-5,t+i]];return!a&&r.splice(2,0,[e+n+5,t+i/2]),!o&&r.push([e,t+i/2]),r}function u(e,t,n){e.eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.componentIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&r(n,t)}}s.prototype={constructor:s,render:function(e,t,n,i){var a=e.getModel("breadcrumb"),r=this.group;if(r.removeAll(),a.get("show")&&n){var s=a.getModel("itemStyle"),l=s.getModel("textStyle"),u={pos:{left:a.get("left"),right:a.get("right"),top:a.get("top"),bottom:a.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:a.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(e,u,s,l,i),o.positionElement(r,u.pos,u.box)}},_prepare:function(e,t,n){for(var i=e;i;i=i.parentNode){var o=i.getModel().get("name"),a=n.getTextRect(o),r=Math.max(a.width+16,t.emptyItemWidth);t.totalWidth+=r+8,t.renderList.push({node:i,text:o,width:r})}},_renderContent:function(e,t,n,r,s){for(var c=0,d=t.emptyItemWidth,h=e.get("breadcrumb.height"),p=o.getAvailableSize(t.pos,t.box),g=t.totalWidth,f=t.renderList,m=f.length-1;m>=0;m--){var v=f[m],y=v.node,x=v.width,_=v.text;g>p.width&&(g-=x-d,x=d,_=null);var b=new i.Polygon({shape:{points:l(c,0,x,h,m===f.length-1,0===m)},style:a.defaults(n.getItemStyle(),{lineJoin:"bevel",text:_,textFill:r.getTextColor(),textFont:r.getFont()}),z:10,onclick:a.curry(s,y)});this.group.add(b),u(b,e,y),c+=x+8}},remove:function(){this.group.removeAll()}};var c=s;e.exports=c},"9u0u":function(e,t,n){var i=n("bYtY");e.exports=function(e){var t={};e.eachSeriesByType("map",(function(e){var n=e.getHostGeoModel(),i=n?"o"+n.id:"i"+e.getMapType();(t[i]=t[i]||[]).push(e)})),i.each(t,(function(e,t){for(var n,o,a,r=(n=i.map(e,(function(e){return e.getData()})),o=e[0].get("mapValueCalculation"),a={},i.each(n,(function(e){e.each(e.mapDimension("value"),(function(t,n){var i="ec-"+e.getName(n);a[i]=a[i]||[],isNaN(t)||a[i].push(t)}))})),n[0].map(n[0].mapDimension("value"),(function(e,t){for(var i,r="ec-"+n[0].getName(t),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 i="min"===o?l:"max"===o?u:"average"===o?s/c:s,0===c?NaN:i}))),s=0;s<e.length;s++)e[s].originalData=e[s].getData();for(s=0;s<e.length;s++)e[s].seriesGroup=e,e[s].needsDrawMap=0===s&&!e[s].getHostGeoModel(),e[s].setData(r.cloneShallow()),e[s].mainSeries=e[0]}))}},AE9C:function(e,t,n){var i=n("bYtY"),o=n("crZl"),a=n("IwbS"),r=n("oVpE").createSymbol,s=n("+TT/"),l=n("y7Aq"),u=o.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),o=t.textStyleModel,r=o.getFont(),l=o.getTextColor(),u=this._getItemAlign(),c=t.itemSize,d=this._getViewData(),h=d.endsText,p=i.retrieve(t.get("showLabel",!0),!h);h&&this._renderEndsText(e,h[0],c,p,u),i.each(d.viewPieceList,(function(o){var s=o.piece,d=new a.Group;d.onclick=i.bind(this._onItemClick,this,s),this._enableHoverLink(d,o.indexInModelPieceList);var h=t.getRepresentValue(s);if(this._createItemSymbol(d,h,[0,0,c[0],c[1]]),p){var g=this.visualMapModel.getValueState(h);d.add(new a.Text({style:{x:"right"===u?-n:c[0]+n,y:c[1]/2,text:s.text,textVerticalAlign:"middle",textAlign:u,textFont:r,textFill:l,opacity:"outOfRange"===g?.5:1}}))}e.add(d)}),this),h&&this._renderEndsText(e,h[1],c,p,u),s.box(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_enableHoverLink:function(e,t){function n(e){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:e,batch:l.makeHighDownBatch(n.findTargetDataIndices(t),n)})}e.on("mouseover",i.bind(n,this,"highlight")).on("mouseout",i.bind(n,this,"downplay"))},_getItemAlign:function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return l.getItemAlign(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(e,t,n,i,o){if(t){var r=new a.Group,s=this.visualMapModel.textStyleModel;r.add(new a.Text({style:{x:i?"right"===o?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:i?o:"center",text:t,textFont:s.getFont(),textFill:s.getTextColor()}})),e.add(r)}},_getViewData:function(){var e=this.visualMapModel,t=i.map(e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),n=e.get("text"),o=e.get("orient"),a=e.get("inverse");return("horizontal"===o?a:!a)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},_createItemSymbol:function(e,t,n){e.add(r(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color")))},_onItemClick:function(e){var t=this.visualMapModel,n=t.option,o=i.clone(n.selected),a=t.getSelectedMapKey(e);"single"===n.selectedMode?(o[a]=!0,i.each(o,(function(e,t){o[t]=t===a}))):o[a]=!o[a],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}});e.exports=u},AEZ6:function(e,t,n){var i=n("bYtY"),o=i.each,a=i.createHashMap,r=n("T4UG"),s=n("MwEJ"),l=r.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(e,t){var n=this.getSource();return function(e,t){if(e.encodeDefine)return;var n=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(!n)return;var i=e.encodeDefine=a();o(n.dimensions,(function(e){var t=+e.replace("dim","");i.set(e,t)}))}(n,this),s(n,this)},getRawIndicesByActiveState:function(e){var t=this.coordinateSystem,n=this.getData(),i=[];return t.eachActiveState(n,(function(t,o){e===t&&i.push(n.getRawIndex(o))})),i},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"}});e.exports=l},ALo7:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("5GtS"),r=n("4NO4").defaultEmphasis,s=n("D5nY").makeSeriesEncodeForNameBased,l=n("xKMd"),u=i.extendSeriesModel({type:"series.funnel",init:function(e){u.superApply(this,"init",arguments),this.legendVisualProvider=new l(o.bind(this.getData,this),o.bind(this.getRawData,this)),this._defaultLabelLine(e)},getInitialData:function(e,t){return a(this,{coordDimensions:["value"],encodeDefaulter:o.curry(s,this)})},_defaultLabelLine:function(e){r(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},getDataParams:function(e){var t=this.getData(),n=u.superCall(this,"getDataParams",e),i=t.mapDimension("value"),o=t.getSum(i);return n.percent=o?+(t.get(i,e)/o*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),c=u;e.exports=c},ANjR:function(e,t,n){var i=n("bYtY");function o(e,t){return t=t||[0,0],i.map([0,1],(function(n){var i=t[n],o=e[n]/2,a=[],r=[];return a[n]=i-o,r[n]=i+o,a[1-n]=r[1-n]=t[1-n],Math.abs(this.dataToPoint(a)[n]-this.dataToPoint(r)[n])}),this)}e.exports=function(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(o,e)}}}},AUH6:function(e,t,n){var i=n("bYtY"),o=n("mFDi"),a=n("bMXI"),r=n("W4dC");function s(e,t,n,i){a.call(this,e),this.map=t;var o=r.load(t,n);this._nameCoordMap=o.nameCoordMap,this._regionsMap=o.regionsMap,this._invertLongitute=null==i||i,this.regions=o.regions,this._rect=o.boundingRect}function l(e,t,n,i){var o=n.geoModel,a=n.seriesModel,r=o?o.coordinateSystem:a?a.coordinateSystem||(a.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return r===this?r[e](i):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(e){for(var t=this.regions,n=0;n<t.length;n++)if(t[n].contain(e))return!0;return!1},transformTo:function(e,t,n,i){var a=this.getBoundingRect(),r=this._invertLongitute;a=a.clone(),r&&(a.y=-a.y-a.height);var s=this._rawTransformable;if(s.transform=a.calculateTransform(new o(e,t,n,i)),s.decomposeTransform(),r){var l=s.scale;l[1]=-l[1]}s.updateTransform(),this._updateTransform()},getRegion:function(e){return this._regionsMap.get(e)},getRegionByCoord:function(e){for(var t=this.regions,n=0;n<t.length;n++)if(t[n].contain(e))return t[n]},addGeoCoord:function(e,t){this._nameCoordMap.set(e,t)},getGeoCoord:function(e){return this._nameCoordMap.get(e)},getBoundingRect:function(){return this._rect},dataToPoint:function(e,t,n){if("string"==typeof e&&(e=this.getGeoCoord(e)),e)return a.prototype.dataToPoint.call(this,e,t,n)},convertToPixel:i.curry(l,"dataToPoint"),convertFromPixel:i.curry(l,"pointToData")},i.mixin(s,a);var u=s;e.exports=u},"Ae+d":function(e,t){t.updateViewOnPan=function(e,t,n){var i=e.target,o=i.position;o[0]+=t,o[1]+=n,i.dirty()},t.updateViewOnZoom=function(e,t,n,i){var o=e.target,a=e.zoomLimit,r=o.position,s=o.scale,l=e.zoom=e.zoom||1;if(l*=t,a){var u=a.min||0,c=a.max||1/0;l=Math.max(Math.min(c,l),u)}var d=l/e.zoom;e.zoom=l,r[0]-=(n-r[0])*(d-1),r[1]-=(i-r[1])*(d-1),s[0]*=d,s[1]*=d,o.dirty()}},Ae16:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("IwbS");n("Wqna"),n("rySg"),i.extendComponentView({type:"grid",render:function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new a.Rect({shape:e.coordinateSystem.getRect(),style:o.defaults({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))}}),i.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))},"B+YJ":function(e,t,n){n("TYVI"),n("p1MT")},Bsck:function(e,t,n){var i=n("bYtY"),o=n("Mdki"),a=n("YXkt"),r=n("sdST"),s=function(e,t){this.name=e||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=t};function l(e){this.root,this.data,this._nodes=[],this.hostModel=e}s.prototype={constructor:s,isRemoved:function(){return this.dataIndex<0},eachNode:function(e,t,n){"function"==typeof e&&(n=t,t=e,e=null),e=e||{},i.isString(e)&&(e={order:e});var o,a=e.order||"preorder",r=this[e.attr||"children"];"preorder"===a&&(o=t.call(n,this));for(var s=0;!o&&s<r.length;s++)r[s].eachNode(e,t,n);"postorder"===a&&t.call(n,this)},updateDepthAndHeight:function(e){var t=0;this.depth=e;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(e+1),i.height>t&&(t=i.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,i=n.length;t<i;t++){var o=n[t].getNodeById(e);if(o)return o}},contains:function(e){if(e===this)return!0;for(var t=0,n=this.children,i=n.length;t<i;t++){var o=n[t].contains(e);if(o)return o}},getAncestors:function(e){for(var t=[],n=e?this:this.parentNode;n;)t.push(n),n=n.parentNode;return t.reverse(),t},getValue:function(e){var t=this.hostTree.data;return t.get(t.getDimension(e||"value"),this.dataIndex)},setLayout:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(e)},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(e){for(var t=e.parentNode;t;){if(t===this)return!0;t=t.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}},l.prototype={constructor:l,type:"tree",eachNode:function(e,t,n){this.root.eachNode(e,t,n)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,n=0,i=t.length;n<i;n++)t[n].dataIndex=-1;for(n=0,i=e.count();n<i;n++)t[e.getRawIndex(n)].dataIndex=n},clearLayouts:function(){this.data.clearItemLayouts()}},l.createTree=function(e,t,n){var u=new l(t),c=[],d=1;!function e(t,n){var o=t.value;d=Math.max(d,i.isArray(o)?o.length:1),c.push(t);var a=new s(t.name,u);n?function(e,t){var n=t.children;if(e.parentNode===t)return;n.push(e),e.parentNode=t}(a,n):u.root=a,u._nodes.push(a);var r=t.children;if(r)for(var l=0;l<r.length;l++)e(r[l],a)}(e),u.root.updateDepthAndHeight(0);var h=r(c,{coordDimensions:["value"],dimensionsCount:d}),p=new a(h,t);return p.initData(c),n&&n(p),o({mainData:p,struct:u,structAttr:"tree"}),u.update(),u};var u=l;e.exports=u},BuqR:function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=n("6uqw"),a=n("XxSj"),r=n("YOMW"),s=n("OELB").reformIntervals,l=o.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(e,t){l.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var n=this._mode=this._determineMode();u[this._mode].call(this),this._resetSelected(e,t);var o=this.option.categories;this.resetVisual((function(e,t){"categories"===n?(e.mappingMethod="category",e.categories=i.clone(o)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=i.map(this._pieceList,(function(e){e=i.clone(e);return"inRange"!==t&&(e.visual=null),e})))}))},completeVisualOption:function(){var e=this.option,t={},n=a.listVisualTypes(),s=this.isCategory();function l(e,t,n){return e&&e[t]&&(i.isObject(e[t])?e[t].hasOwnProperty(n):e[t]===n)}i.each(e.pieces,(function(e){i.each(n,(function(n){e.hasOwnProperty(n)&&(t[n]=1)}))})),i.each(t,(function(t,n){var o=0;i.each(this.stateList,(function(t){o|=l(e,t,n)||l(e.target,t,n)}),this),!o&&i.each(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=r.get(n,"inRange"===t?"active":"inactive",s)}))}),this),o.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(e,t){var n=this.option,o=this._pieceList,a=(t?n:e).selected||{};if(n.selected=a,i.each(o,(function(e,t){var n=this.getSelectedMapKey(e);a.hasOwnProperty(n)||(a[n]=!0)}),this),"single"===n.selectedMode){var r=!1;i.each(o,(function(e,t){var n=this.getSelectedMapKey(e);a[n]&&(r?a[n]=!1:r=!0)}),this)}},getSelectedMapKey:function(e){return"categories"===this._mode?e.value+"":e.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=i.clone(e)},getValueState:function(e){var t=a.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var i=[],o=n.getData();o.each(this.getDataDimension(o),(function(t,n){a.findPieceIndex(t,this._pieceList)===e&&i.push(n)}),this),t.push({seriesId:n.id,dataIndex:i})}),this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},getVisualMeta:function(e){if(!this.isCategory()){var t=[],n=[],o=this,a=this._pieceList.slice();if(a.length){var r=a[0].interval[0];r!==-1/0&&a.unshift({interval:[-1/0,r]}),(r=a[a.length-1].interval[1])!==1/0&&a.push({interval:[r,1/0]})}else a.push({interval:[-1/0,1/0]});var s=-1/0;return i.each(a,(function(e){var t=e.interval;t&&(t[0]>s&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])}),this),{stops:t,outerColors:n}}function l(i,a){var r=o.getRepresentValue({interval:i});a||(a=o.getValueState(r));var s=e(r,a);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:t.push({value:i[0],color:s},{value:i[1],color:s})}}}),u={splitNumber:function(){var e=this.option,t=this._pieceList,n=Math.min(e.precision,20),o=this.getExtent(),a=e.splitNumber;a=Math.max(parseInt(a,10),1),e.splitNumber=a;for(var r=(o[1]-o[0])/a;+r.toFixed(n)!==r&&n<5;)n++;e.precision=n,r=+r.toFixed(n),e.minOpen&&t.push({interval:[-1/0,o[0]],close:[0,0]});for(var l=0,u=o[0];l<a;u+=r,l++){var c=l===a-1?o[1]:u+r;t.push({interval:[u,c],close:[1,1]})}e.maxOpen&&t.push({interval:[o[1],1/0],close:[0,0]}),s(t),i.each(t,(function(e,t){e.index=t,e.text=this.formatValueText(e.interval)}),this)},categories:function(){var e=this.option;i.each(e.categories,(function(e){this._pieceList.push({text:this.formatValueText(e,!0),value:e})}),this),c(e,this._pieceList)},pieces:function(){var e=this.option,t=this._pieceList;i.each(e.pieces,(function(e,n){i.isObject(e)||(e={value:e});var o={text:"",index:n};if(null!=e.label&&(o.text=e.label),e.hasOwnProperty("value")){var r=o.value=e.value;o.interval=[r,r],o.close=[1,1]}else{for(var s=o.interval=[],l=o.close=[0,0],u=[1,0,1],c=[-1/0,1/0],d=[],h=0;h<2;h++){for(var p=[["gte","gt","min"],["lte","lt","max"]][h],g=0;g<3&&null==s[h];g++)s[h]=e[p[g]],l[h]=u[g],d[h]=2===g;null==s[h]&&(s[h]=c[h])}d[0]&&s[1]===1/0&&(l[0]=0),d[1]&&s[0]===-1/0&&(l[1]=0),s[0]===s[1]&&l[0]&&l[1]&&(o.value=s[0])}o.visual=a.retrieveVisuals(e),t.push(o)}),this),c(e,t),s(t),i.each(t,(function(e){var t=e.close,n=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)}),this)}};function c(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var d=l;e.exports=d},C0tN:function(e,t,n){n("0o9m"),n("8Uz6"),n("Ducp"),n("6/nd")},CBdT:function(e,t,n){var i=n("ProS");n("8waO"),n("AEZ6"),n("YNf1");var o=n("q3GZ");i.registerVisual(o)},CF2D:function(e,t,n){var i=n("ProS");n("vZI5"),n("GeKi");var o=n("6r85"),a=n("TJmX"),r=n("CbHG");i.registerPreprocessor(o),i.registerVisual(a),i.registerLayout(r)},"CMP+":function(e,t,n){var i=n("bYtY"),o=n("hM6l"),a=function(e,t,n,i){o.call(this,e,t,n),this.type=i||"value",this.model=null};a.prototype={constructor:a,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},i.inherits(a,o);var r=a;e.exports=r},CPca:function(e,t,n){},CbHG:function(e,t,n){var i=n("IwbS").subPixelOptimize,o=n("zM3Q"),a=n("OELB").parsePercent,r=n("bYtY").retrieve2,s="undefined"!=typeof Float32Array?Float32Array:Array,l={seriesType:"candlestick",plan:o(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),o=function(e,t){var n,i=e.getBaseAxis(),o="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/t.count()),s=a(r(e.get("barMaxWidth"),o),o),l=a(r(e.get("barMinWidth"),1),o),u=e.get("barWidth");return null!=u?a(u,o):Math.max(Math.min(o/2,s),l)}(e,n),l=["x","y"],c=n.mapDimension(l[0]),d=n.mapDimension(l[1],!0),h=d[0],p=d[1],g=d[2],f=d[3];if(n.setLayout({candleWidth:o,isSimpleBox:o<=1.3}),!(null==c||d.length<4))return{progress:e.pipelineContext.large?function(e,n){var i,o,a=new s(4*e.count),r=0,l=[],d=[];for(;null!=(o=e.next());){var m=n.get(c,o),v=n.get(h,o),y=n.get(p,o),x=n.get(g,o),_=n.get(f,o);isNaN(m)||isNaN(x)||isNaN(_)?(a[r++]=NaN,r+=3):(a[r++]=u(n,o,v,y,p),l[0]=m,l[1]=x,i=t.dataToPoint(l,null,d),a[r++]=i?i[0]:NaN,a[r++]=i?i[1]:NaN,l[1]=_,i=t.dataToPoint(l,null,d),a[r++]=i?i[1]:NaN)}n.setLayout("largePoints",a)}:function(e,n){var a;for(;null!=(a=e.next());){var r=n.get(c,a),s=n.get(h,a),l=n.get(p,a),d=n.get(g,a),m=n.get(f,a),v=Math.min(s,l),y=Math.max(s,l),x=M(v,r),_=M(y,r),b=M(d,r),S=M(m,r),w=[];I(w,_,0),I(w,x,1),w.push(T(S),T(_),T(b),T(x)),n.setItemLayout(a,{sign:u(n,a,s,l,p),initBaseline:s>l?_[1]:x[1],ends:w,brushRect:A(d,m,r)})}function M(e,n){var i=[];return i[0]=n,i[1]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(i)}function I(e,t,n){var a=t.slice(),r=t.slice();a[0]=i(a[0]+o/2,1,!1),r[0]=i(r[0]-o/2,1,!0),n?e.push(a,r):e.push(r,a)}function A(e,t,n){var i=M(e,n),a=M(t,n);return i[0]-=o/2,a[0]-=o/2,{x:i[0],y:i[1],width:o,height:a[1]-i[1]}}function T(e){return e[0]=i(e[0],1),e}}}}};function u(e,t,n,i,o){return n>i?-1:n<i?1:t>0?e.get(o,t-1)<=i?1:-1:1}e.exports=l},Cm0C:function(e,t,n){n("5NHt"),n("f3JH")},D1WM:function(e,t,n){var i=n("bYtY"),o=n("hM6l"),a=function(e,t,n,i,a){o.call(this,e,t,n),this.type=i||"value",this.axisIndex=a};a.prototype={constructor:a,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},i.inherits(a,o);var r=a;e.exports=r},D5tj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("mr32"));t.TagInfo=function(e,t){var n="#e74c3c";n="高"===e?"#e67e22":"正常"===e?"#28be6c":"低"===e?"#1abc9c":"#e74c3c";return o.default.createElement(i.default,{color:n,className:t,style:{height:"25px",lineHeight:"23px"}},e)},n("0lcf");var o=a(n("q1tI"));function a(e){return e&&e.__esModule?e:{default:e}}},D9ME:function(e,t,n){var i=n("IwbS"),o=n("fls0"),a=n("bYtY"),r=n("oVpE").createSymbol,s=n("QBsz"),l=n("Sj9i");function u(e,t,n){i.Group.call(this),this.add(this.createLine(e,t,n)),this._updateEffectSymbol(e,t)}var c=u.prototype;c.createLine=function(e,t,n){return new o(e,t,n)},c._updateEffectSymbol=function(e,t){var n=e.getItemModel(t).getModel("effect"),i=n.get("symbolSize"),o=n.get("symbol");a.isArray(i)||(i=[i,i]);var s=n.get("color")||e.getItemVisual(t,"color"),l=this.childAt(1);this._symbolType!==o&&(this.remove(l),(l=r(o,-.5,-.5,1,1,s)).z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",s),l.setStyle(n.getItemStyle(["color"])),l.attr("scale",i),l.setColor(s),l.attr("scale",i),this._symbolType=o,this._symbolScale=i,this._updateEffectAnimation(e,n,t))},c._updateEffectAnimation=function(e,t,n){var i=this.childAt(1);if(i){var o=this,r=e.getItemLayout(n),s=1e3*t.get("period"),l=t.get("loop"),u=t.get("constantSpeed"),c=a.retrieve(t.get("delay"),(function(t){return t/e.count()*s/3})),d="function"==typeof c;if(i.ignore=!0,this.updateAnimationPoints(i,r),u>0&&(s=this.getLineLength(i)/u*1e3),s!==this._period||l!==this._loop){i.stopAnimation();var h=c;d&&(h=c(n)),i.__t>0&&(h=-s*i.__t),i.__t=0;var p=i.animate("",l).when(s,{__t:1}).delay(h).during((function(){o.updateSymbolPosition(i)}));l||p.done((function(){o.remove(i)})),p.start()}this._period=s,this._loop=l}},c.getLineLength=function(e){return s.dist(e.__p1,e.__cp1)+s.dist(e.__cp1,e.__p2)},c.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]},c.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},c.updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,i=e.__cp1,o=e.__t,a=e.position,r=[a[0],a[1]],u=l.quadraticAt,c=l.quadraticDerivativeAt;a[0]=u(t[0],i[0],n[0],o),a[1]=u(t[1],i[1],n[1],o);var d=c(t[0],i[0],n[0],o),h=c(t[1],i[1],n[1],o);if(e.rotation=-Math.atan2(h,d)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==e.__lastT&&e.__lastT<e.__t){var p=1.05*s.dist(r,a);e.attr("scale",[e.scale[0],p]),1===o&&(a[0]=r[0]+(a[0]-r[0])/2,a[1]=r[1]+(a[1]-r[1])/2)}else if(1===e.__lastT){p=2*s.dist(t,a);e.attr("scale",[e.scale[0],p])}else e.attr("scale",this._symbolScale);e.__lastT=e.__t,e.ignore=!1},c.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var n=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,n,t)},a.inherits(u,i.Group);var d=u;e.exports=d},DBLp:function(e,t){function n(){}function i(e,t,n,i){for(var o=0,a=t.length,r=0,s=0;o<a;o++){var l=t[o];if(l.removed){for(u=[],c=s;c<s+l.count;c++)u.push(c);l.indices=u,s+=l.count}else{for(var u=[],c=r;c<r+l.count;c++)u.push(c);l.indices=u,r+=l.count,l.added||(s+=l.count)}}return t}n.prototype={diff:function(e,t,n){n||(n=function(e,t){return e===t}),this.equals=n;var o=this;e=e.slice();var a=(t=t.slice()).length,r=e.length,s=1,l=a+r,u=[{newPos:-1,components:[]}],c=this.extractCommon(u[0],t,e,0);if(u[0].newPos+1>=a&&c+1>=r){for(var d=[],h=0;h<t.length;h++)d.push(h);return[{indices:d,count:t.length}]}function p(){for(var n=-1*s;n<=s;n+=2){var l,c=u[n-1],d=u[n+1],h=(d?d.newPos:0)-n;c&&(u[n-1]=void 0);var p=c&&c.newPos+1<a,g=d&&0<=h&&h<r;if(p||g){if(!p||g&&c.newPos<d.newPos?(l={newPos:(f=d).newPos,components:f.components.slice(0)},o.pushComponent(l.components,void 0,!0)):((l=c).newPos++,o.pushComponent(l.components,!0,void 0)),h=o.extractCommon(l,t,e,n),l.newPos+1>=a&&h+1>=r)return i(o,l.components,t,e);u[n]=l}else u[n]=void 0}var f;s++}for(;s<=l;){var g=p();if(g)return g}},pushComponent:function(e,t,n){var i=e[e.length-1];i&&i.added===t&&i.removed===n?e[e.length-1]={count:i.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,i){for(var o=t.length,a=n.length,r=e.newPos,s=r-i,l=0;r+1<o&&s+1<a&&this.equals(t[r+1],n[s+1]);)r++,s++,l++;return l&&e.components.push({count:l}),e.newPos=r,s},tokenize:function(e){return e.slice()},join:function(e){return e.slice()}};var o=new n;e.exports=function(e,t,n){return o.diff(e,t,n)}},"DDd/":function(e,t,n){var i=n("bYtY"),o=function(e){return e.get("autoCurveness")||null},a=function(e,t){var n=o(e),a=20,r=[];if("number"==typeof n)a=n;else if(i.isArray(n))return void(e.__curvenessList=n);t>a&&(a=t);var s=a%2?a+2:a+3;r=[];for(var l=0;l<s;l++)r.push((l%2?l+1:l)/10*(l%2?-1:1));e.__curvenessList=r},r=function(e,t,n){var i=[e.id,e.dataIndex].join("."),o=[t.id,t.dataIndex].join(".");return[n.uid,i,o].join("--\x3e")},s=function(e){var t=e.split("--\x3e");return[t[0],t[2],t[1]].join("--\x3e")},l=function(e,t){var n=t.__edgeMap;return n[e]?n[e].length:0};t.initCurvenessList=function(e){o(e)&&(e.__curvenessList=[],e.__edgeMap={},a(e))},t.createEdgeMapForCurveness=function(e,t,n,i){if(o(n)){var a=r(e,t,n),l=n.__edgeMap,u=l[s(a)];l[a]&&!u?l[a].isForward=!0:u&&l[a]&&(u.isForward=!0,l[a].isForward=!1),l[a]=l[a]||[],l[a].push(i)}},t.getCurvenessForEdge=function(e,t,n,u){var c=o(t),d=i.isArray(c);if(!c)return null;var h=function(e,t){var n=r(e.node1,e.node2,t);return t.__edgeMap[n]}(e,t);if(!h)return null;for(var p=-1,g=0;g<h.length;g++)if(h[g]===n){p=g;break}var f=function(e,t){return l(r(e.node1,e.node2,t),t)+l(r(e.node2,e.node1,t),t)}(e,t);a(t,f),e.lineStyle=e.lineStyle||{};var m=r(e.node1,e.node2,t),v=t.__curvenessList,y=d||f%2?0:1;if(h.isForward)return v[y+p];var x=s(m),_=l(x,t),b=v[p+_+y];return u?d?c&&0===c[0]?(_+y)%2?b:-b:((_%2?0:1)+y)%2?b:-b:(_+y)%2?b:-b:v[p+_+y]}},DEFe:function(e,t,n){var i=n("bYtY"),o=n("SgGq"),a=n("Ae+d"),r=n("xSat").onIrrelevantElement,s=n("IwbS"),l=n("W4dC"),u=n("iRjW").getUID,c=n("DN4a");function d(e){var t=e.getItemStyle(),n=e.get("areaColor");return null!=n&&(t.fill=n),t}function h(e,t){t.eachChild((function(t){i.each(t.__regions,(function(n){t.trigger(e.isSelected(n.name)?"emphasis":"normal")}))}))}function p(e,t){var n=new s.Group;this.uid=u("ec_map_draw"),this._controller=new o(e.getZr()),this._controllerHost={target:t?n:null},this.group=n,this._updateGroup=t,this._mouseDownFlag,this._mapName,this._initialized,n.add(this._regionsGroup=new s.Group),n.add(this._backgroundGroup=new s.Group)}p.prototype={constructor:p,draw:function(e,t,n,o,a){var r="geo"===e.mainType,l=e.getData&&e.getData();r&&t.eachComponent({mainType:"series",subType:"map"},(function(t){l||t.getHostGeoModel()!==e||(l=t.getData())}));var u=e.coordinateSystem;this._updateBackground(u);var p,g=this._regionsGroup,f=this.group,m=u.getTransformInfo(),v=!g.childAt(0)||a;if(v)f.transform=m.roamTransform,f.decomposeTransform(),f.dirty();else{var y=new c;y.transform=m.roamTransform,y.decomposeTransform();var x={scale:y.scale,position:y.position};p=y.scale,s.updateProps(f,x,e)}var _=m.rawScale,b=m.rawPosition;g.removeAll();var S=["itemStyle"],w=["emphasis","itemStyle"],M=["label"],I=["emphasis","label"],A=i.createHashMap();i.each(u.regions,(function(t){var n=A.get(t.name)||A.set(t.name,new s.Group),o=new s.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});n.add(o);var a,u=(V=e.getRegionModel(t.name)||e).getModel(S),c=V.getModel(w),h=d(u),m=d(c),y=V.getModel(M),x=V.getModel(I);if(l){a=l.indexOfName(t.name);var T=l.getItemVisual(a,"color",!0);T&&(h.fill=T)}var D=function(e){return[e[0]*_[0]+b[0],e[1]*_[1]+b[1]]};i.each(t.geometries,(function(e){if("polygon"===e.type){for(var t=[],n=0;n<e.exterior.length;++n)t.push(D(e.exterior[n]));o.shape.paths.push(new s.Polygon({segmentIgnoreThreshold:1,shape:{points:t}}));for(n=0;n<(e.interiors?e.interiors.length:0);++n){for(var i=e.interiors[n],a=(t=[],0);a<i.length;++a)t.push(D(i[a]));o.shape.paths.push(new s.Polygon({segmentIgnoreThreshold:1,shape:{points:t}}))}}})),o.setStyle(h),o.style.strokeNoScale=!0,o.culling=!0;var C=y.get("show"),L=x.get("show"),P=l&&isNaN(l.get(l.mapDimension("value"),a)),k=l&&l.getItemLayout(a);if(r||P&&(C||L)||k&&k.showLabel){var N,E=r?t.name:a;(!l||a>=0)&&(N=e);var O=new s.Text({position:D(t.center.slice()),scale:[1/f.scale[0],1/f.scale[1]],z2:10,silent:!0});if(s.setLabelStyle(O.style,O.hoverStyle={},y,x,{labelFetcher:N,labelDataIndex:E,defaultText:t.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!v){var R=[1/p[0],1/p[1]];s.updateProps(O,{scale:R},e)}n.add(O)}if(l)l.setItemGraphicEl(a,n);else{var V=e.getRegionModel(t.name);o.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:t.name,region:V&&V.option||{}}}(n.__regions||(n.__regions=[])).push(t),n.highDownSilentOnTouch=!!e.get("selectedMode"),s.setHoverStyle(n,m),g.add(n)})),this._updateController(e,t,n),function(e,t,n,o,a){n.off("click"),n.off("mousedown"),t.get("selectedMode")&&(n.on("mousedown",(function(){e._mouseDownFlag=!0})),n.on("click",(function(r){if(e._mouseDownFlag){e._mouseDownFlag=!1;for(var s=r.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===t.mainType?"geo":"map")+"ToggleSelect",batch:i.map(s.__regions,(function(e){return{name:e.name,from:a.uid}}))};l[t.mainType+"Id"]=t.id,o.dispatchAction(l),h(t,n)}}})))}(this,e,g,n,o),h(e,g)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&l.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var t=e.map;this._mapName!==t&&i.each(l.makeGraphic(t,this.uid),(function(e){this._backgroundGroup.add(e)}),this),this._mapName=t},_updateController:function(e,t,n){var o=e.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=o.getZoom(),s.enable(e.get("roam")||!1);var u=e.mainType;function c(){var t={type:"geoRoam",componentType:u};return t[u+"Id"]=e.id,t}s.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,a.updateViewOnPan(l,e.dx,e.dy),n.dispatchAction(i.extend(c(),{dx:e.dx,dy:e.dy}))}),this),s.off("zoom").on("zoom",(function(e){if(this._mouseDownFlag=!1,a.updateViewOnZoom(l,e.scale,e.originX,e.originY),n.dispatchAction(i.extend(c(),{zoom:e.scale,originX:e.originX,originY:e.originY})),this._updateGroup){var t=this.group.scale;this._regionsGroup.traverse((function(e){"text"===e.type&&e.attr("scale",[1/t[0],1/t[1]])}))}}),this),s.setPointerChecker((function(t,i,a){return o.getViewRectAfterRoam().contain(i,a)&&!r(t,n,e)}))}};var g=p;e.exports=g},Dg8C:function(e,t,n){var i=n("XxSj"),o=n("bYtY");e.exports=function(e,t){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph().nodes;if(t.length){var n=1/0,a=-1/0;o.each(t,(function(e){var t=e.getLayout().value;t<n&&(n=t),t>a&&(a=t)})),o.each(t,(function(t){var o=new i({type:"color",mappingMethod:"linear",dataExtent:[n,a],visual:e.get("color")}).mapValueToVisual(t.getLayout().value),r=t.getModel().get("itemStyle.color");null!=r?t.setVisual("color",r):t.setVisual("color",o)}))}}))}},Dmw4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=v(n("NUBc")),o=v(n("2fM7")),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,a=void 0;try{for(var r,s=e[Symbol.iterator]();!(i=(r=s.next()).done)&&(n.push(r.value),!t||n.length!==t);i=!0);}catch(e){o=!0,a=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("YQTV"),n("8QGh");var s=n("q1tI"),l=v(s);n("CPca"),n("AH3D"),n("Ynxi"),n("0o9m"),n("2w7y");var u=n("spEH"),c=v(n("w2vr")),d=v(n("8fsc")),h=v(n("NmTA")),p=v(n("G3hu")),g=v(n("wd/R")),f=v(n("vDqi")),m=v(n("2CTR"));function v(e){return e&&e.__esModule?e:{default:e}}var y=o.default.Option;t.default=function(e){var t=(0,s.useState)(1),n=r(t,2),v=n[0],x=n[1],_=(0,s.useState)(0),b=r(_,2),S=b[0],w=b[1],M=(0,s.useState)(void 0),I=r(M,2),A=I[0],T=I[1],D=(0,s.useState)((0,g.default)().get("year")),C=r(D,2),L=C[0],P=C[1],k=(0,s.useState)(void 0),N=r(k,2),E=N[0],O=N[1],R=(0,s.useState)(void 0),V=r(R,2),z=V[0],B=V[1],G=(0,s.useState)(void 0),Y=r(G,2),H=Y[0],W=Y[1],F=e.match.params.username,j=e.current_user,Z=e.user;return(0,s.useEffect)((function(){if(Z){for(var e=Z.created_time&&Z.created_time.split("-")[0],t=[],n=(0,g.default)().get("year");n>=parseInt(e,0);n--)t.push(n);O(t)}}),[Z]),(0,s.useEffect)((function(){var e;e="/users/"+F+"/project_trends.json",f.default.get(e,{params:{date:z,limit:5,page:v}}).then((function(e){e&&e.data&&(T(e.data.project_trends),w(e.data.total_count))})).catch((function(e){}))}),[z,v]),(0,s.useEffect)((function(){var e;e="/users/"+F+"/statistics/activity.json",f.default.get(e).then((function(e){e&&e.data&&W(e.data)})).catch((function(e){}))}),[]),l.default.createElement("div",null,l.default.createElement("div",null,l.default.createElement(h.default,a({},e,{userLogin:F,current:j&&j.login===F}))),l.default.createElement("div",{className:"recentStatic"},l.default.createElement("p",{className:"font-18 mb15"},"近期活动统计"),l.default.createElement("div",{className:"echartBox"},l.default.createElement(c.default,{data:H}))),l.default.createElement("div",{className:"calendarStatic"},l.default.createElement(u.FlexAJ,{style:{marginBottom:"15px"}},l.default.createElement("span",{className:"font-18"},"贡献度"),l.default.createElement(o.default,{style:{width:"200px"},placeholder:"选择年份",value:L,onSelect:function(e){P(e),B(void 0)}},E&&E.map((function(e,t){return l.default.createElement(y,{key:e},e)})))),l.default.createElement("div",{className:"echartBox"},l.default.createElement(d.default,{time:L,userLogin:F,chooseTime:function(e){e&&(x(1),B(e[0]))}}))),l.default.createElement("div",{className:"activeStatic"},l.default.createElement("span",{className:"font-18"},"动态"),A&&A.length>0&&l.default.createElement(p.default,{list:A}),A&&0===A.length&&l.default.createElement(m.default,{_html:"暂无动态"}),S>5&&l.default.createElement("div",{style:{textAlign:"center",paddingBottom:"30px"}},l.default.createElement(i.default,{pageSize:5,current:v,total:S,onChange:function(e){return x(e)}}))))}},Ducp:function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a=n("+TT/"),r=n("XpcN"),s=o.Group,l=["width","height"],u=["x","y"],c=r.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(e,t,n,a,r,s,l){var u=this;c.superCall(this,"renderInner",e,t,n,a,r,s,l);var d=this._controllerGroup,h=t.get("pageIconSize",!0);i.isArray(h)||(h=[h,h]),g("pagePrev",0);var p=t.getModel("pageTextStyle");function g(e,n){var r=e+"DataIndex",s=o.createIcon(t.get("pageIcons",!0)[t.getOrient().name][n],{onclick:i.bind(u._pageGo,u,r,t,a)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});s.name=e,d.add(s)}d.add(new o.Text({name:"pageText",style:{textFill:p.getTextColor(),font:p.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),g("pageNext",1)},layoutInner:function(e,t,n,o,r,s){var c=this.getSelectorGroup(),d=e.getOrient().index,h=l[d],p=u[d],g=l[1-d],f=u[1-d];r&&a.box("horizontal",c,e.get("selectorItemGap",!0));var m=e.get("selectorButtonGap",!0),v=c.getBoundingRect(),y=[-v.x,-v.y],x=i.clone(n);r&&(x[h]=n[h]-v[h]-m);var _=this._layoutContentAndController(e,o,x,d,h,g,f);if(r){if("end"===s)y[d]+=_[h]+m;else{var b=v[h]+m;y[d]-=b,_[p]-=b}_[h]+=v[h]+m,y[1-d]+=_[f]+_[g]/2-v[g]/2,_[g]=Math.max(_[g],v[g]),_[f]=Math.min(_[f],v[f]+y[1-d]),c.attr("position",y)}return _},_layoutContentAndController:function(e,t,n,r,s,l,u){var c=this.getContentGroup(),d=this._containerGroup,h=this._controllerGroup;a.box(e.get("orient"),c,e.get("itemGap"),r?n.width:null,r?null:n.height),a.box("horizontal",h,e.get("pageButtonItemGap",!0));var p=c.getBoundingRect(),g=h.getBoundingRect(),f=this._showController=p[s]>n[s],m=[-p.x,-p.y];t||(m[r]=c.position[r]);var v=[0,0],y=[-g.x,-g.y],x=i.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));f&&("end"===e.get("pageButtonPosition",!0)?y[r]+=n[s]-g[s]:v[r]+=g[s]+x);y[1-r]+=p[l]/2-g[l]/2,c.attr("position",m),d.attr("position",v),h.attr("position",y);var _={x:0,y:0};if(_[s]=f?n[s]:p[s],_[l]=Math.max(p[l],g[l]),_[u]=Math.min(0,g[u]+y[1-r]),d.__rectSize=n[s],f){var b={x:0,y:0};b[s]=Math.max(n[s]-g[s]-x,0),b[l]=_[l],d.setClipPath(new o.Rect({shape:b})),d.__rectSize=b[s]}else h.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var S=this._getPageInfo(e);return null!=S.pageIndex&&o.updateProps(c,{position:S.contentPosition},!!f&&e),this._updatePageInfoView(e,S),_},_pageGo:function(e,t,n){var i=this._getPageInfo(t)[e];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:t.id})},_updatePageInfoView:function(e,t){var n=this._controllerGroup;i.each(["pagePrev","pageNext"],(function(i){var o=null!=t[i+"DataIndex"],a=n.childOfName(i);a&&(a.setStyle("fill",o?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")}));var o=n.childOfName("pageText"),a=e.get("pageFormatter"),r=t.pageIndex,s=null!=r?r+1:0,l=t.pageCount;o&&a&&o.setStyle("text",i.isString(a)?a.replace("{current}",s).replace("{total}",l):a({current:s,total:l}))},_getPageInfo:function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,o=e.getOrient().index,a=l[o],r=u[o],s=this._findTargetItemIndex(t),c=n.children(),d=c[s],h=c.length,p=h?1:0,g={contentPosition:n.position.slice(),pageCount:p,pageIndex:p-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!d)return g;var f=_(d);g.contentPosition[o]=-f.s;for(var m=s+1,v=f,y=f,x=null;m<=h;++m)(!(x=_(c[m]))&&y.e>v.s+i||x&&!b(x,v.s))&&(v=y.i>v.i?y:x)&&(null==g.pageNextDataIndex&&(g.pageNextDataIndex=v.i),++g.pageCount),y=x;for(m=s-1,v=f,y=f,x=null;m>=-1;--m)(x=_(c[m]))&&b(y,x.s)||!(v.i<y.i)||(y=v,null==g.pagePrevDataIndex&&(g.pagePrevDataIndex=v.i),++g.pageCount,++g.pageIndex),v=x;return g;function _(e){if(e){var t=e.getBoundingRect(),n=t[r]+e.position[o];return{s:n,e:n+t[a],i:e.__legendDataIndex}}}function b(e,t){return e.e>=t&&e.s<=t+i}},_findTargetItemIndex:function(e){return this._showController?(this.getContentGroup().eachChild((function(i,o){var a=i.__legendDataIndex;null==n&&null!=a&&(n=o),a===e&&(t=o)})),null!=t?t:n):0;var t,n}}),d=c;e.exports=d},EMyp:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("mFDi"),r=n("K4ya"),s=n("qJCg"),l=n("iLNv"),u=n("vZ6x"),c=["inBrush","outOfBrush"],d=i.PRIORITY.VISUAL.BRUSH;function h(e){e.eachComponent({mainType:"brush"},(function(t){(t.brushTargetManager=new u(t.option,e)).setInputRanges(t.areas,e)}))}function p(e,t){if(!e.isDisposed()){var n=e.getZr();n.__ecInBrushSelectEvent=!0,e.dispatchAction({type:"brushSelect",batch:t}),n.__ecInBrushSelectEvent=!1}}function g(e,t,n,i){for(var o=0,a=t.length;o<a;o++){var r=t[o];if(e[r.brushType](i,n,r.selectors,r))return!0}}function f(e){var t=e.brushSelector;if(o.isString(t)){var n=[];return o.each(s,(function(e,i){n[i]=function(n,i,o,a){var r=i.getItemLayout(n);return e[t](r,o,a)}})),n}if(o.isFunction(t)){var i={};return o.each(s,(function(e,n){i[n]=t})),i}return t}i.registerLayout(d,(function(e,t,n){e.eachComponent({mainType:"brush"},(function(e){n&&"takeGlobalCursor"===n.type&&e.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),h(e)})),i.registerVisual(d,(function(e,t,n){var i,a,u=[];e.eachComponent({mainType:"brush"},(function(t,n){var l={brushId:t.id,brushIndex:n,brushName:t.name,areas:o.clone(t.areas),selected:[]};u.push(l);var d=t.option,h=d.brushLink,p=[],v=[],y=[],x=0;n||(i=d.throttleType,a=d.throttleDelay);var _=o.map(t.areas,(function(e){return function(e){var t=e.selectors={};return o.each(s[e.brushType],(function(n,i){t[i]=function(i){return n(i,t,e)}})),e}(o.defaults({boundingRect:m[e.brushType](e)},e))})),b=r.createVisualMappings(t.option,c,(function(e){e.mappingMethod="fixed"}));function S(e){return"all"===h||p[e]}function w(e){return!!e.length}o.isArray(h)&&o.each(h,(function(e){p[e]=1})),e.eachSeries((function(n,i){var a=y[i]=[];"parallel"===n.subType?function(e,t){var n=e.coordinateSystem;x|=n.hasAxisBrushed(),S(t)&&n.eachActiveState(e.getData(),(function(e,t){"active"===e&&(v[t]=1)}))}(n,i):function(n,i,a){var r=f(n);if(!r||function(e,t){var n=e.option.seriesIndex;return null!=n&&"all"!==n&&(o.isArray(n)?o.indexOf(n,t)<0:t!==n)}(t,i))return;if(o.each(_,(function(i){r[i.brushType]&&t.brushTargetManager.controlSeries(i,n,e)&&a.push(i),x|=w(a)})),S(i)&&w(a)){var s=n.getData();s.each((function(e){g(r,a,s,e)&&(v[e]=1)}))}}(n,i,a)})),e.eachSeries((function(e,t){var n={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]};l.selected.push(n);var i=f(e),o=y[t],a=e.getData(),s=S(t)?function(e){return v[e]?(n.dataIndex.push(a.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(e){return g(i,o,a,e)?(n.dataIndex.push(a.getRawIndex(e)),"inBrush"):"outOfBrush"};(S(t)?x:w(o))&&r.applyVisual(c,b,a,s)}))})),function(e,t,n,i,o){if(!o)return;var a=e.getZr();if(a.__ecInBrushSelectEvent)return;a.__ecBrushSelect||(a.__ecBrushSelect=p);l.createOrUpdate(a,"__ecBrushSelect",n,t)(e,i)}(t,i,a,u,n)}));var m={lineX:o.noop,lineY:o.noop,rect:function(e){return v(e.range)},polygon:function(e){for(var t,n=e.range,i=0,o=n.length;i<o;i++){t=t||[[1/0,-1/0],[1/0,-1/0]];var a=n[i];a[0]<t[0][0]&&(t[0][0]=a[0]),a[0]>t[0][1]&&(t[0][1]=a[0]),a[1]<t[1][0]&&(t[1][0]=a[1]),a[1]>t[1][1]&&(t[1][1]=a[1])}return t&&v(t)}};function v(e){return new a(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}t.layoutCovers=h},ERHi:function(e,t,n){var i=n("ProS");n("Z6js"),n("R4Th");var o=n("f5Yq"),a=n("h8O9");i.registerVisual(o("effectScatter","circle")),i.registerLayout(a("effectScatter"))},F5Ls:function(e,t){var n={南海诸岛:[32,80],广东:[0,-10],香港:[10,5],澳门:[-10,10],天津:[5,5]};e.exports=function(e,t){if("china"===e){var i=n[t.name];if(i){var o=t.center;o[0]+=i[0]/10.5,o[1]+=-i[1]/14}}}},F7hV:function(e,t,n){var i=n("MBQ8").extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});e.exports=i},FNN5:function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a=n("+rIm"),r=n("Znkb"),s=["axisLine","axisTickLabel","axisName"],l=["splitLine","splitArea","minorSplitLine"],u=r.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,o=n.polar,r=o.getAngleAxis(),u=n.getTicksCoords(),c=n.getMinorTicksCoords(),d=r.getExtent()[0],h=n.getExtent(),p=function(e,t,n){return{position:[e.cx,e.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}(o,e,d),g=new a(e,p);i.each(s,g.add,g),this.group.add(g.getGroup()),i.each(l,(function(t){e.get(t+".show")&&!n.scale.isBlank()&&this["_"+t](e,o,d,h,u,c)}),this)}},_splitLine:function(e,t,n,a,r){var s=e.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],d=0;d<r.length;d++){var h=u++%l.length;c[h]=c[h]||[],c[h].push(new o.Circle({shape:{cx:t.cx,cy:t.cy,r:r[d].coord}}))}for(d=0;d<c.length;d++)this.group.add(o.mergePath(c[d],{style:i.defaults({stroke:l[d%l.length],fill:null},s.getLineStyle()),silent:!0}))},_minorSplitLine:function(e,t,n,a,r,s){if(s.length){for(var l=e.getModel("minorSplitLine").getModel("lineStyle"),u=[],c=0;c<s.length;c++)for(var d=0;d<s[c].length;d++)u.push(new o.Circle({shape:{cx:t.cx,cy:t.cy,r:s[c][d].coord}}));this.group.add(o.mergePath(u,{style:i.defaults({fill:null},l.getLineStyle()),silent:!0}))}},_splitArea:function(e,t,n,a,r){if(r.length){var s=e.getModel("splitArea").getModel("areaStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],d=r[0].coord,h=1;h<r.length;h++){var p=u++%l.length;c[p]=c[p]||[],c[p].push(new o.Sector({shape:{cx:t.cx,cy:t.cy,r0:d,r:r[h].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),d=r[h].coord}for(h=0;h<c.length;h++)this.group.add(o.mergePath(c[h],{style:i.defaults({fill:l[h%l.length]},s.getAreaStyle()),silent:!0}))}}});e.exports=u},"Fa/5":function(e,t,n){var i=n("ProS");n("y2l5"),n("q/+u");var o=n("f5Yq"),a=n("h8O9");n("Ae16"),i.registerVisual(o("scatter","circle")),i.registerLayout(a("scatter"))},G3hu:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("q1tI"),a=(i=o)&&i.__esModule?i:{default:i},r=n("eO8H"),s=n("spEH"),l=n("D5tj"),u=n("sYIF");t.default=function(e){var t=e.list;return a.default.createElement("ul",{className:"infosActivity"},t.map((function(e,t){return a.default.createElement("li",null,a.default.createElement(r.Link,{to:"/"+e.user_login},a.default.createElement("img",{src:(0,u.getImageUrl)(""+e.user_avatar),alt:"",className:"aImg"})),a.default.createElement("div",{className:"aInfos"},a.default.createElement(s.AlignCenter,null,a.default.createElement(r.Link,{to:"/"+e.user_login,className:"name"},e.user_name),a.default.createElement("span",{className:"time"},e.action_time),e.priority&&(0,l.TagInfo)(""+e.priority,""),e.issue_status&&a.default.createElement("span",{className:"status"},e.issue_status)),a.default.createElement("p",{className:"aDesc"},e.action_type,"",e.name)))})))}},GVMX:function(e,t,n){var i=n("JEkh").extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});e.exports=i},GeKi:function(e,t,n){var i=n("bYtY"),o=n("6Ic6"),a=n("IwbS"),r=n("y+Vt"),s=n("sK/D").createClipPath,l=["itemStyle"],u=["emphasis","itemStyle"],c=["color","color0","borderColor","borderColor0"],d=o.extend({type:"candlestick",render:function(e,t,n){this.group.removeClipPath(),this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},incrementalPrepareRender:function(e,t,n){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,n,i){this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e){var t=e.getData(),n=this._data,i=this.group,o=t.getLayout("isSimpleBox"),r=e.get("clip",!0),s=e.coordinateSystem,l=s.getArea&&s.getArea();this._data||i.removeAll(),t.diff(n).add((function(n){if(t.hasValue(n)){var s,u=t.getItemLayout(n);if(r&&g(l,u))return;s=p(u,n,!0),a.initProps(s,{shape:{points:u.ends}},e,n),f(s,t,n,o),i.add(s),t.setItemGraphicEl(n,s)}})).update((function(s,u){var c=n.getItemGraphicEl(u);if(t.hasValue(s)){var d=t.getItemLayout(s);r&&g(l,d)?i.remove(c):(c?a.updateProps(c,{shape:{points:d.ends}},e,s):c=p(d,s),f(c,t,s,o),i.add(c),t.setItemGraphicEl(s,c))}else i.remove(c)})).remove((function(e){var t=n.getItemGraphicEl(e);t&&i.remove(t)})).execute(),this._data=t},_renderLarge:function(e){this._clear(),y(e,this.group);var t=e.get("clip",!0)?s(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},_incrementalRenderNormal:function(e,t){for(var n,i=t.getData(),o=i.getLayout("isSimpleBox");null!=(n=e.next());){var a;f(a=p(i.getItemLayout(n),n),i,n,o),a.incremental=!0,this.group.add(a)}},_incrementalRenderLarge:function(e,t){y(t,this.group,!0)},remove:function(e){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:i.noop}),h=r.extend({type:"normalCandlestickBox",shape:{},buildPath:function(e,t){var n=t.points;this.__simpleBox?(e.moveTo(n[4][0],n[4][1]),e.lineTo(n[6][0],n[6][1])):(e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]),e.lineTo(n[3][0],n[3][1]),e.closePath(),e.moveTo(n[4][0],n[4][1]),e.lineTo(n[5][0],n[5][1]),e.moveTo(n[6][0],n[6][1]),e.lineTo(n[7][0],n[7][1]))}});function p(e,t,n){var i=e.ends;return new h({shape:{points:n?m(i,e):i},z2:100})}function g(e,t){for(var n=!0,i=0;i<t.ends.length;i++)if(e.contain(t.ends[i][0],t.ends[i][1])){n=!1;break}return n}function f(e,t,n,i){var o=t.getItemModel(n),r=o.getModel(l),s=t.getItemVisual(n,"color"),d=t.getItemVisual(n,"borderColor")||s,h=r.getItemStyle(c);e.useStyle(h),e.style.strokeNoScale=!0,e.style.fill=s,e.style.stroke=d,e.__simpleBox=i;var p=o.getModel(u).getItemStyle();a.setHoverStyle(e,p)}function m(e,t){return i.map(e,(function(e){return(e=e.slice())[1]=t.initBaseline,e}))}var v=r.extend({type:"largeCandlestickBox",shape:{},buildPath:function(e,t){for(var n=t.points,i=0;i<n.length;)if(this.__sign===n[i++]){var o=n[i++];e.moveTo(o,n[i++]),e.lineTo(o,n[i++])}else i+=3}});function y(e,t,n){var i=e.getData(),o=i.getLayout("largePoints"),a=new v({shape:{points:o},__sign:1});t.add(a);var r=new v({shape:{points:o},__sign:-1});t.add(r),x(1,a,e,i),x(-1,r,e,i),n&&(a.incremental=!0,r.incremental=!0)}function x(e,t,n,i){var o=e>0?"P":"N",a=i.getVisual("borderColor"+o)||i.getVisual("color"+o),r=n.getModel(l).getItemStyle(c);t.useStyle(r),t.style.fill=null,t.style.stroke=a}var _=d;e.exports=_},"HF/U":function(e,t,n){var i=n("QBsz"),o=n("bYtY"),a=n("DDd/").getCurvenessForEdge;function r(e,t){e.eachEdge((function(e,n){var r=o.retrieve3(e.getModel().get("lineStyle.curveness"),-a(e,t,n,!0),0),s=i.clone(e.node1.getLayout()),l=i.clone(e.node2.getLayout()),u=[s,l];+r&&u.push([(s[0]+l[0])/2-(s[1]-l[1])*r,(s[1]+l[1])/2-(l[0]-s[0])*r]),e.setLayout(u)}))}t.simpleLayout=function(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=e.getGraph();n.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),r(n,e)}},t.simpleLayoutEdge=r},"HM/N":function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=n("/SeX"),a=n("OELB").parsePercent,r=n("aX7z"),s=r.createScaleByModel,l=r.niceScaleExtent,u=n("IDmD"),c=n("7hqr").getStackedDimension;function d(e,t){var n=this,o=n.getAngleAxis(),a=n.getRadiusAxis();if(o.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();i.each(t.mapDimension("radius",!0),(function(e){a.scale.unionExtentFromData(t,c(t,e))})),i.each(t.mapDimension("angle",!0),(function(e){o.scale.unionExtentFromData(t,c(t,e))}))}})),l(o.scale,o.model),l(a.scale,a.model),"category"===o.type&&!o.onBand){var r=o.getExtent(),s=360/o.scale.count();o.inverse?r[1]+=s:r[1]-=s,o.setExtent(r[0],r[1])}}function h(e,t){if(e.type=t.get("type"),e.scale=s(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),"angleAxis"===t.mainType){e.inverse^=t.get("clockwise");var n=t.get("startAngle");e.setExtent(n,n+(e.inverse?-360:360))}t.axis=e,e.model=t}n("ePAk");var p={dimensions:o.prototype.dimensions,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,r){var s=new o(r);s.update=d;var l=s.getRadiusAxis(),u=s.getAngleAxis(),c=e.findAxisModel("radiusAxis"),p=e.findAxisModel("angleAxis");h(l,c),h(u,p),function(e,t,n){var o=t.get("center"),r=n.getWidth(),s=n.getHeight();e.cx=a(o[0],r),e.cy=a(o[1],s);var l=e.getRadiusAxis(),u=Math.min(r,s)/2,c=t.get("radius");null==c?c=[0,"100%"]:i.isArray(c)||(c=[0,c]),c=[a(c[0],u),a(c[1],u)],l.inverse?l.setExtent(c[1],c[0]):l.setExtent(c[0],c[1])}(s,e,t),n.push(s),e.coordinateSystem=s,s.model=e})),e.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}};u.register("polar",p)},HjIi:function(e,t,n){var i=n("bYtY"),o=n("OELB").parsePercent,a=n("7hqr").isDimensionStacked;function r(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function s(e,t){return t.dim+e.model.componentIndex}var l=function(e,t,n){var l={},u=function(e,t){var n={};i.each(e,(function(e,t){var i=e.getData(),a=e.coordinateSystem,l=a.getBaseAxis(),u=s(a,l),c=l.getExtent(),d="category"===l.type?l.getBandWidth():Math.abs(c[1]-c[0])/i.count(),h=n[u]||{bandWidth:d,remainedWidth:d,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},p=h.stacks;n[u]=h;var g=r(e);p[g]||h.autoWidthCount++,p[g]=p[g]||{width:0,maxWidth:0};var f=o(e.get("barWidth"),d),m=o(e.get("barMaxWidth"),d),v=e.get("barGap"),y=e.get("barCategoryGap");f&&!p[g].width&&(f=Math.min(h.remainedWidth,f),p[g].width=f,h.remainedWidth-=f),m&&(p[g].maxWidth=m),null!=v&&(h.gap=v),null!=y&&(h.categoryGap=y)}));var a={};return i.each(n,(function(e,t){a[t]={};var n=e.stacks,r=e.bandWidth,s=o(e.categoryGap,r),l=o(e.gap,1),u=e.remainedWidth,c=e.autoWidthCount,d=(u-s)/(c+(c-1)*l);d=Math.max(d,0),i.each(n,(function(e,t){var n=e.maxWidth;n&&n<d&&(n=Math.min(n,u),e.width&&(n=Math.min(n,e.width)),u-=n,e.width=n,c--)})),d=(u-s)/(c+(c-1)*l),d=Math.max(d,0);var h,p=0;i.each(n,(function(e,t){e.width||(e.width=d),h=e,p+=e.width*(1+l)})),h&&(p-=h.width*l);var g=-p/2;i.each(n,(function(e,n){a[t][n]=a[t][n]||{offset:g,width:e.width},g+=e.width*(1+l)}))})),a}(i.filter(t.getSeriesByType(e),(function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type})));t.eachSeriesByType(e,(function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),n=e.coordinateSystem,i=n.getBaseAxis(),o=s(n,i),c=r(e),d=u[o][c],h=d.offset,p=d.width,g=n.getOtherAxis(i),f=e.coordinateSystem.cx,m=e.coordinateSystem.cy,v=e.get("barMinHeight")||0,y=e.get("barMinAngle")||0;l[c]=l[c]||[];for(var x=t.mapDimension(g.dim),_=t.mapDimension(i.dim),b=a(t,x),S="radius"!==i.dim||!e.get("roundCap",!0),w="radius"===g.dim?g.dataToRadius(0):g.dataToAngle(0),M=0,I=t.count();M<I;M++){var A,T,D,C,L=t.get(x,M),P=t.get(_,M),k=L>=0?"p":"n",N=w;if(b&&(l[c][P]||(l[c][P]={p:w,n:w}),N=l[c][P][k]),"radius"===g.dim){var E=g.dataToRadius(L)-w,O=i.dataToAngle(P);Math.abs(E)<v&&(E=(E<0?-1:1)*v),A=N,T=N+E,C=(D=O-h)-p,b&&(l[c][P][k]=T)}else{var R=g.dataToAngle(L,S)-w,V=i.dataToRadius(P);Math.abs(R)<y&&(R=(R<0?-1:1)*y),T=(A=V+h)+p,D=N,C=N+R,b&&(l[c][P][k]=C)}t.setItemLayout(M,{cx:f,cy:m,r0:A,r:T,startAngle:-D*Math.PI/180,endAngle:-C*Math.PI/180})}}}),this)};e.exports=l},Hw7h:function(e,t,n){var i=n("y+Vt").extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(e,t){var n=Math.cos,i=Math.sin,o=t.r,a=t.width,r=t.angle,s=t.x-n(r)*a*(a>=o/3?1:2),l=t.y-i(r)*a*(a>=o/3?1:2);r=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(r)*a,t.y+i(r)*a),e.lineTo(t.x+n(t.angle)*o,t.y+i(t.angle)*o),e.lineTo(t.x-n(r)*a,t.y-i(r)*a),e.lineTo(s,l)}});e.exports=i},Hxpc:function(e,t,n){var i=n("bYtY"),o=n("4NO4"),a=n("bLfw"),r=n("Qxkt"),s=n("cCMj"),l=n("7uqq"),u=a.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(e){a.prototype.init.apply(this,arguments),o.defaultEmphasis(e,"label",["show"])},optionUpdated:function(){var e=this.option,t=this;e.regions=l.getFilledRegions(e.regions,e.map,e.nameMap),this._optionModelMap=i.reduce(e.regions||[],(function(e,n){return n.name&&e.set(n.name,new r(n,t)),e}),i.createHashMap()),this.updateSelectedMap(e.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(e){return this._optionModelMap.get(e)||new r(null,this,this.ecModel)},getFormattedLabel:function(e,t){t=t||"normal";var n=this.getRegionModel(e).get(("normal"===t?"":t+".")+"label.formatter"),i={name:e};return"function"==typeof n?(i.status=t,n(i)):"string"==typeof n?n.replace("{a}",null!=e?e:""):void 0},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e}});i.mixin(u,s);var c=u;e.exports=c},"I+77":function(e,t,n){var i=n("ProS");n("h54F"),n("lwQL"),n("10cm");var o=n("Z1r0"),a=n("f5Yq"),r=n("KUOm"),s=n("3m61"),l=n("01d+"),u=n("rdor"),c=n("WGYa"),d=n("ewwo");i.registerProcessor(o),i.registerVisual(a("graph","circle",null)),i.registerVisual(r),i.registerVisual(s),i.registerLayout(l),i.registerLayout(i.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),i.registerLayout(c),i.registerCoordinateSystem("graphView",{create:d})},"I3/A":function(e,t,n){var i=n("bYtY"),o=n("YXkt"),a=n("c2i1"),r=n("Mdki"),s=n("sdST"),l=n("IDmD"),u=n("MwEJ");e.exports=function(e,t,n,c,d){for(var h=new a(c),p=0;p<e.length;p++)h.addNode(i.retrieve(e[p].id,e[p].name,p),p);var g=[],f=[],m=0;for(p=0;p<t.length;p++){var v=t[p],y=v.source,x=v.target;h.addEdge(y,x,m)&&(f.push(v),g.push(i.retrieve(v.id,y+" > "+x)),m++)}var _,b=n.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(e,n);else{var S=l.get(b),w=S&&"view"!==S.type&&S.dimensions||[];i.indexOf(w,"value")<0&&w.concat(["value"]);var M=s(e,{coordDimensions:w});(_=new o(M,n)).initData(e)}var I=new o(["value"],n);return I.initData(f,g),d&&d(_,I),r({mainData:_,struct:h,structAttr:"graph",datas:{node:_,edge:I},datasAttr:{node:"data",edge:"edgeData"}}),h.update(),h}},IUWy:function(e,t){var n={};t.register=function(e,t){n[e]=t},t.get=function(e){return n[e]}},IWNH:function(e,t,n){var i=n("T4UG"),o=n("Bsck"),a=n("7aKB").encodeHTML,r=n("Qxkt"),s=i.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(e){var t={name:e.name,children:e.data},n=e.leaves||{},i=new r(n,this,this.ecModel),a=o.createTree(t,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=a.getNodeByDataIndex(t);return n.children.length&&n.isExpand||(e.parentModel=i),e}))}));var s=0;a.eachNode("preorder",(function(e){e.depth>s&&(s=e.depth)}));var l=e.expandAndCollapse&&e.initialTreeDepth>=0?e.initialTreeDepth:s;return a.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=l})),a.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){for(var t=this.getData().tree,n=t.root.children[0],i=t.getNodeByDataIndex(e),o=i.getValue(),r=i.name;i&&i!==n;)r=i.parentNode.name+"."+r,i=i.parentNode;return a(r+(isNaN(o)||null==o?"":" : "+o))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});e.exports=s},IXuL:function(e,t,n){n("Tghj").__DEV__;var i=n("MwEJ"),o=n("T4UG").extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){return i(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});e.exports=o},IXyC:function(e,t,n){var i=n("bYtY"),o=n("bLfw");n("3zoK");var a=o.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){o.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(e){var t=this.option;e&&i.merge(t,e,!0),this._initDimensions()},contains:function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},setAxisExpand:function(e){i.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},_initDimensions:function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],n=i.filter(this.dependentModels.parallelAxis,(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);i.each(n,(function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)}))}});e.exports=a},Itpr:function(e,t,n){var i=n("+TT/");function o(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function a(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function r(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function s(e,t,n){var i=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=i,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=i}function l(e,t){return e.parentNode===t.parentNode?1:2}t.init=function(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var t,n,i=[e];t=i.pop();)if(n=t.children,t.isExpand&&n.length)for(var o=n.length-1;o>=0;o--){var a=n[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(a)}},t.firstWalk=function(e,t){var n=e.isExpand?e.children:[],i=e.parentNode.children,l=e.hierNode.i?i[e.hierNode.i-1]:null;if(n.length){!function(e){var t=e.children,n=t.length,i=0,o=0;for(;--n>=0;){var a=t[n];a.hierNode.prelim+=i,a.hierNode.modifier+=i,o+=a.hierNode.change,i+=a.hierNode.shift+o}}(e);var u=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;l?(e.hierNode.prelim=l.hierNode.prelim+t(e,l),e.hierNode.modifier=e.hierNode.prelim-u):e.hierNode.prelim=u}else l&&(e.hierNode.prelim=l.hierNode.prelim+t(e,l));e.parentNode.hierNode.defaultAncestor=function(e,t,n,i){if(t){for(var l=e,u=e,c=u.parentNode.children[0],d=t,h=l.hierNode.modifier,p=u.hierNode.modifier,g=c.hierNode.modifier,f=d.hierNode.modifier;d=o(d),u=a(u),d&&u;){l=o(l),c=a(c),l.hierNode.ancestor=e;var m=d.hierNode.prelim+f-u.hierNode.prelim-p+i(d,u);m>0&&(s(r(d,e,n),e,m),p+=m,h+=m),f+=d.hierNode.modifier,p+=u.hierNode.modifier,h+=l.hierNode.modifier,g+=c.hierNode.modifier}d&&!o(l)&&(l.hierNode.thread=d,l.hierNode.modifier+=f-h),u&&!a(c)&&(c.hierNode.thread=u,c.hierNode.modifier+=p-g,n=e)}return n}(e,l,e.parentNode.hierNode.defaultAncestor||i[0],t)},t.secondWalk=function(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier},t.separation=function(e){return arguments.length?e:l},t.radialCoordinate=function(e,t){var n={};return e-=Math.PI/2,n.x=t*Math.cos(e),n.y=t*Math.sin(e),n},t.getViewRect=function(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}},IyUQ:function(e,t,n){var i=n("bYtY"),o=n("YH21"),a=n("IwbS"),r=n("iLNv"),s=n("fc+c"),l=n("OELB"),u=n("+TT/"),c=n("72pK"),d=a.Rect,h=l.linearMap,p=l.asc,g=i.bind,f=i.each,m=["line","bar","candlestick","scatter"],v=s.extend({type:"dataZoom.slider",init:function(e,t){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=t},render:function(e,t,n,i){v.superApply(this,"render",arguments),r.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=e.get("orient"),!1!==this.dataZoomModel.get("show")?(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){v.superApply(this,"remove",arguments),r.clear(this,"_dispatchZoomAction")},dispose:function(){v.superApply(this,"dispose",arguments),r.clear(this,"_dispatchZoomAction")},_buildView:function(){var e=this.group;e.removeAll(),this._resetLocation(),this._resetInterval();var t=this._displayables.barGroup=new a.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,t=this.api,n=this._findCoordRect(),o={width:t.getWidth(),height:t.getHeight()},a="horizontal"===this._orient?{right:o.width-n.x-n.width,top:o.height-30-7,width:n.width,height:30}:{right:7,top:n.y,width:30,height:n.height},r=u.getLayoutParams(e.option);i.each(["right","top","width","height"],(function(e){"ph"===r[e]&&(r[e]=a[e])}));var s=u.getLayoutRect(r,o,e.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},_positionGroup:function(){var e=this.group,t=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),o=i&&i.get("inverse"),a=this._displayables.barGroup,r=(this._dataShadowInfo||{}).otherAxisInverse;a.attr("horizontal"!==n||o?"horizontal"===n&&o?{scale:r?[-1,1]:[-1,-1]}:"vertical"!==n||o?{scale:r?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:r?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:r?[1,1]:[1,-1]});var s=e.getBoundingRect([a]);e.attr("position",[t.x-s.x,t.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.barGroup;n.add(new d({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40})),n.add(new d({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:i.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var t=this._size,n=e.series,o=n.getRawData(),r=n.getShadowDim?n.getShadowDim():e.otherDim;if(null!=r){var s=o.getDataExtent(r),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,t[1]],d=[0,t[0]],p=[[t[0],0],[0,0]],g=[],f=d[1]/(o.count()-1),m=0,v=Math.round(o.count()/t[0]);o.each([r],(function(e,t){if(v>0&&t%v)m+=f;else{var n=null==e||isNaN(e)||""===e,i=n?0:h(e,s,c,!0);n&&!u&&t?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&u&&(p.push([m,0]),g.push([m,0])),p.push([m,i]),g.push([m,i]),m+=f,u=n}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new a.Polygon({shape:{points:p},style:i.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new a.Polyline({shape:{points:g},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,o=this.ecModel;return e.eachTargetAxis((function(a,r){var s=e.getAxisProxy(a.name,r).getTargetSeriesModels();i.each(s,(function(e){if(!(n||!0!==t&&i.indexOf(m,e.get("type"))<0)){var s,l=o.getComponent(a.axis,r).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[a.name],c=e.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=e.getData().mapDimension(u),n={thisAxis:l,series:e,thisDim:a.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),n}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],n=e.handleLabels=[],i=this._displayables.barGroup,o=this._size,r=this.dataZoomModel;i.add(e.filler=new d({draggable:!0,cursor:y(this._orient),drift:g(this._onDragMove,this,"all"),ondragstart:g(this._showDataInfo,this,!0),ondragend:g(this._onDragEnd,this),onmouseover:g(this._showDataInfo,this,!0),onmouseout:g(this._showDataInfo,this,!1),style:{fill:r.get("fillerColor"),textPosition:"inside"}})),i.add(new d({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{stroke:r.get("dataBackgroundColor")||r.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),f([0,1],(function(e){var o=a.createIcon(r.get("handleIcon"),{cursor:y(this._orient),draggable:!0,drift:g(this._onDragMove,this,e),ondragend:g(this._onDragEnd,this),onmouseover:g(this._showDataInfo,this,!0),onmouseout:g(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=o.getBoundingRect();this._handleHeight=l.parsePercent(r.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,o.setStyle(r.getModel("handleStyle").getItemStyle());var u=r.get("handleColor");null!=u&&(o.style.fill=u),i.add(t[e]=o);var c=r.textStyleModel;this.group.add(n[e]=new a.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))}),this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[h(e[0],[0,100],t,!0),h(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var n=this.dataZoomModel,i=this._handleEnds,o=this._getViewExtent(),a=n.findRepresentativeAxisProxy().getMinMaxSpan(),r=[0,100];c(t,i,o,n.get("zoomLock")?"all":e,null!=a.minSpan?h(a.minSpan,r,o,!0):null,null!=a.maxSpan?h(a.maxSpan,r,o,!0):null);var s=this._range,l=this._range=p([h(i[0],o,r,!0),h(i[1],o,r,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(e){var t=this._displayables,n=this._handleEnds,i=p(n.slice()),o=this._size;f([0,1],(function(e){var i=t.handles[e],a=this._handleHeight;i.attr({scale:[a/2,a/2],position:[n[e],o[1]/2-a/2]})}),this),t.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:o[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){var t=this.dataZoomModel,n=this._displayables,i=n.handleLabels,o=this._orient,r=["",""];if(t.get("showDetail")){var s=t.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=e?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();r=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var d=p(this._handleEnds.slice());function h(e){var t=a.getTransform(n.handles[e].parent,this.group),s=a.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+5,u=a.applyTransform([d[e]+(0===e?-l:l),this._size[1]/2],t);i[e].setStyle({x:u[0],y:u[1],textVerticalAlign:"horizontal"===o?"middle":s,textAlign:"horizontal"===o?s:"center",text:r[e]})}h.call(this,0),h.call(this,1)},_formatLabel:function(e,t){var n=this.dataZoomModel,o=n.get("labelFormatter"),a=n.get("labelPrecision");null!=a&&"auto"!==a||(a=t.getPixelPrecision());var r=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(a,20));return i.isFunction(o)?o(e,r):i.isString(o)?o.replace("{value}",r):r},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,n,i){this._dragging=!0,o.stop(i.event);var r=this._displayables.barGroup.getLocalTransform(),s=a.applyTransform([t,n],r,!0),l=this._updateInterval(e,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onClickPanelClick:function(e){var t=this._size,n=this._displayables.barGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var i=this._handleEnds,o=(i[0]+i[1])/2,a=this._updateInterval("all",n[0]-o);this._updateView(),a&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_findCoordRect:function(){var e;if(f(this.getTargetCoordInfo(),(function(t){if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}})),!e){var t=this.api.getWidth(),n=this.api.getHeight();e={x:.2*t,y:.2*n,width:.6*t,height:.6*n}}return e}});function y(e){return"vertical"===e?"ns-resize":"ew-resize"}var x=v;e.exports=x},JLnu:function(e,t,n){n("Tghj").__DEV__;var i=n("+TT/"),o=n("OELB"),a=o.parsePercent,r=o.linearMap;e.exports=function(e,t,n){e.eachSeriesByType("funnel",(function(e){var n=e.getData(),o=n.mapDimension("value"),s=e.get("sort"),l=function(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t),u=function(e,t){for(var n=e.mapDimension("value"),i=e.mapArray(n,(function(e){return e})),o=[],a="ascending"===t,r=0,s=e.count();r<s;r++)o[r]=r;return"function"==typeof t?o.sort(t):"none"!==t&&o.sort((function(e,t){return a?i[e]-i[t]:i[t]-i[e]})),o}(n,s),c=e.get("orient"),d=l.width,h=l.height,p=l.x,g=l.y,f="horizontal"===c?[a(e.get("minSize"),h),a(e.get("maxSize"),h)]:[a(e.get("minSize"),d),a(e.get("maxSize"),d)],m=n.getDataExtent(o),v=e.get("min"),y=e.get("max");null==v&&(v=Math.min(m[0],0)),null==y&&(y=m[1]);var x=e.get("funnelAlign"),_=e.get("gap"),b=(("horizontal"===c?d:h)-_*(n.count()-1))/n.count(),S=function(e,t){if("horizontal"===c){var i,a=n.get(o,e)||0,s=r(a,[v,y],f,!0);switch(x){case"top":i=g;break;case"center":i=g+(h-s)/2;break;case"bottom":i=g+(h-s)}return[[t,i],[t,i+s]]}a=n.get(o,e)||0;var l,u=r(a,[v,y],f,!0);switch(x){case"left":l=p;break;case"center":l=p+(d-u)/2;break;case"right":l=p+d-u}return[[l,t],[l+u,t]]};"ascending"===s&&(b=-b,_=-_,"horizontal"===c?p+=d:g+=h,u=u.reverse());for(var w=0;w<u.length;w++){var M=u[w],I=u[w+1],A=n.getItemModel(M);if("horizontal"===c){var T=A.get("itemStyle.width");null==T?T=b:(T=a(T,d),"ascending"===s&&(T=-T));var D=S(M,p),C=S(I,p+T);p+=T+_,n.setItemLayout(M,{points:D.concat(C.slice().reverse())})}else{var L=A.get("itemStyle.height");null==L?L=b:(L=a(L,h),"ascending"===s&&(L=-L));D=S(M,"horizontal"===c?p:g),C=S(I,"horizontal"===c?p+T:g+L);g+=L+_,n.setItemLayout(M,{points:D.concat(C.slice().reverse())})}}!function(e){e.each((function(t){var n,i,o,a,r=e.getItemModel(t),s=r.getModel("label").get("position"),l=r.get("orient"),u=r.getModel("labelLine"),c=e.getItemLayout(t),d=c.points,h="inner"===s||"inside"===s||"center"===s||"insideLeft"===s||"insideRight"===s;if(h)"insideLeft"===s?(i=(d[0][0]+d[3][0])/2+5,o=(d[0][1]+d[3][1])/2,n="left"):"insideRight"===s?(i=(d[1][0]+d[2][0])/2-5,o=(d[1][1]+d[2][1])/2,n="right"):(i=(d[0][0]+d[1][0]+d[2][0]+d[3][0])/4,o=(d[0][1]+d[1][1]+d[2][1]+d[3][1])/4,n="center"),a=[[i,o],[i,o]];else{var p,g,f,m,v=u.get("length");"left"===s?(p=(d[3][0]+d[0][0])/2,g=(d[3][1]+d[0][1])/2,i=(f=p-v)-5,n="right"):"right"===s?(p=(d[1][0]+d[2][0])/2,g=(d[1][1]+d[2][1])/2,i=(f=p+v)+5,n="left"):"top"===s?(p=(d[3][0]+d[0][0])/2,o=(m=(g=(d[3][1]+d[0][1])/2)-v)-5,n="center"):"bottom"===s?(p=(d[1][0]+d[2][0])/2,o=(m=(g=(d[1][1]+d[2][1])/2)+v)+5,n="center"):"rightTop"===s?(p="horizontal"===l?d[3][0]:d[1][0],g="horizontal"===l?d[3][1]:d[1][1],"horizontal"===l?(o=(m=g-v)-5,n="center"):(i=(f=p+v)+5,n="top")):"rightBottom"===s?(p=d[2][0],g=d[2][1],"horizontal"===l?(o=(m=g+v)+5,n="center"):(i=(f=p+v)+5,n="bottom")):"leftTop"===s?(p=d[0][0],g="horizontal"===l?d[0][1]:d[1][1],"horizontal"===l?(o=(m=g-v)-5,n="center"):(i=(f=p-v)-5,n="right")):"leftBottom"===s?(p="horizontal"===l?d[1][0]:d[3][0],g="horizontal"===l?d[1][1]:d[2][1],"horizontal"===l?(o=(m=g+v)+5,n="center"):(i=(f=p-v)-5,n="right")):(p=(d[1][0]+d[2][0])/2,g=(d[1][1]+d[2][1])/2,"horizontal"===l?(o=(m=g+v)+5,n="center"):(i=(f=p+v)+5,n="left")),"horizontal"===l?i=f=p:o=m=g,a=[[p,g],[f,m]]}c.label={linePoints:a,x:i,y:o,verticalAlign:"middle",textAlign:n,inside:h}}))}(n)}))}},JVwQ:function(e,t,n){var i=n("ProS"),o=n("1NG9").Polygon,a=n("IwbS"),r=n("bYtY"),s=r.bind,l=r.extend,u=n("gPAo"),c=i.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(e,t,n){var i=e.getData(),r=this.group,c=e.getLayerSeries(),d=i.getLayout("layoutInfo"),h=d.rect,p=d.boundaryGap;function g(e){return e.name}r.attr("position",[0,h.y+p[0]]);var f=new u(this._layersSeries||[],c,g,g),m={};function v(t,n,s){var u=this._layers;if("remove"!==t){for(var d,h,p,g=[],f=[],v=c[n].indices,y=0;y<v.length;y++){var x=i.getItemLayout(v[y]),_=x.x,b=x.y0,S=x.y;g.push([_,b]),f.push([_,b+S]),d=i.getItemVisual(v[y],"color")}var w=i.getItemLayout(v[0]),M=i.getItemModel(v[y-1]),I=M.getModel("label"),A=I.get("margin");if("add"===t){var T=m[n]=new a.Group;h=new o({shape:{points:g,stackedOnPoints:f,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),p=new a.Text({style:{x:w.x-A,y:w.y0+w.y/2}}),T.add(h),T.add(p),r.add(T),h.setClipPath(function(e,t,n){var i=new a.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return a.initProps(i,{shape:{width:e.width+20,height:e.height+20}},t,n),i}(h.getBoundingRect(),e,(function(){h.removeClipPath()})))}else{T=u[s];h=T.childAt(0),p=T.childAt(1),r.add(T),m[n]=T,a.updateProps(h,{shape:{points:g,stackedOnPoints:f}},e),a.updateProps(p,{style:{x:w.x-A,y:w.y0+w.y/2}},e)}var D=M.getModel("emphasis.itemStyle"),C=M.getModel("itemStyle");a.setTextStyle(p.style,I,{text:I.get("show")?e.getFormattedLabel(v[y-1],"normal")||i.getName(v[y-1]):null,textVerticalAlign:"middle"}),h.setStyle(l({fill:d},C.getItemStyle(["color"]))),a.setHoverStyle(h,D.getItemStyle())}else r.remove(u[n])}f.add(s(v,this,"add")).update(s(v,this,"update")).remove(s(v,this,"remove")).execute(),this._layersSeries=c,this._layers=m},dispose:function(){}});e.exports=c},K4ya:function(e,t,n){var i=n("bYtY"),o=n("XxSj"),a=i.each;function r(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}t.createVisualMappings=function(e,t,n){var r={};return a(t,(function(t){var s,l=r[t]=((s=function(){}).prototype.__hidden=s.prototype,new s);a(e[t],(function(e,a){if(o.isValidType(a)){var r={type:a,visual:e};n&&n(r,t),l[a]=new o(r),"opacity"===a&&((r=i.clone(r)).type="colorAlpha",l.__hidden.__alphaForOpacity=new o(r))}}))})),r},t.replaceVisualOption=function(e,t,n){var o;i.each(n,(function(e){t.hasOwnProperty(e)&&r(t[e])&&(o=!0)})),o&&i.each(n,(function(n){t.hasOwnProperty(n)&&r(t[n])?e[n]=i.clone(t[n]):delete e[n]}))},t.applyVisual=function(e,t,n,a,r,s){var l,u={};function c(e){return n.getItemVisual(l,e)}function d(e,t){n.setItemVisual(l,e,t)}function h(e,i){l=null==s?e:i;var o=n.getRawDataItem(l);if(!o||!1!==o.visualMap)for(var h=a.call(r,e),p=t[h],g=u[h],f=0,m=g.length;f<m;f++){var v=g[f];p[v]&&p[v].applyVisual(e,c,d)}}i.each(e,(function(e){var n=o.prepareVisualTypes(t[e]);u[e]=n})),null==s?n.each(h):n.each([s],h)},t.incrementalApplyVisual=function(e,t,n,a){var r={};return i.each(e,(function(e){var n=o.prepareVisualTypes(t[e]);r[e]=n})),{progress:function(e,i){function o(e){return i.getItemVisual(l,e)}function s(e,t){i.setItemVisual(l,e,t)}var l;for(null!=a&&(a=i.getDimension(a));null!=(l=e.next());){var u=i.getRawDataItem(l);if(!u||!1!==u.visualMap)for(var c=null!=a?i.get(a,l,!0):l,d=n(c),h=t[d],p=r[d],g=0,f=p.length;g<f;g++){var m=p[g];h[m]&&h[m].applyVisual(c,o,s)}}}}}},KUOm:function(e,t){e.exports=function(e){var t={};e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),i=e.getData(),o={};n.each((function(i){var a=n.getName(i);o["ec-"+a]=i;var r=n.getItemModel(i),s=r.get("itemStyle.color")||e.getColorFromPalette(a,t);n.setItemVisual(i,"color",s);for(var l=["opacity","symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=r.getShallow(l[u],!0);null!=c&&n.setItemVisual(i,l[u],c)}})),n.count()&&i.each((function(e){var t=i.getItemModel(e).getShallow("category");if(null!=t){"string"==typeof t&&(t=o["ec-"+t]);for(var a=["color","opacity","symbol","symbolSize","symbolKeepAspect"],r=0;r<a.length;r++)null==i.getItemVisual(e,a[r],!0)&&i.setItemVisual(e,a[r],n.getItemVisual(t,a[r]))}}))}))}},KamJ:function(e,t,n){var i=n("ProS"),o=n("szbU");n("vF/C"),n("qwVE"),n("BuqR"),n("AE9C"),n("1u/T"),i.registerPreprocessor(o)},L3Oj:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("HjIi");n("HM/N"),n("9eas"),n("eS4l"),n("y4/Y"),n("as94"),i.registerLayout(o.curry(a,"bar")),i.extendComponentView({type:"polar"})},L5E0:function(e,t){var n=["itemStyle","borderColor"];e.exports=function(e,t){var i=e.get("color");e.eachRawSeriesByType("boxplot",(function(t){var o=i[t.seriesIndex%i.length],a=t.getData();a.setVisual({legendSymbol:"roundRect",color:t.get(n)||o}),e.isSeriesFiltered(t)||a.each((function(e){var t=a.getItemModel(e);a.setItemVisual(e,{color:t.get(n,!0)})}))}))}},LBfv:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=o.createHashMap,r=o.each;i.registerProcessor({getTargetSeries:function(e){var t=a();return e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,n,i){var o=i.getAxisProxy(e.name,n);r(o.getTargetSeriesModels(),(function(e){t.set(e.uid,e)}))}))})),t},modifyOutputEnd:!0,overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,n,i){i.getAxisProxy(e.name,n).reset(i,t)})),e.eachTargetAxis((function(e,n,i){i.getAxisProxy(e.name,n).filterData(i,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy(),n=t.getDataPercentWindow(),i=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}))}})},LPzL:function(e,t,n){var i=n("ProS");n("QzjZ"),n("vL6D"),n("xiyX"),n("y4/Y"),n("8Th4"),i.extendComponentView({type:"single"})},LzGr:function(e,t,n){var i=n("ProS"),o=n("rnVJ");n("EMyp"),n("8x+h"),n("wt3j"),n("uOyE"),n("/stD"),i.registerPreprocessor(o)},MBQ8:function(e,t,n){var i=n("T4UG"),o=n("MwEJ"),a=i.extend({type:"series.__base_bar__",getInitialData:function(e,t){return o(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(e){var t=this.coordinateSystem;if(t){var n=t.dataToPoint(t.clampData(e)),i=this.getData(),o=i.getLayout("offset"),a=i.getLayout("size");return n[t.getBaseAxis().isHorizontal()?0:1]+=o+a/2,n}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});e.exports=a},MH26:function(e,t,n){var i=n("bYtY"),o=n("YXkt"),a=n("OELB"),r=n("kj2x"),s=n("c8qY"),l=n("iPDy"),u=n("7hqr").getStackedDimension,c=function(e,t,n,o){var a=e.getData(),s=o.type;if(!i.isArray(o)&&("min"===s||"max"===s||"average"===s||"median"===s||null!=o.xAxis||null!=o.yAxis)){var l,c;if(null!=o.yAxis||null!=o.xAxis)l=t.getAxis(null!=o.yAxis?"y":"x"),c=i.retrieve(o.yAxis,o.xAxis);else{var d=r.getAxisInfo(o,a,t,e);l=d.valueAxis;var h=u(a,d.valueDataDim);c=r.numCalculate(a,h,s)}var p="x"===l.dim?0:1,g=1-p,f=i.clone(o),m={};f.type=null,f.coord=[],m.coord=[],f.coord[g]=-1/0,m.coord[g]=1/0;var v=n.get("precision");v>=0&&"number"==typeof c&&(c=+c.toFixed(Math.min(v,20))),f.coord[p]=m.coord[p]=c,o=[f,m,{type:s,valueIndex:o.valueIndex,value:c}]}return(o=[r.dataTransform(e,o[0]),r.dataTransform(e,o[1]),i.extend({},o[2])])[2].type=o[2].type||"",i.merge(o[2],o[0]),i.merge(o[2],o[1]),o};function d(e){return!isNaN(e)&&!isFinite(e)}function h(e,t,n,i){var o=1-e,a=i.dimensions[e];return d(t[o])&&d(n[o])&&t[e]===n[e]&&i.getAxis(a).containData(t[e])}function p(e,t){if("cartesian2d"===e.type){var n=t[0].coord,i=t[1].coord;if(n&&i&&(h(1,n,i,e)||h(0,n,i,e)))return!0}return r.dataFilter(e,t[0])&&r.dataFilter(e,t[1])}function g(e,t,n,i,o){var r,s=i.coordinateSystem,l=e.getItemModel(t),u=a.parsePercent(l.get("x"),o.getWidth()),c=a.parsePercent(l.get("y"),o.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)r=i.getMarkerPosition(e.getValues(e.dimensions,t));else{var h=s.dimensions,p=e.get(h[0],t),g=e.get(h[1],t);r=s.dataToPoint([p,g])}if("cartesian2d"===s.type){var f=s.getAxis("x"),m=s.getAxis("y");h=s.dimensions;d(e.get(h[0],t))?r[0]=f.toGlobalCoord(f.getExtent()[n?0:1]):d(e.get(h[1],t))&&(r[1]=m.toGlobalCoord(m.getExtent()[n?0:1]))}isNaN(u)||(r[0]=u),isNaN(c)||(r[1]=c)}else r=[u,c];e.setItemLayout(t,r)}var f=l.extend({type:"markLine",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markLineModel;if(t){var i=t.getData(),o=t.__from,a=t.__to;o.each((function(t){g(o,t,!0,e,n),g(a,t,!1,e,n)})),i.each((function(e){i.setItemLayout(e,[o.getItemLayout(e),a.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},renderSeries:function(e,t,n,a){var l=e.coordinateSystem,u=e.id,d=e.getData(),h=this.markerGroupMap,f=h.get(u)||h.set(u,new s);this.group.add(f.group);var m=function(e,t,n){var a;a=e?i.map(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return i.defaults({name:e},n)})):[{name:"value",type:"float"}];var s=new o(a,n),l=new o(a,n),u=new o([],n),d=i.map(n.get("data"),i.curry(c,t,e,n));e&&(d=i.filter(d,i.curry(p,e)));var h=e?r.dimValueGetter:function(e){return e.value};return s.initData(i.map(d,(function(e){return e[0]})),null,h),l.initData(i.map(d,(function(e){return e[1]})),null,h),u.initData(i.map(d,(function(e){return e[2]}))),u.hasItemOption=!0,{from:s,to:l,line:u}}(l,e,t),v=m.from,y=m.to,x=m.line;t.__from=v,t.__to=y,t.setData(x);var _=t.get("symbol"),b=t.get("symbolSize");function S(t,n,i){var o=t.getItemModel(n);g(t,n,i,e,a),t.setItemVisual(n,{symbolRotate:o.get("symbolRotate"),symbolSize:o.get("symbolSize")||b[i?0:1],symbol:o.get("symbol",!0)||_[i?0:1],color:o.get("itemStyle.color")||d.getVisual("color")})}i.isArray(_)||(_=[_,_]),"number"==typeof b&&(b=[b,b]),m.from.each((function(e){S(v,e,!0),S(y,e,!1)})),x.each((function(e){var t=x.getItemModel(e).get("lineStyle.color");x.setItemVisual(e,{color:t||v.getItemVisual(e,"color")}),x.setItemLayout(e,[v.getItemLayout(e),y.getItemLayout(e)]),x.setItemVisual(e,{fromSymbolRotate:v.getItemVisual(e,"symbolRotate"),fromSymbolSize:v.getItemVisual(e,"symbolSize"),fromSymbol:v.getItemVisual(e,"symbol"),toSymbolRotate:y.getItemVisual(e,"symbolRotate"),toSymbolSize:y.getItemVisual(e,"symbolSize"),toSymbol:y.getItemVisual(e,"symbol")})})),f.updateData(x),m.line.eachItemGraphicEl((function(e,n){e.traverse((function(e){e.dataModel=t}))})),f.__keep=!0,f.group.silent=t.get("silent")||e.get("silent")}});e.exports=f},MHoB:function(e,t,n){var i=n("bYtY"),o=n("6uqw"),a=n("OELB"),r=[20,140],s=o.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(e,t){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var e=this.itemSize;"horizontal"===this._orient&&e.reverse(),(null==e[0]||isNaN(e[0]))&&(e[0]=r[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=r[1])},_resetRange:function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):i.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){o.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)}),this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=a.asc((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]<e[0]&&(t[0]=e[0]),t[1]<e[0]&&(t[1]=e[0]),t},getValueState:function(e){var t=this.option.range,n=this.getExtent();return(t[0]<=n[0]||t[0]<=e)&&(t[1]>=n[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var i=[],o=n.getData();o.each(this.getDataDimension(o),(function(t,n){e[0]<=t&&t<=e[1]&&i.push(n)}),this),t.push({seriesId:n.id,dataIndex:i})}),this),t},getVisualMeta:function(e){var t=l(this,"outOfRange",this.getExtent()),n=l(this,"inRange",this.option.range.slice()),i=[];function o(t,n){i.push({value:t,color:e(t,n)})}for(var a=0,r=0,s=n.length,u=t.length;r<u&&(!n.length||t[r]<=n[0]);r++)t[r]<n[a]&&o(t[r],"outOfRange");for(var c=1;a<s;a++,c=0)c&&i.length&&o(n[a],"outOfRange"),o(n[a],"inRange");for(c=1;r<u;r++)(!n.length||n[n.length-1]<t[r])&&(c&&(i.length&&o(i[i.length-1].value,"outOfRange"),c=0),o(t[r],"outOfRange"));var d=i.length;return{stops:i,outerColors:[d?i[0].color:"transparent",d?i[d-1].color:"transparent"]}}});function l(e,t,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,o=n[0],a=[],r=0;r<=200&&o<n[1];r++)a.push(o),o+=i;return a.push(n[1]),a}var u=s;e.exports=u},MHtr:function(e,t,n){var i=n("bYtY");function o(e,t){var n=this.getAxis(),i=t instanceof Array?t[0]:t,o=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-o)-n.dataToCoord(i+o))}e.exports=function(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(o,e)}}}},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MRoa:function(e,t,n){var i=n("ProS");n("0Bwj"),n("W2nI"),n("vcCh");var o=n("gawk"),a=n("Dg8C");i.registerLayout(o),i.registerVisual(a)},MT78:function(e,t,n){var i=n("ProS");!function(){for(var e in i){if(null==i||!i.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=i[e]}}();var o=n("txkQ");!function(){for(var e in o){if(null==o||!o.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=o[e]}}(),n("A1Ka"),n("75ce"),n("lLGD"),n("wDdD"),n("Fa/5"),n("jett"),n("Z1wy"),n("75ev"),n("2uGb"),n("I+77"),n("B+YJ"),n("pLH3"),n("CBdT"),n("MRoa"),n("+lIL"),n("CF2D"),n("ERHi"),n("p+If"),n("XOKv"),n("qt/9"),n("bBL8"),n("1xaR"),n("4Feb"),n("zRKj"),n("L3Oj"),n("0HBW"),n("LPzL"),n("8waO"),n("k5C7"),n("f1nB"),n("sRwP"),n("AH3D"),n("y4/Y"),n("LzGr"),n("Ynxi"),n("7pVf"),n("2w7y"),n("laiN"),n("fjKi"),n("C0tN"),n("0o9m"),n("Cm0C"),n("f3JH"),n("5NHt"),n("VFCP"),n("dBmv"),n("KamJ"),n("8XDt"),n("juDX")},Mdki:function(e,t,n){var i=n("bYtY"),o=i.each,a="\0__link_datas",r="\0__link_mainData";function s(e,t){if((o=this)[r]===o){var n=i.extend({},this[a]);n[this.dataType]=t,d(t,n,e)}else h(t,this.dataType,this[r],e);var o;return t}function l(e,t){return e.struct&&e.struct.update(this),t}function u(e,t){return o(t[a],(function(n,i){n!==t&&h(n.cloneShallow(),i,t,e)})),t}function c(e){var t=this[r];return null==e||null==t?t:t[a][e]}function d(e,t,n){e[a]={},o(t,(function(t,i){h(t,i,e,n)}))}function h(e,t,n,i){n[a][t]=e,e[r]=n,e.dataType=t,i.struct&&(e[i.structAttr]=i.struct,i.struct[i.datasAttr[t]]=e),e.getLinkedData=c}var p=function(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,d(t,n,e),o(n,(function(n){o(t.TRANSFERABLE_METHODS,(function(t){n.wrapMethod(t,i.curry(s,e))}))})),t.wrapMethod("cloneShallow",i.curry(u,e)),o(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,i.curry(l,e))})),i.assert(n[t.dataType]===t)};e.exports=p},Mgri:function(e,t,n){for(var i=n("bYtY"),o=n("8nly"),a=[126,25],r=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],s=0;s<r.length;s++)for(var l=0;l<r[s].length;l++)r[s][l][0]/=10.5,r[s][l][1]/=-14,r[s][l][0]+=a[0],r[s][l][1]+=a[1];e.exports=function(e,t){"china"===e&&t.push(new o("南海诸岛",i.map(r,(function(e){return{type:"polygon",exterior:e}})),a))}},MqEG:function(e,t,n){var i=n("bYtY"),o=n("fc+c"),a=n("72pK"),r=n("VXYp"),s=i.bind,l=o.extend({type:"dataZoom.inside",init:function(e,t){this._range},render:function(e,t,n,o){l.superApply(this,"render",arguments),this._range=e.getPercentRange(),i.each(this.getTargetCoordInfo(),(function(t,o){var a=i.map(t,(function(e){return r.generateCoordId(e.model)}));i.each(t,(function(t){var l=t.model,c={};i.each(["pan","zoom","scrollMove"],(function(e){c[e]=s(u[e],this,t,o)}),this),r.register(n,{coordId:r.generateCoordId(l),allCoordIds:a,containsPoint:function(e,t,n){return l.coordinateSystem.containPoint([t,n])},dataZoomId:e.id,dataZoomModel:e,getRange:c})}),this)}),this)},dispose:function(){r.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null}}),u={zoom:function(e,t,n,i){var o=this._range,r=o.slice(),s=e.axisModels[0];if(s){var l=d[t](null,[i.originX,i.originY],s,n,e),u=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(r[1]-r[0])+r[0],c=Math.max(1/i.scale,0);r[0]=(r[0]-u)*c+u,r[1]=(r[1]-u)*c+u;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return a(0,r,[0,100],0,h.minSpan,h.maxSpan),this._range=r,o[0]!==r[0]||o[1]!==r[1]?r:void 0}},pan:c((function(e,t,n,i,o,a){var r=d[i]([a.oldX,a.oldY],[a.newX,a.newY],t,o,n);return r.signal*(e[1]-e[0])*r.pixel/r.pixelLength})),scrollMove:c((function(e,t,n,i,o,a){return d[i]([0,0],[a.scrollDelta,a.scrollDelta],t,o,n).signal*(e[1]-e[0])*a.scrollDelta}))};function c(e){return function(t,n,i,o){var r=this._range,s=r.slice(),l=t.axisModels[0];if(l){var u=e(s,l,t,n,i,o);return a(u,s,[0,100],"all"),this._range=s,r[0]!==s[0]||r[1]!==s[1]?s:void 0}}}var d={grid:function(e,t,n,i,o){var a=n.axis,r={},s=o.model.coordinateSystem.getRect();return e=e||[0,0],"x"===a.dim?(r.pixel=t[0]-e[0],r.pixelLength=s.width,r.pixelStart=s.x,r.signal=a.inverse?1:-1):(r.pixel=t[1]-e[1],r.pixelLength=s.height,r.pixelStart=s.y,r.signal=a.inverse?-1:1),r},polar:function(e,t,n,i,o){var a=n.axis,r={},s=o.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(r.pixel=t[0]-e[0],r.pixelLength=l[1]-l[0],r.pixelStart=l[0],r.signal=a.inverse?1:-1):(r.pixel=t[1]-e[1],r.pixelLength=u[1]-u[0],r.pixelStart=u[0],r.signal=a.inverse?-1:1),r},singleAxis:function(e,t,n,i,o){var a=n.axis,r=o.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===a.orient?(s.pixel=t[0]-e[0],s.pixelLength=r.width,s.pixelStart=r.x,s.signal=a.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=r.height,s.pixelStart=r.y,s.signal=a.inverse?-1:1),s}},h=l;e.exports=h},Mylv:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("IwbS"),r=n("oVpE").createSymbol,s=n("OELB"),l=s.parsePercent,u=s.isNumeric,c=n("56rv").setLabel,d=["itemStyle","borderWidth"],h=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],p=new a.Circle;function g(e,t,n,i){var a=e.getItemLayout(t),r=n.get("symbolRepeat"),s=n.get("symbolClip"),c=n.get("symbolPosition")||"start",h=(n.get("symbolRotate")||0)*Math.PI/180||0,g=n.get("symbolPatternSize")||2,m=n.isAnimationEnabled(),v={dataIndex:t,layout:a,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",color:e.getItemVisual(t,"color"),symbolClip:s,symbolRepeat:r,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:g,rotation:h,animationModel:m?n:null,hoverAnimation:m&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};!function(e,t,n,i,a){var r,s=i.valueDim,l=e.get("symbolBoundingData"),u=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),d=1-+(n[s.wh]<=0);if(o.isArray(l)){var h=[f(u,l[0])-c,f(u,l[1])-c];h[1]<h[0]&&h.reverse(),r=h[d]}else r=null!=l?f(u,l)-c:t?i.coordSysExtent[s.index][d]-c:n[s.wh];a.boundingLength=r,t&&(a.repeatCutLength=n[s.wh]);a.pxSign=r>0?1:r<0?-1:0}(n,r,a,i,v),function(e,t,n,i,a,r,s,u,c,d){var h=c.valueDim,p=c.categoryDim,g=Math.abs(n[p.wh]),f=e.getItemVisual(t,"symbolSize");o.isArray(f)?f=f.slice():(null==f&&(f="100%"),f=[f,f]);f[p.index]=l(f[p.index],g),f[h.index]=l(f[h.index],i?g:Math.abs(r)),d.symbolSize=f,(d.symbolScale=[f[0]/u,f[1]/u])[h.index]*=(c.isHorizontal?-1:1)*s}(e,t,a,r,0,v.boundingLength,v.pxSign,g,i,v),function(e,t,n,i,o){var a=e.get(d)||0;a&&(p.attr({scale:t.slice(),rotation:n}),p.updateTransform(),a/=p.getLineScale(),a*=t[i.valueDim.index]);o.valueLineWidth=a}(n,v.symbolScale,h,i,v);var y=v.symbolSize,x=n.get("symbolOffset");return o.isArray(x)&&(x=[l(x[0],y[0]),l(x[1],y[1])]),function(e,t,n,i,a,r,s,c,d,h,p,g){var f=p.categoryDim,m=p.valueDim,v=g.pxSign,y=Math.max(t[m.index]+c,0),x=y;if(i){var _=Math.abs(d),b=o.retrieve(e.get("symbolMargin"),"15%")+"",S=!1;b.lastIndexOf("!")===b.length-1&&(S=!0,b=b.slice(0,b.length-1)),b=l(b,t[m.index]);var w=Math.max(y+2*b,0),M=S?0:2*b,I=u(i),A=I?i:P((_+M)/w);w=y+2*(b=(_-A*y)/2/(S?A:A-1)),M=S?0:2*b,I||"fixed"===i||(A=h?P((Math.abs(h)+M)/w):0),x=A*w-M,g.repeatTimes=A,g.symbolMargin=b}var T=v*(x/2),D=g.pathPosition=[];D[f.index]=n[f.wh]/2,D[m.index]="start"===s?T:"end"===s?d-T:d/2,r&&(D[0]+=r[0],D[1]+=r[1]);var C=g.bundlePosition=[];C[f.index]=n[f.xy],C[m.index]=n[m.xy];var L=g.barRectShape=o.extend({},n);L[m.wh]=v*Math.max(Math.abs(n[m.wh]),Math.abs(D[m.index]+T)),L[f.wh]=n[f.wh];var k=g.clipShape={};k[f.xy]=-n[f.xy],k[f.wh]=p.ecSize[f.wh],k[m.xy]=0,k[m.wh]=n[m.wh]}(n,y,a,r,0,x,c,v.valueLineWidth,v.boundingLength,v.repeatCutLength,i,v),v}function f(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function m(e){var t=e.symbolPatternSize,n=r(e.symbolType,-t/2,-t/2,t,t,e.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function v(e,t,n,i){var o=e.__pictorialBundle,a=n.symbolSize,r=n.valueLineWidth,s=n.pathPosition,l=t.valueDim,u=n.repeatTimes||0,c=0,d=a[t.valueDim.index]+r+2*n.symbolMargin;for(D(e,(function(e){e.__pictorialAnimationIndex=c,e.__pictorialRepeatTimes=u,c<u?C(e,null,g(c),n,i):C(e,null,{scale:[0,0]},n,i,(function(){o.remove(e)})),M(e,n),c++}));c<u;c++){var h=m(n);h.__pictorialAnimationIndex=c,h.__pictorialRepeatTimes=u,o.add(h);var p=g(c);C(h,{position:p.position,scale:[0,0]},{scale:p.scale,rotation:p.rotation},n,i),h.on("mouseover",f).on("mouseout",v),M(h,n)}function g(e){var t=s.slice(),i=n.pxSign,o=e;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(o=u-1-e),t[l.index]=d*(o-u/2+.5)+s[l.index],{position:t,scale:n.symbolScale.slice(),rotation:n.rotation}}function f(){D(e,(function(e){e.trigger("emphasis")}))}function v(){D(e,(function(e){e.trigger("normal")}))}}function y(e,t,n,i){var o=e.__pictorialBundle,a=e.__pictorialMainPath;a?C(a,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(a=e.__pictorialMainPath=m(n),o.add(a),C(a,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),a.on("mouseover",(function(){this.trigger("emphasis")})).on("mouseout",(function(){this.trigger("normal")}))),M(a,n)}function x(e,t,n){var i=o.extend({},t.barRectShape),r=e.__pictorialBarRect;r?C(r,null,{shape:i},t,n):(r=e.__pictorialBarRect=new a.Rect({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),e.add(r))}function _(e,t,n,i){if(n.symbolClip){var r=e.__pictorialClipPath,s=o.extend({},n.clipShape),l=t.valueDim,u=n.animationModel,c=n.dataIndex;if(r)a.updateProps(r,{shape:s},u,c);else{s[l.wh]=0,r=new a.Rect({shape:s}),e.__pictorialBundle.setClipPath(r),e.__pictorialClipPath=r;var d={};d[l.wh]=n.clipShape[l.wh],a[i?"updateProps":"initProps"](r,{shape:d},u,c)}}}function b(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=S,n.isAnimationEnabled=w,n}function S(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function w(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function M(e,t){e.off("emphasis").off("normal");var n=t.symbolScale.slice();t.hoverAnimation&&e.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function I(e,t,n,i){var o=new a.Group,r=new a.Group;return o.add(r),o.__pictorialBundle=r,r.attr("position",n.bundlePosition.slice()),n.symbolRepeat?v(o,t,n):y(o,0,n),x(o,n,i),_(o,t,n,i),o.__pictorialShapeStr=T(e,n),o.__pictorialSymbolMeta=n,o}function A(e,t,n,i){var r=i.__pictorialBarRect;r&&(r.style.text=null);var s=[];D(i,(function(e){s.push(e)})),i.__pictorialMainPath&&s.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),o.each(s,(function(e){a.updateProps(e,{scale:[0,0]},n,t,(function(){i.parent&&i.parent.remove(i)}))})),e.setItemGraphicEl(t,null)}function T(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function D(e,t,n){o.each(e.__pictorialBundle.children(),(function(i){i!==e.__pictorialBarRect&&t.call(n,i)}))}function C(e,t,n,i,o,r){t&&e.attr(t),i.symbolClip&&!o?n&&e.attr(n):n&&a[o?"updateProps":"initProps"](e,n,i.animationModel,i.dataIndex,r)}function L(e,t,n){var i=n.color,r=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),d=s.getShallow("cursor");D(e,(function(e){e.setColor(i),e.setStyle(o.defaults({fill:i,opacity:n.opacity},l)),a.setHoverStyle(e,u),d&&(e.cursor=d),e.z2=n.z2}));var h={},p=t.valueDim.posDesc[+(n.boundingLength>0)],g=e.__pictorialBarRect;c(g.style,h,s,i,t.seriesModel,r,p),a.setHoverStyle(g,h)}function P(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var k=i.extendChartView({type:"pictorialBar",render:function(e,t,n){var i=this.group,o=e.getData(),r=this._data,s=e.coordinateSystem,l=!!s.getBaseAxis().isHorizontal(),u=s.grid.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:s,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:h[+l],categoryDim:h[1-l]};return o.diff(r).add((function(e){if(o.hasValue(e)){var t=b(o,e),n=g(o,e,t,c),a=I(o,c,n);o.setItemGraphicEl(e,a),i.add(a),L(a,c,n)}})).update((function(e,t){var n=r.getItemGraphicEl(t);if(o.hasValue(e)){var s=b(o,e),l=g(o,e,s,c),u=T(o,l);n&&u!==n.__pictorialShapeStr&&(i.remove(n),o.setItemGraphicEl(e,null),n=null),n?function(e,t,n){var i=n.animationModel,o=n.dataIndex,r=e.__pictorialBundle;a.updateProps(r,{position:n.bundlePosition.slice()},i,o),n.symbolRepeat?v(e,t,n,!0):y(e,t,n,!0);x(e,n,!0),_(e,t,n,!0)}(n,c,l):n=I(o,c,l,!0),o.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=l,i.add(n),L(n,c,l)}else i.remove(n)})).remove((function(e){var t=r.getItemGraphicEl(e);t&&A(r,e,t.__pictorialSymbolMeta.animationModel,t)})).execute(),this._data=o,this.group},dispose:o.noop,remove:function(e,t){var n=this.group,i=this._data;e.get("animation")?i&&i.eachItemGraphicEl((function(t){A(i,t.dataIndex,e,t)})):n.removeAll()}});e.exports=k},N5BQ:function(e,t,n){var i=n("OlYY").extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}});e.exports=i},NA0q:function(e,t,n){var i=n("bYtY"),o=n("6Ic6"),a=n("TkdX"),r=n("gPAo"),s=n("7aKB").windowOpen,l=o.extend({type:"sunburst",init:function(){},render:function(e,t,n,o){var s=this;this.seriesModel=e,this.api=n,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(function(n,o){if(0===n.length&&0===o.length)return;function s(e){return e.getId()}function c(i,r){!function(n,i){h||!n||n.getValue()||(n=null);if(n!==u&&i!==u)if(i&&i.piece)n?(i.piece.updateData(!1,n,"normal",e,t),l.setItemGraphicEl(n.dataIndex,i.piece)):function(e){if(!e)return;e.piece&&(d.remove(e.piece),e.piece=null)}(i);else if(n){var o=new a(n,e,t);d.add(o),l.setItemGraphicEl(n.dataIndex,o)}}(null==i?null:n[i],null==r?null:o[r])}new r(o,n,s,s).add(c).update(c).remove(i.curry(c,null)).execute()}(p,g),function(n,i){if(i.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,n,"normal",e,t):(s.virtualPiece=new a(n,e,t),d.add(s.virtualPiece)),i.piece._onclickEvent&&i.piece.off("click",i.piece._onclickEvent);var o=function(e){s._rootToNode(i.parentNode)};i.piece._onclickEvent=o,s.virtualPiece.on("click",o)}else s.virtualPiece&&(d.remove(s.virtualPiece),s.virtualPiece=null)}(u,c),o&&o.highlight&&o.highlight.piece){var f=e.getShallow("highlightPolicy");o.highlight.piece.onEmphasis(f)}else if(o&&o.unhighlight){var m=this.virtualPiece;!m&&u.children.length&&(m=u.children[0].piece),m&&m.onNormal()}this._initEvents(),this._oldChildren=p},dispose:function(){},_initEvents:function(){var e=this,t=function(t){var n=!1;e.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece.childAt(0)===t.target){var o=i.getModel().get("nodeClick");if("rootToNode"===o)e._rootToNode(i);else if("link"===o){var a=i.getModel(),r=a.get("link");if(r){var l=a.get("target",!0)||"_blank";s(r,l)}}n=!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:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,t){var n=t.getData().getItemLayout(0);if(n){var i=e[0]-n.cx,o=e[1]-n.cy,a=Math.sqrt(i*i+o*o);return a<=n.r&&a>=n.r0}}});e.exports=l},NH9N:function(e,t,n){var i=n("bYtY"),o=n("mFDi"),a=n("Fofx"),r=n("IwbS"),s=n("+TT/"),l=n("kzvK"),u=n("CMP+"),c=n("oVpE").createSymbol,d=n("aX7z"),h=n("OELB"),p=n("7aKB").encodeHTML,g=i.bind,f=i.each,m=Math.PI,v=l.extend({type:"timeline.slider",init:function(e,t){this.api=t,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(e,t,n,i){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var o=this._layout(e,n),a=this._createGroup("mainGroup"),r=this._createGroup("labelGroup"),s=this._axis=this._createAxis(o,e);e.formatTooltip=function(e){return p(s.scale.getLabel(e))},f(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](o,a,s,e)}),this),this._renderAxisLabel(o,r,s,e),this._position(o,e)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(e,t){var n=e.get("label.position"),i=e.get("orient"),o=function(e,t){return s.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}(e,t);null==n||"auto"===n?n="horizontal"===i?o.y+o.height/2<t.getHeight()/2?"-":"+":o.x+o.width/2<t.getWidth()/2?"+":"-":isNaN(n)&&(n={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[i][n]);var a,r,l,u,c={horizontal:"center",vertical:n>=0||"+"===n?"left":"right"},d={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:m/2},p="vertical"===i?o.height:o.width,g=e.getModel("controlStyle"),f=g.get("show",!0),v=f?g.get("itemSize"):0,y=f?g.get("itemGap"):0,x=v+y,_=e.get("label.rotate")||0;_=_*m/180;var b=g.get("position",!0),S=f&&g.get("showPlayBtn",!0),w=f&&g.get("showPrevBtn",!0),M=f&&g.get("showNextBtn",!0),I=0,A=p;return"left"===b||"bottom"===b?(S&&(a=[0,0],I+=x),w&&(r=[I,0],I+=x),M&&(l=[A-v,0],A-=x)):(S&&(a=[A-v,0],A-=x),w&&(r=[0,0],I+=x),M&&(l=[A-v,0],A-=x)),u=[I,A],e.get("inverse")&&u.reverse(),{viewRect:o,mainLength:p,orient:i,rotation:h[i],labelRotation:_,labelPosOpt:n,labelAlign:e.get("label.align")||c[i],labelBaseline:e.get("label.verticalAlign")||e.get("label.baseline")||d[i],playPosition:a,prevBtnPosition:r,nextBtnPosition:l,axisExtent:u,controlSize:v,controlGap:y}},_position:function(e,t){var n=this._mainGroup,i=this._labelGroup,o=e.viewRect;if("vertical"===e.orient){var r=a.create(),s=o.x,l=o.y+o.height;a.translate(r,r,[-s,-l]),a.rotate(r,r,-m/2),a.translate(r,r,[s,l]),(o=o.clone()).applyTransform(r)}var u=y(o),c=y(n.getBoundingRect()),d=y(i.getBoundingRect()),h=n.position,p=i.position;p[0]=h[0]=u[0][0];var g,f=e.labelPosOpt;isNaN(f)?(x(h,c,u,1,g="+"===f?0:1),x(p,d,u,1,1-g)):(x(h,c,u,1,g=f>=0?0:1),p[1]=h[1]+f);function v(e){var t=e.position;e.origin=[u[0][0]-t[0],u[1][0]-t[1]]}function y(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function x(e,t,n,i,o){e[i]+=n[i][o]-t[i][o]}n.attr("position",h),i.attr("position",p),n.rotation=i.rotation=e.rotation,v(n),v(i)},_createAxis:function(e,t){var n=t.getData(),i=t.get("axisType"),o=d.createScaleByModel(t,i);o.getTicks=function(){return n.mapArray(["value"],(function(e){return e}))};var a=n.getDataExtent("value");o.setExtent(a[0],a[1]),o.niceTicks();var r=new u("value",o,e.axisExtent,i);return r.model=t,r},_createGroup:function(e){var t=this["_"+e]=new r.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,n,o){var a=n.getExtent();o.get("lineStyle.show")&&t.add(new r.Line({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:i.extend({lineCap:"round"},o.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,n,i){var o=i.getData(),a=n.scale.getTicks();f(a,(function(e){var a=n.dataToCoord(e),s=o.getItemModel(e),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[a,0],onclick:g(this._changeTimeline,this,e)},d=y(s,l,t,c);r.setHoverStyle(d,u.getItemStyle()),s.get("tooltip")?(d.dataIndex=e,d.dataModel=i):d.dataIndex=d.dataModel=null}),this)},_renderAxisLabel:function(e,t,n,i){if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();f(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=n.dataToCoord(i.tickValue),d=new r.Text({position:[c,0],rotation:e.labelRotation-e.rotation,onclick:g(this._changeTimeline,this,a),silent:!1});r.setTextStyle(d.style,l,{text:i.formattedLabel,textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline}),t.add(d),r.setHoverStyle(d,r.setTextStyle({},u))}),this)}},_renderControl:function(e,t,n,i){var a=e.controlSize,s=e.rotation,l=i.getModel("controlStyle").getItemStyle(),u=i.getModel("emphasis.controlStyle").getItemStyle(),c=[0,-a/2,a,a],d=i.getPlayState(),h=i.get("inverse",!0);function p(e,n,d,h){if(e){var p=function(e,t,n,i){var a=i.style,s=r.createIcon(e.get(t),i||{},new o(n[0],n[1],n[2],n[3]));a&&s.setStyle(a);return s}(i,n,c,{position:e,origin:[a/2,0],rotation:h?-s:0,rectHover:!0,style:l,onclick:d});t.add(p),r.setHoverStyle(p,u)}}p(e.nextBtnPosition,"controlStyle.nextIcon",g(this._changeTimeline,this,h?"-":"+")),p(e.prevBtnPosition,"controlStyle.prevIcon",g(this._changeTimeline,this,h?"+":"-")),p(e.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),g(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(e,t,n,i){var o=i.getData(),a=i.getCurrentIndex(),r=o.getItemModel(a).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=g(s._handlePointerDrag,s),e.ondragend=g(s._handlePointerDragend,s),x(e,a,n,i,!0)},onUpdate:function(e){x(e,a,n,i)}};this._currentPointer=y(r,r,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var n=this._toAxisCoord(e)[0],i=this._axis,o=h.asc(i.getExtent().slice());n>o[1]&&(n=o[1]),n<o[0]&&(n=o[0]),this._currentPointer.position[0]=n,this._currentPointer.dirty();var a=this._findNearestTick(n),r=this.model;(t||a!==r.getCurrentIndex()&&r.get("realtime"))&&this._changeTimeline(a)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(g((function(){var e=this.model;this._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}),this),this.model.get("playInterval")))},_toAxisCoord:function(e){var t=this._mainGroup.getLocalTransform();return r.applyTransform(e,t,!0)},_findNearestTick:function(e){var t,n=this.model.getData(),i=1/0,o=this._axis;return n.each(["value"],(function(n,a){var r=o.dataToCoord(n),s=Math.abs(r-e);s<i&&(i=s,t=a)})),t},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(e){var t=this.model.getCurrentIndex();"+"===e?e=t+1:"-"===e&&(e=t-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})}});function y(e,t,n,o,a,r){var s=t.get("color");if(a)a.setColor(s),n.add(a),r&&r.onUpdate(a);else{var l=e.get("symbol");(a=c(l,-1,-1,2,2,s)).setStyle("strokeNoScale",!0),n.add(a),r&&r.onCreate(a)}var u=t.getItemStyle(["color","symbol","symbolSize"]);a.setStyle(u),o=i.merge({rectHover:!0,z2:100},o,!0);var d=e.get("symbolSize");(d=d instanceof Array?d.slice():[+d,+d])[0]/=2,d[1]/=2,o.scale=d;var p=e.get("symbolOffset");if(p){var g=o.position=o.position||[0,0];g[0]+=h.parsePercent(p[0],d[0]),g[1]+=h.parsePercent(p[1],d[1])}var f=e.get("symbolRotate");return o.rotation=(f||0)*Math.PI/180||0,a.attr(o),a.updateTransform(),a}function x(e,t,n,i,o){if(!e.dragging){var a=i.getModel("checkpointStyle"),r=n.dataToCoord(i.getData().get(["value"],t));o||!a.get("animation",!0)?e.attr({position:[r,0]}):(e.stopAnimation(!0),e.animateTo({position:[r,0]},a.get("animationDuration",!0),a.get("animationEasing",!0)))}}e.exports=v},NmTA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,a=void 0;try{for(var r,s=e[Symbol.iterator]();!(i=(r=s.next()).done)&&(n.push(r.value),!t||n.length!==t);i=!0);}catch(e){o=!0,a=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=n("q1tI"),a=c(o),r=n("spEH"),s=n("eO8H"),l=c(n("vDqi")),u=c(n("QI0a"));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.userLogin,n=e.current,c=e.showCompeleteDialog,d=e.completeProfile,h=(0,o.useState)(void 0),p=i(h,2),g=p[0],f=p[1],m=(0,o.useState)(!1),v=i(m,2),y=v[0],x=v[1],_=(0,o.useState)([]),b=i(_,2),S=b[0],w=b[1];function M(){var e="/users/"+t+"/is_pinned_projects.json";l.default.get(e).then((function(e){if(e&&e.data){var t=e.data.projects;if(f(t),t&&t.length>0){var n=t.map((function(e){return e.project_id}));w(n)}}})).catch((function(e){}))}return(0,o.useEffect)((function(){M()}),[]),a.default.createElement(a.default.Fragment,null,a.default.createElement(u.default,{visible:y,onCancel:function(){return x(!1)},onSure:function(e){e&&0===e.length&&w([]);var n="/users/"+t+"/is_pinned_projects/pin.json";l.default.post(n,{is_pinned_project_ids:e}).then((function(e){e&&e.data&&(x(!1),M())})).catch((function(e){}))},username:t,choosed:S,completeProfile:d,showCompeleteDialog:c}),g&&g.length>0&&a.default.createElement("div",{className:"concentrate"},a.default.createElement(r.FlexAJ,null,a.default.createElement("span",{className:"font-18"},"精选项目"),n&&a.default.createElement("a",{className:"color-blue",onClick:function(){return x(!0)}},"自定义精选项目")),a.default.createElement("div",null,a.default.createElement("ul",{className:"concentrateUl"},g.map((function(e,t){return a.default.createElement("li",{key:e.id},a.default.createElement(s.Link,{to:"/"+(e.author&&e.author.login)+"/"+e.identifier,className:"name"},e.name),a.default.createElement("p",{className:"task-hide desc"},e.description),a.default.createElement(r.AlignCenter,null,e.category&&a.default.createElement("span",{className:"tagName"},e.category.name),a.default.createElement("span",{className:"pariseCount"},a.default.createElement("i",{className:"iconfont icon-guanzhu"}),e.watchers_count),a.default.createElement("span",{className:"forkCount"},a.default.createElement("i",{className:"iconfont icon-fork"}),e.forked_count)))}))))),g&&0===g.length&&n&&a.default.createElement("div",{className:"ConcentrateTip"},a.default.createElement("i",{className:"iconfont icon-tishi2"}),"你还没有设置精选项目,",a.default.createElement("a",{onClick:function(){return x(!0)}},"点击设置")))}},OUJF:function(e,t,n){var i=n("ProS"),o=n("bYtY");i.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(e,t){var n=t.getComponent("timeline");return n&&null!=e.currentIndex&&(n.setCurrentIndex(e.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),t.resetOption("timeline"),o.defaults({currentIndex:n.option.currentIndex},e)})),i.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(e,t){var n=t.getComponent("timeline");n&&null!=e.playState&&n.setPlayState(e.playState)}))},OXB0:function(e,t,n){var i=n("T4UG"),o=n("MwEJ"),a=n("IDmD"),r=i.extend({type:"series.heatmap",getInitialData:function(e,t){return o(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var e=a.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},OlYY:function(e,t,n){n("Tghj").__DEV__;var i=n("ProS"),o=n("bYtY"),a=n("ItGF"),r=n("4NO4"),s=n("UOVi"),l=n("zDms"),u=o.each,c=s.eachAxisDim;function d(e){var t={};return u(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}function h(e,t){var n=e._rangePropMode,i=e.get("rangeMode");u([["start","startValue"],["end","endValue"]],(function(e,o){var a=null!=t[e[0]],r=null!=t[e[1]];a&&!r?n[o]="percent":!a&&r?n[o]="value":i?n[o]=i[o]:a&&(n[o]="percent")}))}var p=i.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(e,t,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=d(e);this.settledOption=i,this.mergeDefaultAndTheme(e,n),this.doInit(i)},mergeOption:function(e){var t=d(e);o.merge(this.option,e,!0),o.merge(this.settledOption,t,!0),this.doInit(t)},doInit:function(e){var t=this.option;a.canvasSupported||(t.realtime=!1),this._setDefaultThrottle(e),h(this,e);var n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(e,i){"value"===this._rangePropMode[i]&&(t[e[0]]=n[e[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis((function(t,n,i,o){var a=this.dependentModels[t.axis][n],r=a.__dzAxisProxy||(a.__dzAxisProxy=new l(t.name,n,this,o));e[t.name+"_"+n]=r}),this)},_resetTarget:function(){var e=this.option,t=this._judgeAutoMode();c((function(t){var n=t.axisIndex;e[n]=r.normalizeToArray(e[n])}),this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,t=!1;c((function(n){null!=e[n.axisIndex]&&(t=!0)}),this);var n=e.orient;return null==n&&t?"orient":t?void 0:(null==n&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var e=!0,t=this.get("orient",!0),n=this.option,i=this.dependentModels;if(e){var a="vertical"===t?"y":"x";i[a+"Axis"].length?(n[a+"AxisIndex"]=[0],e=!1):u(i.singleAxis,(function(i){e&&i.get("orient",!0)===t&&(n.singleAxisIndex=[i.componentIndex],e=!1)}))}e&&c((function(t){if(e){var i=[],o=this.dependentModels[t.axis];if(o.length&&!i.length)for(var a=0,r=o.length;a<r;a++)"category"===o[a].get("type")&&i.push(a);n[t.axisIndex]=i,i.length&&(e=!1)}}),this),e&&this.ecModel.eachSeries((function(e){this._isSeriesHasAllAxesTypeOf(e,"value")&&c((function(t){var i=n[t.axisIndex],a=e.get(t.axisIndex),r=e.get(t.axisId);a=e.ecModel.queryComponents({mainType:t.axis,index:a,id:r})[0].componentIndex,o.indexOf(i,a)<0&&i.push(a)}))}),this)},_autoSetOrient:function(){var e;this.eachTargetAxis((function(t){!e&&(e=t.name)}),this),this.option.orient="y"===e?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(e,t){var n=!0;return c((function(i){var o=e.get(i.axisIndex),a=this.dependentModels[i.axis][o];a&&a.get("type")===t||(n=!1)}),this),n},_setDefaultThrottle:function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var e;return c((function(t){if(null==e){var n=this.get(t.axisIndex);n.length&&(e=this.dependentModels[t.axis][n[0]])}}),this),e},eachTargetAxis:function(e,t){var n=this.ecModel;c((function(i){u(this.get(i.axisIndex),(function(o){e.call(t,i,o,this,n)}),this)}),this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var n=this.getAxisProxy(e,t);return n&&n.getAxisModel()},setRawRange:function(e){var t=this.option,n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(i){null==e[i[0]]&&null==e[i[1]]||(t[i[0]]=n[i[0]]=e[i[0]],t[i[1]]=n[i[1]]=e[i[1]])}),this),h(this,e)},setCalculatedRange:function(e){var t=this.option;u(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var t=this._axisProxies;for(var n in t)if(t.hasOwnProperty(n)&&t[n].hostedBy(this))return t[n];for(var n in t)if(t.hasOwnProperty(n)&&!t[n].hostedBy(this))return t[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});e.exports=p},P47w:function(e,t,n){var i=n("hydK").createElement,o=n("IMiH"),a=n("mFDi"),r=n("Fofx"),s=n("6GrX"),l=n("pzxd"),u=n("dqUG"),c=o.CMD,d=Array.prototype.join,h=Math.round,p=Math.sin,g=Math.cos,f=Math.PI,m=2*Math.PI,v=180/f;function y(e){return h(1e4*e)/1e4}function x(e){return e<1e-4&&e>-1e-4}function _(e,t){t&&b(e,"transform","matrix("+d.call(t,",")+")")}function b(e,t,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&e.setAttribute(t,n)}function S(e,t,n,i){if(function(e,t){var n=t?e.textFill:e.fill;return null!=n&&"none"!==n}(t,n)){var o=n?t.textFill:t.fill;b(e,"fill",o="transparent"===o?"none":o),b(e,"fill-opacity",null!=t.fillOpacity?t.fillOpacity*t.opacity:t.opacity)}else b(e,"fill","none");if(function(e,t){var n=t?e.textStroke:e.stroke;return null!=n&&"none"!==n}(t,n)){var a=n?t.textStroke:t.stroke;b(e,"stroke",a="transparent"===a?"none":a),b(e,"stroke-width",(n?t.textStrokeWidth:t.lineWidth)/(!n&&t.strokeNoScale?i.getLineScale():1)),b(e,"paint-order",n?"stroke":"fill"),b(e,"stroke-opacity",null!=t.strokeOpacity?t.strokeOpacity:t.opacity),t.lineDash?(b(e,"stroke-dasharray",t.lineDash.join(",")),b(e,"stroke-dashoffset",h(t.lineDashOffset||0))):b(e,"stroke-dasharray",""),t.lineCap&&b(e,"stroke-linecap",t.lineCap),t.lineJoin&&b(e,"stroke-linejoin",t.lineJoin),t.miterLimit&&b(e,"stroke-miterlimit",t.miterLimit)}else b(e,"stroke","none")}var w={};w.brush=function(e){var t=e.style,n=e.__svgEl;n||(n=i("path"),e.__svgEl=n),e.path||e.createPathProxy();var o=e.path;if(e.__dirtyPath){o.beginPath(),o.subPixelOptimize=!1,e.buildPath(o,e.shape),e.__dirtyPath=!1;var a=function(e){for(var t=[],n=e.data,i=e.len(),o=0;o<i;){var a="",r=0;switch(n[o++]){case c.M:a="M",r=2;break;case c.L:a="L",r=2;break;case c.Q:a="Q",r=4;break;case c.C:a="C",r=6;break;case c.A:var s=n[o++],l=n[o++],u=n[o++],d=n[o++],_=n[o++],b=n[o++],S=n[o++],w=n[o++],M=Math.abs(b),I=x(M-m)||(w?b>=m:-b>=m),A=b>0?b%m:b%m+m,T=!1;T=!!I||!x(M)&&A>=f==!!w;var D=y(s+u*g(_)),C=y(l+d*p(_));I&&(b=w?m-1e-4:1e-4-m,T=!0,9===o&&t.push("M",D,C));var L=y(s+u*g(_+b)),P=y(l+d*p(_+b));t.push("A",y(u),y(d),h(S*v),+T,+w,L,P);break;case c.Z:a="Z";break;case c.R:L=y(n[o++]),P=y(n[o++]);var k=y(n[o++]),N=y(n[o++]);t.push("M",L,P,"L",L+k,P,"L",L+k,P+N,"L",L,P+N,"L",L,P)}a&&t.push(a);for(var E=0;E<r;E++)t.push(y(n[o++]))}return t.join(" ")}(o);a.indexOf("NaN")<0&&b(n,"d",a)}S(n,t,!1,e),_(n,e.transform),null!=t.text?L(e,e.getBoundingRect()):k(e)};var M={brush:function(e){var t=e.style,n=t.image;n instanceof HTMLImageElement&&(n=n.src);if(n){var o=t.x||0,a=t.y||0,r=t.width,s=t.height,l=e.__svgEl;l||(l=i("image"),e.__svgEl=l),n!==e.__imageSrc&&(!function(e,t,n){e.setAttributeNS("http://www.w3.org/1999/xlink",t,n)}(l,"href",n),e.__imageSrc=n),b(l,"width",r),b(l,"height",s),b(l,"x",o),b(l,"y",a),_(l,e.transform),null!=t.text?L(e,e.getBoundingRect()):k(e)}}},I={},A=new a,T={},D=[],C={left:"start",right:"end",center:"middle",middle:"middle"},L=function(e,t){var n=e.style,o=e.transform,a=e instanceof u||n.transformText;e.__dirty&&l.normalizeTextStyle(n,!0);var c=n.text;if(null!=c&&(c+=""),l.needDrawText(c,n)){null==c&&(c=""),!a&&o&&(A.copy(t),A.applyTransform(o),t=A);var d=e.__textSvgEl;d||(d=i("text"),e.__textSvgEl=d);var h=d.style,p=n.font||s.DEFAULT_FONT,g=d.__computedFont;p!==d.__styleFont&&(h.font=d.__styleFont=p,g=d.__computedFont=h.font);var f=n.textPadding,m=n.textLineHeight,v=e.__textCotentBlock;v&&!e.__dirtyText||(v=e.__textCotentBlock=s.parsePlainText(c,g,f,m,n.truncate));var y=v.outerHeight,x=v.lineHeight;l.getBoxPosition(T,e,n,t);var b=T.baseX,w=T.baseY,M=T.textAlign||"left",I=T.textVerticalAlign;!function(e,t,n,i,o,a,s){r.identity(D),t&&n&&r.copy(D,n);var l=i.textRotation;if(o&&l){var u=i.textOrigin;"center"===u?(a=o.width/2+o.x,s=o.height/2+o.y):u&&(a=u[0]+o.x,s=u[1]+o.y),D[4]-=a,D[5]-=s,r.rotate(D,D,l),D[4]+=a,D[5]+=s}_(e,D)}(d,a,o,n,t,b,w);var C=b,L=s.adjustTextY(w,y,I);f&&(C=function(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}(b,M,f),L+=f[0]),L+=x/2,S(d,n,!0,e);var k=v.canCacheByTextString,N=e.__tspanList||(e.__tspanList=[]),E=N.length;if(k&&e.__canCacheByTextString&&e.__text===c){if(e.__dirtyText&&E)for(var O=0;O<E;++O)P(N[O],M,C,L+O*x)}else{e.__text=c,e.__canCacheByTextString=k;var R=v.lines,V=R.length;for(O=0;O<V;O++){var z=N[O],B=R[O];z?z.__zrText!==B&&(z.innerHTML="",z.appendChild(document.createTextNode(B))):(z=N[O]=i("tspan"),d.appendChild(z),z.appendChild(document.createTextNode(B))),P(z,M,C,L+O*x)}if(E>V){for(;O<E;O++)d.removeChild(N[O]);N.length=V}}}};function P(e,t,n,i){b(e,"dominant-baseline","middle"),b(e,"text-anchor",C[t]),b(e,"x",n),b(e,"y",i)}function k(e){e&&e.__textSvgEl&&(e.__textSvgEl.parentNode&&e.__textSvgEl.parentNode.removeChild(e.__textSvgEl),e.__textSvgEl=null,e.__tspanList=[],e.__text=null)}I.drawRectText=L,I.brush=function(e){null!=e.style.text?L(e,!1):k(e)},t.path=w,t.image=M,t.text=I},PNag:function(e,t,n){var i=n("bYtY"),o=n("SKnc"),a=n("YH21"),r=n("crZl"),s=n("IwbS"),l=n("OELB"),u=n("72pK"),c=n("y7Aq"),d=n("4NO4"),h=l.linearMap,p=i.each,g=Math.min,f=Math.max,m=r.extend({type:"visualMap.continuous",init:function(){m.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(e,t,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},_renderEndsText:function(e,t,n){if(t){var i=t[1-n];i=null!=i?i+"":"";var o=this.visualMapModel,a=o.get("textGap"),r=o.itemSize,l=this._shapes.barGroup,u=this._applyTransform([r[0]/2,0===n?-a:r[1]+a],l),c=this._applyTransform(0===n?"bottom":"top",l),d=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===d?"middle":c,textAlign:"horizontal"===d?c:"center",text:i,textFont:h.getFont(),textFill:h.getTextColor()}}))}},_renderBar:function(e){var t=this.visualMapModel,n=this._shapes,o=t.itemSize,a=this._orient,r=this._useHandle,s=c.getItemAlign(t,this.api,o),l=n.barGroup=this._createBarGroup(s);l.add(n.outOfRange=v()),l.add(n.inRange=v(null,r?x(this._orient):null,i.bind(this._dragHandle,this,"all",!1),i.bind(this._dragHandle,this,"all",!0)));var u=t.textStyleModel.getTextRect("国"),d=f(u.width,u.height);r&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(l,0,o,d,a,s),this._createHandle(l,1,o,d,a,s)),this._createIndicator(l,o,d,a),e.add(l)},_createHandle:function(e,t,n,o,r){var l=i.bind(this._dragHandle,this,t,!1),u=i.bind(this._dragHandle,this,t,!0),c=v(function(e,t){return 0===e?[[0,0],[t,0],[t,-t]]:[[0,0],[t,0],[t,t]]}(t,o),x(this._orient),l,u);c.position[0]=n[0],e.add(c);var d=this.visualMapModel.textStyleModel,h=new s.Text({draggable:!0,drift:l,onmousemove:function(e){a.stop(e.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:d.getFont(),textFill:d.getTextColor()}});this.group.add(h);var p=["horizontal"===r?o/2:1.5*o,"horizontal"===r?0===t?-1.5*o:1.5*o:0===t?-o/2:o/2],g=this._shapes;g.handleThumbs[t]=c,g.handleLabelPoints[t]=p,g.handleLabels[t]=h},_createIndicator:function(e,t,n,i){var o=v([[0,0]],"move");o.position[0]=t[0],o.attr({invisible:!0,silent:!0}),e.add(o);var a=this.visualMapModel.textStyleModel,r=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:a.getFont(),textFill:a.getTextColor()}});this.group.add(r);var l=["horizontal"===i?n/2:9,0],u=this._shapes;u.indicator=o,u.indicatorLabel=r,u.indicatorLabelPoint=l},_dragHandle:function(e,t,n,i){if(this._useHandle){if(this._dragging=!t,!t){var o=this._applyTransform([n,i],this._shapes.barGroup,!0);this._updateInterval(e,o[1]),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():y(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},_resetInterval:function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),i=[0,e.itemSize[1]];this._handleEnds=[h(t[0],n,i,!0),h(t[1],n,i,!0)]},_updateInterval:function(e,t){t=t||0;var n=this.visualMapModel,i=this._handleEnds,o=[0,n.itemSize[1]];u(t,i,o,e,0);var a=n.getExtent();this._dataInterval=[h(i[0],o,a,!0),h(i[1],o,a,!0)]},_updateView:function(e){var t=this.visualMapModel,n=t.getExtent(),i=this._shapes,o=[0,t.itemSize[1]],a=e?o:this._handleEnds,r=this._createBarVisual(this._dataInterval,n,a,"inRange"),s=this._createBarVisual(n,n,o,"outOfRange");i.inRange.setStyle({fill:r.barColor,opacity:r.opacity}).setShape("points",r.barPoints),i.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(a,r)},_createBarVisual:function(e,t,n,i){var a={forceState:i,convertOpacityToAlpha:!0},r=this._makeColorGradient(e,a),s=[this.getControllerVisual(e[0],"symbolSize",a),this.getControllerVisual(e[1],"symbolSize",a)],l=this._createBarPoints(n,s);return{barColor:new o(0,0,0,1,r),barPoints:l,handlesColor:[r[0].color,r[r.length-1].color]}},_makeColorGradient:function(e,t){var n=[],i=(e[1]-e[0])/100;n.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var o=1;o<100;o++){var a=e[0]+i*o;if(a>e[1])break;n.push({color:this.getControllerVisual(a,"color",t),offset:o/100})}return n.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),n},_createBarPoints:function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==t||n?"horizontal"===t&&n?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||n?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,o=n.handleThumbs,a=n.handleLabels;p([0,1],(function(r){var l=o[r];l.setStyle("fill",t.handlesColor[r]),l.position[1]=e[r];var u=s.applyTransform(n.handleLabelPoints[r],s.getTransform(l,this.group));a[r].setStyle({x:u[0],y:u[1],text:i.formatValueText(this._dataInterval[r]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===r?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(e,t,n,i){var o=this.visualMapModel,a=o.getExtent(),r=o.itemSize,l=[0,r[1]],u=h(e,a,l,!0),c=this._shapes,d=c.indicator;if(d){d.position[1]=u,d.attr("invisible",!1),d.setShape("points",function(e,t,n,i){return e?[[0,-g(t,f(n,0))],[6,0],[0,g(t,f(i-n,0))]]:[[0,0],[5,-5],[5,5]]}(!!n,i,u,r[1]));var p=this.getControllerVisual(e,"color",{convertOpacityToAlpha:!0});d.setStyle("fill",p);var m=s.applyTransform(c.indicatorLabelPoint,s.getTransform(d,this.group)),v=c.indicatorLabel;v.attr("invisible",!1);var y=this._applyTransform("left",c.barGroup),x=this._orient;v.setStyle({text:(n||"")+o.formatValueText(t),textVerticalAlign:"horizontal"===x?y:"middle",textAlign:"horizontal"===x?"center":y,x:m[0],y:m[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,i=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);i[1]=g(f(0,i[1]),n[1]),e._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var o=[0,i[1]],a=n.getExtent();e=g(f(o[0],e),o[1]);var r=function(e,t,n){var i=6,o=e.get("hoverLinkDataSize");o&&(i=h(o,t,n,!0)/2);return i}(n,a,o),s=[e-r,e+r],l=h(e,o,a,!0),u=[h(s[0],o,a,!0),h(s[1],o,a,!0)];s[0]<o[0]&&(u[0]=-1/0),s[1]>o[1]&&(u[1]=1/0),t&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",r):u[1]===1/0?this._showIndicator(l,u[0],"> ",r):this._showIndicator(l,l,"≈ ",r));var p=this._hoverLinkDataIndices,m=[];(t||y(n))&&(m=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var v=d.compressBatches(p,m);this._dispatchHighDown("downplay",c.makeHighDownBatch(v[0],n)),this._dispatchHighDown("highlight",c.makeHighDownBatch(v[1],n))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,n=this.visualMapModel;if(t&&null!=t.dataIndex){var i=this.ecModel.getSeriesByIndex(t.seriesIndex);if(n.isTargetSeries(i)){var o=i.getData(t.dataType),a=o.get(n.getDataDimension(o),t.dataIndex,!0);isNaN(a)||this._showIndicator(a,a)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(e,this.visualMapModel)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,n,o){var a=s.getTransform(t,o?null:this.group);return s[i.isArray(e)?"applyTransform":"transformDirection"](e,a,n)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function v(e,t,n,i){return new s.Polygon({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){a.stop(e.event)},ondragend:i})}function y(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function x(e){return"vertical"===e?"ns-resize":"ew-resize"}var _=m;e.exports=_},Q7if:function(e,t,n){var i=n("JEkh").extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});e.exports=i},QI0a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=h(n("kLXV")),o=h(n("W9HT")),a=h(n("kaz8")),r=h(n("5rEg")),s=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,a=void 0;try{for(var r,s=e[Symbol.iterator]();!(i=(r=s.next()).done)&&(n.push(r.value),!t||n.length!==t);i=!0);}catch(e){o=!0,a=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("k3Gp"),n("04bd"),n("MKzF"),n("1vPl");var l=n("q1tI"),u=h(l),c=h(n("vDqi")),d=(n("eO8H"),h(n("aqs5")));function h(e){return e&&e.__esModule?e:{default:e}}var p=r.default.Search;t.default=function(e){var t=e.visible,n=e.onCancel,r=e.onSure,h=e.username,g=e.choosed,f=e.history,m=e.showCompeleteDialog,v=e.completeProfile,y=(0,l.useState)(1),x=s(y,2),_=x[0],b=x[1],S=(0,l.useState)(0),w=s(S,2),M=w[0],I=w[1],A=(0,l.useState)(!1),T=s(A,2),D=T[0],C=T[1],L=(0,l.useState)(void 0),P=s(L,2),k=P[0],N=P[1],E=(0,l.useState)([]),O=s(E,2),R=O[0],V=O[1],z=(0,l.useState)([]),B=s(z,2),G=B[0],Y=B[1],H=(0,l.useState)(!0),W=s(H,2),F=W[0],j=W[1],Z=(0,l.useState)(!1),U=s(Z,2),X=U[0],q=U[1],K=(0,l.useState)([]),Q=s(K,2),J=Q[0],$=Q[1],ee=(0,l.useState)([]),te=s(ee,2),ne=te[0],ie=te[1];function oe(e,t){var n="/users/"+h+"/projects.json";c.default.get(n,{params:{page:e,limit:20,is_public:"public",search:t,choosed:g}}).then((function(e){if(e&&e.data){var t=k?e.data.projects:(o=R,a=e.data.projects,o.map((function(e,t){if(""!==e){var n=a.indexOf(e);n>-1&&a.splice(n,1)}})),o=o.concat(a));ie(k?ne:t),I(e.data.count),V(t),j(!1);var n=parseInt(e.data.count/20,0),i=e.data.count%20;C(i>0?n+1:n)}var o,a})).catch((function(e){}))}return(0,l.useEffect)((function(){t?(j(!0),oe()):(N(void 0),ie([]),$([]),V([]))}),[t]),(0,l.useEffect)((function(){_>1&&(j(!0),oe(_,void 0))}),[_]),(0,l.useEffect)((function(){t&&g&&g.length>0&&Y(g)}),[t,g]),(0,l.useEffect)((function(){G&&6===G.length?q(!0):q(!1)}),[G]),u.default.createElement(i.default,{visible:t,title:"选择精选项目",closable:!0,width:500,className:"ConcentrateBox",onCancel:n,onOk:function(){r&&r(G),Y([])},okText:"确定",cancelText:"取消"},u.default.createElement(o.default,{spinning:F},u.default.createElement("div",{className:"operateDiv"},u.default.createElement("p",null,"最多可选取6个公开仓库"),u.default.createElement(p,{placeholder:"请输入项目名称进行搜索",onSearch:function(e){ie(R),G&&G.length>0?function(e){if(e&&e.length>0){for(var t=[],n=0;n<e.length;n++){var i=ne.filter((function(t){return t.id===e[n]}));i&&i.length>0&&t.push(i[0])}$(t)}}(G):$([]),b(1),N(e),oe(1,e)},enterButton:"搜索",allowClear:!0,value:k,onChange:function(e){return N(e.target.value)}})),u.default.createElement("div",{className:"listbox"},u.default.createElement(a.default.Group,{value:G,onChange:function(e){Y(e)},style:{width:"100%"}},J&&J.length>0&&J.map((function(e,t){return u.default.createElement(a.default,{value:e.id,disabled:X&&0===G.filter((function(t){return t===e.id})).length},e.author&&e.author.name,"/",e.name)})),R&&R.length>0&&R.map((function(e,t){return!(J&&J.length>0&&0!==J.filter((function(t){return t.id===e.id})).length)&&u.default.createElement(a.default,{value:e.id,disabled:X&&0===G.filter((function(t){return t===e.id})).length},e.author&&e.author.name,"/",e.name)})))),M>20&&_<D&&u.default.createElement("div",{className:"morelist",onClick:function(){return b(_+1)}},"查看更多"),R&&0===R.length&&J&&0===J.length&&u.default.createElement("div",{style:{textAlign:"center"}},"您还没有公开的",k&&"“"+k+"”","项目,先去",u.default.createElement(d.default,{showCompeleteDialog:m,completeProfile:v,sureFunc:function(){f.push("/projects/deposit/new")},className:"color-blue"},"新建项目"))))}},QUw5:function(e,t,n){var i=n("OlYY").extend({type:"dataZoom.select"});e.exports=i},QzjZ:function(e,t,n){var i=n("S/Yl");n("IDmD").register("single",{create:function(e,t){var n=[];return e.eachComponent("singleAxis",(function(o,a){var r=new i(o,e,t);r.name="single_"+a,r.resize(o,t),o.coordinateSystem=r,n.push(r)})),e.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=n&&n.coordinateSystem}})),n},dimensions:i.prototype.dimensions})},R4Th:function(e,t,n){var i=n("ProS"),o=n("9wZj"),a=n("yO87"),r=n("Fofx"),s=n("h8O9"),l=i.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new o(a)},render:function(e,t,n){var i=e.getData(),o=this._symbolDraw;o.updateData(i),this.group.add(o.group)},updateTransform:function(e,t,n){var i=e.getData();this.group.dirty();var o=s().reset(e);o.progress&&o.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateGroupTransform:function(e){var t=e.coordinateSystem;t&&t.getRoamTransform&&(this.group.transform=r.clone(t.getRoamTransform()),this.group.decomposeTransform())},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(t)},dispose:function(){}});e.exports=l},RBEP:function(e,t,n){for(var i=n("ProS"),o=n("VaxA"),a=function(){},r=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s<r.length;s++)i.registerAction({type:r[s],update:"updateView"},a);i.registerAction({type:"treemapRootToNode",update:"updateView"},(function(e,t){t.eachComponent({mainType:"series",subType:"treemap",query:e},(function(t,n){var i=o.retrieveTargetInfo(e,["treemapZoomToNode","treemapRootToNode"],t);if(i){var a=t.getViewRoot();a&&(e.direction=o.aboveViewRoot(a,i.node)?"rollUp":"drillDown"),t.resetViewRoot(i.node)}}))}))},RPvy:function(e,t,n){var i=n("ProS"),o=n("VaxA");i.registerAction({type:"sunburstRootToNode",update:"updateView"},(function(e,t){t.eachComponent({mainType:"series",subType:"sunburst",query:e},(function(t,n){var i=o.retrieveTargetInfo(e,["sunburstRootToNode"],t);if(i){var a=t.getViewRoot();a&&(e.direction=o.aboveViewRoot(a,i.node)?"rollUp":"drillDown"),t.resetViewRoot(i.node)}}))}));i.registerAction({type:"sunburstHighlight",update:"updateView"},(function(e,t){t.eachComponent({mainType:"series",subType:"sunburst",query:e},(function(t,n){var i=o.retrieveTargetInfo(e,["sunburstHighlight"],t);i&&(e.highlight=i.node)}))}));i.registerAction({type:"sunburstUnhighlight",update:"updateView"},(function(e,t){t.eachComponent({mainType:"series",subType:"sunburst",query:e},(function(t,n){e.unhighlight=!0}))}))},RSch:function(e,t,n){var i=n("IwbS"),o=n("bYtY");function a(e,t,n){i.Group.call(this),this._createPolyline(e,t,n)}var r=a.prototype;r._createPolyline=function(e,t,n){var o=e.getItemLayout(t),a=new i.Polyline({shape:{points:o}});this.add(a),this._updateCommonStl(e,t,n)},r.updateData=function(e,t,n){var o=e.hostModel,a=this.childAt(0),r={shape:{points:e.getItemLayout(t)}};i.updateProps(a,r,o,t),this._updateCommonStl(e,t,n)},r._updateCommonStl=function(e,t,n){var a=this.childAt(0),r=e.getItemModel(t),s=e.getItemVisual(t,"color"),l=n&&n.lineStyle,u=n&&n.hoverLineStyle;n&&!e.hasItemOption||(l=r.getModel("lineStyle").getLineStyle(),u=r.getModel("emphasis.lineStyle").getLineStyle()),a.useStyle(o.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),a.hoverStyle=u,i.setHoverStyle(this)},r.updateLayout=function(e,t){this.childAt(0).setShape("points",e.getItemLayout(t))},o.inherits(a,i.Group);var s=a;e.exports=s},Rx6q:function(e,t){e.exports=function(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(t,n){return e.dataToPoint(t,n)}}}}},"S/Yl":function(e,t,n){var i=n("Zvw2"),o=n("aX7z"),a=n("+TT/").getLayoutRect,r=n("bYtY").each;function s(e,t,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(e,t,n),this.model=e}s.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:s,_init:function(e,t,n){var a=this.dimension,r=new i(a,o.createScaleByModel(e),[0,0],e.get("type"),e.get("position")),s="category"===r.type;r.onBand=s&&e.get("boundaryGap"),r.inverse=e.get("inverse"),r.orient=e.get("orient"),e.axis=r,r.model=e,r.coordinateSystem=this,this._axis=r},update:function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();r(t.mapDimension(this.dimension,!0),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),o.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(e,t){this._rect=a({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var e=this._rect,t=this._axis,n=t.isHorizontal(),i=n?[0,e.width]:[0,e.height],o=t.reverse?1:0;t.setExtent(i[o],i[1-o]),this._updateAxisTransform(t,n?e.x:e.y)},_updateAxisTransform:function(e,t){var n=e.getExtent(),i=n[0]+n[1],o=e.isHorizontal();e.toGlobalCoord=o?function(e){return e+t}:function(e){return i-e+t},e.toLocalCoord=o?function(e){return e-t}:function(e){return i-e+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(e){var t=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),n=this.getRect(),i=[],o="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),i[o]=t.toGlobalCoord(t.dataToCoord(+e)),i[1-o]=0===o?n.y+n.height/2:n.x+n.width/2,i}};var l=s;e.exports=l},"SA4+":function(e,t,n){n("Tghj").__DEV__;var i=n("ProS"),o=n("IwbS"),a=n("zYTA"),r=n("bYtY");var s=i.extendChartView({type:"heatmap",render:function(e,t,n){var i;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(n){n===e&&(i=t)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var o=e.coordinateSystem;"cartesian2d"===o.type||"calendar"===o.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):function(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}(o)&&this._renderOnGeo(o,e,i,n)},incrementalPrepareRender:function(e,t,n){this.group.removeAll()},incrementalRender:function(e,t,n,i){t.coordinateSystem&&this._renderOnCartesianAndCalendar(t,i,e.start,e.end,!0)},_renderOnCartesianAndCalendar:function(e,t,n,i,a){var s,l,u=e.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),d=u.getAxis("y");s=c.getBandWidth(),l=d.getBandWidth()}for(var h=this.group,p=e.getData(),g=e.getModel("itemStyle").getItemStyle(["color"]),f=e.getModel("emphasis.itemStyle").getItemStyle(),m=e.getModel("label"),v=e.getModel("emphasis.label"),y=u.type,x="cartesian2d"===y?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],_=n;_<i;_++){var b;if("cartesian2d"===y){if(isNaN(p.get(x[2],_)))continue;var S=u.dataToPoint([p.get(x[0],_),p.get(x[1],_)]);b=new o.Rect({shape:{x:Math.floor(Math.round(S[0])-s/2),y:Math.floor(Math.round(S[1])-l/2),width:Math.ceil(s),height:Math.ceil(l)},style:{fill:p.getItemVisual(_,"color"),opacity:p.getItemVisual(_,"opacity")}})}else{if(isNaN(p.get(x[1],_)))continue;b=new o.Rect({z2:1,shape:u.dataToRect([p.get(x[0],_)]).contentShape,style:{fill:p.getItemVisual(_,"color"),opacity:p.getItemVisual(_,"opacity")}})}var w=p.getItemModel(_);p.hasItemOption&&(g=w.getModel("itemStyle").getItemStyle(["color"]),f=w.getModel("emphasis.itemStyle").getItemStyle(),m=w.getModel("label"),v=w.getModel("emphasis.label"));var M=e.getRawValue(_),I="-";M&&null!=M[2]&&(I=M[2]),o.setLabelStyle(g,f,m,v,{labelFetcher:e,labelDataIndex:_,defaultText:I,isRectText:!0}),b.setStyle(g),o.setHoverStyle(b,p.hasItemOption?f:r.extend({},f)),b.incremental=a,a&&(b.useHoverLayer=!0),h.add(b),p.setItemGraphicEl(_,b)}},_renderOnGeo:function(e,t,n,i){var s=n.targetVisuals.inRange,l=n.targetVisuals.outOfRange,u=t.getData(),c=this._hmLayer||this._hmLayer||new a;c.blurSize=t.get("blurSize"),c.pointSize=t.get("pointSize"),c.minOpacity=t.get("minOpacity"),c.maxOpacity=t.get("maxOpacity");var d=e.getViewRect().clone(),h=e.getRoamTransform();d.applyTransform(h);var p=Math.max(d.x,0),g=Math.max(d.y,0),f=Math.min(d.width+d.x,i.getWidth()),m=Math.min(d.height+d.y,i.getHeight()),v=f-p,y=m-g,x=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],_=u.mapArray(x,(function(t,n,i){var o=e.dataToPoint([t,n]);return o[0]-=p,o[1]-=g,o.push(i),o})),b=n.getExtent(),S="visualMap.continuous"===n.type?function(e,t){var n=e[1]-e[0];return t=[(t[0]-e[0])/n,(t[1]-e[0])/n],function(e){return e>=t[0]&&e<=t[1]}}(b,n.option.range):function(e,t,n){var i=e[1]-e[0],o=(t=r.map(t,(function(t){return{interval:[(t.interval[0]-e[0])/i,(t.interval[1]-e[0])/i]}}))).length,a=0;return function(e){for(var i=a;i<o;i++){if((r=t[i].interval)[0]<=e&&e<=r[1]){a=i;break}}if(i===o)for(i=a-1;i>=0;i--){var r;if((r=t[i].interval)[0]<=e&&e<=r[1]){a=i;break}}return i>=0&&i<o&&n[i]}}(b,n.getPieceList(),n.option.selected);c.update(_,v,y,s.color.getNormalizer(),{inRange:s.color.getColorMapper(),outOfRange:l.color.getColorMapper()},S);var w=new o.Image({style:{width:v,height:y,x:p,y:g,image:c.canvas},silent:!0});this.group.add(w)},dispose:function(){}});e.exports=s},SA8n:function(e,t,n){var i=n("Sj9i"),o=n("QBsz"),a=n("U/Mo").getSymbolSize,r=[],s=[],l=[],u=i.quadraticAt,c=o.distSquare,d=Math.abs;function h(e,t,n){for(var i,o=e[0],a=e[1],h=e[2],p=1/0,g=n*n,f=.1,m=.1;m<=.9;m+=.1){r[0]=u(o[0],a[0],h[0],m),r[1]=u(o[1],a[1],h[1],m),(x=d(c(r,t)-g))<p&&(p=x,i=m)}for(var v=0;v<32;v++){var y=i+f;s[0]=u(o[0],a[0],h[0],i),s[1]=u(o[1],a[1],h[1],i),l[0]=u(o[0],a[0],h[0],y),l[1]=u(o[1],a[1],h[1],y);var x=c(s,t)-g;if(d(x)<.01)break;var _=c(l,t)-g;f/=2,x<0?_>=0?i+=f:i-=f:_>=0?i-=f:i+=f}return i}e.exports=function(e,t){var n=[],r=i.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];t/=2,e.eachEdge((function(e,i){var c=e.getLayout(),d=e.getVisual("fromSymbol"),p=e.getVisual("toSymbol");c.__original||(c.__original=[o.clone(c[0]),o.clone(c[1])],c[2]&&c.__original.push(o.clone(c[2])));var g=c.__original;if(null!=c[2]){if(o.copy(s[0],g[0]),o.copy(s[1],g[2]),o.copy(s[2],g[1]),d&&"none"!==d){var f=a(e.node1),m=h(s,g[0],f*t);r(s[0][0],s[1][0],s[2][0],m,n),s[0][0]=n[3],s[1][0]=n[4],r(s[0][1],s[1][1],s[2][1],m,n),s[0][1]=n[3],s[1][1]=n[4]}if(p&&"none"!==p){f=a(e.node2),m=h(s,g[1],f*t);r(s[0][0],s[1][0],s[2][0],m,n),s[1][0]=n[1],s[2][0]=n[2],r(s[0][1],s[1][1],s[2][1],m,n),s[1][1]=n[1],s[2][1]=n[2]}o.copy(c[0],s[0]),o.copy(c[1],s[2]),o.copy(c[2],s[1])}else{if(o.copy(l[0],g[0]),o.copy(l[1],g[1]),o.sub(u,l[1],l[0]),o.normalize(u,u),d&&"none"!==d){f=a(e.node1);o.scaleAndAdd(l[0],l[0],u,f*t)}if(p&&"none"!==p){f=a(e.node2);o.scaleAndAdd(l[1],l[1],u,-f*t)}o.copy(c[0],l[0]),o.copy(c[1],l[1])}}))}},SMc4:function(e,t,n){var i=n("bYtY"),o=n("bLfw"),a=n("nkfE"),r=n("ICMv"),s=o.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(e,t){return t.type||(t.data?"category":"value")}i.merge(s.prototype,r);var u={offset:0};a("x",s,l,u),a("y",s,l,u);var c=s;e.exports=c},SehX:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("2B6p").updateCenterAndZoom;i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){var i=t.coordinateSystem;if("geo"===i.type){var r=a(i,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom),"series"===n&&o.each(t.seriesGroup,(function(e){e.setCenter(r.center),e.setZoom(r.zoom)}))}}))}))},SgGq:function(e,t,n){var i=n("bYtY"),o=n("H6uX"),a=n("YH21"),r=n("pP6R");function s(e){this.pointerChecker,this._zr=e,this._opt={};var t=i.bind,n=t(l,this),a=t(u,this),r=t(c,this),s=t(d,this),p=t(h,this);o.call(this),this.setPointerChecker=function(e){this.pointerChecker=e},this.enable=function(t,o){this.disable(),this._opt=i.defaults(i.clone(o)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",n),e.on("mousemove",a),e.on("mouseup",r)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",s),e.on("pinch",p))},this.disable=function(){e.off("mousedown",n),e.off("mousemove",a),e.off("mouseup",r),e.off("mousewheel",s),e.off("pinch",p)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(e){if(!(a.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)){var t=e.offsetX,n=e.offsetY;this.pointerChecker&&this.pointerChecker(e,t,n)&&(this._x=t,this._y=n,this._dragging=!0)}}function u(e){if(this._dragging&&f("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!r.isTaken(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,i=this._x,o=this._y,s=t-i,l=n-o;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&a.stop(e.event),g(this,"pan","moveOnMouseMove",e,{dx:s,dy:l,oldX:i,oldY:o,newX:t,newY:n})}}function c(e){a.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function d(e){var t=f("zoomOnMouseWheel",e,this._opt),n=f("moveOnMouseWheel",e,this._opt),i=e.wheelDelta,o=Math.abs(i),a=e.offsetX,r=e.offsetY;if(0!==i&&(t||n)){if(t){var s=o>3?1.4:o>1?1.2:1.1;p(this,"zoom","zoomOnMouseWheel",e,{scale:i>0?s:1/s,originX:a,originY:r})}if(n){var l=Math.abs(i);p(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:a,originY:r})}}}function h(e){r.isTaken(this._zr,"globalPan")||p(this,"zoom",null,e,{scale:e.pinchScale>1?1.1:1/1.1,originX:e.pinchX,originY:e.pinchY})}function p(e,t,n,i,o){e.pointerChecker&&e.pointerChecker(i,o.originX,o.originY)&&(a.stop(i.event),g(e,t,n,i,o))}function g(e,t,n,o,a){a.isAvailableBehavior=i.bind(f,null,n,o),e.trigger(t,a)}function f(e,t,n){var o=n[e];return!e||o&&(!i.isString(o)||t.event[o+"Key"])}i.mixin(s,o);var m=s;e.exports=m},SrGk:function(e,t,n){var i=n("hydK").createElement,o=n("bYtY"),a=n("y+Vt"),r=n("Dagg"),s=n("dqUG"),l=n("P47w"),u=l.path,c=l.image,d=l.text;function h(e,t,n,i,o){this._zrId=e,this._svgRoot=t,this._tagNames="string"==typeof n?[n]:n,this._markLabel=i,this._domName=o||"_dom",this.nextId=0}h.prototype.createElement=i,h.prototype.getDefs=function(e){var t=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");return 0===n.length?e?((n=t.insertBefore(this.createElement("defs"),t.firstChild)).contains||(n.contains=function(e){var t=n.children;if(!t)return!1;for(var i=t.length-1;i>=0;--i)if(t[i]===e)return!0;return!1}),n):null:n[0]},h.prototype.update=function(e,t){if(e){var n=this.getDefs(!1);if(e[this._domName]&&n.contains(e[this._domName]))"function"==typeof t&&t(e);else{var i=this.add(e);i&&(e[this._domName]=i)}}},h.prototype.addDom=function(e){this.getDefs(!0).appendChild(e)},h.prototype.removeDom=function(e){var t=this.getDefs(!1);t&&e[this._domName]&&(t.removeChild(e[this._domName]),e[this._domName]=null)},h.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var t=[];return o.each(this._tagNames,(function(n){var i=e.getElementsByTagName(n);t=t.concat([].slice.call(i))})),t},h.prototype.markAllUnused=function(){var e=this.getDoms(),t=this;o.each(e,(function(e){e[t._markLabel]="0"}))},h.prototype.markUsed=function(e){e&&(e[this._markLabel]="1")},h.prototype.removeUnused=function(){var e=this.getDefs(!1);if(e){var t=this.getDoms(),n=this;o.each(t,(function(t){"1"!==t[n._markLabel]&&e.removeChild(t)}))}},h.prototype.getSvgProxy=function(e){return e instanceof a?u:e instanceof r?c:e instanceof s?d:u},h.prototype.getTextSvgElement=function(e){return e.__textSvgEl},h.prototype.getSvgElement=function(e){return e.__svgEl};var p=h;e.exports=p},Swgg:function(e,t,n){var i=n("fc+c").extend({type:"dataZoom.select"});e.exports=i},TIY9:function(e,t,n){var i=n("bYtY").each,o=n("vafp"),a=n("4NO4").makeInner,r=n("Mgri"),s=n("F5Ls"),l=n("a9QJ"),u=n("p/La"),c=a(),d={load:function(e,t,n){var a=c(t).parsed;if(a)return a;var d,p=t.specialAreas||{},g=t.geoJSON;try{d=g?o(g,n):[]}catch(e){throw new Error("Invalid geoJson format\n"+e.message)}return r(e,d),i(d,(function(t){var n=t.name;s(e,t),l(e,t),u(e,t);var i=p[n];i&&t.transformTo(i.left,i.top,i.width,i.height)})),c(t).parsed={regions:d,boundingRect:h(d)}}};function h(e){for(var t,n=0;n<e.length;n++){var i=e[n].getBoundingRect();(t=t||i.clone()).union(i)}return t}e.exports=d},TJmX:function(e,t,n){var i=n("zM3Q"),o=["itemStyle","borderColor"],a=["itemStyle","borderColor0"],r=["itemStyle","color"],s=["itemStyle","color0"],l={seriesType:"candlestick",plan:i(),performRawSeries:!0,reset:function(e,t){if(e.getData().setVisual({legendSymbol:"roundRect",colorP:n(1,e),colorN:n(-1,e),borderColorP:i(1,e),borderColorN:i(-1,e)}),!t.isSeriesFiltered(e))return!e.pipelineContext.large&&{progress:function(e,t){var o;for(;null!=(o=e.next());){var a=t.getItemModel(o),r=t.getItemLayout(o).sign;t.setItemVisual(o,{color:n(r,a),borderColor:i(r,a)})}}};function n(e,t){return t.get(e>0?r:s)}function i(e,t){return t.get(e>0?o:a)}}};e.exports=l},TWL2:function(e,t,n){var i=n("IwbS"),o=n("bYtY"),a=n("6Ic6");function r(e,t){i.Group.call(this);var n=new i.Polygon,o=new i.Polyline,a=new i.Text;this.add(n),this.add(o),this.add(a),this.highDownOnUpdate=function(e,t){"emphasis"===t?(o.ignore=o.hoverIgnore,a.ignore=a.hoverIgnore):(o.ignore=o.normalIgnore,a.ignore=a.normalIgnore)},this.updateData(e,t,!0)}var s=r.prototype,l=["itemStyle","opacity"];s.updateData=function(e,t,n){var a=this.childAt(0),r=e.hostModel,s=e.getItemModel(t),u=e.getItemLayout(t),c=e.getItemModel(t).get(l);c=null==c?1:c,a.useStyle({}),n?(a.setShape({points:u.points}),a.setStyle({opacity:0}),i.initProps(a,{style:{opacity:c}},r,t)):i.updateProps(a,{style:{opacity:c},shape:{points:u.points}},r,t);var d=s.getModel("itemStyle"),h=e.getItemVisual(t,"color");a.setStyle(o.defaults({lineJoin:"round",fill:h},d.getItemStyle(["opacity"]))),a.hoverStyle=d.getModel("emphasis").getItemStyle(),this._updateLabel(e,t),i.setHoverStyle(this)},s._updateLabel=function(e,t){var n=this.childAt(1),o=this.childAt(2),a=e.hostModel,r=e.getItemModel(t),s=e.getItemLayout(t).label,l=e.getItemVisual(t,"color");i.updateProps(n,{shape:{points:s.linePoints||s.linePoints}},a,t),i.updateProps(o,{style:{x:s.x,y:s.y}},a,t),o.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=r.getModel("label"),c=r.getModel("emphasis.label"),d=r.getModel("labelLine"),h=r.getModel("emphasis.labelLine");l=e.getItemVisual(t,"color");i.setLabelStyle(o.style,o.hoverStyle={},u,c,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:e.getName(t),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),o.ignore=o.normalIgnore=!u.get("show"),o.hoverIgnore=!c.get("show"),n.ignore=n.normalIgnore=!d.get("show"),n.hoverIgnore=!h.get("show"),n.setStyle({stroke:l}),n.setStyle(d.getModel("lineStyle").getLineStyle()),n.hoverStyle=h.getModel("lineStyle").getLineStyle()},o.inherits(r,i.Group);var u=a.extend({type:"funnel",render:function(e,t,n){var i=e.getData(),o=this._data,a=this.group;i.diff(o).add((function(e){var t=new r(i,e);i.setItemGraphicEl(e,t),a.add(t)})).update((function(e,t){var n=o.getItemGraphicEl(t);n.updateData(i,e),a.add(n),i.setItemGraphicEl(e,n)})).remove((function(e){var t=o.getItemGraphicEl(e);a.remove(t)})).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});e.exports=u},TYVI:function(e,t,n){var i=n("5GtS"),o=n("T4UG").extend({type:"series.gauge",getInitialData:function(e,t){return i(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}});e.exports=o},ThAp:function(e,t,n){var i=n("bYtY"),o=n("5GtS"),a=n("T4UG"),r=n("7aKB"),s=r.encodeHTML,l=r.addCommas,u=n("cCMj"),c=n("KxfA").retrieveRawAttr,d=n("W4dC"),h=n("D5nY").makeSeriesEncodeForNameBased,p=a.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var t=o(this,{coordDimensions:["value"],encodeDefaulter:i.curry(h,this)}),n=t.mapDimension("value"),a=i.createHashMap(),r=[],s=[],l=0,u=t.count();l<u;l++){var p=t.getName(l);a.set(p,!0),r.push({name:p,value:t.get(n,l),selected:c(t,l,"selected")})}var g=d.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return i.each(g.regions,(function(e){var t=e.name;a.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,t,n,i){for(var o=this.getData(),a=l(this.getRawValue(e)),r=o.getName(e),u=this.seriesGroup,c=[],d=0;d<u.length;d++){var h=u[d].originalData.indexOfName(r),p=o.mapDimension("value");isNaN(u[d].originalData.get(p,h))||c.push(s(u[d].name))}var g="html"===i?"<br/>":"\n";return c.join(", ")+g+s(r+" : "+a)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,i=n.getRegion(t);return i&&n.dataToPoint(i.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)"}},nameProperty:"name"}});i.mixin(p,u);var g=p;e.exports=g},TkdX:function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a="none",r="ancestor",s="self";function l(e,t,n){o.Group.call(this);var i=new o.Sector({z2:2});i.seriesIndex=t.seriesIndex;var a=new o.Text({z2:4,silent:e.getModel("label").get("silent")});function r(){a.ignore=a.hoverIgnore}function s(){a.ignore=a.normalIgnore}this.add(i),this.add(a),this.updateData(!0,e,"normal",t,n),this.on("emphasis",r).on("normal",s).on("mouseover",r).on("mouseout",s)}var u=l.prototype;u.updateData=function(e,t,n,a,r){this.node=t,t.piece=this,a=a||this._seriesModel,r=r||this._ecModel;var s=this.childAt(0);s.dataIndex=t.dataIndex;var l=t.getModel(),u=t.getLayout(),c=i.extend({},u);c.label=null;var d=function(e,t,n){var o=e.getVisual("color"),a=e.getVisual("visualMeta");a&&0!==a.length||(o=null);var r=e.getModel("itemStyle").get("color");if(r)return r;if(o)return o;if(0===e.depth)return n.option.color[0];var s=n.option.color.length;r=n.option.color[function(e){var t=e;for(;t.depth>1;)t=t.parentNode;var n=e.getAncestors()[0];return i.indexOf(n.children,t)}(e)%s];return r}(t,0,r);!function(e,t,n){t.getData().setItemVisual(e.dataIndex,"color",n)}(t,a,d);var h,p=l.getModel("itemStyle").getItemStyle();if("normal"===n)h=p;else{var g=l.getModel(n+".itemStyle").getItemStyle();h=i.merge(g,p)}h=i.defaults({lineJoin:"bevel",fill:h.fill||d},h),e?(s.setShape(c),s.shape.r=u.r0,o.updateProps(s,{shape:{r:u.r}},a,t.dataIndex),s.useStyle(h)):"object"==typeof h.fill&&h.fill.type||"object"==typeof s.style.fill&&s.style.fill.type?(o.updateProps(s,{shape:c},a),s.useStyle(h)):o.updateProps(s,{shape:c,style:h},a),this._updateLabel(a,d,n);var f=l.getShallow("cursor");if(f&&s.attr("cursor",f),e){var m=a.getShallow("highlightPolicy");this._initEvents(s,t,a,m)}this._seriesModel=a||this._seriesModel,this._ecModel=r||this._ecModel,o.setHoverStyle(this)},u.onEmphasis=function(e){var t=this;this.node.hostTree.root.eachNode((function(n){var i,o,l;n.piece&&(t.node===n?n.piece.updateData(!1,n,"emphasis"):(i=n,o=t.node,(l=e)!==a&&(l===s?i===o:l===r?i===o||i.isAncestorOf(o):i===o||i.isDescendantOf(o))?n.piece.childAt(0).trigger("highlight"):e!==a&&n.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,n){var a=this.node.getModel(),r=a.getModel("label"),s="normal"===n||"emphasis"===n?r:a.getModel(n+".label"),l=a.getModel("emphasis.label"),u=s.get("formatter")?n:"normal",c=i.retrieve(e.getFormattedLabel(this.node.dataIndex,u,null,null,"label"),this.node.name);!1===A("show")&&(c="");var d=this.node.getLayout(),h=s.get("minAngle");null==h&&(h=r.get("minAngle")),h=h/180*Math.PI;var p=d.endAngle-d.startAngle;null!=h&&Math.abs(p)<h&&(c="");var g=this.childAt(1);o.setLabelStyle(g.style,g.hoverStyle||{},r,l,{defaultText:s.getShallow("show")?c:null,autoColor:t,useInsideStyle:!0});var f,m=(d.startAngle+d.endAngle)/2,v=Math.cos(m),y=Math.sin(m),x=A("position"),_=A("distance")||0,b=A("align");"outside"===x?(f=d.r+_,b=m>Math.PI/2?"right":"left"):b&&"center"!==b?"left"===b?(f=d.r0+_,m>Math.PI/2&&(b="right")):"right"===b&&(f=d.r-_,m>Math.PI/2&&(b="left")):(f=(d.r+d.r0)/2,b="center"),g.attr("style",{text:c,textAlign:b,textVerticalAlign:A("verticalAlign")||"middle",opacity:A("opacity")});var S=f*v+d.cx,w=f*y+d.cy;g.attr("position",[S,w]);var M=A("rotate"),I=0;function A(e){var t=s.get(e);return null==t?r.get(e):t}"radial"===M?(I=-m)<-Math.PI/2&&(I+=Math.PI):"tangential"===M?(I=Math.PI/2-m)>Math.PI/2?I-=Math.PI:I<-Math.PI/2&&(I+=Math.PI):"number"==typeof M&&(I=M*Math.PI/180),g.attr("rotation",I)},u._initEvents=function(e,t,n,i){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var o=this,a=function(){o.onEmphasis(i)},r=function(){o.onNormal()};n.isAnimationEnabled()&&e.on("mouseover",a).on("mouseout",r).on("emphasis",a).on("normal",r).on("downplay",(function(){o.onDownplay()})).on("highlight",(function(){o.onHighlight()}))},i.inherits(l,o.Group);var c=l;e.exports=c},Tp9H:function(e,t,n){var i=n("ItGF"),o=n("Kagy"),a=n("IUWy"),r=o.toolbox.saveAsImage;function s(e){this.model=e}s.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:r.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:r.lang.slice()},s.prototype.unusable=!i.canvasSupported,s.prototype.onclick=function(e,t){var n=this.model,o=n.get("name")||e.get("title.0.text")||"echarts",a="svg"===t.getZr().painter.getType()?"svg":n.get("type",!0)||"png",r=t.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!=typeof MouseEvent||i.browser.ie||i.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var s=atob(r.split(",")[1]),l=s.length,u=new Uint8Array(l);l--;)u[l]=s.charCodeAt(l);var c=new Blob([u]);window.navigator.msSaveOrOpenBlob(c,o+"."+a)}else{var d=n.get("lang"),h='<body style="margin:0;"><img src="'+r+'" style="max-width:100%;" title="'+(d&&d[0]||"")+'" /></body>';window.open().document.write(h)}else{var p=document.createElement("a");p.download=o+"."+a,p.target="_blank",p.href=r;var g=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});p.dispatchEvent(g)}},a.register("saveAsImage",s);var l=s;e.exports=l},"U/Mo":function(e,t){t.getNodeGlobalScale=function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,i=t.scale,o=i&&i[0]||1;return((t.getZoom()-1)*n+1)/o},t.getSymbolSize=function(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}},UOVi:function(e,t,n){var i=n("bYtY"),o=n("7aKB"),a=["cartesian2d","polar","singleAxis"];function r(e,t){e=e.slice();var n=i.map(e,o.capitalFirst);t=(t||[]).slice();var a=i.map(t,o.capitalFirst);return function(o,r){i.each(e,(function(e,i){for(var s={name:e,capital:n[i]},l=0;l<t.length;l++)s[t[l]]=e+a[l];o.call(r,s)}))}}var s=r(["x","y","z","radius","angle","single"],["axisIndex","axis","index","id"]);t.isCoordSupported=function(e){return i.indexOf(a,e)>=0},t.createNameEach=r,t.eachAxisDim=s,t.createLinkedNodesFinder=function(e,t,n){return function(a){var r,s={nodes:[],records:{}};if(t((function(e){s.records[e.name]={}})),!a)return s;o(a,s);do{r=!1,e(l)}while(r);function l(e){!function(e,t){return i.indexOf(t.nodes,e)>=0}(e,s)&&function(e,o){var a=!1;return t((function(t){i.each(n(e,t)||[],(function(e){o.records[t.name][e]&&(a=!0)}))})),a}(e,s)&&(o(e,s),r=!0)}return s};function o(e,o){o.nodes.push(e),t((function(t){i.each(n(e,t)||[],(function(e){o.records[t.name][e]=!0}))}))}}},UnoB:function(e,t,n){var i=n("bYtY"),o=n("OELB");function a(e,t,n){if(e.count())for(var o,a=t.coordinateSystem,r=t.getLayerSeries(),s=e.mapDimension("single"),l=e.mapDimension("value"),u=i.map(r,(function(t){return i.map(t.indices,(function(t){var n=a.dataToPoint(e.get(s,t));return n[1]=e.get(l,t),n}))})),c=function(e){for(var t=e.length,n=e[0].length,i=[],o=[],a=0,r={},s=0;s<n;++s){for(var l=0,u=0;l<t;++l)u+=e[l][s][1];u>a&&(a=u),i.push(u)}for(var c=0;c<n;++c)o[c]=(a-i[c])/2;a=0;for(var d=0;d<n;++d){var h=i[d]+o[d];h>a&&(a=h)}return r.y0=o,r.max=a,r}(u),d=c.y0,h=n/c.max,p=r.length,g=r[0].indices.length,f=0;f<g;++f){o=d[f]*h,e.setItemLayout(r[0].indices[f],{layerIndex:0,x:u[0][f][0],y0:o,y:u[0][f][1]*h});for(var m=1;m<p;++m)o+=u[m-1][f][1]*h,e.setItemLayout(r[m].indices[f],{layerIndex:m,x:u[m][f][0],y0:o,y:u[m][f][1]*h})}}e.exports=function(e,t){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.coordinateSystem,i={},r=n.getRect();i.rect=r;var s=e.get("boundaryGap"),l=n.getAxis();(i.boundaryGap=s,"horizontal"===l.orient)?(s[0]=o.parsePercent(s[0],r.height),s[1]=o.parsePercent(s[1],r.height),a(t,e,r.height-s[0]-s[1])):(s[0]=o.parsePercent(s[0],r.width),s[1]=o.parsePercent(s[1],r.width),a(t,e,r.width-s[0]-s[1]));t.setLayout("layoutInfo",i)}))}},VFCP:function(e,t,n){n("dBmv"),n("KamJ")},VPsl:function(e,t){e.exports=function(e){e.eachSeriesByType("map",(function(e){var t=e.get("color"),n=e.getModel("itemStyle"),i=n.get("areaColor"),o=n.get("color")||t[e.seriesIndex%t.length];e.getData().setVisual({areaColor:i,color:o})}))}},VXYp:function(e,t,n){var i=n("bYtY"),o=n("SgGq"),a=n("iLNv"),r="\0_ec_dataZoom_roams";function s(e){var t=e.getZr();return t[r]||(t[r]={})}function l(e){i.each(e,(function(t,n){t.count||(t.controller.dispose(),delete e[n])}))}function u(e,t){e.dispatchAction({type:"dataZoom",batch:t})}t.register=function(e,t){var n=s(e),r=t.dataZoomId,c=t.coordId;i.each(n,(function(e,n){var o=e.dataZoomInfos;o[r]&&i.indexOf(t.allCoordIds,c)<0&&(delete o[r],e.count--)})),l(n);var d=n[c];d||((d=n[c]={coordId:c,dataZoomInfos:{},count:0}).controller=function(e,t){var n=new o(e.getZr());return i.each(["pan","zoom","scrollMove"],(function(e){n.on(e,(function(n){var o=[];i.each(t.dataZoomInfos,(function(i){if(n.isAvailableBehavior(i.dataZoomModel.option)){var a=(i.getRange||{})[e],r=a&&a(t.controller,n);!i.dataZoomModel.get("disabled",!0)&&r&&o.push({dataZoomId:i.dataZoomId,start:r[0],end:r[1]})}})),o.length&&t.dispatchAction(o)}))})),n}(e,d),d.dispatchAction=i.curry(u,e)),!d.dataZoomInfos[r]&&d.count++,d.dataZoomInfos[r]=t;var h,p,g,f,m=(h=d.dataZoomInfos,g={type_true:2,type_move:1,type_false:0,type_undefined:-1},f=!0,i.each(h,(function(e){var t=e.dataZoomModel,n=!t.get("disabled",!0)&&(!t.get("zoomLock",!0)||"move");g["type_"+n]>g["type_"+p]&&(p=n),f&=t.get("preventDefaultMouseMove",!0)})),{controlType:p,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!f}});d.controller.enable(m.controlType,m.opt),d.controller.setPointerChecker(t.containsPoint),a.createOrUpdate(d,"dispatchAction",t.dataZoomModel.get("throttle",!0),"fixRate")},t.unregister=function(e,t){var n=s(e);i.each(n,(function(e){e.controller.dispose();var n=e.dataZoomInfos;n[t]&&(delete n[t],e.count--)})),l(n)},t.generateCoordId=function(e){return e.type+"\0_"+e.id}},VaxA:function(e,t,n){var i=n("bYtY");function o(e){for(var t=[];e;)(e=e.parentNode)&&t.push(e);return t.reverse()}t.retrieveTargetInfo=function(e,t,n){if(e&&i.indexOf(t,e.type)>=0){var o=n.getData().tree.root,a=e.targetNode;if("string"==typeof a&&(a=o.getNodeById(a)),a&&o.contains(a))return{node:a};var r=e.targetNodeId;if(null!=r&&(a=o.getNodeById(r)))return{node:a}}},t.getPathToRoot=o,t.aboveViewRoot=function(e,t){var n=o(e);return i.indexOf(n,t)>=0},t.wrapTreePathInfo=function(e,t){for(var n=[];e;){var i=e.dataIndex;n.push({name:e.name,dataIndex:i,value:t.getRawValue(i)}),e=e.parentNode}return n.reverse(),n}},W2nI:function(e,t,n){var i=n("IwbS"),o=n("ProS"),a=n("bYtY"),r=["itemStyle","opacity"],s=["emphasis","itemStyle","opacity"],l=["lineStyle","opacity"],u=["emphasis","lineStyle","opacity"];function c(e,t){return e.getVisual("opacity")||e.getModel().get(t)}function d(e,t,n){var i=e.getGraphicEl(),o=c(e,t);null!=n&&(null==o&&(o=1),o*=n),i.downplay&&i.downplay(),i.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",o)}))}function h(e,t){var n=c(e,t),i=e.getGraphicEl();i.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",n)})),i.highlight&&i.highlight()}var p=i.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 n=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),"vertical"===t.orient?(e.lineTo(t.x2+n,t.y2),e.bezierCurveTo(t.cpx2+n,t.cpy2,t.cpx1+n,t.cpy1,t.x1+n,t.y1)):(e.lineTo(t.x2,t.y2+n),e.bezierCurveTo(t.cpx2,t.cpy2+n,t.cpx1,t.cpy1+n,t.x1,t.y1+n)),e.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),g=o.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(e,t,n){var o=this,a=e.getGraph(),r=this.group,s=e.layoutInfo,l=s.width,u=s.height,c=e.getData(),d=e.getData("edge"),h=e.get("orient");this._model=e,r.removeAll(),r.attr("position",[s.x,s.y]),a.eachEdge((function(t){var n=new p;n.dataIndex=t.dataIndex,n.seriesIndex=e.seriesIndex,n.dataType="edge";var o,a,s,c,g,f,m,v,y=t.getModel("lineStyle"),x=y.get("curveness"),_=t.node1.getLayout(),b=t.node1.getModel(),S=b.get("localX"),w=b.get("localY"),M=t.node2.getLayout(),I=t.node2.getModel(),A=I.get("localX"),T=I.get("localY"),D=t.getLayout();switch(n.shape.extent=Math.max(1,D.dy),n.shape.orient=h,"vertical"===h?(o=(null!=S?S*l:_.x)+D.sy,a=(null!=w?w*u:_.y)+_.dy,s=(null!=A?A*l:M.x)+D.ty,g=o,f=a*(1-x)+(c=null!=T?T*u:M.y)*x,m=s,v=a*x+c*(1-x)):(o=(null!=S?S*l:_.x)+_.dx,a=(null!=w?w*u:_.y)+D.sy,g=o*(1-x)+(s=null!=A?A*l:M.x)*x,f=a,m=o*x+s*(1-x),v=c=(null!=T?T*u:M.y)+D.ty),n.setShape({x1:o,y1:a,x2:s,y2:c,cpx1:g,cpy1:f,cpx2:m,cpy2:v}),n.setStyle(y.getItemStyle()),n.style.fill){case"source":n.style.fill=t.node1.getVisual("color");break;case"target":n.style.fill=t.node2.getVisual("color")}i.setHoverStyle(n,t.getModel("emphasis.lineStyle").getItemStyle()),r.add(n),d.setItemGraphicEl(t.dataIndex,n)})),a.eachNode((function(t){var n=t.getLayout(),o=t.getModel(),a=o.get("localX"),s=o.get("localY"),d=o.getModel("label"),h=o.getModel("emphasis.label"),p=new i.Rect({shape:{x:null!=a?a*l:n.x,y:null!=s?s*u:n.y,width:n.dx,height:n.dy},style:o.getModel("itemStyle").getItemStyle()}),g=t.getModel("emphasis.itemStyle").getItemStyle();i.setLabelStyle(p.style,g,d,h,{labelFetcher:e,labelDataIndex:t.dataIndex,defaultText:t.id,isRectText:!0}),p.setStyle("fill",t.getVisual("color")),i.setHoverStyle(p,g),r.add(p),c.setItemGraphicEl(t.dataIndex,p),p.dataType="node"})),c.eachItemGraphicEl((function(t,i){var a=c.getItemModel(i);a.get("draggable")&&(t.drift=function(t,a){o._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=a,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(i),localX:this.shape.x/l,localY:this.shape.y/u})},t.ondragend=function(){o._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move"),t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),a.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){o._focusAdjacencyDisabled||(o._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){o._focusAdjacencyDisabled||o._dispatchUnfocus(n)}))})),d.eachItemGraphicEl((function(t,i){var a=d.getItemModel(i);t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),a.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){o._focusAdjacencyDisabled||(o._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){o._focusAdjacencyDisabled||o._dispatchUnfocus(n)}))})),!this._data&&e.get("animation")&&r.setClipPath(function(e,t,n){var o=new i.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return i.initProps(o,{shape:{width:e.width+20}},t,n),o}(r.getBoundingRect(),e,(function(){r.removeClipPath()}))),this._data=e.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(e){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){t._unfocusDelayTimer=null,e.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(e,t,n,i){var o=e.getData(),c=o.graph,p=i.dataIndex,g=o.getItemModel(p),f=i.edgeDataIndex;if(null!=p||null!=f){var m=c.getNodeByIndex(p),v=c.getEdgeByIndex(f);if(c.eachNode((function(e){d(e,r,.1)})),c.eachEdge((function(e){d(e,l,.1)})),m){h(m,s);var y=g.get("focusNodeAdjacency");"outEdges"===y?a.each(m.outEdges,(function(e){e.dataIndex<0||(h(e,u),h(e.node2,s))})):"inEdges"===y?a.each(m.inEdges,(function(e){e.dataIndex<0||(h(e,u),h(e.node1,s))})):"allEdges"===y&&a.each(m.edges,(function(e){e.dataIndex<0||(h(e,u),e.node1!==m&&h(e.node1,s),e.node2!==m&&h(e.node2,s))}))}v&&(h(v,u),h(v.node1,s),h(v.node2,s))}},unfocusNodeAdjacency:function(e,t,n,i){var o=e.getGraph();o.eachNode((function(e){d(e,r)})),o.eachEdge((function(e){d(e,l)}))}});e.exports=g},W4dC:function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=i.each,a=i.createHashMap,r=n("7DRL"),s=n("TIY9"),l=n("yS9w"),u=n("mFDi"),c={geoJSON:s,svg:l},d={load:function(e,t,n){var i,r=[],s=a(),l=a(),d=p(e);return o(d,(function(a){var u=c[a.type].load(e,a,n);o(u.regions,(function(e){var n=e.name;t&&t.hasOwnProperty(n)&&(e=e.cloneShallow(n=t[n])),r.push(e),s.set(n,e),l.set(n,e.center)}));var d=u.boundingRect;d&&(i?i.union(d):i=d.clone())})),{regions:r,regionsMap:s,nameCoordMap:l,boundingRect:i||new u(0,0,0,0)}},makeGraphic:h("makeGraphic"),removeGraphic:h("removeGraphic")};function h(e){return function(t,n){var i=p(t),a=[];return o(i,(function(i){var o=c[i.type][e];o&&a.push(o(t,i,n))})),a}}function p(e){return r.retrieveMap(e)||[]}e.exports=d},WGYa:function(e,t,n){var i=n("7yuC").forceLayout,o=n("HF/U").simpleLayout,a=n("lOQZ").circularLayout,r=n("OELB").linearMap,s=n("QBsz"),l=n("bYtY"),u=n("DDd/").getCurvenessForEdge;e.exports=function(e){e.eachSeriesByType("graph",(function(e){if(!(y=e.coordinateSystem)||"view"===y.type)if("force"===e.get("layout")){var t=e.preservedPoints||{},n=e.getGraph(),c=n.data,d=n.edgeData,h=e.getModel("force"),p=h.get("initLayout");e.preservedPoints?c.each((function(e){var n=c.getId(e);c.setItemLayout(e,t[n]||[NaN,NaN])})):p&&"none"!==p?"circular"===p&&a(e,"value"):o(e);var g=c.getDataExtent("value"),f=d.getDataExtent("value"),m=h.get("repulsion"),v=h.get("edgeLength");l.isArray(m)||(m=[m,m]),l.isArray(v)||(v=[v,v]),v=[v[1],v[0]];var y,x=c.mapArray("value",(function(e,t){var n=c.getItemLayout(t),i=r(e,g,m);return isNaN(i)&&(i=(m[0]+m[1])/2),{w:i,rep:i,fixed:c.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),_=d.mapArray("value",(function(t,i){var o=n.getEdgeByIndex(i),a=r(t,f,v);isNaN(a)&&(a=(v[0]+v[1])/2);var s=o.getModel(),c=l.retrieve3(s.get("lineStyle.curveness"),-u(o,e,i,!0),0);return{n1:x[o.node1.dataIndex],n2:x[o.node2.dataIndex],d:a,curveness:c,ignoreForceLayout:s.get("ignoreForceLayout")}})),b=(y=e.coordinateSystem).getBoundingRect(),S=i(x,_,{rect:b,gravity:h.get("gravity"),friction:h.get("friction")}),w=S.step;S.step=function(e){for(var i=0,o=x.length;i<o;i++)x[i].fixed&&s.copy(x[i].p,n.getNodeByIndex(i).getLayout());w((function(i,o,a){for(var r=0,l=i.length;r<l;r++)i[r].fixed||n.getNodeByIndex(r).setLayout(i[r].p),t[c.getId(r)]=i[r].p;for(r=0,l=o.length;r<l;r++){var u=o[r],d=n.getEdgeByIndex(r),h=u.n1.p,p=u.n2.p,g=d.getLayout();(g=g?g.slice():[])[0]=g[0]||[],g[1]=g[1]||[],s.copy(g[0],h),s.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]),d.setLayout(g)}e&&e(a)}))},e.forceLayout=S,e.preservedPoints=t,S.step()}else e.forceLayout=null}))}},"WN+l":function(e,t,n){var i=n("bYtY"),o=n("IwbS");t.rectCoordAxisBuildSplitArea=function(e,t,n,a){var r=n.axis;if(!r.scale.isBlank()){var s=n.getModel("splitArea"),l=s.getModel("areaStyle"),u=l.get("color"),c=a.coordinateSystem.getRect(),d=r.getTicksCoords({tickModel:s,clamp:!0});if(d.length){var h=u.length,p=e.__splitAreaColors,g=i.createHashMap(),f=0;if(p)for(var m=0;m<d.length;m++){var v=p.get(d[m].tickValue);if(null!=v){f=(v+(h-1)*m)%h;break}}var y=r.toGlobalCoord(d[0].coord),x=l.getAreaStyle();u=i.isArray(u)?u:[u];for(m=1;m<d.length;m++){var _,b,S,w,M=r.toGlobalCoord(d[m].coord);r.isHorizontal()?(_=y,b=c.y,S=M-_,w=c.height,y=_+S):(_=c.x,b=y,S=c.width,y=b+(w=M-b));var I=d[m-1].tickValue;null!=I&&g.set(I,f),t.add(new o.Rect({anid:null!=I?"area_"+I:null,shape:{x:_,y:b,width:S,height:w},style:i.defaults({fill:u[f]},x),silent:!0})),f=(f+1)%h}e.__splitAreaColors=g}}},t.rectCoordAxisHandleRemove=function(e){e.__splitAreaColors=null}},Wqna:function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=i.isObject,a=i.each,r=i.map,s=i.indexOf,l=(i.retrieve,n("+TT/").getLayoutRect),u=n("aX7z"),c=u.createScaleByModel,d=u.ifAxisCrossZero,h=u.niceScaleExtent,p=u.estimateLabelUnionRect,g=n("y+lR"),f=n("7AJT"),m=n("IDmD"),v=n("7hqr").getStackedDimension;function y(e,t,n){return e.getCoordSysModel()===t}function x(e,t,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(e,t,n),this.model=e}n("jtI2");var _=x.prototype;function b(e,t,n,i){n.getAxesOnZeroOf=function(){return o?[o]:[]};var o,a=e[t],r=n.model,s=r.get("axisLine.onZero"),l=r.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)S(a[l])&&(o=a[l]);else for(var u in a)if(a.hasOwnProperty(u)&&S(a[u])&&!i[c(a[u])]){o=a[u];break}o&&(i[c(o)]=!0)}function c(e){return e.dim+"_"+e.index}}function S(e){return e&&"category"!==e.type&&"time"!==e.type&&d(e)}_.type="grid",_.axisPointerEnabled=!0,_.getRect=function(){return this._rect},_.update=function(e,t){var n=this._axesMap;this._updateScale(e,this.model),a(n.x,(function(e){h(e.scale,e.model)})),a(n.y,(function(e){h(e.scale,e.model)}));var i={};a(n.x,(function(e){b(n,"y",e,i)})),a(n.y,(function(e){b(n,"x",e,i)})),this.resize(this.model,t)},_.resize=function(e,t,n){var i=l(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()});this._rect=i;var o=this._axesList;function r(){a(o,(function(e){var t=e.isHorizontal(),n=t?[0,i.width]:[0,i.height],o=e.inverse?1:0;e.setExtent(n[o],n[1-o]),function(e,t){var n=e.getExtent(),i=n[0]+n[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return i-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return i-e+t}}(e,t?i.x:i.y)}))}r(),!n&&e.get("containLabel")&&(a(o,(function(e){if(!e.model.get("axisLabel.inside")){var t=p(e);if(t){var n=e.isHorizontal()?"height":"width",o=e.model.get("axisLabel.margin");i[n]-=t[n]+o,"top"===e.position?i.y+=t.height+o:"left"===e.position&&(i.x+=t.width+o)}}})),r())},_.getAxis=function(e,t){var n=this._axesMap[e];if(null!=n){if(null==t)for(var i in n)if(n.hasOwnProperty(i))return n[i];return n[t]}},_.getAxes=function(){return this._axesList.slice()},_.getCartesian=function(e,t){if(null!=e&&null!=t){var n="x"+e+"y"+t;return this._coordsMap[n]}o(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var i=0,a=this._coordsList;i<a.length;i++)if(a[i].getAxis("x").index===e||a[i].getAxis("y").index===t)return a[i]},_.getCartesians=function(){return this._coordsList.slice()},_.convertToPixel=function(e,t,n){var i=this._findConvertTarget(e,t);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},_.convertFromPixel=function(e,t,n){var i=this._findConvertTarget(e,t);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},_._findConvertTarget=function(e,t){var n,i,o=t.seriesModel,a=t.xAxisModel||o&&o.getReferringComponents("xAxis")[0],r=t.yAxisModel||o&&o.getReferringComponents("yAxis")[0],l=t.gridModel,u=this._coordsList;if(o)n=o.coordinateSystem,s(u,n)<0&&(n=null);else if(a&&r)n=this.getCartesian(a.componentIndex,r.componentIndex);else if(a)i=this.getAxis("x",a.componentIndex);else if(r)i=this.getAxis("y",r.componentIndex);else if(l){l.coordinateSystem===this&&(n=this._coordsList[0])}return{cartesian:n,axis:i}},_.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},_._initCartesian=function(e,t,n){var i={left:!1,right:!1,top:!1,bottom:!1},o={x:{},y:{}},r={x:0,y:0};if(t.eachComponent("xAxis",s("x"),this),t.eachComponent("yAxis",s("y"),this),!r.x||!r.y)return this._axesMap={},void(this._axesList=[]);function s(t){return function(n,a){if(y(n,e)){var s=n.get("position");"x"===t?"top"!==s&&"bottom"!==s&&(s=i.bottom?"top":"bottom"):"left"!==s&&"right"!==s&&(s=i.left?"right":"left"),i[s]=!0;var l=new f(t,c(n),[0,0],n.get("type"),s),u="category"===l.type;l.onBand=u&&n.get("boundaryGap"),l.inverse=n.get("inverse"),n.axis=l,l.model=n,l.grid=this,l.index=a,this._axesList.push(l),o[t][a]=l,r[t]++}}}this._axesMap=o,a(o.x,(function(t,n){a(o.y,(function(i,o){var a="x"+n+"y"+o,r=new g(a);r.grid=this,r.model=e,this._coordsMap[a]=r,this._coordsList.push(r),r.addAxis(t),r.addAxis(i)}),this)}),this)},_._updateScale=function(e,t){function n(e,t,n){a(e.mapDimension(t.dim,!0),(function(n){t.scale.unionExtentFromData(e,v(e,n))}))}a(this._axesList,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeries((function(i){if(I(i)){var o=M(i,e),a=o[0],r=o[1];if(!y(a,t)||!y(r,t))return;var s=this.getCartesian(a.componentIndex,r.componentIndex),l=i.getData(),u=s.getAxis("x"),c=s.getAxis("y");"list"===l.type&&(n(l,u,i),n(l,c,i))}}),this)},_.getTooltipAxes=function(e){var t=[],n=[];return a(this.getCartesians(),(function(i){var o=null!=e&&"auto"!==e?i.getAxis(e):i.getBaseAxis(),a=i.getOtherAxis(o);s(t,o)<0&&t.push(o),s(n,a)<0&&n.push(a)})),{baseAxes:t,otherAxes:n}};var w=["xAxis","yAxis"];function M(e,t){return r(w,(function(t){return e.getReferringComponents(t)[0]}))}function I(e){return"cartesian2d"===e.get("coordinateSystem")}x.create=function(e,t){var n=[];return e.eachComponent("grid",(function(i,o){var a=new x(i,e,t);a.name="grid_"+o,a.resize(i,t,!0),i.coordinateSystem=a,n.push(a)})),e.eachSeries((function(e){if(I(e)){var t=M(e),n=t[0],i=t[1],o=n.getCoordSysModel().coordinateSystem;e.coordinateSystem=o.getCartesian(n.componentIndex,i.componentIndex)}})),n},x.dimensions=x.prototype.dimensions=g.prototype.dimensions,m.register("cartesian2d",x);var A=x;e.exports=A},XOKv:function(e,t,n){n("OXB0"),n("SA4+")},XxSj:function(e,t,n){var i=n("bYtY"),o=n("Qe9p"),a=n("OELB").linearMap,r=i.each,s=i.isObject,l=function(e){var t=e.mappingMethod,n=e.type,o=this.option=i.clone(e);this.type=n,this.mappingMethod=t,this._normalizeData=x[t];var a=u[n];this.applyVisual=a.applyVisual,this.getColorMapper=a.getColorMapper,this._doMap=a._doMap[t],"piecewise"===t?(c(o),function(e){var t=e.pieceList;e.hasSpecialVisual=!1,i.each(t,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}(o)):"category"===t?o.categories?function(e){var t=e.categories,n=e.visual,o=e.categoryMap={};if(r(t,(function(e,t){o[e]=t})),!i.isArray(n)){var a=[];i.isObject(n)?r(n,(function(e,t){var n=o[t];a[null!=n?n:-1]=e})):a[-1]=n,n=y(e,a)}for(var s=t.length-1;s>=0;s--)null==n[s]&&(delete o[t[s]],t.pop())}(o):c(o,!0):(i.assert("linear"!==t||o.dataExtent),c(o))};l.prototype={constructor:l,mapValueToVisual:function(e){var t=this._normalizeData(e);return this._doMap(t,e)},getNormalizer:function(){return i.bind(this._normalizeData,this)}};var u=l.visualHandlers={color:{applyVisual:p("color"),getColorMapper:function(){var e=this.option;return i.bind("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),g.call(this,e)}:function(t,n,i){var a=!!i;return!n&&(t=this._normalizeData(t)),i=o.fastLerp(t,e.parsedVisual,i),a?i:o.stringify(i,"rgba")},this)},_doMap:{linear:function(e){return o.stringify(o.fastLerp(e,this.option.parsedVisual),"rgba")},category:g,piecewise:function(e,t){var n=v.call(this,t);return null==n&&(n=o.stringify(o.fastLerp(e,this.option.parsedVisual),"rgba")),n},fixed:f}},colorHue:d((function(e,t){return o.modifyHSL(e,t)})),colorSaturation:d((function(e,t){return o.modifyHSL(e,null,t)})),colorLightness:d((function(e,t){return o.modifyHSL(e,null,null,t)})),colorAlpha:d((function(e,t){return o.modifyAlpha(e,t)})),opacity:{applyVisual:p("opacity"),_doMap:m([0,1])},liftZ:{applyVisual:p("liftZ"),_doMap:{linear:f,category:f,piecewise:f,fixed:f}},symbol:{applyVisual:function(e,t,n){var o=this.mapValueToVisual(e);if(i.isString(o))n("symbol",o);else if(s(o))for(var a in o)o.hasOwnProperty(a)&&n(a,o[a])},_doMap:{linear:h,category:g,piecewise:function(e,t){var n=v.call(this,t);return null==n&&(n=h.call(this,e)),n},fixed:f}},symbolSize:{applyVisual:p("symbolSize"),_doMap:m([0,1])}};function c(e,t){var n=e.visual,o=[];i.isObject(n)?r(n,(function(e){o.push(e)})):null!=n&&o.push(n);t||1!==o.length||{color:1,symbol:1}.hasOwnProperty(e.type)||(o[1]=o[0]),y(e,o)}function d(e){return{applyVisual:function(t,n,i){t=this.mapValueToVisual(t),i("color",e(n("color"),t))},_doMap:m([0,1])}}function h(e){var t=this.option.visual;return t[Math.round(a(e,[0,1],[0,t.length-1],!0))]||{}}function p(e){return function(t,n,i){i(e,this.mapValueToVisual(t))}}function g(e){var t=this.option.visual;return t[this.option.loop&&-1!==e?e%t.length:e]}function f(){return this.option.visual[0]}function m(e){return{linear:function(t){return a(t,e,this.option.visual,!0)},category:g,piecewise:function(t,n){var i=v.call(this,n);return null==i&&(i=a(t,e,this.option.visual,!0)),i},fixed:f}}function v(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var i=n[l.findPieceIndex(e,n)];if(i&&i.visual)return i.visual[this.type]}}function y(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=i.map(t,(function(e){return o.parse(e)}))),t}var x={linear:function(e){return a(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=l.findPieceIndex(e,t,!0);if(null!=n)return a(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?-1:t},fixed:i.noop};function _(e,t,n){return e?t<=n:t<n}l.listVisualTypes=function(){var e=[];return i.each(u,(function(t,n){e.push(n)})),e},l.addVisualHandler=function(e,t){u[e]=t},l.isValidType=function(e){return u.hasOwnProperty(e)},l.eachVisual=function(e,t,n){i.isObject(e)?i.each(e,t,n):t.call(n,e)},l.mapVisual=function(e,t,n){var o,a=i.isArray(e)?[]:i.isObject(e)?{}:(o=!0,null);return l.eachVisual(e,(function(e,i){var r=t.call(n,e,i);o?a=r:a[i]=r})),a},l.retrieveVisuals=function(e){var t,n={};return e&&r(u,(function(i,o){e.hasOwnProperty(o)&&(n[o]=e[o],t=!0)})),t?n:null},l.prepareVisualTypes=function(e){if(s(e)){var t=[];r(e,(function(e,n){t.push(n)})),e=t}else{if(!i.isArray(e))return[];e=e.slice()}return e.sort((function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1})),e},l.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},l.findPieceIndex=function(e,t,n){for(var i,o=1/0,a=0,r=t.length;a<r;a++){var s=t[a].value;if(null!=s){if(s===e||"string"==typeof s&&s===e+"")return a;n&&d(s,a)}}for(a=0,r=t.length;a<r;a++){var l=t[a],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if(_(c[1],e,u[1]))return a}else if(u[1]===1/0){if(_(c[0],u[0],e))return a}else if(_(c[0],u[0],e)&&_(c[1],e,u[1]))return a;n&&d(u[0],a),n&&d(u[1],a)}}if(n)return e===1/0?t.length-1:e===-1/0?0:i;function d(t,n){var a=Math.abs(t-e);a<o&&(o=a,i=n)}};var b=l;e.exports=b},YNf1:function(e,t,n){var i=n("IwbS"),o=n("6Ic6");function a(e,t,n,i){for(var o,a=[],r=0;r<n.length;r++){var s=n[r],l=e.get(e.mapDimension(s),t);o=l,("category"===i.getAxis(s).type?null==o:null==o||isNaN(o))||a.push(i.dataToPoint(l,s))}return a}function r(e,t,n,o,r){var s=a(e,n,o,r),l=new i.Polyline({shape:{points:s},silent:!0,z2:10});return t.add(l),e.setItemGraphicEl(n,l),l}function s(e){var t=e.get("smooth",!0);return!0===t&&(t=.3),{lineStyle:e.getModel("lineStyle").getLineStyle(),smooth:null!=t?t:.3}}function l(e,t,n,i){var o=i.lineStyle;t.hasItemOption&&(o=t.getItemModel(n).getModel("lineStyle").getLineStyle());e.useStyle(o);var a=e.style;a.fill=null,a.stroke=t.getItemVisual(n,"color"),a.opacity=t.getItemVisual(n,"opacity"),i.smooth&&(e.shape.smooth=i.smooth)}var u=o.extend({type:"parallel",init:function(){this._dataGroup=new i.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(e,t,n,o){var u=this._dataGroup,c=e.getData(),d=this._data,h=e.coordinateSystem,p=h.dimensions,g=s(e);if(c.diff(d).add((function(e){l(r(c,u,e,p,h),c,e,g)})).update((function(t,n){var r=d.getItemGraphicEl(n),s=a(c,t,p,h);c.setItemGraphicEl(t,r);var u=o&&!1===o.animation?null:e;i.updateProps(r,{shape:{points:s}},u,t),l(r,c,t,g)})).remove((function(e){var t=d.getItemGraphicEl(e);u.remove(t)})).execute(),!this._initialized){this._initialized=!0;var f=function(e,t,n){var o=e.model,a=e.getRect(),r=new i.Rect({shape:{x:a.x,y:a.y,width:a.width,height:a.height}}),s="horizontal"===o.get("layout")?"width":"height";return r.setShape(s,0),i.initProps(r,{shape:{width:a.width,height:a.height}},t,n),r}(h,e,(function(){setTimeout((function(){u.removeClipPath()}))}));u.setClipPath(f)}this._data=c},incrementalPrepareRender:function(e,t,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(e,t,n){for(var i=t.getData(),o=t.coordinateSystem,a=o.dimensions,u=s(t),c=e.start;c<e.end;c++){var d=r(i,this._dataGroup,c,a,o);d.incremental=!0,l(d,i,c,u)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});e.exports=u},YOMW:function(e,t,n){var i=n("bYtY"),o={get:function(e,t,n){var o=i.clone((a[e]||{})[t]);return n&&i.isArray(o)?o[o.length-1]:o}},a={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},r=o;e.exports=r},Z1r0:function(e,t){e.exports=function(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),i=e.getGraph().data,o=n.mapArray(n.getName);i.filterSelf((function(e){var n=i.getItemModel(e).getShallow("category");if(null!=n){"number"==typeof n&&(n=o[n]);for(var a=0;a<t.length;a++)if(!t[a].isSelected(n))return!1}return!0}))}),this)}},Z1wy:function(e,t,n){var i=n("ProS");n("ThAp"),n("pmaE"),n("SehX"),n("7uqq");var o=n("zuHt"),a=n("VPsl"),r=n("9u0u"),s=n("lELe"),l=n("d4KN");i.registerLayout(o),i.registerVisual(a),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,r),i.registerPreprocessor(s),l("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(e,t,n){var i=n("MwEJ"),o=n("T4UG").extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(e,t){return i(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});e.exports=o},Z8zF:function(e,t,n){n("Tghj").__DEV__;var i=n("ProS"),o=n("bYtY"),a=n("IwbS"),r=n("56rv").setLabel,s=n("Qxkt"),l=n("tceW"),u=n("y+Vt"),c=n("4fz+"),d=n("iLNv").throttle,h=n("sK/D").createClipPath,p=n("wr5s"),g=["itemStyle","barBorderWidth"],f=[0,0];o.extend(s.prototype,l);var m=i.extendChartView({type:"bar",render:function(e,t,n){this._updateDrawMode(e);var i=e.get("coordinateSystem");return"cartesian2d"!==i&&"polar"!==i||(this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n)),this.group},incrementalPrepareRender:function(e,t,n){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,n,i){this._incrementalRenderLarge(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e,t,n){var i,o=this.group,r=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?i=u.isHorizontal():"polar"===l.type&&(i="angle"===u.dim);var d=e.isAnimationEnabled()?e:null,h=e.get("clip",!0),p=function(e,t){var n=e.getArea&&e.getArea();if("cartesian2d"===e.type){var i=e.getBaseAxis();if("category"!==i.type||!i.onBand){var o=t.getLayout("bandWidth");i.isHorizontal()?(n.x-=o,n.width+=2*o):(n.y-=o,n.height+=2*o)}}return n}(l,r);o.removeClipPath();var g=e.get("roundCap",!0),f=e.get("showBackground",!0),m=e.getModel("backgroundStyle"),v=m.get("barBorderRadius")||0,y=[],M=this._backgroundEls||[],A=function(e){var t=w[l.type](r,e),n=function(e,t,n){return new("polar"===e.type?a.Sector:a.Rect)({shape:C(t,n,e),silent:!0,z2:0})}(l,i,t);return n.useStyle(m.getBarItemStyle()),"cartesian2d"===l.type&&n.setShape("r",v),y[e]=n,n};r.diff(s).add((function(t){var n=r.getItemModel(t),a=w[l.type](r,t,n);if(f&&A(t),r.hasValue(t)){if(h)if(x[l.type](p,a))return void o.remove(s);var s=_[l.type](t,a,i,d,!1,g);r.setItemGraphicEl(t,s),o.add(s),I(s,r,t,n,a,e,i,"polar"===l.type)}})).update((function(t,n){var u=r.getItemModel(t),c=w[l.type](r,t,u);if(f){var b;0===M.length?b=A(n):((b=M[n]).useStyle(m.getBarItemStyle()),"cartesian2d"===l.type&&b.setShape("r",v),y[t]=b);var S=w[l.type](r,t),T=C(i,S,l);a.updateProps(b,{shape:T},d,t)}var D=s.getItemGraphicEl(n);if(r.hasValue(t)){if(h)if(x[l.type](p,c))return void o.remove(D);D?a.updateProps(D,{shape:c},d,t):D=_[l.type](t,c,i,d,!0,g),r.setItemGraphicEl(t,D),o.add(D),I(D,r,t,u,c,e,i,"polar"===l.type)}else o.remove(D)})).remove((function(e){var t=s.getItemGraphicEl(e);"cartesian2d"===l.type?t&&b(e,d,t):t&&S(e,d,t)})).execute();var T=this._backgroundGroup||(this._backgroundGroup=new c);T.removeAll();for(var D=0;D<y.length;++D)T.add(y[D]);o.add(T),this._backgroundEls=y,this._data=r},_renderLarge:function(e,t,n){this._clear(),T(e,this.group);var i=e.get("clip",!0)?h(e.coordinateSystem,!1,e):null;i?this.group.setClipPath(i):this.group.removeClipPath()},_incrementalRenderLarge:function(e,t){this._removeBackground(),T(t,this.group,!0)},dispose:o.noop,remove:function(e){this._clear(e)},_clear:function(e){var t=this.group,n=this._data;e&&e.get("animation")&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(t){"sector"===t.type?S(t.dataIndex,e,t):b(t.dataIndex,e,t)}))):t.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),v=Math.max,y=Math.min,x={cartesian2d:function(e,t){var n=t.width<0?-1:1,i=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),i<0&&(t.y+=t.height,t.height=-t.height);var o=v(t.x,e.x),a=y(t.x+t.width,e.x+e.width),r=v(t.y,e.y),s=y(t.y+t.height,e.y+e.height);t.x=o,t.y=r,t.width=a-o,t.height=s-r;var l=t.width<0||t.height<0;return n<0&&(t.x+=t.width,t.width=-t.width),i<0&&(t.y+=t.height,t.height=-t.height),l},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var i=t.r;t.r=t.r0,t.r0=i}i=y(t.r,e.r);var o=v(t.r0,e.r0);t.r=i,t.r0=o;var a=i-o<0;if(n<0){i=t.r;t.r=t.r0,t.r0=i}return a}},_={cartesian2d:function(e,t,n,i,r){var s=new a.Rect({shape:o.extend({},t),z2:1});if(s.name="item",i){var l=n?"height":"width",u={};s.shape[l]=0,u[l]=t[l],a[r?"updateProps":"initProps"](s,{shape:u},i,e)}return s},polar:function(e,t,n,i,r,s){var l=t.startAngle<t.endAngle,u=new(!n&&s?p:a.Sector)({shape:o.defaults({clockwise:l},t),z2:1});if(u.name="item",i){var c=n?"r":"endAngle",d={};u.shape[c]=n?0:t.startAngle,d[c]=t[c],a[r?"updateProps":"initProps"](u,{shape:d},i,e)}return u}};function b(e,t,n){n.style.text=null,a.updateProps(n,{shape:{width:0}},t,e,(function(){n.parent&&n.parent.remove(n)}))}function S(e,t,n){n.style.text=null,a.updateProps(n,{shape:{r:n.shape.r0}},t,e,(function(){n.parent&&n.parent.remove(n)}))}var w={cartesian2d:function(e,t,n){var i=e.getItemLayout(t),o=n?function(e,t){var n=e.get(g)||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(n,i,o)}(n,i):0,a=i.width>0?1:-1,r=i.height>0?1:-1;return{x:i.x+a*o/2,y:i.y+r*o/2,width:i.width-a*o,height:i.height-r*o}},polar:function(e,t,n){var i=e.getItemLayout(t);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle}}};function M(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function I(e,t,n,i,s,l,u,c){var d=t.getItemVisual(n,"color"),h=t.getItemVisual(n,"opacity"),p=t.getVisual("borderColor"),g=i.getModel("itemStyle"),f=i.getModel("emphasis.itemStyle").getBarItemStyle();c||e.setShape("r",g.get("barBorderRadius")||0),e.useStyle(o.defaults({stroke:M(s)?"none":p,fill:M(s)?"none":d,opacity:h},g.getBarItemStyle()));var m=i.getShallow("cursor");m&&e.attr("cursor",m);var v=u?s.height>0?"bottom":"top":s.width>0?"left":"right";c||r(e.style,f,i,d,l,n,v),M(s)&&(f.fill=f.stroke="none"),a.setHoverStyle(e,f)}var A=u.extend({type:"largeBar",shape:{points:[]},buildPath:function(e,t){for(var n=t.points,i=this.__startPoint,o=this.__baseDimIdx,a=0;a<n.length;a+=2)i[o]=n[a+o],e.moveTo(i[0],i[1]),e.lineTo(n[a],n[a+1])}});function T(e,t,n){var i=e.getData(),o=[],a=i.getLayout("valueAxisHorizontal")?1:0;o[1-a]=i.getLayout("valueAxisStart");var r=i.getLayout("largeDataIndices"),s=i.getLayout("barWidth"),l=e.getModel("backgroundStyle");if(e.get("showBackground",!0)){var u=i.getLayout("largeBackgroundPoints"),c=[];c[1-a]=i.getLayout("backgroundStart");var d=new A({shape:{points:u},incremental:!!n,__startPoint:c,__baseDimIdx:a,__largeDataIndices:r,__barWidth:s,silent:!0,z2:0});!function(e,t,n){var i=t.get("borderColor")||t.get("color"),o=t.getItemStyle(["color","borderColor"]);e.useStyle(o),e.style.fill=null,e.style.stroke=i,e.style.lineWidth=n.getLayout("barWidth")}(d,l,i),t.add(d)}var h=new A({shape:{points:i.getLayout("largePoints")},incremental:!!n,__startPoint:o,__baseDimIdx:a,__largeDataIndices:r,__barWidth:s});t.add(h),function(e,t,n){var i=n.getVisual("borderColor")||n.getVisual("color"),o=t.getModel("itemStyle").getItemStyle(["color","borderColor"]);e.useStyle(o),e.style.fill=null,e.style.stroke=i,e.style.lineWidth=n.getLayout("barWidth")}(h,e,i),h.seriesIndex=e.seriesIndex,e.get("silent")||(h.on("mousedown",D),h.on("mousemove",D))}var D=d((function(e){var t=function(e,t,n){var i=e.__baseDimIdx,o=1-i,a=e.shape.points,r=e.__largeDataIndices,s=Math.abs(e.__barWidth/2),l=e.__startPoint[o];f[0]=t,f[1]=n;for(var u=f[i],c=f[1-i],d=u-s,h=u+s,p=0,g=a.length/2;p<g;p++){var m=2*p,v=a[m+i],y=a[m+o];if(v>=d&&v<=h&&(l<=y?c>=l&&c<=y:c>=y&&c<=l))return r[p]}return-1}(this,e.offsetX,e.offsetY);this.dataIndex=t>=0?t:null}),30,!1);function C(e,t,n){var i,o="polar"===n.type;return i=o?n.getArea():n.grid.getRect(),o?{cx:i.cx,cy:i.cy,r0:e?i.r0:t.r0,r:e?i.r:t.r,startAngle:e?t.startAngle:0,endAngle:e?t.endAngle:2*Math.PI}:{x:e?t.x:i.x,y:e?i.y:t.y,width:e?t.width:i.width,height:e?i.height:t.height}}e.exports=m},ZWlE:function(e,t,n){var i=n("bYtY"),o=n("4NO4");e.exports=function(e){!function(e){if(e.parallel)return;var t=!1;i.each(e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}(e),function(e){var t=o.normalizeToArray(e.parallelAxis);i.each(t,(function(t){if(i.isObject(t)){var n=t.parallelIndex||0,a=o.normalizeToArray(e.parallel)[n];a&&a.parallelAxisDefault&&i.merge(t,a.parallelAxisDefault,!1)}}))}(e)}},ZYIC:function(e,t,n){var i={seriesType:"lines",plan:n("zM3Q")(),reset:function(e){var t=e.coordinateSystem,n=e.get("polyline"),i=e.pipelineContext.large;return{progress:function(o,a){var r=[];if(i){var s,l=o.end-o.start;if(n){for(var u=0,c=o.start;c<o.end;c++)u+=e.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var d=0,h=[];for(c=o.start;c<o.end;c++){var p=e.getLineCoords(c,r);n&&(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]}a.setLayout("linesPoints",s)}else for(c=o.start;c<o.end;c++){var f=a.getItemModel(c),m=(p=e.getLineCoords(c,r),[]);if(n)for(var v=0;v<p;v++)m.push(t.dataToPoint(r[v]));else{m[0]=t.dataToPoint(r[0]),m[1]=t.dataToPoint(r[1]);var y=f.get("lineStyle.curveness");+y&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*y,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*y])}a.setItemLayout(c,m)}}}}};e.exports=i},ZqQs:function(e,t,n){var i=n("bYtY");function o(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),o=e.label||e.label||{},r=o.normal||(o.normal={}),s={normal:1,emphasis:1};i.each(o,(function(e,t){s[t]||a(r,t)||(r[t]=e)})),n.label&&!a(o,"emphasis")&&(o.emphasis=n.label,delete n.label)}function a(e,t){return e.hasOwnProperty(t)}e.exports=function(e){var t=e&&e.timeline;i.isArray(t)||(t=t?[t]:[]),i.each(t,(function(e){e&&function(e){var t=e.type,n={number:"value",time:"time"};n[t]&&(e.axisType=n[t],delete e.type);if(o(e),a(e,"controlPosition")){var r=e.controlStyle||(e.controlStyle={});a(r,"position")||(r.position=e.controlPosition),"none"!==r.position||a(r,"show")||(r.show=!1,delete r.position),delete e.controlPosition}i.each(e.data||[],(function(e){i.isObject(e)&&!i.isArray(e)&&(!a(e,"value")&&a(e,"name")&&(e.value=e.name),o(e))}))}(e)}))}},Zvw2:function(e,t,n){var i=n("bYtY"),o=n("hM6l"),a=function(e,t,n,i,a){o.call(this,e,t,n),this.type=i||"value",this.position=a||"bottom",this.orient=null};a.prototype={constructor:a,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},pointToData:function(e,t){return this.coordinateSystem.pointToData(e,t)[0]},toGlobalCoord:null,toLocalCoord:null},i.inherits(a,o);var r=a;e.exports=r},a9QJ:function(e,t){var n={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};e.exports=function(e,t){if("world"===e){var i=n[t.name];if(i){var o=t.center;o[0]=i[0],o[1]=i[1]}}}},aTJb:function(e,t,n){n("bLfw").registerSubTypeDefaulter("dataZoom",(function(){return"slider"}))},akwb:function(e,t,n){var i=n("RSch"),o=n("bYtY"),a=n("D9ME"),r=n("QBsz");function s(e,t,n){a.call(this,e,t,n),this._lastFrame=0,this._lastFramePercent=0}var l=s.prototype;l.createLine=function(e,t,n){return new i(e,t,n)},l.updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],i=0,o=1;o<t.length;o++){var a=t[o-1],s=t[o];i+=r.dist(a,s),n.push(i)}if(0!==i){for(o=0;o<n.length;o++)n[o]/=i;this._offsets=n,this._length=i}},l.getLineLength=function(e){return this._length},l.updateSymbolPosition=function(e){var t=e.__t,n=this._points,i=this._offsets,o=n.length;if(i){var a=this._lastFrame;if(t<this._lastFramePercent){for(s=Math.min(a+1,o-1);s>=0&&!(i[s]<=t);s--);s=Math.min(s,o-2)}else{for(var s=a;s<o&&!(i[s]>t);s++);s=Math.min(s-1,o-2)}r.lerp(e.position,n[s],n[s+1],(t-i[s])/(i[s+1]-i[s]));var l=n[s+1][0]-n[s][0],u=n[s+1][1]-n[s][1];e.rotation=-Math.atan2(u,l)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=t,e.ignore=!1}},o.inherits(s,a);var u=s;e.exports=u},as94:function(e,t,n){var i=n("7aKB"),o=n("3LNs"),a=n("IwbS"),r=n("/y7N"),s=n("Fofx"),l=n("+rIm"),u=n("Znkb"),c=o.extend({makeElOption:function(e,t,n,o,u){var c=n.axis;"angle"===c.dim&&(this.animationThreshold=Math.PI/18);var h,p=c.polar,g=p.getOtherAxis(c).getExtent();h=c["dataTo"+i.capitalFirst(c.dim)](t);var f=o.get("type");if(f&&"none"!==f){var m=r.buildElStyle(o),v=d[f](c,p,h,g,m);v.style=m,e.graphicKey=v.type,e.pointer=v}var y=function(e,t,n,i,o){var r=t.axis,u=r.dataToCoord(e),c=i.getAngleAxis().getExtent()[0];c=c/180*Math.PI;var d,h,p,g=i.getRadiusAxis().getExtent();if("radius"===r.dim){var f=s.create();s.rotate(f,f,c),s.translate(f,f,[i.cx,i.cy]),d=a.applyTransform([u,-o],f);var m=t.getModel("axisLabel").get("rotate")||0,v=l.innerTextLayout(c,m*Math.PI/180,-1);h=v.textAlign,p=v.textVerticalAlign}else{var y=g[1];d=i.coordToPoint([y+o,u]);var x=i.cx,_=i.cy;h=Math.abs(d[0]-x)/y<.3?"center":d[0]>x?"left":"right",p=Math.abs(d[1]-_)/y<.3?"middle":d[1]>_?"top":"bottom"}return{position:d,align:h,verticalAlign:p}}(t,n,0,p,o.get("label.margin"));r.buildLabelElOption(e,n,o,u,y)}});var d={line:function(e,t,n,i,o){return"angle"===e.dim?{type:"Line",shape:r.makeLineShape(t.coordToPoint([i[0],n]),t.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,i,o){var a=Math.max(1,e.getBandWidth()),s=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:r.makeSectorShape(t.cx,t.cy,i[0],i[1],(-n-a/2)*s,(a/2-n)*s)}:{type:"Sector",shape:r.makeSectorShape(t.cx,t.cy,n-a/2,n+a/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c);var h=c;e.exports=h},b9oc:function(e,t,n){var i=n("bYtY").each,o="\0_ec_hist_store";function a(e){var t=e[o];return t||(t=e[o]=[{}]),t}t.push=function(e,t){var n=a(e);i(t,(function(t,i){for(var o=n.length-1;o>=0;o--){if(n[o][i])break}if(o<0){var a=e.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(a){var r=a.getPercentRange();n[0][i]={dataZoomId:i,start:r[0],end:r[1]}}}})),n.push(t)},t.pop=function(e){var t=a(e),n=t[t.length-1];t.length>1&&t.pop();var o={};return i(n,(function(e,n){for(var i=t.length-1;i>=0;i--){if(e=t[i][n]){o[n]=e;break}}})),o},t.clear=function(e){e[o]=null},t.count=function(e){return a(e).length}},bBL8:function(e,t,n){var i=n("ProS");n("LPzL"),n("rfSb"),n("JVwQ");var o=n("UnoB"),a=n("cbJ4"),r=n("0/Rx");i.registerLayout(o),i.registerVisual(a),i.registerProcessor(r("themeRiver"))},bMXI:function(e,t,n){var i=n("bYtY"),o=n("QBsz"),a=n("Fofx"),r=n("mFDi"),s=n("DN4a"),l=o.applyTransform;function u(){s.call(this)}function c(e){this.name=e,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function d(e,t,n,i){var o=n.seriesModel,a=o?o.coordinateSystem:null;return a===this?a[e](i):null}i.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(e,t,n,i){return this._rect=new r(e,t,n,i),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(e,t,n,i){this.transformTo(e,t,n,i),this._viewRect=new r(e,t,n,i)},transformTo:function(e,t,n,i){var o=this.getBoundingRect(),a=this._rawTransformable;a.transform=o.calculateTransform(new r(e,t,n,i)),a.decomposeTransform(),this._updateTransform()},setCenter:function(e){e&&(this._center=e,this._updateCenterAndZoom())},setZoom:function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},getDefaultCenter:function(){var e=this.getBoundingRect();return[e.x+e.width/2,e.y+e.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),a=this.getZoom();i=o.applyTransform([],i,e),n=o.applyTransform([],n,e),t.origin=i,t.position=[n[0]-i[0],n[1]-i[1]],t.scale=[a,a],this._updateTransform()},_updateTransform:function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),a.copy(this.transform||(this.transform=[]),t.transform||a.create()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],a.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var e=this._roamTransformable.transform,t=this._rawTransformable;return{roamTransform:e?i.slice(e):a.create(),rawScale:i.slice(t.scale),rawPosition:i.slice(t.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},dataToPoint:function(e,t,n){var i=t?this._rawTransform:this.transform;return n=n||[],i?l(n,e,i):o.copy(n,e)},pointToData:function(e){var t=this.invTransform;return t?l([],e,t):[e[0],e[1]]},convertToPixel:i.curry(d,"dataToPoint"),convertFromPixel:i.curry(d,"pointToData"),containPoint:function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])}},i.mixin(c,s);var h=c;e.exports=h},bNin:function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a=n("FBjb"),r=n("Itpr").radialCoordinate,s=n("ProS"),l=n("4mN7"),u=n("bMXI"),c=n("Ae+d"),d=n("SgGq"),h=n("xSat").onIrrelevantElement,p=(n("Tghj").__DEV__,n("OELB").parsePercent),g=o.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.childPoints,i=n.length,o=t.parentPoint,a=n[0],r=n[i-1];if(1===i)return e.moveTo(o[0],o[1]),void e.lineTo(a[0],a[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=p(t.forkPosition,1),d=[];d[l]=o[l],d[u]=o[u]+(r[u]-o[u])*c,e.moveTo(o[0],o[1]),e.lineTo(d[0],d[1]),e.moveTo(a[0],a[1]),d[l]=a[l],e.lineTo(d[0],d[1]),d[l]=r[l],e.lineTo(d[0],d[1]),e.lineTo(r[0],r[1]);for(var h=1;h<i-1;h++){var g=n[h];e.moveTo(g[0],g[1]),d[l]=g[l],e.lineTo(d[0],d[1])}}}),f=s.extendChartView({type:"tree",init:function(e,t){this._oldTree,this._mainGroup=new o.Group,this._controller=new d(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(e,t,n,i){var o=e.getData(),a=e.layoutInfo,r=this._mainGroup,s=e.get("layout");"radial"===s?r.attr("position",[a.x+a.width/2,a.y+a.height/2]):r.attr("position",[a.x,a.y]),this._updateViewCoordSys(e,a,s),this._updateController(e,t,n);var l=this._data,u={expandAndCollapse:e.get("expandAndCollapse"),layout:s,edgeShape:e.get("edgeShape"),edgeForkPosition:e.get("edgeForkPosition"),orient:e.getOrient(),curvature:e.get("lineStyle.curveness"),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};o.diff(l).add((function(t){m(o,t)&&y(o,t,null,r,e,u)})).update((function(t,n){var i=l.getItemGraphicEl(n);m(o,t)?y(o,t,i,r,e,u):i&&x(l,n,i,r,e,u)})).remove((function(t){var n=l.getItemGraphicEl(t);n&&x(l,t,n,r,e,u)})).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===u.expandAndCollapse&&o.eachItemGraphicEl((function(t,i){t.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:i})}))})),this._data=o},_updateViewCoordSys:function(e){var t=e.getData(),n=[];t.each((function(e){var i=t.getItemLayout(e);!i||isNaN(i.x)||isNaN(i.y)||n.push([+i.x,+i.y])}));var i=[],o=[];l.fromPoints(n,i,o);var a=this._min,r=this._max;o[0]-i[0]==0&&(i[0]=a?a[0]:i[0]-1,o[0]=r?r[0]:o[0]+1),o[1]-i[1]==0&&(i[1]=a?a[1]:i[1]-1,o[1]=r?r[1]:o[1]+1);var s=e.coordinateSystem=new u;s.zoomLimit=e.get("scaleLimit"),s.setBoundingRect(i[0],i[1],o[0]-i[0],o[1]-i[1]),s.setCenter(e.get("center")),s.setZoom(e.get("zoom")),this.group.attr({position:s.position,scale:s.scale}),this._viewCoordSys=s,this._min=i,this._max=o},_updateController:function(e,t,n){var i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker((function(t,i,o){var r=a.getBoundingRect();return r.applyTransform(a.transform),r.contain(i,o)&&!h(t,n,e)})),i.enable(e.get("roam")),o.zoomLimit=e.get("scaleLimit"),o.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(t){c.updateViewOnPan(o,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})}),this).on("zoom",(function(t){c.updateViewOnZoom(o,t.scale,t.originX,t.originY),n.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(),n=this._getNodeGlobalScale(e),i=[n,n];t.eachItemGraphicEl((function(e,t){e.attr("scale",i)}))},_getNodeGlobalScale:function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=this._nodeScaleRatio,i=t.scale,o=i&&i[0]||1;return((t.getZoom()-1)*n+1)/o},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function m(e,t){var n=e.getItemLayout(t);return n&&!isNaN(n.x)&&!isNaN(n.y)&&"none"!==e.getItemVisual(t,"symbol")}function v(e,t,n){return n.itemModel=t,n.itemStyle=t.getModel("itemStyle").getItemStyle(),n.hoverItemStyle=t.getModel("emphasis.itemStyle").getItemStyle(),n.lineStyle=t.getModel("lineStyle").getLineStyle(),n.labelModel=t.getModel("label"),n.hoverLabelModel=t.getModel("emphasis.label"),!1===e.isExpand&&0!==e.children.length?n.symbolInnerColor=n.itemStyle.fill:n.symbolInnerColor="#fff",n}function y(e,t,n,r,s,l){var u=!n,c=e.tree.getNodeByDataIndex(t),d=c.getModel(),h=(l=v(c,d,l),e.tree.root),p=c.parentNode===h?c:c.parentNode||c,f=e.getItemGraphicEl(p.dataIndex),m=p.getLayout(),y=f?{x:f.position[0],y:f.position[1],rawX:f.__radialOldRawX,rawY:f.__radialOldRawY}:m,x=c.getLayout();u?(n=new a(e,t,l)).attr("position",[y.x,y.y]):n.updateData(e,t,l),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=x.rawX,n.__radialRawY=x.rawY,r.add(n),e.setItemGraphicEl(t,n),o.updateProps(n,{position:[x.x,x.y]},s);var b=n.getSymbolPath();if("radial"===l.layout){var S,w,M=h.children[0],I=M.getLayout(),A=M.children.length;if(x.x===I.x&&!0===c.isExpand){var T={};T.x=(M.children[0].getLayout().x+M.children[A-1].getLayout().x)/2,T.y=(M.children[0].getLayout().y+M.children[A-1].getLayout().y)/2,(S=Math.atan2(T.y-I.y,T.x-I.x))<0&&(S=2*Math.PI+S),(w=T.x<I.x)&&(S-=Math.PI)}else(S=Math.atan2(x.y-I.y,x.x-I.x))<0&&(S=2*Math.PI+S),0===c.children.length||0!==c.children.length&&!1===c.isExpand?(w=x.x<I.x)&&(S-=Math.PI):(w=x.x>I.x)||(S-=Math.PI);var D=w?"left":"right",C=l.labelModel.get("rotate"),L=C*(Math.PI/180);b.setStyle({textPosition:l.labelModel.get("position")||D,textRotation:null==C?-S:L,textOrigin:"center",verticalAlign:"middle"})}!function(e,t,n,a,r,s,l,u,c){var d=c.edgeShape,h=a.__edge;if("curve"===d)t.parentNode&&t.parentNode!==n&&(h||(h=a.__edge=new o.BezierCurve({shape:_(c,r,r),style:i.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),o.updateProps(h,{shape:_(c,s,l),style:i.defaults({opacity:1},c.lineStyle)},e));else if("polyline"===d&&"orthogonal"===c.layout&&t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var p=t.children,f=[],m=0;m<p.length;m++){var v=p[m].getLayout();f.push([v.x,v.y])}h||(h=a.__edge=new g({shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]],orient:c.orient,forkPosition:c.edgeForkPosition},style:i.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),o.updateProps(h,{shape:{parentPoint:[l.x,l.y],childPoints:f},style:i.defaults({opacity:1},c.lineStyle)},e)}u.add(h)}(s,c,h,n,y,m,x,r,l)}function x(e,t,n,i,a,r){for(var s,l=e.tree.getNodeByDataIndex(t),u=e.tree.root,c=l.getModel(),d=(r=v(l,c,r),l.parentNode===u?l:l.parentNode||l),h=r.edgeShape;null==(s=d.getLayout());)d=d.parentNode===u?d:d.parentNode||d;o.updateProps(n,{position:[s.x+1,s.y+1]},a,(function(){i.remove(n),e.setItemGraphicEl(t,null)})),n.fadeOut(null,{keepLabel:!0});var p=e.getItemGraphicEl(d.dataIndex).__edge,g=n.__edge||(!1===d.isExpand||1===d.children.length?p:void 0);h=r.edgeShape;g&&("curve"===h?o.updateProps(g,{shape:_(r,s,s),style:{opacity:0}},a,(function(){i.remove(g)})):"polyline"===h&&"orthogonal"===r.layout&&o.updateProps(g,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},a,(function(){i.remove(g)})))}function _(e,t,n){var i,o,a,s,l,u,c,d,h=e.orient;if("radial"===e.layout){l=t.rawX,c=t.rawY,u=n.rawX,d=n.rawY;var p=r(l,c),g=r(l,c+(d-c)*e.curvature),f=r(u,d+(c-d)*e.curvature),m=r(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=n.x,d=n.y,"LR"!==h&&"RL"!==h||(i=l+(u-l)*e.curvature,o=c,a=u+(l-u)*e.curvature,s=d),"TB"!==h&&"BT"!==h||(i=l,o=c+(d-c)*e.curvature,a=u,s=d+(c-d)*e.curvature),{x1:l,y1:c,x2:u,y2:d,cpx1:i,cpy1:o,cpx2:a,cpy2:s}}e.exports=f},bZqE:function(e,t){t.eachAfter=function(e,t,n){for(var i,o=[e],a=[];i=o.pop();)if(a.push(i),i.isExpand){var r=i.children;if(r.length)for(var s=0;s<r.length;s++)o.push(r[s])}for(;i=a.pop();)t(i,n)},t.eachBefore=function(e,t){for(var n,i=[e];n=i.pop();)if(t(n),n.isExpand){var o=n.children;if(o.length)for(var a=o.length-1;a>=0;a--)i.push(o[a])}}},c2i1:function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=n("Yl7c").enableClassCheck;function a(e){return"_EC_"+e}var r=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},s=r.prototype;function l(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function u(e,t,n){this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}s.type="graph",s.isDirected=function(){return this._directed},s.addNode=function(e,t){e=null==e?""+t:""+e;var n=this._nodesMap;if(!n[a(e)]){var i=new l(e,t);return i.hostGraph=this,this.nodes.push(i),n[a(e)]=i,i}},s.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},s.getNodeById=function(e){return this._nodesMap[a(e)]},s.addEdge=function(e,t,n){var i=this._nodesMap,o=this._edgesMap;if("number"==typeof e&&(e=this.nodes[e]),"number"==typeof t&&(t=this.nodes[t]),l.isInstance(e)||(e=i[a(e)]),l.isInstance(t)||(t=i[a(t)]),e&&t){var r=e.id+"-"+t.id,s=new u(e,t,n);return s.hostGraph=this,this._directed&&(e.outEdges.push(s),t.inEdges.push(s)),e.edges.push(s),e!==t&&t.edges.push(s),this.edges.push(s),o[r]=s,s}},s.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},s.getEdge=function(e,t){l.isInstance(e)&&(e=e.id),l.isInstance(t)&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},s.eachNode=function(e,t){for(var n=this.nodes,i=n.length,o=0;o<i;o++)n[o].dataIndex>=0&&e.call(t,n[o],o)},s.eachEdge=function(e,t){for(var n=this.edges,i=n.length,o=0;o<i;o++)n[o].dataIndex>=0&&n[o].node1.dataIndex>=0&&n[o].node2.dataIndex>=0&&e.call(t,n[o],o)},s.breadthFirstTraverse=function(e,t,n,i){if(l.isInstance(t)||(t=this._nodesMap[a(t)]),t){for(var o="out"===n?"outEdges":"in"===n?"inEdges":"edges",r=0;r<this.nodes.length;r++)this.nodes[r].__visited=!1;if(!e.call(i,t,null))for(var s=[t];s.length;){var u=s.shift(),c=u[o];for(r=0;r<c.length;r++){var d=c[r],h=d.node1===u?d.node2:d.node1;if(!h.__visited){if(e.call(i,h,u))return;s.push(h),h.__visited=!0}}}}},s.update=function(){for(var e=this.data,t=this.edgeData,n=this.nodes,i=this.edges,o=0,a=n.length;o<a;o++)n[o].dataIndex=-1;for(o=0,a=e.count();o<a;o++)n[e.getRawIndex(o)].dataIndex=o;t.filterSelf((function(e){var n=i[t.getRawIndex(e)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(o=0,a=i.length;o<a;o++)i[o].dataIndex=-1;for(o=0,a=t.count();o<a;o++)i[t.getRawIndex(o)].dataIndex=o},s.clone=function(){for(var e=new r(this._directed),t=this.nodes,n=this.edges,i=0;i<t.length;i++)e.addNode(t[i].id,t[i].dataIndex);for(i=0;i<n.length;i++){var o=n[i];e.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return e},l.prototype={constructor:l,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(e){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(e)}},u.prototype.getModel=function(e){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(e)};var c=function(e,t){return{getValue:function(n){var i=this[e][t];return i.get(i.getDimension(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[e][t].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};i.mixin(l,c("hostGraph","data")),i.mixin(u,c("hostGraph","edgeData")),r.Node=l,r.Edge=u,o(l),o(u);var d=r;e.exports=d},c8qY:function(e,t,n){var i=n("IwbS"),o=n("fls0");function a(e){this._ctor=e||o,this.group=new i.Group}var r=a.prototype;function s(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 l(e){return isNaN(e[0])||isNaN(e[1])}function u(e){return!l(e[0])&&!l(e[1])}r.isPersistent=function(){return!0},r.updateData=function(e){var t=this,n=t.group,i=t._lineData;t._lineData=e,i||n.removeAll();var o=s(e);e.diff(i).add((function(n){!function(e,t,n,i){if(!u(t.getItemLayout(n)))return;var o=new e._ctor(t,n,i);t.setItemGraphicEl(n,o),e.group.add(o)}(t,e,n,o)})).update((function(n,a){!function(e,t,n,i,o,a){var r=t.getItemGraphicEl(i);if(!u(n.getItemLayout(o)))return void e.group.remove(r);r?r.updateData(n,o,a):r=new e._ctor(n,o,a);n.setItemGraphicEl(o,r),e.group.add(r)}(t,i,e,a,n,o)})).remove((function(e){n.remove(i.getItemGraphicEl(e))})).execute()},r.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,n){t.updateLayout(e,n)}),this)},r.incrementalPrepareUpdate=function(e){this._seriesScope=s(e),this._lineData=null,this.group.removeAll()},r.incrementalUpdate=function(e,t){function n(e){e.isGroup||function(e){return e.animators&&e.animators.length>0}(e)||(e.incremental=e.useHoverLayer=!0)}for(var i=e.start;i<e.end;i++){if(u(t.getItemLayout(i))){var o=new this._ctor(t,i,this._seriesScope);o.traverse(n),this.group.add(o),t.setItemGraphicEl(i,o)}}},r.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},r._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var c=a;e.exports=c},cbJ4:function(e,t,n){var i=n("bYtY").createHashMap;e.exports=function(e){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.getRawData(),o=e.get("color"),a=i();t.each((function(e){a.set(t.getRawIndex(e),e)})),n.each((function(i){var r=n.getName(i),s=o[(e.nameMap.get(r)-1)%o.length];n.setItemVisual(i,"color",s);var l=a.get(i);null!=l&&t.setItemVisual(l,"color",s)}))}))}},cpOr:function(e,t,n){n("Tghj").__DEV__;var i=n("T4UG"),o=n("YXkt"),a=n("bYtY"),r=a.concatArray,s=a.mergeAll,l=a.map,u=n("7aKB").encodeHTML,c=(n("IDmD"),"undefined"==typeof Uint32Array?Array:Uint32Array),d="undefined"==typeof Float64Array?Array:Float64Array;function h(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=l(t,(function(e){var t={coords:[e[0].coord,e[1].coord]};return e[0].name&&(t.fromName=e[0].name),e[1].name&&(t.toName=e[1].name),s([t,e[0],e[1]])})))}var p=i.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(e){e.data=e.data||[],h(e);var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count)),p.superApply(this,"init",arguments)},mergeOption:function(e){if(h(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))}p.superApply(this,"mergeOption",arguments)},appendData:function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=r(this._flatCoords,t.flatCoords),this._flatCoordsOffset=r(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);return t.option instanceof Array?t.option:t.getShallow("coords")},getLineCoordsCount:function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},getLineCoords:function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*e],i=this._flatCoordsOffset[2*e+1],o=0;o<i;o++)t[o]=t[o]||[],t[o][0]=this._flatCoords[n+2*o],t[o][1]=this._flatCoords[n+2*o+1];return i}var a=this._getCoordsFromItemModel(e);for(o=0;o<a.length;o++)t[o]=t[o]||[],t[o][0]=a[o][0],t[o][1]=a[o][1];return a.length},_processFlatCoordsArray:function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),"number"==typeof e[0]){for(var n=e.length,i=new c(n),o=new d(n),a=0,r=0,s=0,l=0;l<n;){s++;var u=e[l++];i[r++]=a+t,i[r++]=u;for(var h=0;h<u;h++){var p=e[l++],g=e[l++];o[a++]=p,o[a++]=g}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,r),flatCoords:o,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},getInitialData:function(e,t){var n=new o(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],(function(e,t,i,o){if(e instanceof Array)return NaN;n.hasItemOption=!0;var a=e.value;return null!=a?a instanceof Array?a[o]:a:void 0})),n},formatTooltip:function(e){var t=this.getData().getItemModel(e),n=t.get("name");if(n)return n;var i=t.get("fromName"),o=t.get("toName"),a=[];return null!=i&&a.push(i),null!=o&&a.push(o),u(a.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,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),g=p;e.exports=g},crZl:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("IwbS"),r=n("7aKB"),s=n("+TT/"),l=n("XxSj"),u=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,n,i){this.visualMapModel=e,!1!==e.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(e){var t=this.visualMapModel,n=r.normalizeCssArray(t.get("padding")||0),i=e.getBoundingRect();e.add(new a.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,n){var i=(n=n||{}).forceState,a=this.visualMapModel,r={};if("symbol"===t&&(r.symbol=a.get("itemSymbol")),"color"===t){var s=a.get("contentColor");r.color=s}function u(e){return r[e]}function c(e,t){r[e]=t}var d=a.controllerVisuals[i||a.getValueState(e)],h=l.prepareVisualTypes(d);return o.each(h,(function(i){var o=d[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",o=d.__alphaForOpacity),l.dependsOn(i,t)&&o&&o.applyVisual(e,u,c)})),r[t]},positionGroup:function(e){var t=this.visualMapModel,n=this.api;s.positionElement(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:o.noop});e.exports=u},dBmv:function(e,t,n){var i=n("ProS"),o=n("szbU");n("vF/C"),n("qwVE"),n("MHoB"),n("PNag"),n("1u/T"),i.registerPreprocessor(o)},dmGj:function(e,t,n){var i=n("DEFe"),o=n("ProS").extendComponentView({type:"geo",init:function(e,t){var n=new i(t,!0);this._mapDraw=n,this.group.add(n.group)},render:function(e,t,n,i){if(!i||"geoToggleSelect"!==i.type||i.from!==this.uid){var o=this._mapDraw;e.get("show")?o.draw(e,t,n,this,i):this._mapDraw.group.removeAll(),this.group.silent=e.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});e.exports=o},dnwI:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("YH21"),r=n("Kagy"),s=n("IUWy"),l=r.toolbox.dataView,u=new Array(60).join("-");function c(e){return o.map(e,(function(e){var t=e.getRawData(),n=[e.name],i=[];return t.each(t.dimensions,(function(){for(var e=arguments.length,o=arguments[e-1],a=t.getName(o),r=0;r<e-1;r++)i[r]=arguments[r];n.push((a?a+"\t":"")+i.join("\t"))})),n.join("\n")})).join("\n\n"+u+"\n\n")}function d(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var h=new RegExp("[\t]+","g");function p(e,t){var n=e.split(new RegExp("\n*"+u+"\n*","g")),i={series:[]};return o.each(n,(function(e,n){if(function(e){if(e.slice(0,e.indexOf("\n")).indexOf("\t")>=0)return!0}(e)){var a=function(e){for(var t=e.split(/\n+/g),n=d(t.shift()).split(h),i=[],a=o.map(n,(function(e){return{name:e,data:[]}})),r=0;r<t.length;r++){var s=d(t[r]).split(h);i.push(s.shift());for(var l=0;l<s.length;l++)a[l]&&(a[l].data[r]=s[l])}return{series:a,categories:i}}(e),r=t[n],s=r.axisDim+"Axis";r&&(i[s]=i[s]||[],i[s][r.axisIndex]={data:a.categories},i.series=i.series.concat(a.series))}else{a=function(e){for(var t=e.split(/\n+/g),n=d(t.shift()),i=[],o=0;o<t.length;o++){var a=d(t[o]);if(a){var r,s=a.split(h),l="",u=!1;isNaN(s[0])?(u=!0,l=s[0],s=s.slice(1),i[o]={name:l,value:[]},r=i[o].value):r=i[o]=[];for(var c=0;c<s.length;c++)r.push(+s[c]);1===r.length&&(u?i[o].value=r[0]:i[o]=r[0])}}return{name:n,data:i}}(e);i.series.push(a)}})),i}function g(e){this._dom=null,this.model=e}function f(e,t){return o.map(e,(function(e,n){var i=t&&t[n];if(o.isObject(i)&&!o.isArray(i)){o.isObject(e)&&!o.isArray(e)||(e={value:e});var a=null!=i.name&&null==e.name;return e=o.defaults(e,i),a&&delete e.name,e}return e}))}g.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:o.clone(l.title),lang:o.clone(l.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},g.prototype.onclick=function(e,t){var n=t.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",r.style.backgroundColor=i.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=i.get("lang")||[];s.innerHTML=l[0]||i.get("title"),s.style.cssText="margin: 10px 20px;",s.style.color=i.get("textColor");var d=document.createElement("div"),h=document.createElement("textarea");d.style.cssText="display:block;width:100%;overflow:auto;";var g=i.get("optionToContent"),f=i.get("contentToOption"),m=function(e){var t,n,i=function(e){var t={},n=[],i=[];return e.eachRawSeries((function(e){var o=e.coordinateSystem;if(!o||"cartesian2d"!==o.type&&"polar"!==o.type)n.push(e);else{var a=o.getBaseAxis();if("category"===a.type){var r=a.dim+"_"+a.index;t[r]||(t[r]={categoryAxis:a,valueAxis:o.getOtherAxis(a),series:[]},i.push({axisDim:a.dim,axisIndex:a.index})),t[r].series.push(e)}else n.push(e)}})),{seriesGroupByCategoryAxis:t,other:n,meta:i}}(e);return{value:o.filter([(t=i.seriesGroupByCategoryAxis,n=[],o.each(t,(function(e,t){var i=e.categoryAxis,a=e.valueAxis.dim,r=[" "].concat(o.map(e.series,(function(e){return e.name}))),s=[i.model.getCategories()];o.each(e.series,(function(e){var t=e.getRawData();s.push(e.getRawData().mapArray(t.mapDimension(a),(function(e){return e})))}));for(var l=[r.join("\t")],u=0;u<s[0].length;u++){for(var c=[],d=0;d<s.length;d++)c.push(s[d][u]);l.push(c.join("\t"))}n.push(l.join("\n"))})),n.join("\n\n"+u+"\n\n")),c(i.other)],(function(e){return e.replace(/[\n\t\s]/g,"")})).join("\n\n"+u+"\n\n"),meta:i.meta}}(e);if("function"==typeof g){var v=g(t.getOption());"string"==typeof v?d.innerHTML=v:o.isDom(v)&&d.appendChild(v)}else d.appendChild(h),h.readOnly=i.get("readOnly"),h.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",h.style.color=i.get("textColor"),h.style.borderColor=i.get("textareaBorderColor"),h.style.backgroundColor=i.get("textareaColor"),h.value=m.value;var y=m.meta,x=document.createElement("div");x.style.cssText="position:absolute;bottom:0;left:0;right:0;";var _="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",b=document.createElement("div"),S=document.createElement("div");_+=";background-color:"+i.get("buttonColor"),_+=";color:"+i.get("buttonTextColor");var w=this;function M(){n.removeChild(r),w._dom=null}a.addEventListener(b,"click",M),a.addEventListener(S,"click",(function(){var e;try{e="function"==typeof f?f(d,t.getOption()):p(h.value,y)}catch(e){throw M(),new Error("Data view format error "+e)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),M()})),b.innerHTML=l[1],S.innerHTML=l[2],S.style.cssText=_,b.style.cssText=_,!i.get("readOnly")&&x.appendChild(S),x.appendChild(b),r.appendChild(s),r.appendChild(d),r.appendChild(x),d.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},g.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},g.prototype.dispose=function(e,t){this.remove(e,t)},s.register("dataView",g),i.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(e,t){var n=[];o.each(e.newOption.series,(function(e){var i=t.getSeriesByName(e.name)[0];if(i){var a=i.get("data");n.push({name:e.name,data:f(e.data,a)})}else n.push(o.extend({type:"scatter"},e))})),t.mergeOption(o.defaults({series:n},e.newOption))}));var m=g;e.exports=m},ePAk:function(e,t,n){var i=n("ProS");n("2fGM");var o=i.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(e){var t;return this.ecModel.eachComponent(e,(function(e){e.getCoordSysModel()===this&&(t=e)}),this),t},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});e.exports=o},eS4l:function(e,t,n){n("HM/N"),n("FNN5")},ewwo:function(e,t,n){var i=n("bMXI"),o=n("+TT/").getLayoutRect,a=n("4mN7");e.exports=function(e,t){var n=[];return e.eachSeriesByType("graph",(function(e){var r=e.get("coordinateSystem");if(!r||"view"===r){var s=e.getData(),l=s.mapArray((function(e){var t=s.getItemModel(e);return[+t.get("x"),+t.get("y")]})),u=[],c=[];a.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=function(e,t,n){var i=e.getBoxLayoutParams();return i.aspect=n,o(i,{width:t.getWidth(),height:t.getHeight()})}(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,v=e.coordinateSystem=new i;v.zoomLimit=e.get("scaleLimit"),v.setBoundingRect(u[0],u[1],p,g),v.setViewRect(h.x,h.y,f,m),v.setCenter(e.get("center")),v.setZoom(e.get("zoom")),n.push(v)}})),n}},f1nB:function(e,t,n){n("Tghj").__DEV__;var i=n("ProS"),o=n("bYtY"),a=n("4NO4"),r=n("IwbS"),s=n("+TT/"),l=n("OELB").parsePercent,u={path:null,compoundPath:null,group:r.Group,image:r.Image,text:r.Text};i.registerPreprocessor((function(e){var t=e.graphic;o.isArray(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}));var c=i.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(e){var t=this.option.elements;this.option.elements=null,c.superApply(this,"mergeOption",arguments),this.option.elements=t},optionUpdated:function(e,t){var n=this.option,i=(t?n:e).elements,r=n.elements=t?[]:n.elements,l=[];this._flatten(i,l);var u=a.mappingToExists(r,l);a.makeIdAndName(u);var c=this._elOptionsToUpdate=[];o.each(u,(function(e,t){var n=e.option;n&&(c.push(n),function(e,t){var n=e.exist;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var i=t.parentOption;i?t.parentId=i.id:n&&(t.parentId=n.parentId)}t.parentOption=null}(e,n),function(e,t,n){var i=o.extend({},n),a=e[t],r=n.$action||"merge";"merge"===r?a?(o.merge(a,i,!0),s.mergeLayoutParam(a,i,{ignoreSize:!0}),s.copyLayoutParams(n,a)):e[t]=i:"replace"===r?e[t]=i:"remove"===r&&a&&(e[t]=null)}(r,t,n),function(e,t){if(!e)return;e.hv=t.hv=[p(t,["left","right"]),p(t,["top","bottom"])],"group"===e.type&&(null==e.width&&(e.width=t.width=0),null==e.height&&(e.height=t.height=0))}(r[t],n))}),this);for(var d=r.length-1;d>=0;d--)null==r[d]?r.splice(d,1):delete r[d].$action},_flatten:function(e,t,n){o.each(e,(function(e){if(e){n&&(e.parentOption=n),t.push(e);var i=e.children;"group"===e.type&&i&&this._flatten(i,t,e),delete e.children}}),this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});function d(e,t,n,i){var o=n.type,a=new(u.hasOwnProperty(o)?u[o]:r.getShapeClass(o))(n);t.add(a),i.set(e,a),a.__ecGraphicId=e}function h(e,t){var n=e&&e.parent;n&&("group"===e.type&&e.traverse((function(e){h(e,t)})),t.removeKey(e.__ecGraphicId),n.remove(e))}function p(e,t){var n;return o.each(t,(function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)})),n}i.extendComponentView({type:"graphic",init:function(e,t){this._elMap=o.createHashMap(),this._lastGraphicModel},render:function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,n)},_updateElements:function(e){var t=e.useElOptionsToUpdate();if(t){var n=this._elMap,i=this.group;o.each(t,(function(t){var a=t.$action,r=t.id,l=n.get(r),u=t.parentId,c=null!=u?n.get(u):i,p=t.style;"text"===t.type&&p&&(t.hv&&t.hv[1]&&(p.textVerticalAlign=p.textBaseline=null),!p.hasOwnProperty("textFill")&&p.fill&&(p.textFill=p.fill),!p.hasOwnProperty("textStroke")&&p.stroke&&(p.textStroke=p.stroke));var g=function(e){return e=o.extend({},e),o.each(["id","parentId","$action","hv","bounding"].concat(s.LOCATION_PARAMS),(function(t){delete e[t]})),e}(t);a&&"merge"!==a?"replace"===a?(h(l,n),d(r,c,g,n)):"remove"===a&&h(l,n):l?l.attr(g):d(r,c,g,n);var f=n.get(r);f&&(f.__ecGraphicWidthOption=t.width,f.__ecGraphicHeightOption=t.height,function(e,t,n){var i=e.eventData;e.silent||e.ignore||i||(i=e.eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name});i&&(i.info=e.info)}(f,e))}))}},_relocate:function(e,t){for(var n=e.option.elements,i=this.group,o=this._elMap,a=t.getWidth(),r=t.getHeight(),u=0;u<n.length;u++){var c=n[u];if((h=o.get(c.id))&&h.isGroup){var d=(p=h.parent)===i;h.__ecGraphicWidth=l(h.__ecGraphicWidthOption,d?a:p.__ecGraphicWidth)||0,h.__ecGraphicHeight=l(h.__ecGraphicHeightOption,d?r:p.__ecGraphicHeight)||0}}for(u=n.length-1;u>=0;u--){var h;c=n[u];if(h=o.get(c.id)){var p,g=(p=h.parent)===i?{width:a,height:r}:{width:p.__ecGraphicWidth,height:p.__ecGraphicHeight};s.positionElement(h,c,g,null,{hv:c.hv,boundingMode:c.bounding})}}},_clear:function(){var e=this._elMap;e.each((function(t){h(t,e)})),this._elMap=o.createHashMap()},dispose:function(){this._clear()}})},f3JH:function(e,t,n){n("aTJb"),n("OlYY"),n("fc+c"),n("oY9F"),n("MqEG"),n("LBfv"),n("noeP")},f5HG:function(e,t,n){var i=n("IwbS"),o=n("QBsz"),a=i.Line.prototype,r=i.BezierCurve.prototype;function s(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var l=i.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){this[s(t)?"_buildPathLine":"_buildPathCurve"](e,t)},_buildPathLine:a.buildPath,_buildPathCurve:r.buildPath,pointAt:function(e){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](e)},_pointAtLine:a.pointAt,_pointAtCurve:r.pointAt,tangentAt:function(e){var t=this.shape,n=s(t)?[t.x2-t.x1,t.y2-t.y1]:this._tangentAtCurve(e);return o.normalize(n,n)},_tangentAtCurve:r.tangentAt});e.exports=l},fE02:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("/IIm"),r=n("vZ6x"),s=n("b9oc"),l=n("72pK"),u=n("Kagy"),c=n("IUWy");n("3TkU");var d=u.toolbox.dataZoom,h=o.each;function p(e,t,n){(this._brushController=new a(n.getZr())).on("brush",o.bind(this._onBrush,this)).mount(),this._isZoomActive}p.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:o.clone(d.title),brushStyle:{borderWidth:0,color:"rgba(0,0,0,0.2)"}};var g=p.prototype;g.render=function(e,t,n,i){this.model=e,this.ecModel=t,this.api=n,function(e,t,n,i,o){var a=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(a="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=a,e.setIconStatus("zoom",a?"emphasis":"normal");var s=new r(m(e.option),t,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(o,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!a&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}(e,t,this,i,n),function(e,t){e.setIconStatus("back",s.count(t)>1?"emphasis":"normal")}(e,t)},g.onclick=function(e,t,n){f[n].call(this)},g.remove=function(e,t){this._brushController.unmount()},g.dispose=function(e,t){this._brushController.dispose()};var f={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function m(e){var t={};return o.each(["xAxisIndex","yAxisIndex"],(function(n){t[n]=e[n],null==t[n]&&(t[n]="all"),(!1===t[n]||"none"===t[n])&&(t[n]=[])})),t}g._onBrush=function(e,t){if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new r(m(this.model.option),i,{include:["grid"]}).matchOutputRanges(e,i,(function(e,t,n){if("cartesian2d"===n.type){var i=e.brushType;"rect"===i?(o("x",n,t[0]),o("y",n,t[1])):o({lineX:"x",lineY:"y"}[i],n,t)}})),s.push(i,n),this._dispatchZoomAction(n)}function o(e,t,o){var a=t.getAxis(e),r=a.model,s=function(e,t,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(e,t.componentIndex)&&(i=n)})),i}(e,r,i),u=s.findRepresentativeAxisProxy(r).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(o=l(0,o.slice(),a.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:o[0],endValue:o[1]})}},g._dispatchZoomAction=function(e){var t=[];h(e,(function(e,n){t.push(o.clone(e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},c.register("dataZoom",p),i.registerPreprocessor((function(e){if(e){var t=e.dataZoom||(e.dataZoom=[]);o.isArray(t)||(e.dataZoom=t=[t]);var n=e.toolbox;if(n&&(o.isArray(n)&&(n=n[0]),n&&n.feature)){var i=n.feature.dataZoom;a("xAxis",i),a("yAxis",i)}}function a(n,i){if(i){var a=n+"Index",r=i[a];null==r||"all"===r||o.isArray(r)||(r=!1===r||"none"===r?[]:[r]),function(t,n){var i=e[t];o.isArray(i)||(i=i?[i]:[]);h(i,n)}(n,(function(e,s){if(null==r||"all"===r||-1!==o.indexOf(r,s)){var l={type:"select",$fromToolbox:!0,filterMode:i.filterMode||"filter",id:"\0_ec_\0toolbox-dataZoom_"+n+s};l[a]=s,t.push(l)}}))}}}));var v=p;e.exports=v},"fc+c":function(e,t,n){var i=n("sS/r").extend({type:"dataZoom",render:function(e,t,n,i){this.dataZoomModel=e,this.ecModel=t,this.api=n},getTargetCoordInfo:function(){var e=this.dataZoomModel,t=this.ecModel,n={};return e.eachTargetAxis((function(e,i){var o=t.getComponent(e.axis,i);if(o){var a=o.getCoordSysModel();a&&function(e,t,n,i){for(var o,a=0;a<n.length;a++)if(n[a].model===e){o=n[a];break}o||n.push(o={model:e,axisModels:[],coordIndex:i});o.axisModels.push(t)}(a,o,n[a.mainType]||(n[a.mainType]=[]),a.componentIndex)}}),this),n}});e.exports=i},fjKi:function(e,t,n){var i=n("ProS");n("Q7if"),n("jndi"),i.registerPreprocessor((function(e){e.markArea=e.markArea||{}}))},fls0:function(e,t,n){var i=n("bYtY"),o=n("QBsz"),a=n("oVpE"),r=n("f5HG"),s=n("IwbS"),l=n("OELB").round,u=["fromSymbol","toSymbol"];function c(e){return"_"+e+"Type"}function d(e,t,n){var o=t.getItemVisual(n,e);if(o&&"none"!==o){var r=t.getItemVisual(n,"color"),s=t.getItemVisual(n,e+"Size"),l=t.getItemVisual(n,e+"Rotate");i.isArray(s)||(s=[s,s]);var u=a.createSymbol(o,-s[0]/2,-s[1]/2,s[0],s[1],r);return u.__specifiedRotation=null==l||isNaN(l)?void 0:+l*Math.PI/180||0,u.name=e,u}}function h(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var n=t[2];n?(e.cpx1=n[0],e.cpy1=n[1]):(e.cpx1=NaN,e.cpy1=NaN)}function p(e,t,n){s.Group.call(this),this._createLine(e,t,n)}var g=p.prototype;g.beforeUpdate=function(){var e=this.childOfName("fromSymbol"),t=this.childOfName("toSymbol"),n=this.childOfName("label");if(e||t||!n.ignore){for(var i=1,a=this.parent;a;)a.scale&&(i/=a.scale[0]),a=a.parent;var r=this.childOfName("line");if(this.__dirty||r.__dirty){var s=r.shape.percent,l=r.pointAt(0),u=r.pointAt(s),c=o.sub([],u,l);if(o.normalize(c,c),e){if(e.attr("position",l),null==(h=e.__specifiedRotation)){var d=r.tangentAt(0);e.attr("rotation",Math.PI/2-Math.atan2(d[1],d[0]))}else e.attr("rotation",h);e.attr("scale",[i*s,i*s])}if(t){var h;if(t.attr("position",u),null==(h=t.__specifiedRotation)){d=r.tangentAt(1);t.attr("rotation",-Math.PI/2-Math.atan2(d[1],d[0]))}else t.attr("rotation",h);t.attr("scale",[i*s,i*s])}if(!n.ignore){var p,g,f,m;n.attr("position",u);var v=n.__labelDistance,y=v[0]*i,x=v[1]*i,_=s/2,b=[(d=r.tangentAt(_))[1],-d[0]],S=r.pointAt(_);b[1]>0&&(b[0]=-b[0],b[1]=-b[1]);var w,M=d[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var I=-Math.atan2(d[1],d[0]);u[0]<l[0]&&(I=Math.PI+I),n.attr("rotation",I)}switch(n.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-x,f="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=x,f="top";break;default:w=0,f="middle"}switch(n.__position){case"end":p=[c[0]*y+u[0],c[1]*x+u[1]],g=c[0]>.8?"left":c[0]<-.8?"right":"center",f=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":p=[-c[0]*y+l[0],-c[1]*x+l[1]],g=c[0]>.8?"right":c[0]<-.8?"left":"center",f=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":p=[y*M+l[0],l[1]+w],g=d[0]<0?"right":"left",m=[-y*M,-w];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":p=[S[0],S[1]+w],g="center",m=[0,-w];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":p=[-y*M+u[0],u[1]+w],g=d[0]>=0?"right":"left",m=[y*M,-w]}n.attr({style:{textVerticalAlign:n.__verticalAlign||f,textAlign:n.__textAlign||g},position:p,scale:[i,i],origin:m})}}}},g._createLine=function(e,t,n){var o=e.hostModel,a=function(e){var t=new r({name:"line",subPixelOptimize:!0});return h(t.shape,e),t}(e.getItemLayout(t));a.shape.percent=0,s.initProps(a,{shape:{percent:1}},o,t),this.add(a);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),i.each(u,(function(n){var i=d(n,e,t);this.add(i),this[c(n)]=e.getItemVisual(t,n)}),this),this._updateCommonStl(e,t,n)},g.updateData=function(e,t,n){var o=e.hostModel,a=this.childOfName("line"),r=e.getItemLayout(t),l={shape:{}};h(l.shape,r),s.updateProps(a,l,o,t),i.each(u,(function(n){var i=e.getItemVisual(t,n),o=c(n);if(this[o]!==i){this.remove(this.childOfName(n));var a=d(n,e,t);this.add(a)}this[o]=i}),this),this._updateCommonStl(e,t,n)},g._updateCommonStl=function(e,t,n){var o=e.hostModel,a=this.childOfName("line"),r=n&&n.lineStyle,c=n&&n.hoverLineStyle,d=n&&n.labelModel,h=n&&n.hoverLabelModel;if(!n||e.hasItemOption){var p=e.getItemModel(t);r=p.getModel("lineStyle").getLineStyle(),c=p.getModel("emphasis.lineStyle").getLineStyle(),d=p.getModel("label"),h=p.getModel("emphasis.label")}var g=e.getItemVisual(t,"color"),f=i.retrieve3(e.getItemVisual(t,"opacity"),r.opacity,1);a.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:g,opacity:f},r)),a.hoverStyle=c,i.each(u,(function(e){var t=this.childOfName(e);t&&(t.setColor(g),t.setStyle({opacity:f}))}),this);var m,v,y=d.getShallow("show"),x=h.getShallow("show"),_=this.childOfName("label");if((y||x)&&(m=g||"#000",null==(v=o.getFormattedLabel(t,"normal",e.dataType)))){var b=o.getRawValue(t);v=null==b?e.getName(t):isFinite(b)?l(b):b}var S=y?v:null,w=x?i.retrieve2(o.getFormattedLabel(t,"emphasis",e.dataType),v):null,M=_.style;if(null!=S||null!=w){s.setTextStyle(_.style,d,{text:S},{autoColor:m}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=d.get("position")||"middle";var I=d.get("distance");i.isArray(I)||(I=[I,I]),_.__labelDistance=I}_.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},_.ignore=!y&&!x,s.setHoverStyle(this)},g.highlight=function(){this.trigger("emphasis")},g.downplay=function(){this.trigger("normal")},g.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},g.setLinePoints=function(e){var t=this.childOfName("line");h(t.shape,e),t.dirty()},i.inherits(p,s.Group);var f=p;e.exports=f},g7p0:function(e,t,n){var i=n("bYtY"),o=n("bLfw"),a=n("+TT/"),r=a.getLayoutParams,s=a.sizeCalculable,l=a.mergeLayoutParam,u=o.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(e,t,n,i){var o=r(e);u.superApply(this,"init",arguments),c(e,o)},mergeOption:function(e,t){u.superApply(this,"mergeOption",arguments),c(this.option,e)}});function c(e,t){var n=e.cellSize;i.isArray(n)?1===n.length&&(n[1]=n[0]):n=e.cellSize=[n,n];var o=i.map([0,1],(function(e){return s(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]}));l(e,t,{type:"box",ignoreSize:o})}var d=u;e.exports=d},gawk:function(e,t,n){var i=n("+TT/"),o=n("bYtY"),a=n("4NO4").groupData;function r(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function s(e,t,n,i,a){var r="vertical"===a?"x":"y";o.each(e,(function(e){var o,s,l;e.sort((function(e,t){return e.getLayout()[r]-t.getLayout()[r]}));for(var u=0,c=e.length,d="vertical"===a?"dx":"dy",h=0;h<c;h++)(l=u-(s=e[h]).getLayout()[r])>0&&(o=s.getLayout()[r]+l,"vertical"===a?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),u=s.getLayout()[r]+s.getLayout()[d]+t;if((l=u-t-("vertical"===a?i:n))>0)for(o=s.getLayout()[r]-l,"vertical"===a?s.setLayout({x:o},!0):s.setLayout({y:o},!0),u=o,h=c-2;h>=0;--h)(l=(s=e[h]).getLayout()[r]+s.getLayout()[d]+t-u)>0&&(o=s.getLayout()[r]-l,"vertical"===a?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),u=s.getLayout()[r]}))}function l(e,t,n){o.each(e.slice().reverse(),(function(e){o.each(e,(function(e){if(e.outEdges.length){var i=f(e.outEdges,u,n)/f(e.outEdges,g,n);if(isNaN(i)){var o=e.outEdges.length;i=o?f(e.outEdges,c,n)/o:0}if("vertical"===n){var a=e.getLayout().x+(i-p(e,n))*t;e.setLayout({x:a},!0)}else{var r=e.getLayout().y+(i-p(e,n))*t;e.setLayout({y:r},!0)}}}))}))}function u(e,t){return p(e.node2,t)*e.getValue()}function c(e,t){return p(e.node2,t)}function d(e,t){return p(e.node1,t)*e.getValue()}function h(e,t){return p(e.node1,t)}function p(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function g(e){return e.getValue()}function f(e,t,n){for(var i=0,o=e.length,a=-1;++a<o;){var r=+t.call(e,e[a],n);isNaN(r)||(i+=r)}return i}function m(e,t,n){o.each(e,(function(e){o.each(e,(function(e){if(e.inEdges.length){var i=f(e.inEdges,d,n)/f(e.inEdges,g,n);if(isNaN(i)){var o=e.inEdges.length;i=o?f(e.inEdges,h,n)/o:0}if("vertical"===n){var a=e.getLayout().x+(i-p(e,n))*t;e.setLayout({x:a},!0)}else{var r=e.getLayout().y+(i-p(e,n))*t;e.setLayout({y:r},!0)}}}))}))}e.exports=function(e,t,n){e.eachSeriesByType("sankey",(function(e){var n=e.get("nodeWidth"),u=e.get("nodeGap"),c=function(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t);e.layoutInfo=c;var d=c.width,h=c.height,p=e.getGraph(),v=p.nodes,y=p.edges;!function(e){o.each(e,(function(e){var t=f(e.outEdges,g),n=f(e.inEdges,g),i=e.getValue()||0,o=Math.max(t,n,i);e.setLayout({value:o},!0)}))}(v),function(e,t,n,i,u,c,d,h,p){(function(e,t,n,i,a,s,l){for(var u=[],c=[],d=[],h=[],p=0,g=0;g<t.length;g++)u[g]=1;for(g=0;g<e.length;g++)c[g]=e[g].inEdges.length,0===c[g]&&d.push(e[g]);var f=-1;for(;d.length;){for(var m=0;m<d.length;m++){var v=d[m],y=v.hostGraph.data.getRawDataItem(v.dataIndex),x=null!=y.depth&&y.depth>=0;x&&y.depth>f&&(f=y.depth),v.setLayout({depth:x?y.depth:p},!0),"vertical"===s?v.setLayout({dy:n},!0):v.setLayout({dx:n},!0);for(var _=0;_<v.outEdges.length;_++){var b=v.outEdges[_],S=t.indexOf(b);u[S]=0;var w=b.node2,M=e.indexOf(w);0==--c[M]&&h.indexOf(w)<0&&h.push(w)}}++p,d=h,h=[]}for(g=0;g<u.length;g++)if(1===u[g])throw new Error("Sankey is a DAG, the original data has cycle!");var I=f>p-1?f:p-1;l&&"left"!==l&&function(e,t,n,i){if("right"===t){for(var a=[],s=e,l=0;s.length;){for(var u=0;u<s.length;u++){var c=s[u];c.setLayout({skNodeHeight:l},!0);for(var d=0;d<c.inEdges.length;d++){var h=c.inEdges[d];a.indexOf(h.node1)<0&&a.push(h.node1)}}s=a,a=[],++l}o.each(e,(function(e){r(e)||e.setLayout({depth:Math.max(0,i-e.getLayout().skNodeHeight)},!0)}))}else"justify"===t&&function(e,t){o.each(e,(function(e){r(e)||e.outEdges.length||e.setLayout({depth:t},!0)}))}(e,i)}(e,l,0,I);!function(e,t,n){o.each(e,(function(e){var i=e.getLayout().depth*t;"vertical"===n?e.setLayout({y:i},!0):e.setLayout({x:i},!0)}))}(e,"vertical"===s?(a-n)/I:(i-n)/I,s)})(e,t,n,u,c,h,p),function(e,t,n,i,r,u,c){var d=function(e,t){var n=[],i="vertical"===t?"y":"x",r=a(e,(function(e){return e.getLayout()[i]}));return r.keys.sort((function(e,t){return e-t})),o.each(r.keys,(function(e){n.push(r.buckets.get(e))})),n}(e,c);(function(e,t,n,i,a,r){var s=1/0;o.each(e,(function(e){var t=e.length,l=0;o.each(e,(function(e){l+=e.getLayout().value}));var u="vertical"===r?(i-(t-1)*a)/l:(n-(t-1)*a)/l;u<s&&(s=u)})),o.each(e,(function(e){o.each(e,(function(e,t){var n=e.getLayout().value*s;"vertical"===r?(e.setLayout({x:t},!0),e.setLayout({dx:n},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:n},!0))}))})),o.each(t,(function(e){var t=+e.getValue()*s;e.setLayout({dy:t},!0)}))})(d,t,n,i,r,c),s(d,r,n,i,c);for(var h=1;u>0;u--)l(d,h*=.99,c),s(d,r,n,i,c),m(d,h,c),s(d,r,n,i,c)}(e,t,c,u,i,d,h),function(e,t){var n="vertical"===t?"x":"y";o.each(e,(function(e){e.outEdges.sort((function(e,t){return e.node2.getLayout()[n]-t.node2.getLayout()[n]})),e.inEdges.sort((function(e,t){return e.node1.getLayout()[n]-t.node1.getLayout()[n]}))})),o.each(e,(function(e){var t=0,n=0;o.each(e.outEdges,(function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy})),o.each(e.inEdges,(function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy}))}))}(e,h)}(v,y,n,u,d,h,0!==o.filter(v,(function(e){return 0===e.getLayout().value})).length?0:e.get("layoutIterations"),e.get("orient"),e.get("nodeAlign"))}))}},h54F:function(e,t,n){var i=n("ProS"),o=n("YXkt"),a=n("bYtY"),r=n("4NO4").defaultEmphasis,s=n("Qxkt"),l=n("7aKB").encodeHTML,u=n("I3/A"),c=n("xKMd"),d=n("DDd/"),h=d.initCurvenessList,p=d.createEdgeMapForCurveness,g=i.extendSeriesModel({type:"series.graph",init:function(e){g.superApply(this,"init",arguments);var t=this;function n(){return t._categoriesData}this.legendVisualProvider=new c(n,n),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeOption:function(e){g.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(e){g.superApply(this,"mergeDefaultAndTheme",arguments),r(e,["edgeLabel"],["show"])},getInitialData:function(e,t){var n=e.edges||e.links||[],i=e.data||e.nodes||[],o=this;if(i&&n){h(this);var r=u(i,n,this,!0,(function(e,n){e.wrapMethod("getItemModel",(function(e){var t=o._categoriesModels[e.getShallow("category")];return t&&(t.parentModel=e.parentModel,e.parentModel=t),e}));var i=o.getModel("edgeLabel"),a=new s({label:i.option},i.parentModel,t),r=o.getModel("emphasis.edgeLabel"),l=new s({emphasis:{label:r.option}},r.parentModel,t);function u(e){return(e=this.parsePath(e))&&"label"===e[0]?a:e&&"emphasis"===e[0]&&"label"===e[1]?l:this.parentModel}n.wrapMethod("getItemModel",(function(e){return e.customizeGetParent(u),e}))}));return a.each(r.edges,(function(e){p(e.node1,e.node2,this,e.dataIndex)}),this),r.data}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,t,n){if("edge"===n){var i=this.getData(),o=this.getDataParams(e,n),a=i.graph.getEdgeByIndex(e),r=i.getName(a.node1.dataIndex),s=i.getName(a.node2.dataIndex),u=[];return null!=r&&u.push(r),null!=s&&u.push(s),u=l(u.join(" > ")),o.value&&(u+=" : "+l(o.value)),u}return g.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=a.map(this.option.categories||[],(function(e){return null!=e.value?e:a.extend({value:0},e)})),t=new o(["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 g.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}}),f=g;e.exports=f},h8O9:function(e,t,n){var i=n("bYtY").map,o=n("zM3Q"),a=n("7hqr").isDimensionStacked;e.exports=function(e){return{seriesType:e,plan:o(),reset:function(e){var t=e.getData(),n=e.coordinateSystem,o=e.pipelineContext.large;if(n){var r=i(n.dimensions,(function(e){return t.mapDimension(e)})).slice(0,2),s=r.length,l=t.getCalculationInfo("stackResultDimension");return a(t,r[0])&&(r[0]=l),a(t,r[1])&&(r[1]=l),s&&{progress:function(e,t){for(var i=e.end-e.start,a=o&&new Float32Array(i*s),l=e.start,u=0,c=[],d=[];l<e.end;l++){var h;if(1===s){var p=t.get(r[0],l);h=!isNaN(p)&&n.dataToPoint(p,null,d)}else{p=c[0]=t.get(r[0],l);var g=c[1]=t.get(r[1],l);h=!isNaN(p)&&!isNaN(g)&&n.dataToPoint(c,null,d)}o?(a[u++]=h?h[0]:NaN,a[u++]=h?h[1]:NaN):t.setItemLayout(l,h&&h.slice()||[NaN,NaN])}o&&t.setLayout("symbolPoints",a)}}}}}}},hFmY:function(e,t,n){var i=n("ProS");i.registerAction({type:"axisAreaSelect",event:"axisAreaSelected"},(function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},(function(t){t.axis.model.setActiveIntervals(e.intervals)}))})),i.registerAction("parallelAxisExpand",(function(e,t){t.eachComponent({mainType:"parallel",query:e},(function(t){t.setAxisExpand(e)}))}))},hJvP:function(e,t,n){var i=n("2dDv");n("IDmD").register("parallel",{create:function(e,t){var n=[];return e.eachComponent("parallel",(function(o,a){var r=new i(o,e,t);r.name="parallel_"+a,r.resize(o,t),o.coordinateSystem=r,r.model=o,n.push(r)})),e.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}})},hydK:function(e,t){t.createElement=function(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}},jndi:function(e,t,n){var i=n("bYtY"),o=n("Qe9p"),a=n("YXkt"),r=n("OELB"),s=n("IwbS"),l=n("kj2x"),u=n("iPDy"),c=function(e,t,n,o){var a=l.dataTransform(e,o[0]),r=l.dataTransform(e,o[1]),s=i.retrieve,u=a.coord,c=r.coord;u[0]=s(u[0],-1/0),u[1]=s(u[1],-1/0),c[0]=s(c[0],1/0),c[1]=s(c[1],1/0);var d=i.mergeAll([{},a,r]);return d.coord=[a.coord,r.coord],d.x0=a.x,d.y0=a.y,d.x1=r.x,d.y1=r.y,d};function d(e){return!isNaN(e)&&!isFinite(e)}function h(e,t,n,i){var o=1-e;return d(t[o])&&d(n[o])}function p(e,t){var n=t.coord[0],i=t.coord[1];return!("cartesian2d"!==e.type||!n||!i||!h(1,n,i)&&!h(0,n,i))||(l.dataFilter(e,{coord:n,x:t.x0,y:t.y0})||l.dataFilter(e,{coord:i,x:t.x1,y:t.y1}))}function g(e,t,n,i,o){var a,s=i.coordinateSystem,l=e.getItemModel(t),u=r.parsePercent(l.get(n[0]),o.getWidth()),c=r.parsePercent(l.get(n[1]),o.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)a=i.getMarkerPosition(e.getValues(n,t));else{var h=[f=e.get(n[0],t),m=e.get(n[1],t)];s.clampData&&s.clampData(h,h),a=s.dataToPoint(h,!0)}if("cartesian2d"===s.type){var p=s.getAxis("x"),g=s.getAxis("y"),f=e.get(n[0],t),m=e.get(n[1],t);d(f)?a[0]=p.toGlobalCoord(p.getExtent()["x0"===n[0]?0:1]):d(m)&&(a[1]=g.toGlobalCoord(g.getExtent()["y0"===n[1]?0:1]))}isNaN(u)||(a[0]=u),isNaN(c)||(a[1]=c)}else a=[u,c];return a}var f=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];u.extend({type:"markArea",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markAreaModel;if(t){var o=t.getData();o.each((function(t){var a=i.map(f,(function(i){return g(o,t,i,e,n)}));o.setItemLayout(t,a),o.getItemGraphicEl(t).setShape("points",a)}))}}),this)},renderSeries:function(e,t,n,r){var l=e.coordinateSystem,u=e.id,h=e.getData(),m=this.markerGroupMap,v=m.get(u)||m.set(u,{group:new s.Group});this.group.add(v.group),v.__keep=!0;var y=function(e,t,n){var o,r;e?(o=i.map(e&&e.dimensions,(function(e){var n=t.getData(),o=n.getDimensionInfo(n.mapDimension(e))||{};return i.defaults({name:e},o)})),r=new a(i.map(["x0","y0","x1","y1"],(function(e,t){return{name:e,type:o[t%2].type}})),n)):r=new a(o=[{name:"value",type:"float"}],n);var s=i.map(n.get("data"),i.curry(c,t,e,n));e&&(s=i.filter(s,i.curry(p,e)));var l=e?function(e,t,n,i){return e.coord[Math.floor(i/2)][i%2]}:function(e){return e.value};return r.initData(s,null,l),r.hasItemOption=!0,r}(l,e,t);t.setData(y),y.each((function(t){var n=i.map(f,(function(n){return g(y,t,n,e,r)})),o=!0;i.each(f,(function(e){if(o){var n=y.get(e[0],t),i=y.get(e[1],t);(d(n)||l.getAxis("x").containData(n))&&(d(i)||l.getAxis("y").containData(i))&&(o=!1)}})),y.setItemLayout(t,{points:n,allClipped:o}),y.setItemVisual(t,{color:h.getVisual("color")})})),y.diff(v.__data).add((function(e){var t=y.getItemLayout(e);if(!t.allClipped){var n=new s.Polygon({shape:{points:t.points}});y.setItemGraphicEl(e,n),v.group.add(n)}})).update((function(e,n){var i=v.__data.getItemGraphicEl(n),o=y.getItemLayout(e);o.allClipped?i&&v.group.remove(i):(i?s.updateProps(i,{shape:{points:o.points}},t,e):i=new s.Polygon({shape:{points:o.points}}),y.setItemGraphicEl(e,i),v.group.add(i))})).remove((function(e){var t=v.__data.getItemGraphicEl(e);v.group.remove(t)})).execute(),y.eachItemGraphicEl((function(e,n){var a=y.getItemModel(n),r=a.getModel("label"),l=a.getModel("emphasis.label"),u=y.getItemVisual(n,"color");e.useStyle(i.defaults(a.getModel("itemStyle").getItemStyle(),{fill:o.modifyAlpha(u,.4),stroke:u})),e.hoverStyle=a.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(e.style,e.hoverStyle,r,l,{labelFetcher:t,labelDataIndex:n,defaultText:y.getName(n)||"",isRectText:!0,autoColor:u}),s.setHoverStyle(e,{}),e.dataModel=t})),v.__data=y,v.group.silent=t.get("silent")||e.get("silent")}})},"jsU+":function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("IUWy"),r=i.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){r.superApply(this,"optionUpdated",arguments),o.each(this.option.feature,(function(e,t){var n=a.get(t);n&&o.merge(e,n.defaultOption)}))},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),s=r;e.exports=s},jtI2:function(e,t,n){n("SMc4");var i=n("bLfw").extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});e.exports=i},juDX:function(e,t,n){n("P47w"),(0,n("aX58").registerPainter)("svg",n("3CBa"))},k5C7:function(e,t,n){n("0JAE"),n("g7p0"),n("7mYs")},kMLO:function(e,t,n){var i=n("XxSj"),o=n("Qe9p"),a=n("bYtY"),r=a.isArray,s={seriesType:"treemap",reset:function(e,t,n,r){var s=e.getData().tree.root;s.isRemoved()||function e(t,n,r,s){var u=t.getModel(),d=t.getLayout();if(!d||d.invisible||!d.isInView)return;var h,p=t.getModel("itemStyle"),g=function(e,t,n){var i=a.extend({},t),o=n.designatedVisualItemStyle;return a.each(["color","colorAlpha","colorSaturation"],(function(n){o[n]=t[n];var a=e.get(n);o[n]=null,null!=a&&(i[n]=a)})),i}(p,n,s),f=p.get("borderColor"),m=p.get("borderColorSaturation");null!=m&&(h=l(g),f=function(e,t){return null!=t?o.modifyHSL(t,null,null,e):null}(m,h));t.setVisual("borderColor",f);var v=t.viewChildren;if(v&&v.length){var y=function(e,t,n,o,a,r){if(!r||!r.length)return;var s=c(t,"color")||null!=a.color&&"none"!==a.color&&(c(t,"colorAlpha")||c(t,"colorSaturation"));if(!s)return;var l=t.get("visualMin"),u=t.get("visualMax"),d=n.dataExtent.slice();null!=l&&l<d[0]&&(d[0]=l),null!=u&&u>d[1]&&(d[1]=u);var h=t.get("colorMappingBy"),p={type:s.name,dataExtent:d,visual:s.range};"color"!==p.type||"index"!==h&&"id"!==h?p.mappingMethod="linear":(p.mappingMethod="category",p.loop=!0);var g=new i(p);return g.__drColorMappingBy=h,g}(0,u,d,0,g,v);a.each(v,(function(t,n){if(t.depth>=r.length||t===r[t.depth]){var i=function(e,t,n,i,o,r){var s=a.extend({},t);if(o){var l=o.type,u="color"===l&&o.__drColorMappingBy,c="index"===u?i:"id"===u?r.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));s[l]=o.mapValueToVisual(c)}return s}(u,g,t,n,y,s);e(t,i,r,s)}}))}else h=l(g),t.setVisual("color",h)}(s,{},e.getViewRoot().getAncestors(),e)}};function l(e){var t=u(e,"color");if(t){var n=u(e,"colorAlpha"),i=u(e,"colorSaturation");return i&&(t=o.modifyHSL(t,null,null,i)),n&&(t=o.modifyAlpha(t,n)),t}}function u(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function c(e,t){var n=e.get(t);return r(n)&&n.length?{name:t,range:n}:null}e.exports=s},kaz8:function(e,t,n){"use strict";n.r(t);var i=n("q1tI"),o=n("17x9"),a=n("VCL8"),r=n("TSYQ"),s=n.n(r),l=n("x1Ya"),u=n("Gytx"),c=n.n(u),d=n("H84U"),h=n("6CfX");function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=S(e);if(t){var o=S(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return _(this,n)}}function _(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},M=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(r,e);var t,n,o,a=x(r);function r(){var e;return m(this,r),(e=a.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,a=b(e),r=a.props,u=a.context,c=r.prefixCls,d=r.className,h=r.children,p=r.indeterminate,m=r.style,v=r.onMouseEnter,y=r.onMouseLeave,x=w(r,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),_=u.checkboxGroup,S=o("checkbox",c),M=f({},x);_&&(M.onChange=function(){x.onChange&&x.onChange.apply(x,arguments),_.toggleOption({label:h,value:r.value})},M.name=_.name,M.checked=-1!==_.value.indexOf(r.value),M.disabled=r.disabled||_.disabled);var I=s()(d,(g(n={},"".concat(S,"-wrapper"),!0),g(n,"".concat(S,"-wrapper-checked"),M.checked),g(n,"".concat(S,"-wrapper-disabled"),M.disabled),n)),A=s()(g({},"".concat(S,"-indeterminate"),p));return i.createElement("label",{className:I,style:m,onMouseEnter:v,onMouseLeave:y},i.createElement(l.a,f({},M,{prefixCls:S,className:A,ref:e.saveCheckbox})),void 0!==h&&i.createElement("span",null,h))},e}return t=r,(n=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(h.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!c()(this.props,e)||!c()(this.state,t)||!c()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,i=(this.context||{}).checkboxGroup,o=void 0===i?{}:i;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return i.createElement(d.a,null,this.renderCheckbox)}}])&&v(t.prototype,n),o&&v(t,o),r}(i.Component);M.__ANT_CHECKBOX=!0,M.defaultProps={indeterminate:!1},M.contextTypes={checkboxGroup:o.any},Object(a.polyfill)(M);var I=M,A=n("BGR+");function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function D(){return(D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function C(e){return function(e){if(Array.isArray(e))return L(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function P(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=R(e);if(t){var o=R(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return E(this,n)}}function E(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var V=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},z=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(r,e);var t,n,o,a=N(r);function r(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),(t=a.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(C(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,i=t.state.value.indexOf(e.value),o=C(t.state.value);-1===i?o.push(e.value):o.splice(i,1),"value"in t.props||t.setState({value:o});var a=t.props.onChange;if(a){var r=t.getOptions();a(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return r.findIndex((function(t){return t.value===e}))-r.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=O(t),a=o.props,r=o.state,l=a.prefixCls,u=a.className,c=a.style,d=a.options,h=V(a,["prefixCls","className","style","options"]),p=n("checkbox",l),g="".concat(p,"-group"),f=Object(A.a)(h,["children","defaultValue","value","onChange","disabled"]),m=a.children;d&&d.length>0&&(m=t.getOptions().map((function(e){return i.createElement(I,{prefixCls:p,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==r.value.indexOf(e.value),onChange:e.onChange,className:"".concat(g,"-item")},e.label)})));var v=s()(g,u);return i.createElement("div",D({className:v,style:c},f),m)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return t=r,o=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(n=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!c()(this.props,e)||!c()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return i.createElement(d.a,null,this.renderGroup)}}])&&P(t.prototype,n),o&&P(t,o),r}(i.Component);z.defaultProps={options:[]},z.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},z.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(z);var B=z;I.Group=B;t.default=I},knOB:function(e,t,n){var i=n("bYtY"),o=n("hM6l");function a(e,t){o.call(this,"radius",e,t),this.type="category"}a.prototype={constructor:a,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToRadius:o.prototype.dataToCoord,radiusToData:o.prototype.coordToData},i.inherits(a,o);var r=a;e.exports=r},ko1b:function(e,t,n){var i=n("bYtY"),o=n("T4UG"),a=n("Bsck"),r=n("Qxkt"),s=n("7aKB"),l=s.encodeHTML,u=s.addCommas,c=n("VaxA").wrapTreePathInfo,d=o.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(e,t){var n={name:e.name,children:e.data};!function e(t){var n=0;i.each(t.children,(function(t){e(t);var o=t.value;i.isArray(o)&&(o=o[0]),n+=o}));var o=t.value;i.isArray(o)&&(o=o[0]);(null==o||isNaN(o))&&(o=n);o<0&&(o=0);i.isArray(t.value)?t.value[0]=o:t.value=o}(n);var o=e.levels||[],s=this.designatedVisualItemStyle={},l=new r({itemStyle:s},this,t);o=e.levels=function(e,t){var n,o=t.get("color");if(!o)return;if(e=e||[],i.each(e,(function(e){var t=new r(e),i=t.get("color");(t.get("itemStyle.color")||i&&"none"!==i)&&(n=!0)})),!n){(e[0]||(e[0]={})).color=o.slice()}return e}(o,t);var u=i.map(o||[],(function(e){return new r(e,l,t)}),this),c=a.createTree(n,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=c.getNodeByDataIndex(t),i=u[n.depth];return e.parentModel=i||l,e}))}));return c.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(e){var t=this.getData(),n=this.getRawValue(e),o=i.isArray(n)?u(n[0]):u(n),a=t.getName(e);return l(a+": "+o)},getDataParams:function(e){var t=o.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=c(n,this),t},setLayoutInfo:function(e){this.layoutInfo=this.layoutInfo||{},i.extend(this.layoutInfo,e)},mapIdToIndex:function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=i.createHashMap(),this._idIndexMapCount=0);var n=t.get(e);return null==n&&t.set(e,n=this._idIndexMapCount++),n},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)}});e.exports=d},kzvK:function(e,t,n){var i=n("sS/r").extend({type:"timeline"});e.exports=i},lELe:function(e,t,n){var i=n("bYtY");e.exports=function(e){var t=[];i.each(e.series,(function(e){e&&"map"===e.type&&(t.push(e),e.map=e.map||e.mapType,i.defaults(e,e.mapLocation))}))}},lLGD:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("nVfU"),r=a.layout,s=a.largeLayout;n("Wqna"),n("F7hV"),n("Z8zF"),n("Ae16"),i.registerLayout(i.PRIORITY.VISUAL.LAYOUT,o.curry(r,"bar")),i.registerLayout(i.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),i.registerVisual({seriesType:"bar",reset:function(e){e.getData().setVisual("legendSymbol","roundRect")}})},lOQZ:function(e,t,n){var i=n("QBsz"),o=n("U/Mo"),a=o.getSymbolSize,r=o.getNodeGlobalScale,s=n("bYtY"),l=n("DDd/").getCurvenessForEdge,u=Math.PI,c=[];var d={value:function(e,t,n,i,o,a,r,s){var l=0,u=i.getSum("value"),c=2*Math.PI/(u||s);n.eachNode((function(e){var t=e.getValue("value"),n=c*(u?t:1)/2;l+=n,e.setLayout([o*Math.cos(l)+a,o*Math.sin(l)+r]),l+=n}))},symbolSize:function(e,t,n,i,o,s,l,d){var h=0;c.length=d;var p=r(e);n.eachNode((function(e){var t=a(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=p;var n=Math.asin(t/2/o);isNaN(n)&&(n=u/2),c[e.dataIndex]=n,h+=2*n}));var g=(2*u-h)/d/2,f=0;n.eachNode((function(e){var t=g+c[e.dataIndex];f+=t,e.setLayout([o*Math.cos(f)+s,o*Math.sin(f)+l]),f+=t}))}};t.circularLayout=function(e,t){var n=e.coordinateSystem;if(!n||"view"===n.type){var o=n.getBoundingRect(),a=e.getData(),r=a.graph,u=o.width/2+o.x,c=o.height/2+o.y,h=Math.min(o.width,o.height)/2,p=a.count();a.setLayout({cx:u,cy:c}),p&&(d[t](e,n,r,a,h,u,c,p),r.eachEdge((function(t,n){var o,a=s.retrieve3(t.getModel().get("lineStyle.curveness"),l(t,e,n),0),r=i.clone(t.node1.getLayout()),d=i.clone(t.node2.getLayout()),h=(r[0]+d[0])/2,p=(r[1]+d[1])/2;+a&&(o=[u*(a*=3)+h*(1-a),c*a+p*(1-a)]),t.setLayout([r,d,o])})))}}},laiN:function(e,t,n){var i=n("ProS");n("GVMX"),n("MH26"),i.registerPreprocessor((function(e){e.markLine=e.markLine||{}}))},lwQL:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("9wZj"),r=n("c8qY"),s=n("SgGq"),l=n("Ae+d"),u=n("xSat").onIrrelevantElement,c=n("IwbS"),d=n("SA8n"),h=n("U/Mo").getNodeGlobalScale,p="__focusNodeAdjacency",g=["itemStyle","opacity"],f=["lineStyle","opacity"];function m(e,t){var n=e.getVisual("opacity");return null!=n?n:e.getModel().get(t)}function v(e,t,n){var i=e.getGraphicEl(),o=m(e,t);null!=n&&(null==o&&(o=1),o*=n),i.downplay&&i.downplay(),i.traverse((function(e){if(!e.isGroup){var t=e.lineLabelOriginalOpacity;null!=t&&null==n||(t=o),e.setStyle("opacity",t)}}))}function y(e,t){var n=m(e,t),i=e.getGraphicEl();i.traverse((function(e){!e.isGroup&&e.setStyle("opacity",n)})),i.highlight&&i.highlight()}var x=i.extendChartView({type:"graph",init:function(e,t){var n=new a,i=new r,o=this.group;this._controller=new s(t.getZr()),this._controllerHost={target:o},o.add(n.group),o.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},render:function(e,t,n){var i=this,o=e.coordinateSystem;this._model=e;var a=this._symbolDraw,r=this._lineDraw,s=this.group;if("view"===o.type){var l={position:o.position,scale:o.scale};this._firstRender?s.attr(l):c.updateProps(s,l,e)}d(e.getGraph(),h(e));var u=e.getData();a.updateData(u);var g=e.getEdgeData();r.updateData(g),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var f=e.forceLayout,m=e.get("force.layoutAnimation");f&&this._startForceLayoutIteration(f,m),u.eachItemGraphicEl((function(t,o){var a=u.getItemModel(o);t.off("drag").off("dragend");var r=a.get("draggable");r&&t.on("drag",(function(){f&&(f.warmUp(),!this._layouting&&this._startForceLayoutIteration(f,m),f.setFixed(o),u.setItemLayout(o,t.position))}),this).on("dragend",(function(){f&&f.setUnfixed(o)}),this),t.setDraggable(r&&f),t[p]&&t.off("mouseover",t[p]),t.__unfocusNodeAdjacency&&t.off("mouseout",t.__unfocusNodeAdjacency),a.get("focusNodeAdjacency")&&(t.on("mouseover",t[p]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.on("mouseout",t.__unfocusNodeAdjacency=function(){i._dispatchUnfocus(n)}))}),this),u.graph.eachEdge((function(t){var o=t.getGraphicEl();o[p]&&o.off("mouseover",o[p]),o.__unfocusNodeAdjacency&&o.off("mouseout",o.__unfocusNodeAdjacency),t.getModel().get("focusNodeAdjacency")&&(o.on("mouseover",o[p]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex})}),o.on("mouseout",o.__unfocusNodeAdjacency=function(){i._dispatchUnfocus(n)}))}));var v="circular"===e.get("layout")&&e.get("circular.rotateLabel"),y=u.getLayout("cx"),x=u.getLayout("cy");u.eachItemGraphicEl((function(e,t){var n=u.getItemModel(t).get("label.rotate")||0,i=e.getSymbolPath();if(v){var o=u.getItemLayout(t),a=Math.atan2(o[1]-x,o[0]-y);a<0&&(a=2*Math.PI+a);var r=o[0]<y;r&&(a-=Math.PI);var s=r?"left":"right";c.modifyLabelStyle(i,{textRotation:-a,textPosition:s,textOrigin:"center"},{textPosition:s})}else c.modifyLabelStyle(i,{textRotation:n*=Math.PI/180})})),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(e,t){var n=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){n._unfocusDelayTimer=null,e.dispatchAction({type:"unfocusNodeAdjacency",seriesId:n._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(e,t,n,i){var a=e.getData().graph,r=i.dataIndex,s=i.edgeDataIndex,l=a.getNodeByIndex(r),u=a.getEdgeByIndex(s);(l||u)&&(a.eachNode((function(e){v(e,g,.1)})),a.eachEdge((function(e){v(e,f,.1)})),l&&(y(l,g),o.each(l.edges,(function(e){e.dataIndex<0||(y(e,f),y(e.node1,g),y(e.node2,g))}))),u&&(y(u,f),y(u.node1,g),y(u.node2,g)))},unfocusNodeAdjacency:function(e,t,n,i){var o=e.getData().graph;o.eachNode((function(e){v(e,g)})),o.eachEdge((function(e){v(e,f)}))},_startForceLayoutIteration:function(e,t){var n=this;!function i(){e.step((function(e){n.updateLayout(n._model),(n._layouting=!e)&&(t?n._layoutTimeout=setTimeout(i,16):i())}))}()},_updateController:function(e,t,n){var i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker((function(t,i,o){var r=a.getBoundingRect();return r.applyTransform(a.transform),r.contain(i,o)&&!u(t,n,e)})),"view"===e.coordinateSystem.type?(i.enable(e.get("roam")),o.zoomLimit=e.get("scaleLimit"),o.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(t){l.updateViewOnPan(o,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){l.updateViewOnZoom(o,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(),d(e.getGraph(),h(e)),this._lineDraw.updateLayout()}),this)):i.disable()},_updateNodeAndLinkScale:function(){var e=this._model,t=e.getData(),n=h(e),i=[n,n];t.eachItemGraphicEl((function(e,t){e.attr("scale",i)}))},updateLayout:function(e){d(e.getGraph(),h(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});e.exports=x},n4Lv:function(e,t,n){var i=n("7hqr").isDimensionStacked,o=n("bYtY").map;t.prepareDataCoordInfo=function(e,t,n){var a,r=e.getBaseAxis(),s=e.getOtherAxis(r),l=function(e,t){var n=0,i=e.scale.getExtent();"start"===t?n=i[0]:"end"===t?n=i[1]:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]);return n}(s,n),u=r.dim,c=s.dim,d=t.mapDimension(c),h=t.mapDimension(u),p="x"===c||"radius"===c?1:0,g=o(e.dimensions,(function(e){return t.mapDimension(e)})),f=t.getCalculationInfo("stackResultDimension");return(a|=i(t,g[0]))&&(g[0]=f),(a|=i(t,g[1]))&&(g[1]=f),{dataDimsForPoint:g,valueStart:l,valueAxisDim:c,baseAxisDim:u,stacked:!!a,valueDim:d,baseDim:h,baseDataOffset:p,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}},t.getStackedOnPoint=function(e,t,n,i){var o=NaN;e.stacked&&(o=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(o)&&(o=e.valueStart);var a=e.baseDataOffset,r=[];return r[a]=n.get(e.baseDim,i),r[1-a]=o,t.dataToPoint(r)}},n6Mw:function(e,t,n){var i=n("SrGk"),o=n("bYtY"),a=n("Fofx");function r(e,t){i.call(this,e,t,"clipPath","__clippath_in_use__")}o.inherits(r,i),r.prototype.update=function(e){var t=this.getSvgElement(e);t&&this.updateDom(t,e.__clipPaths,!1);var n=this.getTextSvgElement(e);n&&this.updateDom(n,e.__clipPaths,!0),this.markUsed(e)},r.prototype.updateDom=function(e,t,n){if(t&&t.length>0){var i,o,r=this.getDefs(!0),s=t[0],l=n?"_textDom":"_dom";s[l]?(o=s[l].getAttribute("id"),i=s[l],r.contains(i)||r.appendChild(i)):(o="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(i=this.createElement("clipPath")).setAttribute("id",o),r.appendChild(i),s[l]=i);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!n){var c=Array.prototype.slice.call(s.transform);a.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var d=this.getSvgElement(s);i.innerHTML="",i.appendChild(d.cloneNode()),e.setAttribute("clip-path","url(#"+o+")"),t.length>1&&this.updateDom(i,t.slice(1),n)}else e&&e.setAttribute("clip-path","none")},r.prototype.markUsed=function(e){var t=this;e.__clipPaths&&o.each(e.__clipPaths,(function(e){e._dom&&i.prototype.markUsed.call(t,e._dom),e._textDom&&i.prototype.markUsed.call(t,e._textDom)}))};var s=r;e.exports=s},nKiI:function(e,t,n){var i=n("bYtY"),o=n("mFDi"),a=n("OELB"),r=a.parsePercent,s=a.MAX_SAFE_INTEGER,l=n("+TT/"),u=n("VaxA"),c=Math.max,d=Math.min,h=i.retrieve,p=i.each,g=["itemStyle","borderWidth"],f=["itemStyle","gapWidth"],m=["upperLabel","show"],v=["upperLabel","height"],y={seriesType:"treemap",reset:function(e,t,n,a){var m=n.getWidth(),v=n.getHeight(),y=e.option,w=l.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),M=y.size||[],I=r(h(w.width,M[0]),m),A=r(h(w.height,M[1]),v),T=a&&a.type,D=u.retrieveTargetInfo(a,["treemapZoomToNode","treemapRootToNode"],e),C="treemapRender"===T||"treemapMove"===T?a.rootRect:null,L=e.getViewRoot(),P=u.getPathToRoot(L);if("treemapMove"!==T){var k="treemapZoomToNode"===T?function(e,t,n,i,o){var a,r=(t||{}).node,l=[i,o];if(!r||r===n)return l;var u=i*o,c=u*e.option.zoomToNodeRatio;for(;a=r.parentNode;){for(var d=0,h=a.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 v=a.getModel(),y=v.get(g),x=Math.max(y,S(v));(c+=4*y*y+(3*y+x)*Math.pow(c,.5))>s&&(c=s),r=a}c<u&&(c=u);var _=Math.pow(c/u,.5);return[i*_,o*_]}(e,D,L,I,A):C?[C.width,C.height]:[I,A],N=y.sort;N&&"asc"!==N&&"desc"!==N&&(N="desc");var E={squareRatio:y.squareRatio,sort:N,leafDepth:y.leafDepth};L.hostTree.clearLayouts();var O={x:0,y:0,width:k[0],height:k[1],area:k[0]*k[1]};L.setLayout(O),function e(t,n,i,o){var a,r;if(t.isRemoved())return;var s=t.getLayout();a=s.width,r=s.height;var l=(y=t.getModel()).get(g),u=y.get(f)/2,h=S(y),p=Math.max(l,h),m=l-u,v=p-u,y=t.getModel();t.setLayout({borderWidth:l,upperHeight:p,upperLabelHeight:h},!0),a=c(a-2*m,0),r=c(r-m-v,0);var w=a*r,M=x(t,y,w,n,i,o);if(!M.length)return;var I={x:m,y:v,width:a,height:r},A=d(a,r),T=1/0,D=[];D.area=0;for(var C=0,L=M.length;C<L;){var P=M[C];D.push(P),D.area+=P.getLayout().area;var k=_(D,A,n.squareRatio);k<=T?(C++,T=k):(D.area-=D.pop().getLayout().area,b(D,A,I,u,!1),A=d(I.width,I.height),D.length=D.area=0,T=1/0)}D.length&&b(D,A,I,u,!0);if(!i){var N=y.get("childrenVisibleMin");null!=N&&w<N&&(i=!0)}for(C=0,L=M.length;C<L;C++)e(M[C],n,i,o+1)}(L,E,!1,0);O=L.getLayout();p(P,(function(e,t){var n=(P[t+1]||L).getValue();e.setLayout(i.extend({dataExtent:[n,n],borderWidth:0,upperHeight:0},O))}))}var R=e.getData().tree.root;R.setLayout(function(e,t,n){if(t)return{x:t.x,y:t.y};var i={x:0,y:0};if(!n)return i;var o=n.node,a=o.getLayout();if(!a)return i;var r=[a.width/2,a.height/2],s=o;for(;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]}}(w,C,D),!0),e.setLayoutInfo(w),function e(t,n,i,a,r){var s=t.getLayout(),l=i[r],u=l&&l===t;if(l&&!u||r===i.length&&t!==a)return;t.setLayout({isInView:!0,invisible:!u&&!n.intersect(s),isAboveViewRoot:u},!0);var c=new o(n.x-s.x,n.y-s.y,n.width,n.height);p(t.viewChildren||[],(function(t){e(t,c,i,a,r+1)}))}(R,new o(-w.x,-w.y,m,v),P,L,0)}};function x(e,t,n,o,a,r){var s=e.children||[],l=o.sort;"asc"!==l&&"desc"!==l&&(l=null);var u=null!=o.leafDepth&&o.leafDepth<=r;if(a&&!u)return e.viewChildren=[];!function(e,t){t&&e.sort((function(e,n){var i="asc"===t?e.getValue()-n.getValue():n.getValue()-e.getValue();return 0===i?"asc"===t?e.dataIndex-n.dataIndex:n.dataIndex-e.dataIndex:i}))}(s=i.filter(s,(function(e){return!e.isRemoved()})),l);var c=function(e,t,n){for(var i=0,o=0,a=t.length;o<a;o++)i+=t[o].getValue();var r=e.get("visualDimension");if(t&&t.length)if("value"===r&&n)s=[t[t.length-1].getValue(),t[0].getValue()],"asc"===n&&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:i,dataExtent:s}}(t,s,l);if(0===c.sum)return e.viewChildren=[];if(c.sum=function(e,t,n,i,o){if(!i)return n;for(var a=e.get("visibleMin"),r=o.length,s=r,l=r-1;l>=0;l--){var u=o["asc"===i?r-l-1:l].getValue();u/n*t<a&&(s=l,n-=u)}return"asc"===i?o.splice(0,r-s):o.splice(s,r-s),n}(t,n,c.sum,l,s),0===c.sum)return e.viewChildren=[];for(var d=0,h=s.length;d<h;d++){var g=s[d].getValue()/c.sum*n;s[d].setLayout({area:g})}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,n){for(var i,o=0,a=1/0,r=0,s=e.length;r<s;r++)(i=e[r].getLayout().area)&&(i<a&&(a=i),i>o&&(o=i));var l=e.area*e.area,u=t*t*n;return l?c(u*o/l,l/(u*a)):1/0}function b(e,t,n,i,o){var a=t===n.width?0:1,r=1-a,s=["x","y"],l=["width","height"],u=n[s[a]],h=t?e.area/t:0;(o||h>n[l[r]])&&(h=n[l[r]]);for(var p=0,g=e.length;p<g;p++){var f=e[p],m={},v=h?f.getLayout().area/h:0,y=m[l[r]]=c(h-2*i,0),x=n[s[a]]+n[l[a]]-u,_=p===g-1||x<v?x:v,b=m[l[a]]=c(_-2*i,0);m[s[r]]=n[s[r]]+d(i,y/2),m[s[a]]=u+d(i,b/2),u+=_,f.setLayout(m,!0)}n[s[r]]+=h,n[l[r]]-=h}function S(e){return e.get(m)?e.get(v):0}e.exports=y},nkfE:function(e,t,n){var i=n("bYtY"),o=n("ca2m"),a=n("bLfw"),r=n("+TT/"),s=r.getLayoutParams,l=r.mergeLayoutParam,u=n("jkPA"),c=["value","category","time","log"];e.exports=function(e,t,n,r){i.each(c,(function(a){t.extend({type:e+"Axis."+a,mergeDefaultAndTheme:function(t,o){var r=this.layoutMode,u=r?s(t):{},c=o.getTheme();i.merge(t,c.get(a+"Axis")),i.merge(t,this.getDefaultOption()),t.type=n(e,t),r&&l(t,u,r)},optionUpdated:function(){"category"===this.option.type&&(this.__ordinalMeta=u.createByAxisModel(this))},getCategories:function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:i.mergeAll([{},o[a+"Axis"],r],!0)})})),a.registerSubTypeDefaulter(e+"Axis",i.curry(n,e))}},noeP:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("UOVi");i.registerAction("dataZoom",(function(e,t){var n=a.createLinkedNodesFinder(o.bind(t.eachComponent,t,"dataZoom"),a.eachAxisDim,(function(e,t){return e.get(t.axisIndex)})),i=[];t.eachComponent({mainType:"dataZoom",query:e},(function(e,t){i.push.apply(i,n(e).nodes)})),o.each(i,(function(t,n){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))},o40c:function(e,t,n){var i=n("IwbS"),o=n("OS9S"),a=n("loD1"),r=n("aKvl"),s=i.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(e,t){var n=t.segs,i=t.curveness;if(t.polyline)for(var o=0;o<n.length;){var a=n[o++];if(a>0){e.moveTo(n[o++],n[o++]);for(var r=1;r<a;r++)e.lineTo(n[o++],n[o++])}}else for(o=0;o<n.length;){var s=n[o++],l=n[o++],u=n[o++],c=n[o++];if(e.moveTo(s,l),i>0){var d=(s+u)/2-(l-c)*i,h=(l+c)/2-(u-s)*i;e.quadraticCurveTo(d,h,u,c)}else e.lineTo(u,c)}},findDataIndex:function(e,t){var n=this.shape,i=n.segs,o=n.curveness;if(n.polyline)for(var s=0,l=0;l<i.length;){var u=i[l++];if(u>0)for(var c=i[l++],d=i[l++],h=1;h<u;h++){var p=i[l++],g=i[l++];if(a.containStroke(c,d,p,g))return s}s++}else for(s=0,l=0;l<i.length;){c=i[l++],d=i[l++],p=i[l++],g=i[l++];if(o>0){var f=(c+p)/2-(d-g)*o,m=(d+g)/2-(p-c)*o;if(r.containStroke(c,d,f,m,p,g))return s}else if(a.containStroke(c,d,p,g))return s;s++}return-1}});function l(){this.group=new i.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 o({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(e,t){var n=new s;n.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(n,t,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=e.start,this.group.add(n))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(e,t,n){var i=t.hostModel;e.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),e.useStyle(i.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var o=t.getVisual("color");o&&e.setStyle("stroke",o),e.setStyle("fill"),n||(e.seriesIndex=i.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>0&&(e.dataIndex=n+e.__startIndex)})))},u._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var c=l;e.exports=c},oE7X:function(e,t,n){n("bLfw").registerSubTypeDefaulter("timeline",(function(){return"slider"}))},oY9F:function(e,t,n){var i=n("OlYY").extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});e.exports=i},"p+If":function(e,t,n){var i=n("ProS");n("cpOr"),n("rkZ5");var o=n("ZYIC"),a=n("7ph2");i.registerLayout(o),i.registerVisual(a)},"p/La":function(e,t){var n=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];e.exports=function(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:n[0]})}},p1MT:function(e,t,n){var i=n("Hw7h"),o=n("IwbS"),a=n("6Ic6"),r=n("OELB"),s=r.parsePercent,l=r.round,u=r.linearMap;function c(e,t){return t&&("string"==typeof t?e=t.replace("{value}",null!=e?e:""):"function"==typeof t&&(e=t(e))),e}var d=2*Math.PI,h=a.extend({type:"gauge",render:function(e,t,n){this.group.removeAll();var i=e.get("axisLine.lineStyle.color"),o=function(e,t){var n=e.get("center"),i=t.getWidth(),o=t.getHeight(),a=Math.min(i,o);return{cx:s(n[0],t.getWidth()),cy:s(n[1],t.getHeight()),r:s(e.get("radius"),a/2)}}(e,n);this._renderMain(e,t,n,i,o)},dispose:function(){},_renderMain:function(e,t,n,i,a){for(var r=this.group,s=e.getModel("axisLine"),l=s.getModel("lineStyle"),u=e.get("clockwise"),c=-e.get("startAngle")/180*Math.PI,h=((v=-e.get("endAngle")/180*Math.PI)-c)%d,p=c,g=l.get("width"),f=s.get("show"),m=0;f&&m<i.length;m++){var v=c+h*Math.min(Math.max(i[m][0],0),1),y=new o.Sector({shape:{startAngle:p,endAngle:v,cx:a.cx,cy:a.cy,clockwise:u,r0:a.r-g,r:a.r},silent:!0});y.setStyle({fill:i[m][1]}),y.setStyle(l.getLineStyle(["color","borderWidth","borderColor"])),r.add(y),p=v}var x=function(e){if(e<=0)return i[0][1];for(var t=0;t<i.length;t++)if(i[t][0]>=e&&(0===t?0:i[t-1][0])<e)return i[t][1];return i[t-1][1]};if(!u){var _=c;c=v,v=_}this._renderTicks(e,t,n,x,a,c,v,u),this._renderPointer(e,t,n,x,a,c,v,u),this._renderTitle(e,t,n,x,a),this._renderDetail(e,t,n,x,a)},_renderTicks:function(e,t,n,i,a,r,u,d){for(var h=this.group,p=a.cx,g=a.cy,f=a.r,m=+e.get("min"),v=+e.get("max"),y=e.getModel("splitLine"),x=e.getModel("axisTick"),_=e.getModel("axisLabel"),b=e.get("splitNumber"),S=x.get("splitNumber"),w=s(y.get("length"),f),M=s(x.get("length"),f),I=r,A=(u-r)/b,T=A/S,D=y.getModel("lineStyle").getLineStyle(),C=x.getModel("lineStyle").getLineStyle(),L=0;L<=b;L++){var P=Math.cos(I),k=Math.sin(I);if(y.get("show")){var N=new o.Line({shape:{x1:P*f+p,y1:k*f+g,x2:P*(f-w)+p,y2:k*(f-w)+g},style:D,silent:!0});"auto"===D.stroke&&N.setStyle({stroke:i(L/b)}),h.add(N)}if(_.get("show")){var E=c(l(L/b*(v-m)+m),_.get("formatter")),O=_.get("distance"),R=i(L/b);h.add(new o.Text({style:o.setTextStyle({},_,{text:E,x:P*(f-w-O)+p,y:k*(f-w-O)+g,textVerticalAlign:k<-.4?"top":k>.4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},{autoColor:R}),silent:!0}))}if(x.get("show")&&L!==b){for(var V=0;V<=S;V++){P=Math.cos(I),k=Math.sin(I);var z=new o.Line({shape:{x1:P*f+p,y1:k*f+g,x2:P*(f-M)+p,y2:k*(f-M)+g},silent:!0,style:C});"auto"===C.stroke&&z.setStyle({stroke:i((L+V/S)/b)}),h.add(z),I+=T}I-=T}else I+=A}},_renderPointer:function(e,t,n,a,r,l,c,d){var h=this.group,p=this._data;if(e.get("pointer.show")){var g=[+e.get("min"),+e.get("max")],f=[l,c],m=e.getData(),v=m.mapDimension("value");m.diff(p).add((function(t){var n=new i({shape:{angle:l}});o.initProps(n,{shape:{angle:u(m.get(v,t),g,f,!0)}},e),h.add(n),m.setItemGraphicEl(t,n)})).update((function(t,n){var i=p.getItemGraphicEl(n);o.updateProps(i,{shape:{angle:u(m.get(v,t),g,f,!0)}},e),h.add(i),m.setItemGraphicEl(t,i)})).remove((function(e){var t=p.getItemGraphicEl(e);h.remove(t)})).execute(),m.eachItemGraphicEl((function(e,t){var n=m.getItemModel(t),i=n.getModel("pointer");e.setShape({x:r.cx,y:r.cy,width:s(i.get("width"),r.r),r:s(i.get("length"),r.r)}),e.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===e.style.fill&&e.setStyle("fill",a(u(m.get(v,t),g,[0,1],!0))),o.setHoverStyle(e,n.getModel("emphasis.itemStyle").getItemStyle())})),this._data=m}else p&&p.eachItemGraphicEl((function(e){h.remove(e)}))},_renderTitle:function(e,t,n,i,a){var r=e.getData(),l=r.mapDimension("value"),c=e.getModel("title");if(c.get("show")){var d=c.get("offsetCenter"),h=a.cx+s(d[0],a.r),p=a.cy+s(d[1],a.r),g=+e.get("min"),f=+e.get("max"),m=e.getData().get(l,0),v=i(u(m,[g,f],[0,1],!0));this.group.add(new o.Text({silent:!0,style:o.setTextStyle({},c,{x:h,y:p,text:r.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(e,t,n,i,a){var r=e.getModel("detail"),l=+e.get("min"),d=+e.get("max");if(r.get("show")){var h=r.get("offsetCenter"),p=a.cx+s(h[0],a.r),g=a.cy+s(h[1],a.r),f=s(r.get("width"),a.r),m=s(r.get("height"),a.r),v=e.getData(),y=v.get(v.mapDimension("value"),0),x=i(u(y,[l,d],[0,1],!0));this.group.add(new o.Text({silent:!0,style:o.setTextStyle({},r,{x:p,y:g,text:c(y,r.get("formatter")),textWidth:isNaN(f)?null:f,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}});e.exports=h},pLH3:function(e,t,n){var i=n("ProS");n("ALo7"),n("TWL2");var o=n("mOdp"),a=n("JLnu"),r=n("0/Rx");i.registerVisual(o("funnel")),i.registerLayout(a),i.registerProcessor(r("funnel"))},pP6R:function(e,t,n){var i=n("ProS"),o="\0_ec_interaction_mutex";function a(e){return e[o]||(e[o]={})}i.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),t.take=function(e,t,n){a(e)[t]=n},t.release=function(e,t,n){var i=a(e);i[t]===n&&(i[t]=null)},t.isTaken=function(e,t){return!!a(e)[t]}},pmaE:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("IwbS"),r=n("DEFe"),s=i.extendChartView({type:"map",render:function(e,t,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var o=this.group;if(o.removeAll(),!e.getHostGeoModel()){if(i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===e.id)(a=this._mapDraw)&&o.add(a.group);else if(e.needsDrawMap){var a=this._mapDraw||new r(n,!0);o.add(a.group),a.draw(e,t,n,this,i),this._mapDraw=a}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,n)}}},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,n){var i=e.originalData,r=this.group;i.each(i.mapDimension("value"),(function(t,n){if(!isNaN(t)){var s=i.getItemLayout(n);if(s&&s.point){var c=s.point,d=s.offset,h=new a.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:c[0]+9*d,cy:c[1],r:3},silent:!0,z2:8+(d?0:a.Z2_EMPHASIS_LIFT+1)});if(!d){var p=e.mainSeries.getData(),g=i.getName(n),f=p.indexOfName(g),m=i.getItemModel(n),v=m.getModel("label"),y=m.getModel("emphasis.label"),x=p.getItemGraphicEl(f),_=o.retrieve2(e.getFormattedLabel(f,"normal"),g),b=o.retrieve2(e.getFormattedLabel(f,"emphasis"),_),S=x.__seriesMapHighDown,w=Math.random();if(!S){S=x.__seriesMapHighDown={};var M=o.curry(l,!0),I=o.curry(l,!1);x.on("mouseover",M).on("mouseout",I).on("emphasis",M).on("normal",I)}x.__seriesMapCallKey=w,o.extend(S,{recordVersion:w,circle:h,labelModel:v,hoverLabelModel:y,emphasisText:b,normalText:_}),u(S,!1)}r.add(h)}}}))}});function l(e){var t=this.__seriesMapHighDown;t&&t.recordVersion===this.__seriesMapCallKey&&u(t,e)}function u(e,t){var n=e.circle,i=e.labelModel,o=e.hoverLabelModel,r=e.emphasisText,s=e.normalText;t?(n.style.extendFrom(a.setTextStyle({},o,{text:o.get("show")?r:null},{isRectText:!0,useInsideStyle:!1},!0)),n.__mapOriginalZ2=n.z2,n.z2+=a.Z2_EMPHASIS_LIFT):(a.setTextStyle(n.style,i,{text:i.get("show")?s:null,textPosition:i.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),n.dirty(!1),null!=n.__mapOriginalZ2&&(n.z2=n.__mapOriginalZ2,n.__mapOriginalZ2=null))}e.exports=s},"q/+u":function(e,t,n){var i=n("ProS"),o=n("9wZj"),a=n("yWXo"),r=n("h8O9");i.extendChartView({type:"scatter",render:function(e,t,n){var i=e.getData();this._updateSymbolDraw(i,e).updateData(i,{clipShape:this._getClipShape(e)}),this._finished=!0},incrementalPrepareRender:function(e,t,n){var i=e.getData();this._updateSymbolDraw(i,e).incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(e,t,n){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,n){var i=e.getData();if(this.group.dirty(),!this._finished||i.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var o=r().reset(e);o.progress&&o.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_getClipShape:function(e){var t=e.coordinateSystem,n=t&&t.getArea&&t.getArea();return e.get("clip",!0)?n:null},_updateSymbolDraw:function(e,t){var n=this._symbolDraw,i=t.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new a:new o,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(e,t){var n=["lineStyle","normal","opacity"],i={seriesType:"parallel",reset:function(e,t,i){var o=e.getModel("itemStyle"),a=e.getModel("lineStyle"),r=t.get("color"),s=a.get("color")||o.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};return h.setVisual("color",s),{progress:function(e,t){d.eachActiveState(t,(function(e,i){var o=p[e];if("normal"===e&&t.hasItemOption){var a=t.getItemModel(i).get(n,!0);null!=a&&(o=a)}t.setItemVisual(i,"opacity",o)}),e.start,e.end)}}}};e.exports=i},qH13:function(e,t,n){var i=n("ItGF"),o=n("QBsz").applyTransform,a=n("mFDi"),r=n("Qe9p"),s=n("6GrX"),l=n("pzxd"),u=n("ni6a"),c=n("Gev7"),d=n("Dagg"),h=n("dqUG"),p=n("y+Vt"),g=n("IMiH"),f=n("QuXc"),m=n("06Qe"),v=g.CMD,y=Math.round,x=Math.sqrt,_=Math.abs,b=Math.cos,S=Math.sin,w=Math.max;if(!i.canvasSupported){var M=21600,I=M/2,A=function(e){e.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",e.coordsize=M+","+M,e.coordorigin="0,0"},T=function(e,t,n){return"rgb("+[e,t,n].join(",")+")"},D=function(e,t){t&&e&&t.parentNode!==e&&e.appendChild(t)},C=function(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)},L=function(e,t,n){return 1e5*(parseFloat(e)||0)+1e3*(parseFloat(t)||0)+n},P=l.parsePercent,k=function(e,t,n){var i=r.parse(t);n=+n,isNaN(n)&&(n=1),i&&(e.color=T(i[0],i[1],i[2]),e.opacity=n*i[3])},N=function(e,t,n,i){var a="fill"===t,s=e.getElementsByTagName(t)[0];null!=n[t]&&"none"!==n[t]&&(a||!a&&n.lineWidth)?(e[a?"filled":"stroked"]="true",n[t]instanceof f&&C(e,s),s||(s=m.createNode(t)),a?function(e,t,n){var i,a,s=t.fill;if(null!=s)if(s instanceof f){var l,u=0,c=[0,0],d=0,h=1,p=n.getBoundingRect(),g=p.width,m=p.height;if("linear"===s.type){l="gradient";var v=n.transform,y=[s.x*g,s.y*m],x=[s.x2*g,s.y2*m];v&&(o(y,y,v),o(x,x,v));var _=x[0]-y[0],b=x[1]-y[1];(u=180*Math.atan2(_,b)/Math.PI)<0&&(u+=360),u<1e-6&&(u=0)}else{l="gradientradial";y=[s.x*g,s.y*m],v=n.transform;var S=n.scale,I=g,A=m;c=[(y[0]-p.x)/I,(y[1]-p.y)/A],v&&o(y,y,v),I/=S[0]*M,A/=S[1]*M;var D=w(I,A);d=0/D,h=2*s.r/D-d}var C=s.colorStops.slice();C.sort((function(e,t){return e.offset-t.offset}));for(var L=C.length,P=[],N=[],E=0;E<L;E++){var O=C[E],R=(i=O.color,a=void 0,a=r.parse(i),[T(a[0],a[1],a[2]),a[3]]);N.push(O.offset*h+d+" "+R[0]),0!==E&&E!==L-1||P.push(R)}if(L>=2){var V=P[0][0],z=P[1][0],B=P[0][1]*t.opacity,G=P[1][1]*t.opacity;e.type=l,e.method="none",e.focus="100%",e.angle=u,e.color=V,e.color2=z,e.colors=N.join(","),e.opacity=G,e.opacity2=B}"radial"===l&&(e.focusposition=c.join(","))}else k(e,s,t.opacity)}(s,n,i):function(e,t){t.lineDash&&(e.dashstyle=t.lineDash.join(" ")),null==t.stroke||t.stroke instanceof f||k(e,t.stroke,t.opacity)}(s,n),D(e,s)):(e[a?"filled":"stroked"]="false",C(e,s))},E=[[],[],[]];p.prototype.brushVML=function(e){var t=this.style,n=this._vmlEl;n||(n=m.createNode("shape"),A(n),this._vmlEl=n),N(n,"fill",t,this),N(n,"stroke",t,this);var i=this.transform,a=null!=i,r=n.getElementsByTagName("stroke")[0];if(r){var s=t.lineWidth;if(a&&!t.strokeNoScale){var l=i[0]*i[3]-i[1]*i[2];s*=x(_(l))}r.weight=s+"px"}var u=this.path||(this.path=new g);this.__dirtyPath&&(u.beginPath(),u.subPixelOptimize=!1,this.buildPath(u,this.shape),u.toStatic(),this.__dirtyPath=!1),n.path=function(e,t){var n,i,a,r,s,l,u=v.M,c=v.C,d=v.L,h=v.A,p=v.Q,g=[],f=e.data,m=e.len();for(r=0;r<m;){switch(i="",n=0,a=f[r++]){case u:i=" m ",n=1,s=f[r++],l=f[r++],E[0][0]=s,E[0][1]=l;break;case d:i=" l ",n=1,s=f[r++],l=f[r++],E[0][0]=s,E[0][1]=l;break;case p:case c:i=" c ",n=3;var _,w,A=f[r++],T=f[r++],D=f[r++],C=f[r++];a===p?(_=D,w=C,D=(D+2*A)/3,C=(C+2*T)/3,A=(s+2*A)/3,T=(l+2*T)/3):(_=f[r++],w=f[r++]),E[0][0]=A,E[0][1]=T,E[1][0]=D,E[1][1]=C,E[2][0]=_,E[2][1]=w,s=_,l=w;break;case h:var L=0,P=0,k=1,N=1,O=0;t&&(L=t[4],P=t[5],k=x(t[0]*t[0]+t[1]*t[1]),N=x(t[2]*t[2]+t[3]*t[3]),O=Math.atan2(-t[1]/N,t[0]/k));var R=f[r++],V=f[r++],z=f[r++],B=f[r++],G=f[r++]+O,Y=f[r++]+G+O;r++;var H=f[r++],W=R+b(G)*z,F=V+S(G)*B,j=(A=R+b(Y)*z,T=V+S(Y)*B,H?" wa ":" at ");Math.abs(W-A)<1e-4&&(Math.abs(Y-G)>.01?H&&(W+=.0125):Math.abs(F-V)<1e-4?H&&W<R||!H&&W>R?T-=.0125:T+=.0125:H&&F<V||!H&&F>V?A+=.0125:A-=.0125),g.push(j,y(((R-z)*k+L)*M-I),",",y(((V-B)*N+P)*M-I),",",y(((R+z)*k+L)*M-I),",",y(((V+B)*N+P)*M-I),",",y((W*k+L)*M-I),",",y((F*N+P)*M-I),",",y((A*k+L)*M-I),",",y((T*N+P)*M-I)),s=A,l=T;break;case v.R:var Z=E[0],U=E[1];Z[0]=f[r++],Z[1]=f[r++],U[0]=Z[0]+f[r++],U[1]=Z[1]+f[r++],t&&(o(Z,Z,t),o(U,U,t)),Z[0]=y(Z[0]*M-I),U[0]=y(U[0]*M-I),Z[1]=y(Z[1]*M-I),U[1]=y(U[1]*M-I),g.push(" m ",Z[0],",",Z[1]," l ",U[0],",",Z[1]," l ",U[0],",",U[1]," l ",Z[0],",",U[1]);break;case v.Z:g.push(" x ")}if(n>0){g.push(i);for(var X=0;X<n;X++){var q=E[X];t&&o(q,q,t),g.push(y(q[0]*M-I),",",y(q[1]*M-I),X<n-1?",":"")}}}return g.join("")}(u,this.transform),n.style.zIndex=L(this.zlevel,this.z,this.z2),D(e,n),null!=t.text?this.drawRectText(e,this.getBoundingRect()):this.removeRectText(e)},p.prototype.onRemove=function(e){C(e,this._vmlEl),this.removeRectText(e)},p.prototype.onAdd=function(e){D(e,this._vmlEl),this.appendRectText(e)};d.prototype.brushVML=function(e){var t,n,i,a=this.style,r=a.image;if("object"==typeof(i=r)&&i.tagName&&"IMG"===i.tagName.toUpperCase()){var s=r.src;if(s===this._imageSrc)t=this._imageWidth,n=this._imageHeight;else{var l=r.runtimeStyle,u=l.width,c=l.height;l.width="auto",l.height="auto",t=r.width,n=r.height,l.width=u,l.height=c,this._imageSrc=s,this._imageWidth=t,this._imageHeight=n}r=s}else r===this._imageSrc&&(t=this._imageWidth,n=this._imageHeight);if(r){var d=a.x||0,h=a.y||0,p=a.width,g=a.height,f=a.sWidth,v=a.sHeight,_=a.sx||0,b=a.sy||0,S=f&&v,M=this._vmlEl;M||(M=m.doc.createElement("div"),A(M),this._vmlEl=M);var I,T=M.style,C=!1,P=1,k=1;if(this.transform&&(I=this.transform,P=x(I[0]*I[0]+I[1]*I[1]),k=x(I[2]*I[2]+I[3]*I[3]),C=I[1]||I[2]),C){var N=[d,h],E=[d+p,h],O=[d,h+g],R=[d+p,h+g];o(N,N,I),o(E,E,I),o(O,O,I),o(R,R,I);var V=w(N[0],E[0],O[0],R[0]),z=w(N[1],E[1],O[1],R[1]),B=[];B.push("M11=",I[0]/P,",","M12=",I[2]/k,",","M21=",I[1]/P,",","M22=",I[3]/k,",","Dx=",y(d*P+I[4]),",","Dy=",y(h*k+I[5])),T.padding="0 "+y(V)+"px "+y(z)+"px 0",T.filter="progid:DXImageTransform.Microsoft.Matrix("+B.join("")+", SizingMethod=clip)"}else I&&(d=d*P+I[4],h=h*k+I[5]),T.filter="",T.left=y(d)+"px",T.top=y(h)+"px";var G=this._imageEl,Y=this._cropEl;G||(G=m.doc.createElement("div"),this._imageEl=G);var H=G.style;if(S){if(t&&n)H.width=y(P*t*p/f)+"px",H.height=y(k*n*g/v)+"px";else{var W=new Image,F=this;W.onload=function(){W.onload=null,t=W.width,n=W.height,H.width=y(P*t*p/f)+"px",H.height=y(k*n*g/v)+"px",F._imageWidth=t,F._imageHeight=n,F._imageSrc=r},W.src=r}Y||((Y=m.doc.createElement("div")).style.overflow="hidden",this._cropEl=Y);var j=Y.style;j.width=y((p+_*p/f)*P),j.height=y((g+b*g/v)*k),j.filter="progid:DXImageTransform.Microsoft.Matrix(Dx="+-_*p/f*P+",Dy="+-b*g/v*k+")",Y.parentNode||M.appendChild(Y),G.parentNode!==Y&&Y.appendChild(G)}else H.width=y(P*p)+"px",H.height=y(k*g)+"px",M.appendChild(G),Y&&Y.parentNode&&(M.removeChild(Y),this._cropEl=null);var Z="",U=a.opacity;U<1&&(Z+=".Alpha(opacity="+y(100*U)+") "),Z+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+r+", SizingMethod=scale)",H.filter=Z,M.style.zIndex=L(this.zlevel,this.z,this.z2),D(e,M),null!=a.text&&this.drawRectText(e,this.getBoundingRect())}},d.prototype.onRemove=function(e){C(e,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(e)},d.prototype.onAdd=function(e){D(e,this._vmlEl),this.appendRectText(e)};var O,R={},V=0,z=document.createElement("div");s.$override("measureText",(function(e,t){var n=m.doc;O||((O=n.createElement("div")).style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",m.doc.body.appendChild(O));try{O.style.font=t}catch(e){}return O.innerHTML="",O.appendChild(n.createTextNode(e)),{width:O.offsetWidth}}));for(var B=new a,G=function(e,t,n,i){var a=this.style;this.__dirty&&l.normalizeTextStyle(a,!0);var r=a.text;if(null!=r&&(r+=""),r){if(a.rich){var u=s.parseRichText(r,a);r=[];for(var c=0;c<u.lines.length;c++){for(var d=u.lines[c].tokens,h=[],p=0;p<d.length;p++)h.push(d[p].text);r.push(h.join(""))}r=r.join("\n")}var g,f,v=a.textAlign,x=a.textVerticalAlign,_=function(e){var t=R[e];if(!t){V>100&&(V=0,R={});var n,i=z.style;try{i.font=e,n=i.fontFamily.split(",")[0]}catch(e){}t={style:i.fontStyle||"normal",variant:i.fontVariant||"normal",weight:i.fontWeight||"normal",size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},R[e]=t,V++}return t}(a.font),b=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';n=n||s.getBoundingRect(r,b,v,x,a.textPadding,a.textLineHeight);var S=this.transform;if(S&&!i&&(B.copy(t),B.applyTransform(S),t=B),i)g=t.x,f=t.y;else{var w=a.textPosition;if(w instanceof Array)g=t.x+P(w[0],t.width),f=t.y+P(w[1],t.height),v=v||"left";else{var M=this.calculateTextPosition?this.calculateTextPosition({},a,t):s.calculateTextPosition({},a,t);g=M.x,f=M.y,v=v||M.textAlign,x=x||M.textVerticalAlign}}g=s.adjustTextX(g,n.width,v),f=s.adjustTextY(f,n.height,x),f+=n.height/2;var I,T,C,k=m.createNode,E=this._textVmlEl;E?T=(I=(C=E.firstChild).nextSibling).nextSibling:(E=k("line"),I=k("path"),T=k("textpath"),C=k("skew"),T.style["v-text-align"]="left",A(E),I.textpathok=!0,T.on=!0,E.from="0 0",E.to="1000 0.05",D(E,C),D(E,I),D(E,T),this._textVmlEl=E);var O=[g,f],G=E.style;S&&i?(o(O,O,S),C.on=!0,C.matrix=S[0].toFixed(3)+","+S[2].toFixed(3)+","+S[1].toFixed(3)+","+S[3].toFixed(3)+",0,0",C.offset=(y(O[0])||0)+","+(y(O[1])||0),C.origin="0 0",G.left="0px",G.top="0px"):(C.on=!1,G.left=y(g)+"px",G.top=y(f)+"px"),T.string=String(r).replace(/&/g,"&amp;").replace(/"/g,"&quot;");try{T.style.font=b}catch(e){}N(E,"fill",{fill:a.textFill,opacity:a.opacity},this),N(E,"stroke",{stroke:a.textStroke,opacity:a.opacity,lineDash:a.lineDash||null},this),E.style.zIndex=L(this.zlevel,this.z,this.z2),D(e,E)}},Y=function(e){C(e,this._textVmlEl),this._textVmlEl=null},H=function(e){D(e,this._textVmlEl)},W=[u,c,d,p,h],F=0;F<W.length;F++){var j=W[F].prototype;j.drawRectText=G,j.removeRectText=Y,j.appendRectText=H}h.prototype.brushVML=function(e){var t=this.style;null!=t.text?this.drawRectText(e,{x:t.x||0,y:t.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(e)},h.prototype.onRemove=function(e){this.removeRectText(e)},h.prototype.onAdd=function(e){this.appendRectText(e)}}},qJCg:function(e,t,n){var i=n("BlVb"),o=n("mFDi"),a=n("IwbS").linePolygonIntersect;function r(e){var t=["x","y"],n=["width","height"];return{point:function(t,n,i){if(t){var o=i.range;return s(t[e],o)}},rect:function(i,o,a){if(i){var r=a.range,l=[i[t[e]],i[t[e]]+i[n[e]]];return l[1]<l[0]&&l.reverse(),s(l[0],r)||s(l[1],r)||s(r[0],l)||s(r[1],l)}}}}function s(e,t){return t[0]<=e&&e<=t[1]}var l={lineX:r(0),lineY:r(1),rect:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return e&&n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])&&i.contain(n.range,e[0],e[1])},rect:function(e,t,n){var r=n.range;if(!e||r.length<=1)return!1;var s=e.x,l=e.y,u=e.width,c=e.height,d=r[0];return!!(i.contain(r,s,l)||i.contain(r,s+u,l)||i.contain(r,s,l+c)||i.contain(r,s+u,l+c)||o.create(e).contain(d[0],d[1])||a(s,l,s+u,l,r)||a(s,l,s,l+c,r)||a(s+u,l,s+u,l+c,r)||a(s,l+c,s+u,l+c,r))||void 0}}};e.exports=l},qZFw:function(e,t,n){var i=n("bYtY"),o=n("6GrX"),a=n("hM6l"),r=(0,n("4NO4").makeInner)();function s(e,t){t=t||[0,360],a.call(this,"angle",e,t),this.type="category"}s.prototype={constructor:s,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToAngle:a.prototype.dataToCoord,angleToData:a.prototype.coordToData,calculateCategoryInterval:function(){var e=this.getLabelModel(),t=this.scale,n=t.getExtent(),i=t.count();if(n[1]-n[0]<1)return 0;var a=n[0],s=this.dataToCoord(a+1)-this.dataToCoord(a),l=Math.abs(s),u=o.getBoundingRect(a,e.getFont(),"center","top"),c=Math.max(u.height,7)/l;isNaN(c)&&(c=1/0);var d=Math.max(0,Math.floor(c)),h=r(this.model),p=h.lastAutoInterval,g=h.lastTickCount;return null!=p&&null!=g&&Math.abs(p-d)<=1&&Math.abs(g-i)<=1&&p>d?d=p:(h.lastTickCount=i,h.lastAutoInterval=d),d}},i.inherits(s,a);var l=s;e.exports=l},qgGe:function(e,t,n){var i=n("bYtY"),o=n("T4UG"),a=n("Bsck"),r=n("Qxkt"),s=n("VaxA").wrapTreePathInfo,l=o.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(e,t){var n={name:e.name,children:e.data};!function e(t){var n=0;i.each(t.children,(function(t){e(t);var o=t.value;i.isArray(o)&&(o=o[0]),n+=o}));var o=t.value;i.isArray(o)&&(o=o[0]);(null==o||isNaN(o))&&(o=n);o<0&&(o=0);i.isArray(t.value)?t.value[0]=o:t.value=o}(n);var o=i.map(e.levels||[],(function(e){return new r(e,this,t)}),this),s=a.createTree(n,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=s.getNodeByDataIndex(t),i=o[n.depth];return i&&(e.parentModel=i),e}))}));return s.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(e){var t=o.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=s(n,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},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});e.exports=l},qj72:function(e,t,n){var i=n("bYtY");function o(e,t){return t=t||[0,0],i.map(["x","y"],(function(n,i){var o=this.getAxis(n),a=t[i],r=e[i]/2;return"category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(a-r)-o.dataToCoord(a+r))}),this)}e.exports=function(e){var t=e.grid.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(o,e)}}}},"qt/9":function(e,t,n){var i=n("ProS"),o=n("bYtY");n("Wqna"),n("1tlw"),n("Mylv");var a=n("nVfU").layout,r=n("f5Yq");n("Ae16"),i.registerLayout(o.curry(a,"pictorialBar")),i.registerVisual(r("pictorialBar","roundRect"))},qwVE:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("K4ya"),r=n("XxSj"),s=i.PRIORITY.VISUAL.COMPONENT;function l(e,t,n,i){for(var o=t.targetVisuals[i],a=r.prepareVisualTypes(o),s={color:e.getData().getVisual("color")},l=0,u=a.length;l<u;l++){var c=a[l],d=o["opacity"===c?"__alphaForOpacity":c];d&&d.applyVisual(n,h,p)}return s.color;function h(e){return s[e]}function p(e,t){s[e]=t}}i.registerVisual(s,{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",(function(t){var i=e.pipelineContext;!t.isTargetSeries(e)||i&&i.large||n.push(a.incrementalApplyVisual(t.stateList,t.targetVisuals,o.bind(t.getValueState,t),t.getDataDimension(e.getData())))})),n}}),i.registerVisual(s,{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),i=[];t.eachComponent("visualMap",(function(t){if(t.isTargetSeries(e)){var a=t.getVisualMeta(o.bind(l,null,e,t))||{stops:[],outerColors:[]},r=t.getDataDimension(n),s=n.getDimensionInfo(r);null!=s&&(a.dimension=s.index,i.push(a))}})),e.getData().setVisual("visualMeta",i)}})},rdor:function(e,t,n){var i=n("lOQZ").circularLayout;e.exports=function(e){e.eachSeriesByType("graph",(function(e){"circular"===e.get("layout")&&i(e,"symbolSize")}))}},rfSb:function(e,t,n){var i=n("T4UG"),o=n("sdST"),a=n("L0Ub").getDimensionTypeByAxis,r=n("YXkt"),s=n("bYtY"),l=n("4NO4").groupData,u=n("7aKB").encodeHTML,c=n("xKMd"),d=i.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){d.superApply(this,"init",arguments),this.legendVisualProvider=new c(s.bind(this.getData,this),s.bind(this.getRawData,this))},fixData:function(e){var t=e.length,n={},i=l(e,(function(e){return n.hasOwnProperty(e[0])||(n[e[0]]=-1),e[2]})),o=[];i.buckets.each((function(e,t){o.push({name:t,dataList:e})}));for(var a=o.length,r=0;r<a;++r){for(var s=o[r].name,u=0;u<o[r].dataList.length;++u){var c=o[r].dataList[u][0];n[c]=r}for(var c in n)n.hasOwnProperty(c)&&n[c]!==r&&(n[c]=r,e[t]=[],e[t][0]=c,e[t][1]=0,e[t][2]=s,t++)}return e},getInitialData:function(e,t){for(var n=t.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0].get("type"),i=s.filter(e.data,(function(e){return void 0!==e[2]})),l=this.fixData(i||[]),u=[],c=this.nameMap=s.createHashMap(),d=0,h=0;h<l.length;++h)u.push(l[h][2]),c.get(l[h][2])||(c.set(l[h][2],d),d++);var p=o(l,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:a(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),g=new r(p,this);return g.initData(l),g},getLayerSeries:function(){for(var e=this.getData(),t=e.count(),n=[],i=0;i<t;++i)n[i]=i;var o=e.mapDimension("single"),a=l(n,(function(t){return e.get("name",t)})),r=[];return a.buckets.each((function(t,n){t.sort((function(t,n){return e.get(o,t)-e.get(o,n)})),r.push({name:n,indices:t})})),r},getAxisTooltipData:function(e,t,n){s.isArray(e)||(e=e?[e]:[]);for(var i,o=this.getData(),a=this.getLayerSeries(),r=[],l=a.length,u=0;u<l;++u){for(var c=Number.MAX_VALUE,d=-1,h=a[u].indices.length,p=0;p<h;++p){var g=o.get(e[0],a[u].indices[p]),f=Math.abs(g-t);f<=c&&(i=g,c=f,d=a[u].indices[p])}r.push(d)}return{dataIndices:r,nestestValue:i}},formatTooltip:function(e){var t=this.getData(),n=t.getName(e),i=t.get(t.mapDimension("value"),e);return(isNaN(i)||null==i)&&(i="-"),u(n+" : "+i)},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}}}}),h=d;e.exports=h},rkZ5:function(e,t,n){n("Tghj").__DEV__;var i=n("ProS"),o=n("c8qY"),a=n("D9ME"),r=n("fls0"),s=n("RSch"),l=n("akwb"),u=n("o40c"),c=n("ZYIC"),d=n("sK/D").createClipPath,h=i.extendChartView({type:"lines",init:function(){},render:function(e,t,n){var i=e.getData(),o=this._updateLineDraw(i,e),a=e.get("zlevel"),r=e.get("effect.trailLength"),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(a).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&r&&(l||s.configLayer(a,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(r/10+.9,1),0)})),o.updateData(i);var u=e.get("clip",!0)&&d(e.coordinateSystem,!1,e);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=a,this._finished=!0},incrementalPrepareRender:function(e,t,n){var i=e.getData();this._updateLineDraw(i,e).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},incrementalRender:function(e,t,n){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,n){var i=e.getData(),o=e.pipelineContext;if(!this._finished||o.large||o.progressiveRender)return{update:!0};var a=c.reset(e);a.progress&&a.progress({start:0,end:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},_updateLineDraw:function(e,t){var n=this._lineDraw,i=this._showEffect(t),c=!!t.get("polyline"),d=t.pipelineContext.large;return n&&i===this._hasEffet&&c===this._isPolyline&&d===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=d?new u:new o(c?i?l:s:i?a:r),this._hasEffet=i,this._isPolyline=c,this._isLargeDraw=d,this.group.removeAll()),this.group.add(n.group),n},_showEffect:function(e){return!!e.get("effect.show")},_clearLayer:function(e){var t=e.getZr();"svg"===t.painter.getType()||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},rnVJ:function(e,t,n){var i=n("bYtY"),o=["rect","polygon","keep","clear"];e.exports=function(e,t){var n=e&&e.brush;if(i.isArray(n)||(n=n?[n]:[]),n.length){var a=[];i.each(n,(function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(a=a.concat(t))}));var r=e&&e.toolbox;i.isArray(r)&&(r=r[0]),r||(r={feature:{}},e.toolbox=[r]);var s,l,u=r.feature||(r.feature={}),c=u.brush||(u.brush={}),d=c.type||(c.type=[]);d.push.apply(d,a),s=d,l={},i.each(s,(function(e){l[e]=1})),s.length=0,i.each(l,(function(e,t){s.push(t)})),t&&!d.length&&d.push.apply(d,o)}}},rySg:function(e,t,n){n("SMc4"),n("8nMs")},s2lz:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("IwbS"),r=n("gPAo"),s=n("VaxA"),l=n("9hCq"),u=n("SgGq"),c=n("mFDi"),d=n("Fofx"),h=n("5s0K"),p=n("KCsZ"),g=n("7aKB").windowOpen,f=o.bind,m=a.Group,v=a.Rect,y=o.each,x=["label"],_=["emphasis","label"],b=["upperLabel"],S=["emphasis","upperLabel"],w=p([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),M=function(e){var t=w(e);return t.stroke=t.fill=t.lineWidth=null,t},I=i.extendChartView({type:"treemap",init:function(e,t){this._containerGroup,this._storage={nodeGroup:[],background:[],content:[]},this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(e,t,n,i){var a=t.findComponents({mainType:"series",subType:"treemap",query:i});if(!(o.indexOf(a,e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var r=s.retrieveTargetInfo(i,["treemapZoomToNode","treemapRootToNode"],e),l=i&&i.type,u=e.layoutInfo,c=!this._oldTree,d=this._storage,h="treemapRootToNode"===l&&r&&d?{rootNodeGroup:d.nodeGroup[r.node.getRawIndex()],direction:i.direction}:null,p=this._giveContainerGroup(u),g=this._doRender(p,e,h);c||l&&"treemapZoomToNode"!==l&&"treemapRootToNode"!==l?g.renderFinally():this._doAnimation(p,g,e,h),this._resetController(n),this._renderBreadcrumb(e,n,r)}},_giveContainerGroup:function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new m,this._initEvents(t),this.group.add(t)),t.attr("position",[e.x,e.y]),t},_doRender:function(e,t,n){var i=t.getData().tree,a=this._oldTree,s={nodeGroup:[],background:[],content:[]},l={nodeGroup:[],background:[],content:[]},u=this._storage,c=[],d=o.curry(A,t,l,u,n,s,c);!function e(t,n,i,a,s){a?(n=t,y(t,(function(e,t){!e.isRemoved()&&u(t,t)}))):new r(n,t,l,l).add(u).update(u).remove(o.curry(u,null)).execute();function l(e){return e.getId()}function u(o,r){var l=null!=o?t[o]:null,u=null!=r?n[r]:null,c=d(l,u,i,s);c&&e(l&&l.viewChildren||[],u&&u.viewChildren||[],c,a,s+1)}}(i.root?[i.root]:[],a&&a.root?[a.root]:[],e,i===a||!a,0);var h=function(e){var t={nodeGroup:[],background:[],content:[]};return e&&y(e,(function(e,n){var i=t[n];y(e,(function(e){e&&(i.push(e),e.__tmWillDelete=1)}))})),t}(u);return this._oldTree=i,this._storage=l,{lastsForAnimation:s,willDeleteEls:h,renderFinally:function(){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,n,i){if(n.get("animation")){var a=n.get("animationDurationUpdate"),r=n.get("animationEasing"),s=h.createWrap();y(t.willDeleteEls,(function(e,t){y(e,(function(e,n){if(!e.invisible){var o,l=e.parent;if(i&&"drillDown"===i.direction)o=l===i.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),o="nodeGroup"===t?{position:[u,c],style:{opacity:0}}:{shape:{x:u,y:c,width:0,height:0},style:{opacity:0}}}o&&s.add(e,o,a,r)}}))})),y(this._storage,(function(e,n){y(e,(function(e,i){var l=t.lastsForAnimation[n][i],u={};l&&("nodeGroup"===n?l.old&&(u.position=e.position.slice(),e.attr("position",l.old)):(l.old&&(u.shape=o.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,a,r))}))}),this),this._state="animating",s.done(f((function(){this._state="ready",t.renderFinally()}),this)).start()}},_resetController:function(e){var t=this._controller;t||((t=this._controller=new u(e.getZr())).enable(this.seriesModel.get("roam")),t.on("pan",f(this._onPan,this)),t.on("zoom",f(this._onZoom,this)));var n=new c(0,0,e.getWidth(),e.getHeight());t.setPointerChecker((function(e,t,i){return n.contain(t,i)}))},_clearController:function(){var e=this._controller;e&&(e.dispose(),e=null)},_onPan:function(e){if("animating"!==this._state&&(Math.abs(e.dx)>3||Math.abs(e.dy)>3)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},_onZoom:function(e){var t=e.originX,n=e.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var o=i.getLayout();if(!o)return;var a=new c(o.x,o.y,o.width,o.height),r=this.seriesModel.layoutInfo;t-=r.x,n-=r.y;var s=d.create();d.translate(s,s,[-t,-n]),d.scale(s,s,[e.scale,e.scale]),d.translate(s,s,[t,n]),a.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},_initEvents:function(e){e.on("click",(function(e){if("ready"===this._state){var t=this.seriesModel.get("nodeClick",!0);if(t){var n=this.findTarget(e.offsetX,e.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===t)this._zoomToNode(n);else if("link"===t){var o=i.hostTree.data.getItemModel(i.dataIndex),a=o.get("link",!0),r=o.get("target",!0)||"blank";a&&g(a,r)}}}}}),this)},_renderBreadcrumb:function(e,t,n){n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2))||(n={node:e.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(e,t,n.node,f((function(t){"animating"!==this._state&&(s.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))}),this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(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 n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var o=this._storage.background[i.getRawIndex()];if(o){var a=o.transformCoordToLocal(e,t),r=o.shape;if(!(r.x<=a[0]&&a[0]<=r.x+r.width&&r.y<=a[1]&&a[1]<=r.y+r.height))return!1;n={node:i,offsetX:a[0],offsetY:a[1]}}}),this),n}});function A(e,t,n,i,r,s,l,u,c,d){if(l){var h=l.getLayout(),p=e.getData();if(p.setItemGraphicEl(l.dataIndex,null),h&&h.isInView){var g=h.width,f=h.height,y=h.borderWidth,I=h.invisible,A=l.getRawIndex(),D=u&&u.getRawIndex(),C=l.viewChildren,L=h.upperHeight,P=C&&C.length,k=l.getModel("itemStyle"),N=l.getModel("emphasis.itemStyle"),E=Y("nodeGroup",m);if(E){if(c.add(E),E.attr("position",[h.x||0,h.y||0]),E.__tmNodeWidth=g,E.__tmNodeHeight=f,h.isAboveViewRoot)return E;var O=l.getModel(),R=Y("background",v,d,1);if(R&&function(t,n,i){if(n.dataIndex=l.dataIndex,n.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:g,height:f}),I)z(n);else{n.invisible=!1;var o=l.getVisual("borderColor",!0),r=N.get("borderColor"),s=M(k);s.fill=o;var u=w(N);if(u.fill=r,i){var c=g-2*y;B(s,u,o,c,L,{x:y,y:0,width:c,height:L})}else s.text=u.text=null;n.setStyle(s),a.setElementHoverStyle(n,u)}t.add(n)}(E,R,P&&h.upperLabelHeight),P)a.isHighDownDispatcher(E)&&a.setAsHighDownDispatcher(E,!1),R&&(a.setAsHighDownDispatcher(R,!0),p.setItemGraphicEl(l.dataIndex,R));else{var V=Y("content",v,d,2);V&&function(t,n){n.dataIndex=l.dataIndex,n.seriesIndex=e.seriesIndex;var i=Math.max(g-2*y,0),o=Math.max(f-2*y,0);if(n.culling=!0,n.setShape({x:y,y:y,width:i,height:o}),I)z(n);else{n.invisible=!1;var r=l.getVisual("color",!0),s=M(k);s.fill=r;var u=w(N);B(s,u,r,i,o),n.setStyle(s),a.setElementHoverStyle(n,u)}t.add(n)}(E,V),R&&a.isHighDownDispatcher(R)&&a.setAsHighDownDispatcher(R,!1),a.setAsHighDownDispatcher(E,!0),p.setItemGraphicEl(l.dataIndex,E)}return E}}}function z(e){!e.invisible&&s.push(e)}function B(t,n,i,r,s,u){var c=O.get("name"),d=O.getModel(u?b:x),p=O.getModel(u?S:_),g=d.getShallow("show");a.setLabelStyle(t,n,d,p,{defaultText:g?c:null,autoColor:i,isRectText:!0,labelFetcher:e,labelDataIndex:l.dataIndex,labelProp:u?"upperLabel":"label"}),G(t,u,h),G(n,u,h),u&&(t.textRect=o.clone(u)),t.truncate=g&&d.get("ellipsis")?{outerWidth:r,outerHeight:s,minChar:2}:null}function G(t,n,i){var o=t.text;if(!n&&i.isLeafRoot&&null!=o){var a=e.get("drillDownIcon",!0);t.text=a?a+" "+o:o}}function Y(e,a,s,u){var c=null!=D&&n[e][D],d=r[e];return c?(n[e][D]=null,function(e,t,n){(e[A]={}).old="nodeGroup"===n?t.position.slice():o.extend({},t.shape)}(d,c,e)):I||((c=new a({z:T(s,u)})).__tmDepth=s,c.__tmStorageName=e,function(e,t,n){var o=e[A]={},a=l.parentNode;if(a&&(!i||"drillDown"===i.direction)){var s=0,u=0,c=r.background[a.getRawIndex()];!i&&c&&c.old&&(s=c.old.width,u=c.old.height),o.old="nodeGroup"===n?[0,u]:{x:s,y:u,width:0,height:0}}o.fadein="nodeGroup"!==n}(d,0,e)),t[e][A]=c}}function T(e,t){var n=10*e+t;return(n-1)/n}e.exports=I},sAZ8:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("+rIm"),r=n("/IIm"),s=n("9KIM"),l=n("IwbS"),u=["axisLine","axisTickLabel","axisName"],c=i.extendComponentView({type:"parallelAxis",init:function(e,t){c.superApply(this,"init",arguments),(this._brushController=new r(t.getZr())).on("brush",o.bind(this._onBrush,this))},render:function(e,t,n,i){if(!function(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}(e,t,i)){this.axisModel=e,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),e.get("show")){var s=function(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}(e,t),c=s.coordinateSystem,d=e.getAreaSelectStyle(),h=d.width,p=e.axis.dim,g=c.getAxisLayout(p),f=o.extend({strokeContainThreshold:h},g),m=new a(e,f);o.each(u,m.add,m),this._axisGroup.add(m.getGroup()),this._refreshBrushController(f,d,e,s,h,n);var v=i&&!1===i.animation?null:e;l.groupTransition(r,this._axisGroup,v)}}},_refreshBrushController:function(e,t,n,i,a,r){var u=n.axis.getExtent(),c=u[1]-u[0],d=Math.min(30,.1*Math.abs(c)),h=l.BoundingRect.create({x:u[0],y:-a/2,width:c,height:a});h.x-=d,h.width+=2*d,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,position:e.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(h),isTargetByCursor:s.makeRectIsTargetByCursor(h,r,i),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(h,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(function(e){var t=e.axis;return o.map(e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}(n))},_onBrush:function(e,t){var n=this.axisModel,i=n.axis,a=o.map(e,(function(e){return[i.coordToData(e.range[0],!0),i.coordToData(e.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:a})},dispose:function(){this._brushController.dispose()}});var d=c;e.exports=d},"sK/D":function(e,t,n){var i=n("IwbS"),o=n("OELB").round;function a(e,t,n){var o=e.getArea(),a=e.getBaseAxis().isHorizontal(),r=o.x,s=o.y,l=o.width,u=o.height,c=n.get("lineStyle.width")||2;r-=c/2,s-=c/2,l+=c,u+=c,r=Math.floor(r),l=Math.round(l);var d=new i.Rect({shape:{x:r,y:s,width:l,height:u}});return t&&(d.shape[a?"width":"height"]=0,i.initProps(d,{shape:{width:l,height:u}},n)),d}function r(e,t,n){var a=e.getArea(),r=new i.Sector({shape:{cx:o(e.cx,1),cy:o(e.cy,1),r0:o(a.r0,1),r:o(a.r,1),startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}});return t&&(r.shape.endAngle=a.startAngle,i.initProps(r,{shape:{endAngle:a.endAngle}},n)),r}t.createGridClipPath=a,t.createPolarClipPath=r,t.createClipPath=function(e,t,n){return e?"polar"===e.type?r(e,t,n):"cartesian2d"===e.type?a(e,t,n):null:null}},sRwP:function(e,t,n){n("jsU+"),n("2548"),n("Tp9H"),n("06DH"),n("dnwI"),n("fE02"),n("33Ds")},"sW+o":function(e,t,n){var i=n("SrGk"),o=n("bYtY"),a=n("SUKs"),r=n("Qe9p");function s(e,t){i.call(this,e,t,["linearGradient","radialGradient"],"__gradient_in_use__")}o.inherits(s,i),s.prototype.addWithoutUpdate=function(e,t){if(t&&t.style){var n=this;o.each(["fill","stroke"],(function(i){if(t.style[i]&&("linear"===t.style[i].type||"radial"===t.style[i].type)){var o,a=t.style[i],r=n.getDefs(!0);a._dom?(o=a._dom,r.contains(a._dom)||n.addDom(o)):o=n.add(a),n.markUsed(t);var s=o.getAttribute("id");e.setAttribute(i,"url(#"+s+")")}}))}},s.prototype.add=function(e){var t;if("linear"===e.type)t=this.createElement("linearGradient");else{if("radial"!==e.type)return a("Illegal gradient type."),null;t=this.createElement("radialGradient")}return e.id=e.id||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-gradient-"+e.id),this.updateDom(e,t),this.addDom(t),t},s.prototype.update=function(e){var t=this;i.prototype.update.call(this,e,(function(){var n=e.type,i=e._dom.tagName;"linear"===n&&"linearGradient"===i||"radial"===n&&"radialGradient"===i?t.updateDom(e,e._dom):(t.removeDom(e),t.add(e))}))},s.prototype.updateDom=function(e,t){if("linear"===e.type)t.setAttribute("x1",e.x),t.setAttribute("y1",e.y),t.setAttribute("x2",e.x2),t.setAttribute("y2",e.y2);else{if("radial"!==e.type)return void a("Illegal gradient type.");t.setAttribute("cx",e.x),t.setAttribute("cy",e.y),t.setAttribute("r",e.r)}e.global?t.setAttribute("gradientUnits","userSpaceOnUse"):t.setAttribute("gradientUnits","objectBoundingBox"),t.innerHTML="";for(var n=e.colorStops,i=0,o=n.length;i<o;++i){var s=this.createElement("stop");s.setAttribute("offset",100*n[i].offset+"%");var l=n[i].color;if(l.indexOf("rgba")>-1){var u=r.parse(l)[3],c=r.toHex(l);s.setAttribute("stop-color","#"+c),s.setAttribute("stop-opacity",u)}else s.setAttribute("stop-color",n[i].color);t.appendChild(s)}e._dom=t},s.prototype.markUsed=function(e){if(e.style){var t=e.style.fill;t&&t._dom&&i.prototype.markUsed.call(this,t._dom),(t=e.style.stroke)&&t._dom&&i.prototype.markUsed.call(this,t._dom)}};var l=s;e.exports=l},spEH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GroupProjectBackgroup=t.Content=t.Cancel=t.GreenUnder=t.NumUl=t.Redback=t.Blueback=t.Greenback=t.Greenline=t.Redline=t.Blueline=t.WhiteBack=t.Gap=t.Short=t.ShortWidth=t.Long=t.LongWidth=t.Box=t.AlignAJBottom=t.AlignTop=t.AlignCenter=t.FlexAJ=t.AlignCenterBetween=t.Banner=void 0;var i,o=L(["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"],["{\n padding:20px 25px;\n color:#333;\n font-size:18px;\n border-bottom:1px solid #eee;\n background-color:#fff;\n border-radius:5px 5px 0px 0px;\n}"]),a=L(["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"],["{\n display:flex;\n align-items: center;\n padding: 14px 14px 14px 20px;\n justify-content: space-between;\n border-bottom:1px solid #eee;\n}"]),r=L(["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"],["{\n display:flex;\n align-items: center;\n justify-content: space-between;\n}"]),s=L(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),l=L(["{\n display:flex;\n align-items: flex-start;\n}"],["{\n display:flex;\n align-items: flex-start;\n}"]),u=L(["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"],["{\n display:flex;\n justify-content: space-between;\n align-items: flex-end;\n}"]),c=L(["{\n display:flex;\n align-items:flex-start;\n}"],["{\n display:flex;\n align-items:flex-start;\n}"]),d=L(["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n width:0;\n border-radius:5px;\n margin-bottom:30px;\n}"]),h=L(["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:78%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),p=L(["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:300px;\n border-radius:5px;\n margin-bottom:30px;\n}"]),g=L(["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n flex:1;\n border-radius:5px;\n margin-bottom:30px;\n}"]),f=L(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),m=L(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),v=L(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid rgba(80,145,255,1);\n color:rgba(80,145,255,1);\n padding:0px 12px;\n display:inline-block;\n}"]),y=L(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),x=L(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:"," !important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n background:",";\n}"]),_=L(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#28BD6C;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),b=L(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:rgba(80,145,255,1);\n color:#fff!important;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),S=L(["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:30px;\n border-radius:2px;\n background-color:#F73030;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),w=L(["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"],["{\n padding-left: 20px;\n & > li{\n list-style-type: decimal;\n color:#888;\n height:24px;\n line-height:24px;\n }\n}"]),M=L(["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"],["{\n color:#28BD6C!important;\n position:relative;\n &:after{\n position:absolute;\n bottom:-2px;\n left:0px;\n width:100%;\n height:1px;\n content:'';\n background:#28BD6C;\n }\n}"]),I=L(["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"],["{\n height:32px;\n line-height:32px;\n border-radius:2px;\n background-color:#BBBBBB;\n color:#fff;\n padding:0px 12px;\n display:inline-block;\n min-width:64px;\n text-align:center;\n letter-spacing: 4px;\n}"]),A=L(["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"],["{\n width:1200px;\n margin:20px auto;\n text-align:center;\n display:flex;\n align-Items:center;\n background-color:#fff;\n justify-content: center;\n}"]),T=L(["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"],["{\n background:#fafafa;\n padding:20px 30px;\n width:100%;\n}"]),D=n("vOnD"),C=(i=D)&&i.__esModule?i:{default:i};function L(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.Banner=C.default.div(o),t.AlignCenterBetween=C.default.div(a),t.FlexAJ=C.default.div(r),t.AlignCenter=C.default.div(s),t.AlignTop=C.default.div(l),t.AlignAJBottom=C.default.div(u),t.Box=C.default.div(c),t.LongWidth=C.default.div(d),t.Long=C.default.div(h),t.ShortWidth=C.default.div(p),t.Short=C.default.div(g),t.Gap=C.default.div(f),t.WhiteBack=C.default.div(m),t.Blueline=C.default.a(v),t.Redline=C.default.a(y,(function(e){return e.bold?"#fff":"#F73030"}),(function(e){return e.bold?"#F73030":"#fff"})),t.Greenline=C.default.a(x,(function(e){return e.bold?"#fff":"#28BD6C"}),(function(e){return e.bold?"#28BD6C":"#fff"})),t.Greenback=C.default.a(_),t.Blueback=C.default.a(b),t.Redback=C.default.a(S),t.NumUl=C.default.ul(w),t.GreenUnder=C.default.a(M),t.Cancel=C.default.a(I),t.Content=C.default.div(A),t.GroupProjectBackgroup=C.default.div(T)},szbU:function(e,t,n){var i=n("bYtY"),o=i.each;function a(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}e.exports=function(e){var t=e&&e.visualMap;i.isArray(t)||(t=t?[t]:[]),o(t,(function(e){if(e){a(e,"splitList")&&!a(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&i.isArray(t)&&o(t,(function(e){i.isObject(e)&&(a(e,"start")&&!a(e,"min")&&(e.min=e.start),a(e,"end")&&!a(e,"max")&&(e.max=e.end))}))}}))}},tBnm:function(e,t,n){var i=n("bYtY"),o=n("IwbS"),a=n("Qxkt"),r=n("Znkb"),s=n("+rIm"),l=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function u(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var i=e.coordToPoint([t[0],n]),o=e.coordToPoint([t[1],n]);return{x1:i[0],y1:i[1],x2:o[0],y2:o[1]}}function c(e){return e.getRadiusAxis().inverse?0:1}function d(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var h=r.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,o=n.polar,a=o.getRadiusAxis().getExtent(),r=n.getTicksCoords(),s=n.getMinorTicksCoords(),u=i.map(n.getViewLabels(),(function(e){return(e=i.clone(e)).coord=n.dataToCoord(e.tickValue),e}));d(u),d(r),i.each(l,(function(t){!e.get(t+".show")||n.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,o,r,s,a,u)}),this)}},_axisLine:function(e,t,n,i,a){var r,s=e.getModel("axisLine.lineStyle"),l=c(t),u=l?0:1;(r=0===a[u]?new o.Circle({shape:{cx:t.cx,cy:t.cy,r:a[l]},style:s.getLineStyle(),z2:1,silent:!0}):new o.Ring({shape:{cx:t.cx,cy:t.cy,r:a[l],r0:a[u]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,this.group.add(r)},_axisTick:function(e,t,n,a,r){var s=e.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),d=r[c(t)],h=i.map(n,(function(e){return new o.Line({shape:u(t,[d,d+l],e.coord)})}));this.group.add(o.mergePath(h,{style:i.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})}))},_minorTick:function(e,t,n,a,r){if(a.length){for(var s=e.getModel("axisTick"),l=e.getModel("minorTick"),d=(s.get("inside")?-1:1)*l.get("length"),h=r[c(t)],p=[],g=0;g<a.length;g++)for(var f=0;f<a[g].length;f++)p.push(new o.Line({shape:u(t,[h,h+d],a[g][f].coord)}));this.group.add(o.mergePath(p,{style:i.defaults(l.getModel("lineStyle").getLineStyle(),i.defaults(s.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}))}))}},_axisLabel:function(e,t,n,r,l,u){var d=e.getCategories(!0),h=e.getModel("axisLabel"),p=h.get("margin"),g=e.get("triggerEvent");i.each(u,(function(n,i){var r=h,u=n.tickValue,f=l[c(t)],m=t.coordToPoint([f+p,n.coord]),v=t.cx,y=t.cy,x=Math.abs(m[0]-v)/f<.3?"center":m[0]>v?"left":"right",_=Math.abs(m[1]-y)/f<.3?"middle":m[1]>y?"top":"bottom";d&&d[u]&&d[u].textStyle&&(r=new a(d[u].textStyle,h,h.ecModel));var b=new o.Text({silent:s.isLabelSilent(e)});this.group.add(b),o.setTextStyle(b.style,r,{x:m[0],y:m[1],textFill:r.getTextColor()||e.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:x,textVerticalAlign:_}),g&&(b.eventData=s.makeAxisEventDataBase(e),b.eventData.targetType="axisLabel",b.eventData.value=n.rawLabel)}),this)},_splitLine:function(e,t,n,a,r){var s=e.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),c=0;l=l instanceof Array?l:[l];for(var d=[],h=0;h<n.length;h++){var p=c++%l.length;d[p]=d[p]||[],d[p].push(new o.Line({shape:u(t,r,n[h].coord)}))}for(h=0;h<d.length;h++)this.group.add(o.mergePath(d[h],{style:i.defaults({stroke:l[h%l.length]},s.getLineStyle()),silent:!0,z:e.get("z")}))},_minorSplitLine:function(e,t,n,i,a){if(i.length){for(var r=e.getModel("minorSplitLine").getModel("lineStyle"),s=[],l=0;l<i.length;l++)for(var c=0;c<i[l].length;c++)s.push(new o.Line({shape:u(t,a,i[l][c].coord)}));this.group.add(o.mergePath(s,{style:r.getLineStyle(),silent:!0,z:e.get("z")}))}},_splitArea:function(e,t,n,a,r){if(n.length){var s=e.getModel("splitArea").getModel("areaStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],d=Math.PI/180,h=-n[0].coord*d,p=Math.min(r[0],r[1]),g=Math.max(r[0],r[1]),f=e.get("clockwise"),m=1;m<n.length;m++){var v=u++%l.length;c[v]=c[v]||[],c[v].push(new o.Sector({shape:{cx:t.cx,cy:t.cy,r0:p,r:g,startAngle:h,endAngle:-n[m].coord*d,clockwise:f},silent:!0})),h=-n[m].coord*d}for(m=0;m<c.length;m++)this.group.add(o.mergePath(c[m],{style:i.defaults({fill:l[m%l.length]},s.getAreaStyle()),silent:!0}))}}});e.exports=h},tceW:function(e,t,n){var i=n("KCsZ")([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getBarItemStyle:function(e){var t=i(this,e);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(t.lineDash=n)}return t}};e.exports=o},uOyE:function(e,t,n){var i=n("ProS");i.registerAction({type:"brush",event:"brush"},(function(e,t){t.eachComponent({mainType:"brush",query:e},(function(t){t.setAreas(e.areas)}))})),i.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},(function(){})),i.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){}))},v5uJ:function(e,t,n){var i=n("ProS"),o=n("2B6p").updateCenterAndZoom;i.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var n=e.dataIndex,i=t.getData().tree.getNodeByDataIndex(n);i.isExpand=!i.isExpand}))})),i.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var n=t.coordinateSystem,i=o(n,e);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)}))}))},"vF/C":function(e,t,n){n("bLfw").registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"}))},vKoX:function(e,t,n){var i=n("SrGk");function o(e,t){i.call(this,e,t,["filter"],"__filter_in_use__","_shadowDom")}function a(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY||e.textShadowBlur||e.textShadowOffsetX||e.textShadowOffsetY)}n("bYtY").inherits(o,i),o.prototype.addWithoutUpdate=function(e,t){if(t&&a(t.style)){var n;if(t._shadowDom)n=t._shadowDom,this.getDefs(!0).contains(t._shadowDom)||this.addDom(n);else n=this.add(t);this.markUsed(t);var i=n.getAttribute("id");e.style.filter="url(#"+i+")"}},o.prototype.add=function(e){var t=this.createElement("filter");return e._shadowDomId=e._shadowDomId||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-shadow-"+e._shadowDomId),this.updateDom(e,t),this.addDom(t),t},o.prototype.update=function(e,t){if(a(t.style)){var n=this;i.prototype.update.call(this,t,(function(){n.updateDom(t,t._shadowDom)}))}else this.remove(e,t)},o.prototype.remove=function(e,t){null!=t._shadowDomId&&(this.removeDom(e),e.style.filter="")},o.prototype.updateDom=function(e,t){var n=t.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var i,o,a,r,s=e.style,l=e.scale&&e.scale[0]||1,u=e.scale&&e.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)i=s.shadowOffsetX||0,o=s.shadowOffsetY||0,a=s.shadowBlur,r=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(t,s);i=s.textShadowOffsetX||0,o=s.textShadowOffsetY||0,a=s.textShadowBlur,r=s.textShadowColor}n.setAttribute("dx",i/l),n.setAttribute("dy",o/u),n.setAttribute("flood-color",r);var c=a/2/l+" "+a/2/u;n.setAttribute("stdDeviation",c),t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width",Math.ceil(a/2*200)+"%"),t.setAttribute("height",Math.ceil(a/2*200)+"%"),t.appendChild(n),e._shadowDom=t},o.prototype.markUsed=function(e){e._shadowDom&&i.prototype.markUsed.call(this,e._shadowDom)};var r=o;e.exports=r},vL6D:function(e,t,n){var i=n("bYtY"),o=n("+rIm"),a=n("IwbS"),r=n("7bkD"),s=n("Znkb"),l=n("WN+l"),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,d=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine"],p=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(e,t,n,s){var l=this.group;l.removeAll();var u=this._axisGroup;this._axisGroup=new a.Group;var c=r.layout(e),g=new o(e,c);i.each(d,g.add,g),l.add(this._axisGroup),l.add(g.getGroup()),i.each(h,(function(t){e.get(t+".show")&&this["_"+t](e)}),this),a.groupTransition(u,this._axisGroup,e),p.superCall(this,"render",e,t,n,s)},remove:function(){c(this)},_splitLine:function(e){var t=e.axis;if(!t.scale.isBlank()){var n=e.getModel("splitLine"),i=n.getModel("lineStyle"),o=i.get("width"),r=i.get("color");r=r instanceof Array?r:[r];for(var s=e.coordinateSystem.getRect(),l=t.isHorizontal(),u=[],c=0,d=t.getTicksCoords({tickModel:n}),h=[],p=[],g=0;g<d.length;++g){var f=t.toGlobalCoord(d[g].coord);l?(h[0]=f,h[1]=s.y,p[0]=f,p[1]=s.y+s.height):(h[0]=s.x,h[1]=f,p[0]=s.x+s.width,p[1]=f);var m=c++%r.length;u[m]=u[m]||[],u[m].push(new a.Line({subPixelOptimize:!0,shape:{x1:h[0],y1:h[1],x2:p[0],y2:p[1]},style:{lineWidth:o},silent:!0}))}for(g=0;g<u.length;++g)this.group.add(a.mergePath(u[g],{style:{stroke:r[g%r.length],lineDash:i.getLineDash(o),lineWidth:o},silent:!0}))}},_splitArea:function(e){u(this,this._axisGroup,e,e)}}),g=p;e.exports=g},vZ6x:function(e,t,n){n("Tghj").__DEV__;var i=n("bYtY"),o=n("IwbS"),a=n("4NO4"),r=n("9KIM"),s=i.each,l=i.indexOf,u=i.curry,c=["dataToPoint","pointToData"],d=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function h(e,t,n){var i=this._targetInfoList=[],o={},a=f(t,e);s(m,(function(e,t){(!n||!n.include||l(n.include,t)>=0)&&e(a,i,o)}))}var p=h.prototype;function g(e){return e[0]>e[1]&&e.reverse(),e}function f(e,t){return a.parseFinder(e,t,{includeMainTypes:d})}p.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,(function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var i=x[e.brushType](0,n,t);e.__rangeOffset={offset:b[e.brushType](i.values,e.range,[1,1]),xyMinMax:i.xyMinMax}}}))},p.matchOutputRanges=function(e,t,n){s(e,(function(e){var o=this.findTargetInfo(e,t);o&&!0!==o&&i.each(o.coordSyses,(function(i){var o=x[e.brushType](1,i,e.range);n(e,o.values,i,t)}))}),this)},p.setInputRanges=function(e,t){s(e,(function(e){var n,i,o,a,r,s=this.findTargetInfo(e,t);if(e.range=e.range||[],s&&!0!==s){e.panelId=s.panelId;var l=x[e.brushType](0,s.coordSys,e.coordRange),u=e.__rangeOffset;e.range=u?b[e.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,o=w(n),a=w(i),r=[o[0]/a[0],o[1]/a[1]],isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r)):l.values}}),this)},p.makePanelOpts=function(e,t){return i.map(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t&&t(n),clipPath:r.makeRectPanelClipPath(i),isTargetByCursor:r.makeRectIsTargetByCursor(i,e,n.coordSysModel),getLinearBrushOtherExtent:r.makeLinearBrushOtherExtent(i)}}))},p.controlSeries=function(e,t,n){var i=this.findTargetInfo(e,n);return!0===i||i&&l(i.coordSyses,t.coordinateSystem)>=0},p.findTargetInfo=function(e,t){for(var n=this._targetInfoList,i=f(t,e),o=0;o<n.length;o++){var a=n[o],r=e.panelId;if(r){if(a.panelId===r)return a}else for(o=0;o<v.length;o++)if(v[o](i,a))return a}return!0};var m={grid:function(e,t){var n=e.xAxisModels,o=e.yAxisModels,a=e.gridModels,r=i.createHashMap(),u={},c={};(n||o||a)&&(s(n,(function(e){var t=e.axis.grid.model;r.set(t.id,t),u[t.id]=!0})),s(o,(function(e){var t=e.axis.grid.model;r.set(t.id,t),c[t.id]=!0})),s(a,(function(e){r.set(e.id,e),u[e.id]=!0,c[e.id]=!0})),r.each((function(e){var i=e.coordinateSystem,a=[];s(i.getCartesians(),(function(e,t){(l(n,e.getAxis("x").model)>=0||l(o,e.getAxis("y").model)>=0)&&a.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:a[0],coordSyses:a,getPanelRect:y.grid,xAxisDeclared:u[e.id],yAxisDeclared:c[e.id]})})))},geo:function(e,t){s(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:y.geo})}))}},v=[function(e,t){var n=e.xAxisModel,i=e.yAxisModel,o=e.gridModel;return!o&&n&&(o=n.axis.grid.model),!o&&i&&(o=i.axis.grid.model),o&&o===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],y={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(o.getTransform(e)),t}},x={lineX:u(_,0),lineY:u(_,1),rect:function(e,t,n){var i=t[c[e]]([n[0][0],n[1][0]]),o=t[c[e]]([n[0][1],n[1][1]]),a=[g([i[0],o[0]]),g([i[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n){var o=[[1/0,-1/0],[1/0,-1/0]];return{values:i.map(n,(function(n){var i=t[c[e]](n);return o[0][0]=Math.min(o[0][0],i[0]),o[1][0]=Math.min(o[1][0],i[1]),o[0][1]=Math.max(o[0][1],i[0]),o[1][1]=Math.max(o[1][1],i[1]),i})),xyMinMax:o}}};function _(e,t,n,o){var a=n.getAxis(["x","y"][e]),r=g(i.map([0,1],(function(e){return t?a.coordToData(a.toLocalCoord(o[e])):a.toGlobalCoord(a.dataToCoord(o[e]))}))),s=[];return s[e]=r,s[1-e]=[NaN,NaN],{values:r,xyMinMax:s}}var b={lineX:u(S,0),lineY:u(S,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return i.map(e,(function(e,i){return[e[0]-n[0]*t[i][0],e[1]-n[1]*t[i][1]]}))}};function S(e,t,n,i){return[t[0]-i[e]*n[0],t[1]-i[e]*n[1]]}function w(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var M=h;e.exports=M},vZI5:function(e,t,n){var i=n("bYtY"),o=n("T4UG"),a=n("5GhG").seriesModelMixin,r=o.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(e,t,n){var i=t.getItemLayout(e);return i&&n.rect(i.brushRect)}});i.mixin(r,a,!0);var s=r;e.exports=s},vcCh:function(e,t,n){var i=n("ProS");n("0qV/"),i.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])}))}))},w2vr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("q1tI"),a=(i=o)&&i.__esModule?i:{default:i},r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("MT78"));t.default=function(e){var t=e.data;return(0,o.useEffect)((function(){var e,n,i,o;t&&(e=t,n=document.getElementById("Line"),i=r.init(n),o={color:["#f8e367","#58c0f0","#ff9e48"],title:{show:!1},tooltip:{trigger:"axis"},legend:{data:["提交数","易修数","合并请求数"],right:"center",bottom:"4%"},grid:{left:"4%",right:"5%",bottom:"16%",containLabel:!0},toolbox:{feature:{}},xAxis:{type:"category",boundaryGap:!1,data:e.dates,axisTick:{show:!1}},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},minInterval:1,splitNumber:5},series:[{name:"提交数",type:"line",data:e.commits_count},{name:"易修数",type:"line",data:e.issues_count},{name:"合并请求数",type:"line",data:e.pull_requests_count}]},i.setOption(o))}),[t]),a.default.createElement("div",{id:"Line",style:{height:"300px"}})}},wr5s:function(e,t,n){var i=(0,n("IwbS").extendShape)({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(e,t){var n=t.cx,i=t.cy,o=Math.max(t.r0||0,0),a=Math.max(t.r,0),r=.5*(a-o),s=o+r,l=t.startAngle,u=t.endAngle,c=t.clockwise,d=Math.cos(l),h=Math.sin(l),p=Math.cos(u),g=Math.sin(u);(c?u-l<2*Math.PI:l-u<2*Math.PI)&&(e.moveTo(d*o+n,h*o+i),e.arc(d*s+n,h*s+i,r,-Math.PI+l,l,!c)),e.arc(n,i,a,l,u,!c),e.moveTo(p*a+n,g*a+i),e.arc(p*s+n,g*s+i,r,u-2*Math.PI,u-Math.PI,!c),0!==o&&(e.arc(n,i,o,u,l,c),e.moveTo(d*o+n,g*o+i)),e.closePath()}});e.exports=i},wt3j:function(e,t,n){var i=n("ProS"),o=n("bYtY"),a=n("/IIm"),r=n("EMyp").layoutCovers,s=i.extendComponentView({type:"brush",init:function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new a(t.getZr())).on("brush",o.bind(this._onBrush,this)).mount()},render:function(e){return this.model=e,l.apply(this,arguments)},updateTransform:function(e,t){return r(t),l.apply(this,arguments)},updateView:l,dispose:function(){this._brushController.dispose()},_onBrush:function(e,t){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(e,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:o.clone(e),$from:n}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:o.clone(e),$from:n})}});function l(e,t,n,i){(!i||i.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())}e.exports=s},xRUu:function(e,t,n){n("hJvP"),n("hFmY"),n("sAZ8")},xSat:function(e,t){var n={axisPointer:1,tooltip:1,brush:1};t.onIrrelevantElement=function(e,t,i){var o=t.getComponentByElement(e.topTarget),a=o&&o.coordinateSystem;return o&&o!==i&&!n[o.mainType]&&a&&a.model!==i}},xiyX:function(e,t,n){var i=n("bYtY"),o=n("bLfw"),a=n("nkfE"),r=n("ICMv"),s=o.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}});i.merge(s.prototype,r),a("single",s,(function(e,t){return t.type||(t.data?"category":"value")}),{left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}});var l=s;e.exports=l},"y+lR":function(e,t,n){var i=n("bYtY"),o=n("mFDi"),a=n("z35g");function r(e){a.call(this,e)}r.prototype={constructor:r,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},containData:function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},dataToPoint:function(e,t,n){var i=this.getAxis("x"),o=this.getAxis("y");return(n=n||[])[0]=i.toGlobalCoord(i.dataToCoord(e[0])),n[1]=o.toGlobalCoord(o.dataToCoord(e[1])),n},clampData:function(e,t){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,o=n.getExtent(),a=i.getExtent(),r=n.parse(e[0]),s=i.parse(e[1]);return(t=t||[])[0]=Math.min(Math.max(Math.min(o[0],o[1]),r),Math.max(o[0],o[1])),t[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),t},pointToData:function(e,t){var n=this.getAxis("x"),i=this.getAxis("y");return(t=t||[])[0]=n.coordToData(n.toLocalCoord(e[0])),t[1]=i.coordToData(i.toLocalCoord(e[1])),t},getOtherAxis:function(e){return this.getAxis("x"===e.dim?"y":"x")},getArea:function(){var e=this.getAxis("x").getGlobalExtent(),t=this.getAxis("y").getGlobalExtent(),n=Math.min(e[0],e[1]),i=Math.min(t[0],t[1]),a=Math.max(e[0],e[1])-n,r=Math.max(t[0],t[1])-i;return new o(n,i,a,r)}},i.inherits(r,a);var s=r;e.exports=s},y2l5:function(e,t,n){var i=n("MwEJ"),o=n("T4UG").extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(e,t){return i(this.getSource(),this,{useEncodeDefaulter:!0})},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},clip:!0}});e.exports=o},y3NT:function(e,t,n){var i=n("OELB").parsePercent,o=n("bYtY"),a=Math.PI/180;function r(e,t){var n=e.children||[];e.children=function(e,t){if("function"==typeof t)return e.sort(t);var n="asc"===t;return e.sort((function(e,t){var i=(e.getValue()-t.getValue())*(n?1:-1);return 0===i?(e.dataIndex-t.dataIndex)*(n?-1:1):i}))}(n,t),n.length&&o.each(e.children,(function(e){r(e,t)}))}e.exports=function(e,t,n,s){t.eachSeriesByType(e,(function(e){var t=e.get("center"),s=e.get("radius");o.isArray(s)||(s=[0,s]),o.isArray(t)||(t=[t,t]);var l=n.getWidth(),u=n.getHeight(),c=Math.min(l,u),d=i(t[0],l),h=i(t[1],u),p=i(s[0],c/2),g=i(s[1],c/2),f=-e.get("startAngle")*a,m=e.get("minAngle")*a,v=e.getData().tree.root,y=e.getViewRoot(),x=y.depth,_=e.get("sort");null!=_&&r(y,_);var b=0;o.each(y.children,(function(e){!isNaN(e.getValue())&&b++}));var S=y.getValue(),w=Math.PI/(S||b)*2,M=y.depth>0,I=y.height-(M?-1:1),A=(g-p)/(I||1),T=e.get("clockwise"),D=e.get("stillShowZeroSum"),C=T?1:-1,L=function(e,t){if(e){var n=t;if(e!==v){var a=e.getValue(),r=0===S&&D?w:a*w;r<m&&(r=m),n=t+C*r;var s=e.depth-x-(M?-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:n,clockwise:T,cx:d,cy:h,r0:l,r:u})}if(e.children&&e.children.length){var f=0;o.each(e.children,(function(e){f+=L(e,t+f)}))}return n-t}};if(M){var P=p,k=p+A,N=2*Math.PI;v.setLayout({angle:N,startAngle:f,endAngle:f+N,clockwise:T,cx:d,cy:h,r0:P,r:k})}L(y,f)}))}},y7Aq:function(e,t,n){var i=n("bYtY"),o=n("+TT/").getLayoutRect;t.getItemAlign=function(e,t,n){var i=e.option,a=i.align;if(null!=a&&"auto"!==a)return a;for(var r={width:t.getWidth(),height:t.getHeight()},s="horizontal"===i.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],u=l[s],c=[0,null,10],d={},h=0;h<3;h++)d[l[1-s][h]]=c[h],d[u[h]]=2===h?n[0]:i[u[h]];var p=[["x","width",3],["y","height",0]][s],g=o(d,r,i.padding);return u[(g.margin[p[2]]||0)+g[p[0]]+.5*g[p[1]]<.5*r[p[1]]?0:1]},t.makeHighDownBatch=function(e,t){return i.each(e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}},yO87:function(e,t,n){var i=n("bYtY"),o=n("oVpE").createSymbol,a=n("IwbS").Group,r=n("OELB").parsePercent,s=n("FBjb");function l(e,t){var n=t.rippleEffectColor||t.color;e.eachChild((function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?n:null,fill:"fill"===t.brushType?n:null}})}))}function u(e,t){a.call(this);var n=new s(e,t),i=new a;this.add(n),this.add(i),i.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(e,t)}var c=u.prototype;c.stopEffectAnimation=function(){this.childAt(1).removeAll()},c.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,i=this.childAt(1),a=0;a<3;a++){var r=o(t,-1,-1,2,2,n);r.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var s=-a/3*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(),i.add(r)}l(i,e)},c.updateEffectAnimation=function(e){for(var t=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale"],o=0;o<i.length;o++){var a=i[o];if(t[a]!==e[a])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}l(n,e)},c.highlight=function(){this.trigger("emphasis")},c.downplay=function(){this.trigger("normal")},c.updateData=function(e,t){var n=e.hostModel;this.childAt(0).updateData(e,t);var o=this.childAt(1),a=e.getItemModel(t),s=e.getItemVisual(t,"symbol"),l=function(e){return i.isArray(e)||(e=[+e,+e]),e}(e.getItemVisual(t,"symbolSize")),u=e.getItemVisual(t,"color");o.attr("scale",l),o.traverse((function(e){e.attr({fill:u})}));var c=a.getShallow("symbolOffset");if(c){var d=o.position;d[0]=r(c[0],l[0]),d[1]=r(c[1],l[1])}var h=e.getItemVisual(t,"symbolRotate");o.rotation=(h||0)*Math.PI/180||0;var p={};if(p.showEffectOn=n.get("showEffectOn"),p.rippleScale=a.get("rippleEffect.scale"),p.brushType=a.get("rippleEffect.brushType"),p.period=1e3*a.get("rippleEffect.period"),p.effectOffset=t/e.count(),p.z=a.getShallow("z")||0,p.zlevel=a.getShallow("zlevel")||0,p.symbolType=s,p.color=u,p.rippleEffectColor=a.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===p.showEffectOn)this._effectCfg?this.updateEffectAnimation(p):this.startEffectAnimation(p),this._effectCfg=p;else{this._effectCfg=null,this.stopEffectAnimation();var g=this.childAt(0),f=function(){g.highlight(),"render"!==p.showEffectOn&&this.startEffectAnimation(p)},m=function(){g.downplay(),"render"!==p.showEffectOn&&this.stopEffectAnimation()};this.on("mouseover",f,this).on("mouseout",m,this).on("emphasis",f,this).on("normal",m,this)}this._effectCfg=p},c.fadeOut=function(e){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),e&&e()},i.inherits(u,a);var d=u;e.exports=d},yS9w:function(e,t,n){var i=n("MEGo"),o=i.parseSVG,a=i.makeViewBoxTransform,r=n("4fz+"),s=n("x6Kt"),l=n("bYtY"),u=l.assert,c=l.createHashMap,d=n("mFDi"),h=(0,n("4NO4").makeInner)(),p={load:function(e,t){var n=h(t).originRoot;if(n)return{root:n,boundingRect:h(t).boundingRect};var i=g(t);return h(t).originRoot=i.root,h(t).boundingRect=i.boundingRect,i},makeGraphic:function(e,t,n){var i=h(t),o=i.rootMap||(i.rootMap=c()),a=o.get(n);if(a)return a;var r=i.originRoot,s=i.boundingRect;return i.originRootHostKey?a=g(t,s).root:(i.originRootHostKey=n,a=r),o.set(n,a)},removeGraphic:function(e,t,n){var i=h(t),o=i.rootMap;o&&o.removeKey(n),n===i.originRootHostKey&&(i.originRootHostKey=null)}};function g(e,t){var n,i,l=e.svgXML;try{i=(n=l&&o(l,{ignoreViewBox:!0,ignoreRootClip:!0})||{}).root,u(null!=i)}catch(e){throw new Error("Invalid svg format\n"+e.message)}var c=n.width,h=n.height,p=n.viewBoxRect;if(t||(t=null==c||null==h?i.getBoundingRect():new d(0,0,0,0),null!=c&&(t.width=c),null!=h&&(t.height=h)),p){var g=a(p,t.width,t.height),f=i;(i=new r).add(f),f.scale=g.scale,f.position=g.position}return i.setClipPath(new s({shape:t.plain()})),{root:i,boundingRect:t}}e.exports=p},yWXo:function(e,t,n){var i=n("IwbS"),o=n("oVpE").createSymbol,a=n("OS9S"),r=i.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(e,t){var n=t.points,i=t.size,o=this.symbolProxy,a=o.shape;if(!((e.getContext?e.getContext():e)&&i[0]<4))for(var r=0;r<n.length;){var s=n[r++],l=n[r++];isNaN(s)||isNaN(l)||(this.softClipShape&&!this.softClipShape.contain(s,l)||(a.x=s-i[0]/2,a.y=l-i[1]/2,a.width=i[0],a.height=i[1],o.buildPath(e,a,!0)))}},afterBrush:function(e){var t=this.shape,n=t.points,i=t.size;if(i[0]<4){this.setTransform(e);for(var o=0;o<n.length;){var a=n[o++],r=n[o++];isNaN(a)||isNaN(r)||(this.softClipShape&&!this.softClipShape.contain(a,r)||e.fillRect(a-i[0]/2,r-i[1]/2,i[0],i[1]))}this.restoreTransform(e)}},findDataIndex:function(e,t){for(var n=this.shape,i=n.points,o=n.size,a=Math.max(o[0],4),r=Math.max(o[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-a/2,c=i[l+1]-r/2;if(e>=u&&t>=c&&e<=u+a&&t<=c+r)return s}return-1}});function s(){this.group=new i.Group}var l=s.prototype;l.isPersistent=function(){return!this._incremental},l.updateData=function(e,t){this.group.removeAll();var n=new r({rectHover:!0,cursor:"default"});n.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(n,e,!1,t),this.group.add(n),this._incremental=null},l.updateLayout=function(e){if(!this._incremental){var t=e.getLayout("symbolPoints");this.group.eachChild((function(e){if(null!=e.startIndex){var n=2*(e.endIndex-e.startIndex),i=4*e.startIndex*2;t=new Float32Array(t.buffer,i,n)}e.setShape("points",t)}))}},l.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>2e6?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},l.incrementalUpdate=function(e,t,n){var i;this._incremental?(i=new r,this._incremental.addDisplayable(i,!0)):((i=new r({rectHover:!0,cursor:"default",startIndex:e.start,endIndex:e.end})).incremental=!0,this.group.add(i)),i.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(i,t,!!this._incremental,n)},l._setCommon=function(e,t,n,i){var a=t.hostModel;i=i||{};var r=t.getVisual("symbolSize");e.setShape("size",r instanceof Array?r:[r,r]),e.softClipShape=i.clipShape||null,e.symbolProxy=o(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var s=e.shape.size[0]<4;e.useStyle(a.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var l=t.getVisual("color");l&&e.setColor(l),n||(e.seriesIndex=a.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>=0&&(e.dataIndex=n+(e.startIndex||0))})))},l.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},l._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var u=s;e.exports=u},yik8:function(e,t,n){var i=n("bZqE"),o=i.eachAfter,a=i.eachBefore,r=n("Itpr"),s=r.init,l=r.firstWalk,u=r.secondWalk,c=r.separation,d=r.radialCoordinate,h=r.getViewRect;e.exports=function(e,t){e.eachSeriesByType("tree",(function(e){!function(e,t){var n=h(e,t);e.layoutInfo=n;var i=e.get("layout"),r=0,p=0,g=null;"radial"===i?(r=2*Math.PI,p=Math.min(n.height,n.width)/2,g=c((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(r=n.width,p=n.height,g=c());var f=e.getData().tree.root,m=f.children[0];if(m){s(f),o(m,l,g),f.hierNode.modifier=-m.hierNode.prelim,a(m,u);var v=m,y=m,x=m;a(m,(function(e){var t=e.getLayout().x;t<v.getLayout().x&&(v=e),t>y.getLayout().x&&(y=e),e.depth>x.depth&&(x=e)}));var _=v===y?1:g(v,y)/2,b=_-v.getLayout().x,S=0,w=0,M=0,I=0;if("radial"===i)S=r/(y.getLayout().x+_+b),w=p/(x.depth-1||1),a(m,(function(e){M=(e.getLayout().x+b)*S,I=(e.depth-1)*w;var t=d(M,I);e.setLayout({x:t.x,y:t.y,rawX:M,rawY:I},!0)}));else{var A=e.getOrient();"RL"===A||"LR"===A?(w=p/(y.getLayout().x+_+b),S=r/(x.depth-1||1),a(m,(function(e){I=(e.getLayout().x+b)*w,M="LR"===A?(e.depth-1)*S:r-(e.depth-1)*S,e.setLayout({x:M,y:I},!0)}))):"TB"!==A&&"BT"!==A||(S=r/(y.getLayout().x+_+b),w=p/(x.depth-1||1),a(m,(function(e){M=(e.getLayout().x+b)*S,I="TB"===A?(e.depth-1)*w:p-(e.depth-1)*w,e.setLayout({x:M,y:I},!0)})))}}}(e,t)}))}},z35g:function(e,t,n){var i=n("bYtY");function o(e){return this._axes[e]}var a=function(e){this._axes={},this._dimList=[],this.name=e||""};a.prototype={constructor:a,type:"cartesian",getAxis:function(e){return this._axes[e]},getAxes:function(){return i.map(this._dimList,o,this)},getAxesByScale:function(e){return e=e.toLowerCase(),i.filter(this.getAxes(),(function(t){return t.scale.type===e}))},addAxis:function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},dataToCoord:function(e){return this._dataCoordConvert(e,"dataToCoord")},coordToData:function(e){return this._dataCoordConvert(e,"coordToData")},_dataCoordConvert:function(e,t){for(var n=this._dimList,i=e instanceof Array?[]:{},o=0;o<n.length;o++){var a=n[o],r=this._axes[a];i[a]=r[t](e[a])}return i}};var r=a;e.exports=r},zDms:function(e,t,n){var i=n("bYtY"),o=n("OELB"),a=n("UOVi"),r=n("72pK"),s=i.each,l=o.asc,u=function(e,t,n,i){this._dimName=e,this._axisIndex=t,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=i,this._dataZoomModel=n};function c(e,t){var n=e.getAxisModel(),i=e._percentWindow,a=e._valueWindow;if(i){var r=o.getPixelPrecision(a,[0,500]);r=Math.min(r,20);var s=t||0===i[0]&&100===i[1];n.setRange(s?null:+a[0].toFixed(r),s?null:+a[1].toFixed(r))}}u.prototype={constructor:u,hostedBy:function(e){return this._dataZoomModel===e},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var e=[],t=this.ecModel;return t.eachSeries((function(n){if(a.isCoordSupported(n.get("coordinateSystem"))){var i=this._dimName,o=t.queryComponents({mainType:i+"Axis",index:n.get(i+"AxisIndex"),id:n.get(i+"AxisId")})[0];this._axisIndex===(o&&o.componentIndex)&&e.push(n)}}),this),e},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e,t,n,i=this._dimName,o=this.ecModel,a=this.getAxisModel();return"x"===i||"y"===i?(t="gridIndex",e="x"===i?"y":"x"):(t="polarIndex",e="angle"===i?"radius":"angle"),o.eachComponent(e+"Axis",(function(e){(e.get(t)||0)===(a.get(t)||0)&&(n=e)})),n},getMinMaxSpan:function(){return i.clone(this._minMaxSpan)},calculateDataWindow:function(e){var t,n=this._dataExtent,i=this.getAxisModel().axis.scale,a=this._dataZoomModel.getRangePropMode(),u=[0,100],c=[],d=[];s(["start","end"],(function(r,s){var l=e[r],h=e[r+"Value"];"percent"===a[s]?(null==l&&(l=u[s]),h=i.parse(o.linearMap(l,u,n))):(t=!0,h=null==h?n[s]:i.parse(h),l=o.linearMap(h,n,u)),d[s]=h,c[s]=l})),l(d),l(c);var h=this._minMaxSpan;function p(e,t,n,a,s){var l=s?"Span":"ValueSpan";r(0,e,n,"all",h["min"+l],h["max"+l]);for(var u=0;u<2;u++)t[u]=o.linearMap(e[u],n,a,!0),s&&(t[u]=i.parse(t[u]))}return t?p(d,c,n,u,!1):p(c,d,u,n,!0),{valueWindow:d,percentWindow:c}},reset:function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=function(e,t,n){var i=[1/0,-1/0];s(n,(function(e){var n=e.getData();n&&s(n.mapDimension(t,!0),(function(e){var t=n.getApproximateExtent(e);t[0]<i[0]&&(i[0]=t[0]),t[1]>i[1]&&(i[1]=t[1])}))})),i[1]<i[0]&&(i=[NaN,NaN]);return function(e,t){var n=e.getAxisModel(),i=n.getMin(!0),o="category"===n.get("type"),a=o&&n.getCategories().length;null!=i&&"dataMin"!==i&&"function"!=typeof i?t[0]=i:o&&(t[0]=a>0?0:NaN);var r=n.getMax(!0);null!=r&&"dataMax"!==r&&"function"!=typeof r?t[1]=r:o&&(t[1]=a>0?a-1:NaN);n.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0))}(e,i),i}(this,this._dimName,t),function(e){var t=e._minMaxSpan={},n=e._dataZoomModel,i=e._dataExtent;s(["min","max"],(function(a){var r=n.get(a+"Span"),s=n.get(a+"ValueSpan");null!=s&&(s=e.getAxisModel().axis.scale.parse(s)),null!=s?r=o.linearMap(i[0]+s,i,[0,100],!0):null!=r&&(s=o.linearMap(r,[0,100],i,!0)-i[0]),t[a+"Span"]=r,t[a+"ValueSpan"]=s}))}(this);var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,c(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,c(this,!0))},filterData:function(e,t){if(e===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),o=e.get("filterMode"),a=this._valueWindow;"none"!==o&&s(i,(function(e){var t=e.getData(),i=t.mapDimension(n,!0);i.length&&("weakFilter"===o?t.filterSelf((function(e){for(var n,o,r,s=0;s<i.length;s++){var l=t.get(i[s],e),u=!isNaN(l),c=l<a[0],d=l>a[1];if(u&&!c&&!d)return!0;u&&(r=!0),c&&(n=!0),d&&(o=!0)}return r&&n&&o})):s(i,(function(n){if("empty"===o)e.setData(t=t.map(n,(function(e){return function(e){return e>=a[0]&&e<=a[1]}(e)?e:NaN})));else{var i={};i[n]=a,t.selectRange(i)}})),s(i,(function(e){t.setApproximateExtent(a,e)})))}))}}};var d=u;e.exports=d},zRKj:function(e,t,n){n("Ae16"),n("Sp2Z"),n("y4/Y")},zYTA:function(e,t,n){var i=n("bYtY");function o(){var e=i.createCanvas();this.canvas=e,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}o.prototype={update:function(e,t,n,i,o,a){var r=this._getBrush(),s=this._getGradient(e,o,"inRange"),l=this._getGradient(e,o,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,d=c.getContext("2d"),h=e.length;c.width=t,c.height=n;for(var p=0;p<h;++p){var g=e[p],f=g[0],m=g[1],v=i(g[2]);d.globalAlpha=v,d.drawImage(r,f-u,m-u)}if(!c.width||!c.height)return c;for(var y=d.getImageData(0,0,c.width,c.height),x=y.data,_=0,b=x.length,S=this.minOpacity,w=this.maxOpacity-S;_<b;){v=x[_+3]/256;var M=4*Math.floor(255*v);if(v>0){var I=a(v)?s:l;v>0&&(v=v*w+S),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return d.putImageData(y,0,0),c},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=i.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var o=e.getContext("2d");return o.clearRect(0,0,n,n),o.shadowOffsetX=n,o.shadowBlur=this.blurSize,o.shadowColor="#000",o.beginPath(),o.arc(-t,t,this.pointSize,0,2*Math.PI,!0),o.closePath(),o.fill(),e},_getGradient:function(e,t,n){for(var i=this._gradientPixels,o=i[n]||(i[n]=new Uint8ClampedArray(1024)),a=[0,0,0,0],r=0,s=0;s<256;s++)t[n](s/255,!0,a),o[r++]=a[0],o[r++]=a[1],o[r++]=a[2],o[r++]=a[3];return o}};var a=o;e.exports=a},zuHt:function(e,t,n){var i=n("bYtY");e.exports=function(e){var t={};e.eachSeriesByType("map",(function(n){var o=n.getMapType();if(!n.getHostGeoModel()&&!t[o]){var a={};i.each(n.seriesGroup,(function(t){var n=t.coordinateSystem,i=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&i.each(i.mapDimension("value"),(function(e,t){var o=i.getName(t),r=n.getRegion(o);if(r&&!isNaN(e)){var s=a[o]||0,l=n.dataToPoint(r.center);a[o]=s+1,i.setItemLayout(t,{point:l,offset:s})}}))}));var r=n.getData();r.each((function(e){var t=r.getName(e),n=r.getItemLayout(e)||{};n.showLabel=!a[t],r.setItemLayout(e,n)})),t[o]=!0}}))}}}]);