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.

1 line
874 KiB

This file contains ambiguous Unicode 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.

webpackJsonp([47],{1127:function(t,i,e){(function(t){var e;"undefined"!=typeof window?e=window.__DEV__:void 0!==t&&(e=t.__DEV__),void 0===e&&(e=!0);var n=e;i.__DEV__=n}).call(i,e(40))},1146:function(t,e,n){var p=n(768),g=n(1152),m=n(965).parsePercent,v=n(1153),f=p.each,i=["left","right","top","bottom","width","height"],o=[["width","left","right"],["height","top","bottom"]];function a(c,h,d,p,f){var g=0,m=0;null==p&&(p=1/0),null==f&&(f=1/0);var v=0;h.eachChild(function(t,e){var n,i,a=t.position,o=t.getBoundingRect(),r=h.childAt(e+1),s=r&&r.getBoundingRect();if("horizontal"===c){var l=o.width+(s?-s.x+o.x:0);v=p<(n=g+l)||t.newline?(g=0,n=l,m+=v+d,o.height):Math.max(v,o.height)}else{var u=o.height+(s?-s.y+o.y:0);v=f<(i=m+u)||t.newline?(g+=v+d,m=0,i=u,o.width):Math.max(v,o.width)}t.newline||(a[0]=g,a[1]=m,"horizontal"===c?g=n+d:m=i+d)})}var r=a,s=p.curry(a,"vertical"),l=p.curry(a,"horizontal");function y(t,e,n){n=v.normalizeCssArray(n||0);var i=e.width,a=e.height,o=m(t.left,i),r=m(t.top,a),s=m(t.right,i),l=m(t.bottom,a),u=m(t.width,i),c=m(t.height,a),h=n[2]+n[0],d=n[1]+n[3],p=t.aspect;switch(isNaN(u)&&(u=i-s-d-o),isNaN(c)&&(c=a-l-h-r),null!=p&&(isNaN(u)&&isNaN(c)&&(i/a<p?u=.8*i:c=.8*a),isNaN(u)&&(u=p*c),isNaN(c)&&(c=u/p)),isNaN(o)&&(o=i-s-u-d),isNaN(r)&&(r=a-l-c-h),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-d}switch(t.top||t.bottom){case"middle":case"center":r=a/2-c/2-n[0];break;case"bottom":r=a-c-h}o=o||0,r=r||0,isNaN(u)&&(u=i-d-o-(s||0)),isNaN(c)&&(c=a-h-r-(l||0));var f=new g(o+n[3],r+n[0],u,c);return f.margin=n,f}function u(e,n){return n&&e&&f(i,function(t){n.hasOwnProperty(t)&&(e[t]=n[t])}),e}e.LOCATION_PARAMS=i,e.HV_NAMES=o,e.box=r,e.vbox=s,e.hbox=l,e.getAvailableSize=function(t,e,n){var i=e.width,a=e.height,o=m(t.x,i),r=m(t.y,a),s=m(t.x2,i),l=m(t.y2,a);return(isNaN(o)||isNaN(parseFloat(t.x)))&&(o=0),(isNaN(s)||isNaN(parseFloat(t.x2)))&&(s=i),(isNaN(r)||isNaN(parseFloat(t.y)))&&(r=0),(isNaN(l)||isNaN(parseFloat(t.y2)))&&(l=a),n=v.normalizeCssArray(n||0),{width:Math.max(s-o-n[1]-n[3],0),height:Math.max(l-r-n[0]-n[2],0)}},e.getLayoutRect=y,e.positionElement=function(t,e,n,i,a){var o=!a||!a.hv||a.hv[0],r=!a||!a.hv||a.hv[1],s=a&&a.boundingMode||"all";if(o||r){var l;if("raw"===s)l="group"===t.type?new g(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var u=t.getLocalTransform();(l=l.clone()).applyTransform(u)}e=y(p.defaults({width:l.width,height:l.height},e),n,i);var c=t.position,h=o?e.x-l.x:0,d=r?e.y-l.y:0;t.attr("position","raw"===s?[h,d]:[c[0]+h,c[1]+d])}},e.sizeCalculable=function(t,e){return null!=t[o[e][0]]||null!=t[o[e][1]]&&null!=t[o[e][2]]},e.mergeLayoutParam=function(l,u,t){p.isObject(t)||(t={});var c=t.ignoreSize;p.isArray(c)||(c=[c,c]);var e=i(o[0],0),n=i(o[1],1);function i(t,e){var n={},i=0,a={},o=0;if(f(t,function(t){a[t]=l[t]}),f(t,function(t){h(u,t)&&(n[t]=a[t]=u[t]),d(n,t)&&i++,d(a,t)&&o++}),c[e])return d(u,t[1])?a[t[2]]=null:d(u,t[2])&&(a[t[1]]=null),a;if(2!==o&&i){if(2<=i)return n;for(var r=0;r<t.length;r++){var s=t[r];if(!h(n,s)&&h(l,s)){n[s]=l[s];break}}return n}return a}function h(t,e){return t.hasOwnProperty(e)}function d(t,e){return null!=t[e]&&"auto"!==t[e]}function a(t,e,n){f(t,function(t){e[t]=n[t]})}a(o[0],l,e),a(o[1],l,n)},e.getLayoutParams=function(t){return u({},t)},e.copyLayoutParams=u},1150:function(t,e){var i="undefined"==typeof Float32Array?Array:Float32Array;function a(t){return Math.sqrt(o(t))}var n=a;function o(t){return t[0]*t[0]+t[1]*t[1]}var r=o;function s(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var l=s;function u(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var c=u;e.create=function(t,e){var n=new i(2);return null==t&&(t=0),null==e&&(e=0),n[0]=t,n[1]=e,n},e.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t},e.clone=function(t){var e=new i(2);return e[0]=t[0],e[1]=t[1],e},e.set=function(t,e,n){return t[0]=e,t[1]=n,t},e.add=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},e.scaleAndAdd=function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t},e.sub=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},e.len=a,e.length=n,e.lenSquare=o,e.lengthSquare=r,e.mul=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},e.div=function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},e.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]},e.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},e.normalize=function(t,e){var n=a(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t},e.distance=s,e.dist=l,e.distanceSquare=u,e.distSquare=c,e.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t},e.lerp=function(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t},e.applyTransform=function(t,e,n){var i=e[0],a=e[1];return t[0]=n[0]*i+n[2]*a+n[4],t[1]=n[1]*i+n[3]*a+n[5],t},e.min=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},e.max=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},1152:function(t,e,n){var i,a,o,r,s=n(1150),l=n(1284),u=s.applyTransform,c=Math.min,h=Math.max;function d(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}d.prototype={constructor:d,union:function(t){var e=c(t.x,this.x),n=c(t.y,this.y);this.width=h(t.x+t.width,this.x+this.width)-e,this.height=h(t.y+t.height,this.y+this.height)-n,this.x=e,this.y=n},applyTransform:(i=[],a=[],o=[],r=[],function(t){if(t){i[0]=o[0]=this.x,i[1]=r[1]=this.y,a[0]=r[0]=this.x+this.width,a[1]=o[1]=this.y+this.height,u(i,i,t),u(a,a,t),u(o,o,t),u(r,r,t),this.x=c(i[0],a[0],o[0],r[0]),this.y=c(i[1],a[1],o[1],r[1]);var e=h(i[0],a[0],o[0],r[0]),n=h(i[1],a[1],o[1],r[1]);this.width=e-this.x,this.height=n-this.y}}),calculateTransform:function(t){var e=t.width/this.width,n=t.height/this.height,i=l.create();return l.translate(i,i,[-this.x,-this.y]),l.scale(i,i,[e,n]),l.translate(i,i,[t.x,t.y]),i},intersect:function(t){if(!t)return!1;t instanceof d||(t=d.create(t));var e=this,n=e.x,i=e.x+e.width,a=e.y,o=e.y+e.height,r=t.x,s=t.x+t.width,l=t.y,u=t.y+t.height;return!(i<r||s<n||o<l||u<a)},contain:function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},clone:function(){return new d(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},d.create=function(t){return new d(t.x,t.y,t.width,t.height)};var p=d;t.exports=p},1153:function(t,e,n){var c=n(768),l=n(1319),d=n(965);var i=c.normalizeCssArray,a=/([&<>"'])/g,o={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function h(t){return null==t?"":(t+"").replace(a,function(t,e){return o[e]})}function p(t,e){return"{"+t+(null==e?"":e)+"}"}var f=["a","b","c","d","e","f","g"];function g(t,e){return"0000".substr(0,e-(t+="").length)+t}var r=l.truncateText;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(1<t.length?"."+t[1]:"")},e.toCamelCase=function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},e.normalizeCssArray=i,e.encodeHTML=h,e.formatTpl=function(t,e,n){c.isArray(e)||(e=[e]);var i=e.length;if(!i)return"";for(var a=e[0].$vars||[],o=0;o<a.length;o++){var r=f[o];t=t.replace(p(r),p(r,0))}for(var s=0;s<i;s++)for(var l=0;l<a.length;l++){var u=e[s][a[l]];t=t.replace(p(f[l],s),n?h(u):u)}return t},e.formatTplSimple=function(n,t,i){return c.each(t,function(t,e){n=n.replace("{"+e+"}",i?h(t):t)}),n},e.getTooltipMarker=function(t,e){var n=(t=c.isString(t)?{color:t,extraCssText:e}:t||{}).color,i=t.type,a=(e=t.extraCssText,t.renderMode||"html"),o=t.markerId||"X";return n?"html"===a?"subItem"===i?'<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)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+h(n)+";"+(e||"")+'"></span>':{renderMode:a,content:"{marker"+o+"|} ",style:{color:n}}:""},e.formatTime=function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=d.parseDate(e),a=n?"UTC":"",o=i["get"+a+"FullYear"](),r=i["get"+a+"Month"]()+1,s=i["get"+a+"Date"](),l=i["get"+a+"Hours"](),u=i["get"+a+"Minutes"](),c=i["get"+a+"Seconds"](),h=i["get"+a+"Milliseconds"]();return t=t.replace("MM",g(r,2)).replace("M",r).replace("yyyy",o).replace("yy",o%100).replace("dd",g(s,2)).replace("d",s).replace("hh",g(l,2)).replace("h",l).replace("mm",g(u,2)).replace("m",u).replace("ss",g(c,2)).replace("s",c).replace("SSS",g(h,3))},e.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},e.truncateText=r,e.getTextBoundingRect=function(t){return l.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},e.getTextRect=function(t,e,n,i,a,o,r,s){return l.getBoundingRect(t,e,n,i,a,s,o,r)}},1224:function(t,e,n){var i=n(1593),o=n(768),s=n(1550),l=n(2559),y=n(2120).prototype.getCanvasPattern,a=Math.abs,x=new s(!0);function r(t){i.call(this,t),this.path=null}r.prototype={constructor:r,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var n,i=this.style,a=this.path||x,o=i.hasStroke(),r=i.hasFill(),s=i.fill,l=i.stroke,u=r&&!!s.colorStops,c=o&&!!l.colorStops,h=r&&!!s.image,d=o&&!!l.image;i.bind(t,this,e),this.setTransform(t),this.__dirty&&(u&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(t,s,n)),c&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(t,l,n)));u?t.fillStyle=this._fillGradient:h&&(t.fillStyle=y.call(s,t)),c?t.strokeStyle=this._strokeGradient:d&&(t.strokeStyle=y.call(l,t));var p=i.lineDash,f=i.lineDashOffset,g=!!t.setLineDash,m=this.getGlobalScale();if(a.setScale(m[0],m[1],this.segmentIgnoreThreshold),this.__dirtyPath||p&&!g&&o?(a.beginPath(t),p&&!g&&(a.setLineDash(p),a.setLineDashOffset(f)),this.buildPath(a,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),r)if(null!=i.fillOpacity){var v=t.globalAlpha;t.globalAlpha=i.fillOpacity*i.opacity,a.fill(t),t.globalAlpha=v}else a.fill(t);if(p&&g&&(t.setLineDash(p),t.lineDashOffset=f),o)if(null!=i.strokeOpacity){v=t.globalAlpha;t.globalAlpha=i.strokeOpacity*i.opacity,a.stroke(t),t.globalAlpha=v}else a.stroke(t);p&&g&&t.setLineDash([]),null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new s},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var i=this.path;i=i||(this.path=new s),this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),t=i.getBoundingRect()}if(this._rect=t,e.hasStroke()){var a=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){a.copy(t);var o=e.lineWidth,r=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),1e-10<r&&(a.width+=o/r,a.height+=o/r,a.x-=o/r/2,a.y-=o/r/2)}return a}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),a=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path.data;if(a.hasStroke()){var r=a.lineWidth,s=a.strokeNoScale?this.getLineScale():1;if(1e-10<s&&(a.hasFill()||(r=Math.max(r,this.strokeContainThreshold)),l.containStroke(o,r/s,t,e)))return!0}if(a.hasFill())return l.contain(o,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):i.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(o.isObject(t))for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&1e-10<a(t[0]-1)&&1e-10<a(t[3]-1)?Math.sqrt(a(t[0]*t[3]-t[2]*t[1])):1}},r.extend=function(a){function t(t){r.call(this,t),a.style&&this.style.extendFrom(a.style,!1);var e=a.shape;if(e){this.shape=this.shape||{};var n=this.shape;for(var i in e)!n.hasOwnProperty(i)&&e.hasOwnProperty(i)&&(n[i]=e[i])}a.init&&a.init.call(this,t)}for(var e in o.inherits(t,r),a)"style"!==e&&"shape"!==e&&(t.prototype[e]=a[e]);return t},o.inherits(r,i);var u=r;t.exports=u},1240:function(t,e){var 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}:function(t){var e={},n=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);n&&(e.firefox=!0,e.version=n[1]);i&&(e.ie=!0,e.version=i[1]);a&&(e.edge=!0,e.version=a[1]);o&&(e.weChat=!0);return{browser:e,os:{},node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!e.ie&&!e.edge,pointerEventsSupported:"onpointerdown"in window&&(e.edge||e.ie&&11<=e.version),domSupported:"undefined"!=typeof document}}(navigator.userAgent);t.exports=n},1241:function(t,e,n){var i=n(768),a=n(1240),o=n(987).makeInner,r=n(1427),s=r.enableClassExtend,l=r.enableClassCheck,u=n(2556),c=n(2557),h=n(2558),d=n(2571),p=i.mixin,f=o();function g(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function m(t,e,n){for(var i=0;i<e.length&&(!e[i]||null!=(t=t&&"object"==typeof t?t[e[i]]:null));i++);return null==t&&n&&(t=n.get(e)),t}function v(t,e){var n=f(t).getParent;return n?n.call(t,e):t.parentModel}g.prototype={constructor:g,init:null,mergeOption:function(t){i.merge(this.option,t,!0)},get:function(t,e){return null==t?this.option:m(this.option,this.parsePath(t),!e&&v(this,t))},getShallow:function(t,e){var n=this.option,i=null==n?n:n[t],a=!e&&v(this,t);return null==i&&a&&(i=a.getShallow(t)),i},getModel:function(t,e){var n;return new g(null==t?this.option:m(this.option,t=this.parsePath(t)),e=e||(n=v(this,t))&&n.getModel(t),this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){return new this.constructor(i.clone(this.option))},setReadOnly:function(t){},parsePath:function(t){return"string"==typeof t&&(t=t.split(".")),t},customizeGetParent:function(t){f(this).getParent=t},isAnimationEnabled:function(){if(!a.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},s(g),l(g),p(g,u),p(g,c),p(g,h),p(g,d);var y=g;t.exports=y},1245:function(t,e,n){var r=n(768),a=n(1241),o=n(1594),i=n(1427),s=i.enableClassManagement,l=i.parseClassType,u=n(987).makeInner,c=n(1146),h=n(2572),d=u(),p=a.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,e,n,i){a.call(this,t,e,n,i),this.uid=o.getUID("ec_cpt_model")},init:function(t,e,n,i){this.mergeDefaultAndTheme(t,n)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,i=n?c.getLayoutParams(t):{},a=e.getTheme();r.merge(t,a.get(this.mainType)),r.merge(t,this.getDefaultOption()),n&&c.mergeLayoutParam(t,i,n)},mergeOption:function(t,e){r.merge(this.option,t,!0);var n=this.layoutMode;n&&c.mergeLayoutParam(this.option,t,n)},optionUpdated:function(t,e){},getDefaultOption:function(){var t=d(this);if(!t.defaultOption){for(var e=[],n=this.constructor;n;){var i=n.prototype.defaultOption;i&&e.push(i),n=n.superClass}for(var a={},o=e.length-1;0<=o;o--)a=r.merge(a,e[o],!0);t.defaultOption=a}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});s(p,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(p),o.enableTopologicalTravel(p,function(t){var e=[];r.each(p.getClassesByMainType(t),function(t){e=e.concat(t.prototype.dependencies||[])}),e=r.map(e,function(t){return l(t).main}),"dataset"!==t&&r.indexOf(e,"dataset")<=0&&e.unshift("dataset");return e}),r.mixin(p,h);var f=p;t.exports=f},1246:function(t,e,n){n(1127).__DEV__;var b=n(768),i=n(1240),a=n(1153),w=a.formatTime,S=a.encodeHTML,C=a.addCommas,M=a.getTooltipMarker,I=n(987),o=n(1245),r=n(2136),s=n(1807),l=n(1146),u=l.getLayoutParams,c=l.mergeLayoutParam,h=n(1808).createTask,d=n(1688),p=d.prepareSource,f=d.getSource,T=n(1503).retrieveRawValue,g=I.makeInner(),m=o.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,n,i){this.seriesIndex=this.componentIndex,this.dataTask=h({count:y,reset:x}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),p(this);var a=this.getInitialData(t,n);A(a,this),this.dataTask.context.data=a,g(this).dataBeforeProcessed=a,v(this)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,i=n?u(t):{},a=this.subType;o.hasClass(a)&&(a+="Series"),b.merge(t,e.getTheme().get(this.subType)),b.merge(t,this.getDefaultOption()),I.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&c(t,i,n)},mergeOption:function(t,e){t=b.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&c(this.option,t,n),p(this);var i=this.getInitialData(t,e);A(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,g(this).dataBeforeProcessed=i,v(this)},fillDataTextStyle:function(t){if(t&&!b.isTypedArray(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&I.defaultEmphasis(t[n],"label",e)},getInitialData:function(){},appendData:function(t){this.getRawData().appendData(t.data)},getData:function(t){var e=k(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return g(this).data},setData:function(t){var e=k(this);if(e){var n=e.context;n.data!==t&&e.modifyOutputEnd&&e.setOutputEnd(t.count()),n.outputData=t,e!==this.dataTask&&(n.data=t)}g(this).data=t},getSource:function(){return f(this)},getRawData:function(){return g(this).dataBeforeProcessed},getBaseAxis:function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},formatTooltip:function(a,c,t,h){var d=this,e="html"===(h=h||"html")?"<br/>":"\n",p="richText"===h,f={},g=0;function n(t){return{renderMode:h,content:S(C(t)),style:f}}var m=this.getData(),o=m.mapDimension("defaultedTooltip",!0),i=o.length,r=this.getRawValue(a),s=b.isArray(r),v=m.getItemVisual(a,"color");b.isObject(v)&&v.colorStops&&(v=(v.colorStops[0]||{}).color),v=v||"transparent";var l=(1<i||s&&!i?function(t){var l=b.reduce(t,function(t,e,n){var i=m.getDimensionInfo(n);return t|(i&&!1!==i.tooltip&&null!=i.displayName)},0),u=[];function e(t,e){var n=m.getDimensionInfo(e);if(n&&!1!==n.otherDims.tooltip){var i=n.type,a="sub"+d.seriesIndex+"at"+g,o=M({color:v,type:"subItem",renderMode:h,markerId:a}),r="string"==typeof o?o:o.content,s=(l?r+S(n.displayName||"-")+": ":"")+S("ordinal"===i?t+"":"time"===i?c?"":w("yyyy/MM/dd hh:mm:ss",t):C(t));s&&u.push(s),p&&(f[a]=v,++g)}}o.length?b.each(o,function(t){e(T(m,a,t),t)}):b.each(t,e);var n=l?p?"\n":"<br/>":"",i=n+u.join(n||", ");return{renderMode:h,content:i,style:f}}(r):n(i?T(m,a,o[0]):s?r[0]:r)).content,u=d.seriesIndex+"at"+g,y=M({color:v,type:"item",renderMode:h,markerId:u});f[u]=v,++g;var x=m.getName(a),_=this.name;I.isNameSpecified(this)||(_=""),_=_?S(_)+(c?": ":e):"";var A="string"==typeof y?y:y.content;return{html:c?A+_+l:_+A+(x?S(x)+": "+l:l),markers:f}},isAnimationEnabled:function(){if(i.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel,a=r.getColorFromPalette.call(this,t,e,n);return a=a||i.getColorFromPalette(t,e,n)},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function v(t){var n,e,i,a=t.name;I.isNameSpecified(t)||(t.name=(n=t.getRawData(),e=n.mapDimension("seriesName",!0),i=[],b.each(e,function(t){var e=n.getDimensionInfo(t);e.displayName&&i.push(e.displayName)}),i.join(" ")||a))}function y(t){return t.model.getRawData().count()}function x(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),_}function _(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function A(e,n){b.each(e.CHANGABLE_METHODS,function(t){e.wrapMethod(t,b.curry(D,n))})}function D(t){var e=k(t);e&&e.setOutputEnd(this.count())}function k(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var a=i.agentStubMap;a&&(i=a.get(t.uid))}return i}}b.mixin(m,s),b.mixin(m,r);var P=m;t.exports=P},1284:function(t,e){var n="undefined"==typeof Float32Array?Array:Float32Array;function i(){var t=new n(6);return a(t),t}function a(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}e.create=i,e.identity=a,e.copy=o,e.mul=function(t,e,n){var i=e[0]*n[0]+e[2]*n[1],a=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],r=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=a,t[2]=o,t[3]=r,t[4]=s,t[5]=l,t},e.translate=function(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t},e.rotate=function(t,e,n){var i=e[0],a=e[2],o=e[4],r=e[1],s=e[3],l=e[5],u=Math.sin(n),c=Math.cos(n);return t[0]=i*c+r*u,t[1]=-i*u+r*c,t[2]=a*c+s*u,t[3]=-a*u+c*s,t[4]=c*o+u*l,t[5]=c*l-u*o,t},e.scale=function(t,e,n){var i=n[0],a=n[1];return t[0]=e[0]*i,t[1]=e[1]*a,t[2]=e[2]*i,t[3]=e[3]*a,t[4]=e[4]*i,t[5]=e[5]*a,t},e.invert=function(t,e){var n=e[0],i=e[2],a=e[4],o=e[1],r=e[3],s=e[5],l=n*r-o*i;return l?(l=1/l,t[0]=r*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-r*a)*l,t[5]=(o*a-n*s)*l,t):null},e.clone=function(t){var e=i();return o(e,t),e}},1319:function(t,e,n){var g=n(1152),P=n(1802),i=n(768),a=i.getContext,u=i.extend,L=i.retrieve2,B=i.retrieve3,o=i.trim,s={},l=0,c=5e3,E=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,h="12px sans-serif",r={};function O(t,e){var n=t+":"+(e=e||h);if(s[n])return s[n];for(var i=(t+"").split("\n"),a=0,o=0,r=i.length;o<r;o++)a=Math.max(f(i[o],e).width,a);return c<l&&(l=0,s={}),l++,s[n]=a}function m(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function v(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function d(t,e,n){var i=e.textPosition,a=e.textDistance,o=n.x,r=n.y;a=a||0;var s=n.height,l=n.width,u=s/2,c="left",h="top";switch(i){case"left":o-=a,r+=u,c="right",h="middle";break;case"right":o+=a+l,r+=u,h="middle";break;case"top":o+=l/2,r-=a,c="center",h="bottom";break;case"bottom":o+=l/2,r+=s+a,c="center";break;case"inside":o+=l/2,r+=u,c="center",h="middle";break;case"insideLeft":o+=a,r+=u,h="middle";break;case"insideRight":o+=l-a,r+=u,c="right",h="middle";break;case"insideTop":o+=l/2,r+=a,c="center";break;case"insideBottom":o+=l/2,r+=s-a,c="center",h="bottom";break;case"insideTopLeft":o+=a,r+=a;break;case"insideTopRight":o+=l-a,r+=a,c="right";break;case"insideBottomLeft":o+=a,r+=s-a,h="bottom";break;case"insideBottomRight":o+=l-a,r+=s-a,c="right",h="bottom"}return(t=t||{}).x=o,t.y=r,t.textAlign=c,t.textVerticalAlign=h,t}function N(t,e,n,i,a){if(!e)return"";var o=(t+"").split("\n");a=y(e,n,i,a);for(var r=0,s=o.length;r<s;r++)o[r]=x(o[r],a);return o.join("\n")}function y(t,e,n,i){(i=u({},i)).font=e;n=L(n,"...");i.maxIterations=L(i.maxIterations,2);var a=i.minChar=L(i.minChar,0);i.cnCharWidth=O("国",e);var o=i.ascCharWidth=O("a",e);i.placeholder=L(i.placeholder,"");for(var r=t=Math.max(0,t-1),s=0;s<a&&o<=r;s++)r-=o;var l=O(n,e);return r<l&&(n="",l=0),r=t-l,i.ellipsis=n,i.ellipsisWidth=l,i.contentWidth=r,i.containerWidth=t,i}function x(t,e){var n=e.containerWidth,i=e.font,a=e.contentWidth;if(!n)return"";var o=O(t,i);if(o<=n)return t;for(var r=0;;r++){if(o<=a||r>=e.maxIterations){t+=e.ellipsis;break}var s=0===r?p(t,a,e.ascCharWidth,e.cnCharWidth):0<o?Math.floor(t.length*a/o):0;o=O(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function p(t,e,n,i){for(var a=0,o=0,r=t.length;o<r&&a<e;o++){var s=t.charCodeAt(o);a+=0<=s&&s<=127?n:i}return o}function R(t){return O("国",t)}function f(t,e){return r.measureText(t,e)}function _(t,e,n,i,a){null!=t&&(t+="");var o=L(i,R(e)),r=t?t.split("\n"):[],s=r.length*o,l=s,u=!0;if(n&&(l+=n[0]+n[2]),t&&a){u=!1;var c=a.outerHeight,h=a.outerWidth;if(null!=c&&c<l)t="",r=[];else if(null!=h)for(var d=y(h-(n?n[1]+n[3]:0),e,a.ellipsis,{minChar:a.minChar,placeholder:a.placeholder}),p=0,f=r.length;p<f;p++)r[p]=x(r[p],d)}return{lines:r,height:s,outerHeight:l,lineHeight:o,canCacheByTextString:u}}function A(t,e){var n={lines:[],width:0,height:0};if(null!=t&&(t+=""),!t)return n;for(var i,a=E.lastIndex=0;null!=(i=E.exec(t));){var o=i.index;a<o&&z(n,t.substring(a,o)),z(n,i[2],i[1]),a=E.lastIndex}a<t.length&&z(n,t.substring(a,t.length));var r=n.lines,s=0,l=0,u=[],c=e.textPadding,h=e.truncate,d=h&&h.outerWidth,p=h&&h.outerHeight;c&&(null!=d&&(d-=c[1]+c[3]),null!=p&&(p-=c[0]+c[2]));for(var f=0;f<r.length;f++){for(var g=r[f],m=0,v=0,y=0;y<g.tokens.length;y++){var x=(D=g.tokens[y]).styleName&&e.rich[D.styleName]||{},_=D.textPadding=x.textPadding,A=D.font=x.font||e.font,b=D.textHeight=L(x.textHeight,R(A));if(_&&(b+=_[0]+_[2]),D.height=b,D.lineHeight=B(x.textLineHeight,e.textLineHeight,b),D.textAlign=x&&x.textAlign||e.textAlign,D.textVerticalAlign=x&&x.textVerticalAlign||"middle",null!=p&&s+D.lineHeight>p)return{lines:[],width:0,height:0};D.textWidth=O(D.text,A);var w=x.textWidth,S=null==w||"auto"===w;if("string"==typeof w&&"%"===w.charAt(w.length-1))D.percentWidth=w,u.push(D),w=0;else{if(S){w=D.textWidth;var C=x.textBackgroundColor,M=C&&C.image;M&&(M=P.findExistImage(M),P.isImageReady(M)&&(w=Math.max(w,M.width*b/M.height)))}var I=_?_[1]+_[3]:0;w+=I;var T=null!=d?d-v:null;null!=T&&T<w&&(!S||T<I?(D.text="",D.textWidth=w=0):(D.text=N(D.text,T-I,A,h.ellipsis,{minChar:h.minChar}),D.textWidth=O(D.text,A),w=D.textWidth+I))}v+=D.width=w,x&&(m=Math.max(m,D.lineHeight))}g.width=v,s+=g.lineHeight=m,l=Math.max(l,v)}n.outerWidth=n.width=L(e.textWidth,l),n.outerHeight=n.height=L(e.textHeight,s),c&&(n.outerWidth+=c[1]+c[3],n.outerHeight+=c[0]+c[2]);for(f=0;f<u.length;f++){var D,k=(D=u[f]).percentWidth;D.width=parseInt(k,10)/100*l}return n}function z(t,e,n){for(var i=""===e,a=e.split("\n"),o=t.lines,r=0;r<a.length;r++){var s=a[r],l={styleName:n,text:s,isLineHolder:!s&&!i};if(r)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)}}}r.measureText=function(t,e){var n=a();return n.font=e||h,n.measureText(t)},e.DEFAULT_FONT=h,e.$override=function(t,e){r[t]=e},e.getWidth=O,e.getBoundingRect=function(t,e,n,i,a,o,r,s){return r?(u=i,c=A(t,{rich:r,truncate:s,font:e,textAlign:l=n,textPadding:a,textLineHeight:o}),h=c.outerWidth,d=c.outerHeight,p=m(0,h,l),f=v(0,d,u),new g(p,f,h,d)):function(t,e,n,i,a,o,r){var s=_(t,e,a,o,r),l=O(t,e);a&&(l+=a[1]+a[3]);var u=s.outerHeight,c=m(0,l,n),h=v(0,u,i),d=new g(c,h,l,u);return d.lineHeight=s.lineHeight,d}(t,e,n,i,a,o,s);var l,u,c,h,d,p,f},e.adjustTextX=m,e.adjustTextY=v,e.calculateTextPosition=d,e.adjustTextPositionOnRect=function(t,e,n){return d({},{textPosition:t,textDistance:n},e)},e.truncateText=N,e.getLineHeight=R,e.measureText=f,e.parsePlainText=_,e.parseRichText=A,e.makeFont=function(t){var e=(t.fontSize||t.fontFamily)&&[t.fontStyle,t.fontWeight,(t.fontSize||12)+"px",t.fontFamily||"sans-serif"].join(" ");return e&&o(e)||t.textFont||t.font}},1320:function(t,e,n){n(1127).__DEV__;var w=n(768),i=n(1241),a=n(1504),o=n(1595),r=n(1503),s=r.defaultDimValueGetters,l=r.DefaultDataProvider,u=n(1597).summarizeDimensions,c=w.isObject,h="undefined",d={float:typeof Float64Array==h?Array:Float64Array,int:typeof Int32Array==h?Array:Int32Array,ordinal:Array,number:Array,time:Array},p=typeof Uint32Array==h?Array:Uint32Array,f=typeof Int32Array==h?Array:Int32Array,g=typeof Uint16Array==h?Array:Uint16Array;function M(t){return 65535<t._rawCount?p:g}var m=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],v=["_extent","_approximateExtent","_rawExtent"];function y(e,n){w.each(m.concat(n.__wrappedMethods||[]),function(t){n.hasOwnProperty(t)&&(e[t]=n[t])}),e.__wrappedMethods=n.__wrappedMethods,w.each(v,function(t){e[t]=w.clone(n[t])}),e._calculationInfo=w.extend(n._calculationInfo)}function x(t,e){t=t||["x","y"];for(var n={},i=[],a={},o=0;o<t.length;o++){var r=t[o];w.isString(r)&&(r={name:r});var s=r.name;r.type=r.type||"float",r.coordDim||(r.coordDim=s,r.coordDimIndex=0),r.otherDims=r.otherDims||{},i.push(s),(n[s]=r).index=o,r.createInvertedIndices&&(a[s]=[])}this.dimensions=i,this._dimensionInfos=n,this.hostModel=e,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=u(this),this._invertedIndicesMap=a,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput}var _=x.prototype;function k(t,e,n,i,a){var o=d[e.type],r=i-1,s=e.name,l=t[s][r];if(l&&l.length<n){for(var u=new o(Math.min(a-r*n,n)),c=0;c<l.length;c++)u[c]=l[c];t[s][r]=u}for(var h=i*n;h<a;h+=n)t[s].push(new o(Math.min(a-h,n)))}function P(a){var o=a._invertedIndicesMap;w.each(o,function(t,e){var n=a._dimensionInfos[e].ordinalMeta;if(n){t=o[e]=new f(n.categories.length);for(var i=0;i<t.length;i++)t[i]=-1;for(i=0;i<a._count;i++)t[a.get(e,i)]=i}})}function A(t,e,n){var i;if(null!=e){var a=t._chunkSize,o=Math.floor(n/a),r=n%a,s=t.dimensions[e],l=t._storage[s][o];if(l){i=l[r];var u=t._dimensionInfos[s].ordinalMeta;u&&u.categories.length&&(i=u.categories[i])}}return i}function I(t){return t}function T(t){return t<this._count&&0<=t?this._indices[t]:-1}function b(t,e){var n=t._idList[e];return null==n&&(n=A(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n}function S(t){return w.isArray(t)||(t=[t]),t}function C(t,e){var n=t.dimensions,i=new x(w.map(n,t.getDimensionInfo,t),t.hostModel);y(i,t);for(var a=i._storage={},o=t._storage,r=0;r<n.length;r++){var s=n[r];o[s]&&(0<=w.indexOf(e,s)?(a[s]=D(o[s]),i._rawExtent[s]=L(),i._extent[s]=null):a[s]=o[s])}return i}function D(t){for(var e,n,i=new Array(t.length),a=0;a<t.length;a++)i[a]=(e=t[a],n=void 0,(n=e.constructor)===Array?e.slice():new n(e));return i}function L(){return[1/0,-1/0]}_.type="list",_.hasItemOption=!0,_.getDimension=function(t){return"number"!=typeof t&&(isNaN(t)||this._dimensionInfos.hasOwnProperty(t))||(t=this.dimensions[t]),t},_.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},_.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},_.mapDimension=function(t,e){var n=this._dimensionsSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return!0===e?(i||[]).slice():i&&i[e]},_.initData=function(t,e,n){(o.isInstance(t)||w.isArrayLike(t))&&(t=new l(t,this.dimensions.length)),this._rawData=t,this._storage={},this._indices=null,this._nameList=e||[],this._idList=[],this._nameRepeatCount={},n||(this.hasItemOption=!1),this.defaultDimValueGetter=s[this._rawData.getSource().sourceFormat],this._dimValueGetter=n=n||this.defaultDimValueGetter,this._dimValueGetterArrayRows=s.arrayRows,this._rawExtent={},this._initDataFromProvider(0,t.count()),t.pure&&(this.hasItemOption=!1)},_.getProvider=function(){return this._rawData},_.appendData=function(t){var e=this._rawData,n=this.count();e.appendData(t);var i=e.count();e.persistent||(i+=n),this._initDataFromProvider(n,i)},_.appendValues=function(t,e){for(var n=this._chunkSize,i=this._storage,a=this.dimensions,o=a.length,r=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e?e.length:0),u=this._chunkCount,c=0;c<o;c++){r[v=a[c]]||(r[v]=L()),i[v]||(i[v]=[]),k(i,this._dimensionInfos[v],n,u,l),this._chunkCount=i[v].length}for(var h=new Array(o),d=s;d<l;d++){for(var p=d-s,f=Math.floor(d/n),g=d%n,m=0;m<o;m++){var v=a[m],y=this._dimValueGetterArrayRows(t[p]||h,v,p,m);i[v][f][g]=y;var x=r[v];y<x[0]&&(x[0]=y),y>x[1]&&(x[1]=y)}e&&(this._nameList[d]=e[p])}this._rawCount=this._count=l,this._extent={},P(this)},_._initDataFromProvider=function(t,e){if(!(e<=t)){for(var n,i=this._chunkSize,a=this._rawData,o=this._storage,r=this.dimensions,s=r.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},p=this._chunkCount,f=0;f<s;f++){h[A=r[f]]||(h[A]=L());var g=l[A];0===g.otherDims.itemName&&(n=this._nameDimIdx=f),0===g.otherDims.itemId&&(this._idDimIdx=f),o[A]||(o[A]=[]),k(o,g,i,p,e),this._chunkCount=o[A].length}for(var m=new Array(s),v=t;v<e;v++){m=a.getItem(v,m);for(var y=Math.floor(v/i),x=v%i,_=0;_<s;_++){var A,b=o[A=r[_]][y],w=this._dimValueGetter(m,A,v,_);b[x]=w;var S=h[A];w<S[0]&&(S[0]=w),w>S[1]&&(S[1]=w)}if(!a.pure){var C=u[v];if(m&&null==C)if(null!=m.name)u[v]=C=m.name;else if(null!=n){var M=r[n],I=o[M][y];if(I){C=I[x];var T=l[M].ordinalMeta;T&&T.categories.length&&(C=T.categories[C])}}var D=null==m?null:m.id;null==D&&null!=C&&(d[C]=d[C]||0,0<d[D=C]&&(D+="__ec__"+d[C]),d[C]++),null!=D&&(c[v]=D)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=e,this._extent={},P(this)}},_.count=function(){return this._count},_.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array){a=new e(n);for(var i=0;i<n;i++)a[i]=t[i]}else a=new e(t.buffer,0,n)}else{var a=new(e=M(this))(this.count());for(i=0;i<a.length;i++)a[i]=i}return a},_.get=function(t,e){if(!(0<=e&&e<this._count))return NaN;var n=this._storage;if(!n[t])return NaN;e=this.getRawIndex(e);var i=Math.floor(e/this._chunkSize),a=e%this._chunkSize;return n[t][i][a]},_.getByRawIndex=function(t,e){if(!(0<=e&&e<this._rawCount))return NaN;var n=this._storage[t];if(!n)return NaN;var i=Math.floor(e/this._chunkSize),a=e%this._chunkSize;return n[i][a]},_._getFast=function(t,e){var n=Math.floor(e/this._chunkSize),i=e%this._chunkSize;return this._storage[t][n][i]},_.getValues=function(t,e){var n=[];w.isArray(t)||(e=t,t=this.dimensions);for(var i=0,a=t.length;i<a;i++)n.push(this.get(t[i],e));return n},_.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this.get(e[n],t)))return!1;return!0},_.getDataExtent=function(t){t=this.getDimension(t);var e=this._storage[t],n=L();if(!e)return n;var i,a=this.count();if(!this._indices)return this._rawExtent[t].slice();if(i=this._extent[t])return i.slice();for(var o=(i=n)[0],r=i[1],s=0;s<a;s++){var l=this._getFast(t,this.getRawIndex(s));l<o&&(o=l),r<l&&(r=l)}return i=[o,r],this._extent[t]=i},_.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},_.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},_.getCalculationInfo=function(t){return this._calculationInfo[t]},_.setCalculationInfo=function(t,e){c(t)?w.extend(this._calculationInfo,t):this._calculationInfo[t]=e},_.getSum=function(t){var e=0;if(this._storage[t])for(var n=0,i=this.count();n<i;n++){var a=this.get(t,n);isNaN(a)||(e+=a)}return e},_.getMedian=function(t){var n=[];this.each(t,function(t,e){isNaN(t)||n.push(t)});var e=[].concat(n).sort(function(t,e){return t-e}),i=this.count();return 0===i?0:i%2==1?e[(i-1)/2]:(e[i/2]+e[i/2-1])/2},_.rawIndexOf=function(t,e){var n=(t&&this._invertedIndicesMap[t])[e];return null==n||isNaN(n)?-1:n},_.indexOfName=function(t){for(var e=0,n=this.count();e<n;e++)if(this.getName(e)===t)return e;return-1},_.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,a=this._count-1;i<=a;){var o=(i+a)/2|0;if(e[o]<t)i=1+o;else{if(!(e[o]>t))return o;a=o-1}}return-1},_.indicesOfNearest=function(t,e,n){var i=[];if(!this._storage[t])return i;null==n&&(n=1/0);for(var a=Number.MAX_VALUE,o=-1,r=0,s=this.count();r<s;r++){var l=e-this.get(t,r),u=Math.abs(l);l<=n&&u<=a&&((u<a||0<=l&&o<0)&&(a=u,o=l,i.length=0),i.push(r))}return i},_.getRawIndex=I,_.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n<this.dimensions.length;n++){var i=this.dimensions[n];e.push(this.get(i,t))}return e},_.getName=function(t){var e=this.getRawIndex(t);return this._nameList[e]||A(this,this._nameDimIdx,e)||""},_.getId=function(t){return b(this,this.getRawIndex(t))},_.each=function(t,e,n,i){"use strict";if(this._count){"function"==typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this;for(var a=(t=w.map(S(t),this.getDimension,this)).length,o=0;o<this.count();o++)switch(a){case 0:e.call(n,o);break;case 1:e.call(n,this.get(t[0],o),o);break;case 2:e.call(n,this.get(t[0],o),this.get(t[1],o),o);break;default:for(var r=0,s=[];r<a;r++)s[r]=this.get(t[r],o);s[r]=o,e.apply(n,s)}}},_.filterSelf=function(t,e,n,i){"use strict";if(this._count){"function"==typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this,t=w.map(S(t),this.getDimension,this);for(var a=this.count(),o=new(M(this))(a),r=[],s=t.length,l=0,u=t[0],c=0;c<a;c++){var h,d=this.getRawIndex(c);if(0===s)h=e.call(n,c);else if(1===s){var p=this._getFast(u,d);h=e.call(n,p,c)}else{for(var f=0;f<s;f++)r[f]=this._getFast(u,d);r[f]=c,h=e.apply(n,r)}h&&(o[l++]=d)}return l<a&&(this._indices=o),this._count=l,this._extent={},this.getRawIndex=this._indices?T:I,this}},_.selectRange=function(t){"use strict";if(this._count){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);var i=e.length;if(i){var a=this.count(),o=new(M(this))(a),r=0,s=e[0],l=t[s][0],u=t[s][1],c=!1;if(!this._indices){var h=0;if(1===i){for(var d=this._storage[e[0]],p=0;p<this._chunkCount;p++)for(var f=d[p],g=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<g;m++){(l<=(A=f[m])&&A<=u||isNaN(A))&&(o[r++]=h),h++}c=!0}else if(2===i){d=this._storage[s];var v=this._storage[e[1]],y=t[e[1]][0],x=t[e[1]][1];for(p=0;p<this._chunkCount;p++){f=d[p];var _=v[p];for(g=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<g;m++){var A=f[m],b=_[m];(l<=A&&A<=u||isNaN(A))&&(y<=b&&b<=x||isNaN(b))&&(o[r++]=h),h++}}c=!0}}if(!c)if(1===i)for(m=0;m<a;m++){var w=this.getRawIndex(m);(l<=(A=this._getFast(s,w))&&A<=u||isNaN(A))&&(o[r++]=w)}else for(m=0;m<a;m++){var S=!0;for(w=this.getRawIndex(m),p=0;p<i;p++){var C=e[p];((A=this._getFast(n,w))<t[C][0]||A>t[C][1])&&(S=!1)}S&&(o[r++]=this.getRawIndex(m))}return r<a&&(this._indices=o),this._count=r,this._extent={},this.getRawIndex=this._indices?T:I,this}}},_.mapArray=function(t,e,n,i){"use strict";"function"==typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this;var a=[];return this.each(t,function(){a.push(e&&e.apply(this,arguments))},n),a},_.map=function(t,e,n,i){"use strict";n=n||i||this;var a=C(this,t=w.map(S(t),this.getDimension,this));a._indices=this._indices,a.getRawIndex=a._indices?T:I;for(var o=a._storage,r=[],s=this._chunkSize,l=t.length,u=this.count(),c=[],h=a._rawExtent,d=0;d<u;d++){for(var p=0;p<l;p++)c[p]=this.get(t[p],d);c[l]=d;var f=e&&e.apply(n,c);if(null!=f){"object"!=typeof f&&(r[0]=f,f=r);for(var g=this.getRawIndex(d),m=Math.floor(g/s),v=g%s,y=0;y<f.length;y++){var x=t[y],_=f[y],A=h[x],b=o[x];b&&(b[m][v]=_),_<A[0]&&(A[0]=_),_>A[1]&&(A[1]=_)}}}return a},_.downSample=function(t,e,n,i){for(var a=C(this,[t]),o=a._storage,r=[],s=Math.floor(1/e),l=o[t],u=this.count(),c=this._chunkSize,h=a._rawExtent[t],d=new(M(this))(u),p=0,f=0;f<u;f+=s){u-f<s&&(s=u-f,r.length=s);for(var g=0;g<s;g++){var m=this.getRawIndex(f+g),v=Math.floor(m/c),y=m%c;r[g]=l[v][y]}var x=n(r),_=this.getRawIndex(Math.min(f+i(r,x)||0,u-1)),A=_%c;(l[Math.floor(_/c)][A]=x)<h[0]&&(h[0]=x),x>h[1]&&(h[1]=x),d[p++]=_}return a._count=p,a._indices=d,a.getRawIndex=T,a},_.getItemModel=function(t){var e=this.hostModel;return new i(this.getRawDataItem(t),e,e&&e.ecModel)},_.diff=function(e){var n=this;return new a(e?e.getIndices():[],this.getIndices(),function(t){return b(e,t)},function(t){return b(n,t)})},_.getVisual=function(t){var e=this._visual;return e&&e[t]},_.setVisual=function(t,e){if(c(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},_.setLayout=function(t,e){if(c(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},_.getLayout=function(t){return this._layout[t]},_.getItemLayout=function(t){return this._itemLayouts[t]},_.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?w.extend(this._itemLayouts[t]||{},e):e},_.clearItemLayouts=function(){this._itemLayouts.length=0},_.getItemVisual=function(t,e,n){var i=this._itemVisuals[t],a=i&&i[e];return null!=a||n?a:this.getVisual(e)},_.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},a=this.hasItemVisual;if(this._itemVisuals[t]=i,c(e))for(var o in e)e.hasOwnProperty(o)&&(i[o]=e[o],a[o]=!0);else i[e]=n,a[e]=!0},_.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};function B(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType}_.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(B,e)),this._graphicEls[t]=e},_.getItemGraphicEl=function(t){return this._graphicEls[t]},_.eachItemGraphicEl=function(n,i){w.each(this._graphicEls,function(t,e){t&&n&&n.call(i,t,e)})},_.cloneShallow=function(t){if(!t){var e=w.map(this.dimensions,this.getDimensionInfo,this);t=new x(e,this.hostModel)}if(t._storage=this._storage,y(t,this),this._indices){var n=this._indices.constructor;t._indices=new n(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?T:I,t},_.wrapMethod=function(t,e){var n=this[t];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(w.slice(arguments)))})},_.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],_.CHANGABLE_METHODS=["filterSelf","selectRange"];var E=x;t.exports=E},1321:function(t,e,n){var i=n(768),u=n(852),c=n(1152),o=n(1319).calculateTextPosition,a=u.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,a=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+a,i+o),t.lineTo(n-a,i+o),t.closePath()}}),r=u.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,a=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+a,i),t.lineTo(n,i+o),t.lineTo(n-a,i),t.closePath()}}),s=u.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,a=e.width/5*3,o=Math.max(a,e.height),r=a/2,s=r*r/(o-r),l=i-o+r+s,u=Math.asin(s/r),c=Math.cos(u)*r,h=Math.sin(u),d=Math.cos(u),p=.6*r,f=.7*r;t.moveTo(n-c,l+s),t.arc(n,l,r,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-h*p,l+s+d*p,n,i-f,n,i),t.bezierCurveTo(n,i-f,n-c+h*p,l+s+d*p,n-c,l+s),t.closePath()}}),l=u.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,a=e.x,o=e.y,r=i/3*2;t.moveTo(a,o),t.lineTo(a+r,o+n),t.lineTo(a,o+n/4*3),t.lineTo(a-r,o+n),t.lineTo(a,o),t.closePath()}}),h={line:u.Line,rect:u.Rect,roundRect:u.Rect,square:u.Rect,circle:u.Circle,diamond:r,pin:s,arrow:l,triangle:a},d={line:function(t,e,n,i,a){a.x1=t,a.y1=e+i/2,a.x2=t+n,a.y2=e+i/2},rect:function(t,e,n,i,a){a.x=t,a.y=e,a.width=n,a.height=i},roundRect:function(t,e,n,i,a){a.x=t,a.y=e,a.width=n,a.height=i,a.r=Math.min(n,i)/4},square:function(t,e,n,i,a){var o=Math.min(n,i);a.x=t,a.y=e,a.width=o,a.height=o},circle:function(t,e,n,i,a){a.cx=t+n/2,a.cy=e+i/2,a.r=Math.min(n,i)/2},diamond:function(t,e,n,i,a){a.cx=t+n/2,a.cy=e+i/2,a.width=n,a.height=i},pin:function(t,e,n,i,a){a.x=t+n/2,a.y=e+i/2,a.width=n,a.height=i},arrow:function(t,e,n,i,a){a.x=t+n/2,a.y=e+i/2,a.width=n,a.height=i},triangle:function(t,e,n,i,a){a.cx=t+n/2,a.cy=e+i/2,a.width=n,a.height=i}},p={};i.each(h,function(t,e){p[e]=new t});var f=u.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=o(t,e,n),a=this.shape;return a&&"pin"===a.symbolType&&"inside"===e.textPosition&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var a=p[i];a=a||p[i="rect"],d[i](e.x,e.y,e.width,e.height,a.shape),a.buildPath(t,a.shape,n)}}});function g(t,e){if("image"!==this.type){var n=this.style,i=this.shape;i&&"line"===i.symbolType?n.stroke=t:this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff"):(n.fill&&(n.fill=t),n.stroke&&(n.stroke=t)),this.dirty(!1)}}e.createSymbol=function(t,e,n,i,a,o,r){var s,l=0===t.indexOf("empty");return l&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?u.makeImage(t.slice(8),new c(e,n,i,a),r?"center":"cover"):0===t.indexOf("path://")?u.makePath(t.slice(7),{},new c(e,n,i,a),r?"center":"cover"):new f({shape:{symbolType:t,x:e,y:n,width:i,height:a}})).__isEmptyBrush=l,s.setColor=g,s.setColor(o),s}},1381:function(t,e,n){var r=n(768),s={};function i(){this._coordinateSystems=[]}i.prototype={constructor:i,create:function(i,a){var o=[];r.each(s,function(t,e){var n=t.create(i,a);o=o.concat(n||[])}),this._coordinateSystems=o},update:function(e,n){r.each(this._coordinateSystems,function(t){t.update&&t.update(e,n)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},i.register=function(t,e){s[t]=e},i.get=function(t){return s[t]};var a=i;t.exports=a},1382:function(t,e,n){n(1127).__DEV__;var m=n(768),i=n(2586),a=n(1691),o=n(1690),v=n(965),r=n(1692),y=r.prepareLayoutBarSeries,x=r.makeColumnLayout,_=r.retrieveColumnLayout,w=n(1152);function l(t,e){var n,i,a,o=t.type,r=e.getMin(),s=e.getMax(),l=null!=r,u=null!=s,c=t.getExtent();"ordinal"===o?n=e.getCategories().length:(i=e.get("boundaryGap"),m.isArray(i)||(i=[i||0,i||0]),"boolean"==typeof i[0]&&(i=[0,0]),i[0]=v.parsePercent(i[0],1),i[1]=v.parsePercent(i[1],1),a=c[1]-c[0]||Math.abs(c[0])),null==r&&(r="ordinal"===o?n?0:NaN:c[0]-i[0]*a),null==s&&(s="ordinal"===o?n?n-1:NaN:c[1]+i[1]*a),"dataMin"===r?r=c[0]:"function"==typeof r&&(r=r({min:c[0],max:c[1]})),"dataMax"===s?s=c[1]:"function"==typeof s&&(s=s({min:c[0],max:c[1]})),null!=r&&isFinite(r)||(r=NaN),null!=s&&isFinite(s)||(s=NaN),t.setBlank(m.eqNaN(r)||m.eqNaN(s)||"ordinal"===o&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(0<r&&0<s&&!l&&(r=0),r<0&&s<0&&!u&&(s=0));var h=e.ecModel;if(h&&"time"===o){var d,p=y("bar",h);if(m.each(p,function(t){d|=t.getBaseAxis()===e.axis}),d){var f=x(p),g=function(t,e,n,i){var a=n.axis.getExtent(),o=a[1]-a[0],r=_(i,n.axis);if(void 0===r)return{min:t,max:e};var s=1/0;m.each(r,function(t){s=Math.min(t.offset,s)});var l=-1/0;m.each(r,function(t){l=Math.max(t.offset+t.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=e-t,h=c/(1-(s+l)/o)-c;return{min:t-=s/u*h,max:e+=l/u*h}}(r,s,e,f);r=g.min,s=g.max}}return[r,s]}function S(n){var e,i=n.getLabelModel().get("formatter"),a="category"===n.type?n.scale.getExtent()[0]:null;return"string"==typeof i?(e=i,i=function(t){return t=n.scale.getLabel(t),e.replace("{value}",null!=t?t:"")}):"function"==typeof i?function(t,e){return null!=a&&(e=t-a),i(s(n,t),e)}:function(t){return n.scale.getLabel(t)}}function s(t,e){return"category"===t.type?t.scale.getLabel(e):e}function u(t){var e=t.get("interval");return null==e?"auto":e}n(2587),n(2145),e.getScaleExtent=l,e.niceScaleExtent=function(t,e){var n=l(t,e),i=null!=e.getMin(),a=null!=e.getMax(),o=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var r=t.type;t.setExtent(n[0],n[1]),t.niceExtent({splitNumber:o,fixMin:i,fixMax:a,minInterval:"interval"===r||"time"===r?e.get("minInterval"):null,maxInterval:"interval"===r||"time"===r?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)},e.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new i(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new a;default:return(o.getClass(e)||a).create(t)}},e.ifAxisCrossZero=function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(0<n&&0<i||n<0&&i<0)},e.makeLabelFormatter=S,e.getAxisRawValue=s,e.estimateLabelUnionRect=function(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){var i,a,o="category"===t.type,r=n.getExtent();a=o?n.count():(i=n.getTicks()).length;var s,l,u,c,h,d,p,f,g,m=t.getLabelModel(),v=S(t),y=1;40<a&&(y=Math.ceil(a/40));for(var x=0;x<a;x+=y){var _=v(i?i[x]:r[0]+x),A=m.getTextRect(_),b=(l=A,u=m.get("rotate")||0,void 0,c=u*Math.PI/180,h=l.plain(),d=h.width,p=h.height,f=d*Math.cos(c)+p*Math.sin(c),g=d*Math.sin(c)+p*Math.cos(c),new w(h.x,h.y,f,g));s?s.union(b):s=b}return s}},e.getOptionCategoryInterval=u,e.shouldShowAllLabels=function(t){return"category"===t.type&&0===u(t.getLabelModel())}},1410:function(t,e,n){var i=n(1501);e.Dispatcher=i;var l=n(1240),d=n(2546).buildTransformer,a="undefined"!=typeof window&&!!window.addEventListener,r=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,u="___zrEVENTSAVED",c=[];function s(t,e,n,i){return n=n||{},i||!l.canvasSupported?o(t,e,n):l.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):o(t,e,n),n}function o(t,e,n){if(t.getBoundingClientRect&&l.domSupported){var i=e.clientX,a=e.clientY;if("CANVAS"===t.nodeName.toUpperCase()){var o=t.getBoundingClientRect();return n.zrX=i-o.left,void(n.zrY=a-o.top)}var r=t[u]||(t[u]={}),s=function(t,e){for(var n=e.transformer,i=e.srcCoords,a=!0,o=[],r=[],s=0;s<4;s++){var l=t[s].getBoundingClientRect(),u=2*s,c=l.left,h=l.top;o.push(c,h),a&=i&&c===i[u]&&h===i[1+u],r.push(t[s].offsetLeft,t[s].offsetTop)}return a?n:(e.srcCoords=o,e.transformer=d(o,r))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],a=["top","bottom"],o=0;o<4;o++){var r=document.createElement("div"),s=r.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",a[u]+":0",i[1-l]+":auto",a[1-u]+":auto",""].join("!important;"),t.appendChild(r),n.push(r)}return n}(t,r),r);if(s)return s(c,i,a),n.zrX=c[0],void(n.zrY=c[1])}n.zrX=n.zrY=0}var h=a?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};e.clientToLocal=s,e.normalizeEvent=function(t,e,n){if(null!=(e=e||window.event).zrX)return e;var i=e.type;if(i&&0<=i.indexOf("touch")){var a="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];a&&s(t,a,e,n)}else s(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var o=e.button;return null==e.which&&void 0!==o&&r.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e},e.addEventListener=function(t,e,n){a?t.addEventListener(e,n):t.attachEvent("on"+e,n)},e.removeEventListener=function(t,e,n){a?t.removeEventListener(e,n):t.detachEvent("on"+e,n)},e.stop=h,e.isMiddleOrRightButtonOnMouseUpDown=function(t){return 2===t.which||3===t.which},e.notLeftMouse=function(t){return 1<t.which}},1411:function(t,e,n){var i=n(2118),c={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 h(t){return(t=Math.round(t))<0?0:255<t?255:t}function d(t){return t<0?0:1<t?1:t}function p(t){return t.length&&"%"===t.charAt(t.length-1)?h(parseFloat(t)/100*255):h(parseInt(t,10))}function f(t){return t.length&&"%"===t.charAt(t.length-1)?d(parseFloat(t)/100):d(parseFloat(t))}function s(t,e,n){return n<0?n+=1:1<n&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function g(t,e,n){return t+(e-t)*n}function m(t,e,n,i,a){return t[0]=e,t[1]=n,t[2]=i,t[3]=a,t}function v(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var y=new i(20),a=null;function x(t,e){a&&v(a,e),a=y.put(t,a||e.slice())}function _(t,e){if(t){e=e||[];var n=y.get(t);if(n)return v(e,n);var i,a=(t+="").replace(/ /g,"").toLowerCase();if(a in c)return v(e,c[a]),x(t,e),e;if("#"===a.charAt(0))return 4===a.length?0<=(i=parseInt(a.substr(1),16))&&i<=4095?(m(e,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,1),x(t,e),e):void m(e,0,0,0,1):7===a.length?0<=(i=parseInt(a.substr(1),16))&&i<=16777215?(m(e,(16711680&i)>>16,(65280&i)>>8,255&i,1),x(t,e),e):void m(e,0,0,0,1):void 0;var o=a.indexOf("("),r=a.indexOf(")");if(-1!==o&&r+1===a.length){var s=a.substr(0,o),l=a.substr(o+1,r-(o+1)).split(","),u=1;switch(s){case"rgba":if(4!==l.length)return void m(e,0,0,0,1);u=f(l.pop());case"rgb":return 3!==l.length?void m(e,0,0,0,1):(m(e,p(l[0]),p(l[1]),p(l[2]),u),x(t,e),e);case"hsla":return 4!==l.length?void m(e,0,0,0,1):(l[3]=f(l[3]),A(l,e),x(t,e),e);case"hsl":return 3!==l.length?void m(e,0,0,0,1):(A(l,e),x(t,e),e);default:return}}m(e,0,0,0,1)}}function A(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=f(t[1]),a=f(t[2]),o=a<=.5?a*(i+1):a+i-a*i,r=2*a-o;return m(e=e||[],h(255*s(r,o,n+1/3)),h(255*s(r,o,n)),h(255*s(r,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function o(t,e,n){if(e&&e.length&&0<=t&&t<=1){n=n||[];var i=t*(e.length-1),a=Math.floor(i),o=Math.ceil(i),r=e[a],s=e[o],l=i-a;return n[0]=h(g(r[0],s[0],l)),n[1]=h(g(r[1],s[1],l)),n[2]=h(g(r[2],s[2],l)),n[3]=d(g(r[3],s[3],l)),n}}var r=o;function l(t,e,n){if(e&&e.length&&0<=t&&t<=1){var i=t*(e.length-1),a=Math.floor(i),o=Math.ceil(i),r=_(e[a]),s=_(e[o]),l=i-a,u=b([h(g(r[0],s[0],l)),h(g(r[1],s[1],l)),h(g(r[2],s[2],l)),d(g(r[3],s[3],l))],"rgba");return n?{color:u,leftIndex:a,rightIndex:o,value:i}:u}}var u=l;function b(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}e.parse=_,e.lift=function(t,e){var n=_(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,255<n[i]?n[i]=255:t[i]<0&&(n[i]=0);return b(n,4===n.length?"rgba":"rgb")}},e.toHex=function(t){var e=_(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},e.fastLerp=o,e.fastMapToColor=r,e.lerp=l,e.mapToColor=u,e.modifyHSL=function(t,e,n,i){if(t=_(t))return t=function(t){if(t){var e,n,i=t[0]/255,a=t[1]/255,o=t[2]/255,r=Math.min(i,a,o),s=Math.max(i,a,o),l=s-r,u=(s+r)/2;if(0==l)n=e=0;else{n=u<.5?l/(s+r):l/(2-s-r);var c=((s-i)/6+l/2)/l,h=((s-a)/6+l/2)/l,d=((s-o)/6+l/2)/l;i===s?e=d-h:a===s?e=1/3+c-d:o===s&&(e=2/3+h-c),e<0&&(e+=1),1<e&&(e-=1)}var p=[360*e,n,u];return null!=t[3]&&p.push(t[3]),p}}(t),null!=e&&(t[0]=(a=e,(a=Math.round(a))<0?0:360<a?360:a)),null!=n&&(t[1]=f(n)),null!=i&&(t[2]=f(i)),b(A(t),"rgba");var a},e.modifyAlpha=function(t,e){if((t=_(t))&&null!=e)return t[3]=d(e),b(t,"rgba")},e.stringify=b},1412:function(t,e,n){var o=n(768).each,i=n(1547),a=n(1594),r=n(1427),s=n(987),l=n(852),u=n(1808).createTask,c=n(1551),h=s.makeInner(),d=c();function p(){this.group=new i,this.uid=a.getUID("viewChart"),this.renderTask=u({plan:v,reset:y}),this.renderTask.context={view:this}}var f=p.prototype={type:"chart",init:function(t,e){},render:function(t,e,n,i){},highlight:function(t,e,n,i){m(t.getData(),i,"emphasis")},downplay:function(t,e,n,i){m(t.getData(),i,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};function g(t,e,n){if(t&&(t.trigger(e,n),t.isGroup&&!l.isHighDownDispatcher(t)))for(var i=0,a=t.childCount();i<a;i++)g(t.childAt(i),e,n)}function m(e,t,n){var i=s.queryDataIndex(e,t),a=t&&null!=t.highlightKey?l.getHighlightDigit(t.highlightKey):null;null!=i?o(s.normalizeToArray(i),function(t){g(e.getItemGraphicEl(t),n,a)}):e.eachItemGraphicEl(function(t){g(t,n,a)})}function v(t){return d(t.model)}function y(t){var e=t.model,n=t.ecModel,i=t.api,a=t.payload,o=e.pipelineContext.progressiveRender,r=t.view,s=a&&h(a).updateMethod,l=o?"incrementalPrepareRender":s&&r[s]?s:"render";return"render"!==l&&r[l](e,n,i,a),x[l]}f.updateView=f.updateLayout=f.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},r.enableClassExtend(p,["dispose"]),r.enableClassManagement(p,{registerWhenExtend:!0}),p.markUpdateMethod=function(t,e){h(t).updateMethod=e};var x={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},_=p;t.exports=_},1413:function(t,e,n){var i=n(768),p=i.each,f=i.isString;function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}e.enableDataStack=function(t,n,e){var i,a,o,r,s=(e=e||{}).byIndex,l=e.stackedCoordDimension,u=!(!t||!t.get("stack"));if(p(n,function(t,e){f(t)&&(n[e]=t={name:t}),u&&!t.isExtraCoord&&(s||i||!t.ordinalMeta||(i=t),a||"ordinal"===t.type||"time"===t.type||l&&l!==t.coordDim||(a=t))}),!a||s||i||(s=!0),a){o="__\0ecstackresult",r="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var c=a.coordDim,h=a.type,d=0;p(n,function(t){t.coordDim===c&&d++}),n.push({name:o,coordDim:c,coordDimIndex:d,type:h,isExtraCoord:!0,isCalculationCoord:!0}),d++,n.push({name:r,coordDim:r,coordDimIndex:d,type:h,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:a&&a.name,stackedByDimension:i&&i.name,isStackedByIndex:s,stackedOverDimension:r,stackResultDimension:o}},e.isDimensionStacked=a,e.getStackedDimension=function(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},1427:function(t,e,n){n(1127).__DEV__;var o=n(768),i=".",r="___EC__COMPONENT__CONTAINER___";function s(t){var e={main:"",sub:""};return t&&(t=t.split(i),e.main=t[0]||"",e.sub=t[1]||""),e}var a=0;function l(t,e){var n=o.slice(arguments,2);return this.superClass.prototype[e].apply(t,n)}function u(t,e,n){return this.superClass.prototype[e].apply(t,n)}e.parseClassType=s,e.enableClassExtend=function(t,e){(t.$constructor=t).extend=function(t){function e(){t.$constructor?t.$constructor.apply(this,arguments):n.apply(this,arguments)}var n=this;return o.extend(e.prototype,t),e.extend=this.extend,e.superCall=l,e.superApply=u,o.inherits(e,this),e.superClass=n,e}},e.enableClassCheck=function(t){var e=["__\0is_clz",a++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}},e.enableClassManagement=function(n,t){t=t||{};var a={};if(n.registerClass=function(t,e){if(e)if(n=e,o.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),(e=s(e)).sub){if(e.sub!==r){(function(t){var e=a[t.main];e&&e[r]||((e=a[t.main]={})[r]=!0);return e})(e)[e.sub]=t}}else a[e.main]=t;var n;return t},n.getClass=function(t,e,n){var i=a[t];if(i&&i[r]&&(i=e?i[e]:null),n&&!i)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return i},n.getClassesByMainType=function(t){t=s(t);var n=[],e=a[t.main];return e&&e[r]?o.each(e,function(t,e){e!==r&&n.push(t)}):n.push(e),n},n.hasClass=function(t){return t=s(t),!!a[t.main]},n.getAllClassMainTypes=function(){var n=[];return o.each(a,function(t,e){n.push(e)}),n},n.hasSubTypes=function(t){t=s(t);var e=a[t.main];return e&&e[r]},n.parseClassType=s,t.registerWhenExtend){var i=n.extend;i&&(n.extend=function(t){var e=i.call(this,t);return n.registerClass(e,t.type)})}return n},e.setReadOnly=function(t,e){}},1428:function(t,e,n){var p=n(768),f=n(1320),g=n(1552),m=n(1596).SOURCE_FORMAT_ORIGINAL,v=n(1597).getDimensionTypeByAxis,y=n(987).getDataItemValue,x=n(1381),_=n(2137).getCoordSysDefineBySeries,A=n(1595),b=n(1413).enableDataStack;function i(t,e,n){n=n||{},A.isInstance(t)||(t=A.seriesDataToSource(t));var i,a=e.get("coordinateSystem"),o=x.get(a),r=_(e);r&&(i=p.map(r.coordSysDims,function(t){var e={name:t},n=r.axisMap.get(t);if(n){var i=n.get("type");e.type=v(i)}return e})),i=i||(o&&(o.getDimensionsInfo?o.getDimensionsInfo():o.dimensions.slice())||["x","y"]);var s,l,u=g(t,{coordDimensions:i,generateCoord:n.generateCoord});r&&p.each(u,function(t,e){var n=t.coordDim,i=r.categoryAxisMap.get(n);i&&(null==s&&(s=e),t.ordinalMeta=i.getOrdinalMeta()),null!=t.otherDims.itemName&&(l=!0)}),l||null==s||(u[s].otherDims.itemName=0);var c=b(e,u),h=new f(u,e);h.setCalculationInfo(c);var d=null!=s&&function(t){if(t.sourceFormat===m){var e=function(t){var e=0;for(;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return null!=e&&!p.isArray(y(e))}}(t)?function(t,e,n,i){return i===s?n:this.defaultDimValueGetter(t,e,n,i)}:null;return h.hasItemOption=!1,h.initData(t,null,d),h}t.exports=i},1464:function(t,e,n){var i=n(1150),a=i.create,_=i.distSquare,M=Math.pow,I=Math.sqrt,o=1e-8,T=I(3),A=a(),b=a(),w=a();function D(t){return-o<t&&t<o}function p(t){return o<t||t<-o}function S(t,e,n,i,a){var o=1-a;return o*o*(o*t+3*a*e)+a*a*(a*i+3*o*n)}function y(t,e,n,i){var a=1-i;return a*(a*t+2*i*e)+i*i*n}e.cubicAt=S,e.cubicDerivativeAt=function(t,e,n,i,a){var o=1-a;return 3*(((e-t)*o+2*(n-e)*a)*o+(i-n)*a*a)},e.cubicRootAt=function(t,e,n,i,a,o){var r=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-a,c=s*s-3*r*l,h=s*l-9*r*u,d=l*l-3*s*u,p=0;if(D(c)&&D(h)){if(D(s))o[0]=0;else 0<=(S=-l/s)&&S<=1&&(o[p++]=S)}else{var f=h*h-4*c*d;if(D(f)){var g=h/c,m=-g/2;0<=(S=-s/r+g)&&S<=1&&(o[p++]=S),0<=m&&m<=1&&(o[p++]=m)}else if(0<f){var v=I(f),y=c*s+1.5*r*(-h+v),x=c*s+1.5*r*(-h-v);0<=(S=(-s-((y=y<0?-M(-y,1/3):M(y,1/3))+(x=x<0?-M(-x,1/3):M(x,1/3))))/(3*r))&&S<=1&&(o[p++]=S)}else{var _=(2*c*s-3*r*h)/(2*I(c*c*c)),A=Math.acos(_)/3,b=I(c),w=Math.cos(A),S=(-s-2*b*w)/(3*r),C=(m=(-s+b*(w+T*Math.sin(A)))/(3*r),(-s+b*(w-T*Math.sin(A)))/(3*r));0<=S&&S<=1&&(o[p++]=S),0<=m&&m<=1&&(o[p++]=m),0<=C&&C<=1&&(o[p++]=C)}}return p},e.cubicExtrema=function(t,e,n,i,a){var o=6*n-12*e+6*t,r=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(D(r)){if(p(o))0<=(c=-s/o)&&c<=1&&(a[l++]=c)}else{var u=o*o-4*r*s;if(D(u))a[0]=-o/(2*r);else if(0<u){var c,h=I(u),d=(-o-h)/(2*r);0<=(c=(-o+h)/(2*r))&&c<=1&&(a[l++]=c),0<=d&&d<=1&&(a[l++]=d)}}return l},e.cubicSubdivide=function(t,e,n,i,a,o){var r=(e-t)*a+t,s=(n-e)*a+e,l=(i-n)*a+n,u=(s-r)*a+r,c=(l-s)*a+s,h=(c-u)*a+u;o[0]=t,o[1]=r,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=i},e.cubicProjectPoint=function(t,e,n,i,a,o,r,s,l,u,c){var h,d,p,f,g,m=.005,v=1/0;A[0]=l,A[1]=u;for(var y=0;y<1;y+=.05)b[0]=S(t,n,a,r,y),b[1]=S(e,i,o,s,y),(f=_(A,b))<v&&(h=y,v=f);v=1/0;for(var x=0;x<32&&!(m<1e-4);x++)d=h-m,p=h+m,b[0]=S(t,n,a,r,d),b[1]=S(e,i,o,s,d),f=_(b,A),0<=d&&f<v?(h=d,v=f):(w[0]=S(t,n,a,r,p),w[1]=S(e,i,o,s,p),g=_(w,A),p<=1&&g<v?(h=p,v=g):m*=.5);return c&&(c[0]=S(t,n,a,r,h),c[1]=S(e,i,o,s,h)),I(v)},e.quadraticAt=y,e.quadraticDerivativeAt=function(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))},e.quadraticRootAt=function(t,e,n,i,a){var o=t-2*e+n,r=2*(e-t),s=t-i,l=0;if(D(o)){if(p(r))0<=(c=-s/r)&&c<=1&&(a[l++]=c)}else{var u=r*r-4*o*s;if(D(u))0<=(c=-r/(2*o))&&c<=1&&(a[l++]=c);else if(0<u){var c,h=I(u),d=(-r-h)/(2*o);0<=(c=(-r+h)/(2*o))&&c<=1&&(a[l++]=c),0<=d&&d<=1&&(a[l++]=d)}}return l},e.quadraticExtremum=function(t,e,n){var i=t+n-2*e;return 0==i?.5:(t-e)/i},e.quadraticSubdivide=function(t,e,n,i,a){var o=(e-t)*i+t,r=(n-e)*i+e,s=(r-o)*i+o;a[0]=t,a[1]=o,a[2]=s,a[3]=s,a[4]=r,a[5]=n},e.quadraticProjectPoint=function(t,e,n,i,a,o,r,s,l){var u,c=.005,h=1/0;A[0]=r,A[1]=s;for(var d=0;d<1;d+=.05){b[0]=y(t,n,a,d),b[1]=y(e,i,o,d),(m=_(A,b))<h&&(u=d,h=m)}h=1/0;for(var p=0;p<32&&!(c<1e-4);p++){var f=u-c,g=u+c;b[0]=y(t,n,a,f),b[1]=y(e,i,o,f);var m=_(b,A);if(0<=f&&m<h)u=f,h=m;else{w[0]=y(t,n,a,g),w[1]=y(e,i,o,g);var v=_(w,A);g<=1&&v<h?(u=g,h=v):c*=.5}}return l&&(l[0]=y(t,n,a,u),l[1]=y(e,i,o,u)),I(h)}},1465:function(t,e){var s="\0__throttleOriginMethod",l="\0__throttleRate",u="\0__throttleType";function c(t,n,i){var a,o,r,s,l,u=0,c=0,h=null;function d(){c=(new Date).getTime(),h=null,t.apply(r,s||[])}n=n||0;function e(){a=(new Date).getTime(),r=this,s=arguments;var t=l||n,e=l||i;l=null,o=a-(e?u:c)-t,clearTimeout(h),e?h=setTimeout(d,t):0<=o?d():h=setTimeout(d,-o),u=a}return e.clear=function(){h&&(clearTimeout(h),h=null)},e.debounceNextCall=function(t){l=t},e}e.throttle=c,e.createOrUpdate=function(t,e,n,i){var a=t[e];if(a){var o=a[s]||a,r=a[u];if(a[l]!==n||r!==i){if(null==n||!i)return t[e]=o;(a=t[e]=c(o,n,"debounce"===i))[s]=o,a[u]=i,a[l]=n}return a}},e.clear=function(t,e){var n=t[e];n&&n[s]&&(t[e]=n[s])}},1466:function(t,e){t.exports={legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType}",withoutName:"第{seriesId}个系列是一个{seriesType}",separator:{middle:"",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:"",end:""}}}}},1467:function(t,e,n){function i(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1}var a=n(768),p=a.each,o=a.map,r=n(965),s=r.linearMap,l=r.getPixelPrecision,f=r.round,u=n(2588),c=u.createAxisTicks,h=u.createAxisLabels,d=u.calculateCategoryInterval,g=[0,1];function m(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}i.prototype={constructor:i,contain:function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return n<=t&&t<=i},containData:function(t){return this.contain(this.dataToCoord(t))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&m(n=n.slice(),i.count()),s(t,g,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&m(n=n.slice(),i.count());var a=s(t,n,g,e);return this.scale.scale(a)},pointToData:function(t,e){},getTicksCoords:function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=c(this,e).ticks,i=o(n,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this);return function(t,e,n,i){var a=e.length;if(!t.onBand||n||!a)return;var o,r,s=t.getExtent();if(1===a)e[0].coord=s[0],o=e[1]={coord:s[0]};else{var l=e[a-1].tickValue-e[0].tickValue,u=(e[a-1].coord-e[0].coord)/l;p(e,function(t){t.coord-=u/2});var c=t.scale.getExtent();r=1+c[1]-e[a-1].tickValue,o={coord:e[a-1].coord+u*r},e.push(o)}var h=s[0]>s[1];d(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift());i&&d(s[0],e[0].coord)&&e.unshift({coord:s[0]});d(s[1],o.coord)&&(i?o.coord=s[1]:e.pop());i&&d(o.coord,s[1])&&e.push({coord:s[1]});function d(t,e){return t=f(t),e=f(e),h?e<t:t<e}}(this,i,e.get("alignWithLabel"),t.clamp),i},getViewLabels:function(){return h(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return d(this)}};var v=i;t.exports=v},1468:function(t,e,n){function i(t,e){this.opt=e,this.axisModel=t,g(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new C.Group;var n=new C.Group({position:e.position.slice(),rotation:e.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n}var a=n(768),b=a.retrieve,g=a.defaults,w=a.extend,_=a.each,S=n(1153),C=n(852),A=n(1241),o=n(965),M=o.isRadianAroundZero,I=o.remRadian,d=n(1321).createSymbol,r=n(1284),m=n(1150).applyTransform,p=n(1382).shouldShowAllLabels,T=Math.PI;i.prototype={constructor:i,hasBuilder:function(t){return!!s[t]},add:function(t){s[t].call(this)},getGroup:function(){return this.group}};var s={axisLine:function(){var o=this.opt,t=this.axisModel;if(t.get("axisLine.show")){var e=this.axisModel.axis.getExtent(),n=this._transform,r=[e[0],0],i=[e[1],0];n&&(m(r,r,n),m(i,i,n));var s=w({lineCap:"round"},t.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new C.Line({anid:"line",subPixelOptimize:!0,shape:{x1:r[0],y1:r[1],x2:i[0],y2:i[1]},style:s,strokeContainThreshold:o.strokeContainThreshold||5,silent:!0,z2:1}));var l=t.get("axisLine.symbol"),a=t.get("axisLine.symbolSize"),u=t.get("axisLine.symbolOffset")||0;if("number"==typeof u&&(u=[u,u]),null!=l){"string"==typeof l&&(l=[l,l]),"string"!=typeof a&&"number"!=typeof a||(a=[a,a]);var c=a[0],h=a[1];_([{rotate:o.rotation+Math.PI/2,offset:u[0],r:0},{rotate:o.rotation-Math.PI/2,offset:u[1],r:Math.sqrt((r[0]-i[0])*(r[0]-i[0])+(r[1]-i[1])*(r[1]-i[1]))}],function(t,e){if("none"!==l[e]&&null!=l[e]){var n=d(l[e],-c/2,-h/2,c,h,s.stroke,!0),i=t.r+t.offset,a=[r[0]+i*Math.cos(o.rotation),r[1]-i*Math.sin(o.rotation)];n.attr({rotation:t.rotate,position:a,silent:!0,z2:11}),this.group.add(n)}},this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,n=function(t,e,n){var i=e.axis;if(!e.get("axisTick.show")||i.scale.isBlank())return;for(var a=e.getModel("axisTick"),o=a.getModel("lineStyle"),r=a.get("length"),s=i.getTicksCoords(),l=[],u=[],c=t._transform,h=[],d=0;d<s.length;d++){var p=s[d].coord;l[0]=p,l[1]=0,u[0]=p,u[1]=n.tickDirection*r,c&&(m(l,l,c),m(u,u,c));var f=new C.Line({anid:"tick_"+s[d].tickValue,subPixelOptimize:!0,shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:g(o.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),z2:2,silent:!0});t.group.add(f),h.push(f)}return h}(this,t,e);!function(t,e,n){if(p(t.axis))return;var i=t.get("axisLabel.showMinLabel"),a=t.get("axisLabel.showMaxLabel");n=n||[];var o=(e=e||[])[0],r=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],c=n[1],h=n[n.length-1],d=n[n.length-2];!1===i?(f(o),f(u)):v(o,r)&&(i?(f(r),f(c)):(f(o),f(u)));!1===a?(f(s),f(h)):v(l,s)&&(a?(f(l),f(d)):(f(s),f(h)))}(t,function(u,c,h){var d=c.axis;if(!b(h.axisLabelShow,c.get("axisLabel.show"))||d.scale.isBlank())return;var p=c.getModel("axisLabel"),f=p.get("margin"),t=d.getViewLabels(),e=(b(h.labelRotate,p.get("rotate"))||0)*T/180,g=k(h.rotation,e,h.labelDirection),m=c.getCategories&&c.getCategories(!0),v=[],y=P(c),x=c.get("triggerEvent");return _(t,function(t,e){var n=t.tickValue,i=t.formattedLabel,a=t.rawLabel,o=p;m&&m[n]&&m[n].textStyle&&(o=new A(m[n].textStyle,p,c.ecModel));var r=o.getTextColor()||c.get("axisLine.lineStyle.color"),s=[d.dataToCoord(n),h.labelOffset+h.labelDirection*f],l=new C.Text({anid:"label_"+n,position:s,rotation:g.rotation,silent:y,z2:10});C.setTextStyle(l.style,o,{text:i,textAlign:o.getShallow("align",!0)||g.textAlign,textVerticalAlign:o.getShallow("verticalAlign",!0)||o.getShallow("baseline",!0)||g.textVerticalAlign,textFill:"function"==typeof r?r("category"===d.type?a:"value"===d.type?n+"":n,e):r}),x&&(l.eventData=D(c),l.eventData.targetType="axisLabel",l.eventData.value=a),u._dumbGroup.add(l),l.updateTransform(),v.push(l),u.group.add(l),l.decomposeTransform()}),v}(this,t,e),n)},axisName:function(){var t=this.opt,e=this.axisModel,n=b(t.axisName,e.get("name"));if(n){var i,a,o=e.get("nameLocation"),r=t.nameDirection,s=e.getModel("nameTextStyle"),l=e.get("nameGap")||0,u=this.axisModel.axis.getExtent(),c=u[0]>u[1]?-1:1,h=["start"===o?u[0]-c*l:"end"===o?u[1]+c*l:(u[0]+u[1])/2,L(o)?t.labelOffset+r*l:0],d=e.get("nameRotate");null!=d&&(d=d*T/180),L(o)?i=k(t.rotation,null!=d?d:t.rotation,r):(i=function(t,e,n,i){var a,o,r=I(n-t.rotation),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;a=M(r-T/2)?(o=l?"bottom":"top","center"):M(r-1.5*T)?(o=l?"top":"bottom","center"):(o="middle",r<1.5*T&&T/2<r?l?"left":"right":l?"right":"left");return{rotation:r,textAlign:a,textVerticalAlign:o}}(t,o,d||0,u),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(i.rotation)),isFinite(a)||(a=null)));var p=s.getFont(),f=e.get("nameTruncate",!0)||{},g=f.ellipsis,m=b(t.nameTruncateMaxWidth,f.maxWidth,a),v=null!=g&&null!=m?S.truncateText(n,m,p,g,{minChar:2,placeholder:f.placeholder}):n,y=e.get("tooltip",!0),x=e.mainType,_={componentType:x,name:n,$vars:["name"]};_[x+"Index"]=e.componentIndex;var A=new C.Text({anid:"name",__fullText:n,__truncatedText:v,position:h,rotation:i.rotation,silent:P(e),z2:1,tooltip:y&&y.show?w({content:n,formatter:function(){return n},formatterParams:_},y):null});C.setTextStyle(A.style,s,{text:v,textFont:p,textFill:s.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:s.get("align")||i.textAlign,textVerticalAlign:s.get("verticalAlign")||i.textVerticalAlign}),e.get("triggerEvent")&&(A.eventData=D(e),A.eventData.targetType="axisName",A.eventData.name=n),this._dumbGroup.add(A),A.updateTransform(),this.group.add(A),A.decomposeTransform()}}},D=i.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},k=i.innerTextLayout=function(t,e,n){var i,a=I(e-t);return{rotation:a,textAlign:M(a)?(i=0<n?"top":"bottom","center"):M(a-T)?(i=0<n?"bottom":"top","center"):(i="middle",0<a&&a<T?0<n?"right":"left":0<n?"left":"right"),textVerticalAlign:i}};var P=i.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function f(t){t&&(t.ignore=!0)}function v(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var a=r.identity([]);return r.rotate(a,a,-t.rotation),n.applyTransform(r.mul([],a,t.getLocalTransform())),i.applyTransform(r.mul([],a,e.getLocalTransform())),n.intersect(i)}}function L(t){return"middle"===t||"center"===t}var l=i;t.exports=l},1469:function(t,e){var n={};e.register=function(t,e){n[t]=e},e.get=function(t){return n[t]}},1501:function(t,e){function n(t){this._$handlers={},this._$eventProcessor=t}var u=Array.prototype.slice;function a(t,e,n,i,a,o){var r,s,l=t._$handlers;if("function"==typeof n&&(a=i,i=n,n=null),!i||!e)return t;r=n,s=t._$eventProcessor,null!=r&&s&&s.normalizeQuery&&(r=s.normalizeQuery(r)),n=r,l[e]||(l[e]=[]);for(var u=0;u<l[e].length;u++)if(l[e][u].h===i)return t;var c={h:i,one:o,query:n,ctx:a||t,callAtLast:i.zrEventfulCallAtLast},h=l[e].length-1,d=l[e][h];return d&&d.callAtLast?l[e].splice(h,0,c):l[e].push(c),t}n.prototype={constructor:n,one:function(t,e,n,i){return a(this,t,e,n,i,!0)},on:function(t,e,n,i){return a(this,t,e,n,i,!1)},isSilent:function(t){var e=this._$handlers;return!e[t]||!e[t].length},off:function(t,e){var n=this._$handlers;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],a=0,o=n[t].length;a<o;a++)n[t][a].h!==e&&i.push(n[t][a]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},trigger:function(t){var e=this._$handlers[t],n=this._$eventProcessor;if(e){var i=arguments,a=i.length;3<a&&(i=u.call(i,1));for(var o=e.length,r=0;r<o;){var s=e[r];if(n&&n.filter&&null!=s.query&&!n.filter(t,s.query))r++;else{switch(a){case 1:s.h.call(s.ctx);break;case 2:s.h.call(s.ctx,i[1]);break;case 3:s.h.call(s.ctx,i[1],i[2]);break;default:s.h.apply(s.ctx,i)}s.one?(e.splice(r,1),o--):r++}}}return n&&n.afterTrigger&&n.afterTrigger(t),this},triggerWithContext:function(t){var e=this._$handlers[t],n=this._$eventProcessor;if(e){var i=arguments,a=i.length;4<a&&(i=u.call(i,1,i.length-1));for(var o=i[i.length-1],r=e.length,s=0;s<r;){var l=e[s];if(n&&n.filter&&null!=l.query&&!n.filter(t,l.query))s++;else{switch(a){case 1:l.h.call(o);break;case 2:l.h.call(o,i[1]);break;case 3:l.h.call(o,i[1],i[2]);break;default:l.h.apply(o,i)}l.one?(e.splice(s,1),r--):s++}}}return n&&n.afterTrigger&&n.afterTrigger(t),this}};var i=n;t.exports=i},1502:function(t,e,n){function i(t){a.call(this,t)}var a=n(1593),o=n(768),r=n(1319),s=n(1685),l=n(1684).ContextCachedBy;i.prototype={constructor:i,type:"text",brush:function(t,e){var n=this.style;this.__dirty&&s.normalizeTextStyle(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null;var i=n.text;null!=i&&(i+=""),s.needDrawText(i,n)?(this.setTransform(t),s.renderText(this,t,i,n,null,e),this.restoreTransform(t)):t.__attrCachedBy=l.NONE},getBoundingRect:function(){var t=this.style;if(this.__dirty&&s.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var n=r.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(n.x+=t.x||0,n.y+=t.y||0,s.getStroke(t.textStroke,t.textStrokeWidth)){var i=t.textStrokeWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect}},o.inherits(i,a);var u=i;t.exports=u},1503:function(t,e,n){n(1127).__DEV__;var i=n(768),o=(i.isTypedArray,i.extend),r=(i.assert,i.each),s=i.isObject,a=n(987),l=a.getDataItemValue,u=a.isDataItemOption,c=n(965).parseDate,h=n(1595),d=n(1596),p=d.SOURCE_FORMAT_TYPED_ARRAY,f=d.SOURCE_FORMAT_ARRAY_ROWS,g=d.SOURCE_FORMAT_ORIGINAL,m=d.SOURCE_FORMAT_OBJECT_ROWS;function v(t,e){h.isInstance(t)||(t=h.seriesDataToSource(t)),this._source=t;var n=this._data=t.data,i=t.sourceFormat;i===p&&(this._offset=0,this._dimSize=e,this._data=n);var a=x[i===f?i+"_"+t.seriesLayoutBy:i];o(this,a)}var y=v.prototype;y.pure=!1;var x={arrayRows_column:{pure:y.persistent=!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:b},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],n=this._data,i=0;i<n.length;i++){var a=n[i];e.push(a?a[t]:null)}return e},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:_,getItem:A,appendData:b},keyedColumns:{pure:!0,count:function(){var t=this._source.dimensionsDefine[0].name,e=this._data[t];return e?e.length:0},getItem:function(t){for(var e=[],n=this._source.dimensionsDefine,i=0;i<n.length;i++){var a=this._data[n[i].name];e.push(a?a[t]:null)}return e},appendData:function(t){var a=this._data;r(t,function(t,e){for(var n=a[e]||(a[e]=[]),i=0;i<(t||[]).length;i++)n.push(t[i])})}},original:{count:_,getItem:A,appendData:b},typedArray:{persistent:!(y.getSource=function(){return this._source}),pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(t,e){t-=this._offset,e=e||[];for(var n=this._dimSize*t,i=0;i<this._dimSize;i++)e[i]=this._data[n+i];return e},appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}}};function _(){return this._data.length}function A(t){return this._data[t]}function b(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}var w={arrayRows:S,objectRows:function(t,e,n,i){return null!=n?t[i]:t},keyedColumns:S,original:function(t,e,n,i){var a=l(t);return null!=n&&a instanceof Array?a[n]:a},typedArray:S};function S(t,e,n,i){return null!=n?t[n]:t}var C={arrayRows:M,objectRows:function(t,e,n,i){return I(t[e],this._dimensionInfos[e])},keyedColumns:M,original:function(t,e,n,i){var a=t&&(null==t.value?t:t.value);return!this._rawData.pure&&u(t)&&(this.hasItemOption=!0),I(a instanceof Array?a[i]:a,this._dimensionInfos[e])},typedArray:function(t,e,n,i){return t[i]}};function M(t,e,n,i){return I(t[i],this._dimensionInfos[e])}function I(t,e){var n=e&&e.type;if("ordinal"!==n)return"time"===n&&"number"!=typeof t&&null!=t&&"-"!==t&&(t=+c(t)),null==t||""===t?NaN:+t;var i=e&&e.ordinalMeta;return i?i.parseAndCollect(t):t}e.DefaultDataProvider=v,e.defaultDimValueGetters=C,e.retrieveRawValue=function(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var a,o,r=t.getProvider().getSource().sourceFormat,s=t.getDimensionInfo(n);return s&&(a=s.name,o=s.index),w[r](i,e,o,a)}}},e.retrieveRawAttr=function(t,e,n){if(t){var i=t.getProvider().getSource().sourceFormat;if(i===g||i===m){var a=t.getRawDataItem(e);return i!==g||s(a)||(a=null),a?a[n]:void 0}}}},1504:function(t,e){function o(t){return t}function n(t,e,n,i,a){this._old=t,this._new=e,this._oldKeyGetter=n||o,this._newKeyGetter=i||o,this.context=a}function c(t,e,n,i,a){for(var o=0;o<t.length;o++){var r="_ec_"+a[i](t[o],o),s=e[r];null==s?(n.push(r),e[r]=o):(s.length||(e[r]=s=[s]),s.push(o))}}n.prototype={constructor:n,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t=this._old,e=this._new,n={},i=[],a=[];for(c(t,{},i,"_oldKeyGetter",this),c(e,n,a,"_newKeyGetter",this),o=0;o<t.length;o++){if(null!=(s=n[r=i[o]]))(u=s.length)?(1===u&&(n[r]=null),s=s.shift()):n[r]=null,this._update&&this._update(s,o);else this._remove&&this._remove(o)}for(var o=0;o<a.length;o++){var r=a[o];if(n.hasOwnProperty(r)){var s;if(null==(s=n[r]))continue;if(s.length)for(var l=0,u=s.length;l<u;l++)this._add&&this._add(s[l]);else this._add&&this._add(s)}}}};var i=n;t.exports=i},1505:function(t,e,n){var f=n(768).isFunction;t.exports=function(t,r,s){return{seriesType:t,performRawSeries:!0,reset:function(l,t,e){var n=l.getData(),u=l.get("symbol"),c=l.get("symbolSize"),i=l.get("symbolKeepAspect"),h=f(u),d=f(c),p=h||d,a=!h&&u?u:r,o=d?null:c;if(n.setVisual({legendSymbol:s||a,symbol:a,symbolSize:o,symbolKeepAspect:i}),!t.isSeriesFiltered(l))return{dataEach:n.hasItemOption||p?function(t,e){if(p){var n=l.getRawValue(e),i=l.getDataParams(e);h&&t.setItemVisual(e,"symbol",u(n,i)),d&&t.setItemVisual(e,"symbolSize",c(n,i))}if(t.hasItemOption){var a=t.getItemModel(e),o=a.getShallow("symbol",!0),r=a.getShallow("symbolSize",!0),s=a.getShallow("symbolKeepAspect",!0);null!=o&&t.setItemVisual(e,"symbol",o),null!=r&&t.setItemVisual(e,"symbolSize",r),null!=s&&t.setItemVisual(e,"symbolKeepAspect",s)}}:null}}}}},1506:function(t,e,n){n(1127).__DEV__;var i=n(789),l=n(1695),u=i.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,i){this.axisPointerClass&&l.fixValue(t),u.superApply(this,"render",arguments),o(this,t,e,n,i,!0)},updateAxisPointer:function(t,e,n,i,a){o(this,t,e,n,i,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),u.superApply(this,"remove",arguments)},dispose:function(t,e){c(this,e),u.superApply(this,"dispose",arguments)}});function o(t,e,n,i,a,o){var r=u.getAxisPointerClass(t.axisPointerClass);if(r){var s=l.getAxisPointerModel(e);s?(t._axisPointer||(t._axisPointer=new r)).render(e,s,i,o):c(t,i)}}function c(t,e,n){var i=t._axisPointer;i&&i.dispose(e,n),t._axisPointer=null}var a=[];u.registerAxisPointerClass=function(t,e){a[t]=e},u.getAxisPointerClass=function(t){return t&&a[t]};var r=u;t.exports=r},1507:function(t,e,n){var r=n(768);function i(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}e.retrieveTargetInfo=function(t,e,n){if(t&&0<=r.indexOf(e,t.type)){var i=n.getData().tree.root,a=t.targetNode;if("string"==typeof a&&(a=i.getNodeById(a)),a&&i.contains(a))return{node:a};var o=t.targetNodeId;if(null!=o&&(a=i.getNodeById(o)))return{node:a}}},e.getPathToRoot=i,e.aboveViewRoot=function(t,e){var n=i(t);return 0<=r.indexOf(n,e)},e.wrapTreePathInfo=function(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}},1508:function(t,e,n){var s=n(768),o=n(1411),a=n(965).linearMap,l=s.each,r=s.isObject,u=-1,c=function(t){var e=t.mappingMethod,n=t.type,i=this.option=s.clone(t);this.type=n,this.mappingMethod=e,this._normalizeData=_[e];var a,o,r=h[n];this.applyVisual=r.applyVisual,this.getColorMapper=r.getColorMapper,this._doMap=r._doMap[e],"piecewise"===e?(d(i),o=(a=i).pieceList,a.hasSpecialVisual=!1,s.each(o,function(t,e){t.originIndex=e,null!=t.visual&&(a.hasSpecialVisual=!0)})):"category"===e?i.categories?function(t){var e=t.categories,n=t.visual,i=t.categoryMap={};if(l(e,function(t,e){i[t]=e}),!s.isArray(n)){var a=[];s.isObject(n)?l(n,function(t,e){var n=i[e];a[null!=n?n:u]=t}):a[u]=n,n=x(t,a)}for(var o=e.length-1;0<=o;o--)null==n[o]&&(delete i[e[o]],e.pop())}(i):d(i,!0):(s.assert("linear"!==e||i.dataExtent),d(i))};c.prototype={constructor:c,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return s.bind(this._normalizeData,this)}};var h=c.visualHandlers={color:{applyVisual:f("color"),getColorMapper:function(){var a=this.option;return s.bind("category"===a.mappingMethod?function(t,e){return e||(t=this._normalizeData(t)),g.call(this,t)}:function(t,e,n){var i=!!n;return e||(t=this._normalizeData(t)),n=o.fastLerp(t,a.parsedVisual,n),i?n:o.stringify(n,"rgba")},this)},_doMap:{linear:function(t){return o.stringify(o.fastLerp(t,this.option.parsedVisual),"rgba")},category:g,piecewise:function(t,e){var n=y.call(this,e);return null==n&&(n=o.stringify(o.fastLerp(t,this.option.parsedVisual),"rgba")),n},fixed:m}},colorHue:i(function(t,e){return o.modifyHSL(t,e)}),colorSaturation:i(function(t,e){return o.modifyHSL(t,null,e)}),colorLightness:i(function(t,e){return o.modifyHSL(t,null,null,e)}),colorAlpha:i(function(t,e){return o.modifyAlpha(t,e)}),opacity:{applyVisual:f("opacity"),_doMap:v([0,1])},liftZ:{applyVisual:f("liftZ"),_doMap:{linear:m,category:m,piecewise:m,fixed:m}},symbol:{applyVisual:function(t,e,n){var i=this.mapValueToVisual(t);if(s.isString(i))n("symbol",i);else if(r(i))for(var a in i)i.hasOwnProperty(a)&&n(a,i[a])},_doMap:{linear:p,category:g,piecewise:function(t,e){var n=y.call(this,e);return null==n&&(n=p.call(this,t)),n},fixed:m}},symbolSize:{applyVisual:f("symbolSize"),_doMap:v([0,1])}};function d(t,e){var n=t.visual,i=[];s.isObject(n)?l(n,function(t){i.push(t)}):null!=n&&i.push(n);e||1!==i.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(i[1]=i[0]),x(t,i)}function i(i){return{applyVisual:function(t,e,n){t=this.mapValueToVisual(t),n("color",i(e("color"),t))},_doMap:v([0,1])}}function p(t){var e=this.option.visual;return e[Math.round(a(t,[0,1],[0,e.length-1],!0))]||{}}function f(i){return function(t,e,n){n(i,this.mapValueToVisual(t))}}function g(t){var e=this.option.visual;return e[this.option.loop&&t!==u?t%e.length:t]}function m(){return this.option.visual[0]}function v(i){return{linear:function(t){return a(t,i,this.option.visual,!0)},category:g,piecewise:function(t,e){var n=y.call(this,e);return null==n&&(n=a(t,i,this.option.visual,!0)),n},fixed:m}}function y(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=n[c.findPieceIndex(t,n)];if(i&&i.visual)return i.visual[this.type]}}function x(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=s.map(e,function(t){return o.parse(t)})),e}var _={linear:function(t){return a(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=c.findPieceIndex(t,e,!0);if(null!=n)return a(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?u:e},fixed:s.noop};function A(t,e,n){return t?e<=n:e<n}c.listVisualTypes=function(){var n=[];return s.each(h,function(t,e){n.push(e)}),n},c.addVisualHandler=function(t,e){h[t]=e},c.isValidType=function(t){return h.hasOwnProperty(t)},c.eachVisual=function(t,e,n){s.isObject(t)?s.each(t,e,n):e.call(n,t)},c.mapVisual=function(t,i,a){var o,r=s.isArray(t)?[]:s.isObject(t)?{}:(o=!0,null);return c.eachVisual(t,function(t,e){var n=i.call(a,t,e);o?r=n:r[e]=n}),r},c.retrieveVisuals=function(n){var i,a={};return n&&l(h,function(t,e){n.hasOwnProperty(e)&&(a[e]=n[e],i=!0)}),i?a:null},c.prepareVisualTypes=function(t){if(r(t)){var n=[];l(t,function(t,e){n.push(e)}),t=n}else{if(!s.isArray(t))return[];t=t.slice()}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1}),t},c.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},c.findPieceIndex=function(i,t,e){for(var a,o=1/0,n=0,r=t.length;n<r;n++){var s=t[n].value;if(null!=s){if(s===i||"string"==typeof s&&s===i+"")return n;e&&h(s,n)}}for(n=0,r=t.length;n<r;n++){var l=t[n],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if(A(c[1],i,u[1]))return n}else if(u[1]===1/0){if(A(c[0],u[0],i))return n}else if(A(c[0],u[0],i)&&A(c[1],i,u[1]))return n;e&&h(u[0],n),e&&h(u[1],n)}}if(e)return i===1/0?t.length-1:i===-1/0?0:a;function h(t,e){var n=Math.abs(t-i);n<o&&(o=n,a=e)}};var b=c;t.exports=b},1547:function(t,e,n){function o(t){for(var e in t=t||{},i.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0}var r=n(768),i=n(2116),u=n(1152);o.prototype={constructor:o,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},childCount:function(){return this._children.length},add:function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);0<=i&&(n.splice(i,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t);var e=(t.parent=this).__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,i=this._children,a=r.indexOf(i,t);return a<0||(i.splice(a,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(n)),e&&e.refresh()),this},removeAll:function(){var t,e,n=this._children,i=this.__storage;for(e=0;e<n.length;e++)t=n[e],i&&(i.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(i)),t.parent=null;return n.length=0,this},eachChild:function(t,e){for(var n=this._children,i=0;i<n.length;i++){var a=n[i];t.call(e,a,i)}return this},traverse:function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n];t.call(e,i),"group"===i.type&&i.traverse(t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children.length;e++){var n=this._children[e];t.addToStorage(n),n instanceof o&&n.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children.length;e++){var n=this._children[e];t.delFromStorage(n),n instanceof o&&n.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,n=new u(0,0,0,0),i=t||this._children,a=[],o=0;o<i.length;o++){var r=i[o];if(!r.ignore&&!r.invisible){var s=r.getBoundingRect(),l=r.getLocalTransform(a);l?(n.copy(s),n.applyTransform(l),(e=e||n.clone()).union(n)):(e=e||s.clone()).union(s)}}return e||n}},r.inherits(o,i);var a=o;t.exports=a},1548:function(t,e,n){var i=n(1593),a=n(1152),o=n(768),f=n(1802);function r(t){i.call(this,t)}r.prototype={constructor:r,type:"image",brush:function(t,e){var n=this.style,i=n.image;n.bind(t,this,e);var a=this._image=f.createOrUpdateImage(i,this._image,this,this.onload);if(a&&f.isImageReady(a)){var o=n.x||0,r=n.y||0,s=n.width,l=n.height,u=a.width/a.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=a.width,l=a.height),this.setTransform(t),n.sWidth&&n.sHeight){var c=n.sx||0,h=n.sy||0;t.drawImage(a,c,h,n.sWidth,n.sHeight,o,r,s,l)}else if(n.sx&&n.sy){var d=s-(c=n.sx),p=l-(h=n.sy);t.drawImage(a,c,h,d,p,o,r,s,l)}else t.drawImage(a,o,r,s,l);null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new a(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},o.inherits(r,i);var s=r;t.exports=s},1549:function(t,e,n){var l=n(768);t.exports=function(s){for(var t=0;t<s.length;t++)s[t][1]||(s[t][1]=s[t][0]);return function(t,e,n){for(var i={},a=0;a<s.length;a++){var o=s[a][1];if(!(e&&0<=l.indexOf(e,o)||n&&l.indexOf(n,o)<0)){var r=t.getShallow(o);null!=r&&(i[s[a][0]]=r)}}return i}}},1550:function(t,e,n){function i(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null}var b=n(1464),m=n(1150),v=n(1686),y=n(1152),a=n(1683).devicePixelRatio,C={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},x=[],_=[],A=[],w=[],S=Math.min,M=Math.max,I=Math.cos,T=Math.sin,D=Math.sqrt,k=Math.abs,s="undefined"!=typeof Float32Array;i.prototype={constructor:i,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,n){n=n||0,this._ux=k(n/a/t)||0,this._uy=k(n/a/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return(this._ctx=t)&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(C.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=k(t-this._xi)>this._ux||k(e-this._yi)>this._uy||this._len<5;return this.addData(C.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,a,o){return this.addData(C.C,t,e,n,i,a,o),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,a,o):this._ctx.bezierCurveTo(t,e,n,i,a,o)),this._xi=a,this._yi=o,this},quadraticCurveTo:function(t,e,n,i){return this.addData(C.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,a,o){return this.addData(C.A,t,e,n,n,i,a-i,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,a,o),this._xi=I(a)*n+t,this._yi=T(a)*n+e,this},arcTo:function(t,e,n,i,a){return this._ctx&&this._ctx.arcTo(t,e,n,i,a),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(C.R,t,e,n,i),this},closePath:function(){this.addData(C.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t;for(var e=this._dashIdx=0,n=0;n<t.length;n++)e+=t[n];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(t){var e=t.length;this.data&&this.data.length===e||!s||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},appendPath:function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,a=0;a<e;a++)n+=t[a].len();s&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(a=0;a<e;a++)for(var o=t[a].data,r=0;r<o.length;r++)this.data[i++]=o[r];this._len=i},addData:function(t){if(this._saveData){var e=this.data;this._len+arguments.length>e.length&&(this._expandData(),e=this.data);for(var n=0;n<arguments.length;n++)e[this._len++]=arguments[n];this._prevCmd=t}},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var n,i,a=this._dashSum,o=this._dashOffset,r=this._lineDash,s=this._ctx,l=this._xi,u=this._yi,c=t-l,h=e-u,d=D(c*c+h*h),p=l,f=u,g=r.length;for(o<0&&(o=a+o),p-=(o%=a)*(c/=d),f-=o*(h/=d);0<c&&p<=t||c<0&&t<=p||0===c&&(0<h&&f<=e||h<0&&e<=f);)p+=c*(n=r[i=this._dashIdx]),f+=h*n,this._dashIdx=(i+1)%g,0<c&&p<l||c<0&&l<p||0<h&&f<u||h<0&&u<f||s[i%2?"moveTo":"lineTo"](0<=c?S(p,t):M(p,t),0<=h?S(f,e):M(f,e));c=p-t,h=f-e,this._dashOffset=-D(c*c+h*h)},_dashedBezierTo:function(t,e,n,i,a,o){var r,s,l,u,c,h=this._dashSum,d=this._dashOffset,p=this._lineDash,f=this._ctx,g=this._xi,m=this._yi,v=b.cubicAt,y=0,x=this._dashIdx,_=p.length,A=0;for(d<0&&(d=h+d),d%=h,r=0;r<1;r+=.1)s=v(g,t,n,a,r+.1)-v(g,t,n,a,r),l=v(m,e,i,o,r+.1)-v(m,e,i,o,r),y+=D(s*s+l*l);for(;x<_&&!(d<(A+=p[x]));x++);for(r=(A-d)/y;r<=1;)u=v(g,t,n,a,r),c=v(m,e,i,o,r),x%2?f.moveTo(u,c):f.lineTo(u,c),r+=p[x]/y,x=(x+1)%_;x%2!=0&&f.lineTo(a,o),s=a-u,l=o-c,this._dashOffset=-D(s*s+l*l)},_dashedQuadraticTo:function(t,e,n,i){var a=n,o=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,a,o)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,s&&(this.data=new Float32Array(t)))},getBoundingRect:function(){x[0]=x[1]=A[0]=A[1]=Number.MAX_VALUE,_[0]=_[1]=w[0]=w[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,i=0,a=0,o=0;o<t.length;){var r=t[o++];switch(1===o&&(i=e=t[o],a=n=t[o+1]),r){case C.M:e=i=t[o++],n=a=t[o++],A[0]=i,A[1]=a,w[0]=i,w[1]=a;break;case C.L:v.fromLine(e,n,t[o],t[o+1],A,w),e=t[o++],n=t[o++];break;case C.C:v.fromCubic(e,n,t[o++],t[o++],t[o++],t[o++],t[o],t[o+1],A,w),e=t[o++],n=t[o++];break;case C.Q:v.fromQuadratic(e,n,t[o++],t[o++],t[o],t[o+1],A,w),e=t[o++],n=t[o++];break;case C.A:var s=t[o++],l=t[o++],u=t[o++],c=t[o++],h=t[o++],d=t[o++]+h;o+=1;var p=1-t[o++];1===o&&(i=I(h)*u+s,a=T(h)*c+l),v.fromArc(s,l,u,c,h,d,p,A,w),e=I(d)*u+s,n=T(d)*c+l;break;case C.R:i=e=t[o++],a=n=t[o++];var f=t[o++],g=t[o++];v.fromLine(i,a,i+f,a+g,A,w);break;case C.Z:e=i,n=a}m.min(x,x,A),m.max(_,_,w)}return 0===o&&(x[0]=x[1]=_[0]=_[1]=0),new y(x[0],x[1],_[0]-x[0],_[1]-x[1])},rebuildPath:function(t){for(var e,n,i,a,o,r,s=this.data,l=this._ux,u=this._uy,c=this._len,h=0;h<c;){var d=s[h++];switch(1===h&&(e=i=s[h],n=a=s[h+1]),d){case C.M:e=i=s[h++],n=a=s[h++],t.moveTo(i,a);break;case C.L:o=s[h++],r=s[h++],(k(o-i)>l||k(r-a)>u||h===c-1)&&(t.lineTo(o,r),i=o,a=r);break;case C.C:t.bezierCurveTo(s[h++],s[h++],s[h++],s[h++],s[h++],s[h++]),i=s[h-2],a=s[h-1];break;case C.Q:t.quadraticCurveTo(s[h++],s[h++],s[h++],s[h++]),i=s[h-2],a=s[h-1];break;case C.A:var p=s[h++],f=s[h++],g=s[h++],m=s[h++],v=s[h++],y=s[h++],x=s[h++],_=s[h++],A=m<g?g:m,b=m<g?1:g/m,w=m<g?m/g:1,S=v+y;.001<Math.abs(g-m)?(t.translate(p,f),t.rotate(x),t.scale(b,w),t.arc(0,0,A,v,S,1-_),t.scale(1/b,1/w),t.rotate(-x),t.translate(-p,-f)):t.arc(p,f,A,v,S,1-_),1===h&&(e=I(v)*g+p,n=T(v)*m+f),i=I(S)*g+p,a=T(S)*m+f;break;case C.R:e=i=s[h],n=a=s[h+1],t.rect(s[h++],s[h++],s[h++],s[h++]);break;case C.Z:t.closePath(),i=e,a=n}}}},i.CMD=C;var o=i;t.exports=o},1551:function(t,e,n){var i=n(987).makeInner;t.exports=function(){var s=i();return function(t){var e=s(t),n=t.pipelineContext,i=e.large,a=e.progressiveRender,o=e.large=n.large,r=e.progressiveRender=n.progressiveRender;return!!(i^o||a^r)&&"reset"}}},1552:function(t,e,n){var i=n(2142);t.exports=function(t,e){return i((e=e||{}).coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}},1553:function(t,e,n){var i=n(768),a={getMin:function(t){var e=this.option,n=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&"function"!=typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(t){var e=this.option,n=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&"function"!=typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:i.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};t.exports=a},1554:function(t,e,n){var r=n(1552),s=n(1320),i=n(768),l=i.extend,u=i.isArray;t.exports=function(t,e,n){e=u(e)&&{coordDimensions:e}||l({},e);var i=t.getSource(),a=r(i,e),o=new s(a,t);return o.initData(i,n),o}},1555:function(t,e){function d(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:0<n?-1:n<0?1:e?-1:1}}function p(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}t.exports=function(t,e,n,i,a,o){t=t||0;var r=n[1]-n[0];if(null!=a&&(a=p(a,[0,r])),null!=o&&(o=Math.max(o,null!=a?a:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=p(s,[0,r]),a=o=p(s,[a,o]),i=0}e[0]=p(e[0],n),e[1]=p(e[1],n);var l=d(e,i);e[i]+=t;var u=a||0,c=n.slice();l.sign<0?c[0]+=u:c[1]-=u,e[i]=p(e[i],c);var h=d(e,i);return null!=a&&(h.sign!==l.sign||h.span<a)&&(e[1-i]=e[i]+l.sign*a),h=d(e,i),null!=o&&h.span>o&&(e[1-i]=e[i]+h.sign*o),e}},1556:function(t,e,n){n(1127).__DEV__;var i=n(789),s=n(768),a=n(1240),o=n(987),r=n(1825),l=n(2776),u=s.each,c=r.eachAxisDim;function h(e){var n={};return u(["start","end","startValue","endValue","throttle"],function(t){e.hasOwnProperty(t)&&(n[t]=e[t])}),n}function d(t,a){var o=t._rangePropMode,r=t.get("rangeMode");u([["start","startValue"],["end","endValue"]],function(t,e){var n=null!=a[t[0]],i=null!=a[t[1]];n&&!i?o[e]="percent":!n&&i?o[e]="value":r?o[e]=r[e]:n&&(o[e]="percent")})}var p=i.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,e,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=h(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this.doInit(i)},mergeOption:function(t){var e=h(t);s.merge(this.option,t,!0),s.merge(this.settledOption,e,!0),this.doInit(e)},doInit:function(t){var n=this.option;a.canvasSupported||(n.realtime=!1),this._setDefaultThrottle(t),d(this,t);var i=this.settledOption;u([["start","startValue"],["end","endValue"]],function(t,e){"value"===this._rangePropMode[e]&&(n[t[0]]=i[t[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var r=this._axisProxies;this.eachTargetAxis(function(t,e,n,i){var a=this.dependentModels[t.axis][e],o=a.__dzAxisProxy||(a.__dzAxisProxy=new l(t.name,e,this,i));r[t.name+"_"+e]=o},this)},_resetTarget:function(){var n=this.option,t=this._judgeAutoMode();c(function(t){var e=t.axisIndex;n[e]=o.normalizeToArray(n[e])},this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,n=!1;c(function(t){null!=e[t.axisIndex]&&(n=!0)},this);var t=e.orient;return null==t&&n?"orient":n?void 0:(null==t&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var o=!0,e=this.get("orient",!0),r=this.option,t=this.dependentModels;if(o){var n="vertical"===e?"y":"x";t[n+"Axis"].length?(r[n+"AxisIndex"]=[0],o=!1):u(t.singleAxis,function(t){o&&t.get("orient",!0)===e&&(r.singleAxisIndex=[t.componentIndex],o=!1)})}o&&c(function(t){if(o){var e=[],n=this.dependentModels[t.axis];if(n.length&&!e.length)for(var i=0,a=n.length;i<a;i++)"category"===n[i].get("type")&&e.push(i);(r[t.axisIndex]=e).length&&(o=!1)}},this),o&&this.ecModel.eachSeries(function(a){this._isSeriesHasAllAxesTypeOf(a,"value")&&c(function(t){var e=r[t.axisIndex],n=a.get(t.axisIndex),i=a.get(t.axisId);n=a.ecModel.queryComponents({mainType:t.axis,index:n,id:i})[0].componentIndex,s.indexOf(e,n)<0&&e.push(n)})},this)},_autoSetOrient:function(){var e;this.eachTargetAxis(function(t){e=e||t.name},this),this.option.orient="y"===e?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(i,a){var o=!0;return c(function(t){var e=i.get(t.axisIndex),n=this.dependentModels[t.axis][e];n&&n.get("type")===a||(o=!1)},this),o},_setDefaultThrottle:function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&0<e.animationDurationUpdate?100:20}},getFirstTargetAxisModel:function(){var n;return c(function(t){if(null==n){var e=this.get(t.axisIndex);e.length&&(n=this.dependentModels[t.axis][e[0]])}},this),n},eachTargetAxis:function(n,i){var a=this.ecModel;c(function(e){u(this.get(e.axisIndex),function(t){n.call(i,e,t,this,a)},this)},this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var n=this.getAxisProxy(t,e);return n&&n.getAxisModel()},setRawRange:function(e){var n=this.option,i=this.settledOption;u([["start","startValue"],["end","endValue"]],function(t){null==e[t[0]]&&null==e[t[1]]||(n[t[0]]=i[t[0]]=e[t[0]],n[t[1]]=i[t[1]]=e[t[1]])},this),d(this,e)},setCalculatedRange:function(e){var n=this.option;u(["start","startValue","end","endValue"],function(t){n[t]=e[t]})},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var n in e)if(e.hasOwnProperty(n)&&e[n].hostedBy(this))return e[n];for(var n in e)if(e.hasOwnProperty(n)&&!e[n].hostedBy(this))return e[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});t.exports=p},1557:function(t,e,n){var i=n(1689).extend({type:"dataZoom",render:function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},getTargetCoordInfo:function(){var t=this.dataZoomModel,a=this.ecModel,o={};return t.eachTargetAxis(function(t,e){var n=a.getComponent(t.axis,e);if(n){var i=n.getCoordSysModel();i&&function(t,e,n,i){for(var a,o=0;o<n.length;o++)if(n[o].model===t){a=n[o];break}a||n.push(a={model:t,axisModels:[],coordIndex:i});a.axisModels.push(e)}(i,n,o[i.mainType]||(o[i.mainType]=[]),i.componentIndex)}},this),o}});t.exports=i},1562:function(t,e,n){var i=n(1798);"string"==typeof i&&(i=[[t.i,i,""]]);var a={hmr:!1,transform:void 0};n(281)(i,a);i.locals&&(t.exports=i.locals)},1592:function(t,e,n){var i=function(){};1===n(1683).debugMode&&(i=console.error);var a=i;t.exports=a},1593:function(t,e,n){var i=n(768),a=n(1801),o=n(2116),r=n(2122);function s(t){for(var e in t=t||{},o.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new a(t.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(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?o.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new a(t,this),this.dirty(!1),this},calculateTextPosition:null},i.inherits(s,o),i.mixin(s,r);var l=s;t.exports=l},1594:function(t,e,n){var y=n(768),r=n(1427).parseClassType,i=0;e.getUID=function(t){return[t||"",i++,Math.random().toFixed(5)].join("_")},e.enableSubTypeDefaulter=function(a){var o={};return a.registerSubTypeDefaulter=function(t,e){t=r(t),o[t.main]=e},a.determineSubType=function(t,e){var n=e.type;if(!n){var i=r(t).main;a.hasSubTypes(t)&&o[i]&&(n=o[i](e))}return n},a},e.enableTopologicalTravel=function(t,m){function v(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,e,n,i){if(t.length){var s,l,u,a=(s=e,l={},u=[],y.each(s,function(n){var t,e,i,a=v(l,n),o=a.originalDeps=m(n),r=(t=o,e=s,i=[],y.each(t,function(t){0<=y.indexOf(e,t)&&i.push(t)}),i);a.entryCount=r.length,0===a.entryCount&&u.push(n),y.each(r,function(t){y.indexOf(a.predecessor,t)<0&&a.predecessor.push(t);var e=v(l,t);y.indexOf(e.successor,t)<0&&e.successor.push(n)})}),{graph:l,noEntryList:u}),o=a.graph,r=a.noEntryList,c={};for(y.each(t,function(t){c[t]=!0});r.length;){var h=r.pop(),d=o[h],p=!!c[h];p&&(n.call(i,h,d.originalDeps.slice()),delete c[h]),y.each(d.successor,p?g:f)}y.each(c,function(){throw new Error("Circle dependency may exists")})}function f(t){o[t].entryCount--,0===o[t].entryCount&&r.push(t)}function g(t){c[t]=!0,f(t)}}}},1595:function(t,e,n){var i=n(768),a=i.createHashMap,o=i.isTypedArray,r=n(1427).enableClassCheck,s=n(1596),l=s.SOURCE_FORMAT_ORIGINAL,u=s.SERIES_LAYOUT_BY_COLUMN,c=s.SOURCE_FORMAT_UNKNOWN,h=s.SOURCE_FORMAT_TYPED_ARRAY,d=s.SOURCE_FORMAT_KEYED_COLUMNS;function p(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===d?{}:[]),this.sourceFormat=t.sourceFormat||c,this.seriesLayoutBy=t.seriesLayoutBy||u,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&a(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}p.seriesDataToSource=function(t){return new p({data:t,sourceFormat:o(t)?h:l,fromDataset:!1})},r(p);var f=p;t.exports=f},1596:function(t,e){e.SOURCE_FORMAT_ORIGINAL="original",e.SOURCE_FORMAT_ARRAY_ROWS="arrayRows",e.SOURCE_FORMAT_OBJECT_ROWS="objectRows",e.SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",e.SOURCE_FORMAT_UNKNOWN="unknown",e.SOURCE_FORMAT_TYPED_ARRAY="typedArray",e.SERIES_LAYOUT_BY_COLUMN="column",e.SERIES_LAYOUT_BY_ROW="row"},1597:function(t,e,n){var i=n(768),h=i.each,d=i.createHashMap,p=(i.assert,n(1127).__DEV__,d(["tooltip","label","itemName","itemId","seriesName"]));function f(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}e.OTHER_DIMENSIONS=p,e.summarizeDimensions=function(o){var t={},r=t.encode={},s=d(),l=[],u=[],c=t.userOutput={dimensionNames:o.dimensions.slice(),encode:{}};h(o.dimensions,function(t){var e,a=o.getDimensionInfo(t),n=a.coordDim;if(n){var i=a.coordDimIndex;f(r,n)[i]=t,a.isExtraCoord||(s.set(n,1),"ordinal"!==(e=a.type)&&"time"!==e&&(l[0]=t),f(c.encode,n)[i]=a.index),a.defaultTooltip&&u.push(t)}p.each(function(t,e){var n=f(r,e),i=a.otherDims[e];null!=i&&!1!==i&&(n[i]=a.name)})});var i=[],a={};s.each(function(t,e){var n=r[e];a[e]=n[0],i=i.concat(n)}),t.dataDimsOnCoord=i,t.encodeFirstDimNotExtra=a;var e=r.label;e&&e.length&&(l=e.slice());var n=r.tooltip;return n&&n.length?u=n.slice():u.length||(u=l.slice()),r.defaultedLabel=l,r.defaultedTooltip=u,t},e.getDimensionTypeByAxis=function(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},1598:function(t,e,n){var h=n(852),i=n(1693),a=n(768).isObject;function o(t){this.group=new h.Group,this._symbolCtor=t||i}var r=o.prototype;function d(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function p(t){return null==t||a(t)||(t={isIgnore:t}),t||{}}function f(t){var e=t.hostModel;return{itemStyle:e.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:e.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label"),cursorStyle:e.get("cursor")}}r.updateData=function(a,o){o=p(o);var r=this.group,s=a.hostModel,l=this._data,u=this._symbolCtor,c=f(a);l||r.removeAll(),a.diff(l).add(function(t){var e=a.getItemLayout(t);if(d(a,e,t,o)){var n=new u(a,t,c);n.attr("position",e),a.setItemGraphicEl(t,n),r.add(n)}}).update(function(t,e){var n=l.getItemGraphicEl(e),i=a.getItemLayout(t);d(a,i,t,o)?(n?(n.updateData(a,t,c),h.updateProps(n,{position:i},s)):(n=new u(a,t)).attr("position",i),r.add(n),a.setItemGraphicEl(t,n)):r.remove(n)}).remove(function(t){var e=l.getItemGraphicEl(t);e&&e.fadeOut(function(){r.remove(e)})}).execute(),this._data=a},r.isPersistent=function(){return!0},r.updateLayout=function(){var i=this._data;i&&i.eachItemGraphicEl(function(t,e){var n=i.getItemLayout(e);t.attr("position",n)})},r.incrementalPrepareUpdate=function(t){this._seriesScope=f(t),this._data=null,this.group.removeAll()},r.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}n=p(n);for(var a=t.start;a<t.end;a++){var o=e.getItemLayout(a);if(d(e,o,a,n)){var r=new this._symbolCtor(e,a,this._seriesScope);r.traverse(i),r.attr("position",o),this.group.add(r),e.setItemGraphicEl(a,r)}}},r.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)})}):e.removeAll()};var s=o;t.exports=s},1599:function(t,e,n){var h=n(852),o=n(965).round;function i(t,e,n){var i=t.getArea(),a=t.getBaseAxis().isHorizontal(),o=i.x,r=i.y,s=i.width,l=i.height,u=n.get("lineStyle.width")||2;o-=u/2,r-=u/2,s+=u,l+=u;var c=new h.Rect({shape:{x:o,y:r,width:s,height:l}});return e&&(c.shape[a?"width":"height"]=0,h.initProps(c,{shape:{width:s,height:l}},n)),c}function a(t,e,n){var i=t.getArea(),a=new h.Sector({shape:{cx:o(t.cx,1),cy:o(t.cy,1),r0:o(i.r0,1),r:o(i.r,1),startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});return e&&(a.shape.endAngle=i.startAngle,h.initProps(a,{shape:{endAngle:i.endAngle}},n)),a}e.createGridClipPath=i,e.createPolarClipPath=a,e.createClipPath=function(t,e,n){return t?"polar"===t.type?a(t,e,n):"cartesian2d"===t.type?i(t,e,n):null:null}},1600:function(t,e,n){var i=n(768).map,a=n(1551),o=n(1413).isDimensionStacked;t.exports=function(t){return{seriesType:t,plan:a(),reset:function(t){var e=t.getData(),h=t.coordinateSystem,d=t.pipelineContext.large;if(h){var p=i(h.dimensions,function(t){return e.mapDimension(t)}).slice(0,2),f=p.length,n=e.getCalculationInfo("stackResultDimension");return o(e,p[0])&&(p[0]=n),o(e,p[1])&&(p[1]=n),f&&{progress:function(t,e){for(var n=t.end-t.start,i=d&&new Float32Array(n*f),a=t.start,o=0,r=[],s=[];a<t.end;a++){var l;if(1===f){var u=e.get(p[0],a);l=!isNaN(u)&&h.dataToPoint(u,null,s)}else{u=r[0]=e.get(p[0],a);var c=r[1]=e.get(p[1],a);l=!isNaN(u)&&!isNaN(c)&&h.dataToPoint(r,null,s)}d?(i[o++]=l?l[0]:NaN,i[o++]=l?l[1]:NaN):e.setItemLayout(a,l&&l.slice()||[NaN,NaN])}d&&e.setLayout("symbolPoints",i)}}}}}}},1601:function(t,e,n){var i=n(789),a=n(768),o=n(852);n(1811),n(2598),i.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new o.Rect({shape:t.coordinateSystem.getRect(),style:a.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),i.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})},1602:function(t,e){t.exports=function(t){return{seriesType:t,reset:function(t,e){var i=e.findComponents({mainType:"legend"});if(i&&i.length){var a=t.getData();a.filterSelf(function(t){for(var e=a.getName(t),n=0;n<i.length;n++)if(!i[n].isSelected(e))return!1;return!0})}}}}},1603:function(t,e,n){var l=n(768),u=n(1501),s=n(1410),c=n(2158);function i(n){this.pointerChecker,this._zr=n,this._opt={};var t=l.bind,i=t(h,this),a=t(d,this),o=t(p,this),r=t(f,this),s=t(g,this);u.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(t,e){this.disable(),this._opt=l.defaults(l.clone(e)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(n.on("mousedown",i),n.on("mousemove",a),n.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(n.on("mousewheel",r),n.on("pinch",s))},this.disable=function(){n.off("mousedown",i),n.off("mousemove",a),n.off("mouseup",o),n.off("mousewheel",r),n.off("pinch",s)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function h(t){if(!(s.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)){var e=t.offsetX,n=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,n)&&(this._x=e,this._y=n,this._dragging=!0)}}function d(t){if(this._dragging&&y("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!c.isTaken(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,i=this._x,a=this._y,o=e-i,r=n-a;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&s.stop(t.event),v(this,"pan","moveOnMouseMove",t,{dx:o,dy:r,oldX:i,oldY:a,newX:e,newY:n})}}function p(t){s.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function f(t){var e=y("zoomOnMouseWheel",t,this._opt),n=y("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,a=Math.abs(i),o=t.offsetX,r=t.offsetY;if(0!==i&&(e||n)){if(e){var s=3<a?1.4:1<a?1.2:1.1;m(this,"zoom","zoomOnMouseWheel",t,{scale:0<i?s:1/s,originX:o,originY:r})}if(n){var l=Math.abs(i);m(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(0<i?1:-1)*(3<l?.4:1<l?.15:.05),originX:o,originY:r})}}}function g(t){c.isTaken(this._zr,"globalPan")||m(this,"zoom",null,t,{scale:1<t.pinchScale?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY})}function m(t,e,n,i,a){t.pointerChecker&&t.pointerChecker(i,a.originX,a.originY)&&(s.stop(i.event),v(t,e,n,i,a))}function v(t,e,n,i,a){a.isAvailableBehavior=l.bind(y,null,n,i),t.trigger(e,a)}function y(t,e,n){var i=n[t];return!t||i&&(!l.isString(i)||e.event[i+"Key"])}l.mixin(i,u);var a=i;t.exports=a},1604:function(t,e,n){var i=n(789),a=n(768),o=n(1695),r=n(2727);n(2728),n(2729),n(2177),i.registerPreprocessor(function(t){if(t){t.axisPointer&&0!==t.axisPointer.length||(t.axisPointer={});var e=t.axisPointer.link;e&&!a.isArray(e)&&(t.axisPointer.link=[e])}}),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=o.collect(t,e)}),i.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},r)},1682:function(t,e,n){var i=n(2115),c=n(1240),h=n(768),d=n(2544),p=n(2548),a=n(2552),f=n(2554),g=n(2555),m=!c.canvasSupported,v={canvas:a},o={};function r(t,e,n){n=n||{},this.dom=e,this.id=t;var i=this,a=new p,o=n.renderer;if(m){if(!v.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");o="vml"}else o&&v[o]||(o="canvas");var r=new v[o](e,a,n,t);this.storage=a,this.painter=r;var s=c.node||c.worker?null:new g(r.getViewportRoot());this.handler=new d(a,r,s,r.root),this.animation=new f({stage:{update:h.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var l=a.delFromStorage,u=a.addToStorage;a.delFromStorage=function(t){l.call(a,t),t&&t.removeSelfFromZr(i)},a.addToStorage=function(t){u.call(a,t),t.addSelfToZr(i)}}r.prototype={constructor:r,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this._needsRefresh=!0},setBackgroundColor:function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var t;this._needsRefresh&&(t=!0,this.refreshImmediately()),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately()),t&&this.trigger("rendered")},addHover:function(t,e){if(this.painter.addHover){var n=this.painter.addHover(t,e);return this.refreshHover(),n}},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e){return this.painter.pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},findHover:function(t,e){return this.handler.findHover(t,e)},on:function(t,e,n){this.handler.on(t,e,n)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler.trigger(t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,t=this.id,delete o[t]}},e.version="4.1.2",e.init=function(t,e){var n=new r(i(),t,e);return o[n.id]=n},e.dispose=function(t){if(t)t.dispose();else{for(var e in o)o.hasOwnProperty(e)&&o[e].dispose();o={}}return this},e.getInstance=function(t){return o[t]},e.registerPainter=function(t,e){v[t]=e}},1683:function(t,e){var n=1;"undefined"!=typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var i=n;e.debugMode=0,e.devicePixelRatio=i},1684:function(t,e){e.ContextCachedBy={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},e.WILL_BE_RESTORED=9},1685:function(t,e,n){var i=n(768),g=i.retrieve2,m=i.retrieve3,a=i.each,o=i.normalizeCssArray,f=i.isString,v=i.isObject,V=n(1319),y=n(2123),x=n(1802),G=n(2119),r=n(1684),F=r.ContextCachedBy,H=r.WILL_BE_RESTORED,W=V.DEFAULT_FONT,s={left:1,right:1,center:1},l={top:1,bottom:1,middle:1},j=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],h={},U={};function u(t){if(t){t.font=V.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||s[e]?e:"left";var n=t.textVerticalAlign||t.textBaseline;"center"===n&&(n="middle"),t.textVerticalAlign=null==n||l[n]?n:"top",t.textPadding&&(t.textPadding=o(t.textPadding))}}function Y(t,e,n,i,a){if(n&&e.textRotation){var o=e.textOrigin;"center"===o?(i=n.width/2+n.x,a=n.height/2+n.y):o&&(i=o[0]+n.x,a=o[1]+n.y),t.translate(i,a),t.rotate(-e.textRotation),t.translate(-i,-a)}}function k(t,e,n,i,a,o,r,s){var l=i.rich[n.styleName]||{};l.text=n.text;var u=n.textVerticalAlign,c=o+a/2;"top"===u?c=o+n.height/2:"bottom"===u&&(c=o+a-n.height/2),!n.isLineHolder&&Z(l)&&q(t,e,l,"right"===s?r-n.width:"center"===s?r-n.width/2:r,c-n.height/2,n.width,n.height);var h=n.textPadding;h&&(r=$(r,s,h),c-=n.height/2-h[2]-n.textHeight/2),A(e,"shadowBlur",m(l.textShadowBlur,i.textShadowBlur,0)),A(e,"shadowColor",l.textShadowColor||i.textShadowColor||"transparent"),A(e,"shadowOffsetX",m(l.textShadowOffsetX,i.textShadowOffsetX,0)),A(e,"shadowOffsetY",m(l.textShadowOffsetY,i.textShadowOffsetY,0)),A(e,"textAlign",s),A(e,"textBaseline","middle"),A(e,"font",n.font||W);var d=K(l.textStroke||i.textStroke,f),p=J(l.textFill||i.textFill),f=g(l.textStrokeWidth,i.textStrokeWidth);d&&(A(e,"lineWidth",f),A(e,"strokeStyle",d),e.strokeText(n.text,r,c)),p&&(A(e,"fillStyle",p),e.fillText(n.text,r,c))}function Z(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function q(t,e,n,i,a,o,r){var s=n.textBackgroundColor,l=n.textBorderWidth,u=n.textBorderColor,c=f(s);if(A(e,"shadowBlur",n.textBoxShadowBlur||0),A(e,"shadowColor",n.textBoxShadowColor||"transparent"),A(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),A(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),c||l&&u){e.beginPath();var h=n.textBorderRadius;h?y.buildPath(e,{x:i,y:a,width:o,height:r,r:h}):e.rect(i,a,o,r),e.closePath()}if(c)if(A(e,"fillStyle",s),null!=n.fillOpacity){var d=e.globalAlpha;e.globalAlpha=n.fillOpacity*n.opacity,e.fill(),e.globalAlpha=d}else e.fill();else if(v(s)){var p=s.image;(p=x.createOrUpdateImage(p,null,t,_,s))&&x.isImageReady(p)&&e.drawImage(p,i,a,o,r)}if(l&&u)if(A(e,"lineWidth",l),A(e,"strokeStyle",u),null!=n.strokeOpacity){d=e.globalAlpha;e.globalAlpha=n.strokeOpacity*n.opacity,e.stroke(),e.globalAlpha=d}else e.stroke()}function _(t,e){e.image=t}function X(t,e,n,i){var a=n.x||0,o=n.y||0,r=n.textAlign,s=n.textVerticalAlign;if(i){var l=n.textPosition;if(l instanceof Array)a=i.x+d(l[0],i.width),o=i.y+d(l[1],i.height);else{var u=e&&e.calculateTextPosition?e.calculateTextPosition(h,n,i):V.calculateTextPosition(h,n,i);a=u.x,o=u.y,r=r||u.textAlign,s=s||u.textVerticalAlign}var c=n.textOffset;c&&(a+=c[0],o+=c[1])}return(t=t||{}).baseX=a,t.baseY=o,t.textAlign=r,t.textVerticalAlign=s,t}function A(t,e,n){return t[e]=G(t,e,n),t[e]}function K(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function J(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function d(t,e){return"string"==typeof t?0<=t.lastIndexOf("%")?parseFloat(t)/100*e:parseFloat(t):t}function $(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}e.normalizeTextStyle=function(t){return u(t),a(t.rich,u),t},e.renderText=function(t,e,n,i,a,o){i.rich?function(t,e,n,i,a,o){o!==H&&(e.__attrCachedBy=F.NONE);var r=t.__textCotentBlock;r&&!t.__dirtyText||(r=t.__textCotentBlock=V.parseRichText(n,i));!function(t,e,n,i,a){var o=n.width,r=n.outerWidth,s=n.outerHeight,l=i.textPadding,u=X(U,t,i,a),c=u.baseX,h=u.baseY,d=u.textAlign,p=u.textVerticalAlign;Y(e,i,a,c,h);var f=V.adjustTextX(c,r,d),g=V.adjustTextY(h,s,p),m=f,v=g;l&&(m+=l[3],v+=l[0]);var y=m+o;Z(i)&&q(t,e,i,f,g,r,s);for(var x=0;x<n.lines.length;x++){for(var _,A=n.lines[x],b=A.tokens,w=b.length,S=A.lineHeight,C=A.width,M=0,I=m,T=y,D=w-1;M<w&&(!(_=b[M]).textAlign||"left"===_.textAlign);)k(t,e,_,i,S,v,I,"left"),C-=_.width,I+=_.width,M++;for(;0<=D&&"right"===(_=b[D]).textAlign;)k(t,e,_,i,S,v,T,"right"),C-=_.width,T-=_.width,D--;for(I+=(o-(I-m)-(y-T)-C)/2;M<=D;)_=b[M],k(t,e,_,i,S,v,I+_.width/2,"center"),I+=_.width,M++;v+=S}}(t,e,r,i,a)}(t,e,n,i,a,o):function(t,e,n,i,a,o){"use strict";var r,s=Z(i),l=!1,u=e.__attrCachedBy===F.PLAIN_TEXT;o!==H?(o&&(r=o.style,l=!s&&u&&r),e.__attrCachedBy=s?F.NONE:F.PLAIN_TEXT):u&&(e.__attrCachedBy=F.NONE);var c=i.font||W;l&&c===(r.font||W)||(e.font=c);var h=t.__computedFont;t.__styleFont!==c&&(t.__styleFont=c,h=t.__computedFont=e.font);var d=i.textPadding,p=i.textLineHeight,f=t.__textCotentBlock;f&&!t.__dirtyText||(f=t.__textCotentBlock=V.parsePlainText(n,h,d,p,i.truncate));var g=f.outerHeight,m=f.lines,v=f.lineHeight,y=X(U,t,i,a),x=y.baseX,_=y.baseY,A=y.textAlign||"left",b=y.textVerticalAlign;Y(e,i,a,x,_);var w=V.adjustTextY(_,g,b),S=x,C=w;if(s||d){var M=V.getWidth(n,h);d&&(M+=d[1]+d[3]);var I=V.adjustTextX(x,M,A);s&&q(t,e,i,I,w,M,g),d&&(S=$(x,A,d),C+=d[0])}e.textAlign=A,e.textBaseline="middle",e.globalAlpha=i.opacity||1;for(var T=0;T<j.length;T++){var D=j[T],k=D[0],P=D[1],L=i[k];l&&L===r[k]||(e[P]=G(e,P,L||D[2]))}C+=v/2;var B=i.textStrokeWidth,E=l?r.textStrokeWidth:null,O=!l||B!==E,N=!l||O||i.textStroke!==r.textStroke,R=K(i.textStroke,B),z=J(i.textFill);R&&(O&&(e.lineWidth=B),N&&(e.strokeStyle=R));z&&(l&&i.textFill===r.textFill||(e.fillStyle=z));if(1===m.length)R&&e.strokeText(m[0],S,C),z&&e.fillText(m[0],S,C);else for(T=0;T<m.length;T++)R&&e.strokeText(m[T],S,C),z&&e.fillText(m[T],S,C),C+=v}(t,e,n,i,a,o)},e.getBoxPosition=X,e.getStroke=K,e.getFill=J,e.parsePercent=d,e.needDrawText=function(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}},1686:function(t,e,n){var f=n(1150),m=n(1464),v=Math.min,y=Math.max,g=Math.sin,x=Math.cos,_=2*Math.PI,A=f.create(),b=f.create(),w=f.create();var S=[],C=[];e.fromPoints=function(t,e,n){if(0!==t.length){var i,a=t[0],o=a[0],r=a[0],s=a[1],l=a[1];for(i=1;i<t.length;i++)a=t[i],o=v(o,a[0]),r=y(r,a[0]),s=v(s,a[1]),l=y(l,a[1]);e[0]=o,e[1]=s,n[0]=r,n[1]=l}},e.fromLine=function(t,e,n,i,a,o){a[0]=v(t,n),a[1]=v(e,i),o[0]=y(t,n),o[1]=y(e,i)},e.fromCubic=function(t,e,n,i,a,o,r,s,l,u){var c,h=m.cubicExtrema,d=m.cubicAt,p=h(t,n,a,r,S);for(l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0,c=0;c<p;c++){var f=d(t,n,a,r,S[c]);l[0]=v(f,l[0]),u[0]=y(f,u[0])}for(p=h(e,i,o,s,C),c=0;c<p;c++){var g=d(e,i,o,s,C[c]);l[1]=v(g,l[1]),u[1]=y(g,u[1])}l[0]=v(t,l[0]),u[0]=y(t,u[0]),l[0]=v(r,l[0]),u[0]=y(r,u[0]),l[1]=v(e,l[1]),u[1]=y(e,u[1]),l[1]=v(s,l[1]),u[1]=y(s,u[1])},e.fromQuadratic=function(t,e,n,i,a,o,r,s){var l=m.quadraticExtremum,u=m.quadraticAt,c=y(v(l(t,n,a),1),0),h=y(v(l(e,i,o),1),0),d=u(t,n,a,c),p=u(e,i,o,h);r[0]=v(t,a,d),r[1]=v(e,o,p),s[0]=y(t,a,d),s[1]=y(e,o,p)},e.fromArc=function(t,e,n,i,a,o,r,s,l){var u=f.min,c=f.max,h=Math.abs(a-o);if(h%_<1e-4&&1e-4<h)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(A[0]=x(a)*n+t,A[1]=g(a)*i+e,b[0]=x(o)*n+t,b[1]=g(o)*i+e,u(s,A,b),c(l,A,b),(a%=_)<0&&(a+=_),(o%=_)<0&&(o+=_),o<a&&!r?o+=_:a<o&&r&&(a+=_),r){var d=o;o=a,a=d}for(var p=0;p<o;p+=Math.PI/2)a<p&&(w[0]=x(p)*n+t,w[1]=g(p)*i+e,u(s,w,s),c(l,w,l))}},1687:function(t,e){function n(t){this.colorStops=t||[]}n.prototype={constructor:n,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var i=n;t.exports=i},1688:function(t,e,n){n(1127).__DEV__;var i=n(987),a=i.makeInner,f=i.getDataItemValue,_=n(2137).getCoordSysDefineBySeries,o=n(768),A=o.createHashMap,b=o.each,r=o.map,g=o.isArray,m=o.isString,v=o.isObject,y=o.isTypedArray,s=o.isArrayLike,l=o.extend,d=(o.assert,n(1595)),u=n(1596),x=u.SOURCE_FORMAT_ORIGINAL,w=u.SOURCE_FORMAT_ARRAY_ROWS,S=u.SOURCE_FORMAT_OBJECT_ROWS,C=u.SOURCE_FORMAT_KEYED_COLUMNS,c=u.SOURCE_FORMAT_UNKNOWN,p=u.SOURCE_FORMAT_TYPED_ARRAY,M=u.SERIES_LAYOUT_BY_ROW,I=a();function T(t){if(t){var i=A();return r(t,function(t,e){if(null==(t=l({},v(t)?t:{name:t})).name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var n=i.get(t.name);return n?t.name+="-"+n.count++:i.set(t.name,{count:1}),t})}}function D(t,e,n,i){if(null==i&&(i=1/0),e===M)for(var a=0;a<n.length&&a<i;a++)t(n[a]?n[a][0]:null,a);else{var o=n[0]||[];for(a=0;a<o.length&&a<i;a++)t(o[a],a)}}function k(t,e,n,i,a,o){var r,s;if(y(t))return!1;if(i&&(s=i[o],s=v(s)?s.name:s),e===w)if(n===M){for(var l=t[o],u=0;u<(l||[]).length&&u<5;u++)if(null!=(r=p(l[a+u])))return r}else for(u=0;u<t.length&&u<5;u++){var c=t[a+u];if(c&&null!=(r=p(c[o])))return r}else if(e===S){if(!s)return;for(u=0;u<t.length&&u<5;u++){if((h=t[u])&&null!=(r=p(h[s])))return r}}else if(e===C){if(!s)return;if(!(l=t[s])||y(l))return!1;for(u=0;u<l.length&&u<5;u++)if(null!=(r=p(l[u])))return r}else if(e===x)for(u=0;u<t.length&&u<5;u++){var h=t[u],d=f(h);if(!g(d))return!1;if(null!=(r=p(d[o])))return r}function p(t){return(null==t||!isFinite(t)||""===t)&&(!(!m(t)||"-"===t)||void 0)}return!1}e.detectSourceFormat=function(t){var e=t.option.source,n=c;if(y(e))n=p;else if(g(e)){0===e.length&&(n=w);for(var i=0,a=e.length;i<a;i++){var o=e[i];if(null!=o){if(g(o)){n=w;break}if(v(o)){n=S;break}}}}else if(v(e)){for(var r in e)if(e.hasOwnProperty(r)&&s(e[r])){n=C;break}}else if(null!=e)throw new Error("Invalid data");I(t).sourceFormat=n},e.getSource=function(t){return I(t).source},e.resetSourceDefaulter=function(t){I(t).datasetMap=A()},e.prepareSource=function(t){var e=t.option,n=e.data,i=y(n)?p:x,a=!1,o=e.seriesLayoutBy,r=e.sourceHeader,s=e.dimensions,l=function(t){var e=t.option;if(!e.data)return t.ecModel.getComponent("dataset",e.datasetIndex||0)}(t);if(l){var u=l.option;n=u.source,i=I(l).sourceFormat,a=!0,o=o||u.seriesLayoutBy,null==r&&(r=u.sourceHeader),s=s||u.dimensions}var c=function(t,e,n,i,a){if(!t)return{dimensionsDefine:T(a)};var o,r,s,l;if(e===w)"auto"===i||null==i?D(function(t){null!=t&&"-"!==t&&(m(t)?null==r&&(r=1):r=0)},n,t,10):r=i?1:0,a||1!==r||(a=[],D(function(t,e){a[e]=null!=t?t:""},n,t)),o=a?a.length:n===M?t.length:t[0]?t[0].length:null;else if(e===S)a||(a=function(t){var e,n=0;for(;n<t.length&&!(e=t[n++]););if(e){var i=[];return b(e,function(t,e){i.push(e)}),i}}(t),s=!0);else if(e===C)a||(a=[],s=!0,b(t,function(t,e){a.push(e)}));else if(e===x){var u=f(t[0]);o=g(u)&&u.length||1}s&&b(a,function(t,e){"name"===(v(t)?t.name:t)&&(l=e)});return{startIndex:r,dimensionsDefine:T(a),dimensionsDetectCount:o,potentialNameDimIndex:l}}(n,i,o,r,s),h=e.encode;!h&&l&&(h=function(t,e,n,i,a,o){var r=_(t),s={},l=[],u=[],c=t.subType,h=A(["pie","map","funnel"]),d=A(["line","bar","pictorialBar","scatter","effectScatter","candlestick","boxplot"]);if(r&&null!=d.get(c)){var p=t.ecModel,f=I(p).datasetMap,g=e.uid+"_"+a,m=f.get(g)||f.set(g,{categoryWayDim:1,valueWayDim:0});b(r.coordSysDims,function(t){if(null==r.firstCategoryDimIndex){var e=m.valueWayDim++;s[t]=e,u.push(e)}else if(r.categoryAxisMap.get(t))s[t]=0,l.push(0);else{e=m.categoryWayDim++;s[t]=e,u.push(e)}})}else if(null!=h.get(c)){for(var v,y=0;y<5&&null==v;y++)k(n,i,a,o.dimensionsDefine,o.startIndex,y)||(v=y);if(null!=v){s.value=v;var x=o.potentialNameDimIndex||Math.max(v-1,0);u.push(x),l.push(x)}}return l.length&&(s.itemName=l),u.length&&(s.seriesName=u),s}(t,l,n,i,o,c)),I(t).source=new d({data:n,fromDataset:a,seriesLayoutBy:o,sourceFormat:i,dimensionsDefine:c.dimensionsDefine,startIndex:c.startIndex,dimensionsDetectCount:c.dimensionsDetectCount,encodeDefine:h})},e.guessOrdinal=function(t,e){return k(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}},1689:function(t,e,n){function i(){this.group=new a,this.uid=o.getUID("viewComponent")}var a=n(1547),o=n(1594),r=n(1427),s=i.prototype={constructor:i,init:function(t,e){},render:function(t,e,n,i){},dispose:function(){},filterForExposedEvent:null};s.updateView=s.updateLayout=s.updateVisual=function(t,e,n,i){},r.enableClassExtend(i),r.enableClassManagement(i,{registerWhenExtend:!0});var l=i;t.exports=l},1690:function(t,e,n){var i=n(1427);function a(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}a.prototype.parse=function(t){return t},a.prototype.getSetting=function(t){return this._setting[t]},a.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},a.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},a.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},a.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},a.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},a.prototype.getExtent=function(){return this._extent.slice()},a.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},a.prototype.isBlank=function(){return this._isBlank},a.prototype.setBlank=function(t){this._isBlank=t},a.prototype.getLabel=null,i.enableClassExtend(a),i.enableClassManagement(a,{registerWhenExtend:!0});var o=a;t.exports=o},1691:function(t,e,n){var i=n(965),a=n(1153),o=n(1690),r=n(2144),s=i.round,l=o.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=r.getIntervalPrecision(t)},getTicks:function(){return r.intervalScaleGetTicks(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getLabel:function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=i.getPrecisionSafe(t)||0:"auto"===n&&(n=this._intervalPrecision),t=s(t,n,!0),a.addCommas(t)},niceTicks:function(t,e,n){t=t||5;var i=this._extent,a=i[1]-i[0];if(isFinite(a)){a<0&&(a=-a,i.reverse());var o=r.intervalScaleNiceTicks(i,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},niceExtent:function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=e[0];t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;var i=e[1]-e[0];isFinite(i)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var a=this._interval;t.fixMin||(e[0]=s(Math.floor(e[0]/a)*a)),t.fixMax||(e[1]=s(Math.ceil(e[1]/a)*a))}});l.create=function(){return new l};var u=l;t.exports=u},1692:function(t,e,n){var f=n(768),v=n(965).parsePercent,D=n(1413).isDimensionStacked,i=n(1551),l="__ec_stack_",y="undefined"!=typeof Float32Array?Float32Array:Array;function k(t){return t.get("stack")||l+t.seriesIndex}function P(t){return t.dim+t.index}function a(t,e){var n=[];return e.eachSeriesByType(t,function(t){x(t)&&!_(t)&&n.push(t)}),n}function o(t){var g=function(t){var l={};f.each(t,function(t){var e=t.coordinateSystem.getBaseAxis();if("time"===e.type||"value"===e.type)for(var n=t.getData(),i=e.dim+"_"+e.index,a=n.mapDimension(e.dim),o=0,r=n.count();o<r;++o){var s=n.get(a,o);l[i]?l[i].push(s):l[i]=[s]}});var e=[];for(var n in l)if(l.hasOwnProperty(n)){var i=l[n];if(i){i.sort(function(t,e){return t-e});for(var a=null,o=1;o<i.length;++o){var r=i[o]-i[o-1];0<r&&(a=null===a?r:Math.min(a,r))}e[n]=a}}return e}(t),m=[];return f.each(t,function(t){var e,n=t.coordinateSystem.getBaseAxis(),i=n.getExtent();if("category"===n.type)e=n.getBandWidth();else if("value"===n.type||"time"===n.type){var a=n.dim+"_"+n.index,o=g[a],r=Math.abs(i[1]-i[0]),s=n.scale.getExtent(),l=Math.abs(s[1]-s[0]);e=o?r/l*o:r}else{var u=t.getData();e=Math.abs(i[1]-i[0])/u.count()}var c=v(t.get("barWidth"),e),h=v(t.get("barMaxWidth"),e),d=v(t.get("barMinWidth")||1,e),p=t.get("barGap"),f=t.get("barCategoryGap");m.push({bandWidth:e,barWidth:c,barMaxWidth:h,barMinWidth:d,barGap:p,barCategoryGap:f,axisKey:P(n),stackId:k(t)})}),u(m)}function u(t){var d={};f.each(t,function(t,e){var n=t.axisKey,i=t.bandWidth,a=d[n]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=a.stacks;d[n]=a;var r=t.stackId;o[r]||a.autoWidthCount++,o[r]=o[r]||{width:0,maxWidth:0};var s=t.barWidth;s&&!o[r].width&&(o[r].width=s,s=Math.min(a.remainedWidth,s),a.remainedWidth-=s);var l=t.barMaxWidth;l&&(o[r].maxWidth=l);var u=t.barMinWidth;u&&(o[r].minWidth=u);var c=t.barGap;null!=c&&(a.gap=c);var h=t.barCategoryGap;null!=h&&(a.categoryGap=h)});var p={};return f.each(d,function(t,n){p[n]={};var e=t.stacks,i=t.bandWidth,a=v(t.categoryGap,i),o=v(t.gap,1),r=t.remainedWidth,s=t.autoWidthCount,l=(r-a)/(s+(s-1)*o);l=Math.max(l,0),f.each(e,function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,r-=i,s--}else{var i=l;e&&e<i&&(i=Math.min(e,r)),n&&i<n&&(i=n),i!==l&&(t.width=i,r-=i,s--)}}),l=(r-a)/(s+(s-1)*o),l=Math.max(l,0);var u,c=0;f.each(e,function(t,e){t.width||(t.width=l),c+=(u=t).width*(1+o)}),u&&(c-=u.width*o);var h=-c/2;f.each(e,function(t,e){p[n][e]=p[n][e]||{bandWidth:i,offset:h,width:t.width},h+=t.width*(1+o)})}),p}function r(t,e,n){if(t&&e){var i=t[P(e)];return null!=i&&null!=n&&(i=i[k(n)]),i}}var s={seriesType:"bar",plan:i(),reset:function(t){if(x(t)&&_(t)){var e=t.getData(),c=t.coordinateSystem,h=c.getBaseAxis(),d=c.getOtherAxis(h),p=e.mapDimension(d.dim),f=e.mapDimension(h.dim),g=d.isHorizontal(),m=g?0:1,v=r(o([t]),h,t).width;return.5<v||(v=.5),{progress:function(t,e){var n,i=t.count,a=new y(2*i),o=new y(i),r=[],s=[],l=0,u=0;for(;null!=(n=t.next());)s[m]=e.get(p,n),s[1-m]=e.get(f,n),r=c.dataToPoint(s,null,r),a[l++]=r[0],a[l++]=r[1],o[u++]=n;e.setLayout({largePoints:a,largeDataIndices:o,barWidth:v,valueAxisStart:L(h,d,!1),valueAxisHorizontal:g})}}}}};function x(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function _(t){return t.pipelineContext&&t.pipelineContext.large}function L(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}e.getLayoutOnAxis=function(t){var e=[],n=t.axis;if("category"===n.type){for(var i=n.getBandWidth(),a=0;a<t.count;a++)e.push(f.defaults({bandWidth:i,axisKey:"axis0",stackId:l+a},t));var o=u(e),r=[];for(a=0;a<t.count;a++){var s=o.axis0[l+a];s.offsetCenter=s.offset+s.width/2,r.push(s)}return r}},e.prepareLayoutBarSeries=a,e.makeColumnLayout=o,e.retrieveColumnLayout=r,e.layout=function(t,e){var n=a(t,e),M=o(n),I={},T={};f.each(n,function(t){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),a=k(t),o=M[P(i)][a],r=o.offset,s=o.width,l=n.getOtherAxis(i),u=t.get("barMinHeight")||0;I[a]=I[a]||[],T[a]=T[a]||[],e.setLayout({bandWidth:o.bandWidth,offset:r,size:s});for(var c=e.mapDimension(l.dim),h=e.mapDimension(i.dim),d=D(e,c),p=l.isHorizontal(),f=L(i,l,d),g=0,m=e.count();g<m;g++){var v=e.get(c,g),y=e.get(h,g);if(!isNaN(v)&&!isNaN(y)){var x,_,A,b,w,S=0<=v?"p":"n",C=f;if(d&&(I[a][y]||(I[a][y]={p:f,n:f}),C=I[a][y][S]),p)x=C,_=(w=n.dataToPoint([v,y]))[1]+r,A=w[0]-f,b=s,Math.abs(A)<u&&(A=(A<0?-1:1)*u),d&&(I[a][y][S]+=A);else x=(w=n.dataToPoint([y,v]))[0]+r,_=C,A=s,b=w[1]-f,Math.abs(b)<u&&(b=(b<=0?-1:1)*u),d&&(I[a][y][S]+=b);e.setItemLayout(g,{x:x,y:_,width:A,height:b})}}},this)},e.largeLayout=s},1693:function(t,e,n){var A=n(768),s=n(1321).createSymbol,b=n(852),w=n(965).parsePercent,S=n(1810).getDefaultLabel;function i(t,e,n){b.Group.call(this),this.updateData(t,e,n)}var a=i.prototype,h=i.getSymbolSize=function(t,e){var n=t.getItemVisual(e,"symbolSize");return n instanceof Array?n.slice():[+n,+n]};function C(t){return[t[0]/2,t[1]/2]}function l(t,e){this.parent.drift(t,e)}a._createSymbol=function(t,e,n,i,a){this.removeAll();var o=e.getItemVisual(n,"color"),r=s(t,-1,-1,2,2,o,a);r.attr({z2:100,culling:!0,scale:C(i)}),r.drift=l,this._symbolType=t,this.add(r)},a.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},a.getSymbolPath=function(){return this.childAt(0)},a.getScale=function(){return this.childAt(0).scale},a.highlight=function(){this.childAt(0).trigger("emphasis")},a.downplay=function(){this.childAt(0).trigger("normal")},a.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},a.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},a.updateData=function(t,e,n){this.silent=!1;var i=t.getItemVisual(e,"symbol")||"circle",a=t.hostModel,o=h(t,e),r=i!==this._symbolType;if(r){var s=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(i,t,e,o,s)}else{(l=this.childAt(0)).silent=!1,b.updateProps(l,{scale:C(o)},a,e)}if(this._updateCommon(t,e,o,n),r){var l=this.childAt(0),u=n&&n.fadeIn,c={scale:l.scale.slice()};u&&(c.style={opacity:l.style.opacity}),l.scale=[0,0],u&&(l.style.opacity=0),b.initProps(l,c,a,e)}this._seriesModel=a};var M=["itemStyle"],I=["emphasis","itemStyle"],T=["label"],D=["emphasis","label"];function k(t,e){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===e){var n=this.__symbolOriginalScale,i=n[1]/n[0],a={scale:[Math.max(1.1*n[0],n[0]+3),Math.max(1.1*n[1],n[1]+3*i)]};this.animateTo(a,400,"elasticOut")}else"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}a._updateCommon=function(n,t,e,i){var a=this.childAt(0),o=n.hostModel,r=n.getItemVisual(t,"color");"image"!==a.type?a.useStyle({strokeNoScale:!0}):a.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var s=i&&i.itemStyle,l=i&&i.hoverItemStyle,u=i&&i.symbolRotate,c=i&&i.symbolOffset,h=i&&i.labelModel,d=i&&i.hoverLabelModel,p=i&&i.hoverAnimation,f=i&&i.cursorStyle;if(!i||n.hasItemOption){var g=i&&i.itemModel?i.itemModel:n.getItemModel(t);s=g.getModel(M).getItemStyle(["color"]),l=g.getModel(I).getItemStyle(),u=g.getShallow("symbolRotate"),c=g.getShallow("symbolOffset"),h=g.getModel(T),d=g.getModel(D),p=g.getShallow("hoverAnimation"),f=g.getShallow("cursor")}else l=A.extend({},l);var m=a.style;a.attr("rotation",(u||0)*Math.PI/180||0),c&&a.attr("position",[w(c[0],e[0]),w(c[1],e[1])]),f&&a.attr("cursor",f),a.setColor(r,i&&i.symbolInnerColor),a.setStyle(s);var v=n.getItemVisual(t,"opacity");null!=v&&(m.opacity=v);var y=n.getItemVisual(t,"liftZ"),x=a.__z2Origin;null!=y?null==x&&(a.__z2Origin=a.z2,a.z2+=y):null!=x&&(a.z2=x,a.__z2Origin=null);var _=i&&i.useNameLabel;b.setLabelStyle(m,l,h,d,{labelFetcher:o,labelDataIndex:t,defaultText:function(t,e){return _?n.getName(t):S(n,t)},isRectText:!0,autoColor:r}),a.__symbolOriginalScale=C(e),a.hoverStyle=l,a.highDownOnUpdate=p&&o.isAnimationEnabled()?k:null,b.setHoverStyle(a)},a.fadeOut=function(t,e){var n=this.childAt(0);this.silent=n.silent=!0,e&&e.keepLabel||(n.style.text=null),b.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},A.inherits(i,b.Group);var o=i;t.exports=o},1694:function(t,e,n){var l=n(768),i=n(2152),a=n(1245),o=n(1146),u=o.getLayoutParams,c=o.mergeLayoutParam,h=n(2143),d=["value","category","time","log"];t.exports=function(r,t,s,e){l.each(d,function(o){t.extend({type:r+"Axis."+o,mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,i=n?u(t):{},a=e.getTheme();l.merge(t,a.get(o+"Axis")),l.merge(t,this.getDefaultOption()),t.type=s(r,t),n&&c(t,i,n)},optionUpdated:function(){"category"===this.option.type&&(this.__ordinalMeta=h.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:l.mergeAll([{},i[o+"Axis"],e],!0)})}),a.registerSubTypeDefaulter(r+"Axis",l.curry(s,r))}},1695:function(t,e,n){var x=n(768),_=n(1241),A=x.each,r=x.curry;function b(t,e){return"all"===t||x.isArray(t)&&0<=x.indexOf(t,e)||t===e}function u(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[S(t)]}function w(t){return!!t.get("handle.show")}function S(t){return t.type+"||"+t.id}e.collect=function(t,e){var f,g,n,o,m,v,y,i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return f=i,n=e,o=(g=t).getComponent("tooltip"),m=g.getComponent("axisPointer"),v=m.get("link",!0)||[],y=[],A(n.getCoordinateSystems(),function(h){if(h.axisPointerEnabled){var t=S(h.model),d=f.coordSysAxesInfo[t]={},p=(f.coordSysMap[t]=h).model.getModel("tooltip",o);if(A(h.getAxes(),r(a,!1,null)),h.getTooltipAxes&&o&&p.get("show")){var e="axis"===p.get("trigger"),n="cross"===p.get("axisPointer.type"),i=h.getTooltipAxes(p.get("axisPointer.axis"));(e||n)&&A(i.baseAxes,r(a,!n||"cross",e)),n&&A(i.otherAxes,r(a,"cross",!1))}}function a(t,e,n){var i=n.model.getModel("axisPointer",m),a=i.get("show");if(a&&("auto"!==a||t||w(i))){null==e&&(e=i.get("triggerTooltip"));var o=(i=t?function(t,e,n,i,a,o){var r=e.getModel("axisPointer"),s={};A(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){s[t]=x.clone(r.get(t))}),s.snap="category"!==t.type&&!!o,"cross"===r.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===a){var u=r.get("label.show");if(l.show=null==u||u,!o){var c=s.lineStyle=r.get("crossStyle");c&&x.defaults(l,c.textStyle)}}return t.model.getModel("axisPointer",new _(s,n,i))}(n,p,m,g,t,e):i).get("snap"),r=S(n.model),s=e||o||"category"===n.type,l=f.axesInfo[r]={key:r,axis:n,coordSys:h,axisPointerModel:i,triggerTooltip:e,involveSeries:s,snap:o,useHandle:w(i),seriesModels:[]};d[r]=l,f.seriesInvolved|=s;var u=function(t,e){for(var n=e.model,i=e.dim,a=0;a<t.length;a++){var o=t[a]||{};if(b(o[i+"AxisId"],n.id)||b(o[i+"AxisIndex"],n.componentIndex)||b(o[i+"AxisName"],n.name))return a}}(v,n);if(null!=u){var c=y[u]||(y[u]={axesInfo:{}});c.axesInfo[r]=l,c.mapper=v[u].mapper,l.linkGroup=c}}}}),i.seriesInvolved&&function(a,t){t.eachSeries(function(n){var i=n.coordinateSystem,t=n.get("tooltip.trigger",!0),e=n.get("tooltip.show",!0);i&&"none"!==t&&!1!==t&&"item"!==t&&!1!==e&&!1!==n.get("axisPointer.show",!0)&&A(a.coordSysAxesInfo[S(i.model)],function(t){var e=t.axis;i.getAxis(e.dim)===e&&(t.seriesModels.push(n),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=n.getData().count())})},this)}(i,t),i},e.fixValue=function(t){var e=u(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,a=n.option,o=n.get("status"),r=n.get("value");null!=r&&(r=i.parse(r));var s=w(n);null==o&&(a.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==r||r>l[1])&&(r=l[1]),r<l[0]&&(r=l[0]),a.value=r,s&&(a.status=e.axis.scale.isBlank()?"hide":"show")}},e.getAxisInfo=u,e.getAxisPointerModel=function(t){var e=u(t);return e&&e.axisPointerModel},e.makeKey=S},1696:function(t,e,n){var a=n(768).createHashMap;t.exports=function(i){return{getTargetSeries:function(t){var e={},n=a();return t.eachSeriesByType(i,function(t){t.__paletteScope=e,n.set(t.uid,t)}),n},reset:function(s,t){var l=s.getRawData(),u={},c=s.getData();c.each(function(t){var e=c.getRawIndex(t);u[e]=t}),l.each(function(t){var e,n=u[t],i=null!=n&&c.getItemVisual(n,"color",!0),a=null!=n&&c.getItemVisual(n,"borderColor",!0);if(i&&a||(e=l.getItemModel(t)),i)l.setItemVisual(t,"color",i);else{var o=e.get("itemStyle.color")||s.getColorFromPalette(l.getName(t)||t+"",s.__paletteScope,l.count());l.setItemVisual(t,"color",o),null!=n&&c.setItemVisual(n,"color",o)}if(a)l.setItemVisual(t,"borderColor",a);else{var r=e.get("itemStyle.borderColor");l.setItemVisual(t,"borderColor",r),null!=n&&c.setItemVisual(n,"borderColor",r)}})}}}},1697:function(t,e,n){n(1127).__DEV__;var i=n(768),u=i.each,c=i.createHashMap,a=n(1809),o=n(2626),r=n(2631),h=n(1152),d={geoJSON:o,svg:r},s={load:function(i,a){var o,r=[],s=c(),l=c(),t=p(i);return u(t,function(t){var e=d[t.type].load(i,t);u(e.regions,function(t){var e=t.name;a&&a.hasOwnProperty(e)&&(t=t.cloneShallow(e=a[e])),r.push(t),s.set(e,t),l.set(e,t.center)});var n=e.boundingRect;n&&(o?o.union(n):o=n.clone())}),{regions:r,regionsMap:s,nameCoordMap:l,boundingRect:o||new h(0,0,0,0)}},makeGraphic:l("makeGraphic"),removeGraphic:l("removeGraphic")};function l(o){return function(n,i){var t=p(n),a=[];return u(t,function(t){var e=d[t.type][o];e&&a.push(e(n,t,i))}),a}}function p(t){return a.retrieveMap(t)||[]}t.exports=s},1698:function(t,e){var o={axisPointer:1,tooltip:1,brush:1};e.onIrrelevantElement=function(t,e,n){var i=e.getComponentByElement(t.topTarget),a=i&&i.coordinateSystem;return i&&i!==n&&!o[i.mainType]&&a&&a.model!==n}},1699:function(t,e,n){var l=n(768),a=n(852),b=n(1319),w=n(1153),o=n(1284),u=n(1382),s=n(1468);function c(t,e,n,i,a){var o=S(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),r=n.getModel("label"),s=w.normalizeCssArray(r.get("padding")||0),l=r.getFont(),u=b.getBoundingRect(o,l),c=a.position,h=u.width+s[1]+s[3],d=u.height+s[0]+s[2],p=a.align;"right"===p&&(c[0]-=h),"center"===p&&(c[0]-=h/2);var f,g,m,v,y,x,_=a.verticalAlign;"bottom"===_&&(c[1]-=d),"middle"===_&&(c[1]-=d/2),f=c,g=h,m=d,y=(v=i).getWidth(),x=v.getHeight(),f[0]=Math.min(f[0]+g,y)-g,f[1]=Math.min(f[1]+m,x)-m,f[0]=Math.max(f[0],0),f[1]=Math.max(f[1],0);var A=r.get("backgroundColor");A&&"auto"!==A||(A=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:h,height:d,r:r.get("borderRadius")},position:c.slice(),style:{text:o,textFont:l,textFill:r.getTextColor(),textPosition:"inside",textPadding:s,fill:A,stroke:r.get("borderColor")||"transparent",lineWidth:r.get("borderWidth")||0,shadowBlur:r.get("shadowBlur"),shadowColor:r.get("shadowColor"),shadowOffsetX:r.get("shadowOffsetX"),shadowOffsetY:r.get("shadowOffsetY")},z2:10}}function S(t,e,a,n,i){t=e.scale.parse(t);var o=e.scale.getLabel(t,{precision:i.precision}),r=i.formatter;if(r){var s={value:u.getAxisRawValue(e,t),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};l.each(n,function(t){var e=a.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,i=e&&e.getDataParams(n);i&&s.seriesData.push(i)}),l.isString(r)?o=r.replace("{value}",o):l.isFunction(r)&&(o=r(s))}return o}function h(t,e,n){var i=o.create();return o.rotate(i,i,n.rotation),o.translate(i,i,n.position),a.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}e.buildElStyle=function(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e},e.buildLabelElOption=c,e.getValueLabel=S,e.getTransformedPosition=h,e.buildCartesianSingleLabelElOption=function(t,e,n,i,a,o){var r=s.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get("label.margin"),c(e,i,a,o,{position:h(i.axis,t,n),align:r.textAlign,verticalAlign:r.textVerticalAlign})},e.makeLineShape=function(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}},e.makeRectShape=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},e.makeSectorShape=function(t,e,n,i,a,o){return{cx:t,cy:e,r0:n,r:i,startAngle:a,endAngle:o,clockwise:!0}}},1700:function(t,e,n){var r=n(768),s=n(1508),l=r.each;function a(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}e.createVisualMappings=function(e,t,o){var n={};return l(t,function(i){var a=n[i]=(t.prototype.__hidden=t.prototype,new t);function t(){}l(e[i],function(t,e){if(s.isValidType(e)){var n={type:e,visual:t};o&&o(n,i),a[e]=new s(n),"opacity"===e&&((n=r.clone(n)).type="colorAlpha",a.__hidden.__alphaForOpacity=new s(n))}})}),n},e.replaceVisualOption=function(e,n,t){var i;r.each(t,function(t){n.hasOwnProperty(t)&&a(n[t])&&(i=!0)}),i&&r.each(t,function(t){n.hasOwnProperty(t)&&a(n[t])?e[t]=r.clone(n[t]):delete e[t]})},e.applyVisual=function(t,u,c,h,d,p){var f,g={};function m(t){return c.getItemVisual(f,t)}function v(t,e){c.setItemVisual(f,t,e)}function e(t,e){f=null==p?t:e;var n=c.getRawDataItem(f);if(!n||!1!==n.visualMap)for(var i=h.call(d,t),a=u[i],o=g[i],r=0,s=o.length;r<s;r++){var l=o[r];a[l]&&a[l].applyVisual(t,m,v)}}r.each(t,function(t){var e=s.prepareVisualTypes(u[t]);g[t]=e}),null==p?c.each(e):c.each([p],e)},e.incrementalApplyVisual=function(t,p,f,g){var m={};return r.each(t,function(t){var e=s.prepareVisualTypes(p[t]);m[t]=e}),{progress:function(t,n){function e(t){return n.getItemVisual(a,t)}function i(t,e){n.setItemVisual(a,t,e)}var a;for(null!=g&&(g=n.getDimension(g));null!=(a=t.next());){var o=n.getRawDataItem(a);if(!o||!1!==o.visualMap)for(var r=null!=g?n.get(g,a,!0):a,s=f(r),l=p[s],u=m[s],c=0,h=u.length;c<h;c++){var d=u[c];l[d]&&l[d].applyVisual(r,e,i)}}}}}},1798:function(t,e,n){(t.exports=n(280)(!0)).push([t.i,'.pathImg{background:#4cacff}.pathIndexNav{-webkit-box-shadow:0 4px 8px 0 rgba(0,0,0,.04);box-shadow:0 4px 8px 0 rgba(0,0,0,.04)}.pathIndexNav ul li{float:left;margin-right:10px}.pathIndexNav ul li a{display:block;font-size:15px;color:#333;padding:0 20px;border-radius:18px;height:32px;line-height:32px;margin:5px 0}.pathIndexNav ul li.active a,.pathIndexNav ul li:hover a{background:#ddecf9;color:#4cacff}\n /*!* background-size: cover; *!*/.mainPageArray span{font-size:14px;float:left;background:#ebebeb;padding:0 16px;height:30px;line-height:30px;color:#666;margin-right:20px;cursor:pointer;border-radius:15px}.mainPageArray span.active{background:#4cacff;color:#fff}.squareCard{position:relative;width:280px;margin-right:26px;margin-bottom:40px;float:left;border-radius:6px}.squareCard:nth-child(4n){margin-right:0}.squareCard .squareImg{height:175px;width:280px;overflow:hidden;display:block;border-radius:6px;position:relative}.squareCard .squareImg img{transition:all 1s;-webkit-transition:all 1s;-o-transition:all 1s;width:100%;position:absolute;top:-17.5px}.squareCard .squareImg img:hover{-webkit-transform:scale(1.05);-ms-transform:scale(1.05);transform:scale(1.05)}.cardName{font-size:16px;font-weight:600;height:20px;line-height:20px;margin-bottom:10px}.squareLine:after{position:absolute;width:1px;height:10px;background:#adadad;content:"";right:-10px;top:4px}.squareInfo{color:#777;font-size:12px;font-weight:400;height:18px;line-height:18px}.tag_open{position:absolute;left:0;top:12px;z-index:1}.tag_open .tag_open_name{width:auto;background-color:#ff6800;background-size:100% 100%;padding:0 8px;color:#fff;display:block;height:28px;line-height:28px;border-radius:0 15px 15px 0}.paragraph:hover .status_li a{display:block}.newedu-filter-btn{background-color:#f5f5f5;color:#666}.edu-filter-btn29BD8B,.newedu-filter-btn{display:block;float:left;padding:0 9px;line-height:28px;border-radius:14px;margin-right:10px;margin-bottom:9px}.edu-filter-btn29BD8B{height:28px;background-color:#29bd8b;color:#fff}.lesson-saved-list-item{border-bottom:none!important;margin-bottom:10px;background-color:#fff}.click_add{border-top:none!important}.white-panel li{border:1px solid #fafafa!important}.white-panel li.active{border:1px solid #4cacff!important}.greybackHead{height:40px;line-height:40px;padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#676767;background-color:#eaeaea}.mtf3{margin-top:-3px}.mtf5{margin-top:-5px}.color204{color:#ccc}.lesson-saved-list-itemdrop{height:93px;overflow:hidden}.lesson-saved-list{position:relative}.itempositionleft,.itempositionright{position:absolute}.ant-input{background-color:#fafafa!important}.ant-input:focus{background-color:#fff!important}.pathNavLine{bottom:-11px}#shixun_operation:hover{color:#fff!important}.cursor{cursor:pointer}.paragraph_nameid:hover{color:#4cacff!important}.statisticsNav{height:100px}.statisticsNav ul{margin-top:35px}.statisticsNav ul li{float:left;font-size:18px;color:#4d4d4d;height:64px;line-height:64px;margin:0 30px;cursor:pointer}.statisticsNav ul li a{color:#4d4d4d!important}.statisticsNav ul li.active{color:#05101a;border-bottom:2px solid #05101a}.statisticsNav ul li.active a{color:#05101a!important;text-decoration:none!important}.next-loading{width:100%}.paddingleft22{text-align:left;padding-left:22px}.paddingl5{padding-left:5px}.paddingl10{padding-left:10px}.red{color:red}.pl38{padding-left:38px}.ml37{margin-left:37px}.newmustlearn{padding:34px 25px;text-align:center}.color181818{color:#181818}',"",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/src/modules/paths/ShixunPaths.css"],names:[],mappings:"AAAA,SACE,kBAAmB,CACpB,AACD,cACE,+CAAoD,AAC5C,sCAA4C,CACrD,AACD,oBACE,WAAY,AACZ,iBAAmB,CACpB,AACD,sBACE,cAAe,AACf,eAAgB,AAChB,WAAe,AACf,eAAiB,AACjB,mBAAmB,AACnB,YAAa,AACb,iBAAkB,AAClB,YAAe,CAChB,AACD,yDACE,mBAAoB,AACpB,aAAc,CACf;EAMC,iCAAiC,AAMnC,oBACE,eAAgB,AAChB,WAAY,AACZ,mBAAoB,AACpB,eAAkB,AAClB,YAAa,AACb,iBAAkB,AAClB,WAAe,AACf,kBAAmB,AACnB,eAAgB,AAChB,kBAAoB,CACrB,AACD,2BACE,mBAAoB,AACpB,UAAY,CACb,AAGD,YACE,kBAAmB,AACnB,YAAa,AACb,kBAAmB,AACnB,mBAAoB,AACpB,WAAY,AACZ,iBAAmB,CACpB,AACD,0BACE,cAAkB,CACnB,AACD,uBACE,aAAc,AACd,YAAa,AACb,gBAAiB,AACjB,cAAe,AACf,kBAAmB,AACnB,iBAAmB,CACpB,AACD,2BACE,kBAAmB,AACnB,0BAA2B,AAC3B,qBAAsB,AACtB,WAAY,AACZ,kBAAmB,AACnB,WAAa,CACd,AACD,iCACE,8BAA+B,AAC3B,0BAA2B,AACvB,qBAAuB,CAChC,AAGD,UACE,eAAgB,AAChB,gBAAiB,AACjB,YAAa,AACb,iBAAkB,AAClB,kBAAoB,CACrB,AAED,kBACE,kBAAmB,AACnB,UAAW,AACX,YAAa,AACb,mBAAoB,AACpB,WAAY,AACZ,YAAa,AACb,OAAQ,CACT,AACD,YACE,WAAY,AACZ,eAAgB,AAChB,gBAAiB,AACjB,YAAa,AACb,gBAAkB,CACnB,AAGD,UACE,kBAAmB,AACnB,OAAU,AACV,SAAU,AACV,SAAW,CACZ,AACD,yBAEE,WAAY,AACZ,yBAA0B,AAC1B,0BAA2B,AAC3B,cAAiB,AACjB,WAAY,AACZ,cAAe,AACf,YAAa,AACb,iBAAkB,AAClB,2BAAiC,CAClC,AAID,8BACE,aAAe,CAChB,AAED,mBAOE,yBAA0B,AAC1B,UAAY,CAGb,AAED,yCAZE,cAAe,AACf,WAAY,AACZ,cAAe,AAEf,iBAAkB,AAClB,mBAAoB,AAGpB,kBAAmB,AACnB,iBAAmB,CAcpB,AAXD,sBAIE,YAAa,AAGb,yBAA0B,AAC1B,UAAY,CAGb,AAED,wBACE,6BAA8B,AAC9B,mBAAoB,AACpB,qBAAuB,CACxB,AAED,WACE,yBAA2B,CAC5B,AACD,gBAAgB,kCAAmC,CAAC,AACpD,uBAAuB,kCAAmC,CAAC,AAG3D,cAAc,YAAa,iBAAkB,eAAkB,8BAA+B,sBAAuB,cAAe,wBAA0B,CAAC,AAE/J,MACE,eAAgB,CACjB,AAED,MACE,eAAiB,CAClB,AAED,UACI,UAA0B,CAC7B,AAED,4BACI,YAAa,AACb,eAAiB,CACpB,AAED,mBACI,iBAAmB,CACtB,AAMD,qCACI,iBAAmB,CACtB,AAED,WACE,kCAAoC,CACrC,AACD,iBACE,+BAAmC,CACpC,AAED,aAAa,YAAc,CAAC,AAE5B,wBACI,oBAAsB,CACzB,AAED,QACI,cAAgB,CACnB,AACD,wBACI,uBAAyB,CAC5B,AAED,eAAe,YAAc,CAAC,AAC9B,kBAAkB,eAAiB,CAAC,AACpC,qBAAqB,WAAY,eAAgB,cAAe,YAAa,iBAAkB,cAAgB,cAAgB,CAAC,AAChI,uBAAuB,uBAAyB,CAAC,AACjD,4BAA4B,cAAe,+BAAiC,CAAC,AAC7E,8BAA8B,wBAAyB,AAAC,8BAAiC,CAAC,AAG1F,cACK,UAAW,CACd,AAEF,eACI,gBAAiB,AACjB,iBAAmB,CACtB,AAED,WACI,gBAAkB,CACrB,AAED,YACI,iBAAmB,CACtB,AAED,KACI,SAAU,CACb,AAED,MACI,iBAAmB,CACtB,AACD,MACI,gBAAkB,CACrB,AAED,cACI,kBAAmB,AACnB,iBAAmB,CACtB,AAED,aACI,aAAe,CAClB",file:"ShixunPaths.css",sourcesContent:[".pathImg{\n background: #4CACFF\n}\n.pathIndexNav{\n -webkit-box-shadow:0px 4px 8px 0px rgba(0,0,0,0.04);\n box-shadow:0px 4px 8px 0px rgba(0,0,0,0.04);\n}\n.pathIndexNav ul li{\n float: left;\n margin-right: 10px;\n}\n.pathIndexNav ul li a{\n display: block;\n font-size: 15px;\n color: #333333;\n padding:0px 20px;\n border-radius:18px;\n height: 32px;\n line-height: 32px;\n margin:5px 0px;\n}\n.pathIndexNav ul li.active a,.pathIndexNav ul li:hover a{\n background: #DDECF9;\n color: #4CACFF\n}\n/*.pathImg{*/\n /*width: 100%;*/\n /*height: 300px;*/\n /*background-image: url(../../images/path/path.png);*/\n /*background-color: #000a4f;*/\n /*!* background-size: cover; *!*/\n /*background-position: center;*/\n /*background-repeat: no-repeat;*/\n/*}*/\n\n/* 首页-最新最热 */\n.mainPageArray span{\n font-size: 14px;\n float: left;\n background: #EBEBEB;\n padding: 0px 16px;\n height: 30px;\n line-height: 30px;\n color: #666666;\n margin-right: 20px;\n cursor: pointer;\n border-radius: 15px;\n}\n.mainPageArray span.active{\n background: #4CACFF;\n color: #fff;\n}\n\n/* path-card */\n.squareCard{\n position: relative;\n width: 280px;\n margin-right: 26px;\n margin-bottom: 40px;\n float: left;\n border-radius: 6px;\n}\n.squareCard:nth-child(4n){\n margin-right: 0px;\n}\n.squareCard .squareImg{\n height: 175px;\n width: 280px;\n overflow: hidden;\n display: block;\n border-radius: 6px;\n position: relative;\n}\n.squareCard .squareImg img{\n transition: all 1s;\n -webkit-transition: all 1s;\n -o-transition: all 1s;\n width: 100%;\n position: absolute;\n top: -17.5px;\n}\n.squareCard .squareImg img:hover{\n -webkit-transform: scale(1.05);\n -ms-transform: scale(1.05);\n transform: scale(1.05);\n}\n\n/* card info */\n.cardName{\n font-size: 16px;\n font-weight: 600;\n height: 20px;\n line-height: 20px;\n margin-bottom: 10px;\n}\n\n.squareLine:after{\n position: absolute;\n width: 1px;\n height: 10px;\n background: #adadad;\n content: '';\n right: -10px;\n top:4px;\n}\n.squareInfo{\n color: #777;\n font-size: 12px;\n font-weight: 400;\n height: 18px;\n line-height: 18px;\n}\n\n/* tag-开放课程 */\n.tag_open {\n position: absolute;\n left: 0px;\n top: 12px;\n z-index: 1;\n}\n.tag_open .tag_open_name {\n display: block;\n width: auto;\n background-color: #FF6800;\n background-size: 100% 100%;\n padding: 0px 8px;\n color: #fff;\n display: block;\n height: 28px;\n line-height: 28px;\n border-radius: 0px 15px 15px 0px;\n}\n\n\n\n.paragraph:hover .status_li a{\n display: block;\n}\n\n.newedu-filter-btn{\n display: block;\n float: left;\n padding: 0 9px;\n /*height: 28px;*/\n line-height: 28px;\n border-radius: 14px;\n background-color: #F5F5F5;\n color: #666;\n margin-right: 10px;\n margin-bottom: 9px;\n}\n\n.edu-filter-btn29BD8B{\n display: block;\n float: left;\n padding: 0 9px;\n height: 28px;\n line-height: 28px;\n border-radius: 14px;\n background-color: #29BD8B;\n color: #FFF;\n margin-right: 10px;\n margin-bottom: 9px;\n}\n\n.lesson-saved-list-item{\n border-bottom: none!important;\n margin-bottom: 10px;\n background-color: #fff;\n}\n\n.click_add{\n border-top: none!important;\n}\n.white-panel li{border:1px solid #fafafa!important;}\n.white-panel li.active{border:1px solid #4CACFF!important;}\n\n/* 选择实训列表 */\n.greybackHead{height: 40px;line-height: 40px;padding: 0px 20px;-webkit-box-sizing: border-box;box-sizing: border-box;color: #676767;background-color: #eaeaea;}\n\n.mtf3{\n margin-top:-3px;\n}\n\n.mtf5{\n margin-top: -5px;\n}\n\n.color204{\n color:rgba(204,204,204,1);\n}\n\n.lesson-saved-list-itemdrop{\n height: 93px;\n overflow: hidden;\n}\n\n.lesson-saved-list{\n position: relative;\n}\n\n.itempositionleft{\n position: absolute;\n}\n\n.itempositionright{\n position: absolute;\n}\n\n.ant-input{\n background-color: #fafafa!important;\n}\n.ant-input:focus{\n background-color:#ffffff!important; \n}\n\n.pathNavLine{bottom: -11px;}\n\n#shixun_operation:hover{\n color:#fff !important;\n}\n\n.cursor{\n cursor: pointer;\n}\n.paragraph_nameid:hover{\n color:#4cacff !important;\n}\n/* 学习统计 */\n.statisticsNav{height: 100px;}\n.statisticsNav ul{margin-top: 35px;}\n.statisticsNav ul li{float: left;font-size: 18px;color: #4D4D4D;height: 64px;line-height: 64px;margin:0px 30px;cursor: pointer;}\n.statisticsNav ul li a{color: #4D4D4D!important;}\n.statisticsNav ul li.active{color: #05101A;border-bottom: 2px solid #05101A;}\n.statisticsNav ul li.active a{color: #05101A!important; text-decoration: none !important;}\n\n\n.next-loading{\n width:100%;\n }\n\n.paddingleft22{\n text-align: left;\n padding-left: 22px;\n}\n\n.paddingl5{\n padding-left: 5px;\n}\n\n.paddingl10{\n padding-left: 10px;\n}\n\n.red{\n color:red;\n}\n\n.pl38{\n padding-left: 38px;\n}\n.ml37{\n margin-left: 37px;\n}\n\n.newmustlearn {\n padding: 34px 25px;\n text-align: center;\n}\n\n.color181818{\n color: #181818;\n}"],sourceRoot:""}])},1799:function(t,e,n){var u=n(1284),a=n(1150),c=u.identity;function o(t){return 5e-5<t||t<-5e-5}function i(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null}var r=i.prototype;r.transform=null,r.needLocalTransform=function(){return o(this.rotation)||o(this.position[0])||o(this.position[1])||o(this.scale[0]-1)||o(this.scale[1]-1)};var h=[];r.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),i=this.transform;if(n||e){i=i||u.create(),n?this.getLocalTransform(i):c(i),e&&(n?u.mul(i,t.transform,i):u.copy(i,t.transform)),this.transform=i;var a=this.globalScaleRatio;if(null!=a&&1!==a){this.getGlobalScale(h);var o=h[0]<0?-1:1,r=h[1]<0?-1:1,s=((h[0]-o)*a+o)/h[0]||0,l=((h[1]-r)*a+r)/h[1]||0;i[0]*=s,i[1]*=s,i[2]*=l,i[3]*=l}this.invTransform=this.invTransform||u.create(),u.invert(this.invTransform,i)}else i&&c(i)},r.getLocalTransform=function(t){return i.getLocalTransform(this,t)},r.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},r.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var s=[],l=u.create();r.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=this.position,a=this.scale;o(e-1)&&(e=Math.sqrt(e)),o(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),i[0]=t[4],i[1]=t[5],a[0]=e,a[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e)}},r.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(u.mul(s,t.invTransform,e),e=s);var n=this.origin;n&&(n[0]||n[1])&&(l[4]=n[0],l[5]=n[1],u.mul(s,e,l),s[4]-=n[0],s[5]-=n[1],e=s),this.setLocalTransform(e)}},r.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1])):(t[0]=1,t[1]=1),t},r.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&a.applyTransform(n,n,i),n},r.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&a.applyTransform(n,n,i),n},i.getLocalTransform=function(t,e){c(e=e||[]);var n=t.origin,i=t.scale||[1,1],a=t.rotation||0,o=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),u.scale(e,e,i),a&&u.rotate(e,e,a),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=o[0],e[5]+=o[1],e};var d=i;t.exports=d},1800:function(t,e){var u=32,y=7;function c(t,e,n,i){var a=e+1;if(a===n)return 1;if(i(t[a++],t[e])<0){for(;a<n&&i(t[a],t[a-1])<0;)a++;!function(t,e,n){n--;for(;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}(t,e,a)}else for(;a<n&&0<=i(t[a],t[a-1]);)a++;return a-e}function h(t,e,n,i,a){for(i===e&&i++;i<n;i++){for(var o,r=t[i],s=e,l=i;s<l;)a(r,t[o=s+l>>>1])<0?l=o:s=1+o;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;0<u;)t[s+u]=t[s+u-1],u--}t[s]=r}}function x(t,e,n,i,a,o){var r=0,s=0,l=1;if(0<o(t,e[n+a])){for(s=i-a;l<s&&0<o(t,e[n+a+l]);)(l=1+((r=l)<<1))<=0&&(l=s);s<l&&(l=s),r+=a,l+=a}else{for(s=a+1;l<s&&o(t,e[n+a-l])<=0;)(l=1+((r=l)<<1))<=0&&(l=s);s<l&&(l=s);var u=r;r=a-l,l=a-u}for(r++;r<l;){var c=r+(l-r>>>1);0<o(t,e[n+c])?r=c+1:l=c}return l}function _(t,e,n,i,a,o){var r=0,s=0,l=1;if(o(t,e[n+a])<0){for(s=a+1;l<s&&o(t,e[n+a-l])<0;)(l=1+((r=l)<<1))<=0&&(l=s);s<l&&(l=s);var u=r;r=a-l,l=a-u}else{for(s=i-a;l<s&&0<=o(t,e[n+a+l]);)(l=1+((r=l)<<1))<=0&&(l=s);s<l&&(l=s),r+=a,l+=a}for(r++;r<l;){var c=r+(l-r>>>1);o(t,e[n+c])<0?l=c:r=c+1}return l}function d(f,g){var t,r,s,m=y,l=0;t=f.length;var v=[];function e(t){var e=r[t],n=s[t],i=r[t+1],a=s[t+1];s[t]=n+a,t===l-3&&(r[t+1]=r[t+2],s[t+1]=s[t+2]),l--;var o=_(f[i],f,e,n,0,g);e+=o,0!==(n-=o)&&0!==(a=x(f[e+n-1],f,i,a,a-1,g))&&(n<=a?function(t,e,n,i){var a=0;for(a=0;a<e;a++)v[a]=f[t+a];var o=0,r=n,s=t;if(f[s++]=f[r++],0==--i){for(a=0;a<e;a++)f[s+a]=v[o+a];return}if(1===e){for(a=0;a<i;a++)f[s+a]=f[r+a];return f[s+i]=v[o]}var l,u,c,h=m;for(;;){u=l=0,c=!1;do{if(g(f[r],v[o])<0){if(f[s++]=f[r++],u++,(l=0)==--i){c=!0;break}}else if(f[s++]=v[o++],l++,u=0,1==--e){c=!0;break}}while((l|u)<h);if(c)break;do{if(0!==(l=_(f[r],v,o,e,0,g))){for(a=0;a<l;a++)f[s+a]=v[o+a];if(s+=l,o+=l,(e-=l)<=1){c=!0;break}}if(f[s++]=f[r++],0==--i){c=!0;break}if(0!==(u=x(v[o],f,r,i,0,g))){for(a=0;a<u;a++)f[s+a]=f[r+a];if(s+=u,r+=u,0===(i-=u)){c=!0;break}}if(f[s++]=v[o++],1==--e){c=!0;break}h--}while(y<=l||y<=u);if(c)break;h<0&&(h=0),h+=2}if((m=h)<1&&(m=1),1===e){for(a=0;a<i;a++)f[s+a]=f[r+a];f[s+i]=v[o]}else{if(0===e)throw new Error;for(a=0;a<e;a++)f[s+a]=v[o+a]}}(e,n,i,a):function(t,e,n,i){var a=0;for(a=0;a<i;a++)v[a]=f[n+a];var o=t+e-1,r=i-1,s=n+i-1,l=0,u=0;if(f[s--]=f[o--],0==--e){for(l=s-(i-1),a=0;a<i;a++)f[l+a]=v[a];return}if(1===i){for(u=(s-=e)+1,l=(o-=e)+1,a=e-1;0<=a;a--)f[u+a]=f[l+a];return f[s]=v[r]}var c=m;for(;;){var h=0,d=0,p=!1;do{if(g(v[r],f[o])<0){if(f[s--]=f[o--],h++,(d=0)==--e){p=!0;break}}else if(f[s--]=v[r--],d++,h=0,1==--i){p=!0;break}}while((h|d)<c);if(p)break;do{if(0!==(h=e-_(v[r],f,t,e,e-1,g))){for(e-=h,u=(s-=h)+1,l=(o-=h)+1,a=h-1;0<=a;a--)f[u+a]=f[l+a];if(0===e){p=!0;break}}if(f[s--]=v[r--],1==--i){p=!0;break}if(0!==(d=i-x(f[o],v,0,i,i-1,g))){for(i-=d,u=(s-=d)+1,l=(r-=d)+1,a=0;a<d;a++)f[u+a]=v[l+a];if(i<=1){p=!0;break}}if(f[s--]=f[o--],0==--e){p=!0;break}c--}while(y<=h||y<=d);if(p)break;c<0&&(c=0),c+=2}(m=c)<1&&(m=1);if(1===i){for(u=(s-=e)+1,l=(o-=e)+1,a=e-1;0<=a;a--)f[u+a]=f[l+a];f[s]=v[r]}else{if(0===i)throw new Error;for(l=s-(i-1),a=0;a<i;a++)f[l+a]=v[a]}}(e,n,i,a))}r=[],s=[],this.mergeRuns=function(){for(;1<l;){var t=l-2;if(1<=t&&s[t-1]<=s[t]+s[t+1]||2<=t&&s[t-2]<=s[t]+s[t-1])s[t-1]<s[t+1]&&t--;else if(s[t]>s[t+1])break;e(t)}},this.forceMergeRuns=function(){for(;1<l;){var t=l-2;0<t&&s[t-1]<s[t+1]&&t--,e(t)}},this.pushRun=function(t,e){r[l]=t,s[l]=e,l+=1}}t.exports=function(t,e,n,i){n=n||0;var a=(i=i||t.length)-n;if(!(a<2)){var o=0;if(a<u)h(t,n,i,n+(o=c(t,n,i,e)),e);else{var r=new d(t,e),s=function(t){for(var e=0;u<=t;)e|=1&t,t>>=1;return t+e}(a);do{if((o=c(t,n,i,e))<s){var l=a;s<l&&(l=s),h(t,n,n+l,n+o,e),o=l}r.pushRun(n,o),r.mergeRuns(),a-=o,n+=o}while(0!==a);r.forceMergeRuns()}}}},1801:function(t,e,n){function i(t){this.extendFrom(t,!1)}var c=n(2119),h=n(1684).ContextCachedBy,d=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function r(t,e,n){var i=null==e.x?0:e.x,a=null==e.x2?1:e.x2,o=null==e.y?0:e.y,r=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,a=a*n.width+n.x,o=o*n.height+n.y,r=r*n.height+n.y),i=isNaN(i)?0:i,a=isNaN(a)?1:a,o=isNaN(o)?0:o,r=isNaN(r)?0:r,t.createLinearGradient(i,o,a,r)}function s(t,e,n){var i=n.width,a=n.height,o=Math.min(i,a),r=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(r=r*i+n.x,s=s*a+n.y,l*=o),t.createRadialGradient(r,s,0,r,s,l)}for(var a=i.prototype={constructor:i,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(t,e,n){var i=this,a=n&&n.style,o=!a||t.__attrCachedBy!==h.STYLE_BIND;t.__attrCachedBy=h.STYLE_BIND;for(var r=0;r<d.length;r++){var s=d[r],l=s[0];!o&&i[l]===a[l]||(t[l]=c(t,l,i[l]||s[1]))}if(!o&&i.fill===a.fill||(t.fillStyle=i.fill),!o&&i.stroke===a.stroke||(t.strokeStyle=i.stroke),!o&&i.opacity===a.opacity||(t.globalAlpha=null==i.opacity?1:i.opacity),!o&&i.blend===a.blend||(t.globalCompositeOperation=i.blend||"source-over"),this.hasStroke()){var u=i.lineWidth;t.lineWidth=u/(this.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1)}},hasFill:function(){var t=this.fill;return null!=t&&"none"!==t},hasStroke:function(){var t=this.stroke;return null!=t&&"none"!==t&&0<this.lineWidth},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||!0!==e&&(!1===e?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,n){for(var i=("radial"===e.type?s:r)(t,e,n),a=e.colorStops,o=0;o<a.length;o++)i.addColorStop(a[o].offset,a[o].color);return i}},o=0;o<d.length;o++){var l=d[o];l[0]in a||(a[l[0]]=l[1])}i.getGradient=a.getGradient;var u=i;t.exports=u},1802:function(t,e,n){var s=new(n(2118))(50);function l(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function u(t){return t&&t.width&&t.height}e.findExistImage=function(t){if("string"!=typeof t)return t;var e=s.get(t);return e&&e.image},e.createOrUpdateImage=function(t,e,n,i,a){if(t){if("string"!=typeof t)return t;if(e&&e.__zrImageSrc===t||!n)return e;var o=s.get(t),r={hostEl:n,cb:i,cbPayload:a};return o?u(e=o.image)||o.pending.push(r):((e=new Image).onload=e.onerror=l,s.put(t,e.__cachedImgObj={image:e,pending:[r]}),e.src=e.__zrImageSrc=t),e}return e},e.isImageReady=u},1803:function(t,e,n){var i=n(1224),r=n(2123),s=n(1804).subPixelOptimizeRect,l={},a=i.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var n,i,a,o;this.subPixelOptimize?(s(l,e,this.style),n=l.x,i=l.y,a=l.width,o=l.height,l.r=e.r,e=l):(n=e.x,i=e.y,a=e.width,o=e.height),e.r?r.buildPath(t,e):t.rect(n,i,a,o),t.closePath()}});t.exports=a},1804:function(t,e){var l=Math.round;function u(t,e,n){var i=l(2*t);return(i+l(e))%2==0?i/2:(i+(n?1:-1))/2}e.subPixelOptimizeLine=function(t,e,n){var i=n&&n.lineWidth;if(e&&i){var a=e.x1,o=e.x2,r=e.y1,s=e.y2;l(2*a)===l(2*o)?t.x1=t.x2=u(a,i,!0):(t.x1=a,t.x2=o),l(2*r)===l(2*s)?t.y1=t.y2=u(r,i,!0):(t.y1=r,t.y2=s)}},e.subPixelOptimizeRect=function(t,e,n){var i=n&&n.lineWidth;if(e&&i){var a=e.x,o=e.y,r=e.width,s=e.height;t.x=u(a,i,!0),t.y=u(o,i,!0),t.width=Math.max(u(a+r,i,!1)-t.x,0===r?0:1),t.height=Math.max(u(o+s,i,!1)-t.y,0===s?0:1)}},e.subPixelOptimize=u},1805:function(t,e,n){function i(t,e,n,i,a,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==n?1:n,this.y2=null==i?0:i,this.type="linear",this.global=o||!1,r.call(this,a)}var a=n(768),r=n(1687);i.prototype={constructor:i},a.inherits(i,r);var o=i;t.exports=o},1806:function(t,e,n){var i=n(768).inherits,a=n(1593),o=n(1152);function r(t){a.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}r.prototype.incremental=!0,r.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},r.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},r.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},r.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},r.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){(e=this._displayables[t]).parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},r.prototype.brush=function(t,e){for(var n=this._cursor;n<this._displayables.length;n++){(i=this._displayables[n]).beforeBrush&&i.beforeBrush(t),i.brush(t,n===this._cursor?null:this._displayables[n-1]),i.afterBrush&&i.afterBrush(t)}this._cursor=n;for(n=0;n<this._temporaryDisplayables.length;n++){var i;(i=this._temporaryDisplayables[n]).beforeBrush&&i.beforeBrush(t),i.brush(t,0===n?null:this._temporaryDisplayables[n-1]),i.afterBrush&&i.afterBrush(t)}this._temporaryDisplayables=[],this.notClear=!0};var s=[];r.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(s)),t.union(i)}this._rect=t}return this._rect},r.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++){if(this._displayables[i].contain(t,e))return!0}return!1},i(r,a);var l=r;t.exports=l},1807:function(t,e,n){var u=n(1503).retrieveRawValue,i=n(1153),g=i.getTooltipMarker,c=i.formatTpl,m=n(987).getTooltipRenderMode,h=/\{@(.+?)\}/g,a={getDataParams:function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),a=n.getRawIndex(t),o=n.getName(t),r=n.getRawDataItem(t),s=n.getItemVisual(t,"color"),l=n.getItemVisual(t,"borderColor"),u=this.ecModel.getComponent("tooltip"),c=u&&u.get("renderMode"),h=m(c),d=this.mainType,p="series"===d,f=n.userOutput;return{componentType:d,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:p?this.subType:null,seriesIndex:this.seriesIndex,seriesId:p?this.id:null,seriesName:p?this.name:null,name:o,dataIndex:a,data:r,dataType:e,value:i,color:s,borderColor:l,dimensionNames:f?f.dimensionNames:null,encode:f?f.encode:null,marker:g({color:s,renderMode:h}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(i,t,e,n,a){t=t||"normal";var o=this.getData(e),r=o.getItemModel(i),s=this.getDataParams(i,e);null!=n&&s.value instanceof Array&&(s.value=s.value[n]);var l=r.get("normal"===t?[a||"label","formatter"]:[t,a||"label","formatter"]);return"function"==typeof l?(s.status=t,s.dimensionIndex=n,l(s)):"string"==typeof l?c(l,s).replace(h,function(t,e){var n=e.length;return"["===e.charAt(0)&&"]"===e.charAt(n-1)&&(e=+e.slice(1,n-1)),u(o,i,e)}):void 0},getRawValue:function(t,e){return u(this.getData(e),t)},formatTooltip:function(){}};t.exports=a},1808:function(t,e,n){var i=n(768),v=(i.assert,i.isArray);n(1127).__DEV__;function a(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}var o=a.prototype;o.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var a=this.context;a.data=a.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,r=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;function c(t){return 1<=t||(t=1),t}r===l&&s===u||(e="reset"),!this._dirty&&"reset"!==e||(this._dirty=!1,o=function(t,e){var n,i;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&((n=t._reset(t.context))&&n.progress&&(i=n.forceFirstProgress,n=n.progress),v(n)&&!n.length&&(n=null));t._progress=n,t._modBy=t._modDataCount=null;var a=t._downstream;return a&&a.dirty(),i}(this,i)),this._modBy=l,this._modDataCount=u;var h=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,p=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!i&&(o||d<p)){var f=this._progress;if(v(f))for(var g=0;g<f.length;g++)y(this,f[g],d,p,l,u);else y(this,f,d,p,l,u)}this._dueIndex=p;var m=null!=this._settedOutputEnd?this._settedOutputEnd:p;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var r,s,l,u,c,h,d=h={reset:function(t,e,n,i){s=t,r=e,l=n,u=i,c=Math.ceil(u/l),h.next=1<l&&0<u?f:p}};function p(){return s<r?s++:null}function f(){var t=s%c*l+Math.ceil(s/c),e=r<=s?null:t<u?t:s;return s++,e}function y(t,e,n,i,a,o){d.reset(n,i,a,o),t._callingProgress=e,t._callingProgress({start:n,end:i,count:i-n,next:d.next},t.context)}o.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},o.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},o.pipe=function(t){this._downstream===t&&!this._dirty||((this._downstream=t)._upstream=this,t.dirty())},o.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},o.getUpstream=function(){return this._upstream},o.getDownstream=function(){return this._downstream},o.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e.createTask=function(t){return new a(t)}},1809:function(t,e,n){n(1127).__DEV__;var i=n(768),a=i.createHashMap,o=i.isString,r=i.isArray,s=i.each,l=(i.assert,n(2140).parseXML),u=a(),c={registerMap:function(t,e,n){var i;return i=r(e)?e:e.svg?[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),[{type:"geoJSON",source:e,specialAreas:n}]),s(i,function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON"),(0,h[e])(t)}),u.set(t,i)},retrieveMap:function(t){return u.get(t)}},h={geoJSON:function(t){var e=t.source;t.geoJSON=o(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=l(t.source)}};t.exports=c},1810:function(t,e,n){var s=n(1503).retrieveRawValue;e.getDefaultLabel=function(t,e){var n=t.mapDimension("defaultedLabel",!0),i=n.length;if(1===i)return s(t,e,n[0]);if(i){for(var a=[],o=0;o<n.length;o++){var r=s(t,e,n[o]);a.push(r)}return a.join(" ")}}},1811:function(t,e,n){n(1127).__DEV__;var i=n(768),o=i.isObject,h=i.each,a=i.map,u=i.indexOf,r=(i.retrieve,n(1146).getLayoutRect),s=n(1382),c=s.createScaleByModel,l=s.ifAxisCrossZero,d=s.niceScaleExtent,p=s.estimateLabelUnionRect,f=n(2594),g=n(2596),m=n(1381),v=n(1413).getStackedDimension;function y(t,e){return t.getCoordSysModel()===e}function x(t,e,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,n),this.model=t}n(2597);var _=x.prototype;function A(t,e,n,i){n.getAxesOnZeroOf=function(){return a?[a]:[]};var a,o=t[e],r=n.model,s=r.get("axisLine.onZero"),l=r.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)b(o[l])&&(a=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&b(o[u])&&!i[c(o[u])]){a=o[u];break}a&&(i[c(a)]=!0)}function c(t){return t.dim+"_"+t.index}}function b(t){return t&&"category"!==t.type&&"time"!==t.type&&l(t)}_.type="grid",_.axisPointerEnabled=!0,_.getRect=function(){return this._rect},_.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model),h(n.x,function(t){d(t.scale,t.model)}),h(n.y,function(t){d(t.scale,t.model)});var i={};h(n.x,function(t){A(n,"y",t,i)}),h(n.y,function(t){A(n,"x",t,i)}),this.resize(this.model,e)},_.resize=function(t,e,n){var l=r(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=l;var i=this._axesList;function a(){h(i,function(t){var e,n,i,a,o=t.isHorizontal(),r=o?[0,l.width]:[0,l.height],s=t.inverse?1:0;t.setExtent(r[s],r[1-s]),e=t,n=o?l.x:l.y,i=e.getExtent(),a=i[0]+i[1],e.toGlobalCoord="x"===e.dim?function(t){return t+n}:function(t){return a-t+n},e.toLocalCoord="x"===e.dim?function(t){return t-n}:function(t){return a-t+n}})}a(),!n&&t.get("containLabel")&&(h(i,function(t){if(!t.model.get("axisLabel.inside")){var e=p(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get("axisLabel.margin");l[n]-=e[n]+i,"top"===t.position?l.y+=e.height+i:"left"===t.position&&(l.x+=e.width+i)}}}),a())},_.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n){if(null==e)for(var i in n)if(n.hasOwnProperty(i))return n[i];return n[e]}},_.getAxes=function(){return this._axesList.slice()},_.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}o(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,a=this._coordsList;i<a.length;i++)if(a[i].getAxis("x").index===t||a[i].getAxis("y").index===e)return a[i]},_.getCartesians=function(){return this._coordsList.slice()},_.convertToPixel=function(t,e,n){var i=this._findConvertTarget(t,e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},_.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(t,e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},_._findConvertTarget=function(t,e){var n,i,a=e.seriesModel,o=e.xAxisModel||a&&a.getReferringComponents("xAxis")[0],r=e.yAxisModel||a&&a.getReferringComponents("yAxis")[0],s=e.gridModel,l=this._coordsList;if(a)n=a.coordinateSystem,u(l,n)<0&&(n=null);else if(o&&r)n=this.getCartesian(o.componentIndex,r.componentIndex);else if(o)i=this.getAxis("x",o.componentIndex);else if(r)i=this.getAxis("y",r.componentIndex);else if(s){s.coordinateSystem===this&&(n=this._coordsList[0])}return{cartesian:n,axis:i}},_.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},_._initCartesian=function(r,t,e){var s={left:!1,right:!1,top:!1,bottom:!1},l={x:{},y:{}},u={x:0,y:0};if(t.eachComponent("xAxis",n("x"),this),t.eachComponent("yAxis",n("y"),this),!u.x||!u.y)return this._axesMap={},void(this._axesList=[]);function n(o){return function(t,e){if(y(t,r)){var n=t.get("position");"x"===o?"top"!==n&&"bottom"!==n&&(n=s.bottom?"top":"bottom"):"left"!==n&&"right"!==n&&(n=s.left?"right":"left"),s[n]=!0;var i=new g(o,c(t),[0,0],t.get("type"),n),a="category"===i.type;i.onBand=a&&t.get("boundaryGap"),i.inverse=t.get("inverse"),(t.axis=i).model=t,i.grid=this,i.index=e,this._axesList.push(i),l[o][e]=i,u[o]++}}}this._axesMap=l,h(l.x,function(a,o){h(l.y,function(t,e){var n="x"+o+"y"+e,i=new f(n);i.grid=this,i.model=r,this._coordsMap[n]=i,this._coordsList.push(i),i.addAxis(a),i.addAxis(t)},this)},this)},_._updateScale=function(l,u){function c(e,n){h(e.mapDimension(n.dim,!0),function(t){n.scale.unionExtentFromData(e,v(e,t))})}h(this._axesList,function(t){t.scale.setExtent(1/0,-1/0)}),l.eachSeries(function(t){if(C(t)){var e=S(t,l),n=e[0],i=e[1];if(!y(n,u)||!y(i,u))return;var a=this.getCartesian(n.componentIndex,i.componentIndex),o=t.getData(),r=a.getAxis("x"),s=a.getAxis("y");"list"===o.type&&(c(o,r,t),c(o,s,t))}},this)},_.getTooltipAxes=function(i){var a=[],o=[];return h(this.getCartesians(),function(t){var e=null!=i&&"auto"!==i?t.getAxis(i):t.getBaseAxis(),n=t.getOtherAxis(e);u(a,e)<0&&a.push(e),u(o,n)<0&&o.push(n)}),{baseAxes:a,otherAxes:o}};var w=["xAxis","yAxis"];function S(e){return a(w,function(t){return e.getReferringComponents(t)[0]})}function C(t){return"cartesian2d"===t.get("coordinateSystem")}x.create=function(i,a){var o=[];return i.eachComponent("grid",function(t,e){var n=new x(t,i,a);n.name="grid_"+e,n.resize(t,a,!0),t.coordinateSystem=n,o.push(n)}),i.eachSeries(function(t){if(C(t)){var e=S(t),n=e[0],i=e[1],a=n.getCoordSysModel().coordinateSystem;t.coordinateSystem=a.getCartesian(n.componentIndex,i.componentIndex)}}),o},x.dimensions=x.prototype.dimensions=f.prototype.dimensions,m.register("cartesian2d",x);var M=x;t.exports=M},1812:function(t,e,n){var i=n(768),a={updateSelectedMap:function(t){this._targetList=i.isArray(t)?t.slice():[],this._selectTargetMap=i.reduce(t||[],function(t,e){return t.set(e.name,e),t},i.createHashMap())},select:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);"single"===this.get("selectedMode")&&this._selectTargetMap.each(function(t){t.selected=!1}),n&&(n.selected=!0)},unSelect:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);n&&(n.selected=!1)},toggleSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);if(null!=n)return this[n.selected?"unSelect":"select"](t,e),n.selected},isSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);return n&&n.selected}};t.exports=a},1813:function(t,e){e.updateViewOnPan=function(t,e,n){var i=t.target,a=i.position;a[0]+=e,a[1]+=n,i.dirty()},e.updateViewOnZoom=function(t,e,n,i){var a=t.target,o=t.zoomLimit,r=a.position,s=a.scale,l=t.zoom=t.zoom||1;if(l*=e,o){var u=o.min||0,c=o.max||1/0;l=Math.max(Math.min(c,l),u)}var h=l/t.zoom;t.zoom=l,r[0]-=(n-r[0])*(h-1),r[1]-=(i-r[1])*(h-1),s[0]*=h,s[1]*=h,a.dirty()}},1814:function(t,e){e.updateCenterAndZoom=function(t,e,n){var i=t.getZoom(),a=t.getCenter(),o=e.zoom,r=t.dataToPoint(a);if(null!=e.dx&&null!=e.dy){r[0]-=e.dx,r[1]-=e.dy;a=t.pointToData(r);t.setCenter(a)}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}t.scale[0]*=o,t.scale[1]*=o;var u=t.position,c=(e.originX-u[0])*(o-1),h=(e.originY-u[1])*(o-1);u[0]-=c,u[1]-=h,t.updateTransform();a=t.pointToData(r);t.setCenter(a),t.setZoom(o*i)}return{center:t.getCenter(),zoom:t.getZoom()}}},1815:function(t,e,n){n(1127).__DEV__;var i=n(789),u=n(768),c=n(2633),f=n(1146),g=n(965),s=n(1697),h=n(1809);function d(t,e){var n=t.get("boundingCoords");if(null!=n){var i=n[0],a=n[1];isNaN(i[0])||isNaN(i[1])||isNaN(a[0])||isNaN(a[1])||this.setBoundingRect(i[0],i[1],a[0]-i[0],a[1]-i[1])}var o,r=this.getBoundingRect(),s=t.get("layoutCenter"),l=t.get("layoutSize"),u=e.getWidth(),c=e.getHeight(),h=r.width/r.height*this.aspectScale,d=!1;if(s&&l&&(s=[g.parsePercent(s[0],u),g.parsePercent(s[1],c)],l=g.parsePercent(l,Math.min(u,c)),isNaN(s[0])||isNaN(s[1])||isNaN(l)||(d=!0)),d){var p={};1<h?(p.width=l,p.height=l/h):(p.height=l,p.width=l*h),p.y=s[1]-p.height/2,p.x=s[0]-p.width/2}else(o=t.getBoxLayoutParams()).aspect=h,p=f.getLayoutRect(o,{width:u,height:c});this.setViewRect(p.x,p.y,p.width,p.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function p(n,t){u.each(t.get("geoCoord"),function(t,e){n.addGeoCoord(e,t)})}var a={dimensions:c.prototype.dimensions,create:function(t,s){var l=[];t.eachComponent("geo",function(t,e){var n=t.get("map"),i=t.get("aspectScale"),a=!0,o=h.retrieveMap(n);o&&o[0]&&"svg"===o[0].type?(null==i&&(i=1),a=!1):null==i&&(i=.75);var r=new c(n+e,n,t.get("nameMap"),a);r.aspectScale=i,r.zoomLimit=t.get("scaleLimit"),l.push(r),p(r,t),(t.coordinateSystem=r).model=t,r.resize=d,r.resize(t,s)}),t.eachSeries(function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=l[e]}});var n={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();n[e]=n[e]||[],n[e].push(t)}}),u.each(n,function(t,e){var n=u.map(t,function(t){return t.get("nameMap")}),i=new c(e,e,u.mergeAll(n));i.zoomLimit=u.retrieve.apply(null,u.map(t,function(t){return t.get("scaleLimit")})),l.push(i),i.resize=d,i.aspectScale=t[0].get("aspectScale"),i.resize(t[0],s),u.each(t,function(t){p(t.coordinateSystem=i,t)})}),l},getFilledRegions:function(t,e,n){for(var i=(t||[]).slice(),a=u.createHashMap(),o=0;o<i.length;o++)a.set(i[o].name,i[o]);var r=s.load(e,n);return u.each(r.regions,function(t){var e=t.name;a.get(e)||i.push({name:e})}),i}};i.registerCoordinateSystem("geo",a);var o=a;t.exports=o},1816:function(t,e,n){var i=n(768),o=n(1150),a=n(1284),r=n(1152),s=n(1799),l=o.applyTransform;function u(){s.call(this)}function c(t){this.name=t,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function h(t,e,n,i){var a=n.seriesModel,o=a?a.coordinateSystem:null;return o===this?o[t](i):null}i.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,n,i){return this._rect=new r(t,e,n,i),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,n,i){this.transformTo(t,e,n,i),this._viewRect=new r(t,e,n,i)},transformTo:function(t,e,n,i){var a=this.getBoundingRect(),o=this._rawTransformable;o.transform=a.calculateTransform(new r(t,e,n,i)),o.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),a=this.getZoom();i=o.applyTransform([],i,t),n=o.applyTransform([],n,t),e.origin=i,e.position=[n[0]-i[0],n[1]-i[1]],e.scale=[a,a],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;(e.parent=t).updateTransform(),e.updateTransform(),a.copy(this.transform||(this.transform=[]),e.transform||a.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],a.invert(this.invTransform,this.transform),this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?l(n,t,i):o.copy(n,t)},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:i.curry(h,"dataToPoint"),convertFromPixel:i.curry(h,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},i.mixin(c,s);var d=c;t.exports=d},1817:function(t,e,n){function c(t,e){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=e}var h=n(768),i=n(1241),o=n(2160),r=n(1320),d=n(1552);function p(e,t,n){this.root,this.data,this._nodes=[],this.hostModel=e,this.levelModels=h.map(t||[],function(t){return new i(t,e,e.ecModel)}),this.leavesModel=new i(n||{},e,e.ecModel)}function f(t,e){var n=e.children;t.parentNode!==e&&(n.push(t),t.parentNode=e)}c.prototype={constructor:c,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,e,n){"function"==typeof t&&(n=e,e=t,t=null),t=t||{},h.isString(t)&&(t={order:t});var i,a=t.order||"preorder",o=this[t.attr||"children"];"preorder"===a&&(i=e.call(n,this));for(var r=0;!i&&r<o.length;r++)o[r].eachNode(t,e,n);"postorder"===a&&e.call(n,this)},updateDepthAndHeight:function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var a=n[e].getNodeById(t);if(a)return a}},contains:function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var a=n[e].contains(t);if(a)return a}},getAncestors:function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},getValue:function(t){var e=this.hostTree.data;return e.get(e.getDimension(t||"value"),this.dataIndex)},setLayout:function(t,e){0<=this.dataIndex&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e,n=this.hostTree,i=n.data.getItemModel(this.dataIndex),a=this.getLevelModel();return a||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(e=this.getLeavesModel()),i.getModel(t,(a||e||n.hostModel).getModel(t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(t,e){0<=this.dataIndex&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},p.prototype={constructor:p,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},clearLayouts:function(){this.data.clearItemLayouts()}},p.createTree=function(t,e,n){var s=new p(e,n.levels,n.leaves),l=[],u=1;!function t(e,n){var i=e.value;u=Math.max(u,h.isArray(i)?i.length:1);l.push(e);var a=new c(e.name,s);n?f(a,n):s.root=a;s._nodes.push(a);var o=e.children;if(o)for(var r=0;r<o.length;r++)t(o[r],a)}(t),s.root.updateDepthAndHeight(0);var i=d(l,{coordDimensions:["value"],dimensionsCount:u}),a=new r(i,e);return a.initData(l),o({mainData:a,struct:s,structAttr:"tree"}),s.update(),s};var a=p;t.exports=a},1818:function(t,e,n){var i=n(852),a=n(1819);function o(t){this._ctor=t||a,this.group=new i.Group}var r=o.prototype;function s(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function l(t){return isNaN(t[0])||isNaN(t[1])}function u(t){return!l(t[0])&&!l(t[1])}r.isPersistent=function(){return!0},r.updateData=function(n){var i=this,e=i.group,a=i._lineData;i._lineData=n,a||e.removeAll();var o=s(n);n.diff(a).add(function(t){!function(t,e,n,i){if(!u(e.getItemLayout(n)))return;var a=new t._ctor(e,n,i);e.setItemGraphicEl(n,a),t.group.add(a)}(i,n,t,o)}).update(function(t,e){!function(t,e,n,i,a,o){var r=e.getItemGraphicEl(i);if(!u(n.getItemLayout(a)))return t.group.remove(r);r?r.updateData(n,a,o):r=new t._ctor(n,a,o);n.setItemGraphicEl(a,r),t.group.add(r)}(i,a,n,e,t,o)}).remove(function(t){e.remove(a.getItemGraphicEl(t))}).execute()},r.updateLayout=function(){var n=this._lineData;n&&n.eachItemGraphicEl(function(t,e){t.updateLayout(n,e)},this)},r.incrementalPrepareUpdate=function(t){this._seriesScope=s(t),this._lineData=null,this.group.removeAll()},r.incrementalUpdate=function(t,e){function n(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}for(var i=t.start;i<t.end;i++){if(u(e.getItemLayout(i))){var a=new this._ctor(e,i,this._seriesScope);a.traverse(n),this.group.add(a),e.setItemGraphicEl(i,a)}}},r.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},r._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var c=o;t.exports=c},1819:function(t,e,n){var A=n(768),x=n(1150),s=n(1321),u=n(2656),b=n(852),w=n(965).round,S=["fromSymbol","toSymbol"];function c(t){return"_"+t+"Type"}function h(t,e,n){var i=e.getItemVisual(n,"color"),a=e.getItemVisual(n,t),o=e.getItemVisual(n,t+"Size");if(a&&"none"!==a){A.isArray(o)||(o=[o,o]);var r=s.createSymbol(a,-o[0]/2,-o[1]/2,o[0],o[1],i);return r.name=t,r}}function d(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}function i(t,e,n){b.Group.call(this),this._createLine(t,e,n)}var a=i.prototype;a.beforeUpdate=function(){var t=this.childOfName("fromSymbol"),e=this.childOfName("toSymbol"),n=this.childOfName("label");if(t||e||!n.ignore){for(var i=1,a=this.parent;a;)a.scale&&(i/=a.scale[0]),a=a.parent;var o=this.childOfName("line");if(this.__dirty||o.__dirty){var r=o.shape.percent,s=o.pointAt(0),l=o.pointAt(r),u=x.sub([],l,s);if(x.normalize(u,u),t){t.attr("position",s);var c=o.tangentAt(0);t.attr("rotation",Math.PI/2-Math.atan2(c[1],c[0])),t.attr("scale",[i*r,i*r])}if(e){e.attr("position",l);c=o.tangentAt(1);e.attr("rotation",-Math.PI/2-Math.atan2(c[1],c[0])),e.attr("scale",[i*r,i*r])}if(!n.ignore){var h,d,p;n.attr("position",l);var f=5*i;if("end"===n.__position)h=[u[0]*f+l[0],u[1]*f+l[1]],d=.8<u[0]?"left":u[0]<-.8?"right":"center",p=.8<u[1]?"top":u[1]<-.8?"bottom":"middle";else if("middle"===n.__position){var g=r/2,m=[(c=o.tangentAt(g))[1],-c[0]],v=o.pointAt(g);0<m[1]&&(m[0]=-m[0],m[1]=-m[1]),h=[v[0]+m[0]*f,v[1]+m[1]*f],d="center",p="bottom";var y=-Math.atan2(c[1],c[0]);l[0]<s[0]&&(y=Math.PI+y),n.attr("rotation",y)}else h=[-u[0]*f+s[0],-u[1]*f+s[1]],d=.8<u[0]?"right":u[0]<-.8?"left":"center",p=.8<u[1]?"bottom":u[1]<-.8?"top":"middle";n.attr({style:{textVerticalAlign:n.__verticalAlign||p,textAlign:n.__textAlign||d},position:h,scale:[i,i]})}}}},a._createLine=function(n,i,t){var e,a,o=n.hostModel,r=n.getItemLayout(i),s=(e=r,d((a=new u({name:"line",subPixelOptimize:!0})).shape,e),a);s.shape.percent=0,b.initProps(s,{shape:{percent:1}},o,i),this.add(s);var l=new b.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),A.each(S,function(t){var e=h(t,n,i);this.add(e),this[c(t)]=n.getItemVisual(i,t)},this),this._updateCommonStl(n,i,t)},a.updateData=function(a,o,t){var e=a.hostModel,n=this.childOfName("line"),i=a.getItemLayout(o),r={shape:{}};d(r.shape,i),b.updateProps(n,r,e,o),A.each(S,function(t){var e=a.getItemVisual(o,t),n=c(t);if(this[n]!==e){this.remove(this.childOfName(t));var i=h(t,a,o);this.add(i)}this[n]=e},this),this._updateCommonStl(a,o,t)},a._updateCommonStl=function(t,e,n){var i=t.hostModel,a=this.childOfName("line"),o=n&&n.lineStyle,r=n&&n.hoverLineStyle,s=n&&n.labelModel,l=n&&n.hoverLabelModel;if(!n||t.hasItemOption){var u=t.getItemModel(e);o=u.getModel("lineStyle").getLineStyle(),r=u.getModel("emphasis.lineStyle").getLineStyle(),s=u.getModel("label"),l=u.getModel("emphasis.label")}var c=t.getItemVisual(e,"color"),h=A.retrieve3(t.getItemVisual(e,"opacity"),o.opacity,1);a.useStyle(A.defaults({strokeNoScale:!0,fill:"none",stroke:c,opacity:h},o)),a.hoverStyle=r,A.each(S,function(t){var e=this.childOfName(t);e&&(e.setColor(c),e.setStyle({opacity:h}))},this);var d,p,f=s.getShallow("show"),g=l.getShallow("show"),m=this.childOfName("label");if((f||g)&&(d=c||"#000",null==(p=i.getFormattedLabel(e,"normal",t.dataType)))){var v=i.getRawValue(e);p=null==v?t.getName(e):isFinite(v)?w(v):v}var y=f?p:null,x=g?A.retrieve2(i.getFormattedLabel(e,"emphasis",t.dataType),p):null,_=m.style;null==y&&null==x||(b.setTextStyle(m.style,s,{text:y},{autoColor:d}),m.__textAlign=_.textAlign,m.__verticalAlign=_.textVerticalAlign,m.__position=s.get("position")||"middle"),m.hoverStyle=null!=x?{text:x,textFill:l.getTextColor(!0),fontStyle:l.getShallow("fontStyle"),fontWeight:l.getShallow("fontWeight"),fontSize:l.getShallow("fontSize"),fontFamily:l.getShallow("fontFamily")}:{text:null},m.ignore=!f&&!g,b.setHoverStyle(this)},a.highlight=function(){this.trigger("emphasis")},a.downplay=function(){this.trigger("normal")},a.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},a.setLinePoints=function(t){var e=this.childOfName("line");d(e.shape,t),e.dirty()},A.inherits(i,b.Group);var o=i;t.exports=o},1820:function(t,e){e.getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,i=e.scale,a=i&&i[0]||1;return((e.getZoom()-1)*n+1)/a},e.getSymbolSize=function(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}},1821:function(t,e,n){n(1127).__DEV__;var c=n(768),i=n(1501),s=n(852),a=n(2158),u=n(1504),o=c.curry,h=c.each,r=c.map,p=Math.min,y=Math.max,d=Math.pow,l=1e4,f=6,x=6,g={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},m={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},v={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},_=0;function A(t){i.call(this),this._zr=t,this.group=new s.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._lastMouseMovePoint={},this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+_++,this._handlers={},h(Z,function(t,e){this._handlers[e]=c.bind(t,this)},this)}function b(t,e){var n=X[e.brushType].createCover(t,e);return n.__brushOption=e,C(n,e),t.group.add(n),n}function w(t,e){var n=I(e);return n.endCreating&&(n.endCreating(t,e),C(e,e.__brushOption)),e}function S(t,e){var n=e.__brushOption;I(e).updateCoverShape(t,e,n.range,n)}function C(t,e){var n=e.z;null==n&&(n=l),t.traverse(function(t){t.z=n,t.z2=n})}function M(t,e){I(e).updateCommon(t,e),S(t,e)}function I(t){return X[t.__brushOption.brushType]}function T(t,e,n){var i,a=t._panels;if(!a)return!0;var o=t._transform;return h(a,function(t){t.isTargetByCursor(e,n,o)&&(i=t)}),i}function D(t,e){var n=t._panels;if(!n)return!0;var i=e.__brushOption.panelId;return null==i||n[i]}function k(e){var t=e._covers,n=t.length;return h(t,function(t){e.group.remove(t)},e),t.length=0,!!n}function P(t,e){var n=r(t._covers,function(t){var e=t.__brushOption,n=c.clone(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}});t.trigger("brush",n,{isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function L(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function B(e,n,t,i){var a=new s.Group;return a.add(new s.Rect({name:"main",style:R(t),silent:!0,draggable:!0,cursor:"move",drift:o(e,n,a,"nswe"),ondragend:o(P,n,{isEnd:!0})})),h(i,function(t){a.add(new s.Rect({name:t,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:o(e,n,a,t),ondragend:o(P,n,{isEnd:!0})}))}),a}function E(t,e,n,i){var a=i.brushStyle.lineWidth||0,o=y(a,x),r=n[0][0],s=n[1][0],l=r-a/2,u=s-a/2,c=n[0][1],h=n[1][1],d=c-o+a/2,p=h-o+a/2,f=c-r,g=h-s,m=f+a,v=g+a;N(t,e,"main",r,s,f,g),i.transformable&&(N(t,e,"w",l,u,o,v),N(t,e,"e",d,u,o,v),N(t,e,"n",l,u,m,o),N(t,e,"s",l,p,m,o),N(t,e,"nw",l,u,o,o),N(t,e,"ne",d,u,o,o),N(t,e,"sw",l,p,o,o),N(t,e,"se",d,p,o,o))}function O(i,a){var t=a.__brushOption,o=t.transformable,e=a.childAt(0);e.useStyle(R(t)),e.attr({silent:!o,cursor:o?"move":"default"}),h(["w","e","n","s","se","sw","ne","nw"],function(t){var e=a.childOfName(t),n=function t(e,n){{if(1<n.length){n=n.split("");var i=[t(e,n[0]),t(e,n[1])];return"e"!==i[0]&&"w"!==i[0]||i.reverse(),i.join("")}var a={w:"left",e:"right",n:"top",s:"bottom"},o={left:"w",right:"e",top:"n",bottom:"s"},i=s.transformDirection(a[n],(r=e,s.getTransform(r.group)));return o[i]}var r}(i,t);e&&e.attr({silent:!o,invisible:!o,cursor:o?m[n]+"-resize":null})})}function N(t,e,n,i,a,o,r){var s,l,u,c,h,d=e.childOfName(n);d&&d.setShape((s=H(t,e,[[i,a],[i+o,a+r]]),l=p(s[0][0],s[1][0]),u=p(s[0][1],s[1][1]),c=y(s[0][0],s[1][0]),h=y(s[0][1],s[1][1]),{x:l,y:u,width:c-l,height:h-u}))}function R(t){return c.defaults({strokeNoScale:!0},t.brushStyle)}function z(t,e,n,i){var a=[p(t,n),p(e,i)],o=[y(t,n),y(e,i)];return[[a[0],o[0]],[a[1],o[1]]]}function V(t,e,n,i,a,o,r,s){var l=i.__brushOption,u=t(l.range),c=F(n,o,r);h(a.split(""),function(t){var e=g[t];u[e[0]][e[1]]+=c[e[0]]}),l.range=e(z(u[0][0],u[1][0],u[0][1],u[1][1])),M(n,i),P(n,{isEnd:!1})}function G(t,e,n,i,a){var o=e.__brushOption.range,r=F(t,n,i);h(o,function(t){t[0]+=r[0],t[1]+=r[1]}),M(t,e),P(t,{isEnd:!1})}function F(t,e,n){var i=t.group,a=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[a[0]-o[0],a[1]-o[1]]}function H(t,e,n){var i=D(t,e);return i&&!0!==i?i.clipPath(n,t._transform):c.clone(n)}function W(t){var e=t.event;e.preventDefault&&e.preventDefault()}function j(t,e,n){return t.childOfName("main").contain(e,n)}function U(t,e,n,i){var a,o=t._creatingCover,r=t._creatingPanel,s=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],a=n[0]-i[0],o=n[1]-i[1],r=d(a*a+o*o,.5);return f<r}(t)||o){if(r&&!o){"single"===s.brushMode&&k(t);var l=c.clone(s);l.brushType=Y(l.brushType,r),l.panelId=!0===r?null:r.panelId,o=t._creatingCover=b(t,l),t._covers.push(o)}if(o){var u=X[Y(t._brushType,r)];o.__brushOption.range=u.getCreatingRange(H(t,o,t._track)),i&&(w(t,o),u.updateCommon(t,o)),S(t,o),a={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&T(t,e,n)&&k(t)&&(a={isEnd:i,removeOnClick:!0});return a}function Y(t,e){return"auto"===t?e.defaultBrushType:t}A.prototype={constructor:A,enableBrush:function(t){var e,n;return this._brushType&&(n=(e=this)._zr,a.release(n,"globalPan",e._uid),h(e._handlers,function(t,e){n.off(e,t)}),e._brushType=e._brushOption=null),t.brushType&&function(t,e){var n=t._zr;t._enableGlobalPan||a.take(n,"globalPan",t._uid);h(t._handlers,function(t,e){n.on(e,t)}),t._brushType=e.brushType,t._brushOption=c.merge(c.clone(v),e,!0)}(this,t),this},setPanels:function(t){if(t&&t.length){var e=this._panels={};c.each(t,function(t){e[t.panelId]=c.clone(t)})}else this._panels=null;return this},mount:function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t.position||[0,0],rotation:t.rotation||0,scale:t.scale||[1,1]}),this._transform=e.getLocalTransform(),this},eachCover:function(t,e){h(this._covers,t,e)},updateCovers:function(a){a=c.map(a,function(t){return c.merge(c.clone(v),t,!0)});var n="\0-brush-index-",o=this._covers,r=this._covers=[],s=this,l=this._creatingCover;return new u(o,a,function(t,e){return i(t.__brushOption,e)},i).add(t).update(t).remove(function(t){o[t]!==l&&s.group.remove(o[t])}).execute(),this;function i(t,e){return(null!=t.id?t.id:n+e)+"-"+t.brushType}function t(t,e){var n=a[t];if(null!=e&&o[e]===l)r[t]=o[e];else{var i=r[t]=null!=e?(o[e].__brushOption=n,o[e]):w(s,b(s,n));M(s,i)}}},unmount:function(){return this.enableBrush(!1),k(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},c.mixin(A,i);var Z={mousedown:function(t){if(this._dragging)q(this,t);else if(!t.target||!t.target.draggable){W(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=T(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=this._lastMouseMovePoint;e.x=t.offsetX,e.y=t.offsetY;var n=this.group.transformCoordToLocal(e.x,e.y);if(!function(t,e,n){if(t._brushType){var i=t._zr,a=t._covers,o=T(t,e,n);if(!t._dragging)for(var r=0;r<a.length;r++){var s=a[r].__brushOption;if(o&&(!0===o||s.panelId===o.panelId)&&X[s.brushType].contain(a[r],n[0],n[1]))return}o&&i.setCursorStyle("crosshair")}}(this,t,n),this._dragging){W(t);var i=U(this,t,n,!1);i&&P(this,i)}},mouseup:function(t){q(this,t)},globalout:function(t){q(this,t,!0)}};function q(t,e,n){if(t._dragging){n||W(e);var i=e.offsetX,a=e.offsetY,o=t._lastMouseMovePoint;n&&(i=o.x,a=o.y);var r=t.group.transformCoordToLocal(i,a),s=U(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,s&&P(t,s)}}var X={lineX:K(0),lineY:K(1),rect:{createCover:function(t,e){return B(o(V,function(t){return t},function(t){return t}),t,e,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(t){var e=L(t);return z(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){E(t,e,n,i)},updateCommon:O,contain:j},polygon:{createCover:function(t,e){var n=new s.Group;return n.add(new s.Polyline({name:"main",style:R(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new s.Polygon({name:"main",draggable:!0,drift:o(G,t,e),ondragend:o(P,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:H(t,e,n)})},updateCommon:O,contain:j}};function K(l){return{createCover:function(t,e){return B(o(V,function(t){var e=[t,[0,100]];return l&&e.reverse(),e},function(t){return t[l]}),t,e,[["w","e"],["n","s"]][l])},getCreatingRange:function(t){var e=L(t);return[p(e[0][l],e[1][l]),y(e[0][l],e[1][l])]},updateCoverShape:function(t,e,n,i){var a,o=D(t,e);if(!0!==o&&o.getLinearBrushOtherExtent)a=o.getLinearBrushOtherExtent(l,t._transform);else{var r=t._zr;a=[0,[r.getWidth(),r.getHeight()][1-l]]}var s=[n,a];l&&s.reverse(),E(t,e,s,i)},updateCommon:O,contain:j}}var J=A;t.exports=J},1822:function(t,e,n){var d=n(768),i=n(1427),p=n(852),u=n(1695),l=n(1410),c=n(1465),r=(0,n(987).makeInner)(),s=d.clone,h=d.bind;function a(){}function f(t,e,n,i){!function n(i,t){{if(d.isObject(i)&&d.isObject(t)){var a=!0;return d.each(t,function(t,e){a=a&&n(i[e],t)}),!!a}return i===t}}(r(n).lastProp,i)&&(r(n).lastProp=i,e?p.updateProps(n,i,t):(n.stopAnimation(),n.attr(i)))}function o(t,e){t[e.get("label.show")?"show":"hide"]()}function g(t){return{position:t.position.slice(),rotation:t.rotation||0}}function m(t,e,n){var i=e.get("z"),a=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=a&&(t.zlevel=a),t.silent=n)})}(a.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,n,i){var a=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==a||this._lastStatus!==o){this._lastValue=a,this._lastStatus=o;var r=this._group,s=this._handle;if(!o||"hide"===o)return r&&r.hide(),void(s&&s.hide());r&&r.show(),s&&s.show();var l={};this.makeElOption(l,a,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var c=this._moveAnimation=this.determineAnimation(t,e);if(r){var h=d.curry(f,e,c);this.updatePointerEl(r,l,h,e),this.updateLabelEl(r,l,h,e)}else r=this._group=new p.Group,this.createPointerEl(r,l,t,e),this.createLabelEl(r,l,t,e),n.getZr().add(r);m(r,e,!0),this._renderHandle(a)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n=e.get("animation"),i=t.axis,a="category"===i.type,o=e.get("snap");if(!o&&!a)return!1;if("auto"!==n&&null!=n)return!0===n;var r=this.animationThreshold;if(a&&i.getBandWidth()>r)return!0;if(o){var s=u.getAxisInfo(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>r}return!1},makeElOption:function(t,e,n,i,a){},createPointerEl:function(t,e,n,i){var a=e.pointer;if(a){var o=r(t).pointerEl=new p[a.type](s(e.pointer));t.add(o)}},createLabelEl:function(t,e,n,i){if(e.label){var a=r(t).labelEl=new p.Rect(s(e.label));t.add(a),o(a,i)}},updatePointerEl:function(t,e,n){var i=r(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,i){var a=r(t).labelEl;a&&(a.setStyle(e.label.style),n(a,{shape:e.label.shape,position:e.label.position}),o(a,i))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),a=this._handle,o=n.getModel("handle"),r=n.get("status");if(!o.get("show")||!r||"hide"===r)return a&&i.remove(a),void(this._handle=null);this._handle||(e=!0,a=this._handle=p.createIcon(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){l.stop(t.event)},onmousedown:h(this._onHandleDragMove,this,0,0),drift:h(this._onHandleDragMove,this),ondragend:h(this._onHandleDragEnd,this)}),i.add(a)),m(a,n,!1);a.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");d.isArray(s)||(s=[s,s]),a.attr("scale",[s[0]/2,s[1]/2]),c.createOrUpdate(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){f(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(g(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(g(i)),r(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},_onHandleDragEnd:function(t){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}}).constructor=a,i.enableClassExtend(a);var v=a;t.exports=v},1823:function(t,e,n){n(1127).__DEV__;var u=n(768),c=n(2750),h=n(965).parsePercent,i=n(1382),a=i.createScaleByModel,s=i.niceScaleExtent,o=n(1381),l=n(1413).getStackedDimension;function d(t,e){var n=this,i=n.getAngleAxis(),a=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===n){var e=t.getData();u.each(e.mapDimension("radius",!0),function(t){a.scale.unionExtentFromData(e,l(e,t))}),u.each(e.mapDimension("angle",!0),function(t){i.scale.unionExtentFromData(e,l(e,t))})}}),s(i.scale,i.model),s(a.scale,a.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),r=360/i.scale.count();i.inverse?o[1]+=r:o[1]-=r,i.setExtent(o[0],o[1])}}function p(t,e){if(t.type=e.get("type"),t.scale=a(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}(e.axis=t).model=e}n(2753);var r={dimensions:c.prototype.dimensions,create:function(n,s){var l=[];return n.eachComponent("polar",function(t,e){var n=new c(e);n.update=d;var i=n.getRadiusAxis(),a=n.getAngleAxis(),o=t.findAxisModel("radiusAxis"),r=t.findAxisModel("angleAxis");p(i,o),p(a,r),function(t,e,n){var i=e.get("center"),a=n.getWidth(),o=n.getHeight();t.cx=h(i[0],a),t.cy=h(i[1],o);var r=t.getRadiusAxis(),s=Math.min(a,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:u.isArray(l)||(l=[0,l]),l=[h(l[0],s),h(l[1],s)],r.inverse?r.setExtent(l[1],l[0]):r.setExtent(l[0],l[1])}(n,t,s),l.push(n),(t.coordinateSystem=n).model=t}),n.eachSeries(function(t){if("polar"===t.get("coordinateSystem")){var e=n.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=e.coordinateSystem}}),l}};o.register("polar",r)},1824:function(t,e,n){n(1245).registerSubTypeDefaulter("dataZoom",function(){return"slider"})},1825:function(t,e,n){var h=n(768),i=n(1153),a=["cartesian2d","polar","singleAxis"];function o(t,r){t=t.slice();var s=h.map(t,i.capitalFirst);r=(r||[]).slice();var l=h.map(r,i.capitalFirst);return function(a,o){h.each(t,function(t,e){for(var n={name:t,capital:s[e]},i=0;i<r.length;i++)n[r[i]]=t+l[i];a.call(o,n)})}}var r=o(["x","y","z","radius","angle","single"],["axisIndex","axis","index","id"]);e.isCoordSupported=function(t){return 0<=h.indexOf(a,t)},e.createNameEach=o,e.eachAxisDim=r,e.createLinkedNodesFinder=function(n,l,u){return function(t){var r,s={nodes:[],records:{}};if(l(function(t){s.records[t.name]={}}),!t)return s;for(c(t,s);r=!1,n(e),r;);function e(t){var n,i,a,e,o;e=t,o=s,0<=h.indexOf(o.nodes,e)||(n=t,i=s,a=!1,l(function(e){h.each(u(n,e)||[],function(t){i.records[e.name][t]&&(a=!0)})}),!a)||(c(t,s),r=!0)}return s};function c(t,n){n.nodes.push(t),l(function(e){h.each(u(t,e)||[],function(t){n.records[e.name][t]=!0})})}}},1826:function(t,e,n){var i=n(789),a=n(768),o=a.createHashMap,r=a.each;i.registerProcessor({getTargetSeries:function(t){var a=o();return t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(t,e,n){var i=n.getAxisProxy(t.name,e);r(i.getTargetSeriesModels(),function(t){a.set(t.uid,t)})})}),a},modifyOutputEnd:!0,overallReset:function(t,i){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(t,e,n){n.getAxisProxy(t.name,e).reset(n,i)}),t.eachTargetAxis(function(t,e,n){n.getAxisProxy(t.name,e).filterData(n,i)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy(),n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})})}})},1827:function(t,e,n){var i=n(789),o=n(768),r=n(1825);i.registerAction("dataZoom",function(n,t){var i=r.createLinkedNodesFinder(o.bind(t.eachComponent,t,"dataZoom"),r.eachAxisDim,function(t,e){return t.get(e.axisIndex)}),a=[];t.eachComponent({mainType:"dataZoom",query:n},function(t,e){a.push.apply(a,i(t).nodes)}),o.each(a,function(t,e){t.setRawRange({start:n.start,end:n.end,startValue:n.startValue,endValue:n.endValue})})})},1828:function(t,e,n){n(1127).__DEV__;var i=n(789),s=n(768),a=n(1240),o=n(987),r=n(1153),l=n(1807),u=r.addCommas,c=r.encodeHTML;function h(t){o.defaultEmphasis(t,"label",["show"])}var d=i.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},isAnimationEnabled:function(){if(a.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e){this._mergeOption(t,e,!1,!1)},_mergeOption:function(t,i,e,a){var o=this.constructor,r=this.mainType+"Model";e||i.eachSeries(function(t){var e=t.get(this.mainType,!0),n=t[r];e&&e.data?(n?n._mergeOption(e,i,!0):(a&&h(e),s.each(e.data,function(t){t instanceof Array?(h(t[0]),h(t[1])):h(t)}),n=new o(e,this,i),s.extend(n,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),n.__hostSeries=t),t[r]=n):t[r]=null},this)},formatTooltip:function(t){var e=this.getData(),n=this.getRawValue(t),i=s.isArray(n)?s.map(n,u).join(", "):u(n),a=e.getName(t),o=c(this.name);return null==n&&!a||(o+="<br />"),a&&(o+=c(a),null!=n&&(o+=" : ")),null!=n&&(o+=c(i)),o},getData:function(){return this._data},setData:function(t){this._data=t}});s.mixin(d,l);var p=d;t.exports=p},1829:function(t,e,n){var h=n(768),d=n(965),p=n(1413).isDimensionStacked,f=h.indexOf;function i(t,e,n,i,a,o){var r=[],s=p(e,i)?e.getCalculationInfo("stackResultDimension"):i,l=v(e,s,t),u=e.indicesOfNearest(s,l)[0];r[a]=e.get(n,u),r[o]=e.get(i,u);var c=d.getPrecision(e.get(i,u));return 0<=(c=Math.min(c,20))&&(r[o]=+r[o].toFixed(c)),r}var a=h.curry,g={min:a(i,"min"),max:a(i,"max"),average:a(i,"average")};function m(t,e,n,i){var a={};return null!=t.valueIndex||null!=t.valueDim?(a.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,a.valueAxis=n.getAxis(function(t,e){var n=t.getData(),i=n.dimensions;e=n.getDimension(e);for(var a=0;a<i.length;a++){var o=n.getDimensionInfo(i[a]);if(o.name===e)return o.coordDim}}(i,a.valueDataDim)),a.baseAxis=n.getOtherAxis(a.valueAxis),a.baseDataDim=e.mapDimension(a.baseAxis.dim)):(a.baseAxis=i.getBaseAxis(),a.valueAxis=n.getOtherAxis(a.baseAxis),a.baseDataDim=e.mapDimension(a.baseAxis.dim),a.valueDataDim=e.mapDimension(a.valueAxis.dim)),a}function v(t,e,n){if("average"!==n)return"median"===n?t.getMedian(e):t.getDataExtent(e,!0)["max"===n?1:0];var i=0,a=0;return t.each(e,function(t,e){isNaN(t)||(i+=t,a++)}),i/a}e.dataTransform=function(t,e){var n,i=t.getData(),a=t.coordinateSystem;if(e&&(n=e,isNaN(parseFloat(n.x))||isNaN(parseFloat(n.y)))&&!h.isArray(e.coord)&&a){var o=a.dimensions,r=m(e,i,a,t);if((e=h.clone(e)).type&&g[e.type]&&r.baseAxis&&r.valueAxis){var s=f(o,r.baseAxis.dim),l=f(o,r.valueAxis.dim);e.coord=g[e.type](i,r.baseDataDim,r.valueDataDim,s,l),e.value=e.coord[l]}else{for(var u=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],c=0;c<2;c++)g[u[c]]&&(u[c]=v(i,i.mapDimension(o[c]),u[c]));e.coord=u}}return e},e.getAxisInfo=m,e.dataFilter=function(t,e){return!(t&&t.containData&&e.coord&&(n=e,isNaN(parseFloat(n.x))&&isNaN(parseFloat(n.y))))||t.containData(e.coord);var n},e.dimValueGetter=function(t,e,n,i){return i<2?t.coord&&t.coord[i]:t.value},e.numCalculate=v},1830:function(t,e,n){var i=n(789),a=n(768),o=i.extendComponentView({type:"marker",init:function(){this.markerGroupMap=a.createHashMap()},render:function(t,n,i){var e=this.markerGroupMap;e.each(function(t){t.__keep=!1});var a=this.type+"Model";n.eachSeries(function(t){var e=t[a];e&&this.renderSeries(t,e,n,i)},this),e.each(function(t){t.__keep||this.group.remove(t.group)},this)},renderSeries:function(){}});t.exports=o},1831:function(t,e,n){var L=n(1832).createElement,i=n(1550),a=n(1152),B=n(1284),E=n(1319),O=n(1685),N=n(1502),M=i.CMD,o=Array.prototype.join,c="none",I=Math.round,T=Math.sin,D=Math.cos,k=Math.PI,P=2*Math.PI,R=180/k,r=1e-4;function z(t){return I(1e4*t)/1e4}function V(t){return t<r&&-r<t}function G(t,e){e&&h(t,"transform","matrix("+o.call(e,",")+")")}function h(t,e,n){n&&("linear"===n.type||"radial"===n.type)||t.setAttribute(e,n)}function F(t,e,n,i){if(o=e,null!=(r=n?o.textFill:o.fill)&&r!==c){var a=n?e.textFill:e.fill;h(t,"fill",a="transparent"===a?c:a),h(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else h(t,"fill",c);var o,r,s,l;if(s=e,null!=(l=n?s.textStroke:s.stroke)&&l!==c){var u=n?e.textStroke:e.stroke;h(t,"stroke",u="transparent"===u?c:u),h(t,"stroke-width",(n?e.textStrokeWidth:e.lineWidth)/(!n&&e.strokeNoScale?i.getLineScale():1)),h(t,"paint-order",n?"stroke":"fill"),h(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity),e.lineDash?(h(t,"stroke-dasharray",e.lineDash.join(",")),h(t,"stroke-dashoffset",I(e.lineDashOffset||0))):h(t,"stroke-dasharray",""),e.lineCap&&h(t,"stroke-linecap",e.lineCap),e.lineJoin&&h(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&h(t,"stroke-miterlimit",e.miterLimit)}else h(t,"stroke",c)}var s={};s.brush=function(t){var e=t.style,n=t.__svgEl;n||(n=L("path"),t.__svgEl=n),t.path||t.createPathProxy();var i=t.path;if(t.__dirtyPath){i.beginPath(),i.subPixelOptimize=!1,t.buildPath(i,t.shape),t.__dirtyPath=!1;var a=function(t){for(var e=[],n=t.data,i=t.len(),a=0;a<i;){var o="",r=0;switch(n[a++]){case M.M:o="M",r=2;break;case M.L:o="L",r=2;break;case M.Q:o="Q",r=4;break;case M.C:o="C",r=6;break;case M.A:var s=n[a++],l=n[a++],u=n[a++],c=n[a++],h=n[a++],d=n[a++],p=n[a++],f=n[a++],g=Math.abs(d),m=V(g-P)||(f?P<=d:P<=-d),v=0<d?d%P:d%P+P,y=!1;y=!!m||!V(g)&&k<=v==!!f;var x=z(s+u*D(h)),_=z(l+c*T(h));m&&(d=f?P-1e-4:1e-4-P,y=!0,9===a&&e.push("M",x,_));var A=z(s+u*D(h+d)),b=z(l+c*T(h+d));e.push("A",z(u),z(c),I(p*R),+y,+f,A,b);break;case M.Z:o="Z";break;case M.R:A=z(n[a++]),b=z(n[a++]);var w=z(n[a++]),S=z(n[a++]);e.push("M",A,b,"L",A+w,b,"L",A+w,b+S,"L",A,b+S,"L",A,b)}o&&e.push(o);for(var C=0;C<r;C++)e.push(z(n[a++]))}return e.join(" ")}(i);a.indexOf("NaN")<0&&h(n,"d",a)}F(n,e,!1,t),G(n,t.transform),null!=e.text&&p(t,t.getBoundingRect())};var l={brush:function(t){var e=t.style,n=e.image;n instanceof HTMLImageElement&&(n=n.src);if(n){var i,a,o=e.x||0,r=e.y||0,s=e.width,l=e.height,u=t.__svgEl;u||(u=L("image"),t.__svgEl=u),n!==t.__imageSrc&&(i="href",a=n,u.setAttributeNS("http://www.w3.org/1999/xlink",i,a),t.__imageSrc=n),h(u,"width",s),h(u,"height",l),h(u,"x",o),h(u,"y",r),G(u,t.transform),null!=e.text&&p(t,t.getBoundingRect())}}},u={},H=new a,W={},j=[],d={left:"start",right:"end",center:"middle",middle:"middle"},p=function(t,e){var n=t.style,i=t.transform,a=t instanceof N||n.transformText;t.__dirty&&O.normalizeTextStyle(n,!0);var o=n.text;if(null!=o&&(o+=""),O.needDrawText(o,n)){null==o&&(o=""),!a&&i&&(H.copy(e),H.applyTransform(i),e=H);var r=t.__textSvgEl;r||(r=L("text"),t.__textSvgEl=r);var s=r.style,l=n.font||E.DEFAULT_FONT,u=r.__computedFont;l!==r.__styleFont&&(s.font=r.__styleFont=l,u=r.__computedFont=s.font);var c=n.textPadding,h=n.textLineHeight,d=t.__textCotentBlock;d&&!t.__dirtyText||(d=t.__textCotentBlock=E.parsePlainText(o,u,c,h,n.truncate));var p=d.outerHeight,f=d.lineHeight;O.getBoxPosition(W,t,n,e);var g=W.baseX,m=W.baseY,v=W.textAlign||"left",y=W.textVerticalAlign;!function(t,e,n,i,a,o,r){B.identity(j),e&&n&&B.copy(j,n);var s=i.textRotation;if(a&&s){var l=i.textOrigin;"center"===l?(o=a.width/2+a.x,r=a.height/2+a.y):l&&(o=l[0]+a.x,r=l[1]+a.y),j[4]-=o,j[5]-=r,B.rotate(j,j,s),j[4]+=o,j[5]+=r}G(t,j)}(r,a,i,n,e,g,m);var x,_,A,b=g,w=E.adjustTextY(m,p,y);c&&(x=g,A=c,b="right"===(_=v)?x-A[1]:"center"===_?x+A[3]/2-A[1]/2:x+A[3],w+=c[0]),w+=f/2,F(r,n,!0,t);var S=d.canCacheByTextString,C=t.__tspanList||(t.__tspanList=[]),M=C.length;if(S&&t.__canCacheByTextString&&t.__text===o){if(t.__dirtyText&&M)for(var I=0;I<M;++I)U(C[I],v,b,w+I*f)}else{t.__text=o,t.__canCacheByTextString=S;var T=d.lines,D=T.length;for(I=0;I<D;I++){var k=C[I],P=T[I];k?k.__zrText!==P&&(k.innerHTML="",k.appendChild(document.createTextNode(P))):(k=C[I]=L("tspan"),r.appendChild(k),k.appendChild(document.createTextNode(P))),U(k,v,b,w+I*f)}if(D<M){for(;I<M;I++)r.removeChild(C[I]);C.length=D}}}};function U(t,e,n,i){h(t,"dominant-baseline","middle"),h(t,"text-anchor",d[e]),h(t,"x",n),h(t,"y",i)}u.drawRectText=p,u.brush=function(t){null!=t.style.text&&p(t,!1)},e.path=s,e.image=l,e.text=u},1832:function(t,e){e.createElement=function(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}},1833:function(t,e,n){var i=n(1832).createElement,a=n(768),o=n(1224),r=n(1548),s=n(1502),l=n(1831),u=l.path,c=l.image,h=l.text;function d(t,e,n,i,a){this._zrId=t,this._svgRoot=e,this._tagNames="string"==typeof n?[n]:n,this._markLabel=i,this._domName=a||"_dom",this.nextId=0}d.prototype.createElement=i,d.prototype.getDefs=function(t){var e=this._svgRoot,i=this._svgRoot.getElementsByTagName("defs");return 0===i.length?t?((i=e.insertBefore(this.createElement("defs"),e.firstChild)).contains||(i.contains=function(t){var e=i.children;if(!e)return!1;for(var n=e.length-1;0<=n;--n)if(e[n]===t)return!0;return!1}),i):null:i[0]},d.prototype.update=function(t,e){if(t){var n=this.getDefs(!1);if(t[this._domName]&&n.contains(t[this._domName]))"function"==typeof e&&e(t);else{var i=this.add(t);i&&(t[this._domName]=i)}}},d.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},d.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},d.prototype.getDoms=function(){var n=this.getDefs(!1);if(!n)return[];var i=[];return a.each(this._tagNames,function(t){var e=n.getElementsByTagName(t);i=i.concat([].slice.call(e))}),i},d.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;a.each(t,function(t){t[e._markLabel]="0"})},d.prototype.markUsed=function(t){t&&(t[this._markLabel]="1")},d.prototype.removeUnused=function(){var e=this.getDefs(!1);if(e){var t=this.getDoms(),n=this;a.each(t,function(t){"1"!==t[n._markLabel]&&e.removeChild(t)})}},d.prototype.getSvgProxy=function(t){return t instanceof o?u:t instanceof r?c:t instanceof s?h:u},d.prototype.getTextSvgElement=function(t){return t.__textSvgEl},d.prototype.getSvgElement=function(t){return t.__svgEl};var p=d;t.exports=p},2114:function(t,e,n){var i=n(789);!function(){for(var t in i){if(null==i||!i.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=i[t]}}();var a=n(2141);!function(){for(var t in a){if(null==a||!a.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=a[t]}}(),n(2139),n(2589),n(2600),n(2605),n(2610),n(2614),n(2624),n(2638),n(2644),n(2652),n(2667),n(2671),n(2675),n(2687),n(2693),n(2698),n(2704),n(2708),n(2714),n(2718),n(2721),n(2735),n(2741),n(2747),n(2748),n(2760),n(2173),n(2166),n(2763),n(2767),n(2768),n(2780),n(1604),n(2785),n(2793),n(2794),n(2803),n(2806),n(2809),n(2812),n(2181),n(2818),n(2185),n(2184),n(2824),n(2186),n(2195),n(2829),n(2832)},2115:function(t,e){var n=2311;t.exports=function(){return n++}},2116:function(t,e,n){function i(t){r.call(this,t),o.call(this,t),s.call(this,t),this.id=t.id||a()}var a=n(2115),o=n(1501),r=n(1799),s=n(2549),l=n(768);i.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;(n=n||(this.transform=[1,0,0,1,0,0]))[4]+=t,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var n=this[t];(n=n||(this[t]=[]))[0]=e[0],n[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(l.isObject(t))for(var n in t)t.hasOwnProperty(n)&&this.attrKV(n,t[n]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),(this.clipPath=t).__zr=e,(t.__clipTarget=this).dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},l.mixin(i,s),l.mixin(i,r),l.mixin(i,o);var u=i;t.exports=u},2117:function(t,e,n){var O=n(2550),N=n(1411),R=n(768).isArrayLike,l=Array.prototype.slice;function a(t,e){return t[e]}function o(t,e,n){t[e]=n}function z(t,e,n){return(e-t)*n+t}function V(t,e,n){return.5<n?e:t}function G(t,e,n,i,a){var o=t.length;if(1===a)for(var r=0;r<o;r++)i[r]=z(t[r],e[r],n);else{var s=o&&t[0].length;for(r=0;r<o;r++)for(var l=0;l<s;l++)i[r][l]=z(t[r][l],e[r][l],n)}}function F(t,e,n){var i=t.length,a=e.length;if(i!==a)if(a<i)t.length=a;else for(var o=i;o<a;o++)t.push(1===n?e[o]:l.call(e[o]));var r=t[0]&&t[0].length;for(o=0;o<t.length;o++)if(1===n)isNaN(t[o])&&(t[o]=e[o]);else for(var s=0;s<r;s++)isNaN(t[o][s])&&(t[o][s]=e[o][s])}function H(t,e,n){if(t===e)return!0;var i=t.length;if(i!==e.length)return!1;if(1===n){for(var a=0;a<i;a++)if(t[a]!==e[a])return!1}else{var o=t[0].length;for(a=0;a<i;a++)for(var r=0;r<o;r++)if(t[a][r]!==e[a][r])return!1}return!0}function W(t,e,n,i,a,o,r,s,l){var u=t.length;if(1===l)for(var c=0;c<u;c++)s[c]=j(t[c],e[c],n[c],i[c],a,o,r);else{var h=t[0].length;for(c=0;c<u;c++)for(var d=0;d<h;d++)s[c][d]=j(t[c][d],e[c][d],n[c][d],i[c][d],a,o,r)}}function j(t,e,n,i,a,o,r){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*r+(-3*(e-n)-2*s-l)*o+s*a+e}function r(t){if(R(t)){var e=t.length;if(R(t[0])){for(var n=[],i=0;i<e;i++)n.push(l.call(t[i]));return n}return l.call(t)}return t}function U(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function u(t,e,n,i,o,a){var r=t._getter,s=t._setter,l="spline"===e,u=i.length;if(u){var c,h,d,p=i[0].value,f=R(p),g=!1,m=!1,v=f?(h=(c=i)[c.length-1].value,R(h&&h[0])?2:1):0;i.sort(function(t,e){return t.time-e.time}),d=i[u-1].time;for(var y=[],x=[],_=i[0].value,A=!0,b=0;b<u;b++){y.push(i[b].time/d);var w=i[b].value;if(f&&H(w,_,v)||!f&&w===_||(A=!1),"string"==typeof(_=w)){var S=N.parse(w);S?(w=S,g=!0):m=!0}x.push(w)}if(a||!A){var C=x[u-1];for(b=0;b<u-1;b++)f?F(x[b],C,v):!isNaN(x[b])||isNaN(C)||m||g||(x[b]=C);f&&F(r(t._target,o),C,v);var M,I,T,D,k,P=0,L=0;if(g)var B=[0,0,0,0];var E=new O({target:t._target,life:d,loop:t._loop,delay:t._delay,onframe:function(t,e){var n;if(e<0)n=0;else if(e<L){for(n=Math.min(P+1,u-1);0<=n&&!(y[n]<=e);n--);n=Math.min(n,u-2)}else{for(n=P;n<u&&!(y[n]>e);n++);n=Math.min(n-1,u-2)}L=e;var i=y[(P=n)+1]-y[n];if(0!=i)if(M=(e-y[n])/i,l)if(T=x[n],I=x[0===n?n:n-1],D=x[u-2<n?u-1:n+1],k=x[u-3<n?u-1:n+2],f)W(I,T,D,k,M,M*M,M*M*M,r(t,o),v);else{if(g)a=W(I,T,D,k,M,M*M,M*M*M,B,1),a=U(B);else{if(m)return V(T,D,M);a=j(I,T,D,k,M,M*M,M*M*M)}s(t,o,a)}else if(f)G(x[n],x[n+1],M,r(t,o),v);else{var a;if(g)G(x[n],x[n+1],M,B,1),a=U(B);else{if(m)return V(x[n],x[n+1],M);a=z(x[n],x[n+1],M)}s(t,o,a)}},ondestroy:n});return e&&"spline"!==e&&(E.easing=e),E}}}function i(t,e,n,i){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||a,this._setter=i||o,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]}i.prototype={when:function(t,e){var n=this._tracks;for(var i in e)if(e.hasOwnProperty(i)){if(!n[i]){n[i]=[];var a=this._getter(this._target,i);if(null==a)continue;0!==t&&n[i].push({time:0,value:r(a)})}n[i].push({time:t,value:e[i]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].pause();this._paused=!0},resume:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var t=this._doneList,e=t.length,n=0;n<e;n++)t[n].call(this)},start:function(t,e){function n(){--o||a._doneCallback()}var i,a=this,o=0;for(var r in this._tracks)if(this._tracks.hasOwnProperty(r)){var s=u(this,t,n,this._tracks[r],r,e);s&&(this._clipList.push(s),o++,this.animation&&this.animation.addClip(s),i=s)}if(i){var l=i.onframe;i.onframe=function(t,e){l(t,e);for(var n=0;n<a._onframeList.length;n++)a._onframeList[n](t,e)}}return o||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,n=this.animation,i=0;i<e.length;i++){var a=e[i];t&&a.onframe(this._target,1),n&&n.removeClip(a)}e.length=0},delay:function(t){return this._delay=t,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}};var s=i;t.exports=s},2118:function(t,e){function n(){this.head=null,this.tail=null,this._len=0}var i=n.prototype;i.insert=function(t){var e=new l(t);return this.insertEntry(e),e},i.insertEntry=function(t){this.head?((this.tail.next=t).prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},i.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},i.len=function(){return this._len},i.clear=function(){this.head=this.tail=null,this._len=0};function a(t){this._list=new n,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null}var l=function(t){this.value=t,this.next,this.prev},o=a.prototype;o.put=function(t,e){var n=this._list,i=this._map,a=null;if(null==i[t]){var o=n.len(),r=this._lastRemovedEntry;if(o>=this._maxSize&&0<o){var s=n.head;n.remove(s),delete i[s.key],a=s.value,this._lastRemovedEntry=s}r?r.value=e:r=new l(e),r.key=t,n.insertEntry(r),i[t]=r}return a},o.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},o.clear=function(){this._list.clear(),this._map={}};var r=a;t.exports=r},2119:function(t,e){var i={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};t.exports=function(t,e,n){return i.hasOwnProperty(e)?n*t.dpr:n}},2120:function(t,e){function n(t,e){this.image=t,this.repeat=e,this.type="pattern"}n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var i=n;t.exports=i},2121:function(t,e){var n="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=n},2122:function(t,e,n){function i(){}var o=n(1685),a=n(1152),r=n(1684).WILL_BE_RESTORED,s=new a;i.prototype={constructor:i,drawRectText:function(t,e){var n=this.style;e=n.textRect||e,this.__dirty&&o.normalizeTextStyle(n,!0);var i=n.text;if(null!=i&&(i+=""),o.needDrawText(i,n)){t.save();var a=this.transform;n.transformText?this.setTransform(t):a&&(s.copy(e),s.applyTransform(a),e=s),o.renderText(this,t,i,n,e,r),t.restore()}}};var l=i;t.exports=l},2123:function(t,e){e.buildPath=function(t,e){var n,i,a,o,r,s=e.x,l=e.y,u=e.width,c=e.height,h=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof h?n=i=a=o=h:h instanceof Array?1===h.length?n=i=a=o=h[0]:2===h.length?(n=a=h[0],i=o=h[1]):3===h.length?(n=h[0],i=o=h[1],a=h[2]):(n=h[0],i=h[1],a=h[2],o=h[3]):n=i=a=o=0,u<n+i&&(n*=u/(r=n+i),i*=u/r),u<a+o&&(a*=u/(r=a+o),o*=u/r),c<i+a&&(i*=c/(r=i+a),a*=c/r),c<n+o&&(n*=c/(r=n+o),o*=c/r),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+c-a),0!==a&&t.arc(s+u-a,l+c-a,a,0,Math.PI/2),t.lineTo(s+o,l+c),0!==o&&t.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}},2124:function(t,e,n){n(1127).__DEV__;var i=n(768),c=i.each,h=i.filter,u=i.map,d=i.isArray,p=i.indexOf,f=i.isObject,o=i.isString,r=i.createHashMap,g=i.assert,s=i.clone,m=i.merge,v=i.extend,a=i.mixin,y=n(987),l=n(1241),x=n(1245),_=n(2573),A=n(2136),b=n(1688).resetSourceDefaulter,w="\0_ec_inner",S=l.extend({init:function(t,e,n,i){n=n||{},this.option=null,this._theme=new l(n),this._optionManager=i},setOption:function(t,e){g(!(w in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,n=this._optionManager;if(!t||"recreate"===t){var i=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(i)):function(t){t=t,this.option={},this.option[w]=1,this._componentsMap=r({series:[]}),this._seriesIndices,this._seriesIndicesMap,function(n,t){var i=n.color&&!n.colorLayer;c(t,function(t,e){"colorLayer"===e&&i||x.hasClass(e)||("object"==typeof t?n[e]=n[e]?m(n[e],t,!1):s(t):null==n[e]&&(n[e]=t))})}(t,this._theme.option),m(t,_,!1),this.mergeOption(t)}.call(this,i),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=n.getTimelineOption(this);a&&(this.mergeOption(a),e=!0)}if(!t||"recreate"===t||"media"===t){var o=n.getMediaOption(this,this._api);o.length&&c(o,function(t){this.mergeOption(t,e=!0)},this)}return e},mergeOption:function(i){var l=this.option,u=this._componentsMap,n=[];b(this),c(i,function(t,e){null!=t&&(x.hasClass(e)?e&&n.push(e):l[e]=null==l[e]?s(t):m(l[e],t,!0))}),x.topologicalTravel(n,x.getAllClassMainTypes(),function(r,t){var e=y.normalizeToArray(i[r]),n=y.mappingToExists(u.get(r),e);y.makeIdAndName(n),c(n,function(t,e){var n,i,a,o=t.option;f(o)&&(t.keyInfo.mainType=r,t.keyInfo.subType=(n=r,i=o,a=t.exist,i.type?i.type:a?a.subType:x.determineSubType(n,i)))});var s=function(e,t){d(t)||(t=t?[t]:[]);var n={};return c(t,function(t){n[t]=(e.get(t)||[]).slice()}),n}(u,t);l[r]=[],u.set(r,[]),c(n,function(t,e){var n=t.exist,i=t.option;if(g(f(i)||n,"Empty component definition"),i){var a=x.getClass(r,t.keyInfo.subType,!0);if(n&&n.constructor===a)n.name=t.keyInfo.name,n.mergeOption(i,this),n.optionUpdated(i,!1);else{var o=v({dependentModels:s,componentIndex:e},t.keyInfo);n=new a(i,this,this,o),v(n,o),n.init(i,this,this,o),n.optionUpdated(null,!0)}}else n.mergeOption({},this),n.optionUpdated({},!1);u.get(r)[e]=n,l[r][e]=n.option},this),"series"===r&&C(this,u.get("series"))},this),this._seriesIndicesMap=r(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var i=s(this.option);return c(i,function(t,e){if(x.hasClass(e)){for(var n=(t=y.normalizeToArray(t)).length-1;0<=n;n--)y.isIdInner(t[n])&&t.splice(n,1);i[e]=t}}),delete i[w],i},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap.get(t);if(n)return n[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,a=t.id,o=t.name,r=this._componentsMap.get(e);if(!r||!r.length)return[];if(null!=i)d(i)||(i=[i]),n=h(u(i,function(t){return r[t]}),function(t){return!!t});else if(null!=a){var s=d(a);n=h(r,function(t){return s&&0<=p(a,t.id)||!s&&t.id===a})}else if(null!=o){var l=d(o);n=h(r,function(t){return l&&0<=p(o,t.name)||!l&&t.name===o})}else n=r.slice();return M(n,t)},findComponents:function(t){var e,n,i,a,o,r=t.query,s=t.mainType,l=(n=s+"Index",i=s+"Id",a=s+"Name",!(e=r)||null==e[n]&&null==e[i]&&null==e[a]?null:{mainType:s,index:e[n],id:e[i],name:e[a]}),u=l?this.queryComponents(l):this._componentsMap.get(s);return o=M(u,t),t.filter?h(o,t.filter):o},eachComponent:function(t,i,a){var e=this._componentsMap;if("function"==typeof t)a=i,i=t,e.each(function(t,n){c(t,function(t,e){i.call(a,n,t,e)})});else if(o(t))c(e.get(t),i,a);else if(f(t)){var n=this.findComponents(t);c(n,i,a)}},getSeriesByName:function(e){var t=this._componentsMap.get("series");return h(t,function(t){return t.name===e})},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(e){var t=this._componentsMap.get("series");return h(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(n,i){c(this._seriesIndices,function(t){var e=this._componentsMap.get("series")[t];n.call(i,e,t)},this)},eachRawSeries:function(t,e){c(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(n,i,a){c(this._seriesIndices,function(t){var e=this._componentsMap.get("series")[t];e.subType===n&&i.call(a,e,t)},this)},eachRawSeriesByType:function(t,e,n){return c(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){var n=h(this._componentsMap.get("series"),t,e);C(this,n)},restoreData:function(n){var i=this._componentsMap;C(this,i.get("series"));var a=[];i.each(function(t,e){a.push(e)}),x.topologicalTravel(a,x.getAllClassMainTypes(),function(e,t){c(i.get(e),function(t){"series"===e&&function(t,e){if(e){var n=e.seiresIndex,i=e.seriesId,a=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=a&&t.name!==a}}(t,n)||t.restoreData()})})}});function C(t,e){t._seriesIndicesMap=r(t._seriesIndices=u(e,function(t){return t.componentIndex})||[])}function M(t,e){return e.hasOwnProperty("subType")?h(t,function(t){return t.subType===e.subType}):t}a(S,A);var I=S;t.exports=I},2125:function(t,e,n){function i(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}var s=n(1224),T=n(1550),a=n(2562),S=Math.sqrt,C=Math.sin,M=Math.cos,I=Math.PI,D=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(i(t)*i(e))},k=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(D(t,e))};function P(t,e,n,i,a,o,r,s,l,u,c){var h=l*(I/180),d=M(h)*(t-n)/2+C(h)*(e-i)/2,p=-1*C(h)*(t-n)/2+M(h)*(e-i)/2,f=d*d/(r*r)+p*p/(s*s);1<f&&(r*=S(f),s*=S(f));var g=(a===o?-1:1)*S((r*r*(s*s)-r*r*(p*p)-s*s*(d*d))/(r*r*(p*p)+s*s*(d*d)))||0,m=g*r*p/s,v=g*-s*d/r,y=(t+n)/2+M(h)*m-C(h)*v,x=(e+i)/2+C(h)*m+M(h)*v,_=k([1,0],[(d-m)/r,(p-v)/s]),A=[(d-m)/r,(p-v)/s],b=[(-1*d-m)/r,(-1*p-v)/s],w=k(A,b);D(A,b)<=-1&&(w=I),1<=D(A,b)&&(w=0),0===o&&0<w&&(w-=2*I),1===o&&w<0&&(w+=2*I),c.addData(u,y,x,r,s,_,w,h,o)}var L=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,B=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function o(t,e){var n=function(t){if(!t)return new T;for(var e,n=0,i=0,a=n,o=i,r=new T,s=T.CMD,l=t.match(L),u=0;u<l.length;u++){for(var c,h=l[u],d=h.charAt(0),p=h.match(B)||[],f=p.length,g=0;g<f;g++)p[g]=parseFloat(p[g]);for(var m=0;m<f;){var v,y,x,_,A,b,w,S=n,C=i;switch(d){case"l":n+=p[m++],i+=p[m++],c=s.L,r.addData(c,n,i);break;case"L":n=p[m++],i=p[m++],c=s.L,r.addData(c,n,i);break;case"m":n+=p[m++],i+=p[m++],c=s.M,r.addData(c,n,i),a=n,o=i,d="l";break;case"M":n=p[m++],i=p[m++],c=s.M,r.addData(c,n,i),a=n,o=i,d="L";break;case"h":n+=p[m++],c=s.L,r.addData(c,n,i);break;case"H":n=p[m++],c=s.L,r.addData(c,n,i);break;case"v":i+=p[m++],c=s.L,r.addData(c,n,i);break;case"V":i=p[m++],c=s.L,r.addData(c,n,i);break;case"C":c=s.C,r.addData(c,p[m++],p[m++],p[m++],p[m++],p[m++],p[m++]),n=p[m-2],i=p[m-1];break;case"c":c=s.C,r.addData(c,p[m++]+n,p[m++]+i,p[m++]+n,p[m++]+i,p[m++]+n,p[m++]+i),n+=p[m-2],i+=p[m-1];break;case"S":v=n,y=i;var M=r.len(),I=r.data;e===s.C&&(v+=n-I[M-4],y+=i-I[M-3]),c=s.C,S=p[m++],C=p[m++],n=p[m++],i=p[m++],r.addData(c,v,y,S,C,n,i);break;case"s":v=n,y=i;M=r.len(),I=r.data;e===s.C&&(v+=n-I[M-4],y+=i-I[M-3]),c=s.C,S=n+p[m++],C=i+p[m++],n+=p[m++],i+=p[m++],r.addData(c,v,y,S,C,n,i);break;case"Q":S=p[m++],C=p[m++],n=p[m++],i=p[m++],c=s.Q,r.addData(c,S,C,n,i);break;case"q":S=p[m++]+n,C=p[m++]+i,n+=p[m++],i+=p[m++],c=s.Q,r.addData(c,S,C,n,i);break;case"T":v=n,y=i;M=r.len(),I=r.data;e===s.Q&&(v+=n-I[M-4],y+=i-I[M-3]),n=p[m++],i=p[m++],c=s.Q,r.addData(c,v,y,n,i);break;case"t":v=n,y=i;M=r.len(),I=r.data;e===s.Q&&(v+=n-I[M-4],y+=i-I[M-3]),n+=p[m++],i+=p[m++],c=s.Q,r.addData(c,v,y,n,i);break;case"A":x=p[m++],_=p[m++],A=p[m++],b=p[m++],w=p[m++],P(S=n,C=i,n=p[m++],i=p[m++],b,w,x,_,A,c=s.A,r);break;case"a":x=p[m++],_=p[m++],A=p[m++],b=p[m++],w=p[m++],P(S=n,C=i,n+=p[m++],i+=p[m++],b,w,x,_,A,c=s.A,r)}}"z"!==d&&"Z"!==d||(c=s.Z,r.addData(c),n=a,i=o),e=c}return r.toStatic(),r}(t);return(e=e||{}).buildPath=function(t){if(t.setData){t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e)}else{var e=t;n.rebuildPath(e)}},e.applyTransform=function(t){a(n,t),this.dirty(!0)},e}e.createFromString=function(t,e){return new s(o(t,e))},e.extendFromString=function(t,e){return s.extend(o(t,e))},e.mergePath=function(t,e){for(var n=[],i=t.length,a=0;a<i;a++){var o=t[a];o.path||o.createPathProxy(),o.__dirtyPath&&o.buildPath(o.path,o.shape,!0),n.push(o.path)}var r=new s(e);return r.createPathProxy(),r.buildPath=function(t){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e)},r}},2126:function(t,e){e.containStroke=function(t,e,n,i,a,o,r){if(0===a)return!1;var s=a,l=0;if(e+s<r&&i+s<r||r<e-s&&r<i-s||t+s<o&&n+s<o||o<t-s&&o<n-s)return!1;if(t===n)return Math.abs(o-t)<=s/2;var u=(l=(e-i)/(t-n))*o-r+(t*i-n*e)/(t-n);return u*u/(l*l+1)<=s/2*s/2}},2127:function(t,e,n){var c=n(1464).quadraticProjectPoint;e.containStroke=function(t,e,n,i,a,o,r,s,l){if(0===r)return!1;var u=r;return!(e+u<l&&i+u<l&&o+u<l||l<e-u&&l<i-u&&l<o-u||t+u<s&&n+u<s&&a+u<s||s<t-u&&s<n-u&&s<a-u)&&c(t,e,n,i,a,o,s,l,null)<=u/2}},2128:function(t,e){var n=2*Math.PI;e.normalizeRadian=function(t){return(t%=n)<0&&(t+=n),t}},2129:function(t,e){t.exports=function(t,e,n,i,a,o){if(e<o&&i<o||o<e&&o<i)return 0;if(i===e)return 0;var r=i<e?1:-1,s=(o-e)/(i-e);1!=s&&0!=s||(r=i<e?.5:-.5);var l=s*(n-t)+t;return l===a?1/0:a<l?r:0}},2130:function(t,e,n){var i=n(1224).extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=i},2131:function(t,e,n){var i=n(1240),u=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];t.exports=function(l){return i.browser.ie&&11<=i.browser.version?function(){var t,e=this.__clipPaths,n=this.style;if(e)for(var i=0;i<e.length;i++){var a=e[i],o=a&&a.shape,r=a&&a.type;if(o&&("sector"===r&&o.startAngle===o.endAngle||"rect"===r&&(!o.width||!o.height))){for(var s=0;s<u.length;s++)u[s][2]=n[u[s][0]],n[u[s][0]]=u[s][1];t=!0;break}}if(l.apply(this,arguments),t)for(s=0;s<u.length;s++)n[u[s][0]]=u[s][2]}:l}},2132:function(t,e,n){var i=n(1224),a=n(2133),o=i.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){a.buildPath(t,e,!0)}});t.exports=o},2133:function(t,e,n){var d=n(2565),p=n(2566);e.buildPath=function(t,e,n){var i=e.points,a=e.smooth;if(i&&2<=i.length){if(a&&"spline"!==a){var o=p(i,a,n,e.smoothConstraint);t.moveTo(i[0][0],i[0][1]);for(var r=i.length,s=0;s<(n?r:r-1);s++){var l=o[2*s],u=o[2*s+1],c=i[(s+1)%r];t.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{"spline"===a&&(i=d(i,n)),t.moveTo(i[0][0],i[0][1]);s=1;for(var h=i.length;s<h;s++)t.lineTo(i[s][0],i[s][1])}n&&t.closePath()}}},2134:function(t,e,n){var i=n(1224),a=n(2133),o=i.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){a.buildPath(t,e,!1)}});t.exports=o},2135:function(t,e,n){var i=n(1224),s=n(1804).subPixelOptimizeLine,l={},a=i.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n,i,a,o;o=this.subPixelOptimize?(s(l,e,this.style),n=l.x1,i=l.y1,a=l.x2,l.y2):(n=e.x1,i=e.y1,a=e.x2,e.y2);var r=e.percent;0!==r&&(t.moveTo(n,i),r<1&&(a=n*(1-r)+a*r,o=i*(1-r)+o*r),t.lineTo(a,o))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=a},2136:function(t,e,n){var i=n(987),a=i.makeInner,c=i.normalizeToArray,h=a();var o={clearColorPalette:function(){h(this).colorIdx=0,h(this).colorNameMap={}},getColorFromPalette:function(t,e,n){var i=h(e=e||this),a=i.colorIdx||0,o=i.colorNameMap=i.colorNameMap||{};if(o.hasOwnProperty(t))return o[t];var r=c(this.get("color",!0)),s=this.get("colorLayer",!0),l=null!=n&&s?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(s,n):r;if((l=l||r)&&l.length){var u=l[a];return t&&(o[t]=u),i.colorIdx=(a+1)%l.length,u}}};t.exports=o},2137:function(t,e,n){n(1127).__DEV__;var i=n(768),a=i.createHashMap,u=(i.retrieve,i.each);var o={cartesian2d:function(t,e,n,i){var a=t.getReferringComponents("xAxis")[0],o=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],n.set("x",a),n.set("y",o),c(a)&&(i.set("x",a),e.firstCategoryDimIndex=0),c(o)&&(i.set("y",o),e.firstCategoryDimIndex=1)},singleAxis:function(t,e,n,i){var a=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],n.set("single",a),c(a)&&(i.set("single",a),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var a=t.getReferringComponents("polar")[0],o=a.findAxisModel("radiusAxis"),r=a.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",r),c(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),c(r)&&(i.set("angle",r),e.firstCategoryDimIndex=1)},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,a,o,r){var s=t.ecModel,e=s.getComponent("parallel",t.get("parallelIndex")),l=a.coordSysDims=e.dimensions.slice();u(e.parallelAxisIndex,function(t,e){var n=s.getComponent("parallelAxis",t),i=l[e];o.set(i,n),c(n)&&null==a.firstCategoryDimIndex&&(r.set(i,n),a.firstCategoryDimIndex=e)})}};function c(t){return"category"===t.get("type")}e.getCoordSysDefineBySeries=function(t){var e=t.get("coordinateSystem"),n={coordSysName:e,coordSysDims:[],axisMap:a(),categoryAxisMap:a()},i=o[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}},2138:function(t,e,n){var i=n(768),a=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function o(e){i.each(a,function(t){this[t]=i.bind(e[t],e)},this)}t.exports=o},2139:function(t,e,n){var i=n(1245),a=n(1689),o=n(1688).detectSourceFormat,r=n(1596).SERIES_LAYOUT_BY_COLUMN;i.extend({type:"dataset",defaultOption:{seriesLayoutBy:r,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){o(this)}}),a.extend({type:"dataset"})},2140:function(t,e,n){var d=n(1547),i=n(1548),s=n(1502),a=n(2130),p=n(1803),o=n(2584),r=n(2135),l=n(1224),u=n(2132),c=n(2134),h=n(1805),f=n(1801),g=n(1284),m=n(2125).createFromString,v=n(768),y=v.isString,x=v.extend,_=v.defaults,A=v.trim,b=v.each,w=/[\s,]+/;function S(t){y(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));for(9===t.nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}function C(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}C.prototype.parse=function(t,e){e=e||{};var n=S(t);if(!n)throw new Error("Illegal svg");var i=new d;this._root=i;var a=n.getAttribute("viewBox")||"",o=parseFloat(n.getAttribute("width")||e.width),r=parseFloat(n.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(r)&&(r=null),P(n,i,null,!0);for(var s,l,u=n.firstChild;u;)this._parseNode(u,i),u=u.nextSibling;if(a){var c=A(a).split(w);4<=c.length&&(s={x:parseFloat(c[0]||0),y:parseFloat(c[1]||0),width:parseFloat(c[2]),height:parseFloat(c[3])})}if(s&&null!=o&&null!=r&&(l=N(s,o,r),!e.ignoreViewBox)){var h=i;(i=new d).add(h),h.scale=l.scale.slice(),h.position=l.position.slice()}return e.ignoreRootClip||null==o||null==r||i.setClipPath(new p({shape:{x:0,y:0,width:o,height:r}})),{root:i,width:o,height:r,viewBoxRect:s,viewBoxTransform:l}},C.prototype._parseNode=function(t,e){var n,i,a=t.nodeName.toLowerCase();if("defs"===a?this._isDefine=!0:"text"===a&&(this._isText=!0),this._isDefine){if(i=I[a]){var o=i.call(this,t),r=t.getAttribute("id");r&&(this._defs[r]=o)}}else(i=M[a])&&(n=i.call(this,t,e),e.add(n));for(var s=t.firstChild;s;)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===a?this._isDefine=!1:"text"===a&&(this._isText=!1)},C.prototype._parseText=function(t,e){if(1===t.nodeType){var n=t.getAttribute("dx")||0,i=t.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(i)}var a=new s({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});T(e,a),P(t,a,this._defs);var o=a.style.fontSize;o&&o<9&&(a.style.fontSize=9,a.scale=a.scale||[1,1],a.scale[0]*=o/9,a.scale[1]*=o/9);var r=a.getBoundingRect();return this._textX+=r.width,e.add(a),a};var M={g:function(t,e){var n=new d;return T(e,n),P(t,n,this._defs),n},rect:function(t,e){var n=new p;return T(e,n),P(t,n,this._defs),n.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),n},circle:function(t,e){var n=new a;return T(e,n),P(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),n},line:function(t,e){var n=new r;return T(e,n),P(t,n,this._defs),n.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),n},ellipse:function(t,e){var n=new o;return T(e,n),P(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),n},polygon:function(t,e){var n=t.getAttribute("points");n=n&&D(n);var i=new u({shape:{points:n||[]}});return T(e,i),P(t,i,this._defs),i},polyline:function(t,e){var n=new l;T(e,n),P(t,n,this._defs);var i=t.getAttribute("points");return i=i&&D(i),new c({shape:{points:i||[]}})},image:function(t,e){var n=new i;return T(e,n),P(t,n,this._defs),n.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),n},text:function(t,e){var n=t.getAttribute("x")||0,i=t.getAttribute("y")||0,a=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(a),this._textY=parseFloat(i)+parseFloat(o);var r=new d;return T(e,r),P(t,r,this._defs),r},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var a=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0,r=new d;return T(e,r),P(t,r,this._defs),this._textX+=a,this._textY+=o,r},path:function(t,e){var n=t.getAttribute("d")||"",i=m(n);return T(e,i),P(t,i,this._defs),i}},I={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),n=parseInt(t.getAttribute("y1")||0,10),i=parseInt(t.getAttribute("x2")||10,10),a=parseInt(t.getAttribute("y2")||0,10),o=new h(e,n,i,a);return function(t,e){var n=t.firstChild;for(;n;){if(1===n.nodeType){var i=n.getAttribute("offset");i=0<i.indexOf("%")?parseInt(i,10)/100:i?parseFloat(i):0;var a=n.getAttribute("stop-color")||"#000000";e.addColorStop(i,a)}n=n.nextSibling}}(t,o),o},radialgradient:function(t){}};function T(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),_(e.__inheritedStyle,t.__inheritedStyle))}function D(t){for(var e=A(t).split(w),n=[],i=0;i<e.length;i+=2){var a=parseFloat(e[i]),o=parseFloat(e[i+1]);n.push([a,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 P(t,e,n,i){var a=e.__inheritedStyle||{},o="text"===e.type;if(1===t.nodeType&&(function(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=null,a=[];n.replace(E,function(t,e,n){a.push(e,n)});for(var o=a.length-1;0<o;o-=2){var r=a[o],s=a[o-1];switch(i=i||g.create(),s){case"translate":r=A(r).split(w),g.translate(i,i,[parseFloat(r[0]),parseFloat(r[1]||0)]);break;case"scale":r=A(r).split(w),g.scale(i,i,[parseFloat(r[0]),parseFloat(r[1]||r[0])]);break;case"rotate":r=A(r).split(w),g.rotate(i,i,parseFloat(r[0]));break;case"skew":r=A(r).split(w),console.warn("Skew transform is not supported yet");break;case"matrix":r=A(r).split(w);i[0]=parseFloat(r[0]),i[1]=parseFloat(r[1]),i[2]=parseFloat(r[2]),i[3]=parseFloat(r[3]),i[4]=parseFloat(r[4]),i[5]=parseFloat(r[5])}}e.setLocalTransform(i)}}(t,e),x(a,function(t){var e=t.getAttribute("style"),n={};if(!e)return n;var i,a={};O.lastIndex=0;for(;null!=(i=O.exec(e));)a[i[1]]=i[2];for(var o in k)k.hasOwnProperty(o)&&null!=a[o]&&(n[k[o]]=a[o]);return n}(t)),!i))for(var r in k)if(k.hasOwnProperty(r)){var s=t.getAttribute(r);null!=s&&(a[k[r]]=s)}var l=o?"textFill":"fill",u=o?"textStroke":"stroke";e.style=e.style||new f;var c=e.style;null!=a.fill&&c.set(l,B(a.fill,n)),null!=a.stroke&&c.set(u,B(a.stroke,n)),b(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(t){var e="lineWidth"===t&&o?"textStrokeWidth":t;null!=a[t]&&c.set(e,parseFloat(a[t]))}),a.textBaseline&&"auto"!==a.textBaseline||(a.textBaseline="alphabetic"),"alphabetic"===a.textBaseline&&(a.textBaseline="bottom"),"start"===a.textAlign&&(a.textAlign="left"),"end"===a.textAlign&&(a.textAlign="right"),b(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(t){null!=a[t]&&c.set(t,a[t])}),a.lineDash&&(e.style.lineDash=A(a.lineDash).split(w)),c[u]&&"none"!==c[u]&&(e[u]=!0),e.__inheritedStyle=a}var L=/url\(\s*#(.*?)\)/;function B(t,e){var n=e&&t&&t.match(L);return n?e[A(n[1])]:t}var E=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;var O=/([^\s:;]+)\s*:\s*([^:;]+)/g;function N(t,e,n){var i=e/t.width,a=n/t.height,o=Math.min(i,a);return{scale:[o,o],position:[-(t.x+t.width/2)*o+e/2,-(t.y+t.height/2)*o+n/2]}}e.parseXML=S,e.makeViewBoxTransform=N,e.parseSVG=function(t,e){return(new C).parse(t,e)}},2141:function(t,e,n){var i=n(1682);e.zrender=i;var a=n(1284);e.matrix=a;var o=n(1150);e.vector=o;var r=n(768),s=n(1411);e.color=s;var l=n(852),u=n(965);e.number=u;var c=n(1153);e.format=c;var h=n(1465);h.throttle;e.throttle=h.throttle;var d=n(2585);e.helper=d;var p=n(2146);e.parseGeoJSON=p;var f=n(1320);e.List=f;var g=n(1241);e.Model=g;var m=n(1467);e.Axis=m;var v=n(1240);e.env=v;var y=p,x={};r.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(t){x[t]=r[t]});var _={};r.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(t){_[t]=l[t]}),e.parseGeoJson=y,e.util=x,e.graphic=_},2142:function(t,e,n){var i=n(768),C=i.createHashMap,M=i.each,I=i.isString,T=i.defaults,D=i.extend,k=i.isObject,P=i.clone,L=n(987).normalizeToArray,B=n(1688).guessOrdinal,E=n(1595),O=n(1597).OTHER_DIMENSIONS;function N(t,e,n){if(n||null!=e.get(t)){for(var i=0;null!=e.get(t+i);)i++;t+=i}return e.set(t,!0),t}function a(t,e,n){E.isInstance(e)||(e=E.seriesDataToSource(e)),n=n||{},t=(t||[]).slice();for(var i,a,o,r,s,l=(n.dimsDef||[]).slice(),u=C(n.encodeDef),c=C(),h=C(),d=[],p=(i=e,a=t,o=l,r=n.dimCount,s=Math.max(i.dimensionsDetectCount||1,a.length,o.length,r||0),M(a,function(t){var e=t.dimsDef;e&&(s=Math.max(s,e.length))}),s),f=0;f<p;f++){var g=l[f]=D({},k(l[f])?l[f]:{name:l[f]}),m=g.name,v=d[f]={otherDims:{}};null!=m&&null==c.get(m)&&(v.name=v.displayName=m,c.set(m,f)),null!=g.type&&(v.type=g.type),null!=g.displayName&&(v.displayName=g.displayName)}u.each(function(t,n){if(1===(t=L(t).slice()).length&&!I(t[0])&&t[0]<0)u.set(n,!1);else{var i=u.set(n,[]);M(t,function(t,e){I(t)&&(t=c.get(t)),null!=t&&t<p&&(i[e]=t,x(d[t],n,e))})}});var y=0;function x(t,e,n){null!=O.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,h.set(e,!0))}M(t,function(a,t){var o,r,s;if(I(a))o=a,a={};else{o=a.name;var e=a.ordinalMeta;a.ordinalMeta=null,(a=P(a)).ordinalMeta=e,r=a.dimsDef,s=a.otherDims,a.name=a.coordDim=a.coordDimIndex=a.dimsDef=a.otherDims=null}if(!1!==(n=u.get(o))){var n;if(!(n=L(n)).length)for(var i=0;i<(r&&r.length||1);i++){for(;y<d.length&&null!=d[y].coordDim;)y++;y<d.length&&n.push(y++)}M(n,function(t,e){var n=d[t];if(x(T(n,a),o,e),null==n.name&&r){var i=r[e];k(i)||(i={name:i}),n.name=n.displayName=i.name,n.defaultTooltip=i.defaultTooltip}s&&T(n.otherDims,s)})}});var _=n.generateCoord,A=n.generateCoordCount,b=null!=A;A=_?A||1:0;for(var w=_||"value",S=0;S<p;S++){null==(v=d[S]=d[S]||{}).coordDim&&(v.coordDim=N(w,h,b),v.coordDimIndex=0,(!_||A<=0)&&(v.isExtraCoord=!0),A--),null==v.name&&(v.name=N(v.coordDim,c)),null==v.type&&B(e,S,v.name)&&(v.type="ordinal")}return d}t.exports=a},2143:function(t,e,n){var i=n(768),a=i.createHashMap,o=i.isObject,r=i.map;function s(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}s.createByAxisModel=function(t){var e=t.option,n=e.data,i=n&&r(n,c);return new s({categories:i,needCollect:!i,deduplication:!1!==e.dedplication})};var l=s.prototype;function u(t){return t._map||(t._map=a(t.categories))}function c(t){return o(t)&&null!=t.value?t.value:t+""}l.getOrdinal=function(t){return u(this).get(t)},l.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!=typeof t&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=u(this);return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e};var h=s;t.exports=h},2144:function(t,e,n){var l=n(965),u=l.round;function c(t){return l.getPrecisionSafe(t)+2}function i(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function h(t,e){isFinite(t[0])||(t[0]=e[0]),isFinite(t[1])||(t[1]=e[1]),i(t,0,e),i(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,n,i){var a={},o=t[1]-t[0],r=a.interval=l.nice(o/e,!0);null!=n&&r<n&&(r=a.interval=n),null!=i&&i<r&&(r=a.interval=i);var s=a.intervalPrecision=c(r);return h(a.niceTickExtent=[u(Math.ceil(t[0]/r)*r,s),u(Math.floor(t[1]/r)*r,s)],t),a},e.getIntervalPrecision=c,e.fixExtent=h,e.intervalScaleGetTicks=function(t,e,n,i){var a=[];if(!t)return a;e[0]<n[0]&&a.push(e[0]);for(var o=n[0];o<=n[1]&&(a.push(o),(o=u(o+t,i))!==a[a.length-1]);)if(1e4<a.length)return[];return e[1]>(a.length?a[a.length-1]:n[1])&&a.push(e[1]),a}},2145:function(t,e,n){var o=n(768),i=n(1690),r=n(965),a=n(1691),s=i.prototype,l=a.prototype,u=r.getPrecisionSafe,c=r.round,h=Math.floor,d=Math.ceil,p=Math.pow,f=Math.log,g=i.extend({type:"log",base:10,$constructor:function(){i.apply(this,arguments),this._originalScale=new a},getTicks:function(){var n=this._originalScale,i=this._extent,a=n.getExtent();return o.map(l.getTicks.call(this),function(t){var e=r.round(p(this.base,t));return e=t===i[0]&&n.__fixMin?m(e,a[0]):e,e=t===i[1]&&n.__fixMax?m(e,a[1]):e},this)},getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),p(this.base,t)},setExtent:function(t,e){var n=this.base;t=f(t)/f(n),e=f(e)/f(n),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=p(t,e[0]),e[1]=p(t,e[1]);var n=this._originalScale,i=n.getExtent();return n.__fixMin&&(e[0]=m(e[0],i[0])),n.__fixMax&&(e[1]=m(e[1],i[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=f(t[0])/f(e),t[1]=f(t[1])/f(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n==1/0||n<=0)){var i=r.quantity(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&0<Math.abs(i);)i*=10;var a=[r.round(d(e[0]/i)*i),r.round(h(e[1]/i)*i)];this._interval=i,this._niceExtent=a}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function m(t,e){return c(t,u(e))}o.each(["contain","normalize"],function(e){g.prototype[e]=function(t){return t=f(t)/f(this.base),s[e].call(this,t)}}),g.create=function(){return new g};var v=g;t.exports=v},2146:function(t,e,n){var r=n(768),s=n(2147);function h(t,e,n){for(var i=[],a=e[0],o=e[1],r=0;r<t.length;r+=2){var s=t.charCodeAt(r)-64,l=t.charCodeAt(r+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),a=s+=a,o=l+=o,i.push([s/n,l/n])}return i}t.exports=function(t){return function(t){if(!t.UTF8Encoding)return;var e=t.UTF8Scale;null==e&&(e=1024);for(var n=t.features,i=0;i<n.length;i++)for(var a=n[i].geometry,o=a.coordinates,r=a.encodeOffsets,s=0;s<o.length;s++){var l=o[s];if("Polygon"===a.type)o[s]=h(l,r[s],e);else if("MultiPolygon"===a.type)for(var u=0;u<l.length;u++){var c=l[u];l[u]=h(c,r[s][u],e)}}t.UTF8Encoding=!1}(t),r.map(r.filter(t.features,function(t){return t.geometry&&t.properties&&0<t.geometry.coordinates.length}),function(t){var e=t.properties,n=t.geometry,i=n.coordinates,a=[];"Polygon"===n.type&&a.push({type:"polygon",exterior:i[0],interiors:i.slice(1)}),"MultiPolygon"===n.type&&r.each(i,function(t){t[0]&&a.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});var o=new s(e.name,a,e.cp);return o.properties=e,o})}},2147:function(t,e,n){var f=n(1152),u=n(1686),g=n(1150),l=n(2148);function i(t,e,n){if(this.name=t,this.geometries=e,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}i.prototype={constructor:i,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,n=[e,e],i=[-e,-e],a=[],o=[],r=this.geometries,s=0;s<r.length;s++)if("polygon"===r[s].type){var l=r[s].exterior;u.fromPoints(l,a,o),g.min(n,n,a),g.max(i,i,o)}return 0===s&&(n[0]=n[1]=i[0]=i[1]=0),this._rect=new f(n[0],n[1],i[0]-n[0],i[1]-n[1])},contain:function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,a=n.length;i<a;i++)if("polygon"===n[i].type){var o=n[i].exterior,r=n[i].interiors;if(l.contain(o,t[0],t[1])){for(var s=0;s<(r?r.length:0);s++)if(l.contain(r[s]))continue t;return!0}}return!1},transformTo:function(t,e,n,i){var a=this.getBoundingRect(),o=a.width/a.height;n?i=i||n/o:n=o*i;for(var r=new f(t,e,n,i),s=a.calculateTransform(r),l=this.geometries,u=0;u<l.length;u++)if("polygon"===l[u].type){for(var c=l[u].exterior,h=l[u].interiors,d=0;d<c.length;d++)g.applyTransform(c[d],c[d],s);for(var p=0;p<(h?h.length:0);p++)for(d=0;d<h[p].length;d++)g.applyTransform(h[p][d],h[p][d],s)}(a=this._rect).copy(r),this.center=[a.x+a.width/2,a.y+a.height/2]},cloneShallow:function(t){null==t&&(t=this.name);var e=new i(t,this.geometries,this.center);return e._rect=this._rect,e.transformTo=null,e}};var a=i;t.exports=a},2148:function(t,e,n){var l=n(2129),i=1e-8;function u(t,e){return Math.abs(t-e)<i}e.contain=function(t,e,n){var i=0,a=t[0];if(!a)return!1;for(var o=1;o<t.length;o++){var r=t[o];i+=l(a[0],a[1],r[0],r[1],e,n),a=r}var s=t[0];return u(a[0],s[0])&&u(a[1],s[1])||(i+=l(a[0],a[1],s[0],s[1],e,n)),0!==i}},2149:function(t,e,n){var f=n(1413).isDimensionStacked,g=n(768).map;e.prepareDataCoordInfo=function(t,e,n){var i,a=t.getBaseAxis(),o=t.getOtherAxis(a),r=function(t,e){var n=0,i=t.scale.getExtent();"start"===e?n=i[0]:"end"===e?n=i[1]:0<i[0]?n=i[0]:i[1]<0&&(n=i[1]);return n}(o,n),s=a.dim,l=o.dim,u=e.mapDimension(l),c=e.mapDimension(s),h="x"===l||"radius"===l?1:0,d=g(t.dimensions,function(t){return e.mapDimension(t)}),p=e.getCalculationInfo("stackResultDimension");return(i|=f(e,d[0]))&&(d[0]=p),(i|=f(e,d[1]))&&(d[1]=p),{dataDimsForPoint:d,valueStart:r,valueAxisDim:l,baseAxisDim:s,stacked:!!i,valueDim:u,baseDim:c,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}},e.getStackedOnPoint=function(t,e,n,i){var a=NaN;t.stacked&&(a=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(a)&&(a=t.valueStart);var o=t.baseDataOffset,r=[];return r[o]=n.get(t.baseDim,i),r[1-o]=a,e.dataToPoint(r)}},2150:function(t,e,n){var i=n(1224),b=n(1150),a=n(2131),w=b.min,S=b.max,C=b.scaleAndAdd,M=b.copy,I=[],T=[],D=[];function k(t){return isNaN(t[0])||isNaN(t[1])}function c(t,e,n,i,a,o,r,s,l,u,c){return"none"!==u&&u?function(t,e,n,i,a,o,r,s,l,u,c){for(var h=0,d=n,p=0;p<i;p++){var f=e[d];if(a<=d||d<0)break;if(k(f)){if(c){d+=o;continue}break}if(d===n)t[0<o?"moveTo":"lineTo"](f[0],f[1]);else if(0<l){var g=e[h],m="y"===u?1:0,v=(f[m]-g[m])*l;M(T,g),T[m]=g[m]+v,M(D,f),D[m]=f[m]-v,t.bezierCurveTo(T[0],T[1],D[0],D[1],f[0],f[1])}else t.lineTo(f[0],f[1]);h=d,d+=o}return p}.apply(this,arguments):function(t,e,n,i,a,o,r,s,l,u,c){for(var h=0,d=n,p=0;p<i;p++){var f=e[d];if(a<=d||d<0)break;if(k(f)){if(c){d+=o;continue}break}if(d===n)t[0<o?"moveTo":"lineTo"](f[0],f[1]),M(T,f);else if(0<l){var g=d+o,m=e[g];if(c)for(;m&&k(e[g]);)m=e[g+=o];var v=.5,y=e[h];if(!(m=e[g])||k(m))M(D,f);else{var x,_;if(k(m)&&!c&&(m=f),b.sub(I,m,y),"x"===u||"y"===u){var A="x"===u?0:1;x=Math.abs(f[A]-y[A]),_=Math.abs(f[A]-m[A])}else x=b.dist(f,y),_=b.dist(f,m);C(D,f,I,-l*(1-(v=_/(_+x))))}w(T,T,s),S(T,T,r),w(D,D,s),S(D,D,r),t.bezierCurveTo(T[0],T[1],D[0],D[1],f[0],f[1]),C(T,f,I,l*v)}else t.lineTo(f[0],f[1]);h=d,d+=o}return p}.apply(this,arguments)}function h(t,e){var n=[1/0,1/0],i=[-1/0,-1/0];if(e)for(var a=0;a<t.length;a++){var o=t[a];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:e?n:i,max:e?i:n}}var o=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:a(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,a=n.length,o=h(n,e.smoothConstraint);if(e.connectNulls){for(;0<a&&k(n[a-1]);a--);for(;i<a&&k(n[i]);i++);}for(;i<a;)i+=c(t,n,i,a,a,1,o.min,o.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}}),r=i.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:a(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=e.stackedOnPoints,a=0,o=n.length,r=e.smoothMonotone,s=h(n,e.smoothConstraint),l=h(i,e.smoothConstraint);if(e.connectNulls){for(;0<o&&k(n[o-1]);o--);for(;a<o&&k(n[a]);a++);}for(;a<o;){var u=c(t,n,a,o,o,1,s.min,s.max,e.smooth,r,e.connectNulls);c(t,i,a+u-1,u,o,-1,l.min,l.max,e.stackedOnSmooth,r,e.connectNulls),a+=u+1,t.closePath()}}});e.Polyline=o,e.Polygon=r},2151:function(t,e,n){var i=n(768),a=n(1245),o=n(1694),r=n(1553),s=a.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(t,e){return e.type||(e.data?"category":"value")}i.merge(s.prototype,r);var u={offset:0};o("x",s,l,u),o("y",s,l,u);var c=s;t.exports=c},2152:function(t,e,n){var i=n(768),a={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"}},a),o.valueAxis=i.merge({boundaryGap:[0,0],splitNumber:5},a),o.timeAxis=i.defaults({scale:!0,min:"dataMin",max:"dataMax"},o.valueAxis),o.logAxis=i.defaults({scale:!0,logBase:10},o.valueAxis);var r=o;t.exports=r},2153:function(t,e,n){var v=n(768);e.layout=function(t,e,n){n=n||{};var i=t.coordinateSystem,a=e.axis,o={},r=a.getAxesOnZeroOf()[0],s=a.position,l=r?"onZero":s,u=a.dim,c=i.getRect(),h=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,f="x"===u?[h[2]-p,h[3]+p]:[h[0]-p,h[1]+p];if(r){var g=r.toGlobalCoord(r.dataToCoord(0));f[d.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===u?f[d[l]]:h[0],"x"===u?f[d[l]]:h[3]],o.rotation=Math.PI/2*("x"===u?0:1),o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=r?f[d[s]]-f[d.onZero]:0,e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),v.retrieve(n.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var m=e.get("axisLabel.rotate");return o.labelRotate="top"===l?-m:m,o.z2=1,o}},2154:function(t,e,n){var i=n(1246),a=n(1428),o=i.extend({type:"series.__base_bar__",getInitialData:function(t,e){return a(this.getSource(),this)},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var n=e.dataToPoint(e.clampData(t)),i=this.getData(),a=i.getLayout("offset"),o=i.getLayout("size");return n[e.getBaseAxis().isHorizontal()?0:1]+=a+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:{}}});t.exports=o},2155:function(t,e,n){var u=n(852),c=n(1810).getDefaultLabel;function h(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=function(t,e,n,i,a,o,r){var s=n.getModel("label"),l=n.getModel("emphasis.label");u.setLabelStyle(t,e,s,l,{labelFetcher:a,labelDataIndex:o,defaultText:c(a.getData(),o),isRectText:!0,autoColor:i}),h(t),h(e)}},2156:function(t,e,n){var i=n(789),a=n(768);t.exports=function(n,t){a.each(t,function(o){o.update="updateView",i.registerAction(o,function(t,e){var a={};return e.eachComponent({mainType:"series",subType:n,query:t},function(n){n[o.method]&&n[o.method](t.name,t.dataIndex);var i=n.getData();i.each(function(t){var e=i.getName(t);a[e]=n.isSelected(e)||!1})}),{name:t.name,selected:a,seriesId:t.seriesId}})})}},2157:function(t,e,n){var L=n(768),i=n(1603),l=n(1813),u=n(1698).onIrrelevantElement,B=n(852),a=n(1697),o=n(1594).getUID;function E(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function c(n,t){t.eachChild(function(e){L.each(e.__regions,function(t){e.trigger(n.isSelected(t.name)?"emphasis":"normal")})})}function r(t,e){var n=new B.Group;this.uid=o("ec_map_draw"),this._controller=new i(t.getZr()),this._controllerHost={target:e?n:null},this.group=n,this._updateGroup=e,this._mouseDownFlag,this._mapName,this._initialized,n.add(this._regionsGroup=new B.Group),n.add(this._backgroundGroup=new B.Group)}r.prototype={constructor:r,draw:function(_,t,e,n,i){var A="geo"===_.mainType,b=_.getData&&_.getData();A&&t.eachComponent({mainType:"series",subType:"map"},function(t){b||t.getHostGeoModel()!==_||(b=t.getData())});var a=_.coordinateSystem;this._updateBackground(a);var w=this._regionsGroup,S=this.group;a._roamTransformable.transform&&(S.transform=a._roamTransformable.transform.slice(),S.decomposeTransform());var C=a._rawTransformable.scale,M=a._rawTransformable.position;w.removeAll();var o,r,s,l,u,I=["itemStyle"],T=["emphasis","itemStyle"],D=["label"],k=["emphasis","label"],P=L.createHashMap();L.each(a.regions,function(t){var e=P.get(t.name)||P.set(t.name,new B.Group),o=new B.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});e.add(o);var n,i=(x=_.getRegionModel(t.name)||_).getModel(I),a=x.getModel(T),r=E(i),s=E(a),l=x.getModel(D),u=x.getModel(k);if(b){n=b.indexOfName(t.name);var c=b.getItemVisual(n,"color",!0);c&&(r.fill=c)}function h(t){return[t[0]*C[0]+M[0],t[1]*C[1]+M[1]]}L.each(t.geometries,function(t){if("polygon"===t.type){for(var e=[],n=0;n<t.exterior.length;++n)e.push(h(t.exterior[n]));o.shape.paths.push(new B.Polygon({segmentIgnoreThreshold:1,shape:{points:e}}));for(n=0;n<(t.interiors?t.interiors.length:0);++n){for(var i=t.interiors[n],a=(e=[],0);a<i.length;++a)e.push(h(i[a]));o.shape.paths.push(new B.Polygon({segmentIgnoreThreshold:1,shape:{points:e}}))}}}),o.setStyle(r),o.style.strokeNoScale=!0,o.culling=!0;var d=l.get("show"),p=u.get("show"),f=b&&isNaN(b.get(b.mapDimension("value"),n)),g=b&&b.getItemLayout(n);if(A||f&&(d||p)||g&&g.showLabel){var m,v=A?t.name:n;(!b||0<=n)&&(m=_);var y=new B.Text({position:h(t.center.slice()),scale:[1/S.scale[0],1/S.scale[1]],z2:10,silent:!0});B.setLabelStyle(y.style,y.hoverStyle={},l,u,{labelFetcher:m,labelDataIndex:v,defaultText:t.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),e.add(y)}if(b)b.setItemGraphicEl(n,e);else{var x=_.getRegionModel(t.name);o.eventData={componentType:"geo",componentIndex:_.componentIndex,geoIndex:_.componentIndex,name:t.name,region:x&&x.option||{}}}(e.__regions||(e.__regions=[])).push(t),e.highDownSilentOnTouch=!!_.get("selectedMode"),B.setHoverStyle(e,s),w.add(e)}),this._updateController(_,t,e),o=this,r=_,l=e,u=n,(s=w).off("click"),s.off("mousedown"),r.get("selectedMode")&&(s.on("mousedown",function(){o._mouseDownFlag=!0}),s.on("click",function(t){if(o._mouseDownFlag){o._mouseDownFlag=!1;for(var e=t.target;!e.__regions;)e=e.parent;if(e){var n={type:("geo"===r.mainType?"geo":"map")+"ToggleSelect",batch:L.map(e.__regions,function(t){return{name:t.name,from:u.uid}})};n[r.mainType+"Id"]=r.id,l.dispatchAction(n),c(r,s)}}})),c(_,w)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&a.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(t){var e=t.map;this._mapName!==e&&L.each(a.makeGraphic(e,this.uid),function(t){this._backgroundGroup.add(t)},this),this._mapName=e},_updateController:function(i,t,a){var o=i.coordinateSystem,e=this._controller,n=this._controllerHost;n.zoomLimit=i.get("scaleLimit"),n.zoom=o.getZoom(),e.enable(i.get("roam")||!1);var r=i.mainType;function s(){var t={type:"geoRoam",componentType:r};return t[r+"Id"]=i.id,t}e.off("pan").on("pan",function(t){this._mouseDownFlag=!1,l.updateViewOnPan(n,t.dx,t.dy),a.dispatchAction(L.extend(s(),{dx:t.dx,dy:t.dy}))},this),e.off("zoom").on("zoom",function(t){if(this._mouseDownFlag=!1,l.updateViewOnZoom(n,t.scale,t.originX,t.originY),a.dispatchAction(L.extend(s(),{zoom:t.scale,originX:t.originX,originY:t.originY})),this._updateGroup){var e=this.group.scale;this._regionsGroup.traverse(function(t){"text"===t.type&&t.attr("scale",[1/e[0],1/e[1]])})}},this),e.setPointerChecker(function(t,e,n){return o.getViewRectAfterRoam().contain(e,n)&&!u(t,a,i)})}};var s=r;t.exports=s},2158:function(t,e,n){var i=n(789),a="\0_ec_interaction_mutex";function o(t){return t[a]||(t[a]={})}i.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),e.take=function(t,e,n){o(t)[e]=n},e.release=function(t,e,n){var i=o(t);i[e]===n&&(i[e]=null)},e.isTaken=function(t,e){return!!o(t)[e]}},2159:function(t,e,n){var i=n(789),o=n(768),r=n(1814).updateCenterAndZoom;i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(i,t){var a=i.componentType||"series";t.eachComponent({mainType:a,query:i},function(t){var e=t.coordinateSystem;if("geo"===e.type){var n=r(e,i,t.get("scaleLimit"));t.setCenter&&t.setCenter(n.center),t.setZoom&&t.setZoom(n.zoom),"series"===a&&o.each(t.seriesGroup,function(t){t.setCenter(n.center),t.setZoom(n.zoom)})}})})},2160:function(t,e,n){var a=n(768),o=a.each,r="\0__link_datas",s="\0__link_mainData";function l(t,e){if((i=this)[s]===i){var n=a.extend({},this[r]);d(n[this.dataType]=e,n,t)}else p(e,this.dataType,this[s],t);var i;return e}function u(t,e){return t.struct&&t.struct.update(this),e}function c(n,i){return o(i[r],function(t,e){t!==i&&p(t.cloneShallow(),e,i,n)}),i}function h(t){var e=this[s];return null==t||null==e?e:e[r][t]}function d(n,t,i){n[r]={},o(t,function(t,e){p(t,e,n,i)})}function p(t,e,n,i){(n[r][e]=t)[s]=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=h}function i(n){var i=n.mainData,t=n.datas;t||(t={main:i},n.datasAttr={main:"data"}),n.datas=n.mainData=null,d(i,t,n),o(t,function(e){o(i.TRANSFERABLE_METHODS,function(t){e.wrapMethod(t,a.curry(l,n))})}),i.wrapMethod("cloneShallow",a.curry(c,n)),o(i.CHANGABLE_METHODS,function(t){i.wrapMethod(t,a.curry(u,n))}),a.assert(t[i.dataType]===i)}t.exports=i},2161:function(t,e,n){var i=n(1146);function m(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function v(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function y(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function a(t,e){return t.parentNode===e.parentNode?1:2}e.init=function(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var e,n,i=[t];e=i.pop();)if(n=e.children,e.isExpand&&n.length)for(var a=n.length-1;0<=a;a--){var o=n[a];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},i.push(o)}},e.firstWalk=function(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,a=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){!function(t){var e=t.children,n=e.length,i=0,a=0;for(;0<=--n;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,a+=o.hierNode.change,i+=o.hierNode.shift+a}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;a?(t.hierNode.prelim=a.hierNode.prelim+e(t,a),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else a&&(t.hierNode.prelim=a.hierNode.prelim+e(t,a));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var a=t,o=t,r=o.parentNode.children[0],s=e,l=a.hierNode.modifier,u=o.hierNode.modifier,c=r.hierNode.modifier,h=s.hierNode.modifier;s=m(s),o=v(o),s&&o;){a=m(a),r=v(r),a.hierNode.ancestor=t;var d=s.hierNode.prelim+h-o.hierNode.prelim-u+i(s,o);0<d&&(y((f=t,g=n,(p=s).hierNode.ancestor.parentNode===f.parentNode?p.hierNode.ancestor:g),t,d),u+=d,l+=d),h+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=a.hierNode.modifier,c+=r.hierNode.modifier}s&&!m(a)&&(a.hierNode.thread=s,a.hierNode.modifier+=h-l),o&&!v(r)&&(r.hierNode.thread=o,r.hierNode.modifier+=u-c,n=t)}var p,f,g;return n}(t,a,t.parentNode.hierNode.defaultAncestor||i[0],e)},e.secondWalk=function(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier},e.separation=function(t){return arguments.length?t:a},e.radialCoordinate=function(t,e){var n={};return t-=Math.PI/2,n.x=e*Math.cos(t),n.y=e*Math.sin(t),n},e.getViewRect=function(t,e){return i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}},2162:function(t,e,n){var x=n(768),_=n(1320),A=n(2654),b=n(2160),w=n(1552),S=n(1381),C=n(1428);t.exports=function(t,e,n,i,a){for(var o=new A(i),r=0;r<t.length;r++)o.addNode(x.retrieve(t[r].id,t[r].name,r),r);var s=[],l=[],u=0;for(r=0;r<e.length;r++){var c=e[r],h=c.source,d=c.target;o.addEdge(h,d,u)&&(l.push(c),s.push(x.retrieve(c.id,h+" > "+d)),u++)}var p,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)p=C(t,n);else{var g=S.get(f),m=g&&"view"!==g.type&&g.dimensions||[];x.indexOf(m,"value")<0&&m.concat(["value"]);var v=w(t,{coordDimensions:m});(p=new _(v,n)).initData(t)}var y=new _(["value"],n);return y.initData(l,s),a&&a(p,y),b({mainData:p,struct:o,structAttr:"graph",datas:{node:p,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}},2163:function(t,e,n){var i=n(789);i.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),i.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},2164:function(t,e,n){var o=n(1150);function i(t){t.eachEdge(function(t){var e=t.getModel().get("lineStyle.curveness")||0,n=o.clone(t.node1.getLayout()),i=o.clone(t.node2.getLayout()),a=[n,i];+e&&a.push([(n[0]+i[0])/2-(n[1]-i[1])*e,(n[1]+i[1])/2-(i[0]-n[0])*e]),t.setLayout(a)})}e.simpleLayout=function(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode(function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])}),i(n)}},e.simpleLayoutEdge=i},2165:function(t,e,n){var c=n(1150),i=n(1820),d=i.getSymbolSize,p=i.getNodeGlobalScale,f=Math.PI,g=[];var h={value:function(t,e,n,i,a,o,r,s){var l=0,u=i.getSum("value"),c=2*Math.PI/(u||s);n.eachNode(function(t){var e=t.getValue("value"),n=c*(u?e:1)/2;l+=n,t.setLayout([a*Math.cos(l)+o,a*Math.sin(l)+r]),l+=n})},symbolSize:function(t,e,n,i,a,o,r,s){var l=0;g.length=s;var u=p(t);n.eachNode(function(t){var e=d(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=u;var n=Math.asin(e/2/a);isNaN(n)&&(n=f/2),g[t.dataIndex]=n,l+=2*n});var c=(2*f-l)/s/2,h=0;n.eachNode(function(t){var e=c+g[t.dataIndex];h+=e,t.setLayout([a*Math.cos(h)+o,a*Math.sin(h)+r]),h+=e})}};e.circularLayout=function(t,e){var n=t.coordinateSystem;if(!n||"view"===n.type){var i=n.getBoundingRect(),a=t.getData(),o=a.graph,s=i.width/2+i.x,l=i.height/2+i.y,r=Math.min(i.width,i.height)/2,u=a.count();a.setLayout({cx:s,cy:l}),u&&(h[e](t,n,o,a,r,s,l,u),o.eachEdge(function(t){var e,n=t.getModel().get("lineStyle.curveness")||0,i=c.clone(t.node1.getLayout()),a=c.clone(t.node2.getLayout()),o=(i[0]+a[0])/2,r=(i[1]+a[1])/2;+n&&(e=[s*(n*=3)+o*(1-n),l*n+r*(1-n)]),t.setLayout([i,a,e])}))}}},2166:function(t,e,n){var i=n(789),a=n(768),o=n(1465),r=n(2676);n(2167),n(2679),n(2681);i.extendComponentView({type:"parallel",render:function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},a.each(s,function(t,e){n.getZr().on(e,this._handlers[e]=a.bind(t,this))},this)),o.createOrUpdate(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},dispose:function(t,n){a.each(this._handlers,function(t,e){n.getZr().off(e,t)}),this._handlers=null},_throttledDispatchExpand:function(t){this._dispatchExpand(t)},_dispatchExpand:function(t){t&&this._api.dispatchAction(a.extend({type:"parallelAxisExpand"},t))}});var s={mousedown:function(t){l(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(l(this,"click")&&e){var n=[t.offsetX,t.offsetY];if(5<Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2))return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&l(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i&&null})}}};function l(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}i.registerPreprocessor(r)},2167:function(t,e,n){var r=n(2677);n(1381).register("parallel",{create:function(i,a){var o=[];return i.eachComponent("parallel",function(t,e){var n=new r(t,i,a);n.name="parallel_"+e,n.resize(t,a),(t.coordinateSystem=n).model=t,o.push(n)}),i.eachSeries(function(t){if("parallel"===t.get("coordinateSystem")){var e=i.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=e.coordinateSystem}}),o}})},2168:function(t,e,n){var i=n(1152),r=n(1698).onIrrelevantElement,a=n(852);function s(t){return i.create(t)}e.makeRectPanelClipPath=function(n){return n=s(n),function(t,e){return a.clipPointsByRect(t,n)}},e.makeLinearBrushOtherExtent=function(a,o){return a=s(a),function(t){var e=null!=o?o:t,n=e?a.width:a.height,i=e?a.x:a.y;return[i,i+(n||0)]}},e.makeRectIsTargetByCursor=function(i,a,o){return i=s(i),function(t,e,n){return i.contain(e[0],e[1])&&!r(t,a,o)}}},2169:function(t,e,n){var y=n(1554),x=n(768),_=n(1597).getDimensionTypeByAxis,i={_baseAxisDim:null,getInitialData:function(t,e){var n,i,a=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),r=a.get("type"),s=o.get("type");"category"===r?(t.layout="horizontal",n=a.getOrdinalMeta(),i=!0):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!0):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,c=this._baseAxisDim=l[u],h=l[1-u],d=[a,o],p=d[u].get("type"),f=d[1-u].get("type"),g=t.data;if(g&&i){var m=[];x.each(g,function(t,e){var n;t.value&&x.isArray(t.value)?(n=t.value.slice(),t.value.unshift(e)):x.isArray(t)?(n=t.slice(),t.unshift(e)):n=t,m.push(n)}),t.data=m}var v=this.defaultValueDimensions;return y(this,{coordDimensions:[{name:c,type:_(p),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:_(f),dimsDef:v.slice()}],dimensionsCount:v.length+1})},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}};e.seriesModelMixin=i},2170:function(t,e,n){var i=n(852),a=n(1819),p=n(768),s=n(1321).createSymbol,o=n(1150),c=n(1464);function r(t,e,n){i.Group.call(this),this.add(this.createLine(t,e,n)),this._updateEffectSymbol(t,e)}var l=r.prototype;l.createLine=function(t,e,n){return new a(t,e,n)},l._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),i=n.get("symbolSize"),a=n.get("symbol");p.isArray(i)||(i=[i,i]);var o=n.get("color")||t.getItemVisual(e,"color"),r=this.childAt(1);this._symbolType!==a&&(this.remove(r),(r=s(a,-.5,-.5,1,1,o)).z2=100,r.culling=!0,this.add(r)),r&&(r.setStyle("shadowColor",o),r.setStyle(n.getItemStyle(["color"])),r.attr("scale",i),r.setColor(o),r.attr("scale",i),this._symbolType=a,this._updateEffectAnimation(t,n,e))},l._updateEffectAnimation=function(e,t,n){var i=this.childAt(1);if(i){var a=this,o=e.getItemLayout(n),r=1e3*t.get("period"),s=t.get("loop"),l=t.get("constantSpeed"),u=p.retrieve(t.get("delay"),function(t){return t/e.count()*r/3}),c="function"==typeof u;if(i.ignore=!0,this.updateAnimationPoints(i,o),0<l&&(r=this.getLineLength(i)/l*1e3),r!==this._period||s!==this._loop){i.stopAnimation();var h=u;c&&(h=u(n)),0<i.__t&&(h=-r*i.__t),i.__t=0;var d=i.animate("",s).when(r,{__t:1}).delay(h).during(function(){a.updateSymbolPosition(i)});s||d.done(function(){a.remove(i)}),d.start()}this._period=r,this._loop=s}},l.getLineLength=function(t){return o.dist(t.__p1,t.__cp1)+o.dist(t.__cp1,t.__p2)},l.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},l.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},l.updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,a=t.__t,o=t.position,r=c.quadraticAt,s=c.quadraticDerivativeAt;o[0]=r(e[0],i[0],n[0],a),o[1]=r(e[1],i[1],n[1],a);var l=s(e[0],i[0],n[0],a),u=s(e[1],i[1],n[1],a);t.rotation=-Math.atan2(u,l)-Math.PI/2,t.ignore=!1},l.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},p.inherits(r,i.Group);var u=r;t.exports=u},2171:function(t,e,n){var l=n(852),u=n(768);function i(t,e,n){l.Group.call(this),this._createPolyline(t,e,n)}var a=i.prototype;a._createPolyline=function(t,e,n){var i=t.getItemLayout(e),a=new l.Polyline({shape:{points:i}});this.add(a),this._updateCommonStl(t,e,n)},a.updateData=function(t,e,n){var i=t.hostModel,a=this.childAt(0),o={shape:{points:t.getItemLayout(e)}};l.updateProps(a,o,i,e),this._updateCommonStl(t,e,n)},a._updateCommonStl=function(t,e,n){var i=this.childAt(0),a=t.getItemModel(e),o=t.getItemVisual(e,"color"),r=n&&n.lineStyle,s=n&&n.hoverLineStyle;n&&!t.hasItemOption||(r=a.getModel("lineStyle").getLineStyle(),s=a.getModel("emphasis.lineStyle").getLineStyle()),i.useStyle(u.defaults({strokeNoScale:!0,fill:"none",stroke:o},r)),i.hoverStyle=s,l.setHoverStyle(this)},a.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},u.inherits(i,l.Group);var o=i;t.exports=o},2172:function(t,e,n){var i={seriesType:"lines",plan:n(1551)(),reset:function(g){var m=g.coordinateSystem,v=g.get("polyline"),y=g.pipelineContext.large;return{progress:function(t,e){var n=[];if(y){var i,a=t.end-t.start;if(v){for(var o=0,r=t.start;r<t.end;r++)o+=g.getLineCoordsCount(r);i=new Float32Array(a+2*o)}else i=new Float32Array(4*a);var s=0,l=[];for(r=t.start;r<t.end;r++){var u=g.getLineCoords(r,n);v&&(i[s++]=u);for(var c=0;c<u;c++)l=m.dataToPoint(n[c],!1,l),i[s++]=l[0],i[s++]=l[1]}e.setLayout("linesPoints",i)}else for(r=t.start;r<t.end;r++){var h=e.getItemModel(r),d=(u=g.getLineCoords(r,n),[]);if(v)for(var p=0;p<u;p++)d.push(m.dataToPoint(n[p]));else{d[0]=m.dataToPoint(n[0]),d[1]=m.dataToPoint(n[1]);var f=h.get("lineStyle.curveness");+f&&(d[2]=[(d[0][0]+d[1][0])/2-(d[0][1]-d[1][1])*f,(d[0][1]+d[1][1])/2-(d[1][0]-d[0][0])*f])}e.setItemLayout(r,d)}}}}};t.exports=i},2173:function(t,e,n){var i=n(789);n(2722),n(2725),n(2726),n(1604),n(2730),i.extendComponentView({type:"single"})},2174:function(t,e,n){var h=n(768);e.layout=function(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,a={},o=i.position,r=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};a.position=["vertical"===r?u.vertical[o]:l[0],"horizontal"===r?u.horizontal[o]:l[3]],a.rotation=Math.PI/2*{horizontal:0,vertical:1}[r],a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),h.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var c=e.rotate;return null==c&&(c=t.get("axisLabel.rotate")),a.labelRotation="top"===o?-c:c,a.z2=1,a}},2175:function(t,e,n){var c=n(768),h=n(987);t.exports=function(t,e){var n,i=[],a=t.seriesIndex;if(null==a||!(n=e.getSeriesByIndex(a)))return{point:[]};var o=n.getData(),r=h.queryDataIndex(o,t);if(null==r||r<0||c.isArray(r))return{point:[]};var s=o.getItemGraphicEl(r),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(r)||[];else if(l&&l.dataToPoint)i=l.dataToPoint(o.getValues(c.map(l.dimensions,function(t){return o.mapDimension(t)}),r,!0))||[];else if(s){var u=s.getBoundingRect().clone();u.applyTransform(s.transform),i=[u.x+u.width/2,u.y+u.height/2]}return{point:i,el:s}}},2176:function(t,e,n){var a=n(768),o=n(1240),u=(0,n(987).makeInner)(),c=a.each;function r(t,e,n){t.handler("leave",null,n)}function h(t,e,n,i){e.handler(t,n,i)}e.register=function(t,e,n){if(!o.node){var i=e.getZr();u(i).records||(u(i).records={}),function(s,l){if(u(s).initialized)return;function t(t,r){s.on(t,function(e){var n,i,a,o=(n=l,{dispatchAction:a=function(t){var e=i[t.type];e?e.push(t):(t.dispatchAction=a,n.dispatchAction(t))},pendings:i={showTip:[],hideTip:[]}});c(u(s).records,function(t){t&&r(t,e,o.dispatchAction)}),function(t,e){var n,i=t.showTip.length,a=t.hideTip.length;i?n=t.showTip[i-1]:a&&(n=t.hideTip[a-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(o.pendings,l)})}u(s).initialized=!0,t("click",a.curry(h,"click")),t("mousemove",a.curry(h,"mousemove")),t("globalout",r)}(i,e),(u(i).records[t]||(u(i).records[t]={})).handler=n}},e.unregister=function(t,e){if(!o.node){var n=e.getZr();(u(n).records||{})[t]&&(u(n).records[t]=null)}}},2177:function(t,e,n){var i=n(1822),p=n(1699),f=n(2153),a=n(1506),o=i.extend({makeElOption:function(t,e,n,i,a){var o=n.axis,r=o.grid,s=i.get("type"),l=g(r,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var c=p.buildElStyle(i),h=m[s](o,u,l);h.style=c,t.graphicKey=h.type,t.pointer=h}var d=f.layout(r.model,n);p.buildCartesianSingleLabelElOption(e,t,d,n,i,a)},getHandleTransform:function(t,e,n){var i=f.layout(e.axis.grid.model,e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:p.getTransformedPosition(e.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var a=n.axis,o=a.grid,r=a.getGlobalExtent(!0),s=g(o,a).getOtherAxis(a).getGlobalExtent(),l="x"===a.dim?0:1,u=t.position;u[l]+=e[l],u[l]=Math.min(r[1],u[l]),u[l]=Math.max(r[0],u[l]);var c=(s[1]+s[0])/2,h=[c,c];h[l]=u[l];return{position:u,rotation:t.rotation,cursorPoint:h,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}}});function g(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var m={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:p.makeLineShape([e,n[0]],[e,n[1]],r(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),a=n[1]-n[0];return{type:"Rect",shape:p.makeRectShape([e-i/2,n[0]],[i,a],r(t))}}};function r(t){return"x"===t.dim?0:1}a.registerAxisPointerClass("CartesianAxisPointer",o);var s=o;t.exports=s},2178:function(t,e,n){var i=n(1146),s=i.getLayoutRect,l=i.box,u=i.positionElement,a=n(1153),o=n(852);e.layout=function(t,e,n){var i=e.getBoxLayoutParams(),a=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},r=s(i,o,a);l(e.get("orient"),t,e.get("itemGap"),r.width,r.height),u(t,i,o,a)},e.makeBackground=function(t,e){var n=a.normalizeCssArray(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new o.Rect({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}},2179:function(t,e,n){n(1127).__DEV__;var l=n(768),i=n(852),a=n(987),o=n(2168),c=l.each,u=l.indexOf,r=l.curry,s=["dataToPoint","pointToData"],h=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function d(t,e,n){var i=this._targetInfoList=[],a={},o=g(e,t);c(m,function(t,e){n&&n.include&&!(0<=u(n.include,e))||t(o,i,a)})}var p=d.prototype;function f(t){return t[0]>t[1]&&t.reverse(),t}function g(t,e){return a.parseFinder(t,e,{includeMainTypes:h})}p.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=x[t.brushType](0,n,e);t.__rangeOffset={offset:A[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})},p.matchOutputRanges=function(t,i,a){c(t,function(n){var t=this.findTargetInfo(n,i);t&&!0!==t&&l.each(t.coordSyses,function(t){var e=x[n.brushType](1,t,n.range);a(n,e.values,t,i)})},this)},p.setInputRanges=function(t,u){c(t,function(t){var e,n,i,a,o,r=this.findTargetInfo(t,u);if(t.range=t.range||[],r&&!0!==r){t.panelId=r.panelId;var s=x[t.brushType](0,r.coordSys,t.coordRange),l=t.__rangeOffset;t.range=l?A[t.brushType](s.values,l.offset,(e=s.xyMinMax,n=l.xyMinMax,i=w(e),a=w(n),o=[i[0]/a[0],i[1]/a[1]],isNaN(o[0])&&(o[0]=1),isNaN(o[1])&&(o[1]=1),o)):s.values}},this)},p.makePanelOpts=function(n,i){return l.map(this._targetInfoList,function(t){var e=t.getPanelRect();return{panelId:t.panelId,defaultBrushType:i&&i(t),clipPath:o.makeRectPanelClipPath(e),isTargetByCursor:o.makeRectIsTargetByCursor(e,n,t.coordSysModel),getLinearBrushOtherExtent:o.makeLinearBrushOtherExtent(e)}})},p.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&0<=u(i.coordSyses,e.coordinateSystem)},p.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=g(e,t),a=0;a<n.length;a++){var o=n[a],r=t.panelId;if(r){if(o.panelId===r)return o}else for(a=0;a<v.length;a++)if(v[a](i,o))return o}return!0};var m={grid:function(t,i){var a=t.xAxisModels,o=t.yAxisModels,e=t.gridModels,n=l.createHashMap(),r={},s={};(a||o||e)&&(c(a,function(t){var e=t.axis.grid.model;n.set(e.id,e),r[e.id]=!0}),c(o,function(t){var e=t.axis.grid.model;n.set(e.id,e),s[e.id]=!0}),c(e,function(t){n.set(t.id,t),r[t.id]=!0,s[t.id]=!0}),n.each(function(t){var e=t.coordinateSystem,n=[];c(e.getCartesians(),function(t,e){(0<=u(a,t.getAxis("x").model)||0<=u(o,t.getAxis("y").model))&&n.push(t)}),i.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:n[0],coordSyses:n,getPanelRect:y.grid,xAxisDeclared:r[t.id],yAxisDeclared:s[t.id]})}))},geo:function(t,n){c(t.geoModels,function(t){var e=t.coordinateSystem;n.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:e,coordSyses:[e],getPanelRect:y.geo})})}},v=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,a=t.gridModel;return!a&&n&&(a=n.axis.grid.model),!a&&i&&(a=i.axis.grid.model),a&&a===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],y={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(i.getTransform(t)),e}},x={lineX:r(_,0),lineY:r(_,1),rect:function(t,e,n){var i=e[s[t]]([n[0][0],n[1][0]]),a=e[s[t]]([n[0][1],n[1][1]]),o=[f([i[0],a[0]]),f([i[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(n,i,t){var a=[[1/0,-1/0],[1/0,-1/0]];return{values:l.map(t,function(t){var e=i[s[n]](t);return a[0][0]=Math.min(a[0][0],e[0]),a[1][0]=Math.min(a[1][0],e[1]),a[0][1]=Math.max(a[0][1],e[0]),a[1][1]=Math.max(a[1][1],e[1]),e}),xyMinMax:a}}};function _(t,e,n,i){var a=n.getAxis(["x","y"][t]),o=f(l.map([0,1],function(t){return e?a.coordToData(a.toLocalCoord(i[t])):a.toGlobalCoord(a.dataToCoord(i[t]))})),r=[];return r[t]=o,r[1-t]=[NaN,NaN],{values:o,xyMinMax:r}}var A={lineX:r(b,0),lineY:r(b,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,n,i){return l.map(t,function(t,e){return[t[0]-i[0]*n[e][0],t[1]-i[1]*n[e][1]]})}};function b(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function w(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var S=d;t.exports=S},2180:function(t,e,n){var s=n(768).each,i="\0_ec_hist_store";function l(t){var e=t[i];return e=e||(t[i]=[{}])}e.push=function(o,t){var r=l(o);s(t,function(t,e){for(var n=r.length-1;0<=n;n--){if(r[n][e])break}if(n<0){var i=o.queryComponents({mainType:"dataZoom",subType:"select",id:e})[0];if(i){var a=i.getPercentRange();r[0][e]={dataZoomId:e,start:a[0],end:a[1]}}}}),r.push(t)},e.pop=function(t){var i=l(t),e=i[i.length-1];1<i.length&&i.pop();var a={};return s(e,function(t,e){for(var n=i.length-1;0<=n;n--){if(t=i[n][e]){a[e]=t;break}}}),a},e.clear=function(t){t[i]=null},e.count=function(t){return l(t).length}},2181:function(t,e,n){var i=n(789);n(2182),n(2813),n(2183);var a=n(2814),o=n(1245);i.registerProcessor(i.PRIORITY.PROCESSOR.SERIES_FILTER,a),o.registerSubTypeDefaulter("legend",function(){return"plain"})},2182:function(t,e,n){var i=n(789),a=n(768),l=n(1241),u=n(987).isNameSpecified,o=n(1466).legend.selector,r={all:{type:"all",title:a.clone(o.all)},inverse:{type:"inverse",title:a.clone(o.inverse)}},s=i.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},mergeOption:function(t){s.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var n=t.selector;!0===n&&(n=t.selector=["all","inverse"]),a.isArray(n)&&a.each(n,function(t,e){a.isString(t)&&(t={type:t}),n[e]=a.merge(t,r[t.type])})},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}e||this.select(t[0].get("name"))}},_updateData:function(o){var r=[],s=[];o.eachRawSeries(function(t){var e,n=t.name;if(s.push(n),t.legendDataProvider){var i=t.legendDataProvider(),a=i.mapArray(i.getName);o.isSeriesFiltered(t)||(s=s.concat(a)),a.length?r=r.concat(a):e=!0}else e=!0;e&&u(t)&&r.push(t.name)}),this._availableNames=s;var t=this.get("data")||r,e=a.map(t,function(t){return"string"!=typeof t&&"number"!=typeof t||(t={name:t}),new l(t,this,this.ecModel)},this);this._data=e},getData:function(){return this._data},select:function(t){var e=this.option.selected;if("single"===this.get("selectedMode")){var n=this._data;a.each(n,function(t){e[t.get("name")]=!1})}e[t]=!0},unSelect:function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},toggleSelected:function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},allSelect:function(){var t=this._data,e=this.option.selected;a.each(t,function(t){e[t.get("name",!0)]=!0})},inverseSelect:function(){var t=this._data,n=this.option.selected;a.each(t,function(t){var e=t.get("name",!0);n.hasOwnProperty(e)||(n[e]=!0),n[e]=!n[e]})},isSelected:function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&0<=a.indexOf(this._availableNames,t)},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}}}),c=s;t.exports=c},2183:function(t,e,n){n(1127).__DEV__;var i=n(789),k=n(768),P=n(1321).createSymbol,L=n(852),f=n(2178).makeBackground,y=n(1146),v=k.curry,a=k.each,B=L.Group,o=i.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new B),this._backgroundEl,this.group.add(this._selectorGroup=new B),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var a=t.get("align"),o=t.get("orient");a&&"auto"!==a||(a="right"===t.get("left")&&"vertical"===o?"right":"left");var r=t.get("selector",!0),s=t.get("selectorPosition",!0);!r||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(a,t,e,n,r,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},c=t.get("padding"),h=y.getLayoutRect(l,u,c),d=this.layoutInner(t,a,h,i,r,s),p=y.getLayoutRect(k.defaults({width:d.width,height:d.height},l),u,c);this.group.attr("position",[p.x-d.x,p.y-d.y]),this.group.add(this._backgroundEl=f(d,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(u,c,h,d,t,e,n){var p=this.getContentGroup(),f=k.createHashMap(),g=c.get("selectedMode"),m=[];h.eachRawSeries(function(t){t.get("legendHoverLink")||m.push(t.id)}),a(c.getData(),function(o,r){var s=o.get("name");if(this.newlineDisabled||""!==s&&"\n"!==s){var t=h.getSeriesByName(s)[0];if(!f.get(s))if(t){var e=t.getData(),n=e.getVisual("color"),i=e.getVisual("borderColor");"function"==typeof n&&(n=n(t.getDataParams(0))),"function"==typeof i&&(i=i(t.getDataParams(0)));var a=e.getVisual("legendSymbol")||"roundRect",l=e.getVisual("symbol");this._createItem(s,r,o,c,a,l,u,n,i,g).on("click",v(x,s,d)).on("mouseover",v(_,t.name,null,d,m)).on("mouseout",v(A,t.name,null,d,m)),f.set(s,!0)}else h.eachRawSeries(function(t){if(!f.get(s)&&t.legendDataProvider){var e=t.legendDataProvider(),n=e.indexOfName(s);if(n<0)return;var i=e.getItemVisual(n,"color"),a=e.getItemVisual(n,"borderColor");this._createItem(s,r,o,c,"roundRect",null,u,i,a,g).on("click",v(x,s,d)).on("mouseover",v(_,null,s,d,m)).on("mouseout",v(A,null,s,d,m)),f.set(s,!0)}},this)}else p.add(new B({newline:!0}))},this),t&&this._createSelector(t,c,d,e,n)},_createSelector:function(t,o,r,e,n){var s=this.getSelectorGroup();a(t,function(t){!function(t){var e=t.type,n=new L.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){r.dispatchAction({type:"all"===e?"legendAllSelect":"legendInverseSelect"})}});s.add(n);var i=o.getModel("selectorLabel"),a=o.getModel("emphasis.selectorLabel");L.setLabelStyle(n.style,n.hoverStyle={},i,a,{defaultText:t.title,isRectText:!1}),L.setHoverStyle(n)}(t)})},_createItem:function(t,e,n,i,a,o,r,s,l,u){var c=i.get("itemWidth"),h=i.get("itemHeight"),d=i.get("inactiveColor"),p=i.get("inactiveBorderColor"),f=i.get("symbolKeepAspect"),g=i.getModel("itemStyle"),m=i.isSelected(t),v=new B,y=n.getModel("textStyle"),x=n.get("icon"),_=n.getModel("tooltip"),A=_.parentModel,b=P(a=x||a,0,0,c,h,m?s:d,null==f||f);if(v.add(E(b,a,g,l,p,m)),!x&&o&&(o!==a||"none"===o)){var w=.8*h;"none"===o&&(o="circle");var S=P(o,(c-w)/2,(h-w)/2,w,w,m?s:d,null==f||f);v.add(E(S,o,g,l,p,m))}var C="left"===r?c+5:-5,M=r,I=i.get("formatter"),T=t;"string"==typeof I&&I?T=I.replace("{name}",null!=t?t:""):"function"==typeof I&&(T=I(t)),v.add(new L.Text({style:L.setTextStyle({},y,{text:T,x:C,y:h/2,textFill:m?y.getTextColor():d,textAlign:M,textVerticalAlign:"middle"})}));var D=new L.Rect({shape:v.getBoundingRect(),invisible:!0,tooltip:_.get("show")?k.extend({content:t,formatter:A.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:i.componentIndex,name:t,$vars:["name"]}},_.option):null});return v.add(D),v.eachChild(function(t){t.silent=!0}),D.silent=!u,this.getContentGroup().add(v),L.setHoverStyle(v),v.__legendDataIndex=e,v},layoutInner:function(t,e,n,i,a,o){var r=this.getContentGroup(),s=this.getSelectorGroup();y.box(t.get("orient"),r,t.get("itemGap"),n.width,n.height);var l=r.getBoundingRect(),u=[-l.x,-l.y];if(a){y.box("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),h=[-c.x,-c.y],d=t.get("selectorButtonGap",!0),p=t.getOrient().index,f=0===p?"width":"height",g=0===p?"height":"width",m=0===p?"y":"x";"end"===o?h[p]+=l[f]+d:u[p]+=c[f]+d,h[1-p]+=l[g]/2-c[g]/2,s.attr("position",h),r.attr("position",u);var v={x:0,y:0};return v[f]=l[f]+d+c[f],v[g]=Math.max(l[g],c[g]),v[m]=Math.min(0,c[m]+h[1-p]),v}return r.attr("position",u),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function E(t,e,n,i,a,o){var r;return"line"!==e&&e.indexOf("empty")<0?(r=n.getItemStyle(),t.style.stroke=i,o||(r.stroke=a)):r=n.getItemStyle(["borderWidth","borderColor"]),t.setStyle(r)}function x(t,e){e.dispatchAction({type:"legendToggleSelect",name:t})}function _(t,e,n,i){var a=n.getZr().storage.getDisplayList()[0];a&&a.useHoverLayer||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function A(t,e,n,i){var a=n.getZr().storage.getDisplayList()[0];a&&a.useHoverLayer||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}t.exports=o},2184:function(t,e,n){n(1824),n(1556),n(1557),n(2819),n(2820),n(1826),n(1827)},2185:function(t,e,n){n(1824),n(1556),n(1557),n(2821),n(2822),n(1826),n(1827)},2186:function(t,e,n){var i=n(789),a=n(2187);n(2188),n(2189),n(2825),n(2826),n(2194),i.registerPreprocessor(a)},2187:function(t,e,n){var i=n(768),a=i.each;function o(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}t.exports=function(t){var e=t&&t.visualMap;i.isArray(e)||(e=e?[e]:[]),a(e,function(t){if(t){o(t,"splitList")&&!o(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&i.isArray(e)&&a(e,function(t){i.isObject(t)&&(o(t,"start")&&!o(t,"min")&&(t.min=t.start),o(t,"end")&&!o(t,"max")&&(t.max=t.end))})}})}},2188:function(t,e,n){n(1245).registerSubTypeDefaulter("visualMap",function(t){return t.categories||(t.pieces?0<t.pieces.length:0<t.splitNumber)&&!t.calculable?"piecewise":"continuous"})},2189:function(t,e,n){var i=n(789),s=n(768),a=n(1700),p=n(1508),o=i.PRIORITY.VISUAL.COMPONENT;function l(t,e,n,i){for(var a=e.targetVisuals[i],o=p.prepareVisualTypes(a),r={color:t.getData().getVisual("color")},s=0,l=o.length;s<l;s++){var u=o[s],c=a["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(n,h,d)}return r.color;function h(t){return r[t]}function d(t,e){r[t]=e}}i.registerVisual(o,{createOnAllSeries:!0,reset:function(n,t){var i=[];return t.eachComponent("visualMap",function(t){var e=n.pipelineContext;!t.isTargetSeries(n)||e&&e.large||i.push(a.incrementalApplyVisual(t.stateList,t.targetVisuals,s.bind(t.getValueState,t),t.getDataDimension(n.getData())))}),i}}),i.registerVisual(o,{createOnAllSeries:!0,reset:function(a,t){var o=a.getData(),r=[];t.eachComponent("visualMap",function(t){if(t.isTargetSeries(a)){var e=t.getVisualMeta(s.bind(l,null,a,t))||{stops:[],outerColors:[]},n=t.getDataDimension(o),i=o.getDimensionInfo(n);null!=i&&(e.dimension=i.index,r.push(e))}}),a.getData().setVisual("visualMeta",r)}})},2190:function(t,e,n){var i=n(789),c=n(768),a=n(1240),r=n(2191),s=n(1508),o=n(1700),l=n(987),u=n(965),h=s.mapVisual,d=s.eachVisual,p=c.isArray,f=c.each,g=u.asc,m=u.linearMap,v=c.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(t,e,n){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(t,n)},optionUpdated:function(t,e){var n=this.option;a.canvasSupported||(n.realtime=!1),e||o.replaceVisualOption(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(t){var e=this.stateList;t=c.bind(t,this),this.controllerVisuals=o.createVisualMappings(this.option.controller,e,t),this.targetVisuals=o.createVisualMappings(this.option.target,e,t)},getTargetSeriesIndices:function(){var t=this.option.seriesIndex,n=[];return null==t||"all"===t?this.ecModel.eachSeries(function(t,e){n.push(e)}):n=l.normalizeToArray(t),n},eachTargetSeries:function(e,n){c.each(this.getTargetSeriesIndices(),function(t){e.call(n,this.ecModel.getSeriesByIndex(t))},this)},isTargetSeries:function(e){var n=!1;return this.eachTargetSeries(function(t){t===e&&(n=!0)}),n},formatValueText:function(t,e,n){var i,a,o=this.option,r=o.precision,s=this.dataBound,l=o.formatter;return n=n||["<",">"],c.isArray(t)&&(t=t.slice(),i=!0),a=e?t:i?[u(t[0]),u(t[1])]:u(t),c.isString(l)?l.replace("{value}",i?a[0]:a).replace("{value2}",i?a[1]:a):c.isFunction(l)?i?l(t[0],t[1]):l(t):i?t[0]===s[0]?n[0]+" "+a[1]:t[1]===s[1]?n[1]+" "+a[0]:a[0]+" - "+a[1]:a;function u(t){return t===s[0]?"min":t===s[1]?"max":(+t).toFixed(Math.min(r,20))}},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension,n=t.dimensions;if(null!=e||n.length){if(null!=e)return t.getDimension(e);for(var i=t.dimensions,a=i.length-1;0<=a;a--){var o=i[a];if(!t.getDimensionInfo(o).isCalculationCoord)return o}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),a=e.controller||(e.controller={});c.merge(i,n),c.merge(a,n);var u=this.isCategory();function o(i){p(e.color)&&!i.inRange&&(i.inRange={color:e.color.slice().reverse()}),i.inRange=i.inRange||{color:t.get("gradientColor")},f(this.stateList,function(t){var e=i[t];if(c.isString(e)){var n=r.get(e,"active",u);n?(i[t]={},i[t][e]=n):delete i[t]}},this)}o.call(this,i),o.call(this,a),function(t,e,n){var i=t[e],a=t[n];i&&!a&&(a=t[n]={},f(i,function(t,e){if(s.isValidType(e)){var n=r.get(e,"inactive",u);null!=n&&(a[e]=n,"color"!==e||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}}))}.call(this,i,"inRange","outOfRange"),function(o){var r=(o.inRange||{}).symbol||(o.outOfRange||{}).symbol,s=(o.inRange||{}).symbolSize||(o.outOfRange||{}).symbolSize,l=this.get("inactiveColor");f(this.stateList,function(t){var e=this.itemSize,n=o[t];null==(n=n||(o[t]={color:u?l:[l]})).symbol&&(n.symbol=r&&c.clone(r)||(u?"roundRect":["roundRect"])),null==n.symbolSize&&(n.symbolSize=s&&c.clone(s)||(u?e[0]:[e[0],e[0]])),n.symbol=h(n.symbol,function(t){return"none"===t||"square"===t?"roundRect":t});var i=n.symbolSize;if(null!=i){var a=-1/0;d(i,function(t){a<t&&(a=t)}),n.symbolSize=h(i,function(t){return m(t,[0,a],[0,e[0]],!0)})}},this)}.call(this,a)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});t.exports=y},2191:function(t,e,n){var a=n(768),i={get:function(t,e,n){var i=a.clone((o[t]||{})[e]);return n&&a.isArray(i)?i[i.length-1]:i}},o={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},r=i;t.exports=r},2192:function(t,e,n){var i=n(789),h=n(768),a=n(852),o=n(1153),r=n(1146),d=n(1508),s=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e,this.visualMapModel},render:function(t,e,n,i){!1!==(this.visualMapModel=t).get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,n=o.normalizeCssArray(e.get("padding")||0),i=t.getBoundingRect();t.add(new a.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(n,i,a){var t=(a=a||{}).forceState,e=this.visualMapModel,o={};if("symbol"===i&&(o.symbol=e.get("itemSymbol")),"color"===i){var r=e.get("contentColor");o.color=r}function s(t){return o[t]}function l(t,e){o[t]=e}var u=e.controllerVisuals[t||e.getValueState(n)],c=d.prepareVisualTypes(u);return h.each(c,function(t){var e=u[t];a.convertOpacityToAlpha&&"opacity"===t&&(t="colorAlpha",e=u.__alphaForOpacity),d.dependsOn(t,i)&&e&&e.applyVisual(n,s,l)}),o[i]},positionGroup:function(t){var e=this.visualMapModel,n=this.api;r.positionElement(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:h.noop});t.exports=s},2193:function(t,e,n){var i=n(768),f=n(1146).getLayoutRect;e.getItemAlign=function(t,e,n){var i=t.option,a=i.align;if(null!=a&&"auto"!==a)return a;for(var o={width:e.getWidth(),height:e.getHeight()},r="horizontal"===i.orient?1:0,s=[["left","right","width"],["top","bottom","height"]],l=s[r],u=[0,null,10],c={},h=0;h<3;h++)c[s[1-r][h]]=u[h],c[l[h]]=2===h?n[0]:i[l[h]];var d=[["x","width",3],["y","height",0]][r],p=f(c,o,i.padding);return l[(p.margin[d[2]]||0)+p[d[0]]+.5*p[d[1]]<.5*o[d[1]]?0:1]},e.makeHighDownBatch=function(t,e){return i.each(t||[],function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")}),t}},2194:function(t,e,n){n(789).registerAction({type:"selectDataRange",event:"dataRangeSelected",update:"update"},function(e,t){t.eachComponent({mainType:"visualMap",query:e},function(t){t.setSelected(e.selected)})})},2195:function(t,e,n){var i=n(789),a=n(2187);n(2188),n(2189),n(2827),n(2828),n(2194),i.registerPreprocessor(a)},2196:function(t,e,n){var i,a=n(1240),o="urn:schemas-microsoft-com:vml",r="undefined"==typeof window?null:window,s=!1,l=r&&r.document;if(l&&!a.canvasSupported)try{l.namespaces.zrvml||l.namespaces.add("zrvml",o),i=function(t){return l.createElement("<zrvml:"+t+' class="zrvml">')}}catch(t){i=function(t){return l.createElement("<"+t+' xmlns="'+o+'" class="zrvml">')}}e.doc=l,e.createNode=function(t){return i(t)},e.initVML=function(){if(!s&&l){s=!0;var t=l.styleSheets;t.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}},2544:function(t,e,n){var i=n(768),a=n(1150),o=n(2545),r=n(1501),s=n(1410),l=n(2547),u="silent";function c(t){s.stop(this.event)}function h(){}h.prototype.dispose=function(){};function d(t,e,n,i){r.call(this),this.storage=t,this.painter=e,this.painterRoot=i,n=n||new h,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,o.call(this),this.setHandlerProxy(n)}var p=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"];function f(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i,a=t;a;){if(a.clipPath&&!a.clipPath.contain(e,n))return!1;a.silent&&(i=!0),a=a.parent}return!i||u}return!1}d.prototype={constructor:d,setHandlerProxy:function(e){this.proxy&&this.proxy.dispose(),e&&(i.each(p,function(t){e.on&&e.on(t,this[t],this)},this),e.handler=this),this.proxy=e},mousemove:function(t){var e=t.zrX,n=t.zrY,i=this._hovered,a=i.target;a&&!a.__zr&&(a=(i=this.findHover(i.x,i.y)).target);var o=this._hovered=this.findHover(e,n),r=o.target,s=this.proxy;s.setCursor&&s.setCursor(r?r.cursor:"default"),a&&r!==a&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(o,"mousemove",t),r&&r!==a&&this.dispatchToElement(o,"mouseover",t)},mouseout:function(t){this.dispatchToElement(this._hovered,"mouseout",t);for(var e,n=t.toElement||t.relatedTarget;(n=n&&n.parentNode)&&9!==n.nodeType&&!(e=n===this.painterRoot););e||this.trigger("globalout",{event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var n=this[t];n&&n.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var a,o,r="on"+e,s={type:e,event:o=n,target:(a=t).target,topTarget:a.topTarget,cancelBubble:!1,offsetX:o.zrX,offsetY:o.zrY,gestureEvent:o.gestureEvent,pinchX:o.pinchX,pinchY:o.pinchY,pinchScale:o.pinchScale,wheelDelta:o.zrDelta,zrByTouch:o.zrByTouch,which:o.which,stop:c};i&&(i[r]&&(s.cancelBubble=i[r].call(i,s)),i.trigger(e,s),i=i.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(e,s),this.painter&&this.painter.eachOtherLayer(function(t){"function"==typeof t[r]&&t[r].call(t,s),t.trigger&&t.trigger(e,s)}))}},findHover:function(t,e,n){for(var i=this.storage.getDisplayList(),a={x:t,y:e},o=i.length-1;0<=o;o--){var r;if(i[o]!==n&&!i[o].ignore&&(r=f(i[o],t,e))&&(a.topTarget||(a.topTarget=i[o]),r!==u)){a.target=i[o];break}}return a},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var a=i.type;t.gestureEvent=a,this.dispatchToElement({target:i.target},a,i.event)}}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(i){d.prototype[i]=function(t){var e=this.findHover(t.zrX,t.zrY),n=e.target;if("mousedown"===i)this._downEl=n,this._downPoint=[t.zrX,t.zrY],this._upEl=n;else if("mouseup"===i)this._upEl=n;else if("click"===i){if(this._downEl!==this._upEl||!this._downPoint||4<a.dist(this._downPoint,[t.zrX,t.zrY]))return;this._downPoint=null}this.dispatchToElement(e,i,t)}}),i.mixin(d,r),i.mixin(d,o);var g=d;t.exports=g},2545:function(t,e){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 l(t,e){return{target:t,topTarget:e&&e.topTarget}}n.prototype={constructor:n,_dragStart:function(t){var e=t.target;e&&e.draggable&&((this._draggingTarget=e).dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(l(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,a=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(a,o,t),this.dispatchToElement(l(e,t),"drag",t.event);var r=this.findHover(n,i,e).target,s=this._dropTarget;e!==(this._dropTarget=r)&&(s&&r!==s&&this.dispatchToElement(l(s,t),"dragleave",t.event),r&&r!==s&&this.dispatchToElement(l(r,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(l(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(l(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var i=n;t.exports=i},2546:function(t,e){var g=Math.log(2);function m(t,e,n,i,a,o){var r=i+"-"+a,s=t.length;if(o.hasOwnProperty(r))return o[r];if(1===e){var l=Math.round(Math.log((1<<s)-1&~a)/g);return t[n][l]}for(var u=i|1<<n,c=n+1;i&1<<c;)c++;for(var h=0,d=0,p=0;d<s;d++){var f=1<<d;f&a||(h+=(p%2?-1:1)*t[n][d]*m(t,e-1,c,u,a|f,o),p++)}return o[r]=h}e.buildTransformer=function(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},a=m(n,8,0,0,0,i);if(0!==a){for(var o=[],r=0;r<8;r++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((r+s)%2?-1:1)*m(n,7,0===r?1:0,1<<r,1<<s,i)/a*e[r];return function(t,e,n){var i=e*o[6]+n*o[7]+1;t[0]=(e*o[0]+n*o[1]+o[2])/i,t[1]=(e*o[3]+n*o[4]+o[5])/i}}}},2547:function(t,e,n){function i(){this._track=[]}var u=n(1410);function l(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}i.prototype={constructor:i,recognize:function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,n){var i=t.touches;if(i){for(var a={points:[],touches:[],target:e,event:t},o=0,r=i.length;o<r;o++){var s=i[o],l=u.clientToLocal(n,s,{});a.points.push([l.zrX,l.zrY]),a.touches.push(s)}this._track.push(a)}},_recognize:function(t){for(var e in a)if(a.hasOwnProperty(e)){var n=a[e](this._track,t);if(n)return n}}};var a={pinch:function(t,e){var n=t.length;if(n){var i,a=(t[n-1]||{}).points,o=(t[n-2]||{}).points||a;if(o&&1<o.length&&a&&1<a.length){var r=l(a)/l(o);isFinite(r)||(r=1),e.pinchScale=r;var s=[((i=a)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}},o=i;t.exports=o},2548:function(t,e,n){var o=n(768),r=n(1240),s=n(1547),l=n(1800);function u(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}function i(){this._roots=[],this._displayList=[],this._displayListLen=0}i.prototype={constructor:i,traverse:function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},getDisplayList:function(t,e){return e=e||!1,t&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,a=e.length;i<a;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,r.canvasSupported&&l(n,u)},_updateAndAddDisplayable:function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var i=t.clipPath;if(i){e=e?e.slice():[];for(var a=i,o=t;a;)a.parent=o,a.updateTransform(),e.push(a),a=(o=a).clipPath}if(t.isGroup){for(var r=t._children,s=0;s<r.length;s++){var l=r[s];t.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,e,n)}t.__dirty=!1}else t.__clipPaths=e,this._displayList[this._displayListLen++]=t}},addRoot:function(t){t.__storage!==this&&(t instanceof s&&t.addChildrenToStorage(this),this.addToStorage(t),this._roots.push(t))},delRoot:function(t){if(null==t){for(var e=0;e<this._roots.length;e++){var n=this._roots[e];n instanceof s&&n.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(t instanceof Array){e=0;for(var i=t.length;e<i;e++)this.delRoot(t[e])}else{var a=o.indexOf(this._roots,t);0<=a&&(this.delFromStorage(t),this._roots.splice(a,1),t instanceof s&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:u};var a=i;t.exports=a},2549:function(t,e,n){function i(){this.animators=[]}var d=n(2117),p=n(1592),a=n(768),f=a.isString,g=a.isFunction,m=a.isObject,v=a.isArrayLike,y=a.indexOf;function r(t,e,n,i,a,o,r,s){f(i)?(o=a,a=i,i=0):g(a)?(o=a,a="linear",i=0):g(i)?(o=i,i=0):n=g(n)?(o=n,500):n||500,t.stopAnimation(),function t(e,n,i,a,o,r,s){var l={};var u=0;for(var c in a)a.hasOwnProperty(c)&&(null!=i[c]?m(a[c])&&!v(a[c])?t(e,n?n+"."+c:c,i[c],a[c],o,r,s):(s?(l[c]=i[c],x(e,n,c,a[c])):l[c]=a[c],u++):null==a[c]||s||x(e,n,c,a[c]));0<u&&e.animate(n,!1).when(null==o?500:o,l).delay(r||0)}(t,"",t,e,n,i,s);var l=t.animators.slice(),u=l.length;function c(){--u||o&&o()}u||o&&o();for(var h=0;h<l.length;h++)l[h].done(c).start(a,r)}function x(t,e,n,i){if(e){var a={};a[e]={},a[e][n]=i,t.attr(a)}else t.attr(n,i)}i.prototype={constructor:i,animate:function(t,e){var n,i=!1,a=this,o=this.__zr;if(t){var r=t.split("."),s=a;i="shape"===r[0];for(var l=0,u=r.length;l<u;l++)s=s&&s[r[l]];s&&(n=s)}else n=a;if(n){var c=a.animators,h=new d(n,e);return h.during(function(t){a.dirty(i)}).done(function(){c.splice(y(c,h),1)}),c.push(h),o&&o.animation.addAnimator(h),h}p('Property "'+t+'" is not existed in element '+a.id)},stopAnimation:function(t){for(var e=this.animators,n=e.length,i=0;i<n;i++)e[i].stop(t);return e.length=0,this},animateTo:function(t,e,n,i,a,o){r(this,t,e,n,i,a,o)},animateFrom:function(t,e,n,i,a,o){r(this,t,e,n,i,a,o,!0)}};var o=i;t.exports=o},2550:function(t,e,n){var r=n(2551);function i(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}i.prototype={constructor:i,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else{var n=(t-this._startTime-this._pausedTime)/this._life;if(!(n<0)){n=Math.min(n,1);var i=this.easing,a="string"==typeof i?r[i]:i,o="function"==typeof a?a(n):n;return this.fire("frame",o),1===n?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){this[t="on"+t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var a=i;t.exports=a},2551:function(t,e){var n={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(e=!n||n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(e=!n||n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(e=!n||n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*.5+1)},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((1+e)*t-e)*.5:.5*((t-=2)*t*((1+e)*t+e)+2)},bounceIn:function(t){return 1-n.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*n.bounceIn(2*t):.5*n.bounceOut(2*t-1)+.5}},i=n;t.exports=i},2552:function(t,e,n){var f=n(1683).devicePixelRatio,v=n(768),c=n(1592),i=n(1152),s=n(1800),g=n(2553),o=n(2121),y=n(1548),x=n(1240),m=314159;function l(t){return parseInt(t,10)}var h=new i(0,0,0,0),d=new i(0,0,0,0);function a(t,e,n){this.type="canvas";var i=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=v.extend({},n||{}),this.dpr=n.devicePixelRatio||f,this._singleCanvas=i;var a=(this.root=t).style;a&&(a["-webkit-tap-highlight-color"]="transparent",a["-webkit-user-select"]=a["user-select"]=a["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var o,r,s,l=this._zlevelList=[],u=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,i){var c=t.width,h=t.height;null!=n.width&&(c=n.width),null!=n.height&&(h=n.height),this.dpr=n.devicePixelRatio||1,t.width=c*this.dpr,t.height=h*this.dpr,this._width=c,this._height=h;var d=new g(t,this,this.dpr);d.__builtin__=!0,d.initContext(),(u[m]=d).zlevel=m,l.push(m),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var p=this._domRoot=(o=this._width,r=this._height,(s=document.createElement("div")).style.cssText=["position:relative","width:"+o+"px","height:"+r+"px","padding:0","margin:0","border-width:0"].join(";")+";",s);t.appendChild(p)}this._hoverlayer=null,this._hoverElements=[]}a.prototype={constructor:a,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),n=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,t,this._redrawId);for(var i=0;i<n.length;i++){var a=n[i],o=this._layers[a];if(!o.__builtin__&&o.refresh){var r=0===i?this._backgroundColor:null;o.refresh(r)}}return this.refreshHover(),this},addHover:function(t,e){if(!t.__hoverMir){var n=new t.constructor({style:t.style,shape:t.shape,z:t.z,z2:t.z2,silent:t.silent});return(n.__from=t).__hoverMir=n,e&&n.setStyle(e),this._hoverElements.push(n),n}},removeHover:function(t){var e=t.__hoverMir,n=this._hoverElements,i=v.indexOf(n,e);0<=i&&n.splice(i,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n<e.length;n++){var i=e[n].__from;i&&(i.__hoverMir=null)}e.length=0},refreshHover:function(){var t=this._hoverElements,e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){s(t,this.storage.displayableSortFunc);var i={};(n=n||(this._hoverlayer=this.getLayer(1e5))).ctx.save();for(var a=0;a<e;){var o=t[a],r=o.__from;r&&r.__zr?(a++,r.invisible||(o.transform=r.transform,o.invTransform=r.invTransform,o.__clipPaths=r.__clipPaths,this._doPaintEl(o,n,!0,i))):(t.splice(a,1),r.__hoverMir=null,e--)}n.ctx.restore()}},getHoverLayer:function(){return this.getLayer(1e5)},_paintList:function(t,e,n){if(this._redrawId===n){e=e||!1,this._updateLayerStatus(t);var i=this._doPaintList(t,e);if(this._needsManuallyCompositing&&this._compositeManually(),!i){var a=this;o(function(){a._paintList(t,e,n)})}}},_compositeManually:function(){var e=this.getLayer(m).ctx,n=this._domRoot.width,i=this._domRoot.height;e.clearRect(0,0,n,i),this.eachBuiltinLayer(function(t){t.virtual&&e.drawImage(t.dom,0,0,n,i)})},_doPaintList:function(t,e){for(var n=[],i=0;i<this._zlevelList.length;i++){var a=this._zlevelList[i];(s=this._layers[a]).__builtin__&&s!==this._hoverlayer&&(s.__dirty||e)&&n.push(s)}for(var o=!0,r=0;r<n.length;r++){var s,l=(s=n[r]).ctx,u={};l.save();var c=e?s.__startIndex:s.__drawIndex,h=!e&&s.incremental&&Date.now,d=h&&Date.now(),p=s.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(s.__startIndex===s.__endIndex)s.clear(!1,p);else if(c===s.__startIndex){var f=t[c];f.incremental&&f.notClear&&!e||s.clear(!1,p)}-1===c&&(console.error("For some unknown reason. drawIndex is -1"),c=s.__startIndex);for(var g=c;g<s.__endIndex;g++){var m=t[g];if(this._doPaintEl(m,s,e,u),m.__dirty=m.__dirtyText=!1,h)if(15<Date.now()-d)break}s.__drawIndex=g,s.__drawIndex<s.__endIndex&&(o=!1),u.prevElClipPaths&&l.restore(),l.restore()}return x.wxa&&v.each(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),o},_doPaintEl:function(t,e,n,i){var a,o,r,s=e.ctx,l=t.transform;if((e.__dirty||n)&&!t.invisible&&0!==t.style.opacity&&(!l||l[0]||l[3])&&(!t.culling||(a=t,o=this._width,r=this._height,h.copy(a.getBoundingRect()),a.transform&&h.applyTransform(a.transform),d.width=o,d.height=r,h.intersect(d)))){var u=t.__clipPaths,c=i.prevElClipPaths;c&&!function(t,e){if(t===e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}(u,c)||(c&&(s.restore(),i.prevElClipPaths=null,i.prevEl=null),u&&(s.save(),function(t,e){for(var n=0;n<t.length;n++){var i=t[n];i.setTransform(e),e.beginPath(),i.buildPath(e,i.shape),e.clip(),i.restoreTransform(e)}}(u,s),i.prevElClipPaths=u)),t.beforeBrush&&t.beforeBrush(s),t.brush(s,i.prevEl||null),(i.prevEl=t).afterBrush&&t.afterBrush(s)}},getLayer:function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=m);var n=this._layers[t];return n||((n=new g("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]&&v.merge(n,this._layerConfig[t],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},insertLayer:function(t,e){var n=this._layers,i=this._zlevelList,a=i.length,o=null,r=-1,s=this._domRoot;if(n[t])c("ZLevel "+t+" has been used already");else if((l=e)&&(l.__builtin__||"function"==typeof l.resize&&"function"==typeof l.refresh)){var l;if(0<a&&t>i[0]){for(r=0;r<a-1&&!(i[r]<t&&i[r+1]>t);r++);o=n[i[r]]}if(i.splice(r+1,0,t),!(n[t]=e).virtual)if(o){var u=o.dom;u.nextSibling?s.insertBefore(e.dom,u.nextSibling):s.appendChild(e.dom)}else s.firstChild?s.insertBefore(e.dom,s.firstChild):s.appendChild(e.dom)}else c("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,i,a=this._zlevelList;for(i=0;i<a.length;i++)n=a[i],t.call(e,this._layers[n],n)},eachBuiltinLayer:function(t,e){var n,i,a,o=this._zlevelList;for(a=0;a<o.length;a++)i=o[a],(n=this._layers[i]).__builtin__&&t.call(e,n,i)},eachOtherLayer:function(t,e){var n,i,a,o=this._zlevelList;for(a=0;a<o.length;a++)i=o[a],(n=this._layers[i]).__builtin__||t.call(e,n,i)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){function e(t){i&&(i.__endIndex!==t&&(i.__dirty=!0),i.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var n=1;n<t.length;n++){if((o=t[n]).zlevel!==t[n-1].zlevel||o.incremental){this._needsManuallyCompositing=!0;break}}var i=null,a=0;for(n=0;n<t.length;n++){var o,r,s=(o=t[n]).zlevel;o.incremental?((r=this.getLayer(s+.001,this._needsManuallyCompositing)).incremental=!0,a=1):r=this.getLayer(s+(0<a?.01:0),this._needsManuallyCompositing),r.__builtin__||c("ZLevel "+s+" has been used by unkown layer "+r.id),r!==i&&(r.__used=!0,r.__startIndex!==n&&(r.__dirty=!0),r.__startIndex=n,r.incremental?r.__drawIndex=-1:r.__drawIndex=n,e(n),i=r),o.__dirty&&(r.__dirty=!0,r.incremental&&r.__drawIndex<0&&(r.__drawIndex=n))}e(n),this.eachBuiltinLayer(function(t,e){!t.__used&&0<t.getElementCount()&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?v.merge(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var a=this._zlevelList[i];if(a===t||a===t+.01){var o=this._layers[a];v.merge(o,n[t],!0)}}}},delLayer:function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(v.indexOf(n,t),1))},resize:function(e,n){if(this._domRoot.style){var t=this._domRoot;t.style.display="none";var i=this._opts;if(null!=e&&(i.width=e),null!=n&&(i.height=n),e=this._getSize(0),n=this._getSize(1),t.style.display="",this._width!==e||n!==this._height){for(var a in t.style.width=e+"px",t.style.height=n+"px",this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].resize(e,n);v.each(this._progressiveLayers,function(t){t.resize(e,n)}),this.refresh(!0)}this._width=e,this._height=n}else{if(null==e||null==n)return;this._width=e,this._height=n,this.getLayer(m).resize(e,n)}return this},clearLayer:function(t){var e=this._layers[t];e&&e.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[m].dom;var e=new g("image",this,t.pixelRatio||this.dpr);if(e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor),t.pixelRatio<=this.dpr){this.refresh();var n=e.dom.width,i=e.dom.height,a=e.ctx;this.eachLayer(function(t){t.__builtin__?a.drawImage(t.dom,0,0,n,i):t.renderToCanvas&&(e.ctx.save(),t.renderToCanvas(e.ctx),e.ctx.restore())})}else for(var o={},r=this.storage.getDisplayList(!0),s=0;s<r.length;s++){var l=r[s];this._doPaintEl(l,e,!0,o)}return e.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],i=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var r=this.root,s=document.defaultView.getComputedStyle(r);return(r[i]||l(s[n])||l(r.style[n]))-(l(s[a])||0)-(l(s[o])||0)|0},pathToImage:function(t,e){e=e||this.dpr;var n=document.createElement("canvas"),i=n.getContext("2d"),a=t.getBoundingRect(),o=t.style,r=o.shadowBlur*e,s=o.shadowOffsetX*e,l=o.shadowOffsetY*e,u=o.hasStroke()?o.lineWidth:0,c=Math.max(u/2,r-s),h=Math.max(u/2,s+r),d=Math.max(u/2,r-l),p=Math.max(u/2,l+r),f=a.width+c+h,g=a.height+d+p;n.width=f*e,n.height=g*e,i.scale(e,e),i.clearRect(0,0,f,g),i.dpr=e;var m={position:t.position,rotation:t.rotation,scale:t.scale};t.position=[c-a.x,d-a.y],t.rotation=0,t.scale=[1,1],t.updateTransform(),t&&t.brush(i);var v=new y({style:{x:0,y:0,image:n}});return null!=m.position&&(v.position=t.position=m.position),null!=m.rotation&&(v.rotation=t.rotation=m.rotation),null!=m.scale&&(v.scale=t.scale=m.scale),v}};var r=a;t.exports=r},2553:function(t,e,n){var s=n(768),o=n(1683).devicePixelRatio,h=n(1801),d=n(2120);function r(){return!1}function l(t,e,n){var i=s.createCanvas(),a=e.getWidth(),o=e.getHeight(),r=i.style;return r&&(r.position="absolute",r.left=0,r.top=0,r.width=a+"px",r.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=a*n,i.height=o*n,i}function i(t,e,n){var i;n=n||o,"string"==typeof t?i=l(t,e,n):s.isObject(t)&&(t=(i=t).id),this.id=t;var a=(this.dom=i).style;a&&(i.onselectstart=r,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=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n}i.prototype={constructor:i,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=l("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},resize:function(t,e){var n=this.dpr,i=this.dom,a=i.style,o=this.domBack;a&&(a.width=t+"px",a.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},clear:function(t,e){var n,i=this.dom,a=this.ctx,o=i.width,r=i.height,s=(e=e||this.clearColor,this.motionBlur&&!t),l=this.lastFrameAlpha,u=this.dpr;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/u,r/u)),a.clearRect(0,0,o,r),e&&"transparent"!==e&&(e.colorStops?(n=e.__canvasGradient||h.getGradient(a,e,{x:0,y:0,width:o,height:r}),e.__canvasGradient=n):e.image&&(n=d.prototype.getCanvasPattern.call(e,a)),a.save(),a.fillStyle=n||e,a.fillRect(0,0,o,r),a.restore());if(s){var c=this.domBack;a.save(),a.globalAlpha=l,a.drawImage(c,0,0,o,r),a.restore()}}};var a=i;t.exports=a},2554:function(t,e,n){function i(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,o.call(this)}var a=n(768),o=n(1410).Dispatcher,r=n(2121),s=n(2117);i.prototype={constructor:i,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),n=0;n<e.length;n++)this.addClip(e[n])},removeClip:function(t){var e=a.indexOf(this._clips,t);0<=e&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;n<e.length;n++)this.removeClip(e[n]);t.animation=null},_update:function(){for(var t=(new Date).getTime()-this._pausedTime,e=t-this._time,n=this._clips,i=n.length,a=[],o=[],r=0;r<i;r++){var s=n[r],l=s.step(t,e);l&&(a.push(l),o.push(s))}for(r=0;r<i;)n[r]._needsRemove?(n[r]=n[i-1],n.pop(),i--):r++;i=a.length;for(r=0;r<i;r++)o[r].fire(a[r]);this._time=t,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){var e=this;this._running=!0,r(function t(){e._running&&(r(t),e._paused||e._update())})},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(t,e){var n=new s(t,(e=e||{}).loop,e.getter,e.setter);return this.addAnimator(n),n}},a.mixin(i,o);var l=i;t.exports=l},2555:function(t,e,n){var i=n(1410),a=i.addEventListener,o=i.removeEventListener,r=i.normalizeEvent,s=n(768),l=n(1501),u=n(1240),c=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],h=["touchstart","touchend","touchmove"],d={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},p=s.map(c,function(t){var e=t.replace("mouse","pointer");return d[e]?e:t});function f(t){return"mousewheel"===t&&u.browser.firefox?"DOMMouseScroll":t}function g(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=setTimeout(function(){t._touching=!1},700)}var m={mousemove:function(t){t=r(this.dom,t),this.trigger("mousemove",t)},mouseout:function(t){var e=(t=r(this.dom,t)).toElement||t.relatedTarget;if(e!==this.dom)for(;e&&9!==e.nodeType;){if(e===this.dom)return;e=e.parentNode}this.trigger("mouseout",t)},touchstart:function(t){(t=r(this.dom,t)).zrByTouch=!0,this._lastTouchMoment=new Date,this.handler.processGesture(t,"start"),m.mousemove.call(this,t),m.mousedown.call(this,t),g(this)},touchmove:function(t){(t=r(this.dom,t)).zrByTouch=!0,this.handler.processGesture(t,"change"),m.mousemove.call(this,t),g(this)},touchend:function(t){(t=r(this.dom,t)).zrByTouch=!0,this.handler.processGesture(t,"end"),m.mouseup.call(this,t),new Date-this._lastTouchMoment<300&&m.click.call(this,t),g(this)},pointerdown:function(t){m.mousedown.call(this,t)},pointermove:function(t){v(t)||m.mousemove.call(this,t)},pointerup:function(t){m.mouseup.call(this,t)},pointerout:function(t){v(t)||m.mouseout.call(this,t)}};function v(t){var e=t.pointerType;return"pen"===e||"touch"===e}function y(i){s.each(h,function(t){i._handlers[t]=s.bind(m[t],i)}),s.each(p,function(t){i._handlers[t]=s.bind(m[t],i)}),s.each(c,function(t){var e,n;i._handlers[t]=(e=m[t],n=i,function(){if(!n._touching)return e.apply(n,arguments)})})}function x(n){function t(t,e){s.each(t,function(t){a(n,f(t),e._handlers[t])},e)}l.call(this),this.dom=n,this._touching=!1,this._touchTimer,this._handlers={},y(this),u.pointerEventsSupported?t(p,this):(u.touchEventsSupported&&t(h,this),t(c,this))}s.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){m[e]=function(t){t=r(this.dom,t),this.trigger(e,t)}});var _=x.prototype;_.dispose=function(){for(var t=c.concat(h),e=0;e<t.length;e++){var n=t[e];o(this.dom,f(n),this._handlers[n])}},_.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},s.mixin(x,l);var A=x;t.exports=A},2556:function(t,e,n){var i=n(1549)([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),a={getLineStyle:function(t){var e=i(this,t);return e.lineDash=this.getLineDash(e.lineWidth),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),n=Math.max(t,2),i=4*t;return"solid"!==e&&null!=e&&("dashed"===e?[i,i]:[n,n])}};t.exports=a},2557:function(t,e,n){var i=n(1549)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a={getAreaStyle:function(t,e){return i(this,t,e)}};t.exports=a},2558:function(t,e,n){var i=n(1319),a=n(852),o=["textStyle","color"],r={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(o):null)},getFont:function(){return a.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return i.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};t.exports=r},2559:function(t,e,n){var i=n(1550),S=n(2126),C=n(2560),M=n(2127),I=n(2561),g=n(2128).normalizeRadian,x=n(1464),T=n(2129),D=i.CMD,m=2*Math.PI,k=1e-4;var _=[-1,-1,-1],A=[-1,-1];function P(t,e,n,i,a,o,r,s,l,u){if(e<u&&i<u&&o<u&&s<u||u<e&&u<i&&u<o&&u<s)return 0;var c,h=x.cubicRootAt(e,i,o,s,u,_);if(0===h)return 0;for(var d,p,f=0,g=-1,m=0;m<h;m++){var v=_[m],y=0===v||1===v?.5:1;x.cubicAt(t,n,a,r,v)<l||(g<0&&(g=x.cubicExtrema(e,i,o,s,A),A[1]<A[0]&&1<g&&(c=A[0],A[0]=A[1],A[1]=c),d=x.cubicAt(e,i,o,s,A[0]),1<g&&(p=x.cubicAt(e,i,o,s,A[1]))),2===g?v<A[0]?f+=d<e?y:-y:v<A[1]?f+=p<d?y:-y:f+=s<p?y:-y:v<A[0]?f+=d<e?y:-y:f+=s<d?y:-y)}return f}function L(t,e,n,i,a,o,r,s){if(e<s&&i<s&&o<s||s<e&&s<i&&s<o)return 0;var l=x.quadraticRootAt(e,i,o,s,_);if(0===l)return 0;var u=x.quadraticExtremum(e,i,o);if(0<=u&&u<=1){for(var c=0,h=x.quadraticAt(e,i,o,u),d=0;d<l;d++){var p=0===_[d]||1===_[d]?.5:1;x.quadraticAt(t,n,a,_[d])<r||(_[d]<u?c+=h<e?p:-p:c+=o<h?p:-p)}return c}p=0===_[0]||1===_[0]?.5:1;return x.quadraticAt(t,n,a,_[0])<r?0:o<e?p:-p}function B(t,e,n,i,a,o,r,s){if(n<(s-=e)||s<-n)return 0;var l=Math.sqrt(n*n-s*s);_[0]=-l,_[1]=l;var u=Math.abs(i-a);if(u<1e-4)return 0;if(u%m<1e-4){a=m;var c=o?1:-1;return r>=_[i=0]+t&&r<=_[1]+t?c:0}if(o){l=i;i=g(a),a=g(l)}else i=g(i),a=g(a);a<i&&(a+=m);for(var h=0,d=0;d<2;d++){var p=_[d];if(r<p+t){var f=Math.atan2(s,p);c=o?1:-1;f<0&&(f=m+f),(i<=f&&f<=a||i<=f+m&&f+m<=a)&&(f>Math.PI/2&&f<1.5*Math.PI&&(c=-c),h+=c)}}return h}function a(t,e,n,i,a){for(var o,r,s=0,l=0,u=0,c=0,h=0,d=0;d<t.length;){var p=t[d++];switch(p===D.M&&1<d&&(n||(s+=T(l,u,c,h,i,a))),1===d&&(c=l=t[d],h=u=t[d+1]),p){case D.M:l=c=t[d++],u=h=t[d++];break;case D.L:if(n){if(S.containStroke(l,u,t[d],t[d+1],e,i,a))return!0}else s+=T(l,u,t[d],t[d+1],i,a)||0;l=t[d++],u=t[d++];break;case D.C:if(n){if(C.containStroke(l,u,t[d++],t[d++],t[d++],t[d++],t[d],t[d+1],e,i,a))return!0}else s+=P(l,u,t[d++],t[d++],t[d++],t[d++],t[d],t[d+1],i,a)||0;l=t[d++],u=t[d++];break;case D.Q:if(n){if(M.containStroke(l,u,t[d++],t[d++],t[d],t[d+1],e,i,a))return!0}else s+=L(l,u,t[d++],t[d++],t[d],t[d+1],i,a)||0;l=t[d++],u=t[d++];break;case D.A:var f=t[d++],g=t[d++],m=t[d++],v=t[d++],y=t[d++],x=t[d++];d+=1;var _=1-t[d++],A=Math.cos(y)*m+f,b=Math.sin(y)*v+g;1<d?s+=T(l,u,A,b,i,a):(c=A,h=b);var w=(i-f)*v/m+f;if(n){if(I.containStroke(f,g,v,y,y+x,_,e,w,a))return!0}else s+=B(f,g,v,y,y+x,_,w,a);l=Math.cos(y+x)*m+f,u=Math.sin(y+x)*v+g;break;case D.R:c=l=t[d++],h=u=t[d++];A=c+t[d++],b=h+t[d++];if(n){if(S.containStroke(c,h,A,h,e,i,a)||S.containStroke(A,h,A,b,e,i,a)||S.containStroke(A,b,c,b,e,i,a)||S.containStroke(c,b,c,h,e,i,a))return!0}else s+=T(A,h,A,b,i,a),s+=T(c,b,c,h,i,a);break;case D.Z:if(n){if(S.containStroke(l,u,c,h,e,i,a))return!0}else s+=T(l,u,c,h,i,a);l=c,u=h}}return n||(o=u,r=h,Math.abs(o-r)<k)||(s+=T(l,u,c,h,i,a)||0),0!==s}e.contain=function(t,e,n){return a(t,0,!1,e,n)},e.containStroke=function(t,e,n,i){return a(t,e,!0,n,i)}},2560:function(t,e,n){var d=n(1464);e.containStroke=function(t,e,n,i,a,o,r,s,l,u,c){if(0===l)return!1;var h=l;return!(e+h<c&&i+h<c&&o+h<c&&s+h<c||c<e-h&&c<i-h&&c<o-h&&c<s-h||t+h<u&&n+h<u&&a+h<u&&r+h<u||u<t-h&&u<n-h&&u<a-h&&u<r-h)&&d.cubicProjectPoint(t,e,n,i,a,o,r,s,u,c,null)<=h/2}},2561:function(t,e,n){var p=n(2128).normalizeRadian,f=2*Math.PI;e.containStroke=function(t,e,n,i,a,o,r,s,l){if(0===r)return!1;var u=r;s-=t,l-=e;var c=Math.sqrt(s*s+l*l);if(n<c-u||c+u<n)return!1;if(Math.abs(i-a)%f<1e-4)return!0;if(o){var h=i;i=p(a),a=p(h)}else i=p(i),a=p(a);a<i&&(a+=f);var d=Math.atan2(l,s);return d<0&&(d+=f),i<=d&&d<=a||i<=d+f&&d+f<=a}},2562:function(t,e,n){var i=n(1550),_=n(1150).applyTransform,A=i.CMD,b=[[],[],[]],w=Math.sqrt,S=Math.atan2;t.exports=function(t,e){var n,i,a,o,r,s=t.data,l=A.M,u=A.C,c=A.L,h=A.R,d=A.A,p=A.Q;for(o=a=0;a<s.length;){switch(n=s[a++],o=a,i=0,n){case l:case c:i=1;break;case u:i=3;break;case p:i=2;break;case d:var f=e[4],g=e[5],m=w(e[0]*e[0]+e[1]*e[1]),v=w(e[2]*e[2]+e[3]*e[3]),y=S(-e[1]/v,e[0]/m);s[a]*=m,s[a++]+=f,s[a]*=v,s[a++]+=g,s[a++]*=m,s[a++]*=v,s[a++]+=y,s[a++]+=y,o=a+=2;break;case h:x[0]=s[a++],x[1]=s[a++],_(x,x,e),s[o++]=x[0],s[o++]=x[1],x[0]+=s[a++],x[1]+=s[a++],_(x,x,e),s[o++]=x[0],s[o++]=x[1]}for(r=0;r<i;r++){var x;(x=b[r])[0]=s[a++],x[1]=s[a++],_(x,x,e),s[o++]=x[0],s[o++]=x[1]}}}},2563:function(t,e,n){var i=n(1224),a=n(2131),o=i.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:a(i.prototype.brush),buildPath:function(t,e){var n=e.cx,i=e.cy,a=Math.max(e.r0||0,0),o=Math.max(e.r,0),r=e.startAngle,s=e.endAngle,l=e.clockwise,u=Math.cos(r),c=Math.sin(r);t.moveTo(u*a+n,c*a+i),t.lineTo(u*o+n,c*o+i),t.arc(n,i,o,r,s,!l),t.lineTo(Math.cos(s)*a+n,Math.sin(s)*a+i),0!==a&&t.arc(n,i,a,s,r,l),t.closePath()}});t.exports=o},2564:function(t,e,n){var i=n(1224).extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var n=e.cx,i=e.cy,a=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,a,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,a,!0)}});t.exports=i},2565:function(t,e,n){var m=n(1150).distance;function v(t,e,n,i,a,o,r){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*r+(-3*(e-n)-2*s-l)*o+s*a+e}t.exports=function(t,e){for(var n=t.length,i=[],a=0,o=1;o<n;o++)a+=m(t[o-1],t[o]);var r=a/2;for(r=r<n?n:r,o=0;o<r;o++){var s,l,u,c=o/(r-1)*(e?n:n-1),h=Math.floor(c),d=c-h,p=t[h%n];u=e?(s=t[(h-1+n)%n],l=t[(h+1)%n],t[(h+2)%n]):(s=t[0===h?h:h-1],l=t[n-2<h?n-1:h+1],t[n-3<h?n-1:h+2]);var f=d*d,g=d*f;i.push([v(s[0],p[0],l[0],u[0],d,f,g),v(s[1],p[1],l[1],u[1],d,f,g)])}return i}},2566:function(t,e,n){var i=n(1150),_=i.min,A=i.max,b=i.scale,w=i.distance,S=i.add,C=i.clone,M=i.sub;t.exports=function(t,e,n,i){var a,o,r,s,l=[],u=[],c=[],h=[];if(i){r=[1/0,1/0],s=[-1/0,-1/0];for(var d=0,p=t.length;d<p;d++)_(r,r,t[d]),A(s,s,t[d]);_(r,r,i[0]),A(s,s,i[1])}for(d=0,p=t.length;d<p;d++){var f=t[d];if(n)a=t[d?d-1:p-1],o=t[(d+1)%p];else{if(0===d||d===p-1){l.push(C(t[d]));continue}a=t[d-1],o=t[d+1]}M(u,o,a),b(u,u,e);var g=w(f,a),m=w(f,o),v=g+m;0!==v&&(g/=v,m/=v),b(c,u,-g),b(h,u,m);var y=S([],f,c),x=S([],f,h);i&&(A(y,y,r),_(y,y,s),A(x,x,r),_(x,x,s)),l.push(y),l.push(x)}return n&&l.push(l.shift()),l}},2567:function(t,e,n){var i=n(1224),a=n(1150),o=n(1464),h=o.quadraticSubdivide,d=o.cubicSubdivide,r=o.quadraticAt,s=o.cubicAt,l=o.quadraticDerivativeAt,u=o.cubicDerivativeAt,p=[];function c(t,e,n){var i=t.cpx2,a=t.cpy2;return null===i||null===a?[(n?u:s)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?u:s)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?l:r)(t.x1,t.cpx1,t.x2,e),(n?l:r)(t.y1,t.cpy1,t.y2,e)]}var f=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(t,e){var n=e.x1,i=e.y1,a=e.x2,o=e.y2,r=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,c=e.percent;0!==c&&(t.moveTo(n,i),null==l||null==u?(c<1&&(h(n,r,a,c,p),r=p[1],a=p[2],h(i,s,o,c,p),s=p[1],o=p[2]),t.quadraticCurveTo(r,s,a,o)):(c<1&&(d(n,r,l,a,c,p),r=p[1],l=p[2],a=p[3],d(i,s,u,o,c,p),s=p[1],u=p[2],o=p[3]),t.bezierCurveTo(r,s,l,u,a,o)))},pointAt:function(t){return c(this.shape,t,!1)},tangentAt:function(t){var e=c(this.shape,t,!0);return a.normalize(e,e)}});t.exports=f},2568:function(t,e,n){var i=n(1224).extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.cx,i=e.cy,a=Math.max(e.r,0),o=e.startAngle,r=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*a+n,u*a+i),t.arc(n,i,a,o,r,!s)}});t.exports=i},2569:function(t,e,n){var i=n(1224),a=i.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,n=0;n<e.length;n++)t=t||e[n].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},buildPath:function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},afterBrush:function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),i.prototype.getBoundingRect.call(this)}});t.exports=a},2570:function(t,e,n){function i(t,e,n,i,a){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=a||!1,o.call(this,i)}var a=n(768),o=n(1687);i.prototype={constructor:i},a.inherits(i,o);var r=i;t.exports=r},2571:function(t,e,n){var a=n(1549)([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),i={getItemStyle:function(t,e){var n=a(this,t,e),i=this.getBorderLineDash();return i&&(n.lineDash=i),n},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}};t.exports=i},2572:function(t,e){t.exports={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}}},2573:function(t,e){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};t.exports=i},2574:function(t,e,n){var c=n(768),r=n(987),s=n(1245),u=c.each,h=c.clone,d=c.map,l=c.merge,p=/^(min|max)?(.+)$/;function i(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function f(t,e,n){var l={width:e,height:n,aspectratio:e/n},u=!0;return c.each(t,function(t,e){var n=e.match(p);if(n&&n[1]&&n[2]){var i,a,o,r=n[1],s=n[2].toLowerCase();i=l[s],a=t,("min"===(o=r)?a<=i:"max"===o?i<=a:i===a)||(u=!1)}}),u}i.prototype={constructor:i,setOption:function(t,e){t&&c.each(r.normalizeToArray(t.series),function(t){t&&t.data&&c.isTypedArray(t.data)&&c.setAsPrimitive(t.data)}),t=h(t);var a,n,i=this._optionBackup,o=function(t,n,i){var e,a,o=[],r=[],s=t.timeline;t.baseOption&&(a=t.baseOption);(s||t.options)&&(a=a||{},o=(t.options||[]).slice());if(t.media){a=a||{};var l=t.media;u(l,function(t){t&&t.option&&(t.query?r.push(t):e=e||t)})}a=a||t;a.timeline||(a.timeline=s);return u([a].concat(o).concat(c.map(r,function(t){return t.option})),function(e){u(n,function(t){t(e,i)})}),{baseOption:a,timelineOptions:o,mediaDefault:e,mediaList:r}}.call(this,t,e,!i);this._newBaseOption=o.baseOption,i?(a=i.baseOption,n=o.baseOption,u(n=n||{},function(t,e){if(null!=t){var n=a[e];if(s.hasClass(e)){t=r.normalizeToArray(t),n=r.normalizeToArray(n);var i=r.mappingToExists(n,t);a[e]=d(i,function(t){return t.option&&t.exist?l(t.exist,t.option,!0):t.exist||t.option})}else a[e]=l(n,t,!0)}}),o.timelineOptions.length&&(i.timelineOptions=o.timelineOptions),o.mediaList.length&&(i.mediaList=o.mediaList),o.mediaDefault&&(i.mediaDefault=o.mediaDefault)):this._optionBackup=o},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=d(e.timelineOptions,h),this._mediaList=d(e.mediaList,h),this._mediaDefault=h(e.mediaDefault),this._currentMediaIndices=[],h(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=h(n[i.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e,n,i=this._api.getWidth(),a=this._api.getHeight(),o=this._mediaList,r=this._mediaDefault,s=[],l=[];if(!o.length&&!r)return l;for(var u=0,c=o.length;u<c;u++)f(o[u].query,i,a)&&s.push(u);return!s.length&&r&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=d(s,function(t){return h(-1===t?r.option:o[t].option)})),this._currentMediaIndices=s,l}};var a=i;t.exports=a},2575:function(t,e,n){var i=n(768),a=i.each,o=i.isArray,r=i.isObject,s=n(2576),l=n(987).normalizeToArray;function u(e){a(c,function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])})}var c=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],h=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];t.exports=function(n,t){s(n,t),n.series=l(n.series),a(n.series,function(t){if(r(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e)null!=t.clockWise&&(t.clockwise=t.clockWise);else if("gauge"===e){var n=function(t,e){e=e.split(",");for(var n=t,i=0;i<e.length&&null!=(n=n&&n[e[i]]);i++);return n}(t,"pointer.color");null!=n&&function(t,e,n,i){e=e.split(",");for(var a,o=t,r=0;r<e.length-1;r++)null==o[a=e[r]]&&(o[a]={}),o=o[a];!i&&null!=o[e[r]]||(o[e[r]]=n)}(t,"itemStyle.color",n)}u(t)}}),n.dataRange&&(n.visualMap=n.dataRange),a(h,function(t){var e=n[t];e&&(o(e)||(e=[e]),a(e,function(t){u(t)}))})}},2576:function(t,e,n){var u=n(768),r=n(987),i=u.each,c=u.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function h(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=s.length;n<i;n++){var a=s[n],o=e.normal,r=e.emphasis;o&&o[a]&&(t[a]=t[a]||{},t[a].normal?u.merge(t[a].normal,o[a]):t[a].normal=o[a],o[a]=null),r&&r[a]&&(t[a]=t[a]||{},t[a].emphasis?u.merge(t[a].emphasis,r[a]):t[a].emphasis=r[a],r[a]=null)}}function d(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,a=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,u.defaults(t[e],i)):t[e]=i),a&&(t.emphasis=t.emphasis||{},t.emphasis[e]=a)}}function p(t){d(t,"itemStyle"),d(t,"lineStyle"),d(t,"areaStyle"),d(t,"label"),d(t,"labelLine"),d(t,"upperLabel"),d(t,"edgeLabel")}function f(t,e){var n=c(t)&&t[e],i=c(n)&&n.textStyle;if(i)for(var a=0,o=r.TEXT_STYLE_OPTIONS.length;a<o;a++){e=r.TEXT_STYLE_OPTIONS[a];i.hasOwnProperty(e)&&(n[e]=i[e])}}function g(t){t&&(p(t),f(t,"label"),t.emphasis&&f(t.emphasis,"label"))}function a(t){return u.isArray(t)?t:t?[t]:[]}function o(t){return(u.isArray(t)?t[0]:t)||{}}t.exports=function(e,t){i(a(e.series),function(t){c(t)&&function(t){if(c(t)){h(t),p(t),f(t,"label"),f(t,"upperLabel"),f(t,"edgeLabel"),t.emphasis&&(f(t.emphasis,"label"),f(t.emphasis,"upperLabel"),f(t.emphasis,"edgeLabel")),(n=t.markPoint)&&(h(n),g(n)),(i=t.markLine)&&(h(i),g(i));var e=t.markArea;e&&g(e);var n,i,a=t.data;if("graph"===t.type){a=a||t.nodes;var o=t.links||t.edges;if(o&&!u.isTypedArray(o))for(var r=0;r<o.length;r++)g(o[r]);u.each(t.categories,function(t){p(t)})}if(a&&!u.isTypedArray(a))for(r=0;r<a.length;r++)g(a[r]);if((n=t.markPoint)&&n.data){var s=n.data;for(r=0;r<s.length;r++)g(s[r])}if((i=t.markLine)&&i.data){var l=i.data;for(r=0;r<l.length;r++)u.isArray(l[r])?(g(l[r][0]),g(l[r][1])):g(l[r])}"gauge"===t.type?(f(t,"axisLabel"),f(t,"title"),f(t,"detail")):"treemap"===t.type?(d(t.breadcrumb,"itemStyle"),u.each(t.levels,function(t){p(t)})):"tree"===t.type&&p(t.leaves)}}(t)});var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),i(n,function(t){i(a(e[t]),function(t){t&&(f(t,"axisLabel"),f(t.axisPointer,"label"))})}),i(a(e.parallel),function(t){var e=t&&t.parallelAxisDefault;f(e,"axisLabel"),f(e&&e.axisPointer,"label")}),i(a(e.calendar),function(t){d(t,"itemStyle"),f(t,"dayLabel"),f(t,"monthLabel"),f(t,"yearLabel")}),i(a(e.radar),function(t){f(t,"name")}),i(a(e.geo),function(t){c(t)&&(g(t),i(a(t.regions),function(t){g(t)}))}),i(a(e.timeline),function(t){g(t),d(t,"label"),d(t,"itemStyle"),d(t,"controlStyle",!0);var e=t.data;u.isArray(e)&&u.each(e,function(t){u.isObject(t)&&(d(t,"label"),d(t,"itemStyle"))})}),i(a(e.toolbox),function(t){d(t,"iconStyle"),i(t.feature,function(t){d(t,"iconStyle")})}),f(o(e.axisPointer),"label"),f(o(e.tooltip).axisPointer,"label")}},2577:function(t,e,n){var i=n(768),a=i.createHashMap,o=i.each;function r(m){o(m,function(c,h){var d=[],p=[NaN,NaN],t=[c.stackResultDimension,c.stackedOverDimension],f=c.data,g=c.isStackedByIndex,e=f.map(t,function(t,e,n){var i,a,o=f.get(c.stackedDimension,n);if(isNaN(o))return p;g?a=f.getRawIndex(n):i=f.get(c.stackedByDimension,n);for(var r=NaN,s=h-1;0<=s;s--){var l=m[s];if(g||(a=l.data.rawIndexOf(l.stackedByDimension,i)),0<=a){var u=l.data.getByRawIndex(l.stackResultDimension,a);if(0<=o&&0<u||o<=0&&u<0){o+=u,r=u;break}}}return d[0]=o,d[1]=r,d});f.hostModel.setData(e),c.data=e})}t.exports=function(t){var o=a();t.eachSeries(function(t){var e=t.get("stack");if(e){var n=o.get(e)||o.set(e,[]),i=t.getData(),a={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:t};if(!a.stackedDimension||!a.isStackedByIndex&&!a.stackedByDimension)return;n.length&&i.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(a)}}),o.each(r)}},2578:function(t,e,n){var s=n(1687),i={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),o=(e.visualColorAccessPath||"itemStyle.color").split("."),i=e.get(o)||e.getColorFromPalette(e.name,null,t.getSeriesCount());n.setVisual("color",i);var r=(e.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),a=e.get(r);if(n.setVisual("borderColor",a),!t.isSeriesFiltered(e)){"function"!=typeof i||i instanceof s||n.each(function(t){n.setItemVisual(t,"color",i(e.getDataParams(t)))});return{dataEach:n.hasItemOption?function(t,e){var n=t.getItemModel(e),i=n.get(o,!0),a=n.get(r,!0);null!=i&&t.setItemVisual(e,"color",i),null!=a&&t.setItemVisual(e,"borderColor",a)}:null}}}};t.exports=i},2579:function(t,e,n){var r=n(768),v=n(1466),y=n(1503).retrieveRawValue;t.exports=function(t,e){var o=e.getModel("aria");if(o.get("show"))if(o.get("description"))t.setAttribute("aria-label",o.get("description"));else{var h=0;e.eachSeries(function(t,e){++h},this);var n,d=o.get("data.maxCount")||10,i=o.get("series.maxCount")||10,p=Math.min(h,i);if(!(h<1)){var a=function(){var t=e.getModel("title").option;t&&t.length&&(t=t[0]);return t&&t.text}();n=a?g(m("general.withTitle"),{title:a}):m("general.withoutTitle");var f=[];n+=g(m(1<h?"series.multiple.prefix":"series.single.prefix"),{seriesCount:h}),e.eachSeries(function(t,e){if(e<p){var n,i=t.get("name"),a="series."+(1<h?"multiple":"single")+".";n=g(n=m(i?a+"withName":a+"withoutName"),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(c=t.subType,v.series.typeNames[c]||"自定义图")});var o=t.getData();(window.data=o).count()>d?n+=g(m("data.partialData"),{displayCnt:d}):n+=m("data.allData");for(var r=[],s=0;s<o.count();s++)if(s<d){var l=o.getName(s),u=y(o,s);r.push(g(m(l?"data.withName":"data.withoutName"),{name:l,value:u}))}n+=r.join(m("data.separator.middle"))+m("data.separator.end"),f.push(n)}var c}),n+=f.join(m("series.multiple.separator.middle"))+m("series.multiple.separator.end"),t.setAttribute("aria-label",n)}}function g(t,e){if("string"!=typeof t)return t;var n=t;return r.each(e,function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)}),n}function m(t){var e=o.get(t);if(null!=e)return e;for(var n=t.split("."),i=v.aria,a=0;a<n.length;++a)i=i[n[a]];return i}}},2580:function(t,e,n){var s=n(768),l=n(852),u=Math.PI;t.exports=function(i,t){t=t||{},s.defaults(t,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var a=new l.Rect({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4}),o=new l.Arc({shape:{startAngle:-u/2,endAngle:-u/2+.1,r:10},style:{stroke:t.color,lineCap:"round",lineWidth:5},zlevel:t.zlevel,z:10001}),r=new l.Rect({style:{fill:"none",text:t.text,textPosition:"right",textDistance:10,textFill:t.textColor},zlevel:t.zlevel,z:10001});o.animateShape(!0).when(1e3,{endAngle:3*u/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:3*u/2}).delay(300).start("circularInOut");var e=new l.Group;return e.add(o),e.add(r),e.add(a),e.resize=function(){var t=i.getWidth()/2,e=i.getHeight()/2;o.setShape({cx:t,cy:e});var n=o.shape.r;r.setShape({x:t-n,y:e-n,width:2*n,height:2*n}),a.setShape({x:0,y:0,width:i.getWidth(),height:i.getHeight()})},e.resize(),e}},2581:function(t,e,n){var i=n(768),f=i.each,a=i.map,o=i.isFunction,p=i.createHashMap,r=i.noop,g=n(1808).createTask,s=n(1594).getUID,l=n(2124),u=n(2138),c=n(987).normalizeToArray;function h(t,e,n,i){this.ecInstance=t,this.api=e,this.unfinished;n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice();this._allHandlers=n.concat(i),this._stageTaskMap=p()}var d=h.prototype;function m(l,t,u,c,h){var d;function p(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}h=h||{},f(t,function(i,t){if(!h.visualType||h.visualType===i.visualType){var e=l._stageTaskMap.get(i.uid),n=e.seriesTaskMap,a=e.overallTask;if(a){var o,r=a.agentStubMap;r.each(function(t){p(h,t)&&(t.dirty(),o=!0)}),o&&a.dirty(),v(a,c);var s=l.getPerformArgs(a,h.block);r.each(function(t){t.perform(s)}),d|=a.perform(s)}else n&&n.each(function(t,e){p(h,t)&&t.dirty();var n=l.getPerformArgs(t,h.block);n.skip=!i.performRawSeries&&u.isSeriesFiltered(t.context.model),v(t,c),d|=t.perform(n)})}}),l.unfinished|=d}d.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},d.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,a=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:a,modBy:null!=o?Math.ceil(o/a):null,modDataCount:o}}},d.getPipeline=function(t){return this._pipelineMap.get(t)},d.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),a=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),r="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:a,modDataCount:r,large:o}},d.restorePipelines=function(t){var i=this,a=i._pipelineMap=p();t.eachSeries(function(t){var e=t.getProgressive(),n=t.uid;a.set(n,{id:n,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:e&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(e||700),count:0}),I(i,t,t.dataTask)})},d.prepareStageTasks=function(){var n=this._stageTaskMap,i=this.ecInstance.getModel(),a=this.api;f(this._allHandlers,function(t){var e=n.get(t.uid)||n.set(t.uid,[]);t.reset&&function(i,a,t,o,r){var s=t.seriesTaskMap||(t.seriesTaskMap=p()),e=a.seriesType,n=a.getTargetSeries;a.createOnAllSeries?o.eachRawSeries(l):e?o.eachRawSeriesByType(e,l):n&&n(o,r).each(l);function l(t){var e=t.uid,n=s.get(e)||s.set(e,g({plan:b,reset:w,count:M}));n.context={model:t,ecModel:o,api:r,useClearVisual:a.isVisual&&!a.isLayout,plan:a.plan,reset:a.reset,scheduler:i},I(i,t,n)}var u=i._pipelineMap;s.each(function(t,e){u.get(e)||(t.dispose(),s.removeKey(e))})}(this,t,e,i,a),t.overallReset&&function(i,t,e,n,a){var o=e.overallTask=e.overallTask||g({reset:y});o.context={ecModel:n,api:a,overallReset:t.overallReset,scheduler:i};var r=o.agentStubMap=o.agentStubMap||p(),s=t.seriesType,l=t.getTargetSeries,u=!0,c=t.modifyOutputEnd;s?n.eachRawSeriesByType(s,h):l?l(n,a).each(h):(u=!1,f(n.getSeries(),h));function h(t){var e=t.uid,n=r.get(e);n||(n=r.set(e,g({reset:x,onDirty:A})),o.dirty()),n.context={model:t,overallProgress:u,modifyOutputEnd:c},n.agent=o,n.__block=u,I(i,t,n)}var d=i._pipelineMap;r.each(function(t,e){d.get(e)||(t.dispose(),o.dirty(),r.removeKey(e))})}(this,t,e,i,a)},this)},d.prepareView=function(t,e,n,i){var a=t.renderTask,o=a.context;o.model=e,o.ecModel=n,o.api=i,a.__block=!t.incrementalPrepareRender,I(this,e,a)},d.performDataProcessorTasks=function(t,e){m(this,this._dataProcessorHandlers,t,e,{block:!0})},d.performVisualTasks=function(t,e,n){m(this,this._visualHandlers,t,e,n)},d.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e|=t.dataTask.perform()}),this.unfinished|=e},d.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})};var v=d.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function y(t){t.overallReset(t.ecModel,t.api,t.payload)}function x(t,e){return t.overallProgress&&_}function _(){this.agent.dirty(),this.getDownstream().dirty()}function A(){this.agent&&this.agent.dirty()}function b(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function w(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=c(t.reset(t.model,t.ecModel,t.api,t.payload));return 1<e.length?a(e,function(t,e){return C(e)}):S}var S=C(0);function C(o){return function(t,e){var n=e.data,i=e.resetDefines[o];if(i&&i.dataEach)for(var a=t.start;a<t.end;a++)i.dataEach(n,a);else i&&i.progress&&i.progress(t,n)}}function M(t){return t.data.count()}function I(t,e,n){var i=e.uid,a=t._pipelineMap.get(i);a.head||(a.head=n),a.tail&&a.tail.pipe(n),(a.tail=n).__idxInPipeline=a.count++,n.__pipeline=a}h.wrapStageHandler=function(t,e){return o(t)&&(t={overallReset:t,seriesType:function(t){T=null;try{t(D,k)}catch(t){}return T}(t)}),t.uid=s("stageHandler"),e&&(t.visualType=e),t};var T,D={},k={};function P(t,e){for(var n in e.prototype)t[n]=r}P(D,l),P(k,u),D.eachSeriesByType=D.eachRawSeriesByType=function(t){T=t},D.eachComponent=function(t){"series"===t.mainType&&t.subType&&(T=t.subType)};var L=h;t.exports=L},2582:function(t,e){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]};t.exports=i},2583:function(t,e){function n(){return{axisLine:{lineStyle:{color:i}},axisTick:{lineStyle:{color:i}},axisLabel:{textStyle:{color:i}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:i}}}}var i="#eee",a=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],o={color:a,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:i},crossStyle:{color:i}}},legend:{textStyle:{color:i}},textStyle:{color:i},title:{textStyle:{color:i}},toolbox:{iconStyle:{normal:{borderColor:i}}},dataZoom:{textStyle:{color:i}},visualMap:{textStyle:{color:i}},timeline:{lineStyle:{color:i},itemStyle:{normal:{color:a[1]}},label:{normal:{textStyle:{color:i}}},controlStyle:{normal:{color:i,borderColor:i}}},timeAxis:n(),logAxis:n(),valueAxis:n(),categoryAxis:n(),line:{symbol:"circle"},graph:{color:a},gauge:{title:{textStyle:{color:i}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};o.categoryAxis.splitLine.show=!1;var r=o;t.exports=r},2584:function(t,e,n){var i=n(1224).extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var n=e.cx,i=e.cy,a=e.rx,o=e.ry,r=.5522848*a,s=.5522848*o;t.moveTo(n-a,i),t.bezierCurveTo(n-a,i-s,n-r,i-o,n,i-o),t.bezierCurveTo(n+r,i-o,n+a,i-s,n+a,i),t.bezierCurveTo(n+a,i+s,n+r,i+o,n,i+o),t.bezierCurveTo(n-r,i+o,n-a,i+s,n-a,i),t.closePath()}});t.exports=i},2585:function(t,e,n){var a=n(768),i=n(1428),o=n(1382),r=n(1553),s=n(1241),l=n(1146);l.getLayoutRect;e.getLayoutRect=l.getLayoutRect;var u=n(1413),c=u.enableDataStack,h=u.isDimensionStacked,d=u.getStackedDimension,p=n(2142);e.completeDimensions=p;var f=n(1552);e.createDimensions=f;var g=n(1321);e.createSymbol=g.createSymbol;var m={isDimensionStacked:h,enableDataStack:c,getStackedDimension:d};e.createList=function(t){return i(t.getSource(),t)},e.dataStack=m,e.createScale=function(t,e){var n=e;s.isInstance(e)||(n=new s(e),a.mixin(n,r));var i=o.createScaleByModel(n);return i.setExtent(t[0],t[1]),o.niceScaleExtent(i,n),i},e.mixinAxisModelCommonMethods=function(t){a.mixin(t,r)}},2586:function(t,e,n){var i=n(768),a=n(1690),o=n(2143),r=a.prototype,s=a.extend({type:"ordinal",init:function(t,e){t&&!i.isArray(t)||(t=new o({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"==typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),r.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return r.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(r.scale.call(this,t))},getTicks:function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push(n),n++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:i.noop,niceExtent:i.noop});s.create=function(){return new s};var l=s;t.exports=l},2587:function(t,e,n){var i=n(768),p=n(965),a=n(1153),f=n(2144),o=n(1691),r=o.prototype,g=Math.ceil,m=Math.floor,s=864e5,l=o.extend({type:"time",getLabel:function(t){var e=this._stepLvl,n=new Date(t);return a.formatTime(e[0],n,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=s,e[1]+=s),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-s}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=p.round(m(e[0]/i)*i)),t.fixMax||(e[1]=p.round(g(e[1]/i)*i))},niceTicks:function(t,e,n){t=t||10;var i=this._extent,a=i[1]-i[0],o=a/t;null!=e&&o<e&&(o=e),null!=n&&n<o&&(o=n);var r=v.length,s=function(t,e,n,i){for(;n<i;){var a=n+i>>>1;t[a][1]<e?n=1+a:i=a}return n}(v,o,0,r),l=v[Math.min(s,r-1)],u=l[1];if("year"===l[0]){var c=a/u;u*=p.nice(c/t,!0)}var h=this.getSetting("useUTC")?0:60*new Date(+i[0]||+i[1]).getTimezoneOffset()*1e3,d=[Math.round(g((i[0]-h)/u)*u+h),Math.round(m((i[1]-h)/u)*u+h)];f.fixExtent(d,i),this._stepLvl=l,this._interval=u,this._niceExtent=d},parse:function(t){return+p.parseDate(t)}});i.each(["contain","normalize"],function(e){l.prototype[e]=function(t){return r[e].call(this,this.parse(t))}});var v=[["hh:mm:ss",1e3],["hh:mm:ss",5e3],["hh:mm:ss",1e4],["hh:mm:ss",15e3],["hh:mm:ss",3e4],["hh:mm\nMM-dd",6e4],["hh:mm\nMM-dd",3e5],["hh:mm\nMM-dd",6e5],["hh:mm\nMM-dd",9e5],["hh:mm\nMM-dd",18e5],["hh:mm\nMM-dd",36e5],["hh:mm\nMM-dd",72e5],["hh:mm\nMM-dd",216e5],["hh:mm\nMM-dd",432e5],["MM-dd\nyyyy",s],["MM-dd\nyyyy",2*s],["MM-dd\nyyyy",3*s],["MM-dd\nyyyy",4*s],["MM-dd\nyyyy",432e6],["MM-dd\nyyyy",6*s],["week",7*s],["MM-dd\nyyyy",864e6],["week",14*s],["week",21*s],["month",31*s],["week",42*s],["month",62*s],["week",6048e6],["quarter",8208e6],["month",107136e5],["month",13392e6],["half-year",16416e6],["month",214272e5],["month",26784e6],["year",32832e6]];l.create=function(t){return new l({useUTC:t.ecModel.get("useUTC")})};var u=l;t.exports=u},2588:function(t,e,n){var l=n(768),M=n(1319),i=n(987).makeInner,a=n(1382),I=a.makeLabelFormatter,u=a.getOptionCategoryInterval,m=a.shouldShowAllLabels,T=i();function c(t,e){var n,i,a,o=h(t,"labels"),r=u(e),s=d(o,r);return s||p(o,r,{labels:l.isFunction(r)?g(t,r):f(t,n="auto"===r?null!=(a=T(i=t).autoInterval)?a:T(i).autoInterval=i.calculateCategoryInterval():r),labelCategoryInterval:n})}function h(t,e){return T(t)[e]||(T(t)[e]=[])}function d(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function p(t,e,n){return t.push({key:e,value:n}),n}function f(t,e,n){var i=I(t),a=t.scale,o=a.getExtent(),r=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],c=a.count();0!==u&&1<l&&2<c/l&&(u=Math.round(Math.ceil(u/l)*l));var h=m(t),d=r.get("showMinLabel")||h,p=r.get("showMaxLabel")||h;d&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){s.push(n?t:{formattedLabel:i(t),rawLabel:a.getLabel(t),tickValue:t})}return p&&f-l!==o[1]&&g(o[1]),s}function g(t,n,i){var a=t.scale,o=I(t),r=[];return l.each(a.getTicks(),function(t){var e=a.getLabel(t);n(t,e)&&r.push(i?t:{formattedLabel:o(t),rawLabel:e,tickValue:t})}),r}e.createAxisLabels=function(t){return"category"===t.type?(o=(a=t).getLabelModel(),r=c(a,o),!o.get("show")||a.scale.isBlank()?{labels:[],labelCategoryInterval:r.labelCategoryInterval}:r):(e=(n=t).scale.getTicks(),i=I(n),{labels:l.map(e,function(t,e){return{formattedLabel:i(t,e),rawLabel:n.scale.getLabel(t),tickValue:t}})});var n,e,i,a,o,r},e.createAxisTicks=function(t,e){return"category"===t.type?function(t,e){var n,i,a=h(t,"ticks"),o=u(e),r=d(a,o);if(r)return r;e.get("show")&&!t.scale.isBlank()||(n=[]);if(l.isFunction(o))n=g(t,o,!0);else if("auto"===o){var s=c(t,t.getLabelModel());i=s.labelCategoryInterval,n=l.map(s.labels,function(t){return t.tickValue})}else n=f(t,i=o,!0);return p(a,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:t.scale.getTicks()}},e.calculateCategoryInterval=function(t){var e,n,i=(n=(e=t).getLabelModel(),{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:n.get("rotate")||0,font:n.getFont()}),a=I(t),o=(i.axisRotate-i.labelRotate)/180*Math.PI,r=t.scale,s=r.getExtent(),l=r.count();if(s[1]-s[0]<1)return 0;var u=1;40<l&&(u=Math.max(1,Math.floor(l/40)));for(var c=s[0],h=t.dataToCoord(c+1)-t.dataToCoord(c),d=Math.abs(h*Math.cos(o)),p=Math.abs(h*Math.sin(o)),f=0,g=0;c<=s[1];c+=u){var m,v,y=M.getBoundingRect(a(c),i.font,"center","top");m=1.3*y.width,v=1.3*y.height,f=Math.max(f,m,7),g=Math.max(g,v,7)}var x=f/d,_=g/p;isNaN(x)&&(x=1/0),isNaN(_)&&(_=1/0);var A=Math.max(0,Math.floor(Math.min(x,_))),b=T(t.model),w=t.getExtent(),S=b.lastAutoInterval,C=b.lastTickCount;return null!=S&&null!=C&&Math.abs(S-A)<=1&&Math.abs(C-l)<=1&&A<S&&b.axisExtend0===w[0]&&b.axisExtend1===w[1]?A=S:(b.lastTickCount=l,b.lastAutoInterval=A,b.axisExtend0=w[0],b.axisExtend1=w[1]),A}},2589:function(t,e,n){var i=n(789);n(2590),n(2591);var a=n(1505),o=n(1600),r=n(2593);n(1601),i.registerVisual(a("line","circle","line")),i.registerLayout(o("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,r("line"))},2590:function(t,e,n){n(1127).__DEV__;var i=n(1428),a=n(1246).extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return i(this.getSource(),this)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=a},2591:function(t,e,n){n(1127).__DEV__;var T=n(768),i=n(1598),l=n(1693),y=n(2592),D=n(852),u=n(987),a=n(2150),o=a.Polyline,r=a.Polygon,c=n(1412),s=n(2149),k=s.prepareDataCoordInfo,P=s.getStackedOnPoint,h=n(1599),d=h.createGridClipPath,p=h.createPolarClipPath;function L(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++){var i=t[n],a=e[n];if(i[0]!==a[0]||i[1]!==a[1])return}return!0}}function B(t){return"number"==typeof t?t:t?.5:0}function E(t,e,n){for(var i=e.getBaseAxis(),a="x"===i.dim||"radius"===i.dim?0:1,o=[],r=0;r<t.length-1;r++){var s=t[r+1],l=t[r];o.push(l);var u=[];switch(n){case"end":u[a]=s[a],u[1-a]=l[1-a],o.push(u);break;case"middle":var c=(l[a]+s[a])/2,h=[];u[a]=h[a]=c,u[1-a]=l[1-a],h[1-a]=s[1-a],o.push(u),o.push(h);break;default:u[a]=l[a],u[1-a]=s[1-a],o.push(u)}}return t[r]&&o.push(t[r]),o}function O(t,e,n){var i=t.get("showAllSymbol"),a="auto"===i;if(!i||a){var o=n.getAxesByScale("ordinal")[0];if(o&&(!a||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var a=e.count(),o=Math.max(1,Math.round(a/5)),r=0;r<a;r+=o)if(1.5*l.getSymbolSize(e,r)[t.isHorizontal()?1:0]>i)return!1;return!0}(o,e))){var r=e.mapDimension(o.dim),s={};return T.each(o.getViewLabels(),function(t){s[t.tickValue]=1}),function(t){return!s.hasOwnProperty(e.get(r,t))}}}}function N(t,e,n){if("cartesian2d"!==t.type)return p(t,e,n);var i=t.getBaseAxis().isHorizontal(),a=d(t,e,n);if(!n.get("clip",!0)){var o=a.shape,r=Math.max(o.width,o.height);i?(o.y-=r,o.height+=2*r):(o.x-=r,o.width+=2*r)}return a}var f=c.extend({type:"line",init:function(){var t=new D.Group,e=new i;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,n){var i=t.coordinateSystem,a=this.group,o=t.getData(),r=t.getModel("lineStyle"),s=t.getModel("areaStyle"),l=o.mapArray(o.getItemLayout),u="polar"===i.type,c=this._coordSys,h=this._symbolDraw,d=this._polyline,p=this._polygon,f=this._lineGroup,g=t.get("animation"),m=!s.isEmpty(),v=s.get("origin"),y=function(t,e,n){if(!n.valueDim)return[];for(var i=[],a=0,o=e.count();a<o;a++)i.push(P(n,t,e,a));return i}(i,o,k(i,o,v)),x=t.get("showSymbol"),_=x&&!u&&O(t,o,i),A=this._data;A&&A.eachItemGraphicEl(function(t,e){t.__temp&&(a.remove(t),A.setItemGraphicEl(e,null))}),x||h.remove(),a.add(f);var b,w=!u&&t.get("step");i&&i.getArea&&(null!=(b=i.getArea()).width?(b.x-=.1,b.y-=.1,b.width+=.2,b.height+=.2):b.r0&&(b.r0-=.5,b.r1+=.5)),d&&c.type===i.type&&w===this._step?(m&&!p?p=this._newPolygon(l,y,i,g):p&&!m&&(f.remove(p),p=this._polygon=null),f.setClipPath(N(i,!1,t)),x&&h.updateData(o,{isIgnore:_,clipShape:b}),o.eachItemGraphicEl(function(t){t.stopAnimation(!0)}),L(this._stackedOnPoints,y)&&L(this._points,l)||(g?this._updateAnimation(o,y,i,n,w,v):(w&&(l=E(l,i,w),y=E(y,i,w)),d.setShape({points:l}),p&&p.setShape({points:l,stackedOnPoints:y})))):(x&&h.updateData(o,{isIgnore:_,clipShape:b}),w&&(l=E(l,i,w),y=E(y,i,w)),d=this._newPolyline(l,i,g),m&&(p=this._newPolygon(l,y,i,g)),f.setClipPath(N(i,!0,t)));var S=function(t,e){var n=t.getVisual("visualMeta");if(n&&n.length&&t.count()&&"cartesian2d"===e.type){for(var i,a,o=n.length-1;0<=o;o--){var r=n[o].dimension,s=t.dimensions[r],l=t.getDimensionInfo(s);if("x"===(i=l&&l.coordDim)||"y"===i){a=n[o];break}}if(a){var u=e.getAxis(i),c=T.map(a.stops,function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}}),h=c.length,d=a.outerColors.slice();h&&c[0].coord>c[h-1].coord&&(c.reverse(),d.reverse());var p=c[0].coord-10,f=c[h-1].coord+10,g=f-p;if(g<.001)return"transparent";T.each(c,function(t){t.offset=(t.coord-p)/g}),c.push({offset:h?c[h-1].offset:.5,color:d[1]||"transparent"}),c.unshift({offset:h?c[0].offset:.5,color:d[0]||"transparent"});var m=new D.LinearGradient(0,0,0,0,c,!0);return m[i]=p,m[i+"2"]=f,m}}}(o,i)||o.getVisual("color");d.useStyle(T.defaults(r.getLineStyle(),{fill:"none",stroke:S,lineJoin:"bevel"}));var C=t.get("smooth");if(C=B(t.get("smooth")),d.setShape({smooth:C,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),p){var M=o.getCalculationInfo("stackedOnSeries"),I=0;p.useStyle(T.defaults(s.getAreaStyle(),{fill:S,opacity:.7,lineJoin:"bevel"})),M&&(I=B(M.get("smooth"))),p.setShape({smooth:C,stackedOnSmooth:I,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=o,this._coordSys=i,this._stackedOnPoints=y,this._points=l,this._step=w,this._valueOrigin=v},dispose:function(){},highlight:function(t,e,n,i){var a=t.getData(),o=u.queryDataIndex(a,i);if(!(o instanceof Array)&&null!=o&&0<=o){var r=a.getItemGraphicEl(o);if(!r){var s=a.getItemLayout(o);if(!s)return;(r=new l(a,o)).position=s,r.setZ(t.get("zlevel"),t.get("z")),r.ignore=isNaN(s[0])||isNaN(s[1]),r.__temp=!0,a.setItemGraphicEl(o,r),r.stopSymbolAnimation(!0),this.group.add(r)}r.highlight()}else c.prototype.highlight.call(this,t,e,n,i)},downplay:function(t,e,n,i){var a=t.getData(),o=u.queryDataIndex(a,i);if(null!=o&&0<=o){var r=a.getItemGraphicEl(o);r&&(r.__temp?(a.setItemGraphicEl(o,null),this.group.remove(r)):r.downplay())}else c.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new o({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new r({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n},_updateAnimation:function(t,e,n,i,a,o){var r=this._polyline,s=this._polygon,l=t.hostModel,u=y(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,o),c=u.current,h=u.stackedOnCurrent,d=u.next,p=u.stackedOnNext;a&&(c=E(u.current,n,a),h=E(u.stackedOnCurrent,n,a),d=E(u.next,n,a),p=E(u.stackedOnNext,n,a)),r.shape.__points=u.current,r.shape.points=c,D.updateProps(r,{shape:{points:d}},l),s&&(s.setShape({points:c,stackedOnPoints:h}),D.updateProps(s,{shape:{points:d,stackedOnPoints:p}},l));for(var f=[],g=u.status,m=0;m<g.length;m++){if("="===g[m].cmd){var v=t.getItemGraphicEl(g[m].idx1);v&&f.push({el:v,ptIdx:m})}}r.animators&&r.animators.length&&r.animators[0].during(function(){for(var t=0;t<f.length;t++){f[t].el.attr("position",r.shape.__points[f[t].ptIdx])}})},remove:function(t){var n=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl(function(t,e){t.__temp&&(n.remove(t),i.setItemGraphicEl(e,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});t.exports=f},2592:function(t,e,n){var i=n(2149),L=i.prepareDataCoordInfo,B=i.getStackedOnPoint;t.exports=function(t,e,n,i,a,o,r,s){for(var l,u,c=(l=t,u=[],e.diff(l).add(function(t){u.push({cmd:"+",idx:t})}).update(function(t,e){u.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){u.push({cmd:"-",idx:t})}).execute(),u),h=[],d=[],p=[],f=[],g=[],m=[],v=[],y=L(a,e,r),x=L(o,t,s),_=0;_<c.length;_++){var A=c[_],b=!0;switch(A.cmd){case"=":var w=t.getItemLayout(A.idx),S=e.getItemLayout(A.idx1);(isNaN(w[0])||isNaN(w[1]))&&(w=S.slice()),h.push(w),d.push(S),p.push(n[A.idx]),f.push(i[A.idx1]),v.push(e.getRawIndex(A.idx1));break;case"+":var C=A.idx;h.push(a.dataToPoint([e.get(y.dataDimsForPoint[0],C),e.get(y.dataDimsForPoint[1],C)])),d.push(e.getItemLayout(C).slice()),p.push(B(y,a,e,C)),f.push(i[C]),v.push(e.getRawIndex(C));break;case"-":C=A.idx;var M=t.getRawIndex(C);M!==C?(h.push(t.getItemLayout(C)),d.push(o.dataToPoint([t.get(x.dataDimsForPoint[0],C),t.get(x.dataDimsForPoint[1],C)])),p.push(n[C]),f.push(B(x,o,t,C)),v.push(M)):b=!1}b&&(g.push(A),m.push(m.length))}m.sort(function(t,e){return v[t]-v[e]});var I=[],T=[],D=[],k=[],P=[];for(_=0;_<m.length;_++){C=m[_];I[_]=h[C],T[_]=d[C],D[_]=p[C],k[_]=f[C],P[_]=g[C]}return{current:I,next:T,stackedOnCurrent:D,stackedOnNext:k,status:P}}},2593:function(t,e){function d(t,e){return Math.round(t.length/2)}var p={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)isNaN(t[i])||(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}};t.exports=function(t){return{seriesType:t,modifyOutputEnd:!0,reset:function(t,e,n){var i=t.getData(),a=t.get("sampling"),o=t.coordinateSystem;if("cartesian2d"===o.type&&a){var r,s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),c=u[1]-u[0],h=Math.round(i.count()/c);if(1<h)"string"==typeof a?r=p[a]:"function"==typeof a&&(r=a),r&&t.setData(i.downSample(i.mapDimension(l.dim),1/h,r,d))}}}}},2594:function(t,e,n){var i=n(768),r=n(1152),a=n(2595);function o(t){a.call(this,t)}o.prototype={constructor:o,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,n){var i=this.getAxis("x"),a=this.getAxis("y");return(n=n||[])[0]=i.toGlobalCoord(i.dataToCoord(t[0])),n[1]=a.toGlobalCoord(a.dataToCoord(t[1])),n},clampData:function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,a=n.getExtent(),o=i.getExtent(),r=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(a[0],a[1]),r),Math.max(a[0],a[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},pointToData:function(t,e){var n=this.getAxis("x"),i=this.getAxis("y");return(e=e||[])[0]=n.coordToData(n.toLocalCoord(t[0])),e[1]=i.coordToData(i.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")},getArea:function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]),a=Math.max(t[0],t[1])-n,o=Math.max(e[0],e[1])-i;return new r(n,i,a,o)}},i.inherits(o,a);var s=o;t.exports=s},2595:function(t,e,n){var i=n(768);function a(t){return this._axes[t]}function o(t){this._axes={},this._dimList=[],this.name=t||""}o.prototype={constructor:o,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return i.map(this._dimList,a,this)},getAxesByScale:function(e){return e=e.toLowerCase(),i.filter(this.getAxes(),function(t){return t.scale.type===e})},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var n=this._dimList,i=t instanceof Array?[]:{},a=0;a<n.length;a++){var o=n[a],r=this._axes[o];i[o]=r[e](t[o])}return i}};var r=o;t.exports=r},2596:function(t,e,n){function i(t,e,n,i,a){o.call(this,t,e,n),this.type=i||"value",this.position=a||"bottom"}var a=n(768),o=n(1467);i.prototype={constructor:i,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},a.inherits(i,o);var r=i;t.exports=r},2597:function(t,e,n){n(2151);var i=n(1245).extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=i},2598:function(t,e,n){n(2151),n(2599)},2599:function(t,e,n){var b=n(768),w=n(852),l=n(1468),i=n(1506),u=n(2153),c=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine"],d=i.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(e,t,n,i){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new w.Group,this.group.add(this._axisGroup),e.get("show")){var o=e.getCoordSysModel(),r=u.layout(o,e),s=new l(e,r);b.each(c,s.add,s),this._axisGroup.add(s.getGroup()),b.each(h,function(t){e.get(t+".show")&&this["_"+t](e,o)},this),w.groupTransition(a,this._axisGroup,e),d.superCall(this,"render",e,t,n,i)}},remove:function(){this._splitAreaColors=null},_splitLine:function(t,e){var n=t.axis;if(!n.scale.isBlank()){var i=t.getModel("splitLine"),a=i.getModel("lineStyle"),o=a.get("color");o=b.isArray(o)?o:[o];for(var r=e.coordinateSystem.getRect(),s=n.isHorizontal(),l=0,u=n.getTicksCoords({tickModel:i}),c=[],h=[],d=a.getLineStyle(),p=0;p<u.length;p++){var f=n.toGlobalCoord(u[p].coord);s?(c[0]=f,c[1]=r.y,h[0]=f,h[1]=r.y+r.height):(c[0]=r.x,c[1]=f,h[0]=r.x+r.width,h[1]=f);var g=l++%o.length,m=u[p].tickValue;this._axisGroup.add(new w.Line({anid:null!=m?"line_"+u[p].tickValue:null,subPixelOptimize:!0,shape:{x1:c[0],y1:c[1],x2:h[0],y2:h[1]},style:b.defaults({stroke:o[g]},d),silent:!0}))}}},_splitArea:function(t,e){var n=t.axis;if(!n.scale.isBlank()){var i=t.getModel("splitArea"),a=i.getModel("areaStyle"),o=a.get("color"),r=e.coordinateSystem.getRect(),s=n.getTicksCoords({tickModel:i,clamp:!0});if(s.length){var l=o.length,u=this._splitAreaColors,c=b.createHashMap(),h=0;if(u)for(var d=0;d<s.length;d++){var p=u.get(s[d].tickValue);if(null!=p){h=(p+(l-1)*d)%l;break}}var f=n.toGlobalCoord(s[0].coord),g=a.getAreaStyle();o=b.isArray(o)?o:[o];for(d=1;d<s.length;d++){var m,v,y,x,_=n.toGlobalCoord(s[d].coord);f=n.isHorizontal()?(m=f,v=r.y,y=_-m,x=r.height,m+y):(m=r.x,v=f,y=r.width,v+(x=_-v));var A=s[d-1].tickValue;null!=A&&c.set(A,h),this._axisGroup.add(new w.Rect({anid:null!=A?"area_"+A:null,shape:{x:m,y:v,width:y,height:x},style:b.defaults({fill:o[h]},g),silent:!0})),h=(h+1)%l}this._splitAreaColors=c}}}});d.extend({type:"xAxis"}),d.extend({type:"yAxis"})},2600:function(t,e,n){var i=n(789),a=n(768),o=n(1692),r=o.layout,s=o.largeLayout;n(1811),n(2601),n(2602),n(1601),i.registerLayout(i.PRIORITY.VISUAL.LAYOUT,a.curry(r,"bar")),i.registerLayout(i.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),i.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},2601:function(t,e,n){var i=n(2154).extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return t<e&&(t=e),t},defaultOption:{clip:!0,roundCap:!1}});t.exports=i},2602:function(t,e,n){n(1127).__DEV__;var i=n(789),f=n(768),g=n(852),m=n(2155).setLabel,a=n(1241),o=n(2603),r=n(1224),s=n(1465).throttle,l=n(1599).createClipPath,c=n(2604),u=["itemStyle","barBorderWidth"],y=[0,0];f.extend(a.prototype,o);var h=i.extendChartView({type:"bar",render:function(t,e,n){this._updateDrawMode(t);var i=t.get("coordinateSystem");return"cartesian2d"!==i&&"polar"!==i||(this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n)),this.group},incrementalPrepareRender:function(t,e,n){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,n,i){this._incrementalRenderLarge(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(o,t,e){var r,s=this.group,l=o.getData(),u=this._data,c=o.coordinateSystem,n=c.getBaseAxis();"cartesian2d"===c.type?r=n.isHorizontal():"polar"===c.type&&(r="angle"===n.dim);var h=o.isAnimationEnabled()?o:null,d=o.get("clip",!0),p=function(t,e){var n=t.getArea&&t.getArea();if("cartesian2d"===t.type){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var a=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=a,n.width+=2*a):(n.y-=a,n.height+=2*a)}}return n}(c,l);s.removeClipPath();var f=o.get("roundCap",!0);l.diff(u).add(function(t){if(l.hasValue(t)){var e=l.getItemModel(t),n=b[c.type](l,t,e);if(d)if(v[c.type](p,n))return void s.remove(i);var i=x[c.type](t,n,r,h,!1,f);l.setItemGraphicEl(t,i),s.add(i),w(i,l,t,e,n,o,r,"polar"===c.type)}}).update(function(t,e){var n=u.getItemGraphicEl(e);if(l.hasValue(t)){var i=l.getItemModel(t),a=b[c.type](l,t,i);if(d)if(v[c.type](p,a))return void s.remove(n);n?g.updateProps(n,{shape:a},h,t):n=x[c.type](t,a,r,h,!0,f),l.setItemGraphicEl(t,n),s.add(n),w(n,l,t,i,a,o,r,"polar"===c.type)}else s.remove(n)}).remove(function(t){var e=u.getItemGraphicEl(t);"cartesian2d"===c.type?e&&_(t,h,e):e&&A(t,h,e)}).execute(),this._data=l},_renderLarge:function(t,e,n){this._clear(),C(t,this.group);var i=t.get("clip",!0)?l(t.coordinateSystem,!1,t):null;i?this.group.setClipPath(i):this.group.removeClipPath()},_incrementalRenderLarge:function(t,e){C(e,this.group,!0)},dispose:f.noop,remove:function(t){this._clear(t)},_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):_(t.dataIndex,e,t)}):t.removeAll(),this._data=null}}),d=Math.max,p=Math.min,v={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var a=d(e.x,t.x),o=p(e.x+e.width,t.x+t.width),r=d(e.y,t.y),s=p(e.y+e.height,t.y+t.height);e.x=a,e.y=r,e.width=o-a,e.height=s-r;var l=e.width<0||e.height<0;return n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),l},polar:function(t){return!1}},x={cartesian2d:function(t,e,n,i,a){var o=new g.Rect({shape:f.extend({},e)});if(i){var r=n?"height":"width",s={};o.shape[r]=0,s[r]=e[r],g[a?"updateProps":"initProps"](o,{shape:s},i,t)}return o},polar:function(t,e,n,i,a,o){var r=e.startAngle<e.endAngle,s=new(!n&&o?c:g.Sector)({shape:f.defaults({clockwise:r},e)});if(i){var l=n?"r":"endAngle",u={};s.shape[l]=n?0:e.startAngle,u[l]=e[l],g[a?"updateProps":"initProps"](s,{shape:u},i,t)}return s}};function _(t,e,n){n.style.text=null,g.updateProps(n,{shape:{width:0}},e,t,function(){n.parent&&n.parent.remove(n)})}function A(t,e,n){n.style.text=null,g.updateProps(n,{shape:{r:n.shape.r0}},e,t,function(){n.parent&&n.parent.remove(n)})}var b={cartesian2d:function(t,e,n){var i,a,o=t.getItemLayout(e),r=(i=o,a=n.get(u)||0,Math.min(a,Math.abs(i.width),Math.abs(i.height))),s=0<o.width?1:-1,l=0<o.height?1:-1;return{x:o.x+s*r/2,y:o.y+l*r/2,width:o.width-s*r,height:o.height-l*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle}}};function w(t,e,n,i,a,o,r,s){var l=e.getItemVisual(n,"color"),u=e.getItemVisual(n,"opacity"),c=i.getModel("itemStyle"),h=i.getModel("emphasis.itemStyle").getBarItemStyle();s||t.setShape("r",c.get("barBorderRadius")||0),t.useStyle(f.defaults({fill:l,opacity:u},c.getBarItemStyle()));var d=i.getShallow("cursor");d&&t.attr("cursor",d);var p=r?0<a.height?"bottom":"top":0<a.width?"left":"right";s||m(t.style,h,i,l,o,n,p),g.setHoverStyle(t,h)}var S=r.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var n=e.points,i=this.__startPoint,a=this.__baseDimIdx,o=0;o<n.length;o+=2)i[a]=n[o+a],t.moveTo(i[0],i[1]),t.lineTo(n[o],n[o+1])}});function C(t,e,n){var i=t.getData(),a=[],o=i.getLayout("valueAxisHorizontal")?1:0;a[1-o]=i.getLayout("valueAxisStart");var r,s,l,u,c,h=new S({shape:{points:i.getLayout("largePoints")},incremental:!!n,__startPoint:a,__baseDimIdx:o,__largeDataIndices:i.getLayout("largeDataIndices"),__barWidth:i.getLayout("barWidth")});e.add(h),r=h,s=t,u=(l=i).getVisual("borderColor")||l.getVisual("color"),c=s.getModel("itemStyle").getItemStyle(["color","borderColor"]),r.useStyle(c),r.style.fill=null,r.style.stroke=u,r.style.lineWidth=l.getLayout("barWidth"),h.seriesIndex=t.seriesIndex,t.get("silent")||(h.on("mousedown",M),h.on("mousemove",M))}var M=s(function(t){var e=function(t,e,n){var i=t.__baseDimIdx,a=1-i,o=t.shape.points,r=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),l=t.__startPoint[a];y[0]=e,y[1]=n;for(var u=y[i],c=y[1-i],h=u-s,d=u+s,p=0,f=o.length/2;p<f;p++){var g=2*p,m=o[g+i],v=o[g+a];if(h<=m&&m<=d&&(l<=v?l<=c&&c<=v:v<=c&&c<=l))return r[p]}return-1}(this,t.offsetX,t.offsetY);this.dataIndex=0<=e?e:null},30,!1);t.exports=h},2603:function(t,e,n){var i=n(1549)([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),a={getBarItemStyle:function(t){var e=i(this,t);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(e.lineDash=n)}return e}};t.exports=a},2604:function(t,e,n){var i=(0,n(852).extendShape)({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(t,e){var n=e.cx,i=e.cy,a=Math.max(e.r0||0,0),o=Math.max(e.r,0),r=.5*(o-a),s=a+r,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=Math.cos(l),d=Math.sin(l),p=Math.cos(u),f=Math.sin(u);(c?u-l<2*Math.PI:l-u<2*Math.PI)&&(t.moveTo(h*a+n,d*a+i),t.arc(h*s+n,d*s+i,r,-Math.PI+l,l,!c)),t.arc(n,i,o,l,u,!c),t.moveTo(p*o+n,f*o+i),t.arc(p*s+n,f*s+i,r,u-2*Math.PI,u-Math.PI,!c),0!==a&&(t.arc(n,i,a,u,l,c),t.moveTo(h*a+n,f*a+i)),t.closePath()}});t.exports=i},2605:function(t,e,n){var i=n(789),a=n(768);n(2606),n(2607);var o=n(2156),r=n(1696),s=n(2608),l=n(1602);o("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),i.registerVisual(r("pie")),i.registerLayout(a.curry(s,"pie")),i.registerProcessor(l("pie"))},2606:function(t,e,n){var i=n(789),a=n(1554),o=n(768),r=n(987),s=n(965).getPercentWithPrecision,l=n(1812),u=n(1503).retrieveRawAttr,c=i.extendSeriesModel({type:"series.pie",init:function(t){c.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){c.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,e){return a(this,["value"])},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),n=[],i=0,a=t.count();i<a;i++)n.push({name:t.getName(i),value:t.get(e,i),selected:u(t,i,"selected")});return n},getDataParams:function(t){var e=this.getData(),n=c.superCall(this,"getDataParams",t),i=[];return e.each(e.mapDimension("value"),function(t){i.push(t)}),n.percent=s(i,t,e.hostModel.get("percentPrecision")),n.$vars.push("percent"),n},_defaultLabelLine:function(t){r.defaultEmphasis(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.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(c,l);var h=c;t.exports=h},2607:function(t,e,n){var v=n(768),m=n(852),i=n(1412);function y(t,e,n,i){var a=e.getData(),o=this.dataIndex,r=a.getName(o),s=e.get("selectedOffset");i.dispatchAction({type:"pieToggleSelect",from:t,name:r,seriesId:e.id}),a.each(function(t){f(a.getItemGraphicEl(t),a.getItemLayout(t),e.isSelected(a.getName(t)),s,n)})}function f(t,e,n,i,a){var o=(e.startAngle+e.endAngle)/2,r=n?i:0,s=[Math.cos(o)*r,Math.sin(o)*r];a?t.animate().when(200,{position:s}).start("bounceOut"):t.attr("position",s)}function x(t,e){m.Group.call(this);var n=new m.Sector({z2:2}),i=new m.Polyline,a=new m.Text;this.add(n),this.add(i),this.add(a),this.updateData(t,e,!0)}var a=x.prototype;a.updateData=function(t,e,n){var i=this.childAt(0),a=this.childAt(1),o=this.childAt(2),r=t.hostModel,s=t.getItemModel(e),l=t.getItemLayout(e),u=v.extend({},l);u.label=null;var c=r.getShallow("animationTypeUpdate");n?(i.setShape(u),"scale"===r.getShallow("animationType")?(i.shape.r=l.r0,m.initProps(i,{shape:{r:l.r}},r,e)):(i.shape.endAngle=l.startAngle,m.updateProps(i,{shape:{endAngle:l.endAngle}},r,e))):"expansion"===c?i.setShape(u):m.updateProps(i,{shape:u},r,e);var h=t.getItemVisual(e,"color");i.useStyle(v.defaults({lineJoin:"bevel",fill:h},s.getModel("itemStyle").getItemStyle())),i.hoverStyle=s.getModel("emphasis.itemStyle").getItemStyle();var d=s.getShallow("cursor");d&&i.attr("cursor",d),f(this,t.getItemLayout(e),r.isSelected(null,e),r.get("selectedOffset"),r.get("animation"));var p=!n&&"transition"===c;this._updateLabel(t,e,p),this.highDownOnUpdate=s.get("hoverAnimation")&&r.isAnimationEnabled()?function(t,e){"emphasis"===e?(a.ignore=a.hoverIgnore,o.ignore=o.hoverIgnore,i.stopAnimation(!0),i.animateTo({shape:{r:l.r+r.get("hoverOffset")}},300,"elasticOut")):(a.ignore=a.normalIgnore,o.ignore=o.normalIgnore,i.stopAnimation(!0),i.animateTo({shape:{r:l.r}},300,"elasticOut"))}:null,m.setHoverStyle(this)},a._updateLabel=function(t,e,n){var i=this.childAt(1),a=this.childAt(2),o=t.hostModel,r=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"color");if(!s||isNaN(s.x)||isNaN(s.y))a.ignore=a.normalIgnore=a.hoverIgnore=i.ignore=i.normalIgnore=i.hoverIgnore=!0;else{var u={points:s.linePoints||[[s.x,s.y],[s.x,s.y],[s.x,s.y]]},c={x:s.x,y:s.y};n?(m.updateProps(i,{shape:u},o,e),m.updateProps(a,{style:c},o,e)):(i.attr({shape:u}),a.attr({style:c})),a.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var h=r.getModel("label"),d=r.getModel("emphasis.label"),p=r.getModel("labelLine"),f=r.getModel("emphasis.labelLine");l=t.getItemVisual(e,"color");m.setLabelStyle(a.style,a.hoverStyle={},h,d,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),a.ignore=a.normalIgnore=!h.get("show"),a.hoverIgnore=!d.get("show"),i.ignore=i.normalIgnore=!p.get("show"),i.hoverIgnore=!f.get("show"),i.setStyle({stroke:l,opacity:t.getItemVisual(e,"opacity")}),i.setStyle(p.getModel("lineStyle").getLineStyle()),i.hoverStyle=f.getModel("lineStyle").getLineStyle();var g=p.get("smooth");g&&!0===g&&(g=.4),i.setShape({smooth:g})}},v.inherits(x,m.Group);var o=i.extend({type:"pie",init:function(){var t=new m.Group;this._sectorGroup=t},render:function(t,e,n,i){if(!i||i.from!==this.uid){var a=t.getData(),o=this._data,r=this.group,s=e.get("animation"),l=!o,u=t.get("animationType"),c=t.get("animationTypeUpdate"),h=v.curry(y,this.uid,t,s,n),d=t.get("selectedMode");if(a.diff(o).add(function(t){var e=new x(a,t);l&&"scale"!==u&&e.eachChild(function(t){t.stopAnimation(!0)}),d&&e.on("click",h),a.setItemGraphicEl(t,e),r.add(e)}).update(function(t,e){var n=o.getItemGraphicEl(e);l||"transition"===c||n.eachChild(function(t){t.stopAnimation(!0)}),n.updateData(a,t),n.off("click"),d&&n.on("click",h),r.add(n),a.setItemGraphicEl(t,n)}).remove(function(t){var e=o.getItemGraphicEl(t);r.remove(e)}).execute(),s&&0<a.count()&&(l?"scale"!==u:"transition"!==c)){for(var p=a.getItemLayout(0),f=1;isNaN(p.startAngle)&&f<a.count();++f)p=a.getItemLayout(f);var g=Math.max(n.getWidth(),n.getHeight())/2,m=v.bind(r.removeClipPath,r);r.setClipPath(this._createClipPath(p.cx,p.cy,g,p.startAngle,p.clockwise,m,t,l))}else r.removeClipPath();this._data=a}},dispose:function(){},_createClipPath:function(t,e,n,i,a,o,r,s){var l=new m.Sector({shape:{cx:t,cy:e,r0:0,r:n,startAngle:i,endAngle:i,clockwise:a}});return(s?m.initProps:m.updateProps)(l,{shape:{endAngle:i+(a?1:-1)*Math.PI*2}},r,o),l},containPoint:function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,a=t[1]-n.cy,o=Math.sqrt(i*i+a*a);return o<=n.r&&o>=n.r0}}});t.exports=o},2608:function(t,e,n){var i=n(965),I=i.parsePercent,T=i.linearMap,D=n(2609),k=n(768),P=2*Math.PI,L=Math.PI/180;t.exports=function(t,e,M,n){e.eachSeriesByType(t,function(t){var a=t.getData(),e=a.mapDimension("value"),n=t.get("center"),i=t.get("radius");k.isArray(i)||(i=[0,i]),k.isArray(n)||(n=[n,n]);var o=M.getWidth(),r=M.getHeight(),s=Math.min(o,r),l=I(n[0],o),u=I(n[1],r),c=I(i[0],s/2),h=I(i[1],s/2),d=-t.get("startAngle")*L,p=t.get("minAngle")*L,f=0;a.each(e,function(t){isNaN(t)||f++});var g=a.getSum(e),m=Math.PI/(g||f)*2,v=t.get("clockwise"),y=t.get("roseType"),x=t.get("stillShowZeroSum"),_=a.getDataExtent(e);_[0]=0;var A=P,b=0,w=d,S=v?1:-1;if(a.each(e,function(t,e){var n;if(isNaN(t))a.setItemLayout(e,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:v,cx:l,cy:u,r0:c,r:y?NaN:h});else{(n="area"!==y?0===g&&x?m:t*m:P/f)<p?A-=n=p:b+=t;var i=w+S*n;a.setItemLayout(e,{angle:n,startAngle:w,endAngle:i,clockwise:v,cx:l,cy:u,r0:c,r:y?T(t,_,[c,h]):h}),w=i}}),A<P&&f)if(A<=.001){var C=P/f;a.each(e,function(t,e){if(!isNaN(t)){var n=a.getItemLayout(e);n.angle=C,n.startAngle=d+S*e*C,n.endAngle=d+S*(e+1)*C}})}else m=A/b,w=d,a.each(e,function(t,e){if(!isNaN(t)){var n=a.getItemLayout(e),i=n.angle===p?p:t*m;n.startAngle=w,n.endAngle=w+S*i,w+=S*i}});D(t,h,o,r)})}},2609:function(t,e,n){var E=n(1319),i=Math.PI/180;function h(a,t,e,n,i,o,r){function s(t,e,n){for(var i=t;i<e;i++)if(a[i].y+=n,t<i&&i+1<e&&a[i+1].y>a[i].y+a[i].height)return void l(i,n/2);l(e-1,n/2)}function l(t,e){for(var n=t;0<=n&&(a[n].y-=e,!(0<n&&a[n].y>a[n-1].y+a[n-1].height));n--);}function u(t,e,n,i,a,o){for(var r=e?Number.MAX_VALUE:0,s=0,l=t.length;s<l;s++){var u=Math.abs(t[s].y-i),c=t[s].len,h=t[s].len2,d=u<a+c?Math.sqrt((a+c+h)*(a+c+h)-u*u):Math.abs(t[s].x-n);e&&r<=d&&(d=r-10),!e&&d<=r&&(d=r+10),t[s].x=n+d*o,r=d}}a.sort(function(t,e){return t.y-e.y});for(var c,h=0,d=a.length,p=[],f=[],g=0;g<d;g++)(c=a[g].y-h)<0&&s(g,d,-c),h=a[g].y+a[g].height;r-h<0&&l(d-1,h-r);for(g=0;g<d;g++)a[g].y>=e?f.push(a[g]):p.push(a[g]);u(p,!1,t,e,n,i),u(f,!0,t,e,n,i)}function d(t){return"center"===t.position}t.exports=function(M,I,t,e,n){var T,D,k=M.getData(),P=[],L=!1,B=(M.get("minShowLabelAngle")||0)*i;k.each(function(t){var e=k.getItemLayout(t),n=k.getItemModel(t),i=n.getModel("label"),a=i.get("position")||n.get("emphasis.label.position"),o=n.getModel("labelLine"),r=o.get("length"),s=o.get("length2");if(!(e.angle<B)){var l,u,c,h,d=(e.startAngle+e.endAngle)/2,p=Math.cos(d),f=Math.sin(d);T=e.cx,D=e.cy;var g="inside"===a||"inner"===a;if("center"===a)l=e.cx,u=e.cy,h="center";else{var m=(g?(e.r+e.r0)/2*p:e.r*p)+T,v=(g?(e.r+e.r0)/2*f:e.r*f)+D;if(l=m+3*p,u=v+3*f,!g){var y=m+p*(r+I-e.r),x=v+f*(r+I-e.r),_=y+(p<0?-1:1)*s;l=_+(p<0?-5:5),c=[[m,v],[y,x],[_,u=x]]}h=g?"center":0<p?"left":"right"}var A,b=i.getFont(),w=i.get("rotate");A="number"==typeof w?w*(Math.PI/180):w?p<0?-d+Math.PI:-d:0;var S=M.getFormattedLabel(t,"normal")||k.getName(t),C=E.getBoundingRect(S,b,h,"top");L=!!A,e.label={x:l,y:u,position:a,height:C.height,len:r,len2:s,linePoints:c,textAlign:h,verticalAlign:"middle",rotation:A,inside:g},g||P.push(e.label)}}),!L&&M.get("avoidLabelOverlap")&&function(t,e,n,i,a,o){for(var r=[],s=[],l=0;l<t.length;l++)d(t[l])||(t[l].x<e?r.push(t[l]):s.push(t[l]));for(h(s,e,n,i,1,0,o),h(r,e,n,i,-1,0,o),l=0;l<t.length;l++)if(!d(t[l])){var u=t[l].linePoints;if(u){var c=u[1][0]-u[2][0];t[l].x<e?u[2][0]=t[l].x+3:u[2][0]=t[l].x-3,u[1][1]=u[2][1]=t[l].y,u[1][0]=u[2][0]+c}}}(P,T,D,I,0,e)}},2610:function(t,e,n){var i=n(789);n(2611),n(2612);var a=n(1505),o=n(1600);n(1601),i.registerVisual(a("scatter","circle")),i.registerLayout(o("scatter"))},2611:function(t,e,n){var i=n(1428),a=n(1246).extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(t,e){return i(this.getSource(),this)},brushSelector:"point",getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});t.exports=a},2612:function(t,e,n){var i=n(789),a=n(1598),o=n(2613),r=n(1600);i.extendChartView({type:"scatter",render:function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},incrementalPrepareRender:function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||1e4<i.count()||!this._symbolDraw.isPersistent())return{update:!0};var a=r().reset(t);a.progress&&a.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_getClipShape:function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},_updateSymbolDraw:function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new o:new a,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},2613:function(t,e,n){var i=n(852),l=n(1321).createSymbol,a=n(1806),o=i.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(t,e){var n=e.points,i=e.size,a=this.symbolProxy,o=a.shape;if(!((t.getContext?t.getContext():t)&&i[0]<4))for(var r=0;r<n.length;){var s=n[r++],l=n[r++];isNaN(s)||isNaN(l)||this.softClipShape&&!this.softClipShape.contain(s,l)||(o.x=s-i[0]/2,o.y=l-i[1]/2,o.width=i[0],o.height=i[1],a.buildPath(t,o,!0))}},afterBrush:function(t){var e=this.shape,n=e.points,i=e.size;if(i[0]<4){this.setTransform(t);for(var a=0;a<n.length;){var o=n[a++],r=n[a++];isNaN(o)||isNaN(r)||this.softClipShape&&!this.softClipShape.contain(o,r)||t.fillRect(o-i[0]/2,r-i[1]/2,i[0],i[1])}this.restoreTransform(t)}},findDataIndex:function(t,e){for(var n=this.shape,i=n.points,a=n.size,o=Math.max(a[0],4),r=Math.max(a[1],4),s=i.length/2-1;0<=s;s--){var l=2*s,u=i[l]-o/2,c=i[1+l]-r/2;if(u<=t&&c<=e&&t<=u+o&&e<=c+r)return s}return-1}});function r(){this.group=new i.Group}var s=r.prototype;s.isPersistent=function(){return!this._incremental},s.updateData=function(t,e){this.group.removeAll();var n=new o({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},s.updateLayout=function(t){if(!this._incremental){var i=t.getLayout("symbolPoints");this.group.eachChild(function(t){if(null!=t.startIndex){var e=2*(t.endIndex-t.startIndex),n=4*t.startIndex*2;i=new Float32Array(i.buffer,n,e)}t.setShape("points",i)})}},s.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),2e6<t.count()?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},s.incrementalUpdate=function(t,e,n){var i;this._incremental?(i=new o,this._incremental.addDisplayable(i,!0)):((i=new o({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end})).incremental=!0,this.group.add(i)),i.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(i,e,!!this._incremental,n)},s._setCommon=function(n,t,e,i){var a=t.hostModel;i=i||{};var o=t.getVisual("symbolSize");n.setShape("size",o instanceof Array?o:[o,o]),n.softClipShape=i.clipShape||null,n.symbolProxy=l(t.getVisual("symbol"),0,0,0,0),n.setColor=n.symbolProxy.setColor;var r=n.shape.size[0]<4;n.useStyle(a.getModel("itemStyle").getItemStyle(r?["color","shadowBlur","shadowColor"]:["color"]));var s=t.getVisual("color");s&&n.setColor(s),e||(n.seriesIndex=a.seriesIndex,n.on("mousemove",function(t){n.dataIndex=null;var e=n.findDataIndex(t.offsetX,t.offsetY);0<=e&&(n.dataIndex=e+(n.startIndex||0))}))},s.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},s._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var u=r;t.exports=u},2614:function(t,e,n){var i=n(789);n(2615),n(2620),n(2621);var a=n(1696),o=n(1505),r=n(2622),s=n(1602),l=n(2623);i.registerVisual(a("radar")),i.registerVisual(o("radar","circle")),i.registerLayout(r),i.registerProcessor(s("radar")),i.registerPreprocessor(l)},2615:function(t,e,n){n(2616),n(2618),n(2619)},2616:function(t,e,n){var s=n(768),a=n(2617),o=n(1691),g=n(965),i=n(1382),m=i.getScaleExtent,v=i.niceScaleExtent,r=n(1381),l=n(2145);function u(t,e,n){this._model=t,this.dimensions=[],this._indicatorAxes=s.map(t.getIndicatorModels(),function(t,e){var n="indicator_"+e,i=new a(n,"log"===t.get("axisType")?new l:new o);return i.name=t.get("name"),(i.model=t).axis=i,this.dimensions.push(n),i},this),this.resize(t,n),this.cx,this.cy,this.r,this.r0,this.startAngle}u.prototype.getIndicatorAxes=function(){return this._indicatorAxes},u.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},u.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},u.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var a,o=Math.atan2(-n,e),r=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<r&&(a=u,s=l,r=c)}return[s,+(a&&a.coordToData(i))]},u.prototype.resize=function(t,e){var n=t.get("center"),i=e.getWidth(),a=e.getHeight(),o=Math.min(i,a)/2;this.cx=g.parsePercent(n[0],i),this.cy=g.parsePercent(n[1],a),this.startAngle=t.get("startAngle")*Math.PI/180;var r=t.get("radius");"string"!=typeof r&&"number"!=typeof r||(r=[0,r]),this.r0=g.parsePercent(r[0],o),this.r=g.parsePercent(r[1],o),s.each(this._indicatorAxes,function(t,e){t.setExtent(this.r0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n},this)},u.prototype.update=function(i,t){var a=this._indicatorAxes,o=this._model;s.each(a,function(t){t.scale.setExtent(1/0,-1/0)}),i.eachSeriesByType("radar",function(t,e){if("radar"===t.get("coordinateSystem")&&i.getComponent("radar",t.get("radarIndex"))===o){var n=t.getData();s.each(a,function(t){t.scale.unionExtentFromData(n,n.mapDimension(t.dim))})}},this);var p=o.get("splitNumber");function f(t){var e=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),n=t/e;return 2===n?n=5:n*=2,n*e}s.each(a,function(t,e){var n=m(t.scale,t.model);v(t.scale,t.model);var i=t.model,a=t.scale,o=i.getMin(),r=i.getMax(),s=a.getInterval();if(null!=o&&null!=r)a.setExtent(+o,+r),a.setInterval((r-o)/p);else if(null!=o)for(var l;l=o+s*p,a.setExtent(+o,l),a.setInterval(s),s=f(s),l<n[1]&&isFinite(l)&&isFinite(n[1]););else if(null!=r)for(var u;u=r-s*p,a.setExtent(u,+r),a.setInterval(s),s=f(s),u>n[0]&&isFinite(u)&&isFinite(n[0]););else{var c=a.getTicks().length-1;p<c&&(s=f(s));var h=Math.round((n[0]+n[1])/2/s)*s,d=Math.round(p/2);a.setExtent(g.round(h-d*s),g.round(h+(p-d)*s)),a.setInterval(s)}})},u.dimensions=[],u.create=function(n,i){var a=[];return n.eachComponent("radar",function(t){var e=new u(t,n,i);a.push(e),t.coordinateSystem=e}),n.eachSeriesByType("radar",function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=a[t.get("radarIndex")||0])}),a},r.register("radar",u);var c=u;t.exports=c},2617:function(t,e,n){var i=n(768),a=n(1467);function o(t,e,n){a.call(this,t,e,n),this.type="value",this.angle=0,this.name="",this.model}i.inherits(o,a);var r=o;t.exports=r},2618:function(t,e,n){var i=n(789),m=n(768),a=n(2152),v=n(1241),y=n(1553),o=a.valueAxis;function r(t,e){return m.defaults({show:e},t)}var s=i.extendComponentModel({type:"radar",optionUpdated:function(){var a=this.get("boundaryGap"),o=this.get("splitNumber"),r=this.get("scale"),s=this.get("axisLine"),l=this.get("axisTick"),u=this.get("axisType"),c=this.get("axisLabel"),h=this.get("name"),d=this.get("name.show"),p=this.get("name.formatter"),f=this.get("nameGap"),g=this.get("triggerEvent"),t=m.map(this.get("indicator")||[],function(t){null!=t.max&&0<t.max&&!t.min?t.min=0:null!=t.min&&t.min<0&&!t.max&&(t.max=0);var e=h;if(null!=t.color&&(e=m.defaults({color:t.color},h)),t=m.merge(m.clone(t),{boundaryGap:a,splitNumber:o,scale:r,axisLine:s,axisTick:l,axisType:u,axisLabel:c,name:t.text,nameLocation:"end",nameGap:f,nameTextStyle:e,triggerEvent:g},!1),d||(t.name=""),"string"==typeof p){var n=t.name;t.name=p.replace("{value}",null!=n?n:"")}else"function"==typeof p&&(t.name=p(t.name,t));var i=m.extend(new v(t,null,this.ecModel),y);return i.mainType="radar",i.componentIndex=this.componentIndex,i},this);this.getIndicatorModels=function(){return t}},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:m.merge({lineStyle:{color:"#bbb"}},o.axisLine),axisLabel:r(o.axisLabel,!1),axisTick:r(o.axisTick,!1),axisType:"interval",splitLine:r(o.splitLine,!0),splitArea:r(o.splitArea,!0),indicator:[]}});t.exports=s},2619:function(t,e,n){n(1127).__DEV__;var i=n(789),M=n(768),a=n(1468),I=n(852),o=["axisLine","axisTickLabel","axisName"],r=i.extendComponentView({type:"radar",render:function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes(),i=M.map(n,function(t){return new a(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})});M.each(i,function(t){M.each(o,t.add,t),this.group.add(t.getGroup())},this)},_buildSplitLineAndArea:function(t){var i=t.coordinateSystem,e=i.getIndicatorAxes();if(e.length){var n=t.get("shape"),a=t.getModel("splitLine"),o=t.getModel("splitArea"),r=a.getModel("lineStyle"),s=o.getModel("areaStyle"),l=a.get("show"),u=o.get("show"),c=r.get("color"),h=s.get("color");c=M.isArray(c)?c:[c],h=M.isArray(h)?h:[h];var d=[],p=[];if("circle"===n)for(var f=e[0].getTicksCoords(),g=i.cx,m=i.cy,v=0;v<f.length;v++){if(l)d[C(d,c,v)].push(new I.Circle({shape:{cx:g,cy:m,r:f[v].coord}}));if(u&&v<f.length-1)p[C(p,h,v)].push(new I.Ring({shape:{cx:g,cy:m,r0:f[v].coord,r:f[v+1].coord}}))}else{var y,x=M.map(e,function(t,e){var n=t.getTicksCoords();return y=null==y?n.length-1:Math.min(n.length-1,y),M.map(n,function(t){return i.coordToPoint(t.coord,e)})}),_=[];for(v=0;v<=y;v++){for(var A=[],b=0;b<e.length;b++)A.push(x[b][v]);if(A[0]&&A.push(A[0].slice()),l)d[C(d,c,v)].push(new I.Polyline({shape:{points:A}}));if(u&&_)p[C(p,h,v-1)].push(new I.Polygon({shape:{points:A.concat(_)}}));_=A.slice().reverse()}}var w=r.getLineStyle(),S=s.getAreaStyle();M.each(p,function(t,e){this.group.add(I.mergePath(t,{style:M.defaults({stroke:"none",fill:h[e%h.length]},S),silent:!0}))},this),M.each(d,function(t,e){this.group.add(I.mergePath(t,{style:M.defaults({fill:"none",stroke:c[e%c.length]},w),silent:!0}))},this)}function C(t,e,n){var i=n%e.length;return t[i]=t[i]||[],i}}});t.exports=r},2620:function(t,e,n){var i=n(1246),a=n(1554),o=n(768),r=n(1153).encodeHTML,s=i.extend({type:"series.radar",dependencies:["radar"],init:function(t){s.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},getInitialData:function(t,e){return a(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(i){var a=this.getData(),t=this.coordinateSystem.getIndicatorAxes(),e=this.getData().getName(i);return r(""===e?this.name:e)+"<br/>"+o.map(t,function(t,e){var n=a.get(a.mapDimension(t.dim),i);return r(t.name+" : "+n)}).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}}),l=s;t.exports=l},2621:function(t,e,n){var i=n(789),v=n(852),y=n(768),d=n(1321);var a=i.extendChartView({type:"radar",render:function(l,t,e){var n=l.coordinateSystem,g=this.group,m=l.getData(),s=this._data;function u(t,e){var n=t.getItemVisual(e,"symbol")||"circle",i=t.getItemVisual(e,"color");if("none"!==n){var a,o=(a=t.getItemVisual(e,"symbolSize"),y.isArray(a)||(a=[+a,+a]),a),r=d.createSymbol(n,-1,-1,2,2,i);return r.attr({style:{strokeNoScale:!0},z2:100,scale:[o[0]/2,o[1]/2]}),r}}function c(t,e,n,i,a,o){n.removeAll();for(var r=0;r<e.length-1;r++){var s=u(i,a);s&&(t[s.__dimIdx=r]?(s.attr("position",t[r]),v[o?"initProps":"updateProps"](s,{position:e[r]},l,a)):s.attr("position",e[r]),n.add(s))}}function h(t){return y.map(t,function(t){return[n.cx,n.cy]})}m.diff(s).add(function(t){var e=m.getItemLayout(t);if(e){var n=new v.Polygon,i=new v.Polyline,a={shape:{points:e}};n.shape.points=h(e),i.shape.points=h(e),v.initProps(n,a,l,t),v.initProps(i,a,l,t);var o=new v.Group,r=new v.Group;o.add(i),o.add(n),o.add(r),c(i.shape.points,e,r,m,t,!0),m.setItemGraphicEl(t,o)}}).update(function(t,e){var n=s.getItemGraphicEl(e),i=n.childAt(0),a=n.childAt(1),o=n.childAt(2),r={shape:{points:m.getItemLayout(t)}};r.shape.points&&(c(i.shape.points,r.shape.points,o,m,t,!1),v.updateProps(i,r,l),v.updateProps(a,r,l),m.setItemGraphicEl(t,n))}).remove(function(t){g.remove(s.getItemGraphicEl(t))}).execute(),m.eachItemGraphicEl(function(t,n){var e=m.getItemModel(n),i=t.childAt(0),a=t.childAt(1),o=t.childAt(2),r=m.getItemVisual(n,"color");g.add(t),i.useStyle(y.defaults(e.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:r})),i.hoverStyle=e.getModel("emphasis.lineStyle").getLineStyle();var s=e.getModel("areaStyle"),l=e.getModel("emphasis.areaStyle"),u=s.isEmpty()&&s.parentModel.isEmpty(),c=l.isEmpty()&&l.parentModel.isEmpty();c=c&&u,a.ignore=u,a.useStyle(y.defaults(s.getAreaStyle(),{fill:r,opacity:.7})),a.hoverStyle=l.getAreaStyle();var h=e.getModel("itemStyle").getItemStyle(["color"]),d=e.getModel("emphasis.itemStyle").getItemStyle(),p=e.getModel("label"),f=e.getModel("emphasis.label");o.eachChild(function(t){t.setStyle(h),t.hoverStyle=y.clone(d);var e=m.get(m.dimensions[t.__dimIdx],n);null!=e&&!isNaN(e)||(e=""),v.setLabelStyle(t.style,t.hoverStyle,p,f,{labelFetcher:m.hostModel,labelDataIndex:n,labelDimIndex:t.__dimIdx,defaultText:e,autoColor:r,isRectText:!0})}),t.highDownOnUpdate=function(t,e){a.attr("ignore","emphasis"===e?c:u)},v.setHoverStyle(t)}),this._data=m},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=a},2622:function(t,e,n){var i=n(768);function r(t){return!isNaN(t[0])&&!isNaN(t[1])}function s(t){return[t.cx,t.cy]}t.exports=function(t){t.eachSeriesByType("radar",function(t){var n=t.getData(),a=[],o=t.coordinateSystem;if(o){var e=o.getIndicatorAxes();i.each(e,function(t,i){n.each(n.mapDimension(e[i].dim),function(t,e){a[e]=a[e]||[];var n=o.dataToPoint(t,i);a[e][i]=r(n)?n:s(o)})}),n.each(function(t){var e=i.find(a[t],function(t){return r(t)})||s(o);a[t].push(e.slice()),n.setItemLayout(t,a[t])})}})}},2623:function(t,e,n){var a=n(768);t.exports=function(n){var t=n.polar;if(t){a.isArray(t)||(t=[t]);var i=[];a.each(t,function(t,e){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),n.radar=n.radar||[],a.isArray(n.radar)||(n.radar=[n.radar]),n.radar.push(t)):i.push(t)}),n.polar=i}a.each(n.series,function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)})}},2624:function(t,e,n){var i=n(789);n(2625),n(2632),n(2159),n(1815);var a=n(2634),o=n(2635),r=n(2636),s=n(2637),l=n(2156);i.registerLayout(a),i.registerVisual(o),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,r),i.registerPreprocessor(s),l("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},2625:function(t,e,n){var c=n(768),h=n(1554),i=n(1246),a=n(1153),u=a.encodeHTML,d=a.addCommas,o=n(1812),p=n(1503).retrieveRawAttr,f=n(1697),r=i.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var e=h(this,["value"]),n=e.mapDimension("value"),i=c.createHashMap(),a=[],o=[],r=0,s=e.count();r<s;r++){var l=e.getName(r);i.set(l,!0),a.push({name:l,value:e.get(n,r),selected:p(e,r,"selected")})}var u=f.load(this.getMapType(),this.option.nameMap);return c.each(u.regions,function(t){var e=t.name;i.get(e)||(a.push({name:e}),o.push(e))}),this.updateSelectedMap(a),e.appendValues([],o),e},getHostGeoModel:function(){var t=this.option.geoIndex;return null!=t?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},getRegionModel:function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},formatTooltip:function(t){for(var e=this.getData(),n=d(this.getRawValue(t)),i=e.getName(t),a=this.seriesGroup,o=[],r=0;r<a.length;r++){var s=a[r].originalData.indexOfName(i),l=e.mapDimension("value");isNaN(a[r].originalData.get(l,s))||o.push(u(a[r].name))}return o.join(", ")+"<br />"+u(i+" : "+n)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{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)"}}}});c.mixin(r,o);var s=r;t.exports=s},2626:function(t,e,n){var r=n(768).each,s=n(2146),i=n(987).makeInner,l=n(2627),u=n(2628),c=n(2629),h=n(2630),d=i(),a={load:function(i,t){var e=d(t).parsed;if(e)return e;var n,a=t.specialAreas||{},o=t.geoJSON;try{n=o?s(o):[]}catch(t){throw new Error("Invalid geoJson format\n"+t.message)}return l(i,n),r(n,function(t){var e=t.name;u(i,t),c(i,t),h(i,t);var n=a[e];n&&t.transformTo(n.left,n.top,n.width,n.height)}),d(t).parsed={regions:n,boundingRect:function(t){for(var e,n=0;n<t.length;n++){var i=t[n].getBoundingRect();(e=e||i.clone()).union(i)}return e}(n)}}};t.exports=a},2627:function(t,e,n){for(var i=n(768),a=n(2147),o=[126,25],r=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],s=0;s<r.length;s++)for(var l=0;l<r[s].length;l++)r[s][l][0]/=10.5,r[s][l][1]/=-14,r[s][l][0]+=o[0],r[s][l][1]+=o[1];t.exports=function(t,e){"china"===t&&e.push(new a("南海诸岛",i.map(r,function(t){return{type:"polygon",exterior:t}}),o))}},2628:function(t,e){var a={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};t.exports=function(t,e){if("china"===t){var n=a[e.name];if(n){var i=e.center;i[0]+=n[0]/10.5,i[1]+=-n[1]/14}}}},2629:function(t,e){var a={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};t.exports=function(t,e){if("world"===t){var n=a[e.name];if(n){var i=e.center;i[0]=n[0],i[1]=n[1]}}}},2630:function(t,e){var n=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];t.exports=function(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:n[0]})}},2631:function(t,e,n){var i=n(2140),c=i.parseSVG,h=i.makeViewBoxTransform,d=n(1547),p=n(1803),a=n(768),f=a.assert,l=a.createHashMap,g=n(1152),u=(0,n(987).makeInner)(),o={load:function(t,e){var n=u(e).originRoot;if(n)return{root:n,boundingRect:u(e).boundingRect};var i=m(e);return u(e).originRoot=i.root,u(e).boundingRect=i.boundingRect,i},makeGraphic:function(t,e,n){var i=u(e),a=i.rootMap||(i.rootMap=l()),o=a.get(n);if(o)return o;var r=i.originRoot,s=i.boundingRect;return o=i.originRootHostKey?m(e,s).root:(i.originRootHostKey=n,r),a.set(n,o)},removeGraphic:function(t,e,n){var i=u(e),a=i.rootMap;a&&a.removeKey(n),n===i.originRootHostKey&&(i.originRootHostKey=null)}};function m(t,e){var n,i,a=t.svgXML;try{i=(n=a&&c(a,{ignoreViewBox:!0,ignoreRootClip:!0})||{}).root,f(null!=i)}catch(t){throw new Error("Invalid svg format\n"+t.message)}var o=n.width,r=n.height,s=n.viewBoxRect;if(e||(e=null==o||null==r?i.getBoundingRect():new g(0,0,0,0),null!=o&&(e.width=o),null!=r&&(e.height=r)),s){var l=h(s,e.width,e.height),u=i;(i=new d).add(u),u.scale=l.scale,u.position=l.position}return i.setClipPath(new p({shape:e.plain()})),{root:i,boundingRect:e}}t.exports=o},2632:function(t,e,n){var i=n(789),b=n(768),w=n(852),r=n(2157),S="__seriesMapHighDown",C="__seriesMapCallKey",a=i.extendChartView({type:"map",render:function(t,e,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var a=this.group;if(a.removeAll(),!t.getHostGeoModel()){if(i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id)(o=this._mapDraw)&&a.add(o.group);else if(t.needsDrawMap){var o=this._mapDraw||new r(n,!0);a.add(o.group),o.draw(t,e,n,this,i),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,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(x,t,e){var _=x.originalData,A=this.group;_.each(_.mapDimension("value"),function(t,e){if(!isNaN(t)){var n=_.getItemLayout(e);if(n&&n.point){var i=n.point,a=n.offset,o=new w.Circle({style:{fill:x.getData().getVisual("color")},shape:{cx:i[0]+9*a,cy:i[1],r:3},silent:!0,z2:8+(a?0:w.Z2_EMPHASIS_LIFT+1)});if(!a){var r=x.mainSeries.getData(),s=_.getName(e),l=r.indexOfName(s),u=_.getItemModel(e),c=u.getModel("label"),h=u.getModel("emphasis.label"),d=r.getItemGraphicEl(l),p=b.retrieve2(x.getFormattedLabel(l,"normal"),s),f=b.retrieve2(x.getFormattedLabel(l,"emphasis"),p),g=d[S],m=Math.random();if(!g){g=d[S]={};var v=b.curry(M,!0),y=b.curry(M,!1);d.on("mouseover",v).on("mouseout",y).on("emphasis",v).on("normal",y)}d[C]=m,b.extend(g,{recordVersion:m,circle:o,labelModel:c,hoverLabelModel:h,emphasisText:f,normalText:p}),I(g,!1)}A.add(o)}}})}});function M(t){var e=this[S];e&&e.recordVersion===this[C]&&I(e,t)}function I(t,e){var n=t.circle,i=t.labelModel,a=t.hoverLabelModel,o=t.emphasisText,r=t.normalText;e?(n.style.extendFrom(w.setTextStyle({},a,{text:a.get("show")?o:null},{isRectText:!0,useInsideStyle:!1},!0)),n.__mapOriginalZ2=n.z2,n.z2+=w.Z2_EMPHASIS_LIFT):(w.setTextStyle(n.style,i,{text:i.get("show")?r:null,textPosition:i.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),n.dirty(!1),null!=n.__mapOriginalZ2&&(n.z2=n.__mapOriginalZ2,n.__mapOriginalZ2=null))}t.exports=a},2633:function(t,e,n){var i=n(768),l=n(1152),o=n(1816),r=n(1697);function a(t,e,n,i){o.call(this,t),this.map=e;var a=r.load(e,n);this._nameCoordMap=a.nameCoordMap,this._regionsMap=a.regionsMap,this._invertLongitute=null==i||i,this.regions=a.regions,this._rect=a.boundingRect}function s(t,e,n,i){var a=n.geoModel,o=n.seriesModel,r=a?a.coordinateSystem:o?o.coordinateSystem||(o.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return r===this?r[t](i):null}a.prototype={constructor:a,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,n=0;n<e.length;n++)if(e[n].contain(t))return!0;return!1},transformTo:function(t,e,n,i){var a=this.getBoundingRect(),o=this._invertLongitute;a=a.clone(),o&&(a.y=-a.y-a.height);var r=this._rawTransformable;if(r.transform=a.calculateTransform(new l(t,e,n,i)),r.decomposeTransform(),o){var s=r.scale;s[1]=-s[1]}r.updateTransform(),this._updateTransform()},getRegion:function(t){return this._regionsMap.get(t)},getRegionByCoord:function(t){for(var e=this.regions,n=0;n<e.length;n++)if(e[n].contain(t))return e[n]},addGeoCoord:function(t,e){this._nameCoordMap.set(t,e)},getGeoCoord:function(t){return this._nameCoordMap.get(t)},getBoundingRect:function(){return this._rect},dataToPoint:function(t,e,n){if("string"==typeof t&&(t=this.getGeoCoord(t)),t)return o.prototype.dataToPoint.call(this,t,e,n)},convertToPixel:i.curry(s,"dataToPoint"),convertFromPixel:i.curry(s,"pointToData")},i.mixin(a,o);var u=a;t.exports=u},2634:function(t,e,n){var o=n(768);t.exports=function(n){var a={};n.eachSeriesByType("map",function(t){var e=t.getMapType();if(!t.getHostGeoModel()&&!a[e]){var l={};o.each(t.seriesGroup,function(t){var r=t.coordinateSystem,s=t.originalData;t.get("showLegendSymbol")&&n.getComponent("legend")&&s.each(s.mapDimension("value"),function(t,e){var n=s.getName(e),i=r.getRegion(n);if(i&&!isNaN(t)){var a=l[n]||0,o=r.dataToPoint(i.center);l[n]=a+1,s.setItemLayout(e,{point:o,offset:a})}})});var i=t.getData();i.each(function(t){var e=i.getName(t),n=i.getItemLayout(t)||{};n.showLabel=!l[e],i.setItemLayout(t,n)}),a[e]=!0}})}},2635:function(t,e){t.exports=function(t){t.eachSeriesByType("map",function(t){var e=t.get("color"),n=t.getModel("itemStyle"),i=n.get("areaColor"),a=n.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:i,color:a})})}},2636:function(t,e,n){var a=n(768);t.exports=function(t){var i={};t.eachSeriesByType("map",function(t){var e=t.getHostGeoModel(),n=e?"o"+e.id:"i"+t.getMapType();(i[n]=i[n]||[]).push(t)}),a.each(i,function(t,e){for(var u,c,h,n=(u=a.map(t,function(t){return t.getData()}),c=t[0].get("mapValueCalculation"),h={},a.each(u,function(i){i.each(i.mapDimension("value"),function(t,e){var n="ec-"+i.getName(e);h[n]=h[n]||[],isNaN(t)||h[n].push(t)})}),u[0].map(u[0].mapDimension("value"),function(t,e){for(var n,i="ec-"+u[0].getName(e),a=0,o=1/0,r=-1/0,s=h[i].length,l=0;l<s;l++)o=Math.min(o,h[i][l]),r=Math.max(r,h[i][l]),a+=h[i][l];return n="min"===c?o:"max"===c?r:"average"===c?a/s:a,0===s?NaN:n})),i=0;i<t.length;i++)t[i].originalData=t[i].getData();for(i=0;i<t.length;i++)(t[i].seriesGroup=t)[i].needsDrawMap=0===i&&!t[i].getHostGeoModel(),t[i].setData(n.cloneShallow()),t[i].mainSeries=t[0]})}},2637:function(t,e,n){var i=n(768);t.exports=function(t){var e=[];i.each(t.series,function(t){t&&"map"===t.type&&(e.push(t),t.map=t.map||t.mapType,i.defaults(t,t.mapLocation))})}},2638:function(t,e,n){var i=n(789);n(2639),n(2640),n(2641);var a=n(1505),o=n(2642);i.registerVisual(a("tree","circle")),i.registerLayout(o)},2639:function(t,e,n){var i=n(1246),s=n(1817),r=n(1153).encodeHTML,a=i.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i={};i.leaves=n;var a=s.createTree(e,this,i),o=0;a.eachNode("preorder",function(t){t.depth>o&&(o=t.depth)});var r=t.expandAndCollapse&&0<=t.initialTreeDepth?t.initialTreeDepth:o;return a.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=r}),a.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){for(var e=this.getData().tree,n=e.root.children[0],i=e.getNodeByDataIndex(t),a=i.getValue(),o=i.name;i&&i!==n;)o=i.parentNode.name+"."+o,i=i.parentNode;return r(o+(isNaN(a)||null==a?"":" : "+a))},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}});t.exports=a},2640:function(t,e,n){var M=n(768),I=n(852),T=n(1693),m=n(2161).radialCoordinate,i=n(789),l=n(1686),u=n(1816),s=n(1813),a=n(1603),c=n(1698).onIrrelevantElement,o=i.extendChartView({type:"tree",init:function(t,e){this._oldTree,this._mainGroup=new I.Group,this._controller=new a(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(i,t,n,e){var a=i.getData(),o=i.layoutInfo,r=this._mainGroup,s=i.get("layout");"radial"===s?r.attr("position",[o.x+o.width/2,o.y+o.height/2]):r.attr("position",[o.x,o.y]),this._updateViewCoordSys(i,o,s),this._updateController(i,t,n);var l=this._data,u={expandAndCollapse:i.get("expandAndCollapse"),layout:s,orient:i.getOrient(),curvature:i.get("lineStyle.curveness"),symbolRotate:i.get("symbolRotate"),symbolOffset:i.get("symbolOffset"),hoverAnimation:i.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};a.diff(l).add(function(t){h(a,t)&&d(a,t,null,r,i,u)}).update(function(t,e){var n=l.getItemGraphicEl(e);h(a,t)?d(a,t,n,r,i,u):n&&p(l,e,n,r,i,u)}).remove(function(t){var e=l.getItemGraphicEl(t);e&&p(l,t,e,r,i,u)}).execute(),this._nodeScaleRatio=i.get("nodeScaleRatio"),this._updateNodeAndLinkScale(i),!0===u.expandAndCollapse&&a.eachItemGraphicEl(function(t,e){t.off("click").on("click",function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:i.id,dataIndex:e})})}),this._data=a},_updateViewCoordSys:function(t){var n=t.getData(),i=[];n.each(function(t){var e=n.getItemLayout(t);!e||isNaN(e.x)||isNaN(e.y)||i.push([+e.x,+e.y])});var e=[],a=[];l.fromPoints(i,e,a);var o=this._min,r=this._max;a[0]-e[0]==0&&(e[0]=o?o[0]:e[0]-1,a[0]=r?r[0]:a[0]+1),a[1]-e[1]==0&&(e[1]=o?o[1]:e[1]-1,a[1]=r?r[1]:a[1]+1);var s=t.coordinateSystem=new u;s.zoomLimit=t.get("scaleLimit"),s.setBoundingRect(e[0],e[1],a[0]-e[0],a[1]-e[1]),s.setCenter(t.get("center")),s.setZoom(t.get("zoom")),this.group.attr({position:s.position,scale:s.scale}),this._viewCoordSys=s,this._min=e,this._max=a},_updateController:function(a,t,o){var e=this._controller,n=this._controllerHost,r=this.group;e.setPointerChecker(function(t,e,n){var i=r.getBoundingRect();return i.applyTransform(r.transform),i.contain(e,n)&&!c(t,o,a)}),e.enable(a.get("roam")),n.zoomLimit=a.get("scaleLimit"),n.zoom=a.coordinateSystem.getZoom(),e.off("pan").off("zoom").on("pan",function(t){s.updateViewOnPan(n,t.dx,t.dy),o.dispatchAction({seriesId:a.id,type:"treeRoam",dx:t.dx,dy:t.dy})},this).on("zoom",function(t){s.updateViewOnZoom(n,t.scale,t.originX,t.originY),o.dispatchAction({seriesId:a.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(a)},this)},_updateNodeAndLinkScale:function(t){var e=t.getData(),n=this._getNodeGlobalScale(t),i=[n,n];e.eachItemGraphicEl(function(t,e){t.attr("scale",i)})},_getNodeGlobalScale:function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,i=e.scale,a=i&&i[0]||1;return((e.getZoom()-1)*n+1)/a},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function h(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)&&"none"!==t.getItemVisual(e,"symbol")}function D(t,e,n){return n.itemModel=e,n.itemStyle=e.getModel("itemStyle").getItemStyle(),n.hoverItemStyle=e.getModel("emphasis.itemStyle").getItemStyle(),n.lineStyle=e.getModel("lineStyle").getLineStyle(),n.labelModel=e.getModel("label"),n.hoverLabelModel=e.getModel("emphasis.label"),!1===t.isExpand&&0!==t.children.length?n.symbolInnerColor=n.itemStyle.fill:n.symbolInnerColor="#fff",n}function d(t,e,n,i,a,o){var r=!n,s=t.tree.getNodeByDataIndex(e),l=s.getModel(),u=(o=D(s,l,o),t.tree.root),c=s.parentNode===u?s:s.parentNode||s,h=t.getItemGraphicEl(c.dataIndex),d=c.getLayout(),p=h?{x:h.position[0],y:h.position[1],rawX:h.__radialOldRawX,rawY:h.__radialOldRawY}:d,f=s.getLayout();r?(n=new T(t,e,o)).attr("position",[p.x,p.y]):n.updateData(t,e,o),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=f.rawX,n.__radialRawY=f.rawY,i.add(n),t.setItemGraphicEl(e,n),I.updateProps(n,{position:[f.x,f.y]},a);var g=n.getSymbolPath();if("radial"===o.layout){var m,v,y=u.children[0],x=y.getLayout(),_=y.children.length;if(f.x===x.x&&!0===s.isExpand){var A={};A.x=(y.children[0].getLayout().x+y.children[_-1].getLayout().x)/2,A.y=(y.children[0].getLayout().y+y.children[_-1].getLayout().y)/2,(m=Math.atan2(A.y-x.y,A.x-x.x))<0&&(m=2*Math.PI+m),(v=A.x<x.x)&&(m-=Math.PI)}else(m=Math.atan2(f.y-x.y,f.x-x.x))<0&&(m=2*Math.PI+m),0===s.children.length||0!==s.children.length&&!1===s.isExpand?(v=f.x<x.x)&&(m-=Math.PI):(v=f.x>x.x)||(m-=Math.PI);var b=v?"left":"right",w=o.labelModel.get("rotate"),S=w*(Math.PI/180);g.setStyle({textPosition:o.labelModel.get("position")||b,textRotation:null==w?-m:S,textOrigin:"center",verticalAlign:"middle"})}if(s.parentNode&&s.parentNode!==u){var C=n.__edge;C=C||(n.__edge=new I.BezierCurve({shape:k(o,p,p),style:M.defaults({opacity:0,strokeNoScale:!0},o.lineStyle)})),I.updateProps(C,{shape:k(o,d,f),style:{opacity:1}},a),i.add(C)}}function p(t,e,n,i,a,o){for(var r,s=t.tree.getNodeByDataIndex(e),l=t.tree.root,u=s.getModel(),c=(o=D(s,u,o),s.parentNode===l?s:s.parentNode||s);null==(r=c.getLayout());)c=c.parentNode===l?c:c.parentNode||c;I.updateProps(n,{position:[r.x+1,r.y+1]},a,function(){i.remove(n),t.setItemGraphicEl(e,null)}),n.fadeOut(null,{keepLabel:!0});var h=n.__edge;h&&I.updateProps(h,{shape:k(o,r,r),style:{opacity:0}},a,function(){i.remove(h)})}function k(t,e,n){var i,a,o,r,s,l,u,c,h=t.orient;if("radial"!==t.layout)return s=e.x,u=e.y,l=n.x,c=n.y,"LR"!==h&&"RL"!==h||(i=s+(l-s)*t.curvature,a=u,o=l+(s-l)*t.curvature,r=c),"TB"!==h&&"BT"!==h||(i=s,a=u+(c-u)*t.curvature,o=l,r=c+(u-c)*t.curvature),{x1:s,y1:u,x2:l,y2:c,cpx1:i,cpy1:a,cpx2:o,cpy2:r};s=e.rawX,u=e.rawY,l=n.rawX,c=n.rawY;var d=m(s,u),p=m(s,u+(c-u)*t.curvature),f=m(l,c+(u-c)*t.curvature),g=m(l,c);return{x1:d.x,y1:d.y,x2:g.x,y2:g.y,cpx1:p.x,cpy1:p.y,cpx2:f.x,cpy2:f.y}}t.exports=o},2641:function(t,e,n){var i=n(789),a=n(1814).updateCenterAndZoom;i.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(i,t){t.eachComponent({mainType:"series",subType:"tree",query:i},function(t){var e=i.dataIndex,n=t.getData().tree.getNodeByDataIndex(e);n.isExpand=!n.isExpand})}),i.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(i,t){t.eachComponent({mainType:"series",subType:"tree",query:i},function(t){var e=t.coordinateSystem,n=a(e,i);t.setCenter&&t.setCenter(n.center),t.setZoom&&t.setZoom(n.zoom)})})},2642:function(t,e,n){var i=n(2643),x=i.eachAfter,_=i.eachBefore,a=n(2161),A=a.init,b=a.firstWalk,w=a.secondWalk,S=a.separation,C=a.radialCoordinate,M=a.getViewRect;t.exports=function(t,e){t.eachSeriesByType("tree",function(t){!function(t,e){var n=M(t,e);t.layoutInfo=n;var i=t.get("layout"),a=0,o=0,r=null;r="radial"===i?(a=2*Math.PI,o=Math.min(n.height,n.width)/2,S(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(a=n.width,o=n.height,S());var s=t.getData().tree.root,l=s.children[0];if(l){A(s),x(l,b,r),s.hierNode.modifier=-l.hierNode.prelim,_(l,w);var u=l,c=l,h=l;_(l,function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>c.getLayout().x&&(c=t),t.depth>h.depth&&(h=t)});var d=u===c?1:r(u,c)/2,p=d-u.getLayout().x,f=0,g=0,m=0,v=0;if("radial"===i)f=a/(c.getLayout().x+d+p),g=o/(h.depth-1||1),_(l,function(t){m=(t.getLayout().x+p)*f,v=(t.depth-1)*g;var e=C(m,v);t.setLayout({x:e.x,y:e.y,rawX:m,rawY:v},!0)});else{var y=t.getOrient();"RL"===y||"LR"===y?(g=o/(c.getLayout().x+d+p),f=a/(h.depth-1||1),_(l,function(t){v=(t.getLayout().x+p)*g,m="LR"===y?(t.depth-1)*f:a-(t.depth-1)*f,t.setLayout({x:m,y:v},!0)})):"TB"!==y&&"BT"!==y||(f=a/(c.getLayout().x+d+p),g=o/(h.depth-1||1),_(l,function(t){m=(t.getLayout().x+p)*f,v="TB"===y?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:m,y:v},!0)}))}}}(t,e)})}},2643:function(t,e){e.eachAfter=function(t,e,n){for(var i,a=[t],o=[];i=a.pop();)if(o.push(i),i.isExpand){var r=i.children;if(r.length)for(var s=0;s<r.length;s++)a.push(r[s])}for(;i=o.pop();)e(i,n)},e.eachBefore=function(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var a=n.children;if(a.length)for(var o=a.length-1;0<=o;o--)i.push(a[o])}}},2644:function(t,e,n){var i=n(789);n(2645),n(2646),n(2649);var a=n(2650),o=n(2651);i.registerVisual(a),i.registerLayout(o)},2645:function(t,e,n){var o=n(768),i=n(1246),r=n(1817),s=n(1241),a=n(1153),l=a.encodeHTML,u=a.addCommas,c=n(1507).wrapTreePathInfo,h=i.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(t,e){var n={name:t.name,children:t.data};!function n(t){var i=0;o.each(t.children,function(t){n(t);var e=t.value;o.isArray(e)&&(e=e[0]),i+=e});var e=t.value;o.isArray(e)&&(e=e[0]);null!=e&&!isNaN(e)||(e=i);e<0&&(e=0);o.isArray(t.value)?t.value[0]=e:t.value=e}(n);var i=t.levels||[];i=t.levels=function(t,e){var i,n=e.get("color");if(!n)return;if(t=t||[],o.each(t,function(t){var e=new s(t),n=e.get("color");(e.get("itemStyle.color")||n&&"none"!==n)&&(i=!0)}),!i){(t[0]||(t[0]={})).color=n.slice()}return t}(i,e);var a={};return a.levels=i,r.createTree(n,this,a).data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(t){var e=this.getData(),n=this.getRawValue(t),i=o.isArray(n)?u(n[0]):u(n),a=e.getName(t);return l(a+": "+i)},getDataParams:function(t){var e=i.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=c(n,this),e},setLayoutInfo:function(t){this.layoutInfo=this.layoutInfo||{},o.extend(this.layoutInfo,t)},mapIdToIndex:function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=o.createHashMap(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});t.exports=h},2646:function(t,e,n){function T(t){var e=z(t);return e.stroke=e.fill=e.lineWidth=null,e}var i=n(789),D=n(768),k=n(852),p=n(1504),f=n(1507),a=n(2647),o=n(1603),l=n(1152),u=n(1284),r=n(2648),s=n(1549),h=D.bind,P=k.Group,L=k.Rect,g=D.each,B=["label"],E=["emphasis","label"],O=["upperLabel"],N=["emphasis","upperLabel"],R=10,z=s([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),c=i.extendChartView({type:"treemap",init:function(t,e){this._containerGroup,this._storage=m(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(t,e,n,i){var a=e.findComponents({mainType:"series",subType:"treemap",query:i});if(!(D.indexOf(a,t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var o=f.retrieveTargetInfo(i,["treemapZoomToNode","treemapRootToNode"],t),r=i&&i.type,s=t.layoutInfo,l=!this._oldTree,u=this._storage,c="treemapRootToNode"===r&&o&&u?{rootNodeGroup:u.nodeGroup[o.node.getRawIndex()],direction:i.direction}:null,h=this._giveContainerGroup(s),d=this._doRender(h,t,c);l||r&&"treemapZoomToNode"!==r&&"treemapRootToNode"!==r?d.renderFinally():this._doAnimation(h,d,t,c),this._resetController(n),this._renderBreadcrumb(t,n,o)}},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new P,this._initEvents(e),this.group.add(e)),e.attr("position",[t.x,t.y]),e},_doRender:function(t,e,n){var i=e.getData().tree,a=this._oldTree,o=m(),r=m(),s=this._storage,l=[],h=D.curry(v,e,r,s,n,o,l);!function o(r,s,l,u,c){u?g(s=r,function(t,e){t.isRemoved()||n(e,e)}):new p(s,r,t,t).add(n).update(n).remove(D.curry(n,null)).execute();function t(t){return t.getId()}function n(t,e){var n=null!=t?r[t]:null,i=null!=e?s[e]:null,a=h(n,i,l,c);a&&o(n&&n.viewChildren||[],i&&i.viewChildren||[],a,u,c+1)}}(i.root?[i.root]:[],a&&a.root?[a.root]:[],t,i===a||!a,0);var u,c,d=(u=s,c=m(),u&&g(u,function(t,e){var n=c[e];g(t,function(t){t&&(n.push(t),t.__tmWillDelete=1)})}),c);return this._oldTree=i,this._storage=r,{lastsForAnimation:o,willDeleteEls:d,renderFinally:function(){g(d,function(t){g(t,function(t){t.parent&&t.parent.remove(t)})}),g(l,function(t){t.invisible=!0,t.dirty()})}}},_doAnimation:function(t,o,e,s){if(e.get("animation")){var l=e.get("animationDurationUpdate"),u=e.get("animationEasing"),c=r.createWrap();g(o.willDeleteEls,function(t,r){g(t,function(t,e){if(!t.invisible){var n,i=t.parent;if(s&&"drillDown"===s.direction)n=i===s.rootNodeGroup?{shape:{x:0,y:0,width:i.__tmNodeWidth,height:i.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var a=0,o=0;i.__tmWillDelete||(a=i.__tmNodeWidth/2,o=i.__tmNodeHeight/2),n="nodeGroup"===r?{position:[a,o],style:{opacity:0}}:{shape:{x:a,y:o,width:0,height:0},style:{opacity:0}}}n&&c.add(t,n,l,u)}})}),g(this._storage,function(t,a){g(t,function(t,e){var n=o.lastsForAnimation[a][e],i={};n&&("nodeGroup"===a?n.old&&(i.position=t.position.slice(),t.attr("position",n.old)):(n.old&&(i.shape=D.extend({},t.shape),t.setShape(n.old)),n.fadein?(t.setStyle("opacity",0),i.style={opacity:1}):1!==t.style.opacity&&(i.style={opacity:1})),c.add(t,i,l,u))})},this),this._state="animating",c.done(h(function(){this._state="ready",o.renderFinally()},this)).start()}},_resetController:function(t){var e=this._controller;e||((e=this._controller=new o(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",h(this._onPan,this)),e.on("zoom",h(this._onZoom,this)));var i=new l(0,0,t.getWidth(),t.getHeight());e.setPointerChecker(function(t,e,n){return i.contain(e,n)})},_clearController:function(){var t=this._controller;t&&(t.dispose(),t=null)},_onPan:function(t){if("animating"!==this._state&&(3<Math.abs(t.dx)||3<Math.abs(t.dy))){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},_onZoom:function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var a=i.getLayout();if(!a)return;var o=new l(a.x,a.y,a.width,a.height),r=this.seriesModel.layoutInfo;e-=r.x,n-=r.y;var s=u.create();u.translate(s,s,[-e,-n]),u.scale(s,s,[t.scale,t.scale]),u.translate(s,s,[e,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(t){t.on("click",function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var n=this.findTarget(t.offsetX,t.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===e)this._zoomToNode(n);else if("link"===e){var a=i.hostTree.data.getItemModel(i.dataIndex),o=a.get("link",!0),r=a.get("target",!0)||"blank";o&&window.open(o,r)}}}}},this)},_renderBreadcrumb:function(e,t,n){n=n||((n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2))||{node:e.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new a(this.group))).render(e,t,n.node,h(function(t){"animating"!==this._state&&(f.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))},this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=m(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(a,o){var r;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(t){var e=this._storage.background[t.getRawIndex()];if(e){var n=e.transformCoordToLocal(a,o),i=e.shape;if(!(i.x<=n[0]&&n[0]<=i.x+i.width&&i.y<=n[1]&&n[1]<=i.y+i.height))return!1;r={node:t,offsetX:n[0],offsetY:n[1]}}},this),r}});function m(){return{nodeGroup:[],background:[],content:[]}}function v(d,h,p,f,g,n,m,t,e,i){if(m){var v=m.getLayout();if(v&&v.isInView){var s=v.width,l=v.height,u=v.borderWidth,y=v.invisible,x=m.getRawIndex(),_=t&&t.getRawIndex(),a=m.viewChildren,c=v.upperHeight,o=a&&a.length,A=m.getModel("itemStyle"),b=m.getModel("emphasis.itemStyle"),r=I("nodeGroup",P);if(r){if(e.add(r),r.attr("position",[v.x||0,v.y||0]),r.__tmNodeWidth=s,r.__tmNodeHeight=l,v.isAboveViewRoot)return r;var w=I("background",L,i,1);if(w&&function(t,i,a){i.dataIndex=m.dataIndex,i.seriesIndex=d.seriesIndex,i.setShape({x:0,y:0,width:s,height:l});var o=m.getVisual("borderColor",!0),r=b.get("borderColor");C(i,function(){var t=T(A);t.fill=o;var e=z(b);if(e.fill=r,a){var n=s-2*u;M(t,e,o,n,c,{x:u,y:0,width:n,height:c})}else t.text=e.text=null;i.setStyle(t),k.setHoverStyle(i,e)}),t.add(i)}(r,w,o&&v.upperHeight),!o){var S=I("content",L,i,2);S&&function(t,n){n.dataIndex=m.dataIndex,n.seriesIndex=d.seriesIndex;var i=Math.max(s-2*u,0),a=Math.max(l-2*u,0);n.culling=!0,n.setShape({x:u,y:u,width:i,height:a});var o=m.getVisual("color",!0);C(n,function(){var t=T(A);t.fill=o;var e=z(b);M(t,e,o,i,a),n.setStyle(t),k.setHoverStyle(n,e)}),t.add(n)}(r,S)}return r}}}function C(t,e){y?t.invisible||n.push(t):(e(),t.__tmWillVisible||(t.invisible=!1))}function M(t,e,n,i,a,o){var r=m.getModel(),s=D.retrieve(d.getFormattedLabel(m.dataIndex,"normal",null,null,o?"upperLabel":"label"),r.get("name"));if(!o&&v.isLeafRoot){var l=d.get("drillDownIcon",!0);s=l?l+" "+s:s}var u=r.getModel(o?O:B),c=r.getModel(o?N:E),h=u.getShallow("show");k.setLabelStyle(t,e,u,c,{defaultText:h?s:null,autoColor:n,isRectText:!0}),o&&(t.textRect=D.clone(o)),t.truncate=h&&u.get("ellipsis")?{outerWidth:i,outerHeight:a,minChar:2}:null}function I(t,e,n,i){var a,o,r,s,l,u=null!=_&&p[t][_],c=g[t];return u?(p[t][_]=null,s=u,l=t,(c[x]={}).old="nodeGroup"===l?s.position.slice():D.extend({},s.shape)):y||((u=new e({z:(a=n,o=i,r=a*R+o,(r-1)/r)})).__tmDepth=n,function(t,e,n){var i=t[x]={},a=m.parentNode;if(a&&(!f||"drillDown"===f.direction)){var o=0,r=0,s=g.background[a.getRawIndex()];!f&&s&&s.old&&(o=s.old.width,r=s.old.height),i.old="nodeGroup"===n?[0,r]:{x:o,y:r,width:0,height:0}}i.fadein="nodeGroup"!==n}(c,0,u.__tmStorageName=t)),h[t][x]=u}}t.exports=c},2647:function(t,e,n){var x=n(852),_=n(1146),A=n(768),b=n(1507).wrapTreePathInfo,s=5;function i(t){this.group=new x.Group,t.add(this.group)}function w(t,e,n,i,a,o){var r=[[a?t:t-s,e],[t+n,e],[t+n,e+i],[a?t:t-s,e+i]];return o||r.splice(2,0,[t+n+s,e+i/2]),a||r.push([t,e+i/2]),r}i.prototype={constructor:i,render:function(t,e,n,i){var a=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),a.get("show")&&n){var r=a.getModel("itemStyle"),s=r.getModel("textStyle"),l={pos:{left:a.get("left"),right:a.get("right"),top:a.get("top"),bottom:a.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:a.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,l,s),this._renderContent(t,l,r,s,i),_.positionElement(o,l.pos,l.box)}},_prepare:function(t,e,n){for(var i=t;i;i=i.parentNode){var a=i.getModel().get("name"),o=n.getTextRect(a),r=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=r+8,e.renderList.push({node:i,text:a,width:r})}},_renderContent:function(t,e,n,i,a){for(var o,r,s=0,l=e.emptyItemWidth,u=t.get("breadcrumb.height"),c=_.getAvailableSize(e.pos,e.box),h=e.totalWidth,d=e.renderList,p=d.length-1;0<=p;p--){var f=d[p],g=f.node,m=f.width,v=f.text;h>c.width&&(h-=m-l,m=l,v=null);var y=new x.Polygon({shape:{points:w(s,0,m,u,p===d.length-1,0===p)},style:A.defaults(n.getItemStyle(),{lineJoin:"bevel",text:v,textFill:i.getTextColor(),textFont:i.getFont()}),z:10,onclick:A.curry(a,g)});this.group.add(y),o=t,r=g,y.eventData={componentType:"series",componentSubType:"treemap",componentIndex:o.componentIndex,seriesIndex:o.componentIndex,seriesName:o.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:r&&r.dataIndex,name:r&&r.name},treePathInfo:r&&b(r,o)},s+=m+8}},remove:function(){this.group.removeAll()}};var a=i;t.exports=a},2648:function(t,e,n){var l=n(768);e.createWrap=function(){var o,r=[],s={};return{add:function(t,e,n,i,a){return l.isString(i)&&(a=i,i=0),!s[t.id]&&(s[t.id]=1,r.push({el:t,target:e,time:n,delay:i,easing:a}),!0)},done:function(t){return o=t,this},start:function(){for(var t=r.length,e=0,n=r.length;e<n;e++){var i=r[e];i.el.animateTo(i.target,i.time,i.delay,i.easing,a)}return this;function a(){--t||(r.length=0,s={},o&&o())}}}}},2649:function(t,e,n){function i(){}for(var a=n(789),o=n(1507),r=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s<r.length;s++)a.registerAction({type:r[s],update:"updateView"},i);a.registerAction({type:"treemapRootToNode",update:"updateView"},function(a,t){t.eachComponent({mainType:"series",subType:"treemap",query:a},function(t,e){var n=o.retrieveTargetInfo(a,["treemapZoomToNode","treemapRootToNode"],t);if(n){var i=t.getViewRoot();i&&(a.direction=o.aboveViewRoot(i,n.node)?"rollUp":"drillDown"),t.resetViewRoot(n.node)}})})},2650:function(t,e,n){var p=n(1508),x=n(1411),_=n(768),i=_.isArray,A="itemStyle",a={seriesType:"treemap",reset:function(t,e,n,i){var a=t.getData().tree,o=a.root,r=t.getModel(A);o.isRemoved()||!function i(t,e,a,o,r,s){var l=t.getModel();var n=t.getLayout();if(!n||n.invisible||!n.isInView)return;var u=t.getModel(A);var c=a[t.depth];var h=b(u,e,c,o);var d=u.get("borderColor");var p=u.get("borderColorSaturation");var f;null!=p&&(f=w(h),g=p,d=null!=(m=f)?x.modifyHSL(m,null,null,g):null);var g,m;t.setVisual("borderColor",d);var v=t.viewChildren;if(v&&v.length){var y=S(t,l,n,u,h,v);_.each(v,function(t,e){if(t.depth>=r.length||t===r[t.depth]){var n=C(l,h,t,e,y,s);i(t,n,a,o,r,s)}})}else f=w(h),t.setVisual("color",f)}(o,{},_.map(a.levelModels,function(t){return t?t.get(A):null}),r,t.getViewRoot().getAncestors(),t)}};function b(n,i,a,o){var r=_.extend({},i);return _.each(["color","colorAlpha","colorSaturation"],function(t){var e=n.get(t,!0);null==e&&a&&(e=a[t]),null==e&&(e=i[t]),null==e&&(e=o.get(t)),null!=e&&(r[t]=e)}),r}function w(t){var e=o(t,"color");if(e){var n=o(t,"colorAlpha"),i=o(t,"colorSaturation");return i&&(e=x.modifyHSL(e,null,null,i)),n&&(e=x.modifyAlpha(e,n)),e}}function o(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function S(t,e,n,i,a,o){if(o&&o.length){var r=f(e,"color")||null!=a.color&&"none"!==a.color&&(f(e,"colorAlpha")||f(e,"colorSaturation"));if(r){var s=e.get("visualMin"),l=e.get("visualMax"),u=n.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var c=e.get("colorMappingBy"),h={type:r.name,dataExtent:u,visual:r.range};"color"!==h.type||"index"!==c&&"id"!==c?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var d=new p(h);return d.__drColorMappingBy=c,d}}}function f(t,e){var n=t.get(e);return i(n)&&n.length?{name:e,range:n}:null}function C(t,e,n,i,a,o){var r=_.extend({},e);if(a){var s=a.type,l="color"===s&&a.__drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));r[s]=a.mapValueToVisual(u)}return r}t.exports=a},2651:function(t,e,n){var A=n(768),b=n(1152),i=n(965),w=i.parsePercent,S=i.MAX_SAFE_INTEGER,C=n(1146),M=n(1507),I=Math.max,T=Math.min,D=A.retrieve,k=A.each,P=["itemStyle","borderWidth"],L=["itemStyle","gapWidth"],a=["upperLabel","show"],o=["upperLabel","height"],r={seriesType:"treemap",reset:function(t,e,n,i){var a=n.getWidth(),o=n.getHeight(),r=t.option,s=C.getLayoutRect(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=r.size||[],u=w(D(s.width,l[0]),a),c=w(D(s.height,l[1]),o),h=i&&i.type,d=M.retrieveTargetInfo(i,["treemapZoomToNode","treemapRootToNode"],t),p="treemapRender"===h||"treemapMove"===h?i.rootRect:null,f=t.getViewRoot(),g=M.getPathToRoot(f);if("treemapMove"!==h){var m="treemapZoomToNode"===h?function(t,e,n,i,a){var o,r=(e||{}).node,s=[i,a];if(!r||r===n)return s;var l=i*a,u=l*t.option.zoomToNodeRatio;for(;o=r.parentNode;){for(var c=0,h=o.children,d=0,p=h.length;d<p;d++)c+=h[d].getValue();var f=r.getValue();if(0===f)return s;u*=c/f;var g=o.getModel(),m=g.get(P),v=Math.max(m,N(g));u+=4*m*m+(3*m+v)*Math.pow(u,.5),S<u&&(u=S),r=o}u<l&&(u=l);var y=Math.pow(u/l,.5);return[i*y,a*y]}(t,d,f,u,c):p?[p.width,p.height]:[u,c],v=r.sort;v&&"asc"!==v&&"desc"!==v&&(v="desc");var y={squareRatio:r.squareRatio,sort:v,leafDepth:r.leafDepth};f.hostTree.clearLayouts();var x={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};f.setLayout(x),function t(e,n,i,a){var o;var r;if(e.isRemoved())return;var s=e.getLayout();o=s.width;r=s.height;var l=e.getModel();var u=l.get(P);var c=l.get(L)/2;var h=N(l);var d=Math.max(u,h);var p=u-c;var f=d-c;var l=e.getModel();e.setLayout({borderWidth:u,upperHeight:d,upperLabelHeight:h},!0);o=I(o-2*p,0);r=I(r-p-f,0);var g=o*r;var m=B(e,l,g,n,i,a);if(!m.length)return;var v={x:p,y:f,width:o,height:r};var y=T(o,r);var x=1/0;var _=[];_.area=0;for(var A=0,b=m.length;A<b;){var w=m[A];_.push(w),_.area+=w.getLayout().area;var S=E(_,y,n.squareRatio);x=S<=x?(A++,S):(_.area-=_.pop().getLayout().area,O(_,y,v,c,!1),y=T(v.width,v.height),_.length=_.area=0,1/0)}_.length&&O(_,y,v,c,!0);if(!i){var C=l.get("childrenVisibleMin");null!=C&&g<C&&(i=!0)}for(var A=0,b=m.length;A<b;A++)t(m[A],n,i,a+1)}(f,y,!1,0);x=f.getLayout();k(g,function(t,e){var n=(g[e+1]||f).getValue();t.setLayout(A.extend({dataExtent:[n,n],borderWidth:0,upperHeight:0},x))})}var _=t.getData().tree.root;_.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};var i={x:0,y:0};if(!n)return i;var a=n.node,o=a.getLayout();if(!o)return i;var r=[o.width/2,o.height/2],s=a;for(;s;){var l=s.getLayout();r[0]+=l.x,r[1]+=l.y,s=s.parentNode}return{x:t.width/2-r[0],y:t.height/2-r[1]}}(s,p,d),!0),t.setLayoutInfo(s),function e(t,n,i,a,o){var r=t.getLayout();var s=i[o];var l=s&&s===t;if(s&&!l||o===i.length&&t!==a)return;t.setLayout({isInView:!0,invisible:!l&&!n.intersect(r),isAboveViewRoot:l},!0);var u=new b(n.x-r.x,n.y-r.y,n.width,n.height);k(t.viewChildren||[],function(t){e(t,u,i,a,o+1)})}(_,new b(-s.x,-s.y,a,o),g,f,0)}};function B(t,e,n,i,a,o){var r=t.children||[],s=i.sort;"asc"!==s&&"desc"!==s&&(s=null);var l,u,c=null!=i.leafDepth&&i.leafDepth<=o;if(a&&!c)return t.viewChildren=[];r=A.filter(r,function(t){return!t.isRemoved()}),l=r,(u=s)&&l.sort(function(t,e){var n="asc"===u?t.getValue()-e.getValue():e.getValue()-t.getValue();return 0==n?"asc"===u?t.dataIndex-e.dataIndex:e.dataIndex-t.dataIndex:n});var h=function(t,e,n){for(var i=0,a=0,o=e.length;a<o;a++)i+=e[a].getValue();var r=t.get("visualDimension");if(e&&e.length)if("value"===r&&n)s=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&s.reverse();else{var s=[1/0,-1/0];k(e,function(t){var e=t.getValue(r);e<s[0]&&(s[0]=e),e>s[1]&&(s[1]=e)})}else s=[NaN,NaN];return{sum:i,dataExtent:s}}(e,r,s);if(0===h.sum)return t.viewChildren=[];if(h.sum=function(t,e,n,i,a){if(!i)return n;for(var o=t.get("visibleMin"),r=a.length,s=r,l=r-1;0<=l;l--){var u=a["asc"===i?r-l-1:l].getValue();u/n*e<o&&(s=l,n-=u)}return"asc"===i?a.splice(0,r-s):a.splice(s,r-s),n}(e,n,h.sum,s,r),0===h.sum)return t.viewChildren=[];for(var d=0,p=r.length;d<p;d++){var f=r[d].getValue()/h.sum*n;r[d].setLayout({area:f})}return c&&(r.length&&t.setLayout({isLeafRoot:!0},!0),r.length=0),t.viewChildren=r,t.setLayout({dataExtent:h.dataExtent},!0),r}function E(t,e,n){for(var i,a=0,o=1/0,r=0,s=t.length;r<s;r++)(i=t[r].getLayout().area)&&(i<o&&(o=i),a<i&&(a=i));var l=t.area*t.area,u=e*e*n;return l?I(u*a/l,l/(u*o)):1/0}function O(t,e,n,i,a){var o=e===n.width?0:1,r=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],c=e?t.area/e:0;(a||c>n[l[r]])&&(c=n[l[r]]);for(var h=0,d=t.length;h<d;h++){var p=t[h],f={},g=c?p.getLayout().area/c:0,m=f[l[r]]=I(c-2*i,0),v=n[s[o]]+n[l[o]]-u,y=h===d-1||v<g?v:g,x=f[l[o]]=I(y-2*i,0);f[s[r]]=n[s[r]]+T(i,m/2),f[s[o]]=u+T(i,x/2),u+=y,p.setLayout(f,!0)}n[s[r]]+=c,n[l[r]]-=c}function N(t){return t.get(a)?t.get(o):0}t.exports=r},2652:function(t,e,n){var i=n(789);n(2653),n(2655),n(2658);var a=n(2659),o=n(1505),r=n(2660),s=n(2661),l=n(2662),u=n(2663),c=n(2664),h=n(2666);i.registerProcessor(a),i.registerVisual(o("graph","circle",null)),i.registerVisual(r),i.registerVisual(s),i.registerLayout(l),i.registerLayout(i.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),i.registerLayout(c),i.registerCoordinateSystem("graphView",{create:h})},2653:function(t,e,n){var i=n(789),a=n(1320),o=n(768),r=n(987).defaultEmphasis,u=n(1241),c=n(1153).encodeHTML,h=n(2162),d=i.extendSeriesModel({type:"series.graph",init:function(t){d.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){d.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){d.superApply(this,"mergeDefaultAndTheme",arguments),r(t,["edgeLabel"],["show"])},getInitialData:function(t,s){var e=t.edges||t.links||[],n=t.data||t.nodes||[],l=this;if(n&&e)return h(n,e,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t){var e=l._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t});var n=l.getModel("edgeLabel"),i=new u({label:n.option},n.parentModel,s),a=l.getModel("emphasis.edgeLabel"),o=new u({emphasis:{label:a.option}},a.parentModel,s);function r(t){return(t=this.parsePath(t))&&"label"===t[0]?i:t&&"emphasis"===t[0]&&"label"===t[1]?o:this.parentModel}e.wrapMethod("getItemModel",function(t){return t.customizeGetParent(r),t})}).data},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,n){if("edge"!==n)return d.superApply(this,"formatTooltip",arguments);var i=this.getData(),a=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),r=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=r&&l.push(r),null!=s&&l.push(s),l=c(l.join(" > ")),a.value&&(l+=" : "+c(a.value)),l},_updateCategoriesData:function(){var t=o.map(this.option.categories||[],function(t){return null!=t.value?t:o.extend({value:0},t)}),e=new a(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t,!0)})},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return 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}}}}),s=d;t.exports=s},2654:function(t,e,n){n(1127).__DEV__;var i=n(768),a=n(1427).enableClassCheck;function h(t){return"_EC_"+t}function o(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData}var r=o.prototype;function d(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function s(t,e,n){this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}r.type="graph",r.isDirected=function(){return this._directed},r.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[h(t)]){var i=new d(t,e);return(i.hostGraph=this).nodes.push(i),n[h(t)]=i}},r.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},r.getNodeById=function(t){return this._nodesMap[h(t)]},r.addEdge=function(t,e,n){var i=this._nodesMap,a=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),d.isInstance(t)||(t=i[h(t)]),d.isInstance(e)||(e=i[h(e)]),t&&e){var o=t.id+"-"+e.id;if(!a[o]){var r=new s(t,e,n);return(r.hostGraph=this)._directed&&(t.outEdges.push(r),e.inEdges.push(r)),t.edges.push(r),t!==e&&e.edges.push(r),this.edges.push(r),a[o]=r}}},r.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},r.getEdge=function(t,e){d.isInstance(t)&&(t=t.id),d.isInstance(e)&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},r.eachNode=function(t,e){for(var n=this.nodes,i=n.length,a=0;a<i;a++)0<=n[a].dataIndex&&t.call(e,n[a],a)},r.eachEdge=function(t,e){for(var n=this.edges,i=n.length,a=0;a<i;a++)0<=n[a].dataIndex&&0<=n[a].node1.dataIndex&&0<=n[a].node2.dataIndex&&t.call(e,n[a],a)},r.breadthFirstTraverse=function(t,e,n,i){if(d.isInstance(e)||(e=this._nodesMap[h(e)]),e){for(var a="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(i,e,null))for(var r=[e];r.length;){var s=r.shift(),l=s[a];for(o=0;o<l.length;o++){var u=l[o],c=u.node1===s?u.node2:u.node1;if(!c.__visited){if(t.call(i,c,s))return;r.push(c),c.__visited=!0}}}}},r.update=function(){for(var t=this.data,n=this.edgeData,e=this.nodes,i=this.edges,a=0,o=e.length;a<o;a++)e[a].dataIndex=-1;for(a=0,o=t.count();a<o;a++)e[t.getRawIndex(a)].dataIndex=a;n.filterSelf(function(t){var e=i[n.getRawIndex(t)];return 0<=e.node1.dataIndex&&0<=e.node2.dataIndex});for(a=0,o=i.length;a<o;a++)i[a].dataIndex=-1;for(a=0,o=n.count();a<o;a++)i[n.getRawIndex(a)].dataIndex=a},r.clone=function(){for(var t=new o(this._directed),e=this.nodes,n=this.edges,i=0;i<e.length;i++)t.addNode(e[i].id,e[i].dataIndex);for(i=0;i<n.length;i++){var a=n[i];t.addEdge(a.node1.id,a.node2.id,a.dataIndex)}return t},d.prototype={constructor:d,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)}},s.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)};function l(n,i){return{getValue:function(t){var e=this[n][i];return e.get(e.getDimension(t||"value"),this.dataIndex)},setVisual:function(t,e){0<=this.dataIndex&&this[n][i].setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this[n][i].getItemVisual(this.dataIndex,t,e)},setLayout:function(t,e){0<=this.dataIndex&&this[n][i].setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this[n][i].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[n][i].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[n][i].getRawIndex(this.dataIndex)}}}i.mixin(d,l("hostGraph","data")),i.mixin(s,l("hostGraph","edgeData")),o.Node=d,o.Edge=s,a(d),a(s);var u=o;t.exports=u},2655:function(t,e,n){var i=n(789),u=n(768),o=n(1598),r=n(1818),s=n(1603),l=n(1813),c=n(1698).onIrrelevantElement,g=n(852),m=n(2657),v=n(1820).getNodeGlobalScale,y="__focusNodeAdjacency",x="__unfocusNodeAdjacency",h=["itemStyle","opacity"],d=["lineStyle","opacity"];function p(t,e){var n=t.getVisual("opacity");return null!=n?n:t.getModel().get(e)}function f(t,e,n){var i=t.getGraphicEl(),a=p(t,e);null!=n&&(null==a&&(a=1),a*=n),i.downplay&&i.downplay(),i.traverse(function(t){if(!t.isGroup){var e=t.lineLabelOriginalOpacity;null!=e&&null==n||(e=a),t.setStyle("opacity",e)}})}function _(t,e){var n=p(t,e),i=t.getGraphicEl();i.traverse(function(t){t.isGroup||t.setStyle("opacity",n)}),i.highlight&&i.highlight()}var a=i.extendChartView({type:"graph",init:function(t,e){var n=new o,i=new r,a=this.group;this._controller=new s(e.getZr()),this._controllerHost={target:a},a.add(n.group),a.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},render:function(a,t,o){var e=a.coordinateSystem;this._model=a;var n=this._symbolDraw,i=this._lineDraw,r=this.group;if("view"===e.type){var s={position:e.position,scale:e.scale};this._firstRender?r.attr(s):g.updateProps(r,s,a)}m(a.getGraph(),v(a));var l=a.getData();n.updateData(l);var u=a.getEdgeData();i.updateData(u),this._updateNodeAndLinkScale(),this._updateController(a,t,o),clearTimeout(this._layoutTimeout);var c=a.forceLayout,h=a.get("force.layoutAnimation");c&&this._startForceLayoutIteration(c,h),l.eachItemGraphicEl(function(t,e){var n=l.getItemModel(e);t.off("drag").off("dragend");var i=n.get("draggable");i&&t.on("drag",function(){c&&(c.warmUp(),this._layouting||this._startForceLayoutIteration(c,h),c.setFixed(e),l.setItemLayout(e,t.position))},this).on("dragend",function(){c&&c.setUnfixed(e)},this),t.setDraggable(i&&c),t[y]&&t.off("mouseover",t[y]),t[x]&&t.off("mouseout",t[x]),n.get("focusNodeAdjacency")&&(t.on("mouseover",t[y]=function(){o.dispatchAction({type:"focusNodeAdjacency",seriesId:a.id,dataIndex:t.dataIndex})}),t.on("mouseout",t[x]=function(){o.dispatchAction({type:"unfocusNodeAdjacency",seriesId:a.id})}))},this),l.graph.eachEdge(function(t){var e=t.getGraphicEl();e[y]&&e.off("mouseover",e[y]),e[x]&&e.off("mouseout",e[x]),t.getModel().get("focusNodeAdjacency")&&(e.on("mouseover",e[y]=function(){o.dispatchAction({type:"focusNodeAdjacency",seriesId:a.id,edgeDataIndex:t.dataIndex})}),e.on("mouseout",e[x]=function(){o.dispatchAction({type:"unfocusNodeAdjacency",seriesId:a.id})}))});var d="circular"===a.get("layout")&&a.get("circular.rotateLabel"),p=l.getLayout("cx"),f=l.getLayout("cy");l.eachItemGraphicEl(function(t,e){var n=l.getItemModel(e).get("label.rotate")||0,i=t.getSymbolPath();if(d){var a=l.getItemLayout(e),o=Math.atan2(a[1]-f,a[0]-p);o<0&&(o=2*Math.PI+o);var r=a[0]<p;r&&(o-=Math.PI);var s=r?"left":"right";g.modifyLabelStyle(i,{textRotation:-o,textPosition:s,textOrigin:"center"},{textPosition:s})}else g.modifyLabelStyle(i,{textRotation:n*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},focusNodeAdjacency:function(t,e,n,i){var a=this._model.getData().graph,o=i.dataIndex,r=i.edgeDataIndex,s=a.getNodeByIndex(o),l=a.getEdgeByIndex(r);(s||l)&&(a.eachNode(function(t){f(t,h,.1)}),a.eachEdge(function(t){f(t,d,.1)}),s&&(_(s,h),u.each(s.edges,function(t){t.dataIndex<0||(_(t,d),_(t.node1,h),_(t.node2,h))})),l&&(_(l,d),_(l.node1,h),_(l.node2,h)))},unfocusNodeAdjacency:function(t,e,n,i){var a=this._model.getData().graph;a.eachNode(function(t){f(t,h)}),a.eachEdge(function(t){f(t,d)})},_startForceLayoutIteration:function(t,n){var i=this;!function e(){t.step(function(t){i.updateLayout(i._model),(i._layouting=!t)&&(n?i._layoutTimeout=setTimeout(e,16):e())})}()},_updateController:function(a,t,o){var e=this._controller,n=this._controllerHost,r=this.group;e.setPointerChecker(function(t,e,n){var i=r.getBoundingRect();return i.applyTransform(r.transform),i.contain(e,n)&&!c(t,o,a)}),"view"===a.coordinateSystem.type?(e.enable(a.get("roam")),n.zoomLimit=a.get("scaleLimit"),n.zoom=a.coordinateSystem.getZoom(),e.off("pan").off("zoom").on("pan",function(t){l.updateViewOnPan(n,t.dx,t.dy),o.dispatchAction({seriesId:a.id,type:"graphRoam",dx:t.dx,dy:t.dy})}).on("zoom",function(t){l.updateViewOnZoom(n,t.scale,t.originX,t.originY),o.dispatchAction({seriesId:a.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(),m(a.getGraph(),v(a)),this._lineDraw.updateLayout()},this)):e.disable()},_updateNodeAndLinkScale:function(){var t=this._model,e=t.getData(),n=v(t),i=[n,n];e.eachItemGraphicEl(function(t,e){t.attr("scale",i)})},updateLayout:function(t){m(t.getGraph(),v(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});t.exports=a},2656:function(t,e,n){var i=n(852),a=n(1150),o=i.Line.prototype,r=i.BezierCurve.prototype;function s(t){return isNaN(+t.cpx1)||isNaN(+t.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(t,e){this[s(e)?"_buildPathLine":"_buildPathCurve"](t,e)},_buildPathLine:o.buildPath,_buildPathCurve:r.buildPath,pointAt:function(t){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](t)},_pointAtLine:o.pointAt,_pointAtCurve:r.pointAt,tangentAt:function(t){var e=this.shape,n=s(e)?[e.x2-e.x1,e.y2-e.y1]:this._tangentAtCurve(t);return a.normalize(n,n)},_tangentAtCurve:r.tangentAt});t.exports=l},2657:function(t,e,n){var i=n(1464),f=n(1150),g=n(1820).getSymbolSize,m=[],v=[],y=[],x=i.quadraticAt,_=f.distSquare,A=Math.abs;function b(t,e,n){for(var i,a=t[0],o=t[1],r=t[2],s=1/0,l=n*n,u=.1,c=.1;c<=.9;c+=.1){m[0]=x(a[0],o[0],r[0],c),m[1]=x(a[1],o[1],r[1],c),(p=A(_(m,e)-l))<s&&(s=p,i=c)}for(var h=0;h<32;h++){var d=i+u;v[0]=x(a[0],o[0],r[0],i),v[1]=x(a[1],o[1],r[1],i),y[0]=x(a[0],o[0],r[0],d),y[1]=x(a[1],o[1],r[1],d);var p=_(v,e)-l;if(A(p)<.01)break;var f=_(y,e)-l;u/=2,p<0?0<=f?i+=u:i-=u:0<=f?i-=u:i+=u}return i}t.exports=function(t,l){var u=[],c=i.quadraticSubdivide,h=[[],[],[]],d=[[],[]],p=[];l/=2,t.eachEdge(function(t,e){var n=t.getLayout(),i=t.getVisual("fromSymbol"),a=t.getVisual("toSymbol");n.__original||(n.__original=[f.clone(n[0]),f.clone(n[1])],n[2]&&n.__original.push(f.clone(n[2])));var o=n.__original;if(null!=n[2]){if(f.copy(h[0],o[0]),f.copy(h[1],o[2]),f.copy(h[2],o[1]),i&&"none"!==i){var r=g(t.node1),s=b(h,o[0],r*l);c(h[0][0],h[1][0],h[2][0],s,u),h[0][0]=u[3],h[1][0]=u[4],c(h[0][1],h[1][1],h[2][1],s,u),h[0][1]=u[3],h[1][1]=u[4]}if(a&&"none"!==a){r=g(t.node2),s=b(h,o[1],r*l);c(h[0][0],h[1][0],h[2][0],s,u),h[1][0]=u[1],h[2][0]=u[2],c(h[0][1],h[1][1],h[2][1],s,u),h[1][1]=u[1],h[2][1]=u[2]}f.copy(n[0],h[0]),f.copy(n[1],h[2]),f.copy(n[2],h[1])}else{if(f.copy(d[0],o[0]),f.copy(d[1],o[1]),f.sub(p,d[1],d[0]),f.normalize(p,p),i&&"none"!==i){r=g(t.node1);f.scaleAndAdd(d[0],d[0],p,r*l)}if(a&&"none"!==a){r=g(t.node2);f.scaleAndAdd(d[1],d[1],p,-r*l)}f.copy(n[0],d[0]),f.copy(n[1],d[1])}})}},2658:function(t,e,n){var i=n(789),a=n(1814).updateCenterAndZoom;n(2163);i.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},function(i,t){t.eachComponent({mainType:"series",query:i},function(t){var e=t.coordinateSystem,n=a(e,i);t.setCenter&&t.setCenter(n.center),t.setZoom&&t.setZoom(n.zoom)})})},2659:function(t,e){t.exports=function(t){var o=t.findComponents({mainType:"legend"});o&&o.length&&t.eachSeriesByType("graph",function(t){var e=t.getCategoriesData(),i=t.getGraph().data,a=e.mapArray(e.getName);i.filterSelf(function(t){var e=i.getItemModel(t).getShallow("category");if(null!=e){"number"==typeof e&&(e=a[e]);for(var n=0;n<o.length;n++)if(!o[n].isSelected(e))return!1}return!0})},this)}},2660:function(t,e){t.exports=function(t){var c={};t.eachSeriesByType("graph",function(s){var l=s.getCategoriesData(),a=s.getData(),u={};l.each(function(t){var e=l.getName(t);u["ec-"+e]=t;var n=l.getItemModel(t),i=n.get("itemStyle.color")||s.getColorFromPalette(e,c);l.setItemVisual(t,"color",i);for(var a=["opacity","symbol","symbolSize","symbolKeepAspect"],o=0;o<a.length;o++){var r=n.getShallow(a[o],!0);null!=r&&l.setItemVisual(t,a[o],r)}}),l.count()&&a.each(function(t){var e=a.getItemModel(t).getShallow("category");if(null!=e){"string"==typeof e&&(e=u["ec-"+e]);for(var n=["color","opacity","symbol","symbolSize","symbolKeepAspect"],i=0;i<n.length;i++)null==a.getItemVisual(t,n[i],!0)&&a.setItemVisual(t,n[i],l.getItemVisual(e,n[i]))}})})}},2661:function(t,e){function h(t){return t instanceof Array||(t=[t,t]),t}t.exports=function(t){t.eachSeriesByType("graph",function(t){var s=t.getGraph(),l=t.getEdgeData(),e=h(t.get("edgeSymbol")),n=h(t.get("edgeSymbolSize")),u="lineStyle.color".split("."),c="lineStyle.opacity".split(".");l.setVisual("fromSymbol",e&&e[0]),l.setVisual("toSymbol",e&&e[1]),l.setVisual("fromSymbolSize",n&&n[0]),l.setVisual("toSymbolSize",n&&n[1]),l.setVisual("color",t.get(u)),l.setVisual("opacity",t.get(c)),l.each(function(t){var e=l.getItemModel(t),n=s.getEdgeByIndex(t),i=h(e.getShallow("symbol",!0)),a=h(e.getShallow("symbolSize",!0)),o=e.get(u),r=e.get(c);switch(o){case"source":o=n.node1.getVisual("color");break;case"target":o=n.node2.getVisual("color")}i[0]&&n.setVisual("fromSymbol",i[0]),i[1]&&n.setVisual("toSymbol",i[1]),a[0]&&n.setVisual("fromSymbolSize",a[0]),a[1]&&n.setVisual("toSymbolSize",a[1]),n.setVisual("color",o),n.setVisual("opacity",r)})})}},2662:function(t,e,n){var c=n(768).each,i=n(2164),h=i.simpleLayout,d=i.simpleLayoutEdge;t.exports=function(t,e){t.eachSeriesByType("graph",function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var i=t.getData(),a=[];c(n.dimensions,function(t){a=a.concat(i.mapDimension(t,!0))});for(var o=0;o<i.count();o++){for(var r=[],s=!1,l=0;l<a.length;l++){var u=i.get(a[l],o);isNaN(u)||(s=!0),r.push(u)}s?i.setItemLayout(o,n.dataToPoint(r)):i.setItemLayout(o,[NaN,NaN])}d(i.graph)}else e&&"none"!==e||h(t)})}},2663:function(t,e,n){var i=n(2165).circularLayout;t.exports=function(t){t.eachSeriesByType("graph",function(t){"circular"===t.get("layout")&&i(t,"symbolSize")})}},2664:function(t,e,n){var v=n(2665).forceLayout,y=n(2164).simpleLayout,x=n(2165).circularLayout,_=n(965).linearMap,A=n(1150),b=n(768);t.exports=function(t){t.eachSeriesByType("graph",function(t){if(!(l=t.coordinateSystem)||"view"===l.type)if("force"===t.get("layout")){var h=t.preservedPoints||{},d=t.getGraph(),p=d.data,e=d.edgeData,n=t.getModel("force"),i=n.get("initLayout");t.preservedPoints?p.each(function(t){var e=p.getId(t);p.setItemLayout(t,h[e]||[NaN,NaN])}):i&&"none"!==i?"circular"===i&&x(t,"value"):y(t);var a=p.getDataExtent("value"),o=e.getDataExtent("value"),r=n.get("repulsion"),s=n.get("edgeLength");b.isArray(r)||(r=[r,r]),b.isArray(s)||(s=[s,s]),s=[s[1],s[0]];var l,u=p.mapArray("value",function(t,e){var n=p.getItemLayout(e),i=_(t,a,r);return isNaN(i)&&(i=(r[0]+r[1])/2),{w:i,rep:i,fixed:p.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}}),c=e.mapArray("value",function(t,e){var n=d.getEdgeByIndex(e),i=_(t,o,s);isNaN(i)&&(i=(s[0]+s[1])/2);var a=n.getModel();return{n1:u[n.node1.dataIndex],n2:u[n.node2.dataIndex],d:i,curveness:a.get("lineStyle.curveness")||0,ignoreForceLayout:a.get("ignoreForceLayout")}}),f=(l=t.coordinateSystem).getBoundingRect(),g=v(u,c,{rect:f,gravity:n.get("gravity"),friction:n.get("friction")}),m=g.step;g.step=function(c){for(var t=0,e=u.length;t<e;t++)u[t].fixed&&A.copy(u[t].p,d.getNodeByIndex(t).getLayout());m(function(t,e,n){for(var i=0,a=t.length;i<a;i++)t[i].fixed||d.getNodeByIndex(i).setLayout(t[i].p),h[p.getId(i)]=t[i].p;for(i=0,a=e.length;i<a;i++){var o=e[i],r=d.getEdgeByIndex(i),s=o.n1.p,l=o.n2.p,u=r.getLayout();(u=u?u.slice():[])[0]=u[0]||[],u[1]=u[1]||[],A.copy(u[0],s),A.copy(u[1],l),+o.curveness&&(u[2]=[(s[0]+l[0])/2-(s[1]-l[1])*o.curveness,(s[1]+l[1])/2-(l[0]-s[0])*o.curveness]),r.setLayout(u)}c&&c(n)})},t.forceLayout=g,t.preservedPoints=h,g.step()}else t.forceLayout=null})}},2665:function(t,e,n){var y=n(1150),x=y.scaleAndAdd;e.forceLayout=function(p,f,t){for(var e=t.rect,n=e.width,i=e.height,g=[e.x+n/2,e.y+i/2],m=null==t.gravity?.1:t.gravity,a=0;a<p.length;a++){var o=p[a];o.p||(o.p=y.create(n*(Math.random()-.5)+g[0],i*(Math.random()-.5)+g[1])),o.pp=y.clone(o.p),o.edges=null}var r=null==t.friction?.6:t.friction,v=r;return{warmUp:function(){v=.8*r},setFixed:function(t){p[t].fixed=!0},setUnfixed:function(t){p[t].fixed=!1},step:function(t){for(var e=[],n=p.length,i=0;i<f.length;i++){var a=f[i];if(!a.ignoreForceLayout){var o=a.n1,r=a.n2;y.sub(e,r.p,o.p);var s=y.len(e)-a.d,l=r.w/(o.w+r.w);isNaN(l)&&(l=0),y.normalize(e,e),o.fixed||x(o.p,o.p,e,l*s*v),r.fixed||x(r.p,r.p,e,-(1-l)*s*v)}}for(i=0;i<n;i++){(d=p[i]).fixed||(y.sub(e,g,d.p),x(d.p,d.p,e,m*v))}for(i=0;i<n;i++){o=p[i];for(var u=i+1;u<n;u++){r=p[u];y.sub(e,r.p,o.p),0===(s=y.len(e))&&(y.set(e,Math.random()-.5,Math.random()-.5),s=1);var c=(o.rep+r.rep)/s/s;o.fixed||x(o.pp,o.pp,e,c),r.fixed||x(r.pp,r.pp,e,-c)}}var h=[];for(i=0;i<n;i++){var d;(d=p[i]).fixed||(y.sub(h,d.p,d.pp),x(d.p,d.p,h,v),y.copy(d.pp,d.p))}v*=.992,t&&t(p,f,v<.01)}}}},2666:function(t,e,n){var y=n(1816),x=n(1146).getLayoutRect,_=n(1686);t.exports=function(t,m){var v=[];return t.eachSeriesByType("graph",function(t){var e,n,i,a=t.get("coordinateSystem");if(!a||"view"===a){var o=t.getData(),r=o.mapArray(function(t){var e=o.getItemModel(t);return[+e.get("x"),+e.get("y")]}),s=[],l=[];_.fromPoints(r,s,l),l[0]-s[0]==0&&(l[0]+=1,s[0]-=1),l[1]-s[1]==0&&(l[1]+=1,s[1]-=1);var u=(l[0]-s[0])/(l[1]-s[1]),c=(e=m,n=u,(i=t.getBoxLayoutParams()).aspect=n,x(i,{width:e.getWidth(),height:e.getHeight()}));isNaN(u)&&(s=[c.x,c.y],l=[c.x+c.width,c.y+c.height]);var h=l[0]-s[0],d=l[1]-s[1],p=c.width,f=c.height,g=t.coordinateSystem=new y;g.zoomLimit=t.get("scaleLimit"),g.setBoundingRect(s[0],s[1],h,d),g.setViewRect(c.x,c.y,p,f),g.setCenter(t.get("center")),g.setZoom(t.get("zoom")),v.push(g)}}),v}},2667:function(t,e,n){n(2668),n(2669)},2668:function(t,e,n){var i=n(1554),a=n(1246),o=(n(768),a.extend({type:"series.gauge",getInitialData:function(t,e){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}}}));t.exports=o},2669:function(t,e,n){var f=n(2670),O=n(852),i=n(1412),a=n(965),N=a.parsePercent,R=a.round,m=a.linearMap;function z(t,e){return e&&("string"==typeof e?t=e.replace("{value}",null!=t?t:""):"function"==typeof e&&(t=e(t))),t}var x=2*Math.PI,o=i.extend({type:"gauge",render:function(t,e,n){this.group.removeAll();var i,a,o,r,s,l,u=t.get("axisLine.lineStyle.color"),c=(a=n,o=(i=t).get("center"),r=a.getWidth(),s=a.getHeight(),l=Math.min(r,s),{cx:N(o[0],a.getWidth()),cy:N(o[1],a.getHeight()),r:N(i.get("radius"),l/2)});this._renderMain(t,e,n,u,c)},dispose:function(){},_renderMain:function(t,e,n,i,a){for(var o=this.group,r=t.getModel("axisLine"),s=r.getModel("lineStyle"),l=t.get("clockwise"),u=-t.get("startAngle")/180*Math.PI,c=((g=-t.get("endAngle")/180*Math.PI)-u)%x,h=u,d=s.get("width"),p=r.get("show"),f=0;p&&f<i.length;f++){var g=u+c*Math.min(Math.max(i[f][0],0),1),m=new O.Sector({shape:{startAngle:h,endAngle:g,cx:a.cx,cy:a.cy,clockwise:l,r0:a.r-d,r:a.r},silent:!0});m.setStyle({fill:i[f][1]}),m.setStyle(s.getLineStyle(["color","borderWidth","borderColor"])),o.add(m),h=g}function v(t){if(t<=0)return i[0][1];for(var e=0;e<i.length;e++)if(i[e][0]>=t&&(0===e?0:i[e-1][0])<t)return i[e][1];return i[e-1][1]}if(!l){var y=u;u=g,g=y}this._renderTicks(t,e,n,v,a,u,g,l),this._renderPointer(t,e,n,v,a,u,g,l),this._renderTitle(t,e,n,v,a),this._renderDetail(t,e,n,v,a)},_renderTicks:function(t,e,n,i,a,o,r,s){for(var l=this.group,u=a.cx,c=a.cy,h=a.r,d=+t.get("min"),p=+t.get("max"),f=t.getModel("splitLine"),g=t.getModel("axisTick"),m=t.getModel("axisLabel"),v=t.get("splitNumber"),y=g.get("splitNumber"),x=N(f.get("length"),h),_=N(g.get("length"),h),A=o,b=(r-o)/v,w=b/y,S=f.getModel("lineStyle").getLineStyle(),C=g.getModel("lineStyle").getLineStyle(),M=0;M<=v;M++){var I=Math.cos(A),T=Math.sin(A);if(f.get("show")){var D=new O.Line({shape:{x1:I*h+u,y1:T*h+c,x2:I*(h-x)+u,y2:T*(h-x)+c},style:S,silent:!0});"auto"===S.stroke&&D.setStyle({stroke:i(M/v)}),l.add(D)}if(m.get("show")){var k=z(R(M/v*(p-d)+d),m.get("formatter")),P=m.get("distance"),L=i(M/v);l.add(new O.Text({style:O.setTextStyle({},m,{text:k,x:I*(h-x-P)+u,y:T*(h-x-P)+c,textVerticalAlign:T<-.4?"top":.4<T?"bottom":"middle",textAlign:I<-.4?"left":.4<I?"right":"center"},{autoColor:L}),silent:!0}))}if(g.get("show")&&M!==v){for(var B=0;B<=y;B++){I=Math.cos(A),T=Math.sin(A);var E=new O.Line({shape:{x1:I*h+u,y1:T*h+c,x2:I*(h-_)+u,y2:T*(h-_)+c},silent:!0,style:C});"auto"===C.stroke&&E.setStyle({stroke:i((M+B/y)/v)}),l.add(E),A+=w}A-=w}else A+=b}},_renderPointer:function(i,t,e,a,o,n,r,s){var l=this.group,u=this._data;if(i.get("pointer.show")){var c=[+i.get("min"),+i.get("max")],h=[n,r],d=i.getData(),p=d.mapDimension("value");d.diff(u).add(function(t){var e=new f({shape:{angle:n}});O.initProps(e,{shape:{angle:m(d.get(p,t),c,h,!0)}},i),l.add(e),d.setItemGraphicEl(t,e)}).update(function(t,e){var n=u.getItemGraphicEl(e);O.updateProps(n,{shape:{angle:m(d.get(p,t),c,h,!0)}},i),l.add(n),d.setItemGraphicEl(t,n)}).remove(function(t){var e=u.getItemGraphicEl(t);l.remove(e)}).execute(),d.eachItemGraphicEl(function(t,e){var n=d.getItemModel(e),i=n.getModel("pointer");t.setShape({x:o.cx,y:o.cy,width:N(i.get("width"),o.r),r:N(i.get("length"),o.r)}),t.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",a(m(d.get(p,e),c,[0,1],!0))),O.setHoverStyle(t,n.getModel("emphasis.itemStyle").getItemStyle())}),this._data=d}else u&&u.eachItemGraphicEl(function(t){l.remove(t)})},_renderTitle:function(t,e,n,i,a){var o=t.getData(),r=o.mapDimension("value"),s=t.getModel("title");if(s.get("show")){var l=s.get("offsetCenter"),u=a.cx+N(l[0],a.r),c=a.cy+N(l[1],a.r),h=+t.get("min"),d=+t.get("max"),p=t.getData().get(r,0),f=i(m(p,[h,d],[0,1],!0));this.group.add(new O.Text({silent:!0,style:O.setTextStyle({},s,{x:u,y:c,text:o.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:f,forceRich:!0})}))}},_renderDetail:function(t,e,n,i,a){var o=t.getModel("detail"),r=+t.get("min"),s=+t.get("max");if(o.get("show")){var l=o.get("offsetCenter"),u=a.cx+N(l[0],a.r),c=a.cy+N(l[1],a.r),h=N(o.get("width"),a.r),d=N(o.get("height"),a.r),p=t.getData(),f=p.get(p.mapDimension("value"),0),g=i(m(f,[r,s],[0,1],!0));this.group.add(new O.Text({silent:!0,style:O.setTextStyle({},o,{x:u,y:c,text:z(f,o.get("formatter")),textWidth:isNaN(h)?null:h,textHeight:isNaN(d)?null:d,textAlign:"center",textVerticalAlign:"middle"},{autoColor:g,forceRich:!0})}))}}});t.exports=o},2670:function(t,e,n){var i=n(1224).extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(t,e){var n=Math.cos,i=Math.sin,a=e.r,o=e.width,r=e.angle,s=e.x-n(r)*o*(a/3<=o?1:2),l=e.y-i(r)*o*(a/3<=o?1:2);r=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(r)*o,e.y+i(r)*o),t.lineTo(e.x+n(e.angle)*a,e.y+i(e.angle)*a),t.lineTo(e.x-n(r)*o,e.y-i(r)*o),t.lineTo(s,l)}});t.exports=i},2671:function(t,e,n){var i=n(789);n(2672),n(2673);var a=n(1696),o=n(2674),r=n(1602);i.registerVisual(a("funnel")),i.registerLayout(o),i.registerProcessor(r("funnel"))},2672:function(t,e,n){var i=n(789),a=n(1554),o=n(987).defaultEmphasis,r=i.extendSeriesModel({type:"series.funnel",init:function(t){r.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(t)},getInitialData:function(t,e){return a(this,["value"])},_defaultLabelLine:function(t){o(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},getDataParams:function(t){var e=this.getData(),n=r.superCall(this,"getDataParams",t),i=e.mapDimension("value"),a=e.getSum(i);return n.percent=a?+(e.get(i,t)/a*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}}}}),s=r;t.exports=s},2673:function(t,e,n){var d=n(852),c=n(768),i=n(1412);function r(t,e){d.Group.call(this);var n=new d.Polygon,i=new d.Polyline,a=new d.Text;this.add(n),this.add(i),this.add(a),this.highDownOnUpdate=function(t,e){"emphasis"===e?(i.ignore=i.hoverIgnore,a.ignore=a.hoverIgnore):(i.ignore=i.normalIgnore,a.ignore=a.normalIgnore)},this.updateData(t,e,!0)}var a=r.prototype,h=["itemStyle","opacity"];a.updateData=function(t,e,n){var i=this.childAt(0),a=t.hostModel,o=t.getItemModel(e),r=t.getItemLayout(e),s=t.getItemModel(e).get(h);s=null==s?1:s,i.useStyle({}),n?(i.setShape({points:r.points}),i.setStyle({opacity:0}),d.initProps(i,{style:{opacity:s}},a,e)):d.updateProps(i,{style:{opacity:s},shape:{points:r.points}},a,e);var l=o.getModel("itemStyle"),u=t.getItemVisual(e,"color");i.setStyle(c.defaults({lineJoin:"round",fill:u},l.getItemStyle(["opacity"]))),i.hoverStyle=l.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),d.setHoverStyle(this)},a._updateLabel=function(t,e){var n=this.childAt(1),i=this.childAt(2),a=t.hostModel,o=t.getItemModel(e),r=t.getItemLayout(e).label,s=t.getItemVisual(e,"color");d.updateProps(n,{shape:{points:r.linePoints||r.linePoints}},a,e),d.updateProps(i,{style:{x:r.x,y:r.y}},a,e),i.attr({rotation:r.rotation,origin:[r.x,r.y],z2:10});var l=o.getModel("label"),u=o.getModel("emphasis.label"),c=o.getModel("labelLine"),h=o.getModel("emphasis.labelLine");s=t.getItemVisual(e,"color");d.setLabelStyle(i.style,i.hoverStyle={},l,u,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:s,useInsideStyle:!!r.inside},{textAlign:r.textAlign,textVerticalAlign:r.verticalAlign}),i.ignore=i.normalIgnore=!l.get("show"),i.hoverIgnore=!u.get("show"),n.ignore=n.normalIgnore=!c.get("show"),n.hoverIgnore=!h.get("show"),n.setStyle({stroke:s}),n.setStyle(c.getModel("lineStyle").getLineStyle()),n.hoverStyle=h.getModel("lineStyle").getLineStyle()},c.inherits(r,d.Group);var o=i.extend({type:"funnel",render:function(t,e,n){var i=t.getData(),a=this._data,o=this.group;i.diff(a).add(function(t){var e=new r(i,t);i.setItemGraphicEl(t,e),o.add(e)}).update(function(t,e){var n=a.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)}).remove(function(t){var e=a.getItemGraphicEl(t);o.remove(e)}).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=o},2674:function(t,e,n){var C=n(1146),i=n(965),M=i.parsePercent,I=i.linearMap;t.exports=function(t,S,e){t.eachSeriesByType("funnel",function(t){var e,n,o=t.getData(),r=o.mapDimension("value"),i=t.get("sort"),s=(e=t,n=S,C.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})),a=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,function(t){return t}),a=[],o="ascending"===e,r=0,s=t.count();r<s;r++)a[r]=r;return"function"==typeof e?a.sort(e):"none"!==e&&a.sort(function(t,e){return o?i[t]-i[e]:i[e]-i[t]}),a}(o,i),l=[M(t.get("minSize"),s.width),M(t.get("maxSize"),s.width)],u=o.getDataExtent(r),c=t.get("min"),h=t.get("max");null==c&&(c=Math.min(u[0],0)),null==h&&(h=u[1]);function d(t,e){var n,i=o.get(r,t)||0,a=I(i,[c,h],l,!0);switch(p){case"left":n=s.x;break;case"center":n=s.x+(s.width-a)/2;break;case"right":n=s.x+s.width-a}return[[n,e],[n+a,e]]}var g,p=t.get("funnelAlign"),f=t.get("gap"),m=(s.height-f*(o.count()-1))/o.count(),v=s.y;"ascending"===i&&(m=-m,f=-f,v+=s.height,a=a.reverse());for(var y=0;y<a.length;y++){var x=a[y],_=a[y+1],A=o.getItemModel(x).get("itemStyle.height");null==A?A=m:(A=M(A,s.height),"ascending"===i&&(A=-A));var b=d(x,v),w=d(_,v+A);v+=A+f,o.setItemLayout(x,{points:b.concat(w.slice().reverse())})}(g=o).each(function(t){var e,n,i,a,o=g.getItemModel(t),r=o.getModel("label").get("position"),s=o.getModel("labelLine"),l=g.getItemLayout(t),u=l.points,c="inner"===r||"inside"===r||"center"===r||"insideLeft"===r||"insideRight"===r;if(c)e="insideLeft"===r?(n=(u[0][0]+u[3][0])/2+5,i=(u[0][1]+u[3][1])/2,"left"):"insideRight"===r?(n=(u[1][0]+u[2][0])/2-5,i=(u[1][1]+u[2][1])/2,"right"):(n=(u[0][0]+u[1][0]+u[2][0]+u[3][0])/4,i=(u[0][1]+u[1][1]+u[2][1]+u[3][1])/4,"center"),a=[[n,i],[n,i]];else{var h,d,p,f=s.get("length");e="left"===r?(h=(u[3][0]+u[0][0])/2,d=(u[3][1]+u[0][1])/2,n=(p=h-f)-5,"right"):"right"===r?(h=(u[1][0]+u[2][0])/2,d=(u[1][1]+u[2][1])/2,n=(p=h+f)+5,"left"):"rightTop"===r?(h=u[1][0],d=u[1][1],n=(p=h+f)+5,"top"):"rightBottom"===r?(h=u[2][0],d=u[2][1],n=(p=h+f)+5,"bottom"):"leftTop"===r?(h=u[0][0],d=u[1][1],n=(p=h-f)-5,"right"):"leftBottom"===r?(h=u[3][0],d=u[2][1],n=(p=h-f)-5,"right"):(h=(u[1][0]+u[2][0])/2,d=(u[1][1]+u[2][1])/2,n=(p=h+f)+5,"left");a=[[h,d],[p,d]],i=d}l.label={linePoints:a,x:n,y:i,verticalAlign:"middle",textAlign:e,inside:c}})})}},2675:function(t,e,n){var i=n(789);n(2166),n(2684),n(2685);var a=n(2686);i.registerVisual(a)},2676:function(t,e,n){var a=n(768),o=n(987);t.exports=function(t){var i,e;!function(t){if(t.parallel)return;var e=!1;a.each(t.series,function(t){t&&"parallel"===t.type&&(e=!0)}),e&&(t.parallel=[{}])}(t),i=t,e=o.normalizeToArray(i.parallelAxis),a.each(e,function(t){if(a.isObject(t)){var e=t.parallelIndex||0,n=o.normalizeToArray(i.parallel)[e];n&&n.parallelAxisDefault&&a.merge(t,n.parallelAxisDefault,!1)}})}},2677:function(t,e,n){var f=n(768),h=n(1284),i=n(1146),l=n(1382),u=n(2678),a=n(852),o=n(965),d=n(1555),p=f.each,g=Math.min,m=Math.max,v=Math.floor,y=Math.ceil,x=o.round,_=Math.PI;function r(t,e,n){this._axesMap=f.createHashMap(),this._axesLayout={},this.dimensions=t.dimensions,this._rect,this._model=t,this._init(t,e,n)}function A(t,e){return g(m(t,e[0]),e[1])}r.prototype={type:"parallel",constructor:r,_init:function(t,r,e){var n=t.dimensions,s=t.parallelAxisIndex;p(n,function(t,e){var n=s[e],i=r.getComponent("parallelAxis",n),a=this._axesMap.set(t,new u(t,l.createScaleByModel(i),[0,0],i.get("type"),n)),o="category"===a.type;a.onBand=o&&i.get("boundaryGap"),a.inverse=i.get("inverse"),(i.axis=a).model=i,a.coordinateSystem=i.coordinateSystem=this},this)},update:function(t,e){this._updateAxesFromSeries(this._model,t)},containPoint:function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,a=e.pixelDimIndex,o=t[1-a],r=t[a];return n<=o&&o<=n+e.axisLength&&i<=r&&r<=i+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(e,i){i.eachSeries(function(t){if(e.contains(t,i)){var n=t.getData();p(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(n,n.mapDimension(t)),l.niceScaleExtent(e.scale,e.model)},this)}},this)},resize:function(t,e){this._rect=i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,n=this._rect,i=["x","y"],a=["width","height"],o=e.get("layout"),r="horizontal"===o?0:1,s=n[a[r]],l=[0,s],u=this.dimensions.length,c=A(e.get("axisExpandWidth"),l),h=A(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&3<u&&h<u&&1<h&&0<c&&0<s,p=e.get("axisExpandWindow");p?(t=A(p[1]-p[0],l),p[1]=p[0]+t):(t=A(c*(h-1),l),(p=[c*(e.get("axisExpandCenter")||v(u/2))-t/2])[1]=p[0]+t);var f=(s-t)/(u-h);f<3&&(f=0);var g=[v(x(p[0]/c,1))+1,y(x(p[1]/c,1))-1],m=f/c*p[0];return{layout:o,pixelDimIndex:r,layoutBase:n[i[r]],layoutLength:s,axisBase:n[i[1-r]],axisLength:n[a[1-r]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:f,axisExpandWindow:p,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:m}},_layoutAxes:function(){var l=this._rect,t=this._axesMap,e=this.dimensions,u=this._makeLayoutInfo(),c=u.layout;t.each(function(t){var e=[0,u.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])}),p(e,function(t,e){var n=(u.axisExpandable?function(t,e){var n,i,a=e.layoutLength,o=e.axisExpandWidth,r=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;t<l[0]?(n=t*s,i=s):t<=l[1]?(n=e.axisExpandWindow0Pos+t*o-e.axisExpandWindow[0],u=o,c=!0):(n=a-(r-1-t)*s,i=s);return{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:i}}:function(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}})(e,u),i={horizontal:{x:n.position,y:u.axisLength},vertical:{x:0,y:n.position}},a={horizontal:_/2,vertical:0},o=[i[c].x+l.x,i[c].y+l.y],r=a[c],s=h.create();h.rotate(s,s,r),h.translate(s,s,o),this._axesLayout[t]={position:o,rotation:r,transform:s,axisNameAvailableWidth:n.axisNameAvailableWidth,axisLabelShow:n.axisLabelShow,nameTruncateMaxWidth:n.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(e,t,n,i){null==n&&(n=0),null==i&&(i=e.count());var a=this._axesMap,o=this.dimensions,r=[],s=[];f.each(o,function(t){r.push(e.mapDimension(t)),s.push(a.get(t).model)});for(var l=this.hasAxisBrushed(),u=n;u<i;u++){var c;if(l){c="active";for(var h=e.getValues(r,u),d=0,p=o.length;d<p;d++){if("inactive"===s[d].getActiveState(h[d])){c="inactive";break}}}else c="normal";t(c,u)}},hasAxisBrushed:function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,a=t.length;i<a;i++)"normal"!==e.get(t[i]).model.getActiveState()&&(n=!0);return n},axisCoordToPoint:function(t,e){var n=this._axesLayout[e];return a.applyTransform([t,0],n.transform)},getAxisLayout:function(t){return f.clone(this._axesLayout[t])},getSlidedAxisExpandWindow:function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,i=e.axisExpandWindow.slice(),a=i[1]-i[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:i};var r,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),h=null!=c[0];if(u)h&&u&&s<a*c[0]?(l="jump",r=s-a*c[2]):h&&u&&s>a*(1-c[0])?(l="jump",r=s-a*(1-c[2])):0<=(r=s-a*c[1])&&(r=s-a*(1-c[1]))<=0&&(r=0),(r*=e.axisExpandWidth/u)?d(r,i,o,"all"):l="none";else{a=i[1]-i[0];(i=[m(0,o[1]*s/a-a/2)])[1]=g(o[1],i[0]+a),i[0]=i[1]-a}return{axisExpandWindow:i,behavior:l}}};var s=r;t.exports=s},2678:function(t,e,n){function i(t,e,n,i,a){o.call(this,t,e,n),this.type=i||"value",this.axisIndex=a}var a=n(768),o=n(1467);i.prototype={constructor:i,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},a.inherits(i,o);var r=i;t.exports=r},2679:function(t,e,n){var i=n(768),a=n(1245);n(2680);var o=a.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){a.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(t){var e=this.option;t&&i.merge(e,t,!0),this._initDimensions()},contains:function(t,e){var n=t.get("parallelIndex");return null!=n&&e.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=[],n=this.parallelAxisIndex=[],t=i.filter(this.dependentModels.parallelAxis,function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this);i.each(t,function(t){e.push("dim"+t.get("dim")),n.push(t.componentIndex)})}});t.exports=o},2680:function(t,e,n){var i=n(768),a=n(1245),o=n(1549),r=n(1694),s=n(965),l=n(1553),u=a.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(t){var e=this.activeIntervals=i.clone(t);if(e)for(var n=e.length-1;0<=n;n--)s.asc(e[n])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,a=e.length;i<a;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"}});i.merge(u.prototype,l),r("parallel",u,function(t,e){return e.type||(e.data?"category":"value")},{type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10});var c=u;t.exports=c},2681:function(t,e,n){n(2167),n(2682),n(2683)},2682:function(t,e,n){var i=n(789);i.registerAction({type:"axisAreaSelect",event:"axisAreaSelected"},function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},function(t){t.axis.model.setActiveIntervals(e.intervals)})}),i.registerAction("parallelAxisExpand",function(e,t){t.eachComponent({mainType:"parallel",query:e},function(t){t.setAxisExpand(e)})})},2683:function(t,e,n){var i=n(789),y=n(768),x=n(1468),a=n(1821),d=n(2168),_=n(852),A=["axisLine","axisTickLabel","axisName"],o=i.extendComponentView({type:"parallelAxis",init:function(t,e){o.superApply(this,"init",arguments),(this._brushController=new a(e.getZr())).on("brush",y.bind(this._onBrush,this))},render:function(t,e,n,i){if(a=t,o=e,!(r=i)||"axisAreaSelect"!==r.type||o.findComponents({mainType:"parallelAxis",query:r})[0]!==a){var a,o,r;this.axisModel=t,this.api=n,this.group.removeAll();var s=this._axisGroup;if(this._axisGroup=new _.Group,this.group.add(this._axisGroup),t.get("show")){var l,u=(l=t,e.getComponent("parallel",l.get("parallelIndex"))),c=u.coordinateSystem,h=t.getAreaSelectStyle(),d=h.width,p=t.axis.dim,f=c.getAxisLayout(p),g=y.extend({strokeContainThreshold:d},f),m=new x(t,g);y.each(A,m.add,m),this._axisGroup.add(m.getGroup()),this._refreshBrushController(g,h,t,u,d,n);var v=i&&!1===i.animation?null:t;_.groupTransition(s,this._axisGroup,v)}}},_refreshBrushController:function(t,e,n,i,a,o){var r,s,l=n.axis.getExtent(),u=l[1]-l[0],c=Math.min(30,.1*Math.abs(u)),h=_.BoundingRect.create({x:l[0],y:-a/2,width:u,height:a});h.x-=c,h.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:d.makeRectPanelClipPath(h),isTargetByCursor:d.makeRectIsTargetByCursor(h,o,i),getLinearBrushOtherExtent:d.makeLinearBrushOtherExtent(h,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers((s=(r=n).axis,y.map(r.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[s.dataToCoord(t[0],!0),s.dataToCoord(t[1],!0)]}})))},_onBrush:function(t,e){var n=this.axisModel,i=n.axis,a=y.map(t,function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]});!n.option.realtime!==e.isEnd&&!e.removeOnClick||this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:a})},dispose:function(){this._brushController.dispose()}});var r=o;t.exports=r},2684:function(t,e,n){var i=n(768),a=i.each,o=i.createHashMap,r=n(1246),s=n(1428),l=r.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,e){var n=this.getSource();return function(t,e){if(t.encodeDefine)return;var n=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(!n)return;var i=t.encodeDefine=o();a(n.dimensions,function(t){var e=+t.replace("dim","");i.set(t,e)})}(n,this),s(n,this)},getRawIndicesByActiveState:function(n){var t=this.coordinateSystem,i=this.getData(),a=[];return t.eachActiveState(i,function(t,e){n===t&&a.push(i.getRawIndex(e))}),a},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"}});t.exports=l},2685:function(t,e,n){var y=n(852),i=n(1412);function x(t,e,n,i){for(var a,o=[],r=0;r<n.length;r++){var s=n[r],l=t.get(t.mapDimension(s),e);a=l,("category"===i.getAxis(s).type?null==a:null==a||isNaN(a))||o.push(i.dataToPoint(l,s))}return o}function _(t,e,n,i,a){var o=x(t,n,i,a),r=new y.Polyline({shape:{points:o},silent:!0,z2:10});return e.add(r),t.setItemGraphicEl(n,r),r}function A(t){var e=t.get("smooth",!0);return!0===e&&(e=.3),{lineStyle:t.getModel("lineStyle").getLineStyle(),smooth:null!=e?e:.3}}function b(t,e,n,i){var a=i.lineStyle;e.hasItemOption&&(a=e.getItemModel(n).getModel("lineStyle").getLineStyle());t.useStyle(a);var o=t.style;o.fill=null,o.stroke=e.getItemVisual(n,"color"),o.opacity=e.getItemVisual(n,"opacity"),i.smooth&&(t.shape.smooth=i.smooth)}var a=i.extend({type:"parallel",init:function(){this._dataGroup=new y.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(o,t,e,r){var n,i,a,s,l,u,c,h=this._dataGroup,d=o.getData(),p=this._data,f=o.coordinateSystem,g=f.dimensions,m=A(o);if(d.diff(p).add(function(t){b(_(d,h,t,g,f),d,t,m)}).update(function(t,e){var n=p.getItemGraphicEl(e),i=x(d,t,g,f);d.setItemGraphicEl(t,n);var a=r&&!1===r.animation?null:o;y.updateProps(n,{shape:{points:i}},a,t),b(n,d,t,m)}).remove(function(t){var e=p.getItemGraphicEl(t);h.remove(e)}).execute(),!this._initialized){this._initialized=!0;var v=(i=o,a=function(){setTimeout(function(){h.removeClipPath()})},s=(n=f).model,l=n.getRect(),u=new y.Rect({shape:{x:l.x,y:l.y,width:l.width,height:l.height}}),c="horizontal"===s.get("layout")?"width":"height",u.setShape(c,0),y.initProps(u,{shape:{width:l.width,height:l.height}},i,a),u);h.setClipPath(v)}this._data=d},incrementalPrepareRender:function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,n){for(var i=e.getData(),a=e.coordinateSystem,o=a.dimensions,r=A(e),s=t.start;s<t.end;s++){var l=_(i,this._dataGroup,s,o,a);l.incremental=!0,b(l,i,s,r)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});t.exports=a},2686:function(t,e){var p=["lineStyle","normal","opacity"],n={seriesType:"parallel",reset:function(t,e,n){var i=t.getModel("itemStyle"),a=t.getModel("lineStyle"),o=e.get("color"),r=a.get("color")||i.get("color")||o[t.seriesIndex%o.length],s=t.get("inactiveOpacity"),l=t.get("activeOpacity"),u=t.getModel("lineStyle").getLineStyle(),c=t.coordinateSystem,h=t.getData(),d={normal:u.opacity,active:l,inactive:s};return h.setVisual("color",r),{progress:function(t,a){c.eachActiveState(a,function(t,e){var n=d[t];if("normal"===t&&a.hasItemOption){var i=a.getItemModel(e).get(p,!0);null!=i&&(n=i)}a.setItemVisual(e,"opacity",n)},t.start,t.end)}}}};t.exports=n},2687:function(t,e,n){var i=n(789);n(2688),n(2689),n(2690);var a=n(2691),o=n(2692);i.registerLayout(a),i.registerVisual(o)},2688:function(t,e,n){var i=n(1246),s=n(2162),l=n(1153).encodeHTML,u=n(1241),c=(n(1127).__DEV__,i.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(t,e){for(var n=t.edges||t.links,i=t.data||t.nodes,a=t.levels,o=this.levelModels={},r=0;r<a.length;r++)null!=a[r].depth&&0<=a[r].depth&&(o[a[r].depth]=new u(a[r],this,e));if(i&&n)return s(i,n,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t,i){return t.customizeGetParent(function(t){var e=this.parentModel,n=e.getData().getItemLayout(i).depth;return e.levelModels[n]||this.parentModel}),t}),e.wrapMethod("getItemModel",function(t,i){return t.customizeGetParent(function(t){var e=this.parentModel,n=e.getGraph().getEdgeByIndex(i).node1.getLayout().depth;return e.levelModels[n]||this.parentModel}),t})}).data},setNodePosition:function(t,e){var n=this.option.data[t];n.localX=e[0],n.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,n){if("edge"===n){var i=this.getDataParams(t,n),a=i.data,o=a.source+" -- "+a.target;return i.value&&(o+=" : "+i.value),l(o)}if("node"!==n)return c.superCall(this,"formatTooltip",t,e);var r=this.getGraph().getNodeByIndex(t).getLayout().value,s=this.getDataParams(t,n).data.name;if(r)o=s+" : "+r;return l(o)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.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}})),a=c;t.exports=a},2689:function(t,e,n){var I=n(852),i=n(789),d=n(768),p=["itemStyle","opacity"],f=["lineStyle","opacity"];function o(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function g(t,e,n){var i=t.getGraphicEl(),a=o(t,e);null!=n&&(null==a&&(a=1),a*=n),i.downplay&&i.downplay(),i.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",a)})}function m(t,e){var n=o(t,e),i=t.getGraphicEl();i.highlight&&i.highlight(),i.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",n)})}var T=I.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()}}),a=i.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(A,t,i){var e,n,a,o,r=this,s=A.getGraph(),b=this.group,l=A.layoutInfo,w=l.width,S=l.height,u=A.getData(),C=A.getData("edge"),M=A.get("orient");this._model=A,b.removeAll(),b.attr("position",[l.x,l.y]),s.eachEdge(function(t){var e=new T;e.dataIndex=t.dataIndex,e.seriesIndex=A.seriesIndex,e.dataType="edge";var n,i,a,o,r,s,l,u,c=t.getModel("lineStyle"),h=c.get("curveness"),d=t.node1.getLayout(),p=t.node1.getModel(),f=p.get("localX"),g=p.get("localY"),m=t.node2.getLayout(),v=t.node2.getModel(),y=v.get("localX"),x=v.get("localY"),_=t.getLayout();switch(e.shape.extent=Math.max(1,_.dy),u="vertical"===(e.shape.orient=M)?(n=(null!=f?f*w:d.x)+_.sy,i=(null!=g?g*S:d.y)+d.dy,a=(null!=y?y*w:m.x)+_.ty,r=n,s=i*(1-h)+(o=null!=x?x*S:m.y)*h,l=a,i*h+o*(1-h)):(n=(null!=f?f*w:d.x)+d.dx,i=(null!=g?g*S:d.y)+_.sy,r=n*(1-h)+(a=null!=y?y*w:m.x)*h,s=i,l=n*h+a*(1-h),o=(null!=x?x*S:m.y)+_.ty),e.setShape({x1:n,y1:i,x2:a,y2:o,cpx1:r,cpy1:s,cpx2:l,cpy2:u}),e.setStyle(c.getItemStyle()),e.style.fill){case"source":e.style.fill=t.node1.getVisual("color");break;case"target":e.style.fill=t.node2.getVisual("color")}I.setHoverStyle(e,t.getModel("emphasis.lineStyle").getItemStyle()),b.add(e),C.setItemGraphicEl(t.dataIndex,e)}),s.eachNode(function(t){var e=t.getLayout(),n=t.getModel(),i=n.get("localX"),a=n.get("localY"),o=n.getModel("label"),r=n.getModel("emphasis.label"),s=new I.Rect({shape:{x:null!=i?i*w:e.x,y:null!=a?a*S:e.y,width:e.dx,height:e.dy},style:n.getModel("itemStyle").getItemStyle()}),l=t.getModel("emphasis.itemStyle").getItemStyle();I.setLabelStyle(s.style,l,o,r,{labelFetcher:A,labelDataIndex:t.dataIndex,defaultText:t.id,isRectText:!0}),s.setStyle("fill",t.getVisual("color")),I.setHoverStyle(s,l),b.add(s),u.setItemGraphicEl(t.dataIndex,s),s.dataType="node"}),u.eachItemGraphicEl(function(t,n){var e=u.getItemModel(n);e.get("draggable")&&(t.drift=function(t,e){r._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=e,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:A.id,dataIndex:u.getRawIndex(n),localX:this.shape.x/w,localY:this.shape.y/S})},t.ondragend=function(){r._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move"),e.get("focusNodeAdjacency")&&(t.off("mouseover").on("mouseover",function(){r._focusAdjacencyDisabled||i.dispatchAction({type:"focusNodeAdjacency",seriesId:A.id,dataIndex:t.dataIndex})}),t.off("mouseout").on("mouseout",function(){r._focusAdjacencyDisabled||i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:A.id})}))}),C.eachItemGraphicEl(function(t,e){C.getItemModel(e).get("focusNodeAdjacency")&&(t.off("mouseover").on("mouseover",function(){r._focusAdjacencyDisabled||i.dispatchAction({type:"focusNodeAdjacency",seriesId:A.id,edgeDataIndex:t.dataIndex})}),t.off("mouseout").on("mouseout",function(){r._focusAdjacencyDisabled||i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:A.id})}))}),!this._data&&A.get("animation")&&b.setClipPath((e=b.getBoundingRect(),n=A,a=function(){b.removeClipPath()},o=new I.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}}),I.initProps(o,{shape:{width:e.width+20,height:e.height+20}},n,a),o)),this._data=A.getData()},dispose:function(){},focusNodeAdjacency:function(t,e,n,i){var a=this._model.getData(),o=a.graph,r=i.dataIndex,s=a.getItemModel(r),l=i.edgeDataIndex;if(null!=r||null!=l){var u=o.getNodeByIndex(r),c=o.getEdgeByIndex(l);if(o.eachNode(function(t){g(t,p,.1)}),o.eachEdge(function(t){g(t,f,.1)}),u){m(u,p);var h=s.get("focusNodeAdjacency");"outEdges"===h?d.each(u.outEdges,function(t){t.dataIndex<0||(m(t,f),m(t.node2,p))}):"inEdges"===h?d.each(u.inEdges,function(t){t.dataIndex<0||(m(t,f),m(t.node1,p))}):"allEdges"===h&&d.each(u.edges,function(t){t.dataIndex<0||(m(t,f),m(t.node1,p),m(t.node2,p))})}c&&(m(c,f),m(c.node1,p),m(c.node2,p))}},unfocusNodeAdjacency:function(t,e,n,i){var a=this._model.getGraph();a.eachNode(function(t){g(t,p)}),a.eachEdge(function(t){g(t,f)})}});t.exports=a},2690:function(t,e,n){var i=n(789);n(2163),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])})})},2691:function(t,e,n){var w=n(1146),S=n(768),C=n(987).groupData;function M(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&0<=e.depth}function I(t,l,u,c,h){var d="vertical"===h?"x":"y";S.each(t,function(t){var e,n,i;t.sort(function(t,e){return t.getLayout()[d]-e.getLayout()[d]});for(var a=0,o=t.length,r="vertical"===h?"dx":"dy",s=0;s<o;s++)0<(i=a-(n=t[s]).getLayout()[d])&&(e=n.getLayout()[d]+i,"vertical"===h?n.setLayout({x:e},!0):n.setLayout({y:e},!0)),a=n.getLayout()[d]+n.getLayout()[r]+l;if(0<(i=a-l-("vertical"===h?c:u)))for(e=n.getLayout()[d]-i,"vertical"===h?n.setLayout({x:e},!0):n.setLayout({y:e},!0),a=e,s=o-2;0<=s;--s)0<(i=(n=t[s]).getLayout()[d]+n.getLayout()[r]+l-a)&&(e=n.getLayout()[d]-i,"vertical"===h?n.setLayout({x:e},!0):n.setLayout({y:e},!0)),a=n.getLayout()[d]})}function T(t,a,o){S.each(t.slice().reverse(),function(t){S.each(t,function(t){if(t.outEdges.length){var e=k(t.outEdges,r,o)/k(t.outEdges,D,o);if("vertical"===o){var n=t.getLayout().x+(e-l(t,o))*a;t.setLayout({x:n},!0)}else{var i=t.getLayout().y+(e-l(t,o))*a;t.setLayout({y:i},!0)}}})})}function r(t,e){return l(t.node2,e)*t.getValue()}function s(t,e){return l(t.node1,e)*t.getValue()}function l(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function D(t){return t.getValue()}function k(t,e,n){for(var i=0,a=t.length,o=-1;++o<a;){var r=+e.call(t,t[o],n);isNaN(r)||(i+=r)}return i}function P(t,a,o){S.each(t,function(t){S.each(t,function(t){if(t.inEdges.length){var e=k(t.inEdges,s,o)/k(t.inEdges,D,o);if("vertical"===o){var n=t.getLayout().x+(e-l(t,o))*a;t.setLayout({x:n},!0)}else{var i=t.getLayout().y+(e-l(t,o))*a;t.setLayout({y:i},!0)}}})})}t.exports=function(t,b,e){t.eachSeriesByType("sankey",function(t){var e,n,i,a=t.get("nodeWidth"),o=t.get("nodeGap"),r=(e=t,n=b,w.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})),s=(t.layoutInfo=r).width,l=r.height,u=t.getGraph(),c=u.nodes,h=u.edges;i=c,S.each(i,function(t){var e=k(t.outEdges,D),n=k(t.inEdges,D),i=Math.max(e,n);t.setLayout({value:i},!0)});var d,p,f,g,m,v,y,x=0!==S.filter(c,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"),_=t.get("orient"),A=t.get("nodeAlign");f=o,v=x,function(t,e,n,i,a,o,r){for(var s=[],l=[],u=[],c=[],h=0,d=0;d<e.length;d++)s[d]=1;for(d=0;d<t.length;d++)l[d]=t[d].inEdges.length,0===l[d]&&u.push(t[d]);var p=-1;for(;u.length;){for(var f=0;f<u.length;f++){var g=u[f],m=g.hostGraph.data.getRawDataItem(g.dataIndex),v=null!=m.depth&&0<=m.depth;v&&m.depth>p&&(p=m.depth),g.setLayout({depth:v?m.depth:h},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var y=0;y<g.outEdges.length;y++){var x=g.outEdges[y],_=e.indexOf(x);s[_]=0;var A=x.node2,b=t.indexOf(A);0==--l[b]&&c.indexOf(A)<0&&c.push(A)}}++h,u=c,c=[]}for(d=0;d<s.length;d++)if(1===s[d])throw new Error("Sankey is a DAG, the original data has cycle!");var w=h-1<p?p:h-1;r&&"left"!==r&&function(t,e,n,i){if("right"===e){for(var a=[],o=t,r=0;o.length;){for(var s=0;s<o.length;s++){var l=o[s];l.setLayout({skNodeHeight:r},!0);for(var u=0;u<l.inEdges.length;u++){var c=l.inEdges[u];a.indexOf(c.node1)<0&&a.push(c.node1)}}o=a,a=[],++r}S.each(t,function(t){M(t)||t.setLayout({depth:Math.max(0,i-t.getLayout().skNodeHeight)},!0)})}else"justify"===e&&function(t,e){S.each(t,function(t){M(t)||t.outEdges.length||t.setLayout({depth:e},!0)})}(t,i)}(t,r,0,w);!function(t,n,i){S.each(t,function(t){var e=t.getLayout().depth*n;"vertical"===i?t.setLayout({y:e},!0):t.setLayout({x:e},!0)})}(t,"vertical"===o?(a-n)/w:(i-n)/w,o)}(d=c,p=h,a,g=s,m=l,y=_,A),function(t,e,n,i,a,o,r){var s=function(t,e){var n=[],i="vertical"===e?"y":"x",a=C(t,function(t){return t.getLayout()[i]});return a.keys.sort(function(t,e){return t-e}),S.each(a.keys,function(t){n.push(a.buckets.get(t))}),n}(t,r);(function(t,e,a,o,r,s){var l=1/0;S.each(t,function(t){var e=t.length,n=0;S.each(t,function(t){n+=t.getLayout().value});var i="vertical"===s?(o-(e-1)*r)/n:(a-(e-1)*r)/n;i<l&&(l=i)}),S.each(t,function(t){S.each(t,function(t,e){var n=t.getLayout().value*l;"vertical"===s?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))})}),S.each(e,function(t){var e=t.getValue()*l;t.setLayout({dy:e},!0)})})(s,e,n,i,a,r),I(s,a,n,i,r);for(var l=1;0<o;o--)T(s,l*=.99,r),I(s,a,n,i,r),P(s,l,r),I(s,a,n,i,r)}(d,p,m,g,f,v,y),function(t,e){var n="vertical"===e?"x":"y";S.each(t,function(t){t.outEdges.sort(function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]}),t.inEdges.sort(function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]})}),S.each(t,function(t){var e=0,n=0;S.each(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),S.each(t.inEdges,function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy})})}(d,y)})}},2692:function(t,e,n){var r=n(1508),s=n(768);t.exports=function(t,e){t.eachSeriesByType("sankey",function(i){var t=i.getGraph().nodes;if(t.length){var a=1/0,o=-1/0;s.each(t,function(t){var e=t.getLayout().value;e<a&&(a=e),o<e&&(o=e)}),s.each(t,function(t){var e=new r({type:"color",mappingMethod:"linear",dataExtent:[a,o],visual:i.get("color")}).mapValueToVisual(t.getLayout().value),n=t.getModel().get("itemStyle.color");null!=n?t.setVisual("color",n):t.setVisual("color",e)})}})}},2693:function(t,e,n){var i=n(789);n(2694),n(2695);var a=n(2696),o=n(2697);i.registerVisual(a),i.registerLayout(o)},2694:function(t,e,n){var i=n(768),a=n(1246),o=n(2169).seriesModelMixin,r=a.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});i.mixin(r,o,!0);var s=r;t.exports=s},2695:function(t,e,n){var c=n(768),i=n(1412),h=n(852),a=n(1224),d=["itemStyle"],p=["emphasis","itemStyle"],o=i.extend({type:"boxplot",render:function(t,e,n){var a=t.getData(),o=this.group,r=this._data;this._data||o.removeAll();var s="horizontal"===t.get("layout")?1:0;a.diff(r).add(function(t){if(a.hasValue(t)){var e=l(a.getItemLayout(t),a,t,s,!0);a.setItemGraphicEl(t,e),o.add(e)}}).update(function(t,e){var n=r.getItemGraphicEl(e);if(a.hasValue(t)){var i=a.getItemLayout(t);n?g(i,n,a,t):n=l(i,a,t,s),o.add(n),a.setItemGraphicEl(t,n)}else o.remove(n)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&o.remove(e)}).execute(),this._data=a},remove:function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl(function(t){t&&e.remove(t)})},dispose:c.noop}),f=a.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i<n.length;i++)t.moveTo(n[i][0],n[i][1]),i++,t.lineTo(n[i][0],n[i][1])}});function l(t,e,n,i,a){var o,r,s,l=t.ends,u=new f({shape:{points:a?(o=l,r=i,s=t,c.map(o,function(t){return(t=t.slice())[r]=s.initBaseline,t})):l}});return g(t,u,e,n,a),u}function g(t,e,n,i,a){var o=n.hostModel;(0,h[a?"initProps":"updateProps"])(e,{shape:{points:t.ends}},o,i);var r=n.getItemModel(i),s=r.getModel(d),l=n.getItemVisual(i,"color"),u=s.getItemStyle(["borderColor"]);u.stroke=l,u.strokeNoScale=!0,e.useStyle(u),e.z2=100;var c=r.getModel(p).getItemStyle();h.setHoverStyle(e,c)}var r=o;t.exports=r},2696:function(t,e){var o=["itemStyle","borderColor"];t.exports=function(i,t){var a=i.get("color");i.eachRawSeriesByType("boxplot",function(t){var e=a[t.seriesIndex%a.length],n=t.getData();n.setVisual({legendSymbol:"roundRect",color:t.get(o)||e}),i.isSeriesFiltered(t)||n.each(function(t){var e=n.getItemModel(t);n.setItemVisual(t,{color:e.get(o,!0)})})})}},2697:function(t,e,n){var f=n(768),g=n(965).parsePercent,m=f.each;t.exports=function(t){var i,a,e=(i=[],a=[],t.eachSeriesByType("boxplot",function(t){var e=t.getBaseAxis(),n=f.indexOf(a,e);n<0&&(n=a.length,a[n]=e,i[n]={axis:e,seriesModels:[]}),i[n].seriesModels.push(t)}),i);m(e,function(n){var t=n.seriesModels;t.length&&(function(t){var e,n,i=t.axis,a=t.seriesModels,o=a.length,r=t.boxWidthList=[],s=t.boxOffsetList=[],l=[];if("category"===i.type)n=i.getBandWidth();else{var u=0;m(a,function(t){u=Math.max(u,t.getData().count())}),e=i.getExtent(),Math.abs(e[1]-e[0])}m(a,function(t){var e=t.get("boxWidth");f.isArray(e)||(e=[e,e]),l.push([g(e[0],n)||0,g(e[1],n)||0])});var c=.8*n-2,h=c/o*.3,d=(c-h*(o-1))/o,p=d/2-c/2;m(a,function(t,e){s.push(p),p+=h+d,r.push(Math.min(Math.max(d,l[e][0]),l[e][1]))})}(n),m(t,function(t,e){!function(t,r,e){var s=t.coordinateSystem,l=t.getData(),o=e/2,u="horizontal"===t.get("layout")?0:1,c=1-u,n=["x","y"],i=l.mapDimension(n[u]),a=l.mapDimension(n[c],!0);if(null==i||a.length<5)return;for(var h=0;h<l.count();h++){var d=l.get(i,h),p=x(d,a[2],h),f=x(d,a[0],h),g=x(d,a[1],h),m=x(d,a[3],h),v=x(d,a[4],h),y=[];_(y,g,0),_(y,m,1),y.push(f,g,v,m),A(y,f),A(y,v),A(y,p),l.setItemLayout(h,{initBaseline:p[c],ends:y})}function x(t,e,n){var i,a=l.get(e,n),o=[];return o[u]=t,o[c]=a,isNaN(t)||isNaN(a)?i=[NaN,NaN]:(i=s.dataToPoint(o))[u]+=r,i}function _(t,e,n){var i=e.slice(),a=e.slice();i[u]+=o,a[u]-=o,n?t.push(i,a):t.push(a,i)}function A(t,e){var n=e.slice(),i=e.slice();n[u]-=o,i[u]+=o,t.push(n,i)}}(t,n.boxOffsetList[e],n.boxWidthList[e])}))})}},2698:function(t,e,n){var i=n(789);n(2699),n(2700);var a=n(2701),o=n(2702),r=n(2703);i.registerPreprocessor(a),i.registerVisual(o),i.registerLayout(r)},2699:function(t,e,n){var i=n(768),a=n(1246),o=n(2169).seriesModelMixin,r=a.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(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)}});i.mixin(r,o,!0);var s=r;t.exports=s},2700:function(t,e,n){var r=n(768),i=n(1412),h=n(852),a=n(1224),o=n(1599).createClipPath,c=["itemStyle"],d=["emphasis","itemStyle"],p=["color","color0","borderColor","borderColor0"],s=i.extend({type:"candlestick",render:function(t,e,n){this.group.removeClipPath(),this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},incrementalPrepareRender:function(t,e,n){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,n,i){this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(a){var o=a.getData(),r=this._data,s=this.group,l=o.getLayout("isSimpleBox"),u=a.get("clip",!0),t=a.coordinateSystem,c=t.getArea&&t.getArea();this._data||s.removeAll(),o.diff(r).add(function(t){if(o.hasValue(t)){var e,n=o.getItemLayout(t);if(u&&g(c,n))return;e=f(n,t,!0),h.initProps(e,{shape:{points:n.ends}},a,t),m(e,o,t,l),s.add(e),o.setItemGraphicEl(t,e)}}).update(function(t,e){var n=r.getItemGraphicEl(e);if(o.hasValue(t)){var i=o.getItemLayout(t);u&&g(c,i)?s.remove(n):(n?h.updateProps(n,{shape:{points:i.ends}},a,t):n=f(i,t),m(n,o,t,l),s.add(n),o.setItemGraphicEl(t,n))}else s.remove(n)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&s.remove(e)}).execute(),this._data=o},_renderLarge:function(t){this._clear(),v(t,this.group);var e=t.get("clip",!0)?o(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},_incrementalRenderNormal:function(t,e){for(var n,i=e.getData(),a=i.getLayout("isSimpleBox");null!=(n=t.next());){var o;m(o=f(i.getItemLayout(n),n),i,n,a),o.incremental=!0,this.group.add(o)}},_incrementalRenderLarge:function(t,e){v(e,this.group,!0)},remove:function(t){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:r.noop}),l=a.extend({type:"normalCandlestickBox",shape:{},buildPath:function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))}});function f(t,e,n){var i,a,o=t.ends;return new l({shape:{points:n?(i=o,a=t,r.map(i,function(t){return(t=t.slice())[1]=a.initBaseline,t})):o},z2:100})}function g(t,e){for(var n=!0,i=0;i<e.ends.length;i++)if(t.contain(e.ends[i][0],e.ends[i][1])){n=!1;break}return n}function m(t,e,n,i){var a=e.getItemModel(n),o=a.getModel(c),r=e.getItemVisual(n,"color"),s=e.getItemVisual(n,"borderColor")||r,l=o.getItemStyle(p);t.useStyle(l),t.style.strokeNoScale=!0,t.style.fill=r,t.style.stroke=s,t.__simpleBox=i;var u=a.getModel(d).getItemStyle();h.setHoverStyle(t,u)}var u=a.extend({type:"largeCandlestickBox",shape:{},buildPath:function(t,e){for(var n=e.points,i=0;i<n.length;)if(this.__sign===n[i++]){var a=n[i++];t.moveTo(a,n[i++]),t.lineTo(a,n[i++])}else i+=3}});function v(t,e,n){var i=t.getData(),a=i.getLayout("largePoints"),o=new u({shape:{points:a},__sign:1});e.add(o);var r=new u({shape:{points:a},__sign:-1});e.add(r),y(1,o,t,i),y(-1,r,t,i),n&&(o.incremental=!0,r.incremental=!0)}function y(t,e,n,i){var a=0<t?"P":"N",o=i.getVisual("borderColor"+a)||i.getVisual("color"+a),r=n.getModel(c).getItemStyle(p);e.useStyle(r),e.style.fill=null,e.style.stroke=o}var x=s;t.exports=x},2701:function(t,e,n){var i=n(768);t.exports=function(t){t&&i.isArray(t.series)&&i.each(t.series,function(t){i.isObject(t)&&"k"===t.type&&(t.type="candlestick")})}},2702:function(t,e,n){var i=n(1551),a=["itemStyle","borderColor"],s=["itemStyle","borderColor0"],l=["itemStyle","color"],u=["itemStyle","color0"],o={seriesType:"candlestick",plan:i(),performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.pipelineContext.large;if(n.setVisual({legendSymbol:"roundRect",colorP:o(1,t),colorN:o(-1,t),borderColorP:r(1,t),borderColorN:r(-1,t)}),!e.isSeriesFiltered(t))return!i&&{progress:function(t,e){var n;for(;null!=(n=t.next());){var i=e.getItemModel(n),a=e.getItemLayout(n).sign;e.setItemVisual(n,{color:o(a,i),borderColor:r(a,i)})}}};function o(t,e){return e.get(0<t?l:u)}function r(t,e){return e.get(0<t?a:s)}}};t.exports=o},2703:function(t,e,n){var M=n(852).subPixelOptimize,i=n(1551),d=n(965).parsePercent,p=n(768).retrieve2,f="undefined"!=typeof Float32Array?Float32Array:Array,a={seriesType:"candlestick",plan:i(),reset:function(t){var e,n,i,a,o,r,s,l,x=t.coordinateSystem,u=t.getData(),_=(n=u,a=(e=t).getBaseAxis(),o="category"===a.type?a.getBandWidth():(i=a.getExtent(),Math.abs(i[1]-i[0])/n.count()),r=d(p(e.get("barMaxWidth"),o),o),s=d(p(e.get("barMinWidth"),1),o),null!=(l=e.get("barWidth"))?d(l,o):Math.max(Math.min(o/2,r),s)),c=["x","y"],A=u.mapDimension(c[0]),h=u.mapDimension(c[1],!0),b=h[0],w=h[1],S=h[2],C=h[3];if(u.setLayout({candleWidth:_,isSimpleBox:_<=1.3}),!(null==A||h.length<4))return{progress:t.pipelineContext.large?function(t,e){var n,i,a=new f(4*t.count),o=0,r=[],s=[];for(;null!=(i=t.next());){var l=e.get(A,i),u=e.get(b,i),c=e.get(w,i),h=e.get(S,i),d=e.get(C,i);isNaN(l)||isNaN(h)||isNaN(d)?(a[o++]=NaN,o+=3):(a[o++]=I(e,i,u,c,w),r[0]=l,r[1]=h,n=x.dataToPoint(r,null,s),a[o++]=n?n[0]:NaN,a[o++]=n?n[1]:NaN,r[1]=d,n=x.dataToPoint(r,null,s),a[o++]=n?n[1]:NaN)}e.setLayout("largePoints",a)}:function(t,e){var n;for(;null!=(n=t.next());){var i=e.get(A,n),a=e.get(b,n),o=e.get(w,n),r=e.get(S,n),s=e.get(C,n),l=Math.min(a,o),u=Math.max(a,o),c=g(l,i),h=g(u,i),d=g(r,i),p=g(s,i),f=[];m(f,h,0),m(f,c,1),f.push(y(p),y(h),y(d),y(c)),e.setItemLayout(n,{sign:I(e,n,a,o,w),initBaseline:o<a?h[1]:c[1],ends:f,brushRect:v(r,s,i)})}function g(t,e){var n=[];return n[0]=e,n[1]=t,isNaN(e)||isNaN(t)?[NaN,NaN]:x.dataToPoint(n)}function m(t,e,n){var i=e.slice(),a=e.slice();i[0]=M(i[0]+_/2,1,!1),a[0]=M(a[0]-_/2,1,!0),n?t.push(i,a):t.push(a,i)}function v(t,e,n){var i=g(t,n),a=g(e,n);return i[0]-=_/2,a[0]-=_/2,{x:i[0],y:i[1],width:_,height:a[1]-i[1]}}function y(t){return t[0]=M(t[0],1),t}}}}};function I(t,e,n,i,a){return i<n?-1:n<i?1:0<e?t.get(a,e-1)<=i?1:-1:1}t.exports=a},2704:function(t,e,n){var i=n(789);n(2705),n(2706);var a=n(1505),o=n(1600);i.registerVisual(a("effectScatter","circle")),i.registerLayout(o("effectScatter"))},2705:function(t,e,n){var i=n(1428),a=n(1246).extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(t,e){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}});t.exports=a},2706:function(t,e,n){var i=n(789),a=n(1598),o=n(2707),r=n(1284),s=n(1600),l=i.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new a(o)},render:function(t,e,n){var i=t.getData(),a=this._symbolDraw;a.updateData(i),this.group.add(a.group)},updateTransform:function(t,e,n){var i=t.getData();this.group.dirty();var a=s().reset(t);a.progress&&a.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateGroupTransform:function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=r.clone(e.getRoamTransform()),this.group.decomposeTransform())},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e)},dispose:function(){}});t.exports=l},2707:function(t,e,n){var g=n(768),s=n(1321).createSymbol,a=n(852).Group,m=n(965).parsePercent,o=n(1693);function l(t,e){var n=e.rippleEffectColor||e.color;t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})})}function i(t,e){a.call(this);var n=new o(t,e),i=new a;this.add(n),this.add(i),i.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(t,e)}var r=i.prototype;r.stopEffectAnimation=function(){this.childAt(1).removeAll()},r.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=this.childAt(1),a=0;a<3;a++){var o=s(e,-1,-1,2,2,n);o.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var r=-a/3*t.period+t.effectOffset;o.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(r).start(),o.animateStyle(!0).when(t.period,{opacity:0}).delay(r).start(),i.add(o)}l(i,t)},r.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale"],a=0;a<i.length;a++){var o=i[a];if(e[o]!==t[o])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}l(n,t)},r.highlight=function(){this.trigger("emphasis")},r.downplay=function(){this.trigger("normal")},r.updateData=function(t,e){var n=t.hostModel;this.childAt(0).updateData(t,e);var i,a=this.childAt(1),o=t.getItemModel(e),r=t.getItemVisual(e,"symbol"),s=(i=t.getItemVisual(e,"symbolSize"),g.isArray(i)||(i=[+i,+i]),i),l=t.getItemVisual(e,"color");a.attr("scale",s),a.traverse(function(t){t.attr({fill:l})});var u=o.getShallow("symbolOffset");if(u){var c=a.position;c[0]=m(u[0],s[0]),c[1]=m(u[1],s[1])}a.rotation=(o.getShallow("symbolRotate")||0)*Math.PI/180||0;var h={};if(h.showEffectOn=n.get("showEffectOn"),h.rippleScale=o.get("rippleEffect.scale"),h.brushType=o.get("rippleEffect.brushType"),h.period=1e3*o.get("rippleEffect.period"),h.effectOffset=e/t.count(),h.z=o.getShallow("z")||0,h.zlevel=o.getShallow("zlevel")||0,h.symbolType=r,h.color=l,h.rippleEffectColor=o.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();function d(){f.highlight(),"render"!==h.showEffectOn&&this.startEffectAnimation(h)}function p(){f.downplay(),"render"!==h.showEffectOn&&this.stopEffectAnimation()}var f=this.childAt(0);this.on("mouseover",d,this).on("mouseout",p,this).on("emphasis",d,this).on("normal",p,this)}this._effectCfg=h},r.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},g.inherits(i,a);var u=i;t.exports=u},2708:function(t,e,n){var i=n(789);n(2709),n(2710);var a=n(2172),o=n(2713);i.registerLayout(a),i.registerVisual(o)},2709:function(t,e,n){n(1127).__DEV__;var i=n(1246),a=n(1320),o=n(768),r=o.concatArray,s=o.mergeAll,l=o.map,u=n(1153).encodeHTML,p=(n(1381),"undefined"==typeof Uint32Array?Array:Uint32Array),f="undefined"==typeof Float64Array?Array:Float64Array;function c(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=l(e,function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),s([e,t[0],t[1]])}))}var h=i.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(t){t.data=t.data||[],c(t);var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count)),h.superApply(this,"init",arguments)},mergeOption:function(t){if(t.data=t.data||[],c(t),t.data){var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count))}h.superApply(this,"mergeOption",arguments)},appendData:function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=r(this._flatCoords,e.flatCoords),this._flatCoordsOffset=r(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},_getCoordsFromItemModel:function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},getLineCoordsCount:function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},getLineCoords:function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],a=0;a<i;a++)e[a]=e[a]||[],e[a][0]=this._flatCoords[n+2*a],e[a][1]=this._flatCoords[n+2*a+1];return i}var o=this._getCoordsFromItemModel(t);for(a=0;a<o.length;a++)e[a]=e[a]||[],e[a][0]=o[a][0],e[a][1]=o[a][1];return o.length},_processFlatCoordsArray:function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),"number"!=typeof t[0])return{flatCoordsOffset:null,flatCoords:null,count:t.length};for(var n=t.length,i=new p(n),a=new f(n),o=0,r=0,s=0,l=0;l<n;){s++;var u=t[l++];i[r++]=o+e,i[r++]=u;for(var c=0;c<u;c++){var h=t[l++],d=t[l++];a[o++]=h,a[o++]=d}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,r),flatCoords:a,count:s}},getInitialData:function(t,e){var o=new a(["value"],this);return o.hasItemOption=!1,o.initData(t.data,[],function(t,e,n,i){if(t instanceof Array)return NaN;o.hasItemOption=!0;var a=t.value;return null!=a?a instanceof Array?a[i]:a:void 0}),o},formatTooltip:function(t){var e=this.getData().getItemModel(t),n=e.get("name");if(n)return n;var i=e.get("fromName"),a=e.get("toName"),o=[];return null!=i&&o.push(i),null!=a&&o.push(a),u(o.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},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}}}),d=h;t.exports=d},2710:function(t,e,n){n(1127).__DEV__;var i=n(789),r=n(1818),s=n(2170),l=n(1819),u=n(2171),c=n(2711),h=n(2712),d=n(2172),p=n(1599).createClipPath,a=i.extendChartView({type:"lines",init:function(){},render:function(t,e,n){var i=t.getData(),a=this._updateLineDraw(i,t),o=t.get("zlevel"),r=t.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(t)&&r&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(r/10+.9,1),0)})),a.updateData(i);var u=t.get("clip",!0)&&p(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},incrementalPrepareRender:function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},incrementalRender:function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var i=t.getData(),a=t.pipelineContext;if(!this._finished||a.large||a.progressiveRender)return{update:!0};var o=d.reset(t);o.progress&&o.progress({start:0,end:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},_updateLineDraw:function(t,e){var n=this._lineDraw,i=this._showEffect(e),a=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&a===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new h:new r(a?i?c:u:i?s:l),this._hasEffet=i,this._isPolyline=a,this._isLargeDraw=o,this.group.removeAll()),this.group.add(n.group),n},_showEffect:function(t){return!!t.get("effect.show")},_clearLayer:function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});t.exports=a},2711:function(t,e,n){var i=n(2171),a=n(768),o=n(2170),u=n(1150);function r(t,e,n){o.call(this,t,e,n),this._lastFrame=0,this._lastFramePercent=0}var s=r.prototype;s.createLine=function(t,e,n){return new i(t,e,n)},s.updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],i=0,a=1;a<e.length;a++){var o=e[a-1],r=e[a];i+=u.dist(o,r),n.push(i)}if(0!==i){for(a=0;a<n.length;a++)n[a]/=i;this._offsets=n,this._length=i}},s.getLineLength=function(t){return this._length},s.updateSymbolPosition=function(t){var e=t.__t,n=this._points,i=this._offsets,a=n.length;if(i){var o=this._lastFrame;if(e<this._lastFramePercent){for(r=Math.min(o+1,a-1);0<=r&&!(i[r]<=e);r--);r=Math.min(r,a-2)}else{for(var r=o;r<a&&!(i[r]>e);r++);r=Math.min(r-1,a-2)}u.lerp(t.position,n[r],n[r+1],(e-i[r])/(i[r+1]-i[r]));var s=n[r+1][0]-n[r][0],l=n[r+1][1]-n[r][1];t.rotation=-Math.atan2(l,s)-Math.PI/2,this._lastFrame=r,this._lastFramePercent=e,t.ignore=!1}},a.inherits(r,o);var l=r;t.exports=l},2712:function(t,e,n){var i=n(852),a=n(1806),g=n(2126),m=n(2127),o=i.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(t,e){var n=e.segs,i=e.curveness;if(e.polyline)for(var a=0;a<n.length;){var o=n[a++];if(0<o){t.moveTo(n[a++],n[a++]);for(var r=1;r<o;r++)t.lineTo(n[a++],n[a++])}}else for(a=0;a<n.length;){var s=n[a++],l=n[a++],u=n[a++],c=n[a++];if(t.moveTo(s,l),0<i){var h=(s+u)/2-(l-c)*i,d=(l+c)/2-(u-s)*i;t.quadraticCurveTo(h,d,u,c)}else t.lineTo(u,c)}},findDataIndex:function(t,e){var n=this.shape,i=n.segs,a=n.curveness;if(n.polyline)for(var o=0,r=0;r<i.length;){var s=i[r++];if(0<s)for(var l=i[r++],u=i[r++],c=1;c<s;c++){var h=i[r++],d=i[r++];if(g.containStroke(l,u,h,d))return o}o++}else for(o=0,r=0;r<i.length;){l=i[r++],u=i[r++],h=i[r++],d=i[r++];if(0<a){var p=(l+h)/2-(u-d)*a,f=(u+d)/2-(h-l)*a;if(m.containStroke(l,u,p,f,h,d))return o}else if(g.containStroke(l,u,h,d))return o;o++}return-1}});function r(){this.group=new i.Group}var s=r.prototype;s.isPersistent=function(){return!this._incremental},s.updateData=function(t){this.group.removeAll();var e=new o({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},s.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),5e5<t.count()?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},s.incrementalUpdate=function(t,e){var n=new o;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},s.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},s._setCommon=function(n,t,e){var i=t.hostModel;n.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),n.useStyle(i.getModel("lineStyle").getLineStyle()),n.style.strokeNoScale=!0;var a=t.getVisual("color");a&&n.setStyle("stroke",a),n.setStyle("fill"),e||(n.seriesIndex=i.seriesIndex,n.on("mousemove",function(t){n.dataIndex=null;var e=n.findDataIndex(t.offsetX,t.offsetY);0<e&&(n.dataIndex=e+n.__startIndex)}))},s._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var l=r;t.exports=l},2713:function(t,e){function r(t){return t instanceof Array||(t=[t,t]),t}var s="lineStyle.opacity".split("."),n={seriesType:"lines",reset:function(t,e,n){var i=r(t.get("symbol")),a=r(t.get("symbolSize")),o=t.getData();return o.setVisual("fromSymbol",i&&i[0]),o.setVisual("toSymbol",i&&i[1]),o.setVisual("fromSymbolSize",a&&a[0]),o.setVisual("toSymbolSize",a&&a[1]),o.setVisual("opacity",t.get(s)),{dataEach:o.hasItemOption?function(t,e){var n=t.getItemModel(e),i=r(n.getShallow("symbol",!0)),a=r(n.getShallow("symbolSize",!0)),o=n.get(s);i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),a[0]&&t.setItemVisual(e,"fromSymbolSize",a[0]),a[1]&&t.setItemVisual(e,"toSymbolSize",a[1]),t.setItemVisual(e,"opacity",o)}:null}}};t.exports=n},2714:function(t,e,n){n(2715),n(2716)},2715:function(t,e,n){var i=n(1246),a=n(1428),o=n(1381),r=i.extend({type:"series.heatmap",getInitialData:function(t,e){return a(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var t=o.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});t.exports=r},2716:function(t,e,n){n(1127).__DEV__;var i=n(789),k=n(852),P=n(2717),L=n(768);var a=i.extendChartView({type:"heatmap",render:function(n,t,e){var i;t.eachComponent("visualMap",function(e){e.eachTargetSeries(function(t){t===n&&(i=e)})}),this.group.removeAll(),this._incrementalDisplayable=null;var a,o=n.coordinateSystem;"cartesian2d"===o.type||"calendar"===o.type?this._renderOnCartesianAndCalendar(n,e,0,n.getData().count()):"lng"===(a=o.dimensions)[0]&&"lat"===a[1]&&this._renderOnGeo(o,n,i,e)},incrementalPrepareRender:function(t,e,n){this.group.removeAll()},incrementalRender:function(t,e,n,i){e.coordinateSystem&&this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,e,n,i,a){var o,r,s=t.coordinateSystem;if("cartesian2d"===s.type){var l=s.getAxis("x"),u=s.getAxis("y");o=l.getBandWidth(),r=u.getBandWidth()}for(var c=this.group,h=t.getData(),d="emphasis.itemStyle",p="emphasis.label",f=t.getModel("itemStyle").getItemStyle(["color"]),g=t.getModel(d).getItemStyle(),m=t.getModel("label"),v=t.getModel(p),y=s.type,x="cartesian2d"===y?[h.mapDimension("x"),h.mapDimension("y"),h.mapDimension("value")]:[h.mapDimension("time"),h.mapDimension("value")],_=n;_<i;_++){var A;if("cartesian2d"===y){if(isNaN(h.get(x[2],_)))continue;var b=s.dataToPoint([h.get(x[0],_),h.get(x[1],_)]);A=new k.Rect({shape:{x:b[0]-o/2,y:b[1]-r/2,width:o,height:r},style:{fill:h.getItemVisual(_,"color"),opacity:h.getItemVisual(_,"opacity")}})}else{if(isNaN(h.get(x[1],_)))continue;A=new k.Rect({z2:1,shape:s.dataToRect([h.get(x[0],_)]).contentShape,style:{fill:h.getItemVisual(_,"color"),opacity:h.getItemVisual(_,"opacity")}})}var w=h.getItemModel(_);h.hasItemOption&&(f=w.getModel("itemStyle").getItemStyle(["color"]),g=w.getModel(d).getItemStyle(),m=w.getModel("label"),v=w.getModel(p));var S=t.getRawValue(_),C="-";S&&null!=S[2]&&(C=S[2]),k.setLabelStyle(f,g,m,v,{labelFetcher:t,labelDataIndex:_,defaultText:C,isRectText:!0}),A.setStyle(f),k.setHoverStyle(A,h.hasItemOption?g:L.extend({},g)),(A.incremental=a)&&(A.useHoverLayer=!0),c.add(A),h.setItemGraphicEl(_,A)}},_renderOnGeo:function(a,t,e,n){var i=e.targetVisuals.inRange,o=e.targetVisuals.outOfRange,r=t.getData(),s=this._hmLayer||this._hmLayer||new P;s.blurSize=t.get("blurSize"),s.pointSize=t.get("pointSize"),s.minOpacity=t.get("minOpacity"),s.maxOpacity=t.get("maxOpacity");var l=a.getViewRect().clone(),u=a.getRoamTransform();l.applyTransform(u);var c,h,d,p,f,g,m,v,y,x=Math.max(l.x,0),_=Math.max(l.y,0),A=Math.min(l.width+l.x,n.getWidth()),b=Math.min(l.height+l.y,n.getHeight()),w=A-x,S=b-_,C=[r.mapDimension("lng"),r.mapDimension("lat"),r.mapDimension("value")],M=r.mapArray(C,function(t,e,n){var i=a.dataToPoint([t,e]);return i[0]-=x,i[1]-=_,i.push(n),i}),I=e.getExtent(),T="visualMap.continuous"===e.type?(m=I,v=e.option.range,y=m[1]-m[0],v=[(v[0]-m[0])/y,(v[1]-m[0])/y],function(t){return t>=v[0]&&t<=v[1]}):(c=I,h=e.getPieceList(),d=e.option.selected,p=c[1]-c[0],f=(h=L.map(h,function(t){return{interval:[(t.interval[0]-c[0])/p,(t.interval[1]-c[0])/p]}})).length,g=0,function(t){for(var e=g;e<f;e++)if((n=h[e].interval)[0]<=t&&t<=n[1]){g=e;break}if(e===f)for(e=g-1;0<=e;e--){var n;if((n=h[e].interval)[0]<=t&&t<=n[1]){g=e;break}}return 0<=e&&e<f&&d[e]});s.update(M,w,S,i.color.getNormalizer(),{inRange:i.color.getColorMapper(),outOfRange:o.color.getColorMapper()},T);var D=new k.Image({style:{width:w,height:S,x:x,y:_,image:s.canvas},silent:!0});this.group.add(D)},dispose:function(){}});t.exports=a},2717:function(t,e,n){var a=n(768);function i(){var t=a.createCanvas();this.canvas=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}i.prototype={update:function(t,e,n,i,a,o){var r=this._getBrush(),s=this._getGradient(t,a,"inRange"),l=this._getGradient(t,a,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,h=c.getContext("2d"),d=t.length;c.width=e,c.height=n;for(var p=0;p<d;++p){var f=t[p],g=f[0],m=f[1],v=i(f[2]);h.globalAlpha=v,h.drawImage(r,g-u,m-u)}if(!c.width||!c.height)return c;for(var y=h.getImageData(0,0,c.width,c.height),x=y.data,_=0,A=x.length,b=this.minOpacity,w=this.maxOpacity-b;_<A;){v=x[_+3]/256;var S=4*Math.floor(255*v);if(0<v){var C=o(v)?s:l;0<v&&(v=v*w+b),x[_++]=C[S],x[_++]=C[1+S],x[_++]=C[2+S],x[_++]=C[3+S]*v*256}else _+=4}return h.putImageData(y,0,0),c},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=a.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},_getGradient:function(t,e,n){for(var i=this._gradientPixels,a=i[n]||(i[n]=new Uint8ClampedArray(1024)),o=[0,0,0,0],r=0,s=0;s<256;s++)e[n](s/255,!0,o),a[r++]=o[0],a[r++]=o[1],a[r++]=o[2],a[r++]=o[3];return a}};var o=i;t.exports=o},2718:function(t,e,n){var i=n(789),a=n(768);n(1811),n(2719),n(2720);var o=n(1692).layout,r=n(1505);n(1601),i.registerLayout(a.curry(o,"pictorialBar")),i.registerVisual(r("pictorialBar","roundRect"))},2719:function(t,e,n){var i=n(2154).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(t){return t.stack=null,i.superApply(this,"getInitialData",arguments)}}),a=i;t.exports=a},2720:function(t,e,n){var i=n(789),D=n(768),d=n(852),a=n(1321).createSymbol,o=n(965),k=o.parsePercent,P=o.isNumeric,p=n(2155).setLabel,f=["itemStyle","borderWidth"],c=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],g=new d.Circle;function h(t,e,n,i){var a=t.getItemLayout(e),o=n.get("symbolRepeat"),r=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=(n.get("symbolRotate")||0)*Math.PI/180||0,u=n.get("symbolPatternSize")||2,c=n.isAnimationEnabled(),h={dataIndex:e,layout:a,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",color:t.getItemVisual(e,"color"),symbolClip:r,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:l,animationModel:c?n:null,hoverAnimation:c&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};!function(t,e,n,i,a){var o,r=i.valueDim,s=t.get("symbolBoundingData"),l=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),c=1-(n[r.wh]<=0);if(D.isArray(s)){var h=[m(l,s[0])-u,m(l,s[1])-u];h[1]<h[0]&&h.reverse(),o=h[c]}else o=null!=s?m(l,s)-u:e?i.coordSysExtent[r.index][c]-u:n[r.wh];a.boundingLength=o,e&&(a.repeatCutLength=n[r.wh]);a.pxSign=0<o?1:o<0?-1:0}(n,o,a,i,h),function(t,e,n,i,a,o,r,s,l,u){var c=l.valueDim,h=l.categoryDim,d=Math.abs(n[h.wh]),p=t.getItemVisual(e,"symbolSize");p=D.isArray(p)?p.slice():(null==p&&(p="100%"),[p,p]);p[h.index]=k(p[h.index],d),p[c.index]=k(p[c.index],i?d:Math.abs(o)),u.symbolSize=p,(u.symbolScale=[p[0]/s,p[1]/s])[c.index]*=(l.isHorizontal?-1:1)*r}(t,e,a,o,0,h.boundingLength,h.pxSign,u,i,h),function(t,e,n,i,a){var o=t.get(f)||0;o&&(g.attr({scale:e.slice(),rotation:n}),g.updateTransform(),o/=g.getLineScale(),o*=e[i.valueDim.index]);a.valueLineWidth=o}(n,h.symbolScale,l,i,h);var d=h.symbolSize,p=n.get("symbolOffset");return D.isArray(p)&&(p=[k(p[0],d[0]),k(p[1],d[1])]),function(t,e,n,i,a,o,r,s,l,u,c,h){var d=c.categoryDim,p=c.valueDim,f=h.pxSign,g=Math.max(e[p.index]+s,0),m=g;if(i){var v=Math.abs(l),y=D.retrieve(t.get("symbolMargin"),"15%")+"",x=!1;y.lastIndexOf("!")===y.length-1&&(x=!0,y=y.slice(0,y.length-1)),y=k(y,e[p.index]);var _=Math.max(g+2*y,0),A=x?0:2*y,b=P(i),w=b?i:B((v+A)/_);_=g+2*(y=(v-w*g)/2/(x?w:w-1)),A=x?0:2*y,b||"fixed"===i||(w=u?B((Math.abs(u)+A)/_):0),m=w*_-A,h.repeatTimes=w,h.symbolMargin=y}var S=f*(m/2),C=h.pathPosition=[];C[d.index]=n[d.wh]/2,C[p.index]="start"===r?S:"end"===r?l-S:l/2,o&&(C[0]+=o[0],C[1]+=o[1]);var M=h.bundlePosition=[];M[d.index]=n[d.xy],M[p.index]=n[p.xy];var I=h.barRectShape=D.extend({},n);I[p.wh]=f*Math.max(Math.abs(n[p.wh]),Math.abs(C[p.index]+S)),I[d.wh]=n[d.wh];var T=h.clipShape={};T[d.xy]=-n[d.xy],T[d.wh]=c.ecSize[d.wh],T[p.xy]=0,T[p.wh]=n[p.wh]}(n,d,a,o,0,p,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,i,h),h}function m(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function v(t){var e=t.symbolPatternSize,n=a(t.symbolType,-e/2,-e/2,e,e,t.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function y(t,e,a,n){var i=t.__pictorialBundle,o=a.symbolSize,r=a.valueLineWidth,s=a.pathPosition,l=e.valueDim,u=a.repeatTimes||0,c=0,h=o[e.valueDim.index]+r+2*a.symbolMargin;for(I(t,function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c<u?T(t,null,f(c),a,n):T(t,null,{scale:[0,0]},a,n,function(){i.remove(t)}),w(t,a),c++});c<u;c++){var d=v(a);d.__pictorialAnimationIndex=c,d.__pictorialRepeatTimes=u,i.add(d);var p=f(c);T(d,{position:p.position,scale:[0,0]},{scale:p.scale,rotation:p.rotation},a,n),d.on("mouseover",g).on("mouseout",m),w(d,a)}function f(t){var e=s.slice(),n=a.pxSign,i=t;return("start"===a.symbolRepeatDirection?0<n:n<0)&&(i=u-1-t),e[l.index]=h*(i-u/2+.5)+s[l.index],{position:e,scale:a.symbolScale.slice(),rotation:a.rotation}}function g(){I(t,function(t){t.trigger("emphasis")})}function m(){I(t,function(t){t.trigger("normal")})}}function x(t,e,n,i){var a=t.__pictorialBundle,o=t.__pictorialMainPath;o?T(o,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(o=t.__pictorialMainPath=v(n),a.add(o),T(o,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),o.on("mouseover",function(){this.trigger("emphasis")}).on("mouseout",function(){this.trigger("normal")})),w(o,n)}function _(t,e,n){var i=D.extend({},e.barRectShape),a=t.__pictorialBarRect;a?T(a,null,{shape:i},e,n):(a=t.__pictorialBarRect=new d.Rect({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(a))}function A(t,e,n,i){if(n.symbolClip){var a=t.__pictorialClipPath,o=D.extend({},n.clipShape),r=e.valueDim,s=n.animationModel,l=n.dataIndex;if(a)d.updateProps(a,{shape:o},s,l);else{o[r.wh]=0,a=new d.Rect({shape:o}),t.__pictorialBundle.setClipPath(a),t.__pictorialClipPath=a;var u={};u[r.wh]=n.clipShape[r.wh],d[i?"updateProps":"initProps"](a,{shape:u},s,l)}}}function b(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=r,n.isAnimationEnabled=s,n}function r(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function s(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function w(t,e){t.off("emphasis").off("normal");var n=e.symbolScale.slice();e.hoverAnimation&&t.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 S(t,e,n,i){var a=new d.Group,o=new d.Group;return a.add(o),(a.__pictorialBundle=o).attr("position",n.bundlePosition.slice()),n.symbolRepeat?y(a,e,n):x(a,0,n),_(a,n,i),A(a,e,n,i),a.__pictorialShapeStr=M(t,n),a.__pictorialSymbolMeta=n,a}function C(t,e,n,i){var a=i.__pictorialBarRect;a&&(a.style.text=null);var o=[];I(i,function(t){o.push(t)}),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),D.each(o,function(t){d.updateProps(t,{scale:[0,0]},n,e,function(){i.parent&&i.parent.remove(i)})}),t.setItemGraphicEl(e,null)}function M(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function I(e,n,i){D.each(e.__pictorialBundle.children(),function(t){t!==e.__pictorialBarRect&&n.call(i,t)})}function T(t,e,n,i,a,o){e&&t.attr(e),i.symbolClip&&!a?n&&t.attr(n):n&&d[a?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function L(t,e,n){var i=n.color,a=n.dataIndex,o=n.itemModel,r=o.getModel("itemStyle").getItemStyle(["color"]),s=o.getModel("emphasis.itemStyle").getItemStyle(),l=o.getShallow("cursor");I(t,function(t){t.setColor(i),t.setStyle(D.defaults({fill:i,opacity:n.opacity},r)),d.setHoverStyle(t,s),l&&(t.cursor=l),t.z2=n.z2});var u={},c=e.valueDim.posDesc[+(0<n.boundingLength)],h=t.__pictorialBarRect;p(h.style,u,o,i,e.seriesModel,a,c),d.setHoverStyle(h,u)}function B(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var l=i.extendChartView({type:"pictorialBar",render:function(t,e,n){var r=this.group,s=t.getData(),l=this._data,i=t.coordinateSystem,a=!!i.getBaseAxis().isHorizontal(),o=i.grid.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:i,coordSysExtent:[[o.x,o.x+o.width],[o.y,o.y+o.height]],isHorizontal:a,valueDim:c[+a],categoryDim:c[1-a]};return s.diff(l).add(function(t){if(s.hasValue(t)){var e=b(s,t),n=h(s,t,e,u),i=S(s,u,n);s.setItemGraphicEl(t,i),r.add(i),L(i,u,n)}}).update(function(t,e){var n=l.getItemGraphicEl(e);if(s.hasValue(t)){var i=b(s,t),a=h(s,t,i,u),o=M(s,a);n&&o!==n.__pictorialShapeStr&&(r.remove(n),s.setItemGraphicEl(t,null),n=null),n?function(t,e,n){var i=n.animationModel,a=n.dataIndex,o=t.__pictorialBundle;d.updateProps(o,{position:n.bundlePosition.slice()},i,a),n.symbolRepeat?y(t,e,n,!0):x(t,e,n,!0);_(t,n,!0),A(t,e,n,!0)}(n,u,a):n=S(s,u,a,!0),s.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=a,r.add(n),L(n,u,a)}else r.remove(n)}).remove(function(t){var e=l.getItemGraphicEl(t);e&&C(l,t,e.__pictorialSymbolMeta.animationModel,e)}).execute(),this._data=s,this.group},dispose:D.noop,remove:function(e,t){var n=this.group,i=this._data;e.get("animation")?i&&i.eachItemGraphicEl(function(t){C(i,t.dataIndex,e,t)}):n.removeAll()}});t.exports=l},2721:function(t,e,n){var i=n(789);n(2173),n(2731),n(2732);var a=n(2733),o=n(2734),r=n(1602);i.registerLayout(a),i.registerVisual(o),i.registerProcessor(r("themeRiver"))},2722:function(t,e,n){var r=n(2723);n(1381).register("single",{create:function(i,a){var o=[];return i.eachComponent("singleAxis",function(t,e){var n=new r(t,i,a);n.name="single_"+e,n.resize(t,a),t.coordinateSystem=n,o.push(n)}),i.eachSeries(function(t){if("singleAxis"===t.get("coordinateSystem")){var e=i.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=e&&e.coordinateSystem}}),o},dimensions:r.prototype.dimensions})},2723:function(t,e,n){var r=n(2724),s=n(1382),i=n(1146).getLayoutRect,a=n(768).each;function o(t,e,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,n),this.model=t}o.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:o,_init:function(t,e,n){var i=this.dimension,a=new r(i,s.createScaleByModel(t),[0,0],t.get("type"),t.get("position")),o="category"===a.type;a.onBand=o&&t.get("boundaryGap"),a.inverse=t.get("inverse"),a.orient=t.get("orient"),(t.axis=a).model=t,(a.coordinateSystem=this)._axis=a},update:function(t,e){t.eachSeries(function(t){if(t.coordinateSystem===this){var e=t.getData();a(e.mapDimension(this.dimension,!0),function(t){this._axis.scale.unionExtentFromData(e,t)},this),s.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(t,e){this._rect=i({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],a=e.reverse?1:0;e.setExtent(i[a],i[1-a]),this._updateAxisTransform(e,n?t.x:t.y)},_updateAxisTransform:function(t,e){var n=t.getExtent(),i=n[0]+n[1],a=t.isHorizontal();t.toGlobalCoord=a?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=a?function(t){return t-e}:function(t){return i-t+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(t){var e=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),n=this.getRect(),i=[],a="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[a]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-a]=0==a?n.y+n.height/2:n.x+n.width/2,i}};var l=o;t.exports=l},2724:function(t,e,n){function i(t,e,n,i,a){o.call(this,t,e,n),this.type=i||"value",this.position=a||"bottom",this.orient=null}var a=n(768),o=n(1467);i.prototype={constructor:i,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},a.inherits(i,o);var r=i;t.exports=r},2725:function(t,e,n){var s=n(768),l=n(1468),m=n(852),u=n(2174),i=n(1506),c=["axisLine","axisTickLabel","axisName"],h=i.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,e,n,i){var a=this.group;a.removeAll();var o=u.layout(t),r=new l(t,o);s.each(c,r.add,r),a.add(r.getGroup()),t.get("splitLine.show")&&this._splitLine(t),h.superCall(this,"render",t,e,n,i)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){var n=t.getModel("splitLine"),i=n.getModel("lineStyle"),a=i.get("width"),o=i.get("color");o=o instanceof Array?o:[o];for(var r=t.coordinateSystem.getRect(),s=e.isHorizontal(),l=[],u=0,c=e.getTicksCoords({tickModel:n}),h=[],d=[],p=0;p<c.length;++p){var f=e.toGlobalCoord(c[p].coord);s?(h[0]=f,h[1]=r.y,d[0]=f,d[1]=r.y+r.height):(h[0]=r.x,h[1]=f,d[0]=r.x+r.width,d[1]=f);var g=u++%o.length;l[g]=l[g]||[],l[g].push(new m.Line({subPixelOptimize:!0,shape:{x1:h[0],y1:h[1],x2:d[0],y2:d[1]},style:{lineWidth:a},silent:!0}))}for(p=0;p<l.length;++p)this.group.add(m.mergePath(l[p],{style:{stroke:o[p%o.length],lineDash:i.getLineDash(a),lineWidth:a},silent:!0}))}}}),a=h;t.exports=a},2726:function(t,e,n){var i=n(768),a=n(1245),o=n(1694),r=n(1553),s=a.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}});i.merge(s.prototype,r),o("single",s,function(t,e){return e.type||(e.data?"category":"value")},{left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}});var l=s;t.exports=l},2727:function(t,e,n){var _=n(768),i=n(987).makeInner,h=n(1695),A=n(2175),b=_.each,w=_.curry,S=i();function C(t,e,n,i,a){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var l,r,u,c,h,d,p,f,s=(l=e,u=(r=t).axis,c=u.dim,h=l,d=[],p=Number.MAX_VALUE,f=-1,b(r.seriesModels,function(e,t){var n,i,a=e.getData().mapDimension(c,!0);if(e.getAxisTooltipData){var o=e.getAxisTooltipData(a,l,u);i=o.dataIndices,n=o.nestestValue}else{if(!(i=e.getData().indicesOfNearest(a[0],l,"category"===u.type?.5:null)).length)return;n=e.getData().get(a[0],i[0])}if(null!=n&&isFinite(n)){var r=l-n,s=Math.abs(r);s<=p&&((s<p||0<=r&&f<0)&&(p=s,f=r,h=n,d.length=0),b(i,function(t){d.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:d,snapToValue:h}),g=s.payloadBatch,m=s.snapToValue;g[0]&&null==a.seriesIndex&&_.extend(a,g[0]),!i&&t.snap&&o.containData(m)&&null!=m&&(e=m),n.showPointer(t,e,g,a),n.showTooltip(t,s,m)}else n.showPointer(t,e)}function M(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function I(t,e,n,i){var a=n.payloadBatch,o=e.axis,r=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&a.length){var l=e.coordSys.model,u=h.makeKey(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:r.componentIndex,axisType:r.type,axisId:r.id,value:i,valueLabelOpt:{precision:s.get("label.precision"),formatter:s.get("label.formatter")},seriesDataIndices:a.slice()})}}function T(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function D(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=function(t,e,n){var i=t.currTrigger,r=[t.x,t.y],a=t,o=t.dispatchAction||_.bind(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){D(r)&&(r=A({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var l=D(r),u=a.axesInfo,c=s.axesInfo,h="leave"===i||D(r),d={},p={},f={list:[],map:{}},g={showPointer:w(M,p),showTooltip:w(I,f)};b(s.coordSysMap,function(t,e){var o=l||t.containPoint(r);b(s.coordSysAxesInfo[e],function(t,e){var n=t.axis,i=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!h&&o&&(!u||i)){var a=i&&i.value;null!=a||l||(a=n.pointToData(r)),null!=a&&C(t,a,g,!1,d)}})});var m,v,y,x={};return b(c,function(a,t){var o=a.linkGroup;o&&!p[t]&&b(o.axesInfo,function(t,e){var n=p[e];if(t!==a&&n){var i=n.value;o.mapper&&(i=a.axis.scale.parse(o.mapper(i,T(t),T(a)))),x[a.key]=i}})}),b(x,function(t,e){C(c[e],t,g,!0,d)}),m=p,v=c,y=d.axesInfo=[],b(v,function(t,e){var n=t.axisPointerModel.option,i=m[e];i?(t.useHandle||(n.status="show"),n.value=i.value,n.seriesDataIndices=(i.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&y.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),function(t,e,n,i){if(D(e)||!t.list.length)return i({type:"hideTip"});var a=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:t.list})}(f,r,t,o),function(t,e,n){var i=n.getZr(),a="axisPointerLastHighlights",o=S(i)[a]||{},r=S(i)[a]={};b(t,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&b(n.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;r[e]=t})});var s=[],l=[];_.each(o,function(t,e){r[e]||l.push(t)}),_.each(r,function(t,e){o[e]||s.push(t)}),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:s})}(c,0,n),d}}},2728:function(t,e,n){var i=n(789).extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}});t.exports=i},2729:function(t,e,n){var i=n(789),o=n(2176),a=i.extendComponentView({type:"axisPointer",render:function(t,e,n){var i=e.getComponent("tooltip"),a=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";o.register("axisPointer",n,function(t,e,n){"none"!==a&&("leave"===t||0<=a.indexOf(t))&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},remove:function(t,e){o.unregister(e.getZr(),"axisPointer"),a.superApply(this._model,"remove",arguments)},dispose:function(t,e){o.unregister("axisPointer",e),a.superApply(this._model,"dispose",arguments)}}),r=a;t.exports=r},2730:function(t,e,n){var i=n(1822),p=n(1699),f=n(2174),a=n(1506),o=["x","y"],r=["width","height"],s=i.extend({makeElOption:function(t,e,n,i,a){var o=n.axis,r=o.coordinateSystem,s=v(r,1-m(o)),l=r.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var c=p.buildElStyle(i),h=g[u](o,l,s);h.style=c,t.graphicKey=h.type,t.pointer=h}var d=f.layout(n);p.buildCartesianSingleLabelElOption(e,t,d,n,i,a)},getHandleTransform:function(t,e,n){var i=f.layout(e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:p.getTransformedPosition(e.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var a=n.axis,o=a.coordinateSystem,r=m(a),s=v(o,r),l=t.position;l[r]+=e[r],l[r]=Math.min(s[1],l[r]),l[r]=Math.max(s[0],l[r]);var u=v(o,1-r),c=(u[1]+u[0])/2,h=[c,c];return h[r]=l[r],{position:l,rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}}}),g={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:p.makeLineShape([e,n[0]],[e,n[1]],m(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),a=n[1]-n[0];return{type:"Rect",shape:p.makeRectShape([e-i/2,n[0]],[i,a],m(t))}}};function m(t){return t.isHorizontal()?0:1}function v(t,e){var n=t.getRect();return[n[o[e]],n[o[e]]+n[r[e]]]}a.registerAxisPointerClass("SingleAxisPointer",s);var l=s;t.exports=l},2731:function(t,e,n){var i=n(1246),h=n(1552),d=n(1597).getDimensionTypeByAxis,p=n(1320),g=n(768),m=n(987).groupData,a=n(1153).encodeHTML,o=i.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){o.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(t){var e=t.length,n=m(t,function(t){return t[2]}),i=[];n.buckets.each(function(t,e){i.push({name:e,dataList:t})});for(var a=i.length,o=-1,r=-1,s=0;s<a;++s){var l=i[s].dataList.length;o<l&&(o=l,r=s)}for(var u=0;u<a;++u)if(u!==r)for(var c=i[u].name,h=0;h<o;++h){for(var d=i[r].dataList[h][0],p=i[u].dataList.length,f=-1,g=0;g<p;++g){if(i[u].dataList[g][0]===d){f=g;break}}-1===f&&(t[e]=[],t[e][0]=d,t[e][1]=0,t[e][2]=c,e++)}return t},getInitialData:function(t,e){for(var n=e.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0].get("type"),i=g.filter(t.data,function(t){return void 0!==t[2]}),a=this.fixData(i||[]),o=[],r=this.nameMap=g.createHashMap(),s=0,l=0;l<a.length;++l)o.push(a[l][2]),r.get(a[l][2])||(r.set(a[l][2],s),s++);var u=h(a,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:d(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),c=new p(u,this);return c.initData(a),c},getLayerSeries:function(){for(var n=this.getData(),t=n.count(),e=[],i=0;i<t;++i)e[i]=i;var a=n.mapDimension("single"),o=m(e,function(t){return n.get("name",t)}),r=[];return o.buckets.each(function(t,e){t.sort(function(t,e){return n.get(a,t)-n.get(a,e)}),r.push({name:e,indices:t})}),r},getAxisTooltipData:function(t,e,n){g.isArray(t)||(t=t?[t]:[]);for(var i,a=this.getData(),o=this.getLayerSeries(),r=[],s=o.length,l=0;l<s;++l){for(var u=Number.MAX_VALUE,c=-1,h=o[l].indices.length,d=0;d<h;++d){var p=a.get(t[0],o[l].indices[d]),f=Math.abs(p-e);f<=u&&(i=p,u=f,c=o[l].indices[d])}r.push(c)}return{dataIndices:r,nestestValue:i}},formatTooltip:function(t){var e=this.getData(),n=e.getName(t),i=e.get(e.mapDimension("value"),t);return!isNaN(i)&&null!=i||(i="-"),a(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}}}}),r=o;t.exports=r},2732:function(t,e,n){var i=n(789),P=n(2150).Polygon,L=n(852),a=n(768),l=a.bind,B=a.extend,u=n(1504),o=i.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(M,t,e){var I=M.getData(),T=this.group,D=M.getLayerSeries(),n=I.getLayout("layoutInfo"),i=n.rect,a=n.boundaryGap;function o(t){return t.name}T.attr("position",[0,i.y+a[0]]);var r=new u(this._layersSeries||[],D,o,o),k={};function s(t,e,n){var i=this._layers;if("remove"!==t){for(var a,o,r,s=[],l=[],u=D[e].indices,c=0;c<u.length;c++){var h=I.getItemLayout(u[c]),d=h.x,p=h.y0,f=h.y;s.push([d,p]),l.push([d,p+f]),a=I.getItemVisual(u[c],"color")}var g,m,v,y,x=I.getItemLayout(u[0]),_=I.getItemModel(u[c-1]),A=_.getModel("label"),b=A.get("margin");if("add"===t){var w=k[e]=new L.Group;o=new P({shape:{points:s,stackedOnPoints:l,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),r=new L.Text({style:{x:x.x-b,y:x.y0+x.y/2}}),w.add(o),w.add(r),T.add(w),o.setClipPath((g=o.getBoundingRect(),m=M,v=function(){o.removeClipPath()},y=new L.Rect({shape:{x:g.x-10,y:g.y-10,width:0,height:g.height+20}}),L.initProps(y,{shape:{width:g.width+20,height:g.height+20}},m,v),y))}else{w=i[n];o=w.childAt(0),r=w.childAt(1),T.add(w),k[e]=w,L.updateProps(o,{shape:{points:s,stackedOnPoints:l}},M),L.updateProps(r,{style:{x:x.x-b,y:x.y0+x.y/2}},M)}var S=_.getModel("emphasis.itemStyle"),C=_.getModel("itemStyle");L.setTextStyle(r.style,A,{text:A.get("show")?M.getFormattedLabel(u[c-1],"normal")||I.getName(u[c-1]):null,textVerticalAlign:"middle"}),o.setStyle(B({fill:a},C.getItemStyle(["color"]))),L.setHoverStyle(o,S.getItemStyle())}else T.remove(i[e])}r.add(l(s,this,"add")).update(l(s,this,"update")).remove(l(s,this,"remove")).execute(),this._layersSeries=D,this._layers=k},dispose:function(){}});t.exports=o},2733:function(t,e,n){var m=n(768),s=n(965);function l(n,t,e){if(n.count())for(var i,a=t.coordinateSystem,o=t.getLayerSeries(),r=n.mapDimension("single"),s=n.mapDimension("value"),l=m.map(o,function(t){return m.map(t.indices,function(t){var e=a.dataToPoint(n.get(r,t));return e[1]=n.get(s,t),e})}),u=function(t){for(var e=t.length,n=t[0].length,i=[],a=[],o=0,r={},s=0;s<n;++s){for(var l=0,u=0;l<e;++l)u+=t[l][s][1];o<u&&(o=u),i.push(u)}for(var c=0;c<n;++c)a[c]=(o-i[c])/2;for(var h=o=0;h<n;++h){var d=i[h]+a[h];o<d&&(o=d)}return r.y0=a,r.max=o,r}(l),c=u.y0,h=e/u.max,d=o.length,p=o[0].indices.length,f=0;f<p;++f){i=c[f]*h,n.setItemLayout(o[0].indices[f],{layerIndex:0,x:l[0][f][0],y0:i,y:l[0][f][1]*h});for(var g=1;g<d;++g)i+=l[g-1][f][1]*h,n.setItemLayout(o[g].indices[f],{layerIndex:g,x:l[g][f][0],y0:i,y:l[g][f][1]*h})}}t.exports=function(t,e){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),n=t.coordinateSystem,i={},a=n.getRect();i.rect=a;var o=t.get("boundaryGap"),r=n.getAxis();(i.boundaryGap=o,"horizontal"===r.orient)?(o[0]=s.parsePercent(o[0],a.height),o[1]=s.parsePercent(o[1],a.height),l(e,t,a.height-o[0]-o[1])):(o[0]=s.parsePercent(o[0],a.width),o[1]=s.parsePercent(o[1],a.width),l(e,t,a.width-o[0]-o[1]));e.setLayout("layoutInfo",i)})}},2734:function(t,e,n){var i=n(768).createHashMap;t.exports=function(t){t.eachSeriesByType("themeRiver",function(a){var o=a.getData(),r=a.getRawData(),s=a.get("color"),l=i();o.each(function(t){l.set(o.getRawIndex(t),t)}),r.each(function(t){var e=r.getName(t),n=s[(a.nameMap.get(e)-1)%s.length];r.setItemVisual(t,"color",n);var i=l.get(t);null!=i&&o.setItemVisual(i,"color",n)})})}},2735:function(t,e,n){var i=n(789),a=n(768);n(2736),n(2737),n(2739);var o=n(1696),r=n(2740),s=n(1602);i.registerVisual(a.curry(o,"sunburst")),i.registerLayout(a.curry(r,"sunburst")),i.registerProcessor(a.curry(s,"sunburst"))},2736:function(t,e,n){var o=n(768),i=n(1246),r=n(1817),a=n(1507).wrapTreePathInfo,s=i.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(t,e){var n={name:t.name,children:t.data};!function n(t){var i=0;o.each(t.children,function(t){n(t);var e=t.value;o.isArray(e)&&(e=e[0]),i+=e});var e=t.value;o.isArray(e)&&(e=e[0]);null!=e&&!isNaN(e)||(e=i);e<0&&(e=0);o.isArray(t.value)?t.value[0]=e:t.value=e}(n);var i=t.levels||[],a={};return a.levels=i,r.createTree(n,this,a).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var e=i.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=a(n,this),e},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(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});t.exports=s},2737:function(t,e,n){var f=n(768),i=n(1412),g=n(2738),m=n(1504),a=i.extend({type:"sunburst",init:function(){},render:function(a,o,t,e){var i=this;this.seriesModel=a,this.api=t,this.ecModel=o;var r=a.getData(),s=r.tree.root,n=a.getViewRoot(),l=this.group,u=a.get("renderLabelForZeroData"),c=[];n.eachNode(function(t){c.push(t)});var h=this._oldChildren||[];if(!function(n,i){if(0===n.length&&0===i.length)return;function t(t){return t.getId()}function e(t,e){!function(t,e){u||!t||t.getValue()||(t=null);if(t!==s&&e!==s)if(e&&e.piece)t?(e.piece.updateData(!1,t,"normal",a,o),r.setItemGraphicEl(t.dataIndex,e.piece)):function(t){if(!t)return;t.piece&&(l.remove(t.piece),t.piece=null)}(e);else if(t){var n=new g(t,a,o);l.add(n),r.setItemGraphicEl(t.dataIndex,n)}}(null==t?null:n[t],null==e?null:i[e])}new m(i,n,t,t).add(e).update(e).remove(f.curry(e,null)).execute()}(c,h),function(t,e){if(0<e.depth){i.virtualPiece?i.virtualPiece.updateData(!1,t,"normal",a,o):(i.virtualPiece=new g(t,a,o),l.add(i.virtualPiece)),e.piece._onclickEvent&&e.piece.off("click",e.piece._onclickEvent);function n(t){i._rootToNode(e.parentNode)}e.piece._onclickEvent=n,i.virtualPiece.on("click",n)}else i.virtualPiece&&(l.remove(i.virtualPiece),i.virtualPiece=null)}(s,n),e&&e.highlight&&e.highlight.piece){var d=a.getShallow("highlightPolicy");e.highlight.piece.onEmphasis(d)}else if(e&&e.unhighlight){var p=this.virtualPiece;!p&&s.children.length&&(p=s.children[0].piece),p&&p.onNormal()}this._initEvents(),this._oldChildren=c},dispose:function(){},_initEvents:function(){function t(o){var r=!1;s.seriesModel.getViewRoot().eachNode(function(t){if(!r&&t.piece&&t.piece.childAt(0)===o.target){var e=t.getModel().get("nodeClick");if("rootToNode"===e)s._rootToNode(t);else if("link"===e){var n=t.getModel(),i=n.get("link");if(i){var a=n.get("target",!0)||"_blank";window.open(i,a)}}r=!0}})}var s=this;this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,a=t[1]-n.cy,o=Math.sqrt(i*i+a*a);return o<=n.r&&o>=n.r0}}});t.exports=a},2738:function(t,e,n){var S=n(768),C=n(852),r="none",s="ancestor",l="self";function i(t,e,n){C.Group.call(this);var i=new C.Sector({z2:2});i.seriesIndex=e.seriesIndex;var a=new C.Text({z2:4,silent:t.getModel("label").get("silent")});function o(){a.ignore=a.hoverIgnore}function r(){a.ignore=a.normalIgnore}this.add(i),this.add(a),this.updateData(!0,t,"normal",e,n),this.on("emphasis",o).on("normal",r).on("mouseover",o).on("mouseout",r)}var a=i.prototype;a.updateData=function(t,e,n,i,a){(this.node=e).piece=this,i=i||this._seriesModel,a=a||this._ecModel;var o=this.childAt(0);o.dataIndex=e.dataIndex;var r=e.getModel(),s=e.getLayout(),l=S.extend({},s);l.label=null;var u,c,h=function(t,e,n){var i=t.getVisual("color"),a=t.getVisual("visualMeta");a&&0!==a.length||(i=null);var o=t.getModel("itemStyle").get("color");{if(o)return o;if(i)return i;if(0===t.depth)return n.option.color[0];var r=n.option.color.length;o=n.option.color[function(t){var e=t;for(;1<e.depth;)e=e.parentNode;var n=t.getAncestors()[0];return S.indexOf(n.children,e)}(t)%r]}return o}(e,0,a);u=e,c=h,i.getData().setItemVisual(u.dataIndex,"color",c);var d,p=r.getModel("itemStyle").getItemStyle();if("normal"===n)d=p;else{var f=r.getModel(n+".itemStyle").getItemStyle();d=S.merge(f,p)}d=S.defaults({lineJoin:"bevel",fill:d.fill||h},d),t?(o.setShape(l),o.shape.r=s.r0,C.updateProps(o,{shape:{r:s.r}},i,e.dataIndex),o.useStyle(d)):"object"==typeof d.fill&&d.fill.type||"object"==typeof o.style.fill&&o.style.fill.type?(C.updateProps(o,{shape:l},i),o.useStyle(d)):C.updateProps(o,{shape:l,style:d},i),this._updateLabel(i,h,n);var g=r.getShallow("cursor");if(g&&o.attr("cursor",g),t){var m=i.getShallow("highlightPolicy");this._initEvents(o,e,i,m)}this._seriesModel=i||this._seriesModel,this._ecModel=a||this._ecModel},a.onEmphasis=function(a){var o=this;this.node.hostTree.root.eachNode(function(t){var e,n,i;t.piece&&(o.node===t?t.piece.updateData(!1,t,"emphasis"):(e=t,n=o.node,(i=a)!==r&&(i===l?e===n:i===s?e===n||e.isAncestorOf(n):e===n||e.isDescendantOf(n))?t.piece.childAt(0).trigger("highlight"):a!==r&&t.piece.childAt(0).trigger("downplay")))})},a.onNormal=function(){this.node.hostTree.root.eachNode(function(t){t.piece&&t.piece.updateData(!1,t,"normal")})},a.onHighlight=function(){this.updateData(!1,this.node,"highlight")},a.onDownplay=function(){this.updateData(!1,this.node,"downplay")},a._updateLabel=function(t,e,n){var i=this.node.getModel(),a=i.getModel("label"),o="normal"===n||"emphasis"===n?a:i.getModel(n+".label"),r=i.getModel("emphasis.label"),s=S.retrieve(t.getFormattedLabel(this.node.dataIndex,n,null,null,"label"),this.node.name);!1===w("show")&&(s="");var l=this.node.getLayout(),u=o.get("minAngle");null==u&&(u=a.get("minAngle")),u=u/180*Math.PI;var c=l.endAngle-l.startAngle;null!=u&&Math.abs(c)<u&&(s="");var h=this.childAt(1);C.setLabelStyle(h.style,h.hoverStyle||{},a,r,{defaultText:o.getShallow("show")?s:null,autoColor:e,useInsideStyle:!0});var d,p=(l.startAngle+l.endAngle)/2,f=Math.cos(p),g=Math.sin(p),m=w("position"),v=w("distance")||0,y=w("align");"outside"===m?(d=l.r+v,y=p>Math.PI/2?"right":"left"):y&&"center"!==y?"left"===y?(d=l.r0+v,p>Math.PI/2&&(y="right")):"right"===y&&(d=l.r-v,p>Math.PI/2&&(y="left")):(d=(l.r+l.r0)/2,y="center"),h.attr("style",{text:s,textAlign:y,textVerticalAlign:w("verticalAlign")||"middle",opacity:w("opacity")});var x=d*f+l.cx,_=d*g+l.cy;h.attr("position",[x,_]);var A=w("rotate"),b=0;function w(t){var e=o.get(t);return null==e?a.get(t):e}"radial"===A?(b=-p)<-Math.PI/2&&(b+=Math.PI):"tangential"===A?(b=Math.PI/2-p)>Math.PI/2?b-=Math.PI:b<-Math.PI/2&&(b+=Math.PI):"number"==typeof A&&(b=A*Math.PI/180),h.attr("rotation",b)},a._initEvents=function(t,e,n,i){t.off("mouseover").off("mouseout").off("emphasis").off("normal");function a(){r.onEmphasis(i)}function o(){r.onNormal()}var r=this;n.isAnimationEnabled()&&t.on("mouseover",a).on("mouseout",o).on("emphasis",a).on("normal",o).on("downplay",function(){r.onDownplay()}).on("highlight",function(){r.onHighlight()})},S.inherits(i,C.Group);var o=i;t.exports=o},2739:function(t,e,n){var i=n(789),o=n(1507),r="sunburstRootToNode";i.registerAction({type:r,update:"updateView"},function(a,t){t.eachComponent({mainType:"series",subType:"sunburst",query:a},function(t,e){var n=o.retrieveTargetInfo(a,[r],t);if(n){var i=t.getViewRoot();i&&(a.direction=o.aboveViewRoot(i,n.node)?"rollUp":"drillDown"),t.resetViewRoot(n.node)}})});var a="sunburstHighlight";i.registerAction({type:a,update:"updateView"},function(i,t){t.eachComponent({mainType:"series",subType:"sunburst",query:i},function(t,e){var n=o.retrieveTargetInfo(i,[a],t);n&&(i.highlight=n.node)})});i.registerAction({type:"sunburstUnhighlight",update:"updateView"},function(n,t){t.eachComponent({mainType:"series",subType:"sunburst",query:n},function(t,e){n.unhighlight=!0})})},2740:function(t,e,n){var k=n(965).parsePercent,P=n(768),L=Math.PI/180;function B(t,e){if("function"==typeof e)return t.sort(e);var i="asc"===e;return t.sort(function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0==n?(t.dataIndex-e.dataIndex)*(i?-1:1):n})}t.exports=function(t,e,D,n){e.eachSeriesByType(t,function(t){var e=t.get("center"),n=t.get("radius");P.isArray(n)||(n=[0,n]),P.isArray(e)||(e=[e,e]);var i=D.getWidth(),a=D.getHeight(),c=Math.min(i,a),h=k(e[0],i),d=k(e[1],a),p=k(n[0],c/2),o=k(n[1],c/2),r=-t.get("startAngle")*L,f=t.get("minAngle")*L,g=t.getData().tree.root,s=t.getViewRoot(),m=s.depth,l=t.get("sort");null!=l&&!function e(t,n){var i=t.children||[];t.children=B(i,n);i.length&&P.each(t.children,function(t){e(t,n)})}(s,l);var u=0;P.each(s.children,function(t){isNaN(t.getValue())||u++});var v=s.getValue(),y=Math.PI/(v||u)*2,x=0<s.depth,_=s.height-(x?-1:1),A=(o-p)/(_||1),b=t.get("clockwise"),w=t.get("stillShowZeroSum"),S=b?1:-1,C=function(t,e){if(t){var n=e;if(t!==g){var i=t.getValue(),a=0===v&&w?y:i*y;a<f&&(a=f),n=e+S*a;var o=t.depth-m-(x?-1:1),r=p+A*o,s=p+A*(1+o),l=t.getModel();null!=l.get("r0")&&(r=k(l.get("r0"),c/2)),null!=l.get("r")&&(s=k(l.get("r"),c/2)),t.setLayout({angle:a,startAngle:e,endAngle:n,clockwise:b,cx:h,cy:d,r0:r,r:s})}if(t.children&&t.children.length){var u=0;P.each(t.children,function(t){u+=C(t,e+u)})}return n-e}};if(x){var M=p,I=p+A,T=2*Math.PI;g.setLayout({angle:T,startAngle:r,endAngle:r+T,clockwise:b,cx:h,cy:d,r0:M,r:I})}C(s,r)})}},2741:function(t,e,n){n(1127).__DEV__;var y=n(768),x=n(852),_=n(1810).getDefaultLabel,i=n(1428),A=n(1692).getLayoutOnAxis,p=n(1504),a=n(1246),o=n(1241),r=n(1412),u=n(1599).createClipPath,s=n(2742),l=n(2743),c=n(2744),h=n(2745),d=n(2746),f=x.CACHED_LABEL_STYLE_PROPERTIES,b=["itemStyle"],w=["emphasis","itemStyle"],S=["label"],C=["emphasis","label"],g="e\0\0",M={cartesian2d:s,geo:l,singleAxis:c,polar:h,calendar:d};function m(t,e,n,i,a){null==n[t]||a||(e[t]=n[t],n[t]=i[t])}function v(o,r,e,n){var i=o.get("renderItem"),a=o.coordinateSystem,t={};a&&(t=a.prepareCustoms?a.prepareCustoms():M[a.type](a));var s,l,u,c,h,d,p,f=y.defaults({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:function(t,e){return null==e&&(e=u),r.get(r.getDimension(t||0),e)},style:function(t,e){null==e&&(e=u),v(e);var n=c.getModel(b).getItemStyle();null!=p&&(n.fill=p);var i=r.getItemVisual(e,"opacity");null!=i&&(n.opacity=i);var a=t?P(t,h):h;return x.setTextStyle(n,a,null,{autoColor:p,isRectText:!0}),n.text=a.getShallow("show")?y.retrieve2(o.getFormattedLabel(e,"normal"),_(r,e)):null,t&&L(n,t),n},styleEmphasis:function(t,e){null==e&&(e=u),v(e);var n=c.getModel(w).getItemStyle(),i=t?P(t,d):d;return x.setTextStyle(n,i,null,{isRectText:!0},!0),n.text=i.getShallow("show")?y.retrieve3(o.getFormattedLabel(e,"emphasis"),o.getFormattedLabel(e,"normal"),_(r,e)):null,t&&L(n,t),n},visual:function(t,e){return null==e&&(e=u),r.getItemVisual(e,t)},barLayout:function(t){if(a.getBaseAxis){var e=a.getBaseAxis();return A(y.defaults({axis:e},t),n)}},currentSeriesIndices:function(){return e.getCurrentSeriesIndices()},font:function(t){return x.getFont(t,e)}},t.api||{}),g={context:{},seriesId:o.id,seriesName:o.name,seriesIndex:o.seriesIndex,coordSys:t.coordSys,dataInsideLength:r.count(),encode:(s=o.getData(),l={},y.each(s.dimensions,function(t,e){var n=s.getDimensionInfo(t);if(!n.isExtraCoord){var i=n.coordDim;(l[i]=l[i]||[])[n.coordDimIndex]=e}}),l)},m=!0;return function(t,e){return u=t,m=!0,i&&i(y.defaults({dataIndexInside:t,dataIndex:r.getRawIndex(t),actionType:e?e.type:null},g),f)};function v(t){null==t&&(t=u),m&&(c=r.getItemModel(t),h=c.getModel(S),d=c.getModel(C),p=r.getItemVisual(t,"color"),m=!1)}}function I(t,e,n,i,a,o){return(t=T(t,e,n,i,a,o,!0))&&o.setItemGraphicEl(e,t),t}function T(t,e,n,i,a,o,r){var s,l=!n,u=(n=n||{}).type,c=n.shape,h=n.style;if(t&&(l||null!=u&&u!==t.__customGraphicType||"path"===u&&((s=c)&&(s.hasOwnProperty("pathData")||s.hasOwnProperty("d")))&&E(c)!==t.__customPathData||"image"===u&&O(h,"image")&&h.image!==t.__customImagePath||"text"===u&&O(c,"text")&&h.text!==t.__customText)&&(a.remove(t),t=null),!l){var d=!t;return function(e,t,n,i,a,o,r){var s={},l=n.style||{};if(n.shape&&(s.shape=y.clone(n.shape)),n.position&&(s.position=n.position.slice()),n.scale&&(s.scale=n.scale.slice()),n.origin&&(s.origin=n.origin.slice()),n.rotation&&(s.rotation=n.rotation),"image"===e.type&&n.style){var u=s.style={};y.each(["x","y","width","height"],function(t){m(t,u,l,e.style,o)})}if("text"===e.type&&n.style){u=s.style={};y.each(["x","y"],function(t){m(t,u,l,e.style,o)}),!l.hasOwnProperty("textFill")&&l.fill&&(l.textFill=l.fill),!l.hasOwnProperty("textStroke")&&l.stroke&&(l.textStroke=l.stroke)}if("group"!==e.type&&(e.useStyle(l),o)){e.style.opacity=0;var c=l.opacity;null==c&&(c=1),x.initProps(e,{style:{opacity:c}},i,t)}o?e.attr(s):x.updateProps(e,s,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 h=n.styleEmphasis;x.setElementHoverStyle(e,h),r&&x.setAsHighDownDispatcher(e,!1!==h)}(t=t||function(t){var e,n=t.type;if("path"===n){var i=t.shape,a=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,o=E(i);(e=x.makePath(o,null,a,i.layout||"center")).__customPathData=o}else if("image"===n)(e=new x.Image({})).__customImagePath=t.style.image;else if("text"===n)(e=new x.Text({})).__customText=t.style.text;else if("group"===n)e=new x.Group;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');e=new(x.getShapeClass(n))}return e.__customGraphicType=n,e.name=t.name,e}(n),e,n,i,0,d,r),"group"===u&&function(t,e,n,i,a){var o=n.children,r=o?o.length:0,s=n.$mergeChildren,l="byName"===s||n.diffChildrenByName,u=!1===s;if(!r&&!l&&!u)return;if(l)return function(t){new p(t.oldChildren,t.newChildren,D,D,t).add(k).update(k).remove(B).execute()}({oldChildren:t.children()||[],newChildren:o||[],dataIndex:e,animatableModel:i,group:t,data:a});u&&t.removeAll();for(var c=0;c<r;c++)o[c]&&T(t.childAt(c),e,o[c],i,t,a)}(t,e,n,i,o),a.add(t),t}}function D(t,e){var n=t&&t.name;return null!=n?n:g+e}function k(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null;T(null!=e?n.oldChildren[e]:null,n.dataIndex,i,n.animatableModel,n.group,n.data)}function P(n,t){var i=new o({},t);return y.each(f,function(t,e){n.hasOwnProperty(t)&&(i.option[e]=n[t])}),i}function L(t,e){for(var n in e)!e.hasOwnProperty(n)&&f.hasOwnProperty(n)||(t[n]=e[n])}function B(t){var e=this.context,n=e.oldChildren[t];n&&e.group.remove(n)}function E(t){return t&&(t.pathData||t.d)}function O(t,e){return t&&t.hasOwnProperty(e)}a.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(t,e){return i(this.getSource(),this)},getDataParams:function(t,e,n){var i=a.prototype.getDataParams.apply(this,arguments);return n&&(i.info=n.info),i}}),r.extend({type:"custom",_data:null,render:function(n,t,e,i){var a=this._data,o=n.getData(),r=this.group,s=v(n,o,t,e);o.diff(a).add(function(t){I(null,t,s(t,i),n,r,o)}).update(function(t,e){I(a.getItemGraphicEl(e),t,s(t,i),n,r,o)}).remove(function(t){var e=a.getItemGraphicEl(t);e&&r.remove(e)}).execute();var l=n.get("clip",!0)?u(n.coordinateSystem,!1,n):null;l?r.setClipPath(l):r.removeClipPath(),this._data=o},incrementalPrepareRender:function(t,e,n){this.group.removeAll(),this._data=null},incrementalRender:function(t,e,n,i,a){var o=e.getData(),r=v(e,o,n,i);function s(t){t.isGroup||(t.incremental=!0,t.useHoverLayer=!0)}for(var l=t.start;l<t.end;l++){I(null,l,r(l,a),e,this.group,o).traverse(s)}},dispose:y.noop,filterForExposedEvent:function(t,e,n,i){var a=e.element;if(null==a||n.name===a)return!0;for(;(n=n.parent)&&n!==this.group;)if(n.name===a)return!0;return!1}})},2742:function(t,e,n){var i=n(768);function a(o,r){return r=r||[0,0],i.map(["x","y"],function(t,e){var n=this.getAxis(t),i=r[e],a=o[e]/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-a)-n.dataToCoord(i+a))},this)}t.exports=function(e){var t=e.grid.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(a,e)}}}},2743:function(t,e,n){var i=n(768);function a(o,r){return r=r||[0,0],i.map([0,1],function(t){var e=r[t],n=o[t]/2,i=[],a=[];return i[t]=e-n,a[t]=e+n,i[1-t]=a[1-t]=r[1-t],Math.abs(this.dataToPoint(i)[t]-this.dataToPoint(a)[t])},this)}t.exports=function(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(a,e)}}}},2744:function(t,e,n){var i=n(768);function a(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,a=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-a)-n.dataToCoord(i+a))}t.exports=function(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(a,e)}}}},2745:function(t,e,n){var i=n(768);function s(s,l){return i.map(["Radius","Angle"],function(t,e){var n=this["get"+t+"Axis"](),i=l[e],a=s[e]/2,o="dataTo"+t,r="category"===n.type?n.getBandWidth():Math.abs(n[o](i-a)-n[o](i+a));return"Angle"===t&&(r=r*Math.PI/180),r},this)}t.exports=function(a){var o=a.getRadiusAxis(),r=a.getAngleAxis(),t=o.getExtent();return t[0]>t[1]&&t.reverse(),{coordSys:{type:"polar",cx:a.cx,cy:a.cy,r:t[1],r0:t[0]},api:{coord:i.bind(function(t){var e=o.dataToRadius(t[0]),n=r.dataToAngle(t[1]),i=a.coordToPoint([e,n]);return i.push(e,n*Math.PI/180),i}),size:i.bind(s,a)}}}},2746:function(t,e){t.exports=function(n){var t=n.getRect(),e=n.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:n.getCellWidth(),cellHeight:n.getCellHeight(),rangeInfo:{start:e.start,end:e.end,weeks:e.weeks,dayCount:e.allDay}},api:{coord:function(t,e){return n.dataToPoint(t,e)}}}}},2747:function(t,e,n){n(1601),n(2177),n(1604)},2748:function(t,e,n){var i=n(789),a=n(768),o=n(2749);n(1823),n(2755),n(2757),n(1604),n(2759),i.registerLayout(a.curry(o,"bar")),i.extendComponentView({type:"polar"})},2749:function(t,e,n){var p=n(768),m=n(965).parsePercent,O=n(1413).isDimensionStacked;function N(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function R(t,e){return e.dim+t.model.componentIndex}function i(t,e,n){var B={},E=function(t){var g={};p.each(t,function(t,e){var n=t.getData(),i=t.coordinateSystem,a=i.getBaseAxis(),o=R(i,a),r=a.getExtent(),s="category"===a.type?a.getBandWidth():Math.abs(r[1]-r[0])/n.count(),l=g[o]||{bandWidth:s,remainedWidth:s,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},u=l.stacks;g[o]=l;var c=N(t);u[c]||l.autoWidthCount++,u[c]=u[c]||{width:0,maxWidth:0};var h=m(t.get("barWidth"),s),d=m(t.get("barMaxWidth"),s),p=t.get("barGap"),f=t.get("barCategoryGap");h&&!u[c].width&&(h=Math.min(l.remainedWidth,h),u[c].width=h,l.remainedWidth-=h),d&&(u[c].maxWidth=d),null!=p&&(l.gap=p),null!=f&&(l.categoryGap=f)});var d={};return p.each(g,function(t,n){d[n]={};var e=t.stacks,i=t.bandWidth,a=m(t.categoryGap,i),o=m(t.gap,1),r=t.remainedWidth,s=t.autoWidthCount,l=(r-a)/(s+(s-1)*o);l=Math.max(l,0),p.each(e,function(t,e){var n=t.maxWidth;n&&n<l&&(n=Math.min(n,r),t.width&&(n=Math.min(n,t.width)),r-=n,t.width=n,s--)}),l=(r-a)/(s+(s-1)*o),l=Math.max(l,0);var u,c=0;p.each(e,function(t,e){t.width||(t.width=l),c+=(u=t).width*(1+o)}),u&&(c-=u.width*o);var h=-c/2;p.each(e,function(t,e){d[n][e]=d[n][e]||{offset:h,width:t.width},h+=t.width*(1+o)})}),d}(p.filter(e.getSeriesByType(t),function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type}));e.eachSeriesByType(t,function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),a=R(n,i),o=N(t),r=E[a][o],s=r.offset,l=r.width,u=n.getOtherAxis(i),c=t.coordinateSystem.cx,h=t.coordinateSystem.cy,d=t.get("barMinHeight")||0,p=t.get("barMinAngle")||0;B[o]=B[o]||[];for(var f=e.mapDimension(u.dim),g=e.mapDimension(i.dim),m=O(e,f),v="radius"!==i.dim||!t.get("roundCap",!0),y=u.getExtent()[0],x=0,_=e.count();x<_;x++){var A=e.get(f,x),b=e.get(g,x);if(!isNaN(A)){var w,S,C,M,I=0<=A?"p":"n",T=y;if(m&&(B[o][b]||(B[o][b]={p:y,n:y}),T=B[o][b][I]),"radius"===u.dim){var D=u.dataToRadius(A)-y,k=i.dataToAngle(b);Math.abs(D)<d&&(D=(D<0?-1:1)*d),S=(w=T)+D,M=(C=k-s)-l,m&&(B[o][b][I]=S)}else{var P=u.dataToAngle(A,v)-y,L=i.dataToRadius(b);Math.abs(P)<p&&(P=(P<0?-1:1)*p),S=(w=L+s)+l,M=(C=T)+P,m&&(B[o][b][I]=M)}e.setItemLayout(x,{cx:c,cy:h,r0:w,r:S,startAngle:-C*Math.PI/180,endAngle:-M*Math.PI/180})}}}},this)}t.exports=i},2750:function(t,e,n){function i(t){this.name=t||"",this.cx=0,this.cy=0,this._radiusAxis=new a,this._angleAxis=new o,this._radiusAxis.polar=this._angleAxis.polar=this}var a=n(2751),o=n(2752);i.prototype={type:"polar",axisPointerEnabled:!0,constructor:i,dimensions:["radius","angle"],model:null,containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),a=i.getExtent(),o=Math.min(a[0],a[1]),r=Math.max(a[0],a[1]);i.inverse?o=r-360:r=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=l<o?1:-1;l<o||r<l;)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,a=n*n+i*i,o=this.r,r=this.r0;return a<=o*o&&r*r<=a}}}};var r=i;t.exports=r},2751:function(t,e,n){var i=n(768),a=n(1467);function o(t,e){a.call(this,"radius",t,e),this.type="category"}o.prototype={constructor:o,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToRadius:a.prototype.dataToCoord,radiusToData:a.prototype.coordToData},i.inherits(o,a);var r=o;t.exports=r},2752:function(t,e,n){var i=n(768),p=n(1319),a=n(1467),f=(0,n(987).makeInner)();function o(t,e){e=e||[0,360],a.call(this,"angle",t,e),this.type="category"}o.prototype={constructor:o,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToAngle:a.prototype.dataToCoord,angleToData:a.prototype.coordToData,calculateCategoryInterval:function(){var t=this.getLabelModel(),e=this.scale,n=e.getExtent(),i=e.count();if(n[1]-n[0]<1)return 0;var a=n[0],o=this.dataToCoord(a+1)-this.dataToCoord(a),r=Math.abs(o),s=p.getBoundingRect(a,t.getFont(),"center","top"),l=Math.max(s.height,7)/r;isNaN(l)&&(l=1/0);var u=Math.max(0,Math.floor(l)),c=f(this.model),h=c.lastAutoInterval,d=c.lastTickCount;return null!=h&&null!=d&&Math.abs(h-u)<=1&&Math.abs(d-i)<=1&&u<h?u=h:(c.lastTickCount=i,c.lastAutoInterval=u),u}},i.inherits(o,a);var r=o;t.exports=r},2753:function(t,e,n){var i=n(789);n(2754);var a=i.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e;return this.ecModel.eachComponent(t,function(t){t.getCoordSysModel()===this&&(e=t)},this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});t.exports=a},2754:function(t,e,n){var i=n(768),a=n(1245),o=n(1694),r=n(1553),s=a.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});i.merge(s.prototype,r);var l={splitNumber:5};function u(t,e){return e.type||(e.data?"category":"value")}o("angle",s,u,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),o("radius",s,u,l)},2755:function(t,e,n){n(1823),n(2756)},2756:function(t,e,n){var y=n(768),x=n(852),_=n(1241),i=n(1506),A=n(1468),s=["axisLine","axisLabel","axisTick","splitLine","splitArea"];function c(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),a=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:a[0],y2:a[1]}}function b(t){return t.getRadiusAxis().inverse?0:1}function l(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var a=i.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,i=n.polar,a=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),r=y.map(n.getViewLabels(),function(t){return(t=y.clone(t)).coord=n.dataToCoord(t.tickValue),t});l(r),l(o),y.each(s,function(t){!e.get(t+".show")||n.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,i,o,a,r)},this)}},_axisLine:function(t,e,n,i){var a,o=t.getModel("axisLine.lineStyle"),r=b(e),s=r?0:1;(a=0===i[s]?new x.Circle({shape:{cx:e.cx,cy:e.cy,r:i[r]},style:o.getLineStyle(),z2:1,silent:!0}):new x.Ring({shape:{cx:e.cx,cy:e.cy,r:i[r],r0:i[s]},style:o.getLineStyle(),z2:1,silent:!0})).style.fill=null,this.group.add(a)},_axisTick:function(t,e,n,i){var a=t.getModel("axisTick"),o=(a.get("inside")?-1:1)*a.get("length"),r=i[b(e)],s=y.map(n,function(t){return new x.Line({shape:c(e,[r,r+o],t.coord)})});this.group.add(x.mergePath(s,{style:y.defaults(a.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_axisLabel:function(h,d,t,p,e){var f=h.getCategories(!0),g=h.getModel("axisLabel"),m=g.get("margin"),v=h.get("triggerEvent");y.each(e,function(t,e){var n=g,i=t.tickValue,a=p[b(d)],o=d.coordToPoint([a+m,t.coord]),r=d.cx,s=d.cy,l=Math.abs(o[0]-r)/a<.3?"center":o[0]>r?"left":"right",u=Math.abs(o[1]-s)/a<.3?"middle":o[1]>s?"top":"bottom";f&&f[i]&&f[i].textStyle&&(n=new _(f[i].textStyle,g,g.ecModel));var c=new x.Text({silent:A.isLabelSilent(h)});this.group.add(c),x.setTextStyle(c.style,n,{x:o[0],y:o[1],textFill:n.getTextColor()||h.get("axisLine.lineStyle.color"),text:t.formattedLabel,textAlign:l,textVerticalAlign:u}),v&&(c.eventData=A.makeAxisEventDataBase(h),c.eventData.targetType="axisLabel",c.eventData.value=t.rawLabel)},this)},_splitLine:function(t,e,n,i){var a=t.getModel("splitLine").getModel("lineStyle"),o=a.get("color"),r=0;o=o instanceof Array?o:[o];for(var s=[],l=0;l<n.length;l++){var u=r++%o.length;s[u]=s[u]||[],s[u].push(new x.Line({shape:c(e,i,n[l].coord)}))}for(l=0;l<s.length;l++)this.group.add(x.mergePath(s[l],{style:y.defaults({stroke:o[l%o.length]},a.getLineStyle()),silent:!0,z:t.get("z")}))},_splitArea:function(t,e,n,i){if(n.length){var a=t.getModel("splitArea").getModel("areaStyle"),o=a.get("color"),r=0;o=o instanceof Array?o:[o];for(var s=[],l=Math.PI/180,u=-n[0].coord*l,c=Math.min(i[0],i[1]),h=Math.max(i[0],i[1]),d=t.get("clockwise"),p=1;p<n.length;p++){var f=r++%o.length;s[f]=s[f]||[],s[f].push(new x.Sector({shape:{cx:e.cx,cy:e.cy,r0:c,r:h,startAngle:u,endAngle:-n[p].coord*l,clockwise:d},silent:!0})),u=-n[p].coord*l}for(p=0;p<s.length;p++)this.group.add(x.mergePath(s[p],{style:y.defaults({fill:o[p%o.length]},a.getAreaStyle()),silent:!0}))}}});t.exports=a},2757:function(t,e,n){n(1823),n(2758)},2758:function(t,e,n){var p=n(768),d=n(852),f=n(1468),i=n(1506),g=["axisLine","axisTickLabel","axisName"],m=["splitLine","splitArea"],a=i.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n,i,a,o=e.axis,r=o.polar,s=r.getAngleAxis(),l=o.getTicksCoords(),u=s.getExtent()[0],c=o.getExtent(),h=(i=e,a=u,{position:[(n=r).cx,n.cy],rotation:a/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:i.getModel("axisLabel").get("rotate"),z2:1}),d=new f(e,h);p.each(g,d.add,d),this.group.add(d.getGroup()),p.each(m,function(t){e.get(t+".show")&&!o.scale.isBlank()&&this["_"+t](e,r,u,c,l)},this)}},_splitLine:function(t,e,n,i,a){var o=t.getModel("splitLine").getModel("lineStyle"),r=o.get("color"),s=0;r=r instanceof Array?r:[r];for(var l=[],u=0;u<a.length;u++){var c=s++%r.length;l[c]=l[c]||[],l[c].push(new d.Circle({shape:{cx:e.cx,cy:e.cy,r:a[u].coord},silent:!0}))}for(u=0;u<l.length;u++)this.group.add(d.mergePath(l[u],{style:p.defaults({stroke:r[u%r.length],fill:null},o.getLineStyle()),silent:!0}))},_splitArea:function(t,e,n,i,a){if(a.length){var o=t.getModel("splitArea").getModel("areaStyle"),r=o.get("color"),s=0;r=r instanceof Array?r:[r];for(var l=[],u=a[0].coord,c=1;c<a.length;c++){var h=s++%r.length;l[h]=l[h]||[],l[h].push(new d.Sector({shape:{cx:e.cx,cy:e.cy,r0:u,r:a[c].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),u=a[c].coord}for(c=0;c<l.length;c++)this.group.add(d.mergePath(l[c],{style:p.defaults({fill:r[c%r.length]},o.getAreaStyle()),silent:!0}))}}});t.exports=a},2759:function(t,e,n){var p=n(1153),i=n(1822),y=n(852),f=n(1699),x=n(1284),_=n(1468),a=n(1506),o=i.extend({makeElOption:function(t,e,n,i,a){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var r,s=o.polar,l=s.getOtherAxis(o).getExtent();r=o["dataTo"+p.capitalFirst(o.dim)](e);var u=i.get("type");if(u&&"none"!==u){var c=f.buildElStyle(i),h=g[u](o,s,r,l,c);h.style=c,t.graphicKey=h.type,t.pointer=h}var d=function(t,e,n,i,a){var o=e.axis,r=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,h=i.getRadiusAxis().getExtent();if("radius"===o.dim){var d=x.create();x.rotate(d,d,s),x.translate(d,d,[i.cx,i.cy]),l=y.applyTransform([r,-a],d);var p=e.getModel("axisLabel").get("rotate")||0,f=_.innerTextLayout(s,p*Math.PI/180,-1);u=f.textAlign,c=f.textVerticalAlign}else{var g=h[1];l=i.coordToPoint([g+a,r]);var m=i.cx,v=i.cy;u=Math.abs(l[0]-m)/g<.3?"center":l[0]>m?"left":"right",c=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}(e,n,0,s,i.get("label.margin"));f.buildLabelElOption(t,n,i,a,d)}});var g={line:function(t,e,n,i,a){return"angle"===t.dim?{type:"Line",shape:f.makeLineShape(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i,a){var o=Math.max(1,t.getBandWidth()),r=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:f.makeSectorShape(e.cx,e.cy,i[0],i[1],(-n-o/2)*r,(o/2-n)*r)}:{type:"Sector",shape:f.makeSectorShape(e.cx,e.cy,n-o/2,n+o/2,0,2*Math.PI)}}};a.registerAxisPointerClass("PolarAxisPointer",o);var r=o;t.exports=r},2760:function(t,e,n){var i=n(789),o=n(768);function a(a,t){t.update="updateView",i.registerAction(t,function(n,t){var i={};return t.eachComponent({mainType:"geo",query:n},function(e){e[a](n.name);var t=e.coordinateSystem;o.each(t.regions,function(t){i[t.name]=e.isSelected(t.name)||!1})}),{selected:i,name:n.name}})}n(2761),n(1815),n(2762),n(2159),a("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),a("select",{type:"geoSelect",event:"geoselected"}),a("unSelect",{type:"geoUnSelect",event:"geounselected"})},2761:function(t,e,n){var i=n(768),a=n(987),o=n(1245),r=n(1241),s=n(1812),l=n(1815),u=o.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){o.prototype.init.apply(this,arguments),a.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var t=this.option,n=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=i.reduce(t.regions||[],function(t,e){return e.name&&t.set(e.name,new r(e,n)),t},i.createHashMap()),this.updateSelectedMap(t.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(t){return this._optionModelMap.get(t)||new r(null,this,this.ecModel)},getFormattedLabel:function(t,e){var n=this.getRegionModel(t).get("label"+("normal"===e?".":e+".")+"formatter"),i={name:t};return"function"==typeof n?(i.status=e,n(i)):"string"==typeof n?n.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});i.mixin(u,s);var c=u;t.exports=c},2762:function(t,e,n){var i=n(2157),a=n(789).extendComponentView({type:"geo",init:function(t,e){var n=new i(e,!0);this._mapDraw=n,this.group.add(n.group)},render:function(t,e,n,i){if(!i||"geoToggleSelect"!==i.type||i.from!==this.uid){var a=this._mapDraw;t.get("show")?a.draw(t,e,n,this,i):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});t.exports=a},2763:function(t,e,n){n(2764),n(2765),n(2766)},2764:function(t,e,n){var c=n(768),h=n(1146),o=n(965),i=n(1381);function r(t,e,n){this._model=t}function a(t,e,n,i){var a=n.calendarModel,o=n.seriesModel,r=a?a.coordinateSystem:o?o.coordinateSystem:null;return r===this?r[t](i):null}r.prototype={constructor:r,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(t){var e=(t=o.parseDate(t)).getFullYear(),n=t.getMonth()+1;n=n<10?"0"+n:n;var i=t.getDate();i=i<10?"0"+i:i;var a=t.getDay();return{y:e,m:n,d:i,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+n+"-"+i,date:t}},getNextNDay:function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},update:function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,i=["width","height"],a=this._model.get("cellSize").slice(),o=this._model.getBoxLayoutParams(),r="horizontal"===this._orient?[n,7]:[7,n];c.each([0,1],function(t){u(a,t)&&(o[i[t]]=a[t]*r[t])});var s={width:e.getWidth(),height:e.getHeight()},l=this._rect=h.getLayoutRect(o,s);function u(t,e){return null!=t[e]&&"auto"!==t[e]}c.each([0,1],function(t){u(a,t)||(a[t]=l[i[t]]/r[t])}),this._sw=a[0],this._sh=a[1]},dataToPoint:function(t,e){c.isArray(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),i=this._rangeInfo,a=n.formatedDate;if(e&&!(n.time>=i.start.time&&n.time<i.end.time+864e5))return[NaN,NaN];var o=n.day,r=this._getRangeInfo([i.start.time,a]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+r*this._sh+this._sh/2]:[this._rect.x+r*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},pointToData:function(t){var e=this.pointToDate(t);return e&&e.time},dataToRect:function(t,e){var n=this.dataToPoint(t,e);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(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,i):this._getDateByWeeksAndDay(e,n-1,i)},convertToPixel:c.curry(a,"dataToPoint"),convertFromPixel:c.curry(a,"pointToData"),_initRangeOption:function(){var t=this._model.get("range"),e=t;if(c.isArray(e)&&1===e.length&&(e=e[0]),/^\d{4}$/.test(e)&&(t=[e+"-01-01",e+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(e)){var n=this.getDateInfo(e),i=n.date;i.setMonth(i.getMonth()+1);var a=this.getNextNDay(i,-1);t=[n.formatedDate,a.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(e)&&(t=[e,e]);var o=this._getRangeInfo(t);return o.start.time>o.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var n=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,i=new Date(t[0].time),a=i.getDate(),o=t[1].date.getDate();if(i.setDate(a+n-1),i.getDate()!==o)for(var r=0<i.getTime()-t[1].time?1:-1;i.getDate()!==o&&0<(i.getTime()-t[1].time)*r;)n-=r,i.setDate(a+n-1);var s=Math.floor((n+t[0].day+6)/7),l=e?1-s:s-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:s,nthWeek:l,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&e<i.fweek||t===i.weeks&&e>i.lweek)return!1;var a=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(i.start.d+a),this.getDateInfo(o)}},r.dimensions=r.prototype.dimensions,r.getDimensionsInfo=r.prototype.getDimensionsInfo,r.create=function(n,i){var a=[];return n.eachComponent("calendar",function(t){var e=new r(t,n,i);a.push(e),t.coordinateSystem=e}),n.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=a[t.get("calendarIndex")||0])}),a},i.register("calendar",r);var s=r;t.exports=s},2765:function(t,e,n){var a=n(768),i=n(1245),o=n(1146),r=o.getLayoutParams,s=o.sizeCalculable,l=o.mergeLayoutParam,u=i.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(t,e,n,i){var a=r(t);u.superApply(this,"init",arguments),c(t,a)},mergeOption:function(t,e){u.superApply(this,"mergeOption",arguments),c(this.option,t)}});function c(t,e){var n=t.cellSize;a.isArray(n)?1===n.length&&(n[1]=n[0]):n=t.cellSize=[n,n];var i=a.map([0,1],function(t){return s(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]});l(t,e,{type:"box",ignoreSize:i})}var h=u;t.exports=h},2766:function(t,e,n){var i=n(789),A=n(768),b=n(852),a=n(1153),v=n(965),w={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},y={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},o=i.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,n){var i=this.group;i.removeAll();var a=t.coordinateSystem,o=a.getRangeInfo(),r=a.getOrient();this._renderDayRect(t,o,i),this._renderLines(t,o,r,i),this._renderYearText(t,o,r,i),this._renderMonthText(t,r,i),this._renderWeekText(t,o,r,i)},_renderDayRect:function(t,e,n){for(var i=t.coordinateSystem,a=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),r=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new b.Rect({shape:{x:l[0],y:l[1],width:o,height:r},cursor:"default",style:a});n.add(u)}},_renderLines:function(n,t,i,a){var o=this,r=n.coordinateSystem,s=n.getModel("splitLine.lineStyle").getLineStyle(),l=n.get("splitLine.show"),e=s.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=r.getDateInfo(t.start.y+"-"+t.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=r.getDateInfo(h)}function d(t){o._firstDayOfMonth.push(r.getDateInfo(t)),o._firstDayPoints.push(r.dataToRect([t],!1).tl);var e=o._getLinePointsOfOneWeek(n,t,i);o._tlpoints.push(e[0]),o._blpoints.push(e[e.length-1]),l&&o._drawSplitline(e,s,a)}d(r.getNextNDay(t.end.time,1).formatedDate),l&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,e,i),s,a),l&&this._drawSplitline(o._getEdgesPoints(o._blpoints,e,i),s,a)},_getEdgesPoints:function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],a="horizontal"===n?0:1;return i[0][a]=i[0][a]-e/2,i[1][a]=i[1][a]+e/2,i},_drawSplitline:function(t,e,n){var i=new b.Polyline({z2:20,shape:{points:t},style:e});n.add(i)},_getLinePointsOfOneWeek:function(t,e,n){var i=t.coordinateSystem;e=i.getDateInfo(e);for(var a=[],o=0;o<7;o++){var r=i.getNextNDay(e.time,o),s=i.dataToRect([r.time],!1);a[2*r.day]=s.tl,a[2*r.day+1]=s["horizontal"===n?"bl":"tr"]}return a},_formatterLabel:function(t,e){return"string"==typeof t&&t?a.formatTplSimple(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,n,i,a){e=e.slice();var o=["center","bottom"];"bottom"===i?(e[1]+=a,o=["center","top"]):"left"===i?e[0]-=a:"right"===i?(e[0]+=a,o=["center","top"]):e[1]-=a;var r=0;return"left"!==i&&"right"!==i||(r=Math.PI/2),{rotation:r,position:e,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(t,e,n,i){var a=t.getModel("yearLabel");if(a.get("show")){var o=a.get("margin"),r=a.get("position");r=r||("horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,c="horizontal"===n?0:1,h={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var p=a.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:d},g=this._formatterLabel(p,f),m=new b.Text({z2:30});b.setTextStyle(m.style,a,{text:g}),m.attr(this._yearTextPositionControl(m,h[r],n,r,o)),i.add(m)}},_monthTextPositionControl:function(t,e,n,i,a){var o="left",r="top",s=t[0],l=t[1];return"horizontal"===n?(l+=a,e&&(o="center"),"start"===i&&(r="bottom")):(s+=a,e&&(r="middle"),"start"===i&&(o="right")),{x:s,y:l,textAlign:o,textVerticalAlign:r}},_renderMonthText:function(t,e,n){var i=t.getModel("monthLabel");if(i.get("show")){var a=i.get("nameMap"),o=i.get("margin"),r=i.get("position"),s=i.get("align"),l=[this._tlpoints,this._blpoints];A.isString(a)&&(a=w[a.toUpperCase()]||[]);var u="start"===r?0:1,c="horizontal"===e?0:1;o="start"===r?-o:o;for(var h="center"===s,d=0;d<l[u].length-1;d++){var p=l[u][d].slice(),f=this._firstDayOfMonth[d];if(h){var g=this._firstDayPoints[d];p[c]=(g[c]+l[0][d+1][c])/2}var m=i.get("formatter"),v=a[f.m-1],y={yyyy:f.y,yy:(f.y+"").slice(2),MM:f.m,M:+f.m,nameMap:v},x=this._formatterLabel(m,y),_=new b.Text({z2:30});A.extend(b.setTextStyle(_.style,i,{text:x}),this._monthTextPositionControl(p,h,e,r,o)),n.add(_)}}},_weekTextPositionControl:function(t,e,n,i,a){var o="center",r="middle",s=t[0],l=t[1],u="start"===n;return"horizontal"===e?(s=s+i+(u?1:-1)*a[0]/2,o=u?"right":"left"):(l=l+i+(u?1:-1)*a[1]/2,r=u?"bottom":"top"),{x:s,y:l,textAlign:o,textVerticalAlign:r}},_renderWeekText:function(t,e,n,i){var a=t.getModel("dayLabel");if(a.get("show")){var o=t.coordinateSystem,r=a.get("position"),s=a.get("nameMap"),l=a.get("margin"),u=o.getFirstDayOfWeek();A.isString(s)&&(s=y[s.toUpperCase()]||[]);var c=o.getNextNDay(e.end.time,7-e.lweek).time,h=[o.getCellWidth(),o.getCellHeight()];l=v.parsePercent(l,h["horizontal"===n?0:1]),"start"===r&&(c=o.getNextNDay(e.start.time,-(7+e.fweek)).time,l=-l);for(var d=0;d<7;d++){var p,f=o.getNextNDay(c,d),g=o.dataToRect([f.time],!1).center;p=Math.abs((d+u)%7);var m=new b.Text({z2:30});A.extend(b.setTextStyle(m.style,a,{text:s[p]}),this._weekTextPositionControl(g,n,r,l,h)),i.add(m)}}}});t.exports=o},2767:function(t,e,n){n(1127).__DEV__;var i=n(789),p=n(768),s=n(987),r=n(852),f=n(1146),g=n(965).parsePercent,l={path:null,compoundPath:null,group:r.Group,image:r.Image,text:r.Text};i.registerPreprocessor(function(t){var e=t.graphic;p.isArray(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])});var a=i.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(t){var e=this.option.elements;this.option.elements=null,a.superApply(this,"mergeOption",arguments),this.option.elements=e},optionUpdated:function(t,e){var n=this.option,i=(e?n:t).elements,u=n.elements=e?[]:n.elements,a=[];this._flatten(i,a);var o=s.mappingToExists(u,a);s.makeIdAndName(o);var c=this._elOptionsToUpdate=[];p.each(o,function(t,e){var n,i,a,o,r,s,l=t.option;l&&(c.push(l),function(t,e){var n=t.exist;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}(t,l),n=u,i=e,a=l,o=p.extend({},a),r=n[i],"merge"===(s=a.$action||"merge")?r?(p.merge(r,o,!0),f.mergeLayoutParam(r,o,{ignoreSize:!0}),f.copyLayoutParams(a,r)):n[i]=o:"replace"===s?n[i]=o:"remove"===s&&r&&(n[i]=null),function(t,e){if(!t)return;t.hv=e.hv=[h(e,["left","right"]),h(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0))}(u[e],l))},this);for(var r=u.length-1;0<=r;r--)null==u[r]?u.splice(r,1):delete u[r].$action},_flatten:function(t,n,i){p.each(t,function(t){if(t){i&&(t.parentOption=i),n.push(t);var e=t.children;"group"===t.type&&e&&this._flatten(e,n,t),delete t.children}},this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function m(t,e,n,i){var a=n.type,o=new(l.hasOwnProperty(a)?l[a]:r.getShapeClass(a))(n);e.add(o),i.set(t,o),o.__ecGraphicId=t}function v(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse(function(t){v(t,e)}),e.removeKey(t.__ecGraphicId),n.remove(t))}function h(e,t){var n;return p.each(t,function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)}),n}i.extendComponentView({type:"graphic",init:function(t,e){this._elMap=p.createHashMap(),this._lastGraphicModel},render:function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},_updateElements:function(c){var t=c.useElOptionsToUpdate();if(t){var h=this._elMap,d=this.group;p.each(t,function(t){var e=t.$action,n=t.id,i=h.get(n),a=t.parentId,o=null!=a?h.get(a):d,r=t.style;"text"===t.type&&r&&(t.hv&&t.hv[1]&&(r.textVerticalAlign=r.textBaseline=null),!r.hasOwnProperty("textFill")&&r.fill&&(r.textFill=r.fill),!r.hasOwnProperty("textStroke")&&r.stroke&&(r.textStroke=r.stroke));var s,l=(s=t,s=p.extend({},s),p.each(["id","parentId","$action","hv","bounding"].concat(f.LOCATION_PARAMS),function(t){delete s[t]}),s);e&&"merge"!==e?"replace"===e?(v(i,h),m(n,o,l,h)):"remove"===e&&v(i,h):i?i.attr(l):m(n,o,l,h);var u=h.get(n);u&&(u.__ecGraphicWidthOption=t.width,u.__ecGraphicHeightOption=t.height,function(t,e){var n=t.eventData;t.silent||t.ignore||n||(n=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name});n&&(n.info=t.info)}(u,c))})}},_relocate:function(t,e){for(var n=t.option.elements,i=this.group,a=this._elMap,o=e.getWidth(),r=e.getHeight(),s=0;s<n.length;s++){var l=n[s];if((c=a.get(l.id))&&c.isGroup){var u=(h=c.parent)===i;c.__ecGraphicWidth=g(c.__ecGraphicWidthOption,u?o:h.__ecGraphicWidth)||0,c.__ecGraphicHeight=g(c.__ecGraphicHeightOption,u?r:h.__ecGraphicHeight)||0}}for(s=n.length-1;0<=s;s--){var c;l=n[s];if(c=a.get(l.id)){var h,d=(h=c.parent)===i?{width:o,height:r}:{width:h.__ecGraphicWidth,height:h.__ecGraphicHeight};f.positionElement(c,l,d,null,{hv:l.hv,boundingMode:l.bounding})}}},_clear:function(){var e=this._elMap;e.each(function(t){v(t,e)}),this._elMap=p.createHashMap()},dispose:function(){this._clear()}})},2768:function(t,e,n){n(2769),n(2770),n(2771),n(2772),n(2773),n(2774),n(2779)},2769:function(t,e,n){var i=n(789),a=n(768),o=n(1469),r=i.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){r.superApply(this,"optionUpdated",arguments),a.each(this.option.feature,function(t,e){var n=o.get(e);n&&a.merge(t,n.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),s=r;t.exports=s},2770:function(t,e,n){var i=n(789),v=n(768),s=n(1319),y=n(1469),x=n(852),_=n(1241),a=n(1504),o=n(2178),r=i.extendComponentView({type:"toolbox",render:function(c,h,d,l){var p=this.group;if(p.removeAll(),c.get("show")){var f=+c.get("itemSize"),u=c.get("feature")||{},g=this._features||(this._features={}),m=[];v.each(u,function(t,e){m.push(e)}),new a(this._featureNames||[],m).add(t).update(t).remove(v.curry(t,null)).execute(),this._featureNames=m,o.layout(p,c,d),p.add(o.makeBackground(p.getBoundingRect(),c)),p.eachChild(function(t){var e=t.__title,n=t.hoverStyle;if(n&&e){var i=s.getBoundingRect(e,s.makeFont(n)),a=t.position[0]+p.position[0],o=!1;t.position[1]+p.position[1]+f+i.height>d.getHeight()&&(n.textPosition="top",o=!0);var r=o?-5-i.height:f+8;a+i.width/2>d.getWidth()?(n.textPosition=["100%",r],n.textAlign="right"):a-i.width/2<0&&(n.textPosition=[0,r],n.textAlign="left")}})}function t(t,e){var n,i=m[t],a=m[e],o=u[i],r=new _(o,c,c.ecModel);if(i&&!a){if(0===i.indexOf("my"))n={model:r,onclick:r.option.onclick,featureName:i};else{var s=y.get(i);if(!s)return;n=new s(r,h,d)}g[i]=n}else{if(!(n=g[a]))return;n.model=r,n.ecModel=h,n.api=d}i||!a?r.get("show")&&!n.unusable?(function(a,o,t){var r=a.getModel("iconStyle"),s=a.getModel("emphasis.iconStyle"),e=o.getIcons?o.getIcons():a.get("icon"),l=a.get("title")||{};if("string"==typeof e){var n=e,i=l;l={},(e={})[t]=n,l[t]=i}var u=a.iconPaths={};v.each(e,function(t,e){var n=x.createIcon(t,{},{x:-f/2,y:-f/2,width:f,height:f});n.setStyle(r.getItemStyle()),n.hoverStyle=s.getItemStyle(),n.setStyle({text:l[e],textAlign:s.get("textAlign"),textBorderRadius:s.get("textBorderRadius"),textPadding:s.get("textPadding"),textFill:null});var i=c.getModel("tooltip");i&&i.get("show")&&n.attr("tooltip",v.extend({content:l[e],formatter:i.get("formatter",!0)||function(){return l[e]},formatterParams:{componentType:"toolbox",name:e,title:l[e],$vars:["name","title"]},position:i.get("position",!0)||"bottom"},i.option)),x.setHoverStyle(n),c.get("showTitle")&&(n.__title=l[e],n.on("mouseover",function(){var t=s.getItemStyle(),e="vertical"===c.get("orient")?null==c.get("right")?"right":"left":null==c.get("bottom")?"bottom":"top";n.setStyle({textFill:s.get("textFill")||t.fill||t.stroke||"#000",textBackgroundColor:s.get("textBackgroundColor"),textPosition:s.get("textPosition")||e})}).on("mouseout",function(){n.setStyle({textFill:null,textBackgroundColor:null})})),n.trigger(a.get("iconStatus."+e)||"normal"),p.add(n),n.on("click",v.bind(o.onclick,o,h,d,e)),u[e]=n})}(r,n,i),r.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&i[t].trigger(e)},n.render&&n.render(r,h,d,l)):n.remove&&n.remove(h,d):n.dispose&&n.dispose(h,d)}},updateView:function(t,e,n,i){v.each(this._features,function(t){t.updateView&&t.updateView(t.model,e,n,i)})},remove:function(e,n){v.each(this._features,function(t){t.remove&&t.remove(e,n)}),this.group.removeAll()},dispose:function(e,n){v.each(this._features,function(t){t.dispose&&t.dispose(e,n)})}});t.exports=r},2771:function(t,e,n){var f=n(1240),i=n(1466),a=n(1469),o=i.toolbox.saveAsImage;function r(t){this.model=t}r.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:o.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:o.lang.slice()},r.prototype.unusable=!f.canvasSupported,r.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",a=n.get("type",!0)||"png",o=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!=typeof MouseEvent||f.browser.ie||f.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var r=atob(o.split(",")[1]),s=r.length,l=new Uint8Array(s);s--;)l[s]=r.charCodeAt(s);var u=new Blob([l]);window.navigator.msSaveOrOpenBlob(u,i+"."+a)}else{var c=n.get("lang"),h='<body style="margin:0;"><img src="'+o+'" style="max-width:100%;" title="'+(c&&c[0]||"")+'" /></body>';window.open().document.write(h)}else{var d=document.createElement("a");d.download=i+"."+a,d.target="_blank",d.href=o;var p=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});d.dispatchEvent(p)}},a.register("saveAsImage",r);var s=r;t.exports=s},2772:function(t,e,n){var i=n(789),p=n(768),a=n(1466),o=n(1469),r=a.toolbox.magicType;function s(t){this.model=t}s.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:p.clone(r.title),option:{},seriesIndex:{}};var l=s.prototype;l.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return p.each(t.get("type"),function(t){e[t]&&(n[t]=e[t])}),n};var f={line:function(t,e,n,i){if("bar"===t)return p.merge({id:e,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(t,e,n,i){if("line"===t)return p.merge({id:e,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(t,e,n,i){if("line"===t||"bar"===t)return p.merge({id:e,stack:"__ec_magicType_stack__"},i.get("option.stack")||{},!0)},tiled:function(t,e,n,i){if("line"===t||"bar"===t)return p.merge({id:e,stack:""},i.get("option.tiled")||{},!0)}},g=[["line","bar"],["stack","tiled"]];l.onclick=function(u,t,c){var h=this.model,e=h.get("seriesIndex."+c);if(f[c]){var d={series:[]};p.each(g,function(t){0<=p.indexOf(t,c)&&p.each(t,function(t){h.setIconStatus(t,"normal")})}),h.setIconStatus(c,"emphasis"),u.eachComponent({mainType:"series",query:null==e?null:{seriesIndex:e}},function(t){var e=t.subType,n=t.id,i=f[c](e,n,t,h);i&&(p.defaults(i,t.option),d.series.push(i));var a=t.coordinateSystem;if(a&&"cartesian2d"===a.type&&("line"===c||"bar"===c)){var o=a.getAxesByScale("ordinal")[0];if(o){var r=o.dim+"Axis",s=u.queryComponents({mainType:r,index:t.get(name+"Index"),id:t.get(name+"Id")})[0].componentIndex;d[r]=d[r]||[];for(var l=0;l<=s;l++)d[r][s]=d[r][s]||{};d[r][s].boundaryGap="bar"===c}}}),t.dispatchAction({type:"changeMagicType",currentType:c,newOption:d})}},i.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)}),o.register("magicType",s);var u=s;t.exports=u},2773:function(t,e,n){var i=n(789),_=n(768),A=n(1410),a=n(1466),o=n(1469),r=a.toolbox.dataView,s=new Array(60).join("-"),h="\t";function b(t){var a,o,r,e,n,c,i=(a={},o=[],r=[],t.eachRawSeries(function(t){var e=t.coordinateSystem;if(!e||"cartesian2d"!==e.type&&"polar"!==e.type)o.push(t);else{var n=e.getBaseAxis();if("category"===n.type){var i=n.dim+"_"+n.index;a[i]||(a[i]={categoryAxis:n,valueAxis:e.getOtherAxis(n),series:[]},r.push({axisDim:n.dim,axisIndex:n.index})),a[i].series.push(t)}else o.push(t)}}),{seriesGroupByCategoryAxis:a,other:o,meta:r});return{value:_.filter([(n=i.seriesGroupByCategoryAxis,c=[],_.each(n,function(t,e){var n=t.categoryAxis,i=t.valueAxis.dim,a=[" "].concat(_.map(t.series,function(t){return t.name})),o=[n.model.getCategories()];_.each(t.series,function(t){o.push(t.getRawData().mapArray(i,function(t){return t}))});for(var r=[a.join(h)],s=0;s<o[0].length;s++){for(var l=[],u=0;u<o.length;u++)l.push(o[u][s]);r.push(l.join(h))}c.push(r.join("\n"))}),c.join("\n\n"+s+"\n\n")),(e=i.other,_.map(e,function(t){var a=t.getRawData(),o=[t.name],r=[];return a.each(a.dimensions,function(){for(var t=arguments.length,e=arguments[t-1],n=a.getName(e),i=0;i<t-1;i++)r[i]=arguments[i];o.push((n?n+h:"")+r.join(h))}),o.join("\n")}).join("\n\n"+s+"\n\n"))],function(t){return t.replace(/[\n\t\s]/g,"")}).join("\n\n"+s+"\n\n"),meta:i.meta}}function c(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var d=new RegExp("["+h+"]+","g");function w(t,o){var e=t.split(new RegExp("\n*"+s+"\n*","g")),r={series:[]};return _.each(e,function(t,e){if(function(t){if(0<=t.slice(0,t.indexOf("\n")).indexOf(h))return!0}(t)){var n=function(t){for(var e=t.split(/\n+/g),n=c(e.shift()).split(d),i=[],a=_.map(n,function(t){return{name:t,data:[]}}),o=0;o<e.length;o++){var r=c(e[o]).split(d);i.push(r.shift());for(var s=0;s<r.length;s++)a[s]&&(a[s].data[o]=r[s])}return{series:a,categories:i}}(t),i=o[e],a=i.axisDim+"Axis";i&&(r[a]=r[a]||[],r[a][i.axisIndex]={data:n.categories},r.series=r.series.concat(n.series))}else{n=function(t){for(var e=t.split(/\n+/g),n=c(e.shift()),i=[],a=0;a<e.length;a++){var o,r=c(e[a]).split(d),s="",l=!1;o=isNaN(r[0])?(l=!0,s=r[0],r=r.slice(1),i[a]={name:s,value:[]},i[a].value):i[a]=[];for(var u=0;u<r.length;u++)o.push(+r[u]);1===o.length&&(l?i[a].value=o[0]:i[a]=o[0])}return{name:n,data:i}}(t);r.series.push(n)}}),r}function l(t){this._dom=null,this.model=t}l.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:_.clone(r.title),lang:_.clone(r.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},l.prototype.onclick=function(t,e){var n=e.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 o=document.createElement("h4"),r=i.get("lang")||[];o.innerHTML=r[0]||i.get("title"),o.style.cssText="margin: 10px 20px;",o.style.color=i.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="display:block;width:100%;overflow:auto;";var u=i.get("optionToContent"),c=i.get("contentToOption"),h=b(t);if("function"==typeof u){var d=u(e.getOption());"string"==typeof d?s.innerHTML=d:_.isDom(d)&&s.appendChild(d)}else s.appendChild(l),l.readOnly=i.get("readOnly"),l.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",l.style.color=i.get("textColor"),l.style.borderColor=i.get("textareaBorderColor"),l.style.backgroundColor=i.get("textareaColor"),l.value=h.value;var p=h.meta,f=document.createElement("div");f.style.cssText="position:absolute;bottom:0;left:0;right:0;";var g="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",m=document.createElement("div"),v=document.createElement("div");g+=";background-color:"+i.get("buttonColor"),g+=";color:"+i.get("buttonTextColor");var y=this;function x(){n.removeChild(a),y._dom=null}A.addEventListener(m,"click",x),A.addEventListener(v,"click",function(){var t;try{t="function"==typeof c?c(s,e.getOption()):w(l.value,p)}catch(t){throw x(),new Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),x()}),m.innerHTML=r[1],v.innerHTML=r[2],v.style.cssText=g,m.style.cssText=g,i.get("readOnly")||f.appendChild(v),f.appendChild(m),a.appendChild(o),a.appendChild(s),a.appendChild(f),s.style.height=n.clientHeight-80+"px",n.appendChild(a),this._dom=a},l.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},l.prototype.dispose=function(t,e){this.remove(t,e)},o.register("dataView",l),i.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,o){var r=[];_.each(t.newOption.series,function(t){var e,i,n=o.getSeriesByName(t.name)[0];if(n){var a=n.get("data");r.push({name:t.name,data:(e=t.data,i=a,_.map(e,function(t,e){var n=i&&i[e];return _.isObject(n)&&!_.isArray(n)?(_.isObject(t)&&!_.isArray(t)&&(t=t.value),_.defaults({value:t},n)):t}))})}else r.push(_.extend({type:"scatter"},t))}),o.mergeOption(_.defaults({series:r},t.newOption))});var u=l;t.exports=u},2774:function(t,e,n){var i=n(789),u=n(768),a=n(1821),s=n(2179),o=n(2180),d=n(1555),r=n(1466),l=n(1469);n(2775);var c=r.toolbox.dataZoom,h=u.each;function p(t,e,n){(this._brushController=new a(n.getZr())).on("brush",u.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:u.clone(c.title)};var f=p.prototype;f.render=function(t,e,n,i){var a;this.model=t,this.ecModel=e,this.api=n,function(t,e,n,i,a){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var r=new s(m(t.option),e,{include:["grid"]});n._brushController.setPanels(r.makePanelOpts(a,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"})).enableBrush(!!o&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}(t,e,this,i,n),a=e,t.setIconStatus("back",1<o.count(a)?"emphasis":"normal")},f.onclick=function(t,e,n){g[n].call(this)},f.remove=function(t,e){this._brushController.unmount()},f.dispose=function(t,e){this._brushController.dispose()};var g={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(o.pop(this.ecModel))}};function m(e){var n={};return u.each(["xAxisIndex","yAxisIndex"],function(t){n[t]=e[t],null==n[t]&&(n[t]="all"),!1!==n[t]&&"none"!==n[t]||(n[t]=[])}),n}f._onBrush=function(t,e){if(e.isEnd&&t.length){var c={},h=this.ecModel;this._brushController.updateCovers([]),new s(m(this.model.option),h,{include:["grid"]}).matchOutputRanges(t,h,function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(a("x",n,e[0]),a("y",n,e[1])):a({lineX:"x",lineY:"y"}[i],n,e)}}),o.push(h,c),this._dispatchZoomAction(c)}function a(t,e,n){var i,a,o,r=e.getAxis(t),s=r.model,l=(i=t,a=s,h.eachComponent({mainType:"dataZoom",subType:"select"},function(t){t.getAxisModel(i,a.componentIndex)&&(o=t)}),o),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(n=d(0,n.slice(),r.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(c[l.id]={dataZoomId:l.id,startValue:n[0],endValue:n[1]})}},f._dispatchZoomAction=function(t){var n=[];h(t,function(t,e){n.push(u.clone(t))}),n.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:n})},l.register("dataZoom",p),i.registerPreprocessor(function(s){if(s){var l=s.dataZoom||(s.dataZoom=[]);u.isArray(l)||(s.dataZoom=l=[l]);var t=s.toolbox;if(t&&(u.isArray(t)&&(t=t[0]),t&&t.feature)){var e=t.feature.dataZoom;n("xAxis",e),n("yAxis",e)}}function n(i,a){if(a){var o=i+"Index",r=a[o];null==r||"all"===r||u.isArray(r)||(r=!1===r||"none"===r?[]:[r]),function(t,e){var n=s[t];u.isArray(n)||(n=n?[n]:[]);h(n,e)}(i,function(t,e){if(null==r||"all"===r||-1!==u.indexOf(r,e)){var n={type:"select",$fromToolbox:!0,filterMode:a.filterMode||"filter",id:"\0_ec_\0toolbox-dataZoom_"+i+e};n[o]=e,l.push(n)}})}}});var v=p;t.exports=v},2775:function(t,e,n){n(1824),n(1556),n(1557),n(2777),n(2778),n(1826),n(1827)},2776:function(t,e,n){function i(t,e,n,i){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=i,this._dataZoomModel=n}var a=n(768),p=n(965),o=n(1825),f=n(1555),g=a.each,m=p.asc;function s(t,e){var n=t.getAxisModel(),i=t._percentWindow,a=t._valueWindow;if(i){var o=p.getPixelPrecision(a,[0,500]);o=Math.min(o,20);var r=e||0===i[0]&&100===i[1];n.setRange(r?null:+a[0].toFixed(o),r?null:+a[1].toFixed(o))}}i.prototype={constructor:i,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var i=[],a=this.ecModel;return a.eachSeries(function(t){if(o.isCoordSupported(t.get("coordinateSystem"))){var e=this._dimName,n=a.queryComponents({mainType:e+"Axis",index:t.get(e+"AxisIndex"),id:t.get(e+"AxisId")})[0];this._axisIndex===(n&&n.componentIndex)&&i.push(t)}},this),i},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,n,i=this._dimName,a=this.ecModel,o=this.getAxisModel();return t="x"===i||"y"===i?(e="gridIndex","x"===i?"y":"x"):(e="polarIndex","angle"===i?"radius":"angle"),a.eachComponent(t+"Axis",function(t){(t.get(e)||0)===(o.get(e)||0)&&(n=t)}),n},getMinMaxSpan:function(){return a.clone(this._minMaxSpan)},calculateDataWindow:function(a){var o,r=this._dataExtent,s=this.getAxisModel().axis.scale,l=this._dataZoomModel.getRangePropMode(),u=[0,100],c=[],h=[];g(["start","end"],function(t,e){var n=a[t],i=a[t+"Value"];"percent"===l[e]?(null==n&&(n=u[e]),i=s.parse(p.linearMap(n,u,r))):(o=!0,i=null==i?r[e]:s.parse(i),n=p.linearMap(i,r,u)),h[e]=i,c[e]=n}),m(h),m(c);var d=this._minMaxSpan;function t(t,e,n,i,a){var o=a?"Span":"ValueSpan";f(0,t,n,"all",d["min"+o],d["max"+o]);for(var r=0;r<2;r++)e[r]=p.linearMap(t[r],n,i,!0),a&&(e[r]=s.parse(e[r]))}return o?t(h,c,r,u,!1):t(c,h,u,r,!0),{valueWindow:h,percentWindow:c}},reset:function(t){if(t===this._dataZoomModel){var i,a,o,r,e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];g(n,function(t){var n=t.getData();n&&g(n.mapDimension(e,!0),function(t){var e=n.getApproximateExtent(t);e[0]<i[0]&&(i[0]=e[0]),e[1]>i[1]&&(i[1]=e[1])})}),i[1]<i[0]&&(i=[NaN,NaN]);return function(t,e){var n=t.getAxisModel(),i=n.getMin(!0),a="category"===n.get("type"),o=a&&n.getCategories().length;null!=i&&"dataMin"!==i&&"function"!=typeof i?e[0]=i:a&&(e[0]=0<o?0:NaN);var r=n.getMax(!0);null!=r&&"dataMax"!==r&&"function"!=typeof r?e[1]=r:a&&(e[1]=0<o?o-1:NaN);n.get("scale",!0)||(0<e[0]&&(e[0]=0),e[1]<0&&(e[1]=0))}(t,i),i}(this,this._dimName,e),a=(i=this)._minMaxSpan={},o=i._dataZoomModel,r=i._dataExtent,g(["min","max"],function(t){var e=o.get(t+"Span"),n=o.get(t+"ValueSpan");null!=n&&(n=i.getAxisModel().axis.scale.parse(n)),null!=n?e=p.linearMap(r[0]+n,r,[0,100],!0):null!=e&&(n=p.linearMap(e,[0,100],r,!0)-r[0]),a[t+"Span"]=e,a[t+"ValueSpan"]=n});var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,s(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,s(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),a=t.get("filterMode"),h=this._valueWindow;"none"!==a&&g(n,function(n){var u=n.getData(),c=u.mapDimension(i,!0);c.length&&("weakFilter"===a?u.filterSelf(function(t){for(var e,n,i,a=0;a<c.length;a++){var o=u.get(c[a],t),r=!isNaN(o),s=o<h[0],l=o>h[1];if(r&&!s&&!l)return!0;r&&(i=!0),s&&(e=!0),l&&(n=!0)}return i&&e&&n}):g(c,function(t){if("empty"===a)n.setData(u=u.map(t,function(t){return(e=t)>=h[0]&&e<=h[1]?t:NaN;var e}));else{var e={};e[t]=h,u.selectRange(e)}}),g(c,function(t){u.setApproximateExtent(h,t)}))})}}};var r=i;t.exports=r},2777:function(t,e,n){var i=n(1556).extend({type:"dataZoom.select"});t.exports=i},2778:function(t,e,n){var i=n(1557).extend({type:"dataZoom.select"});t.exports=i},2779:function(t,e,n){var i=n(789),a=n(2180),o=n(1466),r=n(1469),s=o.toolbox.restore;function l(t){this.model=t}l.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:s.title},l.prototype.onclick=function(t,e,n){a.clear(t),e.dispatchAction({type:"restore",from:this.uid})},r.register("restore",l),i.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")});var u=l;t.exports=u},2780:function(t,e,n){var i=n(789);n(1604),n(2781),n(2782),i.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),i.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},2781:function(t,e,n){var i=n(789).extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});t.exports=i},2782:function(t,e,n){var i=n(789),b=n(768),c=n(1240),a=n(2783),o=n(2784),m=n(1153),r=n(965),s=n(852),h=n(2175),w=n(1146),l=n(1241),u=n(2176),v=n(1382),y=n(1699),d=n(987).getTooltipRenderMode,p=b.bind,x=b.each,S=r.parsePercent,f=new s.Rect({shape:{x:-1,y:-1,width:2,height:2}}),g=i.extendComponentView({type:"tooltip",init:function(t,e){if(!c.node){var n,i=t.getComponent("tooltip").get("renderMode");this._renderMode=d(i),"html"===this._renderMode?(n=new a(e.getDom(),e),this._newLine="<br/>"):(n=new o(e),this._newLine="\n"),this._tooltipContent=n}},render:function(t,e,n){if(!c.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var i=this._tooltipContent;i.update(),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var i=this._tooltipModel.get("triggerOn");u.register("itemTooltip",this._api,p(function(t,e,n){"none"!==i&&(0<=i.indexOf(t)?this._tryShow(e,n):"leave"===t&&this._hide(n))},this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){n.isDisposed()||i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY})})}},manuallyShowTip:function(t,e,n,i){if(i.from!==this.uid&&!c.node){var a=A(i,n);this._ticket="";var o=i.dataByCoordSys;if(i.tooltip&&null!=i.x&&null!=i.y){var r=f;r.position=[i.x,i.y],r.update(),r.tooltip=i.tooltip,this._tryShow({offsetX:i.x,offsetY:i.y,target:r},a)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,event:{},dataByCoordSys:i.dataByCoordSys,tooltipOption:i.tooltipOption},a);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var s=h(i,e),l=s.point[0],u=s.point[1];null!=l&&null!=u&&this._tryShow({offsetX:l,offsetY:u,position:i.position,target:s.el,event:{}},a)}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:{}},a))}},manuallyHideTip:function(t,e,n,i){var a=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,i.from!==this.uid&&this._hide(A(i,n))},_manuallyAxisShowTip:function(t,e,n,i){var a=i.seriesIndex,o=i.dataIndex,r=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=a&&null!=o&&null!=r){var s=e.getSeriesByIndex(a);if(s)if("axis"===(t=_([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model,t])).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:o,position:i.position}),!0}},_tryShow:function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;i&&i.length?this._showAxisTooltip(i,t):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,n,e)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,n,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var n=t.get("showDelay");e=b.bind(e,this),clearTimeout(this._showTimout),0<n?this._showTimout=setTimeout(e,n):e()},_showAxisTooltip:function(t,e){var d=this._ecModel,n=this._tooltipModel,i=[e.offsetX,e.offsetY],a=[],p=[],o=_([e.tooltipOption,n]),f=this._renderMode,r=this._newLine,g={};x(t,function(t){x(t.dataByAxis,function(s){var l=d.getComponent(s.axisDim+"Axis",s.axisIndex),u=s.value,c=[];if(l&&null!=u){var h=y.getValueLabel(u,l.axis,d,s.seriesDataIndices,s.valueLabelOpt);b.each(s.seriesDataIndices,function(t){var e=d.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,i=e&&e.getDataParams(n);if(i.axisDim=s.axisDim,i.axisIndex=s.axisIndex,i.axisType=s.axisType,i.axisId=s.axisId,i.axisValue=v.getAxisRawValue(l.axis,u),i.axisValueLabel=h,i){p.push(i);var a,o=e.formatTooltip(n,!0,null,f);if(b.isObject(o)){a=o.html;var r=o.markers;b.merge(g,r)}else a=o;c.push(a)}});var t=h;"html"!==f?a.push(c.join(r)):a.push((t?m.encodeHTML(t)+r:"")+c.join(r))}})},this),a.reverse(),a=a.join(this._newLine+this._newLine);var s=e.position;this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(o,s,i[0],i[1],this._tooltipContent,p):this._showTooltipContent(o,a,p,Math.random(),i[0],i[1],s,void 0,g)})},_showSeriesItemTooltip:function(t,e,n){var i=this._ecModel,a=e.seriesIndex,o=i.getSeriesByIndex(a),r=e.dataModel||o,s=e.dataIndex,l=e.dataType,u=r.getData(),c=_([u.getItemModel(s),r,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),h=c.get("trigger");if(null==h||"item"===h){var d,p,f=r.getDataParams(s,l),g=r.formatTooltip(s,!1,l,this._renderMode);p=b.isObject(g)?(d=g.html,g.markers):(d=g,null);var m="item_"+r.name+"_"+s;this._showOrMove(c,function(){this._showTooltipContent(c,d,f,m,t.offsetX,t.offsetY,t.position,t.target,p)}),n({type:"showTip",dataIndexInside:s,dataIndex:u.getRawIndex(s),seriesIndex:a,from:this.uid})}},_showComponentItemTooltip:function(t,e,n){var i=e.tooltip;if("string"==typeof i){i={content:i,formatter:i}}var a=new l(i,this._tooltipModel,this._ecModel),o=a.get("content"),r=Math.random();this._showOrMove(a,function(){this._showTooltipContent(a,o,a.get("formatterParams")||{},r,t.offsetX,t.offsetY,t.position,e)}),n({type:"showTip",from:this.uid})},_showTooltipContent:function(n,t,i,e,a,o,r,s,l){if(this._ticket="",n.get("showContent")&&n.get("show")){var u=this._tooltipContent,c=n.get("formatter");r=r||n.get("position");var h=t;if(c&&"string"==typeof c)h=m.formatTpl(c,i,!0);else if("function"==typeof c){var d=p(function(t,e){t===this._ticket&&(u.setContent(e,l,n),this._updatePosition(n,r,a,o,u,i,s))},this);this._ticket=e,h=c(i,e,d)}u.setContent(h,l,n),u.show(n),this._updatePosition(n,r,a,o,u,i,s)}},_updatePosition:function(t,e,n,i,a,o,r){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u,c,h,d,p,f,g,m=a.getSize(),v=t.get("align"),y=t.get("verticalAlign"),x=r&&r.getBoundingRect().clone();if(r&&x.applyTransform(r.transform),"function"==typeof e&&(e=e([n,i],o,a.el,x,{viewSize:[s,l],contentSize:m.slice()})),b.isArray(e))n=S(e[0],s),i=S(e[1],l);else if(b.isObject(e)){e.width=m[0],e.height=m[1];var _=w.getLayoutRect(e,{width:s,height:l});n=_.x,i=_.y,y=v=null}else if("string"==typeof e&&r){n=(A=function(t,e,n){var i=n[0],a=n[1],o=0,r=0,s=e.width,l=e.height;switch(t){case"inside":o=e.x+s/2-i/2,r=e.y+l/2-a/2;break;case"top":o=e.x+s/2-i/2,r=e.y-a-5;break;case"bottom":o=e.x+s/2-i/2,r=e.y+l+5;break;case"left":o=e.x-i-5,r=e.y+l/2-a/2;break;case"right":o=e.x+s+5,r=e.y+l/2-a/2}return[o,r]}(e,x,m))[0],i=A[1]}else{var A;n=(A=function(t,e,n,i,a,o,r){var s=n.getOuterSize(),l=s.width,u=s.height;null!=o&&(i<t+l+o?t-=l+o:t+=o);null!=r&&(a<e+u+r?e-=u+r:e+=r);return[t,e]}(n,i,a,s,l,v?null:20,y?null:20))[0],i=A[1]}v&&(n-=C(v)?m[0]/2:"right"===v?m[0]:0),y&&(i-=C(y)?m[1]/2:"bottom"===y?m[1]:0),t.get("confine")&&(n=(A=(u=n,c=i,h=s,d=l,p=a.getOuterSize(),f=p.width,g=p.height,u=Math.min(u+f,h)-f,c=Math.min(c+g,d)-g,u=Math.max(u,0),c=Math.max(c,0),[u,c]))[0],i=A[1]);a.moveTo(n,i)},_updateContentNotChangedOnAxis:function(i){var t=this._lastDataByCoordSys,r=!!t&&t.length===i.length;return r&&x(t,function(t,e){var n=t.dataByAxis||{},o=(i[e]||{}).dataByAxis||[];(r&=n.length===o.length)&&x(n,function(t,e){var n=o[e]||{},i=t.seriesDataIndices||[],a=n.seriesDataIndices||[];(r&=t.value===n.value&&t.axisType===n.axisType&&t.axisId===n.axisId&&i.length===a.length)&&x(i,function(t,e){var n=a[e];r&=t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})})}),this._lastDataByCoordSys=i,!!r},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){c.node||(this._tooltipContent.hide(),u.unregister("itemTooltip",e))}});function _(t){for(var e=t.pop();t.length;){var n=t.pop();n&&(l.isInstance(n)&&(n=n.get("tooltip",!0)),"string"==typeof n&&(n={formatter:n}),e=new l(n,e,e.ecModel))}return e}function A(t,e){return t.dispatchAction||b.bind(e.dispatchAction,e)}function C(t){return"center"===t||"middle"===t}t.exports=g},2783:function(t,e,n){var p=n(768),f=n(1411),o=n(1410),g=n(1240),m=n(1153),v=p.each,y=m.toCamelCase,x=["","-webkit-","-moz-","-o-"];function i(a){var t,e,n,i,o,r,s,l=[],u=a.get("transitionDuration"),c=a.get("backgroundColor"),h=a.getModel("textStyle"),d=a.get("padding");return u&&l.push((n="left "+(t=u)+"s "+(e="cubic-bezier(0.23, 1, 0.32, 1)")+",top "+t+"s "+e,p.map(x,function(t){return t+"transition:"+n}).join(";"))),c&&(g.canvasSupported?l.push("background-Color:"+c):(l.push("background-Color:#"+f.toHex(c)),l.push("filter:alpha(opacity=70)"))),v(["width","color","radius"],function(t){var e="border-"+t,n=y(e),i=a.get(n);null!=i&&l.push(e+":"+i+("color"===t?"":"px"))}),l.push((o=[],r=(i=h).get("fontSize"),(s=i.getTextColor())&&o.push("color:"+s),o.push("font:"+i.getFont()),r&&o.push("line-height:"+Math.round(3*r/2)+"px"),v(["decoration","align"],function(t){var e=i.get(t);e&&o.push("text-"+t+":"+e)}),o.join(";"))),null!=d&&l.push("padding:"+m.normalizeCssArray(d).join("px ")+"px"),l.join(";")+";"}function a(n,t){if(g.wxa)return null;var e=document.createElement("div"),i=this._zr=t.getZr();this.el=e,this._x=t.getWidth()/2,this._y=t.getHeight()/2,n.appendChild(e),this._container=n,this._show=!1,this._hideTimeout;var a=this;e.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},e.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler;o.normalizeEvent(n,t,!0),e.dispatch("mousemove",t)}},e.onmouseleave=function(){a._enterable&&a._show&&a.hideLater(a._hideDelay),a._inContent=!1}}a.prototype={constructor:a,_enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t),n=t.style;"absolute"!==n.position&&"absolute"!==e.position&&(n.position="relative")},show:function(t){clearTimeout(this._hideTimeout);var e=this.el;e.style.cssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+i(t)+";left:"+this._x+"px;top:"+this._y+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var n,i=this._zr;i&&i.painter&&(n=i.painter.getViewportRootOffset())&&(t+=n.offsetLeft,e+=n.offsetTop);var a=this.el.style;a.left=t+"px",a.top=e+"px",this._x=t,this._y=e},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(p.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(t+=parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),e+=parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:t,height:e}}};var r=a;t.exports=r},2784:function(t,e,n){var i=n(768),c=n(1502);function a(t){this._zr=t.getZr(),this._show=!1,this._hideTimeout}a.prototype={constructor:a,_enterable:!0,update:function(){},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,e,n){this.el&&this._zr.remove(this.el);for(var i={},a=t,o="{marker",r=a.indexOf(o);0<=r;){var s=a.indexOf("|}"),l=a.substr(r+o.length,s-r-o.length);-1<l.indexOf("sub")?i["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[l],textOffset:[3,0]}:i["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[l]},r=(a=a.substr(s+1)).indexOf("{marker")}this.el=new c({style:{rich:i,text:t,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 u=this;this.el.on("mouseover",function(){u._enterable&&(clearTimeout(u._hideTimeout),u._show=!0),u._inContent=!0}),this.el.on("mouseout",function(){u._enterable&&u._show&&u.hideLater(u._hideDelay),u._inContent=!1})},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){this.el&&this.el.attr("position",[t,e])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(i.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var o=a;t.exports=o},2785:function(t,e,n){var i=n(789),a=n(2786);n(2787),n(2789),n(2790),n(2791),n(2792),i.registerPreprocessor(a)},2786:function(t,e,n){var c=n(768),h=["rect","polygon","keep","clear"];t.exports=function(t,e){var n=t&&t.brush;if(c.isArray(n)||(n=n?[n]:[]),n.length){var i=[];c.each(n,function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))});var a=t&&t.toolbox;c.isArray(a)&&(a=a[0]),a||(a={feature:{}},t.toolbox=[a]);var o,r,s=a.feature||(a.feature={}),l=s.brush||(s.brush={}),u=l.type||(l.type=[]);u.push.apply(u,i),o=u,r={},c.each(o,function(t){r[t]=1}),o.length=0,c.each(r,function(t,e){o.push(e)}),e&&!u.length&&u.push.apply(u,h)}}},2787:function(t,e,n){var i=n(789),v=n(768),a=n(1152),y=n(1700),x=n(2788),r=n(1465),o=n(2179),_=["inBrush","outOfBrush"],s="__ecBrushSelect",l="__ecInBrushSelectEvent",u=i.PRIORITY.VISUAL.BRUSH;function c(t,e){if(!t.isDisposed()){var n=t.getZr();n[l]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[l]=!1}}function A(t,e,n,i){for(var a=0,o=e.length;a<o;a++){var r=e[a];if(t[r.brushType](i,n,r.selectors,r))return!0}}function b(t){var r=t.brushSelector;if(v.isString(r)){var e=[];return v.each(x,function(o,t){e[t]=function(t,e,n,i){var a=e.getItemLayout(t);return o[r](a,n,i)}}),e}if(v.isFunction(r)){var n={};return v.each(x,function(t,e){n[e]=r}),n}return r}i.registerLayout(u,function(e,t,n){e.eachComponent({mainType:"brush"},function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1}),(t.brushTargetManager=new o(t.option,e)).setInputRanges(t.areas,e)})}),i.registerVisual(u,function(g,t,e){var a,o,m=[];g.eachComponent({mainType:"brush"},function(r,t){var s={brushId:r.id,brushIndex:t,brushName:r.name,areas:v.clone(r.areas),selected:[]};m.push(s);var e=r.option,n=e.brushLink,i=[],l=[],u=[],c=0;t||(a=e.throttleType,o=e.throttleDelay);var h=v.map(r.areas,function(t){return n=v.defaults({boundingRect:w[t.brushType](t)},t),i=n.selectors={},v.each(x[n.brushType],function(e,t){i[t]=function(t){return e(t,i,n)}}),n;var n,i}),d=y.createVisualMappings(r.option,_,function(t){t.mappingMethod="fixed"});function p(t){return"all"===n||i[t]}function f(t){return!!t.length}v.isArray(n)&&v.each(n,function(t){i[t]=1}),g.eachSeries(function(t,e){var n,i,a,o=u[e]=[];"parallel"===t.subType?(i=e,a=(n=t).coordinateSystem,c|=a.hasAxisBrushed(),p(i)&&a.eachActiveState(n.getData(),function(t,e){"active"===t&&(l[e]=1)})):function(e,t,n){var i=b(e);if(!i||function(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(v.isArray(n)?v.indexOf(n,e)<0:e!==n)}(r,t))return;if(v.each(h,function(t){i[t.brushType]&&r.brushTargetManager.controlSeries(t,e,g)&&n.push(t),c|=f(n)}),p(t)&&f(n)){var a=e.getData();a.each(function(t){A(i,n,a,t)&&(l[t]=1)})}}(t,e,o)}),g.eachSeries(function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};s.selected.push(n);var i=b(t),a=u[e],o=t.getData(),r=p(e)?function(t){return l[t]?(n.dataIndex.push(o.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(t){return A(i,a,o,t)?(n.dataIndex.push(o.getRawIndex(t)),"inBrush"):"outOfBrush"};(p(e)?c:f(a))&&y.applyVisual(_,d,o,r)})}),function(t,e,n,i,a){if(!a)return;var o=t.getZr();if(o[l])return;o[s]||(o[s]=c);r.createOrUpdate(o,s,n,e)(t,i)}(t,a,o,m,e)});var w={lineX:v.noop,lineY:v.noop,rect:function(t){return h(t.range)},polygon:function(t){for(var e,n=t.range,i=0,a=n.length;i<a;i++){e=e||[[1/0,-1/0],[1/0,-1/0]];var o=n[i];o[0]<e[0][0]&&(e[0][0]=o[0]),o[0]>e[0][1]&&(e[0][1]=o[0]),o[1]<e[1][0]&&(e[1][0]=o[1]),o[1]>e[1][1]&&(e[1][1]=o[1])}return e&&h(e)}};function h(t){return new a(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}},2788:function(t,e,n){var u=n(2148),c=n(1152),h=n(852).linePolygonIntersect;function i(o){var r=["x","y"],s=["width","height"];return{point:function(t,e,n){if(t){var i=n.range;return l(t[o],i)}},rect:function(t,e,n){if(t){var i=n.range,a=[t[r[o]],t[r[o]]+t[s[o]]];return a[1]<a[0]&&a.reverse(),l(a[0],i)||l(a[1],i)||l(i[0],a)||l(i[1],a)}}}}function l(t,e){return e[0]<=t&&t<=e[1]}var a={lineX:i(0),lineY:i(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&u.contain(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var a=t.x,o=t.y,r=t.width,s=t.height,l=i[0];return!!(u.contain(i,a,o)||u.contain(i,a+r,o)||u.contain(i,a,o+s)||u.contain(i,a+r,o+s)||c.create(t).contain(l[0],l[1])||h(a,o,a+r,o,i)||h(a,o,a,o+s,i)||h(a+r,o,a+r,o+s,i)||h(a,o+s,a+r,o+s,i))||void 0}}};t.exports=a},2789:function(t,e,n){n(1127).__DEV__;var i=n(789),a=n(768),o=n(1700),r=n(1241),s=["#ddd"];function l(t,e){return a.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new r(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var u=i.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var n=this.option;e||o.replaceVisualOption(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:s},i.hasOwnProperty("liftZ")||(i.liftZ=5)},setAreas:function(t){t&&(this.areas=a.map(t,function(t){return l(this.option,t)},this))},setBrushOption:function(t){this.brushOption=l(this.option,t),this.brushType=this.brushOption.brushType}});t.exports=u},2790:function(t,e,n){var i=n(789),a=n(768),o=n(1821),r=i.extendComponentView({type:"brush",init:function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new o(e.getZr())).on("brush",a.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,s.apply(this,arguments)},updateTransform:s,updateView:s,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),e.isEnd&&!e.removeOnClick||this.api.dispatchAction({type:"brush",brushId:n,areas:a.clone(t),$from:n}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:a.clone(t),$from:n})}});function s(t,e,n,i){i&&i.$from===t.id||this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}t.exports=r},2791:function(t,e,n){var i=n(789);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(){})},2792:function(t,e,n){var r=n(768),i=n(1469),a=n(1466).toolbox.brush;function o(t,e,n){this.model=t,this.ecModel=e,this.api=n,this._brushType,this._brushMode}o.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:r.clone(a.title)};var s=o.prototype;s.render=s.updateView=function(e,t,n){var i,a,o;t.eachComponent({mainType:"brush"},function(t){i=t.brushType,a=t.brushOption.brushMode||"single",o|=t.areas.length}),this._brushType=i,this._brushMode=a,r.each(e.get("type",!0),function(t){e.setIconStatus(t,("keep"===t?"multiple"===a:"clear"===t?o:t===i)?"emphasis":"normal")})},s.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return r.each(t.get("type",!0),function(t){e[t]&&(n[t]=e[t])}),n},s.onclick=function(t,e,n){var i=this._brushType,a=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===a?"single":"multiple":a}})},i.register("brush",o);var l=o;t.exports=l},2793:function(t,e,n){var b=n(768),i=n(789),w=n(852),S=n(1146).getLayoutRect;i.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"}}}),i.extendComponentView({type:"title",render:function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,a=t.getModel("textStyle"),o=t.getModel("subtextStyle"),r=t.get("textAlign"),s=b.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),l=new w.Text({style:w.setTextStyle({},a,{text:t.get("text"),textFill:a.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),c=t.get("subtext"),h=new w.Text({style:w.setTextStyle({},o,{text:c,textFill:o.getTextColor(),y:u.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),d=t.get("link"),p=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!d&&!f,h.silent=!p&&!f,d&&l.on("click",function(){window.open(d,"_"+t.get("target"))}),p&&h.on("click",function(){window.open(p,"_"+t.get("subtarget"))}),l.eventData=h.eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),c&&i.add(h);var g=i.getBoundingRect(),m=t.getBoxLayoutParams();m.width=g.width,m.height=g.height;var v=S(m,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));r||("middle"===(r=t.get("left")||t.get("right"))&&(r="center"),"right"===r?v.x+=v.width:"center"===r&&(v.x+=v.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),i.attr("position",[v.x,v.y]);var y={textAlign:r,textVerticalAlign:s};l.setStyle(y),h.setStyle(y),g=i.getBoundingRect();var x=v.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var A=new w.Rect({shape:{x:g.x-x[3],y:g.y-x[0],width:g.width+x[1]+x[3],height:g.height+x[0]+x[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(A)}}})},2794:function(t,e,n){var i=n(789),a=n(2795);n(2796),n(2797),n(2798),n(2800),i.registerPreprocessor(a)},2795:function(t,e,n){var r=n(768);function a(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),i=t.label||t.label||{},a=i.normal||(i.normal={}),o={normal:1,emphasis:1};r.each(i,function(t,e){o[e]||s(a,e)||(a[e]=t)}),n.label&&!s(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function s(t,e){return t.hasOwnProperty(e)}t.exports=function(t){var e=t&&t.timeline;r.isArray(e)||(e=e?[e]:[]),r.each(e,function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};n[e]&&(t.axisType=n[e],delete t.type);if(a(t),s(t,"controlPosition")){var i=t.controlStyle||(t.controlStyle={});s(i,"position")||(i.position=t.controlPosition),"none"!==i.position||s(i,"show")||(i.show=!1,delete i.position),delete t.controlPosition}r.each(t.data||[],function(t){r.isObject(t)&&!r.isArray(t)&&(!s(t,"value")&&s(t,"name")&&(t.value=t.name),a(t))})}(t)})}},2796:function(t,e,n){n(1245).registerSubTypeDefaulter("timeline",function(){return"slider"})},2797:function(t,e,n){var i=n(789),a=n(768);i.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,e){var n=e.getComponent("timeline");return n&&null!=t.currentIndex&&(n.setCurrentIndex(t.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),e.resetOption("timeline"),a.defaults({currentIndex:n.option.currentIndex},t)}),i.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)})},2798:function(t,e,n){var i=n(768),a=n(2799),o=n(1807),r=a.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});i.mixin(r,o);var s=r;t.exports=s},2799:function(t,e,n){var r=n(768),i=n(1245),s=n(1320),l=n(987),a=i.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(t,e,n){this._data,this._names,this.mergeDefaultAndTheme(t,n),this._initData()},mergeOption:function(t){a.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(e<=t&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t=this.option,e=t.data||[],n=t.axisType,a=this._names=[];if("category"===n){var o=[];r.each(e,function(t,e){var n,i=l.getDataItemValue(t);r.isObject(t)?(n=r.clone(t)).value=e:n=e,o.push(n),r.isString(i)||null!=i&&!isNaN(i)||(i=""),a.push(i+"")}),e=o}var i={category:"ordinal",time:"time"}[n]||"number";(this._data=new s([{name:"value",type:i}],this)).initData(e,a)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),o=a;t.exports=o},2800:function(t,e,n){var m=n(768),v=n(1152),y=n(1284),x=n(852),I=n(1146),i=n(2801),s=n(2802),p=n(1321).createSymbol,l=n(1382),f=n(965),u=n(1153).encodeHTML,_=m.bind,h=m.each,T=Math.PI,a=i.extend({type:"timeline.slider",init:function(t,e){this.api=e,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(e,t,n,i){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var a=this._layout(e,n),o=this._createGroup("mainGroup"),r=this._createGroup("labelGroup"),s=this._axis=this._createAxis(a,e);e.formatTooltip=function(t){return u(s.scale.getLabel(t))},h(["AxisLine","AxisTick","Control","CurrentPointer"],function(t){this["_render"+t](a,o,s,e)},this),this._renderAxisLabel(a,r,s,e),this._position(a,e)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(t,e){var n,i,a=t.get("label.position"),o=t.get("orient"),r=(n=t,i=e,I.getLayoutRect(n.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()},n.get("padding")));null==a||"auto"===a?a="horizontal"===o?r.y+r.height/2<e.getHeight()/2?"-":"+":r.x+r.width/2<e.getWidth()/2?"+":"-":isNaN(a)&&(a={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[o][a]);var s,l,u,c,h={horizontal:"center",vertical:0<=a||"+"===a?"left":"right"},d={horizontal:0<=a||"+"===a?"top":"bottom",vertical:"middle"},p={horizontal:0,vertical:T/2},f="vertical"===o?r.height:r.width,g=t.getModel("controlStyle"),m=g.get("show",!0),v=m?g.get("itemSize"):0,y=m?g.get("itemGap"):0,x=v+y,_=t.get("label.rotate")||0;_=_*T/180;var A=g.get("position",!0),b=m&&g.get("showPlayBtn",!0),w=m&&g.get("showPrevBtn",!0),S=m&&g.get("showNextBtn",!0),C=0,M=f;return"left"===A||"bottom"===A?(b&&(s=[0,0],C+=x),w&&(l=[C,0],C+=x)):(b&&(s=[M-v,0],M-=x),w&&(l=[0,0],C+=x)),S&&(u=[M-v,0],M-=x),c=[C,M],t.get("inverse")&&c.reverse(),{viewRect:r,mainLength:f,orient:o,rotation:p[o],labelRotation:_,labelPosOpt:a,labelAlign:t.get("label.align")||h[o],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||d[o],playPosition:s,prevBtnPosition:l,nextBtnPosition:u,axisExtent:c,controlSize:v,controlGap:y}},_position:function(t,e){var n=this._mainGroup,i=this._labelGroup,a=t.viewRect;if("vertical"===t.orient){var o=y.create(),r=a.x,s=a.y+a.height;y.translate(o,o,[-r,-s]),y.rotate(o,o,-T/2),y.translate(o,o,[r,s]),(a=a.clone()).applyTransform(o)}var l=m(a),u=m(n.getBoundingRect()),c=m(i.getBoundingRect()),h=n.position,d=i.position;d[0]=h[0]=l[0][0];var p,f=t.labelPosOpt;isNaN(f)?(v(h,u,l,1,p="+"===f?0:1),v(d,c,l,1,1-p)):(v(h,u,l,1,p=0<=f?0:1),d[1]=h[1]+f);function g(t){var e=t.position;t.origin=[l[0][0]-e[0],l[1][0]-e[1]]}function m(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,i,a){t[i]+=n[i][a]-e[i][a]}n.attr("position",h),i.attr("position",d),n.rotation=i.rotation=t.rotation,g(n),g(i)},_createAxis:function(t,e){var n=e.getData(),i=e.get("axisType"),a=l.createScaleByModel(e,i);a.getTicks=function(){return n.mapArray(["value"],function(t){return t})};var o=n.getDataExtent("value");a.setExtent(o[0],o[1]),a.niceTicks();var r=new s("value",a,t.axisExtent,i);return r.model=e,r},_createGroup:function(t){var e=this["_"+t]=new x.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,n,i){var a=n.getExtent();i.get("lineStyle.show")&&e.add(new x.Line({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:m.extend({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,s,l,u){var c=u.getData(),e=l.scale.getTicks();h(e,function(t){var e=l.dataToCoord(t),n=c.getItemModel(t),i=n.getModel("itemStyle"),a=n.getModel("emphasis.itemStyle"),o={position:[e,0],onclick:_(this._changeTimeline,this,t)},r=d(n,i,s,o);x.setHoverStyle(r,a.getItemStyle()),n.get("tooltip")?(r.dataIndex=t,r.dataModel=u):r.dataIndex=r.dataModel=null},this)},_renderAxisLabel:function(s,l,u,t){if(u.getLabelModel().get("show")){var c=t.getData(),e=u.getViewLabels();h(e,function(t){var e=t.tickValue,n=c.getItemModel(e),i=n.getModel("label"),a=n.getModel("emphasis.label"),o=u.dataToCoord(t.tickValue),r=new x.Text({position:[o,0],rotation:s.labelRotation-s.rotation,onclick:_(this._changeTimeline,this,e),silent:!1});x.setTextStyle(r.style,i,{text:t.formattedLabel,textAlign:s.labelAlign,textVerticalAlign:s.labelBaseline}),l.add(r),x.setHoverStyle(r,x.setTextStyle({},a))},this)}},_renderControl:function(t,u,e,c){var h=t.controlSize,d=t.rotation,p=c.getModel("controlStyle").getItemStyle(),f=c.getModel("emphasis.controlStyle").getItemStyle(),g=[0,-h/2,h,h],n=c.getPlayState(),i=c.get("inverse",!0);function a(t,e,n,i){if(t){var a,o,r,s,l=(a=c,o=e,r=g,s={position:t,origin:[h/2,0],rotation:i?-d:0,rectHover:!0,style:p,onclick:n},x.makePath(a.get(o).replace(/^path:\/\//,""),m.clone(s||{}),new v(r[0],r[1],r[2],r[3]),"center"));u.add(l),x.setHoverStyle(l,f)}}a(t.nextBtnPosition,"controlStyle.nextIcon",_(this._changeTimeline,this,i?"-":"+")),a(t.prevBtnPosition,"controlStyle.prevIcon",_(this._changeTimeline,this,i?"+":"-")),a(t.playPosition,"controlStyle."+(n?"stopIcon":"playIcon"),_(this._handlePlayClick,this,!n),!0)},_renderCurrentPointer:function(t,e,n,i){var a=i.getData(),o=i.getCurrentIndex(),r=a.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=_(s._handlePointerDrag,s),t.ondragend=_(s._handlePointerDragend,s),c(t,o,n,i,!0)},onUpdate:function(t){c(t,o,n,i)}};this._currentPointer=d(r,r,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var n=this._toAxisCoord(t)[0],i=this._axis,a=f.asc(i.getExtent().slice());n>a[1]&&(n=a[1]),n<a[0]&&(n=a[0]),this._currentPointer.position[0]=n,this._currentPointer.dirty();var o=this._findNearestTick(n),r=this.model;(e||o!==r.getCurrentIndex()&&r.get("realtime"))&&this._changeTimeline(o)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(_(function(){var t=this.model;this._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))},this),this.model.get("playInterval")))},_toAxisCoord:function(t){var e=this._mainGroup.getLocalTransform();return x.applyTransform(t,e,!0)},_findNearestTick:function(a){var o,t=this.model.getData(),r=1/0,s=this._axis;return t.each(["value"],function(t,e){var n=s.dataToCoord(t),i=Math.abs(n-a);i<r&&(r=i,o=e)}),o},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})}});function d(t,e,n,i,a,o){var r=e.get("color");if(a)a.setColor(r),n.add(a),o&&o.onUpdate(a);else{var s=t.get("symbol");(a=p(s,-1,-1,2,2,r)).setStyle("strokeNoScale",!0),n.add(a),o&&o.onCreate(a)}var l=e.getItemStyle(["color","symbol","symbolSize"]);a.setStyle(l),i=m.merge({rectHover:!0,z2:100},i,!0);var u=t.get("symbolSize");(u=u instanceof Array?u.slice():[+u,+u])[0]/=2,u[1]/=2,i.scale=u;var c=t.get("symbolOffset");if(c){var h=i.position=i.position||[0,0];h[0]+=f.parsePercent(c[0],u[0]),h[1]+=f.parsePercent(c[1],u[1])}var d=t.get("symbolRotate");return i.rotation=(d||0)*Math.PI/180||0,a.attr(i),a.updateTransform(),a}function c(t,e,n,i,a){if(!t.dragging){var o=i.getModel("checkpointStyle"),r=n.dataToCoord(i.getData().get(["value"],e));a||!o.get("animation",!0)?t.attr({position:[r,0]}):(t.stopAnimation(!0),t.animateTo({position:[r,0]},o.get("animationDuration",!0),o.get("animationEasing",!0)))}}t.exports=a},2801:function(t,e,n){var i=n(1689).extend({type:"timeline"});t.exports=i},2802:function(t,e,n){function i(t,e,n,i){o.call(this,t,e,n),this.type=i||"value",this.model=null}var a=n(768),o=n(1467);i.prototype={constructor:i,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},a.inherits(i,o);var r=i;t.exports=r},2803:function(t,e,n){var i=n(789);n(2804),n(2805),i.registerPreprocessor(function(t){t.markPoint=t.markPoint||{}})},2804:function(t,e,n){var i=n(1828).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}}}});t.exports=i},2805:function(t,e,n){var h=n(768),s=n(1598),d=n(965),p=n(1320),f=n(1829);function g(s,l,u){var c=l.coordinateSystem;s.each(function(t){var e,n=s.getItemModel(t),i=d.parsePercent(n.get("x"),u.getWidth()),a=d.parsePercent(n.get("y"),u.getHeight());if(isNaN(i)||isNaN(a)){if(l.getMarkerPosition)e=l.getMarkerPosition(s.getValues(s.dimensions,t));else if(c){var o=s.get(c.dimensions[0],t),r=s.get(c.dimensions[1],t);e=c.dataToPoint([o,r])}}else e=[i,a];isNaN(i)||(e[0]=i),isNaN(a)||(e[1]=a),s.setItemLayout(t,e)})}var i=n(1830).extend({type:"markPoint",updateTransform:function(t,e,n){e.eachSeries(function(t){var e=t.markPointModel;e&&(g(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout(e))},this)},renderSeries:function(t,l,e,n){var i=t.coordinateSystem,a=t.id,u=t.getData(),o=this.markerGroupMap,r=o.get(a)||o.set(a,new s),c=function(t,n,e){var i;i=t?h.map(t&&t.dimensions,function(t){var e=n.getData().getDimensionInfo(n.getData().mapDimension(t))||{};return h.defaults({name:t},e)}):[{name:"value",type:"float"}];var a=new p(i,e),o=h.map(e.get("data"),h.curry(f.dataTransform,n));t&&(o=h.filter(o,h.curry(f.dataFilter,t)));return a.initData(o,null,t?f.dimValueGetter:function(t){return t.value}),a}(i,t,l);l.setData(c),g(l.getData(),t,n),c.each(function(t){var e=c.getItemModel(t),n=e.getShallow("symbol"),i=e.getShallow("symbolSize"),a=h.isFunction(n),o=h.isFunction(i);if(a||o){var r=l.getRawValue(t),s=l.getDataParams(t);a&&(n=n(r,s)),o&&(i=i(r,s))}c.setItemVisual(t,{symbol:n,symbolSize:i,color:e.get("itemStyle.color")||u.getVisual("color")})}),r.updateData(c),this.group.add(r.group),c.eachItemGraphicEl(function(t){t.traverse(function(t){t.dataModel=l})}),r.__keep=!0,r.group.silent=l.get("silent")||t.get("silent")}});t.exports=i},2806:function(t,e,n){var i=n(789);n(2807),n(2808),i.registerPreprocessor(function(t){t.markLine=t.markLine||{}})},2807:function(t,e,n){var i=n(1828).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"}});t.exports=i},2808:function(t,e,n){function m(t,e,n,i){var a=t.getData(),o=i.type;if(!v.isArray(i)&&("min"===o||"max"===o||"average"===o||"median"===o||null!=i.xAxis||null!=i.yAxis)){var r,s;if(null!=i.yAxis||null!=i.xAxis)r=e.getAxis(null!=i.yAxis?"y":"x"),s=v.retrieve(i.yAxis,i.xAxis);else{var l=x.getAxisInfo(i,a,e,t);r=l.valueAxis;var u=A(a,l.valueDataDim);s=x.numCalculate(a,u,o)}var c="x"===r.dim?0:1,h=1-c,d=v.clone(i),p={};d.type=null,d.coord=[],p.coord=[],d.coord[h]=-1/0,p.coord[h]=1/0;var f=n.get("precision");0<=f&&"number"==typeof s&&(s=+s.toFixed(Math.min(f,20))),d.coord[c]=p.coord[c]=s,i=[d,p,{type:o,valueIndex:i.valueIndex,value:s}]}return(i=[x.dataTransform(t,i[0]),x.dataTransform(t,i[1]),v.extend({},i[2])])[2].type=i[2].type||"",v.merge(i[2],i[0]),v.merge(i[2],i[1]),i}var v=n(768),y=n(1320),g=n(965),x=n(1829),_=n(1818),i=n(1830),A=n(1413).getStackedDimension;function b(t){return!isNaN(t)&&!isFinite(t)}function a(t,e,n,i){var a=1-t,o=i.dimensions[t];return b(e[a])&&b(n[a])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function w(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(a(1,n,i,t)||a(0,n,i,t)))return!0}return x.dataFilter(t,e[0])&&x.dataFilter(t,e[1])}function S(t,e,n,i,a){var o,r=i.coordinateSystem,s=t.getItemModel(e),l=g.parsePercent(s.get("x"),a.getWidth()),u=g.parsePercent(s.get("y"),a.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=r.dimensions,h=t.get(c[0],e),d=t.get(c[1],e);o=r.dataToPoint([h,d])}if("cartesian2d"===r.type){var p=r.getAxis("x"),f=r.getAxis("y");c=r.dimensions;b(t.get(c[0],e))?o[0]=p.toGlobalCoord(p.getExtent()[n?0:1]):b(t.get(c[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var o=i.extend({type:"markLine",updateTransform:function(t,e,o){e.eachSeries(function(e){var t=e.markLineModel;if(t){var n=t.getData(),i=t.__from,a=t.__to;i.each(function(t){S(i,t,!0,e,o),S(a,t,!1,e,o)}),n.each(function(t){n.setItemLayout(t,[i.getItemLayout(t),a.getItemLayout(t)])}),this.markerGroupMap.get(e.id).updateLayout()}},this)},renderSeries:function(a,n,t,o){var e=a.coordinateSystem,i=a.id,r=a.getData(),s=this.markerGroupMap,l=s.get(i)||s.set(i,new _);this.group.add(l.group);var u=function(t,n,e){var i;i=t?v.map(t&&t.dimensions,function(t){var e=n.getData().getDimensionInfo(n.getData().mapDimension(t))||{};return v.defaults({name:t},e)}):[{name:"value",type:"float"}];var a=new y(i,e),o=new y(i,e),r=new y([],e),s=v.map(e.get("data"),v.curry(m,n,t,e));t&&(s=v.filter(s,v.curry(w,t)));var l=t?x.dimValueGetter:function(t){return t.value};return a.initData(v.map(s,function(t){return t[0]}),null,l),o.initData(v.map(s,function(t){return t[1]}),null,l),r.initData(v.map(s,function(t){return t[2]})),r.hasItemOption=!0,{from:a,to:o,line:r}}(e,a,n),c=u.from,h=u.to,d=u.line;n.__from=c,n.__to=h,n.setData(d);var p=n.get("symbol"),f=n.get("symbolSize");function g(t,e,n){var i=t.getItemModel(e);S(t,e,n,a,o),t.setItemVisual(e,{symbolSize:i.get("symbolSize")||f[n?0:1],symbol:i.get("symbol",!0)||p[n?0:1],color:i.get("itemStyle.color")||r.getVisual("color")})}v.isArray(p)||(p=[p,p]),"number"==typeof f&&(f=[f,f]),u.from.each(function(t){g(c,t,!0),g(h,t,!1)}),d.each(function(t){var e=d.getItemModel(t).get("lineStyle.color");d.setItemVisual(t,{color:e||c.getItemVisual(t,"color")}),d.setItemLayout(t,[c.getItemLayout(t),h.getItemLayout(t)]),d.setItemVisual(t,{fromSymbolSize:c.getItemVisual(t,"symbolSize"),fromSymbol:c.getItemVisual(t,"symbol"),toSymbolSize:h.getItemVisual(t,"symbolSize"),toSymbol:h.getItemVisual(t,"symbol")})}),l.updateData(d),u.line.eachItemGraphicEl(function(t,e){t.traverse(function(t){t.dataModel=n})}),l.__keep=!0,l.group.silent=n.get("silent")||a.get("silent")}});t.exports=o},2809:function(t,e,n){var i=n(789);n(2810),n(2811),i.registerPreprocessor(function(t){t.markArea=t.markArea||{}})},2810:function(t,e,n){var i=n(1828).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"}}}});t.exports=i},2811:function(t,e,n){function c(t,e,n,i){var a=m.dataTransform(t,i[0]),o=m.dataTransform(t,i[1]),r=h.retrieve,s=a.coord,l=o.coord;s[0]=r(s[0],-1/0),s[1]=r(s[1],-1/0),l[0]=r(l[0],1/0),l[1]=r(l[1],1/0);var u=h.mergeAll([{},a,o]);return u.coord=[a.coord,o.coord],u.x0=a.x,u.y0=a.y,u.x1=o.x,u.y1=o.y,u}var h=n(768),d=n(1411),p=n(1320),g=n(965),f=n(852),m=n(1829),i=n(1830);function v(t){return!isNaN(t)&&!isFinite(t)}function a(t,e,n){var i=1-t;return v(e[i])&&v(n[i])}function y(t,e){var n=e.coord[0],i=e.coord[1];return!("cartesian2d"!==t.type||!n||!i||!a(1,n,i)&&!a(0,n,i))||(m.dataFilter(t,{coord:n,x:e.x0,y:e.y0})||m.dataFilter(t,{coord:i,x:e.x1,y:e.y1}))}function x(t,e,n,i,a){var o,r=i.coordinateSystem,s=t.getItemModel(e),l=g.parsePercent(s.get(n[0]),a.getWidth()),u=g.parsePercent(s.get(n[1]),a.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(n,e));else{var c=[p=t.get(n[0],e),f=t.get(n[1],e)];r.clampData&&r.clampData(c,c),o=r.dataToPoint(c,!0)}if("cartesian2d"===r.type){var h=r.getAxis("x"),d=r.getAxis("y"),p=t.get(n[0],e),f=t.get(n[1],e);v(p)?o[0]=h.toGlobalCoord(h.getExtent()["x0"===n[0]?0:1]):v(f)&&(o[1]=d.toGlobalCoord(d.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var _=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];i.extend({type:"markArea",updateTransform:function(t,e,a){e.eachSeries(function(n){var t=n.markAreaModel;if(t){var i=t.getData();i.each(function(e){var t=h.map(_,function(t){return x(i,e,t,n,a)});i.setItemLayout(e,t),i.getItemGraphicEl(e).setShape("points",t)})}},this)},renderSeries:function(n,r,t,i){var e=n.coordinateSystem,a=n.id,o=n.getData(),s=this.markerGroupMap,l=s.get(a)||s.set(a,{group:new f.Group});this.group.add(l.group),l.__keep=!0;var u=function(t,i,e){var n,a;a=t?(n=h.map(t&&t.dimensions,function(t){var e=i.getData(),n=e.getDimensionInfo(e.mapDimension(t))||{};return h.defaults({name:t},n)}),new p(h.map(["x0","y0","x1","y1"],function(t,e){return{name:t,type:n[e%2].type}}),e)):new p(n=[{name:"value",type:"float"}],e);var o=h.map(e.get("data"),h.curry(c,i,t,e));t&&(o=h.filter(o,h.curry(y,t)));var r=t?function(t,e,n,i){return t.coord[Math.floor(i/2)][i%2]}:function(t){return t.value};return a.initData(o,null,r),a.hasItemOption=!0,a}(e,n,r);r.setData(u),u.each(function(e){u.setItemLayout(e,h.map(_,function(t){return x(u,e,t,n,i)})),u.setItemVisual(e,{color:o.getVisual("color")})}),u.diff(l.__data).add(function(t){var e=new f.Polygon({shape:{points:u.getItemLayout(t)}});u.setItemGraphicEl(t,e),l.group.add(e)}).update(function(t,e){var n=l.__data.getItemGraphicEl(e);f.updateProps(n,{shape:{points:u.getItemLayout(t)}},r,t),l.group.add(n),u.setItemGraphicEl(t,n)}).remove(function(t){var e=l.__data.getItemGraphicEl(t);l.group.remove(e)}).execute(),u.eachItemGraphicEl(function(t,e){var n=u.getItemModel(e),i=n.getModel("label"),a=n.getModel("emphasis.label"),o=u.getItemVisual(e,"color");t.useStyle(h.defaults(n.getModel("itemStyle").getItemStyle(),{fill:d.modifyAlpha(o,.4),stroke:o})),t.hoverStyle=n.getModel("emphasis.itemStyle").getItemStyle(),f.setLabelStyle(t.style,t.hoverStyle,i,a,{labelFetcher:r,labelDataIndex:e,defaultText:u.getName(e)||"",isRectText:!0,autoColor:o}),f.setHoverStyle(t,{}),t.dataModel=r}),l.__data=u,l.group.silent=r.get("silent")||n.get("silent")}})},2812:function(t,e,n){n(2181),n(2815),n(2816),n(2817)},2813:function(t,e,n){var i=n(789),s=n(768);function a(e,n,t){var a,o={},r="toggleSelected"===e;return t.eachComponent("legend",function(i){r&&null!=a?i[a?"select":"unSelect"](n.name):"allSelect"===e||"inverseSelect"===e?i[e]():(i[e](n.name),a=i.isSelected(n.name));var t=i.getData();s.each(t,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);o.hasOwnProperty(e)?o[e]=o[e]&&n:o[e]=n}})}),"allSelect"===e||"inverseSelect"===e?{selected:o}:{name:n.name,selected:o}}i.registerAction("legendToggleSelect","legendselectchanged",s.curry(a,"toggleSelected")),i.registerAction("legendAllSelect","legendselectall",s.curry(a,"allSelect")),i.registerAction("legendInverseSelect","legendinverseselect",s.curry(a,"inverseSelect")),i.registerAction("legendSelect","legendselected",s.curry(a,"select")),i.registerAction("legendUnSelect","legendunselected",s.curry(a,"unSelect"))},2814:function(t,e){t.exports=function(t){var n=t.findComponents({mainType:"legend"});n&&n.length&&t.filterSeries(function(t){for(var e=0;e<n.length;e++)if(!n[e].isSelected(t.name))return!1;return!0})}},2815:function(t,e,n){var i=n(2182),a=n(1146),o=a.mergeLayoutParam,r=a.getLayoutParams,s=i.extend({type:"legend.scroll",setScrollDataIndex:function(t){this.option.scrollDataIndex=t},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(t,e,n,i){var a=r(t);s.superCall(this,"init",t,e,n,i),l(this,t,a)},mergeOption:function(t,e){s.superCall(this,"mergeOption",t,e),l(this,this.option,t)}});function l(t,e,n){var i=[1,1];i[t.getOrient().index]=0,o(e,n,{type:"box",ignoreSize:i})}var u=s;t.exports=u},2816:function(t,e,n){var _=n(768),A=n(852),b=n(1146),i=n(2183),a=A.Group,w=["width","height"],S=["x","y"],d=i.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){d.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new a),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new a),this._showController},resetInner:function(){d.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,a,e,o,n,i,r){var s=this;d.superCall(this,"renderInner",t,a,e,o,n,i,r);var l=this._controllerGroup,u=a.get("pageIconSize",!0);_.isArray(u)||(u=[u,u]),h("pagePrev",0);var c=a.getModel("pageTextStyle");function h(t,e){var n=t+"DataIndex",i=A.createIcon(a.get("pageIcons",!0)[a.getOrient().name][e],{onclick:_.bind(s._pageGo,s,n,a,o)},{x:-u[0]/2,y:-u[1]/2,width:u[0],height:u[1]});i.name=t,l.add(i)}l.add(new A.Text({name:"pageText",style:{textFill:c.getTextColor(),font:c.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),h("pageNext",1)},layoutInner:function(t,e,n,i,a,o){var r=this.getSelectorGroup(),s=t.getOrient().index,l=w[s],u=S[s],c=w[1-s],h=S[1-s];a&&b.box("horizontal",r,t.get("selectorItemGap",!0));var d=t.get("selectorButtonGap",!0),p=r.getBoundingRect(),f=[-p.x,-p.y],g=_.clone(n);a&&(g[l]=n[l]-p[l]-d);var m=this._layoutContentAndController(t,i,g,s,l,c,h);if(a){if("end"===o)f[s]+=m[l]+d;else{var v=p[l]+d;f[s]-=v,m[u]-=v}m[l]+=p[l]+d,f[1-s]+=m[h]+m[c]/2-p[c]/2,m[c]=Math.max(m[c],p[c]),m[h]=Math.min(m[h],p[h]+f[1-s]),r.attr("position",f)}return m},_layoutContentAndController:function(t,e,n,i,a,o,r){var s=this.getContentGroup(),l=this._containerGroup,u=this._controllerGroup;b.box(t.get("orient"),s,t.get("itemGap"),i?n.width:null,i?null:n.height),b.box("horizontal",u,t.get("pageButtonItemGap",!0));var c=s.getBoundingRect(),h=u.getBoundingRect(),d=this._showController=c[a]>n[a],p=[-c.x,-c.y];e||(p[i]=s.position[i]);var f=[0,0],g=[-h.x,-h.y],m=_.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));d&&("end"===t.get("pageButtonPosition",!0)?g[i]+=n[a]-h[a]:f[i]+=h[a]+m);g[1-i]+=c[o]/2-h[o]/2,s.attr("position",p),l.attr("position",f),u.attr("position",g);var v={x:0,y:0};if(v[a]=d?n[a]:c[a],v[o]=Math.max(c[o],h[o]),v[r]=Math.min(0,h[r]+g[1-i]),l.__rectSize=n[a],d){var y={x:0,y:0};y[a]=Math.max(n[a]-h[a]-m,0),y[o]=v[o],l.setClipPath(new A.Rect({shape:y})),l.__rectSize=y[a]}else u.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var x=this._getPageInfo(t);return null!=x.pageIndex&&A.updateProps(s,{position:x.contentPosition},d&&t),this._updatePageInfoView(t,x),v},_pageGo:function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},_updatePageInfoView:function(i,a){var o=this._controllerGroup;_.each(["pagePrev","pageNext"],function(t){var e=null!=a[t+"DataIndex"],n=o.childOfName(t);n&&(n.setStyle("fill",e?i.get("pageIconColor",!0):i.get("pageIconInactiveColor",!0)),n.cursor=e?"pointer":"default")});var t=o.childOfName("pageText"),e=i.get("pageFormatter"),n=a.pageIndex,r=null!=n?n+1:0,s=a.pageCount;t&&e&&t.setStyle("text",_.isString(e)?e.replace("{current}",r).replace("{total}",s):e({current:r,total:s}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,a=t.getOrient().index,o=w[a],r=S[a],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],c=l.length,h=c?1:0,d={contentPosition:n.position.slice(),pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var p=y(u);d.contentPosition[a]=-p.s;for(var f=s+1,g=p,m=p,v=null;f<=c;++f)(!(v=y(l[f]))&&m.e>g.s+i||v&&!x(v,g.s))&&(g=m.i>g.i?m:v)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=g.i),++d.pageCount),m=v;for(f=s-1,g=p,m=p,v=null;-1<=f;--f)(v=y(l[f]))&&x(m,v.s)||!(g.i<m.i)||(m=g,null==d.pagePrevDataIndex&&(d.pagePrevDataIndex=g.i),++d.pageCount,++d.pageIndex),g=v;return d;function y(t){if(t){var e=t.getBoundingRect(),n=e[r]+t.position[a];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function x(t,e){return t.e>=e&&t.s<=e+i}},_findTargetItemIndex:function(i){var a,o,t=this.getContentGroup();return this._showController&&t.eachChild(function(t,e){var n=t.__legendDataIndex;null==o&&null!=n&&(o=e),n===i&&(a=e)}),null!=a?a:o}}),o=d;t.exports=o},2817:function(t,e,n){n(789).registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(n)})})},2818:function(t,e,n){n(2184),n(2185)},2819:function(t,e,n){var i=n(1556).extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}});t.exports=i},2820:function(t,e,n){var m=n(768),u=n(1410),v=n(852),a=n(1465),i=n(1557),c=n(965),s=n(1146),h=n(1555),d=v.Rect,y=c.linearMap,p=c.asc,f=m.bind,g=m.each,x="horizontal",_=["line","bar","candlestick","scatter"],o=i.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,n,i){o.superApply(this,"render",arguments),a.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){o.superApply(this,"remove",arguments),a.clear(this,"_dispatchZoomAction")},dispose:function(){o.superApply(this,"dispose",arguments),a.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new v.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,n=this._findCoordRect(),i={width:e.getWidth(),height:e.getHeight()},a=this._orient===x?{right:i.width-n.x-n.width,top:i.height-30-7,width:n.width,height:30}:{right:7,top:n.y,width:30,height:n.height},o=s.getLayoutParams(t.option);m.each(["right","top","width","height"],function(t){"ph"===o[t]&&(o[t]=a[t])});var r=s.getLayoutRect(o,i,t.padding);this._location={x:r.x,y:r.y},this._size=[r.width,r.height],"vertical"===this._orient&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),a=i&&i.get("inverse"),o=this._displayables.barGroup,r=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==x||a?n===x&&a?{scale:r?[-1,1]:[-1,-1]}:"vertical"!==n||a?{scale:r?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:r?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:r?[1,1]:[1,-1]});var s=t.getBoundingRect([o]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.barGroup;n.add(new d({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),n.add(new d({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:m.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,n=t.series,i=n.getRawData(),a=n.getShadowDim?n.getShadowDim():t.otherDim;if(null!=a){var o=i.getDataExtent(a),r=.3*(o[1]-o[0]);o=[o[0]-r,o[1]+r];var s,l=[0,e[1]],u=[0,e[0]],c=[[e[0],0],[0,0]],h=[],d=u[1]/(i.count()-1),p=0,f=Math.round(i.count()/e[0]);i.each([a],function(t,e){if(0<f&&e%f)p+=d;else{var n=null==t||isNaN(t)||""===t,i=n?0:y(t,o,l,!0);n&&!s&&e?(c.push([c[c.length-1][0],0]),h.push([h[h.length-1][0],0])):!n&&s&&(c.push([p,0]),h.push([p,0])),c.push([p,i]),h.push([p,i]),p+=d,s=n}});var g=this.dataZoomModel;this._displayables.barGroup.add(new v.Polygon({shape:{points:c},style:m.defaults({fill:g.get("dataBackgroundColor")},g.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new v.Polyline({shape:{points:h},style:g.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,s=e.get("showDataShadow");if(!1!==s){var l,u=this.ecModel;return e.eachTargetAxis(function(o,r){var t=e.getAxisProxy(o.name,r).getTargetSeriesModels();m.each(t,function(t){if(!(l||!0!==s&&m.indexOf(_,t.get("type"))<0)){var e,n=u.getComponent(o.axis,r).axis,i={x:"y",y:"x",radius:"angle",angle:"radius"}[o.name],a=t.coordinateSystem;null!=i&&a.getOtherAxis&&(e=a.getOtherAxis(n).inverse),i=t.getData().mapDimension(i),l={thisAxis:n,series:t,thisDim:o.name,otherDim:i,otherAxisInverse:e}}},this)},this),l}},_renderHandle:function(){var t=this._displayables,o=t.handles=[],r=t.handleLabels=[],s=this._displayables.barGroup,e=this._size,l=this.dataZoomModel;s.add(t.filler=new d({draggable:!0,cursor:A(this._orient),drift:f(this._onDragMove,this,"all"),onmousemove:function(t){u.stop(t.event)},ondragstart:f(this._showDataInfo,this,!0),ondragend:f(this._onDragEnd,this),onmouseover:f(this._showDataInfo,this,!0),onmouseout:f(this._showDataInfo,this,!1),style:{fill:l.get("fillerColor"),textPosition:"inside"}})),s.add(new d({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),g([0,1],function(t){var e=v.createIcon(l.get("handleIcon"),{cursor:A(this._orient),draggable:!0,drift:f(this._onDragMove,this,t),onmousemove:function(t){u.stop(t.event)},ondragend:f(this._onDragEnd,this),onmouseover:f(this._showDataInfo,this,!0),onmouseout:f(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),n=e.getBoundingRect();this._handleHeight=c.parsePercent(l.get("handleSize"),this._size[1]),this._handleWidth=n.width/n.height*this._handleHeight,e.setStyle(l.getModel("handleStyle").getItemStyle());var i=l.get("handleColor");null!=i&&(e.style.fill=i),s.add(o[t]=e);var a=l.textStyleModel;this.group.add(r[t]=new v.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:a.getTextColor(),textFont:a.getFont()},z2:10}))},this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[y(t[0],[0,100],e,!0),y(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var n=this.dataZoomModel,i=this._handleEnds,a=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),r=[0,100];h(e,i,a,n.get("zoomLock")?"all":t,null!=o.minSpan?y(o.minSpan,r,a,!0):null,null!=o.maxSpan?y(o.maxSpan,r,a,!0):null);var s=this._range,l=this._range=p([y(i[0],a,r,!0),y(i[1],a,r,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var i=this._displayables,a=this._handleEnds,e=p(a.slice()),o=this._size;g([0,1],function(t){var e=i.handles[t],n=this._handleHeight;e.attr({scale:[n/2,n/2],position:[a[t],o[1]/2-n/2]})},this),i.filler.setShape({x:e[0],y:0,width:e[1]-e[0],height:o[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,o=this._displayables,r=o.handleLabels,s=this._orient,l=["",""];if(e.get("showDetail")){var n=e.findRepresentativeAxisProxy();if(n){var i=n.getAxisModel().axis,a=this._range,u=t?n.calculateDataWindow({start:a[0],end:a[1]}).valueWindow:n.getDataValueWindow();l=[this._formatLabel(u[0],i),this._formatLabel(u[1],i)]}}var c=p(this._handleEnds.slice());function h(t){var e=v.getTransform(o.handles[t].parent,this.group),n=v.transformDirection(0===t?"right":"left",e),i=this._handleWidth/2+5,a=v.applyTransform([c[t]+(0===t?-i:i),this._size[1]/2],e);r[t].setStyle({x:a[0],y:a[1],textVerticalAlign:s===x?"middle":n,textAlign:s===x?n:"center",text:l[t]})}h.call(this,0),h.call(this,1)},_formatLabel:function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),a=n.get("labelPrecision");null!=a&&"auto"!==a||(a=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(a,20));return m.isFunction(i)?i(t,o):m.isString(i)?i.replace("{value}",o):o},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,n){this._dragging=!0;var i=this._displayables.barGroup.getLocalTransform(),a=v.applyTransform([e,n],i,!0),o=this._updateInterval(t,a[0]),r=this.dataZoomModel.get("realtime");this._updateView(!r),o&&r&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),this.dataZoomModel.get("realtime")||this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,n=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,a=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-a);this._updateView(),o&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var n;if(g(this.getTargetCoordInfo(),function(t){if(!n&&t.length){var e=t[0].model.coordinateSystem;n=e.getRect&&e.getRect()}}),!n){var t=this.api.getWidth(),e=this.api.getHeight();n={x:.2*t,y:.2*e,width:.6*t,height:.6*e}}return n}});function A(t){return"vertical"===t?"ns-resize":"ew-resize"}var r=o;t.exports=r},2821:function(t,e,n){var i=n(1556).extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});t.exports=i},2822:function(t,e,n){var l=n(768),i=n(1557),h=n(1555),u=n(2823),c=l.bind,a=i.extend({type:"dataZoom.inside",init:function(t,e){this._range},render:function(r,t,s,e){a.superApply(this,"render",arguments),this._range=r.getPercentRange(),l.each(this.getTargetCoordInfo(),function(t,a){var o=l.map(t,function(t){return u.generateCoordId(t.model)});l.each(t,function(e){var i=e.model,n={};l.each(["pan","zoom","scrollMove"],function(t){n[t]=c(d[t],this,e,a)},this),u.register(s,{coordId:u.generateCoordId(i),allCoordIds:o,containsPoint:function(t,e,n){return i.coordinateSystem.containPoint([e,n])},dataZoomId:r.id,dataZoomModel:r,getRange:n})},this)},this)},dispose:function(){u.unregister(this.api,this.dataZoomModel.id),a.superApply(this,"dispose",arguments),this._range=null}}),d={zoom:function(t,e,n,i){var a=this._range,o=a.slice(),r=t.axisModels[0];if(r){var s=p[e](null,[i.originX,i.originY],r,n,t),l=(0<s.signal?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return h(0,o,[0,100],0,c.minSpan,c.maxSpan),this._range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}},pan:o(function(t,e,n,i,a,o){var r=p[i]([o.oldX,o.oldY],[o.newX,o.newY],e,a,n);return r.signal*(t[1]-t[0])*r.pixel/r.pixelLength}),scrollMove:o(function(t,e,n,i,a,o){return p[i]([0,0],[o.scrollDelta,o.scrollDelta],e,a,n).signal*(t[1]-t[0])*o.scrollDelta})};function o(l){return function(t,e,n,i){var a=this._range,o=a.slice(),r=t.axisModels[0];if(r){var s=l(o,r,t,e,n,i);return h(s,o,[0,100],"all"),this._range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}}}var p={grid:function(t,e,n,i,a){var o=n.axis,r={},s=a.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(r.pixel=e[0]-t[0],r.pixelLength=s.width,r.pixelStart=s.x,r.signal=o.inverse?1:-1):(r.pixel=e[1]-t[1],r.pixelLength=s.height,r.pixelStart=s.y,r.signal=o.inverse?-1:1),r},polar:function(t,e,n,i,a){var o=n.axis,r={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(r.pixel=e[0]-t[0],r.pixelLength=l[1]-l[0],r.pixelStart=l[0],r.signal=o.inverse?1:-1):(r.pixel=e[1]-t[1],r.pixelLength=u[1]-u[0],r.pixelStart=u[0],r.signal=o.inverse?-1:1),r},singleAxis:function(t,e,n,i,a){var o=n.axis,r=a.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=r.width,s.pixelStart=r.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=r.height,s.pixelStart=r.y,s.signal=o.inverse?-1:1),s}},r=a;t.exports=r},2823:function(t,e,n){var p=n(768),f=n(1603),g=n(1465),i="\0_ec_dataZoom_roams";function m(t){var e=t.getZr();return e[i]||(e[i]={})}function v(n){p.each(n,function(t,e){t.count||(t.controller.dispose(),delete n[e])})}function y(t,e){t.dispatchAction({type:"dataZoom",batch:e})}e.register=function(t,i){var e=m(t),a=i.dataZoomId,o=i.coordId;p.each(e,function(t,e){var n=t.dataZoomInfos;n[a]&&p.indexOf(i.allCoordIds,o)<0&&(delete n[a],t.count--)}),v(e);var r,n,s=e[o];s||((s=e[o]={coordId:o,dataZoomInfos:{},count:0}).controller=(r=s,n=new f(t.getZr()),p.each(["pan","zoom","scrollMove"],function(o){n.on(o,function(i){var a=[];p.each(r.dataZoomInfos,function(t){if(i.isAvailableBehavior(t.dataZoomModel.option)){var e=(t.getRange||{})[o],n=e&&e(r.controller,i);!t.dataZoomModel.get("disabled",!0)&&n&&a.push({dataZoomId:t.dataZoomId,start:n[0],end:n[1]})}}),a.length&&r.dispatchAction(a)})}),n),s.dispatchAction=p.curry(y,t)),s.dataZoomInfos[a]||s.count++,s.dataZoomInfos[a]=i;var l,u,c,h,d=(l=s.dataZoomInfos,c={type_true:2,type_move:1,type_false:0,type_undefined:-1},h=!0,p.each(l,function(t){var e=t.dataZoomModel,n=!e.get("disabled",!0)&&(!e.get("zoomLock",!0)||"move");c["type_"+u]<c["type_"+n]&&(u=n),h&=e.get("preventDefaultMouseMove",!0)}),{controlType:u,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!h}});s.controller.enable(d.controlType,d.opt),s.controller.setPointerChecker(i.containsPoint),g.createOrUpdate(s,"dispatchAction",i.dataZoomModel.get("throttle",!0),"fixRate")},e.unregister=function(t,n){var e=m(t);p.each(e,function(t){t.controller.dispose();var e=t.dataZoomInfos;e[n]&&(delete e[n],t.count--)}),v(e)},e.generateCoordId=function(t){return t.type+"\0_"+t.id}},2824:function(t,e,n){n(2186),n(2195)},2825:function(t,e,n){var i=n(768),a=n(2190),o=n(965),r=[20,140],s=a.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),null!=t[0]&&!isNaN(t[0])||(t[0]=r[0]),null!=t[1]&&!isNaN(t[1])||(t[1]=r[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):i.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){a.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)},this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=o.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},getValueState:function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(i){var a=[];return this.eachTargetSeries(function(t){var n=[],e=t.getData();e.each(this.getDataDimension(e),function(t,e){i[0]<=t&&t<=i[1]&&n.push(e)},this),a.push({seriesId:t.id,dataIndex:n})},this),a},getVisualMeta:function(n){var t=h(this,"outOfRange",this.getExtent()),e=h(this,"inRange",this.option.range.slice()),i=[];function a(t,e){i.push({value:t,color:n(t,e)})}for(var o=0,r=0,s=e.length,l=t.length;r<l&&(!e.length||t[r]<=e[0]);r++)t[r]<e[o]&&a(t[r],"outOfRange");for(var u=1;o<s;o++,u=0)u&&i.length&&a(e[o],"outOfRange"),a(e[o],"inRange");for(u=1;r<l;r++)(!e.length||e[e.length-1]<t[r])&&(u&&(i.length&&a(i[i.length-1].value,"outOfRange"),u=0),a(t[r],"outOfRange"));var c=i.length;return{stops:i,outerColors:[c?i[0].color:"transparent",c?i[c-1].color:"transparent"]}}});function h(t,e,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,a=n[0],o=[],r=0;r<=200&&a<n[1];r++)o.push(a),a+=i;return o.push(n[1]),o}var l=s;t.exports=l},2826:function(t,e,n){var p=n(768),l=n(1805),f=n(1410),i=n(2192),_=n(852),a=n(965),r=n(1555),g=n(2193),m=n(987),A=a.linearMap,u=p.each,b=Math.min,w=Math.max,o=i.extend({type:"visualMap.continuous",init:function(){o.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var a=this.visualMapModel,o=a.get("textGap"),r=a.itemSize,s=this._shapes.barGroup,l=this._applyTransform([r[0]/2,0===n?-o:r[1]+o],s),u=this._applyTransform(0===n?"bottom":"top",s),c=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new _.Text({style:{x:l[0],y:l[1],textVerticalAlign:"horizontal"===c?"middle":u,textAlign:"horizontal"===c?u:"center",text:i,textFont:h.getFont(),textFill:h.getTextColor()}}))}},_renderBar:function(t){var e=this.visualMapModel,n=this._shapes,i=e.itemSize,a=this._orient,o=this._useHandle,r=g.getItemAlign(e,this.api,i),s=n.barGroup=this._createBarGroup(r);s.add(n.outOfRange=v()),s.add(n.inRange=v(null,o?x(this._orient):null,p.bind(this._dragHandle,this,"all",!1),p.bind(this._dragHandle,this,"all",!0)));var l=e.textStyleModel.getTextRect("国"),u=w(l.width,l.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(s,0,i,u,a,r),this._createHandle(s,1,i,u,a,r)),this._createIndicator(s,i,u,a),t.add(s)},_createHandle:function(t,e,n,i,a){var o,r=p.bind(this._dragHandle,this,e,!1),s=p.bind(this._dragHandle,this,e,!0),l=v((o=i,0===e?[[0,0],[o,0],[o,-o]]:[[0,0],[o,0],[o,o]]),x(this._orient),r,s);l.position[0]=n[0],t.add(l);var u=this.visualMapModel.textStyleModel,c=new _.Text({draggable:!0,drift:r,onmousemove:function(t){f.stop(t.event)},ondragend:s,style:{x:0,y:0,text:"",textFont:u.getFont(),textFill:u.getTextColor()}});this.group.add(c);var h=["horizontal"===a?i/2:1.5*i,"horizontal"===a?0===e?-1.5*i:1.5*i:0===e?-i/2:i/2],d=this._shapes;d.handleThumbs[e]=l,d.handleLabelPoints[e]=h,d.handleLabels[e]=c},_createIndicator:function(t,e,n,i){var a=v([[0,0]],"move");a.position[0]=e[0],a.attr({invisible:!0,silent:!0}),t.add(a);var o=this.visualMapModel.textStyleModel,r=new _.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:o.getFont(),textFill:o.getTextColor()}});this.group.add(r);var s=["horizontal"===i?n/2:9,0],l=this._shapes;l.indicator=a,l.indicatorLabel=r,l.indicatorLabelPoint=s},_dragHandle:function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var a=this._applyTransform([n,i],this._shapes.barGroup,!0);this._updateInterval(t,a[1]),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?this._hovering||this._clearHoverLinkToSeries():y(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[A(e[0],n,i,!0),A(e[1],n,i,!0)]},_updateInterval:function(t,e){e=e||0;var n=this.visualMapModel,i=this._handleEnds,a=[0,n.itemSize[1]];r(e,i,a,t,0);var o=n.getExtent();this._dataInterval=[A(i[0],a,o,!0),A(i[1],a,o,!0)]},_updateView:function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,a=[0,e.itemSize[1]],o=t?a:this._handleEnds,r=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,a,"outOfRange");i.inRange.setStyle({fill:r.barColor,opacity:r.opacity}).setShape("points",r.barPoints),i.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(o,r)},_createBarVisual:function(t,e,n,i){var a={forceState:i,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,a),r=[this.getControllerVisual(t[0],"symbolSize",a),this.getControllerVisual(t[1],"symbolSize",a)],s=this._createBarPoints(n,r);return{barColor:new l(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},_makeColorGradient:function(t,e){var n=[],i=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var a=1;a<100;a++){var o=t[0]+i*a;if(o>t[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:a/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new _.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(i,a){if(this._useHandle){var o=this._shapes,r=this.visualMapModel,s=o.handleThumbs,l=o.handleLabels;u([0,1],function(t){var e=s[t];e.setStyle("fill",a.handlesColor[t]),e.position[1]=i[t];var n=_.applyTransform(o.handleLabelPoints[t],_.getTransform(e,this.group));l[t].setStyle({x:n[0],y:n[1],text:r.formatValueText(this._dataInterval[t]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===t?"bottom":"top":"left",o.barGroup)})},this)}},_showIndicator:function(t,e,n,i){var a=this.visualMapModel,o=a.getExtent(),r=a.itemSize,s=[0,r[1]],l=A(t,o,s,!0),u=this._shapes,c=u.indicator;if(c){var h,d,p,f;c.position[1]=l,c.attr("invisible",!1),c.setShape("points",(h=!!n,d=i,p=l,f=r[1],h?[[0,-b(d,w(p,0))],[6,0],[0,b(d,w(f-p,0))]]:[[0,0],[5,-5],[5,5]]));var g=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0});c.setStyle("fill",g);var m=_.applyTransform(u.indicatorLabelPoint,_.getTransform(c,this.group)),v=u.indicatorLabel;v.attr("invisible",!1);var y=this._applyTransform("left",u.barGroup),x=this._orient;v.setStyle({text:(n||"")+a.formatValueText(e),textVerticalAlign:"horizontal"===x?y:"middle",textAlign:"horizontal"===x?"center":y,x:m[0],y:m[1]})}},_enableHoverLinkToSeries:function(){var i=this;this._shapes.barGroup.on("mousemove",function(t){if(i._hovering=!0,!i._dragging){var e=i.visualMapModel.itemSize,n=i._applyTransform([t.offsetX,t.offsetY],i._shapes.barGroup,!0,!0);n[1]=b(w(0,n[1]),e[1]),i._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=e[0])}}).on("mouseout",function(){i._hovering=!1,i._dragging||i._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var a=[0,i[1]],o=n.getExtent();t=b(w(a[0],t),a[1]);var r=function(t,e,n){var i=6,a=t.get("hoverLinkDataSize");a&&(i=A(a,e,n,!0)/2);return i}(n,o,a),s=[t-r,t+r],l=A(t,a,o,!0),u=[A(s[0],a,o,!0),A(s[1],a,o,!0)];s[0]<a[0]&&(u[0]=-1/0),a[1]<s[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",r):u[1]===1/0?this._showIndicator(l,u[0],"> ",r):this._showIndicator(l,l,"≈ ",r));var c=this._hoverLinkDataIndices,h=[];(e||y(n))&&(h=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var d=m.compressBatches(c,h);this._dispatchHighDown("downplay",g.makeHighDownBatch(d[0],n)),this._dispatchHighDown("highlight",g.makeHighDownBatch(d[1],n))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=e.dataIndex){var i=this.ecModel.getSeriesByIndex(e.seriesIndex);if(n.isTargetSeries(i)){var a=i.getData(e.dataType),o=a.get(n.getDataDimension(a),e.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",g.makeHighDownBatch(t,this.visualMapModel)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,n,i){var a=_.getTransform(e,i?null:this.group);return _[p.isArray(t)?"applyTransform":"transformDirection"](t,a,n)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function v(t,e,n,i){return new _.Polygon({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){f.stop(t.event)},ondragend:i})}function y(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function x(t){return"vertical"===t?"ns-resize":"ew-resize"}var s=o;t.exports=s},2827:function(t,e,n){n(1127).__DEV__;var p=n(768),r=n(2190),f=n(1508),s=n(2191),c=n(965).reformIntervals,a=r.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(t,e){a.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var n=this._mode=this._determineMode();o[this._mode].call(this),this._resetSelected(t,e);var i=this.option.categories;this.resetVisual(function(t,e){"categories"===n?(t.mappingMethod="category",t.categories=p.clone(i)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=p.map(this._pieceList,function(t){t=p.clone(t);return"inRange"!==e&&(t.visual=null),t}))})},completeVisualOption:function(){var i=this.option,n={},t=f.listVisualTypes(),a=this.isCategory();function o(t,e,n){return t&&t[e]&&(p.isObject(t[e])?t[e].hasOwnProperty(n):t[e]===n)}p.each(i.pieces,function(e){p.each(t,function(t){e.hasOwnProperty(t)&&(n[t]=1)})}),p.each(n,function(t,e){var n=0;p.each(this.stateList,function(t){n|=o(i,t,e)||o(i.target,t,e)},this),n||p.each(this.stateList,function(t){(i[t]||(i[t]={}))[e]=s.get(e,"inRange"===t?"active":"inactive",a)})},this),r.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(t,e){var n=this.option,i=this._pieceList,a=(e?n:t).selected||{};if(n.selected=a,p.each(i,function(t,e){var n=this.getSelectedMapKey(t);a.hasOwnProperty(n)||(a[n]=!0)},this),"single"===n.selectedMode){var o=!1;p.each(i,function(t,e){var n=this.getSelectedMapKey(t);a[n]&&(o?a[n]=!1:o=!0)},this)}},getSelectedMapKey:function(t){return"categories"===this._mode?t.value+"":t.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var t=this.option;return t.pieces&&0<t.pieces.length?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=p.clone(t)},getValueState:function(t){var e=f.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(i){var a=[];return this.eachTargetSeries(function(t){var n=[],e=t.getData();e.each(this.getDataDimension(e),function(t,e){f.findPieceIndex(t,this._pieceList)===i&&n.push(e)},this),a.push({seriesId:t.id,dataIndex:n})},this),a},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},getVisualMeta:function(a){if(!this.isCategory()){var o=[],r=[],s=this,t=this._pieceList.slice();if(t.length){var e=t[0].interval[0];e!==-1/0&&t.unshift({interval:[-1/0,e]}),(e=t[t.length-1].interval[1])!==1/0&&t.push({interval:[e,1/0]})}else t.push({interval:[-1/0,1/0]});var n=-1/0;return p.each(t,function(t){var e=t.interval;e&&(e[0]>n&&i([n,e[0]],"outOfRange"),i(e.slice()),n=e[1])},this),{stops:o,outerColors:r}}function i(t,e){var n=s.getRepresentValue({interval:t});e=e||s.getValueState(n);var i=a(n,e);t[0]===-1/0?r[0]=i:t[1]===1/0?r[1]=i:o.push({value:t[0],color:i},{value:t[1],color:i})}}}),o={splitNumber:function(){var t=this.option,e=this._pieceList,n=Math.min(t.precision,20),i=this.getExtent(),a=t.splitNumber;a=Math.max(parseInt(a,10),1),t.splitNumber=a;for(var o=(i[1]-i[0])/a;+o.toFixed(n)!==o&&n<5;)n++;t.precision=n,o=+o.toFixed(n);var r=0;t.minOpen&&e.push({index:r++,interval:[-1/0,i[0]],close:[0,0]});for(var s=i[0],l=r+a;r<l;s+=o){var u=r===a-1?i[1]:s+o;e.push({index:r++,interval:[s,u],close:[1,1]})}t.maxOpen&&e.push({index:r++,interval:[i[1],1/0],close:[0,0]}),c(e),p.each(e,function(t){t.text=this.formatValueText(t.interval)},this)},categories:function(){var t=this.option;p.each(t.categories,function(t){this._pieceList.push({text:this.formatValueText(t,!0),value:t})},this),i(t,this._pieceList)},pieces:function(){var t=this.option,d=this._pieceList;p.each(t.pieces,function(t,e){p.isObject(t)||(t={value:t});var n={text:"",index:e};if(null!=t.label&&(n.text=t.label),t.hasOwnProperty("value")){var i=n.value=t.value;n.interval=[i,i],n.close=[1,1]}else{for(var a=n.interval=[],o=n.close=[0,0],r=[1,0,1],s=[-1/0,1/0],l=[],u=0;u<2;u++){for(var c=[["gte","gt","min"],["lte","lt","max"]][u],h=0;h<3&&null==a[u];h++)a[u]=t[c[h]],o[u]=r[h],l[u]=2===h;null==a[u]&&(a[u]=s[u])}l[0]&&a[1]===1/0&&(o[0]=0),l[1]&&a[0]===-1/0&&(o[1]=0),a[0]===a[1]&&o[0]&&o[1]&&(n.value=a[0])}n.visual=f.retrieveVisuals(t),d.push(n)},this),i(t,d),c(d),p.each(d,function(t){var e=t.close,n=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)},this)}};function i(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var l=a;t.exports=l},2828:function(t,e,n){var p=n(768),i=n(2192),f=n(852),a=n(1321).createSymbol,g=n(1146),o=n(2193),r=i.extend({type:"visualMap.piecewise",doRender:function(){var o=this.group;o.removeAll();var r=this.visualMapModel,s=r.get("textGap"),t=r.textStyleModel,l=t.getFont(),u=t.getTextColor(),c=this._getItemAlign(),h=r.itemSize,e=this._getViewData(),n=e.endsText,d=p.retrieve(r.get("showLabel",!0),!n);n&&this._renderEndsText(o,n[0],h,d,c),p.each(e.viewPieceList,function(t){var e=t.piece,n=new f.Group;n.onclick=p.bind(this._onItemClick,this,e),this._enableHoverLink(n,t.indexInModelPieceList);var i=r.getRepresentValue(e);if(this._createItemSymbol(n,i,[0,0,h[0],h[1]]),d){var a=this.visualMapModel.getValueState(i);n.add(new f.Text({style:{x:"right"===c?-s:h[0]+s,y:h[1]/2,text:e.text,textVerticalAlign:"middle",textAlign:c,textFont:l,textFill:u,opacity:"outOfRange"===a?.5:1}}))}o.add(n)},this),n&&this._renderEndsText(o,n[1],h,d,c),g.box(r.get("orient"),o,r.get("itemGap")),this.renderBackground(o),this.positionGroup(o)},_enableHoverLink:function(t,n){function e(t){var e=this.visualMapModel;e.option.hoverLink&&this.api.dispatchAction({type:t,batch:o.makeHighDownBatch(e.findTargetDataIndices(n),e)})}t.on("mouseover",p.bind(e,this,"highlight")).on("mouseout",p.bind(e,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return o.getItemAlign(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(t,e,n,i,a){if(e){var o=new f.Group,r=this.visualMapModel.textStyleModel;o.add(new f.Text({style:{x:i?"right"===a?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:i?a:"center",text:e,textFont:r.getFont(),textFill:r.getTextColor()}})),t.add(o)}},_getViewData:function(){var t=this.visualMapModel,e=p.map(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),n=t.get("text"),i=t.get("orient"),a=t.get("inverse");return("horizontal"===i?a:!a)?e.reverse():n=n&&n.slice().reverse(),{viewPieceList:e,endsText:n}},_createItemSymbol:function(t,e,n){t.add(a(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,n=e.option,i=p.clone(n.selected),a=e.getSelectedMapKey(t);"single"===n.selectedMode?(i[a]=!0,p.each(i,function(t,e){i[e]=e===a})):i[a]=!i[a],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}});t.exports=r},2829:function(t,e,n){n(2830),(0,n(1682).registerPainter)("vml",n(2831))},2830:function(t,e,n){var i=n(1240),F=n(1150).applyTransform,a=n(1152),E=n(1411),I=n(1319),T=n(1685),o=n(2122),r=n(1593),s=n(1548),l=n(1502),u=n(1224),c=n(1550),O=n(1687),G=n(2196),H=c.CMD,W=Math.round,j=Math.sqrt,h=Math.abs,U=Math.cos,Y=Math.sin,Z=Math.max;if(!i.canvasSupported){function q(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=$+","+$,t.coordorigin="0,0"}function N(t,e,n){return"rgb("+[t,e,n].join(",")+")"}function X(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)}function d(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function K(t,e,n){return 1e5*(parseFloat(t)||0)+1e3*(parseFloat(e)||0)+n}function R(t,e,n){var i=E.parse(e);n=+n,isNaN(n)&&(n=1),i&&(t.color=N(i[0],i[1],i[2]),t.opacity=n*i[3])}function D(t,e,n,i){var a,o,r="fill"===e,s=t.getElementsByTagName(e)[0];null!=n[e]&&"none"!==n[e]&&(r||!r&&n.lineWidth)?(t[r?"filled":"stroked"]="true",n[e]instanceof O&&d(t,s),s=s||G.createNode(e),r?function(t,e,n){var i,a,o=e.fill;if(null!=o)if(o instanceof O){var r,s=0,l=[0,0],u=0,c=1,h=n.getBoundingRect(),d=h.width,p=h.height;if("linear"===o.type){r="gradient";var f=n.transform,g=[o.x*d,o.y*p],m=[o.x2*d,o.y2*p];f&&(F(g,g,f),F(m,m,f));var v=m[0]-g[0],y=m[1]-g[1];(s=180*Math.atan2(v,y)/Math.PI)<0&&(s+=360),s<1e-6&&(s=0)}else{r="gradientradial";g=[o.x*d,o.y*p],f=n.transform;var x=n.scale,_=d,A=p;l=[(g[0]-h.x)/_,(g[1]-h.y)/A],f&&F(g,g,f),_/=x[0]*$,A/=x[1]*$;var b=Z(_,A);u=0/b,c=2*o.r/b-u}var w=o.colorStops.slice();w.sort(function(t,e){return t.offset-e.offset});for(var S=w.length,C=[],M=[],I=0;I<S;I++){var T=w[I],D=(i=T.color,a=E.parse(i),[N(a[0],a[1],a[2]),a[3]]);M.push(T.offset*c+u+" "+D[0]),0!==I&&I!==S-1||C.push(D)}if(2<=S){var k=C[0][0],P=C[1][0],L=C[0][1]*e.opacity,B=C[1][1]*e.opacity;t.type=r,t.method="none",t.focus="100%",t.angle=s,t.color=k,t.color2=P,t.colors=M.join(","),t.opacity=B,t.opacity2=L}"radial"===r&&(t.focusposition=l.join(","))}else R(t,o,e.opacity)}(s,n,i):(a=s,(o=n).lineDash&&(a.dashstyle=o.lineDash.join(" ")),null==o.stroke||o.stroke instanceof O||R(a,o.stroke,o.opacity)),X(t,s)):(t[r?"filled":"stroked"]="false",d(t,s))}var J="progid:DXImageTransform.Microsoft",$=21600,Q=10800,k=T.parsePercent,tt=[[],[],[]];u.prototype.brushVML=function(t){var e=this.style,n=this._vmlEl;n||(n=G.createNode("shape"),q(n),this._vmlEl=n),D(n,"fill",e,this),D(n,"stroke",e,this);var i=this.transform,a=null!=i,o=n.getElementsByTagName("stroke")[0];if(o){var r=e.lineWidth;if(a&&!e.strokeNoScale){var s=i[0]*i[3]-i[1]*i[2];r*=j(h(s))}o.weight=r+"px"}var l=this.path||(this.path=new c);this.__dirtyPath&&(l.beginPath(),l.subPixelOptimize=!1,this.buildPath(l,this.shape),l.toStatic(),this.__dirtyPath=!1),n.path=function(t,e){var n,i,a,o,r,s,l=H.M,u=H.C,c=H.L,h=H.A,d=H.Q,p=[],f=t.data,g=t.len();for(o=0;o<g;){switch(i="",n=0,a=f[o++]){case l:i=" m ",n=1,r=f[o++],s=f[o++],tt[0][0]=r,tt[0][1]=s;break;case c:i=" l ",n=1,r=f[o++],s=f[o++],tt[0][0]=r,tt[0][1]=s;break;case d:case u:i=" c ",n=3;var m,v,y=f[o++],x=f[o++],_=f[o++],A=f[o++];a===d?(_=((m=_)+2*y)/3,A=((v=A)+2*x)/3,y=(r+2*y)/3,x=(s+2*x)/3):(m=f[o++],v=f[o++]),tt[0][0]=y,tt[0][1]=x,tt[1][0]=_,tt[1][1]=A,r=tt[2][0]=m,s=tt[2][1]=v;break;case h:var b=0,w=0,S=1,C=1,M=0;e&&(b=e[4],w=e[5],S=j(e[0]*e[0]+e[1]*e[1]),C=j(e[2]*e[2]+e[3]*e[3]),M=Math.atan2(-e[1]/C,e[0]/S));var I=f[o++],T=f[o++],D=f[o++],k=f[o++],P=f[o++]+M,L=f[o++]+P+M;o++;var B=f[o++],E=I+U(P)*D,O=T+Y(P)*k,N=(y=I+U(L)*D,x=T+Y(L)*k,B?" wa ":" at ");Math.abs(E-y)<1e-4&&(.01<Math.abs(L-P)?B&&(E+=.0125):Math.abs(O-T)<1e-4?B&&E<I||!B&&I<E?x-=.0125:x+=.0125:B&&O<T||!B&&T<O?y+=.0125:y-=.0125),p.push(N,W(((I-D)*S+b)*$-Q),",",W(((T-k)*C+w)*$-Q),",",W(((I+D)*S+b)*$-Q),",",W(((T+k)*C+w)*$-Q),",",W((E*S+b)*$-Q),",",W((O*C+w)*$-Q),",",W((y*S+b)*$-Q),",",W((x*C+w)*$-Q)),r=y,s=x;break;case H.R:var R=tt[0],z=tt[1];R[0]=f[o++],R[1]=f[o++],z[0]=R[0]+f[o++],z[1]=R[1]+f[o++],e&&(F(R,R,e),F(z,z,e)),R[0]=W(R[0]*$-Q),z[0]=W(z[0]*$-Q),R[1]=W(R[1]*$-Q),z[1]=W(z[1]*$-Q),p.push(" m ",R[0],",",R[1]," l ",z[0],",",R[1]," l ",z[0],",",z[1]," l ",R[0],",",z[1]);break;case H.Z:p.push(" x ")}if(0<n){p.push(i);for(var V=0;V<n;V++){var G=tt[V];e&&F(G,G,e),p.push(W(G[0]*$-Q),",",W(G[1]*$-Q),V<n-1?",":"")}}}return p.join("")}(l,this.transform),n.style.zIndex=K(this.zlevel,this.z,this.z2),X(t,n),null!=e.text?this.drawRectText(t,this.getBoundingRect()):this.removeRectText(t)},u.prototype.onRemove=function(t){d(t,this._vmlEl),this.removeRectText(t)},u.prototype.onAdd=function(t){X(t,this._vmlEl),this.appendRectText(t)};s.prototype.brushVML=function(t){var e,n,i,a=this.style,o=a.image;if("object"==typeof(i=o)&&i.tagName&&"IMG"===i.tagName.toUpperCase()){var r=o.src;if(r===this._imageSrc)e=this._imageWidth,n=this._imageHeight;else{var s=o.runtimeStyle,l=s.width,u=s.height;s.width="auto",s.height="auto",e=o.width,n=o.height,s.width=l,s.height=u,this._imageSrc=r,this._imageWidth=e,this._imageHeight=n}o=r}else o===this._imageSrc&&(e=this._imageWidth,n=this._imageHeight);if(o){var c=a.x||0,h=a.y||0,d=a.width,p=a.height,f=a.sWidth,g=a.sHeight,m=a.sx||0,v=a.sy||0,y=f&&g,x=this._vmlEl;x||(x=G.doc.createElement("div"),q(x),this._vmlEl=x);var _,A=x.style,b=!1,w=1,S=1;if(this.transform&&(_=this.transform,w=j(_[0]*_[0]+_[1]*_[1]),S=j(_[2]*_[2]+_[3]*_[3]),b=_[1]||_[2]),b){var C=[c,h],M=[c+d,h],I=[c,h+p],T=[c+d,h+p];F(C,C,_),F(M,M,_),F(I,I,_),F(T,T,_);var D=Z(C[0],M[0],I[0],T[0]),k=Z(C[1],M[1],I[1],T[1]),P=[];P.push("M11=",_[0]/w,",","M12=",_[2]/S,",","M21=",_[1]/w,",","M22=",_[3]/S,",","Dx=",W(c*w+_[4]),",","Dy=",W(h*S+_[5])),A.padding="0 "+W(D)+"px "+W(k)+"px 0",A.filter=J+".Matrix("+P.join("")+", SizingMethod=clip)"}else _&&(c=c*w+_[4],h=h*S+_[5]),A.filter="",A.left=W(c)+"px",A.top=W(h)+"px";var L=this._imageEl,B=this._cropEl;L||(L=G.doc.createElement("div"),this._imageEl=L);var E=L.style;if(y){if(e&&n)E.width=W(w*e*d/f)+"px",E.height=W(S*n*p/g)+"px";else{var O=new Image,N=this;O.onload=function(){O.onload=null,e=O.width,n=O.height,E.width=W(w*e*d/f)+"px",E.height=W(S*n*p/g)+"px",N._imageWidth=e,N._imageHeight=n,N._imageSrc=o},O.src=o}B||((B=G.doc.createElement("div")).style.overflow="hidden",this._cropEl=B);var R=B.style;R.width=W((d+m*d/f)*w),R.height=W((p+v*p/g)*S),R.filter=J+".Matrix(Dx="+-m*d/f*w+",Dy="+-v*p/g*S+")",B.parentNode||x.appendChild(B),L.parentNode!==B&&B.appendChild(L)}else E.width=W(w*d)+"px",E.height=W(S*p)+"px",x.appendChild(L),B&&B.parentNode&&(x.removeChild(B),this._cropEl=null);var z="",V=a.opacity;V<1&&(z+=".Alpha(opacity="+W(100*V)+") "),z+=J+".AlphaImageLoader(src="+o+", SizingMethod=scale)",E.filter=z,x.style.zIndex=K(this.zlevel,this.z,this.z2),X(t,x),null!=a.text&&this.drawRectText(t,this.getBoundingRect())}},s.prototype.onRemove=function(t){d(t,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(t)},s.prototype.onAdd=function(t){X(t,this._vmlEl),this.appendRectText(t)};var p,P="normal",L={},B=0,z=document.createElement("div");I.$override("measureText",function(t,e){var n=G.doc;p||((p=n.createElement("div")).style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",G.doc.body.appendChild(p));try{p.style.font=e}catch(t){}return p.innerHTML="",p.appendChild(n.createTextNode(t)),{width:p.offsetWidth}});function f(t,e,n,i){var a=this.style;this.__dirty&&T.normalizeTextStyle(a,!0);var o=a.text;if(null!=o&&(o+=""),o){if(a.rich){var r=I.parseRichText(o,a);o=[];for(var s=0;s<r.lines.length;s++){for(var l=r.lines[s].tokens,u=[],c=0;c<l.length;c++)u.push(l[c].text);o.push(u.join(""))}o=o.join("\n")}var h,d,p=a.textAlign,f=a.textVerticalAlign,g=function(t){var e=L[t];if(!e){100<B&&(B=0,L={});var n,i=z.style;try{i.font=t,n=i.fontFamily.split(",")[0]}catch(t){}e={style:i.fontStyle||P,variant:i.fontVariant||P,weight:i.fontWeight||P,size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},L[t]=e,B++}return e}(a.font),m=g.style+" "+g.variant+" "+g.weight+" "+g.size+'px "'+g.family+'"';n=n||I.getBoundingRect(o,m,p,f,a.textPadding,a.textLineHeight);var v=this.transform;if(v&&!i&&(V.copy(e),V.applyTransform(v),e=V),i)h=e.x,d=e.y;else{var y=a.textPosition;if(y instanceof Array)h=e.x+k(y[0],e.width),d=e.y+k(y[1],e.height),p=p||"left";else{var x=this.calculateTextPosition?this.calculateTextPosition({},a,e):I.calculateTextPosition({},a,e);h=x.x,d=x.y,p=p||x.textAlign,f=f||x.textVerticalAlign}}h=I.adjustTextX(h,n.width,p),d=I.adjustTextY(d,n.height,f),d+=n.height/2;var _,A,b,w=G.createNode,S=this._textVmlEl;S?A=(_=(b=S.firstChild).nextSibling).nextSibling:(S=w("line"),_=w("path"),A=w("textpath"),b=w("skew"),A.style["v-text-align"]="left",q(S),_.textpathok=!0,A.on=!0,S.from="0 0",S.to="1000 0.05",X(S,b),X(S,_),X(S,A),this._textVmlEl=S);var C=[h,d],M=S.style;v&&i?(F(C,C,v),b.on=!0,b.matrix=v[0].toFixed(3)+","+v[2].toFixed(3)+","+v[1].toFixed(3)+","+v[3].toFixed(3)+",0,0",b.offset=(W(C[0])||0)+","+(W(C[1])||0),b.origin="0 0",M.left="0px",M.top="0px"):(b.on=!1,M.left=W(h)+"px",M.top=W(d)+"px"),A.string=String(o).replace(/&/g,"&amp;").replace(/"/g,"&quot;");try{A.style.font=m}catch(t){}D(S,"fill",{fill:a.textFill,opacity:a.opacity},this),D(S,"stroke",{stroke:a.textStroke,opacity:a.opacity,lineDash:a.lineDash||null},this),S.style.zIndex=K(this.zlevel,this.z,this.z2),X(t,S)}}function g(t){d(t,this._textVmlEl),this._textVmlEl=null}function m(t){X(t,this._textVmlEl)}for(var V=new a,v=[o,r,s,u,l],y=0;y<v.length;y++){var x=v[y].prototype;x.drawRectText=f,x.removeRectText=g,x.appendRectText=m}l.prototype.brushVML=function(t){var e=this.style;null!=e.text?this.drawRectText(t,{x:e.x||0,y:e.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(t)},l.prototype.onRemove=function(t){this.removeRectText(t)},l.prototype.onAdd=function(t){this.appendRectText(t)}}},2831:function(t,e,n){var i=n(1592),r=n(2196),a=n(768).each;function o(t){return parseInt(t,10)}function s(t,e){r.initVML(),this.root=t,this.storage=e;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;",t.appendChild(n),this._vmlRoot=i,this._vmlViewport=n,this.resize();var a=e.delFromStorage,o=e.addToStorage;e.delFromStorage=function(t){a.call(e,t),t&&t.onRemove&&t.onRemove(i)},e.addToStorage=function(t){t.onAdd&&t.onAdd(i),o.call(e,t)},this._firstPaint=!0}s.prototype={constructor:s,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var e=this._vmlRoot,n=0;n<t.length;n++){var i=t[n];i.invisible||i.ignore?(i.__alreadyNotVisible||i.onRemove(e),i.__alreadyNotVisible=!0):(i.__alreadyNotVisible&&i.onAdd(e),i.__alreadyNotVisible=!1,i.__dirty&&(i.beforeBrush&&i.beforeBrush(),(i.brushVML||i.brush).call(i,e),i.afterBrush&&i.afterBrush())),i.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(e),this._firstPaint=!1)},resize:function(t,e){t=null==t?this._getWidth():t,e=null==e?this._getHeight():e;if(this._width!==t||this._height!==e){this._width=t,this._height=e;var n=this._vmlViewport.style;n.width=t+"px",n.height=e+"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 t=this.root,e=t.currentStyle;return(t.clientWidth||o(e.width))-o(e.paddingLeft)-o(e.paddingRight)|0},_getHeight:function(){var t=this.root,e=t.currentStyle;return(t.clientHeight||o(e.height))-o(e.paddingTop)-o(e.paddingBottom)|0}},a(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){var e;s.prototype[t]=(e=t,function(){i('In IE8.0 VML mode painter not support method "'+e+'"')})});var l=s;t.exports=l},2832:function(t,e,n){n(1831),(0,n(1682).registerPainter)("svg",n(2833))},2833:function(t,e,n){var r=n(1832).createElement,s=n(768),i=n(1592),g=n(1224),m=n(1548),v=n(1502),y=n(2834),l=n(2835),u=n(2836),c=n(2837),a=n(1831),x=a.path,_=a.image,A=a.text;function h(t){return parseInt(t,10)}function o(t,e){return e&&t&&e.parentNode!==t}function b(t,e,n){if(o(t,e)&&n){var i=n.nextSibling;i?t.insertBefore(e,i):t.appendChild(e)}}function w(t,e){if(o(t,e)){var n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}}function S(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function C(t){return t.__textSvgEl}function M(t){return t.__svgEl}function d(t,e,n,i){this.root=t,this.storage=e,this._opts=n=s.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 l(i,a),this.clipPathManager=new u(i,a),this.shadowManager=new c(i,a);var o=document.createElement("div");o.style.cssText="overflow:hidden;position:relative",this._svgRoot=a,this._viewport=o,t.appendChild(o),o.appendChild(a),this.resize(n.width,n.height),this._visibleList=[]}d.prototype={constructor:d,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._viewport.style.background=t},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var e,n,i=this._svgRoot,a=this._visibleList,o=t.length,r=[];for(e=0;e<o;e++){var s=t[e],l=(n=s)instanceof g?x:n instanceof m?_:n instanceof v?A:x,u=M(s)||C(s);s.invisible||(s.__dirty&&(l&&l.brush(s),this.clipPathManager.update(s),s.style&&(this.gradientManager.update(s.style.fill),this.gradientManager.update(s.style.stroke),this.shadowManager.update(u,s)),s.__dirty=!1),r.push(s))}var c,h=y(a,r);for(e=0;e<h.length;e++){if((f=h[e]).removed)for(var d=0;d<f.count;d++){u=M(s=a[f.indices[d]]);var p=C(s);S(i,u),S(i,p)}}for(e=0;e<h.length;e++){var f;if((f=h[e]).added)for(d=0;d<f.count;d++){u=M(s=r[f.indices[d]]),p=C(s);c?b(i,u,c):w(i,u),u?b(i,p,u):c?b(i,p,c):w(i,p),b(i,p,u),c=p||u||c,this.gradientManager.addWithoutUpdate(u||p,s),this.shadowManager.addWithoutUpdate(u||p,s),this.clipPathManager.markUsed(s)}else if(!f.removed)for(d=0;d<f.count;d++){c=C(s=r[f.indices[d]])||M(s)||c;u=M(s),p=C(s);this.gradientManager.markUsed(s),this.gradientManager.addWithoutUpdate(u||p,s),this.shadowManager.markUsed(s),this.shadowManager.addWithoutUpdate(u||p,s),this.clipPathManager.markUsed(s)}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=r},_getDefs:function(t){var i,e=this._svgRoot;return 0!==(i=this._svgRoot.getElementsByTagName("defs")).length?i[0]:t?((i=e.insertBefore(r("defs"),e.firstChild)).contains||(i.contains=function(t){var e=i.children;if(!e)return!1;for(var n=e.length-1;0<=n;--n)if(e[n]===t)return!0;return!1}),i):null},resize:function(t,e){var n=this._viewport;n.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var a=n.style;a.width=t+"px",a.height=e+"px";var o=this._svgRoot;o.setAttribute("width",t),o.setAttribute("height",e)}},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],i=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var r=this.root,s=document.defaultView.getComputedStyle(r);return(r[i]||h(s[n])||h(r.style[n]))-(h(s[a])||0)-(h(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(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+this._svgRoot.outerHTML}},s.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){var e;d.prototype[t]=(e=t,function(){i('In SVG mode painter not support method "'+e+'"')})});var p=d;t.exports=p},2834:function(t,e){function n(){}function g(t,e){for(var n=0,i=e.length,a=0,o=0;n<i;n++){var r=e[n];if(r.removed){for(s=[],l=o;l<o+r.count;l++)s.push(l);r.indices=s,o+=r.count}else{for(var s=[],l=a;l<a+r.count;l++)s.push(l);r.indices=s,a+=r.count,r.added||(o+=r.count)}}return e}n.prototype={diff:function(l,u,t){t=t||function(t,e){return t===e},this.equals=t;var c=this;l=l.slice();var h=(u=u.slice()).length,d=l.length,p=1,e=h+d,f=[{newPos:-1,components:[]}],n=this.extractCommon(f[0],u,l,0);if(f[0].newPos+1>=h&&d<=n+1){for(var i=[],a=0;a<u.length;a++)i.push(a);return[{indices:i,count:u.length}]}function o(){for(var t=-1*p;t<=p;t+=2){var e,n=f[t-1],i=f[t+1],a=(i?i.newPos:0)-t;n&&(f[t-1]=void 0);var o=n&&n.newPos+1<h,r=i&&0<=a&&a<d;if(o||r){if(!o||r&&n.newPos<i.newPos?(e={newPos:(s=i).newPos,components:s.components.slice(0)},c.pushComponent(e.components,void 0,!0)):((e=n).newPos++,c.pushComponent(e.components,!0,void 0)),a=c.extractCommon(e,u,l,t),e.newPos+1>=h&&d<=a+1)return g(c,e.components,u,l);f[t]=e}else f[t]=void 0}var s;p++}for(;p<=e;){var r=o();if(r)return r}},pushComponent:function(t,e,n){var i=t[t.length-1];i&&i.added===e&&i.removed===n?t[t.length-1]={count:i.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,i){for(var a=e.length,o=n.length,r=t.newPos,s=r-i,l=0;r+1<a&&s+1<o&&this.equals(e[r+1],n[s+1]);)r++,s++,l++;return l&&t.components.push({count:l}),t.newPos=r,s},tokenize:function(t){return t.slice()},join:function(t){return t.slice()}};var i=new n;t.exports=function(t,e,n){return i.diff(t,e,n)}},2835:function(t,e,n){var a=n(1833),i=n(768),u=n(1592),c=n(1411);function o(t,e){a.call(this,t,e,["linearGradient","radialGradient"],"__gradient_in_use__")}i.inherits(o,a),o.prototype.addWithoutUpdate=function(o,r){if(r&&r.style){var s=this;i.each(["fill","stroke"],function(t){if(r.style[t]&&("linear"===r.style[t].type||"radial"===r.style[t].type)){var e,n=r.style[t],i=s.getDefs(!0);n._dom?(e=n._dom,i.contains(n._dom)||s.addDom(e)):e=s.add(n),s.markUsed(r);var a=e.getAttribute("id");o.setAttribute(t,"url(#"+a+")")}})}},o.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return u("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},o.prototype.update=function(n){var i=this;a.prototype.update.call(this,n,function(){var t=n.type,e=n._dom.tagName;"linear"===t&&"linearGradient"===e||"radial"===t&&"radialGradient"===e?i.updateDom(n,n._dom):(i.removeDom(n),i.add(n))})},o.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void u("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var n=t.colorStops,i=0,a=n.length;i<a;++i){var o=this.createElement("stop");o.setAttribute("offset",100*n[i].offset+"%");var r=n[i].color;if(r.indexOf(!1)){var s=c.parse(r)[3],l=c.toHex(r);o.setAttribute("stop-color","#"+l),o.setAttribute("stop-opacity",s)}else o.setAttribute("stop-color",n[i].color);e.appendChild(o)}t._dom=e},o.prototype.markUsed=function(t){if(t.style){var e=t.style.fill;e&&e._dom&&a.prototype.markUsed.call(this,e._dom),(e=t.style.stroke)&&e._dom&&a.prototype.markUsed.call(this,e._dom)}};var r=o;t.exports=r},2836:function(t,e,n){var i=n(1833),a=n(768),h=n(1284);function o(t,e){i.call(this,t,e,"clipPath","__clippath_in_use__")}a.inherits(o,i),o.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var n=this.getTextSvgElement(t);n&&this.updateDom(n,t.__clipPaths,!0),this.markUsed(t)},o.prototype.updateDom=function(t,e,n){if(e&&0<e.length){var i,a,o=this.getDefs(!0),r=e[0],s=n?"_textDom":"_dom";r[s]?(a=r[s].getAttribute("id"),i=r[s],o.contains(i)||o.appendChild(i)):(a="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(i=this.createElement("clipPath")).setAttribute("id",a),o.appendChild(i),r[s]=i);var l=this.getSvgProxy(r);if(r.transform&&r.parent.invTransform&&!n){var u=Array.prototype.slice.call(r.transform);h.mul(r.transform,r.parent.invTransform,r.transform),l.brush(r),r.transform=u}else l.brush(r);var c=this.getSvgElement(r);i.innerHTML="",i.appendChild(c.cloneNode()),t.setAttribute("clip-path","url(#"+a+")"),1<e.length&&this.updateDom(i,e.slice(1),n)}else t&&t.setAttribute("clip-path","none")},o.prototype.markUsed=function(t){var e=this;t.__clipPaths&&a.each(t.__clipPaths,function(t){t._dom&&i.prototype.markUsed.call(e,t._dom),t._textDom&&i.prototype.markUsed.call(e,t._textDom)})};var r=o;t.exports=r},2837:function(t,e,n){var i=n(1833);function a(t,e){i.call(this,t,e,["filter"],"__filter_in_use__","_shadowDom")}function o(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}n(768).inherits(a,i),a.prototype.addWithoutUpdate=function(t,e){if(e&&o(e.style)){var n;if(e._shadowDom)n=e._shadowDom,this.getDefs(!0).contains(e._shadowDom)||this.addDom(n);else n=this.add(e);this.markUsed(e);var i=n.getAttribute("id");t.style.filter="url(#"+i+")"}},a.prototype.add=function(t){var e=this.createElement("filter");return t._shadowDomId=t._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+t._shadowDomId),this.updateDom(t,e),this.addDom(e),e},a.prototype.update=function(t,e){if(o(e.style)){var n=this;i.prototype.update.call(this,e,function(){n.updateDom(e,e._shadowDom)})}else this.remove(t,e)},a.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(t),t.style.filter="")},a.prototype.updateDom=function(t,e){var n=e.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var i,a,o,r,s=t.style,l=t.scale&&t.scale[0]||1,u=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)i=s.shadowOffsetX||0,a=s.shadowOffsetY||0,o=s.shadowBlur,r=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);i=s.textShadowOffsetX||0,a=s.textShadowOffsetY||0,o=s.textShadowBlur,r=s.textShadowColor}n.setAttribute("dx",i/l),n.setAttribute("dy",a/u),n.setAttribute("flood-color",r);var c=o/2/l+" "+o/2/u;n.setAttribute("stdDeviation",c),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(o/2*200)+"%"),e.setAttribute("height",Math.ceil(o/2*200)+"%"),e.appendChild(n),t._shadowDom=e},a.prototype.markUsed=function(t){t._shadowDom&&i.prototype.markUsed.call(this,t._shadowDom)};var r=a;t.exports=r},3755:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),l=n.n(i),u=n(3756),c=n(3757),h=n(3758),a=n(1562),o=(n.n(a),function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t});function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}window.$;var s=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(d,i.Component),o(d,[{key:"render",value:function(){var t=this,e=this.state,n=e.tabs,i=e.course_count,a=e.learn_count,o=e.school_total_count,r=e.subject_name,s=e.subject_id;return l.a.createElement("div",{className:"newContainer"},l.a.createElement("div",{className:"newMain clearfix"},l.a.createElement("div",{className:"subject_statistics_top"},l.a.createElement("a",{href:"/paths/"+s},l.a.createElement("p",{className:"color-blue font-32 edu-txt-center pt50"},r)),l.a.createElement("div",{className:"statistics_position edu-txt-center"},l.a.createElement("ul",{className:"clearfix inline count_ul"},l.a.createElement("li",null,l.a.createElement("span",null,"学员人数"),l.a.createElement("span",null,a)),l.a.createElement("li",null,l.a.createElement("span",null,"受用课堂"),l.a.createElement("span",null,i)),l.a.createElement("li",null,l.a.createElement("span",null,"受用院校"),l.a.createElement("span",null,o))))),l.a.createElement("div",{className:"mb30 clearfix pl0 edu-back-white edu-txt-center statisticsNav"},l.a.createElement("ul",{className:"inline"},l.a.createElement("li",{className:1===n?"active":"",onClick:function(){return t.changeTab(1)}},l.a.createElement("a",{href:"javascript:void(0)"},"课堂使用")),l.a.createElement("li",{className:2===n?"active":"",onClick:function(){return t.changeTab(2)}},l.a.createElement("a",{href:"javascript:void(0)"},"实训使用")),l.a.createElement("li",{className:3===n?"active":"",onClick:function(){return t.changeTab(3)}},l.a.createElement("a",{href:"javascript:void(0)"},"院校学习")))),l.a.createElement("div",{className:"educontent"},l.a.createElement("div",{id:"statistics_info",className:"clearfix mb30"},1===n&&l.a.createElement(u.a,Object.assign({},this.props,{initBannerData:this.initBannerData})),2===n&&l.a.createElement(c.a,this.props),3===n&&l.a.createElement(h.a,this.props)))))}}]),d);function d(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,t));return n.changeTab=function(t){var e=parseInt(t);n.setState({tabs:e})},n.initBannerData=function(t){n.setState(Object.assign({},t))},n.state={tabs:1},n}e.default=s},3756:function(t,e,n){"use strict";var i=n(797),a=(n.n(i),n(798)),o=n.n(a),r=n(0),s=n.n(r),l=n(12),u=n.n(l),c=function(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),t};function h(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}window.$;var d=n(2114);var p=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(f,r.Component),c(f,[{key:"componentDidMount",value:function(){var t=this.state.page;this.getData(t)}},{key:"render",value:function(){var t=this.state,e=t.schools,n=(t.stage_info,t.page),i=t.total;return s.a.createElement("div",{className:"clearfix panelForm-1"},s.a.createElement("div",{className:"with60 pr40 fl"},s.a.createElement("div",{className:"static_shadow edu-back-white"},s.a.createElement("p",{className:"padding30-20 clearfix"},s.a.createElement("span",{className:"font-24 fl"},"课堂使用概况"),s.a.createElement("span",{className:"fr color-grey-9"},"共",i,"条记录")),s.a.createElement("div",{className:"minH-440"},s.a.createElement("table",{className:"edu-pop-table head-color edu-txt-center bor-top-greyE",cellSpacing:"0",cellPadding:"0"},s.a.createElement("thead",null,s.a.createElement("tr",null,s.a.createElement("th",null,"序号"),s.a.createElement("th",{className:"edu-txt-left",width:"35%"},"所属院校"),s.a.createElement("th",null,"课堂"),s.a.createElement("th",null,"学生"),s.a.createElement("th",null,"选用实训"))),s.a.createElement("tbody",null,e&&e.map(function(t,e){return s.a.createElement("tr",null,s.a.createElement("td",null,e+1),s.a.createElement("td",{className:"edu-txt-left task-hide",style:{maxWidth:"238px"}},t.name),s.a.createElement("td",null,t.course_count),s.a.createElement("td",null,t.student_count),s.a.createElement("td",null,s.a.createElement("span",{className:"color-blue mr3"},t.homework_count),"次"))})))),s.a.createElement("div",{className:"pt35 edu-txt-center",style:{height:"102px"}},10<i&&s.a.createElement(o.a,{showQuickJumper:!0,defaultCurrent:n,pageSize:10,total:i,onChange:this.onChange})))),s.a.createElement("div",{className:"with40 fl static_shadow edu-back-white"},s.a.createElement("p",{className:"font-24 padding30-20"},"章节使用情况"),s.a.createElement("div",{id:"chapterUsageSituation",style:{width:"480px",height:"542px"}})))}}]),f);function f(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f);var s=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,t));return s.onChange=function(t){s.setState({page:t}),s.getData(t)},s.getData=function(t){var e="/paths/"+s.props.match.params.pathId+"/statistics.json?page="+t;u.a.get(e,{}).then(function(t){if(404!=t.data.status){s.setState(Object.assign({},t.data)),function(t){var e=d.init(document.getElementById("chapterUsageSituation"));e.showLoading({text:"数据获取中",effect:"whirling"});var n=["#49A9EE","#FFD86E","#98D87D","#8996E6","#F3857B","#B97BF3","#4DE8B4","#f76d0c","#510cf7","#def70c","#3bf70c","#0cf7e1"],i={title:{show:!1},tooltip:{trigger:"item",formatter:"{d}%"},legend:{bottom:30,data:["第1章","第2章","第3章","第4章","第5章"],selectedMode:!1},series:[{name:"使用情况",type:"pie",radius:"50%",center:["50%","40%"],selectedMode:"single",label:{normal:{formatter:" {b|{b}} ",backgroundColor:"#eee",borderColor:"#aaa",borderWidth:1,borderRadius:4,rich:{a:{color:"#999",lineHeight:22,align:"center"},hr:{borderColor:"#aaa",width:"100%",borderWidth:.5,height:0},b:{fontSize:16,lineHeight:33},per:{color:"#eee",backgroundColor:"#334455",padding:[2,4],borderRadius:2}}}},data:t,itemStyle:{emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"},normal:{show:!0,color:function(t){return n[t.dataIndex]}}}}]};setTimeout(function(){e.setOption(i),e.hideLoading()},1e3)}(t.data.stage_info.map(function(t,e){return{value:t.value,name:t.stage_no}}));var e=t.data,n=e.course_count,i=e.learn_count,a=e.school_total_count,o=e.subject_name,r=e.subject_id;s.props.initBannerData({course_count:n,learn_count:i,school_total_count:a,subject_name:o,subject_id:r}),s.setState({total:t.data.school_total_count})}else s.props.showSnackbar("未找到对应数据,请查看地址是否正确。")}).catch(function(t){console.log(t)})},s.state={page:1,total:void 0},s}e.a=p},3757:function(t,e,n){"use strict";var i=n(0),a=n.n(i),o=n(12),l=n.n(o),r=function(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t};function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}window.$;var h=n(2114);var u=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(c,i.Component),r(c,[{key:"componentDidMount",value:function(){var r=this,t=this.props.match.params.pathId,s=h.init(document.getElementById("showloding"));s.showLoading({text:"数据获取中",effect:"whirling"});var e="/paths/"+t+"/shixun_report.json";l.a.get(e,{}).then(function(t){if(404!=t.data.status){var n=[],i=[],a=[],o={};t.data.shixun_lists.forEach(function(t,e){t.forEach(function(t,e){a.push(t),n.push(t.number),i.push(t.member_count),o[t.number]=t})}),r.setState({shixunList:a});var e=h.init(document.getElementById("shixunStudyStatistics"));e.showLoading({text:"数据获取中",effect:"whirling"}),setTimeout(function(){!function(t,e,n,i){for(var a=t,o=e,r=[],s=[],l=[],u=0;u<o.length;u++)r.push(Math.max.apply(Math,o)+5e3),l.push({coord:[Number(o[u])-1,u]}),s.push({coord:[Math.max.apply(Math,o)+5e3,u]});var c={backgroundColor:"#fff",title:{text:""},legend:null,tooltip:{trigger:"axis",axisPointer:{type:"none"},formatter:function(t){return t[0].name+":"+(n[t[0].name]&&n[t[0].name].shixun_name)+"<br/>学习人数: "+t[0].value}},grid:{containLabel:!0,left:"30px",top:"0",bottom:"10px"},yAxis:[{data:a,inverse:!0,axisLine:{show:!1},axisTick:{show:!1},axisLabel:{margin:10,textStyle:{fontSize:12,color:"#747A7F"},formatter:function(t){return"{Sunny|"+t+"}"},rich:{value:{lineHeight:20},Sunny:{height:25,padding:[0,8,0,8],align:"center",backgroundColor:"#fff"}}}},{data:a,inverse:!0,axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!1}}],xAxis:[{type:"value",splitLine:{show:!1},axisLabel:{show:!1},axisTick:{show:!1},axisLine:{show:!1}},{type:"value",splitLine:{show:!1},axisLabel:{show:!1},axisTick:{show:!1},axisLine:{show:!1}}],series:[{z:10,xAxisIndex:0,yAxisIndex:0,name:"",type:"pictorialBar",data:o,barCategoryGap:"90%",label:{normal:{show:!0,position:"inside",textStyle:{fontSize:12,color:"#666"}}},symbolRepeat:!1,symbolSize:["100%",25],symbolOffset:[-16.5,0],itemStyle:{normal:{color:new h.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#FFD86E"}],!1),borderRadius:"10"}},symbolClip:!0,symbolPosition:"end",symbol:"rect"}]};i.setOption(c)}(n,i,o,e),s.hideLoading(),e.hideLoading()},1e3)}else r.props.showSnackbar("未找到对应数据,请查看地址是否正确。")}).catch(function(t){console.log(t)})}},{key:"render",value:function(){var t=this.state.shixunList;return a.a.createElement("div",{className:"clearfix panelForm-2"},a.a.createElement("div",{className:"with60 pr40 fl"},a.a.createElement("div",{className:"static_shadow edu-back-white"},a.a.createElement("div",{className:"font-24 padding30-20"},"实训使用详情"),a.a.createElement("div",{className:"minH-440",id:"tableHeight"},a.a.createElement("table",{className:"edu-pop-table head-color edu-txt-center bor-top-greyE",cellSpacing:"0",cellPadding:"0"},a.a.createElement("thead",null,a.a.createElement("tr",null,a.a.createElement("th",null,"章节"),a.a.createElement("th",{className:"edu-txt-left",width:"40%"},"实训名称"),a.a.createElement("th",null,"学习人数"),a.a.createElement("th",null,"受用院校"))),a.a.createElement("tbody",null,t&&t.map(function(t,e){return a.a.createElement("tr",null,a.a.createElement("td",null,t.number),a.a.createElement("td",{className:"edu-txt-left task-hide",style:{maxWidth:"272px"}},t.shixun_name),a.a.createElement("td",null,t.member_count),a.a.createElement("td",{className:"color-blue"},t.school_count))})))))),a.a.createElement("div",{className:"with40 fl static_shadow edu-back-white"},a.a.createElement("style",null,"\n\t\t\t\t\t\t\t .padding23-20{\n\t\t\t\t\t\t\t padding: 23px 20px;\n\t\t\t\t\t\t\t box-sizing: border-box;\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t"),a.a.createElement("div",{className:"font-24 padding23-20"},"实训学习统计"),void 0===t?a.a.createElement("div",{id:"showloding",style:{width:"480px",height:"440px"}}):"",void 0===t?"":a.a.createElement("div",{id:"shixunStudyStatistics",style:{width:"480px",minHeight:(t&&50*t.length)+"px"}})))}}]),c);function c(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var e=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,t));return e.state={},e}e.a=u},3758:function(t,e,n){"use strict";var i=n(0),a=n.n(i),o=n(12),r=n.n(o),s=function(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),t};function l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}window.$;var u=n(2114);function c(t,e){var i=t,n=i.map(function(t){return t.name}),a=[{key:"学习人数",color:"#29BD8B"},{key:"已通关",color:"#FF954C"},{key:"未通关",color:"#CBCBCB"}];i.forEach(function(e){var n=0;a.forEach(function(t){n+=e[t.key]||0}),e.sum=n}),i.sort(function(t,e){return t.sum-e.sum});var o=n.reverse(),r=a.map(function(e,t){var n=i.map(function(t){return t[e.key]});return{type:"bar",name:e.key,data:n,stack:"all",xAxisIndex:1,yAxisIndex:1,label:{normal:{color:"#FFF",show:!0,position:"inside"}},itemStyle:{normal:{color:e.color}}}}),s={backgroundColor:"#fff",tooltip:{trigger:"axis",axisPointer:{type:""}},legend:{data:["学习人数","已通关","未通关"],textStyle:{color:"#05101A"},right:"20px",selectedMode:!1},grid:[{right:"56%",top:"20",containLabel:!0},{left:"45%",width:"100%",top:"20",containLabel:!0}],xAxis:[{type:"value",inverse:!0,splitLine:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},axisTick:{show:!1}},{type:"value",gridIndex:1,splitLine:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},axisTick:{show:!1}}],yAxis:[{type:"category",data:o,max:10,axisLine:{show:!1},axisLabel:{show:!1},axisTick:{show:!1}},{type:"category",data:o,max:10,gridIndex:1,axisLine:{show:!1},axisTick:{show:!1}}],series:[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(r),[{name:"总计",type:"bar",data:i.map(function(t){return t.sum}),xAxisIndex:1,yAxisIndex:1,barCategoryGap:"40%",stack:"all",label:{normal:{show:!0,position:"inside",color:"#666"}},itemStyle:{normal:{color:"#fff"}}},{type:"bar",data:i.map(function(t){return t.sum}),barCategoryGap:"40%",label:{normal:{show:!0,position:"left",color:"#29BD8B"}},itemStyle:{normal:{color:"#29BD8B"}}}])};e.setOption(s)}var h=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(d,i.Component),s(d,[{key:"componentDidMount",value:function(){var e=this,t=this.props.match.params.pathId,n=u.init(document.getElementById("collegeStatistic"));n.showLoading({text:"数据获取中",effect:"whirling"});var i="/paths/"+t+"/school_report.json";r.a.get(i,{}).then(function(t){404!=t.data.status?(e.setState(Object.assign({},t.data)),c(t.data.schools.map(function(t,e){return{name:t.name,sum:t.student_count,"已通关":t.pass_count,"未通关":t.unpass_count}}),n),n.hideLoading()):e.props.showSnackbar("未找到对应数据,请查看地址是否正确。")}).catch(function(t){console.log(t)})}},{key:"render",value:function(){return a.a.createElement("div",{className:"clearfix mb30 static_shadow edu-back-white panelForm panelForm-3"},a.a.createElement("div",{className:"font-24 padding30-20"},"院校学习情况"),a.a.createElement("div",{id:"collegeStatistic",style:{width:"1200px",height:"540px"}}))}}]),d);function d(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,t))}e.a=h},768:function(t,e){var s={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},l={"[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},u=Object.prototype.toString,n=Array.prototype,r=n.forEach,c=n.filter,i=n.slice,h=n.map,d=n.reduce,a={};function p(t){if(null==t||"object"!=typeof t)return t;var e=t,n=u.call(t);if("[object Array]"===n){if(!S(t)){e=[];for(var i=0,a=t.length;i<a;i++)e[i]=p(t[i])}}else if(l[n]){if(!S(t)){var o=t.constructor;if(t.constructor.from)e=o.from(t);else{e=new o(t.length);for(i=0,a=t.length;i<a;i++)e[i]=p(t[i])}}}else if(!s[n]&&!S(t)&&!b(t))for(var r in e={},t)t.hasOwnProperty(r)&&(e[r]=p(t[r]));return e}function f(t,e,n){if(!_(e)||!_(t))return n?p(e):t;for(var i in e)if(e.hasOwnProperty(i)){var a=t[i],o=e[i];!_(o)||!_(a)||x(o)||x(a)||b(o)||b(a)||A(o)||A(a)||S(o)||S(a)?!n&&i in t||(t[i]=p(e[i])):f(a,o,n)}return t}function o(t,e,n){for(var i in e)e.hasOwnProperty(i)&&(n?null!=e[i]:null==t[i])&&(t[i]=e[i]);return t}function g(){return a.createCanvas()}var m;function v(t,e,n){if(t&&e)if(t.forEach&&t.forEach===r)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,a=t.length;i<a;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function y(t,e){var n=i.call(arguments,2);return function(){return t.apply(e,n.concat(i.call(arguments)))}}function x(t){return"[object Array]"===u.call(t)}function _(t){var e=typeof t;return"function"==e||!!t&&"object"==e}function A(t){return!!s[u.call(t)]}function b(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}a.createCanvas=function(){return document.createElement("canvas")};var w="__ec_primitive__";function S(t){return t[w]}function C(t){var n=x(t);this.data={};var i=this;function e(t,e){n?i.set(t,e):i.set(e,t)}t instanceof C?t.each(e):t&&v(t,e)}C.prototype={constructor:C,get:function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},set:function(t,e){return this.data[t]=e},each:function(t,e){for(var n in void 0!==e&&(t=y(t,e)),this.data)this.data.hasOwnProperty(n)&&t(this.data[n],n)},removeKey:function(t){delete this.data[t]}},e.$override=function(t,e){"createCanvas"===t&&(m=null),a[t]=e},e.clone=p,e.merge=f,e.mergeAll=function(t,e){for(var n=t[0],i=1,a=t.length;i<a;i++)n=f(n,t[i],e);return n},e.extend=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},e.defaults=o,e.createCanvas=g,e.getContext=function(){return m=m||g().getContext("2d")},e.indexOf=function(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1},e.inherits=function(t,e){var n=t.prototype;function i(){}for(var a in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(a)&&(t.prototype[a]=n[a]);(t.prototype.constructor=t).superClass=e},e.mixin=function(t,e,n){o(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,n)},e.isArrayLike=function(t){if(t)return"string"!=typeof t&&"number"==typeof t.length},e.each=v,e.map=function(t,e,n){if(t&&e){if(t.map&&t.map===h)return t.map(e,n);for(var i=[],a=0,o=t.length;a<o;a++)i.push(e.call(n,t[a],a,t));return i}},e.reduce=function(t,e,n,i){if(t&&e){if(t.reduce&&t.reduce===d)return t.reduce(e,n,i);for(var a=0,o=t.length;a<o;a++)n=e.call(i,n,t[a],a,t);return n}},e.filter=function(t,e,n){if(t&&e){if(t.filter&&t.filter===c)return t.filter(e,n);for(var i=[],a=0,o=t.length;a<o;a++)e.call(n,t[a],a,t)&&i.push(t[a]);return i}},e.find=function(t,e,n){if(t&&e)for(var i=0,a=t.length;i<a;i++)if(e.call(n,t[i],i,t))return t[i]},e.bind=y,e.curry=function(t){var e=i.call(arguments,1);return function(){return t.apply(this,e.concat(i.call(arguments)))}},e.isArray=x,e.isFunction=function(t){return"function"==typeof t},e.isString=function(t){return"[object String]"===u.call(t)},e.isObject=_,e.isBuiltInObject=A,e.isTypedArray=function(t){return!!l[u.call(t)]},e.isDom=b,e.eqNaN=function(t){return t!=t},e.retrieve=function(t){for(var e=0,n=arguments.length;e<n;e++)if(null!=arguments[e])return arguments[e]},e.retrieve2=function(t,e){return null!=t?t:e},e.retrieve3=function(t,e,n){return null!=t?t:null!=e?e:n},e.slice=function(){return Function.call.apply(i,arguments)},e.normalizeCssArray=function(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t},e.assert=function(t,e){if(!t)throw new Error(e)},e.trim=function(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},e.setAsPrimitive=function(t){t[w]=!0},e.isPrimitive=S,e.createHashMap=function(t){return new C(t)},e.concatArray=function(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var a=t.length;for(i=0;i<e.length;i++)n[i+a]=e[i];return n},e.noop=function(){}},786:function(t,e,n){"use strict";e.a={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40}},789:function(t,e,n){n(1127).__DEV__;var f=n(1682),g=n(768),l=n(1411),m=n(1240),c=n(1800),h=n(1501),s=n(2124),d=n(2138),p=n(1381),u=n(2574),v=n(2575),i=n(2577),a=n(1245),o=n(1246),y=n(1689),x=n(1412),_=n(852),A=n(987),b=n(1465).throttle,r=n(2578),w=n(2579),S=n(2580),C=n(2581),M=n(2582),I=n(2583);n(2139);var T=n(1809),D=g.assert,k=g.each,P=g.isFunction,L=g.isObject,B=a.parseClassType,E={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:3500,COMPONENT:4e3,BRUSH:5e3}},O="__flagInMainProcess",N="__optionUpdated",R=/^[a-zA-Z0-9_]+$/;function z(i,a){return function(t,e,n){a||!this._disposed?(t=t&&t.toLowerCase(),h.prototype[i].call(this,t,e,n)):this.id}}function V(){h.call(this)}function G(t,e,n){n=n||{},"string"==typeof e&&(e=ct[e]),this.id,this.group,this._dom=t;var i=this._zr=f.init(t,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=b(g.bind(i.flush,i),17),(e=g.clone(e))&&v(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new p;var a,o,r,s,l=this._api=(o=(a=this)._coordSysMgr,g.extend(new d(a),{getCoordinateSystems:g.bind(o.getCoordinateSystems,o),getComponentByElement:function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return a._model.getComponent(e.mainType,e.index);t=t.parent}}}));function u(t,e){return t.__prio-e.__prio}c(ut,u),c(rt,u),this._scheduler=new C(this,l,rt,ut),h.call(this,this._ecEventProcessor=new it),this._messageCenter=new V,this._initEvents(),this.resize=g.bind(this.resize,this),this._pendingActions=[],i.animation.on("frame",this._onframe,this),s=this,(r=i).on("rendered",function(){s.trigger("rendered"),!r.animation.isFinished()||s[N]||s._scheduler.unfinished||s._pendingActions.length||s.trigger("finished")}),g.setAsPrimitive(this)}V.prototype.on=z("on",!0),V.prototype.off=z("off",!0),V.prototype.one=z("one",!0),g.mixin(V,h);var F=G.prototype;function H(t,e,n){if(this._disposed)this.id;else{var i,a=this._model,o=this._coordSysMgr.getCoordinateSystems();e=A.parseFinder(a,e);for(var r=0;r<o.length;r++){var s=o[r];if(s[t]&&null!=(i=s[t](a,e,n)))return i}}}F._onframe=function(){if(!this._disposed){var t=this._scheduler;if(this[N]){var e=this[N].silent;this[O]=!0,j(this),W.update.call(this),this[O]=!1,this[N]=!1,q.call(this,e),X.call(this,e)}else if(t.unfinished){var n=1,i=this._model,a=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),Y(this,i),t.performVisualTasks(i),Q(this,this._model,a,"remain"),n-=new Date-o}while(0<n&&t.unfinished);t.unfinished||this._zr.flush()}}},F.getDom=function(){return this._dom},F.getZr=function(){return this._zr},F.setOption=function(t,e,n){if(this._disposed)this.id;else{var i;if(L(e)&&(n=e.lazyUpdate,i=e.silent,e=e.notMerge),this[O]=!0,!this._model||e){var a=new u(this._api),o=this._theme,r=this._model=new s;r.scheduler=this._scheduler,r.init(null,null,o,a)}this._model.setOption(t,st),n?(this[N]={silent:i},this[O]=!1):(j(this),W.update.call(this),this._zr.flush(),this[N]=!1,this[O]=!1,q.call(this,i),X.call(this,i))}},F.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},F.getModel=function(){return this._model},F.getOption=function(){return this._model&&this._model.getOption()},F.getWidth=function(){return this._zr.getWidth()},F.getHeight=function(){return this._zr.getHeight()},F.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},F.getRenderedCanvas=function(t){if(m.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},F.getSvgDataUrl=function(){if(m.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return g.each(e,function(t){t.stopAnimation(!0)}),t.painter.pathToDataUrl()}},F.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],a=this;k(e,function(t){n.eachComponent({mainType:t},function(t){var e=a._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)})});var o="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return k(i,function(t){t.group.ignore=!1}),o}this.id},F.getConnectedDataURL=function(a){if(this._disposed)this.id;else if(m.canvasSupported){var o=this.group,r=Math.min,s=Math.max;if(pt[o]){var l=1/0,u=1/0,c=-1/0,h=-1/0,d=[],n=a&&a.pixelRatio||1;g.each(dt,function(t,e){if(t.group===o){var n=t.getRenderedCanvas(g.clone(a)),i=t.getDom().getBoundingClientRect();l=r(i.left,l),u=r(i.top,u),c=s(i.right,c),h=s(i.bottom,h),d.push({dom:n,left:i.left,top:i.top})}});var t=(c*=n)-(l*=n),e=(h*=n)-(u*=n),i=g.createCanvas();i.width=t,i.height=e;var p=f.init(i);return a.connectedBackgroundColor&&p.add(new _.Rect({shape:{x:0,y:0,width:t,height:e},style:{fill:a.connectedBackgroundColor}})),k(d,function(t){var e=new _.Image({style:{x:t.left*n-l,y:t.top*n-u,image:t.dom}});p.add(e)}),p.refreshImmediately(),i.toDataURL("image/"+(a&&a.type||"png"))}return this.getDataURL(a)}},F.convertToPixel=g.curry(H,"convertToPixel"),F.convertFromPixel=g.curry(H,"convertFromPixel"),F.containPixel=function(t,a){if(!this._disposed){var o,e=this._model;return t=A.parseFinder(e,t),g.each(t,function(t,i){0<=i.indexOf("Models")&&g.each(t,function(t){var e=t.coordinateSystem;if(e&&e.containPoint)o|=!!e.containPoint(a);else if("seriesModels"===i){var n=this._chartsMap[t.__viewId];n&&n.containPoint&&(o|=n.containPoint(a,t))}},this)},this),!!o}this.id},F.getVisual=function(t,e){var n=this._model,i=(t=A.parseFinder(n,t,{defaultMainType:"series"})).seriesModel.getData(),a=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?i.indexOfRawIndex(t.dataIndex):null;return null!=a?i.getItemVisual(a,e):i.getVisual(e)},F.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},F.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var W={prepareAndUpdate:function(t){j(this),W.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,a=this._coordSysMgr,o=this._scheduler;if(e){o.restoreData(e,t),o.performSeriesTasks(e),a.create(e,n),o.performDataProcessorTasks(e,t),Y(this,e),a.update(e,n),J(e),o.performVisualTasks(e,t),$(this,e,n,t);var r=e.get("backgroundColor")||"transparent";if(m.canvasSupported)i.setBackgroundColor(r);else{var s=l.parse(r);r=l.stringify(s,"rgb"),0===s[3]&&(r="transparent")}tt(e,n)}},updateTransform:function(a){var o=this._model,r=this,s=this._api;if(o){var l=[];o.eachComponent(function(t,e){var n=r.getViewOfComponentModel(e);if(n&&n.__alive)if(n.updateTransform){var i=n.updateTransform(e,o,s,a);i&&i.update&&l.push(n)}else l.push(n)});var i=g.createHashMap();o.eachSeries(function(t){var e=r._chartsMap[t.__viewId];if(e.updateTransform){var n=e.updateTransform(t,o,s,a);n&&n.update&&i.set(t.uid,1)}else i.set(t.uid,1)}),J(o),this._scheduler.performVisualTasks(o,a,{setDirty:!0,dirtyMap:i}),Q(r,o,s,a,i),tt(o,this._api)}},updateView:function(t){var e=this._model;e&&(x.markUpdateMethod(t,"updateView"),J(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),$(this,this._model,this._api,t),tt(e,this._api))},updateVisual:function(t){W.update.call(this,t)},updateLayout:function(t){W.update.call(this,t)}};function j(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),K(t,"component",e,n),K(t,"chart",e,n),n.plan()}function U(e,n,i,a,t){var o=e._model;if(a){var r={};r[a+"Id"]=i[a+"Id"],r[a+"Index"]=i[a+"Index"],r[a+"Name"]=i[a+"Name"];var s={mainType:a,query:r};t&&(s.subType=t);var l=i.excludeSeriesId;null!=l&&(l=g.createHashMap(A.normalizeToArray(l))),o&&o.eachComponent(s,function(t){l&&null!=l.get(t.id)||u(e["series"===a?"_chartsMap":"_componentsMap"][t.__viewId])},e)}else k(e._componentsViews.concat(e._chartsViews),u);function u(t){t&&t.__alive&&t[n]&&t[n](t.__model,o,e._api,i)}}function Y(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})}function Z(e,t){var n=e.type,i=e.escapeConnect,a=at[n],o=a.actionInfo,r=(o.update||"update").split(":"),s=r.pop();r=null!=r[0]&&B(r[0]),this[O]=!0;var l=[e],u=!1;e.batch&&(u=!0,l=g.map(e.batch,function(t){return(t=g.defaults(g.extend({},t),e)).batch=null,t}));var c,h=[],d="highlight"===n||"downplay"===n;k(l,function(t){(c=(c=a.action(t,this._model,this._api))||g.extend({},t)).type=o.event||c.type,h.push(c),d?U(this,s,t,"series"):r&&U(this,s,t,r.main,r.sub)},this),"none"===s||d||r||(this[N]?(j(this),W.update.call(this,e),this[N]=!1):W[s].call(this,e)),c=u?{type:o.event||n,escapeConnect:i,batch:h}:h[0],this[O]=!1,t||this._messageCenter.trigger(c.type,c)}function q(t){for(var e=this._pendingActions;e.length;){var n=e.shift();Z.call(this,n,t)}}function X(t){t||this.trigger("updated")}function K(t,e,a,o){for(var r="component"===e,s=r?t._componentsViews:t._chartsViews,l=r?t._componentsMap:t._chartsMap,u=t._zr,c=t._api,n=0;n<s.length;n++)s[n].__alive=!1;function i(t){var e="_ec_"+t.id+"_"+t.type,n=l[e];if(!n){var i=B(t.type);(n=new(r?y.getClass(i.main,i.sub):x.getClass(i.sub))).init(a,c),l[e]=n,s.push(n),u.add(n.group)}t.__viewId=n.__id=e,n.__alive=!0,n.__model=t,n.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},r||o.prepareView(n,t,a,c)}r?a.eachComponent(function(t,e){"series"!==t&&i(e)}):a.eachSeries(i);for(n=0;n<s.length;){var h=s[n];h.__alive?n++:(r||h.renderTask.dispose(),u.remove(h.group),h.dispose(a,c),s.splice(n,1),delete l[h.__id],h.__id=h.group.__ecComponentInfo=null)}}function J(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function $(t,e,n,i){var a,o,r,s,l;a=t,o=e,r=n,s=i,k(l||a._componentsViews,function(t){var e=t.__model;t.render(e,o,r,s),nt(e,t)}),k(t._chartsViews,function(t){t.__alive=!1}),Q(t,e,n,i),k(t._chartsViews,function(t){t.__alive||t.remove(e,n)})}function Q(o,t,e,r,s){var l,n,i,a,u,c=o._scheduler;t.eachSeries(function(t){var e=o._chartsMap[t.__viewId];e.__alive=!0;var n,i,a=e.renderTask;c.updatePayload(a,r),s&&s.get(t.uid)&&a.dirty(),l|=a.perform(c.getPerformArgs(a)),e.group.silent=!!t.get("silent"),nt(t,e),n=e,i=t.get("blendMode")||null,n.group.traverse(function(t){t.isGroup||t.style.blend!==i&&t.setStyle("blend",i),t.eachPendingDisplayable&&t.eachPendingDisplayable(function(t){t.setStyle("blend",i)})})}),c.unfinished|=l,i=t,a=(n=o)._zr.storage,u=0,a.traverse(function(t){u++}),u>i.get("hoverLayerThreshold")&&!m.node&&i.eachSeries(function(t){if(!t.preventUsingHoverLayer){var e=n._chartsMap[t.__viewId];e.__alive&&e.group.traverse(function(t){t.useHoverLayer=!0})}}),w(o._zr.dom,t)}function tt(e,n){k(lt,function(t){t(e,n)})}F.resize=function(t){if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[O]=!0,n&&j(this),W.update.call(this),this[O]=!1,q.call(this,i),X.call(this,i)}}},F.showLoading=function(t,e){if(this._disposed)this.id;else if(L(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),ht[t]){var n=ht[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},F.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},F.makeActionFromEvent=function(t){var e=g.extend({},t);return e.type=ot[t.type],e},F.dispatchAction=function(t,e){this._disposed?this.id:(L(e)||(e={silent:!!e}),at[t.type]&&this._model&&(this[O]?this._pendingActions.push(t):(Z.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&m.browser.weChat&&this._throttledZrFlush(),q.call(this,e.silent),X.call(this,e.silent))))},F.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0}},F.on=z("on",!1),F.off=z("off",!1),F.one=z("one",!1);var et=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function nt(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse(function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i))})}function it(){this.eventInfo}F._initEvents=function(){k(et,function(u){function t(t){var e,n=this.getModel(),i=t.target;if("globalout"===u)e={};else if(i&&null!=i.dataIndex){var a=i.dataModel||n.getSeriesByIndex(i.seriesIndex);e=a&&a.getDataParams(i.dataIndex,i.dataType,i)||{}}else i&&i.eventData&&(e=g.extend({},i.eventData));if(e){var o=e.componentType,r=e.componentIndex;"markLine"!==o&&"markPoint"!==o&&"markArea"!==o||(o="series",r=e.seriesIndex);var s=o&&null!=r&&n.getComponent(o,r),l=s&&this["series"===s.mainType?"_chartsMap":"_componentsMap"][s.__viewId];e.event=t,e.type=u,this._ecEventProcessor.eventInfo={targetEl:i,packedEvent:e,model:s,view:l},this.trigger(u,e)}}t.zrEventfulCallAtLast=!0,this._zr.on(u,t,this)},this),k(ot,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},F.isDisposed=function(){return this._disposed},F.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},F.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,A.setAttribute(this.getDom(),mt,"");var e=this._api,n=this._model;k(this._componentsViews,function(t){t.dispose(n,e)}),k(this._chartsViews,function(t){t.dispose(n,e)}),this._zr.dispose(),delete dt[this.id]}},g.mixin(G,h),it.prototype={constructor:it,normalizeQuery:function(t){var s={},l={},u={};if(g.isString(t)){var e=B(t);s.mainType=e.main||null,s.subType=e.sub||null}else{var c=["Index","Name","Id"],h={name:1,dataIndex:1,dataType:1};g.each(t,function(t,e){for(var n=!1,i=0;i<c.length;i++){var a=c[i],o=e.lastIndexOf(a);if(0<o&&o===e.length-a.length){var r=e.slice(0,o);"data"!==r&&(s.mainType=r,s[a.toLowerCase()]=t,n=!0)}}h.hasOwnProperty(e)&&(l[e]=t,n=!0),n||(u[e]=t)})}return{cptQuery:s,dataQuery:l,otherQuery:u}},filter:function(t,e,n){var i=this.eventInfo;if(!i)return!0;var a=i.targetEl,o=i.packedEvent,r=i.model,s=i.view;if(!r||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return c(l,r,"mainType")&&c(l,r,"subType")&&c(l,r,"index","componentIndex")&&c(l,r,"name")&&c(l,r,"id")&&c(u,o,"name")&&c(u,o,"dataIndex")&&c(u,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,a,o));function c(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var at={},ot={},rt=[],st=[],lt=[],ut=[],ct={},ht={},dt={},pt={},ft=new Date-0,gt=new Date-0,mt="_echarts_instance_";function vt(t){pt[t]=!1}var yt=vt;function xt(t){return dt[A.getAttribute(t,mt)]}function _t(t,e){ct[t]=e}function At(t){st.push(t)}function bt(t,e){Ct(rt,t,e,1e3)}function wt(t,e,n){"function"==typeof e&&(n=e,e="");var i=L(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,D(R.test(i)&&R.test(e)),at[i]||(at[i]={action:n,actionInfo:t}),ot[e]=i}function St(t,e){Ct(ut,t,e,3e3,"visual")}function Ct(t,e,n,i,a){(P(e)||L(e))&&(n=e,e=i);var o=C.wrapStageHandler(n,a);return o.__prio=e,o.__raw=n,t.push(o),o}function Mt(t,e){ht[t]=e}St(2e3,r),At(v),bt(900,i),Mt("default",S),wt({type:"highlight",event:"highlight",update:"highlight"},g.noop),wt({type:"downplay",event:"downplay",update:"downplay"},g.noop),_t("light",M),_t("dark",I);e.version="4.5.0",e.dependencies={zrender:"4.1.2"},e.PRIORITY=E,e.init=function(t,e,n){var i=xt(t);if(i)return i;var a,o,r=new G(t,e,n);function s(t,e){for(var n=0;n<t.length;n++){t[n][o]=e}}return r.id="ec_"+ft++,dt[r.id]=r,A.setAttribute(t,mt,r.id),a=r,o="__connectUpdateStatus",k(ot,function(t,e){a._messageCenter.on(e,function(t){if(pt[a.group]&&0!==a[o]){if(t&&t.escapeConnect)return;var e=a.makeActionFromEvent(t),n=[];k(dt,function(t){t!==a&&t.group===a.group&&n.push(t)}),s(n,0),k(n,function(t){1!==t[o]&&t.dispatchAction(e)}),s(n,2)}})}),r},e.connect=function(e){if(g.isArray(e)){var t=e;e=null,k(t,function(t){null!=t.group&&(e=t.group)}),e=e||"g_"+gt++,k(t,function(t){t.group=e})}return pt[e]=!0,e},e.disConnect=vt,e.disconnect=yt,e.dispose=function(t){"string"==typeof t?t=dt[t]:t instanceof G||(t=xt(t)),t instanceof G&&!t.isDisposed()&&t.dispose()},e.getInstanceByDom=xt,e.getInstanceById=function(t){return dt[t]},e.registerTheme=_t,e.registerPreprocessor=At,e.registerProcessor=bt,e.registerPostUpdate=function(t){lt.push(t)},e.registerAction=wt,e.registerCoordinateSystem=function(t,e){p.register(t,e)},e.getCoordinateSystemDimensions=function(t){var e=p.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()},e.registerLayout=function(t,e){Ct(ut,t,e,1e3,"layout")},e.registerVisual=St,e.registerLoading=Mt,e.extendComponentModel=function(t){return a.extend(t)},e.extendComponentView=function(t){return y.extend(t)},e.extendSeriesModel=function(t){return o.extend(t)},e.extendChartView=function(t){return x.extend(t)},e.setCanvasCreator=function(t){g.$override("createCanvas",t)},e.registerMap=function(t,e,n){T.registerMap(t,e,n)},e.getMap=function(t){var e=T.retrieveMap(t);return e&&e[0]&&{geoJson:e[0].geoJSON,specialAreas:e[0].specialAreas}},e.dataTool={};var It=n(2141);!function(){for(var t in It)It.hasOwnProperty(t)&&(e[t]=It[t])}()},797:function(t,e,n){"use strict";n(27),n(850),n(287)},798:function(t,e,n){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=((i=n(855))&&i.__esModule?i:{default:i}).default;e.default=a},802:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(846);n.d(e,"default",function(){return i.a})},846:function(t,e,n){"use strict";var i=n(64),O=n.n(i),a=n(25),N=n.n(a),o=n(11),r=n.n(o),s=n(44),l=n.n(s),u=n(13),c=n.n(u),h=n(14),d=n.n(h),p=n(0),R=n.n(p),f=n(3),z=n.n(f),g=n(1),m=n.n(g),V=n(847),G=n(848),v=n(786),y=n(849),x=n(7);function _(){}function F(t,e,n){var i=t;return void 0===i&&(i=e.pageSize),Math.floor((n.total-1)/i)+1}var A,b=(A=R.a.Component,d()(w,A),l()(w,[{key:"componentDidUpdate",value:function(t,e){var n=this.props.prefixCls;if(e.current!==this.state.current&&this.paginationNode){var i=this.paginationNode.querySelector("."+n+"-item-"+e.current);i&&document.activeElement===i&&i.blur()}}},{key:"getValidValue",value:function(t){var e=t.target.value,n=this.state.currentInputValue;return""===e?e:isNaN(Number(e))?n:Number(e)}},{key:"render",value:function(){var t=this.props,e=t.prefixCls,n=t.className,i=t.disabled;if(!0===this.props.hideOnSinglePage&&this.props.total<=this.state.pageSize)return null;var a=this.props,o=a.locale,r=F(void 0,this.state,this.props),s=[],l=null,u=null,c=null,h=null,d=null,p=a.showQuickJumper&&a.showQuickJumper.goButton,f=a.showLessItems?1:2,g=this.state,m=g.current,v=g.pageSize,y=0<m-1?m-1:0,x=m+1<r?m+1:r,_=Object.keys(a).reduce(function(t,e){return"data-"!==e.substr(0,5)&&"aria-"!==e.substr(0,5)&&"role"!==e||(t[e]=a[e]),t},{});if(a.simple)return p&&(d="boolean"==typeof p?R.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},o.jump_to_confirm):R.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},p),d=R.a.createElement("li",{title:a.showTitle?""+o.jump_to+this.state.current+"/"+r:null,className:e+"-simple-pager"},d)),R.a.createElement("ul",N()({className:e+" "+e+"-simple "+a.className,style:a.style,ref:this.savePaginationNode},_),R.a.createElement("li",{title:a.showTitle?o.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:(this.hasPrev()?"":e+"-disabled")+" "+e+"-prev","aria-disabled":!this.hasPrev()},a.itemRender(y,"prev",this.getItemIcon(a.prevIcon))),R.a.createElement("li",{title:a.showTitle?this.state.current+"/"+r:null,className:e+"-simple-pager"},R.a.createElement("input",{type:"text",value:this.state.currentInputValue,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),R.a.createElement("span",{className:e+"-slash"},"/"),r),R.a.createElement("li",{title:a.showTitle?o.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:(this.hasNext()?"":e+"-disabled")+" "+e+"-next","aria-disabled":!this.hasNext()},a.itemRender(x,"next",this.getItemIcon(a.nextIcon))),d);if(r<=5+2*f){var A={locale:o,rootPrefixCls:e,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:a.showTitle,itemRender:a.itemRender};r||s.push(R.a.createElement(V.a,N()({},A,{key:"noPager",page:r,className:e+"-disabled"})));for(var b=1;b<=r;b++){var w=this.state.current===b;s.push(R.a.createElement(V.a,N()({},A,{key:b,page:b,active:w})))}}else{var S=a.showLessItems?o.prev_3:o.prev_5,C=a.showLessItems?o.next_3:o.next_5;if(a.showPrevNextJumpers){var M=e+"-jump-prev";a.jumpPrevIcon&&(M+=" "+e+"-jump-prev-custom-icon"),l=R.a.createElement("li",{title:a.showTitle?S:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:M},a.itemRender(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(a.jumpPrevIcon)));var I=e+"-jump-next";a.jumpNextIcon&&(I+=" "+e+"-jump-next-custom-icon"),u=R.a.createElement("li",{title:a.showTitle?C:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:I},a.itemRender(this.getJumpNextPage(),"jump-next",this.getItemIcon(a.jumpNextIcon)))}h=R.a.createElement(V.a,{locale:a.locale,last:!0,rootPrefixCls:e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:r,page:r,active:!1,showTitle:a.showTitle,itemRender:a.itemRender}),c=R.a.createElement(V.a,{locale:a.locale,rootPrefixCls:e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:a.showTitle,itemRender:a.itemRender});var T=Math.max(1,m-f),D=Math.min(m+f,r);m-1<=f&&(D=1+2*f),r-m<=f&&(T=r-2*f);for(var k=T;k<=D;k++){var P=m===k;s.push(R.a.createElement(V.a,{locale:a.locale,rootPrefixCls:e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:k,page:k,active:P,showTitle:a.showTitle,itemRender:a.itemRender}))}2*f<=m-1&&3!==m&&(s[0]=R.a.cloneElement(s[0],{className:e+"-item-after-jump-prev"}),s.unshift(l)),2*f<=r-m&&m!==r-2&&(s[s.length-1]=R.a.cloneElement(s[s.length-1],{className:e+"-item-before-jump-next"}),s.push(u)),1!==T&&s.unshift(c),D!==r&&s.push(h)}var L=null;a.showTotal&&(L=R.a.createElement("li",{className:e+"-total-text"},a.showTotal(a.total,[0===a.total?0:(m-1)*v+1,m*v>a.total?a.total:m*v])));var B=!this.hasPrev()||!r,E=!this.hasNext()||!r;return R.a.createElement("ul",N()({className:z()(e,n,O()({},e+"-disabled",i)),style:a.style,unselectable:"unselectable",ref:this.savePaginationNode},_),L,R.a.createElement("li",{title:a.showTitle?o.prev_page:null,onClick:this.prev,tabIndex:B?null:0,onKeyPress:this.runIfEnterPrev,className:(B?e+"-disabled":"")+" "+e+"-prev","aria-disabled":B},a.itemRender(y,"prev",this.getItemIcon(a.prevIcon))),s,R.a.createElement("li",{title:a.showTitle?o.next_page:null,onClick:this.next,tabIndex:E?null:0,onKeyPress:this.runIfEnterNext,className:(E?e+"-disabled":"")+" "+e+"-next","aria-disabled":E},a.itemRender(x,"next",this.getItemIcon(a.nextIcon))),R.a.createElement(G.a,{disabled:i,locale:a.locale,rootPrefixCls:e,selectComponentClass:a.selectComponentClass,selectPrefixCls:a.selectPrefixCls,changeSize:this.props.showSizeChanger?this.changePageSize:null,current:this.state.current,pageSize:this.state.pageSize,pageSizeOptions:this.props.pageSizeOptions,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:p}))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n={};if("current"in t&&(n.current=t.current,t.current!==e.current&&(n.currentInputValue=n.current)),"pageSize"in t&&t.pageSize!==e.pageSize){var i=e.current,a=F(t.pageSize,e,t);i=a<i?a:i,"current"in t||(n.current=i,n.currentInputValue=i),n.pageSize=t.pageSize}return n}}]),w);function w(t){r()(this,w);var e=c()(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,t));S.call(e);var n=t.onChange!==_;"current"in t&&!n&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var i=t.defaultCurrent;"current"in t&&(i=t.current);var a=t.defaultPageSize;return"pageSize"in t&&(a=t.pageSize),e.state={current:i,currentInputValue:i,pageSize:a},e}b.propTypes={disabled:m.a.bool,prefixCls:m.a.string,className:m.a.string,current:m.a.number,defaultCurrent:m.a.number,total:m.a.number,pageSize:m.a.number,defaultPageSize:m.a.number,onChange:m.a.func,hideOnSinglePage:m.a.bool,showSizeChanger:m.a.bool,showLessItems:m.a.bool,onShowSizeChange:m.a.func,selectComponentClass:m.a.func,showPrevNextJumpers:m.a.bool,showQuickJumper:m.a.oneOfType([m.a.bool,m.a.object]),showTitle:m.a.bool,pageSizeOptions:m.a.arrayOf(m.a.string),showTotal:m.a.func,locale:m.a.object,style:m.a.object,itemRender:m.a.func,prevIcon:m.a.oneOfType([m.a.func,m.a.node]),nextIcon:m.a.oneOfType([m.a.func,m.a.node]),jumpPrevIcon:m.a.oneOfType([m.a.func,m.a.node]),jumpNextIcon:m.a.oneOfType([m.a.func,m.a.node])},b.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:_,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showSizeChanger:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:_,locale:y.a,style:{},itemRender:function(t,e,n){return n}};var S=function(){var o=this;this.getJumpPrevPage=function(){return Math.max(1,o.state.current-(o.props.showLessItems?3:5))},this.getJumpNextPage=function(){return Math.min(F(void 0,o.state,o.props),o.state.current+(o.props.showLessItems?3:5))},this.getItemIcon=function(t){var e=o.props.prefixCls,n=t||R.a.createElement("a",{className:e+"-item-link"});return"function"==typeof t&&(n=R.a.createElement(t,N()({},o.props))),n},this.savePaginationNode=function(t){o.paginationNode=t},this.isValid=function(t){return"number"==typeof(e=t)&&isFinite(e)&&Math.floor(e)===e&&t!==o.state.current;var e},this.shouldDisplayQuickJumper=function(){var t=o.props,e=t.showQuickJumper,n=t.pageSize;return!(t.total<=n)&&e},this.handleKeyDown=function(t){t.keyCode!==v.a.ARROW_UP&&t.keyCode!==v.a.ARROW_DOWN||t.preventDefault()},this.handleKeyUp=function(t){var e=o.getValidValue(t);e!==o.state.currentInputValue&&o.setState({currentInputValue:e}),t.keyCode===v.a.ENTER?o.handleChange(e):t.keyCode===v.a.ARROW_UP?o.handleChange(e-1):t.keyCode===v.a.ARROW_DOWN&&o.handleChange(e+1)},this.changePageSize=function(t){var e=o.state.current,n=F(t,o.state,o.props);e=n<e?n:e,0===n&&(e=o.state.current),"number"==typeof t&&("pageSize"in o.props||o.setState({pageSize:t}),"current"in o.props||o.setState({current:e,currentInputValue:e})),o.props.onShowSizeChange(e,t)},this.handleChange=function(t){var e=o.props.disabled,n=t;if(!o.isValid(n)||e)return o.state.current;var i=F(void 0,o.state,o.props);i<n?n=i:n<1&&(n=1),"current"in o.props||o.setState({current:n,currentInputValue:n});var a=o.state.pageSize;return o.props.onChange(n,a),n},this.prev=function(){o.hasPrev()&&o.handleChange(o.state.current-1)},this.next=function(){o.hasNext()&&o.handleChange(o.state.current+1)},this.jumpPrev=function(){o.handleChange(o.getJumpPrevPage())},this.jumpNext=function(){o.handleChange(o.getJumpNextPage())},this.hasPrev=function(){return 1<o.state.current},this.hasNext=function(){return o.state.current<F(void 0,o.state,o.props)},this.runIfEnter=function(t,e){for(var n=arguments.length,i=Array(2<n?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];"Enter"!==t.key&&13!==t.charCode||e.apply(void 0,i)},this.runIfEnterPrev=function(t){o.runIfEnter(t,o.prev)},this.runIfEnterNext=function(t){o.runIfEnter(t,o.next)},this.runIfEnterJumpPrev=function(t){o.runIfEnter(t,o.jumpPrev)},this.runIfEnterJumpNext=function(t){o.runIfEnter(t,o.jumpNext)},this.handleGoTO=function(t){t.keyCode!==v.a.ENTER&&"click"!==t.type||o.handleChange(o.state.currentInputValue)}};Object(x.polyfill)(b),e.a=b},847:function(t,e,n){"use strict";function i(e){var t,n=e.rootPrefixCls+"-item",i=h()(n,n+"-"+e.page,(t={},o()(t,n+"-active",e.active),o()(t,e.className,!!e.className),o()(t,n+"-disabled",!e.page),t));return s.a.createElement("li",{title:e.showTitle?e.page:null,className:i,onClick:function(){e.onClick(e.page)},onKeyPress:function(t){e.onKeyPress(t,e.onClick,e.page)},tabIndex:"0"},e.itemRender(e.page,"page",s.a.createElement("a",null,e.page)))}var a=n(64),o=n.n(a),r=n(0),s=n.n(r),l=n(1),u=n.n(l),c=n(3),h=n.n(c);i.propTypes={page:u.a.number,active:u.a.bool,last:u.a.bool,locale:u.a.object,className:u.a.string,showTitle:u.a.bool,rootPrefixCls:u.a.string,onClick:u.a.func,onKeyPress:u.a.func,itemRender:u.a.func},e.a=i},848:function(t,e,n){"use strict";var i,a=n(11),s=n.n(a),o=n(44),r=n.n(o),l=n(13),u=n.n(l),c=n(14),h=n.n(c),d=n(0),_=n.n(d),p=n(1),f=n.n(p),g=n(786),m=(i=_.a.Component,h()(v,i),r()(v,[{key:"getValidValue",value:function(){var t=this.state,e=t.goInputText,n=t.current;return!e||isNaN(e)?n:Number(e)}},{key:"render",value:function(){var n=this,t=this.props,e=t.pageSize,i=t.pageSizeOptions,a=t.locale,o=t.rootPrefixCls,r=t.changeSize,s=t.quickGo,l=t.goButton,u=t.selectComponentClass,c=t.buildOptionText,h=t.selectPrefixCls,d=t.disabled,p=this.state.goInputText,f=o+"-options",g=u,m=null,v=null,y=null;if(!r&&!s)return null;if(r&&g){var x=i.map(function(t,e){return _.a.createElement(g.Option,{key:e,value:t},(c||n.buildOptionText)(t))});m=_.a.createElement(g,{disabled:d,prefixCls:h,showSearch:!1,className:f+"-size-changer",optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(e||i[0]).toString(),onChange:this.changeSize,getPopupContainer:function(t){return t.parentNode}},x)}return s&&(l&&(y="boolean"==typeof l?_.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:d},a.jump_to_confirm):_.a.createElement("span",{onClick:this.go,onKeyUp:this.go},l)),v=_.a.createElement("div",{className:f+"-quick-jumper"},a.jump_to,_.a.createElement("input",{disabled:d,type:"text",value:p,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),a.page,y)),_.a.createElement("li",{className:f},m,v)}}]),v);function v(){var t,e,i,n;s()(this,v);for(var a=arguments.length,o=Array(a),r=0;r<a;r++)o[r]=arguments[r];return(e=i=u()(this,(t=v.__proto__||Object.getPrototypeOf(v)).call.apply(t,[this].concat(o)))).state={goInputText:""},i.buildOptionText=function(t){return t+" "+i.props.locale.items_per_page},i.changeSize=function(t){i.props.changeSize(Number(t))},i.handleChange=function(t){i.setState({goInputText:t.target.value})},i.handleBlur=function(){var t=i.props,e=t.goButton,n=t.quickGo;e||n(i.getValidValue())},i.go=function(t){""!==i.state.goInputText&&(t.keyCode!==g.a.ENTER&&"click"!==t.type||(i.setState({goInputText:""}),i.props.quickGo(i.getValidValue())))},n=e,u()(i,n)}m.propTypes={disabled:f.a.bool,changeSize:f.a.func,quickGo:f.a.func,selectComponentClass:f.a.func,current:f.a.number,pageSizeOptions:f.a.arrayOf(f.a.string),pageSize:f.a.number,buildOptionText:f.a.func,locale:f.a.object,rootPrefixCls:f.a.string,selectPrefixCls:f.a.string,goButton:f.a.oneOfType([f.a.bool,f.a.node])},m.defaultProps={pageSizeOptions:["10","20","30","40"]},e.a=m},849:function(t,e,n){"use strict";e.a={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"}},850:function(t,e,n){var i=n(854);"string"==typeof i&&(i=[[t.i,i,""]]);var a={hmr:!1,transform:void 0};n(281)(i,a);i.locals&&(t.exports=i.locals)},852:function(t,e,n){var g=n(768),o=n(2125),i=n(1411),a=n(1284),s=n(1150),r=n(1224),l=n(1799),u=n(1548);e.Image=u;var c=n(1547);e.Group=c;var h=n(1502);e.Text=h;var d=n(2130);e.Circle=d;var p=n(2563);e.Sector=p;var f=n(2564);e.Ring=f;var m=n(2132);e.Polygon=m;var v=n(2134);e.Polyline=v;var y=n(1803);e.Rect=y;var x=n(2135);e.Line=x;var _=n(2567);e.BezierCurve=_;var A=n(2568);e.Arc=A;var b=n(2569);e.CompoundPath=b;var w=n(1805);e.LinearGradient=w;var S=n(2570);e.RadialGradient=S;var C=n(1152);e.BoundingRect=C;var M=n(1806);e.IncrementalDisplayable=M;var I=n(1804),T=Math.max,D=Math.min,k={},P=1,L="emphasis",B="normal",E=1,O={},N={};function R(t,e){N[t]=e}function z(t,e,n,i){var a=o.createFromString(t,e);return n&&("center"===i&&(n=V(n,a.getBoundingRect())),F(a,n)),a}function V(t,e){var n,i=e.width/e.height,a=t.height*i;return n=a<=t.width?t.height:(a=t.width)/i,{x:t.x+t.width/2-a/2,y:t.y+t.height/2-n/2,width:a,height:n}}var G=o.mergePath;function F(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}var H=I.subPixelOptimize;function W(t){return null!=t&&"none"!==t}var j=g.createHashMap(),U=0;function Y(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var n=t.__zr,i=t.useHoverLayer&&n&&"canvas"===n.painter.type;if(t.__highlighted=i?"layer":"plain",!(t.isGroup||!n&&t.useHoverLayer)){var a=t,o=t.style;i&&(o=(a=n.addHover(t)).style),lt(o),i||function(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var n=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var i=t.style;for(var a in e)null!=e[a]&&(n[a]=i[a]);n.fill=i.fill,n.stroke=i.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}(a),o.extendFrom(e),Z(o,e,"fill"),Z(o,e,"stroke"),st(o),i||(t.dirty(!1),t.z2+=P)}}}function Z(t,e,n){!W(e[n])&&W(t[n])&&(t[n]=function(t){if("string"!=typeof t)return t;var e=j.get(t);return e||(e=i.lift(t,-.1),U<1e4&&(j.set(t,e),U++)),e}(t[n]))}function q(t){var e=t.__highlighted;if(e&&(t.__highlighted=!1,!t.isGroup))if("layer"===e)t.__zr&&t.__zr.removeHover(t);else{var n=t.style,i=t.__cachedNormalStl;i&&(lt(n),t.setStyle(i),st(n));var a=t.__cachedNormalZ2;null!=a&&t.z2-a===P&&(t.z2=a)}}function X(t,e,n){var i,a=B,o=B;t.__highlighted&&(a=L,i=!0),e(t,n),t.__highlighted&&(o=L,i=!0),t.isGroup&&t.traverse(function(t){t.isGroup||e(t,n)}),i&&t.__highDownOnUpdate&&t.__highDownOnUpdate(a,o)}function K(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,q(t),Y(t))}function J(t){et(this,t)||this.__highByOuter||X(this,Y)}function $(t){et(this,t)||this.__highByOuter||X(this,q)}function Q(t){this.__highByOuter|=1<<(t||0),X(this,Y)}function tt(t){(this.__highByOuter&=~(1<<(t||0)))||X(this,q)}function et(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function nt(t,e){var n=!1===e;if(t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,!n||t.__highDownDispatcher){var i=n?"off":"on";t[i]("mouseover",J)[i]("mouseout",$),t[i]("emphasis",Q)[i]("normal",tt),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n}}function it(t,e,n,i,a){return at(t,e,i,a),n&&g.extend(t,n),t}function at(t,e,n,i){if((n=n||k).isRectText){var a;n.getTextPosition?a=n.getTextPosition(e,i):"outside"===(a=e.getShallow("position")||(i?null:"inside"))&&(a="top"),t.textPosition=a,t.textOffset=e.getShallow("offset");var o=e.getShallow("rotate");null!=o&&(o*=Math.PI/180),t.textRotation=o,t.textDistance=g.retrieve2(e.getShallow("distance"),i?null:5)}var r,s=e.ecModel,l=s&&s.option.textStyle,u=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||k).rich;if(n)for(var i in e=e||{},n)n.hasOwnProperty(i)&&(e[i]=1);t=t.parentModel}return e}(e);if(u)for(var c in r={},u)if(u.hasOwnProperty(c)){var h=e.getModel(["rich",c]);ot(r[c]={},h,l,n,i)}return t.rich=r,ot(t,e,l,n,i,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),t}function ot(t,e,n,i,a,o){n=!a&&n||k,t.textFill=rt(e.getShallow("color"),i)||n.color,t.textStroke=rt(e.getShallow("textBorderColor"),i)||n.textBorderColor,t.textStrokeWidth=g.retrieve2(e.getShallow("textBorderWidth"),n.textBorderWidth),a||(o&&(t.insideRollbackOpt=i,st(t)),null==t.textFill&&(t.textFill=i.autoColor)),t.fontStyle=e.getShallow("fontStyle")||n.fontStyle,t.fontWeight=e.getShallow("fontWeight")||n.fontWeight,t.fontSize=e.getShallow("fontSize")||n.fontSize,t.fontFamily=e.getShallow("fontFamily")||n.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),o&&i.disableBox||(t.textBackgroundColor=rt(e.getShallow("backgroundColor"),i),t.textPadding=e.getShallow("padding"),t.textBorderColor=rt(e.getShallow("borderColor"),i),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||n.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||n.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||n.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function rt(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function st(t){var e,n=t.textPosition,i=t.insideRollbackOpt;if(i&&null==t.textFill){var a=i.autoColor,o=i.isRectText,r=i.useInsideStyle,s=!1!==r&&(!0===r||o&&n&&"string"==typeof n&&0<=n.indexOf("inside")),l=!s&&null!=a;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=a,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=a)}t.insideRollback=e}function lt(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function ut(t,e,n,i,a,o){if("function"==typeof a&&(o=a,a=null),i&&i.isAnimationEnabled()){var r=t?"Update":"",s=i.getShallow("animationDuration"+r),l=i.getShallow("animationEasing"+r),u=i.getShallow("animationDelay"+r);"function"==typeof u&&(u=u(a,i.getAnimationDelayParams?i.getAnimationDelayParams(e,a):null)),"function"==typeof s&&(s=s(a)),0<s?e.animateTo(n,s,u||0,l,o,!!o):(e.stopAnimation(),e.attr(n),o&&o())}else e.stopAnimation(),e.attr(n),o&&o()}function ct(t,e,n,i,a){ut(!0,t,e,n,i,a)}function ht(t,e,n){return e&&!g.isArrayLike(e)&&(e=l.getLocalTransform(e)),n&&(e=a.invert([],e)),s.applyTransform([],t,e)}function dt(t,e,n,i,a,o,r,s){var l,u=n-t,c=i-e,h=r-a,d=s-o,p=pt(h,d,u,c);if((l=p)<=1e-6&&-1e-6<=l)return!1;var f=t-a,g=e-o,m=pt(f,g,u,c)/p;if(m<0||1<m)return!1;var v=pt(f,g,h,d)/p;return!(v<0||1<v)}function pt(t,e,n,i){return t*i-n*e}R("circle",d),R("sector",p),R("ring",f),R("polygon",m),R("polyline",v),R("rect",y),R("line",x),R("bezierCurve",_),R("arc",A),e.Z2_EMPHASIS_LIFT=P,e.CACHED_LABEL_STYLE_PROPERTIES={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},e.extendShape=function(t){return r.extend(t)},e.extendPath=function(t,e){return o.extendFromString(t,e)},e.registerShape=R,e.getShapeClass=function(t){if(N.hasOwnProperty(t))return N[t]},e.makePath=z,e.makeImage=function(t,n,i){var a=new u({style:{image:t,x:n.x,y:n.y,width:n.width,height:n.height},onload:function(t){if("center"===i){var e={width:t.width,height:t.height};a.setStyle(V(n,e))}}});return a},e.mergePath=G,e.resizePath=F,e.subPixelOptimizeLine=function(t){return I.subPixelOptimizeLine(t.shape,t.shape,t.style),t},e.subPixelOptimizeRect=function(t){return I.subPixelOptimizeRect(t.shape,t.shape,t.style),t},e.subPixelOptimize=H,e.setElementHoverStyle=K,e.setHoverStyle=function(t,e){nt(t,!0),X(t,K,e)},e.setAsHighDownDispatcher=nt,e.isHighDownDispatcher=function(t){return!(!t||!t.__highDownDispatcher)},e.getHighlightDigit=function(t){var e=O[t];return null==e&&E<=32&&(e=O[t]=E++),e},e.setLabelStyle=function(t,e,n,i,a,o,r){var s,l=(a=a||k).labelFetcher,u=a.labelDataIndex,c=a.labelDimIndex,h=n.getShallow("show"),d=i.getShallow("show");(h||d)&&(l&&(s=l.getFormattedLabel(u,"normal",null,c)),null==s&&(s=g.isFunction(a.defaultText)?a.defaultText(u,a):a.defaultText));var p=h?s:null,f=d?g.retrieve2(l?l.getFormattedLabel(u,"emphasis",null,c):null,s):null;null==p&&null==f||(it(t,n,o,a),it(e,i,r,a,!0)),t.text=p,e.text=f},e.modifyLabelStyle=function(t,e,n){var i=t.style;e&&(lt(i),t.setStyle(e),st(i)),i=t.__hoverStl,n&&i&&(lt(i),g.extend(i,n),st(i))},e.setTextStyle=it,e.setText=function(t,e,n){var i,a={isRectText:!0};!1===n?i=!0:a.autoColor=n,at(t,e,a,i)},e.getFont=function(t,e){var n=e||e.getModel("textStyle");return g.trim([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))},e.updateProps=ct,e.initProps=function(t,e,n,i,a){ut(!1,t,e,n,i,a)},e.getTransform=function(t,e){for(var n=a.identity([]);t&&t!==e;)a.mul(n,t.getLocalTransform(),n),t=t.parent;return n},e.applyTransform=ht,e.transformDirection=function(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),a=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-a:"bottom"===t?a:0];return o=ht(o,e,n),Math.abs(o[0])>Math.abs(o[1])?0<o[0]?"right":"left":0<o[1]?"bottom":"top"},e.groupTransition=function(t,e,i,n){if(t&&e){var a,o=(a={},t.traverse(function(t){!t.isGroup&&t.anid&&(a[t.anid]=t)}),a);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=o[t.anid];if(e){var n=r(t);t.attr(r(e)),ct(t,n,i,t.dataIndex)}}})}function r(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=g.extend({},t.shape)),e}},e.clipPointsByRect=function(t,i){return g.map(t,function(t){var e=t[0];e=T(e,i.x),e=D(e,i.x+i.width);var n=t[1];return n=T(n,i.y),[e,n=D(n,i.y+i.height)]})},e.clipRectByRect=function(t,e){var n=T(t.x,e.x),i=D(t.x+t.width,e.x+e.width),a=T(t.y,e.y),o=D(t.y+t.height,e.y+e.height);if(n<=i&&a<=o)return{x:n,y:a,width:i-n,height:o-a}},e.createIcon=function(t,e,n){var i=(e=g.extend({rectHover:!0},e)).style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),g.defaults(i,n),new u(e)):z(t.replace("path://",""),e,n,"center")},e.linePolygonIntersect=function(t,e,n,i,a){for(var o=0,r=a[a.length-1];o<a.length;o++){var s=a[o];if(dt(t,e,n,i,s[0],s[1],r[0],r[1]))return!0;r=s}},e.lineLineIntersect=dt},854:function(t,e,n){(t.exports=n(280)(!0)).push([t.i,'.ant-pagination{-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.ant-pagination,.ant-pagination ol,.ant-pagination ul{margin:0;padding:0;list-style:none}.ant-pagination:after{display:block;clear:both;height:0;overflow:hidden;visibility:hidden;content:" "}.ant-pagination-item,.ant-pagination-total-text{display:inline-block;height:32px;margin-right:8px;line-height:30px;vertical-align:middle}.ant-pagination-item{min-width:32px;font-family:Arial;text-align:center;list-style:none;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;outline:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-pagination-item a{display:block;padding:0 6px;color:rgba(0,0,0,.65);-webkit-transition:none;-o-transition:none;transition:none}.ant-pagination-item a:hover{text-decoration:none}.ant-pagination-item:focus,.ant-pagination-item:hover{border-color:#1890ff;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-pagination-item:focus a,.ant-pagination-item:hover a{color:#1890ff}.ant-pagination-item-active{font-weight:500;background:#fff;border-color:#1890ff}.ant-pagination-item-active a{color:#1890ff}.ant-pagination-item-active:focus,.ant-pagination-item-active:hover{border-color:#40a9ff}.ant-pagination-item-active:focus a,.ant-pagination-item-active:hover a{color:#40a9ff}.ant-pagination-jump-next,.ant-pagination-jump-prev{outline:0}.ant-pagination-jump-next .ant-pagination-item-container,.ant-pagination-jump-prev .ant-pagination-item-container{position:relative}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon{display:inline-block;font-size:12px;font-size:12px\\9;-webkit-transform:scale(1) rotate(0deg);-ms-transform:scale(1) rotate(0deg);transform:scale(1) rotate(0deg);color:#1890ff;letter-spacing:-1px;opacity:0;-webkit-transition:all .2s;-o-transition:all .2s;transition:all .2s}:root .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon,:root .ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon{font-size:12px}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg{top:0;right:0;bottom:0;left:0;margin:auto}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis{position:absolute;top:0;right:0;bottom:0;left:0;display:block;margin:auto;color:rgba(0,0,0,.25);letter-spacing:2px;text-align:center;text-indent:.13em;opacity:1;-webkit-transition:all .2s;-o-transition:all .2s;transition:all .2s}.ant-pagination-jump-next:focus .ant-pagination-item-link-icon,.ant-pagination-jump-next:hover .ant-pagination-item-link-icon,.ant-pagination-jump-prev:focus .ant-pagination-item-link-icon,.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon{opacity:1}.ant-pagination-jump-next:focus .ant-pagination-item-ellipsis,.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis,.ant-pagination-jump-prev:focus .ant-pagination-item-ellipsis,.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis{opacity:0}.ant-pagination-jump-next,.ant-pagination-jump-prev,.ant-pagination-prev{margin-right:8px}.ant-pagination-jump-next,.ant-pagination-jump-prev,.ant-pagination-next,.ant-pagination-prev{display:inline-block;min-width:32px;height:32px;color:rgba(0,0,0,.65);font-family:Arial;line-height:32px;text-align:center;vertical-align:middle;list-style:none;border-radius:4px;cursor:pointer;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-pagination-next,.ant-pagination-prev{outline:0}.ant-pagination-next a,.ant-pagination-prev a{color:rgba(0,0,0,.65);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-pagination-next:hover a,.ant-pagination-prev:hover a{border-color:#40a9ff}.ant-pagination-next .ant-pagination-item-link,.ant-pagination-prev .ant-pagination-item-link{display:block;height:100%;font-size:12px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;outline:none;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-pagination-next:focus .ant-pagination-item-link,.ant-pagination-next:hover .ant-pagination-item-link,.ant-pagination-prev:focus .ant-pagination-item-link,.ant-pagination-prev:hover .ant-pagination-item-link{color:#1890ff;border-color:#1890ff}.ant-pagination-disabled,.ant-pagination-disabled:focus,.ant-pagination-disabled:hover{cursor:not-allowed}.ant-pagination-disabled .ant-pagination-item-link,.ant-pagination-disabled:focus .ant-pagination-item-link,.ant-pagination-disabled:focus a,.ant-pagination-disabled:hover .ant-pagination-item-link,.ant-pagination-disabled:hover a,.ant-pagination-disabled a{color:rgba(0,0,0,.25);border-color:#d9d9d9;cursor:not-allowed}.ant-pagination-slash{margin:0 10px 0 5px}.ant-pagination-options{display:inline-block;margin-left:16px;vertical-align:middle}.ant-pagination-options-size-changer.ant-select{display:inline-block;width:auto;margin-right:8px}.ant-pagination-options-quick-jumper{display:inline-block;height:32px;line-height:32px;vertical-align:top}.ant-pagination-options-quick-jumper input{position:relative;display:inline-block;width:100%;height:32px;padding:4px 11px;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;width:50px;margin:0 8px}.ant-pagination-options-quick-jumper input::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-pagination-options-quick-jumper input:-ms-input-placeholder{color:#bfbfbf}.ant-pagination-options-quick-jumper input::-webkit-input-placeholder{color:#bfbfbf}.ant-pagination-options-quick-jumper input:placeholder-shown{-o-text-overflow:ellipsis;text-overflow:ellipsis}.ant-pagination-options-quick-jumper input:focus,.ant-pagination-options-quick-jumper input:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-pagination-options-quick-jumper input:focus{outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-pagination-options-quick-jumper input-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-pagination-options-quick-jumper input[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}textarea.ant-pagination-options-quick-jumper input{max-width:100%;height:auto;min-height:32px;line-height:1.5;vertical-align:bottom;-webkit-transition:all .3s,height 0s;-o-transition:all .3s,height 0s;transition:all .3s,height 0s}.ant-pagination-options-quick-jumper input-lg{height:40px;padding:6px 11px;font-size:16px}.ant-pagination-options-quick-jumper input-sm{height:24px;padding:1px 7px}.ant-pagination-simple .ant-pagination-next,.ant-pagination-simple .ant-pagination-prev{height:24px;line-height:24px;vertical-align:top}.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link,.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link{height:24px;border:0}.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link:after,.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link:after{height:24px;line-height:24px}.ant-pagination-simple .ant-pagination-simple-pager{display:inline-block;height:24px;margin-right:8px}.ant-pagination-simple .ant-pagination-simple-pager input{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;margin-right:8px;padding:0 6px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;outline:none;-webkit-transition:border-color .3s;-o-transition:border-color .3s;transition:border-color .3s}.ant-pagination-simple .ant-pagination-simple-pager input:hover{border-color:#1890ff}.ant-pagination.mini .ant-pagination-simple-pager,.ant-pagination.mini .ant-pagination-total-text{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-item{min-width:24px;height:24px;margin:0;line-height:22px}.ant-pagination.mini .ant-pagination-item:not(.ant-pagination-item-active){background:transparent;border-color:transparent}.ant-pagination.mini .ant-pagination-next,.ant-pagination.mini .ant-pagination-prev{min-width:24px;height:24px;margin:0;line-height:24px}.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link,.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link{background:transparent;border-color:transparent}.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link:after,.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link:after{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-jump-next,.ant-pagination.mini .ant-pagination-jump-prev{height:24px;margin-right:0;line-height:24px}.ant-pagination.mini .ant-pagination-options{margin-left:2px}.ant-pagination.mini .ant-pagination-options-quick-jumper{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-options-quick-jumper input{height:24px;padding:1px 7px;width:44px}.ant-pagination.ant-pagination-disabled{cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item{background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item a{color:rgba(0,0,0,.25);background:transparent;border:none;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active{background:#dbdbdb;border-color:transparent}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a{color:#fff}.ant-pagination.ant-pagination-disabled .ant-pagination-item-link,.ant-pagination.ant-pagination-disabled .ant-pagination-item-link:focus,.ant-pagination.ant-pagination-disabled .ant-pagination-item-link:hover{color:rgba(0,0,0,.45);background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:focus .ant-pagination-item-link-icon,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:hover .ant-pagination-item-link-icon,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:focus .ant-pagination-item-link-icon,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:hover .ant-pagination-item-link-icon{opacity:0}.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:focus .ant-pagination-item-ellipsis,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:hover .ant-pagination-item-ellipsis,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:focus .ant-pagination-item-ellipsis,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis{opacity:1}@media only screen and (max-width:992px){.ant-pagination-item-after-jump-prev,.ant-pagination-item-before-jump-next{display:none}}@media only screen and (max-width:576px){.ant-pagination-options{display:none}}',"",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_antd@3.25.3@antd/lib/pagination/style/index.css"],names:[],mappings:"AAIA,gBACE,8BAA+B,AACvB,sBAAuB,AAG/B,sBAA2B,AAC3B,eAAgB,AAChB,0BAA2B,AAC3B,gBAAiB,AAEjB,qCAAsC,AAC9B,4BAA8B,CACvC,AACD,sDAVE,SAAU,AACV,UAAW,AAKX,eAAiB,CASlB,AACD,sBACE,cAAe,AACf,WAAY,AACZ,SAAU,AACV,gBAAiB,AACjB,kBAAmB,AACnB,WAAa,CACd,AAQD,gDANE,qBAAsB,AACtB,YAAa,AACb,iBAAkB,AAClB,iBAAkB,AAClB,qBAAuB,CAqBxB,AAnBD,qBAEE,eAAgB,AAGhB,kBAAmB,AAEnB,kBAAmB,AAEnB,gBAAiB,AACjB,sBAAuB,AACvB,yBAA0B,AAC1B,kBAAmB,AACnB,UAAW,AACX,eAAgB,AAChB,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAC3B,AACD,uBACE,cAAe,AACf,cAAe,AACf,sBAA2B,AAC3B,wBAAyB,AACzB,mBAAoB,AACpB,eAAiB,CAClB,AACD,6BACE,oBAAsB,CACvB,AACD,sDAEE,qBAAsB,AACtB,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,0DAEE,aAAe,CAChB,AACD,4BACE,gBAAiB,AACjB,gBAAiB,AACjB,oBAAsB,CACvB,AACD,8BACE,aAAe,CAChB,AACD,oEAEE,oBAAsB,CACvB,AACD,wEAEE,aAAe,CAChB,AACD,oDAEE,SAAW,CACZ,AACD,kHAEE,iBAAmB,CACpB,AACD,gLAEE,qBAAsB,AACtB,eAAgB,AAChB,iBAAmB,AACnB,wCAAyC,AACrC,oCAAqC,AACjC,gCAAiC,AACzC,cAAe,AACf,oBAAqB,AACrB,UAAW,AACX,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,4LAEE,cAAgB,CACjB,AACD,wLAEE,MAAO,AACP,QAAS,AACT,SAAU,AACV,OAAQ,AACR,WAAa,CACd,AACD,8KAEE,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,SAAU,AACV,OAAQ,AACR,cAAe,AACf,YAAa,AACb,sBAA2B,AAC3B,mBAAoB,AACpB,kBAAmB,AACnB,kBAAoB,AACpB,UAAW,AACX,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,4PAIE,SAAW,CACZ,AACD,wPAIE,SAAW,CACZ,AACD,yEAGE,gBAAkB,CACnB,AACD,8FAIE,qBAAsB,AACtB,eAAgB,AAChB,YAAa,AACb,sBAA2B,AAC3B,kBAAmB,AACnB,iBAAkB,AAClB,kBAAmB,AACnB,sBAAuB,AACvB,gBAAiB,AACjB,kBAAmB,AACnB,eAAgB,AAChB,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,0CAEE,SAAW,CACZ,AACD,8CAEE,sBAA2B,AAC3B,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAC3B,AACD,0DAEE,oBAAsB,CACvB,AACD,8FAEE,cAAe,AACf,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,sBAAuB,AACvB,yBAA0B,AAC1B,kBAAmB,AACnB,aAAc,AACd,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,oNAIE,cAAe,AACf,oBAAsB,CACvB,AACD,uFAGE,kBAAoB,CACrB,AACD,kQAME,sBAA2B,AAC3B,qBAAsB,AACtB,kBAAoB,CACrB,AACD,sBACE,mBAAqB,CACtB,AACD,wBACE,qBAAsB,AACtB,iBAAkB,AAClB,qBAAuB,CACxB,AACD,gDACE,qBAAsB,AACtB,WAAY,AACZ,gBAAkB,CACnB,AACD,qCACE,qBAAsB,AACtB,YAAa,AACb,iBAAkB,AAClB,kBAAoB,CACrB,AACD,2CACE,kBAAmB,AACnB,qBAAsB,AACtB,WAAY,AACZ,YAAa,AACb,iBAAkB,AAClB,sBAA2B,AAC3B,eAAgB,AAChB,gBAAiB,AACjB,sBAAuB,AACvB,sBAAuB,AACvB,yBAA0B,AAC1B,kBAAmB,AACnB,2BAA6B,AAC7B,sBAAwB,AACxB,mBAAqB,AACrB,WAAY,AACZ,YAAc,CACf,AACD,6DACE,cAAe,AACf,SAAW,CACZ,AACD,iEACE,aAAe,CAChB,AACD,sEACE,aAAe,CAChB,AACD,6DACE,0BAA2B,AACxB,sBAAwB,CAC5B,AAKD,kGAHE,qBAAsB,AACtB,gCAAmC,CAQpC,AAND,iDAGE,UAAW,AACX,iDAAsD,AAC9C,wCAA8C,CACvD,AACD,oDACE,sBAA2B,AAC3B,yBAA0B,AAC1B,mBAAoB,AACpB,SAAW,CACZ,AACD,0DACE,qBAAsB,AACtB,gCAAmC,CACpC,AACD,qDACE,sBAA2B,AAC3B,yBAA0B,AAC1B,mBAAoB,AACpB,SAAW,CACZ,AACD,2DACE,qBAAsB,AACtB,gCAAmC,CACpC,AACD,mDACE,eAAgB,AAChB,YAAa,AACb,gBAAiB,AACjB,gBAAiB,AACjB,sBAAuB,AACvB,qCAAwC,AACxC,gCAAmC,AACnC,4BAAgC,CACjC,AACD,8CACE,YAAa,AACb,iBAAkB,AAClB,cAAgB,CACjB,AACD,8CACE,YAAa,AACb,eAAiB,CAClB,AACD,wFAEE,YAAa,AACb,iBAAkB,AAClB,kBAAoB,CACrB,AACD,4IAEE,YAAa,AACb,QAAU,CACX,AACD,wJAEE,YAAa,AACb,gBAAkB,CACnB,AACD,oDACE,qBAAsB,AACtB,YAAa,AACb,gBAAkB,CACnB,AACD,0DACE,8BAA+B,AACvB,sBAAuB,AAC/B,YAAa,AACb,iBAAkB,AAClB,cAAe,AACf,kBAAmB,AACnB,sBAAuB,AACvB,yBAA0B,AAC1B,kBAAmB,AACnB,aAAc,AACd,oCAAsC,AACtC,+BAAiC,AACjC,2BAA8B,CAC/B,AACD,gEACE,oBAAsB,CACvB,AACD,kGAEE,YAAa,AACb,gBAAkB,CACnB,AACD,0CACE,eAAgB,AAChB,YAAa,AACb,SAAU,AACV,gBAAkB,CACnB,AACD,2EACE,uBAAwB,AACxB,wBAA0B,CAC3B,AACD,oFAEE,eAAgB,AAChB,YAAa,AACb,SAAU,AACV,gBAAkB,CACnB,AACD,wIAEE,uBAAwB,AACxB,wBAA0B,CAC3B,AACD,oJAEE,YAAa,AACb,gBAAkB,CACnB,AACD,8FAEE,YAAa,AACb,eAAgB,AAChB,gBAAkB,CACnB,AACD,6CACE,eAAiB,CAClB,AACD,0DACE,YAAa,AACb,gBAAkB,CACnB,AACD,gEACE,YAAa,AACb,gBAAiB,AACjB,UAAY,CACb,AACD,wCACE,kBAAoB,CACrB,AACD,6DACE,mBAAoB,AACpB,qBAAsB,AACtB,kBAAoB,CACrB,AACD,+DACE,sBAA2B,AAC3B,uBAAwB,AACxB,YAAa,AACb,kBAAoB,CACrB,AACD,oEACE,mBAAoB,AACpB,wBAA0B,CAC3B,AACD,sEACE,UAAY,CACb,AACD,kNAGE,sBAA2B,AAC3B,mBAAoB,AACpB,qBAAsB,AACtB,kBAAoB,CACrB,AACD,4ZAIE,SAAW,CACZ,AACD,wZAIE,SAAW,CACZ,AACD,yCACE,2EAEE,YAAc,CACf,CACF,AACD,yCACE,wBACE,YAAc,CACf,CACF",file:"index.css",sourcesContent:["/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-pagination {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgba(0, 0, 0, 0.65);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5;\n list-style: none;\n -webkit-font-feature-settings: 'tnum';\n font-feature-settings: 'tnum';\n}\n.ant-pagination ul,\n.ant-pagination ol {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n.ant-pagination::after {\n display: block;\n clear: both;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n content: ' ';\n}\n.ant-pagination-total-text {\n display: inline-block;\n height: 32px;\n margin-right: 8px;\n line-height: 30px;\n vertical-align: middle;\n}\n.ant-pagination-item {\n display: inline-block;\n min-width: 32px;\n height: 32px;\n margin-right: 8px;\n font-family: Arial;\n line-height: 30px;\n text-align: center;\n vertical-align: middle;\n list-style: none;\n background-color: #fff;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n outline: 0;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.ant-pagination-item a {\n display: block;\n padding: 0 6px;\n color: rgba(0, 0, 0, 0.65);\n -webkit-transition: none;\n -o-transition: none;\n transition: none;\n}\n.ant-pagination-item a:hover {\n text-decoration: none;\n}\n.ant-pagination-item:focus,\n.ant-pagination-item:hover {\n border-color: #1890ff;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n}\n.ant-pagination-item:focus a,\n.ant-pagination-item:hover a {\n color: #1890ff;\n}\n.ant-pagination-item-active {\n font-weight: 500;\n background: #fff;\n border-color: #1890ff;\n}\n.ant-pagination-item-active a {\n color: #1890ff;\n}\n.ant-pagination-item-active:focus,\n.ant-pagination-item-active:hover {\n border-color: #40a9ff;\n}\n.ant-pagination-item-active:focus a,\n.ant-pagination-item-active:hover a {\n color: #40a9ff;\n}\n.ant-pagination-jump-prev,\n.ant-pagination-jump-next {\n outline: 0;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container,\n.ant-pagination-jump-next .ant-pagination-item-container {\n position: relative;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon,\n.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon {\n display: inline-block;\n font-size: 12px;\n font-size: 12px \\9;\n -webkit-transform: scale(1) rotate(0deg);\n -ms-transform: scale(1) rotate(0deg);\n transform: scale(1) rotate(0deg);\n color: #1890ff;\n letter-spacing: -1px;\n opacity: 0;\n -webkit-transition: all 0.2s;\n -o-transition: all 0.2s;\n transition: all 0.2s;\n}\n:root .ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon,\n:root .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon {\n font-size: 12px;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg,\n.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg {\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n margin: auto;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis,\n.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: block;\n margin: auto;\n color: rgba(0, 0, 0, 0.25);\n letter-spacing: 2px;\n text-align: center;\n text-indent: 0.13em;\n opacity: 1;\n -webkit-transition: all 0.2s;\n -o-transition: all 0.2s;\n transition: all 0.2s;\n}\n.ant-pagination-jump-prev:focus .ant-pagination-item-link-icon,\n.ant-pagination-jump-next:focus .ant-pagination-item-link-icon,\n.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon,\n.ant-pagination-jump-next:hover .ant-pagination-item-link-icon {\n opacity: 1;\n}\n.ant-pagination-jump-prev:focus .ant-pagination-item-ellipsis,\n.ant-pagination-jump-next:focus .ant-pagination-item-ellipsis,\n.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis,\n.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis {\n opacity: 0;\n}\n.ant-pagination-prev,\n.ant-pagination-jump-prev,\n.ant-pagination-jump-next {\n margin-right: 8px;\n}\n.ant-pagination-prev,\n.ant-pagination-next,\n.ant-pagination-jump-prev,\n.ant-pagination-jump-next {\n display: inline-block;\n min-width: 32px;\n height: 32px;\n color: rgba(0, 0, 0, 0.65);\n font-family: Arial;\n line-height: 32px;\n text-align: center;\n vertical-align: middle;\n list-style: none;\n border-radius: 4px;\n cursor: pointer;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n}\n.ant-pagination-prev,\n.ant-pagination-next {\n outline: 0;\n}\n.ant-pagination-prev a,\n.ant-pagination-next a {\n color: rgba(0, 0, 0, 0.65);\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.ant-pagination-prev:hover a,\n.ant-pagination-next:hover a {\n border-color: #40a9ff;\n}\n.ant-pagination-prev .ant-pagination-item-link,\n.ant-pagination-next .ant-pagination-item-link {\n display: block;\n height: 100%;\n font-size: 12px;\n text-align: center;\n background-color: #fff;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n outline: none;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n}\n.ant-pagination-prev:focus .ant-pagination-item-link,\n.ant-pagination-next:focus .ant-pagination-item-link,\n.ant-pagination-prev:hover .ant-pagination-item-link,\n.ant-pagination-next:hover .ant-pagination-item-link {\n color: #1890ff;\n border-color: #1890ff;\n}\n.ant-pagination-disabled,\n.ant-pagination-disabled:hover,\n.ant-pagination-disabled:focus {\n cursor: not-allowed;\n}\n.ant-pagination-disabled a,\n.ant-pagination-disabled:hover a,\n.ant-pagination-disabled:focus a,\n.ant-pagination-disabled .ant-pagination-item-link,\n.ant-pagination-disabled:hover .ant-pagination-item-link,\n.ant-pagination-disabled:focus .ant-pagination-item-link {\n color: rgba(0, 0, 0, 0.25);\n border-color: #d9d9d9;\n cursor: not-allowed;\n}\n.ant-pagination-slash {\n margin: 0 10px 0 5px;\n}\n.ant-pagination-options {\n display: inline-block;\n margin-left: 16px;\n vertical-align: middle;\n}\n.ant-pagination-options-size-changer.ant-select {\n display: inline-block;\n width: auto;\n margin-right: 8px;\n}\n.ant-pagination-options-quick-jumper {\n display: inline-block;\n height: 32px;\n line-height: 32px;\n vertical-align: top;\n}\n.ant-pagination-options-quick-jumper input {\n position: relative;\n display: inline-block;\n width: 100%;\n height: 32px;\n padding: 4px 11px;\n color: rgba(0, 0, 0, 0.65);\n font-size: 14px;\n line-height: 1.5;\n background-color: #fff;\n background-image: none;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n width: 50px;\n margin: 0 8px;\n}\n.ant-pagination-options-quick-jumper input::-moz-placeholder {\n color: #bfbfbf;\n opacity: 1;\n}\n.ant-pagination-options-quick-jumper input:-ms-input-placeholder {\n color: #bfbfbf;\n}\n.ant-pagination-options-quick-jumper input::-webkit-input-placeholder {\n color: #bfbfbf;\n}\n.ant-pagination-options-quick-jumper input:placeholder-shown {\n -o-text-overflow: ellipsis;\n text-overflow: ellipsis;\n}\n.ant-pagination-options-quick-jumper input:hover {\n border-color: #40a9ff;\n border-right-width: 1px !important;\n}\n.ant-pagination-options-quick-jumper input:focus {\n border-color: #40a9ff;\n border-right-width: 1px !important;\n outline: 0;\n -webkit-box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-pagination-options-quick-jumper input-disabled {\n color: rgba(0, 0, 0, 0.25);\n background-color: #f5f5f5;\n cursor: not-allowed;\n opacity: 1;\n}\n.ant-pagination-options-quick-jumper input-disabled:hover {\n border-color: #d9d9d9;\n border-right-width: 1px !important;\n}\n.ant-pagination-options-quick-jumper input[disabled] {\n color: rgba(0, 0, 0, 0.25);\n background-color: #f5f5f5;\n cursor: not-allowed;\n opacity: 1;\n}\n.ant-pagination-options-quick-jumper input[disabled]:hover {\n border-color: #d9d9d9;\n border-right-width: 1px !important;\n}\ntextarea.ant-pagination-options-quick-jumper input {\n max-width: 100%;\n height: auto;\n min-height: 32px;\n line-height: 1.5;\n vertical-align: bottom;\n -webkit-transition: all 0.3s, height 0s;\n -o-transition: all 0.3s, height 0s;\n transition: all 0.3s, height 0s;\n}\n.ant-pagination-options-quick-jumper input-lg {\n height: 40px;\n padding: 6px 11px;\n font-size: 16px;\n}\n.ant-pagination-options-quick-jumper input-sm {\n height: 24px;\n padding: 1px 7px;\n}\n.ant-pagination-simple .ant-pagination-prev,\n.ant-pagination-simple .ant-pagination-next {\n height: 24px;\n line-height: 24px;\n vertical-align: top;\n}\n.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link,\n.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link {\n height: 24px;\n border: 0;\n}\n.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link::after,\n.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link::after {\n height: 24px;\n line-height: 24px;\n}\n.ant-pagination-simple .ant-pagination-simple-pager {\n display: inline-block;\n height: 24px;\n margin-right: 8px;\n}\n.ant-pagination-simple .ant-pagination-simple-pager input {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n height: 100%;\n margin-right: 8px;\n padding: 0 6px;\n text-align: center;\n background-color: #fff;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n outline: none;\n -webkit-transition: border-color 0.3s;\n -o-transition: border-color 0.3s;\n transition: border-color 0.3s;\n}\n.ant-pagination-simple .ant-pagination-simple-pager input:hover {\n border-color: #1890ff;\n}\n.ant-pagination.mini .ant-pagination-total-text,\n.ant-pagination.mini .ant-pagination-simple-pager {\n height: 24px;\n line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-item {\n min-width: 24px;\n height: 24px;\n margin: 0;\n line-height: 22px;\n}\n.ant-pagination.mini .ant-pagination-item:not(.ant-pagination-item-active) {\n background: transparent;\n border-color: transparent;\n}\n.ant-pagination.mini .ant-pagination-prev,\n.ant-pagination.mini .ant-pagination-next {\n min-width: 24px;\n height: 24px;\n margin: 0;\n line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link,\n.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link {\n background: transparent;\n border-color: transparent;\n}\n.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link::after,\n.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link::after {\n height: 24px;\n line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-jump-prev,\n.ant-pagination.mini .ant-pagination-jump-next {\n height: 24px;\n margin-right: 0;\n line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-options {\n margin-left: 2px;\n}\n.ant-pagination.mini .ant-pagination-options-quick-jumper {\n height: 24px;\n line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-options-quick-jumper input {\n height: 24px;\n padding: 1px 7px;\n width: 44px;\n}\n.ant-pagination.ant-pagination-disabled {\n cursor: not-allowed;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item {\n background: #f5f5f5;\n border-color: #d9d9d9;\n cursor: not-allowed;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item a {\n color: rgba(0, 0, 0, 0.25);\n background: transparent;\n border: none;\n cursor: not-allowed;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-active {\n background: #dbdbdb;\n border-color: transparent;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a {\n color: #fff;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-link,\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-link:hover,\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-link:focus {\n color: rgba(0, 0, 0, 0.45);\n background: #f5f5f5;\n border-color: #d9d9d9;\n cursor: not-allowed;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:focus .ant-pagination-item-link-icon,\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:focus .ant-pagination-item-link-icon,\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:hover .ant-pagination-item-link-icon,\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:hover .ant-pagination-item-link-icon {\n opacity: 0;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:focus .ant-pagination-item-ellipsis,\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:focus .ant-pagination-item-ellipsis,\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis,\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:hover .ant-pagination-item-ellipsis {\n opacity: 1;\n}\n@media only screen and (max-width: 992px) {\n .ant-pagination-item-after-jump-prev,\n .ant-pagination-item-before-jump-next {\n display: none;\n }\n}\n@media only screen and (max-width: 576px) {\n .ant-pagination-options {\n display: none;\n }\n}\n"],sourceRoot:""}])},855:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var h=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==l(t)&&"function"!=typeof t)return{default:t};var e=s();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var o=i?Object.getOwnPropertyDescriptor(t,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=t[a]}n.default=t,e&&e.set(t,n);return n}(n(0)),d=i(n(802)),a=i(n(296)),p=i(n(3)),f=i(n(856)),o=i(n(26)),g=i(n(283)),r=i(n(68)),m=n(10);function i(t){return t&&t.__esModule?t:{default:t}}function s(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return s=function(){return t},t}function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(){return(v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function u(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function y(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function x(t){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var _=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(i=Object.getOwnPropertySymbols(t);a<i.length;a++)e.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(t,i[a])&&(n[i[a]]=t[i[a]])}return n},A=function(){function t(){var c;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(c=y(this,x(t).apply(this,arguments))).getIconsProps=function(t){return{prevIcon:h.createElement("a",{className:"".concat(t,"-item-link")},h.createElement(o.default,{type:"left"})),nextIcon:h.createElement("a",{className:"".concat(t,"-item-link")},h.createElement(o.default,{type:"right"})),jumpPrevIcon:h.createElement("a",{className:"".concat(t,"-item-link")},h.createElement("div",{className:"".concat(t,"-item-container")},h.createElement(o.default,{className:"".concat(t,"-item-link-icon"),type:"double-left"}),h.createElement("span",{className:"".concat(t,"-item-ellipsis")},"•••"))),jumpNextIcon:h.createElement("a",{className:"".concat(t,"-item-link")},h.createElement("div",{className:"".concat(t,"-item-container")},h.createElement(o.default,{className:"".concat(t,"-item-link-icon"),type:"double-right"}),h.createElement("span",{className:"".concat(t,"-item-ellipsis")},"•••")))}},c.renderPagination=function(t){var e=c.props,a=e.prefixCls,o=e.selectPrefixCls,r=e.className,n=e.size,i=e.locale,s=_(e,["prefixCls","selectPrefixCls","className","size","locale"]),l=v(v({},t),i),u="small"===n;return h.createElement(m.ConfigConsumer,null,function(t){var e=t.getPrefixCls,n=e("pagination",a),i=e("select",o);return h.createElement(d.default,v({},s,{prefixCls:n,selectPrefixCls:i},c.getIconsProps(n),{className:(0,p.default)(r,{mini:u}),selectComponentClass:u?f.default:g.default,locale:l}))})},c}var e,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(t,h.Component),e=t,(n=[{key:"render",value:function(){return h.createElement(r.default,{componentName:"Pagination",defaultLocale:a.default},this.renderPagination)}}])&&u(e.prototype,n),i&&u(e,i),t}();e.default=A},856:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i,a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==s(t)&&"function"!=typeof t)return{default:t};var e=r();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var o=i?Object.getOwnPropertyDescriptor(t,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=t[a]}n.default=t,e&&e.set(t,n);return n}(n(0)),o=(i=n(283))&&i.__esModule?i:{default:i};function r(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return r=function(){return t},t}function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function u(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function c(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var p=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,h(t).apply(this,arguments))}var e,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(t,a.Component),e=t,(n=[{key:"render",value:function(){return a.createElement(o.default,l({size:"small"},this.props))}}])&&u(e.prototype,n),i&&u(e,i),t}();(e.default=p).Option=o.default.Option},965:function(t,e,n){var f=n(768);var i=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function o(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return 10<=t/Math.pow(10,e)&&e++,e}e.linearMap=function(t,e,n,i){var a=e[1]-e[0],o=n[1]-n[0];if(0==a)return 0==o?n[0]:(n[0]+n[1])/2;if(i)if(0<a){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/a*o+n[0]},e.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t},e.round=function(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t},e.asc=function(t){return t.sort(function(t,e){return t-e}),t},e.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n},e.getPrecisionSafe=function(t){var e=t.toString(),n=e.indexOf("e");if(0<n){var i=+e.slice(n+1);return i<0?-i:0}var a=e.indexOf(".");return a<0?0:e.length-1-a},e.getPixelPrecision=function(t,e){var n=Math.log,i=Math.LN10,a=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),r=Math.min(Math.max(-a+o,0),20);return isFinite(r)?r:20},e.getPercentWithPrecision=function(t,e,n){if(!t[e])return 0;var i=f.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===i)return 0;for(var a=Math.pow(10,n),o=f.map(t,function(t){return(isNaN(t)?0:t)/i*a*100}),r=100*a,s=f.map(o,function(t){return Math.floor(t)}),l=f.reduce(s,function(t,e){return t+e},0),u=f.map(o,function(t,e){return t-s[e]});l<r;){for(var c=Number.NEGATIVE_INFINITY,h=null,d=0,p=u.length;d<p;++d)u[d]>c&&(c=u[d],h=d);++s[h],u[h]=0,++l}return s[e]/a},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return-1e-4<t&&t<1e-4},e.parseDate=function(t){if(t instanceof Date)return t;if("string"!=typeof t)return null==t?new Date(NaN):new Date(Math.round(t));var e=i.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,+e[7]||0))}return new Date(+e[1],(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)},e.quantity=function(t){return Math.pow(10,o(t))},e.quantityExponent=o,e.nice=function(t,e){var n=o(t),i=Math.pow(10,n),a=t/i;return t=(e?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10)*i,-20<=n?+t.toFixed(n<0?-n:0):t},e.quantile=function(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),a=+t[i-1],o=n-i;return o?a+o*(t[i]-a):a},e.reformIntervals=function(t){t.sort(function(t,e){return function t(e,n,i){return e.interval[i]<n.interval[i]||e.interval[i]===n.interval[i]&&(e.close[i]-n.close[i]==(i?-1:1)||!i&&t(e,n,1))}(t,e,0)?-1:1});for(var e=-1/0,n=1,i=0;i<t.length;){for(var a=t[i].interval,o=t[i].close,r=0;r<2;r++)a[r]<=e&&(a[r]=e,o[r]=r?1:1-n),e=a[r],n=o[r];a[0]===a[1]&&o[0]*o[1]!=1?t.splice(i,1):i++}return t},e.isNumeric=function(t){return 0<=t-parseFloat(t)}},987:function(t,e,n){var h=n(768),i=n(1240),d=h.each,s=h.isObject,a=h.isArray;function p(t){return t instanceof Array?t:null==t?[]:[t]}function r(t){return s(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}var o=0;function f(t,e){return t&&t.hasOwnProperty(e)}e.normalizeToArray=p,e.defaultEmphasis=function(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,a=n.length;i<a;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}},e.TEXT_STYLE_OPTIONS=["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"],e.getDataItemValue=function(t){return!s(t)||a(t)||t instanceof Date?t:t.value},e.isDataItemOption=function(t){return s(t)&&!(t instanceof Array)},e.mappingToExists=function(t,a){a=(a||[]).slice();var o=h.map(t||[],function(t,e){return{exist:t}});return d(a,function(t,e){if(s(t)){for(var n=0;n<o.length;n++)if(!o[n].option&&null!=t.id&&o[n].exist.id===t.id+"")return o[n].option=t,void(a[e]=null);for(n=0;n<o.length;n++){var i=o[n].exist;if(!(o[n].option||null!=i.id&&null!=t.id||null==t.name||r(t)||r(i)||i.name!==t.name+""))return o[n].option=t,void(a[e]=null)}}}),d(a,function(t,e){if(s(t)){for(var n=0;n<o.length;n++){var i=o[n].exist;if(!o[n].option&&!r(i)&&null==t.id){o[n].option=t;break}}n>=o.length&&o.push({option:t})}}),o},e.makeIdAndName=function(t){var r=h.createHashMap();d(t,function(t,e){var n=t.exist;n&&r.set(n.id,t)}),d(t,function(t,e){var n=t.option;h.assert(!n||null==n.id||!r.get(n.id)||r.get(n.id)===t,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&r.set(n.id,t),t.keyInfo||(t.keyInfo={})}),d(t,function(t,e){var n=t.exist,i=t.option,a=t.keyInfo;if(s(i)){if(a.name=null!=i.name?i.name+"":n?n.name:"series\0"+e,n)a.id=n.id;else if(null!=i.id)a.id=i.id+"";else for(var o=0;a.id="\0"+a.name+"\0"+o++,r.get(a.id););r.set(a.id,t)}})},e.isNameSpecified=function(t){var e=t.name;return!(!e||!e.indexOf("series\0"))},e.isIdInner=r,e.compressBatches=function(t,e){var n={},i={};return a(t||[],n),a(e||[],i,n),[o(n),o(i)];function a(t,e,n){for(var i=0,a=t.length;i<a;i++)for(var o=t[i].seriesId,r=p(t[i].dataIndex),s=n&&n[o],l=0,u=r.length;l<u;l++){var c=r[l];s&&s[c]?s[c]=null:(e[o]||(e[o]={}))[c]=1}}function o(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i])if(e)n.push(+i);else{var a=o(t[i],!0);a.length&&n.push({seriesId:i,dataIndex:a})}return n}},e.queryDataIndex=function(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?h.isArray(t.dataIndex)?h.map(t.dataIndex,function(t){return e.indexOfRawIndex(t)}):e.indexOfRawIndex(t.dataIndex):null!=t.name?h.isArray(t.name)?h.map(t.name,function(t){return e.indexOfName(t)}):e.indexOfName(t.name):void 0},e.makeInner=function(){var e="__\0ec_inner_"+o+++"_"+Math.random().toFixed(5);return function(t){return t[e]||(t[e]={})}},e.parseFinder=function(s,l,u){if(h.isString(l)){var t={};t[l+"Index"]=0,l=t}var e=u&&u.defaultMainType;!e||f(l,e+"Index")||f(l,e+"Id")||f(l,e+"Name")||(l[e+"Index"]=0);var c={};return d(l,function(t,e){t=l[e];if("dataIndex"!==e&&"dataIndexInside"!==e){var n=e.match(/^(\w+)(Index|Id|Name)$/)||[],i=n[1],a=(n[2]||"").toLowerCase();if(!(!i||!a||null==t||"index"===a&&"none"===t||u&&u.includeMainTypes&&h.indexOf(u.includeMainTypes,i)<0)){var o={mainType:i};"index"===a&&"all"===t||(o[a]=t);var r=s.queryComponents(o);c[i+"Models"]=r,c[i+"Model"]=r[0]}}else c[e]=t}),c},e.setAttribute=function(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n},e.getAttribute=function(t,e){return t.getAttribute?t.getAttribute(e):t[e]},e.getTooltipRenderMode=function(t){return"auto"===t?i.domSupported?"html":"richText":t||"html"},e.groupData=function(t,n){var i=h.createHashMap(),a=[];return h.each(t,function(t){var e=n(t);(i.get(e)||(a.push(e),i.set(e,[]))).push(t)}),{keys:a,buckets:i}}}});