webpackJsonp([0],{"+2Ke":function(t,e){e.SOURCE_FORMAT_ORIGINAL="original",e.SOURCE_FORMAT_ARRAY_ROWS="arrayRows",e.SOURCE_FORMAT_OBJECT_ROWS="objectRows",e.SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",e.SOURCE_FORMAT_UNKNOWN="unknown",e.SOURCE_FORMAT_TYPED_ARRAY="typedArray",e.SERIES_LAYOUT_BY_COLUMN="column",e.SERIES_LAYOUT_BY_ROW="row"},"+66z":function(t,e){var i=Object.prototype.toString;t.exports=function(t){return i.call(t)}},"+Dgo":function(t,e,i){var n=i("Y5nL"),r=i("Pgdp"),a=i("kdOt").detectSourceFormat,o=i("+2Ke").SERIES_LAYOUT_BY_COLUMN;n.extend({type:"dataset",defaultOption:{seriesLayoutBy:o,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){a(this)}}),r.extend({type:"dataset"})},"+UTs":function(t,e,i){var n=i("GxVO"),r=i("No7X"),a=n.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){r.buildPath(t,e,!0)}});t.exports=a},"+Y0c":function(t,e,i){var n=new(i("zMj2"))(50);function r(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=e[0]&&t<=e[1]},r.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},r.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},r.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},r.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(t){this._isBlank=t},r.prototype.getLabel=null,n.enableClassExtend(r),n.enableClassManagement(r,{registerWhenExtend:!0});var a=r;t.exports=a},"/86O":function(t,e,i){var n=i("9qnA"),r=i("/gxq"),a=i("3h1/"),o=i("qjrH"),s=i("28kU").ContextCachedBy,l=function(t){n.call(this,t)};l.prototype={constructor:l,type:"text",brush:function(t,e){var i=this.style;this.__dirty&&o.normalizeTextStyle(i,!0),i.fill=i.stroke=i.shadowBlur=i.shadowColor=i.shadowOffsetX=i.shadowOffsetY=null;var n=i.text;null!=n&&(n+=""),o.needDrawText(n,i)?(this.setTransform(t),o.renderText(this,t,n,i,null,e),this.restoreTransform(t)):t.__attrCachedBy=s.NONE},getBoundingRect:function(){var t=this.style;if(this.__dirty&&o.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var i=a.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(i.x+=t.x||0,i.y+=t.y||0,o.getStroke(t.textStroke,t.textStrokeWidth)){var n=t.textStrokeWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect}},r.inherits(l,n);var u=l;t.exports=u},"/ZBO":function(t,e,i){var n=i("dOVI"),r=i("C7PF"),a=n.identity,o=5e-5;function s(t){return t>o||t<-o}var l=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var h=[];u.updateTransform=function(){var t=this.parent,e=t&&t.transform,i=this.needLocalTransform(),r=this.transform;if(i||e){r=r||n.create(),i?this.getLocalTransform(r):a(r),e&&(i?n.mul(r,t.transform,r):n.copy(r,t.transform)),this.transform=r;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(h);var s=h[0]<0?-1:1,l=h[1]<0?-1:1,u=((h[0]-s)*o+s)/h[0]||0,c=((h[1]-l)*o+l)/h[1]||0;r[0]*=u,r[1]*=u,r[2]*=c,r[3]*=c}this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,r)}else r&&a(r)},u.getLocalTransform=function(t){return l.getLocalTransform(this,t)},u.setTransform=function(t){var e=this.transform,i=t.dpr||1;e?t.setTransform(i*e[0],i*e[1],i*e[2],i*e[3],i*e[4],i*e[5]):t.setTransform(i,0,0,i,0,0)},u.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var c=[],d=n.create();u.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=this.position,r=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(i-1)&&(i=Math.sqrt(i)),t[0]<0&&(e=-e),t[3]<0&&(i=-i),n[0]=t[4],n[1]=t[5],r[0]=e,r[1]=i,this.rotation=Math.atan2(-t[1]/i,t[0]/e)}},u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(n.mul(c,t.invTransform,e),e=c);var i=this.origin;i&&(i[0]||i[1])&&(d[4]=i[0],d[5]=i[1],n.mul(c,e,d),c[4]-=i[0],c[5]-=i[1],e=c),this.setLocalTransform(e)}},u.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},u.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&r.applyTransform(i,i,n),i},u.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&r.applyTransform(i,i,n),i},l.getLocalTransform=function(t,e){a(e=e||[]);var i=t.origin,r=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return i&&(e[4]-=i[0],e[5]-=i[1]),n.scale(e,e,r),o&&n.rotate(e,e,o),i&&(e[4]+=i[0],e[5]+=i[1]),e[4]+=s[0],e[5]+=s[1],e};var f=l;t.exports=f},"/gZK":function(t,e,i){var n=i("hcq/"),r=i("Rfu2"),a=i("/gxq"),o=a.extend,s=a.isArray;t.exports=function(t,e,i){e=s(e)&&{coordDimensions:e}||o({},e);var a=t.getSource(),l=n(a,e),u=new r(l,t);return u.initData(a,i),u}},"/gxq":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},r=Object.prototype.toString,a=Array.prototype,o=a.forEach,s=a.filter,l=a.slice,u=a.map,h=a.reduce,c={};function d(t){if(null==t||"object"!=typeof t)return t;var e=t,a=r.call(t);if("[object Array]"===a){if(!M(t)){e=[];for(var o=0,s=t.length;oe[0]&&(e=e.slice().reverse());var n=t.coordToPoint([e[0],i]),r=t.coordToPoint([e[1],i]);return{x1:n[0],y1:n[1],x2:r[0],y2:r[1]}}function h(t){return t.getRadiusAxis().inverse?0:1}function c(t){var e=t[0],i=t[t.length-1];e&&i&&Math.abs(Math.abs(e.coord-i.coord)-360)<1e-4&&t.pop()}var d=o.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,r=i.polar,a=r.getRadiusAxis().getExtent(),o=i.getTicksCoords(),s=n.map(i.getViewLabels(),function(t){return(t=n.clone(t)).coord=i.dataToCoord(t.tickValue),t});c(s),c(o),n.each(l,function(e){!t.get(e+".show")||i.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,r,o,a,s)},this)}},_axisLine:function(t,e,i,n){var a=t.getModel("axisLine.lineStyle"),o=new r.Circle({shape:{cx:e.cx,cy:e.cy,r:n[h(e)]},style:a.getLineStyle(),z2:1,silent:!0});o.style.fill=null,this.group.add(o)},_axisTick:function(t,e,i,a){var o=t.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),l=a[h(e)],c=n.map(i,function(t){return new r.Line({shape:u(e,[l,l+s],t.coord)})});this.group.add(r.mergePath(c,{style:n.defaults(o.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_axisLabel:function(t,e,i,o,l){var u=t.getCategories(!0),c=t.getModel("axisLabel"),d=c.get("margin"),f=t.get("triggerEvent");n.each(l,function(i,n){var l=c,p=i.tickValue,g=o[h(e)],v=e.coordToPoint([g+d,i.coord]),m=e.cx,y=e.cy,x=Math.abs(v[0]-m)/g<.3?"center":v[0]>m?"left":"right",_=Math.abs(v[1]-y)/g<.3?"middle":v[1]>y?"top":"bottom";u&&u[p]&&u[p].textStyle&&(l=new a(u[p].textStyle,c,c.ecModel));var w=new r.Text({silent:s.isLabelSilent(t)});this.group.add(w),r.setTextStyle(w.style,l,{x:v[0],y:v[1],textFill:l.getTextColor()||t.get("axisLine.lineStyle.color"),text:i.formattedLabel,textAlign:x,textVerticalAlign:_}),f&&(w.eventData=s.makeAxisEventDataBase(t),w.eventData.targetType="axisLabel",w.eventData.value=i.rawLabel)},this)},_splitLine:function(t,e,i,a){var o=t.getModel("splitLine").getModel("lineStyle"),s=o.get("color"),l=0;s=s instanceof Array?s:[s];for(var h=[],c=0;c=0),l=!s&&null!=r;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=r,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=r)}t.insideRollback=e}function lt(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function ut(t,e,i,n,r,a){if("function"==typeof r&&(a=r,r=null),n&&n.isAnimationEnabled()){var o=t?"Update":"",s=n.getShallow("animationDuration"+o),l=n.getShallow("animationEasing"+o),u=n.getShallow("animationDelay"+o);"function"==typeof u&&(u=u(r,n.getAnimationDelayParams?n.getAnimationDelayParams(e,r):null)),"function"==typeof s&&(s=s(r)),s>0?e.animateTo(i,s,u||0,l,a,!!a):(e.stopAnimation(),e.attr(i),a&&a())}else e.stopAnimation(),e.attr(i),a&&a()}function ht(t,e,i,n,r){ut(!0,t,e,i,n,r)}function ct(t,e,i){return e&&!n.isArrayLike(e)&&(e=u.getLocalTransform(e)),i&&(e=o.invert([],e)),s.applyTransform([],t,e)}function dt(t,e,i,n,r,a,o,s){var l,u=i-t,h=n-e,c=o-r,d=s-a,f=ft(c,d,u,h);if((l=f)<=1e-6&&l>=-1e-6)return!1;var p=t-r,g=e-a,v=ft(p,g,u,h)/f;if(v<0||v>1)return!1;var m=ft(p,g,c,d)/f;return!(m<0||m>1)}function ft(t,e,i,n){return t*n-i*e}N("circle",f),N("sector",p),N("ring",g),N("polygon",v),N("polyline",m),N("rect",y),N("line",x),N("bezierCurve",_),N("arc",w),e.Z2_EMPHASIS_LIFT=P,e.CACHED_LABEL_STYLE_PROPERTIES={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},e.extendShape=function(t){return l.extend(t)},e.extendPath=function(t,e){return r.extendFromString(t,e)},e.registerShape=N,e.getShapeClass=function(t){if(z.hasOwnProperty(t))return z[t]},e.makePath=B,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 r={width:t.width,height:t.height};n.setStyle(F(e,r))}}});return n},e.mergePath=H,e.resizePath=V,e.subPixelOptimizeLine=function(t){return C.subPixelOptimizeLine(t.shape,t.shape,t.style),t},e.subPixelOptimizeRect=function(t){return C.subPixelOptimizeRect(t.shape,t.shape,t.style),t},e.subPixelOptimize=q,e.setElementHoverStyle=K,e.setHoverStyle=function(t,e){it(t,!0),Z(t,K,e)},e.setAsHighDownDispatcher=it,e.isHighDownDispatcher=function(t){return!(!t||!t.__highDownDispatcher)},e.getHighlightDigit=function(t){var e=E[t];return null==e&&R<=32&&(e=E[t]=R++),e},e.setLabelStyle=function(t,e,i,r,a,o,s){var l,u=(a=a||k).labelFetcher,h=a.labelDataIndex,c=a.labelDimIndex,d=i.getShallow("show"),f=r.getShallow("show");(d||f)&&(u&&(l=u.getFormattedLabel(h,"normal",null,c)),null==l&&(l=n.isFunction(a.defaultText)?a.defaultText(h,a):a.defaultText));var p=d?l:null,g=f?n.retrieve2(u?u.getFormattedLabel(h,"emphasis",null,c):null,l):null;null==p&&null==g||(nt(t,i,o,a),nt(e,r,s,a,!0)),t.text=p,e.text=g},e.modifyLabelStyle=function(t,e,i){var r=t.style;e&&(lt(r),t.setStyle(e),st(r)),r=t.__hoverStl,i&&r&&(lt(r),n.extend(r,i),st(r))},e.setTextStyle=nt,e.setText=function(t,e,i){var n,r={isRectText:!0};!1===i?n=!0:r.autoColor=i,rt(t,e,r,n)},e.getFont=function(t,e){var i=e||e.getModel("textStyle");return n.trim([t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))},e.updateProps=ht,e.initProps=function(t,e,i,n,r){ut(!1,t,e,i,n,r)},e.getTransform=function(t,e){for(var i=o.identity([]);t&&t!==e;)o.mul(i,t.getLocalTransform(),i),t=t.parent;return i},e.applyTransform=ct,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]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),a=["left"===t?-n:"right"===t?n:0,"top"===t?-r:"bottom"===t?r:0];return a=ct(a,e,i),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"},e.groupTransition=function(t,e,i,r){if(t&&e){var a,o=(a={},t.traverse(function(t){!t.isGroup&&t.anid&&(a[t.anid]=t)}),a);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=o[t.anid];if(e){var n=l(t);t.attr(l(e)),ht(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=I(i,e.x),i=D(i,e.x+e.width);var n=t[1];return n=I(n,e.y),[i,n=D(n,e.y+e.height)]})},e.clipRectByRect=function(t,e){var i=I(t.x,e.x),n=D(t.x+t.width,e.x+e.width),r=I(t.y,e.y),a=D(t.y+t.height,e.y+e.height);if(n>=i&&a>=r)return{x:i,y:r,width:n-i,height:a-r}},e.createIcon=function(t,e,i){var r=(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://")?(r.image=t.slice(8),n.defaults(r,i),new h(e)):B(t.replace("path://",""),e,i,"center")},e.linePolygonIntersect=function(t,e,i,n,r){for(var a=0,o=r[r.length-1];a0&&(c?"scale"!==d:"transition"!==f)){for(var v=a.getItemLayout(0),m=1;isNaN(v.startAngle)&&m=i.r0}}});t.exports=h},"1Hui":function(t,e){function i(t){return t}function n(t,e,n,r,a){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=a}function r(t,e,i,n,r){for(var a=0;an||l.newline?(a=0,h=v,o+=s+i,s=f.height):s=Math.max(s,f.height)}else{var m=f.height+(g?-g.y+f.y:0);(c=o+m)>r||l.newline?(a+=s+i,o=0,c=m,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=a,d[1]=o,"horizontal"===t?a=h+i:o=c+i)})}var c=h,d=n.curry(h,"vertical"),f=n.curry(h,"horizontal");function p(t,e,i){i=o.normalizeCssArray(i||0);var n=e.width,s=e.height,l=a(t.left,n),u=a(t.top,s),h=a(t.right,n),c=a(t.bottom,s),d=a(t.width,n),f=a(t.height,s),p=i[2]+i[0],g=i[1]+i[3],v=t.aspect;switch(isNaN(d)&&(d=n-h-g-l),isNaN(f)&&(f=s-c-p-u),null!=v&&(isNaN(d)&&isNaN(f)&&(v>n/s?d=.8*n:f=.8*s),isNaN(d)&&(d=v*f),isNaN(f)&&(f=d/v)),isNaN(l)&&(l=n-h-d-g),isNaN(u)&&(u=s-c-f-p),t.left||t.right){case"center":l=n/2-d/2-i[3];break;case"right":l=n-d-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-f/2-i[0];break;case"bottom":u=s-f-p}l=l||0,u=u||0,isNaN(d)&&(d=n-g-l-(h||0)),isNaN(f)&&(f=s-p-u-(c||0));var m=new r(l+i[3],u+i[0],d,f);return m.margin=i,m}function g(t,e){return e&&t&&s(l,function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t}e.LOCATION_PARAMS=l,e.HV_NAMES=u,e.box=c,e.vbox=d,e.hbox=f,e.getAvailableSize=function(t,e,i){var n=e.width,r=e.height,s=a(t.x,n),l=a(t.y,r),u=a(t.x2,n),h=a(t.y2,r);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=r),i=o.normalizeCssArray(i||0),{width:Math.max(u-s-i[1]-i[3],0),height:Math.max(h-l-i[0]-i[2],0)}},e.getLayoutRect=p,e.positionElement=function(t,e,i,a,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],u=o&&o.boundingMode||"all";if(s||l){var h;if("raw"===u)h="group"===t.type?new r(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(h=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();(h=h.clone()).applyTransform(c)}e=p(n.defaults({width:h.width,height:h.height},e),i,a);var d=t.position,f=s?e.x-h.x:0,g=l?e.y-h.y:0;t.attr("position","raw"===u?[f,g]:[d[0]+f,d[1]+g])}},e.sizeCalculable=function(t,e){return null!=t[u[e][0]]||null!=t[u[e][1]]&&null!=t[u[e][2]]},e.mergeLayoutParam=function(t,e,i){!n.isObject(i)&&(i={});var r=i.ignoreSize;!n.isArray(r)&&(r=[r,r]);var a=l(u[0],0),o=l(u[1],1);function l(i,n){var a={},o=0,l={},u=0;if(s(i,function(e){l[e]=t[e]}),s(i,function(t){h(e,t)&&(a[t]=l[t]=e[t]),c(a,t)&&o++,c(l,t)&&u++}),r[n])return c(e,i[1])?l[i[2]]=null:c(e,i[2])&&(l[i[1]]=null),l;if(2!==u&&o){if(o>=2)return a;for(var d=0;d=i&&t<=n},containData:function(t){return this.contain(this.dataToCoord(t))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,e){var i=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&"ordinal"===n.type&&g(i=i.slice(),n.count()),s(t,f,i,e)},coordToData:function(t,e){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&g(i=i.slice(),n.count());var r=s(t,i,f,e);return this.scale.scale(r)},pointToData:function(t,e){},getTicksCoords:function(t){var e=(t=t||{}).tickModel||this.getTickModel(),i=h(this,e),n=i.ticks,o=a(n,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this),s=e.get("alignWithLabel");return function(t,e,i,n,a){var o=e.length;if(!t.onBand||n||!o)return;var s,l=t.getExtent();if(1===o)e[0].coord=l[0],s=e[1]={coord:l[0]};else{var u=e[1].coord-e[0].coord;r(e,function(t){t.coord-=u/2;var e=e||0;e%2>0&&(t.coord-=u/(2*(e+1)))}),s={coord:e[o-1].coord+u},e.push(s)}var h=l[0]>l[1];c(e[0].coord,l[0])&&(a?e[0].coord=l[0]:e.shift());a&&c(l[0],e[0].coord)&&e.unshift({coord:l[0]});c(l[1],s.coord)&&(a?s.coord=l[1]:e.pop());a&&c(s.coord,l[1])&&e.push({coord:l[1]});function c(t,e){return h?t>e:ti||d+co&&(o+=r);var p=Math.atan2(h,u);return p<0&&(p+=r),p>=a&&p<=o||p+r>=a&&p+r<=o}},"2M5Q":function(t,e,i){var n=i("moDv"),r=i("u+XU"),a=i("LICT"),o=i("oBGI"),s=i("2I/p"),l=i("ABnm").normalizeRadian,u=i("AAi1"),h=i("QxFU"),c=n.CMD,d=2*Math.PI,f=1e-4;var p=[-1,-1,-1],g=[-1,-1];function v(t,e,i,n,r,a,o,s,l,h){if(h>e&&h>n&&h>a&&h>s||h1&&(void 0,c=g[0],g[0]=g[1],g[1]=c),f=u.cubicAt(e,n,a,s,g[0]),y>1&&(v=u.cubicAt(e,n,a,s,g[1]))),2===y?_e&&s>n&&s>a||s=0&&h<=1){for(var c=0,d=u.quadraticAt(e,n,a,h),f=0;fi||s<-i)return 0;var u=Math.sqrt(i*i-s*s);p[0]=-u,p[1]=u;var h=Math.abs(n-r);if(h<1e-4)return 0;if(h%d<1e-4){n=0,r=d;var c=a?1:-1;return o>=p[0]+t&&o<=p[1]+t?c:0}if(a){u=n;n=l(r),r=l(u)}else n=l(n),r=l(r);n>r&&(r+=d);for(var f=0,g=0;g<2;g++){var v=p[g];if(v+t>o){var m=Math.atan2(s,v);c=a?1:-1;m<0&&(m=d+m),(m>=n&&m<=r||m+d>=n&&m+d<=r)&&(m>Math.PI/2&&m<1.5*Math.PI&&(c=-c),f+=c)}}return f}function x(t,e,i,n,l){for(var u,d,p=0,g=0,x=0,_=0,w=0,b=0;b1&&(i||(p+=h(g,x,_,w,n,l))),1===b&&(_=g=t[b],w=x=t[b+1]),S){case c.M:g=_=t[b++],x=w=t[b++];break;case c.L:if(i){if(r.containStroke(g,x,t[b],t[b+1],e,n,l))return!0}else p+=h(g,x,t[b],t[b+1],n,l)||0;g=t[b++],x=t[b++];break;case c.C:if(i){if(a.containStroke(g,x,t[b++],t[b++],t[b++],t[b++],t[b],t[b+1],e,n,l))return!0}else p+=v(g,x,t[b++],t[b++],t[b++],t[b++],t[b],t[b+1],n,l)||0;g=t[b++],x=t[b++];break;case c.Q:if(i){if(o.containStroke(g,x,t[b++],t[b++],t[b],t[b+1],e,n,l))return!0}else p+=m(g,x,t[b++],t[b++],t[b],t[b+1],n,l)||0;g=t[b++],x=t[b++];break;case c.A:var M=t[b++],A=t[b++],T=t[b++],C=t[b++],I=t[b++],D=t[b++];b+=1;var k=1-t[b++],P=Math.cos(I)*T+M,O=Math.sin(I)*C+A;b>1?p+=h(g,x,P,O,n,l):(_=P,w=O);var L=(n-M)*C/T+M;if(i){if(s.containStroke(M,A,C,I,I+D,k,e,L,l))return!0}else p+=y(M,A,C,I,I+D,k,L,l);g=Math.cos(I+D)*T+M,x=Math.sin(I+D)*C+A;break;case c.R:_=g=t[b++],w=x=t[b++];P=_+t[b++],O=w+t[b++];if(i){if(r.containStroke(_,w,P,w,e,n,l)||r.containStroke(P,w,P,O,e,n,l)||r.containStroke(P,O,_,O,e,n,l)||r.containStroke(_,O,_,w,e,n,l))return!0}else p+=h(P,w,P,O,n,l),p+=h(_,O,_,w,n,l);break;case c.Z:if(i){if(r.containStroke(g,x,_,w,e,n,l))return!0}else p+=h(g,x,_,w,n,l);g=_,x=w}}return i||(u=x,d=w,Math.abs(u-d)i-2?i-1:f+1],c=t[f>i-3?i-1:f+2]);var v=p*p,m=p*v;a.push([r(u[0],g[0],h[0],c[0],p,v,m),r(u[1],g[1],h[1],c[1],p,v,m)])}return a}},"2uoh":function(t,e,i){var n=i("/gxq"),r={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},"3h1/":function(t,e,i){var n=i("8b51"),r=i("+Y0c"),a=i("/gxq"),o=a.getContext,s=a.extend,l=a.retrieve2,u=a.retrieve3,h=a.trim,c={},d=0,f=5e3,p=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,g="12px sans-serif",v={};function m(t,e){var i=t+":"+(e=e||g);if(c[i])return c[i];for(var n=(t+"").split("\n"),r=0,a=0,o=n.length;af&&(d=0,c={}),d++,c[i]=r,r}function y(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function x(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function _(t,e,i){var n=e.textPosition,r=e.textDistance,a=i.x,o=i.y,s=i.height,l=i.width,u=s/2,h="left",c="top";switch(n){case"left":a-=r,o+=u,h="right",c="middle";break;case"right":a+=r+l,o+=u,c="middle";break;case"top":a+=l/2,o-=r,h="center",c="bottom";break;case"bottom":a+=l/2,o+=s+r,h="center";break;case"inside":a+=l/2,o+=u,h="center",c="middle";break;case"insideLeft":a+=r,o+=u,c="middle";break;case"insideRight":a+=l-r,o+=u,h="right",c="middle";break;case"insideTop":a+=l/2,o+=r,h="center";break;case"insideBottom":a+=l/2,o+=s-r,h="center",c="bottom";break;case"insideTopLeft":a+=r,o+=r;break;case"insideTopRight":a+=l-r,o+=r,h="right";break;case"insideBottomLeft":a+=r,o+=s-r,c="bottom";break;case"insideBottomRight":a+=l-r,o+=s-r,h="right",c="bottom"}return(t=t||{}).x=a,t.y=o,t.textAlign=h,t.textVerticalAlign=c,t}function w(t,e,i,n,r){if(!e)return"";var a=(t+"").split("\n");r=b(e,i,n,r);for(var o=0,s=a.length;o=a;u++)o-=a;var h=m(i,e);return h>o&&(i="",h=0),o=t-h,n.ellipsis=i,n.ellipsisWidth=h,n.contentWidth=o,n.containerWidth=t,n}function S(t,e){var i=e.containerWidth,n=e.font,r=e.contentWidth;if(!i)return"";var a=m(t,n);if(a<=i)return t;for(var o=0;;o++){if(a<=r||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?M(t,r,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*r/a):0;a=m(t=t.substr(0,s),n)}return""===t&&(t=e.placeholder),t}function M(t,e,i,n){for(var r=0,a=0,o=t.length;ah)t="",o=[];else if(null!=c)for(var d=b(c-(i?i[1]+i[3]:0),e,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),f=0,p=o.length;fa&&D(i,t.substring(a,o)),D(i,n[2],n[1]),a=p.lastIndex}ay)return{lines:[],width:0,height:0};N.textWidth=m(N.text,I);var P=T.textWidth,O=null==P||"auto"===P;if("string"==typeof P&&"%"===P.charAt(P.length-1))N.percentWidth=P,d.push(N),P=0;else{if(O){P=N.textWidth;var L=T.textBackgroundColor,R=L&&L.image;R&&(R=r.findExistImage(R),r.isImageReady(R)&&(P=Math.max(P,R.width*k/R.height)))}var E=C?C[1]+C[3]:0;P+=E;var z=null!=v?v-S:null;null!=z&&z0&&d>0&&!f&&(l=0),l<0&&d<0&&!p&&(d=0));var v=e.ecModel;if(v&&"time"===o){var m,y=u("bar",v);if(n.each(y,function(t){m|=t.getBaseAxis()===e.axis}),m){var x=h(y),_=function(t,e,i,r){var a=i.axis.getExtent(),o=a[1]-a[0],s=c(r,i.axis);if(void 0===s)return{min:t,max:e};var l=1/0;n.each(s,function(t){l=Math.min(t.offset,l)});var u=-1/0;n.each(s,function(t){u=Math.max(t.offset+t.width,u)}),l=Math.abs(l),u=Math.abs(u);var h=l+u,d=e-t,f=d/(1-(l+u)/o)-d;return{min:t-=f*(l/h),max:e+=f*(u/h)}}(l,d,e,x);l=_.min,d=_.max}}return[l,d]}function p(t){var e,i=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof i?(e=i,i=function(i){return i=t.scale.getLabel(i),e.replace("{value}",null!=i?i:"")}):"function"==typeof i?function(e,r){return null!=n&&(r=e-n),i(g(t,e),r)}:function(e){return t.scale.getLabel(e)}}function g(t,e){return"category"===t.type?t.scale.getLabel(e):e}function v(t){var e=t.get("interval");return null==e?"auto":e}i("dDRy"),i("xCbH"),e.getScaleExtent=f,e.niceScaleExtent=function(t,e){var i=f(t,e),n=null!=e.getMin(),r=null!=e.getMax(),a=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:a,fixMin:n,fixMax:r,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)},e.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new r(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new a;default:return(o.getClass(e)||a).create(t)}},e.ifAxisCrossZero=function(t){var e=t.scale.getExtent(),i=e[0],n=e[1];return!(i>0&&n>0||i<0&&n<0)},e.makeLabelFormatter=p,e.getAxisRawValue=g,e.estimateLabelUnionRect=function(t){var e=t.model,i=t.scale;if(e.get("axisLabel.show")&&!i.isBlank()){var n,r,a="category"===t.type,o=i.getExtent();r=a?i.count():(n=i.getTicks()).length;var s,l,u,h,c,f,g,v,m,y=t.getLabelModel(),x=p(t),_=1;r>40&&(_=Math.ceil(r/40));for(var w=0;w0&&e.animate(i,!1).when(null==a?500:a,h).delay(o||0)}(t,"",t,e,i,n,c);var d=t.animators.slice(),p=d.length;function g(){--p||a&&a()}p||a&&a();for(var v=0;v=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},remove:function(t,e){r.unregister(e.getZr(),"axisPointer"),a.superApply(this._model,"remove",arguments)},dispose:function(t,e){r.unregister("axisPointer",e),a.superApply(this._model,"dispose",arguments)}}),o=a;t.exports=o},"5KBG":function(t,e,i){i("4Nz2").__DEV__;var n=i("/gxq"),r=(n.isTypedArray,n.extend),a=(n.assert,n.each),o=n.isObject,s=i("vXqC"),l=s.getDataItemValue,u=s.isDataItemOption,h=i("wWR3").parseDate,c=i("rrAD"),d=i("+2Ke"),f=d.SOURCE_FORMAT_TYPED_ARRAY,p=d.SOURCE_FORMAT_ARRAY_ROWS,g=d.SOURCE_FORMAT_ORIGINAL,v=d.SOURCE_FORMAT_OBJECT_ROWS;function m(t,e){c.isInstance(t)||(t=c.seriesDataToSource(t)),this._source=t;var i=this._data=t.data,n=t.sourceFormat;n===f&&(this._offset=0,this._dimSize=e,this._data=i);var a=x[n===p?n+"_"+t.seriesLayoutBy:n];r(this,a)}var y=m.prototype;y.pure=!1,y.persistent=!0,y.getSource=function(){return this._source};var x={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:b},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],i=this._data,n=0;n=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),h=u;t.exports=h},"6Kqb":function(t,e,i){var n=i("GxVO").extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=2*Math.PI;t.moveTo(i+e.r,n),t.arc(i,n,e.r,0,r,!1),t.moveTo(i+e.r0,n),t.arc(i,n,e.r0,0,r,!0)}});t.exports=n},"6MiT":function(t,e,i){var n=i("aCM0"),r=i("UnEC"),a="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||r(t)&&n(t)==a}},"6NQ8":function(t,e){var i=Math.log(2);function n(t,e,r,a,o,s){var l=a+"-"+o,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var h=Math.round(Math.log((1<c?c=f:(d.lastTickCount=n,d.lastAutoInterval=c),c}},n.inherits(s,a);var l=s;t.exports=l},"6axr":function(t,e,i){var n=i("YqdL"),r=i("6UfY"),a=function(t){this.name=t||"",this.cx=0,this.cy=0,this._radiusAxis=new n,this._angleAxis=new r,this._radiusAxis.polar=this._angleAxis.polar=this};a.prototype={type:"polar",axisPointerEnabled:!0,constructor:a,dimensions:["radius","angle"],model:null,containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(t){var e=[],i=this._angleAxis,n=this._radiusAxis;return i.scale.type===t&&e.push(i),n.scale.type===t&&e.push(n),e},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){var i=this.pointToCoord(t);return[this._radiusAxis.radiusToData(i[0],e),this._angleAxis.angleToData(i[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=this.getAngleAxis(),r=n.getExtent(),a=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);n.inverse?a=o-360:o=a+360;var s=Math.sqrt(e*e+i*i);e/=s,i/=s;for(var l=Math.atan2(-i,e)/Math.PI*180,u=lo;)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]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var i=t.getExtent(),n=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-i[0]*n,endAngle:-i[1]*n,clockwise:t.inverse,contain:function(t,e){var i=t-this.cx,n=e-this.cy,r=i*i+n*n,a=this.r,o=this.r0;return r<=a*a&&r>=o*o}}}};var o=a;t.exports=o},"6f6q":function(t,e,i){var n=i("Icdr"),r=i("/gxq");function a(t,e,i){var n,a={},o="toggleSelected"===t;return i.eachComponent("legend",function(i){o&&null!=n?i[n?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?i[t]():(i[t](e.name),n=i.isSelected(e.name));var s=i.getData();r.each(s,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);a.hasOwnProperty(e)?a[e]=a[e]&&n:a[e]=n}})}),"allSelect"===t||"inverseSelect"===t?{selected:a}:{name:e.name,selected:a}}n.registerAction("legendToggleSelect","legendselectchanged",r.curry(a,"toggleSelected")),n.registerAction("legendAllSelect","legendselectall",r.curry(a,"allSelect")),n.registerAction("legendInverseSelect","legendinverseselect",r.curry(a,"inverseSelect")),n.registerAction("legendSelect","legendselected",r.curry(a,"select")),n.registerAction("legendUnSelect","legendunselected",r.curry(a,"unSelect"))},"7XrG":function(t,e,i){var n=i("Icdr").extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});t.exports=n},"80cc":function(t,e,i){var n=i("Icdr");i("6JAQ"),i("6f6q"),i("8RN9");var r=i("JIsR"),a=i("Y5nL");n.registerProcessor(n.PRIORITY.PROCESSOR.SERIES_FILTER,r),a.registerSubTypeDefaulter("legend",function(){return"plain"})},"8RN9":function(t,e,i){i("4Nz2").__DEV__;var n=i("Icdr"),r=i("/gxq"),a=i("kK7q").createSymbol,o=i("0sHC"),s=i("v/cD").makeBackground,l=i("1Xuh"),u=r.curry,h=r.each,c=o.Group,d=n.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new c),this._backgroundEl,this.group.add(this._selectorGroup=new c),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(t,e,i){var n=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var a=t.get("align"),o=t.get("orient");a&&"auto"!==a||(a="right"===t.get("left")&&"vertical"===o?"right":"left");var u=t.get("selector",!0),h=t.get("selectorPosition",!0);!u||h&&"auto"!==h||(h="horizontal"===o?"end":"start"),this.renderInner(a,t,e,i,u,o,h);var c=t.getBoxLayoutParams(),d={width:i.getWidth(),height:i.getHeight()},f=t.get("padding"),p=l.getLayoutRect(c,d,f),g=this.layoutInner(t,a,p,n,u,h),v=l.getLayoutRect(r.defaults({width:g.width,height:g.height},c),d,f);this.group.attr("position",[v.x-g.x,v.y-g.y]),this.group.add(this._backgroundEl=s(g,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(t,e,i,n,a,o,s){var l=this.getContentGroup(),d=r.createHashMap(),f=e.get("selectedMode"),m=[];i.eachRawSeries(function(t){!t.get("legendHoverLink")&&m.push(t.id)}),h(e.getData(),function(r,a){var o=r.get("name");if(this.newlineDisabled||""!==o&&"\n"!==o){var s=i.getSeriesByName(o)[0];if(!d.get(o))if(s){var h=s.getData(),y=h.getVisual("color"),x=h.getVisual("borderColor");"function"==typeof y&&(y=y(s.getDataParams(0))),"function"==typeof x&&(x=x(s.getDataParams(0)));var _=h.getVisual("legendSymbol")||"roundRect",w=h.getVisual("symbol");this._createItem(o,a,r,e,_,w,t,y,x,f).on("click",u(p,o,n)).on("mouseover",u(g,s.name,null,n,m)).on("mouseout",u(v,s.name,null,n,m)),d.set(o,!0)}else i.eachRawSeries(function(i){if(!d.get(o)&&i.legendDataProvider){var s=i.legendDataProvider(),l=s.indexOfName(o);if(l<0)return;var h=s.getItemVisual(l,"color"),c=s.getItemVisual(l,"borderColor");this._createItem(o,a,r,e,"roundRect",null,t,h,c,f).on("click",u(p,o,n)).on("mouseover",u(g,null,o,n,m)).on("mouseout",u(v,null,o,n,m)),d.set(o,!0)}},this)}else l.add(new c({newline:!0}))},this),a&&this._createSelector(a,e,n,o,s)},_createSelector:function(t,e,i,n,r){var a=this.getSelectorGroup();h(t,function(t){!function(t){var n=t.type,r=new o.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:"all"===n?"legendAllSelect":"legendInverseSelect"})}});a.add(r);var s=e.getModel("selectorLabel"),l=e.getModel("emphasis.selectorLabel");o.setLabelStyle(r.style,r.hoverStyle={},s,l,{defaultText:t.title,isRectText:!1}),o.setHoverStyle(r)}(t)})},_createItem:function(t,e,i,n,s,l,u,h,d,p){var g=n.get("itemWidth"),v=n.get("itemHeight"),m=n.get("inactiveColor"),y=n.get("inactiveBorderColor"),x=n.get("symbolKeepAspect"),_=n.getModel("itemStyle"),w=n.isSelected(t),b=new c,S=i.getModel("textStyle"),M=i.get("icon"),A=i.getModel("tooltip"),T=A.parentModel,C=a(s=M||s,0,0,g,v,w?h:m,null==x||x);if(b.add(f(C,s,_,d,y,w)),!M&&l&&(l!==s||"none"===l)){var I=.8*v;"none"===l&&(l="circle");var D=a(l,(g-I)/2,(v-I)/2,I,I,w?h:m,null==x||x);b.add(f(D,l,_,d,y,w))}var k="left"===u?g+5:-5,P=u,O=n.get("formatter"),L=t;"string"==typeof O&&O?L=O.replace("{name}",null!=t?t:""):"function"==typeof O&&(L=O(t)),b.add(new o.Text({style:o.setTextStyle({},S,{text:L,x:k,y:v/2,textFill:w?S.getTextColor():m,textAlign:P,textVerticalAlign:"middle"})}));var R=new o.Rect({shape:b.getBoundingRect(),invisible:!0,tooltip:A.get("show")?r.extend({content:t,formatter:T.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:n.componentIndex,name:t,$vars:["name"]}},A.option):null});return b.add(R),b.eachChild(function(t){t.silent=!0}),R.silent=!p,this.getContentGroup().add(b),o.setHoverStyle(b),b.__legendDataIndex=e,b},layoutInner:function(t,e,i,n,r,a){var o=this.getContentGroup(),s=this.getSelectorGroup();l.box(t.get("orient"),o,t.get("itemGap"),i.width,i.height);var u=o.getBoundingRect(),h=[-u.x,-u.y];if(r){l.box("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),d=[-c.x,-c.y],f=t.get("selectorButtonGap",!0),p=t.getOrient().index,g=0===p?"width":"height",v=0===p?"height":"width",m=0===p?"y":"x";"end"===a?d[p]+=u[g]+f:h[p]+=c[g]+f,d[1-p]+=u[v]/2-c[v]/2,s.attr("position",d),o.attr("position",h);var y={x:0,y:0};return y[g]=u[g]+f+c[g],y[v]=Math.max(u[v],c[v]),y[m]=Math.min(0,c[m]+d[1-p]),y}return o.attr("position",h),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function f(t,e,i,n,r,a){var o;return"line"!==e&&e.indexOf("empty")<0?(o=i.getItemStyle(),t.style.stroke=n,a||(o.stroke=r)):o=i.getItemStyle(["borderWidth","borderColor"]),t.setStyle(o)}function p(t,e){e.dispatchAction({type:"legendToggleSelect",name:t})}function g(t,e,i,n){var r=i.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||i.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:n})}function v(t,e,i,n){var r=i.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||i.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:n})}t.exports=d},"8V5i":function(t,e,i){var n=i("/gxq"),r=n.each,a=n.isArray,o=n.isObject,s=i("xb/I"),l=i("vXqC").normalizeToArray;function u(t){r(h,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var h=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],c=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];t.exports=function(t,e){s(t,e),t.series=l(t.series),r(t.series,function(t){if(o(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e)null!=t.clockWise&&(t.clockwise=t.clockWise);else if("gauge"===e){var i=function(t,e){e=e.split(",");for(var i=t,n=0;n=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new d(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},d.create=function(t){return new d(t.x,t.y,t.width,t.height)};var f=d;t.exports=f},"9N6q":function(t,e,i){var n=i("/gxq"),r=i("YNzw"),a=i("AlhT"),o=i("HKuw");function s(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(t,e){for(var i=0;i=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof a&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;t.exports=u},"9Z3y":function(t,e,i){var n=i("wWR3"),r=n.parsePercent,a=n.linearMap,o=i("XhgW"),s=i("/gxq"),l=2*Math.PI,u=Math.PI/180;t.exports=function(t,e,i,n){e.eachSeriesByType(t,function(t){var e=t.getData(),n=e.mapDimension("value"),h=t.get("center"),c=t.get("radius");s.isArray(c)||(c=[0,c]),s.isArray(h)||(h=[h,h]);var d=i.getWidth(),f=i.getHeight(),p=Math.min(d,f),g=r(h[0],d),v=r(h[1],f),m=r(c[0],p/2),y=r(c[1],p/2),x=-t.get("startAngle")*u,_=t.get("minAngle")*u,w=0;e.each(n,function(t){!isNaN(t)&&w++});var b=e.getSum(n),S=Math.PI/(b||w)*2,M=t.get("clockwise"),A=t.get("roseType"),T=t.get("stillShowZeroSum"),C=e.getDataExtent(n);C[0]=0;var I=l,D=0,k=x,P=M?1:-1;if(e.each(n,function(t,i){var n;if(isNaN(t))e.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:g,cy:v,r0:m,r:A?NaN:y});else{(n="area"!==A?0===b&&T?S:t*S:l/w)<_?(n=_,I-=_):D+=t;var r=k+P*n;e.setItemLayout(i,{angle:n,startAngle:k,endAngle:r,clockwise:M,cx:g,cy:v,r0:m,r:A?a(t,C,[m,y]):y}),k=r}}),I-l&&tl||t<-l}function m(t,e,i,n,r){var a=1-r;return a*a*(a*t+3*r*e)+r*r*(r*n+3*a*i)}function y(t,e,i,n){var r=1-n;return r*(r*t+2*n*e)+n*n*i}e.cubicAt=m,e.cubicDerivativeAt=function(t,e,i,n,r){var a=1-r;return 3*(((e-t)*a+2*(i-e)*r)*a+(n-i)*r*r)},e.cubicRootAt=function(t,e,i,n,r,a){var l=n+3*(e-i)-t,u=3*(i-2*e+t),d=3*(e-t),f=t-r,p=u*u-3*l*d,v=u*d-9*l*f,m=d*d-3*u*f,y=0;if(g(p)&&g(v))g(u)?a[0]=0:(D=-d/u)>=0&&D<=1&&(a[y++]=D);else{var x=v*v-4*p*m;if(g(x)){var _=v/p,w=-_/2;(D=-u/l+_)>=0&&D<=1&&(a[y++]=D),w>=0&&w<=1&&(a[y++]=w)}else if(x>0){var b=s(x),S=p*u+1.5*l*(-v+b),M=p*u+1.5*l*(-v-b);(D=(-u-((S=S<0?-o(-S,c):o(S,c))+(M=M<0?-o(-M,c):o(M,c))))/(3*l))>=0&&D<=1&&(a[y++]=D)}else{var A=(2*p*u-3*l*v)/(2*s(p*p*p)),T=Math.acos(A)/3,C=s(p),I=Math.cos(T),D=(-u-2*C*I)/(3*l),k=(w=(-u+C*(I+h*Math.sin(T)))/(3*l),(-u+C*(I-h*Math.sin(T)))/(3*l));D>=0&&D<=1&&(a[y++]=D),w>=0&&w<=1&&(a[y++]=w),k>=0&&k<=1&&(a[y++]=k)}}return y},e.cubicExtrema=function(t,e,i,n,r){var a=6*i-12*e+6*t,o=9*e+3*n-3*t-9*i,l=3*e-3*t,u=0;if(g(o))v(a)&&(c=-l/a)>=0&&c<=1&&(r[u++]=c);else{var h=a*a-4*o*l;if(g(h))r[0]=-a/(2*o);else if(h>0){var c,d=s(h),f=(-a-d)/(2*o);(c=(-a+d)/(2*o))>=0&&c<=1&&(r[u++]=c),f>=0&&f<=1&&(r[u++]=f)}}return u},e.cubicSubdivide=function(t,e,i,n,r,a){var o=(e-t)*r+t,s=(i-e)*r+e,l=(n-i)*r+i,u=(s-o)*r+o,h=(l-s)*r+s,c=(h-u)*r+u;a[0]=t,a[1]=o,a[2]=u,a[3]=c,a[4]=c,a[5]=h,a[6]=l,a[7]=n},e.cubicProjectPoint=function(t,e,i,n,r,o,l,h,c,g,v){var y,x,_,w,b,S=.005,M=1/0;d[0]=c,d[1]=g;for(var A=0;A<1;A+=.05)f[0]=m(t,i,r,l,A),f[1]=m(e,n,o,h,A),(w=a(d,f))=0&&w=0&&c<=1&&(r[u++]=c);else{var h=o*o-4*a*l;if(g(h))(c=-o/(2*a))>=0&&c<=1&&(r[u++]=c);else if(h>0){var c,d=s(h),f=(-o-d)/(2*a);(c=(-o+d)/(2*a))>=0&&c<=1&&(r[u++]=c),f>=0&&f<=1&&(r[u++]=f)}}return u},e.quadraticExtremum=function(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n},e.quadraticSubdivide=function(t,e,i,n,r){var a=(e-t)*n+t,o=(i-e)*n+e,s=(o-a)*n+a;r[0]=t,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=i},e.quadraticProjectPoint=function(t,e,i,n,r,o,l,h,c){var g,v=.005,m=1/0;d[0]=l,d[1]=h;for(var x=0;x<1;x+=.05)f[0]=y(t,i,r,x),f[1]=y(e,n,o,x),(S=a(d,f))=0&&S=0&&(i.splice(n,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var e=this.__zr,i=this.__storage,r=this._children,a=n.indexOf(r,t);return a<0?this:(r.splice(a,1),t.parent=null,i&&(i.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(i)),e&&e.refresh(),this)},removeAll:function(){var t,e,i=this._children,n=this.__storage;for(e=0;e>1^-(1&s),l=l>>1^-(1&l),r=s+=r,a=l+=a,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,a=i.coordinates,o=[];"Polygon"===i.type&&o.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===i.type&&n.each(a,function(t){t[0]&&o.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});var s=new r(e.name,o,e.cp);return s.properties=e,s})}},B33o:function(t,e,i){var n=i("8b51"),r=i("wUOi"),a=i("C7PF"),o=i("N1qP");function s(t,e,i){if(this.name=t,this.geometries=e,i)i=[i[0],i[1]];else{var n=this.getBoundingRect();i=[n.x+n.width/2,n.y+n.height/2]}this.center=i}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,i=[e,e],o=[-e,-e],s=[],l=[],u=this.geometries,h=0;h.5?e:t}function c(t,e,i,n,r){var a=t.length;if(1===r)for(var o=0;or)t.length=r;else for(var a=n;a=0&&!(C[i]<=e);i--);i=Math.min(i,_-2)}else{for(i=H;i<_&&!(C[i]>e);i++);i=Math.min(i-1,_-2)}H=i,V=e;var n=C[i+1]-C[i];if(0!==n)if(E=(e-C[i])/n,x)if(N=I[i],z=I[0===i?i:i-1],B=I[i>_-2?_-1:i+1],F=I[i>_-3?_-1:i+2],S)p(z,N,B,F,E,E*E,E*E*E,v(t,s),T);else{if(M)r=p(z,N,B,F,E,E*E,E*E*E,q,1),r=m(q);else{if(A)return h(N,B,E);r=g(z,N,B,F,E,E*E,E*E*E)}y(t,s,r)}else if(S)c(I[i],I[i+1],E,v(t,s),T);else{var r;if(M)c(I[i],I[i+1],E,q,1),r=m(q);else{if(A)return h(I[i],I[i+1],E);r=u(I[i],I[i+1],E)}y(t,s,r)}},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 r=this._getter(this._target,n);if(null==r)continue;0!==t&&i[n].push({time:0,value:v(r)})}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;t255?255:t}function a(t){return t<0?0:t>1?1:t}function o(t){return t.length&&"%"===t.charAt(t.length-1)?r(parseFloat(t)/100*255):r(parseInt(t,10))}function s(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100):a(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,r){return t[0]=e,t[1]=i,t[2]=n,t[3]=r,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("zMj2"))(20),f=null;function p(t,e){f&&c(f,e),f=d.put(t,f||e.slice())}function g(t,e){if(t){e=e||[];var i=d.get(t);if(i)return c(e,i);var r,a=(t+="").replace(/ /g,"").toLowerCase();if(a in n)return c(e,n[a]),p(t,e),e;if("#"===a.charAt(0))return 4===a.length?(r=parseInt(a.substr(1),16))>=0&&r<=4095?(h(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,1),p(t,e),e):void h(e,0,0,0,1):7===a.length?(r=parseInt(a.substr(1),16))>=0&&r<=16777215?(h(e,(16711680&r)>>16,(65280&r)>>8,255&r,1),p(t,e),e):void h(e,0,0,0,1):void 0;var l=a.indexOf("("),u=a.indexOf(")");if(-1!==l&&u+1===a.length){var f=a.substr(0,l),g=a.substr(l+1,u-(l+1)).split(","),m=1;switch(f){case"rgba":if(4!==g.length)return void h(e,0,0,0,1);m=s(g.pop());case"rgb":return 3!==g.length?void h(e,0,0,0,1):(h(e,o(g[0]),o(g[1]),o(g[2]),m),p(t,e),e);case"hsla":return 4!==g.length?void h(e,0,0,0,1):(g[3]=s(g[3]),v(g,e),p(t,e),e);case"hsl":return 3!==g.length?void h(e,0,0,0,1):(v(g,e),p(t,e),e);default:return}}h(e,0,0,0,1)}}function v(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=s(t[1]),a=s(t[2]),o=a<=.5?a*(n+1):a+n-a*n,u=2*a-o;return h(e=e||[],r(255*l(u,o,i+1/3)),r(255*l(u,o,i)),r(255*l(u,o,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length-1),o=Math.floor(n),s=Math.ceil(n),l=e[o],h=e[s],c=n-o;return i[0]=r(u(l[0],h[0],c)),i[1]=r(u(l[1],h[1],c)),i[2]=r(u(l[2],h[2],c)),i[3]=a(u(l[3],h[3],c)),i}}var y=m;function x(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),o=Math.floor(n),s=Math.ceil(n),l=g(e[o]),h=g(e[s]),c=n-o,d=w([r(u(l[0],h[0],c)),r(u(l[1],h[1],c)),r(u(l[2],h[2],c)),a(u(l[3],h[3],c))],"rgba");return i?{color:d,leftIndex:o,rightIndex:s,value:n}:d}}var _=x;function w(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}e.parse=g,e.lift=function(t,e){var i=g(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0,i[n]>255?i[n]=255:t[n]<0&&(i[n]=0);return w(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=m,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,r=t[1]/255,a=t[2]/255,o=Math.min(n,r,a),s=Math.max(n,r,a),l=s-o,u=(s+o)/2;if(0===l)e=0,i=0;else{i=u<.5?l/(s+o):l/(2-s-o);var h=((s-n)/6+l/2)/l,c=((s-r)/6+l/2)/l,d=((s-a)/6+l/2)/l;n===s?e=d-c:r===s?e=1/3+h-d:a===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,i,u];return null!=t[3]&&f.push(t[3]),f}}(t),null!=e&&(t[0]=(r=e,(r=Math.round(r))<0?0:r>360?360:r)),null!=i&&(t[1]=s(i)),null!=n&&(t[2]=s(n)),w(v(t),"rgba");var r},e.modifyAlpha=function(t,e){if((t=g(t))&&null!=e)return t[3]=a(e),w(t,"rgba")},e.stringify=w},DlMc:function(t,e,i){var n=i("gApy"),r=i("DtRx"),a=r;a.v1=n,a.v4=r,t.exports=a},DpwM:function(t,e,i){var n=i("/gxq"),r=i("YNzw"),a=(0,i("vXqC").makeInner)(),o=n.each;function s(t,e,i){t.handler("leave",null,i)}function l(t,e,i,n){e.handler(t,i,n)}e.register=function(t,e,i){if(!r.node){var u=e.getZr();a(u).records||(a(u).records={}),function(t,e){function i(i,n){t.on(i,function(i){var r=function(t){var e={showTip:[],hideTip:[]},i=function(n){var r=e[n.type];r?r.push(n):(n.dispatchAction=i,t.dispatchAction(n))};return{dispatchAction:i,pendings:e}}(e);o(a(t).records,function(t){t&&n(t,i,r.dispatchAction)}),function(t,e){var i,n=t.showTip.length,r=t.hideTip.length;n?i=t.showTip[n-1]:r&&(i=t.hideTip[r-1]),i&&(i.dispatchAction=null,e.dispatchAction(i))}(r.pendings,e)})}a(t).initialized||(a(t).initialized=!0,i("click",n.curry(l,"click")),i("mousemove",n.curry(l,"mousemove")),i("globalout",s))}(u,e),(a(u).records[t]||(a(u).records[t]={})).handler=i}},e.unregister=function(t,e){if(!r.node){var i=e.getZr();(a(i).records||{})[t]&&(a(i).records[t]=null)}}},DtRx:function(t,e,i){var n=i("i4uy"),r=i("MAlW");t.exports=function(t,e,i){var a=e&&i||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null);var o=(t=t||{}).random||(t.rng||n)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,e)for(var s=0;s<16;++s)e[a+s]=o[s];return e||r(o)}},EJsE:function(t,e,i){i("4Nz2").__DEV__;var n=i("/gxq"),r=i("YNzw"),a=i("HHfb"),o=a.formatTime,s=a.encodeHTML,l=a.addCommas,u=a.getTooltipMarker,h=i("vXqC"),c=i("Y5nL"),d=i("MyoG"),f=i("bBvJ"),p=i("1Xuh"),g=p.getLayoutParams,v=p.mergeLayoutParam,m=i("gV7x").createTask,y=i("kdOt"),x=y.prepareSource,_=y.getSource,w=i("5KBG").retrieveRawValue,b=h.makeInner(),S=c.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,i,n){this.seriesIndex=this.componentIndex,this.dataTask=m({count:A,reset:T}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,i),x(this);var r=this.getInitialData(t,i);I(r,this),this.dataTask.context.data=r,b(this).dataBeforeProcessed=r,M(this)},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,r=i?g(t):{},a=this.subType;c.hasClass(a)&&(a+="Series"),n.merge(t,e.getTheme().get(this.subType)),n.merge(t,this.getDefaultOption()),h.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),i&&v(t,r,i)},mergeOption:function(t,e){t=n.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var i=this.layoutMode;i&&v(this.option,t,i),x(this);var r=this.getInitialData(t,e);I(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,b(this).dataBeforeProcessed=r,M(this)},fillDataTextStyle:function(t){if(t&&!n.isTypedArray(t))for(var e=["show"],i=0;i":"\n",d="richText"===r,f={},p=0;function g(t){return{renderMode:r,content:s(l(t)),style:f}}var v=this.getData(),m=v.mapDimension("defaultedTooltip",!0),y=m.length,x=this.getRawValue(t),_=n.isArray(x),b=v.getItemVisual(t,"color");n.isObject(b)&&b.colorStops&&(b=(b.colorStops[0]||{}).color),b=b||"transparent";var S=(y>1||_&&!y?function(i){var h=n.reduce(i,function(t,e,i){var n=v.getDimensionInfo(i);return t|(n&&!1!==n.tooltip&&null!=n.displayName)},0),c=[];function g(t,i){var n=v.getDimensionInfo(i);if(n&&!1!==n.otherDims.tooltip){var g=n.type,m="sub"+a.seriesIndex+"at"+p,y=u({color:b,type:"subItem",renderMode:r,markerId:m}),x="string"==typeof y?y:y.content,_=(h?x+s(n.displayName||"-")+": ":"")+s("ordinal"===g?t+"":"time"===g?e?"":o("yyyy/MM/dd hh:mm:ss",t):l(t));_&&c.push(_),d&&(f[m]=b,++p)}}m.length?n.each(m,function(e){g(w(v,t,e),e)}):n.each(i,g);var y=h?d?"\n":"
":"",x=y+c.join(y||", ");return{renderMode:r,content:x,style:f}}(x):g(y?w(v,t,m[0]):_?x[0]:x)).content,M=a.seriesIndex+"at"+p,A=u({color:b,type:"item",renderMode:r,markerId:M});f[M]=b,++p;var T=v.getName(t),C=this.name;h.isNameSpecified(this)||(C=""),C=C?s(C)+(e?": ":c):"";var I="string"==typeof A?A:A.content;return{html:e?I+C+S:C+I+(T?s(T)+": "+S:S),markers:f}},isAnimationEnabled:function(){if(r.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,i){var n=this.ecModel,r=d.getColorFromPalette.call(this,t,e,i);return r||(r=n.getColorFromPalette(t,e,i)),r},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function M(t){var e=t.name;h.isNameSpecified(t)||(t.name=function(t){var e=t.getRawData(),i=e.mapDimension("seriesName",!0),r=[];return n.each(i,function(t){var i=e.getDimensionInfo(t);i.displayName&&r.push(i.displayName)}),r.join(" ")}(t)||e)}function A(t){return t.model.getRawData().count()}function T(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),C}function C(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function I(t,e){n.each(t.CHANGABLE_METHODS,function(i){t.wrapMethod(i,n.curry(D,e))})}function D(t){var e=k(t);e&&e.setOutputEnd(this.count())}function k(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var n=i.currentTask;if(n){var r=n.agentStubMap;r&&(n=r.get(t.uid))}return n}}n.mixin(S,f),n.mixin(S,d);var P=S;t.exports=P},FIAY:function(t,e){t.exports={legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}}},"G5/o":function(t,e,i){i("uqUo")("getOwnPropertyNames",function(){return i("Rrel").f})},Gw4f:function(t,e,i){var n=i("/gxq"),r=i("wRzc"),a=function(t,e,i,n,a,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==i?1:i,this.y2=null==n?0:n,this.type="linear",this.global=o||!1,r.call(this,a)};a.prototype={constructor:a},n.inherits(a,r);var o=a;t.exports=o},GxVO:function(t,e,i){var n=i("9qnA"),r=i("/gxq"),a=i("moDv"),o=i("2M5Q"),s=i("dZ2L").prototype.getCanvasPattern,l=Math.abs,u=new a(!0);function h(t){n.call(this,t),this.path=null}h.prototype={constructor:h,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var i,n=this.style,r=this.path||u,a=n.hasStroke(),o=n.hasFill(),l=n.fill,h=n.stroke,c=o&&!!l.colorStops,d=a&&!!h.colorStops,f=o&&!!l.image,p=a&&!!h.image;(n.bind(t,this,e),this.setTransform(t),this.__dirty)&&(c&&(i=i||this.getBoundingRect(),this._fillGradient=n.getGradient(t,l,i)),d&&(i=i||this.getBoundingRect(),this._strokeGradient=n.getGradient(t,h,i)));c?t.fillStyle=this._fillGradient:f&&(t.fillStyle=s.call(l,t)),d?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=s.call(h,t));var g=n.lineDash,v=n.lineDashOffset,m=!!t.setLineDash,y=this.getGlobalScale();if(r.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!m&&a?(r.beginPath(t),g&&!m&&(r.setLineDash(g),r.setLineDashOffset(v)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),o)if(null!=n.fillOpacity){var x=t.globalAlpha;t.globalAlpha=n.fillOpacity*n.opacity,r.fill(t),t.globalAlpha=x}else r.fill(t);if(g&&m&&(t.setLineDash(g),t.lineDashOffset=v),a)if(null!=n.strokeOpacity){x=t.globalAlpha;t.globalAlpha=n.strokeOpacity*n.opacity,r.stroke(t),t.globalAlpha=x}else r.stroke(t);g&&m&&t.setLineDash([]),null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,i){},createPathProxy:function(){this.path=new a},getBoundingRect:function(){var t=this._rect,e=this.style,i=!t;if(i){var n=this.path;n||(n=this.path=new a),this.__dirtyPath&&(n.beginPath(),this.buildPath(n,this.shape,!1)),t=n.getBoundingRect()}if(this._rect=t,e.hasStroke()){var r=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||i){r.copy(t);var o=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),s>1e-10&&(r.width+=o/s,r.height+=o/s,r.x-=o/s/2,r.y-=o/s/2)}return r}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),r=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var a=this.path.data;if(r.hasStroke()){var s=r.lineWidth,l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(r.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(a,s/l,t,e)))return!0}if(r.hasFill())return o.contain(a,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):n.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(r.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 r in i)!n.hasOwnProperty(r)&&i.hasOwnProperty(r)&&(n[r]=i[r])}t.init&&t.init.call(this,e)};for(var i in r.inherits(e,h),t)"style"!==i&&"shape"!==i&&(e.prototype[i]=t[i]);return e},r.inherits(h,n);var c=h;t.exports=c},HHfb:function(t,e,i){var n=i("/gxq"),r=i("3h1/"),a=i("wWR3");var o=n.normalizeCssArray,s=/([&<>"'])/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"};function u(t){return null==t?"":(t+"").replace(s,function(t,e){return l[e]})}var h=["a","b","c","d","e","f","g"],c=function(t,e){return"{"+t+(null==e?"":e)+"}"};function d(t,e){return"0000".substr(0,e-(t+="").length)+t}var f=r.truncateText;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")},e.toCamelCase=function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},e.normalizeCssArray=o,e.encodeHTML=u,e.formatTpl=function(t,e,i){n.isArray(e)||(e=[e]);var r=e.length;if(!r)return"";for(var a=e[0].$vars||[],o=0;o':'':{renderMode:a,content:"{marker"+o+"|} ",style:{color:i}}:""},e.formatTime=function(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=a.parseDate(e),r=i?"UTC":"",o=n["get"+r+"FullYear"](),s=n["get"+r+"Month"]()+1,l=n["get"+r+"Date"](),u=n["get"+r+"Hours"](),h=n["get"+r+"Minutes"](),c=n["get"+r+"Seconds"](),f=n["get"+r+"Milliseconds"]();return t=t.replace("MM",d(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",d(l,2)).replace("d",l).replace("hh",d(u,2)).replace("h",u).replace("mm",d(h,2)).replace("m",h).replace("ss",d(c,2)).replace("s",c).replace("SSS",d(f,3))},e.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},e.truncateText=f,e.getTextBoundingRect=function(t){return r.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},e.getTextRect=function(t,e,i,n,a,o,s,l){return r.getBoundingRect(t,e,i,n,a,l,o,s)}},HKuw:function(t,e){var i=32,n=7;function r(t,e,i,n){var r=e+1;if(r===i)return 1;if(n(t[r++],t[e])<0){for(;r=0;)r++;return r-e}function a(t,e,i,n,r){for(n===e&&n++;n>>1])<0?l=a:s=a+1;var u=n-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=o}}function o(t,e,i,n,r,a){var o=0,s=0,l=1;if(a(t,e[i+r])>0){for(s=n-r;l0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=o;o=r-l,l=r-u}for(o++;o>>1);a(t,e[i+h])>0?o=h+1:l=h}return l}function s(t,e,i,n,r,a){var o=0,s=0,l=1;if(a(t,e[i+r])<0){for(s=r+1;ls&&(l=s);var u=o;o=r-l,l=r-u}else{for(s=n-r;l=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}for(o++;o>>1);a(t,e[i+h])<0?l=h:o=h+1}return l}function l(t,e){var i,r,a,l=n,u=0;i=t.length;var h=[];function c(i){var c=r[i],d=a[i],f=r[i+1],p=a[i+1];a[i]=d+p,i===u-3&&(r[i+1]=r[i+2],a[i+1]=a[i+2]),u--;var g=s(t[f],t,c,d,0,e);c+=g,0!==(d-=g)&&0!==(p=o(t[c+d-1],t,f,p,p-1,e))&&(d<=p?function(i,r,a,u){var c=0;for(c=0;c=n||v>=n);if(m)break;y<0&&(y=0),y+=2}if((l=y)<1&&(l=1),1===r){for(c=0;c=0;c--)t[v+c]=t[g+c];return void(t[p]=h[f])}var m=l;for(;;){var y=0,x=0,_=!1;do{if(e(h[f],t[d])<0){if(t[p--]=t[d--],y++,x=0,0==--r){_=!0;break}}else if(t[p--]=h[f--],x++,y=0,1==--u){_=!0;break}}while((y|x)=0;c--)t[v+c]=t[g+c];if(0===r){_=!0;break}}if(t[p--]=h[f--],1==--u){_=!0;break}if(0!==(x=u-o(t[d],h,0,u,u-1,e))){for(u-=x,v=(p-=x)+1,g=(f-=x)+1,c=0;c=n||x>=n);if(_)break;m<0&&(m=0),m+=2}(l=m)<1&&(l=1);if(1===u){for(v=(p-=r)+1,g=(d-=r)+1,c=r-1;c>=0;c--)t[v+c]=t[g+c];t[p]=h[f]}else{if(0===u)throw new Error;for(g=p-(u-1),c=0;c1;){var t=u-2;if(t>=1&&a[t-1]<=a[t]+a[t+1]||t>=2&&a[t-2]<=a[t]+a[t-1])a[t-1]a[t+1])break;c(t)}},this.forceMergeRuns=function(){for(;u>1;){var t=u-2;t>0&&a[t-1]=i;)e|=1&t,t>>=1;return t+e}(s);do{if((u=r(t,n,o,e))c&&(d=c),a(t,n,n+d,n+u,e),u=d}h.pushRun(n,u),h.mergeRuns(),s-=u,n+=u}while(0!==s);h.forceMergeRuns()}}}},HSQo:function(t,e,i){t.exports={default:i("CJli"),__esModule:!0}},I0Vc:function(t,e,i){var n=i("g+yZ").devicePixelRatio,r=i("/gxq"),a=i("eZxa"),o=i("8b51"),s=i("HKuw"),l=i("OT4p"),u=i("a1Sp"),h=i("MAom"),c=i("YNzw");function d(t){return parseInt(t,10)}var f=new o(0,0,0,0),p=new o(0,0,0,0);var g=function(t,e,i){this.type="canvas";var a=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=i=r.extend({},i||{}),this.dpr=i.devicePixelRatio||n,this._singleCanvas=a,this.root=t;var o=t.style;o&&(o["-webkit-tap-highlight-color"]="transparent",o["-webkit-user-select"]=o["user-select"]=o["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var s=this._zlevelList=[],u=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,a){var h=t.width,c=t.height;null!=i.width&&(h=i.width),null!=i.height&&(c=i.height),this.dpr=i.devicePixelRatio||1,t.width=h*this.dpr,t.height=c*this.dpr,this._width=h,this._height=c;var d=new l(t,this,this.dpr);d.__builtin__=!0,d.initContext(),u[314159]=d,d.zlevel=314159,s.push(314159),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var f=this._domRoot=function(t,e){var i=document.createElement("div");return i.style.cssText=["position:relative","overflow:hidden","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",i}(this._width,this._height);t.appendChild(f)}this._hoverlayer=null,this._hoverElements=[]};g.prototype={constructor:g,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,t,this._redrawId);for(var n=0;n=0&&i.splice(n,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i15)break}l.__drawIndex=m,l.__drawIndex0&&t>n[0]){for(s=0;st);s++);o=i[n[s]]}if(n.splice(s+1,0,t),i[t]=e,!e.virtual)if(o){var u=o.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else a("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var i,n,r=this._zlevelList;for(n=0;n0?.01:0),this._needsManuallyCompositing),s.__builtin__||a("ZLevel "+l+" has been used by unkown layer "+s.id),s!==n&&(s.__used=!0,s.__startIndex!==i&&(s.__dirty=!0),s.__startIndex=i,s.incremental?s.__drawIndex=-1:s.__drawIndex=i,e(i),n=s),o.__dirty&&(s.__dirty=!0,s.incremental&&s.__drawIndex<0&&(s.__drawIndex=i))}e(i),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?r.merge(i[t],e,!0):i[t]=e;for(var n=0;n0&&t.unfinished);t.unfinished||this._zr.flush()}}},G.getDom=function(){return this._dom},G.getZr=function(){return this._zr},G.setOption=function(t,e,i){if(this._disposed)this.id;else{var n;if(O(e)&&(i=e.lazyUpdate,n=e.silent,e=e.notMerge),this[B]=!0,!this._model||e){var r=new d(this._api),a=this._theme,o=this._model=new u;o.scheduler=this._scheduler,o.init(null,null,a,r)}this._model.setOption(t,ht),i?(this[F]={silent:n},this[B]=!1):(X(this),U.update.call(this),this._zr.flush(),this[F]=!1,this[B]=!1,J.call(this,n),Q.call(this,n))}},G.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},G.getModel=function(){return this._model},G.getOption=function(){return this._model&&this._model.getOption()},G.getWidth=function(){return this._zr.getWidth()},G.getHeight=function(){return this._zr.getHeight()},G.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},G.getRenderedCanvas=function(t){if(o.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},G.getSvgDataUrl=function(){if(o.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return r.each(e,function(t){t.stopAnimation(!0)}),t.painter.pathToDataUrl()}},G.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,i=this._model,n=[],r=this;k(e,function(t){i.eachComponent({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)})});var a="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return k(n,function(t){t.group.ignore=!1}),a}this.id},G.getConnectedDataURL=function(t){if(this._disposed)this.id;else if(o.canvasSupported){var e=this.group,i=Math.min,a=Math.max;if(vt[e]){var s=1/0,l=1/0,u=-1/0,h=-1/0,c=[],d=t&&t.pixelRatio||1;r.each(gt,function(n,o){if(n.group===e){var d=n.getRenderedCanvas(r.clone(t)),f=n.getDom().getBoundingClientRect();s=i(f.left,s),l=i(f.top,l),u=a(f.right,u),h=a(f.bottom,h),c.push({dom:d,left:f.left,top:f.top})}});var f=(u*=d)-(s*=d),p=(h*=d)-(l*=d),g=r.createCanvas();g.width=f,g.height=p;var v=n.init(g);return t.connectedBackgroundColor&&v.add(new x.Rect({shape:{x:0,y:0,width:f,height:p},style:{fill:t.connectedBackgroundColor}})),k(c,function(t){var e=new x.Image({style:{x:t.left*d-s,y:t.top*d-l,image:t.dom}});v.add(e)}),v.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},G.convertToPixel=r.curry(Y,"convertToPixel"),G.convertFromPixel=r.curry(Y,"convertFromPixel"),G.containPixel=function(t,e){if(!this._disposed){var i,n=this._model;return t=_.parseFinder(n,t),r.each(t,function(t,n){n.indexOf("Models")>=0&&r.each(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)i|=!!r.containPoint(e);else if("seriesModels"===n){var a=this._chartsMap[t.__viewId];a&&a.containPoint&&(i|=a.containPoint(e,t))}},this)},this),!!i}this.id},G.getVisual=function(t,e){var i=this._model,n=(t=_.parseFinder(i,t,{defaultMainType:"series"})).seriesModel.getData(),r=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;return null!=r?n.getItemVisual(r,e):n.getVisual(e)},G.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},G.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var U={prepareAndUpdate:function(t){X(this),U.update.call(this,t)},update:function(t){var e=this._model,i=this._api,n=this._zr,r=this._coordSysMgr,s=this._scheduler;if(e){s.restoreData(e,t),s.performSeriesTasks(e),r.create(e,i),s.performDataProcessorTasks(e,t),Z(this,e),r.update(e,i),tt(e),s.performVisualTasks(e,t),et(this,e,i,t);var l=e.get("backgroundColor")||"transparent";if(o.canvasSupported)n.setBackgroundColor(l);else{var u=a.parse(l);l=a.stringify(u,"rgb"),0===u[3]&&(l="transparent")}nt(e,i)}},updateTransform:function(t){var e=this._model,i=this,n=this._api;if(e){var a=[];e.eachComponent(function(r,o){var s=i.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,n,t);l&&l.update&&a.push(s)}else a.push(s)});var o=r.createHashMap();e.eachSeries(function(r){var a=i._chartsMap[r.__viewId];if(a.updateTransform){var s=a.updateTransform(r,e,n,t);s&&s.update&&o.set(r.uid,1)}else o.set(r.uid,1)}),tt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),it(i,e,n,t,o),nt(e,this._api)}},updateView:function(t){var e=this._model;e&&(y.markUpdateMethod(t,"updateView"),tt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),et(this,this._model,this._api,t),nt(e,this._api))},updateVisual:function(t){U.update.call(this,t)},updateLayout:function(t){U.update.call(this,t)}};function X(t){var e=t._model,i=t._scheduler;i.restorePipelines(e),i.prepareStageTasks(),$(t,"component",e,i),$(t,"chart",e,i),i.plan()}function j(t,e,i,n,a){var o=t._model;if(n){var s={};s[n+"Id"]=i[n+"Id"],s[n+"Index"]=i[n+"Index"],s[n+"Name"]=i[n+"Name"];var l={mainType:n,query:s};a&&(l.subType=a);var u=i.excludeSeriesId;null!=u&&(u=r.createHashMap(_.normalizeToArray(u))),o&&o.eachComponent(l,function(e){u&&null!=u.get(e.id)||h(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else k(t._componentsViews.concat(t._chartsViews),h);function h(n){n&&n.__alive&&n[e]&&n[e](n.__model,o,t._api,i)}}function Z(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries(function(t){n.updateStreamModes(t,i[t.__viewId])})}function K(t,e){var i=t.type,n=t.escapeConnect,a=st[i],o=a.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&L(s[0]),this[B]=!0;var u=[t],h=!1;t.batch&&(h=!0,u=r.map(t.batch,function(e){return(e=r.defaults(r.extend({},e),t)).batch=null,e}));var c,d=[],f="highlight"===i||"downplay"===i;k(u,function(t){(c=(c=a.action(t,this._model,this._api))||r.extend({},t)).type=o.event||c.type,d.push(c),f?j(this,l,t,"series"):s&&j(this,l,t,s.main,s.sub)},this),"none"===l||f||s||(this[F]?(X(this),U.update.call(this,t),this[F]=!1):U[l].call(this,t)),c=h?{type:o.event||i,escapeConnect:n,batch:d}:d[0],this[B]=!1,!e&&this._messageCenter.trigger(c.type,c)}function J(t){for(var e=this._pendingActions;e.length;){var i=e.shift();K.call(this,i,t)}}function Q(t){!t&&this.trigger("updated")}function $(t,e,i,n){for(var r="component"===e,a=r?t._componentsViews:t._chartsViews,o=r?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;ue.get("hoverLayerThreshold")&&!o.node&&e.eachSeries(function(e){if(!e.preventUsingHoverLayer){var i=t._chartsMap[e.__viewId];i.__alive&&i.group.traverse(function(t){t.useHoverLayer=!0})}})}(t,e),S(t._zr.dom,e)}function nt(t,e){k(ct,function(i){i(t,e)})}G.resize=function(t){if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var i=e.resetOption("media"),n=t&&t.silent;this[B]=!0,i&&X(this),U.update.call(this),this[B]=!1,J.call(this,n),Q.call(this,n)}}},G.showLoading=function(t,e){if(this._disposed)this.id;else if(O(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),pt[t]){var i=pt[t](this._api,e),n=this._zr;this._loadingFX=i,n.add(i)}},G.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},G.makeActionFromEvent=function(t){var e=r.extend({},t);return e.type=lt[t.type],e},G.dispatchAction=function(t,e){this._disposed?this.id:(O(e)||(e={silent:!!e}),st[t.type]&&this._model&&(this[B]?this._pendingActions.push(t):(K.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&o.browser.weChat&&this._throttledZrFlush(),J.call(this,e.silent),Q.call(this,e.silent))))},G.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0}},G.on=V("on",!1),G.off=V("off",!1),G.one=V("one",!1);var rt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function at(t,e){var i=t.get("z"),n=t.get("zlevel");e.group.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=n&&(t.zlevel=n))})}function ot(){this.eventInfo}G._initEvents=function(){k(rt,function(t){var e=function(e){var i,n=this.getModel(),a=e.target;if("globalout"===t)i={};else if(a&&null!=a.dataIndex){var o=a.dataModel||n.getSeriesByIndex(a.seriesIndex);i=o&&o.getDataParams(a.dataIndex,a.dataType,a)||{}}else a&&a.eventData&&(i=r.extend({},a.eventData));if(i){var s=i.componentType,l=i.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=i.seriesIndex);var u=s&&null!=l&&n.getComponent(s,l),h=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];i.event=e,i.type=t,this._ecEventProcessor.eventInfo={targetEl:a,packedEvent:i,model:u,view:h},this.trigger(t,i)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)},this),k(lt,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},G.isDisposed=function(){return this._disposed},G.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},G.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,_.setAttribute(this.getDom(),xt,"");var t=this._api,e=this._model;k(this._componentsViews,function(i){i.dispose(e,t)}),k(this._chartsViews,function(i){i.dispose(e,t)}),this._zr.dispose(),delete gt[this.id]}},r.mixin(W,l),ot.prototype={constructor:ot,normalizeQuery:function(t){var e={},i={},n={};if(r.isString(t)){var a=L(t);e.mainType=a.main||null,e.subType=a.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};r.each(t,function(t,r){for(var a=!1,l=0;l0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,a=!0)}}s.hasOwnProperty(r)&&(i[r]=t,a=!0),a||(n[r]=t)})}return{cptQuery:e,dataQuery:i,otherQuery:n}},filter:function(t,e,i){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,a=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return h(l,o,"mainType")&&h(l,o,"subType")&&h(l,o,"index","componentIndex")&&h(l,o,"name")&&h(l,o,"id")&&h(u,a,"name")&&h(u,a,"dataIndex")&&h(u,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,r,a));function h(t,e,i,n){return null==t[i]||e[n||i]===t[i]}},afterTrigger:function(){this.eventInfo=null}};var st={},lt={},ut=[],ht=[],ct=[],dt=[],ft={},pt={},gt={},vt={},mt=new Date-0,yt=new Date-0,xt="_echarts_instance_";function _t(t){vt[t]=!1}var wt=_t;function bt(t){return gt[_.getAttribute(t,xt)]}function St(t,e){ft[t]=e}function Mt(t){ht.push(t)}function At(t,e){It(ut,t,e,R)}function Tt(t,e,i){"function"==typeof e&&(i=e,e="");var n=O(t)?t.type:[t,t={event:e}][0];t.event=(t.event||n).toLowerCase(),e=t.event,D(H.test(n)&&H.test(e)),st[n]||(st[n]={action:i,actionInfo:t}),lt[e]=n}function Ct(t,e){It(dt,t,e,z,"visual")}function It(t,e,i,n,r){(P(e)||O(e))&&(i=e,e=n);var a=A.wrapStageHandler(i,r);return a.__prio=e,a.__raw=i,t.push(a),a}function Dt(t,e){pt[t]=e}Ct(2e3,b),Mt(f),At(900,p),Dt("default",M),Tt({type:"highlight",event:"highlight",update:"highlight"},r.noop),Tt({type:"downplay",event:"downplay",update:"downplay"},r.noop),St("light",T),St("dark",C);e.version="4.4.0",e.dependencies={zrender:"4.1.1"},e.PRIORITY=N,e.init=function(t,e,i){var n=bt(t);if(n)return n;var r=new W(t,e,i);return r.id="ec_"+mt++,gt[r.id]=r,_.setAttribute(t,xt,r.id),function(t){var e="__connectUpdateStatus";function i(t,i){for(var n=0;n1&&r&&r.length>1){var s=a(r)/a(o);!isFinite(s)&&(s=1),e.pinchScale=s;var l=[((n=r)[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=r;t.exports=s},K0T9:function(t,e){var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),(t*=2)<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-i.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},n=i;t.exports=n},KsMi:function(t,e,i){var n=i("GxVO"),r=i("xr8J").subPixelOptimizeLine,a={},o=n.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i,n,o,s;this.subPixelOptimize?(r(a,e,this.style),i=a.x1,n=a.y1,o=a.x2,s=a.y2):(i=e.x1,n=e.y1,o=e.x2,s=e.y2);var l=e.percent;0!==l&&(t.moveTo(i,n),l<1&&(o=i*(1-l)+o*l,s=n*(1-l)+s*l),t.lineTo(o,s))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=o},LICT:function(t,e,i){var n=i("AAi1");e.containStroke=function(t,e,i,r,a,o,s,l,u,h,c){if(0===u)return!1;var d=u;return!(c>e+d&&c>r+d&&c>o+d&&c>l+d||ct+d&&h>i+d&&h>a+d&&h>s+d||h=r||v<0)break;if(f(y)){if(p){v+=a;continue}break}if(v===i)t[a>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=e[g],_="y"===h?1:0,w=(y[_]-x[_])*l;u(c,x),c[_]=x[_]+w,u(d,y),d[_]=y[_]-w,t.bezierCurveTo(c[0],c[1],d[0],d[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=v,v+=a}return m}.apply(this,arguments):function(t,e,i,n,a,p,g,v,m,y,x){for(var _=0,w=i,b=0;b=a||w<0)break;if(f(S)){if(x){w+=p;continue}break}if(w===i)t[p>0?"moveTo":"lineTo"](S[0],S[1]),u(c,S);else if(m>0){var M=w+p,A=e[M];if(x)for(;A&&f(e[M]);)A=e[M+=p];var T=.5,C=e[_],A=e[M];if(!A||f(A))u(d,S);else{var I,D;if(f(A)&&!x&&(A=S),r.sub(h,A,C),"x"===y||"y"===y){var k="x"===y?0:1;I=Math.abs(S[k]-C[k]),D=Math.abs(S[k]-A[k])}else I=r.dist(S,C),D=r.dist(S,A);l(d,S,h,-m*(1-(T=D/(D+I))))}o(c,c,v),s(c,c,g),o(d,d,v),s(d,d,g),t.bezierCurveTo(c[0],c[1],d[0],d[1],S[0],S[1]),l(c,S,h,m*T)}else t.lineTo(S[0],S[1]);_=w,w+=p}return b}.apply(this,arguments)}function g(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var r=0;rn[0]&&(n[0]=a[0]),a[1]>n[1]&&(n[1]=a[1])}return{min:e?i:n,max:e?n:i}}var v=n.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:a(n.prototype.brush),buildPath:function(t,e){var i=e.points,n=0,r=i.length,a=g(i,e.smoothConstraint);if(e.connectNulls){for(;r>0&&f(i[r-1]);r--);for(;n0&&f(i[a-1]);a--);for(;re)return t[n];return t[i-1]}(u,i):l;if((h=h||l)&&h.length){var c=h[r];return t&&(s[t]=c),n.colorIdx=(r+1)%h.length,c}}};t.exports=s},N1qP:function(t,e,i){var n=i("QxFU"),r=1e-8;function a(t,e){return Math.abs(t-e)=2){if(o&&"spline"!==o){var s=r(a,o,i,e.smoothConstraint);t.moveTo(a[0][0],a[0][1]);for(var l=a.length,u=0;u<(i?l:l-1);u++){var h=s[2*u],c=s[2*u+1],d=a[(u+1)%l];t.bezierCurveTo(h[0],h[1],c[0],c[1],d[0],d[1])}}else{"spline"===o&&(a=n(a,i)),t.moveTo(a[0][0],a[0][1]),u=1;for(var f=a.length;u=e||i<0||m&&t-g>=c}function w(){var t=r();if(_(t))return b(t);f=setTimeout(w,function(t){var i=e-(t-p);return m?l(i,c-(t-g)):i}(t))}function b(t){return f=void 0,y&&u?x(t):(u=h=void 0,d)}function S(){var t=r(),i=_(t);if(u=arguments,h=this,p=t,i){if(void 0===f)return function(t){return g=t,f=setTimeout(w,e),v?x(t):d}(p);if(m)return clearTimeout(f),f=setTimeout(w,e),x(p)}return void 0===f&&(f=setTimeout(w,e)),d}return e=a(e)||0,n(i)&&(v=!!i.leading,c=(m="maxWait"in i)?s(a(i.maxWait)||0,e):c,y="trailing"in i?!!i.trailing:y),S.cancel=function(){void 0!==f&&clearTimeout(f),g=0,u=p=h=f=void 0},S.flush=function(){return void 0===f?d:b(r())},S}},OT4p:function(t,e,i){var n=i("/gxq"),r=i("g+yZ").devicePixelRatio,a=i("d8Tt"),o=i("dZ2L");function s(){return!1}function l(t,e,i){var r=n.createCanvas(),a=e.getWidth(),o=e.getHeight(),s=r.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=a+"px",s.height=o+"px",r.setAttribute("data-zr-dom-id",t)),r.width=a*i,r.height=o*i,r}var u=function(t,e,i){var a;i=i||r,"string"==typeof t?a=l(t,e,i):n.isObject(t)&&(t=(a=t).id),this.id=t,this.dom=a;var o=a.style;o&&(a.onselectstart=s,o["-webkit-user-select"]="none",o["user-select"]="none",o["-webkit-touch-callout"]="none",o["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",o.padding=0,o.margin=0,o["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=i};u.prototype={constructor:u,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=l("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},resize:function(t,e){var i=this.dpr,n=this.dom,r=n.style,a=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),n.width=t*i,n.height=e*i,a&&(a.width=t*i,a.height=e*i,1!==i&&this.ctxBack.scale(i,i))},clear:function(t,e){var i,n=this.dom,r=this.ctx,s=n.width,l=n.height,u=(e=e||this.clearColor,this.motionBlur&&!t),h=this.lastFrameAlpha,c=this.dpr;(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,s/c,l/c)),r.clearRect(0,0,s,l),e&&"transparent"!==e)&&(e.colorStops?(i=e.__canvasGradient||a.getGradient(r,e,{x:0,y:0,width:s,height:l}),e.__canvasGradient=i):e.image&&(i=o.prototype.getCanvasPattern.call(e,r)),r.save(),r.fillStyle=i||e,r.fillRect(0,0,s,l),r.restore());if(u){var d=this.domBack;r.save(),r.globalAlpha=h,r.drawImage(d,0,0,s,l),r.restore()}}};var h=u;t.exports=h},Of86:function(t,e,i){var n=i("GxVO").extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,i){i&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=n},OkSz:function(t,e,i){var n=i("/gxq"),r=i("0sHC"),a=Math.PI;t.exports=function(t,e){e=e||{},n.defaults(e,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var i=new r.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),o=new r.Arc({shape:{startAngle:-a/2,endAngle:-a/2+.1,r:10},style:{stroke:e.color,lineCap:"round",lineWidth:5},zlevel:e.zlevel,z:10001}),s=new r.Rect({style:{fill:"none",text:e.text,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});o.animateShape(!0).when(1e3,{endAngle:3*a/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:3*a/2}).delay(300).start("circularInOut");var l=new r.Group;return l.add(o),l.add(s),l.add(i),l.resize=function(){var e=t.getWidth()/2,n=t.getHeight()/2;o.setShape({cx:e,cy:n});var r=o.shape.r;s.setShape({x:e-r,y:n-r,width:2*r,height:2*r}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},l.resize(),l}},Oq2I:function(t,e,i){var n=i("Icdr");i("AKXb"),i("7XrG"),i("XAC3"),n.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),n.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},Ou7x:function(t,e,i){var n=i("/gxq"),r=i("BNYN"),a=i("0sHC"),o=i("QCrJ"),s=i("UAiw"),l=i("QD+P"),u=(0,i("vXqC").makeInner)(),h=n.clone,c=n.bind;function d(){}function f(t,e,i,r){(function t(e,i){if(n.isObject(e)&&n.isObject(i)){var r=!0;return n.each(i,function(i,n){r=r&&t(e[n],i)}),!!r}return e===i})(u(i).lastProp,r)||(u(i).lastProp=r,e?a.updateProps(i,r,t):(i.stopAnimation(),i.attr(r)))}function p(t,e){t[e.get("label.show")?"show":"hide"]()}function g(t){return{position:t.position.slice(),rotation:t.rotation||0}}function v(t,e,i){var n=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=r&&(t.zlevel=r),t.silent=i)})}d.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,i,r){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,r||this._lastValue!==o||this._lastStatus!==s){this._lastValue=o,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var h={};this.makeElOption(h,o,t,e,i);var c=h.graphicKey;c!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=c;var d=this._moveAnimation=this.determineAnimation(t,e);if(l){var p=n.curry(f,e,d);this.updatePointerEl(l,h,p,e),this.updateLabelEl(l,h,p,e)}else l=this._group=new a.Group,this.createPointerEl(l,h,t,e),this.createLabelEl(l,h,t,e),i.getZr().add(l);v(l,e,!0),this._renderHandle(o)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var i=e.get("animation"),n=t.axis,r="category"===n.type,a=e.get("snap");if(!a&&!r)return!1;if("auto"===i||null==i){var s=this.animationThreshold;if(r&&n.getBandWidth()>s)return!0;if(a){var l=o.getAxisInfo(t).seriesDataCount,u=n.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===i},makeElOption:function(t,e,i,n,r){},createPointerEl:function(t,e,i,n){var r=e.pointer;if(r){var o=u(t).pointerEl=new a[r.type](h(e.pointer));t.add(o)}},createLabelEl:function(t,e,i,n){if(e.label){var r=u(t).labelEl=new a.Rect(h(e.label));t.add(r),p(r,n)}},updatePointerEl:function(t,e,i){var n=u(t).pointerEl;n&&e.pointer&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,i,n){var r=u(t).labelEl;r&&(r.setStyle(e.label.style),i(r,{shape:e.label.shape,position:e.label.position}),p(r,n))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,r=this._api.getZr(),o=this._handle,u=i.getModel("handle"),h=i.get("status");if(!u.get("show")||!h||"hide"===h)return o&&r.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=a.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)}),r.add(o)),v(o,i,!1);o.setStyle(u.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=u.get("size");n.isArray(d)||(d=[d,d]),o.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){f(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(g(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(g(n)),u(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},_onHandleDragEnd:function(t){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),i=this._group,n=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,i){return{x:t[i=i||0],y:t[1-i],width:e[i],height:e[1-i]}}},d.prototype.constructor=d,r.enableClassExtend(d);var m=d;t.exports=m},OxCu:function(t,e,i){var n=i("/gxq"),r=i("vXqC");t.exports=function(t,e){var i,a=[],o=t.seriesIndex;if(null==o||!(i=e.getSeriesByIndex(o)))return{point:[]};var s=i.getData(),l=r.queryDataIndex(s,t);if(null==l||l<0||n.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),h=i.coordinateSystem;if(i.getTooltipPosition)a=i.getTooltipPosition(l)||[];else if(h&&h.dataToPoint)a=h.dataToPoint(s.getValues(n.map(h.dimensions,function(t){return s.mapDimension(t)}),l,!0))||[];else if(u){var c=u.getBoundingRect().clone();c.applyTransform(u.transform),a=[c.x+c.width/2,c.y+c.height/2]}return{point:a,el:u}}},PBlc:function(t,e,i){i("4Nz2").__DEV__;var n=i("/gxq"),r=i("6axr"),a=i("wWR3").parsePercent,o=i("3yJd"),s=o.createScaleByModel,l=o.niceScaleExtent,u=i("rctg"),h=i("qVJQ").getStackedDimension;function c(t,e){var i=this,r=i.getAngleAxis(),a=i.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===i){var e=t.getData();n.each(e.mapDimension("radius",!0),function(t){a.scale.unionExtentFromData(e,h(e,t))}),n.each(e.mapDimension("angle",!0),function(t){r.scale.unionExtentFromData(e,h(e,t))})}}),l(r.scale,r.model),l(a.scale,a.model),"category"===r.type&&!r.onBand){var o=r.getExtent(),s=360/r.scale.count();r.inverse?o[1]+=s:o[1]-=s,r.setExtent(o[0],o[1])}}function d(t,e){if(t.type=e.get("type"),t.scale=s(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var i=e.get("startAngle");t.setExtent(i,i+(t.inverse?-360:360))}e.axis=t,t.model=e}i("ZRmN");var f={dimensions:r.prototype.dimensions,create:function(t,e){var i=[];return t.eachComponent("polar",function(t,n){var o=new r(n);o.update=c;var s=o.getRadiusAxis(),l=o.getAngleAxis(),u=t.findAxisModel("radiusAxis"),h=t.findAxisModel("angleAxis");d(s,u),d(l,h),function(t,e,i){var n=e.get("center"),r=i.getWidth(),o=i.getHeight();t.cx=a(n[0],r),t.cy=a(n[1],o);var s=t.getRadiusAxis(),l=Math.min(r,o)/2,u=a(e.get("radius"),l);s.inverse?s.setExtent(u,0):s.setExtent(0,u)}(o,t,e),i.push(o),t.coordinateSystem=o,o.model=t}),t.eachSeries(function(e){if("polar"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e.coordinateSystem=i.coordinateSystem}}),i}};u.register("polar",f)},PD67:function(t,e,i){var n=i("GxVO"),r=i("Sm9T"),a=i("xr8J").subPixelOptimizeRect,o={},s=n.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var i,n,s,l;this.subPixelOptimize?(a(o,e,this.style),i=o.x,n=o.y,s=o.width,l=o.height,o.r=e.r,e=o):(i=e.x,n=e.y,s=e.width,l=e.height),e.r?r.buildPath(t,e):t.rect(i,n,s,l),t.closePath()}});t.exports=s},PWa9:function(t,e){var i={average:function(t){for(var e=0,i=0,n=0;ne&&(e=t[i]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,i=0;i1&&("string"==typeof o?l=i[o]:"function"==typeof o&&(l=o),l&&t.setData(a.downSample(a.mapDimension(h.dim),1/f,l,n)))}}}}},Pdtn:function(t,e,i){var n=i("/gxq"),r=i("YNzw"),a=i("vXqC").makeInner,o=i("BNYN"),s=o.enableClassExtend,l=o.enableClassCheck,u=i("BwZ6"),h=i("fgF4"),c=i("NZsM"),d=i("e95b"),f=n.mixin,p=a();function g(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}function v(t,e,i){for(var n=0;n=0||t===e}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[h(t)]}function u(t){return!!t.get("handle.show")}function h(t){return t.type+"||"+t.id}e.collect=function(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,i){var l=e.getComponent("tooltip"),c=e.getComponent("axisPointer"),d=c.get("link",!0)||[],f=[];a(i.getCoordinateSystems(),function(i){if(i.axisPointerEnabled){var p=h(i.model),g=t.coordSysAxesInfo[p]={};t.coordSysMap[p]=i;var v=i.model,m=v.getModel("tooltip",l);if(a(i.getAxes(),o(w,!1,null)),i.getTooltipAxes&&l&&m.get("show")){var y="axis"===m.get("trigger"),x="cross"===m.get("axisPointer.type"),_=i.getTooltipAxes(m.get("axisPointer.axis"));(y||x)&&a(_.baseAxes,o(w,!x||"cross",y)),x&&a(_.otherAxes,o(w,"cross",!1))}}function w(o,l,p){var v=p.model.getModel("axisPointer",c),y=v.get("show");if(y&&("auto"!==y||o||u(v))){null==l&&(l=v.get("triggerTooltip"));var x=(v=o?function(t,e,i,o,s,l){var u=e.getModel("axisPointer"),h={};a(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){h[t]=n.clone(u.get(t))}),h.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(h.type="line");var c=h.label||(h.label={});if(null==c.show&&(c.show=!1),"cross"===s){var d=u.get("label.show");if(c.show=null==d||d,!l){var f=h.lineStyle=u.get("crossStyle");f&&n.defaults(c,f.textStyle)}}return t.model.getModel("axisPointer",new r(h,i,o))}(p,m,c,e,o,l):v).get("snap"),_=h(p.model),w=l||x||"category"===p.type,b=t.axesInfo[_]={key:_,axis:p,coordSys:i,axisPointerModel:v,triggerTooltip:l,involveSeries:w,snap:x,useHandle:u(v),seriesModels:[]};g[_]=b,t.seriesInvolved|=w;var S=function(t,e){for(var i=e.model,n=e.dim,r=0;rh[1]&&h.reverse(),(null==o||o>h[1])&&(o=h[1]),o=0?c():h=setTimeout(c,-r),l=n};return d.clear=function(){h&&(clearTimeout(h),h=null)},d.debounceNextCall=function(t){s=t},d}e.throttle=a,e.createOrUpdate=function(t,e,o,s){var l=t[e];if(l){var u=l[i]||l,h=l[r];if(l[n]!==o||h!==s){if(null==o||!s)return t[e]=u;(l=t[e]=a(u,o,"debounce"===s))[i]=u,l[r]=s,l[n]=o}return l}},e.clear=function(t,e){var n=t[e];n&&n[i]&&(t[e]=n[i])}},QDiV:function(t,e,i){var n=i("/gxq"),r=i("FIAY"),a=i("5KBG").retrieveRawValue;t.exports=function(t,e){var i=e.getModel("aria");if(i.get("show"))if(i.get("description"))t.setAttribute("aria-label",i.get("description"));else{var o=0;e.eachSeries(function(t,e){++o},this);var s,l=i.get("data.maxCount")||10,u=i.get("series.maxCount")||10,h=Math.min(o,u);if(!(o<1)){var c=function(){var t=e.getModel("title").option;return t&&t.length&&(t=t[0]),t&&t.text}();s=c?f(p("general.withTitle"),{title:c}):p("general.withoutTitle");var d=[];s+=f(p(o>1?"series.multiple.prefix":"series.single.prefix"),{seriesCount:o}),e.eachSeries(function(t,e){if(e1?"multiple":"single")+".";i=f(i=p(n?s+"withName":s+"withoutName"),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(y=t.subType,r.series.typeNames[y]||"自定义图")});var u=t.getData();window.data=u,u.count()>l?i+=f(p("data.partialData"),{displayCnt:l}):i+=p("data.allData");for(var c=[],g=0;gx?"left":"right",f=Math.abs(c[1]-_)/y<.3?"middle":c[1]>_?"top":"bottom"}return{position:c,align:d,verticalAlign:f}}(e,i,0,f,r.get("label.margin"));o.buildLabelElOption(t,i,r,u,y)}});var c={line:function(t,e,i,n,r){return"angle"===t.dim?{type:"Line",shape:o.makeLineShape(e.coordToPoint([n[0],i]),e.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:i}}},shadow:function(t,e,i,n,r){var a=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,n[0],n[1],(-i-a/2)*s,(a/2-i)*s)}:{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,i-a/2,i+a/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",h);var d=h;t.exports=d},QxFU:function(t,e){t.exports=function(t,e,i,n,r,a){if(a>e&&a>n||ar?o:0}},RKzr:function(t,e,i){var n=i("/gxq"),r=i("2HcM"),a=function(t,e,i,n,a){r.call(this,t,e,i),this.type=n||"value",this.position=a||"bottom"};a.prototype={constructor:a,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},n.inherits(a,r);var o=a;t.exports=o},RVHk:function(t,e,i){var n=i("TQ3y");t.exports=function(){return n.Date.now()}},RYbJ:function(t,e,i){var n=i("/gxq");t.exports=function(t){for(var e=0;e=0||r&&n.indexOf(r,s)<0)){var l=e.getShallow(s);null!=l&&(a[t[o][0]]=l)}}return a}}},Rfu2:function(t,e,i){i("4Nz2").__DEV__;var n=i("/gxq"),r=i("Pdtn"),a=i("1Hui"),o=i("rrAD"),s=i("5KBG"),l=s.defaultDimValueGetters,u=s.DefaultDataProvider,h=i("mvCM").summarizeDimensions,c=n.isObject,d=-1,f="e\0\0",p={float:"undefined"==typeof Float64Array?Array:Float64Array,int:"undefined"==typeof Int32Array?Array:Int32Array,ordinal:Array,number:Array,time:Array},g="undefined"==typeof Uint32Array?Array:Uint32Array,v="undefined"==typeof Int32Array?Array:Int32Array,m="undefined"==typeof Uint16Array?Array:Uint16Array;function y(t){return t._rawCount>65535?g:m}var x=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],_=["_extent","_approximateExtent","_rawExtent"];function w(t,e){n.each(x.concat(e.__wrappedMethods||[]),function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t.__wrappedMethods=e.__wrappedMethods,n.each(_,function(i){t[i]=n.clone(e[i])}),t._calculationInfo=n.extend(e._calculationInfo)}var b=function(t,e){t=t||["x","y"];for(var i={},r=[],a={},o=0;o=0?this._indices[t]:-1}function D(t,e){var i=t._idList[e];return null==i&&(i=T(t,t._idDimIdx,e)),null==i&&(i=f+e),i}function k(t){return n.isArray(t)||(t=[t]),t}function P(t,e){var i=t.dimensions,r=new b(n.map(i,t.getDimensionInfo,t),t.hostModel);w(r,t);for(var a=r._storage={},o=t._storage,s=0;s=0?(a[l]=O(o[l]),r._rawExtent[l]=L(),r._extent[l]=null):a[l]=o[l])}return r}function O(t){for(var e,i,n=new Array(t.length),r=0;rx[1]&&(x[1]=y)}e&&(this._nameList[d]=e[f])}this._rawCount=this._count=l,this._extent={},A(this)},S._initDataFromProvider=function(t,e){if(!(t>=e)){for(var i,n=this._chunkSize,r=this._rawData,a=this._storage,o=this.dimensions,s=o.length,l=this._dimensionInfos,u=this._nameList,h=this._idList,c=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;pT[1]&&(T[1]=S)}if(!r.pure){var C=u[m];if(v&&null==C)if(null!=v.name)u[m]=C=v.name;else if(null!=i){var I=o[i],D=a[I][y];if(D){C=D[x];var k=l[I].ordinalMeta;k&&k.categories.length&&(C=k.categories[C])}}var P=null==v?null:v.id;null==P&&null!=C&&(d[C]=d[C]||0,P=C,d[C]>0&&(P+="__ec__"+d[C]),d[C]++),null!=P&&(h[m]=P)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},A(this)}},S.count=function(){return this._count},S.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,i=this._count;if(e===Array){r=new e(i);for(var n=0;n=0&&e=0&&eo&&(o=l)}return n=[a,o],this._extent[t]=n,n},S.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},S.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},S.getCalculationInfo=function(t){return this._calculationInfo[t]},S.setCalculationInfo=function(t,e){c(t)?n.extend(this._calculationInfo,t):this._calculationInfo[t]=e},S.getSum=function(t){var e=0;if(this._storage[t])for(var i=0,n=this.count();i=this._rawCount||t<0)return-1;var e=this._indices,i=e[t];if(null!=i&&it))return a;r=a-1}}return-1},S.indicesOfNearest=function(t,e,i){var n=[];if(!this._storage[t])return n;null==i&&(i=1/0);for(var r=Number.MAX_VALUE,a=-1,o=0,s=this.count();o=0&&a<0)&&(r=u,a=l,n.length=0),n.push(o))}return n},S.getRawIndex=C,S.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],i=0;i=l&&b<=u||isNaN(b))&&(a[o++]=c),c++}h=!0}else if(2===n){d=this._storage[s];var m=this._storage[e[1]],x=t[e[1]][0],_=t[e[1]][1];for(f=0;f=l&&b<=u||isNaN(b))&&(S>=x&&S<=_||isNaN(S))&&(a[o++]=c),c++}}h=!0}}if(!h)if(1===n)for(v=0;v=l&&b<=u||isNaN(b))&&(a[o++]=M)}else for(v=0;vt[T][1])&&(A=!1)}A&&(a[o++]=this.getRawIndex(v))}return ob[1]&&(b[1]=w)}}}return a},S.downSample=function(t,e,i,n){for(var r=P(this,[t]),a=r._storage,o=[],s=Math.floor(1/e),l=a[t],u=this.count(),h=this._chunkSize,c=r._rawExtent[t],d=new(y(this))(u),f=0,p=0;pu-p&&(s=u-p,o.length=s);for(var g=0;gc[1]&&(c[1]=_),d[f++]=w}return r._count=f,r._indices=d,r.getRawIndex=I,r},S.getItemModel=function(t){var e=this.hostModel;return new r(this.getRawDataItem(t),e,e&&e.ecModel)},S.diff=function(t){var e=this;return new a(t?t.getIndices():[],this.getIndices(),function(e){return D(t,e)},function(t){return D(e,t)})},S.getVisual=function(t){var e=this._visual;return e&&e[t]},S.setVisual=function(t,e){if(c(t))for(var i in t)t.hasOwnProperty(i)&&this.setVisual(i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},S.setLayout=function(t,e){if(c(t))for(var i in t)t.hasOwnProperty(i)&&this.setLayout(i,t[i]);else this._layout[t]=e},S.getLayout=function(t){return this._layout[t]},S.getItemLayout=function(t){return this._itemLayouts[t]},S.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?n.extend(this._itemLayouts[t]||{},e):e},S.clearItemLayouts=function(){this._itemLayouts.length=0},S.getItemVisual=function(t,e,i){var n=this._itemVisuals[t],r=n&&n[e];return null!=r||i?r:this.getVisual(e)},S.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{},r=this.hasItemVisual;if(this._itemVisuals[t]=n,c(e))for(var a in e)e.hasOwnProperty(a)&&(n[a]=e[a],r[a]=!0);else n[e]=i,r[e]=!0},S.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var R=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};S.setItemGraphicEl=function(t,e){var i=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=i&&i.seriesIndex,"group"===e.type&&e.traverse(R,e)),this._graphicEls[t]=e},S.getItemGraphicEl=function(t){return this._graphicEls[t]},S.eachItemGraphicEl=function(t,e){n.each(this._graphicEls,function(i,n){i&&t&&t.call(e,i,n)})},S.cloneShallow=function(t){if(!t){var e=n.map(this.dimensions,this.getDimensionInfo,this);t=new b(e,this.hostModel)}if(t._storage=this._storage,w(t,this),this._indices){var i=this._indices.constructor;t._indices=new i(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?I:C,t},S.wrapMethod=function(t,e){var i=this[t];"function"==typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t].concat(n.slice(arguments)))})},S.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],S.CHANGABLE_METHODS=["filterSelf","selectRange"];var E=b;t.exports=E},RiVu:function(t,e){var i=2311;t.exports=function(){return i++}},RjA7:function(t,e,i){var n=i("5KBG").retrieveRawValue;e.getDefaultLabel=function(t,e){var i=t.mapDimension("defaultedLabel",!0),r=i.length;if(1===r)return n(t,e,i[0]);if(r){for(var a=[],o=0;o=0;n--)m.isIdInner(e[n])&&e.splice(n,1);t[i]=e}}),delete t[S],t},getTheme:function(){return this._theme},getComponent:function(t,e){var i=this._componentsMap.get(t);if(i)return i[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var i,n=t.index,r=t.id,u=t.name,h=this._componentsMap.get(e);if(!h||!h.length)return[];if(null!=n)s(n)||(n=[n]),i=a(o(n,function(t){return h[t]}),function(t){return!!t});else if(null!=r){var c=s(r);i=a(h,function(t){return c&&l(r,t.id)>=0||!c&&t.id===r})}else if(null!=u){var d=s(u);i=a(h,function(t){return d&&l(u,t.name)>=0||!d&&t.name===u})}else i=h.slice();return T(i,t)},findComponents:function(t){var e,i,n,r,o,s=t.query,l=t.mainType,u=(i=l+"Index",n=l+"Id",r=l+"Name",!(e=s)||null==e[i]&&null==e[n]&&null==e[r]?null:{mainType:l,index:e[i],id:e[n],name:e[r]}),h=u?this.queryComponents(u):this._componentsMap.get(l);return o=T(h,t),t.filter?a(o,t.filter):o},eachComponent:function(t,e,i){var n=this._componentsMap;if("function"==typeof t)i=e,e=t,n.each(function(t,n){r(t,function(t,r){e.call(i,n,t,r)})});else if(h(t))r(n.get(t),e,i);else if(u(t)){var a=this.findComponents(t);r(a,e,i)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return a(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 a(e,function(e){return e.subType===t})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){r(this._seriesIndices,function(i){var n=this._componentsMap.get("series")[i];t.call(e,n,i)},this)},eachRawSeries:function(t,e){r(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,i){r(this._seriesIndices,function(n){var r=this._componentsMap.get("series")[n];r.subType===t&&e.call(i,r,n)},this)},eachRawSeriesByType:function(t,e,i){return r(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){A(this,a(this._componentsMap.get("series"),t,e))},restoreData:function(t){var e=this._componentsMap;A(this,e.get("series"));var i=[];e.each(function(t,e){i.push(e)}),x.topologicalTravel(i,x.getAllClassMainTypes(),function(i,n){r(e.get(i),function(e){("series"!==i||!function(t,e){if(e){var i=e.seiresIndex,n=e.seriesId,r=e.seriesName;return null!=i&&t.componentIndex!==i||null!=n&&t.id!==n||null!=r&&t.name!==r}}(e,t))&&e.restoreData()})})}});function A(t,e){t._seriesIndicesMap=c(t._seriesIndices=o(e,function(t){return t.componentIndex})||[])}function T(t,e){return e.hasOwnProperty("subType")?a(t,function(t){return t.subType===e.subType}):t}v(M,w);var C=M;t.exports=C},SiPa:function(t,e,i){var n=i("/gxq"),r=i("3h1/"),a=i("vXqC").makeInner,o=i("3yJd"),s=o.makeLabelFormatter,l=o.getOptionCategoryInterval,u=o.shouldShowAllLabels,h=a();function c(t,e){var i,r=d(t,"labels"),a=l(e),o=f(r,a);return o||p(r,a,{labels:n.isFunction(a)?v(t,a):g(t,i="auto"===a?function(t){var e=h(t).autoInterval;return null!=e?e:h(t).autoInterval=t.calculateCategoryInterval()}(t):a),labelCategoryInterval:i})}function d(t,e){return h(t)[e]||(h(t)[e]=[])}function f(t,e){for(var i=0;i1&&d/h>2&&(c=Math.round(Math.ceil(c/h)*h));var f=u(t),p=o.get("showMinLabel")||f,g=o.get("showMaxLabel")||f;p&&c!==a[0]&&m(a[0]);for(var v=c;v<=a[1];v+=h)m(v);function m(t){l.push(i?t:{formattedLabel:n(t),rawLabel:r.getLabel(t),tickValue:t})}return g&&v-h!==a[1]&&m(a[1]),l}function v(t,e,i){var r=t.scale,a=s(t),o=[];return n.each(r.getTicks(),function(t){var n=r.getLabel(t);e(t,n)&&o.push(i?t:{formattedLabel:a(t),rawLabel:n,tickValue:t})}),o}e.createAxisLabels=function(t){return"category"===t.type?function(t){var e=t.getLabelModel(),i=c(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i}(t):function(t){var e=t.scale.getTicks(),i=s(t);return{labels:n.map(e,function(e,n){return{formattedLabel:i(e,n),rawLabel:t.scale.getLabel(e),tickValue:e}})}}(t)},e.createAxisTicks=function(t,e){return"category"===t.type?function(t,e){var i,r,a=d(t,"ticks"),o=l(e),s=f(a,o);if(s)return s;if(e.get("show")&&!t.scale.isBlank()||(i=[]),n.isFunction(o))i=v(t,o,!0);else if("auto"===o){var u=c(t,t.getLabelModel());r=u.labelCategoryInterval,i=n.map(u.labels,function(t){return t.tickValue})}else i=g(t,r=o,!0);return p(a,o,{ticks:i,tickCategoryInterval:r})}(t,e):{ticks:t.scale.getTicks()}},e.calculateCategoryInterval=function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),i=s(t),n=(e.axisRotate-e.labelRotate)/180*Math.PI,a=t.scale,o=a.getExtent(),l=a.count();if(o[1]-o[0]<1)return 0;var u=1;l>40&&(u=Math.max(1,Math.floor(l/40)));for(var c=o[0],d=t.dataToCoord(c+1)-t.dataToCoord(c),f=Math.abs(d*Math.cos(n)),p=Math.abs(d*Math.sin(n)),g=0,v=0;c<=o[1];c+=u){var m,y,x=r.getBoundingRect(i(c),e.font,"center","top");m=1.3*x.width,y=1.3*x.height,g=Math.max(g,m,7),v=Math.max(v,y,7)}var _=g/f,w=v/p;isNaN(_)&&(_=1/0),isNaN(w)&&(w=1/0);var b=Math.max(0,Math.floor(Math.min(_,w))),S=h(t.model),M=S.lastAutoInterval,A=S.lastTickCount;return null!=M&&null!=A&&Math.abs(M-b)<=1&&Math.abs(A-l)<=1&&M>b?b=M:(S.lastTickCount=l,S.lastAutoInterval=b),b}},SlE6:function(t,e,i){var n=i("tzpD"),r=n.prepareDataCoordInfo,a=n.getStackedOnPoint;t.exports=function(t,e,i,n,o,s,l,u){for(var h=function(t,e){var i=[];return e.diff(t).add(function(t){i.push({cmd:"+",idx:t})}).update(function(t,e){i.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){i.push({cmd:"-",idx:t})}).execute(),i}(t,e),c=[],d=[],f=[],p=[],g=[],v=[],m=[],y=r(o,e,l),x=r(s,t,u),_=0;_u&&(i*=u/(o=i+n),n*=u/o),r+a>u&&(r*=u/(o=r+a),a*=u/o),n+r>h&&(n*=h/(o=n+r),r*=h/o),i+a>h&&(i*=h/(o=i+a),a*=h/o),t.moveTo(s+i,l),t.lineTo(s+u-n,l),0!==n&&t.arc(s+u-n,l+n,n,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+a,l+h),0!==a&&t.arc(s+a,l+h-a,a,Math.PI/2,Math.PI),t.lineTo(s,l+i),0!==i&&t.arc(s+i,l+i,i,Math.PI,1.5*Math.PI)}},TCXJ:function(t,e,i){var n=i("Icdr").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},TIfe: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,r=t.offsetY,a=i-this._x,o=r-this._y;this._x=i,this._y=r,e.drift(a,o,t),this.dispatchToElement(n(e,t),"drag",t.event);var s=this.findHover(i,r,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 r=i;t.exports=r},TQ3y:function(t,e,i){var n=i("blYT"),r="object"==typeof self&&self&&self.Object===Object&&self,a=n||r||Function("return this")();t.exports=a},UAiw:function(t,e,i){var n=i("qjvV");e.Dispatcher=n;var r=i("YNzw"),a=i("6NQ8").buildTransformer,o="undefined"!=typeof window&&!!window.addEventListener,s=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,l="___zrEVENTSAVED",u=[];function h(t,e,i,n){return i=i||{},n||!r.canvasSupported?c(t,e,i):r.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e.offsetX?(i.zrX=e.offsetX,i.zrY=e.offsetY):c(t,e,i),i}function c(t,e,i){if(t.getBoundingClientRect&&r.domSupported){var n=e.clientX,o=e.clientY;if("CANVAS"===t.nodeName.toUpperCase()){var s=t.getBoundingClientRect();return i.zrX=n-s.left,void(i.zrY=o-s.top)}var h=t[l]||(t[l]={}),c=function(t,e){for(var i=e.transformer,n=e.srcCoords,r=!0,o=[],s=[],l=0;l<4;l++){var u=t[l].getBoundingClientRect(),h=2*l,c=u.left,d=u.top;o.push(c,d),r&=n&&c===n[h]&&d===n[h+1],s.push(t[l].offsetLeft,t[l].offsetTop)}return r?i:(e.srcCoords=o,e.transformer=a(o,s))}(function(t,e){var i=e.markers;if(i)return i;i=e.markers=[];for(var n=["left","right"],r=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=o.style,l=a%2,u=(a>>1)%2;s.cssText=["position:absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","width:0","height:0",n[l]+":0",r[u]+":0",n[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(o),i.push(o)}return i}(t,h),h);if(c)return c(u,n,o),i.zrX=u[0],void(i.zrY=u[1])}i.zrX=i.zrY=0}var d=o?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};e.clientToLocal=h,e.normalizeEvent=function(t,e,i){if(null!=(e=e||window.event).zrX)return e;var n=e.type;if(n&&n.indexOf("touch")>=0){var r="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];r&&h(t,r,e,i)}else h(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var a=e.button;return null==e.which&&void 0!==a&&s.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e},e.addEventListener=function(t,e,i){o?t.addEventListener(e,i):t.attachEvent("on"+e,i)},e.removeEventListener=function(t,e,i){o?t.removeEventListener(e,i):t.detachEvent("on"+e,i)},e.stop=d,e.isMiddleOrRightButtonOnMouseUpDown=function(t){return 2===t.which||3===t.which},e.notLeftMouse=function(t){return t.which>1}},UkNE:function(t,e,i){var n=i("Icdr"),r=i("/gxq"),a=i("0sHC");i("5vFd"),i("zz1u"),n.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new a.Rect({shape:t.coordinateSystem.getRect(),style:r.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),n.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})},UnEC:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},V4nf:function(t,e,i){var n=i("/gxq"),r=i("UAiw").Dispatcher,a=i("a1Sp"),o=i("CCtz"),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,r.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;i=0?this._tryShow(i,n):"leave"===e&&this._hide(n))},this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&n.manuallyShowTip(t,e,i,{x:n._lastX,y:n._lastY})})}},manuallyShowTip:function(t,e,i,n){if(n.from!==this.uid&&!a.node){var r=M(n,i);this._ticket="";var o=n.dataByCoordSys;if(n.tooltip&&null!=n.x&&null!=n.y){var s=w;s.position=[n.x,n.y],s.update(),s.tooltip=n.tooltip,this._tryShow({offsetX:n.x,offsetY:n.y,target:s},r)}else if(o)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,event:{},dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},r);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,n))return;var l=c(n,e),u=l.point[0],h=l.point[1];null!=u&&null!=h&&this._tryShow({offsetX:u,offsetY:h,position:n.position,target:l.el,event:{}},r)}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:{}},r))}},manuallyHideTip:function(t,e,i,n){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(M(n,i))},_manuallyAxisShowTip:function(t,e,i,n){var r=n.seriesIndex,a=n.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=a&&null!=o){var s=e.getSeriesByIndex(r);if(s)if("axis"===(t=S([s.getData().getItemModel(a),s,(s.coordinateSystem||{}).model,t])).get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:a,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=r.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,a=[e.offsetX,e.offsetY],o=[],s=[],u=S([e.tooltipOption,n]),h=this._renderMode,c=this._newLine,d={};x(t,function(t){x(t.dataByAxis,function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),n=t.value,a=[];if(e&&null!=n){var u=v.getValueLabel(n,e.axis,i,t.seriesDataIndices,t.valueLabelOpt);r.each(t.seriesDataIndices,function(o){var l=i.getSeriesByIndex(o.seriesIndex),c=o.dataIndexInside,f=l&&l.getDataParams(c);if(f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=g.getAxisRawValue(e.axis,n),f.axisValueLabel=u,f){s.push(f);var p,v=l.formatTooltip(c,!0,null,h);if(r.isObject(v)){p=v.html;var m=v.markers;r.merge(d,m)}else p=v;a.push(p)}});var f=u;"html"!==h?o.push(a.join(c)):o.push((f?l.encodeHTML(f)+c:"")+a.join(c))}})},this),o.reverse(),o=o.join(this._newLine+this._newLine);var f=e.position;this._showOrMove(u,function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,f,a[0],a[1],this._tooltipContent,s):this._showTooltipContent(u,o,s,Math.random(),a[0],a[1],f,void 0,d)})},_showSeriesItemTooltip:function(t,e,i){var n=this._ecModel,a=e.seriesIndex,o=n.getSeriesByIndex(a),s=e.dataModel||o,l=e.dataIndex,u=e.dataType,h=s.getData(),c=S([h.getItemModel(l),s,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),d=c.get("trigger");if(null==d||"item"===d){var f,p,g=s.getDataParams(l,u),v=s.formatTooltip(l,!1,u,this._renderMode);r.isObject(v)?(f=v.html,p=v.markers):(f=v,p=null);var m="item_"+s.name+"_"+l;this._showOrMove(c,function(){this._showTooltipContent(c,f,g,m,t.offsetX,t.offsetY,t.position,t.target,p)}),i({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:a,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var n=e.tooltip;if("string"==typeof n){n={content:n,formatter:n}}var r=new f(n,this._tooltipModel,this._ecModel),a=r.get("content"),o=Math.random();this._showOrMove(r,function(){this._showTooltipContent(r,a,r.get("formatterParams")||{},o,t.offsetX,t.offsetY,t.position,e)}),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,n,r,a,o,s,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var h=this._tooltipContent,c=t.get("formatter");o=o||t.get("position");var d=e;if(c&&"string"==typeof c)d=l.formatTpl(c,i,!0);else if("function"==typeof c){var f=y(function(e,n){e===this._ticket&&(h.setContent(n,u,t),this._updatePosition(t,o,r,a,h,i,s))},this);this._ticket=n,d=c(i,n,f)}h.setContent(d,u,t),h.show(t),this._updatePosition(t,o,r,a,h,i,s)}},_updatePosition:function(t,e,i,n,a,o,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var h=a.getSize(),c=t.get("align"),f=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"==typeof e&&(e=e([i,n],o,a.el,p,{viewSize:[l,u],contentSize:h.slice()})),r.isArray(e))i=_(e[0],l),n=_(e[1],u);else if(r.isObject(e)){e.width=h[0],e.height=h[1];var g=d.getLayoutRect(e,{width:l,height:u});i=g.x,n=g.y,c=null,f=null}else if("string"==typeof e&&s){var v=function(t,e,i){var n=i[0],r=i[1],a=0,o=0,s=e.width,l=e.height;switch(t){case"inside":a=e.x+s/2-n/2,o=e.y+l/2-r/2;break;case"top":a=e.x+s/2-n/2,o=e.y-r-5;break;case"bottom":a=e.x+s/2-n/2,o=e.y+l+5;break;case"left":a=e.x-n-5,o=e.y+l/2-r/2;break;case"right":a=e.x+s+5,o=e.y+l/2-r/2}return[a,o]}(e,p,h);i=v[0],n=v[1]}else{v=function(t,e,i,n,r,a,o){var s=i.getOuterSize(),l=s.width,u=s.height;null!=a&&(t+l+a>n?t-=l+a:t+=a);null!=o&&(e+u+o>r?e-=u+o:e+=o);return[t,e]}(i,n,a,l,u,c?null:20,f?null:20);i=v[0],n=v[1]}if(c&&(i-=A(c)?h[0]/2:"right"===c?h[0]:0),f&&(n-=A(f)?h[1]/2:"bottom"===f?h[1]:0),t.get("confine")){v=function(t,e,i,n,r){var a=i.getOuterSize(),o=a.width,s=a.height;return t=Math.min(t+o,n)-o,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(i,n,a,l,u);i=v[0],n=v[1]}a.moveTo(i,n)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e.length===t.length;return i&&x(e,function(e,n){var r=e.dataByAxis||{},a=(t[n]||{}).dataByAxis||[];(i&=r.length===a.length)&&x(r,function(t,e){var n=a[e]||{},r=t.seriesDataIndices||[],o=n.seriesDataIndices||[];(i&=t.value===n.value&&t.axisType===n.axisType&&t.axisId===n.axisId&&r.length===o.length)&&x(r,function(t,e){var n=o[e];i&=t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})})}),this._lastDataByCoordSys=t,!!i},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){a.node||(this._tooltipContent.hide(),p.unregister("itemTooltip",e))}});function S(t){for(var e=t.pop();t.length;){var i=t.pop();i&&(f.isInstance(i)&&(i=i.get("tooltip",!0)),"string"==typeof i&&(i={formatter:i}),e=new f(i,e,e.ecModel))}return e}function M(t,e){return t.dispatchAction||r.bind(e.dispatchAction,e)}function A(t){return"center"===t||"middle"===t}t.exports=b},XRkS:function(t,e,i){var n=i("Icdr"),r=i("/gxq");t.exports=function(t,e){r.each(e,function(e){e.update="updateView",n.registerAction(e,function(i,n){var r={};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);r[i]=t.isSelected(i)||!1})}),{name:i.name,selected:r,seriesId:i.seriesId}})})}},Xd32:function(t,e,i){i("+tPU"),i("zQR9"),t.exports=i("5PlU")},XhgW:function(t,e,i){var n=i("3h1/"),r=Math.PI/180;function a(t,e,i,n,r,a,o){function s(e,i,n,r){for(var a=e;ae&&a+1t[a].y+t[a].height)return void l(a,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,r,a){for(var o=e?Number.MAX_VALUE:0,s=0,l=t.length;s=o&&(d=o-10),!e&&d<=o&&(d=o+10),t[s].x=i+d*a,o=d}}t.sort(function(t,e){return t.y-e.y});for(var h,c=0,d=t.length,f=[],p=[],g=0;g=i?p.push(t[g]):f.push(t[g]);u(f,!1,e,i,n,r),u(p,!0,e,i,n,r)}function o(t){return"center"===t.position}t.exports=function(t,e,i,s,l){var u,h,c=t.getData(),d=[],f=!1,p=(t.get("minShowLabelAngle")||0)*r;c.each(function(i){var r=c.getItemLayout(i),a=c.getItemModel(i),o=a.getModel("label"),s=o.get("position")||a.get("emphasis.label.position"),l=a.getModel("labelLine"),g=l.get("length"),v=l.get("length2");if(!(r.angle0?"left":"right"}var k,P=o.getFont(),O=o.get("rotate");k="number"==typeof O?O*(Math.PI/180):O?b<0?-w+Math.PI:-w:0;var L=t.getFormattedLabel(i,"normal")||c.getName(i),R=n.getBoundingRect(L,P,_,"top");f=!!k,r.label={x:m,y:y,position:s,height:R.height,len:g,len2:v,linePoints:x,textAlign:_,verticalAlign:"middle",rotation:k,inside:M},M||d.push(r.label)}}),!f&&t.get("avoidLabelOverlap")&&function(t,e,i,n,r,s){for(var l=[],u=[],h=0;h=0;o--)a=n.merge(a,e[o],!0);t.defaultOption=a}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});s(f,{registerWhenExtend:!0}),a.enableSubTypeDefaulter(f),a.enableTopologicalTravel(f,function(t){var e=[];n.each(f.getClassesByMainType(t),function(t){e=e.concat(t.prototype.dependencies||[])}),e=n.map(e,function(t){return l(t).main}),"dataset"!==t&&n.indexOf(e,"dataset")<=0&&e.unshift("dataset");return e}),n.mixin(f,c);var p=f;t.exports=p},YNzw:function(t,e){var i="object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"==typeof document&&"undefined"!=typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"==typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:function(t){var e={},i=t.match(/Firefox\/([\d.]+)/),n=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),r=t.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(e.firefox=!0,e.version=i[1]);n&&(e.ie=!0,e.version=n[1]);r&&(e.edge=!0,e.version=r[1]);a&&(e.weChat=!0);return{browser:e,os:{},node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!e.ie&&!e.edge,pointerEventsSupported:"onpointerdown"in window&&(e.edge||e.ie&&e.version>=11),domSupported:"undefined"!=typeof document}}(navigator.userAgent);t.exports=i},Ylhr:function(t,e,i){var n=i("/gxq").each,r=i("AlhT"),a=i("h0jU"),o=i("BNYN"),s=i("vXqC"),l=i("0sHC"),u=i("gV7x").createTask,h=i("CqCN"),c=s.makeInner(),d=h();function f(){this.group=new r,this.uid=a.getUID("viewChart"),this.renderTask=u({plan:m,reset:y}),this.renderTask.context={view:this}}f.prototype={type:"chart",init:function(t,e){},render:function(t,e,i,n){},highlight:function(t,e,i,n){v(t.getData(),n,"emphasis")},downplay:function(t,e,i,n){v(t.getData(),n,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var p=f.prototype;function g(t,e,i){if(t&&(t.trigger(e,i),t.isGroup&&!l.isHighDownDispatcher(t)))for(var n=0,r=t.childCount();nn)return!1;return!0}(s,e))){var l=e.mapDimension(s.dim),u={};return n.each(s.getViewLabels(),function(t){u[t.tickValue]=1}),function(t){return!u.hasOwnProperty(e.get(l,t))}}}}function S(t,e,i){if("cartesian2d"===t.type){var n=t.getBaseAxis().isHorizontal(),r=m(t,e,i);if(!i.get("clip",!0)){var a=r.shape,o=Math.max(a.width,a.height);n?(a.y-=o,a.height+=2*o):(a.x-=o,a.width+=2*o)}return r}return y(t,e,i)}var M=d.extend({type:"line",init:function(){var t=new s.Group,e=new r;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,i){var r=t.coordinateSystem,a=this.group,o=t.getData(),l=t.getModel("lineStyle"),u=t.getModel("areaStyle"),h=o.mapArray(o.getItemLayout),c="polar"===r.type,d=this._coordSys,f=this._symbolDraw,v=this._polyline,m=this._polygon,y=this._lineGroup,M=t.get("animation"),A=!u.isEmpty(),T=u.get("origin"),C=function(t,e,i){if(!i.valueDim)return[];for(var n=[],r=0,a=e.count();r=0;o--){var l=i[o].dimension,u=t.dimensions[l],h=t.getDimensionInfo(u);if("x"===(r=h&&h.coordDim)||"y"===r){a=i[o];break}}if(a){var c=e.getAxis(r),d=n.map(a.stops,function(t){return{coord:c.toGlobalCoord(c.dataToCoord(t.value)),color:t.color}}),f=d.length,p=a.outerColors.slice();f&&d[0].coord>d[f-1].coord&&(d.reverse(),p.reverse());var g=d[0].coord-10,v=d[f-1].coord+10,m=v-g;if(m<.001)return"transparent";n.each(d,function(t){t.offset=(t.coord-g)/m}),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var y=new s.LinearGradient(0,0,0,0,d,!0);return y[r]=g,y[r+"2"]=v,y}}}(o,r)||o.getVisual("color");v.useStyle(n.defaults(l.getLineStyle(),{fill:"none",stroke:L,lineJoin:"bevel"}));var R=t.get("smooth");if(R=_(t.get("smooth")),v.setShape({smooth:R,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),m){var E=o.getCalculationInfo("stackedOnSeries"),z=0;m.useStyle(n.defaults(u.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel"})),E&&(z=_(E.get("smooth"))),m.setShape({smooth:R,stackedOnSmooth:z,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=o,this._coordSys=r,this._stackedOnPoints=C,this._points=h,this._step=O,this._valueOrigin=T},dispose:function(){},highlight:function(t,e,i,n){var r=t.getData(),o=l.queryDataIndex(r,n);if(!(o instanceof Array)&&null!=o&&o>=0){var s=r.getItemGraphicEl(o);if(!s){var u=r.getItemLayout(o);if(!u)return;(s=new a(r,o)).position=u,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(u[0])||isNaN(u[1]),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else d.prototype.highlight.call(this,t,e,i,n)},downplay:function(t,e,i,n){var r=t.getData(),a=l.queryDataIndex(r,n);if(null!=a&&a>=0){var o=r.getItemGraphicEl(a);o&&(o.__temp?(r.setItemGraphicEl(a,null),this.group.remove(o)):o.downplay())}else d.prototype.downplay.call(this,t,e,i,n)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new h({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new c({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_updateAnimation:function(t,e,i,n,r,a){var l=this._polyline,u=this._polygon,h=t.hostModel,c=o(this._data,t,this._stackedOnPoints,e,this._coordSys,i,this._valueOrigin,a),d=c.current,f=c.stackedOnCurrent,p=c.next,g=c.stackedOnNext;r&&(d=w(c.current,i,r),f=w(c.stackedOnCurrent,i,r),p=w(c.next,i,r),g=w(c.stackedOnNext,i,r)),l.shape.__points=c.current,l.shape.points=d,s.updateProps(l,{shape:{points:p}},h),u&&(u.setShape({points:d,stackedOnPoints:f}),s.updateProps(u,{shape:{points:p,stackedOnPoints:g}},h));for(var v=[],m=c.status,y=0;y0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,i){for(var n=("radial"===e.type?l:s)(t,e,i),r=e.colorStops,a=0;ai&&(s=i);var l=d.length,c=function(t,e,i,n){for(;i>>1;t[r][1]1&&(h*=o(_),f*=o(_));var w=(r===a?-1:1)*o((h*h*(f*f)-h*h*(x*x)-f*f*(y*y))/(h*h*(x*x)+f*f*(y*y)))||0,b=w*h*x/f,S=w*-f*y/h,M=(t+i)/2+l(m)*b-s(m)*S,A=(e+n)/2+s(m)*b+l(m)*S,T=d([1,0],[(y-b)/h,(x-S)/f]),C=[(y-b)/h,(x-S)/f],I=[(-1*y-b)/h,(-1*x-S)/f],D=d(C,I);c(C,I)<=-1&&(D=u),c(C,I)>=1&&(D=0),0===a&&D>0&&(D-=2*u),1===a&&D<0&&(D+=2*u),v.addData(g,M,A,h,f,T,D,m,a)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function v(t,e){var i=function(t){if(!t)return new r;for(var e,i=0,n=0,a=i,o=n,s=new r,l=r.CMD,u=t.match(p),h=0;h=11?function(){var e,i=this.__clipPaths,n=this.style;if(i)for(var a=0;a=0&&l<0)&&(o=g,l=p,r=h,a.length=0),s(c,function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:a,snapToValue:r}}(e,t),u=l.payloadBatch,h=l.snapToValue;u[0]&&null==a.seriesIndex&&n.extend(a,u[0]),!r&&t.snap&&o.containData(h)&&null!=h&&(e=h),i.showPointer(t,e,u,a),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 r=i.payloadBatch,o=e.axis,s=o.model,l=e.axisPointerModel;if(e.triggerTooltip&&r.length){var u=e.coordSys.model,h=a.makeKey(u),c=t.map[h];c||(c=t.map[h]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:n,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:r.slice()})}}function f(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=e.componentIndex,i.axisName=i[n+"AxisName"]=e.name,i.axisId=i[n+"AxisId"]=e.id,i}function p(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=function(t,e,i){var r=t.currTrigger,a=[t.x,t.y],g=t,v=t.dispatchAction||n.bind(i.dispatchAction,i),m=e.getComponent("axisPointer").coordSysAxesInfo;if(m){p(a)&&(a=o({seriesIndex:g.seriesIndex,dataIndex:g.dataIndex},e).point);var y=p(a),x=g.axesInfo,_=m.axesInfo,w="leave"===r||p(a),b={},S={},M={list:[],map:{}},A={showPointer:l(c,S),showTooltip:l(d,M)};s(m.coordSysMap,function(t,e){var i=y||t.containPoint(a);s(m.coordSysAxesInfo[e],function(t,e){var n=t.axis,r=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(!w&&i&&(!x||r)){var o=r&&r.value;null!=o||y||(o=n.pointToData(a)),null!=o&&h(t,o,A,!1,b)}})});var T={};return s(_,function(t,e){var i=t.linkGroup;i&&!S[e]&&s(i.axesInfo,function(e,n){var r=S[n];if(e!==t&&r){var a=r.value;i.mapper&&(a=t.axis.scale.parse(i.mapper(a,f(e),f(t)))),T[t.key]=a}})}),s(T,function(t,e){h(_[e],t,A,!0,b)}),function(t,e,i){var n=i.axesInfo=[];s(e,function(e,i){var r=e.axisPointerModel.option,a=t[i];a?(!e.useHandle&&(r.status="show"),r.value=a.value,r.seriesDataIndices=(a.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&n.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})})}(S,_,b),function(t,e,i,n){if(!p(e)&&t.list.length){var r=((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:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else n({type:"hideTip"})}(M,a,t,v),function(t,e,i){var r=i.getZr(),a=u(r).axisPointerLastHighlights||{},o=u(r).axisPointerLastHighlights={};s(t,function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&s(i.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;o[e]=t})});var l=[],h=[];n.each(a,function(t,e){!o[e]&&h.push(t)}),n.each(o,function(t,e){!a[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),b}}},"e8/X":function(t,e,i){var n=i("UAiw"),r=n.addEventListener,a=n.removeEventListener,o=n.normalizeEvent,s=i("/gxq"),l=i("qjvV"),u=i("YNzw"),h=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],c=["touchstart","touchend","touchmove"],d={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},f=s.map(h,function(t){var e=t.replace("mouse","pointer");return d[e]?e:t});function p(t){return"mousewheel"===t&&u.browser.firefox?"DOMMouseScroll":t}function g(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=setTimeout(function(){t._touching=!1},700)}var v={mousemove:function(t){t=o(this.dom,t),this.trigger("mousemove",t)},mouseout:function(t){var e=(t=o(this.dom,t)).toElement||t.relatedTarget;if(e!==this.dom)for(;e&&9!==e.nodeType;){if(e===this.dom)return;e=e.parentNode}this.trigger("mouseout",t)},touchstart:function(t){(t=o(this.dom,t)).zrByTouch=!0,this._lastTouchMoment=new Date,this.handler.processGesture(this,t,"start"),v.mousemove.call(this,t),v.mousedown.call(this,t),g(this)},touchmove:function(t){(t=o(this.dom,t)).zrByTouch=!0,this.handler.processGesture(this,t,"change"),v.mousemove.call(this,t),g(this)},touchend:function(t){(t=o(this.dom,t)).zrByTouch=!0,this.handler.processGesture(this,t,"end"),v.mouseup.call(this,t),+new Date-this._lastTouchMoment<300&&v.click.call(this,t),g(this)},pointerdown:function(t){v.mousedown.call(this,t)},pointermove:function(t){m(t)||v.mousemove.call(this,t)},pointerup:function(t){v.mouseup.call(this,t)},pointerout:function(t){m(t)||v.mouseout.call(this,t)}};function m(t){var e=t.pointerType;return"pen"===e||"touch"===e}function y(t){var e;function i(e,i){s.each(e,function(e){r(t,p(e),i._handlers[e])},i)}l.call(this),this.dom=t,this._touching=!1,this._touchTimer,this._handlers={},e=this,s.each(c,function(t){e._handlers[t]=s.bind(v[t],e)}),s.each(f,function(t){e._handlers[t]=s.bind(v[t],e)}),s.each(h,function(t){e._handlers[t]=function(t,e){return function(){if(!e._touching)return t.apply(e,arguments)}}(v[t],e)}),u.pointerEventsSupported?i(f,this):(u.touchEventsSupported&&i(c,this),i(h,this))}s.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){v[t]=function(e){e=o(this.dom,e),this.trigger(t,e)}});var x=y.prototype;x.dispose=function(){for(var t=h.concat(c),e=0;e=e:"max"===i?t<=e:t===e})(r[o],t,n)||(a=!1)}}),a}c.prototype={constructor:c,setOption:function(t,e){t&&n.each(r.normalizeToArray(t.series),function(t){t&&t.data&&n.isTypedArray(t.data)&&n.setAsPrimitive(t.data)}),t=s(t);var i,h,c=this._optionBackup,d=function(t,e,i){var r,a,s=[],l=[],u=t.timeline;t.baseOption&&(a=t.baseOption);(u||t.options)&&(a=a||{},s=(t.options||[]).slice());if(t.media){a=a||{};var h=t.media;o(h,function(t){t&&t.option&&(t.query?l.push(t):r||(r=t))})}a||(a=t);a.timeline||(a.timeline=u);return o([a].concat(s).concat(n.map(l,function(t){return t.option})),function(t){o(e,function(e){e(t,i)})}),{baseOption:a,timelineOptions:s,mediaDefault:r,mediaList:l}}.call(this,t,e,!c);this._newBaseOption=d.baseOption,c?(i=c.baseOption,h=d.baseOption,o(h=h||{},function(t,e){if(null!=t){var n=i[e];if(a.hasClass(e)){t=r.normalizeToArray(t),n=r.normalizeToArray(n);var o=r.mappingToExists(n,t);i[e]=l(o,function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option})}else i[e]=u(n,t,!0)}}),d.timelineOptions.length&&(c.timelineOptions=d.timelineOptions),d.mediaList.length&&(c.mediaList=d.mediaList),d.mediaDefault&&(c.mediaDefault=d.mediaDefault)):this._optionBackup=d},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,i=this._timelineOptions;if(i.length){var n=t.getComponent("timeline");n&&(e=s(i[n.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e,i,n=this._api.getWidth(),r=this._api.getHeight(),a=this._mediaList,o=this._mediaDefault,u=[],h=[];if(!a.length&&!o)return h;for(var c=0,f=a.length;c=0;p--){var g=t[p];if(s||(c=g.data.rawIndexOf(g.stackedByDimension,h)),c>=0){var v=g.data.getByRawIndex(g.stackResultDimension,c);if(d>=0&&v>0||d<=0&&v<0){d+=v,f=v;break}}}return n[0]=d,n[1]=f,n});o.hostModel.setData(l),e.data=l})}t.exports=function(t){var e=r();t.eachSeries(function(t){var i=t.get("stack");if(i){var n=e.get(i)||e.set(i,[]),r=t.getData(),a={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!a.stackedDimension||!a.isStackedByIndex&&!a.stackedByDimension)return;n.length&&r.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(a)}}),e.each(o)}},fgF4:function(t,e,i){var n=i("RYbJ")([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),r={getAreaStyle:function(t,e){return n(this,t,e)}};t.exports=r},fxRn:function(t,e,i){i("+tPU"),i("zQR9"),t.exports=i("g8Ux")},"g+yZ":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},g8Ux:function(t,e,i){var n=i("77Pl"),r=i("3fs2");t.exports=i("FeBl").getIterator=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return n(e.call(t))}},gApy:function(t,e,i){var n,r,a=i("i4uy"),o=i("MAlW"),s=0,l=0;t.exports=function(t,e,i){var u=e&&i||0,h=e||[],c=(t=t||{}).node||n,d=void 0!==t.clockseq?t.clockseq:r;if(null==c||null==d){var f=a();null==c&&(c=n=[1|f[0],f[1],f[2],f[3],f[4],f[5]]),null==d&&(d=r=16383&(f[6]<<8|f[7]))}var p=void 0!==t.msecs?t.msecs:(new Date).getTime(),g=void 0!==t.nsecs?t.nsecs:l+1,v=p-s+(g-l)/1e4;if(v<0&&void 0===t.clockseq&&(d=d+1&16383),(v<0||p>s)&&void 0===t.nsecs&&(g=0),g>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=p,l=g,r=d;var m=(1e4*(268435455&(p+=122192928e5))+g)%4294967296;h[u++]=m>>>24&255,h[u++]=m>>>16&255,h[u++]=m>>>8&255,h[u++]=255&m;var y=p/4294967296*1e4&268435455;h[u++]=y>>>8&255,h[u++]=255&y,h[u++]=y>>>24&15|16,h[u++]=y>>>16&255,h[u++]=d>>>8|128,h[u++]=255&d;for(var x=0;x<6;++x)h[u+x]=c[x];return e||o(h)}},gAsd:function(t,e,i){i("G5/o");var n=i("FeBl").Object;t.exports=function(t){return n.getOwnPropertyNames(t)}},gV7x:function(t,e,i){var n=i("/gxq"),r=(n.assert,n.isArray);i("4Nz2").__DEV__;function a(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}var o=a.prototype;o.perform=function(t){var e,i=this._upstream,n=t&&t.skip;if(this._dirty&&i){var a=this.context;a.data=a.outputData=i.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!n&&(e=this._plan(this.context));var o,s=d(this._modBy),u=this._modDataCount||0,h=d(t&&t.modBy),c=t&&t.modDataCount||0;function d(t){return!(t>=1)&&(t=1),t}s===h&&u===c||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=function(t,e){var i,n;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&((i=t._reset(t.context))&&i.progress&&(n=i.forceFirstProgress,i=i.progress),r(i)&&!i.length&&(i=null));t._progress=i,t._modBy=t._modDataCount=null;var a=t._downstream;return a&&a.dirty(),n}(this,n)),this._modBy=h,this._modDataCount=c;var f=t&&t.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,g=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!n&&(o||p1&&n>0?s:o}};return a;function o(){return e=t?null:a=0&&i.push(t)}),i}(s.originalDeps=e(o),t);s.entryCount=l.length,0===s.entryCount&&a.push(o),n.each(l,function(t){n.indexOf(s.predecessor,t)<0&&s.predecessor.push(t);var e=i(r,t);n.indexOf(e.successor,t)<0&&e.successor.push(o)})}),{graph:r,noEntryList:a}}(r),l=s.graph,u=s.noEntryList,h={};for(n.each(t,function(t){h[t]=!0});u.length;){var c=u.pop(),d=l[c],f=!!h[c];f&&(a.call(o,c,d.originalDeps.slice()),delete h[c]),n.each(d.successor,f?g:p)}n.each(h,function(){throw new Error("Circle dependency may exists")})}function p(t){l[t].entryCount--,0===l[t].entryCount&&u.push(t)}function g(t){h[t]=!0,p(t)}}}},"hcq/":function(t,e,i){var n=i("/n1K");t.exports=function(t,e){return n((e=e||{}).coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}},hv2j:function(t,e,i){var n=i("RiVu"),r=i("YNzw"),a=i("/gxq"),o=i("lj6Z"),s=i("9N6q"),l=i("I0Vc"),u=i("V4nf"),h=i("e8/X"),c=!r.canvasSupported,d={canvas:l},f={};var p=function(t,e,i){i=i||{},this.dom=e,this.id=t;var n=this,l=new s,f=i.renderer;if(c){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");f="vml"}else f&&d[f]||(f="canvas");var p=new d[f](e,l,i,t);this.storage=l,this.painter=p;var g=r.node||r.worker?null:new h(p.getViewportRoot());this.handler=new o(l,p,g,p.root),this.animation=new u({stage:{update:a.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var v=l.delFromStorage,m=l.addToStorage;l.delFromStorage=function(t){v.call(l,t),t&&t.removeSelfFromZr(n)},l.addToStorage=function(t){m.call(l,t),t.addSelfToZr(n)}};p.prototype={constructor:p,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this._needsRefresh=!0},setBackgroundColor:function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var t;this._needsRefresh&&(t=!0,this.refreshImmediately()),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately()),t&&this.trigger("rendered")},addHover:function(t,e){if(this.painter.addHover){var i=this.painter.addHover(t,e);return this.refreshHover(),i}},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e){return this.painter.pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},findHover:function(t,e){return this.handler.findHover(t,e)},on:function(t,e,i){this.handler.on(t,e,i)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler.trigger(t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,t=this.id,delete f[t]}},e.version="4.1.1",e.init=function(t,e){var i=new p(n(),t,e);return f[i.id]=i,i},e.dispose=function(t){if(t)t.dispose();else{for(var e in f)f.hasOwnProperty(e)&&f[e].dispose();f={}}return this},e.getInstance=function(t){return f[t]},e.registerPainter=function(t,e){d[t]=e}},i4uy:function(t,e){var i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(i){var n=new Uint8Array(16);t.exports=function(){return i(n),n}}else{var r=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),r[e]=t>>>((3&e)<<3)&255;return r}}},iGPw:function(t,e,i){var n=i("/gxq"),r=n.createHashMap,a=n.isObject,o=n.map;function s(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}s.createByAxisModel=function(t){var e=t.option,i=e.data,n=i&&o(i,h);return new s({categories:n,needCollect:!n,deduplication:!1!==e.dedplication})};var l=s.prototype;function u(t){return t._map||(t._map=r(t.categories))}function h(t){return a(t)&&null!=t.value?t.value:t+""}l.getOrdinal=function(t){return u(this).get(t)},l.parseAndCollect=function(t){var e,i=this._needCollect;if("string"!=typeof t&&!i)return t;if(i&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var n=u(this);return null==(e=n.get(t))&&(i?(e=this.categories.length,this.categories[e]=t,n.set(t,e)):e=NaN),e};var c=s;t.exports=c},iNHu:function(t,e,i){var n=i("hv2j");e.zrender=n;var r=i("dOVI");e.matrix=r;var a=i("C7PF");e.vector=a;var o=i("/gxq"),s=i("DRaW");e.color=s;var l=i("0sHC"),u=i("wWR3");e.number=u;var h=i("HHfb");e.format=h;var c=i("QD+P");c.throttle;e.throttle=c.throttle;var d=i("5QRV");e.helper=d;var f=i("Axyt");e.parseGeoJSON=f;var p=i("Rfu2");e.List=p;var g=i("Pdtn");e.Model=g;var v=i("2HcM");e.Axis=v;var m=i("YNzw");e.env=m;var y=f,x={};o.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(t){x[t]=o[t]});var _={};o.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(t){_[t]=l[t]}),e.parseGeoJson=y,e.util=x,e.graphic=_},jDhh:function(t,e,i){var n=i("AlhT"),r=i("MAom"),a=i("/86O"),o=i("Of86"),s=i("PD67"),l=i("udrn"),u=i("KsMi"),h=i("GxVO"),c=i("+UTs"),d=i("BeCT"),f=i("Gw4f"),p=i("d8Tt"),g=i("dOVI"),v=i("dE09").createFromString,m=i("/gxq"),y=m.isString,x=m.extend,_=m.defaults,w=m.trim,b=m.each,S=/[\s,]+/;function M(t){y(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));for(9===t.nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}function A(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}A.prototype.parse=function(t,e){e=e||{};var i=M(t);if(!i)throw new Error("Illegal svg");var r=new n;this._root=r;var a=i.getAttribute("viewBox")||"",o=parseFloat(i.getAttribute("width")||e.width),l=parseFloat(i.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(l)&&(l=null),P(i,r,null,!0);for(var u,h,c=i.firstChild;c;)this._parseNode(c,r),c=c.nextSibling;if(a){var d=w(a).split(S);d.length>=4&&(u={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(u&&null!=o&&null!=l&&(h=z(u,o,l),!e.ignoreViewBox)){var f=r;(r=new n).add(f),f.scale=h.scale.slice(),f.position=h.position.slice()}return e.ignoreRootClip||null==o||null==l||r.setClipPath(new s({shape:{x:0,y:0,width:o,height:l}})),{root:r,width:o,height:l,viewBoxRect:u,viewBoxTransform:h}},A.prototype._parseNode=function(t,e){var i,n,r=t.nodeName.toLowerCase();if("defs"===r?this._isDefine=!0:"text"===r&&(this._isText=!0),this._isDefine){if(n=C[r]){var a=n.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=a)}}else(n=T[r])&&(i=n.call(this,t,e),e.add(i));for(var s=t.firstChild;s;)1===s.nodeType&&this._parseNode(s,i),3===s.nodeType&&this._isText&&this._parseText(s,i),s=s.nextSibling;"defs"===r?this._isDefine=!1:"text"===r&&(this._isText=!1)},A.prototype._parseText=function(t,e){if(1===t.nodeType){var i=t.getAttribute("dx")||0,n=t.getAttribute("dy")||0;this._textX+=parseFloat(i),this._textY+=parseFloat(n)}var r=new a({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});I(e,r),P(t,r,this._defs);var o=r.style.fontSize;o&&o<9&&(r.style.fontSize=9,r.scale=r.scale||[1,1],r.scale[0]*=o/9,r.scale[1]*=o/9);var s=r.getBoundingRect();return this._textX+=s.width,e.add(r),r};var T={g:function(t,e){var i=new n;return I(e,i),P(t,i,this._defs),i},rect:function(t,e){var i=new s;return I(e,i),P(t,i,this._defs),i.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),i},circle:function(t,e){var i=new o;return I(e,i),P(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),i},line:function(t,e){var i=new u;return I(e,i),P(t,i,this._defs),i.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),i},ellipse:function(t,e){var i=new l;return I(e,i),P(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),i},polygon:function(t,e){var i=t.getAttribute("points");i&&(i=D(i));var n=new c({shape:{points:i||[]}});return I(e,n),P(t,n,this._defs),n},polyline:function(t,e){var i=new h;I(e,i),P(t,i,this._defs);var n=t.getAttribute("points");return n&&(n=D(n)),new d({shape:{points:n||[]}})},image:function(t,e){var i=new r;return I(e,i),P(t,i,this._defs),i.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),i},text:function(t,e){var i=t.getAttribute("x")||0,r=t.getAttribute("y")||0,a=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(a),this._textY=parseFloat(r)+parseFloat(o);var s=new n;return I(e,s),P(t,s,this._defs),s},tspan:function(t,e){var i=t.getAttribute("x"),r=t.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=r&&(this._textY=parseFloat(r));var a=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0,s=new n;return I(e,s),P(t,s,this._defs),this._textX+=a,this._textY+=o,s},path:function(t,e){var i=t.getAttribute("d")||"",n=v(i);return I(e,n),P(t,n,this._defs),n}},C={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),i=parseInt(t.getAttribute("y1")||0,10),n=parseInt(t.getAttribute("x2")||10,10),r=parseInt(t.getAttribute("y2")||0,10),a=new f(e,i,n,r);return function(t,e){var i=t.firstChild;for(;i;){if(1===i.nodeType){var n=i.getAttribute("offset");n=n.indexOf("%")>0?parseInt(n,10)/100:n?parseFloat(n):0;var r=i.getAttribute("stop-color")||"#000000";e.addColorStop(n,r)}i=i.nextSibling}}(t,a),a},radialgradient:function(t){}};function I(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),_(e.__inheritedStyle,t.__inheritedStyle))}function D(t){for(var e=w(t).split(S),i=[],n=0;n0;a-=2){var o=r[a],s=r[a-1];switch(n=n||g.create(),s){case"translate":o=w(o).split(S),g.translate(n,n,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=w(o).split(S),g.scale(n,n,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=w(o).split(S),g.rotate(n,n,parseFloat(o[0]));break;case"skew":o=w(o).split(S),console.warn("Skew transform is not supported yet");break;case"matrix":var o=w(o).split(S);n[0]=parseFloat(o[0]),n[1]=parseFloat(o[1]),n[2]=parseFloat(o[2]),n[3]=parseFloat(o[3]),n[4]=parseFloat(o[4]),n[5]=parseFloat(o[5])}}e.setLocalTransform(n)}}(t,e),x(r,function(t){var e=t.getAttribute("style"),i={};if(!e)return i;var n,r={};E.lastIndex=0;for(;null!=(n=E.exec(e));)r[n[1]]=n[2];for(var a in k)k.hasOwnProperty(a)&&null!=r[a]&&(i[k[a]]=r[a]);return i}(t)),!n))for(var o in k)if(k.hasOwnProperty(o)){var s=t.getAttribute(o);null!=s&&(r[k[o]]=s)}var l=a?"textFill":"fill",u=a?"textStroke":"stroke";e.style=e.style||new p;var h=e.style;null!=r.fill&&h.set(l,L(r.fill,i)),null!=r.stroke&&h.set(u,L(r.stroke,i)),b(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(t){var e="lineWidth"===t&&a?"textStrokeWidth":t;null!=r[t]&&h.set(e,parseFloat(r[t]))}),r.textBaseline&&"auto"!==r.textBaseline||(r.textBaseline="alphabetic"),"alphabetic"===r.textBaseline&&(r.textBaseline="bottom"),"start"===r.textAlign&&(r.textAlign="left"),"end"===r.textAlign&&(r.textAlign="right"),b(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(t){null!=r[t]&&h.set(t,r[t])}),r.lineDash&&(e.style.lineDash=w(r.lineDash).split(S)),h[u]&&"none"!==h[u]&&(e[u]=!0),e.__inheritedStyle=r}var O=/url\(\s*#(.*?)\)/;function L(t,e){var i=e&&t&&t.match(O);return i?e[w(i[1])]:t}var R=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;var E=/([^\s:;]+)\s*:\s*([^:;]+)/g;function z(t,e,i){var n=e/t.width,r=i/t.height,a=Math.min(n,r);return{scale:[a,a],position:[-(t.x+t.width/2)*a+e/2,-(t.y+t.height/2)*a+i/2]}}e.parseXML=M,e.makeViewBoxTransform=z,e.parseSVG=function(t,e){return(new A).parse(t,e)}},jHiU:function(t,e,i){var n=i("/gxq"),r=i("wRzc"),a=function(t,e,i,n,a){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==i?.5:i,this.type="radial",this.global=a||!1,r.call(this,n)};a.prototype={constructor:a},n.inherits(a,r);var o=a;t.exports=o},jMTz:function(t,e,i){i("4Nz2").__DEV__;var n=i("ao1T"),r=i("EJsE").extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return n(this.getSource(),this)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=r},kK7q:function(t,e,i){var n=i("/gxq"),r=i("0sHC"),a=i("8b51"),o=i("3h1/").calculateTextPosition,s=r.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=e.width/2,a=e.height/2;t.moveTo(i,n-a),t.lineTo(i+r,n+a),t.lineTo(i-r,n+a),t.closePath()}}),l=r.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=e.width/2,a=e.height/2;t.moveTo(i,n-a),t.lineTo(i+r,n),t.lineTo(i,n+a),t.lineTo(i-r,n),t.closePath()}}),u=r.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,n=e.y,r=e.width/5*3,a=Math.max(r,e.height),o=r/2,s=o*o/(a-o),l=n-a+o+s,u=Math.asin(s/o),h=Math.cos(u)*o,c=Math.sin(u),d=Math.cos(u),f=.6*o,p=.7*o;t.moveTo(i-h,l+s),t.arc(i,l,o,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(i+h-c*f,l+s+d*f,i,n-p,i,n),t.bezierCurveTo(i,n-p,i-h+c*f,l+s+d*f,i-h,l+s),t.closePath()}}),h=r.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.height,n=e.width,r=e.x,a=e.y,o=n/3*2;t.moveTo(r,a),t.lineTo(r+o,a+i),t.lineTo(r,a+i/4*3),t.lineTo(r-o,a+i),t.lineTo(r,a),t.closePath()}}),c={line:r.Line,rect:r.Rect,roundRect:r.Rect,square:r.Rect,circle:r.Circle,diamond:l,pin:u,arrow:h,triangle:s},d={line:function(t,e,i,n,r){r.x1=t,r.y1=e+n/2,r.x2=t+i,r.y2=e+n/2},rect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r.height=n},roundRect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r.height=n,r.r=Math.min(i,n)/4},square:function(t,e,i,n,r){var a=Math.min(i,n);r.x=t,r.y=e,r.width=a,r.height=a},circle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.r=Math.min(i,n)/2},diamond:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r.height=n},pin:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r.height=n},arrow:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r.height=n},triangle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r.height=n}},f={};n.each(c,function(t,e){f[e]=new t});var p=r.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,i){var n=o(t,e,i),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.textPosition&&(n.y=i.y+.4*i.height),n},buildPath:function(t,e,i){var n=e.symbolType;if("none"!==n){var r=f[n];r||(r=f[n="rect"]),d[n](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,i)}}});function g(t,e){if("image"!==this.type){var i=this.style,n=this.shape;n&&"line"===n.symbolType?i.stroke=t:this.__isEmptyBrush?(i.stroke=t,i.fill=e||"#fff"):(i.fill&&(i.fill=t),i.stroke&&(i.stroke=t)),this.dirty(!1)}}e.createSymbol=function(t,e,i,n,o,s,l){var u,h=0===t.indexOf("empty");return h&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(u=0===t.indexOf("image://")?r.makeImage(t.slice(8),new a(e,i,n,o),l?"center":"cover"):0===t.indexOf("path://")?r.makePath(t.slice(7),{},new a(e,i,n,o),l?"center":"cover"):new p({shape:{symbolType:t,x:e,y:i,width:n,height:o}})).__isEmptyBrush=h,u.setColor=g,u.setColor(s),u}},kQD9:function(t,e,i){var n=i("/gxq"),r={updateSelectedMap:function(t){this._targetList=n.isArray(t)?t.slice():[],this._selectTargetMap=n.reduce(t||[],function(t,e){return t.set(e.name,e),t},n.createHashMap())},select:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);"single"===this.get("selectedMode")&&this._selectTargetMap.each(function(t){t.selected=!1}),i&&(i.selected=!0)},unSelect:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);i&&(i.selected=!1)},toggleSelected:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);if(null!=i)return this[i.selected?"unSelect":"select"](t,e),i.selected},isSelected:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);return i&&i.selected}};t.exports=r},kdOt:function(t,e,i){i("4Nz2").__DEV__;var n=i("vXqC"),r=n.makeInner,a=n.getDataItemValue,o=i("zZZ/").getCoordSysDefineBySeries,s=i("/gxq"),l=s.createHashMap,u=s.each,h=s.map,c=s.isArray,d=s.isString,f=s.isObject,p=s.isTypedArray,g=s.isArrayLike,v=s.extend,m=(s.assert,i("rrAD")),y=i("+2Ke"),x=y.SOURCE_FORMAT_ORIGINAL,_=y.SOURCE_FORMAT_ARRAY_ROWS,w=y.SOURCE_FORMAT_OBJECT_ROWS,b=y.SOURCE_FORMAT_KEYED_COLUMNS,S=y.SOURCE_FORMAT_UNKNOWN,M=y.SOURCE_FORMAT_TYPED_ARRAY,A=y.SERIES_LAYOUT_BY_ROW,T=r();function C(t){if(t){var e=l();return h(t,function(t,i){if(null==(t=v({},f(t)?t:{name:t})).name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var n=e.get(t.name);return n?t.name+="-"+n.count++:e.set(t.name,{count:1}),t})}}function I(t,e,i,n){if(null==n&&(n=1/0),e===A)for(var r=0;r=0;a--){var o;if(n[a]!==i&&!n[a].ignore&&(o=p(n[a],t,e))&&(!r.topTarget&&(r.topTarget=n[a]),o!==u)){r.target=n[a];break}}return r},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var i=this._gestureMgr;"start"===e&&i.clear();var n=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),n){var r=n.type;t.gestureEvent=r,this.dispatchToElement({target:n.target},r,n.event)}}},n.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){f.prototype[t]=function(e){var i=this.findHover(e.zrX,e.zrY),n=i.target;if("mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||r.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}}),n.mixin(f,o),n.mixin(f,a);var g=f;t.exports=g},"m/6y":function(t,e,i){var n=i("/gxq"),r=i("wWR3").parsePercent,a=i("qVJQ").isDimensionStacked,o=i("CqCN"),s="__ec_stack_",l="undefined"!=typeof Float32Array?Float32Array:Array;function u(t){return t.get("stack")||s+t.seriesIndex}function h(t){return t.dim+t.index}function c(t,e){var i=[];return e.eachSeriesByType(t,function(t){v(t)&&!m(t)&&i.push(t)}),i}function d(t){var e=[];return n.each(t,function(t){var i=t.getData(),n=t.coordinateSystem.getBaseAxis(),a=n.getExtent(),o="category"===n.type?n.getBandWidth():Math.abs(a[1]-a[0])/i.count(),s=r(t.get("barWidth"),o),l=r(t.get("barMaxWidth"),o),c=t.get("barGap"),d=t.get("barCategoryGap");e.push({bandWidth:o,barWidth:s,barMaxWidth:l,barGap:c,barCategoryGap:d,axisKey:h(n),stackId:u(t)})}),f(e)}function f(t){var e={};n.each(t,function(t,i){var n=t.axisKey,r=t.bandWidth,a=e[n]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=a.stacks;e[n]=a;var s=t.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var u=t.barMaxWidth;u&&(o[s].maxWidth=u);var h=t.barGap;null!=h&&(a.gap=h);var c=t.barCategoryGap;null!=c&&(a.categoryGap=c)});var i={};return n.each(e,function(t,e){i[e]={};var a=t.stacks,o=t.bandWidth,s=r(t.categoryGap,o),l=r(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),n.each(a,function(t,e){var i=t.maxWidth;i&&i.5||(h=.5),{progress:function(t,e){var c,d=t.count,f=new l(2*d),p=new l(d),g=[],v=[],m=0,x=0;for(;null!=(c=t.next());)v[u]=e.get(a,c),v[1-u]=e.get(o,c),g=i.dataToPoint(v,null,g),f[m++]=g[0],f[m++]=g[1],p[x++]=c;e.setLayout({largePoints:f,largeDataIndices:p,barWidth:h,valueAxisStart:y(n,r,!1),valueAxisHorizontal:s})}}}}};function v(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function m(t){return t.pipelineContext&&t.pipelineContext.large}function y(t,e,i){return e.toGlobalCoord(e.dataToCoord(0))}e.getLayoutOnAxis=function(t){var e=[],i=t.axis;if("category"===i.type){for(var r=i.getBandWidth(),a=0;a=0?"p":"n",O=w;x&&(o[l][A]||(o[l][A]={p:w,n:w}),O=o[l][A][P]),_?(T=O,C=(k=i.dataToPoint([M,A]))[1]+d,I=k[0]-w,D=f,Math.abs(I)=0?"p":"n",O=b;if(w&&(l[h][T]||(l[h][T]={p:b,n:b}),O=l[h][T][P]),"radius"===p.dim){var L=p.dataToRadius(A)-b,R=n.dataToAngle(T);Math.abs(L)this._ux||y(e-this._yi)>this._uy||this._len<5;return this.addData(l.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,n,r,a){return this.addData(l.C,t,e,i,n,r,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,n,r,a):this._ctx.bezierCurveTo(t,e,i,n,r,a)),this._xi=r,this._yi=a,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,r,a){return this.addData(l.A,t,e,i,i,n,r-n,0,a?0:1),this._ctx&&this._ctx.arc(t,e,i,n,r,a),this._xi=g(r)*i+t,this._yi=v(r)*i+e,this},arcTo:function(t,e,i,n,r){return this._ctx&&this._ctx.arcTo(t,e,i,n,r),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&&v<=e||c<0&&v>=e);)g+=h*(i=o[n=this._dashIdx]),v+=c*i,this._dashIdx=(n+1)%y,h>0&&gl||c>0&&vu||s[n%2?"moveTo":"lineTo"](h>=0?f(g,t):p(g,t),c>=0?f(v,e):p(v,e));h=g-t,c=v-e,this._dashOffset=-m(h*h+c*c)},_dashedBezierTo:function(t,e,i,r,a,o){var s,l,u,h,c,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,v=this._xi,y=this._yi,x=n.cubicAt,_=0,w=this._dashIdx,b=p.length,S=0;for(f<0&&(f=d+f),f%=d,s=0;s<1;s+=.1)l=x(v,t,i,a,s+.1)-x(v,t,i,a,s),u=x(y,e,r,o,s+.1)-x(y,e,r,o,s),_+=m(l*l+u*u);for(;wf);w++);for(s=(S-f)/_;s<=1;)h=x(v,t,i,a,s),c=x(y,e,r,o,s),w%2?g.moveTo(h,c):g.lineTo(h,c),s+=p[w]/_,w=(w+1)%b;w%2!=0&&g.lineTo(a,o),l=a-h,u=o-c,this._dashOffset=-m(l*l+u*u)},_dashedQuadraticTo:function(t,e,i,n){var r=i,a=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,r,a)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,x&&(this.data=new Float32Array(t)))},getBoundingRect:function(){u[0]=u[1]=c[0]=c[1]=Number.MAX_VALUE,h[0]=h[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,n=0,s=0,f=0;fu||y(o-r)>h||d===c-1)&&(t.lineTo(a,o),n=a,r=o);break;case l.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),n=s[d-2],r=s[d-1];break;case l.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),n=s[d-2],r=s[d-1];break;case l.A:var p=s[d++],m=s[d++],x=s[d++],_=s[d++],w=s[d++],b=s[d++],S=s[d++],M=s[d++],A=x>_?x:_,T=x>_?1:x/_,C=x>_?_/x:1,I=w+b;Math.abs(x-_)>.001?(t.translate(p,m),t.rotate(S),t.scale(T,C),t.arc(0,0,A,w,I,1-M),t.scale(1/T,1/C),t.rotate(-S),t.translate(-p,-m)):t.arc(p,m,A,w,I,1-M),1===d&&(e=g(w)*x+p,i=v(w)*_+m),n=g(I)*x+p,r=v(I)*_+m;break;case l.R:e=n=s[d],i=r=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case l.Z:t.closePath(),n=e,r=i}}}},_.CMD=l;var w=_;t.exports=w},mvCM:function(t,e,i){var n=i("/gxq"),r=n.each,a=n.createHashMap,o=(n.assert,i("4Nz2").__DEV__,a(["tooltip","label","itemName","itemId","seriesName"]));function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}e.OTHER_DIMENSIONS=o,e.summarizeDimensions=function(t){var e={},i=e.encode={},n=a(),l=[],u=[],h=e.userOutput={dimensionNames:t.dimensions.slice(),encode:{}};r(t.dimensions,function(e){var r,a=t.getDimensionInfo(e),c=a.coordDim;if(c){var d=a.coordDimIndex;s(i,c)[d]=e,a.isExtraCoord||(n.set(c,1),"ordinal"!==(r=a.type)&&"time"!==r&&(l[0]=e),s(h.encode,c)[d]=a.index),a.defaultTooltip&&u.push(e)}o.each(function(t,e){var n=s(i,e),r=a.otherDims[e];null!=r&&!1!==r&&(n[r]=a.name)})});var c=[],d={};n.each(function(t,e){var n=i[e];d[e]=n[0],c=c.concat(n)}),e.dataDimsOnCoord=c,e.encodeFirstDimNotExtra=d;var f=i.label;f&&f.length&&(l=f.slice());var p=i.tooltip;return p&&p.length?u=p.slice():u.length||(u=l.slice()),i.defaultedLabel=l,i.defaultedTooltip=u,e},e.getDimensionTypeByAxis=function(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},n5nI:function(t,e,i){var n=i("wRzc"),r={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var i=t.getData(),r=(t.visualColorAccessPath||"itemStyle.color").split("."),a=t.get(r)||t.getColorFromPalette(t.name,null,e.getSeriesCount());i.setVisual("color",a);var o=(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),s=t.get(o);if(i.setVisual("borderColor",s),!e.isSeriesFiltered(t)){"function"!=typeof a||a instanceof n||i.each(function(e){i.setItemVisual(e,"color",a(t.getDataParams(e)))});return{dataEach:i.hasItemOption?function(t,e){var i=t.getItemModel(e),n=i.get(r,!0),a=i.get(o,!0);null!=n&&t.setItemVisual(e,"color",n),null!=a&&t.setItemVisual(e,"borderColor",a)}:null}}}};t.exports=r},oBGI:function(t,e,i){var n=i("AAi1").quadraticProjectPoint;e.containStroke=function(t,e,i,r,a,o,s,l,u){if(0===s)return!1;var h=s;return!(u>e+h&&u>r+h&&u>o+h||ut+h&&l>i+h&&l>a+h||l=0;){var s=a.indexOf("|}"),l=a.substr(o+"{marker".length,s-o-"{marker".length);l.indexOf("sub")>-1?n["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[l],textOffset:[3,0]}:n["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[l]},o=(a=a.substr(s+1)).indexOf("{marker")}this.el=new r({style:{rich:n,text:t,textLineHeight:20,textBackgroundColor:i.get("backgroundColor"),textBorderRadius:i.get("borderRadius"),textFill:i.get("textStyle.color"),textPadding:i.get("padding")},z:i.get("z")}),this._zr.add(this.el);var u=this;this.el.on("mouseover",function(){u._enterable&&(clearTimeout(u._hideTimeout),u._show=!0),u._inContent=!0}),this.el.on("mouseout",function(){u._enterable&&u._show&&u.hideLater(u._hideDelay),u._inContent=!1})},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){this.el&&this.el.attr("position",[t,e])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var o=a;t.exports=o},pRCB:function(t,e,i){var n=i("kM2E");n(n.S+n.F*!i("+E39"),"Object",{defineProperties:i("qio6")})},qVJQ:function(t,e,i){var n=i("/gxq"),r=n.each,a=n.isString;function o(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}e.enableDataStack=function(t,e,i){var n,o,s,l,u=(i=i||{}).byIndex,h=i.stackedCoordDimension,c=!(!t||!t.get("stack"));if(r(e,function(t,i){a(t)&&(e[i]=t={name:t}),c&&!t.isExtraCoord&&(u||n||!t.ordinalMeta||(n=t),o||"ordinal"===t.type||"time"===t.type||h&&h!==t.coordDim||(o=t))}),!o||u||n||(u=!0),o){s="__\0ecstackresult",l="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var d=o.coordDim,f=o.type,p=0;r(e,function(t){t.coordDim===d&&p++}),e.push({name:s,coordDim:d,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0}),p++,e.push({name:l,coordDim:l,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:n&&n.name,isStackedByIndex:u,stackedOverDimension:l,stackResultDimension:s}},e.isDimensionStacked=o,e.getStackedDimension=function(t,e){return o(t,e)?t.getCalculationInfo("stackResultDimension"):e}},qjrH:function(t,e,i){var n=i("/gxq"),r=n.retrieve2,a=n.retrieve3,o=n.each,s=n.normalizeCssArray,l=n.isString,u=n.isObject,h=i("3h1/"),c=i("Sm9T"),d=i("+Y0c"),f=i("9b8q"),p=i("28kU"),g=p.ContextCachedBy,v=p.WILL_BE_RESTORED,m=h.DEFAULT_FONT,y={left:1,right:1,center:1},x={top:1,bottom:1,middle:1},_=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],w={},b={};function S(t){if(t){t.font=h.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||y[e]?e:"left";var i=t.textVerticalAlign||t.textBaseline;"center"===i&&(i="middle"),t.textVerticalAlign=null==i||x[i]?i:"top",t.textPadding&&(t.textPadding=s(t.textPadding))}}function M(t,e,i,n,r){if(i&&e.textRotation){var a=e.textOrigin;"center"===a?(n=i.width/2+i.x,r=i.height/2+i.y):a&&(n=a[0]+i.x,r=a[1]+i.y),t.translate(n,r),t.rotate(-e.textRotation),t.translate(-n,-r)}}function A(t,e,i,n,o,s,l,u){var h=n.rich[i.styleName]||{};h.text=i.text;var c=i.textVerticalAlign,d=s+o/2;"top"===c?d=s+i.height/2:"bottom"===c&&(d=s+o-i.height/2),!i.isLineHolder&&T(h)&&C(t,e,h,"right"===u?l-i.width:"center"===u?l-i.width/2:l,d-i.height/2,i.width,i.height);var f=i.textPadding;f&&(l=R(l,u,f),d-=i.height/2-f[2]-i.textHeight/2),k(e,"shadowBlur",a(h.textShadowBlur,n.textShadowBlur,0)),k(e,"shadowColor",h.textShadowColor||n.textShadowColor||"transparent"),k(e,"shadowOffsetX",a(h.textShadowOffsetX,n.textShadowOffsetX,0)),k(e,"shadowOffsetY",a(h.textShadowOffsetY,n.textShadowOffsetY,0)),k(e,"textAlign",u),k(e,"textBaseline","middle"),k(e,"font",i.font||m);var p=P(h.textStroke||n.textStroke,v),g=O(h.textFill||n.textFill),v=r(h.textStrokeWidth,n.textStrokeWidth);p&&(k(e,"lineWidth",v),k(e,"strokeStyle",p),e.strokeText(i.text,l,d)),g&&(k(e,"fillStyle",g),e.fillText(i.text,l,d))}function T(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function C(t,e,i,n,r,a,o){var s=i.textBackgroundColor,h=i.textBorderWidth,f=i.textBorderColor,p=l(s);if(k(e,"shadowBlur",i.textBoxShadowBlur||0),k(e,"shadowColor",i.textBoxShadowColor||"transparent"),k(e,"shadowOffsetX",i.textBoxShadowOffsetX||0),k(e,"shadowOffsetY",i.textBoxShadowOffsetY||0),p||h&&f){e.beginPath();var g=i.textBorderRadius;g?c.buildPath(e,{x:n,y:r,width:a,height:o,r:g}):e.rect(n,r,a,o),e.closePath()}if(p)if(k(e,"fillStyle",s),null!=i.fillOpacity){var v=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,e.fill(),e.globalAlpha=v}else e.fill();else if(u(s)){var m=s.image;(m=d.createOrUpdateImage(m,null,t,I,s))&&d.isImageReady(m)&&e.drawImage(m,n,r,a,o)}if(h&&f)if(k(e,"lineWidth",h),k(e,"strokeStyle",f),null!=i.strokeOpacity){v=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,e.stroke(),e.globalAlpha=v}else e.stroke()}function I(t,e){e.image=t}function D(t,e,i,n){var r=i.x||0,a=i.y||0,o=i.textAlign,s=i.textVerticalAlign;if(n){var l=i.textPosition;if(l instanceof Array)r=n.x+L(l[0],n.width),a=n.y+L(l[1],n.height);else{var u=e&&e.calculateTextPosition?e.calculateTextPosition(w,i,n):h.calculateTextPosition(w,i,n);r=u.x,a=u.y,o=o||u.textAlign,s=s||u.textVerticalAlign}var c=i.textOffset;c&&(r+=c[0],a+=c[1])}return(t=t||{}).baseX=r,t.baseY=a,t.textAlign=o,t.textVerticalAlign=s,t}function k(t,e,i){return t[e]=f(t,e,i),t[e]}function P(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function O(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function L(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function R(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}e.normalizeTextStyle=function(t){return S(t),o(t.rich,S),t},e.renderText=function(t,e,i,n,r,a){n.rich?function(t,e,i,n,r,a){a!==v&&(e.__attrCachedBy=g.NONE);var o=t.__textCotentBlock;o&&!t.__dirtyText||(o=t.__textCotentBlock=h.parseRichText(i,n)),function(t,e,i,n,r){var a=i.width,o=i.outerWidth,s=i.outerHeight,l=n.textPadding,u=D(b,t,n,r),c=u.baseX,d=u.baseY,f=u.textAlign,p=u.textVerticalAlign;M(e,n,r,c,d);var g=h.adjustTextX(c,o,f),v=h.adjustTextY(d,s,p),m=g,y=v;l&&(m+=l[3],y+=l[0]);var x=m+a;T(n)&&C(t,e,n,g,v,o,s);for(var _=0;_=0&&"right"===(w=I[z]).textAlign;)A(t,e,w,n,P,y,E,"right"),O-=w.width,E-=w.width,z--;for(R+=(a-(R-m)-(x-E)-O)/2;L<=z;)w=I[L],A(t,e,w,n,P,y,R+w.width/2,"center"),R+=w.width,L++;y+=P}}(t,e,o,n,r)}(t,e,i,n,r,a):function(t,e,i,n,r,a){"use strict";var o,s=T(n),l=!1,u=e.__attrCachedBy===g.PLAIN_TEXT;a!==v?(a&&(o=a.style,l=!s&&u&&o),e.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):u&&(e.__attrCachedBy=g.NONE);var c=n.font||m;l&&c===(o.font||m)||(e.font=c);var d=t.__computedFont;t.__styleFont!==c&&(t.__styleFont=c,d=t.__computedFont=e.font);var p=n.textPadding,y=n.textLineHeight,x=t.__textCotentBlock;x&&!t.__dirtyText||(x=t.__textCotentBlock=h.parsePlainText(i,d,p,y,n.truncate));var w=x.outerHeight,S=x.lines,A=x.lineHeight,I=D(b,t,n,r),k=I.baseX,L=I.baseY,E=I.textAlign||"left",z=I.textVerticalAlign;M(e,n,r,k,L);var N=h.adjustTextY(L,w,z),B=k,F=N;if(s||p){var H=h.getWidth(i,d),V=H;p&&(V+=p[1]+p[3]);var q=h.adjustTextX(k,V,E);s&&C(t,e,n,q,N,V,w),p&&(B=R(k,E,p),F+=p[0])}e.textAlign=E,e.textBaseline="middle",e.globalAlpha=n.opacity||1;for(var W=0;W<_.length;W++){var G=_[W],Y=G[0],U=G[1],X=n[Y];l&&X===o[Y]||(e[U]=f(e,U,X||G[2]))}F+=A/2;var j=n.textStrokeWidth,Z=l?o.textStrokeWidth:null,K=!l||j!==Z,J=!l||K||n.textStroke!==o.textStroke,Q=P(n.textStroke,j),$=O(n.textFill);if(Q&&(K&&(e.lineWidth=j),J&&(e.strokeStyle=Q)),$&&(l&&n.textFill===o.textFill||(e.fillStyle=$)),1===S.length)Q&&e.strokeText(S[0],B,F),$&&e.fillText(S[0],B,F);else for(var W=0;W3&&(r=i.call(r,1));for(var o=e.length,s=0;s4&&(r=i.call(r,1,r.length-1));for(var o=r[r.length-1],s=e.length,l=0;l{i[t]=e[t]}),i}function p(t,e,i){return(window.getComputedStyle(t,i||null)||{display:"none"})[e]}function g(t){if(!document.documentElement.contains(t))return{detached:!0,rendered:!1};let e=t;for(;e!==document;){if("none"===p(e,"display"))return{detached:!1,rendered:!1};e=e.parentNode}return{detached:!1,rendered:!0}}var v='.resize-triggers{visibility:hidden;opacity:0}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}';let m=0,y=null;function x(t,e){if(t.__resize_mutation_handler__||(t.__resize_mutation_handler__=function(){let{rendered:t,detached:e}=g(this);t!==this.__resize_rendered__&&(!e&&this.__resize_triggers__&&(b(this),this.addEventListener("scroll",_,!0)),this.__resize_rendered__=t,w(this))}.bind(t)),!t.__resize_listeners__)if(t.__resize_listeners__=[],window.ResizeObserver){let{offsetWidth:e,offsetHeight:i}=t,n=new ResizeObserver(()=>{(t.__resize_observer_triggered__||(t.__resize_observer_triggered__=!0,t.offsetWidth!==e||t.offsetHeight!==i))&&w(t)}),{detached:r,rendered:a}=g(t);t.__resize_observer_triggered__=!1===r&&!1===a,t.__resize_observer__=n,n.observe(t)}else if(t.attachEvent&&t.addEventListener)t.__resize_legacy_resize_handler__=function(){w(t)},t.attachEvent("onresize",t.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",t.__resize_mutation_handler__);else if(m||(y=function(t){var e=document.createElement("style");return e.type="text/css",e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t)),(document.querySelector("head")||document.body).appendChild(e),e}(v)),function(t){let e=p(t,"position");e&&"static"!==e||(t.style.position="relative");t.__resize_old_position__=e,t.__resize_last__={};let i=f("div",{className:"resize-triggers"}),n=f("div",{className:"resize-expand-trigger"}),r=f("div"),a=f("div",{className:"resize-contract-trigger"});n.appendChild(r),i.appendChild(n),i.appendChild(a),t.appendChild(i),t.__resize_triggers__={triggers:i,expand:n,expandChild:r,contract:a},b(t),t.addEventListener("scroll",_,!0),t.__resize_last__={width:t.offsetWidth,height:t.offsetHeight}}(t),t.__resize_rendered__=g(t).rendered,window.MutationObserver){let e=new MutationObserver(t.__resize_mutation_handler__);e.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),t.__resize_mutation_observer__=e}t.__resize_listeners__.push(e),m++}function _(){var t,e;b(this),this.__resize_raf__&&(t=this.__resize_raf__,d||(d=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(t){clearTimeout(t)}).bind(window)),d(t)),this.__resize_raf__=(e=(()=>{let t=function(t){let{width:e,height:i}=t.__resize_last__,{offsetWidth:n,offsetHeight:r}=t;return n!==e||r!==i?{width:n,height:r}:null}(this);t&&(this.__resize_last__=t,w(this))}),c||(c=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){return setTimeout(t,16)}).bind(window)),c(e))}function w(t){t&&t.__resize_listeners__&&t.__resize_listeners__.forEach(e=>{e.call(t)})}function b(t){let{expand:e,expandChild:i,contract:n}=t.__resize_triggers__,{scrollWidth:r,scrollHeight:a}=n,{offsetWidth:o,offsetHeight:s,scrollWidth:l,scrollHeight:u}=e;n.scrollLeft=r,n.scrollTop=a,i.style.width=o+1+"px",i.style.height=s+1+"px",e.scrollLeft=l,e.scrollTop=u}var S=["legendselectchanged","legendselected","legendunselected","legendscroll","datazoom","datarangeselected","timelinechanged","timelineplaychanged","restore","dataviewchanged","magictypechanged","geoselectchanged","geoselected","geounselected","pieselectchanged","pieselected","pieunselected","mapselectchanged","mapselected","mapunselected","axisareaselected","focusnodeadjacency","unfocusnodeadjacency","brush","brushselected","rendered","finished","click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],M=["theme","initOptions","autoresize"],A=["manualUpdate","watchShallow"],T={props:{options:Object,theme:[String,Object],initOptions:Object,group:String,autoresize:Boolean,watchShallow:Boolean,manualUpdate:Boolean},data:function(){return{lastArea:0}},watch:{group:function(t){this.chart.group=t}},methods:{mergeOptions:function(t,e,i){this.manualUpdate&&(this.manualOptions=t),this.chart?this.delegateMethod("setOption",t,e,i):this.init()},appendData:function(t){this.delegateMethod("appendData",t)},resize:function(t){this.delegateMethod("resize",t)},dispatchAction:function(t){this.delegateMethod("dispatchAction",t)},convertToPixel:function(t,e){return this.delegateMethod("convertToPixel",t,e)},convertFromPixel:function(t,e){return this.delegateMethod("convertFromPixel",t,e)},containPixel:function(t,e){return this.delegateMethod("containPixel",t,e)},showLoading:function(t,e){this.delegateMethod("showLoading",t,e)},hideLoading:function(){this.delegateMethod("hideLoading")},getDataURL:function(t){return this.delegateMethod("getDataURL",t)},getConnectedDataURL:function(t){return this.delegateMethod("getConnectedDataURL",t)},clear:function(){this.delegateMethod("clear")},dispose:function(){this.delegateMethod("dispose")},delegateMethod:function(t){var e;this.chart||this.init();for(var i=arguments.length,n=Array(i>1?i-1:0),r=1;re[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=o.getIntervalPrecision(t)},getTicks:function(){return o.intervalScaleGetTicks(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getLabel:function(t,e){if(null==t)return"";var i=e&&e.precision;return null==i?i=n.getPrecisionSafe(t)||0:"auto"===i&&(i=this._intervalPrecision),t=s(t,i,!0),r.addCommas(t)},niceTicks:function(t,e,i){t=t||5;var n=this._extent,r=n[1]-n[0];if(isFinite(r)){r<0&&(r=-r,n.reverse());var a=o.intervalScaleNiceTicks(n,t,e,i);this._intervalPrecision=a.intervalPrecision,this._interval=a.interval,this._niceExtent=a.niceTickExtent}},niceExtent:function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var i=e[0];t.fixMax?e[0]-=i/2:(e[1]+=i/2,e[0]-=i/2)}else e[1]=1;var n=e[1]-e[0];isFinite(n)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=s(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=s(Math.ceil(e[1]/r)*r))}});l.create=function(){return new l};var u=l;t.exports=u},taS8:function(t,e,i){var n=i("qjrH"),r=i("8b51"),a=i("28kU").WILL_BE_RESTORED,o=new r,s=function(){};s.prototype={constructor:s,drawRectText:function(t,e){var i=this.style;e=i.textRect||e,this.__dirty&&n.normalizeTextStyle(i,!0);var r=i.text;if(null!=r&&(r+=""),n.needDrawText(r,i)){t.save();var s=this.transform;i.transformText?this.setTransform(t):s&&(o.copy(e),o.applyTransform(s),e=o),n.renderText(this,t,r,i,e,a),t.restore()}}};var l=s;t.exports=l},thE4:function(t,e,i){var n=i("/gxq").inherits,r=i("9qnA"),a=i("8b51");function o(t){r.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}o.prototype.incremental=!0,o.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},o.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},o.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i0?i=n[0]:n[1]<0&&(i=n[1]),i}(s,i),u=o.dim,h=s.dim,c=e.mapDimension(h),d=e.mapDimension(u),f="x"===h||"radius"===h?1:0,p=r(t.dimensions,function(t){return e.mapDimension(t)}),g=e.getCalculationInfo("stackResultDimension");return(a|=n(e,p[0]))&&(p[0]=g),(a|=n(e,p[1]))&&(p[1]=g),{dataDimsForPoint:p,valueStart:l,valueAxisDim:h,baseAxisDim:u,stacked:!!a,valueDim:c,baseDim:d,baseDataOffset:f,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}},e.getStackedOnPoint=function(t,e,i,n){var r=NaN;t.stacked&&(r=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(r)&&(r=t.valueStart);var a=t.baseDataOffset,o=[];return o[a]=i.get(t.baseDim,n),o[1-a]=r,e.dataToPoint(o)}},"u+XU":function(t,e){e.containStroke=function(t,e,i,n,r,a,o){if(0===r)return!1;var s=r,l=0;if(o>e+s&&o>n+s||ot+s&&a>i+s||a=i.length&&i.push({option:t})}}),i},e.makeIdAndName=function(t){var e=n.createHashMap();a(t,function(t,i){var n=t.exist;n&&e.set(n.id,t)}),a(t,function(t,i){var r=t.option;n.assert(!r||null==r.id||!e.get(r.id)||e.get(r.id)===t,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&e.set(r.id,t),!t.keyInfo&&(t.keyInfo={})}),a(t,function(t,i){var n=t.exist,r=t.option,a=t.keyInfo;if(o(r)){if(a.name=null!=r.name?r.name+"":n?n.name:l+i,n)a.id=n.id;else if(null!=r.id)a.id=r.id+"";else{var s=0;do{a.id="\0"+a.name+"\0"+s++}while(e.get(a.id))}e.set(a.id,t)}})},e.isNameSpecified=function(t){var e=t.name;return!(!e||!e.indexOf(l))},e.isIdInner=h,e.compressBatches=function(t,e){var i={},n={};return r(t||[],i),r(e||[],n,i),[a(i),a(n)];function r(t,e,i){for(var n=0,r=t.length;ng[1]?-1:1,m=["start"===s?g[0]-v*p:"end"===s?g[1]+v*p:(g[0]+g[1])/2,T(s)?t.labelOffset+h*p:0],x=e.get("nameRotate");null!=x&&(x=x*y/180),T(s)?n=b(t.rotation,null!=x?x:t.rotation,h):(n=function(t,e,i,n){var r,a,o=f(i-t.rotation),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;d(o-y/2)?(a=l?"bottom":"top",r="center"):d(o-1.5*y)?(a=l?"top":"bottom",r="center"):(a="middle",r=o<1.5*y&&o>y/2?l?"left":"right":l?"right":"left");return{rotation:o,textAlign:r,textVerticalAlign:a}}(t,s,x||0,g),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(n.rotation)),!isFinite(a)&&(a=null)));var _=c.getFont(),M=e.get("nameTruncate",!0)||{},A=M.ellipsis,C=r(t.nameTruncateMaxWidth,M.maxWidth,a),I=null!=A&&null!=C?l.truncateText(i,C,_,A,{minChar:2,placeholder:M.placeholder}):i,D=e.get("tooltip",!0),k=e.mainType,P={componentType:k,name:i,$vars:["name"]};P[k+"Index"]=e.componentIndex;var O=new u.Text({anid:"name",__fullText:i,__truncatedText:I,position:m,rotation:n.rotation,silent:S(e),z2:1,tooltip:D&&D.show?o({content:i,formatter:function(){return i},formatterParams:P},D):null});u.setTextStyle(O.style,c,{text:I,textFont:_,textFill:c.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:c.get("align")||n.textAlign,textVerticalAlign:c.get("verticalAlign")||n.textVerticalAlign}),e.get("triggerEvent")&&(O.eventData=w(e),O.eventData.targetType="axisName",O.eventData.name=i),this._dumbGroup.add(O),O.updateTransform(),this.group.add(O),O.decomposeTransform()}}},w=x.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},b=x.innerTextLayout=function(t,e,i){var n,r,a=f(e-t);return d(a)?(r=i>0?"top":"bottom",n="center"):d(a-y)?(r=i>0?"bottom":"top",n="center"):(r="middle",n=a>0&&a0?"right":"left":i>0?"left":"right"),{rotation:a,textAlign:n,textVerticalAlign:r}};var S=x.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function M(t){t&&(t.ignore=!0)}function A(t,e,i){var n=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(n&&r){var a=g.identity([]);return g.rotate(a,a,-t.rotation),n.applyTransform(g.mul([],a,t.getLocalTransform())),r.applyTransform(g.mul([],a,e.getLocalTransform())),n.intersect(r)}}function T(t){return"middle"===t||"center"===t}var C=x;t.exports=C},vub9:function(t,e,i){var n=i("/gxq"),r=n.each,a=n.map,o=n.isFunction,s=n.createHashMap,l=n.noop,u=i("gV7x").createTask,h=i("h0jU").getUID,c=i("Rtf0"),d=i("uJBW"),f=i("vXqC").normalizeToArray;function p(t,e,i,n){this.ecInstance=t,this.api=e,this.unfinished;i=this._dataProcessorHandlers=i.slice(),n=this._visualHandlers=n.slice();this._allHandlers=i.concat(n),this._stageTaskMap=s()}var g=p.prototype;function v(t,e,i,n,a){var o;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}a=a||{},r(e,function(e,r){if(!a.visualType||a.visualType===e.visualType){var l=t._stageTaskMap.get(e.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,d=h.agentStubMap;d.each(function(t){s(a,t)&&(t.dirty(),c=!0)}),c&&h.dirty(),m(h,n);var f=t.getPerformArgs(h,a.block);d.each(function(t){t.perform(f)}),o|=h.perform(f)}else u&&u.each(function(r,l){s(a,r)&&r.dirty();var u=t.getPerformArgs(r,a.block);u.skip=!e.performRawSeries&&i.isSeriesFiltered(r.context.model),m(r,n),o|=r.perform(u)})}}),t.unfinished|=o}g.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},g.getPerformArgs=function(t,e){if(t.__pipeline){var i=this._pipelineMap.get(t.__pipeline.id),n=i.context,r=!e&&i.progressiveEnabled&&(!n||n.progressiveRender)&&t.__idxInPipeline>i.blockIndex?i.step:null,a=n&&n.modDataCount;return{step:r,modBy:null!=a?Math.ceil(a/r):null,modDataCount:a}}},g.getPipeline=function(t){return this._pipelineMap.get(t)},g.updateStreamModes=function(t,e){var i=this._pipelineMap.get(t.uid),n=t.getData().count(),r=i.progressiveEnabled&&e.incrementalPrepareRender&&n>=i.threshold,a=t.get("large")&&n>=t.get("largeThreshold"),o="mod"===t.get("progressiveChunkMode")?n:null;t.pipelineContext=i.context={progressiveRender:r,modDataCount:o,large:a}},g.restorePipelines=function(t){var e=this,i=e._pipelineMap=s();t.eachSeries(function(t){var n=t.getProgressive(),r=t.uid;i.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:n&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),C(e,t,t.dataTask)})},g.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),i=this.api;r(this._allHandlers,function(n){var a=t.get(n.uid)||t.set(n.uid,[]);n.reset&&function(t,e,i,n,r){var a=i.seriesTaskMap||(i.seriesTaskMap=s()),o=e.seriesType,l=e.getTargetSeries;e.createOnAllSeries?n.eachRawSeries(h):o?n.eachRawSeriesByType(o,h):l&&l(n,r).each(h);function h(i){var o=i.uid,s=a.get(o)||a.set(o,u({plan:b,reset:S,count:T}));s.context={model:i,ecModel:n,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},C(t,i,s)}var c=t._pipelineMap;a.each(function(t,e){c.get(e)||(t.dispose(),a.removeKey(e))})}(this,n,a,e,i),n.overallReset&&function(t,e,i,n,a){var o=i.overallTask=i.overallTask||u({reset:y});o.context={ecModel:n,api:a,overallReset:e.overallReset,scheduler:t};var l=o.agentStubMap=o.agentStubMap||s(),h=e.seriesType,c=e.getTargetSeries,d=!0,f=e.modifyOutputEnd;h?n.eachRawSeriesByType(h,p):c?c(n,a).each(p):(d=!1,r(n.getSeries(),p));function p(e){var i=e.uid,n=l.get(i);n||(n=l.set(i,u({reset:x,onDirty:w})),o.dirty()),n.context={model:e,overallProgress:d,modifyOutputEnd:f},n.agent=o,n.__block=d,C(t,e,n)}var g=t._pipelineMap;l.each(function(t,e){g.get(e)||(t.dispose(),o.dirty(),l.removeKey(e))})}(this,n,a,e,i)},this)},g.prepareView=function(t,e,i,n){var r=t.renderTask,a=r.context;a.model=e,a.ecModel=i,a.api=n,r.__block=!t.incrementalPrepareRender,C(this,e,r)},g.performDataProcessorTasks=function(t,e){v(this,this._dataProcessorHandlers,t,e,{block:!0})},g.performVisualTasks=function(t,e,i){v(this,this._visualHandlers,t,e,i)},g.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e|=t.dataTask.perform()}),this.unfinished|=e},g.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})};var m=g.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function y(t){t.overallReset(t.ecModel,t.api,t.payload)}function x(t,e){return t.overallProgress&&_}function _(){this.agent.dirty(),this.getDownstream().dirty()}function w(){this.agent&&this.agent.dirty()}function b(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function S(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=f(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?a(e,function(t,e){return A(e)}):M}var M=A(0);function A(t){return function(e,i){var n=i.data,r=i.resetDefines[t];if(r&&r.dataEach)for(var a=e.start;a1e-4)return p[0]=t-i,p[1]=e-r,g[0]=t+i,void(g[1]=e+r);if(h[0]=l(a)*i+t,h[1]=s(a)*r+e,c[0]=l(o)*i+t,c[1]=s(o)*r+e,v(p,h,c),m(g,h,c),(a%=u)<0&&(a+=u),(o%=u)<0&&(o+=u),a>o&&!f?o+=u:aa&&(d[0]=l(_)*i+t,d[1]=s(_)*r+e,v(p,d,p),m(g,d,g))}},wW3A:function(t,e,i){var n=i("wWR3"),r=n.round;function a(t){return n.getPrecisionSafe(t)+2}function o(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function s(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),o(t,0,e),o(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,i,o){var l={},u=t[1]-t[0],h=l.interval=n.nice(u/e,!0);null!=i&&ho&&(h=l.interval=o);var c=l.intervalPrecision=a(h);return s(l.niceTickExtent=[r(Math.ceil(t[0]/h)*h,c),r(Math.floor(t[1]/h)*h,c)],t),l},e.getIntervalPrecision=a,e.fixExtent=s,e.intervalScaleGetTicks=function(t,e,i,n){var a=[];if(!t)return a;e[0]1e4)return[];return e[1]>(a.length?a[a.length-1]:i[1])&&a.push(e[1]),a}},wWR3:function(t,e,i){var n=i("/gxq"),r=1e-4;var a=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function o(t){return Math.floor(Math.log(t)/Math.LN10)}e.linearMap=function(t,e,i,n){var r=e[1]-e[0],a=i[1]-i[0];if(0===r)return 0===a?i[0]:(i[0]+i[1])/2;if(n)if(r>0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/r*a+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+|\s+$/g,"")).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 r=e.indexOf(".");return r<0?0:e.length-1-r},e.getPixelPrecision=function(t,e){var i=Math.log,n=Math.LN10,r=Math.floor(i(t[1]-t[0])/n),a=Math.round(i(Math.abs(e[1]-e[0]))/n),o=Math.min(Math.max(-r+a,0),20);return isFinite(o)?o:20},e.getPercentWithPrecision=function(t,e,i){if(!t[e])return 0;var r=n.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===r)return 0;for(var a=Math.pow(10,i),o=n.map(t,function(t){return(isNaN(t)?0:t)/r*a*100}),s=100*a,l=n.map(o,function(t){return Math.floor(t)}),u=n.reduce(l,function(t,e){return t+e},0),h=n.map(o,function(t,e){return t-l[e]});uc&&(c=h[f],d=f);++l[d],h[d]=0,++u}return l[e]/a},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>-r&&t=-20?+t.toFixed(i<0?-i:0):t},e.quantile=function(t,e){var i=(t.length-1)*e+1,n=Math.floor(i),r=+t[n-1],a=i-n;return a?r+a*(t[n]-r):r},e.reformIntervals=function(t){t.sort(function(t,e){return function t(e,i,n){return e.interval[n]=0}},xCbH:function(t,e,i){var n=i("/gxq"),r=i("/+sa"),a=i("wWR3"),o=i("tBuv"),s=r.prototype,l=o.prototype,u=a.getPrecisionSafe,h=a.round,c=Math.floor,d=Math.ceil,f=Math.pow,p=Math.log,g=r.extend({type:"log",base:10,$constructor:function(){r.apply(this,arguments),this._originalScale=new o},getTicks:function(){var t=this._originalScale,e=this._extent,i=t.getExtent();return n.map(l.getTicks.call(this),function(n){var r=a.round(f(this.base,n));return r=n===e[0]&&t.__fixMin?v(r,i[0]):r,r=n===e[1]&&t.__fixMax?v(r,i[1]):r},this)},getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),f(this.base,t)},setExtent:function(t,e){var i=this.base;t=p(t)/p(i),e=p(e)/p(i),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=f(t,e[0]),e[1]=f(t,e[1]);var i=this._originalScale,n=i.getExtent();return i.__fixMin&&(e[0]=v(e[0],n[0])),i.__fixMax&&(e[1]=v(e[1],n[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=p(t[0])/p(e),t[1]=p(t[1])/p(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(i===1/0||i<=0)){var n=a.quantity(i);for(t/i*n<=.5&&(n*=10);!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0;)n*=10;var r=[a.round(d(e[0]/n)*n),a.round(c(e[1]/n)*n)];this._interval=n,this._niceExtent=r}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function v(t,e){return h(t,u(e))}n.each(["contain","normalize"],function(t){g.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}}),g.create=function(){return new g};var m=g;t.exports=m},"xb/I":function(t,e,i){var n=i("/gxq"),r=i("vXqC"),a=n.each,o=n.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(t){var e=t&&t.itemStyle;if(e)for(var i=0,r=s.length;i=this._maxSize&&o>0){var l=i.head;i.remove(l),delete n[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new r(e),s.key=t,i.insertEntry(s),n[t]=s}return a},o.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},o.clear=function(){this._list.clear(),this._map={}};var s=a;t.exports=s},"zZZ/":function(t,e,i){i("4Nz2").__DEV__;var n=i("/gxq"),r=n.createHashMap,a=(n.retrieve,n.each);var o={cartesian2d:function(t,e,i,n){var r=t.getReferringComponents("xAxis")[0],a=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],i.set("x",r),i.set("y",a),s(r)&&(n.set("x",r),e.firstCategoryDimIndex=0),s(a)&&(n.set("y",a),e.firstCategoryDimIndex=1)},singleAxis:function(t,e,i,n){var r=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],i.set("single",r),s(r)&&(n.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,i,n){var r=t.getReferringComponents("polar")[0],a=r.findAxisModel("radiusAxis"),o=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],i.set("radius",a),i.set("angle",o),s(a)&&(n.set("radius",a),e.firstCategoryDimIndex=0),s(o)&&(n.set("angle",o),e.firstCategoryDimIndex=1)},geo:function(t,e,i,n){e.coordSysDims=["lng","lat"]},parallel:function(t,e,i,n){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),l=e.coordSysDims=o.dimensions.slice();a(o.parallelAxisIndex,function(t,a){var o=r.getComponent("parallelAxis",t),u=l[a];i.set(u,o),s(o)&&null==e.firstCategoryDimIndex&&(n.set(u,o),e.firstCategoryDimIndex=a)})}};function s(t){return"category"===t.get("type")}e.getCoordSysDefineBySeries=function(t){var e=t.get("coordinateSystem"),i={coordSysName:e,coordSysDims:[],axisMap:r(),categoryAxisMap:r()},n=o[e];if(n)return n(t,i,i.axisMap,i.categoryAxisMap),i}},zz1u:function(t,e,i){i("ecfp"),i("s48c")}});