You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
1.0 MiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(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)<h&&(u="");var f=this.childAt(1);r.setLabelStyle(f.style,f.hoverStyle||{},a,l,{defaultText:s.getShallow("show")?u:null,autoColor:t,useInsideStyle:!0});var p,g=(c.startAngle+c.endAngle)/2,v=Math.cos(g),m=Math.sin(g),y=I("position"),x=I("distance")||0,_=I("align");"outside"===y?(p=c.r+x,_=g>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<e.length;n++){var i=e[n].getBoundingRect();t=t||i.clone(),t.union(i)}return t}e.exports=f},"015f":function(e,t,n){var i=n("cbe1"),r=["rect","polygon","keep","clear"];function o(e,t){var n=e&&e.brush;if(i.isArray(n)||(n=n?[n]:[]),n.length){var o=[];i.each(n,(function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(o=o.concat(t))}));var s=e&&e.toolbox;i.isArray(s)&&(s=s[0]),s||(s={feature:{}},e.toolbox=[s]);var l=s.feature||(s.feature={}),u=l.brush||(l.brush={}),c=u.type||(u.type=[]);c.push.apply(c,o),a(c),t&&!c.length&&c.push.apply(c,r)}}function a(e){var t={};i.each(e,(function(e){t[e]=1})),e.length=0,i.each(t,(function(t,n){e.push(n)}))}e.exports=o},"0167":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=i.extendComponentView({type:"marker",init:function(){this.markerGroupMap=r.createHashMap()},render:function(e,t,n){var i=this.markerGroupMap;i.each((function(e){e.__keep=!1}));var r=this.type+"Model";t.eachSeries((function(e){var i=e[r];i&&this.renderSeries(e,i,t,n)}),this),i.each((function(e){!e.__keep&&this.group.remove(e.group)}),this)},renderSeries:function(){}});e.exports=o},"01d4":function(e,t,n){n("5be6"),n("9c9f")},"039e":function(e,t,n){var i=n("cbe1"),r=n("dbbd"),o=n("df7d"),a=n("a69e"),s=n("2dda"),l=n("55ba"),u=l.round,c=["fromSymbol","toSymbol"];function h(e){return"_"+e+"Type"}function d(e,t,n){var r=t.getItemVisual(n,"color"),a=t.getItemVisual(n,e),s=t.getItemVisual(n,e+"Size");if(a&&"none"!==a){i.isArray(s)||(s=[s,s]);var l=o.createSymbol(a,-s[0]/2,-s[1]/2,s[0],s[1],r);return l.name=e,l}}function f(e){var t=new a({name:"line",subPixelOptimize:!0});return p(t.shape,e),t}function p(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var n=t[2];n?(e.cpx1=n[0],e.cpy1=n[1]):(e.cpx1=NaN,e.cpy1=NaN)}function g(){var e=this,t=e.childOfName("fromSymbol"),n=e.childOfName("toSymbol"),i=e.childOfName("label");if(t||n||!i.ignore){var o=1,a=this.parent;while(a)a.scale&&(o/=a.scale[0]),a=a.parent;var s=e.childOfName("line");if(this.__dirty||s.__dirty){var l=s.shape.percent,u=s.pointAt(0),c=s.pointAt(l),h=r.sub([],c,u);if(r.normalize(h,h),t){t.attr("position",u);var d=s.tangentAt(0);t.attr("rotation",Math.PI/2-Math.atan2(d[1],d[0])),t.attr("scale",[o*l,o*l])}if(n){n.attr("position",c);d=s.tangentAt(1);n.attr("rotation",-Math.PI/2-Math.atan2(d[1],d[0])),n.attr("scale",[o*l,o*l])}if(!i.ignore){var f,p,g;i.attr("position",c);var v=5*o;if("end"===i.__position)f=[h[0]*v+c[0],h[1]*v+c[1]],p=h[0]>.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]<u[0]&&(_=Math.PI+_),i.attr("rotation",_)}else f=[-h[0]*v+u[0],-h[1]*v+u[1]],p=h[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<l[0]?(n=e*s,i=s):e<=l[1]?(n=t.axisExpandWindow0Pos+e*o-t.axisExpandWindow[0],u=o,c=!0):(n=r-(a-1-e)*s,i=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:i}}y.prototype={type:"parallel",constructor:y,_init:function(e,t,n){var i=e.dimensions,r=e.parallelAxisIndex;h(i,(function(e,n){var i=r[n],o=t.getComponent("parallelAxis",i),l=this._axesMap.set(e,new s(e,a.createScaleByModel(o),[0,0],o.get("type"),i)),u="category"===l.type;l.onBand=u&&o.get("boundaryGap"),l.inverse=o.get("inverse"),o.axis=l,l.model=o,l.coordinateSystem=o.coordinateSystem=this}),this)},update:function(e,t){this._updateAxesFromSeries(this._model,e)},containPoint:function(e){var t=this._makeLayoutInfo(),n=t.axisBase,i=t.layoutBase,r=t.pixelDimIndex,o=e[1-r],a=e[r];return o>=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;c<r;c++){var h;if(u){h="active";for(var d=e.getValues(s,c),f=0,p=a.length;f<p;f++){var g=l[f].getActiveState(d[f]);if("inactive"===g){h="inactive";break}}}else h="normal";t(h,c)}},hasAxisBrushed:function(){for(var e=this.dimensions,t=this._axesMap,n=!1,i=0,r=e.length;i<r;i++)"normal"!==t.get(e[i]).model.getActiveState()&&(n=!0);return n},axisCoordToPoint:function(e,t){var n=this._axesLayout[t];return l.applyTransform([e,0],n.transform)},getAxisLayout:function(e){return i.clone(this._axesLayout[e])},getSlidedAxisExpandWindow:function(e){var t=this._makeLayoutInfo(),n=t.pixelDimIndex,i=t.axisExpandWindow.slice(),r=i[1]-i[0],o=[0,t.axisExpandWidth*(t.axisCount-1)];if(!this.containPoint(e))return{behavior:"none",axisExpandWindow:i};var a,s=e[n]-t.layoutBase-t.axisExpandWindow0Pos,l="slide",u=t.axisCollapseWidth,h=this._model.get("axisExpandSlideTriggerArea"),p=null!=h[0];if(u)p&&u&&s<r*h[0]?(l="jump",a=s-r*h[2]):p&&u&&s>r*(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;a<o;a++)i[a]=c(e[a],t[a],n);else{var s=o&&e[0].length;for(a=0;a<o;a++)for(var l=0;l<s;l++)i[a][l]=c(e[a][l],t[a][l],n)}}function f(e,t,n){var i=e.length,r=t.length;if(i!==r){var o=i>r;if(o)e.length=r;else for(var a=i;a<r;a++)e.push(1===n?t[a]:s.call(t[a]))}var l=e[0]&&e[0].length;for(a=0;a<e.length;a++)if(1===n)isNaN(e[a])&&(e[a]=t[a]);else for(var u=0;u<l;u++)isNaN(e[a][u])&&(e[a][u]=t[a][u])}function p(e,t,n){if(e===t)return!0;var i=e.length;if(i!==t.length)return!1;if(1===n){for(var r=0;r<i;r++)if(e[r]!==t[r])return!1}else{var o=e[0].length;for(r=0;r<i;r++)for(var a=0;a<o;a++)if(e[r][a]!==t[r][a])return!1}return!0}function g(e,t,n,i,r,o,a,s,l){var u=e.length;if(1===l)for(var c=0;c<u;c++)s[c]=v(e[c],t[c],n[c],i[c],r,o,a);else{var h=e[0].length;for(c=0;c<u;c++)for(var d=0;d<h;d++)s[c][d]=v(e[c][d],t[c][d],n[c][d],i[c][d],r,o,a)}}function v(e,t,n,i,r,o,a){var s=.5*(n-e),l=.5*(i-t);return(2*(t-n)+s+l)*a+(-3*(t-n)-2*s-l)*o+s*r+t}function m(e){if(a(e)){var t=e.length;if(a(e[0])){for(var n=[],i=0;i<t;i++)n.push(s.call(e[i]));return n}return s.call(e)}return e}function y(e){return e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.floor(e[2]),"rgba("+e.join(",")+")"}function x(e){var t=e[e.length-1].value;return a(t&&t[0])?2:1}function _(e,t,n,o,s,l){var u=e._getter,m=e._setter,_="spline"===t,b=o.length;if(b){var w,S=o[0].value,M=a(S),I=!1,A=!1,T=M?x(o):0;o.sort((function(e,t){return e.time-t.time})),w=o[b-1].time;for(var D=[],P=[],C=o[0].value,O=!0,k=0;k<b;k++){D.push(o[k].time/w);var L=o[k].value;if(M&&p(L,C,T)||!M&&L===C||(O=!1),C=L,"string"===typeof L){var E=r.parse(L);E?(L=E,I=!0):A=!0}P.push(L)}if(l||!O){var R=P[b-1];for(k=0;k<b-1;k++)M?f(P[k],R,T):!isNaN(P[k])||isNaN(R)||A||I||(P[k]=R);M&&f(u(e._target,s),R,T);var z,N,B,V,j,F,W=0,G=0;if(I)var H=[0,0,0,0];var U=function(e,t){var n;if(t<0)n=0;else if(t<G){for(z=Math.min(W+1,b-1),n=z;n>=0;n--)if(D[n]<=t)break;n=Math.min(n,b-2)}else{for(n=W;n<b;n++)if(D[n]>t)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<this._clipList.length;e++)this._clipList[e].pause();this._paused=!0},resume:function(){for(var e=0;e<this._clipList.length;e++)this._clipList[e].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var e=this._doneList,t=e.length,n=0;n<t;n++)e[n].call(this)},start:function(e,t){var n,i=this,r=0,o=function(){r--,r||i._doneCallback()};for(var a in this._tracks)if(this._tracks.hasOwnProperty(a)){var s=_(this,e,o,this._tracks[a],a,t);s&&(this._clipList.push(s),r++,this.animation&&this.animation.addClip(s),n=s)}if(n){var l=n.onframe;n.onframe=function(e,t){l(e,t);for(var n=0;n<i._onframeList.length;n++)i._onframeList[n](e,t)}}return r||this._doneCallback(),this},stop:function(e){for(var t=this._clipList,n=this.animation,i=0;i<t.length;i++){var r=t[i];e&&r.onframe(this._target,1),n&&n.removeClip(r)}t.length=0},delay:function(e){return this._delay=e,this},done:function(e){return e&&this._doneList.push(e),this},getClips:function(){return this._clipList}};var w=b;e.exports=w},"044e":function(e,t,n){var i=n("78d7"),r=n("3083"),o=n("cbe1"),a=o.isArray,s="itemStyle",l={seriesType:"treemap",reset:function(e,t,n,i){var r=e.getData().tree,a=r.root,l=e.getModel(s);if(!a.isRemoved()){var c=o.map(r.levelModels,(function(e){return e?e.get(s):null}));u(a,{},c,l,e.getViewRoot().getAncestors(),e)}}};function u(e,t,n,i,r,a){var l=e.getModel(),f=e.getLayout();if(f&&!f.invisible&&f.isInView){var g,m=e.getModel(s),y=n[e.depth],x=c(m,t,y,i),_=m.get("borderColor"),b=m.get("borderColorSaturation");null!=b&&(g=h(x,e),_=d(b,g)),e.setVisual("borderColor",_);var w=e.viewChildren;if(w&&w.length){var S=p(e,l,f,m,x,w);o.each(w,(function(e,t){if(e.depth>=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&&l<c[0]&&(c[0]=l),null!=u&&u>c[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;l<i.count();l++){for(var u=[],c=!1,h=0;h<o.length;h++){var d=i.get(o[h],l);isNaN(d)||(c=!0),u.push(d)}c?i.setItemLayout(l,n.dataToPoint(u)):i.setItemLayout(l,[NaN,NaN])}s(i.graph)}else t&&"none"!==t||a(e)}))}e.exports=l},"05e9":function(e,t,n){var i=n("cbe1"),r=n("b100"),o=n("4dbf"),a="\0_ec_dataZoom_roams";function s(e,t){var n=c(e),r=t.dataZoomId,a=t.coordId;i.each(n,(function(e,n){var o=e.dataZoomInfos;o[r]&&i.indexOf(t.allCoordIds,a)<0&&(delete o[r],e.count--)})),d(n);var s=n[a];s||(s=n[a]={coordId:a,dataZoomInfos:{},count:0},s.controller=h(e,s),s.dispatchAction=i.curry(f,e)),!s.dataZoomInfos[r]&&s.count++,s.dataZoomInfos[r]=t;var l=p(s.dataZoomInfos);s.controller.enable(l.controlType,l.opt),s.controller.setPointerChecker(t.containsPoint),o.createOrUpdate(s,"dispatchAction",t.dataZoomModel.get("throttle",!0),"fixRate")}function l(e,t){var n=c(e);i.each(n,(function(e){e.controller.dispose();var n=e.dataZoomInfos;n[t]&&(delete n[t],e.count--)})),d(n)}function u(e){return e.type+"\0_"+e.id}function c(e){var t=e.getZr();return t[a]||(t[a]={})}function h(e,t){var n=new r(e.getZr());return i.each(["pan","zoom","scrollMove"],(function(e){n.on(e,(function(n){var r=[];i.each(t.dataZoomInfos,(function(i){if(n.isAvailableBehavior(i.dataZoomModel.option)){var o=(i.getRange||{})[e],a=o&&o(t.controller,n);!i.dataZoomModel.get("disabled",!0)&&a&&r.push({dataZoomId:i.dataZoomId,start:a[0],end:a[1]})}})),r.length&&t.dispatchAction(r)}))})),n}function d(e){i.each(e,(function(t,n){t.count||(t.controller.dispose(),delete e[n])}))}function f(e,t){e.dispatchAction({type:"dataZoom",batch:t})}function p(e){var t,n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0;return i.each(e,(function(e){var i=e.dataZoomModel,a=!i.get("disabled",!0)&&(!i.get("zoomLock",!0)||"move");r[n+a]>r[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;u<a.length;u++){var c=a[u],h=c[0];(l||r[h]!==s[h])&&(e[h]=i(e,h,r[h]||c[1]))}if((l||r.fill!==s.fill)&&(e.fillStyle=r.fill),(l||r.stroke!==s.stroke)&&(e.strokeStyle=r.stroke),(l||r.opacity!==s.opacity)&&(e.globalAlpha=null==r.opacity?1:r.opacity),(l||r.blend!==s.blend)&&(e.globalCompositeOperation=r.blend||"source-over"),this.hasStroke()){var d=r.lineWidth;e.lineWidth=d/(this.strokeNoScale&&t&&t.getLineScale?t.getLineScale():1)}},hasFill:function(){var e=this.fill;return null!=e&&"none"!==e},hasStroke:function(){var e=this.stroke;return null!=e&&"none"!==e&&this.lineWidth>0},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<o.length;a++)r.addColorStop(o[a].offset,o[a].color);return r}};for(var c=s.prototype,h=0;h<a.length;h++){var d=a[h];d[0]in c||(c[d[0]]=d[1])}s.getGradient=c.getGradient;var f=s;e.exports=f},"0729":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("fd6c"),a=n("78d7"),s=i.PRIORITY.VISUAL.COMPONENT;function l(e,t,n,i){for(var r=t.targetVisuals[i],o=a.prepareVisualTypes(r),s={color:e.getData().getVisual("color")},l=0,u=o.length;l<u;l++){var c=o[l],h=r["opacity"===c?"__alphaForOpacity":c];h&&h.applyVisual(n,d,f)}return s.color;function d(e){return s[e]}function f(e,t){s[e]=t}}i.registerVisual(s,{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",(function(t){var i=e.pipelineContext;!t.isTargetSeries(e)||i&&i.large||n.push(o.incrementalApplyVisual(t.stateList,t.targetVisuals,r.bind(t.getValueState,t),t.getDataDimension(e.getData())))})),n}}),i.registerVisual(s,{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),i=[];t.eachComponent("visualMap",(function(t){if(t.isTargetSeries(e)){var o=t.getVisualMeta(r.bind(l,null,e,t))||{stops:[],outerColors:[]},a=t.getDataDimension(n),s=n.getDimensionInfo(a);null!=s&&(o.dimension=s.index,i.push(o))}})),e.getData().setVisual("visualMeta",i)}})},"0890":function(e,t,n){var i=n("cbe1"),r=n("b7c7"),o=n("1bb8"),a=function(e){for(var t in e=e||{},r.call(this,e),e)e.hasOwnProperty(t)&&(this[t]=e[t]);this._children=[],this.__storage=null,this.__dirty=!0};a.prototype={constructor:a,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(e){return this._children[e]},childOfName:function(e){for(var t=this._children,n=0;n<t.length;n++)if(t[n].name===e)return t[n]},childCount:function(){return this._children.length},add:function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},addBefore:function(e,t){if(e&&e!==this&&e.parent!==this&&t&&t.parent===this){var n=this._children,i=n.indexOf(t);i>=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<n.length;t++)e=n[t],i&&(i.delFromStorage(e),e instanceof a&&e.delChildrenFromStorage(i)),e.parent=null;return n.length=0,this},eachChild:function(e,t){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];e.call(t,r,i)}return this},traverse:function(e,t){for(var n=0;n<this._children.length;n++){var i=this._children[n];e.call(t,i),"group"===i.type&&i.traverse(e,t)}return this},addChildrenToStorage:function(e){for(var t=0;t<this._children.length;t++){var n=this._children[t];e.addToStorage(n),n instanceof a&&n.addChildrenToStorage(e)}},delChildrenFromStorage:function(e){for(var t=0;t<this._children.length;t++){var n=this._children[t];e.delFromStorage(n),n instanceof a&&n.delChildrenFromStorage(e)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(e){for(var t=null,n=new o(0,0,0,0),i=e||this._children,r=[],a=0;a<i.length;a++){var s=i[a];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(r);u?(n.copy(l),n.applyTransform(u),t=t||n.clone(),t.union(n)):(t=t||l.clone(),t.union(l))}}return t||n}},i.inherits(a,r);var s=a;e.exports=s},"0890c":function(e,t,n){var i=n("2bfc"),r=n("dbbd"),o=n("ed3e"),a=o.quadraticSubdivide,s=o.cubicSubdivide,l=o.quadraticAt,u=o.cubicAt,c=o.quadraticDerivativeAt,h=o.cubicDerivativeAt,d=[];function f(e,t,n){var i=e.cpx2,r=e.cpy2;return null===i||null===r?[(n?h:u)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?h:u)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?c:l)(e.x1,e.cpx1,e.x2,t),(n?c:l)(e.y1,e.cpy1,e.y2,t)]}var p=i.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.x1,i=t.y1,r=t.x2,o=t.y2,l=t.cpx1,u=t.cpy1,c=t.cpx2,h=t.cpy2,f=t.percent;0!==f&&(e.moveTo(n,i),null==c||null==h?(f<1&&(a(n,l,r,f,d),l=d[1],r=d[2],a(i,u,o,f,d),u=d[1],o=d[2]),e.quadraticCurveTo(l,u,r,o)):(f<1&&(s(n,l,c,r,f,d),l=d[1],c=d[2],r=d[3],s(i,u,h,o,f,d),u=d[1],h=d[2],o=d[3]),e.bezierCurveTo(l,u,c,h,r,o)))},pointAt:function(e){return f(this.shape,e,!1)},tangentAt:function(e){var t=f(this.shape,e,!0);return r.normalize(t,t)}});e.exports=p},"08c1e":function(e,t,n){var i=n("cbe1"),r=n("55ba"),o=n("a4bb"),a=o.isDimensionStacked,s=i.indexOf;function l(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function u(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function c(e,t,n,i,o,s){var l=[],u=a(t,i),c=u?t.getCalculationInfo("stackResultDimension"):i,h=y(t,c,e),d=t.indicesOfNearest(c,h)[0];l[o]=t.get(n,d),l[s]=t.get(i,d);var f=r.getPrecision(t.get(i,d));return f=Math.min(f,20),f>=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;r<i.length;r++){var o=n.getDimensionInfo(i[r]);if(o.name===t)return o.coordDim}}function v(e,t){return!(e&&e.containData&&t.coord&&!l(t))||e.containData(t.coord)}function m(e,t,n,i){return i<2?e.coord&&e.coord[i]:e.value}function y(e,t,n){if("average"===n){var i=0,r=0;return e.each(t,(function(e,t){isNaN(e)||(i+=e,r++)})),i/r}return"median"===n?e.getMedian(t):e.getDataExtent(t,!0)["max"===n?1:0]}t.dataTransform=f,t.getAxisInfo=p,t.dataFilter=v,t.dimValueGetter=m,t.numCalculate=y},"08c7":function(e,t){var n={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};e.exports=n},"0934":function(e,t,n){var i=n("951f"),r=i.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(e){return e.stack=null,r.superApply(this,"getInitialData",arguments)}}),o=r;e.exports=o},"094f":function(e,t,n){var i=n("cbe1"),r=n("06c6"),o=n("b7c7"),a=n("41dc");function s(e){for(var t in e=e||{},o.call(this,e),e)e.hasOwnProperty(t)&&"style"!==t&&(this[t]=e[t]);this.style=new r(e.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(e){},afterBrush:function(e){},brush:function(e,t){},getBoundingRect:function(){},contain:function(e,t){return this.rectContain(e,t)},traverse:function(e,t){e.call(t,this)},rectContain:function(e,t){var n=this.transformCoordToLocal(e,t),i=this.getBoundingRect();return i.contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(e){return this.animate("style",e)},attrKV:function(e,t){"style"!==e?o.prototype.attrKV.call(this,e,t):this.style.set(t)},setStyle:function(e,t){return this.style.set(e,t),this.dirty(!1),this},useStyle:function(e){return this.style=new r(e,this),this.dirty(!1),this},calculateTextPosition:null},i.inherits(s,o),i.mixin(s,a);var l=s;e.exports=l},"09a0":function(e,t,n){var i=n("cbe1"),r=i.createHashMap,o=i.isObject,a=i.map;function s(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this._map}s.createByAxisModel=function(e){var t=e.option,n=t.data,i=n&&a(n,c);return new s({categories:i,needCollect:!i,deduplication:!1!==t.dedplication})};var l=s.prototype;function u(e){return e._map||(e._map=r(e.categories))}function c(e){return o(e)&&null!=e.value?e.value:e+""}l.getOrdinal=function(e){return u(this).get(e)},l.parseAndCollect=function(e){var t,n=this._needCollect;if("string"!==typeof e&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var i=u(this);return t=i.get(e),null==t&&(n?(t=this.categories.length,this.categories[t]=e,i.set(e,t)):t=NaN),t};var h=s;e.exports=h},"09d7":function(e,t,n){var i=n("4ae0"),r=n("3747"),o=n("2dda"),a=n("c4dd"),s=n("6b0b"),l=n("337b"),u=n("db6e"),c=r.extend({makeElOption:function(e,t,n,r,o){var s=n.axis;"angle"===s.dim&&(this.animationThreshold=Math.PI/18);var l,u=s.polar,c=u.getOtherAxis(s),f=c.getExtent();l=s["dataTo"+i.capitalFirst(s.dim)](t);var p=r.get("type");if(p&&"none"!==p){var g=a.buildElStyle(r),v=d[p](s,u,l,f,g);v.style=g,e.graphicKey=v.type,e.pointer=v}var m=r.get("label.margin"),y=h(t,n,r,u,m);a.buildLabelElOption(e,n,r,o,y)}});function h(e,t,n,i,r){var a=t.axis,u=a.dataToCoord(e),c=i.getAngleAxis().getExtent()[0];c=c/180*Math.PI;var h,d,f,p=i.getRadiusAxis().getExtent();if("radius"===a.dim){var g=s.create();s.rotate(g,g,c),s.translate(g,g,[i.cx,i.cy]),h=o.applyTransform([u,-r],g);var v=t.getModel("axisLabel").get("rotate")||0,m=l.innerTextLayout(c,v*Math.PI/180,-1);d=m.textAlign,f=m.textVerticalAlign}else{var y=p[1];h=i.coordToPoint([y+r,u]);var x=i.cx,_=i.cy;d=Math.abs(h[0]-x)/y<.3?"center":h[0]>x?"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<t.length;n++)this.addClip(t[n])},removeClip:function(e){var t=i.indexOf(this._clips,e);t>=0&&this._clips.splice(t,1)},removeAnimator:function(e){for(var t=e.getClips(),n=0;n<t.length;n++)this.removeClip(t[n]);e.animation=null},_update:function(){for(var e=(new Date).getTime()-this._pausedTime,t=e-this._time,n=this._clips,i=n.length,r=[],o=[],a=0;a<i;a++){var s=n[a],l=s.step(e,t);l&&(r.push(l),o.push(s))}for(a=0;a<i;)n[a]._needsRemove?(n[a]=n[i-1],n.pop(),i--):a++;i=r.length;for(a=0;a<i;a++)o[a].fire(r[a]);this._time=e,this.onframe(t),this.trigger("frame",t),this.stage.update&&this.stage.update()},_startLoop:function(){var e=this;function t(){e._running&&(a(t),!e._paused&&e._update())}this._running=!0,a(t)},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(e,t){t=t||{};var n=new s(e,t.loop,t.getter,t.setter);return this.addAnimator(n),n}},i.mixin(l,o);var u=l;e.exports=u},"0e18":function(e,t,n){var i=n("cbe1"),r=n("1bb8"),o=n("55ba"),a=o.parsePercent,s=n("4ae0"),l=i.each,u=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function h(e,t,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;t.eachChild((function(l,u){var c,h,d=l.position,f=l.getBoundingRect(),p=t.childAt(u+1),g=p&&p.getBoundingRect();if("horizontal"===e){var v=f.width+(g?-g.x+f.x:0);c=o+v,c>i||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<n.length;f++){var p=n[f];if(!u(o,p)&&u(e,p)){o[p]=e[p];break}}return o}return s}function u(e,t){return e.hasOwnProperty(t)}function h(e,t){return null!=e[t]&&"auto"!==e[t]}function d(e,t,n){l(e,(function(e){t[e]=n[e]}))}d(c[0],e,o),d(c[1],e,a)}function _(e){return b({},e)}function b(e,t){return t&&e&&l(u,(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}t.LOCATION_PARAMS=u,t.HV_NAMES=c,t.box=d,t.vbox=f,t.hbox=p,t.getAvailableSize=g,t.getLayoutRect=v,t.positionElement=m,t.sizeCalculable=y,t.mergeLayoutParam=x,t.getLayoutParams=_,t.copyLayoutParams=b},"0e38":function(e,t,n){var i=n("cbe1"),r=n("7a17"),o=n("e1b3"),a=n("143f"),s=r.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(e,t){return t.type||(t.data?"category":"value")}i.merge(s.prototype,a);var u={offset:0};o("x",s,l,u),o("y",s,l,u);var c=s;e.exports=c},"0f2e":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("be69"),a=i.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){a.superApply(this,"optionUpdated",arguments),r.each(this.option.feature,(function(e,t){var n=o.get(t);n&&r.merge(e,n.defaultOption)}))},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),s=a;e.exports=s},"0f62":function(e,t,n){var i=n("cbe1"),r=i.each,o=i.createHashMap,a=(i.assert,n("775e")),s=(a.__DEV__,o(["tooltip","label","itemName","itemId","seriesName"]));function l(e){var t={},n=t.encode={},i=o(),a=[],l=[],c=t.userOutput={dimensionNames:e.dimensions.slice(),encode:{}};r(e.dimensions,(function(t){var r=e.getDimensionInfo(t),o=r.coordDim;if(o){var d=r.coordDimIndex;u(n,o)[d]=t,r.isExtraCoord||(i.set(o,1),h(r.type)&&(a[0]=t),u(c.encode,o)[d]=r.index),r.defaultTooltip&&l.push(t)}s.each((function(e,t){var i=u(n,t),o=r.otherDims[t];null!=o&&!1!==o&&(i[o]=r.name)}))}));var d=[],f={};i.each((function(e,t){var i=n[t];f[t]=i[0],d=d.concat(i)})),t.dataDimsOnCoord=d,t.encodeFirstDimNotExtra=f;var p=n.label;p&&p.length&&(a=p.slice());var g=n.tooltip;return g&&g.length?l=g.slice():l.length||(l=a.slice()),n.defaultedLabel=a,n.defaultedTooltip=l,t}function u(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function c(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function h(e){return!("ordinal"===e||"time"===e)}t.OTHER_DIMENSIONS=s,t.summarizeDimensions=l,t.getDimensionTypeByAxis=c},1055:function(e,t,n){var i=n("2bfc"),r=i.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var e=this.__dirtyPath,t=this.shape.paths,n=0;n<t.length;n++)e=e||t[n].__dirtyPath;this.__dirtyPath=e,this.__dirty=this.__dirty||e},beforeBrush:function(){this._updatePathDirty();for(var e=this.shape.paths||[],t=this.getGlobalScale(),n=0;n<e.length;n++)e[n].path||e[n].createPathProxy(),e[n].path.setScale(t[0],t[1],e[n].segmentIgnoreThreshold)},buildPath:function(e,t){for(var n=t.paths||[],i=0;i<n.length;i++)n[i].buildPath(e,n[i].shape,!0)},afterBrush:function(){for(var e=this.shape.paths||[],t=0;t<e.length;t++)e[t].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),i.prototype.getBoundingRect.call(this)}});e.exports=r},"106e":function(e,t,n){var i=n("cbe1"),r=i.each,o=i.isArray,a=i.isObject,s=n("63a2"),l=n("5c3e"),u=l.normalizeToArray;function c(e,t){t=t.split(",");for(var n=e,i=0;i<t.length;i++)if(n=n&&n[t[i]],null==n)break;return n}function h(e,t,n,i){t=t.split(",");for(var r,o=e,a=0;a<t.length-1;a++)r=t[a],null==o[r]&&(o[r]={}),o=o[r];(i||null==o[t[a]])&&(o[t[a]]=n)}function d(e){r(f,(function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])}))}var f=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],p=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function g(e,t){s(e,t),e.series=u(e.series),r(e.series,(function(e){if(a(e)){var t=e.type;if("line"===t)null!=e.clipOverflow&&(e.clip=e.clipOverflow);else if("pie"===t||"gauge"===t)null!=e.clockWise&&(e.clockwise=e.clockWise);else if("gauge"===t){var n=c(e,"pointer.color");null!=n&&h(e,"itemStyle.color",n)}d(e)}})),e.dataRange&&(e.visualMap=e.dataRange),r(p,(function(t){var n=e[t];n&&(o(n)||(n=[n]),r(n,(function(e){d(e)})))}))}e.exports=g},"10e8":function(e,t){var n={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},i=9;t.ContextCachedBy=n,t.WILL_BE_RESTORED=i},"116b":function(e,t){var n=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function i(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:n[0]})}e.exports=i},"11a2":function(e,t,n){var i=n("d453");t.Dispatcher=i;var r=n("3804"),o=n("f67c"),a=o.buildTransformer,s="undefined"!==typeof window&&!!window.addEventListener,l=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,u="___zrEVENTSAVED",c=[];function h(e,t,n,i){return n=n||{},i||!r.canvasSupported?d(e,t,n):r.browser.firefox&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):d(e,t,n),n}function d(e,t,n){if(e.getBoundingClientRect&&r.domSupported){var i=t.clientX,o=t.clientY;if("CANVAS"===e.nodeName.toUpperCase()){var a=e.getBoundingClientRect();return n.zrX=i-a.left,void(n.zrY=o-a.top)}var s=e[u]||(e[u]={}),l=p(f(e,s),s);if(l)return l(c,i,o),n.zrX=c[0],void(n.zrY=c[1])}n.zrX=n.zrY=0}function f(e,t){var n=t.markers;if(n)return n;n=t.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>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<i.length&&f.apply(c,s.slice(1)),u=s[0].length,p=l,c.length>=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<d.length){x.lastIndex=v?w:0;var M,I=c(x,v?d:d.slice(w));if(null===I||(M=p(u(x.lastIndex+(v?0:w)),d.length))===b)w=l(d,w,m);else{if(S.push(d.slice(b,w)),S.length===_)return S;for(var A=1;A<=I.length-1;A++)if(S.push(I[A]),S.length===_)return S;w=b=M}}return S.push(d.slice(b)),S}]}),!v)},"12b1":function(e,t,n){var i=n("dbbd7"),r=n("9650"),o=n("fdf7"),a="Expected a function",s=Math.max,l=Math.min;function u(e,t,n){var u,c,h,d,f,p,g=0,v=!1,m=!1,y=!0;if("function"!=typeof e)throw new TypeError(a);function x(t){var n=u,i=c;return u=c=void 0,g=t,d=e.apply(i,n),d}function _(e){return g=e,f=setTimeout(S,t),v?x(e):d}function b(e){var n=e-p,i=e-g,r=t-n;return m?l(r,h-i):r}function w(e){var n=e-p,i=e-g;return void 0===p||n>=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;r<o;r++){var a=t[r];if(e[a.brushType](i,n,a.selectors,a))return!0}}function m(e){var t=e.brushSelector;if(r.isString(t)){var n=[];return r.each(s,(function(e,i){n[i]=function(n,i,r,o){var a=i.getItemLayout(n);return e[t](a,r,o)}})),n}if(r.isFunction(t)){var i={};return r.each(s,(function(e,n){i[n]=t})),i}return t}function y(e,t){var n=e.option.seriesIndex;return null!=n&&"all"!==n&&(r.isArray(n)?r.indexOf(n,t)<0:t!==n)}function x(e){var t=e.selectors={};return r.each(s[e.brushType],(function(n,i){t[i]=function(i){return n(i,t,e)}})),e}i.registerLayout(f,(function(e,t,n){e.eachComponent({mainType:"brush"},(function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1});var i=t.brushTargetManager=new u(t.option,e);i.setInputRanges(t.areas,e)}))})),i.registerVisual(f,(function(e,t,n){var i,o,s=[];e.eachComponent({mainType:"brush"},(function(t,n){var l={brushId:t.id,brushIndex:n,brushName:t.name,areas:r.clone(t.areas),selected:[]};s.push(l);var u=t.option,h=u.brushLink,d=[],f=[],p=[],g=0;n||(i=u.throttleType,o=u.throttleDelay);var b=r.map(t.areas,(function(e){return x(r.defaults({boundingRect:_[e.brushType](e)},e))})),w=a.createVisualMappings(t.option,c,(function(e){e.mappingMethod="fixed"}));function S(e){return"all"===h||d[e]}function M(e){return!!e.length}function I(e,t){var n=e.coordinateSystem;g|=n.hasAxisBrushed(),S(t)&&n.eachActiveState(e.getData(),(function(e,t){"active"===e&&(f[t]=1)}))}function A(n,i,o){var a=m(n);if(a&&!y(t,i)&&(r.each(b,(function(i){a[i.brushType]&&t.brushTargetManager.controlSeries(i,n,e)&&o.push(i),g|=M(o)})),S(i)&&M(o))){var s=n.getData();s.each((function(e){v(a,o,s,e)&&(f[e]=1)}))}}r.isArray(h)&&r.each(h,(function(e){d[e]=1})),e.eachSeries((function(e,t){var n=p[t]=[];"parallel"===e.subType?I(e,t,n):A(e,t,n)})),e.eachSeries((function(e,t){var n={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]};l.selected.push(n);var i=m(e),r=p[t],o=e.getData(),s=S(t)?function(e){return f[e]?(n.dataIndex.push(o.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(e){return v(i,r,o,e)?(n.dataIndex.push(o.getRawIndex(e)),"inBrush"):"outOfBrush"};(S(t)?g:M(r))&&a.applyVisual(c,w,o,s)}))})),p(t,i,o,s,n)}));var _={lineX:r.noop,lineY:r.noop,rect:function(e){return b(e.range)},polygon:function(e){for(var t,n=e.range,i=0,r=n.length;i<r;i++){t=t||[[1/0,-1/0],[1/0,-1/0]];var o=n[i];o[0]<t[0][0]&&(t[0][0]=o[0]),o[0]>t[0][1]&&(t[0][1]=o[0]),o[1]<t[1][0]&&(t[1][0]=o[1]),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;s<e.end;s++){var l=u(i,this._dataGroup,s,o,r);l.incremental=!0,h(l,i,s,a)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function s(e,t,n){var r=e.model,o=e.getRect(),a=new i.Rect({shape:{x:o.x,y:o.y,width:o.width,height:o.height}}),s="horizontal"===r.get("layout")?"width":"height";return a.setShape(s,0),i.initProps(a,{shape:{width:o.width,height:o.height}},t,n),a}function l(e,t,n,i){for(var r=[],o=0;o<n.length;o++){var a=n[o],s=e.get(e.mapDimension(a),t);d(s,i.getAxis(a).type)||r.push(i.dataToPoint(s,a))}return r}function u(e,t,n,r,o){var a=l(e,n,r,o),s=new i.Polyline({shape:{points:a},silent:!0,z2:10});return t.add(s),e.setItemGraphicEl(n,s),s}function c(e){var t=e.get("smooth",!0);return!0===t&&(t=o),{lineStyle:e.getModel("lineStyle").getLineStyle(),smooth:null!=t?t:o}}function h(e,t,n,i){var r=i.lineStyle;if(t.hasItemOption){var o=t.getItemModel(n).getModel("lineStyle");r=o.getLineStyle()}e.useStyle(r);var a=e.style;a.fill=null,a.stroke=t.getItemVisual(n,"color"),a.opacity=t.getItemVisual(n,"opacity"),i.smooth&&(e.shape.smooth=i.smooth)}function d(e,t){return"category"===t?null==e:null==e||isNaN(e)}var f=a;e.exports=f},"153d":function(e,t,n){var i=n("11a2"),r=function(){this._track=[]};function o(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}function a(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}r.prototype={constructor:r,recognize:function(e,t,n){return this._doTrack(e,t,n),this._recognize(e)},clear:function(){return this._track.length=0,this},_doTrack:function(e,t,n){var r=e.touches;if(r){for(var o={points:[],touches:[],target:t,event:e},a=0,s=r.length;a<s;a++){var l=r[a],u=i.clientToLocal(n,l,{});o.points.push([u.zrX,u.zrY]),o.touches.push(l)}this._track.push(o)}},_recognize:function(e){for(var t in s)if(s.hasOwnProperty(t)){var n=s[t](this._track,e);if(n)return n}}};var s={pinch:function(e,t){var n=e.length;if(n){var i=(e[n-1]||{}).points,r=(e[n-2]||{}).points||i;if(r&&r.length>1&&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<t.getHeight()/2?"-":"+":r.x+r.width/2<t.getWidth()/2?"+":"-":isNaN(n)&&(n={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[i][n]);var o,a,s,l,u={horizontal:"center",vertical:n>=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]),n<r[0]&&(n=r[0]),this._currentPointer.position[0]=n,this._currentPointer.dirty();var o=this._findNearestTick(n),a=this.model;(t||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},_doPlayStop:function(){function e(){var e=this.model;this._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(v(e,this),this.model.get("playInterval")))},_toAxisCoord:function(e){var t=this._mainGroup.getLocalTransform();return a.applyTransform(e,t,!0)},_findNearestTick:function(e){var t,n=this.model.getData(),i=1/0,r=this._axis;return n.each(["value"],(function(n,o){var a=r.dataToCoord(n),s=Math.abs(a-e);s<i&&(i=s,t=o)})),t},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(e){var t=this.model.getCurrentIndex();"+"===e?e=t+1:"-"===e&&(e=t-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})}});function _(e,t){return s.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function b(e,t,n,o){var s=a.makePath(e.get(t).replace(/^path:\/\//,""),i.clone(o||{}),new r(n[0],n[1],n[2],n[3]),"center");return s}function w(e,t,n,r,o,a){var s=t.get("color");if(o)o.setColor(s),n.add(o),a&&a.onUpdate(o);else{var l=e.get("symbol");o=h(l,-1,-1,2,2,s),o.setStyle("strokeNoScale",!0),n.add(o),a&&a.onCreate(o)}var u=t.getItemStyle(["color","symbol","symbolSize"]);o.setStyle(u),r=i.merge({rectHover:!0,z2:100},r,!0);var c=e.get("symbolSize");c=c instanceof Array?c.slice():[+c,+c],c[0]/=2,c[1]/=2,r.scale=c;var d=e.get("symbolOffset");if(d){var p=r.position=r.position||[0,0];p[0]+=f.parsePercent(d[0],c[0]),p[1]+=f.parsePercent(d[1],c[1])}var g=e.get("symbolRotate");return r.rotation=(g||0)*Math.PI/180||0,o.attr(r),o.updateTransform(),o}function S(e,t,n,i,r){if(!e.dragging){var o=i.getModel("checkpointStyle"),a=n.dataToCoord(i.getData().get(["value"],t));r||!o.get("animation",!0)?e.attr({position:[a,0]}):(e.stopAnimation(!0),e.animateTo({position:[a,0]},o.get("animationDuration",!0),o.get("animationEasing",!0)))}}e.exports=x},"17c2":function(e,t,n){"use strict";var i=n("b727").forEach,r=n("b301");e.exports=r("forEach")?function(e){return i(this,e,arguments.length>1?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;t<e.pending.length;t++){var n=e.pending[t],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function l(e){return e&&e.width&&e.height}t.findExistImage=o,t.createOrUpdateImage=a,t.isImageReady=l},1930:function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("2dda"),a=n("4ae0"),s=n("0e18"),l=n("78d7"),u=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,n,i){this.visualMapModel=e,!1!==e.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(e){var t=this.visualMapModel,n=a.normalizeCssArray(t.get("padding")||0),i=e.getBoundingRect();e.add(new o.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,n){n=n||{};var i=n.forceState,o=this.visualMapModel,a={};if("symbol"===t&&(a.symbol=o.get("itemSymbol")),"color"===t){var s=o.get("contentColor");a.color=s}function u(e){return a[e]}function c(e,t){a[e]=t}var h=o.controllerVisuals[i||o.getValueState(e)],d=l.prepareVisualTypes(h);return r.each(d,(function(i){var r=h[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=h.__alphaForOpacity),l.dependsOn(i,t)&&r&&r.applyVisual(e,u,c)})),a[t]},positionGroup:function(e){var t=this.visualMapModel,n=this.api;s.positionElement(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:r.noop});e.exports=u},1939:function(e,t){var n="http://www.w3.org/2000/svg";function i(e){return document.createElementNS(n,e)}t.createElement=i},1966:function(e,t,n){var i=n("cbe1");function r(e,t){return i.map(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=t[i],a=e[i]/2,s="dataTo"+n,l="category"===r.type?r.getBandWidth():Math.abs(r[s](o-a)-r[s](o+a));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function o(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),o=t.getExtent();return o[0]>o[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;p<f;++p){var g=e[p],v=g[0],m=g[1],y=g[2],x=i(y);d.globalAlpha=x,d.drawImage(s,v-c,m-c)}if(!h.width||!h.height)return h;var _=d.getImageData(0,0,h.width,h.height),b=_.data,w=0,S=b.length,M=this.minOpacity,I=this.maxOpacity,A=I-M;while(w<S){x=b[w+3]/256;var T=4*Math.floor(x*(r-1));if(x>0){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<i;r++)t[r]=t[r]||[],t[r][0]=this._flatCoords[n+2*r],t[r][1]=this._flatCoords[n+2*r+1];return i}var o=this._getCoordsFromItemModel(e);for(r=0;r<o.length;r++)t[r]=t[r]||[],t[r][0]=o[r][0],t[r][1]=o[r][1];return o.length},_processFlatCoordsArray:function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),"number"===typeof e[0]){for(var n=e.length,i=new d(n),r=new f(n),o=0,a=0,s=0,l=0;l<n;){s++;var u=e[l++];i[a++]=o+t,i[a++]=u;for(var c=0;c<u;c++){var h=e[l++],p=e[l++];r[o++]=h,r[o++]=p}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,a),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},getInitialData:function(e,t){var n=new o(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],(function(e,t,i,r){if(e instanceof Array)return NaN;n.hasItemOption=!0;var o=e.value;return null!=o?o instanceof Array?o[r]:o:void 0})),n},formatTooltip:function(e){var t=this.getData(),n=t.getItemModel(e),i=n.get("name");if(i)return i;var r=n.get("fromName"),o=n.get("toName"),a=[];return null!=r&&a.push(r),null!=o&&a.push(o),h(a.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),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<a||s<n||o<u||c<r)},contain:function(e,t){var n=this;return e>=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<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0}))}e.exports=n},"1d52":function(e,t,n){var i=n("cbe1"),r=n("3a73"),o=n("ff87"),a=n("1e92"),s=n("7ead"),l=n("d1a1"),u=n("9bc4");function c(e,t,n,c,h){for(var d=new o(c),f=0;f<e.length;f++)d.addNode(i.retrieve(e[f].id,e[f].name,f),f);var p=[],g=[],v=0;for(f=0;f<t.length;f++){var m=t[f],y=m.source,x=m.target;d.addEdge(y,x,v)&&(g.push(m),p.push(i.retrieve(m.id,y+" > "+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.span<a)&&(t[1-o]=t[o]+c.sign*a);f=i(t,o);return null!=s&&f.span>s&&(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<b;w++){var S=i[w]=l({},u(i[w])?i[w]:{name:i[w]}),M=S.name,I=y[w]={otherDims:{}};null!=M&&null==f.get(M)&&(I.name=I.displayName=M,f.set(M,w)),null!=S.type&&(I.type=S.type),null!=S.displayName&&(I.displayName=S.displayName)}h.each((function(e,t){if(e=d(e).slice(),1===e.length&&!a(e[0])&&e[0]<0)h.set(t,!1);else{var n=h.set(t,[]);o(e,(function(e,i){a(e)&&(e=f.get(e)),null!=e&&e<b&&(n[i]=e,T(y[e],t,i))}))}}));var A=0;function T(e,t,n){null!=m.get(t)?e.otherDims[t]=n:(e.coordDim=t,e.coordDimIndex=n,v.set(t,!0))}o(e,(function(e,t){var n,i,r;if(a(e))n=e,e={};else{n=e.name;var l=e.ordinalMeta;e.ordinalMeta=null,e=c(e),e.ordinalMeta=l,i=e.dimsDef,r=e.otherDims,e.name=e.coordDim=e.coordDimIndex=e.dimsDef=e.otherDims=null}var f=h.get(n);if(!1!==f){f=d(f);if(!f.length)for(var p=0;p<(i&&i.length||1);p++){while(A<y.length&&null!=y[A].coordDim)A++;A<y.length&&f.push(A++)}o(f,(function(t,o){var a=y[t];if(T(s(a,e),n,o),null==a.name&&i){var l=i[o];!u(l)&&(l={name:l}),a.name=a.displayName=l.name,a.defaultTooltip=l.defaultTooltip}r&&s(a.otherDims,r)}))}}));var D=n.generateCoord,P=n.generateCoordCount,C=null!=P;P=D?P||1:0;for(var O=D||"value",k=0;k<b;k++){I=y[k]=y[k]||{};var L=I.coordDim;null==L&&(I.coordDim=_(O,v,C),I.coordDimIndex=0,(!D||P<=0)&&(I.isExtraCoord=!0),P--),null==I.name&&(I.name=_(I.coordDim,f)),null==I.type&&p(t,k,I.name)&&(I.type="ordinal")}return y}function x(e,t,n,i){var r=Math.max(e.dimensionsDetectCount||1,t.length,n.length,i||0);return o(t,(function(e){var t=e.dimsDef;t&&(r=Math.max(r,t.length))})),r}function _(e,t,n){if(n||null!=t.get(e)){var i=0;while(null!=t.get(e+i))i++;e+=i}return t.set(e,!0),e}var b=y;e.exports=b},"20b1":function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=r.each,a=r.createHashMap,s=n("f826"),l=n("0150"),u=n("7d65"),c=n("1bb8"),h={geoJSON:l,svg:u},d={load:function(e,t){var n,i=[],r=a(),s=a(),l=p(e);return o(l,(function(a){var l=h[a.type].load(e,a);o(l.regions,(function(e){var n=e.name;t&&t.hasOwnProperty(n)&&(e=e.cloneShallow(n=t[n])),i.push(e),r.set(n,e),s.set(n,e.center)}));var u=l.boundingRect;u&&(n?n.union(u):n=u.clone())})),{regions:i,regionsMap:r,nameCoordMap:s,boundingRect:n||new c(0,0,0,0)}},makeGraphic:f("makeGraphic"),removeGraphic:f("removeGraphic")};function f(e){return function(t,n){var i=p(t),r=[];return o(i,(function(i){var o=h[i.type][e];o&&r.push(o(t,i,n))})),r}}function p(e){var t=s.retrieveMap(e)||[];return t}e.exports=d},2268:function(e,t,n){var i=n("333f");n("2684"),n("8db1"),n("7f20"),n("4da2"),n("0c6b"),i.extendComponentView({type:"single"})},2360:function(e,t,n){var i=n("cbe1"),r=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function o(e){i.each(r,(function(t){this[t]=i.bind(e[t],e)}),this)}var a=o;e.exports=a},2373:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=n("2dda"),a=n("5c3e"),s=n("4ac2"),l=r.each,u=r.indexOf,c=r.curry,h=["dataToPoint","pointToData"],d=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function f(e,t,n){var i=this._targetInfoList=[],r={},o=v(t,e);l(m,(function(e,t){(!n||!n.include||u(n.include,t)>=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<n.length;r++){var o=n[r],a=e.panelId;if(a){if(o.panelId===a)return o}else for(r=0;r<y.length;r++)if(y[r](i,o))return o}return!0};var m={grid:function(e,t){var n=e.xAxisModels,i=e.yAxisModels,o=e.gridModels,a=r.createHashMap(),s={},c={};(n||i||o)&&(l(n,(function(e){var t=e.axis.grid.model;a.set(t.id,t),s[t.id]=!0})),l(i,(function(e){var t=e.axis.grid.model;a.set(t.id,t),c[t.id]=!0})),l(o,(function(e){a.set(e.id,e),s[e.id]=!0,c[e.id]=!0})),a.each((function(e){var r=e.coordinateSystem,o=[];l(r.getCartesians(),(function(e,t){(u(n,e.getAxis("x").model)>=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},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;n<e.length;n++)t+=e[n];this._dashSum=t}return this},setLineDashOffset:function(e){return this._dashOffset=e,this},len:function(){return this._len},setData:function(e){var t=e.length;this.data&&this.data.length===t||!_||(this.data=new Float32Array(t));for(var n=0;n<t;n++)this.data[n]=e[n];this._len=t},appendPath:function(e){e instanceof Array||(e=[e]);for(var t=e.length,n=0,i=this._len,r=0;r<t;r++)n+=e[r].len();_&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<t;r++)for(var o=e[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},addData:function(e){if(this._saveData){var t=this.data;this._len+arguments.length>t.length&&(this._expandData(),t=this.data);for(var n=0;n<arguments.length;n++)t[this._len++]=arguments[n];this._prevCmd=e}},_expandData:function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(e,t){var n,i,r=this._dashSum,o=this._dashOffset,a=this._lineDash,s=this._ctx,l=this._xi,u=this._yi,c=e-l,h=t-u,d=y(c*c+h*h),f=l,v=u,m=a.length;c/=d,h/=d,o<0&&(o=r+o),o%=r,f-=o*c,v-=o*h;while(c>0&&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&&f<l||c<0&&f>l||h>0&&v<u||h<0&&v>u||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(;b<w;b++)if(S+=p[b],S>f)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;l<e.length;){var p=e[l++];switch(1===l&&(t=e[l],n=e[l+1],i=t,s=n),p){case u.M:i=e[l++],s=e[l++],t=i,n=s,d[0]=i,d[1]=s,f[0]=i,f[1]=s;break;case u.L:o.fromLine(t,n,e[l],e[l+1],d,f),t=e[l++],n=e[l++];break;case u.C:o.fromCubic(t,n,e[l++],e[l++],e[l++],e[l++],e[l],e[l+1],d,f),t=e[l++],n=e[l++];break;case u.Q:o.fromQuadratic(t,n,e[l++],e[l++],e[l],e[l+1],d,f),t=e[l++],n=e[l++];break;case u.A:var g=e[l++],y=e[l++],x=e[l++],_=e[l++],b=e[l++],w=e[l++]+b;l+=1;var S=1-e[l++];1===l&&(i=v(b)*x+g,s=m(b)*_+y),o.fromArc(g,y,x,_,b,w,S,d,f),t=v(w)*x+g,n=m(w)*_+y;break;case u.R:i=t=e[l++],s=n=e[l++];var M=e[l++],I=e[l++];o.fromLine(i,s,i+M,s+I,d,f);break;case u.Z:t=i,n=s;break}r.min(c,c,d),r.max(h,h,f)}return 0===l&&(c[0]=c[1]=h[0]=h[1]=0),new a(c[0],c[1],h[0]-c[0],h[1]-c[1])},rebuildPath:function(e){for(var t,n,i,r,o,a,s=this.data,l=this._ux,c=this._uy,h=this._len,d=0;d<h;){var f=s[d++];switch(1===d&&(i=s[d],r=s[d+1],t=i,n=r),f){case u.M:t=i=s[d++],n=r=s[d++],e.moveTo(i,r);break;case u.L:o=s[d++],a=s[d++],(x(o-i)>l||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;t<m.getLayout().x&&(m=e),t>y.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;o<n;o++)if(e[o].y+=i,o>t&&o+1<n&&e[o+1].y>e[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<l;s++){var u=Math.abs(e[s].y-i),c=e[s].len,h=e[s].len2,d=u<r+c?Math.sqrt((r+c+h)*(r+c+h)-u*u):Math.abs(e[s].x-n);t&&d>=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<d;g++)c=e[g].y-h,c<0&&s(g,d,-c,r),h=e[g].y+e[g].height;a-h<0&&l(d-1,h-a);for(g=0;g<d;g++)e[g].y>=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;c<e.length;c++)s(e[c])||(e[c].x<t?l.push(e[c]):u.push(e[c]));o(u,t,n,i,1,r,a),o(l,t,n,i,-1,r,a);for(c=0;c<e.length;c++)if(!s(e[c])){var h=e[c].linePoints;if(h){var d=h[1][0]-h[2][0];e[c].x<t?h[2][0]=e[c].x+3:h[2][0]=e[c].x-3,h[1][1]=h[2][1]=e[c].y,h[1][0]=h[2][0]+d}}}function s(e){return"center"===e.position}function l(e,t,n,o,s){var l,u,c=e.getData(),h=[],d=!1,f=(e.get("minShowLabelAngle")||0)*r;c.each((function(n){var r=c.getItemLayout(n),o=c.getItemModel(n),a=o.getModel("label"),s=a.get("position")||o.get("emphasis.label.position"),p=o.getModel("labelLine"),g=p.get("length"),v=p.get("length2");if(!(r.angle<f)){var m,y,x,_,b=(r.startAngle+r.endAngle)/2,w=Math.cos(b),S=Math.sin(b);l=r.cx,u=r.cy;var M="inside"===s||"inner"===s;if("center"===s)m=r.cx,y=r.cy,_="center";else{var I=(M?(r.r+r.r0)/2*w:r.r*w)+l,A=(M?(r.r+r.r0)/2*S:r.r*S)+u;if(m=I+3*w,y=A+3*S,!M){var T=I+w*(g+t-r.r),D=A+S*(g+t-r.r),P=T+(w<0?-1:1)*v,C=D;m=P+(w<0?-5:5),y=C,x=[[I,A],[T,D],[P,C]]}_=M?"center":w>0?"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},"27fa":function(e,t,n){var i=n("b9af"),r=Object.prototype,o=r.hasOwnProperty,a=r.toString,s=i?i.toStringTag:void 0;function l(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var i=!0}catch(l){}var r=a.call(e);return i&&(t?e[s]=n:delete e[s]),r}e.exports=l},"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<a.length;s++)r.push(a[s])}while(i=o.pop())t(i,n)}function i(e,t){var n,i=[e];while(n=i.pop())if(t(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}t.eachAfter=n,t.eachBefore=i},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;i<t.length;i+=2){var r=parseFloat(t[i]),o=parseFloat(t[i+1]);n.push([r,o])}return n}var k={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function L(e,t,n,i){var r=t.__inheritedStyle||{},o="text"===t.type;if(1===e.nodeType&&(N(e,t),_(r,V(e)),!i))for(var a in k)if(k.hasOwnProperty(a)){var s=e.getAttribute(a);null!=s&&(r[k[a]]=s)}var l=o?"textFill":"fill",u=o?"textStroke":"stroke";t.style=t.style||new p;var c=t.style;null!=r.fill&&c.set(l,R(r.fill,n)),null!=r.stroke&&c.set(u,R(r.stroke,n)),S(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(e){var t="lineWidth"===e&&o?"textStrokeWidth":e;null!=r[e]&&c.set(t,parseFloat(r[e]))})),r.textBaseline&&"auto"!==r.textBaseline||(r.textBaseline="alphabetic"),"alphabetic"===r.textBaseline&&(r.textBaseline="bottom"),"start"===r.textAlign&&(r.textAlign="left"),"end"===r.textAlign&&(r.textAlign="right"),S(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(e){null!=r[e]&&c.set(e,r[e])})),r.lineDash&&(t.style.lineDash=w(r.lineDash).split(M)),c[u]&&"none"!==c[u]&&(t[u]=!0),t.__inheritedStyle=r}var E=/url\(\s*#(.*?)\)/;function R(e,t){var n=t&&e&&e.match(E);if(n){var i=w(n[1]),r=t[i];return r}return e}var z=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function N(e,t){var n=e.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=null,r=[];n.replace(z,(function(e,t,n){r.push(t,n)}));for(var o=r.length-1;o>0;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<o.count();++m)v=o.getItemLayout(m);var y=Math.max(n.getWidth(),n.getHeight())/2,x=i.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(v.cx,v.cy,y,v.startAngle,v.clockwise,x,e,h))}else u.removeClipPath();this._data=o}},dispose:function(){},_createClipPath:function(e,t,n,i,o,a,s,l){var u=new r.Sector({shape:{cx:e,cy:t,r0:0,r:n,startAngle:i,endAngle:i,clockwise:o}}),c=l?r.initProps:r.updateProps;return c(u,{shape:{endAngle:i+(o?1:-1)*Math.PI*2}},s,a),u},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}}}),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];o<r.length;o++){var s=r[o];if(Ne(e,t,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function Ne(e,t,n,i,r,o,a,s){var l=n-e,u=i-t,c=a-r,h=s-o,d=Be(c,h,l,u);if(Ve(d))return!1;var f=e-r,p=t-o,g=Be(f,p,l,u)/d;if(g<0||g>1)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._lastTouchMoment<c&&m.click.call(this,e),v(this)},pointerdown:function(e){m.mousedown.call(this,e)},pointermove:function(e){y(e)||m.mousemove.call(this,e)},pointerup:function(e){m.mouseup.call(this,e)},pointerout:function(e){y(e)||m.mouseout.call(this,e)}};function y(e){var t=e.pointerType;return"pen"===t||"touch"===t}function x(e){function t(e,t){return function(){if(!t._touching)return e.apply(t,arguments)}}s.each(d,(function(t){e._handlers[t]=s.bind(m[t],e)})),s.each(p,(function(t){e._handlers[t]=s.bind(m[t],e)})),s.each(h,(function(n){e._handlers[n]=t(m[n],e)}))}function _(e){function t(t,n){s.each(t,(function(t){r(e,g(t),n._handlers[t])}),n)}l.call(this),this.dom=e,this._touching=!1,this._touchTimer,this._handlers={},x(this),u.pointerEventsSupported?t(p,this):(u.touchEventsSupported&&t(d,this),t(h,this))}s.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){m[e]=function(t){t=a(this.dom,t),this.trigger(e,t)}}));var b=_.prototype;b.dispose=function(){for(var e=h.concat(d),t=0;t<e.length;t++){var n=e[t];o(this.dom,g(n),this._handlers[n])}},b.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},s.mixin(_,l);var w=_;e.exports=w},"2e6d":function(e,t,n){var i=n("2dda"),r=n("3647"),o=r.getDefaultLabel;function a(e,t,n,r,a,l,u){var c=n.getModel("label"),h=n.getModel("emphasis.label");i.setLabelStyle(e,t,c,h,{labelFetcher:a,labelDataIndex:l,defaultText:o(a.getData(),l),isRectText:!0,autoColor:r}),s(e),s(t)}function s(e,t){"outside"===e.textPosition&&(e.textPosition=t)}t.setLabel=a},3083:function(e,t,n){var i=n("fb14"),r={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function o(e){return e=Math.round(e),e<0?0:e>255?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<f&&(f=m,i=v)}for(var y=0;y<32;y++){var x=i+g;l[0]=c(r[0],o[0],a[0],i),l[1]=c(r[1],o[1],a[1],i),u[0]=c(r[0],o[0],a[0],x),u[1]=c(r[1],o[1],a[1],x);m=h(l,t)-p;if(d(m)<.01)break;var _=h(u,t)-p;g/=2,m<0?_>=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;l<n.length-1;l++){var u=h(o,a);u&&(u.__dimIdx=l,t[l]?(u.attr("position",t[l]),r[s?"initProps":"updateProps"](u,{position:n[l]},e,a)):u.attr("position",n[l]),i.add(u))}}function f(e){return o.map(e,(function(e){return[i.cx,i.cy]}))}u.diff(c).add((function(t){var n=u.getItemLayout(t);if(n){var i=new r.Polygon,o=new r.Polyline,a={shape:{points:n}};i.shape.points=f(n),o.shape.points=f(n),r.initProps(i,a,e,t),r.initProps(o,a,e,t);var s=new r.Group,l=new r.Group;s.add(o),s.add(i),s.add(l),d(o.shape.points,n,l,u,t,!0),u.setItemGraphicEl(t,s)}})).update((function(t,n){var i=c.getItemGraphicEl(n),o=i.childAt(0),a=i.childAt(1),s=i.childAt(2),l={shape:{points:u.getItemLayout(t)}};l.shape.points&&(d(o.shape.points,l.shape.points,s,u,t,!1),r.updateProps(o,l,e),r.updateProps(a,l,e),u.setItemGraphicEl(t,i))})).remove((function(e){l.remove(c.getItemGraphicEl(e))})).execute(),u.eachItemGraphicEl((function(e,t){var n=u.getItemModel(t),i=e.childAt(0),a=e.childAt(1),s=e.childAt(2),c=u.getItemVisual(t,"color");l.add(e),i.useStyle(o.defaults(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),i.hoverStyle=n.getModel("emphasis.lineStyle").getLineStyle();var h=n.getModel("areaStyle"),d=n.getModel("emphasis.areaStyle"),f=h.isEmpty()&&h.parentModel.isEmpty(),p=d.isEmpty()&&d.parentModel.isEmpty();p=p&&f,a.ignore=f,a.useStyle(o.defaults(h.getAreaStyle(),{fill:c,opacity:.7})),a.hoverStyle=d.getAreaStyle();var g=n.getModel("itemStyle").getItemStyle(["color"]),v=n.getModel("emphasis.itemStyle").getItemStyle(),m=n.getModel("label"),y=n.getModel("emphasis.label");s.eachChild((function(e){e.setStyle(g),e.hoverStyle=o.clone(v);var n=u.get(u.dimensions[e.__dimIdx],t);(null==n||isNaN(n))&&(n=""),r.setLabelStyle(e.style,e.hoverStyle,m,y,{labelFetcher:u.hostModel,labelDataIndex:t,labelDimIndex:e.__dimIdx,defaultText:n,autoColor:c,isRectText:!0})})),e.highDownOnUpdate=function(e,t){a.attr("ignore","emphasis"===t?p:f)},r.setHoverStyle(e)})),this._data=u},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});e.exports=l},"333f":function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("7651")),o=n("cbe1"),a=n("3083"),s=n("3804"),l=n("5b4e"),u=n("d453"),c=n("f254"),h=n("2360"),d=n("d1a1"),f=n("d9b6"),p=n("106e"),g=n("84d3"),v=n("7a17"),m=n("4790"),y=n("e1d0"),x=n("e8c2"),_=n("2dda"),b=n("5c3e"),w=n("4dbf"),S=w.throttle,M=n("b9fd"),I=n("5640"),A=n("6f43"),T=n("54ae"),D=n("f3e1"),P=n("9421");n("74e0");var C=n("f826"),O=o.assert,k=o.each,L=o.isFunction,E=o.isObject,R=v.parseClassType,z="4.5.0",N={zrender:"4.1.2"},B=1,V=1e3,j=800,F=900,W=5e3,G=1e3,H=1100,U=2e3,Y=3e3,Z=3500,X=4e3,q=5e3,$={PROCESSOR:{FILTER:V,SERIES_FILTER:j,STATISTIC:W},VISUAL:{LAYOUT:G,PROGRESSIVE_LAYOUT:H,GLOBAL:U,CHART:Y,POST_CHART_LAYOUT:Z,COMPONENT:X,BRUSH:q}},K="__flagInMainProcess",J="__optionUpdated",Q=/^[a-zA-Z0-9_]+$/;function ee(e,t){return function(n,i,r){t||!this._disposed?(n=n&&n.toLowerCase(),u.prototype[e].call(this,n,i,r)):_e(this.id)}}function te(){u.call(this)}function ne(e,t,n){n=n||{},"string"===typeof t&&(t=ke[t]),this.id,this.group,this._dom=e;var i="canvas",a=this._zr=r.init(e,{renderer:n.renderer||i,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=S(o.bind(a.flush,a),17);t=o.clone(t);t&&p(t,!0),this._theme=t,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new d;var s=this._api=Me(this);function c(e,t){return e.__prio-t.__prio}l(Oe,c),l(De,c),this._scheduler=new T(this,s,De,Oe),u.call(this,this._ecEventProcessor=new Ie),this._messageCenter=new te,this._initEvents(),this.resize=o.bind(this.resize,this),this._pendingActions=[],a.animation.on("frame",this._onframe,this),de(a,this),o.setAsPrimitive(this)}te.prototype.on=ee("on",!0),te.prototype.off=ee("off",!0),te.prototype.one=ee("one",!0),o.mixin(te,u);var ie=ne.prototype;function re(e,t,n){if(this._disposed)_e(this.id);else{var i,r=this._model,o=this._coordSysMgr.getCoordinateSystems();t=b.parseFinder(r,t);for(var a=0;a<o.length;a++){var s=o[a];if(s[e]&&null!=(i=s[e](r,t,n)))return i}}}ie._onframe=function(){if(!this._disposed){var e=this._scheduler;if(this[J]){var t=this[J].silent;this[K]=!0,ae(this),oe.update.call(this),this[K]=!1,this[J]=!1,ce.call(this,t),he.call(this,t)}else if(e.unfinished){var n=B,i=this._model,r=this._api;e.unfinished=!1;do{var o=+new Date;e.performSeriesTasks(i),e.performDataProcessorTasks(i),le(this,i),e.performVisualTasks(i),me(this,this._model,r,"remain"),n-=+new Date-o}while(n>0&&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;u<o.length;u++)o[u].__alive=!1;function c(e){var t="_ec_"+e.id+"_"+e.type,u=a[t];if(!u){var c=R(e.type),h=r?y.getClass(c.main,c.sub):x.getClass(c.sub);u=new h,u.init(n,l),a[t]=u,o.push(u),s.add(u.group)}e.__viewId=u.__id=t,u.__alive=!0,u.__model=e,u.group.__ecComponentInfo={mainType:e.mainType,index:e.componentIndex},!r&&i.prepareView(u,e,n,l)}r?n.eachComponent((function(e,t){"series"!==e&&c(t)})):n.eachSeries(c);for(u=0;u<o.length;){var h=o[u];h.__alive?u++:(!r&&h.renderTask.dispose(),s.remove(h.group),h.dispose(n,l),o.splice(u,1),delete a[h.__id],h.__id=h.group.__ecComponentInfo=null)}}function pe(e){e.clearColorPalette(),e.eachSeries((function(e){e.clearColorPalette()}))}function ge(e,t,n,i){ve(e,t,n,i),k(e._chartsViews,(function(e){e.__alive=!1})),me(e,t,n,i),k(e._chartsViews,(function(e){e.__alive||e.remove(t,n)}))}function ve(e,t,n,i,r){k(r||e._componentsViews,(function(e){var r=e.__model;e.render(r,t,n,i),Se(r,e)}))}function me(e,t,n,i,r){var o,a=e._scheduler;t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];n.__alive=!0;var s=n.renderTask;a.updatePayload(s,i),r&&r.get(t.uid)&&s.dirty(),o|=s.perform(a.getPerformArgs(s)),n.group.silent=!!t.get("silent"),Se(t,n),we(t,n)})),a.unfinished|=o,be(e,t),I(e._zr.dom,t)}function ye(e,t){k(Ce,(function(n){n(e,t)}))}ie.resize=function(e){if(this._disposed)_e(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),i=e&&e.silent;this[K]=!0,n&&ae(this),oe.update.call(this),this[K]=!1,ce.call(this,i),he.call(this,i)}}},ie.showLoading=function(e,t){if(this._disposed)_e(this.id);else if(E(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),Le[e]){var n=Le[e](this._api,t),i=this._zr;this._loadingFX=n,i.add(n)}},ie.hideLoading=function(){this._disposed?_e(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},ie.makeActionFromEvent=function(e){var t=o.extend({},e);return t.type=Te[e.type],t},ie.dispatchAction=function(e,t){this._disposed?_e(this.id):(E(t)||(t={silent:!!t}),Ae[e.type]&&this._model&&(this[K]?this._pendingActions.push(e):(ue.call(this,e,t.silent),t.flush?this._zr.flush(!0):!1!==t.flush&&s.browser.weChat&&this._throttledZrFlush(),ce.call(this,t.silent),he.call(this,t.silent))))},ie.appendData=function(e){if(this._disposed)_e(this.id);else{var t=e.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(t);i.appendData(e),this._scheduler.unfinished=!0}},ie.on=ee("on",!1),ie.off=ee("off",!1),ie.one=ee("one",!1);var xe=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function _e(e){}function be(e,t){var n=e._zr,i=n.storage,r=0;i.traverse((function(e){r++})),r>t.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;l<a.length;l++){var u=a[l],c=r.lastIndexOf(u);if(c>0&&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<e.length;n++){var i=e[n];i[r]=t}}k(Te,(function(a,s){e._messageCenter.on(s,(function(a){if(Re[e.group]&&e[r]!==t){if(a&&a.escapeConnect)return;var s=e.makeActionFromEvent(a),l=[];k(Ee,(function(t){t!==e&&t.group===e.group&&l.push(t)})),o(l,t),k(l,(function(e){e[r]!==n&&e.dispatchAction(s)})),o(l,i)}}))}))}function je(e,t,n){var i=Ue(e);if(i)return i;var r=new ne(e,t,n);return r.id="ec_"+ze++,Ee[r.id]=r,b.setAttribute(e,Be,r.id),Ve(r),r}function Fe(e){if(o.isArray(e)){var t=e;e=null,k(t,(function(t){null!=t.group&&(e=t.group)})),e=e||"g_"+Ne++,k(t,(function(t){t.group=e}))}return Re[e]=!0,e}function We(e){Re[e]=!1}var Ge=We;function He(e){"string"===typeof e?e=Ee[e]:e instanceof ne||(e=Ue(e)),e instanceof ne&&!e.isDisposed()&&e.dispose()}function Ue(e){return Ee[b.getAttribute(e,Be)]}function Ye(e){return Ee[e]}function Ze(e,t){ke[e]=t}function Xe(e){Pe.push(e)}function qe(e,t){nt(De,e,t,V)}function $e(e){Ce.push(e)}function Ke(e,t,n){"function"===typeof t&&(n=t,t="");var i=E(e)?e.type:[e,e={event:t}][0];e.event=(e.event||i).toLowerCase(),t=e.event,O(Q.test(i)&&Q.test(t)),Ae[i]||(Ae[i]={action:n,actionInfo:e}),Te[t]=i}function Je(e,t){d.register(e,t)}function Qe(e){var t=d.get(e);if(t)return t.getDimensionsInfo?t.getDimensionsInfo():t.dimensions.slice()}function et(e,t){nt(Oe,e,t,G,"layout")}function tt(e,t){nt(Oe,e,t,Y,"visual")}function nt(e,t,n,i,r){(L(t)||E(t))&&(n=t,t=i);var o=T.wrapStageHandler(n,r);return o.__prio=t,o.__raw=n,e.push(o),o}function it(e,t){Le[e]=t}function rt(e){return v.extend(e)}function ot(e){return y.extend(e)}function at(e){return m.extend(e)}function st(e){return x.extend(e)}function lt(e){o.$override("createCanvas",e)}function ut(e,t,n){C.registerMap(e,t,n)}function ct(e){var t=C.retrieveMap(e);return t&&t[0]&&{geoJson:t[0].geoJSON,specialAreas:t[0].specialAreas}}tt(U,M),Xe(p),qe(F,g),it("default",A),Ke({type:"highlight",event:"highlight",update:"highlight"},o.noop),Ke({type:"downplay",event:"downplay",update:"downplay"},o.noop),Ze("light",D),Ze("dark",P);var ht={};t.version=z,t.dependencies=N,t.PRIORITY=$,t.init=je,t.connect=Fe,t.disConnect=We,t.disconnect=Ge,t.dispose=He,t.getInstanceByDom=Ue,t.getInstanceById=Ye,t.registerTheme=Ze,t.registerPreprocessor=Xe,t.registerProcessor=qe,t.registerPostUpdate=$e,t.registerAction=Ke,t.registerCoordinateSystem=Je,t.getCoordinateSystemDimensions=Qe,t.registerLayout=et,t.registerVisual=tt,t.registerLoading=it,t.extendComponentModel=rt,t.extendComponentView=ot,t.extendSeriesModel=at,t.extendChartView=st,t.setCanvasCreator=lt,t.registerMap=ut,t.getMap=ct,t.dataTool=ht;var dt=n("dbf9");(function(){for(var e in dt)dt.hasOwnProperty(e)&&(t[e]=dt[e])})()},3364:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("333f")),o=n("cbe1"),a=n("5c3e"),s=n("2dda"),l=n("0e18"),u=n("55ba"),c=u.parsePercent,h={path:null,compoundPath:null,group:s.Group,image:s.Image,text:s.Text};r.registerPreprocessor((function(e){var t=e.graphic;o.isArray(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}));var d=r.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(e){var t=this.option.elements;this.option.elements=null,d.superApply(this,"mergeOption",arguments),this.option.elements=t},optionUpdated:function(e,t){var n=this.option,i=(t?n:e).elements,r=n.elements=t?[]:n.elements,s=[];this._flatten(i,s);var l=a.mappingToExists(r,s);a.makeIdAndName(l);var u=this._elOptionsToUpdate=[];o.each(l,(function(e,t){var n=e.option;n&&(u.push(n),m(e,n),y(r,t,n),x(r[t],n))}),this);for(var c=r.length-1;c>=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<n.length;s++){var u=n[s],h=r.get(u.id);if(h&&h.isGroup){var d=h.parent,f=d===i;h.__ecGraphicWidth=c(h.__ecGraphicWidthOption,f?o:d.__ecGraphicWidth)||0,h.__ecGraphicHeight=c(h.__ecGraphicHeightOption,f?a:d.__ecGraphicHeight)||0}}for(s=n.length-1;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&&o<b?n>0?"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<l.length;p++){var g=l[p].coord;c[0]=g,c[1]=0,h[0]=g,h[1]=n.tickDirection*s,d&&(y(c,c,d),y(h,h,d));var v=new u.Line({anid:"tick_"+l[p].tickValue,subPixelOptimize:!0,shape:{x1:c[0],y1:c[1],x2:h[0],y2:h[1]},style:o(a.getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")}),z2:2,silent:!0});e.group.add(v),f.push(v)}return f}}function L(e,t,n){var i=t.axis,o=r(n.axisLabelShow,t.get("axisLabel.show"));if(o&&!i.scale.isBlank()){var a=t.getModel("axisLabel"),l=a.get("margin"),h=i.getViewLabels(),d=(r(n.labelRotate,a.get("rotate"))||0)*b/180,f=I(n.rotation,d,n.labelDirection),p=t.getCategories&&t.getCategories(!0),g=[],v=T(t),m=t.get("triggerEvent");return s(h,(function(r,o){var s=r.tickValue,h=r.formattedLabel,d=r.rawLabel,y=a;p&&p[s]&&p[s].textStyle&&(y=new c(p[s].textStyle,a,t.ecModel));var x=y.getTextColor()||t.get("axisLine.lineStyle.color"),_=i.dataToCoord(s),b=[_,n.labelOffset+n.labelDirection*l],w=new u.Text({anid:"label_"+s,position:b,rotation:f.rotation,silent:v,z2:10});u.setTextStyle(w.style,y,{text:h,textAlign:y.getShallow("align",!0)||f.textAlign,textVerticalAlign:y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||f.textVerticalAlign,textFill:"function"===typeof x?x("category"===i.type?d:"value"===i.type?s+"":s,o):x}),m&&(w.eventData=M(t),w.eventData.targetType="axisLabel",w.eventData.value=d),e._dumbGroup.add(w),w.updateTransform(),g.push(w),e.group.add(w),w.decomposeTransform()})),g}}var E=w;e.exports=E},"33d8":function(e,t,n){var i=n("333f"),r=n("cbe1");function o(e,t){t.update="updateView",i.registerAction(t,(function(t,n){var i={};return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name);var o=n.coordinateSystem;r.each(o.regions,(function(e){i[e.name]=n.isSelected(e.name)||!1}))})),{selected:i,name:t.name}}))}n("2d3d"),n("6f57"),n("e07a"),n("f5c9"),o("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),o("select",{type:"geoSelect",event:"geoselected"}),o("unSelect",{type:"geoUnSelect",event:"geounselected"})},"33f3":function(e,t,n){var i=n("5c3e"),r=i.makeInner;function o(){var e=r();return function(t){var n=e(t),i=t.pipelineContext,r=n.large,o=n.progressiveRender,a=n.large=i.large,s=n.progressiveRender=i.progressiveRender;return!!(r^a||o^s)&&"reset"}}e.exports=o},3572:function(e,t,n){var i=n("cbe1"),r=n("3a73"),o=n("55ba"),a=n("08c1e"),s=n("a059"),l=n("0167"),u=n("a4bb"),c=u.getStackedDimension,h=function(e,t,n,r){var o=e.getData(),s=r.type;if(!i.isArray(r)&&("min"===s||"max"===s||"average"===s||"median"===s||null!=r.xAxis||null!=r.yAxis)){var l,u;if(null!=r.yAxis||null!=r.xAxis)l=t.getAxis(null!=r.yAxis?"y":"x"),u=i.retrieve(r.yAxis,r.xAxis);else{var h=a.getAxisInfo(r,o,t,e);l=h.valueAxis;var d=c(o,h.valueDataDim);u=a.numCalculate(o,d,s)}var f="x"===l.dim?0:1,p=1-f,g=i.clone(r),v={};g.type=null,g.coord=[],v.coord=[],g.coord[p]=-1/0,v.coord[p]=1/0;var m=n.get("precision");m>=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;a<n.length;a++){var s=r(e,t,n[a]);o.push(s)}return o.join(" ")}}t.getDefaultLabel=o},"366b":function(e,t,n){var i=n("cbe1");function r(e,t){return t=t||[0,0],i.map([0,1],(function(n){var i=t[n],r=e[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=t[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function o(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(r,e)}}}e.exports=o},"36c8":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("2dda"),a=n("f75d"),s="__seriesMapHighDown",l="__seriesMapCallKey",u=i.extendChartView({type:"map",render:function(e,t,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var r=this.group;if(r.removeAll(),!e.getHostGeoModel()){if(i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===e.id){o=this._mapDraw;o&&r.add(o.group)}else if(e.needsDrawMap){var o=this._mapDraw||new a(n,!0);r.add(o.group),o.draw(e,t,n,this,i),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,n)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(e,t,n){var i=e.originalData,a=this.group;i.each(i.mapDimension("value"),(function(t,n){if(!isNaN(t)){var u=i.getItemLayout(n);if(u&&u.point){var d=u.point,f=u.offset,p=new o.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:d[0]+9*f,cy:d[1],r:3},silent:!0,z2:8+(f?0:o.Z2_EMPHASIS_LIFT+1)});if(!f){var g=e.mainSeries.getData(),v=i.getName(n),m=g.indexOfName(v),y=i.getItemModel(n),x=y.getModel("label"),_=y.getModel("emphasis.label"),b=g.getItemGraphicEl(m),w=r.retrieve2(e.getFormattedLabel(m,"normal"),v),S=r.retrieve2(e.getFormattedLabel(m,"emphasis"),w),M=b[s],I=Math.random();if(!M){M=b[s]={};var A=r.curry(c,!0),T=r.curry(c,!1);b.on("mouseover",A).on("mouseout",T).on("emphasis",A).on("normal",T)}b[l]=I,r.extend(M,{recordVersion:I,circle:p,labelModel:x,hoverLabelModel:_,emphasisText:S,normalText:w}),h(M,!1)}a.add(p)}}}))}});function c(e){var t=this[s];t&&t.recordVersion===this[l]&&h(t,e)}function h(e,t){var n=e.circle,i=e.labelModel,r=e.hoverLabelModel,a=e.emphasisText,s=e.normalText;t?(n.style.extendFrom(o.setTextStyle({},r,{text:r.get("show")?a:null},{isRectText:!0,useInsideStyle:!1},!0)),n.__mapOriginalZ2=n.z2,n.z2+=o.Z2_EMPHASIS_LIFT):(o.setTextStyle(n.style,i,{text:i.get("show")?s:null,textPosition:i.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),n.dirty(!1),null!=n.__mapOriginalZ2&&(n.z2=n.__mapOriginalZ2,n.__mapOriginalZ2=null))}e.exports=u},3738:function(e,t,n){var i=n("cbe1"),r=n("df7d"),o=r.createSymbol,a=n("2dda"),s=a.Group,l=n("55ba"),u=l.parsePercent,c=n("0a20"),h=3;function d(e){return i.isArray(e)||(e=[+e,+e]),e}function f(e,t){var n=t.rippleEffectColor||t.color;e.eachChild((function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?n:null,fill:"fill"===t.brushType?n:null}})}))}function p(e,t){s.call(this);var n=new c(e,t),i=new s;this.add(n),this.add(i),i.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(e,t)}var g=p.prototype;g.stopEffectAnimation=function(){this.childAt(1).removeAll()},g.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,i=this.childAt(1),r=0;r<h;r++){var a=o(t,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var s=-r/h*e.period+e.effectOffset;a.animate("",!0).when(e.period,{scale:[e.rippleScale/2,e.rippleScale/2]}).delay(s).start(),a.animateStyle(!0).when(e.period,{opacity:0}).delay(s).start(),i.add(a)}f(i,e)},g.updateEffectAnimation=function(e){for(var t=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale"],r=0;r<i.length;r++){var o=i[r];if(t[o]!==e[o])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}f(n,e)},g.highlight=function(){this.trigger("emphasis")},g.downplay=function(){this.trigger("normal")},g.updateData=function(e,t){var n=e.hostModel;this.childAt(0).updateData(e,t);var i=this.childAt(1),r=e.getItemModel(t),o=e.getItemVisual(t,"symbol"),a=d(e.getItemVisual(t,"symbolSize")),s=e.getItemVisual(t,"color");i.attr("scale",a),i.traverse((function(e){e.attr({fill:s})}));var l=r.getShallow("symbolOffset");if(l){var c=i.position;c[0]=u(l[0],a[0]),c[1]=u(l[1],a[1])}i.rotation=(r.getShallow("symbolRotate")||0)*Math.PI/180||0;var h={};if(h.showEffectOn=n.get("showEffectOn"),h.rippleScale=r.get("rippleEffect.scale"),h.brushType=r.get("rippleEffect.brushType"),h.period=1e3*r.get("rippleEffect.period"),h.effectOffset=t/e.count(),h.z=r.getShallow("z")||0,h.zlevel=r.getShallow("zlevel")||0,h.symbolType=o,h.color=s,h.rippleEffectColor=r.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===h.showEffectOn)this._effectCfg?this.updateEffectAnimation(h):this.startEffectAnimation(h),this._effectCfg=h;else{this._effectCfg=null,this.stopEffectAnimation();var f=this.childAt(0),p=function(){f.highlight(),"render"!==h.showEffectOn&&this.startEffectAnimation(h)},g=function(){f.downplay(),"render"!==h.showEffectOn&&this.stopEffectAnimation()};this.on("mouseover",p,this).on("mouseout",g,this).on("emphasis",p,this).on("normal",g,this)}this._effectCfg=h},g.fadeOut=function(e){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),e&&e()},i.inherits(p,s);var v=p;e.exports=v},3747:function(e,t,n){var i=n("cbe1"),r=n("43d3"),o=n("2dda"),a=n("3bf3"),s=n("11a2"),l=n("4dbf"),u=n("5c3e"),c=u.makeInner,h=c(),d=i.clone,f=i.bind;function p(){}function g(e,t,n,i){v(h(n).lastProp,i)||(h(n).lastProp=i,t?o.updateProps(n,i,e):(n.stopAnimation(),n.attr(i)))}function v(e,t){if(i.isObject(e)&&i.isObject(t)){var n=!0;return i.each(t,(function(t,i){n=n&&v(e[i],t)})),!!n}return e===t}function m(e,t){e[t.get("label.show")?"show":"hide"]()}function y(e){return{position:e.position.slice(),rotation:e.rotation||0}}function x(e,t,n){var i=t.get("z"),r=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=i&&(e.z=i),null!=r&&(e.zlevel=r),e.silent=n)}))}p.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,t,n,r){var a=t.get("value"),s=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,r||this._lastValue!==a||this._lastStatus!==s){this._lastValue=a,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,a,e,t,n);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=h;var d=this._moveAnimation=this.determineAnimation(e,t);if(l){var f=i.curry(g,t,d);this.updatePointerEl(l,c,f,t),this.updateLabelEl(l,c,f,t)}else l=this._group=new o.Group,this.createPointerEl(l,c,e,t),this.createLabelEl(l,c,e,t),n.getZr().add(l);x(l,t,!0),this._renderHandle(a)}},remove:function(e){this.clear(e)},dispose:function(e){this.clear(e)},determineAnimation:function(e,t){var n=t.get("animation"),i=e.axis,r="category"===i.type,o=t.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var s=this.animationThreshold;if(r&&i.getBandWidth()>s)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)+"<br/>"+o.map(i,(function(n,i){var r=t.get(t.mapDimension(n.dim),e);return s(n.name+" : "+r)})).join("<br />")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),u=l;e.exports=u},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 <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* 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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},en={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},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<o){var a=e[r];t(i,a,n(a),e)}return i}function bn(e,t){var n=-1,i=null==e?0:e.length;while(++n<i)if(!1===t(e[n],n,e))break;return e}function wn(e,t){var n=null==e?0:e.length;while(n--)if(!1===t(e[n],n,e))break;return e}function Sn(e,t){var n=-1,i=null==e?0:e.length;while(++n<i)if(!t(e[n],n,e))return!1;return!0}function Mn(e,t){var n=-1,i=null==e?0:e.length,r=0,o=[];while(++n<i){var a=e[n];t(a,n,e)&&(o[r++]=a)}return o}function In(e,t){var n=null==e?0:e.length;return!!n&&Nn(e,t,0)>-1}function An(e,t,n){var i=-1,r=null==e?0:e.length;while(++i<r)if(n(t,e[i]))return!0;return!1}function Tn(e,t){var n=-1,i=null==e?0:e.length,r=Array(i);while(++n<i)r[n]=t(e[n],n,e);return r}function Dn(e,t){var n=-1,i=t.length,r=e.length;while(++n<i)e[r+n]=t[n];return e}function Pn(e,t,n,i){var r=-1,o=null==e?0:e.length;i&&o&&(n=e[++r]);while(++r<o)n=t(n,e[r],r,e);return n}function Cn(e,t,n,i){var r=null==e?0:e.length;i&&r&&(n=e[--r]);while(r--)n=t(n,e[r],r,e);return n}function On(e,t){var n=-1,i=null==e?0:e.length;while(++n<i)if(t(e[n],n,e))return!0;return!1}var kn=Fn("length");function Ln(e){return e.split("")}function En(e){return e.match(Ge)||[]}function Rn(e,t,n){var i;return n(e,(function(e,n,r){if(t(e,n,r))return i=n,!1})),i}function zn(e,t,n,i){var r=e.length,o=n+(i?1:-1);while(i?o--:++o<r)if(t(e[o],o,e))return o;return-1}function Nn(e,t,n){return t===t?di(e,t,n):zn(e,Vn,n)}function Bn(e,t,n,i){var r=n-1,o=e.length;while(++r<o)if(i(e[r],t))return r;return-1}function Vn(e){return e!==e}function jn(e,t){var n=null==e?0:e.length;return n?Un(e,t)/n:B}function Fn(e){return function(t){return null==t?o:t[e]}}function Wn(e){return function(t){return null==e?o:e[t]}}function Gn(e,t,n,i,r){return r(e,(function(e,r,o){n=i?(i=!1,e):t(n,e,r,o)})),n}function Hn(e,t){var n=e.length;e.sort(t);while(n--)e[n]=e[n].value;return e}function Un(e,t){var n,i=-1,r=e.length;while(++i<r){var a=t(e[i]);a!==o&&(n=n===o?a:n+a)}return n}function Yn(e,t){var n=-1,i=Array(e);while(++n<e)i[n]=t(n);return i}function Zn(e,t){return Tn(t,(function(t){return[t,e[t]]}))}function Xn(e){return function(t){return e(t)}}function qn(e,t){return Tn(t,(function(t){return e[t]}))}function $n(e,t){return e.has(t)}function Kn(e,t){var n=-1,i=e.length;while(++n<i&&Nn(t,e[n],0)>-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<i){var a=e[n];a!==t&&a!==d||(e[n]=d,o[r++]=n)}return o}function ci(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function hi(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function di(e,t,n){var i=n-1,r=e.length;while(++i<r)if(e[i]===t)return i;return-1}function fi(e,t,n){var i=n+1;while(i--)if(e[i]===t)return i;return i}function pi(e){return ri(e)?mi(e):kn(e)}function gi(e){return ri(e)?yi(e):Ln(e)}var vi=Wn(en);function mi(e){var t=Ht.lastIndex=0;while(Ht.test(e))++t;return t}function yi(e){return e.match(Ht)||[]}function xi(e){return e.match(Ut)||[]}var _i=function e(t){t=null==t?sn:bi.defaults(sn.Object(),t,bi.pick(sn,Xt));var n=t.Array,i=t.Date,r=t.Error,Ge=t.Function,tt=t.Math,nt=t.Object,it=t.RegExp,rt=t.String,ot=t.TypeError,at=n.prototype,st=Ge.prototype,lt=nt.prototype,ut=t["__core-js_shared__"],ct=st.toString,ht=lt.hasOwnProperty,dt=0,ft=function(){var e=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),pt=lt.toString,gt=ct.call(nt),vt=sn._,mt=it("^"+ct.call(ht).replace(Re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yt=cn?t.Buffer:o,xt=t.Symbol,_t=t.Uint8Array,bt=yt?yt.allocUnsafe:o,wt=li(nt.getPrototypeOf,nt),St=nt.create,Mt=lt.propertyIsEnumerable,It=at.splice,At=xt?xt.isConcatSpreadable:o,Tt=xt?xt.iterator:o,Dt=xt?xt.toStringTag:o,Pt=function(){try{var e=Ua(nt,"defineProperty");return e({},"",{}),e}catch(t){}}(),Ct=t.clearTimeout!==sn.clearTimeout&&t.clearTimeout,Ot=i&&i.now!==sn.Date.now&&i.now,kt=t.setTimeout!==sn.setTimeout&&t.setTimeout,Lt=tt.ceil,Et=tt.floor,Rt=nt.getOwnPropertySymbols,zt=yt?yt.isBuffer:o,Nt=t.isFinite,Bt=at.join,Vt=li(nt.keys,nt),jt=tt.max,Ft=tt.min,Ht=i.now,Ut=t.parseInt,Yt=tt.random,Zt=at.reverse,Jt=Ua(t,"DataView"),Qt=Ua(t,"Map"),en=Ua(t,"Promise"),tn=Ua(t,"Set"),on=Ua(t,"WeakMap"),an=Ua(nt,"create"),ln=on&&new on,un={},hn=Cs(Jt),dn=Cs(Qt),kn=Cs(en),Ln=Cs(tn),Wn=Cs(on),di=xt?xt.prototype:o,mi=di?di.valueOf:o,yi=di?di.toString:o;function _i(e){if(Sc(e)&&!ac(e)&&!(e instanceof Ii)){if(e instanceof Mi)return e;if(ht.call(e,"__wrapped__"))return ks(e)}return new Mi(e)}var wi=function(){function e(){}return function(t){if(!wc(t))return{};if(St)return St(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Si(){}function Mi(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Ii(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=V,this.__views__=[]}function Ai(){var e=new Ii(this.__wrapped__);return e.__actions__=na(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=na(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=na(this.__views__),e}function Ti(){if(this.__filtered__){var e=new Ii(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Di(){var e=this.__wrapped__.value(),t=this.__dir__,n=ac(e),i=t<0,r=n?e.length:0,o=$a(0,r,this.__views__),a=o.start,s=o.end,l=s-a,u=i?s:a-1,c=this.__iteratees__,h=c.length,d=0,f=Ft(l,this.__takeCount__);if(!n||!i&&r==l&&f==l)return No(e,this.__actions__);var p=[];e:while(l--&&d<f){u+=t;var g=-1,v=e[u];while(++g<h){var m=c[g],y=m.iteratee,x=m.type,_=y(v);if(x==L)v=_;else if(!_){if(x==k)continue e;break e}}p[d++]=v}return p}function Pi(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}function Ci(){this.__data__=an?an(null):{},this.size=0}function Oi(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function ki(e){var t=this.__data__;if(an){var n=t[e];return n===c?o:n}return ht.call(t,e)?t[e]:o}function Li(e){var t=this.__data__;return an?t[e]!==o:ht.call(t,e)}function Ei(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=an&&t===o?c:t,this}function Ri(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}function zi(){this.__data__=[],this.size=0}function Ni(e){var t=this.__data__,n=lr(t,e);if(n<0)return!1;var i=t.length-1;return n==i?t.pop():It.call(t,n,1),--this.size,!0}function Bi(e){var t=this.__data__,n=lr(t,e);return n<0?o:t[n][1]}function Vi(e){return lr(this.__data__,e)>-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<n){var i=e[t];this.set(i[0],i[1])}}function Wi(){this.size=0,this.__data__={hash:new Pi,map:new(Qt||Ri),string:new Pi}}function Gi(e){var t=Ga(this,e)["delete"](e);return this.size-=t?1:0,t}function Hi(e){return Ga(this,e).get(e)}function Ui(e){return Ga(this,e).has(e)}function Yi(e,t){var n=Ga(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}function Zi(e){var t=-1,n=null==e?0:e.length;this.__data__=new Fi;while(++t<n)this.add(e[t])}function Xi(e){return this.__data__.set(e,c),this}function qi(e){return this.__data__.has(e)}function $i(e){var t=this.__data__=new Ri(e);this.size=t.size}function Ki(){this.__data__=new Ri,this.size=0}function Ji(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}function Qi(e){return this.__data__.get(e)}function er(e){return this.__data__.has(e)}function tr(e,t){var n=this.__data__;if(n instanceof Ri){var i=n.__data__;if(!Qt||i.length<s-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Fi(i)}return n.set(e,t),this.size=n.size,this}function nr(e,t){var n=ac(e),i=!n&&oc(e),r=!n&&!i&&hc(e),o=!n&&!i&&!r&&Bc(e),a=n||i||r||o,s=a?Yn(e.length,rt):[],l=s.length;for(var u in e)!t&&!ht.call(e,u)||a&&("length"==u||r&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||rs(u,l))||s.push(u);return s}function ir(e){var t=e.length;return t?e[vo(0,t-1)]:o}function rr(e,t){return Ts(na(e),pr(t,0,e.length))}function or(e){return Ts(na(e))}function ar(e,t,n){(n===o||nc(e[t],n))&&(n!==o||t in e)||dr(e,t,n)}function sr(e,t,n){var i=e[t];ht.call(e,t)&&nc(i,n)&&(n!==o||t in e)||dr(e,t,n)}function lr(e,t){var n=e.length;while(n--)if(nc(e[n][0],t))return n;return-1}function ur(e,t,n,i){return _r(e,(function(e,r,o){t(i,e,n(e),o)})),i}function cr(e,t){return e&&ia(t,_h(t),e)}function hr(e,t){return e&&ia(t,bh(t),e)}function dr(e,t,n){"__proto__"==t&&Pt?Pt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function fr(e,t){var i=-1,r=t.length,a=n(r),s=null==e;while(++i<r)a[i]=s?o:ph(e,t[i]);return a}function pr(e,t,n){return e===e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=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(++r<l){var h=e[r],d=null==n?h:n(h);if(h=i||0!==h?h:0,a&&d===d){var f=c;while(f--)if(t[f]===d)continue e;u.push(h)}else o(t,d,i)||u.push(h)}return u}_i.templateSettings={escape:Pe,evaluate:Ce,interpolate:Oe,variable:"",imports:{_:_i}},_i.prototype=Si.prototype,_i.prototype.constructor=_i,Mi.prototype=wi(Si.prototype),Mi.prototype.constructor=Mi,Ii.prototype=wi(Si.prototype),Ii.prototype.constructor=Ii,Pi.prototype.clear=Ci,Pi.prototype["delete"]=Oi,Pi.prototype.get=ki,Pi.prototype.has=Li,Pi.prototype.set=Ei,Ri.prototype.clear=zi,Ri.prototype["delete"]=Ni,Ri.prototype.get=Bi,Ri.prototype.has=Vi,Ri.prototype.set=ji,Fi.prototype.clear=Wi,Fi.prototype["delete"]=Gi,Fi.prototype.get=Hi,Fi.prototype.has=Ui,Fi.prototype.set=Yi,Zi.prototype.add=Zi.prototype.push=Xi,Zi.prototype.has=qi,$i.prototype.clear=Ki,$i.prototype["delete"]=Ji,$i.prototype.get=Qi,$i.prototype.has=er,$i.prototype.set=tr;var _r=la(Pr),br=la(Cr,!0);function wr(e,t){var n=!0;return _r(e,(function(e,i,r){return n=!!t(e,i,r),n})),n}function Sr(e,t,n){var i=-1,r=e.length;while(++i<r){var a=e[i],s=t(a);if(null!=s&&(l===o?s===s&&!Nc(s):n(s,l)))var l=s,u=a}return u}function Mr(e,t,n,i){var r=e.length;n=Yc(n),n<0&&(n=-n>r?0:r+n),i=i===o||i>r?r:Yc(i),i<0&&(i+=r),i=n>i?0:Zc(i);while(n<i)e[n++]=t;return e}function Ir(e,t){var n=[];return _r(e,(function(e,i,r){t(e,i,r)&&n.push(e)})),n}function Ar(e,t,n,i,r){var o=-1,a=e.length;n||(n=is),r||(r=[]);while(++o<a){var s=e[o];t>0&&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&&n<i)e=e[Ps(t[n++])];return n&&n==i?e:o}function Lr(e,t,n){var i=t(e);return ac(e)?i:Dn(i,n(e))}function Er(e){return null==e?e===o?le:ee:Dt&&Dt in nt(e)?Ya(e):ms(e)}function Rr(e,t){return e>t}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<jt(t,n)}function Vr(e,t,i){var r=i?An:In,a=e[0].length,s=e.length,l=s,u=n(s),c=1/0,h=[];while(l--){var d=e[l];l&&t&&(d=Tn(d,Xn(t))),c=Ft(d.length,c),u[l]=!i&&(t||a>=120&&d.length>=120)?new Zi(l&&d):o}d=e[0];var f=-1,p=u[0];e:while(++f<a&&h.length<c){var g=d[f],v=t?t(g):g;if(g=i||0!==g?g:0,!(p?$n(p,v):r(h,v,i))){l=s;while(--l){var m=u[l];if(!(m?$n(m,v):r(e[l],v,i)))continue e}p&&p.push(v),h.push(g)}}return h}function jr(e,t,n,i){return Pr(e,(function(e,r,o){t(i,n(e),r,o)})),i}function Fr(e,t,n){t=Wo(t,e),e=xs(e,t);var i=null==e?e:e[Ps(il(t))];return null==i?o:xn(i,e,n)}function Wr(e){return Sc(e)&&Er(e)==G}function Gr(e){return Sc(e)&&Er(e)==he}function Hr(e){return Sc(e)&&Er(e)==Z}function Ur(e,t,n,i,r){return e===t||(null==e||null==t||!Sc(e)&&!Sc(t)?e!==e&&t!==t:Yr(e,t,n,i,Ur,r))}function Yr(e,t,n,i,r,o){var a=ac(e),s=ac(t),l=a?H:qa(e),u=s?H:qa(t);l=l==G?te:l,u=u==G?te:u;var c=l==te,h=u==te,d=l==u;if(d&&hc(e)){if(!hc(t))return!1;a=!0,c=!1}if(d&&!c)return o||(o=new $i),a||Bc(e)?La(e,t,n,i,r,o):Ea(e,t,l,n,i,r,o);if(!(n&v)){var f=c&&ht.call(e,"__wrapped__"),p=h&&ht.call(t,"__wrapped__");if(f||p){var g=f?e.value():e,m=p?t.value():t;return o||(o=new $i),r(g,m,n,i,o)}}return!!d&&(o||(o=new $i),Ra(e,t,n,i,r,o))}function Zr(e){return Sc(e)&&qa(e)==J}function Xr(e,t,n,i){var r=n.length,a=r,s=!i;if(null==e)return!a;e=nt(e);while(r--){var l=n[r];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}while(++r<a){l=n[r];var u=l[0],c=e[u],h=l[1];if(s&&l[2]){if(c===o&&!(u in e))return!1}else{var d=new $i;if(i)var f=i(c,h,u,e,t,d);if(!(f===o?Ur(h,c,v|m,i,d):f))return!1}}return!0}function qr(e){if(!wc(e)||us(e))return!1;var t=xc(e)?mt:qe;return t.test(Cs(e))}function $r(e){return Sc(e)&&Er(e)==re}function Kr(e){return Sc(e)&&qa(e)==oe}function Jr(e){return Sc(e)&&bc(e.length)&&!!$t[Er(e)]}function Qr(e){return"function"==typeof e?e:null==e?Dd:"object"==typeof e?ac(e)?oo(e[0],e[1]):ro(e):Fd(e)}function eo(e){if(!hs(e))return Vt(e);var t=[];for(var n in nt(e))ht.call(e,n)&&"constructor"!=n&&t.push(n);return t}function to(e){if(!wc(e))return vs(e);var t=hs(e),n=[];for(var i in e)("constructor"!=i||!t&&ht.call(e,i))&&n.push(i);return n}function no(e,t){return e<t}function io(e,t){var i=-1,r=lc(e)?n(e.length):[];return _r(e,(function(e,n,o){r[++i]=t(e,n,o)})),r}function ro(e){var t=Ha(e);return 1==t.length&&t[0][2]?fs(t[0][0],t[0][1]):function(n){return n===e||Xr(n,e,t)}}function oo(e,t){return as(e)&&ds(t)?fs(Ps(e),t):function(n){var i=ph(n,e);return i===o&&i===t?vh(n,e):Ur(t,i,v|m)}}function ao(e,t,n,i,r){e!==t&&Tr(t,(function(a,s){if(r||(r=new $i),wc(a))so(e,t,s,n,ao,i,r);else{var l=i?i(bs(e,s),a,s+"",e,t,r):o;l===o&&(l=a),ar(e,s,l)}}),bh)}function so(e,t,n,i,r,a,s){var l=bs(e,n),u=bs(t,n),c=s.get(u);if(c)ar(e,n,c);else{var h=a?a(l,u,n+"",e,t,s):o,d=h===o;if(d){var f=ac(u),p=!f&&hc(u),g=!f&&!p&&Bc(u);h=u,f||p||g?ac(l)?h=l:uc(l)?h=na(l):p?(d=!1,h=Yo(u,!0)):g?(d=!1,h=Ko(u,!0)):h=[]:kc(u)||oc(u)?(h=l,oc(l)?h=qc(l):wc(l)&&!xc(l)||(h=es(u))):d=!1}d&&(s.set(u,h),r(h,u,i,a,s),s["delete"](u)),ar(e,n,h)}}function lo(e,t){var n=e.length;if(n)return t+=t<0?n:0,rs(t,n)?e[t]:o}function uo(e,t,n){var i=-1;t=Tn(t.length?t:[Dd],Xn(Wa()));var r=io(e,(function(e,n,r){var o=Tn(t,(function(t){return t(e)}));return{criteria:o,index:++i,value:e}}));return Hn(r,(function(e,t){return Qo(e,t,n)}))}function co(e,t){return ho(e,t,(function(t,n){return vh(e,n)}))}function ho(e,t,n){var i=-1,r=t.length,o={};while(++i<r){var a=t[i],s=kr(e,a);n(s,a)&&wo(o,Wo(a,e),s)}return o}function fo(e){return function(t){return kr(t,e)}}function po(e,t,n,i){var r=i?Bn:Nn,o=-1,a=t.length,s=e;e===t&&(t=na(t)),n&&(s=Tn(e,Xn(n)));while(++o<a){var l=0,u=t[o],c=n?n(u):u;while((l=r(s,c,l,i))>-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&&++r<a){var u=Ps(t[r]),c=n;if(r!=s){var h=l[u];c=i?i(h,u,l):o,c===o&&(c=wc(h)?h:rs(t[r+1])?[]:{})}sr(l,u,c),l=l[u]}return e}var So=ln?function(e,t){return ln.set(e,t),e}:Dd,Mo=Pt?function(e,t){return Pt(e,"toString",{configurable:!0,enumerable:!1,value:Md(t),writable:!0})}:Dd;function Io(e){return Ts(Vh(e))}function Ao(e,t,i){var r=-1,o=e.length;t<0&&(t=-t>o?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<o)a[r]=e[r+t];return a}function To(e,t){var n;return _r(e,(function(e,i,r){return n=t(e,i,r),!n})),!!n}function Do(e,t,n){var i=0,r=null==e?i:e.length;if("number"==typeof t&&t===t&&r<=F){while(i<r){var o=i+r>>>1,a=e[o];null!==a&&!Nc(a)&&(n?a<=t:a<t)?i=o+1:r=o}return r}return Po(e,t,Dd,n)}function Po(e,t,n,i){t=n(t);var r=0,a=null==e?0:e.length,s=t!==t,l=null===t,u=Nc(t),c=t===o;while(r<a){var h=Et((r+a)/2),d=n(e[h]),f=d!==o,p=null===d,g=d===d,v=Nc(d);if(s)var m=i||g;else m=c?g&&(i||f):l?g&&f&&(i||!p):u?g&&f&&!p&&(i||!v):!p&&!v&&(i?d<=t:d<t);m?r=h+1:a=h}return Ft(a,j)}function Co(e,t){var n=-1,i=e.length,r=0,o=[];while(++n<i){var a=e[n],s=t?t(a):a;if(!n||!nc(s,l)){var l=s;o[r++]=0===a?0:a}}return o}function Oo(e){return"number"==typeof e?e:Nc(e)?B:+e}function ko(e){if("string"==typeof e)return e;if(ac(e))return Tn(e,ko)+"";if(Nc(e))return yi?yi.call(e):"";var t=e+"";return"0"==t&&1/e==-R?"-0":t}function Lo(e,t,n){var i=-1,r=In,o=e.length,a=!0,l=[],u=l;if(n)a=!1,r=An;else if(o>=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<o){var h=e[i],d=t?t(h):h;if(h=n||0!==h?h:0,a&&d===d){var f=u.length;while(f--)if(u[f]===d)continue e;t&&u.push(d),l.push(h)}else r(u,d,n)||(u!==l&&u.push(d),l.push(h))}return l}function Eo(e,t){return t=Wo(t,e),e=xs(e,t),null==e||delete e[Ps(il(t))]}function Ro(e,t,n,i){return wo(e,t,n(kr(e,t)),i)}function zo(e,t,n,i){var r=e.length,o=i?r:-1;while((i?o--:++o<r)&&t(e[o],o,e));return n?Ao(e,i?0:o,i?o+1:r):Ao(e,i?o+1:0,i?r:o)}function No(e,t){var n=e;return n instanceof Ii&&(n=n.value()),Pn(t,(function(e,t){return t.func.apply(t.thisArg,Dn([e],t.args))}),n)}function Bo(e,t,i){var r=e.length;if(r<2)return r?Lo(e[0]):[];var o=-1,a=n(r);while(++o<r){var s=e[o],l=-1;while(++l<r)l!=o&&(a[o]=xr(a[o]||s,e[l],t,i))}return Lo(Ar(a,1),t,i)}function Vo(e,t,n){var i=-1,r=e.length,a=t.length,s={};while(++i<r){var l=i<a?t[i]:o;n(s,e[i],l)}return s}function jo(e){return uc(e)?e:[]}function Fo(e){return"function"==typeof e?e:Dd}function Wo(e,t){return ac(e)?e:as(e,t)?[e]:Ds(Kc(e))}var Go=xo;function Ho(e,t,n){var i=e.length;return n=n===o?i:n,!t&&n>=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<t||c&&n&&r&&!i&&!a||l&&n&&r||!s&&r||!u)return-1}return 0}function Qo(e,t,n){var i=-1,r=e.criteria,o=t.criteria,a=r.length,s=n.length;while(++i<a){var l=Jo(r[i],o[i]);if(l){if(i>=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(++l<u)h[l]=t[l];while(++o<s)(d||o<a)&&(h[i[o]]=e[o]);while(c--)h[l++]=e[o++];return h}function ta(e,t,i,r){var o=-1,a=e.length,s=-1,l=i.length,u=-1,c=t.length,h=jt(a-l,0),d=n(h+c),f=!r;while(++o<h)d[o]=e[o];var p=o;while(++u<c)d[p+u]=t[u];while(++s<l)(f||o<a)&&(d[p+i[s]]=e[o++]);return d}function na(e,t){var i=-1,r=e.length;t||(t=n(r));while(++i<r)t[i]=e[i];return t}function ia(e,t,n,i){var r=!n;n||(n={});var a=-1,s=t.length;while(++a<s){var l=t[a],u=i?i(n[l],e[l],l,n,e):o;u===o&&(u=e[l]),r?dr(n,l,u):sr(n,l,u)}return n}function ra(e,t){return ia(e,Za(e),t)}function oa(e,t){return ia(e,Xa(e),t)}function aa(e,t){return function(n,i){var r=ac(n)?_n:ur,o=t?t():{};return r(n,e,Wa(i,2),o)}}function sa(e){return xo((function(t,n){var i=-1,r=n.length,a=r>1?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<r){var l=n[i];l&&e(t,l,i,a)}return t}))}function la(e,t){return function(n,i){if(null==n)return n;if(!lc(n))return e(n,i);var r=n.length,o=t?r:-1,a=nt(n);while(t?o--:++o<r)if(!1===i(a[o],o,a))break;return n}}function ua(e){return function(t,n,i){var r=-1,o=nt(t),a=i(t),s=a.length;while(s--){var l=a[e?s:++r];if(!1===n(o[l],l,o))break}return t}}function ca(e,t,n){var i=t&y,r=fa(e);function o(){var t=this&&this!==sn&&this instanceof o?r:e;return t.apply(i?n:this,arguments)}return o}function ha(e){return function(t){t=Kc(t);var n=ri(t)?gi(t):o,i=n?n[0]:t.charAt(0),r=n?Ho(n,1).join(""):t.slice(1);return i[e]()+r}}function da(e){return function(t){return Pn(xd(Yh(t).replace(Wt,"")),e,"")}}function fa(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=wi(e.prototype),i=e.apply(n,t);return wc(i)?i:n}}function pa(e,t,i){var r=fa(e);function a(){var s=arguments.length,l=n(s),u=s,c=Fa(a);while(u--)l[u]=arguments[u];var h=s<3&&l[0]!==c&&l[s-1]!==c?[]:ui(l,c);if(s-=h.length,s<i)return Ia(e,t,ma,a.placeholder,o,l,h,o,o,i-s);var d=this&&this!==sn&&this instanceof a?r:e;return xn(d,this,l)}return a}function ga(e){return function(t,n,i){var r=nt(t);if(!lc(t)){var a=Wa(n,3);t=_h(t),n=function(e){return a(r[e],e,r)}}var s=e(t,n,i);return s>-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(++i<n){a=t[i];var l=ja(a),c="wrapper"==l?Va(a):o;s=c&&ls(c[0])&&c[1]==(I|b|S|A)&&!c[4].length&&1==c[9]?s[ja(c[0])].apply(s,c[3]):1==a.length&&ls(a)?s[l]():s.thru(a)}return function(){var e=arguments,i=e[0];if(s&&1==e.length&&ac(i))return s.plant(i).value();var r=0,o=n?t[r].apply(this,e):i;while(++r<n)o=t[r].call(this,o);return o}}))}function ma(e,t,i,r,a,s,l,u,c,h){var d=t&I,f=t&y,p=t&x,g=t&(b|w),v=t&T,m=p?o:fa(e);function _(){var o=arguments.length,y=n(o),x=o;while(x--)y[x]=arguments[x];if(g)var b=Fa(_),w=Qn(y,b);if(r&&(y=ea(y,r,a,g)),s&&(y=ta(y,s,l,g)),o-=w,g&&o<h){var S=ui(y,b);return Ia(e,t,ma,_.placeholder,i,y,S,u,c,h-o)}var M=f?i:this,I=p?M[e]:e;return o=y.length,u?y=_s(y,u):v&&o>1&&y.reverse(),d&&c<o&&(y.length=c),this&&this!==sn&&this instanceof _&&(I=m||fa(I)),I.apply(M,y)}return _}function ya(e,t){return function(n,i){return jr(n,e,t(i),{})}}function xa(e,t){return function(n,i){var r;if(n===o&&i===o)return t;if(n!==o&&(r=n),i!==o){if(r===o)return i;"string"==typeof n||"string"==typeof i?(n=ko(n),i=ko(i)):(n=Oo(n),i=Oo(i)),r=e(n,i)}return r}}function _a(e){return za((function(t){return t=Tn(t,Xn(Wa())),xo((function(n){var i=this;return e(t,(function(e){return xn(e,i,n)}))}))}))}function ba(e,t){t=t===o?" ":ko(t);var n=t.length;if(n<2)return n?yo(t,e):t;var i=yo(t,Lt(e/pi(t)));return ri(t)?Ho(gi(i),0,e).join(""):i.slice(0,e)}function wa(e,t,i,r){var o=t&y,a=fa(e);function s(){var t=-1,l=arguments.length,u=-1,c=r.length,h=n(c+l),d=this&&this!==sn&&this instanceof s?a:e;while(++u<c)h[u]=r[u];while(l--)h[u++]=arguments[++t];return xn(d,o?i:this,h)}return s}function Sa(e){return function(t,n,i){return i&&"number"!=typeof i&&os(t,n,i)&&(n=i=o),t=Uc(t),n===o?(n=t,t=0):n=Uc(n),i=i===o?t<n?1:-1:Uc(i),mo(t,n,i,e)}}function Ma(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Xc(t),n=Xc(n)),e(t,n)}}function Ia(e,t,n,i,r,a,s,l,u,c){var h=t&b,d=h?s:o,f=h?o:s,p=h?a:o,g=h?o:a;t|=h?S:M,t&=~(h?M:S),t&_||(t&=~(y|x));var v=[e,t,r,p,d,g,f,l,u,c],m=n.apply(o,v);return ls(e)&&ws(m,v),m.placeholder=i,Is(m,e,t)}function Aa(e){var t=tt[e];return function(e,n){if(e=Xc(e),n=null==n?0:Ft(Yc(n),292),n&&Nt(e)){var i=(Kc(e)+"e").split("e"),r=t(i[0]+"e"+(+i[1]+n));return i=(Kc(r)+"e").split("e"),+(i[0]+"e"+(+i[1]-n))}return t(e)}}var Ta=tn&&1/ci(new tn([,-0]))[1]==R?function(e){return new tn(e)}:zd;function Da(e){return function(t){var n=qa(t);return n==J?si(t):n==oe?hi(t):Zn(t,e(t))}}function Pa(e,t,n,i,r,a,s,l){var c=t&x;if(!c&&"function"!=typeof e)throw new ot(u);var h=i?i.length:0;if(h||(t&=~(S|M),i=r=o),s=s===o?s:jt(Yc(s),0),l=l===o?l:Yc(l),h-=r?r.length:0,t&M){var d=i,f=r;i=r=o}var p=c?o:Va(e),g=[e,t,n,i,r,d,f,a,s,l];if(p&&gs(g,p),e=g[0],t=g[1],n=g[2],i=g[3],r=g[4],l=g[9]=g[9]===o?c?0:e.length:jt(g[9]-h,0),!l&&t&(b|w)&&(t&=~(b|w)),t&&t!=y)v=t==b||t==w?pa(e,t,l):t!=S&&t!=(y|S)||r.length?ma.apply(o,g):wa(e,t,n,i);else var v=ca(e,t,n);var m=p?So:ws;return Is(m(v,g),e,t)}function Ca(e,t,n,i){return e===o||nc(e,lt[n])&&!ht.call(i,n)?t:e}function Oa(e,t,n,i,r,a){return wc(e)&&wc(t)&&(a.set(t,e),ao(e,t,o,Oa,a),a["delete"](t)),e}function ka(e){return kc(e)?o:e}function La(e,t,n,i,r,a){var s=n&v,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))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(++h<l){var p=e[h],g=t[h];if(i)var y=s?i(g,p,h,t,e,a):i(p,g,h,e,t,a);if(y!==o){if(y)continue;d=!1;break}if(f){if(!On(t,(function(e,t){if(!$n(f,t)&&(p===e||r(p,e,n,i,a)))return f.push(t)}))){d=!1;break}}else if(p!==g&&!r(p,g,n,i,a)){d=!1;break}}return a["delete"](e),a["delete"](t),d}function Ea(e,t,n,i,r,o,a){switch(n){case de:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case he:return!(e.byteLength!=t.byteLength||!o(new _t(e),new _t(t)));case Y:case Z:case Q:return nc(+e,+t);case q:return e.name==t.name&&e.message==t.message;case re:case ae:return e==t+"";case J:var s=si;case oe:var l=i&v;if(s||(s=ci),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;i|=m,a.set(e,t);var c=La(s(e),s(t),i,r,o,a);return a["delete"](e),c;case se:if(mi)return mi.call(e)==mi.call(t)}return!1}function Ra(e,t,n,i,r,a){var s=n&v,l=Na(e),u=l.length,c=Na(t),h=c.length;if(u!=h&&!s)return!1;var d=u;while(d--){var f=l[d];if(!(s?f in t:ht.call(t,f)))return!1}var p=a.get(e);if(p&&a.get(t))return p==t;var g=!0;a.set(e,t),a.set(t,e);var m=s;while(++d<u){f=l[d];var y=e[f],x=t[f];if(i)var _=s?i(x,y,f,t,e,a):i(y,x,f,e,t,a);if(!(_===o?y===x||r(y,x,n,i,a):_)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var b=e.constructor,w=t.constructor;b!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(g=!1)}return a["delete"](e),a["delete"](t),g}function za(e){return Ms(ys(e,o,Ys),e+"")}function Na(e){return Lr(e,_h,Za)}function Ba(e){return Lr(e,bh,Xa)}var Va=ln?function(e){return ln.get(e)}:zd;function ja(e){var t=e.name+"",n=un[t],i=ht.call(un,t)?n.length:0;while(i--){var r=n[i],o=r.func;if(null==o||o==e)return r.name}return t}function Fa(e){var t=ht.call(_i,"placeholder")?_i:e;return t.placeholder}function Wa(){var e=_i.iteratee||Pd;return e=e===Pd?Qr:e,arguments.length?e(arguments[0],arguments[1]):e}function Ga(e,t){var n=e.__data__;return ss(t)?n["string"==typeof t?"string":"hash"]:n.map}function Ha(e){var t=_h(e),n=t.length;while(n--){var i=t[n],r=e[i];t[n]=[i,r,ds(r)]}return t}function Ua(e,t){var n=ii(e,t);return qr(n)?n:o}function Ya(e){var t=ht.call(e,Dt),n=e[Dt];try{e[Dt]=o;var i=!0}catch(a){}var r=pt.call(e);return i&&(t?e[Dt]=n:delete e[Dt]),r}var Za=Rt?function(e){return null==e?[]:(e=nt(e),Mn(Rt(e),(function(t){return Mt.call(e,t)})))}:Ud,Xa=Rt?function(e){var t=[];while(e)Dn(t,Za(e)),e=wt(e);return t}:Ud,qa=Er;function $a(e,t,n){var i=-1,r=n.length;while(++i<r){var o=n[i],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Ft(t,e+a);break;case"takeRight":e=jt(e,t-a);break}}return{start:e,end:t}}function Ka(e){var t=e.match(Fe);return t?t[1].split(We):[]}function Ja(e,t,n){t=Wo(t,e);var i=-1,r=t.length,o=!1;while(++i<r){var a=Ps(t[i]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++i!=r?o:(r=null==e?0:e.length,!!r&&bc(r)&&rs(a,r)&&(ac(e)||oc(e)))}function Qa(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ht.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function es(e){return"function"!=typeof e.constructor||hs(e)?{}:wi(wt(e))}function ts(e,t,n){var i=e.constructor;switch(t){case he:return Zo(e);case Y:case Z:return new i(+e);case de:return Xo(e,n);case fe:case pe:case ge:case ve:case me:case ye:case xe:case _e:case be:return Ko(e,n);case J:return new i;case Q:case ae:return new i(e);case re:return qo(e);case oe:return new i;case se:return $o(e)}}function ns(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+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&&e<t}function os(e,t,n){if(!wc(n))return!1;var i=typeof t;return!!("number"==i?lc(n)&&rs(t,n.length):"string"==i&&t in n)&&nc(n[t],e)}function as(e,t){if(ac(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Nc(e))||(Le.test(e)||!ke.test(e)||null!=t&&e in nt(t))}function ss(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function ls(e){var t=ja(e),n=_i[t];if("function"!=typeof n||!(t in Ii.prototype))return!1;if(e===n)return!0;var i=Va(n);return!!i&&e===i[0]}function us(e){return!!ft&&ft in e}(Jt&&qa(new Jt(new ArrayBuffer(1)))!=de||Qt&&qa(new Qt)!=J||en&&qa(en.resolve())!=ne||tn&&qa(new tn)!=oe||on&&qa(new on)!=ue)&&(qa=function(e){var t=Er(e),n=t==te?e.constructor:o,i=n?Cs(n):"";if(i)switch(i){case hn:return de;case dn:return J;case kn:return ne;case Ln:return oe;case Wn:return ue}return t});var cs=ut?xc:Yd;function hs(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||lt;return e===n}function ds(e){return e===e&&!wc(e)}function fs(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in nt(n)))}}function ps(e){var t=Bu(e,(function(e){return n.size===h&&n.clear(),e})),n=t.cache;return t}function gs(e,t){var n=e[1],i=t[1],r=n|i,o=r<(y|x|I),a=i==I&&n==b||i==I&&n==A&&e[7].length<=t[8]||i==(I|A)&&t[7].length<=t[8]&&n==b;if(!o&&!a)return e;i&y&&(e[2]=t[2],r|=n&y?0:_);var s=t[3];if(s){var l=e[3];e[3]=l?ea(l,s,t[4]):s,e[4]=l?ui(e[3],d):t[4]}return s=t[5],s&&(l=e[5],e[5]=l?ta(l,s,t[6]):s,e[6]=l?ui(e[5],d):t[6]),s=t[7],s&&(e[7]=s),i&I&&(e[8]=null==e[8]?t[8]:Ft(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=r,e}function vs(e){var t=[];if(null!=e)for(var n in nt(e))t.push(n);return t}function ms(e){return pt.call(e)}function ys(e,t,i){return t=jt(t===o?e.length-1:t,0),function(){var r=arguments,o=-1,a=jt(r.length-t,0),s=n(a);while(++o<a)s[o]=r[t+o];o=-1;var l=n(t+1);while(++o<t)l[o]=r[o];return l[t]=i(s),xn(e,this,l)}}function xs(e,t){return t.length<2?e:kr(e,Ao(t,0,-1))}function _s(e,t){var n=e.length,i=Ft(t.length,n),r=na(e);while(i--){var a=t[i];e[i]=rs(a,n)?r[a]:o}return e}function bs(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var ws=As(So),Ss=kt||function(e,t){return sn.setTimeout(e,t)},Ms=As(Mo);function Is(e,t,n){var i=t+"";return Ms(e,ns(i,Os(Ka(i),n)))}function As(e){var t=0,n=0;return function(){var i=Ht(),r=O-(i-n);if(n=i,r>0){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(++n<t){var a=vo(n,r),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Ds=ps((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ee,(function(e,n,i,r){t.push(i?r.replace(He,"$1"):n||e)})),t}));function Ps(e){if("string"==typeof e||Nc(e))return e;var t=e+"";return"0"==t&&1/e==-R?"-0":t}function Cs(e){if(null!=e){try{return ct.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Os(e,t){return bn(W,(function(n){var i="_."+n[0];t&n[1]&&!In(e,i)&&e.push(i)})),e.sort()}function ks(e){if(e instanceof Ii)return e.clone();var t=new Mi(e.__wrapped__,e.__chain__);return t.__actions__=na(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Ls(e,t,i){t=(i?os(e,t,i):t===o)?1:jt(Yc(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];var a=0,s=0,l=n(Lt(r/t));while(a<r)l[s++]=Ao(e,a,a+=t);return l}function Es(e){var t=-1,n=null==e?0:e.length,i=0,r=[];while(++t<n){var o=e[t];o&&(r[i++]=o)}return r}function Rs(){var e=arguments.length;if(!e)return[];var t=n(e-1),i=arguments[0],r=e;while(r--)t[r-1]=arguments[r];return Dn(ac(i)?na(i):[i],Ar(t,1))}var zs=xo((function(e,t){return uc(e)?xr(e,Ar(t,1,uc,!0)):[]})),Ns=xo((function(e,t){var n=il(t);return uc(n)&&(n=o),uc(e)?xr(e,Ar(t,1,uc,!0),Wa(n,2)):[]})),Bs=xo((function(e,t){var n=il(t);return uc(n)&&(n=o),uc(e)?xr(e,Ar(t,1,uc,!0),o,n):[]}));function Vs(e,t,n){var i=null==e?0:e.length;return i?(t=n||t===o?1:Yc(t),Ao(e,t<0?0:t,i)):[]}function js(e,t,n){var i=null==e?0:e.length;return i?(t=n||t===o?1:Yc(t),t=i-t,Ao(e,0,t<0?0:t)):[]}function Fs(e,t){return e&&e.length?zo(e,Wa(t,3),!0,!0):[]}function Ws(e,t){return e&&e.length?zo(e,Wa(t,3),!0):[]}function Gs(e,t,n,i){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&os(e,t,n)&&(n=0,i=r),Mr(e,t,n,i)):[]}function Hs(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:Yc(n);return r<0&&(r=jt(i+r,0)),zn(e,Wa(t,3),r)}function Us(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i-1;return n!==o&&(r=Yc(n),r=n<0?jt(i+r,0):Ft(r,i-1)),zn(e,Wa(t,3),r,!0)}function Ys(e){var t=null==e?0:e.length;return t?Ar(e,1):[]}function Zs(e){var t=null==e?0:e.length;return t?Ar(e,R):[]}function Xs(e,t){var n=null==e?0:e.length;return n?(t=t===o?1:Yc(t),Ar(e,t)):[]}function qs(e){var t=-1,n=null==e?0:e.length,i={};while(++t<n){var r=e[t];i[r[0]]=r[1]}return i}function $s(e){return e&&e.length?e[0]:o}function Ks(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:Yc(n);return r<0&&(r=jt(i+r,0)),Nn(e,t,r)}function Js(e){var t=null==e?0:e.length;return t?Ao(e,0,-1):[]}var Qs=xo((function(e){var t=Tn(e,jo);return t.length&&t[0]===e[0]?Vr(t):[]})),el=xo((function(e){var t=il(e),n=Tn(e,jo);return t===il(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Vr(n,Wa(t,2)):[]})),tl=xo((function(e){var t=il(e),n=Tn(e,jo);return t="function"==typeof t?t:o,t&&n.pop(),n.length&&n[0]===e[0]?Vr(n,o,t):[]}));function nl(e,t){return null==e?"":Bt.call(e,t)}function il(e){var t=null==e?0:e.length;return t?e[t-1]:o}function rl(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i;return n!==o&&(r=Yc(n),r=r<0?jt(i+r,0):Ft(r,i-1)),t===t?fi(e,t,r):zn(e,Vn,r,!0)}function ol(e,t){return e&&e.length?lo(e,Yc(t)):o}var al=xo(sl);function sl(e,t){return e&&e.length&&t&&t.length?po(e,t):e}function ll(e,t,n){return e&&e.length&&t&&t.length?po(e,t,Wa(n,2)):e}function ul(e,t,n){return e&&e.length&&t&&t.length?po(e,t,o,n):e}var cl=za((function(e,t){var n=null==e?0:e.length,i=fr(e,t);return go(e,Tn(t,(function(e){return rs(e,n)?+e:e})).sort(Jo)),i}));function hl(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],o=e.length;t=Wa(t,3);while(++i<o){var a=e[i];t(a,i,e)&&(n.push(a),r.push(i))}return go(e,r),n}function dl(e){return null==e?e:Zt.call(e)}function fl(e,t,n){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&os(e,t,n)?(t=0,n=i):(t=null==t?0:Yc(t),n=n===o?i:Yc(n)),Ao(e,t,n)):[]}function pl(e,t){return Do(e,t)}function gl(e,t,n){return Po(e,t,Wa(n,2))}function vl(e,t){var n=null==e?0:e.length;if(n){var i=Do(e,t);if(i<n&&nc(e[i],t))return i}return-1}function ml(e,t){return Do(e,t,!0)}function yl(e,t,n){return Po(e,t,Wa(n,2),!0)}function xl(e,t){var n=null==e?0:e.length;if(n){var i=Do(e,t,!0)-1;if(nc(e[i],t))return i}return-1}function _l(e){return e&&e.length?Co(e):[]}function bl(e,t){return e&&e.length?Co(e,Wa(t,2)):[]}function wl(e){var t=null==e?0:e.length;return t?Ao(e,1,t):[]}function Sl(e,t,n){return e&&e.length?(t=n||t===o?1:Yc(t),Ao(e,0,t<0?0:t)):[]}function Ml(e,t,n){var i=null==e?0:e.length;return i?(t=n||t===o?1:Yc(t),t=i-t,Ao(e,t<0?0:t,i)):[]}function Il(e,t){return e&&e.length?zo(e,Wa(t,3),!1,!0):[]}function Al(e,t){return e&&e.length?zo(e,Wa(t,3)):[]}var Tl=xo((function(e){return Lo(Ar(e,1,uc,!0))})),Dl=xo((function(e){var t=il(e);return uc(t)&&(t=o),Lo(Ar(e,1,uc,!0),Wa(t,2))})),Pl=xo((function(e){var t=il(e);return t="function"==typeof t?t:o,Lo(Ar(e,1,uc,!0),o,t)}));function Cl(e){return e&&e.length?Lo(e):[]}function Ol(e,t){return e&&e.length?Lo(e,Wa(t,2)):[]}function kl(e,t){return t="function"==typeof t?t:o,e&&e.length?Lo(e,o,t):[]}function Ll(e){if(!e||!e.length)return[];var t=0;return e=Mn(e,(function(e){if(uc(e))return t=jt(e.length,t),!0})),Yn(t,(function(t){return Tn(e,Fn(t))}))}function El(e,t){if(!e||!e.length)return[];var n=Ll(e);return null==t?n:Tn(n,(function(e){return xn(t,o,e)}))}var Rl=xo((function(e,t){return uc(e)?xr(e,t):[]})),zl=xo((function(e){return Bo(Mn(e,uc))})),Nl=xo((function(e){var t=il(e);return uc(t)&&(t=o),Bo(Mn(e,uc),Wa(t,2))})),Bl=xo((function(e){var t=il(e);return t="function"==typeof t?t:o,Bo(Mn(e,uc),o,t)})),Vl=xo(Ll);function jl(e,t){return Vo(e||[],t||[],sr)}function Fl(e,t){return Vo(e||[],t||[],wo)}var Wl=xo((function(e){var t=e.length,n=t>1?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<o)i[r]=t[r].call(this,i[r]);return xn(e,this,i)}))})),Wu=xo((function(e,t){var n=ui(t,Fa(Wu));return Pa(e,S,o,t,n)})),Gu=xo((function(e,t){var n=ui(t,Fa(Gu));return Pa(e,M,o,t,n)})),Hu=za((function(e,t){return Pa(e,A,o,o,o,t)}));function Uu(e,t){if("function"!=typeof e)throw new ot(u);return t=t===o?t:Yc(t),xo(e,t)}function Yu(e,t){if("function"!=typeof e)throw new ot(u);return t=null==t?0:jt(Yc(t),0),xo((function(n){var i=n[t],r=Ho(n,0,t);return i&&Dn(r,i),xn(e,this,r)}))}function Zu(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new ot(u);return wc(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Eu(e,t,{leading:i,maxWait:t,trailing:r})}function Xu(e){return Du(e,1)}function qu(e,t){return Wu(Fo(t),e)}function $u(){if(!arguments.length)return[];var e=arguments[0];return ac(e)?e:[e]}function Ku(e){return gr(e,g)}function Ju(e,t){return t="function"==typeof t?t:o,gr(e,g,t)}function Qu(e){return gr(e,f|g)}function ec(e,t){return t="function"==typeof t?t:o,gr(e,f|g,t)}function tc(e,t){return null==t||mr(e,t,_h(t))}function nc(e,t){return e===t||e!==e&&t!==t}var ic=Ma(Rr),rc=Ma((function(e,t){return e>=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(++n<i){var a=t[n],s=bh(a),l=-1,u=s.length;while(++l<u){var c=s[l],h=e[c];(h===o||nc(h,lt[c])&&!ht.call(e,c))&&(e[c]=a[c])}}return e})),oh=xo((function(e){return e.push(o,Oa),xn(Ih,o,e)}));function ah(e,t){return Rn(e,Wa(t,3),Pr)}function sh(e,t){return Rn(e,Wa(t,3),Cr)}function lh(e,t){return null==e?e:Tr(e,Wa(t,3),bh)}function uh(e,t){return null==e?e:Dr(e,Wa(t,3),bh)}function ch(e,t){return e&&Pr(e,Wa(t,3))}function hh(e,t){return e&&Cr(e,Wa(t,3))}function dh(e){return null==e?[]:Or(e,_h(e))}function fh(e){return null==e?[]:Or(e,bh(e))}function ph(e,t,n){var i=null==e?o:kr(e,t);return i===o?n:i}function gh(e,t){return null!=e&&Ja(e,t,zr)}function vh(e,t){return null!=e&&Ja(e,t,Nr)}var mh=ya((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=pt.call(t)),e[t]=n}),Md(Dd)),yh=ya((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=pt.call(t)),ht.call(e,t)?e[t].push(n):e[t]=[n]}),Wa),xh=xo(Fr);function _h(e){return lc(e)?nr(e):eo(e)}function bh(e){return lc(e)?nr(e,!0):to(e)}function wh(e,t){var n={};return t=Wa(t,3),Pr(e,(function(e,i,r){dr(n,t(e,i,r),e)})),n}function Sh(e,t){var n={};return t=Wa(t,3),Pr(e,(function(e,i,r){dr(n,i,t(e,i,r))})),n}var Mh=sa((function(e,t,n){ao(e,t,n)})),Ih=sa((function(e,t,n,i){ao(e,t,n,i)})),Ah=za((function(e,t){var n={};if(null==e)return n;var i=!1;t=Tn(t,(function(t){return t=Wo(t,e),i||(i=t.length>1),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(++i<r){var a=null==e?o:e[Ps(t[i])];a===o&&(i=r,a=n),e=xc(a)?a.call(e):a}return e}function Oh(e,t,n){return null==e?e:wo(e,t,n)}function kh(e,t,n,i){return i="function"==typeof i?i:o,null==e?e:wo(e,t,n,i)}var Lh=Da(_h),Eh=Da(bh);function Rh(e,t,n){var i=ac(e),r=i||hc(e)||Bc(e);if(t=Wa(t,4),null==n){var o=e&&e.constructor;n=r?i?new o:[]:wc(e)&&xc(o)?wi(wt(e)):{}}return(r?bn:Pr)(e,(function(e,i,r){return t(n,e,i,r)})),n}function zh(e,t){return null==e||Eo(e,t)}function Nh(e,t,n){return null==e?e:Ro(e,t,Fo(n))}function Bh(e,t,n,i){return i="function"==typeof i?i:o,null==e?e:Ro(e,t,Fo(n),i)}function Vh(e){return null==e?[]:qn(e,_h(e))}function jh(e){return null==e?[]:qn(e,bh(e))}function Fh(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=Xc(n),n=n===n?n:0),t!==o&&(t=Xc(t),t=t===t?t:0),pr(Xc(e),t,n)}function Wh(e,t,n){return t=Uc(t),n===o?(n=t,t=0):n=Uc(n),e=Xc(e),Br(e,t,n)}function Gh(e,t,n){if(n&&"boolean"!=typeof n&&os(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=Uc(e),t===o?(t=e,e=0):t=Uc(t)),e>t){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<t?e+ba(t-i,n):e}function td(e,t,n){e=Kc(e),t=Yc(t);var i=t?pi(e):0;return t&&i<t?ba(t-i,n)+e:e}function nd(e,t,n){return n||null==t?t=0:t&&(t=+t),Ut(Kc(e).replace(Be,""),t||0)}function id(e,t,n){return t=(n?os(e,t,n):t===o)?1:Yc(t),yo(Kc(e),t)}function rd(){var e=arguments,t=Kc(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var od=da((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));function ad(e,t,n){return n&&"number"!=typeof n&&os(e,t,n)&&(t=n=o),n=n===o?V:n>>>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(++i<t){var r=e[i];if(xn(r[0],this,n))return xn(r[1],this,n)}}))}function Sd(e){return vr(gr(e,f))}function Md(e){return function(){return e}}function Id(e,t){return null==e||e!==e?t:e}var Ad=va(),Td=va(!0);function Dd(e){return e}function Pd(e){return Qr("function"==typeof e?e:gr(e,f))}function Cd(e){return ro(gr(e,f))}function Od(e,t){return oo(e,gr(t,f))}var kd=xo((function(e,t){return function(n){return Fr(n,e,t)}})),Ld=xo((function(e,t){return function(n){return Fr(e,n,t)}}));function Ed(e,t,n){var i=_h(t),r=Or(t,i);null!=n||wc(t)&&(r.length||!i.length)||(n=t,t=e,e=this,r=Or(t,_h(t)));var o=!(wc(n)&&"chain"in n)||!!n.chain,a=xc(e);return bn(r,(function(n){var i=t[n];e[n]=i,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),r=n.__actions__=na(this.__actions__);return r.push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,Dn([this.value()],arguments))})})),e}function Rd(){return sn._===this&&(sn._=vt),this}function zd(){}function Nd(e){return e=Yc(e),xo((function(t){return lo(t,e)}))}var Bd=_a(Tn),Vd=_a(Sn),jd=_a(On);function Fd(e){return as(e)?Fn(Ps(e)):fo(e)}function Wd(e){return function(t){return null==e?o:kr(e,t)}}var Gd=Sa(),Hd=Sa(!0);function Ud(){return[]}function Yd(){return!1}function Zd(){return{}}function Xd(){return""}function qd(){return!0}function $d(e,t){if(e=Yc(e),e<1||e>z)return[];var n=V,i=Ft(e,V);t=Wa(t),e-=V;var r=Yn(i,t);while(++n<e)t(n);return r}function Kd(e){return ac(e)?Tn(e,Ps):Nc(e)?[e]:na(Ds(Kc(e)))}function Jd(e){var t=++dt;return Kc(e)+t}var Qd=xa((function(e,t){return e+t}),0),ef=Aa("ceil"),tf=xa((function(e,t){return e/t}),1),nf=Aa("floor");function rf(e){return e&&e.length?Sr(e,Dd,Rr):o}function of(e,t){return e&&e.length?Sr(e,Wa(t,2),Rr):o}function af(e){return jn(e,Dd)}function sf(e,t){return jn(e,Wa(t,2))}function lf(e){return e&&e.length?Sr(e,Dd,no):o}function uf(e,t){return e&&e.length?Sr(e,Wa(t,2),no):o}var cf=xa((function(e,t){return e*t}),1),hf=Aa("round"),df=xa((function(e,t){return e-t}),0);function ff(e){return e&&e.length?Un(e,Dd):0}function pf(e,t){return e&&e.length?Un(e,Wa(t,2)):0}return _i.after=Tu,_i.ary=Du,_i.assign=Jc,_i.assignIn=Qc,_i.assignInWith=eh,_i.assignWith=th,_i.at=nh,_i.before=Pu,_i.bind=Cu,_i.bindAll=bd,_i.bindKey=Ou,_i.castArray=$u,_i.chain=Gl,_i.chunk=Ls,_i.compact=Es,_i.concat=Rs,_i.cond=wd,_i.conforms=Sd,_i.constant=Md,_i.countBy=eu,_i.create=ih,_i.curry=ku,_i.curryRight=Lu,_i.debounce=Eu,_i.defaults=rh,_i.defaultsDeep=oh,_i.defer=Ru,_i.delay=zu,_i.difference=zs,_i.differenceBy=Ns,_i.differenceWith=Bs,_i.drop=Vs,_i.dropRight=js,_i.dropRightWhile=Fs,_i.dropWhile=Ws,_i.fill=Gs,_i.filter=nu,_i.flatMap=ou,_i.flatMapDeep=au,_i.flatMapDepth=su,_i.flatten=Ys,_i.flattenDeep=Zs,_i.flattenDepth=Xs,_i.flip=Nu,_i.flow=Ad,_i.flowRight=Td,_i.fromPairs=qs,_i.functions=dh,_i.functionsIn=fh,_i.groupBy=cu,_i.initial=Js,_i.intersection=Qs,_i.intersectionBy=el,_i.intersectionWith=tl,_i.invert=mh,_i.invertBy=yh,_i.invokeMap=du,_i.iteratee=Pd,_i.keyBy=fu,_i.keys=_h,_i.keysIn=bh,_i.map=pu,_i.mapKeys=wh,_i.mapValues=Sh,_i.matches=Cd,_i.matchesProperty=Od,_i.memoize=Bu,_i.merge=Mh,_i.mergeWith=Ih,_i.method=kd,_i.methodOf=Ld,_i.mixin=Ed,_i.negate=Vu,_i.nthArg=Nd,_i.omit=Ah,_i.omitBy=Th,_i.once=ju,_i.orderBy=gu,_i.over=Bd,_i.overArgs=Fu,_i.overEvery=Vd,_i.overSome=jd,_i.partial=Wu,_i.partialRight=Gu,_i.partition=vu,_i.pick=Dh,_i.pickBy=Ph,_i.property=Fd,_i.propertyOf=Wd,_i.pull=al,_i.pullAll=sl,_i.pullAllBy=ll,_i.pullAllWith=ul,_i.pullAt=cl,_i.range=Gd,_i.rangeRight=Hd,_i.rearg=Hu,_i.reject=xu,_i.remove=hl,_i.rest=Uu,_i.reverse=dl,_i.sampleSize=bu,_i.set=Oh,_i.setWith=kh,_i.shuffle=wu,_i.slice=fl,_i.sortBy=Iu,_i.sortedUniq=_l,_i.sortedUniqBy=bl,_i.split=ad,_i.spread=Yu,_i.tail=wl,_i.take=Sl,_i.takeRight=Ml,_i.takeRightWhile=Il,_i.takeWhile=Al,_i.tap=Hl,_i.throttle=Zu,_i.thru=Ul,_i.toArray=Hc,_i.toPairs=Lh,_i.toPairsIn=Eh,_i.toPath=Kd,_i.toPlainObject=qc,_i.transform=Rh,_i.unary=Xu,_i.union=Tl,_i.unionBy=Dl,_i.unionWith=Pl,_i.uniq=Cl,_i.uniqBy=Ol,_i.uniqWith=kl,_i.unset=zh,_i.unzip=Ll,_i.unzipWith=El,_i.update=Nh,_i.updateWith=Bh,_i.values=Vh,_i.valuesIn=jh,_i.without=Rl,_i.words=xd,_i.wrap=qu,_i.xor=zl,_i.xorBy=Nl,_i.xorWith=Bl,_i.zip=Vl,_i.zipObject=jl,_i.zipObjectDeep=Fl,_i.zipWith=Wl,_i.entries=Lh,_i.entriesIn=Eh,_i.extend=Qc,_i.extendWith=eh,Ed(_i,_i),_i.add=Qd,_i.attempt=_d,_i.camelCase=Hh,_i.capitalize=Uh,_i.ceil=ef,_i.clamp=Fh,_i.clone=Ku,_i.cloneDeep=Qu,_i.cloneDeepWith=ec,_i.cloneWith=Ju,_i.conformsTo=tc,_i.deburr=Yh,_i.defaultTo=Id,_i.divide=tf,_i.endsWith=Zh,_i.eq=nc,_i.escape=Xh,_i.escapeRegExp=qh,_i.every=tu,_i.find=iu,_i.findIndex=Hs,_i.findKey=ah,_i.findLast=ru,_i.findLastIndex=Us,_i.findLastKey=sh,_i.floor=nf,_i.forEach=lu,_i.forEachRight=uu,_i.forIn=lh,_i.forInRight=uh,_i.forOwn=ch,_i.forOwnRight=hh,_i.get=ph,_i.gt=ic,_i.gte=rc,_i.has=gh,_i.hasIn=vh,_i.head=$s,_i.identity=Dd,_i.includes=hu,_i.indexOf=Ks,_i.inRange=Wh,_i.invoke=xh,_i.isArguments=oc,_i.isArray=ac,_i.isArrayBuffer=sc,_i.isArrayLike=lc,_i.isArrayLikeObject=uc,_i.isBoolean=cc,_i.isBuffer=hc,_i.isDate=dc,_i.isElement=fc,_i.isEmpty=pc,_i.isEqual=gc,_i.isEqualWith=vc,_i.isError=mc,_i.isFinite=yc,_i.isFunction=xc,_i.isInteger=_c,_i.isLength=bc,_i.isMap=Mc,_i.isMatch=Ic,_i.isMatchWith=Ac,_i.isNaN=Tc,_i.isNative=Dc,_i.isNil=Cc,_i.isNull=Pc,_i.isNumber=Oc,_i.isObject=wc,_i.isObjectLike=Sc,_i.isPlainObject=kc,_i.isRegExp=Lc,_i.isSafeInteger=Ec,_i.isSet=Rc,_i.isString=zc,_i.isSymbol=Nc,_i.isTypedArray=Bc,_i.isUndefined=Vc,_i.isWeakMap=jc,_i.isWeakSet=Fc,_i.join=nl,_i.kebabCase=$h,_i.last=il,_i.lastIndexOf=rl,_i.lowerCase=Kh,_i.lowerFirst=Jh,_i.lt=Wc,_i.lte=Gc,_i.max=rf,_i.maxBy=of,_i.mean=af,_i.meanBy=sf,_i.min=lf,_i.minBy=uf,_i.stubArray=Ud,_i.stubFalse=Yd,_i.stubObject=Zd,_i.stubString=Xd,_i.stubTrue=qd,_i.multiply=cf,_i.nth=ol,_i.noConflict=Rd,_i.noop=zd,_i.now=Au,_i.pad=Qh,_i.padEnd=ed,_i.padStart=td,_i.parseInt=nd,_i.random=Gh,_i.reduce=mu,_i.reduceRight=yu,_i.repeat=id,_i.replace=rd,_i.result=Ch,_i.round=hf,_i.runInContext=e,_i.sample=_u,_i.size=Su,_i.snakeCase=od,_i.some=Mu,_i.sortedIndex=pl,_i.sortedIndexBy=gl,_i.sortedIndexOf=vl,_i.sortedLastIndex=ml,_i.sortedLastIndexBy=yl,_i.sortedLastIndexOf=xl,_i.startCase=sd,_i.startsWith=ld,_i.subtract=df,_i.sum=ff,_i.sumBy=pf,_i.template=ud,_i.times=$d,_i.toFinite=Uc,_i.toInteger=Yc,_i.toLength=Zc,_i.toLower=cd,_i.toNumber=Xc,_i.toSafeInteger=$c,_i.toString=Kc,_i.toUpper=hd,_i.trim=dd,_i.trimEnd=fd,_i.trimStart=pd,_i.truncate=gd,_i.unescape=vd,_i.uniqueId=Jd,_i.upperCase=md,_i.upperFirst=yd,_i.each=lu,_i.eachRight=uu,_i.first=$s,Ed(_i,function(){var e={};return Pr(_i,(function(t,n){ht.call(_i.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),_i.VERSION=a,bn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){_i[e].placeholder=_i})),bn(["drop","take"],(function(e,t){Ii.prototype[e]=function(n){n=n===o?1:jt(Yc(n),0);var i=this.__filtered__&&!t?new Ii(this):this.clone();return i.__filtered__?i.__takeCount__=Ft(n,i.__takeCount__):i.__views__.push({size:Ft(n,V),type:e+(i.__dir__<0?"Right":"")}),i},Ii.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),bn(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=n==k||n==E;Ii.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Wa(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),bn(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Ii.prototype[e]=function(){return this[n](1).value()[0]}})),bn(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Ii.prototype[e]=function(){return this.__filtered__?new Ii(this):this[n](1)}})),Ii.prototype.compact=function(){return this.filter(Dd)},Ii.prototype.find=function(e){return this.filter(e).head()},Ii.prototype.findLast=function(e){return this.reverse().find(e)},Ii.prototype.invokeMap=xo((function(e,t){return"function"==typeof e?new Ii(this):this.map((function(n){return Fr(n,e,t)}))})),Ii.prototype.reject=function(e){return this.filter(Vu(Wa(e)))},Ii.prototype.slice=function(e,t){e=Yc(e);var n=this;return n.__filtered__&&(e>0||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<e.length;a++){var s=e[a];r.isString(s)&&(s={name:s});var l=s.name;s.type=s.type||"float",s.coordDim||(s.coordDim=l,s.coordDimIndex=0),s.otherDims=s.otherDims||{},i.push(l),n[l]=s,s.index=a,s.createInvertedIndices&&(o[l]=[])}this.dimensions=i,this._dimensionInfos=n,this.hostModel=t,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=d(this),this._invertedIndicesMap=o,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},T=A.prototype;function D(e,t,n,i,r){var o=m[t.type],a=i-1,s=t.name,l=e[s][a];if(l&&l.length<n){for(var u=new o(Math.min(r-a*n,n)),c=0;c<l.length;c++)u[c]=l[c];e[s][a]=u}for(var h=i*n;h<r;h+=n)e[s].push(new o(Math.min(r-h,n)))}function P(e){var t=e._invertedIndicesMap;r.each(t,(function(n,i){var r=e._dimensionInfos[i],o=r.ordinalMeta;if(o){n=t[i]=new x(o.categories.length);for(var a=0;a<n.length;a++)n[a]=g;for(a=0;a<e._count;a++)n[e.get(i,a)]=a}}))}function C(e,t,n){var i;if(null!=t){var r=e._chunkSize,o=Math.floor(n/r),a=n%r,s=e.dimensions[t],l=e._storage[s][o];if(l){i=l[a];var u=e._dimensionInfos[s].ordinalMeta;u&&u.categories.length&&(i=u.categories[i])}}return i}function O(e){return e}function k(e){return e<this._count&&e>=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<n.length;s++){var l=n[s];a[l]&&(r.indexOf(t,l)>=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;n<e.length;n++)t[n]=w(e[n]);return t}function N(){return[1/0,-1/0]}T.type="list",T.hasItemOption=!0,T.getDimension=function(e){return"number"!==typeof e&&(isNaN(e)||this._dimensionInfos.hasOwnProperty(e))||(e=this.dimensions[e]),e},T.getDimensionInfo=function(e){return this._dimensionInfos[this.getDimension(e)]},T.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},T.mapDimension=function(e,t){var n=this._dimensionsSummary;if(null==t)return n.encodeFirstDimNotExtra[e];var i=n.encode[e];return!0===t?(i||[]).slice():i&&i[t]},T.initData=function(e,t,n){var i=s.isInstance(e)||r.isArrayLike(e);i&&(e=new c(e,this.dimensions.length)),this._rawData=e,this._storage={},this._indices=null,this._nameList=t||[],this._idList=[],this._nameRepeatCount={},n||(this.hasItemOption=!1),this.defaultDimValueGetter=u[this._rawData.getSource().sourceFormat],this._dimValueGetter=n=n||this.defaultDimValueGetter,this._dimValueGetterArrayRows=u.arrayRows,this._rawExtent={},this._initDataFromProvider(0,e.count()),e.pure&&(this.hasItemOption=!1)},T.getProvider=function(){return this._rawData},T.appendData=function(e){var t=this._rawData,n=this.count();t.appendData(e);var i=t.count();t.persistent||(i+=n),this._initDataFromProvider(n,i)},T.appendValues=function(e,t){for(var n=this._chunkSize,i=this._storage,r=this.dimensions,o=r.length,a=this._rawExtent,s=this.count(),l=s+Math.max(e.length,t?t.length:0),u=this._chunkCount,c=0;c<o;c++){var h=r[c];a[h]||(a[h]=N()),i[h]||(i[h]=[]),D(i,this._dimensionInfos[h],n,u,l),this._chunkCount=i[h].length}for(var d=new Array(o),f=s;f<l;f++){for(var p=f-s,g=Math.floor(f/n),v=f%n,m=0;m<o;m++){h=r[m];var y=this._dimValueGetterArrayRows(e[p]||d,h,p,m);i[h][g][v]=y;var x=a[h];y<x[0]&&(x[0]=y),y>x[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;p<s;p++){var g=a[p];h[g]||(h[g]=N());var v=l[g];0===v.otherDims.itemName&&(n=this._nameDimIdx=p),0===v.otherDims.itemId&&(this._idDimIdx=p),o[g]||(o[g]=[]),D(o,v,i,f,t),this._chunkCount=o[g].length}for(var m=new Array(s),y=e;y<t;y++){m=r.getItem(y,m);for(var x=Math.floor(y/i),_=y%i,b=0;b<s;b++){g=a[b];var w=o[g][x],S=this._dimValueGetter(m,g,y,b);w[_]=S;var M=h[g];S<M[0]&&(M[0]=S),S>M[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<n;i++)r[i]=e[i]}else r=new t(e.buffer,0,n)}else{t=b(this);var r=new t(this.count());for(i=0;i<r.length;i++)r[i]=i}return r},T.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var n=this._storage;if(!n[e])return NaN;t=this.getRawIndex(t);var i=Math.floor(t/this._chunkSize),r=t%this._chunkSize,o=n[e][i],a=o[r];return a},T.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var n=this._storage[e];if(!n)return NaN;var i=Math.floor(t/this._chunkSize),r=t%this._chunkSize,o=n[i];return o[r]},T._getFast=function(e,t){var n=Math.floor(t/this._chunkSize),i=t%this._chunkSize,r=this._storage[e][n];return r[i]},T.getValues=function(e,t){var n=[];r.isArray(e)||(t=e,e=this.dimensions);for(var i=0,o=e.length;i<o;i++)n.push(this.get(e[i],t));return n},T.hasValue=function(e){for(var t=this._dimensionsSummary.dataDimsOnCoord,n=0,i=t.length;n<i;n++)if(isNaN(this.get(t[n],e)))return!1;return!0},T.getDataExtent=function(e){e=this.getDimension(e);var t=this._storage[e],n=N();if(!t)return n;var i,r=this.count(),o=!this._indices;if(o)return this._rawExtent[e].slice();if(i=this._extent[e],i)return i.slice();i=n;for(var a=i[0],s=i[1],l=0;l<r;l++){var u=this._getFast(e,this.getRawIndex(l));u<a&&(a=u),u>s&&(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<r;i++){var o=this.get(e,i);isNaN(o)||(n+=o)}return n},T.getMedian=function(e){var t=[];this.each(e,(function(e,n){isNaN(e)||t.push(e)}));var n=[].concat(t).sort((function(e,t){return e-t})),i=this.count();return 0===i?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},T.rawIndexOf=function(e,t){var n=e&&this._invertedIndicesMap[e],i=n[t];return null==i||isNaN(i)?g:i},T.indexOfName=function(e){for(var t=0,n=this.count();t<n;t++)if(this.getName(t)===e)return t;return-1},T.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&n<this._count&&n===e)return e;var i=0,r=this._count-1;while(i<=r){var o=(i+r)/2|0;if(t[o]<e)i=o+1;else{if(!(t[o]>e))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<u;l++){var c=t-this.get(e,l),h=Math.abs(c);c<=n&&h<=a&&((h<a||c>=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<this.dimensions.length;n++){var i=this.dimensions[n];t.push(this.get(i,e))}return t},T.getName=function(e){var t=this.getRawIndex(e);return this._nameList[t]||C(this,this._nameDimIdx,t)||""},T.getId=function(e){return L(this,this.getRawIndex(e))},T.each=function(e,t,n,i){"use strict";if(this._count){"function"===typeof e&&(i=n,n=t,t=e,e=[]),n=n||i||this,e=r.map(E(e),this.getDimension,this);for(var o=e.length,a=0;a<this.count();a++)switch(o){case 0:t.call(n,a);break;case 1:t.call(n,this.get(e[0],a),a);break;case 2:t.call(n,this.get(e[0],a),this.get(e[1],a),a);break;default:for(var s=0,l=[];s<o;s++)l[s]=this.get(e[s],a);l[s]=a,t.apply(n,l)}}},T.filterSelf=function(e,t,n,i){"use strict";if(this._count){"function"===typeof e&&(i=n,n=t,t=e,e=[]),n=n||i||this,e=r.map(E(e),this.getDimension,this);for(var o=this.count(),a=b(this),s=new a(o),l=[],u=e.length,c=0,h=e[0],d=0;d<o;d++){var f,p=this.getRawIndex(d);if(0===u)f=t.call(n,d);else if(1===u){var g=this._getFast(h,p);f=t.call(n,g,d)}else{for(var v=0;v<u;v++)l[v]=this._getFast(h,p);l[v]=d,f=t.apply(n,l)}f&&(s[c++]=p)}return c<o&&(this._indices=s),this._count=c,this._extent={},this.getRawIndex=this._indices?k:O,this}},T.selectRange=function(e){"use strict";if(this._count){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);var i=t.length;if(i){var r=this.count(),o=b(this),a=new o(r),s=0,l=t[0],u=e[l][0],c=e[l][1],h=!1;if(!this._indices){var d=0;if(1===i){for(var f=this._storage[t[0]],p=0;p<this._chunkCount;p++)for(var g=f[p],v=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<v;m++){var y=g[m];(y>=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<this._chunkCount;p++){g=f[p];var S=x[p];for(v=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<v;m++){y=g[m];var M=S[m];(y>=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<r;m++){var I=this.getRawIndex(m);y=this._getFast(l,I);(y>=u&&y<=c||isNaN(y))&&(a[s++]=I)}else for(m=0;m<r;m++){var A=!0;for(I=this.getRawIndex(m),p=0;p<i;p++){var T=t[p];y=this._getFast(n,I);(y<e[T][0]||y>e[T][1])&&(A=!1)}A&&(a[s++]=this.getRawIndex(m))}return s<r&&(this._indices=a),this._count=s,this._extent={},this.getRawIndex=this._indices?k:O,this}}},T.mapArray=function(e,t,n,i){"use strict";"function"===typeof e&&(i=n,n=t,t=e,e=[]),n=n||i||this;var r=[];return this.each(e,(function(){r.push(t&&t.apply(this,arguments))}),n),r},T.map=function(e,t,n,i){"use strict";n=n||i||this,e=r.map(E(e),this.getDimension,this);var o=R(this,e);o._indices=this._indices,o.getRawIndex=o._indices?k:O;for(var a=o._storage,s=[],l=this._chunkSize,u=e.length,c=this.count(),h=[],d=o._rawExtent,f=0;f<c;f++){for(var p=0;p<u;p++)h[p]=this.get(e[p],f);h[u]=f;var g=t&&t.apply(n,h);if(null!=g){"object"!==typeof g&&(s[0]=g,g=s);for(var v=this.getRawIndex(f),m=Math.floor(v/l),y=v%l,x=0;x<g.length;x++){var _=e[x],b=g[x],w=d[_],S=a[_];S&&(S[m][y]=b),b<w[0]&&(w[0]=b),b>w[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;p<u;p+=s){s>u-p&&(s=u-p,a.length=s);for(var g=0;g<s;g++){var v=this.getRawIndex(p+g),m=Math.floor(v/c),y=v%c;a[g]=l[m][y]}var x=n(a),_=this.getRawIndex(Math.min(p+i(a,x)||0,u-1)),w=Math.floor(_/c),S=_%c;l[w][S]=x,x<h[0]&&(h[0]=x),x>h[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<e.length;r++){var o=e[r]||{};if(d(o[i+"AxisId"],n.id)||d(o[i+"AxisIndex"],n.componentIndex)||d(o[i+"AxisName"],n.name))return r}}function d(e,t){return"all"===e||i.isArray(e)&&i.indexOf(e,t)>=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]),a<l[0]&&(a=l[0]),r.value=a,s&&(r.status=t.axis.scale.isBlank()?"hide":"show")}}function p(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[m(e)]}function g(e){var t=p(e);return t&&t.axisPointerModel}function v(e){return!!e.get("handle.show")}function m(e){return e.type+"||"+e.id}t.collect=s,t.fixValue=f,t.getAxisInfo=p,t.getAxisPointerModel=g,t.makeKey=m},"3c26":function(e,t,n){var i=n("dbbd"),r=i.min,o=i.max,a=i.scale,s=i.distance,l=i.add,u=i.clone,c=i.sub;function h(e,t,n,i){var h,d,f,p,g=[],v=[],m=[],y=[];if(i){f=[1/0,1/0],p=[-1/0,-1/0];for(var x=0,_=e.length;x<_;x++)r(f,f,e[x]),o(p,p,e[x]);r(f,f,i[0]),o(p,p,i[1])}for(x=0,_=e.length;x<_;x++){var b=e[x];if(n)h=e[x?x-1:_-1],d=e[(x+1)%_];else{if(0===x||x===_-1){g.push(u(e[x]));continue}h=e[x-1],d=e[x+1]}c(v,d,h),a(v,v,t);var w=s(b,h),S=s(b,d),M=w+S;0!==M&&(w/=M,S/=M),a(m,v,-w),a(y,v,S);var I=l([],b,m),A=l([],b,y);i&&(o(I,I,f),r(I,I,p),o(A,A,f),r(A,A,p)),g.push(I),g.push(A)}return n&&g.push(g.shift()),g}e.exports=h},"3d3c":function(e,t,n){var i=n("ed3e"),r=i.quadraticProjectPoint;function o(e,t,n,i,o,a,s,l,u){if(0===s)return!1;var c=s;if(u>t+c&&u>i+c&&u>a+c||u<t-c&&u<i-c&&u<a-c||l>e+c&&l>n+c&&l>o+c||l<e-c&&l<n-c&&l<o-c)return!1;var h=r(e,t,n,i,o,a,l,u,null);return h<=c/2}t.containStroke=o},"3e28":function(e,t,n){var i=n("e1d0"),r=i.extend({type:"dataZoom",render:function(e,t,n,i){this.dataZoomModel=e,this.ecModel=t,this.api=n},getTargetCoordInfo:function(){var e=this.dataZoomModel,t=this.ecModel,n={};function i(e,t,n,i){for(var r,o=0;o<n.length;o++)if(n[o].model===e){r=n[o];break}r||n.push(r={model:e,axisModels:[],coordIndex:i}),r.axisModels.push(t)}return e.eachTargetAxis((function(e,r){var o=t.getComponent(e.axis,r);if(o){var a=o.getCoordSysModel();a&&i(a,o,n[a.mainType]||(n[a.mainType]=[]),a.componentIndex)}}),this),n}});e.exports=r},"3e3a":function(e,t,n){n("0e38"),n("bde7")},"3e88":function(e,t,n){var i=n("a4bb"),r=i.isDimensionStacked,o=n("cbe1"),a=o.map;function s(e,t,n){var i,o=e.getBaseAxis(),s=e.getOtherAxis(o),u=l(s,n),c=o.dim,h=s.dim,d=t.mapDimension(h),f=t.mapDimension(c),p="x"===h||"radius"===h?1:0,g=a(e.dimensions,(function(e){return t.mapDimension(e)})),v=t.getCalculationInfo("stackResultDimension");return(i|=r(t,g[0]))&&(g[0]=v),(i|=r(t,g[1]))&&(g[1]=v),{dataDimsForPoint:g,valueStart:u,valueAxisDim:h,baseAxisDim:c,stacked:!!i,valueDim:d,baseDim:f,baseDataOffset:p,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function l(e,t){var n=0,i=e.scale.getExtent();return"start"===t?n=i[0]:"end"===t?n=i[1]:i[0]>0?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;v<g;++v){r=d[v]*f,e.setItemLayout(a[0].indices[v],{layerIndex:0,x:c[0][v][0],y0:r,y:c[0][v][1]*f});for(var m=1;m<p;++m)r+=c[m-1][v][1]*f,e.setItemLayout(a[m].indices[v],{layerIndex:m,x:c[m][v][0],y0:r,y:c[m][v][1]*f})}}function s(e){for(var t=e.length,n=e[0].length,i=[],r=[],o=0,a={},s=0;s<n;++s){for(var l=0,u=0;l<t;++l)u+=e[l][s][1];u>o&&(o=u),i.push(u)}for(var c=0;c<n;++c)r[c]=(o-i[c])/2;o=0;for(var h=0;h<n;++h){var d=i[h]+r[h];d>o&&(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=[];s<e.end;s++){var d;if(1===l){var f=t.get(a[0],s);d=!isNaN(f)&&n.dataToPoint(f,null,h)}else{f=c[0]=t.get(a[0],s);var p=c[1]=t.get(a[1],s);d=!isNaN(f)&&!isNaN(p)&&n.dataToPoint(c,null,h)}o?(r[u++]=d?d[0]:NaN,r[u++]=d?d[1]:NaN):t.setItemLayout(s,d&&d.slice()||[NaN,NaN])}o&&t.setLayout("symbolPoints",r)}}}}e.exports=l},"44e7":function(e,t,n){var i=n("861d"),r=n("c6b6"),o=n("b622"),a=o("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==r(e))}},"45c5":function(e,t){function n(e,t,n,i,r,o){if(o>t&&o>i||o<t&&o<i)return 0;if(i===t)return 0;var a=i<t?1:-1,s=(o-t)/(i-t);1!==s&&0!==s||(a=i<t?.5:-.5);var l=s*(n-e)+e;return l===r?1/0:l>r?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;o<n;o++){var a=e[0]+r*o;if(a>e[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[0]&&(u[0]=-1/0),s[1]>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},"46ce":function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},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<e.length;n++)e[n]&&e[n].label&&h.defaultEmphasis(e[n],"label",t)},getInitialData:function(){},appendData:function(e){var t=this.getRawData();t.appendData(e.data)},getData:function(e){var t=E(this);if(t){var n=t.context.data;return null==e?n:n.getLinkedData(e)}return I(this).data},setData:function(e){var t=E(this);if(t){var n=t.context;n.data!==e&&t.modifyOutputEnd&&t.setOutputEnd(e.count()),n.outputData=e,t!==this.dataTask&&(n.data=e)}I(this).data=e},getSource:function(){return w(this)},getRawData:function(){return I(this).dataBeforeProcessed},getBaseAxis:function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},formatTooltip:function(e,t,n,i){var o=this;i=i||"html";var a="html"===i?"<br/>":"\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":"<br/>":"",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},"47ea":function(e,t,n){},"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"))},"48b9":function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n("c8ba"))},"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;p<c.length;p++)c[p].done(d).start(r,l)}function f(e,t,n,i,r,o,a){var s={},c=0;for(var h in i)i.hasOwnProperty(h)&&(null!=n[h]?l(i[h])&&!u(i[h])?f(e,t?t+"."+h:h,n[h],i[h],r,o,a):(a?(s[h]=n[h],p(e,t,h,i[h])):s[h]=i[h],c++):null==i[h]||a||p(e,t,h,i[h]));c>0&&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<d;h++)u&&(u=u[l[h]]);u&&(n=u)}else n=a;if(n){var f=a.animators,p=new i(n,t);return p.during((function(e){a.dirty(o)})).done((function(){f.splice(c(f,p),1)})),f.push(p),s&&s.animation.addAnimator(p),p}r('Property "'+e+'" is not existed in element '+a.id)},stopAnimation:function(e){for(var t=this.animators,n=t.length,i=0;i<n;i++)t[i].stop(e);return t.length=0,this},animateTo:function(e,t,n,i,r,o){d(this,e,t,n,i,r,o)},animateFrom:function(e,t,n,i,r,o){d(this,e,t,n,i,r,o,!0)}};var g=h;e.exports=g},4984:function(e,t,n){var i=n("3bad"),r=i.circularLayout;function o(e){e.eachSeriesByType("graph",(function(e){"circular"===e.get("layout")&&r(e,"symbolSize")}))}e.exports=o},"49c8":function(e,t,n){var i=n("cbe1"),r=n("55ba"),o=r.parsePercent,a=n("a4bb"),s=a.isDimensionStacked;function l(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function u(e,t){return t.dim+e.model.componentIndex}function c(e,t,n){var r={},o=h(i.filter(t.getSeriesByType(e),(function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type})));t.eachSeriesByType(e,(function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),n=e.coordinateSystem,i=n.getBaseAxis(),a=u(n,i),c=l(e),h=o[a][c],d=h.offset,f=h.width,p=n.getOtherAxis(i),g=e.coordinateSystem.cx,v=e.coordinateSystem.cy,m=e.get("barMinHeight")||0,y=e.get("barMinAngle")||0;r[c]=r[c]||[];for(var x=t.mapDimension(p.dim),_=t.mapDimension(i.dim),b=s(t,x),w="radius"!==i.dim||!e.get("roundCap",!0),S=p.getExtent()[0],M=0,I=t.count();M<I;M++){var A=t.get(x,M),T=t.get(_,M);if(!isNaN(A)){var D,P,C,O,k=A>=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)<m&&(E=(E<0?-1:1)*m),D=L,P=L+E,C=R-d,O=C-f,b&&(r[c][T][k]=P)}else{var z=p.dataToAngle(A,w)-S,N=i.dataToRadius(T);Math.abs(z)<y&&(z=(z<0?-1:1)*y),D=N+d,P=D+f,C=L,O=L+z,b&&(r[c][T][k]=O)}t.setItemLayout(M,{cx:g,cy:v,r0:D,r:P,startAngle:-C*Math.PI/180,endAngle:-O*Math.PI/180})}}}}),this)}function h(e,t){var n={};i.each(e,(function(e,t){var i=e.getData(),r=e.coordinateSystem,a=r.getBaseAxis(),s=u(r,a),c=a.getExtent(),h="category"===a.type?a.getBandWidth():Math.abs(c[1]-c[0])/i.count(),d=n[s]||{bandWidth:h,remainedWidth:h,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},f=d.stacks;n[s]=d;var p=l(e);f[p]||d.autoWidthCount++,f[p]=f[p]||{width:0,maxWidth:0};var g=o(e.get("barWidth"),h),v=o(e.get("barMaxWidth"),h),m=e.get("barGap"),y=e.get("barCategoryGap");g&&!f[p].width&&(g=Math.min(d.remainedWidth,g),f[p].width=g,d.remainedWidth-=g),v&&(f[p].maxWidth=v),null!=m&&(d.gap=m),null!=y&&(d.categoryGap=y)}));var r={};return i.each(n,(function(e,t){r[t]={};var n=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(n,(function(e,t){var n=e.maxWidth;n&&n<h&&(n=Math.min(n,u),e.width&&(n=Math.min(n,e.width)),u-=n,e.width=n,c--)})),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var d,f=0;i.each(n,(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(n,(function(e,n){r[t][n]=r[t][n]||{offset:p,width:e.width},p+=e.width*(1+l)}))})),r}var d=c;e.exports=d},"4a90":function(e,t,n){var i=n("b895"),r=n("3c26");function o(e,t,n){var o=t.points,a=t.smooth;if(o&&o.length>=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;u<f;u++)e.lineTo(o[u][0],o[u][1])}n&&e.closePath()}}t.buildPath=o},"4ab9":function(e,t,n){var i=n("333f");n("c863"),n("51a7"),n("a2fd");var r=n("91ad"),o=n("66cc");i.registerLayout(r),i.registerVisual(o)},"4ac2":function(e,t,n){var i=n("1bb8"),r=n("ea25"),o=r.onIrrelevantElement,a=n("2dda");function s(e){return e=c(e),function(t,n){return a.clipPointsByRect(t,e)}}function l(e,t){return e=c(e),function(n){var i=null!=t?t:n,r=i?e.width:e.height,o=i?e.x:e.y;return[o,o+(r||0)]}}function u(e,t,n){return e=c(e),function(i,r,a){return e.contain(r[0],r[1])&&!o(i,t,n)}}function c(e){return i.create(e)}t.makeRectPanelClipPath=s,t.makeLinearBrushOtherExtent=l,t.makeRectIsTargetByCursor=u},"4ae0":function(e,t,n){var i=n("cbe1"),r=n("d207"),o=n("55ba");function a(e){return isNaN(e)?"-":(e=(e+"").split("."),e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};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<o.length;a++){var s=d[a];e=e.replace(f(s),f(s,0))}for(var l=0;l<r;l++)for(var u=0;u<o.length;u++){var c=t[l][o[u]];e=e.replace(f(d[u],l),n?h(c):c)}return e}function g(e,t,n){return i.each(t,(function(t,i){e=e.replace("{"+i+"}",n?h(t):t)})),e}function v(e,t){e=i.isString(e)?{color:e,extraCssText:t}:e||{};var n=e.color,r=e.type,o=(t=e.extraCssText,e.renderMode||"html"),a=e.markerId||"X";return n?"html"===o?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+h(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+h(n)+";"+(t||"")+'"></span>':{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)}})},"4e60":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;i<t.ends.length;i++)if(e.contain(t.ends[i][0],t.ends[i][1])){n=!1;break}return n}function v(e,t,n,i){var r=t.getItemModel(n),a=r.getModel(u),s=t.getItemVisual(n,"color"),l=t.getItemVisual(n,"borderColor")||s,d=a.getItemStyle(h);e.useStyle(d),e.style.strokeNoScale=!0,e.style.fill=s,e.style.stroke=l,e.__simpleBox=i;var f=r.getModel(c).getItemStyle();o.setHoverStyle(e,f)}function m(e,t){return i.map(e,(function(e){return e=e.slice(),e[1]=t.initBaseline,e}))}var y=a.extend({type:"largeCandlestickBox",shape:{},buildPath:function(e,t){for(var n=t.points,i=0;i<n.length;)if(this.__sign===n[i++]){var r=n[i++];e.moveTo(r,n[i++]),e.lineTo(r,n[i++])}else i+=3}});function x(e,t,n){var i=e.getData(),r=i.getLayout("largePoints"),o=new y({shape:{points:r},__sign:1});t.add(o);var a=new y({shape:{points:r},__sign:-1});t.add(a),_(1,o,e,i),_(-1,a,e,i),n&&(o.incremental=!0,a.incremental=!0)}function _(e,t,n,i){var r=e>0?"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.startAngle<t.endAngle,u=!n&&s?v:a.Sector,c=new u({shape:o.defaults({clockwise:l},t)});if(i){var h=c.shape,d=n?"r":"endAngle",f={};h[d]=n?0:t.startAngle,f[d]=t[d],a[r?"updateProps":"initProps"](c,{shape:f},i,e)}return c}};function I(e,t,n){n.style.text=null,a.updateProps(n,{shape:{width:0}},t,e,(function(){n.parent&&n.parent.remove(n)}))}function A(e,t,n){n.style.text=null,a.updateProps(n,{shape:{r:n.shape.r0}},t,e,(function(){n.parent&&n.parent.remove(n)}))}var T={cartesian2d:function(e,t,n){var i=e.getItemLayout(t),r=P(n,i),o=i.width>0?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<n.length;o+=2)i[r]=n[o+r],e.moveTo(i[0],i[1]),e.lineTo(n[o],n[o+1])}});function O(e,t,n){var i=e.getData(),r=[],o=i.getLayout("valueAxisHorizontal")?1:0;r[1-o]=i.getLayout("valueAxisStart");var a=new C({shape:{points:i.getLayout("largePoints")},incremental:!!n,__startPoint:r,__baseDimIdx:o,__largeDataIndices:i.getLayout("largeDataIndices"),__barWidth:i.getLayout("barWidth")});t.add(a),E(a,e,i),a.seriesIndex=e.seriesIndex,e.get("silent")||(a.on("mousedown",k),a.on("mousemove",k))}var k=f((function(e){var t=this,n=L(t,e.offsetX,e.offsetY);t.dataIndex=n>=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<p;f++){var g=2*f,v=o[g+i],m=o[g+r];if(v>=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();i<n.length;i++)e.moveTo(n[i][0],n[i][1]),i++,e.lineTo(n[i][0],n[i][1])}});function h(e,t,n,i,r){var o=e.ends,a=new c({shape:{points:r?f(o,i,e):o}});return d(e,a,t,n,r),a}function d(e,t,n,i,r){var a=n.hostModel,u=o[r?"initProps":"updateProps"];u(t,{shape:{points:e.ends}},a,i);var c=n.getItemModel(i),h=c.getModel(s),d=n.getItemVisual(i,"color"),f=h.getItemStyle(["borderColor"]);f.stroke=d,f.strokeNoScale=!0,t.useStyle(f),t.z2=100;var p=c.getModel(l).getItemStyle();o.setHoverStyle(t,p)}function f(e,t,n){return i.map(e,(function(e){return e=e.slice(),e[t]=n.initBaseline,e}))}var p=u;e.exports=p},"51a7":function(e,t,n){var i=n("2dda"),r=n("333f"),o=n("cbe1"),a=["itemStyle","opacity"],s=["lineStyle","opacity"];function l(e,t){return e.getVisual("opacity")||e.getModel().get(t)}function u(e,t,n){var i=e.getGraphicEl(),r=l(e,t);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",r)}))}function c(e,t){var n=l(e,t),i=e.getGraphicEl();i.highlight&&i.highlight(),i.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",n)}))}var h=i.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(e,t){var n=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),"vertical"===t.orient?(e.lineTo(t.x2+n,t.y2),e.bezierCurveTo(t.cpx2+n,t.cpy2,t.cpx1+n,t.cpy1,t.x1+n,t.y1)):(e.lineTo(t.x2,t.y2+n),e.bezierCurveTo(t.cpx2,t.cpy2+n,t.cpx1,t.cpy1+n,t.x1,t.y1+n)),e.closePath()}}),d=r.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(e,t,n){var r=this,o=e.getGraph(),a=this.group,s=e.layoutInfo,l=s.width,u=s.height,c=e.getData(),d=e.getData("edge"),p=e.get("orient");this._model=e,a.removeAll(),a.attr("position",[s.x,s.y]),o.eachEdge((function(t){var n=new h;n.dataIndex=t.dataIndex,n.seriesIndex=e.seriesIndex,n.dataType="edge";var r,o,s,c,f,g,v,m,y=t.getModel("lineStyle"),x=y.get("curveness"),_=t.node1.getLayout(),b=t.node1.getModel(),w=b.get("localX"),S=b.get("localY"),M=t.node2.getLayout(),I=t.node2.getModel(),A=I.get("localX"),T=I.get("localY"),D=t.getLayout();switch(n.shape.extent=Math.max(1,D.dy),n.shape.orient=p,"vertical"===p?(r=(null!=w?w*l:_.x)+D.sy,o=(null!=S?S*u:_.y)+_.dy,s=(null!=A?A*l:M.x)+D.ty,c=null!=T?T*u:M.y,f=r,g=o*(1-x)+c*x,v=s,m=o*x+c*(1-x)):(r=(null!=w?w*l:_.x)+_.dx,o=(null!=S?S*u:_.y)+D.sy,s=null!=A?A*l:M.x,c=(null!=T?T*u:M.y)+D.ty,f=r*(1-x)+s*x,g=o,v=r*x+s*(1-x),m=c),n.setShape({x1:r,y1:o,x2:s,y2:c,cpx1:f,cpy1:g,cpx2:v,cpy2:m}),n.setStyle(y.getItemStyle()),n.style.fill){case"source":n.style.fill=t.node1.getVisual("color");break;case"target":n.style.fill=t.node2.getVisual("color");break}i.setHoverStyle(n,t.getModel("emphasis.lineStyle").getItemStyle()),a.add(n),d.setItemGraphicEl(t.dataIndex,n)})),o.eachNode((function(t){var n=t.getLayout(),r=t.getModel(),o=r.get("localX"),s=r.get("localY"),h=r.getModel("label"),d=r.getModel("emphasis.label"),f=new i.Rect({shape:{x:null!=o?o*l:n.x,y:null!=s?s*u:n.y,width:n.dx,height:n.dy},style:r.getModel("itemStyle").getItemStyle()}),p=t.getModel("emphasis.itemStyle").getItemStyle();i.setLabelStyle(f.style,p,h,d,{labelFetcher:e,labelDataIndex:t.dataIndex,defaultText:t.id,isRectText:!0}),f.setStyle("fill",t.getVisual("color")),i.setHoverStyle(f,p),a.add(f),c.setItemGraphicEl(t.dataIndex,f),f.dataType="node"})),c.eachItemGraphicEl((function(t,i){var o=c.getItemModel(i);o.get("draggable")&&(t.drift=function(t,o){r._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(i),localX:this.shape.x/l,localY:this.shape.y/u})},t.ondragend=function(){r._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move"),o.get("focusNodeAdjacency")&&(t.off("mouseover").on("mouseover",(function(){r._focusAdjacencyDisabled||n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})})),t.off("mouseout").on("mouseout",(function(){r._focusAdjacencyDisabled||n.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})})))})),d.eachItemGraphicEl((function(t,i){var o=d.getItemModel(i);o.get("focusNodeAdjacency")&&(t.off("mouseover").on("mouseover",(function(){r._focusAdjacencyDisabled||n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex})})),t.off("mouseout").on("mouseout",(function(){r._focusAdjacencyDisabled||n.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})})))})),!this._data&&e.get("animation")&&a.setClipPath(f(a.getBoundingRect(),e,(function(){a.removeClipPath()}))),this._data=e.getData()},dispose:function(){},focusNodeAdjacency:function(e,t,n,i){var r=this._model.getData(),l=r.graph,h=i.dataIndex,d=r.getItemModel(h),f=i.edgeDataIndex;if(null!=h||null!=f){var p=l.getNodeByIndex(h),g=l.getEdgeByIndex(f);if(l.eachNode((function(e){u(e,a,.1)})),l.eachEdge((function(e){u(e,s,.1)})),p){c(p,a);var v=d.get("focusNodeAdjacency");"outEdges"===v?o.each(p.outEdges,(function(e){e.dataIndex<0||(c(e,s),c(e.node2,a))})):"inEdges"===v?o.each(p.inEdges,(function(e){e.dataIndex<0||(c(e,s),c(e.node1,a))})):"allEdges"===v&&o.each(p.edges,(function(e){e.dataIndex<0||(c(e,s),c(e.node1,a),c(e.node2,a))}))}g&&(c(g,s),c(g.node1,a),c(g.node2,a))}},unfocusNodeAdjacency:function(e,t,n,i){var r=this._model.getGraph();r.eachNode((function(e){u(e,a)})),r.eachEdge((function(e){u(e,s)}))}});function f(e,t,n){var r=new i.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return i.initProps(r,{shape:{width:e.width+20,height:e.height+20}},t,n),r}e.exports=d},5283:function(e,t,n){var i=n("cbe1"),r=n("9e85"),o=n("09a0"),a=r.prototype,s=r.extend({type:"ordinal",init:function(e,t){e&&!i.isArray(e)||(e=new o({categories:e})),this._ordinalMeta=e,this._extent=t||[0,e.categories.length-1]},parse:function(e){return"string"===typeof e?this._ordinalMeta.getOrdinal(e):Math.round(e)},contain:function(e){return e=this.parse(e),a.contain.call(this,e)&&null!=this._ordinalMeta.categories[e]},normalize:function(e){return a.normalize.call(this,this.parse(e))},scale:function(e){return Math.round(a.scale.call(this,e))},getTicks:function(){var e=[],t=this._extent,n=t[0];while(n<=t[1])e.push(n),n++;return e},getLabel:function(e){if(!this.isBlank())return this._ordinalMeta.categories[e]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(e,t){this.unionExtent(e.getApproximateExtent(t))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:i.noop,niceExtent:i.noop});s.create=function(){return new s};var l=s;e.exports=l},"528c":function(e,t,n){var i=n("333f");n("f7d2"),n("c79c"),n("13d8");var r=n("68a7"),o=n("259b");i.registerVisual(r("tree","circle")),i.registerLayout(o)},"54ae":function(e,t,n){var i=n("cbe1"),r=i.each,o=i.map,a=i.isFunction,s=i.createHashMap,l=i.noop,u=n("bfd2"),c=u.createTask,h=n("4620"),d=h.getUID,f=n("f254"),p=n("2360"),g=n("5c3e"),v=g.normalizeToArray;function m(e,t,n,i){this.ecInstance=e,this.api=t,this.unfinished;n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice();this._allHandlers=n.concat(i),this._stageTaskMap=s()}var y=m.prototype;function x(e,t,n,i,o){var a;function s(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}o=o||{},r(t,(function(t,r){if(!o.visualType||o.visualType===t.visualType){var l=e._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,d=c.agentStubMap;d.each((function(e){s(o,e)&&(e.dirty(),h=!0)})),h&&c.dirty(),_(c,i);var f=e.getPerformArgs(c,o.block);d.each((function(e){e.perform(f)})),a|=c.perform(f)}else u&&u.each((function(r,l){s(o,r)&&r.dirty();var u=e.getPerformArgs(r,o.block);u.skip=!t.performRawSeries&&n.isSeriesFiltered(r.context.model),_(r,i),a|=r.perform(u)}))}})),e.unfinished|=a}y.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each((function(e){var t=e.overallTask;t&&t.dirty()}))},y.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),i=n.context,r=!t&&n.progressiveEnabled&&(!i||i.progressiveRender)&&e.__idxInPipeline>n.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<t.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(t,i)}}function O(e){return e.data.count()}function k(e,t,n){var i=t.uid,r=e._pipelineMap.get(i);!r.head&&(r.head=n),r.tail&&r.tail.pipe(n),r.tail=n,n.__idxInPipeline=r.count++,n.__pipeline=r}function L(e){E=null;try{e(R,z)}catch(t){}return E}m.wrapStageHandler=function(e,t){return a(e)&&(e={overallReset:e,seriesType:L(e)}),e.uid=d("stageHandler"),t&&(e.visualType=t),e};var E,R={},z={};function N(e,t){for(var n in t.prototype)e[n]=l}N(R,f),N(z,p),R.eachSeriesByType=R.eachRawSeriesByType=function(e){E=e},R.eachComponent=function(e){"series"===e.mainType&&e.subType&&(E=e.subType)};var B=m;e.exports=B},"550f":function(e,t,n){var i=n("cbe1"),r=n("55ba"),o=n("4ae0"),a=n("aada"),s=n("9fb1"),l=s.prototype,u=Math.ceil,c=Math.floor,h=1e3,d=60*h,f=60*d,p=24*f,g=function(e,t,n,i){while(n<i){var r=n+i>>>1;e[r][1]<t?n=r+1:i=r}return n},v=s.extend({type:"time",getLabel:function(e){var t=this._stepLvl,n=new Date(e);return o.formatTime(t[0],n,this.getSetting("useUTC"))},niceExtent:function(e){var t=this._extent;if(t[0]===t[1]&&(t[0]-=p,t[1]+=p),t[1]===-1/0&&t[0]===1/0){var n=new Date;t[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),t[0]=t[1]-p}this.niceTicks(e.splitNumber,e.minInterval,e.maxInterval);var i=this._interval;e.fixMin||(t[0]=r.round(c(t[0]/i)*i)),e.fixMax||(t[1]=r.round(u(t[1]/i)*i))},niceTicks:function(e,t,n){e=e||10;var i=this._extent,o=i[1]-i[0],s=o/e;null!=t&&s<t&&(s=t),null!=n&&s>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(u<s){for(var h=Number.NEGATIVE_INFINITY,d=null,f=0,p=c.length;f<p;++f)c[f]>h&&(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<r}var m=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function y(e){if(e instanceof Date)return e;if("string"===typeof e){var t=m.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(n-=t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,+t[7]||0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,+t[7]||0)}return null==e?new Date(NaN):new Date(Math.round(e))}function x(e){return Math.pow(10,_(e))}function _(e){if(0===e)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=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<e.length;){for(var r=e[i].interval,o=e[i].close,a=0;a<2;a++)r[a]<=t&&(r[a]=t,o[a]=a?1:1-n),t=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!==1?e.splice(i,1):i++}return e;function s(e,t,n){return e.interval[n]<t.interval[n]||e.interval[n]===t.interval[n]&&(e.close[n]-t.close[n]===(n?-1:1)||!n&&s(e,t,1))}}function M(e){return e-parseFloat(e)>=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("<zrvml:"+e+' class="zrvml">')}}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(t<c){var n,i=e.get("name"),r="series."+(o>1?"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<s.count();h++)if(h<l){var f=s.getName(h),v=a(s,h);u.push(p(g(f?"data.withName":"data.withoutName"),{name:f,value:v}))}n+=u.join(g("data.separator.middle"))+g("data.separator.end"),d.push(n)}})),s+=d.join(g("series.multiple.separator.middle"))+g("series.multiple.separator.end"),e.setAttribute("aria-label",s)}}function p(e,t){if("string"!==typeof e)return e;var n=e;return i.each(t,(function(e,t){n=n.replace(new RegExp("\\{\\s*"+t+"\\s*\\}","g"),e)})),n}function g(e){var t=n.get(e);if(null==t){for(var i=e.split("."),o=r.aria,a=0;a<i.length;++a)o=o[i[a]];return o}return t}function v(){var e=t.getModel("title").option;return e&&e.length&&(e=e[0]),e&&e.text}function m(e){return r.series.typeNames[e]||"自定义图"}}e.exports=s},5670:function(e,t,n){n("804a"),n("b8e1"),n("3e28"),n("3f25"),n("3b01"),n("ec5f"),n("d92d")},5831:function(e,t,n){var i=n("333f"),r=n("cbe1");i.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(e,t){var n=t.getComponent("timeline");return n&&null!=e.currentIndex&&(n.setCurrentIndex(e.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),t.resetOption("timeline"),r.defaults({currentIndex:n.option.currentIndex},e)})),i.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(e,t){var n=t.getComponent("timeline");n&&null!=e.playState&&n.setPlayState(e.playState)}))},5866:function(e,t){function n(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var i=e.getData();i.filterSelf((function(e){for(var t=i.getName(e),r=0;r<n.length;r++)if(!n[r].isSelected(t))return!1;return!0}))}}}}e.exports=n},5899:function(e,t){e.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},"58a8":function(e,t,n){var i=n("1d80"),r=n("5899"),o="["+r+"]",a=RegExp("^"+o+o+"*"),s=RegExp(o+o+"*$"),l=function(e){return function(t){var n=String(i(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},"58cc":function(e,t,n){var i=n("cbe1"),r=i.each;function o(e){var t=e&&e.visualMap;i.isArray(t)||(t=t?[t]:[]),r(t,(function(e){if(e){a(e,"splitList")&&!a(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&i.isArray(t)&&r(t,(function(e){i.isObject(e)&&(a(e,"start")&&!a(e,"min")&&(e.min=e.start),a(e,"end")&&!a(e,"max")&&(e.max=e.end))}))}}))}function a(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}e.exports=o},5926:function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("11a2"),a=n("de7a"),s=n("be69"),l=a.toolbox.dataView,u=new Array(60).join("-"),c="\t";function h(e){var t={},n=[],i=[];return e.eachRawSeries((function(e){var r=e.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(e);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;t[a]||(t[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),t[a].series.push(e)}else n.push(e)}})),{seriesGroupByCategoryAxis:t,other:n,meta:i}}function d(e){var t=[];return r.each(e,(function(e,n){var i=e.categoryAxis,o=e.valueAxis,a=o.dim,s=[" "].concat(r.map(e.series,(function(e){return e.name}))),l=[i.model.getCategories()];r.each(e.series,(function(e){l.push(e.getRawData().mapArray(a,(function(e){return e})))}));for(var u=[s.join(c)],h=0;h<l[0].length;h++){for(var d=[],f=0;f<l.length;f++)d.push(l[f][h]);u.push(d.join(c))}t.push(u.join("\n"))})),t.join("\n\n"+u+"\n\n")}function f(e){return r.map(e,(function(e){var t=e.getRawData(),n=[e.name],i=[];return t.each(t.dimensions,(function(){for(var e=arguments.length,r=arguments[e-1],o=t.getName(r),a=0;a<e-1;a++)i[a]=arguments[a];n.push((o?o+c:"")+i.join(c))})),n.join("\n")})).join("\n\n"+u+"\n\n")}function p(e){var t=h(e);return{value:r.filter([d(t.seriesGroupByCategoryAxis),f(t.other)],(function(e){return e.replace(/[\n\t\s]/g,"")})).join("\n\n"+u+"\n\n"),meta:t.meta}}function g(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function v(e){var t=e.slice(0,e.indexOf("\n"));if(t.indexOf(c)>=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;a<t.length;a++){var s=g(t[a]).split(m);i.push(s.shift());for(var l=0;l<s.length;l++)o[l]&&(o[l].data[a]=s[l])}return{series:o,categories:i}}function x(e){for(var t=e.split(/\n+/g),n=g(t.shift()),i=[],r=0;r<t.length;r++){var o,a=g(t[r]).split(m),s="",l=!1;isNaN(a[0])?(l=!0,s=a[0],a=a.slice(1),i[r]={name:s,value:[]},o=i[r].value):o=i[r]=[];for(var u=0;u<a.length;u++)o.push(+a[u]);1===o.length&&(l?i[r].value=o[0]:i[r]=o[0])}return{name:n,data:i}}function _(e,t){var n=e.split(new RegExp("\n*"+u+"\n*","g")),i={series:[]};return r.each(n,(function(e,n){if(v(e)){var r=y(e),o=t[n],a=o.axisDim+"Axis";o&&(i[a]=i[a]||[],i[a][o.axisIndex]={data:r.categories},i.series=i.series.concat(r.series))}else{r=x(e);i.series.push(r)}})),i}function b(e){this._dom=null,this.model=e}function w(e,t){return r.map(e,(function(e,n){var i=t&&t[n];return r.isObject(i)&&!r.isArray(i)?(r.isObject(e)&&!r.isArray(e)&&(e=e.value),r.defaults({value:e},i)):e}))}b.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:r.clone(l.title),lang:r.clone(l.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},b.prototype.onclick=function(e,t){var n=t.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var a=document.createElement("div");a.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",a.style.backgroundColor=i.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=i.get("lang")||[];s.innerHTML=l[0]||i.get("title"),s.style.cssText="margin: 10px 20px;",s.style.color=i.get("textColor");var u=document.createElement("div"),c=document.createElement("textarea");u.style.cssText="display:block;width:100%;overflow:auto;";var h=i.get("optionToContent"),d=i.get("contentToOption"),f=p(e);if("function"===typeof h){var g=h(t.getOption());"string"===typeof g?u.innerHTML=g:r.isDom(g)&&u.appendChild(g)}else u.appendChild(c),c.readOnly=i.get("readOnly"),c.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",c.style.color=i.get("textColor"),c.style.borderColor=i.get("textareaBorderColor"),c.style.backgroundColor=i.get("textareaColor"),c.value=f.value;var v=f.meta,m=document.createElement("div");m.style.cssText="position:absolute;bottom:0;left:0;right:0;";var y="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",x=document.createElement("div"),b=document.createElement("div");y+=";background-color:"+i.get("buttonColor"),y+=";color:"+i.get("buttonTextColor");var w=this;function S(){n.removeChild(a),w._dom=null}o.addEventListener(x,"click",S),o.addEventListener(b,"click",(function(){var e;try{e="function"===typeof d?d(u,t.getOption()):_(c.value,v)}catch(n){throw S(),new Error("Data view format error "+n)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),S()})),x.innerHTML=l[1],b.innerHTML=l[2],b.style.cssText=y,x.style.cssText=y,!i.get("readOnly")&&m.appendChild(b),m.appendChild(x),a.appendChild(s),a.appendChild(u),a.appendChild(m),u.style.height=n.clientHeight-80+"px",n.appendChild(a),this._dom=a},b.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},b.prototype.dispose=function(e,t){this.remove(e,t)},s.register("dataView",b),i.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(e,t){var n=[];r.each(e.newOption.series,(function(e){var i=t.getSeriesByName(e.name)[0];if(i){var o=i.get("data");n.push({name:e.name,data:w(e.data,o)})}else n.push(r.extend({type:"scatter"},e))})),t.mergeOption(r.defaults({series:n},e.newOption))}));var S=b;e.exports=S},"59fa":function(e,t,n){var i=n("cbe1");function r(e,t){return t=t||[0,0],i.map(["x","y"],(function(n,i){var r=this.getAxis(n),o=t[i],a=e[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function o(e){var t=e.grid.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(r,e)}}}e.exports=o},"5a09":function(e,t,n){var i=n("333f"),r=n("6f09"),o="sunburstRootToNode";i.registerAction({type:o,update:"updateView"},(function(e,t){function n(t,n){var i=r.retrieveTargetInfo(e,[o],t);if(i){var a=t.getViewRoot();a&&(e.direction=r.aboveViewRoot(a,i.node)?"rollUp":"drillDown"),t.resetViewRoot(i.node)}}t.eachComponent({mainType:"series",subType:"sunburst",query:e},n)}));var a="sunburstHighlight";i.registerAction({type:a,update:"updateView"},(function(e,t){function n(t,n){var i=r.retrieveTargetInfo(e,[a],t);i&&(e.highlight=i.node)}t.eachComponent({mainType:"series",subType:"sunburst",query:e},n)}));var s="sunburstUnhighlight";i.registerAction({type:s,update:"updateView"},(function(e,t){function n(t,n){e.unhighlight=!0}t.eachComponent({mainType:"series",subType:"sunburst",query:e},n)}))},"5a4b":function(e,t,n){var i=n("333f");n("4da2"),n("cf6e"),n("f675"),i.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),i.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},"5a4d":function(e,t,n){var i=n("4790"),r=n("7ead"),o=n("0f62"),a=o.getDimensionTypeByAxis,s=n("3a73"),l=n("cbe1"),u=n("5c3e"),c=u.groupData,h=n("4ae0"),d=h.encodeHTML,f=2,p=i.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){p.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(e){var t=e.length,n=c(e,(function(e){return e[2]})),i=[];n.buckets.each((function(e,t){i.push({name:t,dataList:e})}));for(var r=i.length,o=-1,a=-1,s=0;s<r;++s){var l=i[s].dataList.length;l>o&&(o=l,a=s)}for(var u=0;u<r;++u)if(u!==a)for(var h=i[u].name,d=0;d<o;++d){for(var f=i[a].dataList[d][0],p=i[u].dataList.length,g=-1,v=0;v<p;++v){var m=i[u].dataList[v][0];if(m===f){g=v;break}}-1===g&&(e[t]=[],e[t][0]=f,e[t][1]=0,e[t][2]=h,t++)}return e},getInitialData:function(e,t){for(var n=t.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],i=n.get("type"),o=l.filter(e.data,(function(e){return void 0!==e[2]})),u=this.fixData(o||[]),c=[],h=this.nameMap=l.createHashMap(),d=0,p=0;p<u.length;++p)c.push(u[p][f]),h.get(u[p][f])||(h.set(u[p][f],d),d++);var g=r(u,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:a(i)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),v=new s(g,this);return v.initData(u),v},getLayerSeries:function(){for(var e=this.getData(),t=e.count(),n=[],i=0;i<t;++i)n[i]=i;var r=e.mapDimension("single"),o=c(n,(function(t){return e.get("name",t)})),a=[];return o.buckets.each((function(t,n){t.sort((function(t,n){return e.get(r,t)-e.get(r,n)})),a.push({name:n,indices:t})})),a},getAxisTooltipData:function(e,t,n){l.isArray(e)||(e=e?[e]:[]);for(var i,r=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,u=0;u<s;++u){for(var c=Number.MAX_VALUE,h=-1,d=o[u].indices.length,f=0;f<d;++f){var p=r.get(e[0],o[u].indices[f]),g=Math.abs(p-t);g<=c&&(i=p,c=g,h=o[u].indices[f])}a.push(h)}return{dataIndices:a,nestestValue:i}},formatTooltip:function(e){var t=this.getData(),n=t.getName(e),i=t.get(t.mapDimension("value"),e);return(isNaN(i)||null==i)&&(i="-"),d(n+" : "+i)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),g=p;e.exports=g},"5a72":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("d207"),a=n("be69"),s=n("2dda"),l=n("efdc"),u=n("8b19"),c=n("040f"),h=i.extendComponentView({type:"toolbox",render:function(e,t,n,i){var h=this.group;if(h.removeAll(),e.get("show")){var f=+e.get("itemSize"),p=e.get("feature")||{},g=this._features||(this._features={}),v=[];r.each(p,(function(e,t){v.push(t)})),new u(this._featureNames||[],v).add(m).update(m).remove(r.curry(m,null)).execute(),this._featureNames=v,c.layout(h,e,n),h.add(c.makeBackground(h.getBoundingRect(),e)),h.eachChild((function(e){var t=e.__title,i=e.hoverStyle;if(i&&t){var r=o.getBoundingRect(t,o.makeFont(i)),a=e.position[0]+h.position[0],s=e.position[1]+h.position[1]+f,l=!1;s+r.height>n.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<n&&i(e[r],e[r-1])<0)r++;a(e,t,r)}else while(r<n&&i(e[r],e[r-1])>=0)r++;return r-t}function a(e,t,n){n--;while(t<n){var i=e[t];e[t++]=e[n],e[n--]=i}}function s(e,t,n,i,r){for(i===t&&i++;i<n;i++){var o,a=e[i],s=t,l=i;while(s<l)o=s+l>>>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(l<s&&o(e,t[n+r+l])>0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{s=r+1;while(l<s&&o(e,t[n+r-l])<=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}a++;while(a<l){var c=a+(l-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(l<s&&o(e,t[n+r-l])<0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{s=i-r;while(l<s&&o(e,t[n+r+l])>=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}a++;while(a<l){var c=a+(l-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]&&e--;else if(r[e]>r[e+1])break;p(e)}}function f(){while(s>1){var e=s-2;e>0&&r[e-1]<r[e+1]&&e--,p(e)}}function p(i){var o=n[i],a=r[i],c=n[i+1],h=r[i+1];r[i]=a+h,i===s-3&&(n[i+1]=n[i+2],r[i+1]=r[i+2]),s--;var d=u(e[c],e,o,a,0,t);o+=d,a-=d,0!==a&&(h=l(e[o+a-1],e,c,h,h-1,t),0!==h&&(a<=h?g(o,a,c,h):v(o,a,c,h)))}function g(n,r,a,s){var h=0;for(h=0;h<r;h++)c[h]=e[n+h];var d=0,f=a,p=n;if(e[p++]=e[f++],0!==--s)if(1!==r){var g,v,m,y=o;while(1){g=0,v=0,m=!1;do{if(t(e[f],c[d])<0){if(e[p++]=e[f++],v++,g=0,0===--s){m=!0;break}}else if(e[p++]=c[d++],g++,v=0,1===--r){m=!0;break}}while((g|v)<y);if(m)break;do{if(g=u(e[f],c,d,r,0,t),0!==g){for(h=0;h<g;h++)e[p+h]=c[d+h];if(p+=g,d+=g,r-=g,r<=1){m=!0;break}}if(e[p++]=e[f++],0===--s){m=!0;break}if(v=l(c[d],e,f,s,0,t),0!==v){for(h=0;h<v;h++)e[p+h]=e[f+h];if(p+=v,f+=v,s-=v,0===s){m=!0;break}}if(e[p++]=c[d++],1===--r){m=!0;break}y--}while(g>=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<s;h++)e[p+h]=e[f+h];e[p+s]=c[d]}else{if(0===r)throw new Error;for(h=0;h<r;h++)e[p+h]=c[d+h]}}else{for(h=0;h<s;h++)e[p+h]=e[f+h];e[p+s]=c[d]}else for(h=0;h<r;h++)e[p+h]=c[d+h]}function v(n,r,a,s){var h=0;for(h=0;h<s;h++)c[h]=e[a+h];var d=n+r-1,f=s-1,p=a+s-1,g=0,v=0;if(e[p--]=e[d--],0!==--r)if(1!==s){var m=o;while(1){var y=0,x=0,_=!1;do{if(t(c[f],e[d])<0){if(e[p--]=e[d--],y++,x=0,0===--r){_=!0;break}}else if(e[p--]=c[f--],x++,y=0,1===--s){_=!0;break}}while((y|x)<m);if(_)break;do{if(y=r-u(c[f],e,n,r,r-1,t),0!==y){for(p-=y,d-=y,r-=y,v=p+1,g=d+1,h=y-1;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<x;h++)e[v+h]=c[g+h];if(s<=1){_=!0;break}}if(e[p--]=e[d--],0===--r){_=!0;break}m--}while(y>=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<s;h++)e[g+h]=c[h]}}else{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 for(g=p-(s-1),h=0;h<s;h++)e[g+h]=c[h]}n=[],r=[],this.mergeRuns=d,this.forceMergeRuns=f,this.pushRun=h}function h(e,t,i,a){i||(i=0),a||(a=e.length);var l=a-i;if(!(l<2)){var u=0;if(l<n)return u=o(e,i,a,t),void s(e,i,a,i+u,t);var h=new c(e,t),d=r(l);do{if(u=o(e,i,a,t),u<d){var f=l;f>d&&(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<r;i++){var o=n[i];!e.emphasis[t].hasOwnProperty(o)&&e[t].hasOwnProperty(o)&&(e.emphasis[t][o]=e[t][o])}}}var h=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function d(e){return!a(e)||s(e)||e instanceof Date?e:e.value}function f(e){return a(e)&&!(e instanceof Array)}function p(e,t){t=(t||[]).slice();var n=i.map(e||[],(function(e,t){return{exist:e}}));return o(t,(function(e,i){if(a(e)){for(var r=0;r<n.length;r++)if(!n[r].option&&null!=e.id&&n[r].exist.id===e.id+"")return n[r].option=e,void(t[i]=null);for(r=0;r<n.length;r++){var o=n[r].exist;if(!n[r].option&&(null==o.id||null==e.id)&&null!=e.name&&!m(e)&&!m(o)&&o.name===e.name+"")return n[r].option=e,void(t[i]=null)}}})),o(t,(function(e,t){if(a(e)){for(var i=0;i<n.length;i++){var r=n[i].exist;if(!n[i].option&&!m(r)&&null==e.id){n[i].option=e;break}}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;i<r;i++)for(var o=e[i].seriesId,a=u(e[i].dataIndex),s=n&&n[o],l=0,c=a.length;l<c;l++){var h=a[l];s&&s[h]?s[h]=null:(t[o]||(t[o]={}))[h]=1}}function o(e,t){var n=[];for(var i in e)if(e.hasOwnProperty(i)&&null!=e[i])if(t)n.push(+i);else{var r=o(e[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}}function x(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?i.isArray(t.dataIndex)?i.map(t.dataIndex,(function(t){return e.indexOfRawIndex(t)})):e.indexOfRawIndex(t.dataIndex):null!=t.name?i.isArray(t.name)?i.map(t.name,(function(t){return e.indexOfName(t)})):e.indexOfName(t.name):void 0}function _(){var e="__\0ec_inner_"+b+++"_"+Math.random().toFixed(5);return function(t){return t[e]||(t[e]={})}}var b=0;function w(e,t,n){if(i.isString(t)){var r={};r[t+"Index"]=0,t=r}var a=n&&n.defaultMainType;!a||S(t,a+"Index")||S(t,a+"Id")||S(t,a+"Name")||(t[a+"Index"]=0);var s={};return o(t,(function(r,o){r=t[o];if("dataIndex"!==o&&"dataIndexInside"!==o){var a=o.match(/^(\w+)(Index|Id|Name)$/)||[],l=a[1],u=(a[2]||"").toLowerCase();if(!(!l||!u||null==r||"index"===u&&"none"===r||n&&n.includeMainTypes&&i.indexOf(n.includeMainTypes,l)<0)){var c={mainType:l};"index"===u&&"all"===r||(c[u]=r);var h=e.queryComponents(c);s[l+"Models"]=h,s[l+"Model"]=h[0]}}else s[o]=r})),s}function S(e,t){return e&&e.hasOwnProperty(t)}function M(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function I(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function A(e){return"auto"===e?r.domSupported?"html":"richText":e||"html"}function T(e,t){var n=i.createHashMap(),r=[];return i.each(e,(function(e){var i=t(e);(n.get(i)||(r.push(i),n.set(i,[]))).push(e)})),{keys:r,buckets:n}}t.normalizeToArray=u,t.defaultEmphasis=c,t.TEXT_STYLE_OPTIONS=h,t.getDataItemValue=d,t.isDataItemOption=f,t.mappingToExists=p,t.makeIdAndName=g,t.isNameSpecified=v,t.isIdInner=m,t.compressBatches=y,t.queryDataIndex=x,t.makeInner=_,t.parseFinder=w,t.setAttribute=M,t.getAttribute=I,t.getTooltipRenderMode=A,t.groupData=T},"5ce3":function(e,t,n){var i=n("e4d6"),r=i.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});e.exports=r},"5d11":function(e,t,n){var i=n("dbbd"),r=n("ed3e"),o=Math.min,a=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,c=i.create(),h=i.create(),d=i.create();function f(e,t,n){if(0!==e.length){var i,r=e[0],s=r[0],l=r[0],u=r[1],c=r[1];for(i=1;i<e.length;i++)r=e[i],s=o(s,r[0]),l=a(l,r[0]),u=o(u,r[1]),c=a(c,r[1]);t[0]=s,t[1]=u,n[0]=l,n[1]=c}}function p(e,t,n,i,r,s){r[0]=o(e,n),r[1]=o(t,i),s[0]=a(e,n),s[1]=a(t,i)}var g=[],v=[];function m(e,t,n,i,s,l,u,c,h,d){var f,p=r.cubicExtrema,m=r.cubicAt,y=p(e,n,s,u,g);for(h[0]=1/0,h[1]=1/0,d[0]=-1/0,d[1]=-1/0,f=0;f<y;f++){var x=m(e,n,s,u,g[f]);h[0]=o(x,h[0]),d[0]=a(x,d[0])}for(y=p(t,i,l,c,v),f=0;f<y;f++){var _=m(t,i,l,c,v[f]);h[1]=o(_,h[1]),d[1]=a(_,d[1])}h[0]=o(e,h[0]),d[0]=a(e,d[0]),h[0]=o(u,h[0]),d[0]=a(u,d[0]),h[1]=o(t,h[1]),d[1]=a(t,d[1]),h[1]=o(c,h[1]),d[1]=a(c,d[1])}function y(e,t,n,i,s,l,u,c){var h=r.quadraticExtremum,d=r.quadraticAt,f=a(o(h(e,n,s),1),0),p=a(o(h(t,i,l),1),0),g=d(e,n,s,f),v=d(t,i,l,p);u[0]=o(e,s,g),u[1]=o(t,l,v),c[0]=a(e,s,g),c[1]=a(t,l,v)}function x(e,t,n,r,o,a,f,p,g){var v=i.min,m=i.max,y=Math.abs(o-a);if(y%u<1e-4&&y>1e-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:o<a&&f&&(o+=u),f){var x=a;a=o,o=x}for(var _=0;_<a;_+=Math.PI/2)_>o&&(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<d.length;){switch(n=d[r++],c=r,i=0,n){case f:i=1;break;case g:i=1;break;case p:i=3;break;case y:i=2;break;case m:var x=t[4],_=t[5],b=l(t[0]*t[0]+t[1]*t[1]),w=l(t[2]*t[2]+t[3]*t[3]),S=u(-t[1]/w,t[0]/b);d[r]*=b,d[r++]+=x,d[r]*=w,d[r++]+=_,d[r++]*=b,d[r++]*=w,d[r++]+=S,d[r++]+=S,r+=2,c=r;break;case v:M[0]=d[r++],M[1]=d[r++],o(M,M,t),d[c++]=M[0],d[c++]=M[1],M[0]+=d[r++],M[1]+=d[r++],o(M,M,t),d[c++]=M[0],d[c++]=M[1]}for(h=0;h<i;h++){var M=s[h];M[0]=d[r++],M[1]=d[r++],o(M,M,t),d[c++]=M[0],d[c++]=M[1]}}}e.exports=c},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"63a2":function(e,t,n){var i=n("cbe1"),r=n("5c3e"),o=i.each,a=i.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=s.length;n<r;n++){var o=s[n],a=t.normal,l=t.emphasis;a&&a[o]&&(e[o]=e[o]||{},e[o].normal?i.merge(e[o].normal,a[o]):e[o].normal=a[o],a[o]=null),l&&l[o]&&(e[o]=e[o]||{},e[o].emphasis?i.merge(e[o].emphasis,l[o]):e[o].emphasis=l[o],l[o]=null)}}function u(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var r=e[t].normal,o=e[t].emphasis;r&&(n?(e[t].normal=e[t].emphasis=null,i.defaults(e[t],r)):e[t]=r),o&&(e.emphasis=e.emphasis||{},e.emphasis[t]=o)}}function c(e){u(e,"itemStyle"),u(e,"lineStyle"),u(e,"areaStyle"),u(e,"label"),u(e,"labelLine"),u(e,"upperLabel"),u(e,"edgeLabel")}function h(e,t){var n=a(e)&&e[t],i=a(n)&&n.textStyle;if(i)for(var o=0,s=r.TEXT_STYLE_OPTIONS.length;o<s;o++){t=r.TEXT_STYLE_OPTIONS[o];i.hasOwnProperty(t)&&(n[t]=i[t])}}function d(e){e&&(c(e),h(e,"label"),e.emphasis&&h(e.emphasis,"label"))}function f(e){if(a(e)){l(e),c(e),h(e,"label"),h(e,"upperLabel"),h(e,"edgeLabel"),e.emphasis&&(h(e.emphasis,"label"),h(e.emphasis,"upperLabel"),h(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(l(t),d(t));var n=e.markLine;n&&(l(n),d(n));var r=e.markArea;r&&d(r);var o=e.data;if("graph"===e.type){o=o||e.nodes;var s=e.links||e.edges;if(s&&!i.isTypedArray(s))for(var f=0;f<s.length;f++)d(s[f]);i.each(e.categories,(function(e){c(e)}))}if(o&&!i.isTypedArray(o))for(f=0;f<o.length;f++)d(o[f]);t=e.markPoint;if(t&&t.data){var p=t.data;for(f=0;f<p.length;f++)d(p[f])}n=e.markLine;if(n&&n.data){var g=n.data;for(f=0;f<g.length;f++)i.isArray(g[f])?(d(g[f][0]),d(g[f][1])):d(g[f])}"gauge"===e.type?(h(e,"axisLabel"),h(e,"title"),h(e,"detail")):"treemap"===e.type?(u(e.breadcrumb,"itemStyle"),i.each(e.levels,(function(e){c(e)}))):"tree"===e.type&&c(e.leaves)}}function p(e){return i.isArray(e)?e:e?[e]:[]}function g(e){return(i.isArray(e)?e[0]:e)||{}}function v(e,t){o(p(e.series),(function(e){a(e)&&f(e)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),o(n,(function(t){o(p(e[t]),(function(e){e&&(h(e,"axisLabel"),h(e.axisPointer,"label"))}))})),o(p(e.parallel),(function(e){var t=e&&e.parallelAxisDefault;h(t,"axisLabel"),h(t&&t.axisPointer,"label")})),o(p(e.calendar),(function(e){u(e,"itemStyle"),h(e,"dayLabel"),h(e,"monthLabel"),h(e,"yearLabel")})),o(p(e.radar),(function(e){h(e,"name")})),o(p(e.geo),(function(e){a(e)&&(d(e),o(p(e.regions),(function(e){d(e)})))})),o(p(e.timeline),(function(e){d(e),u(e,"label"),u(e,"itemStyle"),u(e,"controlStyle",!0);var t=e.data;i.isArray(t)&&i.each(t,(function(e){i.isObject(e)&&(u(e,"label"),u(e,"itemStyle"))}))})),o(p(e.toolbox),(function(e){u(e,"iconStyle"),o(e.feature,(function(e){u(e,"iconStyle")}))})),h(g(e.axisPointer),"label"),h(g(e.tooltip).axisPointer,"label")}e.exports=v},"642d":function(e,t,n){var i=n("cbe1"),r=n("4790"),o=n("cb24"),a=n("6f09"),s=a.wrapTreePathInfo,l=r.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(e,t){var n={name:e.name,children:e.data};u(n);var i=e.levels||[],r={};return r.levels=i,o.createTree(n,this,r).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(e){var t=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=s(n,this),t},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0,emphasis:{}},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1,emphasis:{},highlight:{opacity:1},downplay:{opacity:.9}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});function u(e){var t=0;i.each(e.children,(function(e){u(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}e.exports=l},"64e3":function(e,t,n){var i=n("cbe1"),r=n("1bb8"),o=n("55ba"),a=o.parsePercent,s=o.MAX_SAFE_INTEGER,l=n("0e18"),u=n("6f09"),c=Math.max,h=Math.min,d=i.retrieve,f=i.each,p=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],v=["upperLabel","show"],m=["upperLabel","height"],y={seriesType:"treemap",reset:function(e,t,n,o){var s=n.getWidth(),c=n.getHeight(),h=e.option,p=l.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),g=h.size||[],v=a(d(p.width,g[0]),s),m=a(d(p.height,g[1]),c),y=o&&o.type,_=["treemapZoomToNode","treemapRootToNode"],b=u.retrieveTargetInfo(o,_,e),w="treemapRender"===y||"treemapMove"===y?o.rootRect:null,S=e.getViewRoot(),M=u.getPathToRoot(S);if("treemapMove"!==y){var I="treemapZoomToNode"===y?A(e,b,S,v,m):w?[w.width,w.height]:[v,m],P=h.sort;P&&"asc"!==P&&"desc"!==P&&(P="desc");var C={squareRatio:h.squareRatio,sort:P,leafDepth:h.leafDepth};S.hostTree.clearLayouts();var O={x:0,y:0,width:I[0],height:I[1],area:I[0]*I[1]};S.setLayout(O),x(S,C,!1,0);O=S.getLayout();f(M,(function(e,t){var n=(M[t+1]||S).getValue();e.setLayout(i.extend({dataExtent:[n,n],borderWidth:0,upperHeight:0},O))}))}var k=e.getData().tree.root;k.setLayout(T(p,w,b),!0),e.setLayoutInfo(p),D(k,new r(-p.x,-p.y,s,c),M,S,0)}};function x(e,t,n,i){var r,o;if(!e.isRemoved()){var a=e.getLayout();r=a.width,o=a.height;var s=e.getModel(),l=s.get(p),u=s.get(g)/2,d=P(s),f=Math.max(l,d),v=l-u,m=f-u;s=e.getModel();e.setLayout({borderWidth:l,upperHeight:f,upperLabelHeight:d},!0),r=c(r-2*v,0),o=c(o-v-m,0);var y=r*o,b=_(e,s,y,t,n,i);if(b.length){var w={x:v,y:m,width:r,height:o},S=h(r,o),A=1/0,T=[];T.area=0;for(var D=0,C=b.length;D<C;){var O=b[D];T.push(O),T.area+=O.getLayout().area;var k=M(T,S,t.squareRatio);k<=A?(D++,A=k):(T.area-=T.pop().getLayout().area,I(T,S,w,u,!1),S=h(w.width,w.height),T.length=T.area=0,A=1/0)}if(T.length&&I(T,S,w,u,!0),!n){var L=s.get("childrenVisibleMin");null!=L&&y<L&&(n=!0)}for(D=0,C=b.length;D<C;D++)x(b[D],t,n,i+1)}}}function _(e,t,n,r,o,a){var s=e.children||[],l=r.sort;"asc"!==l&&"desc"!==l&&(l=null);var u=null!=r.leafDepth&&r.leafDepth<=a;if(o&&!u)return e.viewChildren=[];s=i.filter(s,(function(e){return!e.isRemoved()})),w(s,l);var c=S(t,s,l);if(0===c.sum)return e.viewChildren=[];if(c.sum=b(t,n,c.sum,l,s),0===c.sum)return e.viewChildren=[];for(var h=0,d=s.length;h<d;h++){var f=s[h].getValue()/c.sum*n;s[h].setLayout({area:f})}return u&&(s.length&&e.setLayout({isLeafRoot:!0},!0),s.length=0),e.viewChildren=s,e.setLayout({dataExtent:c.dataExtent},!0),s}function b(e,t,n,i,r){if(!i)return n;for(var o=e.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*t<o&&(s=l,n-=u)}return"asc"===i?r.splice(0,a-s):r.splice(s,a-s),n}function w(e,t){return t&&e.sort((function(e,n){var i="asc"===t?e.getValue()-n.getValue():n.getValue()-e.getValue();return 0===i?"asc"===t?e.dataIndex-n.dataIndex:n.dataIndex-e.dataIndex:i})),e}function S(e,t,n){for(var i=0,r=0,o=t.length;r<o;r++)i+=t[r].getValue();var a=e.get("visualDimension");if(t&&t.length)if("value"===a&&n)s=[t[t.length-1].getValue(),t[0].getValue()],"asc"===n&&s.reverse();else{var s=[1/0,-1/0];f(t,(function(e){var t=e.getValue(a);t<s[0]&&(s[0]=t),t>s[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;a<s;a++)i=e[a].getLayout().area,i&&(i<o&&(o=i),i>r&&(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;f<p;f++){var g=e[f],v={},m=d?g.getLayout().area/d:0,y=v[l[a]]=c(d-2*i,0),x=n[s[o]]+n[l[o]]-u,_=f===p-1||x<m?x:m,b=v[l[o]]=c(_-2*i,0);v[s[a]]=n[s[a]]+h(i,y/2),v[s[o]]=u+h(i,b/2),u+=_,g.setLayout(v,!0)}n[s[a]]+=d,n[l[a]]-=d}function A(e,t,n,i,r){var o,a=(t||{}).node,l=[i,r];if(!a||a===n)return l;var u=i*r,c=u*e.option.zoomToNodeRatio;while(o=a.parentNode){for(var h=0,d=o.children,f=0,g=d.length;f<g;f++)h+=d[f].getValue();var v=a.getValue();if(0===v)return l;c*=h/v;var m=o.getModel(),y=m.get(p),x=Math.max(y,P(m,y));c+=4*y*y+(3*y+x)*Math.pow(c,.5),c>s&&(c=s),a=o}c<u&&(c=u);var _=Math.pow(c/u,.5);return[i*_,r*_]}function T(e,t,n){if(t)return{x:t.x,y:t.y};var i={x:0,y:0};if(!n)return i;var r=n.node,o=r.getLayout();if(!o)return i;var a=[o.width/2,o.height/2],s=r;while(s){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:e.width/2-a[0],y:e.height/2-a[1]}}function D(e,t,n,i,o){var a=e.getLayout(),s=n[o],l=s&&s===e;if(!(s&&!l||o===n.length&&e!==i)){e.setLayout({isInView:!0,invisible:!l&&!t.intersect(a),isAboveViewRoot:l},!0);var u=new r(t.x-a.x,t.y-a.y,t.width,t.height);f(e.viewChildren||[],(function(e){D(e,u,n,i,o+1)}))}}function P(e){return e.get(v)?e.get(m):0}e.exports=y},"64f7":function(e,t,n){var i=n("7a17");i.registerSubTypeDefaulter("timeline",(function(){return"slider"}))},6539:function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("de7a"),a=n("be69"),s=o.toolbox.magicType;function l(e){this.model=e}l.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z",tiled:"M2.3,2.2h22.8V25H2.3V2.2z M35,2.2h22.8V25H35V2.2zM2.3,35h22.8v22.8H2.3V35z M35,35h22.8v22.8H35V35z"},title:r.clone(s.title),option:{},seriesIndex:{}};var u=l.prototype;u.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return r.each(e.get("type"),(function(e){t[e]&&(n[e]=t[e])})),n};var c={line:function(e,t,n,i){if("bar"===e)return r.merge({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.line")||{},!0)},bar:function(e,t,n,i){if("line"===e)return r.merge({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.bar")||{},!0)},stack:function(e,t,n,i){if("line"===e||"bar"===e)return r.merge({id:t,stack:"__ec_magicType_stack__"},i.get("option.stack")||{},!0)},tiled:function(e,t,n,i){if("line"===e||"bar"===e)return r.merge({id:t,stack:""},i.get("option.tiled")||{},!0)}},h=[["line","bar"],["stack","tiled"]];u.onclick=function(e,t,n){var i=this.model,o=i.get("seriesIndex."+n);if(c[n]){var a={series:[]},s=function(t){var o=t.subType,s=t.id,l=c[n](o,s,t,i);l&&(r.defaults(l,t.option),a.series.push(l));var u=t.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===n||"bar"===n)){var h=u.getAxesByScale("ordinal")[0];if(h){var d=h.dim,f=d+"Axis",p=e.queryComponents({mainType:f,index:t.get(name+"Index"),id:t.get(name+"Id")})[0],g=p.componentIndex;a[f]=a[f]||[];for(var v=0;v<=g;v++)a[f][g]=a[f][g]||{};a[f][g].boundaryGap="bar"===n}}};r.each(h,(function(e){r.indexOf(e,n)>=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();i<r;i++)n.push({name:e.getName(i),value:e.get(t,i),selected:h(e,i,"selected")});return n},getDataParams:function(e){var t=this.getData(),n=d.superCall(this,"getDataParams",e),i=[];return t.each(t.mapDimension("value"),(function(e){i.push(e)})),n.percent=l(i,e,t.hostModel.get("percentPrecision")),n.$vars.push("percent"),n},_defaultLabelLine:function(e){a.defaultEmphasis(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,label:{rotate:!1,show:!0,position:"outer"},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});o.mixin(d,u);var f=d;e.exports=f},"66cc":function(e,t,n){var i=n("78d7"),r=n("cbe1");function o(e,t){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph(),n=t.nodes;if(n.length){var o=1/0,a=-1/0;r.each(n,(function(e){var t=e.getLayout().value;t<o&&(o=t),t>a&&(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;a<e.count;a++)t.push(i.defaults({bandWidth:o,axisKey:r,stackId:u+a},e));var s=y(t),l=[];for(a=0;a<e.count;a++){var c=s[r][u+a];c.offsetCenter=c.offset+c.width/2,l.push(c)}return l}}function g(e,t){var n=[];return t.eachSeriesByType(e,(function(e){w(e)&&!S(e)&&n.push(e)})),n}function v(e){var t={};i.each(e,(function(e){var n=e.coordinateSystem,i=n.getBaseAxis();if("time"===i.type||"value"===i.type)for(var r=e.getData(),o=i.dim+"_"+i.index,a=r.mapDimension(i.dim),s=0,l=r.count();s<l;++s){var u=r.get(a,s);t[o]?t[o].push(u):t[o]=[u]}}));var n=[];for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(o){o.sort((function(e,t){return e-t}));for(var a=null,s=1;s<o.length;++s){var l=o[s]-o[s-1];l>0&&(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&&t<i&&(i=Math.min(t,u)),n&&n>i&&(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<w;b++){var S=t.get(v,b),I=t.get(m,b);if(!isNaN(S)&&!isNaN(I)){var A,T,D,P,C=S>=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)<g&&(D=(D<0?-1:1)*g),y&&(o[l][I][C]+=D)}else{k=n.dataToPoint([I,S]);A=k[0]+c,T=O,D=h,P=k[1]-_,Math.abs(P)<g&&(P=(P<=0?-1:1)*g),y&&(o[l][I][C]+=P)}t.setItemLayout(b,{x:A,y:T,width:D,height:P})}}}),this)}var b={seriesType:"bar",plan:l(),reset:function(e){if(w(e)&&S(e)){var t=e.getData(),n=e.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=t.mapDimension(r.dim),a=t.mapDimension(i.dim),s=r.isHorizontal(),l=s?0:1,u=x(m([e]),i,e).width;return u>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;s<a.length;s++)i.registerAction({type:a[s],update:"updateView"},o);i.registerAction({type:"treemapRootToNode",update:"updateView"},(function(e,t){function n(t,n){var i=["treemapZoomToNode","treemapRootToNode"],o=r.retrieveTargetInfo(e,i,t);if(o){var a=t.getViewRoot();a&&(e.direction=r.aboveViewRoot(a,o.node)?"rollUp":"drillDown"),t.resetViewRoot(o.node)}}t.eachComponent({mainType:"series",subType:"treemap",query:e},n)}))},"6d10":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("4dbf"),a=n("43e4");n("96a3"),n("5e39"),n("f630");var s=5;i.extendComponentView({type:"parallel",render:function(e,t,n){this._model=e,this._api=n,this._handlers||(this._handlers={},r.each(l,(function(e,t){n.getZr().on(t,this._handlers[t]=r.bind(e,this))}),this)),o.createOrUpdate(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},dispose:function(e,t){r.each(this._handlers,(function(e,n){t.getZr().off(n,e)})),this._handlers=null},_throttledDispatchExpand:function(e){this._dispatchExpand(e)},_dispatchExpand:function(e){e&&this._api.dispatchAction(r.extend({type:"parallelAxisExpand"},e))}});var l={mousedown:function(e){u(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(u(this,"click")&&t){var n=[e.offsetX,e.offsetY],i=Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2);if(i>s)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("4e60");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},"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;a<i.length;a++)r.set(i[a].name,i[a]);var s=u.load(t,n);return o.each(s.regions,(function(e){var t=e.name;!r.get(t)&&i.push({name:t})})),i}};r.registerCoordinateSystem("geo",f);var p=f;e.exports=p},"6fe5":function(e,t,n){var i=n("da84"),r=n("58a8").trim,o=n("5899"),a=i.parseFloat,s=1/a(o+"-0")!==-1/0;e.exports=s?function(e){var t=r(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},"707b":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("6c15"),a=o.layout,s=o.largeLayout;n("e31b"),n("9339"),n("4fbc"),n("3edc"),i.registerLayout(i.PRIORITY.VISUAL.LAYOUT,r.curry(a,"bar")),i.registerLayout(i.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),i.registerVisual({seriesType:"bar",reset:function(e){e.getData().setVisual("legendSymbol","roundRect")}})},"70f0":function(e,t){function n(e,t,n,i,r,o,a){if(0===r)return!1;var s=r,l=0,u=e;if(a>t+s&&a>i+s||a<t-s&&a<i-s||o>e+s&&o>n+s||o<e-s&&o<n-s)return!1;if(e===n)return Math.abs(o-e)<=s/2;l=(t-i)/(e-n),u=(e*i-n*t)/(e-n);var c=l*o-a+u,h=c*c/(l*l+1);return h<=s/2*s/2}t.containStroke=n},7156:function(e,t,n){var i=n("861d"),r=n("d2bb");e.exports=function(e,t,n){var o,a;return r&&"function"==typeof(o=t.constructor)&&o!==n&&i(a=o.prototype)&&a!==n.prototype&&r(e,a),e}},7275:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("333f")),o=n("a059"),a=n("5e0d"),s=n("039e"),l=n("f4e6"),u=n("f2eb"),c=n("bd14"),h=n("8caf"),d=n("32bc"),f=d.createClipPath,p=r.extendChartView({type:"lines",init:function(){},render:function(e,t,n){var i=e.getData(),r=this._updateLineDraw(i,e),o=e.get("zlevel"),a=e.get("effect.trailLength"),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&a&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=e.get("clip",!0)&&f(e.coordinateSystem,!1,e);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},incrementalPrepareRender:function(e,t,n){var i=e.getData(),r=this._updateLineDraw(i,e);r.incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},incrementalRender:function(e,t,n){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,n){var i=e.getData(),r=e.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=h.reset(e);o.progress&&o.progress({start:0,end:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},_updateLineDraw:function(e,t){var n=this._lineDraw,i=this._showEffect(t),r=!!t.get("polyline"),h=t.pipelineContext,d=h.large;return n&&i===this._hasEffet&&r===this._isPolyline&&d===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=d?new c:new o(r?i?u:l:i?a:s),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=d,this.group.removeAll()),this.group.add(n.group),n},_showEffect:function(e){return!!e.get("effect.show")},_clearLayer:function(e){var t=e.getZr(),n="svg"===t.painter.getType();n||null==this._lastZlevel||t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});e.exports=p},"747b":function(e,t){function n(e){e.eachSeriesByType("map",(function(e){var t=e.get("color"),n=e.getModel("itemStyle"),i=n.get("areaColor"),r=n.get("color")||t[e.seriesIndex%t.length];e.getData().setVisual({areaColor:i,color:r})}))}e.exports=n},"749f":function(e,t,n){var i=n("333f");i.registerAction("legendScroll","legendscroll",(function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(n)}))}))},"74e0":function(e,t,n){var i=n("7a17"),r=n("e1d0"),o=n("a1ee"),a=o.detectSourceFormat,s=n("6178"),l=s.SERIES_LAYOUT_BY_COLUMN;i.extend({type:"dataset",defaultOption:{seriesLayoutBy:l,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){a(this)}}),r.extend({type:"dataset"})},7583:function(e,t,n){var i=n("cbe1"),r={get:function(e,t,n){var r=i.clone((o[e]||{})[t]);return n&&i.isArray(r)?r[r.length-1]:r}},o={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},a=r;e.exports=a},7624:function(e,t,n){var i=n("2bfc"),r=i.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.cx,i=t.cy,r=Math.max(t.r,0),o=t.startAngle,a=t.endAngle,s=t.clockwise,l=Math.cos(o),u=Math.sin(o);e.moveTo(l*r+n,u*r+i),e.arc(n,i,r,o,a,!s)}});e.exports=r},7651:function(e,t,n){var i=n("7efc"),r=n("3804"),o=n("cbe1"),a=n("1e44"),s=n("7fd2"),l=n("e481"),u=n("0e08"),c=n("2df4"),h=!r.canvasSupported,d={canvas:l},f={},p="4.1.2";function g(e,t){var n=new _(i(),e,t);return f[n.id]=n,n}function v(e){if(e)e.dispose();else{for(var t in f)f.hasOwnProperty(t)&&f[t].dispose();f={}}return this}function m(e){return f[e]}function y(e,t){d[e]=t}function x(e){delete f[e]}var _=function(e,t,n){n=n||{},this.dom=t,this.id=e;var i=this,l=new s,f=n.renderer;if(h){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");f="vml"}else f&&d[f]||(f="canvas");var p=new d[f](t,l,n,e);this.storage=l,this.painter=p;var g=r.node||r.worker?null:new c(p.getViewportRoot());this.handler=new a(l,p,g,p.root),this.animation=new u({stage:{update:o.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var v=l.delFromStorage,m=l.addToStorage;l.delFromStorage=function(e){v.call(l,e),e&&e.removeSelfFromZr(i)},l.addToStorage=function(e){m.call(l,e),e.addSelfToZr(i)}};_.prototype={constructor:_,getId:function(){return this.id},add:function(e){this.storage.addRoot(e),this._needsRefresh=!0},remove:function(e){this.storage.delRoot(e),this._needsRefresh=!0},configLayer:function(e,t){this.painter.configLayer&&this.painter.configLayer(e,t),this._needsRefresh=!0},setBackgroundColor:function(e){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var e;this._needsRefresh&&(e=!0,this.refreshImmediately()),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately()),e&&this.trigger("rendered")},addHover:function(e,t){if(this.painter.addHover){var n=this.painter.addHover(e,t);return this.refreshHover(),n}},removeHover:function(e){this.painter.removeHover&&(this.painter.removeHover(e),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(e,t){return this.painter.pathToImage(e,t)},setCursorStyle:function(e){this.handler.setCursorStyle(e)},findHover:function(e,t){return this.handler.findHover(e,t)},on:function(e,t,n){this.handler.on(e,t,n)},off:function(e,t){this.handler.off(e,t)},trigger:function(e,t){this.handler.trigger(e,t)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,x(this.id)}},t.version=p,t.init=g,t.dispose=v,t.getInstance=m,t.registerPainter=y},"76d3":function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("2dda"),a=n("4ae0"),s=n("55ba"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},c=i.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,n){var i=this.group;i.removeAll();var r=e.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient();this._renderDayRect(e,o,i),this._renderLines(e,o,a,i),this._renderYearText(e,o,a,i),this._renderMonthText(e,a,i),this._renderWeekText(e,o,a,i)},_renderDayRect:function(e,t,n){for(var i=e.coordinateSystem,r=e.getModel("itemStyle").getItemStyle(),a=i.getCellWidth(),s=i.getCellHeight(),l=t.start.time;l<=t.end.time;l=i.getNextNDay(l,1).time){var u=i.dataToRect([l],!1).tl,c=new o.Rect({shape:{x:u[0],y:u[1],width:a,height:s},cursor:"default",style:r});n.add(c)}},_renderLines:function(e,t,n,i){var r=this,o=e.coordinateSystem,a=e.getModel("splitLine.lineStyle").getLineStyle(),s=e.get("splitLine.show"),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,c=0;u.time<=t.end.time;c++){d(u.formatedDate),0===c&&(u=o.getDateInfo(t.start.y+"-"+t.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=o.getDateInfo(h)}function d(t){r._firstDayOfMonth.push(o.getDateInfo(t)),r._firstDayPoints.push(o.dataToRect([t],!1).tl);var l=r._getLinePointsOfOneWeek(e,t,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}d(o.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},_getEdgesPoints:function(e,t,n){var i=[e[0].slice(),e[e.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-t/2,i[1][r]=i[1][r]+t/2,i},_drawSplitline:function(e,t,n){var i=new o.Polyline({z2:20,shape:{points:e},style:t});n.add(i)},_getLinePointsOfOneWeek:function(e,t,n){var i=e.coordinateSystem;t=i.getDateInfo(t);for(var r=[],o=0;o<7;o++){var a=i.getNextNDay(t.time,o),s=i.dataToRect([a.time],!1);r[2*a.day]=s.tl,r[2*a.day+1]=s["horizontal"===n?"bl":"tr"]}return r},_formatterLabel:function(e,t){return"string"===typeof e&&e?a.formatTplSimple(e,t):"function"===typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,n,i,r){t=t.slice();var o=["center","bottom"];"bottom"===i?(t[1]+=r,o=["center","top"]):"left"===i?t[0]-=r:"right"===i?(t[0]+=r,o=["center","top"]):t[1]-=r;var a=0;return"left"!==i&&"right"!==i||(a=Math.PI/2),{rotation:a,position:t,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(e,t,n,i){var r=e.getModel("yearLabel");if(r.get("show")){var a=r.get("margin"),s=r.get("position");s||(s="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,h="horizontal"===n?0:1,d={top:[u,l[h][1]],bottom:[u,l[1-h][1]],left:[l[1-h][0],c],right:[l[h][0],c]},f=t.start.y;+t.end.y>+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<h[d].length-1;g++){var v=h[d][g].slice(),m=this._firstDayOfMonth[g];if(p){var y=this._firstDayPoints[g];v[f]=(y[f]+h[0][g+1][f])/2}var x=i.get("formatter"),_=a[+m.m-1],b={yyyy:m.y,yy:(m.y+"").slice(2),MM:m.m,M:+m.m,nameMap:_},w=this._formatterLabel(x,b),S=new o.Text({z2:30});r.extend(o.setTextStyle(S.style,i,{text:w}),this._monthTextPositionControl(v,p,t,u,s)),n.add(S)}}},_weekTextPositionControl:function(e,t,n,i,r){var o="center",a="middle",s=e[0],l=e[1],u="start"===n;return"horizontal"===t?(s=s+i+(u?1:-1)*r[0]/2,o=u?"right":"left"):(l=l+i+(u?1:-1)*r[1]/2,a=u?"bottom":"top"),{x:s,y:l,textAlign:o,textVerticalAlign:a}},_renderWeekText:function(e,t,n,i){var a=e.getModel("dayLabel");if(a.get("show")){var l=e.coordinateSystem,c=a.get("position"),h=a.get("nameMap"),d=a.get("margin"),f=l.getFirstDayOfWeek();r.isString(h)&&(h=u[h.toUpperCase()]||[]);var p=l.getNextNDay(t.end.time,7-t.lweek).time,g=[l.getCellWidth(),l.getCellHeight()];d=s.parsePercent(d,g["horizontal"===n?0:1]),"start"===c&&(p=l.getNextNDay(t.start.time,-(7+t.fweek)).time,d=-d);for(var v=0;v<7;v++){var m=l.getNextNDay(p,v),y=l.dataToRect([m.time],!1).center,x=v;x=Math.abs((v+f)%7);var _=new o.Text({z2:30});r.extend(o.setTextStyle(_.style,a,{text:h[x]}),this._weekTextPositionControl(y,n,c,d,g)),i.add(_)}}}});e.exports=c},"76e4":function(e,t,n){var i=n("2bfc"),r=i.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(e,t){var n=.5522848,i=t.cx,r=t.cy,o=t.rx,a=t.ry,s=o*n,l=a*n;e.moveTo(i-o,r),e.bezierCurveTo(i-o,r-l,i-s,r-a,i,r-a),e.bezierCurveTo(i+s,r-a,i+o,r-l,i+o,r),e.bezierCurveTo(i+o,r+l,i+s,r+a,i,r+a),e.bezierCurveTo(i-s,r+a,i-o,r+l,i-o,r),e.closePath()}});e.exports=r},"771f":function(e,t,n){var i=n("bef6"),r=n("1bb8"),o=n("2dda"),a=o.linePolygonIntersect,s={lineX:l(0),lineY:l(1),rect:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return e&&n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])&&i.contain(n.range,e[0],e[1])},rect:function(e,t,n){var o=n.range;if(!e||o.length<=1)return!1;var s=e.x,l=e.y,u=e.width,c=e.height,h=o[0];return!!(i.contain(o,s,l)||i.contain(o,s+u,l)||i.contain(o,s,l+c)||i.contain(o,s+u,l+c)||r.create(e).contain(h[0],h[1])||a(s,l,s+u,l,o)||a(s,l,s,l+c,o)||a(s+u,l,s+u,l+c,o)||a(s,l+c,s+u,l+c,o))||void 0}}};function l(e){var t=["x","y"],n=["width","height"];return{point:function(t,n,i){if(t){var r=i.range,o=t[e];return u(o,r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[t[e]],i[t[e]]+i[n[e]]];return s[1]<s[0]&&s.reverse(),u(s[0],a)||u(s[1],a)||u(a[0],s)||u(a[1],s)}}}}function u(e,t){return t[0]<=e&&e<=t[1]}var c=s;e.exports=c},7756:function(e,t,n){var i=n("333f");n("d66d"),n("36c8"),n("f5c9"),n("6f57");var r=n("84d0"),o=n("747b"),a=n("f0b6"),s=n("edc9"),l=n("d0395");i.registerLayout(r),i.registerVisual(o),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,a),i.registerPreprocessor(s),l("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},"775e":function(e,t,n){(function(e){var n;"undefined"!==typeof window?n=window.__DEV__:"undefined"!==typeof e&&(n=e.__DEV__),"undefined"===typeof n&&(n=!0);var i=n;t.__DEV__=i}).call(this,n("c8ba"))},7782:function(e,t,n){var i=n("d752"),r=i([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getLineStyle:function(e){var t=r(this,e);return t.lineDash=this.getLineDash(t.lineWidth),t},getLineDash:function(e){null==e&&(e=1);var t=this.get("type"),n=Math.max(e,2),i=4*e;return"solid"!==t&&null!=t&&("dashed"===t?[i,i]:[n,n])}};e.exports=o},7867:function(e,t,n){var i=n("9bc4"),r=n("4790"),o=r.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(e,t){return i(this.getSource(),this)},brushSelector:"point",getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});e.exports=o},"78d7":function(e,t,n){var i=n("cbe1"),r=n("3083"),o=n("55ba"),a=o.linearMap,s=i.each,l=i.isObject,u=-1,c=function(e){var t=e.mappingMethod,n=e.type,r=this.option=i.clone(e);this.type=n,this.mappingMethod=t,this._normalizeData=S[t];var o=h[n];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._doMap=o._doMap[t],"piecewise"===t?(p(r),d(r)):"category"===t?r.categories?f(r):p(r,!0):(i.assert("linear"!==t||r.dataExtent),p(r))};c.prototype={constructor:c,mapValueToVisual:function(e){var t=this._normalizeData(e);return this._doMap(t,e)},getNormalizer:function(){return i.bind(this._normalizeData,this)}};var h=c.visualHandlers={color:{applyVisual:m("color"),getColorMapper:function(){var e=this.option;return i.bind("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),y.call(this,e)}:function(t,n,i){var o=!!i;return!n&&(t=this._normalizeData(t)),i=r.fastLerp(t,e.parsedVisual,i),o?i:r.stringify(i,"rgba")},this)},_doMap:{linear:function(e){return r.stringify(r.fastLerp(e,this.option.parsedVisual),"rgba")},category:y,piecewise:function(e,t){var n=b.call(this,t);return null==n&&(n=r.stringify(r.fastLerp(e,this.option.parsedVisual),"rgba")),n},fixed:x}},colorHue:g((function(e,t){return r.modifyHSL(e,t)})),colorSaturation:g((function(e,t){return r.modifyHSL(e,null,t)})),colorLightness:g((function(e,t){return r.modifyHSL(e,null,null,t)})),colorAlpha:g((function(e,t){return r.modifyAlpha(e,t)})),opacity:{applyVisual:m("opacity"),_doMap:_([0,1])},liftZ:{applyVisual:m("liftZ"),_doMap:{linear:x,category:x,piecewise:x,fixed:x}},symbol:{applyVisual:function(e,t,n){var r=this.mapValueToVisual(e);if(i.isString(r))n("symbol",r);else if(l(r))for(var o in r)r.hasOwnProperty(o)&&n(o,r[o])},_doMap:{linear:v,category:y,piecewise:function(e,t){var n=b.call(this,t);return null==n&&(n=v.call(this,e)),n},fixed:x}},symbolSize:{applyVisual:m("symbolSize"),_doMap:_([0,1])}};function d(e){var t=e.pieceList;e.hasSpecialVisual=!1,i.each(t,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}function f(e){var t=e.categories,n=e.visual,r=e.categoryMap={};if(s(t,(function(e,t){r[e]=t})),!i.isArray(n)){var o=[];i.isObject(n)?s(n,(function(e,t){var n=r[t];o[null!=n?n:u]=e})):o[u]=n,n=w(e,o)}for(var a=t.length-1;a>=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<n}c.listVisualTypes=function(){var e=[];return i.each(h,(function(t,n){e.push(n)})),e},c.addVisualHandler=function(e,t){h[e]=t},c.isValidType=function(e){return h.hasOwnProperty(e)},c.eachVisual=function(e,t,n){i.isObject(e)?i.each(e,t,n):t.call(n,e)},c.mapVisual=function(e,t,n){var r,o=i.isArray(e)?[]:i.isObject(e)?{}:(r=!0,null);return c.eachVisual(e,(function(e,i){var a=t.call(n,e,i);r?o=a:o[i]=a})),o},c.retrieveVisuals=function(e){var t,n={};return e&&s(h,(function(i,r){e.hasOwnProperty(r)&&(n[r]=e[r],t=!0)})),t?n:null},c.prepareVisualTypes=function(e){if(l(e)){var t=[];s(e,(function(e,n){t.push(n)})),e=t}else{if(!i.isArray(e))return[];e=e.slice()}return e.sort((function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1})),e},c.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},c.findPieceIndex=function(e,t,n){for(var i,r=1/0,o=0,a=t.length;o<a;o++){var s=t[o].value;if(null!=s){if(s===e||"string"===typeof s&&s===e+"")return o;n&&h(s,o)}}for(o=0,a=t.length;o<a;o++){var l=t[o],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if(M(c[1],e,u[1]))return o}else if(u[1]===1/0){if(M(c[0],u[0],e))return o}else if(M(c[0],u[0],e)&&M(c[1],e,u[1]))return o;n&&h(u[0],o),n&&h(u[1],o)}}if(n)return e===1/0?t.length-1:e===-1/0?0:i;function h(t,n){var o=Math.abs(t-e);o<r&&(r=o,i=n)}};var I=c;e.exports=I},"792c":function(e,t,n){var i=n("2dda"),r=n("0e18"),o=n("cbe1"),a=n("6f09"),s=a.wrapTreePathInfo,l=8,u=8,c=5;function h(e){this.group=new i.Group,e.add(this.group)}function d(e,t,n,i,r,o){var a=[[r?e:e-c,t],[e+n,t],[e+n,t+i],[r?e:e-c,t+i]];return!o&&a.splice(2,0,[e+n+c,t+i/2]),!r&&a.push([e,t+i/2]),a}function f(e,t,n){e.eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.componentIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&s(n,t)}}h.prototype={constructor:h,render:function(e,t,n,i){var o=e.getModel("breadcrumb"),a=this.group;if(a.removeAll(),o.get("show")&&n){var s=o.getModel("itemStyle"),l=s.getModel("textStyle"),u={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(e,u,s,l,i),r.positionElement(a,u.pos,u.box)}},_prepare:function(e,t,n){for(var i=e;i;i=i.parentNode){var r=i.getModel().get("name"),o=n.getTextRect(r),a=Math.max(o.width+2*l,t.emptyItemWidth);t.totalWidth+=a+u,t.renderList.push({node:i,text:r,width:a})}},_renderContent:function(e,t,n,a,s){for(var l=0,c=t.emptyItemWidth,h=e.get("breadcrumb.height"),p=r.getAvailableSize(t.pos,t.box),g=t.totalWidth,v=t.renderList,m=v.length-1;m>=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<e.end;r++){var o=t.getItemLayout(r);if(u(t,o,r,n)){var a=new this._symbolCtor(t,r,this._seriesScope);a.traverse(i),a.attr("position",o),this.group.add(a),t.setItemGraphicEl(r,a)}}},l.remove=function(e){var t=this.group,n=this._data;n&&e?n.eachItemGraphicEl((function(e){e.fadeOut((function(){t.remove(e)}))})):t.removeAll()};var d=s;e.exports=d},"7ae1":function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=(r.isTypedArray,r.extend),a=(r.assert,r.each),s=r.isObject,l=n("5c3e"),u=l.getDataItemValue,c=l.isDataItemOption,h=n("55ba"),d=h.parseDate,f=n("1431"),p=n("6178"),g=p.SOURCE_FORMAT_TYPED_ARRAY,v=p.SOURCE_FORMAT_ARRAY_ROWS,m=p.SOURCE_FORMAT_ORIGINAL,y=p.SOURCE_FORMAT_OBJECT_ROWS;function x(e,t){f.isInstance(e)||(e=f.seriesDataToSource(e)),this._source=e;var n=this._data=e.data,i=e.sourceFormat;i===g&&(this._offset=0,this._dimSize=t,this._data=n);var r=b[i===v?i+"_"+e.seriesLayoutBy:i];o(this,r)}var _=x.prototype;_.pure=!1,_.persistent=!0,_.getSource=function(){return this._source};var b={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(e){return this._data[e+this._source.startIndex]},appendData:M},arrayRows_row:{pure:!0,count:function(){var e=this._data[0];return e?Math.max(0,e.length-this._source.startIndex):0},getItem:function(e){e+=this._source.startIndex;for(var t=[],n=this._data,i=0;i<n.length;i++){var r=n[i];t.push(r?r[e]:null)}return t},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:w,getItem:S,appendData:M},keyedColumns:{pure:!0,count:function(){var e=this._source.dimensionsDefine[0].name,t=this._data[e];return t?t.length:0},getItem:function(e){for(var t=[],n=this._source.dimensionsDefine,i=0;i<n.length;i++){var r=this._data[n[i].name];t.push(r?r[e]:null)}return t},appendData:function(e){var t=this._data;a(e,(function(e,n){for(var i=t[n]||(t[n]=[]),r=0;r<(e||[]).length;r++)i.push(e[r])}))}},original:{count:w,getItem:S,appendData:M},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(e,t){e-=this._offset,t=t||[];for(var n=this._dimSize*e,i=0;i<this._dimSize;i++)t[i]=this._data[n+i];return t},appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}}};function w(){return this._data.length}function S(e){return this._data[e]}function M(e){for(var t=0;t<e.length;t++)this._data.push(e[t])}var I={arrayRows:A,objectRows:function(e,t,n,i){return null!=n?e[i]:e},keyedColumns:A,original:function(e,t,n,i){var r=u(e);return null!=n&&r instanceof Array?r[n]:r},typedArray:A};function A(e,t,n,i){return null!=n?e[n]:e}var T={arrayRows:D,objectRows:function(e,t,n,i){return P(e[t],this._dimensionInfos[t])},keyedColumns:D,original:function(e,t,n,i){var r=e&&(null==e.value?e:e.value);return!this._rawData.pure&&c(e)&&(this.hasItemOption=!0),P(r instanceof Array?r[i]:r,this._dimensionInfos[t])},typedArray:function(e,t,n,i){return e[i]}};function D(e,t,n,i){return P(e[i],this._dimensionInfos[t])}function P(e,t){var n=t&&t.type;if("ordinal"===n){var i=t&&t.ordinalMeta;return i?i.parseAndCollect(e):e}return"time"===n&&"number"!==typeof e&&null!=e&&"-"!==e&&(e=+d(e)),null==e||""===e?NaN:+e}function C(e,t,n){if(e){var i=e.getRawDataItem(t);if(null!=i){var r,o,a=e.getProvider().getSource().sourceFormat,s=e.getDimensionInfo(n);return s&&(r=s.name,o=s.index),I[a](i,t,o,r)}}}function O(e,t,n){if(e){var i=e.getProvider().getSource().sourceFormat;if(i===m||i===y){var r=e.getRawDataItem(t);return i!==m||s(r)||(r=null),r?r[n]:void 0}}}t.DefaultDataProvider=x,t.defaultDimValueGetters=T,t.retrieveRawValue=C,t.retrieveRawAttr=O},"7be0":function(e,t,n){var i=n("121d"),r=n("0e18"),o=r.getLayoutRect,a=n("5d11");function s(e,t,n){var i=e.getBoxLayoutParams();return i.aspect=n,o(i,{width:t.getWidth(),height:t.getHeight()})}function l(e,t){var n=[];return e.eachSeriesByType("graph",(function(e){var r=e.get("coordinateSystem");if(!r||"view"===r){var o=e.getData(),l=o.mapArray((function(e){var t=o.getItemModel(e);return[+t.get("x"),+t.get("y")]})),u=[],c=[];a.fromPoints(l,u,c),c[0]-u[0]===0&&(c[0]+=1,u[0]-=1),c[1]-u[1]===0&&(c[1]+=1,u[1]-=1);var h=(c[0]-u[0])/(c[1]-u[1]),d=s(e,t,h);isNaN(h)&&(u=[d.x,d.y],c=[d.x+d.width,d.y+d.height]);var f=c[0]-u[0],p=c[1]-u[1],g=d.width,v=d.height,m=e.coordinateSystem=new i;m.zoomLimit=e.get("scaleLimit"),m.setBoundingRect(u[0],u[1],f,p),m.setViewRect(d.x,d.y,g,v),m.setCenter(e.get("center")),m.setZoom(e.get("zoom")),n.push(m)}})),n}e.exports=l},"7c8a":function(e,t,n){var i=n("3747"),r=n("c4dd"),o=n("c61e"),a=n("db6e"),s=i.extend({makeElOption:function(e,t,n,i,a){var s=n.axis,c=s.grid,h=i.get("type"),d=l(c,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(t,!0));if(h&&"none"!==h){var p=r.buildElStyle(i),g=u[h](s,f,d);g.style=p,e.graphicKey=g.type,e.pointer=g}var v=o.layout(c.model,n);r.buildCartesianSingleLabelElOption(t,e,v,n,i,a)},getHandleTransform:function(e,t,n){var i=o.layout(t.axis.grid.model,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.grid,a=r.getGlobalExtent(!0),s=l(o,r).getOtherAxis(r).getGlobalExtent(),u="x"===r.dim?0:1,c=e.position;c[u]+=t[u],c[u]=Math.min(a[1],c[u]),c[u]=Math.max(a[0],c[u]);var h=(s[1]+s[0])/2,d=[h,h];d[u]=c[u];var f=[{verticalAlign:"middle"},{align:"center"}];return{position:c,rotation:e.rotation,cursorPoint:d,tooltipOption:f[u]}}});function l(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var u={line:function(e,t,n){var i=r.makeLineShape([t,n[0]],[t,n[1]],c(e));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(e,t,n){var i=Math.max(1,e.getBandWidth()),o=n[1]-n[0];return{type:"Rect",shape:r.makeRectShape([t-i/2,n[0]],[i,o],c(e))}}};function c(e){return"x"===e.dim?0:1}a.registerAxisPointerClass("CartesianAxisPointer",s);var h=s;e.exports=h},"7ce5":function(e,t,n){var i=n("cbe1"),r=n("91ed");function o(e){if(!e.UTF8Encoding)return e;var t=e.UTF8Scale;null==t&&(t=1024);for(var n=e.features,i=0;i<n.length;i++)for(var r=n[i],o=r.geometry,s=o.coordinates,l=o.encodeOffsets,u=0;u<s.length;u++){var c=s[u];if("Polygon"===o.type)s[u]=a(c,l[u],t);else if("MultiPolygon"===o.type)for(var h=0;h<c.length;h++){var d=c[h];c[h]=a(d,l[u][h],t)}}return e.UTF8Encoding=!1,e}function a(e,t,n){for(var i=[],r=t[0],o=t[1],a=0;a<e.length;a+=2){var s=e.charCodeAt(a)-64,l=e.charCodeAt(a+1)-64;s=s>>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<v.length;x++){if(c){var _=D(p,d,x);p[_].push(new s.Circle({shape:{cx:m,cy:y,r:v[x].coord}}))}if(h&&x<v.length-1){_=D(g,f,x);g[_].push(new s.Ring({shape:{cx:m,cy:y,r0:v[x].coord,r:v[x+1].coord}}))}}else{var b,w=o.map(n,(function(e,n){var i=e.getTicksCoords();return b=null==b?i.length-1:Math.min(i.length-1,b),o.map(i,(function(e){return t.coordToPoint(e.coord,n)}))})),S=[];for(x=0;x<=b;x++){for(var M=[],I=0;I<n.length;I++)M.push(w[I][x]);if(M[0]&&M.push(M[0].slice()),c){_=D(p,d,x);p[_].push(new s.Polyline({shape:{points:M}}))}if(h&&S){_=D(g,f,x-1);g[_].push(new s.Polygon({shape:{points:M.concat(S)}}))}S=M.slice().reverse()}}var A=l.getLineStyle(),T=u.getAreaStyle();o.each(g,(function(e,t){this.group.add(s.mergePath(e,{style:o.defaults({stroke:"none",fill:f[t%f.length]},T),silent:!0}))}),this),o.each(p,(function(e,t){this.group.add(s.mergePath(e,{style:o.defaults({fill:"none",stroke:d[t%d.length]},A),silent:!0}))}),this)}function D(e,t,n){var i=n%t.length;return e[i]=e[i]||[],i}}});e.exports=u},"7ead":function(e,t,n){var i=n("1fe7");function r(e,t){return t=t||{},i(t.coordDimensions||[],e,{dimsDef:t.dimensionsDefine||e.dimensionsDefine,encodeDef:t.encodeDefine||e.encodeDefine,dimCount:t.dimensionsCount,generateCoord:t.generateCoord,generateCoordCount:t.generateCoordCount})}e.exports=r},"7efc":function(e,t){var n=2311;function i(){return n++}e.exports=i},"7f20":function(e,t,n){var i=n("cbe1"),r=n("7a17"),o=n("e1b3"),a=n("143f"),s=r.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),l={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function u(e,t){return t.type||(t.data?"category":"value")}i.merge(s.prototype,a),o("single",s,u,l);var c=s;e.exports=c},"7f3e":function(e,t,n){var i=n("cbe1"),r=n("4ae0"),o=["x","y","z","radius","angle","single"],a=["cartesian2d","polar","singleAxis"];function s(e){return i.indexOf(a,e)>=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<t.length;l++)s[t[l]]=e+o[l];r.call(a,s)}))}}var u=l(o,["axisIndex","axis","index","id"]);function c(e,t,n){return function(n){var i,s={nodes:[],records:{}};if(t((function(e){s.records[e.name]={}})),!n)return s;a(n,s);do{i=!1,e(l)}while(i);function l(e){!r(e,s)&&o(e,s)&&(a(e,s),i=!0)}return s};function r(e,t){return i.indexOf(t.nodes,e)>=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<n.length;r++){var o=n[r],a=this._axes[o];i[o]=a[t](e[o])}return i}};var a=o;e.exports=a},"7fd2":function(e,t,n){var i=n("cbe1"),r=n("3804"),o=n("0890"),a=n("5b4e");function s(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(e,t){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(e,t)},getDisplayList:function(e,t){return t=t||!1,e&&this.updateDisplayList(t),this._displayList},updateDisplayList:function(e){this._displayListLen=0;for(var t=this._roots,n=this._displayList,i=0,o=t.length;i<o;i++)this._updateAndAddDisplayable(t[i],null,e);n.length=this._displayListLen,r.canvasSupported&&a(n,s)},_updateAndAddDisplayable:function(e,t,n){if(!e.ignore||n){e.beforeUpdate(),e.__dirty&&e.update(),e.afterUpdate();var i=e.clipPath;if(i){t=t?t.slice():[];var r=i,o=e;while(r)r.parent=o,r.updateTransform(),t.push(r),o=r,r=r.clipPath}if(e.isGroup){for(var a=e._children,s=0;s<a.length;s++){var l=a[s];e.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,t,n)}e.__dirty=!1}else e.__clipPaths=t,this._displayList[this._displayListLen++]=e}},addRoot:function(e){e.__storage!==this&&(e instanceof o&&e.addChildrenToStorage(this),this.addToStorage(e),this._roots.push(e))},delRoot:function(e){if(null==e){for(var t=0;t<this._roots.length;t++){var n=this._roots[t];n instanceof o&&n.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(e instanceof Array){t=0;for(var r=e.length;t<r;t++)this.delRoot(e[t])}else{var a=i.indexOf(this._roots,e);a>=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;n<e.length;n++){var i=e[n];i.invisible||i.ignore?(i.__alreadyNotVisible||i.onRemove(t),i.__alreadyNotVisible=!0):(i.__alreadyNotVisible&&i.onAdd(t),i.__alreadyNotVisible=!1,i.__dirty&&(i.beforeBrush&&i.beforeBrush(),(i.brushVML||i.brush).call(i,t),i.afterBrush&&i.afterBrush())),i.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(t),this._firstPaint=!1)},resize:function(e,t){e=null==e?this._getWidth():e,t=null==t?this._getHeight():t;if(this._width!==e||this._height!==t){this._width=e,this._height=t;var n=this._vmlViewport.style;n.width=e+"px",n.height=t+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var e=this.root,t=e.currentStyle;return(e.clientWidth||s(t.width))-s(t.paddingLeft)-s(t.paddingRight)|0},_getHeight:function(){var e=this.root,t=e.currentStyle;return(e.clientHeight||s(t.height))-s(t.paddingTop)-s(t.paddingBottom)|0}},a(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],(function(e){l.prototype[e]=u(e)}));var c=l;e.exports=c},"804a":function(e,t,n){var i=n("7a17");i.registerSubTypeDefaulter("dataZoom",(function(){return"slider"}))},8096:function(e,t,n){var i=n("48b9"),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();e.exports=o},"80bd":function(e,t,n){var i=n("333f"),r=n("5a78"),o=n("de7a"),a=n("be69"),s=o.toolbox.restore;function l(e){this.model=e}l.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:s.title};var u=l.prototype;u.onclick=function(e,t,n){r.clear(e),t.dispatchAction({type:"restore",from:this.uid})},a.register("restore",l),i.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));var c=l;e.exports=c},8147:function(e,t,n){var i=n("cdbb"),r=n("1fc4"),o=function(e){this.name=e||"",this.cx=0,this.cy=0,this._radiusAxis=new i,this._angleAxis=new r,this._radiusAxis.polar=this._angleAxis.polar=this};o.prototype={type:"polar",axisPointerEnabled:!0,constructor:o,dimensions:["radius","angle"],model:null,containPoint:function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},containData:function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},getAxis:function(e){return this["_"+e+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(e){var t=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===e&&t.push(n),i.scale.type===e&&t.push(i),t},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},dataToPoint:function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},pointToData:function(e,t){var n=this.pointToCoord(e);return[this._radiusAxis.radiusToData(n[0],t),this._angleAxis.angleToData(n[1],t)]},pointToCoord:function(e){var t=e[0]-this.cx,n=e[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(t*t+n*n);t/=s,n/=s;var l=Math.atan2(-n,t)/Math.PI*180,u=l<o?1:-1;while(l<o||l>a)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<n.length;o++){var a=n[o],s=a&&a.shape,l=a&&a.type;if(s&&("sector"===l&&s.startAngle===s.endAngle||"rect"===l&&(!s.width||!s.height))){for(var u=0;u<r.length;u++)r[u][2]=i[r[u][0]],i[r[u][0]]=r[u][1];t=!0;break}}if(e.apply(this,arguments),t)for(u=0;u<r.length;u++)i[r[u][0]]=r[u][2]}:e}e.exports=o},"84d0":function(e,t,n){var i=n("cbe1");function r(e){var t={};e.eachSeriesByType("map",(function(n){var r=n.getMapType();if(!n.getHostGeoModel()&&!t[r]){var o={};i.each(n.seriesGroup,(function(t){var n=t.coordinateSystem,i=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&i.each(i.mapDimension("value"),(function(e,t){var r=i.getName(t),a=n.getRegion(r);if(a&&!isNaN(e)){var s=o[r]||0,l=n.dataToPoint(a.center);o[r]=s+1,i.setItemLayout(t,{point:l,offset:s})}}))}));var a=n.getData();a.each((function(e){var t=a.getName(e),n=a.getItemLayout(e)||{};n.showLabel=!o[t],a.setItemLayout(e,n)})),t[r]=!0}}))}e.exports=r},"84d3":function(e,t,n){var i=n("cbe1"),r=i.createHashMap,o=i.each;function a(e){var t=r();e.eachSeries((function(e){var n=e.get("stack");if(n){var i=t.get(n)||t.set(n,[]),r=e.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:e};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),t.each(s)}function s(e){o(e,(function(t,n){var i=[],r=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=a.map(o,(function(o,l,u){var c,h,d=a.get(t.stackedDimension,u);if(isNaN(d))return r;s?h=a.getRawIndex(u):c=a.get(t.stackedByDimension,u);for(var f=NaN,p=n-1;p>=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<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function I(e,t,n){return t&&M(e.prototype,t),n&&M(e,n),e}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var T,D=o.win,P=o.browser,C=o.raf,O=o.events;t.ActionName=T,T||(t.ActionName=T={});var k=function(){function e(){var t=this;S(this,e),A(this,"id","__interact_scope_".concat(Math.floor(100*Math.random()))),A(this,"listenerMaps",[]),A(this,"browser",P),A(this,"events",O),A(this,"utils",o),A(this,"defaults",o.clone(a["default"])),A(this,"Eventable",s["default"]),A(this,"actions",{names:[],methodDict:{},eventTypes:[]}),A(this,"InteractEvent",c["default"]),A(this,"Interactable",void 0),A(this,"interactables",new u["default"](this)),A(this,"_win",void 0),A(this,"document",void 0),A(this,"window",void 0),A(this,"documents",[]),A(this,"_plugins",{list:[],map:{}}),A(this,"onWindowUnload",(function(e){return t.removeDocument(e.target)}));var n=this;this.Interactable=function(e){function t(){return S(this,t),v(this,_(t).apply(this,arguments))}return b(t,e),I(t,[{key:"set",value:function(e){return y(_(t.prototype),"set",this).call(this,e),n.fire("interactable:set",{options:e,interactable:this}),this}},{key:"unset",value:function(){y(_(t.prototype),"unset",this).call(this);for(var e=n.interactions.list.length-1;e>=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;n<this.listenerMaps.length;n++){var i;i=this.listenerMaps[n];var r=i,o=r.map[e];if(o&&!1===o(t,this,e))return!1}}},{key:"init",value:function(e){return L(this,e)}},{key:"pluginIsInstalled",value:function(e){return this._plugins.map[e.id]||-1!==this._plugins.list.indexOf(e)}},{key:"usePlugin",value:function(e,t){if(this.pluginIsInstalled(e))return this;if(e.id&&(this._plugins.map[e.id]=e),this._plugins.list.push(e),e.install&&e.install(this,t),e.listeners&&e.before){for(var n=0;n<this.listenerMaps.length;n++){var i=this.listenerMaps[n].id;if(i===e.before)break}this.listenerMaps.splice(n,0,{id:e.id,map:e.listeners})}else e.listeners&&this.listenerMaps.push({id:e.id,map:e.listeners});return this}},{key:"addDocument",value:function(e,t){if(-1!==this.getDocIndex(e))return!1;var n=D.getWindow(e);t=t?o.extend({},t):{},this.documents.push({doc:e,options:t}),O.documents.push(e),e!==this.document&&O.add(n,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:e,window:n,scope:this,options:t})}},{key:"removeDocument",value:function(e){var t=this.getDocIndex(e),n=D.getWindow(e),i=this.documents[t].options;O.remove(n,"unload",this.onWindowUnload),this.documents.splice(t,1),O.documents.splice(t,1),this.fire("scope:remove-document",{doc:e,window:n,scope:this,options:i})}},{key:"getDocIndex",value:function(e){for(var t=0;t<this.documents.length;t++)if(this.documents[t].doc===e)return t;return-1}},{key:"getDocOptions",value:function(e){var t=this.getDocIndex(e);return-1===t?null:this.documents[t].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),e}();function L(e,t){return D.init(t),i["default"].init(t),P.init(t),C.init(t),O.init(t),e.usePlugin(h["default"]),e.document=t.document,e.window=t,e}t.Scope=k})),n=e((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=d(j),o=d(r),a=d(It),s=h(Me),l=d(i({})),u=d(xr);function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!==f(e)&&"function"!==typeof e)return{default:e};var t=c();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 d(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="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},f(e)}function p(e,t){return m(e)||v(e,t)||g()}function g(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function v(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){r=!0,o=l}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw o}}return n}}function m(e){if(Array.isArray(e))return e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _(e,t,n){return t&&x(e.prototype,t),n&&x(e,n),e}function b(e,t){return!t||"object"!==f(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}function M(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&&I(e,t)}function I(e,t){return I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},I(e,t)}var A=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function T(e){for(var t={},i=0;i<A.length;i++){var r;r=A[i];var a=r;t[a]=D(a,e)}var s,u=n["default"].pEventTypes;function c(){for(var t=0;t<e.interactions.list.length;t++){var n;n=e.interactions.list[t];var i=n;if(i.pointerIsDown&&"touch"===i.pointerType&&!i._interacting)for(var r=function(){a=i.pointers[o];var t=a;e.documents.some((function(e){var n=e.doc;return(0,K.nodeContains)(n,t.downTarget)}))||i.removePointer(t.pointer,t.event)},o=0;o<i.pointers.length;o++){var a;r()}}}s=o["default"].PointerEvent?[{type:u.down,listener:c},{type:u.down,listener:t.pointerDown},{type:u.move,listener:t.pointerMove},{type:u.up,listener:t.pointerUp},{type:u.cancel,listener:t.pointerUp}]:[{type:"mousedown",listener:t.pointerDown},{type:"mousemove",listener:t.pointerMove},{type:"mouseup",listener:t.pointerUp},{type:"touchstart",listener:c},{type:"touchstart",listener:t.pointerDown},{type:"touchmove",listener:t.pointerMove},{type:"touchend",listener:t.pointerUp},{type:"touchcancel",listener:t.pointerUp}],s.push({type:"blur",listener:function(t){for(var n=0;n<e.interactions.list.length;n++){var i;i=e.interactions.list[n];var r=i;r.documentBlur(t)}}}),e.prevTouchTime=0,e.Interaction=function(t){function n(){return y(this,n),b(this,S(n).apply(this,arguments))}return M(n,t),_(n,[{key:"_now",value:function(){return e.now()}},{key:"pointerMoveTolerance",get:function(){return e.interactions.pointerMoveTolerance},set:function(t){e.interactions.pointerMoveTolerance=t}}]),n}(l["default"]),e.interactions={list:[],new:function(t){t.scopeFire=function(t,n){return e.fire(t,n)};var n=new e.Interaction(t);return e.interactions.list.push(n),n},listeners:t,docEvents:s,pointerMoveTolerance:1}}function D(e,t){return function(i){var r=t.interactions.list,o=s.getPointerType(i),a=s.getEventTargets(i),l=p(a,2),u=l[0],c=l[1],h=[];if(/^touch/.test(i.type)){t.prevTouchTime=t.now();for(var d=0;d<i.changedTouches.length;d++){var f;f=i.changedTouches[d];var g=f,v=g,m=s.getPointerId(v),y={pointer:v,pointerId:m,pointerType:o,eventType:i.type,eventTarget:u,curEventTarget:c,scope:t},x=P(y);h.push([y.pointer,y.eventTarget,y.curEventTarget,x])}}else{var _=!1;if(!n["default"].supportsPointerEvent&&/mouse/.test(i.type)){for(var b=0;b<r.length&&!_;b++)_="mouse"!==r[b].pointerType&&r[b].pointerIsDown;_=_||t.now()-t.prevTouchTime<500||0===i.timeStamp}if(!_){var w={pointer:i,pointerId:s.getPointerId(i),pointerType:o,eventType:i.type,curEventTarget:c,eventTarget:u,scope:t},S=P(w);h.push([w.pointer,w.eventTarget,w.curEventTarget,S])}}for(var M=0;M<h.length;M++){var I=p(h[M],4),A=I[0],T=I[1],D=I[2],C=I[3];C[e](A,i,T,D)}}}function P(e){var t=e.pointerType,n=e.scope,i=u["default"].search(e),r={interaction:i,searchDetails:e};return n.fire("interactions:find",r),r.interaction||n.interactions["new"]({pointerType:t})}function C(e,t){var n=e.doc,i=e.scope,r=e.options,o=i.interactions.docEvents,s=a["default"][t];for(var l in i.browser.isIOS&&!r.events&&(r.events={passive:!1}),a["default"].delegatedEvents)s(n,l,a["default"].delegateListener),s(n,l,a["default"].delegateUseCapture,!0);for(var u=r&&r.events,c=0;c<o.length;c++){var h;h=o[c];var d=h,f=d.type,p=d.listener;s(n,f,p,u)}}var O={id:"core/interactions",install:T,listeners:{"scope:add-document":function(e){return C(e,"add")},"scope:remove-document":function(e){return C(e,"remove")}},onDocSignal:C,doOnInteractions:D,methodNames:A};t["default"]=O})),i=e((function(e,n){"use strict";function i(e){return i="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},i(e)}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PointerInfo",{enumerable:!0,get:function(){return l["default"]}}),n["default"]=n.Interaction=n._ProxyMethods=n._ProxyValues=void 0;var r,o,a=d(_n),s=d(qi),l=c(gr),u=t({});function c(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function d(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var t=h();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n["default"]=e,t&&t.set(e,n),n}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function g(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n._ProxyValues=r,function(e){e["interactable"]="",e["element"]="",e["prepared"]="",e["pointerIsDown"]="",e["pointerWasMoved"]="",e["_proxy"]=""}(r||(n._ProxyValues=r={})),n._ProxyMethods=o,function(e){e["start"]="",e["move"]="",e["end"]="",e["stop"]="",e["interacting"]=""}(o||(n._ProxyMethods=o={}));var m=function(){function e(t){var n=this,i=t.pointerType,s=t.scopeFire;f(this,e),v(this,"interactable",null),v(this,"element",null),v(this,"rect",void 0),v(this,"edges",void 0),v(this,"_scopeFire",void 0),v(this,"prepared",{name:null,axis:null,edges:null}),v(this,"pointerType",void 0),v(this,"pointers",[]),v(this,"downEvent",null),v(this,"downPointer",{}),v(this,"_latestPointer",{pointer:null,event:null,eventTarget:null}),v(this,"prevEvent",null),v(this,"pointerIsDown",!1),v(this,"pointerWasMoved",!1),v(this,"_interacting",!1),v(this,"_ending",!1),v(this,"_stopped",!0),v(this,"_proxy",null),v(this,"simulation",null),v(this,"doMove",a.warnOnce((function(e){this.move(e)}),"The interaction.doMove() method has been renamed to interaction.move()")),v(this,"coords",{start:a.pointer.newCoords(),prev:a.pointer.newCoords(),cur:a.pointer.newCoords(),delta:a.pointer.newCoords(),velocity:a.pointer.newCoords()}),this._scopeFire=s,this.pointerType=i;var l=this;this._proxy={};var u=function(e){Object.defineProperty(n._proxy,e,{get:function(){return l[e]}})};for(var c in r)u(c);var h=function(e){Object.defineProperty(n._proxy,e,{value:function(){return l[e].apply(l,arguments)}})};for(var d in o)h(d);this._scopeFire("interactions:new",{interaction:this})}return g(e,[{key:"pointerMoveTolerance",get:function(){return 1}}]),g(e,[{key:"pointerDown",value:function(e,t,n){var i=this.updatePointer(e,t,n,!0);this._scopeFire("interactions:down",{pointer:e,event:t,eventTarget:n,pointerIndex:i,type:"down",interaction:this})}},{key:"start",value:function(e,t,n){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(e.name===u.ActionName.Gesture?2:1)||!t.options[e.name].enabled)&&(a.copyAction(this.prepared,e),this.interactable=t,this.element=n,this.rect=t.getRect(n),this.edges=this.prepared.edges,this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:s.EventPhase.Start})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(e,t,n){this.simulation||this.modifiers&&this.modifiers.endPrevented||(this.updatePointer(e,t,n,!1),a.pointer.setCoords(this.coords.cur,this.pointers.map((function(e){return e.pointer})),this._now()));var i,r,o=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(i=this.coords.cur.client.x-this.coords.start.client.x,r=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=a.hypot(i,r)>this.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<t.length;n++){var i;i=t[n];var r=i;e.push(r)}return e}function f(e){return d([],e)}function p(e,t){for(var n=0;n<e.length;n++)if(t(e[n],n,e))return n;return-1}function g(e,t){return e[p(e,t)]}Object.defineProperty(u,"__esModule",{value:!0}),u.contains=c,u.remove=h,u.merge=d,u.from=f,u.findIndex=p,u.find=g;var v={};Object.defineProperty(v,"__esModule",{value:!0}),v["default"]=void 0;var m=function(e){return!(!e||!e.Window)&&e instanceof e.Window};v["default"]=m;var y={};Object.defineProperty(y,"__esModule",{value:!0}),y.init=w,y.getWindow=S,y["default"]=void 0;var x=_(v);function _(e){return e&&e.__esModule?e:{default:e}}var b={realWindow:void 0,window:void 0,getWindow:S,init:w};function w(e){b.realWindow=e;var t=e.document.createTextNode("");t.ownerDocument!==e.document&&"function"===typeof e.wrap&&e.wrap(t)===t&&(e=e.wrap(e)),b.window=e}function S(e){if((0,x["default"])(e))return e;var t=e.ownerDocument||e;return t.defaultView||b.window}"undefined"===typeof window?(b.window=void 0,b.realWindow=void 0):w(window),b.init=w;var M=b;y["default"]=M;var I={};Object.defineProperty(I,"__esModule",{value:!0}),I.array=I.plainObject=I.element=I.string=I.bool=I.number=I.func=I.object=I.docFrag=I.window=void 0;var A=D(v),T=D(y);function D(e){return e&&e.__esModule?e:{default:e}}function P(e){return P="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}var C=function(e){return e===T["default"].window||(0,A["default"])(e)};I.window=C;var O=function(e){return k(e)&&11===e.nodeType};I.docFrag=O;var k=function(e){return!!e&&"object"===P(e)};I.object=k;var L=function(e){return"function"===typeof e};I.func=L;var E=function(e){return"number"===typeof e};I.number=E;var R=function(e){return"boolean"===typeof e};I.bool=R;var z=function(e){return"string"===typeof e};I.string=z;var N=function(e){if(!e||"object"!==P(e))return!1;var t=T["default"].getWindow(e)||T["default"].window;return/object|function/.test(P(t.Element))?e instanceof t.Element:1===e.nodeType&&"string"===typeof e.nodeName};I.element=N;var B=function(e){return k(e)&&!!e.constructor&&/function Object\b/.test(e.constructor.toString())};I.plainObject=B;var V=function(e){return k(e)&&"undefined"!==typeof e.length&&L(e.splice)};I.array=V;var j={};function F(e){return F="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},F(e)}Object.defineProperty(j,"__esModule",{value:!0}),j["default"]=void 0;var W=Z(r),G=Y(I),H=Z(y);function U(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return U=function(){return e},e}function Y(e){if(e&&e.__esModule)return e;if(null===e||"object"!==F(e)&&"function"!==typeof e)return{default:e};var t=U();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 Z(e){return e&&e.__esModule?e:{default:e}}var X={init:q,supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null};function q(e){var t=W["default"].Element,n=H["default"].window.navigator;X.supportsTouch="ontouchstart"in e||G.func(e.DocumentTouch)&&W["default"].document instanceof e.DocumentTouch,X.supportsPointerEvent=!1!==n.pointerEnabled&&!!W["default"].PointerEvent,X.isIOS=/iP(hone|od|ad)/.test(n.platform),X.isIOS7=/iP(hone|od|ad)/.test(n.platform)&&/OS 7[^\d]/.test(n.appVersion),X.isIe9=/MSIE 9/.test(n.userAgent),X.isOperaMobile="Opera"===n.appName&&X.supportsTouch&&/Presto/.test(n.userAgent),X.prefixedMatchesSelector="matches"in t.prototype?"matches":"webkitMatchesSelector"in t.prototype?"webkitMatchesSelector":"mozMatchesSelector"in t.prototype?"mozMatchesSelector":"oMatchesSelector"in t.prototype?"oMatchesSelector":"msMatchesSelector",X.pEventTypes=X.supportsPointerEvent?W["default"].PointerEvent===e.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,X.wheelEvent="onmousewheel"in W["default"].document?"mousewheel":"wheel"}var $=X;j["default"]=$;var K={};function J(e){return J="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},J(e)}Object.defineProperty(K,"__esModule",{value:!0}),K.nodeContains=ae,K.closest=se,K.parentNode=le,K.matchesSelector=ue,K.indexOfDeepestElement=he,K.matchesUpTo=de,K.getActualElement=fe,K.getScrollXY=pe,K.getElementClientRect=ge,K.getElementRect=ve,K.getPath=me,K.trySelector=ye;var Q=oe(j),ee=oe(r),te=re(I),ne=re(y);function ie(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return ie=function(){return e},e}function re(e){if(e&&e.__esModule)return e;if(null===e||"object"!==J(e)&&"function"!==typeof e)return{default:e};var t=ie();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 oe(e){return e&&e.__esModule?e:{default:e}}function ae(e,t){while(t){if(t===e)return!0;t=t.parentNode}return!1}function se(e,t){while(te.element(e)){if(ue(e,t))return e;e=le(e)}return null}function le(e){var t=e.parentNode;if(te.docFrag(t)){while((t=t.host)&&te.docFrag(t));return t}return t}function ue(e,t){return ne["default"].window!==ne["default"].realWindow&&(t=t.replace(/\/deep\//g," ")),e[Q["default"].prefixedMatchesSelector](t)}var ce=function(e){return e.parentNode?e.parentNode:e.host};function he(e){var t,n,i=[],r=e[0],o=r?0:-1;for(t=1;t<e.length;t++){var a=e[t];if(a&&a!==r)if(r){if(a.parentNode!==a.ownerDocument)if(r.parentNode!==a.ownerDocument)if(a.parentNode!==r.parentNode){if(!i.length){var s=r,l=void 0;while((l=ce(s))&&l!==s.ownerDocument)i.unshift(s),s=l}var u=void 0;if(r instanceof ee["default"].HTMLElement&&a instanceof ee["default"].SVGElement&&!(a instanceof ee["default"].SVGSVGElement)){if(a===r.parentNode)continue;u=a.ownerSVGElement}else u=a;var c=[];while(u.parentNode!==u.ownerDocument)c.unshift(u),u=ce(u);n=0;while(c[n]&&c[n]===i[n])n++;var h=[c[n-1],c[n],i[n]],d=h[0].lastChild;while(d){if(d===h[1]){r=a,o=t,i=c;break}if(d===h[2])break;d=d.previousSibling}}else{var f=parseInt((0,ne.getWindow)(r).getComputedStyle(r).zIndex,10)||0,p=parseInt((0,ne.getWindow)(a).getComputedStyle(a).zIndex,10)||0;p>=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;n<e.length;n++){var i;i=e[n];var r=i;for(var o in t)t[o]+=r[o]}for(var a in t)t[a]/=e.length;return t}function Ze(e){if(!e.length&&!(e.touches&&e.touches.length>1))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<e.length;t++)n[t]=e[t];return n}}function ft(e,t,n){return"parent"===e?(0,K.parentNode)(n):"self"===e?t.getRect(n):(0,K.closest)(n,e)}function pt(e,t,n,i){return ot.string(e)?e=ft(e,t,n):ot.func(e)&&(e=e.apply(void 0,ut(i))),ot.element(e)&&(e=(0,K.getElementRect)(e)),e}function gt(e){return e&&{x:"x"in e?e.x:e.left,y:"y"in e?e.y:e.top}}function vt(e){return!e||"left"in e&&"top"in e||(e=(0,rt["default"])({},e),e.left=e.x||0,e.top=e.y||0,e.right=e.right||e.left+e.width,e.bottom=e.bottom||e.top+e.height),e}function mt(e){return!e||"x"in e&&"y"in e||(e=(0,rt["default"])({},e),e.x=e.left||0,e.y=e.top||0,e.width=e.width||e.right-e.x,e.height=e.height||e.bottom-e.y),e}var yt={};function xt(e){return xt="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},xt(e)}Object.defineProperty(yt,"__esModule",{value:!0}),yt["default"]=Mt;var _t=St(u),bt=St(I);function wt(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return wt=function(){return e},e}function St(e){if(e&&e.__esModule)return e;if(null===e||"object"!==xt(e)&&"function"!==typeof e)return{default:e};var t=wt();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 Mt(e){var t={};for(var n in e){var i=e[n];bt.plainObject(i)?t[n]=Mt(i):bt.array(i)?t[n]=_t.from(i):t[n]=i}return t}var It={};function At(e){return At="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},At(e)}Object.defineProperty(It,"__esModule",{value:!0}),It["default"]=It.FakeEvent=void 0;var Tt=Lt(K),Dt=Lt(I),Pt=Ot(be),Ct=Lt(Me);function Ot(e){return e&&e.__esModule?e:{default:e}}function kt(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return kt=function(){return e},e}function Lt(e){if(e&&e.__esModule)return e;if(null===e||"object"!==At(e)&&"function"!==typeof e)return{default:e};var t=kt();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 Et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function zt(e,t,n){return t&&Rt(e.prototype,t),n&&Rt(e,n),e}function Nt(e,t){return jt(e)||Vt(e,t)||Bt()}function Bt(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Vt(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){r=!0,o=l}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw o}}return n}}function jt(e){if(Array.isArray(e))return e}function Ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wt=[],Gt=[],Ht={},Ut=[];function Yt(e,t,n,i){var r=Jt(i),o=Wt.indexOf(e),a=Gt[o];a||(a={events:{},typeCount:0},o=Wt.push(e)-1,Gt.push(a)),a.events[t]||(a.events[t]=[],a.typeCount++),(0,u.contains)(a.events[t],n)||(e.addEventListener(t,n,en.supportsOptions?r:!!r.capture),a.events[t].push(n))}function Zt(e,t,n,i){var r=Jt(i),o=Wt.indexOf(e),a=Gt[o];if(a&&a.events)if("all"!==t){if(a.events[t]){var s=a.events[t].length;if("all"===n){for(var l=0;l<s;l++)Zt(e,t,a.events[t][l],r);return}for(var u=0;u<s;u++)if(a.events[t][u]===n){e.removeEventListener(t,n,en.supportsOptions?r:!!r.capture),a.events[t].splice(u,1);break}a.events[t]&&0===a.events[t].length&&(a.events[t]=null,a.typeCount--)}a.typeCount||(Gt.splice(o,1),Wt.splice(o,1))}else for(t in a.events)a.events.hasOwnProperty(t)&&Zt(e,t,"all")}function Xt(e,t,n,i,r){var o=Jt(r);if(!Ht[n]){Ht[n]={contexts:[],listeners:[],selectors:[]};for(var a=0;a<Ut.length;a++){var s;s=Ut[a];var l=s;Yt(l,n,$t),Yt(l,n,Kt,!0)}}var u,c=Ht[n];for(u=c.selectors.length-1;u>=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;u<r.selectors.length;u++){var c=r.selectors[u],h=r.contexts[u];if(Tt.matchesSelector(l,c)&&Tt.nodeContains(h,s)&&Tt.nodeContains(h,l)){var d=r.listeners[u];i.currentTarget=l;for(var f=0;f<d.length;f++){var p;p=d[f];var g=p,v=Nt(g,3),m=v[0],y=v[1],x=v[2];y===!!n.capture&&x===n.passive&&m(i)}}}l=Tt.parentNode(l)}}function Kt(e){return $t.call(this,e,!0)}function Jt(e){return Dt.object(e)?e:{capture:e}}var Qt=function(){function e(t){Et(this,e),this.originalEvent=t,Ft(this,"currentTarget",void 0),(0,Pt["default"])(this,t)}return zt(e,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),e}();It.FakeEvent=Qt;var en={add:Yt,remove:Zt,addDelegate:Xt,removeDelegate:qt,delegateListener:$t,delegateUseCapture:Kt,delegatedEvents:Ht,documents:Ut,supportsOptions:!1,supportsPassive:!1,_elements:Wt,_targets:Gt,init:function(e){e.document.createElement("div").addEventListener("test",null,{get capture(){return en.supportsOptions=!0},get passive(){return en.supportsPassive=!0}})}},tn=en;It["default"]=tn;var nn={};function rn(e,t,n){var i=e.options[n],r=i&&i.origin,o=r||e.options.origin,a=(0,nt.resolveRectLike)(o,e,t,[e&&t]);return(0,nt.rectToXY)(a)||{x:0,y:0}}Object.defineProperty(nn,"__esModule",{value:!0}),nn["default"]=rn;var on={};function an(e){return an="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},an(e)}Object.defineProperty(on,"__esModule",{value:!0}),on["default"]=dn;var sn=hn(et),ln=cn(I);function un(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return un=function(){return e},e}function cn(e){if(e&&e.__esModule)return e;if(null===e||"object"!==an(e)&&"function"!==typeof e)return{default:e};var t=un();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 hn(e){return e&&e.__esModule?e:{default:e}}function dn(e,t,n){if(n=n||{},ln.string(e)&&-1!==e.search(" ")&&(e=fn(e)),ln.array(e))return e.reduce((function(e,i){return(0,sn["default"])(e,dn(i,t,n))}),n);if(ln.object(e)&&(t=e,e=""),ln.func(t))n[e]=n[e]||[],n[e].push(t);else if(ln.array(t))for(var i=0;i<t.length;i++){var r;r=t[i];var o=r;dn(e,o,n)}else if(ln.object(t))for(var a in t){var s=fn(a).map((function(t){return"".concat(e).concat(t)}));dn(s,t[a],n)}return n}function fn(e){return e.trim().split(/ +/)}var pn={};Object.defineProperty(pn,"__esModule",{value:!0}),pn["default"]=void 0;var gn,vn,mn=0;function yn(e){if(gn=e.requestAnimationFrame,vn=e.cancelAnimationFrame,!gn)for(var t=["ms","moz","webkit","o"],n=0;n<t.length;n++){var i=t[n];gn=e["".concat(i,"RequestAnimationFrame")],vn=e["".concat(i,"CancelAnimationFrame")]||e["".concat(i,"CancelRequestAnimationFrame")]}gn||(gn=function(e){var t=Date.now(),n=Math.max(0,16-(t-mn)),i=setTimeout((function(){e(t+n)}),n);return mn=t+n,i},vn=function(e){return clearTimeout(e)})}var xn={request:function(e){return gn(e)},cancel:function(e){return vn(e)},init:yn};pn["default"]=xn;var _n={};function bn(e){return bn="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},bn(e)}Object.defineProperty(_n,"__esModule",{value:!0}),_n.warnOnce=Vn,_n._getQBezierValue=jn,_n.getQuadraticCurvePoint=Fn,_n.easeOutQuad=Wn,_n.copyAction=Gn,Object.defineProperty(_n,"win",{enumerable:!0,get:function(){return Tn["default"]}}),Object.defineProperty(_n,"browser",{enumerable:!0,get:function(){return Dn["default"]}}),Object.defineProperty(_n,"clone",{enumerable:!0,get:function(){return Pn["default"]}}),Object.defineProperty(_n,"events",{enumerable:!0,get:function(){return Cn["default"]}}),Object.defineProperty(_n,"extend",{enumerable:!0,get:function(){return On["default"]}}),Object.defineProperty(_n,"getOriginXY",{enumerable:!0,get:function(){return kn["default"]}}),Object.defineProperty(_n,"hypot",{enumerable:!0,get:function(){return Ln["default"]}}),Object.defineProperty(_n,"normalizeListeners",{enumerable:!0,get:function(){return En["default"]}}),Object.defineProperty(_n,"raf",{enumerable:!0,get:function(){return Rn["default"]}}),_n.rect=_n.pointer=_n.is=_n.dom=_n.arr=void 0;var wn=Bn(u);_n.arr=wn;var Sn=Bn(K);_n.dom=Sn;var Mn=Bn(I);_n.is=Mn;var In=Bn(Me);_n.pointer=In;var An=Bn(nt);_n.rect=An;var Tn=zn(y),Dn=zn(j),Pn=zn(yt),Cn=zn(It),On=zn(et),kn=zn(nn),Ln=zn(xe),En=zn(on),Rn=zn(pn);function zn(e){return e&&e.__esModule?e:{default:e}}function Nn(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Nn=function(){return e},e}function Bn(e){if(e&&e.__esModule)return e;if(null===e||"object"!==bn(e)&&"function"!==typeof e)return{default:e};var t=Nn();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 Vn(e,t){var n=!1;return function(){return n||(Tn["default"].window.console.warn(t),n=!0),e.apply(this,arguments)}}function jn(e,t,n,i){var r=1-e;return r*r*t+2*r*e*n+e*e*i}function Fn(e,t,n,i,r,o,a){return{x:jn(a,e,n,r),y:jn(a,t,i,o)}}function Wn(e,t,n,i){return e/=i,-n*e*(e-2)+t}function Gn(e,t){return e.name=t.name,e.axis=t.axis,e.edges=t.edges,e}var Hn={};Object.defineProperty(Hn,"__esModule",{value:!0}),Hn["default"]=Hn.defaults=void 0;var Un={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}};Hn.defaults=Un;var Yn=Un;Hn["default"]=Yn;var Zn={};function Xn(e){return Xn="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},Xn(e)}Object.defineProperty(Zn,"__esModule",{value:!0}),Zn["default"]=void 0;var qn=ei(u),$n=Jn(et),Kn=Jn(on);function Jn(e){return e&&e.__esModule?e:{default:e}}function Qn(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Qn=function(){return e},e}function ei(e){if(e&&e.__esModule)return e;if(null===e||"object"!==Xn(e)&&"function"!==typeof e)return{default:e};var t=Qn();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 ti(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ni(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ii(e,t,n){return t&&ni(e.prototype,t),n&&ni(e,n),e}function ri(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oi(e,t){for(var n=0;n<t.length;n++){var i;i=t[n];var r=i;if(e.immediatePropagationStopped)break;r(e)}}var ai=function(){function e(t){ti(this,e),ri(this,"options",void 0),ri(this,"types",{}),ri(this,"propagationStopped",!1),ri(this,"immediatePropagationStopped",!1),ri(this,"global",void 0),this.options=(0,$n["default"])({},t||{})}return ii(e,[{key:"fire",value:function(e){var t,n=this.global;(t=this.types[e.type])&&oi(e,t),!e.propagationStopped&&n&&(t=n[e.type])&&oi(e,t)}},{key:"on",value:function(e,t){var n=(0,Kn["default"])(e,t);for(e in n)this.types[e]=qn.merge(this.types[e]||[],n[e])}},{key:"off",value:function(e,t){var n=(0,Kn["default"])(e,t);for(e in n){var i=this.types[e];if(i&&i.length)for(var r=0;r<n[e].length;r++){var o;o=n[e][r];var a=o,s=i.indexOf(a);-1!==s&&i.splice(s,1)}}}},{key:"getRect",value:function(e){return null}}]),e}(),si=ai;Zn["default"]=si;var li={};function ui(e){return ui="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},ui(e)}Object.defineProperty(li,"__esModule",{value:!0}),li["default"]=li.Interactable=void 0;var ci=_i(u),hi=yi(j),di=yi(yt),fi=yi(It),pi=yi(et),gi=_i(I),vi=yi(on),mi=yi(Zn);function yi(e){return e&&e.__esModule?e:{default:e}}function xi(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return xi=function(){return e},e}function _i(e){if(e&&e.__esModule)return e;if(null===e||"object"!==ui(e)&&"function"!==typeof e)return{default:e};var t=xi();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 bi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wi(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Si(e,t,n){return t&&wi(e.prototype,t),n&&wi(e,n),e}function Mi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ii=function(){function e(t,n,i){bi(this,e),Mi(this,"options",void 0),Mi(this,"_actions",void 0),Mi(this,"target",void 0),Mi(this,"events",new mi["default"]),Mi(this,"_context",void 0),Mi(this,"_win",void 0),Mi(this,"_doc",void 0),this._actions=n.actions,this.target=t,this._context=n.context||i,this._win=(0,y.getWindow)((0,K.trySelector)(t)?this._context:t),this._doc=this._win.document,this.set(n)}return Si(e,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}}]),Si(e,[{key:"setOnEvents",value:function(e,t){return gi.func(t.onstart)&&this.on("".concat(e,"start"),t.onstart),gi.func(t.onmove)&&this.on("".concat(e,"move"),t.onmove),gi.func(t.onend)&&this.on("".concat(e,"end"),t.onend),gi.func(t.oninertiastart)&&this.on("".concat(e,"inertiastart"),t.oninertiastart),this}},{key:"updatePerActionListeners",value:function(e,t,n){(gi.array(t)||gi.object(t))&&this.off(e,t),(gi.array(n)||gi.object(n))&&this.on(e,n)}},{key:"setPerAction",value:function(e,t){var n=this._defaults;for(var i in t){var r=this.options[e],o=t[i],a=gi.array(o);"listeners"===i&&this.updatePerActionListeners(e,r.listeners,o),a?r[i]=ci.from(o):!a&&gi.plainObject(o)?(r[i]=(0,pi["default"])(r[i]||{},(0,di["default"])(o)),gi.object(n.perAction[i])&&"enabled"in n.perAction[i]&&(r[i].enabled=!1!==o.enabled)):gi.bool(o)&&gi.object(n.perAction[i])?r[i].enabled=o:r[i]=o}}},{key:"getRect",value:function(e){return e=e||(gi.element(this.target)?this.target:null),gi.string(this.target)&&(e=e||this._context.querySelector(this.target)),(0,K.getElementRect)(e)}},{key:"rectChecker",value:function(e){return gi.func(e)?(this.getRect=e,this):null===e?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(e,t){if((0,K.trySelector)(t)||gi.object(t)){this.options[e]=t;for(var n=0;n<this._actions.names.length;n++){var i;i=this._actions.names[n];var r=i;this.options[r][e]=t}return this}return this.options[e]}},{key:"origin",value:function(e){return this._backCompatOption("origin",e)}},{key:"deltaSource",value:function(e){return"page"===e||"client"===e?(this.options.deltaSource=e,this):this.options.deltaSource}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(e){return this._context===e.ownerDocument||(0,K.nodeContains)(this._context,e)}},{key:"testIgnoreAllow",value:function(e,t,n){return!this.testIgnore(e.ignoreFrom,t,n)&&this.testAllow(e.allowFrom,t,n)}},{key:"testAllow",value:function(e,t,n){return!e||!!gi.element(n)&&(gi.string(e)?(0,K.matchesUpTo)(n,e,t):!!gi.element(e)&&(0,K.nodeContains)(e,n))}},{key:"testIgnore",value:function(e,t,n){return!(!e||!gi.element(n))&&(gi.string(e)?(0,K.matchesUpTo)(n,e,t):!!gi.element(e)&&(0,K.nodeContains)(e,n))}},{key:"fire",value:function(e){return this.events.fire(e),this}},{key:"_onOff",value:function(e,t,n,i){gi.object(t)&&!gi.array(t)&&(i=n,n=null);var r="on"===e?"add":"remove",o=(0,vi["default"])(t,n);for(var a in o){"wheel"===a&&(a=hi["default"].wheelEvent);for(var s=0;s<o[a].length;s++){var l;l=o[a][s];var u=l;ci.contains(this._actions.eventTypes,a)?this.events[e](a,u):gi.string(this.target)?fi["default"]["".concat(r,"Delegate")](this.target,this._context,a,u,i):fi["default"][r](this.target,a,u,i)}}return this}},{key:"on",value:function(e,t,n){return this._onOff("on",e,t,n)}},{key:"off",value:function(e,t,n){return this._onOff("off",e,t,n)}},{key:"set",value:function(e){var t=this._defaults;for(var n in gi.object(e)||(e={}),this.options=(0,di["default"])(t.base),this._actions.methodDict){var i=this._actions.methodDict[n];this.options[n]={},this.setPerAction(n,(0,pi["default"])((0,pi["default"])({},t.perAction),t.actions[n])),this[i](e[n])}for(var r in e)gi.func(this[r])&&this[r](e[r]);return this}},{key:"unset",value:function(){if(fi["default"].remove(this.target,"all"),gi.string(this.target))for(var e in fi["default"].delegatedEvents){var t=fi["default"].delegatedEvents[e];t.selectors[0]===this.target&&t.contexts[0]===this._context&&(t.selectors.splice(0,1),t.contexts.splice(0,1),t.listeners.splice(0,1),t.selectors.length||(t[e]=null)),fi["default"].remove(this._context,e,fi["default"].delegateListener),fi["default"].remove(this._context,e,fi["default"].delegateUseCapture,!0)}else fi["default"].remove(this.target,"all")}}]),e}();li.Interactable=Ii;var Ai=Ii;li["default"]=Ai;var Ti={};function Di(e){return Di="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},Di(e)}Object.defineProperty(Ti,"__esModule",{value:!0}),Ti["default"]=void 0;var Pi=Ri(u),Ci=Ri(K),Oi=Li(et),ki=Ri(I);function Li(e){return e&&e.__esModule?e:{default:e}}function Ei(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Ei=function(){return e},e}function Ri(e){if(e&&e.__esModule)return e;if(null===e||"object"!==Di(e)&&"function"!==typeof e)return{default:e};var t=Ei();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 zi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ni(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Bi(e,t,n){return t&&Ni(e.prototype,t),n&&Ni(e,n),e}function Vi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ji=function(){function e(t){var n=this;zi(this,e),this.scope=t,Vi(this,"list",[]),Vi(this,"selectorMap",{}),t.addListeners({"interactable:unset":function(e){var t=e.interactable,i=t.target,r=t._context,o=ki.string(i)?n.selectorMap[i]:i[n.scope.id],a=o.findIndex((function(e){return e.context===r}));o[a]&&(o[a].context=null,o[a].interactable=null),o.splice(a,1)}})}return Bi(e,[{key:"new",value:function(e,t){t=(0,Oi["default"])(t||{},{actions:this.scope.actions});var n=new this.scope.Interactable(e,t,this.scope.document),i={context:n._context,interactable:n};return this.scope.addDocument(n._doc),this.list.push(n),ki.string(e)?(this.selectorMap[e]||(this.selectorMap[e]=[]),this.selectorMap[e].push(i)):(n.target[this.scope.id]||Object.defineProperty(e,this.scope.id,{value:[],configurable:!0}),e[this.scope.id].push(i)),this.scope.fire("interactable:new",{target:e,options:t,interactable:n,win:this.scope._win}),n}},{key:"get",value:function(e,t){var n=t&&t.context||this.scope.document,i=ki.string(e),r=i?this.selectorMap[e]:e[this.scope.id];if(!r)return null;var o=Pi.find(r,(function(t){return t.context===n&&(i||t.interactable.inContext(e))}));return o&&o.interactable}},{key:"forEachMatch",value:function(e,t){for(var n=0;n<this.list.length;n++){var i;i=this.list[n];var r=i,o=void 0;if((ki.string(r.target)?ki.element(e)&&Ci.matchesSelector(e,r.target):e===r.target)&&r.inContext(e)&&(o=t(r)),void 0!==o)return o}}}]),e}();Ti["default"]=ji;var Fi,Wi={};function Gi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hi(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ui(e,t,n){return t&&Hi(e.prototype,t),n&&Hi(e,n),e}function Yi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(Wi,"__esModule",{value:!0}),Wi["default"]=Wi.BaseEvent=Wi.EventPhase=void 0,Wi.EventPhase=Fi,function(e){e["Start"]="start",e["Move"]="move",e["End"]="end",e["_NONE"]=""}(Fi||(Wi.EventPhase=Fi={}));var Zi=function(){function e(t){Gi(this,e),Yi(this,"type",void 0),Yi(this,"target",void 0),Yi(this,"currentTarget",void 0),Yi(this,"interactable",void 0),Yi(this,"_interaction",void 0),Yi(this,"timeStamp",void 0),Yi(this,"immediatePropagationStopped",!1),Yi(this,"propagationStopped",!1),this._interaction=t}return Ui(e,[{key:"interaction",get:function(){return this._interaction._proxy}}]),Ui(e,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),e}();Wi.BaseEvent=Zi;var Xi=Zi;Wi["default"]=Xi;var qi={};Object.defineProperty(qi,"__esModule",{value:!0}),qi["default"]=qi.InteractEvent=qi.EventPhase=void 0;var $i,Ki=nr(et),Ji=nr(nn),Qi=nr(xe),er=nr(Wi),tr=nr(Hn);function nr(e){return e&&e.__esModule?e:{default:e}}function ir(e){return ir="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},ir(e)}function rr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function or(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ar(e,t,n){return t&&or(e.prototype,t),n&&or(e,n),e}function sr(e,t){return!t||"object"!==ir(t)&&"function"!==typeof t?ur(e):t}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},lr(e)}function ur(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cr(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&&hr(e,t)}function hr(e,t){return hr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},hr(e,t)}function dr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}qi.EventPhase=$i,function(e){e["Start"]="start",e["Move"]="move",e["End"]="end",e["_NONE"]=""}($i||(qi.EventPhase=$i={}));var fr=function(e){function t(e,n,i,r,o,a,s,l){var u;rr(this,t),u=sr(this,lr(t).call(this,e)),dr(ur(u),"target",void 0),dr(ur(u),"currentTarget",void 0),dr(ur(u),"relatedTarget",void 0),dr(ur(u),"screenX",void 0),dr(ur(u),"screenY",void 0),dr(ur(u),"button",void 0),dr(ur(u),"buttons",void 0),dr(ur(u),"ctrlKey",void 0),dr(ur(u),"shiftKey",void 0),dr(ur(u),"altKey",void 0),dr(ur(u),"metaKey",void 0),dr(ur(u),"page",void 0),dr(ur(u),"client",void 0),dr(ur(u),"delta",void 0),dr(ur(u),"rect",void 0),dr(ur(u),"x0",void 0),dr(ur(u),"y0",void 0),dr(ur(u),"t0",void 0),dr(ur(u),"dt",void 0),dr(ur(u),"duration",void 0),dr(ur(u),"clientX0",void 0),dr(ur(u),"clientY0",void 0),dr(ur(u),"velocity",void 0),dr(ur(u),"speed",void 0),dr(ur(u),"swipe",void 0),dr(ur(u),"timeStamp",void 0),dr(ur(u),"dragEnter",void 0),dr(ur(u),"dragLeave",void 0),dr(ur(u),"axes",void 0),dr(ur(u),"preEnd",void 0),o=o||e.element;var c=e.interactable,h=(c&&c.options||tr["default"]).deltaSource,d=(0,Ji["default"])(c,o,i),f="start"===r,p="end"===r,g=f?ur(u):e.prevEvent,v=f?e.coords.start:p?{page:g.page,client:g.client,timeStamp:e.coords.cur.timeStamp}:e.coords.cur;return u.page=(0,Ki["default"])({},v.page),u.client=(0,Ki["default"])({},v.client),u.rect=(0,Ki["default"])({},e.rect),u.timeStamp=v.timeStamp,p||(u.page.x-=d.x,u.page.y-=d.y,u.client.x-=d.x,u.client.y-=d.y),u.ctrlKey=n.ctrlKey,u.altKey=n.altKey,u.shiftKey=n.shiftKey,u.metaKey=n.metaKey,u.button=n.button,u.buttons=n.buttons,u.target=o,u.currentTarget=o,u.relatedTarget=a||null,u.preEnd=s,u.type=l||i+(r||""),u.interactable=c,u.t0=f?e.pointers[e.pointers.length-1].downTime:g.t0,u.x0=e.coords.start.page.x-d.x,u.y0=e.coords.start.page.y-d.y,u.clientX0=e.coords.start.client.x-d.x,u.clientY0=e.coords.start.client.y-d.y,u.delta=f||p?{x:0,y:0}:{x:u[h].x-g[h].x,y:u[h].y-g[h].y},u.dt=e.coords.delta.timeStamp,u.duration=u.timeStamp-u.t0,u.velocity=(0,Ki["default"])({},e.coords.velocity[h]),u.speed=(0,Qi["default"])(u.velocity.x,u.velocity.y),u.swipe=p||"inertiastart"===r?u.getSwipe():null,u}return cr(t,e),ar(t,[{key:"getSwipe",value:function(){var e=this._interaction;if(e.prevEvent.speed<600||this.timeStamp-e.prevEvent.timeStamp>150)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<Mr.methodOrder.length;t++){var n;n=Mr.methodOrder[t];var i=n,r=Mr[i](e);if(r)return r}},simulationResume:function(e){var t=e.pointerType,n=e.eventType,i=e.eventTarget,r=e.scope;if(!/down|start/i.test(n))return null;for(var o=0;o<r.interactions.list.length;o++){var a;a=r.interactions.list[o];var s=a,l=i;if(s.simulation&&s.simulation.allowResume&&s.pointerType===t)while(l){if(l===s.element)return s;l=br.parentNode(l)}}return null},mouseOrPen:function(e){var t,n=e.pointerId,i=e.pointerType,r=e.eventType,o=e.scope;if("mouse"!==i&&"pen"!==i)return null;for(var a=0;a<o.interactions.list.length;a++){var s;s=o.interactions.list[a];var l=s;if(l.pointerType===i){if(l.simulation&&!Ir(l,n))continue;if(l.interacting())return l;t||(t=l)}}if(t)return t;for(var u=0;u<o.interactions.list.length;u++){var c;c=o.interactions.list[u];var h=c;if(h.pointerType===i&&(!/down/i.test(r)||!h.simulation))return h}return null},hasPointer:function(e){for(var t=e.pointerId,n=e.scope,i=0;i<n.interactions.list.length;i++){var r;r=n.interactions.list[i];var o=r;if(Ir(o,t))return o}return null},idle:function(e){for(var t=e.pointerType,n=e.scope,i=0;i<n.interactions.list.length;i++){var r;r=n.interactions.list[i];var o=r;if(1===o.pointers.length){var a=o.interactable;if(a&&(!a.options.gesture||!a.options.gesture.enabled))continue}else if(o.pointers.length>=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);t<e.length;t++)n[t]=e[t];return n}}function Kr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jr(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Qr(e,t,n){return t&&Jr(e.prototype,t),n&&Jr(e,n),e}function eo(e,t){return!t||"object"!==Yr(t)&&"function"!==typeof t?no(e):t}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},to(e)}function no(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function io(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&&ro(e,t)}function ro(e,t){return ro=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ro(e,t)}function oo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ao=function(e){function t(e,n,i){var r;Kr(this,t),r=eo(this,to(t).call(this,n._interaction)),oo(no(r),"target",void 0),oo(no(r),"dropzone",void 0),oo(no(r),"dragEvent",void 0),oo(no(r),"relatedTarget",void 0),oo(no(r),"draggable",void 0),oo(no(r),"timeStamp",void 0),oo(no(r),"propagationStopped",!1),oo(no(r),"immediatePropagationStopped",!1);var o="dragleave"===i?e.prev:e.cur,a=o.element,s=o.dropzone;return r.type=i,r.target=a,r.currentTarget=a,r.dropzone=s,r.dragEvent=n,r.relatedTarget=n.target,r.draggable=n.interactable,r.timeStamp=n.timeStamp,r}return io(t,e),Qr(t,[{key:"reject",value:function(){var e=this,n=this._interaction.dropState;if("dropactivate"===this.type||this.dropzone&&n.cur.dropzone===this.dropzone&&n.cur.element===this.target)if(n.prev.dropzone=this.dropzone,n.prev.element=this.target,n.rejected=!0,n.events.enter=null,this.stopImmediatePropagation(),"dropactivate"===this.type){var i=n.activeDrops,r=Wr.findIndex(i,(function(t){var n=t.dropzone,i=t.element;return n===e.dropzone&&i===e.target}));n.activeDrops=[].concat(Zr(i.slice(0,r)),Zr(i.slice(r+1)));var o=new t(n,this.dragEvent,"dropdeactivate");o.dropzone=this.dropzone,o.target=this.target,this.dropzone.fire(o)}else this.dropzone.fire(new t(n,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),t}(Fr["default"]),so=ao;jr["default"]=so;var lo={};function uo(e){return uo="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},uo(e)}Object.defineProperty(lo,"__esModule",{value:!0}),lo["default"]=void 0;var co=vo(_n),ho=po(Tr),fo=po(jr);function po(e){return e&&e.__esModule?e:{default:e}}function go(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return go=function(){return e},e}function vo(e){if(e&&e.__esModule)return e;if(null===e||"object"!==uo(e)&&"function"!==typeof e)return{default:e};var t=go();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 mo(e){var t=e.actions,n=e.interact,i=e.Interactable,r=e.defaults;e.usePlugin(ho["default"]),i.prototype.dropzone=function(e){return Io(this,e)},i.prototype.dropCheck=function(e,t,n,i,r,o){return Ao(this,e,t,n,i,r,o)},n.dynamicDrop=function(t){return co.is.bool(t)?(e.dynamicDrop=t,n):e.dynamicDrop},co.arr.merge(t.eventTypes,["dragenter","dragleave","dropactivate","dropdeactivate","dropmove","drop"]),t.methodDict.drop="dropzone",e.dynamicDrop=!1,r.actions.drop=To.defaults}function yo(e,t){for(var n=e.interactables,i=[],r=0;r<n.list.length;r++){var o;o=n.list[r];var a=o;if(a.options.drop.enabled){var s=a.options.drop.accept;if(!(co.is.element(s)&&s!==t||co.is.string(s)&&!co.dom.matchesSelector(t,s)||co.is.func(s)&&!s({dropzone:a,draggableElement:t})))for(var l=co.is.string(a.target)?a._context.querySelectorAll(a.target):co.is.array(a.target)?a.target:[a.target],u=0;u<l.length;u++){var c;c=l[u];var h=c;h!==t&&i.push({dropzone:a,element:h})}}}return i}function xo(e,t){for(var n=0;n<e.length;n++){var i;i=e[n];var r=i,o=r.dropzone,a=r.element;t.dropzone=o,t.target=a,o.fire(t),t.propagationStopped=t.immediatePropagationStopped=!1}}function _o(e,t){for(var n=yo(e,t),i=0;i<n.length;i++){var r;r=n[i];var o=r;o.rect=o.dropzone.getRect(o.element)}return n}function bo(e,t,n){for(var i=e.dropState,r=e.interactable,o=e.element,a=[],s=0;s<i.activeDrops.length;s++){var l;l=i.activeDrops[s];var u=l,c=u.dropzone,h=u.element,d=u.rect;a.push(c.dropCheck(t,n,r,o,h,d)?h:null)}var f=co.dom.indexOfDeepestElement(a);return i.activeDrops[f]||null}function wo(e,t,n){var i=e.dropState,r={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return"dragstart"===n.type&&(r.activate=new fo["default"](i,n,"dropactivate"),r.activate.target=null,r.activate.dropzone=null),"dragend"===n.type&&(r.deactivate=new fo["default"](i,n,"dropdeactivate"),r.deactivate.target=null,r.deactivate.dropzone=null),i.rejected?r:(i.cur.element!==i.prev.element&&(i.prev.dropzone&&(r.leave=new fo["default"](i,n,"dragleave"),n.dragLeave=r.leave.target=i.prev.element,n.prevDropzone=r.leave.dropzone=i.prev.dropzone),i.cur.dropzone&&(r.enter=new fo["default"](i,n,"dragenter"),n.dragEnter=i.cur.element,n.dropzone=i.cur.dropzone)),"dragend"===n.type&&i.cur.dropzone&&(r.drop=new fo["default"](i,n,"drop"),n.dropzone=i.cur.dropzone,n.relatedTarget=i.cur.element),"dragmove"===n.type&&i.cur.dropzone&&(r.move=new fo["default"](i,n,"dropmove"),r.move.dragmove=n,n.dropzone=i.cur.dropzone),r)}function So(e,t){var n=e.dropState,i=n.activeDrops,r=n.cur,o=n.prev;t.leave&&o.dropzone.fire(t.leave),t.move&&r.dropzone.fire(t.move),t.enter&&r.dropzone.fire(t.enter),t.drop&&r.dropzone.fire(t.drop),t.deactivate&&xo(i,t.deactivate),n.prev.dropzone=r.dropzone,n.prev.element=r.element}function Mo(e,t){var n=e.interaction,i=e.iEvent,r=e.event;if("dragmove"===i.type||"dragend"===i.type){var o=n.dropState;t.dynamicDrop&&(o.activeDrops=_o(t,n.element));var a=i,s=bo(n,a,r);o.rejected=o.rejected&&!!s&&s.dropzone===o.cur.dropzone&&s.element===o.cur.element,o.cur.dropzone=s&&s.dropzone,o.cur.element=s&&s.element,o.events=wo(n,r,a)}}function Io(e,t){if(co.is.object(t)){if(e.options.drop.enabled=!1!==t.enabled,t.listeners){var n=co.normalizeListeners(t.listeners),i=Object.keys(n).reduce((function(e,t){var i=/^(enter|leave)/.test(t)?"drag".concat(t):/^(activate|deactivate|move)/.test(t)?"drop".concat(t):t;return e[i]=n[t],e}),{});e.off(e.options.drop.listeners),e.on(i),e.options.drop.listeners=i}return co.is.func(t.ondrop)&&e.on("drop",t.ondrop),co.is.func(t.ondropactivate)&&e.on("dropactivate",t.ondropactivate),co.is.func(t.ondropdeactivate)&&e.on("dropdeactivate",t.ondropdeactivate),co.is.func(t.ondragenter)&&e.on("dragenter",t.ondragenter),co.is.func(t.ondragleave)&&e.on("dragleave",t.ondragleave),co.is.func(t.ondropmove)&&e.on("dropmove",t.ondropmove),/^(pointer|center)$/.test(t.overlap)?e.options.drop.overlap=t.overlap:co.is.number(t.overlap)&&(e.options.drop.overlap=Math.max(Math.min(1,t.overlap),0)),"accept"in t&&(e.options.drop.accept=t.accept),"checker"in t&&(e.options.drop.checker=t.checker),e}return co.is.bool(t)?(e.options.drop.enabled=t,e):e.options.drop}function Ao(e,t,n,i,r,o,a){var s=!1;if(!(a=a||e.getRect(o)))return!!e.options.drop.checker&&e.options.drop.checker(t,n,s,e,o,i,r);var l=e.options.drop.overlap;if("pointer"===l){var u=co.getOriginXY(i,r,"drag"),c=co.pointer.getPageXY(t);c.x+=u.x,c.y+=u.y;var h=c.x>a.left&&c.x<a.right,d=c.y>a.top&&c.y<a.bottom;s=h&&d}var f=i.getRect(r);if(f&&"center"===l){var p=f.left+f.width/2,g=f.top+f.height/2;s=p>=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<s.length;l++){var u=s[l];t[u]&&(a+=u)}o=r[a]}return o},defaultMargin:null};function Qo(e,t,n){return Zo.object(t)?(e.options.resize.enabled=!1!==t.enabled,e.setPerAction("resize",t),e.setOnEvents("resize",t),Zo.string(t.axis)&&/^x$|^y$|^xy$/.test(t.axis)?e.options.resize.axis=t.axis:null===t.axis&&(e.options.resize.axis=n.defaults.actions.resize.axis),Zo.bool(t.preserveAspectRatio)?e.options.resize.preserveAspectRatio=t.preserveAspectRatio:Zo.bool(t.square)&&(e.options.resize.square=t.square),e):Zo.bool(t)?(e.options.resize.enabled=t,e):e.options.resize}function ea(e,t,n,i,r,o,a){if(!t)return!1;if(!0===t){var s=Zo.number(o.width)?o.width:o.right-o.left,l=Zo.number(o.height)?o.height:o.bottom-o.top;if(a=Math.min(a,("left"===e||"right"===e?s:l)/2),s<0&&("left"===e?e="right":"right"===e&&(e="left")),l<0&&("top"===e?e="bottom":"bottom"===e&&(e="top")),"left"===e)return n.x<(s>=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.clientX<Ma.margin,i=n.clientY<Ma.margin,r=n.clientX>c.innerWidth-Ma.margin,o=n.clientY>c.innerHeight-Ma.margin;else{var h=ma.getElementClientRect(c);a=n.clientX<h.left+Ma.margin,i=n.clientY<h.top+Ma.margin,r=n.clientX>h.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<o.names.length;u++){var c;c=o.names[u];var h=c;if((!i.pointerIsDown||!/mouse|pointer/.test(i.pointerType)||0!==(s&e.options[h].mouseButtons))&&(l=o[h].checker(t,n,e,r,i,a),l))return l}}function Ba(e){return ka.bool(e)?(this.options.styleCursor=e,this):null===e?(delete this.options.styleCursor,this):this.options.styleCursor}function Va(e){return ka.func(e)?(this.options.actionChecker=e,this):null===e?(delete this.options.actionChecker,this):this.options.actionChecker}var ja={id:"auto-start/interactableMethods",install:Ra};Ca["default"]=ja;var Fa={};function Wa(e){return Wa="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},Wa(e)}Object.defineProperty(Fa,"__esModule",{value:!0}),Fa["default"]=void 0;var Ga=Za(_n),Ha=Ua(Ca);function Ua(e){return e&&e.__esModule?e:{default:e}}function Ya(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Ya=function(){return e},e}function Za(e){if(e&&e.__esModule)return e;if(null===e||"object"!==Wa(e)&&"function"!==typeof e)return{default:e};var t=Ya();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 Xa(e){var t=e.interact,n=e.defaults;e.usePlugin(Ha["default"]),n.base.actionChecker=null,n.base.styleCursor=!0,Ga.extend(n.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),t.maxInteractions=function(t){return rs(t,e)},e.autoStart={maxInteractions:1/0,withinInteractionLimit:is,cursorElement:null}}function qa(e,t){var n=e.interaction,i=e.pointer,r=e.event,o=e.eventTarget;if(!n.interacting()){var a=ts(n,i,r,o,t);ns(n,a,t)}}function $a(e,t){var n=e.interaction,i=e.pointer,r=e.event,o=e.eventTarget;if("mouse"===n.pointerType&&!n.pointerIsDown&&!n.interacting()){var a=ts(n,i,r,o,t);ns(n,a,t)}}function Ka(e,t){var n=e.interaction;if(n.pointerIsDown&&!n.interacting()&&n.pointerWasMoved&&n.prepared.name){t.fire("autoStart:before-start",e);var i=n.interactable;n.prepared.name&&i&&(i.options[n.prepared.name].manualStart||!is(i,n.element,n.prepared,t)?n.stop():(n.start(n.prepared,i,n.element),as(n,t)))}}function Ja(e,t){var n=e.interaction,i=n.interactable;i&&i.options.styleCursor&&os(n.element,"",t)}function Qa(e,t,n,i,r){return t.testIgnoreAllow(t.options[e.name],n,i)&&t.options[e.name].enabled&&is(t,n,e,r)?e:null}function es(e,t,n,i,r,o,a){for(var s=0,l=i.length;s<l;s++){var u=i[s],c=r[s],h=u.getAction(t,n,e,c);if(h){var d=Qa(h,u,c,o,a);if(d)return{action:d,interactable:u,element:c}}}return{action:null,interactable:null,element:null}}function ts(e,t,n,i,r){var o=[],a=[],s=i;function l(e){o.push(e),a.push(s)}while(Ga.is.element(s)){o=[],a=[],r.interactables.forEachMatch(s,l);var u=es(e,t,n,o,a,i,r);if(u.action&&!u.interactable.options[u.action.name].manualStart)return u;s=Ga.dom.parentNode(s)}return{action:null,interactable:null,element:null}}function ns(e,t,n){var i=t.action,r=t.interactable,o=t.element;i=i||{name:null},e.interactable&&e.interactable.options.styleCursor&&os(e.element,"",n),e.interactable=r,e.element=o,Ga.copyAction(e.prepared,i),e.rect=r&&i.name?r.getRect(o):null,as(e,n),n.fire("autoStart:prepared",{interaction:e})}function is(e,t,n,i){var r=e.options,o=r[n.name].max,a=r[n.name].maxPerElement,s=i.autoStart.maxInteractions,l=0,u=0,c=0;if(!(o&&a&&s))return!1;for(var h=0;h<i.interactions.list.length;h++){var d;d=i.interactions.list[h];var f=d,p=f.prepared.name;if(f.interacting()){if(l++,l>=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":a<s?"y":"xy";if(n.prepared.axis="start"===l.lockAxis?c[0]:l.lockAxis,"xy"!==c&&"xy"!==u&&u!==c){n.prepared.name=null;var h=i,d=function(e){if(e!==n.interactable){var r=n.interactable.options.drag;if(!r.manualStart&&e.testIgnoreAllow(r,h,i)){var o=e.getAction(n.downPointer,n.downEvent,n,h);if(o&&o.name===cs.ActionName.Drag&&ms(c,e)&&ds["default"].validateAction(o,e,h,i,t))return e}}};while(hs.element(h)){var f=t.interactables.forEachMatch(h,d);if(f){n.prepared.name=cs.ActionName.Drag,n.interactable=f,n.element=h;break}h=(0,K.parentNode)(h)}}}}function ms(e,t){if(!t)return!1;var n=t.options[cs.ActionName.Drag].startAxis;return"xy"===e||"xy"===n||n===e}var ys={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":vs}};ls["default"]=ys;var xs={};Object.defineProperty(xs,"__esModule",{value:!0}),xs["default"]=void 0;var _s=bs(Fa);function bs(e){return e&&e.__esModule?e:{default:e}}function ws(e){var t=e.defaults;e.usePlugin(_s["default"]),t.perAction.hold=0,t.perAction.delay=0}function Ss(e){var t=e.prepared&&e.prepared.name;if(!t)return null;var n=e.interactable.options;return n[t].hold||n[t].delay}var Ms={id:"auto-start/hold",install:ws,listeners:{"interactions:new":function(e){var t=e.interaction;t.autoStartHoldTimer=null},"autoStart:prepared":function(e){var t=e.interaction,n=Ss(t);n>0&&(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;n<e.interactions.list.length;n++){var i;i=e.interactions.list[n];var r=i;if(r.element&&(r.element===t.target||(0,K.nodeContains)(r.element,t.target)))return void r.interactable.checkAndPreventDefault(t)}}})}var Gs={id:"core/interactablePreventDefault",install:Ws,listeners:["down","move","up","cancel"].reduce((function(e,t){return e["interactions:".concat(t)]=Fs,e}),{})};ks["default"]=Gs;var Hs={};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(Hs,"__esModule",{value:!0}),Hs["default"]=void 0;var Ys,Zs=Qs(r),Xs=Qs(et),qs=Js(I),$s=Qs(y);function Ks(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Ks=function(){return e},e}function Js(e){if(e&&e.__esModule)return e;if(null===e||"object"!==Us(e)&&"function"!==typeof e)return{default:e};var t=Ks();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 Qs(e){return e&&e.__esModule?e:{default:e}}function el(e){return il(e)||nl(e)||tl()}function tl(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function nl(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function il(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(function(e){e["touchAction"]="",e["boxSizing"]="",e["noListeners"]=""})(Ys||(Ys={}));var rl="[interact.js] ",ol={touchAction:"https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action",boxSizing:"https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing"},al=!1;function sl(e){var t=arguments.length>1&&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;i<ll.length;i++){var r;r=ll[i];var o,a=r,s=n.interactable&&n.interactable.options[n.prepared.name];if(!(s&&s.devTools&&s.devTools.ignore[a.name])&&a.perform(n))(o=t.logger).warn.apply(o,[rl+a.text].concat(el(a.getInfo(n))))}}},checks:ll,CheckName:Ys,links:ol,prefix:rl},fl=dl;Hs["default"]=fl;var pl={};Object.defineProperty(pl,"__esModule",{value:!0}),pl.startAll=wl,pl.setAll=Sl,pl.prepareStates=Dl,pl.setCoords=Pl,pl.restoreCoords=Cl,pl.makeModifier=Ll,pl["default"]=void 0;var gl=vl(et);function vl(e){return e&&e.__esModule?e:{default:e}}function ml(e,t){return _l(e)||xl(e,t)||yl()}function yl(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function xl(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){r=!0,o=l}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw o}}return n}}function _l(e){if(Array.isArray(e))return e}function bl(e,t,n){var i=e.interaction,r=e.phase,o=i.interactable,a=i.element,s=Tl(i),l=Dl(s),u=(0,gl["default"])({},i.rect);"width"in u||(u.width=u.right-u.left),"height"in u||(u.height=u.bottom-u.top);var c=kl(u,t);i.modifiers.startOffset=c,i.modifiers.startDelta={x:0,y:0};var h={interaction:i,interactable:o,element:a,pageCoords:t,phase:r,rect:u,startOffset:c,states:l,preEnd:!1,requireEndOnly:!1,prevCoords:n||(i.modifiers.result?i.modifiers.result.coords:i.coords.prev.page)};i.modifiers.states=l,i.modifiers.result=null,wl(h);var d=i.modifiers.result=Sl(h);return d}function wl(e){for(var t=e.states,n=0;n<t.length;n++){var i;i=t[n];var r=i;r.methods.start&&(e.state=r,r.methods.start(e))}}function Sl(e){var t=e.prevCoords,n=e.phase,i=e.preEnd,r=e.requireEndOnly,o=e.rect,a=e.states;e.coords=(0,gl["default"])({},e.pageCoords),e.rect=(0,gl["default"])({},o);for(var s={delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},coords:e.coords,changed:!0},l=0;l<a.length;l++){var u;u=a[l];var c=u,h=c.options;c.methods.set&&Ol(h,i,r,n)&&(e.state=c,c.methods.set(e))}s.delta.x=e.coords.x-e.pageCoords.x,s.delta.y=e.coords.y-e.pageCoords.y;var d=!1;return o&&(s.rectDelta.left=e.rect.left-o.left,s.rectDelta.right=e.rect.right-o.right,s.rectDelta.top=e.rect.top-o.top,s.rectDelta.bottom=e.rect.bottom-o.bottom,d=0!==s.rectDelta.left||0!==s.rectDelta.right||0!==s.rectDelta.top||0!==s.rectDelta.bottom),s.changed=!t||t.x!==s.coords.x||t.y!==s.coords.y||d,s}function Ml(e){var t=e.interaction,n=e.phase,i=e.preEnd,r=e.skipModifiers,o=t.interactable,a=t.element,s=r?t.modifiers.states.slice(r):t.modifiers.states,l=e.prevCoords||(t.modifiers.result?t.modifiers.result.coords:t.coords.prev.page),u=Sl({interaction:t,interactable:o,element:a,preEnd:i,phase:n,pageCoords:e.modifiedCoords||t.coords.cur.page,prevCoords:l,rect:t.rect,states:s,requireEndOnly:!1});if(t.modifiers.result=u,!u.changed&&t.interacting())return!1;if(e.modifiedCoords){var c=t.coords.cur.page,h={x:e.modifiedCoords.x-c.x,y:e.modifiedCoords.y-c.y};u.coords.x+=h.x,u.coords.y+=h.y,u.delta.x+=h.x,u.delta.y+=h.y}Pl(e)}function Il(e){var t=e.interaction,n=e.event,i=e.noPreEnd,r=t.modifiers.states;if(!i&&r&&r.length)for(var o=!1,a=0;a<r.length;a++){var s;s=r[a];var l=s;e.state=l;var u=l.options,c=l.methods,h=c.beforeEnd&&c.beforeEnd(e);if(!1===h)return t.modifiers.endPrevented=!0,!1;!o&&Ol(u,!0,!0)&&(t.move({event:n,preEnd:!0}),o=!0)}}function Al(e){var t=e.interaction,n=t.modifiers.states;if(n&&n.length){for(var i=(0,gl["default"])({states:n,interactable:t.interactable,element:t.element,rect:null},e),r=0;r<n.length;r++){var o;o=n[r];var a=o;i.state=a,a.methods.stop&&a.methods.stop(i)}e.interaction.modifiers.states=null,e.interaction.modifiers.endPrevented=null}}function Tl(e){var t=e.interactable.options[e.prepared.name],n=t.modifiers;return n&&n.length?n.filter((function(e){return!e.options||!1!==e.options.enabled})):["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map((function(e){var n=t[e];return n&&n.enabled&&{options:n,methods:n._methods}})).filter((function(e){return!!e}))}function Dl(e){for(var t=[],n=0;n<e.length;n++){var i=e[n],r=i.options,o=i.methods,a=i.name;r&&!1===r.enabled||t.push({options:r,methods:o,index:n,name:a})}return t}function Pl(e){var t=e.interaction,n=e.phase,i=t.coords.cur,r=t.coords.start,o=t.modifiers,a=o.result,s=o.startDelta,l=a.delta;"start"===n&&(0,gl["default"])(t.modifiers.startDelta,a.delta);for(var u=[[r,s],[i,l]],c=0;c<u.length;c++){var h=ml(u[c],2),d=h[0],f=h[1];d.page.x+=f.x,d.page.y+=f.y,d.client.x+=f.x,d.client.y+=f.y}var p=t.modifiers.result.rectDelta,g=e.rect||t.rect;g.left+=p.left,g.right+=p.right,g.top+=p.top,g.bottom+=p.bottom,g.width=g.right-g.left,g.height=g.bottom-g.top}function Cl(e){var t=e.interaction,n=t.coords,i=t.rect,r=t.modifiers;if(r.result){for(var o=r.startDelta,a=r.result,s=a.delta,l=a.rectDelta,u=[[n.start,o],[n.cur,s]],c=0;c<u.length;c++){var h=ml(u[c],2),d=h[0],f=h[1];d.page.x-=f.x,d.page.y-=f.y,d.client.x-=f.x,d.client.y-=f.y}i.left-=l.left,i.right-=l.right,i.top-=l.top,i.bottom-=l.bottom}}function Ol(e,t,n,i){return e?!1!==e.enabled&&(t||!e.endOnly)&&(!n||e.endOnly||e.alwaysOnEnd)&&(e.setStart||"start"!==i):!n}function kl(e,t){return e?{left:t.x-e.left,top:t.y-e.top,right:e.right-t.x,bottom:e.bottom-t.y}:{left:0,top:0,right:0,bottom:0}}function Ll(e,t){var n=e.defaults,i={start:e.start,set:e.set,beforeEnd:e.beforeEnd,stop:e.stop},r=function(e){var r=e||{};for(var o in r.enabled=!1!==r.enabled,n)o in r||(r[o]=n[o]);var a={options:r,methods:i,name:t};return a};return t&&"string"===typeof t&&(r._defaults=n,r._methods=i),r}var El={id:"modifiers/base",install:function(e){e.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(e){var t=e.interaction;t.modifiers={startOffset:{left:0,right:0,top:0,bottom:0},offsets:{},states:null,result:null,endPrevented:!1,startDelta:null}},"interactions:before-action-start":function(e){bl(e,e.interaction.coords.start.page,e.interaction.coords.prev.page),Pl(e)},"interactions:action-resume":function(e){Al(e),bl(e,e.interaction.coords.cur.page,e.interaction.modifiers.result.coords),Ml(e)},"interactions:after-action-move":Cl,"interactions:before-action-move":Ml,"interactions:after-action-start":Cl,"interactions:before-action-end":Il,"interactions:stop":Al},before:"ations",startAll:wl,setAll:Sl,prepareStates:Dl,start:bl,beforeMove:Ml,beforeEnd:Il,stop:Al,shouldDo:Ol,getModifierList:Tl,getRectOffset:kl,makeModifier:Ll};pl["default"]=El;var Rl={};function zl(e){return zl="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},zl(e)}Object.defineProperty(Rl,"__esModule",{value:!0}),Rl["default"]=void 0;var Nl=Wl(pl),Bl=Wl(_n),Vl=jl(pn);function jl(e){return e&&e.__esModule?e:{default:e}}function Fl(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Fl=function(){return e},e}function Wl(e){if(e&&e.__esModule)return e;if(null===e||"object"!==zl(e)&&"function"!==typeof e)return{default:e};var t=Fl();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 Gl(e){var t=e.defaults;e.usePlugin(Nl["default"]),t.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}}function Hl(e,t){var n=e.interaction,i=e.event,r=e.pointer,o=e.eventTarget,a=n.inertia;if(a.active){var s=o;while(Bl.is.element(s)){if(s===n.element){Vl["default"].cancel(a.timeout),a.active=!1,n.simulation=null,n.updatePointer(r,i,o,!0),Bl.pointer.setCoords(n.coords.cur,n.pointers.map((function(e){return e.pointer})),n._now());var l={interaction:n,phase:qi.EventPhase.Resume};t.fire("interactions:action-resume",l);var u=new t.InteractEvent(n,i,n.prepared.name,qi.EventPhase.Resume,n.element);n._fireEvent(u),Bl.pointer.copyCoords(n.coords.prev,n.coords.cur);break}s=Bl.dom.parentNode(s)}}}function Ul(e,t){var n=e.interaction,i=e.event,r=e.noPreEnd,o=n.inertia;if(!n.interacting()||n.simulation&&n.simulation.active||r)return null;var a,s=Kl(n),l=n._now(),u=n.coords.velocity.client,c=Bl.hypot(u.x,u.y),h=!1,d=s&&s.enabled&&"gesture"!==n.prepared.name&&i!==o.startEvent,f=d&&l-n.coords.cur.timeStamp<50&&c>s.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(r<t.te){var o=1-(Math.exp(-i*r)-t.lambda_v0)/t.one_ve_v0;if(t.modifiedXe===t.xe&&t.modifiedYe===t.ye)t.sx=t.xe*o,t.sy=t.ye*o;else{var a=Bl.getQuadraticCurvePoint(0,0,t.xe,t.ye,t.modifiedXe,t.modifiedYe,o);t.sx=a.x,t.sy=a.y}e.move(),t.timeout=Vl["default"].request((function(){return Xl(e)}))}else t.sx=t.modifiedXe,t.sy=t.modifiedYe,e.move(),e.end(t.startEvent),t.active=!1,e.simulation=null;Bl.pointer.copyCoords(e.coords.prev,e.coords.cur)}function ql(e){$l(e);var t=e.inertia,n=e._now()-t.t0,i=Kl(e),r=i.smoothEndDuration;n<r?(t.sx=Bl.easeOutQuad(n,0,t.xe,r),t.sy=Bl.easeOutQuad(n,0,t.ye,r),e.move(),t.timeout=Vl["default"].request((function(){return ql(e)}))):(t.sx=t.xe,t.sy=t.ye,e.move(),e.end(t.startEvent),t.smoothEnd=t.active=!1,e.simulation=null)}function $l(e){var t=e.inertia;if(t.active){var n=t.upCoords.page,i=t.upCoords.client;Bl.pointer.setCoords(e.coords.cur,[{pageX:n.x+t.sx,pageY:n.y+t.sy,clientX:i.x+t.sx,clientY:i.y+t.sy}],e._now())}}function Kl(e){var t=e.interactable,n=e.prepared;return t&&t.options&&n.name&&t.options[n.name].inertia}qi.EventPhase.Resume="resume",qi.EventPhase.InertiaStart="inertiastart";var Jl={id:"inertia",install:Gl,listeners:{"interactions:new":function(e){var t=e.interaction;t.inertia={active:!1,smoothEnd:!1,allowResume:!1,upCoords:{},timeout:null}},"interactions:before-action-end":Ul,"interactions:down":Hl,"interactions:stop":Yl},before:"modifiers/base",calcInertia:Zl,inertiaTick:Xl,smothEndTick:ql,updateInertiaCoords:$l};Rl["default"]=Jl;var Ql={};function eu(e){return eu="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},eu(e)}Object.defineProperty(Ql,"__esModule",{value:!0}),Ql.getRestrictionRect=uu,Ql["default"]=void 0;var tu=au(et),nu=ou(I),iu=ou(nt);function ru(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return ru=function(){return e},e}function ou(e){if(e&&e.__esModule)return e;if(null===e||"object"!==eu(e)&&"function"!==typeof e)return{default:e};var t=ru();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 au(e){return e&&e.__esModule?e:{default:e}}function su(e){var t=e.rect,n=e.startOffset,i=e.state,r=e.interaction,o=e.pageCoords,a=i.options,s=a.elementRect,l=(0,tu["default"])({left:0,top:0,right:0,bottom:0},a.offset||{});if(t&&s){var u=uu(a.restriction,r,o);if(u){var c=u.right-u.left-t.width,h=u.bottom-u.top-t.height;c<0&&(l.left+=c,l.right+=c),h<0&&(l.top+=h,l.bottom+=h)}l.left+=n.left-t.width*s.left,l.top+=n.top-t.height*s.top,l.right+=n.right-t.width*(1-s.right),l.bottom+=n.bottom-t.height*(1-s.bottom)}i.offset=l}function lu(e){var t=e.coords,n=e.interaction,i=e.state,r=i.options,o=i.offset,a=uu(r.restriction,n,t);if(a){var s=iu.xywhToTlbr(a);t.x=Math.max(Math.min(s.right-o.right,t.x),s.left+o.left),t.y=Math.max(Math.min(s.bottom-o.bottom,t.y),s.top+o.top)}}function uu(e,t,n){return nu.func(e)?iu.resolveRectLike(e,t.interactable,t.element,[n.x,n.y,t]):iu.resolveRectLike(e,t.interactable,t.element)}var cu={restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1},hu={start:su,set:lu,defaults:cu},du=hu;Ql["default"]=du;var fu={};function pu(e){return pu="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},pu(e)}Object.defineProperty(fu,"__esModule",{value:!0}),fu["default"]=void 0;var gu=xu(et),vu=yu(nt);function mu(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return mu=function(){return e},e}function yu(e){if(e&&e.__esModule)return e;if(null===e||"object"!==pu(e)&&"function"!==typeof e)return{default:e};var t=mu();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 xu(e){return e&&e.__esModule?e:{default:e}}var _u={top:1/0,left:1/0,bottom:-1/0,right:-1/0},bu={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function wu(e){var t,n=e.interaction,i=e.state,r=i.options,o=n.modifiers.startOffset;if(r){var a=(0,Ql.getRestrictionRect)(r.offset,n,n.coords.start.page);t=vu.rectToXY(a)}t=t||{x:0,y:0},i.offset={top:t.y+o.top,left:t.x+o.left,bottom:t.y-o.bottom,right:t.x-o.right}}function Su(e){var t=e.coords,n=e.interaction,i=e.state,r=i.offset,o=i.options,a=n.prepared._linkedEdges||n.prepared.edges;if(a){var s=(0,gu["default"])({},t),l=(0,Ql.getRestrictionRect)(o.inner,n,s)||{},u=(0,Ql.getRestrictionRect)(o.outer,n,s)||{};Mu(l,_u),Mu(u,bu),a.top?t.y=Math.min(Math.max(u.top+r.top,s.y),l.top+r.top):a.bottom&&(t.y=Math.max(Math.min(u.bottom+r.bottom,s.y),l.bottom+r.bottom)),a.left?t.x=Math.min(Math.max(u.left+r.left,s.x),l.left+r.left):a.right&&(t.x=Math.max(Math.min(u.right+r.right,s.x),l.right+r.right))}}function Mu(e,t){for(var n=["top","left","bottom","right"],i=0;i<n.length;i++){var r=n[i];r in e||(e[r]=t[r])}return e}var Iu={inner:null,outer:null,offset:null,endOnly:!1,enabled:!1},Au={noInner:_u,noOuter:bu,start:wu,set:Su,defaults:Iu},Tu=Au;fu["default"]=Tu;var Du={};Object.defineProperty(Du,"__esModule",{value:!0}),Du["default"]=void 0;var Pu=Ou(et),Cu=Ou(Ql);function Ou(e){return e&&e.__esModule?e:{default:e}}var ku=(0,Pu["default"])({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(e){}},Cu["default"].defaults),Lu={start:Cu["default"].start,set:Cu["default"].set,defaults:ku},Eu=Lu;Du["default"]=Eu;var Ru={};function zu(e){return zu="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},zu(e)}Object.defineProperty(Ru,"__esModule",{value:!0}),Ru["default"]=void 0;var Nu=Wu(et),Bu=Fu(nt),Vu=Wu(fu);function ju(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return ju=function(){return e},e}function Fu(e){if(e&&e.__esModule)return e;if(null===e||"object"!==zu(e)&&"function"!==typeof e)return{default:e};var t=ju();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 Wu(e){return e&&e.__esModule?e:{default:e}}var Gu={width:-1/0,height:-1/0},Hu={width:1/0,height:1/0};function Uu(e){return Vu["default"].start(e)}function Yu(e){var t=e.interaction,n=e.state,i=n.options,r=t.prepared._linkedEdges||t.prepared.edges;if(r){var o=Bu.xywhToTlbr(t.resizeRects.inverted),a=Bu.tlbrToXywh((0,Ql.getRestrictionRect)(i.min,t,e.coords))||Gu,s=Bu.tlbrToXywh((0,Ql.getRestrictionRect)(i.max,t,e.coords))||Hu;n.options={endOnly:i.endOnly,inner:(0,Nu["default"])({},Vu["default"].noInner),outer:(0,Nu["default"])({},Vu["default"].noOuter)},r.top?(n.options.inner.top=o.bottom-a.height,n.options.outer.top=o.bottom-s.height):r.bottom&&(n.options.inner.bottom=o.top+a.height,n.options.outer.bottom=o.top+s.height),r.left?(n.options.inner.left=o.right-a.width,n.options.outer.left=o.right-s.width):r.right&&(n.options.inner.right=o.left+a.width,n.options.outer.right=o.left+s.width),Vu["default"].set(e),n.options=i}}var Zu={min:null,max:null,endOnly:!1,enabled:!1},Xu={start:Uu,set:Yu,defaults:Zu},qu=Xu;Ru["default"]=qu;var $u={};function Ku(e){return Ku="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},Ku(e)}Object.defineProperty($u,"__esModule",{value:!0}),$u["default"]=void 0;var Ju=ec(_n);function Qu(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Qu=function(){return e},e}function ec(e){if(e&&e.__esModule)return e;if(null===e||"object"!==Ku(e)&&"function"!==typeof e)return{default:e};var t=Qu();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 tc(e){var t,n=e.interaction,i=e.interactable,r=e.element,o=e.rect,a=e.state,s=e.startOffset,l=a.options,u=[],c=l.offsetWithOrigin?ic(e):{x:0,y:0};if("startCoords"===l.offset)t={x:n.coords.start.page.x,y:n.coords.start.page.y};else{var h=Ju.rect.resolveRectLike(l.offset,i,r,[n]);t=Ju.rect.rectToXY(h)||{x:0,y:0},t.x+=c.x,t.y+=c.y}var d=l.relativePoints||[];if(o&&l.relativePoints&&l.relativePoints.length)for(var f=0;f<d.length;f++){var p=d[f];u.push({index:f,relativePoint:p,x:s.left-o.width*p.x+t.x,y:s.top-o.height*p.y+t.y})}else u.push(Ju.extend({index:0,relativePoint:null},t));a.offsets=u}function nc(e){var t,n=e.interaction,i=e.coords,r=e.state,o=r.options,a=r.offsets,s=Ju.getOriginXY(n.interactable,n.element,n.prepared.name),l=Ju.extend({},i),u=[];o.offsetWithOrigin||(l.x-=s.x,l.y-=s.y),r.realX=l.x,r.realY=l.y;for(var c=0;c<a.length;c++){var h;h=a[c];for(var d=h,f=l.x-d.x,p=l.y-d.y,g=0,v=o.targets.length;g<v;g++){var m=o.targets[g];t=Ju.is.func(m)?m(f,p,n,d,g):m,t&&u.push({x:(Ju.is.number(t.x)?t.x:f)+d.x,y:(Ju.is.number(t.y)?t.y:p)+d.y,range:Ju.is.number(t.range)?t.range:o.range})}}for(var y={target:null,inRange:!1,distance:0,range:0,dx:0,dy:0},x=0,_=u.length;x<_;x++){t=u[x];var b=t.range,w=t.x-l.x,S=t.y-l.y,M=Ju.hypot(w,S),I=M<=b;b===1/0&&y.inRange&&y.range!==1/0&&(I=!1),y.target&&!(I?y.inRange&&b!==1/0?M/b<y.distance/y.range:b===1/0&&y.range!==1/0||M<y.distance:!y.inRange&&M<y.distance)||(y.target=t,y.distance=M,y.range=b,y.inRange=I,y.dx=w,y.dy=S,r.range=b)}y.inRange&&(i.x=y.target.x,i.y=y.target.y),r.closest=y}function ic(e){var t=e.interaction.element,n=Ju.rect.rectToXY(Ju.rect.resolveRectLike(e.state.options.origin,null,null,[t])),i=n||Ju.getOriginXY(e.interactable,t,e.interaction.prepared.name);return i}var rc={range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1},oc={start:tc,set:nc,defaults:rc},ac=oc;$u["default"]=ac;var sc={};function lc(e){return lc="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},lc(e)}Object.defineProperty(sc,"__esModule",{value:!0}),sc["default"]=void 0;var uc=pc(et),cc=fc(I),hc=pc($u);function dc(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return dc=function(){return e},e}function fc(e){if(e&&e.__esModule)return e;if(null===e||"object"!==lc(e)&&"function"!==typeof e)return{default:e};var t=dc();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 pc(e){return e&&e.__esModule?e:{default:e}}function gc(e,t){return yc(e)||mc(e,t)||vc()}function vc(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function mc(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){r=!0,o=l}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw o}}return n}}function yc(e){if(Array.isArray(e))return e}function xc(e){var t=e.interaction,n=e.state,i=n.options,r=t.prepared.edges;if(!r)return null;e.state={options:{targets:null,relativePoints:[{x:r.left?0:1,y:r.top?0:1}],offset:i.offset||"self",origin:{x:0,y:0},range:i.range}},n.targetFields=n.targetFields||[["width","height"],["x","y"]],hc["default"].start(e),n.offsets=e.state.offsets,e.state=n}function _c(e){var t=e.interaction,n=e.state,i=e.coords,r=n.options,o=n.offsets,a={x:i.x-o[0].x,y:i.y-o[0].y};n.options=(0,uc["default"])({},r),n.options.targets=[];for(var s=0;s<(r.targets||[]).length;s++){var l;l=(r.targets||[])[s];var u=l,c=void 0;if(c=cc.func(u)?u(a.x,a.y,t):u,c){for(var h=0;h<n.targetFields.length;h++){var d;d=n.targetFields[h];var f=d,p=gc(f,2),g=p[0],v=p[1];if(g in c||v in c){c.x=c[g],c.y=c[v];break}}n.options.targets.push(c)}}hc["default"].set(e),n.options=r}var bc={range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1},wc={start:xc,set:_c,defaults:bc},Sc=wc;sc["default"]=Sc;var Mc={};Object.defineProperty(Mc,"__esModule",{value:!0}),Mc["default"]=void 0;var Ic=Dc(yt),Ac=Dc(et),Tc=Dc(sc);function Dc(e){return e&&e.__esModule?e:{default:e}}function Pc(e){var t=e.interaction.prepared.edges;return t?(e.state.targetFields=e.state.targetFields||[[t.left?"left":"right",t.top?"top":"bottom"]],Tc["default"].start(e)):null}function Cc(e){return Tc["default"].set(e)}var Oc={start:Pc,set:Cc,defaults:(0,Ac["default"])((0,Ic["default"])(Tc["default"].defaults),{offset:{x:0,y:0}})},kc=Oc;Mc["default"]=kc;var Lc={};Object.defineProperty(Lc,"__esModule",{value:!0}),Lc.restrictSize=Lc.restrictEdges=Lc.restrictRect=Lc.restrict=Lc.snapEdges=Lc.snapSize=Lc.snap=void 0;var Ec=Wc(pl),Rc=Wc(fu),zc=Wc(Ql),Nc=Wc(Du),Bc=Wc(Ru),Vc=Wc(Mc),jc=Wc($u),Fc=Wc(sc);function Wc(e){return e&&e.__esModule?e:{default:e}}var Gc=Ec["default"].makeModifier,Hc=Gc(jc["default"],"snap");Lc.snap=Hc;var Uc=Gc(Fc["default"],"snapSize");Lc.snapSize=Uc;var Yc=Gc(Vc["default"],"snapEdges");Lc.snapEdges=Yc;var Zc=Gc(zc["default"],"restrict");Lc.restrict=Zc;var Xc=Gc(Nc["default"],"restrictRect");Lc.restrictRect=Xc;var qc=Gc(Rc["default"],"restrictEdges");Lc.restrictEdges=qc;var $c=Gc(Bc["default"],"restrictSize");Lc.restrictSize=$c;var Kc={};Object.defineProperty(Kc,"__esModule",{value:!0}),Kc["default"]=void 0;var Jc=nh(Wi),Qc=th(Me);function eh(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return eh=function(){return e},e}function th(e){if(e&&e.__esModule)return e;if(null===e||"object"!==ih(e)&&"function"!==typeof e)return{default:e};var t=eh();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 nh(e){return e&&e.__esModule?e:{default:e}}function ih(e){return ih="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},ih(e)}function rh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oh(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ah(e,t,n){return t&&oh(e.prototype,t),n&&oh(e,n),e}function sh(e,t){return!t||"object"!==ih(t)&&"function"!==typeof t?uh(e):t}function lh(e){return lh=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},lh(e)}function uh(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ch(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&&hh(e,t)}function hh(e,t){return hh=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},hh(e,t)}function dh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fh=function(e){function t(e,n,i,r,o,a){var s;if(rh(this,t),s=sh(this,lh(t).call(this,o)),dh(uh(s),"type",void 0),dh(uh(s),"originalEvent",void 0),dh(uh(s),"pointerId",void 0),dh(uh(s),"pointerType",void 0),dh(uh(s),"double",void 0),dh(uh(s),"pageX",void 0),dh(uh(s),"pageY",void 0),dh(uh(s),"clientX",void 0),dh(uh(s),"clientY",void 0),dh(uh(s),"dt",void 0),dh(uh(s),"eventable",void 0),Qc.pointerExtend(uh(s),i),i!==n&&Qc.pointerExtend(uh(s),n),s.timeStamp=a,s.originalEvent=i,s.type=e,s.pointerId=Qc.getPointerId(n),s.pointerType=Qc.getPointerType(n),s.target=r,s.currentTarget=null,"tap"===e){var l=o.getPointerIndex(n);s.dt=s.timeStamp-o.pointers[l].downTime;var u=s.timeStamp-o.tapTime;s["double"]=!!(o.prevTap&&"doubletap"!==o.prevTap.type&&o.prevTap.target===s.target&&u<500)}else"doubletap"===e&&(s.dt=n.timeStamp-o.tapTime);return s}return ch(t,e),ah(t,[{key:"_subtractOrigin",value:function(e){var t=e.x,n=e.y;return this.pageX-=t,this.pageY-=n,this.clientX-=t,this.clientY-=n,this}},{key:"_addOrigin",value:function(e){var t=e.x,n=e.y;return this.pageX+=t,this.pageY+=n,this.clientX+=t,this.clientY+=n,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),t}(Jc["default"]);Kc["default"]=fh;var ph={};function gh(e){return gh="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},gh(e)}Object.defineProperty(ph,"__esModule",{value:!0}),ph["default"]=void 0;var vh=_h(_n),mh=yh(Kc);function yh(e){return e&&e.__esModule?e:{default:e}}function xh(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return xh=function(){return e},e}function _h(e){if(e&&e.__esModule)return e;if(null===e||"object"!==gh(e)&&"function"!==typeof e)return{default:e};var t=xh();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 bh={holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},wh={id:"pointer-events/base",install:Oh,listeners:{"interactions:new":Ih,"interactions:update-pointer":Ah,"interactions:move":Dh,"interactions:down":function(e,t){Ph(e,t),Sh(e,t)},"interactions:up":function(e,t){Th(e),Sh(e,t),Ch(e,t)},"interactions:cancel":function(e,t){Th(e),Sh(e,t)}},PointerEvent:mh["default"],fire:Sh,collectEventTargets:Mh,defaults:bh,types:["down","move","up","cancel","tap","doubletap","hold"]};function Sh(e,t){var n=e.interaction,i=e.pointer,r=e.event,o=e.eventTarget,a=e.type,s=e.targets,l=void 0===s?Mh(e,t):s,u=new mh["default"](a,i,r,o,n,t.now());t.fire("pointerEvents:new",{pointerEvent:u});for(var c={interaction:n,pointer:i,event:r,eventTarget:o,targets:l,type:a,pointerEvent:u},h=0;h<l.length;h++){var d=l[h];for(var f in d.props||{})u[f]=d.props[f];var p=vh.getOriginXY(d.eventable,d.node);if(u._subtractOrigin(p),u.eventable=d.eventable,u.currentTarget=d.node,d.eventable.fire(u),u._addOrigin(p),u.immediatePropagationStopped||u.propagationStopped&&h+1<l.length&&l[h+1].node!==u.currentTarget)break}if(t.fire("pointerEvents:fired",c),"tap"===a){var g=u["double"]?Sh({interaction:n,pointer:i,event:r,eventTarget:o,type:"doubletap"},t):u;n.prevTap=g,n.tapTime=g.timeStamp}return u}function Mh(e,t){var n=e.interaction,i=e.pointer,r=e.event,o=e.eventTarget,a=e.type,s=n.getPointerIndex(i),l=n.pointers[s];if("tap"===a&&(n.pointerWasMoved||!l||l.downTarget!==o))return[];for(var u=vh.dom.getPath(o),c={interaction:n,pointer:i,event:r,eventTarget:o,type:a,path:u,targets:[],node:null},h=0;h<u.length;h++){var d;d=u[h];var f=d;c.node=f,t.fire("pointerEvents:collect-targets",c)}return"hold"===a&&(c.targets=c.targets.filter((function(e){return e.eventable.options.holdDuration===n.pointers[s].hold.duration}))),c.targets}function Ih(e){var t=e.interaction;t.prevTap=null,t.tapTime=0}function Ah(e){var t=e.down,n=e.pointerInfo;!t&&n.hold||(n.hold={duration:1/0,timeout:null})}function Th(e){var t=e.interaction,n=e.pointerIndex;t.pointers[n].hold&&clearTimeout(t.pointers[n].hold.timeout)}function Dh(e,t){var n=e.interaction,i=e.pointer,r=e.event,o=e.eventTarget,a=e.duplicate,s=n.getPointerIndex(i);a||n.pointerIsDown&&!n.pointerWasMoved||(n.pointerIsDown&&clearTimeout(n.pointers[s].hold.timeout),Sh({interaction:n,pointer:i,event:r,eventTarget:o,type:"move"},t))}function Ph(e,t){for(var n=e.interaction,i=e.pointer,r=e.event,o=e.eventTarget,a=e.pointerIndex,s=n.pointers[a].hold,l=vh.dom.getPath(o),u={interaction:n,pointer:i,event:r,eventTarget:o,type:"hold",targets:[],path:l,node:null},c=0;c<l.length;c++){var h;h=l[c];var d=h;u.node=d,t.fire("pointerEvents:collect-targets",u)}if(u.targets.length){for(var f=1/0,p=0;p<u.targets.length;p++){var g;g=u.targets[p];var v=g,m=v.eventable.options.holdDuration;m<f&&(f=m)}s.duration=f,s.timeout=setTimeout((function(){Sh({interaction:n,eventTarget:o,pointer:i,event:r,type:"hold"},t)}),f)}}function Ch(e,t){var n=e.interaction,i=e.pointer,r=e.event,o=e.eventTarget;n.pointerWasMoved||Sh({interaction:n,eventTarget:o,pointer:i,event:r,type:"tap"},t)}function Oh(e){e.pointerEvents=wh,e.defaults.actions.pointerEvents=wh.defaults}var kh=wh;ph["default"]=kh;var Lh={};Object.defineProperty(Lh,"__esModule",{value:!0}),Lh["default"]=void 0;var Eh=Rh(ph);function Rh(e){return e&&e.__esModule?e:{default:e}}function zh(e){e.usePlugin(Eh["default"]);var t=e.pointerEvents;t.defaults.holdRepeatInterval=0,t.types.push("holdrepeat")}function Nh(e){var t=e.pointerEvent;"hold"===t.type&&(t.count=(t.count||0)+1)}function Bh(e,t){var n=e.interaction,i=e.pointerEvent,r=e.eventTarget,o=e.targets;if("hold"===i.type&&o.length){var a=o[0].eventable.options.holdRepeatInterval;a<=0||(n.holdIntervalHandle=setTimeout((function(){t.pointerEvents.fire({interaction:n,eventTarget:r,type:"hold",pointer:i,event:i},t)}),a))}}function Vh(e){var t=e.interaction;t.holdIntervalHandle&&(clearInterval(t.holdIntervalHandle),t.holdIntervalHandle=null)}var jh={id:"pointer-events/holdRepeat",install:zh,listeners:["move","up","cancel","endall"].reduce((function(e,t){return e["pointerEvents:".concat(t)]=Vh,e}),{"pointerEvents:new":Nh,"pointerEvents:fired":Bh})};Lh["default"]=jh;var Fh={};Object.defineProperty(Fh,"__esModule",{value:!0}),Fh["default"]=void 0;var Wh=Gh(et);function Gh(e){return e&&e.__esModule?e:{default:e}}function Hh(e){var t=e.pointerEvents,n=e.actions,i=e.Interactable;(0,u.merge)(n.eventTypes,t.types),i.prototype.pointerEvents=Uh;var r=i.prototype._backCompatOption;i.prototype._backCompatOption=function(e,t){var n=r.call(this,e,t);return n===this&&(this.events.options[e]=t),n}}function Uh(e){return(0,Wh["default"])(this.events.options,e),this}var Yh={id:"pointer-events/interactableTargets",install:Hh,listeners:{"pointerEvents:collect-targets":function(e,t){var n=e.targets,i=e.node,r=e.type,o=e.eventTarget;t.interactables.forEachMatch(i,(function(e){var t=e.events,a=t.options;t.types[r]&&t.types[r].length&&e.testIgnoreAllow(a,i,o)&&n.push({node:i,eventable:t,props:{interactable:e}})}))},"interactable:new":function(e){var t=e.interactable;t.events.getRect=function(e){return t.getRect(e)}},"interactable:set":function(e,t){var n=e.interactable,i=e.options;(0,Wh["default"])(n.events.options,t.pointerEvents.defaults),(0,Wh["default"])(n.events.options,i.pointerEvents||{})}}},Zh=Yh;Fh["default"]=Zh;var Xh={};function qh(e){return qh="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},qh(e)}Object.defineProperty(Xh,"__esModule",{value:!0}),Xh.install=nd,Object.defineProperty(Xh,"holdRepeat",{enumerable:!0,get:function(){return Kh["default"]}}),Object.defineProperty(Xh,"interactableTargets",{enumerable:!0,get:function(){return Jh["default"]}}),Xh.pointerEvents=Xh.id=void 0;var $h=td(ph);Xh.pointerEvents=$h;var Kh=Qh(Lh),Jh=Qh(Fh);function Qh(e){return e&&e.__esModule?e:{default:e}}function ed(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return ed=function(){return e},e}function td(e){if(e&&e.__esModule)return e;if(null===e||"object"!==qh(e)&&"function"!==typeof e)return{default:e};var t=ed();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 nd(e){e.usePlugin($h),e.usePlugin(Kh["default"]),e.usePlugin(Jh["default"])}var id="pointer-events";Xh.id=id;var rd={};function od(e){for(var t=e.actions,n=e.Interactable,i=0;i<t.names.length;i++){var r;r=t.names[i];var o=r;t.eventTypes.push("".concat(o,"reflow"))}n.prototype.reflow=function(t){return ad(this,t,e)}}function ad(e,t,n){for(var i=_n.is.string(e.target)?_n.arr.from(e._context.querySelectorAll(e.target)):[e.target],r=_n.win.window.Promise,o=r?[]:null,a=function(){l=i[s];var a=l,u=e.getRect(a);if(!u)return"break";var c=_n.arr.find(n.interactions.list,(function(n){return n.interacting()&&n.interactable===e&&n.element===a&&n.prepared.name===t.name})),h=void 0;if(c)c.move(),o&&(h=c._reflowPromise||new r((function(e){c._reflowResolve=e})));else{var d=_n.rect.tlbrToXywh(u),f={page:{x:d.x,y:d.y},client:{x:d.x,y:d.y},timeStamp:n.now()},p=_n.pointer.coordsToEvent(f);h=sd(n,e,a,t,p)}o&&o.push(h)},s=0;s<i.length;s++){var l,u=a();if("break"===u)break}return o&&r.all(o).then((function(){return e}))}function sd(e,t,n,i,r){var o=e.interactions["new"]({pointerType:"reflow"}),a={interaction:o,event:r,pointer:r,eventTarget:n,phase:qi.EventPhase.Reflow};o.interactable=t,o.element=n,o.prepared=(0,_n.extend)({},i),o.prevEvent=r,o.updatePointer(r,r,n,!0),o._doPhase(a);var s=_n.win.window.Promise?new _n.win.window.Promise((function(e){o._reflowResolve=e})):null;return o._reflowPromise=s,o.start(i,t,n),o._interacting?(o.move(a),o.end(r)):o.stop(),o.removePointer(r,r),o.pointerIsDown=!1,s}Object.defineProperty(rd,"__esModule",{value:!0}),rd.install=od,rd["default"]=void 0,qi.EventPhase.Reflow="reflow";var ld={id:"reflow",install:od,listeners:{"interactions:stop":function(e,t){var n=e.interaction;n.pointerType===qi.EventPhase.Reflow&&(n._reflowResolve&&n._reflowResolve(),_n.arr.remove(t.interactions.list,n))}}};rd["default"]=ld;var ud={};function cd(e){return cd="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},cd(e)}Object.defineProperty(ud,"__esModule",{value:!0}),ud["default"]=ud.scope=ud.interact=void 0;var hd=t({}),dd=md(j),fd=md(It),pd=vd(_n);function gd(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return gd=function(){return e},e}function vd(e){if(e&&e.__esModule)return e;if(null===e||"object"!==cd(e)&&"function"!==typeof e)return{default:e};var t=gd();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 md(e){return e&&e.__esModule?e:{default:e}}var yd={},xd=new hd.Scope;ud.scope=xd;var _d=function(e,t){var n=xd.interactables.get(e,t);return n||(n=xd.interactables["new"](e,t),n.events.global=yd),n};function bd(e,t){return xd.usePlugin(e,t),_d}function wd(e,t){return!!xd.interactables.get(e,t&&t.context)}function Sd(e,t,n){if(pd.is.string(e)&&-1!==e.search(" ")&&(e=e.trim().split(/ +/)),pd.is.array(e)){for(var i=0;i<e.length;i++){var r;r=e[i];var o=r;_d.on(o,t,n)}return _d}if(pd.is.object(e)){for(var a in e)_d.on(a,e[a],t);return _d}return pd.arr.contains(xd.actions.eventTypes,e)?yd[e]?yd[e].push(t):yd[e]=[t]:fd["default"].add(xd.document,e,t,{options:n}),_d}function Md(e,t,n){if(pd.is.string(e)&&-1!==e.search(" ")&&(e=e.trim().split(/ +/)),pd.is.array(e)){for(var i=0;i<e.length;i++){var r;r=e[i];var o=r;_d.off(o,t,n)}return _d}if(pd.is.object(e)){for(var a in e)_d.off(a,e[a],t);return _d}var s;pd.arr.contains(xd.actions.eventTypes,e)?e in yd&&-1!==(s=yd[e].indexOf(t))&&yd[e].splice(s,1):fd["default"].remove(xd.document,e,t,n);return _d}function Id(){return xd}function Ad(){return dd["default"].supportsTouch}function Td(){return dd["default"].supportsPointerEvent}function Dd(){for(var e=0;e<xd.interactions.list.length;e++){var t;t=xd.interactions.list[e];var n=t;n.stop()}return _d}function Pd(e){return pd.is.number(e)?(xd.interactions.pointerMoveTolerance=e,_d):xd.interactions.pointerMoveTolerance}ud.interact=_d,_d.use=bd,_d.isSet=wd,_d.on=Sd,_d.off=Md,_d.debug=Id,_d.getPointerAverage=pd.pointer.pointerAverage,_d.getTouchBBox=pd.pointer.touchBBox,_d.getTouchDistance=pd.pointer.touchDistance,_d.getTouchAngle=pd.pointer.touchAngle,_d.getElementRect=pd.dom.getElementRect,_d.getElementClientRect=pd.dom.getElementClientRect,_d.matchesSelector=pd.dom.matchesSelector,_d.closest=pd.dom.closest,_d.supportsTouch=Ad,_d.supportsPointerEvent=Td,_d.stop=Dd,_d.pointerMoveTolerance=Pd,xd.addListeners({"interactable:unset":function(e){var t=e.interactable;xd.interactables.list.splice(xd.interactables.list.indexOf(t),1);for(var n=0;n<xd.interactions.list.length;n++){var i;i=xd.interactions.list[n];var r=i;r.interactable===t&&r.interacting()&&!r._ending&&r.stop()}}}),_d.addDocument=function(e,t){return xd.addDocument(e,t)},_d.removeDocument=function(e){return xd.removeDocument(e)},xd.interact=_d;var Cd=_d;ud["default"]=Cd;var Od={};function kd(e){return kd="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},kd(e)}Object.defineProperty(Od,"__esModule",{value:!0}),Od.init=Zd,Object.defineProperty(Od,"autoScroll",{enumerable:!0,get:function(){return Ed["default"]}}),Object.defineProperty(Od,"interactablePreventDefault",{enumerable:!0,get:function(){return zd["default"]}}),Object.defineProperty(Od,"inertia",{enumerable:!0,get:function(){return Bd["default"]}}),Object.defineProperty(Od,"modifiers",{enumerable:!0,get:function(){return Vd["default"]}}),Object.defineProperty(Od,"reflow",{enumerable:!0,get:function(){return Wd["default"]}}),Object.defineProperty(Od,"interact",{enumerable:!0,get:function(){return Gd["default"]}}),Od.pointerEvents=Od.actions=Od["default"]=void 0;var Ld=Yd(sa);Od.actions=Ld;var Ed=Hd(ga),Rd=Yd(Is),zd=Hd(ks),Nd=Hd(Hs),Bd=Hd(Rl),Vd=Hd(pl),jd=Yd(Lc),Fd=Yd(Xh);Od.pointerEvents=Fd;var Wd=Hd(rd),Gd=Yd(ud);function Hd(e){return e&&e.__esModule?e:{default:e}}function Ud(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Ud=function(){return e},e}function Yd(e){if(e&&e.__esModule)return e;if(null===e||"object"!==kd(e)&&"function"!==typeof e)return{default:e};var t=Ud();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 Zd(e){for(var t in Gd.scope.init(e),Gd["default"].use(zd["default"]),Gd["default"].use(Fd),Gd["default"].use(Bd["default"]),Gd["default"].use(Vd["default"]),Gd["default"].use(Rd),Gd["default"].use(Ld),jd){var n=jd[t],i=n._defaults,r=n._methods;i._methods=r,Gd.scope.defaults.perAction[t]=i}return Gd["default"].use(Ed["default"]),Gd["default"].use(Wd["default"]),Gd["default"].use(Nd["default"]),Gd["default"]}Gd["default"].version="1.7.2";var Xd=Gd["default"];Od["default"]=Xd;var qd={};function $d(e,t){return Qd(e)||Jd(e,t)||Kd()}function Kd(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Jd(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){r=!0,o=l}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw o}}return n}}function Qd(e){if(Array.isArray(e))return e}function ef(e){var t=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter((function(t){var n=$d(t,2),i=n[0],r=n[1];return i in e||r in e})),n=function(n,i){for(var r=e.range,o=e.limits,a=void 0===o?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:o,s=e.offset,l=void 0===s?{x:0,y:0}:s,u={range:r},c=0;c<t.length;c++){var h;h=t[c];var d=h,f=$d(d,2),p=f[0],g=f[1],v=Math.round((n-l.x)/e[p]),m=Math.round((i-l.y)/e[g]);u[p]=Math.max(a.left,Math.min(a.right,v*e[p]+l.x)),u[g]=Math.max(a.top,Math.min(a.bottom,m*e[g]+l.y))}return u};return n._isSnapGrid=!0,n.grid=e,n.coordFields=t,n}Object.defineProperty(qd,"__esModule",{value:!0}),qd["default"]=void 0;var tf=ef;qd["default"]=tf;var nf={};Object.defineProperty(nf,"__esModule",{value:!0}),Object.defineProperty(nf,"grid",{enumerable:!0,get:function(){return rf["default"]}});var rf=of(qd);function of(e){return e&&e.__esModule?e:{default:e}}var af={};Object.defineProperty(af,"__esModule",{value:!0}),af.init=gf,af["default"]=void 0;var sf=ff(Od),lf=ff(Lc),uf=hf(et),cf=ff(nf);function hf(e){return e&&e.__esModule?e:{default:e}}function df(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return df=function(){return e},e}function ff(e){if(e&&e.__esModule)return e;if(null===e||"object"!==pf(e)&&"function"!==typeof e)return{default:e};var t=df();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 pf(e){return pf="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},pf(e)}function gf(e){return(0,sf.init)(e),sf["default"].use({id:"interactjs",install:function(){sf["default"].modifiers=(0,uf["default"])({},lf),sf["default"].snappers=cf,sf["default"].createSnapGrid=sf["default"].snappers.grid}})}"object"===("undefined"===typeof window?"undefined":pf(window))&&window&&gf(window);var vf=sf["default"];af["default"]=vf;var mf={exports:{}};Object.defineProperty(mf.exports,"__esModule",{value:!0});var yf={};mf.exports["default"]=void 0;var xf=bf(af);function _f(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return _f=function(){return e},e}function bf(e){if(e&&e.__esModule)return e;if(null===e||"object"!==wf(e)&&"function"!==typeof e)return{default:e};var t=_f();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 wf(e){return wf="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},wf(e)}Object.keys(xf).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(yf,e)||Object.defineProperty(mf.exports,e,{enumerable:!0,get:function(){return xf[e]}}))})),"object"===wf(mf)&&mf&&(mf.exports=xf["default"]),xf["default"]["default"]=xf["default"],xf["default"].init=xf.init;var Sf=xf["default"];return mf.exports["default"]=Sf,mf=mf.exports,mf}))},"860e":function(e,t,n){var i=n("cbe1");function r(e){var t=e.polar;if(t){i.isArray(t)||(t=[t]);var n=[];i.each(t,(function(t,r){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],i.isArray(e.radar)||(e.radar=[e.radar]),e.radar.push(t)):n.push(t)})),e.polar=n}i.each(e.series,(function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)}))}e.exports=r},"86b4":function(e,t,n){var i=n("333f");n("7867"),n("1ad2");var r=n("68a7"),o=n("440c");n("3edc"),i.registerVisual(r("scatter","circle")),i.registerLayout(o("scatter"))},"86ba":function(e,t,n){var i=n("d752"),r=i([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),o={getItemStyle:function(e,t){var n=r(this,e,t),i=this.getBorderLineDash();return i&&(n.lineDash=i),n},getBorderLineDash:function(){var e=this.get("borderType");return"solid"===e||null==e?null:"dashed"===e?[5,5]:[1,1]}};e.exports=o},"86e8":function(e,t,n){var i=n("7ead"),r=n("3a73"),o=n("cbe1"),a=o.extend,s=o.isArray;function l(e,t,n){t=s(t)&&{coordDimensions:t}||a({},t);var o=e.getSource(),l=i(o,t),u=new r(l,e);return u.initData(o,n),u}e.exports=l},8779:function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("2dda"),a=n("df7d"),s=a.createSymbol,l=n("55ba"),u=l.parsePercent,c=l.isNumeric,h=n("2e6d"),d=h.setLabel,f=["itemStyle","borderWidth"],p=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],g=new o.Circle,v=i.extendChartView({type:"pictorialBar",render:function(e,t,n){var i=this.group,r=e.getData(),o=this._data,a=e.coordinateSystem,s=a.getBaseAxis(),l=!!s.isHorizontal(),u=a.grid.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:a,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:p[+l],categoryDim:p[1-l]};return r.diff(o).add((function(e){if(r.hasValue(e)){var t=D(r,e),n=m(r,e,t,c),o=k(r,c,n);r.setItemGraphicEl(e,o),i.add(o),B(o,c,n)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(r.hasValue(e)){var a=D(r,e),s=m(r,e,a,c),l=R(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(e,null),n=null),n?L(n,c,s):n=k(r,c,s,!0),r.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=s,i.add(n),B(n,c,s)}else i.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&E(o,e,t.__pictorialSymbolMeta.animationModel,t)})).execute(),this._data=r,this.group},dispose:r.noop,remove:function(e,t){var n=this.group,i=this._data;e.get("animation")?i&&i.eachItemGraphicEl((function(t){E(i,t.dataIndex,e,t)})):n.removeAll()}});function m(e,t,n,i){var o=e.getItemLayout(t),a=n.get("symbolRepeat"),s=n.get("symbolClip"),l=n.get("symbolPosition")||"start",c=n.get("symbolRotate"),h=(c||0)*Math.PI/180||0,d=n.get("symbolPatternSize")||2,f=n.isAnimationEnabled(),p={dataIndex:t,layout:o,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",color:e.getItemVisual(t,"color"),symbolClip:s,symbolRepeat:a,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:d,rotation:h,animationModel:f?n:null,hoverAnimation:f&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};y(n,a,o,i,p),_(e,t,o,a,s,p.boundingLength,p.pxSign,d,i,p),b(n,p.symbolScale,h,i,p);var g=p.symbolSize,v=n.get("symbolOffset");return r.isArray(v)&&(v=[u(v[0],g[0]),u(v[1],g[1])]),w(n,g,o,a,s,v,l,p.valueLineWidth,p.boundingLength,p.repeatCutLength,i,p),p}function y(e,t,n,i,o){var a,s=i.valueDim,l=e.get("symbolBoundingData"),u=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),h=1-+(n[s.wh]<=0);if(r.isArray(l)){var d=[x(u,l[0])-c,x(u,l[1])-c];d[1]<d[0]&&d.reverse(),a=d[h]}else a=null!=l?x(u,l)-c:t?i.coordSysExtent[s.index][h]-c:n[s.wh];o.boundingLength=a,t&&(o.repeatCutLength=n[s.wh]),o.pxSign=a>0?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,c<u?N(e,null,p(c),n,i):N(e,null,{scale:[0,0]},n,i,(function(){r.remove(e)})),O(e,n),c++}));c<u;c++){var d=S(n);d.__pictorialAnimationIndex=c,d.__pictorialRepeatTimes=u,r.add(d);var f=p(c);N(d,{position:f.position,scale:[0,0]},{scale:f.scale,rotation:f.rotation},n,i),d.on("mouseover",g).on("mouseout",v),O(d,n)}function p(e){var t=s.slice(),i=n.pxSign,r=e;return("start"===n.symbolRepeatDirection?i>0: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;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<a&&(r=u,s=l,a=c)}return[s,+(r&&r.coordToData(i))]},d.prototype.resize=function(e,t){var n=e.get("center"),r=t.getWidth(),o=t.getHeight(),s=Math.min(r,o)/2;this.cx=a.parsePercent(n[0],r),this.cy=a.parsePercent(n[1],o),this.startAngle=e.get("startAngle")*Math.PI/180;var l=e.get("radius");"string"!==typeof l&&"number"!==typeof l||(l=[0,l]),this.r0=a.parsePercent(l[0],s),this.r=a.parsePercent(l[1],s),i.each(this._indicatorAxes,(function(e,t){e.setExtent(this.r0,this.r);var n=this.startAngle+t*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),e.angle=n}),this)},d.prototype.update=function(e,t){var n=this._indicatorAxes,r=this._model;i.each(n,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeriesByType("radar",(function(t,o){if("radar"===t.get("coordinateSystem")&&e.getComponent("radar",t.get("radarIndex"))===r){var a=t.getData();i.each(n,(function(e){e.scale.unionExtentFromData(a,a.mapDimension(e.dim))}))}}),this);var o=r.get("splitNumber");function s(e){var t=Math.pow(10,Math.floor(Math.log(e)/Math.LN10)),n=e/t;return 2===n?n=5:n*=2,n*t}i.each(n,(function(e,t){var n=l(e.scale,e.model);u(e.scale,e.model);var i=e.model,r=e.scale,c=i.getMin(),h=i.getMax(),d=r.getInterval();if(null!=c&&null!=h)r.setExtent(+c,+h),r.setInterval((h-c)/o);else if(null!=c){var f;do{f=c+d*o,r.setExtent(+c,f),r.setInterval(d),d=s(d)}while(f<n[1]&&isFinite(f)&&isFinite(n[1]))}else if(null!=h){var p;do{p=h-d*o,r.setExtent(p,+h),r.setInterval(d),d=s(d)}while(p>n[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<e.length;o++){var a="_ec_"+r[i](e[o],o),s=t[a];null==s?(n.push(a),t[a]=o):(s.length||(t[a]=s=[s]),s.push(o))}}i.prototype={constructor:i,add:function(e){return this._add=e,this},update:function(e){return this._update=e,this},remove:function(e){return this._remove=e,this},execute:function(){var e=this._old,t=this._new,n={},i={},o=[],a=[];for(r(e,n,o,"_oldKeyGetter",this),r(t,i,a,"_newKeyGetter",this),c=0;c<e.length;c++){var s=o[c],l=i[s];if(null!=l){var u=l.length;u?(1===u&&(i[s]=null),l=l.shift()):i[s]=null,this._update&&this._update(l,c)}else this._remove&&this._remove(c)}for(var c=0;c<a.length;c++){s=a[c];if(i.hasOwnProperty(s)){l=i[s];if(null==l)continue;if(l.length){var h=0;for(u=l.length;h<u;h++)this._add&&this._add(l[h])}else this._add&&this._add(l)}}}};var o=i;e.exports=o},"8caf":function(e,t,n){var i=n("33f3"),r={seriesType:"lines",plan:i(),reset:function(e){var t=e.coordinateSystem,n=e.get("polyline"),i=e.pipelineContext.large;function r(r,o){var a=[];if(i){var s,l=r.end-r.start;if(n){for(var u=0,c=r.start;c<r.end;c++)u+=e.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var h=0,d=[];for(c=r.start;c<r.end;c++){var f=e.getLineCoords(c,a);n&&(s[h++]=f);for(var p=0;p<f;p++)d=t.dataToPoint(a[p],!1,d),s[h++]=d[0],s[h++]=d[1]}o.setLayout("linesPoints",s)}else for(c=r.start;c<r.end;c++){var g=o.getItemModel(c),v=(f=e.getLineCoords(c,a),[]);if(n)for(var m=0;m<f;m++)v.push(t.dataToPoint(a[m]));else{v[0]=t.dataToPoint(a[0]),v[1]=t.dataToPoint(a[1]);var y=g.get("lineStyle.curveness");+y&&(v[2]=[(v[0][0]+v[1][0])/2-(v[0][1]-v[1][1])*y,(v[0][1]+v[1][1])/2-(v[1][0]-v[0][0])*y])}o.setItemLayout(c,v)}}return{progress:r}}};e.exports=r},"8d75":function(e,t,n){var i=n("cbe1"),r=n("7a17"),o=n("d752"),a=n("e1b3"),s=n("55ba"),l=n("143f"),u=r.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return o([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(e){var t=this.activeIntervals=i.clone(e);if(t)for(var n=t.length-1;n>=0;n--)s.asc(t[n])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var i=0,r=t.length;i<r;i++)if(t[i][0]<=e&&e<=t[i][1])return"active";return"inactive"}}),c={type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function h(e,t){return t.type||(t.data?"category":"value")}i.merge(u.prototype,l),a("parallel",u,h,c);var d=u;e.exports=d},"8db1":function(e,t,n){var i=n("cbe1"),r=n("337b"),o=n("2dda"),a=n("1f86"),s=n("db6e"),l=["axisLine","axisTickLabel","axisName"],u="splitLine",c=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(e,t,n,o){var s=this.group;s.removeAll();var h=a.layout(e),d=new r(e,h);i.each(l,d.add,d),s.add(d.getGroup()),e.get(u+".show")&&this["_"+u](e),c.superCall(this,"render",e,t,n,o)},_splitLine:function(e){var t=e.axis;if(!t.scale.isBlank()){var n=e.getModel("splitLine"),i=n.getModel("lineStyle"),r=i.get("width"),a=i.get("color");a=a instanceof Array?a:[a];for(var s=e.coordinateSystem.getRect(),l=t.isHorizontal(),u=[],c=0,h=t.getTicksCoords({tickModel:n}),d=[],f=[],p=0;p<h.length;++p){var g=t.toGlobalCoord(h[p].coord);l?(d[0]=g,d[1]=s.y,f[0]=g,f[1]=s.y+s.height):(d[0]=s.x,d[1]=g,f[0]=s.x+s.width,f[1]=g);var v=c++%a.length;u[v]=u[v]||[],u[v].push(new o.Line({subPixelOptimize:!0,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:{lineWidth:r},silent:!0}))}for(p=0;p<u.length;++p)this.group.add(o.mergePath(u[p],{style:{stroke:a[p%a.length],lineDash:i.getLineDash(r),lineWidth:r},silent:!0}))}}}),h=c;e.exports=h},"8e07":function(e,t,n){var i=n("2bfc"),r=n("2544"),o=n("62b4"),a=Math.sqrt,s=Math.sin,l=Math.cos,u=Math.PI,c=function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])},h=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(c(e)*c(t))},d=function(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(h(e,t))};function f(e,t,n,i,r,o,c,f,p,g,v){var m=p*(u/180),y=l(m)*(e-n)/2+s(m)*(t-i)/2,x=-1*s(m)*(e-n)/2+l(m)*(t-i)/2,_=y*y/(c*c)+x*x/(f*f);_>1&&(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;c<u.length;c++){for(var h,d=u[c],v=d.charAt(0),m=d.match(g)||[],y=m.length,x=0;x<y;x++)m[x]=parseFloat(m[x]);var _=0;while(_<y){var b,w,S,M,I,A,T,D=n,P=i;switch(v){case"l":n+=m[_++],i+=m[_++],h=l.L,s.addData(h,n,i);break;case"L":n=m[_++],i=m[_++],h=l.L,s.addData(h,n,i);break;case"m":n+=m[_++],i+=m[_++],h=l.M,s.addData(h,n,i),o=n,a=i,v="l";break;case"M":n=m[_++],i=m[_++],h=l.M,s.addData(h,n,i),o=n,a=i,v="L";break;case"h":n+=m[_++],h=l.L,s.addData(h,n,i);break;case"H":n=m[_++],h=l.L,s.addData(h,n,i);break;case"v":i+=m[_++],h=l.L,s.addData(h,n,i);break;case"V":i=m[_++],h=l.L,s.addData(h,n,i);break;case"C":h=l.C,s.addData(h,m[_++],m[_++],m[_++],m[_++],m[_++],m[_++]),n=m[_-2],i=m[_-1];break;case"c":h=l.C,s.addData(h,m[_++]+n,m[_++]+i,m[_++]+n,m[_++]+i,m[_++]+n,m[_++]+i),n+=m[_-2],i+=m[_-1];break;case"S":b=n,w=i;var C=s.len(),O=s.data;t===l.C&&(b+=n-O[C-4],w+=i-O[C-3]),h=l.C,D=m[_++],P=m[_++],n=m[_++],i=m[_++],s.addData(h,b,w,D,P,n,i);break;case"s":b=n,w=i;C=s.len(),O=s.data;t===l.C&&(b+=n-O[C-4],w+=i-O[C-3]),h=l.C,D=n+m[_++],P=i+m[_++],n+=m[_++],i+=m[_++],s.addData(h,b,w,D,P,n,i);break;case"Q":D=m[_++],P=m[_++],n=m[_++],i=m[_++],h=l.Q,s.addData(h,D,P,n,i);break;case"q":D=m[_++]+n,P=m[_++]+i,n+=m[_++],i+=m[_++],h=l.Q,s.addData(h,D,P,n,i);break;case"T":b=n,w=i;C=s.len(),O=s.data;t===l.Q&&(b+=n-O[C-4],w+=i-O[C-3]),n=m[_++],i=m[_++],h=l.Q,s.addData(h,b,w,n,i);break;case"t":b=n,w=i;C=s.len(),O=s.data;t===l.Q&&(b+=n-O[C-4],w+=i-O[C-3]),n+=m[_++],i+=m[_++],h=l.Q,s.addData(h,b,w,n,i);break;case"A":S=m[_++],M=m[_++],I=m[_++],A=m[_++],T=m[_++],D=n,P=i,n=m[_++],i=m[_++],h=l.A,f(D,P,n,i,A,T,S,M,I,h,s);break;case"a":S=m[_++],M=m[_++],I=m[_++],A=m[_++],T=m[_++],D=n,P=i,n+=m[_++],i+=m[_++],h=l.A,f(D,P,n,i,A,T,S,M,I,h,s);break}}"z"!==v&&"Z"!==v||(h=l.Z,s.addData(h),n=o,i=a),t=h}return s.toStatic(),s}function m(e,t){var n=v(e);return t=t||{},t.buildPath=function(e){if(e.setData){e.setData(n.data);var t=e.getContext();t&&e.rebuildPath(t)}else{t=e;n.rebuildPath(t)}},t.applyTransform=function(e){o(n,e),this.dirty(!0)},t}function y(e,t){return new i(m(e,t))}function x(e,t){return i.extend(m(e,t))}function _(e,t){for(var n=[],r=e.length,o=0;o<r;o++){var a=e[o];a.path||a.createPathProxy(),a.__dirtyPath&&a.buildPath(a.path,a.shape,!0),n.push(a.path)}var s=new i(t);return s.createPathProxy(),s.buildPath=function(e){e.appendPath(n);var t=e.getContext();t&&e.rebuildPath(t)},s}t.createFromString=y,t.extendFromString=x,t.mergePath=_},"8e3d":function(e,t,n){var i=n("2dda"),r=i.extendShape,o=r({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(e,t){var n=t.cx,i=t.cy,r=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=.5*(o-r),s=r+a,l=t.startAngle,u=t.endAngle,c=t.clockwise,h=Math.cos(l),d=Math.sin(l),f=Math.cos(u),p=Math.sin(u),g=c?u-l<2*Math.PI:l-u<2*Math.PI;g&&(e.moveTo(h*r+n,d*r+i),e.arc(h*s+n,d*s+i,a,-Math.PI+l,l,!c)),e.arc(n,i,o,l,u,!c),e.moveTo(f*o+n,p*o+i),e.arc(f*s+n,p*s+i,a,u-2*Math.PI,u-Math.PI,!c),0!==r&&(e.arc(n,i,r,u,l,c),e.moveTo(h*r+n,p*r+i)),e.closePath()}});e.exports=o},"8ec2":function(e,t){var n="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){setTimeout(e,16)};e.exports=n},"8eed":function(e,t,n){var i=n("cbe1"),r=n("d207"),o=n("5c3e"),a=o.makeInner,s=n("9a33"),l=s.makeLabelFormatter,u=s.getOptionCategoryInterval,c=s.shouldShowAllLabels,h=a();function d(e){return"category"===e.type?p(e):m(e)}function f(e,t){return"category"===e.type?v(e,t):{ticks:e.scale.getTicks()}}function p(e){var t=e.getLabelModel(),n=g(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function g(e,t){var n,r,o=y(e,"labels"),a=u(t),s=x(o,a);return s||(i.isFunction(a)?n=I(e,a):(r="auto"===a?b(e):a,n=M(e,r)),_(o,a,{labels:n,labelCategoryInterval:r}))}function v(e,t){var n,r,o=y(e,"ticks"),a=u(t),s=x(o,a);if(s)return s;if(t.get("show")&&!e.scale.isBlank()||(n=[]),i.isFunction(a))n=I(e,a,!0);else if("auto"===a){var l=g(e,e.getLabelModel());r=l.labelCategoryInterval,n=i.map(l.labels,(function(e){return e.tickValue}))}else r=a,n=M(e,r,!0);return _(o,a,{ticks:n,tickCategoryInterval:r})}function m(e){var t=e.scale.getTicks(),n=l(e);return{labels:i.map(t,(function(t,i){return{formattedLabel:n(t,i),rawLabel:e.scale.getLabel(t),tickValue:t}}))}}function y(e,t){return h(e)[t]||(h(e)[t]=[])}function x(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function _(e,t,n){return e.push({key:t,value:n}),n}function b(e){var t=h(e).autoInterval;return null!=t?t:h(e).autoInterval=e.calculateCategoryInterval()}function w(e){var t=S(e),n=l(e),i=(t.axisRotate-t.labelRotate)/180*Math.PI,o=e.scale,a=o.getExtent(),s=o.count();if(a[1]-a[0]<1)return 0;var u=1;s>40&&(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},"8f1c":function(e,t,n){"use strict";var i=n("e8be"),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<t.length;p++)s[p]=1;for(p=0;p<e.length;p++)l[p]=e[p].inEdges.length,0===l[p]&&u.push(e[p]);var v=-1;while(u.length){for(var m=0;m<u.length;m++){var y=u[m],x=y.hostGraph.data.getRawDataItem(y.dataIndex),_=null!=x.depth&&x.depth>=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;b<y.outEdges.length;b++){var w=y.outEdges[b],S=t.indexOf(w);s[S]=0;var M=w.node2,I=e.indexOf(M);0===--l[I]&&c.indexOf(M)<0&&c.push(M)}}++h,u=c,c=[]}for(p=0;p<s.length;p++)if(1===s[p])throw new Error("Sankey is a DAG, the original data has cycle!");var A=v>h-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;l<a.length;l++){var u=a[l];u.setLayout({skNodeHeight:s},!0);for(var c=0;c<u.inEdges.length;c++){var h=u.inEdges[c];o.indexOf(h.node1)<0&&o.push(h.node1)}}a=o,o=[],++s}r.each(e,(function(e){d(e)||e.setLayout({depth:Math.max(0,i-e.getLayout().skNodeHeight)},!0)}))}else"justify"===t&&p(e,i)}function p(e,t){r.each(e,(function(e){d(e)||e.outEdges.length||e.setLayout({depth:t},!0)}))}function g(e,t,n){r.each(e,(function(e){var i=e.getLayout().depth*t;"vertical"===n?e.setLayout({y:i},!0):e.setLayout({x:i},!0)}))}function v(e,t,n,i,r,o,a){var s=m(e,a);y(s,t,n,i,r,a),x(s,r,n,i,a);for(var l=1;o>0;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;u<s&&(s=u)})),r.each(e,(function(e){r.each(e,(function(e,t){var n=e.getLayout().value*s;"vertical"===a?(e.setLayout({x:t},!0),e.setLayout({dx:n},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:n},!0))}))})),r.each(t,(function(e){var t=+e.getValue()*s;e.setLayout({dy:t},!0)}))}function x(e,t,n,i,o){var a="vertical"===o?"x":"y";r.each(e,(function(e){var r,s,l;e.sort((function(e,t){return e.getLayout()[a]-t.getLayout()[a]}));for(var u=0,c=e.length,h="vertical"===o?"dx":"dy",d=0;d<c;d++)s=e[d],l=u-s.getLayout()[a],l>0&&(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(++o<r){var a=+t.call(e,e[o],n);isNaN(a)||(i+=a)}return i}function A(e,t,n){r.each(e,(function(e){r.each(e,(function(e){if(e.inEdges.length){var i=I(e.inEdges,w,n)/I(e.inEdges,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 T(e,t){var n="vertical"===t?"x":"y";r.each(e,(function(e){e.outEdges.sort((function(e,t){return e.node2.getLayout()[n]-t.node2.getLayout()[n]})),e.inEdges.sort((function(e,t){return e.node1.getLayout()[n]-t.node1.getLayout()[n]}))})),r.each(e,(function(e){var t=0,n=0;r.each(e.outEdges,(function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy})),r.each(e.inEdges,(function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy}))}))}e.exports=s},"91ed":function(e,t,n){var i=n("1bb8"),r=n("5d11"),o=n("dbbd"),a=n("bef6");function s(e,t,n){if(this.name=e,this.geometries=t,n)n=[n[0],n[1]];else{var i=this.getBoundingRect();n=[i.x+i.width/2,i.y+i.height/2]}this.center=n}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var e=this._rect;if(e)return e;for(var t=Number.MAX_VALUE,n=[t,t],a=[-t,-t],s=[],l=[],u=this.geometries,c=0;c<u.length;c++)if("polygon"===u[c].type){var h=u[c].exterior;r.fromPoints(h,s,l),o.min(n,n,s),o.max(a,a,l)}return 0===c&&(n[0]=n[1]=a[0]=a[1]=0),this._rect=new i(n[0],n[1],a[0]-n[0],a[1]-n[1])},contain:function(e){var t=this.getBoundingRect(),n=this.geometries;if(!t.contain(e[0],e[1]))return!1;e:for(var i=0,r=n.length;i<r;i++)if("polygon"===n[i].type){var o=n[i].exterior,s=n[i].interiors;if(a.contain(o,e[0],e[1])){for(var l=0;l<(s?s.length:0);l++)if(a.contain(s[l]))continue e;return!0}}return!1},transformTo:function(e,t,n,r){var a=this.getBoundingRect(),s=a.width/a.height;n?r||(r=n/s):n=s*r;for(var l=new i(e,t,n,r),u=a.calculateTransform(l),c=this.geometries,h=0;h<c.length;h++)if("polygon"===c[h].type){for(var d=c[h].exterior,f=c[h].interiors,p=0;p<d.length;p++)o.applyTransform(d[p],d[p],u);for(var g=0;g<(f?f.length:0);g++)for(p=0;p<f[g].length;p++)o.applyTransform(f[g][p],f[g][p],u)}a=this._rect,a.copy(l),this.center=[a.x+a.width/2,a.y+a.height/2]},cloneShallow:function(e){null==e&&(e=this.name);var t=new s(e,this.geometries,this.center);return t._rect=this._rect,t.transformTo=null,t}};var l=s;e.exports=l},"92b6":function(e,t,n){var i=n("2bfc"),r=i.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(e,t){var n=t.cx,i=t.cy,r=2*Math.PI;e.moveTo(n+t.r,i),e.arc(n,i,t.r,0,r,!1),e.moveTo(n+t.r0,i),e.arc(n,i,t.r0,0,r,!0)}});e.exports=r},9339:function(e,t,n){var i=n("951f"),r=i.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},defaultOption:{clip:!0,roundCap:!1}});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<a.length;s++)for(var l=0;l<a[s].length;l++)a[s][l][0]/=10.5,a[s][l][1]/=-14,a[s][l][0]+=o[0],a[s][l][1]+=o[1];function u(e,t){"china"===e&&t.push(new r("南海诸岛",i.map(a,(function(e){return{type:"polygon",exterior:e}})),o))}e.exports=u},"93cb":function(e,t,n){var i=n("333f");n("a646"),n("2d42");var r=n("95d6"),o=n("cc4a"),a=n("5866");i.registerVisual(r("funnel")),i.registerLayout(o),i.registerProcessor(a("funnel"))},9421:function(e,t){var n="#eee",i=function(){return{axisLine:{lineStyle:{color:n}},axisTick:{lineStyle:{color:n}},axisLabel:{textStyle:{color:n}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:n}}}},r=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],o={color:r,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:n},crossStyle:{color:n}}},legend:{textStyle:{color:n}},textStyle:{color:n},title:{textStyle:{color:n}},toolbox:{iconStyle:{normal:{borderColor:n}}},dataZoom:{textStyle:{color:n}},visualMap:{textStyle:{color:n}},timeline:{lineStyle:{color:n},itemStyle:{normal:{color:r[1]}},label:{normal:{textStyle:{color:n}}},controlStyle:{normal:{color:n,borderColor:n}}},timeAxis:i(),logAxis:i(),valueAxis:i(),categoryAxis:i(),line:{symbol:"circle"},graph:{color:r},gauge:{title:{textStyle:{color:n}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};o.categoryAxis.splitLine.show=!1;var a=o;e.exports=a},"944c":function(e,t,n){var i=n("cbe1"),r=n("3083"),o=n("11a2"),a=n("3804"),s=n("4ae0"),l=i.each,u=s.toCamelCase,c=["","-webkit-","-moz-","-o-"],h="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function d(e){var t="cubic-bezier(0.23, 1, 0.32, 1)",n="left "+e+"s "+t+",top "+e+"s "+t;return i.map(c,(function(e){return e+"transition:"+n})).join(";")}function f(e){var t=[],n=e.get("fontSize"),i=e.getTextColor();return i&&t.push("color:"+i),t.push("font:"+e.getFont()),n&&t.push("line-height:"+Math.round(3*n/2)+"px"),l(["decoration","align"],(function(n){var i=e.get(n);i&&t.push("text-"+n+":"+i)})),t.join(";")}function p(e){var t=[],n=e.get("transitionDuration"),i=e.get("backgroundColor"),o=e.getModel("textStyle"),c=e.get("padding");return n&&t.push(d(n)),i&&(a.canvasSupported?t.push("background-Color:"+i):(t.push("background-Color:#"+r.toHex(i)),t.push("filter:alpha(opacity=70)"))),l(["width","color","radius"],(function(n){var i="border-"+n,r=u(i),o=e.get(r);null!=o&&t.push(i+":"+o+("color"===n?"":"px"))})),t.push(f(o)),null!=c&&t.push("padding:"+s.normalizeCssArray(c).join("px ")+"px"),t.join(";")+";"}function g(e,t){if(a.wxa)return null;var n=document.createElement("div"),i=this._zr=t.getZr();this.el=n,this._x=t.getWidth()/2,this._y=t.getHeight()/2,e.appendChild(n),this._container=e,this._show=!1,this._hideTimeout;var r=this;n.onmouseenter=function(){r._enterable&&(clearTimeout(r._hideTimeout),r._show=!0),r._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!r._enterable){var n=i.handler;o.normalizeEvent(e,t,!0),n.dispatch("mousemove",t)}},n.onmouseleave=function(){r._enterable&&r._show&&r.hideLater(r._hideDelay),r._inContent=!1}}g.prototype={constructor:g,_enterable:!0,update:function(){var e=this._container,t=e.currentStyle||document.defaultView.getComputedStyle(e),n=e.style;"absolute"!==n.position&&"absolute"!==t.position&&(n.position="relative")},show:function(e){clearTimeout(this._hideTimeout);var t=this.el;t.style.cssText=h+p(e)+";left:"+this._x+"px;top:"+this._y+"px;"+(e.get("extraCssText")||""),t.style.display=t.innerHTML?"block":"none",t.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(e){this.el.innerHTML=null==e?"":e},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el;return[e.clientWidth,e.clientHeight]},moveTo:function(e,t){var n,i=this._zr;i&&i.painter&&(n=i.painter.getViewportRootOffset())&&(e+=n.offsetLeft,t+=n.offsetTop);var r=this.el.style;r.left=e+"px",r.top=t+"px",this._x=e,this._y=t},hide:function(){this.el.style.display="none",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.el.clientWidth,t=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(e+=parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),t+=parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:e,height:t}}};var v=g;e.exports=v},"94fe":function(e,t,n){var i=n("333f"),r=n("8aa6");n("64f7"),n("5831"),n("2c1e"),n("1682"),i.registerPreprocessor(r)},"951f":function(e,t,n){var i=n("4790"),r=n("9bc4"),o=i.extend({type:"series.__base_bar__",getInitialData:function(e,t){return r(this.getSource(),this)},getMarkerPosition:function(e){var t=this.coordinateSystem;if(t){var n=t.dataToPoint(t.clampData(e)),i=this.getData(),r=i.getLayout("offset"),o=i.getLayout("size"),a=t.getBaseAxis().isHorizontal()?0:1;return n[a]+=r+o/2,n}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});e.exports=o},9525:function(e,t,n){var i=n("333f");n("5ce3"),n("824c"),i.registerPreprocessor((function(e){e.markArea=e.markArea||{}}))},"955a":function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("9bc4")),o=n("4790"),a=o.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){return r(this.getSource(),this)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});e.exports=a},"95a7":function(e,t,n){var i=n("55ba"),r=i.parsePercent,o=i.linearMap,a=n("2703"),s=n("cbe1"),l=2*Math.PI,u=Math.PI/180;function c(e,t,n,i){t.eachSeriesByType(e,(function(e){var t=e.getData(),i=t.mapDimension("value"),c=e.get("center"),h=e.get("radius");s.isArray(h)||(h=[0,h]),s.isArray(c)||(c=[c,c]);var d=n.getWidth(),f=n.getHeight(),p=Math.min(d,f),g=r(c[0],d),v=r(c[1],f),m=r(h[0],p/2),y=r(h[1],p/2),x=-e.get("startAngle")*u,_=e.get("minAngle")*u,b=0;t.each(i,(function(e){!isNaN(e)&&b++}));var w=t.getSum(i),S=Math.PI/(w||b)*2,M=e.get("clockwise"),I=e.get("roseType"),A=e.get("stillShowZeroSum"),T=t.getDataExtent(i);T[0]=0;var D=l,P=0,C=x,O=M?1:-1;if(t.each(i,(function(e,n){var i;if(isNaN(e))t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:g,cy:v,r0:m,r:I?NaN:y});else{i="area"!==I?0===w&&A?S:e*S:l/b,i<_?(i=_,D-=_):P+=e;var r=C+O*i;t.setItemLayout(n,{angle:i,startAngle:C,endAngle:r,clockwise:M,cx:g,cy:v,r0:m,r:I?o(e,T,[m,y]):y}),C=r}})),D<l&&b)if(D<=.001){var k=l/b;t.each(i,(function(e,n){if(!isNaN(e)){var i=t.getItemLayout(n);i.angle=k,i.startAngle=x+O*n*k,i.endAngle=x+O*(n+1)*k}}))}else S=D/P,C=x,t.each(i,(function(e,n){if(!isNaN(e)){var i=t.getItemLayout(n),r=i.angle===_?_:e*S;i.startAngle=C,i.endAngle=C+O*r,C+=O*r}}));a(e,y,d,f)}))}e.exports=c},"95d6":function(e,t,n){var i=n("cbe1"),r=i.createHashMap;function o(e){return{getTargetSeries:function(t){var n={},i=r();return t.eachSeriesByType(e,(function(e){e.__paletteScope=n,i.set(e.uid,e)})),i},reset:function(e,t){var n=e.getRawData(),i={},r=e.getData();r.each((function(e){var t=r.getRawIndex(e);i[t]=e})),n.each((function(t){var o,a=i[t],s=null!=a&&r.getItemVisual(a,"color",!0),l=null!=a&&r.getItemVisual(a,"borderColor",!0);if(s&&l||(o=n.getItemModel(t)),s)n.setItemVisual(t,"color",s);else{var u=o.get("itemStyle.color")||e.getColorFromPalette(n.getName(t)||t+"",e.__paletteScope,n.count());n.setItemVisual(t,"color",u),null!=a&&r.setItemVisual(a,"color",u)}if(l)n.setItemVisual(t,"borderColor",l);else{var c=o.get("itemStyle.borderColor");n.setItemVisual(t,"borderColor",c),null!=a&&r.setItemVisual(a,"borderColor",c)}}))}}}e.exports=o},9650:function(e,t,n){var i=n("8096"),r=function(){return i.Date.now()};e.exports=r},9696:function(e,t,n){var i=n("cbe1"),r=n("0e18"),o=n("55ba"),a=n("d1a1"),s=864e5;function l(e,t,n){this._model=e}function u(e,t,n,i){var r=n.calendarModel,o=n.seriesModel,a=r?r.coordinateSystem:o?o.coordinateSystem:null;return a===this?a[e](i):null}l.prototype={constructor:l,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(e){e=o.parseDate(e);var t=e.getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var i=e.getDate();i=i<10?"0"+i:i;var r=e.getDay();return r=Math.abs((r+7-this.getFirstDayOfWeek())%7),{y:t,m:n,d:i,day:r,time:e.getTime(),formatedDate:t+"-"+n+"-"+i,date:e}},getNextNDay:function(e,t){return t=t||0,0===t?this.getDateInfo(e):(e=new Date(this.getDateInfo(e).time),e.setDate(e.getDate()+t),this.getDateInfo(e))},update:function(e,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,o=["width","height"],a=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[n,7]:[7,n];i.each([0,1],(function(e){h(a,e)&&(s[o[e]]=a[e]*l[e])}));var u={width:t.getWidth(),height:t.getHeight()},c=this._rect=r.getLayoutRect(s,u);function h(e,t){return null!=e[t]&&"auto"!==e[t]}i.each([0,1],(function(e){h(a,e)||(a[e]=c[o[e]]/l[e])})),this._sw=a[0],this._sh=a[1]},dataToPoint:function(e,t){i.isArray(e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),r=this._rangeInfo,o=n.formatedDate;if(t&&!(n.time>=r.start.time&&n.time<r.end.time+s))return[NaN,NaN];var a=n.day,l=this._getRangeInfo([r.start.time,o]).nthWeek;return"vertical"===this._orient?[this._rect.x+a*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]:[this._rect.x+l*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]},pointToData:function(e){var t=this.pointToDate(e);return t&&t.time},dataToRect:function(e,t){var n=this.dataToPoint(e,t);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},pointToDate:function(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,n=Math.floor((e[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,t-1,i):this._getDateByWeeksAndDay(t,n-1,i)},convertToPixel:i.curry(u,"dataToPoint"),convertFromPixel:i.curry(u,"pointToData"),_initRangeOption:function(){var e=this._model.get("range"),t=e;if(i.isArray(t)&&1===t.length&&(t=t[0]),/^\d{4}$/.test(t)&&(e=[t+"-01-01",t+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(t)){var n=this.getDateInfo(t),r=n.date;r.setMonth(r.getMonth()+1);var o=this.getNextNDay(r,-1);e=[n.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(t)&&(e=[t,t]);var a=this._getRangeInfo(e);return a.start.time>a.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&&t<i.fweek||e===i.weeks&&t>i.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<e.length)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:C}}function C(){return{value:t,done:!0}}return v.prototype=b.constructor=m,m.constructor=v,m[s]=v.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},w(S.prototype),S.prototype[a]=function(){return this},e.AsyncIterator=S,e.async=function(t,n,i,r){var o=new S(l(t,n,i,r));return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},w(b),b[s]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=!0,n}},e.values=P,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var o=this.tryEntries.length-1;o>=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<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=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;i<n;i++)if(e[i].length>t)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<r;++i){var s=this.createElement("stop");s.setAttribute("offset",100*n[i].offset+"%");var l=n[i].color;if(l.indexOf(!1)){var u=a.parse(l)[3],c=a.toHex(l);s.setAttribute("stop-color","#"+c),s.setAttribute("stop-opacity",u)}else s.setAttribute("stop-color",n[i].color);t.appendChild(s)}e._dom=t},s.prototype.markUsed=function(e){if(e.style){var t=e.style.fill;t&&t._dom&&i.prototype.markUsed.call(this,t._dom),t=e.style.stroke,t&&t._dom&&i.prototype.markUsed.call(this,t._dom)}};var l=s;e.exports=l},"97d3":function(e,t,n){var i=n("cbe1"),r={updateSelectedMap:function(e){this._targetList=i.isArray(e)?e.slice():[],this._selectTargetMap=i.reduce(e||[],(function(e,t){return e.set(t.name,t),e}),i.createHashMap())},select:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e),i=this.get("selectedMode");"single"===i&&this._selectTargetMap.each((function(e){e.selected=!1})),n&&(n.selected=!0)},unSelect:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);n&&(n.selected=!1)},toggleSelected:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);if(null!=n)return this[n.selected?"unSelect":"select"](e,t),n.selected},isSelected:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);return n&&n.selected}};e.exports=r},"982f":function(e,t,n){var i=n("333f");n("e5d6"),n("bf32"),n("d42c");var r=n("d3d5"),o=n("68a7"),a=n("c378"),s=n("e40d"),l=n("05d4"),u=n("4984"),c=n("a906"),h=n("7be0");i.registerProcessor(r),i.registerVisual(o("graph","circle",null)),i.registerVisual(a),i.registerVisual(s),i.registerLayout(l),i.registerLayout(i.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),i.registerLayout(c),i.registerCoordinateSystem("graphView",{create:h})},"99af":function(e,t,n){"use strict";var i=n("23e7"),r=n("d039"),o=n("e8b5"),a=n("861d"),s=n("7b0b"),l=n("50c4"),u=n("8418"),c=n("65f0"),h=n("1dde"),d=n("b622"),f=n("60ae"),p=d("isConcatSpreadable"),g=9007199254740991,v="Maximum allowed index exceeded",m=f>=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;t<i;t++)if(o=-1===t?a:arguments[t],x(o)){if(r=l(o.length),d+r>g)throw TypeError(v);for(n=0;n<r;n++,d++)n in o&&u(h,d,o[n])}else{if(d>=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<r;h+=c){var d=i?i[h]:a[0]+h,f=u(d),p=l.getTextRect(f),g=w(p,l.get("rotate")||0);s?s.union(g):s=g}return s}}function w(e,t){var n=t*Math.PI/180,i=e.plain(),r=i.width,o=i.height,a=r*Math.cos(n)+o*Math.sin(n),s=r*Math.sin(n)+o*Math.cos(n),l=new f(i.x,i.y,a,s);return l}function S(e){var t=e.get("interval");return null==t?"auto":t}function M(e){return"category"===e.type&&0===S(e.getLabelModel())}n("550f"),n("09fb"),t.getScaleExtent=p,t.niceScaleExtent=v,t.createScaleByModel=m,t.ifAxisCrossZero=y,t.makeLabelFormatter=x,t.getAxisRawValue=_,t.estimateLabelUnionRect=b,t.getOptionCategoryInterval=S,t.shouldShowAllLabels=M},"9a6c":function(e,t,n){var i=n("333f");n("955a"),n("c548");var r=n("68a7"),o=n("440c"),a=n("aed8");n("3edc"),i.registerVisual(r("line","circle","line")),i.registerLayout(o("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,a("line"))},"9bc4":function(e,t,n){var i=n("cbe1"),r=n("3a73"),o=n("7ead"),a=n("6178"),s=a.SOURCE_FORMAT_ORIGINAL,l=n("0f62"),u=l.getDimensionTypeByAxis,c=n("5c3e"),h=c.getDataItemValue,d=n("d1a1"),f=n("e0f4"),p=f.getCoordSysDefineBySeries,g=n("1431"),v=n("a4bb"),m=v.enableDataStack;function y(e,t,n){n=n||{},g.isInstance(e)||(e=g.seriesDataToSource(e));var a,s=t.get("coordinateSystem"),l=d.get(s),c=p(t);c&&(a=i.map(c.coordSysDims,(function(e){var t={name:e},n=c.axisMap.get(e);if(n){var i=n.get("type");t.type=u(i)}return t}))),a||(a=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var h,f,v=o(e,{coordDimensions:a,generateCoord:n.generateCoord});c&&i.each(v,(function(e,t){var n=e.coordDim,i=c.categoryAxisMap.get(n);i&&(null==h&&(h=t),e.ordinalMeta=i.getOrdinalMeta()),null!=e.otherDims.itemName&&(f=!0)})),f||null==h||(v[h].otherDims.itemName=0);var y=m(t,v),_=new r(v,t);_.setCalculationInfo(y);var b=null!=h&&x(e)?function(e,t,n,i){return i===h?n:this.defaultDimValueGetter(e,t,n,i)}:null;return _.hasItemOption=!1,_.initData(e,null,b),_}function x(e){if(e.sourceFormat===s){var t=_(e.data||[]);return null!=t&&!i.isArray(h(t))}}function _(e){var t=0;while(t<e.length&&null==e[t])t++;return e[t]}var b=y;e.exports=b},"9c9f":function(e,t,n){var i=n("cbe1"),r=n("2dda"),o=n("337b"),a=n("db6e"),s=["axisLine","axisTickLabel","axisName"],l=["splitLine","splitArea"],u=a.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,r=n.polar,a=r.getAngleAxis(),u=n.getTicksCoords(),h=a.getExtent()[0],d=n.getExtent(),f=c(r,e,h),p=new o(e,f);i.each(s,p.add,p),this.group.add(p.getGroup()),i.each(l,(function(t){e.get(t+".show")&&!n.scale.isBlank()&&this["_"+t](e,r,h,d,u)}),this)}},_splitLine:function(e,t,n,o,a){var s=e.getModel("splitLine"),l=s.getModel("lineStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=0;d<a.length;d++){var f=c++%u.length;h[f]=h[f]||[],h[f].push(new r.Circle({shape:{cx:t.cx,cy:t.cy,r:a[d].coord},silent:!0}))}for(d=0;d<h.length;d++)this.group.add(r.mergePath(h[d],{style:i.defaults({stroke:u[d%u.length],fill:null},l.getLineStyle()),silent:!0}))},_splitArea:function(e,t,n,o,a){if(a.length){var s=e.getModel("splitArea"),l=s.getModel("areaStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=a[0].coord,f=1;f<a.length;f++){var p=c++%u.length;h[p]=h[p]||[],h[p].push(new r.Sector({shape:{cx:t.cx,cy:t.cy,r0:d,r:a[f].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),d=a[f].coord}for(f=0;f<h.length;f++)this.group.add(r.mergePath(h[f],{style:i.defaults({fill:u[f%u.length]},l.getAreaStyle()),silent:!0}))}}});function c(e,t,n){return{position:[e.cx,e.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}e.exports=u},"9e85":function(e,t,n){var i=n("43d3");function r(e){this._setting=e||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}r.prototype.parse=function(e){return e},r.prototype.getSetting=function(e){return this._setting[e]},r.prototype.contain=function(e){var t=this._extent;return e>=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[0]&&(t[0]=e[0]),e[1]>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[0]&&(t[0]=e[0]),e[1]>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;i<e.end;i++){var r=t.getItemLayout(i);if(h(r)){var o=new this._ctor(t,i,this._seriesScope);o.traverse(n),this.group.add(o),t.setItemGraphicEl(i,o)}}},a.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},a._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var d=o;e.exports=d},a147:function(e,t,n){n("3edc"),n("7c8a"),n("4da2")},a1ee:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("5c3e")),o=r.makeInner,a=r.getDataItemValue,s=n("e0f4"),l=s.getCoordSysDefineBySeries,u=n("cbe1"),c=u.createHashMap,h=u.each,d=u.map,f=u.isArray,p=u.isString,g=u.isObject,v=u.isTypedArray,m=u.isArrayLike,y=u.extend,x=(u.assert,n("1431")),_=n("6178"),b=_.SOURCE_FORMAT_ORIGINAL,w=_.SOURCE_FORMAT_ARRAY_ROWS,S=_.SOURCE_FORMAT_OBJECT_ROWS,M=_.SOURCE_FORMAT_KEYED_COLUMNS,I=_.SOURCE_FORMAT_UNKNOWN,A=_.SOURCE_FORMAT_TYPED_ARRAY,T=_.SERIES_LAYOUT_BY_ROW,D=o();function P(e){var t=e.option.source,n=I;if(v(t))n=A;else if(f(t)){0===t.length&&(n=w);for(var i=0,r=t.length;i<r;i++){var o=t[i];if(null!=o){if(f(o)){n=w;break}if(g(o)){n=S;break}}}}else if(g(t)){for(var a in t)if(t.hasOwnProperty(a)&&m(t[a])){n=M;break}}else if(null!=t)throw new Error("Invalid data");D(e).sourceFormat=n}function C(e){return D(e).source}function O(e){D(e).datasetMap=c()}function k(e){var t=e.option,n=t.data,i=v(n)?A:b,r=!1,o=t.seriesLayoutBy,a=t.sourceHeader,s=t.dimensions,l=B(e);if(l){var u=l.option;n=u.source,i=D(l).sourceFormat,r=!0,o=o||u.seriesLayoutBy,null==a&&(a=u.sourceHeader),s=s||u.dimensions}var c=L(n,i,o,a,s),h=t.encode;!h&&l&&(h=N(e,l,n,i,o,c)),D(e).source=new x({data:n,fromDataset:r,seriesLayoutBy:o,sourceFormat:i,dimensionsDefine:c.dimensionsDefine,startIndex:c.startIndex,dimensionsDetectCount:c.dimensionsDetectCount,encodeDefine:h})}function L(e,t,n,i,r){if(!e)return{dimensionsDefine:E(r)};var o,s,l,u;if(t===w)"auto"===i||null==i?R((function(e){null!=e&&"-"!==e&&(p(e)?null==s&&(s=1):s=0)}),n,e,10):s=i?1:0,r||1!==s||(r=[],R((function(e,t){r[t]=null!=e?e:""}),n,e)),o=r?r.length:n===T?e.length:e[0]?e[0].length:null;else if(t===S)r||(r=z(e),l=!0);else if(t===M)r||(r=[],l=!0,h(e,(function(e,t){r.push(t)})));else if(t===b){var c=a(e[0]);o=f(c)&&c.length||1}return l&&h(r,(function(e,t){"name"===(g(e)?e.name:e)&&(u=t)})),{startIndex:s,dimensionsDefine:E(r),dimensionsDetectCount:o,potentialNameDimIndex:u}}function E(e){if(e){var t=c();return d(e,(function(e,n){if(e=y({},g(e)?e:{name:e}),null==e.name)return e;e.name+="",null==e.displayName&&(e.displayName=e.name);var i=t.get(e.name);return i?e.name+="-"+i.count++:t.set(e.name,{count:1}),e}))}}function R(e,t,n,i){if(null==i&&(i=1/0),t===T)for(var r=0;r<n.length&&r<i;r++)e(n[r]?n[r][0]:null,r);else{var o=n[0]||[];for(r=0;r<o.length&&r<i;r++)e(o[r],r)}}function z(e){var t,n=0;while(n<e.length&&!(t=e[n++]));if(t){var i=[];return h(t,(function(e,t){i.push(t)})),i}}function N(e,t,n,i,r,o){var a=l(e),s={},u=[],d=[],f=e.subType,p=c(["pie","map","funnel"]),g=c(["line","bar","pictorialBar","scatter","effectScatter","candlestick","boxplot"]);if(a&&null!=g.get(f)){var v=e.ecModel,m=D(v).datasetMap,y=t.uid+"_"+r,x=m.get(y)||m.set(y,{categoryWayDim:1,valueWayDim:0});h(a.coordSysDims,(function(e){if(null==a.firstCategoryDimIndex){var t=x.valueWayDim++;s[e]=t,d.push(t)}else if(a.categoryAxisMap.get(e))s[e]=0,u.push(0);else{t=x.categoryWayDim++;s[e]=t,d.push(t)}}))}else if(null!=p.get(f)){for(var _,b=0;b<5&&null==_;b++)j(n,i,r,o.dimensionsDefine,o.startIndex,b)||(_=b);if(null!=_){s.value=_;var w=o.potentialNameDimIndex||Math.max(_-1,0);d.push(w),u.push(w)}}return u.length&&(s.itemName=u),d.length&&(s.seriesName=d),s}function B(e){var t=e.option,n=t.data;if(!n)return e.ecModel.getComponent("dataset",t.datasetIndex||0)}function V(e,t){return j(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function j(e,t,n,i,r,o){var s,l,u=5;if(v(e))return!1;if(i&&(l=i[o],l=g(l)?l.name:l),t===w)if(n===T){for(var c=e[o],h=0;h<(c||[]).length&&h<u;h++)if(null!=(s=x(c[r+h])))return s}else for(h=0;h<e.length&&h<u;h++){var d=e[r+h];if(d&&null!=(s=x(d[o])))return s}else if(t===S){if(!l)return;for(h=0;h<e.length&&h<u;h++){var m=e[h];if(m&&null!=(s=x(m[l])))return s}}else if(t===M){if(!l)return;c=e[l];if(!c||v(c))return!1;for(h=0;h<c.length&&h<u;h++)if(null!=(s=x(c[h])))return s}else if(t===b)for(h=0;h<e.length&&h<u;h++){m=e[h];var y=a(m);if(!f(y))return!1;if(null!=(s=x(y[o])))return s}function x(e){return(null==e||!isFinite(e)||""===e)&&(!(!p(e)||"-"===e)||void 0)}return!1}t.detectSourceFormat=P,t.getSource=C,t.resetSourceDefaulter=O,t.prepareSource=k,t.guessOrdinal=V},a1f8:function(e,t){var n=Object.prototype,i=n.toString;function r(e){return i.call(e)}e.exports=r},a2fd:function(e,t,n){var i=n("333f");n("ec7d"),i.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},(function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])}))}))},a4bb:function(e,t,n){var i=n("cbe1"),r=i.each,o=i.isString;function a(e,t,n){n=n||{};var i,a,s,l,u=n.byIndex,c=n.stackedCoordDimension,h=!(!e||!e.get("stack"));if(r(t,(function(e,n){o(e)&&(t[n]=e={name:e}),h&&!e.isExtraCoord&&(u||i||!e.ordinalMeta||(i=e),a||"ordinal"===e.type||"time"===e.type||c&&c!==e.coordDim||(a=e))})),!a||u||i||(u=!0),a){s="__\0ecstackresult",l="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var d=a.coordDim,f=a.type,p=0;r(t,(function(e){e.coordDim===d&&p++})),t.push({name:s,coordDim:d,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0}),p++,t.push({name:l,coordDim:l,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:a&&a.name,stackedByDimension:i&&i.name,isStackedByIndex:u,stackedOverDimension:l,stackResultDimension:s}}function s(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function l(e,t){return s(e,t)?e.getCalculationInfo("stackResultDimension"):t}t.enableDataStack=a,t.isDimensionStacked=s,t.getStackedDimension=l},a4c7:function(e,t,n){var i=n("333f");i.registerAction({type:"brush",event:"brush"},(function(e,t){t.eachComponent({mainType:"brush",query:e},(function(t){t.setAreas(e.areas)}))})),i.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},(function(){})),i.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){}))},a540:function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("49c8");n("5be6"),n("aee3"),n("01d4"),n("4da2"),n("09d7"),i.registerLayout(r.curry(o,"bar")),i.extendComponentView({type:"polar"})},a646:function(e,t,n){var i=n("333f"),r=n("86e8"),o=n("5c3e"),a=o.defaultEmphasis,s=i.extendSeriesModel({type:"series.funnel",init:function(e){s.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(e)},getInitialData:function(e,t){return r(this,["value"])},_defaultLabelLine:function(e){a(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},getDataParams:function(e){var t=this.getData(),n=s.superCall(this,"getDataParams",e),i=t.mapDimension("value"),r=t.getSum(i);return n.percent=r?+(t.get(i,e)/r*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),l=s;e.exports=l},a69e:function(e,t,n){var i=n("2dda"),r=n("dbbd"),o=i.Line.prototype,a=i.BezierCurve.prototype;function s(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var l=i.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(e,t){this[s(t)?"_buildPathLine":"_buildPathCurve"](e,t)},_buildPathLine:o.buildPath,_buildPathCurve:a.buildPath,pointAt:function(e){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](e)},_pointAtLine:o.pointAt,_pointAtCurve:a.pointAt,tangentAt:function(e){var t=this.shape,n=s(t)?[t.x2-t.x1,t.y2-t.y1]:this._tangentAtCurve(e);return r.normalize(n,n)},_tangentAtCurve:a.tangentAt});e.exports=l},a6bd:function(e,t,n){var i=n("333f");n("2268"),n("5a4d"),n("f248");var r=n("3ee8"),o=n("4098"),a=n("5866");i.registerLayout(r),i.registerVisual(o),i.registerProcessor(a("themeRiver"))},a7dc:function(e,t,n){var i=n("333f");n("5aaa"),n("3572"),i.registerPreprocessor((function(e){e.markLine=e.markLine||{}}))},a906:function(e,t,n){var i=n("f8c8"),r=i.forceLayout,o=n("0afd"),a=o.simpleLayout,s=n("3bad"),l=s.circularLayout,u=n("55ba"),c=u.linearMap,h=n("dbbd"),d=n("cbe1");function f(e){e.eachSeriesByType("graph",(function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var n=e.preservedPoints||{},i=e.getGraph(),o=i.data,s=i.edgeData,u=e.getModel("force"),f=u.get("initLayout");e.preservedPoints?o.each((function(e){var t=o.getId(e);o.setItemLayout(e,n[t]||[NaN,NaN])})):f&&"none"!==f?"circular"===f&&l(e,"value"):a(e);var p=o.getDataExtent("value"),g=s.getDataExtent("value"),v=u.get("repulsion"),m=u.get("edgeLength");d.isArray(v)||(v=[v,v]),d.isArray(m)||(m=[m,m]),m=[m[1],m[0]];var y=o.mapArray("value",(function(e,t){var n=o.getItemLayout(t),i=c(e,p,v);return isNaN(i)&&(i=(v[0]+v[1])/2),{w:i,rep:i,fixed:o.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),x=s.mapArray("value",(function(e,t){var n=i.getEdgeByIndex(t),r=c(e,g,m);isNaN(r)&&(r=(m[0]+m[1])/2);var o=n.getModel();return{n1:y[n.node1.dataIndex],n2:y[n.node2.dataIndex],d:r,curveness:o.get("lineStyle.curveness")||0,ignoreForceLayout:o.get("ignoreForceLayout")}})),_=(t=e.coordinateSystem,t.getBoundingRect()),b=r(y,x,{rect:_,gravity:u.get("gravity"),friction:u.get("friction")}),w=b.step;b.step=function(e){for(var t=0,r=y.length;t<r;t++)y[t].fixed&&h.copy(y[t].p,i.getNodeByIndex(t).getLayout());w((function(t,r,a){for(var s=0,l=t.length;s<l;s++)t[s].fixed||i.getNodeByIndex(s).setLayout(t[s].p),n[o.getId(s)]=t[s].p;for(s=0,l=r.length;s<l;s++){var u=r[s],c=i.getEdgeByIndex(s),d=u.n1.p,f=u.n2.p,p=c.getLayout();p=p?p.slice():[],p[0]=p[0]||[],p[1]=p[1]||[],h.copy(p[0],d),h.copy(p[1],f),+u.curveness&&(p[2]=[(d[0]+f[0])/2-(d[1]-f[1])*u.curveness,(d[1]+f[1])/2-(f[0]-d[0])*u.curveness]),c.setLayout(p)}e&&e(a)}))},e.forceLayout=b,e.preservedPoints=n,b.step()}else e.forceLayout=null}))}e.exports=f},a9c8:function(e,t,n){var i=n("333f"),r=n("015f");n("14a4"),n("bd8a"),n("82c6"),n("a4c7"),n("abae"),i.registerPreprocessor(r)},a9e3:function(e,t,n){"use strict";var i=n("83ab"),r=n("da84"),o=n("94ca"),a=n("6eeb"),s=n("5135"),l=n("c6b6"),u=n("7156"),c=n("c04e"),h=n("d039"),d=n("7c73"),f=n("241c").f,p=n("06cf").f,g=n("9bf2").f,v=n("58a8").trim,m="Number",y=r[m],x=y.prototype,_=l(d(x))==m,b=function(e){var t,n,i,r,o,a,s,l,u=c(e,!1);if("string"==typeof u&&u.length>2)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;s<a;s++)if(l=o.charCodeAt(s),l<48||l>r)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;b<h.length;b++){var w=h[b],S=!0;switch(w.cmd){case"=":var M=e.getItemLayout(w.idx),I=t.getItemLayout(w.idx1);(isNaN(M[0])||isNaN(M[1]))&&(M=I.slice()),d.push(M),f.push(I),p.push(n[w.idx]),g.push(i[w.idx1]),y.push(t.getRawIndex(w.idx1));break;case"+":var A=w.idx;d.push(s.dataToPoint([t.get(x.dataDimsForPoint[0],A),t.get(x.dataDimsForPoint[1],A)])),f.push(t.getItemLayout(A).slice()),p.push(o(x,s,t,A)),g.push(i[A]),y.push(t.getRawIndex(A));break;case"-":A=w.idx;var T=e.getRawIndex(A);T!==A?(d.push(e.getItemLayout(A)),f.push(l.dataToPoint([e.get(_.dataDimsForPoint[0],A),e.get(_.dataDimsForPoint[1],A)])),p.push(n[A]),g.push(o(_,l,e,A)),y.push(T)):S=!1}S&&(v.push(w),m.push(m.length))}m.sort((function(e,t){return y[e]-y[t]}));var D=[],P=[],C=[],O=[],k=[];for(b=0;b<m.length;b++){A=m[b];D[b]=d[A],P[b]=f[A],C[b]=p[A],O[b]=g[A],k[b]=v[A]}return{current:D,next:P,stackedOnCurrent:C,stackedOnNext:O,status:k}}e.exports=s},aada:function(e,t,n){var i=n("55ba"),r=i.round;function o(e,t,n,o){var s={},u=e[1]-e[0],c=s.interval=i.nice(u/t,!0);null!=n&&c<n&&(c=s.interval=n),null!=o&&c>o&&(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]<n[0]&&o.push(t[0]);var s=n[0];while(s<=n[1]){if(o.push(s),s=r(s+e,i),s===o[o.length-1])break;if(o.length>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;i<e.length;i++)isNaN(e[i])||(t+=e[i],n++);return 0===n?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},nearest:function(e){return e[0]}},i=function(e,t){return Math.round(e.length/2)};function r(e){return{seriesType:e,modifyOutputEnd:!0,reset:function(e,t,r){var o=e.getData(),a=e.get("sampling"),s=e.coordinateSystem;if("cartesian2d"===s.type&&a){var l,u=s.getBaseAxis(),c=s.getOtherAxis(u),h=u.getExtent(),d=h[1]-h[0],f=Math.round(o.count()/d);if(f>1)"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;c<a;c++)o[c]&&R(e.childAt(c),t,o[c],i,e,r)}}function N(e){new h(e.oldChildren,e.newChildren,B,B,e).add(V).update(V).remove(W).execute()}function B(e,t){var n=e&&e.name;return null!=n?n:T+t}function V(e,t){var n=this.context,i=null!=e?n.newChildren[e]:null,r=null!=t?n.oldChildren[t]:null;R(r,n.dataIndex,i,n.animatableModel,n.group,n.data)}function j(e,t){var n=new f({},t);return r.each(w,(function(t,i){e.hasOwnProperty(t)&&(n.option[i]=e[t])})),n}function F(e,t){for(var n in t)!t.hasOwnProperty(n)&&w.hasOwnProperty(n)||(e[n]=t[n])}function W(e){var t=this.context,n=t.oldChildren[e];n&&t.group.remove(n)}function G(e){return e&&(e.pathData||e.d)}function H(e){return e&&(e.hasOwnProperty("pathData")||e.hasOwnProperty("d"))}function U(e,t){return e&&e.hasOwnProperty(t)}d.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(e,t){return l(this.getSource(),this)},getDataParams:function(e,t,n){var i=d.prototype.getDataParams.apply(this,arguments);return n&&(i.info=n.info),i}}),p.extend({type:"custom",_data:null,render:function(e,t,n,i){var r=this._data,o=e.getData(),a=this.group,s=k(e,o,t,n);o.diff(r).add((function(t){E(null,t,s(t,i),e,a,o)})).update((function(t,n){var l=r.getItemGraphicEl(n);E(l,t,s(t,i),e,a,o)})).remove((function(e){var t=r.getItemGraphicEl(e);t&&a.remove(t)})).execute();var l=e.get("clip",!0)?v(e.coordinateSystem,!1,e):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},incrementalPrepareRender:function(e,t,n){this.group.removeAll(),this._data=null},incrementalRender:function(e,t,n,i,r){var o=t.getData(),a=k(t,o,n,i);function s(e){e.isGroup||(e.incremental=!0,e.useHoverLayer=!0)}for(var l=e.start;l<e.end;l++){var u=E(null,l,a(l,r),t,this.group,o);u.traverse(s)}},dispose:r.noop,filterForExposedEvent:function(e,t,n,i){var r=t.element;if(null==r||n.name===r)return!0;while((n=n.parent)&&n!==this.group)if(n.name===r)return!0;return!1}})},b34d:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("333f")),o=n("cbe1"),a=n("df7d"),s=a.createSymbol,l=n("2dda"),u=n("040f"),c=u.makeBackground,h=n("0e18"),d=o.curry,f=o.each,p=l.Group,g=r.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new p),this._backgroundEl,this.group.add(this._selectorGroup=new p),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(e,t,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var r=e.get("align"),a=e.get("orient");r&&"auto"!==r||(r="right"===e.get("left")&&"vertical"===a?"right":"left");var s=e.get("selector",!0),l=e.get("selectorPosition",!0);!s||l&&"auto"!==l||(l="horizontal"===a?"end":"start"),this.renderInner(r,e,t,n,s,a,l);var u=e.getBoxLayoutParams(),d={width:n.getWidth(),height:n.getHeight()},f=e.get("padding"),p=h.getLayoutRect(u,d,f),g=this.layoutInner(e,r,p,i,s,l),v=h.getLayoutRect(o.defaults({width:g.width,height:g.height},u),d,f);this.group.attr("position",[v.x-g.x,v.y-g.y]),this.group.add(this._backgroundEl=c(g,e))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(e,t,n,i,r,a,s){var l=this.getContentGroup(),u=o.createHashMap(),c=t.get("selectedMode"),h=[];n.eachRawSeries((function(e){!e.get("legendHoverLink")&&h.push(e.id)})),f(t.getData(),(function(r,o){var a=r.get("name");if(this.newlineDisabled||""!==a&&"\n"!==a){var s=n.getSeriesByName(a)[0];if(!u.get(a))if(s){var f=s.getData(),g=f.getVisual("color"),v=f.getVisual("borderColor");"function"===typeof g&&(g=g(s.getDataParams(0))),"function"===typeof v&&(v=v(s.getDataParams(0)));var _=f.getVisual("legendSymbol")||"roundRect",b=f.getVisual("symbol"),w=this._createItem(a,o,r,t,_,b,e,g,v,c);w.on("click",d(m,a,i)).on("mouseover",d(y,s.name,null,i,h)).on("mouseout",d(x,s.name,null,i,h)),u.set(a,!0)}else n.eachRawSeries((function(n){if(!u.get(a)&&n.legendDataProvider){var s=n.legendDataProvider(),l=s.indexOfName(a);if(l<0)return;var f=s.getItemVisual(l,"color"),p=s.getItemVisual(l,"borderColor"),g="roundRect",v=this._createItem(a,o,r,t,g,null,e,f,p,c);v.on("click",d(m,a,i)).on("mouseover",d(y,null,a,i,h)).on("mouseout",d(x,null,a,i,h)),u.set(a,!0)}}),this)}else l.add(new p({newline:!0}))}),this),r&&this._createSelector(r,t,i,a,s)},_createSelector:function(e,t,n,i,r){var o=this.getSelectorGroup();function a(e){var i=e.type,r=new l.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r);var a=t.getModel("selectorLabel"),s=t.getModel("emphasis.selectorLabel");l.setLabelStyle(r.style,r.hoverStyle={},a,s,{defaultText:e.title,isRectText:!1}),l.setHoverStyle(r)}f(e,(function(e){a(e)}))},_createItem:function(e,t,n,i,r,a,u,c,h,d){var f=i.get("itemWidth"),g=i.get("itemHeight"),m=i.get("inactiveColor"),y=i.get("inactiveBorderColor"),x=i.get("symbolKeepAspect"),_=i.getModel("itemStyle"),b=i.isSelected(e),w=new p,S=n.getModel("textStyle"),M=n.get("icon"),I=n.getModel("tooltip"),A=I.parentModel;r=M||r;var T=s(r,0,0,f,g,b?c:m,null==x||x);if(w.add(v(T,r,_,h,y,b)),!M&&a&&(a!==r||"none"===a)){var D=.8*g;"none"===a&&(a="circle");var P=s(a,(f-D)/2,(g-D)/2,D,D,b?c:m,null==x||x);w.add(v(P,a,_,h,y,b))}var C="left"===u?f+5:-5,O=u,k=i.get("formatter"),L=e;"string"===typeof k&&k?L=k.replace("{name}",null!=e?e:""):"function"===typeof k&&(L=k(e)),w.add(new l.Text({style:l.setTextStyle({},S,{text:L,x:C,y:g/2,textFill:b?S.getTextColor():m,textAlign:O,textVerticalAlign:"middle"})}));var E=new l.Rect({shape:w.getBoundingRect(),invisible:!0,tooltip:I.get("show")?o.extend({content:e,formatter:A.get("formatter",!0)||function(){return e},formatterParams:{componentType:"legend",legendIndex:i.componentIndex,name:e,$vars:["name"]}},I.option):null});return w.add(E),w.eachChild((function(e){e.silent=!0})),E.silent=!d,this.getContentGroup().add(w),l.setHoverStyle(w),w.__legendDataIndex=t,w},layoutInner:function(e,t,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();h.box(e.get("orient"),a,e.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(r){h.box("horizontal",s,e.get("selectorItemGap",!0));var c=s.getBoundingRect(),d=[-c.x,-c.y],f=e.get("selectorButtonGap",!0),p=e.getOrient().index,g=0===p?"width":"height",v=0===p?"height":"width",m=0===p?"y":"x";"end"===o?d[p]+=l[g]+f:u[p]+=c[g]+f,d[1-p]+=l[v]/2-c[v]/2,s.attr("position",d),a.attr("position",u);var y={x:0,y:0};return y[g]=l[g]+f+c[g],y[v]=Math.max(l[v],c[v]),y[m]=Math.min(0,c[m]+d[1-p]),y}return a.attr("position",u),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function v(e,t,n,i,r,o){var a;return"line"!==t&&t.indexOf("empty")<0?(a=n.getItemStyle(),e.style.stroke=i,o||(a.stroke=r)):a=n.getItemStyle(["borderWidth","borderColor"]),e.setStyle(a)}function m(e,t){t.dispatchAction({type:"legendToggleSelect",name:e})}function y(e,t,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:i})}function x(e,t,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:i})}e.exports=g},b42d:function(e,t,n){n("5670"),n("fb1d")},b43f:function(e,t,n){var i=n("b8e1"),r=i.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});e.exports=r},b547:function(e,t,n){var i=n("2bfc"),r=i.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(e,t,n){n&&e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI,!0)}});e.exports=r},b561:function(e,t,n){var i=n("cbe1"),r=n("3e28"),o=n("1ede"),a=n("05e9"),s=i.bind,l=r.extend({type:"dataZoom.inside",init:function(e,t){this._range},render:function(e,t,n,r){l.superApply(this,"render",arguments),this._range=e.getPercentRange(),i.each(this.getTargetCoordInfo(),(function(t,r){var o=i.map(t,(function(e){return a.generateCoordId(e.model)}));i.each(t,(function(t){var l=t.model,c={};i.each(["pan","zoom","scrollMove"],(function(e){c[e]=s(u[e],this,t,r)}),this),a.register(n,{coordId:a.generateCoordId(l),allCoordIds:o,containsPoint:function(e,t,n){return l.coordinateSystem.containPoint([t,n])},dataZoomId:e.id,dataZoomModel:e,getRange:c})}),this)}),this)},dispose:function(){a.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null}}),u={zoom:function(e,t,n,i){var r=this._range,a=r.slice(),s=e.axisModels[0];if(s){var l=h[t](null,[i.originX,i.originY],s,n,e),u=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(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;n<t.length;n++)e.animation.addAnimator(t[n]);this.clipPath&&this.clipPath.addSelfToZr(e)},removeSelfFromZr:function(e){this.__zr=null;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.removeAnimator(t[n]);this.clipPath&&this.clipPath.removeSelfFromZr(e)}},s.mixin(l,a),s.mixin(l,o),s.mixin(l,r);var u=l;e.exports=u},b895:function(e,t,n){var i=n("dbbd"),r=i.distance;function o(e,t,n,i,r,o,a){var s=.5*(n-e),l=.5*(i-t);return(2*(t-n)+s+l)*a+(-3*(t-n)-2*s-l)*o+s*r+t}function a(e,t){for(var n=e.length,i=[],a=0,s=1;s<n;s++)a+=r(e[s-1],e[s]);var l=a/2;l=l<n?n:l;for(s=0;s<l;s++){var u,c,h,d=s/(l-1)*(t?n:n-1),f=Math.floor(d),p=d-f,g=e[f%n];t?(u=e[(f-1+n)%n],c=e[(f+1)%n],h=e[(f+2)%n]):(u=e[0===f?f:f-1],c=e[f>n-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;o<a;o++)"category"===r[o].get("type")&&i.push(o);n[t.axisIndex]=i,i.length&&(e=!1)}}),this),e&&this.ecModel.eachSeries((function(e){this._isSeriesHasAllAxesTypeOf(e,"value")&&h((function(t){var i=n[t.axisIndex],r=e.get(t.axisIndex),a=e.get(t.axisId),s=e.ecModel.queryComponents({mainType:t.axis,index:r,id:a})[0];r=s.componentIndex,o.indexOf(i,r)<0&&i.push(r)}))}),this)},_autoSetOrient:function(){var e;this.eachTargetAxis((function(t){!e&&(e=t.name)}),this),this.option.orient="y"===e?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(e,t){var n=!0;return h((function(i){var r=e.get(i.axisIndex),o=this.dependentModels[i.axis][r];o&&o.get("type")===t||(n=!1)}),this),n},_setDefaultThrottle:function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var e;return 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,"&amp;").replace(/"/g,"&quot;")},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<I;P++){var C=S[P],O=V(C.color);D.push(C.offset*u+l+" "+O[0]),0!==P&&P!==I-1||A.push(O)}if(I>=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<v;){switch(r=g[a++],i="",n=0,r){case u:i=" m ",n=1,s=g[a++],l=g[a++],G[0][0]=s,G[0][1]=l;break;case h:i=" l ",n=1,s=g[a++],l=g[a++],G[0][0]=s,G[0][1]=l;break;case f:case c:i=" c ",n=3;var m,b,M=g[a++],A=g[a++],P=g[a++],C=g[a++];r===f?(m=P,b=C,P=(P+2*M)/3,C=(C+2*A)/3,M=(s+2*M)/3,A=(l+2*A)/3):(m=g[a++],b=g[a++]),G[0][0]=M,G[0][1]=A,G[1][0]=P,G[1][1]=C,G[2][0]=m,G[2][1]=b,s=m,l=b;break;case d:var O=0,k=0,L=1,E=1,R=0;t&&(O=t[4],k=t[5],L=_(t[0]*t[0]+t[1]*t[1]),E=_(t[2]*t[2]+t[3]*t[3]),R=Math.atan2(-t[1]/E,t[0]/L));var z=g[a++],N=g[a++],B=g[a++],V=g[a++],j=g[a++]+R,F=g[a++]+j+R;a++;var W=g[a++],H=z+w(j)*B,U=N+S(j)*V,Y=(M=z+w(F)*B,A=N+S(F)*V,W?" wa ":" at ");Math.abs(H-M)<1e-4&&(Math.abs(F-j)>.01?W&&(H+=270/T):Math.abs(U-N)<1e-4?W&&H<z||!W&&H>z?A-=270/T:A+=270/T:W&&U<N||!W&&U>N?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<n;q++){var $=G[q];t&&o($,$,t),p.push(x($[0]*T-D),I,x($[1]*T-D),q<n-1?I:"")}}}return p.join("")};p.prototype.brushVML=function(e){var t=this.style,n=this._vmlEl;n||(n=m.createNode("shape"),O(n),this._vmlEl=n),W(n,"fill",t,this),W(n,"stroke",t,this);var i=this.transform,r=null!=i,o=n.getElementsByTagName("stroke")[0];if(o){var a=t.lineWidth;if(r&&!t.strokeNoScale){var s=i[0]*i[3]-i[1]*i[2];a*=_(b(s))}o.weight=a+"px"}var l=this.path||(this.path=new g);this.__dirtyPath&&(l.beginPath(),l.subPixelOptimize=!1,this.buildPath(l,this.shape),l.toStatic(),this.__dirtyPath=!1),n.path=H(l,this.transform),n.style.zIndex=z(this.zlevel,this.z,this.z2),E(e,n),null!=t.text?this.drawRectText(e,this.getBoundingRect()):this.removeRectText(e)},p.prototype.onRemove=function(e){R(e,this._vmlEl),this.removeRectText(e)},p.prototype.onAdd=function(e){E(e,this._vmlEl),this.appendRectText(e)};var U=function(e){return"object"===typeof e&&e.tagName&&"IMG"===e.tagName.toUpperCase()};d.prototype.brushVML=function(e){var t,n,i=this.style,r=i.image;if(U(r)){var a=r.src;if(a===this._imageSrc)t=this._imageWidth,n=this._imageHeight;else{var s=r.runtimeStyle,l=s.width,u=s.height;s.width="auto",s.height="auto",t=r.width,n=r.height,s.width=l,s.height=u,this._imageSrc=a,this._imageWidth=t,this._imageHeight=n}r=a}else r===this._imageSrc&&(t=this._imageWidth,n=this._imageHeight);if(r){var c=i.x||0,h=i.y||0,d=i.width,f=i.height,p=i.sWidth,g=i.sHeight,v=i.sx||0,y=i.sy||0,b=p&&g,w=this._vmlEl;w||(w=m.doc.createElement("div"),O(w),this._vmlEl=w);var S,T=w.style,D=!1,P=1,C=1;if(this.transform&&(S=this.transform,P=_(S[0]*S[0]+S[1]*S[1]),C=_(S[2]*S[2]+S[3]*S[3]),D=S[1]||S[2]),D){var k=[c,h],L=[c+d,h],R=[c,h+f],N=[c+d,h+f];o(k,k,S),o(L,L,S),o(R,R,S),o(N,N,S);var B=M(k[0],L[0],R[0],N[0]),V=M(k[1],L[1],R[1],N[1]),j=[];j.push("M11=",S[0]/P,I,"M12=",S[2]/C,I,"M21=",S[1]/P,I,"M22=",S[3]/C,I,"Dx=",x(c*P+S[4]),I,"Dy=",x(h*C+S[5])),T.padding="0 "+x(B)+"px "+x(V)+"px 0",T.filter=A+".Matrix("+j.join("")+", SizingMethod=clip)"}else S&&(c=c*P+S[4],h=h*C+S[5]),T.filter="",T.left=x(c)+"px",T.top=x(h)+"px";var F=this._imageEl,W=this._cropEl;F||(F=m.doc.createElement("div"),this._imageEl=F);var G=F.style;if(b){if(t&&n)G.width=x(P*t*d/p)+"px",G.height=x(C*n*f/g)+"px";else{var H=new Image,Y=this;H.onload=function(){H.onload=null,t=H.width,n=H.height,G.width=x(P*t*d/p)+"px",G.height=x(C*n*f/g)+"px",Y._imageWidth=t,Y._imageHeight=n,Y._imageSrc=r},H.src=r}W||(W=m.doc.createElement("div"),W.style.overflow="hidden",this._cropEl=W);var Z=W.style;Z.width=x((d+v*d/p)*P),Z.height=x((f+y*f/g)*C),Z.filter=A+".Matrix(Dx="+-v*d/p*P+",Dy="+-y*f/g*C+")",W.parentNode||w.appendChild(W),F.parentNode!==W&&W.appendChild(F)}else G.width=x(P*d)+"px",G.height=x(C*f)+"px",w.appendChild(F),W&&W.parentNode&&(w.removeChild(W),this._cropEl=null);var X="",q=i.opacity;q<1&&(X+=".Alpha(opacity="+x(100*q)+") "),X+=A+".AlphaImageLoader(src="+r+", SizingMethod=scale)",G.filter=X,w.style.zIndex=z(this.zlevel,this.z,this.z2),E(e,w),null!=i.text&&this.drawRectText(e,this.getBoundingRect())}},d.prototype.onRemove=function(e){R(e,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(e)},d.prototype.onAdd=function(e){E(e,this._vmlEl),this.appendRectText(e)};var Y,Z="normal",X={},q=0,$=100,K=document.createElement("div"),J=function(e){var t=X[e];if(!t){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<s.lines.length;c++){for(var h=s.lines[c].tokens,d=[],f=0;f<h.length;f++)d.push(h[f].text);a.push(d.join(""))}a=a.join("\n")}var p,g,v=r.textAlign,y=r.textVerticalAlign,_=J(r.font),b=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';n=n||l.getBoundingRect(a,b,v,y,r.textPadding,r.textLineHeight);var w=this.transform;if(w&&!i&&(Q.copy(t),Q.applyTransform(w),t=Q),i)p=t.x,g=t.y;else{var S=r.textPosition;if(S instanceof Array)p=t.x+N(S[0],t.width),g=t.y+N(S[1],t.height),v=v||"left";else{var M=this.calculateTextPosition?this.calculateTextPosition({},r,t):l.calculateTextPosition({},r,t);p=M.x,g=M.y,v=v||M.textAlign,y=y||M.textVerticalAlign}}p=l.adjustTextX(p,n.width,v),g=l.adjustTextY(g,n.height,y),g+=n.height/2;var A,T,D,P=m.createNode,C=this._textVmlEl;C?(D=C.firstChild,A=D.nextSibling,T=A.nextSibling):(C=P("line"),A=P("path"),T=P("textpath"),D=P("skew"),T.style["v-text-align"]="left",O(C),A.textpathok=!0,T.on=!0,C.from="0 0",C.to="1000 0.05",E(C,D),E(C,A),E(C,T),this._textVmlEl=C);var L=[p,g],R=C.style;w&&i?(o(L,L,w),D.on=!0,D.matrix=w[0].toFixed(3)+I+w[2].toFixed(3)+I+w[1].toFixed(3)+I+w[3].toFixed(3)+",0,0",D.offset=(x(L[0])||0)+","+(x(L[1])||0),D.origin="0 0",R.left="0px",R.top="0px"):(D.on=!1,R.left=x(p)+"px",R.top=x(g)+"px"),T.string=k(a);try{T.style.font=b}catch(B){}W(C,"fill",{fill:r.textFill,opacity:r.opacity},this),W(C,"stroke",{stroke:r.textStroke,opacity:r.opacity,lineDash:r.lineDash||null},this),C.style.zIndex=z(this.zlevel,this.z,this.z2),E(e,C)}},te=function(e){R(e,this._textVmlEl),this._textVmlEl=null},ne=function(e){E(e,this._textVmlEl)},ie=[c,h,d,p,f],re=0;re<ie.length;re++){var oe=ie[re].prototype;oe.drawRectText=ee,oe.removeRectText=te,oe.appendRectText=ne}f.prototype.brushVML=function(e){var t=this.style;null!=t.text?this.drawRectText(e,{x:t.x||0,y:t.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(e)},f.prototype.onRemove=function(e){this.removeRectText(e)},f.prototype.onAdd=function(e){this.appendRectText(e)}}},b9af:function(e,t,n){var i=n("8096"),r=i.Symbol;e.exports=r},b9fd:function(e,t,n){var i=n("82da"),r={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=(e.visualColorAccessPath||"itemStyle.color").split("."),o=e.get(r)||e.getColorFromPalette(e.name,null,t.getSeriesCount());n.setVisual("color",o);var a=(e.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),s=e.get(a);if(n.setVisual("borderColor",s),!t.isSeriesFiltered(e)){"function"!==typeof o||o instanceof i||n.each((function(t){n.setItemVisual(t,"color",o(e.getDataParams(t)))}));var l=function(e,t){var n=e.getItemModel(t),i=n.get(r,!0),o=n.get(a,!0);null!=i&&e.setItemVisual(t,"color",i),null!=o&&e.setItemVisual(t,"borderColor",o)};return{dataEach:n.hasItemOption?l:null}}}};e.exports=r},ba09:function(e,t,n){var i=n("333f"),r=n("7ad8"),o=n("3738"),a=n("6b0b"),s=n("440c"),l=i.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new r(o)},render:function(e,t,n){var i=e.getData(),r=this._symbolDraw;r.updateData(i),this.group.add(r.group)},updateTransform:function(e,t,n){var i=e.getData();this.group.dirty();var r=s().reset(e);r.progress&&r.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateGroupTransform:function(e){var t=e.coordinateSystem;t&&t.getRoamTransform&&(this.group.transform=a.clone(t.getRoamTransform()),this.group.decomposeTransform())},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(t)},dispose:function(){}});e.exports=l},ba69:function(e,t,n){var i=n("333f");n("1e7b"),n("ba09");var r=n("68a7"),o=n("440c");i.registerVisual(r("effectScatter","circle")),i.registerLayout(o("effectScatter"))},bacf:function(e,t,n){var i=n("3804"),r=n("de7a"),o=n("be69"),a=r.toolbox.saveAsImage;function s(e){this.model=e}s.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:a.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:a.lang.slice()},s.prototype.unusable=!i.canvasSupported;var l=s.prototype;l.onclick=function(e,t){var n=this.model,r=n.get("name")||e.get("title.0.text")||"echarts",o=n.get("type",!0)||"png",a=t.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!==typeof MouseEvent||i.browser.ie||i.browser.edge)if(window.navigator.msSaveOrOpenBlob){var s=atob(a.split(",")[1]),l=s.length,u=new Uint8Array(l);while(l--)u[l]=s.charCodeAt(l);var c=new Blob([u]);window.navigator.msSaveOrOpenBlob(c,r+"."+o)}else{var h=n.get("lang"),d='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(h&&h[0]||"")+'" /></body>',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]<e[0]&&(t[0]=e[0]),t[1]<e[0]&&(t[1]=e[0]),t},getValueState:function(e){var t=this.option.range,n=this.getExtent();return(t[0]<=n[0]||t[0]<=e)&&(t[1]>=n[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var i=[],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;a<u&&(!n.length||t[a]<=n[0]);a++)t[a]<n[o]&&r(t[a],"outOfRange");for(var c=1;o<s;o++,c=0)c&&i.length&&r(n[o],"outOfRange"),r(n[o],"inRange");for(c=1;a<u;a++)(!n.length||n[n.length-1]<t[a])&&(c&&(i.length&&r(i[i.length-1].value,"outOfRange"),c=0),r(t[a],"outOfRange"));var h=i.length;return{stops:i,outerColors:[h?i[0].color:"transparent",h?i[h-1].color:"transparent"]}}});function l(e,t,n){if(n[0]===n[1])return n.slice();for(var i=200,r=(n[1]-n[0])/i,o=n[0],a=[],s=0;s<=i&&o<n[1];s++)a.push(o),o+=r;return a.push(n[1]),a}var u=s;e.exports=u},bc50:function(e,t,n){var i=n("2bfc"),r=n("db66"),o=r.subPixelOptimizeLine,a={},s=i.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n,i,r,s;this.subPixelOptimize?(o(a,t,this.style),n=a.x1,i=a.y1,r=a.x2,s=a.y2):(n=t.x1,i=t.y1,r=t.x2,s=t.y2);var l=t.percent;0!==l&&(e.moveTo(n,i),l<1&&(r=n*(1-l)+r*l,s=i*(1-l)+s*l),e.lineTo(r,s))},pointAt:function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]}});e.exports=s},bc5f:function(e,t,n){var i=n("7a17");i.registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0: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;r<n.length;){var o=n[r++];if(o>0){e.moveTo(n[r++],n[r++]);for(var a=1;a<o;a++)e.lineTo(n[r++],n[r++])}}else for(r=0;r<n.length;){var s=n[r++],l=n[r++],u=n[r++],c=n[r++];if(e.moveTo(s,l),i>0){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;l<i.length;){var u=i[l++];if(u>0)for(var c=i[l++],h=i[l++],d=1;d<u;d++){var f=i[l++],p=i[l++];if(o.containStroke(c,h,f,p))return s}s++}else for(s=0,l=0;l<i.length;){c=i[l++],h=i[l++],f=i[l++],p=i[l++];if(r>0){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<h.length;g++){var v=n.toGlobalCoord(h[g].coord);u?(d[0]=v,d[1]=l.y,f[0]=v,f[1]=l.y+l.height):(d[0]=l.x,d[1]=v,f[0]=l.x+l.width,f[1]=v);var m=c++%s.length,y=h[g].tickValue;this._axisGroup.add(new r.Line({anid:null!=y?"line_"+h[g].tickValue:null,subPixelOptimize:!0,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:i.defaults({stroke:s[m]},p),silent:!0}))}}},_splitArea:function(e,t){var n=e.axis;if(!n.scale.isBlank()){var o=e.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),l=t.coordinateSystem.getRect(),u=n.getTicksCoords({tickModel:o,clamp:!0});if(u.length){var c=s.length,h=this._splitAreaColors,d=i.createHashMap(),f=0;if(h)for(var p=0;p<u.length;p++){var g=h.get(u[p].tickValue);if(null!=g){f=(g+(c-1)*p)%c;break}}var v=n.toGlobalCoord(u[0].coord),m=a.getAreaStyle();s=i.isArray(s)?s:[s];for(p=1;p<u.length;p++){var y,x,_,b,w=n.toGlobalCoord(u[p].coord);n.isHorizontal()?(y=v,x=l.y,_=w-y,b=l.height,v=y+_):(y=l.x,x=v,_=l.width,b=w-x,v=x+b);var S=u[p-1].tickValue;null!=S&&d.set(S,f),this._axisGroup.add(new r.Rect({anid:null!=S?"area_"+S:null,shape:{x:y,y:x,width:_,height:b},style:i.defaults({fill:s[f]},m),silent:!0})),f=(f+1)%c}this._splitAreaColors=d}}}});c.extend({type:"xAxis"}),c.extend({type:"yAxis"})},be23:function(e,t,n){n("8911"),n("83ed"),n("7e9d")},be69:function(e,t){var n={};function i(e,t){n[e]=t}function r(e){return n[e]}t.register=i,t.get=r},bef6:function(e,t,n){var i=n("45c5"),r=1e-8;function o(e,t){return Math.abs(e-t)<r}function a(e,t,n){var r=0,a=e[0];if(!a)return!1;for(var s=1;s<e.length;s++){var l=e[s];r+=i(a[0],a[1],l[0],l[1],t,n),a=l}var u=e[0];return o(a[0],u[0])&&o(a[1],u[1])||(r+=i(a[0],a[1],u[0],u[1],t,n)),0!==r}t.contain=a},bf32:function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("7ad8"),a=n("a059"),s=n("b100"),l=n("d42a"),u=n("ea25"),c=u.onIrrelevantElement,h=n("2dda"),d=n("311d"),f=n("ff2d"),p=f.getNodeGlobalScale,g="__focusNodeAdjacency",v="__unfocusNodeAdjacency",m=["itemStyle","opacity"],y=["lineStyle","opacity"];function x(e,t){var n=e.getVisual("opacity");return null!=n?n:e.getModel().get(t)}function _(e,t,n){var i=e.getGraphicEl(),r=x(e,t);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse((function(e){if(!e.isGroup){var t=e.lineLabelOriginalOpacity;null!=t&&null==n||(t=r),e.setStyle("opacity",t)}}))}function b(e,t){var n=x(e,t),i=e.getGraphicEl();i.traverse((function(e){!e.isGroup&&e.setStyle("opacity",n)})),i.highlight&&i.highlight()}var w=i.extendChartView({type:"graph",init:function(e,t){var n=new o,i=new a,r=this.group;this._controller=new s(t.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},render:function(e,t,n){var i=e.coordinateSystem;this._model=e;var r=this._symbolDraw,o=this._lineDraw,a=this.group;if("view"===i.type){var s={position:i.position,scale:i.scale};this._firstRender?a.attr(s):h.updateProps(a,s,e)}d(e.getGraph(),p(e));var l=e.getData();r.updateData(l);var u=e.getEdgeData();o.updateData(u),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var c=e.forceLayout,f=e.get("force.layoutAnimation");c&&this._startForceLayoutIteration(c,f),l.eachItemGraphicEl((function(t,i){var r=l.getItemModel(i);t.off("drag").off("dragend");var o=r.get("draggable");o&&t.on("drag",(function(){c&&(c.warmUp(),!this._layouting&&this._startForceLayoutIteration(c,f),c.setFixed(i),l.setItemLayout(i,t.position))}),this).on("dragend",(function(){c&&c.setUnfixed(i)}),this),t.setDraggable(o&&c),t[g]&&t.off("mouseover",t[g]),t[v]&&t.off("mouseout",t[v]),r.get("focusNodeAdjacency")&&(t.on("mouseover",t[g]=function(){n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.on("mouseout",t[v]=function(){n.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})}))}),this),l.graph.eachEdge((function(t){var i=t.getGraphicEl();i[g]&&i.off("mouseover",i[g]),i[v]&&i.off("mouseout",i[v]),t.getModel().get("focusNodeAdjacency")&&(i.on("mouseover",i[g]=function(){n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex})}),i.on("mouseout",i[v]=function(){n.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})}))}));var m="circular"===e.get("layout")&&e.get("circular.rotateLabel"),y=l.getLayout("cx"),x=l.getLayout("cy");l.eachItemGraphicEl((function(e,t){var n=l.getItemModel(t),i=n.get("label.rotate")||0,r=e.getSymbolPath();if(m){var o=l.getItemLayout(t),a=Math.atan2(o[1]-x,o[0]-y);a<0&&(a=2*Math.PI+a);var s=o[0]<y;s&&(a-=Math.PI);var u=s?"left":"right";h.modifyLabelStyle(r,{textRotation:-a,textPosition:u,textOrigin:"center"},{textPosition:u})}else h.modifyLabelStyle(r,{textRotation:i*=Math.PI/180})})),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},focusNodeAdjacency:function(e,t,n,i){var o=this._model.getData(),a=o.graph,s=i.dataIndex,l=i.edgeDataIndex,u=a.getNodeByIndex(s),c=a.getEdgeByIndex(l);(u||c)&&(a.eachNode((function(e){_(e,m,.1)})),a.eachEdge((function(e){_(e,y,.1)})),u&&(b(u,m),r.each(u.edges,(function(e){e.dataIndex<0||(b(e,y),b(e.node1,m),b(e.node2,m))}))),c&&(b(c,y),b(c.node1,m),b(c.node2,m)))},unfocusNodeAdjacency:function(e,t,n,i){var r=this._model.getData().graph;r.eachNode((function(e){_(e,m)})),r.eachEdge((function(e){_(e,y)}))},_startForceLayoutIteration:function(e,t){var n=this;(function i(){e.step((function(e){n.updateLayout(n._model),(n._layouting=!e)&&(t?n._layoutTimeout=setTimeout(i,16):i())}))})()},_updateController:function(e,t,n){var i=this._controller,r=this._controllerHost,o=this.group;i.setPointerChecker((function(t,i,r){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(i,r)&&!c(t,n,e)})),"view"===e.coordinateSystem.type?(i.enable(e.get("roam")),r.zoomLimit=e.get("scaleLimit"),r.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(t){l.updateViewOnPan(r,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){l.updateViewOnZoom(r,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(),d(e.getGraph(),p(e)),this._lineDraw.updateLayout()}),this)):i.disable()},_updateNodeAndLinkScale:function(){var e=this._model,t=e.getData(),n=p(e),i=[n,n];t.eachItemGraphicEl((function(e,t){e.attr("scale",i)}))},updateLayout:function(e){d(e.getGraph(),p(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});e.exports=w},bfd2:function(e,t,n){var i=n("cbe1"),r=(i.assert,i.isArray),o=n("775e");o.__DEV__;function a(e){return new s(e)}function s(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0,this.context}var l=s.prototype;l.perform=function(e){var t,n=this._upstream,i=e&&e.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(t=this._plan(this.context));var a,s=f(this._modBy),l=this._modDataCount||0,u=f(e&&e.modBy),d=e&&e.modDataCount||0;function f(e){return!(e>=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||g<v)){var m=this._progress;if(r(m))for(var y=0;y<m.length;y++)c(this,m[y],g,v,u,d);else c(this,m,g,v,u,d)}this._dueIndex=v;var x=null!=this._settedOutputEnd?this._settedOutputEnd:v;this._outputDueEnd=x}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var u=function(){var e,t,n,i,r,o={reset:function(l,u,c,h){t=l,e=u,n=c,i=h,r=Math.ceil(i/n),o.next=n>1&&i>0?s:a}};return o;function a(){return t<e?t++:null}function s(){var o=t%r*n+Math.ceil(t/r),a=t>=e?null:o<i?o:t;return t++,a}}();function c(e,t,n,i,r,o){u.reset(n,i,r,o),e._callingProgress=t,e._callingProgress({start:n,end:i,count:i-n,next:u.next},e.context)}function h(e,t){var n,i;e._dueIndex=e._outputDueEnd=e._dueEnd=0,e._settedOutputEnd=null,!t&&e._reset&&(n=e._reset(e.context),n&&n.progress&&(i=n.forceFirstProgress,n=n.progress),r(n)&&!n.length&&(n=null)),e._progress=n,e._modBy=e._modDataCount=null;var o=e._downstream;return o&&o.dirty(),i}l.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},l.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},l.pipe=function(e){(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},l.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},l.getUpstream=function(){return this._upstream},l.getDownstream=function(){return this._downstream},l.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},t.createTask=a},c00a:function(e,t,n){var i=n("2bfc"),r=n("dbbd"),o=n("848a"),a=r.min,s=r.max,l=r.scaleAndAdd,u=r.copy,c=[],h=[],d=[];function f(e){return isNaN(e[0])||isNaN(e[1])}function p(e,t,n,i,r,o,a,s,l,u,c){return"none"!==u&&u?g.apply(this,arguments):v.apply(this,arguments)}function g(e,t,n,i,r,o,a,s,l,c,p){for(var g=0,v=n,m=0;m<i;m++){var y=t[v];if(v>=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<i;w++){var S=t[b];if(b>=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;r<e.length;r++){var o=e[r];o[0]<n[0]&&(n[0]=o[0]),o[1]<n[1]&&(n[1]=o[1]),o[0]>i[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(;i<r;i++)if(!f(n[i]))break}while(i<r)i+=p(e,n,i,r,r,1,o.min,o.max,t.smooth,t.smoothMonotone,t.connectNulls)+1}}),x=i.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:o(i.prototype.brush),buildPath:function(e,t){var n=t.points,i=t.stackedOnPoints,r=0,o=n.length,a=t.smoothMonotone,s=m(n,t.smoothConstraint),l=m(i,t.smoothConstraint);if(t.connectNulls){for(;o>0;o--)if(!f(n[o-1]))break;for(;r<o;r++)if(!f(n[r]))break}while(r<o){var u=p(e,n,r,o,o,1,s.min,s.max,t.smooth,a,t.connectNulls);p(e,i,r+u-1,u,o,-1,l.min,l.max,t.stackedOnSmooth,a,t.connectNulls),r+=u+1,e.closePath()}}});t.Polyline=y,t.Polygon=x},c07c:function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("efdc"),a=n("5c3e"),s=a.isNameSpecified,l=n("de7a"),u=l.legend.selector,c={all:{type:"all",title:r.clone(u.all)},inverse:{type:"inverse",title:r.clone(u.inverse)}},h=i.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},mergeOption:function(e){h.superCall(this,"mergeOption",e),this._updateSelector(e)},_updateSelector:function(e){var t=e.selector;!0===t&&(t=e.selector=["all","inverse"]),r.isArray(t)&&r.each(t,(function(e,n){r.isString(e)&&(e={type:e}),t[n]=r.merge(e,c[e.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n<e.length;n++){var i=e[n].get("name");if(this.isSelected(i)){this.select(i),t=!0;break}}!t&&this.select(e[0].get("name"))}},_updateData:function(e){var t=[],n=[];e.eachRawSeries((function(i){var r,o=i.name;if(n.push(o),i.legendDataProvider){var a=i.legendDataProvider(),l=a.mapArray(a.getName);e.isSeriesFiltered(i)||(n=n.concat(l)),l.length?t=t.concat(l):r=!0}else r=!0;r&&s(i)&&t.push(i.name)})),this._availableNames=n;var i=this.get("data")||t,a=r.map(i,(function(e){return"string"!==typeof e&&"number"!==typeof e||(e={name:e}),new o(e,this,this.ecModel)}),this);this._data=a},getData:function(){return this._data},select:function(e){var t=this.option.selected,n=this.get("selectedMode");if("single"===n){var i=this._data;r.each(i,(function(e){t[e.get("name")]=!1}))}t[e]=!0},unSelect:function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},toggleSelected:function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},allSelect:function(){var e=this._data,t=this.option.selected;r.each(e,(function(e){t[e.get("name",!0)]=!0}))},inverseSelect:function(){var e=this._data,t=this.option.selected;r.each(e,(function(e){var n=e.get("name",!0);t.hasOwnProperty(n)||(t[n]=!0),t[n]=!t[n]}))},isSelected:function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&r.indexOf(this._availableNames,e)>=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:n<i?1:t>0?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<r.count();h++){var d=r.get(u,h),f=x(d,c[2],h),p=x(d,c[0],h),g=x(d,c[1],h),v=x(d,c[3],h),m=x(d,c[4],h),y=[];_(y,g,0),_(y,v,1),y.push(p,g,m,v),b(y,p),b(y,m),b(y,f),r.setItemLayout(h,{initBaseline:f[s],ends:y})}function x(e,n,o){var l,u=r.get(n,o),c=[];return c[a]=e,c[s]=u,isNaN(e)||isNaN(u)?l=[NaN,NaN]:(l=i.dataToPoint(c),l[a]+=t),l}function _(e,t,n){var i=t.slice(),r=t.slice();i[a]+=o,r[a]-=o,n?e.push(i,r):e.push(r,i)}function b(e,t){var n=t.slice(),i=t.slice();n[a]-=o,i[a]+=o,e.push(n,i)}}e.exports=s},c341:function(e,t,n){var i=n("cbe1"),r=n("7ad8"),o=n("55ba"),a=n("3a73"),s=n("08c1e"),l=n("0167");function u(e,t,n){var i=t.coordinateSystem;e.each((function(r){var a,s=e.getItemModel(r),l=o.parsePercent(s.get("x"),n.getWidth()),u=o.parsePercent(s.get("y"),n.getHeight());if(isNaN(l)||isNaN(u)){if(t.getMarkerPosition)a=t.getMarkerPosition(e.getValues(e.dimensions,r));else if(i){var c=e.get(i.dimensions[0],r),h=e.get(i.dimensions[1],r);a=i.dataToPoint([c,h])}}else a=[l,u];isNaN(l)||(a[0]=l),isNaN(u)||(a[1]=u),e.setItemLayout(r,a)}))}var c=l.extend({type:"markPoint",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markPointModel;t&&(u(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout(t))}),this)},renderSeries:function(e,t,n,o){var a=e.coordinateSystem,s=e.id,l=e.getData(),c=this.markerGroupMap,d=c.get(s)||c.set(s,new r),f=h(a,e,t);t.setData(f),u(t.getData(),e,o),f.each((function(e){var n=f.getItemModel(e),r=n.getShallow("symbol"),o=n.getShallow("symbolSize"),a=i.isFunction(r),s=i.isFunction(o);if(a||s){var u=t.getRawValue(e),c=t.getDataParams(e);a&&(r=r(u,c)),s&&(o=o(u,c))}f.setItemVisual(e,{symbol:r,symbolSize:o,color:n.get("itemStyle.color")||l.getVisual("color")})})),d.updateData(f),this.group.add(d.group),f.eachItemGraphicEl((function(e){e.traverse((function(e){e.dataModel=t}))})),d.__keep=!0,d.group.silent=t.get("silent")||e.get("silent")}});function h(e,t,n){var r;r=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 o=new a(r,n),l=i.map(n.get("data"),i.curry(s.dataTransform,t));return e&&(l=i.filter(l,i.curry(s.dataFilter,e))),o.initData(l,null,e?s.dimValueGetter:function(e){return e.value}),o}e.exports=c},c378:function(e,t){function n(e){var t={};e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),i=e.getData(),r={};n.each((function(i){var o=n.getName(i);r["ec-"+o]=i;var a=n.getItemModel(i),s=a.get("itemStyle.color")||e.getColorFromPalette(o,t);n.setItemVisual(i,"color",s);for(var l=["opacity","symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&n.setItemVisual(i,l[u],c)}})),n.count()&&i.each((function(e){var t=i.getItemModel(e),o=t.getShallow("category");if(null!=o){"string"===typeof o&&(o=r["ec-"+o]);for(var a=["color","opacity","symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)null==i.getItemVisual(e,a[s],!0)&&i.setItemVisual(e,a[s],n.getItemVisual(o,a[s]))}}))}))}e.exports=n},c4a1:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("333f")),o=n("2dda"),a=n("1b46"),s=n("cbe1");function l(e,t,n){var i=e[1]-e[0];t=s.map(t,(function(t){return{interval:[(t.interval[0]-e[0])/i,(t.interval[1]-e[0])/i]}}));var r=t.length,o=0;return function(e){for(var i=o;i<r;i++){var a=t[i].interval;if(a[0]<=e&&e<=a[1]){o=i;break}}if(i===r)for(i=o-1;i>=0;i--){a=t[i].interval;if(a[0]<=e&&e<=a[1]){o=i;break}}return i>=0&&i<r&&n[i]}}function u(e,t){var n=e[1]-e[0];return t=[(t[0]-e[0])/n,(t[1]-e[0])/n],function(e){return e>=t[0]&&e<=t[1]}}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<i;M++){var I;if("cartesian2d"===w){if(isNaN(f.get(S[2],M)))continue;var A=u.dataToPoint([f.get(S[0],M),f.get(S[1],M)]);I=new o.Rect({shape:{x:A[0]-a/2,y:A[1]-l/2,width:a,height:l},style:{fill:f.getItemVisual(M,"color"),opacity:f.getItemVisual(M,"opacity")}})}else{if(isNaN(f.get(S[1],M)))continue;I=new o.Rect({z2:1,shape:u.dataToRect([f.get(S[0],M)]).contentShape,style:{fill:f.getItemVisual(M,"color"),opacity:f.getItemVisual(M,"opacity")}})}var T=f.getItemModel(M);f.hasItemOption&&(y=T.getModel(p).getItemStyle(["color"]),x=T.getModel(g).getItemStyle(),_=T.getModel(v),b=T.getModel(m));var D=e.getRawValue(M),P="-";D&&null!=D[2]&&(P=D[2]),o.setLabelStyle(y,x,_,b,{labelFetcher:e,labelDataIndex:M,defaultText:P,isRectText:!0}),I.setStyle(y),o.setHoverStyle(I,f.hasItemOption?x:s.extend({},x)),I.incremental=r,r&&(I.useHoverLayer=!0),d.add(I),f.setItemGraphicEl(M,I)}},_renderOnGeo:function(e,t,n,i){var r=n.targetVisuals.inRange,s=n.targetVisuals.outOfRange,c=t.getData(),h=this._hmLayer||this._hmLayer||new a;h.blurSize=t.get("blurSize"),h.pointSize=t.get("pointSize"),h.minOpacity=t.get("minOpacity"),h.maxOpacity=t.get("maxOpacity");var d=e.getViewRect().clone(),f=e.getRoamTransform();d.applyTransform(f);var p=Math.max(d.x,0),g=Math.max(d.y,0),v=Math.min(d.width+d.x,i.getWidth()),m=Math.min(d.height+d.y,i.getHeight()),y=v-p,x=m-g,_=[c.mapDimension("lng"),c.mapDimension("lat"),c.mapDimension("value")],b=c.mapArray(_,(function(t,n,i){var r=e.dataToPoint([t,n]);return r[0]-=p,r[1]-=g,r.push(i),r})),w=n.getExtent(),S="visualMap.continuous"===n.type?u(w,n.option.range):l(w,n.getPieceList(),n.option.selected);h.update(b,y,x,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:s.color.getColorMapper()},S);var M=new o.Image({style:{width:y,height:x,x:p,y:g,image:h.canvas},silent:!0});this.group.add(M)},dispose:function(){}});e.exports=h},c4b0:function(e,t,n){var i=n("8f86"),r=n("2dda"),o=n("e8c2"),a=n("55ba"),s=a.parsePercent,l=a.round,u=a.linearMap;function c(e,t){var n=e.get("center"),i=t.getWidth(),r=t.getHeight(),o=Math.min(i,r),a=s(n[0],t.getWidth()),l=s(n[1],t.getHeight()),u=s(e.get("radius"),o/2);return{cx:a,cy:l,r:u}}function h(e,t){return t&&("string"===typeof t?e=t.replace("{value}",null!=e?e:""):"function"===typeof t&&(e=t(e))),e}var d=2*Math.PI,f=o.extend({type:"gauge",render:function(e,t,n){this.group.removeAll();var i=e.get("axisLine.lineStyle.color"),r=c(e,n);this._renderMain(e,t,n,i,r)},dispose:function(){},_renderMain:function(e,t,n,i,o){for(var a=this.group,s=e.getModel("axisLine"),l=s.getModel("lineStyle"),u=e.get("clockwise"),c=-e.get("startAngle")/180*Math.PI,h=-e.get("endAngle")/180*Math.PI,f=(h-c)%d,p=c,g=l.get("width"),v=s.get("show"),m=0;v&&m<i.length;m++){var y=Math.min(Math.max(i[m][0],0),1),x=(h=c+f*y,new r.Sector({shape:{startAngle:p,endAngle:h,cx:o.cx,cy:o.cy,clockwise:u,r0:o.r-g,r:o.r},silent:!0}));x.setStyle({fill:i[m][1]}),x.setStyle(l.getLineStyle(["color","borderWidth","borderColor"])),a.add(x),p=h}var _=function(e){if(e<=0)return i[0][1];for(var t=0;t<i.length;t++)if(i[t][0]>=e&&(0===t?0:i[t-1][0])<e)return i[t][1];return i[t-1][1]};if(!u){var b=c;c=h,h=b}this._renderTicks(e,t,n,_,o,c,h,u),this._renderPointer(e,t,n,_,o,c,h,u),this._renderTitle(e,t,n,_,o),this._renderDetail(e,t,n,_,o)},_renderTicks:function(e,t,n,i,o,a,u,c){for(var d=this.group,f=o.cx,p=o.cy,g=o.r,v=+e.get("min"),m=+e.get("max"),y=e.getModel("splitLine"),x=e.getModel("axisTick"),_=e.getModel("axisLabel"),b=e.get("splitNumber"),w=x.get("splitNumber"),S=s(y.get("length"),g),M=s(x.get("length"),g),I=a,A=(u-a)/b,T=A/w,D=y.getModel("lineStyle").getLineStyle(),P=x.getModel("lineStyle").getLineStyle(),C=0;C<=b;C++){var O=Math.cos(I),k=Math.sin(I);if(y.get("show")){var L=new r.Line({shape:{x1:O*g+f,y1:k*g+p,x2:O*(g-S)+f,y2:k*(g-S)+p},style:D,silent:!0});"auto"===D.stroke&&L.setStyle({stroke:i(C/b)}),d.add(L)}if(_.get("show")){var E=h(l(C/b*(m-v)+v),_.get("formatter")),R=_.get("distance"),z=i(C/b);d.add(new r.Text({style:r.setTextStyle({},_,{text:E,x:O*(g-S-R)+f,y:k*(g-S-R)+p,textVerticalAlign:k<-.4?"top":k>.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<e.length;n++){var i=e[n],r=t[n];if(i[0]!==r[0]||i[1]!==r[1])return}return!0}}function b(e){return"number"===typeof e?e:e?.5:0}function w(e,t,n){if(!n.valueDim)return[];for(var i=[],r=0,o=t.count();r<o;r++)i.push(v(n,e,t,r));return i}function S(e,t,n){for(var i=t.getBaseAxis(),r="x"===i.dim||"radius"===i.dim?0:1,o=[],a=0;a<e.length-1;a++){var s=e[a+1],l=e[a];o.push(l);var u=[];switch(n){case"end":u[r]=s[r],u[1-r]=l[1-r],o.push(u);break;case"middle":var c=(l[r]+s[r])/2,h=[];u[r]=h[r]=c,u[1-r]=l[1-r],h[1-r]=s[1-r],o.push(u),o.push(h);break;default:u[r]=l[r],u[1-r]=s[1-r],o.push(u)}}return e[a]&&o.push(e[a]),o}function M(e,t){var n=e.getVisual("visualMeta");if(n&&n.length&&e.count()&&"cartesian2d"===t.type){for(var i,o,a=n.length-1;a>=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;s<r;s+=o)if(1.5*a.getSymbolSize(t,s)[e.isHorizontal()?1:0]>i)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;y<m.length;y++){var x=m[y].cmd;if("="===x){var _=e.getItemGraphicEl(m[y].idx1);_&&v.push({el:_,ptIdx:y})}}a.animators&&a.animators.length&&a.animators[0].during((function(){for(var e=0;e<v.length;e++){var t=v[e].el;t.attr("position",a.shape.__points[v[e].ptIdx])}}))},remove:function(e){var t=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(e,i){e.__temp&&(t.remove(e),n.setItemGraphicEl(i,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});e.exports=D},c5de:function(e,t){var n=1;"undefined"!==typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var i=0,r=n;t.debugMode=i,t.devicePixelRatio=r},c61e:function(e,t,n){var i=n("cbe1");function r(e,t,n){n=n||{};var r=e.coordinateSystem,o=t.axis,a={},s=o.getAxesOnZeroOf()[0],l=o.position,u=s?"onZero":l,c=o.dim,h=r.getRect(),d=[h.x,h.x+h.width,h.y,h.y+h.height],f={left:0,right:1,top:0,bottom:1,onZero:2},p=t.get("offset")||0,g="x"===c?[d[2]-p,d[3]+p]:[d[0]-p,d[1]+p];if(s){var v=s.toGlobalCoord(s.dataToCoord(0));g[f.onZero]=Math.max(Math.min(v,g[1]),g[0])}a.position=["y"===c?g[f[u]]:d[0],"x"===c?g[f[u]]:d[3]],a.rotation=Math.PI/2*("x"===c?0:1);var m={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=m[l],a.labelOffset=s?g[f[l]]-g[f.onZero]:0,t.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),i.retrieve(n.labelInside,t.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var y=t.get("axisLabel.rotate");return a.labelRotate="top"===u?-y:y,a.z2=1,a}t.layout=r},c6dd:function(e,t,n){var i=n("cbe1"),r=n("d36d");function o(e,t,n){r.call(this,e,t,n),this.type="value",this.angle=0,this.name="",this.model}i.inherits(o,r);var a=o;e.exports=a},c79c:function(e,t,n){var i=n("cbe1"),r=n("2dda"),o=n("0a20"),a=n("bcda"),s=a.radialCoordinate,l=n("333f"),u=n("5d11"),c=n("121d"),h=n("d42a"),d=n("b100"),f=n("ea25"),p=f.onIrrelevantElement,g=l.extendChartView({type:"tree",init:function(e,t){this._oldTree,this._mainGroup=new r.Group,this._controller=new d(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(e,t,n,i){var r=e.getData(),o=e.layoutInfo,a=this._mainGroup,s=e.get("layout");"radial"===s?a.attr("position",[o.x+o.width/2,o.y+o.height/2]):a.attr("position",[o.x,o.y]),this._updateViewCoordSys(e,o,s),this._updateController(e,t,n);var l=this._data,u={expandAndCollapse:e.get("expandAndCollapse"),layout:s,orient:e.getOrient(),curvature:e.get("lineStyle.curveness"),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};r.diff(l).add((function(t){v(r,t)&&y(r,t,null,a,e,u)})).update((function(t,n){var i=l.getItemGraphicEl(n);v(r,t)?y(r,t,i,a,e,u):i&&x(l,n,i,a,e,u)})).remove((function(t){var n=l.getItemGraphicEl(t);n&&x(l,t,n,a,e,u)})).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===u.expandAndCollapse&&r.eachItemGraphicEl((function(t,i){t.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:i})}))})),this._data=r},_updateViewCoordSys:function(e){var t=e.getData(),n=[];t.each((function(e){var i=t.getItemLayout(e);!i||isNaN(i.x)||isNaN(i.y)||n.push([+i.x,+i.y])}));var i=[],r=[];u.fromPoints(n,i,r);var o=this._min,a=this._max;r[0]-i[0]===0&&(i[0]=o?o[0]:i[0]-1,r[0]=a?a[0]:r[0]+1),r[1]-i[1]===0&&(i[1]=o?o[1]:i[1]-1,r[1]=a?a[1]:r[1]+1);var s=e.coordinateSystem=new c;s.zoomLimit=e.get("scaleLimit"),s.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1]),s.setCenter(e.get("center")),s.setZoom(e.get("zoom")),this.group.attr({position:s.position,scale:s.scale}),this._viewCoordSys=s,this._min=i,this._max=r},_updateController:function(e,t,n){var i=this._controller,r=this._controllerHost,o=this.group;i.setPointerChecker((function(t,i,r){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(i,r)&&!p(t,n,e)})),i.enable(e.get("roam")),r.zoomLimit=e.get("scaleLimit"),r.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(t){h.updateViewOnPan(r,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})}),this).on("zoom",(function(t){h.updateViewOnZoom(r,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(e)}),this)},_updateNodeAndLinkScale:function(e){var t=e.getData(),n=this._getNodeGlobalScale(e),i=[n,n];t.eachItemGraphicEl((function(e,t){e.attr("scale",i)}))},_getNodeGlobalScale:function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=this._nodeScaleRatio,i=t.scale,r=i&&i[0]||1,o=t.getZoom(),a=(o-1)*n+1;return a/r},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function v(e,t){var n=e.getItemLayout(t);return n&&!isNaN(n.x)&&!isNaN(n.y)&&"none"!==e.getItemVisual(t,"symbol")}function m(e,t,n){return n.itemModel=t,n.itemStyle=t.getModel("itemStyle").getItemStyle(),n.hoverItemStyle=t.getModel("emphasis.itemStyle").getItemStyle(),n.lineStyle=t.getModel("lineStyle").getLineStyle(),n.labelModel=t.getModel("label"),n.hoverLabelModel=t.getModel("emphasis.label"),!1===e.isExpand&&0!==e.children.length?n.symbolInnerColor=n.itemStyle.fill:n.symbolInnerColor="#fff",n}function y(e,t,n,a,s,l){var u=!n,c=e.tree.getNodeByDataIndex(t),h=c.getModel(),d=(l=m(c,h,l),e.tree.root),f=c.parentNode===d?c:c.parentNode||c,p=e.getItemGraphicEl(f.dataIndex),g=f.getLayout(),v=p?{x:p.position[0],y:p.position[1],rawX:p.__radialOldRawX,rawY:p.__radialOldRawY}:g,y=c.getLayout();u?(n=new o(e,t,l),n.attr("position",[v.x,v.y])):n.updateData(e,t,l),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=y.rawX,n.__radialRawY=y.rawY,a.add(n),e.setItemGraphicEl(t,n),r.updateProps(n,{position:[y.x,y.y]},s);var x=n.getSymbolPath();if("radial"===l.layout){var b,w,S=d.children[0],M=S.getLayout(),I=S.children.length;if(y.x===M.x&&!0===c.isExpand){var A={};A.x=(S.children[0].getLayout().x+S.children[I-1].getLayout().x)/2,A.y=(S.children[0].getLayout().y+S.children[I-1].getLayout().y)/2,b=Math.atan2(A.y-M.y,A.x-M.x),b<0&&(b=2*Math.PI+b),w=A.x<M.x,w&&(b-=Math.PI)}else b=Math.atan2(y.y-M.y,y.x-M.x),b<0&&(b=2*Math.PI+b),0===c.children.length||0!==c.children.length&&!1===c.isExpand?(w=y.x<M.x,w&&(b-=Math.PI)):(w=y.x>M.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},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<o.length;l++)null!=o[l].depth&&o[l].depth>=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)}})},c9aa:function(e,t,n){var i=n("b9af"),r=n("27fa"),o=n("a1f8"),a="[object Null]",s="[object Undefined]",l=i?i.toStringTag:void 0;function u(e){return null==e?void 0===e?s:a:l&&l in Object(e)?r(e):o(e)}e.exports=u},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;n<e.length;n++)this.addDisplayable(e[n],t)},s.prototype.eachPendingDisplayable=function(e){for(var t=this._cursor;t<this._displayables.length;t++)e&&e(this._displayables[t]);for(t=0;t<this._temporaryDisplayables.length;t++)e&&e(this._temporaryDisplayables[t])},s.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){var t=this._displayables[e];t.parent=this,t.update(),t.parent=null}for(e=0;e<this._temporaryDisplayables.length;e++){t=this._temporaryDisplayables[e];t.parent=this,t.update(),t.parent=null}},s.prototype.brush=function(e,t){for(var n=this._cursor;n<this._displayables.length;n++){var i=this._displayables[n];i.beforeBrush&&i.beforeBrush(e),i.brush(e,n===this._cursor?null:this._displayables[n-1]),i.afterBrush&&i.afterBrush(e)}this._cursor=n;for(n=0;n<this._temporaryDisplayables.length;n++){i=this._temporaryDisplayables[n];i.beforeBrush&&i.beforeBrush(e),i.brush(e,0===n?null:this._temporaryDisplayables[n-1]),i.afterBrush&&i.afterBrush(e)}this._temporaryDisplayables=[],this.notClear=!0};var l=[];s.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new a(1/0,1/0,-1/0,-1/0),t=0;t<this._displayables.length;t++){var n=this._displayables[t],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(l)),e.union(i)}this._rect=e}return this._rect},s.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),i=this.getBoundingRect();if(i.contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++){var o=this._displayables[r];if(o.contain(e,t))return!0}return!1},r(s,o);var u=s;e.exports=u},cb24:function(e,t,n){var i=n("cbe1"),r=n("efdc"),o=n("1e92"),a=n("3a73"),s=n("7ead"),l=function(e,t){this.name=e||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=t};function u(e,t,n){this.root,this.data,this._nodes=[],this.hostModel=e,this.levelModels=i.map(t||[],(function(t){return new r(t,e,e.ecModel)})),this.leavesModel=new r(n||{},e,e.ecModel)}function c(e,t){var n=t.children;e.parentNode!==t&&(n.push(e),e.parentNode=t)}l.prototype={constructor:l,isRemoved:function(){return this.dataIndex<0},eachNode:function(e,t,n){"function"===typeof e&&(n=t,t=e,e=null),e=e||{},i.isString(e)&&(e={order:e});var r,o=e.order||"preorder",a=this[e.attr||"children"];"preorder"===o&&(r=t.call(n,this));for(var s=0;!r&&s<a.length;s++)a[s].eachNode(e,t,n);"postorder"===o&&t.call(n,this)},updateDepthAndHeight:function(e){var t=0;this.depth=e;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(e+1),i.height>t&&(t=i.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,i=n.length;t<i;t++){var r=n[t].getNodeById(e);if(r)return r}},contains:function(e){if(e===this)return!0;for(var t=0,n=this.children,i=n.length;t<i;t++){var r=n[t].contains(e);if(r)return r}},getAncestors:function(e){var t=[],n=e?this:this.parentNode;while(n)t.push(n),n=n.parentNode;return t.reverse(),t},getValue:function(e){var t=this.hostTree.data;return t.get(t.getDimension(e||"value"),this.dataIndex)},setLayout:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0)){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<i;n++)t[n].dataIndex=-1;for(n=0,i=e.count();n<i;n++)t[e.getRawIndex(n)].dataIndex=n},clearLayouts:function(){this.data.clearItemLayouts()}},u.createTree=function(e,t,n){var r=new u(t,n.levels,n.leaves),h=[],d=1;function f(e,t){var n=e.value;d=Math.max(d,i.isArray(n)?n.length:1),h.push(e);var o=new l(e.name,r);t?c(o,t):r.root=o,r._nodes.push(o);var a=e.children;if(a)for(var s=0;s<a.length;s++)f(a[s],o)}f(e),r.root.updateDepthAndHeight(0);var p=s(h,{coordDimensions:["value"],dimensionsCount:d}),g=new a(p,t);return g.initData(h),o({mainData:g,struct:r,structAttr:"tree"}),r.update(),r};var h=u;e.exports=h},cbe1:function(e,t){var n={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},i={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},r=Object.prototype.toString,o=Array.prototype,a=o.forEach,s=o.filter,l=o.slice,u=o.map,c=o.reduce,h={};function d(e,t){"createCanvas"===e&&(y=null),h[e]=t}function f(e){if(null==e||"object"!==typeof e)return e;var t=e,o=r.call(e);if("[object Array]"===o){if(!q(e)){t=[];for(var a=0,s=e.length;a<s;a++)t[a]=f(e[a])}}else if(i[o]){if(!q(e)){var l=e.constructor;if(e.constructor.from)t=l.from(e);else{t=new l(e.length);for(a=0,s=e.length;a<s;a++)t[a]=f(e[a])}}}else if(!n[o]&&!q(e)&&!B(e))for(var u in t={},e)e.hasOwnProperty(u)&&(t[u]=f(e[u]));return t}function p(e,t,n){if(!R(t)||!R(e))return n?f(t):e;for(var i in t)if(t.hasOwnProperty(i)){var r=e[i],o=t[i];!R(o)||!R(r)||k(o)||k(r)||B(o)||B(r)||z(o)||z(r)||q(o)||q(r)?!n&&i in e||(e[i]=f(t[i],!0)):p(r,o,n)}return e}function g(e,t){for(var n=e[0],i=1,r=e.length;i<r;i++)n=p(n,e[i],t);return n}function v(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function m(e,t,n){for(var i in t)t.hasOwnProperty(i)&&(n?null!=t[i]:null==e[i])&&(e[i]=t[i]);return e}var y,x=function(){return h.createCanvas()};function _(){return y||(y=x().getContext("2d")),y}function b(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n}return-1}function w(e,t){var n=e.prototype;function i(){}for(var r in i.prototype=t.prototype,e.prototype=new i,n)n.hasOwnProperty(r)&&(e.prototype[r]=n[r]);e.prototype.constructor=e,e.superClass=t}function S(e,t,n){e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,m(e,t,n)}function M(e){if(e)return"string"!==typeof e&&"number"===typeof e.length}function I(e,t,n){if(e&&t)if(e.forEach&&e.forEach===a)e.forEach(t,n);else if(e.length===+e.length)for(var i=0,r=e.length;i<r;i++)t.call(n,e[i],i,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o,e)}function A(e,t,n){if(e&&t){if(e.map&&e.map===u)return e.map(t,n);for(var i=[],r=0,o=e.length;r<o;r++)i.push(t.call(n,e[r],r,e));return i}}function T(e,t,n,i){if(e&&t){if(e.reduce&&e.reduce===c)return e.reduce(t,n,i);for(var r=0,o=e.length;r<o;r++)n=t.call(i,n,e[r],r,e);return n}}function D(e,t,n){if(e&&t){if(e.filter&&e.filter===s)return e.filter(t,n);for(var i=[],r=0,o=e.length;r<o;r++)t.call(n,e[r],r,e)&&i.push(e[r]);return i}}function P(e,t,n){if(e&&t)for(var i=0,r=e.length;i<r;i++)if(t.call(n,e[i],i,e))return e[i]}function C(e,t){var n=l.call(arguments,2);return function(){return e.apply(t,n.concat(l.call(arguments)))}}function O(e){var t=l.call(arguments,1);return function(){return e.apply(this,t.concat(l.call(arguments)))}}function k(e){return"[object Array]"===r.call(e)}function L(e){return"function"===typeof e}function E(e){return"[object String]"===r.call(e)}function R(e){var t=typeof e;return"function"===t||!!e&&"object"===t}function z(e){return!!n[r.call(e)]}function N(e){return!!i[r.call(e)]}function B(e){return"object"===typeof e&&"number"===typeof e.nodeType&&"object"===typeof e.ownerDocument}function V(e){return e!==e}function j(e){for(var t=0,n=arguments.length;t<n;t++)if(null!=arguments[t])return arguments[t]}function F(e,t){return null!=e?e:t}function W(e,t,n){return null!=e?e:null!=t?t:n}function G(){return Function.call.apply(l,arguments)}function H(e){if("number"===typeof e)return[e,e,e,e];var t=e.length;return 2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e}function U(e,t){if(!e)throw new Error(t)}function Y(e){return null==e?null:"function"===typeof e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}h.createCanvas=function(){return document.createElement("canvas")};var Z="__ec_primitive__";function X(e){e[Z]=!0}function q(e){return e[Z]}function $(e){var t=k(e);this.data={};var n=this;function i(e,i){t?n.set(e,i):n.set(i,e)}e instanceof $?e.each(i):e&&I(e,i)}function K(e){return new $(e)}function J(e,t){for(var n=new e.constructor(e.length+t.length),i=0;i<e.length;i++)n[i]=e[i];var r=e.length;for(i=0;i<t.length;i++)n[i+r]=t[i];return n}function Q(){}$.prototype={constructor:$,get:function(e){return this.data.hasOwnProperty(e)?this.data[e]:null},set:function(e,t){return this.data[e]=t},each:function(e,t){for(var n in void 0!==t&&(e=C(e,t)),this.data)this.data.hasOwnProperty(n)&&e(this.data[n],n)},removeKey:function(e){delete this.data[e]}},t.$override=d,t.clone=f,t.merge=p,t.mergeAll=g,t.extend=v,t.defaults=m,t.createCanvas=x,t.getContext=_,t.indexOf=b,t.inherits=w,t.mixin=S,t.isArrayLike=M,t.each=I,t.map=A,t.reduce=T,t.filter=D,t.find=P,t.bind=C,t.curry=O,t.isArray=k,t.isFunction=L,t.isString=E,t.isObject=R,t.isBuiltInObject=z,t.isTypedArray=N,t.isDom=B,t.eqNaN=V,t.retrieve=j,t.retrieve2=F,t.retrieve3=W,t.slice=G,t.normalizeCssArray=H,t.assert=U,t.trim=Y,t.setAsPrimitive=X,t.isPrimitive=q,t.createHashMap=K,t.concatArray=J,t.noop=Q},cc09:function(e,t,n){var i=n("cbe1"),r=n("4790"),o=n("d549"),a=o.seriesModelMixin,s=r.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});i.mixin(s,a,!0);var l=s;e.exports=l},cc4a:function(e,t,n){var i=n("0e18"),r=n("55ba"),o=r.parsePercent,a=r.linearMap;function s(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function l(e,t){for(var n=e.mapDimension("value"),i=e.mapArray(n,(function(e){return e})),r=[],o="ascending"===t,a=0,s=e.count();a<s;a++)r[a]=a;return"function"===typeof t?r.sort(t):"none"!==t&&r.sort((function(e,t){return o?i[e]-i[t]:i[t]-i[e]})),r}function u(e){e.each((function(t){var n,i,r,o,a=e.getItemModel(t),s=a.getModel("label"),l=s.get("position"),u=a.getModel("labelLine"),c=e.getItemLayout(t),h=c.points,d="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(d)"insideLeft"===l?(i=(h[0][0]+h[3][0])/2+5,r=(h[0][1]+h[3][1])/2,n="left"):"insideRight"===l?(i=(h[1][0]+h[2][0])/2-5,r=(h[1][1]+h[2][1])/2,n="right"):(i=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,r=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,n="center"),o=[[i,r],[i,r]];else{var f,p,g,v=u.get("length");"left"===l?(f=(h[3][0]+h[0][0])/2,p=(h[3][1]+h[0][1])/2,g=f-v,i=g-5,n="right"):"right"===l?(f=(h[1][0]+h[2][0])/2,p=(h[1][1]+h[2][1])/2,g=f+v,i=g+5,n="left"):"rightTop"===l?(f=h[1][0],p=h[1][1],g=f+v,i=g+5,n="top"):"rightBottom"===l?(f=h[2][0],p=h[2][1],g=f+v,i=g+5,n="bottom"):"leftTop"===l?(f=h[0][0],p=h[1][1],g=f-v,i=g-5,n="right"):"leftBottom"===l?(f=h[3][0],p=h[2][1],g=f-v,i=g-5,n="right"):(f=(h[1][0]+h[2][0])/2,p=(h[1][1]+h[2][1])/2,g=f+v,i=g+5,n="left");var m=p;o=[[f,p],[g,m]],r=m}c.label={linePoints:o,x:i,y:r,verticalAlign:"middle",textAlign:n,inside:d}}))}function c(e,t,n){e.eachSeriesByType("funnel",(function(e){var n=e.getData(),i=n.mapDimension("value"),r=e.get("sort"),c=s(e,t),h=l(n,r),d=[o(e.get("minSize"),c.width),o(e.get("maxSize"),c.width)],f=n.getDataExtent(i),p=e.get("min"),g=e.get("max");null==p&&(p=Math.min(f[0],0)),null==g&&(g=f[1]);var v=e.get("funnelAlign"),m=e.get("gap"),y=(c.height-m*(n.count()-1))/n.count(),x=c.y,_=function(e,t){var r,o=n.get(i,e)||0,s=a(o,[p,g],d,!0);switch(v){case"left":r=c.x;break;case"center":r=c.x+(c.width-s)/2;break;case"right":r=c.x+c.width-s;break}return[[r,t],[r+s,t]]};"ascending"===r&&(y=-y,m=-m,x+=c.height,h=h.reverse());for(var b=0;b<h.length;b++){var w=h[b],S=h[b+1],M=n.getItemModel(w),I=M.get("itemStyle.height");null==I?I=y:(I=o(I,c.height),"ascending"===r&&(I=-I));var A=_(w,x),T=_(S,x+I);x+=I+m,n.setItemLayout(w,{points:A.concat(T.slice().reverse())})}u(n)}))}e.exports=c},cc66:function(e,t,n){var i=n("cbe1");function r(e){e&&i.isArray(e.series)&&i.each(e.series,(function(e){i.isObject(e)&&"k"===e.type&&(e.type="candlestick")}))}e.exports=r},ccd7: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",this.orient=null};o.prototype={constructor:o,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},pointToData:function(e,t){return this.coordinateSystem.pointToData(e,t)[0]},toGlobalCoord:null,toLocalCoord:null},i.inherits(o,r);var a=o;e.exports=a},cd5e:function(e,t){function n(){}function i(e,t,n,i){for(var r=0,o=t.length,a=0,s=0;r<o;r++){var l=t[r];if(l.removed){for(u=[],c=s;c<s+l.count;c++)u.push(c);l.indices=u,s+=l.count}else{for(var u=[],c=a;c<a+l.count;c++)u.push(c);l.indices=u,a+=l.count,l.added||(s+=l.count)}}return t}function r(e){return{newPos:e.newPos,components:e.components.slice(0)}}n.prototype={diff:function(e,t,n){n||(n=function(e,t){return e===t}),this.equals=n;var o=this;e=e.slice(),t=t.slice();var a=t.length,s=e.length,l=1,u=a+s,c=[{newPos:-1,components:[]}],h=this.extractCommon(c[0],t,e,0);if(c[0].newPos+1>=a&&h+1>=s){for(var d=[],f=0;f<t.length;f++)d.push(f);return[{indices:d,count:t.length}]}function p(){for(var n=-1*l;n<=l;n+=2){var u,h=c[n-1],d=c[n+1],f=(d?d.newPos:0)-n;h&&(c[n-1]=void 0);var p=h&&h.newPos+1<a,g=d&&0<=f&&f<s;if(p||g){if(!p||g&&h.newPos<d.newPos?(u=r(d),o.pushComponent(u.components,void 0,!0)):(u=h,u.newPos++,o.pushComponent(u.components,!0,void 0)),f=o.extractCommon(u,t,e,n),u.newPos+1>=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+1<r&&s+1<o&&this.equals(t[a+1],n[s+1]))a++,s++,l++;return l&&e.components.push({count:l}),e.newPos=a,s},tokenize:function(e){return e.slice()},join:function(e){return e.slice()}};var o=new n;function a(e,t,n){return o.diff(e,t,n)}e.exports=a},cdbb:function(e,t,n){var i=n("cbe1"),r=n("d36d");function o(e,t){r.call(this,"radius",e,t),this.type="category"}o.prototype={constructor:o,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToRadius:r.prototype.dataToCoord,radiusToData:r.prototype.coordToData},i.inherits(o,r);var a=o;e.exports=a},cf23:function(e,t,n){var i=n("333f"),r={type:"axisAreaSelect",event:"axisAreaSelected"};i.registerAction(r,(function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},(function(t){t.axis.model.setActiveIntervals(e.intervals)}))})),i.registerAction("parallelAxisExpand",(function(e,t){t.eachComponent({mainType:"parallel",query:e},(function(t){t.setAxisExpand(e)}))}))},cf52:function(e,t,n){var i=n("cbe1"),r={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},o={};o.categoryAxis=i.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},r),o.valueAxis=i.merge({boundaryGap:[0,0],splitNumber:5},r),o.timeAxis=i.defaults({scale:!0,min:"dataMin",max:"dataMax"},o.valueAxis),o.logAxis=i.defaults({scale:!0,logBase:10},o.valueAxis);var a=o;e.exports=a},cf6e:function(e,t,n){var i=n("333f"),r=i.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});e.exports=r},cf91:function(e,t,n){"use strict";var i=n("e956"),r=n.n(i);r.a},d0395:function(e,t,n){var i=n("333f"),r=n("cbe1");function o(e,t){r.each(t,(function(t){t.update="updateView",i.registerAction(t,(function(n,i){var r={};return i.eachComponent({mainType:"series",subType:e,query:n},(function(e){e[t.method]&&e[t.method](n.name,n.dataIndex);var i=e.getData();i.each((function(t){var n=i.getName(t);r[n]=e.isSelected(n)||!1}))})),{name:n.name,selected:r,seriesId:n.seriesId}}))}))}e.exports=o},d1a1:function(e,t,n){var i=n("cbe1"),r={};function o(){this._coordinateSystems=[]}o.prototype={constructor:o,create:function(e,t){var n=[];i.each(r,(function(i,r){var o=i.create(e,t);n=n.concat(o||[])})),this._coordinateSystems=n},update:function(e,t){i.each(this._coordinateSystems,(function(n){n.update&&n.update(e,t)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},o.register=function(e,t){r[e]=t},o.get=function(e){return r[e]};var a=o;e.exports=a},d1c9:function(e,t,n){var i=n("cbe1");function r(e,t){var n=this.getAxis(),i=t instanceof Array?t[0]:t,r=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function o(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(r,e)}}}e.exports=o},d207:function(e,t,n){var i=n("1bb8"),r=n("180c"),o=n("cbe1"),a=o.getContext,s=o.extend,l=o.retrieve2,u=o.retrieve3,c=o.trim,h={},d=0,f=5e3,p=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,g="12px sans-serif",v={};function m(e,t){v[e]=t}function y(e,t){t=t||g;var n=e+":"+t;if(h[n])return h[n];for(var i=(e+"").split("\n"),r=0,o=0,a=i.length;o<a;o++)r=Math.max(O(i[o],t).width,r);return d>f&&(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<s;a++)o[a]=D(o[a],r);return o.join("\n")}function T(e,t,n,i){i=s({},i),i.font=t;n=l(n,"...");i.maxIterations=l(i.maxIterations,2);var r=i.minChar=l(i.minChar,0);i.cnCharWidth=y("国",t);var o=i.ascCharWidth=y("a",t);i.placeholder=l(i.placeholder,"");for(var a=e=Math.max(0,e-1),u=0;u<r&&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;o<a&&r<t;o++){var s=e.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}function C(e){return y("国",e)}function O(e,t){return v.measureText(e,t)}function k(e,t,n,i,r){null!=e&&(e+="");var o=l(i,C(t)),a=e?e.split("\n"):[],s=a.length*o,u=s,c=!0;if(n&&(u+=n[0]+n[2]),e&&r){c=!1;var h=r.outerHeight,d=r.outerWidth;if(null!=h&&u>h)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;p<g;p++)a[p]=D(a[p],f)}return{lines:a,height:s,outerHeight:u,lineHeight:o,canCacheByTextString:c}}function L(e,t){var n={lines:[],width:0,height:0};if(null!=e&&(e+=""),!e)return n;var i,o=p.lastIndex=0;while(null!=(i=p.exec(e))){var a=i.index;a>o&&E(n,e.substring(o,a)),E(n,i[2],i[1]),o=p.lastIndex}o<e.length&&E(n,e.substring(o,e.length));var s=n.lines,c=0,h=0,d=[],f=t.textPadding,g=t.truncate,v=g&&g.outerWidth,m=g&&g.outerHeight;f&&(null!=v&&(v-=f[1]+f[3]),null!=m&&(m-=f[0]+f[2]));for(var x=0;x<s.length;x++){for(var _=s[x],b=0,w=0,S=0;S<_.tokens.length;S++){var M=_.tokens[S],I=M.styleName&&t.rich[M.styleName]||{},T=M.textPadding=I.textPadding,D=M.font=I.font||t.font,P=M.textHeight=l(I.textHeight,C(D));if(T&&(P+=T[0]+T[2]),M.height=P,M.lineHeight=u(I.textLineHeight,t.textLineHeight,P),M.textAlign=I&&I.textAlign||t.textAlign,M.textVerticalAlign=I&&I.textVerticalAlign||"middle",null!=m&&c+M.lineHeight>m)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&&N<O&&(!k||N<z?(M.text="",M.textWidth=O=0):(M.text=A(M.text,N-z,D,g.ellipsis,{minChar:g.minChar}),M.textWidth=y(M.text,D),O=M.textWidth+z))}w+=M.width=O,I&&(b=Math.max(b,M.lineHeight))}_.width=w,_.lineHeight=b,c+=b,h=Math.max(h,w)}n.outerWidth=n.width=l(t.textWidth,h),n.outerHeight=n.height=l(t.textHeight,c),f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]);for(x=0;x<d.length;x++){M=d[x];var B=M.percentWidth;M.width=parseInt(B,10)/100*h}return n}function E(e,t,n){for(var i=""===t,r=t.split("\n"),o=e.lines,a=0;a<r.length;a++){var s=r[a],l={styleName:n,text:s,isLineHolder:!s&&!i};if(a)o.push({tokens:[l]});else{var u=(o[o.length-1]||(o[0]={tokens:[]})).tokens,c=u.length;1===c&&u[0].isLineHolder?u[0]=l:(s||!c||i)&&u.push(l)}}}function R(e){var t=(e.fontSize||e.fontFamily)&&[e.fontStyle,e.fontWeight,(e.fontSize||12)+"px",e.fontFamily||"sans-serif"].join(" ");return t&&c(t)||e.textFont||e.font}v.measureText=function(e,t){var n=a();return n.font=t||g,n.measureText(e)},t.DEFAULT_FONT=g,t.$override=m,t.getWidth=y,t.getBoundingRect=x,t.adjustTextX=w,t.adjustTextY=S,t.calculateTextPosition=M,t.adjustTextPositionOnRect=I,t.truncateText=A,t.getLineHeight=C,t.measureText=O,t.parsePlainText=k,t.parseRichText=L,t.makeFont=R},d36d:function(e,t,n){var i=n("cbe1"),r=i.each,o=i.map,a=n("55ba"),s=a.linearMap,l=a.getPixelPrecision,u=a.round,c=n("8eed"),h=c.createAxisTicks,d=c.createAxisLabels,f=c.calculateCategoryInterval,p=[0,1],g=function(e,t,n){this.dim=e,this.scale=t,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function v(e,t){var n=e[1]-e[0],i=t,r=n/i/2;e[0]+=r,e[1]-=r}function m(e,t,n,i){var o=t.length;if(e.onBand&&!n&&o){var a,s,l=e.getExtent();if(1===o)t[0].coord=l[0],a=t[1]={coord:l[0]};else{var c=t[o-1].tickValue-t[0].tickValue,h=(t[o-1].coord-t[0].coord)/c;r(t,(function(e){e.coord-=h/2}));var d=e.scale.getExtent();s=1+d[1]-t[o-1].tickValue,a={coord:t[o-1].coord+h*s},t.push(a)}var f=l[0]>l[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<t}}g.prototype={constructor:g,contain:function(e){var t=this._extent,n=Math.min(t[0],t[1]),i=Math.max(t[0],t[1]);return 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<r;t++){var a=e[t],s=x(a),l=I(a)||M(a);a.invisible||(a.__dirty&&(s&&s.brush(a),this.clipPathManager.update(a),a.style&&(this.gradientManager.update(a.style.fill),this.gradientManager.update(a.style.stroke),this.shadowManager.update(l,a)),a.__dirty=!1),o.push(a))}var u,h=c(i,o);for(t=0;t<h.length;t++){var d=h[t];if(d.removed)for(var f=0;f<d.count;f++){a=i[d.indices[f]],l=I(a);var p=M(a);S(n,l),S(n,p)}}for(t=0;t<h.length;t++){d=h[t];if(d.added)for(f=0;f<d.count;f++){a=o[d.indices[f]],l=I(a),p=M(a);u?b(n,l,u):w(n,l),l?b(n,p,l):u?b(n,p,u):w(n,p),b(n,p,l),u=p||l||u,this.gradientManager.addWithoutUpdate(l||p,a),this.shadowManager.addWithoutUpdate(l||p,a),this.clipPathManager.markUsed(a)}else if(!d.removed)for(f=0;f<d.count;f++){a=o[d.indices[f]];u=M(a)||I(a)||u;l=I(a),p=M(a);this.gradientManager.markUsed(a),this.gradientManager.addWithoutUpdate(l||p,a),this.shadowManager.markUsed(a),this.shadowManager.addWithoutUpdate(l||p,a),this.clipPathManager.markUsed(a)}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=o},_getDefs:function(e){var t=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");if(0===n.length){if(e){n=t.insertBefore(r("defs"),t.firstChild);return 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}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;a<t.length;a++)if(!t[a].isSelected(i))return!1}return!0}))}),this)}e.exports=n},d42a:function(e,t){function n(e,t,n){var i=e.target,r=i.position;r[0]+=t,r[1]+=n,i.dirty()}function i(e,t,n,i){var r=e.target,o=e.zoomLimit,a=r.position,s=r.scale,l=e.zoom=e.zoom||1;if(l*=t,o){var u=o.min||0,c=o.max||1/0;l=Math.max(Math.min(c,l),u)}var h=l/e.zoom;e.zoom=l,a[0]-=(n-a[0])*(h-1),a[1]-=(i-a[1])*(h-1),s[0]*=h,s[1]*=h,r.dirty()}t.updateViewOnPan=n,t.updateViewOnZoom=i},d42c:function(e,t,n){var i=n("333f"),r=n("fde7"),o=r.updateCenterAndZoom;n("ec7d");var a={type:"graphRoam",event:"graphRoam",update:"none"};i.registerAction(a,(function(e,t){t.eachComponent({mainType:"series",query:e},(function(t){var n=t.coordinateSystem,i=o(n,e);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)}))}))},d453:function(e,t){var n=Array.prototype.slice,i=function(e){this._$handlers={},this._$eventProcessor=e};function r(e,t){var n=e._$eventProcessor;return null!=t&&n&&n.normalizeQuery&&(t=n.normalizeQuery(t)),t}function o(e,t,n,i,o,a){var s=e._$handlers;if("function"===typeof n&&(o=i,i=n,n=null),!i||!t)return e;n=r(e,n),s[t]||(s[t]=[]);for(var l=0;l<s[t].length;l++)if(s[t][l].h===i)return e;var u={h:i,one:a,query:n,ctx:o||e,callAtLast:i.zrEventfulCallAtLast},c=s[t].length-1,h=s[t][c];return h&&h.callAtLast?s[t].splice(c,0,u):s[t].push(u),e}i.prototype={constructor:i,one:function(e,t,n,i){return o(this,e,t,n,i,!0)},on:function(e,t,n,i){return o(this,e,t,n,i,!1)},isSilent:function(e){var t=this._$handlers;return!t[e]||!t[e].length},off:function(e,t){var n=this._$handlers;if(!e)return this._$handlers={},this;if(t){if(n[e]){for(var i=[],r=0,o=n[e].length;r<o;r++)n[e][r].h!==t&&i.push(n[e][r]);n[e]=i}n[e]&&0===n[e].length&&delete n[e]}else delete n[e];return this},trigger:function(e){var t=this._$handlers[e],i=this._$eventProcessor;if(t){var r=arguments,o=r.length;o>3&&(r=n.call(r,1));for(var a=t.length,s=0;s<a;){var l=t[s];if(i&&i.filter&&null!=l.query&&!i.filter(e,l.query))s++;else{switch(o){case 1:l.h.call(l.ctx);break;case 2:l.h.call(l.ctx,r[1]);break;case 3:l.h.call(l.ctx,r[1],r[2]);break;default:l.h.apply(l.ctx,r);break}l.one?(t.splice(s,1),a--):s++}}}return i&&i.afterTrigger&&i.afterTrigger(e),this},triggerWithContext:function(e){var t=this._$handlers[e],i=this._$eventProcessor;if(t){var r=arguments,o=r.length;o>4&&(r=n.call(r,1,r.length-1));for(var a=r[r.length-1],s=t.length,l=0;l<s;){var u=t[l];if(i&&i.filter&&null!=u.query&&!i.filter(e,u.query))l++;else{switch(o){case 1:u.h.call(a);break;case 2:u.h.call(a,r[1]);break;case 3:u.h.call(a,r[1],r[2]);break;default:u.h.apply(a,r);break}u.one?(t.splice(l,1),s--):l++}}}return i&&i.afterTrigger&&i.afterTrigger(e),this}};var a=i;e.exports=a},d473:function(e,t,n){var i=n("cbe1"),r=n("1bb8"),o=n("121d"),a=n("20b1");function s(e,t,n,i){o.call(this,e),this.map=t;var r=a.load(t,n);this._nameCoordMap=r.nameCoordMap,this._regionsMap=r.regionsMap,this._invertLongitute=null==i||i,this.regions=r.regions,this._rect=r.boundingRect}function l(e,t,n,i){var r=n.geoModel,o=n.seriesModel,a=r?r.coordinateSystem:o?o.coordinateSystem||(o.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return a===this?a[e](i):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(e){for(var t=this.regions,n=0;n<t.length;n++)if(t[n].contain(e))return!0;return!1},transformTo:function(e,t,n,i){var o=this.getBoundingRect(),a=this._invertLongitute;o=o.clone(),a&&(o.y=-o.y-o.height);var s=this._rawTransformable;if(s.transform=o.calculateTransform(new r(e,t,n,i)),s.decomposeTransform(),a){var l=s.scale;l[1]=-l[1]}s.updateTransform(),this._updateTransform()},getRegion:function(e){return this._regionsMap.get(e)},getRegionByCoord:function(e){for(var t=this.regions,n=0;n<t.length;n++)if(t[n].contain(e))return t[n]},addGeoCoord:function(e,t){this._nameCoordMap.set(e,t)},getGeoCoord:function(e){return this._nameCoordMap.get(e)},getBoundingRect:function(){return this._rect},dataToPoint:function(e,t,n){if("string"===typeof e&&(e=this.getGeoCoord(e)),e)return o.prototype.dataToPoint.call(this,e,t,n)},convertToPixel:i.curry(l,"dataToPoint"),convertFromPixel:i.curry(l,"pointToData")},i.mixin(s,o);var u=s;e.exports=u},d4a3:function(e,t,n){"use strict";n.r(t);n("4de4"),n("d3b7"),n("96cf");var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"echarts"})},r=[],o=(n("4160"),n("d81d"),n("333f")),a=n.n(o),s=n("12b1"),l=n.n(s);let u=null;function c(e){return u||(u=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){return setTimeout(e,16)}).bind(window)),u(e)}let h=null;function d(e){h||(h=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)}).bind(window)),h(e)}function f(e){var t=document.createElement("style");return t.type="text/css",t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),(document.querySelector("head")||document.body).appendChild(t),t}function p(e,t={}){let n=document.createElement(e);return Object.keys(t).forEach(e=>{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<n;r++)i[r-1]=arguments[r];return(t=this.chart)[e].apply(t,i)},delegateGet:function(e){return this.chart||this.init(),this.chart[e]()},getArea:function(){return this.$el.offsetWidth*this.$el.offsetHeight},init:function(){var e=this;if(!this.chart){var t=a.a.init(this.$el,this.theme,this.initOptions);this.group&&(t.group=this.group),t.setOption(this.manualOptions||this.options||{},!0),k.forEach((function(n){t.on(n,(function(t){e.$emit(n,t)}))})),this.autoresize&&(this.lastArea=this.getArea(),this.__resizeHandler=l()((function(){0===e.lastArea?(e.mergeOptions({},!0),e.resize(),e.mergeOptions(e.options||e.manualOptions||{},!0)):e.resize(),e.lastArea=e.getArea()}),100,{leading:!0}),_(this.$el,this.__resizeHandler)),Object.defineProperties(this,{width:{configurable:!0,get:function(){return e.delegateGet("getWidth")}},height:{configurable:!0,get:function(){return e.delegateGet("getHeight")}},isDisposed:{configurable:!0,get:function(){return!!e.delegateGet("isDisposed")}},computedOptions:{configurable:!0,get:function(){return e.delegateGet("getOption")}}}),this.chart=t}},initOptionsWatcher:function(){var e=this;this.__unwatchOptions&&(this.__unwatchOptions(),this.__unwatchOptions=null),this.manualUpdate||(this.__unwatchOptions=this.$watch("options",(function(t,n){!e.chart&&t?e.init():e.chart.setOption(t,t!==n)}),{deep:!this.watchShallow}))},destroy:function(){this.autoresize&&b(this.$el,this.__resizeHandler),this.dispose(),this.chart=null},refresh:function(){this.chart&&(this.destroy(),this.init())}},created:function(){var e=this;this.initOptionsWatcher(),L.forEach((function(t){e.$watch(t,(function(){e.refresh()}),{deep:!0})})),E.forEach((function(t){e.$watch(t,(function(){e.initOptionsWatcher(),e.refresh()}))}))},mounted:function(){this.options&&this.init()},activated:function(){this.autoresize&&this.chart&&this.chart.resize()},destroyed:function(){this.chart&&this.destroy()},connect:function(e){"string"!==typeof e&&(e=e.map((function(e){return e.chart}))),a.a.connect(e)},disconnect:function(e){a.a.disConnect(e)},registerMap:function(e,t,n){a.a.registerMap(e,t,n)},registerTheme:function(e,t){a.a.registerTheme(e,t)},graphic:a.a.graphic},z=R,N=(n("8ef7"),n("2877")),B=Object(N["a"])(z,i,r,!1,null,null,null),V=B.exports,j=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:e.showPanel?"show":"",attrs:{id:"setting-panel"}},[i("div",{staticClass:"toggle-btn"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.showPanel,expression:"showPanel"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.showPanel)?e._i(e.showPanel,null)>-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)])])},F=[],W=(n("b64b"),n("e25e"),n("ac1f"),n("5319"),{data:function(){return{showPanel:!0,selectedDaySum:void 0}},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_",""))})}}}),G=W,H=(n("8f1c"),Object(N["a"])(G,j,F,!1,null,"718952b6",null)),U=H.exports,Y=(n("99af"),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:!0,edges:{top:!1,left:!1,bottom:".cdr-handle-br",right:".cdr-handle-br"}}).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("ee37"),Object(N["a"])($,D,P,!1,null,"2a1e608c",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{moveable:!0,opt:{},loading:!1}},computed:{code:function(){var e=this.$route.params.code;return this.processByCode(e),e},daySum:function(){return this.$store.getters["hly/daySum"]}},mounted:function(){},watch:{daySum:function(e){this.processByCode(this.code)}},methods:{handleResize:Object(X["debounce"])((function(e,t){t.$refs.echarts.resize()}),10),processByCode:function(e){var t,i,r,o=this;return regeneratorRuntime.async((function(a){while(1)switch(a.prev=a.next){case 0:return this.loading=!0,a.next=3,regeneratorRuntime.awrap(this.$axios.get("http://stock.catsjuice.top/api/hly",{params:{code:e}}));case 3:t=a.sent,i=t.data.data,r=function(){return n.e("chunk-ad72d640").then(n.bind(null,"cec7"))},r().then((function(e){var t=e.default,n=t({data:i,daySum:o.daySum});o.opt=Object(X["cloneDeep"])(n),o.$store.commit("hly/UPDATE",{constant:"selectedData",value:i})})),this.loading=!1;case 8:case"end":return a.stop()}}),null,this)}},render:function(){var e=this,t=arguments[0],n=this.moveable,i=this.handleResize,r=this.code,o={render:"canvas"};return 0==oe.filter((function(e){return e===r})).length?t("empty-page"):t("div",{class:"row"},[t("drag-resize",{attrs:{ww:800,hh:600,x:100,y:100,resizable:!0,initOptions:o,moveable:n},on:{resizemove:function(t){return i(t,e)}}},[t("div",{attrs:{id:"print-panel"}},[t("div",{class:"drag"}),t("echarts",{attrs:{id:"echats",initOptions:o,options:this.opt},class:"chart-output-content",ref:"echarts"})])]),t("setting-panel"),t("transition",{attrs:{"enter-active-class":"animated slideInOut","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<u;l++){var c=t.getName(l);o.set(c,!0),a.push({name:c,value:t.get(n,l),selected:h(t,l,"selected")})}var f=d.load(this.getMapType(),this.option.nameMap);return i.each(f.regions,(function(e){var t=e.name;o.get(t)||(a.push({name:t}),s.push(t))})),this.updateSelectedMap(a),t.appendValues([],s),t},getHostGeoModel:function(){var e=this.option.geoIndex;return null!=e?this.dependentModels.geo[e]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(e){var t=this.getData();return t.get(t.mapDimension("value"),e)},getRegionModel:function(e){var t=this.getData();return t.getItemModel(t.indexOfName(e))},formatTooltip:function(e){for(var t=this.getData(),n=l(this.getRawValue(e)),i=t.getName(e),r=this.seriesGroup,o=[],a=0;a<r.length;a++){var u=r[a].originalData.indexOfName(i),c=t.mapDimension("value");isNaN(r[a].originalData.get(c,u))||o.push(s(r[a].name))}return o.join(", ")+"<br />"+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<e.length;t++)e[t][1]||(e[t][1]=e[t][0]);return function(t,n,r){for(var o={},a=0;a<e.length;a++){var s=e[a][1];if(!(n&&i.indexOf(n,s)>=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<S.length;G++)J&&t.strokeText(S[G],R,B),Q&&t.fillText(S[G],R,B),B+=M}function T(e,t,n,i,r,o){o!==v&&(t.__attrCachedBy=g.NONE);var a=e.__textCotentBlock;a&&!e.__dirtyText||(a=e.__textCotentBlock=c.parseRichText(n,i)),D(e,t,a,i,r)}function D(e,t,n,i,r){var o=n.width,a=n.outerWidth,s=n.outerHeight,l=i.textPadding,u=E(w,e,i,r),h=u.baseX,d=u.baseY,f=u.textAlign,p=u.textVerticalAlign;P(t,i,r,h,d);var g=c.adjustTextX(h,a,f),v=c.adjustTextY(d,s,p),m=g,y=v;l&&(m+=l[3],y+=l[0]);var x=m+o;O(i)&&k(e,t,i,g,v,a,s);for(var _=0;_<n.lines.length;_++){var b,S=n.lines[_],M=S.tokens,I=M.length,A=S.lineHeight,T=S.width,D=0,L=m,R=x,z=I-1;while(D<I&&(b=M[D],!b.textAlign||"left"===b.textAlign))C(e,t,b,i,A,y,L,"left"),T-=b.width,L+=b.width,D++;while(z>=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<a||p>=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<v&&(a=v),n=t+P*a;var s=e.depth-x-(M?-1:1),l=f+A*s,u=f+A*(s+1),p=e.getModel();null!=p.get("r0")&&(l=r(p.get("r0"),c/2)),null!=p.get("r")&&(u=r(p.get("r"),c/2)),e.setLayout({angle:a,startAngle:t,endAngle:n,clockwise:T,cx:h,cy:d,r0:l,r:u})}if(e.children&&e.children.length){var g=0;o.each(e.children,(function(e){g+=C(e,t+g)}))}return n-t}};if(M){var O=f,k=f+A,L=2*Math.PI;m.setLayout({angle:L,startAngle:g,endAngle:g+L,clockwise:T,cx:h,cy:d,r0:O,r:k})}C(y,g)}))}function l(e,t){var n=e.children||[];e.children=u(n,t),n.length&&o.each(e.children,(function(e){l(e,t)}))}function u(e,t){if("function"===typeof t)return e.sort(t);var n="asc"===t;return e.sort((function(e,t){var i=(e.getValue()-t.getValue())*(n?1:-1);return 0===i?(e.dataIndex-t.dataIndex)*(n?-1:1):i}))}e.exports=s},d9b6:function(e,t,n){var i=n("cbe1"),r=n("5c3e"),o=n("7a17"),a=i.each,s=i.clone,l=i.map,u=i.merge,c=/^(min|max)?(.+)$/;function h(e){this._api=e,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function d(e,t,n){var r,o,s=[],l=[],u=e.timeline;if(e.baseOption&&(o=e.baseOption),(u||e.options)&&(o=o||{},s=(e.options||[]).slice()),e.media){o=o||{};var c=e.media;a(c,(function(e){e&&e.option&&(e.query?l.push(e):r||(r=e))}))}return o||(o=e),o.timeline||(o.timeline=u),a([o].concat(s).concat(i.map(l,(function(e){return e.option}))),(function(e){a(t,(function(t){t(e,n)}))})),{baseOption:o,timelineOptions:s,mediaDefault:r,mediaList:l}}function f(e,t,n){var r={width:t,height:n,aspectratio:t/n},o=!0;return i.each(e,(function(e,t){var n=t.match(c);if(n&&n[1]&&n[2]){var i=n[1],a=n[2].toLowerCase();p(r[a],e,i)||(o=!1)}})),o}function p(e,t,n){return"min"===n?e>=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;u<c;u++)f(i[u].query,t,n)&&o.push(u);return!o.length&&r&&(o=[-1]),o.length&&!g(o,this._currentMediaIndices)&&(a=l(o,(function(e){return s(-1===e?r.option:i[e].option)}))),this._currentMediaIndices=o,a}};var m=h;e.exports=m},d9c8:function(e,t){var n=["itemStyle","borderColor"];function i(e,t){var i=e.get("color");e.eachRawSeriesByType("boxplot",(function(t){var r=i[t.seriesIndex%i.length],o=t.getData();o.setVisual({legendSymbol:"roundRect",color:t.get(n)||r}),e.isSeriesFiltered(t)||o.each((function(e){var t=o.getItemModel(e);o.setItemVisual(e,{color:t.get(n,!0)})}))}))}e.exports=i},daf1:function(e,t,n){var i=n("c5de"),r=i.debugMode,o=function(){};1===r&&(o=console.error);var a=o;e.exports=a},db66:function(e,t){var n=Math.round;function i(e,t,i){var r=i&&i.lineWidth;if(t&&r){var a=t.x1,s=t.x2,l=t.y1,u=t.y2;n(2*a)===n(2*s)?e.x1=e.x2=o(a,r,!0):(e.x1=a,e.x2=s),n(2*l)===n(2*u)?e.y1=e.y2=o(l,r,!0):(e.y1=l,e.y2=u)}}function r(e,t,n){var i=n&&n.lineWidth;if(t&&i){var r=t.x,a=t.y,s=t.width,l=t.height;e.x=o(r,i,!0),e.y=o(a,i,!0),e.width=Math.max(o(r+s,i,!1)-e.x,0===s?0:1),e.height=Math.max(o(a+l,i,!1)-e.y,0===l?0:1)}}function o(e,t,i){var r=n(2*e);return(r+n(t))%2===0?r/2:(r+(i?1:-1))/2}t.subPixelOptimizeLine=i,t.subPixelOptimizeRect=r,t.subPixelOptimize=o},db6e:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("333f")),o=n("3bf3"),a=r.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(e,t,n,i){this.axisPointerClass&&o.fixValue(e),a.superApply(this,"render",arguments),s(this,e,t,n,i,!0)},updateAxisPointer:function(e,t,n,i,r){s(this,e,t,n,i,!1)},remove:function(e,t){var n=this._axisPointer;n&&n.remove(t),a.superApply(this,"remove",arguments)},dispose:function(e,t){l(this,t),a.superApply(this,"dispose",arguments)}});function s(e,t,n,i,r,s){var u=a.getAxisPointerClass(e.axisPointerClass);if(u){var c=o.getAxisPointerModel(t);c?(e._axisPointer||(e._axisPointer=new u)).render(t,c,i,s):l(e,i)}}function l(e,t,n){var i=e._axisPointer;i&&i.dispose(t,n),e._axisPointer=null}var u=[];a.registerAxisPointerClass=function(e,t){u[e]=t},a.getAxisPointerClass=function(e){return e&&u[e]};var c=a;e.exports=c},db74:function(e,t,n){var i=n("d207"),r=n("2dda"),o=["textStyle","color"],a={getTextColor:function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(o):null)},getFont:function(){return r.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(e){return i.getBoundingRect(e,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};e.exports=a},db8e:function(e,t,n){var i=n("cbe1"),r=n("82da"),o=function(e,t,n,i,o){this.x=null==e?.5:e,this.y=null==t?.5:t,this.r=null==n?.5:n,this.type="radial",this.global=o||!1,r.call(this,i)};o.prototype={constructor:o},i.inherits(o,r);var a=o;e.exports=a},dbbd:function(e,t){var n="undefined"===typeof Float32Array?Array:Float32Array;function i(e,t){var i=new n(2);return null==e&&(e=0),null==t&&(t=0),i[0]=e,i[1]=t,i}function r(e,t){return e[0]=t[0],e[1]=t[1],e}function o(e){var t=new n(2);return t[0]=e[0],t[1]=e[1],t}function a(e,t,n){return e[0]=t,e[1]=n,e}function s(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function l(e,t,n,i){return e[0]=t[0]+n[0]*i,e[1]=t[1]+n[1]*i,e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function c(e){return Math.sqrt(d(e))}var h=c;function d(e){return e[0]*e[0]+e[1]*e[1]}var f=d;function p(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}function g(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}function v(e,t){return e[0]*t[0]+e[1]*t[1]}function m(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function y(e,t){var n=c(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function x(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var _=x;function b(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var w=b;function S(e,t){return e[0]=-t[0],e[1]=-t[1],e}function M(e,t,n,i){return e[0]=t[0]+i*(n[0]-t[0]),e[1]=t[1]+i*(n[1]-t[1]),e}function I(e,t,n){var i=t[0],r=t[1];return e[0]=n[0]*i+n[2]*r+n[4],e[1]=n[1]*i+n[3]*r+n[5],e}function A(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function T(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}t.create=i,t.copy=r,t.clone=o,t.set=a,t.add=s,t.scaleAndAdd=l,t.sub=u,t.len=c,t.length=h,t.lenSquare=d,t.lengthSquare=f,t.mul=p,t.div=g,t.dot=v,t.scale=m,t.normalize=y,t.distance=x,t.dist=_,t.distanceSquare=b,t.distSquare=w,t.negate=S,t.lerp=M,t.applyTransform=I,t.min=A,t.max=T},dbbd7:function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},dbf9:function(e,t,n){var i=n("7651");t.zrender=i;var r=n("6b0b");t.matrix=r;var o=n("dbbd");t.vector=o;var a=n("cbe1"),s=n("3083");t.color=s;var l=n("2dda"),u=n("55ba");t.number=u;var c=n("4ae0");t.format=c;var h=n("4dbf");h.throttle;t.throttle=h.throttle;var d=n("054e");t.helper=d;var f=n("7ce5");t.parseGeoJSON=f;var p=n("3a73");t.List=p;var g=n("efdc");t.Model=g;var v=n("d36d");t.Axis=v;var m=n("3804");t.env=m;var y=f,x={};a.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(e){x[e]=a[e]}));var _={};a.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(e){_[e]=l[e]})),t.parseGeoJson=y,t.util=x,t.graphic=_},de7a:function(e,t){var n={legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType}",withoutName:"第{seriesId}个系列是一个{seriesType}",separator:{middle:"",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:"",end:""}}}};e.exports=n},dea9:function(e,t,n){var i=n("b8e1"),r=i.extend({type:"dataZoom.select"});e.exports=r},df09:function(e,t,n){var i=n("cbe1"),r=n("7a17"),o=n("e1b3"),a=n("143f"),s=r.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});i.merge(s.prototype,a);var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function u(e,t){return t.type||(t.data?"category":"value")}o("angle",s,u,l.angle),o("radius",s,u,l.radius)},df7d:function(e,t,n){var i=n("cbe1"),r=n("2dda"),o=n("1bb8"),a=n("d207"),s=a.calculateTextPosition,l=r.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,i=t.cy,r=t.width/2,o=t.height/2;e.moveTo(n,i-o),e.lineTo(n+r,i+o),e.lineTo(n-r,i+o),e.closePath()}}),u=r.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,i=t.cy,r=t.width/2,o=t.height/2;e.moveTo(n,i-o),e.lineTo(n+r,i),e.lineTo(n,i+o),e.lineTo(n-r,i),e.closePath()}}),c=r.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,i=t.y,r=t.width/5*3,o=Math.max(r,t.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),d=Math.cos(u),f=.6*a,p=.7*a;e.moveTo(n-c,l+s),e.arc(n,l,a,Math.PI-u,2*Math.PI+u),e.bezierCurveTo(n+c-h*f,l+s+d*f,n,i-p,n,i),e.bezierCurveTo(n,i-p,n-c+h*f,l+s+d*f,n-c,l+s),e.closePath()}}),h=r.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,i=t.width,r=t.x,o=t.y,a=i/3*2;e.moveTo(r,o),e.lineTo(r+a,o+n),e.lineTo(r,o+n/4*3),e.lineTo(r-a,o+n),e.lineTo(r,o),e.closePath()}}),d={line:r.Line,rect:r.Rect,roundRect:r.Rect,square:r.Rect,circle:r.Circle,diamond:u,pin:c,arrow:h,triangle:l},f={line:function(e,t,n,i,r){r.x1=e,r.y1=t+i/2,r.x2=e+n,r.y2=t+i/2},rect:function(e,t,n,i,r){r.x=e,r.y=t,r.width=n,r.height=i},roundRect:function(e,t,n,i,r){r.x=e,r.y=t,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(e,t,n,i,r){var o=Math.min(n,i);r.x=e,r.y=t,r.width=o,r.height=o},circle:function(e,t,n,i,r){r.cx=e+n/2,r.cy=t+i/2,r.r=Math.min(n,i)/2},diamond:function(e,t,n,i,r){r.cx=e+n/2,r.cy=t+i/2,r.width=n,r.height=i},pin:function(e,t,n,i,r){r.x=e+n/2,r.y=t+i/2,r.width=n,r.height=i},arrow:function(e,t,n,i,r){r.x=e+n/2,r.y=t+i/2,r.width=n,r.height=i},triangle:function(e,t,n,i,r){r.cx=e+n/2,r.cy=t+i/2,r.width=n,r.height=i}},p={};i.each(d,(function(e,t){p[t]=new e}));var g=r.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var i=s(e,t,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===t.textPosition&&(i.y=n.y+.4*n.height),i},buildPath:function(e,t,n){var i=t.symbolType;if("none"!==i){var r=p[i];r||(i="rect",r=p[i]),f[i](t.x,t.y,t.width,t.height,r.shape),r.buildPath(e,r.shape,n)}}});function v(e,t){if("image"!==this.type){var n=this.style,i=this.shape;i&&"line"===i.symbolType?n.stroke=e:this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff"):(n.fill&&(n.fill=e),n.stroke&&(n.stroke=e)),this.dirty(!1)}}function m(e,t,n,i,a,s,l){var u,c=0===e.indexOf("empty");return c&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),u=0===e.indexOf("image://")?r.makeImage(e.slice(8),new o(t,n,i,a),l?"center":"cover"):0===e.indexOf("path://")?r.makePath(e.slice(7),{},new o(t,n,i,a),l?"center":"cover"):new g({shape:{symbolType:e,x:t,y:n,width:i,height:a}}),u.__isEmptyBrush=c,u.setColor=v,u.setColor(s),u}t.createSymbol=m},dff1:function(e,t,n){n("ec6a");var i=n("7651"),r=i.registerPainter,o=n("d399");r("svg",o)},e062:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=n("d453"),a=n("2dda"),s=n("e94f"),l=n("8b19"),u=r.curry,c=r.each,h=r.map,d=Math.min,f=Math.max,p=Math.pow,g=1e4,v=6,m=6,y="globalPan",x={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},_={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},b={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},w=0;function S(e){o.call(this),this._zr=e,this.group=new a.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._lastMouseMovePoint={},this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+w++,this._handlers={},c(ne,(function(e,t){this._handlers[t]=r.bind(e,this)}),this)}function M(e,t){var n=e._zr;e._enableGlobalPan||s.take(n,y,e._uid),c(e._handlers,(function(e,t){n.on(t,e)})),e._brushType=t.brushType,e._brushOption=r.merge(r.clone(b),t,!0)}function I(e){var t=e._zr;s.release(t,y,e._uid),c(e._handlers,(function(e,n){t.off(n,e)})),e._brushType=e._brushOption=null}function A(e,t){var n=re[t.brushType].createCover(e,t);return n.__brushOption=t,P(n,t),e.group.add(n),n}function T(e,t){var n=O(t);return n.endCreating&&(n.endCreating(e,t),P(t,t.__brushOption)),t}function D(e,t){var n=t.__brushOption;O(t).updateCoverShape(e,t,n.range,n)}function P(e,t){var n=t.z;null==n&&(n=g),e.traverse((function(e){e.z=n,e.z2=n}))}function C(e,t){O(t).updateCommon(e,t),D(e,t)}function O(e){return re[e.__brushOption.brushType]}function k(e,t,n){var i,r=e._panels;if(!r)return!0;var o=e._transform;return c(r,(function(e){e.isTargetByCursor(t,n,o)&&(i=e)})),i}function L(e,t){var n=e._panels;if(!n)return!0;var i=t.__brushOption.panelId;return null==i||n[i]}function E(e){var t=e._covers,n=t.length;return c(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function R(e,t){var n=h(e._covers,(function(e){var t=e.__brushOption,n=r.clone(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",n,{isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function z(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],i=t[0],r=n[0]-i[0],o=n[1]-i[1],a=p(r*r+o*o,.5);return a>v}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;a<r.length;a++){var s=r[a].__brushOption;if(o&&(!0===o||s.panelId===o.panelId)&&re[s.brushType].contain(r[a],n[0],n[1]))return}o&&i.setCursorStyle("crosshair")}}function J(e){var t=e.event;t.preventDefault&&t.preventDefault()}function Q(e,t,n){return e.childOfName("main").contain(t,n)}function ee(e,t,n,i){var o,a=e._creatingCover,s=e._creatingPanel,l=e._brushOption;if(e._track.push(n.slice()),z(e)||a){if(s&&!a){"single"===l.brushMode&&E(e);var u=r.clone(l);u.brushType=te(u.brushType,s),u.panelId=!0===s?null:s.panelId,a=e._creatingCover=A(e,u),e._covers.push(a)}if(a){var c=re[te(e._brushType,s)],h=a.__brushOption;h.range=c.getCreatingRange(q(e,a,e._track)),i&&(T(e,a),c.updateCommon(e,a)),D(e,a),o={isEnd:i}}}else i&&"single"===l.brushMode&&l.removeOnClick&&k(e,t,n)&&E(e)&&(o={isEnd:i,removeOnClick:!0});return o}function te(e,t){return"auto"===e?t.defaultBrushType:e}S.prototype={constructor:S,enableBrush:function(e){return this._brushType&&I(this),e.brushType&&M(this,e),this},setPanels:function(e){if(e&&e.length){var t=this._panels={};r.each(e,(function(e){t[e.panelId]=r.clone(e)}))}else this._panels=null;return this},mount:function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({position:e.position||[0,0],rotation:e.rotation||0,scale:e.scale||[1,1]}),this._transform=t.getLocalTransform(),this},eachCover:function(e,t){c(this._covers,e,t)},updateCovers:function(e){e=r.map(e,(function(e){return r.merge(r.clone(b),e,!0)}));var t="\0-brush-index-",n=this._covers,i=this._covers=[],o=this,a=this._creatingCover;return new l(n,e,u,s).add(c).update(c).remove(h).execute(),this;function s(e,n){return(null!=e.id?e.id:t+n)+"-"+e.brushType}function u(e,t){return s(e.__brushOption,t)}function c(t,r){var s=e[t];if(null!=r&&n[r]===a)i[t]=n[r];else{var l=i[t]=null!=r?(n[r].__brushOption=s,n[r]):T(o,A(o,s));C(o,l)}}function h(e){n[e]!==a&&o.group.remove(n[e])}},unmount:function(){return this.enableBrush(!1),E(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},r.mixin(S,o);var ne={mousedown:function(e){if(this._dragging)ie(this,e);else if(!e.target||!e.target.draggable){J(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null;var n=this._creatingPanel=k(this,e,t);n&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=this._lastMouseMovePoint;t.x=e.offsetX,t.y=e.offsetY;var n=this.group.transformCoordToLocal(t.x,t.y);if(K(this,e,n),this._dragging){J(e);var i=ee(this,e,n,!1);i&&R(this,i)}},mouseup:function(e){ie(this,e)},globalout:function(e){ie(this,e,!0)}};function ie(e,t,n){if(e._dragging){!n&&J(t);var i=t.offsetX,r=t.offsetY,o=e._lastMouseMovePoint;n&&(i=o.x,r=o.y);var a=e.group.transformCoordToLocal(i,r),s=ee(e,t,a,!0);e._dragging=!1,e._track=[],e._creatingCover=null,s&&R(e,s)}}var re={lineX:oe(0),lineY:oe(1),rect:{createCover:function(e,t){return B(u(Y,(function(e){return e}),(function(e){return e})),e,t,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(e){var t=N(e);return G(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,i){V(e,t,n,i)},updateCommon:j,contain:Q},polygon:{createCover:function(e,t){var n=new a.Group;return n.add(new a.Polyline({name:"main",style:W(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new a.Polygon({name:"main",draggable:!0,drift:u(Z,e,t),ondragend:u(R,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,i){t.childAt(0).setShape({points:q(e,t,n)})},updateCommon:j,contain:Q}};function oe(e){return{createCover:function(t,n){return B(u(Y,(function(t){var n=[t,[0,100]];return e&&n.reverse(),n}),(function(t){return t[e]})),t,n,[["w","e"],["n","s"]][e])},getCreatingRange:function(t){var n=N(t),i=d(n[0][e],n[1][e]),r=f(n[0][e],n[1][e]);return[i,r]},updateCoverShape:function(t,n,i,r){var o,a=L(t,n);if(!0!==a&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(e,t._transform);else{var s=t._zr;o=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[i,o];e&&l.reverse(),V(t,n,l,r)},updateCommon:j,contain:Q}}var ae=S;e.exports=ae},e07a:function(e,t,n){var i=n("f75d"),r=n("333f"),o=r.extendComponentView({type:"geo",init:function(e,t){var n=new i(t,!0);this._mapDraw=n,this.group.add(n.group)},render:function(e,t,n,i){if(!i||"geoToggleSelect"!==i.type||i.from!==this.uid){var r=this._mapDraw;e.get("show")?r.draw(e,t,n,this,i):this._mapDraw.group.removeAll(),this.group.silent=e.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});e.exports=o},e0f4:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=r.createHashMap,a=(r.retrieve,r.each);function s(e){var t=e.get("coordinateSystem"),n={coordSysName:t,coordSysDims:[],axisMap:o(),categoryAxisMap:o()},i=l[t];if(i)return i(e,n,n.axisMap,n.categoryAxisMap),n}var l={cartesian2d:function(e,t,n,i){var r=e.getReferringComponents("xAxis")[0],o=e.getReferringComponents("yAxis")[0];t.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),u(r)&&(i.set("x",r),t.firstCategoryDimIndex=0),u(o)&&(i.set("y",o),t.firstCategoryDimIndex=1)},singleAxis:function(e,t,n,i){var r=e.getReferringComponents("singleAxis")[0];t.coordSysDims=["single"],n.set("single",r),u(r)&&(i.set("single",r),t.firstCategoryDimIndex=0)},polar:function(e,t,n,i){var r=e.getReferringComponents("polar")[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),u(o)&&(i.set("radius",o),t.firstCategoryDimIndex=0),u(a)&&(i.set("angle",a),t.firstCategoryDimIndex=1)},geo:function(e,t,n,i){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,i){var r=e.ecModel,o=r.getComponent("parallel",e.get("parallelIndex")),s=t.coordSysDims=o.dimensions.slice();a(o.parallelAxisIndex,(function(e,o){var a=r.getComponent("parallelAxis",e),l=s[o];n.set(l,a),u(a)&&null==t.firstCategoryDimIndex&&(i.set(l,a),t.firstCategoryDimIndex=o)}))}};function u(e){return"category"===e.get("type")}t.getCoordSysDefineBySeries=s},e147:function(e,t,n){var i=n("333f");n("6d10"),n("88d9"),n("14eb");var r=n("7ded");i.registerVisual(r)},e1b3:function(e,t,n){var i=n("cbe1"),r=n("cf52"),o=n("7a17"),a=n("0e18"),s=a.getLayoutParams,l=a.mergeLayoutParam,u=n("09a0"),c=["value","category","time","log"];function h(e,t,n,a){i.each(c,(function(o){t.extend({type:e+"Axis."+o,mergeDefaultAndTheme:function(t,r){var a=this.layoutMode,u=a?s(t):{},c=r.getTheme();i.merge(t,c.get(o+"Axis")),i.merge(t,this.getDefaultOption()),t.type=n(e,t),a&&l(t,u,a)},optionUpdated:function(){var e=this.option;"category"===e.type&&(this.__ordinalMeta=u.createByAxisModel(this))},getCategories:function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:i.mergeAll([{},r[o+"Axis"],a],!0)})})),o.registerSubTypeDefaulter(e+"Axis",i.curry(n,e))}e.exports=h},e1d0:function(e,t,n){var i=n("0890"),r=n("4620"),o=n("43d3"),a=function(){this.group=new i,this.uid=r.getUID("viewComponent")};a.prototype={constructor:a,init:function(e,t){},render:function(e,t,n,i){},dispose:function(){},filterForExposedEvent:null};var s=a.prototype;s.updateView=s.updateLayout=s.updateVisual=function(e,t,n,i){},o.enableClassExtend(a),o.enableClassManagement(a,{registerWhenExtend:!0});var l=a;e.exports=l},e25e:function(e,t,n){var i=n("23e7"),r=n("e583");i({global:!0,forced:parseInt!=r},{parseInt:r})},e28b:function(e,t,n){var i=n("cbe1"),r=n("2dda"),o=n("0e18"),a=n("b34d"),s=r.Group,l=["width","height"],u=["x","y"],c=a.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(e,t,n,o,a,s,l){var u=this;c.superCall(this,"renderInner",e,t,n,o,a,s,l);var h=this._controllerGroup,d=t.get("pageIconSize",!0);i.isArray(d)||(d=[d,d]),p("pagePrev",0);var f=t.getModel("pageTextStyle");function p(e,n){var a=e+"DataIndex",s=r.createIcon(t.get("pageIcons",!0)[t.getOrient().name][n],{onclick:i.bind(u._pageGo,u,a,t,o)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});s.name=e,h.add(s)}h.add(new r.Text({name:"pageText",style:{textFill:f.getTextColor(),font:f.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),p("pageNext",1)},layoutInner:function(e,t,n,r,a,s){var c=this.getSelectorGroup(),h=e.getOrient().index,d=l[h],f=u[h],p=l[1-h],g=u[1-h];a&&o.box("horizontal",c,e.get("selectorItemGap",!0));var v=e.get("selectorButtonGap",!0),m=c.getBoundingRect(),y=[-m.x,-m.y],x=i.clone(n);a&&(x[d]=n[d]-m[d]-v);var _=this._layoutContentAndController(e,r,x,h,d,p,g);if(a){if("end"===s)y[h]+=_[d]+v;else{var b=m[d]+v;y[h]-=b,_[f]-=b}_[d]+=m[d]+v,y[1-h]+=_[g]+_[p]/2-m[p]/2,_[p]=Math.max(_[p],m[p]),_[g]=Math.min(_[g],m[g]+y[1-h]),c.attr("position",y)}return _},_layoutContentAndController:function(e,t,n,a,s,l,u){var c=this.getContentGroup(),h=this._containerGroup,d=this._controllerGroup;o.box(e.get("orient"),c,e.get("itemGap"),a?n.width:null,a?null:n.height),o.box("horizontal",d,e.get("pageButtonItemGap",!0));var f=c.getBoundingRect(),p=d.getBoundingRect(),g=this._showController=f[s]>n[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<y.i)||(y=m,null==p.pagePrevDataIndex&&(p.pagePrevDataIndex=m.i),++p.pageCount,++p.pageIndex),m=x;return p;function _(e){if(e){var t=e.getBoundingRect(),n=t[a]+e.position[r];return{s:n,e:n+t[o],i:e.__legendDataIndex}}}function b(e,t){return e.e>=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<r.length;i++)if(r[i].getAxis("x").index===e||r[i].getAxis("y").index===t)return r[i]},S.getCartesians=function(){return this._coordsList.slice()},S.convertToPixel=function(e,t,n){var i=this._findConvertTarget(e,t);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},S.convertFromPixel=function(e,t,n){var i=this._findConvertTarget(e,t);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},S._findConvertTarget=function(e,t){var n,i,r=t.seriesModel,o=t.xAxisModel||r&&r.getReferringComponents("xAxis")[0],a=t.yAxisModel||r&&r.getReferringComponents("yAxis")[0],s=t.gridModel,u=this._coordsList;if(r)n=r.coordinateSystem,l(u,n)<0&&(n=null);else if(o&&a)n=this.getCartesian(o.componentIndex,a.componentIndex);else if(o)i=this.getAxis("x",o.componentIndex);else if(a)i=this.getAxis("y",a.componentIndex);else if(s){var c=s.coordinateSystem;c===this&&(n=this._coordsList[0])}return{cartesian:n,axis:i}},S.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},S._initCartesian=function(e,t,n){var i={left:!1,right:!1,top:!1,bottom:!1},r={x:{},y:{}},o={x:0,y:0};if(t.eachComponent("xAxis",s("x"),this),t.eachComponent("yAxis",s("y"),this),!o.x||!o.y)return this._axesMap={},void(this._axesList=[]);function s(n){return function(a,s){if(b(a,e,t)){var l=a.get("position");"x"===n?"top"!==l&&"bottom"!==l&&(l=i.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=i.left?"right":"left"),i[l]=!0;var u=new m(n,d(a),[0,0],a.get("type"),l),c="category"===u.type;u.onBand=c&&a.get("boundaryGap"),u.inverse=a.get("inverse"),a.axis=u,u.model=a,u.grid=this,u.index=s,this._axesList.push(u),r[n][s]=u,o[n]++}}}this._axesMap=r,a(r.x,(function(t,n){a(r.y,(function(i,r){var o="x"+n+"y"+r,a=new v(o);a.grid=this,a.model=e,this._coordsMap[o]=a,this._coordsList.push(a),a.addAxis(t),a.addAxis(i)}),this)}),this)},S._updateScale=function(e,t){function n(e,t,n){a(e.mapDimension(t.dim,!0),(function(n){t.scale.unionExtentFromData(e,_(e,n))}))}a(this._axesList,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeries((function(i){if(P(i)){var r=D(i,e),o=r[0],a=r[1];if(!b(o,t,e)||!b(a,t,e))return;var s=this.getCartesian(o.componentIndex,a.componentIndex),l=i.getData(),u=s.getAxis("x"),c=s.getAxis("y");"list"===l.type&&(n(l,u,i),n(l,c,i))}}),this)},S.getTooltipAxes=function(e){var t=[],n=[];return a(this.getCartesians(),(function(i){var r=null!=e&&"auto"!==e?i.getAxis(e):i.getBaseAxis(),o=i.getOtherAxis(r);l(t,r)<0&&t.push(r),l(n,o)<0&&n.push(o)})),{baseAxes:t,otherAxes:n}};var T=["xAxis","yAxis"];function D(e,t){return s(T,(function(t){var n=e.getReferringComponents(t)[0];return n}))}function P(e){return"cartesian2d"===e.get("coordinateSystem")}w.create=function(e,t){var n=[];return e.eachComponent("grid",(function(i,r){var o=new w(i,e,t);o.name="grid_"+r,o.resize(i,t,!0),i.coordinateSystem=o,n.push(o)})),e.eachSeries((function(t){if(P(t)){var n=D(t,e),i=n[0],r=n[1],o=i.getCoordSysModel(),a=o.coordinateSystem;t.coordinateSystem=a.getCartesian(i.componentIndex,r.componentIndex)}})),n},w.dimensions=w.prototype.dimensions=v.prototype.dimensions,y.register("cartesian2d",w);var C=w;e.exports=C},e381:function(e,t,n){n("804a"),n("b8e1"),n("3e28"),n("dea9"),n("855e"),n("ec5f"),n("d92d")},e40d:function(e,t){function n(e){return e instanceof Array||(e=[e,e]),e}function i(e){e.eachSeriesByType("graph",(function(e){var t=e.getGraph(),i=e.getEdgeData(),r=n(e.get("edgeSymbol")),o=n(e.get("edgeSymbolSize")),a="lineStyle.color".split("."),s="lineStyle.opacity".split(".");i.setVisual("fromSymbol",r&&r[0]),i.setVisual("toSymbol",r&&r[1]),i.setVisual("fromSymbolSize",o&&o[0]),i.setVisual("toSymbolSize",o&&o[1]),i.setVisual("color",e.get(a)),i.setVisual("opacity",e.get(s)),i.each((function(e){var r=i.getItemModel(e),o=t.getEdgeByIndex(e),l=n(r.getShallow("symbol",!0)),u=n(r.getShallow("symbolSize",!0)),c=r.get(a),h=r.get(s);switch(c){case"source":c=o.node1.getVisual("color");break;case"target":c=o.node2.getVisual("color");break}l[0]&&o.setVisual("fromSymbol",l[0]),l[1]&&o.setVisual("toSymbol",l[1]),u[0]&&o.setVisual("fromSymbolSize",u[0]),u[1]&&o.setVisual("toSymbolSize",u[1]),o.setVisual("color",c),o.setVisual("opacity",h)}))}))}e.exports=i},e481:function(e,t,n){var i=n("c5de"),r=i.devicePixelRatio,o=n("cbe1"),a=n("daf1"),s=n("1bb8"),l=n("5b4e"),u=n("25cd"),c=n("8ec2"),h=n("f4be"),d=n("3804"),f=1e5,p=314159,g=.01,v=.001;function m(e){return parseInt(e,10)}function y(e){return!!e&&(!!e.__builtin__||"function"===typeof e.resize&&"function"===typeof e.refresh)}var x=new s(0,0,0,0),_=new s(0,0,0,0);function b(e,t,n){return x.copy(e.getBoundingRect()),e.transform&&x.applyTransform(e.transform),_.width=t,_.height=n,!x.intersect(_)}function w(e,t){if(e===t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!0;return!1}function S(e,t){for(var n=0;n<e.length;n++){var i=e[n];i.setTransform(t),t.beginPath(),i.buildPath(t,i.shape),t.clip(),i.restoreTransform(t)}}function M(e,t){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var I=function(e,t,n){this.type="canvas";var i=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=n=o.extend({},n||{}),this.dpr=n.devicePixelRatio||r,this._singleCanvas=i,this.root=e;var a=e.style;a&&(a["-webkit-tap-highlight-color"]="transparent",a["-webkit-user-select"]=a["user-select"]=a["-webkit-touch-callout"]="none",e.innerHTML=""),this.storage=t;var s=this._zlevelList=[],l=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,i){var c=e.width,h=e.height;null!=n.width&&(c=n.width),null!=n.height&&(h=n.height),this.dpr=n.devicePixelRatio||1,e.width=c*this.dpr,e.height=h*this.dpr,this._width=c,this._height=h;var d=new u(e,this,this.dpr);d.__builtin__=!0,d.initContext(),l[p]=d,d.zlevel=p,s.push(p),this._domRoot=e}else{this._width=this._getSize(0),this._height=this._getSize(1);var f=this._domRoot=M(this._width,this._height);e.appendChild(f)}this._hoverlayer=null,this._hoverElements=[]};I.prototype={constructor:I,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(e){var t=this.storage.getDisplayList(!0),n=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,e,this._redrawId);for(var i=0;i<n.length;i++){var r=n[i],o=this._layers[r];if(!o.__builtin__&&o.refresh){var a=0===i?this._backgroundColor:null;o.refresh(a)}}return this.refreshHover(),this},addHover:function(e,t){if(!e.__hoverMir){var n=new e.constructor({style:e.style,shape:e.shape,z:e.z,z2:e.z2,silent:e.silent});return n.__from=e,e.__hoverMir=n,t&&n.setStyle(t),this._hoverElements.push(n),n}},removeHover:function(e){var t=e.__hoverMir,n=this._hoverElements,i=o.indexOf(n,t);i>=0&&n.splice(i,1),e.__hoverMir=null},clearHover:function(e){for(var t=this._hoverElements,n=0;n<t.length;n++){var i=t[n].__from;i&&(i.__hoverMir=null)}t.length=0},refreshHover:function(){var e=this._hoverElements,t=e.length,n=this._hoverlayer;if(n&&n.clear(),t){l(e,this.storage.displayableSortFunc),n||(n=this._hoverlayer=this.getLayer(f));var i={};n.ctx.save();for(var r=0;r<t;){var o=e[r],a=o.__from;a&&a.__zr?(r++,a.invisible||(o.transform=a.transform,o.invTransform=a.invTransform,o.__clipPaths=a.__clipPaths,this._doPaintEl(o,n,!0,i))):(e.splice(r,1),a.__hoverMir=null,t--)}n.ctx.restore()}},getHoverLayer:function(){return this.getLayer(f)},_paintList:function(e,t,n){if(this._redrawId===n){t=t||!1,this._updateLayerStatus(e);var i=this._doPaintList(e,t);if(this._needsManuallyCompositing&&this._compositeManually(),!i){var r=this;c((function(){r._paintList(e,t,n)}))}}},_compositeManually:function(){var e=this.getLayer(p).ctx,t=this._domRoot.width,n=this._domRoot.height;e.clearRect(0,0,t,n),this.eachBuiltinLayer((function(i){i.virtual&&e.drawImage(i.dom,0,0,t,n)}))},_doPaintList:function(e,t){for(var n=[],i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i],a=this._layers[r];a.__builtin__&&a!==this._hoverlayer&&(a.__dirty||t)&&n.push(a)}for(var s=!0,l=0;l<n.length;l++){a=n[l];var u=a.ctx,c={};u.save();var h=t?a.__startIndex:a.__drawIndex,f=!t&&a.incremental&&Date.now,p=f&&Date.now(),g=a.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(a.__startIndex===a.__endIndex)a.clear(!1,g);else if(h===a.__startIndex){var v=e[h];v.incremental&&v.notClear&&!t||a.clear(!1,g)}-1===h&&(console.error("For some unknown reason. drawIndex is -1"),h=a.__startIndex);for(var m=h;m<a.__endIndex;m++){var y=e[m];if(this._doPaintEl(y,a,t,c),y.__dirty=y.__dirtyText=!1,f){var x=Date.now()-p;if(x>15)break}}a.__drawIndex=m,a.__drawIndex<a.__endIndex&&(s=!1),c.prevElClipPaths&&u.restore(),u.restore()}return d.wxa&&o.each(this._layers,(function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()})),s},_doPaintEl:function(e,t,n,i){var r=t.ctx,o=e.transform;if((t.__dirty||n)&&!e.invisible&&0!==e.style.opacity&&(!o||o[0]||o[3])&&(!e.culling||!b(e,this._width,this._height))){var a=e.__clipPaths,s=i.prevElClipPaths;s&&!w(a,s)||(s&&(r.restore(),i.prevElClipPaths=null,i.prevEl=null),a&&(r.save(),S(a,r),i.prevElClipPaths=a)),e.beforeBrush&&e.beforeBrush(r),e.brush(r,i.prevEl||null),i.prevEl=e,e.afterBrush&&e.afterBrush(r)}},getLayer:function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=p);var n=this._layers[e];return n||(n=new u("zr_"+e,this,this.dpr),n.zlevel=e,n.__builtin__=!0,this._layerConfig[e]&&o.merge(n,this._layerConfig[e],!0),t&&(n.virtual=t),this.insertLayer(e,n),n.initContext()),n},insertLayer:function(e,t){var n=this._layers,i=this._zlevelList,r=i.length,o=null,s=-1,l=this._domRoot;if(n[e])a("ZLevel "+e+" has been used already");else if(y(t)){if(r>0&&e>i[0]){for(s=0;s<r-1;s++)if(i[s]<e&&i[s+1]>e)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;i<r.length;i++)n=r[i],e.call(t,this._layers[n],n)},eachBuiltinLayer:function(e,t){var n,i,r,o=this._zlevelList;for(r=0;r<o.length;r++)i=o[r],n=this._layers[i],n.__builtin__&&e.call(t,n,i)},eachOtherLayer:function(e,t){var n,i,r,o=this._zlevelList;for(r=0;r<o.length;r++)i=o[r],n=this._layers[i],n.__builtin__||e.call(t,n,i)},getLayers:function(){return this._layers},_updateLayerStatus:function(e){function t(e){r&&(r.__endIndex!==e&&(r.__dirty=!0),r.__endIndex=e)}if(this.eachBuiltinLayer((function(e,t){e.__dirty=e.__used=!1})),this._singleCanvas)for(var n=1;n<e.length;n++){var i=e[n];if(i.zlevel!==e[n-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var r=null,o=0;for(n=0;n<e.length;n++){i=e[n];var s,l=i.zlevel;i.incremental?(s=this.getLayer(l+v,this._needsManuallyCompositing),s.incremental=!0,o=1):s=this.getLayer(l+(o>0?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<this._zlevelList.length;i++){var r=this._zlevelList[i];if(r===e||r===e+g){var a=this._layers[r];o.merge(a,n[e],!0)}}}},delLayer:function(e){var t=this._layers,n=this._zlevelList,i=t[e];i&&(i.dom.parentNode.removeChild(i.dom),delete t[e],n.splice(o.indexOf(n,e),1))},resize:function(e,t){if(this._domRoot.style){var n=this._domRoot;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||t!==this._height){for(var r in n.style.width=e+"px",n.style.height=t+"px",this._layers)this._layers.hasOwnProperty(r)&&this._layers[r].resize(e,t);o.each(this._progressiveLayers,(function(n){n.resize(e,t)})),this.refresh(!0)}this._width=e,this._height=t}else{if(null==e||null==t)return;this._width=e,this._height=t,this.getLayer(p).resize(e,t)}return this},clearLayer:function(e){var t=this._layers[e];t&&t.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[p].dom;var t=new u("image",this,e.pixelRatio||this.dpr);if(t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor),e.pixelRatio<=this.dpr){this.refresh();var n=t.dom.width,i=t.dom.height,r=t.ctx;this.eachLayer((function(e){e.__builtin__?r.drawImage(e.dom,0,0,n,i):e.renderToCanvas&&(t.ctx.save(),e.renderToCanvas(t.ctx),t.ctx.restore())}))}else for(var o={},a=this.storage.getDisplayList(!0),s=0;s<a.length;s++){var l=a[s];this._doPaintEl(l,t,!0,o)}return t.dom},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]||m(s[n])||m(a.style[n]))-(m(s[r])||0)-(m(s[o])||0)|0},pathToImage:function(e,t){t=t||this.dpr;var n=document.createElement("canvas"),i=n.getContext("2d"),r=e.getBoundingRect(),o=e.style,a=o.shadowBlur*t,s=o.shadowOffsetX*t,l=o.shadowOffsetY*t,u=o.hasStroke()?o.lineWidth:0,c=Math.max(u/2,-s+a),d=Math.max(u/2,s+a),f=Math.max(u/2,-l+a),p=Math.max(u/2,l+a),g=r.width+c+d,v=r.height+f+p;n.width=g*t,n.height=v*t,i.scale(t,t),i.clearRect(0,0,g,v),i.dpr=t;var m={position:e.position,rotation:e.rotation,scale:e.scale};e.position=[c-r.x,f-r.y],e.rotation=0,e.scale=[1,1],e.updateTransform(),e&&e.brush(i);var y=h,x=new y({style:{x:0,y:0,image:n}});return null!=m.position&&(x.position=e.position=m.position),null!=m.rotation&&(x.rotation=e.rotation=m.rotation),null!=m.scale&&(x.scale=e.scale=m.scale),x}};var A=I;e.exports=A},e4d6:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("333f")),o=n("cbe1"),a=n("3804"),s=n("5c3e"),l=n("4ae0"),u=n("c7ac"),c=l.addCommas,h=l.encodeHTML;function d(e){s.defaultEmphasis(e,"label",["show"])}var f=r.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},isAnimationEnabled:function(){if(a.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},mergeOption:function(e,t){this._mergeOption(e,t,!1,!1)},_mergeOption:function(e,t,n,i){var r=this.constructor,a=this.mainType+"Model";n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),s=e[a];n&&n.data?(s?s._mergeOption(n,t,!0):(i&&d(n),o.each(n.data,(function(e){e instanceof Array?(d(e[0]),d(e[1])):d(e)})),s=new r(n,this,t),o.extend(s,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),s.__hostSeries=e),e[a]=s):e[a]=null}),this)},formatTooltip:function(e){var t=this.getData(),n=this.getRawValue(e),i=o.isArray(n)?o.map(n,c).join(", "):c(n),r=t.getName(e),a=h(this.name);return(null!=n||r)&&(a+="<br />"),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},e8be:function(e,t,n){},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<r;i++)m(e.childAt(i),t,n)}function y(e,t,n){var i=l.queryDataIndex(e,t),o=t&&null!=t.highlightKey?u.getHighlightDigit(t.highlightKey):null;null!=i?r(l.normalizeToArray(i),(function(t){m(e.getItemGraphicEl(t),n,o)})):e.eachItemGraphicEl((function(e){m(e,n,o)}))}function x(e){return p(e.model)}function _(e){var t=e.model,n=e.ecModel,i=e.api,r=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,s=r&&f(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](t,n,i,r),b[l]}v.updateView=v.updateLayout=v.updateVisual=function(e,t,n,i){this.render(e,t,n,i)},s.enableClassExtend(g,["dispose"]),s.enableClassManagement(g,{registerWhenExtend:!0}),g.markUpdateMethod=function(e,t){f(e).updateMethod=t};var b={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},w=g;e.exports=w},e93d:function(e,t,n){n("9696"),n("ed9b"),n("76d3")},e94f:function(e,t,n){var i=n("333f"),r="\0_ec_interaction_mutex";function o(e,t,n){var i=l(e);i[t]=n}function a(e,t,n){var i=l(e),r=i[t];r===n&&(i[t]=null)}function s(e,t){return!!l(e)[t]}function l(e){return e[r]||(e[r]={})}i.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),t.take=o,t.release=a,t.isTaken=s},e956:function(e,t,n){},ea25:function(e,t){var n={axisPointer:1,tooltip:1,brush:1};function i(e,t,i){var r=t.getComponentByElement(e.topTarget),o=r&&r.coordinateSystem;return r&&r!==i&&!n[r.mainType]&&o&&o.model!==i}t.onIrrelevantElement=i},ea99:function(e,t,n){n("fe60"),n("3254")},ec5f:function(e,t,n){var i=n("333f"),r=n("cbe1"),o=r.createHashMap,a=r.each;i.registerProcessor({getTargetSeries:function(e){var t=o();return e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,n,i){var r=i.getAxisProxy(e.name,n);a(r.getTargetSeriesModels(),(function(e){t.set(e.uid,e)}))}))})),t},modifyOutputEnd:!0,overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,n,i){i.getAxisProxy(e.name,n).reset(i,t)})),e.eachTargetAxis((function(e,n,i){i.getAxisProxy(e.name,n).filterData(i,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy(),n=t.getDataPercentWindow(),i=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}))}})},ec6a:function(e,t,n){var i=n("1939"),r=i.createElement,o=n("2544"),a=n("1bb8"),s=n("6b0b"),l=n("d207"),u=n("d7f1"),c=n("e646"),h=o.CMD,d=Array.prototype.join,f="none",p=Math.round,g=Math.sin,v=Math.cos,m=Math.PI,y=2*Math.PI,x=180/m,_=1e-4;function b(e){return p(1e4*e)/1e4}function w(e){return e<_&&e>-_}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<i;){var o=n[r++],a="",s=0;switch(o){case h.M:a="M",s=2;break;case h.L:a="L",s=2;break;case h.Q:a="Q",s=4;break;case h.C:a="C",s=6;break;case h.A:var l=n[r++],u=n[r++],c=n[r++],d=n[r++],f=n[r++],_=n[r++],S=n[r++],M=n[r++],I=Math.abs(_),A=w(I-y)||(M?_>=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;R<s;R++)t.push(b(n[r++]))}return t.join(" ")}var C={brush:function(e){var t=e.style,n=e.__svgEl;n||(n=r("path"),e.__svgEl=n),e.path||e.createPathProxy();var i=e.path;if(e.__dirtyPath){i.beginPath(),i.subPixelOptimize=!1,e.buildPath(i,e.shape),e.__dirtyPath=!1;var o=P(i);o.indexOf("NaN")<0&&A(n,"d",o)}D(n,t,!1,e),I(n,e.transform),null!=t.text&&N(e,e.getBoundingRect())}},O={brush:function(e){var t=e.style,n=t.image;if(n instanceof HTMLImageElement){var i=n.src;n=i}if(n){var o=t.x||0,a=t.y||0,s=t.width,l=t.height,u=e.__svgEl;u||(u=r("image"),e.__svgEl=u),n!==e.__imageSrc&&(T(u,"href",n),e.__imageSrc=n),A(u,"width",s),A(u,"height",l),A(u,"x",o),A(u,"y",a),I(u,e.transform),null!=t.text&&N(e,e.getBoundingRect())}}},k={},L=new a,E={},R=[],z={left:"start",right:"end",center:"middle",middle:"middle"},N=function(e,t){var n=e.style,i=e.transform,o=e instanceof c||n.transformText;e.__dirty&&u.normalizeTextStyle(n,!0);var a=n.text;if(null!=a&&(a+=""),u.needDrawText(a,n)){null==a&&(a=""),!o&&i&&(L.copy(t),L.applyTransform(i),t=L);var s=e.__textSvgEl;s||(s=r("text"),e.__textSvgEl=s);var h=s.style,d=n.font||l.DEFAULT_FONT,f=s.__computedFont;d!==s.__styleFont&&(h.font=s.__styleFont=d,f=s.__computedFont=h.font);var p=n.textPadding,g=n.textLineHeight,v=e.__textCotentBlock;v&&!e.__dirtyText||(v=e.__textCotentBlock=l.parsePlainText(a,f,p,g,n.truncate));var m=v.outerHeight,y=v.lineHeight;u.getBoxPosition(E,e,n,t);var x=E.baseX,_=E.baseY,b=E.textAlign||"left",w=E.textVerticalAlign;B(s,o,i,n,t,x,_);var S=l.adjustTextY(_,m,w),M=x,I=S;p&&(M=V(x,b,p),I+=p[0]),I+=y/2,D(s,n,!0,e);var A=v.canCacheByTextString,T=e.__tspanList||(e.__tspanList=[]),P=T.length;if(A&&e.__canCacheByTextString&&e.__text===a){if(e.__dirtyText&&P)for(var C=0;C<P;++C)j(T[C],b,M,I+C*y)}else{e.__text=a,e.__canCacheByTextString=A;var O=v.lines,k=O.length;for(C=0;C<k;C++){var R=T[C],z=O[C];R?R.__zrText!==z&&(R.innerHTML="",R.appendChild(document.createTextNode(z))):(R=T[C]=r("tspan"),s.appendChild(R),R.appendChild(document.createTextNode(z))),j(R,b,M,I+C*y)}if(P>k){for(;C<P;C++)s.removeChild(T[C]);T.length=k}}}};function B(e,t,n,i,r,o,a){s.identity(R),t&&n&&s.copy(R,n);var l=i.textRotation;if(r&&l){var u=i.textOrigin;"center"===u?(o=r.width/2+r.x,a=r.height/2+r.y):u&&(o=u[0]+r.x,a=u[1]+r.y),R[4]-=o,R[5]-=a,s.rotate(R,R,l),R[4]+=o,R[5]+=a}I(e,R)}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,n,i){A(e,"dominant-baseline","middle"),A(e,"text-anchor",z[t]),A(e,"x",n),A(e,"y",i)}k.drawRectText=N,k.brush=function(e){var t=e.style;null!=t.text&&N(e,!1)},t.path=C,t.image=O,t.text=k},ec7d:function(e,t,n){var i=n("333f");i.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),i.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},ecef:function(e,t,n){var i=n("6b0b"),r=n("dbbd"),o=i.identity,a=5e-5;function s(e){return e>a||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&&e<l}function v(e){return e>l||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<M&&(y=I,M=b);M=1/0;for(var A=0;A<32;A++){if(S<u)break;x=y-S,_=y+S,f[0]=m(e,n,r,l,x),f[1]=m(t,i,a,c,x),b=o(f,d),x>=0&&b<M?(y=x,M=b):(p[0]=m(e,n,r,l,_),p[1]=m(t,i,a,c,_),w=o(p,d),_<=1&&w<M?(y=_,M=w):S*=.5)}return v&&(v[0]=m(e,n,r,l,y),v[1]=m(t,i,a,c,y)),s(M)}function S(e,t,n,i){var r=1-i;return r*(r*e+2*i*t)+i*i*n}function M(e,t,n,i){return 2*((1-i)*(t-e)+i*(n-t))}function I(e,t,n,i,r){var o=e-2*t+n,a=2*(t-e),l=e-i,u=0;if(g(o)){if(v(a)){var c=-l/a;c>=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<m&&(g=y,m=x)}m=1/0;for(var _=0;_<32;_++){if(v<u)break;var b=g-v,w=g+v;f[0]=S(e,n,r,b),f[1]=S(t,i,a,b);x=o(f,d);if(b>=0&&x<m)g=b,m=x;else{p[0]=S(e,n,r,w),p[1]=S(t,i,a,w);var M=o(p,d);w<=1&&M<m?(g=w,m=M):v*=.5}}return h&&(h[0]=S(e,n,r,g),h[1]=S(t,i,a,g)),s(m)}t.cubicAt=m,t.cubicDerivativeAt=y,t.cubicRootAt=x,t.cubicExtrema=_,t.cubicSubdivide=b,t.cubicProjectPoint=w,t.quadraticAt=S,t.quadraticDerivativeAt=M,t.quadraticRootAt=I,t.quadraticExtremum=A,t.quadraticSubdivide=T,t.quadraticProjectPoint=D},ed9b:function(e,t,n){var i=n("cbe1"),r=n("7a17"),o=n("0e18"),a=o.getLayoutParams,s=o.sizeCalculable,l=o.mergeLayoutParam,u=r.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(e,t,n,i){var r=a(e);u.superApply(this,"init",arguments),c(e,r)},mergeOption:function(e,t){u.superApply(this,"mergeOption",arguments),c(this.option,e)}});function c(e,t){var n=e.cellSize;i.isArray(n)?1===n.length&&(n[1]=n[0]):n=e.cellSize=[n,n];var r=i.map([0,1],(function(e){return s(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]}));l(e,t,{type:"box",ignoreSize:r})}var h=u;e.exports=h},edc9:function(e,t,n){var i=n("cbe1");function r(e){var t=[];i.each(e.series,(function(e){e&&"map"===e.type&&(t.push(e),e.map=e.map||e.mapType,i.defaults(e,e.mapLocation))}))}e.exports=r},ee37:function(e,t,n){"use strict";var i=n("47ea"),r=n.n(i);r.a},ee78:function(e,t,n){var i=n("2bfc"),r=n("680b"),o=n("db66"),a=o.subPixelOptimizeRect,s={},l=i.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(e,t){var n,i,o,l;this.subPixelOptimize?(a(s,t,this.style),n=s.x,i=s.y,o=s.width,l=s.height,s.r=t.r,t=s):(n=t.x,i=t.y,o=t.width,l=t.height),t.r?r.buildPath(e,t):e.rect(n,i,o,l),e.closePath()}});e.exports=l},eed8:function(e,t,n){var i=n("333f"),r=i.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),o=r;e.exports=o},efdc:function(e,t,n){var i=n("cbe1"),r=n("3804"),o=n("5c3e"),a=o.makeInner,s=n("43d3"),l=s.enableClassExtend,u=s.enableClassCheck,c=n("7782"),h=n("fea5"),d=n("db74"),f=n("86ba"),p=i.mixin,g=a();function v(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}function m(e,t,n){for(var i=0;i<t.length;i++)if(t[i]&&(e=e&&"object"===typeof e?e[t[i]]:null,null==e))break;return null==e&&n&&(e=n.get(t)),e}function y(e,t){var n=g(e).getParent;return n?n.call(e,t):e.parentModel}v.prototype={constructor:v,init:null,mergeOption:function(e){i.merge(this.option,e,!0)},get:function(e,t){return null==e?this.option:m(this.option,this.parsePath(e),!t&&y(this,e))},getShallow:function(e,t){var n=this.option,i=null==n?n:n[e],r=!t&&y(this,e);return null==i&&r&&(i=r.getShallow(e)),i},getModel:function(e,t){var n,i=null==e?this.option:m(this.option,e=this.parsePath(e));return t=t||(n=y(this,e))&&n.getModel(e),new v(i,t,this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){var e=this.constructor;return new e(i.clone(this.option))},setReadOnly:function(e){},parsePath:function(e){return"string"===typeof e&&(e=e.split(".")),e},customizeGetParent:function(e){g(this).getParent=e},isAnimationEnabled:function(){if(!r.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},l(v),u(v),p(v,c),p(v,h),p(v,d),p(v,f);var x=v;e.exports=x},f046:function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("337b"),a=n("e062"),s=n("4ac2"),l=n("2dda"),u=["axisLine","axisTickLabel","axisName"],c=i.extendComponentView({type:"parallelAxis",init:function(e,t){c.superApply(this,"init",arguments),(this._brushController=new a(t.getZr())).on("brush",r.bind(this._onBrush,this))},render:function(e,t,n,i){if(!h(e,t,i)){this.axisModel=e,this.api=n,this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),e.get("show")){var s=f(e,t),c=s.coordinateSystem,d=e.getAreaSelectStyle(),p=d.width,g=e.axis.dim,v=c.getAxisLayout(g),m=r.extend({strokeContainThreshold:p},v),y=new o(e,m);r.each(u,y.add,y),this._axisGroup.add(y.getGroup()),this._refreshBrushController(m,d,e,s,p,n);var x=i&&!1===i.animation?null:e;l.groupTransition(a,this._axisGroup,x)}}},_refreshBrushController:function(e,t,n,i,r,o){var a=n.axis.getExtent(),u=a[1]-a[0],c=Math.min(30,.1*Math.abs(u)),h=l.BoundingRect.create({x:a[0],y:-r/2,width:u,height:r});h.x-=c,h.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,position:e.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(h),isTargetByCursor:s.makeRectIsTargetByCursor(h,o,i),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(h,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(d(n))},_onBrush:function(e,t){var n=this.axisModel,i=n.axis,o=r.map(e,(function(e){return[i.coordToData(e.range[0],!0),i.coordToData(e.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:o})},dispose:function(){this._brushController.dispose()}});function h(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}function d(e){var t=e.axis;return r.map(e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}function f(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}var p=c;e.exports=p},f04d:function(e,t,n){var i=n("ecf4"),r=i.normalizeRadian,o=2*Math.PI;function a(e,t,n,i,a,s,l,u,c){if(0===l)return!1;var h=l;u-=e,c-=t;var d=Math.sqrt(u*u+c*c);if(d-h>n||d+h<n)return!1;if(Math.abs(i-a)%o<1e-4)return!0;if(s){var f=i;i=r(a),a=r(f)}else i=r(i),a=r(a);i>a&&(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<c;h++)l=Math.min(l,n[a][h]),u=Math.max(u,n[a][h]),s+=n[a][h];return o="min"===t?l:"max"===t?u:"average"===t?s/c:s,0===c?NaN:o}))}function o(e){var t={};e.eachSeriesByType("map",(function(e){var n=e.getHostGeoModel(),i=n?"o"+n.id:"i"+e.getMapType();(t[i]=t[i]||[]).push(e)})),i.each(t,(function(e,t){for(var n=r(i.map(e,(function(e){return e.getData()})),e[0].get("mapValueCalculation")),o=0;o<e.length;o++)e[o].originalData=e[o].getData();for(o=0;o<e.length;o++)e[o].seriesGroup=e,e[o].needsDrawMap=0===o&&!e[o].getHostGeoModel(),e[o].setData(n.cloneShallow()),e[o].mainSeries=e[0]}))}e.exports=o},f0e4:function(e,t,n){var i=n("cbe1"),r=n("1bb8"),o=n("7fb6");function a(e){o.call(this,e)}a.prototype={constructor:a,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},containData:function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},dataToPoint:function(e,t,n){var i=this.getAxis("x"),r=this.getAxis("y");return n=n||[],n[0]=i.toGlobalCoord(i.dataToCoord(e[0])),n[1]=r.toGlobalCoord(r.dataToCoord(e[1])),n},clampData:function(e,t){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(e[0]),s=i.parse(e[1]);return t=t||[],t[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),t[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),t},pointToData:function(e,t){var n=this.getAxis("x"),i=this.getAxis("y");return t=t||[],t[0]=n.coordToData(n.toLocalCoord(e[0])),t[1]=i.coordToData(i.toLocalCoord(e[1])),t},getOtherAxis:function(e){return this.getAxis("x"===e.dim?"y":"x")},getArea:function(){var e=this.getAxis("x").getGlobalExtent(),t=this.getAxis("y").getGlobalExtent(),n=Math.min(e[0],e[1]),i=Math.min(t[0],t[1]),o=Math.max(e[0],e[1])-n,a=Math.max(t[0],t[1])-i,s=new r(n,i,o,a);return s}},i.inherits(a,o);var s=a;e.exports=s},f248:function(e,t,n){var i=n("333f"),r=n("c00a"),o=r.Polygon,a=n("2dda"),s=n("cbe1"),l=s.bind,u=s.extend,c=n("8b19"),h=i.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(e,t,n){var i=e.getData(),r=this.group,s=e.getLayerSeries(),h=i.getLayout("layoutInfo"),f=h.rect,p=h.boundaryGap;function g(e){return e.name}r.attr("position",[0,f.y+p[0]]);var v=new c(this._layersSeries||[],s,g,g),m={};function y(t,n,l){var c=this._layers;if("remove"!==t){for(var h,f,p,g=[],v=[],y=s[n].indices,x=0;x<y.length;x++){var _=i.getItemLayout(y[x]),b=_.x,w=_.y0,S=_.y;g.push([b,w]),v.push([b,w+S]),h=i.getItemVisual(y[x],"color")}var M=i.getItemLayout(y[0]),I=i.getItemModel(y[x-1]),A=I.getModel("label"),T=A.get("margin");if("add"===t){var D=m[n]=new a.Group;f=new o({shape:{points:g,stackedOnPoints:v,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),p=new a.Text({style:{x:M.x-T,y:M.y0+M.y/2}}),D.add(f),D.add(p),r.add(D),f.setClipPath(d(f.getBoundingRect(),e,(function(){f.removeClipPath()})))}else{D=c[l];f=D.childAt(0),p=D.childAt(1),r.add(D),m[n]=D,a.updateProps(f,{shape:{points:g,stackedOnPoints:v}},e),a.updateProps(p,{style:{x:M.x-T,y:M.y0+M.y/2}},e)}var P=I.getModel("emphasis.itemStyle"),C=I.getModel("itemStyle");a.setTextStyle(p.style,A,{text:A.get("show")?e.getFormattedLabel(y[x-1],"normal")||i.getName(y[x-1]):null,textVerticalAlign:"middle"}),f.setStyle(u({fill:h},C.getItemStyle(["color"]))),a.setHoverStyle(f,P.getItemStyle())}else r.remove(c[n])}v.add(l(y,this,"add")).update(l(y,this,"update")).remove(l(y,this,"remove")).execute(),this._layersSeries=s,this._layers=m},dispose:function(){}});function d(e,t,n){var i=new a.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return a.initProps(i,{shape:{width:e.width+20,height:e.height+20}},t,n),i}e.exports=h},f254:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=r.each,a=r.filter,s=r.map,l=r.isArray,u=r.indexOf,c=r.isObject,h=r.isString,d=r.createHashMap,f=r.assert,p=r.clone,g=r.merge,v=r.extend,m=r.mixin,y=n("5c3e"),x=n("efdc"),_=n("7a17"),b=n("90e6"),w=n("96d7"),S=n("a1ee"),M=S.resetSourceDefaulter,I="\0_ec_inner",A=x.extend({init:function(e,t,n,i){n=n||{},this.option=null,this._theme=new x(n),this._optionManager=i},setOption:function(e,t){f(!(I in e),"please use chart.getOption()"),this._optionManager.setOption(e,t),this.resetOption(null)},resetOption:function(e){var t=!1,n=this._optionManager;if(!e||"recreate"===e){var i=n.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this.mergeOption(i)):P.call(this,i),t=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var r=n.getTimelineOption(this);r&&(this.mergeOption(r),t=!0)}if(!e||"recreate"===e||"media"===e){var a=n.getMediaOption(this,this._api);a.length&&o(a,(function(e){this.mergeOption(e,t=!0)}),this)}return t},mergeOption:function(e){var t=this.option,n=this._componentsMap,i=[];function r(i,r){var a=y.normalizeToArray(e[i]),s=y.mappingToExists(n.get(i),a);y.makeIdAndName(s),o(s,(function(e,t){var n=e.option;c(n)&&(e.keyInfo.mainType=i,e.keyInfo.subType=O(i,n,e.exist))}));var l=C(n,r);t[i]=[],n.set(i,[]),o(s,(function(e,r){var o=e.exist,a=e.option;if(f(c(a)||o,"Empty component definition"),a){var s=_.getClass(i,e.keyInfo.subType,!0);if(o&&o.constructor===s)o.name=e.keyInfo.name,o.mergeOption(a,this),o.optionUpdated(a,!1);else{var u=v({dependentModels:l,componentIndex:r},e.keyInfo);o=new s(a,this,this,u),v(o,u),o.init(a,this,this,u),o.optionUpdated(null,!0)}}else o.mergeOption({},this),o.optionUpdated({},!1);n.get(i)[r]=o,t[i][r]=o.option}),this),"series"===i&&k(this,n.get("series"))}M(this),o(e,(function(e,n){null!=e&&(_.hasClass(n)?n&&i.push(n):t[n]=null==t[n]?p(e):g(t[n],e,!0))})),_.topologicalTravel(i,_.getAllClassMainTypes(),r,this),this._seriesIndicesMap=d(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var e=p(this.option);return o(e,(function(t,n){if(_.hasClass(n)){t=y.normalizeToArray(t);for(var i=t.length-1;i>=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<t.length;r++){var o=t[r-1],s=t[r];i+=a.dist(o,s),n.push(i)}if(0!==i){for(r=0;r<n.length;r++)n[r]/=i;this._offsets=n,this._length=i}},l.getLineLength=function(e){return this._length},l.updateSymbolPosition=function(e){var t=e.__t,n=this._points,i=this._offsets,r=n.length;if(i){var o=this._lastFrame;if(t<this._lastFramePercent){var s=Math.min(o+1,r-1);for(l=s;l>=0;l--)if(i[l]<=t)break;l=Math.min(l,r-2)}else{for(var l=o;l<r;l++)if(i[l]>t)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<c;l+=a){var h=s===o-1?i[1]:l+a;t.push({index:s++,interval:[l,h],close:[1,1]})}e.maxOpen&&t.push({index:s++,interval:[i[1],1/0],close:[0,0]}),u(t),r.each(t,(function(e){e.text=this.formatValueText(e.interval)}),this)},categories:function(){var e=this.option;r.each(e.categories,(function(e){this._pieceList.push({text:this.formatValueText(e,!0),value:e})}),this),d(e,this._pieceList)},pieces:function(){var e=this.option,t=this._pieceList;r.each(e.pieces,(function(e,n){r.isObject(e)||(e={value:e});var i={text:"",index:n};if(null!=e.label&&(i.text=e.label),e.hasOwnProperty("value")){var o=i.value=e.value;i.interval=[o,o],i.close=[1,1]}else{for(var s=i.interval=[],l=i.close=[0,0],u=[1,0,1],c=[-1/0,1/0],h=[],d=0;d<2;d++){for(var f=[["gte","gt","min"],["lte","lt","max"]][d],p=0;p<3&&null==s[d];p++)s[d]=e[f[p]],l[d]=u[p],h[d]=2===p;null==s[d]&&(s[d]=c[d])}h[0]&&s[1]===1/0&&(l[0]=0),h[1]&&s[0]===-1/0&&(l[1]=0),s[0]===s[1]&&l[0]&&l[1]&&(i.value=s[0])}i.visual=a.retrieveVisuals(e),t.push(i)}),this),d(e,t),u(t),r.each(t,(function(e){var t=e.close,n=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)}),this)}};function 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||h<t-d&&h<r-d&&h<a-d&&h<l-d||c>e+d&&c>n+d&&c>o+d&&c>s+d||c<e-d&&c<n-d&&c<o-d&&c<s-d)return!1;var f=i.cubicProjectPoint(e,t,n,r,o,a,s,l,c,h,null);return f<=d/2}t.containStroke=r},f5c9:function(e,t,n){var i=n("333f"),r=n("cbe1"),o=n("fde7"),a=o.updateCenterAndZoom;i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){var i=t.coordinateSystem;if("geo"===i.type){var o=a(i,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom),"series"===n&&r.each(t.seriesGroup,(function(e){e.setCenter(o.center),e.setZoom(o.zoom)}))}}))}))},f630:function(e,t,n){n("96a3"),n("cf23"),n("f046")},f665:function(e,t,n){var i=n("2dda"),r=n("df7d"),o=r.createSymbol,a=n("caf6"),s=4,l=i.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(e,t){var n=t.points,i=t.size,r=this.symbolProxy,o=r.shape,a=e.getContext?e.getContext():e,l=a&&i[0]<s;if(!l)for(var u=0;u<n.length;){var c=n[u++],h=n[u++];isNaN(c)||isNaN(h)||(this.softClipShape&&!this.softClipShape.contain(c,h)||(o.x=c-i[0]/2,o.y=h-i[1]/2,o.width=i[0],o.height=i[1],r.buildPath(e,o,!0)))}},afterBrush:function(e){var t=this.shape,n=t.points,i=t.size,r=i[0]<s;if(r){this.setTransform(e);for(var o=0;o<n.length;){var a=n[o++],l=n[o++];isNaN(a)||isNaN(l)||(this.softClipShape&&!this.softClipShape.contain(a,l)||e.fillRect(a-i[0]/2,l-i[1]/2,i[0],i[1]))}this.restoreTransform(e)}},findDataIndex:function(e,t){for(var n=this.shape,i=n.points,r=n.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=i.length/2-1;s>=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]<s;e.useStyle(r.getModel("itemStyle").getItemStyle(l?["color","shadowBlur","shadowColor"]:["color"]));var u=t.getVisual("color");u&&e.setColor(u),n||(e.seriesIndex=r.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>=0&&(e.dataIndex=n+(e.startIndex||0))})))},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="<br/>"):(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<<u)-1&~a)/n);return e[r][c]}var h=o|1<<r,d=r+1;while(o&1<<d)d++;for(var f=0,p=0,g=0;p<u;p++){var v=1<<p;v&a||(f+=(g%2?-1:1)*e[r][p]*i(e,t-1,d,h,a|v,s),g++)}return s[l]=f,f}function r(e,t){var n=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],r={},o=i(n,8,0,0,0,r);if(0!==o){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*i(n,7,0===s?1:0,1<<s,1<<l,r)/o*t[s];return function(e,t,n){var i=t*a[6]+n*a[7]+1;e[0]=(t*a[0]+n*a[1]+a[2])/i,e[1]=(t*a[3]+n*a[4]+a[5])/i}}}t.buildTransformer=r},f75d:function(e,t,n){var i=n("cbe1"),r=n("b100"),o=n("d42a"),a=n("ea25"),s=a.onIrrelevantElement,l=n("2dda"),u=n("20b1"),c=n("4620"),h=c.getUID;function d(e){var t=e.getItemStyle(),n=e.get("areaColor");return null!=n&&(t.fill=n),t}function f(e,t,n,r,o){n.off("click"),n.off("mousedown"),t.get("selectedMode")&&(n.on("mousedown",(function(){e._mouseDownFlag=!0})),n.on("click",(function(a){if(e._mouseDownFlag){e._mouseDownFlag=!1;var s=a.target;while(!s.__regions)s=s.parent;if(s){var l={type:("geo"===t.mainType?"geo":"map")+"ToggleSelect",batch:i.map(s.__regions,(function(e){return{name:e.name,from:o.uid}}))};l[t.mainType+"Id"]=t.id,r.dispatchAction(l),p(t,n)}}})))}function p(e,t){t.eachChild((function(t){i.each(t.__regions,(function(n){t.trigger(e.isSelected(n.name)?"emphasis":"normal")}))}))}function g(e,t){var n=new l.Group;this.uid=h("ec_map_draw"),this._controller=new r(e.getZr()),this._controllerHost={target:t?n:null},this.group=n,this._updateGroup=t,this._mouseDownFlag,this._mapName,this._initialized,n.add(this._regionsGroup=new l.Group),n.add(this._backgroundGroup=new l.Group)}g.prototype={constructor:g,draw:function(e,t,n,r,o){var a="geo"===e.mainType,s=e.getData&&e.getData();a&&t.eachComponent({mainType:"series",subType:"map"},(function(t){s||t.getHostGeoModel()!==e||(s=t.getData())}));var u=e.coordinateSystem;this._updateBackground(u);var c=this._regionsGroup,h=this.group;u._roamTransformable.transform&&(h.transform=u._roamTransformable.transform.slice(),h.decomposeTransform());var g=u._rawTransformable.scale,v=u._rawTransformable.position;c.removeAll();var m=["itemStyle"],y=["emphasis","itemStyle"],x=["label"],_=["emphasis","label"],b=i.createHashMap();i.each(u.regions,(function(t){var n=b.get(t.name)||b.set(t.name,new l.Group),r=new l.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});n.add(r);var o,u=e.getRegionModel(t.name)||e,f=u.getModel(m),p=u.getModel(y),w=d(f),S=d(p),M=u.getModel(x),I=u.getModel(_);if(s){o=s.indexOfName(t.name);var A=s.getItemVisual(o,"color",!0);A&&(w.fill=A)}var T=function(e){return[e[0]*g[0]+v[0],e[1]*g[1]+v[1]]};i.each(t.geometries,(function(e){if("polygon"===e.type){for(var t=[],n=0;n<e.exterior.length;++n)t.push(T(e.exterior[n]));r.shape.paths.push(new l.Polygon({segmentIgnoreThreshold:1,shape:{points:t}}));for(n=0;n<(e.interiors?e.interiors.length:0);++n){for(var i=e.interiors[n],o=(t=[],0);o<i.length;++o)t.push(T(i[o]));r.shape.paths.push(new l.Polygon({segmentIgnoreThreshold:1,shape:{points:t}}))}}})),r.setStyle(w),r.style.strokeNoScale=!0,r.culling=!0;var D=M.get("show"),P=I.get("show"),C=s&&isNaN(s.get(s.mapDimension("value"),o)),O=s&&s.getItemLayout(o);if(a||C&&(D||P)||O&&O.showLabel){var k,L=a?t.name:o;(!s||o>=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<e.length;c++){var h=e[c];h.p||(h.p=i.create(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),h.pp=i.clone(h.p),h.edges=null}var d=null==n.friction?.6:n.friction,f=d;return{warmUp:function(){f=.8*d},setFixed:function(t){e[t].fixed=!0},setUnfixed:function(t){e[t].fixed=!1},step:function(n){for(var o=[],a=e.length,s=0;s<t.length;s++){var c=t[s];if(!c.ignoreForceLayout){var h=c.n1,d=c.n2;i.sub(o,d.p,h.p);var p=i.len(o)-c.d,g=d.w/(h.w+d.w);isNaN(g)&&(g=0),i.normalize(o,o),!h.fixed&&r(h.p,h.p,o,g*p*f),!d.fixed&&r(d.p,d.p,o,-(1-g)*p*f)}}for(s=0;s<a;s++){var v=e[s];v.fixed||(i.sub(o,l,v.p),r(v.p,v.p,o,u*f))}for(s=0;s<a;s++){h=e[s];for(var m=s+1;m<a;m++){d=e[m];i.sub(o,d.p,h.p);p=i.len(o);0===p&&(i.set(o,Math.random()-.5,Math.random()-.5),p=1);var y=(h.rep+d.rep)/p/p;!h.fixed&&r(h.pp,h.pp,o,y),!d.fixed&&r(d.pp,d.pp,o,-y)}}var x=[];for(s=0;s<a;s++){v=e[s];v.fixed||(i.sub(x,v.p,v.pp),r(v.p,v.p,x,f),i.copy(v.pp,v.p))}f*=.992,n&&n(e,t,f<.01)}}}t.forceLayout=o},f997:function(e,t,n){var i=n("333f");n("be23"),n("384e"),n("32f3");var r=n("95d6"),o=n("68a7"),a=n("fd5b"),s=n("5866"),l=n("860e");i.registerVisual(r("radar")),i.registerVisual(o("radar","circle")),i.registerLayout(a),i.registerProcessor(s("radar")),i.registerPreprocessor(l)},fa3d:function(e,t,n){var i=n("cbe1"),r=n("d36d"),o=function(e,t,n,i){r.call(this,e,t,n),this.type=i||"value",this.model=null};o.prototype={constructor:o,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},i.inherits(o,r);var a=o;e.exports=a},fafc:function(e,t,n){var i=n("333f"),r={type:"selectDataRange",event:"dataRangeSelected",update:"update"};i.registerAction(r,(function(e,t){t.eachComponent({mainType:"visualMap",query:e},(function(t){t.setSelected(e.selected)}))}))},fb14:function(e,t){var n=function(){this.head=null,this.tail=null,this._len=0},i=n.prototype;i.insert=function(e){var t=new r(e);return this.insertEntry(t),t},i.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},i.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},i.len=function(){return this._len},i.clear=function(){this.head=this.tail=null,this._len=0};var r=function(e){this.value=e,this.next,this.prev},o=function(e){this._list=new n,this._map={},this._maxSize=e||10,this._lastRemovedEntry=null},a=o.prototype;a.put=function(e,t){var n=this._list,i=this._map,o=null;if(null==i[e]){var a=n.len(),s=this._lastRemovedEntry;if(a>=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")},fc47:function(e,t,n){var i=n("cbe1"),r=n("55ba"),o=n("7f3e"),a=n("1ede"),s=i.each,l=r.asc,u=function(e,t,n,i){this._dimName=e,this._axisIndex=t,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=i,this._dataZoomModel=n};function c(e,t,n){var i=[1/0,-1/0];return s(n,(function(e){var n=e.getData();n&&s(n.mapDimension(t,!0),(function(e){var t=n.getApproximateExtent(e);t[0]<i[0]&&(i[0]=t[0]),t[1]>i[1]&&(i[1]=t[1])}))})),i[1]<i[0]&&(i=[NaN,NaN]),h(e,i),i}function h(e,t){var n=e.getAxisModel(),i=n.getMin(!0),r="category"===n.get("type"),o=r&&n.getCategories().length;null!=i&&"dataMin"!==i&&"function"!==typeof i?t[0]=i:r&&(t[0]=o>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;s<i.length;s++){var l=t.get(i[s],e),u=!isNaN(l),c=l<o[0],h=l>o[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;g<v;g++){var m=p[g];f[m]&&f[m].applyVisual(e,c,h)}}i.each(e,(function(e){var n=r.prepareVisualTypes(t[e]);u[e]=n})),null==s?n.each(d):n.each([s],d)}function c(e,t,n,o){var a={};function s(e,i){function r(e){return i.getItemVisual(l,e)}function s(e,t){i.setItemVisual(l,e,t)}var l;null!=o&&(o=i.getDimension(o));while(null!=(l=e.next())){var u=i.getRawDataItem(l);if(!u||!1!==u.visualMap)for(var c=null!=o?i.get(o,l,!0):l,h=n(c),d=t[h],f=a[h],p=0,g=f.length;p<g;p++){var v=f[p];d[v]&&d[v].applyVisual(c,r,s)}}}return i.each(e,(function(e){var n=r.prepareVisualTypes(t[e]);a[e]=n})),{progress:s}}t.createVisualMappings=s,t.replaceVisualOption=l,t.applyVisual=u,t.incrementalApplyVisual=c},fde5:function(e,t,n){var i=n("2544"),r=n("70f0"),o=n("f58a"),a=n("3d3c"),s=n("f04d"),l=n("ecf4"),u=l.normalizeRadian,c=n("ed3e"),h=n("45c5"),d=i.CMD,f=2*Math.PI,p=1e-4;function g(e,t){return Math.abs(e-t)<p}var v=[-1,-1,-1],m=[-1,-1];function y(){var e=m[0];m[0]=m[1],m[1]=e}function x(e,t,n,i,r,o,a,s,l,u){if(u>t&&u>i&&u>o&&u>s||u<t&&u<i&&u<o&&u<s)return 0;var h=c.cubicRootAt(t,i,o,s,u,v);if(0===h)return 0;for(var d,f,p=0,g=-1,x=0;x<h;x++){var _=v[x],b=0===_||1===_?.5:1,w=c.cubicAt(e,n,r,a,_);w<l||(g<0&&(g=c.cubicExtrema(t,i,o,s,m),m[1]<m[0]&&g>1&&y(),d=c.cubicAt(t,i,o,s,m[0]),g>1&&(f=c.cubicAt(t,i,o,s,m[1]))),2===g?_<m[0]?p+=d<t?b:-b:_<m[1]?p+=f<d?b:-b:p+=s<f?b:-b:_<m[0]?p+=d<t?b:-b:p+=s<d?b:-b)}return p}function _(e,t,n,i,r,o,a,s){if(s>t&&s>i&&s>o||s<t&&s<i&&s<o)return 0;var l=c.quadraticRootAt(t,i,o,s,v);if(0===l)return 0;var u=c.quadraticExtremum(t,i,o);if(u>=0&&u<=1){for(var h=0,d=c.quadraticAt(t,i,o,u),f=0;f<l;f++){var p=0===v[f]||1===v[f]?.5:1,g=c.quadraticAt(e,n,r,v[f]);g<a||(v[f]<u?h+=d<t?p:-p:h+=o<d?p:-p)}return h}p=0===v[0]||1===v[0]?.5:1,g=c.quadraticAt(e,n,r,v[0]);return g<a?0:o<t?p:-p}function b(e,t,n,i,r,o,a,s){if(s-=t,s>n||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;m<e.length;){var y=e[m++];switch(y===d.M&&m>1&&(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<o;r++){var a=t[r];a.el.animateTo(a.target,a.time,a.delay,a.easing,s)}return this;function s(){i--,i||(t.length=0,n={},e&&e())}}}}t.createWrap=r},ff87:function(e,t,n){var i=n("775e"),r=(i.__DEV__,n("cbe1")),o=n("43d3"),a=o.enableClassCheck;function s(e){return"_EC_"+e}var l=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},u=l.prototype;function c(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function h(e,t,n){this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}u.type="graph",u.isDirected=function(){return this._directed},u.addNode=function(e,t){e=null==e?""+t:""+e;var n=this._nodesMap;if(!n[s(e)]){var i=new c(e,t);return i.hostGraph=this,this.nodes.push(i),n[s(e)]=i,i}},u.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},u.getNodeById=function(e){return this._nodesMap[s(e)]},u.addEdge=function(e,t,n){var i=this._nodesMap,r=this._edgesMap;if("number"===typeof e&&(e=this.nodes[e]),"number"===typeof t&&(t=this.nodes[t]),c.isInstance(e)||(e=i[s(e)]),c.isInstance(t)||(t=i[s(t)]),e&&t){var o=e.id+"-"+t.id;if(!r[o]){var a=new h(e,t,n);return a.hostGraph=this,this._directed&&(e.outEdges.push(a),t.inEdges.push(a)),e.edges.push(a),e!==t&&t.edges.push(a),this.edges.push(a),r[o]=a,a}}},u.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},u.getEdge=function(e,t){c.isInstance(e)&&(e=e.id),c.isInstance(t)&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},u.eachNode=function(e,t){for(var n=this.nodes,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&e.call(t,n[r],r)},u.eachEdge=function(e,t){for(var n=this.edges,i=n.length,r=0;r<i;r++)n[r].dataIndex>=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<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!e.call(i,t,null)){var a=[t];while(a.length){var l=a.shift(),u=l[r];for(o=0;o<u.length;o++){var h=u[o],d=h.node1===l?h.node2:h.node1;if(!d.__visited){if(e.call(i,d,l))return;a.push(d),d.__visited=!0}}}}}},u.update=function(){for(var e=this.data,t=this.edgeData,n=this.nodes,i=this.edges,r=0,o=n.length;r<o;r++)n[r].dataIndex=-1;for(r=0,o=e.count();r<o;r++)n[e.getRawIndex(r)].dataIndex=r;t.filterSelf((function(e){var n=i[t.getRawIndex(e)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r<o;r++)i[r].dataIndex=-1;for(r=0,o=t.count();r<o;r++)i[t.getRawIndex(r)].dataIndex=r},u.clone=function(){for(var e=new l(this._directed),t=this.nodes,n=this.edges,i=0;i<t.length;i++)e.addNode(t[i].id,t[i].dataIndex);for(i=0;i<n.length;i++){var r=n[i];e.addEdge(r.node1.id,r.node2.id,r.dataIndex)}return e},c.prototype={constructor:c,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(e){if(!(this.dataIndex<0)){var t=this.hostGraph,n=t.data.getItemModel(this.dataIndex);return n.getModel(e)}}},h.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostGraph,n=t.edgeData.getItemModel(this.dataIndex);return n.getModel(e)}};var d=function(e,t){return{getValue:function(n){var i=this[e][t];return i.get(i.getDimension(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[e][t].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};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<n.length;d++){var f=c++%l.length;h[f]=h[f]||[],h[f].push(new r.Line({shape:u(t,o,n[d].coord)}))}for(d=0;d<h.length;d++)this.group.add(r.mergePath(h[d],{style:i.defaults({stroke:l[d%l.length]},s.getLineStyle()),silent:!0,z:e.get("z")}))},_splitArea:function(e,t,n,o){if(n.length){var a=e.getModel("splitArea"),s=a.getModel("areaStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],h=Math.PI/180,d=-n[0].coord*h,f=Math.min(o[0],o[1]),p=Math.max(o[0],o[1]),g=e.get("clockwise"),v=1;v<n.length;v++){var m=u++%l.length;c[m]=c[m]||[],c[m].push(new r.Sector({shape:{cx:t.cx,cy:t.cy,r0:f,r:p,startAngle:d,endAngle:-n[v].coord*h,clockwise:g},silent:!0})),d=-n[v].coord*h}for(v=0;v<c.length;v++)this.group.add(r.mergePath(c[v],{style:i.defaults({fill:l[v%l.length]},s.getAreaStyle()),silent:!0}))}}});e.exports=d}}]);
//# sourceMappingURL=hly-detail.c9f0c8af.js.map