webpackJsonp([0],{"++5L":function(t,e,i){var n=i("M6HP").extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.cx,n=e.cy,a=Math.max(e.r,0),o=e.startAngle,r=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*a+i,u*a+n),t.arc(i,n,a,o,r,!s)}});t.exports=n},"+Fou":function(t,e,i){var n=i("1w28"),a=i("vncH").applyTransform,o=n.CMD,r=[[],[],[]],s=Math.sqrt,l=Math.atan2;t.exports=function(t,e){var i,n,u,h,c,d=t.data,p=o.M,f=o.C,g=o.L,m=o.R,v=o.A,y=o.Q;for(u=0,h=0;ue&&(e=t[i]);return e},min:function(t){for(var e=1/0,i=0;i1&&("string"==typeof a?r=i[a]:"function"==typeof a&&(r=a),r&&(e=e.downSample(l.dim,1/c,r,n),t.setData(e)))}},this)}},"+UCP":function(t,e,i){var n=i("ugOh"),a=i("8Grs").updateCenterAndZoom;n.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},function(t,e){e.eachComponent({mainType:"series",query:t},function(e){var i=e.coordinateSystem,n=a(i,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)})}),n.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series.graph:focusNodeAdjacency"},function(){}),n.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series.graph:unfocusNodeAdjacency"},function(){})},"+i1Z":function(t,e,i){var n=i("pq8T");function a(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}e.retrieveTargetInfo=function(t,e){if(t&&("treemapZoomToNode"===t.type||"treemapRootToNode"===t.type)){var i=e.getData().tree.root,n=t.targetNode;if(n&&i.contains(n))return{node:n};var a=t.targetNodeId;if(null!=a&&(n=i.getNodeById(a)))return{node:n}}},e.getPathToRoot=a,e.aboveViewRoot=function(t,e){var i=a(t);return n.indexOf(i,e)>=0},e.wrapTreePathInfo=function(t,e){for(var i=[];t;){var n=t.dataIndex;i.push({name:t.name,dataIndex:n,value:e.getRawValue(n)}),t=t.parentNode}return i.reverse(),i}},"+l57":function(t,e){function i(){}function n(t,e,i,n){for(var a=0,o=e.length,r=0,s=0;a=o&&h+1>=r){for(var c=[],d=0;d=o&&d+1>=r)return n(a,l.components,e,t);u[i]=l}else u[i]=void 0}var g;s++}for(;s<=l;){var f=p();if(f)return f}},pushComponent:function(t,e,i){var n=t[t.length-1];n&&n.added===e&&n.removed===i?t[t.length-1]={count:n.count+1,added:e,removed:i}:t.push({count:1,added:e,removed:i})},extractCommon:function(t,e,i,n){for(var a=e.length,o=i.length,r=t.newPos,s=r-n,l=0;r+1s)return!0;if(o){var l=r.getAxisInfo(t).seriesDataCount,u=n.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===i},makeElOption:function(t,e,i,n,a){},createPointerEl:function(t,e,i,n){var a=e.pointer;if(a){var r=u(t).pointerEl=new o[a.type](h(e.pointer));t.add(r)}},createLabelEl:function(t,e,i,n){if(e.label){var a=u(t).labelEl=new o.Rect(h(e.label));t.add(a),f(a,n)}},updatePointerEl:function(t,e,i){var n=u(t).pointerEl;n&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,i,n){var a=u(t).labelEl;a&&(a.setStyle(e.label.style),i(a,{shape:e.label.shape,position:e.label.position}),f(a,n))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,a=this._api.getZr(),r=this._handle,u=i.getModel("handle"),h=i.get("status");if(!u.get("show")||!h||"hide"===h)return r&&a.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=o.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:c(this._onHandleDragMove,this,0,0),drift:c(this._onHandleDragMove,this),ondragend:c(this._onHandleDragEnd,this)}),a.add(r)),m(r,i,!1);r.setStyle(u.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=u.get("size");n.isArray(d)||(d=[d,d]),r.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){p(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(g(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(g(n)),u(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},_onHandleDragEnd:function(t){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),i=this._group,n=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,i){return{x:t[i=i||0],y:t[1-i],width:e[i],height:e[1-i]}}},d.prototype.constructor=d,a.enableClassExtend(d);var v=d;t.exports=v},"+yvV":function(t,e,i){i("j+uF"),i("XtoZ")},"/5hF":function(t,e,i){i("CVlv").__DEV__;var n=i("ugOh"),a=i("pq8T"),o=i("g5FJ"),r=i("plmo").findLabelValueDim,s=i("5WPh"),l=i("Q0fk"),u=i("/SD+"),h=["itemStyle","normal"],c=["itemStyle","emphasis"],d=["label","normal"],p=["label","emphasis"],f="e\0\0",g={cartesian2d:i("Es8A"),geo:i("4yLA"),singleAxis:i("2psn"),polar:i("iOwt"),calendar:i("oq7c")};function m(t,e,i,n,a){null==i[t]||a||(e[t]=i[t],i[t]=n[t])}function v(t,e,i,n,a,o){(t=y(t,e,i,n,a,o))&&o.setItemGraphicEl(e,t)}function y(t,e,i,n,r,s){var l=i.type;if(!t||l===t.__customGraphicType||"path"===l&&i.pathData===t.__customPathData||"image"===l&&i.style.image===t.__customImagePath||"text"===l&&i.style.text===t.__customText||(r.remove(t),t=null),null!=l){var h,c=!t;if(!t&&(t=function(t){var e,i=t.type;if("path"===i){var n=t.shape;(e=o.makePath(n.pathData,null,{x:n.x||0,y:n.y||0,width:n.width||0,height:n.height||0},"center")).__customPathData=t.pathData}else"image"===i?(e=new o.Image({})).__customImagePath=t.style.image:"text"===i?(e=new o.Text({})).__customText=t.style.text:e=new(0,o[i.charAt(0).toUpperCase()+i.slice(1)]);return e.__customGraphicType=i,e.name=t.name,e}(i)),function(t,e,i,n,r,s){var l={},u=i.style||{};if(i.shape&&(l.shape=a.clone(i.shape)),i.position&&(l.position=i.position.slice()),i.scale&&(l.scale=i.scale.slice()),i.origin&&(l.origin=i.origin.slice()),i.rotation&&(l.rotation=i.rotation),"image"===t.type&&i.style){var h=l.style={};a.each(["x","y","width","height"],function(e){m(e,h,u,t.style,s)})}"text"===t.type&&i.style&&(h=l.style={},a.each(["x","y"],function(e){m(e,h,u,t.style,s)}),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke));if("group"!==t.type&&(t.useStyle(u),s)){t.style.opacity=0;var c=u.opacity;null==c&&(c=1),o.initProps(t,{style:{opacity:c}},n,e)}s?t.attr(l):o.updateProps(t,l,n,e),t.attr({z2:i.z2||0,silent:i.silent}),!1!==i.styleEmphasis&&o.setHoverStyle(t,i.styleEmphasis)}(t,e,i,n,0,c),"group"===l){var d=t.children()||[],p=i.children||[];if(i.diffChildrenByName)new u((h={oldChildren:d,newChildren:p,dataIndex:e,animatableModel:n,group:t,data:s}).oldChildren,h.newChildren,x,x,h).add(_).update(_).remove(b).execute();else{for(var f=0;f"],a.isArray(t)&&(t=t.slice(),n=!0),o=e?t:n?[h(t[0]),h(t[1])]:h(t),a.isString(u)?u.replace("{value}",n?o[0]:o).replace("{value2}",n?o[1]:o):a.isFunction(u)?n?u(t[0],t[1]):u(t):n?t[0]===l[0]?i[0]+" "+o[1]:t[1]===l[1]?i[1]+" "+o[0]:o[0]+" - "+o[1]:o;function h(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension;return null!=e?e:t.dimensions.length-1},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.option,e={inRange:t.inRange,outOfRange:t.outOfRange},i=t.target||(t.target={}),n=t.controller||(t.controller={});a.merge(i,e),a.merge(n,e);var o=this.isCategory();function l(e){p(t.color)&&!e.inRange&&(e.inRange={color:t.color.slice().reverse()}),e.inRange=e.inRange||{color:y},f(this.stateList,function(t){var i=e[t];if(a.isString(i)){var n=r.get(i,"active",o);n?(e[t]={},e[t][i]=n):delete e[t]}},this)}l.call(this,i),l.call(this,n),function(t,e,i){var n=t[e],a=t[i];n&&!a&&(a=t[i]={},f(n,function(t,e){if(s.isValidType(e)){var i=r.get(e,"inactive",o);null!=i&&(a[e]=i,"color"!==e||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}}))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,i=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,n=this.get("inactiveColor");f(this.stateList,function(r){var s=this.itemSize,l=t[r];l||(l=t[r]={color:o?n:[n]}),null==l.symbol&&(l.symbol=e&&a.clone(e)||(o?"roundRect":["roundRect"])),null==l.symbolSize&&(l.symbolSize=i&&a.clone(i)||(o?s[0]:[s[0],s[0]])),l.symbol=c(l.symbol,function(t){return"none"===t||"square"===t?"roundRect":t});var u=l.symbolSize;if(null!=u){var h=-1/0;d(u,function(t){t>h&&(h=t)}),l.symbolSize=c(u,function(t){return m(t,[0,h],[0,s[0]],!0)})}},this)}.call(this,n)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});t.exports=x},"/SD+":function(t,e){function i(t){return t}function n(t,e,n,a,o){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=a||i,this.context=o}function a(t,e,i,n,a){for(var o=0;o=0;s--)null==i[s]&&(delete a[e[s]],e.pop())}(a):c(a,!0):(n.assert("linear"!==e||a.dataExtent),c(a))};u.prototype={constructor:u,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return n.bind(this._normalizeData,this)}};var h=u.visualHandlers={color:{applyVisual:f("color"),getColorMapper:function(){var t=this.option;return n.bind("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),g.call(this,t)}:function(e,i,n){var o=!!n;return!i&&(e=this._normalizeData(e)),n=a.fastLerp(e,t.parsedVisual,n),o?n:a.stringify(n,"rgba")},this)},_doMap:{linear:function(t){return a.stringify(a.fastLerp(t,this.option.parsedVisual),"rgba")},category:g,piecewise:function(t,e){var i=y.call(this,e);return null==i&&(i=a.stringify(a.fastLerp(t,this.option.parsedVisual),"rgba")),i},fixed:m}},colorHue:d(function(t,e){return a.modifyHSL(t,e)}),colorSaturation:d(function(t,e){return a.modifyHSL(t,null,e)}),colorLightness:d(function(t,e){return a.modifyHSL(t,null,null,e)}),colorAlpha:d(function(t,e){return a.modifyAlpha(t,e)}),opacity:{applyVisual:f("opacity"),_doMap:v([0,1])},symbol:{applyVisual:function(t,e,i){var a=this.mapValueToVisual(t);if(n.isString(a))i("symbol",a);else if(s(a))for(var o in a)a.hasOwnProperty(o)&&i(o,a[o])},_doMap:{linear:p,category:g,piecewise:function(t,e){var i=y.call(this,e);return null==i&&(i=p.call(this,t)),i},fixed:m}},symbolSize:{applyVisual:f("symbolSize"),_doMap:v([0,1])}};function c(t,e){var i=t.visual,a=[];n.isObject(i)?r(i,function(t){a.push(t)}):null!=i&&a.push(i);e||1!==a.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(a[1]=a[0]),x(t,a)}function d(t){return{applyVisual:function(e,i,n){e=this.mapValueToVisual(e),n("color",t(i("color"),e))},_doMap:v([0,1])}}function p(t){var e=this.option.visual;return e[Math.round(o(t,[0,1],[0,e.length-1],!0))]||{}}function f(t){return function(e,i,n){n(t,this.mapValueToVisual(e))}}function g(t){var e=this.option.visual;return e[this.option.loop&&t!==l?t%e.length:t]}function m(){return this.option.visual[0]}function v(t){return{linear:function(e){return o(e,t,this.option.visual,!0)},category:g,piecewise:function(e,i){var n=y.call(this,i);return null==n&&(n=o(e,t,this.option.visual,!0)),n},fixed:m}}function y(t){var e=this.option,i=e.pieceList;if(e.hasSpecialVisual){var n=i[u.findPieceIndex(t,i)];if(n&&n.visual)return n.visual[this.type]}}function x(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=n.map(e,function(t){return a.parse(t)})),e}var _={linear:function(t){return o(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,i=u.findPieceIndex(t,e,!0);if(null!=i)return o(i,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?l:e},fixed:n.noop};function b(t,e,i){return t?e<=i:e0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/a*o+i[0]},e.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?(i=t,i.replace(/^\s+/,"").replace(/\s+$/,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var i},e.round=function(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t},e.asc=function(t){return t.sort(function(t,e){return t-e}),t},e.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i},e.getPrecisionSafe=function(t){var e=t.toString(),i=e.indexOf("e");if(i>0){var n=+e.slice(i+1);return n<0?-n:0}var a=e.indexOf(".");return a<0?0:e.length-1-a},e.getPixelPrecision=function(t,e){var i=Math.log,n=Math.LN10,a=Math.floor(i(t[1]-t[0])/n),o=Math.round(i(Math.abs(e[1]-e[0]))/n),r=Math.min(Math.max(-a+o,0),20);return isFinite(r)?r:20},e.getPercentWithPrecision=function(t,e,i){if(!t[e])return 0;var a=n.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===a)return 0;for(var o=Math.pow(10,i),r=n.map(t,function(t){return(isNaN(t)?0:t)/a*o*100}),s=100*o,l=n.map(r,function(t){return Math.floor(t)}),u=n.reduce(l,function(t,e){return t+e},0),h=n.map(r,function(t,e){return t-l[e]});uc&&(c=h[p],d=p);++l[d],h[d]=0,++u}return l[e]/o},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return t>-a&&t=-20?+t.toFixed(i<0?-i:0):t},e.reformIntervals=function(t){t.sort(function(t,e){return function t(e,i,n){return e.interval[n]=0}},"0Lg4":function(t,e){function i(t){return t>=0?1:-1}function n(t,e,n){for(var a,o=t.getBaseAxis(),r=t.getOtherAxis(o),s=o.onZero?0:r.scale.getExtent()[0],l=r.dim,u="x"===l||"radius"===l?1:0,h=e.stackedOn,c=e.get(l,n);h&&i(h.get(l,n))===i(c);){a=h;break}var d=[];return d[u]=e.get(o.dim,n),d[1-u]=a?a.get(l,n,!0):s,t.dataToPoint(d)}t.exports=function(t,e,i,a,o,r){for(var s=function(t,e){var i=[];return e.diff(t).add(function(t){i.push({cmd:"+",idx:t})}).update(function(t,e){i.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){i.push({cmd:"-",idx:t})}).execute(),i}(t,e),l=[],u=[],h=[],c=[],d=[],p=[],f=[],g=r.dimensions,m=0;m":"")+u.join(o?"
":", ")}(o):s(l(o)),c=a.getName(t),f=a.getItemVisual(t,"color");n.isObject(f)&&f.colorStops&&(f=(f.colorStops[0]||{}).color);var g=u(f=f||"transparent"),m=this.name;return"\0-"===m&&(m=""),m=m?s(m)+(e?": ":"
"):"",e?g+m+h:m+g+(c?s(c)+": "+h:h)},isAnimationEnabled:function(){if(a.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){c(this,"data",d(this,"dataBeforeProcessed").cloneShallow())},getColorFromPalette:function(t,e){var i=this.ecModel,n=g.getColorFromPalette.call(this,t,e);return n||(n=i.getColorFromPalette(t,e)),n},getAxisTooltipData:null,getTooltipPosition:null});n.mixin(x,p.dataFormatMixin),n.mixin(x,g);var _=x;t.exports=_},"0QpP":function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",function(t){var i=t.getCategoriesData(),n=t.getGraph().data,a=i.mapArray(i.getName);n.filterSelf(function(t){var i=n.getItemModel(t).getShallow("category");if(null!=i){"number"==typeof i&&(i=a[i]);for(var o=0;o0&&this.animate(t,!1).when(null==n?500:n,o).delay(a||0),this}};var d=c;t.exports=d},"0gUT":function(t,e,i){var n=i("ugOh"),a=i("pq8T");i("hwn+"),i("wmIi");var o=i("skFg"),r=i("ZZjo"),s=i("+HWc");i("qeV9"),n.registerVisual(a.curry(o,"line","circle","line")),n.registerLayout(a.curry(r,"line")),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,a.curry(s,"line"))},"0kFM":function(t,e,i){var n=i("pq8T");t.exports=function(t){var e={};t.eachSeriesByType("map",function(i){var a=i.getMapType();if(!i.getHostGeoModel()&&!e[a]){var o={};n.each(i.seriesGroup,function(e){var i=e.coordinateSystem,n=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&n.each("value",function(t,e){var a=n.getName(e),r=i.getRegion(a);if(r&&!isNaN(t)){var s=o[a]||0,l=i.dataToPoint(r.center);o[a]=s+1,n.setItemLayout(e,{point:l,offset:s})}})});var r=i.getData();r.each(function(t){var e=r.getName(t),i=r.getItemLayout(t)||{};i.showLabel=!o[e],r.setItemLayout(t,i)}),e[a]=!0}})}},"0wv/":function(t,e,i){var n=i("ugOh"),a=i("pq8T");i("wGXg"),i("XOOw"),i("+UCP");var o=i("0QpP"),r=i("skFg"),s=i("k7wb"),l=i("i3eL"),u=i("4cT9"),h=i("IfTX"),c=i("pHrF"),d=i("Q9JU");n.registerProcessor(o),n.registerVisual(a.curry(r,"graph","circle",null)),n.registerVisual(s),n.registerVisual(l),n.registerLayout(u),n.registerLayout(h),n.registerLayout(c),n.registerCoordinateSystem("graphView",{create:d})},"19Mq":function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("xzo8"),r=i("x0Cw"),s=i("g5FJ"),l=i("CSiU"),u=i("/SD+"),h=i("H12k"),c=n.extendComponentView({type:"toolbox",render:function(t,e,i,n){var c=this.group;if(c.removeAll(),t.get("show")){var d=+t.get("itemSize"),p=t.get("feature")||{},f=this._features||(this._features={}),g=[];a.each(p,function(t,e){g.push(e)}),new u(this._featureNames||[],g).add(m).update(m).remove(a.curry(m,null)).execute(),this._featureNames=g,h.layout(c,t,i),c.add(h.makeBackground(c.getBoundingRect(),t)),c.eachChild(function(t){var e=t.__title,n=t.hoverStyle;if(n&&e){var a=o.getBoundingRect(e,o.makeFont(n)),r=t.position[0]+c.position[0],s=!1;t.position[1]+c.position[1]+d+a.height>i.getHeight()&&(n.textPosition="top",s=!0);var l=s?-5-a.height:d+8;r+a.width/2>i.getWidth()?(n.textPosition=["100%",l],n.textAlign="right"):r-a.width/2<0&&(n.textPosition=[0,l],n.textAlign="left")}})}function m(o,u){var h,m=g[o],v=g[u],y=p[m],x=new l(y,t,t.ecModel);if(m&&!v){if(function(t){return 0===t.indexOf("my")}(m))h={model:x,onclick:x.option.onclick,featureName:m};else{var _=r.get(m);if(!_)return;h=new _(x,e,i)}f[m]=h}else{if(!(h=f[v]))return;h.model=x,h.ecModel=e,h.api=i}m||!v?x.get("show")&&!h.unusable?(!function(n,o,r){var l=n.getModel("iconStyle"),u=o.getIcons?o.getIcons():n.get("icon"),h=n.get("title")||{};if("string"==typeof u){var p=u,f=h;h={},(u={})[r]=p,h[r]=f}var g=n.iconPaths={};a.each(u,function(r,u){var p=s.createIcon(r,{},{x:-d/2,y:-d/2,width:d,height:d});p.setStyle(l.getModel("normal").getItemStyle()),p.hoverStyle=l.getModel("emphasis").getItemStyle(),s.setHoverStyle(p),t.get("showTitle")&&(p.__title=h[u],p.on("mouseover",function(){var t=l.getModel("emphasis").getItemStyle();p.setStyle({text:h[u],textPosition:t.textPosition||"bottom",textFill:t.fill||t.stroke||"#000",textAlign:t.textAlign||"center"})}).on("mouseout",function(){p.setStyle({textFill:null})})),p.trigger(n.get("iconStatus."+u)||"normal"),c.add(p),p.on("click",a.bind(o.onclick,o,e,i,u)),g[u]=p})}(x,h,m),x.setIconStatus=function(t,e){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[t]=e,n[t]&&n[t].trigger(e)},h.render&&h.render(x,e,i,n)):h.remove&&h.remove(e,i):h.dispose&&h.dispose(e,i)}},updateView:function(t,e,i,n){a.each(this._features,function(t){t.updateView&&t.updateView(t.model,e,i,n)})},updateLayout:function(t,e,i,n){a.each(this._features,function(t){t.updateLayout&&t.updateLayout(t.model,e,i,n)})},remove:function(t,e){a.each(this._features,function(i){i.remove&&i.remove(t,e)}),this.group.removeAll()},dispose:function(t,e){a.each(this._features,function(i){i.dispose&&i.dispose(t,e)})}});t.exports=c},"1GlB":function(t,e,i){var n=i("pq8T"),a=["rect","polygon","keep","clear"];t.exports=function(t,e){var i=t&&t.brush;if(n.isArray(i)||(i=i?[i]:[]),i.length){var o=[];n.each(i,function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(o=o.concat(e))});var r=t&&t.toolbox;n.isArray(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var s,l,u=r.feature||(r.feature={}),h=u.brush||(u.brush={}),c=h.type||(h.type=[]);c.push.apply(c,o),s=c,l={},n.each(s,function(t){l[t]=1}),s.length=0,n.each(l,function(t,e){s.push(e)}),e&&!c.length&&c.push.apply(c,a)}}},"1bXq":function(t,e,i){var n=i("pq8T"),a={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};t.exports=function(t){n.each(t.regions,function(t){var e=a[t.name];if(e){var i=t.center;i[0]+=e[0]/10.5,i[1]+=-e[1]/14}})}},"1voJ":function(t,e){var i=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];t.exports=function(t){if("china"===t.map)for(var e=0,n=t.regions.length;ethis._ux||y(e-this._yi)>this._uy||this._len<5;return this.addData(l.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,n,a,o){return this.addData(l.C,t,e,i,n,a,o),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,n,a,o):this._ctx.bezierCurveTo(t,e,i,n,a,o)),this._xi=a,this._yi=o,this},quadraticCurveTo:function(t,e,i,n){return this.addData(l.Q,t,e,i,n),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,i,n):this._ctx.quadraticCurveTo(t,e,i,n)),this._xi=i,this._yi=n,this},arc:function(t,e,i,n,a,o){return this.addData(l.A,t,e,i,i,n,a-n,0,o?0:1),this._ctx&&this._ctx.arc(t,e,i,n,a,o),this._xi=g(a)*i+t,this._yi=m(a)*i+t,this},arcTo:function(t,e,i,n,a){return this._ctx&&this._ctx.arcTo(t,e,i,n,a),this},rect:function(t,e,i,n){return this._ctx&&this._ctx.rect(t,e,i,n),this.addData(l.R,t,e,i,n),this},closePath:function(){this.addData(l.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t.closePath()),this._xi=e,this._yi=i,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;ie.length&&(this._expandData(),e=this.data);for(var i=0;i0&&g<=t||h<0&&g>=t||0==h&&(c>0&&m<=e||c<0&&m>=e);)g+=h*(i=r[n=this._dashIdx]),m+=c*i,this._dashIdx=(n+1)%y,h>0&&gl||c>0&&mu||s[n%2?"moveTo":"lineTo"](h>=0?p(g,t):f(g,t),c>=0?p(m,e):f(m,e));h=g-t,c=m-e,this._dashOffset=-v(h*h+c*c)},_dashedBezierTo:function(t,e,i,a,o,r){var s,l,u,h,c,d=this._dashSum,p=this._dashOffset,f=this._lineDash,g=this._ctx,m=this._xi,y=this._yi,x=n.cubicAt,_=0,b=this._dashIdx,w=f.length,S=0;for(p<0&&(p=d+p),p%=d,s=0;s<1;s+=.1)l=x(m,t,i,o,s+.1)-x(m,t,i,o,s),u=x(y,e,a,r,s+.1)-x(y,e,a,r,s),_+=v(l*l+u*u);for(;bp);b++);for(s=(S-p)/_;s<=1;)h=x(m,t,i,o,s),c=x(y,e,a,r,s),b%2?g.moveTo(h,c):g.lineTo(h,c),s+=f[b]/_,b=(b+1)%w;b%2!=0&&g.lineTo(o,r),l=o-h,u=r-c,this._dashOffset=-v(l*l+u*u)},_dashedQuadraticTo:function(t,e,i,n){var a=i,o=n;i=(i+2*t)/3,n=(n+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,i,n,a,o)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,x&&(this.data=new Float32Array(t)))},getBoundingRect:function(){u[0]=u[1]=c[0]=c[1]=Number.MAX_VALUE,h[0]=h[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,n=0,s=0,p=0;pu||y(r-a)>h||d===c-1)&&(t.lineTo(o,r),n=o,a=r);break;case l.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case l.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case l.A:var f=s[d++],v=s[d++],x=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],T=x>_?x:_,I=x>_?1:x/_,A=x>_?_/x:1,C=b+w;Math.abs(x-_)>.001?(t.translate(f,v),t.rotate(S),t.scale(I,A),t.arc(0,0,T,b,C,1-M),t.scale(1/I,1/A),t.rotate(-S),t.translate(-f,-v)):t.arc(f,v,T,b,C,1-M),1==d&&(e=g(b)*x+f,i=m(b)*_+v),n=g(C)*x+f,a=m(C)*_+v;break;case l.R:e=n=s[d],i=a=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case l.Z:t.closePath(),n=e,a=i}}}},_.CMD=l;var b=_;t.exports=b},"25YS":function(t,e,i){var n=i("g5FJ"),a=i("sNbj");function o(t){this.group=new n.Group,this._symbolCtor=t||a}var r=o.prototype;function s(t,e,i){var n=t.getItemLayout(e);return n&&!isNaN(n[0])&&!isNaN(n[1])&&!(i&&i(e))&&"none"!==t.getItemVisual(e,"symbol")}r.updateData=function(t,e){var i=this.group,a=t.hostModel,o=this._data,r=this._symbolCtor,l={itemStyle:a.getModel("itemStyle.normal").getItemStyle(["color"]),hoverItemStyle:a.getModel("itemStyle.emphasis").getItemStyle(),symbolRotate:a.get("symbolRotate"),symbolOffset:a.get("symbolOffset"),hoverAnimation:a.get("hoverAnimation"),labelModel:a.getModel("label.normal"),hoverLabelModel:a.getModel("label.emphasis"),cursorStyle:a.get("cursor")};t.diff(o).add(function(n){var a=t.getItemLayout(n);if(s(t,n,e)){var o=new r(t,n,l);o.attr("position",a),t.setItemGraphicEl(n,o),i.add(o)}}).update(function(u,h){var c=o.getItemGraphicEl(h),d=t.getItemLayout(u);s(t,u,e)?(c?(c.updateData(t,u,l),n.updateProps(c,{position:d},a)):(c=new r(t,u)).attr("position",d),i.add(c),t.setItemGraphicEl(u,c)):i.remove(c)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&e.fadeOut(function(){i.remove(e)})}).execute(),this._data=t},r.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl(function(e,i){var n=t.getItemLayout(i);e.attr("position",n)})},r.remove=function(t){var e=this.group,i=this._data;i&&(t?i.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)})}):e.removeAll())};var l=o;t.exports=l},"2Ja3":function(t,e,i){var n=i("ugOh"),a=i("pq8T");i("PyXE"),i("mGcz"),i("WO/q");var o=i("dv1j"),r=i("skFg"),s=i("R0A8"),l=i("QCsm"),u=i("RD6T");n.registerVisual(a.curry(o,"radar")),n.registerVisual(a.curry(r,"radar","circle",null)),n.registerLayout(s),n.registerProcessor(a.curry(l,"radar")),n.registerPreprocessor(u)},"2MQq":function(t,e,i){var n=i("pq8T"),a=i("q5mJ"),o=i("zxje"),r=i("Jv21"),s=r.getLayoutParams,l=r.mergeLayoutParam,u=["value","category","time","log"];t.exports=function(t,e,i,r){n.each(u,function(o){e.extend({type:t+"Axis."+o,mergeDefaultAndTheme:function(e,a){var r=this.layoutMode,u=r?s(e):{},h=a.getTheme();n.merge(e,h.get(o+"Axis")),n.merge(e,this.getDefaultOption()),e.type=i(t,e),r&&l(e,u,r)},defaultOption:n.mergeAll([{},a[o+"Axis"],r],!0)})}),o.registerSubTypeDefaulter(t+"Axis",n.curry(i,t))}},"2Tgp":function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("Flfr");i("j+uF"),i("Ngo8"),i("+yvV"),i("Z/N6"),i("r/81"),n.registerLayout(a.curry(o,"bar")),n.extendComponentView({type:"polar"})},"2aNC":function(t,e,i){var n=i("pq8T"),a=i("g5FJ"),o=i("Jv21"),r=i("fSti"),s=a.Group,l=["width","height"],u=["x","y"],h=r.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){h.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){h.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,e,i,o){var r=this;h.superCall(this,"renderInner",t,e,i,o);var s=this._controllerGroup,l=e.get("pageIconSize",!0);n.isArray(l)||(l=[l,l]),c("pagePrev",0);var u=e.getModel("pageTextStyle");function c(t,i){var u=t+"DataIndex",h=a.createIcon(e.get("pageIcons",!0)[e.getOrient().name][i],{onclick:n.bind(r._pageGo,r,u,e,o)},{x:-l[0]/2,y:-l[1]/2,width:l[0],height:l[1]});h.name=t,s.add(h)}s.add(new a.Text({name:"pageText",style:{textFill:u.getTextColor(),font:u.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),c("pageNext",1)},layoutInner:function(t,e,i){var r=this.getContentGroup(),s=this._containerGroup,h=this._controllerGroup,c=t.getOrient().index,d=l[c],p=l[1-c],f=u[1-c];o.box(t.get("orient"),r,t.get("itemGap"),c?i.width:null,c?null:i.height),o.box("horizontal",h,t.get("pageButtonItemGap",!0));var g=r.getBoundingRect(),m=h.getBoundingRect(),v=this._showController=g[d]>i[d],y=[-g.x,-g.y];y[c]=r.position[c];var x=[0,0],_=[-m.x,-m.y],b=n.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));v&&("end"===t.get("pageButtonPosition",!0)?_[c]+=i[d]-m[d]:x[c]+=m[d]+b);_[1-c]+=g[p]/2-m[p]/2,r.attr("position",y),s.attr("position",x),h.attr("position",_);var w=this.group.getBoundingRect();if((w={x:0,y:0})[d]=v?i[d]:g[d],w[p]=Math.max(g[p],m[p]),w[f]=Math.min(0,m[f]+_[1-c]),s.__rectSize=i[d],v){var S={x:0,y:0};S[d]=Math.max(i[d]-m[d]-b,0),S[p]=w[p],s.setClipPath(new a.Rect({shape:S})),s.__rectSize=S[d]}else h.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var M=this._getPageInfo(t);return null!=M.pageIndex&&a.updateProps(r,{position:M.contentPosition},!!v&&t),this._updatePageInfoView(t,M),w},_pageGo:function(t,e,i){var n=this._getPageInfo(e)[t];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:e.id})},_updatePageInfoView:function(t,e){var i=this._controllerGroup;n.each(["pagePrev","pageNext"],function(n){var a=null!=e[n+"DataIndex"],o=i.childOfName(n);o&&(o.setStyle("fill",a?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=a?"pointer":"default")});var a=i.childOfName("pageText"),o=t.get("pageFormatter"),r=e.pageIndex,s=null!=r?r+1:0,l=e.pageCount;a&&o&&a.setStyle("text",n.isString(o)?o.replace("{current}",s).replace("{total}",l):o({current:s,total:l}))},_getPageInfo:function(t){var e,i,n,a,o=t.get("scrollDataIndex",!0),r=this.getContentGroup(),s=r.getBoundingRect(),h=this._containerGroup.__rectSize,c=t.getOrient().index,d=l[c],p=l[1-c],f=u[c],g=r.position.slice();this._showController?r.eachChild(function(t){t.__legendDataIndex===o&&(a=t)}):a=r.childAt(0);var m=h?Math.ceil(s[d]/h):0;if(a){var v=a.getBoundingRect(),y=a.position[c]+v[f];g[c]=-y-s[f],e=Math.floor(m*(y+v[f]+h/2)/s[d]),e=s[d]&&m?Math.max(0,Math.min(m-1,e)):-1;var x,_={x:0,y:0};_[d]=h,_[p]=s[p],_[f]=-g[c]-s[f];var b=r.children();if(r.eachChild(function(t,e){var i=S(t);i.intersect(_)&&(null==x&&(x=e),n=t.__legendDataIndex),e===b.length-1&&i[f]+i[d]<=_[f]+_[d]&&(n=null)}),null!=x){var w=S(b[x]);if(_[f]=w[f]+w[d]-_[d],x<=0&&w[f]>=_[f])i=null;else{for(;x>0&&S(b[x-1]).intersect(_);)x--;i=b[x].__legendDataIndex}}}return{contentPosition:g,pageIndex:e,pageCount:m,pagePrevDataIndex:i,pageNextDataIndex:n};function S(t){var e=t.getBoundingRect().clone();return e[f]+=t.position[c],e}}}),c=h;t.exports=c},"2ljS":function(t,e,i){var n={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return(t=Math.round(t))<0?0:t>255?255:t}function o(t){return t<0?0:t>1?1:t}function r(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function s(t){return t.length&&"%"===t.charAt(t.length-1)?o(parseFloat(t)/100):o(parseFloat(t))}function l(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function u(t,e,i){return t+(e-t)*i}function h(t,e,i,n,a){return t[0]=e,t[1]=i,t[2]=n,t[3]=a,t}function c(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new(i("J0e7"))(20),p=null;function f(t,e){p&&c(p,e),p=d.put(t,p||e.slice())}function g(t,e){if(t){e=e||[];var i=d.get(t);if(i)return c(e,i);var a,o=(t+="").replace(/ /g,"").toLowerCase();if(o in n)return c(e,n[o]),f(t,e),e;if("#"===o.charAt(0))return 4===o.length?(a=parseInt(o.substr(1),16))>=0&&a<=4095?(h(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,1),f(t,e),e):void h(e,0,0,0,1):7===o.length?(a=parseInt(o.substr(1),16))>=0&&a<=16777215?(h(e,(16711680&a)>>16,(65280&a)>>8,255&a,1),f(t,e),e):void h(e,0,0,0,1):void 0;var l=o.indexOf("("),u=o.indexOf(")");if(-1!==l&&u+1===o.length){var p=o.substr(0,l),g=o.substr(l+1,u-(l+1)).split(","),v=1;switch(p){case"rgba":if(4!==g.length)return void h(e,0,0,0,1);v=s(g.pop());case"rgb":return 3!==g.length?void h(e,0,0,0,1):(h(e,r(g[0]),r(g[1]),r(g[2]),v),f(t,e),e);case"hsla":return 4!==g.length?void h(e,0,0,0,1):(g[3]=s(g[3]),m(g,e),f(t,e),e);case"hsl":return 3!==g.length?void h(e,0,0,0,1):(m(g,e),f(t,e),e);default:return}}h(e,0,0,0,1)}}function m(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=s(t[1]),o=s(t[2]),r=o<=.5?o*(n+1):o+n-o*n,u=2*o-r;return h(e=e||[],a(255*l(u,r,i+1/3)),a(255*l(u,r,i)),a(255*l(u,r,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function v(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length-1),r=Math.floor(n),s=Math.ceil(n),l=e[r],h=e[s],c=n-r;return i[0]=a(u(l[0],h[0],c)),i[1]=a(u(l[1],h[1],c)),i[2]=a(u(l[2],h[2],c)),i[3]=o(u(l[3],h[3],c)),i}}var y=v;function x(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),r=Math.floor(n),s=Math.ceil(n),l=g(e[r]),h=g(e[s]),c=n-r,d=b([a(u(l[0],h[0],c)),a(u(l[1],h[1],c)),a(u(l[2],h[2],c)),o(u(l[3],h[3],c))],"rgba");return i?{color:d,leftIndex:r,rightIndex:s,value:n}:d}}var _=x;function b(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}e.parse=g,e.lift=function(t,e){var i=g(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0;return b(i,4===i.length?"rgba":"rgb")}},e.toHex=function(t){var e=g(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},e.fastLerp=v,e.fastMapToColor=y,e.lerp=x,e.mapToColor=_,e.modifyHSL=function(t,e,i,n){if(t=g(t))return t=function(t){if(t){var e,i,n=t[0]/255,a=t[1]/255,o=t[2]/255,r=Math.min(n,a,o),s=Math.max(n,a,o),l=s-r,u=(s+r)/2;if(0===l)e=0,i=0;else{i=u<.5?l/(s+r):l/(2-s-r);var h=((s-n)/6+l/2)/l,c=((s-a)/6+l/2)/l,d=((s-o)/6+l/2)/l;n===s?e=d-c:a===s?e=1/3+h-d:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,i,u];return null!=t[3]&&p.push(t[3]),p}}(t),null!=e&&(t[0]=(a=e,(a=Math.round(a))<0?0:a>360?360:a)),null!=i&&(t[1]=s(i)),null!=n&&(t[2]=s(n)),b(m(t),"rgba");var a},e.modifyAlpha=function(t,e){if((t=g(t))&&null!=e)return t[3]=o(e),b(t,"rgba")},e.stringify=b},"2psn":function(t,e,i){var n=i("pq8T");function a(t,e){var i=this.getAxis(),n=e instanceof Array?e[0]:e,a=(t instanceof Array?t[0]:t)/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(n-a)-i.dataToCoord(n+a))}t.exports=function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:n.bind(t.dataToPoint,t),size:n.bind(a,t)}}}},"31X3":function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("g5FJ"),r=i("n1fC"),s=i("036i"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},h=n.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,i){var n=this.group;n.removeAll();var a=t.coordinateSystem,o=a.getRangeInfo(),r=a.getOrient();this._renderDayRect(t,o,n),this._renderLines(t,o,r,n),this._renderYearText(t,o,r,n),this._renderMonthText(t,r,n),this._renderWeekText(t,o,r,n)},_renderDayRect:function(t,e,i){for(var n=t.coordinateSystem,a=t.getModel("itemStyle.normal").getItemStyle(),r=n.getCellWidth(),s=n.getCellHeight(),l=e.start.time;l<=e.end.time;l=n.getNextNDay(l,1).time){var u=n.dataToRect([l],!1).tl,h=new o.Rect({shape:{x:u[0],y:u[1],width:r,height:s},cursor:"default",style:a});i.add(h)}},_renderLines:function(t,e,i,n){var a=this,o=t.coordinateSystem,r=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=r.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,h=0;u.time<=e.end.time;h++){d(u.formatedDate),0===h&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=o.getDateInfo(c)}function d(e){a._firstDayOfMonth.push(o.getDateInfo(e)),a._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=a._getLinePointsOfOneWeek(t,e,i);a._tlpoints.push(l[0]),a._blpoints.push(l[l.length-1]),s&&a._drawSplitline(l,r,n)}d(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(a._getEdgesPoints(a._tlpoints,l,i),r,n),s&&this._drawSplitline(a._getEdgesPoints(a._blpoints,l,i),r,n)},_getEdgesPoints:function(t,e,i){var n=[t[0].slice(),t[t.length-1].slice()],a="horizontal"===i?0:1;return n[0][a]=n[0][a]-e/2,n[1][a]=n[1][a]+e/2,n},_drawSplitline:function(t,e,i){var n=new o.Polyline({z2:20,shape:{points:t},style:e});i.add(n)},_getLinePointsOfOneWeek:function(t,e,i){var n=t.coordinateSystem;e=n.getDateInfo(e);for(var a=[],o=0;o<7;o++){var r=n.getNextNDay(e.time,o),s=n.dataToRect([r.time],!1);a[2*r.day]=s.tl,a[2*r.day+1]=s["horizontal"===i?"bl":"tr"]}return a},_formatterLabel:function(t,e){return"string"==typeof t&&t?r.formatTplSimple(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,i,n,a){e=e.slice();var o=["center","bottom"];"bottom"===n?(e[1]+=a,o=["center","top"]):"left"===n?e[0]-=a:"right"===n?(e[0]+=a,o=["center","top"]):e[1]-=a;var r=0;return"left"!==n&&"right"!==n||(r=Math.PI/2),{rotation:r,position:e,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(t,e,i,n){var a=t.getModel("yearLabel");if(a.get("show")){var r=a.get("margin"),s=a.get("position");s||(s="horizontal"!==i?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,h=(l[0][1]+l[1][1])/2,c="horizontal"===i?0:1,d={top:[u,l[c][1]],bottom:[u,l[1-c][1]],left:[l[1-c][0],h],right:[l[c][0],h]},p=e.start.y;+e.end.y>+e.start.y&&(p=p+"-"+e.end.y);var f=a.get("formatter"),g={start:e.start.y,end:e.end.y,nameMap:p},m=this._formatterLabel(f,g),v=new o.Text({z2:30});o.setTextStyle(v.style,a,{text:m}),v.attr(this._yearTextPositionControl(v,d[s],i,s,r)),n.add(v)}},_monthTextPositionControl:function(t,e,i,n,a){var o="left",r="top",s=t[0],l=t[1];return"horizontal"===i?(l+=a,e&&(o="center"),"start"===n&&(r="bottom")):(s+=a,e&&(r="middle"),"start"===n&&(o="right")),{x:s,y:l,textAlign:o,textVerticalAlign:r}},_renderMonthText:function(t,e,i){var n=t.getModel("monthLabel");if(n.get("show")){var r=n.get("nameMap"),s=n.get("margin"),u=n.get("position"),h=n.get("align"),c=[this._tlpoints,this._blpoints];a.isString(r)&&(r=l[r.toUpperCase()]||[]);var d="start"===u?0:1,p="horizontal"===e?0:1;s="start"===u?-s:s;for(var f="center"===h,g=0;gt[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,i,r){var l={},u=t[1]-t[0],h=l.interval=n.nice(u/e,!0);null!=i&&hr&&(h=l.interval=r);var c=l.intervalPrecision=o(h);return s(l.niceTickExtent=[a(Math.ceil(t[0]/h)*h,c),a(Math.floor(t[1]/h)*h,c)],t),l},e.getIntervalPrecision=o,e.fixExtent=s,e.intervalScaleGetTicks=function(t,e,i,n){var o=[];if(!t)return o;e[0]1e4)return[];return e[1]>(o.length?o[o.length-1]:i[1])&&o.push(e[1]),o}},"46RB":function(t,e,i){var n=i("pq8T"),a=i("zxje");i("vwCF");var o=a.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){a.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(t){var e=this.option;t&&n.merge(e,t,!0),this._initDimensions()},contains:function(t,e){var i=t.get("parallelIndex");return null!=i&&e.getComponent("parallel",i)===this},setAxisExpand:function(t){n.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])},this)},_initDimensions:function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],i=n.filter(this.dependentModels.parallelAxis,function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this);n.each(i,function(i){t.push("dim"+i.get("dim")),e.push(i.componentIndex)})}});t.exports=o},"47uN":function(t,e,i){var n=i("AD8d"),a=i("vncH"),o=n.identity,r=5e-5;function s(t){return t>r||t<-r}var l=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)},u.updateTransform=function(){var t=this.parent,e=t&&t.transform,i=this.needLocalTransform(),a=this.transform;i||e?(a=a||n.create(),i?this.getLocalTransform(a):o(a),e&&(i?n.mul(a,t.transform,a):n.copy(a,t.transform)),this.transform=a,this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,a)):a&&o(a)},u.getLocalTransform=function(t){return l.getLocalTransform(this,t)},u.setTransform=function(t){var e=this.transform,i=t.dpr||1;e?t.setTransform(i*e[0],i*e[1],i*e[2],i*e[3],i*e[4],i*e[5]):t.setTransform(i,0,0,i,0,0)},u.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var h=[];u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(n.mul(h,t.invTransform,e),e=h);var i=e[0]*e[0]+e[1]*e[1],a=e[2]*e[2]+e[3]*e[3],o=this.position,r=this.scale;s(i-1)&&(i=Math.sqrt(i)),s(a-1)&&(a=Math.sqrt(a)),e[0]<0&&(i=-i),e[3]<0&&(a=-a),o[0]=e[4],o[1]=e[5],r[0]=i,r[1]=a,this.rotation=Math.atan2(-e[1]/a,e[0]/i)}},u.getGlobalScale=function(){var t=this.transform;if(!t)return[1,1];var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]),i=Math.sqrt(t[2]*t[2]+t[3]*t[3]);return t[0]<0&&(e=-e),t[3]<0&&(i=-i),[e,i]},u.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&a.applyTransform(i,i,n),i},u.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&a.applyTransform(i,i,n),i},l.getLocalTransform=function(t,e){o(e=e||[]);var i=t.origin,a=t.scale||[1,1],r=t.rotation||0,s=t.position||[0,0];return i&&(e[4]-=i[0],e[5]-=i[1]),n.scale(e,e,a),r&&n.rotate(e,e,r),i&&(e[4]+=i[0],e[5]+=i[1]),e[4]+=s[0],e[5]+=s[1],e};var c=l;t.exports=c},"4BLw":function(t,e,i){i("CVlv").__DEV__;var n=i("pq8T"),a=i("akYI"),o=i("g5FJ"),r=i("ALhw"),s=i("/SD+"),l=n.curry,u=n.each,h=n.map,c=Math.min,d=Math.max,p=Math.pow,f=1e4,g=6,m=6,v="globalPan",y={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},x={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},_={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},b=0;function w(t){a.call(this),this._zr=t,this.group=new o.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+b++,this._handlers={},u(J,function(t,e){this._handlers[e]=n.bind(t,this)},this)}function S(t,e){var i=Y[e.brushType].createCover(t,e);return i.__brushOption=e,I(i,e),t.group.add(i),i}function M(t,e){var i=C(e);return i.endCreating&&(i.endCreating(t,e),I(e,e.__brushOption)),e}function T(t,e){var i=e.__brushOption;C(e).updateCoverShape(t,e,i.range,i)}function I(t,e){var i=e.z;null==i&&(i=f),t.traverse(function(t){t.z=i,t.z2=i})}function A(t,e){C(e).updateCommon(t,e),T(t,e)}function C(t){return Y[t.__brushOption.brushType]}function D(t,e,i){var n,a=t._panels;if(!a)return!0;var o=t._transform;return u(a,function(t){t.isTargetByCursor(e,i,o)&&(n=t)}),n}function L(t,e){var i=t._panels;if(!i)return!0;var n=e.__brushOption.panelId;return null==n||i[n]}function P(t){var e=t._covers,i=e.length;return u(e,function(e){t.group.remove(e)},t),e.length=0,!!i}function k(t,e){var i=h(t._covers,function(t){var e=t.__brushOption,i=n.clone(e.range);return{brushType:e.brushType,panelId:e.panelId,range:i}});t.trigger("brush",i,{isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function O(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function E(t,e,i,n){var a=new o.Group;return a.add(new o.Rect({name:"main",style:V(i),silent:!0,draggable:!0,cursor:"move",drift:l(t,e,a,"nswe"),ondragend:l(k,e,{isEnd:!0})})),u(n,function(i){a.add(new o.Rect({name:i,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:l(t,e,a,i),ondragend:l(k,e,{isEnd:!0})}))}),a}function N(t,e,i,n){var a=n.brushStyle.lineWidth||0,o=d(a,m),r=i[0][0],s=i[1][0],l=r-a/2,u=s-a/2,h=i[0][1],c=i[1][1],p=h-o+a/2,f=c-o+a/2,g=h-r,v=c-s,y=g+a,x=v+a;R(t,e,"main",r,s,g,v),n.transformable&&(R(t,e,"w",l,u,o,x),R(t,e,"e",p,u,o,x),R(t,e,"n",l,u,y,o),R(t,e,"s",l,f,y,o),R(t,e,"nw",l,u,o,o),R(t,e,"ne",p,u,o,o),R(t,e,"sw",l,f,o,o),R(t,e,"se",p,f,o,o))}function z(t,e){var i=e.__brushOption,n=i.transformable,a=e.childAt(0);a.useStyle(V(i)),a.attr({silent:!n,cursor:n?"move":"default"}),u(["w","e","n","s","se","sw","ne","nw"],function(i){var a=e.childOfName(i),r=function t(e,i){if(i.length>1){i=i.split("");var n=[t(e,i[0]),t(e,i[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}var n=o.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[i],function(t){return o.getTransform(t.group)}(e));return{left:"w",right:"e",top:"n",bottom:"s"}[n]}(t,i);a&&a.attr({silent:!n,invisible:!n,cursor:n?x[r]+"-resize":null})})}function R(t,e,i,n,a,o,r){var s,l,u,h,p,f=e.childOfName(i);f&&f.setShape((s=W(t,e,[[n,a],[n+o,a+r]]),l=c(s[0][0],s[1][0]),u=c(s[0][1],s[1][1]),h=d(s[0][0],s[1][0]),p=d(s[0][1],s[1][1]),{x:l,y:u,width:h-l,height:p-u}))}function V(t){return n.defaults({strokeNoScale:!0},t.brushStyle)}function B(t,e,i,n){var a=[c(t,i),c(e,n)],o=[d(t,i),d(e,n)];return[[a[0],o[0]],[a[1],o[1]]]}function G(t,e,i,n,a,o,r,s){var l=n.__brushOption,h=t(l.range),c=F(i,o,r);u(a.split(""),function(t){var e=y[t];h[e[0]][e[1]]+=c[e[0]]}),l.range=e(B(h[0][0],h[1][0],h[0][1],h[1][1])),A(i,n),k(i,{isEnd:!1})}function H(t,e,i,n,a){var o=e.__brushOption.range,r=F(t,i,n);u(o,function(t){t[0]+=r[0],t[1]+=r[1]}),A(t,e),k(t,{isEnd:!1})}function F(t,e,i){var n=t.group,a=n.transformCoordToLocal(e,i),o=n.transformCoordToLocal(0,0);return[a[0]-o[0],a[1]-o[1]]}function W(t,e,i){var a=L(t,e);return a&&!0!==a?a.clipPath(i,t._transform):n.clone(i)}function q(t){var e=t.event;e.preventDefault&&e.preventDefault()}function Z(t,e,i){return t.childOfName("main").contain(e,i)}function U(t,e,i,a){var o,r=t._creatingCover,s=t._creatingPanel,l=t._brushOption;if(t._track.push(i.slice()),function(t){var e=t._track;if(!e.length)return!1;var i=e[e.length-1],n=e[0],a=i[0]-n[0],o=i[1]-n[1];return p(a*a+o*o,.5)>g}(t)||r){if(s&&!r){"single"===l.brushMode&&P(t);var u=n.clone(l);u.brushType=j(u.brushType,s),u.panelId=!0===s?null:s.panelId,r=t._creatingCover=S(t,u),t._covers.push(r)}if(r){var h=Y[j(t._brushType,s)];r.__brushOption.range=h.getCreatingRange(W(t,r,t._track)),a&&(M(t,r),h.updateCommon(t,r)),T(t,r),o={isEnd:a}}}else a&&"single"===l.brushMode&&l.removeOnClick&&D(t,e,i)&&P(t)&&(o={isEnd:a,removeOnClick:!0});return o}function j(t,e){return"auto"===t?e.defaultBrushType:t}w.prototype={constructor:w,enableBrush:function(t){var e,i;return this._brushType&&(i=(e=this)._zr,r.release(i,v,e._uid),u(e._handlers,function(t,e){i.off(e,t)}),e._brushType=e._brushOption=null),t.brushType&&function(t,e){var i=t._zr;t._enableGlobalPan||r.take(i,v,t._uid);u(t._handlers,function(t,e){i.on(e,t)}),t._brushType=e.brushType,t._brushOption=n.merge(n.clone(_),e,!0)}(this,t),this},setPanels:function(t){if(t&&t.length){var e=this._panels={};n.each(t,function(t){e[t.panelId]=n.clone(t)})}else this._panels=null;return this},mount:function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t.position||[0,0],rotation:t.rotation||0,scale:t.scale||[1,1]}),this._transform=e.getLocalTransform(),this},eachCover:function(t,e){u(this._covers,t,e)},updateCovers:function(t){t=n.map(t,function(t){return n.merge(n.clone(_),t,!0)});var e="\0-brush-index-",i=this._covers,a=this._covers=[],o=this,r=this._creatingCover;return new s(i,t,function(t,e){return l(t.__brushOption,e)},l).add(u).update(u).remove(function(t){i[t]!==r&&o.group.remove(i[t])}).execute(),this;function l(t,i){return(null!=t.id?t.id:e+i)+"-"+t.brushType}function u(e,n){var s=t[e];if(null!=n&&i[n]===r)a[e]=i[n];else{var l=a[e]=null!=n?(i[n].__brushOption=s,i[n]):M(o,S(o,s));A(o,l)}}},unmount:function(){return this.enableBrush(!1),P(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},n.mixin(w,a);var J={mousedown:function(t){if(this._dragging)X.call(this,t);else if(!t.target||!t.target.draggable){q(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=D(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);if(function(t,e,i){if(t._brushType){var n=t._zr,a=t._covers,o=D(t,e,i);if(!t._dragging)for(var r=0;r0&&"scale"!==d){var g=o.getItemLayout(0),m=Math.max(i.getWidth(),i.getHeight())/2,v=n.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(g.cx,g.cy,m,g.startAngle,g.clockwise,v,t))}this._data=o}},dispose:function(){},_createClipPath:function(t,e,i,n,o,r,s){var l=new a.Sector({shape:{cx:t,cy:e,r0:0,r:i,startAngle:n,endAngle:n,clockwise:o}});return a.initProps(l,{shape:{endAngle:n+(o?1:-1)*Math.PI*2}},s,r),l},containPoint:function(t,e){var i=e.getData().getItemLayout(0);if(i){var n=t[0]-i.cx,a=t[1]-i.cy,o=Math.sqrt(n*n+a*a);return o<=i.r&&o>=i.r0}}});t.exports=h},"4ZX4":function(t,e,i){var n=i("8PW3").extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{normal:{show:!0,position:"end"},emphasis:{show:!0}},lineStyle:{normal:{type:"dashed"},emphasis:{width:3}},animationEasing:"linear"}});t.exports=n},"4ax9":function(t,e,i){var n=i("M6HP"),a=n.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i-l&&tl||t<-l}function v(t,e,i,n,a){var o=1-a;return o*o*(o*t+3*a*e)+a*a*(a*n+3*o*i)}function y(t,e,i,n){var a=1-n;return a*(a*t+2*n*e)+n*n*i}e.cubicAt=v,e.cubicDerivativeAt=function(t,e,i,n,a){var o=1-a;return 3*(((e-t)*o+2*(i-e)*a)*o+(n-i)*a*a)},e.cubicRootAt=function(t,e,i,n,a,o){var l=n+3*(e-i)-t,u=3*(i-2*e+t),d=3*(e-t),p=t-a,f=u*u-3*l*d,m=u*d-9*l*p,v=d*d-3*u*p,y=0;if(g(f)&&g(m))g(u)?o[0]=0:(D=-d/u)>=0&&D<=1&&(o[y++]=D);else{var x=m*m-4*f*v;if(g(x)){var _=m/f,b=-_/2;(D=-u/l+_)>=0&&D<=1&&(o[y++]=D),b>=0&&b<=1&&(o[y++]=b)}else if(x>0){var w=s(x),S=f*u+1.5*l*(-m+w),M=f*u+1.5*l*(-m-w);(D=(-u-((S=S<0?-r(-S,c):r(S,c))+(M=M<0?-r(-M,c):r(M,c))))/(3*l))>=0&&D<=1&&(o[y++]=D)}else{var T=(2*f*u-3*l*m)/(2*s(f*f*f)),I=Math.acos(T)/3,A=s(f),C=Math.cos(I),D=(-u-2*A*C)/(3*l),L=(b=(-u+A*(C+h*Math.sin(I)))/(3*l),(-u+A*(C-h*Math.sin(I)))/(3*l));D>=0&&D<=1&&(o[y++]=D),b>=0&&b<=1&&(o[y++]=b),L>=0&&L<=1&&(o[y++]=L)}}return y},e.cubicExtrema=function(t,e,i,n,a){var o=6*i-12*e+6*t,r=9*e+3*n-3*t-9*i,l=3*e-3*t,u=0;if(g(r))m(o)&&(c=-l/o)>=0&&c<=1&&(a[u++]=c);else{var h=o*o-4*r*l;if(g(h))a[0]=-o/(2*r);else if(h>0){var c,d=s(h),p=(-o-d)/(2*r);(c=(-o+d)/(2*r))>=0&&c<=1&&(a[u++]=c),p>=0&&p<=1&&(a[u++]=p)}}return u},e.cubicSubdivide=function(t,e,i,n,a,o){var r=(e-t)*a+t,s=(i-e)*a+e,l=(n-i)*a+i,u=(s-r)*a+r,h=(l-s)*a+s,c=(h-u)*a+u;o[0]=t,o[1]=r,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=n},e.cubicProjectPoint=function(t,e,i,n,a,r,l,h,c,g,m){var y,x,_,b,w,S=.005,M=1/0;d[0]=c,d[1]=g;for(var T=0;T<1;T+=.05)p[0]=v(t,i,a,l,T),p[1]=v(e,n,r,h,T),(b=o(d,p))=0&&b=0&&c<=1&&(a[u++]=c);else{var h=r*r-4*o*l;if(g(h))(c=-r/(2*o))>=0&&c<=1&&(a[u++]=c);else if(h>0){var c,d=s(h),p=(-r-d)/(2*o);(c=(-r+d)/(2*o))>=0&&c<=1&&(a[u++]=c),p>=0&&p<=1&&(a[u++]=p)}}return u},e.quadraticExtremum=function(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n},e.quadraticSubdivide=function(t,e,i,n,a){var o=(e-t)*n+t,r=(i-e)*n+e,s=(r-o)*n+o;a[0]=t,a[1]=o,a[2]=s,a[3]=s,a[4]=r,a[5]=i},e.quadraticProjectPoint=function(t,e,i,n,a,r,l,h,c){var g,m=.005,v=1/0;d[0]=l,d[1]=h;for(var x=0;x<1;x+=.05)p[0]=y(t,i,a,x),p[1]=y(e,n,r,x),(S=o(d,p))=0&&S0){var n,a,r=this.getDefs(!0),s=e[0],l=i?"_textDom":"_dom";s[l]?(a=s[l].getAttribute("id"),n=s[l],r.contains(n)||r.appendChild(n)):(a="zr-clip-"+this.nextId,++this.nextId,(n=this.createElement("clipPath")).setAttribute("id",a),r.appendChild(n),s[l]=n);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!i){var h=Array.prototype.slice.call(s.transform);o.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=h}else u.brush(s);var c=this.getSvgElement(s);n.appendChild(c.cloneNode()),t.setAttribute("clip-path","url(#"+a+")"),e.length>1&&this.updateDom(n,e.slice(1),i)}else t&&t.setAttribute("clip-path","none")},r.prototype.markUsed=function(t){var e=this;t.__clipPaths&&t.__clipPaths.length>0&&a.each(t.__clipPaths,function(t){t._dom&&n.prototype.markUsed.call(e,t._dom),t._textDom&&n.prototype.markUsed.call(e,t._textDom)})};var s=r;t.exports=s},"4yLA":function(t,e,i){var n=i("pq8T");function a(t,e){return e=e||[0,0],n.map([0,1],function(i){var n=e[i],a=t[i]/2,o=[],r=[];return o[i]=n-a,r[i]=n+a,o[1-i]=r[1-i]=e[1-i],Math.abs(this.dataToPoint(o)[i]-this.dataToPoint(r)[i])},this)}t.exports=function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:n.bind(t.dataToPoint,t),size:n.bind(a,t)}}}},"50IJ":function(t,e,i){var n=i("vncH"),a=n.scaleAndAdd;e.forceLayout=function(t,e,i){for(var o=i.rect,r=o.width,s=o.height,l=[o.x+r/2,o.y+s/2],u=null==i.gravity?.1:i.gravity,h=0;h=0||a&&n.indexOf(a,s)<0)){var l=e.getShallow(s);null!=l&&(o[t[r][0]]=l)}}return o}}},"5DBk":function(t,e,i){var n=i("pq8T"),a=i("6XJn");function o(t){return n.isObject(t)&&null!=t.value?t.value:t+""}var r={getFormattedLabels:function(){return a.getFormattedLabels(this.axis,this.get("axisLabel.formatter"))},getCategories:function(){return"category"===this.get("type")&&n.map(this.get("data"),o)},getMin:function(t){var e=this.option,i=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=i&&"dataMin"!==i&&"function"!=typeof i&&!n.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getMax:function(t){var e=this.option,i=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=i&&"dataMax"!==i&&"function"!=typeof i&&!n.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:n.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};t.exports=r},"5QhS":function(t,e,i){var n=i("pq8T"),a=i("vncH"),o=i("H1Uk"),r=i("akYI"),s="silent";function l(){}l.prototype.dispose=function(){};var u=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],h=function(t,e,i,a){r.call(this),this.storage=t,this.painter=e,this.painterRoot=a,i=i||new l,this.proxy=i,i.handler=this,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,o.call(this),n.each(u,function(t){i.on&&i.on(t,this[t],this)},this)};function c(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){for(var n,a=t;a;){if(a.clipPath&&!a.clipPath.contain(e,i))return!1;a.silent&&(n=!0),a=a.parent}return!n||s}return!1}h.prototype={constructor:h,mousemove:function(t){var e=t.zrX,i=t.zrY,n=this._hovered,a=n.target;a&&!a.__zr&&(a=(n=this.findHover(n.x,n.y)).target);var o=this._hovered=this.findHover(e,i),r=o.target,s=this.proxy;s.setCursor&&s.setCursor(r?r.cursor:"default"),a&&r!==a&&this.dispatchToElement(n,"mouseout",t),this.dispatchToElement(o,"mousemove",t),r&&r!==a&&this.dispatchToElement(o,"mouseover",t)},mouseout:function(t){this.dispatchToElement(this._hovered,"mouseout",t);var e,i=t.toElement||t.relatedTarget;do{i=i&&i.parentNode}while(i&&9!=i.nodeType&&!(e=i===this.painterRoot));!e&&this.trigger("globalout",{event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var i=this[t];i&&i.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,i){var n=(t=t||{}).target;if(!n||!n.silent){for(var a="on"+e,o=function(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which}}(e,t,i);n&&(n[a]&&(o.cancelBubble=n[a].call(n,o)),n.trigger(e,o),n=n.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer(function(t){"function"==typeof t[a]&&t[a].call(t,o),t.trigger&&t.trigger(e,o)}))}},findHover:function(t,e,i){for(var n=this.storage.getDisplayList(),a={x:t,y:e},o=n.length-1;o>=0;o--){var r;if(n[o]!==i&&!n[o].ignore&&(r=c(n[o],t,e))&&(!a.topTarget&&(a.topTarget=n[o]),r!==s)){a.target=n[o];break}}return a}},n.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){h.prototype[t]=function(e){var i=this.findHover(e.zrX,e.zrY),n=i.target;if("mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mosueup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||a.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}}),n.mixin(h,r),n.mixin(h,o);var d=h;t.exports=d},"5UqY":function(t,e,i){var n=i("pq8T"),a=i("5WPh"),o=i("6XJn"),r=i("5DBk"),s=i("CSiU"),l=i("PrvN");e.completeDimensions=l;var u=i("G3qZ");e.createSymbol=u.createSymbol,e.createList=function(t){var e=t.get("data");return a(e,t,t.ecModel)},e.createScale=function(t,e){var i=e;e instanceof s||(i=new s(e),n.mixin(i,r));var a=o.createScaleByModel(i);return a.setExtent(t[0],t[1]),o.niceScaleExtent(a,i),a},e.mixinAxisModelCommonMethods=function(t){n.mixin(t,r)}},"5WPh":function(t,e,i){i("CVlv").__DEV__;var n=i("pq8T"),a=i("JPSp"),o=i("PrvN"),r=i("OHyK"),s=r.getDataItemValue,l=r.converDataValue,u=r.isDataItemOption,h=i("W8Zi");function c(t){return"category"!==t&&"time"!==t}function d(t){return"category"===t?"ordinal":"time"===t?"time":"float"}var p={cartesian2d:function(t,e,i,a){var r=n.map(["xAxis","yAxis"],function(t){return i.queryComponents({mainType:t,index:e.get(t+"Index"),id:e.get(t+"Id")})[0]}),s=r[0],l=r[1],u=s.get("type"),h=l.get("type"),p=[{name:"x",type:d(u),stackable:c(u)},{name:"y",type:d(h),stackable:c(h)}],f="category"===u,g="category"===h;p=o(p,t,a);var m={};return f&&(m.x=s),g&&(m.y=l),{dimensions:p,categoryIndex:f?0:g?1:-1,categoryAxesModels:m}},singleAxis:function(t,e,i,n){var a=i.queryComponents({mainType:"singleAxis",index:e.get("singleAxisIndex"),id:e.get("singleAxisId")})[0],r=a.get("type"),s="category"===r,l=[{name:"single",type:d(r),stackable:c(r)}];l=o(l,t,n);var u={};return s&&(u.single=a),{dimensions:l,categoryIndex:s?0:-1,categoryAxesModels:u}},polar:function(t,e,i,n){var a=i.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0],r=a.findAxisModel("angleAxis"),s=a.findAxisModel("radiusAxis"),l=s.get("type"),u=r.get("type"),h=[{name:"radius",type:d(l),stackable:c(l)},{name:"angle",type:d(u),stackable:c(u)}],p="category"===u,f="category"===l;h=o(h,t,n);var g={};return f&&(g.radius=s),p&&(g.angle=r),{dimensions:h,categoryIndex:p?1:f?0:-1,categoryAxesModels:g}},geo:function(t,e,i,n){return{dimensions:o([{name:"lng"},{name:"lat"}],t,n)}}};var f=function(t,e,i){t=t||[];var r=e.get("coordinateSystem"),c=p[r],d=h.get(r),f={encodeDef:e.get("encode"),dimsDef:e.get("dimensions")},g=c&&c(t,e,i,f),m=g&&g.dimensions;m||(m=d&&(d.getDimensionsInfo?d.getDimensionsInfo():d.dimensions.slice())||["x","y"],m=o(m,t,f));var v=g?g.categoryIndex:-1,y=new a(m,e),x=function(t,e){var i,a=[],o=t&&t.dimensions[t.categoryIndex];if(o&&(i=t.categoryAxesModels[o.name]),i){var r=i.getCategories();if(r){var s=e.length;if(n.isArray(e[0])&&e[0].length>1){a=[];for(var l=0;l=0&&function(t){var e=function(t){for(var e=0;e=0;d--)null==r[d]?r.splice(d,1):delete r[d].$action},_flatten:function(t,e,i){a.each(t,function(t){if(t){i&&(t.parentOption=i),e.push(t);var n=t.children;"group"===t.type&&n&&this._flatten(n,e,t),delete t.children}},this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function u(t,e,i,n){var a=i.type,o=new(0,r[a.charAt(0).toUpperCase()+a.slice(1)])(i);e.add(o),n.set(t,o),o.__ecGraphicId=t}function h(t,e){var i=t&&t.parent;i&&("group"===t.type&&t.traverse(function(t){h(t,e)}),e.removeKey(t.__ecGraphicId),i.remove(t))}function c(t,e){var i;return a.each(e,function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)}),i}n.extendComponentView({type:"graphic",init:function(t,e){this._elMap=a.createHashMap(),this._lastGraphicModel},render:function(t,e,i){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t,i),this._relocate(t,i)},_updateElements:function(t,e){var i=t.useElOptionsToUpdate();if(i){var n=this._elMap,o=this.group;a.each(i,function(t){var e=t.$action,i=t.id,r=n.get(i),l=t.parentId,c=null!=l?n.get(l):o;if("text"===t.type){var d=t.style;t.hv&&t.hv[1]&&(d.textVerticalAlign=d.textBaseline=null),!d.hasOwnProperty("textFill")&&d.fill&&(d.textFill=d.fill),!d.hasOwnProperty("textStroke")&&d.stroke&&(d.textStroke=d.stroke)}var p=function(t){return t=a.extend({},t),a.each(["id","parentId","$action","hv","bounding"].concat(s.LOCATION_PARAMS),function(e){delete t[e]}),t}(t);e&&"merge"!==e?"replace"===e?(h(r,n),u(i,c,p,n)):"remove"===e&&h(r,n):r?r.attr(p):u(i,c,p,n);var f=n.get(i);f&&(f.__ecGraphicWidth=t.width,f.__ecGraphicHeight=t.height)})}},_relocate:function(t,e){for(var i=t.option.elements,n=this.group,a=this._elMap,o=i.length-1;o>=0;o--){var r=i[o],l=a.get(r.id);if(l){var u=l.parent,h=u===n?{width:e.getWidth(),height:e.getHeight()}:{width:u.__ecGraphicWidth||0,height:u.__ecGraphicHeight||0};s.positionElement(l,r,h,null,{hv:r.hv,boundingMode:r.bounding})}}},_clear:function(){var t=this._elMap;t.each(function(e){h(e,t)}),this._elMap=a.createHashMap()},dispose:function(){this._clear()}})},"5kpN":function(t,e,i){var n=i("pq8T").createHashMap;t.exports=function(t){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),i=t.getRawData(),a=t.get("color"),o=n();e.each(function(t){o.set(e.getRawIndex(t),t)}),i.each(function(n){var r=i.getName(n),s=a[(t.nameMap.get(r)-1)%a.length];i.setItemVisual(n,"color",s);var l=o.get(n);null!=l&&e.setItemVisual(l,"color",s)})})}},"5qJ7":function(t,e,i){var n=i("pq8T"),a=i("AHl2").Dispatcher,o=i("sOYR"),r=i("RdYU"),s=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,a.call(this)};s.prototype={constructor:s,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),i=0;i=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i0?a:o),borderColor:e.get(s>0?i:n)})})})}},"6XJn":function(t,e,i){i("CVlv").__DEV__;var n=i("pq8T"),a=i("xzo8"),o=i("TBPs"),r=i("rXVi"),s=i("mail"),l=i("036i");function u(t,e){var i,a,o,r=t.type,s=e.getMin(),u=e.getMax(),h=null!=s,c=null!=u,d=t.getExtent();return"ordinal"===r?i=(e.get("data")||[]).length:(a=e.get("boundaryGap"),n.isArray(a)||(a=[a||0,a||0]),"boolean"==typeof a[0]&&(a=[0,0]),a[0]=l.parsePercent(a[0],1),a[1]=l.parsePercent(a[1],1),o=d[1]-d[0]||Math.abs(d[0])),null==s&&(s="ordinal"===r?i?0:NaN:d[0]-a[0]*o),null==u&&(u="ordinal"===r?i?i-1:NaN:d[1]+a[1]*o),"dataMin"===s?s=d[0]:"function"==typeof s&&(s=s({min:d[0],max:d[1]})),"dataMax"===u?u=d[1]:"function"==typeof u&&(u=u({min:d[0],max:d[1]})),(null==s||!isFinite(s))&&(s=NaN),(null==u||!isFinite(u))&&(u=NaN),t.setBlank(n.eqNaN(s)||n.eqNaN(u)),e.getNeedCrossZero()&&(s>0&&u>0&&!h&&(s=0),s<0&&u<0&&!c&&(u=0)),[s,u]}function h(t,e){return"category"===t.type?t.scale.getLabel(e):e}i("lqEc"),i("aRXx"),e.getScaleExtent=u,e.niceScaleExtent=function(t,e){var i=u(t,e),n=null!=e.getMin(),a=null!=e.getMax(),o=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var r=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:o,fixMin:n,fixMax:a,minInterval:"interval"===r||"time"===r?e.get("minInterval"):null,maxInterval:"interval"===r||"time"===r?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)},e.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new o(t.getCategories(),[1/0,-1/0]);case"value":return new r;default:return(s.getClass(e)||r).create(t)}},e.ifAxisCrossZero=function(t){var e=t.scale.getExtent(),i=e[0],n=e[1];return!(i>0&&n>0||i<0&&n<0)},e.getAxisLabelInterval=function(t,e,i,n,o){var r,s=0,l=0,u=(n-o)/180*Math.PI,h=1;e.length>40&&(h=Math.floor(e.length/40));for(var c=0;c1?h:(s+1)*h-1},e.getFormattedLabels=function(t,e){var i,a=t.scale,o=a.getTicksLabels(),r=a.getTicks();return"string"==typeof e?(i=e,e=function(t){return i.replace("{value}",null!=t?t:"")},n.map(o,e)):"function"==typeof e?n.map(r,function(i,n){return e(h(t,i),n)},this):o},e.getAxisRawValue=h},"6jaF":function(t,e,i){var n=i("ugOh").extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}});t.exports=n},"72L6":function(t,e,i){var n=i("ugOh"),a=i("INO0");i("Md5P"),i("3VWQ"),i("Gy+m"),i("AkOL"),n.registerPreprocessor(a)},"7AxW":function(t,e,i){var n=i("mWyZ").devicePixelRatio,a=i("pq8T"),o=i("day3"),r=i("WJPv"),s=i("MreC"),l=i("VXNc"),u=i("sOYR"),h=i("KRDX");function c(t){return parseInt(t,10)}function d(t){t.__unusedCount++}function p(t){1==t.__unusedCount&&t.clear()}var f=new r(0,0,0,0),g=new r(0,0,0,0);var m=function(t,e,i){this.type="canvas";var o=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=i=a.extend({},i||{}),this.dpr=i.devicePixelRatio||n,this._singleCanvas=o,this.root=t;var r=t.style;r&&(r["-webkit-tap-highlight-color"]="transparent",r["-webkit-user-select"]=r["user-select"]=r["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var s=this._zlevelList=[],u=this._layers={};if(this._layerConfig={},o){null!=i.width&&(t.width=i.width),null!=i.height&&(t.height=i.height);var h=t.width,c=t.height;this._width=h,this._height=c;var d=new l(t,this,1);d.initContext(),u[0]=d,s.push(0),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var p=this._domRoot=function(t,e){var i=document.createElement("div");return i.style.cssText=["position:relative","overflow:hidden","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",i}(this._width,this._height);t.appendChild(p)}this._progressiveLayers=[],this._hoverlayer,this._hoverElements=[]};m.prototype={constructor:m,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),i=this._zlevelList;this._paintList(e,t);for(var n=0;n=0&&i.splice(n,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i=0){if(!l){if((l=this._progressiveLayers[Math.min(h++,4)]).ctx.save(),l.renderScope={},l&&l.__progress>l.__maxProgress){g=l.__nextIdxNotProg-1;continue}u=l.__progress,l.__dirty||(p=u),l.__progress=p+1}x===p&&this._doPaintEl(v,l,!0,l.renderScope)}else this._doPaintEl(v,i,e,s);v.__dirty=!1}}l&&f(l),r&&r.restore(),this._furtherProgressive=!1,a.each(this._progressiveLayers,function(t){t.__maxProgress>=t.__progress&&(this._furtherProgressive=!0)},this)},_doPaintEl:function(t,e,i,n){var a=e.ctx,o=t.transform;if((e.__dirty||i)&&!t.invisible&&0!==t.style.opacity&&(!o||o[0]||o[3])&&(!t.culling||!function(t,e,i){return f.copy(t.getBoundingRect()),t.transform&&f.applyTransform(t.transform),g.width=e,g.height=i,!f.intersect(g)}(t,this._width,this._height))){var r=t.__clipPaths;(n.prevClipLayer!==e||function(t,e){if(t==e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var i=0;i0&&t>n[0]){for(s=0;st);s++);r=i[n[s]]}if(n.splice(s+1,0,t),i[t]=e,!e.virtual)if(r){var u=r.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else o("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var i,n,a=this._zlevelList;for(n=0;n=0){s!==g&&(s=g,h++);var m=p.__frame=h-1;if(!r){var v=Math.min(u,4);(r=i[v])||(r=i[v]=new l("progressive",this,this.dpr)).initContext(),r.__maxProgress=0}r.__dirty=r.__dirty||p.__dirty,r.elCount++,r.__maxProgress=Math.max(r.__maxProgress,m),r.__maxProgress>=r.__progress&&(f.__dirty=!0)}else p.__frame=-1,r&&(r.__nextIdxNotProg=c,u++,r=null)}r&&(u++,r.__nextIdxNotProg=c),this.eachBuiltinLayer(function(t,e){n[e]!==t.elCount&&(t.__dirty=!0)}),i.length=Math.min(u,5),a.each(i,function(t,e){o[e]!==t.elCount&&(p.__dirty=!0),t.__dirty&&(t.__progress=0)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?a.merge(i[t],e,!0):i[t]=e;var n=this._layers[t];n&&a.merge(n,i[t],!0)}},delLayer:function(t){var e=this._layers,i=this._zlevelList,n=e[t];n&&(n.dom.parentNode.removeChild(n.dom),delete e[t],i.splice(a.indexOf(i,t),1))},resize:function(t,e){var i=this._domRoot;i.style.display="none";var n=this._opts;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=this._getSize(0),e=this._getSize(1),i.style.display="",this._width!=t||e!=this._height){for(var o in i.style.width=t+"px",i.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);a.each(this._progressiveLayers,function(i){i.resize(t,e)}),this.refresh(!0)}return this._width=t,this._height=e,this},clearLayer:function(t){var e=this._layers[t];e&&e.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(t=t||{},this._singleCanvas)return this._layers[0].dom;var e=new l("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clearColor=t.backgroundColor,e.clear();var i,n=this.storage.getDisplayList(!0),a={},o=this;function r(t,i){var n,a=o._zlevelList;null==t&&(t=-1/0);for(var r=0;rt&&s=0;n--)a.isIdInner(e[n])&&e.splice(n,1);t[i]=e}}),delete t[g],t},getTheme:function(){return this._theme},getComponent:function(t,e){var i=this._componentsMap.get(t);if(i)return i[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var i,n=t.index,a=t.id,o=t.name,r=this._componentsMap.get(e);if(!r||!r.length)return[];if(null!=n)d(n)||(n=[n]),i=h(c(n,function(t){return r[t]}),function(t){return!!t});else if(null!=a){var s=d(a);i=h(r,function(t){return s&&p(a,t.id)>=0||!s&&t.id===a})}else if(null!=o){var l=d(o);i=h(r,function(t){return l&&p(o,t.name)>=0||!l&&t.name===o})}else i=r.slice();return y(i,t)},findComponents:function(t){var e,i,n,a,o,r=t.query,s=t.mainType,l=(i=s+"Index",n=s+"Id",a=s+"Name",!(e=r)||null==e[i]&&null==e[n]&&null==e[a]?null:{mainType:s,index:e[i],id:e[n],name:e[a]}),u=l?this.queryComponents(l):this._componentsMap.get(s);return o=y(u,t),t.filter?h(o,t.filter):o},eachComponent:function(t,e,i){var a=this._componentsMap;if("function"==typeof t)i=e,e=t,a.each(function(t,n){u(t,function(t,a){e.call(i,n,t,a)})});else if(n.isString(t))u(a.get(t),e,i);else if(f(t)){var o=this.findComponents(t);u(o,e,i)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return h(e,function(e){return e.name===t})},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return h(e,function(e){return e.subType===t})},getSeries:function(){return this._componentsMap.get("series").slice()},eachSeries:function(t,e){u(this._seriesIndices,function(i){var n=this._componentsMap.get("series")[i];t.call(e,n,i)},this)},eachRawSeries:function(t,e){u(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,i){u(this._seriesIndices,function(n){var a=this._componentsMap.get("series")[n];a.subType===t&&e.call(i,a,n)},this)},eachRawSeriesByType:function(t,e,i){return u(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return n.indexOf(this._seriesIndices,t.componentIndex)<0},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){var i=h(this._componentsMap.get("series"),t,e);this._seriesIndices=v(i)},restoreData:function(){var t=this._componentsMap;this._seriesIndices=v(t.get("series"));var e=[];t.each(function(t,i){e.push(i)}),r.topologicalTravel(e,r.getAllClassMainTypes(),function(e,i){u(t.get(e),function(t){t.restoreData()})})}});function v(t){return c(t,function(t){return t.componentIndex})||[]}function y(t,e){return e.hasOwnProperty("subType")?h(t,function(t){return t.subType===e.subType}):t}n.mixin(m,l);var x=m;t.exports=x},"7sW/":function(t,e,i){i("CVlv").__DEV__;var n=i("0MR/"),a=i("JPSp"),o=i("pq8T"),r=i("n1fC").encodeHTML;i("W8Zi");function s(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=o.map(e,function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),o.mergeAll([e,t[0],t[1]])}))}var l=n.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.normal.color",init:function(t){s(t),l.superApply(this,"init",arguments)},mergeOption:function(t){s(t),l.superApply(this,"mergeOption",arguments)},getInitialData:function(t,e){var i=new a(["value"],this);return i.hasItemOption=!1,i.initData(t.data,[],function(t,e,n,a){if(t instanceof Array)return NaN;i.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[a]:o:void 0}),i},formatTooltip:function(t){var e=this.getData().getItemModel(t),i=e.get("name");if(i)return i;var n=e.get("fromName"),a=e.get("toName"),o=[];return null!=n&&o.push(n),null!=a&&o.push(a),r(o.join(" > "))},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,label:{normal:{show:!1,position:"end"}},lineStyle:{normal:{opacity:.5}}}}),u=l;t.exports=u},"86wh":function(t,e,i){var n=i("Jv21"),a=i("036i"),o=a.parsePercent,r=a.linearMap;t.exports=function(t,e,i){t.eachSeriesByType("funnel",function(t){var i=t.getData(),a=t.get("sort"),s=function(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),l=function(t,e){for(var i=t.mapArray("value",function(t){return t}),n=[],a="ascending"===e,o=0,r=t.count();o"),o&&(r+=u(o),null!=i&&(r+=" : ")),null!=i&&(r+=u(n)),r},getData:function(){return this._data},setData:function(t){this._data=t}});a.mixin(c,r.dataFormatMixin);var d=c;t.exports=d},"9/+l":function(t,e,i){i("s8iS"),i("kosc"),i("2aNC"),i("ZYY8")},"94R9":function(t,e,i){var n=i("Jv21"),a=i("DOiN"),o=i("pq8T");function r(t,e,i){o.each(t,function(t){var n,a,o,r=0,s=t.length;for(t.sort(g),o=0;o0){var l=n.getLayout().y+a;n.setLayout({y:l},!0)}r=n.getLayout().y+n.getLayout().dy+e}if((a=r-e-i)>0){l=n.getLayout().y-a;for(n.setLayout({y:l},!0),r=n.getLayout().y,o=s-2;o>=0;--o)(a=(n=t[o]).getLayout().y+n.getLayout().dy+e-r)>0&&(l=n.getLayout().y-a,n.setLayout({y:l},!0)),r=n.getLayout().y}})}function s(t,e){o.each(t.slice().reverse(),function(t){o.each(t,function(t){if(t.outEdges.length){var i=p(t.outEdges,l)/p(t.outEdges,v),n=t.getLayout().y+(i-f(t))*e;t.setLayout({y:n},!0)}})})}function l(t){return f(t.node2)*t.getValue()}function u(t,e){o.each(t,function(t){o.each(t,function(t){if(t.inEdges.length){var i=p(t.inEdges,h)/p(t.inEdges,v),n=t.getLayout().y+(i-f(t))*e;t.setLayout({y:n},!0)}})})}function h(t){return f(t.node1)*t.getValue()}function c(t,e){return t.node2.getLayout().y-e.node2.getLayout().y}function d(t,e){return t.node1.getLayout().y-e.node1.getLayout().y}function p(t,e){for(var i=0,n=t.length,a=-1;++ae?1:t===e?0:NaN}function v(t){return t.getValue()}t.exports=function(t,e,i){t.eachSeriesByType("sankey",function(t){var i=t.get("nodeWidth"),l=t.get("nodeGap"),h=function(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=h;var f=h.width,g=h.height,y=t.getGraph(),x=y.nodes,_=y.edges;!function(t){o.each(t,function(t){var e=p(t.outEdges,v),i=p(t.inEdges,v),n=Math.max(e,i);t.setLayout({value:n},!0)})}(x),function(t,e,i,n,l,h,p){(function(t,e,i){for(var n=t,a=null,r=0;n.length;){a=[];for(var s=0,l=n.length;s0;l--)s(h,c*=.99),r(h,n,i),u(h,c),r(h,n,i)}(t,e,h,n,p),function(t){o.each(t,function(t){t.outEdges.sort(c),t.inEdges.sort(d)}),o.each(t,function(t){var e=0,i=0;o.each(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),o.each(t.inEdges,function(t){t.setLayout({ty:i},!0),i+=t.getLayout().dy})})}(t)}(x,_,i,l,f,g,0!==o.filter(x,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"))})}},"94sY":function(t,e,i){i("CVlv").__DEV__;var n=i("ugOh"),a=i("g5FJ"),o=i("GyiE"),r=i("pq8T");var s=n.extendChartView({type:"heatmap",render:function(t,e,i){var n;e.eachComponent("visualMap",function(e){e.eachTargetSeries(function(i){i===t&&(n=e)})}),this.group.removeAll();var a=t.coordinateSystem;"cartesian2d"===a.type||"calendar"===a.type?this._renderOnCartesianAndCalendar(a,t,i):function(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}(a)&&this._renderOnGeo(a,t,n,i)},dispose:function(){},_renderOnCartesianAndCalendar:function(t,e,i){if("cartesian2d"===t.type)var n=t.getAxis("x"),o=t.getAxis("y"),s=n.getBandWidth(),l=o.getBandWidth();var u=this.group,h=e.getData(),c=e.getModel("itemStyle.normal").getItemStyle(["color"]),d=e.getModel("itemStyle.emphasis").getItemStyle(),p=e.getModel("label.normal"),f=e.getModel("label.emphasis"),g=t.type,m="cartesian2d"===g?[e.coordDimToDataDim("x")[0],e.coordDimToDataDim("y")[0],e.coordDimToDataDim("value")[0]]:[e.coordDimToDataDim("time")[0],e.coordDimToDataDim("value")[0]];h.each(function(i){var n;if("cartesian2d"===g){if(isNaN(h.get(m[2],i)))return;var o=t.dataToPoint([h.get(m[0],i),h.get(m[1],i)]);n=new a.Rect({shape:{x:o[0]-s/2,y:o[1]-l/2,width:s,height:l},style:{fill:h.getItemVisual(i,"color"),opacity:h.getItemVisual(i,"opacity")}})}else{if(isNaN(h.get(m[1],i)))return;n=new a.Rect({z2:1,shape:t.dataToRect([h.get(m[0],i)]).contentShape,style:{fill:h.getItemVisual(i,"color"),opacity:h.getItemVisual(i,"opacity")}})}var v=h.getItemModel(i);h.hasItemOption&&(c=v.getModel("itemStyle.normal").getItemStyle(["color"]),d=v.getModel("itemStyle.emphasis").getItemStyle(),p=v.getModel("label.normal"),f=v.getModel("label.emphasis"));var y=e.getRawValue(i),x="-";y&&null!=y[2]&&(x=y[2]),a.setLabelStyle(c,d,p,f,{labelFetcher:e,labelDataIndex:i,defaultText:x,isRectText:!0}),n.setStyle(c),a.setHoverStyle(n,h.hasItemOption?d:r.extend({},d)),u.add(n),h.setItemGraphicEl(i,n)})},_renderOnGeo:function(t,e,i,n){var s=i.targetVisuals.inRange,l=i.targetVisuals.outOfRange,u=e.getData(),h=this._hmLayer||this._hmLayer||new o;h.blurSize=e.get("blurSize"),h.pointSize=e.get("pointSize"),h.minOpacity=e.get("minOpacity"),h.maxOpacity=e.get("maxOpacity");var c=t.getViewRect().clone(),d=t.getRoamTransform().transform;c.applyTransform(d);var p=Math.max(c.x,0),f=Math.max(c.y,0),g=Math.min(c.width+c.x,n.getWidth()),m=Math.min(c.height+c.y,n.getHeight()),v=g-p,y=m-f,x=u.mapArray(["lng","lat","value"],function(e,i,n){var a=t.dataToPoint([e,i]);return a[0]-=p,a[1]-=f,a.push(n),a}),_=i.getExtent(),b="visualMap.continuous"===i.type?function(t,e){var i=t[1]-t[0];return e=[(e[0]-t[0])/i,(e[1]-t[0])/i],function(t){return t>=e[0]&&t<=e[1]}}(_,i.option.range):function(t,e,i){var n=t[1]-t[0],a=(e=r.map(e,function(e){return{interval:[(e.interval[0]-t[0])/n,(e.interval[1]-t[0])/n]}})).length,o=0;return function(t){for(var n=o;n=0;n--){var r;if((r=e[n].interval)[0]<=t&&t<=r[1]){o=n;break}}return n>=0&&nu&&(i*=u/(r=i+n),n*=u/r),a+o>u&&(a*=u/(r=a+o),o*=u/r),n+a>h&&(n*=h/(r=n+a),a*=h/r),i+o>h&&(i*=h/(r=i+o),o*=h/r),t.moveTo(s+i,l),t.lineTo(s+u-n,l),0!==n&&t.quadraticCurveTo(s+u,l,s+u,l+n),t.lineTo(s+u,l+h-a),0!==a&&t.quadraticCurveTo(s+u,l+h,s+u-a,l+h),t.lineTo(s+o,l+h),0!==o&&t.quadraticCurveTo(s,l+h,s,l+h-o),t.lineTo(s,l+i),0!==i&&t.quadraticCurveTo(s,l,s+i,l)}},AHl2:function(t,e,i){var n=i("akYI");e.Dispatcher=n;var a=i("tPSd"),o="undefined"!=typeof window&&!!window.addEventListener,r=/^(?:mouse|pointer|contextmenu|drag|drop)|click/;function s(t,e,i,n){return i=i||{},n||!a.canvasSupported?l(t,e,i):a.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e.offsetX?(i.zrX=e.offsetX,i.zrY=e.offsetY):l(t,e,i),i}function l(t,e,i){var n=function(t){return t.getBoundingClientRect?t.getBoundingClientRect():{left:0,top:0}}(t);i.zrX=e.clientX-n.left,i.zrY=e.clientY-n.top}var u=o?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};e.clientToLocal=s,e.normalizeEvent=function(t,e,i){if(null!=(e=e||window.event).zrX)return e;var n=e.type;if(n&&n.indexOf("touch")>=0){var a="touchend"!=n?e.targetTouches[0]:e.changedTouches[0];a&&s(t,a,e,i)}else s(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var o=e.button;return null==e.which&&void 0!==o&&r.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e},e.addEventListener=function(t,e,i){o?t.addEventListener(e,i):t.attachEvent("on"+e,i)},e.removeEventListener=function(t,e,i){o?t.removeEventListener(e,i):t.detachEvent("on"+e,i)},e.stop=u,e.notLeftMouse=function(t){return t.which>1}},AJY6:function(t,e,i){var n=i("5WPh"),a=i("0MR/").extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(t,e){return n(t.data,this,e)},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{normal:{opacity:.8}}}});t.exports=a},ALhw:function(t,e,i){var n="\0_ec_interaction_mutex";function a(t){return t[n]||(t[n]={})}i("ugOh").registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),e.take=function(t,e,i){a(t)[e]=i},e.release=function(t,e,i){var n=a(t);n[e]===i&&(n[e]=null)},e.isTaken=function(t,e){return!!a(t)[e]}},AVQ4:function(t,e,i){var n=i("0MR/"),a=i("5WPh"),o=n.extend({type:"series.__base_bar__",getInitialData:function(t,e){return a(t.data,this,e)},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var i=e.dataToPoint(t,!0),n=this.getData(),a=n.getLayout("offset"),o=n.getLayout("size");return i[e.getBaseAxis().isHorizontal()?0:1]+=a+o/2,i}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,itemStyle:{}}});t.exports=o},Agul:function(t,e,i){var n=i("efjw").extend({type:"dataZoom.select"});t.exports=n},AkOL:function(t,e,i){var n=i("pq8T"),a=i("WJPv"),o=i("AD8d"),r=i("g5FJ"),s=i("Jv21"),l=i("xInk"),u=i("v62u"),h=i("G3qZ").createSymbol,c=i("6XJn"),d=i("036i"),p=i("n1fC").encodeHTML,f=n.bind,g=n.each,m=Math.PI,v=l.extend({type:"timeline.slider",init:function(t,e){this.api=e,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(t,e,i,n){if(this.model=t,this.api=i,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var a=this._layout(t,i),o=this._createGroup("mainGroup"),r=this._createGroup("labelGroup"),s=this._axis=this._createAxis(a,t);t.formatTooltip=function(t){return p(s.scale.getLabel(t))},g(["AxisLine","AxisTick","Control","CurrentPointer"],function(e){this["_render"+e](a,o,s,t)},this),this._renderAxisLabel(a,r,s,t),this._position(a,t)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(t,e){var i=t.get("label.normal.position"),n=t.get("orient"),a=function(t,e){return s.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e);null==i||"auto"===i?i="horizontal"===n?a.y+a.height/2=0||"+"===i?"left":"right"},c={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:m/2},p="vertical"===n?a.height:a.width,f=t.getModel("controlStyle"),g=(_=f.get("show"))?f.get("itemSize"):0,v=_?f.get("itemGap"):0,y=g+v,x=t.get("label.normal.rotate")||0;x=x*m/180;var _,b=f.get("position",!0),w=(_=f.get("show",!0))&&f.get("showPlayBtn",!0),S=_&&f.get("showPrevBtn",!0),M=_&&f.get("showNextBtn",!0),T=0,I=p;return"left"===b||"bottom"===b?(w&&(o=[0,0],T+=y),S&&(r=[T,0],T+=y),M&&(l=[I-g,0],I-=y)):(w&&(o=[I-g,0],I-=y),S&&(r=[0,0],T+=y),M&&(l=[I-g,0],I-=y)),u=[T,I],t.get("inverse")&&u.reverse(),{viewRect:a,mainLength:p,orient:n,rotation:d[n],labelRotation:x,labelPosOpt:i,labelAlign:t.get("label.normal.align")||h[n],labelBaseline:t.get("label.normal.verticalAlign")||t.get("label.normal.baseline")||c[n],playPosition:o,prevBtnPosition:r,nextBtnPosition:l,axisExtent:u,controlSize:g,controlGap:v}},_position:function(t,e){var i=this._mainGroup,n=this._labelGroup,a=t.viewRect;if("vertical"===t.orient){var r=o.create(),s=a.x,l=a.y+a.height;o.translate(r,r,[-s,-l]),o.rotate(r,r,-m/2),o.translate(r,r,[s,l]),(a=a.clone()).applyTransform(r)}var u=y(a),h=y(i.getBoundingRect()),c=y(n.getBoundingRect()),d=i.position,p=n.position;p[0]=d[0]=u[0][0];var f,g=t.labelPosOpt;isNaN(g)?(x(d,h,u,1,f="+"===g?0:1),x(p,c,u,1,1-f)):(x(d,h,u,1,f=g>=0?0:1),p[1]=d[1]+g);function v(t){var e=t.position;t.origin=[u[0][0]-e[0],u[1][0]-e[1]]}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function x(t,e,i,n,a){t[n]+=i[n][a]-e[n][a]}i.attr("position",d),n.attr("position",p),i.rotation=n.rotation=t.rotation,v(i),v(n)},_createAxis:function(t,e){var i=e.getData(),n=e.get("axisType"),a=c.createScaleByModel(e,n),o=i.getDataExtent("value");a.setExtent(o[0],o[1]),this._customizeScale(a,i),a.niceTicks();var r=new u("value",a,t.axisExtent,n);return r.model=e,r},_customizeScale:function(t,e){t.getTicks=function(){return e.mapArray(["value"],function(t){return t})},t.getTicksLabels=function(){return n.map(this.getTicks(),t.getLabel,t)}},_createGroup:function(t){var e=this["_"+t]=new r.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,i,a){var o=i.getExtent();a.get("lineStyle.show")&&e.add(new r.Line({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:n.extend({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,i,n){var a=n.getData(),o=i.scale.getTicks();g(o,function(t,o){var s=i.dataToCoord(t),l=a.getItemModel(o),u=l.getModel("itemStyle.normal"),h=l.getModel("itemStyle.emphasis"),c={position:[s,0],onclick:f(this._changeTimeline,this,o)},d=y(l,u,e,c);r.setHoverStyle(d,h.getItemStyle()),l.get("tooltip")?(d.dataIndex=o,d.dataModel=n):d.dataIndex=d.dataModel=null},this)},_renderAxisLabel:function(t,e,i,n){var a=n.getModel("label.normal");if(a.get("show")){var o=n.getData(),s=i.scale.getTicks(),l=c.getFormattedLabels(i,a.get("formatter")),u=i.getLabelInterval();g(s,function(n,a){if(!i.isLabelIgnored(a,u)){var s=o.getItemModel(a),h=s.getModel("label.normal"),c=s.getModel("label.emphasis"),d=i.dataToCoord(n),p=new r.Text({position:[d,0],rotation:t.labelRotation-t.rotation,onclick:f(this._changeTimeline,this,a),silent:!1});r.setTextStyle(p.style,h,{text:l[a],textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(p),r.setHoverStyle(p,r.setTextStyle({},c))}},this)}},_renderControl:function(t,e,i,o){var s=t.controlSize,l=t.rotation,u=o.getModel("controlStyle.normal").getItemStyle(),h=o.getModel("controlStyle.emphasis").getItemStyle(),c=[0,-s/2,s,s],d=o.getPlayState(),p=o.get("inverse",!0);function g(t,i,d,p){if(t){var f=function(t,e,i,o){return r.makePath(t.get(e).replace(/^path:\/\//,""),n.clone(o||{}),new a(i[0],i[1],i[2],i[3]),"center")}(o,i,c,{position:t,origin:[s/2,0],rotation:p?-l:0,rectHover:!0,style:u,onclick:d});e.add(f),r.setHoverStyle(f,h)}}g(t.nextBtnPosition,"controlStyle.nextIcon",f(this._changeTimeline,this,p?"-":"+")),g(t.prevBtnPosition,"controlStyle.prevIcon",f(this._changeTimeline,this,p?"+":"-")),g(t.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),f(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(t,e,i,n){var a=n.getData(),o=n.getCurrentIndex(),r=a.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=f(s._handlePointerDrag,s),t.ondragend=f(s._handlePointerDragend,s),x(t,o,i,n,!0)},onUpdate:function(t){x(t,o,i,n)}};this._currentPointer=y(r,r,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var i=this._toAxisCoord(t)[0],n=this._axis,a=d.asc(n.getExtent().slice());i>a[1]&&(i=a[1]),i=i&&o<=i+e.axisLength&&r>=n&&r<=n+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries(function(i){if(t.contains(i,e)){var n=i.getData();c(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(n,t),r.niceScaleExtent(e.scale,e.model)},this)}},this)},resize:function(t,e){this._rect=o.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,i=this._rect,n=["x","y"],a=["width","height"],o=e.get("layout"),r="horizontal"===o?0:1,s=i[a[r]],l=[0,s],u=this.dimensions.length,h=x(e.get("axisExpandWidth"),l),c=x(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,p=e.get("axisExpandWindow");p?(t=x(p[1]-p[0],l),p[1]=p[0]+t):(t=x(h*(c-1),l),(p=[h*(e.get("axisExpandCenter")||f(u/2))-t/2])[1]=p[0]+t);var v=(s-t)/(u-c);v<3&&(v=0);var y=[f(m(p[0]/h,1))+1,g(m(p[1]/h,1))-1],_=v/h*p[0];return{layout:o,pixelDimIndex:r,layoutBase:i[n[r]],layoutLength:s,axisBase:i[n[1-r]],axisLength:i[a[1-r]],axisExpandable:d,axisExpandWidth:h,axisCollapseWidth:v,axisExpandWindow:p,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:_}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,i=this.dimensions,n=this._makeLayoutInfo(),o=n.layout;e.each(function(t){var e=[0,n.axisLength],i=t.inverse?1:0;t.setExtent(e[i],e[1-i])}),c(i,function(i,r){var s=(n.axisExpandable?function(t,e){var i,n,a=e.layoutLength,o=e.axisExpandWidth,r=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;ta*(1-c[0])?(l="jump",r=s-a*(1-c[2])):(r=s-a*c[1])>=0&&(r=s-a*(1-c[1]))<=0&&(r=0),(r*=e.axisExpandWidth/u)?h(r,n,o,"all"):l="none";else{a=n[1]-n[0];(n=[p(0,o[1]*s/a-a/2)])[1]=d(o[1],n[0]+a),n[0]=n[1]-a}return{axisExpandWindow:n,behavior:l}}};var _=y;t.exports=_},"Bis+":function(t,e,i){var n=i("ugOh"),a=i("25YS"),o=i("3DF9"),r=n.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new a(o)},render:function(t,e,i){var n=t.getData(),a=this._symbolDraw;a.updateData(n),this.group.add(a.group)},updateLayout:function(){this._symbolDraw.updateLayout()},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e)},dispose:function(){}});t.exports=r},BqBk:function(t,e,i){var n=i("g5FJ"),a=i("pq8T");function o(t,e,i,n){for(var a,o=[],r=0;r=0;a--){var o=i[a];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},n.push(o)}},e.firstWalk=function(t,e){var i=t.isExpand?t.children:[],n=t.parentNode.children,l=t.hierNode.i?n[t.hierNode.i-1]:null;if(i.length){!function(t){for(var e=t.children,i=e.length,n=0,a=0;--i>=0;){var o=e[i];o.hierNode.prelim+=n,o.hierNode.modifier+=n,a+=o.hierNode.change,n+=o.hierNode.shift+a}}(t);var u=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;l?(t.hierNode.prelim=l.hierNode.prelim+e(t,l),t.hierNode.modifier=t.hierNode.prelim-u):t.hierNode.prelim=u}else l&&(t.hierNode.prelim=l.hierNode.prelim+e(t,l));t.parentNode.hierNode.defaultAncestor=function(t,e,i,n){if(e){for(var l=t,u=t,h=u.parentNode.children[0],c=e,d=l.hierNode.modifier,p=u.hierNode.modifier,f=h.hierNode.modifier,g=c.hierNode.modifier;c=a(c),u=o(u),c&&u;){l=a(l),h=o(h),l.hierNode.ancestor=t;var m=c.hierNode.prelim+g-u.hierNode.prelim-p+n(c,u);m>0&&(s(r(c,t,i),t,m),p+=m,d+=m),g+=c.hierNode.modifier,p+=u.hierNode.modifier,d+=l.hierNode.modifier,f+=h.hierNode.modifier}c&&!a(l)&&(l.hierNode.thread=c,l.hierNode.modifier+=g-d),u&&!o(h)&&(h.hierNode.thread=u,h.hierNode.modifier+=p-f,i=t)}return i}(t,l,t.parentNode.hierNode.defaultAncestor||n[0],e)},e.secondWalk=function(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier},e.separation=function(t){return arguments.length?t:l},e.radialCoordinate=function(t,e){var i={};return t-=Math.PI/2,i.x=e*Math.cos(t),i.y=e*Math.sin(t),i},e.getViewRect=function(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}},"CH+8":function(t,e){var i=["itemStyle","normal","borderColor"];t.exports=function(t,e){var n=t.get("color");t.eachRawSeriesByType("boxplot",function(e){var a=n[e.seriesIndex%n.length],o=e.getData();o.setVisual({legendSymbol:"roundRect",color:e.get(i)||a}),t.isSeriesFiltered(e)||o.each(function(t){var e=o.getItemModel(t);o.setItemVisual(t,{color:e.get(i,!0)})})})}},CKzu:function(t,e,i){var n=i("g5FJ"),a=i("pq8T");function o(t,e,i){n.Group.call(this),this._createPolyline(t,e,i)}var r=o.prototype;r._createPolyline=function(t,e,i){var a=t.getItemLayout(e),o=new n.Polyline({shape:{points:a}});this.add(o),this._updateCommonStl(t,e,i)},r.updateData=function(t,e,i){var a=t.hostModel,o=this.childAt(0),r={shape:{points:t.getItemLayout(e)}};n.updateProps(o,r,a,e),this._updateCommonStl(t,e,i)},r._updateCommonStl=function(t,e,i){var o=this.childAt(0),r=t.getItemModel(e),s=t.getItemVisual(e,"color"),l=i&&i.lineStyle,u=i&&i.hoverLineStyle;i&&!t.hasItemOption||(l=r.getModel("lineStyle.normal").getLineStyle(),u=r.getModel("lineStyle.emphasis").getLineStyle()),o.useStyle(a.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),o.hoverStyle=u,n.setHoverStyle(this)},r.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},a.inherits(o,n.Group);var s=o;t.exports=s},CSiU:function(t,e,i){var n=i("pq8T"),a=i("tPSd"),o=i("wwvw"),r=i("E+qm"),s=i("pN0p"),l=i("oyeQ"),u=i("gnv6"),h=n.mixin;function c(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}function d(t,e,i){for(var n=0;n2?t.quadraticCurveTo(o[2][0],o[2][1],o[1][0],o[1][1]):t.lineTo(o[1][0],o[1][1])}},findDataIndex:function(t,e){for(var i=this.shape,n=i.segs,r=i.polyline,s=Math.max(this.style.lineWidth,1),l=0;l2){if(o.containStroke(u[0][0],u[0][1],u[2][0],u[2][1],u[1][0],u[1][1],s,t,e))return l}else if(a.containStroke(u[0][0],u[0][1],u[1][0],u[1][1],s,t,e))return l}return-1}});function s(){this.group=new n.Group,this._lineEl=new r}var l=s.prototype;l.updateData=function(t){this.group.removeAll();var e=this._lineEl,i=t.hostModel;e.setShape({segs:t.mapArray(t.getItemLayout),polyline:i.get("polyline")}),e.useStyle(i.getModel("lineStyle.normal").getLineStyle());var n=t.getVisual("color");n&&e.setStyle("stroke",n),e.setStyle("fill"),e.seriesIndex=i.seriesIndex,e.on("mousemove",function(t){e.dataIndex=null;var i=e.findDataIndex(t.offsetX,t.offsetY);i>0&&(e.dataIndex=i)}),this.group.add(e)},l.updateLayout=function(t){var e=t.getData();this._lineEl.setShape({segs:e.mapArray(e.getItemLayout)})},l.remove=function(){this.group.removeAll()};var u=s;t.exports=u},"Cu/a":function(t,e,i){var n=i("pq8T"),a={get:function(t,e,i){var a=n.clone((o[t]||{})[e]);return i&&n.isArray(a)?a[a.length-1]:a}},o={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=a;t.exports=r},DOiN:function(t,e,i){var n=i("pq8T");t.exports=function(){var t=[],e=[];return{key:function(e){return t.push(e),this},sortKeys:function(i){return e[t.length-1]=i,this},entries:function(i){return function i(a,o){if(o>=t.length)return a;var r=[],s=e[o++];return n.each(a,function(t,e){r.push({key:e,values:i(t,o)})}),s?r.sort(function(t,e){return s(t.key,e.key)}):r}(function e(i,a){if(a>=t.length)return i;for(var o=-1,r=i.length,s=t[a++],l={},u={};++o=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t=this.option,e=t.data||[],i=t.axisType,a=this._names=[];if("category"===i){var s=[];n.each(e,function(t,e){var i,o=r.getDataItemValue(t);n.isObject(t)?(i=n.clone(t)).value=e:i=e,s.push(i),n.isString(o)||null!=o&&!isNaN(o)||(o=""),a.push(o+"")}),e=s}var l={category:"ordinal",time:"time"}[i]||"number";(this._data=new o([{name:"value",type:l}],this)).initData(e,a)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;t.exports=l},F34J:function(t,e,i){function n(t,e,i){i.getAxisProxy(t.name,e).reset(i)}function a(t,e,i){i.getAxisProxy(t.name,e).filterData(i)}i("ugOh").registerProcessor(function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(n),t.eachTargetAxis(a)}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy(),i=e.getDataPercentWindow(),n=e.getDataValueWindow();t.setRawRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]},!0)})})},FDph:function(t,e){var i=["lineStyle","normal","opacity"];t.exports=function(t){t.eachSeriesByType("parallel",function(e){var n=e.getModel("itemStyle.normal"),a=e.getModel("lineStyle.normal"),o=t.get("color"),r=a.get("color")||n.get("color")||o[e.seriesIndex%o.length],s=e.get("inactiveOpacity"),l=e.get("activeOpacity"),u=e.getModel("lineStyle.normal").getLineStyle(),h=e.coordinateSystem,c=e.getData(),d={normal:u.opacity,active:l,inactive:s};h.eachActiveState(c,function(t,e){var n=c.getItemModel(e),a=d[t];if("normal"===t){var o=n.get(i,!0);null!=o&&(a=o)}c.setItemVisual(e,"opacity",a)}),c.setVisual("color",r)})}},FJjO:function(t,e,i){var n=i("pq8T"),a=i("0MR/"),o=i("sT2W").seriesModelMixin,r=a.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:["min","Q1","median","Q3","max"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{normal:{color:"#fff",borderWidth:1},emphasis:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});n.mixin(r,o,!0);var s=r;t.exports=s},FMJz:function(t,e,i){var n=i("g5FJ");function a(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=function(t,e,i,o,r,s,l){var u=i.getModel("label.normal"),h=i.getModel("label.emphasis");n.setLabelStyle(t,e,u,h,{labelFetcher:r,labelDataIndex:s,defaultText:r.getRawValue(s),isRectText:!0,autoColor:o}),a(t),a(e)}},FSvA:function(t,e,i){i("CVlv").__DEV__;var n=i("ugOh"),a=i("pq8T"),o=i("Xeae"),r=i("Jv21"),s=i("036i");function l(t,e){var i=t.get("boundingCoords");if(null!=i){var n=i[0],a=i[1];isNaN(n[0])||isNaN(n[1])||isNaN(a[0])||isNaN(a[1])||this.setBoundingRect(n[0],n[1],a[0]-n[0],a[1]-n[1])}var o,l=this.getBoundingRect(),u=t.get("layoutCenter"),h=t.get("layoutSize"),c=e.getWidth(),d=e.getHeight(),p=t.get("aspectScale")||.75,f=l.width/l.height*p,g=!1;if(u&&h&&(u=[s.parsePercent(u[0],c),s.parsePercent(u[1],d)],h=s.parsePercent(h,Math.min(c,d)),isNaN(u[0])||isNaN(u[1])||isNaN(h)||(g=!0)),g){var m={};f>1?(m.width=h,m.height=h/f):(m.height=h,m.width=h*f),m.y=u[1]-m.height/2,m.x=u[0]-m.width/2}else(o=t.getBoxLayoutParams()).aspect=f,m=r.getLayoutRect(o,{width:c,height:d});this.setViewRect(m.x,m.y,m.width,m.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function u(t,e){a.each(e.get("geoCoord"),function(e,i){t.addGeoCoord(i,e)})}var h={dimensions:o.prototype.dimensions,create:function(t,e){var i=[];t.eachComponent("geo",function(t,a){var r=t.get("map"),s=n.getMap(r),h=new o(r+a,r,s&&s.geoJson,s&&s.specialAreas,t.get("nameMap"));h.zoomLimit=t.get("scaleLimit"),i.push(h),u(h,t),t.coordinateSystem=h,h.model=t,h.resize=l,h.resize(t,e)}),t.eachSeries(function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=i[e]}});var r={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}}),a.each(r,function(t,r){var s=n.getMap(r),h=a.map(t,function(t){return t.get("nameMap")}),c=new o(r,r,s&&s.geoJson,s&&s.specialAreas,a.mergeAll(h));c.zoomLimit=a.retrieve.apply(null,a.map(t,function(t){return t.get("scaleLimit")})),i.push(c),c.resize=l,c.resize(t[0],e),a.each(t,function(t){t.coordinateSystem=c,u(c,t)})}),i},getFilledRegions:function(t,e,i){var o=(t||[]).slice();i=i||{};var r=n.getMap(e),s=r&&r.geoJson;if(!s)return t;for(var l=a.createHashMap(),u=s.features,h=0;h=0?"p":"n",d=i.pointToCoord(A[a]),f=h[p][a][c];if("radius"===v.dim)o=f,r=d[0],l=(s=(-d[1]+g)*Math.PI/180)+m*Math.PI/180,Math.abs(r)0?C=I[1]:C===I[1]&&t<0&&(C=I[0]),h[p][a][c]=C}e.setItemLayout(a,{cx:x,cy:_,r0:o,r:r,startAngle:s,endAngle:l})}},!0)}},this)};t.exports=s},FrWZ:function(t,e,i){var n=i("GZqp").extend({type:"dataZoom.select"});t.exports=n},Fvzc:function(t,e,i){var n=i("ugOh");n.registerAction({type:"axisAreaSelect",event:"axisAreaSelected",update:"updateVisual"},function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},function(e){e.axis.model.setActiveIntervals(t.intervals)})}),n.registerAction("parallelAxisExpand",function(t,e){e.eachComponent({mainType:"parallel",query:t},function(e){e.setAxisExpand(t)})})},G3qZ:function(t,e,i){var n=i("pq8T"),a=i("g5FJ"),o=i("WJPv"),r=a.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,a=e.width/2,o=e.height/2;t.moveTo(i,n-o),t.lineTo(i+a,n+o),t.lineTo(i-a,n+o),t.closePath()}}),s=a.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,a=e.width/2,o=e.height/2;t.moveTo(i,n-o),t.lineTo(i+a,n),t.lineTo(i,n+o),t.lineTo(i-a,n),t.closePath()}}),l=a.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,n=e.y,a=e.width/5*3,o=Math.max(a,e.height),r=a/2,s=r*r/(o-r),l=n-o+r+s,u=Math.asin(s/r),h=Math.cos(u)*r,c=Math.sin(u),d=Math.cos(u),p=.6*r,f=.7*r;t.moveTo(i-h,l+s),t.arc(i,l,r,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(i+h-c*p,l+s+d*p,i,n-f,i,n),t.bezierCurveTo(i,n-f,i-h+c*p,l+s+d*p,i-h,l+s),t.closePath()}}),u=a.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.height,n=e.width,a=e.x,o=e.y,r=n/3*2;t.moveTo(a,o),t.lineTo(a+r,o+i),t.lineTo(a,o+i/4*3),t.lineTo(a-r,o+i),t.lineTo(a,o),t.closePath()}}),h={line:a.Line,rect:a.Rect,roundRect:a.Rect,square:a.Rect,circle:a.Circle,diamond:s,pin:l,arrow:u,triangle:r},c={line:function(t,e,i,n,a){a.x1=t,a.y1=e+n/2,a.x2=t+i,a.y2=e+n/2},rect:function(t,e,i,n,a){a.x=t,a.y=e,a.width=i,a.height=n},roundRect:function(t,e,i,n,a){a.x=t,a.y=e,a.width=i,a.height=n,a.r=Math.min(i,n)/4},square:function(t,e,i,n,a){var o=Math.min(i,n);a.x=t,a.y=e,a.width=o,a.height=o},circle:function(t,e,i,n,a){a.cx=t+i/2,a.cy=e+n/2,a.r=Math.min(i,n)/2},diamond:function(t,e,i,n,a){a.cx=t+i/2,a.cy=e+n/2,a.width=i,a.height=n},pin:function(t,e,i,n,a){a.x=t+i/2,a.y=e+n/2,a.width=i,a.height=n},arrow:function(t,e,i,n,a){a.x=t+i/2,a.y=e+n/2,a.width=i,a.height=n},triangle:function(t,e,i,n,a){a.cx=t+i/2,a.cy=e+n/2,a.width=i,a.height=n}},d={};n.each(h,function(t,e){d[e]=new t});var p=a.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},beforeBrush:function(){var t=this.style;"pin"===this.shape.symbolType&&"inside"===t.textPosition&&(t.textPosition=["50%","40%"],t.textAlign="center",t.textVerticalAlign="middle")},buildPath:function(t,e,i){var n=e.symbolType,a=d[n];"none"!==e.symbolType&&(a||(a=d[n="rect"]),c[n](e.x,e.y,e.width,e.height,a.shape),a.buildPath(t,a.shape,i))}});function f(t,e){if("image"!==this.type){var i=this.style,n=this.shape;n&&"line"===n.symbolType?i.stroke=t:this.__isEmptyBrush?(i.stroke=t,i.fill=e||"#fff"):(i.fill&&(i.fill=t),i.stroke&&(i.stroke=t)),this.dirty(!1)}}e.createSymbol=function(t,e,i,n,r,s,l){var u,h=0===t.indexOf("empty");return h&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(u=0===t.indexOf("image://")?a.makeImage(t.slice(8),new o(e,i,n,r),l?"center":"cover"):0===t.indexOf("path://")?a.makePath(t.slice(7),{},new o(e,i,n,r),l?"center":"cover"):new p({shape:{symbolType:t,x:e,y:i,width:n,height:r}})).__isEmptyBrush=h,u.setColor=f,u.setColor(s),u}},G4Fm:function(t,e,i){var n=i("pq8T"),a=n.retrieve,o=n.defaults,r=n.extend,s=n.each,l=i("n1fC"),u=i("g5FJ"),h=i("CSiU"),c=i("036i"),d=c.isRadianAroundZero,p=c.remRadian,f=i("G3qZ").createSymbol,g=i("AD8d"),m=i("vncH").applyTransform,v=Math.PI;function y(t){var e={componentType:t.mainType};return e[t.mainType+"Index"]=t.componentIndex,e}var x=function(t,e){this.opt=e,this.axisModel=t,o(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var i=new u.Group({position:e.position.slice(),rotation:e.rotation});i.updateTransform(),this._transform=i.transform,this._dumbGroup=i};x.prototype={constructor:x,hasBuilder:function(t){return!!_[t]},add:function(t){_[t].call(this)},getGroup:function(){return this.group}};var _={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var i=this.axisModel.axis.getExtent(),n=this._transform,a=[i[0],0],o=[i[1],0];n&&(m(a,a,n),m(o,o,n));var l=r({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new u.Line(u.subPixelOptimizeLine({anid:"line",shape:{x1:a[0],y1:a[1],x2:o[0],y2:o[1]},style:l,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1})));var h=e.get("axisLine.symbol"),c=e.get("axisLine.symbolSize");if(null!=h){"string"==typeof h&&(h=[h,h]),"string"!=typeof c&&"number"!=typeof c||(c=[c,c]);var d=c[0],p=c[1];s([[t.rotation+Math.PI/2,a],[t.rotation-Math.PI/2,o]],function(t,e){if("none"!==h[e]&&null!=h[e]){var i=f(h[e],-d/2,-p/2,d,p,l.stroke,!0);i.attr({rotation:t[0],position:t[1],silent:!0}),this.group.add(i)}},this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,i=function(t,e,i){var n=e.axis;if(!e.get("axisTick.show")||n.scale.isBlank())return;for(var a=e.getModel("axisTick"),r=a.getModel("lineStyle"),s=a.get("length"),l=A(a,i.labelInterval),h=n.getTicksCoords(a.get("alignWithLabel")),c=n.scale.getTicks(),d=e.get("axisLabel.showMinLabel"),p=e.get("axisLabel.showMaxLabel"),f=[],g=[],v=t._transform,y=[],x=h.length,_=0;_g[1]?-1:1,x=["start"===s?g[0]-m*f:"end"===s?g[1]+m*f:(g[0]+g[1])/2,T(s)?t.labelOffset+h*f:0],_=e.get("nameRotate");null!=_&&(_=_*v/180),T(s)?n=b(t.rotation,null!=_?_:t.rotation,h):(n=function(t,e,i,n){var a,o,r=p(i-t.rotation),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;d(r-v/2)?(o=l?"bottom":"top",a="center"):d(r-1.5*v)?(o=l?"top":"bottom",a="center"):(o="middle",a=r<1.5*v&&r>v/2?l?"left":"right":l?"right":"left");return{rotation:r,textAlign:a,textVerticalAlign:o}}(t,s,_||0,g),null!=(o=t.axisNameAvailableWidth)&&(o=Math.abs(o/Math.sin(n.rotation)),!isFinite(o)&&(o=null)));var S=c.getFont(),M=e.get("nameTruncate",!0)||{},I=M.ellipsis,A=a(t.nameTruncateMaxWidth,M.maxWidth,o),C=null!=I&&null!=A?l.truncateText(i,A,S,I,{minChar:2,placeholder:M.placeholder}):i,D=e.get("tooltip",!0),L=e.mainType,P={componentType:L,name:i,$vars:["name"]};P[L+"Index"]=e.componentIndex;var k=new u.Text({anid:"name",__fullText:i,__truncatedText:C,position:x,rotation:n.rotation,silent:w(e),z2:1,tooltip:D&&D.show?r({content:i,formatter:function(){return i},formatterParams:P},D):null});u.setTextStyle(k.style,c,{text:C,textFont:S,textFill:c.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:n.textAlign,textVerticalAlign:n.textVerticalAlign}),e.get("triggerEvent")&&(k.eventData=y(e),k.eventData.targetType="axisName",k.eventData.name=i),this._dumbGroup.add(k),k.updateTransform(),this.group.add(k),k.decomposeTransform()}}},b=x.innerTextLayout=function(t,e,i){var n,a,o=p(e-t);return d(o)?(a=i>0?"top":"bottom",n="center"):d(o-v)?(a=i>0?"bottom":"top",n="center"):(a="middle",n=o>0&&o0?"right":"left":i>0?"left":"right"),{rotation:o,textAlign:n,textVerticalAlign:a}};function w(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)}function S(t){t&&(t.ignore=!0)}function M(t,e,i){var n=t&&t.getBoundingRect().clone(),a=e&&e.getBoundingRect().clone();if(n&&a){var o=g.identity([]);return g.rotate(o,o,-t.rotation),n.applyTransform(g.mul([],o,t.getLocalTransform())),a.applyTransform(g.mul([],o,e.getLocalTransform())),n.intersect(a)}}function T(t){return"middle"===t||"center"===t}var I=x.ifIgnoreOnTick=function(t,e,i,n,a,o){if(0===e&&a||e===n-1&&o)return!1;var r,s=t.scale;return"ordinal"===s.type&&("function"==typeof i?!i(r=s.getTicks()[e],s.getLabel(r)):e%(i+1))},A=x.getInterval=function(t,e){var i=t.get("interval");return null!=i&&"auto"!=i||(i=e),i};var C=x;t.exports=C},GHqV:function(t,e,i){var n=i("pq8T"),a=i("zxje"),o=i("2MQq"),r=i("5DBk"),s=a.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}});n.merge(s.prototype,r),o("single",s,function(t,e){return e.type||(e.data?"category":"value")},{left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:2,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:2}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}});var l=s;t.exports=l},GTmu:function(t,e,i){var n=i("ig4I"),a=n.eachAfter,o=n.eachBefore,r=i("C6p/"),s=r.init,l=r.firstWalk,u=r.secondWalk,h=r.separation,c=r.radialCoordinate,d=r.getViewRect;t.exports=function(t,e){var i=d(t,e);t.layoutInfo=i;var n=t.get("layout"),r=0,p=0,f=null;"radial"===n?(r=2*Math.PI,p=Math.min(i.height,i.width)/2,f=h(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(r=i.width,p=i.height,f=h());var g=t.getData().tree.root,m=g.children[0];s(g),a(m,l,f),g.hierNode.modifier=-m.hierNode.prelim,o(m,u);var v=m,y=m,x=m;o(m,function(t){var e=t.getLayout().x;ey.getLayout().x&&(y=t),t.depth>x.depth&&(x=t)});var _=v===y?1:f(v,y)/2,b=_-v.getLayout().x,w=0,S=0,M=0,T=0;"radial"===n?(w=r/(y.getLayout().x+_+b),S=p/(x.depth-1||1),o(m,function(t){M=(t.getLayout().x+b)*w,T=(t.depth-1)*S;var e=c(M,T);t.setLayout({x:e.x,y:e.y,rawX:M,rawY:T},!0)})):"horizontal"===t.get("orient")?(S=p/(y.getLayout().x+_+b),w=r/(x.depth-1||1),o(m,function(t){T=(t.getLayout().x+b)*S,M=(t.depth-1)*w,t.setLayout({x:M,y:T},!0)})):(w=r/(y.getLayout().x+_+b),S=p/(x.depth-1||1),o(m,function(t){M=(t.getLayout().x+b)*w,T=(t.depth-1)*S,t.setLayout({x:M,y:T},!0)}))}},GVeV:function(t,e,i){var n=i("pq8T"),a=i("uwwo"),o=i("g5FJ"),r=i("sT2W").viewMixin,s=a.extend({type:"candlestick",getStyleUpdater:function(){return h},dispose:n.noop});n.mixin(s,r,!0);var l=["itemStyle","normal"],u=["itemStyle","emphasis"];function h(t,e,i){var n=e.getItemModel(i),a=n.getModel(l),r=e.getItemVisual(i,"color"),s=e.getItemVisual(i,"borderColor")||r,h=a.getItemStyle(["color","color0","borderColor","borderColor0"]),c=t.childAt(t.whiskerIndex);c.useStyle(h),c.style.stroke=s;var d=t.childAt(t.bodyIndex);d.useStyle(h),d.style.fill=r,d.style.stroke=s;var p=n.getModel(u).getItemStyle();o.setHoverStyle(t,p)}var c=s;t.exports=c},GZqp:function(t,e,i){var n=i("l1d8").extend({type:"dataZoom",render:function(t,e,i,n){this.dataZoomModel=t,this.ecModel=e,this.api=i},getTargetCoordInfo:function(){var t=this.dataZoomModel,e=this.ecModel,i={};return t.eachTargetAxis(function(t,n){var a=e.getComponent(t.axis,n);if(a){var o=a.getCoordSysModel();o&&function(t,e,i,n){for(var a,o=0;o0){var T=o(v)?s:l;v>0&&(v=v*S+w),x[_++]=T[M],x[_++]=T[M+1],x[_++]=T[M+2],x[_++]=T[M+3]*v*256}else _+=4}return c.putImageData(y,0,0),h},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=n.createCanvas()),e=this.pointSize+this.blurSize,i=2*e;t.width=i,t.height=i;var a=t.getContext("2d");return a.clearRect(0,0,i,i),a.shadowOffsetX=i,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-e,e,this.pointSize,0,2*Math.PI,!0),a.closePath(),a.fill(),t},_getGradient:function(t,e,i){for(var n=this._gradientPixels,a=n[i]||(n[i]=new Uint8ClampedArray(1024)),o=[0,0,0,0],r=0,s=0;s<256;s++)e[i](s/255,!0,o),a[r++]=o[0],a[r++]=o[1],a[r++]=o[2],a[r++]=o[3];return a}};var o=a;t.exports=o},H12k:function(t,e,i){var n=i("Jv21"),a=n.getLayoutRect,o=n.box,r=n.positionElement,s=i("n1fC"),l=i("g5FJ");e.layout=function(t,e,i){var n=e.getBoxLayoutParams(),s=e.get("padding"),l={width:i.getWidth(),height:i.getHeight()},u=a(n,l,s);o(e.get("orient"),t,e.get("itemGap"),u.width,u.height),r(t,n,l,s)},e.makeBackground=function(t,e){var i=s.normalizeCssArray(e.get("padding")),n=e.getItemStyle(["color","opacity"]);return n.fill=e.get("backgroundColor"),t=new l.Rect({shape:{x:t.x-i[3],y:t.y-i[0],width:t.width+i[1]+i[3],height:t.height+i[0]+i[2],r:e.get("borderRadius")},style:n,silent:!0,z2:-1})}},H1Uk:function(t,e){function i(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}function n(t,e){return{target:t,topTarget:e&&e.topTarget}}i.prototype={constructor:i,_dragStart:function(t){var e=t.target;e&&e.draggable&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(n(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var i=t.offsetX,a=t.offsetY,o=i-this._x,r=a-this._y;this._x=i,this._y=a,e.drift(o,r,t),this.dispatchToElement(n(e,t),"drag",t.event);var s=this.findHover(i,a,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.dispatchToElement(n(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(n(s,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(n(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(n(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var a=i;t.exports=a},HDzU:function(t,e,i){var n=i("pq8T");t.exports=function(t){t&&n.isArray(t.series)&&n.each(t.series,function(t){n.isObject(t)&&"k"===t.type&&(t.type="candlestick")})}},HPvo:function(t,e,i){var n=i("pq8T"),a=n.each,o=n.isArray,r=n.isObject,s=i("jjiN"),l=i("OHyK").normalizeToArray;function u(t){a(h,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var h=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],c=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],d=["bar","boxplot","candlestick","chord","effectScatter","funnel","gauge","lines","graph","heatmap","line","map","parallel","pie","radar","sankey","scatter","treemap"];t.exports=function(t,e){s(t,e),t.series=l(t.series),a(t.series,function(t){if(r(t)){var e=t.type;if("pie"!==e&&"gauge"!==e||null!=t.clockWise&&(t.clockwise=t.clockWise),"gauge"===e){var i=function(t,e){e=e.split(",");for(var i=t,n=0;n=2){if(r&&"spline"!==r){var s=a(o,r,i,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var l=o.length,u=0;u<(i?l:l-1);u++){var h=s[2*u],c=s[2*u+1],d=o[(u+1)%l];t.bezierCurveTo(h[0],h[1],c[0],c[1],d[0],d[1])}}else{"spline"===r&&(o=n(o,i)),t.moveTo(o[0][0],o[0][1]),u=1;for(var p=o.length;ui||d+cr&&(r+=a);var f=Math.atan2(h,u);return f<0&&(f+=a),f>=o&&f<=r||f+a>=o&&f+a<=r}},INO0:function(t,e,i){var n=i("pq8T");function a(t){var e=t.itemStyle||(t.itemStyle={}),i=e.emphasis||(e.emphasis={}),a=t.label||t.label||{},r=a.normal||(a.normal={}),s={normal:1,emphasis:1};n.each(a,function(t,e){s[e]||o(r,e)||(r[e]=t)}),i.label&&!o(a,"emphasis")&&(a.emphasis=i.label,delete i.label)}function o(t,e){return t.hasOwnProperty(e)}t.exports=function(t){var e=t&&t.timeline;n.isArray(e)||(e=e?[e]:[]),n.each(e,function(t){t&&function(t){var e=t.type,i={number:"value",time:"time"};if(i[e]&&(t.axisType=i[e],delete t.type),a(t),o(t,"controlPosition")){var r=t.controlStyle||(t.controlStyle={});o(r,"position")||(r.position=t.controlPosition),"none"!==r.position||o(r,"show")||(r.show=!1,delete r.position),delete t.controlPosition}n.each(t.data||[],function(t){n.isObject(t)&&!n.isArray(t)&&(!o(t,"value")&&o(t,"name")&&(t.value=t.name),a(t))})}(t)})}},IfTX:function(t,e,i){var n=i("Y3z2").circularLayout;t.exports=function(t){t.eachSeriesByType("graph",function(t){"circular"===t.get("layout")&&n(t)})}},Ipcx:function(t,e,i){var n=i("pq8T"),a=i("036i"),o=i("6XJn"),r=a.linearMap;function s(t,e){var i=(t[1]-t[0])/e/2;t[0]+=i,t[1]-=i}var l=[0,1],u=function(t,e,i){this.dim=t,this.scale=e,this._extent=i||[0,0],this.inverse=!1,this.onBand=!1,this._labelInterval};u.prototype={constructor:u,contain:function(t){var e=this._extent,i=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]);return t>=i&&t<=n},containData:function(t){return this.contain(this.dataToCoord(t))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return a.getPixelPrecision(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,e){var i=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&"ordinal"===n.type&&s(i=i.slice(),n.count()),r(t,l,i,e)},coordToData:function(t,e){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&s(i=i.slice(),n.count());var a=r(t,i,l,e);return this.scale.scale(a)},pointToData:function(t,e){},getTicksCoords:function(t){if(this.onBand&&!t){for(var e=this.getBands(),i=[],a=0;a=this._maxSize&&r>0){var l=i.head;i.remove(l),delete n[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new a(e),s.key=t,i.insertEntry(s),n[t]=s}return o},r.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},r.clear=function(){this._list.clear(),this._map={}};var s=o;t.exports=s},J0kj:function(t,e,i){var n=i("lGlH"),a=i("g5FJ"),o=i("uwwo"),r=i("036i"),s=r.parsePercent,l=r.round,u=r.linearMap;function h(t,e){return e&&("string"==typeof e?t=e.replace("{value}",null!=t?t:""):"function"==typeof e&&(t=e(t))),t}var c=2*Math.PI,d=o.extend({type:"gauge",render:function(t,e,i){this.group.removeAll();var n=t.get("axisLine.lineStyle.color"),a=function(t,e){var i=t.get("center"),n=e.getWidth(),a=e.getHeight(),o=Math.min(n,a);return{cx:s(i[0],e.getWidth()),cy:s(i[1],e.getHeight()),r:s(t.get("radius"),o/2)}}(t,i);this._renderMain(t,e,i,n,a)},dispose:function(){},_renderMain:function(t,e,i,n,o){for(var r=this.group,s=t.getModel("axisLine").getModel("lineStyle"),l=t.get("clockwise"),u=-t.get("startAngle")/180*Math.PI,h=((g=-t.get("endAngle")/180*Math.PI)-u)%c,d=u,p=s.get("width"),f=0;f=t&&(0===e?0:n[e-1][0]).4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},{autoColor:z}),silent:!0}))}if(x.get("show")&&L!==b){for(var R=0;R<=w;R++){P=Math.cos(T),k=Math.sin(T);var V=new a.Line({shape:{x1:P*g+p,y1:k*g+f,x2:P*(g-M)+p,y2:k*(g-M)+f},silent:!0,style:D});"auto"===D.stroke&&V.setStyle({stroke:n((L+R/w)/b)}),d.add(V),T+=A}T-=A}else T+=I}},_renderPointer:function(t,e,i,o,r,l,h,c){var d=this.group,p=this._data;if(t.get("pointer.show")){var f=[+t.get("min"),+t.get("max")],g=[l,h],m=t.getData();m.diff(p).add(function(e){var i=new n({shape:{angle:l}});a.initProps(i,{shape:{angle:u(m.get("value",e),f,g,!0)}},t),d.add(i),m.setItemGraphicEl(e,i)}).update(function(e,i){var n=p.getItemGraphicEl(i);a.updateProps(n,{shape:{angle:u(m.get("value",e),f,g,!0)}},t),d.add(n),m.setItemGraphicEl(e,n)}).remove(function(t){var e=p.getItemGraphicEl(t);d.remove(e)}).execute(),m.eachItemGraphicEl(function(t,e){var i=m.getItemModel(e),n=i.getModel("pointer");t.setShape({x:r.cx,y:r.cy,width:s(n.get("width"),r.r),r:s(n.get("length"),r.r)}),t.useStyle(i.getModel("itemStyle.normal").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",o(u(m.get("value",e),f,[0,1],!0))),a.setHoverStyle(t,i.getModel("itemStyle.emphasis").getItemStyle())}),this._data=m}else p&&p.eachItemGraphicEl(function(t){d.remove(t)})},_renderTitle:function(t,e,i,n,o){var r=t.getModel("title");if(r.get("show")){var l=r.get("offsetCenter"),h=o.cx+s(l[0],o.r),c=o.cy+s(l[1],o.r),d=+t.get("min"),p=+t.get("max"),f=t.getData().get("value",0),g=n(u(f,[d,p],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},r,{x:h,y:c,text:t.getData().getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:g,forceRich:!0})}))}},_renderDetail:function(t,e,i,n,o){var r=t.getModel("detail"),l=+t.get("min"),c=+t.get("max");if(r.get("show")){var d=r.get("offsetCenter"),p=o.cx+s(d[0],o.r),f=o.cy+s(d[1],o.r),g=s(r.get("width"),o.r),m=s(r.get("height"),o.r),v=t.getData().get("value",0),y=n(u(v,[l,c],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},r,{x:p,y:f,text:h(v,r.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:y,forceRich:!0})}))}}});t.exports=d},JBqM:function(t,e,i){var n=i("pq8T"),a=i("OHyK"),o=i("zxje"),r=i("CSiU"),s=i("WTbE"),l=i("FSvA"),u=o.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){o.prototype.init.apply(this,arguments),a.defaultEmphasis(t.label,["show"])},optionUpdated:function(){var t=this.option,e=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=n.reduce(t.regions||[],function(t,i){return i.name&&t.set(i.name,new r(i,e)),t},n.createHashMap()),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:.75,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{normal:{show:!1,color:"#000"},emphasis:{show:!0,color:"rgb(100,0,0)"}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new r(null,this,this.ecModel)},getFormattedLabel:function(t,e){var i=this.getRegionModel(t).get("label."+e+".formatter"),n={name:t};return"function"==typeof i?(n.status=e,i(n)):"string"==typeof i?i.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});n.mixin(u,s);var h=u;t.exports=h},JKZk:function(t,e,i){var n=i("g5FJ"),a=i("yaSs"),o=i("pq8T"),r=i("G3qZ").createSymbol,s=i("vncH"),l=i("4cUu");function u(t,e,i){n.Group.call(this),this.add(this.createLine(t,e,i)),this._updateEffectSymbol(t,e)}var h=u.prototype;h.createLine=function(t,e,i){return new a(t,e,i)},h._updateEffectSymbol=function(t,e){var i=t.getItemModel(e).getModel("effect"),n=i.get("symbolSize"),a=i.get("symbol");o.isArray(n)||(n=[n,n]);var s=i.get("color")||t.getItemVisual(e,"color"),l=this.childAt(1);this._symbolType!==a&&(this.remove(l),(l=r(a,-.5,-.5,1,1,s)).z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",s),l.setStyle(i.getItemStyle(["color"])),l.attr("scale",n),l.setColor(s),l.attr("scale",n),this._symbolType=a,this._updateEffectAnimation(t,i,e))},h._updateEffectAnimation=function(t,e,i){var n=this.childAt(1);if(n){var a=this,r=t.getItemLayout(i),s=1e3*e.get("period"),l=e.get("loop"),u=e.get("constantSpeed"),h=o.retrieve(e.get("delay"),function(e){return e/t.count()*s/3}),c="function"==typeof h;if(n.ignore=!0,this.updateAnimationPoints(n,r),u>0&&(s=this.getLineLength(n)/u*1e3),s!==this._period||l!==this._loop){n.stopAnimation();var d=h;c&&(d=h(i)),n.__t>0&&(d=-s*n.__t),n.__t=0;var p=n.animate("",l).when(s,{__t:1}).delay(d).during(function(){a.updateSymbolPosition(n)});l||p.done(function(){a.remove(n)}),p.start()}this._period=s,this._loop=l}},h.getLineLength=function(t){return s.dist(t.__p1,t.__cp1)+s.dist(t.__cp1,t.__p2)},h.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},h.updateData=function(t,e,i){this.childAt(0).updateData(t,e,i),this._updateEffectSymbol(t,e)},h.updateSymbolPosition=function(t){var e=t.__p1,i=t.__p2,n=t.__cp1,a=t.__t,o=t.position,r=l.quadraticAt,s=l.quadraticDerivativeAt;o[0]=r(e[0],n[0],i[0],a),o[1]=r(e[1],n[1],i[1],a);var u=s(e[0],n[0],i[0],a),h=s(e[1],n[1],i[1],a);t.rotation=-Math.atan2(h,u)-Math.PI/2,t.ignore=!1},h.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var i=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,i,e)},o.inherits(u,n.Group);var c=u;t.exports=c},JLmq:function(t,e,i){var n=i("xvTZ").createElement,a=i("pq8T"),o=i("M6HP"),r=i("KRDX"),s=i("kt8u"),l=i("iIoH"),u=l.path,h=l.image,c=l.text;function d(t,e,i){this._svgRoot=t,this._tagNames="string"==typeof e?[e]:e,this._markLabel=i,this.nextId=0}d.prototype.createElement=n,d.prototype.getDefs=function(t){var e=this._svgRoot,i=this._svgRoot.getElementsByTagName("defs");return 0===i.length?t?((i=e.insertBefore(this.createElement("defs"),e.firstChild)).contains||(i.contains=function(t){var e=i.children;if(!e)return!1;for(var n=e.length-1;n>=0;--n)if(e[n]===t)return!0;return!1}),i):null:i[0]},d.prototype.update=function(t,e){if(t){var i=this.getDefs(!1);if(t._dom&&i.contains(t._dom))"function"==typeof e&&e();else{var n=this.add(t);n&&(t._dom=n)}}},d.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},d.prototype.removeDom=function(t){this.getDefs(!1).removeChild(t._dom)},d.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return a.each(this._tagNames,function(i){var n=t.getElementsByTagName(i);e=e.concat([].slice.call(n))}),e},d.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;a.each(t,function(t){t[e._markLabel]="0"})},d.prototype.markUsed=function(t){t&&(t[this._markLabel]="1")},d.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this.getDoms(),i=this;a.each(e,function(e){"1"!==e[i._markLabel]&&t.removeChild(e)})}},d.prototype.getSvgProxy=function(t){return t instanceof o?u:t instanceof r?h:t instanceof s?c:u},d.prototype.getTextSvgElement=function(t){return t.__textSvgEl},d.prototype.getSvgElement=function(t){return t.__svgEl};var p=d;t.exports=p},JPSp:function(t,e,i){(function(e){i("CVlv").__DEV__;var n=i("pq8T"),a=i("CSiU"),o=i("/SD+"),r=i("OHyK"),s=n.isObject,l="undefined"==typeof window?e:window,u={float:void 0===l.Float64Array?Array:l.Float64Array,int:void 0===l.Int32Array?Array:l.Int32Array,ordinal:Array,number:Array,time:Array},h=["stackedOn","hasItemOption","_nameList","_idList","_rawData"];function c(t,e){n.each(h.concat(e.__wrappedMethods||[]),function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t.__wrappedMethods=e.__wrappedMethods}function d(t){this._array=t||[]}d.prototype.pure=!1,d.prototype.count=function(){return this._array.length},d.prototype.getItem=function(t){return this._array[t]};var p=function(t,e){t=t||["x","y"];for(var i={},n=[],a=0;a=0?o[l]=new u.constructor(r[l].length):o[l]=r[l]}return a}f.type="list",f.hasItemOption=!0,f.getDimension=function(t){return isNaN(t)||(t=this.dimensions[t]||t),t},f.getDimensionInfo=function(t){return n.clone(this._dimensionInfos[this.getDimension(t)])},f.initData=function(t,e,i){t=t||[],n.isArray(t)&&(t=new d(t)),this._rawData=t;var a,o=this._storage={},s=this.indices=[],l=this.dimensions,h=this._dimensionInfos,c=t.count(),p=[],f={};e=e||[];for(var g=0;g0&&(S+="__ec__"+f[w]),f[w]++),S&&(p[g]=S)}this._nameList=e,this._idList=p},f.count=function(){return this.indices.length},f.get=function(t,e,i){var n=this._storage,a=this.indices[e];if(null==a||!n[t])return NaN;var o=n[t][a];if(i){var r=this._dimensionInfos[t];if(r&&r.stackable)for(var s=this.stackedOn;s;){var l=s.get(t,e);(o>=0&&l>0||o<=0&&l<0)&&(o+=l),s=s.stackedOn}}return o},f.getValues=function(t,e,i){var a=[];n.isArray(t)||(i=e,e=t,t=this.dimensions);for(var o=0,r=t.length;ol&&(l=o));return this._extent[t+!!e]=[s,l]}return[1/0,-1/0]},f.getSum=function(t,e){var i=0;if(this._storage[t])for(var n=0,a=this.count();nt))return o;a=o-1}}return-1},f.indicesOfNearest=function(t,e,i,n){var a=[];if(!this._storage[t])return a;null==n&&(n=1/0);for(var o=Number.MAX_VALUE,r=-1,s=0,l=this.count();s=0&&r<0)&&(o=h,r=u,a.length=0),a.push(s))}return a},f.getRawIndex=function(t){var e=this.indices[t];return null==e?-1:e},f.getRawDataItem=function(t){return this._rawData.getItem(this.getRawIndex(t))},f.getName=function(t){return this._nameList[this.indices[t]]||""},f.getId=function(t){return this._idList[this.indices[t]]||this.getRawIndex(t)+""},f.each=function(t,e,i,a){"function"==typeof t&&(a=i,i=e,e=t,t=[]);var o=[],r=(t=n.map(g(t),this.getDimension,this)).length,s=this.indices;a=a||this;for(var l=0;lp-f&&(c=p-f,u.length=c);for(var g=0;ge+d&&c>a+d&&c>r+d&&c>l+d||ct+d&&h>i+d&&h>o+d&&h>s+d||hn||l.newline?(o=0,h=m,r+=s+i,s=p.height):s=Math.max(s,p.height)}else{var v=p.height+(g?-g.y+p.y:0);(c=r+v)>a||l.newline?(o+=s+i,r=0,c=v,s=p.width):s=Math.max(s,p.width)}l.newline||(d[0]=o,d[1]=r,"horizontal"===t?o=h+i:r=c+i)})}var c=h,d=n.curry(h,"vertical"),p=n.curry(h,"horizontal");function f(t,e,i){i=r.normalizeCssArray(i||0);var n=e.width,s=e.height,l=o(t.left,n),u=o(t.top,s),h=o(t.right,n),c=o(t.bottom,s),d=o(t.width,n),p=o(t.height,s),f=i[2]+i[0],g=i[1]+i[3],m=t.aspect;switch(isNaN(d)&&(d=n-h-g-l),isNaN(p)&&(p=s-c-f-u),null!=m&&(isNaN(d)&&isNaN(p)&&(m>n/s?d=.8*n:p=.8*s),isNaN(d)&&(d=m*p),isNaN(p)&&(p=d/m)),isNaN(l)&&(l=n-h-d-g),isNaN(u)&&(u=s-c-p-f),t.left||t.right){case"center":l=n/2-d/2-i[3];break;case"right":l=n-d-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-p/2-i[0];break;case"bottom":u=s-p-f}l=l||0,u=u||0,isNaN(d)&&(d=n-g-l-(h||0)),isNaN(p)&&(p=s-f-u-(c||0));var v=new a(l+i[3],u+i[0],d,p);return v.margin=i,v}function g(t,e){return e&&t&&s(l,function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t}e.LOCATION_PARAMS=l,e.HV_NAMES=u,e.box=c,e.vbox=d,e.hbox=p,e.getAvailableSize=function(t,e,i){var n=e.width,a=e.height,s=o(t.x,n),l=o(t.y,a),u=o(t.x2,n),h=o(t.y2,a);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=n),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(h)||isNaN(parseFloat(t.y2)))&&(h=a),i=r.normalizeCssArray(i||0),{width:Math.max(u-s-i[1]-i[3],0),height:Math.max(h-l-i[0]-i[2],0)}},e.getLayoutRect=f,e.positionElement=function(t,e,i,o,r){var s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if(s||l){var h;if("raw"===u)h="group"===t.type?new a(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(h=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();(h=h.clone()).applyTransform(c)}e=f(n.defaults({width:h.width,height:h.height},e),i,o);var d=t.position,p=s?e.x-h.x:0,g=l?e.y-h.y:0;t.attr("position","raw"===u?[p,g]:[d[0]+p,d[1]+g])}},e.sizeCalculable=function(t,e){return null!=t[u[e][0]]||null!=t[u[e][1]]&&null!=t[u[e][2]]},e.mergeLayoutParam=function(t,e,i){!n.isObject(i)&&(i={});var a=i.ignoreSize;!n.isArray(a)&&(a=[a,a]);var o=l(u[0],0),r=l(u[1],1);function l(i,n){var o={},r=0,l={},u=0;if(s(i,function(e){l[e]=t[e]}),s(i,function(t){h(e,t)&&(o[t]=l[t]=e[t]),c(o,t)&&r++,c(l,t)&&u++}),a[n])return c(e,i[1])?l[i[2]]=null:c(e,i[2])&&(l[i[1]]=null),l;if(2!==u&&r){if(r>=2)return o;for(var d=0;d=0&&(i.splice(n,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof r&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var e=this.__zr,i=this.__storage,a=this._children,o=n.indexOf(a,t);return o<0?this:(a.splice(o,1),t.parent=null,i&&(i.delFromStorage(t),t instanceof r&&t.delChildrenFromStorage(i)),e&&e.refresh(),this)},removeAll:function(){var t,e,i=this._children,n=this.__storage;for(e=0;e=-1e-6)return!1;var c=u(a-t,a-r,o-e,o-s)/h;if(c<0||c>1)return!1;var d=u(i-t,a-t,n-e,o-e)/h;return!(d<0||d>1)}function u(t,e,i,n){return t*n-e*i}var h={lineX:o(0),lineY:o(1),rect:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])},rect:function(t,e,i){return t&&i.boundingRect.intersect(t)}},polygon:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])&&n.contain(i.range,t[0],t[1])},rect:function(t,e,i){var o=i.range;if(!t||o.length<=1)return!1;var r=t.x,l=t.y,u=t.width,h=t.height,c=o[0];return!!(n.contain(o,r,l)||n.contain(o,r+u,l)||n.contain(o,r,l+h)||n.contain(o,r+u,l+h)||a.create(t).contain(c[0],c[1])||s(r,l,r+u,l,o)||s(r,l,r,l+h,o)||s(r+u,l,r+u,l+h,o)||s(r,l+h,r+u,l+h,o))||void 0}}};t.exports=h},KeLn:function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("KwOe"),r=i("x0Cw"),s=o.toolbox.magicType;function l(t){this.model=t}l.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z",tiled:"M2.3,2.2h22.8V25H2.3V2.2z M35,2.2h22.8V25H35V2.2zM2.3,35h22.8v22.8H2.3V35z M35,35h22.8v22.8H35V35z"},title:a.clone(s.title),option:{},seriesIndex:{}};var u=l.prototype;u.getIcons=function(){var t=this.model,e=t.get("icon"),i={};return a.each(t.get("type"),function(t){e[t]&&(i[t]=e[t])}),i};var h={line:function(t,e,i,n){if("bar"===t)return a.merge({id:e,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.line")||{},!0)},bar:function(t,e,i,n){if("line"===t)return a.merge({id:e,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.bar")||{},!0)},stack:function(t,e,i,n){if("line"===t||"bar"===t)return a.merge({id:e,stack:"__ec_magicType_stack__"},n.get("option.stack")||{},!0)},tiled:function(t,e,i,n){if("line"===t||"bar"===t)return a.merge({id:e,stack:""},n.get("option.tiled")||{},!0)}},c=[["line","bar"],["stack","tiled"]];u.onclick=function(t,e,i){var n=this.model,o=n.get("seriesIndex."+i);if(h[i]){var r={series:[]};a.each(c,function(t){a.indexOf(t,i)>=0&&a.each(t,function(t){n.setIconStatus(t,"normal")})}),n.setIconStatus(i,"emphasis"),t.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},function(e){var o=e.subType,s=e.id,l=h[i](o,s,e,n);l&&(a.defaults(l,e.option),r.series.push(l));var u=e.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===i||"bar"===i)){var c=u.getAxesByScale("ordinal")[0];if(c){var d=c.dim+"Axis",p=t.queryComponents({mainType:d,index:e.get(name+"Index"),id:e.get(name+"Id")})[0].componentIndex;r[d]=r[d]||[];for(var f=0;f<=p;f++)r[d][p]=r[d][p]||{};r[d][p].boundaryGap="bar"===i}}}),e.dispatchAction({type:"changeMagicType",currentType:i,newOption:r})}},n.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)}),r.register("magicType",l);var d=l;t.exports=d},KwOe:function(t,e){t.exports={toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}}}},Ky7V:function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("tPSd"),r=i("qmu6"),s=i("n1fC"),l=i("036i"),u=i("g5FJ"),h=i("vzzQ"),c=i("Jv21"),d=i("CSiU"),p=i("9BjN"),f=i("6XJn"),g=i("Ox0b"),m=a.bind,v=a.each,y=l.parsePercent,x=new u.Rect({shape:{x:-1,y:-1,width:2,height:2}}),_=n.extendComponentView({type:"tooltip",init:function(t,e){if(!o.node){var i=new r(e.getDom(),e);this._tooltipContent=i}},render:function(t,e,i){if(!o.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var n=this._tooltipContent;n.update(),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel.get("triggerOn");p.register("itemTooltip",this._api,m(function(e,i,n){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(i,n):"leave"===e&&this._hide(n))},this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){n.manuallyShowTip(t,e,i,{x:n._lastX,y:n._lastY})})}},manuallyShowTip:function(t,e,i,n){if(n.from!==this.uid&&!o.node){var a=w(n,i);this._ticket="";var r=n.dataByCoordSys;if(n.tooltip&&null!=n.x&&null!=n.y){var s=x;s.position=[n.x,n.y],s.update(),s.tooltip=n.tooltip,this._tryShow({offsetX:n.x,offsetY:n.y,target:s},a)}else if(r)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,event:{},dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},a);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,n))return;var l=h(n,e),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:n.position,target:l.el,event:{}},a)}else null!=n.x&&null!=n.y&&(i.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().findHover(n.x,n.y).target,event:{}},a))}},manuallyHideTip:function(t,e,i,n){var a=this._tooltipContent;this._alwaysShowContent||a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(w(n,i))},_manuallyAxisShowTip:function(t,e,i,n){var a=n.seriesIndex,o=n.dataIndex,r=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=a&&null!=o&&null!=r){var s=e.getSeriesByIndex(a);if(s)if("axis"===(t=b([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model,t])).get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:o,position:n.position}),!0}},_tryShow:function(t,e){var i=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var n=t.dataByCoordSys;n&&n.length?this._showAxisTooltip(n,t):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,i,e)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,i,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var i=t.get("showDelay");e=a.bind(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},_showAxisTooltip:function(t,e){var i=this._ecModel,n=this._tooltipModel,o=[e.offsetX,e.offsetY],r=[],l=[],u=b([e.tooltipOption,n]);v(t,function(t){v(t.dataByAxis,function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),n=t.value,o=[];if(e&&null!=n){var u=g.getValueLabel(n,e.axis,i,t.seriesDataIndices,t.valueLabelOpt);a.each(t.seriesDataIndices,function(a){var r=i.getSeriesByIndex(a.seriesIndex),s=a.dataIndexInside,h=r&&r.getDataParams(s);h.axisDim=t.axisDim,h.axisIndex=t.axisIndex,h.axisType=t.axisType,h.axisId=t.axisId,h.axisValue=f.getAxisRawValue(e.axis,n),h.axisValueLabel=u,h&&(l.push(h),o.push(r.formatTooltip(s,!0)))});var h=u;r.push((h?s.encodeHTML(h)+"
":"")+o.join("
"))}})},this),r.reverse(),r=r.join("

");var h=e.position;this._showOrMove(u,function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,h,o[0],o[1],this._tooltipContent,l):this._showTooltipContent(u,r,l,Math.random(),o[0],o[1],h)})},_showSeriesItemTooltip:function(t,e,i){var n=this._ecModel,a=e.seriesIndex,o=n.getSeriesByIndex(a),r=e.dataModel||o,s=e.dataIndex,l=e.dataType,u=r.getData(),h=b([u.getItemModel(s),r,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),c=h.get("trigger");if(null==c||"item"===c){var d=r.getDataParams(s,l),p=r.formatTooltip(s,!1,l),f="item_"+r.name+"_"+s;this._showOrMove(h,function(){this._showTooltipContent(h,p,d,f,t.offsetX,t.offsetY,t.position,t.target)}),i({type:"showTip",dataIndexInside:s,dataIndex:u.getRawIndex(s),seriesIndex:a,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var n=e.tooltip;if("string"==typeof n){n={content:n,formatter:n}}var a=new d(n,this._tooltipModel,this._ecModel),o=a.get("content"),r=Math.random();this._showOrMove(a,function(){this._showTooltipContent(a,o,a.get("formatterParams")||{},r,t.offsetX,t.offsetY,t.position,e)}),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,n,a,o,r,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,h=t.get("formatter");r=r||t.get("position");var c=e;if(h&&"string"==typeof h)c=s.formatTpl(h,i,!0);else if("function"==typeof h){var d=m(function(e,n){e===this._ticket&&(u.setContent(n),this._updatePosition(t,r,a,o,u,i,l))},this);this._ticket=n,c=h(i,n,d)}u.setContent(c),u.show(t),this._updatePosition(t,r,a,o,u,i,l)}},_updatePosition:function(t,e,i,n,o,r,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var h=o.getSize(),d=t.get("align"),p=t.get("verticalAlign"),f=s&&s.getBoundingRect().clone();if(s&&f.applyTransform(s.transform),"function"==typeof e&&(e=e([i,n],r,o.el,f,{viewSize:[l,u],contentSize:h.slice()})),a.isArray(e))i=y(e[0],l),n=y(e[1],u);else if(a.isObject(e)){e.width=h[0],e.height=h[1];var g=c.getLayoutRect(e,{width:l,height:u});i=g.x,n=g.y,d=null,p=null}else if("string"==typeof e&&s){var m=function(t,e,i){var n=i[0],a=i[1],o=0,r=0,s=e.width,l=e.height;switch(t){case"inside":o=e.x+s/2-n/2,r=e.y+l/2-a/2;break;case"top":o=e.x+s/2-n/2,r=e.y-a-5;break;case"bottom":o=e.x+s/2-n/2,r=e.y+l+5;break;case"left":o=e.x-n-5,r=e.y+l/2-a/2;break;case"right":o=e.x+s+5,r=e.y+l/2-a/2}return[o,r]}(e,f,h);i=m[0],n=m[1]}else{m=function(t,e,i,n,a,o,r){var s=S(i),l=s.width,u=s.height;null!=o&&(t+l+o>n?t-=l+o:t+=o);null!=r&&(e+u+r>a?e-=u+r:e+=r);return[t,e]}(i,n,o.el,l,u,d?null:20,p?null:20);i=m[0],n=m[1]}if(d&&(i-=M(d)?h[0]/2:"right"===d?h[0]:0),p&&(n-=M(p)?h[1]/2:"bottom"===p?h[1]:0),t.get("confine")){m=function(t,e,i,n,a){var o=S(i),r=o.width,s=o.height;return t=Math.min(t+r,n)-r,e=Math.min(e+s,a)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(i,n,o.el,l,u);i=m[0],n=m[1]}o.moveTo(i,n)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e.length===t.length;return i&&v(e,function(e,n){var a=e.dataByAxis||{},o=(t[n]||{}).dataByAxis||[];(i&=a.length===o.length)&&v(a,function(t,e){var n=o[e]||{},a=t.seriesDataIndices||[],r=n.seriesDataIndices||[];(i&=t.value===n.value&&t.axisType===n.axisType&&t.axisId===n.axisId&&a.length===r.length)&&v(a,function(t,e){var n=r[e];i&=t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})})}),this._lastDataByCoordSys=t,!!i},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){o.node||(this._tooltipContent.hide(),p.unregister("itemTooltip",e))}});function b(t){for(var e=t.pop();t.length;){var i=t.pop();i&&(i instanceof d&&(i=i.get("tooltip",!0)),"string"==typeof i&&(i={formatter:i}),e=new d(i,e,e.ecModel))}return e}function w(t,e){return t.dispatchAction||a.bind(e.dispatchAction,e)}function S(t){var e=t.clientWidth,i=t.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(t);n&&(e+=parseInt(n.paddingLeft,10)+parseInt(n.paddingRight,10)+parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),i+=parseInt(n.paddingTop,10)+parseInt(n.paddingBottom,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:e,height:i}}function M(t){return"center"===t||"middle"===t}t.exports=_},L1IB:function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("yk+f"),r=i("isF1");i("wUwb"),i("46RB"),i("cpPG");n.extendComponentView({type:"parallel",render:function(t,e,i){this._model=t,this._api=i,this._handlers||(this._handlers={},a.each(s,function(t,e){i.getZr().on(e,this._handlers[e]=a.bind(t,this))},this)),o.createOrUpdate(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},dispose:function(t,e){a.each(this._handlers,function(t,i){e.getZr().off(i,t)}),this._handlers=null},_throttledDispatchExpand:function(t){this._dispatchExpand(t)},_dispatchExpand:function(t){t&&this._api.dispatchAction(a.extend({type:"parallelAxisExpand"},t))}});var s={mousedown:function(t){l(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(l(this,"click")&&e){var i=[t.offsetX,t.offsetY];if(Math.pow(e[0]-i[0],2)+Math.pow(e[1]-i[1],2)>5)return;var n=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==n.behavior&&this._dispatchExpand({axisExpandWindow:n.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&l(this,"mousemove")){var e=this._model,i=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),n=i.behavior;"jump"===n&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===n?null:{axisExpandWindow:i.axisExpandWindow,animation:"jump"===n&&null})}}};function l(t,e){var i=t._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===e}n.registerPreprocessor(r)},LNKy:function(t,e,i){var n=i("pq8T");t.exports=function(t){var e=[];n.each(t.series,function(t){t&&"map"===t.type&&(e.push(t),t.map=t.map||t.mapType,n.defaults(t,t.mapLocation))})}},LT21:function(t,e,i){i("DTUV"),i("efjw"),i("GZqp"),i("njw2"),i("ahPG"),i("ss3P"),i("YkfD"),i("F34J"),i("p7np")},LUPm:function(t,e,i){var n=i("ugOh"),a=i("9BjN"),o=n.extendComponentView({type:"axisPointer",render:function(t,e,i){var n=e.getComponent("tooltip"),o=t.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";a.register("axisPointer",i,function(t,e,i){"none"!==o&&("leave"===t||o.indexOf(t)>=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},remove:function(t,e){a.unregister(e.getZr(),"axisPointer"),o.superApply(this._model,"remove",arguments)},dispose:function(t,e){a.unregister("axisPointer",e),o.superApply(this._model,"dispose",arguments)}}),r=o;t.exports=r},La0z:function(t,e,i){var n=i("pq8T"),a=i("tPSd"),o=i("KDQp"),r=i("MreC");function s(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(t,e){for(var i=0;i=0&&(this.delFromStorage(t),this._roots.splice(r,1),t instanceof o&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t.__storage=this,t.dirty(!1),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;t.exports=u},LgtJ:function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=n.extendComponentView({type:"marker",init:function(){this.markerGroupMap=a.createHashMap()},render:function(t,e,i){var n=this.markerGroupMap;n.each(function(t){t.__keep=!1});var a=this.type+"Model";e.eachSeries(function(t){var n=t[a];n&&this.renderSeries(t,n,e,i)},this),n.each(function(t){!t.__keep&&this.group.remove(t.group)},this)},renderSeries:function(){}});t.exports=o},Lh3g:function(t,e,i){var n=i("g5FJ"),a=i("ugOh"),o=n.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0},buildPath:function(t,e){var i=e.extent/2;t.moveTo(e.x1,e.y1-i),t.bezierCurveTo(e.cpx1,e.cpy1-i,e.cpx2,e.cpy2-i,e.x2,e.y2-i),t.lineTo(e.x2,e.y2+i),t.bezierCurveTo(e.cpx2,e.cpy2+i,e.cpx1,e.cpy1+i,e.x1,e.y1+i),t.closePath()}}),r=a.extendChartView({type:"sankey",_model:null,render:function(t,e,i){var a=t.getGraph(),r=this.group,s=t.layoutInfo,l=t.getData(),u=t.getData("edge");this._model=t,r.removeAll(),r.attr("position",[s.x,s.y]),a.eachEdge(function(e){var i=new o;i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var a=e.getModel("lineStyle.normal"),s=a.get("curveness"),l=e.node1.getLayout(),h=e.node2.getLayout(),c=e.getLayout();i.shape.extent=Math.max(1,c.dy);var d=l.x+l.dx,p=l.y+c.sy+c.dy/2,f=h.x,g=h.y+c.ty+c.dy/2,m=d*(1-s)+f*s,v=p,y=d*s+f*(1-s),x=g;switch(i.setShape({x1:d,y1:p,x2:f,y2:g,cpx1:m,cpy1:v,cpx2:y,cpy2:x}),i.setStyle(a.getItemStyle()),i.style.fill){case"source":i.style.fill=e.node1.getVisual("color");break;case"target":i.style.fill=e.node2.getVisual("color")}n.setHoverStyle(i,e.getModel("lineStyle.emphasis").getItemStyle()),r.add(i),u.setItemGraphicEl(e.dataIndex,i)}),a.eachNode(function(e){var i=e.getLayout(),a=e.getModel(),o=a.getModel("label.normal"),s=a.getModel("label.emphasis"),u=new n.Rect({shape:{x:i.x,y:i.y,width:e.getLayout().dx,height:e.getLayout().dy},style:a.getModel("itemStyle.normal").getItemStyle()}),h=e.getModel("itemStyle.emphasis").getItemStyle();n.setLabelStyle(u.style,h,o,s,{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id,isRectText:!0}),u.setStyle("fill",e.getVisual("color")),n.setHoverStyle(u,h),r.add(u),l.setItemGraphicEl(e.dataIndex,u),u.dataType="node"}),!this._data&&t.get("animation")&&r.setClipPath(function(t,e,i){var a=new n.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return n.initProps(a,{shape:{width:t.width+20,height:t.height+20}},e,i),a}(r.getBoundingRect(),t,function(){r.removeClipPath()})),this._data=t.getData()},dispose:function(){}});t.exports=r},M0Y1:function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("x0Cw"),r=n.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},mergeDefaultAndTheme:function(t){r.superApply(this,"mergeDefaultAndTheme",arguments),a.each(this.option.feature,function(t,e){var i=o.get(e);i&&a.merge(t,i.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{normal:{borderColor:"#666",color:"none"},emphasis:{borderColor:"#3E98C5"}}}}),s=r;t.exports=s},M4gd:function(t,e,i){var n=i("pq8T"),a=i("Ipcx"),o=function(t,e,i,n,o){a.call(this,t,e,i),this.type=n||"value",this.position=o||"bottom"};o.prototype={constructor:o,index:0,onZero:!1,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},isLabelIgnored:function(t){if("category"===this.type){var e=this.getLabelInterval();return"function"==typeof e&&!e(t,this.scale.getLabel(t))||t%(e+1)}},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},n.inherits(o,a);var r=o;t.exports=r},M6HP:function(t,e,i){var n=i("YMeF"),a=i("pq8T"),o=i("1w28"),r=i("eBlm"),s=i("GmNI").prototype.getCanvasPattern,l=Math.abs,u=new o(!0);function h(t){n.call(this,t),this.path=null}h.prototype={constructor:h,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(t,e){var i,n=this.style,a=this.path||u,o=n.hasStroke(),r=n.hasFill(),l=n.fill,h=n.stroke,c=r&&!!l.colorStops,d=o&&!!h.colorStops,p=r&&!!l.image,f=o&&!!h.image;(n.bind(t,this,e),this.setTransform(t),this.__dirty)&&(c&&(i=i||this.getBoundingRect(),this._fillGradient=n.getGradient(t,l,i)),d&&(i=i||this.getBoundingRect(),this._strokeGradient=n.getGradient(t,h,i)));c?t.fillStyle=this._fillGradient:p&&(t.fillStyle=s.call(l,t)),d?t.strokeStyle=this._strokeGradient:f&&(t.strokeStyle=s.call(h,t));var g=n.lineDash,m=n.lineDashOffset,v=!!t.setLineDash,y=this.getGlobalScale();a.setScale(y[0],y[1]),this.__dirtyPath||g&&!v&&o?(a.beginPath(t),g&&!v&&(a.setLineDash(g),a.setLineDashOffset(m)),this.buildPath(a,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),r&&a.fill(t),g&&v&&(t.setLineDash(g),t.lineDashOffset=m),o&&a.stroke(t),g&&v&&t.setLineDash([]),this.restoreTransform(t),null!=n.text&&this.drawRectText(t,this.getBoundingRect())},buildPath:function(t,e,i){},createPathProxy:function(){this.path=new o},getBoundingRect:function(){var t=this._rect,e=this.style,i=!t;if(i){var n=this.path;n||(n=this.path=new o),this.__dirtyPath&&(n.beginPath(),this.buildPath(n,this.shape,!1)),t=n.getBoundingRect()}if(this._rect=t,e.hasStroke()){var a=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||i){a.copy(t);var r=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(r=Math.max(r,this.strokeContainThreshold||4)),s>1e-10&&(a.width+=r/s,a.height+=r/s,a.x-=r/s/2,a.y-=r/s/2)}return a}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),a=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var o=this.path.data;if(a.hasStroke()){var s=a.lineWidth,l=a.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(a.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),r.containStroke(o,s/l,t,e)))return!0}if(a.hasFill())return r.contain(o,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):n.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(a.isObject(t))for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]);else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1}},h.extend=function(t){var e=function(e){h.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var i=t.shape;if(i){this.shape=this.shape||{};var n=this.shape;for(var a in i)!n.hasOwnProperty(a)&&i.hasOwnProperty(a)&&(n[a]=i[a])}t.init&&t.init.call(this,e)};for(var i in a.inherits(e,h),t)"style"!==i&&"shape"!==i&&(e.prototype[i]=t[i]);return e},a.inherits(h,n);var c=h;t.exports=c},MJqk:function(t,e,i){var n=i("8PW3").extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{normal:{show:!0,position:"top"},emphasis:{show:!0,position:"top"}},itemStyle:{normal:{borderWidth:0}}}});t.exports=n},Md5P:function(t,e,i){i("zxje").registerSubTypeDefaulter("timeline",function(){return"slider"})},MreC:function(t,e){var i=32,n=7;function a(t,e,i,n){var a=e+1;if(a===i)return 1;if(n(t[a++],t[e])<0){for(;a=0;)a++;return a-e}function o(t,e,i,n,a){for(n===e&&n++;n>>1])<0?l=o:s=o+1;var u=n-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=r}}function r(t,e,i,n,a,o){var r=0,s=0,l=1;if(o(t,e[i+a])>0){for(s=n-a;l0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),r+=a,l+=a}else{for(s=a+1;ls&&(l=s);var u=r;r=a-l,l=a-u}for(r++;r>>1);o(t,e[i+h])>0?r=h+1:l=h}return l}function s(t,e,i,n,a,o){var r=0,s=0,l=1;if(o(t,e[i+a])<0){for(s=a+1;ls&&(l=s);var u=r;r=a-l,l=a-u}else{for(s=n-a;l=0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),r+=a,l+=a}for(r++;r>>1);o(t,e[i+h])<0?l=h:r=h+1}return l}function l(t,e){var i,a,o,l=n,u=0;i=t.length;var h=[];function c(i){var c=a[i],d=o[i],p=a[i+1],f=o[i+1];o[i]=d+f,i===u-3&&(a[i+1]=a[i+2],o[i+1]=o[i+2]),u--;var g=s(t[p],t,c,d,0,e);c+=g,0!==(d-=g)&&0!==(f=r(t[c+d-1],t,p,f,f-1,e))&&(d<=f?function(i,a,o,u){var c=0;for(c=0;c=n||m>=n);if(v)break;y<0&&(y=0),y+=2}if((l=y)<1&&(l=1),1===a){for(c=0;c=0;c--)t[m+c]=t[g+c];return void(t[f]=h[p])}var v=l;for(;;){var y=0,x=0,_=!1;do{if(e(h[p],t[d])<0){if(t[f--]=t[d--],y++,x=0,0==--a){_=!0;break}}else if(t[f--]=h[p--],x++,y=0,1==--u){_=!0;break}}while((y|x)=0;c--)t[m+c]=t[g+c];if(0===a){_=!0;break}}if(t[f--]=h[p--],1==--u){_=!0;break}if(0!==(x=u-r(t[d],h,0,u,u-1,e))){for(u-=x,m=(f-=x)+1,g=(p-=x)+1,c=0;c=n||x>=n);if(_)break;v<0&&(v=0),v+=2}(l=v)<1&&(l=1);if(1===u){for(m=(f-=a)+1,g=(d-=a)+1,c=a-1;c>=0;c--)t[m+c]=t[g+c];t[f]=h[p]}else{if(0===u)throw new Error;for(g=f-(u-1),c=0;c1;){var t=u-2;if(t>=1&&o[t-1]<=o[t]+o[t+1]||t>=2&&o[t-2]<=o[t]+o[t-1])o[t-1]o[t+1])break;c(t)}},this.forceMergeRuns=function(){for(;u>1;){var t=u-2;t>0&&o[t-1]=i;)e|=1&t,t>>=1;return t+e}(s);do{if((u=a(t,n,r,e))c&&(d=c),o(t,n,n+d,n+u,e),u=d}h.pushRun(n,u),h.mergeRuns(),s-=u,n+=u}while(0!==s);h.forceMergeRuns()}}}},NBDH:function(t,e){t.exports={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}}},NCOs:function(t,e){function i(t,e){var i=t[e]-t[1-e];return{span:Math.abs(i),sign:i>0?-1:i<0?1:e?-1:1}}function n(t,e){return Math.min(e[1],Math.max(e[0],t))}t.exports=function(t,e,a,o,r,s){e[0]=n(e[0],a),e[1]=n(e[1],a),t=t||0;var l=a[1]-a[0];null!=r&&(r=n(r,[0,l])),null!=s&&(s=Math.max(s,null!=r?r:0)),"all"===o&&(r=s=Math.abs(e[1]-e[0]),o=0);var u=i(e,o);e[o]+=t;var h=r||0,c=a.slice();u.sign<0?c[0]+=h:c[1]-=h,e[o]=n(e[o],c);var d=i(e,o);return null!=r&&(d.sign!==u.sign||d.spans&&(e[1-o]=e[o]+d.sign*s),e}},Ngo8:function(t,e,i){i("j+uF"),i("zvZu")},NiLS:function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("CSiU"),r=n.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,i){this.mergeDefaultAndTheme(t,i),t.selected=t.selected||{}},mergeOption:function(t){r.superCall(this,"mergeOption",t)},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,i=0;i=0},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}}),s=r;t.exports=s},"Nm3/":function(t,e,i){var n=i("ugOh"),a=i("pq8T");function o(t,e,i){var n,o={},r="toggleSelected"===t;return i.eachComponent("legend",function(i){r&&null!=n?i[n?"select":"unSelect"](e.name):(i[t](e.name),n=i.isSelected(e.name));var s=i.getData();a.each(s,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);o.hasOwnProperty(e)?o[e]=o[e]&&n:o[e]=n}})}),{name:e.name,selected:o}}n.registerAction("legendToggleSelect","legendselectchanged",a.curry(o,"toggleSelected")),n.registerAction("legendSelect","legendselected",a.curry(o,"select")),n.registerAction("legendUnSelect","legendunselected",a.curry(o,"unSelect"))},Nq4Q:function(t,e,i){i("M0Y1"),i("19Mq"),i("QEoZ"),i("KeLn"),i("sVzY"),i("kSeM"),i("lVG5")},Nu2l:function(t,e,i){var n=i("g5FJ"),a=i("G3qZ").createSymbol,o=n.extendShape({shape:{points:null,sizes:null},symbolProxy:null,buildPath:function(t,e){for(var i=e.points,n=e.sizes,a=this.symbolProxy,o=a.shape,r=0;r=0;o--){var r=n[o],s=a[o],l=r[0]-s[0]/2,u=r[1]-s[1]/2;if(t>=l&&e>=u&&t<=l+s[0]&&e<=u+s[1])return o}return-1}});function r(){this.group=new n.Group,this._symbolEl=new o({})}var s=r.prototype;s.updateData=function(t){this.group.removeAll();var e=this._symbolEl,i=t.hostModel;e.setShape({points:t.mapArray(t.getItemLayout),sizes:t.mapArray(function(e){var i=t.getItemVisual(e,"symbolSize");return i instanceof Array||(i=[i,i]),i})}),e.symbolProxy=a(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor,e.useStyle(i.getModel("itemStyle.normal").getItemStyle(["color"]));var n=t.getVisual("color");n&&e.setColor(n),e.seriesIndex=i.seriesIndex,e.on("mousemove",function(t){e.dataIndex=null;var i=e.findDataIndex(t.offsetX,t.offsetY);i>=0&&(e.dataIndex=i)}),this.group.add(e)},s.updateLayout=function(t){var e=t.getData();this._symbolEl.setShape({points:e.mapArray(e.getItemLayout)})},s.remove=function(){this.group.removeAll()};var l=r;t.exports=l},Nu6a:function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("q5mJ"),r=i("CSiU"),s=i("5DBk"),l=o.valueAxis;function u(t,e){return a.defaults({show:e},t)}var h=n.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),i=this.get("scale"),n=this.get("axisLine"),o=this.get("axisTick"),l=this.get("axisLabel"),u=this.get("name"),h=this.get("name.show"),c=this.get("name.formatter"),d=this.get("nameGap"),p=this.get("triggerEvent"),f=a.map(this.get("indicator")||[],function(f){null!=f.max&&f.max>0&&!f.min?f.min=0:null!=f.min&&f.min<0&&!f.max&&(f.max=0);var g=u;if(null!=f.color&&(g=a.defaults({color:f.color},u)),f=a.merge(a.clone(f),{boundaryGap:t,splitNumber:e,scale:i,axisLine:n,axisTick:o,axisLabel:l,name:f.text,nameLocation:"end",nameGap:d,nameTextStyle:g,triggerEvent:p},!1),h||(f.name=""),"string"==typeof c){var m=f.name;f.name=c.replace("{value}",null!=m?m:"")}else"function"==typeof c&&(f.name=c(f.name,f));var v=a.extend(new r(f,null,this.ecModel),s);return v.mainType="radar",v.componentIndex=this.componentIndex,v},this);this.getIndicatorModels=function(){return f}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:a.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}});t.exports=h},NwcI:function(t,e,i){var n=i("ugOh");i("c6Bg"),i("Lh3g");var a=i("94R9"),o=i("Utna");n.registerLayout(a),n.registerVisual(o)},OHyK:function(t,e,i){var n=i("pq8T"),a=i("n1fC"),o=i("036i"),r=i("CSiU"),s=n.each,l=n.isObject;function u(t){return t instanceof Array?t:null==t?[]:[t]}var h={getDataParams:function(t,e){var i=this.getData(e),n=this.getRawValue(t,e),o=i.getRawIndex(t),r=i.getName(t,!0),s=i.getRawDataItem(t),l=i.getItemVisual(t,"color");return{componentType:this.mainType,componentSubType:this.subType,seriesType:"series"===this.mainType?this.subType:null,seriesIndex:this.seriesIndex,seriesId:this.id,seriesName:this.name,name:r,dataIndex:o,data:s,dataType:e,value:n,color:l,marker:a.getTooltipMarker(l),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,i,n,o){e=e||"normal";var r=this.getData(i).getItemModel(t),s=this.getDataParams(t,i);null!=n&&s.value instanceof Array&&(s.value=s.value[n]);var l=r.get([o||"label",e,"formatter"]);return"function"==typeof l?(s.status=e,l(s)):"string"==typeof l?a.formatTpl(l,s):void 0},getRawValue:function(t,e){var i=this.getData(e).getRawDataItem(t);if(null!=i)return!l(i)||i instanceof Array?i:i.value},formatTooltip:n.noop};function c(t){return l(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}var d,p=(d=0,function(){var t="\0__ec_prop_getter_"+d++;return function(e){return e[t]||(e[t]={})}});function f(t,e){return t&&t.hasOwnProperty(e)}e.normalizeToArray=u,e.defaultEmphasis=function(t,e){if(t)for(var i=t.emphasis=t.emphasis||{},n=t.normal=t.normal||{},a=0,o=e.length;a=i.length&&i.push({option:t})}}),i},e.makeIdAndName=function(t){var e=n.createHashMap();s(t,function(t,i){var n=t.exist;n&&e.set(n.id,t)}),s(t,function(t,i){var a=t.option;n.assert(!a||null==a.id||!e.get(a.id)||e.get(a.id)===t,"id duplicates: "+(a&&a.id)),a&&null!=a.id&&e.set(a.id,t),!t.keyInfo&&(t.keyInfo={})}),s(t,function(t,i){var n=t.exist,a=t.option,o=t.keyInfo;if(l(a)){if(o.name=null!=a.name?a.name+"":n?n.name:"\0-",n)o.id=n.id;else if(null!=a.id)o.id=a.id+"";else{var r=0;do{o.id="\0"+o.name+"\0"+r++}while(e.get(o.id))}e.set(o.id,t)}})},e.isIdInner=c,e.compressBatches=function(t,e){var i={},n={};return a(t||[],i),a(e||[],n,i),[o(i),o(n)];function a(t,e,i){for(var n=0,a=t.length;n=0?parseFloat(t)/100*e:parseFloat(t):t},k=function(t,e,i){var n=r.parse(e);i=+i,isNaN(i)&&(i=1),n&&(t.color=A(n[0],n[1],n[2]),t.opacity=i*n[3])},O=function(t,e,i,n){var o="fill"==e,s=t.getElementsByTagName(e)[0];null!=i[e]&&"none"!==i[e]&&(o||!o&&i.lineWidth)?(t[o?"filled":"stroked"]="true",i[e]instanceof g&&D(t,s),s||(s=m.createNode(e)),o?function(t,e,i){var n,o,s=e.fill;if(null!=s)if(s instanceof g){var l,u=0,h=[0,0],c=0,d=1,p=i.getBoundingRect(),f=p.width,m=p.height;if("linear"===s.type){l="gradient";var v=i.transform,y=[s.x*f,s.y*m],x=[s.x2*f,s.y2*m];v&&(a(y,y,v),a(x,x,v));var _=x[0]-y[0],b=x[1]-y[1];(u=180*Math.atan2(_,b)/Math.PI)<0&&(u+=360),u<1e-6&&(u=0)}else{l="gradientradial",y=[s.x*f,s.y*m],v=i.transform;var w=i.scale,T=f,I=m;h=[(y[0]-p.x)/T,(y[1]-p.y)/I],v&&a(y,y,v),T/=w[0]*M,I/=w[1]*M;var C=S(T,I);c=0/C,d=2*s.r/C-c}var D=s.colorStops.slice();D.sort(function(t,e){return t.offset-e.offset});for(var L=D.length,P=[],O=[],E=0;E=2){var R=P[0][0],V=P[1][0],B=P[0][1]*e.opacity,G=P[1][1]*e.opacity;t.type=l,t.method="none",t.focus="100%",t.angle=u,t.color=R,t.color2=V,t.colors=O.join(","),t.opacity=G,t.opacity2=B}"radial"===l&&(t.focusposition=h.join(","))}else k(t,s,e.opacity)}(s,i,n):function(t,e){null!=e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof g||k(t,e.stroke,e.opacity)}(s,i),C(t,s)):(t[o?"filled":"stroked"]="false",D(t,s))},E=[[],[],[]];p.prototype.brushVML=function(t){var e=this.style,i=this._vmlEl;i||(i=m.createNode("shape"),I(i),this._vmlEl=i),O(i,"fill",e,this),O(i,"stroke",e,this);var n=this.transform,o=null!=n,r=i.getElementsByTagName("stroke")[0];if(r){var s=e.lineWidth;if(o&&!e.strokeNoScale){var l=n[0]*n[3]-n[1]*n[2];s*=x(_(l))}r.weight=s+"px"}var u=this.path||(this.path=new f);this.__dirtyPath&&(u.beginPath(),this.buildPath(u,this.shape),u.toStatic(),this.__dirtyPath=!1),i.path=function(t,e){var i,n,o,r,s,l,u=v.M,h=v.C,c=v.L,d=v.A,p=v.Q,f=[],g=t.data,m=t.len();for(r=0;r.01?F&&(W+=.0125):Math.abs(q-R)<1e-4?F&&Wz?A-=.0125:A+=.0125:F&&qR?I+=.0125:I-=.0125),f.push(Z,y(((z-V)*k+L)*M-T),",",y(((R-B)*O+P)*M-T),",",y(((z+V)*k+L)*M-T),",",y(((R+B)*O+P)*M-T),",",y((W*k+L)*M-T),",",y((q*O+P)*M-T),",",y((I*k+L)*M-T),",",y((A*O+P)*M-T)),s=I,l=A;break;case v.R:var U=E[0],j=E[1];U[0]=g[r++],U[1]=g[r++],j[0]=U[0]+g[r++],j[1]=U[1]+g[r++],e&&(a(U,U,e),a(j,j,e)),U[0]=y(U[0]*M-T),j[0]=y(j[0]*M-T),U[1]=y(U[1]*M-T),j[1]=y(j[1]*M-T),f.push(" m ",U[0],",",U[1]," l ",j[0],",",U[1]," l ",j[0],",",j[1]," l ",U[0],",",j[1]);break;case v.Z:f.push(" x ")}if(i>0){f.push(n);for(var J=0;J100&&(R=0,z={});var i,n=V.style;try{n.font=t,i=n.fontFamily.split(",")[0]}catch(t){}e={style:n.fontStyle||"normal",variant:n.fontVariant||"normal",weight:n.fontWeight||"normal",size:0|parseFloat(n.fontSize||12),family:i||"Microsoft YaHei"},z[t]=e,R++}return e}(o.font),b=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';i=i||s.getBoundingRect(r,b,v,x);var w=this.transform;if(w&&!n&&(B.copy(e),B.applyTransform(w),e=B),n)f=e.x,g=e.y;else{var S=o.textPosition,M=o.textDistance;if(S instanceof Array)f=e.x+P(S[0],e.width),g=e.y+P(S[1],e.height),v=v||"left";else{var T=s.adjustTextPositionOnRect(S,e,M);f=T.x,g=T.y,v=v||T.textAlign,x=x||T.textVerticalAlign}}f=s.adjustTextX(f,i.width,v),g=s.adjustTextY(g,i.height,x),g+=i.height/2;var A,D,k,E=m.createNode,N=this._textVmlEl;N?D=(A=(k=N.firstChild).nextSibling).nextSibling:(N=E("line"),A=E("path"),D=E("textpath"),k=E("skew"),D.style["v-text-align"]="left",I(N),A.textpathok=!0,D.on=!0,N.from="0 0",N.to="1000 0.05",C(N,k),C(N,A),C(N,D),this._textVmlEl=N);var G=[f,g],H=N.style;w&&n?(a(G,G,w),k.on=!0,k.matrix=w[0].toFixed(3)+","+w[2].toFixed(3)+","+w[1].toFixed(3)+","+w[3].toFixed(3)+",0,0",k.offset=(y(G[0])||0)+","+(y(G[1])||0),k.origin="0 0",H.left="0px",H.top="0px"):(k.on=!1,H.left=y(f)+"px",H.top=y(g)+"px"),D.string=String(r).replace(/&/g,"&").replace(/"/g,""");try{D.style.font=b}catch(t){}O(N,"fill",{fill:o.textFill,opacity:o.opacity},this),O(N,"stroke",{stroke:o.textStroke,opacity:o.opacity,lineDash:o.lineDash},this),N.style.zIndex=L(this.zlevel,this.z,this.z2),C(t,N)}},H=function(t){D(t,this._textVmlEl),this._textVmlEl=null},F=function(t){C(t,this._textVmlEl)},W=[u,h,c,p,d],q=0;qn[1]&&(n[1]=e[1])})}),n[1]0?0:NaN);var r=i.getMax(!0);null!=r&&"dataMax"!==r&&"function"!=typeof r?e[1]=r:a&&(e[1]=o>0?o-1:NaN),i.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0))}(t,n),n}(this,this._dimName,this.getTargetSeriesModels());var e=this.calculateDataWindow(t.option);this._valueWindow=e.valueWindow,this._percentWindow=e.percentWindow,function(t){var e=t._minMaxSpan={},i=t._dataZoomModel;r(["min","max"],function(n){e[n+"Span"]=i.get(n+"Span");var o=i.get(n+"ValueSpan");if(null!=o&&(e[n+"ValueSpan"]=o,null!=(o=t.getAxisModel().axis.scale.parse(o)))){var r=t._dataExtent;e[n+"Span"]=a.linearMap(r[0]+o,r,[0,100],!0)}})}(this),u(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,u(this,!0))},filterData:function(t){if(t===this._dataZoomModel){var e=this._dimName,i=this.getTargetSeriesModels(),n=t.get("filterMode"),a=this._valueWindow;if("none"!==n){var o=this.getOtherAxisModel();t.get("$fromToolbox")&&o&&"category"===o.get("type")&&(n="empty"),r(i,function(t){var i=t.getData(),o=t.coordDimToDataDim(e);"weakFilter"===n?i&&i.filterSelf(function(t){for(var e,n,r,s=0;sa[1];if(u&&!h&&!c)return!0;u&&(r=!0),h&&(e=!0),c&&(n=!0)}return r&&e&&n}):i&&r(o,function(e){"empty"===n?t.setData(i.map(e,function(t){return s(t)?t:NaN})):i.filterSelf(e,s)})})}}function s(t){return t>=a[0]&&t<=a[1]}}};var h=l;t.exports=h},PTZl:function(t,e,i){i("CVlv").__DEV__;var n=i("ugOh"),a=i("pq8T"),o=i("ilfk"),r=i("CSiU"),s=["#ddd"];function l(t,e){return a.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new r(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var u=n.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var i=this.option;!e&&o.replaceVisualOption(i,t,["inBrush","outOfBrush"]),i.inBrush=i.inBrush||{},i.outOfBrush=i.outOfBrush||{color:s}},setAreas:function(t){t&&(this.areas=a.map(t,function(t){return l(this.option,t)},this))},setBrushOption:function(t){this.brushOption=l(this.option,t),this.brushType=this.brushOption.brushType}});t.exports=u},PgbP:function(t,e,i){var n=i("pq8T"),a=i("JPSp"),o=i("0MR/"),r=i("PrvN"),s=i("n1fC"),l=s.encodeHTML,u=s.addCommas,h=i("WTbE"),c=i("FSvA"),d=o.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],init:function(t){this._fillOption(t,this.getMapType()),d.superApply(this,"init",arguments),this.updateSelectedMap(t.data)},getInitialData:function(t){var e=r(["value"],t.data||[]),i=new a(e,this);return i.initData(t.data),i},mergeOption:function(t){this._fillOption(t,this.getMapType()),d.superApply(this,"mergeOption",arguments),this.updateSelectedMap(this.option.data)},getHostGeoModel:function(){var t=this.option.geoIndex;return null!=t?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},_fillOption:function(t,e){t.data=c.getFilledRegions(t.data,e,t.nameMap)},getRawValue:function(t){return this.getData().get("value",t)},getRegionModel:function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},formatTooltip:function(t){for(var e=this.getData(),i=u(this.getRawValue(t)),n=e.getName(t),a=this.seriesGroup,o=[],r=0;r"+l(n+" : "+i)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),i=this.coordinateSystem,n=i.getRegion(e);return n&&i.dataToPoint(n.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{normal:{show:!1,color:"#000"},emphasis:{show:!0,color:"rgb(100,0,0)"}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{areaColor:"rgba(255,215,0,0.8)"}}}});n.mixin(d,h);var p=d;t.exports=p},PjqC:function(t,e,i){var n=i("pq8T"),a=i("BxDj"),o=i("rXVi"),r=i("036i"),s=i("6XJn"),l=s.getScaleExtent,u=s.niceScaleExtent,h=i("W8Zi");function c(t,e,i){this._model=t,this.dimensions=[],this._indicatorAxes=n.map(t.getIndicatorModels(),function(t,e){var i="indicator_"+e,n=new a(i,new o);return n.name=t.get("name"),n.model=t,t.axis=n,this.dimensions.push(i),n},this),this.resize(t,i),this.cx,this.cy,this.r,this.startAngle}c.prototype.getIndicatorAxes=function(){return this._indicatorAxes},c.prototype.dataToPoint=function(t,e){var i=this._indicatorAxes[e];return this.coordToPoint(i.dataToCoord(t),e)},c.prototype.coordToPoint=function(t,e){var i=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(i),this.cy-t*Math.sin(i)]},c.prototype.pointToData=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=Math.sqrt(e*e+i*i);e/=n,i/=n;for(var a,o=Math.atan2(-i,e),r=1/0,s=-1,l=0;li[0]&&isFinite(f)&&isFinite(i[0]))}else{a.getTicks().length-1>o&&(d=s(d));var g=Math.round((i[0]+i[1])/2/d)*d,m=Math.round(o/2);a.setExtent(r.round(g-m*d),r.round(g+(o-m)*d)),a.setInterval(d)}})},c.dimensions=[],c.create=function(t,e){var i=[];return t.eachComponent("radar",function(n){var a=new c(n,t,e);i.push(a),n.coordinateSystem=a}),t.eachSeriesByType("radar",function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])}),i},h.register("radar",c);var d=c;t.exports=d},PrvN:function(t,e,i){var n=i("pq8T"),a=i("OHyK").normalizeToArray,o=n.each,r=n.isString,s=n.defaults,l={tooltip:1,label:1,itemName:1};function u(t,e,i){e=e||[],i=i||{},t=(t||[]).slice();var u=(i.dimsDef||[]).slice(),d=n.createHashMap(i.encodeDef),p=n.createHashMap(),f=n.createHashMap(),g=[],m=i.dimCount;if(null==m){var v=c(e[0]);m=Math.max(n.isArray(v)&&v.length||1,t.length,u.length),o(t,function(t){var e=t.dimsDef;e&&(m=Math.max(m,e.length))})}for(var y=0;y=0?"p":"n",m=v[i],y=h[a][i][u],x=c[a][i][u];p.isHorizontal()?(n=y,o=m[1]+l,r=m[0]-x,s=d,c[a][i][u]+=r,Math.abs(r)=0||t===e}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[h(t)]}function u(t){return!!t.get("handle.show")}function h(t){return t.type+"||"+t.id}e.collect=function(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,i){var l=e.getComponent("tooltip"),c=e.getComponent("axisPointer"),d=c.get("link",!0)||[],p=[];o(i.getCoordinateSystems(),function(i){if(i.axisPointerEnabled){var f=h(i.model),g=t.coordSysAxesInfo[f]={};t.coordSysMap[f]=i;var m=i.model,v=m.getModel("tooltip",l);if(o(i.getAxes(),r(b,!1,null)),i.getTooltipAxes&&l&&v.get("show")){var y="axis"===v.get("trigger"),x="cross"===v.get("axisPointer.type"),_=i.getTooltipAxes(v.get("axisPointer.axis"));(y||x)&&o(_.baseAxes,r(b,!x||"cross",y)),x&&o(_.otherAxes,r(b,"cross",!1))}}function b(r,l,f){var m=f.model.getModel("axisPointer",c),y=m.get("show");if(y&&("auto"!==y||r||u(m))){null==l&&(l=m.get("triggerTooltip"));var x=(m=r?function(t,e,i,r,s,l){var u=e.getModel("axisPointer"),h={};o(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){h[t]=n.clone(u.get(t))}),h.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(h.type="line");var c=h.label||(h.label={});if(null==c.show&&(c.show=!1),"cross"===s&&(c.show=!0,!l)){var d=h.lineStyle=u.get("crossStyle");d&&n.defaults(c,d.textStyle)}return t.model.getModel("axisPointer",new a(h,i,r))}(f,v,c,e,r,l):m).get("snap"),_=h(f.model),b=l||x||"category"===f.type,w=t.axesInfo[_]={key:_,axis:f,coordSys:i,axisPointerModel:m,triggerTooltip:l,involveSeries:b,snap:x,useHandle:u(m),seriesModels:[]};g[_]=w,t.seriesInvolved|=b;var S=function(t,e){for(var i=e.model,n=e.dim,a=0;ah[1]&&h.reverse(),(null==r||r>h[1])&&(r=h[1]),r';window.open().document.write(p)}else{var f=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});o.dispatchEvent(f)}},o.register("saveAsImage",s);var l=s;t.exports=l},QX4U:function(t,e,i){var n=i("pq8T").each,a="\0_ec_hist_store";function o(t){var e=t[a];return e||(e=t[a]=[{}]),e}e.push=function(t,e){var i=o(t);n(e,function(e,n){for(var a=i.length-1;a>=0&&!i[a][n];a--);if(a<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(o){var r=o.getPercentRange();i[0][n]={dataZoomId:n,start:r[0],end:r[1]}}}}),i.push(e)},e.pop=function(t){var e=o(t),i=e[e.length-1];e.length>1&&e.pop();var a={};return n(i,function(t,i){for(var n=e.length-1;n>=0;n--)if(t=e[n][i]){a[i]=t;break}}),a},e.clear=function(t){t[a]=null},e.count=function(t){return o(t).length}},Qiwu:function(t,e){t.exports=function(t){t.eachSeriesByType("map",function(t){var e=t.get("color"),i=t.getModel("itemStyle.normal"),n=i.get("areaColor"),a=i.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:n,color:a})})}},Qxae:function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("8Grs").updateCenterAndZoom;n.registerAction({type:"geoRoam",event:"geoRoam",update:"updateLayout"},function(t,e){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},function(e){var n=e.coordinateSystem;if("geo"===n.type){var r=o(n,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom),"series"===i&&a.each(e.seriesGroup,function(t){t.setCenter(r.center),t.setZoom(r.zoom)})}})})},R0A8:function(t,e){t.exports=function(t){t.eachSeriesByType("radar",function(t){var e=t.getData(),i=[],n=t.coordinateSystem;if(n){for(var a=0;ar;)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],i=t[1]/180*Math.PI;return[Math.cos(i)*e+this.cx,-Math.sin(i)*e+this.cy]}};var r=o;t.exports=r},RdYU:function(t,e,i){var n=i("9jvM"),a=i("2ljS"),o=i("pq8T").isArrayLike,r=Array.prototype.slice;function s(t,e){return t[e]}function l(t,e,i){t[e]=i}function u(t,e,i){return(e-t)*i+t}function h(t,e,i){return i>.5?e:t}function c(t,e,i,n,a){var o=t.length;if(1==a)for(var r=0;ra)t.length=a;else for(var o=n;o=0&&!(A[i]<=e);i--);i=Math.min(i,_-2)}else{for(i=G;i<_&&!(A[i]>e);i++);i=Math.min(i-1,_-2)}G=i,H=e;var n=A[i+1]-A[i];if(0!==n)if(N=(e-A[i])/n,x)if(R=C[i],z=C[0===i?i:i-1],V=C[i>_-2?_-1:i+1],B=C[i>_-3?_-1:i+2],S)f(z,R,V,B,N,N*N,N*N*N,m(t,s),I);else{if(M)a=f(z,R,V,B,N,N*N,N*N*N,F,1),a=v(F);else{if(T)return h(R,V,N);a=g(z,R,V,B,N,N*N,N*N*N)}y(t,s,a)}else if(S)c(C[i],C[i+1],N,m(t,s),I);else{var a;if(M)c(C[i],C[i+1],N,F,1),a=v(F);else{if(T)return h(C[i],C[i+1],N);a=u(C[i],C[i+1],N)}y(t,s,a)}},ondestroy:i});return e&&"spline"!==e&&(W.easing=e),W}}}var x=function(t,e,i,n){this._tracks={},this._target=t,this._loop=e||!1,this._getter=i||s,this._setter=n||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};x.prototype={when:function(t,e){var i=this._tracks;for(var n in e)if(e.hasOwnProperty(n)){if(!i[n]){i[n]=[];var a=this._getter(this._target,n);if(null==a)continue;0!==t&&i[n].push({time:0,value:m(a)})}i[n].push({time:t,value:e[n]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t=0},e.createNameEach=r,e.eachAxisDim=s,e.createLinkedNodesFinder=function(t,e,i){return function(o){var r,s={nodes:[],records:{}};if(e(function(t){s.records[t.name]={}}),!o)return s;a(o,s);do{r=!1,t(l)}while(r);function l(t){!function(t,e){return n.indexOf(e.nodes,t)>=0}(t,s)&&function(t,a){var o=!1;return e(function(e){n.each(i(t,e)||[],function(t){a.records[e.name][t]&&(o=!0)})}),o}(t,s)&&(a(t,s),r=!0)}return s};function a(t,a){a.nodes.push(t),e(function(e){n.each(i(t,e)||[],function(t){a.records[e.name][t]=!0})})}}},Sj4I:function(t,e,i){var n=i("4cUu"),a=i("vncH"),o=[],r=[],s=[],l=n.quadraticAt,u=a.distSquare,h=Math.abs;function c(t,e,i){for(var n,a=t[0],c=t[1],d=t[2],p=1/0,f=i*i,g=.1,m=.1;m<=.9;m+=.1){o[0]=l(a[0],c[0],d[0],m),o[1]=l(a[1],c[1],d[1],m),(x=h(u(o,e)-f))=0?n+=g:n-=g:_>=0?n-=g:n+=g}return n}t.exports=function(t,e){var i=[],o=n.quadraticSubdivide,r=[[],[],[]],s=[[],[]],l=[];function u(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),e}e/=2,t.eachEdge(function(t,n){var h=t.getLayout(),d=t.getVisual("fromSymbol"),p=t.getVisual("toSymbol");h.__original||(h.__original=[a.clone(h[0]),a.clone(h[1])],h[2]&&h.__original.push(a.clone(h[2])));var f=h.__original;if(null!=h[2]){if(a.copy(r[0],f[0]),a.copy(r[1],f[2]),a.copy(r[2],f[1]),d&&"none"!=d){var g=u(t.node1),m=c(r,f[0],g*e);o(r[0][0],r[1][0],r[2][0],m,i),r[0][0]=i[3],r[1][0]=i[4],o(r[0][1],r[1][1],r[2][1],m,i),r[0][1]=i[3],r[1][1]=i[4]}p&&"none"!=p&&(g=u(t.node2),m=c(r,f[1],g*e),o(r[0][0],r[1][0],r[2][0],m,i),r[1][0]=i[1],r[2][0]=i[2],o(r[0][1],r[1][1],r[2][1],m,i),r[1][1]=i[1],r[2][1]=i[2]),a.copy(h[0],r[0]),a.copy(h[1],r[2]),a.copy(h[2],r[1])}else a.copy(s[0],f[0]),a.copy(s[1],f[1]),a.sub(l,s[1],s[0]),a.normalize(l,l),d&&"none"!=d&&(g=u(t.node1),a.scaleAndAdd(s[0],s[0],l,g*e)),p&&"none"!=p&&(g=u(t.node2),a.scaleAndAdd(s[1],s[1],l,-g*e)),a.copy(h[0],s[0]),a.copy(h[1],s[1])})}},"T/EP":function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("ilfk"),r=i("/kis");function s(t,e,i,n){for(var a=e.targetVisuals[n],o=r.prepareVisualTypes(a),s={color:t.getData().getVisual("color")},l=0,u=o.length;le+s&&r>n+s||rt+s&&o>i+s||oi&&(i=e)});var n=e[0];n&&n.length-1>i&&(i=n.length-1);for(var o=[],r=0;r<=i;r++)o.push("dim"+r);return o}(u,s),c=a.map(h,function(t,i){var n=a.indexOf(u,t),h=n>=0&&e.getComponent("parallelAxis",o[n]);return h&&"category"===h.get("type")?(function(t,e,i){var n=t.get("data"),o=l(e);n&&n.length&&a.each(i,function(t){if(t){var e=a.indexOf(n,t[o]);t[o]=e>=0?e:NaN}})}(h,t,s),{name:t,type:"ordinal"}):n<0&&r.guessOrdinal(s,i)?{name:t,type:"ordinal"}:t}),d=new n(c,this);return d.initData(s),this.option.progressive&&(this.option.animation=!1),d},getRawIndicesByActiveState:function(t){var e=this.coordinateSystem,i=this.getData(),n=[];return e.eachActiveState(i,function(e,a){t===e&&n.push(i.getRawIndex(a))}),n},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{normal:{show:!1},emphasis:{show:!1}},inactiveOpacity:.05,activeOpacity:1,lineStyle:{normal:{width:1,opacity:.45,type:"solid"}},progressive:!1,smooth:!1,animationEasing:"linear"}});function l(t){return+t.replace("dim","")}t.exports=s},TmvG:function(t,e,i){var n=i("ugOh"),a=i("pq8T");i("AJY6"),i("bC3T");var o=i("skFg"),r=i("ZZjo");i("qeV9"),n.registerVisual(a.curry(o,"scatter","circle",null)),n.registerLayout(a.curry(r,"scatter"))},Twa9:function(t,e,i){var n=i("pq8T");t.exports=function(t){var e={};t.eachSeriesByType("map",function(t){var i=t.getHostGeoModel(),n=i?"o"+i.id:"i"+t.getMapType();(e[n]=e[n]||[]).push(t)}),n.each(e,function(t,e){for(var i,a,o,r,s=(i=n.map(t,function(t){return t.getData()}),a=t[0].get("mapValueCalculation"),o={},r=["value"],n.each(i,function(t){t.each(r,function(e,i){var n="ec-"+t.getName(i);o[n]=o[n]||[],isNaN(e)||o[n].push(e)})}),i[0].map(r,function(t,e){for(var n,r="ec-"+i[0].getName(e),s=0,l=1/0,u=-1/0,h=o[r].length,c=0;cS.x)||(_-=Math.PI);var I=b?"left":"right";x.setStyle({textPosition:I,textRotation:-_,textOrigin:"center",verticalAlign:"middle"})}if(c.parentNode&&c.parentNode!==p){var A=i.__edge;A||(A=i.__edge=new a.BezierCurve({shape:d(l,v,v),style:n.defaults({opacity:0},l.lineStyle)})),a.updateProps(A,{shape:d(l,m,y),style:{opacity:1}},s),r.add(A)}}function c(t,e,i,n,o,r){for(var s,l=t.tree.getNodeByDataIndex(e),h=t.tree.root,c=(r=u(l,l.getModel(),r),l.parentNode===h?l:l.parentNode||l);null==(s=c.getLayout());)c=c.parentNode===h?c:c.parentNode||c;a.updateProps(i,{position:[s.x+1,s.y+1]},o,function(){n.remove(i),t.setItemGraphicEl(e,null)}),i.fadeOut(null,{keepLabel:!0});var p=i.__edge;p&&a.updateProps(p,{shape:d(r,s,s),style:{opacity:0}},o,function(){n.remove(p)})}function d(t,e,i){var n,a,o,s,l=t.orient;if("radial"===t.layout){var u=e.rawX,h=e.rawY,c=i.rawX,d=i.rawY,p=r(u,h),f=r(u,h+(d-h)*t.curvature),g=r(c,d+(h-d)*t.curvature),m=r(c,d);return{x1:p.x,y1:p.y,x2:m.x,y2:m.y,cpx1:f.x,cpy1:f.y,cpx2:g.x,cpy2:g.y}}u=e.x,h=e.y,c=i.x,d=i.y;return"horizontal"===l&&(n=u+(c-u)*t.curvature,a=h,o=c+(u-c)*t.curvature,s=d),"vertical"===l&&(n=u,a=h+(d-h)*t.curvature,o=c,s=d+(h-d)*t.curvature),{x1:u,y1:h,x2:c,y2:d,cpx1:n,cpy1:a,cpx2:o,cpy2:s}}t.exports=s},UPh6:function(t,e,i){var n=i("ugOh");i("L1IB"),i("TcRI"),i("BqBk");var a=i("FDph");n.registerVisual(a)},UW6u:function(t,e,i){i("CVlv").__DEV__;var n=i("ugOh"),a=i("pq8T"),o=i("G4Fm"),r=i("g5FJ"),s=["axisLine","axisTickLabel","axisName"],l=n.extendComponentView({type:"radar",render:function(t,e,i){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes(),n=a.map(i,function(t){return new o(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})});a.each(n,function(t){a.each(s,t.add,t),this.group.add(t.getGroup())},this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes();if(i.length){var n=t.get("shape"),o=t.getModel("splitLine"),s=t.getModel("splitArea"),l=o.getModel("lineStyle"),u=s.getModel("areaStyle"),h=o.get("show"),c=s.get("show"),d=l.get("color"),p=u.get("color");d=a.isArray(d)?d:[d],p=a.isArray(p)?p:[p];var f=[],g=[];if("circle"===n)for(var m=i[0].getTicksCoords(),v=e.cx,y=e.cy,x=0;x=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new d(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},d.create=function(t){return new d(t.x,t.y,t.width,t.height)};var p=d;t.exports=p},"WO/q":function(t,e,i){var n=i("ugOh"),a=i("g5FJ"),o=i("pq8T"),r=i("G3qZ");var s=n.extendChartView({type:"radar",render:function(t,e,i){var n=t.coordinateSystem,s=this.group,l=t.getData(),u=this._data;function h(t,e){var i=t.getItemVisual(e,"symbol")||"circle",n=t.getItemVisual(e,"color");if("none"!==i){var a=function(t){return o.isArray(t)||(t=[+t,+t]),t}(t.getItemVisual(e,"symbolSize")),s=r.createSymbol(i,-1,-1,2,2,n);return s.attr({style:{strokeNoScale:!0},z2:100,scale:[a[0]/2,a[1]/2]}),s}}function c(e,i,n,o,r,s){n.removeAll();for(var l=0;l=11?function(){var e,i=this.__clipPaths,n=this.style;if(i)for(var o=0;o0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,i){for(var n=("radial"===e.type?o:a)(t,e,i),r=e.colorStops,s=0;s=e.y&&t[1]<=e.y+e.height:i.contain(i.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),i=this.getRect(),n=[],a="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),n[a]=e.toGlobalCoord(e.dataToCoord(+t)),n[1-a]=0===a?i.y+i.height/2:i.x+i.width/2,n}};var s=r;t.exports=s},XUhE:function(t,e,i){var n=i("M6HP"),a=i("1w28"),o=i("+Fou"),r=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"],s=Math.sqrt,l=Math.sin,u=Math.cos,h=Math.PI,c=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},d=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(c(t)*c(e))},p=function(t,e){return(t[0]*e[1]1&&(r*=s(_),c*=s(_));var b=(a===o?-1:1)*s((r*r*(c*c)-r*r*(x*x)-c*c*(y*y))/(r*r*(x*x)+c*c*(y*y)))||0,w=b*r*x/c,S=b*-c*y/r,M=(t+i)/2+u(v)*w-l(v)*S,T=(e+n)/2+l(v)*w+u(v)*S,I=p([1,0],[(y-w)/r,(x-S)/c]),A=[(y-w)/r,(x-S)/c],C=[(-1*y-w)/r,(-1*x-S)/c],D=p(A,C);d(A,C)<=-1&&(D=h),d(A,C)>=1&&(D=0),0===o&&D>0&&(D-=2*h),1===o&&D<0&&(D+=2*h),m.addData(g,M,T,r,c,I,D,v,o)}function g(t,e){var i=function(t){if(!t)return[];var e,i=t.replace(/-/g," -").replace(/ /g," ").replace(/ /g,",").replace(/,,/g,",");for(e=0;e0&&""===m[0]&&m.shift();for(var v=0;v0?h.pixelStart+h.pixelLength-h.pixel:h.pixel-h.pixelStart)/h.pixelLength*(s[1]-s[0])+s[0];n=Math.max(1/n,0),s[0]=(s[0]-c)*n+c,s[1]=(s[1]-c)*n+c;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return o(0,s,[0,100],0,d.minSpan,d.maxSpan),this._range=s}}}),u={grid:function(t,e,i,n,a){var o=i.axis,r={},s=a.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(r.pixel=e[0]-t[0],r.pixelLength=s.width,r.pixelStart=s.x,r.signal=o.inverse?1:-1):(r.pixel=e[1]-t[1],r.pixelLength=s.height,r.pixelStart=s.y,r.signal=o.inverse?-1:1),r},polar:function(t,e,i,n,a){var o=i.axis,r={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===i.mainType?(r.pixel=e[0]-t[0],r.pixelLength=l[1]-l[0],r.pixelStart=l[0],r.signal=o.inverse?1:-1):(r.pixel=e[1]-t[1],r.pixelLength=u[1]-u[0],r.pixelStart=u[0],r.signal=o.inverse?-1:1),r},singleAxis:function(t,e,i,n,a){var o=i.axis,r=a.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=r.width,s.pixelStart=r.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=r.height,s.pixelStart=r.y,s.signal=o.inverse?-1:1),s}},h=l;t.exports=h},YmCy:function(t,e,i){var n=i("pq8T");e.createWrap=function(){var t,e=[],i={};return{add:function(t,a,o,r,s){return n.isString(r)&&(s=r,r=0),!i[t.id]&&(i[t.id]=1,e.push({el:t,target:a,time:o,delay:r,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var n=e.length,a=0,o=e.length;a=0)&&(C=t);var L=new s.Text({position:e.center.slice(),scale:[1/p[0],1/p[1]],z2:10,silent:!0});s.setLabelStyle(L.style,L.hoverStyle={},b,w,{labelFetcher:C,labelDataIndex:D,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),i.add(L)}if(h)h.setItemGraphicEl(o,i);else{var P=t.getRegionModel(e.name);a.eventData={componentType:"geo",geoIndex:t.componentIndex,name:e.name,region:P&&P.option||{}}}(i.__regions||(i.__regions=[])).push(e),s.setHoverStyle(i,_,{hoverSilentOnTouch:!!t.get("selectedMode")}),d.add(i)}),this._updateController(t,e,i),function(t,e,i,a,o){i.off("click"),i.off("mousedown"),e.get("selectedMode")&&(i.on("mousedown",function(){t._mouseDownFlag=!0}),i.on("click",function(r){if(t._mouseDownFlag){t._mouseDownFlag=!1;for(var s=r.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===e.mainType?"geo":"map")+"ToggleSelect",batch:n.map(s.__regions,function(t){return{name:t.name,from:o.uid}})};l[e.mainType+"Id"]=e.id,a.dispatchAction(l),u(e,i)}}}))}(this,t,d,i,a),u(t,d)},remove:function(){this.group.removeAll(),this._controller.dispose(),this._controllerHost={}},_updateController:function(t,e,i){var a=t.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=t.get("scaleLimit"),l.zoom=a.getZoom(),s.enable(t.get("roam")||!1);var u=t.mainType;function h(){var e={type:"geoRoam",componentType:u};return e[u+"Id"]=t.id,e}s.off("pan").on("pan",function(t,e){this._mouseDownFlag=!1,o.updateViewOnPan(l,t,e),i.dispatchAction(n.extend(h(),{dx:t,dy:e}))},this),s.off("zoom").on("zoom",function(t,e,a){if(this._mouseDownFlag=!1,o.updateViewOnZoom(l,t,e,a),i.dispatchAction(n.extend(h(),{zoom:t,originX:e,originY:a})),this._updateGroup){var r=this.group,s=r.scale;r.traverse(function(t){"text"===t.type&&t.attr("scale",[1/s[0],1/s[1]])})}},this),s.setPointerChecker(function(e,n,o){return a.getViewRectAfterRoam().contain(n,o)&&!r(e,i,t)})}};var c=h;t.exports=c},aJ4C:function(t,e,i){i("iIoH"),(0,i("qH1V").registerPainter)("svg",i("tev2"))},aRXx:function(t,e,i){var n=i("pq8T"),a=i("mail"),o=i("036i"),r=i("rXVi"),s=a.prototype,l=r.prototype,u=o.getPrecisionSafe,h=o.round,c=Math.floor,d=Math.ceil,p=Math.pow,f=Math.log,g=a.extend({type:"log",base:10,$constructor:function(){a.apply(this,arguments),this._originalScale=new r},getTicks:function(){var t=this._originalScale,e=this._extent,i=t.getExtent();return n.map(l.getTicks.call(this),function(n){var a=o.round(p(this.base,n));return a=n===e[0]&&t.__fixMin?m(a,i[0]):a,a=n===e[1]&&t.__fixMax?m(a,i[1]):a},this)},getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),p(this.base,t)},setExtent:function(t,e){var i=this.base;t=f(t)/f(i),e=f(e)/f(i),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=p(t,e[0]),e[1]=p(t,e[1]);var i=this._originalScale,n=i.getExtent();return i.__fixMin&&(e[0]=m(e[0],n[0])),i.__fixMax&&(e[1]=m(e[1],n[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=f(t[0])/f(e),t[1]=f(t[1])/f(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getDataExtent(e,!0,function(t){return t>0}))},niceTicks:function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(i===1/0||i<=0)){var n=o.quantity(i);for(t/i*n<=.5&&(n*=10);!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0;)n*=10;var a=[o.round(d(e[0]/n)*n),o.round(c(e[1]/n)*n)];this._interval=n,this._niceExtent=a}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function m(t,e){return h(t,u(e))}n.each(["contain","normalize"],function(t){g.prototype[t]=function(e){return e=f(e)/f(this.base),s[t].call(this,e)}}),g.create=function(){return new g};var v=g;t.exports=v},aeLC:function(t,e,i){var n=i("ugOh");i("Z/N6"),i("JYS2"),i("Ky7V"),n.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),n.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ahPG:function(t,e,i){var n=i("pq8T"),a=i("AHl2"),o=i("g5FJ"),r=i("yk+f"),s=i("GZqp"),l=i("036i"),u=i("Jv21"),h=i("NCOs"),c=o.Rect,d=l.linearMap,p=l.asc,f=n.bind,g=n.each,m="horizontal",v=5,y=["line","bar","candlestick","scatter"],x=s.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,i,n){x.superApply(this,"render",arguments),r.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){x.superApply(this,"remove",arguments),r.clear(this,"_dispatchZoomAction")},dispose:function(){x.superApply(this,"dispose",arguments),r.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new o.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,i=this._findCoordRect(),a={width:e.getWidth(),height:e.getHeight()},o=this._orient===m?{right:a.width-i.x-i.width,top:a.height-30-7,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},r=u.getLayoutParams(t.option);n.each(["right","top","width","height"],function(t){"ph"===r[t]&&(r[t]=o[t])});var s=u.getLayoutRect(r,a,t.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),a=n&&n.get("inverse"),o=this._displayables.barGroup,r=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(i!==m||a?i===m&&a?{scale:r?[-1,1]:[-1,-1]}:"vertical"!==i||a?{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=t.getBoundingRect([o]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,i=this._displayables.barGroup;i.add(new c({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),i.add(new c({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:n.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,i=t.series,a=i.getRawData(),r=i.getShadowDim?i.getShadowDim():t.otherDim;if(null!=r){var s=a.getDataExtent(r),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,h=[0,e[1]],c=[0,e[0]],p=[[e[0],0],[0,0]],f=[],g=c[1]/(a.count()-1),m=0,v=Math.round(a.count()/e[0]);a.each([r],function(t,e){if(v>0&&e%v)m+=g;else{var i=null==t||isNaN(t)||""===t,n=i?0:d(t,s,h,!0);i&&!u&&e?(p.push([p[p.length-1][0],0]),f.push([f[f.length-1][0],0])):!i&&u&&(p.push([m,0]),f.push([m,0])),p.push([m,n]),f.push([m,n]),m+=g,u=i}});var y=this.dataZoomModel;this._displayables.barGroup.add(new o.Polygon({shape:{points:p},style:n.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new o.Polyline({shape:{points:f},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var i,a=this.ecModel;return t.eachTargetAxis(function(o,r){var s=t.getAxisProxy(o.name,r).getTargetSeriesModels();n.each(s,function(t){if(!(i||!0!==e&&n.indexOf(y,t.get("type"))<0)){var s,l=a.getComponent(o.axis,r).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[o.name],h=t.coordinateSystem;null!=u&&h.getOtherAxis&&(s=h.getOtherAxis(l).inverse),i={thisAxis:l,series:t,thisDim:o.name,otherDim:u,otherAxisInverse:s}}},this)},this),i}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],i=t.handleLabels=[],n=this._displayables.barGroup,r=this._size,s=this.dataZoomModel;n.add(t.filler=new c({draggable:!0,cursor:_(this._orient),drift:f(this._onDragMove,this,"all"),onmousemove:function(t){a.stop(t.event)},ondragstart:f(this._showDataInfo,this,!0),ondragend:f(this._onDragEnd,this),onmouseover:f(this._showDataInfo,this,!0),onmouseout:f(this._showDataInfo,this,!1),style:{fill:s.get("fillerColor"),textPosition:"inside"}})),n.add(new c(o.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}}))),g([0,1],function(t){var r=o.createIcon(s.get("handleIcon"),{cursor:_(this._orient),draggable:!0,drift:f(this._onDragMove,this,t),onmousemove:function(t){a.stop(t.event)},ondragend:f(this._onDragEnd,this),onmouseover:f(this._showDataInfo,this,!0),onmouseout:f(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),u=r.getBoundingRect();this._handleHeight=l.parsePercent(s.get("handleSize"),this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,r.setStyle(s.getModel("handleStyle").getItemStyle());var h=s.get("handleColor");null!=h&&(r.style.fill=h),n.add(e[t]=r);var c=s.textStyleModel;this.group.add(i[t]=new o.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))},this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[d(t[0],[0,100],e,!0),d(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var i=this.dataZoomModel,n=this._handleEnds,a=this._getViewExtent(),o=i.findRepresentativeAxisProxy().getMinMaxSpan(),r=[0,100];h(e,n,a,i.get("zoomLock")?"all":t,null!=o.minSpan?d(o.minSpan,r,a,!0):null,null!=o.maxSpan?d(o.maxSpan,r,a,!0):null),this._range=p([d(n[0],a,r,!0),d(n[1],a,r,!0)])},_updateView:function(t){var e=this._displayables,i=this._handleEnds,n=p(i.slice()),a=this._size;g([0,1],function(t){var n=e.handles[t],o=this._handleHeight;n.attr({scale:[o/2,o/2],position:[i[t],a[1]/2-o/2]})},this),e.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:a[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,i=this._displayables,n=i.handleLabels,a=this._orient,r=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,h=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();r=[this._formatLabel(h[0],l),this._formatLabel(h[1],l)]}}var c=p(this._handleEnds.slice());function d(t){var e=o.getTransform(i.handles[t].parent,this.group),s=o.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+v,u=o.applyTransform([c[t]+(0===t?-l:l),this._size[1]/2],e);n[t].setStyle({x:u[0],y:u[1],textVerticalAlign:a===m?"middle":s,textAlign:a===m?s:"center",text:r[t]})}d.call(this,0),d.call(this,1)},_formatLabel:function(t,e){var i=this.dataZoomModel,a=i.get("labelFormatter"),o=i.get("labelPrecision");null!=o&&"auto"!==o||(o=e.getPixelPrecision());var r=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(o,20));return n.isFunction(a)?a(t,r):n.isString(a)?a.replace("{value}",r):r},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,i){this._dragging=!0;var n=this._displayables.barGroup.getLocalTransform(),a=o.applyTransform([e,i],n,!0);this._updateInterval(t,a[0]);var r=this.dataZoomModel.get("realtime");this._updateView(!r),r&&r&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,i=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(i[0]<0||i[0]>e[0]||i[1]<0||i[1]>e[1])){var n=this._handleEnds,a=(n[0]+n[1])/2;this._updateInterval("all",i[0]-a),this._updateView(),this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),function(e){if(!t&&e.length){var i=e[0].model.coordinateSystem;t=i.getRect&&i.getRect()}}),!t){var e=this.api.getWidth(),i=this.api.getHeight();t={x:.2*e,y:.2*i,width:.6*e,height:.6*i}}return t}});function _(t){return"vertical"===t?"ns-resize":"ew-resize"}var b=x;t.exports=b},akYI:function(t,e){var i=Array.prototype.slice,n=function(){this._$handlers={}};n.prototype={constructor:n,one:function(t,e,i){var n=this._$handlers;if(!e||!t)return this;n[t]||(n[t]=[]);for(var a=0;a3&&(e=i.call(e,1));for(var a=this._$handlers[t],o=a.length,r=0;r4&&(e=i.call(e,1,e.length-1));for(var a=e[e.length-1],o=this._$handlers[t],r=o.length,s=0;s0?1:r<0?-1:0}(i,r,o,n,v),function(t,e,i,n,o,r,s,u,h,c){var d=h.valueDim,p=h.categoryDim,f=Math.abs(i[p.wh]),g=t.getItemVisual(e,"symbolSize");a.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]);g[p.index]=l(g[p.index],f),g[d.index]=l(g[d.index],n?f:Math.abs(r)),c.symbolSize=g,(c.symbolScale=[g[0]/u,g[1]/u])[d.index]*=(h.isHorizontal?-1:1)*s}(t,e,o,r,0,v.boundingLength,v.pxSign,f,n,v),function(t,e,i,n,a){var o=t.get(c)||0;o&&(p.attr({scale:e.slice(),rotation:i}),p.updateTransform(),o/=p.getLineScale(),o*=e[n.valueDim.index]);a.valueLineWidth=o}(i,v.symbolScale,d,n,v);var y=v.symbolSize,x=i.get("symbolOffset");return a.isArray(x)&&(x=[l(x[0],y[0]),l(x[1],y[1])]),function(t,e,i,n,o,r,s,h,c,d,p,f){var g=p.categoryDim,m=p.valueDim,v=f.pxSign,y=Math.max(e[m.index]+h,0),x=y;if(n){var _=Math.abs(c),b=a.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=l(b,e[m.index]);var S=Math.max(y+2*b,0),M=w?0:2*b,T=u(n),I=T?n:P((_+M)/S),A=_-I*y;S=y+2*(b=A/2/(w?I:I-1)),M=w?0:2*b,T||"fixed"===n||(I=d?P((Math.abs(d)+M)/S):0),x=I*S-M,f.repeatTimes=I,f.symbolMargin=b}var C=v*(x/2),D=f.pathPosition=[];D[g.index]=i[g.wh]/2,D[m.index]="start"===s?C:"end"===s?c-C:c/2,r&&(D[0]+=r[0],D[1]+=r[1]);var L=f.bundlePosition=[];L[g.index]=i[g.xy],L[m.index]=i[m.xy];var k=f.barRectShape=a.extend({},i);k[m.wh]=v*Math.max(Math.abs(i[m.wh]),Math.abs(D[m.index]+C)),k[g.wh]=i[g.wh];var O=f.clipShape={};O[g.xy]=-i[g.xy],O[g.wh]=p.ecSize[g.wh],O[m.xy]=0,O[m.wh]=i[m.wh]}(i,y,o,r,0,x,h,v.valueLineWidth,v.boundingLength,v.repeatCutLength,n,v),v}function g(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function m(t){var e=t.symbolPatternSize,i=r(t.symbolType,-e/2,-e/2,e,e,t.color);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function v(t,e,i,n){var a=t.__pictorialBundle,o=i.symbolSize,r=i.valueLineWidth,s=i.pathPosition,l=e.valueDim,u=i.repeatTimes||0,h=0,c=o[e.valueDim.index]+r+2*i.symbolMargin;for(C(t,function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h0:n<0)&&(a=u-1-t),e[l.index]=c*(a-u/2+.5)+s[l.index],{position:e,scale:i.symbolScale.slice(),rotation:i.rotation}}function g(){C(t,function(t){t.trigger("emphasis")})}function v(){C(t,function(t){t.trigger("normal")})}}function y(t,e,i,n){var a=t.__pictorialBundle,o=t.__pictorialMainPath;o?D(o,null,{position:i.pathPosition.slice(),scale:i.symbolScale.slice(),rotation:i.rotation},i,n):(o=t.__pictorialMainPath=m(i),a.add(o),D(o,{position:i.pathPosition.slice(),scale:[0,0],rotation:i.rotation},{scale:i.symbolScale.slice()},i,n),o.on("mouseover",function(){this.trigger("emphasis")}).on("mouseout",function(){this.trigger("normal")})),M(o,i)}function x(t,e,i){var n=a.extend({},e.barRectShape),r=t.__pictorialBarRect;r?D(r,null,{shape:n},e,i):(r=t.__pictorialBarRect=new o.Rect({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(r))}function _(t,e,i,n){if(i.symbolClip){var r=t.__pictorialClipPath,s=a.extend({},i.clipShape),l=e.valueDim,u=i.animationModel,h=i.dataIndex;if(r)o.updateProps(r,{shape:s},u,h);else{s[l.wh]=0,r=new o.Rect({shape:s}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var c={};c[l.wh]=i.clipShape[l.wh],o[n?"updateProps":"initProps"](r,{shape:c},u,h)}}}function b(t,e){var i=t.getItemModel(e);return i.getAnimationDelayParams=w,i.isAnimationEnabled=S,i}function w(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function S(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function M(t,e){t.off("emphasis").off("normal");var i=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",function(){this.animateTo({scale:[1.1*i[0],1.1*i[1]]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:i.slice()},400,"elasticOut")})}function T(t,e,i,n){var a=new o.Group,r=new o.Group;return a.add(r),a.__pictorialBundle=r,r.attr("position",i.bundlePosition.slice()),i.symbolRepeat?v(a,e,i):y(a,0,i),x(a,i,n),_(a,e,i,n),a.__pictorialShapeStr=A(t,i),a.__pictorialSymbolMeta=i,a}function I(t,e,i,n){var r=n.__pictorialBarRect;r&&(r.style.text=null);var s=[];C(n,function(t){s.push(t)}),n.__pictorialMainPath&&s.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),a.each(s,function(t){o.updateProps(t,{scale:[0,0]},i,e,function(){n.parent&&n.parent.remove(n)})}),t.setItemGraphicEl(e,null)}function A(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function C(t,e,i){a.each(t.__pictorialBundle.children(),function(n){n!==t.__pictorialBarRect&&e.call(i,n)})}function D(t,e,i,n,a,r){e&&t.attr(e),n.symbolClip&&!a?i&&t.attr(i):i&&o[a?"updateProps":"initProps"](t,i,n.animationModel,n.dataIndex,r)}function L(t,e,i){var n=i.color,r=i.dataIndex,s=i.itemModel,l=s.getModel("itemStyle.normal").getItemStyle(["color"]),u=s.getModel("itemStyle.emphasis").getItemStyle(),c=s.getShallow("cursor");C(t,function(t){t.setColor(n),t.setStyle(a.defaults({fill:n,opacity:i.opacity},l)),o.setHoverStyle(t,u),c&&(t.cursor=c),t.z2=i.z2});var d={},p=e.valueDim.posDesc[+(i.boundingLength>0)],f=t.__pictorialBarRect;h(f.style,d,s,n,e.seriesModel,r,p),o.setHoverStyle(f,d)}function P(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var k=n.extendChartView({type:"pictorialBar",render:function(t,e,i){var n=this.group,a=t.getData(),r=this._data,s=t.coordinateSystem,l=!!s.getBaseAxis().isHorizontal(),u=s.grid.getRect(),h={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:t,coordSys:s,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:d[+l],categoryDim:d[1-l]};return a.diff(r).add(function(t){if(a.hasValue(t)){var e=b(a,t),i=f(a,t,e,h),o=T(a,h,i);a.setItemGraphicEl(t,o),n.add(o),L(o,h,i)}}).update(function(t,e){var i=r.getItemGraphicEl(e);if(a.hasValue(t)){var s=b(a,t),l=f(a,t,s,h),u=A(a,l);i&&u!==i.__pictorialShapeStr&&(n.remove(i),a.setItemGraphicEl(t,null),i=null),i?function(t,e,i){var n=i.animationModel,a=i.dataIndex,r=t.__pictorialBundle;o.updateProps(r,{position:i.bundlePosition.slice()},n,a),i.symbolRepeat?v(t,e,i,!0):y(t,e,i,!0);x(t,i,!0),_(t,e,i,!0)}(i,h,l):i=T(a,h,l,!0),a.setItemGraphicEl(t,i),i.__pictorialSymbolMeta=l,n.add(i),L(i,h,l)}else n.remove(i)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&I(r,t,e.__pictorialSymbolMeta.animationModel,e)}).execute(),this._data=a,this.group},dispose:a.noop,remove:function(t,e){var i=this.group,n=this._data;t.get("animation")?n&&n.eachItemGraphicEl(function(e){I(n,e.dataIndex,t,e)}):i.removeAll()}});t.exports=k},b5Ru:function(t,e,i){var n=i("pq8T");e.layout=function(t,e,i){i=i||{};var a=t.coordinateSystem,o=e.axis,r={},s=o.position,l=o.onZero?"onZero":s,u=o.dim,h=a.getRect(),c=[h.x,h.x+h.width,h.y,h.y+h.height],d={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,f="x"===u?[c[2]-p,c[3]+p]:[c[0]-p,c[1]+p];if(o.onZero){var g=a.getAxis("x"===u?"y":"x",o.onZeroAxisIndex),m=g.toGlobalCoord(g.dataToCoord(0));f[d.onZero]=Math.max(Math.min(m,f[1]),f[0])}r.position=["y"===u?f[d[l]]:c[0],"x"===u?f[d[l]]:c[3]],r.rotation=Math.PI/2*("x"===u?0:1),r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],r.labelOffset=o.onZero?f[d[s]]-f[d.onZero]:0,e.get("axisTick.inside")&&(r.tickDirection=-r.tickDirection),n.retrieve(i.labelInside,e.get("axisLabel.inside"))&&(r.labelDirection=-r.labelDirection);var v=e.get("axisLabel.rotate");return r.labelRotate="top"===l?-v:v,r.labelInterval=o.getLabelInterval(),r.z2=1,r}},bC3T:function(t,e,i){var n=i("ugOh"),a=i("25YS"),o=i("Nu2l");n.extendChartView({type:"scatter",init:function(){this._normalSymbolDraw=new a,this._largeSymbolDraw=new o},render:function(t,e,i){var n=t.getData(),a=this._largeSymbolDraw,o=this._normalSymbolDraw,r=this.group,s=t.get("large")&&n.count()>t.get("largeThreshold")?a:o;this._symbolDraw=s,s.updateData(n),r.add(s.group),r.remove(s===a?o.group:a.group)},updateLayout:function(t){this._symbolDraw.updateLayout(t)},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e,!0)},dispose:function(){}})},bNv2:function(t,e,i){i("sfMw"),i("J0kj")},bhAY:function(t,e,i){var n=i("M6HP").extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.x1,n=e.y1,a=e.x2,o=e.y2,r=e.percent;0!==r&&(t.moveTo(i,n),r<1&&(a=i*(1-r)+a*r,o=n*(1-r)+o*r),t.lineTo(a,o))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=n},biFK:function(t,e,i){var n=i("pq8T");function a(t){return this._axes[t]}var o=function(t){this._axes={},this._dimList=[],this.name=t||""};o.prototype={constructor:o,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return n.map(this._dimList,a,this)},getAxesByScale:function(t){return t=t.toLowerCase(),n.filter(this.getAxes(),function(e){return e.scale.type===t})},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var i=this._dimList,n=t instanceof Array?[]:{},a=0;a "+x)),m++)}var _,b=i.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(t,i,i.ecModel);else{var w=l.get(b),S=s((w&&"view"!==w.type&&w.dimensions||[]).concat(["value"]),t);(_=new a(S,i)).initData(t)}var M=new a(["value"],i);return M.initData(g,f),c&&c(_,M),r({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:M},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},c5QJ:function(t,e,i){i("CVlv").__DEV__;var n=i("ugOh"),a=i("QCHh"),o=n.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,i,n){this.axisPointerClass&&a.fixValue(t),o.superApply(this,"render",arguments),r(this,t,e,i,n,!0)},updateAxisPointer:function(t,e,i,n,a){r(this,t,e,i,n,!1)},remove:function(t,e){var i=this._axisPointer;i&&i.remove(e),o.superApply(this,"remove",arguments)},dispose:function(t,e){s(this,e),o.superApply(this,"dispose",arguments)}});function r(t,e,i,n,r,l){var u=o.getAxisPointerClass(t.axisPointerClass);if(u){var h=a.getAxisPointerModel(e);h?(t._axisPointer||(t._axisPointer=new u)).render(e,h,n,l):s(t,n)}}function s(t,e,i){var n=t._axisPointer;n&&n.dispose(e,i),t._axisPointer=null}var l=[];o.registerAxisPointerClass=function(t,e){l[t]=e},o.getAxisPointerClass=function(t){return t&&l[t]};var u=o;t.exports=u},c6Bg:function(t,e,i){var n=i("0MR/"),a=i("bxLn"),o=i("n1fC").encodeHTML,r=n.extend({type:"series.sankey",layoutInfo:null,getInitialData:function(t){var e=t.edges||t.links,i=t.data||t.nodes;if(i&&e)return a(i,e,this,!0).data},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,i){if("edge"===i){var n=this.getDataParams(t,i),a=n.data,s=a.source+" -- "+a.target;return n.value&&(s+=" : "+n.value),o(s)}return r.superCall(this,"formatTooltip",t,e)},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",nodeWidth:20,nodeGap:8,layoutIterations:32,label:{normal:{show:!0,position:"right",color:"#000",fontSize:12},emphasis:{show:!0}},itemStyle:{normal:{borderWidth:1,borderColor:"#333"}},lineStyle:{normal:{color:"#314656",opacity:.2,curveness:.5},emphasis:{opacity:.6}},animationEasing:"linear",animationDuration:1e3}}),s=r;t.exports=s},c9jn:function(t,e,i){var n=i("pq8T"),a=i("wwvw").parseClassType,o=0,r="_";e.getUID=function(t){return[t||"",o++,Math.random()].join(r)},e.enableSubTypeDefaulter=function(t){var e={};return t.registerSubTypeDefaulter=function(t,i){t=a(t),e[t.main]=i},t.determineSubType=function(i,n){var o=n.type;if(!o){var r=a(i).main;t.hasSubTypes(i)&&e[r]&&(o=e[r](n))}return o},t},e.enableTopologicalTravel=function(t,e){function i(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,a,o,r){if(t.length){var s=function(t){var a={},o=[];return n.each(t,function(r){var s=i(a,r),l=function(t,e){var i=[];return n.each(t,function(t){n.indexOf(e,t)>=0&&i.push(t)}),i}(s.originalDeps=e(r),t);s.entryCount=l.length,0===s.entryCount&&o.push(r),n.each(l,function(t){n.indexOf(s.predecessor,t)<0&&s.predecessor.push(t);var e=i(a,t);n.indexOf(e.successor,t)<0&&e.successor.push(r)})}),{graph:a,noEntryList:o}}(a),l=s.graph,u=s.noEntryList,h={};for(n.each(t,function(t){h[t]=!0});u.length;){var c=u.pop(),d=l[c],p=!!h[c];p&&(o.call(r,c,d.originalDeps.slice()),delete h[c]),n.each(d.successor,p?g:f)}n.each(h,function(){throw new Error("Circle dependency may exists")})}function f(t){l[t].entryCount--,0===l[t].entryCount&&u.push(t)}function g(t){h[t]=!0,f(t)}}}},cpPG:function(t,e,i){i("wUwb"),i("Fvzc"),i("96Dh")},cq8s:function(t,e,i){var n=i("/kis"),a=i("2ljS"),o=i("pq8T"),r=o.isArray,s="itemStyle.normal";function l(t){var e=u(t,"color");if(e){var i=u(t,"colorAlpha"),n=u(t,"colorSaturation");return n&&(e=a.modifyHSL(e,null,null,n)),i&&(e=a.modifyAlpha(e,i)),e}}function u(t,e){var i=t[e];if(null!=i&&"none"!==i)return i}function h(t,e){var i=t.get(e);return r(i)&&i.length?{name:e,range:i}:null}t.exports=function(t,e,i){var r={mainType:"series",subType:"treemap",query:i};t.eachComponent(r,function(t){var e=t.getData().tree,i=e.root,r=t.getModel(s);i.isRemoved()||function t(e,i,r,u,c,d){var p=e.getModel(),f=e.getLayout();if(f&&!f.invisible&&f.isInView){var g,m=e.getModel(s),v=r[e.depth],y=function(t,e,i,n){var a=o.extend({},e);return o.each(["color","colorAlpha","colorSaturation"],function(o){var r=t.get(o,!0);null==r&&i&&(r=i[o]),null==r&&(r=e[o]),null==r&&(r=n.get(o)),null!=r&&(a[o]=r)}),a}(m,i,v,u),x=m.get("borderColor"),_=m.get("borderColorSaturation");null!=_&&(g=l(y),x=function(t,e){return null!=e?a.modifyHSL(e,null,null,t):null}(_,g)),e.setVisual("borderColor",x);var b=e.viewChildren;if(b&&b.length){var w=function(t,e,i,a,o,r){if(r&&r.length){var s=h(e,"color")||null!=o.color&&"none"!==o.color&&(h(e,"colorAlpha")||h(e,"colorSaturation"));if(s){var l=e.get("visualMin"),u=e.get("visualMax"),c=i.dataExtent.slice();null!=l&&lc[1]&&(c[1]=u);var d=e.get("colorMappingBy"),p={type:s.name,dataExtent:c,visual:s.range};"color"!==p.type||"index"!==d&&"id"!==d?p.mappingMethod="linear":(p.mappingMethod="category",p.loop=!0);var f=new n(p);return f.__drColorMappingBy=d,f}}}(0,p,f,0,y,b);o.each(b,function(e,i){if(e.depth>=c.length||e===c[e.depth]){var n=function(t,e,i,n,a,r){var s=o.extend({},e);if(a){var l=a.type,u="color"===l&&a.__drColorMappingBy,h="index"===u?n:"id"===u?r.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));s[l]=a.mapValueToVisual(h)}return s}(p,y,e,i,w,d);t(e,n,r,u,c,d)}})}else g=l(y),e.setVisual("color",g)}}(i,{},o.map(e.levelModels,function(t){return t?t.get(s):null}),r,t.getViewRoot().getAncestors(),t)})}},dAG3:function(t,e,i){var n=i("vncH").distance;function a(t,e,i,n,a,o,r){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*r+(-3*(e-i)-2*s-l)*o+s*a+e}t.exports=function(t,e){for(var i=t.length,o=[],r=0,s=1;si-2?i-1:p+1],c=t[p>i-3?i-1:p+2]);var m=f*f,v=f*m;o.push([a(u[0],g[0],h[0],c[0],f,m,v),a(u[1],g[1],h[1],c[1],f,m,v)])}return o}},"dC/U":function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("4BLw"),r=n.extendComponentView({type:"brush",init:function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new o(e.getZr())).on("brush",a.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,s.apply(this,arguments)},updateView:s,updateLayout:s,updateVisual:s,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var i=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:a.clone(t),$from:i})}});function s(t,e,i,n){(!n||n.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(i)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}t.exports=r},dS2O:function(t,e,i){var n=i("g5FJ"),a=i("yaSs");function o(t){return isNaN(t[0])||isNaN(t[1])}function r(t){return!o(t[0])&&!o(t[1])}function s(t){this._ctor=t||a,this.group=new n.Group}var l=s.prototype;l.updateData=function(t){var e=this._lineData,i=this.group,n=this._ctor,a=t.hostModel,o={lineStyle:a.getModel("lineStyle.normal").getLineStyle(),hoverLineStyle:a.getModel("lineStyle.emphasis").getLineStyle(),labelModel:a.getModel("label.normal"),hoverLabelModel:a.getModel("label.emphasis")};t.diff(e).add(function(e){if(r(t.getItemLayout(e))){var a=new n(t,e,o);t.setItemGraphicEl(e,a),i.add(a)}}).update(function(a,s){var l=e.getItemGraphicEl(s);r(t.getItemLayout(a))?(l?l.updateData(t,a,o):l=new n(t,a,o),t.setItemGraphicEl(a,l),i.add(l)):i.remove(l)}).remove(function(t){i.remove(e.getItemGraphicEl(t))}).execute(),this._lineData=t},l.updateLayout=function(){var t=this._lineData;t.eachItemGraphicEl(function(e,i){e.updateLayout(t,i)},this)},l.remove=function(){this.group.removeAll()};var u=s;t.exports=u},day3:function(t,e,i){var n=i("mWyZ").debugMode,a=function(){};1===n?a=function(){for(var t in arguments)throw new Error(arguments[t])}:n>1&&(a=function(){for(var t in arguments)console.log(arguments[t])});var o=a;t.exports=o},dmUL:function(t,e,i){var n=i("pq8T"),a=i("K0Hh"),o=i("g5FJ"),r=i("G3qZ").createSymbol,s=i("Jv21"),l=i("vd23"),u=a.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group;t.removeAll();var e=this.visualMapModel,i=e.get("textGap"),a=e.textStyleModel,r=a.getFont(),l=a.getTextColor(),u=this._getItemAlign(),h=e.itemSize,c=this._getViewData(),d=c.endsText,p=n.retrieve(e.get("showLabel",!0),!d);d&&this._renderEndsText(t,d[0],h,p,u),n.each(c.viewPieceList,function(a){var s=a.piece,c=new o.Group;c.onclick=n.bind(this._onItemClick,this,s),this._enableHoverLink(c,a.indexInModelPieceList);var d=e.getRepresentValue(s);if(this._createItemSymbol(c,d,[0,0,h[0],h[1]]),p){var f=this.visualMapModel.getValueState(d);c.add(new o.Text({style:{x:"right"===u?-i:h[0]+i,y:h[1]/2,text:s.text,textVerticalAlign:"middle",textAlign:u,textFont:r,textFill:l,opacity:"outOfRange"===f?.5:1}}))}t.add(c)},this),d&&this._renderEndsText(t,d[1],h,p,u),s.box(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(t,e){function i(t){var i=this.visualMapModel;i.option.hoverLink&&this.api.dispatchAction({type:t,batch:l.convertDataIndex(i.findTargetDataIndices(e))})}t.on("mouseover",n.bind(i,this,"highlight")).on("mouseout",n.bind(i,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return l.getItemAlign(t,this.api,t.itemSize);var i=e.align;return i&&"auto"!==i||(i="left"),i},_renderEndsText:function(t,e,i,n,a){if(e){var r=new o.Group,s=this.visualMapModel.textStyleModel;r.add(new o.Text({style:{x:n?"right"===a?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:n?a:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(r)}},_getViewData:function(){var t=this.visualMapModel,e=n.map(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),i=t.get("text"),a=t.get("orient"),o=t.get("inverse");return("horizontal"===a?o:!o)?e.reverse():i&&(i=i.slice().reverse()),{viewPieceList:e,endsText:i}},_createItemSymbol:function(t,e,i){t.add(r(this.getControllerVisual(e,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,i=e.option,a=n.clone(i.selected),o=e.getSelectedMapKey(t);"single"===i.selectedMode?(a[o]=!0,n.each(a,function(t,e){a[e]=e===o})):a[o]=!a[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})}});t.exports=u},dqy0:function(t,e){function i(t){return t instanceof Array||(t=[t,t]),t}t.exports=function(t){t.eachSeriesByType("lines",function(t){var e=t.getData(),n=i(t.get("symbol")),a=i(t.get("symbolSize")),o="lineStyle.normal.opacity".split(".");e.setVisual("fromSymbol",n&&n[0]),e.setVisual("toSymbol",n&&n[1]),e.setVisual("fromSymbolSize",a&&a[0]),e.setVisual("toSymbolSize",a&&a[1]),e.setVisual("opacity",t.get(o)),e.each(function(t){var n=e.getItemModel(t),a=i(n.getShallow("symbol",!0)),r=i(n.getShallow("symbolSize",!0)),s=n.get(o);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)})})}},dral:function(t,e,i){var n=i("M6HP").extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var i=e.cx,n=e.cy,a=2*Math.PI;t.moveTo(i+e.r,n),t.arc(i,n,e.r,0,a,!1),t.moveTo(i+e.r0,n),t.arc(i,n,e.r0,0,a,!0)}});t.exports=n},dv1j:function(t,e){t.exports=function(t,e){var i={};e.eachRawSeriesByType(t,function(t){var n=t.getRawData(),a={};if(!e.isSeriesFiltered(t)){var o=t.getData();o.each(function(t){var e=o.getRawIndex(t);a[e]=t}),n.each(function(e){var r=a[e],s=null!=r&&o.getItemVisual(r,"color",!0);if(s)n.setItemVisual(e,"color",s);else{var l=n.getItemModel(e).get("itemStyle.normal.color")||t.getColorFromPalette(n.getName(e),i);n.setItemVisual(e,"color",l),null!=r&&o.setItemVisual(r,"color",l)}})}})}},dyK7:function(t,e,i){var n=i("pq8T"),a=i("Hq7n");function o(t,e,i){for(var n=[],a=e[0],o=e[1],r=0;r>1^-(1&s),l=l>>1^-(1&l),a=s+=a,o=l+=o,n.push([s/i,l/i])}return n}t.exports=function(t){return function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var i=t.features,n=0;n0}),function(t){var e=t.properties,i=t.geometry,o=i.coordinates,r=[];"Polygon"===i.type&&r.push({type:"polygon",exterior:o[0],interiors:o.slice(1)}),"MultiPolygon"===i.type&&n.each(o,function(t){t[0]&&r.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});var s=new a(e.name,r,e.cp);return s.properties=e,s})}},e4Bd:function(t,e,i){var n=i("M6HP"),a=i("WdEA"),o=n.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:a(n.prototype.brush),buildPath:function(t,e){var i=e.cx,n=e.cy,a=Math.max(e.r0||0,0),o=Math.max(e.r,0),r=e.startAngle,s=e.endAngle,l=e.clockwise,u=Math.cos(r),h=Math.sin(r);t.moveTo(u*a+i,h*a+n),t.lineTo(u*o+i,h*o+n),t.arc(i,n,o,r,s,!l),t.lineTo(Math.cos(s)*a+i,Math.sin(s)*a+n),0!==a&&t.arc(i,n,a,s,r,l),t.closePath()}});t.exports=o},eBlm:function(t,e,i){var n=i("1w28"),a=i("TEHU"),o=i("JYId"),r=i("oWDP"),s=i("IJdb"),l=i("YuaU").normalizeRadian,u=i("4cUu"),h=i("qLD5"),c=n.CMD,d=2*Math.PI,p=1e-4;var f=[-1,-1,-1],g=[-1,-1];function m(t,e,i,n,a,o,r,s,l,h){if(h>e&&h>n&&h>o&&h>s||h1&&(void 0,c=g[0],g[0]=g[1],g[1]=c),p=u.cubicAt(e,n,o,s,g[0]),y>1&&(m=u.cubicAt(e,n,o,s,g[1]))),2==y?_e&&s>n&&s>o||s=0&&h<=1){for(var c=0,d=u.quadraticAt(e,n,o,h),p=0;pi||s<-i)return 0;var u=Math.sqrt(i*i-s*s);f[0]=-u,f[1]=u;var h=Math.abs(n-a);if(h<1e-4)return 0;if(h%d<1e-4){n=0,a=d;var c=o?1:-1;return r>=f[0]+t&&r<=f[1]+t?c:0}if(o){u=n;n=l(a),a=l(u)}else n=l(n),a=l(a);n>a&&(a+=d);for(var p=0,g=0;g<2;g++){var m=f[g];if(m+t>r){var v=Math.atan2(s,m);c=o?1:-1;v<0&&(v=d+v),(v>=n&&v<=a||v+d>=n&&v+d<=a)&&(v>Math.PI/2&&v<1.5*Math.PI&&(c=-c),p+=c)}}return p}function x(t,e,i,n,l){for(var u,d,f=0,g=0,x=0,_=0,b=0,w=0;w1&&(i||(f+=h(g,x,_,b,n,l))),1==w&&(_=g=t[w],b=x=t[w+1]),S){case c.M:g=_=t[w++],x=b=t[w++];break;case c.L:if(i){if(a.containStroke(g,x,t[w],t[w+1],e,n,l))return!0}else f+=h(g,x,t[w],t[w+1],n,l)||0;g=t[w++],x=t[w++];break;case c.C:if(i){if(o.containStroke(g,x,t[w++],t[w++],t[w++],t[w++],t[w],t[w+1],e,n,l))return!0}else f+=m(g,x,t[w++],t[w++],t[w++],t[w++],t[w],t[w+1],n,l)||0;g=t[w++],x=t[w++];break;case c.Q:if(i){if(r.containStroke(g,x,t[w++],t[w++],t[w],t[w+1],e,n,l))return!0}else f+=v(g,x,t[w++],t[w++],t[w],t[w+1],n,l)||0;g=t[w++],x=t[w++];break;case c.A:var M=t[w++],T=t[w++],I=t[w++],A=t[w++],C=t[w++],D=t[w++],L=(t[w++],1-t[w++]),P=Math.cos(C)*I+M,k=Math.sin(C)*A+T;w>1?f+=h(g,x,P,k,n,l):(_=P,b=k);var O=(n-M)*A/I+M;if(i){if(s.containStroke(M,T,A,C,C+D,L,e,O,l))return!0}else f+=y(M,T,A,C,C+D,L,O,l);g=Math.cos(C+D)*I+M,x=Math.sin(C+D)*A+T;break;case c.R:_=g=t[w++],b=x=t[w++];P=_+t[w++],k=b+t[w++];if(i){if(a.containStroke(_,b,P,b,e,n,l)||a.containStroke(P,b,P,k,e,n,l)||a.containStroke(P,k,_,k,e,n,l)||a.containStroke(_,k,_,b,e,n,l))return!0}else f+=h(P,b,P,k,n,l),f+=h(_,k,_,b,n,l);break;case c.Z:if(i){if(a.containStroke(g,x,_,b,e,n,l))return!0}else f+=h(g,x,_,b,n,l);g=_,x=b}}return i||(u=x,d=b,Math.abs(u-d)0?100:20}},getFirstTargetAxisModel:function(){var t;return h(function(e){if(null==t){var i=this.get(e.axisIndex);i.length&&(t=this.dependentModels[e.axis][i[0]])}},this),t},eachTargetAxis:function(t,e){var i=this.ecModel;h(function(n){u(this.get(n.axisIndex),function(a){t.call(e,n,a,this,i)},this)},this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var i=this.getAxisProxy(t,e);return i&&i.getAxisModel()},setRawRange:function(t,e){var i=this.option;u([["start","startValue"],["end","endValue"]],function(e){null==t[e[0]]&&null==t[e[1]]||(i[e[0]]=t[e[0]],i[e[1]]=t[e[1]])},this),!e&&d(this,t)},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var i in e)if(e.hasOwnProperty(i)&&e[i].hostedBy(this))return e[i];for(var i in e)if(e.hasOwnProperty(i)&&!e[i].hostedBy(this))return e[i]},getRangePropMode:function(){return this._rangePropMode.slice()}});t.exports=p},egDn:function(t,e,i){i("CVlv").__DEV__;var n=i("pq8T");function a(t){return"_EC_"+t}var o=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},r=o.prototype;function s(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function l(t,e,i){this.node1=t,this.node2=e,this.dataIndex=null==i?-1:i}r.type="graph",r.isDirected=function(){return this._directed},r.addNode=function(t,e){t=t||""+e;var i=this._nodesMap;if(!i[a(t)]){var n=new s(t,e);return n.hostGraph=this,this.nodes.push(n),i[a(t)]=n,n}},r.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},r.getNodeById=function(t){return this._nodesMap[a(t)]},r.addEdge=function(t,e,i){var n=this._nodesMap,o=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),t instanceof s||(t=n[a(t)]),e instanceof s||(e=n[a(e)]),t&&e){var r=t.id+"-"+e.id;if(!o[r]){var u=new l(t,e,i);return u.hostGraph=this,this._directed&&(t.outEdges.push(u),e.inEdges.push(u)),t.edges.push(u),t!==e&&e.edges.push(u),this.edges.push(u),o[r]=u,u}}},r.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},r.getEdge=function(t,e){t instanceof s&&(t=t.id),e instanceof s&&(e=e.id);var i=this._edgesMap;return this._directed?i[t+"-"+e]:i[t+"-"+e]||i[e+"-"+t]},r.eachNode=function(t,e){for(var i=this.nodes,n=i.length,a=0;a=0&&t.call(e,i[a],a)},r.eachEdge=function(t,e){for(var i=this.edges,n=i.length,a=0;a=0&&i[a].node1.dataIndex>=0&&i[a].node2.dataIndex>=0&&t.call(e,i[a],a)},r.breadthFirstTraverse=function(t,e,i,n){if(e instanceof s||(e=this._nodesMap[a(e)]),e){for(var o="out"===i?"outEdges":"in"===i?"inEdges":"edges",r=0;r=0&&i.node2.dataIndex>=0});for(a=0,o=n.length;a=0&&this[t][e].setItemVisual(this.dataIndex,i,n)},getVisual:function(i,n){return this[t][e].getItemVisual(this.dataIndex,i,n)},setLayout:function(i,n){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,i,n)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}};n.mixin(s,u("hostGraph","data")),n.mixin(l,u("hostGraph","edgeData")),o.Node=s,o.Edge=l;var h=o;t.exports=h},eiW2:function(t,e,i){var n=i("AHl2"),a=function(){this._track=[]};function o(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}a.prototype={constructor:a,recognize:function(t,e,i){return this._doTrack(t,e,i),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,i){var a=t.touches;if(a){for(var o={points:[],touches:[],target:e,event:t},r=0,s=a.length;r1&&a&&a.length>1){var s=o(a)/o(r);!isFinite(s)&&(s=1),e.pinchScale=s;var l=[((n=a)[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2];return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},s=a;t.exports=s},"f+rF":function(t,e,i){var n=i("pq8T"),a=i("036i"),o=n.indexOf;function r(t,e,i,n,o,r){var s=[],l=h(e,n,t),u=e.indicesOfNearest(n,l,!0)[0];s[o]=e.get(i,u,!0),s[r]=e.get(n,u,!0);var c=function(t,e,i){var n=-1;do{n=Math.max(a.getPrecision(t.get(e,i)),n),t=t.stackedOn}while(t);return n}(e,n,u);return(c=Math.min(c,20))>=0&&(s[r]=+s[r].toFixed(c)),s}var s=n.curry,l={min:s(r,"min"),max:s(r,"max"),average:s(r,"average")};function u(t,e,i,n){var a={};return null!=t.valueIndex||null!=t.valueDim?(a.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,a.valueAxis=i.getAxis(n.dataDimToCoordDim(a.valueDataDim)),a.baseAxis=i.getOtherAxis(a.valueAxis),a.baseDataDim=n.coordDimToDataDim(a.baseAxis.dim)[0]):(a.baseAxis=n.getBaseAxis(),a.valueAxis=i.getOtherAxis(a.baseAxis),a.baseDataDim=n.coordDimToDataDim(a.baseAxis.dim)[0],a.valueDataDim=n.coordDimToDataDim(a.valueAxis.dim)[0]),a}function h(t,e,i){if("average"===i){var n=0,a=0;return t.each(e,function(t,e){isNaN(t)||(n+=t,a++)},!0),n/a}return t.getDataExtent(e,!0)["max"===i?1:0]}e.dataTransform=function(t,e){var i=t.getData(),a=t.coordinateSystem;if(e&&!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!n.isArray(e.coord)&&a){var r=a.dimensions,s=u(e,i,a,t);if((e=n.clone(e)).type&&l[e.type]&&s.baseAxis&&s.valueAxis){var c=o(r,s.baseAxis.dim),d=o(r,s.valueAxis.dim);e.coord=l[e.type](i,s.baseDataDim,s.valueDataDim,c,d),e.value=e.coord[d]}else{for(var p=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],f=0;f<2;f++)if(l[p[f]]){var g=t.coordDimToDataDim(r[f])[0];p[f]=h(i,g,p[f])}e.coord=p}}return e},e.getAxisInfo=u,e.dataFilter=function(t,e){return!(t&&t.containData&&e.coord&&!function(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}(e))||t.containData(e.coord)},e.dimValueGetter=function(t,e,i,n){return n<2?t.coord&&t.coord[n]:t.value},e.numCalculate=h},fSti:function(t,e,i){i("CVlv").__DEV__;var n=i("ugOh"),a=i("pq8T"),o=i("G3qZ").createSymbol,r=i("g5FJ"),s=i("H12k").makeBackground,l=i("Jv21"),u=a.curry,h=a.each,c=r.Group,d=n.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new c),this._backgroundEl},getContentGroup:function(){return this._contentGroup},render:function(t,e,i){if(this.resetInner(),t.get("show",!0)){var n=t.get("align");n&&"auto"!==n||(n="right"===t.get("left")&&"vertical"===t.get("orient")?"right":"left"),this.renderInner(n,t,e,i);var o=t.getBoxLayoutParams(),r={width:i.getWidth(),height:i.getHeight()},u=t.get("padding"),h=l.getLayoutRect(o,r,u),c=this.layoutInner(t,n,h),d=l.getLayoutRect(a.defaults({width:c.width,height:c.height},o),r,u);this.group.attr("position",[d.x-c.x,d.y-c.y]),this.group.add(this._backgroundEl=s(c,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl)},renderInner:function(t,e,i,n){var o=this.getContentGroup(),r=a.createHashMap(),s=e.get("selectedMode");h(e.getData(),function(a,l){var h=a.get("name");if(this.newlineDisabled||""!==h&&"\n"!==h){var d=i.getSeriesByName(h)[0];if(!r.get(h))if(d){var m=d.getData(),v=m.getVisual("color");"function"==typeof v&&(v=v(d.getDataParams(0)));var y=m.getVisual("legendSymbol")||"roundRect",x=m.getVisual("symbol");this._createItem(h,l,a,e,y,x,t,v,s).on("click",u(p,h,n)).on("mouseover",u(f,d,null,n)).on("mouseout",u(g,d,null,n)),r.set(h,!0)}else i.eachRawSeries(function(i){if(!r.get(h)&&i.legendDataProvider){var o=i.legendDataProvider(),c=o.indexOfName(h);if(c<0)return;var d=o.getItemVisual(c,"color");this._createItem(h,l,a,e,"roundRect",null,t,d,s).on("click",u(p,h,n)).on("mouseover",u(f,i,h,n)).on("mouseout",u(g,i,h,n)),r.set(h,!0)}},this)}else o.add(new c({newline:!0}))},this)},_createItem:function(t,e,i,n,s,l,u,h,d){var p=n.get("itemWidth"),f=n.get("itemHeight"),g=n.get("inactiveColor"),m=n.isSelected(t),v=new c,y=i.getModel("textStyle"),x=i.get("icon"),_=i.getModel("tooltip"),b=_.parentModel;if(s=x||s,v.add(o(s,0,0,p,f,m?h:g,!0)),!x&&l&&(l!==s||"none"==l)){var w=.8*f;"none"===l&&(l="circle"),v.add(o(l,(p-w)/2,(f-w)/2,w,w,m?h:g))}var S="left"===u?p+5:-5,M=u,T=n.get("formatter"),I=t;"string"==typeof T&&T?I=T.replace("{name}",null!=t?t:""):"function"==typeof T&&(I=T(t)),v.add(new r.Text({style:r.setTextStyle({},y,{text:I,x:S,y:f/2,textFill:m?y.getTextColor():g,textAlign:M,textVerticalAlign:"middle"})}));var A=new r.Rect({shape:v.getBoundingRect(),invisible:!0,tooltip:_.get("show")?a.extend({content:t,formatter:b.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:n.componentIndex,name:t,$vars:["name"]}},_.option):null});return v.add(A),v.eachChild(function(t){t.silent=!0}),A.silent=!d,this.getContentGroup().add(v),r.setHoverStyle(v),v.__legendDataIndex=e,v},layoutInner:function(t,e,i){var n=this.getContentGroup();l.box(t.get("orient"),n,t.get("itemGap"),i.width,i.height);var a=n.getBoundingRect();return n.attr("position",[-a.x,-a.y]),this.group.getBoundingRect()}});function p(t,e){e.dispatchAction({type:"legendToggleSelect",name:t})}function f(t,e,i){var n=i.getZr().storage.getDisplayList()[0];n&&n.useHoverLayer||t.get("legendHoverLink")&&i.dispatchAction({type:"highlight",seriesName:t.name,name:e})}function g(t,e,i){var n=i.getZr().storage.getDisplayList()[0];n&&n.useHoverLayer||t.get("legendHoverLink")&&i.dispatchAction({type:"downplay",seriesName:t.name,name:e})}t.exports=d},feb8:function(t,e,i){i("CVlv").__DEV__;t.exports=function(t){t.eachSeriesByType("lines",function(t){var e=t.coordinateSystem,i=t.getData();i.each(function(n){var a=i.getItemModel(n),o=a.option instanceof Array?a.option:a.get("coords"),r=[];if(t.get("polyline"))for(var s=0;s=0)&&(n={textFill:null,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth},t.textFill="#fff",null==t.textStroke&&(t.textStroke=i.autoColor,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),n}function Q(t,e,i,n,a,o){if("function"==typeof a&&(o=a,a=null),n&&n.isAnimationEnabled()){var r=t?"Update":"",s=n.getShallow("animationDuration"+r),l=n.getShallow("animationEasing"+r),u=n.getShallow("animationDelay"+r);"function"==typeof u&&(u=u(a,n.getAnimationDelayParams?n.getAnimationDelayParams(e,a):null)),"function"==typeof s&&(s=s(a)),s>0?e.animateTo(i,s,u||0,l,o,!!o):(e.stopAnimation(),e.attr(i),o&&o())}else e.stopAnimation(),e.attr(i),o&&o()}function $(t,e,i,n,a){Q(!0,t,e,i,n,a)}function tt(t,e,i){return e&&!n.isArrayLike(e)&&(e=u.getLocalTransform(e)),i&&(e=r.invert([],e)),s.applyTransform([],t,e)}e.extendShape=function(t){return l.extend(t)},e.extendPath=function(t,e){return a.extendFromString(t,e)},e.makePath=L,e.makeImage=function(t,e,i){var n=new h({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var a={width:t.width,height:t.height};n.setStyle(P(e,a))}}});return n},e.mergePath=k,e.resizePath=O,e.subPixelOptimizeLine=function(t){var e=t.shape,i=t.style.lineWidth;return I(2*e.x1)===I(2*e.x2)&&(e.x1=e.x2=E(e.x1,i,!0)),I(2*e.y1)===I(2*e.y2)&&(e.y1=e.y2=E(e.y1,i,!0)),t},e.subPixelOptimizeRect=function(t){var e=t.shape,i=t.style.lineWidth,n=e.x,a=e.y,o=e.width,r=e.height;return e.x=E(e.x,i,!0),e.y=E(e.y,i,!0),e.width=Math.max(E(n+o,i,!1)-e.x,0===o?0:1),e.height=Math.max(E(a+r,i,!1)-e.y,0===r?0:1),t},e.subPixelOptimize=E,e.setHoverStyle=function(t,e,i){t.__hoverSilentOnTouch=i&&i.hoverSilentOnTouch,"group"===t.type?t.traverse(function(t){"group"!==t.type&&F(t,e)}):F(t,e),t.on("mouseover",W).on("mouseout",q),t.on("emphasis",Z).on("normal",U)},e.setLabelStyle=function(t,e,i,a,o,r,s){var l=(o=o||D).labelFetcher,u=o.labelDataIndex,h=o.labelDimIndex,c=i.getShallow("show"),d=a.getShallow("show"),p=c||d?n.retrieve2(l?l.getFormattedLabel(u,"normal",null,h):null,o.defaultText):null,f=c?p:null,g=d?n.retrieve2(l?l.getFormattedLabel(u,"emphasis",null,h):null,p):null;null==f&&null==g||(j(t,i,r,o),j(e,a,s,o,!0)),t.text=f,e.text=g},e.setTextStyle=j,e.setText=function(t,e,i){var n,a={isRectText:!0};!1===i?n=!0:a.autoColor=i,J(t,e,a,n),t.host&&t.host.dirty&&t.host.dirty(!1)},e.getFont=function(t,e){var i=e||e.getModel("textStyle");return[t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" ")},e.updateProps=$,e.initProps=function(t,e,i,n,a){Q(!1,t,e,i,n,a)},e.getTransform=function(t,e){for(var i=r.identity([]);t&&t!==e;)r.mul(i,t.getLocalTransform(),i),t=t.parent;return i},e.applyTransform=tt,e.transformDirection=function(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),a=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-n:"right"===t?n:0,"top"===t?-a:"bottom"===t?a:0];return o=tt(o,e,i),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"},e.groupTransition=function(t,e,i,a){if(t&&e){var o,r=(o={},t.traverse(function(t){!t.isGroup&&t.anid&&(o[t.anid]=t)}),o);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var n=l(t);t.attr(l(e)),$(t,n,i,t.dataIndex)}}})}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=n.extend({},t.shape)),e}},e.clipPointsByRect=function(t,e){return n.map(t,function(t){var i=t[0];i=A(i,e.x),i=C(i,e.x+e.width);var n=t[1];return n=A(n,e.y),[i,n=C(n,e.y+e.height)]})},e.clipRectByRect=function(t,e){var i=A(t.x,e.x),n=C(t.x+t.width,e.x+e.width),a=A(t.y,e.y),o=C(t.y+t.height,e.y+e.height);if(n>=i&&o>=a)return{x:i,y:a,width:n-i,height:o-a}},e.createIcon=function(t,e,i){var a=(e=n.extend({rectHover:!0},e)).style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(a.image=t.slice(8),n.defaults(a,i),new h(e)):L(t.replace("path://",""),e,i,"center")}},gBcC:function(t,e,i){var n=i("pq8T"),a=i("036i").parsePercent,o=n.each;t.exports=function(t){var e=function(t){var e=[],i=[];return t.eachSeriesByType("boxplot",function(t){var a=t.getBaseAxis(),o=n.indexOf(i,a);o<0&&(o=i.length,i[o]=a,e[o]={axis:a,seriesModels:[]}),e[o].seriesModels.push(t)}),e}(t);o(e,function(t){var e=t.seriesModels;e.length&&(function(t){var e,i,r=t.axis,s=t.seriesModels,l=s.length,u=t.boxWidthList=[],h=t.boxOffsetList=[],c=[];if("category"===r.type)i=r.getBandWidth();else{var d=0;o(s,function(t){d=Math.max(d,t.getData().count())}),e=r.getExtent(),Math.abs(e[1]-e[0])}o(s,function(t){var e=t.get("boxWidth");n.isArray(e)||(e=[e,e]),c.push([a(e[0],i)||0,a(e[1],i)||0])});var p=.8*i-2,f=p/l*.3,g=(p-f*(l-1))/l,m=g/2-p/2;o(s,function(t,e){h.push(m),m+=f+g,u.push(Math.min(Math.max(g,c[e][0]),c[e][1]))})}(t),o(e,function(e,i){!function(t,e,i){var a,o=t.coordinateSystem,r=t.getData(),s=i/2,l=t.get("layout"),u="horizontal"===l?0:1,h=1-u,c=["x","y"],d=[];n.each(r.dimensions,function(t){var e=r.getDimensionInfo(t).coordDim;e===c[h]?d.push(t):e===c[u]&&(a=t)}),null==a||d.length<5||r.each([a].concat(d),function(){var t=arguments,i=t[0],n=t[d.length+1],a=m(t[3]),c=m(t[1]),p=m(t[5]),f=[[c,m(t[2])],[p,m(t[4])]];y(c),y(p),y(a);var g=[];function m(t){var n,a=[];return a[u]=i,a[h]=t,isNaN(i)||isNaN(t)?n=[NaN,NaN]:(n=o.dataToPoint(a))[u]+=e,n}function v(t,e){var i=t.slice(),n=t.slice();i[u]+=s,n[u]-=s,e?g.push(i,n):g.push(n,i)}function y(t){var e=[t.slice(),t.slice()];e[0][u]-=s,e[1][u]+=s,f.push(e)}v(f[0][1],0),v(f[1][1],1),r.setItemLayout(n,{chartLayout:l,initBaseline:a[h],median:a,bodyEnds:g,whiskerEnds:f})})}(e,t.boxOffsetList[i],t.boxWidthList[i])}))})}},gXtG:function(t,e,i){for(var n=i("pq8T"),a=i("Hq7n"),o=[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;se[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&y(e)}};function y(t){return new o(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}},h9vV:function(t,e,i){var n=i("pq8T"),a=i("036i");function o(t,e,i){if(t.count())for(var a,o=e.coordinateSystem,r=e.getLayerSeries(),s=n.map(r,function(e){return n.map(e.indices,function(e){var i=o.dataToPoint(t.get("time",e));return i[1]=t.get("value",e),i})}),l=function(t){for(var e=t.length,i=t[0].length,n=[],a=[],o=0,r={},s=0;so&&(o=u),n.push(u)}for(var h=0;ho&&(o=d)}return r.y0=a,r.max=o,r}(s),u=l.y0,h=i/l.max,c=r.length,d=r[0].indices.length,p=0;p-y}function b(t,e){e&&w(t,"transform","matrix("+h.call(e,",")+")")}function w(t,e,i){(!i||"linear"!==i.type&&"radial"!==i.type)&&t.setAttribute(e,i)}function S(t,e,i){if(function(t,e){var i=e?t.textFill:t.fill;return null!=i&&i!==c}(e,i)){var n=i?e.textFill:e.fill;n="transparent"===n?c:n,"none"!==t.getAttribute("clip-path")&&n===c&&(n="rgba(0, 0, 0, 0.002)"),w(t,"fill",n),w(t,"fill-opacity",e.opacity)}else w(t,"fill",c);if(function(t,e){var i=e?t.textStroke:t.stroke;return null!=i&&i!==c}(e,i)){var a=i?e.textStroke:e.stroke;w(t,"stroke",a="transparent"===a?c:a),w(t,"stroke-width",(i?e.textStrokeWidth:e.lineWidth)/(e.strokeNoScale?e.host.getLineScale():1)),w(t,"paint-order","stroke"),w(t,"stroke-opacity",e.opacity),e.lineDash?(w(t,"stroke-dasharray",e.lineDash.join(",")),w(t,"stroke-dashoffset",d(e.lineDashOffset||0))):w(t,"stroke-dasharray",""),e.lineCap&&w(t,"stroke-linecap",e.lineCap),e.lineJoin&&w(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&w(t,"stroke-miterlimit",e.miterLimit)}else w(t,"stroke",c)}var M={};M.brush=function(t){var e=t.style,i=t.__svgEl;i||(i=n("path"),t.__svgEl=i),t.path||t.createPathProxy();var a=t.path;if(t.__dirtyPath){a.beginPath(),t.buildPath(a,t.shape),t.__dirtyPath=!1;var o=function(t){for(var e=[],i=t.data,n=t.len(),a=0;a=m||!_(M)&&(b>-g&&b<0||b>g)==!!S;var A=x(s+h*f(y)),C=x(l+c*p(y));T&&(b=S?m-1e-4:1e-4-m,I=!0,9===a&&e.push("M",A,C));var D=x(s+h*f(y+b)),L=x(l+c*p(y+b));e.push("A",x(h),x(c),d(w*v),+I,+S,D,L);break;case u.Z:o="Z";break;case u.R:D=x(i[a++]),L=x(i[a++]);var P=x(i[a++]),k=x(i[a++]);e.push("M",D,L,"L",D+P,L,"L",D+P,L+k,"L",D,L+k,"L",D,L)}o&&e.push(o);for(var O=0;Oo[1]&&o.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:o[1],r0:o[0]},api:{coord:n.bind(function(n){var a=e.dataToRadius(n[0]),o=i.dataToAngle(n[1]),r=t.coordToPoint([a,o]);return r.push(a,o*Math.PI/180),r}),size:n.bind(a,t)}}}},ig4I:function(t,e){e.eachAfter=function(t,e,i){for(var n,a=[t],o=[];n=a.pop();)if(o.push(n),n.isExpand){var r=n.children;if(r.length)for(var s=0;s=0;o--)n.push(a[o])}}},ihBe:function(t,e,i){var n=i("pq8T"),a=i("yVXO"),o=function(t,e,i,n,o){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==i?.5:i,this.type="radial",this.global=o||!1,a.call(this,n)};o.prototype={constructor:o},n.inherits(o,a);var r=o;t.exports=r},iima:function(t,e,i){var n=i("yVXO");t.exports=function(t){t.eachRawSeries(function(e){var i=(e.visualColorAccessPath||"itemStyle.normal.color").split("."),a=e.getData(),o=e.get(i)||e.getColorFromPalette(e.get("name"));a.setVisual("color",o),t.isSeriesFiltered(e)||("function"!=typeof o||o instanceof n||a.each(function(t){a.setItemVisual(t,"color",o(e.getDataParams(t)))}),a.each(function(t){var e=a.getItemModel(t).get(i,!0);null!=e&&a.setItemVisual(t,"color",e)}))})}},ilfk:function(t,e,i){var n=i("pq8T"),a=i("/kis"),o=n.each;function r(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}e.createVisualMappings=function(t,e,i){var r={};return o(e,function(e){var s,l=r[e]=((s=function(){}).prototype.__hidden=s.prototype,new s);o(t[e],function(t,o){if(a.isValidType(o)){var r={type:o,visual:t};i&&i(r,e),l[o]=new a(r),"opacity"===o&&((r=n.clone(r)).type="colorAlpha",l.__hidden.__alphaForOpacity=new a(r))}})}),r},e.replaceVisualOption=function(t,e,i){var a;n.each(i,function(t){e.hasOwnProperty(t)&&r(e[t])&&(a=!0)}),a&&n.each(i,function(i){e.hasOwnProperty(i)&&r(e[i])?t[i]=n.clone(e[i]):delete t[i]})},e.applyVisual=function(t,e,i,o,r,s){var l,u={};function h(t){return i.getItemVisual(l,t)}function c(t,e){i.setItemVisual(l,t,e)}function d(t,n){l=null==s?t:n;var a=i.getRawDataItem(l);if(!a||!1!==a.visualMap)for(var d=o.call(r,t),p=e[d],f=u[d],g=0,m=f.length;g40&&(f=Math.ceil(g/40));for(var m=0;m=0;m--){var v=g[m],y=v.node,x=v.width,_=v.text;f>p.width&&(f-=x-c,x=c,_=null);var b=new n.Polygon({shape:{points:u(l,0,x,d,m===g.length-1,0===m)},style:o.defaults(i.getItemStyle(),{lineJoin:"bevel",text:_,textFill:r.getTextColor(),textFont:r.getFont()}),z:10,onclick:o.curry(s,y)});this.group.add(b),h(b,t,y),l+=x+8}},remove:function(){this.group.removeAll()}};var c=l;t.exports=c},k7wb:function(t,e){t.exports=function(t){var e={};t.eachSeriesByType("graph",function(t){var i=t.getCategoriesData(),n=t.getData(),a={};i.each(function(n){var o=i.getName(n);a["ec-"+o]=n;var r=i.getItemModel(n).get("itemStyle.normal.color")||t.getColorFromPalette(o,e);i.setItemVisual(n,"color",r)}),i.count()&&n.each(function(t){var e=n.getItemModel(t).getShallow("category");null!=e&&("string"==typeof e&&(e=a["ec-"+e]),n.getItemVisual(t,"color",!0)||n.setItemVisual(t,"color",i.getItemVisual(e,"color")))})})}},kL1J:function(t,e,i){var n=i("pq8T"),a=i("036i").parsePercent,o=i("g5FJ").subPixelOptimize,r=n.retrieve2;t.exports=function(t){t.eachSeriesByType("candlestick",function(t){var e,i=t.coordinateSystem,s=t.getData(),l=function(t,e){var i,n=t.getBaseAxis(),o="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/e.count()),s=a(r(t.get("barMaxWidth"),o),o),l=a(r(t.get("barMinWidth"),1),o),u=t.get("barWidth");return null!=u?a(u,o):Math.max(Math.min(o/2,s),l)}(t,s),u=t.get("layout"),h="horizontal"===u?0:1,c=1-h,d=["x","y"],p=[];if(n.each(s.dimensions,function(t){var i=s.getDimensionInfo(t).coordDim;i===d[c]?p.push(t):i===d[h]&&(e=t)}),!(null==e||p.length<4)){var f=0;s.each([e].concat(p),function(){var t,e,n,a=arguments,r=a[0],d=a[p.length+1],g=a[1],m=a[2],v=a[3],y=a[4],x=Math.min(g,m),_=Math.max(g,m),b=I(x),w=I(_),S=I(v),M=[[C(I(y)),C(w)],[C(S),C(b)]],T=[];function I(t){var e=[];return e[h]=r,e[c]=t,isNaN(r)||isNaN(t)?[NaN,NaN]:i.dataToPoint(e)}function A(t,e){var i=t.slice(),n=t.slice();i[h]=o(i[h]+l/2,1,!1),n[h]=o(n[h]-l/2,1,!0),e?T.push(i,n):T.push(n,i)}function C(t){return t[h]=o(t[h],1),t}A(w,0),A(b,1),t=g>m?-1:g0?s.getItemModel(f-1).get()[2]<=m?1:-1:1,s.setItemLayout(d,{chartLayout:u,sign:t,initBaseline:g>m?w[c]:b[c],bodyEnds:T,whiskerEnds:M,brushRect:(e=I(Math.min(g,m,v,y)),n=I(Math.max(g,m,v,y)),e[h]-=l/2,n[h]-=l/2,{x:e[0],y:e[1],width:c?l:n[0]-e[0],height:c?n[1]-e[1]:l})}),++f},!0)}})}},kSeM:function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("4BLw"),r=i("mMPS"),s=i("QX4U"),l=i("NCOs"),u=i("KwOe"),h=i("x0Cw");i("pW1d");var c=u.toolbox.dataZoom,d=a.each,p="\0_ec_\0toolbox-dataZoom_";function f(t,e,i){(this._brushController=new o(i.getZr())).on("brush",a.bind(this._onBrush,this)).mount(),this._isZoomActive}f.defaultOption={show:!0,icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:a.clone(c.title)};var g=f.prototype;g.render=function(t,e,i,n){this.model=t,this.ecModel=e,this.api=i,function(t,e,i,n,a){var o=i._isZoomActive;n&&"takeGlobalCursor"===n.type&&(o="dataZoomSelect"===n.key&&n.dataZoomSelectActive);i._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var s=new r(v(t.option),e,{include:["grid"]});i._brushController.setPanels(s.makePanelOpts(a,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"})).enableBrush(!!o&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}(t,e,this,n,i),function(t,e){t.setIconStatus("back",s.count(e)>1?"emphasis":"normal")}(t,e)},g.onclick=function(t,e,i){m[i].call(this)},g.remove=function(t,e){this._brushController.unmount()},g.dispose=function(t,e){this._brushController.dispose()};var m={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function v(t){var e={};return a.each(["xAxisIndex","yAxisIndex"],function(i){e[i]=t[i],null==e[i]&&(e[i]="all"),(!1===e[i]||"none"===e[i])&&(e[i]=[])}),e}g._onBrush=function(t,e){if(e.isEnd&&t.length){var i={},n=this.ecModel;this._brushController.updateCovers([]),new r(v(this.model.option),n,{include:["grid"]}).matchOutputRanges(t,n,function(t,e,i){if("cartesian2d"===i.type){var n=t.brushType;"rect"===n?(a("x",i,e[0]),a("y",i,e[1])):a({lineX:"x",lineY:"y"}[n],i,e)}}),s.push(n,i),this._dispatchZoomAction(i)}function a(t,e,a){var o=e.getAxis(t),r=o.model,s=function(t,e,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},function(i){i.getAxisModel(t,e.componentIndex)&&(n=i)}),n}(t,r,n),u=s.findRepresentativeAxisProxy(r).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(a=l(0,a.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(i[s.id]={dataZoomId:s.id,startValue:a[0],endValue:a[1]})}},g._dispatchZoomAction=function(t){var e=[];d(t,function(t,i){e.push(a.clone(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},h.register("dataZoom",f),n.registerPreprocessor(function(t){if(t){var e=t.dataZoom||(t.dataZoom=[]);a.isArray(e)||(t.dataZoom=e=[e]);var i=t.toolbox;if(i&&(a.isArray(i)&&(i=i[0]),i&&i.feature)){var n=i.feature.dataZoom;o("xAxis",n),o("yAxis",n)}}function o(i,n){if(n){var o=i+"Index",r=n[o];null==r||"all"==r||a.isArray(r)||(r=!1===r||"none"===r?[]:[r]),function(e,i){var n=t[e];a.isArray(n)||(n=n?[n]:[]);d(n,i)}(i,function(t,n){if(null==r||"all"==r||-1!==a.indexOf(r,n)){var s={type:"select",$fromToolbox:!0,id:p+i+n};s[o]=n,e.push(s)}})}}});var y=f;t.exports=y},kosc:function(t,e,i){var n=i("NiLS"),a=i("Jv21"),o=a.mergeLayoutParam,r=a.getLayoutParams,s=n.extend({type:"legend.scroll",setScrollDataIndex:function(t){this.option.scrollDataIndex=t},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(t,e,i,n){var a=r(t);s.superCall(this,"init",t,e,i,n),l(this,t,a)},mergeOption:function(t,e){s.superCall(this,"mergeOption",t,e),l(this,this.option,t)},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}}});function l(t,e,i){var n=[1,1];n[t.getOrient().index]=0,o(e,i,{type:"box",ignoreSize:n})}var u=s;t.exports=u},"kp2/":function(t,e,i){var n=i("pq8T"),a=i("/OPB"),o=i("036i"),r=[20,140],s=a.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=r[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=r[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):n.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){a.prototype.completeVisualOption.apply(this,arguments),n.each(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)},this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=o.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=i[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),function(e,i){t[0]<=e&&e<=t[1]&&n.push(i)},!0,this),e.push({seriesId:i.id,dataIndex:n})},this),e},getVisualMeta:function(t){var e=l(this,"outOfRange",this.getExtent()),i=l(this,"inRange",this.option.range.slice()),n=[];function a(e,i){n.push({value:e,color:t(e,i)})}for(var o=0,r=0,s=i.length,u=e.length;r=a/3?1:2),l=e.y-n(r)*o*(o>=a/3?1:2);r=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+i(r)*o,e.y+n(r)*o),t.lineTo(e.x+i(e.angle)*a,e.y+n(e.angle)*a),t.lineTo(e.x-i(r)*o,e.y-n(r)*o),t.lineTo(s,l)}});t.exports=n},lVG5:function(t,e,i){var n=i("ugOh"),a=i("QX4U"),o=i("KwOe"),r=i("x0Cw"),s=o.toolbox.restore;function l(t){this.model=t}l.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:s.title},l.prototype.onclick=function(t,e,i){a.clear(t),e.dispatchAction({type:"restore",from:this.uid})},r.register("restore",l),n.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")});var u=l;t.exports=u},lmMy:function(t,e,i){var n=i("0MR/"),a=i("prek"),o=i("n1fC").encodeHTML,r=n.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},i=t.leaves||{},n={};n.leaves=i;var o=a.createTree(e,this,n),r=0;o.eachNode("preorder",function(t){t.depth>r&&(r=t.depth)});var s=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:r;return o.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=s}),o.data},formatTooltip:function(t){for(var e=this.getData().tree,i=e.root.children[0],n=e.getNodeByDataIndex(t),a=n.getValue(),r=n.name;n&&n!==i;)r=n.parentNode.name+"."+r,n=n.parentNode;return o(r+(isNaN(a)||null==a?"":" : "+a))},defaultOption:{zlevel:0,z:2,left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",orient:"horizontal",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{normal:{color:"#ccc",width:1.5,curveness:.5}},itemStyle:{normal:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5}},label:{normal:{show:!0,color:"#555"}},leaves:{label:{normal:{show:!0}}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=r},lqEc:function(t,e,i){var n=i("pq8T"),a=i("036i"),o=i("n1fC"),r=i("45zR"),s=i("rXVi"),l=s.prototype,u=Math.ceil,h=Math.floor,c=s.extend({type:"time",getLabel:function(t){var e=this._stepLvl,i=new Date(t);return o.formatTime(e[0],i,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=864e5,e[1]+=864e5),e[1]===-1/0&&e[0]===1/0){var i=new Date;e[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),e[0]=e[1]-864e5}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var n=this._interval;t.fixMin||(e[0]=a.round(h(e[0]/n)*n)),t.fixMax||(e[1]=a.round(u(e[1]/n)*n))},niceTicks:function(t,e,i){t=t||10;var n=this._extent,o=n[1]-n[0],s=o/t;null!=e&&si&&(s=i);var l=d.length,c=function(t,e,i,n){for(;i>>1;t[a][1]"+r.map(i,function(t,i){return s(t.name+" : "+e[i])}).join("
")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{normal:{width:2,type:"solid"}},label:{normal:{position:"top"}},symbol:"emptyCircle",symbolSize:4}}),u=l;t.exports=u},mMPS:function(t,e,i){i("CVlv").__DEV__;var n=i("pq8T"),a=i("g5FJ"),o=i("OHyK"),r=i("Rjms"),s=n.each,l=n.indexOf,u=n.curry,h=["dataToPoint","pointToData"],c=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function d(t,e,i){var n=this._targetInfoList=[],a={},o=g(e,t);s(m,function(t,e){(!i||!i.include||l(i.include,e)>=0)&&t(o,n,a)})}var p=d.prototype;function f(t){return t[0]>t[1]&&t.reverse(),t}function g(t,e){return o.parseFinder(t,e,{includeMainTypes:c})}p.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,function(t,e,i){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var n=x[t.brushType](0,i,e);t.__rangeOffset={offset:b[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax}}})},p.matchOutputRanges=function(t,e,i){s(t,function(t){var a=this.findTargetInfo(t,e);a&&!0!==a&&n.each(a.coordSyses,function(n){var a=x[t.brushType](1,n,t.range);i(t,a.values,n,e)})},this)},p.setInputRanges=function(t,e){s(t,function(t){var i,n,a,o,r,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=x[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?b[t.brushType](l.values,u.offset,(i=l.xyMinMax,n=u.xyMinMax,a=S(i),o=S(n),r=[a[0]/o[0],a[1]/o[1]],isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r)):l.values}},this)},p.makePanelOpts=function(t,e){return n.map(this._targetInfoList,function(i){var n=i.getPanelRect();return{panelId:i.panelId,defaultBrushType:e&&e(i),clipPath:r.makeRectPanelClipPath(n),isTargetByCursor:r.makeRectIsTargetByCursor(n,t,i.coordSysModel),getLinearBrushOtherExtent:r.makeLinearBrushOtherExtent(n)}})},p.controlSeries=function(t,e,i){var n=this.findTargetInfo(t,i);return!0===n||n&&l(n.coordSyses,e.coordinateSystem)>=0},p.findTargetInfo=function(t,e){for(var i=this._targetInfoList,n=g(e,t),a=0;a=0||l(a,t.getAxis("y").model)>=0)&&o.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:y.grid,xAxisDeclared:u[t.id],yAxisDeclared:h[t.id]})}))},geo:function(t,e){s(t.geoModels,function(t){var i=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:i,coordSyses:[i],getPanelRect:y.geo})})}},v=[function(t,e){var i=t.xAxisModel,n=t.yAxisModel,a=t.gridModel;return!a&&i&&(a=i.axis.grid.model),!a&&n&&(a=n.axis.grid.model),a&&a===e.gridModel},function(t,e){var i=t.geoModel;return i&&i===e.geoModel}],y={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(a.getTransform(t)),e}},x={lineX:u(_,0),lineY:u(_,1),rect:function(t,e,i){var n=e[h[t]]([i[0][0],i[1][0]]),a=e[h[t]]([i[0][1],i[1][1]]),o=[f([n[0],a[0]]),f([n[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(t,e,i){var a=[[1/0,-1/0],[1/0,-1/0]];return{values:n.map(i,function(i){var n=e[h[t]](i);return a[0][0]=Math.min(a[0][0],n[0]),a[1][0]=Math.min(a[1][0],n[1]),a[0][1]=Math.max(a[0][1],n[0]),a[1][1]=Math.max(a[1][1],n[1]),n}),xyMinMax:a}}};function _(t,e,i,a){var o=i.getAxis(["x","y"][t]),r=f(n.map([0,1],function(t){return e?o.coordToData(o.toLocalCoord(a[t])):o.toGlobalCoord(o.dataToCoord(a[t]))})),s=[];return s[t]=r,s[1-t]=[NaN,NaN],{values:r,xyMinMax:s}}var b={lineX:u(w,0),lineY:u(w,1),rect:function(t,e,i){return[[t[0][0]-i[0]*e[0][0],t[0][1]-i[0]*e[0][1]],[t[1][0]-i[1]*e[1][0],t[1][1]-i[1]*e[1][1]]]},polygon:function(t,e,i){return n.map(t,function(t,n){return[t[0]-i[0]*e[n][0],t[1]-i[1]*e[n][1]]})}};function w(t,e,i,n){return[e[0]-n[t]*i[0],e[1]-n[t]*i[1]]}function S(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var M=d;t.exports=M},mRYE:function(t,e,i){var n=i("pq8T"),a=i("zxje"),o=i("2MQq"),r=i("5DBk"),s=a.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(t,e){return e.type||(e.data?"category":"value")}n.merge(s.prototype,r);var u={offset:0};o("x",s,l,u),o("y",s,l,u);var h=s;t.exports=h},mWyZ:function(t,e){var i=1;"undefined"!=typeof window&&(i=Math.max(window.devicePixelRatio||1,1));var n=i;e.debugMode=0,e.devicePixelRatio=n},mail:function(t,e,i){var n=i("wwvw");function a(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}a.prototype.parse=function(t){return t},a.prototype.getSetting=function(t){return this._setting[t]},a.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},a.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},a.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},a.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},a.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getDataExtent(e,!0))},a.prototype.getExtent=function(){return this._extent.slice()},a.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},a.prototype.getTicksLabels=function(){for(var t=[],e=this.getTicks(),i=0;i/g,">").replace(/"/g,""").replace(/'/g,"'")}var l=["a","b","c","d","e","f","g"],u=function(t,e){return"{"+t+(null==e?"":e)+"}"};var h=function(t){return t<10?"0"+t:t};var c=a.truncateText,d=a.getBoundingRect;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")},e.toCamelCase=function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},e.normalizeCssArray=r,e.encodeHTML=s,e.formatTpl=function(t,e,i){n.isArray(e)||(e=[e]);var a=e.length;if(!a)return"";for(var o=e[0].$vars||[],r=0;r':""},e.formatTime=function(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=o.parseDate(e),a=i?"UTC":"",r=n["get"+a+"FullYear"](),s=n["get"+a+"Month"]()+1,l=n["get"+a+"Date"](),u=n["get"+a+"Hours"](),c=n["get"+a+"Minutes"](),d=n["get"+a+"Seconds"]();return t=t.replace("MM",h(s)).replace("M",s).replace("yyyy",r).replace("yy",r%100).replace("dd",h(l)).replace("d",l).replace("hh",h(u)).replace("h",u).replace("mm",h(c)).replace("m",c).replace("ss",h(d)).replace("s",d)},e.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},e.truncateText=c,e.getTextRect=d},nSEt:function(t,e,i){var n=i("pq8T"),a=i("0MR/"),o=i("sT2W").seriesModelMixin,r=a.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:["open","close","lowest","highest"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,itemStyle:{normal:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(t,e,i){var n=e.getItemLayout(t);return i.rect(n.brushRect)}});n.mixin(r,o,!0);var s=r;t.exports=s},nc7i:function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("g5FJ"),r=i("Zurq"),s=n.extendChartView({type:"map",render:function(t,e,i,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var a=this.group;if(a.removeAll(),!t.getHostGeoModel()){if(n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===t.id)(o=this._mapDraw)&&a.add(o.group);else if(t.needsDrawMap){var o=this._mapDraw||new r(i,!0);a.add(o.group),o.draw(t,e,i,this,n),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,i)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(t,e,i){var n=t.originalData,r=this.group;n.each("value",function(e,i){if(!isNaN(e)){var s=n.getItemLayout(i);if(s&&s.point){var l=s.point,u=s.offset,h=new o.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:l[0]+9*u,cy:l[1],r:3},silent:!0,z2:u?8:10});if(!u){var c=t.mainSeries.getData(),d=n.getName(i),p=c.indexOfName(d),f=n.getItemModel(i),g=f.getModel("label.normal"),m=f.getModel("label.emphasis"),v=c.getItemGraphicEl(p),y=a.retrieve2(t.getFormattedLabel(i,"normal"),d),x=a.retrieve2(t.getFormattedLabel(i,"emphasis"),y),_=function(){var t=o.setTextStyle({},m,{text:m.get("show")?x:null},{isRectText:!0,useInsideStyle:!1},!0);h.style.extendFrom(t),h.__mapOriginalZ2=h.z2,h.z2+=1},b=function(){o.setTextStyle(h.style,g,{text:g.get("show")?y:null,textPosition:g.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),null!=h.__mapOriginalZ2&&(h.z2=h.__mapOriginalZ2,h.__mapOriginalZ2=null)};v.on("mouseover",_).on("mouseout",b).on("emphasis",_).on("normal",b),b()}r.add(h)}}})}});t.exports=s},njw2:function(t,e,i){var n=i("efjw").extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}});t.exports=n},nrti:function(t,e,i){var n=i("pq8T"),a=i("Ipcx");function o(t,e){e=e||[0,360],a.call(this,"angle",t,e),this.type="category"}o.prototype={constructor:o,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToAngle:a.prototype.dataToCoord,angleToData:a.prototype.coordToData},n.inherits(o,a);var r=o;t.exports=r},"o+Dv":function(t,e,i){var n=i("vncH"),a=i("4cUu"),o=Math.min,r=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,h=n.create(),c=n.create(),d=n.create();var p=[],f=[];e.fromPoints=function(t,e,i){if(0!==t.length){var n,a=t[0],s=a[0],l=a[0],u=a[1],h=a[1];for(n=1;n1e-4)return f[0]=t-i,f[1]=e-a,g[0]=t+i,void(g[1]=e+a);if(h[0]=l(o)*i+t,h[1]=s(o)*a+e,c[0]=l(r)*i+t,c[1]=s(r)*a+e,m(f,h,c),v(g,h,c),(o%=u)<0&&(o+=u),(r%=u)<0&&(r+=u),o>r&&!p?r+=u:oo&&(d[0]=l(_)*i+t,d[1]=s(_)*a+e,m(f,d,f),v(g,d,g))}},oAph:function(t,e,i){var n=i("pq8T"),a=n.each,o="\0__link_datas",r="\0__link_mainData";function s(t,e){if((a=this)[r]===a){var i=n.extend({},this[o]);i[this.dataType]=e,c(e,i,t)}else d(e,this.dataType,this[r],t);var a;return e}function l(t,e){return t.struct&&t.struct.update(this),e}function u(t,e){return a(e[o],function(i,n){i!==e&&d(i.cloneShallow(),n,e,t)}),e}function h(t){var e=this[r];return null==t||null==e?e:e[o][t]}function c(t,e,i){t[o]={},a(e,function(e,n){d(e,n,t,i)})}function d(t,e,i,n){i[o][e]=t,t[r]=i,t.dataType=e,n.struct&&(t[n.structAttr]=n.struct,n.struct[n.datasAttr[e]]=t),t.getLinkedData=h}var p=function(t){var e=t.mainData,i=t.datas;i||(i={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,c(e,i,t),a(i,function(i){a(e.TRANSFERABLE_METHODS,function(e){i.wrapMethod(e,n.curry(s,t))})}),e.wrapMethod("cloneShallow",n.curry(u,t)),a(e.CHANGABLE_METHODS,function(i){e.wrapMethod(i,n.curry(l,t))}),n.assert(i[e.dataType]===e)};t.exports=p},oGo3:function(t,e,i){i("CVlv").__DEV__;var n=i("ugOh"),a=i("pq8T"),o=i("g5FJ"),r=i("FMJz").setLabel,s=i("CSiU"),l=i("lFos"),u=["itemStyle","normal","barBorderWidth"];a.extend(s.prototype,l);var h=n.extendChartView({type:"bar",render:function(t,e,i){var n=t.get("coordinateSystem");return"cartesian2d"!==n&&"polar"!==n||this._render(t,e,i),this.group},dispose:a.noop,_render:function(t,e,i){var n,a=this.group,r=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?n=u.isHorizontal():"polar"===l.type&&(n="angle"===u.dim);var h=t.isAnimationEnabled()?t:null;r.diff(s).add(function(e){if(r.hasValue(e)){var i=r.getItemModel(e),o=f[l.type](r,e,i),s=c[l.type](r,e,i,o,n,h);r.setItemGraphicEl(e,s),a.add(s),g(s,r,e,i,o,t,n,"polar"===l.type)}}).update(function(e,i){var u=s.getItemGraphicEl(i);if(r.hasValue(e)){var d=r.getItemModel(e),p=f[l.type](r,e,d);u?o.updateProps(u,{shape:p},h,e):u=c[l.type](r,e,d,p,n,h,!0),r.setItemGraphicEl(e,u),a.add(u),g(u,r,e,d,p,t,n,"polar"===l.type)}else a.remove(u)}).remove(function(t){var e=s.getItemGraphicEl(t);"cartesian2d"===l.type?e&&d(t,h,e):e&&p(t,h,e)}).execute(),this._data=r},remove:function(t,e){var i=this.group,n=this._data;t.get("animation")?n&&n.eachItemGraphicEl(function(e){"sector"===e.type?p(e.dataIndex,t,e):d(e.dataIndex,t,e)}):i.removeAll()}}),c={cartesian2d:function(t,e,i,n,r,s,l){var u=new o.Rect({shape:a.extend({},n)});if(s){var h=u.shape,c=r?"height":"width",d={};h[c]=0,d[c]=n[c],o[l?"updateProps":"initProps"](u,{shape:d},s,e)}return u},polar:function(t,e,i,n,r,s,l){var u=new o.Sector({shape:a.extend({},n)});if(s){var h=u.shape,c=r?"r":"endAngle",d={};h[c]=r?0:n.startAngle,d[c]=n[c],o[l?"updateProps":"initProps"](u,{shape:d},s,e)}return u}};function d(t,e,i){i.style.text=null,o.updateProps(i,{shape:{width:0}},e,t,function(){i.parent&&i.parent.remove(i)})}function p(t,e,i){i.style.text=null,o.updateProps(i,{shape:{r:i.shape.r0}},e,t,function(){i.parent&&i.parent.remove(i)})}var f={cartesian2d:function(t,e,i){var n=t.getItemLayout(e),a=function(t,e){var i=t.get(u)||0;return Math.min(i,Math.abs(e.width),Math.abs(e.height))}(i,n),o=n.width>0?1:-1,r=n.height>0?1:-1;return{x:n.x+o*a/2,y:n.y+r*a/2,width:n.width-o*a,height:n.height-r*a}},polar:function(t,e,i){var n=t.getItemLayout(e);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle}}};function g(t,e,i,n,s,l,u,h){var c=e.getItemVisual(i,"color"),d=e.getItemVisual(i,"opacity"),p=n.getModel("itemStyle.normal"),f=n.getModel("itemStyle.emphasis").getBarItemStyle();h||t.setShape("r",p.get("barBorderRadius")||0),t.useStyle(a.defaults({fill:c,opacity:d},p.getBarItemStyle()));var g=n.getShallow("cursor");g&&t.attr("cursor",g);var m=u?s.height>0?"bottom":"top":s.width>0?"left":"right";h||r(t.style,f,n,c,l,i,m),o.setHoverStyle(t,f)}t.exports=h},oWDP:function(t,e,i){var n=i("4cUu").quadraticProjectPoint;e.containStroke=function(t,e,i,a,o,r,s,l,u){if(0===s)return!1;var h=s;return!(u>e+h&&u>a+h&&u>r+h||ut+h&&l>i+h&&l>o+h||l=o||b<0)break;if(p(S)){if(x){b+=f;continue}break}if(b===i)t[f>0?"moveTo":"lineTo"](S[0],S[1]),u(c,S);else if(v>0){var M=b+f,T=e[M];if(x)for(;T&&p(e[M]);)T=e[M+=f];var I=.5,A=e[_];if(!(T=e[M])||p(T))u(d,S);else{var C,D;if(p(T)&&!x&&(T=S),a.sub(h,T,A),"x"===y||"y"===y){var L="x"===y?0:1;C=Math.abs(S[L]-A[L]),D=Math.abs(S[L]-T[L])}else C=a.dist(S,A),D=a.dist(S,T);l(d,S,h,-v*(1-(I=D/(D+C))))}r(c,c,m),s(c,c,g),r(d,d,m),s(d,d,g),t.bezierCurveTo(c[0],c[1],d[0],d[1],S[0],S[1]),l(c,S,h,v*I)}else t.lineTo(S[0],S[1]);_=b,b+=f}return w}function g(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var a=0;an[0]&&(n[0]=o[0]),o[1]>n[1]&&(n[1]=o[1])}return{min:e?i:n,max:e?n:i}}var m=n.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:o(n.prototype.brush),buildPath:function(t,e){var i=e.points,n=0,a=i.length,o=g(i,e.smoothConstraint);if(e.connectNulls){for(;a>0&&p(i[a-1]);a--);for(;n0&&p(i[o-1]);o--);for(;a0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})},p7np:function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("SZFk");n.registerAction("dataZoom",function(t,e){var i=o.createLinkedNodesFinder(a.bind(e.eachComponent,e,"dataZoom"),o.eachAxisDim,function(t,e){return t.get(e.axisIndex)}),n=[];e.eachComponent({mainType:"dataZoom",query:t},function(t,e){n.push.apply(n,i(t).nodes)}),a.each(n,function(e,i){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})},pHrF:function(t,e,i){var n=i("50IJ").forceLayout,a=i("qlBb").simpleLayout,o=i("Y3z2").circularLayout,r=i("036i").linearMap,s=i("vncH"),l=i("pq8T");t.exports=function(t){t.eachSeriesByType("graph",function(t){if(!(v=t.coordinateSystem)||"view"===v.type)if("force"===t.get("layout")){var e=t.preservedPoints||{},i=t.getGraph(),u=i.data,h=i.edgeData,c=t.getModel("force"),d=c.get("initLayout");t.preservedPoints?u.each(function(t){var i=u.getId(t);u.setItemLayout(t,e[i]||[NaN,NaN])}):d&&"none"!==d?"circular"===d&&o(t):a(t);var p=u.getDataExtent("value"),f=h.getDataExtent("value"),g=c.get("repulsion"),m=c.get("edgeLength");l.isArray(g)||(g=[g,g]),l.isArray(m)||(m=[m,m]),m=[m[1],m[0]];var v,y=u.mapArray("value",function(t,e){var i=u.getItemLayout(e),n=r(t,p,g);return isNaN(n)&&(n=(g[0]+g[1])/2),{w:n,rep:n,fixed:u.getItemModel(e).get("fixed"),p:!i||isNaN(i[0])||isNaN(i[1])?null:i}}),x=h.mapArray("value",function(t,e){var n=i.getEdgeByIndex(e),a=r(t,f,m);return isNaN(a)&&(a=(m[0]+m[1])/2),{n1:y[n.node1.dataIndex],n2:y[n.node2.dataIndex],d:a,curveness:n.getModel().get("lineStyle.normal.curveness")||0}}),_=(v=t.coordinateSystem).getBoundingRect(),b=n(y,x,{rect:_,gravity:c.get("gravity")}),w=b.step;b.step=function(t){for(var n=0,a=y.length;n0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=n.clone(t)},getValueState:function(t){var e=o.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),function(e,i){o.findPieceIndex(e,this._pieceList)===t&&n.push(i)},!0,this),e.push({seriesId:i.id,dataIndex:n})},this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var i=t.interval||[];e=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return e},getVisualMeta:function(t){if(!this.isCategory()){var e=[],i=[],a=this,o=this._pieceList.slice();if(o.length){var r=o[0].interval[0];r!==-1/0&&o.unshift({interval:[-1/0,r]}),(r=o[o.length-1].interval[1])!==1/0&&o.push({interval:[r,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return n.each(o,function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])},this),{stops:e,outerColors:i}}function l(n,o){var r=a.getRepresentValue({interval:n});o||(o=a.getValueState(r));var s=t(r,o);n[0]===-1/0?i[0]=s:n[1]===1/0?i[1]=s:e.push({value:n[0],color:s},{value:n[1],color:s})}}}),u={splitNumber:function(){var t=this.option,e=this._pieceList,i=Math.min(t.precision,20),a=this.getExtent(),o=t.splitNumber;o=Math.max(parseInt(o,10),1),t.splitNumber=o;for(var r=(a[1]-a[0])/o;+r.toFixed(i)!==r&&i<5;)i++;t.precision=i,r=+r.toFixed(i);var l=0;t.minOpen&&e.push({index:l++,interval:[-1/0,a[0]],close:[0,0]});for(var u=a[0],h=l+o;l","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,i)},this)}};function h(t,e){var i=t.inverse;("vertical"===t.orient?!i:i)&&e.reverse()}var c=l;t.exports=c},pW1d:function(t,e,i){i("DTUV"),i("efjw"),i("GZqp"),i("Agul"),i("FrWZ"),i("F34J"),i("p7np")},pYow:function(t,e,i){var n=i("pq8T"),a=i("akYI"),o=i("AHl2"),r=i("ALhw");function s(t){this.pointerChecker,this._zr=t,this._opt={};var e=n.bind,i=e(l,this),o=e(u,this),r=e(h,this),s=e(c,this),p=e(d,this);a.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(e,a){this.disable(),this._opt=n.defaults(n.clone(a)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",i),t.on("mousemove",o),t.on("mouseup",r)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",s),t.on("pinch",p))},this.disable=function(){t.off("mousedown",i),t.off("mousemove",o),t.off("mouseup",r),t.off("mousewheel",s),t.off("pinch",p)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(t){if(!(o.notLeftMouse(t)||t.target&&t.target.draggable)){var e=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,i)&&(this._x=e,this._y=i,this._dragging=!0)}}function u(t){if(!o.notLeftMouse(t)&&f(this,"moveOnMouseMove",t)&&this._dragging&&"pinch"!==t.gestureEvent&&!r.isTaken(this._zr,"globalPan")){var e=t.offsetX,i=t.offsetY,n=this._x,a=this._y,s=e-n,l=i-a;this._x=e,this._y=i,this._opt.preventDefaultMouseMove&&o.stop(t.event),this.trigger("pan",s,l,n,a,e,i)}}function h(t){o.notLeftMouse(t)||(this._dragging=!1)}function c(t){if(f(this,"zoomOnMouseWheel",t)&&0!==t.wheelDelta){var e=t.wheelDelta>0?1.1:1/1.1;p.call(this,t,e,t.offsetX,t.offsetY)}}function d(t){if(!r.isTaken(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;p.call(this,t,e,t.pinchX,t.pinchY)}}function p(t,e,i,n){this.pointerChecker&&this.pointerChecker(t,i,n)&&(o.stop(t.event),this.trigger("zoom",e,i,n))}function f(t,e,i){var a=t._opt[e];return a&&(!n.isString(a)||i.event[a+"Key"])}n.mixin(s,a);var g=s;t.exports=g},plmo:function(t,e,i){var n=i("OHyK").otherDimToDataDim;e.findLabelValueDim=function(t){var e,i=n(t,"label");if(i.length)e=i[0];else for(var a,o=t.dimensions.slice();o.length&&(e=o.pop(),"ordinal"===(a=t.getDimensionInfo(e).type)||"time"===a););return e}},pq8T:function(t,e){var i={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},n={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},a=Object.prototype.toString,o=Array.prototype,r=o.forEach,s=o.filter,l=o.slice,u=o.map,h=o.reduce,c={};function d(t){if(null==t||"object"!=typeof t)return t;var e=t,o=a.call(t);if("[object Array]"===o){e=[];for(var r=0,s=t.length;re&&(e=n.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,i=this.children,n=i.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e,i=this.hostTree,n=i.data.getItemModel(this.dataIndex),a=this.getLevelModel();return a||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(e=this.getLeavesModel()),n.getModel(t,(a||e||i.hostModel).getModel(t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)}},u.prototype={constructor:u,type:"tree",eachNode:function(t,e,i){this.root.eachNode(t,e,i)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,i=0,n=e.length;ia&&(a=n));var l=t.area*t.area,u=e*e*i;return l?h(u*a/l,l/(u*o)):1/0}function x(t,e,i,n,a){var o=e===i.width?0:1,r=1-o,s=["x","y"],l=["width","height"],u=i[s[o]],d=e?t.area/e:0;(a||d>i[l[r]])&&(d=i[l[r]]);for(var p=0,f=t.length;ps&&(h=s),r=o}hs[1]&&(s[1]=e)})}else s=[NaN,NaN];return{sum:n,dataExtent:s}}(e,s,l);if(0===h.sum)return t.viewChildren=[];if(h.sum=function(t,e,i,n,a){if(!n)return i;for(var o=t.get("visibleMin"),r=a.length,s=r,l=r-1;l>=0;l--){var u=a["asc"===n?r-l-1:l].getValue();u/i*ee&&o>n||oa?r:0}},qOF0:function(t,e,i){var n=i("pq8T"),a=i("OHyK"),o=i("QCHh"),r=i("vzzQ"),s=n.each,l=n.curry,u=a.makeGetter();function h(t,e,i,a,o){var r=t.axis;if(!r.scale.isBlank()&&r.containData(e))if(t.involveSeries){var l=function(t,e){var i=e.axis,n=i.dim,a=t,o=[],r=Number.MAX_VALUE,l=-1;return s(e.seriesModels,function(e,u){var h,c,d=e.coordDimToDataDim(n);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(d,t,i);c=p.dataIndices,h=p.nestestValue}else{if(!(c=e.getData().indicesOfNearest(d[0],t,!1,"category"===i.type?.5:null)).length)return;h=e.getData().get(d[0],c[0])}if(null!=h&&isFinite(h)){var f=t-h,g=Math.abs(f);g<=r&&((g=0&&l<0)&&(r=g,l=f,a=h,o.length=0),s(c,function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:o,snapToValue:a}}(e,t),u=l.payloadBatch,h=l.snapToValue;u[0]&&null==o.seriesIndex&&n.extend(o,u[0]),!a&&t.snap&&r.containData(h)&&null!=h&&(e=h),i.showPointer(t,e,u,o),i.showTooltip(t,l,h)}else i.showPointer(t,e)}function c(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function d(t,e,i,n){var a=i.payloadBatch,r=e.axis,s=r.model,l=e.axisPointerModel;if(e.triggerTooltip&&a.length){var u=e.coordSys.model,h=o.makeKey(u),c=t.map[h];c||(c=t.map[h]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:r.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:n,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:a.slice()})}}function p(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=e.componentIndex,i.axisName=i[n+"AxisName"]=e.name,i.axisId=i[n+"AxisId"]=e.id,i}function f(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=function(t,e,i){var a=t.currTrigger,o=[t.x,t.y],g=t,m=t.dispatchAction||n.bind(i.dispatchAction,i),v=e.getComponent("axisPointer").coordSysAxesInfo;if(v){f(o)&&(o=r({seriesIndex:g.seriesIndex,dataIndex:g.dataIndex},e).point);var y=f(o),x=g.axesInfo,_=v.axesInfo,b="leave"===a||f(o),w={},S={},M={list:[],map:{}},T={showPointer:l(c,S),showTooltip:l(d,M)};s(v.coordSysMap,function(t,e){var i=y||t.containPoint(o);s(v.coordSysAxesInfo[e],function(t,e){var n=t.axis,a=function(t,e){for(var i=0;i<(t||[]).length;i++){var n=t[i];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}(x,t);if(!b&&i&&(!x||a)){var r=a&&a.value;null!=r||y||(r=n.pointToData(o)),null!=r&&h(t,r,T,!1,w)}})});var I={};return s(_,function(t,e){var i=t.linkGroup;i&&!S[e]&&s(i.axesInfo,function(e,n){var a=S[n];if(e!==t&&a){var o=a.value;i.mapper&&(o=t.axis.scale.parse(i.mapper(o,p(e),p(t)))),I[t.key]=o}})}),s(I,function(t,e){h(_[e],t,T,!0,w)}),function(t,e,i){var n=i.axesInfo=[];s(e,function(e,i){var a=e.axisPointerModel.option,o=t[i];o?(!e.useHandle&&(a.status="show"),a.value=o.value,a.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(a.status="hide"),"show"===a.status&&n.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:a.value})})}(S,_,w),function(t,e,i,n){if(!f(e)&&t.list.length){var a=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:t.list})}else n({type:"hideTip"})}(M,o,t,m),function(t,e,i){var a=i.getZr(),o=u(a).axisPointerLastHighlights||{},r=u(a).axisPointerLastHighlights={};s(t,function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&s(i.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;r[e]=t})});var l=[],h=[];n.each(o,function(t,e){!r[e]&&h.push(t)}),n.each(r,function(t,e){!o[e]&&l.push(t)}),h.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:h}),l.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:l})}(_,0,i),w}}},qdGW:function(t,e,i){var n=i("pq8T"),a=i("JPSp"),o=i("036i"),r=i("f+rF"),s=i("dS2O"),l=function(t,e,i,a){var o=t.getData(),s=a.type;if(!n.isArray(a)&&("min"===s||"max"===s||"average"===s||null!=a.xAxis||null!=a.yAxis)){var l,u;if(null!=a.yAxis||null!=a.xAxis)l=null!=a.yAxis?"y":"x",e.getAxis(l),u=n.retrieve(a.yAxis,a.xAxis);else{var h=r.getAxisInfo(a,o,e,t);l=h.valueDataDim,h.valueAxis,u=r.numCalculate(o,l,s)}var c="x"===l?0:1,d=1-c,p=n.clone(a),f={};p.type=null,p.coord=[],f.coord=[],p.coord[d]=-1/0,f.coord[d]=1/0;var g=i.get("precision");g>=0&&"number"==typeof u&&(u=+u.toFixed(Math.min(g,20))),p.coord[c]=f.coord[c]=u,a=[p,f,{type:s,valueIndex:a.valueIndex,value:u}]}return(a=[r.dataTransform(t,a[0]),r.dataTransform(t,a[1]),n.extend({},a[2])])[2].type=a[2].type||"",n.merge(a[2],a[0]),n.merge(a[2],a[1]),a};function u(t){return!isNaN(t)&&!isFinite(t)}function h(t,e,i,n){var a=1-t,o=n.dimensions[t];return u(e[a])&&u(i[a])&&e[t]===i[t]&&n.getAxis(o).containData(e[t])}function c(t,e){if("cartesian2d"===t.type){var i=e[0].coord,n=e[1].coord;if(i&&n&&(h(1,i,n,t)||h(0,i,n,t)))return!0}return r.dataFilter(t,e[0])&&r.dataFilter(t,e[1])}function d(t,e,i,n,a){var r,s=n.coordinateSystem,l=t.getItemModel(e),h=o.parsePercent(l.get("x"),a.getWidth()),c=o.parsePercent(l.get("y"),a.getHeight());if(isNaN(h)||isNaN(c)){if(n.getMarkerPosition)r=n.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=s.dimensions,p=t.get(d[0],e),f=t.get(d[1],e);r=s.dataToPoint([p,f])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");d=s.dimensions;u(t.get(d[0],e))?r[0]=g.toGlobalCoord(g.getExtent()[i?0:1]):u(t.get(d[1],e))&&(r[1]=m.toGlobalCoord(m.getExtent()[i?0:1]))}isNaN(h)||(r[0]=h),isNaN(c)||(r[1]=c)}else r=[h,c];t.setItemLayout(e,r)}var p=i("LgtJ").extend({type:"markLine",updateLayout:function(t,e,i){e.eachSeries(function(t){var e=t.markLineModel;if(e){var n=e.getData(),a=e.__from,o=e.__to;a.each(function(e){d(a,e,!0,t,i),d(o,e,!1,t,i)}),n.each(function(t){n.setItemLayout(t,[a.getItemLayout(t),o.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},renderSeries:function(t,e,i,o){var u=t.coordinateSystem,h=t.id,p=t.getData(),f=this.markerGroupMap,g=f.get(h)||f.set(h,new s);this.group.add(g.group);var m=function(t,e,i){var o;o=t?n.map(t&&t.dimensions,function(t){var i=e.getData().getDimensionInfo(e.coordDimToDataDim(t)[0])||{};return i.name=t,i}):[{name:"value",type:"float"}];var s=new a(o,i),u=new a(o,i),h=new a([],i),d=n.map(i.get("data"),n.curry(l,e,t,i));t&&(d=n.filter(d,n.curry(c,t)));var p=t?r.dimValueGetter:function(t){return t.value};return s.initData(n.map(d,function(t){return t[0]}),null,p),u.initData(n.map(d,function(t){return t[1]}),null,p),h.initData(n.map(d,function(t){return t[2]})),h.hasItemOption=!0,{from:s,to:u,line:h}}(u,t,e),v=m.from,y=m.to,x=m.line;e.__from=v,e.__to=y,e.setData(x);var _=e.get("symbol"),b=e.get("symbolSize");function w(e,i,n){var a=e.getItemModel(i);d(e,i,n,t,o),e.setItemVisual(i,{symbolSize:a.get("symbolSize")||b[n?0:1],symbol:a.get("symbol",!0)||_[n?0:1],color:a.get("itemStyle.normal.color")||p.getVisual("color")})}n.isArray(_)||(_=[_,_]),"number"==typeof b&&(b=[b,b]),m.from.each(function(t){w(v,t,!0),w(y,t,!1)}),x.each(function(t){var e=x.getItemModel(t).get("lineStyle.normal.color");x.setItemVisual(t,{color:e||v.getItemVisual(t,"color")}),x.setItemLayout(t,[v.getItemLayout(t),y.getItemLayout(t)]),x.setItemVisual(t,{fromSymbolSize:v.getItemVisual(t,"symbolSize"),fromSymbol:v.getItemVisual(t,"symbol"),toSymbolSize:y.getItemVisual(t,"symbolSize"),toSymbol:y.getItemVisual(t,"symbol")})}),g.updateData(x),m.line.eachItemGraphicEl(function(t,i){t.traverse(function(t){t.dataModel=e})}),g.__keep=!0,g.group.silent=e.get("silent")||t.get("silent")}});t.exports=p},qeV9:function(t,e,i){var n=i("ugOh"),a=i("pq8T"),o=i("g5FJ");i("jNit"),i("w4ml"),n.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new o.Rect({shape:t.coordinateSystem.getRect(),style:a.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),n.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})},qlBb:function(t,e,i){var n=i("vncH");function a(t){t.eachEdge(function(t){var e=t.getModel().get("lineStyle.normal.curveness")||0,i=n.clone(t.node1.getLayout()),a=n.clone(t.node2.getLayout()),o=[i,a];+e&&o.push([(i[0]+a[0])/2-(i[1]-a[1])*e,(i[1]+a[1])/2-(a[0]-i[0])*e]),t.setLayout(o)})}e.simpleLayout=function(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var i=t.getGraph();i.eachNode(function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])}),a(i)}},e.simpleLayoutEdge=a},qmu6:function(t,e,i){var n=i("pq8T"),a=i("2ljS"),o=i("AHl2"),r=i("tPSd"),s=i("n1fC"),l=n.each,u=s.toCamelCase,h=["","-webkit-","-moz-","-o-"];function c(t){var e,i,o=[],c=t.get("transitionDuration"),d=t.get("backgroundColor"),p=t.getModel("textStyle"),f=t.get("padding");return c&&o.push((i="left "+(e=c)+"s cubic-bezier(0.23, 1, 0.32, 1),top "+e+"s cubic-bezier(0.23, 1, 0.32, 1)",n.map(h,function(t){return t+"transition:"+i}).join(";"))),d&&(r.canvasSupported?o.push("background-Color:"+d):(o.push("background-Color:#"+a.toHex(d)),o.push("filter:alpha(opacity=70)"))),l(["width","color","radius"],function(e){var i="border-"+e,n=u(i),a=t.get(n);null!=a&&o.push(i+":"+a+("color"===e?"":"px"))}),o.push(function(t){var e=[],i=t.get("fontSize"),n=t.getTextColor();return n&&e.push("color:"+n),e.push("font:"+t.getFont()),i&&e.push("line-height:"+Math.round(3*i/2)+"px"),l(["decoration","align"],function(i){var n=t.get(i);n&&e.push("text-"+i+":"+n)}),e.join(";")}(p)),null!=f&&o.push("padding:"+s.normalizeCssArray(f).join("px ")+"px"),o.join(";")+";"}function d(t,e){var i=document.createElement("div"),n=this._zr=e.getZr();this.el=i,this._x=e.getWidth()/2,this._y=e.getHeight()/2,t.appendChild(i),this._container=t,this._show=!1,this._hideTimeout;var a=this;i.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},i.onmousemove=function(e){if(e=e||window.event,!a._enterable){var i=n.handler;o.normalizeEvent(t,e,!0),i.dispatch("mousemove",e)}},i.onmouseleave=function(){a._enterable&&a._show&&a.hideLater(a._hideDelay),a._inContent=!1}}d.prototype={constructor:d,_enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t),i=t.style;"absolute"!==i.position&&"absolute"!==e.position&&(i.position="relative")},show:function(t){clearTimeout(this._hideTimeout);var e=this.el;e.style.cssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+c(t)+";left:"+this._x+"px;top:"+this._y+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var i,n=this._zr;n&&n.painter&&(i=n.painter.getViewportRootOffset())&&(t+=i.offsetLeft,e+=i.offsetTop);var a=this.el.style;a.left=t+"px",a.top=e+"px",this._x=t,this._y=e},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show}};var p=d;t.exports=p},qsgh:function(t,e,i){var n=i("pq8T"),a=i("pYow"),o=i("yk+f"),r=n.curry,s="\0_ec_dataZoom_roams";function l(t){var e=t.getZr();return e[s]||(e[s]={})}function u(t){n.each(t,function(e,i){e.count||(e.controller.dispose(),delete t[i])})}function h(t,e,i,n,a,o,r){d(t,function(s){return s.panGetRange(t.controller,e,i,n,a,o,r)})}function c(t,e,i,n){d(t,function(a){return a.zoomGetRange(t.controller,e,i,n)})}function d(t,e){var i=[];n.each(t.dataZoomInfos,function(t){var n=e(t);!t.disabled&&n&&i.push({dataZoomId:t.dataZoomId,start:n[0],end:n[1]})}),t.dispatchAction(i)}function p(t,e){t.dispatchAction({type:"dataZoom",batch:e})}e.register=function(t,e){var i=l(t),s=e.dataZoomId,d=e.coordId;n.each(i,function(t,i){var a=t.dataZoomInfos;a[s]&&n.indexOf(e.allCoordIds,d)<0&&(delete a[s],t.count--)}),u(i);var f=i[d];f||((f=i[d]={coordId:d,dataZoomInfos:{},count:0}).controller=function(t,e){var i=new a(t.getZr());return i.on("pan",r(h,e)),i.on("zoom",r(c,e)),i}(t,f),f.dispatchAction=n.curry(p,t)),!f.dataZoomInfos[s]&&f.count++,f.dataZoomInfos[s]=e;var g,m,v,y,x=(g=f.dataZoomInfos,v={},y={true:2,move:1,false:0,undefined:-1},n.each(g,function(t){var e=!t.disabled&&(!t.zoomLock||"move");y[e]>y[m]&&(m=e),n.extend(v,t.roamControllerOpt)}),{controlType:m,opt:v});f.controller.enable(x.controlType,x.opt),f.controller.setPointerChecker(e.containsPoint),o.createOrUpdate(f,"dispatchAction",e.throttleRate,"fixRate")},e.unregister=function(t,e){var i=l(t);n.each(i,function(t){t.controller.dispose();var i=t.dataZoomInfos;i[e]&&(delete i[e],t.count--)}),u(i)},e.shouldRecordRange=function(t,e){if(t&&"dataZoom"===t.type&&t.batch)for(var i=0,n=t.batch.length;ix?"left":"right",p=Math.abs(c[1]-_)/y<.3?"middle":c[1]>_?"top":"bottom"}return{position:c,align:d,verticalAlign:p}}(e,i,0,p,a.get("label.margin"));r.buildLabelElOption(t,i,a,u,y)}});var c={line:function(t,e,i,n,a){return"angle"===t.dim?{type:"Line",shape:r.makeLineShape(e.coordToPoint([n[0],i]),e.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:i}}},shadow:function(t,e,i,n,a){var o=t.getBandWidth(),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:r.makeSectorShape(e.cx,e.cy,n[0],n[1],(-i-o/2)*s,(o/2-i)*s)}:{type:"Sector",shape:r.makeSectorShape(e.cx,e.cy,i-o/2,i+o/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",h);var d=h;t.exports=d},rIG5:function(t,e,i){var n=i("ugOh"),a=i("pq8T");t.exports=function(t,e){a.each(e,function(e){e.update="updateView",n.registerAction(e,function(i,n){var a={};return n.eachComponent({mainType:"series",subType:t,query:i},function(t){t[e.method]&&t[e.method](i.name,i.dataIndex);var n=t.getData();n.each(function(e){var i=n.getName(e);a[i]=t.isSelected(i)||!1})}),{name:i.name,selected:a}})})}},rXVi:function(t,e,i){var n=i("036i"),a=i("n1fC"),o=i("mail"),r=i("45zR"),s=n.round,l=o.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var i=this._extent;isNaN(t)||(i[0]=parseFloat(t)),isNaN(e)||(i[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=r.getIntervalPrecision(t)},getTicks:function(){return r.intervalScaleGetTicks(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getTicksLabels:function(){for(var t=[],e=this.getTicks(),i=0;i3||Math.abs(e)>3)){var i=this.seriesModel.getData().tree.root;if(!i)return;var n=i.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t,y:n.y+e,width:n.width,height:n.height}})}},_onZoom:function(t,e,i){if("animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var a=n.getLayout();if(!a)return;var o=new h(a.x,a.y,a.width,a.height),r=this.seriesModel.layoutInfo;e-=r.x,i-=r.y;var s=c.create();c.translate(s,s,[-e,-i]),c.scale(s,s,[t,t]),c.translate(s,s,[e,i]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},_initEvents:function(t){t.on("click",function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var i=this.findTarget(t.offsetX,t.offsetY);if(i){var n=i.node;if(n.getLayout().isLeafRoot)this._rootToNode(i);else if("zoomToNode"===e)this._zoomToNode(i);else if("link"===e){var a=n.hostTree.data.getItemModel(n.dataIndex),o=a.get("link",!0),r=a.get("target",!0)||"blank";o&&window.open(o,r)}}}}},this)},_renderBreadcrumb:function(t,e,i){i||(i=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(i={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(t,e,i.node,f(function(e){"animating"!==this._state&&(s.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))},this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var i;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(n){var a=this._storage.background[n.getRawIndex()];if(a){var o=a.transformCoordToLocal(t,e),r=a.shape;if(!(r.x<=o[0]&&o[0]<=r.x+r.width&&r.y<=o[1]&&o[1]<=r.y+r.height))return!1;i={node:n,offsetX:o[0],offsetY:o[1]}}},this),i}});function C(t,e,i,n,r,s,l,u,h,c){if(l){var d=l.getLayout();if(d&&d.isInView){var p=d.width,f=d.height,v=d.borderWidth,A=d.invisible,C=l.getRawIndex(),D=u&&u.getRawIndex(),L=l.viewChildren,P=d.upperHeight,k=L&&L.length,O=l.getModel("itemStyle.normal"),E=l.getModel("itemStyle.emphasis"),N=G("nodeGroup",g);if(N){if(h.add(N),N.attr("position",[d.x||0,d.y||0]),N.__tmNodeWidth=p,N.__tmNodeHeight=f,d.isAboveViewRoot)return N;var z=G("background",m,c,S);if(z&&function(e,i,n){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex,i.setShape({x:0,y:0,width:p,height:f});var a=l.getVisual("borderColor",!0),r=E.get("borderColor");V(i,function(){var t=I(O);t.fill=a;var e=T(E);if(e.fill=r,n){var s=p-2*v;B(t,e,a,s,P,{x:v,y:0,width:s,height:P})}else t.text=e.text=null;i.setStyle(t),o.setHoverStyle(i,e)}),e.add(i)}(N,z,k&&d.upperHeight),!k){var R=G("content",m,c,M);R&&function(e,i){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex;var n=Math.max(p-2*v,0),a=Math.max(f-2*v,0);i.culling=!0,i.setShape({x:v,y:v,width:n,height:a});var r=l.getVisual("color",!0);V(i,function(){var t=I(O);t.fill=r;var e=T(E);B(t,e,r,n,a),i.setStyle(t),o.setHoverStyle(i,e)}),e.add(i)}(N,R)}return N}}}function V(t,e){A?!t.invisible&&s.push(t):(e(),t.__tmWillVisible||(t.invisible=!1))}function B(e,i,n,r,s,u){var h=l.getModel(),c=a.retrieve(t.getFormattedLabel(l.dataIndex,"normal",null,null,u?"upperLabel":"label"),h.get("name"));if(!u&&d.isLeafRoot){var p=t.get("drillDownIcon",!0);c=p?p+" "+c:c}var f=h.getModel(u?_:y),g=h.getModel(u?b:x),m=f.getShallow("show");o.setLabelStyle(e,i,f,g,{defaultText:m?c:null,autoColor:n,isRectText:!0}),u&&(e.textRect=a.clone(u)),e.truncate=m&&f.get("ellipsis")?{outerWidth:r,outerHeight:s,minChar:2}:null}function G(t,o,s,u){var h=null!=D&&i[t][D],c=r[t];return h?(i[t][D]=null,function(t,e,i){(t[C]={}).old="nodeGroup"===i?e.position.slice():a.extend({},e.shape)}(c,h,t)):A||((h=new o({z:function(t,e){var i=t*w+e;return(i-1)/i}(s,u)})).__tmDepth=s,h.__tmStorageName=t,function(t,e,i){var a=t[C]={},o=l.parentNode;if(o&&(!n||"drillDown"===n.direction)){var s=0,u=0,h=r.background[o.getRawIndex()];!n&&h&&h.old&&(s=h.old.width,u=h.old.height),a.old="nodeGroup"===i?[0,u]:{x:s,y:u,width:0,height:0}}a.fadein="nodeGroup"!==i}(c,0,t)),e[t][C]=h}}t.exports=A},rq1s:function(t,e,i){var n=new(i("J0e7"))(50);function a(){var t=this.__cachedImgObj;this.onload=this.__cachedImgObj=null;for(var e=0;e=0?parseFloat(t)/100*e:parseFloat(t):t}function I(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}e.normalizeTextStyle=function(t){return g(t),r(t.rich,g),t},e.renderText=function(t,e,i,n,a){n.rich?function(t,e,i,n,a){var o=t.__textCotentBlock;o&&!t.__dirty||(o=t.__textCotentBlock=h.parseRichText(i,n)),function(t,e,i,n,a){var o=i.width,r=i.outerWidth,s=i.outerHeight,l=n.textPadding,u=b(0,n,a),c=u.baseX,d=u.baseY,p=u.textAlign,f=u.textVerticalAlign;m(e,n,a,c,d);var g=h.adjustTextX(c,r,p),_=h.adjustTextY(d,s,f),w=g,S=_;l&&(w+=l[3],S+=l[0]);var M=w+o;y(n)&&x(t,e,n,g,_,r,s);for(var T=0;T=0&&"right"===(I=C[N]).textAlign;)v(t,e,I,n,L,S,E,"right"),P-=I.width,E-=I.width,N--;for(O+=(o-(O-w)-(M-E)-P)/2;k<=N;)I=C[k],v(t,e,I,n,L,S,O+I.width/2,"center"),O+=I.width,k++;S+=L}}(t,e,o,n,a)}(t,e,i,n,a):function(t,e,i,n,a){var o=w(e,"font",n.font||h.DEFAULT_FONT),r=n.textPadding,s=t.__textCotentBlock;s&&!t.__dirty||(s=t.__textCotentBlock=h.parsePlainText(i,o,r,n.truncate));var l=s.outerHeight,u=s.lines,c=s.lineHeight,d=b(0,n,a),p=d.baseX,f=d.baseY,g=d.textAlign,v=d.textVerticalAlign;m(e,n,a,p,f);var _=h.adjustTextY(f,l,v),T=p,A=_,C=y(n);if(C||r){var D=h.getWidth(i,o),L=D;r&&(L+=r[1]+r[3]);var P=h.adjustTextX(p,L,g);C&&x(t,e,n,P,_,L,l),r&&(T=I(p,g,r),A+=r[0])}w(e,"textAlign",g||"left"),w(e,"textBaseline","middle"),w(e,"shadowBlur",n.textShadowBlur||0),w(e,"shadowColor",n.textShadowColor||"transparent"),w(e,"shadowOffsetX",n.textShadowOffsetX||0),w(e,"shadowOffsetY",n.textShadowOffsetY||0),A+=c/2;var k=n.textStrokeWidth,O=S(n.textStroke,k),E=M(n.textFill);O&&(w(e,"lineWidth",k),w(e,"strokeStyle",O)),E&&w(e,"fillStyle",E);for(var N=0;N=0)return!0}(t)){var o=function(t){for(var e=t.split(/\n+/g),i=d(e.shift()).split(p),n=[],o=a.map(i,function(t){return{name:t,data:[]}}),r=0;r=11)}}(navigator.userAgent);t.exports=i},tYLN:function(t,e,i){var n=i("pq8T"),a={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};t.exports=function(t){n.each(t.regions,function(t){var e=a[t.name];if(e){var i=t.center;i[0]=e[0],i[1]=e[1]}})}},tev2:function(t,e,i){var n=i("xvTZ").createElement,a=i("pq8T"),o=a.each,r=i("day3"),s=i("M6HP"),l=i("KRDX"),u=i("kt8u"),h=i("+l57"),c=i("3vyJ"),d=i("4kmA"),p=i("iIoH"),f=p.path,g=p.image,m=p.text;function v(t){return parseInt(t,10)}function y(t,e){return e&&t&&e.parentNode!==t}function x(t,e,i){if(y(t,e)&&i){var n=i.nextSibling;n?t.insertBefore(e,n):t.appendChild(e)}}function _(t,e){if(y(t,e)){var i=t.firstChild;i?t.insertBefore(e,i):t.appendChild(e)}}function b(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function w(t){return t.__textSvgEl}function S(t){return t.__svgEl}var M=function(t,e,i){this.root=t,this.storage=e,this._opts=i=a.extend({},i||{});var o=n("svg");o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("version","1.1"),o.setAttribute("baseProfile","full"),o.style["user-select"]="none",o.style.cssText="position:absolute;left:0;top:0;",this.gradientManager=new c(o),this.clipPathManager=new d(o);var r=document.createElement("div");r.style.cssText="overflow:hidden;position:relative",this._svgRoot=o,this._viewport=r,t.appendChild(r),r.appendChild(o),this.resize(i.width,i.height),this._visibleList=[]};M.prototype={constructor:M,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused();var e,i,n=this._svgRoot,a=this._visibleList,o=t.length,r=[];for(e=0;e=0;--n)if(i[n]===t)return!0;return!1}),e):null:e[0]},resize:function(t,e){var i=this._viewport;i.style.display="none";var n=this._opts;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=this._getSize(0),e=this._getSize(1),i.style.display="",this._width!==t&&this._height!==e){this._width=t,this._height=e;var a=i.style;a.width=t+"px",a.height=e+"px";var o=this._svgRoot;o.setAttribute("width",t),o.setAttribute("height",e)}},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,i=["width","height"][t],n=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=e[i]&&"auto"!==e[i])return parseFloat(e[i]);var r=this.root,s=document.defaultView.getComputedStyle(r);return(r[n]||v(s[i])||v(r.style[i]))-(v(s[a])||0)-(v(s[o])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},pathToSvg:function(){this.refresh();var t=this._svgRoot.outerHTML;return"data:img/svg+xml;utf-8,"+unescape(t)}},o(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){var e;M.prototype[t]=(e=t,function(){r('In SVG mode painter not support method "'+e+'"')})});var T=M;t.exports=T},tsZA:function(t,e,i){var n=i("ugOh"),a=i("msdI");i("p6kG"),i("T/EP"),i("pR9/"),i("dmUL"),i("u8Jy"),n.registerPreprocessor(a)},"u+IL":function(t,e,i){var n=i("PrvN"),a=i("0MR/"),o=i("JPSp"),r=i("pq8T"),s=i("n1fC").encodeHTML,l=i("DOiN"),u=a.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){u.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(t){for(var e=t.length,i=l().key(function(t){return t[2]}).entries(t),n=r.map(i,function(t){return{name:t.key,dataList:t.values}}),a=n.length,o=-1,s=-1,u=0;uo&&(o=h,s=u)}for(var c=0;c')}}catch(t){n=function(t){return l.createElement("<"+t+' xmlns="'+o+'" class="zrvml">')}}e.doc=l,e.createNode=function(t){return n(t)},e.initVML=function(){if(!s&&l){s=!0;var t=l.styleSheets;t.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}},uNYB:function(t,e,i){var n=i("pq8T"),a=i("OHyK"),o=i("zxje"),r=n.each,s=n.clone,l=n.map,u=n.merge,h=/^(min|max)?(.+)$/;function c(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function d(t,e,i){var a={width:e,height:i,aspectratio:e/i},o=!0;return n.each(t,function(t,e){var i=e.match(h);if(i&&i[1]&&i[2]){var n=i[1],r=i[2].toLowerCase();(function(t,e,i){return"min"===i?t>=e:"max"===i?t<=e:t===e})(a[r],t,n)||(o=!1)}}),o}c.prototype={constructor:c,setOption:function(t,e){t=s(t,!0);var i,h,c=this._optionBackup,d=function(t,e,i){var a,o,s=[],l=[],u=t.timeline;t.baseOption&&(o=t.baseOption);(u||t.options)&&(o=o||{},s=(t.options||[]).slice());if(t.media){o=o||{};var h=t.media;r(h,function(t){t&&t.option&&(t.query?l.push(t):a||(a=t))})}o||(o=t);o.timeline||(o.timeline=u);return r([o].concat(s).concat(n.map(l,function(t){return t.option})),function(t){r(e,function(e){e(t,i)})}),{baseOption:o,timelineOptions:s,mediaDefault:a,mediaList:l}}.call(this,t,e,!c);this._newBaseOption=d.baseOption,c?(i=c.baseOption,h=d.baseOption,r(h=h||{},function(t,e){if(null!=t){var n=i[e];if(o.hasClass(e)){t=a.normalizeToArray(t),n=a.normalizeToArray(n);var r=a.mappingToExists(n,t);i[e]=l(r,function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option})}else i[e]=u(n,t,!0)}}),d.timelineOptions.length&&(c.timelineOptions=d.timelineOptions),d.mediaList.length&&(c.mediaList=d.mediaList),d.mediaDefault&&(c.mediaDefault=d.mediaDefault)):this._optionBackup=d},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,i=this._timelineOptions;if(i.length){var n=t.getComponent("timeline");n&&(e=s(i[n.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e,i,n=this._api.getWidth(),a=this._api.getHeight(),o=this._mediaList,r=this._mediaDefault,u=[],h=[];if(!o.length&&!r)return h;for(var c=0,p=o.length;c=0&&a.each(t,function(t){var a=t.coordinateSystem;if(a&&a.containPoint)i|=!!a.containPoint(e);else if("seriesModels"===n){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(i|=o.containPoint(e,t))}},this)},this),!!i},N.getVisual=function(t,e){var i=this._model,n=(t=x.parseFinder(i,t,{defaultMainType:"series"})).seriesModel.getData(),a=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;return null!=a?n.getItemVisual(a,e):n.getVisual(e)},N.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},N.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var R={update:function(t){var e=this._model,i=this._api,n=this._coordSysMgr,a=this._zr;if(e){e.restoreData(),n.create(this._model,this._api),function(t,e){S(K,function(i){i.func(t,e)})}.call(this,e,i),function(t){var e={};t.eachSeries(function(t){var i=t.get("stack"),n=t.getData();if(i&&"list"===n.type){var a=e[i];e.hasOwnProperty(i)&&a&&(n.stackedOn=a),e[i]=n}})}.call(this,e),n.update(e,i),q.call(this,e,t),function(t,e){var i=this._api;S(this._componentsViews,function(n){var a=n.__model;n.render(a,t,i,e),J(a,n)},this),S(this._chartsViews,function(t){t.__alive=!1},this),t.eachSeries(function(n,a){var o=this._chartsMap[n.__viewId];o.__alive=!0,o.render(n,t,i,e),o.group.silent=!!n.get("silent"),J(n,o),j(n,o)},this),U(this._zr,t),S(this._chartsViews,function(e){e.__alive||e.remove(t,i)},this)}.call(this,e,t);var s=e.get("backgroundColor")||"transparent",l=a.painter;if(l.isSingleCanvas&&l.isSingleCanvas())a.configLayer(0,{clearColor:s});else{if(!r.canvasSupported){var u=o.parse(s);s=o.stringify(u,"rgb"),0===u[3]&&(s="transparent")}s.colorStops||s.image?(a.configLayer(0,{clearColor:s}),this.__hasGradientOrPatternBg=!0,this._dom.style.background="transparent"):(this.__hasGradientOrPatternBg&&a.configLayer(0,{clearColor:null}),this.__hasGradientOrPatternBg=!1,this._dom.style.background=s)}S($,function(t){t(e,i)})}},updateView:function(t){var e=this._model;e&&(e.eachSeries(function(t){t.getData().clearAllVisual()}),q.call(this,e,t),F.call(this,"updateView",e,t))},updateVisual:function(t){var e=this._model;e&&(e.eachSeries(function(t){t.getData().clearAllVisual()}),q.call(this,e,t,!0),F.call(this,"updateVisual",e,t))},updateLayout:function(t){var e=this._model;e&&(function(t,e){var i=this._api;S(tt,function(n){n.isLayout&&n.func(t,i,e)})}.call(this,e,t),F.call(this,"updateLayout",e,t))},prepareAndUpdate:function(t){var e=this._model;W.call(this,"component",e),W.call(this,"chart",e),R.update.call(this,t)}};function V(t,e,i,n,a){var o=t._model;if(n){var r={};r[n+"Id"]=i[n+"Id"],r[n+"Index"]=i[n+"Index"],r[n+"Name"]=i[n+"Name"];var s={mainType:n,query:r};a&&(s.subType=a),o&&o.eachComponent(s,function(e,i){l(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else S(t._componentsViews.concat(t._chartsViews),l);function l(n){n&&n.__alive&&n[e]&&n[e](n.__model,o,t._api,i)}}function B(t,e){var i=t.type,n=t.escapeConnect,o=X[i],r=o.actionInfo,s=(r.update||"update").split(":"),l=s.pop();s=null!=s[0]&&M(s[0]),this[D]=!0;var u=[t],h=!1;t.batch&&(h=!0,u=a.map(t.batch,function(e){return(e=a.defaults(a.extend({},e),t)).batch=null,e}));var c,d=[],p="highlight"===i||"downplay"===i;S(u,function(t){(c=(c=o.action(t,this._model,this._api))||a.extend({},t)).type=r.event||c.type,d.push(c),p?V(this,l,t,"series"):s&&V(this,l,t,s.main,s.sub)},this),"none"===l||p||s||(this[L]?(R.prepareAndUpdate.call(this,t),this[L]=!1):R[l].call(this,t)),c=h?{type:r.event||i,escapeConnect:n,batch:d}:d[0],this[D]=!1,!e&&this._messageCenter.trigger(c.type,c)}function G(t){for(var e=this._pendingActions;e.length;){var i=e.shift();B.call(this,i,t)}}function H(t){!t&&this.trigger("updated")}function F(t,e,i){var n=this._api;S(this._componentsViews,function(a){var o=a.__model;a[t](o,e,n,i),J(o,a)},this),e.eachSeries(function(a,o){var r=this._chartsMap[a.__viewId];r[t](a,e,n,i),J(a,r),j(a,r)},this),U(this._zr,e),S($,function(t){t(e,n)})}function W(t,e){for(var i="component"===t,n=i?this._componentsViews:this._chartsViews,a=i?this._componentsMap:this._chartsMap,o=this._zr,r=0;re.get("hoverLayerThreshold")&&!r.node&&i.traverse(function(t){t.isGroup||(t.useHoverLayer=!0)})}function j(t,e){var i=0;e.group.traverse(function(t){"group"===t.type||t.ignore||i++});var n=+t.get("progressive"),a=i>t.get("progressiveThreshold")&&n&&!r.node;a&&e.group.traverse(function(t){t.isGroup||(t.progressive=a?Math.floor(i++/n):-1,a&&t.stopAnimation(!0))});var o=t.get("blendMode")||null;e.group.traverse(function(t){t.isGroup||t.setStyle("blend",o)})}function J(t,e){var i=t.get("z"),n=t.get("zlevel");e.group.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=n&&(t.zlevel=n))})}N._initEvents=function(){S(Z,function(t){this._zr.on(t,function(e){var i,n=this.getModel(),o=e.target;if("globalout"===t)i={};else if(o&&null!=o.dataIndex){var r=o.dataModel||n.getSeriesByIndex(o.seriesIndex);i=r&&r.getDataParams(o.dataIndex,o.dataType)||{}}else o&&o.eventData&&(i=a.extend({},o.eventData));i&&(i.event=e,i.type=t,this.trigger(t,i))},this)},this),S(Y,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},N.isDisposed=function(){return this._disposed},N.clear=function(){this.setOption({series:[]},!0)},N.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._api,e=this._model;S(this._componentsViews,function(i){i.dispose(e,t)}),S(this._chartsViews,function(i){i.dispose(e,t)}),this._zr.dispose(),delete nt[this.id]}},a.mixin(E,l);var X={},Y={},K=[],Q=[],$=[],tt=[],et={},it={},nt={},at={},ot=new Date-0,rt=new Date-0,st="_echarts_instance_",lt={};function ut(t){at[t]=!1}var ht=ut;function ct(t){var e;return e=t.getAttribute?t.getAttribute(st):t[st],nt[e]}function dt(t){Q.push(t)}function pt(t,e,i){"function"==typeof e&&(i=e,e="");var n=a.isObject(t)?t.type:[t,t={event:e}][0];t.event=(t.event||n).toLowerCase(),e=t.event,a.assert(P.test(n)&&P.test(e)),X[n]||(X[n]={action:i,actionInfo:t}),Y[e]=n}function ft(t,e){"function"==typeof t&&(e=t,t=A),tt.push({prio:t,func:e})}function gt(t,e){it[t]=e}ft(2e3,b),dt(p),gt("default",w),pt({type:"highlight",event:"highlight",update:"highlight"},a.noop),pt({type:"downplay",event:"downplay",update:"downplay"},a.noop);e.version="3.8.5",e.dependencies={zrender:"3.7.4"},e.PRIORITY=C,e.init=function(t,e,i){var n=ct(t);if(n)return n;var o=new E(t,e,i);return o.id="ec_"+ot++,nt[o.id]=o,t.setAttribute?t.setAttribute(st,o.id):t[st]=o.id,function(t){var e="__connectUpdateStatus";function i(t,i){for(var n=0;n=0;i--)s.asc(e[i])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t)return"inactive";for(var i=0,n=e.length;i ")),a.value&&(u+=" : "+l(a.value)),u}return h.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=o.map(this.option.categories||[],function(t){return null!=t.value?t:o.extend({value:0},t)}),e=new a(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t,!0)})},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return h.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{normal:{position:"middle"},emphasis:{}},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{normal:{show:!1,formatter:"{b}"},emphasis:{show:!0}},itemStyle:{normal:{},emphasis:{}},lineStyle:{normal:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{}}}}),c=h;t.exports=c},wQtZ:function(t,e,i){i("mRYE");var n=i("zxje").extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=n},wUwb:function(t,e,i){var n=i("BbKf");i("W8Zi").register("parallel",{create:function(t,e){var i=[];return t.eachComponent("parallel",function(a,o){var r=new n(a,t,e);r.name="parallel_"+o,r.resize(a,e),a.coordinateSystem=r,r.model=a,i.push(r)}),t.eachSeries(function(e){if("parallel"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"parallel",index:e.get("parallelIndex"),id:e.get("parallelId")})[0];e.coordinateSystem=i.coordinateSystem}}),i}})},wXyQ:function(t,e,i){i("CVlv").__DEV__;var n=i("ugOh"),a=i("dS2O"),o=i("JKZk"),r=i("yaSs"),s=i("CKzu"),l=i("yH8N"),u=i("Cr2B"),h=n.extendChartView({type:"lines",init:function(){},render:function(t,e,i){var n=t.getData(),h=this._lineDraw,c=t.get("effect.show"),d=t.get("polyline"),p=t.get("large")&&n.count()>=t.get("largeThreshold");c===this._hasEffet&&d===this._isPolyline&&p===this._isLarge||(h&&h.remove(),h=this._lineDraw=p?new u:new a(d?c?l:s:c?o:r),this._hasEffet=c,this._isPolyline=d,this._isLarge=p);var f=t.get("zlevel"),g=t.get("effect.trailLength"),m=i.getZr(),v="svg"===m.painter.getType();v||m.painter.getLayer(f).clear(!0),null==this._lastZlevel||v||m.configLayer(this._lastZlevel,{motionBlur:!1}),c&&g&&(v||m.configLayer(f,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(g/10+.9,1),0)})),this.group.add(h.group),h.updateData(n),this._lastZlevel=f},updateLayout:function(t,e,i){this._lineDraw.updateLayout(t);var n=i.getZr();"svg"===n.painter.getType()||n.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw.remove(e,!0);var i=e.getZr();"svg"===i.painter.getType()||i.painter.getLayer(this._lastZlevel).clear(!0)},dispose:function(){}});t.exports=h},wmIi:function(t,e,i){i("CVlv").__DEV__;var n=i("pq8T"),a=i("25YS"),o=i("sNbj"),r=i("0Lg4"),s=i("g5FJ"),l=i("OHyK"),u=i("onLJ"),h=u.Polyline,c=u.Polygon,d=i("uwwo");function p(t,e){if(t.length===e.length){for(var i=0;ie[0]?1:-1;e[0]+=n*i,e[1]-=n*i}return e}function m(t){return t>=0?1:-1}function v(t,e,i){return"polar"===t.type?function(t,e,i){var n=t.getAngleAxis(),a=t.getRadiusAxis().getExtent(),o=n.getExtent(),r=Math.PI/180,l=new s.Sector({shape:{cx:t.cx,cy:t.cy,r0:a[0],r:a[1],startAngle:-o[0]*r,endAngle:-o[1]*r,clockwise:n.inverse}});return e&&(l.shape.endAngle=-o[0]*r,s.initProps(l,{shape:{endAngle:-o[1]*r}},i)),l}(t,e,i):function(t,e,i){var n=g(t.getAxis("x")),a=g(t.getAxis("y")),o=t.getBaseAxis().isHorizontal(),r=Math.min(n[0],n[1]),l=Math.min(a[0],a[1]),u=Math.max(n[0],n[1])-r,h=Math.max(a[0],a[1])-l,c=i.get("lineStyle.normal.width")||2,d=i.get("clipOverflow")?c/2:Math.max(u,h);o?(l-=d,h+=2*d):(r-=d,u+=2*d);var p=new s.Rect({shape:{x:r,y:l,width:u,height:h}});return e&&(p.shape[o?"width":"height"]=0,s.initProps(p,{shape:{width:u,height:h}},i)),p}(t,e,i)}function y(t,e,i){for(var n=e.getBaseAxis(),a="x"===n.dim||"radius"===n.dim?0:1,o=[],r=0;r0?a=o[0]:o[1]<0&&(a=o[1])}var r=n.dim,s="x"===r||"radius"===r?1:0;return e.mapArray([r],function(n,o){for(var l,u=e.stackedOn;u&&m(u.get(r,o))===m(n);){l=u;break}var h=[];return h[s]=e.get(i.dim,o),h[1-s]=l?l.get(r,o,!0):a,t.dataToPoint(h)},!0)}(a,r),T=t.get("showSymbol"),I=T&&!c&&!t.get("showAllSymbol")&&this._getSymbolIgnoreFunc(r,a),A=this._data;A&&A.eachItemGraphicEl(function(t,e){t.__temp&&(o.remove(t),A.setItemGraphicEl(e,null))}),T||g.remove(),o.add(b);var C=!c&&t.get("step");x&&d.type===a.type&&C===this._step?(S&&!_?_=this._newPolygon(h,M,a,w):_&&!S&&(b.remove(_),_=this._polygon=null),b.setClipPath(v(a,!1,t)),T&&g.updateData(r,I),r.eachItemGraphicEl(function(t){t.stopAnimation(!0)}),p(this._stackedOnPoints,M)&&p(this._points,h)||(w?this._updateAnimation(r,M,a,i,C):(C&&(h=y(h,a,C),M=y(M,a,C)),x.setShape({points:h}),_&&_.setShape({points:h,stackedOnPoints:M})))):(T&&g.updateData(r,I),C&&(h=y(h,a,C),M=y(M,a,C)),x=this._newPolyline(h,a,w),S&&(_=this._newPolygon(h,M,a,w)),b.setClipPath(v(a,!0,t)));var D=function(t,e){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()){for(var a,o=i.length-1;o>=0;o--)if(i[o].dimension<2){a=i[o];break}if(a&&"cartesian2d"===e.type){var r=a.dimension,l=t.dimensions[r],u=e.getAxis(l),h=n.map(a.stops,function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}}),c=h.length,d=a.outerColors.slice();c&&h[0].coord>h[c-1].coord&&(h.reverse(),d.reverse());var p=h[0].coord-10,f=h[c-1].coord+10,g=f-p;if(g<.001)return"transparent";n.each(h,function(t){t.offset=(t.coord-p)/g}),h.push({offset:c?h[c-1].offset:.5,color:d[1]||"transparent"}),h.unshift({offset:c?h[0].offset:.5,color:d[0]||"transparent"});var m=new s.LinearGradient(0,0,0,0,h,!0);return m[l]=p,m[l+"2"]=f,m}}}(r,a)||r.getVisual("color");x.useStyle(n.defaults(l.getLineStyle(),{fill:"none",stroke:D,lineJoin:"bevel"}));var L=t.get("smooth");if(L=f(t.get("smooth")),x.setShape({smooth:L,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),_){var P=r.stackedOn,k=0;if(_.useStyle(n.defaults(u.getAreaStyle(),{fill:D,opacity:.7,lineJoin:"bevel"})),P)k=f(P.hostModel.get("smooth"));_.setShape({smooth:L,stackedOnSmooth:k,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=r,this._coordSys=a,this._stackedOnPoints=M,this._points=h,this._step=C},dispose:function(){},highlight:function(t,e,i,n){var a=t.getData(),r=l.queryDataIndex(a,n);if(!(r instanceof Array)&&null!=r&&r>=0){var s=a.getItemGraphicEl(r);if(!s){var u=a.getItemLayout(r);if(!u)return;(s=new o(a,r)).position=u,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(u[0])||isNaN(u[1]),s.__temp=!0,a.setItemGraphicEl(r,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else d.prototype.highlight.call(this,t,e,i,n)},downplay:function(t,e,i,n){var a=t.getData(),o=l.queryDataIndex(a,n);if(null!=o&&o>=0){var r=a.getItemGraphicEl(o);r&&(r.__temp?(a.setItemGraphicEl(o,null),this.group.remove(r)):r.downplay())}else d.prototype.downplay.call(this,t,e,i,n)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new h({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new c({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_getSymbolIgnoreFunc:function(t,e){var i=e.getAxesByScale("ordinal")[0];if(i&&i.isLabelIgnored)return n.bind(i.isLabelIgnored,i)},_updateAnimation:function(t,e,i,n,a){var o=this._polyline,l=this._polygon,u=t.hostModel,h=r(this._data,t,this._stackedOnPoints,e,this._coordSys,i),c=h.current,d=h.stackedOnCurrent,p=h.next,f=h.stackedOnNext;a&&(c=y(h.current,i,a),d=y(h.stackedOnCurrent,i,a),p=y(h.next,i,a),f=y(h.stackedOnNext,i,a)),o.shape.__points=h.current,o.shape.points=c,s.updateProps(o,{shape:{points:p}},u),l&&(l.setShape({points:c,stackedOnPoints:d}),s.updateProps(l,{shape:{points:p,stackedOnPoints:f}},u));for(var g=[],m=h.status,v=0;vd&&(c=0,h={}),c++,h[i]=a,a}function v(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function y(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function x(t,e,i,n,a){if(!e)return"";var o=(t+"").split("\n");a=_(e,i,n,a);for(var r=0,s=o.length;r=o;u++)r-=o;var h=m(i);return h>r&&(i="",h=0),r=t-h,n.ellipsis=i,n.ellipsisWidth=h,n.contentWidth=r,n.containerWidth=t,n}function b(t,e){var i=e.containerWidth,n=e.font,a=e.contentWidth;if(!i)return"";var o=m(t,n);if(o<=i)return t;for(var r=0;;r++){if(o<=a||r>=e.maxIterations){t+=e.ellipsis;break}var s=0===r?w(t,a,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*a/o):0;o=m(t=t.substr(0,s),n)}return""===t&&(t=e.placeholder),t}function w(t,e,i,n){for(var a=0,o=0,r=t.length;ol)t="",o=[];else if(null!=u)for(var h=_(u-(i?i[1]+i[3]:0),e,n.ellipsis,{minChar:n.minChar,placeholder:n.placeholder}),c=0,d=o.length;co&&A(i,t.substring(o,r)),A(i,n[2],n[1]),o=p.lastIndex}oy)return{lines:[],width:0,height:0};R.textWidth=m(R.text,D);var P=I.textWidth,k=null==P||"auto"===P;if("string"==typeof P&&"%"===P.charAt(P.length-1))R.percentWidth=P,d.push(R),P=0;else{if(k){P=R.textWidth;var O=I.textBackgroundColor,E=O&&O.image;E&&(E=a.findExistImage(E),a.isImageReady(E)&&(P=Math.max(P,E.width*L/E.height)))}var N=C?C[1]+C[3]:0;P+=N;var z=null!=v?v-M:null;null!=z&&ze&&o+1t[o].y+t[o].height)return void l(o,n/2);l(i-1,n/2)}function l(e,i){for(var n=e;n>=0&&(t[n].y-=i,!(n>0&&t[n].y>t[n-1].y+t[n-1].height));n--);}function u(t,e,i,n,a,o){for(var r=e?Number.MAX_VALUE:0,s=0,l=t.length;s=r&&(d=r-10),!e&&d<=r&&(d=r+10),t[s].x=i+d*o,r=d}}t.sort(function(t,e){return t.y-e.y});for(var h,c=0,d=t.length,p=[],f=[],g=0;g=i?f.push(t[g]):p.push(t[g]);u(p,!1,e,i,n,a),u(f,!0,e,i,n,a)}t.exports=function(t,e,i,o){var r,s,l=t.getData(),u=[],h=!1;l.each(function(i){var a,o,c,d,p=l.getItemLayout(i),f=l.getItemModel(i),g=f.getModel("label.normal"),m=g.get("position")||f.get("label.emphasis.position"),v=f.getModel("labelLine.normal"),y=v.get("length"),x=v.get("length2"),_=(p.startAngle+p.endAngle)/2,b=Math.cos(_),w=Math.sin(_);r=p.cx,s=p.cy;var S="inside"===m||"inner"===m;if("center"===m)a=p.cx,o=p.cy,d="center";else{var M=(S?(p.r+p.r0)/2*b:p.r*b)+r,T=(S?(p.r+p.r0)/2*w:p.r*w)+s;if(a=M+3*b,o=T+3*w,!S){var I=M+b*(y+e-p.r),A=T+w*(y+e-p.r),C=I+(b<0?-1:1)*x;a=C+(b<0?-5:5),o=A,c=[[M,T],[I,A],[C,A]]}d=S?"center":b>0?"left":"right"}var D=g.getFont(),L=g.get("rotate")?b<0?-_+Math.PI:-_:0,P=t.getFormattedLabel(i,"normal")||l.getName(i),k=n.getBoundingRect(P,D,d,"top");h=!!L,p.label={x:a,y:o,position:m,height:k.height,len:y,len2:x,linePoints:c,textAlign:d,verticalAlign:"middle",rotation:L,inside:S},S||u.push(p.label)}),!h&&t.get("avoidLabelOverlap")&&function(t,e,i,n,o,r){for(var s=[],l=[],u=0;u=0&&!(n[s]<=e);s--);s=Math.min(s,a-2)}else{for(var s=o;se);s++);s=Math.min(s-1,a-2)}r.lerp(t.position,i[s],i[s+1],(e-n[s])/(n[s+1]-n[s]));var l=i[s+1][0]-i[s][0],u=i[s+1][1]-i[s][1];t.rotation=-Math.atan2(u,l)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},a.inherits(s,o);var u=s;t.exports=u},yVXO:function(t,e){var i=function(t){this.colorStops=t||[]};i.prototype={constructor:i,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var n=i;t.exports=n},yaSs:function(t,e,i){var n=i("pq8T"),a=i("vncH"),o=i("G3qZ"),r=i("HQOn"),s=i("g5FJ"),l=i("036i").round,u=["fromSymbol","toSymbol"];function h(t){return"_"+t+"Type"}function c(t,e,i){var a=e.getItemVisual(i,"color"),r=e.getItemVisual(i,t),s=e.getItemVisual(i,t+"Size");if(r&&"none"!==r){n.isArray(s)||(s=[s,s]);var l=o.createSymbol(r,-s[0]/2,-s[1]/2,s[0],s[1],a);return l.name=t,l}}function d(t,e){var i=e[0],n=e[1],a=e[2];t.x1=i[0],t.y1=i[1],t.x2=n[0],t.y2=n[1],t.percent=1,a?(t.cpx1=a[0],t.cpy1=a[1]):(t.cpx1=NaN,t.cpy1=NaN)}function p(t,e,i){s.Group.call(this),this._createLine(t,e,i)}var f=p.prototype;f.beforeUpdate=function(){var t=this.childOfName("fromSymbol"),e=this.childOfName("toSymbol"),i=this.childOfName("label");if(t||e||!i.ignore){for(var n=1,o=this.parent;o;)o.scale&&(n/=o.scale[0]),o=o.parent;var r=this.childOfName("line");if(this.__dirty||r.__dirty){var s=r.shape.percent,l=r.pointAt(0),u=r.pointAt(s),h=a.sub([],u,l);if(a.normalize(h,h),t){t.attr("position",l);var c=r.tangentAt(0);t.attr("rotation",Math.PI/2-Math.atan2(c[1],c[0])),t.attr("scale",[n*s,n*s])}if(e&&(e.attr("position",u),c=r.tangentAt(1),e.attr("rotation",-Math.PI/2-Math.atan2(c[1],c[0])),e.attr("scale",[n*s,n*s])),!i.ignore){var d,p,f;i.attr("position",u);var g=5*n;if("end"===i.__position)d=[h[0]*g+u[0],h[1]*g+u[1]],p=h[0]>.8?"left":h[0]<-.8?"right":"center",f=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";else if("middle"===i.__position){var m=s/2,v=[(c=r.tangentAt(m))[1],-c[0]],y=r.pointAt(m);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]),d=[y[0]+v[0]*g,y[1]+v[1]*g],p="center",f="bottom";var x=-Math.atan2(c[1],c[0]);u[0].8?"right":h[0]<-.8?"left":"center",f=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";i.attr({style:{textVerticalAlign:i.__verticalAlign||f,textAlign:i.__textAlign||p},position:d,scale:[n,n]})}}}},f._createLine=function(t,e,i){var a=t.hostModel,o=function(t){var e=new r({name:"line"});return d(e.shape,t),e}(t.getItemLayout(e));o.shape.percent=0,s.initProps(o,{shape:{percent:1}},a,e),this.add(o);var l=new s.Text({name:"label"});this.add(l),n.each(u,function(i){var n=c(i,t,e);this.add(n),this[h(i)]=t.getItemVisual(e,i)},this),this._updateCommonStl(t,e,i)},f.updateData=function(t,e,i){var a=t.hostModel,o=this.childOfName("line"),r=t.getItemLayout(e),l={shape:{}};d(l.shape,r),s.updateProps(o,l,a,e),n.each(u,function(i){var n=t.getItemVisual(e,i),a=h(i);if(this[a]!==n){this.remove(this.childOfName(i));var o=c(i,t,e);this.add(o)}this[a]=n},this),this._updateCommonStl(t,e,i)},f._updateCommonStl=function(t,e,i){var a=t.hostModel,o=this.childOfName("line"),r=i&&i.lineStyle,h=i&&i.hoverLineStyle,c=i&&i.labelModel,d=i&&i.hoverLabelModel;if(!i||t.hasItemOption){var p=t.getItemModel(e);r=p.getModel("lineStyle.normal").getLineStyle(),h=p.getModel("lineStyle.emphasis").getLineStyle(),c=p.getModel("label.normal"),d=p.getModel("label.emphasis")}var f=t.getItemVisual(e,"color"),g=n.retrieve3(t.getItemVisual(e,"opacity"),r.opacity,1);o.useStyle(n.defaults({strokeNoScale:!0,fill:"none",stroke:f,opacity:g},r)),o.hoverStyle=h,n.each(u,function(t){var e=this.childOfName(t);e&&(e.setColor(f),e.setStyle({opacity:g}))},this);var m,v,y,x,_=c.getShallow("show"),b=d.getShallow("show"),w=this.childOfName("label");if(_||b){var S=a.getRawValue(e);v=null==S?v=t.getName(e):isFinite(S)?l(S):S,m=f||"#000",y=n.retrieve2(a.getFormattedLabel(e,"normal",t.dataType),v),x=n.retrieve2(a.getFormattedLabel(e,"emphasis",t.dataType),y)}if(_){var M=s.setTextStyle(w.style,c,{text:y},{autoColor:m});w.__textAlign=M.textAlign,w.__verticalAlign=M.textVerticalAlign,w.__position=c.get("position")||"middle"}else w.setStyle("text",null);w.hoverStyle=b?{text:x,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},w.ignore=!_&&!b,s.setHoverStyle(this)},f.highlight=function(){this.trigger("emphasis")},f.downplay=function(){this.trigger("normal")},f.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},f.setLinePoints=function(t){var e=this.childOfName("line");d(e.shape,t),e.dirty()},n.inherits(p,s.Group);var g=p;t.exports=g},yakm:function(t,e,i){var n=i("pq8T"),a=i("JRF2"),o=i("AHl2"),r=i("K0Hh"),s=i("g5FJ"),l=i("036i"),u=i("NCOs"),h=i("vd23"),c=i("OHyK"),d=l.linearMap,p=n.each,f=Math.min,g=Math.max,m=12,v=6,y=r.extend({type:"visualMap.continuous",init:function(){y.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,i,n){n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var i=t.get("text");this._renderEndsText(e,i,0),this._renderEndsText(e,i,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,i){if(e){var n=e[1-i];n=null!=n?n+"":"";var a=this.visualMapModel,o=a.get("textGap"),r=a.itemSize,l=this._shapes.barGroup,u=this._applyTransform([r[0]/2,0===i?-o:r[1]+o],l),h=this._applyTransform(0===i?"bottom":"top",l),c=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===c?"middle":h,textAlign:"horizontal"===c?h:"center",text:n,textFont:d.getFont(),textFill:d.getTextColor()}}))}},_renderBar:function(t){var e=this.visualMapModel,i=this._shapes,a=e.itemSize,o=this._orient,r=this._useHandle,s=h.getItemAlign(e,this.api,a),l=i.barGroup=this._createBarGroup(s);l.add(i.outOfRange=x()),l.add(i.inRange=x(null,r?b(this._orient):null,n.bind(this._dragHandle,this,"all",!1),n.bind(this._dragHandle,this,"all",!0)));var u=e.textStyleModel.getTextRect("国"),c=g(u.width,u.height);r&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(l,0,a,c,o,s),this._createHandle(l,1,a,c,o,s)),this._createIndicator(l,a,c,o),t.add(l)},_createHandle:function(t,e,i,a,r){var l=n.bind(this._dragHandle,this,e,!1),u=n.bind(this._dragHandle,this,e,!0),h=x(function(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}(e,a),b(this._orient),l,u);h.position[0]=i[0],t.add(h);var c=this.visualMapModel.textStyleModel,d=new s.Text({draggable:!0,drift:l,onmousemove:function(t){o.stop(t.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:c.getFont(),textFill:c.getTextColor()}});this.group.add(d);var p=["horizontal"===r?a/2:1.5*a,"horizontal"===r?0===e?-1.5*a:1.5*a:0===e?-a/2:a/2],f=this._shapes;f.handleThumbs[e]=h,f.handleLabelPoints[e]=p,f.handleLabels[e]=d},_createIndicator:function(t,e,i,n){var a=x([[0,0]],"move");a.position[0]=e[0],a.attr({invisible:!0,silent:!0}),t.add(a);var o=this.visualMapModel.textStyleModel,r=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:o.getFont(),textFill:o.getTextColor()}});this.group.add(r);var l=["horizontal"===n?i/2:v+3,0],u=this._shapes;u.indicator=a,u.indicatorLabel=r,u.indicatorLabelPoint=l},_dragHandle:function(t,e,i,n){if(this._useHandle){if(this._dragging=!e,!e){var a=this._applyTransform([i,n],this._shapes.barGroup,!0);this._updateInterval(t,a[1]),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():_(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),i=t.getExtent(),n=[0,t.itemSize[1]];this._handleEnds=[d(e[0],i,n,!0),d(e[1],i,n,!0)]},_updateInterval:function(t,e){e=e||0;var i=this.visualMapModel,n=this._handleEnds,a=[0,i.itemSize[1]];u(e,n,a,t,0);var o=i.getExtent();this._dataInterval=[d(n[0],a,o,!0),d(n[1],a,o,!0)]},_updateView:function(t){var e=this.visualMapModel,i=e.getExtent(),n=this._shapes,a=[0,e.itemSize[1]],o=t?a:this._handleEnds,r=this._createBarVisual(this._dataInterval,i,o,"inRange"),s=this._createBarVisual(i,i,a,"outOfRange");n.inRange.setStyle({fill:r.barColor,opacity:r.opacity}).setShape("points",r.barPoints),n.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(o,r)},_createBarVisual:function(t,e,i,n){var o={forceState:n,convertOpacityToAlpha:!0},r=this._makeColorGradient(t,o),s=[this.getControllerVisual(t[0],"symbolSize",o),this.getControllerVisual(t[1],"symbolSize",o)],l=this._createBarPoints(i,s);return{barColor:new a(0,0,0,1,r),barPoints:l,handlesColor:[r[0].color,r[r.length-1].color]}},_makeColorGradient:function(t,e){var i=[],n=(t[1]-t[0])/100;i.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var a=1;a<100;a++){var o=t[0]+n*a;if(o>t[1])break;i.push({color:this.getControllerVisual(o,"color",e),offset:a/100})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},_createBarPoints:function(t,e){var i=this.visualMapModel.itemSize;return[[i[0]-e[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,i=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||i?"horizontal"===e&&i?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||i?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,a=i.handleThumbs,o=i.handleLabels;p([0,1],function(r){var l=a[r];l.setStyle("fill",e.handlesColor[r]),l.position[1]=t[r];var u=s.applyTransform(i.handleLabelPoints[r],s.getTransform(l,this.group));o[r].setStyle({x:u[0],y:u[1],text:n.formatValueText(this._dataInterval[r]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===r?"bottom":"top":"left",i.barGroup)})},this)}},_showIndicator:function(t,e,i,n){var a=this.visualMapModel,o=a.getExtent(),r=a.itemSize,l=[0,r[1]],u=d(t,o,l,!0),h=this._shapes,c=h.indicator;if(c){c.position[1]=u,c.attr("invisible",!1),c.setShape("points",function(t,e,i,n){return t?[[0,-f(e,g(i,0))],[v,0],[0,f(e,g(n-i,0))]]:[[0,0],[5,-5],[5,5]]}(!!i,n,u,r[1]));var p=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0});c.setStyle("fill",p);var m=s.applyTransform(h.indicatorLabelPoint,s.getTransform(c,this.group)),y=h.indicatorLabel;y.attr("invisible",!1);var x=this._applyTransform("left",h.barGroup),_=this._orient;y.setStyle({text:(i||"")+a.formatValueText(e),textVerticalAlign:"horizontal"===_?x:"middle",textAlign:"horizontal"===_?"center":x,x:m[0],y:m[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",function(e){if(t._hovering=!0,!t._dragging){var i=t.visualMapModel.itemSize,n=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);n[1]=f(g(0,n[1]),i[1]),t._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}}).on("mouseout",function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var a=[0,n[1]],o=i.getExtent();t=f(g(a[0],t),a[1]);var r=function(t,e,i){var n=m/2,a=t.get("hoverLinkDataSize");a&&(n=d(a,e,i,!0)/2);return n}(i,o,a),s=[t-r,t+r],l=d(t,a,o,!0),u=[d(s[0],a,o,!0),d(s[1],a,o,!0)];s[0]a[1]&&(u[1]=1/0),e&&(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,v=[];(e||_(i))&&(v=this._hoverLinkDataIndices=i.findTargetDataIndices(u));var y=c.compressBatches(p,v);this._dispatchHighDown("downplay",h.convertDataIndex(y[0])),this._dispatchHighDown("highlight",h.convertDataIndex(y[1]))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,i=this.visualMapModel;if(e&&null!=e.dataIndex){var n=this.ecModel.getSeriesByIndex(e.seriesIndex);if(i.isTargetSeries(n)){var a=n.getData(e.dataType),o=a.getDimension(i.getDataDimension(a)),r=a.get(o,e.dataIndex,!0);isNaN(r)||this._showIndicator(r,r)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",h.convertDataIndex(t)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,i,a){var o=s.getTransform(e,a?null:this.group);return s[n.isArray(t)?"applyTransform":"transformDirection"](t,o,i)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function x(t,e,i,n){return new s.Polygon({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){o.stop(t.event)},ondragend:n})}function _(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function b(t){return"vertical"===t?"ns-resize":"ew-resize"}var w=y;t.exports=w},"yk+f":function(t,e){var i="\0__throttleOriginMethod",n="\0__throttleRate",a="\0__throttleType";function o(t,e,i){var n,a,o,r,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,r||[])}e=e||0;var d=function(){n=(new Date).getTime(),o=this,r=arguments;var t=s||e,d=s||i;s=null,a=n-(d?l:u)-t,clearTimeout(h),d?h=setTimeout(c,t):a>=0?c():h=setTimeout(c,-a),l=n};return d.clear=function(){h&&(clearTimeout(h),h=null)},d.debounceNextCall=function(t){s=t},d}e.throttle=o,e.createOrUpdate=function(t,e,r,s){var l=t[e];if(l){var u=l[i]||l,h=l[a];if(l[n]!==r||h!==s){if(null==r||!s)return t[e]=u;(l=t[e]=o(u,r,"debounce"===s))[i]=u,l[a]=s,l[n]=r}return l}},e.clear=function(t,e){var n=t[e];n&&n[i]&&(t[e]=n[i])}},yttb:function(t,e,i){var n=i("M6HP"),a=i("vncH"),o=i("4cUu"),r=o.quadraticSubdivide,s=o.cubicSubdivide,l=o.quadraticAt,u=o.cubicAt,h=o.quadraticDerivativeAt,c=o.cubicDerivativeAt,d=[];function p(t,e,i){var n=t.cpx2,a=t.cpy2;return null===n||null===a?[(i?c:u)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?c:u)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?h:l)(t.x1,t.cpx1,t.x2,e),(i?h:l)(t.y1,t.cpy1,t.y2,e)]}var f=n.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.x1,n=e.y1,a=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,h=e.cpx2,c=e.cpy2,p=e.percent;0!==p&&(t.moveTo(i,n),null==h||null==c?(p<1&&(r(i,l,a,p,d),l=d[1],a=d[2],r(n,u,o,p,d),u=d[1],o=d[2]),t.quadraticCurveTo(l,u,a,o)):(p<1&&(s(i,l,h,a,p,d),l=d[1],h=d[2],a=d[3],s(n,u,c,o,p,d),u=d[1],c=d[2],o=d[3]),t.bezierCurveTo(l,u,h,c,a,o)))},pointAt:function(t){return p(this.shape,t,!1)},tangentAt:function(t){var e=p(this.shape,t,!0);return a.normalize(e,e)}});t.exports=f},z0mI:function(t,e,i){var n=i("pq8T"),a=i("Jv21"),o=i("036i"),r=i("W8Zi");function s(t,e,i){this._model=t}function l(t,e,i,n){var a=i.calendarModel,o=i.seriesModel,r=a?a.coordinateSystem:o?o.coordinateSystem:null;return r===this?r[t](n):null}s.prototype={constructor:s,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"}]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(t){var e=(t=o.parseDate(t)).getFullYear(),i=t.getMonth()+1;i=i<10?"0"+i:i;var n=t.getDate();n=n<10?"0"+n:n;var a=t.getDay();return{y:e,m:i,d:n,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+i+"-"+n,date:t}},getNextNDay:function(t,e){return 0===(e=e||0)?this.getDateInfo(t):((t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t))},update:function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle.normal").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var i=this._rangeInfo.weeks||1,o=["width","height"],r=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[i,7]:[7,i];n.each([0,1],function(t){c(r,t)&&(s[o[t]]=r[t]*l[t])});var u={width:e.getWidth(),height:e.getHeight()},h=this._rect=a.getLayoutRect(s,u);function c(t,e){return null!=t[e]&&"auto"!==t[e]}n.each([0,1],function(t){c(r,t)||(r[t]=h[o[t]]/l[t])}),this._sw=r[0],this._sh=r[1]},dataToPoint:function(t,e){n.isArray(t)&&(t=t[0]),null==e&&(e=!0);var i=this.getDateInfo(t),a=this._rangeInfo,o=i.formatedDate;if(e&&!(i.time>=a.start.time&&i.time<=a.end.time))return[NaN,NaN];var r=i.day,s=this._getRangeInfo([a.start.time,o]).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(t){var e=this.pointToDate(t);return e&&e.time},dataToRect:function(t,e){var i=this.dataToPoint(t,e);return{contentShape:{x:i[0]-(this._sw-this._lineWidth)/2,y:i[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:i,tl:[i[0]-this._sw/2,i[1]-this._sh/2],tr:[i[0]+this._sw/2,i[1]-this._sh/2],br:[i[0]+this._sw/2,i[1]+this._sh/2],bl:[i[0]-this._sw/2,i[1]+this._sh/2]}},pointToDate:function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,i=Math.floor((t[1]-this._rect.y)/this._sh)+1,n=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(i,e-1,n):this._getDateByWeeksAndDay(e,i-1,n)},convertToPixel:n.curry(l,"dataToPoint"),convertFromPixel:n.curry(l,"pointToData"),_initRangeOption:function(){var t=this._model.get("range"),e=t;if(n.isArray(e)&&1===e.length&&(e=e[0]),/^\d{4}$/.test(e)&&(t=[e+"-01-01",e+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(e)){var i=this.getDateInfo(e),a=i.date;a.setMonth(a.getMonth()+1);var o=this.getNextNDay(a,-1);t=[i.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(e)&&(t=[e,e]);var r=this._getRangeInfo(t);return r.start.time>r.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var i=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,n=new Date(t[0].time),a=n.getDate(),o=t[1].date.getDate();if(n.setDate(a+i-1),n.getDate()!==o)for(var r=n.getTime()-t[1].time>0?1:-1;n.getDate()!==o&&(n.getTime()-t[1].time)*r>0;)i-=r,n.setDate(a+i-1);var s=Math.floor((i+t[0].day+6)/7),l=e?1-s:s-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:i,weeks:s,nthWeek:l,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,i){var n=this._getRangeInfo(i);if(t>n.weeks||0===t&&en.lweek)return!1;var a=7*(t-1)-n.fweek+e,o=new Date(n.start.time);return o.setDate(n.start.d+a),this.getDateInfo(o)}},s.dimensions=s.prototype.dimensions,s.getDimensionsInfo=s.prototype.getDimensionsInfo,s.create=function(t,e){var i=[];return t.eachComponent("calendar",function(n){var a=new s(n,t,e);i.push(a),n.coordinateSystem=a}),t.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])}),i},r.register("calendar",s);var u=s;t.exports=u},z1hm:function(t,e,i){i("4C4i"),i("94sY")},zvZu:function(t,e,i){var n=i("pq8T"),a=i("g5FJ"),o=i("CSiU"),r=["axisLine","axisLabel","axisTick","splitLine","splitArea"];function s(t,e,i){e[1]>e[0]&&(e=e.slice().reverse());var n=t.coordToPoint([e[0],i]),a=t.coordToPoint([e[1],i]);return{x1:n[0],y1:n[1],x2:a[0],y2:a[1]}}function l(t){return t.getRadiusAxis().inverse?0:1}var u=i("c5QJ").extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,a=i.polar,o=a.getRadiusAxis().getExtent(),s=i.getTicksCoords();"category"!==i.type&&s.pop(),n.each(r,function(e){!t.get(e+".show")||i.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,a,s,o)},this)}},_axisLine:function(t,e,i,n){var o=t.getModel("axisLine.lineStyle"),r=new a.Circle({shape:{cx:e.cx,cy:e.cy,r:n[l(e)]},style:o.getLineStyle(),z2:1,silent:!0});r.style.fill=null,this.group.add(r)},_axisTick:function(t,e,i,o){var r=t.getModel("axisTick"),u=(r.get("inside")?-1:1)*r.get("length"),h=o[l(e)],c=n.map(i,function(t){return new a.Line({shape:s(e,[h,h+u],t)})});this.group.add(a.mergePath(c,{style:n.defaults(r.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_axisLabel:function(t,e,i,n){for(var r=t.axis,s=t.get("data"),u=t.getModel("axisLabel"),h=t.getFormattedLabels(),c=u.get("margin"),d=r.getLabelsCoords(),p=0;pm?"left":"right",x=Math.abs(g[1]-v)/f<.3?"middle":g[1]>v?"top":"bottom";s&&s[p]&&s[p].textStyle&&(u=new o(s[p].textStyle,u,u.ecModel));var _=new a.Text({silent:!0});this.group.add(_),a.setTextStyle(_.style,u,{x:g[0],y:g[1],textFill:u.getTextColor()||t.get("axisLine.lineStyle.color"),text:h[p],textAlign:y,textVerticalAlign:x})}},_splitLine:function(t,e,i,o){var r=t.getModel("splitLine").getModel("lineStyle"),l=r.get("color"),u=0;l=l instanceof Array?l:[l];for(var h=[],c=0;c=0;o--)a=n.merge(a,t[o],!0);r.set(this,"__defaultOption",a)}return r.get(this,"__defaultOption")},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});r.enableClassManagement(h,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(h),o.enableTopologicalTravel(h,function(t){var e=[];return n.each(h.getClassesByMainType(t),function(t){u.apply(e,t.prototype.dependencies||[])}),n.map(e,function(t){return r.parseClassType(t).main})}),n.mixin(h,l);var c=h;t.exports=c}});