(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["hly-detail"],{"0124":function(e,t,n){var i=n("cbe1"),r=n("2dda"),o={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},a=2,s=4;function l(e,t,n){r.Group.call(this);var i=new r.Sector({z2:a});i.seriesIndex=t.seriesIndex;var o=new r.Text({z2:s,silent:e.getModel("label").get("silent")});function l(){o.ignore=o.hoverIgnore}function u(){o.ignore=o.normalIgnore}this.add(i),this.add(o),this.updateData(!0,e,"normal",t,n),this.on("emphasis",l).on("normal",u).on("mouseover",l).on("mouseout",u)}var u=l.prototype;u.updateData=function(e,t,n,o,a){this.node=t,t.piece=this,o=o||this._seriesModel,a=a||this._ecModel;var s=this.childAt(0);s.dataIndex=t.dataIndex;var l=t.getModel(),u=t.getLayout(),c=i.extend({},u);c.label=null;var d=h(t,o,a);p(t,o,d);var f,g=l.getModel("itemStyle").getItemStyle();if("normal"===n)f=g;else{var v=l.getModel(n+".itemStyle").getItemStyle();f=i.merge(v,g)}f=i.defaults({lineJoin:"bevel",fill:f.fill||d},f),e?(s.setShape(c),s.shape.r=u.r0,r.updateProps(s,{shape:{r:u.r}},o,t.dataIndex),s.useStyle(f)):"object"===typeof f.fill&&f.fill.type||"object"===typeof s.style.fill&&s.style.fill.type?(r.updateProps(s,{shape:c},o),s.useStyle(f)):r.updateProps(s,{shape:c,style:f},o),this._updateLabel(o,d,n);var m=l.getShallow("cursor");if(m&&s.attr("cursor",m),e){var y=o.getShallow("highlightPolicy");this._initEvents(s,t,o,y)}this._seriesModel=o||this._seriesModel,this._ecModel=a||this._ecModel},u.onEmphasis=function(e){var t=this;this.node.hostTree.root.eachNode((function(n){n.piece&&(t.node===n?n.piece.updateData(!1,n,"emphasis"):f(n,t.node,e)?n.piece.childAt(0).trigger("highlight"):e!==o.NONE&&n.piece.childAt(0).trigger("downplay"))}))},u.onNormal=function(){this.node.hostTree.root.eachNode((function(e){e.piece&&e.piece.updateData(!1,e,"normal")}))},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(e,t,n){var o=this.node.getModel(),a=o.getModel("label"),s="normal"===n||"emphasis"===n?a:o.getModel(n+".label"),l=o.getModel("emphasis.label"),u=i.retrieve(e.getFormattedLabel(this.node.dataIndex,n,null,null,"label"),this.node.name);!1===I("show")&&(u="");var c=this.node.getLayout(),h=s.get("minAngle");null==h&&(h=a.get("minAngle")),h=h/180*Math.PI;var d=c.endAngle-c.startAngle;null!=h&&Math.abs(d)Math.PI/2?"right":"left"):_&&"center"!==_?"left"===_?(p=c.r0+x,g>Math.PI/2&&(_="right")):"right"===_&&(p=c.r-x,g>Math.PI/2&&(_="left")):(p=(c.r+c.r0)/2,_="center"),f.attr("style",{text:u,textAlign:_,textVerticalAlign:I("verticalAlign")||"middle",opacity:I("opacity")});var b=p*v+c.cx,w=p*m+c.cy;f.attr("position",[b,w]);var S=I("rotate"),M=0;function I(e){var t=s.get(e);return null==t?a.get(e):t}"radial"===S?(M=-g,M<-Math.PI/2&&(M+=Math.PI)):"tangential"===S?(M=Math.PI/2-g,M>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI)):"number"===typeof S&&(M=S*Math.PI/180),f.attr("rotation",M)},u._initEvents=function(e,t,n,i){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var r=this,o=function(){r.onEmphasis(i)},a=function(){r.onNormal()},s=function(){r.onDownplay()},l=function(){r.onHighlight()};n.isAnimationEnabled()&&e.on("mouseover",o).on("mouseout",a).on("emphasis",o).on("normal",a).on("downplay",s).on("highlight",l)},i.inherits(l,r.Group);var c=l;function h(e,t,n){var i=e.getVisual("color"),r=e.getVisual("visualMeta");r&&0!==r.length||(i=null);var o=e.getModel("itemStyle").get("color");if(o)return o;if(i)return i;if(0===e.depth)return n.option.color[0];var a=n.option.color.length;return o=n.option.color[d(e)%a],o}function d(e){var t=e;while(t.depth>1)t=t.parentNode;var n=e.getAncestors()[0];return i.indexOf(n.children,t)}function f(e,t,n){return n!==o.NONE&&(n===o.SELF?e===t:n===o.ANCESTOR?e===t||e.isAncestorOf(t):e===t||e.isDescendantOf(t))}function p(e,t,n){var i=t.getData();i.setItemVisual(e.dataIndex,"color",n)}e.exports=c},"0150":function(e,t,n){var i=n("cbe1"),r=i.each,o=n("7ce5"),a=n("5c3e"),s=a.makeInner,l=n("939f"),u=n("5e4b"),c=n("83af"),h=n("116b"),d=s(),f={load:function(e,t){var n=d(t).parsed;if(n)return n;var i,a=t.specialAreas||{},s=t.geoJSON;try{i=s?o(s):[]}catch(f){throw new Error("Invalid geoJson format\n"+f.message)}return l(e,i),r(i,(function(t){var n=t.name;u(e,t),c(e,t),h(e,t);var i=a[n];i&&t.transformTo(i.left,i.top,i.width,i.height)})),d(t).parsed={regions:i,boundingRect:p(i)}}};function p(e){for(var t,n=0;n.8?"left":h[0]<-.8?"right":"center",g=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";else if("middle"===i.__position){var m=l/2,y=(d=s.tangentAt(m),[d[1],-d[0]]),x=s.pointAt(m);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]),f=[x[0]+y[0]*v,x[1]+y[1]*v],p="center",g="bottom";var _=-Math.atan2(d[1],d[0]);c[0].8?"right":h[0]<-.8?"left":"center",g=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";i.attr({style:{textVerticalAlign:i.__verticalAlign||g,textAlign:i.__textAlign||p},position:f,scale:[o,o]})}}}}function v(e,t,n){s.Group.call(this),this._createLine(e,t,n)}var m=v.prototype;m.beforeUpdate=g,m._createLine=function(e,t,n){var r=e.hostModel,o=e.getItemLayout(t),a=f(o);a.shape.percent=0,s.initProps(a,{shape:{percent:1}},r,t),this.add(a);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),i.each(c,(function(n){var i=d(n,e,t);this.add(i),this[h(n)]=e.getItemVisual(t,n)}),this),this._updateCommonStl(e,t,n)},m.updateData=function(e,t,n){var r=e.hostModel,o=this.childOfName("line"),a=e.getItemLayout(t),l={shape:{}};p(l.shape,a),s.updateProps(o,l,r,t),i.each(c,(function(n){var i=e.getItemVisual(t,n),r=h(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=d(n,e,t);this.add(o)}this[r]=i}),this),this._updateCommonStl(e,t,n)},m._updateCommonStl=function(e,t,n){var r=e.hostModel,o=this.childOfName("line"),a=n&&n.lineStyle,l=n&&n.hoverLineStyle,h=n&&n.labelModel,d=n&&n.hoverLabelModel;if(!n||e.hasItemOption){var f=e.getItemModel(t);a=f.getModel("lineStyle").getLineStyle(),l=f.getModel("emphasis.lineStyle").getLineStyle(),h=f.getModel("label"),d=f.getModel("emphasis.label")}var p=e.getItemVisual(t,"color"),g=i.retrieve3(e.getItemVisual(t,"opacity"),a.opacity,1);o.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},a)),o.hoverStyle=l,i.each(c,(function(e){var t=this.childOfName(e);t&&(t.setColor(p),t.setStyle({opacity:g}))}),this);var v,m,y=h.getShallow("show"),x=d.getShallow("show"),_=this.childOfName("label");if((y||x)&&(v=p||"#000",m=r.getFormattedLabel(t,"normal",e.dataType),null==m)){var b=r.getRawValue(t);m=null==b?e.getName(t):isFinite(b)?u(b):b}var w=y?m:null,S=x?i.retrieve2(r.getFormattedLabel(t,"emphasis",e.dataType),m):null,M=_.style;null==w&&null==S||(s.setTextStyle(_.style,h,{text:w},{autoColor:v}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=h.get("position")||"middle"),_.hoverStyle=null!=S?{text:S,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!x,s.setHoverStyle(this)},m.highlight=function(){this.trigger("emphasis")},m.downplay=function(){this.trigger("normal")},m.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},m.setLinePoints=function(e){var t=this.childOfName("line");p(t.shape,e),t.dirty()},i.inherits(v,s.Group);var y=v;e.exports=y},"03f6":function(e,t,n){var i=n("cbe1"),r=n("6b0b"),o=n("0e18"),a=n("9a33"),s=n("c7cf"),l=n("2dda"),u=n("55ba"),c=n("1ede"),h=i.each,d=Math.min,f=Math.max,p=Math.floor,g=Math.ceil,v=u.round,m=Math.PI;function y(e,t,n){this._axesMap=i.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._rect,this._model=e,this._init(e,t,n)}function x(e,t){return d(f(e,t[0]),t[1])}function _(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function b(e,t){var n,i,r=t.layoutLength,o=t.axisExpandWidth,a=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e=n&&o<=n+t.axisLength&&a>=i&&a<=i+t.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(e,t){t.eachSeries((function(n){if(e.contains(n,t)){var i=n.getData();h(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(i,i.mapDimension(e)),a.niceScaleExtent(t.scale,t.model)}),this)}}),this)},resize:function(e,t){this._rect=o.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var e,t=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=t.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,c=x(t.get("axisExpandWidth"),l),h=x(t.get("axisExpandCount")||0,[0,u]),d=t.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,f=t.get("axisExpandWindow");if(f)e=x(f[1]-f[0],l),f[1]=f[0]+e;else{e=x(c*(h-1),l);var m=t.get("axisExpandCenter")||p(u/2);f=[c*m-e/2],f[1]=f[0]+e}var y=(s-e)/(u-h);y<3&&(y=0);var _=[p(v(f[0]/c,1))+1,g(v(f[1]/c,1))-1],b=y/c*f[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:y,axisExpandWindow:f,axisCount:u,winInnerIndices:_,axisExpandWindow0Pos:b}},_layoutAxes:function(){var e=this._rect,t=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),o=i.layout;t.each((function(e){var t=[0,i.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])})),h(n,(function(t,n){var a=(i.axisExpandable?b:_)(n,i),s={horizontal:{x:a.position,y:i.axisLength},vertical:{x:0,y:a.position}},l={horizontal:m/2,vertical:0},u=[s[o].x+e.x,s[o].y+e.y],c=l[o],h=r.create();r.rotate(h,h,c),r.translate(h,h,u),this._axesLayout[t]={position:u,rotation:c,transform:h,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(e){return this._axesMap.get(e)},dataToPoint:function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},eachActiveState:function(e,t,n,r){null==n&&(n=0),null==r&&(r=e.count());var o=this._axesMap,a=this.dimensions,s=[],l=[];i.each(a,(function(t){s.push(e.mapDimension(t)),l.push(o.get(t).model)}));for(var u=this.hasAxisBrushed(),c=n;cr*(1-h[0])?(l="jump",a=s-r*(1-h[2])):(a=s-r*h[1])>=0&&(a=s-r*(1-h[1]))<=0&&(a=0),a*=t.axisExpandWidth/u,a?c(a,i,o,"all"):l="none";else{r=i[1]-i[0];var g=o[1]*s/r;i=[f(0,g-r/2)],i[1]=d(o[1],i[0]+r),i[0]=i[1]-r}return{axisExpandWindow:i,behavior:l}}};var w=y;e.exports=w},"040f":function(e,t,n){var i=n("0e18"),r=i.getLayoutRect,o=i.box,a=i.positionElement,s=n("4ae0"),l=n("2dda");function u(e,t,n){var i=t.getBoxLayoutParams(),s=t.get("padding"),l={width:n.getWidth(),height:n.getHeight()},u=r(i,l,s);o(t.get("orient"),e,t.get("itemGap"),u.width,u.height),a(e,i,l,s)}function c(e,t){var n=s.normalizeCssArray(t.get("padding")),i=t.getItemStyle(["color","opacity"]);i.fill=t.get("backgroundColor");e=new l.Rect({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:i,silent:!0,z2:-1});return e}t.layout=u,t.makeBackground=c},"042f":function(e,t,n){var i=n("5b36"),r=n("3083"),o=n("cbe1"),a=o.isArrayLike,s=Array.prototype.slice;function l(e,t){return e[t]}function u(e,t,n){e[t]=n}function c(e,t,n){return(t-e)*n+e}function h(e,t,n){return n>.5?t:e}function d(e,t,n,i,r){var o=e.length;if(1===r)for(var a=0;ar;if(o)e.length=r;else for(var a=i;a=0;n--)if(D[n]<=t)break;n=Math.min(n,b-2)}else{for(n=W;nt)break;n=Math.min(n-1,b-2)}W=n,G=t;var i=D[n+1]-D[n];if(0!==i)if(N=(t-D[n])/i,_)if(V=P[n],B=P[0===n?n:n-1],j=P[n>b-2?b-1:n+1],F=P[n>b-3?b-1:n+2],M)g(B,V,j,F,N,N*N,N*N*N,u(e,s),T);else{if(I)r=g(B,V,j,F,N,N*N,N*N*N,H,1),r=y(H);else{if(A)return h(V,j,N);r=v(B,V,j,F,N,N*N,N*N*N)}m(e,s,r)}else if(M)d(P[n],P[n+1],N,u(e,s),T);else{var r;if(I)d(P[n],P[n+1],N,H,1),r=y(H);else{if(A)return h(P[n],P[n+1],N);r=c(P[n],P[n+1],N)}m(e,s,r)}},Y=new i({target:e._target,life:w,loop:e._loop,delay:e._delay,onframe:U,ondestroy:n});return t&&"spline"!==t&&(Y.easing=t),Y}}}var b=function(e,t,n,i){this._tracks={},this._target=e,this._loop=t||!1,this._getter=n||l,this._setter=i||u,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(e,t){var n=this._tracks;for(var i in t)if(t.hasOwnProperty(i)){if(!n[i]){n[i]=[];var r=this._getter(this._target,i);if(null==r)continue;0!==e&&n[i].push({time:0,value:m(r)})}n[i].push({time:e,value:t[i]})}return this},during:function(e){return this._onframeList.push(e),this},pause:function(){for(var e=0;e=r.length||e===r[e.depth]){var o=v(l,x,e,t,S,a);u(e,o,n,i,r,a)}}))}else g=h(x,e),e.setVisual("color",g)}}function c(e,t,n,i){var r=o.extend({},t);return o.each(["color","colorAlpha","colorSaturation"],(function(o){var a=e.get(o,!0);null==a&&n&&(a=n[o]),null==a&&(a=t[o]),null==a&&(a=i.get(o)),null!=a&&(r[o]=a)})),r}function h(e){var t=f(e,"color");if(t){var n=f(e,"colorAlpha"),i=f(e,"colorSaturation");return i&&(t=r.modifyHSL(t,null,null,i)),n&&(t=r.modifyAlpha(t,n)),t}}function d(e,t){return null!=t?r.modifyHSL(t,null,null,e):null}function f(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function p(e,t,n,r,o,a){if(a&&a.length){var s=g(t,"color")||null!=o.color&&"none"!==o.color&&(g(t,"colorAlpha")||g(t,"colorSaturation"));if(s){var l=t.get("visualMin"),u=t.get("visualMax"),c=n.dataExtent.slice();null!=l&&lc[1]&&(c[1]=u);var h=t.get("colorMappingBy"),d={type:s.name,dataExtent:c,visual:s.range};"color"!==d.type||"index"!==h&&"id"!==h?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var f=new i(d);return f.__drColorMappingBy=h,f}}}function g(e,t){var n=e.get(t);return a(n)&&n.length?{name:t,range:n}:null}function v(e,t,n,i,r,a){var s=o.extend({},t);if(r){var l=r.type,u="color"===l&&r.__drColorMappingBy,c="index"===u?i:"id"===u?a.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));s[l]=r.mapValueToVisual(c)}return s}e.exports=l},"0483":function(e,t,n){var i=n("e1d0"),r=i.extend({type:"timeline"});e.exports=r},"054e":function(e,t,n){var i=n("cbe1"),r=n("9bc4"),o=n("9a33"),a=n("143f"),s=n("efdc"),l=n("0e18");l.getLayoutRect;t.getLayoutRect=l.getLayoutRect;var u=n("a4bb"),c=u.enableDataStack,h=u.isDimensionStacked,d=u.getStackedDimension,f=n("1fe7");t.completeDimensions=f;var p=n("7ead");t.createDimensions=p;var g=n("df7d");function v(e){return r(e.getSource(),e)}t.createSymbol=g.createSymbol;var m={isDimensionStacked:h,enableDataStack:c,getStackedDimension:d};function y(e,t){var n=t;s.isInstance(t)||(n=new s(t),i.mixin(n,a));var r=o.createScaleByModel(n);return r.setExtent(e[0],e[1]),o.niceScaleExtent(r,n),r}function x(e){i.mixin(e,a)}t.createList=v,t.dataStack=m,t.createScale=y,t.mixinAxisModelCommonMethods=x},"05d4":function(e,t,n){var i=n("cbe1"),r=i.each,o=n("0afd"),a=o.simpleLayout,s=o.simpleLayoutEdge;function l(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),n=e.coordinateSystem;if(n&&"view"!==n.type){var i=e.getData(),o=[];r(n.dimensions,(function(e){o=o.concat(i.mapDimension(e,!0))}));for(var l=0;lr[n+t]&&(t=a),o&=i.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}}}t.register=s,t.unregister=l,t.generateCoordId=u},"06c6":function(e,t,n){var i=n("e694"),r=n("10e8"),o=r.ContextCachedBy,a=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],s=function(e){this.extendFrom(e,!1)};function l(e,t,n){var i=null==t.x?0:t.x,r=null==t.x2?1:t.x2,o=null==t.y?0:t.y,a=null==t.y2?0:t.y2;t.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=isNaN(i)?0:i,r=isNaN(r)?1:r,o=isNaN(o)?0:o,a=isNaN(a)?0:a;var s=e.createLinearGradient(i,o,r,a);return s}function u(e,t,n){var i=n.width,r=n.height,o=Math.min(i,r),a=null==t.x?.5:t.x,s=null==t.y?.5:t.y,l=null==t.r?.5:t.r;t.global||(a=a*i+n.x,s=s*r+n.y,l*=o);var u=e.createRadialGradient(a,s,0,a,s,l);return u}s.prototype={constructor:s,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(e,t,n){var r=this,s=n&&n.style,l=!s||e.__attrCachedBy!==o.STYLE_BIND;e.__attrCachedBy=o.STYLE_BIND;for(var u=0;u0},extendFrom:function(e,t){if(e)for(var n in e)!e.hasOwnProperty(n)||!0!==t&&(!1===t?this.hasOwnProperty(n):null==e[n])||(this[n]=e[n])},set:function(e,t){"string"===typeof e?this[e]=t:this.extendFrom(e,!0)},clone:function(){var e=new this.constructor;return e.extendFrom(this,!0),e},getGradient:function(e,t,n){for(var i="radial"===t.type?u:l,r=i(e,t,n),o=t.colorStops,a=0;a=0&&(n.splice(i,0,e),this._doAdd(e))}return this},_doAdd:function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__storage,n=this.__zr;t&&t!==e.__storage&&(t.addToStorage(e),e instanceof a&&e.addChildrenToStorage(t)),n&&n.refresh()},remove:function(e){var t=this.__zr,n=this.__storage,r=this._children,o=i.indexOf(r,e);return o<0?this:(r.splice(o,1),e.parent=null,n&&(n.delFromStorage(e),e instanceof a&&e.delChildrenFromStorage(n)),t&&t.refresh(),this)},removeAll:function(){var e,t,n=this._children,i=this.__storage;for(t=0;t=0&&(l[s]=+l[s].toFixed(f)),l}var h=i.curry,d={min:h(c,"min"),max:h(c,"max"),average:h(c,"average")};function f(e,t){var n=e.getData(),r=e.coordinateSystem;if(t&&!u(t)&&!i.isArray(t.coord)&&r){var o=r.dimensions,a=p(t,n,r,e);if(t=i.clone(t),t.type&&d[t.type]&&a.baseAxis&&a.valueAxis){var l=s(o,a.baseAxis.dim),c=s(o,a.valueAxis.dim);t.coord=d[t.type](n,a.baseDataDim,a.valueDataDim,l,c),t.value=t.coord[c]}else{for(var h=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis],f=0;f<2;f++)d[h[f]]&&(h[f]=y(n,n.mapDimension(o[f]),h[f]));t.coord=h}}return t}function p(e,t,n,i){var r={};return null!=e.valueIndex||null!=e.valueDim?(r.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,r.valueAxis=n.getAxis(g(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=t.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=t.mapDimension(r.baseAxis.dim),r.valueDataDim=t.mapDimension(r.valueAxis.dim)),r}function g(e,t){var n=e.getData(),i=n.dimensions;t=n.getDimension(t);for(var r=0;rx?"left":"right",f=Math.abs(h[1]-_)/y<.3?"middle":h[1]>_?"top":"bottom"}return{position:h,align:d,verticalAlign:f}}var d={line:function(e,t,n,i,r){return"angle"===e.dim?{type:"Line",shape:a.makeLineShape(t.coordToPoint([i[0],n]),t.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,i,r){var o=Math.max(1,e.getBandWidth()),s=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:a.makeSectorShape(t.cx,t.cy,i[0],i[1],(-n-o/2)*s,(o/2-n)*s)}:{type:"Sector",shape:a.makeSectorShape(t.cx,t.cy,n-o/2,n+o/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c);var f=c;e.exports=f},"09fb":function(e,t,n){var i=n("cbe1"),r=n("9e85"),o=n("55ba"),a=n("9fb1"),s=r.prototype,l=a.prototype,u=o.getPrecisionSafe,c=o.round,h=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 a},getTicks:function(){var e=this._originalScale,t=this._extent,n=e.getExtent();return i.map(l.getTicks.call(this),(function(i){var r=o.round(f(this.base,i));return r=i===t[0]&&e.__fixMin?v(r,n[0]):r,r=i===t[1]&&e.__fixMax?v(r,n[1]):r,r}),this)},getLabel:l.getLabel,scale:function(e){return e=s.scale.call(this,e),f(this.base,e)},setExtent:function(e,t){var n=this.base;e=p(e)/p(n),t=p(t)/p(n),l.setExtent.call(this,e,t)},getExtent:function(){var e=this.base,t=s.getExtent.call(this);t[0]=f(e,t[0]),t[1]=f(e,t[1]);var n=this._originalScale,i=n.getExtent();return n.__fixMin&&(t[0]=v(t[0],i[0])),n.__fixMax&&(t[1]=v(t[1],i[1])),t},unionExtent:function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=p(e[0])/p(t),e[1]=p(e[1])/p(t),s.unionExtent.call(this,e)},unionExtentFromData:function(e,t){this.unionExtent(e.getApproximateExtent(t))},niceTicks:function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var i=o.quantity(n),r=e/n*i;r<=.5&&(i*=10);while(!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0)i*=10;var a=[o.round(d(t[0]/i)*i),o.round(h(t[1]/i)*i)];this._interval=i,this._niceExtent=a}},niceExtent:function(e){l.niceExtent.call(this,e);var t=this._originalScale;t.__fixMin=e.fixMin,t.__fixMax=e.fixMax}});function v(e,t){return c(e,u(t))}i.each(["contain","normalize"],(function(e){g.prototype[e]=function(t){return t=p(t)/p(this.base),s[e].call(this,t)}})),g.create=function(){return new g};var m=g;e.exports=m},"0a20":function(e,t,n){var i=n("cbe1"),r=n("df7d"),o=r.createSymbol,a=n("2dda"),s=n("55ba"),l=s.parsePercent,u=n("3647"),c=u.getDefaultLabel;function h(e,t,n){a.Group.call(this),this.updateData(e,t,n)}var d=h.prototype,f=h.getSymbolSize=function(e,t){var n=e.getItemVisual(t,"symbolSize");return n instanceof Array?n.slice():[+n,+n]};function p(e){return[e[0]/2,e[1]/2]}function g(e,t){this.parent.drift(e,t)}d._createSymbol=function(e,t,n,i,r){this.removeAll();var a=t.getItemVisual(n,"color"),s=o(e,-1,-1,2,2,a,r);s.attr({z2:100,culling:!0,scale:p(i)}),s.drift=g,this._symbolType=e,this.add(s)},d.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(e)},d.getSymbolPath=function(){return this.childAt(0)},d.getScale=function(){return this.childAt(0).scale},d.highlight=function(){this.childAt(0).trigger("emphasis")},d.downplay=function(){this.childAt(0).trigger("normal")},d.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},d.setDraggable=function(e){var t=this.childAt(0);t.draggable=e,t.cursor=e?"move":t.cursor},d.updateData=function(e,t,n){this.silent=!1;var i=e.getItemVisual(t,"symbol")||"circle",r=e.hostModel,o=f(e,t),s=i!==this._symbolType;if(s){var l=e.getItemVisual(t,"symbolKeepAspect");this._createSymbol(i,e,t,o,l)}else{var u=this.childAt(0);u.silent=!1,a.updateProps(u,{scale:p(o)},r,t)}if(this._updateCommon(e,t,o,n),s){u=this.childAt(0);var c=n&&n.fadeIn,h={scale:u.scale.slice()};c&&(h.style={opacity:u.style.opacity}),u.scale=[0,0],c&&(u.style.opacity=0),a.initProps(u,h,r,t)}this._seriesModel=r};var v=["itemStyle"],m=["emphasis","itemStyle"],y=["label"],x=["emphasis","label"];function _(e,t){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===t){var n=this.__symbolOriginalScale,i=n[1]/n[0],r={scale:[Math.max(1.1*n[0],n[0]+3),Math.max(1.1*n[1],n[1]+3*i)]};this.animateTo(r,400,"elasticOut")}else"normal"===t&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}d._updateCommon=function(e,t,n,r){var o=this.childAt(0),s=e.hostModel,u=e.getItemVisual(t,"color");"image"!==o.type?o.useStyle({strokeNoScale:!0}):o.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var h=r&&r.itemStyle,d=r&&r.hoverItemStyle,f=r&&r.symbolRotate,g=r&&r.symbolOffset,b=r&&r.labelModel,w=r&&r.hoverLabelModel,S=r&&r.hoverAnimation,M=r&&r.cursorStyle;if(!r||e.hasItemOption){var I=r&&r.itemModel?r.itemModel:e.getItemModel(t);h=I.getModel(v).getItemStyle(["color"]),d=I.getModel(m).getItemStyle(),f=I.getShallow("symbolRotate"),g=I.getShallow("symbolOffset"),b=I.getModel(y),w=I.getModel(x),S=I.getShallow("hoverAnimation"),M=I.getShallow("cursor")}else d=i.extend({},d);var A=o.style;o.attr("rotation",(f||0)*Math.PI/180||0),g&&o.attr("position",[l(g[0],n[0]),l(g[1],n[1])]),M&&o.attr("cursor",M),o.setColor(u,r&&r.symbolInnerColor),o.setStyle(h);var T=e.getItemVisual(t,"opacity");null!=T&&(A.opacity=T);var D=e.getItemVisual(t,"liftZ"),P=o.__z2Origin;null!=D?null==P&&(o.__z2Origin=o.z2,o.z2+=D):null!=P&&(o.z2=P,o.__z2Origin=null);var C=r&&r.useNameLabel;function O(t,n){return C?e.getName(t):c(e,t)}a.setLabelStyle(A,d,b,w,{labelFetcher:s,labelDataIndex:t,defaultText:O,isRectText:!0,autoColor:u}),o.__symbolOriginalScale=p(n),o.hoverStyle=d,o.highDownOnUpdate=S&&s.isAnimationEnabled()?_:null,a.setHoverStyle(o)},d.fadeOut=function(e,t){var n=this.childAt(0);this.silent=n.silent=!0,(!t||!t.keepLabel)&&(n.style.text=null),a.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,e)},i.inherits(h,a.Group);var b=h;e.exports=b},"0a6d":function(e,t){var n={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},exponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1,i=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=i/4):t=i*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i))},elasticOut:function(e){var t,n=.1,i=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=i/4):t=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/i)+1)},elasticInOut:function(e){var t,n=.1,i=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=i/4):t=i*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-n.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?.5*n.bounceIn(2*e):.5*n.bounceOut(2*e-1)+.5}},i=n;e.exports=i},"0afd":function(e,t,n){var i=n("dbbd");function r(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=e.getGraph();n.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),o(n)}}function o(e){e.eachEdge((function(e){var t=e.getModel().get("lineStyle.curveness")||0,n=i.clone(e.node1.getLayout()),r=i.clone(e.node2.getLayout()),o=[n,r];+t&&o.push([(n[0]+r[0])/2-(n[1]-r[1])*t,(n[1]+r[1])/2-(r[0]-n[0])*t]),e.setLayout(o)}))}t.simpleLayout=r,t.simpleLayoutEdge=o},"0c6b":function(e,t,n){var i=n("3747"),r=n("c4dd"),o=n("1f86"),a=n("db6e"),s=["x","y"],l=["width","height"],u=i.extend({makeElOption:function(e,t,n,i,a){var s=n.axis,l=s.coordinateSystem,u=d(l,1-h(s)),f=l.dataToPoint(t)[0],p=i.get("type");if(p&&"none"!==p){var g=r.buildElStyle(i),v=c[p](s,f,u);v.style=g,e.graphicKey=v.type,e.pointer=v}var m=o.layout(n);r.buildCartesianSingleLabelElOption(t,e,m,n,i,a)},getHandleTransform:function(e,t,n){var i=o.layout(t,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:r.getTransformedPosition(t.axis,e,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,n,i){var r=n.axis,o=r.coordinateSystem,a=h(r),s=d(o,a),l=e.position;l[a]+=t[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=d(o,1-a),c=(u[1]+u[0])/2,f=[c,c];return f[a]=l[a],{position:l,rotation:e.rotation,cursorPoint:f,tooltipOption:{verticalAlign:"middle"}}}}),c={line:function(e,t,n){var i=r.makeLineShape([t,n[0]],[t,n[1]],h(e));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(e,t,n){var i=e.getBandWidth(),o=n[1]-n[0];return{type:"Rect",shape:r.makeRectShape([t-i/2,n[0]],[i,o],h(e))}}};function h(e){return e.isHorizontal()?0:1}function d(e,t){var n=e.getRect();return[n[s[t]],n[s[t]]+n[l[t]]]}a.registerAxisPointerClass("SingleAxisPointer",u);var f=u;e.exports=f},"0c73":function(e,t,n){n("0e38");var i=n("7a17"),r=i.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});e.exports=r},"0cc3":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("e062"),a=n("2373"),s=n("5a78"),l=n("1ede"),u=n("de7a"),c=n("be69");n("e381");var h=u.toolbox.dataZoom,d=r.each,f="\0_ec_\0toolbox-dataZoom_";function p(e,t,n){(this._brushController=new o(n.getZr())).on("brush",r.bind(this._onBrush,this)).mount(),this._isZoomActive}p.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:r.clone(h.title)};var g=p.prototype;g.render=function(e,t,n,i){this.model=e,this.ecModel=t,this.api=n,x(e,t,this,i,n),y(e,t)},g.onclick=function(e,t,n){v[n].call(this)},g.remove=function(e,t){this._brushController.unmount()},g.dispose=function(e,t){this._brushController.dispose()};var v={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function m(e){var t={};return r.each(["xAxisIndex","yAxisIndex"],(function(n){t[n]=e[n],null==t[n]&&(t[n]="all"),(!1===t[n]||"none"===t[n])&&(t[n]=[])})),t}function y(e,t){e.setIconStatus("back",s.count(t)>1?"emphasis":"normal")}function x(e,t,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var s=new a(m(e.option),t,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(r,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!o&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}g._onBrush=function(e,t){if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]);var r=new a(m(this.model.option),i,{include:["grid"]});r.matchOutputRanges(e,i,(function(e,t,n){if("cartesian2d"===n.type){var i=e.brushType;"rect"===i?(o("x",n,t[0]),o("y",n,t[1])):o({lineX:"x",lineY:"y"}[i],n,t)}})),s.push(i,n),this._dispatchZoomAction(n)}function o(e,t,r){var o=t.getAxis(e),a=o.model,s=u(e,a,i),c=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==c.minValueSpan&&null==c.maxValueSpan||(r=l(0,r.slice(),o.scale.getExtent(),0,c.minValueSpan,c.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}function u(e,t,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var r=n.getAxisModel(e,t.componentIndex);r&&(i=n)})),i}},g._dispatchZoomAction=function(e){var t=[];d(e,(function(e,n){t.push(r.clone(e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},c.register("dataZoom",p),i.registerPreprocessor((function(e){if(e){var t=e.dataZoom||(e.dataZoom=[]);r.isArray(t)||(e.dataZoom=t=[t]);var n=e.toolbox;if(n&&(r.isArray(n)&&(n=n[0]),n&&n.feature)){var i=n.feature.dataZoom;o("xAxis",i),o("yAxis",i)}}function o(e,n){if(n){var i=e+"Index",o=n[i];null==o||"all"===o||r.isArray(o)||(o=!1===o||"none"===o?[]:[o]),a(e,(function(a,s){if(null==o||"all"===o||-1!==r.indexOf(o,s)){var l={type:"select",$fromToolbox:!0,filterMode:n.filterMode||"filter",id:f+e+s};l[i]=s,t.push(l)}}))}}function a(t,n){var i=e[t];r.isArray(i)||(i=i?[i]:[]),d(i,n)}}));var _=p;e.exports=_},"0e08":function(e,t,n){var i=n("cbe1"),r=n("11a2"),o=r.Dispatcher,a=n("8ec2"),s=n("042f"),l=function(e){e=e||{},this.stage=e.stage||{},this.onframe=e.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,o.call(this)};l.prototype={constructor:l,addClip:function(e){this._clips.push(e)},addAnimator:function(e){e.animation=this;for(var t=e.getClips(),n=0;n=0&&this._clips.splice(t,1)},removeAnimator:function(e){for(var t=e.getClips(),n=0;ni||l.newline?(o=0,c=v,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var m=f.height+(g?-g.y+f.y:0);h=a+m,h>r||l.newline?(o+=s+n,a=0,h=m,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=o,d[1]=a,"horizontal"===e?o=c+n:a=h+n)}))}var d=h,f=i.curry(h,"vertical"),p=i.curry(h,"horizontal");function g(e,t,n){var i=t.width,r=t.height,o=a(e.x,i),l=a(e.y,r),u=a(e.x2,i),c=a(e.y2,r);return(isNaN(o)||isNaN(parseFloat(e.x)))&&(o=0),(isNaN(u)||isNaN(parseFloat(e.x2)))&&(u=i),(isNaN(l)||isNaN(parseFloat(e.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(e.y2)))&&(c=r),n=s.normalizeCssArray(n||0),{width:Math.max(u-o-n[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}}function v(e,t,n){n=s.normalizeCssArray(n||0);var i=t.width,o=t.height,l=a(e.left,i),u=a(e.top,o),c=a(e.right,i),h=a(e.bottom,o),d=a(e.width,i),f=a(e.height,o),p=n[2]+n[0],g=n[1]+n[3],v=e.aspect;switch(isNaN(d)&&(d=i-c-g-l),isNaN(f)&&(f=o-h-p-u),null!=v&&(isNaN(d)&&isNaN(f)&&(v>i/o?d=.8*i:f=.8*o),isNaN(d)&&(d=v*f),isNaN(f)&&(f=d/v)),isNaN(l)&&(l=i-c-d-g),isNaN(u)&&(u=o-h-f-p),e.left||e.right){case"center":l=i/2-d/2-n[3];break;case"right":l=i-d-g;break}switch(e.top||e.bottom){case"middle":case"center":u=o/2-f/2-n[0];break;case"bottom":u=o-f-p;break}l=l||0,u=u||0,isNaN(d)&&(d=i-g-l-(c||0)),isNaN(f)&&(f=o-p-u-(h||0));var m=new r(l+n[3],u+n[0],d,f);return m.margin=n,m}function m(e,t,n,o,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],u=a&&a.boundingMode||"all";if(s||l){var c;if("raw"===u)c="group"===e.type?new r(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(c=e.getBoundingRect(),e.needLocalTransform()){var h=e.getLocalTransform();c=c.clone(),c.applyTransform(h)}t=v(i.defaults({width:c.width,height:c.height},t),n,o);var d=e.position,f=s?t.x-c.x:0,p=l?t.y-c.y:0;e.attr("position","raw"===u?[f,p]:[d[0]+f,d[1]+p])}}function y(e,t){return null!=e[c[t][0]]||null!=e[c[t][1]]&&null!=e[c[t][2]]}function x(e,t,n){!i.isObject(n)&&(n={});var r=n.ignoreSize;!i.isArray(r)&&(r=[r,r]);var o=s(c[0],0),a=s(c[1],1);function s(n,i){var o={},a=0,s={},c=0,d=2;if(l(n,(function(t){s[t]=e[t]})),l(n,(function(e){u(t,e)&&(o[e]=s[e]=t[e]),h(o,e)&&a++,h(s,e)&&c++})),r[i])return h(t,n[1])?s[n[2]]=null:h(t,n[2])&&(s[n[1]]=null),s;if(c!==d&&a){if(a>=d)return o;for(var f=0;f>1)%2;s.cssText=["position:absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}return n}function p(e,t){for(var n=t.transformer,i=t.srcCoords,r=!0,o=[],s=[],l=0;l<4;l++){var u=e[l].getBoundingClientRect(),c=2*l,h=u.left,d=u.top;o.push(h,d),r&=i&&h===i[c]&&d===i[c+1],s.push(e[l].offsetLeft,e[l].offsetTop)}return r?n:(t.srcCoords=o,t.transformer=a(o,s))}function g(e,t,n){if(t=t||window.event,null!=t.zrX)return t;var i=t.type,r=i&&i.indexOf("touch")>=0;if(r){var o="touchend"!==i?t.targetTouches[0]:t.changedTouches[0];o&&h(e,o,t,n)}else h(e,t,t,n),t.zrDelta=t.wheelDelta?t.wheelDelta/120:-(t.detail||0)/3;var a=t.button;return null==t.which&&void 0!==a&&l.test(t.type)&&(t.which=1&a?1:2&a?3:4&a?2:0),t}function v(e,t,n){s?e.addEventListener(t,n):e.attachEvent("on"+t,n)}function m(e,t,n){s?e.removeEventListener(t,n):e.detachEvent("on"+t,n)}var y=s?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0};function x(e){return 2===e.which||3===e.which}function _(e){return e.which>1}t.clientToLocal=h,t.normalizeEvent=g,t.addEventListener=v,t.removeEventListener=m,t.stop=y,t.isMiddleOrRightButtonOnMouseUpDown=x,t.notLeftMouse=_},"11db":function(e,t,n){var i=n("333f");n("f399"),n("6d8a"),n("6cbc");var r=n("044e"),o=n("64e3");i.registerVisual(r),i.registerLayout(o)},"121d":function(e,t,n){var i=n("cbe1"),r=n("dbbd"),o=n("6b0b"),a=n("1bb8"),s=n("ecef"),l=r.applyTransform;function u(){s.call(this)}function c(e){this.name=e,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function h(e,t,n,i){var r=n.seriesModel,o=r?r.coordinateSystem:null;return o===this?o[e](i):null}i.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(e,t,n,i){return this._rect=new a(e,t,n,i),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(e,t,n,i){this.transformTo(e,t,n,i),this._viewRect=new a(e,t,n,i)},transformTo:function(e,t,n,i){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new a(e,t,n,i)),o.decomposeTransform(),this._updateTransform()},setCenter:function(e){e&&(this._center=e,this._updateCenterAndZoom())},setZoom:function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},getDefaultCenter:function(){var e=this.getBoundingRect(),t=e.x+e.width/2,n=e.y+e.height/2;return[t,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),o=this.getZoom();i=r.applyTransform([],i,e),n=r.applyTransform([],n,e),t.origin=i,t.position=[n[0]-i[0],n[1]-i[1]],t.scale=[o,o],this._updateTransform()},_updateTransform:function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),o.copy(this.transform||(this.transform=[]),t.transform||o.create()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],o.invert(this.invTransform,this.transform),this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},dataToPoint:function(e,t,n){var i=t?this._rawTransform:this.transform;return n=n||[],i?l(n,e,i):r.copy(n,e)},pointToData:function(e){var t=this.invTransform;return t?l([],e,t):[e[0],e[1]]},convertToPixel:i.curry(h,"dataToPoint"),convertFromPixel:i.curry(h,"pointToData"),containPoint:function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])}},i.mixin(c,s);var d=c;e.exports=d},1276:function(e,t,n){"use strict";var i=n("d784"),r=n("44e7"),o=n("825a"),a=n("1d80"),s=n("4840"),l=n("8aa5"),u=n("50c4"),c=n("14c3"),h=n("9263"),d=n("d039"),f=[].push,p=Math.min,g=4294967295,v=!d((function(){return!RegExp(g,"y")}));i("split",2,(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(a(this)),o=void 0===n?g:n>>>0;if(0===o)return[];if(void 0===e)return[i];if(!r(e))return t.call(i,e,o);var s,l,u,c=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,v=new RegExp(e.source,d+"g");while(s=h.call(v,i)){if(l=v.lastIndex,l>p&&(c.push(i.slice(p,s.index)),s.length>1&&s.index=o))break;v.lastIndex===s.index&&v.lastIndex++}return p===i.length?!u&&v.test("")||c.push(""):c.push(i.slice(p)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=a(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,r,n):i.call(String(r),t,n)},function(e,r){var a=n(i,e,this,r,i!==t);if(a.done)return a.value;var h=o(e),d=String(this),f=s(h,RegExp),m=h.unicode,y=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(v?"y":"g"),x=new f(v?h:"^(?:"+h.source+")",y),_=void 0===r?g:r>>>0;if(0===_)return[];if(0===d.length)return null===c(x,d)?[d]:[];var b=0,w=0,S=[];while(w=t||n<0||m&&i>=h}function S(){var e=r();if(w(e))return M(e);f=setTimeout(S,b(e))}function M(e){return f=void 0,y&&u?x(e):(u=c=void 0,d)}function I(){void 0!==f&&clearTimeout(f),g=0,u=p=c=f=void 0}function A(){return void 0===f?d:M(r())}function T(){var e=r(),n=w(e);if(u=arguments,c=this,p=e,n){if(void 0===f)return _(p);if(m)return clearTimeout(f),f=setTimeout(S,t),x(p)}return void 0===f&&(f=setTimeout(S,t)),d}return t=o(t)||0,i(n)&&(v=!!n.leading,m="maxWait"in n,h=m?s(o(n.maxWait)||0,t):h,y="trailing"in n?!!n.trailing:y),T.cancel=I,T.flush=A,T}e.exports=u},"13d8":function(e,t,n){var i=n("333f"),r=n("fde7"),o=r.updateCenterAndZoom;i.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var n=e.dataIndex,i=t.getData().tree,r=i.getNodeByDataIndex(n);r.isExpand=!r.isExpand}))})),i.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var n=t.coordinateSystem,i=o(n,e);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)}))}))},1431:function(e,t,n){var i=n("cbe1"),r=i.createHashMap,o=i.isTypedArray,a=n("43d3"),s=a.enableClassCheck,l=n("6178"),u=l.SOURCE_FORMAT_ORIGINAL,c=l.SERIES_LAYOUT_BY_COLUMN,h=l.SOURCE_FORMAT_UNKNOWN,d=l.SOURCE_FORMAT_TYPED_ARRAY,f=l.SOURCE_FORMAT_KEYED_COLUMNS;function p(e){this.fromDataset=e.fromDataset,this.data=e.data||(e.sourceFormat===f?{}:[]),this.sourceFormat=e.sourceFormat||h,this.seriesLayoutBy=e.seriesLayoutBy||c,this.dimensionsDefine=e.dimensionsDefine,this.encodeDefine=e.encodeDefine&&r(e.encodeDefine),this.startIndex=e.startIndex||0,this.dimensionsDetectCount=e.dimensionsDetectCount}p.seriesDataToSource=function(e){return new p({data:e,sourceFormat:o(e)?d:u,fromDataset:!1})},s(p);var g=p;e.exports=g},"143f":function(e,t,n){var i=n("cbe1"),r={getMin:function(e){var t=this.option,n=e||null==t.rangeStart?t.min:t.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&"function"!==typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(e){var t=this.option,n=e||null==t.rangeEnd?t.max:t.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&"function"!==typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var e=this.option;return null==e.rangeStart&&null==e.rangeEnd&&!e.scale},getCoordSysModel:i.noop,setRange:function(e,t){this.option.rangeStart=e,this.option.rangeEnd=t},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};e.exports=r},"14a4":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("1bb8"),a=n("fd6c"),s=n("771f"),l=n("4dbf"),u=n("2373"),c=["inBrush","outOfBrush"],h="__ecBrushSelect",d="__ecInBrushSelectEvent",f=i.PRIORITY.VISUAL.BRUSH;function p(e,t,n,i,r){if(r){var o=e.getZr();if(!o[d]){o[h]||(o[h]=g);var a=l.createOrUpdate(o,h,n,t);a(e,i)}}}function g(e,t){if(!e.isDisposed()){var n=e.getZr();n[d]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[d]=!1}}function v(e,t,n,i){for(var r=0,o=t.length;rt[0][1]&&(t[0][1]=o[0]),o[1]t[1][1]&&(t[1][1]=o[1])}return t&&b(t)}};function b(e){return new o(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}},"14eb":function(e,t,n){var i=n("2dda"),r=n("e8c2"),o=.3,a=r.extend({type:"parallel",init:function(){this._dataGroup=new i.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(e,t,n,r){var o=this._dataGroup,a=e.getData(),d=this._data,f=e.coordinateSystem,p=f.dimensions,g=c(e);function v(e){var t=u(a,o,e,p,f);h(t,a,e,g)}function m(t,n){var o=d.getItemGraphicEl(n),s=l(a,t,p,f);a.setItemGraphicEl(t,o);var u=r&&!1===r.animation?null:e;i.updateProps(o,{shape:{points:s}},u,t),h(o,a,t,g)}function y(e){var t=d.getItemGraphicEl(e);o.remove(t)}if(a.diff(d).add(v).update(m).remove(y).execute(),!this._initialized){this._initialized=!0;var x=s(f,e,(function(){setTimeout((function(){o.removeClipPath()}))}));o.setClipPath(x)}this._data=a},incrementalPrepareRender:function(e,t,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(e,t,n){for(var i=t.getData(),r=t.coordinateSystem,o=r.dimensions,a=c(t),s=e.start;s1&&i&&i.length>1){var s=o(i)/o(r);!isFinite(s)&&(s=1),t.pinchScale=s;var l=a(i);return t.pinchX=l[0],t.pinchY=l[1],{type:"pinch",target:e[0].target,event:t}}}}},l=r;e.exports=l},1682:function(e,t,n){var i=n("cbe1"),r=n("1bb8"),o=n("6b0b"),a=n("2dda"),s=n("0e18"),l=n("0483"),u=n("fa3d"),c=n("df7d"),h=c.createSymbol,d=n("9a33"),f=n("55ba"),p=n("4ae0"),g=p.encodeHTML,v=i.bind,m=i.each,y=Math.PI,x=l.extend({type:"timeline.slider",init:function(e,t){this.api=t,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(e,t,n,i){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var r=this._layout(e,n),o=this._createGroup("mainGroup"),a=this._createGroup("labelGroup"),s=this._axis=this._createAxis(r,e);e.formatTooltip=function(e){return g(s.scale.getLabel(e))},m(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](r,o,s,e)}),this),this._renderAxisLabel(r,a,s,e),this._position(r,e)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(e,t){var n=e.get("label.position"),i=e.get("orient"),r=_(e,t);null==n||"auto"===n?n="horizontal"===i?r.y+r.height/2=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:y/2},d="vertical"===i?r.height:r.width,f=e.getModel("controlStyle"),p=f.get("show",!0),g=p?f.get("itemSize"):0,v=p?f.get("itemGap"):0,m=g+v,x=e.get("label.rotate")||0;x=x*y/180;var b=f.get("position",!0),w=p&&f.get("showPlayBtn",!0),S=p&&f.get("showPrevBtn",!0),M=p&&f.get("showNextBtn",!0),I=0,A=d;return"left"===b||"bottom"===b?(w&&(o=[0,0],I+=m),S&&(a=[I,0],I+=m),M&&(s=[A-g,0],A-=m)):(w&&(o=[A-g,0],A-=m),S&&(a=[0,0],I+=m),M&&(s=[A-g,0],A-=m)),l=[I,A],e.get("inverse")&&l.reverse(),{viewRect:r,mainLength:d,orient:i,rotation:h[i],labelRotation:x,labelPosOpt:n,labelAlign:e.get("label.align")||u[i],labelBaseline:e.get("label.verticalAlign")||e.get("label.baseline")||c[i],playPosition:o,prevBtnPosition:a,nextBtnPosition:s,axisExtent:l,controlSize:g,controlGap:v}},_position:function(e,t){var n=this._mainGroup,i=this._labelGroup,r=e.viewRect;if("vertical"===e.orient){var a=o.create(),s=r.x,l=r.y+r.height;o.translate(a,a,[-s,-l]),o.rotate(a,a,-y/2),o.translate(a,a,[s,l]),r=r.clone(),r.applyTransform(a)}var u=m(r),c=m(n.getBoundingRect()),h=m(i.getBoundingRect()),d=n.position,f=i.position;f[0]=d[0]=u[0][0];var p=e.labelPosOpt;if(isNaN(p)){var g="+"===p?0:1;x(d,c,u,1,g),x(f,h,u,1,1-g)}else{g=p>=0?0:1;x(d,c,u,1,g),f[1]=d[1]+p}function v(e){var t=e.position;e.origin=[u[0][0]-t[0],u[1][0]-t[1]]}function m(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function x(e,t,n,i,r){e[i]+=n[i][r]-t[i][r]}n.attr("position",d),i.attr("position",f),n.rotation=i.rotation=e.rotation,v(n),v(i)},_createAxis:function(e,t){var n=t.getData(),i=t.get("axisType"),r=d.createScaleByModel(t,i);r.getTicks=function(){return n.mapArray(["value"],(function(e){return e}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.niceTicks();var a=new u("value",r,e.axisExtent,i);return a.model=t,a},_createGroup:function(e){var t=this["_"+e]=new a.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,n,r){var o=n.getExtent();r.get("lineStyle.show")&&t.add(new a.Line({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:i.extend({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,n,i){var r=i.getData(),o=n.scale.getTicks();m(o,(function(e){var o=n.dataToCoord(e),s=r.getItemModel(e),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[o,0],onclick:v(this._changeTimeline,this,e)},h=w(s,l,t,c);a.setHoverStyle(h,u.getItemStyle()),s.get("tooltip")?(h.dataIndex=e,h.dataModel=i):h.dataIndex=h.dataModel=null}),this)},_renderAxisLabel:function(e,t,n,i){var r=n.getLabelModel();if(r.get("show")){var o=i.getData(),s=n.getViewLabels();m(s,(function(i){var r=i.tickValue,s=o.getItemModel(r),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=n.dataToCoord(i.tickValue),h=new a.Text({position:[c,0],rotation:e.labelRotation-e.rotation,onclick:v(this._changeTimeline,this,r),silent:!1});a.setTextStyle(h.style,l,{text:i.formattedLabel,textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline}),t.add(h),a.setHoverStyle(h,a.setTextStyle({},u))}),this)}},_renderControl:function(e,t,n,i){var r=e.controlSize,o=e.rotation,s=i.getModel("controlStyle").getItemStyle(),l=i.getModel("emphasis.controlStyle").getItemStyle(),u=[0,-r/2,r,r],c=i.getPlayState(),h=i.get("inverse",!0);function d(e,n,c,h){if(e){var d={position:e,origin:[r/2,0],rotation:h?-o:0,rectHover:!0,style:s,onclick:c},f=b(i,n,u,d);t.add(f),a.setHoverStyle(f,l)}}d(e.nextBtnPosition,"controlStyle.nextIcon",v(this._changeTimeline,this,h?"-":"+")),d(e.prevBtnPosition,"controlStyle.prevIcon",v(this._changeTimeline,this,h?"+":"-")),d(e.playPosition,"controlStyle."+(c?"stopIcon":"playIcon"),v(this._handlePlayClick,this,!c),!0)},_renderCurrentPointer:function(e,t,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=v(s._handlePointerDrag,s),e.ondragend=v(s._handlePointerDragend,s),S(e,o,n,i,!0)},onUpdate:function(e){S(e,o,n,i)}};this._currentPointer=w(a,a,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var n=this._toAxisCoord(e)[0],i=this._axis,r=f.asc(i.getExtent().slice());n>r[1]&&(n=r[1]),n1?arguments[1]:void 0)}:[].forEach},"180c":function(e,t,n){var i=n("fb14"),r=new i(50);function o(e){if("string"===typeof e){var t=r.get(e);return t&&t.image}return e}function a(e,t,n,i,o){if(e){if("string"===typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var a=r.get(e),u={hostEl:n,cb:i,cbPayload:o};return a?(t=a.image,!l(t)&&a.pending.push(u)):(t=new Image,t.onload=t.onerror=s,r.put(e,t.__cachedImgObj={image:t,pending:[u]}),t.src=t.__zrImageSrc=e),t}return e}return t}function s(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;to[1]&&o.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:o[1],r0:o[0]},api:{coord:i.bind((function(i){var r=t.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=e.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a})),size:i.bind(r,e)}}}e.exports=o},"19b6":function(e,t,n){var i=n("c07c"),r=n("0e18"),o=r.mergeLayoutParam,a=r.getLayoutParams,s=i.extend({type:"legend.scroll",setScrollDataIndex:function(e){this.option.scrollDataIndex=e},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(e,t,n,i){var r=a(e);s.superCall(this,"init",e,t,n,i),l(this,e,r)},mergeOption:function(e,t){s.superCall(this,"mergeOption",e,t),l(this,this.option,e)}});function l(e,t,n){var i=e.getOrient(),r=[1,1];r[i.index]=0,o(t,n,{type:"box",ignoreSize:r})}var u=s;e.exports=u},"1ad2":function(e,t,n){var i=n("333f"),r=n("7ad8"),o=n("f665"),a=n("440c");i.extendChartView({type:"scatter",render:function(e,t,n){var i=e.getData(),r=this._updateSymbolDraw(i,e);r.updateData(i,{clipShape:this._getClipShape(e)}),this._finished=!0},incrementalPrepareRender:function(e,t,n){var i=e.getData(),r=this._updateSymbolDraw(i,e);r.incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(e,t,n){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,n){var i=e.getData();if(this.group.dirty(),!this._finished||i.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var r=a().reset(e);r.progress&&r.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_getClipShape:function(e){var t=e.coordinateSystem,n=t&&t.getArea&&t.getArea();return e.get("clip",!0)?n:null},_updateSymbolDraw:function(e,t){var n=this._symbolDraw,i=t.pipelineContext,a=i.large;return n&&a===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=a?new o:new r,this._isLargeDraw=a,this.group.removeAll()),this.group.add(n.group),n},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},"1b46":function(e,t,n){var i=n("cbe1"),r=256;function o(){var e=i.createCanvas();this.canvas=e,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}o.prototype={update:function(e,t,n,i,o,a){var s=this._getBrush(),l=this._getGradient(e,o,"inRange"),u=this._getGradient(e,o,"outOfRange"),c=this.pointSize+this.blurSize,h=this.canvas,d=h.getContext("2d"),f=e.length;h.width=t,h.height=n;for(var p=0;p0){var D=a(x)?l:u;x>0&&(x=x*A+M),b[w++]=D[T],b[w++]=D[T+1],b[w++]=D[T+2],b[w++]=D[T+3]*x*256}else w+=4}return d.putImageData(_,0,0),h},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=i.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var r=e.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-t,t,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),e},_getGradient:function(e,t,n){for(var i=this._gradientPixels,r=i[n]||(i[n]=new Uint8ClampedArray(1024)),o=[0,0,0,0],a=0,s=0;s<256;s++)t[n](s/255,!0,o),r[a++]=o[0],r[a++]=o[1],r[a++]=o[2],r[a++]=o[3];return r}};var a=o;e.exports=a},"1b90":function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("4790")),o=n("3a73"),a=n("cbe1"),s=a.concatArray,l=a.mergeAll,u=a.map,c=n("4ae0"),h=c.encodeHTML,d=(n("d1a1"),"undefined"===typeof Uint32Array?Array:Uint32Array),f="undefined"===typeof Float64Array?Array:Float64Array;function p(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=u(t,(function(e){var t=[e[0].coord,e[1].coord],n={coords:t};return e[0].name&&(n.fromName=e[0].name),e[1].name&&(n.toName=e[1].name),l([n,e[0],e[1]])})))}var g=r.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(e){e.data=e.data||[],p(e);var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count)),g.superApply(this,"init",arguments)},mergeOption:function(e){if(e.data=e.data||[],p(e),e.data){var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count))}g.superApply(this,"mergeOption",arguments)},appendData:function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=s(this._flatCoords,t.flatCoords),this._flatCoordsOffset=s(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},_getCoordsFromItemModel:function(e){var t=this.getData().getItemModel(e),n=t.option instanceof Array?t.option:t.getShallow("coords");return n},getLineCoordsCount:function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},getLineCoords:function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*e],i=this._flatCoordsOffset[2*e+1],r=0;r "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),v=g;e.exports=v},"1bb8":function(e,t,n){var i=n("dbbd"),r=n("6b0b"),o=i.applyTransform,a=Math.min,s=Math.max;function l(e,t,n,i){n<0&&(e+=n,n=-n),i<0&&(t+=i,i=-i),this.x=e,this.y=t,this.width=n,this.height=i}l.prototype={constructor:l,union:function(e){var t=a(e.x,this.x),n=a(e.y,this.y);this.width=s(e.x+e.width,this.x+this.width)-t,this.height=s(e.y+e.height,this.y+this.height)-n,this.x=t,this.y=n},applyTransform:function(){var e=[],t=[],n=[],i=[];return function(r){if(r){e[0]=n[0]=this.x,e[1]=i[1]=this.y,t[0]=i[0]=this.x+this.width,t[1]=n[1]=this.y+this.height,o(e,e,r),o(t,t,r),o(n,n,r),o(i,i,r),this.x=a(e[0],t[0],n[0],i[0]),this.y=a(e[1],t[1],n[1],i[1]);var l=s(e[0],t[0],n[0],i[0]),u=s(e[1],t[1],n[1],i[1]);this.width=l-this.x,this.height=u-this.y}}}(),calculateTransform:function(e){var t=this,n=e.width/t.width,i=e.height/t.height,o=r.create();return r.translate(o,o,[-t.x,-t.y]),r.scale(o,o,[n,i]),r.translate(o,o,[e.x,e.y]),o},intersect:function(e){if(!e)return!1;e instanceof l||(e=l.create(e));var t=this,n=t.x,i=t.x+t.width,r=t.y,o=t.y+t.height,a=e.x,s=e.x+e.width,u=e.y,c=e.y+e.height;return!(i=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height},clone:function(){return new l(this.x,this.y,this.width,this.height)},copy:function(e){this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},l.create=function(e){return new l(e.x,e.y,e.width,e.height)};var u=l;e.exports=u},"1d0c":function(e,t){function n(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries((function(e){for(var n=0;n "+x)),v++)}var _,b=n.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(e,n);else{var w=l.get(b),S=w&&"view"!==w.type&&w.dimensions||[];i.indexOf(S,"value")<0&&S.concat(["value"]);var M=s(e,{coordDimensions:S});_=new r(M,n),_.initData(e)}var I=new r(["value"],n);return I.initData(g,p),h&&h(_,I),a({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:I},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}e.exports=c},"1e44":function(e,t,n){var i=n("cbe1"),r=n("dbbd"),o=n("ac15"),a=n("d453"),s=n("11a2"),l=n("153d"),u="silent";function c(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:h}}function h(e){s.stop(this.event)}function d(){}d.prototype.dispose=function(){};var f=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p=function(e,t,n,i){a.call(this),this.storage=e,this.painter=t,this.painterRoot=i,n=n||new d,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,o.call(this),this.setHandlerProxy(n)};function g(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){var i,r=e;while(r){if(r.clipPath&&!r.clipPath.contain(t,n))return!1;r.silent&&(i=!0),r=r.parent}return!i||u}return!1}p.prototype={constructor:p,setHandlerProxy:function(e){this.proxy&&this.proxy.dispose(),e&&(i.each(f,(function(t){e.on&&e.on(t,this[t],this)}),this),e.handler=this),this.proxy=e},mousemove:function(e){var t=e.zrX,n=e.zrY,i=this._hovered,r=i.target;r&&!r.__zr&&(i=this.findHover(i.x,i.y),r=i.target);var o=this._hovered=this.findHover(t,n),a=o.target,s=this.proxy;s.setCursor&&s.setCursor(a?a.cursor:"default"),r&&a!==r&&this.dispatchToElement(i,"mouseout",e),this.dispatchToElement(o,"mousemove",e),a&&a!==r&&this.dispatchToElement(o,"mouseover",e)},mouseout:function(e){this.dispatchToElement(this._hovered,"mouseout",e);var t,n=e.toElement||e.relatedTarget;do{n=n&&n.parentNode}while(n&&9!==n.nodeType&&!(t=n===this.painterRoot));!t&&this.trigger("globalout",{event:e})},resize:function(e){this._hovered={}},dispatch:function(e,t){var n=this[e];n&&n.call(this,t)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},dispatchToElement:function(e,t,n){e=e||{};var i=e.target;if(!i||!i.silent){var r="on"+t,o=c(t,e,n);while(i)if(i[r]&&(o.cancelBubble=i[r].call(i,o)),i.trigger(t,o),i=i.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(t,o),this.painter&&this.painter.eachOtherLayer((function(e){"function"===typeof e[r]&&e[r].call(e,o),e.trigger&&e.trigger(t,o)})))}},findHover:function(e,t,n){for(var i=this.storage.getDisplayList(),r={x:e,y:t},o=i.length-1;o>=0;o--){var a;if(i[o]!==n&&!i[o].ignore&&(a=g(i[o],e,t))&&(!r.topTarget&&(r.topTarget=i[o]),a!==u)){r.target=i[o];break}}return r},processGesture:function(e,t){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr;"start"===t&&n.clear();var i=n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===t&&n.clear(),i){var r=i.type;e.gestureEvent=r,this.dispatchToElement({target:i.target},r,i.event)}}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){p.prototype[e]=function(t){var n=this.findHover(t.zrX,t.zrY),i=n.target;if("mousedown"===e)this._downEl=i,this._downPoint=[t.zrX,t.zrY],this._upEl=i;else if("mouseup"===e)this._upEl=i;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||r.dist(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,e,t)}})),i.mixin(p,a),i.mixin(p,o);var v=p;e.exports=v},"1e7b":function(e,t,n){var i=n("9bc4"),r=n("4790"),o=r.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(e,t){return i(this.getSource(),this)},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});e.exports=o},"1e92":function(e,t,n){var i=n("cbe1"),r=i.each,o="\0__link_datas",a="\0__link_mainData";function s(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,f(t,n,e),r(n,(function(n){r(t.TRANSFERABLE_METHODS,(function(t){n.wrapMethod(t,i.curry(l,e))}))})),t.wrapMethod("cloneShallow",i.curry(c,e)),r(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,i.curry(u,e))})),i.assert(n[t.dataType]===t)}function l(e,t){if(d(this)){var n=i.extend({},this[o]);n[this.dataType]=t,f(t,n,e)}else p(t,this.dataType,this[a],e);return t}function u(e,t){return e.struct&&e.struct.update(this),t}function c(e,t){return r(t[o],(function(n,i){n!==t&&p(n.cloneShallow(),i,t,e)})),t}function h(e){var t=this[a];return null==e||null==t?t:t[o][e]}function d(e){return e[a]===e}function f(e,t,n){e[o]={},r(t,(function(t,i){p(t,i,e,n)}))}function p(e,t,n,i){n[o][t]=e,e[a]=n,e.dataType=t,i.struct&&(e[i.structAttr]=i.struct,i.struct[i.datasAttr[t]]=e),e.getLinkedData=h}var g=s;e.exports=g},"1ede":function(e,t){function n(e,t,n,o,a,s){e=e||0;var l=n[1]-n[0];if(null!=a&&(a=r(a,[0,l])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===o){var u=Math.abs(t[1]-t[0]);u=r(u,[0,l]),a=s=r(u,[a,s]),o=0}t[0]=r(t[0],n),t[1]=r(t[1],n);var c=i(t,o);t[o]+=e;var h=a||0,d=n.slice();c.sign<0?d[0]+=h:d[1]-=h,t[o]=r(t[o],d);var f=i(t,o);null!=a&&(f.sign!==c.sign||f.spans&&(t[1-o]=t[o]+f.sign*s),t}function i(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function r(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}e.exports=n},"1f86":function(e,t,n){var i=n("cbe1");function r(e,t){t=t||{};var n=e.coordinateSystem,r=e.axis,o={},a=r.position,s=r.orient,l=n.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};o.position=["vertical"===s?c.vertical[a]:u[0],"horizontal"===s?c.horizontal[a]:u[3]];var h={horizontal:0,vertical:1};o.rotation=Math.PI/2*h[s];var d={top:-1,bottom:1,right:1,left:-1};o.labelDirection=o.tickDirection=o.nameDirection=d[a],e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),i.retrieve(t.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var f=t.rotate;return null==f&&(f=e.get("axisLabel.rotate")),o.labelRotation="top"===a?-f:f,o.z2=1,o}t.layout=r},"1fc4":function(e,t,n){var i=n("cbe1"),r=n("d207"),o=n("d36d"),a=n("5c3e"),s=a.makeInner,l=s();function u(e,t){t=t||[0,360],o.call(this,"angle",e,t),this.type="category"}u.prototype={constructor:u,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToAngle:o.prototype.dataToCoord,angleToData:o.prototype.coordToData,calculateCategoryInterval:function(){var e=this,t=e.getLabelModel(),n=e.scale,i=n.getExtent(),o=n.count();if(i[1]-i[0]<1)return 0;var a=i[0],s=e.dataToCoord(a+1)-e.dataToCoord(a),u=Math.abs(s),c=r.getBoundingRect(a,t.getFont(),"center","top"),h=Math.max(c.height,7),d=h/u;isNaN(d)&&(d=1/0);var f=Math.max(0,Math.floor(d)),p=l(e.model),g=p.lastAutoInterval,v=p.lastTickCount;return null!=g&&null!=v&&Math.abs(g-f)<=1&&Math.abs(v-o)<=1&&g>f?f=g:(p.lastTickCount=o,p.lastAutoInterval=f),f}},i.inherits(u,o);var c=u;e.exports=c},"1fdc":function(e,t,n){var i=n("333f");n("3f48"),n("c341"),i.registerPreprocessor((function(e){e.markPoint=e.markPoint||{}}))},"1fe1":function(e,t,n){var i=n("333f");n("1b90"),n("7275");var r=n("8caf"),o=n("60dd");i.registerLayout(r),i.registerVisual(o)},"1fe7":function(e,t,n){var i=n("cbe1"),r=i.createHashMap,o=i.each,a=i.isString,s=i.defaults,l=i.extend,u=i.isObject,c=i.clone,h=n("5c3e"),d=h.normalizeToArray,f=n("a1ee"),p=f.guessOrdinal,g=n("1431"),v=n("0f62"),m=v.OTHER_DIMENSIONS;function y(e,t,n){g.isInstance(t)||(t=g.seriesDataToSource(t)),n=n||{},e=(e||[]).slice();for(var i=(n.dimsDef||[]).slice(),h=r(n.encodeDef),f=r(),v=r(),y=[],b=x(t,e,i,n.dimCount),w=0;w=0)&&e(o,i,r)}))}var p=f.prototype;function g(e){return e[0]>e[1]&&e.reverse(),e}function v(e,t){return a.parseFinder(e,t,{includeMainTypes:d})}p.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,(function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var i=_[e.brushType](0,n,t);e.__rangeOffset={offset:w[e.brushType](i.values,e.range,[1,1]),xyMinMax:i.xyMinMax}}}))},p.matchOutputRanges=function(e,t,n){l(e,(function(e){var i=this.findTargetInfo(e,t);i&&!0!==i&&r.each(i.coordSyses,(function(i){var r=_[e.brushType](1,i,e.range);n(e,r.values,i,t)}))}),this)},p.setInputRanges=function(e,t){l(e,(function(e){var n=this.findTargetInfo(e,t);if(e.range=e.range||[],n&&!0!==n){e.panelId=n.panelId;var i=_[e.brushType](0,n.coordSys,e.coordRange),r=e.__rangeOffset;e.range=r?w[e.brushType](i.values,r.offset,M(i.xyMinMax,r.xyMinMax)):i.values}}),this)},p.makePanelOpts=function(e,t){return r.map(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t&&t(n),clipPath:s.makeRectPanelClipPath(i),isTargetByCursor:s.makeRectIsTargetByCursor(i,e,n.coordSysModel),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(i)}}))},p.controlSeries=function(e,t,n){var i=this.findTargetInfo(e,n);return!0===i||i&&u(i.coordSyses,t.coordinateSystem)>=0},p.findTargetInfo=function(e,t){for(var n=this._targetInfoList,i=v(t,e),r=0;r=0||u(i,e.getAxis("y").model)>=0)&&o.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:o[0],coordSyses:o,getPanelRect:x.grid,xAxisDeclared:s[e.id],yAxisDeclared:c[e.id]})})))},geo:function(e,t){l(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:x.geo})}))}},y=[function(e,t){var n=e.xAxisModel,i=e.yAxisModel,r=e.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],x={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(o.getTransform(e)),t}},_={lineX:c(b,0),lineY:c(b,1),rect:function(e,t,n){var i=t[h[e]]([n[0][0],n[1][0]]),r=t[h[e]]([n[0][1],n[1][1]]),o=[g([i[0],r[0]]),g([i[1],r[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,n){var i=[[1/0,-1/0],[1/0,-1/0]],o=r.map(n,(function(n){var r=t[h[e]](n);return i[0][0]=Math.min(i[0][0],r[0]),i[1][0]=Math.min(i[1][0],r[1]),i[0][1]=Math.max(i[0][1],r[0]),i[1][1]=Math.max(i[1][1],r[1]),r}));return{values:o,xyMinMax:i}}};function b(e,t,n,i){var o=n.getAxis(["x","y"][e]),a=g(r.map([0,1],(function(e){return t?o.coordToData(o.toLocalCoord(i[e])):o.toGlobalCoord(o.dataToCoord(i[e]))}))),s=[];return s[e]=a,s[1-e]=[NaN,NaN],{values:a,xyMinMax:s}}var w={lineX:c(S,0),lineY:c(S,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return r.map(e,(function(e,i){return[e[0]-n[0]*t[i][0],e[1]-n[1]*t[i][1]]}))}};function S(e,t,n,i){return[t[0]-i[e]*n[0],t[1]-i[e]*n[1]]}function M(e,t){var n=I(e),i=I(t),r=[n[0]/i[0],n[1]/i[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}function I(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var A=f;e.exports=A},2423:function(e,t,n){},"24d6":function(e){e.exports=JSON.parse('{"sum_6":{"MA_5":1744503,"MA_10":1693476,"MA_15":1645285,"MA_20":1597488},"sum_7":{"MA_5":1744503,"MA_10":1693476,"MA_15":1645285,"MA_20":1597488},"sum_8":{"MA_5":1744503,"MA_10":1693476,"MA_15":1645285,"MA_20":1597488},"sum_9":{"MA_5":1744503,"MA_10":1693476,"MA_15":1645285,"MA_20":1597488},"sum_10":{"MA_5":1744503,"MA_10":1693476,"MA_15":1645285,"MA_20":1597488}}')},2544:function(e,t,n){var i=n("ed3e"),r=n("dbbd"),o=n("5d11"),a=n("1bb8"),s=n("c5de"),l=s.devicePixelRatio,u={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],h=[],d=[],f=[],p=Math.min,g=Math.max,v=Math.cos,m=Math.sin,y=Math.sqrt,x=Math.abs,_="undefined"!==typeof Float32Array,b=function(e){this._saveData=!e,this._saveData&&(this.data=[]),this._ctx=null};b.prototype={constructor:b,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(e,t,n){n=n||0,this._ux=x(n/l/e)||0,this._uy=x(n/l/t)||0},getContext:function(){return this._ctx},beginPath:function(e){return this._ctx=e,e&&e.beginPath(),e&&(this.dpr=e.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(e,t){return this.addData(u.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},lineTo:function(e,t){var n=x(e-this._xi)>this._ux||x(t-this._yi)>this._uy||this._len<5;return this.addData(u.L,e,t),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(e,t):this._ctx.lineTo(e,t)),n&&(this._xi=e,this._yi=t),this},bezierCurveTo:function(e,t,n,i,r,o){return this.addData(u.C,e,t,n,i,r,o),this._ctx&&(this._needsDash()?this._dashedBezierTo(e,t,n,i,r,o):this._ctx.bezierCurveTo(e,t,n,i,r,o)),this._xi=r,this._yi=o,this},quadraticCurveTo:function(e,t,n,i){return this.addData(u.Q,e,t,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(e,t,n,i):this._ctx.quadraticCurveTo(e,t,n,i)),this._xi=n,this._yi=i,this},arc:function(e,t,n,i,r,o){return this.addData(u.A,e,t,n,n,i,r-i,0,o?0:1),this._ctx&&this._ctx.arc(e,t,n,i,r,o),this._xi=v(r)*n+e,this._yi=m(r)*n+t,this},arcTo:function(e,t,n,i,r){return this._ctx&&this._ctx.arcTo(e,t,n,i,r),this},rect:function(e,t,n,i){return this._ctx&&this._ctx.rect(e,t,n,i),this.addData(u.R,e,t,n,i),this},closePath:function(){this.addData(u.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&(this._needsDash()&&this._dashedLineTo(t,n),e.closePath()),this._xi=t,this._yi=n,this},fill:function(e){e&&e.fill(),this.toStatic()},stroke:function(e){e&&e.stroke(),this.toStatic()},setLineDash:function(e){if(e instanceof Array){this._lineDash=e,this._dashIdx=0;for(var t=0,n=0;nt.length&&(this._expandData(),t=this.data);for(var n=0;n0&&f<=e||c<0&&f>=e||0===c&&(h>0&&v<=t||h<0&&v>=t))i=this._dashIdx,n=a[i],f+=c*n,v+=h*n,this._dashIdx=(i+1)%m,c>0&&fl||h>0&&vu||s[i%2?"moveTo":"lineTo"](c>=0?p(f,e):g(f,e),h>=0?p(v,t):g(v,t));c=f-e,h=v-t,this._dashOffset=-y(c*c+h*h)},_dashedBezierTo:function(e,t,n,r,o,a){var s,l,u,c,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,v=this._xi,m=this._yi,x=i.cubicAt,_=0,b=this._dashIdx,w=p.length,S=0;for(f<0&&(f=d+f),f%=d,s=0;s<1;s+=.1)l=x(v,e,n,o,s+.1)-x(v,e,n,o,s),u=x(m,t,r,a,s+.1)-x(m,t,r,a,s),_+=y(l*l+u*u);for(;bf)break;s=(S-f)/_;while(s<=1)c=x(v,e,n,o,s),h=x(m,t,r,a,s),b%2?g.moveTo(c,h):g.lineTo(c,h),s+=p[b]/_,b=(b+1)%w;b%2!==0&&g.lineTo(o,a),l=o-c,u=a-h,this._dashOffset=-y(l*l+u*u)},_dashedQuadraticTo:function(e,t,n,i){var r=n,o=i;n=(n+2*e)/3,i=(i+2*t)/3,e=(this._xi+2*e)/3,t=(this._yi+2*t)/3,this._dashedBezierTo(e,t,n,i,r,o)},toStatic:function(){var e=this.data;e instanceof Array&&(e.length=this._len,_&&(this.data=new Float32Array(e)))},getBoundingRect:function(){c[0]=c[1]=d[0]=d[1]=Number.MAX_VALUE,h[0]=h[1]=f[0]=f[1]=-Number.MAX_VALUE;for(var e=this.data,t=0,n=0,i=0,s=0,l=0;ll||x(a-r)>c||d===h-1)&&(e.lineTo(o,a),i=o,r=a);break;case u.C:e.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),i=s[d-2],r=s[d-1];break;case u.Q:e.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),i=s[d-2],r=s[d-1];break;case u.A:var p=s[d++],g=s[d++],y=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],I=y>_?y:_,A=y>_?1:y/_,T=y>_?_/y:1,D=Math.abs(y-_)>.001,P=b+w;D?(e.translate(p,g),e.rotate(S),e.scale(A,T),e.arc(0,0,I,b,P,1-M),e.scale(1/A,1/T),e.rotate(-S),e.translate(-p,-g)):e.arc(p,g,I,b,P,1-M),1===d&&(t=v(b)*y+p,n=m(b)*_+g),i=v(P)*y+p,r=m(P)*_+g;break;case u.R:t=i=s[d],n=r=s[d+1],e.rect(s[d++],s[d++],s[d++],s[d++]);break;case u.Z:e.closePath(),i=t,r=n}}}},b.CMD=u;var w=b;e.exports=w},2562:function(e,t,n){},"259b":function(e,t,n){var i=n("285c"),r=i.eachAfter,o=i.eachBefore,a=n("bcda"),s=a.init,l=a.firstWalk,u=a.secondWalk,c=a.separation,h=a.radialCoordinate,d=a.getViewRect;function f(e,t){e.eachSeriesByType("tree",(function(e){p(e,t)}))}function p(e,t){var n=d(e,t);e.layoutInfo=n;var i=e.get("layout"),a=0,f=0,p=null;"radial"===i?(a=2*Math.PI,f=Math.min(n.height,n.width)/2,p=c((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(a=n.width,f=n.height,p=c());var g=e.getData().tree.root,v=g.children[0];if(v){s(g),r(v,l,p),g.hierNode.modifier=-v.hierNode.prelim,o(v,u);var m=v,y=v,x=v;o(v,(function(e){var t=e.getLayout().x;ty.getLayout().x&&(y=e),e.depth>x.depth&&(x=e)}));var _=m===y?1:p(m,y)/2,b=_-m.getLayout().x,w=0,S=0,M=0,I=0;if("radial"===i)w=a/(y.getLayout().x+_+b),S=f/(x.depth-1||1),o(v,(function(e){M=(e.getLayout().x+b)*w,I=(e.depth-1)*S;var t=h(M,I);e.setLayout({x:t.x,y:t.y,rawX:M,rawY:I},!0)}));else{var A=e.getOrient();"RL"===A||"LR"===A?(S=f/(y.getLayout().x+_+b),w=a/(x.depth-1||1),o(v,(function(e){I=(e.getLayout().x+b)*S,M="LR"===A?(e.depth-1)*w:a-(e.depth-1)*w,e.setLayout({x:M,y:I},!0)}))):"TB"!==A&&"BT"!==A||(w=a/(y.getLayout().x+_+b),S=f/(x.depth-1||1),o(v,(function(e){M=(e.getLayout().x+b)*w,I="TB"===A?(e.depth-1)*S:f-(e.depth-1)*S,e.setLayout({x:M,y:I},!0)})))}}}e.exports=f},"25cd":function(e,t,n){var i=n("cbe1"),r=n("c5de"),o=r.devicePixelRatio,a=n("06c6"),s=n("55e2");function l(){return!1}function u(e,t,n){var r=i.createCanvas(),o=t.getWidth(),a=t.getHeight(),s=r.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=o+"px",s.height=a+"px",r.setAttribute("data-zr-dom-id",e)),r.width=o*n,r.height=a*n,r}var c=function(e,t,n){var r;n=n||o,"string"===typeof e?r=u(e,t,n):i.isObject(e)&&(r=e,e=r.id),this.id=e,this.dom=r;var a=r.style;a&&(r.onselectstart=l,a["-webkit-user-select"]="none",a["user-select"]="none",a["-webkit-touch-callout"]="none",a["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",a["padding"]=0,a["margin"]=0,a["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=t,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};c.prototype={constructor:c,__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 e=this.dpr;this.domBack=u("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},resize:function(e,t){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=e+"px",r.height=t+"px"),i.width=e*n,i.height=t*n,o&&(o.width=e*n,o.height=t*n,1!==n&&this.ctxBack.scale(n,n))},clear:function(e,t){var n,i=this.dom,r=this.ctx,o=i.width,l=i.height,u=(t=t||this.clearColor,this.motionBlur&&!e),c=this.lastFrameAlpha,h=this.dpr;(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/h,l/h)),r.clearRect(0,0,o,l),t&&"transparent"!==t)&&(t.colorStops?(n=t.__canvasGradient||a.getGradient(r,t,{x:0,y:0,width:o,height:l}),t.__canvasGradient=n):t.image&&(n=s.prototype.getCanvasPattern.call(t,r)),r.save(),r.fillStyle=n||t,r.fillRect(0,0,o,l),r.restore());if(u){var d=this.domBack;r.save(),r.globalAlpha=c,r.drawImage(d,0,0,o,l),r.restore()}}};var h=c;e.exports=h},2684:function(e,t,n){var i=n("5af3"),r=n("d1a1");function o(e,t){var n=[];return e.eachComponent("singleAxis",(function(r,o){var a=new i(r,e,t);a.name="single_"+o,a.resize(r,t),r.coordinateSystem=a,n.push(a)})),e.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=n&&n.coordinateSystem}})),n}r.register("single",{create:o,dimensions:i.prototype.dimensions})},2703:function(e,t,n){var i=n("d207"),r=Math.PI/180;function o(e,t,n,i,r,o,a){function s(t,n,i,r){for(var o=t;ot&&o+1e[o].y+e[o].height)return void l(o,i/2);l(n-1,i/2)}function l(t,n){for(var i=t;i>=0;i--)if(e[i].y-=n,i>0&&e[i].y>e[i-1].y+e[i-1].height)break}function u(e,t,n,i,r,o){for(var a=t?Number.MAX_VALUE:0,s=0,l=e.length;s=a&&(d=a-10),!t&&d<=a&&(d=a+10),e[s].x=n+d*o,a=d}}e.sort((function(e,t){return e.y-t.y}));for(var c,h=0,d=e.length,f=[],p=[],g=0;g=n?p.push(e[g]):f.push(e[g]);u(f,!1,t,n,i,r),u(p,!0,t,n,i,r)}function a(e,t,n,i,r,a){for(var l=[],u=[],c=0;c0?"left":"right"}var O,k=a.getFont(),L=a.get("rotate");O="number"===typeof L?L*(Math.PI/180):L?w<0?-b+Math.PI:-b:0;var E=e.getFormattedLabel(n,"normal")||c.getName(n),R=i.getBoundingRect(E,k,_,"top");d=!!O,r.label={x:m,y:y,position:s,height:R.height,len:g,len2:v,linePoints:x,textAlign:_,verticalAlign:"middle",rotation:O,inside:M},M||h.push(r.label)}})),!d&&e.get("avoidLabelOverlap")&&a(h,l,u,t,n,o)}e.exports=l},2793:function(e,t,n){var i=n("cbe1"),r=n("e8c2"),o=n("0124"),a=n("8b19"),s="sunburstRootToNode",l=r.extend({type:"sunburst",init:function(){},render:function(e,t,n,r){var s=this;this.seriesModel=e,this.api=n,this.ecModel=t;var l=e.getData(),u=l.tree.root,c=e.getViewRoot(),h=this.group,d=e.get("renderLabelForZeroData"),f=[];c.eachNode((function(e){f.push(e)}));var p=this._oldChildren||[];if(m(f,p),_(u,c),r&&r.highlight&&r.highlight.piece){var g=e.getShallow("highlightPolicy");r.highlight.piece.onEmphasis(g)}else if(r&&r.unhighlight){var v=this.virtualPiece;!v&&u.children.length&&(v=u.children[0].piece),v&&v.onNormal()}function m(e,t){function n(e){return e.getId()}function r(n,i){var r=null==n?null:e[n],o=null==i?null:t[i];y(r,o)}0===e.length&&0===t.length||new a(t,e,n,n).add(r).update(r).remove(i.curry(r,null)).execute()}function y(n,i){if(d||!n||n.getValue()||(n=null),n!==u&&i!==u)if(i&&i.piece)n?(i.piece.updateData(!1,n,"normal",e,t),l.setItemGraphicEl(n.dataIndex,i.piece)):x(i);else if(n){var r=new o(n,e,t);h.add(r),l.setItemGraphicEl(n.dataIndex,r)}}function x(e){e&&e.piece&&(h.remove(e.piece),e.piece=null)}function _(n,i){if(i.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,n,"normal",e,t):(s.virtualPiece=new o(n,e,t),h.add(s.virtualPiece)),i.piece._onclickEvent&&i.piece.off("click",i.piece._onclickEvent);var r=function(e){s._rootToNode(i.parentNode)};i.piece._onclickEvent=r,s.virtualPiece.on("click",r)}else s.virtualPiece&&(h.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=f},dispose:function(){},_initEvents:function(){var e=this,t=function(t){var n=!1,i=e.seriesModel.getViewRoot();i.eachNode((function(i){if(!n&&i.piece&&i.piece.childAt(0)===t.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)e._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a){var s=o.get("target",!0)||"_blank";window.open(a,s)}}n=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_rootToNode:function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:s,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,t){var n=t.getData(),i=n.getItemLayout(0);if(i){var r=e[0]-i.cx,o=e[1]-i.cy,a=Math.sqrt(r*r+o*o);return a<=i.r&&a>=i.r0}}}),u=l;e.exports=u},"285c":function(e,t){function n(e,t,n){var i,r=[e],o=[];while(i=r.pop())if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s=0;o--)i.push(r[o])}}t.eachAfter=n,t.eachBefore=i},"291a":function(e,t,n){},2989:function(e,t,n){var i=n("333f"),r=n("cbe1");function o(e,t,n){var i,o={},a="toggleSelected"===e;return n.eachComponent("legend",(function(n){a&&null!=i?n[i?"select":"unSelect"](t.name):"allSelect"===e||"inverseSelect"===e?n[e]():(n[e](t.name),i=n.isSelected(t.name));var s=n.getData();r.each(s,(function(e){var t=e.get("name");if("\n"!==t&&""!==t){var i=n.isSelected(t);o.hasOwnProperty(t)?o[t]=o[t]&&i:o[t]=i}}))})),"allSelect"===e||"inverseSelect"===e?{selected:o}:{name:t.name,selected:o}}i.registerAction("legendToggleSelect","legendselectchanged",r.curry(o,"toggleSelected")),i.registerAction("legendAllSelect","legendselectall",r.curry(o,"allSelect")),i.registerAction("legendInverseSelect","legendinverseselect",r.curry(o,"inverseSelect")),i.registerAction("legendSelect","legendselected",r.curry(o,"select")),i.registerAction("legendUnSelect","legendunselected",r.curry(o,"unSelect"))},"2aa3":function(e,t,n){var i=n("cbe1"),r=n("333f"),o=n("2dda"),a=n("0e18"),s=a.getLayoutRect;r.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),r.extendComponentView({type:"title",render:function(e,t,n){if(this.group.removeAll(),e.get("show")){var r=this.group,a=e.getModel("textStyle"),l=e.getModel("subtextStyle"),u=e.get("textAlign"),c=i.retrieve2(e.get("textBaseline"),e.get("textVerticalAlign")),h=new o.Text({style:o.setTextStyle({},a,{text:e.get("text"),textFill:a.getTextColor()},{disableBox:!0}),z2:10}),d=h.getBoundingRect(),f=e.get("subtext"),p=new o.Text({style:o.setTextStyle({},l,{text:f,textFill:l.getTextColor(),y:d.height+e.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),g=e.get("link"),v=e.get("sublink"),m=e.get("triggerEvent",!0);h.silent=!g&&!m,p.silent=!v&&!m,g&&h.on("click",(function(){window.open(g,"_"+e.get("target"))})),v&&p.on("click",(function(){window.open(v,"_"+e.get("subtarget"))})),h.eventData=p.eventData=m?{componentType:"title",componentIndex:e.componentIndex}:null,r.add(h),f&&r.add(p);var y=r.getBoundingRect(),x=e.getBoxLayoutParams();x.width=y.width,x.height=y.height;var _=s(x,{width:n.getWidth(),height:n.getHeight()},e.get("padding"));u||(u=e.get("left")||e.get("right"),"middle"===u&&(u="center"),"right"===u?_.x+=_.width:"center"===u&&(_.x+=_.width/2)),c||(c=e.get("top")||e.get("bottom"),"center"===c&&(c="middle"),"bottom"===c?_.y+=_.height:"middle"===c&&(_.y+=_.height/2),c=c||"top"),r.attr("position",[_.x,_.y]);var b={textAlign:u,textVerticalAlign:c};h.setStyle(b),p.setStyle(b),y=r.getBoundingRect();var w=_.margin,S=e.getItemStyle(["color","opacity"]);S.fill=e.get("backgroundColor");var M=new o.Rect({shape:{x:y.x-w[3],y:y.y-w[0],width:y.width+w[1]+w[3],height:y.height+w[0]+w[2],r:e.get("borderRadius")},style:S,subPixelOptimize:!0,silent:!0});r.add(M)}}})},"2af1":function(e,t,n){var i=n("0890"),r=n("f4be"),o=n("e646"),a=n("b547"),s=n("ee78"),l=n("76e4"),u=n("bc50"),c=n("2bfc"),h=n("602d"),d=n("d3c9"),f=n("6d5a"),p=n("06c6"),g=n("6b0b"),v=n("8e07"),m=v.createFromString,y=n("cbe1"),x=y.isString,_=y.extend,b=y.defaults,w=y.trim,S=y.each,M=/[\s,]+/;function I(e){if(x(e)){var t=new DOMParser;e=t.parseFromString(e,"text/xml")}9===e.nodeType&&(e=e.firstChild);while("svg"!==e.nodeName.toLowerCase()||1!==e.nodeType)e=e.nextSibling;return e}function A(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}A.prototype.parse=function(e,t){t=t||{};var n=I(e);if(!n)throw new Error("Illegal svg");var r=new i;this._root=r;var o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||t.width),l=parseFloat(n.getAttribute("height")||t.height);isNaN(a)&&(a=null),isNaN(l)&&(l=null),L(n,r,null,!0);var u,c,h=n.firstChild;while(h)this._parseNode(h,r),h=h.nextSibling;if(o){var d=w(o).split(M);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!=a&&null!=l&&(c=j(u,a,l),!t.ignoreViewBox)){var f=r;r=new i,r.add(f),f.scale=c.scale.slice(),f.position=c.position.slice()}return t.ignoreRootClip||null==a||null==l||r.setClipPath(new s({shape:{x:0,y:0,width:a,height:l}})),{root:r,width:a,height:l,viewBoxRect:u,viewBoxTransform:c}},A.prototype._parseNode=function(e,t){var n,i=e.nodeName.toLowerCase();if("defs"===i?this._isDefine=!0:"text"===i&&(this._isText=!0),this._isDefine){var r=D[i];if(r){var o=r.call(this,e),a=e.getAttribute("id");a&&(this._defs[a]=o)}}else{r=T[i];r&&(n=r.call(this,e,t),t.add(n))}var s=e.firstChild;while(s)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===i?this._isDefine=!1:"text"===i&&(this._isText=!1)},A.prototype._parseText=function(e,t){if(1===e.nodeType){var n=e.getAttribute("dx")||0,i=e.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(i)}var r=new o({style:{text:e.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});C(t,r),L(e,r,this._defs);var a=r.style.fontSize;a&&a<9&&(r.style.fontSize=9,r.scale=r.scale||[1,1],r.scale[0]*=a/9,r.scale[1]*=a/9);var s=r.getBoundingRect();return this._textX+=s.width,t.add(r),r};var T={g:function(e,t){var n=new i;return C(t,n),L(e,n,this._defs),n},rect:function(e,t){var n=new s;return C(t,n),L(e,n,this._defs),n.setShape({x:parseFloat(e.getAttribute("x")||0),y:parseFloat(e.getAttribute("y")||0),width:parseFloat(e.getAttribute("width")||0),height:parseFloat(e.getAttribute("height")||0)}),n},circle:function(e,t){var n=new a;return C(t,n),L(e,n,this._defs),n.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),r:parseFloat(e.getAttribute("r")||0)}),n},line:function(e,t){var n=new u;return C(t,n),L(e,n,this._defs),n.setShape({x1:parseFloat(e.getAttribute("x1")||0),y1:parseFloat(e.getAttribute("y1")||0),x2:parseFloat(e.getAttribute("x2")||0),y2:parseFloat(e.getAttribute("y2")||0)}),n},ellipse:function(e,t){var n=new l;return C(t,n),L(e,n,this._defs),n.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),rx:parseFloat(e.getAttribute("rx")||0),ry:parseFloat(e.getAttribute("ry")||0)}),n},polygon:function(e,t){var n=e.getAttribute("points");n&&(n=O(n));var i=new h({shape:{points:n||[]}});return C(t,i),L(e,i,this._defs),i},polyline:function(e,t){var n=new c;C(t,n),L(e,n,this._defs);var i=e.getAttribute("points");i&&(i=O(i));var r=new d({shape:{points:i||[]}});return r},image:function(e,t){var n=new r;return C(t,n),L(e,n,this._defs),n.setStyle({image:e.getAttribute("xlink:href"),x:e.getAttribute("x"),y:e.getAttribute("y"),width:e.getAttribute("width"),height:e.getAttribute("height")}),n},text:function(e,t){var n=e.getAttribute("x")||0,r=e.getAttribute("y")||0,o=e.getAttribute("dx")||0,a=e.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(o),this._textY=parseFloat(r)+parseFloat(a);var s=new i;return C(t,s),L(e,s,this._defs),s},tspan:function(e,t){var n=e.getAttribute("x"),r=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var o=e.getAttribute("dx")||0,a=e.getAttribute("dy")||0,s=new i;return C(t,s),L(e,s,this._defs),this._textX+=o,this._textY+=a,s},path:function(e,t){var n=e.getAttribute("d")||"",i=m(n);return C(t,i),L(e,i,this._defs),i}},D={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||0,10),n=parseInt(e.getAttribute("y1")||0,10),i=parseInt(e.getAttribute("x2")||10,10),r=parseInt(e.getAttribute("y2")||0,10),o=new f(t,n,i,r);return P(e,o),o},radialgradient:function(e){}};function P(e,t){var n=e.firstChild;while(n){if(1===n.nodeType){var i=n.getAttribute("offset");i=i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var r=n.getAttribute("stop-color")||"#000000";t.addColorStop(i,r)}n=n.nextSibling}}function C(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),b(t.__inheritedStyle,e.__inheritedStyle))}function O(e){for(var t=w(e).split(M),n=[],i=0;i0;o-=2){var a=r[o],s=r[o-1];switch(i=i||g.create(),s){case"translate":a=w(a).split(M),g.translate(i,i,[parseFloat(a[0]),parseFloat(a[1]||0)]);break;case"scale":a=w(a).split(M),g.scale(i,i,[parseFloat(a[0]),parseFloat(a[1]||a[0])]);break;case"rotate":a=w(a).split(M),g.rotate(i,i,parseFloat(a[0]));break;case"skew":a=w(a).split(M),console.warn("Skew transform is not supported yet");break;case"matrix":a=w(a).split(M);i[0]=parseFloat(a[0]),i[1]=parseFloat(a[1]),i[2]=parseFloat(a[2]),i[3]=parseFloat(a[3]),i[4]=parseFloat(a[4]),i[5]=parseFloat(a[5]);break}}t.setLocalTransform(i)}}var B=/([^\s:;]+)\s*:\s*([^:;]+)/g;function V(e){var t=e.getAttribute("style"),n={};if(!t)return n;var i,r={};B.lastIndex=0;while(null!=(i=B.exec(t)))r[i[1]]=i[2];for(var o in k)k.hasOwnProperty(o)&&null!=r[o]&&(n[k[o]]=r[o]);return n}function j(e,t,n){var i=t/e.width,r=n/e.height,o=Math.min(i,r),a=[o,o],s=[-(e.x+e.width/2)*o+t/2,-(e.y+e.height/2)*o+n/2];return{scale:a,position:s}}function F(e,t){var n=new A;return n.parse(e,t)}t.parseXML=I,t.makeViewBoxTransform=j,t.parseSVG=F},"2bce":function(e,t,n){var i=n("cbe1"),r=n("2dda"),o=n("e8c2");function a(e,t,n,i){var r=t.getData(),o=this.dataIndex,a=r.getName(o),l=t.get("selectedOffset");i.dispatchAction({type:"pieToggleSelect",from:e,name:a,seriesId:t.id}),r.each((function(e){s(r.getItemGraphicEl(e),r.getItemLayout(e),t.isSelected(r.getName(e)),l,n)}))}function s(e,t,n,i,r){var o=(t.startAngle+t.endAngle)/2,a=Math.cos(o),s=Math.sin(o),l=n?i:0,u=[a*l,s*l];r?e.animate().when(200,{position:u}).start("bounceOut"):e.attr("position",u)}function l(e,t){r.Group.call(this);var n=new r.Sector({z2:2}),i=new r.Polyline,o=new r.Text;this.add(n),this.add(i),this.add(o),this.updateData(e,t,!0)}var u=l.prototype;u.updateData=function(e,t,n){var o=this.childAt(0),a=this.childAt(1),l=this.childAt(2),u=e.hostModel,c=e.getItemModel(t),h=e.getItemLayout(t),d=i.extend({},h);d.label=null;var f=u.getShallow("animationTypeUpdate");if(n){o.setShape(d);var p=u.getShallow("animationType");"scale"===p?(o.shape.r=h.r0,r.initProps(o,{shape:{r:h.r}},u,t)):(o.shape.endAngle=h.startAngle,r.updateProps(o,{shape:{endAngle:h.endAngle}},u,t))}else"expansion"===f?o.setShape(d):r.updateProps(o,{shape:d},u,t);var g=e.getItemVisual(t,"color");o.useStyle(i.defaults({lineJoin:"bevel",fill:g},c.getModel("itemStyle").getItemStyle())),o.hoverStyle=c.getModel("emphasis.itemStyle").getItemStyle();var v=c.getShallow("cursor");v&&o.attr("cursor",v),s(this,e.getItemLayout(t),u.isSelected(null,t),u.get("selectedOffset"),u.get("animation"));var m=!n&&"transition"===f;this._updateLabel(e,t,m),this.highDownOnUpdate=c.get("hoverAnimation")&&u.isAnimationEnabled()?function(e,t){"emphasis"===t?(a.ignore=a.hoverIgnore,l.ignore=l.hoverIgnore,o.stopAnimation(!0),o.animateTo({shape:{r:h.r+u.get("hoverOffset")}},300,"elasticOut")):(a.ignore=a.normalIgnore,l.ignore=l.normalIgnore,o.stopAnimation(!0),o.animateTo({shape:{r:h.r}},300,"elasticOut"))}:null,r.setHoverStyle(this)},u._updateLabel=function(e,t,n){var i=this.childAt(1),o=this.childAt(2),a=e.hostModel,s=e.getItemModel(t),l=e.getItemLayout(t),u=l.label,c=e.getItemVisual(t,"color");if(!u||isNaN(u.x)||isNaN(u.y))o.ignore=o.normalIgnore=o.hoverIgnore=i.ignore=i.normalIgnore=i.hoverIgnore=!0;else{var h={points:u.linePoints||[[u.x,u.y],[u.x,u.y],[u.x,u.y]]},d={x:u.x,y:u.y};n?(r.updateProps(i,{shape:h},a,t),r.updateProps(o,{style:d},a,t)):(i.attr({shape:h}),o.attr({style:d})),o.attr({rotation:u.rotation,origin:[u.x,u.y],z2:10});var f=s.getModel("label"),p=s.getModel("emphasis.label"),g=s.getModel("labelLine"),v=s.getModel("emphasis.labelLine");c=e.getItemVisual(t,"color");r.setLabelStyle(o.style,o.hoverStyle={},f,p,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:e.getName(t),autoColor:c,useInsideStyle:!!u.inside},{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign,opacity:e.getItemVisual(t,"opacity")}),o.ignore=o.normalIgnore=!f.get("show"),o.hoverIgnore=!p.get("show"),i.ignore=i.normalIgnore=!g.get("show"),i.hoverIgnore=!v.get("show"),i.setStyle({stroke:c,opacity:e.getItemVisual(t,"opacity")}),i.setStyle(g.getModel("lineStyle").getLineStyle()),i.hoverStyle=v.getModel("lineStyle").getLineStyle();var m=g.get("smooth");m&&!0===m&&(m=.4),i.setShape({smooth:m})}},i.inherits(l,r.Group);var c=o.extend({type:"pie",init:function(){var e=new r.Group;this._sectorGroup=e},render:function(e,t,n,r){if(!r||r.from!==this.uid){var o=e.getData(),s=this._data,u=this.group,c=t.get("animation"),h=!s,d=e.get("animationType"),f=e.get("animationTypeUpdate"),p=i.curry(a,this.uid,e,c,n),g=e.get("selectedMode");if(o.diff(s).add((function(e){var t=new l(o,e);h&&"scale"!==d&&t.eachChild((function(e){e.stopAnimation(!0)})),g&&t.on("click",p),o.setItemGraphicEl(e,t),u.add(t)})).update((function(e,t){var n=s.getItemGraphicEl(t);h||"transition"===f||n.eachChild((function(e){e.stopAnimation(!0)})),n.updateData(o,e),n.off("click"),g&&n.on("click",p),u.add(n),o.setItemGraphicEl(e,n)})).remove((function(e){var t=s.getItemGraphicEl(e);u.remove(t)})).execute(),c&&o.count()>0&&(h?"scale"!==d:"transition"!==f)){for(var v=o.getItemLayout(0),m=1;isNaN(v.startAngle)&&m=i.r0}}}),h=c;e.exports=h},"2bfc":function(e,t,n){var i=n("094f"),r=n("cbe1"),o=n("2544"),a=n("fde5"),s=n("55e2"),l=s.prototype.getCanvasPattern,u=Math.abs,c=new o(!0);function h(e){i.call(this,e),this.path=null}h.prototype={constructor:h,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(e,t){var n,i=this.style,r=this.path||c,o=i.hasStroke(),a=i.hasFill(),s=i.fill,u=i.stroke,h=a&&!!s.colorStops,d=o&&!!u.colorStops,f=a&&!!s.image,p=o&&!!u.image;(i.bind(e,this,t),this.setTransform(e),this.__dirty)&&(h&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(e,s,n)),d&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(e,u,n)));h?e.fillStyle=this._fillGradient:f&&(e.fillStyle=l.call(s,e)),d?e.strokeStyle=this._strokeGradient:p&&(e.strokeStyle=l.call(u,e));var g=i.lineDash,v=i.lineDashOffset,m=!!e.setLineDash,y=this.getGlobalScale();if(r.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!m&&o?(r.beginPath(e),g&&!m&&(r.setLineDash(g),r.setLineDashOffset(v)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(e.beginPath(),this.path.rebuildPath(e)),a)if(null!=i.fillOpacity){var x=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,r.fill(e),e.globalAlpha=x}else r.fill(e);if(g&&m&&(e.setLineDash(g),e.lineDashOffset=v),o)if(null!=i.strokeOpacity){x=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,r.stroke(e),e.globalAlpha=x}else r.stroke(e);g&&m&&e.setLineDash([]),null!=i.text&&(this.restoreTransform(e),this.drawRectText(e,this.getBoundingRect()))},buildPath:function(e,t,n){},createPathProxy:function(){this.path=new o},getBoundingRect:function(){var e=this._rect,t=this.style,n=!e;if(n){var i=this.path;i||(i=this.path=new o),this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),e=i.getBoundingRect()}if(this._rect=e,t.hasStroke()){var r=this._rectWithStroke||(this._rectWithStroke=e.clone());if(this.__dirty||n){r.copy(e);var a=t.lineWidth,s=t.strokeNoScale?this.getLineScale():1;t.hasFill()||(a=Math.max(a,this.strokeContainThreshold||4)),s>1e-10&&(r.width+=a/s,r.height+=a/s,r.x-=a/s/2,r.y-=a/s/2)}return r}return e},contain:function(e,t){var n=this.transformCoordToLocal(e,t),i=this.getBoundingRect(),r=this.style;if(e=n[0],t=n[1],i.contain(e,t)){var o=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)),a.containStroke(o,s/l,e,t)))return!0}if(r.hasFill())return a.contain(o,e,t)}return!1},dirty:function(e){null==e&&(e=!0),e&&(this.__dirtyPath=e,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(e){return this.animate("shape",e)},attrKV:function(e,t){"shape"===e?(this.setShape(t),this.__dirtyPath=!0,this._rect=null):i.prototype.attrKV.call(this,e,t)},setShape:function(e,t){var n=this.shape;if(n){if(r.isObject(e))for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);else n[e]=t;this.dirty(!0)}return this},getLineScale:function(){var e=this.transform;return e&&u(e[0]-1)>1e-10&&u(e[3]-1)>1e-10?Math.sqrt(u(e[0]*e[3]-e[2]*e[1])):1}},h.extend=function(e){var t=function(t){h.call(this,t),e.style&&this.style.extendFrom(e.style,!1);var n=e.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var r in n)!i.hasOwnProperty(r)&&n.hasOwnProperty(r)&&(i[r]=n[r])}e.init&&e.init.call(this,t)};for(var n in r.inherits(t,h),e)"style"!==n&&"shape"!==n&&(t.prototype[n]=e[n]);return t},r.inherits(h,i);var d=h;e.exports=d},"2c1e":function(e,t,n){var i=n("cbe1"),r=n("7e95"),o=n("c7ac"),a=r.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});i.mixin(a,o);var s=a;e.exports=s},"2d3d":function(e,t,n){var i=n("cbe1"),r=n("5c3e"),o=n("7a17"),a=n("efdc"),s=n("97d3"),l=n("6f57"),u=o.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(e){o.prototype.init.apply(this,arguments),r.defaultEmphasis(e,"label",["show"])},optionUpdated:function(){var e=this.option,t=this;e.regions=l.getFilledRegions(e.regions,e.map,e.nameMap),this._optionModelMap=i.reduce(e.regions||[],(function(e,n){return n.name&&e.set(n.name,new a(n,t)),e}),i.createHashMap()),this.updateSelectedMap(e.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(e){return this._optionModelMap.get(e)||new a(null,this,this.ecModel)},getFormattedLabel:function(e,t){var n=this.getRegionModel(e),i=n.get("label"+("normal"===t?".":t+".")+"formatter"),r={name:e};return"function"===typeof i?(r.status=t,i(r)):"string"===typeof i?i.replace("{a}",null!=e?e:""):void 0},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e}});i.mixin(u,s);var c=u;e.exports=c},"2d42":function(e,t,n){var i=n("2dda"),r=n("cbe1"),o=n("e8c2");function a(e,t){i.Group.call(this);var n=new i.Polygon,r=new i.Polyline,o=new i.Text;this.add(n),this.add(r),this.add(o),this.highDownOnUpdate=function(e,t){"emphasis"===t?(r.ignore=r.hoverIgnore,o.ignore=o.hoverIgnore):(r.ignore=r.normalIgnore,o.ignore=o.normalIgnore)},this.updateData(e,t,!0)}var s=a.prototype,l=["itemStyle","opacity"];s.updateData=function(e,t,n){var o=this.childAt(0),a=e.hostModel,s=e.getItemModel(t),u=e.getItemLayout(t),c=e.getItemModel(t).get(l);c=null==c?1:c,o.useStyle({}),n?(o.setShape({points:u.points}),o.setStyle({opacity:0}),i.initProps(o,{style:{opacity:c}},a,t)):i.updateProps(o,{style:{opacity:c},shape:{points:u.points}},a,t);var h=s.getModel("itemStyle"),d=e.getItemVisual(t,"color");o.setStyle(r.defaults({lineJoin:"round",fill:d},h.getItemStyle(["opacity"]))),o.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(e,t),i.setHoverStyle(this)},s._updateLabel=function(e,t){var n=this.childAt(1),r=this.childAt(2),o=e.hostModel,a=e.getItemModel(t),s=e.getItemLayout(t),l=s.label,u=e.getItemVisual(t,"color");i.updateProps(n,{shape:{points:l.linePoints||l.linePoints}},o,t),i.updateProps(r,{style:{x:l.x,y:l.y}},o,t),r.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var c=a.getModel("label"),h=a.getModel("emphasis.label"),d=a.getModel("labelLine"),f=a.getModel("emphasis.labelLine");u=e.getItemVisual(t,"color");i.setLabelStyle(r.style,r.hoverStyle={},c,h,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:e.getName(t),autoColor:u,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign}),r.ignore=r.normalIgnore=!c.get("show"),r.hoverIgnore=!h.get("show"),n.ignore=n.normalIgnore=!d.get("show"),n.hoverIgnore=!f.get("show"),n.setStyle({stroke:u}),n.setStyle(d.getModel("lineStyle").getLineStyle()),n.hoverStyle=f.getModel("lineStyle").getLineStyle()},r.inherits(a,i.Group);var u=o.extend({type:"funnel",render:function(e,t,n){var i=e.getData(),r=this._data,o=this.group;i.diff(r).add((function(e){var t=new a(i,e);i.setItemGraphicEl(e,t),o.add(t)})).update((function(e,t){var n=r.getItemGraphicEl(t);n.updateData(i,e),o.add(n),i.setItemGraphicEl(e,n)})).remove((function(e){var t=r.getItemGraphicEl(e);o.remove(t)})).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),c=u;e.exports=c},"2dda":function(e,t,n){var i=n("cbe1"),r=n("8e07"),o=n("3083"),a=n("6b0b"),s=n("dbbd"),l=n("2bfc"),u=n("ecef"),c=n("f4be");t.Image=c;var h=n("0890");t.Group=h;var d=n("e646");t.Text=d;var f=n("b547");t.Circle=f;var p=n("4c7e");t.Sector=p;var g=n("92b6");t.Ring=g;var v=n("602d");t.Polygon=v;var m=n("d3c9");t.Polyline=m;var y=n("ee78");t.Rect=y;var x=n("bc50");t.Line=x;var _=n("0890c");t.BezierCurve=_;var b=n("7624");t.Arc=b;var w=n("1055");t.CompoundPath=w;var S=n("6d5a");t.LinearGradient=S;var M=n("db8e");t.RadialGradient=M;var I=n("1bb8");t.BoundingRect=I;var A=n("caf6");t.IncrementalDisplayable=A;var T=n("db66"),D=Math.max,P=Math.min,C={},O=1,k={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},L="emphasis",E="normal",R=1,z={},N={};function B(e){return l.extend(e)}function V(e,t){return r.extendFromString(e,t)}function j(e,t){N[e]=t}function F(e){if(N.hasOwnProperty(e))return N[e]}function W(e,t,n,i){var o=r.createFromString(e,t);return n&&("center"===i&&(n=H(n,o.getBoundingRect())),Y(o,n)),o}function G(e,t,n){var i=new c({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var r={width:e.width,height:e.height};i.setStyle(H(t,r))}}});return i}function H(e,t){var n,i=t.width/t.height,r=e.height*i;r<=e.width?n=e.height:(r=e.width,n=r/i);var o=e.x+e.width/2,a=e.y+e.height/2;return{x:o-r/2,y:a-n/2,width:r,height:n}}var U=r.mergePath;function Y(e,t){if(e.applyTransform){var n=e.getBoundingRect(),i=n.calculateTransform(t);e.applyTransform(i)}}function Z(e){return T.subPixelOptimizeLine(e.shape,e.shape,e.style),e}function X(e){return T.subPixelOptimizeRect(e.shape,e.shape,e.style),e}var q=T.subPixelOptimize;function $(e){return null!=e&&"none"!==e}var K=i.createHashMap(),J=0;function Q(e){if("string"!==typeof e)return e;var t=K.get(e);return t||(t=o.lift(e,-.1),J<1e4&&(K.set(e,t),J++)),t}function ee(e){if(e.__hoverStlDirty){e.__hoverStlDirty=!1;var t=e.__hoverStl;if(t){var n=e.__cachedNormalStl={};e.__cachedNormalZ2=e.z2;var i=e.style;for(var r in t)null!=t[r]&&(n[r]=i[r]);n.fill=i.fill,n.stroke=i.stroke}else e.__cachedNormalStl=e.__cachedNormalZ2=null}}function te(e){var t=e.__hoverStl;if(t&&!e.__highlighted){var n=e.__zr,i=e.useHoverLayer&&n&&"canvas"===n.painter.type;if(e.__highlighted=i?"layer":"plain",!(e.isGroup||!n&&e.useHoverLayer)){var r=e,o=e.style;i&&(r=n.addHover(e),o=r.style),Me(o),i||ee(r),o.extendFrom(t),ne(o,t,"fill"),ne(o,t,"stroke"),Se(o),i||(e.dirty(!1),e.z2+=O)}}}function ne(e,t,n){!$(t[n])&&$(e[n])&&(e[n]=Q(e[n]))}function ie(e){var t=e.__highlighted;if(t&&(e.__highlighted=!1,!e.isGroup))if("layer"===t)e.__zr&&e.__zr.removeHover(e);else{var n=e.style,i=e.__cachedNormalStl;i&&(Me(n),e.setStyle(i),Se(n));var r=e.__cachedNormalZ2;null!=r&&e.z2-r===O&&(e.z2=r)}}function re(e,t,n){var i,r=E,o=E;e.__highlighted&&(r=L,i=!0),t(e,n),e.__highlighted&&(o=L,i=!0),e.isGroup&&e.traverse((function(e){!e.isGroup&&t(e,n)})),i&&e.__highDownOnUpdate&&e.__highDownOnUpdate(r,o)}function oe(e,t){t=e.__hoverStl=!1!==t&&(e.hoverStyle||t||{}),e.__hoverStlDirty=!0,e.__highlighted&&(e.__cachedNormalStl=null,ie(e),te(e))}function ae(e){!ce(this,e)&&!this.__highByOuter&&re(this,te)}function se(e){!ce(this,e)&&!this.__highByOuter&&re(this,ie)}function le(e){this.__highByOuter|=1<<(e||0),re(this,te)}function ue(e){!(this.__highByOuter&=~(1<<(e||0)))&&re(this,ie)}function ce(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function he(e,t){de(e,!0),re(e,oe,t)}function de(e,t){var n=!1===t;if(e.__highDownSilentOnTouch=e.highDownSilentOnTouch,e.__highDownOnUpdate=e.highDownOnUpdate,!n||e.__highDownDispatcher){var i=n?"off":"on";e[i]("mouseover",ae)[i]("mouseout",se),e[i]("emphasis",le)[i]("normal",ue),e.__highByOuter=e.__highByOuter||0,e.__highDownDispatcher=!n}}function fe(e){return!(!e||!e.__highDownDispatcher)}function pe(e){var t=z[e];return null==t&&R<=32&&(t=z[e]=R++),t}function ge(e,t,n,r,o,a,s){o=o||C;var l,u=o.labelFetcher,c=o.labelDataIndex,h=o.labelDimIndex,d=n.getShallow("show"),f=r.getShallow("show");(d||f)&&(u&&(l=u.getFormattedLabel(c,"normal",null,h)),null==l&&(l=i.isFunction(o.defaultText)?o.defaultText(c,o):o.defaultText));var p=d?l:null,g=f?i.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,h):null,l):null;null==p&&null==g||(me(e,n,a,o),me(t,r,s,o,!0)),e.text=p,t.text=g}function ve(e,t,n){var r=e.style;t&&(Me(r),e.setStyle(t),Se(r)),r=e.__hoverStl,n&&r&&(Me(r),i.extend(r,n),Se(r))}function me(e,t,n,r,o){return xe(e,t,r,o),n&&i.extend(e,n),e}function ye(e,t,n){var i,r={isRectText:!0};!1===n?i=!0:r.autoColor=n,xe(e,t,r,i)}function xe(e,t,n,r){if(n=n||C,n.isRectText){var o;n.getTextPosition?o=n.getTextPosition(t,r):(o=t.getShallow("position")||(r?null:"inside"),"outside"===o&&(o="top")),e.textPosition=o,e.textOffset=t.getShallow("offset");var a=t.getShallow("rotate");null!=a&&(a*=Math.PI/180),e.textRotation=a,e.textDistance=i.retrieve2(t.getShallow("distance"),r?null:5)}var s,l=t.ecModel,u=l&&l.option.textStyle,c=_e(t);if(c)for(var h in s={},c)if(c.hasOwnProperty(h)){var d=t.getModel(["rich",h]);be(s[h]={},d,u,n,r)}return e.rich=s,be(e,t,u,n,r,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),e}function _e(e){var t;while(e&&e!==e.ecModel){var n=(e.option||C).rich;if(n)for(var i in t=t||{},n)n.hasOwnProperty(i)&&(t[i]=1);e=e.parentModel}return t}function be(e,t,n,r,o,a){n=!o&&n||C,e.textFill=we(t.getShallow("color"),r)||n.color,e.textStroke=we(t.getShallow("textBorderColor"),r)||n.textBorderColor,e.textStrokeWidth=i.retrieve2(t.getShallow("textBorderWidth"),n.textBorderWidth),o||(a&&(e.insideRollbackOpt=r,Se(e)),null==e.textFill&&(e.textFill=r.autoColor)),e.fontStyle=t.getShallow("fontStyle")||n.fontStyle,e.fontWeight=t.getShallow("fontWeight")||n.fontWeight,e.fontSize=t.getShallow("fontSize")||n.fontSize,e.fontFamily=t.getShallow("fontFamily")||n.fontFamily,e.textAlign=t.getShallow("align"),e.textVerticalAlign=t.getShallow("verticalAlign")||t.getShallow("baseline"),e.textLineHeight=t.getShallow("lineHeight"),e.textWidth=t.getShallow("width"),e.textHeight=t.getShallow("height"),e.textTag=t.getShallow("tag"),a&&r.disableBox||(e.textBackgroundColor=we(t.getShallow("backgroundColor"),r),e.textPadding=t.getShallow("padding"),e.textBorderColor=we(t.getShallow("borderColor"),r),e.textBorderWidth=t.getShallow("borderWidth"),e.textBorderRadius=t.getShallow("borderRadius"),e.textBoxShadowColor=t.getShallow("shadowColor"),e.textBoxShadowBlur=t.getShallow("shadowBlur"),e.textBoxShadowOffsetX=t.getShallow("shadowOffsetX"),e.textBoxShadowOffsetY=t.getShallow("shadowOffsetY")),e.textShadowColor=t.getShallow("textShadowColor")||n.textShadowColor,e.textShadowBlur=t.getShallow("textShadowBlur")||n.textShadowBlur,e.textShadowOffsetX=t.getShallow("textShadowOffsetX")||n.textShadowOffsetX,e.textShadowOffsetY=t.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function we(e,t){return"auto"!==e?e:t&&t.autoColor?t.autoColor:null}function Se(e){var t,n=e.textPosition,i=e.insideRollbackOpt;if(i&&null==e.textFill){var r=i.autoColor,o=i.isRectText,a=i.useInsideStyle,s=!1!==a&&(!0===a||o&&n&&"string"===typeof n&&n.indexOf("inside")>=0),l=!s&&null!=r;(s||l)&&(t={textFill:e.textFill,textStroke:e.textStroke,textStrokeWidth:e.textStrokeWidth}),s&&(e.textFill="#fff",null==e.textStroke&&(e.textStroke=r,null==e.textStrokeWidth&&(e.textStrokeWidth=2))),l&&(e.textFill=r)}e.insideRollback=t}function Me(e){var t=e.insideRollback;t&&(e.textFill=t.textFill,e.textStroke=t.textStroke,e.textStrokeWidth=t.textStrokeWidth,e.insideRollback=null)}function Ie(e,t){var n=t||t.getModel("textStyle");return i.trim([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}function Ae(e,t,n,i,r,o){"function"===typeof r&&(o=r,r=null);var a=i&&i.isAnimationEnabled();if(a){var s=e?"Update":"",l=i.getShallow("animationDuration"+s),u=i.getShallow("animationEasing"+s),c=i.getShallow("animationDelay"+s);"function"===typeof c&&(c=c(r,i.getAnimationDelayParams?i.getAnimationDelayParams(t,r):null)),"function"===typeof l&&(l=l(r)),l>0?t.animateTo(n,l,c||0,u,o,!!o):(t.stopAnimation(),t.attr(n),o&&o())}else t.stopAnimation(),t.attr(n),o&&o()}function Te(e,t,n,i,r){Ae(!0,e,t,n,i,r)}function De(e,t,n,i,r){Ae(!1,e,t,n,i,r)}function Pe(e,t){var n=a.identity([]);while(e&&e!==t)a.mul(n,e.getLocalTransform(),n),e=e.parent;return n}function Ce(e,t,n){return t&&!i.isArrayLike(t)&&(t=u.getLocalTransform(t)),n&&(t=a.invert([],t)),s.applyTransform([],e,t)}function Oe(e,t,n){var i=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),r=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),o=["left"===e?-i:"right"===e?i:0,"top"===e?-r:"bottom"===e?r:0];return o=Ce(o,t,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function ke(e,t,n,r){if(e&&t){var o=a(e);t.traverse((function(e){if(!e.isGroup&&e.anid){var t=o[e.anid];if(t){var i=l(e);e.attr(l(t)),Te(e,i,n,e.dataIndex)}}}))}function a(e){var t={};return e.traverse((function(e){!e.isGroup&&e.anid&&(t[e.anid]=e)})),t}function l(e){var t={position:s.clone(e.position),rotation:e.rotation};return e.shape&&(t.shape=i.extend({},e.shape)),t}}function Le(e,t){return i.map(e,(function(e){var n=e[0];n=D(n,t.x),n=P(n,t.x+t.width);var i=e[1];return i=D(i,t.y),i=P(i,t.y+t.height),[n,i]}))}function Ee(e,t){var n=D(e.x,t.x),i=P(e.x+e.width,t.x+t.width),r=D(e.y,t.y),o=P(e.y+e.height,t.y+t.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function Re(e,t,n){t=i.extend({rectHover:!0},t);var r=t.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(r.image=e.slice(8),i.defaults(r,n),new c(t)):W(e.replace("path://",""),t,n,"center")}function ze(e,t,n,i,r){for(var o=0,a=r[r.length-1];o1)return!1;var v=Be(f,p,c,h)/d;return!(v<0||v>1)}function Be(e,t,n,i){return e*i-n*t}function Ve(e){return e<=1e-6&&e>=-1e-6}j("circle",f),j("sector",p),j("ring",g),j("polygon",v),j("polyline",m),j("rect",y),j("line",x),j("bezierCurve",_),j("arc",b),t.Z2_EMPHASIS_LIFT=O,t.CACHED_LABEL_STYLE_PROPERTIES=k,t.extendShape=B,t.extendPath=V,t.registerShape=j,t.getShapeClass=F,t.makePath=W,t.makeImage=G,t.mergePath=U,t.resizePath=Y,t.subPixelOptimizeLine=Z,t.subPixelOptimizeRect=X,t.subPixelOptimize=q,t.setElementHoverStyle=oe,t.setHoverStyle=he,t.setAsHighDownDispatcher=de,t.isHighDownDispatcher=fe,t.getHighlightDigit=pe,t.setLabelStyle=ge,t.modifyLabelStyle=ve,t.setTextStyle=me,t.setText=ye,t.getFont=Ie,t.updateProps=Te,t.initProps=De,t.getTransform=Pe,t.applyTransform=Ce,t.transformDirection=Oe,t.groupTransition=ke,t.clipPointsByRect=Le,t.clipRectByRect=Ee,t.createIcon=Re,t.linePolygonIntersect=ze,t.lineLineIntersect=Ne},"2df4":function(e,t,n){var i=n("11a2"),r=i.addEventListener,o=i.removeEventListener,a=i.normalizeEvent,s=n("cbe1"),l=n("d453"),u=n("3804"),c=300,h=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],d=["touchstart","touchend","touchmove"],f={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},p=s.map(h,(function(e){var t=e.replace("mouse","pointer");return f[t]?t:e}));function g(e){return"mousewheel"===e&&u.browser.firefox?"DOMMouseScroll":e}function v(e){e._touching=!0,clearTimeout(e._touchTimer),e._touchTimer=setTimeout((function(){e._touching=!1}),700)}var m={mousemove:function(e){e=a(this.dom,e),this.trigger("mousemove",e)},mouseout:function(e){e=a(this.dom,e);var t=e.toElement||e.relatedTarget;if(t!==this.dom)while(t&&9!==t.nodeType){if(t===this.dom)return;t=t.parentNode}this.trigger("mouseout",e)},touchstart:function(e){e=a(this.dom,e),e.zrByTouch=!0,this._lastTouchMoment=new Date,this.handler.processGesture(e,"start"),m.mousemove.call(this,e),m.mousedown.call(this,e),v(this)},touchmove:function(e){e=a(this.dom,e),e.zrByTouch=!0,this.handler.processGesture(e,"change"),m.mousemove.call(this,e),v(this)},touchend:function(e){e=a(this.dom,e),e.zrByTouch=!0,this.handler.processGesture(e,"end"),m.mouseup.call(this,e),+new Date-this._lastTouchMoment255?255:e}function a(e){return e=Math.round(e),e<0?0:e>360?360:e}function s(e){return e<0?0:e>1?1:e}function l(e){return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100*255):o(parseInt(e,10))}function u(e){return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function c(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function h(e,t,n){return e+(t-e)*n}function d(e,t,n,i,r){return e[0]=t,e[1]=n,e[2]=i,e[3]=r,e}function f(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var p=new i(20),g=null;function v(e,t){g&&f(g,t),g=p.put(e,g||t.slice())}function m(e,t){if(e){t=t||[];var n=p.get(e);if(n)return f(t,n);e+="";var i=e.replace(/ /g,"").toLowerCase();if(i in r)return f(t,r[i]),v(e,t),t;if("#"!==i.charAt(0)){var o=i.indexOf("("),a=i.indexOf(")");if(-1!==o&&a+1===i.length){var s=i.substr(0,o),c=i.substr(o+1,a-(o+1)).split(","),h=1;switch(s){case"rgba":if(4!==c.length)return void d(t,0,0,0,1);h=u(c.pop());case"rgb":return 3!==c.length?void d(t,0,0,0,1):(d(t,l(c[0]),l(c[1]),l(c[2]),h),v(e,t),t);case"hsla":return 4!==c.length?void d(t,0,0,0,1):(c[3]=u(c[3]),y(c,t),v(e,t),t);case"hsl":return 3!==c.length?void d(t,0,0,0,1):(y(c,t),v(e,t),t);default:return}}d(t,0,0,0,1)}else{if(4===i.length){var g=parseInt(i.substr(1),16);return g>=0&&g<=4095?(d(t,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),v(e,t),t):void d(t,0,0,0,1)}if(7===i.length){g=parseInt(i.substr(1),16);return g>=0&&g<=16777215?(d(t,(16711680&g)>>16,(65280&g)>>8,255&g,1),v(e,t),t):void d(t,0,0,0,1)}}}}function y(e,t){var n=(parseFloat(e[0])%360+360)%360/360,i=u(e[1]),r=u(e[2]),a=r<=.5?r*(i+1):r+i-r*i,s=2*r-a;return t=t||[],d(t,o(255*c(s,a,n+1/3)),o(255*c(s,a,n)),o(255*c(s,a,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function x(e){if(e){var t,n,i=e[0]/255,r=e[1]/255,o=e[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)t=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-o)/6+l/2)/l;i===s?t=d-h:r===s?t=1/3+c-d:o===s&&(t=2/3+h-c),t<0&&(t+=1),t>1&&(t-=1)}var f=[360*t,n,u];return null!=e[3]&&f.push(e[3]),f}}function _(e,t){var n=m(e);if(n){for(var i=0;i<3;i++)n[i]=t<0?n[i]*(1-t)|0:(255-n[i])*t+n[i]|0,n[i]>255?n[i]=255:e[i]<0&&(n[i]=0);return D(n,4===n.length?"rgba":"rgb")}}function b(e){var t=m(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function w(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var i=e*(t.length-1),r=Math.floor(i),a=Math.ceil(i),l=t[r],u=t[a],c=i-r;return n[0]=o(h(l[0],u[0],c)),n[1]=o(h(l[1],u[1],c)),n[2]=o(h(l[2],u[2],c)),n[3]=s(h(l[3],u[3],c)),n}}var S=w;function M(e,t,n){if(t&&t.length&&e>=0&&e<=1){var i=e*(t.length-1),r=Math.floor(i),a=Math.ceil(i),l=m(t[r]),u=m(t[a]),c=i-r,d=D([o(h(l[0],u[0],c)),o(h(l[1],u[1],c)),o(h(l[2],u[2],c)),s(h(l[3],u[3],c))],"rgba");return n?{color:d,leftIndex:r,rightIndex:a,value:i}:d}}var I=M;function A(e,t,n,i){if(e=m(e),e)return e=x(e),null!=t&&(e[0]=a(t)),null!=n&&(e[1]=u(n)),null!=i&&(e[2]=u(i)),D(y(e),"rgba")}function T(e,t){if(e=m(e),e&&null!=t)return e[3]=s(t),D(e,"rgba")}function D(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}t.parse=m,t.lift=_,t.toHex=b,t.fastLerp=w,t.fastMapToColor=S,t.lerp=M,t.mapToColor=I,t.modifyHSL=A,t.modifyAlpha=T,t.stringify=D},"311d":function(e,t,n){var i=n("ed3e"),r=n("dbbd"),o=n("ff2d"),a=o.getSymbolSize,s=[],l=[],u=[],c=i.quadraticAt,h=r.distSquare,d=Math.abs;function f(e,t,n){for(var i,r=e[0],o=e[1],a=e[2],f=1/0,p=n*n,g=.1,v=.1;v<=.9;v+=.1){s[0]=c(r[0],o[0],a[0],v),s[1]=c(r[1],o[1],a[1],v);var m=d(h(s,t)-p);m=0?i+=g:i-=g:_>=0?i-=g:i+=g}return i}function p(e,t){var n=[],o=i.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];t/=2,e.eachEdge((function(e,i){var c=e.getLayout(),h=e.getVisual("fromSymbol"),d=e.getVisual("toSymbol");c.__original||(c.__original=[r.clone(c[0]),r.clone(c[1])],c[2]&&c.__original.push(r.clone(c[2])));var p=c.__original;if(null!=c[2]){if(r.copy(s[0],p[0]),r.copy(s[1],p[2]),r.copy(s[2],p[1]),h&&"none"!==h){var g=a(e.node1),v=f(s,p[0],g*t);o(s[0][0],s[1][0],s[2][0],v,n),s[0][0]=n[3],s[1][0]=n[4],o(s[0][1],s[1][1],s[2][1],v,n),s[0][1]=n[3],s[1][1]=n[4]}if(d&&"none"!==d){g=a(e.node2),v=f(s,p[1],g*t);o(s[0][0],s[1][0],s[2][0],v,n),s[1][0]=n[1],s[2][0]=n[2],o(s[0][1],s[1][1],s[2][1],v,n),s[1][1]=n[1],s[2][1]=n[2]}r.copy(c[0],s[0]),r.copy(c[1],s[2]),r.copy(c[2],s[1])}else{if(r.copy(l[0],p[0]),r.copy(l[1],p[1]),r.sub(u,l[1],l[0]),r.normalize(u,u),h&&"none"!==h){g=a(e.node1);r.scaleAndAdd(l[0],l[0],u,g*t)}if(d&&"none"!==d){g=a(e.node2);r.scaleAndAdd(l[1],l[1],u,-g*t)}r.copy(c[0],l[0]),r.copy(c[1],l[1])}}))}e.exports=p},3130:function(e,t,n){e.exports=n.p+"img/wh.21a8bd56.svg"},"318b":function(e,t,n){var i=n("cbe1"),r=n("5c3e");function o(e,t){var n,o=[],a=e.seriesIndex;if(null==a||!(n=t.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=r.queryDataIndex(s,e);if(null==l||l<0||i.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)o=c.dataToPoint(s.getValues(i.map(c.dimensions,(function(e){return s.mapDimension(e)})),l,!0))||[];else if(u){var h=u.getBoundingRect().clone();h.applyTransform(u.transform),o=[h.x+h.width/2,h.y+h.height/2]}return{point:o,el:u}}e.exports=o},3254:function(e,t,n){var i=n("333f"),r=n("58cc");n("bc5f"),n("0729"),n("f57a"),n("bbc2"),n("fafc"),i.registerPreprocessor(r)},"32bc":function(e,t,n){var i=n("2dda"),r=n("55ba"),o=r.round;function a(e,t,n){var r=e.getArea(),o=e.getBaseAxis().isHorizontal(),a=r.x,s=r.y,l=r.width,u=r.height,c=n.get("lineStyle.width")||2;a-=c/2,s-=c/2,l+=c,u+=c;var h=new i.Rect({shape:{x:a,y:s,width:l,height:u}});return t&&(h.shape[o?"width":"height"]=0,i.initProps(h,{shape:{width:l,height:u}},n)),h}function s(e,t,n){var r=e.getArea(),a=new i.Sector({shape:{cx:o(e.cx,1),cy:o(e.cy,1),r0:o(r.r0,1),r:o(r.r,1),startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});return t&&(a.shape.endAngle=r.startAngle,i.initProps(a,{shape:{endAngle:r.endAngle}},n)),a}function l(e,t,n){return e?"polar"===e.type?s(e,t,n):"cartesian2d"===e.type?a(e,t,n):null:null}t.createGridClipPath=a,t.createPolarClipPath=s,t.createClipPath=l},"32f3":function(e,t,n){var i=n("333f"),r=n("2dda"),o=n("cbe1"),a=n("df7d");function s(e){return o.isArray(e)||(e=[+e,+e]),e}var l=i.extendChartView({type:"radar",render:function(e,t,n){var i=e.coordinateSystem,l=this.group,u=e.getData(),c=this._data;function h(e,t){var n=e.getItemVisual(t,"symbol")||"circle",i=e.getItemVisual(t,"color");if("none"!==n){var r=s(e.getItemVisual(t,"symbolSize")),o=a.createSymbol(n,-1,-1,2,2,i);return o.attr({style:{strokeNoScale:!0},z2:100,scale:[r[0]/2,r[1]/2]}),o}}function d(t,n,i,o,a,s){i.removeAll();for(var l=0;l0&&e.unfinished);e.unfinished||this._zr.flush()}}},ie.getDom=function(){return this._dom},ie.getZr=function(){return this._zr},ie.setOption=function(e,t,n){if(this._disposed)_e(this.id);else{var i;if(E(t)&&(n=t.lazyUpdate,i=t.silent,t=t.notMerge),this[K]=!0,!this._model||t){var r=new f(this._api),o=this._theme,a=this._model=new c;a.scheduler=this._scheduler,a.init(null,null,o,r)}this._model.setOption(e,Pe),n?(this[J]={silent:i},this[K]=!1):(ae(this),oe.update.call(this),this._zr.flush(),this[J]=!1,this[K]=!1,ce.call(this,i),he.call(this,i))}},ie.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},ie.getModel=function(){return this._model},ie.getOption=function(){return this._model&&this._model.getOption()},ie.getWidth=function(){return this._zr.getWidth()},ie.getHeight=function(){return this._zr.getHeight()},ie.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},ie.getRenderedCanvas=function(e){if(s.canvasSupported){e=e||{},e.pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor");var t=this._zr;return t.painter.getRenderedCanvas(e)}},ie.getSvgDataUrl=function(){if(s.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return o.each(t,(function(e){e.stopAnimation(!0)})),e.painter.pathToDataUrl()}},ie.getDataURL=function(e){if(!this._disposed){e=e||{};var t=e.excludeComponents,n=this._model,i=[],r=this;k(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=r._componentsMap[e.__viewId];t.group.ignore||(i.push(t),t.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return k(i,(function(e){e.group.ignore=!1})),o}_e(this.id)},ie.getConnectedDataURL=function(e){if(this._disposed)_e(this.id);else if(s.canvasSupported){var t=this.group,n=Math.min,i=Math.max,a=1/0;if(Re[t]){var l=a,u=a,c=-a,h=-a,d=[],f=e&&e.pixelRatio||1;o.each(Ee,(function(r,a){if(r.group===t){var s=r.getRenderedCanvas(o.clone(e)),f=r.getDom().getBoundingClientRect();l=n(f.left,l),u=n(f.top,u),c=i(f.right,c),h=i(f.bottom,h),d.push({dom:s,left:f.left,top:f.top})}})),l*=f,u*=f,c*=f,h*=f;var p=c-l,g=h-u,v=o.createCanvas();v.width=p,v.height=g;var m=r.init(v);return e.connectedBackgroundColor&&m.add(new _.Rect({shape:{x:0,y:0,width:p,height:g},style:{fill:e.connectedBackgroundColor}})),k(d,(function(e){var t=new _.Image({style:{x:e.left*f-l,y:e.top*f-u,image:e.dom}});m.add(t)})),m.refreshImmediately(),v.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},ie.convertToPixel=o.curry(re,"convertToPixel"),ie.convertFromPixel=o.curry(re,"convertFromPixel"),ie.containPixel=function(e,t){if(!this._disposed){var n,i=this._model;return e=b.parseFinder(i,e),o.each(e,(function(e,i){i.indexOf("Models")>=0&&o.each(e,(function(e){var r=e.coordinateSystem;if(r&&r.containPoint)n|=!!r.containPoint(t);else if("seriesModels"===i){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(n|=o.containPoint(t,e))}}),this)}),this),!!n}_e(this.id)},ie.getVisual=function(e,t){var n=this._model;e=b.parseFinder(n,e,{defaultMainType:"series"});var i=e.seriesModel,r=i.getData(),o=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?r.indexOfRawIndex(e.dataIndex):null;return null!=o?r.getItemVisual(o,t):r.getVisual(t)},ie.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},ie.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var oe={prepareAndUpdate:function(e){ae(this),oe.update.call(this,e)},update:function(e){var t=this._model,n=this._api,i=this._zr,r=this._coordSysMgr,o=this._scheduler;if(t){o.restoreData(t,e),o.performSeriesTasks(t),r.create(t,n),o.performDataProcessorTasks(t,e),le(this,t),r.update(t,n),pe(t),o.performVisualTasks(t,e),ge(this,t,n,e);var l=t.get("backgroundColor")||"transparent";if(s.canvasSupported)i.setBackgroundColor(l);else{var u=a.parse(l);l=a.stringify(u,"rgb"),0===u[3]&&(l="transparent")}ye(t,n)}},updateTransform:function(e){var t=this._model,n=this,i=this._api;if(t){var r=[];t.eachComponent((function(o,a){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,t,i,e);l&&l.update&&r.push(s)}else r.push(s)}));var a=o.createHashMap();t.eachSeries((function(r){var o=n._chartsMap[r.__viewId];if(o.updateTransform){var s=o.updateTransform(r,t,i,e);s&&s.update&&a.set(r.uid,1)}else a.set(r.uid,1)})),pe(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0,dirtyMap:a}),me(n,t,i,e,a),ye(t,this._api)}},updateView:function(e){var t=this._model;t&&(x.markUpdateMethod(e,"updateView"),pe(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0}),ge(this,this._model,this._api,e),ye(t,this._api))},updateVisual:function(e){oe.update.call(this,e)},updateLayout:function(e){oe.update.call(this,e)}};function ae(e){var t=e._model,n=e._scheduler;n.restorePipelines(t),n.prepareStageTasks(),fe(e,"component",t,n),fe(e,"chart",t,n),n.plan()}function se(e,t,n,i,r){var a=e._model;if(i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};r&&(l.subType=r);var u=n.excludeSeriesId;null!=u&&(u=o.createHashMap(b.normalizeToArray(u))),a&&a.eachComponent(l,(function(t){u&&null!=u.get(t.id)||c(e["series"===i?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else k(e._componentsViews.concat(e._chartsViews),c);function c(i){i&&i.__alive&&i[t]&&i[t](i.__model,a,e._api,n)}}function le(e,t){var n=e._chartsMap,i=e._scheduler;t.eachSeries((function(e){i.updateStreamModes(e,n[e.__viewId])}))}function ue(e,t){var n=e.type,i=e.escapeConnect,r=Ae[n],a=r.actionInfo,s=(a.update||"update").split(":"),l=s.pop();s=null!=s[0]&&R(s[0]),this[K]=!0;var u=[e],c=!1;e.batch&&(c=!0,u=o.map(e.batch,(function(t){return t=o.defaults(o.extend({},t),e),t.batch=null,t})));var h,d=[],f="highlight"===n||"downplay"===n;k(u,(function(e){h=r.action(e,this._model,this._api),h=h||o.extend({},e),h.type=a.event||h.type,d.push(h),f?se(this,l,e,"series"):s&&se(this,l,e,s.main,s.sub)}),this),"none"===l||f||s||(this[J]?(ae(this),oe.update.call(this,e),this[J]=!1):oe[l].call(this,e)),h=c?{type:a.event||n,escapeConnect:i,batch:d}:d[0],this[K]=!1,!t&&this._messageCenter.trigger(h.type,h)}function ce(e){var t=this._pendingActions;while(t.length){var n=t.shift();ue.call(this,n,e)}}function he(e){!e&&this.trigger("updated")}function de(e,t){e.on("rendered",(function(){t.trigger("rendered"),!e.animation.isFinished()||t[J]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))}function fe(e,t,n,i){for(var r="component"===t,o=r?e._componentsViews:e._chartsViews,a=r?e._componentsMap:e._chartsMap,s=e._zr,l=e._api,u=0;ut.get("hoverLayerThreshold")&&!s.node&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.group.traverse((function(e){e.useHoverLayer=!0}))}}))}function we(e,t){var n=e.get("blendMode")||null;t.group.traverse((function(e){e.isGroup||e.style.blend!==n&&e.setStyle("blend",n),e.eachPendingDisplayable&&e.eachPendingDisplayable((function(e){e.setStyle("blend",n)}))}))}function Se(e,t){var n=e.get("z"),i=e.get("zlevel");t.group.traverse((function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=i&&(e.zlevel=i))}))}function Me(e){var t=e._coordSysMgr;return o.extend(new h(e),{getCoordinateSystems:o.bind(t.getCoordinateSystems,t),getComponentByElement:function(t){while(t){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}}})}function Ie(){this.eventInfo}ie._initEvents=function(){k(xe,(function(e){var t=function(t){var n,i=this.getModel(),r=t.target,a="globalout"===e;if(a)n={};else if(r&&null!=r.dataIndex){var s=r.dataModel||i.getSeriesByIndex(r.seriesIndex);n=s&&s.getDataParams(r.dataIndex,r.dataType,r)||{}}else r&&r.eventData&&(n=o.extend({},r.eventData));if(n){var l=n.componentType,u=n.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=n.seriesIndex);var c=l&&null!=u&&i.getComponent(l,u),h=c&&this["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];n.event=t,n.type=e,this._ecEventProcessor.eventInfo={targetEl:r,packedEvent:n,model:c,view:h},this.trigger(e,n)}};t.zrEventfulCallAtLast=!0,this._zr.on(e,t,this)}),this),k(Te,(function(e,t){this._messageCenter.on(t,(function(e){this.trigger(t,e)}),this)}),this)},ie.isDisposed=function(){return this._disposed},ie.clear=function(){this._disposed?_e(this.id):this.setOption({series:[]},!0)},ie.dispose=function(){if(this._disposed)_e(this.id);else{this._disposed=!0,b.setAttribute(this.getDom(),Be,"");var e=this._api,t=this._model;k(this._componentsViews,(function(n){n.dispose(t,e)})),k(this._chartsViews,(function(n){n.dispose(t,e)})),this._zr.dispose(),delete Ee[this.id]}},o.mixin(ne,u),Ie.prototype={constructor:Ie,normalizeQuery:function(e){var t={},n={},i={};if(o.isString(e)){var r=R(e);t.mainType=r.main||null,t.subType=r.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};o.each(e,(function(e,r){for(var o=!1,l=0;l0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(t.mainType=h,t[u.toLowerCase()]=e,o=!0)}}s.hasOwnProperty(r)&&(n[r]=e,o=!0),o||(i[r]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:i}},filter:function(e,t,n){var i=this.eventInfo;if(!i)return!0;var r=i.targetEl,o=i.packedEvent,a=i.model,s=i.view;if(!a||!s)return!0;var l=t.cptQuery,u=t.dataQuery;return c(l,a,"mainType")&&c(l,a,"subType")&&c(l,a,"index","componentIndex")&&c(l,a,"name")&&c(l,a,"id")&&c(u,o,"name")&&c(u,o,"dataIndex")&&c(u,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,t.otherQuery,r,o));function c(e,t,n,i){return null==e[n]||t[i||n]===e[n]}},afterTrigger:function(){this.eventInfo=null}};var Ae={},Te={},De=[],Pe=[],Ce=[],Oe=[],ke={},Le={},Ee={},Re={},ze=new Date-0,Ne=new Date-0,Be="_echarts_instance_";function Ve(e){var t=0,n=1,i=2,r="__connectUpdateStatus";function o(e,t){for(var n=0;n=0;c--)null==r[c]?r.splice(c,1):delete r[c].$action},_flatten:function(e,t,n){o.each(e,(function(e){if(e){n&&(e.parentOption=n),t.push(e);var i=e.children;"group"===e.type&&i&&this._flatten(i,t,e),delete e.children}}),this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});function f(e,t,n,i){var r=n.type,o=h.hasOwnProperty(r)?h[r]:s.getShapeClass(r),a=new o(n);t.add(a),i.set(e,a),a.__ecGraphicId=e}function p(e,t){var n=e&&e.parent;n&&("group"===e.type&&e.traverse((function(e){p(e,t)})),t.removeKey(e.__ecGraphicId),n.remove(e))}function g(e){return e=o.extend({},e),o.each(["id","parentId","$action","hv","bounding"].concat(l.LOCATION_PARAMS),(function(t){delete e[t]})),e}function v(e,t){var n;return o.each(t,(function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)})),n}function m(e,t){var n=e.exist;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var i=t.parentOption;i?t.parentId=i.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function y(e,t,n){var i=o.extend({},n),r=e[t],a=n.$action||"merge";"merge"===a?r?(o.merge(r,i,!0),l.mergeLayoutParam(r,i,{ignoreSize:!0}),l.copyLayoutParams(n,r)):e[t]=i:"replace"===a?e[t]=i:"remove"===a&&r&&(e[t]=null)}function x(e,t){e&&(e.hv=t.hv=[v(t,["left","right"]),v(t,["top","bottom"])],"group"===e.type&&(null==e.width&&(e.width=t.width=0),null==e.height&&(e.height=t.height=0)))}function _(e,t,n){var i=e.eventData;e.silent||e.ignore||i||(i=e.eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),i&&(i.info=e.info)}r.extendComponentView({type:"graphic",init:function(e,t){this._elMap=o.createHashMap(),this._lastGraphicModel},render:function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,n)},_updateElements:function(e){var t=e.useElOptionsToUpdate();if(t){var n=this._elMap,i=this.group;o.each(t,(function(t){var r=t.$action,o=t.id,a=n.get(o),s=t.parentId,l=null!=s?n.get(s):i,u=t.style;"text"===t.type&&u&&(t.hv&&t.hv[1]&&(u.textVerticalAlign=u.textBaseline=null),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke));var c=g(t);r&&"merge"!==r?"replace"===r?(p(a,n),f(o,l,c,n)):"remove"===r&&p(a,n):a?a.attr(c):f(o,l,c,n);var h=n.get(o);h&&(h.__ecGraphicWidthOption=t.width,h.__ecGraphicHeightOption=t.height,_(h,e,t))}))}},_relocate:function(e,t){for(var n=e.option.elements,i=this.group,r=this._elMap,o=t.getWidth(),a=t.getHeight(),s=0;s=0;s--){u=n[s],h=r.get(u.id);if(h){d=h.parent;var p=d===i?{width:o,height:a}:{width:d.__ecGraphicWidth,height:d.__ecGraphicHeight};l.positionElement(h,u,p,null,{hv:u.hv,boundingMode:u.bounding})}}},_clear:function(){var e=this._elMap;e.each((function(t){p(t,e)})),this._elMap=o.createHashMap()},dispose:function(){this._clear()}})},"337b":function(e,t,n){var i=n("cbe1"),r=i.retrieve,o=i.defaults,a=i.extend,s=i.each,l=n("4ae0"),u=n("2dda"),c=n("efdc"),h=n("55ba"),d=h.isRadianAroundZero,f=h.remRadian,p=n("df7d"),g=p.createSymbol,v=n("6b0b"),m=n("dbbd"),y=m.applyTransform,x=n("9a33"),_=x.shouldShowAllLabels,b=Math.PI,w=function(e,t){this.opt=t,this.axisModel=e,o(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var n=new u.Group({position:t.position.slice(),rotation:t.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};w.prototype={constructor:w,hasBuilder:function(e){return!!S[e]},add:function(e){S[e].call(this)},getGroup:function(){return this.group}};var S={axisLine:function(){var e=this.opt,t=this.axisModel;if(t.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),i=this._transform,r=[n[0],0],o=[n[1],0];i&&(y(r,r,i),y(o,o,i));var l=a({lineCap:"round"},t.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new u.Line({anid:"line",subPixelOptimize:!0,shape:{x1:r[0],y1:r[1],x2:o[0],y2:o[1]},style:l,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1}));var c=t.get("axisLine.symbol"),h=t.get("axisLine.symbolSize"),d=t.get("axisLine.symbolOffset")||0;if("number"===typeof d&&(d=[d,d]),null!=c){"string"===typeof c&&(c=[c,c]),"string"!==typeof h&&"number"!==typeof h||(h=[h,h]);var f=h[0],p=h[1];s([{rotate:e.rotation+Math.PI/2,offset:d[0],r:0},{rotate:e.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((r[0]-o[0])*(r[0]-o[0])+(r[1]-o[1])*(r[1]-o[1]))}],(function(t,n){if("none"!==c[n]&&null!=c[n]){var i=g(c[n],-f/2,-p/2,f,p,l.stroke,!0),o=t.r+t.offset,a=[r[0]+o*Math.cos(e.rotation),r[1]-o*Math.sin(e.rotation)];i.attr({rotation:t.rotate,position:a,silent:!0,z2:11}),this.group.add(i)}}),this)}}},axisTickLabel:function(){var e=this.axisModel,t=this.opt,n=k(this,e,t),i=L(this,e,t);D(e,i,n)},axisName:function(){var e=this.opt,t=this.axisModel,n=r(e.axisName,t.get("name"));if(n){var i,o,s=t.get("nameLocation"),c=e.nameDirection,h=t.getModel("nameTextStyle"),d=t.get("nameGap")||0,f=this.axisModel.axis.getExtent(),p=f[0]>f[1]?-1:1,g=["start"===s?f[0]-p*d:"end"===s?f[1]+p*d:(f[0]+f[1])/2,O(s)?e.labelOffset+c*d:0],v=t.get("nameRotate");null!=v&&(v=v*b/180),O(s)?i=I(e.rotation,null!=v?v:e.rotation,c):(i=A(e,s,v||0,f),o=e.axisNameAvailableWidth,null!=o&&(o=Math.abs(o/Math.sin(i.rotation)),!isFinite(o)&&(o=null)));var m=h.getFont(),y=t.get("nameTruncate",!0)||{},x=y.ellipsis,_=r(e.nameTruncateMaxWidth,y.maxWidth,o),w=null!=x&&null!=_?l.truncateText(n,_,m,x,{minChar:2,placeholder:y.placeholder}):n,S=t.get("tooltip",!0),D=t.mainType,P={componentType:D,name:n,$vars:["name"]};P[D+"Index"]=t.componentIndex;var C=new u.Text({anid:"name",__fullText:n,__truncatedText:w,position:g,rotation:i.rotation,silent:T(t),z2:1,tooltip:S&&S.show?a({content:n,formatter:function(){return n},formatterParams:P},S):null});u.setTextStyle(C.style,h,{text:w,textFont:m,textFill:h.getTextColor()||t.get("axisLine.lineStyle.color"),textAlign:h.get("align")||i.textAlign,textVerticalAlign:h.get("verticalAlign")||i.textVerticalAlign}),t.get("triggerEvent")&&(C.eventData=M(t),C.eventData.targetType="axisName",C.eventData.name=n),this._dumbGroup.add(C),C.updateTransform(),this.group.add(C),C.decomposeTransform()}}},M=w.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},I=w.innerTextLayout=function(e,t,n){var i,r,o=f(t-e);return d(o)?(r=n>0?"top":"bottom",i="center"):d(o-b)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}};function A(e,t,n,i){var r,o,a=f(n-e.rotation),s=i[0]>i[1],l="start"===t&&!s||"start"!==t&&s;return d(a-b/2)?(o=l?"bottom":"top",r="center"):d(a-1.5*b)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*b&&a>b/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}var T=w.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)};function D(e,t,n){if(!_(e.axis)){var i=e.get("axisLabel.showMinLabel"),r=e.get("axisLabel.showMaxLabel");t=t||[],n=n||[];var o=t[0],a=t[1],s=t[t.length-1],l=t[t.length-2],u=n[0],c=n[1],h=n[n.length-1],d=n[n.length-2];!1===i?(P(o),P(u)):C(o,a)&&(i?(P(a),P(c)):(P(o),P(u))),!1===r?(P(s),P(h)):C(l,s)&&(r?(P(l),P(d)):(P(s),P(h)))}}function P(e){e&&(e.ignore=!0)}function C(e,t,n){var i=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(i&&r){var o=v.identity([]);return v.rotate(o,o,-e.rotation),i.applyTransform(v.mul([],o,e.getLocalTransform())),r.applyTransform(v.mul([],o,t.getLocalTransform())),i.intersect(r)}}function O(e){return"middle"===e||"center"===e}function k(e,t,n){var i=t.axis;if(t.get("axisTick.show")&&!i.scale.isBlank()){for(var r=t.getModel("axisTick"),a=r.getModel("lineStyle"),s=r.get("length"),l=i.getTicksCoords(),c=[],h=[],d=e._transform,f=[],p=0;p=0&&"number"===typeof u&&(u=+u.toFixed(Math.min(m,20))),g.coord[f]=v.coord[f]=u,r=[g,v,{type:s,valueIndex:r.valueIndex,value:u}]}return r=[a.dataTransform(e,r[0]),a.dataTransform(e,r[1]),i.extend({},r[2])],r[2].type=r[2].type||"",i.merge(r[2],r[0]),i.merge(r[2],r[1]),r};function d(e){return!isNaN(e)&&!isFinite(e)}function f(e,t,n,i){var r=1-e,o=i.dimensions[e];return d(t[r])&&d(n[r])&&t[e]===n[e]&&i.getAxis(o).containData(t[e])}function p(e,t){if("cartesian2d"===e.type){var n=t[0].coord,i=t[1].coord;if(n&&i&&(f(1,n,i,e)||f(0,n,i,e)))return!0}return a.dataFilter(e,t[0])&&a.dataFilter(e,t[1])}function g(e,t,n,i,r){var a,s=i.coordinateSystem,l=e.getItemModel(t),u=o.parsePercent(l.get("x"),r.getWidth()),c=o.parsePercent(l.get("y"),r.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)a=i.getMarkerPosition(e.getValues(e.dimensions,t));else{var h=s.dimensions,f=e.get(h[0],t),p=e.get(h[1],t);a=s.dataToPoint([f,p])}if("cartesian2d"===s.type){var g=s.getAxis("x"),v=s.getAxis("y");h=s.dimensions;d(e.get(h[0],t))?a[0]=g.toGlobalCoord(g.getExtent()[n?0:1]):d(e.get(h[1],t))&&(a[1]=v.toGlobalCoord(v.getExtent()[n?0:1]))}isNaN(u)||(a[0]=u),isNaN(c)||(a[1]=c)}else a=[u,c];e.setItemLayout(t,a)}var v=l.extend({type:"markLine",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markLineModel;if(t){var i=t.getData(),r=t.__from,o=t.__to;r.each((function(t){g(r,t,!0,e,n),g(o,t,!1,e,n)})),i.each((function(e){i.setItemLayout(e,[r.getItemLayout(e),o.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},renderSeries:function(e,t,n,r){var o=e.coordinateSystem,a=e.id,l=e.getData(),u=this.markerGroupMap,c=u.get(a)||u.set(a,new s);this.group.add(c.group);var h=m(o,e,t),d=h.from,f=h.to,p=h.line;t.__from=d,t.__to=f,t.setData(p);var v=t.get("symbol"),y=t.get("symbolSize");function x(t,n,i){var o=t.getItemModel(n);g(t,n,i,e,r),t.setItemVisual(n,{symbolSize:o.get("symbolSize")||y[i?0:1],symbol:o.get("symbol",!0)||v[i?0:1],color:o.get("itemStyle.color")||l.getVisual("color")})}i.isArray(v)||(v=[v,v]),"number"===typeof y&&(y=[y,y]),h.from.each((function(e){x(d,e,!0),x(f,e,!1)})),p.each((function(e){var t=p.getItemModel(e).get("lineStyle.color");p.setItemVisual(e,{color:t||d.getItemVisual(e,"color")}),p.setItemLayout(e,[d.getItemLayout(e),f.getItemLayout(e)]),p.setItemVisual(e,{fromSymbolSize:d.getItemVisual(e,"symbolSize"),fromSymbol:d.getItemVisual(e,"symbol"),toSymbolSize:f.getItemVisual(e,"symbolSize"),toSymbol:f.getItemVisual(e,"symbol")})})),c.updateData(p),h.line.eachItemGraphicEl((function(e,n){e.traverse((function(e){e.dataModel=t}))})),c.__keep=!0,c.group.silent=t.get("silent")||e.get("silent")}});function m(e,t,n){var o;o=e?i.map(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return i.defaults({name:e},n)})):[{name:"value",type:"float"}];var s=new r(o,n),l=new r(o,n),u=new r([],n),c=i.map(n.get("data"),i.curry(h,t,e,n));e&&(c=i.filter(c,i.curry(p,e)));var d=e?a.dimValueGetter:function(e){return e.value};return s.initData(i.map(c,(function(e){return e[0]})),null,d),l.initData(i.map(c,(function(e){return e[1]})),null,d),u.initData(i.map(c,(function(e){return e[2]}))),u.hasItemOption=!0,{from:s,to:l,line:u}}e.exports=v},3647:function(e,t,n){var i=n("7ae1"),r=i.retrieveRawValue;function o(e,t){var n=e.mapDimension("defaultedLabel",!0),i=n.length;if(1===i)return r(e,t,n[0]);if(i){for(var o=[],a=0;as)return!0;if(o){var l=a.getAxisInfo(e).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===n},makeElOption:function(e,t,n,i,r){},createPointerEl:function(e,t,n,i){var r=t.pointer;if(r){var a=h(e).pointerEl=new o[r.type](d(t.pointer));e.add(a)}},createLabelEl:function(e,t,n,i){if(t.label){var r=h(e).labelEl=new o.Rect(d(t.label));e.add(r),m(r,i)}},updatePointerEl:function(e,t,n){var i=h(e).pointerEl;i&&t.pointer&&(i.setStyle(t.pointer.style),n(i,{shape:t.pointer.shape}))},updateLabelEl:function(e,t,n,i){var r=h(e).labelEl;r&&(r.setStyle(t.label.style),n(r,{shape:t.label.shape,position:t.label.position}),m(r,i))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,r=this._api.getZr(),a=this._handle,u=n.getModel("handle"),c=n.get("status");if(!u.get("show")||!c||"hide"===c)return a&&r.remove(a),void(this._handle=null);this._handle||(t=!0,a=this._handle=o.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){s.stop(e.event)},onmousedown:f(this._onHandleDragMove,this,0,0),drift:f(this._onHandleDragMove,this),ondragend:f(this._onHandleDragEnd,this)}),r.add(a)),x(a,n,!1);var h=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];a.setStyle(u.getItemStyle(null,h));var d=u.get("size");i.isArray(d)||(d=[d,d]),a.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},_moveHandleToValue:function(e,t){g(this._axisPointerModel,!t&&this._moveAnimation,this._handle,y(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(e,t){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(y(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(y(i)),h(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var e=this._handle;if(e){var t=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},_onHandleDragEnd:function(e){this._dragging=!1;var t=this._handle;if(t){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,i=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),i&&t.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}},p.prototype.constructor=p,r.enableClassExtend(p);var _=p;e.exports=_},3804:function(e,t){var n={};n="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}:r(navigator.userAgent);var i=n;function r(e){var t={},n={},i=e.match(/Firefox\/([\d.]+)/),r=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(e);return i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1]),a&&(n.weChat=!0),{browser:n,os:t,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11),domSupported:"undefined"!==typeof document}}e.exports=i},"384e":function(e,t,n){var i=n("4790"),r=n("86e8"),o=n("cbe1"),a=n("4ae0"),s=a.encodeHTML,l=i.extend({type:"series.radar",dependencies:["radar"],init:function(e){l.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},getInitialData:function(e,t){return r(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(e){var t=this.getData(),n=this.coordinateSystem,i=n.getIndicatorAxes(),r=this.getData().getName(e);return s(""===r?this.name:r)+"
"+o.map(i,(function(n,i){var r=t.get(t.mapDimension(n.dim),e);return s(n.name+" : "+r)})).join("
")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),u=l;e.exports=u},3866:function(e,t,n){n("45d0"),n("c4b0")},"38c1":function(e,t,n){var i=n("cbe1"),r=n("d36d"),o=function(e,t,n,i,o){r.call(this,e,t,n),this.type=i||"value",this.position=o||"bottom"};o.prototype={constructor:o,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getGlobalExtent:function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},i.inherits(o,r);var a=o;e.exports=a},"391c":function(e,t,n){(function(e,i){var r; /** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */(function(){var o,a="4.17.15",s=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",c="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",f=1,p=2,g=4,v=1,m=2,y=1,x=2,_=4,b=8,w=16,S=32,M=64,I=128,A=256,T=512,D=30,P="...",C=800,O=16,k=1,L=2,E=3,R=1/0,z=9007199254740991,N=17976931348623157e292,B=NaN,V=4294967295,j=V-1,F=V>>>1,W=[["ary",I],["bind",y],["bindKey",x],["curry",b],["curryRight",w],["flip",T],["partial",S],["partialRight",M],["rearg",A]],G="[object Arguments]",H="[object Array]",U="[object AsyncFunction]",Y="[object Boolean]",Z="[object Date]",X="[object DOMException]",q="[object Error]",$="[object Function]",K="[object GeneratorFunction]",J="[object Map]",Q="[object Number]",ee="[object Null]",te="[object Object]",ne="[object Promise]",ie="[object Proxy]",re="[object RegExp]",oe="[object Set]",ae="[object String]",se="[object Symbol]",le="[object Undefined]",ue="[object WeakMap]",ce="[object WeakSet]",he="[object ArrayBuffer]",de="[object DataView]",fe="[object Float32Array]",pe="[object Float64Array]",ge="[object Int8Array]",ve="[object Int16Array]",me="[object Int32Array]",ye="[object Uint8Array]",xe="[object Uint8ClampedArray]",_e="[object Uint16Array]",be="[object Uint32Array]",we=/\b__p \+= '';/g,Se=/\b(__p \+=) '' \+/g,Me=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ie=/&(?:amp|lt|gt|quot|#39);/g,Ae=/[&<>"']/g,Te=RegExp(Ie.source),De=RegExp(Ae.source),Pe=/<%-([\s\S]+?)%>/g,Ce=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,ke=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Le=/^\w*$/,Ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Re=/[\\^$.*+?()[\]{}|]/g,ze=RegExp(Re.source),Ne=/^\s+|\s+$/g,Be=/^\s+/,Ve=/\s+$/,je=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fe=/\{\n\/\* \[wrapped with (.+)\] \*/,We=/,? & /,Ge=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,He=/\\(\\)?/g,Ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ye=/\w*$/,Ze=/^[-+]0x[0-9a-f]+$/i,Xe=/^0b[01]+$/i,qe=/^\[object .+?Constructor\]$/,$e=/^0o[0-7]+$/i,Ke=/^(?:0|[1-9]\d*)$/,Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qe=/($^)/,et=/['\n\r\u2028\u2029\\]/g,tt="\\ud800-\\udfff",nt="\\u0300-\\u036f",it="\\ufe20-\\ufe2f",rt="\\u20d0-\\u20ff",ot=nt+it+rt,at="\\u2700-\\u27bf",st="a-z\\xdf-\\xf6\\xf8-\\xff",lt="\\xac\\xb1\\xd7\\xf7",ut="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ct="\\u2000-\\u206f",ht=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dt="A-Z\\xc0-\\xd6\\xd8-\\xde",ft="\\ufe0e\\ufe0f",pt=lt+ut+ct+ht,gt="['’]",vt="["+tt+"]",mt="["+pt+"]",yt="["+ot+"]",xt="\\d+",_t="["+at+"]",bt="["+st+"]",wt="[^"+tt+pt+xt+at+st+dt+"]",St="\\ud83c[\\udffb-\\udfff]",Mt="(?:"+yt+"|"+St+")",It="[^"+tt+"]",At="(?:\\ud83c[\\udde6-\\uddff]){2}",Tt="[\\ud800-\\udbff][\\udc00-\\udfff]",Dt="["+dt+"]",Pt="\\u200d",Ct="(?:"+bt+"|"+wt+")",Ot="(?:"+Dt+"|"+wt+")",kt="(?:"+gt+"(?:d|ll|m|re|s|t|ve))?",Lt="(?:"+gt+"(?:D|LL|M|RE|S|T|VE))?",Et=Mt+"?",Rt="["+ft+"]?",zt="(?:"+Pt+"(?:"+[It,At,Tt].join("|")+")"+Rt+Et+")*",Nt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Bt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Vt=Rt+Et+zt,jt="(?:"+[_t,At,Tt].join("|")+")"+Vt,Ft="(?:"+[It+yt+"?",yt,At,Tt,vt].join("|")+")",Wt=RegExp(gt,"g"),Gt=RegExp(yt,"g"),Ht=RegExp(St+"(?="+St+")|"+Ft+Vt,"g"),Ut=RegExp([Dt+"?"+bt+"+"+kt+"(?="+[mt,Dt,"$"].join("|")+")",Ot+"+"+Lt+"(?="+[mt,Dt+Ct,"$"].join("|")+")",Dt+"?"+Ct+"+"+kt,Dt+"+"+Lt,Bt,Nt,xt,jt].join("|"),"g"),Yt=RegExp("["+Pt+tt+ot+ft+"]"),Zt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Xt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],qt=-1,$t={};$t[fe]=$t[pe]=$t[ge]=$t[ve]=$t[me]=$t[ye]=$t[xe]=$t[_e]=$t[be]=!0,$t[G]=$t[H]=$t[he]=$t[Y]=$t[de]=$t[Z]=$t[q]=$t[$]=$t[J]=$t[Q]=$t[te]=$t[re]=$t[oe]=$t[ae]=$t[ue]=!1;var Kt={};Kt[G]=Kt[H]=Kt[he]=Kt[de]=Kt[Y]=Kt[Z]=Kt[fe]=Kt[pe]=Kt[ge]=Kt[ve]=Kt[me]=Kt[J]=Kt[Q]=Kt[te]=Kt[re]=Kt[oe]=Kt[ae]=Kt[se]=Kt[ye]=Kt[xe]=Kt[_e]=Kt[be]=!0,Kt[q]=Kt[$]=Kt[ue]=!1;var Jt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Qt={"&":"&","<":"<",">":">",'"':""","'":"'"},en={"&":"&","<":"<",">":">",""":'"',"'":"'"},tn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nn=parseFloat,rn=parseInt,on="object"==typeof e&&e&&e.Object===Object&&e,an="object"==typeof self&&self&&self.Object===Object&&self,sn=on||an||Function("return this")(),ln=t&&!t.nodeType&&t,un=ln&&"object"==typeof i&&i&&!i.nodeType&&i,cn=un&&un.exports===ln,hn=cn&&on.process,dn=function(){try{var e=un&&un.require&&un.require("util").types;return e||hn&&hn.binding&&hn.binding("util")}catch(t){}}(),fn=dn&&dn.isArrayBuffer,pn=dn&&dn.isDate,gn=dn&&dn.isMap,vn=dn&&dn.isRegExp,mn=dn&&dn.isSet,yn=dn&&dn.isTypedArray;function xn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function _n(e,t,n,i){var r=-1,o=null==e?0:e.length;while(++r-1}function An(e,t,n){var i=-1,r=null==e?0:e.length;while(++i-1);return n}function Jn(e,t){var n=e.length;while(n--&&Nn(t,e[n],0)>-1);return n}function Qn(e,t){var n=e.length,i=0;while(n--)e[n]===t&&++i;return i}var ei=Wn(Jt),ti=Wn(Qt);function ni(e){return"\\"+tn[e]}function ii(e,t){return null==e?o:e[t]}function ri(e){return Yt.test(e)}function oi(e){return Zt.test(e)}function ai(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}function si(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}function li(e,t){return function(n){return e(t(n))}}function ui(e,t){var n=-1,i=e.length,r=0,o=[];while(++n-1}function ji(e,t){var n=this.__data__,i=lr(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}function Fi(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t=t?e:t)),e}function gr(e,t,n,i,r,a){var s,l=t&f,u=t&p,c=t&g;if(n&&(s=r?n(e,i,r,a):n(e)),s!==o)return s;if(!wc(e))return e;var h=ac(e);if(h){if(s=Qa(e),!l)return na(e,s)}else{var d=qa(e),v=d==$||d==K;if(hc(e))return Yo(e,l);if(d==te||d==G||v&&!r){if(s=u||v?{}:es(e),!l)return u?oa(e,hr(s,e)):ra(e,cr(s,e))}else{if(!Kt[d])return r?e:{};s=ts(e,d,l)}}a||(a=new $i);var m=a.get(e);if(m)return m;a.set(e,s),Rc(e)?e.forEach((function(i){s.add(gr(i,t,n,i,e,a))})):Mc(e)&&e.forEach((function(i,r){s.set(r,gr(i,t,n,r,e,a))}));var y=c?u?Ba:Na:u?bh:_h,x=h?o:y(e);return bn(x||e,(function(i,r){x&&(r=i,i=e[r]),sr(s,r,gr(i,t,n,r,e,a))})),s}function vr(e){var t=_h(e);return function(n){return mr(n,e,t)}}function mr(e,t,n){var i=n.length;if(null==e)return!i;e=nt(e);while(i--){var r=n[i],a=t[r],s=e[r];if(s===o&&!(r in e)||!a(s))return!1}return!0}function yr(e,t,n){if("function"!=typeof e)throw new ot(u);return Ss((function(){e.apply(o,n)}),t)}function xr(e,t,n,i){var r=-1,o=In,a=!0,l=e.length,u=[],c=t.length;if(!l)return u;n&&(t=Tn(t,Xn(n))),i?(o=An,a=!1):t.length>=s&&(o=$n,a=!1,t=new Zi(t));e:while(++rr?0:r+n),i=i===o||i>r?r:Yc(i),i<0&&(i+=r),i=n>i?0:Zc(i);while(n0&&n(s)?t>1?Ar(s,t-1,n,i,r):Dn(r,s):i||(r[r.length]=s)}return r}var Tr=ua(),Dr=ua(!0);function Pr(e,t){return e&&Tr(e,t,_h)}function Cr(e,t){return e&&Dr(e,t,_h)}function Or(e,t){return Mn(t,(function(t){return xc(e[t])}))}function kr(e,t){t=Wo(t,e);var n=0,i=t.length;while(null!=e&&nt}function zr(e,t){return null!=e&&ht.call(e,t)}function Nr(e,t){return null!=e&&t in nt(e)}function Br(e,t,n){return e>=Ft(t,n)&&e=120&&d.length>=120)?new Zi(l&&d):o}d=e[0];var f=-1,p=u[0];e:while(++f-1)s!==e&&It.call(s,l,1),It.call(e,l,1)}return e}function go(e,t){var n=e?t.length:0,i=n-1;while(n--){var r=t[n];if(n==i||r!==o){var o=r;rs(r)?It.call(e,r,1):Eo(e,r)}}return e}function vo(e,t){return e+Et(Yt()*(t-e+1))}function mo(e,t,i,r){var o=-1,a=jt(Lt((t-e)/(i||1)),0),s=n(a);while(a--)s[r?a:++o]=e,e+=i;return s}function yo(e,t){var n="";if(!e||t<1||t>z)return n;do{t%2&&(n+=e),t=Et(t/2),t&&(e+=e)}while(t);return n}function xo(e,t){return Ms(ys(e,t,Dd),e+"")}function _o(e){return ir(Vh(e))}function bo(e,t){var n=Vh(e);return Ts(n,pr(t,0,n.length))}function wo(e,t,n,i){if(!wc(e))return e;t=Wo(t,e);var r=-1,a=t.length,s=a-1,l=e;while(null!=l&&++ro?0:o+t),i=i>o?o:i,i<0&&(i+=o),o=t>i?0:i-t>>>0,t>>>=0;var a=n(o);while(++r>>1,a=e[o];null!==a&&!Nc(a)&&(n?a<=t:a=s){var c=t?null:Ta(e);if(c)return ci(c);a=!1,r=$n,u=new Zi}else u=t?[]:l;e:while(++i=i?e:Ao(e,t,n)}var Uo=Ct||function(e){return sn.clearTimeout(e)};function Yo(e,t){if(t)return e.slice();var n=e.length,i=bt?bt(n):new e.constructor(n);return e.copy(i),i}function Zo(e){var t=new e.constructor(e.byteLength);return new _t(t).set(new _t(e)),t}function Xo(e,t){var n=t?Zo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function qo(e){var t=new e.constructor(e.source,Ye.exec(e));return t.lastIndex=e.lastIndex,t}function $o(e){return mi?nt(mi.call(e)):{}}function Ko(e,t){var n=t?Zo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Jo(e,t){if(e!==t){var n=e!==o,i=null===e,r=e===e,a=Nc(e),s=t!==o,l=null===t,u=t===t,c=Nc(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||i&&s&&u||!n&&u||!r)return 1;if(!i&&!a&&!c&&e=s)return l;var u=n[i];return l*("desc"==u?-1:1)}}return e.index-t.index}function ea(e,t,i,r){var o=-1,a=e.length,s=i.length,l=-1,u=t.length,c=jt(a-s,0),h=n(u+c),d=!r;while(++l1?n[r-1]:o,s=r>2?n[2]:o;a=e.length>3&&"function"==typeof a?(r--,a):o,s&&os(n[0],n[1],s)&&(a=r<3?o:a,r=1),t=nt(t);while(++i-1?r[a?t[s]:s]:o}}function va(e){return za((function(t){var n=t.length,i=n,r=Mi.prototype.thru;e&&t.reverse();while(i--){var a=t[i];if("function"!=typeof a)throw new ot(u);if(r&&!s&&"wrapper"==ja(a))var s=new Mi([],!0)}i=s?i:n;while(++i1&&y.reverse(),d&&cl))return!1;var c=a.get(e);if(c&&a.get(t))return c==t;var h=-1,d=!0,f=n&m?new Zi:o;a.set(e,t),a.set(t,e);while(++h1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(je,"{\n/* [wrapped with "+t+"] */\n")}function is(e){return ac(e)||oc(e)||!!(At&&e&&e[At])}function rs(e,t){var n=typeof e;return t=null==t?z:t,!!t&&("number"==n||"symbol"!=n&&Ke.test(e))&&e>-1&&e%1==0&&e0){if(++t>=C)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ts(e,t){var n=-1,i=e.length,r=i-1;t=t===o?i:t;while(++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,El(e,n)}));function Gl(e){var t=_i(e);return t.__chain__=!0,t}function Hl(e,t){return t(e),e}function Ul(e,t){return t(e)}var Yl=za((function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,r=function(t){return fr(t,e)};return!(t>1||this.__actions__.length)&&i instanceof Ii&&rs(n)?(i=i.slice(n,+n+(t?1:0)),i.__actions__.push({func:Ul,args:[r],thisArg:o}),new Mi(i,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(r)}));function Zl(){return Gl(this)}function Xl(){return new Mi(this.value(),this.__chain__)}function ql(){this.__values__===o&&(this.__values__=Hc(this.value()));var e=this.__index__>=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}}function $l(){return this}function Kl(e){var t,n=this;while(n instanceof Si){var i=ks(n);i.__index__=0,i.__values__=o,t?r.__wrapped__=i:t=i;var r=i;n=n.__wrapped__}return r.__wrapped__=e,t}function Jl(){var e=this.__wrapped__;if(e instanceof Ii){var t=e;return this.__actions__.length&&(t=new Ii(this)),t=t.reverse(),t.__actions__.push({func:Ul,args:[dl],thisArg:o}),new Mi(t,this.__chain__)}return this.thru(dl)}function Ql(){return No(this.__wrapped__,this.__actions__)}var eu=aa((function(e,t,n){ht.call(e,n)?++e[n]:dr(e,n,1)}));function tu(e,t,n){var i=ac(e)?Sn:wr;return n&&os(e,t,n)&&(t=o),i(e,Wa(t,3))}function nu(e,t){var n=ac(e)?Mn:Ir;return n(e,Wa(t,3))}var iu=ga(Hs),ru=ga(Us);function ou(e,t){return Ar(pu(e,t),1)}function au(e,t){return Ar(pu(e,t),R)}function su(e,t,n){return n=n===o?1:Yc(n),Ar(pu(e,t),n)}function lu(e,t){var n=ac(e)?bn:_r;return n(e,Wa(t,3))}function uu(e,t){var n=ac(e)?wn:br;return n(e,Wa(t,3))}var cu=aa((function(e,t,n){ht.call(e,n)?e[n].push(t):dr(e,n,[t])}));function hu(e,t,n,i){e=lc(e)?e:Vh(e),n=n&&!i?Yc(n):0;var r=e.length;return n<0&&(n=jt(r+n,0)),zc(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&Nn(e,t,n)>-1}var du=xo((function(e,t,i){var r=-1,o="function"==typeof t,a=lc(e)?n(e.length):[];return _r(e,(function(e){a[++r]=o?xn(t,e,i):Fr(e,t,i)})),a})),fu=aa((function(e,t,n){dr(e,n,t)}));function pu(e,t){var n=ac(e)?Tn:io;return n(e,Wa(t,3))}function gu(e,t,n,i){return null==e?[]:(ac(t)||(t=null==t?[]:[t]),n=i?o:n,ac(n)||(n=null==n?[]:[n]),uo(e,t,n))}var vu=aa((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));function mu(e,t,n){var i=ac(e)?Pn:Gn,r=arguments.length<3;return i(e,Wa(t,4),n,r,_r)}function yu(e,t,n){var i=ac(e)?Cn:Gn,r=arguments.length<3;return i(e,Wa(t,4),n,r,br)}function xu(e,t){var n=ac(e)?Mn:Ir;return n(e,Vu(Wa(t,3)))}function _u(e){var t=ac(e)?ir:_o;return t(e)}function bu(e,t,n){t=(n?os(e,t,n):t===o)?1:Yc(t);var i=ac(e)?rr:bo;return i(e,t)}function wu(e){var t=ac(e)?or:Io;return t(e)}function Su(e){if(null==e)return 0;if(lc(e))return zc(e)?pi(e):e.length;var t=qa(e);return t==J||t==oe?e.size:eo(e).length}function Mu(e,t,n){var i=ac(e)?On:To;return n&&os(e,t,n)&&(t=o),i(e,Wa(t,3))}var Iu=xo((function(e,t){if(null==e)return[];var n=t.length;return n>1&&os(e,t[0],t[1])?t=[]:n>2&&os(t[0],t[1],t[2])&&(t=[t[0]]),uo(e,Ar(t,1),[])})),Au=Ot||function(){return sn.Date.now()};function Tu(e,t){if("function"!=typeof t)throw new ot(u);return e=Yc(e),function(){if(--e<1)return t.apply(this,arguments)}}function Du(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Pa(e,I,o,o,o,o,t)}function Pu(e,t){var n;if("function"!=typeof t)throw new ot(u);return e=Yc(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Cu=xo((function(e,t,n){var i=y;if(n.length){var r=ui(n,Fa(Cu));i|=S}return Pa(e,i,t,n,r)})),Ou=xo((function(e,t,n){var i=y|x;if(n.length){var r=ui(n,Fa(Ou));i|=S}return Pa(t,i,e,n,r)}));function ku(e,t,n){t=n?o:t;var i=Pa(e,b,o,o,o,o,o,t);return i.placeholder=ku.placeholder,i}function Lu(e,t,n){t=n?o:t;var i=Pa(e,w,o,o,o,o,o,t);return i.placeholder=Lu.placeholder,i}function Eu(e,t,n){var i,r,a,s,l,c,h=0,d=!1,f=!1,p=!0;if("function"!=typeof e)throw new ot(u);function g(t){var n=i,a=r;return i=r=o,h=t,s=e.apply(a,n),s}function v(e){return h=e,l=Ss(x,t),d?g(e):s}function m(e){var n=e-c,i=e-h,r=t-n;return f?Ft(r,a-i):r}function y(e){var n=e-c,i=e-h;return c===o||n>=t||n<0||f&&i>=a}function x(){var e=Au();if(y(e))return _(e);l=Ss(x,m(e))}function _(e){return l=o,p&&i?g(e):(i=r=o,s)}function b(){l!==o&&Uo(l),h=0,i=c=r=l=o}function w(){return l===o?s:_(Au())}function S(){var e=Au(),n=y(e);if(i=arguments,r=this,c=e,n){if(l===o)return v(c);if(f)return Uo(l),l=Ss(x,t),g(c)}return l===o&&(l=Ss(x,t)),s}return t=Xc(t)||0,wc(n)&&(d=!!n.leading,f="maxWait"in n,a=f?jt(Xc(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),S.cancel=b,S.flush=w,S}var Ru=xo((function(e,t){return yr(e,1,t)})),zu=xo((function(e,t,n){return yr(e,Xc(t)||0,n)}));function Nu(e){return Pa(e,T)}function Bu(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ot(u);var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=e.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Bu.Cache||Fi),n}function Vu(e){if("function"!=typeof e)throw new ot(u);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function ju(e){return Pu(2,e)}Bu.Cache=Fi;var Fu=Go((function(e,t){t=1==t.length&&ac(t[0])?Tn(t[0],Xn(Wa())):Tn(Ar(t,1),Xn(Wa()));var n=t.length;return xo((function(i){var r=-1,o=Ft(i.length,n);while(++r=t})),oc=Wr(function(){return arguments}())?Wr:function(e){return Sc(e)&&ht.call(e,"callee")&&!Mt.call(e,"callee")},ac=n.isArray,sc=fn?Xn(fn):Gr;function lc(e){return null!=e&&bc(e.length)&&!xc(e)}function uc(e){return Sc(e)&&lc(e)}function cc(e){return!0===e||!1===e||Sc(e)&&Er(e)==Y}var hc=zt||Yd,dc=pn?Xn(pn):Hr;function fc(e){return Sc(e)&&1===e.nodeType&&!kc(e)}function pc(e){if(null==e)return!0;if(lc(e)&&(ac(e)||"string"==typeof e||"function"==typeof e.splice||hc(e)||Bc(e)||oc(e)))return!e.length;var t=qa(e);if(t==J||t==oe)return!e.size;if(hs(e))return!eo(e).length;for(var n in e)if(ht.call(e,n))return!1;return!0}function gc(e,t){return Ur(e,t)}function vc(e,t,n){n="function"==typeof n?n:o;var i=n?n(e,t):o;return i===o?Ur(e,t,o,n):!!i}function mc(e){if(!Sc(e))return!1;var t=Er(e);return t==q||t==X||"string"==typeof e.message&&"string"==typeof e.name&&!kc(e)}function yc(e){return"number"==typeof e&&Nt(e)}function xc(e){if(!wc(e))return!1;var t=Er(e);return t==$||t==K||t==U||t==ie}function _c(e){return"number"==typeof e&&e==Yc(e)}function bc(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=z}function wc(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Sc(e){return null!=e&&"object"==typeof e}var Mc=gn?Xn(gn):Zr;function Ic(e,t){return e===t||Xr(e,t,Ha(t))}function Ac(e,t,n){return n="function"==typeof n?n:o,Xr(e,t,Ha(t),n)}function Tc(e){return Oc(e)&&e!=+e}function Dc(e){if(cs(e))throw new r(l);return qr(e)}function Pc(e){return null===e}function Cc(e){return null==e}function Oc(e){return"number"==typeof e||Sc(e)&&Er(e)==Q}function kc(e){if(!Sc(e)||Er(e)!=te)return!1;var t=wt(e);if(null===t)return!0;var n=ht.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ct.call(n)==gt}var Lc=vn?Xn(vn):$r;function Ec(e){return _c(e)&&e>=-z&&e<=z}var Rc=mn?Xn(mn):Kr;function zc(e){return"string"==typeof e||!ac(e)&&Sc(e)&&Er(e)==ae}function Nc(e){return"symbol"==typeof e||Sc(e)&&Er(e)==se}var Bc=yn?Xn(yn):Jr;function Vc(e){return e===o}function jc(e){return Sc(e)&&qa(e)==ue}function Fc(e){return Sc(e)&&Er(e)==ce}var Wc=Ma(no),Gc=Ma((function(e,t){return e<=t}));function Hc(e){if(!e)return[];if(lc(e))return zc(e)?gi(e):na(e);if(Tt&&e[Tt])return ai(e[Tt]());var t=qa(e),n=t==J?si:t==oe?ci:Vh;return n(e)}function Uc(e){if(!e)return 0===e?e:0;if(e=Xc(e),e===R||e===-R){var t=e<0?-1:1;return t*N}return e===e?e:0}function Yc(e){var t=Uc(e),n=t%1;return t===t?n?t-n:t:0}function Zc(e){return e?pr(Yc(e),0,V):0}function Xc(e){if("number"==typeof e)return e;if(Nc(e))return B;if(wc(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=wc(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Ne,"");var n=Xe.test(e);return n||$e.test(e)?rn(e.slice(2),n?2:8):Ze.test(e)?B:+e}function qc(e){return ia(e,bh(e))}function $c(e){return e?pr(Yc(e),-z,z):0===e?e:0}function Kc(e){return null==e?"":ko(e)}var Jc=sa((function(e,t){if(hs(t)||lc(t))ia(t,_h(t),e);else for(var n in t)ht.call(t,n)&&sr(e,n,t[n])})),Qc=sa((function(e,t){ia(t,bh(t),e)})),eh=sa((function(e,t,n,i){ia(t,bh(t),e,i)})),th=sa((function(e,t,n,i){ia(t,_h(t),e,i)})),nh=za(fr);function ih(e,t){var n=wi(e);return null==t?n:cr(n,t)}var rh=xo((function(e,t){e=nt(e);var n=-1,i=t.length,r=i>2?t[2]:o;r&&os(t[0],t[1],r)&&(i=1);while(++n1),t})),ia(e,Ba(e),n),i&&(n=gr(n,f|p|g,ka));var r=t.length;while(r--)Eo(n,t[r]);return n}));function Th(e,t){return Ph(e,Vu(Wa(t)))}var Dh=za((function(e,t){return null==e?{}:co(e,t)}));function Ph(e,t){if(null==e)return{};var n=Tn(Ba(e),(function(e){return[e]}));return t=Wa(t),ho(e,n,(function(e,n){return t(e,n[0])}))}function Ch(e,t,n){t=Wo(t,e);var i=-1,r=t.length;r||(r=1,e=o);while(++it){var i=e;e=t,t=i}if(n||e%1||t%1){var r=Yt();return Ft(e+r*(t-e+nn("1e-"+((r+"").length-1))),t)}return vo(e,t)}var Hh=da((function(e,t,n){return t=t.toLowerCase(),e+(n?Uh(t):t)}));function Uh(e){return yd(Kc(e).toLowerCase())}function Yh(e){return e=Kc(e),e&&e.replace(Je,ei).replace(Gt,"")}function Zh(e,t,n){e=Kc(e),t=ko(t);var i=e.length;n=n===o?i:pr(Yc(n),0,i);var r=n;return n-=t.length,n>=0&&e.slice(n,r)==t}function Xh(e){return e=Kc(e),e&&De.test(e)?e.replace(Ae,ti):e}function qh(e){return e=Kc(e),e&&ze.test(e)?e.replace(Re,"\\$&"):e}var $h=da((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Kh=da((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Jh=ha("toLowerCase");function Qh(e,t,n){e=Kc(e),t=Yc(t);var i=t?pi(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return ba(Et(r),n)+e+ba(Lt(r),n)}function ed(e,t,n){e=Kc(e),t=Yc(t);var i=t?pi(e):0;return t&&i>>0,n?(e=Kc(e),e&&("string"==typeof t||null!=t&&!Lc(t))&&(t=ko(t),!t&&ri(e))?Ho(gi(e),0,n):e.split(t,n)):[]}var sd=da((function(e,t,n){return e+(n?" ":"")+yd(t)}));function ld(e,t,n){return e=Kc(e),n=null==n?0:pr(Yc(n),0,e.length),t=ko(t),e.slice(n,n+t.length)==t}function ud(e,t,n){var i=_i.templateSettings;n&&os(e,t,n)&&(t=o),e=Kc(e),t=eh({},t,i,Ca);var r,a,s=eh({},t.imports,i.imports,Ca),l=_h(s),u=qn(s,l),c=0,h=t.interpolate||Qe,d="__p += '",f=it((t.escape||Qe).source+"|"+h.source+"|"+(h===Oe?Ue:Qe).source+"|"+(t.evaluate||Qe).source+"|$","g"),p="//# sourceURL="+(ht.call(t,"sourceURL")?(t.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++qt+"]")+"\n";e.replace(f,(function(t,n,i,o,s,l){return i||(i=o),d+=e.slice(c,l).replace(et,ni),n&&(r=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),d+="';\n";var g=ht.call(t,"variable")&&t.variable;g||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(we,""):d).replace(Se,"$1").replace(Me,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=_d((function(){return Ge(l,p+"return "+d).apply(o,u)}));if(v.source=d,mc(v))throw v;return v}function cd(e){return Kc(e).toLowerCase()}function hd(e){return Kc(e).toUpperCase()}function dd(e,t,n){if(e=Kc(e),e&&(n||t===o))return e.replace(Ne,"");if(!e||!(t=ko(t)))return e;var i=gi(e),r=gi(t),a=Kn(i,r),s=Jn(i,r)+1;return Ho(i,a,s).join("")}function fd(e,t,n){if(e=Kc(e),e&&(n||t===o))return e.replace(Ve,"");if(!e||!(t=ko(t)))return e;var i=gi(e),r=Jn(i,gi(t))+1;return Ho(i,0,r).join("")}function pd(e,t,n){if(e=Kc(e),e&&(n||t===o))return e.replace(Be,"");if(!e||!(t=ko(t)))return e;var i=gi(e),r=Kn(i,gi(t));return Ho(i,r).join("")}function gd(e,t){var n=D,i=P;if(wc(t)){var r="separator"in t?t.separator:r;n="length"in t?Yc(t.length):n,i="omission"in t?ko(t.omission):i}e=Kc(e);var a=e.length;if(ri(e)){var s=gi(e);a=s.length}if(n>=a)return e;var l=n-pi(i);if(l<1)return i;var u=s?Ho(s,0,l).join(""):e.slice(0,l);if(r===o)return u+i;if(s&&(l+=u.length-l),Lc(r)){if(e.slice(l).search(r)){var c,h=u;r.global||(r=it(r.source,Kc(Ye.exec(r))+"g")),r.lastIndex=0;while(c=r.exec(h))var d=c.index;u=u.slice(0,d===o?l:d)}}else if(e.indexOf(ko(r),l)!=l){var f=u.lastIndexOf(r);f>-1&&(u=u.slice(0,f))}return u+i}function vd(e){return e=Kc(e),e&&Te.test(e)?e.replace(Ie,vi):e}var md=da((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),yd=ha("toUpperCase");function xd(e,t,n){return e=Kc(e),t=n?o:t,t===o?oi(e)?xi(e):En(e):e.match(t)||[]}var _d=xo((function(e,t){try{return xn(e,o,t)}catch(n){return mc(n)?n:new r(n)}})),bd=za((function(e,t){return bn(t,(function(t){t=Ps(t),dr(e,t,Cu(e[t],e))})),e}));function wd(e){var t=null==e?0:e.length,n=Wa();return e=t?Tn(e,(function(e){if("function"!=typeof e[1])throw new ot(u);return[n(e[0]),e[1]]})):[],xo((function(n){var i=-1;while(++iz)return[];var n=V,i=Ft(e,V);t=Wa(t),e-=V;var r=Yn(i,t);while(++n0||t<0)?new Ii(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(t=Yc(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Ii.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ii.prototype.toArray=function(){return this.take(V)},Pr(Ii.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),r=_i[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);r&&(_i.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,l=t instanceof Ii,u=s[0],c=l||ac(t),h=function(e){var t=r.apply(_i,Dn([e],s));return i&&d?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var d=this.__chain__,f=!!this.__actions__.length,p=a&&!d,g=l&&!f;if(!a&&c){t=g?t:new Ii(this);var v=e.apply(t,s);return v.__actions__.push({func:Ul,args:[h],thisArg:o}),new Mi(v,d)}return p&&g?e.apply(this,s):(v=this.thru(h),p?i?v.value()[0]:v.value():v)})})),bn(["pop","push","shift","sort","splice","unshift"],(function(e){var t=at[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);_i.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(ac(r)?r:[],e)}return this[n]((function(n){return t.apply(ac(n)?n:[],e)}))}})),Pr(Ii.prototype,(function(e,t){var n=_i[t];if(n){var i=n.name+"";ht.call(un,i)||(un[i]=[]),un[i].push({name:t,func:n})}})),un[ma(o,x).name]=[{name:"wrapper",func:o}],Ii.prototype.clone=Ai,Ii.prototype.reverse=Ti,Ii.prototype.value=Di,_i.prototype.at=Yl,_i.prototype.chain=Zl,_i.prototype.commit=Xl,_i.prototype.next=ql,_i.prototype.plant=Kl,_i.prototype.reverse=Jl,_i.prototype.toJSON=_i.prototype.valueOf=_i.prototype.value=Ql,_i.prototype.first=_i.prototype.head,Tt&&(_i.prototype[Tt]=$l),_i},bi=_i();sn._=bi,r=function(){return bi}.call(t,n,t,i),r===o||(i.exports=r)}).call(this)}).call(this,n("c8ba"),n("62e4")(e))},"3a73":function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=n("efdc"),a=n("8b19"),s=n("1431"),l=n("7ae1"),u=l.defaultDimValueGetters,c=l.DefaultDataProvider,h=n("0f62"),d=h.summarizeDimensions,f=r.isObject,p="undefined",g=-1,v="e\0\0",m={float:typeof Float64Array===p?Array:Float64Array,int:typeof Int32Array===p?Array:Int32Array,ordinal:Array,number:Array,time:Array},y=typeof Uint32Array===p?Array:Uint32Array,x=typeof Int32Array===p?Array:Int32Array,_=typeof Uint16Array===p?Array:Uint16Array;function b(e){return e._rawCount>65535?y:_}function w(e){var t=e.constructor;return t===Array?e.slice():new t(e)}var S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],M=["_extent","_approximateExtent","_rawExtent"];function I(e,t){r.each(S.concat(t.__wrappedMethods||[]),(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e.__wrappedMethods=t.__wrappedMethods,r.each(M,(function(n){e[n]=r.clone(t[n])})),e._calculationInfo=r.extend(t._calculationInfo)}var A=function(e,t){e=e||["x","y"];for(var n={},i=[],o={},a=0;a=0?this._indices[e]:-1}function L(e,t){var n=e._idList[t];return null==n&&(n=C(e,e._idDimIdx,t)),null==n&&(n=v+t),n}function E(e){return r.isArray(e)||(e=[e]),e}function R(e,t){var n=e.dimensions,i=new A(r.map(n,e.getDimensionInfo,e),e.hostModel);I(i,e);for(var o=i._storage={},a=e._storage,s=0;s=0?(o[l]=z(a[l]),i._rawExtent[l]=N(),i._extent[l]=null):o[l]=a[l])}return i}function z(e){for(var t=new Array(e.length),n=0;nx[1]&&(x[1]=y)}t&&(this._nameList[f]=t[p])}this._rawCount=this._count=l,this._extent={},P(this)},T._initDataFromProvider=function(e,t){if(!(e>=t)){for(var n,i=this._chunkSize,r=this._rawData,o=this._storage,a=this.dimensions,s=a.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;pM[1]&&(M[1]=S)}if(!r.pure){var I=u[y];if(m&&null==I)if(null!=m.name)u[y]=I=m.name;else if(null!=n){var A=a[n],T=o[A][x];if(T){I=T[_];var C=l[A].ordinalMeta;C&&C.categories.length&&(I=C.categories[I])}}var O=null==m?null:m.id;null==O&&null!=I&&(d[I]=d[I]||0,O=I,d[I]>0&&(O+="__ec__"+d[I]),d[I]++),null!=O&&(c[y]=O)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent={},P(this)}},T.count=function(){return this._count},T.getIndices=function(){var e=this._indices;if(e){var t=e.constructor,n=this._count;if(t===Array){r=new t(n);for(var i=0;i=0&&t=0&&ts&&(s=u)}return i=[a,s],this._extent[e]=i,i},T.getApproximateExtent=function(e){return e=this.getDimension(e),this._approximateExtent[e]||this.getDataExtent(e)},T.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},T.getCalculationInfo=function(e){return this._calculationInfo[e]},T.setCalculationInfo=function(e,t){f(e)?r.extend(this._calculationInfo,e):this._calculationInfo[e]=t},T.getSum=function(e){var t=this._storage[e],n=0;if(t)for(var i=0,r=this.count();i=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&ne))return o;r=o-1}}return-1},T.indicesOfNearest=function(e,t,n){var i=this._storage,r=i[e],o=[];if(!r)return o;null==n&&(n=1/0);for(var a=Number.MAX_VALUE,s=-1,l=0,u=this.count();l=0&&s<0)&&(a=h,s=c,o.length=0),o.push(l))}return o},T.getRawIndex=O,T.getRawDataItem=function(e){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(e));for(var t=[],n=0;n=u&&y<=c||isNaN(y))&&(a[s++]=d),d++}h=!0}else if(2===i){f=this._storage[l];var x=this._storage[t[1]],_=e[t[1]][0],w=e[t[1]][1];for(p=0;p=u&&y<=c||isNaN(y))&&(M>=_&&M<=w||isNaN(M))&&(a[s++]=d),d++}}h=!0}}if(!h)if(1===i)for(m=0;m=u&&y<=c||isNaN(y))&&(a[s++]=I)}else for(m=0;me[T][1])&&(A=!1)}A&&(a[s++]=this.getRawIndex(m))}return sw[1]&&(w[1]=b)}}}return o},T.downSample=function(e,t,n,i){for(var r=R(this,[e]),o=r._storage,a=[],s=Math.floor(1/t),l=o[e],u=this.count(),c=this._chunkSize,h=r._rawExtent[e],d=new(b(this))(u),f=0,p=0;pu-p&&(s=u-p,a.length=s);for(var g=0;gh[1]&&(h[1]=x),d[f++]=_}return r._count=f,r._indices=d,r.getRawIndex=k,r},T.getItemModel=function(e){var t=this.hostModel;return new o(this.getRawDataItem(e),t,t&&t.ecModel)},T.diff=function(e){var t=this;return new a(e?e.getIndices():[],this.getIndices(),(function(t){return L(e,t)}),(function(e){return L(t,e)}))},T.getVisual=function(e){var t=this._visual;return t&&t[e]},T.setVisual=function(e,t){if(f(e))for(var n in e)e.hasOwnProperty(n)&&this.setVisual(n,e[n]);else this._visual=this._visual||{},this._visual[e]=t},T.setLayout=function(e,t){if(f(e))for(var n in e)e.hasOwnProperty(n)&&this.setLayout(n,e[n]);else this._layout[e]=t},T.getLayout=function(e){return this._layout[e]},T.getItemLayout=function(e){return this._itemLayouts[e]},T.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?r.extend(this._itemLayouts[e]||{},t):t},T.clearItemLayouts=function(){this._itemLayouts.length=0},T.getItemVisual=function(e,t,n){var i=this._itemVisuals[e],r=i&&i[t];return null!=r||n?r:this.getVisual(t)},T.setItemVisual=function(e,t,n){var i=this._itemVisuals[e]||{},r=this.hasItemVisual;if(this._itemVisuals[e]=i,f(t))for(var o in t)t.hasOwnProperty(o)&&(i[o]=t[o],r[o]=!0);else i[t]=n,r[t]=!0},T.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var B=function(e){e.seriesIndex=this.seriesIndex,e.dataIndex=this.dataIndex,e.dataType=this.dataType};T.setItemGraphicEl=function(e,t){var n=this.hostModel;t&&(t.dataIndex=e,t.dataType=this.dataType,t.seriesIndex=n&&n.seriesIndex,"group"===t.type&&t.traverse(B,t)),this._graphicEls[e]=t},T.getItemGraphicEl=function(e){return this._graphicEls[e]},T.eachItemGraphicEl=function(e,t){r.each(this._graphicEls,(function(n,i){n&&e&&e.call(t,n,i)}))},T.cloneShallow=function(e){if(!e){var t=r.map(this.dimensions,this.getDimensionInfo,this);e=new A(t,this.hostModel)}if(e._storage=this._storage,I(e,this),this._indices){var n=this._indices.constructor;e._indices=new n(this._indices)}else e._indices=null;return e.getRawIndex=e._indices?k:O,e},T.wrapMethod=function(e,t){var n=this[e];"function"===typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(r.slice(arguments)))})},T.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],T.CHANGABLE_METHODS=["filterSelf","selectRange"];var V=A;e.exports=V},"3b01":function(e,t,n){var i=n("cbe1"),r=n("11a2"),o=n("2dda"),a=n("4dbf"),s=n("3e28"),l=n("55ba"),u=n("0e18"),c=n("1ede"),h=o.Rect,d=l.linearMap,f=l.asc,p=i.bind,g=i.each,v=7,m=1,y=30,x="horizontal",_="vertical",b=5,w=["line","bar","candlestick","scatter"],S=s.extend({type:"dataZoom.slider",init:function(e,t){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=t},render:function(e,t,n,i){S.superApply(this,"render",arguments),a.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=e.get("orient"),!1!==this.dataZoomModel.get("show")?(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){S.superApply(this,"remove",arguments),a.clear(this,"_dispatchZoomAction")},dispose:function(){S.superApply(this,"dispose",arguments),a.clear(this,"_dispatchZoomAction")},_buildView:function(){var e=this.group;e.removeAll(),this._resetLocation(),this._resetInterval();var t=this._displayables.barGroup=new o.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,t=this.api,n=this._findCoordRect(),r={width:t.getWidth(),height:t.getHeight()},o=this._orient===x?{right:r.width-n.x-n.width,top:r.height-y-v,width:n.width,height:y}:{right:v,top:n.y,width:y,height:n.height},a=u.getLayoutParams(e.option);i.each(["right","top","width","height"],(function(e){"ph"===a[e]&&(a[e]=o[e])}));var s=u.getLayoutRect(a,r,e.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===_&&this._size.reverse()},_positionGroup:function(){var e=this.group,t=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.barGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==x||r?n===x&&r?{scale:a?[-1,1]:[-1,-1]}:n!==_||r?{scale:a?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:a?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:a?[1,1]:[1,-1]});var s=e.getBoundingRect([o]);e.attr("position",[t.x-s.x,t.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.barGroup;n.add(new h({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40})),n.add(new h({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:i.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var t=this._size,n=e.series,r=n.getRawData(),a=n.getShadowDim?n.getShadowDim():e.otherDim;if(null!=a){var s=r.getDataExtent(a),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,t[1]],h=[0,t[0]],f=[[t[0],0],[0,0]],p=[],g=h[1]/(r.count()-1),v=0,m=Math.round(r.count()/t[0]);r.each([a],(function(e,t){if(m>0&&t%m)v+=g;else{var n=null==e||isNaN(e)||""===e,i=n?0:d(e,s,c,!0);n&&!u&&t?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!n&&u&&(f.push([v,0]),p.push([v,0])),f.push([v,i]),p.push([v,i]),v+=g,u=n}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new o.Polygon({shape:{points:f},style:i.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new o.Polyline({shape:{points:p},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,r=this.ecModel;return e.eachTargetAxis((function(o,a){var s=e.getAxisProxy(o.name,a).getTargetSeriesModels();i.each(s,(function(e){if(!n&&!(!0!==t&&i.indexOf(w,e.get("type"))<0)){var s,l=r.getComponent(o.axis,a).axis,u=M(o.name),c=e.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=e.getData().mapDimension(u),n={thisAxis:l,series:e,thisDim:o.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),n}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],n=e.handleLabels=[],i=this._displayables.barGroup,a=this._size,s=this.dataZoomModel;i.add(e.filler=new h({draggable:!0,cursor:I(this._orient),drift:p(this._onDragMove,this,"all"),onmousemove:function(e){r.stop(e.event)},ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:s.get("fillerColor"),textPosition:"inside"}})),i.add(new h({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:m,fill:"rgba(0,0,0,0)"}})),g([0,1],(function(e){var a=o.createIcon(s.get("handleIcon"),{cursor:I(this._orient),draggable:!0,drift:p(this._onDragMove,this,e),onmousemove:function(e){r.stop(e.event)},ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),u=a.getBoundingRect();this._handleHeight=l.parsePercent(s.get("handleSize"),this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,a.setStyle(s.getModel("handleStyle").getItemStyle());var c=s.get("handleColor");null!=c&&(a.style.fill=c),i.add(t[e]=a);var h=s.textStyleModel;this.group.add(n[e]=new o.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:h.getTextColor(),textFont:h.getFont()},z2:10}))}),this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[d(e[0],[0,100],t,!0),d(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];c(t,i,r,n.get("zoomLock")?"all":e,null!=o.minSpan?d(o.minSpan,a,r,!0):null,null!=o.maxSpan?d(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=f([d(i[0],r,a,!0),d(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(e){var t=this._displayables,n=this._handleEnds,i=f(n.slice()),r=this._size;g([0,1],(function(e){var i=t.handles[e],o=this._handleHeight;i.attr({scale:[o/2,o/2],position:[n[e],r[1]/2-o/2]})}),this),t.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){var t=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,a=["",""];if(t.get("showDetail")){var s=t.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=e?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();a=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var h=f(this._handleEnds.slice());function d(e){var t=o.getTransform(n.handles[e].parent,this.group),s=o.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+b,u=o.applyTransform([h[e]+(0===e?-l:l),this._size[1]/2],t);i[e].setStyle({x:u[0],y:u[1],textVerticalAlign:r===x?"middle":s,textAlign:r===x?s:"center",text:a[e]})}d.call(this,0),d.call(this,1)},_formatLabel:function(e,t){var n=this.dataZoomModel,r=n.get("labelFormatter"),o=n.get("labelPrecision");null!=o&&"auto"!==o||(o=t.getPixelPrecision());var a=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(o,20));return i.isFunction(r)?r(e,a):i.isString(r)?r.replace("{value}",a):a},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,n){this._dragging=!0;var i=this._displayables.barGroup.getLocalTransform(),r=o.applyTransform([t,n],i,!0),a=this._updateInterval(e,r[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),a&&s&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction()},_onClickPanelClick:function(e){var t=this._size,n=this._displayables.barGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_findCoordRect:function(){var e;if(g(this.getTargetCoordInfo(),(function(t){if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}})),!e){var t=this.api.getWidth(),n=this.api.getHeight();e={x:.2*t,y:.2*n,width:.6*t,height:.6*n}}return e}});function M(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function I(e){return"vertical"===e?"ns-resize":"ew-resize"}var A=S;e.exports=A},"3bad":function(e,t,n){var i=n("dbbd"),r=n("ff2d"),o=r.getSymbolSize,a=r.getNodeGlobalScale,s=Math.PI,l=[];function u(e,t){var n=e.coordinateSystem;if(!n||"view"===n.type){var r=n.getBoundingRect(),o=e.getData(),a=o.graph,s=r.width/2+r.x,l=r.height/2+r.y,u=Math.min(r.width,r.height)/2,h=o.count();o.setLayout({cx:s,cy:l}),h&&(c[t](e,n,a,o,u,s,l,h),a.eachEdge((function(e){var t,n=e.getModel().get("lineStyle.curveness")||0,r=i.clone(e.node1.getLayout()),o=i.clone(e.node2.getLayout()),a=(r[0]+o[0])/2,u=(r[1]+o[1])/2;+n&&(n*=3,t=[s*n+a*(1-n),l*n+u*(1-n)]),e.setLayout([r,o,t])})))}}var c={value:function(e,t,n,i,r,o,a,s){var l=0,u=i.getSum("value"),c=2*Math.PI/(u||s);n.eachNode((function(e){var t=e.getValue("value"),n=c*(u?t:1)/2;l+=n,e.setLayout([r*Math.cos(l)+o,r*Math.sin(l)+a]),l+=n}))},symbolSize:function(e,t,n,i,r,u,c,h){var d=0;l.length=h;var f=a(e);n.eachNode((function(e){var t=o(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=f;var n=Math.asin(t/2/r);isNaN(n)&&(n=s/2),l[e.dataIndex]=n,d+=2*n}));var p=(2*s-d)/h/2,g=0;n.eachNode((function(e){var t=p+l[e.dataIndex];g+=t,e.setLayout([r*Math.cos(g)+u,r*Math.sin(g)+c]),g+=t}))}};t.circularLayout=u},"3bf3":function(e,t,n){var i=n("cbe1"),r=n("efdc"),o=i.each,a=i.curry;function s(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(n,e,t),n.seriesInvolved&&c(n,e),n}function l(e,t,n){var i=t.getComponent("tooltip"),r=t.getComponent("axisPointer"),s=r.get("link",!0)||[],l=[];o(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var c=m(n.model),d=e.coordSysAxesInfo[c]={};e.coordSysMap[c]=n;var f=n.model,p=f.getModel("tooltip",i);if(o(n.getAxes(),a(_,!1,null)),n.getTooltipAxes&&i&&p.get("show")){var g="axis"===p.get("trigger"),y="cross"===p.get("axisPointer.type"),x=n.getTooltipAxes(p.get("axisPointer.axis"));(g||y)&&o(x.baseAxes,a(_,!y||"cross",g)),y&&o(x.otherAxes,a(_,"cross",!1))}}function _(i,o,a){var c=a.model.getModel("axisPointer",r),f=c.get("show");if(f&&("auto"!==f||i||v(c))){null==o&&(o=c.get("triggerTooltip")),c=i?u(a,p,r,t,i,o):c;var g=c.get("snap"),y=m(a.model),x=o||g||"category"===a.type,_=e.axesInfo[y]={key:y,axis:a,coordSys:n,axisPointerModel:c,triggerTooltip:o,involveSeries:x,snap:g,useHandle:v(c),seriesModels:[]};d[y]=_,e.seriesInvolved|=x;var b=h(s,a);if(null!=b){var w=l[b]||(l[b]={axesInfo:{}});w.axesInfo[y]=_,w.mapper=s[b].mapper,_.linkGroup=w}}}}))}function u(e,t,n,a,s,l){var u=t.getModel("axisPointer"),c={};o(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){c[e]=i.clone(u.get(e))})),c.snap="category"!==e.type&&!!l,"cross"===u.get("type")&&(c.type="line");var h=c.label||(c.label={});if(null==h.show&&(h.show=!1),"cross"===s){var d=u.get("label.show");if(h.show=null==d||d,!l){var f=c.lineStyle=u.get("crossStyle");f&&i.defaults(h,f.textStyle)}}return e.model.getModel("axisPointer",new r(c,n,a))}function c(e,t){t.eachSeries((function(t){var n=t.coordinateSystem,i=t.get("tooltip.trigger",!0),r=t.get("tooltip.show",!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==t.get("axisPointer.show",!0)&&o(e.coordSysAxesInfo[m(n.model)],(function(e){var i=e.axis;n.getAxis(i.dim)===i&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}),this)}function h(e,t){for(var n=t.model,i=t.dim,r=0;r=0||e===t}function f(e){var t=p(e);if(t){var n=t.axisPointerModel,i=t.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=v(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),at+c&&u>i+c&&u>a+c||ue+c&&l>n+c&&l>o+c||l0?n=i[0]:i[1]<0&&(n=i[1]),n}function u(e,t,n,i){var r=NaN;e.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,i),a[1-o]=r,t.dataToPoint(a)}t.prepareDataCoordInfo=s,t.getStackedOnPoint=u},"3edc":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("2dda");n("e31b"),n("3e3a"),i.extendComponentView({type:"grid",render:function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new o.Rect({shape:e.coordinateSystem.getRect(),style:r.defaults({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))}}),i.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))},"3ee8":function(e,t,n){var i=n("cbe1"),r=n("55ba");function o(e,t){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.coordinateSystem,i={},o=n.getRect();i.rect=o;var s=e.get("boundaryGap"),l=n.getAxis();if(i.boundaryGap=s,"horizontal"===l.orient){s[0]=r.parsePercent(s[0],o.height),s[1]=r.parsePercent(s[1],o.height);var u=o.height-s[0]-s[1];a(t,e,u)}else{s[0]=r.parsePercent(s[0],o.width),s[1]=r.parsePercent(s[1],o.width);var c=o.width-s[0]-s[1];a(t,e,c)}t.setLayout("layoutInfo",i)}))}function a(e,t,n){if(e.count())for(var r,o=t.coordinateSystem,a=t.getLayerSeries(),l=e.mapDimension("single"),u=e.mapDimension("value"),c=i.map(a,(function(t){return i.map(t.indices,(function(t){var n=o.dataToPoint(e.get(l,t));return n[1]=e.get(u,t),n}))})),h=s(c),d=h.y0,f=n/h.max,p=a.length,g=a[0].indices.length,v=0;vo&&(o=u),i.push(u)}for(var c=0;co&&(o=d)}return a.y0=r,a.max=o,a}e.exports=o},"3f25":function(e,t,n){var i=n("b8e1"),r=i.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),o=r;e.exports=o},"3f48":function(e,t,n){var i=n("e4d6"),r=i.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});e.exports=r},4098:function(e,t,n){var i=n("cbe1"),r=i.createHashMap;function o(e){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.getRawData(),i=e.get("color"),o=r();t.each((function(e){o.set(t.getRawIndex(e),e)})),n.each((function(r){var a=n.getName(r),s=i[(e.nameMap.get(a)-1)%i.length];n.setItemVisual(r,"color",s);var l=o.get(r);null!=l&&t.setItemVisual(l,"color",s)}))}))}e.exports=o},"40bc":function(e,t,n){var i=n("cbe1"),r=n("0e18"),o=r.getLayoutRect;function a(e,t,n){var i=e.option,r=i.align;if(null!=r&&"auto"!==r)return r;for(var a={width:t.getWidth(),height:t.getHeight()},s="horizontal"===i.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],u=l[s],c=[0,null,10],h={},d=0;d<3;d++)h[l[1-s][d]]=c[d],h[u[d]]=2===d?n[0]:i[u[d]];var f=[["x","width",3],["y","height",0]][s],p=o(h,a,i.padding);return u[(p.margin[f[2]]||0)+p[f[0]]+.5*p[f[1]]<.5*a[f[1]]?0:1]}function s(e,t){return i.each(e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}t.getItemAlign=a,t.makeHighDownBatch=s},4160:function(e,t,n){"use strict";var i=n("23e7"),r=n("17c2");i({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},"41dc":function(e,t,n){var i=n("d7f1"),r=n("1bb8"),o=n("10e8"),a=o.WILL_BE_RESTORED,s=new r,l=function(){};l.prototype={constructor:l,drawRectText:function(e,t){var n=this.style;t=n.textRect||t,this.__dirty&&i.normalizeTextStyle(n,!0);var r=n.text;if(null!=r&&(r+=""),i.needDrawText(r,n)){e.save();var o=this.transform;n.transformText?this.setTransform(e):o&&(s.copy(t),s.applyTransform(o),t=s),i.renderText(this,e,r,n,t,a),e.restore()}}};var u=l;e.exports=u},4213:function(e,t,n){var i=n("333f");n("c07c"),n("2989"),n("b34d");var r=n("1d0c"),o=n("7a17");i.registerProcessor(i.PRIORITY.PROCESSOR.SERIES_FILTER,r),o.registerSubTypeDefaulter("legend",(function(){return"plain"}))},4286:function(e,t,n){var i=n("333f");(function(){for(var e in i){if(null==i||!i.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=i[e]}})();var r=n("dbf9");(function(){for(var e in r){if(null==r||!r.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=r[e]}})(),n("74e0"),n("9a6c"),n("707b"),n("fc68"),n("86b4"),n("f997"),n("7756"),n("528c"),n("11db"),n("982f"),n("3866"),n("93cb"),n("e147"),n("4ab9"),n("c4ec"),n("6e18"),n("ba69"),n("1fe1"),n("c8ad"),n("487d"),n("a6bd"),n("8acc"),n("b1a9"),n("a147"),n("a540"),n("33d8"),n("2268"),n("6d10"),n("e93d"),n("3364"),n("4fc8"),n("5a4b"),n("4da2"),n("a9c8"),n("2aa3"),n("94fe"),n("1fdc"),n("a7dc"),n("9525"),n("f390"),n("4213"),n("b42d"),n("fb1d"),n("5670"),n("ea99"),n("fe60"),n("3254"),n("6609"),n("dff1")},"43d3":function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=".",a="___EC__COMPONENT__CONTAINER___";function s(e){var t={main:"",sub:""};return e&&(e=e.split(o),t.main=e[0]||"",t.sub=e[1]||""),t}function l(e){r.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function u(e,t){e.$constructor=e,e.extend=function(e){var t=this,n=function(){e.$constructor?e.$constructor.apply(this,arguments):t.apply(this,arguments)};return r.extend(n.prototype,e),n.extend=this.extend,n.superCall=d,n.superApply=f,r.inherits(n,this),n.superClass=t,n}}var c=0;function h(e){var t=["__\0is_clz",c++,Math.random().toFixed(3)].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}}function d(e,t){var n=r.slice(arguments,2);return this.superClass.prototype[t].apply(e,n)}function f(e,t,n){return this.superClass.prototype[t].apply(e,n)}function p(e,t){t=t||{};var n={};function i(e){var t=n[e.main];return t&&t[a]||(t=n[e.main]={},t[a]=!0),t}if(e.registerClass=function(e,t){if(t)if(l(t),t=s(t),t.sub){if(t.sub!==a){var r=i(t);r[t.sub]=e}}else n[t.main]=e;return e},e.getClass=function(e,t,i){var r=n[e];if(r&&r[a]&&(r=t?r[t]:null),i&&!r)throw new Error(t?"Component "+e+"."+(t||"")+" not exists. Load it first.":e+".type should be specified.");return r},e.getClassesByMainType=function(e){e=s(e);var t=[],i=n[e.main];return i&&i[a]?r.each(i,(function(e,n){n!==a&&t.push(e)})):t.push(i),t},e.hasClass=function(e){return e=s(e),!!n[e.main]},e.getAllClassMainTypes=function(){var e=[];return r.each(n,(function(t,n){e.push(n)})),e},e.hasSubTypes=function(e){e=s(e);var t=n[e.main];return t&&t[a]},e.parseClassType=s,t.registerWhenExtend){var o=e.extend;o&&(e.extend=function(t){var n=o.call(this,t);return e.registerClass(n,t.type)})}return e}function g(e,t){}t.parseClassType=s,t.enableClassExtend=u,t.enableClassCheck=h,t.enableClassManagement=p,t.setReadOnly=g},"43e4":function(e,t,n){var i=n("cbe1"),r=n("5c3e");function o(e){a(e),s(e)}function a(e){if(!e.parallel){var t=!1;i.each(e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}}function s(e){var t=r.normalizeToArray(e.parallelAxis);i.each(t,(function(t){if(i.isObject(t)){var n=t.parallelIndex||0,o=r.normalizeToArray(e.parallel)[n];o&&o.parallelAxisDefault&&i.merge(t,o.parallelAxisDefault,!1)}}))}e.exports=o},"440c":function(e,t,n){var i=n("cbe1"),r=i.map,o=n("33f3"),a=n("a4bb"),s=a.isDimensionStacked;function l(e){return{seriesType:e,plan:o(),reset:function(e){var t=e.getData(),n=e.coordinateSystem,i=e.pipelineContext,o=i.large;if(n){var a=r(n.dimensions,(function(e){return t.mapDimension(e)})).slice(0,2),l=a.length,u=t.getCalculationInfo("stackResultDimension");return s(t,a[0])&&(a[0]=u),s(t,a[1])&&(a[1]=u),l&&{progress:c}}function c(e,t){for(var i=e.end-e.start,r=o&&new Float32Array(i*l),s=e.start,u=0,c=[],h=[];st&&o>i||or?a:0}e.exports=n},"45d0":function(e,t,n){var i=n("86e8"),r=n("4790"),o=(n("cbe1"),r.extend({type:"series.gauge",getInitialData:function(e,t){return i(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}})),a=o;e.exports=a},4620:function(e,t,n){var i=n("cbe1"),r=n("43d3"),o=r.parseClassType,a=0;function s(e){return[e||"",a++,Math.random().toFixed(5)].join("_")}function l(e){var t={};return e.registerSubTypeDefaulter=function(e,n){e=o(e),t[e.main]=n},e.determineSubType=function(n,i){var r=i.type;if(!r){var a=o(n).main;e.hasSubTypes(n)&&t[a]&&(r=t[a](i))}return r},e}function u(e,t){function n(e){var n={},a=[];return i.each(e,(function(s){var l=r(n,s),u=l.originalDeps=t(s),c=o(u,e);l.entryCount=c.length,0===l.entryCount&&a.push(s),i.each(c,(function(e){i.indexOf(l.predecessor,e)<0&&l.predecessor.push(e);var t=r(n,e);i.indexOf(t.successor,e)<0&&t.successor.push(s)}))})),{graph:n,noEntryList:a}}function r(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function o(e,t){var n=[];return i.each(e,(function(e){i.indexOf(t,e)>=0&&n.push(e)})),n}e.topologicalTravel=function(e,t,r,o){if(e.length){var a=n(t),s=a.graph,l=a.noEntryList,u={};i.each(e,(function(e){u[e]=!0}));while(l.length){var c=l.pop(),h=s[c],d=!!u[c];d&&(r.call(o,c,h.originalDeps.slice()),delete u[c]),i.each(h.successor,d?p:f)}i.each(u,(function(){throw new Error("Circle dependency may exists")}))}function f(e){s[e].entryCount--,0===s[e].entryCount&&l.push(e)}function p(e){u[e]=!0,f(e)}}}t.getUID=s,t.enableSubTypeDefaulter=l,t.enableTopologicalTravel=u},"462a":function(e,t,n){var i=n("cbe1"),r=n("6d5a"),o=n("11a2"),a=n("1930"),s=n("2dda"),l=n("55ba"),u=n("1ede"),c=n("40bc"),h=n("5c3e"),d=l.linearMap,f=i.each,p=Math.min,g=Math.max,v=12,m=6,y=a.extend({type:"visualMap.continuous",init:function(){y.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(e,t,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},_renderEndsText:function(e,t,n){if(t){var i=t[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,l=this._shapes.barGroup,u=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],l),c=this._applyTransform(0===n?"bottom":"top",l),h=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===h?"middle":c,textAlign:"horizontal"===h?c:"center",text:i,textFont:d.getFont(),textFill:d.getTextColor()}}))}},_renderBar:function(e){var t=this.visualMapModel,n=this._shapes,r=t.itemSize,o=this._orient,a=this._useHandle,s=c.getItemAlign(t,this.api,r),l=n.barGroup=this._createBarGroup(s);l.add(n.outOfRange=x()),l.add(n.inRange=x(null,a?M(this._orient):null,i.bind(this._dragHandle,this,"all",!1),i.bind(this._dragHandle,this,"all",!0)));var u=t.textStyleModel.getTextRect("国"),h=g(u.width,u.height);a&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(l,0,r,h,o,s),this._createHandle(l,1,r,h,o,s)),this._createIndicator(l,r,h,o),e.add(l)},_createHandle:function(e,t,n,r,a){var l=i.bind(this._dragHandle,this,t,!1),u=i.bind(this._dragHandle,this,t,!0),c=x(_(t,r),M(this._orient),l,u);c.position[0]=n[0],e.add(c);var h=this.visualMapModel.textStyleModel,d=new s.Text({draggable:!0,drift:l,onmousemove:function(e){o.stop(e.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:h.getFont(),textFill:h.getTextColor()}});this.group.add(d);var f=["horizontal"===a?r/2:1.5*r,"horizontal"===a?0===t?-1.5*r:1.5*r:0===t?-r/2:r/2],p=this._shapes;p.handleThumbs[t]=c,p.handleLabelPoints[t]=f,p.handleLabels[t]=d},_createIndicator:function(e,t,n,i){var r=x([[0,0]],"move");r.position[0]=t[0],r.attr({invisible:!0,silent:!0}),e.add(r);var o=this.visualMapModel.textStyleModel,a=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:o.getFont(),textFill:o.getTextColor()}});this.group.add(a);var l=["horizontal"===i?n/2:m+3,0],u=this._shapes;u.indicator=r,u.indicatorLabel=a,u.indicatorLabelPoint=l},_dragHandle:function(e,t,n,i){if(this._useHandle){if(this._dragging=!t,!t){var r=this._applyTransform([n,i],this._shapes.barGroup,!0);this._updateInterval(e,r[1]),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():S(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},_resetInterval:function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),i=[0,e.itemSize[1]];this._handleEnds=[d(t[0],n,i,!0),d(t[1],n,i,!0)]},_updateInterval:function(e,t){t=t||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];u(t,i,r,e,0);var o=n.getExtent();this._dataInterval=[d(i[0],r,o,!0),d(i[1],r,o,!0)]},_updateView:function(e){var t=this.visualMapModel,n=t.getExtent(),i=this._shapes,r=[0,t.itemSize[1]],o=e?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:a.barColor,opacity:a.opacity}).setShape("points",a.barPoints),i.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(o,a)},_createBarVisual:function(e,t,n,i){var o={forceState:i,convertOpacityToAlpha:!0},a=this._makeColorGradient(e,o),s=[this.getControllerVisual(e[0],"symbolSize",o),this.getControllerVisual(e[1],"symbolSize",o)],l=this._createBarPoints(n,s);return{barColor:new r(0,0,0,1,a),barPoints:l,handlesColor:[a[0].color,a[a.length-1].color]}},_makeColorGradient:function(e,t){var n=100,i=[],r=(e[1]-e[0])/n;i.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var o=1;oe[1])break;i.push({color:this.getControllerVisual(a,"color",t),offset:o/n})}return i.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),i},_createBarPoints:function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==t||n?"horizontal"===t&&n?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||n?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels;f([0,1],(function(a){var l=r[a];l.setStyle("fill",t.handlesColor[a]),l.position[1]=e[a];var u=s.applyTransform(n.handleLabelPoints[a],s.getTransform(l,this.group));o[a].setStyle({x:u[0],y:u[1],text:i.formatValueText(this._dataInterval[a]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===a?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(e,t,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,l=[0,a[1]],u=d(e,o,l,!0),c=this._shapes,h=c.indicator;if(h){h.position[1]=u,h.attr("invisible",!1),h.setShape("points",b(!!n,i,u,a[1]));var f={convertOpacityToAlpha:!0},p=this.getControllerVisual(e,"color",f);h.setStyle("fill",p);var g=s.applyTransform(c.indicatorLabelPoint,s.getTransform(h,this.group)),v=c.indicatorLabel;v.attr("invisible",!1);var m=this._applyTransform("left",c.barGroup),y=this._orient;v.setStyle({text:(n||"")+r.formatValueText(t),textVerticalAlign:"horizontal"===y?m:"middle",textAlign:"horizontal"===y?"center":m,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,i=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);i[1]=p(g(0,i[1]),n[1]),e._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],o=n.getExtent();e=p(g(r[0],e),r[1]);var a=w(n,o,r),s=[e-a,e+a],l=d(e,r,o,!0),u=[d(s[0],r,o,!0),d(s[1],r,o,!0)];s[0]r[1]&&(u[1]=1/0),t&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var f=this._hoverLinkDataIndices,v=[];(t||S(n))&&(v=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var m=h.compressBatches(f,v);this._dispatchHighDown("downplay",c.makeHighDownBatch(m[0],n)),this._dispatchHighDown("highlight",c.makeHighDownBatch(m[1],n))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,n=this.visualMapModel;if(t&&null!=t.dataIndex){var i=this.ecModel.getSeriesByIndex(t.seriesIndex);if(n.isTargetSeries(i)){var r=i.getData(t.dataType),o=r.get(n.getDataDimension(r),t.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(e,this.visualMapModel)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,n,r){var o=s.getTransform(t,r?null:this.group);return s[i.isArray(e)?"applyTransform":"transformDirection"](e,o,n)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function x(e,t,n,i){return new s.Polygon({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){o.stop(e.event)},ondragend:i})}function _(e,t){return 0===e?[[0,0],[t,0],[t,-t]]:[[0,0],[t,0],[t,t]]}function b(e,t,n,i){return e?[[0,-p(t,g(n,0))],[m,0],[0,p(t,g(i-n,0))]]:[[0,0],[5,-5],[5,5]]}function w(e,t,n){var i=v/2,r=e.get("hoverLinkDataSize");return r&&(i=d(r,t,n,!0)/2),i}function S(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function M(e){return"vertical"===e?"ns-resize":"ew-resize"}var I=y;e.exports=I},4790:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=n("3804"),a=n("4ae0"),s=a.formatTime,l=a.encodeHTML,u=a.addCommas,c=a.getTooltipMarker,h=n("5c3e"),d=n("7a17"),f=n("96d7"),p=n("c7ac"),g=n("0e18"),v=g.getLayoutParams,m=g.mergeLayoutParam,y=n("bfd2"),x=y.createTask,_=n("a1ee"),b=_.prepareSource,w=_.getSource,S=n("7ae1"),M=S.retrieveRawValue,I=h.makeInner(),A=d.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(e,t,n,i){this.seriesIndex=this.componentIndex,this.dataTask=x({count:P,reset:C}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),b(this);var r=this.getInitialData(e,n);k(r,this),this.dataTask.context.data=r,I(this).dataBeforeProcessed=r,T(this)},mergeDefaultAndTheme:function(e,t){var n=this.layoutMode,i=n?v(e):{},o=this.subType;d.hasClass(o)&&(o+="Series"),r.merge(e,t.getTheme().get(this.subType)),r.merge(e,this.getDefaultOption()),h.defaultEmphasis(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&m(e,i,n)},mergeOption:function(e,t){e=r.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var n=this.layoutMode;n&&m(this.option,e,n),b(this);var i=this.getInitialData(e,t);k(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,I(this).dataBeforeProcessed=i,T(this)},fillDataTextStyle:function(e){if(e&&!r.isTypedArray(e))for(var t=["show"],n=0;n":"\n",d="richText"===i,f={},p=0;function g(n){var a=r.reduce(n,(function(e,t,n){var i=m.getDimensionInfo(n);return e|(i&&!1!==i.tooltip&&null!=i.displayName)}),0),h=[];function g(e,n){var r=m.getDimensionInfo(n);if(r&&!1!==r.otherDims.tooltip){var g=r.type,v="sub"+o.seriesIndex+"at"+p,y=c({color:w,type:"subItem",renderMode:i,markerId:v}),x="string"===typeof y?y:y.content,_=(a?x+l(r.displayName||"-")+": ":"")+l("ordinal"===g?e+"":"time"===g?t?"":s("yyyy/MM/dd hh:mm:ss",e):u(e));_&&h.push(_),d&&(f[v]=w,++p)}}y.length?r.each(y,(function(t){g(M(m,e,t),t)})):r.each(n,g);var v=a?d?"\n":"
":"",x=v+h.join(v||", ");return{renderMode:i,content:x,style:f}}function v(e){return{renderMode:i,content:l(u(e)),style:f}}var m=this.getData(),y=m.mapDimension("defaultedTooltip",!0),x=y.length,_=this.getRawValue(e),b=r.isArray(_),w=m.getItemVisual(e,"color");r.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=x>1||b&&!x?g(_):v(x?M(m,e,y[0]):b?_[0]:_),I=S.content,A=o.seriesIndex+"at"+p,T=c({color:w,type:"item",renderMode:i,markerId:A});f[A]=w,++p;var D=m.getName(e),P=this.name;h.isNameSpecified(this)||(P=""),P=P?l(P)+(t?": ":a):"";var C="string"===typeof T?T:T.content,O=t?C+P+I:P+C+(D?l(D)+": "+I:I);return{html:O,markers:f}},isAnimationEnabled:function(){if(o.node)return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),e},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(e,t,n){var i=this.ecModel,r=f.getColorFromPalette.call(this,e,t,n);return r||(r=i.getColorFromPalette(e,t,n)),r},coordDimToDataDim:function(e){return this.getRawData().mapDimension(e,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function T(e){var t=e.name;h.isNameSpecified(e)||(e.name=D(e)||t)}function D(e){var t=e.getRawData(),n=t.mapDimension("seriesName",!0),i=[];return r.each(n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&i.push(n.displayName)})),i.join(" ")}function P(e){return e.model.getRawData().count()}function C(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),O}function O(e,t){e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function k(e,t){r.each(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,r.curry(L,t))}))}function L(e){var t=E(e);t&&t.setOutputEnd(this.count())}function E(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(e.uid))}return i}}r.mixin(A,p),r.mixin(A,f);var R=A;e.exports=R},"487d":function(e,t,n){var i=n("333f"),r=n("cbe1");n("e31b"),n("0934"),n("8779");var o=n("6c15"),a=o.layout,s=n("68a7");n("3edc"),i.registerLayout(r.curry(a,"pictorialBar")),i.registerVisual(s("pictorialBar","roundRect"))},"494c":function(e,t,n){var i=n("042f"),r=n("daf1"),o=n("cbe1"),a=o.isString,s=o.isFunction,l=o.isObject,u=o.isArrayLike,c=o.indexOf,h=function(){this.animators=[]};function d(e,t,n,i,r,o,l,u){a(i)?(o=r,r=i,i=0):s(r)?(o=r,r="linear",i=0):s(i)?(o=i,i=0):s(n)?(o=n,n=500):n||(n=500),e.stopAnimation(),f(e,"",e,t,n,i,u);var c=e.animators.slice(),h=c.length;function d(){h--,h||o&&o()}h||o&&o();for(var p=0;p0&&e.animate(t,!1).when(null==r?500:r,s).delay(o||0)}function p(e,t,n,i){if(t){var r={};r[t]={},r[t][n]=i,e.attr(r)}else e.attr(n,i)}h.prototype={constructor:h,animate:function(e,t){var n,o=!1,a=this,s=this.__zr;if(e){var l=e.split("."),u=a;o="shape"===l[0];for(var h=0,d=l.length;h=0?"p":"n",L=S;if(b&&(r[c][T]||(r[c][T]={p:S,n:S}),L=r[c][T][k]),"radius"===p.dim){var E=p.dataToRadius(A)-S,R=i.dataToAngle(T);Math.abs(E)=2){if(a&&"spline"!==a){var s=r(o,a,n,t.smoothConstraint);e.moveTo(o[0][0],o[0][1]);for(var l=o.length,u=0;u<(n?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=o[(u+1)%l];e.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}}else{"spline"===a&&(o=i(o,n)),e.moveTo(o[0][0],o[0][1]);u=1;for(var f=o.length;u1?"."+e[1]:""))}function s(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var l=i.normalizeCssArray,u=/([&<>"'])/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function h(e){return null==e?"":(e+"").replace(u,(function(e,t){return c[t]}))}var d=["a","b","c","d","e","f","g"],f=function(e,t){return"{"+e+(null==t?"":t)+"}"};function p(e,t,n){i.isArray(t)||(t=[t]);var r=t.length;if(!r)return"";for(var o=t[0].$vars||[],a=0;a':'':{renderMode:o,content:"{marker"+a+"|} ",style:{color:n}}:""}function m(e,t){return e+="","0000".substr(0,t-e.length)+e}function y(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var i=o.parseDate(t),r=n?"UTC":"",a=i["get"+r+"FullYear"](),s=i["get"+r+"Month"]()+1,l=i["get"+r+"Date"](),u=i["get"+r+"Hours"](),c=i["get"+r+"Minutes"](),h=i["get"+r+"Seconds"](),d=i["get"+r+"Milliseconds"]();return e=e.replace("MM",m(s,2)).replace("M",s).replace("yyyy",a).replace("yy",a%100).replace("dd",m(l,2)).replace("d",l).replace("hh",m(u,2)).replace("h",u).replace("mm",m(c,2)).replace("m",c).replace("ss",m(h,2)).replace("s",h).replace("SSS",m(d,3)),e}function x(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e}var _=r.truncateText;function b(e){return r.getBoundingRect(e.text,e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich,e.truncate)}function w(e,t,n,i,o,a,s,l){return r.getBoundingRect(e,t,n,i,o,l,a,s)}t.addCommas=a,t.toCamelCase=s,t.normalizeCssArray=l,t.encodeHTML=h,t.formatTpl=p,t.formatTplSimple=g,t.getTooltipMarker=v,t.formatTime=y,t.capitalFirst=x,t.truncateText=_,t.getTextBoundingRect=b,t.getTextRect=w},"4bce":function(e,t,n){},"4c7e":function(e,t,n){var i=n("2bfc"),r=n("848a"),o=i.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:r(i.prototype.brush),buildPath:function(e,t){var n=t.cx,i=t.cy,r=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=t.startAngle,s=t.endAngle,l=t.clockwise,u=Math.cos(a),c=Math.sin(a);e.moveTo(u*r+n,c*r+i),e.lineTo(u*o+n,c*o+i),e.arc(n,i,o,a,s,!l),e.lineTo(Math.cos(s)*r+n,Math.sin(s)*r+i),0!==r&&e.arc(n,i,r,s,a,l),e.closePath()}});e.exports=o},"4da2":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("3bf3"),a=n("d8db");n("eed8"),n("9f99"),n("7c8a"),i.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!r.isArray(t)&&(e.axisPointer.link=[t])}})),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=o.collect(e,t)})),i.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},a)},"4dbf":function(e,t){var n="\0__throttleOriginMethod",i="\0__throttleRate",r="\0__throttleType";function o(e,t,n){var i,r,o,a,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,e.apply(o,a||[])}t=t||0;var d=function(){i=(new Date).getTime(),o=this,a=arguments;var e=s||t,d=s||n;s=null,r=i-(d?l:u)-e,clearTimeout(c),d?c=setTimeout(h,e):r>=0?h():c=setTimeout(h,-r),l=i};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(e){s=e},d}function a(e,t,a,s){var l=e[t];if(l){var u=l[n]||l,c=l[r],h=l[i];if(h!==a||c!==s){if(null==a||!s)return e[t]=u;l=e[t]=o(u,a,"debounce"===s),l[n]=u,l[r]=s,l[i]=a}return l}}function s(e,t){var i=e[t];i&&i[n]&&(e[t]=i[n])}t.throttle=o,t.createOrUpdate=a,t.clear=s},"4de4":function(e,t,n){"use strict";var i=n("23e7"),r=n("b727").filter,o=n("d039"),a=n("1dde"),s=a("filter"),l=s&&!o((function(){[].filter.call({length:-1,0:1},(function(e){throw e}))}));i({target:"Array",proto:!0,forced:!s||!l},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},"4e607":function(e,t,n){var i=n("cbe1"),r=n("e8c2"),o=n("2dda"),a=n("2bfc"),s=n("32bc"),l=s.createClipPath,u=["itemStyle"],c=["emphasis","itemStyle"],h=["color","color0","borderColor","borderColor0"],d=r.extend({type:"candlestick",render:function(e,t,n){this.group.removeClipPath(),this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},incrementalPrepareRender:function(e,t,n){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,n,i){this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e){var t=e.getData(),n=this._data,i=this.group,r=t.getLayout("isSimpleBox"),a=e.get("clip",!0),s=e.coordinateSystem,l=s.getArea&&s.getArea();this._data||i.removeAll(),t.diff(n).add((function(n){if(t.hasValue(n)){var s,u=t.getItemLayout(n);if(a&&g(l,u))return;s=p(u,n,!0),o.initProps(s,{shape:{points:u.ends}},e,n),v(s,t,n,r),i.add(s),t.setItemGraphicEl(n,s)}})).update((function(s,u){var c=n.getItemGraphicEl(u);if(t.hasValue(s)){var h=t.getItemLayout(s);a&&g(l,h)?i.remove(c):(c?o.updateProps(c,{shape:{points:h.ends}},e,s):c=p(h,s),v(c,t,s,r),i.add(c),t.setItemGraphicEl(s,c))}else i.remove(c)})).remove((function(e){var t=n.getItemGraphicEl(e);t&&i.remove(t)})).execute(),this._data=t},_renderLarge:function(e){this._clear(),x(e,this.group);var t=e.get("clip",!0)?l(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},_incrementalRenderNormal:function(e,t){var n,i=t.getData(),r=i.getLayout("isSimpleBox");while(null!=(n=e.next())){var o,a=i.getItemLayout(n);o=p(a,n),v(o,i,n,r),o.incremental=!0,this.group.add(o)}},_incrementalRenderLarge:function(e,t){x(t,this.group,!0)},remove:function(e){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:i.noop}),f=a.extend({type:"normalCandlestickBox",shape:{},buildPath:function(e,t){var n=t.points;this.__simpleBox?(e.moveTo(n[4][0],n[4][1]),e.lineTo(n[6][0],n[6][1])):(e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]),e.lineTo(n[3][0],n[3][1]),e.closePath(),e.moveTo(n[4][0],n[4][1]),e.lineTo(n[5][0],n[5][1]),e.moveTo(n[6][0],n[6][1]),e.lineTo(n[7][0],n[7][1]))}});function p(e,t,n){var i=e.ends;return new f({shape:{points:n?m(i,e):i},z2:100})}function g(e,t){for(var n=!0,i=0;i0?"P":"N",o=i.getVisual("borderColor"+r)||i.getVisual("color"+r),a=n.getModel(u).getItemStyle(h);t.useStyle(a),t.style.fill=null,t.style.stroke=o}var b=d;e.exports=b},"4fbc":function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("333f")),o=n("cbe1"),a=n("2dda"),s=n("2e6d"),l=s.setLabel,u=n("efdc"),c=n("67f3"),h=n("2bfc"),d=n("4dbf"),f=d.throttle,p=n("32bc"),g=p.createClipPath,v=n("8e3d"),m=["itemStyle","barBorderWidth"],y=[0,0];function x(e,t){var n=e.getArea&&e.getArea();if("cartesian2d"===e.type){var i=e.getBaseAxis();if("category"!==i.type||!i.onBand){var r=t.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}o.extend(u.prototype,c);var _=r.extendChartView({type:"bar",render:function(e,t,n){this._updateDrawMode(e);var i=e.get("coordinateSystem");return"cartesian2d"!==i&&"polar"!==i||(this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n)),this.group},incrementalPrepareRender:function(e,t,n){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,n,i){this._incrementalRenderLarge(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e,t,n){var i,r=this.group,o=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?i=u.isHorizontal():"polar"===l.type&&(i="angle"===u.dim);var c=e.isAnimationEnabled()?e:null,h=e.get("clip",!0),d=x(l,o);r.removeClipPath();var f=e.get("roundCap",!0);o.diff(s).add((function(t){if(o.hasValue(t)){var n=o.getItemModel(t),a=T[l.type](o,t,n);if(h){var s=S[l.type](d,a);if(s)return void r.remove(u)}var u=M[l.type](t,a,i,c,!1,f);o.setItemGraphicEl(t,u),r.add(u),D(u,o,t,n,a,e,i,"polar"===l.type)}})).update((function(t,n){var u=s.getItemGraphicEl(n);if(o.hasValue(t)){var p=o.getItemModel(t),g=T[l.type](o,t,p);if(h){var v=S[l.type](d,g);if(v)return void r.remove(u)}u?a.updateProps(u,{shape:g},c,t):u=M[l.type](t,g,i,c,!0,f),o.setItemGraphicEl(t,u),r.add(u),D(u,o,t,p,g,e,i,"polar"===l.type)}else r.remove(u)})).remove((function(e){var t=s.getItemGraphicEl(e);"cartesian2d"===l.type?t&&I(e,c,t):t&&A(e,c,t)})).execute(),this._data=o},_renderLarge:function(e,t,n){this._clear(),O(e,this.group);var i=e.get("clip",!0)?g(e.coordinateSystem,!1,e):null;i?this.group.setClipPath(i):this.group.removeClipPath()},_incrementalRenderLarge:function(e,t){O(t,this.group,!0)},dispose:o.noop,remove:function(e){this._clear(e)},_clear:function(e){var t=this.group,n=this._data;e&&e.get("animation")&&n&&!this._isLargeDraw?n.eachItemGraphicEl((function(t){"sector"===t.type?A(t.dataIndex,e,t):I(t.dataIndex,e,t)})):t.removeAll(),this._data=null}}),b=Math.max,w=Math.min,S={cartesian2d:function(e,t){var n=t.width<0?-1:1,i=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),i<0&&(t.y+=t.height,t.height=-t.height);var r=b(t.x,e.x),o=w(t.x+t.width,e.x+e.width),a=b(t.y,e.y),s=w(t.y+t.height,e.y+e.height);t.x=r,t.y=a,t.width=o-r,t.height=s-a;var l=t.width<0||t.height<0;return n<0&&(t.x+=t.width,t.width=-t.width),i<0&&(t.y+=t.height,t.height=-t.height),l},polar:function(e){return!1}},M={cartesian2d:function(e,t,n,i,r){var s=new a.Rect({shape:o.extend({},t)});if(i){var l=s.shape,u=n?"height":"width",c={};l[u]=0,c[u]=t[u],a[r?"updateProps":"initProps"](s,{shape:c},i,e)}return s},polar:function(e,t,n,i,r,s){var l=t.startAngle0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(e,t,n){var i=e.getItemLayout(t);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle}}};function D(e,t,n,i,r,s,u,c){var h=t.getItemVisual(n,"color"),d=t.getItemVisual(n,"opacity"),f=i.getModel("itemStyle"),p=i.getModel("emphasis.itemStyle").getBarItemStyle();c||e.setShape("r",f.get("barBorderRadius")||0),e.useStyle(o.defaults({fill:h,opacity:d},f.getBarItemStyle()));var g=i.getShallow("cursor");g&&e.attr("cursor",g);var v=u?r.height>0?"bottom":"top":r.width>0?"left":"right";c||l(e.style,p,i,h,s,n,v),a.setHoverStyle(e,p)}function P(e,t){var n=e.get(m)||0;return Math.min(n,Math.abs(t.width),Math.abs(t.height))}var C=h.extend({type:"largeBar",shape:{points:[]},buildPath:function(e,t){for(var n=t.points,i=this.__startPoint,r=this.__baseDimIdx,o=0;o=0?n:null}),30,!1);function L(e,t,n){var i=e.__baseDimIdx,r=1-i,o=e.shape.points,a=e.__largeDataIndices,s=Math.abs(e.__barWidth/2),l=e.__startPoint[r];y[0]=t,y[1]=n;for(var u=y[i],c=y[1-i],h=u-s,d=u+s,f=0,p=o.length/2;f=h&&v<=d&&(l<=m?c>=l&&c<=m:c>=m&&c<=l))return a[f]}return-1}function E(e,t,n){var i=n.getVisual("borderColor")||n.getVisual("color"),r=t.getModel("itemStyle").getItemStyle(["color","borderColor"]);e.useStyle(r),e.style.fill=null,e.style.stroke=i,e.style.lineWidth=n.getLayout("barWidth")}e.exports=_},"4fc8":function(e,t,n){n("0f2e"),n("5a72"),n("bacf"),n("6539"),n("5926"),n("0cc3"),n("80bd")},5146:function(e,t,n){var i=n("cbe1"),r=n("e8c2"),o=n("2dda"),a=n("2bfc"),s=["itemStyle"],l=["emphasis","itemStyle"],u=r.extend({type:"boxplot",render:function(e,t,n){var i=e.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===e.get("layout")?1:0;i.diff(o).add((function(e){if(i.hasValue(e)){var t=i.getItemLayout(e),n=h(t,i,e,a,!0);i.setItemGraphicEl(e,n),r.add(n)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(i.hasValue(e)){var s=i.getItemLayout(e);n?d(s,n,i,e):n=h(s,i,e,a),r.add(n),i.setItemGraphicEl(e,n)}else r.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&r.remove(t)})).execute(),this._data=i},remove:function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(e){e&&t.remove(e)}))},dispose:i.noop}),c=a.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,t){var n=t.points,i=0;for(e.moveTo(n[i][0],n[i][1]),i++;i<4;i++)e.lineTo(n[i][0],n[i][1]);for(e.closePath();in.blockIndex,o=r?n.step:null,a=i&&i.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},y.getPipeline=function(e){return this._pipelineMap.get(e)},y.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),i=e.getData(),r=i.count(),o=n.progressiveEnabled&&t.incrementalPrepareRender&&r>=n.threshold,a=e.get("large")&&r>=e.get("largeThreshold"),s="mod"===e.get("progressiveChunkMode")?r:null;e.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},y.restorePipelines=function(e){var t=this,n=t._pipelineMap=s();e.eachSeries((function(e){var i=e.getProgressive(),r=e.uid;n.set(r,{id:r,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:i&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),k(t,e,e.dataTask)}))},y.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.ecInstance.getModel(),n=this.api;r(this._allHandlers,(function(i){var r=e.get(i.uid)||e.set(i.uid,[]);i.reset&&b(this,i,r,t,n),i.overallReset&&w(this,i,r,t,n)}),this)},y.prepareView=function(e,t,n,i){var r=e.renderTask,o=r.context;o.model=t,o.ecModel=n,o.api=i,r.__block=!e.incrementalPrepareRender,k(this,t,r)},y.performDataProcessorTasks=function(e,t){x(this,this._dataProcessorHandlers,e,t,{block:!0})},y.performVisualTasks=function(e,t,n){x(this,this._visualHandlers,e,t,n)},y.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t|=e.dataTask.perform()})),this.unfinished|=t},y.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))};var _=y.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)};function b(e,t,n,i,r){var o=n.seriesTaskMap||(n.seriesTaskMap=s()),a=t.seriesType,l=t.getTargetSeries;function u(n){var a=n.uid,s=o.get(a)||o.set(a,c({plan:T,reset:D,count:O}));s.context={model:n,ecModel:i,api:r,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:e},k(e,n,s)}t.createOnAllSeries?i.eachRawSeries(u):a?i.eachRawSeriesByType(a,u):l&&l(i,r).each(u);var h=e._pipelineMap;o.each((function(e,t){h.get(t)||(e.dispose(),o.removeKey(t))}))}function w(e,t,n,i,o){var a=n.overallTask=n.overallTask||c({reset:S});a.context={ecModel:i,api:o,overallReset:t.overallReset,scheduler:e};var l=a.agentStubMap=a.agentStubMap||s(),u=t.seriesType,h=t.getTargetSeries,d=!0,f=t.modifyOutputEnd;function p(t){var n=t.uid,i=l.get(n);i||(i=l.set(n,c({reset:M,onDirty:A})),a.dirty()),i.context={model:t,overallProgress:d,modifyOutputEnd:f},i.agent=a,i.__block=d,k(e,t,i)}u?i.eachRawSeriesByType(u,p):h?h(i,o).each(p):(d=!1,r(i.getSeries(),p));var g=e._pipelineMap;l.each((function(e,t){g.get(t)||(e.dispose(),a.dirty(),l.removeKey(t))}))}function S(e){e.overallReset(e.ecModel,e.api,e.payload)}function M(e,t){return e.overallProgress&&I}function I(){this.agent.dirty(),this.getDownstream().dirty()}function A(){this.agent&&this.agent.dirty()}function T(e){return e.plan&&e.plan(e.model,e.ecModel,e.api,e.payload)}function D(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=v(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?o(t,(function(e,t){return C(t)})):P}var P=C(0);function C(e){return function(t,n){var i=n.data,r=n.resetDefines[e];if(r&&r.dataEach)for(var o=t.start;o>>1;e[r][1]n&&(s=n);var l=m.length,h=g(m,s,0,l),d=m[Math.min(h,l-1)],f=d[1];if("year"===d[0]){var p=o/f,v=r.nice(p/e,!0);f*=v}var y=this.getSetting("useUTC")?0:60*new Date(+i[0]||+i[1]).getTimezoneOffset()*1e3,x=[Math.round(u((i[0]-y)/f)*f+y),Math.round(c((i[1]-y)/f)*f+y)];a.fixExtent(x,i),this._stepLvl=d,this._interval=f,this._niceExtent=x},parse:function(e){return+r.parseDate(e)}});i.each(["contain","normalize"],(function(e){v.prototype[e]=function(t){return l[e].call(this,this.parse(t))}}));var m=[["hh:mm:ss",h],["hh:mm:ss",5*h],["hh:mm:ss",10*h],["hh:mm:ss",15*h],["hh:mm:ss",30*h],["hh:mm\nMM-dd",d],["hh:mm\nMM-dd",5*d],["hh:mm\nMM-dd",10*d],["hh:mm\nMM-dd",15*d],["hh:mm\nMM-dd",30*d],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",2*f],["hh:mm\nMM-dd",6*f],["hh:mm\nMM-dd",12*f],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];v.create=function(e){return new v({useUTC:e.ecModel.get("useUTC")})};var y=v;e.exports=y},"55ba":function(e,t,n){var i=n("cbe1"),r=1e-4;function o(e){return e.replace(/^\s+|\s+$/g,"")}function a(e,t,n,i){var r=t[1]-t[0],o=n[1]-n[0];if(0===r)return 0===o?n[0]:(n[0]+n[1])/2;if(i)if(r>0){if(e<=t[0])return n[0];if(e>=t[1])return n[1]}else{if(e>=t[0])return n[0];if(e<=t[1])return n[1]}else{if(e===t[0])return n[0];if(e===t[1])return n[1]}return(e-t[0])/r*o+n[0]}function s(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return"string"===typeof e?o(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function l(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),n?e:+e}function u(e){return e.sort((function(e,t){return e-t})),e}function c(e){if(e=+e,isNaN(e))return 0;var t=1,n=0;while(Math.round(e*t)/t!==e)t*=10,n++;return n}function h(e){var t=e.toString(),n=t.indexOf("e");if(n>0){var i=+t.slice(n+1);return i<0?-i:0}var r=t.indexOf(".");return r<0?0:t.length-1-r}function d(e,t){var n=Math.log,i=Math.LN10,r=Math.floor(n(e[1]-e[0])/i),o=Math.round(n(Math.abs(t[1]-t[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function f(e,t,n){if(!e[t])return 0;var r=i.reduce(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===r)return 0;var o=Math.pow(10,n),a=i.map(e,(function(e){return(isNaN(e)?0:e)/r*o*100})),s=100*o,l=i.map(a,(function(e){return Math.floor(e)})),u=i.reduce(l,(function(e,t){return e+t}),0),c=i.map(a,(function(e,t){return e-l[t]}));while(uh&&(h=c[f],d=f);++l[d],c[d]=0,++u}return l[t]/o}var p=9007199254740991;function g(e){var t=2*Math.PI;return(e%t+t)%t}function v(e){return e>-r&&e=10&&t++,t}function b(e,t){var n,i=_(e),r=Math.pow(10,i),o=e/r;return n=t?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,e=n*r,i>=-20?+e.toFixed(i<0?-i:0):e}function w(e,t){var n=(e.length-1)*t+1,i=Math.floor(n),r=+e[i-1],o=n-i;return o?r+o*(e[i]-r):r}function S(e){e.sort((function(e,t){return s(e,t,0)?-1:1}));for(var t=-1/0,n=1,i=0;i=0}t.linearMap=a,t.parsePercent=s,t.round=l,t.asc=u,t.getPrecision=c,t.getPrecisionSafe=h,t.getPixelPrecision=d,t.getPercentWithPrecision=f,t.MAX_SAFE_INTEGER=p,t.remRadian=g,t.isRadianAroundZero=v,t.parseDate=y,t.quantity=x,t.quantityExponent=_,t.nice=b,t.quantile=w,t.reformIntervals=S,t.isNumeric=M},"55e2":function(e,t){var n=function(e,t){this.image=e,this.repeat=t,this.type="pattern"};n.prototype.getCanvasPattern=function(e){return e.createPattern(this.image,this.repeat||"repeat")};var i=n;e.exports=i},5624:function(e,t,n){var i,r=n("3804"),o="urn:schemas-microsoft-com:vml",a="undefined"===typeof window?null:window,s=!1,l=a&&a.document;function u(e){return i(e)}if(l&&!r.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",o),i=function(e){return l.createElement("')}}catch(h){i=function(e){return l.createElement("<"+e+' xmlns="'+o+'" class="zrvml">')}}function c(){if(!s&&l){s=!0;var e=l.styleSheets;e.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):e[0].addRule(".zrvml","behavior:url(#default#VML)")}}t.doc=l,t.createNode=u,t.initVML=c},5640:function(e,t,n){var i=n("cbe1"),r=n("de7a"),o=n("7ae1"),a=o.retrieveRawValue;function s(e,t){var n=t.getModel("aria");if(n.get("show"))if(n.get("description"))e.setAttribute("aria-label",n.get("description"));else{var o=0;t.eachSeries((function(e,t){++o}),this);var s,l=n.get("data.maxCount")||10,u=n.get("series.maxCount")||10,c=Math.min(o,u);if(!(o<1)){var h=v();s=h?p(g("general.withTitle"),{title:h}):g("general.withoutTitle");var d=[],f=o>1?"series.multiple.prefix":"series.single.prefix";s+=p(g(f),{seriesCount:o}),t.eachSeries((function(e,t){if(t1?"multiple":"single")+".";n=g(i?r+"withName":r+"withoutName"),n=p(n,{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:m(e.subType)});var s=e.getData();window.data=s,s.count()>l?n+=p(g("data.partialData"),{displayCnt:l}):n+=g("data.allData");for(var u=[],h=0;h=0)return!0}var m=new RegExp("["+c+"]+","g");function y(e){for(var t=e.split(/\n+/g),n=g(t.shift()).split(m),i=[],o=r.map(n,(function(e){return{name:e,data:[]}})),a=0;ao&&(o=l,a=s)}for(var u=0;un.getHeight()&&(i.textPosition="top",l=!0);var u=l?-5-r.height:f+8;a+r.width/2>n.getWidth()?(i.textPosition=["100%",u],i.textAlign="right"):a-r.width/2<0&&(i.textPosition=[0,u],i.textAlign="left")}}))}function m(r,o){var s,u=v[r],c=v[o],h=p[u],f=new l(h,e,e.ecModel);if(u&&!c){if(d(u))s={model:f,onclick:f.option.onclick,featureName:u};else{var m=a.get(u);if(!m)return;s=new m(f,t,n)}g[u]=s}else{if(s=g[c],!s)return;s.model=f,s.ecModel=t,s.api=n}u||!c?f.get("show")&&!s.unusable?(y(f,s,u),f.setIconStatus=function(e,t){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,i[e]&&i[e].trigger(t)},s.render&&s.render(f,t,n,i)):s.remove&&s.remove(t,n):s.dispose&&s.dispose(t,n)}function y(i,o,a){var l=i.getModel("iconStyle"),u=i.getModel("emphasis.iconStyle"),c=o.getIcons?o.getIcons():i.get("icon"),d=i.get("title")||{};if("string"===typeof c){var p=c,g=d;c={},d={},c[a]=p,d[a]=g}var v=i.iconPaths={};r.each(c,(function(a,c){var p=s.createIcon(a,{},{x:-f/2,y:-f/2,width:f,height:f});p.setStyle(l.getItemStyle()),p.hoverStyle=u.getItemStyle(),p.setStyle({text:d[c],textAlign:u.get("textAlign"),textBorderRadius:u.get("textBorderRadius"),textPadding:u.get("textPadding"),textFill:null});var g=e.getModel("tooltip");g&&g.get("show")&&p.attr("tooltip",r.extend({content:d[c],formatter:g.get("formatter",!0)||function(){return d[c]},formatterParams:{componentType:"toolbox",name:c,title:d[c],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),s.setHoverStyle(p),e.get("showTitle")&&(p.__title=d[c],p.on("mouseover",(function(){var t=u.getItemStyle(),n="vertical"===e.get("orient")?null==e.get("right")?"right":"left":null==e.get("bottom")?"bottom":"top";p.setStyle({textFill:u.get("textFill")||t.fill||t.stroke||"#000",textBackgroundColor:u.get("textBackgroundColor"),textPosition:u.get("textPosition")||n})})).on("mouseout",(function(){p.setStyle({textFill:null,textBackgroundColor:null})}))),p.trigger(i.get("iconStatus."+c)||"normal"),h.add(p),p.on("click",r.bind(o.onclick,o,t,n,c)),v[c]=p}))}},updateView:function(e,t,n,i){r.each(this._features,(function(e){e.updateView&&e.updateView(e.model,t,n,i)}))},remove:function(e,t){r.each(this._features,(function(n){n.remove&&n.remove(e,t)})),this.group.removeAll()},dispose:function(e,t){r.each(this._features,(function(n){n.dispose&&n.dispose(e,t)}))}});function d(e){return 0===e.indexOf("my")}e.exports=h},"5a78":function(e,t,n){var i=n("cbe1"),r=i.each,o="\0_ec_hist_store";function a(e,t){var n=c(e);r(t,(function(t,i){for(var r=n.length-1;r>=0;r--){var o=n[r];if(o[i])break}if(r<0){var a=e.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(a){var s=a.getPercentRange();n[0][i]={dataZoomId:i,start:s[0],end:s[1]}}}})),n.push(t)}function s(e){var t=c(e),n=t[t.length-1];t.length>1&&t.pop();var i={};return r(n,(function(e,n){for(var r=t.length-1;r>=0;r--){e=t[r][n];if(e){i[n]=e;break}}})),i}function l(e){e[o]=null}function u(e){return c(e).length}function c(e){var t=e[o];return t||(t=e[o]=[{}]),t}t.push=a,t.pop=s,t.clear=l,t.count=u},"5aaa":function(e,t,n){var i=n("e4d6"),r=i.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end"},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});e.exports=r},"5af3":function(e,t,n){var i=n("ccd7"),r=n("9a33"),o=n("0e18"),a=o.getLayoutRect,s=n("cbe1"),l=s.each;function u(e,t,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(e,t,n),this.model=e}u.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:u,_init:function(e,t,n){var o=this.dimension,a=new i(o,r.createScaleByModel(e),[0,0],e.get("type"),e.get("position")),s="category"===a.type;a.onBand=s&&e.get("boundaryGap"),a.inverse=e.get("inverse"),a.orient=e.get("orient"),e.axis=a,a.model=e,a.coordinateSystem=this,this._axis=a},update:function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();l(t.mapDimension(this.dimension,!0),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),r.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(e,t){this._rect=a({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var e=this._rect,t=this._axis,n=t.isHorizontal(),i=n?[0,e.width]:[0,e.height],r=t.reverse?1:0;t.setExtent(i[r],i[1-r]),this._updateAxisTransform(t,n?e.x:e.y)},_updateAxisTransform:function(e,t){var n=e.getExtent(),i=n[0]+n[1],r=e.isHorizontal();e.toGlobalCoord=r?function(e){return e+t}:function(e){return i-e+t},e.toLocalCoord=r?function(e){return e-t}:function(e){return i-e+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(e){var t=this.getRect(),n=this.getAxis(),i=n.orient;return"horizontal"===i?n.contain(n.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),i[r]=t.toGlobalCoord(t.dataToCoord(+e)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i}};var c=u;e.exports=c},"5af3c":function(e,t,n){"use strict";var i=n("4bce"),r=n.n(i);r.a},"5b36":function(e,t,n){var i=n("0a6d");function r(e){this._target=e.target,this._life=e.life||1e3,this._delay=e.delay||0,this._initialized=!1,this.loop=null!=e.loop&&e.loop,this.gap=e.gap||0,this.easing=e.easing||"Linear",this.onframe=e.onframe,this.ondestroy=e.ondestroy,this.onrestart=e.onrestart,this._pausedTime=0,this._paused=!1}r.prototype={constructor:r,step:function(e,t){if(this._initialized||(this._startTime=e+this._delay,this._initialized=!0),this._paused)this._pausedTime+=t;else{var n=(e-this._startTime-this._pausedTime)/this._life;if(!(n<0)){n=Math.min(n,1);var r=this.easing,o="string"===typeof r?i[r]:r,a="function"===typeof o?o(n):n;return this.fire("frame",a),1===n?this.loop?(this.restart(e),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(e){var t=(e-this._startTime-this._pausedTime)%this._life;this._startTime=e-t+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(e,t){e="on"+e,this[e]&&this[e](this._target,t)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var o=r;e.exports=o},"5b4e":function(e,t){var n=32,i=7;function r(e){var t=0;while(e>=n)t|=1&e,e>>=1;return e+t}function o(e,t,n,i){var r=t+1;if(r===n)return 1;if(i(e[r++],e[t])<0){while(r=0)r++;return r-t}function a(e,t,n){n--;while(t>>1,r(a,e[o])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:while(u>0)e[s+u]=e[s+u-1],u--}e[s]=a}}function l(e,t,n,i,r,o){var a=0,s=0,l=1;if(o(e,t[n+r])>0){s=i-r;while(l0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{s=r+1;while(ls&&(l=s);var u=a;a=r-l,l=r-u}a++;while(a>>1);o(e,t[n+c])>0?a=c+1:l=c}return l}function u(e,t,n,i,r,o){var a=0,s=0,l=1;if(o(e,t[n+r])<0){s=r+1;while(ls&&(l=s);var u=a;a=r-l,l=r-u}else{s=i-r;while(l=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}a++;while(a>>1);o(e,t[n+c])<0?l=c:a=c+1}return l}function c(e,t){var n,r,o=i,a=0,s=0;a=e.length;var c=[];function h(e,t){n[s]=e,r[s]=t,s+=1}function d(){while(s>1){var e=s-2;if(e>=1&&r[e-1]<=r[e]+r[e+1]||e>=2&&r[e-2]<=r[e]+r[e-1])r[e-1]r[e+1])break;p(e)}}function f(){while(s>1){var e=s-2;e>0&&r[e-1]=i||v>=i);if(m)break;y<0&&(y=0),y+=2}if(o=y,o<1&&(o=1),1===r){for(h=0;h=0;h--)e[v+h]=e[g+h];if(0===r){_=!0;break}}if(e[p--]=c[f--],1===--s){_=!0;break}if(x=s-l(e[d],c,0,s,s-1,t),0!==x){for(p-=x,f-=x,s-=x,v=p+1,g=f+1,h=0;h=i||x>=i);if(_)break;m<0&&(m=0),m+=2}if(o=m,o<1&&(o=1),1===s){for(p-=r,d-=r,v=p+1,g=d+1,h=r-1;h>=0;h--)e[v+h]=e[g+h];e[p]=c[f]}else{if(0===s)throw new Error;for(g=p-(s-1),h=0;h=0;h--)e[v+h]=e[g+h];e[p]=c[f]}else for(g=p-(s-1),h=0;hd&&(f=d),s(e,i,i+f,i+u,t),u=f}h.pushRun(i,u),h.mergeRuns(),l-=u,i+=u}while(0!==l);h.forceMergeRuns()}}e.exports=h},"5be6":function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=n("8147"),a=n("55ba"),s=a.parsePercent,l=n("9a33"),u=l.createScaleByModel,c=l.niceScaleExtent,h=n("d1a1"),d=n("a4bb"),f=d.getStackedDimension;function p(e,t,n){var i=t.get("center"),o=n.getWidth(),a=n.getHeight();e.cx=s(i[0],o),e.cy=s(i[1],a);var l=e.getRadiusAxis(),u=Math.min(o,a)/2,c=t.get("radius");null==c?c=[0,"100%"]:r.isArray(c)||(c=[0,c]),c=[s(c[0],u),s(c[1],u)],l.inverse?l.setExtent(c[1],c[0]):l.setExtent(c[0],c[1])}function g(e,t){var n=this,i=n.getAngleAxis(),o=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();r.each(t.mapDimension("radius",!0),(function(e){o.scale.unionExtentFromData(t,f(t,e))})),r.each(t.mapDimension("angle",!0),(function(e){i.scale.unionExtentFromData(t,f(t,e))}))}})),c(i.scale,i.model),c(o.scale,o.model),"category"===i.type&&!i.onBand){var a=i.getExtent(),s=360/i.scale.count();i.inverse?a[1]+=s:a[1]-=s,i.setExtent(a[0],a[1])}}function v(e,t){if(e.type=t.get("type"),e.scale=u(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),"angleAxis"===t.mainType){e.inverse^=t.get("clockwise");var n=t.get("startAngle");e.setExtent(n,n+(e.inverse?-360:360))}t.axis=e,e.model=t}n("6268");var m={dimensions:o.prototype.dimensions,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,i){var r=new o(i);r.update=g;var a=r.getRadiusAxis(),s=r.getAngleAxis(),l=e.findAxisModel("radiusAxis"),u=e.findAxisModel("angleAxis");v(a,l),v(s,u),p(r,e,t),n.push(r),e.coordinateSystem=r,r.model=e})),e.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}};h.register("polar",m)},"5c1c":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("3804"),a=n("7583"),s=n("78d7"),l=n("fd6c"),u=n("5c3e"),c=n("55ba"),h=s.mapVisual,d=s.eachVisual,f=r.isArray,p=r.each,g=c.asc,v=c.linearMap,m=r.noop,y=i.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-1/0,1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(e,t,n){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(e,n)},optionUpdated:function(e,t){var n=this.option;o.canvasSupported||(n.realtime=!1),!t&&l.replaceVisualOption(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(e){var t=this.stateList;e=r.bind(e,this),this.controllerVisuals=l.createVisualMappings(this.option.controller,t,e),this.targetVisuals=l.createVisualMappings(this.option.target,t,e)},getTargetSeriesIndices:function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries((function(e,n){t.push(n)})):t=u.normalizeToArray(e),t},eachTargetSeries:function(e,t){r.each(this.getTargetSeriesIndices(),(function(n){e.call(t,this.ecModel.getSeriesByIndex(n))}),this)},isTargetSeries:function(e){var t=!1;return this.eachTargetSeries((function(n){n===e&&(t=!0)})),t},formatValueText:function(e,t,n){var i,o,a=this.option,s=a.precision,l=this.dataBound,u=a.formatter;return n=n||["<",">"],r.isArray(e)&&(e=e.slice(),i=!0),o=t?e:i?[c(e[0]),c(e[1])]:c(e),r.isString(u)?u.replace("{value}",i?o[0]:o).replace("{value2}",i?o[1]:o):r.isFunction(u)?i?u(e[0],e[1]):u(e):i?e[0]===l[0]?n[0]+" "+o[1]:e[1]===l[1]?n[1]+" "+o[0]:o[0]+" - "+o[1]:o;function c(e){return e===l[0]?"min":e===l[1]?"max":(+e).toFixed(Math.min(s,20))}},resetExtent:function(){var e=this.option,t=g([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension,n=e.dimensions;if(null!=t||n.length){if(null!=t)return e.getDimension(t);for(var i=e.dimensions,r=i.length-1;r>=0;r--){var o=i[r],a=e.getDimensionInfo(o);if(!a.isCalculationCoord)return o}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},i=t.target||(t.target={}),o=t.controller||(t.controller={});r.merge(i,n),r.merge(o,n);var l=this.isCategory();function u(n){f(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")},p(this.stateList,(function(e){var t=n[e];if(r.isString(t)){var i=a.get(t,"active",l);i?(n[e]={},n[e][t]=i):delete n[e]}}),this)}function c(e,t,n){var i=e[t],r=e[n];i&&!r&&(r=e[n]={},p(i,(function(e,t){if(s.isValidType(t)){var n=a.get(t,"inactive",l);null!=n&&(r[t]=n,"color"!==t||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}function g(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,i=this.get("inactiveColor");p(this.stateList,(function(o){var a=this.itemSize,s=e[o];s||(s=e[o]={color:l?i:[i]}),null==s.symbol&&(s.symbol=t&&r.clone(t)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&r.clone(n)||(l?a[0]:[a[0],a[0]])),s.symbol=h(s.symbol,(function(e){return"none"===e||"square"===e?"roundRect":e}));var u=s.symbolSize;if(null!=u){var c=-1/0;d(u,(function(e){e>c&&(c=e)})),s.symbolSize=h(u,(function(e){return v(e,[0,c],[0,a[0]],!0)}))}}),this)}u.call(this,i),u.call(this,o),c.call(this,i,"inRange","outOfRange"),g.call(this,o)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:m,getValueState:m,getVisualMeta:m}),x=y;e.exports=x},"5c3e":function(e,t,n){var i=n("cbe1"),r=n("3804"),o=i.each,a=i.isObject,s=i.isArray,l="series\0";function u(e){return e instanceof Array?e:null==e?[]:[e]}function c(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var i=0,r=n.length;i=n.length&&n.push({option:e})}})),n}function g(e){var t=i.createHashMap();o(e,(function(e,n){var i=e.exist;i&&t.set(i.id,e)})),o(e,(function(e,n){var r=e.option;i.assert(!r||null==r.id||!t.get(r.id)||t.get(r.id)===e,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&t.set(r.id,e),!e.keyInfo&&(e.keyInfo={})})),o(e,(function(e,n){var i=e.exist,r=e.option,o=e.keyInfo;if(a(r)){if(o.name=null!=r.name?r.name+"":i?i.name:l+n,i)o.id=i.id;else if(null!=r.id)o.id=r.id+"";else{var s=0;do{o.id="\0"+o.name+"\0"+s++}while(t.get(o.id))}t.set(o.id,e)}}))}function v(e){var t=e.name;return!(!t||!t.indexOf(l))}function m(e){return a(e)&&e.id&&0===(e.id+"").indexOf("\0_ec_\0")}function y(e,t){var n={},i={};return r(e||[],n),r(t||[],i,n),[o(n),o(i)];function r(e,t,n){for(var i=0,r=e.length;i1e-4)return p[0]=e-n,p[1]=t-r,g[0]=e+n,void(g[1]=t+r);if(c[0]=l(o)*n+e,c[1]=s(o)*r+t,h[0]=l(a)*n+e,h[1]=s(a)*r+t,v(p,c,h),m(g,c,h),o%=u,o<0&&(o+=u),a%=u,a<0&&(a+=u),o>a&&!f?a+=u:oo&&(d[0]=l(_)*n+e,d[1]=s(_)*r+t,v(p,d,p),m(g,d,g))}t.fromPoints=f,t.fromLine=p,t.fromCubic=m,t.fromQuadratic=y,t.fromArc=x},"5e0d":function(e,t,n){var i=n("2dda"),r=n("039e"),o=n("cbe1"),a=n("df7d"),s=a.createSymbol,l=n("dbbd"),u=n("ed3e");function c(e,t,n){i.Group.call(this),this.add(this.createLine(e,t,n)),this._updateEffectSymbol(e,t)}var h=c.prototype;h.createLine=function(e,t,n){return new r(e,t,n)},h._updateEffectSymbol=function(e,t){var n=e.getItemModel(t),i=n.getModel("effect"),r=i.get("symbolSize"),a=i.get("symbol");o.isArray(r)||(r=[r,r]);var l=i.get("color")||e.getItemVisual(t,"color"),u=this.childAt(1);this._symbolType!==a&&(this.remove(u),u=s(a,-.5,-.5,1,1,l),u.z2=100,u.culling=!0,this.add(u)),u&&(u.setStyle("shadowColor",l),u.setStyle(i.getItemStyle(["color"])),u.attr("scale",r),u.setColor(l),u.attr("scale",r),this._symbolType=a,this._updateEffectAnimation(e,i,t))},h._updateEffectAnimation=function(e,t,n){var i=this.childAt(1);if(i){var r=this,a=e.getItemLayout(n),s=1e3*t.get("period"),l=t.get("loop"),u=t.get("constantSpeed"),c=o.retrieve(t.get("delay"),(function(t){return t/e.count()*s/3})),h="function"===typeof c;if(i.ignore=!0,this.updateAnimationPoints(i,a),u>0&&(s=this.getLineLength(i)/u*1e3),s!==this._period||l!==this._loop){i.stopAnimation();var d=c;h&&(d=c(n)),i.__t>0&&(d=-s*i.__t),i.__t=0;var f=i.animate("",l).when(s,{__t:1}).delay(d).during((function(){r.updateSymbolPosition(i)}));l||f.done((function(){r.remove(i)})),f.start()}this._period=s,this._loop=l}},h.getLineLength=function(e){return l.dist(e.__p1,e.__cp1)+l.dist(e.__cp1,e.__p2)},h.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},h.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},h.updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,i=e.__cp1,r=e.__t,o=e.position,a=u.quadraticAt,s=u.quadraticDerivativeAt;o[0]=a(t[0],i[0],n[0],r),o[1]=a(t[1],i[1],n[1],r);var l=s(t[0],i[0],n[0],r),c=s(t[1],i[1],n[1],r);e.rotation=-Math.atan2(c,l)-Math.PI/2,e.ignore=!1},h.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var n=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,n,t)},o.inherits(c,i.Group);var d=c;e.exports=d},"5e39":function(e,t,n){var i=n("cbe1"),r=n("7a17");n("8d75");var o=r.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(e){var t=this.option;e&&i.merge(t,e,!0),this._initDimensions()},contains:function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},setAxisExpand:function(e){i.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},_initDimensions:function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],n=i.filter(this.dependentModels.parallelAxis,(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);i.each(n,(function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)}))}});e.exports=o},"5e4b":function(e,t){var n={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function i(e,t){if("china"===e){var i=n[t.name];if(i){var r=t.center;r[0]+=i[0]/10.5,r[1]+=-i[1]/14}}}e.exports=i},"602d":function(e,t,n){var i=n("2bfc"),r=n("4a90"),o=i.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(e,t){r.buildPath(e,t,!0)}});e.exports=o},"60dd":function(e,t){function n(e){return e instanceof Array||(e=[e,e]),e}var i="lineStyle.opacity".split("."),r={seriesType:"lines",reset:function(e,t,r){var o=n(e.get("symbol")),a=n(e.get("symbolSize")),s=e.getData();function l(e,t){var r=e.getItemModel(t),o=n(r.getShallow("symbol",!0)),a=n(r.getShallow("symbolSize",!0)),s=r.get(i);o[0]&&e.setItemVisual(t,"fromSymbol",o[0]),o[1]&&e.setItemVisual(t,"toSymbol",o[1]),a[0]&&e.setItemVisual(t,"fromSymbolSize",a[0]),a[1]&&e.setItemVisual(t,"toSymbolSize",a[1]),e.setItemVisual(t,"opacity",s)}return s.setVisual("fromSymbol",o&&o[0]),s.setVisual("toSymbol",o&&o[1]),s.setVisual("fromSymbolSize",a&&a[0]),s.setVisual("toSymbolSize",a&&a[1]),s.setVisual("opacity",e.get(i)),{dataEach:s.hasItemOption?l:null}}};e.exports=r},6178:function(e,t){var n="original",i="arrayRows",r="objectRows",o="keyedColumns",a="unknown",s="typedArray",l="column",u="row";t.SOURCE_FORMAT_ORIGINAL=n,t.SOURCE_FORMAT_ARRAY_ROWS=i,t.SOURCE_FORMAT_OBJECT_ROWS=r,t.SOURCE_FORMAT_KEYED_COLUMNS=o,t.SOURCE_FORMAT_UNKNOWN=a,t.SOURCE_FORMAT_TYPED_ARRAY=s,t.SERIES_LAYOUT_BY_COLUMN=l,t.SERIES_LAYOUT_BY_ROW=u},6268:function(e,t,n){var i=n("333f");n("df09");var r=i.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(e){var t,n=this.ecModel;return n.eachComponent(e,(function(e){e.getCoordSysModel()===this&&(t=e)}),this),t},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});e.exports=r},"62b4":function(e,t,n){var i=n("2544"),r=n("dbbd"),o=r.applyTransform,a=i.CMD,s=[[],[],[]],l=Math.sqrt,u=Math.atan2;function c(e,t){var n,i,r,c,h,d=e.data,f=a.M,p=a.C,g=a.L,v=a.R,m=a.A,y=a.Q;for(r=0,c=0;r=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*ts[1]&&(s[1]=t)}))}else s=[NaN,NaN];return{sum:i,dataExtent:s}}function M(e,t,n){for(var i,r=0,o=1/0,a=0,s=e.length;ar&&(r=i));var l=e.area*e.area,u=t*t*n;return l?c(u*r/l,l/(u*o)):1/0}function I(e,t,n,i,r){var o=t===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],d=t?e.area/t:0;(r||d>n[l[a]])&&(d=n[l[a]]);for(var f=0,p=e.length;fs&&(c=s),a=o}c=0&&r.each(e,(function(e){i.setIconStatus(e,"normal")}))})),i.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},s),t.dispatchAction({type:"changeMagicType",currentType:n,newOption:a})}},i.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)})),a.register("magicType",l);var d=l;e.exports=d},6609:function(e,t,n){n("b93d");var i=n("7651"),r=i.registerPainter,o=n("800f");r("vml",o)},"66c6":function(e,t,n){var i=n("333f"),r=n("86e8"),o=n("cbe1"),a=n("5c3e"),s=n("55ba"),l=s.getPercentWithPrecision,u=n("97d3"),c=n("7ae1"),h=c.retrieveRawAttr,d=i.extendSeriesModel({type:"series.pie",init:function(e){d.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(e)},mergeOption:function(e){d.superCall(this,"mergeOption",e),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(e,t){return r(this,["value"])},_createSelectableList:function(){for(var e=this.getRawData(),t=e.mapDimension("value"),n=[],i=0,r=e.count();ia&&(a=t)})),r.each(n,(function(t){var n=new i({type:"color",mappingMethod:"linear",dataExtent:[o,a],visual:e.get("color")}),r=n.mapValueToVisual(t.getLayout().value),s=t.getModel().get("itemStyle.color");null!=s?t.setVisual("color",s):t.setVisual("color",r)}))}}))}e.exports=o},"67f3":function(e,t,n){var i=n("d752"),r=i([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getBarItemStyle:function(e){var t=r(this,e);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(t.lineDash=n)}return t}};e.exports=o},"680b":function(e,t){function n(e,t){var n,i,r,o,a,s=t.x,l=t.y,u=t.width,c=t.height,h=t.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof h?n=i=r=o=h:h instanceof Array?1===h.length?n=i=r=o=h[0]:2===h.length?(n=r=h[0],i=o=h[1]):3===h.length?(n=h[0],i=o=h[1],r=h[2]):(n=h[0],i=h[1],r=h[2],o=h[3]):n=i=r=o=0,n+i>u&&(a=n+i,n*=u/a,i*=u/a),r+o>u&&(a=r+o,r*=u/a,o*=u/a),i+r>c&&(a=i+r,i*=c/a,r*=c/a),n+o>c&&(a=n+o,n*=c/a,o*=c/a),e.moveTo(s+n,l),e.lineTo(s+u-i,l),0!==i&&e.arc(s+u-i,l+i,i,-Math.PI/2,0),e.lineTo(s+u,l+c-r),0!==r&&e.arc(s+u-r,l+c-r,r,0,Math.PI/2),e.lineTo(s+o,l+c),0!==o&&e.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),e.lineTo(s,l+n),0!==n&&e.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}t.buildPath=n},"68a7":function(e,t,n){var i=n("cbe1"),r=i.isFunction;function o(e,t,n){return{seriesType:e,performRawSeries:!0,reset:function(e,i,o){var a=e.getData(),s=e.get("symbol"),l=e.get("symbolSize"),u=e.get("symbolKeepAspect"),c=r(s),h=r(l),d=c||h,f=!c&&s?s:t,p=h?null:l;if(a.setVisual({legendSymbol:n||f,symbol:f,symbolSize:p,symbolKeepAspect:u}),!i.isSeriesFiltered(e))return{dataEach:a.hasItemOption||d?g:null};function g(t,n){if(d){var i=e.getRawValue(n),r=e.getDataParams(n);c&&t.setItemVisual(n,"symbol",s(i,r)),h&&t.setItemVisual(n,"symbolSize",l(i,r))}if(t.hasItemOption){var o=t.getItemModel(n),a=o.getShallow("symbol",!0),u=o.getShallow("symbolSize",!0),f=o.getShallow("symbolKeepAspect",!0);null!=a&&t.setItemVisual(n,"symbol",a),null!=u&&t.setItemVisual(n,"symbolSize",u),null!=f&&t.setItemVisual(n,"symbolKeepAspect",f)}}}}}e.exports=o},"6b0b":function(e,t){var n="undefined"===typeof Float32Array?Array:Float32Array;function i(){var e=new n(6);return r(e),e}function r(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function a(e,t,n){var i=t[0]*n[0]+t[2]*n[1],r=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=i,e[1]=r,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e}function s(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function l(e,t,n){var i=t[0],r=t[2],o=t[4],a=t[1],s=t[3],l=t[5],u=Math.sin(n),c=Math.cos(n);return e[0]=i*c+a*u,e[1]=-i*u+a*c,e[2]=r*c+s*u,e[3]=-r*u+c*s,e[4]=c*o+u*l,e[5]=c*l-u*o,e}function u(e,t,n){var i=n[0],r=n[1];return e[0]=t[0]*i,e[1]=t[1]*r,e[2]=t[2]*i,e[3]=t[3]*r,e[4]=t[4]*i,e[5]=t[5]*r,e}function c(e,t){var n=t[0],i=t[2],r=t[4],o=t[1],a=t[3],s=t[5],l=n*a-o*i;return l?(l=1/l,e[0]=a*l,e[1]=-o*l,e[2]=-i*l,e[3]=n*l,e[4]=(i*s-a*r)*l,e[5]=(o*r-n*s)*l,e):null}function h(e){var t=i();return o(t,e),t}t.create=i,t.identity=r,t.copy=o,t.mul=a,t.translate=s,t.rotate=l,t.scale=u,t.invert=c,t.clone=h},"6c15":function(e,t,n){var i=n("cbe1"),r=n("55ba"),o=r.parsePercent,a=n("a4bb"),s=a.isDimensionStacked,l=n("33f3"),u="__ec_stack_",c=.5,h="undefined"!==typeof Float32Array?Float32Array:Array;function d(e){return e.get("stack")||u+e.seriesIndex}function f(e){return e.dim+e.index}function p(e){var t=[],n=e.axis,r="axis0";if("category"===n.type){for(var o=n.getBandWidth(),a=0;a0&&(a=null===a?l:Math.min(a,l))}n[r]=a}}return n}function m(e){var t=v(e),n=[];return i.each(e,(function(e){var i,r=e.coordinateSystem,a=r.getBaseAxis(),s=a.getExtent();if("category"===a.type)i=a.getBandWidth();else if("value"===a.type||"time"===a.type){var l=a.dim+"_"+a.index,u=t[l],c=Math.abs(s[1]-s[0]),h=a.scale.getExtent(),p=Math.abs(h[1]-h[0]);i=u?c/p*u:c}else{var g=e.getData();i=Math.abs(s[1]-s[0])/g.count()}var v=o(e.get("barWidth"),i),m=o(e.get("barMaxWidth"),i),y=o(e.get("barMinWidth")||1,i),x=e.get("barGap"),_=e.get("barCategoryGap");n.push({bandWidth:i,barWidth:v,barMaxWidth:m,barMinWidth:y,barGap:x,barCategoryGap:_,axisKey:f(a),stackId:d(e)})})),y(n)}function y(e){var t={};i.each(e,(function(e,n){var i=e.axisKey,r=e.bandWidth,o=t[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},a=o.stacks;t[i]=o;var s=e.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=e.barMaxWidth;u&&(a[s].maxWidth=u);var c=e.barMinWidth;c&&(a[s].minWidth=c);var h=e.barGap;null!=h&&(o.gap=h);var d=e.barCategoryGap;null!=d&&(o.categoryGap=d)}));var n={};return i.each(t,(function(e,t){n[t]={};var r=e.stacks,a=e.bandWidth,s=o(e.categoryGap,a),l=o(e.gap,1),u=e.remainedWidth,c=e.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),i.each(r,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){i=e.width;t&&(i=Math.min(i,t)),n&&(i=Math.max(i,n)),e.width=i,u-=i,c--}else{var i=h;t&&ti&&(i=n),i!==h&&(e.width=i,u-=i,c--)}})),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var d,f=0;i.each(r,(function(e,t){e.width||(e.width=h),d=e,f+=e.width*(1+l)})),d&&(f-=d.width*l);var p=-f/2;i.each(r,(function(e,i){n[t][i]=n[t][i]||{bandWidth:a,offset:p,width:e.width},p+=e.width*(1+l)}))})),n}function x(e,t,n){if(e&&t){var i=e[f(t)];return null!=i&&null!=n&&(i=i[d(n)]),i}}function _(e,t){var n=g(e,t),r=m(n),o={},a={};i.each(n,(function(e){var t=e.getData(),n=e.coordinateSystem,i=n.getBaseAxis(),l=d(e),u=r[f(i)][l],c=u.offset,h=u.width,p=n.getOtherAxis(i),g=e.get("barMinHeight")||0;o[l]=o[l]||[],a[l]=a[l]||[],t.setLayout({bandWidth:u.bandWidth,offset:c,size:h});for(var v=t.mapDimension(p.dim),m=t.mapDimension(i.dim),y=s(t,v),x=p.isHorizontal(),_=M(i,p,y),b=0,w=t.count();b=0?"p":"n",O=_;if(y&&(o[l][I]||(o[l][I]={p:_,n:_}),O=o[l][I][C]),x){var k=n.dataToPoint([S,I]);A=O,T=k[1]+c,D=k[0]-_,P=h,Math.abs(D)c||(u=c),{progress:d}}function d(e,t){var c,d=e.count,f=new h(2*d),p=new h(d),g=[],v=[],m=0,y=0;while(null!=(c=e.next()))v[l]=t.get(o,c),v[1-l]=t.get(a,c),g=n.dataToPoint(v,null,g),f[m++]=g[0],f[m++]=g[1],p[y++]=c;t.setLayout({largePoints:f,largeDataIndices:p,barWidth:u,valueAxisStart:M(i,r,!1),valueAxisHorizontal:s})}}};function w(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function S(e){return e.pipelineContext&&e.pipelineContext.large}function M(e,t,n){return t.toGlobalCoord(t.dataToCoord("log"===t.type?1:0))}t.getLayoutOnAxis=p,t.prepareLayoutBarSeries=g,t.makeColumnLayout=m,t.retrieveColumnLayout=x,t.layout=_,t.largeLayout=b},"6cbc":function(e,t,n){for(var i=n("333f"),r=n("6f09"),o=function(){},a=["treemapZoomToNode","treemapRender","treemapMove"],s=0;ss)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&u(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i&&null})}}};function u(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}i.registerPreprocessor(a)},"6d5a":function(e,t,n){var i=n("cbe1"),r=n("82da"),o=function(e,t,n,i,o,a){this.x=null==e?0:e,this.y=null==t?0:t,this.x2=null==n?1:n,this.y2=null==i?0:i,this.type="linear",this.global=a||!1,r.call(this,o)};o.prototype={constructor:o},i.inherits(o,r);var a=o;e.exports=a},"6d8a":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("2dda"),a=n("8b19"),s=n("6f09"),l=n("792c"),u=n("b100"),c=n("1bb8"),h=n("6b0b"),d=n("ff6d"),f=n("d752"),p=r.bind,g=o.Group,v=o.Rect,m=r.each,y=3,x=["label"],_=["emphasis","label"],b=["upperLabel"],w=["emphasis","upperLabel"],S=10,M=1,I=2,A=f([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),T=function(e){var t=A(e);return t.stroke=t.fill=t.lineWidth=null,t},D=i.extendChartView({type:"treemap",init:function(e,t){this._containerGroup,this._storage=P(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(e,t,n,i){var o=t.findComponents({mainType:"series",subType:"treemap",query:i});if(!(r.indexOf(o,e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var a=["treemapZoomToNode","treemapRootToNode"],l=s.retrieveTargetInfo(i,a,e),u=i&&i.type,c=e.layoutInfo,h=!this._oldTree,d=this._storage,f="treemapRootToNode"===u&&l&&d?{rootNodeGroup:d.nodeGroup[l.node.getRawIndex()],direction:i.direction}:null,p=this._giveContainerGroup(c),g=this._doRender(p,e,f);h||u&&"treemapZoomToNode"!==u&&"treemapRootToNode"!==u?g.renderFinally():this._doAnimation(p,g,e,f),this._resetController(n),this._renderBreadcrumb(e,n,l)}},_giveContainerGroup:function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new g,this._initEvents(t),this.group.add(t)),t.attr("position",[e.x,e.y]),t},_doRender:function(e,t,n){var i=t.getData().tree,o=this._oldTree,s=P(),l=P(),u=this._storage,c=[],h=r.curry(C,t,l,u,n,s,c);f(i.root?[i.root]:[],o&&o.root?[o.root]:[],e,i===o||!o,0);var d=p(u);return this._oldTree=i,this._storage=l,{lastsForAnimation:s,willDeleteEls:d,renderFinally:g};function f(e,t,n,i,o){function s(e){return e.getId()}function l(r,a){var s=null!=r?e[r]:null,l=null!=a?t[a]:null,u=h(s,l,n,o);u&&f(s&&s.viewChildren||[],l&&l.viewChildren||[],u,i,o+1)}i?(t=e,m(e,(function(e,t){!e.isRemoved()&&l(t,t)}))):new a(t,e,s,s).add(l).update(l).remove(r.curry(l,null)).execute()}function p(e){var t=P();return e&&m(e,(function(e,n){var i=t[n];m(e,(function(e){e&&(i.push(e),e.__tmWillDelete=1)}))})),t}function g(){m(d,(function(e){m(e,(function(e){e.parent&&e.parent.remove(e)}))})),m(c,(function(e){e.invisible=!0,e.dirty()}))}},_doAnimation:function(e,t,n,i){if(n.get("animation")){var o=n.get("animationDurationUpdate"),a=n.get("animationEasing"),s=d.createWrap();m(t.willDeleteEls,(function(e,t){m(e,(function(e,n){if(!e.invisible){var r,l=e.parent;if(i&&"drillDown"===i.direction)r=l===i.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,c=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,c=l.__tmNodeHeight/2),r="nodeGroup"===t?{position:[u,c],style:{opacity:0}}:{shape:{x:u,y:c,width:0,height:0},style:{opacity:0}}}r&&s.add(e,r,o,a)}}))})),m(this._storage,(function(e,n){m(e,(function(e,i){var l=t.lastsForAnimation[n][i],u={};l&&("nodeGroup"===n?l.old&&(u.position=e.position.slice(),e.attr("position",l.old)):(l.old&&(u.shape=r.extend({},e.shape),e.setShape(l.old)),l.fadein?(e.setStyle("opacity",0),u.style={opacity:1}):1!==e.style.opacity&&(u.style={opacity:1})),s.add(e,u,o,a))}))}),this),this._state="animating",s.done(p((function(){this._state="ready",t.renderFinally()}),this)).start()}},_resetController:function(e){var t=this._controller;t||(t=this._controller=new u(e.getZr()),t.enable(this.seriesModel.get("roam")),t.on("pan",p(this._onPan,this)),t.on("zoom",p(this._onZoom,this)));var n=new c(0,0,e.getWidth(),e.getHeight());t.setPointerChecker((function(e,t,i){return n.contain(t,i)}))},_clearController:function(){var e=this._controller;e&&(e.dispose(),e=null)},_onPan:function(e){if("animating"!==this._state&&(Math.abs(e.dx)>y||Math.abs(e.dy)>y)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},_onZoom:function(e){var t=e.originX,n=e.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var o=new c(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo;t-=a.x,n-=a.y;var s=h.create();h.translate(s,s,[-t,-n]),h.scale(s,s,[e.scale,e.scale]),h.translate(s,s,[t,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},_initEvents:function(e){e.on("click",(function(e){if("ready"===this._state){var t=this.seriesModel.get("nodeClick",!0);if(t){var n=this.findTarget(e.offsetX,e.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===t)this._zoomToNode(n);else if("link"===t){var r=i.hostTree.data.getItemModel(i.dataIndex),o=r.get("link",!0),a=r.get("target",!0)||"blank";o&&window.open(o,a)}}}}}),this)},_renderBreadcrumb:function(e,t,n){function i(t){"animating"!==this._state&&(s.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))}n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2),n||(n={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(e,t,n.node,p(i,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=P(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},_rootToNode:function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},findTarget:function(e,t){var n,i=this.seriesModel.getViewRoot();return i.eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(e,t),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n}});function P(){return{nodeGroup:[],background:[],content:[]}}function C(e,t,n,i,a,s,l,u,c,h){if(l){var d=l.getLayout();if(d&&d.isInView){var f=d.width,p=d.height,m=d.borderWidth,y=d.invisible,S=l.getRawIndex(),D=u&&u.getRawIndex(),P=l.viewChildren,C=d.upperHeight,k=P&&P.length,L=l.getModel("itemStyle"),E=l.getModel("emphasis.itemStyle"),R=W("nodeGroup",g);if(R){if(c.add(R),R.attr("position",[d.x||0,d.y||0]),R.__tmNodeWidth=f,R.__tmNodeHeight=p,d.isAboveViewRoot)return R;var z=W("background",v,h,M);if(z&&B(R,z,k&&d.upperHeight),!k){var N=W("content",v,h,I);N&&V(R,N)}return R}}}function B(t,n,i){n.dataIndex=l.dataIndex,n.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:f,height:p});var r=l.getVisual("borderColor",!0),a=E.get("borderColor");j(n,(function(){var e=T(L);e.fill=r;var t=A(E);if(t.fill=a,i){var s=f-2*m;F(e,t,r,s,C,{x:m,y:0,width:s,height:C})}else e.text=t.text=null;n.setStyle(e),o.setHoverStyle(n,t)})),t.add(n)}function V(t,n){n.dataIndex=l.dataIndex,n.seriesIndex=e.seriesIndex;var i=Math.max(f-2*m,0),r=Math.max(p-2*m,0);n.culling=!0,n.setShape({x:m,y:m,width:i,height:r});var a=l.getVisual("color",!0);j(n,(function(){var e=T(L);e.fill=a;var t=A(E);F(e,t,a,i,r),n.setStyle(e),o.setHoverStyle(n,t)})),t.add(n)}function j(e,t){y?!e.invisible&&s.push(e):(t(),e.__tmWillVisible||(e.invisible=!1))}function F(t,n,i,a,s,u){var c=l.getModel(),h=r.retrieve(e.getFormattedLabel(l.dataIndex,"normal",null,null,u?"upperLabel":"label"),c.get("name"));if(!u&&d.isLeafRoot){var f=e.get("drillDownIcon",!0);h=f?f+" "+h:h}var p=c.getModel(u?b:x),g=c.getModel(u?w:_),v=p.getShallow("show");o.setLabelStyle(t,n,p,g,{defaultText:v?h:null,autoColor:i,isRectText:!0}),u&&(t.textRect=r.clone(u)),t.truncate=v&&p.get("ellipsis")?{outerWidth:a,outerHeight:s,minChar:2}:null}function W(e,i,r,o){var s=null!=D&&n[e][D],l=a[e];return s?(n[e][D]=null,G(l,s,e)):y||(s=new i({z:O(r,o)}),s.__tmDepth=r,s.__tmStorageName=e,H(l,s,e)),t[e][S]=s}function G(e,t,n){var i=e[S]={};i.old="nodeGroup"===n?t.position.slice():r.extend({},t.shape)}function H(e,t,n){var r=e[S]={},o=l.parentNode;if(o&&(!i||"drillDown"===i.direction)){var s=0,u=0,c=a.background[o.getRawIndex()];!i&&c&&c.old&&(s=c.old.width,u=c.old.height),r.old="nodeGroup"===n?[0,u]:{x:s,y:u,width:0,height:0}}r.fadein="nodeGroup"!==n}}function O(e,t){var n=e*S+t;return(n-1)/n}e.exports=D},"6e18":function(e,t,n){var i=n("333f");n("ae06"),n("4e607");var r=n("cc66"),o=n("c816"),a=n("c26f");i.registerPreprocessor(r),i.registerVisual(o),i.registerLayout(a)},"6e42":function(e,t,n){var i=n("cbe1"),r=n("3804"),o=n("5c3e"),a=o.makeInner,s=a(),l=i.each;function u(e,t,n){if(!r.node){var i=t.getZr();s(i).records||(s(i).records={}),c(i,t);var o=s(i).records[e]||(s(i).records[e]={});o.handler=n}}function c(e,t){function n(n,i){e.on(n,(function(n){var r=p(t);l(s(e).records,(function(e){e&&i(e,n,r.dispatchAction)})),h(r.pendings,t)}))}s(e).initialized||(s(e).initialized=!0,n("click",i.curry(f,"click")),n("mousemove",i.curry(f,"mousemove")),n("globalout",d))}function h(e,t){var n,i=e.showTip.length,r=e.hideTip.length;i?n=e.showTip[i-1]:r&&(n=e.hideTip[r-1]),n&&(n.dispatchAction=null,t.dispatchAction(n))}function d(e,t,n){e.handler("leave",null,n)}function f(e,t,n,i){t.handler(e,n,i)}function p(e){var t={showTip:[],hideTip:[]},n=function(i){var r=t[i.type];r?r.push(i):(i.dispatchAction=n,e.dispatchAction(i))};return{dispatchAction:n,pendings:t}}function g(e,t){if(!r.node){var n=t.getZr(),i=(s(n).records||{})[e];i&&(s(n).records[e]=null)}}t.register=u,t.unregister=g},"6f01":function(e,t,n){"use strict";var i=n("291a"),r=n.n(i);r.a},"6f09":function(e,t,n){var i=n("cbe1");function r(e,t,n){if(e&&i.indexOf(t,e.type)>=0){var r=n.getData().tree.root,o=e.targetNode;if("string"===typeof o&&(o=r.getNodeById(o)),o&&r.contains(o))return{node:o};var a=e.targetNodeId;if(null!=a&&(o=r.getNodeById(a)))return{node:o}}}function o(e){var t=[];while(e)e=e.parentNode,e&&t.push(e);return t.reverse()}function a(e,t){var n=o(e);return i.indexOf(n,t)>=0}function s(e,t){var n=[];while(e){var i=e.dataIndex;n.push({name:e.name,dataIndex:i,value:t.getRawValue(i)}),e=e.parentNode}return n.reverse(),n}t.retrieveTargetInfo=r,t.getPathToRoot=o,t.aboveViewRoot=a,t.wrapTreePathInfo=s},"6f43":function(e,t,n){var i=n("cbe1"),r=n("2dda"),o=Math.PI;function a(e,t){t=t||{},i.defaults(t,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var n=new r.Rect({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4}),a=new r.Arc({shape:{startAngle:-o/2,endAngle:-o/2+.1,r:10},style:{stroke:t.color,lineCap:"round",lineWidth:5},zlevel:t.zlevel,z:10001}),s=new r.Rect({style:{fill:"none",text:t.text,textPosition:"right",textDistance:10,textFill:t.textColor},zlevel:t.zlevel,z:10001});a.animateShape(!0).when(1e3,{endAngle:3*o/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:3*o/2}).delay(300).start("circularInOut");var l=new r.Group;return l.add(a),l.add(s),l.add(n),l.resize=function(){var t=e.getWidth()/2,i=e.getHeight()/2;a.setShape({cx:t,cy:i});var r=a.shape.r;s.setShape({x:t-r,y:i-r,width:2*r,height:2*r}),n.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},l.resize(),l}e.exports=a},"6f57":function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("333f")),o=n("cbe1"),a=n("d473"),s=n("0e18"),l=n("55ba"),u=n("20b1"),c=n("f826");function h(e,t){var n=e.get("boundingCoords");if(null!=n){var i=n[0],r=n[1];isNaN(i[0])||isNaN(i[1])||isNaN(r[0])||isNaN(r[1])||this.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1])}var o,a=this.getBoundingRect(),u=e.get("layoutCenter"),c=e.get("layoutSize"),h=t.getWidth(),d=t.getHeight(),f=a.width/a.height*this.aspectScale,p=!1;if(u&&c&&(u=[l.parsePercent(u[0],h),l.parsePercent(u[1],d)],c=l.parsePercent(c,Math.min(h,d)),isNaN(u[0])||isNaN(u[1])||isNaN(c)||(p=!0)),p){var g={};f>1?(g.width=c,g.height=c/f):(g.height=c,g.width=c*f),g.y=u[1]-g.height/2,g.x=u[0]-g.width/2}else o=e.getBoxLayoutParams(),o.aspect=f,g=s.getLayoutRect(o,{width:h,height:d});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function d(e,t){o.each(t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}var f={dimensions:a.prototype.dimensions,create:function(e,t){var n=[];e.eachComponent("geo",(function(e,i){var r=e.get("map"),o=e.get("aspectScale"),s=!0,l=c.retrieveMap(r);l&&l[0]&&"svg"===l[0].type?(null==o&&(o=1),s=!1):null==o&&(o=.75);var u=new a(r+i,r,e.get("nameMap"),s);u.aspectScale=o,u.zoomLimit=e.get("scaleLimit"),n.push(u),d(u,e),e.coordinateSystem=u,u.model=e,u.resize=h,u.resize(e,t)})),e.eachSeries((function(e){var t=e.get("coordinateSystem");if("geo"===t){var i=e.get("geoIndex")||0;e.coordinateSystem=n[i]}}));var i={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();i[t]=i[t]||[],i[t].push(e)}})),o.each(i,(function(e,i){var r=o.map(e,(function(e){return e.get("nameMap")})),s=new a(i,i,o.mergeAll(r));s.zoomLimit=o.retrieve.apply(null,o.map(e,(function(e){return e.get("scaleLimit")}))),n.push(s),s.resize=h,s.aspectScale=e[0].get("aspectScale"),s.resize(e[0],t),o.each(e,(function(e){e.coordinateSystem=s,d(s,e)}))})),n},getFilledRegions:function(e,t,n){for(var i=(e||[]).slice(),r=o.createHashMap(),a=0;at+s&&a>i+s||ae+s&&o>n+s||o+t.start.y&&(f=f+"-"+t.end.y);var p=r.get("formatter"),g={start:t.start.y,end:t.end.y,nameMap:f},v=this._formatterLabel(p,g),m=new o.Text({z2:30});o.setTextStyle(m.style,r,{text:v}),m.attr(this._yearTextPositionControl(m,d[s],n,s,a)),i.add(m)}},_monthTextPositionControl:function(e,t,n,i,r){var o="left",a="top",s=e[0],l=e[1];return"horizontal"===n?(l+=r,t&&(o="center"),"start"===i&&(a="bottom")):(s+=r,t&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,textAlign:o,textVerticalAlign:a}},_renderMonthText:function(e,t,n){var i=e.getModel("monthLabel");if(i.get("show")){var a=i.get("nameMap"),s=i.get("margin"),u=i.get("position"),c=i.get("align"),h=[this._tlpoints,this._blpoints];r.isString(a)&&(a=l[a.toUpperCase()]||[]);var d="start"===u?0:1,f="horizontal"===t?0:1;s="start"===u?-s:s;for(var p="center"===c,g=0;g=0;a--)null==n[a]&&(delete r[t[a]],t.pop())}function p(e,t){var n=e.visual,r=[];i.isObject(n)?s(n,(function(e){r.push(e)})):null!=n&&r.push(n);var o={color:1,symbol:1};t||1!==r.length||o.hasOwnProperty(e.type)||(r[1]=r[0]),w(e,r)}function g(e){return{applyVisual:function(t,n,i){t=this.mapValueToVisual(t),i("color",e(n("color"),t))},_doMap:_([0,1])}}function v(e){var t=this.option.visual;return t[Math.round(a(e,[0,1],[0,t.length-1],!0))]||{}}function m(e){return function(t,n,i){i(e,this.mapValueToVisual(t))}}function y(e){var t=this.option.visual;return t[this.option.loop&&e!==u?e%t.length:e]}function x(){return this.option.visual[0]}function _(e){return{linear:function(t){return a(t,e,this.option.visual,!0)},category:y,piecewise:function(t,n){var i=b.call(this,n);return null==i&&(i=a(t,e,this.option.visual,!0)),i},fixed:x}}function b(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var i=c.findPieceIndex(e,n),r=n[i];if(r&&r.visual)return r.visual[this.type]}}function w(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=i.map(t,(function(e){return r.parse(e)}))),t}var S={linear:function(e){return a(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=c.findPieceIndex(e,t,!0);if(null!=n)return a(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?u:t},fixed:i.noop};function M(e,t,n){return e?t<=n:t=0;m--){var y=v[m],x=y.node,_=y.width,b=y.text;g>p.width&&(g-=_-c,_=c,b=null);var w=new i.Polygon({shape:{points:d(l,0,_,h,m===v.length-1,0===m)},style:o.defaults(n.getItemStyle(),{lineJoin:"bevel",text:b,textFill:a.getTextColor(),textFont:a.getFont()}),z:10,onclick:o.curry(s,x)});this.group.add(w),f(w,e,x),l+=_+u}},remove:function(){this.group.removeAll()}};var p=h;e.exports=p},"7a17":function(e,t,n){var i=n("cbe1"),r=n("efdc"),o=n("4620"),a=n("43d3"),s=a.enableClassManagement,l=a.parseClassType,u=n("5c3e"),c=u.makeInner,h=n("0e18"),d=n("08c7"),f=c(),p=r.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(e,t,n,i){r.call(this,e,t,n,i),this.uid=o.getUID("ec_cpt_model")},init:function(e,t,n,i){this.mergeDefaultAndTheme(e,n)},mergeDefaultAndTheme:function(e,t){var n=this.layoutMode,r=n?h.getLayoutParams(e):{},o=t.getTheme();i.merge(e,o.get(this.mainType)),i.merge(e,this.getDefaultOption()),n&&h.mergeLayoutParam(e,r,n)},mergeOption:function(e,t){i.merge(this.option,e,!0);var n=this.layoutMode;n&&h.mergeLayoutParam(this.option,e,n)},optionUpdated:function(e,t){},getDefaultOption:function(){var e=f(this);if(!e.defaultOption){var t=[],n=this.constructor;while(n){var r=n.prototype.defaultOption;r&&t.push(r),n=n.superClass}for(var o={},a=t.length-1;a>=0;a--)o=i.merge(o,t[a],!0);e.defaultOption=o}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});function g(e){var t=[];return i.each(p.getClassesByMainType(e),(function(e){t=t.concat(e.prototype.dependencies||[])})),t=i.map(t,(function(e){return l(e).main})),"dataset"!==e&&i.indexOf(t,"dataset")<=0&&t.unshift("dataset"),t}s(p,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(p),o.enableTopologicalTravel(p,g),i.mixin(p,d);var v=p;e.exports=v},"7ad8":function(e,t,n){var i=n("2dda"),r=n("0a20"),o=n("cbe1"),a=o.isObject;function s(e){this.group=new i.Group,this._symbolCtor=e||r}var l=s.prototype;function u(e,t,n,i){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function c(e){return null==e||a(e)||(e={isIgnore:e}),e||{}}function h(e){var t=e.hostModel;return{itemStyle:t.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:t.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label"),cursorStyle:t.get("cursor")}}l.updateData=function(e,t){t=c(t);var n=this.group,r=e.hostModel,o=this._data,a=this._symbolCtor,s=h(e);o||n.removeAll(),e.diff(o).add((function(i){var r=e.getItemLayout(i);if(u(e,r,i,t)){var o=new a(e,i,s);o.attr("position",r),e.setItemGraphicEl(i,o),n.add(o)}})).update((function(l,c){var h=o.getItemGraphicEl(c),d=e.getItemLayout(l);u(e,d,l,t)?(h?(h.updateData(e,l,s),i.updateProps(h,{position:d},r)):(h=new a(e,l),h.attr("position",d)),n.add(h),e.setItemGraphicEl(l,h)):n.remove(h)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&t.fadeOut((function(){n.remove(t)}))})).execute(),this._data=e},l.isPersistent=function(){return!0},l.updateLayout=function(){var e=this._data;e&&e.eachItemGraphicEl((function(t,n){var i=e.getItemLayout(n);t.attr("position",i)}))},l.incrementalPrepareUpdate=function(e){this._seriesScope=h(e),this._data=null,this.group.removeAll()},l.incrementalUpdate=function(e,t,n){function i(e){e.isGroup||(e.incremental=e.useHoverLayer=!0)}n=c(n);for(var r=e.start;r>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=o,r=s,o=l,i.push([s/n,l/n])}return i}function s(e){return o(e),i.map(i.filter(e.features,(function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0})),(function(e){var t=e.properties,n=e.geometry,o=n.coordinates,a=[];"Polygon"===n.type&&a.push({type:"polygon",exterior:o[0],interiors:o.slice(1)}),"MultiPolygon"===n.type&&i.each(o,(function(e){e[0]&&a.push({type:"polygon",exterior:e[0],interiors:e.slice(1)})}));var s=new r(t.name,a,t.cp);return s.properties=t,s}))}e.exports=s},"7d65":function(e,t,n){var i=n("2af1"),r=i.parseSVG,o=i.makeViewBoxTransform,a=n("0890"),s=n("ee78"),l=n("cbe1"),u=l.assert,c=l.createHashMap,h=n("1bb8"),d=n("5c3e"),f=d.makeInner,p=f(),g={load:function(e,t){var n=p(t).originRoot;if(n)return{root:n,boundingRect:p(t).boundingRect};var i=v(t);return p(t).originRoot=i.root,p(t).boundingRect=i.boundingRect,i},makeGraphic:function(e,t,n){var i=p(t),r=i.rootMap||(i.rootMap=c()),o=r.get(n);if(o)return o;var a=i.originRoot,s=i.boundingRect;return i.originRootHostKey?o=v(t,s).root:(i.originRootHostKey=n,o=a),r.set(n,o)},removeGraphic:function(e,t,n){var i=p(t),r=i.rootMap;r&&r.removeKey(n),n===i.originRootHostKey&&(i.originRootHostKey=null)}};function v(e,t){var n,i,l=e.svgXML;try{n=l&&r(l,{ignoreViewBox:!0,ignoreRootClip:!0})||{},i=n.root,u(null!=i)}catch(v){throw new Error("Invalid svg format\n"+v.message)}var c=n.width,d=n.height,f=n.viewBoxRect;if(t||(t=null==c||null==d?i.getBoundingRect():new h(0,0,0,0),null!=c&&(t.width=c),null!=d&&(t.height=d)),f){var p=o(f,t.width,t.height),g=i;i=new a,i.add(g),g.scale=p.scale,g.position=p.position}return i.setClipPath(new s({shape:t.plain()})),{root:i,boundingRect:t}}e.exports=g},"7ded":function(e,t){var n=["lineStyle","normal","opacity"],i={seriesType:"parallel",reset:function(e,t,i){var r=e.getModel("itemStyle"),o=e.getModel("lineStyle"),a=t.get("color"),s=o.get("color")||r.get("color")||a[e.seriesIndex%a.length],l=e.get("inactiveOpacity"),u=e.get("activeOpacity"),c=e.getModel("lineStyle").getLineStyle(),h=e.coordinateSystem,d=e.getData(),f={normal:c.opacity,active:u,inactive:l};function p(e,t){h.eachActiveState(t,(function(e,i){var r=f[e];if("normal"===e&&t.hasItemOption){var o=t.getItemModel(i).get(n,!0);null!=o&&(r=o)}t.setItemVisual(i,"opacity",r)}),e.start,e.end)}return d.setVisual("color",s),{progress:p}}};e.exports=i},"7e95":function(e,t,n){var i=n("cbe1"),r=n("7a17"),o=n("3a73"),a=n("5c3e"),s=r.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(e,t,n){this._data,this._names,this.mergeDefaultAndTheme(e,n),this._initData()},mergeOption:function(e){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(e){this.option.autoPlay=!!e},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,t=e.data||[],n=e.axisType,r=this._names=[];if("category"===n){var s=[];i.each(t,(function(e,t){var n,o=a.getDataItemValue(e);i.isObject(e)?(n=i.clone(e),n.value=t):n=t,s.push(n),i.isString(o)||null!=o&&!isNaN(o)||(o=""),r.push(o+"")})),t=s}var l={category:"ordinal",time:"time"}[n]||"number",u=this._data=new o([{name:"value",type:l}],this);u.initData(t,r)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;e.exports=l},"7e9d":function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("333f")),o=n("cbe1"),a=n("337b"),s=n("2dda"),l=["axisLine","axisTickLabel","axisName"],u=r.extendComponentView({type:"radar",render:function(e,t,n){var i=this.group;i.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},_buildAxes:function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes(),i=o.map(n,(function(e){var n=new a(e.model,{position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return n}));o.each(i,(function(e){o.each(l,e.add,e),this.group.add(e.getGroup())}),this)},_buildSplitLineAndArea:function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes();if(n.length){var i=e.get("shape"),r=e.getModel("splitLine"),a=e.getModel("splitArea"),l=r.getModel("lineStyle"),u=a.getModel("areaStyle"),c=r.get("show"),h=a.get("show"),d=l.get("color"),f=u.get("color");d=o.isArray(d)?d:[d],f=o.isArray(f)?f:[f];var p=[],g=[];if("circle"===i)for(var v=n[0].getTicksCoords(),m=t.cx,y=t.cy,x=0;x=0}function l(e,t){e=e.slice();var n=i.map(e,r.capitalFirst);t=(t||[]).slice();var o=i.map(t,r.capitalFirst);return function(r,a){i.each(e,(function(e,i){for(var s={name:e,capital:n[i]},l=0;l=0}function o(e,r){var o=!1;return t((function(t){i.each(n(e,t)||[],(function(e){r.records[t.name][e]&&(o=!0)}))})),o}function a(e,r){r.nodes.push(e),t((function(t){i.each(n(e,t)||[],(function(e){r.records[t.name][e]=!0}))}))}}t.isCoordSupported=s,t.createNameEach=l,t.eachAxisDim=u,t.createLinkedNodesFinder=c},"7fb6":function(e,t,n){var i=n("cbe1");function r(e){return this._axes[e]}var o=function(e){this._axes={},this._dimList=[],this.name=e||""};o.prototype={constructor:o,type:"cartesian",getAxis:function(e){return this._axes[e]},getAxes:function(){return i.map(this._dimList,r,this)},getAxesByScale:function(e){return e=e.toLowerCase(),i.filter(this.getAxes(),(function(t){return t.scale.type===e}))},addAxis:function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},dataToCoord:function(e){return this._dataCoordConvert(e,"dataToCoord")},coordToData:function(e){return this._dataCoordConvert(e,"coordToData")},_dataCoordConvert:function(e,t){for(var n=this._dimList,i=e instanceof Array?[]:{},r=0;r=0&&(this.delFromStorage(e),this._roots.splice(a,1),e instanceof o&&e.delChildrenFromStorage(this))}},addToStorage:function(e){return e&&(e.__storage=this,e.dirty(!1)),this},delFromStorage:function(e){return e&&(e.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;e.exports=u},"800f":function(e,t,n){var i=n("daf1"),r=n("5624"),o=n("cbe1"),a=o.each;function s(e){return parseInt(e,10)}function l(e,t){r.initVML(),this.root=e,this.storage=t;var n=document.createElement("div"),i=document.createElement("div");n.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",i.style.cssText="position:absolute;left:0;top:0;",e.appendChild(n),this._vmlRoot=i,this._vmlViewport=n,this.resize();var o=t.delFromStorage,a=t.addToStorage;t.delFromStorage=function(e){o.call(t,e),e&&e.onRemove&&e.onRemove(i)},t.addToStorage=function(e){e.onAdd&&e.onAdd(i),a.call(t,e)},this._firstPaint=!0}function u(e){return function(){i('In IE8.0 VML mode painter not support method "'+e+'"')}}l.prototype={constructor:l,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0,!0);this._paintList(e)},_paintList:function(e){for(var t=this._vmlRoot,n=0;na)l+=360*u;return[s,l]},coordToPoint:function(e){var t=e[0],n=e[1]/180*Math.PI,i=Math.cos(n)*t+this.cx,r=-Math.sin(n)*t+this.cy;return[i,r]},getArea:function(){var e=this.getAngleAxis(),t=this.getRadiusAxis(),n=t.getExtent().slice();n[0]>n[1]&&n.reverse();var i=e.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-i[0]*r,endAngle:-i[1]*r,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,i=t-this.cy,r=n*n+i*i,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}}};var a=o;e.exports=a},"824c":function(e,t,n){var i=n("cbe1"),r=n("3083"),o=n("3a73"),a=n("55ba"),s=n("2dda"),l=n("08c1e"),u=n("0167"),c=function(e,t,n,r){var o=l.dataTransform(e,r[0]),a=l.dataTransform(e,r[1]),s=i.retrieve,u=o.coord,c=a.coord;u[0]=s(u[0],-1/0),u[1]=s(u[1],-1/0),c[0]=s(c[0],1/0),c[1]=s(c[1],1/0);var h=i.mergeAll([{},o,a]);return h.coord=[o.coord,a.coord],h.x0=o.x,h.y0=o.y,h.x1=a.x,h.y1=a.y,h};function h(e){return!isNaN(e)&&!isFinite(e)}function d(e,t,n,i){var r=1-e;return h(t[r])&&h(n[r])}function f(e,t){var n=t.coord[0],i=t.coord[1];return!("cartesian2d"!==e.type||!n||!i||!d(1,n,i,e)&&!d(0,n,i,e))||(l.dataFilter(e,{coord:n,x:t.x0,y:t.y0})||l.dataFilter(e,{coord:i,x:t.x1,y:t.y1}))}function p(e,t,n,i,r){var o,s=i.coordinateSystem,l=e.getItemModel(t),u=a.parsePercent(l.get(n[0]),r.getWidth()),c=a.parsePercent(l.get(n[1]),r.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)o=i.getMarkerPosition(e.getValues(n,t));else{var d=e.get(n[0],t),f=e.get(n[1],t),p=[d,f];s.clampData&&s.clampData(p,p),o=s.dataToPoint(p,!0)}if("cartesian2d"===s.type){var g=s.getAxis("x"),v=s.getAxis("y");d=e.get(n[0],t),f=e.get(n[1],t);h(d)?o[0]=g.toGlobalCoord(g.getExtent()["x0"===n[0]?0:1]):h(f)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(u)||(o[0]=u),isNaN(c)||(o[1]=c)}else o=[u,c];return o}var g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];function v(e,t,n){var r,a,s=["x0","y0","x1","y1"];e?(r=i.map(e&&e.dimensions,(function(e){var n=t.getData(),r=n.getDimensionInfo(n.mapDimension(e))||{};return i.defaults({name:e},r)})),a=new o(i.map(s,(function(e,t){return{name:e,type:r[t%2].type}})),n)):(r=[{name:"value",type:"float"}],a=new o(r,n));var l=i.map(n.get("data"),i.curry(c,t,e,n));e&&(l=i.filter(l,i.curry(f,e)));var u=e?function(e,t,n,i){return e.coord[Math.floor(i/2)][i%2]}:function(e){return e.value};return a.initData(l,null,u),a.hasItemOption=!0,a}u.extend({type:"markArea",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markAreaModel;if(t){var r=t.getData();r.each((function(t){var o=i.map(g,(function(i){return p(r,t,i,e,n)}));r.setItemLayout(t,o);var a=r.getItemGraphicEl(t);a.setShape("points",o)}))}}),this)},renderSeries:function(e,t,n,o){var a=e.coordinateSystem,l=e.id,u=e.getData(),c=this.markerGroupMap,h=c.get(l)||c.set(l,{group:new s.Group});this.group.add(h.group),h.__keep=!0;var d=v(a,e,t);t.setData(d),d.each((function(t){d.setItemLayout(t,i.map(g,(function(n){return p(d,t,n,e,o)}))),d.setItemVisual(t,{color:u.getVisual("color")})})),d.diff(h.__data).add((function(e){var t=new s.Polygon({shape:{points:d.getItemLayout(e)}});d.setItemGraphicEl(e,t),h.group.add(t)})).update((function(e,n){var i=h.__data.getItemGraphicEl(n);s.updateProps(i,{shape:{points:d.getItemLayout(e)}},t,e),h.group.add(i),d.setItemGraphicEl(e,i)})).remove((function(e){var t=h.__data.getItemGraphicEl(e);h.group.remove(t)})).execute(),d.eachItemGraphicEl((function(e,n){var o=d.getItemModel(n),a=o.getModel("label"),l=o.getModel("emphasis.label"),u=d.getItemVisual(n,"color");e.useStyle(i.defaults(o.getModel("itemStyle").getItemStyle(),{fill:r.modifyAlpha(u,.4),stroke:u})),e.hoverStyle=o.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(e.style,e.hoverStyle,a,l,{labelFetcher:t,labelDataIndex:n,defaultText:d.getName(n)||"",isRectText:!0,autoColor:u}),s.setHoverStyle(e,{}),e.dataModel=t})),h.__data=d,h.group.silent=t.get("silent")||e.get("silent")}})},"82c6":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("e062"),a=i.extendComponentView({type:"brush",init:function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new o(t.getZr())).on("brush",r.bind(this._onBrush,this)).mount()},render:function(e){return this.model=e,s.apply(this,arguments)},updateTransform:s,updateView:s,dispose:function(){this._brushController.dispose()},_onBrush:function(e,t){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(e,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:r.clone(e),$from:n}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:r.clone(e),$from:n})}});function s(e,t,n,i){(!i||i.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())}e.exports=a},"82da":function(e,t){var n=function(e){this.colorStops=e||[]};n.prototype={constructor:n,addColorStop:function(e,t){this.colorStops.push({offset:e,color:t})}};var i=n;e.exports=i},"83af":function(e,t){var n={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function i(e,t){if("world"===e){var i=n[t.name];if(i){var r=t.center;r[0]=i[0],r[1]=i[1]}}}e.exports=i},"83ed":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("cf52"),a=n("efdc"),s=n("143f"),l=o.valueAxis;function u(e,t){return r.defaults({show:t},e)}var c=i.extendComponentModel({type:"radar",optionUpdated:function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),o=this.get("axisTick"),l=this.get("axisType"),u=this.get("axisLabel"),c=this.get("name"),h=this.get("name.show"),d=this.get("name.formatter"),f=this.get("nameGap"),p=this.get("triggerEvent"),g=r.map(this.get("indicator")||[],(function(g){null!=g.max&&g.max>0&&!g.min?g.min=0:null!=g.min&&g.min<0&&!g.max&&(g.max=0);var v=c;if(null!=g.color&&(v=r.defaults({color:g.color},c)),g=r.merge(r.clone(g),{boundaryGap:e,splitNumber:t,scale:n,axisLine:i,axisTick:o,axisType:l,axisLabel:u,name:g.text,nameLocation:"end",nameGap:f,nameTextStyle:v,triggerEvent:p},!1),h||(g.name=""),"string"===typeof d){var m=g.name;g.name=d.replace("{value}",null!=m?m:"")}else"function"===typeof d&&(g.name=d(g.name,g));var y=r.extend(new a(g,null,this.ecModel),s);return y.mainType="radar",y.componentIndex=this.componentIndex,y}),this);this.getIndicatorModels=function(){return g}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:r.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),axisType:"interval",splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}}),h=c;e.exports=h},8418:function(e,t,n){"use strict";var i=n("c04e"),r=n("9bf2"),o=n("5c6c");e.exports=function(e,t,n){var a=i(t);a in e?r.f(e,a,o(0,n)):e[a]=n}},"848a":function(e,t,n){var i=n("3804"),r=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function o(e){return i.browser.ie&&i.browser.version>=11?function(){var t,n=this.__clipPaths,i=this.style;if(n)for(var o=0;o=0;p--){var g=e[p];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,c)),h>=0){var v=g.data.getByRawIndex(g.stackResultDimension,h);if(d>=0&&v>0||d<=0&&v<0){d+=v,f=v;break}}}return i[0]=d,i[1]=f,i}));a.hostModel.setData(l),t.data=l}))}e.exports=a},"855e":function(e,t,n){var i=n("3e28"),r=i.extend({type:"dataZoom.select"});e.exports=r},"85b7":function(e,t,n){(function(t){e.exports=t()})((function(){var e=function(e){var t;return function(n){return t||e(t={exports:{},parent:n},t.exports),t.exports}},t=e((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scope=t.ActionName=void 0;var i=p(r),o=f(_n),a=p(Hn),s=p(Zn),l=p(li),u=p(Ti),c=p(qi),h=p(n({}));function d(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==g(e)&&"function"!==typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n["default"]=e,t&&t.set(e,n),n}function p(e){return e&&e.__esModule?e:{default:e}}function g(e){return g="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function v(e,t){return!t||"object"!==g(t)&&"function"!==typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t,n){return y="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=x(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}},y(e,t,n||e)}function x(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=_(e),null===e)break;return e}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}function b(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t){for(var n=0;n=0;e--){var i=n.interactions.list[e];i.interactable===this&&(i.stop(),n.fire("interactions:destroy",{interaction:i}),i.destroy(),n.interactions.list.length>2&&n.interactions.list.splice(e,1))}n.fire("interactable:unset",{interactable:this})}},{key:"_defaults",get:function(){return n.defaults}}]),t}(l["default"])}return I(e,[{key:"addListeners",value:function(e,t){this.listenerMaps.push({id:t,map:e})}},{key:"fire",value:function(e,t){for(var n=0;nthis.pointerMoveTolerance);var s={pointer:e,pointerIndex:this.getPointerIndex(e),event:t,type:"move",eventTarget:n,dx:i,dy:r,duplicate:o,interaction:this};o||(a.pointer.setCoordDeltas(this.coords.delta,this.coords.prev,this.coords.cur),a.pointer.setCoordVelocity(this.coords.velocity,this.coords.delta)),this._scopeFire("interactions:move",s),o||(this.interacting()&&(s.type=null,this.move(s)),this.pointerWasMoved&&a.pointer.copyCoords(this.coords.prev,this.coords.cur))}},{key:"move",value:function(e){e=a.extend({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},e||{}),e.phase=s.EventPhase.Move,this._doPhase(e)}},{key:"pointerUp",value:function(e,t,n,i){var r=this.getPointerIndex(e);-1===r&&(r=this.updatePointer(e,t,n,!1));var o=/cancel$/i.test(t.type)?"cancel":"up";this._scopeFire("interactions:".concat(o),{pointer:e,pointerIndex:r,event:t,eventTarget:n,type:o,curEventTarget:i,interaction:this}),this.simulation||this.end(t),this.pointerIsDown=!1,this.removePointer(e,t)}},{key:"documentBlur",value:function(e){this.end(e),this._scopeFire("interactions:blur",{event:e,type:"blur",interaction:this})}},{key:"end",value:function(e){var t;this._ending=!0,e=e||this._latestPointer.event,this.interacting()&&(t=this._doPhase({event:e,interaction:this,phase:s.EventPhase.End})),this._ending=!1,!0===t&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(e){var t=a.pointer.getPointerId(e);return"mouse"===this.pointerType||"pen"===this.pointerType?this.pointers.length-1:a.arr.findIndex(this.pointers,(function(e){return e.id===t}))}},{key:"getPointerInfo",value:function(e){return this.pointers[this.getPointerIndex(e)]}},{key:"updatePointer",value:function(e,t,n,i){var r=a.pointer.getPointerId(e),o=this.getPointerIndex(e),s=this.pointers[o];return i=!1!==i&&(i||/(down|start)$/i.test(t.type)),s?s.pointer=e:(s=new l["default"](r,e,t,null,null),o=this.pointers.length,this.pointers.push(s)),i&&(this.pointerIsDown=!0,this.interacting()||(a.pointer.setCoords(this.coords.start,this.pointers.map((function(e){return e.pointer})),this._now()),a.pointer.copyCoords(this.coords.cur,this.coords.start),a.pointer.copyCoords(this.coords.prev,this.coords.start),a.pointer.pointerExtend(this.downPointer,e),this.downEvent=t,s.downTime=this.coords.cur.timeStamp,s.downTarget=n,this.pointerWasMoved=!1)),this._updateLatestPointer(e,t,n),this._scopeFire("interactions:update-pointer",{pointer:e,event:t,eventTarget:n,down:i,pointerInfo:s,pointerIndex:o,interaction:this}),o}},{key:"removePointer",value:function(e,t){var n=this.getPointerIndex(e);if(-1!==n){var i=this.pointers[n];this._scopeFire("interactions:remove-pointer",{pointer:e,event:t,eventTarget:null,pointerIndex:n,pointerInfo:i,interaction:this}),this.pointers.splice(n,1)}}},{key:"_updateLatestPointer",value:function(e,t,n){this._latestPointer.pointer=e,this._latestPointer.event=t,this._latestPointer.eventTarget=n}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(e,t,n,i){var r=this.prepared.name;return new s["default"](this,e,r,t,this.element,null,n,i)}},{key:"_fireEvent",value:function(e){this.interactable.fire(e),(!this.prevEvent||e.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=e)}},{key:"_doPhase",value:function(e){var t=e.event,n=e.phase,i=e.preEnd,r=e.type,o=this._scopeFire("interactions:before-action-".concat(n),e);if(!1===o)return!1;var a=e.iEvent=this._createPreparedEvent(t,n,i,r),s=this.rect;if(s){var l=this.edges||this.prepared.edges||{left:!0,right:!0,top:!0,bottom:!0};l.top&&(s.top+=a.delta.y),l.bottom&&(s.bottom+=a.delta.y),l.left&&(s.left+=a.delta.x),l.right&&(s.right+=a.delta.x),s.width=s.right-s.left,s.height=s.bottom-s.top}return this._scopeFire("interactions:action-".concat(n),e),this._fireEvent(a),this._scopeFire("interactions:after-action-".concat(n),e),!0}},{key:"_now",value:function(){return Date.now()}}]),e}();n.Interaction=m;var y=m;n["default"]=y})),r={};Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=void 0;var o={init:l,document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function a(){}var s=o;function l(e){var t=e;o.document=t.document,o.DocumentFragment=t.DocumentFragment||a,o.SVGElement=t.SVGElement||a,o.SVGSVGElement=t.SVGSVGElement||a,o.SVGElementInstance=t.SVGElementInstance||a,o.Element=t.Element||a,o.HTMLElement=t.HTMLElement||o.Element,o.Event=t.Event,o.Touch=t.Touch||a,o.PointerEvent=t.PointerEvent||t.MSPointerEvent}r["default"]=s;var u={};function c(e,t){return-1!==e.indexOf(t)}function h(e,t){return e.splice(e.indexOf(t),1)}function d(e,t){for(var n=0;n=f&&(r=a,o=t)}else r=a,o=t}else r=a,o=t}return o}function de(e,t,n){while(te.element(e)){if(ue(e,t))return!0;if(e=le(e),e===n)return ue(e,t)}return!1}function fe(e){return e instanceof ee["default"].SVGElementInstance?e.correspondingUseElement:e}function pe(e){return e=e||ne["default"].window,{x:e.scrollX||e.document.documentElement.scrollLeft,y:e.scrollY||e.document.documentElement.scrollTop}}function ge(e){var t=e instanceof ee["default"].SVGElement?e.getBoundingClientRect():e.getClientRects()[0];return t&&{left:t.left,right:t.right,top:t.top,bottom:t.bottom,width:t.width||t.right-t.left,height:t.height||t.bottom-t.top}}function ve(e){var t=ge(e);if(!Q["default"].isIOS7&&t){var n=pe(ne["default"].getWindow(e));t.left+=n.x,t.right+=n.x,t.top+=n.y,t.bottom+=n.y}return t}function me(e){var t=[];while(e)t.push(e),e=le(e);return t}function ye(e){return!!te.string(e)&&(ee["default"].document.querySelector(e),!0)}var xe={};Object.defineProperty(xe,"__esModule",{value:!0}),xe["default"]=void 0;var _e=function(e,t){return Math.sqrt(e*e+t*t)};xe["default"]=_e;var be={};function we(e,t){for(var n in t){var i=we.prefixedPropREs,r=!1;for(var o in i)if(0===n.indexOf(o)&&i[o].test(n)){r=!0;break}r||"function"===typeof t[n]||(e[n]=t[n])}return e}Object.defineProperty(be,"__esModule",{value:!0}),be["default"]=void 0,we.prefixedPropREs={webkit:/(Movement[XY]|Radius[XY]|RotationAngle|Force)$/,moz:/(Pressure)$/};var Se=we;be["default"]=Se;var Me={};function Ie(e){return Ie="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ie(e)}Object.defineProperty(Me,"__esModule",{value:!0}),Me.copyCoords=Re,Me.setCoordDeltas=ze,Me.setCoordVelocity=Ne,Me.setZeroCoords=Be,Me.isNativePointer=Ve,Me.getXY=je,Me.getPageXY=Fe,Me.getClientXY=We,Me.getPointerId=Ge,Me.setCoords=He,Me.getTouchPair=Ue,Me.pointerAverage=Ye,Me.touchBBox=Ze,Me.touchDistance=Xe,Me.touchAngle=qe,Me.getPointerType=$e,Me.getEventTargets=Ke,Me.newCoords=Je,Me.coordsToEvent=Qe,Object.defineProperty(Me,"pointerExtend",{enumerable:!0,get:function(){return Oe["default"]}});var Ae=Ee(j),Te=Ee(r),De=Le(K),Pe=Ee(xe),Ce=Le(I),Oe=Ee(be);function ke(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return ke=function(){return e},e}function Le(e){if(e&&e.__esModule)return e;if(null===e||"object"!==Ie(e)&&"function"!==typeof e)return{default:e};var t=ke();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n["default"]=e,t&&t.set(e,n),n}function Ee(e){return e&&e.__esModule?e:{default:e}}function Re(e,t){e.page=e.page||{},e.page.x=t.page.x,e.page.y=t.page.y,e.client=e.client||{},e.client.x=t.client.x,e.client.y=t.client.y,e.timeStamp=t.timeStamp}function ze(e,t,n){e.page.x=n.page.x-t.page.x,e.page.y=n.page.y-t.page.y,e.client.x=n.client.x-t.client.x,e.client.y=n.client.y-t.client.y,e.timeStamp=n.timeStamp-t.timeStamp}function Ne(e,t){var n=Math.max(t.timeStamp/1e3,.001);e.page.x=t.page.x/n,e.page.y=t.page.y/n,e.client.x=t.client.x/n,e.client.y=t.client.y/n,e.timeStamp=n}function Be(e){e.page.x=0,e.page.y=0,e.client.x=0,e.client.y=0}function Ve(e){return e instanceof Te["default"].Event||e instanceof Te["default"].Touch}function je(e,t,n){return n=n||{},e=e||"page",n.x=t[e+"X"],n.y=t[e+"Y"],n}function Fe(e,t){return t=t||{x:0,y:0},Ae["default"].isOperaMobile&&Ve(e)?(je("screen",e,t),t.x+=window.scrollX,t.y+=window.scrollY):je("page",e,t),t}function We(e,t){return t=t||{},Ae["default"].isOperaMobile&&Ve(e)?je("screen",e,t):je("client",e,t),t}function Ge(e){return Ce.number(e.pointerId)?e.pointerId:e.identifier}function He(e,t,n){var i=t.length>1?Ye(t):t[0],r={};Fe(i,r),e.page.x=r.x,e.page.y=r.y,We(i,r),e.client.x=r.x,e.client.y=r.y,e.timeStamp=n}function Ue(e){var t=[];return Ce.array(e)?(t[0]=e[0],t[1]=e[1]):"touchend"===e.type?1===e.touches.length?(t[0]=e.touches[0],t[1]=e.changedTouches[0]):0===e.touches.length&&(t[0]=e.changedTouches[0],t[1]=e.changedTouches[1]):(t[0]=e.touches[0],t[1]=e.touches[1]),t}function Ye(e){for(var t={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},n=0;n1))return null;var t=Ue(e),n=Math.min(t[0].pageX,t[1].pageX),i=Math.min(t[0].pageY,t[1].pageY),r=Math.max(t[0].pageX,t[1].pageX),o=Math.max(t[0].pageY,t[1].pageY);return{x:n,y:i,left:n,top:i,right:r,bottom:o,width:r-n,height:o-i}}function Xe(e,t){var n=t+"X",i=t+"Y",r=Ue(e),o=r[0][n]-r[1][n],a=r[0][i]-r[1][i];return(0,Pe["default"])(o,a)}function qe(e,t){var n=t+"X",i=t+"Y",r=Ue(e),o=r[1][n]-r[0][n],a=r[1][i]-r[0][i],s=180*Math.atan2(a,o)/Math.PI;return s}function $e(e){return Ce.string(e.pointerType)?e.pointerType:Ce.number(e.pointerType)?[void 0,void 0,"touch","pen","mouse"][e.pointerType]:/touch/.test(e.type)||e instanceof Te["default"].Touch?"touch":"mouse"}function Ke(e){var t=Ce.func(e.composedPath)?e.composedPath():e.path;return[De.getActualElement(t?t[0]:e.target),De.getActualElement(e.currentTarget)]}function Je(){return{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}}function Qe(e){var t={coords:e,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons}};return t}var et={};function tt(e,t){for(var n in t)e[n]=t[n];var i=e;return i}Object.defineProperty(et,"__esModule",{value:!0}),et["default"]=tt;var nt={};function it(e){return it="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},it(e)}Object.defineProperty(nt,"__esModule",{value:!0}),nt.getStringOptionResult=ft,nt.resolveRectLike=pt,nt.rectToXY=gt,nt.xywhToTlbr=vt,nt.tlbrToXywh=mt;var rt=lt(et),ot=st(I);function at(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return at=function(){return e},e}function st(e){if(e&&e.__esModule)return e;if(null===e||"object"!==it(e)&&"function"!==typeof e)return{default:e};var t=at();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n["default"]=e,t&&t.set(e,n),n}function lt(e){return e&&e.__esModule?e:{default:e}}function ut(e){return dt(e)||ht(e)||ct()}function ct(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function ht(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function dt(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0;u--)if(c.selectors[u]===e&&c.contexts[u]===t)break;-1===u&&(u=c.selectors.length,c.selectors.push(e),c.contexts.push(t),c.listeners.push([])),c.listeners[u].push([i,!!o.capture,o.passive])}function qt(e,t,n,i,r){var o,a=Jt(r),s=Ht[n],l=!1;if(s)for(o=s.selectors.length-1;o>=0;o--)if(s.selectors[o]===e&&s.contexts[o]===t){for(var u=s.listeners[o],c=u.length-1;c>=0;c--){var h=Nt(u[c],3),d=h[0],f=h[1],p=h[2];if(d===i&&f===!!a.capture&&p===a.passive){u.splice(c,1),u.length||(s.selectors.splice(o,1),s.contexts.splice(o,1),s.listeners.splice(o,1),Zt(t,n,$t),Zt(t,n,Kt,!0),s.selectors.length||(Ht[n]=null)),l=!0;break}}if(l)break}}function $t(e,t){var n=Jt(t),i=new Qt(e),r=Ht[e.type],o=Ct.getEventTargets(e),a=Nt(o,1),s=a[0],l=s;while(Dt.element(l)){for(var u=0;u150)return null;var t=180*Math.atan2(e.prevEvent.velocityY,e.prevEvent.velocityX)/Math.PI,n=22.5;t<0&&(t+=360);var i=135-n<=t&&t<225+n,r=225-n<=t&&t<315+n,o=!i&&(315-n<=t||t<45+n),a=!r&&45-n<=t&&t<135+n;return{up:r,down:a,left:i,right:o,angle:t,speed:e.prevEvent.speed,velocity:{x:e.prevEvent.velocityX,y:e.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"pageX",get:function(){return this.page.x},set:function(e){this.page.x=e}},{key:"pageY",get:function(){return this.page.y},set:function(e){this.page.y=e}},{key:"clientX",get:function(){return this.client.x},set:function(e){this.client.x=e}},{key:"clientY",get:function(){return this.client.y},set:function(e){this.client.y=e}},{key:"dx",get:function(){return this.delta.x},set:function(e){this.delta.x=e}},{key:"dy",get:function(){return this.delta.y},set:function(e){this.delta.y=e}},{key:"velocityX",get:function(){return this.velocity.x},set:function(e){this.velocity.x=e}},{key:"velocityY",get:function(){return this.velocity.y},set:function(e){this.velocity.y=e}}]),t}(er["default"]);qi.InteractEvent=fr;var pr=fr;qi["default"]=pr;var gr={};function vr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(gr,"__esModule",{value:!0}),gr["default"]=gr.PointerInfo=void 0;var mr=function e(t,n,i,r,o){vr(this,e),this.id=t,this.pointer=n,this.event=i,this.downTime=r,this.downTarget=o};gr.PointerInfo=mr;var yr=mr;gr["default"]=yr;var xr={};function _r(e){return _r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_r(e)}Object.defineProperty(xr,"__esModule",{value:!0}),xr["default"]=void 0;var br=Sr(K);function wr(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return wr=function(){return e},e}function Sr(e){if(e&&e.__esModule)return e;if(null===e||"object"!==_r(e)&&"function"!==typeof e)return{default:e};var t=wr();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n["default"]=e,t&&t.set(e,n),n}var Mr={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(e){for(var t=0;t=2)continue;if(!o.interacting()&&t===o.pointerType)return o}return null}};function Ir(e,t){return e.pointers.some((function(e){var n=e.id;return n===t}))}var Ar=Mr;xr["default"]=Ar;var Tr={};function Dr(e){return Dr="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dr(e)}Object.defineProperty(Tr,"__esModule",{value:!0}),Tr["default"]=void 0;var Pr=t({}),Cr=Lr(u),Or=Lr(I);function kr(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return kr=function(){return e},e}function Lr(e){if(e&&e.__esModule)return e;if(null===e||"object"!==Dr(e)&&"function"!==typeof e)return{default:e};var t=kr();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n["default"]=e,t&&t.set(e,n),n}function Er(e){var t=e.actions,n=e.Interactable,i=e.defaults;e.addListeners({"interactions:before-action-move":Rr,"interactions:action-resume":Rr,"interactions:action-move":zr}),n.prototype.draggable=Br.draggable,t[Pr.ActionName.Drag]=Br,t.names.push(Pr.ActionName.Drag),Cr.merge(t.eventTypes,["dragstart","dragmove","draginertiastart","dragresume","dragend"]),t.methodDict.drag="draggable",i.actions.drag=Br.defaults}function Rr(e){var t=e.interaction;if("drag"===t.prepared.name){var n=t.prepared.axis;"x"===n?(t.coords.cur.page.y=t.coords.start.page.y,t.coords.cur.client.y=t.coords.start.client.y,t.coords.velocity.client.y=0,t.coords.velocity.page.y=0):"y"===n&&(t.coords.cur.page.x=t.coords.start.page.x,t.coords.cur.client.x=t.coords.start.client.x,t.coords.velocity.client.x=0,t.coords.velocity.page.x=0)}}function zr(e){var t=e.iEvent,n=e.interaction;if("drag"===n.prepared.name){var i=n.prepared.axis;if("x"===i||"y"===i){var r="x"===i?"y":"x";t.page[r]=n.coords.start.page[r],t.client[r]=n.coords.start.client[r],t.delta[r]=0}}}Pr.ActionName.Drag="drag";var Nr=function(e){return Or.object(e)?(this.options.drag.enabled=!1!==e.enabled,this.setPerAction("drag",e),this.setOnEvents("drag",e),/^(xy|x|y|start)$/.test(e.lockAxis)&&(this.options.drag.lockAxis=e.lockAxis),/^(xy|x|y)$/.test(e.startAxis)&&(this.options.drag.startAxis=e.startAxis),this):Or.bool(e)?(this.options.drag.enabled=e,this):this.options.drag},Br={id:"actions/drag",install:Er,draggable:Nr,beforeMove:Rr,move:zr,defaults:{startAxis:"xy",lockAxis:"xy"},checker:function(e,t,n){var i=n.options.drag;return i.enabled?{name:"drag",axis:"start"===i.lockAxis?i.startAxis:i.lockAxis}:null},getCursor:function(){return"move"}},Vr=Br;Tr["default"]=Vr;var jr={};Object.defineProperty(jr,"__esModule",{value:!0}),jr["default"]=void 0;var Fr=Ur(Wi),Wr=Hr(u);function Gr(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Gr=function(){return e},e}function Hr(e){if(e&&e.__esModule)return e;if(null===e||"object"!==Yr(e)&&"function"!==typeof e)return{default:e};var t=Gr();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n["default"]=e,t&&t.set(e,n),n}function Ur(e){return e&&e.__esModule?e:{default:e}}function Yr(e){return Yr="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yr(e)}function Zr(e){return $r(e)||qr(e)||Xr()}function Xr(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function qr(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function $r(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);ta.left&&c.xa.top&&c.y=a.left&&p<=a.right&&g>=a.top&&g<=a.bottom}if(f&&co.is.number(l)){var v=Math.max(0,Math.min(a.right,f.right)-Math.max(a.left,f.left))*Math.max(0,Math.min(a.bottom,f.bottom)-Math.max(a.top,f.top)),m=v/(f.width*f.height);s=m>=l}return e.options.drop.checker&&(s=e.options.drop.checker(t,n,s,e,o,i,r)),s}var To={id:"actions/drop",install:mo,listeners:{"interactions:before-action-start":function(e){var t=e.interaction;"drag"===t.prepared.name&&(t.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:null})},"interactions:after-action-start":function(e,t){var n=e.interaction,i=e.event,r=e.iEvent;if("drag"===n.prepared.name){var o=n.dropState;o.activeDrops=null,o.events=null,o.activeDrops=_o(t,n.element),o.events=wo(n,i,r),o.events.activate&&xo(o.activeDrops,o.events.activate)}},"interactions:action-move":Mo,"interactions:action-end":Mo,"interactions:after-action-move":function(e){var t=e.interaction;"drag"===t.prepared.name&&(So(t,t.dropState.events),t.dropState.events={})},"interactions:after-action-end":function(e){var t=e.interaction;"drag"===t.prepared.name&&So(t,t.dropState.events)},"interactions:stop":function(e){var t=e.interaction;if("drag"===t.prepared.name){var n=t.dropState;n&&(n.activeDrops=null,n.events=null,n.cur.dropzone=null,n.cur.element=null,n.prev.dropzone=null,n.prev.element=null,n.rejected=!1)}}},getActiveDrops:_o,getDrop:bo,getDropEvents:wo,fireDropEvents:So,defaults:{enabled:!1,accept:null,overlap:"pointer"}},Do=To;lo["default"]=Do;var Po={};function Co(e){return Co="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Co(e)}Object.defineProperty(Po,"__esModule",{value:!0}),Po["default"]=void 0;var Oo=zo(qi),ko=t({}),Lo=Ro(_n);function Eo(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Eo=function(){return e},e}function Ro(e){if(e&&e.__esModule)return e;if(null===e||"object"!==Co(e)&&"function"!==typeof e)return{default:e};var t=Eo();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n["default"]=e,t&&t.set(e,n),n}function zo(e){return e&&e.__esModule?e:{default:e}}function No(e){var t=e.actions,n=e.Interactable,i=e.defaults;n.prototype.gesturable=function(e){return Lo.is.object(e)?(this.options.gesture.enabled=!1!==e.enabled,this.setPerAction("gesture",e),this.setOnEvents("gesture",e),this):Lo.is.bool(e)?(this.options.gesture.enabled=e,this):this.options.gesture},t[ko.ActionName.Gesture]=Bo,t.names.push(ko.ActionName.Gesture),Lo.arr.merge(t.eventTypes,["gesturestart","gesturemove","gestureend"]),t.methodDict.gesture="gesturable",i.actions.gesture=Bo.defaults}ko.ActionName.Gesture="gesture";var Bo={id:"actions/gesture",install:No,listeners:{"interactions:action-start":Vo,"interactions:action-move":Vo,"interactions:action-end":Vo,"interactions:new":function(e){var t=e.interaction;t.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}}},defaults:{},checker:function(e,t,n,i,r){return r.pointers.length>=2?{name:"gesture"}:null},getCursor:function(){return""}};function Vo(e){var t=e.interaction,n=e.iEvent,i=e.event,r=e.phase;if("gesture"===t.prepared.name){var o=t.pointers.map((function(e){return e.pointer})),a="start"===r,s="end"===r,l=t.interactable.options.deltaSource;if(n.touches=[o[0],o[1]],a)n.distance=Lo.pointer.touchDistance(o,l),n.box=Lo.pointer.touchBBox(o),n.scale=1,n.ds=0,n.angle=Lo.pointer.touchAngle(o,l),n.da=0,t.gesture.startDistance=n.distance,t.gesture.startAngle=n.angle;else if(s||i instanceof Oo["default"]){var u=t.prevEvent;n.distance=u.distance,n.box=u.box,n.scale=u.scale,n.ds=0,n.angle=u.angle,n.da=0}else n.distance=Lo.pointer.touchDistance(o,l),n.box=Lo.pointer.touchBBox(o),n.scale=n.distance/t.gesture.startDistance,n.angle=Lo.pointer.touchAngle(o,l),n.ds=n.scale-t.gesture.scale,n.da=n.angle-t.gesture.angle;t.gesture.distance=n.distance,t.gesture.angle=n.angle,Lo.is.number(n.scale)&&n.scale!==1/0&&!isNaN(n.scale)&&(t.gesture.scale=n.scale)}}var jo=Bo;Po["default"]=jo;var Fo={};function Wo(e){return Wo="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wo(e)}Object.defineProperty(Fo,"__esModule",{value:!0}),Fo["default"]=void 0;var Go=t({}),Ho=$o(u),Uo=$o(K),Yo=Xo(et),Zo=$o(I);function Xo(e){return e&&e.__esModule?e:{default:e}}function qo(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return qo=function(){return e},e}function $o(e){if(e&&e.__esModule)return e;if(null===e||"object"!==Wo(e)&&"function"!==typeof e)return{default:e};var t=qo();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n["default"]=e,t&&t.set(e,n),n}function Ko(e){var t=e.actions,n=e.browser,i=e.Interactable,r=e.defaults;Jo.cursors=ta(n),Jo.defaultMargin=n.supportsTouch||n.supportsPointerEvent?20:10,i.prototype.resizable=function(t){return Qo(this,t,e)},t[Go.ActionName.Resize]=Jo,t.names.push(Go.ActionName.Resize),Ho.merge(t.eventTypes,["resizestart","resizemove","resizeinertiastart","resizeresume","resizeend"]),t.methodDict.resize="resizable",r.actions.resize=Jo.defaults}Go.ActionName.Resize="resize";var Jo={id:"actions/resize",install:Ko,listeners:{"interactions:new":function(e){var t=e.interaction;t.resizeAxes="xy"},"interactions:action-start":function(e){na(e),oa(e)},"interactions:action-move":function(e){ia(e),oa(e)},"interactions:action-end":ra},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},checker:function(e,t,n,i,r,o){if(!o)return null;var a=(0,Yo["default"])({},r.coords.cur.page),s=n.options;if(s.resize.enabled){var l=s.resize,u={left:!1,right:!1,top:!1,bottom:!1};if(Zo.object(l.edges)){for(var c in u)u[c]=ea(c,l.edges[c],a,r._latestPointer.eventTarget,i,o,l.margin||this.defaultMargin);if(u.left=u.left&&!u.right,u.top=u.top&&!u.bottom,u.left||u.right||u.top||u.bottom)return{name:"resize",edges:u}}else{var h="y"!==s.resize.axis&&a.x>o.right-this.defaultMargin,d="x"!==s.resize.axis&&a.y>o.bottom-this.defaultMargin;if(h||d)return{name:"resize",axes:(h?"x":"")+(d?"y":"")}}}return null},cursors:null,getCursor:function(e){var t=e.edges,n=e.axis,i=e.name,r=Jo.cursors,o=null;if(n)o=r[i+n];else if(t){for(var a="",s=["top","bottom","left","right"],l=0;l=0?o.left:o.right)+a;if("top"===e)return n.y<(l>=0?o.top:o.bottom)+a;if("right"===e)return n.x>(s>=0?o.right:o.left)-a;if("bottom"===e)return n.y>(l>=0?o.bottom:o.top)-a}return!!Zo.element(i)&&(Zo.element(t)?t===i:Uo.matchesUpTo(i,t,r))}function ta(e){return e.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}function na(e){var t=e.iEvent,n=e.interaction;if("resize"===n.prepared.name&&n.prepared.edges){var i=(0,Yo["default"])({},n.rect),r=n.interactable.options.resize;if(r.square||r.preserveAspectRatio){var o=(0,Yo["default"])({},n.prepared.edges);o.top=o.top||o.left&&!o.bottom,o.left=o.left||o.top&&!o.right,o.bottom=o.bottom||o.right&&!o.top,o.right=o.right||o.bottom&&!o.left,n.prepared._linkedEdges=o}else n.prepared._linkedEdges=null;r.preserveAspectRatio&&(n.resizeStartAspectRatio=i.width/i.height),n.resizeRects={start:i,current:{left:i.left,right:i.right,top:i.top,bottom:i.bottom},inverted:(0,Yo["default"])({},i),previous:(0,Yo["default"])({},i),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},t.edges=n.prepared.edges,t.rect=n.resizeRects.inverted,t.deltaRect=n.resizeRects.delta}}function ia(e){var t=e.iEvent,n=e.interaction;if("resize"===n.prepared.name&&n.prepared.edges){var i,r=n.interactable.options.resize,o=r.invert,a="reposition"===o||"negate"===o,s=n.prepared.edges,l=n.resizeRects.start,u=n.resizeRects.current,c=n.resizeRects.inverted,h=n.resizeRects.delta,d=(0,Yo["default"])(n.resizeRects.previous,c),f=s,p=(0,Yo["default"])({},t.delta);if(r.preserveAspectRatio||r.square){var g=r.preserveAspectRatio?n.resizeStartAspectRatio:1;s=n.prepared._linkedEdges,f.left&&f.bottom||f.right&&f.top?p.y=-p.x/g:f.left||f.right?p.y=p.x/g:(f.top||f.bottom)&&(p.x=p.y*g)}if(s.top&&(u.top+=p.y),s.bottom&&(u.bottom+=p.y),s.left&&(u.left+=p.x),s.right&&(u.right+=p.x),a){if((0,Yo["default"])(c,u),"reposition"===o)c.top>c.bottom&&(i=c.top,c.top=c.bottom,c.bottom=i),c.left>c.right&&(i=c.left,c.left=c.right,c.right=i)}else c.top=Math.min(u.top,l.bottom),c.bottom=Math.max(u.bottom,l.top),c.left=Math.min(u.left,l.right),c.right=Math.max(u.right,l.left);for(var v in c.width=c.right-c.left,c.height=c.bottom-c.top,c)h[v]=c[v]-d[v];t.edges=n.prepared.edges,t.rect=c,t.deltaRect=h}}function ra(e){var t=e.iEvent,n=e.interaction;"resize"===n.prepared.name&&n.prepared.edges&&(t.edges=n.prepared.edges,t.rect=n.resizeRects.inverted,t.deltaRect=n.resizeRects.delta)}function oa(e){var t=e.iEvent,n=e.interaction;if(n.prepared.name===Go.ActionName.Resize&&n.resizeAxes){var i=n.interactable.options;i.resize.square?("y"===n.resizeAxes?t.delta.x=t.delta.y:t.delta.y=t.delta.x,t.axes="xy"):(t.axes=n.resizeAxes,"x"===n.resizeAxes?t.delta.y=0:"y"===n.resizeAxes&&(t.delta.x=0))}}var aa=Jo;Fo["default"]=aa;var sa={};Object.defineProperty(sa,"__esModule",{value:!0}),sa.install=fa,Object.defineProperty(sa,"drag",{enumerable:!0,get:function(){return la["default"]}}),Object.defineProperty(sa,"drop",{enumerable:!0,get:function(){return ua["default"]}}),Object.defineProperty(sa,"gesture",{enumerable:!0,get:function(){return ca["default"]}}),Object.defineProperty(sa,"resize",{enumerable:!0,get:function(){return ha["default"]}}),sa.id=void 0;var la=da(Tr),ua=da(lo),ca=da(Po),ha=da(Fo);function da(e){return e&&e.__esModule?e:{default:e}}function fa(e){e.usePlugin(ca["default"]),e.usePlugin(ha["default"]),e.usePlugin(la["default"]),e.usePlugin(ua["default"])}var pa="actions";sa.id=pa;var ga={};function va(e){return va="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},va(e)}Object.defineProperty(ga,"__esModule",{value:!0}),ga.getContainer=Ia,ga.getScroll=Aa,ga.getScrollSize=Ta,ga.getScrollSizeDelta=Da,ga["default"]=void 0;var ma=wa(K),ya=wa(I),xa=_a(pn);function _a(e){return e&&e.__esModule?e:{default:e}}function ba(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return ba=function(){return e},e}function wa(e){if(e&&e.__esModule)return e;if(null===e||"object"!==va(e)&&"function"!==typeof e)return{default:e};var t=ba();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n["default"]=e,t&&t.set(e,n),n}function Sa(e){var t=e.defaults,n=e.actions;e.autoScroll=Ma,Ma.now=function(){return e.now()},n.eventTypes.push("autoscroll"),t.perAction.autoScroll=Ma.defaults}var Ma={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:null,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function(e){Ma.isScrolling=!0,xa["default"].cancel(Ma.i),e.autoScroll=Ma,Ma.interaction=e,Ma.prevTime=Ma.now(),Ma.i=xa["default"].request(Ma.scroll)},stop:function(){Ma.isScrolling=!1,Ma.interaction&&(Ma.interaction.autoScroll=null),xa["default"].cancel(Ma.i)},scroll:function(){var e=Ma.interaction,t=e.interactable,n=e.element,i=t.options[Ma.interaction.prepared.name].autoScroll,r=Ia(i.container,t,n),o=Ma.now(),a=(o-Ma.prevTime)/1e3,s=i.speed*a;if(s>=1){var l={x:Ma.x*s,y:Ma.y*s};if(l.x||l.y){var u=Aa(r);ya.window(r)?r.scrollBy(l.x,l.y):r&&(r.scrollLeft+=l.x,r.scrollTop+=l.y);var c=Aa(r),h={x:c.x-u.x,y:c.y-u.y};(h.x||h.y)&&t.fire({type:"autoscroll",target:n,interactable:t,delta:h,interaction:e,container:r})}Ma.prevTime=o}Ma.isScrolling&&(xa["default"].cancel(Ma.i),Ma.i=xa["default"].request(Ma.scroll))},check:function(e,t){var n=e.options;return n[t].autoScroll&&n[t].autoScroll.enabled},onInteractionMove:function(e){var t=e.interaction,n=e.pointer;if(t.interacting()&&Ma.check(t.interactable,t.prepared.name))if(t.simulation)Ma.x=Ma.y=0;else{var i,r,o,a,s=t.interactable,l=t.element,u=s.options[t.prepared.name].autoScroll,c=Ia(u.container,s,l);if(ya.window(c))a=n.clientXc.innerWidth-Ma.margin,o=n.clientY>c.innerHeight-Ma.margin;else{var h=ma.getElementClientRect(c);a=n.clientXh.right-Ma.margin,o=n.clientY>h.bottom-Ma.margin}Ma.x=r?1:a?-1:0,Ma.y=o?1:i?-1:0,Ma.isScrolling||(Ma.margin=u.margin,Ma.speed=u.speed,Ma.start(t))}}};function Ia(e,t,n){return(ya.string(e)?(0,nt.getStringOptionResult)(e,t,n):e)||(0,y.getWindow)(n)}function Aa(e){return ya.window(e)&&(e=window.document.body),{x:e.scrollLeft,y:e.scrollTop}}function Ta(e){return ya.window(e)&&(e=window.document.body),{x:e.scrollWidth,y:e.scrollHeight}}function Da(e,t){var n=e.interaction,i=e.element,r=n&&n.interactable.options[n.prepared.name].autoScroll;if(!r||!r.enabled)return t(),{x:0,y:0};var o=Ia(r.container,n.interactable,i),a=Aa(o);t();var s=Aa(o);return{x:s.x-a.x,y:s.y-a.y}}var Pa={id:"auto-scroll",install:Sa,listeners:{"interactions:new":function(e){var t=e.interaction;t.autoScroll=null},"interactions:destroy":function(e){var t=e.interaction;t.autoScroll=null,Ma.stop(),Ma.interaction&&(Ma.interaction=null)},"interactions:stop":Ma.stop,"interactions:action-move":function(e){return Ma.onInteractionMove(e)}}};ga["default"]=Pa;var Ca={};function Oa(e){return Oa="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oa(e)}Object.defineProperty(Ca,"__esModule",{value:!0}),Ca["default"]=void 0;var ka=Ea(I);function La(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return La=function(){return e},e}function Ea(e){if(e&&e.__esModule)return e;if(null===e||"object"!==Oa(e)&&"function"!==typeof e)return{default:e};var t=La();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n["default"]=e,t&&t.set(e,n),n}function Ra(e){var t=e.Interactable,n=e.actions;t.prototype.getAction=za,t.prototype.ignoreFrom=(0,_n.warnOnce)((function(e){return this._backCompatOption("ignoreFrom",e)}),"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),t.prototype.allowFrom=(0,_n.warnOnce)((function(e){return this._backCompatOption("allowFrom",e)}),"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),t.prototype.actionChecker=Va,t.prototype.styleCursor=Ba,t.prototype.defaultActionChecker=function(e,t,i,r){return Na(this,e,t,i,r,n)}}function za(e,t,n,i){var r=this.defaultActionChecker(e,t,n,i);return this.options.actionChecker?this.options.actionChecker(e,t,r,this,i,n):r}function Na(e,t,n,i,r,o){for(var a=e.getRect(r),s=n.buttons||{0:1,1:4,3:8,4:16}[n.button],l=null,u=0;u=s)return!1;if(f.interactable===e){if(u+=p===n.name?1:0,u>=o)return!1;if(f.element===t&&(c++,p===n.name&&c>=a))return!1}}}return s>0}function rs(e,t){return Ga.is.number(e)?(t.autoStart.maxInteractions=e,this):t.autoStart.maxInteractions}function os(e,t,n){n.autoStart.cursorElement&&(n.autoStart.cursorElement.style.cursor=""),e.ownerDocument.documentElement.style.cursor=t,e.style.cursor=t,n.autoStart.cursorElement=t?e:null}function as(e,t){var n=e.interactable,i=e.element,r=e.prepared;if("mouse"===e.pointerType&&n&&n.options.styleCursor){var o="";if(r.name){var a=n.options[r.name].cursorChecker;o=Ga.is.func(a)?a(r,n,i,e._interacting):t.actions[r.name].getCursor(r)}os(e.element,o||"",t)}}var ss={id:"auto-start/base",install:Xa,listeners:{"interactions:down":qa,"interactions:move":function(e,t){$a(e,t),Ka(e,t)},"interactions:stop":Ja},before:"ations",maxInteractions:rs,withinInteractionLimit:is,validateAction:Qa};Fa["default"]=ss;var ls={};function us(e){return us="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},us(e)}Object.defineProperty(ls,"__esModule",{value:!0}),ls["default"]=void 0;var cs=t({}),hs=gs(I),ds=fs(Fa);function fs(e){return e&&e.__esModule?e:{default:e}}function ps(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return ps=function(){return e},e}function gs(e){if(e&&e.__esModule)return e;if(null===e||"object"!==us(e)&&"function"!==typeof e)return{default:e};var t=ps();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n["default"]=e,t&&t.set(e,n),n}function vs(e,t){var n=e.interaction,i=e.eventTarget,r=e.dx,o=e.dy;if("drag"===n.prepared.name){var a=Math.abs(r),s=Math.abs(o),l=n.interactable.options.drag,u=l.startAxis,c=a>s?"x":a0&&(t.autoStartHoldTimer=setTimeout((function(){t.start(t.prepared,t.interactable,t.element)}),n))},"interactions:move":function(e){var t=e.interaction,n=e.duplicate;t.pointerWasMoved&&!n&&clearTimeout(t.autoStartHoldTimer)},"autoStart:before-start":function(e){var t=e.interaction,n=Ss(t);n>0&&(t.prepared.name=null)}},getHoldDuration:Ss};xs["default"]=Ms;var Is={};Object.defineProperty(Is,"__esModule",{value:!0}),Is.install=Cs,Object.defineProperty(Is,"autoStart",{enumerable:!0,get:function(){return As["default"]}}),Object.defineProperty(Is,"dragAxis",{enumerable:!0,get:function(){return Ts["default"]}}),Object.defineProperty(Is,"hold",{enumerable:!0,get:function(){return Ds["default"]}}),Is.id=void 0;var As=Ps(Fa),Ts=Ps(ls),Ds=Ps(xs);function Ps(e){return e&&e.__esModule?e:{default:e}}function Cs(e){e.usePlugin(As["default"]),e.usePlugin(Ds["default"]),e.usePlugin(Ts["default"])}var Os="auto-start";Is.id=Os;var ks={};function Ls(e){return Ls="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ls(e)}Object.defineProperty(ks,"__esModule",{value:!0}),ks.install=Ws,ks["default"]=void 0;var Es=Bs(It),Rs=Ns(I);function zs(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return zs=function(){return e},e}function Ns(e){if(e&&e.__esModule)return e;if(null===e||"object"!==Ls(e)&&"function"!==typeof e)return{default:e};var t=zs();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n["default"]=e,t&&t.set(e,n),n}function Bs(e){return e&&e.__esModule?e:{default:e}}function Vs(e){return/^(always|never|auto)$/.test(e)?(this.options.preventDefault=e,this):Rs.bool(e)?(this.options.preventDefault=e?"always":"never",this):this.options.preventDefault}function js(e,t,n){var i=e.options.preventDefault;if("never"!==i)if("always"!==i){if(Es["default"].supportsPassive&&/^touch(start|move)$/.test(n.type)){var r=(0,y.getWindow)(n.target).document,o=t.getDocOptions(r);if(!o||!o.events||!1!==o.events.passive)return}/^(mouse|pointer|touch)*(down|start)/i.test(n.type)||Rs.element(n.target)&&(0,K.matchesSelector)(n.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||n.preventDefault()}else n.preventDefault()}function Fs(e){var t=e.interaction,n=e.event;t.interactable&&t.interactable.checkAndPreventDefault(n)}function Ws(e){var t=e.Interactable;t.prototype.preventDefault=Vs,t.prototype.checkAndPreventDefault=function(t){return js(this,e,t)},e.interactions.docEvents.push({type:"dragstart",listener:function(t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.logger,i=e.Interactable,r=e.defaults;e.logger=n||console,r.base.devTools={ignore:{}},i.prototype.devTools=function(e){return e?((0,Xs["default"])(this.options.devTools,e),this):this.options.devTools}}var ll=[{name:"touchAction",perform:function(e){var t=e.element;return!cl(t,"touchAction",/pan-|pinch|none/)},getInfo:function(e){var t=e.element;return[t,ol.touchAction]},text:'Consider adding CSS "touch-action: none" to this element\n'},{name:"boxSizing",perform:function(e){var t=e.element;return"resize"===e.prepared.name&&t instanceof Zs["default"].HTMLElement&&!ul(t,"boxSizing",/border-box/)},text:'Consider adding CSS "box-sizing: border-box" to this resizable element',getInfo:function(e){var t=e.element;return[t,ol.boxSizing]}},{name:"noListeners",perform:function(e){var t=e.prepared.name,n=e.interactable.events.types["".concat(t,"move")]||[];return!n.length},getInfo:function(e){return[e.prepared.name,e.interactable]},text:"There are no listeners set for this action"}];function ul(e,t,n){return n.test(e.style[t]||$s["default"].window.getComputedStyle(e)[t])}function cl(e,t,n){var i=e;while(qs.element(i)){if(ul(i,t,n))return!0;i=(0,K.parentNode)(i)}return!1}var hl="dev-tools",dl=al?{id:hl,install:function(){}}:{id:hl,install:sl,listeners:{"interactions:action-start":function(e,t){for(var n=e.interaction,i=0;is.minSpeed&&c>s.endSpeed,p={interaction:n,interactable:n.interactable,element:n.element,rect:n.rect,pageCoords:n.coords.cur.page,states:d&&n.modifiers.states.map((function(e){return Bl.extend({},e)})),preEnd:!0,prevCoords:null,requireEndOnly:null,phase:qi.EventPhase.InertiaStart};return d&&!f&&(p.prevCoords=n.modifiers.result?n.modifiers.result.coords:n.prevEvent.page,p.requireEndOnly=!1,a=Nl["default"].setAll(p),a.changed&&(h=!0)),f||h?(Bl.pointer.copyCoords(o.upCoords,n.coords.cur),(0,Nl.setCoords)(p),n.pointers[0].pointer=o.startEvent=new t.InteractEvent(n,i,n.prepared.name,qi.EventPhase.InertiaStart,n.element),(0,Nl.restoreCoords)(p),o.t0=l,o.active=!0,o.allowResume=s.allowResume,n.simulation=o,n.interactable.fire(o.startEvent),f?(o.vx0=n.coords.velocity.client.x,o.vy0=n.coords.velocity.client.y,o.v0=c,Zl(n,o),Bl.extend(p.pageCoords,n.coords.cur.page),p.pageCoords.x+=o.xe,p.pageCoords.y+=o.ye,p.prevCoords=null,p.requireEndOnly=!0,a=Nl["default"].setAll(p),o.modifiedXe+=a.delta.x,o.modifiedYe+=a.delta.y,o.timeout=Vl["default"].request((function(){return Xl(n)}))):(o.smoothEnd=!0,o.xe=a.delta.x,o.ye=a.delta.y,o.sx=o.sy=0,o.timeout=Vl["default"].request((function(){return ql(n)}))),!1):null}function Yl(e){var t=e.interaction,n=t.inertia;n.active&&(Vl["default"].cancel(n.timeout),n.active=!1,t.simulation=null)}function Zl(e,t){var n=Kl(e),i=n.resistance,r=-Math.log(n.endSpeed/t.v0)/i;t.x0=e.prevEvent.page.x,t.y0=e.prevEvent.page.y,t.t0=t.startEvent.timeStamp/1e3,t.sx=t.sy=0,t.modifiedXe=t.xe=(t.vx0-r)/i,t.modifiedYe=t.ye=(t.vy0-r)/i,t.te=r,t.lambda_v0=i/t.v0,t.one_ve_v0=1-n.endSpeed/t.v0}function Xl(e){$l(e),Bl.pointer.setCoordDeltas(e.coords.delta,e.coords.prev,e.coords.cur),Bl.pointer.setCoordVelocity(e.coords.velocity,e.coords.delta);var t=e.inertia,n=Kl(e),i=n.resistance,r=e._now()/1e3-t.t0;if(r0?1:a<0?-1:0}function x(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function _(e,t,n,i,o,a,s,l,c,h){var d=c.valueDim,f=c.categoryDim,p=Math.abs(n[f.wh]),g=e.getItemVisual(t,"symbolSize");r.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[f.index]=u(g[f.index],p),g[d.index]=u(g[d.index],i?p:Math.abs(a)),h.symbolSize=g;var v=h.symbolScale=[g[0]/l,g[1]/l];v[d.index]*=(c.isHorizontal?-1:1)*s}function b(e,t,n,i,r){var o=e.get(f)||0;o&&(g.attr({scale:t.slice(),rotation:n}),g.updateTransform(),o/=g.getLineScale(),o*=t[i.valueDim.index]),r.valueLineWidth=o}function w(e,t,n,i,o,a,s,l,h,d,f,p){var g=f.categoryDim,v=f.valueDim,m=p.pxSign,y=Math.max(t[v.index]+l,0),x=y;if(i){var _=Math.abs(h),b=r.retrieve(e.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=u(b,t[v.index]);var S=Math.max(y+2*b,0),M=w?0:2*b,I=c(i),A=I?i:V((_+M)/S),T=_-A*y;b=T/2/(w?A:A-1),S=y+2*b,M=w?0:2*b,I||"fixed"===i||(A=d?V((Math.abs(d)+M)/S):0),x=A*S-M,p.repeatTimes=A,p.symbolMargin=b}var D=m*(x/2),P=p.pathPosition=[];P[g.index]=n[g.wh]/2,P[v.index]="start"===s?D:"end"===s?h-D:h/2,a&&(P[0]+=a[0],P[1]+=a[1]);var C=p.bundlePosition=[];C[g.index]=n[g.xy],C[v.index]=n[v.xy];var O=p.barRectShape=r.extend({},n);O[v.wh]=m*Math.max(Math.abs(n[v.wh]),Math.abs(P[v.index]+D)),O[g.wh]=n[g.wh];var k=p.clipShape={};k[g.xy]=-n[g.xy],k[g.wh]=f.ecSize[g.wh],k[v.xy]=0,k[v.wh]=n[v.wh]}function S(e){var t=e.symbolPatternSize,n=s(e.symbolType,-t/2,-t/2,t,t,e.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function M(e,t,n,i){var r=e.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=t.valueDim,u=n.repeatTimes||0,c=0,h=o[t.valueDim.index]+a+2*n.symbolMargin;for(z(e,(function(e){e.__pictorialAnimationIndex=c,e.__pictorialRepeatTimes=u,c0:i<0)&&(r=u-1-e),t[l.index]=h*(r-u/2+.5)+s[l.index],{position:t,scale:n.symbolScale.slice(),rotation:n.rotation}}function g(){z(e,(function(e){e.trigger("emphasis")}))}function v(){z(e,(function(e){e.trigger("normal")}))}}function I(e,t,n,i){var r=e.__pictorialBundle,o=e.__pictorialMainPath;function a(){this.trigger("emphasis")}function s(){this.trigger("normal")}o?N(o,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(o=e.__pictorialMainPath=S(n),r.add(o),N(o,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),o.on("mouseover",a).on("mouseout",s)),O(o,n)}function A(e,t,n){var i=r.extend({},t.barRectShape),a=e.__pictorialBarRect;a?N(a,null,{shape:i},t,n):(a=e.__pictorialBarRect=new o.Rect({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),e.add(a))}function T(e,t,n,i){if(n.symbolClip){var a=e.__pictorialClipPath,s=r.extend({},n.clipShape),l=t.valueDim,u=n.animationModel,c=n.dataIndex;if(a)o.updateProps(a,{shape:s},u,c);else{s[l.wh]=0,a=new o.Rect({shape:s}),e.__pictorialBundle.setClipPath(a),e.__pictorialClipPath=a;var h={};h[l.wh]=n.clipShape[l.wh],o[i?"updateProps":"initProps"](a,{shape:h},u,c)}}}function D(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=P,n.isAnimationEnabled=C,n}function P(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function C(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function O(e,t){e.off("emphasis").off("normal");var n=t.symbolScale.slice();t.hoverAnimation&&e.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function k(e,t,n,i){var r=new o.Group,a=new o.Group;return r.add(a),r.__pictorialBundle=a,a.attr("position",n.bundlePosition.slice()),n.symbolRepeat?M(r,t,n):I(r,t,n),A(r,n,i),T(r,t,n,i),r.__pictorialShapeStr=R(e,n),r.__pictorialSymbolMeta=n,r}function L(e,t,n){var i=n.animationModel,r=n.dataIndex,a=e.__pictorialBundle;o.updateProps(a,{position:n.bundlePosition.slice()},i,r),n.symbolRepeat?M(e,t,n,!0):I(e,t,n,!0),A(e,n,!0),T(e,t,n,!0)}function E(e,t,n,i){var a=i.__pictorialBarRect;a&&(a.style.text=null);var s=[];z(i,(function(e){s.push(e)})),i.__pictorialMainPath&&s.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),r.each(s,(function(e){o.updateProps(e,{scale:[0,0]},n,t,(function(){i.parent&&i.parent.remove(i)}))})),e.setItemGraphicEl(t,null)}function R(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function z(e,t,n){r.each(e.__pictorialBundle.children(),(function(i){i!==e.__pictorialBarRect&&t.call(n,i)}))}function N(e,t,n,i,r,a){t&&e.attr(t),i.symbolClip&&!r?n&&e.attr(n):n&&o[r?"updateProps":"initProps"](e,n,i.animationModel,i.dataIndex,a)}function B(e,t,n){var i=n.color,a=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),c=s.getShallow("cursor");z(e,(function(e){e.setColor(i),e.setStyle(r.defaults({fill:i,opacity:n.opacity},l)),o.setHoverStyle(e,u),c&&(e.cursor=c),e.z2=n.z2}));var h={},f=t.valueDim.posDesc[+(n.boundingLength>0)],p=e.__pictorialBarRect;d(p.style,h,s,i,t.seriesModel,a,f),o.setHoverStyle(p,h)}function V(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var j=v;e.exports=j},"88d9":function(e,t,n){var i=n("cbe1"),r=i.each,o=i.createHashMap,a=n("4790"),s=n("9bc4"),l=a.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(e,t){var n=this.getSource();return u(n,this),s(n,this)},getRawIndicesByActiveState:function(e){var t=this.coordinateSystem,n=this.getData(),i=[];return t.eachActiveState(n,(function(t,r){e===t&&i.push(n.getRawIndex(r))})),i},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function u(e,t){if(!e.encodeDefine){var n=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(n){var i=e.encodeDefine=o();r(n.dimensions,(function(e){var t=c(e);i.set(e,t)}))}}}function c(e){return+e.replace("dim","")}e.exports=l},8911:function(e,t,n){var i=n("cbe1"),r=n("c6dd"),o=n("9fb1"),a=n("55ba"),s=n("9a33"),l=s.getScaleExtent,u=s.niceScaleExtent,c=n("d1a1"),h=n("09fb");function d(e,t,n){this._model=e,this.dimensions=[],this._indicatorAxes=i.map(e.getIndicatorModels(),(function(e,t){var n="indicator_"+t,i=new r(n,"log"===e.get("axisType")?new h:new o);return i.name=e.get("name"),i.model=e,e.axis=i,this.dimensions.push(n),i}),this),this.resize(e,n),this.cx,this.cy,this.r,this.r0,this.startAngle}d.prototype.getIndicatorAxes=function(){return this._indicatorAxes},d.prototype.dataToPoint=function(e,t){var n=this._indicatorAxes[t];return this.coordToPoint(n.dataToCoord(e),t)},d.prototype.coordToPoint=function(e,t){var n=this._indicatorAxes[t],i=n.angle,r=this.cx+e*Math.cos(i),o=this.cy-e*Math.sin(i);return[r,o]},d.prototype.pointToData=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,i=Math.sqrt(t*t+n*n);t/=i,n/=i;for(var r,o=Math.atan2(-n,t),a=1/0,s=-1,l=0;ln[0]&&isFinite(p)&&isFinite(n[0]))}else{var g=r.getTicks().length-1;g>o&&(d=s(d));var v=Math.round((n[0]+n[1])/2/d)*d,m=Math.round(o/2);r.setExtent(a.round(v-m*d),a.round(v+(o-m)*d)),r.setInterval(d)}}))},d.dimensions=[],d.create=function(e,t){var n=[];return e.eachComponent("radar",(function(i){var r=new d(i,e,t);n.push(r),i.coordinateSystem=r})),e.eachSeriesByType("radar",(function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("radarIndex")||0])})),n},c.register("radar",d);var f=d;e.exports=f},"8aa6":function(e,t,n){var i=n("cbe1");function r(e){var t=e&&e.timeline;i.isArray(t)||(t=t?[t]:[]),i.each(t,(function(e){e&&o(e)}))}function o(e){var t=e.type,n={number:"value",time:"time"};if(n[t]&&(e.axisType=n[t],delete e.type),a(e),s(e,"controlPosition")){var r=e.controlStyle||(e.controlStyle={});s(r,"position")||(r.position=e.controlPosition),"none"!==r.position||s(r,"show")||(r.show=!1,delete r.position),delete e.controlPosition}i.each(e.data||[],(function(e){i.isObject(e)&&!i.isArray(e)&&(!s(e,"value")&&s(e,"name")&&(e.value=e.name),a(e))}))}function a(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),r=e.label||e.label||{},o=r.normal||(r.normal={}),a={normal:1,emphasis:1};i.each(r,(function(e,t){a[t]||s(o,t)||(o[t]=e)})),n.label&&!s(r,"emphasis")&&(r.emphasis=n.label,delete n.label)}function s(e,t){return e.hasOwnProperty(t)}e.exports=r},"8acc":function(e,t,n){var i=n("333f"),r=n("cbe1");n("642d"),n("2793"),n("5a09");var o=n("95d6"),a=n("d951"),s=n("5866");i.registerVisual(r.curry(o,"sunburst")),i.registerLayout(r.curry(a,"sunburst")),i.registerProcessor(r.curry(s,"sunburst"))},"8b19":function(e,t){function n(e){return e}function i(e,t,i,r,o){this._old=e,this._new=t,this._oldKeyGetter=i||n,this._newKeyGetter=r||n,this.context=o}function r(e,t,n,i,r){for(var o=0;o=0;n--)s.asc(t[n])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var i=0,r=t.length;i1&&(c*=a(_),f*=a(_));var b=(r===o?-1:1)*a((c*c*(f*f)-c*c*(x*x)-f*f*(y*y))/(c*c*(x*x)+f*f*(y*y)))||0,w=b*c*x/f,S=b*-f*y/c,M=(e+n)/2+l(m)*w-s(m)*S,I=(t+i)/2+s(m)*w+l(m)*S,A=d([1,0],[(y-w)/c,(x-S)/f]),T=[(y-w)/c,(x-S)/f],D=[(-1*y-w)/c,(-1*x-S)/f],P=d(T,D);h(T,D)<=-1&&(P=u),h(T,D)>=1&&(P=0),0===o&&P>0&&(P-=2*u),1===o&&P<0&&(P+=2*u),v.addData(g,M,I,c,f,A,P,m,o)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function v(e){if(!e)return new r;for(var t,n=0,i=0,o=n,a=i,s=new r,l=r.CMD,u=e.match(p),c=0;c40&&(u=Math.max(1,Math.floor(s/40)));for(var c=a[0],d=e.dataToCoord(c+1)-e.dataToCoord(c),f=Math.abs(d*Math.cos(i)),p=Math.abs(d*Math.sin(i)),g=0,v=0;c<=a[1];c+=u){var m=0,y=0,x=r.getBoundingRect(n(c),t.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,b=v/p;isNaN(_)&&(_=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(_,b))),M=h(e.model),I=e.getExtent(),A=M.lastAutoInterval,T=M.lastTickCount;return null!=A&&null!=T&&Math.abs(A-w)<=1&&Math.abs(T-s)<=1&&A>w&&M.axisExtend0===I[0]&&M.axisExtend1===I[1]?w=A:(M.lastTickCount=s,M.lastAutoInterval=w,M.axisExtend0=I[0],M.axisExtend1=I[1]),w}function S(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function M(e,t,n){var i=l(e),r=e.scale,o=r.getExtent(),a=e.getLabelModel(),s=[],u=Math.max((t||0)+1,1),h=o[0],d=r.count();0!==h&&u>1&&d/u>2&&(h=Math.round(Math.ceil(h/u)*u));var f=c(e),p=a.get("showMinLabel")||f,g=a.get("showMaxLabel")||f;p&&h!==o[0]&&m(o[0]);for(var v=h;v<=o[1];v+=u)m(v);function m(e){s.push(n?e:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:e})}return g&&v-u!==o[1]&&m(o[1]),s}function I(e,t,n){var r=e.scale,o=l(e),a=[];return i.each(r.getTicks(),(function(e){var i=r.getLabel(e);t(e,i)&&a.push(n?e:{formattedLabel:o(e),rawLabel:i,tickValue:e})})),a}t.createAxisLabels=d,t.createAxisTicks=f,t.calculateCategoryInterval=w},"8ef7":function(e,t,n){"use strict";var i=n("2562"),r=n.n(i);r.a},"8f86":function(e,t,n){var i=n("2bfc"),r=i.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(e,t){var n=Math.cos,i=Math.sin,r=t.r,o=t.width,a=t.angle,s=t.x-n(a)*o*(o>=r/3?1:2),l=t.y-i(a)*o*(o>=r/3?1:2);a=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(a)*o,t.y+i(a)*o),e.lineTo(t.x+n(t.angle)*r,t.y+i(t.angle)*r),e.lineTo(t.x-n(a)*o,t.y-i(a)*o),e.lineTo(s,l)}});e.exports=r},"90e6":function(e,t){var n="";"undefined"!==typeof navigator&&(n=navigator.platform||"");var i={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:n.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};e.exports=i},"91ad":function(e,t,n){var i=n("0e18"),r=n("cbe1"),o=n("5c3e"),a=o.groupData;function s(e,t,n){e.eachSeriesByType("sankey",(function(e){var n=e.get("nodeWidth"),i=e.get("nodeGap"),o=l(e,t);e.layoutInfo=o;var a=o.width,s=o.height,h=e.getGraph(),d=h.nodes,f=h.edges;c(d);var p=r.filter(d,(function(e){return 0===e.getLayout().value})),g=0!==p.length?0:e.get("layoutIterations"),v=e.get("orient"),m=e.get("nodeAlign");u(d,f,n,i,a,s,g,v,m)}))}function l(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function u(e,t,n,i,r,o,a,s,l){h(e,t,n,r,o,s,l),v(e,t,o,r,i,a,s),T(e,s)}function c(e){r.each(e,(function(e){var t=I(e.outEdges,M),n=I(e.inEdges,M),i=Math.max(t,n);e.setLayout({value:i},!0)}))}function h(e,t,n,i,r,o,a){for(var s=[],l=[],u=[],c=[],h=0,d=0,p=0;p=0;_&&x.depth>v&&(v=x.depth),y.setLayout({depth:_?x.depth:h},!0),"vertical"===o?y.setLayout({dy:n},!0):y.setLayout({dx:n},!0);for(var b=0;bh-1?v:h-1;a&&"left"!==a&&f(e,a,o,A);d="vertical"===o?(r-n)/A:(i-n)/A;g(e,d,o)}function d(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function f(e,t,n,i){if("right"===t){var o=[],a=e,s=0;while(a.length){for(var l=0;l0;o--)l*=.99,_(s,l,a),x(s,r,n,i,a),A(s,l,a),x(s,r,n,i,a)}function m(e,t){var n=[],i="vertical"===t?"y":"x",o=a(e,(function(e){return e.getLayout()[i]}));return o.keys.sort((function(e,t){return e-t})),r.each(o.keys,(function(e){n.push(o.buckets.get(e))})),n}function y(e,t,n,i,o,a){var s=1/0;r.each(e,(function(e){var t=e.length,l=0;r.each(e,(function(e){l+=e.getLayout().value}));var u="vertical"===a?(i-(t-1)*o)/l:(n-(t-1)*o)/l;u0&&(r=s.getLayout()[a]+l,"vertical"===o?s.setLayout({x:r},!0):s.setLayout({y:r},!0)),u=s.getLayout()[a]+s.getLayout()[h]+t;var f="vertical"===o?i:n;if(l=u-t-f,l>0)for(r=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:r},!0):s.setLayout({y:r},!0),u=r,d=c-2;d>=0;--d)s=e[d],l=s.getLayout()[a]+s.getLayout()[h]+t-u,l>0&&(r=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:r},!0):s.setLayout({y:r},!0)),u=s.getLayout()[a]}))}function _(e,t,n){r.each(e.slice().reverse(),(function(e){r.each(e,(function(e){if(e.outEdges.length){var i=I(e.outEdges,b,n)/I(e.outEdges,M,n);if("vertical"===n){var r=e.getLayout().x+(i-S(e,n))*t;e.setLayout({x:r},!0)}else{var o=e.getLayout().y+(i-S(e,n))*t;e.setLayout({y:o},!0)}}}))}))}function b(e,t){return S(e.node2,t)*e.getValue()}function w(e,t){return S(e.node1,t)*e.getValue()}function S(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function M(e){return e.getValue()}function I(e,t,n){var i=0,r=e.length,o=-1;while(++oe&&(e=t),e},defaultOption:{clip:!0,roundCap:!1}});e.exports=r},"939d":function(e,t,n){var i=n("c9aa"),r=n("46ce"),o="[object Symbol]";function a(e){return"symbol"==typeof e||r(e)&&i(e)==o}e.exports=a},"939f":function(e,t,n){for(var i=n("cbe1"),r=n("91ed"),o=[126,25],a=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],s=0;s=r.start.time&&n.timea.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t;e=[this.getDateInfo(e[0]),this.getDateInfo(e[1])],e[0].time>e[1].time&&(t=!0,e.reverse());var n=Math.floor(e[1].time/s)-Math.floor(e[0].time/s)+1,i=new Date(e[0].time),r=i.getDate(),o=e[1].date.getDate();if(i.setDate(r+n-1),i.getDate()!==o){var a=i.getTime()-e[1].time>0?1:-1;while(i.getDate()!==o&&(i.getTime()-e[1].time)*a>0)n-=a,i.setDate(r+n-1)}var l=Math.floor((n+e[0].day+6)/7),u=t?1-l:l-1;return t&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:n,weeks:l,nthWeek:u,fweek:e[0].day,lweek:e[1].day}},_getDateByWeeksAndDay:function(e,t,n){var i=this._getRangeInfo(n);if(e>i.weeks||0===e&&ti.lweek)return!1;var r=7*(e-1)-i.fweek+t,o=new Date(i.start.time);return o.setDate(i.start.d+r),this.getDateInfo(o)}},l.dimensions=l.prototype.dimensions,l.getDimensionsInfo=l.prototype.getDimensionsInfo,l.create=function(e,t){var n=[];return e.eachComponent("calendar",(function(i){var r=new l(i,e,t);n.push(r),i.coordinateSystem=r})),e.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("calendarIndex")||0])})),n},a.register("calendar",l);var c=l;e.exports=c},"96a3":function(e,t,n){var i=n("03f6"),r=n("d1a1");function o(e,t){var n=[];return e.eachComponent("parallel",(function(r,o){var a=new i(r,e,t);a.name="parallel_"+o,a.resize(r,t),r.coordinateSystem=a,a.model=r,n.push(a)})),e.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}r.register("parallel",{create:o})},"96cf":function(e,t,n){var i=function(e){"use strict";var t,n=Object.prototype,i=n.hasOwnProperty,r="function"===typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function l(e,t,n,i){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),a=new D(i||[]);return o._invoke=M(e,n,a),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(i){return{type:"throw",arg:i}}}e.wrap=l;var c="suspendedStart",h="suspendedYield",d="executing",f="completed",p={};function g(){}function v(){}function m(){}var y={};y[o]=function(){return this};var x=Object.getPrototypeOf,_=x&&x(x(P([])));_&&_!==n&&i.call(_,o)&&(y=_);var b=m.prototype=g.prototype=Object.create(y);function w(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function S(e){function t(n,r,o,a){var s=u(e[n],e,r);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"===typeof c&&i.call(c,"__await")?Promise.resolve(c.__await).then((function(e){t("next",e,o,a)}),(function(e){t("throw",e,o,a)})):Promise.resolve(c).then((function(e){l.value=e,o(l)}),(function(e){return t("throw",e,o,a)}))}a(s.arg)}var n;function r(e,i){function r(){return new Promise((function(n,r){t(e,i,n,r)}))}return n=n?n.then(r,r):r()}this._invoke=r}function M(e,t,n){var i=c;return function(r,o){if(i===d)throw new Error("Generator is already running");if(i===f){if("throw"===r)throw o;return C()}n.method=r,n.arg=o;while(1){var a=n.delegate;if(a){var s=I(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===c)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=d;var l=u(e,t,n);if("normal"===l.type){if(i=n.done?f:h,l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=f,n.method="throw",n.arg=l.arg)}}}function I(e,n){var i=e.iterator[n.method];if(i===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,I(e,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=u(i,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,p;var o=r.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,p):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function P(e){if(e){var n=e[o];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function n(){while(++r=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;T(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:P(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=i}catch(r){Function("r","regeneratorRuntime = r")(i)}},"96d7":function(e,t,n){var i=n("5c3e"),r=i.makeInner,o=i.normalizeToArray,a=r();function s(e,t){for(var n=e.length,i=0;it)return e[i];return e[n-1]}var l={clearColorPalette:function(){a(this).colorIdx=0,a(this).colorNameMap={}},getColorFromPalette:function(e,t,n){t=t||this;var i=a(t),r=i.colorIdx||0,l=i.colorNameMap=i.colorNameMap||{};if(l.hasOwnProperty(e))return l[e];var u=o(this.get("color",!0)),c=this.get("colorLayer",!0),h=null!=n&&c?s(c,n):u;if(h=h||u,h&&h.length){var d=h[r];return e&&(l[e]=d),i.colorIdx=(r+1)%h.length,d}}};e.exports=l},"973e":function(e,t,n){var i=n("c512"),r=n("cbe1"),o=n("daf1"),a=n("3083");function s(e,t){i.call(this,e,t,["linearGradient","radialGradient"],"__gradient_in_use__")}r.inherits(s,i),s.prototype.addWithoutUpdate=function(e,t){if(t&&t.style){var n=this;r.each(["fill","stroke"],(function(i){if(t.style[i]&&("linear"===t.style[i].type||"radial"===t.style[i].type)){var r,o=t.style[i],a=n.getDefs(!0);o._dom?(r=o._dom,a.contains(o._dom)||n.addDom(r)):r=n.add(o),n.markUsed(t);var s=r.getAttribute("id");e.setAttribute(i,"url(#"+s+")")}}))}},s.prototype.add=function(e){var t;if("linear"===e.type)t=this.createElement("linearGradient");else{if("radial"!==e.type)return o("Illegal gradient type."),null;t=this.createElement("radialGradient")}return e.id=e.id||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-gradient-"+e.id),this.updateDom(e,t),this.addDom(t),t},s.prototype.update=function(e){var t=this;i.prototype.update.call(this,e,(function(){var n=e.type,i=e._dom.tagName;"linear"===n&&"linearGradient"===i||"radial"===n&&"radialGradient"===i?t.updateDom(e,e._dom):(t.removeDom(e),t.add(e))}))},s.prototype.updateDom=function(e,t){if("linear"===e.type)t.setAttribute("x1",e.x),t.setAttribute("y1",e.y),t.setAttribute("x2",e.x2),t.setAttribute("y2",e.y2);else{if("radial"!==e.type)return void o("Illegal gradient type.");t.setAttribute("cx",e.x),t.setAttribute("cy",e.y),t.setAttribute("r",e.r)}e.global?t.setAttribute("gradientUnits","userSpaceOnUse"):t.setAttribute("gradientUnits","objectBoundingBox"),t.innerHTML="";for(var n=e.colorStops,i=0,r=n.length;i=51||!r((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),y=h("concat"),x=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)},_=!m||!y;i({target:"Array",proto:!0,forced:_},{concat:function(e){var t,n,i,r,o,a=s(this),h=c(a,0),d=0;for(t=-1,i=arguments.length;tg)throw TypeError(v);for(n=0;n=g)throw TypeError(v);u(h,d++,o)}return h.length=d,h}})},"9a33":function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=n("5283"),a=n("9fb1"),s=n("9e85"),l=n("55ba"),u=n("6c15"),c=u.prepareLayoutBarSeries,h=u.makeColumnLayout,d=u.retrieveColumnLayout,f=n("1bb8");function p(e,t){var n,i,o,a=e.type,s=t.getMin(),u=t.getMax(),d=null!=s,f=null!=u,p=e.getExtent();"ordinal"===a?n=t.getCategories().length:(i=t.get("boundaryGap"),r.isArray(i)||(i=[i||0,i||0]),"boolean"===typeof i[0]&&(i=[0,0]),i[0]=l.parsePercent(i[0],1),i[1]=l.parsePercent(i[1],1),o=p[1]-p[0]||Math.abs(p[0])),null==s&&(s="ordinal"===a?n?0:NaN:p[0]-i[0]*o),null==u&&(u="ordinal"===a?n?n-1:NaN:p[1]+i[1]*o),"dataMin"===s?s=p[0]:"function"===typeof s&&(s=s({min:p[0],max:p[1]})),"dataMax"===u?u=p[1]:"function"===typeof u&&(u=u({min:p[0],max:p[1]})),(null==s||!isFinite(s))&&(s=NaN),(null==u||!isFinite(u))&&(u=NaN),e.setBlank(r.eqNaN(s)||r.eqNaN(u)||"ordinal"===a&&!e.getOrdinalMeta().categories.length),t.getNeedCrossZero()&&(s>0&&u>0&&!d&&(s=0),s<0&&u<0&&!f&&(u=0));var v=t.ecModel;if(v&&"time"===a){var m,y=c("bar",v);if(r.each(y,(function(e){m|=e.getBaseAxis()===t.axis})),m){var x=h(y),_=g(s,u,t,x);s=_.min,u=_.max}}return[s,u]}function g(e,t,n,i){var o=n.axis.getExtent(),a=o[1]-o[0],s=d(i,n.axis);if(void 0===s)return{min:e,max:t};var l=1/0;r.each(s,(function(e){l=Math.min(e.offset,l)}));var u=-1/0;r.each(s,(function(e){u=Math.max(e.offset+e.width,u)})),l=Math.abs(l),u=Math.abs(u);var c=l+u,h=t-e,f=1-(l+u)/a,p=h/f-h;return t+=p*(u/c),e-=p*(l/c),{min:e,max:t}}function v(e,t){var n=p(e,t),i=null!=t.getMin(),r=null!=t.getMax(),o=t.get("splitNumber");"log"===e.type&&(e.base=t.get("logBase"));var a=e.type;e.setExtent(n[0],n[1]),e.niceExtent({splitNumber:o,fixMin:i,fixMax:r,minInterval:"interval"===a||"time"===a?t.get("minInterval"):null,maxInterval:"interval"===a||"time"===a?t.get("maxInterval"):null});var s=t.get("interval");null!=s&&e.setInterval&&e.setInterval(s)}function m(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new o(e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),[1/0,-1/0]);case"value":return new a;default:return(s.getClass(t)||a).create(e)}}function y(e){var t=e.scale.getExtent(),n=t[0],i=t[1];return!(n>0&&i>0||n<0&&i<0)}function x(e){var t=e.getLabelModel().get("formatter"),n="category"===e.type?e.scale.getExtent()[0]:null;return"string"===typeof t?(t=function(t){return function(n){return n=e.scale.getLabel(n),t.replace("{value}",null!=n?n:"")}}(t),t):"function"===typeof t?function(i,r){return null!=n&&(r=i-n),t(_(e,i),r)}:function(t){return e.scale.getLabel(t)}}function _(e,t){return"category"===e.type?e.scale.getLabel(t):t}function b(e){var t=e.model,n=e.scale;if(t.get("axisLabel.show")&&!n.isBlank()){var i,r,o="category"===e.type,a=n.getExtent();o?r=n.count():(i=n.getTicks(),r=i.length);var s,l=e.getLabelModel(),u=x(e),c=1;r>40&&(c=Math.ceil(r/40));for(var h=0;h=t[0]&&e<=t[1]},r.prototype.normalize=function(e){var t=this._extent;return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])},r.prototype.scale=function(e){var t=this._extent;return e*(t[1]-t[0])+t[0]},r.prototype.unionExtent=function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1])},r.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(e){this._isBlank=e},r.prototype.getLabel=null,i.enableClassExtend(r),i.enableClassManagement(r,{registerWhenExtend:!0});var o=r;e.exports=o},"9f99":function(e,t,n){var i=n("333f"),r=n("6e42"),o=i.extendComponentView({type:"axisPointer",render:function(e,t,n){var i=t.getComponent("tooltip"),o=e.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";r.register("axisPointer",n,(function(e,t,n){"none"!==o&&("leave"===e||o.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},remove:function(e,t){r.unregister(t.getZr(),"axisPointer"),o.superApply(this._model,"remove",arguments)},dispose:function(e,t){r.unregister("axisPointer",t),o.superApply(this._model,"dispose",arguments)}}),a=o;e.exports=a},"9fb1":function(e,t,n){var i=n("55ba"),r=n("4ae0"),o=n("9e85"),a=n("aada"),s=i.round,l=o.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},unionExtent:function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1]),l.prototype.setExtent.call(this,t[0],t[1])},getInterval:function(){return this._interval},setInterval:function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=a.getIntervalPrecision(e)},getTicks:function(){return a.intervalScaleGetTicks(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getLabel:function(e,t){if(null==e)return"";var n=t&&t.precision;return null==n?n=i.getPrecisionSafe(e)||0:"auto"===n&&(n=this._intervalPrecision),e=s(e,n,!0),r.addCommas(e)},niceTicks:function(e,t,n){e=e||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var o=a.intervalScaleNiceTicks(i,e,t,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},niceExtent:function(e){var t=this._extent;if(t[0]===t[1])if(0!==t[0]){var n=t[0];e.fixMax?t[0]-=n/2:(t[1]+=n/2,t[0]-=n/2)}else t[1]=1;var i=t[1]-t[0];isFinite(i)||(t[0]=0,t[1]=1),this.niceTicks(e.splitNumber,e.minInterval,e.maxInterval);var r=this._interval;e.fixMin||(t[0]=s(Math.floor(t[0]/r)*r)),e.fixMax||(t[1]=s(Math.ceil(t[1]/r)*r))}});l.create=function(){return new l};var u=l;e.exports=u},a059:function(e,t,n){var i=n("2dda"),r=n("039e");function o(e){this._ctor=e||r,this.group=new i.Group}var a=o.prototype;function s(e,t,n,i){var r=t.getItemLayout(n);if(h(r)){var o=new e._ctor(t,n,i);t.setItemGraphicEl(n,o),e.group.add(o)}}function l(e,t,n,i,r,o){var a=t.getItemGraphicEl(i);h(n.getItemLayout(r))?(a?a.updateData(n,r,o):a=new e._ctor(n,r,o),n.setItemGraphicEl(r,a),e.group.add(a)):e.group.remove(a)}function u(e){var t=e.hostModel;return{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}function c(e){return isNaN(e[0])||isNaN(e[1])}function h(e){return!c(e[0])&&!c(e[1])}a.isPersistent=function(){return!0},a.updateData=function(e){var t=this,n=t.group,i=t._lineData;t._lineData=e,i||n.removeAll();var r=u(e);e.diff(i).add((function(n){s(t,e,n,r)})).update((function(n,o){l(t,i,e,o,n,r)})).remove((function(e){n.remove(i.getItemGraphicEl(e))})).execute()},a.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,n){t.updateLayout(e,n)}),this)},a.incrementalPrepareUpdate=function(e){this._seriesScope=u(e),this._lineData=null,this.group.removeAll()},a.incrementalUpdate=function(e,t){function n(e){e.isGroup||(e.incremental=e.useHoverLayer=!0)}for(var i=e.start;i2)if(u=v(u),t=u.charCodeAt(0),43===t||45===t){if(n=u.charCodeAt(2),88===n||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+u}for(o=u.slice(2),a=o.length,s=0;sr)return NaN;return parseInt(o,i)}return+u};if(o(m,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var w,S=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof S&&(_?h((function(){x.valueOf.call(n)})):l(n)!=m)?u(new y(b(t)),n,S):b(t)},M=i?f(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),I=0;M.length>I;I++)s(y,w=M[I])&&!s(S,w)&&g(S,w,p(y,w));S.prototype=x,x.constructor=S,a(r,m,S)}},aa9e:function(e,t,n){var i=n("3e88"),r=i.prepareDataCoordInfo,o=i.getStackedOnPoint;function a(e,t){var n=[];return t.diff(e).add((function(e){n.push({cmd:"+",idx:e})})).update((function(e,t){n.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){n.push({cmd:"-",idx:e})})).execute(),n}function s(e,t,n,i,s,l,u,c){for(var h=a(e,t),d=[],f=[],p=[],g=[],v=[],m=[],y=[],x=r(s,t,u),_=r(l,e,c),b=0;bo&&(c=s.interval=o);var h=s.intervalPrecision=a(c),d=s.niceTickExtent=[r(Math.ceil(e[0]/c)*c,h),r(Math.floor(e[1]/c)*c,h)];return l(d,e),s}function a(e){return i.getPrecisionSafe(e)+2}function s(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function l(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),s(e,0,t),s(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function u(e,t,n,i){var o=[];if(!e)return o;var a=1e4;t[0]a)return[]}return t[1]>(o.length?o[o.length-1]:n[1])&&o.push(t[1]),o}t.intervalScaleNiceTicks=o,t.getIntervalPrecision=a,t.fixExtent=l,t.intervalScaleGetTicks=u},abae:function(e,t,n){var i=n("cbe1"),r=n("be69"),o=n("de7a"),a=o.toolbox.brush;function s(e,t,n){this.model=e,this.ecModel=t,this.api=n,this._brushType,this._brushMode}s.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:i.clone(a.title)};var l=s.prototype;l.render=l.updateView=function(e,t,n){var r,o,a;t.eachComponent({mainType:"brush"},(function(e){r=e.brushType,o=e.brushOption.brushMode||"single",a|=e.areas.length})),this._brushType=r,this._brushMode=o,i.each(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===o:"clear"===t?a:t===r)?"emphasis":"normal")}))},l.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return i.each(e.get("type",!0),(function(e){t[e]&&(n[e]=t[e])})),n},l.onclick=function(e,t,n){var i=this._brushType,r=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},r.register("brush",s);var u=s;e.exports=u},ac15:function(e,t){function n(){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 i(e,t){return{target:e,topTarget:t&&t.topTarget}}n.prototype={constructor:n,_dragStart:function(e){var t=e.target;t&&t.draggable&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.dispatchToElement(i(t,e),"dragstart",e.event))},_drag:function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,r=e.offsetY,o=n-this._x,a=r-this._y;this._x=n,this._y=r,t.drift(o,a,e),this.dispatchToElement(i(t,e),"drag",e.event);var s=this.findHover(n,r,t).target,l=this._dropTarget;this._dropTarget=s,t!==s&&(l&&s!==l&&this.dispatchToElement(i(l,e),"dragleave",e.event),s&&s!==l&&this.dispatchToElement(i(s,e),"dragenter",e.event))}},_dragEnd:function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.dispatchToElement(i(t,e),"dragend",e.event),this._dropTarget&&this.dispatchToElement(i(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null}};var r=n;e.exports=r},acd8:function(e,t,n){var i=n("23e7"),r=n("6fe5");i({global:!0,forced:parseFloat!=r},{parseFloat:r})},ad26:function(e,t){function n(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(t,n){return e.dataToPoint(t,n)}}}}e.exports=n},ae06:function(e,t,n){var i=n("cbe1"),r=n("4790"),o=n("d549"),a=o.seriesModelMixin,s=r.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(e,t,n){var i=t.getItemLayout(e);return i&&n.rect(i.brushRect)}});i.mixin(s,a,!0);var l=s;e.exports=l},aed8:function(e,t){var n={average:function(e){for(var t=0,n=0,i=0;it&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n1)"string"===typeof a?l=n[a]:"function"===typeof a&&(l=a),l&&e.setData(o.downSample(o.mapDimension(c.dim),1/f,l,i))}}}}e.exports=r},aee3:function(e,t,n){n("5be6"),n("ffbf")},b100:function(e,t,n){var i=n("cbe1"),r=n("d453"),o=n("11a2"),a=n("e94f");function s(e){this.pointerChecker,this._zr=e,this._opt={};var t=i.bind,n=t(l,this),o=t(u,this),a=t(c,this),s=t(h,this),f=t(d,this);r.call(this),this.setPointerChecker=function(e){this.pointerChecker=e},this.enable=function(t,r){this.disable(),this._opt=i.defaults(i.clone(r)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",n),e.on("mousemove",o),e.on("mouseup",a)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",s),e.on("pinch",f))},this.disable=function(){e.off("mousedown",n),e.off("mousemove",o),e.off("mouseup",a),e.off("mousewheel",s),e.off("pinch",f)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(e){if(!(o.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)){var t=e.offsetX,n=e.offsetY;this.pointerChecker&&this.pointerChecker(e,t,n)&&(this._x=t,this._y=n,this._dragging=!0)}}function u(e){if(this._dragging&&g("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!a.isTaken(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,i=this._x,r=this._y,s=t-i,l=n-r;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&o.stop(e.event),p(this,"pan","moveOnMouseMove",e,{dx:s,dy:l,oldX:i,oldY:r,newX:t,newY:n})}}function c(e){o.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function h(e){var t=g("zoomOnMouseWheel",e,this._opt),n=g("moveOnMouseWheel",e,this._opt),i=e.wheelDelta,r=Math.abs(i),o=e.offsetX,a=e.offsetY;if(0!==i&&(t||n)){if(t){var s=r>3?1.4:r>1?1.2:1.1,l=i>0?s:1/s;f(this,"zoom","zoomOnMouseWheel",e,{scale:l,originX:o,originY:a})}if(n){var u=Math.abs(i),c=(i>0?1:-1)*(u>3?.4:u>1?.15:.05);f(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:c,originX:o,originY:a})}}}function d(e){if(!a.isTaken(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;f(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY})}}function f(e,t,n,i,r){e.pointerChecker&&e.pointerChecker(i,r.originX,r.originY)&&(o.stop(i.event),p(e,t,n,i,r))}function p(e,t,n,r,o){o.isAvailableBehavior=i.bind(g,null,n,r),e.trigger(t,o)}function g(e,t,n){var r=n[e];return!e||r&&(!i.isString(r)||t.event[r+"Key"])}i.mixin(s,r);var v=s;e.exports=v},b1a9:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=n("2dda"),a=n("3647"),s=a.getDefaultLabel,l=n("9bc4"),u=n("6c15"),c=u.getLayoutOnAxis,h=n("8b19"),d=n("4790"),f=n("efdc"),p=n("e8c2"),g=n("32bc"),v=g.createClipPath,m=n("59fa"),y=n("366b"),x=n("d1c9"),_=n("1966"),b=n("ad26"),w=o.CACHED_LABEL_STYLE_PROPERTIES,S=["itemStyle"],M=["emphasis","itemStyle"],I=["label"],A=["emphasis","label"],T="e\0\0",D={cartesian2d:m,geo:y,singleAxis:x,polar:_,calendar:b};function P(e){var t,n=e.type;if("path"===n){var i=e.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,a=G(i);t=o.makePath(a,null,r,i.layout||"center"),t.__customPathData=a}else if("image"===n)t=new o.Image({}),t.__customImagePath=e.style.image;else if("text"===n)t=new o.Text({}),t.__customText=e.style.text;else if("group"===n)t=new o.Group;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var s=o.getShapeClass(n);t=new s}return t.__customGraphicType=n,t.name=e.name,t}function C(e,t,n,i,a,s,l){var u={},c=n.style||{};if(n.shape&&(u.shape=r.clone(n.shape)),n.position&&(u.position=n.position.slice()),n.scale&&(u.scale=n.scale.slice()),n.origin&&(u.origin=n.origin.slice()),n.rotation&&(u.rotation=n.rotation),"image"===e.type&&n.style){var h=u.style={};r.each(["x","y","width","height"],(function(t){O(t,h,c,e.style,s)}))}if("text"===e.type&&n.style){h=u.style={};r.each(["x","y"],(function(t){O(t,h,c,e.style,s)})),!c.hasOwnProperty("textFill")&&c.fill&&(c.textFill=c.fill),!c.hasOwnProperty("textStroke")&&c.stroke&&(c.textStroke=c.stroke)}if("group"!==e.type&&(e.useStyle(c),s)){e.style.opacity=0;var d=c.opacity;null==d&&(d=1),o.initProps(e,{style:{opacity:d}},i,t)}s?e.attr(u):o.updateProps(e,u,i,t),n.hasOwnProperty("z2")&&e.attr("z2",n.z2||0),n.hasOwnProperty("silent")&&e.attr("silent",n.silent),n.hasOwnProperty("invisible")&&e.attr("invisible",n.invisible),n.hasOwnProperty("ignore")&&e.attr("ignore",n.ignore),n.hasOwnProperty("info")&&e.attr("info",n.info);var f=n.styleEmphasis;o.setElementHoverStyle(e,f),l&&o.setAsHighDownDispatcher(e,!1!==f)}function O(e,t,n,i,r){null==n[e]||r||(t[e]=n[e],n[e]=i[e])}function k(e,t,n,i){var a=e.get("renderItem"),l=e.coordinateSystem,u={};l&&(u=l.prepareCustoms?l.prepareCustoms():D[l.type](l));var h,d,f,p,g,v=r.defaults({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:_,style:b,styleEmphasis:w,visual:T,barLayout:P,currentSeriesIndices:C,font:O},u.api||{}),m={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:u.coordSys,dataInsideLength:t.count(),encode:L(e.getData())},y=!0;return function(e,n){return h=e,y=!0,a&&a(r.defaults({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},m),v)};function x(e){null==e&&(e=h),y&&(d=t.getItemModel(e),f=d.getModel(I),p=d.getModel(A),g=t.getItemVisual(e,"color"),y=!1)}function _(e,n){return null==n&&(n=h),t.get(t.getDimension(e||0),n)}function b(n,i){null==i&&(i=h),x(i);var a=d.getModel(S).getItemStyle();null!=g&&(a.fill=g);var l=t.getItemVisual(i,"opacity");null!=l&&(a.opacity=l);var u=n?j(n,f):f;return o.setTextStyle(a,u,null,{autoColor:g,isRectText:!0}),a.text=u.getShallow("show")?r.retrieve2(e.getFormattedLabel(i,"normal"),s(t,i)):null,n&&F(a,n),a}function w(n,i){null==i&&(i=h),x(i);var a=d.getModel(M).getItemStyle(),l=n?j(n,p):p;return o.setTextStyle(a,l,null,{isRectText:!0},!0),a.text=l.getShallow("show")?r.retrieve3(e.getFormattedLabel(i,"emphasis"),e.getFormattedLabel(i,"normal"),s(t,i)):null,n&&F(a,n),a}function T(e,n){return null==n&&(n=h),t.getItemVisual(n,e)}function P(e){if(l.getBaseAxis){var t=l.getBaseAxis();return c(r.defaults({axis:t},e),i)}}function C(){return n.getCurrentSeriesIndices()}function O(e){return o.getFont(e,n)}}function L(e){var t={};return r.each(e.dimensions,(function(n,i){var r=e.getDimensionInfo(n);if(!r.isExtraCoord){var o=r.coordDim,a=t[o]=t[o]||[];a[r.coordDimIndex]=i}})),t}function E(e,t,n,i,r,o){return e=R(e,t,n,i,r,o,!0),e&&o.setItemGraphicEl(t,e),e}function R(e,t,n,i,r,o,a){var s=!n;n=n||{};var l=n.type,u=n.shape,c=n.style;if(e&&(s||null!=l&&l!==e.__customGraphicType||"path"===l&&H(u)&&G(u)!==e.__customPathData||"image"===l&&U(c,"image")&&c.image!==e.__customImagePath||"text"===l&&U(u,"text")&&c.text!==e.__customText)&&(r.remove(e),e=null),!s){var h=!e;return!e&&(e=P(n)),C(e,t,n,i,o,h,a),"group"===l&&z(e,t,n,i,o),r.add(e),e}}function z(e,t,n,i,r){var o=n.children,a=o?o.length:0,s=n.$mergeChildren,l="byName"===s||n.diffChildrenByName,u=!1===s;if(a||l||u)if(l)N({oldChildren:e.children()||[],newChildren:o||[],dataIndex:t,animatableModel:i,group:e,data:r});else{u&&e.removeAll();for(var c=0;c0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(a[1]-a[0])+a[0],c=Math.max(1/i.scale,0);a[0]=(a[0]-u)*c+u,a[1]=(a[1]-u)*c+u;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return o(0,a,[0,100],0,d.minSpan,d.maxSpan),this._range=a,r[0]!==a[0]||r[1]!==a[1]?a:void 0}},pan:c((function(e,t,n,i,r,o){var a=h[i]([o.oldX,o.oldY],[o.newX,o.newY],t,r,n);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength})),scrollMove:c((function(e,t,n,i,r,o){var a=h[i]([0,0],[o.scrollDelta,o.scrollDelta],t,r,n);return a.signal*(e[1]-e[0])*o.scrollDelta}))};function c(e){return function(t,n,i,r){var a=this._range,s=a.slice(),l=t.axisModels[0];if(l){var u=e(s,l,t,n,i,r);return o(u,s,[0,100],"all"),this._range=s,a[0]!==s[0]||a[1]!==s[1]?s:void 0}}}var h={grid:function(e,t,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return e=e||[0,0],"x"===o.dim?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(e,t,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(a.pixel=t[0]-e[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(e,t,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===o.orient?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},d=l;e.exports=d},b64b:function(e,t,n){var i=n("23e7"),r=n("7b0b"),o=n("df75"),a=n("d039"),s=a((function(){o(1)}));i({target:"Object",stat:!0,forced:s},{keys:function(e){return o(r(e))}})},b7c7:function(e,t,n){var i=n("7efc"),r=n("d453"),o=n("ecef"),a=n("494c"),s=n("cbe1"),l=function(e){o.call(this,e),r.call(this,e),a.call(this,e),this.id=e.id||i()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(e,t){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=t,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(e,t){},attrKV:function(e,t){if("position"===e||"scale"===e||"origin"===e){if(t){var n=this[e];n||(n=this[e]=[]),n[0]=t[0],n[1]=t[1]}}else this[e]=t},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(e,t){if("string"===typeof e)this.attrKV(e,t);else if(s.isObject(e))for(var n in e)e.hasOwnProperty(n)&&this.attrKV(n,e[n]);return this.dirty(!1),this},setClipPath:function(e){var t=this.__zr;t&&e.addSelfToZr(t),this.clipPath&&this.clipPath!==e&&this.removeClipPath(),this.clipPath=e,e.__zr=t,e.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var e=this.clipPath;e&&(e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(e){this.__zr=e;var t=this.animators;if(t)for(var n=0;nn-2?n-1:f+1],h=e[f>n-3?n-1:f+2]);var v=p*p,m=p*v;i.push([o(u[0],g[0],c[0],h[0],p,v,m),o(u[1],g[1],c[1],h[1],p,v,m)])}return i}e.exports=a},b8e1:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("333f")),o=n("cbe1"),a=n("3804"),s=n("5c3e"),l=n("7f3e"),u=n("fc47"),c=o.each,h=l.eachAxisDim,d=r.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(e,t,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=f(e);this.settledOption=i,this.mergeDefaultAndTheme(e,n),this.doInit(i)},mergeOption:function(e){var t=f(e);o.merge(this.option,e,!0),o.merge(this.settledOption,t,!0),this.doInit(t)},doInit:function(e){var t=this.option;a.canvasSupported||(t.realtime=!1),this._setDefaultThrottle(e),p(this,e);var n=this.settledOption;c([["start","startValue"],["end","endValue"]],(function(e,i){"value"===this._rangePropMode[i]&&(t[e[0]]=n[e[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis((function(t,n,i,r){var o=this.dependentModels[t.axis][n],a=o.__dzAxisProxy||(o.__dzAxisProxy=new u(t.name,n,this,r));e[t.name+"_"+n]=a}),this)},_resetTarget:function(){var e=this.option,t=this._judgeAutoMode();h((function(t){var n=t.axisIndex;e[n]=s.normalizeToArray(e[n])}),this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,t=!1;h((function(n){null!=e[n.axisIndex]&&(t=!0)}),this);var n=e.orient;return null==n&&t?"orient":t?void 0:(null==n&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var e=!0,t=this.get("orient",!0),n=this.option,i=this.dependentModels;if(e){var r="vertical"===t?"y":"x";i[r+"Axis"].length?(n[r+"AxisIndex"]=[0],e=!1):c(i.singleAxis,(function(i){e&&i.get("orient",!0)===t&&(n.singleAxisIndex=[i.componentIndex],e=!1)}))}e&&h((function(t){if(e){var i=[],r=this.dependentModels[t.axis];if(r.length&&!i.length)for(var o=0,a=r.length;o0?100:20}},getFirstTargetAxisModel:function(){var e;return h((function(t){if(null==e){var n=this.get(t.axisIndex);n.length&&(e=this.dependentModels[t.axis][n[0]])}}),this),e},eachTargetAxis:function(e,t){var n=this.ecModel;h((function(i){c(this.get(i.axisIndex),(function(r){e.call(t,i,r,this,n)}),this)}),this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var n=this.getAxisProxy(e,t);return n&&n.getAxisModel()},setRawRange:function(e){var t=this.option,n=this.settledOption;c([["start","startValue"],["end","endValue"]],(function(i){null==e[i[0]]&&null==e[i[1]]||(t[i[0]]=n[i[0]]=e[i[0]],t[i[1]]=n[i[1]]=e[i[1]])}),this),p(this,e)},setCalculatedRange:function(e){var t=this.option;c(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var t=this._axisProxies;for(var n in t)if(t.hasOwnProperty(n)&&t[n].hostedBy(this))return t[n];for(var n in t)if(t.hasOwnProperty(n)&&!t[n].hostedBy(this))return t[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});function f(e){var t={};return c(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}function p(e,t){var n=e._rangePropMode,i=e.get("rangeMode");c([["start","startValue"],["end","endValue"]],(function(e,r){var o=null!=t[e[0]],a=null!=t[e[1]];o&&!a?n[r]="percent":!o&&a?n[r]="value":i?n[r]=i[r]:o&&(n[r]="percent")}))}var g=d;e.exports=g},b93d:function(e,t,n){var i=n("3804"),r=n("dbbd"),o=r.applyTransform,a=n("1bb8"),s=n("3083"),l=n("d207"),u=n("d7f1"),c=n("41dc"),h=n("094f"),d=n("f4be"),f=n("e646"),p=n("2bfc"),g=n("2544"),v=n("82da"),m=n("5624"),y=g.CMD,x=Math.round,_=Math.sqrt,b=Math.abs,w=Math.cos,S=Math.sin,M=Math.max;if(!i.canvasSupported){var I=",",A="progid:DXImageTransform.Microsoft",T=21600,D=T/2,P=1e5,C=1e3,O=function(e){e.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",e.coordsize=T+","+T,e.coordorigin="0,0"},k=function(e){return String(e).replace(/&/g,"&").replace(/"/g,""")},L=function(e,t,n){return"rgb("+[e,t,n].join(",")+")"},E=function(e,t){t&&e&&t.parentNode!==e&&e.appendChild(t)},R=function(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)},z=function(e,t,n){return(parseFloat(e)||0)*P+(parseFloat(t)||0)*C+n},N=u.parsePercent,B=function(e,t,n){var i=s.parse(t);n=+n,isNaN(n)&&(n=1),i&&(e.color=L(i[0],i[1],i[2]),e.opacity=n*i[3])},V=function(e){var t=s.parse(e);return[L(t[0],t[1],t[2]),t[3]]},j=function(e,t,n){var i=t.fill;if(null!=i)if(i instanceof v){var r,a=0,s=[0,0],l=0,u=1,c=n.getBoundingRect(),h=c.width,d=c.height;if("linear"===i.type){r="gradient";var f=n.transform,p=[i.x*h,i.y*d],g=[i.x2*h,i.y2*d];f&&(o(p,p,f),o(g,g,f));var m=g[0]-p[0],y=g[1]-p[1];a=180*Math.atan2(m,y)/Math.PI,a<0&&(a+=360),a<1e-6&&(a=0)}else{r="gradientradial";p=[i.x*h,i.y*d],f=n.transform;var x=n.scale,_=h,b=d;s=[(p[0]-c.x)/_,(p[1]-c.y)/b],f&&o(p,p,f),_/=x[0]*T,b/=x[1]*T;var w=M(_,b);l=0/w,u=2*i.r/w-l}var S=i.colorStops.slice();S.sort((function(e,t){return e.offset-t.offset}));for(var I=S.length,A=[],D=[],P=0;P=2){var k=A[0][0],L=A[1][0],E=A[0][1]*t.opacity,R=A[1][1]*t.opacity;e.type=r,e.method="none",e.focus="100%",e.angle=a,e.color=k,e.color2=L,e.colors=D.join(","),e.opacity=R,e.opacity2=E}"radial"===r&&(e.focusposition=s.join(","))}else B(e,i,t.opacity)},F=function(e,t){t.lineDash&&(e.dashstyle=t.lineDash.join(" ")),null==t.stroke||t.stroke instanceof v||B(e,t.stroke,t.opacity)},W=function(e,t,n,i){var r="fill"===t,o=e.getElementsByTagName(t)[0];null!=n[t]&&"none"!==n[t]&&(r||!r&&n.lineWidth)?(e[r?"filled":"stroked"]="true",n[t]instanceof v&&R(e,o),o||(o=m.createNode(t)),r?j(o,n,i):F(o,n),E(e,o)):(e[r?"filled":"stroked"]="false",R(e,o))},G=[[],[],[]],H=function(e,t){var n,i,r,a,s,l,u=y.M,c=y.C,h=y.L,d=y.A,f=y.Q,p=[],g=e.data,v=e.len();for(a=0;a.01?W&&(H+=270/T):Math.abs(U-N)<1e-4?W&&Hz?A-=270/T:A+=270/T:W&&UN?M+=270/T:M-=270/T),p.push(Y,x(((z-B)*L+O)*T-D),I,x(((N-V)*E+k)*T-D),I,x(((z+B)*L+O)*T-D),I,x(((N+V)*E+k)*T-D),I,x((H*L+O)*T-D),I,x((U*E+k)*T-D),I,x((M*L+O)*T-D),I,x((A*E+k)*T-D)),s=M,l=A;break;case y.R:var Z=G[0],X=G[1];Z[0]=g[a++],Z[1]=g[a++],X[0]=Z[0]+g[a++],X[1]=Z[1]+g[a++],t&&(o(Z,Z,t),o(X,X,t)),Z[0]=x(Z[0]*T-D),X[0]=x(X[0]*T-D),Z[1]=x(Z[1]*T-D),X[1]=x(X[1]*T-D),p.push(" m ",Z[0],I,Z[1]," l ",X[0],I,Z[1]," l ",X[0],I,X[1]," l ",Z[0],I,X[1]);break;case y.Z:p.push(" x ")}if(n>0){p.push(i);for(var q=0;q$&&(q=0,X={});var n,i=K.style;try{i.font=e,n=i.fontFamily.split(",")[0]}catch(r){}t={style:i.fontStyle||Z,variant:i.fontVariant||Z,weight:i.fontWeight||Z,size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},X[e]=t,q++}return t};l.$override("measureText",(function(e,t){var n=m.doc;Y||(Y=n.createElement("div"),Y.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",m.doc.body.appendChild(Y));try{Y.style.font=t}catch(i){}return Y.innerHTML="",Y.appendChild(n.createTextNode(e)),{width:Y.offsetWidth}}));for(var Q=new a,ee=function(e,t,n,i){var r=this.style;this.__dirty&&u.normalizeTextStyle(r,!0);var a=r.text;if(null!=a&&(a+=""),a){if(r.rich){var s=l.parseRichText(a,r);a=[];for(var c=0;c',f=window.open();f.document.write(d)}else{var p=document.createElement("a");p.download=r+"."+o,p.target="_blank",p.href=a;var g=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});p.dispatchEvent(g)}},o.register("saveAsImage",s);var u=s;e.exports=u},bbc2:function(e,t,n){var i=n("cbe1"),r=n("1930"),o=n("2dda"),a=n("df7d"),s=a.createSymbol,l=n("0e18"),u=n("40bc"),c=r.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),r=t.textStyleModel,a=r.getFont(),s=r.getTextColor(),u=this._getItemAlign(),c=t.itemSize,h=this._getViewData(),d=h.endsText,f=i.retrieve(t.get("showLabel",!0),!d);function p(r){var l=r.piece,h=new o.Group;h.onclick=i.bind(this._onItemClick,this,l),this._enableHoverLink(h,r.indexInModelPieceList);var d=t.getRepresentValue(l);if(this._createItemSymbol(h,d,[0,0,c[0],c[1]]),f){var p=this.visualMapModel.getValueState(d);h.add(new o.Text({style:{x:"right"===u?-n:c[0]+n,y:c[1]/2,text:l.text,textVerticalAlign:"middle",textAlign:u,textFont:a,textFill:s,opacity:"outOfRange"===p?.5:1}}))}e.add(h)}d&&this._renderEndsText(e,d[0],c,f,u),i.each(h.viewPieceList,p,this),d&&this._renderEndsText(e,d[1],c,f,u),l.box(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_enableHoverLink:function(e,t){function n(e){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:e,batch:u.makeHighDownBatch(n.findTargetDataIndices(t),n)})}e.on("mouseover",i.bind(n,this,"highlight")).on("mouseout",i.bind(n,this,"downplay"))},_getItemAlign:function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return u.getItemAlign(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(e,t,n,i,r){if(t){var a=new o.Group,s=this.visualMapModel.textStyleModel;a.add(new o.Text({style:{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:i?r:"center",text:t,textFont:s.getFont(),textFill:s.getTextColor()}})),e.add(a)}},_getViewData:function(){var e=this.visualMapModel,t=i.map(e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),n=e.get("text"),r=e.get("orient"),o=e.get("inverse");return("horizontal"===r?o:!o)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},_createItemSymbol:function(e,t,n){e.add(s(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color")))},_onItemClick:function(e){var t=this.visualMapModel,n=t.option,r=i.clone(n.selected),o=t.getSelectedMapKey(e);"single"===n.selectedMode?(r[o]=!0,i.each(r,(function(e,t){r[t]=t===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}}),h=c;e.exports=h},bbe8:function(e,t,n){var i=n("cbe1"),r=n("5c1c"),o=n("55ba"),a=[20,140],s=r.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(e,t){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var e=this.itemSize;"horizontal"===this._orient&&e.reverse(),(null==e[0]||isNaN(e[0]))&&(e[0]=a[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=a[1])},_resetRange:function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):i.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){r.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)}),this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=o.asc((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]=n[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimension(r),(function(t,n){e[0]<=t&&t<=e[1]&&i.push(n)}),this),t.push({seriesId:n.id,dataIndex:i})}),this),t},getVisualMeta:function(e){var t=l(this,"outOfRange",this.getExtent()),n=l(this,"inRange",this.option.range.slice()),i=[];function r(t,n){i.push({value:t,color:e(t,n)})}for(var o=0,a=0,s=n.length,u=t.length;a0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"}))},bcda:function(e,t,n){var i=n("0e18");function r(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var t,n,i=[e];while(t=i.pop())if(n=t.children,t.isExpand&&n.length)for(var r=n.length,o=r-1;o>=0;o--){var a=n[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(a)}}function o(e,t){var n=e.isExpand?e.children:[],i=e.parentNode.children,r=e.hierNode.i?i[e.hierNode.i-1]:null;if(n.length){c(e);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(e.hierNode.prelim=r.hierNode.prelim+t(e,r),e.hierNode.modifier=e.hierNode.prelim-o):e.hierNode.prelim=o}else r&&(e.hierNode.prelim=r.hierNode.prelim+t(e,r));e.parentNode.hierNode.defaultAncestor=h(e,r,e.parentNode.hierNode.defaultAncestor||i[0],t)}function a(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function s(e){return arguments.length?e:v}function l(e,t){var n={};return e-=Math.PI/2,n.x=t*Math.cos(e),n.y=t*Math.sin(e),n}function u(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e){var t=e.children,n=t.length,i=0,r=0;while(--n>=0){var o=t[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}function h(e,t,n,i){if(t){var r=e,o=e,a=o.parentNode.children[0],s=t,l=r.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,h=s.hierNode.modifier;while(s=d(s),o=f(o),s&&o){r=d(r),a=f(a),r.hierNode.ancestor=e;var v=s.hierNode.prelim+h-o.hierNode.prelim-u+i(s,o);v>0&&(g(p(s,e,n),e,v),u+=v,l+=v),h+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,c+=a.hierNode.modifier}s&&!d(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=h-l),o&&!f(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=e)}return n}function d(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function f(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function p(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function g(e,t,n){var i=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=i,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=i}function v(e,t){return e.parentNode===t.parentNode?1:2}t.init=r,t.firstWalk=o,t.secondWalk=a,t.separation=s,t.radialCoordinate=l,t.getViewRect=u},bd14:function(e,t,n){var i=n("2dda"),r=n("caf6"),o=n("70f0"),a=n("3d3c"),s=i.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(e,t){var n=t.segs,i=t.curveness;if(t.polyline)for(var r=0;r0){e.moveTo(n[r++],n[r++]);for(var a=1;a0){var h=(s+u)/2-(l-c)*i,d=(l+c)/2-(u-s)*i;e.quadraticCurveTo(h,d,u,c)}else e.lineTo(u,c)}},findDataIndex:function(e,t){var n=this.shape,i=n.segs,r=n.curveness;if(n.polyline)for(var s=0,l=0;l0)for(var c=i[l++],h=i[l++],d=1;d0){var g=(c+f)/2-(h-p)*r,v=(h+p)/2-(f-c)*r;if(a.containStroke(c,h,g,v,f,p))return s}else if(o.containStroke(c,h,f,p))return s;s++}return-1}});function l(){this.group=new i.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(e){this.group.removeAll();var t=new s({rectHover:!0,cursor:"default"});t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e),this.group.add(t),this._incremental=null},u.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>5e5?(this._incremental||(this._incremental=new r({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(e,t){var n=new s;n.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(n,t,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=e.start,this.group.add(n))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(e,t,n){var i=t.hostModel;e.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),e.useStyle(i.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var r=t.getVisual("color");r&&e.setStyle("stroke",r),e.setStyle("fill"),n||(e.seriesIndex=i.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>0&&(e.dataIndex=n+e.__startIndex)})))},u._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var c=l;e.exports=c},bd8a:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("333f")),o=n("cbe1"),a=n("fd6c"),s=n("efdc"),l=["#ddd"],u=r.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(e,t){var n=this.option;!t&&a.replaceVisualOption(n,e,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:l},i.hasOwnProperty("liftZ")||(i.liftZ=5)},setAreas:function(e){e&&(this.areas=o.map(e,(function(e){return c(this.option,e)}),this))},setBrushOption:function(e){this.brushOption=c(this.option,e),this.brushType=this.brushOption.brushType}});function c(e,t){return o.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new s(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var h=u;e.exports=h},bdbc:function(e,t,n){var i=n("c512"),r=n("cbe1");function o(e,t){i.call(this,e,t,["filter"],"__filter_in_use__","_shadowDom")}function a(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY||e.textShadowBlur||e.textShadowOffsetX||e.textShadowOffsetY)}r.inherits(o,i),o.prototype.addWithoutUpdate=function(e,t){if(t&&a(t.style)){var n;if(t._shadowDom){n=t._shadowDom;var i=this.getDefs(!0);i.contains(t._shadowDom)||this.addDom(n)}else n=this.add(t);this.markUsed(t);var r=n.getAttribute("id");e.style.filter="url(#"+r+")"}},o.prototype.add=function(e){var t=this.createElement("filter");return e._shadowDomId=e._shadowDomId||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-shadow-"+e._shadowDomId),this.updateDom(e,t),this.addDom(t),t},o.prototype.update=function(e,t){var n=t.style;if(a(n)){var r=this;i.prototype.update.call(this,t,(function(){r.updateDom(t,t._shadowDom)}))}else this.remove(e,t)},o.prototype.remove=function(e,t){null!=t._shadowDomId&&(this.removeDom(e),e.style.filter="")},o.prototype.updateDom=function(e,t){var n=t.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var i,r,o,a,s=e.style,l=e.scale&&e.scale[0]||1,u=e.scale&&e.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)i=s.shadowOffsetX||0,r=s.shadowOffsetY||0,o=s.shadowBlur,a=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(t,s);i=s.textShadowOffsetX||0,r=s.textShadowOffsetY||0,o=s.textShadowBlur,a=s.textShadowColor}n.setAttribute("dx",i/l),n.setAttribute("dy",r/u),n.setAttribute("flood-color",a);var c=o/2/l,h=o/2/u,d=c+" "+h;n.setAttribute("stdDeviation",d),t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width",Math.ceil(o/2*200)+"%"),t.setAttribute("height",Math.ceil(o/2*200)+"%"),t.appendChild(n),e._shadowDom=t},o.prototype.markUsed=function(e){e._shadowDom&&i.prototype.markUsed.call(this,e._shadowDom)};var s=o;e.exports=s},bde7:function(e,t,n){var i=n("cbe1"),r=n("2dda"),o=n("337b"),a=n("db6e"),s=n("c61e"),l=["axisLine","axisTickLabel","axisName"],u=["splitArea","splitLine"],c=a.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(e,t,n,a){this.group.removeAll();var h=this._axisGroup;if(this._axisGroup=new r.Group,this.group.add(this._axisGroup),e.get("show")){var d=e.getCoordSysModel(),f=s.layout(d,e),p=new o(e,f);i.each(l,p.add,p),this._axisGroup.add(p.getGroup()),i.each(u,(function(t){e.get(t+".show")&&this["_"+t](e,d)}),this),r.groupTransition(h,this._axisGroup,e),c.superCall(this,"render",e,t,n,a)}},remove:function(){this._splitAreaColors=null},_splitLine:function(e,t){var n=e.axis;if(!n.scale.isBlank()){var o=e.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=i.isArray(s)?s:[s];for(var l=t.coordinateSystem.getRect(),u=n.isHorizontal(),c=0,h=n.getTicksCoords({tickModel:o}),d=[],f=[],p=a.getLineStyle(),g=0;g=1)&&(e=1),e}s===u&&l===d||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,a=h(this,i)),this._modBy=u,this._modDataCount=d;var p=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,v=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!i&&(a||g1&&i>0?s:a}};return o;function a(){return t=e?null:o=r||v<0)break;if(f(y)){if(p){v+=o;continue}break}if(v===n)e[o>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=t[g],_="y"===c?1:0,b=(y[_]-x[_])*l;u(h,x),h[_]=x[_]+b,u(d,y),d[_]=y[_]-b,e.bezierCurveTo(h[0],h[1],d[0],d[1],y[0],y[1])}else e.lineTo(y[0],y[1]);g=v,v+=o}return m}function v(e,t,n,i,o,p,g,v,m,y,x){for(var _=0,b=n,w=0;w=o||b<0)break;if(f(S)){if(x){b+=p;continue}break}if(b===n)e[p>0?"moveTo":"lineTo"](S[0],S[1]),u(h,S);else if(m>0){var M=b+p,I=t[M];if(x)while(I&&f(t[M]))M+=p,I=t[M];var A=.5,T=t[_];I=t[M];if(!I||f(I))u(d,S);else{var D,P;if(f(I)&&!x&&(I=S),r.sub(c,I,T),"x"===y||"y"===y){var C="x"===y?0:1;D=Math.abs(S[C]-T[C]),P=Math.abs(S[C]-I[C])}else D=r.dist(S,T),P=r.dist(S,I);A=P/(P+D),l(d,S,c,-m*(1-A))}a(h,h,v),s(h,h,g),a(d,d,v),s(d,d,g),e.bezierCurveTo(h[0],h[1],d[0],d[1],S[0],S[1]),l(h,S,c,m*A)}else e.lineTo(S[0],S[1]);_=b,b+=p}return w}function m(e,t){var n=[1/0,1/0],i=[-1/0,-1/0];if(t)for(var r=0;ri[0]&&(i[0]=o[0]),o[1]>i[1]&&(i[1]=o[1])}return{min:t?n:i,max:t?i:n}}var y=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:o(i.prototype.brush),buildPath:function(e,t){var n=t.points,i=0,r=n.length,o=m(n,t.smoothConstraint);if(t.connectNulls){for(;r>0;r--)if(!f(n[r-1]))break;for(;i0;o--)if(!f(n[o-1]))break;for(;r=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}}}),d=h;e.exports=d},c26f:function(e,t,n){var i=n("2dda"),r=i.subPixelOptimize,o=n("33f3"),a=n("55ba"),s=a.parsePercent,l=n("cbe1"),u=l.retrieve2,c="undefined"!==typeof Float32Array?Float32Array:Array,h={seriesType:"candlestick",plan:o(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),i=f(e,n),o=0,a=1,s=["x","y"],l=n.mapDimension(s[o]),u=n.mapDimension(s[a],!0),h=u[0],p=u[1],g=u[2],v=u[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(null==l||u.length<4))return{progress:e.pipelineContext.large?y:m};function m(e,n){var s;while(null!=(s=e.next())){var u=n.get(l,s),c=n.get(h,s),f=n.get(p,s),m=n.get(g,s),y=n.get(v,s),x=Math.min(c,f),_=Math.max(c,f),b=A(x,u),w=A(_,u),S=A(m,u),M=A(y,u),I=[];T(I,w,0),T(I,b,1),I.push(P(M),P(w),P(S),P(b)),n.setItemLayout(s,{sign:d(n,s,c,f,p),initBaseline:c>f?w[a]:b[a],ends:I,brushRect:D(m,y,u)})}function A(e,n){var i=[];return i[o]=n,i[a]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(i)}function T(e,t,n){var a=t.slice(),s=t.slice();a[o]=r(a[o]+i/2,1,!1),s[o]=r(s[o]-i/2,1,!0),n?e.push(a,s):e.push(s,a)}function D(e,t,n){var r=A(e,n),s=A(t,n);return r[o]-=i/2,s[o]-=i/2,{x:r[0],y:r[1],width:a?i:s[0]-r[0],height:a?s[1]-r[1]:i}}function P(e){return e[o]=r(e[o],1),e}}function y(e,n){var i,r,s=new c(4*e.count),u=0,f=[],m=[];while(null!=(r=e.next())){var y=n.get(l,r),x=n.get(h,r),_=n.get(p,r),b=n.get(g,r),w=n.get(v,r);isNaN(y)||isNaN(b)||isNaN(w)?(s[u++]=NaN,u+=3):(s[u++]=d(n,r,x,_,p),f[o]=y,f[a]=b,i=t.dataToPoint(f,null,m),s[u++]=i?i[0]:NaN,s[u++]=i?i[1]:NaN,f[a]=w,i=t.dataToPoint(f,null,m),s[u++]=i?i[1]:NaN)}n.setLayout("largePoints",s)}}};function d(e,t,n,i,r){var o;return o=n>i?-1:n0?e.get(r,t-1)<=i?1:-1:1,o}function f(e,t){var n,i=e.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/t.count()),o=s(u(e.get("barMaxWidth"),r),r),a=s(u(e.get("barMinWidth"),1),r),l=e.get("barWidth");return null!=l?s(l,r):Math.max(Math.min(r/2,o),a)}e.exports=h},c31f:function(e,t,n){var i=n("cbe1"),r=n("55ba"),o=r.parsePercent,a=i.each;function s(e){var t=l(e);a(t,(function(e){var t=e.seriesModels;t.length&&(u(e),a(t,(function(t,n){c(t,e.boxOffsetList[n],e.boxWidthList[n])})))}))}function l(e){var t=[],n=[];return e.eachSeriesByType("boxplot",(function(e){var r=e.getBaseAxis(),o=i.indexOf(n,r);o<0&&(o=n.length,n[o]=r,t[o]={axis:r,seriesModels:[]}),t[o].seriesModels.push(e)})),t}function u(e){var t,n,r=e.axis,s=e.seriesModels,l=s.length,u=e.boxWidthList=[],c=e.boxOffsetList=[],h=[];if("category"===r.type)n=r.getBandWidth();else{var d=0;a(s,(function(e){d=Math.max(d,e.getData().count())})),t=r.getExtent(),Math.abs(t[1]-t[0])}a(s,(function(e){var t=e.get("boxWidth");i.isArray(t)||(t=[t,t]),h.push([o(t[0],n)||0,o(t[1],n)||0])}));var f=.8*n-2,p=f/l*.3,g=(f-p*(l-1))/l,v=g/2-f/2;a(s,(function(e,t){c.push(v),v+=p+g,u.push(Math.min(Math.max(g,h[t][0]),h[t][1]))}))}function c(e,t,n){var i=e.coordinateSystem,r=e.getData(),o=n/2,a="horizontal"===e.get("layout")?0:1,s=1-a,l=["x","y"],u=r.mapDimension(l[a]),c=r.mapDimension(l[s],!0);if(!(null==u||c.length<5))for(var h=0;h=0;i--){a=t[i].interval;if(a[0]<=e&&e<=a[1]){o=i;break}}return i>=0&&i=t[0]&&e<=t[1]}}function c(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var h=r.extendChartView({type:"heatmap",render:function(e,t,n){var i;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(n){n===e&&(i=t)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var r=e.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):c(r)&&this._renderOnGeo(r,e,i,n)},incrementalPrepareRender:function(e,t,n){this.group.removeAll()},incrementalRender:function(e,t,n,i){var r=t.coordinateSystem;r&&this._renderOnCartesianAndCalendar(t,i,e.start,e.end,!0)},_renderOnCartesianAndCalendar:function(e,t,n,i,r){var a,l,u=e.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),h=u.getAxis("y");a=c.getBandWidth(),l=h.getBandWidth()}for(var d=this.group,f=e.getData(),p="itemStyle",g="emphasis.itemStyle",v="label",m="emphasis.label",y=e.getModel(p).getItemStyle(["color"]),x=e.getModel(g).getItemStyle(),_=e.getModel(v),b=e.getModel(m),w=u.type,S="cartesian2d"===w?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],M=n;M=e&&(0===t?0:i[t-1][0]).4?"bottom":"middle",textAlign:O<-.4?"left":O>.4?"right":"center"},{autoColor:z}),silent:!0}))}if(x.get("show")&&C!==b){for(var N=0;N<=w;N++){O=Math.cos(I),k=Math.sin(I);var B=new r.Line({shape:{x1:O*g+f,y1:k*g+p,x2:O*(g-M)+f,y2:k*(g-M)+p},silent:!0,style:P});"auto"===P.stroke&&B.setStyle({stroke:i((C+N/w)/b)}),d.add(B),I+=T}I-=T}else I+=A}},_renderPointer:function(e,t,n,o,a,l,c,h){var d=this.group,f=this._data;if(e.get("pointer.show")){var p=[+e.get("min"),+e.get("max")],g=[l,c],v=e.getData(),m=v.mapDimension("value");v.diff(f).add((function(t){var n=new i({shape:{angle:l}});r.initProps(n,{shape:{angle:u(v.get(m,t),p,g,!0)}},e),d.add(n),v.setItemGraphicEl(t,n)})).update((function(t,n){var i=f.getItemGraphicEl(n);r.updateProps(i,{shape:{angle:u(v.get(m,t),p,g,!0)}},e),d.add(i),v.setItemGraphicEl(t,i)})).remove((function(e){var t=f.getItemGraphicEl(e);d.remove(t)})).execute(),v.eachItemGraphicEl((function(e,t){var n=v.getItemModel(t),i=n.getModel("pointer");e.setShape({x:a.cx,y:a.cy,width:s(i.get("width"),a.r),r:s(i.get("length"),a.r)}),e.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===e.style.fill&&e.setStyle("fill",o(u(v.get(m,t),p,[0,1],!0))),r.setHoverStyle(e,n.getModel("emphasis.itemStyle").getItemStyle())})),this._data=v}else f&&f.eachItemGraphicEl((function(e){d.remove(e)}))},_renderTitle:function(e,t,n,i,o){var a=e.getData(),l=a.mapDimension("value"),c=e.getModel("title");if(c.get("show")){var h=c.get("offsetCenter"),d=o.cx+s(h[0],o.r),f=o.cy+s(h[1],o.r),p=+e.get("min"),g=+e.get("max"),v=e.getData().get(l,0),m=i(u(v,[p,g],[0,1],!0));this.group.add(new r.Text({silent:!0,style:r.setTextStyle({},c,{x:d,y:f,text:a.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:m,forceRich:!0})}))}},_renderDetail:function(e,t,n,i,o){var a=e.getModel("detail"),l=+e.get("min"),c=+e.get("max");if(a.get("show")){var d=a.get("offsetCenter"),f=o.cx+s(d[0],o.r),p=o.cy+s(d[1],o.r),g=s(a.get("width"),o.r),v=s(a.get("height"),o.r),m=e.getData(),y=m.get(m.mapDimension("value"),0),x=i(u(y,[l,c],[0,1],!0));this.group.add(new r.Text({silent:!0,style:r.setTextStyle({},a,{x:f,y:p,text:h(y,a.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(v)?null:v,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}}),p=f;e.exports=p},c4dd:function(e,t,n){var i=n("cbe1"),r=n("2dda"),o=n("d207"),a=n("4ae0"),s=n("6b0b"),l=n("9a33"),u=n("337b");function c(e){var t,n=e.get("type"),i=e.getModel(n+"Style");return"line"===n?(t=i.getLineStyle(),t.fill=null):"shadow"===n&&(t=i.getAreaStyle(),t.stroke=null),t}function h(e,t,n,i,r){var s=n.get("value"),l=f(s,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),u=n.getModel("label"),c=a.normalizeCssArray(u.get("padding")||0),h=u.getFont(),p=o.getBoundingRect(l,h),g=r.position,v=p.width+c[1]+c[3],m=p.height+c[0]+c[2],y=r.align;"right"===y&&(g[0]-=v),"center"===y&&(g[0]-=v/2);var x=r.verticalAlign;"bottom"===x&&(g[1]-=m),"middle"===x&&(g[1]-=m/2),d(g,v,m,i);var _=u.get("backgroundColor");_&&"auto"!==_||(_=t.get("axisLine.lineStyle.color")),e.label={shape:{x:0,y:0,width:v,height:m,r:u.get("borderRadius")},position:g.slice(),style:{text:l,textFont:h,textFill:u.getTextColor(),textPosition:"inside",textPadding:c,fill:_,stroke:u.get("borderColor")||"transparent",lineWidth:u.get("borderWidth")||0,shadowBlur:u.get("shadowBlur"),shadowColor:u.get("shadowColor"),shadowOffsetX:u.get("shadowOffsetX"),shadowOffsetY:u.get("shadowOffsetY")},z2:10}}function d(e,t,n,i){var r=i.getWidth(),o=i.getHeight();e[0]=Math.min(e[0]+t,r)-t,e[1]=Math.min(e[1]+n,o)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function f(e,t,n,r,o){e=t.scale.parse(e);var a=t.scale.getLabel(e,{precision:o.precision}),s=o.formatter;if(s){var u={value:l.getAxisRawValue(t,e),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};i.each(r,(function(e){var t=n.getSeriesByIndex(e.seriesIndex),i=e.dataIndexInside,r=t&&t.getDataParams(i);r&&u.seriesData.push(r)})),i.isString(s)?a=s.replace("{value}",a):i.isFunction(s)&&(a=s(u))}return a}function p(e,t,n){var i=s.create();return s.rotate(i,i,n.rotation),s.translate(i,i,n.position),r.applyTransform([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function g(e,t,n,i,r,o){var a=u.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get("label.margin"),h(t,i,r,o,{position:p(i.axis,e,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function v(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function m(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}function y(e,t,n,i,r,o){return{cx:e,cy:t,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}t.buildElStyle=c,t.buildLabelElOption=h,t.getValueLabel=f,t.getTransformedPosition=p,t.buildCartesianSingleLabelElOption=g,t.makeLineShape=v,t.makeRectShape=m,t.makeSectorShape=y},c4ec:function(e,t,n){var i=n("333f");n("cc09"),n("5146");var r=n("d9c8"),o=n("c31f");i.registerVisual(r),i.registerLayout(o)},c512:function(e,t,n){var i=n("1939"),r=i.createElement,o=n("cbe1"),a=n("2bfc"),s=n("f4be"),l=n("e646"),u=n("ec6a"),c=u.path,h=u.image,d=u.text,f="0",p="1";function g(e,t,n,i,r){this._zrId=e,this._svgRoot=t,this._tagNames="string"===typeof n?[n]:n,this._markLabel=i,this._domName=r||"_dom",this.nextId=0}g.prototype.createElement=r,g.prototype.getDefs=function(e){var t=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");return 0===n.length?e?(n=t.insertBefore(this.createElement("defs"),t.firstChild),n.contains||(n.contains=function(e){var t=n.children;if(!t)return!1;for(var i=t.length-1;i>=0;--i)if(t[i]===e)return!0;return!1}),n):null:n[0]},g.prototype.update=function(e,t){if(e){var n=this.getDefs(!1);if(e[this._domName]&&n.contains(e[this._domName]))"function"===typeof t&&t(e);else{var i=this.add(e);i&&(e[this._domName]=i)}}},g.prototype.addDom=function(e){var t=this.getDefs(!0);t.appendChild(e)},g.prototype.removeDom=function(e){var t=this.getDefs(!1);t&&e[this._domName]&&(t.removeChild(e[this._domName]),e[this._domName]=null)},g.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var t=[];return o.each(this._tagNames,(function(n){var i=e.getElementsByTagName(n);t=t.concat([].slice.call(i))})),t},g.prototype.markAllUnused=function(){var e=this.getDoms(),t=this;o.each(e,(function(e){e[t._markLabel]=f}))},g.prototype.markUsed=function(e){e&&(e[this._markLabel]=p)},g.prototype.removeUnused=function(){var e=this.getDefs(!1);if(e){var t=this.getDoms(),n=this;o.each(t,(function(t){t[n._markLabel]!==p&&e.removeChild(t)}))}},g.prototype.getSvgProxy=function(e){return e instanceof a?c:e instanceof s?h:e instanceof l?d:c},g.prototype.getTextSvgElement=function(e){return e.__textSvgEl},g.prototype.getSvgElement=function(e){return e.__svgEl};var v=g;e.exports=v},c548:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=n("7ad8"),a=n("0a20"),s=n("aa9e"),l=n("2dda"),u=n("5c3e"),c=n("c00a"),h=c.Polyline,d=c.Polygon,f=n("e8c2"),p=n("3e88"),g=p.prepareDataCoordInfo,v=p.getStackedOnPoint,m=n("32bc"),y=m.createGridClipPath,x=m.createPolarClipPath;function _(e,t){if(e.length===t.length){for(var n=0;n=0;a--){var s=n[a].dimension,u=e.dimensions[s],c=e.getDimensionInfo(u);if(i=c&&c.coordDim,"x"===i||"y"===i){o=n[a];break}}if(o){var h=t.getAxis(i),d=r.map(o.stops,(function(e){return{coord:h.toGlobalCoord(h.dataToCoord(e.value)),color:e.color}})),f=d.length,p=o.outerColors.slice();f&&d[0].coord>d[f-1].coord&&(d.reverse(),p.reverse());var g=10,v=d[0].coord-g,m=d[f-1].coord+g,y=m-v;if(y<.001)return"transparent";r.each(d,(function(e){e.offset=(e.coord-v)/y})),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 x=new l.LinearGradient(0,0,0,0,d,!0);return x[i]=v,x[i+"2"]=m,x}}}function I(e,t,n){var i=e.get("showAllSymbol"),o="auto"===i;if(!i||o){var a=n.getAxesByScale("ordinal")[0];if(a&&(!o||!A(a,t))){var s=t.mapDimension(a.dim),l={};return r.each(a.getViewLabels(),(function(e){l[e.tickValue]=1})),function(e){return!l.hasOwnProperty(t.get(s,e))}}}}function A(e,t){var n=e.getExtent(),i=Math.abs(n[1]-n[0])/e.scale.count();isNaN(i)&&(i=0);for(var r=t.count(),o=Math.max(1,Math.round(r/5)),s=0;si)return!1;return!0}function T(e,t,n){if("cartesian2d"===e.type){var i=e.getBaseAxis().isHorizontal(),r=y(e,t,n);if(!n.get("clip",!0)){var o=r.shape,a=Math.max(o.width,o.height);i?(o.y-=a,o.height+=2*a):(o.x-=a,o.width+=2*a)}return r}return x(e,t,n)}var D=f.extend({type:"line",init:function(){var e=new l.Group,t=new o;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,n){var i=e.coordinateSystem,o=this.group,a=e.getData(),s=e.getModel("lineStyle"),l=e.getModel("areaStyle"),u=a.mapArray(a.getItemLayout),c="polar"===i.type,h=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,v=this._lineGroup,m=e.get("animation"),y=!l.isEmpty(),x=l.get("origin"),A=g(i,a,x),D=w(i,a,A),P=e.get("showSymbol"),C=P&&!c&&I(e,a,i),O=this._data;O&&O.eachItemGraphicEl((function(e,t){e.__temp&&(o.remove(e),O.setItemGraphicEl(t,null))})),P||d.remove(),o.add(v);var k,L=!c&&e.get("step");i&&i.getArea&&(k=i.getArea(),null!=k.width?(k.x-=.1,k.y-=.1,k.width+=.2,k.height+=.2):k.r0&&(k.r0-=.5,k.r1+=.5)),f&&h.type===i.type&&L===this._step?(y&&!p?p=this._newPolygon(u,D,i,m):p&&!y&&(v.remove(p),p=this._polygon=null),v.setClipPath(T(i,!1,e)),P&&d.updateData(a,{isIgnore:C,clipShape:k}),a.eachItemGraphicEl((function(e){e.stopAnimation(!0)})),_(this._stackedOnPoints,D)&&_(this._points,u)||(m?this._updateAnimation(a,D,i,n,L,x):(L&&(u=S(u,i,L),D=S(D,i,L)),f.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:D})))):(P&&d.updateData(a,{isIgnore:C,clipShape:k}),L&&(u=S(u,i,L),D=S(D,i,L)),f=this._newPolyline(u,i,m),y&&(p=this._newPolygon(u,D,i,m)),v.setClipPath(T(i,!0,e)));var E=M(a,i)||a.getVisual("color");f.useStyle(r.defaults(s.getLineStyle(),{fill:"none",stroke:E,lineJoin:"bevel"}));var R=e.get("smooth");if(R=b(e.get("smooth")),f.setShape({smooth:R,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),p){var z=a.getCalculationInfo("stackedOnSeries"),N=0;p.useStyle(r.defaults(l.getAreaStyle(),{fill:E,opacity:.7,lineJoin:"bevel"})),z&&(N=b(z.get("smooth"))),p.setShape({smooth:R,stackedOnSmooth:N,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=a,this._coordSys=i,this._stackedOnPoints=D,this._points=u,this._step=L,this._valueOrigin=x},dispose:function(){},highlight:function(e,t,n,i){var r=e.getData(),o=u.queryDataIndex(r,i);if(!(o instanceof Array)&&null!=o&&o>=0){var s=r.getItemGraphicEl(o);if(!s){var l=r.getItemLayout(o);if(!l)return;s=new a(r,o),s.position=l,s.setZ(e.get("zlevel"),e.get("z")),s.ignore=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else f.prototype.highlight.call(this,e,t,n,i)},downplay:function(e,t,n,i){var r=e.getData(),o=u.queryDataIndex(r,i);if(null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else f.prototype.downplay.call(this,e,t,n,i)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new h({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t,t},_newPolygon:function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new d({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(e,t,n,i,r,o){var a=this._polyline,u=this._polygon,c=e.hostModel,h=s(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,o),d=h.current,f=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;r&&(d=S(h.current,n,r),f=S(h.stackedOnCurrent,n,r),p=S(h.next,n,r),g=S(h.stackedOnNext,n,r)),a.shape.__points=h.current,a.shape.points=d,l.updateProps(a,{shape:{points:p}},c),u&&(u.setShape({points:d,stackedOnPoints:f}),l.updateProps(u,{shape:{points:p,stackedOnPoints:g}},c));for(var v=[],m=h.status,y=0;yM.x,w||(b-=Math.PI));var T=w?"left":"right",D=l.labelModel.get("rotate"),P=D*(Math.PI/180);x.setStyle({textPosition:l.labelModel.get("position")||T,textRotation:null==D?-b:P,textOrigin:"center",verticalAlign:"middle"})}if(c.parentNode&&c.parentNode!==d){var C=n.__edge;C||(C=n.__edge=new r.BezierCurve({shape:_(l,v,v),style:i.defaults({opacity:0,strokeNoScale:!0},l.lineStyle)})),r.updateProps(C,{shape:_(l,g,y),style:{opacity:1}},s),a.add(C)}}function x(e,t,n,i,o,a){var s,l=e.tree.getNodeByDataIndex(t),u=e.tree.root,c=l.getModel(),h=(a=m(l,c,a),l.parentNode===u?l:l.parentNode||l);while(s=h.getLayout(),null==s)h=h.parentNode===u?h:h.parentNode||h;r.updateProps(n,{position:[s.x+1,s.y+1]},o,(function(){i.remove(n),e.setItemGraphicEl(t,null)})),n.fadeOut(null,{keepLabel:!0});var d=n.__edge;d&&r.updateProps(d,{shape:_(a,s,s),style:{opacity:0}},o,(function(){i.remove(d)}))}function _(e,t,n){var i,r,o,a,l,u,c,h,d=e.orient;if("radial"===e.layout){l=t.rawX,c=t.rawY,u=n.rawX,h=n.rawY;var f=s(l,c),p=s(l,c+(h-c)*e.curvature),g=s(u,h+(c-h)*e.curvature),v=s(u,h);return{x1:f.x,y1:f.y,x2:v.x,y2:v.y,cpx1:p.x,cpy1:p.y,cpx2:g.x,cpy2:g.y}}return l=t.x,c=t.y,u=n.x,h=n.y,"LR"!==d&&"RL"!==d||(i=l+(u-l)*e.curvature,r=c,o=u+(l-u)*e.curvature,a=h),"TB"!==d&&"BT"!==d||(i=l,r=c+(h-c)*e.curvature,o=u,a=h+(c-h)*e.curvature),{x1:l,y1:c,x2:u,y2:h,cpx1:i,cpy1:r,cpx2:o,cpy2:a}}e.exports=g},c7ac:function(e,t,n){var i=n("7ae1"),r=i.retrieveRawValue,o=n("4ae0"),a=o.getTooltipMarker,s=o.formatTpl,l=n("5c3e"),u=l.getTooltipRenderMode,c=/\{@(.+?)\}/g,h={getDataParams:function(e,t){var n=this.getData(t),i=this.getRawValue(e,t),r=n.getRawIndex(e),o=n.getName(e),s=n.getRawDataItem(e),l=n.getItemVisual(e,"color"),c=n.getItemVisual(e,"borderColor"),h=this.ecModel.getComponent("tooltip"),d=h&&h.get("renderMode"),f=u(d),p=this.mainType,g="series"===p,v=n.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:g?this.subType:null,seriesIndex:this.seriesIndex,seriesId:g?this.id:null,seriesName:g?this.name:null,name:o,dataIndex:r,data:s,dataType:t,value:i,color:l,borderColor:c,dimensionNames:v?v.dimensionNames:null,encode:v?v.encode:null,marker:a({color:l,renderMode:f}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(e,t,n,i,o){t=t||"normal";var a=this.getData(n),l=a.getItemModel(e),u=this.getDataParams(e,n);null!=i&&u.value instanceof Array&&(u.value=u.value[i]);var h=l.get("normal"===t?[o||"label","formatter"]:[t,o||"label","formatter"]);if("function"===typeof h)return u.status=t,u.dimensionIndex=i,h(u);if("string"===typeof h){var d=s(h,u);return d.replace(c,(function(t,n){var i=n.length;return"["===n.charAt(0)&&"]"===n.charAt(i-1)&&(n=+n.slice(1,i-1)),r(a,e,n)}))}},getRawValue:function(e,t){return r(this.getData(t),e)},formatTooltip:function(){}};e.exports=h},c7bf:function(e,t,n){"use strict";var i=n("2423"),r=n.n(i);r.a},c7cf:function(e,t,n){var i=n("cbe1"),r=n("d36d"),o=function(e,t,n,i,o){r.call(this,e,t,n),this.type=i||"value",this.axisIndex=o};o.prototype={constructor:o,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},i.inherits(o,r);var a=o;e.exports=a},c816:function(e,t,n){var i=n("33f3"),r=["itemStyle","borderColor"],o=["itemStyle","borderColor0"],a=["itemStyle","color"],s=["itemStyle","color0"],l={seriesType:"candlestick",plan:i(),performRawSeries:!0,reset:function(e,t){var n=e.getData(),i=e.pipelineContext.large;if(n.setVisual({legendSymbol:"roundRect",colorP:u(1,e),colorN:u(-1,e),borderColorP:c(1,e),borderColorN:c(-1,e)}),!t.isSeriesFiltered(e))return!i&&{progress:l};function l(e,t){var n;while(null!=(n=e.next())){var i=t.getItemModel(n),r=t.getItemLayout(n).sign;t.setItemVisual(n,{color:u(r,i),borderColor:c(r,i)})}}function u(e,t){return t.get(e>0?a:s)}function c(e,t){return t.get(e>0?r:o)}}};e.exports=l},c863:function(e,t,n){var i=n("4790"),r=n("1d52"),o=n("4ae0"),a=o.encodeHTML,s=n("efdc"),l=n("775e"),u=(l.__DEV__,i.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(e,t){for(var n=e.edges||e.links,i=e.data||e.nodes,o=e.levels,a=this.levelModels={},l=0;l=0&&(a[o[l].depth]=new s(o[l],this,t));if(i&&n){var u=r(i,n,this,!0,c);return u.data}function c(e,t){e.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var n=this.parentModel,i=n.getData().getItemLayout(t).depth,r=n.levelModels[i];return r||this.parentModel})),e})),t.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var n=this.parentModel,i=n.getGraph().getEdgeByIndex(t),r=i.node1.getLayout().depth,o=n.levelModels[r];return o||this.parentModel})),e}))}},setNodePosition:function(e,t){var n=this.option.data[e];n.localX=t[0],n.localY=t[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(e,t,n){if("edge"===n){var i=this.getDataParams(e,n),r=i.data,o=r.source+" -- "+r.target;return i.value&&(o+=" : "+i.value),a(o)}if("node"===n){var s=this.getGraph().getNodeByIndex(e),l=s.getLayout().value,c=this.getDataParams(e,n).data.name;if(l)o=c+" : "+l;return a(o)}return u.superCall(this,"formatTooltip",e,t)},optionUpdated:function(){var e=this.option;!0===e.focusNodeAdjacency&&(e.focusNodeAdjacency="allEdges")},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.6}},animationEasing:"linear",animationDuration:1e3}})),c=u;e.exports=c},c8ad:function(e,t,n){n("ca6b"),n("c4a1")},c975:function(e,t,n){"use strict";var i=n("23e7"),r=n("4d64").indexOf,o=n("b301"),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,l=o("indexOf");i({target:"Array",proto:!0,forced:s||l},{indexOf:function(e){return s?a.apply(this,arguments)||0:r(this,e,arguments.length>1?arguments[1]:void 0)}})},ca6b:function(e,t,n){var i=n("4790"),r=n("9bc4"),o=n("d1a1"),a=i.extend({type:"series.heatmap",getInitialData:function(e,t){return r(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var e=o.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});e.exports=a},caf6:function(e,t,n){var i=n("cbe1"),r=i.inherits,o=n("094f"),a=n("1bb8");function s(e){o.call(this,e),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(e,t){t?this._temporaryDisplayables.push(e):this._displayables.push(e),this.dirty()},s.prototype.addDisplayables=function(e,t){t=t||!1;for(var n=0;nt&&(t=i.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,i=n.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0)){var t,n=this.hostTree,i=n.data.getItemModel(this.dataIndex),r=this.getLevelModel();return r||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(t=this.getLeavesModel()),i.getModel(e,(r||t||n.hostModel).getModel(e))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(e){var t=e.parentNode;while(t){if(t===this)return!0;t=t.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}},u.prototype={constructor:u,type:"tree",eachNode:function(e,t,n){this.root.eachNode(e,t,n)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,n=0,i=t.length;n=a&&h+1>=s){for(var d=[],f=0;f=a&&f+1>=s)return i(o,u.components,t,e);c[n]=u}else c[n]=void 0}l++}while(l<=u){var g=p();if(g)return g}},pushComponent:function(e,t,n){var i=e[e.length-1];i&&i.added===t&&i.removed===n?e[e.length-1]={count:i.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,i){var r=t.length,o=n.length,a=e.newPos,s=a-i,l=0;while(a+1f&&(d=0,h={}),d++,h[n]=r,r}function x(e,t,n,i,r,o,a,s){return a?b(e,t,n,i,r,o,a,s):_(e,t,n,i,r,o,s)}function _(e,t,n,r,o,a,s){var l=k(e,t,o,a,s),u=y(e,t);o&&(u+=o[1]+o[3]);var c=l.outerHeight,h=w(0,u,n),d=S(0,c,r),f=new i(h,d,u,c);return f.lineHeight=l.lineHeight,f}function b(e,t,n,r,o,a,s,l){var u=L(e,{rich:s,truncate:l,font:t,textAlign:n,textPadding:o,textLineHeight:a}),c=u.outerWidth,h=u.outerHeight,d=w(0,c,n),f=S(0,h,r);return new i(d,f,c,h)}function w(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function S(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function M(e,t,n){var i=t.textPosition,r=t.textDistance,o=n.x,a=n.y;r=r||0;var s=n.height,l=n.width,u=s/2,c="left",h="top";switch(i){case"left":o-=r,a+=u,c="right",h="middle";break;case"right":o+=r+l,a+=u,h="middle";break;case"top":o+=l/2,a-=r,c="center",h="bottom";break;case"bottom":o+=l/2,a+=s+r,c="center";break;case"inside":o+=l/2,a+=u,c="center",h="middle";break;case"insideLeft":o+=r,a+=u,h="middle";break;case"insideRight":o+=l-r,a+=u,c="right",h="middle";break;case"insideTop":o+=l/2,a+=r,c="center";break;case"insideBottom":o+=l/2,a+=s-r,c="center",h="bottom";break;case"insideTopLeft":o+=r,a+=r;break;case"insideTopRight":o+=l-r,a+=r,c="right";break;case"insideBottomLeft":o+=r,a+=s-r,h="bottom";break;case"insideBottomRight":o+=l-r,a+=s-r,c="right",h="bottom";break}return e=e||{},e.x=o,e.y=a,e.textAlign=c,e.textVerticalAlign=h,e}function I(e,t,n){var i={textPosition:e,textDistance:n};return M({},i,t)}function A(e,t,n,i,r){if(!t)return"";var o=(e+"").split("\n");r=T(t,n,i,r);for(var a=0,s=o.length;a=o;u++)a-=o;var c=y(n,t);return c>a&&(n="",c=0),a=e-c,i.ellipsis=n,i.ellipsisWidth=c,i.contentWidth=a,i.containerWidth=e,i}function D(e,t){var n=t.containerWidth,i=t.font,r=t.contentWidth;if(!n)return"";var o=y(e,i);if(o<=n)return e;for(var a=0;;a++){if(o<=r||a>=t.maxIterations){e+=t.ellipsis;break}var s=0===a?P(e,r,t.ascCharWidth,t.cnCharWidth):o>0?Math.floor(e.length*r/o):0;e=e.substr(0,s),o=y(e,i)}return""===e&&(e=t.placeholder),e}function P(e,t,n,i){for(var r=0,o=0,a=e.length;oh)e="",a=[];else if(null!=d)for(var f=T(d-(n?n[1]+n[3]:0),t,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),p=0,g=a.length;po&&E(n,e.substring(o,a)),E(n,i[2],i[1]),o=p.lastIndex}om)return{lines:[],width:0,height:0};M.textWidth=y(M.text,D);var O=I.textWidth,k=null==O||"auto"===O;if("string"===typeof O&&"%"===O.charAt(O.length-1))M.percentWidth=O,d.push(M),O=0;else{if(k){O=M.textWidth;var L=I.textBackgroundColor,R=L&&L.image;R&&(R=r.findExistImage(R),r.isImageReady(R)&&(O=Math.max(O,R.width*P/R.height)))}var z=T?T[1]+T[3]:0;O+=z;var N=null!=v?v-w:null;null!=N&&Nl[1];p(t[0].coord,l[0])&&(i?t[0].coord=l[0]:t.shift()),i&&p(l[0],t[0].coord)&&t.unshift({coord:l[0]}),p(l[1],a.coord)&&(i?a.coord=l[1]:t.pop()),i&&p(a.coord,l[1])&&t.push({coord:l[1]})}function p(e,t){return e=u(e),t=u(t),f?e>t:e=n&&e<=i},containData:function(e){return this.contain(this.dataToCoord(e))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(e){return l(e||this.scale.getExtent(),this._extent)},setExtent:function(e,t){var n=this._extent;n[0]=e,n[1]=t},dataToCoord:function(e,t){var n=this._extent,i=this.scale;return e=i.normalize(e),this.onBand&&"ordinal"===i.type&&(n=n.slice(),v(n,i.count())),s(e,p,n,t)},coordToData:function(e,t){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&(n=n.slice(),v(n,i.count()));var r=s(e,n,p,t);return this.scale.scale(r)},pointToData:function(e,t){},getTicksCoords:function(e){e=e||{};var t=e.tickModel||this.getTickModel(),n=h(this,t),i=n.ticks,r=o(i,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this),a=t.get("alignWithLabel");return m(this,r,a,e.clamp),r},getViewLabels:function(){return d(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(e[1]-e[0]);return Math.abs(i)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}};var y=g;e.exports=y},d399:function(e,t,n){var i=n("1939"),r=i.createElement,o=n("cbe1"),a=n("daf1"),s=n("2bfc"),l=n("f4be"),u=n("e646"),c=n("cd5e"),h=n("973e"),d=n("f49c"),f=n("bdbc"),p=n("ec6a"),g=p.path,v=p.image,m=p.text;function y(e){return parseInt(e,10)}function x(e){return e instanceof s?g:e instanceof l?v:e instanceof u?m:g}function _(e,t){return t&&e&&t.parentNode!==e}function b(e,t,n){if(_(e,t)&&n){var i=n.nextSibling;i?e.insertBefore(t,i):e.appendChild(t)}}function w(e,t){if(_(e,t)){var n=e.firstChild;n?e.insertBefore(t,n):e.appendChild(t)}}function S(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)}function M(e){return e.__textSvgEl}function I(e){return e.__svgEl}var A=function(e,t,n,i){this.root=e,this.storage=t,this._opts=n=o.extend({},n||{});var a=r("svg");a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("version","1.1"),a.setAttribute("baseProfile","full"),a.style.cssText="user-select:none;position:absolute;left:0;top:0;",this.gradientManager=new h(i,a),this.clipPathManager=new d(i,a),this.shadowManager=new f(i,a);var s=document.createElement("div");s.style.cssText="overflow:hidden;position:relative",this._svgRoot=a,this._viewport=s,e.appendChild(s),s.appendChild(a),this.resize(n.width,n.height),this._visibleList=[]};function T(e){return function(){a('In SVG mode painter not support method "'+e+'"')}}A.prototype={constructor:A,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0);this._paintList(e)},setBackgroundColor:function(e){this._viewport.style.background=e},_paintList:function(e){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var t,n=this._svgRoot,i=this._visibleList,r=e.length,o=[];for(t=0;t=0;--i)if(t[i]===e)return!0;return!1}),n}return null}return n[0]},resize:function(e,t){var n=this._viewport;n.style.display="none";var i=this._opts;if(null!=e&&(i.width=e),null!=t&&(i.height=t),e=this._getSize(0),t=this._getSize(1),n.style.display="",this._width!==e||this._height!==t){this._width=e,this._height=t;var r=n.style;r.width=e+"px",r.height=t+"px";var o=this._svgRoot;o.setAttribute("width",e),o.setAttribute("height",t)}},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(e){var t=this._opts,n=["width","height"][e],i=["clientWidth","clientHeight"][e],r=["paddingLeft","paddingTop"][e],o=["paddingRight","paddingBottom"][e];if(null!=t[n]&&"auto"!==t[n])return parseFloat(t[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[i]||y(s[n])||y(a.style[n]))-(y(s[r])||0)-(y(s[o])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},pathToDataUrl:function(){this.refresh();var e=this._svgRoot.outerHTML;return"data:image/svg+xml;charset=UTF-8,"+e}},o.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],(function(e){A.prototype[e]=T(e)}));var D=A;e.exports=D},d3c9:function(e,t,n){var i=n("2bfc"),r=n("4a90"),o=i.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(e,t){r.buildPath(e,t,!1)}});e.exports=o},d3d5:function(e,t){function n(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),i=e.getGraph(),r=i.data,o=n.mapArray(n.getName);r.filterSelf((function(e){var n=r.getItemModel(e),i=n.getShallow("category");if(null!=i){"number"===typeof i&&(i=o[i]);for(var a=0;a3&&(r=n.call(r,1));for(var a=t.length,s=0;s4&&(r=n.call(r,1,r.length-1));for(var a=r[r.length-1],s=t.length,l=0;l{n[e]=t[e]}),n}function g(e,t,n){let i=window.getComputedStyle(e,n||null)||{display:"none"};return i[t]}function v(e){if(!document.documentElement.contains(e))return{detached:!0,rendered:!1};let t=e;while(t!==document){if("none"===g(t,"display"))return{detached:!1,rendered:!1};t=t.parentNode}return{detached:!1,rendered:!0}}var m='.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 y=0,x=null;function _(e,t){e.__resize_mutation_handler__||(e.__resize_mutation_handler__=S.bind(e));let n=e.__resize_listeners__;if(!n)if(e.__resize_listeners__=[],window.ResizeObserver){let{offsetWidth:t,offsetHeight:n}=e,i=new ResizeObserver(()=>{(e.__resize_observer_triggered__||(e.__resize_observer_triggered__=!0,e.offsetWidth!==t||e.offsetHeight!==n))&&I(e)}),{detached:r,rendered:o}=v(e);e.__resize_observer_triggered__=!1===r&&!1===o,e.__resize_observer__=i,i.observe(e)}else if(e.attachEvent&&e.addEventListener)e.__resize_legacy_resize_handler__=function(){I(e)},e.attachEvent("onresize",e.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);else if(y||(x=f(m)),A(e),e.__resize_rendered__=v(e).rendered,window.MutationObserver){let t=new MutationObserver(e.__resize_mutation_handler__);t.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),e.__resize_mutation_observer__=t}e.__resize_listeners__.push(t),y++}function b(e,t){if(e.detachEvent&&e.removeEventListener)return e.detachEvent("onresize",e.__resize_legacy_resize_handler__),void document.removeEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);let n=e.__resize_listeners__;n&&(n.splice(n.indexOf(t),1),n.length||(e.__resize_observer__?(e.__resize_observer__.unobserve(e),e.__resize_observer__.disconnect(),e.__resize_observer__=null):(e.__resize_mutation_observer__&&(e.__resize_mutation_observer__.disconnect(),e.__resize_mutation_observer__=null),e.removeEventListener("scroll",M),e.removeChild(e.__resize_triggers__.triggers),e.__resize_triggers__=null),e.__resize_listeners__=null),!--y&&x&&x.parentNode.removeChild(x))}function w(e){let{width:t,height:n}=e.__resize_last__,{offsetWidth:i,offsetHeight:r}=e;return i!==t||r!==n?{width:i,height:r}:null}function S(){let{rendered:e,detached:t}=v(this);e!==this.__resize_rendered__&&(!t&&this.__resize_triggers__&&(T(this),this.addEventListener("scroll",M,!0)),this.__resize_rendered__=e,I(this))}function M(){T(this),this.__resize_raf__&&d(this.__resize_raf__),this.__resize_raf__=c(()=>{let e=w(this);e&&(this.__resize_last__=e,I(this))})}function I(e){e&&e.__resize_listeners__&&e.__resize_listeners__.forEach(t=>{t.call(e)})}function A(e){let t=g(e,"position");t&&"static"!==t||(e.style.position="relative"),e.__resize_old_position__=t,e.__resize_last__={};let n=p("div",{className:"resize-triggers"}),i=p("div",{className:"resize-expand-trigger"}),r=p("div"),o=p("div",{className:"resize-contract-trigger"});i.appendChild(r),n.appendChild(i),n.appendChild(o),e.appendChild(n),e.__resize_triggers__={triggers:n,expand:i,expandChild:r,contract:o},T(e),e.addEventListener("scroll",M,!0),e.__resize_last__={width:e.offsetWidth,height:e.offsetHeight}}function T(e){let{expand:t,expandChild:n,contract:i}=e.__resize_triggers__,{scrollWidth:r,scrollHeight:o}=i,{offsetWidth:a,offsetHeight:s,scrollWidth:l,scrollHeight:u}=t;i.scrollLeft=r,i.scrollTop=o,n.style.width=a+1+"px",n.style.height=s+1+"px",t.scrollLeft=l,t.scrollTop=u}var D,P,C,O,k=["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"],L=["theme","initOptions","autoresize"],E=["manualUpdate","watchShallow"],R={props:{options:Object,theme:[String,Object],initOptions:Object,group:String,autoresize:Boolean,watchShallow:Boolean,manualUpdate:Boolean},data:function(){return{lastArea:0}},watch:{group:function(e){this.chart.group=e}},methods:{mergeOptions:function(e,t,n){this.manualUpdate&&(this.manualOptions=e),this.chart?this.delegateMethod("setOption",e,t,n):this.init()},appendData:function(e){this.delegateMethod("appendData",e)},resize:function(e){this.delegateMethod("resize",e)},dispatchAction:function(e){this.delegateMethod("dispatchAction",e)},convertToPixel:function(e,t){return this.delegateMethod("convertToPixel",e,t)},convertFromPixel:function(e,t){return this.delegateMethod("convertFromPixel",e,t)},containPixel:function(e,t){return this.delegateMethod("containPixel",e,t)},showLoading:function(e,t){this.delegateMethod("showLoading",e,t)},hideLoading:function(){this.delegateMethod("hideLoading")},getDataURL:function(e){return this.delegateMethod("getDataURL",e)},getConnectedDataURL:function(e){return this.delegateMethod("getConnectedDataURL",e)},clear:function(){this.delegateMethod("clear")},dispose:function(){this.delegateMethod("dispose")},delegateMethod:function(e){var t;this.chart||this.init();for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r-1:e.showPanel},on:{change:function(t){var n=e.showPanel,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=null,a=e._i(n,o);i.checked?a<0&&(e.showPanel=n.concat([o])):a>-1&&(e.showPanel=n.slice(0,a).concat(n.slice(a+1)))}else e.showPanel=r}}}),i("span"),i("span"),i("span")]),i("div",{staticClass:"title"},[e._v("Setting Panel")]),i("div",{staticClass:"setting-items"},[i("div",{staticClass:"setting-item"},[i("div",{staticClass:"label"},[i("span",[e._v("连续打分的天数")]),i("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"选择连续统计几天的打分和",placement:"top"}},[i("img",{attrs:{src:n("3130")}})])],1),i("el-select",{attrs:{placeholder:"请选择"},model:{value:e.selectedDaySum,callback:function(t){e.selectedDaySum=t},expression:"selectedDaySum"}},e._l(e.daySumOption,(function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),i("div",{staticClass:"setting-item"},[i("div",{staticClass:"label"},[i("span",[e._v("要显示的 MA")]),i("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"输入以添加更多选项,取值范围为5-100",placement:"top"}},[i("img",{attrs:{src:n("3130")}})])],1),i("el-select",{attrs:{multiple:!0,filterable:!0,"allow-create":!0,"default-first-option":!0,placeholder:"请选择 MA "},on:{change:e.handleMASelect},model:{value:e.selectedMA,callback:function(t){e.selectedMA=t},expression:"selectedMA"}},e._l(e.maOption,(function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),i("div",{staticClass:"setting-item",staticStyle:{"align-items":"stretch"}},[i("div",{staticClass:"row"},[i("span",{staticStyle:{"font-szie":"0.9rem","font-weight":"bold"}},[e._v("显示打分统计结果")]),i("div",{staticStyle:{"flex-grow":"1"}}),i("el-switch",{attrs:{"active-color":"#45B39D","inactive-color":"#CD6155"},model:{value:e.showResult,callback:function(t){e.showResult=t},expression:"showResult"}})],1)]),e.showResult?i("div",{staticClass:"setting-item"},[i("div",{staticClass:"label"},[i("span",[e._v("选择结果类别")]),i("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"查看上升趋势或下降趋势的统计",placement:"top"}},[i("img",{attrs:{src:n("3130")}})])],1),i("el-select",{attrs:{placeholder:"请选择类别 "},on:{change:e.handleResTypeChange},model:{value:e.selectedResType,callback:function(t){e.selectedResType=t},expression:"selectedResType"}},e._l(e.resTypeOption,(function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()])])},F=[],W=(n("99af"),n("b64b"),n("e25e"),n("ac1f"),n("5319"),{data:function(){return{showPanel:!0,selectedDaySum:void 0,selectedMA:[],maOption:[{label:5,value:5},{label:10,value:10},{label:15,value:15},{label:20,value:20}],showResult:!1,selectedResType:0,resTypeOption:[{label:"上升趋势",value:0},{label:"下降趋势",value:1},{label:"上升百分比",value:2}]}},computed:{selectedData:function(){return this.$store.getters["hly/selectedData"]},daySumOption:function(){return 0==this.selectedData.length?[]:Object.keys(this.selectedData[0]).map((function(e){if("sum"===e.substr(0,3))return{label:e,value:e}})).filter((function(e){return void 0!=e}))}},watch:{selectedData:{handler:function(e){},deep:!0,immediate:!0},selectedDaySum:function(e){this.$store.commit("hly/UPDATE",{constant:"daySum",value:parseInt(e.replace("sum_",""))})},showResult:function(e){this.$store.commit("hly/UPDATE",{constant:"showCount",value:e})}},methods:{handleMASelect:function(e){0!=e.length&&isNaN(parseInt(e[e.length-1]))?(this.$message.error("请输入 5 - 100 之间的整数"),this.selectedMA.pop()):(parseInt(e[e.length-1])+""!==e[e.length-1]&&this.$message.warn("输入".concat(e[e.length-1],"包含字符,已转换为").concat(parseInt(e[e.length-1]))),this.selectedMA[e.length-1]=parseInt(e[e.length-1]),(this.selectedMA[e.length-1]>100||this.selectedMA[e.length-1]<5)&&(this.$message.error("请输入 5 -100 之间的整数"),this.selectedMA.pop())),this.$store.commit("hly/UPDATE",{constant:"ma",value:e})},handleResTypeChange:function(e){this.$store.commit("hly/UPDATE",{constant:"currentResType",value:e})}}}),G=W,H=(n("6f01"),Object(N["a"])(G,j,F,!1,null,"f93047be",null)),U=H.exports,Y=(n("c975"),n("13d5"),n("a9e3"),n("acd8"),n("1276"),n("85b7")),Z=n.n(Y),X=n("391c"),q={name:"ct-drag-resize",funtional:!0,props:{ww:{type:Number,default:0},hh:{type:Number,default:0},x:{type:Number,default:0},y:{type:Number,default:0},resizable:{type:Boolean,default:!0},moveable:{type:Boolean,default:!0}},mounted:function(){var e=this;this.$nextTick((function(){var t=e;Z()(e.$el).resizable({inertia:!1,edges:{top:!1,left:!1,bottom:!0,right:!0}}).on("resizemove",Object(X["throttle"])((function(e){var n=e.rect,i=n.width,r=n.height;t.height=r,t.width=i,t.$emit("resizemove",{width:i,height:r})}),16)).draggable({listeners:{start:function(){var e=event.path,n=e.reduce((function(e,t){var n=t.classList;return n?e.concat(n.value.split(" ")):e}),[]),i="chart-output-content",r=n.indexOf(i);t.isDragCancel=-1!==r},move:function(e){var n=e.target,i=e.dx,r=e.dy;if(!t.isDragCancel){var o=(parseFloat(n.getAttribute("data-x"))||0)+i,a=(parseFloat(n.getAttribute("data-y"))||0)+r;t.left+=o,t.top+=a}}}})}))},methods:{dragMoveListener:function(e){if(this.moveable){var t=e.target,n=(parseFloat(t.getAttribute("data-x"))||0)+e.dx,i=(parseFloat(t.getAttribute("data-y"))||0)+e.dy;this.left=n+this.x,this.top=i+this.y,t.setAttribute("data-x",n),t.setAttribute("data-y",i)}}},data:function(){return{top:this.y,left:this.x,width:this.w,height:this.h,isDragCancel:!1}},render:function(){var e=arguments[0],t=this.hh,n=this.ww,i=this.top,r=this.left,o=this.height,a=this.width,s=this.resizable,l="".concat(o||t,"px"),u="".concat(a||n,"px"),c="".concat(r,"px"),h="".concat(i,"px");return e("div",{class:{"ct-drag-resize":!0},style:{width:u,height:l,left:c,top:h,position:"absolute"}},[this.$slots.default,s?e("div",{class:"cdr-handle cdr-handle-br"}):""])}},$=q,K=(n("c7bf"),Object(N["a"])($,D,P,!1,null,"51043153",null)),J=K.exports,Q=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},ee=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"not-found"}},[n("h2",[e._v("404 NOT FOUND")]),n("hr"),n("span",[e._v("Change Code And Try Again")])])}],te={},ne=te,ie=(n("cf91"),Object(N["a"])(ne,Q,ee,!1,null,"1bc22508",null)),re=ie.exports,oe=(n("4286"),n("cf15").default),ae={name:"hlyDetail",components:{Echarts:V,SettingPanel:U,DragResize:J,EmptyPage:re},data:function(){return{ww:800,hh:600,x:100,y:100,moveable:!0,opt:{},resOpt:{},loading:!1,storedData:void 0,currentActive:"echarts"}},computed:{code:function(){var e=this.$route.params.code;return this.processByCode(e),e},ma:function(){return this.$store.getters["hly/ma"]},daySum:function(){return this.$store.getters["hly/daySum"]},currentResType:function(){return this.$store.getters["hly/currentResType"]},showCount:function(){var e=this.$store.getters["hly/showCount"];return e&&this.processResOpt(),e}},mounted:function(){},watch:{daySum:function(e){this.processByCode(this.code)},ma:function(e){this.processByCode(this.code)},currentResType:function(e){this.processResOpt()}},methods:{handleResize:Object(X["debounce"])((function(e,t,n){t.$refs[n].resize(),t.currentActive=n}),10),processResOpt:function(){var e=this,t=function(){return n.e("chunk-451923cc").then(n.bind(null,"aedb"))};t().then((function(t){var i=t.default,r=i({dataPlus:n("24d6"),dataReduce:n("112b"),currentResType:e.currentResType});e.resOpt=Object(X["cloneDeep"])(r),console.log(r)}))},processByCode:function(e){var t,i,r,o=this;return regeneratorRuntime.async((function(a){while(1)switch(a.prev=a.next){case 0:if(this.loading=!0,t=[],!(void 0!==this.storedData&&this.storedData.length>0&&this.storedData[0]["股票代码"].slice(1)==e)){a.next=6;break}t=this.storedData,a.next=11;break;case 6:return a.next=8,regeneratorRuntime.awrap(this.$axios.get("http://stock.catsjuice.top/api/hly",{params:{code:e}}));case 8:i=a.sent,t=i.data.data,this.storedData=t;case 11:r=function(){return n.e("chunk-18a60fce").then(n.bind(null,"cec7"))},r().then((function(e){var n=e.default,i=n({data:t,daySum:o.daySum,ma:o.ma});o.opt=Object(X["cloneDeep"])(i),o.$store.commit("hly/UPDATE",{constant:"selectedData",value:t})})),this.loading=!1;case 14:case"end":return a.stop()}}),null,this)},smallest:function(){this.ww=50,this.hh=50,this.x=0,this.y=0},switchCurrentActive:function(e){this.currentActive=e}},render:function(){var e=this,t=arguments[0],n=this.moveable,i=this.handleResize,r=this.code,o=this.ww,a=this.hh,s=this.x,l=this.y,u={render:"canvas"};if(0==oe.filter((function(e){return e===r})).length)return t("empty-page");var c=t("transition",{attrs:{"enter-active-class":"animated fadeIn","leave-active-class":"animated fadeOutWithouDelay"}},[t("drag-resize",{style:"echarts2"==this.currentActive?"z-index:9999;":"",attrs:{ww:800,hh:800,x:50,y:50,resizable:!0,initOptions:u},on:{resizemove:function(t){return i(t,e,"echarts2")}}},[t("div",{attrs:{id:"print-panel"},on:{mousedown:function(t){return e.switchCurrentActive("echarts2")}}},[t("div",{class:"drag"},[t("span",{class:"chart-output-content"},[t("span"),t("span")]),t("span",{class:"chart-output-content"}),t("span",{class:"chart-output-content"},[t("span")])]),t("echarts",{attrs:{id:"echats",initOptions:u,options:this.resOpt,autoresize:!0},class:"chart-output-content",ref:"echarts2"})])])]);return t("div",{class:"row"},[t("drag-resize",{attrs:{ww:o,hh:a,x:s,y:l,resizable:!0,initOptions:u,moveable:n},style:"echarts"==this.currentActive?"z-index:9999;":"",on:{resizemove:function(t){return i(t,e,"echarts")}}},[t("div",{attrs:{id:"print-panel"},on:{mousedown:function(t){return e.switchCurrentActive("echarts")}}},[t("div",{class:"drag"},[t("span",{class:"chart-output-content"},[t("span"),t("span")]),t("span",{class:"chart-output-content"}),t("span",{class:"chart-output-content",on:{click:this.smallest}},[t("span")])]),t("echarts",{attrs:{id:"echats",initOptions:u,options:this.opt},class:"chart-output-content",ref:"echarts"})])]),this.showCount?c:"",t("setting-panel"),t("transition",{attrs:{"enter-active-class":"animated slideInDown","leave-active-class":"animated fadeOut"}},[this.loading?t("div",{class:"loading"},[t("span",["正在加载..."]),t("span")]):""])])}},se=ae,le=(n("5af3c"),Object(N["a"])(se,C,O,!1,null,null,null));t["default"]=le.exports},d549:function(e,t,n){var i=n("86e8"),r=n("cbe1"),o=n("0f62"),a=o.getDimensionTypeByAxis,s={_baseAxisDim:null,getInitialData:function(e,t){var n,o,s=t.getComponent("xAxis",this.get("xAxisIndex")),l=t.getComponent("yAxis",this.get("yAxisIndex")),u=s.get("type"),c=l.get("type");"category"===u?(e.layout="horizontal",n=s.getOrdinalMeta(),o=!0):"category"===c?(e.layout="vertical",n=l.getOrdinalMeta(),o=!0):e.layout=e.layout||"horizontal";var h=["x","y"],d="horizontal"===e.layout?0:1,f=this._baseAxisDim=h[d],p=h[1-d],g=[s,l],v=g[d].get("type"),m=g[1-d].get("type"),y=e.data;if(y&&o){var x=[];r.each(y,(function(e,t){var n;e.value&&r.isArray(e.value)?(n=e.value.slice(),e.value.unshift(t)):r.isArray(e)?(n=e.slice(),e.unshift(t)):n=e,x.push(n)})),e.data=x}var _=this.defaultValueDimensions;return i(this,{coordDimensions:[{name:f,type:a(v),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:p,type:a(m),dimsDef:_.slice()}],dimensionsCount:_.length+1})},getBaseAxis:function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis}};t.seriesModelMixin=s},d66d:function(e,t,n){var i=n("cbe1"),r=n("86e8"),o=n("4790"),a=n("4ae0"),s=a.encodeHTML,l=a.addCommas,u=n("97d3"),c=n("7ae1"),h=c.retrieveRawAttr,d=n("20b1"),f=o.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var t=r(this,["value"]),n=t.mapDimension("value"),o=i.createHashMap(),a=[],s=[],l=0,u=t.count();l"+s(i+" : "+n)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,i=n.getRegion(t);return i&&n.dataToPoint(i.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}}}});i.mixin(f,u);var p=f;e.exports=p},d752:function(e,t,n){var i=n("cbe1");function r(e){for(var t=0;t=0||r&&i.indexOf(r,s)<0)){var l=t.getShallow(s);null!=l&&(o[e[a][0]]=l)}}return o}}e.exports=r},d7f1:function(e,t,n){var i=n("cbe1"),r=i.retrieve2,o=i.retrieve3,a=i.each,s=i.normalizeCssArray,l=i.isString,u=i.isObject,c=n("d207"),h=n("680b"),d=n("180c"),f=n("e694"),p=n("10e8"),g=p.ContextCachedBy,v=p.WILL_BE_RESTORED,m=c.DEFAULT_FONT,y={left:1,right:1,center:1},x={top:1,bottom:1,middle:1},_=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],b={},w={};function S(e){return M(e),a(e.rich,M),e}function M(e){if(e){e.font=c.makeFont(e);var t=e.textAlign;"middle"===t&&(t="center"),e.textAlign=null==t||y[t]?t:"left";var n=e.textVerticalAlign||e.textBaseline;"center"===n&&(n="middle"),e.textVerticalAlign=null==n||x[n]?n:"top";var i=e.textPadding;i&&(e.textPadding=s(e.textPadding))}}function I(e,t,n,i,r,o){i.rich?T(e,t,n,i,r,o):A(e,t,n,i,r,o)}function A(e,t,n,i,r,o){"use strict";var a,s=O(i),l=!1,u=t.__attrCachedBy===g.PLAIN_TEXT;o!==v?(o&&(a=o.style,l=!s&&u&&a),t.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):u&&(t.__attrCachedBy=g.NONE);var h=i.font||m;l&&h===(a.font||m)||(t.font=h);var d=e.__computedFont;e.__styleFont!==h&&(e.__styleFont=h,d=e.__computedFont=t.font);var p=i.textPadding,y=i.textLineHeight,x=e.__textCotentBlock;x&&!e.__dirtyText||(x=e.__textCotentBlock=c.parsePlainText(n,d,p,y,i.truncate));var b=x.outerHeight,S=x.lines,M=x.lineHeight,I=E(w,e,i,r),A=I.baseX,T=I.baseY,D=I.textAlign||"left",C=I.textVerticalAlign;P(t,i,r,A,T);var L=c.adjustTextY(T,b,C),R=A,B=L;if(s||p){var j=c.getWidth(n,d),F=j;p&&(F+=p[1]+p[3]);var W=c.adjustTextX(A,F,D);s&&k(e,t,i,W,L,F,b),p&&(R=V(A,D,p),B+=p[0])}t.textAlign=D,t.textBaseline="middle",t.globalAlpha=i.opacity||1;for(var G=0;G<_.length;G++){var H=_[G],U=H[0],Y=H[1],Z=i[U];l&&Z===a[U]||(t[Y]=f(t,Y,Z||H[2]))}B+=M/2;var X=i.textStrokeWidth,q=l?a.textStrokeWidth:null,$=!l||X!==q,K=!l||$||i.textStroke!==a.textStroke,J=z(i.textStroke,X),Q=N(i.textFill);if(J&&($&&(t.lineWidth=X),K&&(t.strokeStyle=J)),Q&&(l&&i.textFill===a.textFill||(t.fillStyle=Q)),1===S.length)J&&t.strokeText(S[0],R,B),Q&&t.fillText(S[0],R,B);else for(G=0;G=0&&(b=M[z],"right"===b.textAlign))C(e,t,b,i,A,y,R,"right"),T-=b.width,R-=b.width,z--;L+=(o-(L-m)-(x-R)-T)/2;while(D<=z)b=M[D],C(e,t,b,i,A,y,L+b.width/2,"center"),L+=b.width,D++;y+=A}}function P(e,t,n,i,r){if(n&&t.textRotation){var o=t.textOrigin;"center"===o?(i=n.width/2+n.x,r=n.height/2+n.y):o&&(i=o[0]+n.x,r=o[1]+n.y),e.translate(i,r),e.rotate(-t.textRotation),e.translate(-i,-r)}}function C(e,t,n,i,a,s,l,u){var c=i.rich[n.styleName]||{};c.text=n.text;var h=n.textVerticalAlign,d=s+a/2;"top"===h?d=s+n.height/2:"bottom"===h&&(d=s+a-n.height/2),!n.isLineHolder&&O(c)&&k(e,t,c,"right"===u?l-n.width:"center"===u?l-n.width/2:l,d-n.height/2,n.width,n.height);var f=n.textPadding;f&&(l=V(l,u,f),d-=n.height/2-f[2]-n.textHeight/2),R(t,"shadowBlur",o(c.textShadowBlur,i.textShadowBlur,0)),R(t,"shadowColor",c.textShadowColor||i.textShadowColor||"transparent"),R(t,"shadowOffsetX",o(c.textShadowOffsetX,i.textShadowOffsetX,0)),R(t,"shadowOffsetY",o(c.textShadowOffsetY,i.textShadowOffsetY,0)),R(t,"textAlign",u),R(t,"textBaseline","middle"),R(t,"font",n.font||m);var p=z(c.textStroke||i.textStroke,v),g=N(c.textFill||i.textFill),v=r(c.textStrokeWidth,i.textStrokeWidth);p&&(R(t,"lineWidth",v),R(t,"strokeStyle",p),t.strokeText(n.text,l,d)),g&&(R(t,"fillStyle",g),t.fillText(n.text,l,d))}function O(e){return!!(e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor)}function k(e,t,n,i,r,o,a){var s=n.textBackgroundColor,c=n.textBorderWidth,f=n.textBorderColor,p=l(s);if(R(t,"shadowBlur",n.textBoxShadowBlur||0),R(t,"shadowColor",n.textBoxShadowColor||"transparent"),R(t,"shadowOffsetX",n.textBoxShadowOffsetX||0),R(t,"shadowOffsetY",n.textBoxShadowOffsetY||0),p||c&&f){t.beginPath();var g=n.textBorderRadius;g?h.buildPath(t,{x:i,y:r,width:o,height:a,r:g}):t.rect(i,r,o,a),t.closePath()}if(p)if(R(t,"fillStyle",s),null!=n.fillOpacity){var v=t.globalAlpha;t.globalAlpha=n.fillOpacity*n.opacity,t.fill(),t.globalAlpha=v}else t.fill();else if(u(s)){var m=s.image;m=d.createOrUpdateImage(m,null,e,L,s),m&&d.isImageReady(m)&&t.drawImage(m,i,r,o,a)}if(c&&f)if(R(t,"lineWidth",c),R(t,"strokeStyle",f),null!=n.strokeOpacity){v=t.globalAlpha;t.globalAlpha=n.strokeOpacity*n.opacity,t.stroke(),t.globalAlpha=v}else t.stroke()}function L(e,t){t.image=e}function E(e,t,n,i){var r=n.x||0,o=n.y||0,a=n.textAlign,s=n.textVerticalAlign;if(i){var l=n.textPosition;if(l instanceof Array)r=i.x+B(l[0],i.width),o=i.y+B(l[1],i.height);else{var u=t&&t.calculateTextPosition?t.calculateTextPosition(b,n,i):c.calculateTextPosition(b,n,i);r=u.x,o=u.y,a=a||u.textAlign,s=s||u.textVerticalAlign}var h=n.textOffset;h&&(r+=h[0],o+=h[1])}return e=e||{},e.baseX=r,e.baseY=o,e.textAlign=a,e.textVerticalAlign=s,e}function R(e,t,n){return e[t]=f(e,t,n),e[t]}function z(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function N(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function B(e,t){return"string"===typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function V(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function j(e,t){return null!=e&&(e||t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor||t.textPadding)}t.normalizeTextStyle=S,t.renderText=I,t.getBoxPosition=E,t.getStroke=z,t.getFill=N,t.parsePercent=B,t.needDrawText=j},d8db:function(e,t,n){var i=n("cbe1"),r=n("5c3e"),o=r.makeInner,a=n("3bf3"),s=n("318b"),l=i.each,u=i.curry,c=o();function h(e,t,n){var r=e.currTrigger,o=[e.x,e.y],a=e,c=e.dispatchAction||i.bind(n.dispatchAction,n),h=t.getComponent("axisPointer").coordSysAxesInfo;if(h){b(o)&&(o=s({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var f=b(o),w=a.axesInfo,S=h.axesInfo,M="leave"===r||b(o),I={},A={},T={list:[],map:{}},D={showPointer:u(p,A),showTooltip:u(g,T)};l(h.coordSysMap,(function(e,t){var n=f||e.containPoint(o);l(h.coordSysAxesInfo[t],(function(e,t){var i=e.axis,r=x(w,e);if(!M&&n&&(!w||r)){var a=r&&r.value;null!=a||f||(a=i.pointToData(o)),null!=a&&d(e,a,D,!1,I)}}))}));var P={};return l(S,(function(e,t){var n=e.linkGroup;n&&!A[t]&&l(n.axesInfo,(function(t,i){var r=A[i];if(t!==e&&r){var o=r.value;n.mapper&&(o=e.axis.scale.parse(n.mapper(o,_(t),_(e)))),P[e.key]=o}}))})),l(P,(function(e,t){d(S[t],e,D,!0,I)})),v(A,S,I),m(T,o,e,c),y(S,c,n),I}}function d(e,t,n,r,o){var a=e.axis;if(!a.scale.isBlank()&&a.containData(t))if(e.involveSeries){var s=f(t,e),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==o.seriesIndex&&i.extend(o,l[0]),!r&&e.snap&&a.containData(u)&&null!=u&&(t=u),n.showPointer(e,t,l,o),n.showTooltip(e,s,u)}else n.showPointer(e,t)}function f(e,t){var n=t.axis,i=n.dim,r=e,o=[],a=Number.MAX_VALUE,s=-1;return l(t.seriesModels,(function(t,u){var c,h,d=t.getData().mapDimension(i,!0);if(t.getAxisTooltipData){var f=t.getAxisTooltipData(d,e,n);h=f.dataIndices,c=f.nestestValue}else{if(h=t.getData().indicesOfNearest(d[0],e,"category"===n.type?.5:null),!h.length)return;c=t.getData().get(d[0],h[0])}if(null!=c&&isFinite(c)){var p=e-c,g=Math.abs(p);g<=a&&((g=0&&s<0)&&(a=g,s=p,r=c,o.length=0),l(h,(function(e){o.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:o,snapToValue:r}}function p(e,t,n,i){e[t.key]={value:n,payloadBatch:i}}function g(e,t,n,i){var r=n.payloadBatch,o=t.axis,s=o.model,l=t.axisPointerModel;if(t.triggerTooltip&&r.length){var u=t.coordSys.model,c=a.makeKey(u),h=e.map[c];h||(h=e.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},e.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:i,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:r.slice()})}}function v(e,t,n){var i=n.axesInfo=[];l(t,(function(t,n){var r=t.axisPointerModel.option,o=e[n];o?(!t.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:r.value})}))}function m(e,t,n,i){if(!b(t)&&e.list.length){var r=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:e.list})}else i({type:"hideTip"})}function y(e,t,n){var r=n.getZr(),o="axisPointerLastHighlights",a=c(r)[o]||{},s=c(r)[o]={};l(e,(function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&l(n.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;s[t]=e}))}));var u=[],h=[];i.each(a,(function(e,t){!s[t]&&h.push(e)})),i.each(s,(function(e,t){!a[t]&&u.push(e)})),h.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:h}),u.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:u})}function x(e,t){for(var n=0;n<(e||[]).length;n++){var i=e[n];if(t.axis.dim===i.axisDim&&t.axis.model.componentIndex===i.axisIndex)return i}}function _(e){var t=e.axis.model,n={},i=n.axisDim=e.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=t.componentIndex,n.axisName=n[i+"AxisName"]=t.name,n.axisId=n[i+"AxisId"]=t.id,n}function b(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}e.exports=h},d909:function(e,t,n){var i=n("cbe1"),r=n("e646");function o(e){this._zr=e.getZr(),this._show=!1,this._hideTimeout}o.prototype={constructor:o,_enterable:!0,update:function(){},show:function(e){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(e,t,n){this.el&&this._zr.remove(this.el);var i={},o=e,a="{marker",s="|}",l=o.indexOf(a);while(l>=0){var u=o.indexOf(s),c=o.substr(l+a.length,u-l-a.length);c.indexOf("sub")>-1?i["marker"+c]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:t[c],textOffset:[3,0]}:i["marker"+c]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:t[c]},o=o.substr(u+1),l=o.indexOf("{marker")}this.el=new r({style:{rich:i,text:e,textLineHeight:20,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding")},z:n.get("z")}),this._zr.add(this.el);var h=this;this.el.on("mouseover",(function(){h._enterable&&(clearTimeout(h._hideTimeout),h._show=!0),h._inContent=!0})),this.el.on("mouseout",(function(){h._enterable&&h._show&&h.hideLater(h._hideDelay),h._inContent=!1}))},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el.getBoundingRect();return[e.width,e.height]},moveTo:function(e,t){this.el&&this.el.attr("position",[e,t])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(i.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var e=this.getSize();return{width:e[0],height:e[1]}}};var a=o;e.exports=a},d92d:function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("7f3e");i.registerAction("dataZoom",(function(e,t){var n=o.createLinkedNodesFinder(r.bind(t.eachComponent,t,"dataZoom"),o.eachAxisDim,(function(e,t){return e.get(t.axisIndex)})),i=[];t.eachComponent({mainType:"dataZoom",query:e},(function(e,t){i.push.apply(i,n(e).nodes)})),r.each(i,(function(t,n){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))},d951:function(e,t,n){var i=n("55ba"),r=i.parsePercent,o=n("cbe1"),a=Math.PI/180;function s(e,t,n,i){t.eachSeriesByType(e,(function(e){var t=e.get("center"),i=e.get("radius");o.isArray(i)||(i=[0,i]),o.isArray(t)||(t=[t,t]);var s=n.getWidth(),u=n.getHeight(),c=Math.min(s,u),h=r(t[0],s),d=r(t[1],u),f=r(i[0],c/2),p=r(i[1],c/2),g=-e.get("startAngle")*a,v=e.get("minAngle")*a,m=e.getData().tree.root,y=e.getViewRoot(),x=y.depth,_=e.get("sort");null!=_&&l(y,_);var b=0;o.each(y.children,(function(e){!isNaN(e.getValue())&&b++}));var w=y.getValue(),S=Math.PI/(w||b)*2,M=y.depth>0,I=y.height-(M?-1:1),A=(p-f)/(I||1),T=e.get("clockwise"),D=e.get("stillShowZeroSum"),P=T?1:-1,C=function(e,t){if(e){var n=t;if(e!==m){var i=e.getValue(),a=0===w&&D?S:i*S;a=t:"max"===n?e<=t:e===t}function g(e,t){return e.join(",")===t.join(",")}function v(e,t){t=t||{},a(t,(function(t,n){if(null!=t){var i=e[n];if(o.hasClass(n)){t=r.normalizeToArray(t),i=r.normalizeToArray(i);var a=r.mappingToExists(i,t);e[n]=l(a,(function(e){return e.option&&e.exist?u(e.exist,e.option,!0):e.exist||e.option}))}else e[n]=u(i,t,!0)}}))}h.prototype={constructor:h,setOption:function(e,t){e&&i.each(r.normalizeToArray(e.series),(function(e){e&&e.data&&i.isTypedArray(e.data)&&i.setAsPrimitive(e.data)})),e=s(e);var n=this._optionBackup,o=d.call(this,e,t,!n);this._newBaseOption=o.baseOption,n?(v(n.baseOption,o.baseOption),o.timelineOptions.length&&(n.timelineOptions=o.timelineOptions),o.mediaList.length&&(n.mediaList=o.mediaList),o.mediaDefault&&(n.mediaDefault=o.mediaDefault)):this._optionBackup=o},mountOption:function(e){var t=this._optionBackup;return this._timelineOptions=l(t.timelineOptions,s),this._mediaList=l(t.mediaList,s),this._mediaDefault=s(t.mediaDefault),this._currentMediaIndices=[],s(e?t.baseOption:this._newBaseOption)},getTimelineOption:function(e){var t,n=this._timelineOptions;if(n.length){var i=e.getComponent("timeline");i&&(t=s(n[i.getCurrentIndex()],!0))}return t},getMediaOption:function(e){var t=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,r=this._mediaDefault,o=[],a=[];if(!i.length&&!r)return a;for(var u=0,c=i.length;uv}function N(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function B(e,t,n,i){var r=new a.Group;return r.add(new a.Rect({name:"main",style:W(n),silent:!0,draggable:!0,cursor:"move",drift:u(e,t,r,"nswe"),ondragend:u(R,t,{isEnd:!0})})),c(i,(function(n){r.add(new a.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:u(e,t,r,n),ondragend:u(R,t,{isEnd:!0})}))})),r}function V(e,t,n,i){var r=i.brushStyle.lineWidth||0,o=f(r,m),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,c=n[0][1],h=n[1][1],d=c-o+r/2,p=h-o+r/2,g=c-a,v=h-s,y=g+r,x=v+r;F(e,t,"main",a,s,g,v),i.transformable&&(F(e,t,"w",l,u,o,x),F(e,t,"e",d,u,o,x),F(e,t,"n",l,u,y,o),F(e,t,"s",l,p,y,o),F(e,t,"nw",l,u,o,o),F(e,t,"ne",d,u,o,o),F(e,t,"sw",l,p,o,o),F(e,t,"se",d,p,o,o))}function j(e,t){var n=t.__brushOption,i=n.transformable,r=t.childAt(0);r.useStyle(W(n)),r.attr({silent:!i,cursor:i?"move":"default"}),c(["w","e","n","s","se","sw","ne","nw"],(function(n){var r=t.childOfName(n),o=U(e,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?_[o]+"-resize":null})}))}function F(e,t,n,i,r,o,a){var s=t.childOfName(n);s&&s.setShape($(q(e,t,[[i,r],[i+o,r+a]])))}function W(e){return r.defaults({strokeNoScale:!0},e.brushStyle)}function G(e,t,n,i){var r=[d(e,n),d(t,i)],o=[f(e,n),f(t,i)];return[[r[0],o[0]],[r[1],o[1]]]}function H(e){return a.getTransform(e.group)}function U(e,t){if(t.length>1){t=t.split("");var n=[U(e,t[0]),U(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}var i={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"};n=a.transformDirection(i[t],H(e));return r[n]}function Y(e,t,n,i,r,o,a,s){var l=i.__brushOption,u=e(l.range),h=X(n,o,a);c(r.split(""),(function(e){var t=x[e];u[t[0]][t[1]]+=h[t[0]]})),l.range=t(G(u[0][0],u[1][0],u[0][1],u[1][1])),C(n,i),R(n,{isEnd:!1})}function Z(e,t,n,i,r){var o=t.__brushOption.range,a=X(e,n,i);c(o,(function(e){e[0]+=a[0],e[1]+=a[1]})),C(e,t),R(e,{isEnd:!1})}function X(e,t,n){var i=e.group,r=i.transformCoordToLocal(t,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function q(e,t,n){var i=L(e,t);return i&&!0!==i?i.clipPath(n,e._transform):r.clone(n)}function $(e){var t=d(e[0][0],e[1][0]),n=d(e[0][1],e[1][1]),i=f(e[0][0],e[1][0]),r=f(e[0][1],e[1][1]);return{x:t,y:n,width:i-t,height:r-n}}function K(e,t,n){if(e._brushType){var i=e._zr,r=e._covers,o=k(e,t,n);if(!e._dragging)for(var a=0;an[s],v=[-f.x,-f.y];t||(v[a]=c.position[a]);var m=[0,0],y=[-p.x,-p.y],x=i.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(g){var _=e.get("pageButtonPosition",!0);"end"===_?y[a]+=n[s]-p[s]:m[a]+=p[s]+x}y[1-a]+=f[l]/2-p[l]/2,c.attr("position",v),h.attr("position",m),d.attr("position",y);var b={x:0,y:0};if(b[s]=g?n[s]:f[s],b[l]=Math.max(f[l],p[l]),b[u]=Math.min(0,p[u]+y[1-a]),h.__rectSize=n[s],g){var w={x:0,y:0};w[s]=Math.max(n[s]-p[s]-x,0),w[l]=b[l],h.setClipPath(new r.Rect({shape:w})),h.__rectSize=w[s]}else d.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var S=this._getPageInfo(e);return null!=S.pageIndex&&r.updateProps(c,{position:S.contentPosition},!!g&&e),this._updatePageInfoView(e,S),b},_pageGo:function(e,t,n){var i=this._getPageInfo(t)[e];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:t.id})},_updatePageInfoView:function(e,t){var n=this._controllerGroup;i.each(["pagePrev","pageNext"],(function(i){var r=null!=t[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var r=n.childOfName("pageText"),o=e.get("pageFormatter"),a=t.pageIndex,s=null!=a?a+1:0,l=t.pageCount;r&&o&&r.setStyle("text",i.isString(o)?o.replace("{current}",s).replace("{total}",l):o({current:s,total:l}))},_getPageInfo:function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=e.getOrient().index,o=l[r],a=u[r],s=this._findTargetItemIndex(t),c=n.children(),h=c[s],d=c.length,f=d?1:0,p={contentPosition:n.position.slice(),pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var g=_(h);p.contentPosition[r]=-g.s;for(var v=s+1,m=g,y=g,x=null;v<=d;++v)x=_(c[v]),(!x&&y.e>m.s+i||x&&!b(x,m.s))&&(m=y.i>m.i?y:x,m&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=m.i),++p.pageCount)),y=x;for(v=s-1,m=g,y=g,x=null;v>=-1;--v)x=_(c[v]),x&&b(y,x.s)||!(m.i=t&&e.s<=t+i}},_findTargetItemIndex:function(e){var t,n,i=this.getContentGroup();return this._showController&&i.eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===e&&(t=r)})),null!=t?t:n}}),h=c;e.exports=h},e31b:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=r.isObject,a=r.each,s=r.map,l=r.indexOf,u=(r.retrieve,n("0e18")),c=u.getLayoutRect,h=n("9a33"),d=h.createScaleByModel,f=h.ifAxisCrossZero,p=h.niceScaleExtent,g=h.estimateLabelUnionRect,v=n("f0e4"),m=n("38c1"),y=n("d1a1"),x=n("a4bb"),_=x.getStackedDimension;function b(e,t,n){return e.getCoordSysModel()===t}function w(e,t,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(e,t,n),this.model=e}n("0c73");var S=w.prototype;function M(e,t,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=e[t],a=n.model,s=a.get("axisLine.onZero"),l=a.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)I(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&I(o[u])&&!i[c(o[u])]){r=o[u];break}r&&(i[c(r)]=!0)}function c(e){return e.dim+"_"+e.index}}function I(e){return e&&"category"!==e.type&&"time"!==e.type&&f(e)}function A(e,t){var n=e.getExtent(),i=n[0]+n[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return i-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return i-e+t}}S.type="grid",S.axisPointerEnabled=!0,S.getRect=function(){return this._rect},S.update=function(e,t){var n=this._axesMap;this._updateScale(e,this.model),a(n.x,(function(e){p(e.scale,e.model)})),a(n.y,(function(e){p(e.scale,e.model)}));var i={};a(n.x,(function(e){M(n,"y",e,i)})),a(n.y,(function(e){M(n,"x",e,i)})),this.resize(this.model,t)},S.resize=function(e,t,n){var i=c(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()});this._rect=i;var r=this._axesList;function o(){a(r,(function(e){var t=e.isHorizontal(),n=t?[0,i.width]:[0,i.height],r=e.inverse?1:0;e.setExtent(n[r],n[1-r]),A(e,t?i.x:i.y)}))}o(),!n&&e.get("containLabel")&&(a(r,(function(e){if(!e.model.get("axisLabel.inside")){var t=g(e);if(t){var n=e.isHorizontal()?"height":"width",r=e.model.get("axisLabel.margin");i[n]-=t[n]+r,"top"===e.position?i.y+=t.height+r:"left"===e.position&&(i.x+=t.width+r)}}})),o())},S.getAxis=function(e,t){var n=this._axesMap[e];if(null!=n){if(null==t)for(var i in n)if(n.hasOwnProperty(i))return n[i];return n[t]}},S.getAxes=function(){return this._axesList.slice()},S.getCartesian=function(e,t){if(null!=e&&null!=t){var n="x"+e+"y"+t;return this._coordsMap[n]}o(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var i=0,r=this._coordsList;i=0&&n.splice(i,1),e.__hoverMir=null},clearHover:function(e){for(var t=this._hoverElements,n=0;n15)break}}a.__drawIndex=m,a.__drawIndex0&&e>i[0]){for(s=0;se)break;o=n[i[s]]}if(i.splice(s+1,0,e),n[e]=t,!t.virtual)if(o){var u=o.dom;u.nextSibling?l.insertBefore(t.dom,u.nextSibling):l.appendChild(t.dom)}else l.firstChild?l.insertBefore(t.dom,l.firstChild):l.appendChild(t.dom)}else a("Layer of zlevel "+e+" is not valid")},eachLayer:function(e,t){var n,i,r=this._zlevelList;for(i=0;i0?g:0),this._needsManuallyCompositing),s.__builtin__||a("ZLevel "+l+" has been used by unkown layer "+s.id),s!==r&&(s.__used=!0,s.__startIndex!==n&&(s.__dirty=!0),s.__startIndex=n,s.incremental?s.__drawIndex=-1:s.__drawIndex=n,t(n),r=s),i.__dirty&&(s.__dirty=!0,s.incremental&&s.__drawIndex<0&&(s.__drawIndex=n))}t(n),this.eachBuiltinLayer((function(e,t){!e.__used&&e.getElementCount()>0&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(e){e.clear()},setBackgroundColor:function(e){this._backgroundColor=e},configLayer:function(e,t){if(t){var n=this._layerConfig;n[e]?o.merge(n[e],t,!0):n[e]=t;for(var i=0;i"),r&&(a+=h(r),null!=n&&(a+=" : ")),null!=n&&(a+=h(i)),a},getData:function(){return this._data},setData:function(e){this._data=e}});o.mixin(f,u);var p=f;e.exports=p},e583:function(e,t,n){var i=n("da84"),r=n("58a8").trim,o=n("5899"),a=i.parseInt,s=/^[+-]?0[Xx]/,l=8!==a(o+"08")||22!==a(o+"0x16");e.exports=l?function(e,t){var n=r(String(e));return a(n,t>>>0||(s.test(n)?16:10))}:a},e5d6:function(e,t,n){var i=n("333f"),r=n("3a73"),o=n("cbe1"),a=n("5c3e"),s=a.defaultEmphasis,l=n("efdc"),u=n("4ae0"),c=u.encodeHTML,h=n("1d52"),d=i.extendSeriesModel({type:"series.graph",init:function(e){d.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeOption:function(e){d.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(e){d.superApply(this,"mergeDefaultAndTheme",arguments),s(e,["edgeLabel"],["show"])},getInitialData:function(e,t){var n=e.edges||e.links||[],i=e.data||e.nodes||[],r=this;if(i&&n)return h(i,n,this,!0,o).data;function o(e,n){e.wrapMethod("getItemModel",(function(e){var t=r._categoriesModels,n=e.getShallow("category"),i=t[n];return i&&(i.parentModel=e.parentModel,e.parentModel=i),e}));var i=r.getModel("edgeLabel"),o=new l({label:i.option},i.parentModel,t),a=r.getModel("emphasis.edgeLabel"),s=new l({emphasis:{label:a.option}},a.parentModel,t);function u(e){return e=this.parsePath(e),e&&"label"===e[0]?o:e&&"emphasis"===e[0]&&"label"===e[1]?s:this.parentModel}n.wrapMethod("getItemModel",(function(e){return e.customizeGetParent(u),e}))}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,t,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(e,n),o=i.graph.getEdgeByIndex(e),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),l=c(l.join(" > ")),r.value&&(l+=" : "+c(r.value)),l}return d.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=o.map(this.option.categories||[],(function(e){return null!=e.value?e:o.extend({value:0},e)})),t=new r(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e,!0)}))},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},isAnimationEnabled:function(){return d.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle"},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),f=d;e.exports=f},e646:function(e,t,n){var i=n("094f"),r=n("cbe1"),o=n("d207"),a=n("d7f1"),s=n("10e8"),l=s.ContextCachedBy,u=function(e){i.call(this,e)};u.prototype={constructor:u,type:"text",brush:function(e,t){var n=this.style;this.__dirty&&a.normalizeTextStyle(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null;var i=n.text;null!=i&&(i+=""),a.needDrawText(i,n)?(this.setTransform(e),a.renderText(this,e,i,n,null,t),this.restoreTransform(e)):e.__attrCachedBy=l.NONE},getBoundingRect:function(){var e=this.style;if(this.__dirty&&a.normalizeTextStyle(e,!0),!this._rect){var t=e.text;null!=t?t+="":t="";var n=o.getBoundingRect(e.text+"",e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich);if(n.x+=e.x||0,n.y+=e.y||0,a.getStroke(e.textStroke,e.textStrokeWidth)){var i=e.textStrokeWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect}},r.inherits(u,i);var c=u;e.exports=c},e694:function(e,t){var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function i(e,t,i){return n.hasOwnProperty(t)?i*e.dpr:i}e.exports=i},e8c2:function(e,t,n){var i=n("cbe1"),r=i.each,o=n("0890"),a=n("4620"),s=n("43d3"),l=n("5c3e"),u=n("2dda"),c=n("bfd2"),h=c.createTask,d=n("33f3"),f=l.makeInner(),p=d();function g(){this.group=new o,this.uid=a.getUID("viewChart"),this.renderTask=h({plan:x,reset:_}),this.renderTask.context={view:this}}g.prototype={type:"chart",init:function(e,t){},render:function(e,t,n,i){},highlight:function(e,t,n,i){y(e.getData(),i,"emphasis")},downplay:function(e,t,n,i){y(e.getData(),i,"normal")},remove:function(e,t){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var v=g.prototype;function m(e,t,n){if(e&&(e.trigger(t,n),e.isGroup&&!u.isHighDownDispatcher(e)))for(var i=0,r=e.childCount();i-_}function S(e,t){var n=t?e.textFill:e.fill;return null!=n&&n!==f}function M(e,t){var n=t?e.textStroke:e.stroke;return null!=n&&n!==f}function I(e,t){t&&A(e,"transform","matrix("+d.call(t,",")+")")}function A(e,t,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&e.setAttribute(t,n)}function T(e,t,n){e.setAttributeNS("http://www.w3.org/1999/xlink",t,n)}function D(e,t,n,i){if(S(t,n)){var r=n?t.textFill:t.fill;r="transparent"===r?f:r,A(e,"fill",r),A(e,"fill-opacity",null!=t.fillOpacity?t.fillOpacity*t.opacity:t.opacity)}else A(e,"fill",f);if(M(t,n)){var o=n?t.textStroke:t.stroke;o="transparent"===o?f:o,A(e,"stroke",o);var a=n?t.textStrokeWidth:t.lineWidth,s=!n&&t.strokeNoScale?i.getLineScale():1;A(e,"stroke-width",a/s),A(e,"paint-order",n?"stroke":"fill"),A(e,"stroke-opacity",null!=t.strokeOpacity?t.strokeOpacity:t.opacity);var l=t.lineDash;l?(A(e,"stroke-dasharray",t.lineDash.join(",")),A(e,"stroke-dashoffset",p(t.lineDashOffset||0))):A(e,"stroke-dasharray",""),t.lineCap&&A(e,"stroke-linecap",t.lineCap),t.lineJoin&&A(e,"stroke-linejoin",t.lineJoin),t.miterLimit&&A(e,"stroke-miterlimit",t.miterLimit)}else A(e,"stroke",f)}function P(e){for(var t=[],n=e.data,i=e.len(),r=0;r=y:-_>=y),T=_>0?_%y:_%y+y,D=!1;D=!!A||!w(I)&&T>=m===!!M;var P=b(l+c*v(f)),C=b(u+d*g(f));A&&(_=M?y-1e-4:1e-4-y,D=!0,9===r&&t.push("M",P,C));var O=b(l+c*v(f+_)),k=b(u+d*g(f+_));t.push("A",b(c),b(d),p(S*x),+D,+M,O,k);break;case h.Z:a="Z";break;case h.R:O=b(n[r++]),k=b(n[r++]);var L=b(n[r++]),E=b(n[r++]);t.push("M",O,k,"L",O+L,k,"L",O+L,k+E,"L",O,k+E,"L",O,k);break}a&&t.push(a);for(var R=0;Rk){for(;Ca||e<-a}var l=function(e){e=e||{},e.position||(this.position=[0,0]),null==e.rotation&&(this.rotation=0),e.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 c=[];u.updateTransform=function(){var e=this.parent,t=e&&e.transform,n=this.needLocalTransform(),r=this.transform;if(n||t){r=r||i.create(),n?this.getLocalTransform(r):o(r),t&&(n?i.mul(r,e.transform,r):i.copy(r,e.transform)),this.transform=r;var a=this.globalScaleRatio;if(null!=a&&1!==a){this.getGlobalScale(c);var s=c[0]<0?-1:1,l=c[1]<0?-1:1,u=((c[0]-s)*a+s)/c[0]||0,h=((c[1]-l)*a+l)/c[1]||0;r[0]*=u,r[1]*=u,r[2]*=h,r[3]*=h}this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,r)}else r&&o(r)},u.getLocalTransform=function(e){return l.getLocalTransform(this,e)},u.setTransform=function(e){var t=this.transform,n=e.dpr||1;t?e.setTransform(n*t[0],n*t[1],n*t[2],n*t[3],n*t[4],n*t[5]):e.setTransform(n,0,0,n,0,0)},u.restoreTransform=function(e){var t=e.dpr||1;e.setTransform(t,0,0,t,0,0)};var h=[],d=i.create();u.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],i=this.position,r=this.scale;s(t-1)&&(t=Math.sqrt(t)),s(n-1)&&(n=Math.sqrt(n)),e[0]<0&&(t=-t),e[3]<0&&(n=-n),i[0]=e[4],i[1]=e[5],r[0]=t,r[1]=n,this.rotation=Math.atan2(-e[1]/n,e[0]/t)}},u.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(i.mul(h,e.invTransform,t),t=h);var n=this.origin;n&&(n[0]||n[1])&&(d[4]=n[0],d[5]=n[1],i.mul(h,t,d),h[4]-=n[0],h[5]-=n[1],t=h),this.setLocalTransform(t)}},u.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},u.transformCoordToLocal=function(e,t){var n=[e,t],i=this.invTransform;return i&&r.applyTransform(n,n,i),n},u.transformCoordToGlobal=function(e,t){var n=[e,t],i=this.transform;return i&&r.applyTransform(n,n,i),n},l.getLocalTransform=function(e,t){t=t||[],o(t);var n=e.origin,r=e.scale||[1,1],a=e.rotation||0,s=e.position||[0,0];return n&&(t[4]-=n[0],t[5]-=n[1]),i.scale(t,t,r),a&&i.rotate(t,t,a),n&&(t[4]+=n[0],t[5]+=n[1]),t[4]+=s[0],t[5]+=s[1],t};var f=l;e.exports=f},ecf4:function(e,t){var n=2*Math.PI;function i(e){return e%=n,e<0&&(e+=n),e}t.normalizeRadian=i},ed3e:function(e,t,n){var i=n("dbbd"),r=i.create,o=i.distSquare,a=Math.pow,s=Math.sqrt,l=1e-8,u=1e-4,c=s(3),h=1/3,d=r(),f=r(),p=r();function g(e){return e>-l&&el||e<-l}function m(e,t,n,i,r){var o=1-r;return o*o*(o*e+3*r*t)+r*r*(r*i+3*o*n)}function y(e,t,n,i,r){var o=1-r;return 3*(((t-e)*o+2*(n-t)*r)*o+(i-n)*r*r)}function x(e,t,n,i,r,o){var l=i+3*(t-n)-e,u=3*(n-2*t+e),d=3*(t-e),f=e-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))if(g(u))o[0]=0;else{var x=-d/u;x>=0&&x<=1&&(o[y++]=x)}else{var _=v*v-4*p*m;if(g(_)){var b=v/p,w=(x=-u/l+b,-b/2);x>=0&&x<=1&&(o[y++]=x),w>=0&&w<=1&&(o[y++]=w)}else if(_>0){var S=s(_),M=p*u+1.5*l*(-v+S),I=p*u+1.5*l*(-v-S);M=M<0?-a(-M,h):a(M,h),I=I<0?-a(-I,h):a(I,h);x=(-u-(M+I))/(3*l);x>=0&&x<=1&&(o[y++]=x)}else{var A=(2*p*u-3*l*v)/(2*s(p*p*p)),T=Math.acos(A)/3,D=s(p),P=Math.cos(T),C=(x=(-u-2*D*P)/(3*l),w=(-u+D*(P+c*Math.sin(T)))/(3*l),(-u+D*(P-c*Math.sin(T)))/(3*l));x>=0&&x<=1&&(o[y++]=x),w>=0&&w<=1&&(o[y++]=w),C>=0&&C<=1&&(o[y++]=C)}}return y}function _(e,t,n,i,r){var o=6*n-12*t+6*e,a=9*t+3*i-3*e-9*n,l=3*t-3*e,u=0;if(g(a)){if(v(o)){var c=-l/o;c>=0&&c<=1&&(r[u++]=c)}}else{var h=o*o-4*a*l;if(g(h))r[0]=-o/(2*a);else if(h>0){var d=s(h),f=(c=(-o+d)/(2*a),(-o-d)/(2*a));c>=0&&c<=1&&(r[u++]=c),f>=0&&f<=1&&(r[u++]=f)}}return u}function b(e,t,n,i,r,o){var a=(t-e)*r+e,s=(n-t)*r+t,l=(i-n)*r+n,u=(s-a)*r+a,c=(l-s)*r+s,h=(c-u)*r+u;o[0]=e,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=i}function w(e,t,n,i,r,a,l,c,h,g,v){var y,x,_,b,w,S=.005,M=1/0;d[0]=h,d[1]=g;for(var I=0;I<1;I+=.05)f[0]=m(e,n,r,l,I),f[1]=m(t,i,a,c,I),b=o(d,f),b=0&&b=0&&c<=1&&(r[u++]=c)}}else{var h=a*a-4*o*l;if(g(h)){c=-a/(2*o);c>=0&&c<=1&&(r[u++]=c)}else if(h>0){var d=s(h),f=(c=(-a+d)/(2*o),(-a-d)/(2*o));c>=0&&c<=1&&(r[u++]=c),f>=0&&f<=1&&(r[u++]=f)}}return u}function A(e,t,n){var i=e+n-2*t;return 0===i?.5:(e-t)/i}function T(e,t,n,i,r){var o=(t-e)*i+e,a=(n-t)*i+t,s=(a-o)*i+o;r[0]=e,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function D(e,t,n,i,r,a,l,c,h){var g,v=.005,m=1/0;d[0]=l,d[1]=c;for(var y=0;y<1;y+=.05){f[0]=S(e,n,r,y),f[1]=S(t,i,a,y);var x=o(d,f);x=0&&xn||d+ha&&(a+=o);var p=Math.atan2(c,u);return p<0&&(p+=o),p>=i&&p<=a||p+o>=i&&p+o<=a}t.containStroke=a},f0b6:function(e,t,n){var i=n("cbe1");function r(e,t){var n={};return i.each(e,(function(e){e.each(e.mapDimension("value"),(function(t,i){var r="ec-"+e.getName(i);n[r]=n[r]||[],isNaN(t)||n[r].push(t)}))})),e[0].map(e[0].mapDimension("value"),(function(i,r){for(var o,a="ec-"+e[0].getName(r),s=0,l=1/0,u=-1/0,c=n[a].length,h=0;h=0;i--)y.isIdInner(t[i])&&t.splice(i,1);e[n]=t}})),delete e[I],e},getTheme:function(){return this._theme},getComponent:function(e,t){var n=this._componentsMap.get(e);if(n)return n[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var n,i=e.index,r=e.id,o=e.name,c=this._componentsMap.get(t);if(!c||!c.length)return[];if(null!=i)l(i)||(i=[i]),n=a(s(i,(function(e){return c[e]})),(function(e){return!!e}));else if(null!=r){var h=l(r);n=a(c,(function(e){return h&&u(r,e.id)>=0||!h&&e.id===r}))}else if(null!=o){var d=l(o);n=a(c,(function(e){return d&&u(o,e.name)>=0||!d&&e.name===o}))}else n=c.slice();return L(n,e)},findComponents:function(e){var t=e.query,n=e.mainType,i=o(t),r=i?this.queryComponents(i):this._componentsMap.get(n);return s(L(r,e));function o(e){var t=n+"Index",i=n+"Id",r=n+"Name";return!e||null==e[t]&&null==e[i]&&null==e[r]?null:{mainType:n,index:e[t],id:e[i],name:e[r]}}function s(t){return e.filter?a(t,e.filter):t}},eachComponent:function(e,t,n){var i=this._componentsMap;if("function"===typeof e)n=t,t=e,i.each((function(e,i){o(e,(function(e,r){t.call(n,i,e,r)}))}));else if(h(e))o(i.get(e),t,n);else if(c(e)){var r=this.findComponents(e);o(r,t,n)}},getSeriesByName:function(e){var t=this._componentsMap.get("series");return a(t,(function(t){return t.name===e}))},getSeriesByIndex:function(e){return this._componentsMap.get("series")[e]},getSeriesByType:function(e){var t=this._componentsMap.get("series");return a(t,(function(t){return t.subType===e}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(e,t){E(this),o(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];e.call(t,i,n)}),this)},eachRawSeries:function(e,t){o(this._componentsMap.get("series"),e,t)},eachSeriesByType:function(e,t,n){E(this),o(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===e&&t.call(n,r,i)}),this)},eachRawSeriesByType:function(e,t,n){return o(this.getSeriesByType(e),t,n)},isSeriesFiltered:function(e){return E(this),null==this._seriesIndicesMap.get(e.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(e,t){E(this);var n=a(this._componentsMap.get("series"),e,t);k(this,n)},restoreData:function(e){var t=this._componentsMap;k(this,t.get("series"));var n=[];t.each((function(e,t){n.push(t)})),_.topologicalTravel(n,_.getAllClassMainTypes(),(function(n,i){o(t.get(n),(function(t){("series"!==n||!T(t,e))&&t.restoreData()}))}))}});function T(e,t){if(t){var n=t.seiresIndex,i=t.seriesId,r=t.seriesName;return null!=n&&e.componentIndex!==n||null!=i&&e.id!==i||null!=r&&e.name!==r}}function D(e,t){var n=e.color&&!e.colorLayer;o(t,(function(t,i){"colorLayer"===i&&n||_.hasClass(i)||("object"===typeof t?e[i]=e[i]?g(e[i],t,!1):p(t):null==e[i]&&(e[i]=t))}))}function P(e){e=e,this.option={},this.option[I]=1,this._componentsMap=d({series:[]}),this._seriesIndices,this._seriesIndicesMap,D(e,this._theme.option),g(e,b,!1),this.mergeOption(e)}function C(e,t){l(t)||(t=t?[t]:[]);var n={};return o(t,(function(t){n[t]=(e.get(t)||[]).slice()})),n}function O(e,t,n){var i=t.type?t.type:n?n.subType:_.determineSubType(e,t);return i}function k(e,t){e._seriesIndicesMap=d(e._seriesIndices=s(t,(function(e){return e.componentIndex}))||[])}function L(e,t){return t.hasOwnProperty("subType")?a(e,(function(e){return e.subType===t.subType})):e}function E(e){}m(A,w);var R=A;e.exports=R},f2eb:function(e,t,n){var i=n("f4e6"),r=n("cbe1"),o=n("5e0d"),a=n("dbbd");function s(e,t,n){o.call(this,e,t,n),this._lastFrame=0,this._lastFramePercent=0}var l=s.prototype;l.createLine=function(e,t,n){return new i(e,t,n)},l.updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],i=0,r=1;r=0;l--)if(i[l]<=t)break;l=Math.min(l,r-2)}else{for(var l=o;lt)break;l=Math.min(l-1,r-2)}a.lerp(e.position,n[l],n[l+1],(t-i[l])/(i[l+1]-i[l]));var u=n[l+1][0]-n[l][0],c=n[l+1][1]-n[l][1];e.rotation=-Math.atan2(c,u)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=t,e.ignore=!1}},r.inherits(s,o);var u=s;e.exports=u},f390:function(e,t,n){n("4213"),n("19b6"),n("e28b"),n("749f")},f399:function(e,t,n){var i=n("cbe1"),r=n("4790"),o=n("cb24"),a=n("efdc"),s=n("4ae0"),l=s.encodeHTML,u=s.addCommas,c=n("6f09"),h=c.wrapTreePathInfo,d=r.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(e,t){var n={name:e.name,children:e.data};f(n);var i=e.levels||[];i=e.levels=p(i,t);var r={};return r.levels=i,o.createTree(n,this,r).data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(e){var t=this.getData(),n=this.getRawValue(e),r=i.isArray(n)?u(n[0]):u(n),o=t.getName(e);return l(o+": "+r)},getDataParams:function(e){var t=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=h(n,this),t},setLayoutInfo:function(e){this.layoutInfo=this.layoutInfo||{},i.extend(this.layoutInfo,e)},mapIdToIndex:function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=i.createHashMap(),this._idIndexMapCount=0);var n=t.get(e);return null==n&&t.set(e,n=this._idIndexMapCount++),n},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});function f(e){var t=0;i.each(e.children,(function(e){f(e);var n=e.value;i.isArray(n)&&(n=n[0]),t+=n}));var n=e.value;i.isArray(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),i.isArray(e.value)?e.value[0]=n:e.value=n}function p(e,t){var n=t.get("color");if(n){var r;if(e=e||[],i.each(e,(function(e){var t=new a(e),n=t.get("color");(t.get("itemStyle.color")||n&&"none"!==n)&&(r=!0)})),!r){var o=e[0]||(e[0]={});o.color=n.slice()}return e}}e.exports=d},f3e1:function(e,t){var n=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],i={color:n,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],n]};e.exports=i},f49c:function(e,t,n){var i=n("c512"),r=n("cbe1"),o=n("6b0b");function a(e,t){i.call(this,e,t,"clipPath","__clippath_in_use__")}r.inherits(a,i),a.prototype.update=function(e){var t=this.getSvgElement(e);t&&this.updateDom(t,e.__clipPaths,!1);var n=this.getTextSvgElement(e);n&&this.updateDom(n,e.__clipPaths,!0),this.markUsed(e)},a.prototype.updateDom=function(e,t,n){if(t&&t.length>0){var i,r,a=this.getDefs(!0),s=t[0],l=n?"_textDom":"_dom";s[l]?(r=s[l].getAttribute("id"),i=s[l],a.contains(i)||a.appendChild(i)):(r="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,i=this.createElement("clipPath"),i.setAttribute("id",r),a.appendChild(i),s[l]=i);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!n){var c=Array.prototype.slice.call(s.transform);o.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var h=this.getSvgElement(s);i.innerHTML="",i.appendChild(h.cloneNode()),e.setAttribute("clip-path","url(#"+r+")"),t.length>1&&this.updateDom(i,t.slice(1),n)}else e&&e.setAttribute("clip-path","none")},a.prototype.markUsed=function(e){var t=this;e.__clipPaths&&r.each(e.__clipPaths,(function(e){e._dom&&i.prototype.markUsed.call(t,e._dom),e._textDom&&i.prototype.markUsed.call(t,e._textDom)}))};var s=a;e.exports=s},f4be:function(e,t,n){var i=n("094f"),r=n("1bb8"),o=n("cbe1"),a=n("180c");function s(e){i.call(this,e)}s.prototype={constructor:s,type:"image",brush:function(e,t){var n=this.style,i=n.image;n.bind(e,this,t);var r=this._image=a.createOrUpdateImage(i,this._image,this,this.onload);if(r&&a.isImageReady(r)){var o=n.x||0,s=n.y||0,l=n.width,u=n.height,c=r.width/r.height;if(null==l&&null!=u?l=u*c:null==u&&null!=l?u=l/c:null==l&&null==u&&(l=r.width,u=r.height),this.setTransform(e),n.sWidth&&n.sHeight){var h=n.sx||0,d=n.sy||0;e.drawImage(r,h,d,n.sWidth,n.sHeight,o,s,l,u)}else if(n.sx&&n.sy){h=n.sx,d=n.sy;var f=l-h,p=u-d;e.drawImage(r,h,d,f,p,o,s,l,u)}else e.drawImage(r,o,s,l,u);null!=n.text&&(this.restoreTransform(e),this.drawRectText(e,this.getBoundingRect()))}},getBoundingRect:function(){var e=this.style;return this._rect||(this._rect=new r(e.x||0,e.y||0,e.width||0,e.height||0)),this._rect}},o.inherits(s,i);var l=s;e.exports=l},f4e6:function(e,t,n){var i=n("2dda"),r=n("cbe1");function o(e,t,n){i.Group.call(this),this._createPolyline(e,t,n)}var a=o.prototype;a._createPolyline=function(e,t,n){var r=e.getItemLayout(t),o=new i.Polyline({shape:{points:r}});this.add(o),this._updateCommonStl(e,t,n)},a.updateData=function(e,t,n){var r=e.hostModel,o=this.childAt(0),a={shape:{points:e.getItemLayout(t)}};i.updateProps(o,a,r,t),this._updateCommonStl(e,t,n)},a._updateCommonStl=function(e,t,n){var o=this.childAt(0),a=e.getItemModel(t),s=e.getItemVisual(t,"color"),l=n&&n.lineStyle,u=n&&n.hoverLineStyle;n&&!e.hasItemOption||(l=a.getModel("lineStyle").getLineStyle(),u=a.getModel("emphasis.lineStyle").getLineStyle()),o.useStyle(r.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),o.hoverStyle=u,i.setHoverStyle(this)},a.updateLayout=function(e,t){var n=this.childAt(0);n.setShape("points",e.getItemLayout(t))},r.inherits(o,i.Group);var s=o;e.exports=s},f57a:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=n("5c1c"),a=n("78d7"),s=n("7583"),l=n("55ba"),u=l.reformIntervals,c=o.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(e,t){c.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var n=this._mode=this._determineMode();h[this._mode].call(this),this._resetSelected(e,t);var i=this.option.categories;this.resetVisual((function(e,t){"categories"===n?(e.mappingMethod="category",e.categories=r.clone(i)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=r.map(this._pieceList,(function(e){e=r.clone(e);return"inRange"!==t&&(e.visual=null),e})))}))},completeVisualOption:function(){var e=this.option,t={},n=a.listVisualTypes(),i=this.isCategory();function l(e,t,n){return e&&e[t]&&(r.isObject(e[t])?e[t].hasOwnProperty(n):e[t]===n)}r.each(e.pieces,(function(e){r.each(n,(function(n){e.hasOwnProperty(n)&&(t[n]=1)}))})),r.each(t,(function(t,n){var o=0;r.each(this.stateList,(function(t){o|=l(e,t,n)||l(e.target,t,n)}),this),!o&&r.each(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=s.get(n,"inRange"===t?"active":"inactive",i)}))}),this),o.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(e,t){var n=this.option,i=this._pieceList,o=(t?n:e).selected||{};if(n.selected=o,r.each(i,(function(e,t){var n=this.getSelectedMapKey(e);o.hasOwnProperty(n)||(o[n]=!0)}),this),"single"===n.selectedMode){var a=!1;r.each(i,(function(e,t){var n=this.getSelectedMapKey(e);o[n]&&(a?o[n]=!1:a=!0)}),this)}},getSelectedMapKey:function(e){return"categories"===this._mode?e.value+"":e.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=r.clone(e)},getValueState:function(e){var t=a.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimension(r),(function(t,n){var r=a.findPieceIndex(t,this._pieceList);r===e&&i.push(n)}),this),t.push({seriesId:n.id,dataIndex:i})}),this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},getVisualMeta:function(e){if(!this.isCategory()){var t=[],n=[],i=this,o=this._pieceList.slice();if(o.length){var a=o[0].interval[0];a!==-1/0&&o.unshift({interval:[-1/0,a]}),a=o[o.length-1].interval[1],a!==1/0&&o.push({interval:[a,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return r.each(o,(function(e){var t=e.interval;t&&(t[0]>s&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])}),this),{stops:t,outerColors:n}}function l(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=e(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:t.push({value:r[0],color:s},{value:r[1],color:s})}}}),h={splitNumber:function(){var e=this.option,t=this._pieceList,n=Math.min(e.precision,20),i=this.getExtent(),o=e.splitNumber;o=Math.max(parseInt(o,10),1),e.splitNumber=o;var a=(i[1]-i[0])/o;while(+a.toFixed(n)!==a&&n<5)n++;e.precision=n,a=+a.toFixed(n);var s=0;e.minOpen&&t.push({index:s++,interval:[-1/0,i[0]],close:[0,0]});for(var l=i[0],c=s+o;s","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)}),this)}};function d(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var f=c;e.exports=f},f58a:function(e,t,n){var i=n("ed3e");function r(e,t,n,r,o,a,s,l,u,c,h){if(0===u)return!1;var d=u;if(h>t+d&&h>r+d&&h>a+d&&h>l+d||he+d&&c>n+d&&c>o+d&&c>s+d||c=0;s--){var l=2*s,u=i[l]-o/2,c=i[l+1]-a/2;if(e>=u&&t>=c&&e<=u+o&&t<=c+a)return s}return-1}});function u(){this.group=new i.Group}var c=u.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(e,t){this.group.removeAll();var n=new l({rectHover:!0,cursor:"default"});n.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(n,e,!1,t),this.group.add(n),this._incremental=null},c.updateLayout=function(e){if(!this._incremental){var t=e.getLayout("symbolPoints");this.group.eachChild((function(e){if(null!=e.startIndex){var n=2*(e.endIndex-e.startIndex),i=4*e.startIndex*2;t=new Float32Array(t.buffer,i,n)}e.setShape("points",t)}))}},c.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>2e6?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(e,t,n){var i;this._incremental?(i=new l,this._incremental.addDisplayable(i,!0)):(i=new l({rectHover:!0,cursor:"default",startIndex:e.start,endIndex:e.end}),i.incremental=!0,this.group.add(i)),i.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(i,t,!!this._incremental,n)},c._setCommon=function(e,t,n,i){var r=t.hostModel;i=i||{};var a=t.getVisual("symbolSize");e.setShape("size",a instanceof Array?a:[a,a]),e.softClipShape=i.clipShape||null,e.symbolProxy=o(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var l=e.shape.size[0]=0&&(e.dataIndex=n+(e.startIndex||0))})))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var h=u;e.exports=h},f675:function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("3804"),a=n("944c"),s=n("d909"),l=n("4ae0"),u=n("55ba"),c=n("2dda"),h=n("318b"),d=n("0e18"),f=n("efdc"),p=n("6e42"),g=n("9a33"),v=n("c4dd"),m=n("5c3e"),y=m.getTooltipRenderMode,x=r.bind,_=r.each,b=u.parsePercent,w=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}}),S=i.extendComponentView({type:"tooltip",init:function(e,t){if(!o.node){var n,i=e.getComponent("tooltip"),r=i.get("renderMode");this._renderMode=y(r),"html"===this._renderMode?(n=new a(t.getDom(),t),this._newLine="
"):(n=new s(t),this._newLine="\n"),this._tooltipContent=n}},render:function(e,t,n){if(!o.node){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=e.get("alwaysShowContent");var i=this._tooltipContent;i.update(),i.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var e=this._tooltipModel,t=e.get("triggerOn");p.register("itemTooltip",this._api,x((function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},_keepShow:function(){var e=this._tooltipModel,t=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(e,t,n,{x:i._lastX,y:i._lastY})}))}},manuallyShowTip:function(e,t,n,i){if(i.from!==this.uid&&!o.node){var r=I(i,n);this._ticket="";var a=i.dataByCoordSys;if(i.tooltip&&null!=i.x&&null!=i.y){var s=w;s.position=[i.x,i.y],s.update(),s.tooltip=i.tooltip,this._tryShow({offsetX:i.x,offsetY:i.y,target:s},r)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,event:{},dataByCoordSys:i.dataByCoordSys,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,i))return;var l=h(i,t),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:i.position,target:l.el,event:{}},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target,event:{}},r))}},manuallyHideTip:function(e,t,n,i){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,i.from!==this.uid&&this._hide(I(i,n))},_manuallyAxisShowTip:function(e,t,n,i){var r=i.seriesIndex,o=i.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=t.getSeriesByIndex(r);if(s){var l=s.getData();e=M([l.getItemModel(o),s,(s.coordinateSystem||{}).model,e]);if("axis"===e.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}}},_tryShow:function(e,t){var n=e.target,i=this._tooltipModel;if(i){this._lastX=e.offsetX,this._lastY=e.offsetY;var r=e.dataByCoordSys;r&&r.length?this._showAxisTooltip(r,e):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(e,n,t)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(e,n,t)):(this._lastDataByCoordSys=null,this._hide(t))}},_showOrMove:function(e,t){var n=e.get("showDelay");t=r.bind(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},_showAxisTooltip:function(e,t){var n=this._ecModel,i=this._tooltipModel,o=[t.offsetX,t.offsetY],a=[],s=[],u=M([t.tooltipOption,i]),c=this._renderMode,h=this._newLine,d={};_(e,(function(e){_(e.dataByAxis,(function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),i=e.value,o=[];if(t&&null!=i){var u=v.getValueLabel(i,t.axis,n,e.seriesDataIndices,e.valueLabelOpt);r.each(e.seriesDataIndices,(function(a){var l=n.getSeriesByIndex(a.seriesIndex),h=a.dataIndexInside,f=l&&l.getDataParams(h);if(f.axisDim=e.axisDim,f.axisIndex=e.axisIndex,f.axisType=e.axisType,f.axisId=e.axisId,f.axisValue=g.getAxisRawValue(t.axis,i),f.axisValueLabel=u,f){s.push(f);var p,v=l.formatTooltip(h,!0,null,c);if(r.isObject(v)){p=v.html;var m=v.markers;r.merge(d,m)}else p=v;o.push(p)}}));var f=u;"html"!==c?a.push(o.join(h)):a.push((f?l.encodeHTML(f)+h:"")+o.join(h))}}))}),this),a.reverse(),a=a.join(this._newLine+this._newLine);var f=t.position;this._showOrMove(u,(function(){this._updateContentNotChangedOnAxis(e)?this._updatePosition(u,f,o[0],o[1],this._tooltipContent,s):this._showTooltipContent(u,a,s,Math.random(),o[0],o[1],f,void 0,d)}))},_showSeriesItemTooltip:function(e,t,n){var i=this._ecModel,o=t.seriesIndex,a=i.getSeriesByIndex(o),s=t.dataModel||a,l=t.dataIndex,u=t.dataType,c=s.getData(),h=M([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),d=h.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(h,(function(){this._showTooltipContent(h,f,g,m,e.offsetX,e.offsetY,e.position,e.target,p)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(e,t,n){var i=t.tooltip;if("string"===typeof i){var r=i;i={content:r,formatter:r}}var o=new f(i,this._tooltipModel,this._ecModel),a=o.get("content"),s=Math.random();this._showOrMove(o,(function(){this._showTooltipContent(o,a,o.get("formatterParams")||{},s,e.offsetX,e.offsetY,e.position,t)})),n({type:"showTip",from:this.uid})},_showTooltipContent:function(e,t,n,i,r,o,a,s,u){if(this._ticket="",e.get("showContent")&&e.get("show")){var c=this._tooltipContent,h=e.get("formatter");a=a||e.get("position");var d=t;if(h&&"string"===typeof h)d=l.formatTpl(h,n,!0);else if("function"===typeof h){var f=x((function(t,i){t===this._ticket&&(c.setContent(i,u,e),this._updatePosition(e,a,r,o,c,n,s))}),this);this._ticket=i,d=h(n,i,f)}c.setContent(d,u,e),c.show(e),this._updatePosition(e,a,r,o,c,n,s)}},_updatePosition:function(e,t,n,i,o,a,s){var l=this._api.getWidth(),u=this._api.getHeight();t=t||e.get("position");var c=o.getSize(),h=e.get("align"),f=e.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"===typeof t&&(t=t([n,i],a,o.el,p,{viewSize:[l,u],contentSize:c.slice()})),r.isArray(t))n=b(t[0],l),i=b(t[1],u);else if(r.isObject(t)){t.width=c[0],t.height=c[1];var g=d.getLayoutRect(t,{width:l,height:u});n=g.x,i=g.y,h=null,f=null}else if("string"===typeof t&&s){var v=D(t,p,c);n=v[0],i=v[1]}else{v=A(n,i,o,l,u,h?null:20,f?null:20);n=v[0],i=v[1]}if(h&&(n-=P(h)?c[0]/2:"right"===h?c[0]:0),f&&(i-=P(f)?c[1]/2:"bottom"===f?c[1]:0),e.get("confine")){v=T(n,i,o,l,u);n=v[0],i=v[1]}o.moveTo(n,i)},_updateContentNotChangedOnAxis:function(e){var t=this._lastDataByCoordSys,n=!!t&&t.length===e.length;return n&&_(t,(function(t,i){var r=t.dataByAxis||{},o=e[i]||{},a=o.dataByAxis||[];n&=r.length===a.length,n&&_(r,(function(e,t){var i=a[t]||{},r=e.seriesDataIndices||[],o=i.seriesDataIndices||[];n&=e.value===i.value&&e.axisType===i.axisType&&e.axisId===i.axisId&&r.length===o.length,n&&_(r,(function(e,t){var i=o[t];n&=e.seriesIndex===i.seriesIndex&&e.dataIndex===i.dataIndex}))}))})),this._lastDataByCoordSys=e,!!n},_hide:function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},dispose:function(e,t){o.node||(this._tooltipContent.hide(),p.unregister("itemTooltip",t))}});function M(e){var t=e.pop();while(e.length){var n=e.pop();n&&(f.isInstance(n)&&(n=n.get("tooltip",!0)),"string"===typeof n&&(n={formatter:n}),t=new f(n,t,t.ecModel))}return t}function I(e,t){return e.dispatchAction||r.bind(t.dispatchAction,t)}function A(e,t,n,i,r,o,a){var s=n.getOuterSize(),l=s.width,u=s.height;return null!=o&&(e+l+o>i?e-=l+o:e+=o),null!=a&&(t+u+a>r?t-=u+a:t+=a),[e,t]}function T(e,t,n,i,r){var o=n.getOuterSize(),a=o.width,s=o.height;return e=Math.min(e+a,i)-a,t=Math.min(t+s,r)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function D(e,t,n){var i=n[0],r=n[1],o=5,a=0,s=0,l=t.width,u=t.height;switch(e){case"inside":a=t.x+l/2-i/2,s=t.y+u/2-r/2;break;case"top":a=t.x+l/2-i/2,s=t.y-r-o;break;case"bottom":a=t.x+l/2-i/2,s=t.y+u+o;break;case"left":a=t.x-i-o,s=t.y+u/2-r/2;break;case"right":a=t.x+l+o,s=t.y+u/2-r/2}return[a,s]}function P(e){return"center"===e||"middle"===e}e.exports=S},f67c:function(e,t){var n=Math.log(2);function i(e,t,r,o,a,s){var l=o+"-"+a,u=e.length;if(s.hasOwnProperty(l))return s[l];if(1===t){var c=Math.round(Math.log((1<=0)&&(k=e);var E=new l.Text({position:T(t.center.slice()),scale:[1/h.scale[0],1/h.scale[1]],z2:10,silent:!0});l.setLabelStyle(E.style,E.hoverStyle={},M,I,{labelFetcher:k,labelDataIndex:L,defaultText:t.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),n.add(E)}if(s)s.setItemGraphicEl(o,n);else{u=e.getRegionModel(t.name);r.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:t.name,region:u&&u.option||{}}}var R=n.__regions||(n.__regions=[]);R.push(t),n.highDownSilentOnTouch=!!e.get("selectedMode"),l.setHoverStyle(n,S),c.add(n)})),this._updateController(e,t,n),f(this,e,c,n,r),p(e,c)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&u.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var t=e.map;this._mapName!==t&&i.each(u.makeGraphic(t,this.uid),(function(e){this._backgroundGroup.add(e)}),this),this._mapName=t},_updateController:function(e,t,n){var r=e.coordinateSystem,a=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=r.getZoom(),a.enable(e.get("roam")||!1);var u=e.mainType;function c(){var t={type:"geoRoam",componentType:u};return t[u+"Id"]=e.id,t}a.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,o.updateViewOnPan(l,e.dx,e.dy),n.dispatchAction(i.extend(c(),{dx:e.dx,dy:e.dy}))}),this),a.off("zoom").on("zoom",(function(e){if(this._mouseDownFlag=!1,o.updateViewOnZoom(l,e.scale,e.originX,e.originY),n.dispatchAction(i.extend(c(),{zoom:e.scale,originX:e.originX,originY:e.originY})),this._updateGroup){var t=this.group.scale;this._regionsGroup.traverse((function(e){"text"===e.type&&e.attr("scale",[1/t[0],1/t[1]])}))}}),this),a.setPointerChecker((function(t,i,o){return r.getViewRectAfterRoam().contain(i,o)&&!s(t,n,e)}))}};var v=g;e.exports=v},f7d2:function(e,t,n){var i=n("4790"),r=n("cb24"),o=n("4ae0"),a=o.encodeHTML,s=i.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(e){var t={name:e.name,children:e.data},n=e.leaves||{},i={};i.leaves=n;var o=r.createTree(t,this,i),a=0;o.eachNode("preorder",(function(e){e.depth>a&&(a=e.depth)}));var s=e.expandAndCollapse,l=s&&e.initialTreeDepth>=0?e.initialTreeDepth:a;return o.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=l})),o.data},getOrient:function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},formatTooltip:function(e){var t=this.getData().tree,n=t.root.children[0],i=t.getNodeByDataIndex(e),r=i.getValue(),o=i.name;while(i&&i!==n)o=i.parentNode.name+"."+o,i=i.parentNode;return a(o+(isNaN(r)||null==r?"":" : "+r))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});e.exports=s},f826:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=r.createHashMap,a=r.isString,s=r.isArray,l=r.each,u=(r.assert,n("2af1")),c=u.parseXML,h=o(),d={registerMap:function(e,t,n){var i;return s(t)?i=t:t.svg?i=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(n=t.specialAreas,t=t.geoJson),i=[{type:"geoJSON",source:t,specialAreas:n}]),l(i,(function(e){var t=e.type;"geoJson"===t&&(t=e.type="geoJSON");var n=f[t];n(e)})),h.set(e,i)},retrieveMap:function(e){return h.get(e)}},f={geoJSON:function(e){var t=e.source;e.geoJSON=a(t)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(e){e.svgXML=c(e.source)}};e.exports=d},f8c8:function(e,t,n){var i=n("dbbd"),r=i.scaleAndAdd;function o(e,t,n){for(var o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],u=null==n.gravity?.1:n.gravity,c=0;c=this._maxSize&&a>0){var l=n.head;n.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new r(t),s.key=e,n.insertEntry(s),i[e]=s}return o},a.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},a.clear=function(){this._list.clear(),this._map={}};var s=o;e.exports=s},fb1d:function(e,t,n){n("804a"),n("b8e1"),n("3e28"),n("b43f"),n("b561"),n("ec5f"),n("d92d")},fb6a:function(e,t,n){"use strict";var i=n("23e7"),r=n("861d"),o=n("e8b5"),a=n("23cb"),s=n("50c4"),l=n("fc6a"),u=n("8418"),c=n("1dde"),h=n("b622"),d=h("species"),f=[].slice,p=Math.max;i({target:"Array",proto:!0,forced:!c("slice")},{slice:function(e,t){var n,i,c,h=l(this),g=s(h.length),v=a(e,g),m=a(void 0===t?g:t,g);if(o(h)&&(n=h.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?r(n)&&(n=n[d],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return f.call(h,v,m);for(i=new(void 0===n?Array:n)(p(m-v,0)),c=0;vi[1]&&(i[1]=t[1])}))})),i[1]0?0:NaN);var a=n.getMax(!0);return null!=a&&"dataMax"!==a&&"function"!==typeof a?t[1]=a:r&&(t[1]=o>0?o-1:NaN),n.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0)),t}function d(e,t){var n=e.getAxisModel(),i=e._percentWindow,o=e._valueWindow;if(i){var a=r.getPixelPrecision(o,[0,500]);a=Math.min(a,20);var s=t||0===i[0]&&100===i[1];n.setRange(s?null:+o[0].toFixed(a),s?null:+o[1].toFixed(a))}}function f(e){var t=e._minMaxSpan={},n=e._dataZoomModel,i=e._dataExtent;s(["min","max"],(function(o){var a=n.get(o+"Span"),s=n.get(o+"ValueSpan");null!=s&&(s=e.getAxisModel().axis.scale.parse(s)),null!=s?a=r.linearMap(i[0]+s,i,[0,100],!0):null!=a&&(s=r.linearMap(a,[0,100],i,!0)-i[0]),t[o+"Span"]=a,t[o+"ValueSpan"]=s}))}u.prototype={constructor:u,hostedBy:function(e){return this._dataZoomModel===e},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var e=[],t=this.ecModel;return t.eachSeries((function(n){if(o.isCoordSupported(n.get("coordinateSystem"))){var i=this._dimName,r=t.queryComponents({mainType:i+"Axis",index:n.get(i+"AxisIndex"),id:n.get(i+"AxisId")})[0];this._axisIndex===(r&&r.componentIndex)&&e.push(n)}}),this),e},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e,t,n,i=this._dimName,r=this.ecModel,o=this.getAxisModel(),a="x"===i||"y"===i;return a?(t="gridIndex",e="x"===i?"y":"x"):(t="polarIndex",e="angle"===i?"radius":"angle"),r.eachComponent(e+"Axis",(function(e){(e.get(t)||0)===(o.get(t)||0)&&(n=e)})),n},getMinMaxSpan:function(){return i.clone(this._minMaxSpan)},calculateDataWindow:function(e){var t,n=this._dataExtent,i=this.getAxisModel(),o=i.axis.scale,u=this._dataZoomModel.getRangePropMode(),c=[0,100],h=[],d=[];s(["start","end"],(function(i,a){var s=e[i],l=e[i+"Value"];"percent"===u[a]?(null==s&&(s=c[a]),l=o.parse(r.linearMap(s,c,n))):(t=!0,l=null==l?n[a]:o.parse(l),s=r.linearMap(l,n,c)),d[a]=l,h[a]=s})),l(d),l(h);var f=this._minMaxSpan;function p(e,t,n,i,s){var l=s?"Span":"ValueSpan";a(0,e,n,"all",f["min"+l],f["max"+l]);for(var u=0;u<2;u++)t[u]=r.linearMap(e[u],n,i,!0),s&&(t[u]=o.parse(t[u]))}return t?p(d,h,n,c,!1):p(h,d,c,n,!0),{valueWindow:d,percentWindow:h}},reset:function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=c(this,this._dimName,t),f(this);var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,d(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,d(this,!0))},filterData:function(e,t){if(e===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=e.get("filterMode"),o=this._valueWindow;"none"!==r&&s(i,(function(e){var t=e.getData(),i=t.mapDimension(n,!0);i.length&&("weakFilter"===r?t.filterSelf((function(e){for(var n,r,a,s=0;so[1];if(u&&!c&&!h)return!0;u&&(a=!0),c&&(n=!0),h&&(r=!0)}return a&&n&&r})):s(i,(function(n){if("empty"===r)e.setData(t=t.map(n,(function(e){return a(e)?e:NaN})));else{var i={};i[n]=o,t.selectRange(i)}})),s(i,(function(e){t.setApproximateExtent(o,e)})))}))}function a(e){return e>=o[0]&&e<=o[1]}}};var p=u;e.exports=p},fc68:function(e,t,n){var i=n("333f"),r=n("cbe1");n("66c6"),n("2bce");var o=n("d0395"),a=n("95d6"),s=n("95a7"),l=n("5866");o("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),i.registerVisual(a("pie")),i.registerLayout(r.curry(s,"pie")),i.registerProcessor(l("pie"))},fd5b:function(e,t,n){var i=n("cbe1");function r(e){e.eachSeriesByType("radar",(function(e){var t=e.getData(),n=[],r=e.coordinateSystem;if(r){var s=r.getIndicatorAxes();i.each(s,(function(e,i){t.each(t.mapDimension(s[i].dim),(function(e,t){n[t]=n[t]||[];var s=r.dataToPoint(e,i);n[t][i]=o(s)?s:a(r)}))})),t.each((function(e){var s=i.find(n[e],(function(e){return o(e)}))||a(r);n[e].push(s.slice()),t.setItemLayout(e,n[e])}))}}))}function o(e){return!isNaN(e[0])&&!isNaN(e[1])}function a(e){return[e.cx,e.cy]}e.exports=r},fd6c:function(e,t,n){var i=n("cbe1"),r=n("78d7"),o=i.each;function a(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}function s(e,t,n){var a={};return o(t,(function(t){var l=a[t]=s();o(e[t],(function(e,o){if(r.isValidType(o)){var a={type:o,visual:e};n&&n(a,t),l[o]=new r(a),"opacity"===o&&(a=i.clone(a),a.type="colorAlpha",l.__hidden.__alphaForOpacity=new r(a))}}))})),a;function s(){var e=function(){};e.prototype.__hidden=e.prototype;var t=new e;return t}}function l(e,t,n){var r;i.each(n,(function(e){t.hasOwnProperty(e)&&a(t[e])&&(r=!0)})),r&&i.each(n,(function(n){t.hasOwnProperty(n)&&a(t[n])?e[n]=i.clone(t[n]):delete e[n]}))}function u(e,t,n,o,a,s){var l,u={};function c(e){return n.getItemVisual(l,e)}function h(e,t){n.setItemVisual(l,e,t)}function d(e,i){l=null==s?e:i;var r=n.getRawDataItem(l);if(!r||!1!==r.visualMap)for(var d=o.call(a,e),f=t[d],p=u[d],g=0,v=p.length;gt&&u>i&&u>o&&u>s||u1&&y(),d=c.cubicAt(t,i,o,s,m[0]),g>1&&(f=c.cubicAt(t,i,o,s,m[1]))),2===g?_t&&s>i&&s>o||s=0&&u<=1){for(var h=0,d=c.quadraticAt(t,i,o,u),f=0;fn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);v[0]=-l,v[1]=l;var c=Math.abs(i-r);if(c<1e-4)return 0;if(c%f<1e-4){i=0,r=f;var h=o?1:-1;return a>=v[0]+e&&a<=v[1]+e?h:0}if(o){l=i;i=u(r),r=u(l)}else i=u(i),r=u(r);i>r&&(r+=f);for(var d=0,p=0;p<2;p++){var g=v[p];if(g+e>a){var m=Math.atan2(s,g);h=o?1:-1;m<0&&(m=f+m),(m>=i&&m<=r||m+f>=i&&m+f<=r)&&(m>Math.PI/2&&m<1.5*Math.PI&&(h=-h),d+=h)}}return d}function w(e,t,n,i,l){for(var u=0,c=0,f=0,p=0,v=0,m=0;m1&&(n||(u+=h(c,f,p,v,i,l))),1===m&&(c=e[m],f=e[m+1],p=c,v=f),y){case d.M:p=e[m++],v=e[m++],c=p,f=v;break;case d.L:if(n){if(r.containStroke(c,f,e[m],e[m+1],t,i,l))return!0}else u+=h(c,f,e[m],e[m+1],i,l)||0;c=e[m++],f=e[m++];break;case d.C:if(n){if(o.containStroke(c,f,e[m++],e[m++],e[m++],e[m++],e[m],e[m+1],t,i,l))return!0}else u+=x(c,f,e[m++],e[m++],e[m++],e[m++],e[m],e[m+1],i,l)||0;c=e[m++],f=e[m++];break;case d.Q:if(n){if(a.containStroke(c,f,e[m++],e[m++],e[m],e[m+1],t,i,l))return!0}else u+=_(c,f,e[m++],e[m++],e[m],e[m+1],i,l)||0;c=e[m++],f=e[m++];break;case d.A:var w=e[m++],S=e[m++],M=e[m++],I=e[m++],A=e[m++],T=e[m++];m+=1;var D=1-e[m++],P=Math.cos(A)*M+w,C=Math.sin(A)*I+S;m>1?u+=h(c,f,P,C,i,l):(p=P,v=C);var O=(i-w)*I/M+w;if(n){if(s.containStroke(w,S,I,A,A+T,D,t,O,l))return!0}else u+=b(w,S,I,A,A+T,D,O,l);c=Math.cos(A+T)*M+w,f=Math.sin(A+T)*I+S;break;case d.R:p=c=e[m++],v=f=e[m++];var k=e[m++],L=e[m++];P=p+k,C=v+L;if(n){if(r.containStroke(p,v,P,v,t,i,l)||r.containStroke(P,v,P,C,t,i,l)||r.containStroke(P,C,p,C,t,i,l)||r.containStroke(p,C,p,v,t,i,l))return!0}else u+=h(P,v,P,C,i,l),u+=h(p,C,p,v,i,l);break;case d.Z:if(n){if(r.containStroke(c,f,p,v,t,i,l))return!0}else u+=h(c,f,p,v,i,l);c=p,f=v;break}}return n||g(f,v)||(u+=h(c,f,p,v,i,l)||0),0!==u}function S(e,t,n){return w(e,0,!1,t,n)}function M(e,t,n,i){return w(e,t,!0,n,i)}t.contain=S,t.containStroke=M},fde7:function(e,t){function n(e,t,n){var i=e.getZoom(),r=e.getCenter(),o=t.zoom,a=e.dataToPoint(r);if(null!=t.dx&&null!=t.dy){a[0]-=t.dx,a[1]-=t.dy;r=e.pointToData(a);e.setCenter(r)}if(null!=o){if(n){var s=n.min||0,l=n.max||1/0;o=Math.max(Math.min(i*o,l),s)/i}e.scale[0]*=o,e.scale[1]*=o;var u=e.position,c=(t.originX-u[0])*(o-1),h=(t.originY-u[1])*(o-1);u[0]-=c,u[1]-=h,e.updateTransform();r=e.pointToData(a);e.setCenter(r),e.setZoom(o*i)}return{center:e.getCenter(),zoom:e.getZoom()}}t.updateCenterAndZoom=n},fdf7:function(e,t,n){var i=n("dbbd7"),r=n("939d"),o=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;function h(e){if("number"==typeof e)return e;if(r(e))return o;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?o:+e}e.exports=h},fe60:function(e,t,n){var i=n("333f"),r=n("58cc");n("bc5f"),n("0729"),n("bbe8"),n("462a"),n("fafc"),i.registerPreprocessor(r)},fea5:function(e,t,n){var i=n("d752"),r=i([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),o={getAreaStyle:function(e,t){return r(this,e,t)}};e.exports=o},ff2d:function(e,t){function n(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,i=t.scale,r=i&&i[0]||1,o=t.getZoom(),a=(o-1)*n+1;return a/r}function i(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}t.getNodeGlobalScale=n,t.getSymbolSize=i},ff6d:function(e,t,n){var i=n("cbe1");function r(){var e,t=[],n={};return{add:function(e,r,o,a,s){return i.isString(a)&&(s=a,a=0),!n[e.id]&&(n[e.id]=1,t.push({el:e,target:r,time:o,delay:a,easing:s}),!0)},done:function(t){return e=t,this},start:function(){for(var i=t.length,r=0,o=t.length;r=0&&e.call(t,n[r],r)},u.eachEdge=function(e,t){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&e.call(t,n[r],r)},u.breadthFirstTraverse=function(e,t,n,i){if(c.isInstance(t)||(t=this._nodesMap[s(t)]),t){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r=0&&this[e][t].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[e][t].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};r.mixin(c,d("hostGraph","data")),r.mixin(h,d("hostGraph","edgeData")),l.Node=c,l.Edge=h,a(c),a(h);var f=l;e.exports=f},ffbf:function(e,t,n){var i=n("cbe1"),r=n("2dda"),o=n("efdc"),a=n("db6e"),s=n("337b"),l=["axisLine","axisLabel","axisTick","splitLine","splitArea"];function u(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var i=e.coordToPoint([t[0],n]),r=e.coordToPoint([t[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function c(e){var t=e.getRadiusAxis();return t.inverse?0:1}function h(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var d=a.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,r=n.polar,o=r.getRadiusAxis().getExtent(),a=n.getTicksCoords(),s=i.map(n.getViewLabels(),(function(e){e=i.clone(e);return e.coord=n.dataToCoord(e.tickValue),e}));h(s),h(a),i.each(l,(function(t){!e.get(t+".show")||n.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,r,a,o,s)}),this)}},_axisLine:function(e,t,n,i){var o,a=e.getModel("axisLine.lineStyle"),s=c(t),l=s?0:1;o=0===i[l]?new r.Circle({shape:{cx:t.cx,cy:t.cy,r:i[s]},style:a.getLineStyle(),z2:1,silent:!0}):new r.Ring({shape:{cx:t.cx,cy:t.cy,r:i[s],r0:i[l]},style:a.getLineStyle(),z2:1,silent:!0}),o.style.fill=null,this.group.add(o)},_axisTick:function(e,t,n,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[c(t)],h=i.map(n,(function(e){return new r.Line({shape:u(t,[l,l+s],e.coord)})}));this.group.add(r.mergePath(h,{style:i.defaults(a.getModel("lineStyle").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})}))},_axisLabel:function(e,t,n,a,l){var u=e.getCategories(!0),h=e.getModel("axisLabel"),d=h.get("margin"),f=e.get("triggerEvent");i.each(l,(function(n,i){var l=h,p=n.tickValue,g=a[c(t)],v=t.coordToPoint([g+d,n.coord]),m=t.cx,y=t.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 o(u[p].textStyle,h,h.ecModel));var b=new r.Text({silent:s.isLabelSilent(e)});this.group.add(b),r.setTextStyle(b.style,l,{x:v[0],y:v[1],textFill:l.getTextColor()||e.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:x,textVerticalAlign:_}),f&&(b.eventData=s.makeAxisEventDataBase(e),b.eventData.targetType="axisLabel",b.eventData.value=n.rawLabel)}),this)},_splitLine:function(e,t,n,o){var a=e.getModel("splitLine"),s=a.getModel("lineStyle"),l=s.get("color"),c=0;l=l instanceof Array?l:[l];for(var h=[],d=0;d