1234567891011 |
- webpackJsonp([2],{"+yE6":function(t,e,n){"use strict";var i=n("HaDi"),r=n("ASYS"),a=n("uAiK"),o=n("ngA1"),s=n("8DvQ"),l=n("5s+V"),u=n("DW/+"),h=n("CqC1"),c=/\{@(.+?)\}/g,f={getDataParams:function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),a=n.getName(t),s=n.getRawDataItem(t),l=n.getItemVisual(t,"color");return{componentType:this.mainType,componentSubType:this.subType,seriesType:"series"===this.mainType?this.subType:null,seriesIndex:this.seriesIndex,seriesId:this.id,seriesName:this.name,name:a,dataIndex:r,data:s,dataType:e,value:i,color:l,marker:Object(o.e)(l),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,n,i,r){e=e||"normal";var a=this.getData(n),s=a.getItemModel(t),l=this.getDataParams(t,n);null!=i&&l.value instanceof Array&&(l.value=l.value[i]);var u=s.get("normal"===e?[r||"label","formatter"]:[e,r||"label","formatter"]);return"function"==typeof u?(l.status=e,u(l)):"string"==typeof u?Object(o.d)(u,l).replace(c,function(e,n){var i=n.length;return"["===n.charAt(0)&&"]"===n.charAt(i-1)&&(n=+n.slice(1,i-1)),Object(h.c)(a,t,n)}):void 0},getRawValue:function(t,e){return Object(h.c)(this.getData(e),t)},formatTooltip:function(){}},d=n("UrHu"),p=n("PBwm"),g=n("rsyf"),v=s.i(),m=l.a.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.color",layoutMode:null,init:function(t,e,n,a){this.seriesIndex=this.componentIndex,this.dataTask=Object(p.a)({count:y,reset:x}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),Object(g.d)(this);var o=this.getInitialData(t,n);w(o,this),this.dataTask.context.data=o,i.a&&r.b(o,"getInitialData returned invalid data."),v(this).dataBeforeProcessed=o,_(this)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,i=n?Object(d.a)(t):{},a=this.subType;l.a.hasClass(a)&&(a+="Series"),r.x(t,e.getTheme().get(this.subType)),r.x(t,this.getDefaultOption()),s.b(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Object(d.c)(t,i,n)},mergeOption:function(t,e){t=r.x(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&Object(d.c)(this.option,t,n),Object(g.d)(this);var i=this.getInitialData(t,e);w(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,v(this).dataBeforeProcessed=i,_(this)},fillDataTextStyle:function(t){if(t&&!r.v(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&s.b(t[n],"label",e)},getInitialData:function(){},appendData:function(t){this.getRawData().appendData(t.data)},getData:function(t){var e=M(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return v(this).data},setData:function(t){var e=M(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)}v(this).data=t},getSource:function(){return Object(g.b)(this)},getRawData:function(){return v(this).dataBeforeProcessed},getBaseAxis:function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},formatTooltip:function(t,e,n){function i(t){return Object(o.b)(Object(o.a)(t))}var a=this.getData(),l=a.mapDimension("defaultedTooltip",!0),u=l.length,c=this.getRawValue(t),f=r.p(c),d=a.getItemVisual(t,"color");r.t(d)&&d.colorStops&&(d=(d.colorStops[0]||{}).color),d=d||"transparent";var p=u>1||f&&!u?function(n){var i=r.C(n,function(t,e,n){var i=a.getDimensionInfo(n);return t|(i&&!1!==i.tooltip&&null!=i.displayName)},0),s=[];function u(t,n){var r=a.getDimensionInfo(n);if(r&&!1!==r.otherDims.tooltip){var l=r.type,u=Object(o.e)({color:d,type:"subItem"}),h=(i?u+Object(o.b)(r.displayName||"-")+": ":"")+Object(o.b)("ordinal"===l?t+"":"time"===l?e?"":Object(o.c)("yyyy/MM/dd hh:mm:ss",t):Object(o.a)(t));h&&s.push(h)}}return l.length?r.i(l,function(e){u(Object(h.c)(a,t,e),e)}):r.i(n,u),(i?"<br/>":"")+s.join(i?"<br/>":", ")}(c):i(u?Object(h.c)(a,t,l[0]):f?c[0]:c),g=Object(o.e)(d),v=a.getName(t),m=this.name;return s.g(this)||(m=""),m=m?Object(o.b)(m)+(e?": ":"<br/>"):"",e?g+m+p:m+g+(v?Object(o.b)(v)+": "+p:p)},isAnimationEnabled:function(){if(a.a.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,r=u.a.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function _(t){var e=t.name;s.g(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimension("seriesName",!0),i=[];return r.i(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")}(t)||e)}function y(t){return t.model.getRawData().count()}function x(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),b}function b(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function w(t,e){r.i(t.CHANGABLE_METHODS,function(n){t.wrapMethod(n,r.g(S,e))})}function S(t){var e=M(t);e&&e.setOutputEnd(this.count())}function M(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}r.z(m,f),r.z(m,u.a);e.a=m},"0OJG":function(t,e,n){"use strict";var i={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};e.a=function(t,e,n){return i.hasOwnProperty(e)?n*t.dpr:n}},"16G8":function(t,e,n){"use strict";var i=n("ASYS"),r=n("jDU7"),a=n("Rjdj"),o=function(t){for(var e in t=t||{},r.a.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};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);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=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,r=this._children,a=i.n(r,t);return a<0?this:(r.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 r=n[i];t.call(e,r,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 a.a(0,0,0,0),i=t||this._children,r=[],o=0;o<i.length;o++){var s=i[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(r);u?(n.copy(l),n.applyTransform(u),(e=e||n.clone()).union(n)):(e=e||l.clone()).union(l)}}return e||n}},i.o(o,r.a),e.a=o},"2Am2":function(t,e,n){"use strict";e.b=p,e.a=function(t,e){var n=p(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,n[i]>255?n[i]=255:t[i]<0&&(n[i]=0);return v(n,4===n.length?"rgba":"rgb")}},e.c=v;var i={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 r(t){return(t=Math.round(t))<0?0:t>255?255:t}function a(t){return t<0?0:t>1?1:t}function o(t){return t.length&&"%"===t.charAt(t.length-1)?r(parseFloat(t)/100*255):r(parseInt(t,10))}function s(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100):a(parseFloat(t))}function l(t,e,n){return n<0?n+=1:n>1&&(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 u(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function h(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var c=new(n("3Jn5").a)(20),f=null;function d(t,e){f&&h(f,e),f=c.put(t,f||e.slice())}function p(t,e){if(t){e=e||[];var n=c.get(t);if(n)return h(e,n);var r,a=(t+="").replace(/ /g,"").toLowerCase();if(a in i)return h(e,i[a]),d(t,e),e;if("#"===a.charAt(0))return 4===a.length?(r=parseInt(a.substr(1),16))>=0&&r<=4095?(u(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,1),d(t,e),e):void u(e,0,0,0,1):7===a.length?(r=parseInt(a.substr(1),16))>=0&&r<=16777215?(u(e,(16711680&r)>>16,(65280&r)>>8,255&r,1),d(t,e),e):void u(e,0,0,0,1):void 0;var l=a.indexOf("("),f=a.indexOf(")");if(-1!==l&&f+1===a.length){var p=a.substr(0,l),v=a.substr(l+1,f-(l+1)).split(","),m=1;switch(p){case"rgba":if(4!==v.length)return void u(e,0,0,0,1);m=s(v.pop());case"rgb":return 3!==v.length?void u(e,0,0,0,1):(u(e,o(v[0]),o(v[1]),o(v[2]),m),d(t,e),e);case"hsla":return 4!==v.length?void u(e,0,0,0,1):(v[3]=s(v[3]),g(v,e),d(t,e),e);case"hsl":return 3!==v.length?void u(e,0,0,0,1):(g(v,e),d(t,e),e);default:return}}u(e,0,0,0,1)}}function g(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=s(t[1]),a=s(t[2]),o=a<=.5?a*(i+1):a+i-a*i,h=2*a-o;return u(e=e||[],r(255*l(h,o,n+1/3)),r(255*l(h,o,n)),r(255*l(h,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function v(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+")"}}},"3Jn5":function(t,e,n){"use strict";var i=function(){this.head=null,this.tail=null,this._len=0},r=i.prototype;r.insert=function(t){var e=new a(t);return this.insertEntry(e),e},r.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},r.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--},r.len=function(){return this._len},r.clear=function(){this.head=this.tail=null,this._len=0};var a=function(t){this.value=t,this.next,this.prev},o=function(t){this._list=new i,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},s=o.prototype;s.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete i[l.key],r=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new a(e),s.key=t,n.insertEntry(s),i[t]=s}return r},s.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},s.clear=function(){this._list.clear(),this._map={}},e.a=o},"4lQT":function(t,e,n){"use strict";var i=n("ASYS"),r=n("8DvQ"),a=n("5s+V"),o=i.i,s=i.d,l=i.w,u=i.x,h=/^(min|max)?(.+)$/;function c(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function f(t,e,n){var r={width:e,height:n,aspectratio:e/n},a=!0;return i.i(t,function(t,e){var n=e.match(h);if(n&&n[1]&&n[2]){var i=n[1],o=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(r[o],t,i)||(a=!1)}}),a}c.prototype={constructor:c,setOption:function(t,e){t&&i.i(r.k(t.series),function(t){t&&t.data&&i.v(t.data)&&i.G(t.data)}),t=s(t,!0);var n,h,c=this._optionBackup,f=function(t,e,n){var r,a,s=[],l=[],u=t.timeline;t.baseOption&&(a=t.baseOption);(u||t.options)&&(a=a||{},s=(t.options||[]).slice());if(t.media){a=a||{};var h=t.media;o(h,function(t){t&&t.option&&(t.query?l.push(t):r||(r=t))})}a||(a=t);a.timeline||(a.timeline=u);return o([a].concat(s).concat(i.w(l,function(t){return t.option})),function(t){o(e,function(e){e(t,n)})}),{baseOption:a,timelineOptions:s,mediaDefault:r,mediaList:l}}.call(this,t,e,!c);this._newBaseOption=f.baseOption,c?(n=c.baseOption,h=f.baseOption,o(h=h||{},function(t,e){if(null!=t){var i=n[e];if(a.a.hasClass(e)){t=r.k(t),i=r.k(i);var o=r.j(i,t);n[e]=l(o,function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option})}else n[e]=u(i,t,!0)}}),f.timelineOptions.length&&(c.timelineOptions=f.timelineOptions),f.mediaList.length&&(c.mediaList=f.mediaList),f.mediaDefault&&(c.mediaDefault=f.mediaDefault)):this._optionBackup=f},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=s(n[i.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),a=this._mediaList,o=this._mediaDefault,u=[],h=[];if(!a.length&&!o)return h;for(var c=0,d=a.length;c<d;c++)f(a[c].query,i,r)&&u.push(c);return!u.length&&o&&(u=[-1]),u.length&&(e=u,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(h=l(u,function(t){return s(-1===t?o.option:a[t].option)})),this._currentMediaIndices=u,h}},e.a=c},"5s+V":function(t,e,n){"use strict";var i=n("ASYS"),r=n("tcBb"),a=n("60Q4"),o=n("mnKm"),s=n("8DvQ"),l=n("UrHu"),u=Object(s.i)(),h=r.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){r.a.call(this,t,e,n,i),this.uid=a.c("ec_cpt_model")},init:function(t,e,n,i){this.mergeDefaultAndTheme(t,n)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,r=n?l.a(t):{},a=e.getTheme();i.x(t,a.get(this.mainType)),i.x(t,this.getDefaultOption()),n&&l.c(t,r,n)},mergeOption:function(t,e){i.x(this.option,t,!0);var n=this.layoutMode;n&&l.c(this.option,t,n)},optionUpdated:function(t,e){},getDefaultOption:function(){var t=u(this);if(!t.defaultOption){for(var e=[],n=this.constructor;n;){var r=n.prototype.defaultOption;r&&e.push(r),n=n.superClass}for(var a={},o=e.length-1;o>=0;o--)a=i.x(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)})}});Object(o.c)(h,{registerWhenExtend:!0}),a.a(h),a.b(h,function(t){var e=[];i.i(h.getClassesByMainType(t),function(t){e=e.concat(t.prototype.dependencies||[])}),e=i.w(e,function(t){return Object(o.d)(t).main}),"dataset"!==t&&i.n(e,"dataset")<=0&&e.unshift("dataset");return e}),i.z(h,{getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}});e.a=h},"60Q4":function(t,e,n){"use strict";e.c=function(t){return[t||"",a++,Math.random().toFixed(5)].join("_")},e.a=function(t){var e={};return t.registerSubTypeDefaulter=function(t,n){t=Object(r.d)(t),e[t.main]=n},t.determineSubType=function(n,i){var a=i.type;if(!a){var o=Object(r.d)(n).main;t.hasSubTypes(n)&&e[o]&&(a=e[o](i))}return a},t},e.b=function(t,e){function n(t){var n={},a=[];return i.i(t,function(o){var s=r(n,o),l=s.originalDeps=e(o),u=function(t,e){var n=[];return i.i(t,function(t){i.n(e,t)>=0&&n.push(t)}),n}(l,t);s.entryCount=u.length,0===s.entryCount&&a.push(o),i.i(u,function(t){i.n(s.predecessor,t)<0&&s.predecessor.push(t);var e=r(n,t);i.n(e.successor,t)<0&&e.successor.push(o)})}),{graph:n,noEntryList:a}}function r(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,e,r,a){if(t.length){var o=n(e),s=o.graph,l=o.noEntryList,u={};for(i.i(t,function(t){u[t]=!0});l.length;){var h=l.pop(),c=s[h],f=!!u[h];f&&(r.call(a,h,c.originalDeps.slice()),delete u[h]),i.i(c.successor,f?p:d)}i.i(u,function(){throw new Error("Circle dependency may exists")})}function d(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function p(t){u[t]=!0,d(t)}}};var i=n("ASYS"),r=n("mnKm"),a=0},"6MoB":function(t,e,n){"use strict";var i=n("ASYS"),r=n("Ju+c"),a=Math.PI;e.a=function(t,e){e=e||{},i.h(e,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var n=new r.g({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),o=new r.a({shape:{startAngle:-a/2,endAngle:-a/2+.1,r:10},style:{stroke:e.color,lineCap:"round",lineWidth:5},zlevel:e.zlevel,z:10001}),s=new r.g({style:{fill:"none",text:e.text,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});o.animateShape(!0).when(1e3,{endAngle:3*a/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:3*a/2}).delay(300).start("circularInOut");var l=new r.c;return l.add(o),l.add(s),l.add(n),l.resize=function(){var e=t.getWidth()/2,i=t.getHeight()/2;o.setShape({cx:e,cy:i});var r=o.shape.r;s.setShape({x:e-r,y:i-r,width:2*r,height:2*r}),n.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},l.resize(),l}},"8DvQ":function(t,e,n){"use strict";e.k=l,e.b=function(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var a=n[i];!t.emphasis[e].hasOwnProperty(a)&&t[e].hasOwnProperty(a)&&(t.emphasis[e][a]=t[e][a])}}},n.d(e,"a",function(){return u}),e.d=function(t){return!a(t)||o(t)||t instanceof Date?t:t.value},e.e=function(t){return a(t)&&!(t instanceof Array)},e.j=function(t,e){e=(e||[]).slice();var n=i.w(t||[],function(t,e){return{exist:t}});return r(e,function(t,i){if(a(t)){for(var r=0;r<n.length;r++)if(!n[r].option&&null!=t.id&&n[r].exist.id===t.id+"")return n[r].option=t,void(e[i]=null);for(r=0;r<n.length;r++){var o=n[r].exist;if(!(n[r].option||null!=o.id&&null!=t.id||null==t.name||h(t)||h(o)||o.name!==t.name+""))return n[r].option=t,void(e[i]=null)}}}),r(e,function(t,e){if(a(t)){for(var i=0;i<n.length;i++){var r=n[i].exist;if(!n[i].option&&!h(r)&&null==t.id){n[i].option=t;break}}i>=n.length&&n.push({option:t})}}),n},e.h=function(t){var e=i.f();r(t,function(t,n){var i=t.exist;i&&e.set(i.id,t)}),r(t,function(t,n){var r=t.option;i.b(!r||null==r.id||!e.get(r.id)||e.get(r.id)===t,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&e.set(r.id,t),!t.keyInfo&&(t.keyInfo={})}),r(t,function(t,n){var i=t.exist,r=t.option,o=t.keyInfo;if(a(r)){if(o.name=null!=r.name?r.name+"":i?i.name:s+n,i)o.id=i.id;else if(null!=r.id)o.id=r.id+"";else{var l=0;do{o.id="\0"+o.name+"\0"+l++}while(e.get(o.id))}e.set(o.id,t)}})},e.g=function(t){var e=t.name;return!(!e||!e.indexOf(s))},e.f=h,e.m=function(t,e){if(null!=e.dataIndexInside)return e.dataIndexInside;if(null!=e.dataIndex)return i.p(e.dataIndex)?i.w(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex);if(null!=e.name)return i.p(e.name)?i.w(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name)},e.i=function(){var t="__\0ec_inner_"+c+++"_"+Math.random().toFixed(5);return function(e){return e[t]||(e[t]={})}},e.l=function(t,e,n){if(i.u(e)){var a={};a[e+"Index"]=0,e=a}var o=n&&n.defaultMainType;!o||f(e,o+"Index")||f(e,o+"Id")||f(e,o+"Name")||(e[o+"Index"]=0);var s={};return r(e,function(r,a){if(r=e[a],"dataIndex"!==a&&"dataIndexInside"!==a){var o=a.match(/^(\w+)(Index|Id|Name)$/)||[],l=o[1],u=(o[2]||"").toLowerCase();if(!(!l||!u||null==r||"index"===u&&"none"===r||n&&n.includeMainTypes&&i.n(n.includeMainTypes,l)<0)){var h={mainType:l};"index"===u&&"all"===r||(h[u]=r);var c=t.queryComponents(h);s[l+"Models"]=c,s[l+"Model"]=c[0]}}else s[a]=r}),s},e.n=function(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n},e.c=function(t,e){return t.getAttribute?t.getAttribute(e):t[e]};var i=n("ASYS"),r=i.i,a=i.t,o=i.p,s="series\0";function l(t){return t instanceof Array?t:null==t?[]:[t]}var u=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function h(t){return a(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}var c=0;function f(t,e){return t&&t.hasOwnProperty(e)}},"92Me":function(t,e,n){"use strict";var i=n("ASYS"),r={};function a(){this._coordinateSystems=[]}a.prototype={constructor:a,create:function(t,e){var n=[];i.i(r,function(i,r){var a=i.create(t,e);n=n.concat(a||[])}),this._coordinateSystems=n},update:function(t,e){i.i(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},a.register=function(t,e){r[t]=e},a.get=function(t){return r[t]},e.a=a},"9TGo":function(t,e,n){"use strict";var i=n("fO4x"),r=function(){};1===i.a?r=function(){for(var t in arguments)throw new Error(arguments[t])}:i.a>1&&(r=function(){for(var t in arguments)console.log(arguments[t])}),e.a=r},"9xaT":function(t,e,n){"use strict";e.a=function(t){var e=t.get("coordinateSystem"),n={coordSysName:e,coordSysDims:[],axisMap:Object(r.f)(),categoryAxisMap:Object(r.f)()},i=a[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n};var i=n("HaDi"),r=n("ASYS");var a={cartesian2d:function(t,e,n,a){var s=t.getReferringComponents("xAxis")[0],l=t.getReferringComponents("yAxis")[0];if(i.a){if(!s)throw new Error('xAxis "'+Object(r.D)(t.get("xAxisIndex"),t.get("xAxisId"),0)+'" not found');if(!l)throw new Error('yAxis "'+Object(r.D)(t.get("xAxisIndex"),t.get("yAxisId"),0)+'" not found')}e.coordSysDims=["x","y"],n.set("x",s),n.set("y",l),o(s)&&(a.set("x",s),e.firstCategoryDimIndex=0),o(l)&&(a.set("y",l),e.firstCategoryDimIndex=1)},singleAxis:function(t,e,n,r){var a=t.getReferringComponents("singleAxis")[0];if(i.a&&!a)throw new Error("singleAxis should be specified.");e.coordSysDims=["single"],n.set("single",a),o(a)&&(r.set("single",a),e.firstCategoryDimIndex=0)},polar:function(t,e,n,r){var a=t.getReferringComponents("polar")[0],s=a.findAxisModel("radiusAxis"),l=a.findAxisModel("angleAxis");if(i.a){if(!l)throw new Error("angleAxis option not found");if(!s)throw new Error("radiusAxis option not found")}e.coordSysDims=["radius","angle"],n.set("radius",s),n.set("angle",l),o(s)&&(r.set("radius",s),e.firstCategoryDimIndex=0),o(l)&&(r.set("angle",l),e.firstCategoryDimIndex=1)},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var a=t.ecModel,s=a.getComponent("parallel",t.get("parallelIndex")),l=e.coordSysDims=s.dimensions.slice();Object(r.i)(s.parallelAxisIndex,function(t,r){var s=a.getComponent("parallelAxis",t),u=l[r];n.set(u,s),o(s)&&null==e.firstCategoryDimIndex&&(i.set(u,s),e.firstCategoryDimIndex=r)})}};function o(t){return"category"===t.get("type")}},APRV:function(t,e,n){"use strict";e.c=function(t){return h(t),Object(i.i)(t.rich,h),t},e.d=function(t,e,n,i,a){i.rich?function(t,e,n,i,a){var o=t.__textCotentBlock;o&&!t.__dirty||(o=t.__textCotentBlock=r.i(n,i));!function(t,e,n,i,a){var o=n.width,s=n.outerWidth,l=n.outerHeight,u=i.textPadding,h=v(l,i,a),g=h.baseX,m=h.baseY,_=h.textAlign,y=h.textVerticalAlign;c(e,i,a,g,m);var x=r.c(g,s,_),b=r.d(m,l,y),w=x,S=b;u&&(w+=u[3],S+=u[0]);var M=w+o;d(i)&&p(t,e,i,x,b,s,l);for(var C=0;C<n.lines.length;C++){for(var O,D=n.lines[C],k=D.tokens,T=k.length,I=D.lineHeight,A=D.width,j=0,L=w,P=M,E=T-1;j<T&&(!(O=k[j]).textAlign||"left"===O.textAlign);)f(t,e,O,i,I,S,L,"left"),A-=O.width,L+=O.width,j++;for(;E>=0&&"right"===(O=k[E]).textAlign;)f(t,e,O,i,I,S,P,"right"),A-=O.width,P-=O.width,E--;for(L+=(o-(L-w)-(M-P)-A)/2;j<=E;)O=k[j],f(t,e,O,i,I,S,L+O.width/2,"center"),L+=O.width,j++;S+=I}}(t,e,o,i,a)}(t,e,n,i,a):function(t,e,n,i,a){var o=m(e,"font",i.font||r.a),s=i.textPadding,l=t.__textCotentBlock;l&&!t.__dirty||(l=t.__textCotentBlock=r.h(n,o,s,i.truncate));var u=l.outerHeight,h=l.lines,f=l.lineHeight,g=v(u,i,a),x=g.baseX,w=g.baseY,S=g.textAlign,M=g.textVerticalAlign;c(e,i,a,x,w);var C=r.d(w,u,M),O=x,D=C,k=d(i);if(k||s){var T=r.f(n,o),I=T;s&&(I+=s[1]+s[3]);var A=r.c(x,I,S);k&&p(t,e,i,A,C,I,u),s&&(O=b(x,S,s),D+=s[0])}m(e,"textAlign",S||"left"),m(e,"textBaseline","middle"),m(e,"shadowBlur",i.textShadowBlur||0),m(e,"shadowColor",i.textShadowColor||"transparent"),m(e,"shadowOffsetX",i.textShadowOffsetX||0),m(e,"shadowOffsetY",i.textShadowOffsetY||0),D+=f/2;var j=i.textStrokeWidth,L=_(i.textStroke,j),P=y(i.textFill);L&&(m(e,"lineWidth",j),m(e,"strokeStyle",L));P&&m(e,"fillStyle",P);for(var E=0;E<h.length;E++)L&&e.strokeText(h[E],O,D),P&&e.fillText(h[E],O,D),D+=f}(t,e,n,i,a)},e.a=_,e.b=function(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)};var i=n("ASYS"),r=n("jXMp"),a=n("wlOE"),o=n("dAIA"),s=n("0OJG"),l={left:1,right:1,center:1},u={top:1,bottom:1,middle:1};function h(t){if(t){t.font=r.g(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||l[e]?e:"left";var n=t.textVerticalAlign||t.textBaseline;"center"===n&&(n="middle"),t.textVerticalAlign=null==n||u[n]?n:"top",t.textPadding&&(t.textPadding=Object(i.B)(t.textPadding))}}function c(t,e,n,i,r){if(n&&e.textRotation){var a=e.textOrigin;"center"===a?(i=n.width/2+n.x,r=n.height/2+n.y):a&&(i=a[0]+n.x,r=a[1]+n.y),t.translate(i,r),t.rotate(-e.textRotation),t.translate(-i,-r)}}function f(t,e,n,a,o,s,l,u){var h=a.rich[n.styleName]||{},c=n.textVerticalAlign,f=s+o/2;"top"===c?f=s+n.height/2:"bottom"===c&&(f=s+o-n.height/2),!n.isLineHolder&&d(h)&&p(t,e,h,"right"===u?l-n.width:"center"===u?l-n.width/2:l,f-n.height/2,n.width,n.height);var g=n.textPadding;g&&(l=b(l,u,g),f-=n.height/2-g[2]-n.textHeight/2),m(e,"shadowBlur",Object(i.F)(h.textShadowBlur,a.textShadowBlur,0)),m(e,"shadowColor",h.textShadowColor||a.textShadowColor||"transparent"),m(e,"shadowOffsetX",Object(i.F)(h.textShadowOffsetX,a.textShadowOffsetX,0)),m(e,"shadowOffsetY",Object(i.F)(h.textShadowOffsetY,a.textShadowOffsetY,0)),m(e,"textAlign",u),m(e,"textBaseline","middle"),m(e,"font",n.font||r.a);var v=_(h.textStroke||a.textStroke,w),x=y(h.textFill||a.textFill),w=Object(i.E)(h.textStrokeWidth,a.textStrokeWidth);v&&(m(e,"lineWidth",w),m(e,"strokeStyle",v),e.strokeText(n.text,l,f)),x&&(m(e,"fillStyle",x),e.fillText(n.text,l,f))}function d(t){return t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor}function p(t,e,n,r,s,l,u){var h=n.textBackgroundColor,c=n.textBorderWidth,f=n.textBorderColor,d=Object(i.u)(h);if(m(e,"shadowBlur",n.textBoxShadowBlur||0),m(e,"shadowColor",n.textBoxShadowColor||"transparent"),m(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),m(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),d||c&&f){e.beginPath();var p=n.textBorderRadius;p?a.a(e,{x:r,y:s,width:l,height:u,r:p}):e.rect(r,s,l,u),e.closePath()}if(d)m(e,"fillStyle",h),e.fill();else if(Object(i.t)(h)){var v=h.image;(v=o.a(v,null,t,g,h))&&o.c(v)&&e.drawImage(v,r,s,l,u)}c&&f&&(m(e,"lineWidth",c),m(e,"strokeStyle",f),e.stroke())}function g(t,e){e.image=t}function v(t,e,n){var i=e.x||0,a=e.y||0,o=e.textAlign,s=e.textVerticalAlign;if(n){var l=e.textPosition;if(l instanceof Array)i=n.x+x(l[0],n.width),a=n.y+x(l[1],n.height);else{var u=r.b(l,n,e.textDistance);i=u.x,a=u.y,o=o||u.textAlign,s=s||u.textVerticalAlign}var h=e.textOffset;h&&(i+=h[0],a+=h[1])}return{baseX:i,baseY:a,textAlign:o,textVerticalAlign:s}}function m(t,e,n){return t[e]=Object(s.a)(t,e,n),t[e]}function _(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function y(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function x(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function b(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}},ASYS:function(t,e,n){"use strict";e.a=function(t,e){"createCanvas"===t&&(v=null);f[t]=e},e.d=d,e.x=p,e.y=function(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=p(n,t[i],e);return n},e.k=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},e.h=g,n.d(e,"e",function(){return m}),e.m=function(){v||(v=m().getContext("2d"));return v},e.n=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.o=function(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)t.prototype[r]=n[r];t.prototype.constructor=t,t.superClass=e},e.z=function(t,e,n){t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,g(t,e,n)},e.q=function(t){if(!t)return;if("string"==typeof t)return!1;return"number"==typeof t.length},e.i=_,e.w=function(t,e,n){if(!t||!e)return;if(t.map&&t.map===h)return t.map(e,n);for(var i=[],r=0,a=t.length;r<a;r++)i.push(e.call(n,t[r],r,t));return i},e.C=function(t,e,n,i){if(!t||!e)return;if(t.reduce&&t.reduce===c)return t.reduce(e,n,i);for(var r=0,a=t.length;r<a;r++)n=e.call(i,n,t[r],r,t);return n},e.l=function(t,e,n){if(!t||!e)return;if(t.filter&&t.filter===l)return t.filter(e,n);for(var i=[],r=0,a=t.length;r<a;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i},e.c=y,e.g=function(t){var e=u.call(arguments,1);return function(){return t.apply(this,e.concat(u.call(arguments)))}},e.p=x,e.s=function(t){return"function"==typeof t},e.u=function(t){return"[object String]"===a.call(t)},e.t=b,e.v=function(t){return!!r[a.call(t)]},e.r=S,e.j=function(t){return t!=t},e.D=function(t){for(var e=0,n=arguments.length;e<n;e++)if(null!=arguments[e])return arguments[e]},e.E=function(t,e){return null!=t?t:e},e.F=function(t,e,n){return null!=t?t:null!=e?e:n},e.H=function(){return Function.call.apply(u,arguments)},e.B=function(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];return t},e.b=function(t,e){if(!t)throw new Error(e)},e.I=function(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},e.G=function(t){t[M]=!0},e.f=function(t){return new O(t)},e.A=function(){};var i={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},r={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},a=Object.prototype.toString,o=Array.prototype,s=o.forEach,l=o.filter,u=o.slice,h=o.map,c=o.reduce,f={};function d(t){if(null==t||"object"!=typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!C(t)){e=[];for(var o=0,s=t.length;o<s;o++)e[o]=d(t[o])}}else if(r[n]){if(!C(t)){var l=t.constructor;if(t.constructor.from)e=l.from(t);else{e=new l(t.length);for(o=0,s=t.length;o<s;o++)e[o]=d(t[o])}}}else if(!i[n]&&!C(t)&&!S(t))for(var u in e={},t)t.hasOwnProperty(u)&&(e[u]=d(t[u]));return e}function p(t,e,n){if(!b(e)||!b(t))return n?d(e):t;for(var i in e)if(e.hasOwnProperty(i)){var r=t[i],a=e[i];!b(a)||!b(r)||x(a)||x(r)||S(a)||S(r)||w(a)||w(r)||C(a)||C(r)?!n&&i in t||(t[i]=d(e[i])):p(r,a,n)}return t}function g(t,e,n){for(var i in e)e.hasOwnProperty(i)&&(n?null!=e[i]:null==t[i])&&(t[i]=e[i]);return t}var v,m=function(){return f.createCanvas()};function _(t,e,n){if(t&&e)if(t.forEach&&t.forEach===s)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(n,t[a],a,t)}function y(t,e){var n=u.call(arguments,2);return function(){return t.apply(e,n.concat(u.call(arguments)))}}function x(t){return"[object Array]"===a.call(t)}function b(t){var e=typeof t;return"function"===e||!!t&&"object"==e}function w(t){return!!i[a.call(t)]}function S(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}f.createCanvas=function(){return document.createElement("canvas")};var M="__ec_primitive__";function C(t){return t[M]}function O(t){var e=x(t),n=this;function i(t,i){e?n.set(t,i):n.set(i,t)}t instanceof O?t.each(i):t&&_(t,i)}O.prototype={constructor:O,get:function(t){return this.hasOwnProperty(t)?this[t]:null},set:function(t,e){return this[t]=e},each:function(t,e){for(var n in void 0!==e&&(t=y(t,e)),this)this.hasOwnProperty(n)&&t(this[n],n)},removeKey:function(t){delete this[t]}}},CqC1:function(t,e,n){"use strict";e.a=u,n.d(e,"b",function(){return m}),e.c=function(t,e,n){if(!t)return;var i=t.getRawDataItem(e);if(null==i)return;var r,a,o=t.getProvider().getSource().sourceFormat,s=t.getDimensionInfo(n);s&&(r=s.name,a=s.index);return g[o](i,e,a,r)};var i=n("HaDi"),r=n("ASYS"),a=n("8DvQ"),o=n("yFTj"),s=n("hCiy"),l=n("QgCW");function u(t,e){s.a.isInstance(t)||(t=s.a.seriesDataToSource(t)),this._source=t;var n=this._data=t.data,a=t.sourceFormat;if(a===l.g){if(i.a&&null==e)throw new Error("Typed array data must specify dimension size");this._offset=0,this._dimSize=e,this._data=n}var o=c[a===l.c?a+"_"+t.seriesLayoutBy:a];i.a&&Object(r.b)(o,"Invalide sourceFormat: "+a),Object(r.k)(this,o)}var h=u.prototype;h.pure=!1,h.persistent=!0,h.getSource=function(){return this._source};var c={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:p},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 r=n[i];e.push(r?r[t]:null)}return e},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:f,getItem:d,appendData:p},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 r=this._data[n[i].name];e.push(r?r[t]:null)}return e},appendData:function(t){var e=this._data;Object(r.i)(t,function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])})}},original:{count:f,getItem:d,appendData:p},typedArray:{persistent:!1,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){i.a&&Object(r.b)(Object(r.v)(t),"Added data must be TypedArray if data in initialization is TypedArray"),this._data=t},clean:function(){this._offset+=this.count(),this._data=null}}};function f(){return this._data.length}function d(t){return this._data[t]}function p(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}var g={arrayRows:v,objectRows:function(t,e,n,i){return null!=n?t[i]:t},keyedColumns:v,original:function(t,e,n,i){var r=Object(a.d)(t);return null!=n&&r instanceof Array?r[n]:r},typedArray:v};function v(t,e,n,i){return null!=n?t[n]:t}var m={arrayRows:_,objectRows:function(t,e,n,i){return y(t[e],this._dimensionInfos[e])},keyedColumns:_,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return!this._rawData.pure&&Object(a.e)(t)&&(this.hasItemOption=!0),y(r instanceof Array?r[i]:r,this._dimensionInfos[e])},typedArray:function(t,e,n,i){return t[i]}};function _(t,e,n,i){return y(t[i],this._dimensionInfos[e])}function y(t,e){var n=e&&e.type;if("ordinal"===n){var i=e&&e.ordinalMeta;return i?i.parseAndCollect(t):t}return"time"===n&&"number"!=typeof t&&null!=t&&"-"!==t&&(t=+Object(o.f)(t)),null==t||""===t?NaN:+t}},"DW/+":function(t,e,n){"use strict";var i=n("8DvQ"),r=Object(i.i)();e.a={clearColorPalette:function(){r(this).colorIdx=0,r(this).colorNameMap={}},getColorFromPalette:function(t,e,n){var a=r(e=e||this),o=a.colorIdx||0,s=a.colorNameMap=a.colorNameMap||{};if(s.hasOwnProperty(t))return s[t];var l=Object(i.k)(this.get("color",!0)),u=this.get("colorLayer",!0),h=null!=n&&u?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]}(u,n):l;if((h=h||l)&&h.length){var c=h[o];return t&&(s[t]=c),a.colorIdx=(o+1)%h.length,c}}}},EHAU:function(t,e,n){"use strict";var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.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:(!n||n<1?(n=1,e=.1):e=.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:(!n||n<1?(n=1,e=.1):e=.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){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-i.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},r=i;function a(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}a.prototype={constructor:a,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 o=a,s=n("2Am2"),l=n("ASYS"),u=Array.prototype.slice;function h(t,e){return t[e]}function c(t,e,n){t[e]=n}function f(t,e,n){return(e-t)*n+t}function d(t,e,n){return n>.5?e:t}function p(t,e,n,i,r){var a=t.length;if(1==r)for(var o=0;o<a;o++)i[o]=f(t[o],e[o],n);else{var s=a&&t[0].length;for(o=0;o<a;o++)for(var l=0;l<s;l++)i[o][l]=f(t[o][l],e[o][l],n)}}function g(t,e,n){var i=t.length,r=e.length;if(i!==r)if(i>r)t.length=r;else for(var a=i;a<r;a++)t.push(1===n?e[a]:u.call(e[a]));var o=t[0]&&t[0].length;for(a=0;a<t.length;a++)if(1===n)isNaN(t[a])&&(t[a]=e[a]);else for(var s=0;s<o;s++)isNaN(t[a][s])&&(t[a][s]=e[a][s])}function v(t,e,n){if(t===e)return!0;var i=t.length;if(i!==e.length)return!1;if(1===n){for(var r=0;r<i;r++)if(t[r]!==e[r])return!1}else{var a=t[0].length;for(r=0;r<i;r++)for(var o=0;o<a;o++)if(t[r][o]!==e[r][o])return!1}return!0}function m(t,e,n,i,r,a,o,s,l){var u=t.length;if(1==l)for(var h=0;h<u;h++)s[h]=_(t[h],e[h],n[h],i[h],r,a,o);else{var c=t[0].length;for(h=0;h<u;h++)for(var f=0;f<c;f++)s[h][f]=_(t[h][f],e[h][f],n[h][f],i[h][f],r,a,o)}}function _(t,e,n,i,r,a,o){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*o+(-3*(e-n)-2*s-l)*a+s*r+e}function y(t){if(Object(l.q)(t)){var e=t.length;if(Object(l.q)(t[0])){for(var n=[],i=0;i<e;i++)n.push(u.call(t[i]));return n}return u.call(t)}return t}function x(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function b(t,e,n,i,r,a){var u=t._getter,h=t._setter,c="spline"===e,y=i.length;if(y){var b,w=i[0].value,S=Object(l.q)(w),M=!1,C=!1,O=S?function(t){var e=t[t.length-1].value;return Object(l.q)(e&&e[0])?2:1}(i):0;i.sort(function(t,e){return t.time-e.time}),b=i[y-1].time;for(var D=[],k=[],T=i[0].value,I=!0,A=0;A<y;A++){D.push(i[A].time/b);var j=i[A].value;if(S&&v(j,T,O)||!S&&j===T||(I=!1),T=j,"string"==typeof j){var L=s.b(j);L?(j=L,M=!0):C=!0}k.push(j)}if(a||!I){var P=k[y-1];for(A=0;A<y-1;A++)S?g(k[A],P,O):!isNaN(k[A])||isNaN(P)||C||M||(k[A]=P);S&&g(u(t._target,r),P,O);var E,z,R,B,N,F=0,H=0;if(M)var V=[0,0,0,0];var W=new o({target:t._target,life:b,loop:t._loop,delay:t._delay,onframe:function(t,e){var n;if(e<0)n=0;else if(e<H){for(n=Math.min(F+1,y-1);n>=0&&!(D[n]<=e);n--);n=Math.min(n,y-2)}else{for(n=F;n<y&&!(D[n]>e);n++);n=Math.min(n-1,y-2)}F=n,H=e;var i=D[n+1]-D[n];if(0!==i)if(E=(e-D[n])/i,c)if(R=k[n],z=k[0===n?n:n-1],B=k[n>y-2?y-1:n+1],N=k[n>y-3?y-1:n+2],S)m(z,R,B,N,E,E*E,E*E*E,u(t,r),O);else{if(M)a=m(z,R,B,N,E,E*E,E*E*E,V,1),a=x(V);else{if(C)return d(R,B,E);a=_(z,R,B,N,E,E*E,E*E*E)}h(t,r,a)}else if(S)p(k[n],k[n+1],E,u(t,r),O);else{var a;if(M)p(k[n],k[n+1],E,V,1),a=x(V);else{if(C)return d(k[n],k[n+1],E);a=f(k[n],k[n+1],E)}h(t,r,a)}},ondestroy:n});return e&&"spline"!==e&&(W.easing=e),W}}}var w=function(t,e,n,i){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||h,this._setter=i||c,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};w.prototype={when:function(t,e){var n=this._tracks;for(var i in e)if(e.hasOwnProperty(i)){if(!n[i]){n[i]=[];var r=this._getter(this._target,i);if(null==r)continue;0!==t&&n[i].push({time:0,value:y(r)})}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){var n,i=this,r=0,a=function(){--r||i._doneCallback()};for(var o in this._tracks)if(this._tracks.hasOwnProperty(o)){var s=b(this,t,a,this._tracks[o],o,e);s&&(this._clipList.push(s),r++,this.animation&&this.animation.addClip(s),n=s)}if(n){var l=n.onframe;n.onframe=function(t,e){l(t,e);for(var n=0;n<i._onframeList.length;n++)i._onframeList[n](t,e)}}return r||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,n=this.animation,i=0;i<e.length;i++){var r=e[i];t&&r.onframe(this._target,1),n&&n.removeClip(r)}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}};e.a=w},GD17:function(t,e,n){"use strict";var i=n("hANm"),r=n("iyEX"),a=i.c,o=5e-5;function s(t){return t>o||t<-o}var l=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)},u.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),r=this.transform;n||e?(r=r||i.b(),n?this.getLocalTransform(r):a(r),e&&(n?i.e(r,t.transform,r):i.a(r,t.transform)),this.transform=r,this.invTransform=this.invTransform||i.b(),i.d(this.invTransform,r)):r&&a(r)},u.getLocalTransform=function(t){return l.getLocalTransform(this,t)},u.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)},u.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var h=[];u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(i.e(h,t.invTransform,e),e=h);var n=e[0]*e[0]+e[1]*e[1],r=e[2]*e[2]+e[3]*e[3],a=this.position,o=this.scale;s(n-1)&&(n=Math.sqrt(n)),s(r-1)&&(r=Math.sqrt(r)),e[0]<0&&(n=-n),e[3]<0&&(r=-r),a[0]=e[4],a[1]=e[5],o[0]=n,o[1]=r,this.rotation=Math.atan2(-e[1]/r,e[0]/n)}},u.getGlobalScale=function(){var t=this.transform;if(!t)return[1,1];var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]),n=Math.sqrt(t[2]*t[2]+t[3]*t[3]);return t[0]<0&&(e=-e),t[3]<0&&(n=-n),[e,n]},u.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&r.b(n,n,i),n},u.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&r.b(n,n,i),n},l.getLocalTransform=function(t,e){a(e=e||[]);var n=t.origin,r=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),i.g(e,e,r),o&&i.f(e,e,o),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=s[0],e[5]+=s[1],e},e.a=l},Gxhh:function(t,e,n){"use strict";var i=n("16G8"),r=n("60Q4"),a=n("mnKm"),o=function(){this.group=new i.a,this.uid=r.c("viewComponent")},s=o.prototype={constructor:o,init:function(t,e){},render:function(t,e,n,i){},dispose:function(){}};s.updateView=s.updateLayout=s.updateVisual=function(t,e,n,i){},a.b(o),a.c(o,{registerWhenExtend:!0}),e.a=o},HaDi:function(t,e,n){"use strict";(function(t){var i;n.d(e,"a",function(){return r}),"undefined"!=typeof window?i=window.__DEV__:void 0!==t&&(i=t.__DEV__),void 0===i&&(i=!0);var r=i}).call(e,n("DuR2"))},HhVg:function(t,e,n){"use strict";var i=2311;e.a=function(){return i++}},"Ju+c":function(t,e,n){"use strict";var i=n("ASYS"),r=n("KzNF"),a=n("yIt6"),o=n("iyEX"),s=a.a.CMD,l=[[],[],[]],u=Math.sqrt,h=Math.atan2,c=function(t,e){var n,i,r,a,c,f=t.data,d=s.M,p=s.C,g=s.L,v=s.R,m=s.A,_=s.Q;for(r=0,a=0;r<f.length;){switch(n=f[r++],a=r,i=0,n){case d:case g:i=1;break;case p:i=3;break;case _:i=2;break;case m:var y=e[4],x=e[5],b=u(e[0]*e[0]+e[1]*e[1]),w=u(e[2]*e[2]+e[3]*e[3]),S=h(-e[1]/w,e[0]/b);f[r]*=b,f[r++]+=y,f[r]*=w,f[r++]+=x,f[r++]*=b,f[r++]*=w,f[r++]+=S,f[r++]+=S,a=r+=2;break;case v:M[0]=f[r++],M[1]=f[r++],Object(o.b)(M,M,e),f[a++]=M[0],f[a++]=M[1],M[0]+=f[r++],M[1]+=f[r++],Object(o.b)(M,M,e),f[a++]=M[0],f[a++]=M[1]}for(c=0;c<i;c++){var M;(M=l[c])[0]=f[r++],M[1]=f[r++],Object(o.b)(M,M,e),f[a++]=M[0],f[a++]=M[1]}}},f=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"],d=Math.sqrt,p=Math.sin,g=Math.cos,v=Math.PI,m=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},_=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(m(t)*m(e))},y=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(_(t,e))};function x(t,e,n,i,r,a,o,s,l,u,h){var c=l*(v/180),f=g(c)*(t-n)/2+p(c)*(e-i)/2,m=-1*p(c)*(t-n)/2+g(c)*(e-i)/2,x=f*f/(o*o)+m*m/(s*s);x>1&&(o*=d(x),s*=d(x));var b=(r===a?-1:1)*d((o*o*(s*s)-o*o*(m*m)-s*s*(f*f))/(o*o*(m*m)+s*s*(f*f)))||0,w=b*o*m/s,S=b*-s*f/o,M=(t+n)/2+g(c)*w-p(c)*S,C=(e+i)/2+p(c)*w+g(c)*S,O=y([1,0],[(f-w)/o,(m-S)/s]),D=[(f-w)/o,(m-S)/s],k=[(-1*f-w)/o,(-1*m-S)/s],T=y(D,k);_(D,k)<=-1&&(T=v),_(D,k)>=1&&(T=0),0===a&&T>0&&(T-=2*v),1===a&&T<0&&(T+=2*v),h.addData(u,M,C,o,s,O,T,c,a)}function b(t,e){var n=function(t){if(!t)return[];var e,n=t.replace(/-/g," -").replace(/ /g," ").replace(/ /g,",").replace(/,,/g,",");for(e=0;e<f.length;e++)n=n.replace(new RegExp(f[e],"g"),"|"+f[e]);var i,r=n.split("|"),o=0,s=0,l=new a.a,u=a.a.CMD;for(e=1;e<r.length;e++){var h,c=r[e],d=c.charAt(0),p=0,g=c.slice(1).replace(/e,-/g,"e-").split(",");g.length>0&&""===g[0]&&g.shift();for(var v=0;v<g.length;v++)g[v]=parseFloat(g[v]);for(;p<g.length&&!isNaN(g[p])&&!isNaN(g[0]);){var m,_,y,b,w,S,M,C=o,O=s;switch(d){case"l":o+=g[p++],s+=g[p++],h=u.L,l.addData(h,o,s);break;case"L":o=g[p++],s=g[p++],h=u.L,l.addData(h,o,s);break;case"m":o+=g[p++],s+=g[p++],h=u.M,l.addData(h,o,s),d="l";break;case"M":o=g[p++],s=g[p++],h=u.M,l.addData(h,o,s),d="L";break;case"h":o+=g[p++],h=u.L,l.addData(h,o,s);break;case"H":o=g[p++],h=u.L,l.addData(h,o,s);break;case"v":s+=g[p++],h=u.L,l.addData(h,o,s);break;case"V":s=g[p++],h=u.L,l.addData(h,o,s);break;case"C":h=u.C,l.addData(h,g[p++],g[p++],g[p++],g[p++],g[p++],g[p++]),o=g[p-2],s=g[p-1];break;case"c":h=u.C,l.addData(h,g[p++]+o,g[p++]+s,g[p++]+o,g[p++]+s,g[p++]+o,g[p++]+s),o+=g[p-2],s+=g[p-1];break;case"S":m=o,_=s;var D=l.len(),k=l.data;i===u.C&&(m+=o-k[D-4],_+=s-k[D-3]),h=u.C,C=g[p++],O=g[p++],o=g[p++],s=g[p++],l.addData(h,m,_,C,O,o,s);break;case"s":m=o,_=s,D=l.len(),k=l.data,i===u.C&&(m+=o-k[D-4],_+=s-k[D-3]),h=u.C,C=o+g[p++],O=s+g[p++],o+=g[p++],s+=g[p++],l.addData(h,m,_,C,O,o,s);break;case"Q":C=g[p++],O=g[p++],o=g[p++],s=g[p++],h=u.Q,l.addData(h,C,O,o,s);break;case"q":C=g[p++]+o,O=g[p++]+s,o+=g[p++],s+=g[p++],h=u.Q,l.addData(h,C,O,o,s);break;case"T":m=o,_=s,D=l.len(),k=l.data,i===u.Q&&(m+=o-k[D-4],_+=s-k[D-3]),o=g[p++],s=g[p++],h=u.Q,l.addData(h,m,_,o,s);break;case"t":m=o,_=s,D=l.len(),k=l.data,i===u.Q&&(m+=o-k[D-4],_+=s-k[D-3]),o+=g[p++],s+=g[p++],h=u.Q,l.addData(h,m,_,o,s);break;case"A":y=g[p++],b=g[p++],w=g[p++],S=g[p++],M=g[p++],x(C=o,O=s,o=g[p++],s=g[p++],S,M,y,b,w,h=u.A,l);break;case"a":y=g[p++],b=g[p++],w=g[p++],S=g[p++],M=g[p++],x(C=o,O=s,o+=g[p++],s+=g[p++],S,M,y,b,w,h=u.A,l)}}"z"!==d&&"Z"!==d||(h=u.Z,l.addData(h)),i=h}return l.toStatic(),l}(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){c(n,t),this.dirty(!0)},e}var w=n("2Am2"),S=(n("hANm"),n("GD17"),n("engH")),M=n("16G8"),C=n("oA+l"),O=n("jXMp"),D=n("APRV"),k=function(t){C.a.call(this,t)};k.prototype={constructor:k,type:"text",brush:function(t,e){var n=this.style;this.__dirty&&D.c(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null;var i=n.text;null!=i&&(i+=""),n.bind(t,this,e),D.b(i,n)&&(this.setTransform(t),D.d(this,t,i,n),this.restoreTransform(t))},getBoundingRect:function(){var t=this.style;if(this.__dirty&&D.c(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var n=O.e(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.rich);if(n.x+=t.x||0,n.y+=t.y||0,D.a(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}},i.o(k,C.a);var T=k,I=r.a.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)}}),A=n("x0Vh"),j=r.a.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:Object(A.a)(r.a.prototype.brush),buildPath:function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),a=Math.max(e.r,0),o=e.startAngle,s=e.endAngle,l=e.clockwise,u=Math.cos(o),h=Math.sin(o);t.moveTo(u*r+n,h*r+i),t.lineTo(u*a+n,h*a+i),t.arc(n,i,a,o,s,!l),t.lineTo(Math.cos(s)*r+n,Math.sin(s)*r+i),0!==r&&t.arc(n,i,r,s,o,l),t.closePath()}}),L=r.a.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)}});function P(t,e,n,i,r,a,o){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*o+(-3*(e-n)-2*s-l)*a+s*r+e}var E=function(t,e){for(var n=t.length,i=[],r=0,a=1;a<n;a++)r+=Object(o.h)(t[a-1],t[a]);var s=r/2;s=s<n?n:s;for(a=0;a<s;a++){var l,u,h,c=a/(s-1)*(e?n:n-1),f=Math.floor(c),d=c-f,p=t[f%n];e?(l=t[(f-1+n)%n],u=t[(f+1)%n],h=t[(f+2)%n]):(l=t[0===f?f:f-1],u=t[f>n-2?n-1:f+1],h=t[f>n-3?n-1:f+2]);var g=d*d,v=d*g;i.push([P(l[0],p[0],u[0],h[0],d,g,v),P(l[1],p[1],u[1],h[1],d,g,v)])}return i},z=function(t,e,n,i){var r,a,s,l,u=[],h=[],c=[],f=[];if(i){s=[1/0,1/0],l=[-1/0,-1/0];for(var d=0,p=t.length;d<p;d++)Object(o.j)(s,s,t[d]),Object(o.i)(l,l,t[d]);Object(o.j)(s,s,i[0]),Object(o.i)(l,l,i[1])}for(d=0,p=t.length;d<p;d++){var g=t[d];if(n)r=t[d?d-1:p-1],a=t[(d+1)%p];else{if(0===d||d===p-1){u.push(Object(o.c)(t[d]));continue}r=t[d-1],a=t[d+1]}Object(o.n)(h,a,r),Object(o.l)(h,h,e);var v=Object(o.h)(g,r),m=Object(o.h)(g,a),_=v+m;0!==_&&(v/=_,m/=_),Object(o.l)(c,h,-v),Object(o.l)(f,h,m);var y=Object(o.a)([],g,c),x=Object(o.a)([],g,f);i&&(Object(o.i)(y,y,s),Object(o.j)(y,y,l),Object(o.i)(x,x,s),Object(o.j)(x,x,l)),u.push(y),u.push(x)}return n&&u.push(u.shift()),u};function R(t,e,n){var i=e.points,r=e.smooth;if(i&&i.length>=2){if(r&&"spline"!==r){var a=z(i,r,n,e.smoothConstraint);t.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;s<(n?o:o-1);s++){var l=a[2*s],u=a[2*s+1],h=i[(s+1)%o];t.bezierCurveTo(l[0],l[1],u[0],u[1],h[0],h[1])}}else{"spline"===r&&(i=E(i,n)),t.moveTo(i[0][0],i[0][1]);s=1;for(var c=i.length;s<c;s++)t.lineTo(i[s][0],i[s][1])}n&&t.closePath()}}var B=r.a.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){R(t,e,!0)}}),N=r.a.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){R(t,e,!1)}}),F=n("wlOE"),H=r.a.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width,a=e.height;e.r?F.a(t,e):t.rect(n,i,r,a),t.closePath()}}),V=r.a.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=e.x1,i=e.y1,r=e.x2,a=e.y2,o=e.percent;0!==o&&(t.moveTo(n,i),o<1&&(r=n*(1-o)+r*o,a=i*(1-o)+a*o),t.lineTo(r,a))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}}),W=n("Xa3u"),G=[];function Y(t,e,n){var i=t.cpx2,r=t.cpy2;return null===i||null===r?[(n?W.b:W.a)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?W.b:W.a)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?W.h:W.g)(t.x1,t.cpx1,t.x2,e),(n?W.h:W.g)(t.y1,t.cpy1,t.y2,e)]}var X=r.a.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,r=e.x2,a=e.y2,o=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,h=e.percent;0!==h&&(t.moveTo(n,i),null==l||null==u?(h<1&&(Object(W.l)(n,o,r,h,G),o=G[1],r=G[2],Object(W.l)(i,s,a,h,G),s=G[1],a=G[2]),t.quadraticCurveTo(o,s,r,a)):(h<1&&(Object(W.f)(n,o,l,r,h,G),o=G[1],l=G[2],r=G[3],Object(W.f)(i,s,u,a,h,G),s=G[1],u=G[2],a=G[3]),t.bezierCurveTo(o,s,l,u,r,a)))},pointAt:function(t){return Y(this.shape,t,!1)},tangentAt:function(t){var e=Y(this.shape,t,!0);return o.k(e,e)}}),q=r.a.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,r=Math.max(e.r,0),a=e.startAngle,o=e.endAngle,s=e.clockwise,l=Math.cos(a),u=Math.sin(a);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,a,o,!s)}}),U=r.a.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])},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(),r.a.prototype.getBoundingRect.call(this)}}),Z=n("e2r8"),K=function(t,e,n,i,r,a){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=a||!1,Z.a.call(this,r)};K.prototype={constructor:K},i.o(K,Z.a);var Q=K,$=function(t,e,n,i,r){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=r||!1,Z.a.call(this,i)};$.prototype={constructor:$},i.o($,Z.a);var J=$,tt=n("Rjdj");function et(t){C.a.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}et.prototype.incremental=!0,et.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},et.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},et.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},et.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])},et.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}},et.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 nt=[];et.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new tt.a(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(nt)),t.union(i)}this._rect=t}return this._rect},et.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},Object(i.o)(et,C.a);var it=et;e.j=function(t){return r.a.extend(t)},e.o=ot,e.n=function(t,e,n){var i=new S.a({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(st(e,r))}}});return i},e.s=function(t){var e=t.shape,n=t.style.lineWidth;rt(2*e.x1)===rt(2*e.x2)&&(e.x1=e.x2=lt(e.x1,n,!0));rt(2*e.y1)===rt(2*e.y2)&&(e.y1=e.y2=lt(e.y1,n,!0));return t},e.p=function(t,e,n){t.__hoverSilentOnTouch=n&&n.hoverSilentOnTouch,"group"===t.type?t.traverse(function(t){"group"!==t.type&&vt(t,e)}):vt(t,e),t.on("mouseover",mt).on("mouseout",_t),t.on("emphasis",yt).on("normal",xt)},e.q=function(t,e,n,r,a,o,s){var l,u=(a=a||at).labelFetcher,h=a.labelDataIndex,c=a.labelDimIndex,f=n.getShallow("show"),d=r.getShallow("show");(f||d)&&(u&&(l=u.getFormattedLabel(h,"normal",null,c)),null==l&&(l=i.s(a.defaultText)?a.defaultText(h,a):a.defaultText));var p=f?l:null,g=d?i.E(u?u.getFormattedLabel(h,"emphasis",null,c):null,l):null;null==p&&null==g||(bt(t,n,o,a),bt(e,r,s,a,!0));t.text=p,e.text=g},e.r=bt,e.k=function(t,e){var n=e||e.getModel("textStyle");return i.I([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.t=Dt,e.m=function(t,e,n,i,r){Ot(!1,t,e,n,i,r)},e.l=function(t,e,n,r){if(!t||!e)return;function a(t){var e={position:o.c(t.position),rotation:t.rotation};return t.shape&&(e.shape=i.k({},t.shape)),e}var s=(l=t,u={},l.traverse(function(t){!t.isGroup&&t.anid&&(u[t.anid]=t)}),u);var l,u;e.traverse(function(t){if(!t.isGroup&&t.anid){var e=s[t.anid];if(e){var i=a(t);t.attr(a(e)),Dt(t,i,n,t.dataIndex)}}})},n.d(e,"c",function(){return M.a}),n.d(e,"d",function(){return S.a}),n.d(e,"i",function(){return T}),n.d(e,"b",function(){return I}),n.d(e,"h",function(){return j}),n.d(e,!1,function(){return L}),n.d(e,!1,function(){return B}),n.d(e,!1,function(){return N}),n.d(e,"g",function(){return H}),n.d(e,"e",function(){return V}),n.d(e,!1,function(){return X}),n.d(e,"a",function(){return q}),n.d(e,!1,function(){return it}),n.d(e,!1,function(){return U}),n.d(e,"f",function(){return Q}),n.d(e,!1,function(){return J}),n.d(e,!1,function(){return tt.a});var rt=Math.round,at=(Math.max,Math.min,{});function ot(t,e,n,i){var a=function(t,e){return new r.a(b(t,e))}(t,e),o=a.getBoundingRect();return n&&("center"===i&&(n=st(n,o)),function(t,e){if(!t.applyTransform)return;var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}(a,n)),a}function st(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}function lt(t,e,n){var i=rt(2*t);return(i+rt(e))%2==0?i/2:(i+(n?1:-1))/2}function ut(t){return null!=t&&"none"!=t}function ht(t){return"string"==typeof t?w.a(t,-.1):t}function ct(t){if(t.__hoverStlDirty){var e=t.style.stroke,n=t.style.fill,i=t.__hoverStl;i.fill=i.fill||(ut(n)?ht(n):null),i.stroke=i.stroke||(ut(e)?ht(e):null);var r={};for(var a in i)null!=i[a]&&(r[a]=t.style[a]);t.__normalStl=r,t.__hoverStlDirty=!1}}function ft(t){if(!t.__isHover){if(ct(t),t.useHoverLayer)t.__zr&&t.__zr.addHover(t,t.__hoverStl);else{var e=t.style,n=e.insideRollbackOpt;n&&function(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth)}(e),e.extendFrom(t.__hoverStl),n&&(Ct(e,e.insideOriginalTextPosition,n),null==e.textFill&&(e.textFill=n.autoColor)),t.dirty(!1),t.z2+=1}t.__isHover=!0}}function dt(t){if(t.__isHover){var e=t.__normalStl;t.useHoverLayer?t.__zr&&t.__zr.removeHover(t):(e&&t.setStyle(e),t.z2-=1),t.__isHover=!1}}function pt(t){"group"===t.type?t.traverse(function(t){"group"!==t.type&&ft(t)}):ft(t)}function gt(t){"group"===t.type?t.traverse(function(t){"group"!==t.type&&dt(t)}):dt(t)}function vt(t,e){t.__hoverStl=t.hoverStyle||e||{},t.__hoverStlDirty=!0,t.__isHover&&ct(t)}function mt(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasis&&pt(this)}function _t(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasis&>(this)}function yt(){this.__isEmphasis=!0,pt(this)}function xt(){this.__isEmphasis=!1,gt(this)}function bt(t,e,n,r,a){return wt(t,e,r,a),n&&i.k(t,n),t.host&&t.host.dirty&&t.host.dirty(!1),t}function wt(t,e,n,r){if((n=n||at).isRectText){var a=e.getShallow("position")||(r?null:"inside");"outside"===a&&(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=i.E(e.getShallow("distance"),r?null:5)}var s,l=e.ecModel,u=l&&l.option.textStyle,h=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||at).rich;if(n)for(var i in e=e||{},n)n.hasOwnProperty(i)&&(e[i]=1);t=t.parentModel}return e}(e);if(h)for(var c in s={},h)if(h.hasOwnProperty(c)){var f=e.getModel(["rich",c]);St(s[c]={},f,u,n,r)}return t.rich=s,St(t,e,u,n,r,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),t}function St(t,e,n,r,a,o){if(n=!a&&n||at,t.textFill=Mt(e.getShallow("color"),r)||n.color,t.textStroke=Mt(e.getShallow("textBorderColor"),r)||n.textBorderColor,t.textStrokeWidth=i.E(e.getShallow("textBorderWidth"),n.textBorderWidth),!a){if(o){var s=t.textPosition;t.insideRollback=Ct(t,s,r),t.insideOriginalTextPosition=s,t.insideRollbackOpt=r}null==t.textFill&&(t.textFill=r.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&&r.disableBox||(t.textBackgroundColor=Mt(e.getShallow("backgroundColor"),r),t.textPadding=e.getShallow("padding"),t.textBorderColor=Mt(e.getShallow("borderColor"),r),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 Mt(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function Ct(t,e,n){var i,r=n.useInsideStyle;return null==t.textFill&&!1!==r&&(!0===r||n.isRectText&&e&&"string"==typeof e&&e.indexOf("inside")>=0)&&(i={textFill:null,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth},t.textFill="#fff",null==t.textStroke&&(t.textStroke=n.autoColor,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),i}function Ot(t,e,n,i,r,a){if("function"==typeof r&&(a=r,r=null),i&&i.isAnimationEnabled()){var o=t?"Update":"",s=i.getShallow("animationDuration"+o),l=i.getShallow("animationEasing"+o),u=i.getShallow("animationDelay"+o);"function"==typeof u&&(u=u(r,i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null)),"function"==typeof s&&(s=s(r)),s>0?e.animateTo(n,s,u||0,l,a,!!a):(e.stopAnimation(),e.attr(n),a&&a())}else e.stopAnimation(),e.attr(n),a&&a()}function Dt(t,e,n,i,r){Ot(!0,t,e,n,i,r)}},K67q:function(t,e,n){"use strict";var i=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],r={color:i,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:"#eee"},crossStyle:{color:"#eee"}}},legend:{textStyle:{color:"#eee"}},textStyle:{color:"#eee"},title:{textStyle:{color:"#eee"}},toolbox:{iconStyle:{normal:{borderColor:"#eee"}}},dataZoom:{textStyle:{color:"#eee"}},visualMap:{textStyle:{color:"#eee"}},timeline:{lineStyle:{color:"#eee"},itemStyle:{normal:{color:i[1]}},label:{normal:{textStyle:{color:"#eee"}}},controlStyle:{normal:{color:"#eee",borderColor:"#eee"}}},timeAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},logAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},valueAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},categoryAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},line:{symbol:"circle"},graph:{color:i},gauge:{title:{textStyle:{color:"#eee"}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};r.categoryAxis.splitLine.show=!1,e.a=r},KzNF:function(t,e,n){"use strict";var i=n("oA+l"),r=n("ASYS"),a=n("yIt6");function o(t,e,n,i,r,a,o){if(0===r)return!1;var s=r,l=0;if(o>e+s&&o>i+s||o<e-s&&o<i-s||a>t+s&&a>n+s||a<t-s&&a<n-s)return!1;if(t===n)return Math.abs(a-t)<=s/2;var u=(l=(e-i)/(t-n))*a-o+(t*i-n*e)/(t-n);return u*u/(l*l+1)<=s/2*s/2}var s=n("Xa3u");function l(t,e,n,i,r,a,o,l,u,h,c){if(0===u)return!1;var f=u;return!(c>e+f&&c>i+f&&c>a+f&&c>l+f||c<e-f&&c<i-f&&c<a-f&&c<l-f||h>t+f&&h>n+f&&h>r+f&&h>o+f||h<t-f&&h<n-f&&h<r-f&&h<o-f)&&s.d(t,e,n,i,r,a,o,l,h,c,null)<=f/2}function u(t,e,n,i,r,a,o,l,u){if(0===o)return!1;var h=o;return!(u>e+h&&u>i+h&&u>a+h||u<e-h&&u<i-h&&u<a-h||l>t+h&&l>n+h&&l>r+h||l<t-h&&l<n-h&&l<r-h)&&Object(s.j)(t,e,n,i,r,a,l,u,null)<=h/2}var h=2*Math.PI;function c(t){return(t%=h)<0&&(t+=h),t}var f=2*Math.PI;function d(t,e,n,i,r,a,o,s,l){if(0===o)return!1;var u=o;s-=t,l-=e;var h=Math.sqrt(s*s+l*l);if(h-u>n||h+u<n)return!1;if(Math.abs(i-r)%f<1e-4)return!0;if(a){var d=i;i=c(r),r=c(d)}else i=c(i),r=c(r);i>r&&(r+=f);var p=Math.atan2(l,s);return p<0&&(p+=f),p>=i&&p<=r||p+f>=i&&p+f<=r}function p(t,e,n,i,r,a){if(a>e&&a>i||a<e&&a<i)return 0;if(i===e)return 0;var o=i<e?1:-1,s=(a-e)/(i-e);1!==s&&0!==s||(o=i<e?.5:-.5);var l=s*(n-t)+t;return l===r?1/0:l>r?o:0}var g=a.a.CMD,v=2*Math.PI,m=1e-4;var _=[-1,-1,-1],y=[-1,-1];function x(t,e,n,i,r,a,o,l,u,h){if(h>e&&h>i&&h>a&&h>l||h<e&&h<i&&h<a&&h<l)return 0;var c,f=s.e(e,i,a,l,h,_);if(0===f)return 0;for(var d,p,g=0,v=-1,m=0;m<f;m++){var x=_[m],b=0===x||1===x?.5:1;s.a(t,n,r,o,x)<u||(v<0&&(v=s.c(e,i,a,l,y),y[1]<y[0]&&v>1&&(void 0,c=y[0],y[0]=y[1],y[1]=c),d=s.a(e,i,a,l,y[0]),v>1&&(p=s.a(e,i,a,l,y[1]))),2==v?x<y[0]?g+=d<e?b:-b:x<y[1]?g+=p<d?b:-b:g+=l<p?b:-b:x<y[0]?g+=d<e?b:-b:g+=l<d?b:-b)}return g}function b(t,e,n,i,r,a,o,l){if(l>e&&l>i&&l>a||l<e&&l<i&&l<a)return 0;var u=s.k(e,i,a,l,_);if(0===u)return 0;var h=s.i(e,i,a);if(h>=0&&h<=1){for(var c=0,f=s.g(e,i,a,h),d=0;d<u;d++){var p=0===_[d]||1===_[d]?.5:1;s.g(t,n,r,_[d])<o||(_[d]<h?c+=f<e?p:-p:c+=a<f?p:-p)}return c}p=0===_[0]||1===_[0]?.5:1;return s.g(t,n,r,_[0])<o?0:a<e?p:-p}function w(t,e,n,i,r,a,o,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);_[0]=-l,_[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u%v<1e-4){i=0,r=v;var h=a?1:-1;return o>=_[0]+t&&o<=_[1]+t?h:0}if(a){l=i;i=c(r),r=c(l)}else i=c(i),r=c(r);i>r&&(r+=v);for(var f=0,d=0;d<2;d++){var p=_[d];if(p+t>o){var g=Math.atan2(s,p);h=a?1:-1;g<0&&(g=v+g),(g>=i&&g<=r||g+v>=i&&g+v<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),f+=h)}}return f}function S(t,e,n,i,r){for(var a,s,h=0,c=0,f=0,v=0,_=0,y=0;y<t.length;){var S=t[y++];switch(S===g.M&&y>1&&(n||(h+=p(c,f,v,_,i,r))),1==y&&(v=c=t[y],_=f=t[y+1]),S){case g.M:c=v=t[y++],f=_=t[y++];break;case g.L:if(n){if(o(c,f,t[y],t[y+1],e,i,r))return!0}else h+=p(c,f,t[y],t[y+1],i,r)||0;c=t[y++],f=t[y++];break;case g.C:if(n){if(l(c,f,t[y++],t[y++],t[y++],t[y++],t[y],t[y+1],e,i,r))return!0}else h+=x(c,f,t[y++],t[y++],t[y++],t[y++],t[y],t[y+1],i,r)||0;c=t[y++],f=t[y++];break;case g.Q:if(n){if(u(c,f,t[y++],t[y++],t[y],t[y+1],e,i,r))return!0}else h+=b(c,f,t[y++],t[y++],t[y],t[y+1],i,r)||0;c=t[y++],f=t[y++];break;case g.A:var M=t[y++],C=t[y++],O=t[y++],D=t[y++],k=t[y++],T=t[y++],I=(t[y++],1-t[y++]),A=Math.cos(k)*O+M,j=Math.sin(k)*D+C;y>1?h+=p(c,f,A,j,i,r):(v=A,_=j);var L=(i-M)*D/O+M;if(n){if(d(M,C,D,k,k+T,I,e,L,r))return!0}else h+=w(M,C,D,k,k+T,I,L,r);c=Math.cos(k+T)*O+M,f=Math.sin(k+T)*D+C;break;case g.R:v=c=t[y++],_=f=t[y++];A=v+t[y++],j=_+t[y++];if(n){if(o(v,_,A,_,e,i,r)||o(A,_,A,j,e,i,r)||o(A,j,v,j,e,i,r)||o(v,j,v,_,e,i,r))return!0}else h+=p(A,_,A,j,i,r),h+=p(v,j,v,_,i,r);break;case g.Z:if(n){if(o(c,f,v,_,e,i,r))return!0}else h+=p(c,f,v,_,i,r);c=v,f=_}}return n||(a=f,s=_,Math.abs(a-s)<m)||(h+=p(c,f,v,_,i,r)||0),0!==h}var M=n("XITm").a.prototype.getCanvasPattern,C=Math.abs,O=new a.a(!0);function D(t){i.a.call(this,t),this.path=null}D.prototype={constructor:D,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(t,e){var n,i=this.style,r=this.path||O,a=i.hasStroke(),o=i.hasFill(),s=i.fill,l=i.stroke,u=o&&!!s.colorStops,h=a&&!!l.colorStops,c=o&&!!s.image,f=a&&!!l.image;(i.bind(t,this,e),this.setTransform(t),this.__dirty)&&(u&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(t,s,n)),h&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(t,l,n)));u?t.fillStyle=this._fillGradient:c&&(t.fillStyle=M.call(s,t)),h?t.strokeStyle=this._strokeGradient:f&&(t.strokeStyle=M.call(l,t));var d=i.lineDash,p=i.lineDashOffset,g=!!t.setLineDash,v=this.getGlobalScale();r.setScale(v[0],v[1]),this.__dirtyPath||d&&!g&&a?(r.beginPath(t),d&&!g&&(r.setLineDash(d),r.setLineDashOffset(p)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),o&&r.fill(t),d&&g&&(t.setLineDash(d),t.lineDashOffset=p),a&&r.stroke(t),d&&g&&t.setLineDash([]),null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new a.a},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var i=this.path;i||(i=this.path=new a.a),this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),t=i.getBoundingRect()}if(this._rect=t,e.hasStroke()){var r=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){r.copy(t);var o=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),s>1e-10&&(r.width+=o/s,r.height+=o/s,r.x-=o/s/2,r.y-=o/s/2)}return r}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var a=this.path.data;if(r.hasStroke()){var o=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(r.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),function(t,e,n,i){return S(t,e,!0,n,i)}(a,o/s,t,e)))return!0}if(r.hasFill())return function(t,e,n){return S(t,0,!1,e,n)}(a,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):i.a.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(r.t(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&&C(t[0]-1)>1e-10&&C(t[3]-1)>1e-10?Math.sqrt(C(t[0]*t[3]-t[2]*t[1])):1}},D.extend=function(t){var e=function(e){D.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var r in n)!i.hasOwnProperty(r)&&n.hasOwnProperty(r)&&(i[r]=n[r])}t.init&&t.init.call(this,e)};for(var n in r.o(e,D),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},r.o(D,i.a);e.a=D},MQcP:function(t,e){},PBwm:function(t,e,n){"use strict";e.a=function(t){return new a(t)};var i=n("ASYS"),r=n("HaDi");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,a=t&&t.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!a&&(e=this._plan(this.context));var s,u=d(this._modBy),h=this._modDataCount||0,c=d(t&&t.modBy),f=t&&t.modDataCount||0;function d(t){return!(t>=1)&&(t=1),t}u===c&&h===f||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,s=function(t,e){var n,r;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&((n=t._reset(t.context))&&n.progress&&(r=n.forceFirstProgress,n=n.progress),Object(i.p)(n)&&!n.length&&(n=null));t._progress=n,t._modBy=t._modDataCount=null;var a=t._downstream;return a&&a.dirty(),r}(this,a)),this._modBy=c,this._modDataCount=f;var p=t&&t.step;if(n?(r.a&&Object(i.b)(null!=n._outputDueEnd),this._dueEnd=n._outputDueEnd):(r.a&&Object(i.b)(!this._progress||this._count),this._dueEnd=this._count?this._count(this.context):1/0),this._progress){var g=this._dueIndex,v=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!a&&(s||g<v)){var m=this._progress;if(Object(i.p)(m))for(var _=0;_<m.length;_++)l(this,m[_],g,v,c,f);else l(this,m,g,v,c,f)}this._dueIndex=v;var y=null!=this._settedOutputEnd?this._settedOutputEnd:v;r.a&&Object(i.b)(y>=this._outputDueEnd),this._outputDueEnd=y}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var s=function(){var t,e,n,i,r,a={reset:function(l,u,h,c){e=l,t=u,n=h,i=c,r=Math.ceil(i/n),a.next=n>1&&i>0?s:o}};return a;function o(){return e<t?e++:null}function s(){var a=e%r*n+Math.ceil(e/r),o=e>=t?null:a<i?a:e;return e++,o}}();function l(t,e,n,i,r,a){s.reset(n,i,r,a),t._callingProgress=e,t._callingProgress({start:n,end:i,count:i-n,next:s.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){r.a&&Object(i.b)(t&&!t._disposed&&t!==this),(this._downstream!==t||this._dirty)&&(this._downstream=t,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}},Pwqh:function(t,e,n){"use strict";var i=n("HhVg"),r=n("uAiK"),a=n("ASYS"),o=n("iyEX");function s(){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}}s.prototype={constructor:s,_dragStart:function(t){var e=t.target;e&&e.draggable&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(l(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,a=i-this._y;this._x=n,this._y=i,e.drift(r,a,t),this.dispatchToElement(l(e,t),"drag",t.event);var o=this.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=o,e!==o&&(s&&o!==s&&this.dispatchToElement(l(s,t),"dragleave",t.event),o&&o!==s&&this.dispatchToElement(l(o,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 u=s,h=n("w8+Z"),c="silent";function f(){}f.prototype.dispose=function(){};var d=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p=function(t,e,n,i){h.a.call(this),this.storage=t,this.painter=e,this.painterRoot=i,n=n||new f,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,u.call(this),this.setHandlerProxy(n)};function g(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i,r=t;r;){if(r.clipPath&&!r.clipPath.contain(e,n))return!1;r.silent&&(i=!0),r=r.parent}return!i||c}return!1}p.prototype={constructor:p,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(a.i(d,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,i=this._hovered,r=i.target;r&&!r.__zr&&(r=(i=this.findHover(i.x,i.y)).target);var a=this._hovered=this.findHover(e,n),o=a.target,s=this.proxy;s.setCursor&&s.setCursor(o?o.cursor:"default"),r&&o!==r&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(a,"mousemove",t),o&&o!==r&&this.dispatchToElement(a,"mouseover",t)},mouseout:function(t){this.dispatchToElement(this._hovered,"mouseout",t);var e,n=t.toElement||t.relatedTarget;do{n=n&&n.parentNode}while(n&&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 r="on"+e,a=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which}}(e,t,n);i&&(i[r]&&(a.cancelBubble=i[r].call(i,a)),i.trigger(e,a),i=i.parent,!a.cancelBubble););a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer(function(t){"function"==typeof t[r]&&t[r].call(t,a),t.trigger&&t.trigger(e,a)}))}},findHover:function(t,e,n){for(var i=this.storage.getDisplayList(),r={x:t,y:e},a=i.length-1;a>=0;a--){var o;if(i[a]!==n&&!i[a].ignore&&(o=g(i[a],t,e))&&(!r.topTarget&&(r.topTarget=i[a]),o!==c)){r.target=i[a];break}}return r}},a.i(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){p.prototype[t]=function(e){var n=this.findHover(e.zrX,e.zrY),i=n.target;if("mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||o.f(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}),a.z(p,h.a),a.z(p,u);var v=p,m=n("16G8"),_=n("RiK1");function y(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var x=function(){this._roots=[],this._displayList=[],this._displayListLen=0};x.prototype={constructor:x,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.a.canvasSupported&&Object(_.a)(n,y)},_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 r=i,a=t;r;)r.parent=a,r.updateTransform(),e.push(r),a=r,r=r.clipPath}if(t.isGroup){for(var o=t._children,s=0;s<o.length;s++){var l=o[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 m.a&&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 m.a&&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 r=a.n(this._roots,t);r>=0&&(this.delFromStorage(t),this._roots.splice(r,1),t instanceof m.a&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:y};var b=x,w=n("fO4x"),S=n("9TGo"),M=n("Rjdj"),C=n("mOz2"),O=n("XITm");function D(){return!1}function k(t,e,n){var i=a.e(),r=e.getWidth(),o=e.getHeight(),s=i.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=r+"px",s.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}var T=function(t,e,n){var i;n=n||w.b,"string"==typeof t?i=k(t,e,n):a.t(t)&&(t=(i=t).id),this.id=t,this.dom=i;var r=i.style;r&&(i.onselectstart=D,r["-webkit-user-select"]="none",r["user-select"]="none",r["-webkit-touch-callout"]="none",r["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",r.padding=0,r.margin=0,r["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};T.prototype={constructor:T,__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=k("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,r=i.style,a=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,a&&(a.width=t*n,a.height=e*n,1!=n&&this.ctxBack.scale(n,n))},clear:function(t,e){var n,i=this.dom,r=this.ctx,a=i.width,o=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,a/u,o/u)),r.clearRect(0,0,a,o),e&&"transparent"!==e)&&(e.colorStops?(n=e.__canvasGradient||C.a.getGradient(r,e,{x:0,y:0,width:a,height:o}),e.__canvasGradient=n):e.image&&(n=O.a.prototype.getCanvasPattern.call(e,r)),r.save(),r.fillStyle=n||e,r.fillRect(0,0,a,o),r.restore());if(s){var h=this.domBack;r.save(),r.globalAlpha=l,r.drawImage(h,0,0,a,o),r.restore()}}};var I=T,A="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)},j=n("engH");function L(t){return parseInt(t,10)}var P=new M.a(0,0,0,0),E=new M.a(0,0,0,0);var z=function(t,e,n){this.type="canvas";var i=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=a.k({},n||{}),this.dpr=n.devicePixelRatio||w.b,this._singleCanvas=i,this.root=t;var r=t.style;r&&(r["-webkit-tap-highlight-color"]="transparent",r["-webkit-user-select"]=r["user-select"]=r["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var o=this._zlevelList=[],s=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,i){var l=t.width,u=t.height;null!=n.width&&(l=n.width),null!=n.height&&(u=n.height),this.dpr=n.devicePixelRatio||1,t.width=l*this.dpr,t.height=u*this.dpr,this._width=l,this._height=u;var h=new I(t,this,this.dpr);h.__builtin__=!0,h.initContext(),s[314159]=h,h.zlevel=314159,o.push(314159),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var c=this._domRoot=function(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","overflow:hidden","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);t.appendChild(c)}this._hoverlayer=null,this._hoverElements=[]};z.prototype={constructor:z,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 r=n[i],a=this._layers[r];if(!a.__builtin__&&a.refresh){var o=0===i?this._backgroundColor:null;a.refresh(o)}}return this.refreshHover(),this},addHover:function(t,e){if(!t.__hoverMir){var n=new t.constructor({style:t.style,shape:t.shape});n.__from=t,t.__hoverMir=n,n.setStyle(e),this._hoverElements.push(n)}},removeHover:function(t){var e=t.__hoverMir,n=this._hoverElements,i=a.n(n,e);i>=0&&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){Object(_.a)(t,this.storage.displayableSortFunc),n||(n=this._hoverlayer=this.getLayer(1e5));var i={};n.ctx.save();for(var r=0;r<e;){var a=t[r],o=a.__from;o&&o.__zr?(r++,o.invisible||(a.transform=o.transform,a.invTransform=o.invTransform,a.__clipPaths=o.__clipPaths,this._doPaintEl(a,n,!0,i))):(t.splice(r,1),o.__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 r=this;A(function(){r._paintList(t,e,n)})}}},_compositeManually:function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)})},_doPaintList:function(t,e){for(var n=[],i=0;i<this._zlevelList.length;i++){var o=this._zlevelList[i];(u=this._layers[o]).__builtin__&&u!==this._hoverlayer&&(u.__dirty||e)&&n.push(u)}for(var s=!0,l=0;l<n.length;l++){var u,h=(u=n[l]).ctx,c={};h.save();var f=e?u.__startIndex:u.__drawIndex,d=!e&&u.incremental&&Date.now,p=d&&Date.now(),g=u.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(u.__startIndex===u.__endIndex)u.clear(!1,g);else if(f===u.__startIndex){var v=t[f];v.incremental&&v.notClear&&!e||u.clear(!1,g)}-1===f&&(console.error("For some unknown reason. drawIndex is -1"),f=u.__startIndex);for(var m=f;m<u.__endIndex;m++){var _=t[m];if(this._doPaintEl(_,u,e,c),_.__dirty=!1,d)if(Date.now()-p>15)break}u.__drawIndex=m,u.__drawIndex<u.__endIndex&&(s=!1),c.prevElClipPaths&&h.restore(),h.restore()}return r.a.wxa&&a.i(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),s},_doPaintEl:function(t,e,n,i){var r=e.ctx,a=t.transform;if((e.__dirty||n)&&!t.invisible&&0!==t.style.opacity&&(!a||a[0]||a[3])&&(!t.culling||!function(t,e,n){return P.copy(t.getBoundingRect()),t.transform&&P.applyTransform(t.transform),E.width=e,E.height=n,!P.intersect(E)}(t,this._width,this._height))){var o=t.__clipPaths;i.prevElClipPaths&&!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}(o,i.prevElClipPaths)||(i.prevElClipPaths&&(e.ctx.restore(),i.prevElClipPaths=null,i.prevEl=null),o&&(r.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)}}(o,r),i.prevElClipPaths=o)),t.beforeBrush&&t.beforeBrush(r),t.brush(r,i.prevEl||null),i.prevEl=t,t.afterBrush&&t.afterBrush(r)}},getLayer:function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var n=this._layers[t];return n||((n=new I("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]&&a.x(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,r=i.length,a=null,o=-1,s=this._domRoot;if(n[t])Object(S.a)("ZLevel "+t+" has been used already");else if(function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(r>0&&t>i[0]){for(o=0;o<r-1&&!(i[o]<t&&i[o+1]>t);o++);a=n[i[o]]}if(i.splice(o+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?s.insertBefore(e.dom,l.nextSibling):s.appendChild(e.dom)}else s.firstChild?s.insertBefore(e.dom,s.firstChild):s.appendChild(e.dom)}else Object(S.a)("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,i,r=this._zlevelList;for(i=0;i<r.length;i++)n=r[i],t.call(e,this._layers[n],n)},eachBuiltinLayer:function(t,e){var n,i,r,a=this._zlevelList;for(r=0;r<a.length;r++)i=a[r],(n=this._layers[i]).__builtin__&&t.call(e,n,i)},eachOtherLayer:function(t,e){var n,i,r,a=this._zlevelList;for(r=0;r<a.length;r++)i=a[r],(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((a=t[n]).zlevel!==t[n-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var i=null,r=0;for(n=0;n<t.length;n++){var a,o,s=(a=t[n]).zlevel;a.incremental?((o=this.getLayer(s+.001,this._needsManuallyCompositing)).incremental=!0,r=1):o=this.getLayer(s+(r>0?.01:0),this._needsManuallyCompositing),o.__builtin__||Object(S.a)("ZLevel "+s+" has been used by unkown layer "+o.id),o!==i&&(o.__used=!0,o.__startIndex!==n&&(o.__dirty=!0),o.__startIndex=n,o.incremental?o.__drawIndex=-1:o.__drawIndex=n,e(n),i=o),a.__dirty&&(o.__dirty=!0,o.incremental&&o.__drawIndex<0&&(o.__drawIndex=n))}e(n),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?a.x(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];if(r===t||r===t+.01){var o=this._layers[r];a.x(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(a.n(n,t),1))},resize:function(t,e){if(this._domRoot.style){var n=this._domRoot;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||e!=this._height){for(var r in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(r)&&this._layers[r].resize(t,e);a.i(this._progressiveLayers,function(n){n.resize(t,e)}),this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(314159).resize(t,e)}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[314159].dom;var e=new I("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,r=e.ctx;this.eachLayer(function(t){t.__builtin__?r.drawImage(t.dom,0,0,n,i):t.renderToCanvas&&(e.ctx.save(),t.renderToCanvas(e.ctx),e.ctx.restore())})}else for(var a={},o=this.storage.getDisplayList(!0),s=0;s<o.length;s++){var l=o[s];this._doPaintEl(l,e,!0,a)}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],r=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[i]||L(s[n])||L(o.style[n]))-(L(s[r])||0)-(L(s[a])||0)|0},pathToImage:function(t,e){e=e||this.dpr;var n=document.createElement("canvas"),i=n.getContext("2d"),r=t.getBoundingRect(),a=t.style,o=a.shadowBlur*e,s=a.shadowOffsetX*e,l=a.shadowOffsetY*e,u=a.hasStroke()?a.lineWidth:0,h=Math.max(u/2,-s+o),c=Math.max(u/2,s+o),f=Math.max(u/2,-l+o),d=Math.max(u/2,l+o),p=r.width+h+c,g=r.height+f+d;n.width=p*e,n.height=g*e,i.scale(e,e),i.clearRect(0,0,p,g),i.dpr=e;var v={position:t.position,rotation:t.rotation,scale:t.scale};t.position=[h-r.x,f-r.y],t.rotation=0,t.scale=[1,1],t.updateTransform(),t&&t.brush(i);var m=new(0,j.a)({style:{x:0,y:0,image:n}});return null!=v.position&&(m.position=t.position=v.position),null!=v.rotation&&(m.rotation=t.rotation=v.rotation),null!=v.scale&&(m.scale=t.scale=v.scale),m}};var R=z,B="undefined"!=typeof window&&!!window.addEventListener,N=/^(?:mouse|pointer|contextmenu|drag|drop)|click/;function F(t,e,n,i){return n=n||{},i||!r.a.canvasSupported?H(t,e,n):r.a.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):H(t,e,n),n}function H(t,e,n){var i=function(t){return t.getBoundingClientRect?t.getBoundingClientRect():{left:0,top:0}}(t);n.zrX=e.clientX-i.left,n.zrY=e.clientY-i.top}function V(t,e,n){if(null!=(e=e||window.event).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!=i?e.targetTouches[0]:e.changedTouches[0];r&&F(t,r,e,n)}else F(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var a=e.button;return null==e.which&&void 0!==a&&N.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function W(t,e,n){B?t.removeEventListener(e,n):t.detachEvent("on"+e,n)}var G=n("EHAU"),Y=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,h.a.call(this)};Y.prototype={constructor:Y,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.n(this._clips,t);e>=0&&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,r=[],a=[],o=0;o<i;o++){var s=n[o],l=s.step(t,e);l&&(r.push(l),a.push(s))}for(o=0;o<i;)n[o]._needsRemove?(n[o]=n[i-1],n.pop(),i--):o++;i=r.length;for(o=0;o<i;o++)a[o].fire(r[o]);this._time=t,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){var t=this;this._running=!0,A(function e(){t._running&&(A(e),!t._paused&&t._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){e=e||{};var n=new G.a(t,e.loop,e.getter,e.setter);return this.addAnimator(n),n}},a.z(Y,h.a);var X=Y,q=function(){this._track=[]};function U(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}q.prototype={constructor:q,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 r={points:[],touches:[],target:e,event:t},a=0,o=i.length;a<o;a++){var s=i[a],l=F(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},_recognize:function(t){for(var e in Z)if(Z.hasOwnProperty(e)){var n=Z[e](this._track,t);if(n)return n}}};var Z={pinch:function(t,e){var n=t.length;if(n){var i,r=(t[n-1]||{}).points,a=(t[n-2]||{}).points||r;if(a&&a.length>1&&r&&r.length>1){var o=U(r)/U(a);!isFinite(o)&&(o=1),e.pinchScale=o;var s=[((i=r)[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}}}}},K=q,Q=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],$=["touchstart","touchend","touchmove"],J={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},tt=a.w(Q,function(t){var e=t.replace("mouse","pointer");return J[e]?e:t});function et(t){return"mousewheel"===t&&r.a.browser.firefox?"DOMMouseScroll":t}function nt(t,e,n){var i=t._gestureMgr;"start"===n&&i.clear();var r=i.recognize(e,t.handler.findHover(e.zrX,e.zrY,null).target,t.dom);if("end"===n&&i.clear(),r){var a=r.type;e.gestureEvent=a,t.handler.dispatchToElement({target:r.target},a,r.event)}}function it(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=setTimeout(function(){t._touching=!1},700)}var rt={mousemove:function(t){t=V(this.dom,t),this.trigger("mousemove",t)},mouseout:function(t){var e=(t=V(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=V(this.dom,t)).zrByTouch=!0,this._lastTouchMoment=new Date,nt(this,t,"start"),rt.mousemove.call(this,t),rt.mousedown.call(this,t),it(this)},touchmove:function(t){(t=V(this.dom,t)).zrByTouch=!0,nt(this,t,"change"),rt.mousemove.call(this,t),it(this)},touchend:function(t){(t=V(this.dom,t)).zrByTouch=!0,nt(this,t,"end"),rt.mouseup.call(this,t),+new Date-this._lastTouchMoment<300&&rt.click.call(this,t),it(this)},pointerdown:function(t){rt.mousedown.call(this,t)},pointermove:function(t){at(t)||rt.mousemove.call(this,t)},pointerup:function(t){rt.mouseup.call(this,t)},pointerout:function(t){at(t)||rt.mouseout.call(this,t)}};function at(t){var e=t.pointerType;return"pen"===e||"touch"===e}function ot(t){var e;function n(e,n){a.i(e,function(e){!function(t,e,n){B?t.addEventListener(e,n):t.attachEvent("on"+e,n)}(t,et(e),n._handlers[e])},n)}h.a.call(this),this.dom=t,this._touching=!1,this._touchTimer,this._gestureMgr=new K,this._handlers={},e=this,a.i($,function(t){e._handlers[t]=a.c(rt[t],e)}),a.i(tt,function(t){e._handlers[t]=a.c(rt[t],e)}),a.i(Q,function(t){e._handlers[t]=function(t,e){return function(){if(!e._touching)return t.apply(e,arguments)}}(rt[t],e)}),r.a.pointerEventsSupported?n(tt,this):(r.a.touchEventsSupported&&n($,this),n(Q,this))}a.i(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){rt[t]=function(e){e=V(this.dom,e),this.trigger(t,e)}});var st=ot.prototype;st.dispose=function(){for(var t=Q.concat($),e=0;e<t.length;e++){var n=t[e];W(this.dom,et(n),this._handlers[n])}},st.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},a.z(ot,h.a);var lt=ot;n.d(e,"b",function(){return ft}),e.a=function(t,e){var n=new dt(Object(i.a)(),t,e);return ct[n.id]=n,n};
- /*!
- * ZRender, a high performance 2d drawing library.
- *
- * Copyright (c) 2013, Baidu Inc.
- * All rights reserved.
- *
- * LICENSE
- * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
- */
- var ut=!r.a.canvasSupported,ht={canvas:R},ct={},ft="4.0.4";var dt=function(t,e,n){n=n||{},this.dom=e,this.id=t;var i=this,o=new b,s=n.renderer;if(ut){if(!ht.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");s="vml"}else s&&ht[s]||(s="canvas");var l=new ht[s](e,o,n,t);this.storage=o,this.painter=l;var u=r.a.node||r.a.worker?null:new lt(l.getViewportRoot());this.handler=new v(o,l,u,l.root),this.animation=new X({stage:{update:a.c(this.flush,this)}}),this.animation.start(),this._needsRefresh;var h=o.delFromStorage,c=o.addToStorage;o.delFromStorage=function(t){h.call(o,t),t&&t.removeSelfFromZr(i)},o.addToStorage=function(t){c.call(o,t),t.addSelfToZr(i)}};dt.prototype={constructor:dt,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=!1,this.painter.refresh(),this._needsRefresh=!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){this.painter.addHover&&(this.painter.addHover(t,e),this.refreshHover())},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 ct[t]}}},QgCW:function(t,e,n){"use strict";n.d(e,"f",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"e",function(){return a}),n.d(e,"d",function(){return o}),n.d(e,"h",function(){return s}),n.d(e,"g",function(){return l}),n.d(e,"a",function(){return u}),n.d(e,"b",function(){return h});var i="original",r="arrayRows",a="objectRows",o="keyedColumns",s="unknown",l="typedArray",u="column",h="row"},RFqH:function(t,e,n){"use strict";var i=n("e2r8");e.a={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),r=(t.visualColorAccessPath||"itemStyle.color").split("."),a=t.get(r)||t.getColorFromPalette(t.name,null,e.getSeriesCount());if(n.setVisual("color",a),!e.isSeriesFiltered(t)){"function"!=typeof a||a instanceof i.a||n.each(function(e){n.setItemVisual(e,"color",a(t.getDataParams(e)))});return{dataEach:n.hasItemOption?function(t,e){var n=t.getItemModel(e).get(r,!0);null!=n&&t.setItemVisual(e,"color",n)}:null}}}}},RiK1:function(t,e,n){"use strict";e.a=function(t,e,n,h){n||(n=0);h||(h=t.length);var c=h-n;if(c<2)return;var f=0;if(c<i)return f=o(t,n,h,e),void s(t,n,h,n+f,e);var d=new function(t,e){var n,i,o=r,s=0,h=0;(s=t.length)<2*a&&s>>>1;var c=[];function f(a){var s=n[a],f=i[a],d=n[a+1],p=i[a+1];i[a]=f+p,a===h-3&&(n[a+1]=n[a+2],i[a+1]=i[a+2]),h--;var g=u(t[d],t,s,f,0,e);s+=g,0!==(f-=g)&&0!==(p=l(t[s+f-1],t,d,p,p-1,e))&&(f<=p?function(n,i,a,s){var h=0;for(h=0;h<i;h++)c[h]=t[n+h];var f=0,d=a,p=n;if(t[p++]=t[d++],0==--s){for(h=0;h<i;h++)t[p+h]=c[f+h];return}if(1===i){for(h=0;h<s;h++)t[p+h]=t[d+h];return void(t[p+s]=c[f])}var g,v,m,_=o;for(;;){g=0,v=0,m=!1;do{if(e(t[d],c[f])<0){if(t[p++]=t[d++],v++,g=0,0==--s){m=!0;break}}else if(t[p++]=c[f++],g++,v=0,1==--i){m=!0;break}}while((g|v)<_);if(m)break;do{if(0!==(g=u(t[d],c,f,i,0,e))){for(h=0;h<g;h++)t[p+h]=c[f+h];if(p+=g,f+=g,(i-=g)<=1){m=!0;break}}if(t[p++]=t[d++],0==--s){m=!0;break}if(0!==(v=l(c[f],t,d,s,0,e))){for(h=0;h<v;h++)t[p+h]=t[d+h];if(p+=v,d+=v,0===(s-=v)){m=!0;break}}if(t[p++]=c[f++],1==--i){m=!0;break}_--}while(g>=r||v>=r);if(m)break;_<0&&(_=0),_+=2}if((o=_)<1&&(o=1),1===i){for(h=0;h<s;h++)t[p+h]=t[d+h];t[p+s]=c[f]}else{if(0===i)throw new Error;for(h=0;h<i;h++)t[p+h]=c[f+h]}}(s,f,d,p):function(n,i,a,s){var h=0;for(h=0;h<s;h++)c[h]=t[a+h];var f=n+i-1,d=s-1,p=a+s-1,g=0,v=0;if(t[p--]=t[f--],0==--i){for(g=p-(s-1),h=0;h<s;h++)t[g+h]=c[h];return}if(1===s){for(v=(p-=i)+1,g=(f-=i)+1,h=i-1;h>=0;h--)t[v+h]=t[g+h];return void(t[p]=c[d])}var m=o;for(;;){var _=0,y=0,x=!1;do{if(e(c[d],t[f])<0){if(t[p--]=t[f--],_++,y=0,0==--i){x=!0;break}}else if(t[p--]=c[d--],y++,_=0,1==--s){x=!0;break}}while((_|y)<m);if(x)break;do{if(0!==(_=i-u(c[d],t,n,i,i-1,e))){for(i-=_,v=(p-=_)+1,g=(f-=_)+1,h=_-1;h>=0;h--)t[v+h]=t[g+h];if(0===i){x=!0;break}}if(t[p--]=c[d--],1==--s){x=!0;break}if(0!==(y=s-l(t[f],c,0,s,s-1,e))){for(s-=y,v=(p-=y)+1,g=(d-=y)+1,h=0;h<y;h++)t[v+h]=c[g+h];if(s<=1){x=!0;break}}if(t[p--]=t[f--],0==--i){x=!0;break}m--}while(_>=r||y>=r);if(x)break;m<0&&(m=0),m+=2}(o=m)<1&&(o=1);if(1===s){for(v=(p-=i)+1,g=(f-=i)+1,h=i-1;h>=0;h--)t[v+h]=t[g+h];t[p]=c[d]}else{if(0===s)throw new Error;for(g=p-(s-1),h=0;h<s;h++)t[g+h]=c[h]}}(s,f,d,p))}s<120?5:s<1542?10:s<119151?19:40,n=[],i=[],this.mergeRuns=function(){for(;h>1;){var t=h-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;f(t)}},this.forceMergeRuns=function(){for(;h>1;){var t=h-2;t>0&&i[t-1]<i[t+1]&&t--,f(t)}},this.pushRun=function(t,e){n[h]=t,i[h]=e,h+=1}}(t,e),p=function(t){var e=0;for(;t>=i;)e|=1&t,t>>=1;return t+e}(c);do{if((f=o(t,n,h,e))<p){var g=c;g>p&&(g=p),s(t,n,n+g,n+f,e),f=g}d.pushRun(n,f),d.mergeRuns(),c-=f,n+=f}while(0!==c);d.forceMergeRuns()};var i=32,r=7,a=256;function o(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r<n&&i(t[r],t[r-1])<0;)r++;!function(t,e,n){n--;for(;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}(t,e,r)}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function s(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var a,o=t[i],s=e,l=i;s<l;)r(o,t[a=s+l>>>1])<0?l=a:s=a+1;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(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=o}}function l(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])>0){for(s=i-r;l<s&&a(t,e[n+r+l])>0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}else{for(s=r+1;l<s&&a(t,e[n+r-l])<=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=o;o=r-l,l=r-u}for(o++;o<l;){var h=o+(l-o>>>1);a(t,e[n+h])>0?o=h+1:l=h}return l}function u(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])<0){for(s=r+1;l<s&&a(t,e[n+r-l])<0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=o;o=r-l,l=r-u}else{for(s=i-r;l<s&&a(t,e[n+r+l])>=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}for(o++;o<l;){var h=o+(l-o>>>1);a(t,e[n+h])<0?l=h:o=h+1}return l}},Rjdj:function(t,e,n){"use strict";var i,r,a,o,s=n("iyEX"),l=n("hANm"),u=s.b,h=Math.min,c=Math.max;function f(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}f.prototype={constructor:f,union:function(t){var e=h(t.x,this.x),n=h(t.y,this.y);this.width=c(t.x+t.width,this.x+this.width)-e,this.height=c(t.y+t.height,this.y+this.height)-n,this.x=e,this.y=n},applyTransform:(i=[],r=[],a=[],o=[],function(t){if(t){i[0]=a[0]=this.x,i[1]=o[1]=this.y,r[0]=o[0]=this.x+this.width,r[1]=a[1]=this.y+this.height,u(i,i,t),u(r,r,t),u(a,a,t),u(o,o,t),this.x=h(i[0],r[0],a[0],o[0]),this.y=h(i[1],r[1],a[1],o[1]);var e=c(i[0],r[0],a[0],o[0]),n=c(i[1],r[1],a[1],o[1]);this.width=e-this.x,this.height=n-this.y}}),calculateTransform:function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=l.b();return l.h(r,r,[-e.x,-e.y]),l.g(r,r,[n,i]),l.h(r,r,[t.x,t.y]),r},intersect:function(t){if(!t)return!1;t instanceof f||(t=f.create(t));var e=this,n=e.x,i=e.x+e.width,r=e.y,a=e.y+e.height,o=t.x,s=t.x+t.width,l=t.y,u=t.y+t.height;return!(i<o||s<n||a<l||u<r)},contain:function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new f(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}}},f.create=function(t){return new f(t.x,t.y,t.width,t.height)},e.a=f},UrHu:function(t,e,n){"use strict";e.b=c,e.c=function(t,e,n){!i.t(n)&&(n={});var r=n.ignoreSize;!i.p(r)&&(r=[r,r]);var a=l(u[0],0),o=l(u[1],1);function l(n,i){var a={},o=0,l={},u=0;if(s(n,function(e){l[e]=t[e]}),s(n,function(t){h(e,t)&&(a[t]=l[t]=e[t]),c(a,t)&&o++,c(l,t)&&u++}),r[i])return c(e,n[1])?l[n[2]]=null:c(e,n[2])&&(l[n[1]]=null),l;if(2!==u&&o){if(o>=2)return a;for(var f=0;f<n.length;f++){var d=n[f];if(!h(a,d)&&h(t,d)){a[d]=t[d];break}}return a}return l}function h(t,e){return t.hasOwnProperty(e)}function c(t,e){return null!=t[e]&&"auto"!==t[e]}function f(t,e,n){s(t,function(t){e[t]=n[t]})}f(u[0],t,a),f(u[1],t,o)},e.a=function(t){return function(t,e){return e&&t&&s(l,function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}({},t)};var i=n("ASYS"),r=n("Rjdj"),a=n("yFTj"),o=n("ngA1"),s=i.i,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function h(t,e,n,i,r){var a=0,o=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,u){var h,c,f=l.position,d=l.getBoundingRect(),p=e.childAt(u+1),g=p&&p.getBoundingRect();if("horizontal"===t){var v=d.width+(g?-g.x+d.x:0);(h=a+v)>i||l.newline?(a=0,h=v,o+=s+n,s=d.height):s=Math.max(s,d.height)}else{var m=d.height+(g?-g.y+d.y:0);(c=o+m)>r||l.newline?(a+=s+n,o=0,c=m,s=d.width):s=Math.max(s,d.width)}l.newline||(f[0]=a,f[1]=o,"horizontal"===t?a=h+n:o=c+n)})}i.g(h,"vertical"),i.g(h,"horizontal");function c(t,e,n){n=o.f(n||0);var i=e.width,s=e.height,l=Object(a.g)(t.left,i),u=Object(a.g)(t.top,s),h=Object(a.g)(t.right,i),c=Object(a.g)(t.bottom,s),f=Object(a.g)(t.width,i),d=Object(a.g)(t.height,s),p=n[2]+n[0],g=n[1]+n[3],v=t.aspect;switch(isNaN(f)&&(f=i-h-g-l),isNaN(d)&&(d=s-c-p-u),null!=v&&(isNaN(f)&&isNaN(d)&&(v>i/s?f=.8*i:d=.8*s),isNaN(f)&&(f=v*d),isNaN(d)&&(d=f/v)),isNaN(l)&&(l=i-h-f-g),isNaN(u)&&(u=s-c-d-p),t.left||t.right){case"center":l=i/2-f/2-n[3];break;case"right":l=i-f-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-d/2-n[0];break;case"bottom":u=s-d-p}l=l||0,u=u||0,isNaN(f)&&(f=i-g-l-(h||0)),isNaN(d)&&(d=s-p-u-(c||0));var m=new r.a(l+n[3],u+n[0],f,d);return m.margin=n,m}},VrqU:function(t,e,n){"use strict";e.a=i;function i(t,e,n){var i,r,a,o,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(a,o||[])}e=e||0;var f=function(){i=(new Date).getTime(),a=this,o=arguments;var t=s||e,f=s||n;s=null,r=i-(f?l:u)-t,clearTimeout(h),f?h=setTimeout(c,t):r>=0?c():h=setTimeout(c,-r),l=i};return f.clear=function(){h&&(clearTimeout(h),h=null)},f.debounceNextCall=function(t){s=t},f}},XITm:function(t,e,n){"use strict";var i=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};i.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")},e.a=i},Xa3u:function(t,e,n){"use strict";e.a=g,e.b=function(t,e,n,i,r){var a=1-r;return 3*(((e-t)*a+2*(n-e)*r)*a+(i-n)*r*r)},e.e=function(t,e,n,i,o,s){var h=i+3*(e-n)-t,c=3*(n-2*e+t),f=3*(e-t),p=t-o,g=c*c-3*h*f,v=c*f-9*h*p,m=f*f-3*c*p,_=0;if(d(g)&&d(v))if(d(c))s[0]=0;else{var y=-f/c;y>=0&&y<=1&&(s[_++]=y)}else{var x=v*v-4*g*m;if(d(x)){var b=v/g,y=-c/h+b,w=-b/2;y>=0&&y<=1&&(s[_++]=y),w>=0&&w<=1&&(s[_++]=w)}else if(x>0){var S=a(x),M=g*c+1.5*h*(-v+S),C=g*c+1.5*h*(-v-S);M=M<0?-r(-M,u):r(M,u),C=C<0?-r(-C,u):r(C,u);var y=(-c-(M+C))/(3*h);y>=0&&y<=1&&(s[_++]=y)}else{var O=(2*g*c-3*h*v)/(2*a(g*g*g)),D=Math.acos(O)/3,k=a(g),T=Math.cos(D),y=(-c-2*k*T)/(3*h),w=(-c+k*(T+l*Math.sin(D)))/(3*h),I=(-c+k*(T-l*Math.sin(D)))/(3*h);y>=0&&y<=1&&(s[_++]=y),w>=0&&w<=1&&(s[_++]=w),I>=0&&I<=1&&(s[_++]=I)}}return _},e.c=function(t,e,n,i,r){var o=6*n-12*e+6*t,s=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(d(s)){if(p(o)){var h=-l/o;h>=0&&h<=1&&(r[u++]=h)}}else{var c=o*o-4*s*l;if(d(c))r[0]=-o/(2*s);else if(c>0){var f=a(c),h=(-o+f)/(2*s),g=(-o-f)/(2*s);h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u},e.f=function(t,e,n,i,r,a){var o=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-o)*r+o,h=(l-s)*r+s,c=(h-u)*r+u;a[0]=t,a[1]=o,a[2]=u,a[3]=c,a[4]=c,a[5]=h,a[6]=l,a[7]=i},e.d=function(t,e,n,r,o,l,u,d,p,v,m){var _,y,x,b,w,S=.005,M=1/0;h[0]=p,h[1]=v;for(var C=0;C<1;C+=.05)c[0]=g(t,n,o,u,C),c[1]=g(e,r,l,d,C),(b=Object(i.g)(h,c))<M&&(_=C,M=b);M=1/0;for(var O=0;O<32&&!(S<s);O++)y=_-S,x=_+S,c[0]=g(t,n,o,u,y),c[1]=g(e,r,l,d,y),b=Object(i.g)(c,h),y>=0&&b<M?(_=y,M=b):(f[0]=g(t,n,o,u,x),f[1]=g(e,r,l,d,x),w=Object(i.g)(f,h),x<=1&&w<M?(_=x,M=w):S*=.5);m&&(m[0]=g(t,n,o,u,_),m[1]=g(e,r,l,d,_));return a(M)},e.g=v,e.h=function(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))},e.k=function(t,e,n,i,r){var o=t-2*e+n,s=2*(e-t),l=t-i,u=0;if(d(o)){if(p(s)){var h=-l/s;h>=0&&h<=1&&(r[u++]=h)}}else{var c=s*s-4*o*l;if(d(c)){var h=-s/(2*o);h>=0&&h<=1&&(r[u++]=h)}else if(c>0){var f=a(c),h=(-s+f)/(2*o),g=(-s-f)/(2*o);h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u},e.i=function(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i},e.l=function(t,e,n,i,r){var a=(e-t)*i+t,o=(n-e)*i+e,s=(o-a)*i+a;r[0]=t,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=n},e.j=function(t,e,n,r,o,l,u,d,p){var g,m=.005,_=1/0;h[0]=u,h[1]=d;for(var y=0;y<1;y+=.05){c[0]=v(t,n,o,y),c[1]=v(e,r,l,y);var x=Object(i.g)(h,c);x<_&&(g=y,_=x)}_=1/0;for(var b=0;b<32&&!(m<s);b++){var w=g-m,S=g+m;c[0]=v(t,n,o,w),c[1]=v(e,r,l,w);var x=Object(i.g)(c,h);if(w>=0&&x<_)g=w,_=x;else{f[0]=v(t,n,o,S),f[1]=v(e,r,l,S);var M=Object(i.g)(f,h);S<=1&&M<_?(g=S,_=M):m*=.5}}p&&(p[0]=v(t,n,o,g),p[1]=v(e,r,l,g));return a(_)};var i=n("iyEX"),r=Math.pow,a=Math.sqrt,o=1e-8,s=1e-4,l=a(3),u=1/3,h=Object(i.e)(),c=Object(i.e)(),f=Object(i.e)();function d(t){return t>-o&&t<o}function p(t){return t>o||t<-o}function g(t,e,n,i,r){var a=1-r;return a*a*(a*t+3*r*e)+r*r*(r*i+3*a*n)}function v(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}},Xden:function(t,e,n){"use strict";var i=n("ASYS"),r=n("8DvQ"),a=i.i,o=i.t,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(t){var e=t&&t.itemStyle;if(e)for(var n=0,r=s.length;n<r;n++){var a=s[n],o=e.normal,l=e.emphasis;o&&o[a]&&(t[a]=t[a]||{},t[a].normal?i.x(t[a].normal,o[a]):t[a].normal=o[a],o[a]=null),l&&l[a]&&(t[a]=t[a]||{},t[a].emphasis?i.x(t[a].emphasis,l[a]):t[a].emphasis=l[a],l[a]=null)}}function u(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var r=t[e].normal,a=t[e].emphasis;r&&(n?(t[e].normal=t[e].emphasis=null,i.h(t[e],r)):t[e]=r),a&&(t.emphasis=t.emphasis||{},t.emphasis[e]=a)}}function h(t){u(t,"itemStyle"),u(t,"lineStyle"),u(t,"areaStyle"),u(t,"label"),u(t,"labelLine"),u(t,"upperLabel"),u(t,"edgeLabel")}function c(t,e){var n=o(t)&&t[e],i=o(n)&&n.textStyle;if(i)for(var a=0,s=r.a.length;a<s;a++){e=r.a[a];i.hasOwnProperty(e)&&(n[e]=i[e])}}function f(t){t&&(h(t),c(t,"label"),t.emphasis&&c(t.emphasis,"label"))}function d(t){return i.p(t)?t:t?[t]:[]}function p(t){return(i.p(t)?t[0]:t)||{}}var g=function(t,e){a(d(t.series),function(t){o(t)&&function(t){if(o(t)){l(t),h(t),c(t,"label"),c(t,"upperLabel"),c(t,"edgeLabel"),t.emphasis&&(c(t.emphasis,"label"),c(t.emphasis,"upperLabel"),c(t.emphasis,"edgeLabel")),(n=t.markPoint)&&(l(n),f(n)),(r=t.markLine)&&(l(r),f(r));var e=t.markArea;e&&f(e);var n,r,a=t.data;if("graph"===t.type){a=a||t.nodes;var s=t.links||t.edges;if(s&&!i.v(s))for(var d=0;d<s.length;d++)f(s[d]);i.i(t.categories,function(t){h(t)})}if(a&&!i.v(a))for(d=0;d<a.length;d++)f(a[d]);if((n=t.markPoint)&&n.data){var p=n.data;for(d=0;d<p.length;d++)f(p[d])}if((r=t.markLine)&&r.data){var g=r.data;for(d=0;d<g.length;d++)i.p(g[d])?(f(g[d][0]),f(g[d][1])):f(g[d])}"gauge"===t.type?(c(t,"axisLabel"),c(t,"title"),c(t,"detail")):"treemap"===t.type?(u(t.breadcrumb,"itemStyle"),i.i(t.levels,function(t){h(t)})):"tree"===t.type&&h(t.leaves)}}(t)});var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),a(n,function(e){a(d(t[e]),function(t){t&&(c(t,"axisLabel"),c(t.axisPointer,"label"))})}),a(d(t.parallel),function(t){var e=t&&t.parallelAxisDefault;c(e,"axisLabel"),c(e&&e.axisPointer,"label")}),a(d(t.calendar),function(t){u(t,"itemStyle"),c(t,"dayLabel"),c(t,"monthLabel"),c(t,"yearLabel")}),a(d(t.radar),function(t){c(t,"name")}),a(d(t.geo),function(t){o(t)&&(f(t),a(d(t.regions),function(t){f(t)}))}),a(d(t.timeline),function(t){f(t),u(t,"label"),u(t,"itemStyle"),u(t,"controlStyle",!0);var e=t.data;i.p(e)&&i.i(e,function(t){i.t(t)&&(u(t,"label"),u(t,"itemStyle"))})}),a(d(t.toolbox),function(t){u(t,"iconStyle"),a(t.feature,function(t){u(t,"iconStyle")})}),c(p(t.axisPointer),"label"),c(p(t.tooltip).axisPointer,"label")};function v(t){Object(i.i)(m,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var m=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],_=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];e.a=function(t,e){g(t,e),t.series=Object(r.k)(t.series),Object(i.i)(t.series,function(t){if(Object(i.t)(t)){var e=t.type;if("pie"!==e&&"gauge"!==e||null!=t.clockWise&&(t.clockwise=t.clockWise),"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 r,a=t,o=0;o<e.length-1;o++)null==a[r=e[o]]&&(a[r]={}),a=a[r];(i||null==a[e[o]])&&(a[e[o]]=n)}(t,"itemStyle.normal.color",n)}v(t)}}),t.dataRange&&(t.visualMap=t.dataRange),Object(i.i)(_,function(e){var n=t[e];n&&(Object(i.p)(n)||(n=[n]),Object(i.i)(n,function(t){v(t)}))})}},"YIB/":function(t,e,n){"use strict";var i=n("HaDi"),r=n("ASYS"),a=n("8DvQ"),o=n("tcBb"),s=n("5s+V"),l="";"undefined"!=typeof navigator&&(l=navigator.platform||"");var u={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:l.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},h=n("DW/+"),c=n("rsyf"),f="\0_ec_inner",d=o.a.extend({init:function(t,e,n,i){n=n||{},this.option=null,this._theme=new o.a(n),this._optionManager=i},setOption:function(t,e){Object(r.b)(!(f 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[f]=1,this._componentsMap=Object(r.f)({series:[]}),this._seriesIndices,this._seriesIndicesMap,e=t,n=this._theme.option,i=e.color&&!e.colorLayer,Object(r.i)(n,function(t,n){"colorLayer"===n&&i||s.a.hasClass(n)||("object"==typeof t?e[n]=e[n]?Object(r.x)(e[n],t,!1):Object(r.d)(t):null==e[n]&&(e[n]=t))}),Object(r.x)(t,u,!1),this.mergeOption(t);var e,n,i}.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&&Object(r.i)(o,function(t){this.mergeOption(t,e=!0)},this)}return e},mergeOption:function(t){var e=this.option,n=this._componentsMap,i=[];Object(c.e)(this),Object(r.i)(t,function(t,n){null!=t&&(s.a.hasClass(n)?n&&i.push(n):e[n]=null==e[n]?Object(r.d)(t):Object(r.x)(e[n],t,!0))}),s.a.topologicalTravel(i,s.a.getAllClassMainTypes(),function(i,o){var l=a.k(t[i]),u=a.j(n.get(i),l);a.h(u),Object(r.i)(u,function(t,e){var n=t.option;Object(r.t)(n)&&(t.keyInfo.mainType=i,t.keyInfo.subType=function(t,e,n){return e.type?e.type:n?n.subType:s.a.determineSubType(t,e)}(i,n,t.exist))});var h=function(t,e){Object(r.p)(e)||(e=e?[e]:[]);var n={};return Object(r.i)(e,function(e){n[e]=(t.get(e)||[]).slice()}),n}(n,o);e[i]=[],n.set(i,[]),Object(r.i)(u,function(t,a){var o=t.exist,l=t.option;if(Object(r.b)(Object(r.t)(l)||o,"Empty component definition"),l){var u=s.a.getClass(i,t.keyInfo.subType,!0);if(o&&o instanceof u)o.name=t.keyInfo.name,o.mergeOption(l,this),o.optionUpdated(l,!1);else{var c=Object(r.k)({dependentModels:h,componentIndex:a},t.keyInfo);o=new u(l,this,this,c),Object(r.k)(o,c),o.init(l,this,this,c),o.optionUpdated(null,!0)}}else o.mergeOption({},this),o.optionUpdated({},!1);n.get(i)[a]=o,e[i][a]=o.option},this),"series"===i&&p(this,n.get("series"))},this),this._seriesIndicesMap=Object(r.f)(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=Object(r.d)(this.option);return Object(r.i)(t,function(e,n){if(s.a.hasClass(n)){for(var i=(e=a.k(e)).length-1;i>=0;i--)a.f(e[i])&&e.splice(i,1);t[n]=e}}),delete t[f],t},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,s=this._componentsMap.get(e);if(!s||!s.length)return[];if(null!=i)Object(r.p)(i)||(i=[i]),n=Object(r.l)(Object(r.w)(i,function(t){return s[t]}),function(t){return!!t});else if(null!=a){var l=Object(r.p)(a);n=Object(r.l)(s,function(t){return l&&Object(r.n)(a,t.id)>=0||!l&&t.id===a})}else if(null!=o){var u=Object(r.p)(o);n=Object(r.l)(s,function(t){return u&&Object(r.n)(o,t.name)>=0||!u&&t.name===o})}else n=s.slice();return g(n,t)},findComponents:function(t){var e,n,i,a,o,s=t.query,l=t.mainType,u=(n=l+"Index",i=l+"Id",a=l+"Name",!(e=s)||null==e[n]&&null==e[i]&&null==e[a]?null:{mainType:l,index:e[n],id:e[i],name:e[a]}),h=u?this.queryComponents(u):this._componentsMap.get(l);return o=g(h,t),t.filter?Object(r.l)(o,t.filter):o},eachComponent:function(t,e,n){var i=this._componentsMap;if("function"==typeof t)n=e,e=t,i.each(function(t,i){Object(r.i)(t,function(t,r){e.call(n,i,t,r)})});else if(Object(r.u)(t))Object(r.i)(i.get(t),e,n);else if(Object(r.t)(t)){var a=this.findComponents(t);Object(r.i)(a,e,n)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return Object(r.l)(e,function(e){return e.name===t})},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return Object(r.l)(e,function(e){return e.subType===t})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){v(this),Object(r.i)(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},eachRawSeries:function(t,e){Object(r.i)(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,n){v(this),Object(r.i)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)},this)},eachRawSeriesByType:function(t,e,n){return Object(r.i)(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return v(this),null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){v(this),p(this,Object(r.l)(this._componentsMap.get("series"),t,e))},restoreData:function(t){var e=this._componentsMap;p(this,e.get("series"));var n=[];e.each(function(t,e){n.push(e)}),s.a.topologicalTravel(n,s.a.getAllClassMainTypes(),function(n,i){Object(r.i)(e.get(n),function(e){("series"!==n||!function(t,e){if(e){var n=e.seiresIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t))&&e.restoreData()})})}});function p(t,e){t._seriesIndicesMap=Object(r.f)(t._seriesIndices=Object(r.w)(e,function(t){return t.componentIndex})||[])}function g(t,e){return e.hasOwnProperty("subType")?Object(r.l)(t,function(t){return t.subType===e.subType}):t}function v(t){if(i.a&&!t._seriesIndices)throw new Error("Option should contains series.")}Object(r.z)(d,h.a);e.a=d},cWVn:function(t,e,n){"use strict";var i=n("ASYS"),r={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:""}}}},a=n("CqC1");e.a=function(t,e){var n=e.getModel("aria");if(n.get("show"))if(n.get("description"))t.setAttribute("aria-label",n.get("description"));else{var o=0;e.eachSeries(function(t,e){++o},this);var s,l=n.get("data.maxCount")||10,u=n.get("series.maxCount")||10,h=Math.min(o,u);if(!(o<1)){var c=function(){var t=e.getModel("title").option;t&&t.length&&(t=t[0]);return t&&t.text}();s=c?d(p("general.withTitle"),{title:c}):p("general.withoutTitle");var f=[];s+=d(p(o>1?"series.multiple.prefix":"series.single.prefix"),{seriesCount:o}),e.eachSeries(function(t,e){if(e<h){var n,i=t.get("name"),s="series."+(o>1?"multiple":"single")+".";n=d(n=p(i?s+"withName":s+"withoutName"),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(_=t.subType,r.series.typeNames[_]||"自定义图")});var u=t.getData();window.data=u,u.count()>l?n+=d(p("data.partialData"),{displayCnt:l}):n+=p("data.allData");for(var c=[],g=0;g<u.count();g++)if(g<l){var v=u.getName(g),m=Object(a.c)(u,g);c.push(d(p(v?"data.withName":"data.withoutName"),{name:v,value:m}))}n+=c.join(p("data.separator.middle"))+p("data.separator.end"),f.push(n)}var _}),s+=f.join(p("series.multiple.separator.middle"))+p("series.multiple.separator.end"),t.setAttribute("aria-label",s)}}function d(t,e){if("string"!=typeof t)return t;var n=t;return i.i(e,function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)}),n}function p(t){var e=n.get(t);if(null==e){for(var i=t.split("."),a=r.aria,o=0;o<i.length;++o)a=a[i[o]];return a}return e}}},dAIA:function(t,e,n){"use strict";e.b=function(t){if("string"==typeof t){var e=i.get(t);return e&&e.image}return t},e.a=function(t,e,n,o,s){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var l=i.get(t),u={hostEl:n,cb:o,cbPayload:s};return l?!a(e=l.image)&&l.pending.push(u):(!e&&(e=new Image),e.onload=r,i.put(t,e.__cachedImgObj={image:e,pending:[u]}),e.src=e.__zrImageSrc=t),e}return t}return e},e.c=a;var i=new(n("3Jn5").a)(50);function r(){var t=this.__cachedImgObj;this.onload=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 a(t){return t&&t.width&&t.height}},e2r8:function(t,e,n){"use strict";var i=function(t){this.colorStops=t||[]};i.prototype={constructor:i,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}},e.a=i},engH:function(t,e,n){"use strict";var i=n("oA+l"),r=n("Rjdj"),a=n("ASYS"),o=n("dAIA");function s(t){i.a.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var n=this.style,i=n.image;n.bind(t,this,e);var r=this._image=o.a(i,this._image,this,this.onload);if(r&&o.c(r)){var a=n.x||0,s=n.y||0,l=n.width,u=n.height,h=r.width/r.height;if(null==l&&null!=u?l=u*h:null==u&&null!=l?u=l/h:null==l&&null==u&&(l=r.width,u=r.height),this.setTransform(t),n.sWidth&&n.sHeight){var c=n.sx||0,f=n.sy||0;t.drawImage(r,c,f,n.sWidth,n.sHeight,a,s,l,u)}else if(n.sx&&n.sy){var d=l-(c=n.sx),p=u-(f=n.sy);t.drawImage(r,c,f,d,p,a,s,l,u)}else t.drawImage(r,a,s,l,u);null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new r.a(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},a.o(s,i.a),e.a=s},fO4x:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return a});var i=1;"undefined"!=typeof window&&(i=Math.max(window.devicePixelRatio||1,1));var r=0,a=i},gnaj:function(t,e,n){"use strict";var i=n("ASYS"),r=n("16G8"),a=n("60Q4"),o=n("mnKm"),s=n("8DvQ"),l=n("PBwm"),u=n("vWev"),h=s.i(),c=Object(u.a)();function f(){this.group=new r.a,this.uid=a.c("viewChart"),this.renderTask=Object(l.a)({plan:v,reset:m}),this.renderTask.context={view:this}}f.prototype={type:"chart",init:function(t,e){},render:function(t,e,n,i){},highlight:function(t,e,n,i){g(t.getData(),i,"emphasis")},downplay:function(t,e,n,i){g(t.getData(),i,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null};var d=f.prototype;function p(t,e){if(t&&(t.trigger(e),"group"===t.type))for(var n=0;n<t.childCount();n++)p(t.childAt(n),e)}function g(t,e,n){var r=s.m(t,e);null!=r?Object(i.i)(s.k(r),function(e){p(t.getItemGraphicEl(e),n)}):t.eachItemGraphicEl(function(t){p(t,n)})}function v(t){return c(t.model)}function m(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,a=e.pipelineContext.progressiveRender,o=t.view,s=r&&h(r).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==l&&o[l](e,n,i,r),_[l]}d.updateView=d.updateLayout=d.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},o.b(f,["dispose"]),o.c(f,{registerWhenExtend:!0}),f.markUpdateMethod=function(t,e){h(t).updateMethod=e};var _={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)}}};e.a=f},hANm:function(t,e,n){"use strict";e.b=r,e.c=a,e.a=o,e.e=function(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],a=e[0]*n[2]+e[2]*n[3],o=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]=r,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t},e.h=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.f=function(t,e,n){var i=e[0],r=e[2],a=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(n),h=Math.cos(n);return t[0]=i*h+o*u,t[1]=-i*u+o*h,t[2]=r*h+s*u,t[3]=-r*u+h*s,t[4]=h*a+u*l,t[5]=h*l-u*a,t},e.g=function(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t},e.d=function(t,e){var n=e[0],i=e[2],r=e[4],a=e[1],o=e[3],s=e[5],l=n*o-a*i;if(!l)return null;return l=1/l,t[0]=o*l,t[1]=-a*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-o*r)*l,t[5]=(a*r-n*s)*l,t};var i="undefined"==typeof Float32Array?Array:Float32Array;function r(){var t=new i(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}},hCiy:function(t,e,n){"use strict";var i=n("ASYS"),r=n("mnKm"),a=n("QgCW");function o(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===a.d?{}:[]),this.sourceFormat=t.sourceFormat||a.h,this.seriesLayoutBy=t.seriesLayoutBy||a.a,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&Object(i.f)(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}o.seriesDataToSource=function(t){return new o({data:t,sourceFormat:Object(i.v)(t)?a.g:a.f,fromDataset:!1})},Object(r.a)(o),e.a=o},iSrA:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){n.d(e,"version",function(){return P}),n.d(e,"dependencies",function(){return E}),n.d(e,"PRIORITY",function(){return N}),e.init=function(t,e,n){if(i.a){if(r.b.replace(".","")-0<E.zrender.replace(".","")-0)throw new Error("zrender/src "+r.b+" is too old for ECharts "+P+". Current version need ZRender "+E.zrender+"+");if(!t)throw new Error("Initialize failed: invalid dom.")}var o=Mt(t);if(o)return i.a&&console.warn("There is a chart instance already initialized on the dom."),o;i.a&&(!a.r(t)||"CANVAS"===t.nodeName.toUpperCase()||(t.clientWidth||n&&null!=n.width)&&(t.clientHeight||n&&null!=n.height)||console.warn("Can't get dom width or height"));var s=new Y(t,e,n);return s.id="ec_"+_t++,vt[s.id]=s,b.n(t,xt,s.id),function(t){var e="__connectUpdateStatus";function n(t,n){for(var i=0;i<t.length;i++){var r=t[i];r[e]=n}}I(ut,function(i,r){t._messageCenter.on(r,function(i){if(mt[t.group]&&0!==t[e]){if(i&&i.escapeConnect)return;var r=t.makeActionFromEvent(i),a=[];I(vt,function(e){e!==t&&e.group===t.group&&a.push(e)}),n(a,0),I(a,function(t){1!==t[e]&&t.dispatchAction(r)}),n(a,2)}})})}(s),s},e.connect=function(t){if(a.p(t)){var e=t;t=null,I(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+yt++,I(e,function(e){e.group=t})}return mt[t]=!0,t},e.disConnect=wt,n.d(e,"disconnect",function(){return St}),e.dispose=function(t){"string"==typeof t?t=vt[t]:t instanceof Y||(t=Mt(t));t instanceof Y&&!t.isDisposed()&&t.dispose()},e.getInstanceByDom=Mt,e.getInstanceById=function(t){return vt[t]},e.registerTheme=Ct,e.registerPreprocessor=Ot,e.registerProcessor=Dt,e.registerPostUpdate=function(t){ft.push(t)},e.registerAction=kt,e.registerCoordinateSystem=function(t,e){f.a.register(t,e)},e.getCoordinateSystemDimensions=function(t){var e=f.a.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()},e.registerLayout=function(t,e){It(dt,t,e,R,"layout")},e.registerVisual=Tt,e.registerLoading=At,e.extendComponentModel=function(t){return v.a.extend(t)},e.extendComponentView=function(t){return _.a.extend(t)},e.extendSeriesModel=function(t){return m.a.extend(t)},e.extendChartView=function(t){return y.a.extend(t)},e.setCanvasCreator=function(t){a.a("createCanvas",t)},e.registerMap=function(t,e,n){e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson);"string"==typeof e&&(e="undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")());bt[t]={geoJson:e,specialAreas:n}},e.getMap=function(t){return bt[t]},n.d(e,"dataTool",function(){return jt});var i=n("HaDi"),r=n("Pwqh"),a=n("ASYS"),o=n("2Am2"),s=n("uAiK"),l=n("RiK1"),u=n("w8+Z"),h=n("YIB/"),c=n("zWTK"),f=n("92Me"),d=n("4lQT"),p=n("Xden"),g=n("yZC0"),v=n("5s+V"),m=n("+yE6"),_=n("Gxhh"),y=n("gnaj"),x=n("Ju+c"),b=n("8DvQ"),w=n("VrqU"),S=n("RFqH"),M=n("cWVn"),C=n("6MoB"),O=n("pwLW"),D=n("oyhE"),k=n("K67q"),T=(n("nW4t"),a.b),I=a.i,A=a.s,j=a.t,L=v.a.parseClassType,P="4.1.0",E={zrender:"4.0.4"},z=1e3,R=1e3,B=3e3,N={PROCESSOR:{FILTER:z,STATISTIC:5e3},VISUAL:{LAYOUT:R,GLOBAL:2e3,CHART:B,COMPONENT:4e3,BRUSH:5e3}},F="__flagInMainProcess",H="__optionUpdated",V=/^[a-zA-Z0-9_]+$/;function W(t){return function(e,n,i){e=e&&e.toLowerCase(),u.a.prototype[t].call(this,e,n,i)}}function G(){u.a.call(this)}function Y(e,n,o){o=o||{},"string"==typeof n&&(n=pt[n]),this.id,this.group,this._dom=e;var s="canvas";i.a&&(s=("undefined"==typeof window?t:window).__ECHARTS__DEFAULT__RENDERER__||s);var h=this._zr=r.a(e,{renderer:o.renderer||s,devicePixelRatio:o.devicePixelRatio,width:o.width,height:o.height});this._throttledZrFlush=Object(w.a)(a.c(h.flush,h),17),(n=a.d(n))&&Object(p.a)(n,!0),this._theme=n,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new f.a;var d,g,v=this._api=(g=(d=this)._coordSysMgr,a.k(new c.a(d),{getCoordinateSystems:a.c(g.getCoordinateSystems,g),getComponentByElement:function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return d._model.getComponent(e.mainType,e.index);t=t.parent}}}));function m(t,e){return t.__prio-e.__prio}Object(l.a)(dt,m),Object(l.a)(ht,m),this._scheduler=new O.a(this,v,ht,dt),u.a.call(this),this._messageCenter=new G,this._initEvents(),this.resize=a.c(this.resize,this),this._pendingActions=[],h.animation.on("frame",this._onframe,this),function(t,e){t.on("rendered",function(){e.trigger("rendered"),!t.animation.isFinished()||e[H]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})}(h,this),a.G(this)}G.prototype.on=W("on"),G.prototype.off=W("off"),G.prototype.one=W("one"),a.z(G,u.a);var X=Y.prototype;function q(t,e,n){var r,a=this._model,o=this._coordSysMgr.getCoordinateSystems();e=b.l(a,e);for(var s=0;s<o.length;s++){var l=o[s];if(l[t]&&null!=(r=l[t](a,e,n)))return r}i.a&&console.warn("No coordinate system that supports "+t+" found by the given finder.")}X._onframe=function(){if(!this._disposed){var t=this._scheduler;if(this[H]){var e=this[H].silent;this[F]=!0,Z(this),U.update.call(this),this[F]=!1,this[H]=!1,J.call(this,e),tt.call(this,e)}else if(t.unfinished){var n=1,i=this._model,r=this._api;t.unfinished=!1;do{var a=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),Q(this,i),t.performVisualTasks(i),rt(this,this._model,r,"remain"),n-=+new Date-a}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},X.getDom=function(){return this._dom},X.getZr=function(){return this._zr},X.setOption=function(t,e,n){var r;if(i.a&&T(!this[F],"`setOption` should not be called during main process."),j(e)&&(n=e.lazyUpdate,r=e.silent,e=e.notMerge),this[F]=!0,!this._model||e){var a=new d.a(this._api),o=this._theme,s=this._model=new h.a(null,null,o,a);s.scheduler=this._scheduler,s.init(null,null,o,a)}this._model.setOption(t,ct),n?(this[H]={silent:r},this[F]=!1):(Z(this),U.update.call(this),this._zr.flush(),this[H]=!1,this[F]=!1,J.call(this,r),tt.call(this,r))},X.setTheme=function(){console.log("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},X.getModel=function(){return this._model},X.getOption=function(){return this._model&&this._model.getOption()},X.getWidth=function(){return this._zr.getWidth()},X.getHeight=function(){return this._zr.getHeight()},X.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},X.getRenderedCanvas=function(t){if(s.a.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},X.getSvgDataUrl=function(){if(s.a.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return a.i(e,function(t){t.stopAnimation(!0)}),t.painter.pathToDataUrl()}},X.getDataURL=function(t){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;I(e,function(t){n.eachComponent({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)})});var a="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return I(i,function(t){t.group.ignore=!1}),a},X.getConnectedDataURL=function(t){if(s.a.canvasSupported){var e=this.group,n=Math.min,i=Math.max;if(mt[e]){var o=1/0,l=1/0,u=-1/0,h=-1/0,c=[],f=t&&t.pixelRatio||1;a.i(vt,function(r,s){if(r.group===e){var f=r.getRenderedCanvas(a.d(t)),d=r.getDom().getBoundingClientRect();o=n(d.left,o),l=n(d.top,l),u=i(d.right,u),h=i(d.bottom,h),c.push({dom:f,left:d.left,top:d.top})}});var d=(u*=f)-(o*=f),p=(h*=f)-(l*=f),g=a.e();g.width=d,g.height=p;var v=r.a(g);return I(c,function(t){var e=new x.d({style:{x:t.left*f-o,y:t.top*f-l,image:t.dom}});v.add(e)}),v.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},X.convertToPixel=a.g(q,"convertToPixel"),X.convertFromPixel=a.g(q,"convertFromPixel"),X.containPixel=function(t,e){var n,r=this._model;return t=b.l(r,t),a.i(t,function(t,r){r.indexOf("Models")>=0&&a.i(t,function(t){var a=t.coordinateSystem;if(a&&a.containPoint)n|=!!a.containPoint(e);else if("seriesModels"===r){var o=this._chartsMap[t.__viewId];o&&o.containPoint?n|=o.containPoint(e,t):i.a&&console.warn(r+": "+(o?"The found component do not support containPoint.":"No view mapping to the found component."))}else i.a&&console.warn(r+": containPoint is not supported")},this)},this),!!n},X.getVisual=function(t,e){var n=this._model,r=(t=b.l(n,t,{defaultMainType:"series"})).seriesModel;i.a&&(r||console.warn("There is no specified seires model"));var a=r.getData(),o=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?a.indexOfRawIndex(t.dataIndex):null;return null!=o?a.getItemVisual(o,e):a.getVisual(e)},X.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},X.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var U={prepareAndUpdate:function(t){Z(this),U.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,r=this._coordSysMgr,a=this._scheduler;if(e){a.restoreData(e,t),a.performSeriesTasks(e),r.create(e,n),a.performDataProcessorTasks(e,t),Q(this,e),r.update(e,n),nt(e),a.performVisualTasks(e,t),it(this,e,n,t);var l=e.get("backgroundColor")||"transparent";if(s.a.canvasSupported)i.setBackgroundColor(l);else{var u=o.b(l);l=o.c(u,"rgb"),0===u[3]&&(l="transparent")}at(e,n)}},updateTransform:function(t){var e=this._model,n=this,i=this._api;if(e){var r=[];e.eachComponent(function(a,o){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,i,t);l&&l.update&&r.push(s)}else r.push(s)});var o=a.f();e.eachSeries(function(r){var a=n._chartsMap[r.__viewId];if(a.updateTransform){var s=a.updateTransform(r,e,i,t);s&&s.update&&o.set(r.uid,1)}else o.set(r.uid,1)}),nt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),rt(n,e,i,t,o),at(e,this._api)}},updateView:function(t){var e=this._model;e&&(y.a.markUpdateMethod(t,"updateView"),nt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),it(this,this._model,this._api,t),at(e,this._api))},updateVisual:function(t){U.update.call(this,t)},updateLayout:function(t){U.update.call(this,t)}};function Z(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),et(t,"component",e,n),et(t,"chart",e,n),n.plan()}function K(t,e,n,i,r){var o=t._model;if(i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};r&&(l.subType=r);var u=n.excludeSeriesId;null!=u&&(u=a.f(b.k(u))),o&&o.eachComponent(l,function(e){u&&null!=u.get(e.id)||h(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else I(t._componentsViews.concat(t._chartsViews),h);function h(i){i&&i.__alive&&i[e]&&i[e](i.__model,o,t._api,n)}}function Q(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})}function $(t,e){var n=t.type,i=t.escapeConnect,r=lt[n],o=r.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&L(s[0]),this[F]=!0;var u=[t],h=!1;t.batch&&(h=!0,u=a.w(t.batch,function(e){return(e=a.h(a.k({},e),t)).batch=null,e}));var c,f=[],d="highlight"===n||"downplay"===n;I(u,function(t){(c=(c=r.action(t,this._model,this._api))||a.k({},t)).type=o.event||c.type,f.push(c),d?K(this,l,t,"series"):s&&K(this,l,t,s.main,s.sub)},this),"none"===l||d||s||(this[H]?(Z(this),U.update.call(this,t),this[H]=!1):U[l].call(this,t)),c=h?{type:o.event||n,escapeConnect:i,batch:f}:f[0],this[F]=!1,!e&&this._messageCenter.trigger(c.type,c)}function J(t){for(var e=this._pendingActions;e.length;){var n=e.shift();$.call(this,n,t)}}function tt(t){!t&&this.trigger("updated")}function et(t,e,n,r){for(var a="component"===e,o=a?t._componentsViews:t._chartsViews,s=a?t._componentsMap:t._chartsMap,l=t._zr,u=t._api,h=0;h<o.length;h++)o[h].__alive=!1;function c(t){var e="_ec_"+t.id+"_"+t.type,h=s[e];if(!h){var c=L(t.type),f=a?_.a.getClass(c.main,c.sub):y.a.getClass(c.sub);i.a&&T(f,c.sub+" does not exist."),(h=new f).init(n,u),s[e]=h,o.push(h),l.add(h.group)}t.__viewId=h.__id=e,h.__alive=!0,h.__model=t,h.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!a&&r.prepareView(h,t,n,u)}a?n.eachComponent(function(t,e){"series"!==t&&c(e)}):n.eachSeries(c);for(h=0;h<o.length;){var f=o[h];f.__alive?h++:(!a&&f.renderTask.dispose(),l.remove(f.group),f.dispose(n,u),o.splice(h,1),delete s[f.__id],f.__id=f.group.__ecComponentInfo=null)}}function nt(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function it(t,e,n,i){!function(t,e,n,i,r){I(r||t._componentsViews,function(t){var r=t.__model;t.render(r,e,n,i),st(r,t)})}(t,e,n,i),I(t._chartsViews,function(t){t.__alive=!1}),rt(t,e,n,i),I(t._chartsViews,function(t){t.__alive||t.remove(e,n)})}function rt(t,e,n,r,a){var o,l=t._scheduler;e.eachSeries(function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var u=n.renderTask;l.updatePayload(u,r),a&&a.get(e.uid)&&u.dirty(),o|=u.perform(l.getPerformArgs(u)),n.group.silent=!!e.get("silent"),st(e,n),function(t,e){var n=t.get("blendMode")||null;i.a&&!s.a.canvasSupported&&n&&"source-over"!==n&&console.warn("Only canvas support blendMode");e.group.traverse(function(t){t.isGroup||t.style.blend!==n&&t.setStyle("blend",n),t.eachPendingDisplayable&&t.eachPendingDisplayable(function(t){t.setStyle("blend",n)})})}(e,n)}),l.unfinished|=o,function(t,e){var n=t.storage,i=0;n.traverse(function(t){t.isGroup||i++}),i>e.get("hoverLayerThreshold")&&!s.a.node&&n.traverse(function(t){t.isGroup||(t.useHoverLayer=!0)})}(t._zr,e),Object(M.a)(t._zr.dom,e)}function at(t,e){I(ft,function(n){n(t,e)})}X.resize=function(t){i.a&&T(!this[F],"`resize` should not be called during main process."),this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),r=t&&t.silent;this[F]=!0,n&&Z(this),U.update.call(this),this[F]=!1,J.call(this,r),tt.call(this,r)}},X.showLoading=function(t,e){if(j(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),gt[t]){var n=gt[t](this._api,e),r=this._zr;this._loadingFX=n,r.add(n)}else i.a&&console.warn("Loading effects "+t+" not exists.")},X.hideLoading=function(){this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},X.makeActionFromEvent=function(t){var e=a.k({},t);return e.type=ut[t.type],e},X.dispatchAction=function(t,e){j(e)||(e={silent:!!e}),lt[t.type]&&this._model&&(this[F]?this._pendingActions.push(t):($.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&s.a.browser.weChat&&this._throttledZrFlush(),J.call(this,e.silent),tt.call(this,e.silent)))},X.appendData=function(t){var e=t.seriesIndex,n=this.getModel().getSeriesByIndex(e);i.a&&T(t.data&&n),n.appendData(t),this._scheduler.unfinished=!0},X.on=W("on"),X.off=W("off"),X.one=W("one");var ot=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function st(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))})}X._initEvents=function(){I(ot,function(t){this._zr.on(t,function(e){var n,i=this.getModel(),r=e.target;if("globalout"===t)n={};else if(r&&null!=r.dataIndex){var o=r.dataModel||i.getSeriesByIndex(r.seriesIndex);n=o&&o.getDataParams(r.dataIndex,r.dataType)||{}}else r&&r.eventData&&(n=a.k({},r.eventData));n&&(n.event=e,n.type=t,this.trigger(t,n))},this)},this),I(ut,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},X.isDisposed=function(){return this._disposed},X.clear=function(){this.setOption({series:[]},!0)},X.dispose=function(){if(this._disposed)i.a&&console.warn("Instance "+this.id+" has been disposed");else{this._disposed=!0,b.n(this.getDom(),xt,"");var t=this._api,e=this._model;I(this._componentsViews,function(n){n.dispose(e,t)}),I(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),delete vt[this.id]}},a.z(Y,u.a);var lt={},ut={},ht=[],ct=[],ft=[],dt=[],pt={},gt={},vt={},mt={},_t=new Date-0,yt=new Date-0,xt="_echarts_instance_",bt={};function wt(t){mt[t]=!1}var St=wt;function Mt(t){return vt[b.c(t,xt)]}function Ct(t,e){pt[t]=e}function Ot(t){ct.push(t)}function Dt(t,e){It(ht,t,e,z)}function kt(t,e,n){"function"==typeof e&&(n=e,e="");var i=j(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,T(V.test(i)&&V.test(e)),lt[i]||(lt[i]={action:n,actionInfo:t}),ut[e]=i}function Tt(t,e){It(dt,t,e,B,"visual")}function It(t,e,n,r,a){if((A(e)||j(e))&&(n=e,e=r),i.a){if(isNaN(e)||null==e)throw new Error("Illegal priority");I(t,function(t){T(t.__raw!==n)})}var o=O.a.wrapStageHandler(n,a);return o.__prio=e,o.__raw=n,t.push(o),o}function At(t,e){gt[t]=e}Tt(2e3,S.a),Ot(p.a),Dt(5e3,g.a),At("default",C.a),kt({type:"highlight",event:"highlight",update:"highlight"},a.A),kt({type:"downplay",event:"downplay",update:"downplay"},a.A),Ct("light",D.a),Ct("dark",k.a);var jt={}}.call(e,n("DuR2"))},iyEX:function(t,e,n){"use strict";e.e=function(t,e){var n=new i(2);null==t&&(t=0);null==e&&(e=0);return n[0]=t,n[1]=e,n},e.d=function(t,e){return t[0]=e[0],t[1]=e[1],t},e.c=function(t){var e=new i(2);return e[0]=t[0],e[1]=t[1],e},e.a=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},e.m=function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t},e.n=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},e.l=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},e.k=function(t,e){var n=r(e);0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n);return t},e.h=o,n.d(e,"f",function(){return s}),n.d(e,"g",function(){return l}),e.b=function(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t},e.j=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},e.i=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t};var i="undefined"==typeof Float32Array?Array:Float32Array;function r(t){return Math.sqrt(a(t))}function a(t){return t[0]*t[0]+t[1]*t[1]}function o(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var s=o;var l=function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}},jDU7:function(t,e,n){"use strict";var i=n("HhVg"),r=n("w8+Z"),a=n("GD17"),o=n("EHAU"),s=n("9TGo"),l=n("ASYS"),u=function(){this.animators=[]};u.prototype={constructor:u,animate:function(t,e){var n,i=!1,r=this,a=this.__zr;if(t){var u=t.split("."),h=r;i="shape"===u[0];for(var c=0,f=u.length;c<f;c++)h&&(h=h[u[c]]);h&&(n=h)}else n=r;if(n){var d=r.animators,p=new o.a(n,e);return p.during(function(t){r.dirty(i)}).done(function(){d.splice(Object(l.n)(d,p),1)}),d.push(p),a&&a.animation.addAnimator(p),p}Object(s.a)('Property "'+t+'" is not existed in element '+r.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,r,a){Object(l.u)(n)?(r=i,i=n,n=0):Object(l.s)(i)?(r=i,i="linear",n=0):Object(l.s)(n)?(r=n,n=0):Object(l.s)(e)?(r=e,e=500):e||(e=500),this.stopAnimation(),this._animateToShallow("",this,t,e,n);var o=this.animators.slice(),s=o.length;function u(){--s||r&&r()}s||r&&r();for(var h=0;h<o.length;h++)o[h].done(u).start(i,a)},_animateToShallow:function(t,e,n,i,r){var a={},o=0;for(var s in n)if(n.hasOwnProperty(s))if(null!=e[s])Object(l.t)(n[s])&&!Object(l.q)(n[s])?this._animateToShallow(t?t+"."+s:s,e[s],n[s],i,r):(a[s]=n[s],o++);else if(null!=n[s])if(t){var u={};u[t]={},u[t][s]=n[s],this.attr(u)}else this.attr(s,n[s]);return o>0&&this.animate(t,!1).when(null==i?500:i,a).delay(r||0),this}};var h=u,c=function(t){a.a.call(this,t),r.a.call(this,t),h.call(this,t),this.id=t.id||Object(i.a)()};c.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]),n[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]=[]),n[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.t(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,t.__zr=e,t.__clipTarget=this,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.z(c,h),l.z(c,a.a),l.z(c,r.a);e.a=c},jXMp:function(t,e,n){"use strict";n.d(e,"a",function(){return h}),e.f=f,e.e=function(t,e,n,r,a,o,s){return o?function(t,e,n,r,a,o,s){var l=w(t,{rich:o,truncate:s,font:e,textAlign:n,textPadding:a}),u=l.outerWidth,h=l.outerHeight,c=d(0,u,n),f=p(0,h,r);return new i.a(c,f,u,h)}(t,e,n,r,a,o,s):function(t,e,n,r,a,o){var s=b(t,e,a,o),l=f(t,e);a&&(l+=a[1]+a[3]);var u=s.outerHeight,h=d(0,l,n),c=p(0,u,r),g=new i.a(h,c,l,u);return g.lineHeight=s.lineHeight,g}(t,e,n,r,a,s)},e.c=d,e.d=p,e.b=function(t,e,n){var i=e.x,r=e.y,a=e.height,o=e.width,s=a/2,l="left",u="top";switch(t){case"left":i-=n,r+=s,l="right",u="middle";break;case"right":i+=n+o,r+=s,u="middle";break;case"top":i+=o/2,r-=n,l="center",u="bottom";break;case"bottom":i+=o/2,r+=a+n,l="center";break;case"inside":i+=o/2,r+=s,l="center",u="middle";break;case"insideLeft":i+=n,r+=s,u="middle";break;case"insideRight":i+=o-n,r+=s,l="right",u="middle";break;case"insideTop":i+=o/2,r+=n,l="center";break;case"insideBottom":i+=o/2,r+=a-n,l="center",u="bottom";break;case"insideTopLeft":i+=n,r+=n;break;case"insideTopRight":i+=o-n,r+=n,l="right";break;case"insideBottomLeft":i+=n,r+=a-n,u="bottom";break;case"insideBottomRight":i+=o-n,r+=a-n,l="right",u="bottom"}return{x:i,y:r,textAlign:l,textVerticalAlign:u}},e.j=g,e.h=b,e.i=w,e.g=function(t){var e=(t.fontSize||t.fontFamily)&&[t.fontStyle,t.fontWeight,(t.fontSize||12)+"px",t.fontFamily||"sans-serif"].join(" ");return e&&Object(a.I)(e)||t.textFont||t.font};var i=n("Rjdj"),r=n("dAIA"),a=n("ASYS"),o={},s=0,l=5e3,u=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,h="12px sans-serif",c={};function f(t,e){var n=t+":"+(e=e||h);if(o[n])return o[n];for(var i=(t+"").split("\n"),r=0,a=0,u=i.length;a<u;a++)r=Math.max(x(i[a],e).width,r);return s>l&&(s=0,o={}),s++,o[n]=r,r}function d(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function p(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function g(t,e,n,i,r){if(!e)return"";var a=(t+"").split("\n");r=v(e,n,i,r);for(var o=0,s=a.length;o<s;o++)a[o]=m(a[o],r);return a.join("\n")}function v(t,e,n,i){(i=Object(a.k)({},i)).font=e;n=Object(a.E)(n,"...");i.maxIterations=Object(a.E)(i.maxIterations,2);var r=i.minChar=Object(a.E)(i.minChar,0);i.cnCharWidth=f("国",e);var o=i.ascCharWidth=f("a",e);i.placeholder=Object(a.E)(i.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;l<r&&s>=o;l++)s-=o;var u=f(n);return u>s&&(n="",u=0),s=t-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=t,i}function m(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var a=f(t,i);if(a<=n)return t;for(var o=0;;o++){if(a<=r||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?_(t,r,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*r/a):0;a=f(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function _(t,e,n,i){for(var r=0,a=0,o=t.length;a<o&&r<e;a++){var s=t.charCodeAt(a);r+=0<=s&&s<=127?n:i}return a}function y(t){return f("国",t)}function x(t,e){return c.measureText(t,e)}function b(t,e,n,i){null!=t&&(t+="");var r=y(e),a=t?t.split("\n"):[],o=a.length*r,s=o;if(n&&(s+=n[0]+n[2]),t&&i){var l=i.outerHeight,u=i.outerWidth;if(null!=l&&s>l)t="",a=[];else if(null!=u)for(var h=v(u-(n?n[1]+n[3]:0),e,i.ellipsis,{minChar:i.minChar,placeholder:i.placeholder}),c=0,f=a.length;c<f;c++)a[c]=m(a[c],h)}return{lines:a,height:o,outerHeight:s,lineHeight:r}}function w(t,e){var n={lines:[],width:0,height:0};if(null!=t&&(t+=""),!t)return n;for(var i,o=u.lastIndex=0;null!=(i=u.exec(t));){var s=i.index;s>o&&S(n,t.substring(o,s)),S(n,i[2],i[1]),o=u.lastIndex}o<t.length&&S(n,t.substring(o,t.length));var l=n.lines,h=0,c=0,d=[],p=e.textPadding,v=e.truncate,m=v&&v.outerWidth,_=v&&v.outerHeight;p&&(null!=m&&(m-=p[1]+p[3]),null!=_&&(_-=p[0]+p[2]));for(var x=0;x<l.length;x++){for(var b=l[x],w=0,M=0,C=0;C<b.tokens.length;C++){var O=(z=b.tokens[C]).styleName&&e.rich[z.styleName]||{},D=z.textPadding=O.textPadding,k=z.font=O.font||e.font,T=z.textHeight=Object(a.E)(O.textHeight,y(k));if(D&&(T+=D[0]+D[2]),z.height=T,z.lineHeight=Object(a.F)(O.textLineHeight,e.textLineHeight,T),z.textAlign=O&&O.textAlign||e.textAlign,z.textVerticalAlign=O&&O.textVerticalAlign||"middle",null!=_&&h+z.lineHeight>_)return{lines:[],width:0,height:0};z.textWidth=f(z.text,k);var I=O.textWidth,A=null==I||"auto"===I;if("string"==typeof I&&"%"===I.charAt(I.length-1))z.percentWidth=I,d.push(z),I=0;else{if(A){I=z.textWidth;var j=O.textBackgroundColor,L=j&&j.image;L&&(L=r.b(L),r.c(L)&&(I=Math.max(I,L.width*T/L.height)))}var P=D?D[1]+D[3]:0;I+=P;var E=null!=m?m-M:null;null!=E&&E<I&&(!A||E<P?(z.text="",z.textWidth=I=0):(z.text=g(z.text,E-P,k,v.ellipsis,{minChar:v.minChar}),z.textWidth=f(z.text,k),I=z.textWidth+P))}M+=z.width=I,O&&(w=Math.max(w,z.lineHeight))}b.width=M,b.lineHeight=w,h+=w,c=Math.max(c,M)}n.outerWidth=n.width=Object(a.E)(e.textWidth,c),n.outerHeight=n.height=Object(a.E)(e.textHeight,h),p&&(n.outerWidth+=p[1]+p[3],n.outerHeight+=p[0]+p[2]);for(x=0;x<d.length;x++){var z,R=(z=d[x]).percentWidth;z.width=parseInt(R,10)/100*c}return n}function S(t,e,n){for(var i=""===e,r=e.split("\n"),a=t.lines,o=0;o<r.length;o++){var s=r[o],l={styleName:n,text:s,isLineHolder:!s&&!i};if(o)a.push({tokens:[l]});else{var u=(a[a.length-1]||(a[0]={tokens:[]})).tokens,h=u.length;1===h&&u[0].isLineHolder?u[0]=l:(s||!h||i)&&u.push(l)}}}c.measureText=function(t,e){var n=Object(a.m)();return n.font=e||h,n.measureText(t)}},mOz2:function(t,e,n){"use strict";var i=n("0OJG"),r=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],a=function(t,e){this.extendFrom(t,!1),this.host=e};function o(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,a=null==e.y?0:e.y,o=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,a=a*n.height+n.y,o=o*n.height+n.y),i=isNaN(i)?0:i,r=isNaN(r)?1:r,a=isNaN(a)?0:a,o=isNaN(o)?0:o,t.createLinearGradient(i,a,r,o)}function s(t,e,n){var i=n.width,r=n.height,a=Math.min(i,r),o=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(o=o*i+n.x,s=s*r+n.y,l*=a),t.createRadialGradient(o,s,0,o,s,l)}for(var l=a.prototype={constructor:a,host:null,fill:"#000",stroke:null,opacity:1,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){for(var a=n&&n.style,o=!a,s=0;s<r.length;s++){var l=r[s],u=l[0];(o||this[u]!==a[u])&&(t[u]=Object(i.a)(t,u,this[u]||l[1]))}if((o||this.fill!==a.fill)&&(t.fillStyle=this.fill),(o||this.stroke!==a.stroke)&&(t.strokeStyle=this.stroke),(o||this.opacity!==a.opacity)&&(t.globalAlpha=null==this.opacity?1:this.opacity),(o||this.blend!==a.blend)&&(t.globalCompositeOperation=this.blend||"source-over"),this.hasStroke()){var h=this.lineWidth;t.lineWidth=h/(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&&this.lineWidth>0},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:o)(t,e,n),r=e.colorStops,a=0;a<r.length;a++)i.addColorStop(r[a].offset,r[a].color);return i}},u=0;u<r.length;u++){var h=r[u];h[0]in l||(l[h[0]]=h[1])}a.getGradient=l.getGradient,e.a=a},mlqX:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Dd8w"),r=n.n(i),a=n("NYxO"),o=n("iSrA"),s=n("HaDi"),l=n("ASYS"),u=n("tcBb");function h(t){return t}function c(t,e,n,i,r){this._old=t,this._new=e,this._oldKeyGetter=n||h,this._newKeyGetter=i||h,this.context=r}function f(t,e,n,i,r){for(var a=0;a<t.length;a++){var o="_ec_"+r[i](t[a],a),s=e[o];null==s?(n.push(o),e[o]=a):(s.length||(e[o]=s=[s]),s.push(a))}}c.prototype={constructor:c,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=[],r=[];for(f(t,{},i,"_oldKeyGetter",this),f(e,n,r,"_newKeyGetter",this),a=0;a<t.length;a++){if(null!=(s=n[o=i[a]]))(u=s.length)?(1===u&&(n[o]=null),s=s.unshift()):n[o]=null,this._update&&this._update(s,a);else this._remove&&this._remove(a)}for(var a=0;a<r.length;a++){var o=r[a];if(n.hasOwnProperty(o)){var s;if(null==(s=n[o]))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 d=c,p=n("hCiy"),g=n("CqC1"),v=Object(l.f)(["tooltip","label","itemName","itemId","seriesName"]);var m=l.t,_="e\0\0",y={float:"undefined"==typeof Float64Array?Array:Float64Array,int:"undefined"==typeof Int32Array?Array:Int32Array,ordinal:Array,number:Array,time:Array},x="undefined"==typeof Uint32Array?Array:Uint32Array,b="undefined"==typeof Uint16Array?Array:Uint16Array;function w(t){return t._rawCount>65535?x:b}var S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],M=["_extent","_approximateExtent","_rawExtent"];function C(t,e){l.i(S.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,l.i(M,function(n){t[n]=l.d(e[n])}),t._calculationInfo=l.k(e._calculationInfo)}var O=function(t,e){t=t||["x","y"];for(var n={},i=[],r={},a=0;a<t.length;a++){var o=t[a];l.u(o)&&(o={name:o});var u=o.name;o.type=o.type||"float",o.coordDim||(o.coordDim=u,o.coordDimIndex=0),o.otherDims=o.otherDims||{},i.push(u),n[u]=o,o.index=a,o.createInvertedIndices&&(r[u]=[])}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=function(t){var e={},n=e.encode={},i=Object(l.f)(),r=[],a=[];Object(l.i)(t.dimensions,function(e){var o,u=t.getDimensionInfo(e),h=u.coordDim;if(h){s.a&&Object(l.b)(null==v.get(h));var c=n[h];n.hasOwnProperty(h)||(c=n[h]=[]),c[u.coordDimIndex]=e,u.isExtraCoord||(i.set(h,1),"ordinal"!==(o=u.type)&&"time"!==o&&(r[0]=e)),u.defaultTooltip&&a.push(e)}v.each(function(t,e){var i=n[e];n.hasOwnProperty(e)||(i=n[e]=[]);var r=u.otherDims[e];null!=r&&!1!==r&&(i[r]=u.name)})});var o=[],u={};i.each(function(t,e){var i=n[e];u[e]=i[0],o=o.concat(i)}),e.dataDimsOnCoord=o,e.encodeFirstDimNotExtra=u;var h=n.label;h&&h.length&&(r=h.slice());var c=n.tooltip;return c&&c.length?a=c.slice():a.length||(a=r.slice()),n.defaultedLabel=r,n.defaultedTooltip=a,e}(this),this._invertedIndicesMap=r,this._calculationInfo={}},D=O.prototype;function k(t,e,n){var i;if(null!=e){var r=t._chunkSize,a=Math.floor(n/r),o=n%r,s=t.dimensions[e],l=t._storage[s][a];if(l){i=l[o];var u=t._dimensionInfos[s].ordinalMeta;u&&u.categories.length&&(i=u.categories[i])}}return i}function T(t){return t}function I(t){return t<this._count&&t>=0?this._indices[t]:-1}function A(t,e){var n=t._idList[e];return null==n&&(n=k(t,t._idDimIdx,e)),null==n&&(n=_+e),n}function j(t){return l.p(t)||(t=[t]),t}function L(t,e){for(var n=0;n<e.length;n++)t._dimensionInfos[e[n]]||console.error("Unkown dimension "+e[n])}function P(t,e){var n=t.dimensions,i=new O(l.w(n,t.getDimensionInfo,t),t.hostModel);C(i,t);for(var r=i._storage={},a=t._storage,o=0;o<n.length;o++){var s=n[o];a[s]&&(l.n(e,s)>=0?(r[s]=E(a[s]),i._rawExtent[s]=z(),i._extent[s]=null):r[s]=a[s])}return i}function E(t){for(var e,n,i=new Array(t.length),r=0;r<t.length;r++)i[r]=(e=t[r],n=void 0,(n=e.constructor)===Array?e.slice():new n(e));return i}function z(){return[1/0,-1/0]}D.type="list",D.hasItemOption=!0,D.getDimension=function(t){return isNaN(t)||(t=this.dimensions[t]||t),t},D.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},D.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},D.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]},D.initData=function(t,e,n){var i=p.a.isInstance(t)||l.q(t);if(i&&(t=new g.a(t,this.dimensions.length)),s.a&&!i&&("function"!=typeof t.getItem||"function"!=typeof t.count))throw new Error("Inavlid data provider.");this._rawData=t,this._storage={},this._indices=null,this._nameList=e||[],this._idList=[],this._nameRepeatCount={},n||(this.hasItemOption=!1),this.defaultDimValueGetter=g.b[this._rawData.getSource().sourceFormat],this._dimValueGetter=n=n||this.defaultDimValueGetter,this._rawExtent={},this._initDataFromProvider(0,t.count()),t.pure&&(this.hasItemOption=!1)},D.getProvider=function(){return this._rawData},D.appendData=function(t){s.a&&l.b(!this._indices,"appendData can only be called on raw data.");var e=this._rawData,n=this.count();e.appendData(t);var i=e.count();e.persistent||(i+=n),this._initDataFromProvider(n,i)},D._initDataFromProvider=function(t,e){if(!(t>=e)){for(var n,i=this._chunkSize,r=this._rawData,a=this._storage,o=this.dimensions,s=o.length,u=this._dimensionInfos,h=this._nameList,c=this._idList,f=this._rawExtent,d=this._nameRepeatCount={},p=this._chunkCount,g=p-1,v=0;v<s;v++){f[A=o[v]]||(f[A]=z());var m=u[A];0===m.otherDims.itemName&&(n=this._nameDimIdx=v),0===m.otherDims.itemId&&(this._idDimIdx=v);var _=y[m.type];a[A]||(a[A]=[]);var b=a[A][g];if(b&&b.length<i){for(var w=new _(Math.min(e-g*i,i)),S=0;S<b.length;S++)w[S]=b[S];a[A][g]=w}for(var M=p*i;M<e;M+=i)a[A].push(new _(Math.min(e-M,i)));this._chunkCount=a[A].length}for(var C,O,D=new Array(s),k=t;k<e;k++){D=r.getItem(k,D);var T=Math.floor(k/i),I=k%i;for(M=0;M<s;M++){var A,j=a[A=o[M]][T],L=this._dimValueGetter(D,A,k,M);j[I]=L;var P=f[A];L<P[0]&&(P[0]=L),L>P[1]&&(P[1]=L)}if(!r.pure){var E=h[k];if(D&&null==E)if(null!=D.name)h[k]=E=D.name;else if(null!=n){var R=o[n],B=a[R][T];if(B){E=B[I];var N=u[R].ordinalMeta;N&&N.categories.length&&(E=N.categories[E])}}var F=null==D?null:D.id;null==F&&null!=E&&(d[E]=d[E]||0,F=E,d[E]>0&&(F+="__ec__"+d[E]),d[E]++),null!=F&&(c[k]=F)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},O=(C=this)._invertedIndicesMap,l.i(O,function(t,e){var n=C._dimensionInfos[e],i=n.ordinalMeta;if(i){t=O[e]=new x(i.categories.length);for(var r=0;r<t.length;r++)t[r]=NaN;for(var r=0;r<C._count;r++)t[C.get(e,r)]=r}})}},D.count=function(){return this._count},D.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array){r=new e(n);for(var i=0;i<n;i++)r[i]=t[i]}else r=new e(t.buffer,0,n)}else{var r=new(e=w(this))(this.count());for(i=0;i<r.length;i++)r[i]=i}return r},D.get=function(t,e){if(!(e>=0&&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),r=e%this._chunkSize;return n[t][i][r]},D.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._storage[t];if(!n)return NaN;var i=Math.floor(e/this._chunkSize),r=e%this._chunkSize;return n[i][r]},D._getFast=function(t,e){var n=Math.floor(e/this._chunkSize),i=e%this._chunkSize;return this._storage[t][n][i]},D.getValues=function(t,e){var n=[];l.p(t)||(e=t,t=this.dimensions);for(var i=0,r=t.length;i<r;i++)n.push(this.get(t[i],e));return n},D.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,n=this._dimensionInfos,i=0,r=e.length;i<r;i++)if("ordinal"!==n[e[i]].type&&isNaN(this.get(e[i],t)))return!1;return!0},D.getDataExtent=function(t){t=this.getDimension(t);var e=this._storage[t],n=z();if(!e)return n;var i,r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(i=this._extent[t])return i.slice();for(var a=(i=n)[0],o=i[1],s=0;s<r;s++){var l=this._getFast(t,this.getRawIndex(s));l<a&&(a=l),l>o&&(o=l)}return i=[a,o],this._extent[t]=i,i},D.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},D.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},D.getCalculationInfo=function(t){return this._calculationInfo[t]},D.setCalculationInfo=function(t,e){m(t)?l.k(this._calculationInfo,t):this._calculationInfo[t]=e},D.getSum=function(t){var e=0;if(this._storage[t])for(var n=0,i=this.count();n<i;n++){var r=this.get(t,n);isNaN(r)||(e+=r)}return e},D.getMedian=function(t){var e=[];this.each(t,function(t,n){isNaN(t)||e.push(t)});var n=[].concat(e).sort(function(t,e){return t-e}),i=this.count();return 0===i?0:i%2==1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},D.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t];if(s.a&&!n)throw new Error("Do not supported yet");var i=n[e];return null==i||isNaN(i)?-1:i},D.indexOfName=function(t){for(var e=0,n=this.count();e<n;e++)if(this.getName(e)===t)return e;return-1},D.indexOfRawIndex=function(t){if(!this._indices)return t;if(t>=this._rawCount||t<0)return-1;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var a=(i+r)/2|0;if(e[a]<t)i=a+1;else{if(!(e[a]>t))return a;r=a-1}}return-1},D.indicesOfNearest=function(t,e,n){var i=[];if(!this._storage[t])return i;null==n&&(n=1/0);for(var r=Number.MAX_VALUE,a=-1,o=0,s=this.count();o<s;o++){var l=e-this.get(t,o),u=Math.abs(l);l<=n&&u<=r&&((u<r||l>=0&&a<0)&&(r=u,a=l,i.length=0),i.push(o))}return i},D.getRawIndex=T,D.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},D.getName=function(t){var e=this.getRawIndex(t);return this._nameList[e]||k(this,this._nameDimIdx,e)||""},D.getId=function(t){return A(this,this.getRawIndex(t))},D.each=function(t,e,n,i){if(this._count){"function"==typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this,t=l.w(j(t),this.getDimension,this),s.a&&L(this,t);for(var r=t.length,a=0;a<this.count();a++)switch(r){case 0:e.call(n,a);break;case 1:e.call(n,this.get(t[0],a),a);break;case 2:e.call(n,this.get(t[0],a),this.get(t[1],a),a);break;default:for(var o=0,u=[];o<r;o++)u[o]=this.get(t[o],a);u[o]=a,e.apply(n,u)}}},D.filterSelf=function(t,e,n,i){if(this._count){"function"==typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this,t=l.w(j(t),this.getDimension,this),s.a&&L(this,t);for(var r=this.count(),a=new(w(this))(r),o=[],u=t.length,h=0,c=t[0],f=0;f<r;f++){var d,p=this.getRawIndex(f);if(0===u)d=e.call(n,f);else if(1===u){var g=this._getFast(c,p);d=e.call(n,g,f)}else{for(var v=0;v<u;v++)o[v]=this._getFast(c,p);o[v]=f,d=e.apply(n,o)}d&&(a[h++]=p)}return h<r&&(this._indices=a),this._count=h,this._extent={},this.getRawIndex=this._indices?I:T,this}},D.selectRange=function(t){if(this._count){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);s.a&&L(this,e);var i=e.length;if(i){var r=this.count(),a=new(w(this))(r),o=0,l=e[0],u=t[l][0],h=t[l][1],c=!1;if(!this._indices){var f=0;if(1===i){for(var d=this._storage[e[0]],p=0;p<this._chunkCount;p++)for(var g=d[p],v=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<v;m++){((S=g[m])>=u&&S<=h||isNaN(S))&&(a[o++]=f),f++}c=!0}else if(2===i){d=this._storage[l];var _=this._storage[e[1]],y=t[e[1]][0],x=t[e[1]][1];for(p=0;p<this._chunkCount;p++){g=d[p];var b=_[p];for(v=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<v;m++){var S=g[m],M=b[m];(S>=u&&S<=h||isNaN(S))&&(M>=y&&M<=x||isNaN(M))&&(a[o++]=f),f++}}c=!0}}if(!c)if(1===i)for(m=0;m<r;m++){var C=this.getRawIndex(m);((S=this._getFast(l,C))>=u&&S<=h||isNaN(S))&&(a[o++]=C)}else for(m=0;m<r;m++){var O=!0;for(C=this.getRawIndex(m),p=0;p<i;p++){var D=e[p];((S=this._getFast(n,C))<t[D][0]||S>t[D][1])&&(O=!1)}O&&(a[o++]=this.getRawIndex(m))}return o<r&&(this._indices=a),this._count=o,this._extent={},this.getRawIndex=this._indices?I:T,this}}},D.mapArray=function(t,e,n,i){"function"==typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this;var r=[];return this.each(t,function(){r.push(e&&e.apply(this,arguments))},n),r},D.map=function(t,e,n,i){n=n||i||this,t=l.w(j(t),this.getDimension,this),s.a&&L(this,t);var r=P(this,t);r._indices=this._indices,r.getRawIndex=r._indices?I:T;for(var a=r._storage,o=[],u=this._chunkSize,h=t.length,c=this.count(),f=[],d=r._rawExtent,p=0;p<c;p++){for(var g=0;g<h;g++)f[g]=this.get(t[g],p);f[h]=p;var v=e&&e.apply(n,f);if(null!=v){"object"!=typeof v&&(o[0]=v,v=o);for(var m=this.getRawIndex(p),_=Math.floor(m/u),y=m%u,x=0;x<v.length;x++){var b=t[x],w=v[x],S=d[b],M=a[b];M&&(M[_][y]=w),w<S[0]&&(S[0]=w),w>S[1]&&(S[1]=w)}}}return r},D.downSample=function(t,e,n,i){for(var r=P(this,[t]),a=r._storage,o=[],s=Math.floor(1/e),l=a[t],u=this.count(),h=this._chunkSize,c=r._rawExtent[t],f=new(w(this))(u),d=0,p=0;p<u;p+=s){s>u-p&&(s=u-p,o.length=s);for(var g=0;g<s;g++){var v=this.getRawIndex(p+g),m=Math.floor(v/h),_=v%h;o[g]=l[m][_]}var y=n(o),x=this.getRawIndex(Math.min(p+i(o,y)||0,u-1)),b=x%h;l[Math.floor(x/h)][b]=y,y<c[0]&&(c[0]=y),y>c[1]&&(c[1]=y),f[d++]=x}return r._count=d,r._indices=f,r.getRawIndex=I,r},D.getItemModel=function(t){var e=this.hostModel;return new u.a(this.getRawDataItem(t),e,e&&e.ecModel)},D.diff=function(t){var e=this;return new d(t?t.getIndices():[],this.getIndices(),function(e){return A(t,e)},function(t){return A(e,t)})},D.getVisual=function(t){var e=this._visual;return e&&e[t]},D.setVisual=function(t,e){if(m(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},D.setLayout=function(t,e){if(m(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},D.getLayout=function(t){return this._layout[t]},D.getItemLayout=function(t){return this._itemLayouts[t]},D.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?l.k(this._itemLayouts[t]||{},e):e},D.clearItemLayouts=function(){this._itemLayouts.length=0},D.getItemVisual=function(t,e,n){var i=this._itemVisuals[t],r=i&&i[e];return null!=r||n?r:this.getVisual(e)},D.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},r=this.hasItemVisual;if(this._itemVisuals[t]=i,m(e))for(var a in e)e.hasOwnProperty(a)&&(i[a]=e[a],r[a]=!0);else i[e]=n,r[e]=!0},D.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var R=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};D.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(R,e)),this._graphicEls[t]=e},D.getItemGraphicEl=function(t){return this._graphicEls[t]},D.eachItemGraphicEl=function(t,e){l.i(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},D.cloneShallow=function(t){if(!t){var e=l.w(this.dimensions,this.getDimensionInfo,this);t=new O(e,this.hostModel)}if(t._storage=this._storage,C(t,this),this._indices){var n=this._indices.constructor;t._indices=new n(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?I:T,t},D.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(l.H(arguments)))})},D.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],D.CHANGABLE_METHODS=["filterSelf","selectRange"];var B=O,N=n("8DvQ"),F=n("rsyf");function H(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}var V=function(t,e,n){p.a.isInstance(e)||(e=p.a.seriesDataToSource(e)),n=n||{},t=(t||[]).slice();for(var i=(n.dimsDef||[]).slice(),r=Object(l.f)(n.encodeDef),a=Object(l.f)(),o=Object(l.f)(),s=[],u=function(t,e,n,i){var r=Math.max(t.dimensionsDetectCount||1,e.length,n.length,i||0);return Object(l.i)(e,function(t){var e=t.dimsDef;e&&(r=Math.max(r,e.length))}),r}(e,t,i,n.dimCount),h=0;h<u;h++){var c=i[h]=Object(l.k)({},Object(l.t)(i[h])?i[h]:{name:i[h]}),f=c.name,d=s[h]={otherDims:{}};null!=f&&null==a.get(f)&&(d.name=d.displayName=f,a.set(f,h)),null!=c.type&&(d.type=c.type),null!=c.displayName&&(d.displayName=c.displayName)}r.each(function(t,e){t=Object(N.k)(t).slice();var n=r.set(e,[]);Object(l.i)(t,function(t,i){Object(l.u)(t)&&(t=a.get(t)),null!=t&&t<u&&(n[i]=t,m(s[t],e,i))})});var g=0;function m(t,e,n){null!=v.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,o.set(e,!0))}Object(l.i)(t,function(t,e){var n,i,a;if(Object(l.u)(t))n=t,t={};else{n=t.name;var o=t.ordinalMeta;t.ordinalMeta=null,(t=Object(l.d)(t)).ordinalMeta=o,i=t.dimsDef,a=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null}var u=Object(N.k)(r.get(n));if(!u.length)for(var h=0;h<(i&&i.length||1);h++){for(;g<s.length&&null!=s[g].coordDim;)g++;g<s.length&&u.push(g++)}Object(l.i)(u,function(e,r){var o=s[e];if(m(Object(l.h)(o,t),n,r),null==o.name&&i){var u=i[r];!Object(l.t)(u)&&(u={name:u}),o.name=o.displayName=u.name,o.defaultTooltip=u.defaultTooltip}a&&Object(l.h)(o.otherDims,a)})});var _=n.generateCoord,y=n.generateCoordCount,x=null!=y;y=_?y||1:0;for(var b=_||"value",w=0;w<u;w++)null==(d=s[w]=s[w]||{}).coordDim&&(d.coordDim=H(b,o,x),d.coordDimIndex=0,(!_||y<=0)&&(d.isExtraCoord=!0),y--),null==d.name&&(d.name=H(d.coordDim,a)),null==d.type&&Object(F.c)(e,w,d.name)&&(d.type="ordinal");return s},W=function(t,e){return V((e=e||{}).coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})},G=n("QgCW"),Y=n("92Me"),X=n("9xaT");function q(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}var U=function(t,e,n){n=n||{},p.a.isInstance(t)||(t=p.a.seriesDataToSource(t));var i,r=e.get("coordinateSystem"),a=Y.a.get(r),o=Object(X.a)(e);o&&(i=l.w(o.coordSysDims,function(t){var e={name:t},n=o.axisMap.get(t);if(n){var i=n.get("type");e.type=function(t){return"category"===t?"ordinal":"time"===t?"time":"float"}(i)}return e})),i||(i=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]);var s,u,h=W(t,{coordDimensions:i,generateCoord:n.generateCoord});o&&l.i(h,function(t,e){var n=t.coordDim,i=o.categoryAxisMap.get(n);i&&(null==s&&(s=e),t.ordinalMeta=i.getOrdinalMeta()),null!=t.otherDims.itemName&&(u=!0)}),u||null==s||(h[s].otherDims.itemName=0);var c=function(t,e,n){var i,r,a,o,s=(n=n||{}).byIndex,u=n.stackedCoordDimension,h=!(!t||!t.get("stack"));if(Object(l.i)(e,function(t,n){Object(l.u)(t)&&(e[n]=t={name:t}),h&&!t.isExtraCoord&&(s||i||!t.ordinalMeta||(i=t),r||"ordinal"===t.type||"time"===t.type||u&&u!==t.coordDim||(r=t))}),!r||s||i||(s=!0),r){a="__\0ecstackresult",o="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var c=r.coordDim,f=r.type,d=0;Object(l.i)(e,function(t){t.coordDim===c&&d++}),e.push({name:a,coordDim:c,coordDimIndex:d,type:f,isExtraCoord:!0,isCalculationCoord:!0}),d++,e.push({name:o,coordDim:o,coordDimIndex:d,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:r&&r.name,stackedByDimension:i&&i.name,isStackedByIndex:s,stackedOverDimension:o,stackResultDimension:a}}(e,h),f=new B(h,e);f.setCalculationInfo(c);var d=null!=s&&function(t){if(t.sourceFormat===G.f){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return null!=e&&!l.p(Object(N.d)(e))}}(t)?function(t,e,n,i){return i===s?n:this.defaultDimValueGetter(t,e,n,i)}:null;return f.hasItemOption=!1,f.initData(t,null,d),f},Z=(n("+yE6").a.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){if(s.a){var n=t.coordinateSystem;if("polar"!==n&&"cartesian2d"!==n)throw new Error("Line not support coordinateSystem besides cartesian and polar")}return U(this.getSource(),this)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clipOverflow:!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}}),n("Ju+c")),K=n("Rjdj"),Q=Z.j({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,a=e.height/2;t.moveTo(n,i-a),t.lineTo(n+r,i+a),t.lineTo(n-r,i+a),t.closePath()}}),$=Z.j({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,a=e.height/2;t.moveTo(n,i-a),t.lineTo(n+r,i),t.lineTo(n,i+a),t.lineTo(n-r,i),t.closePath()}}),J=Z.j({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,a=Math.max(r,e.height),o=r/2,s=o*o/(a-o),l=i-a+o+s,u=Math.asin(s/o),h=Math.cos(u)*o,c=Math.sin(u),f=Math.cos(u),d=.6*o,p=.7*o;t.moveTo(n-h,l+s),t.arc(n,l,o,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+h-c*d,l+s+f*d,n,i-p,n,i),t.bezierCurveTo(n,i-p,n-h+c*d,l+s+f*d,n-h,l+s),t.closePath()}}),tt=Z.j({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,a=e.y,o=i/3*2;t.moveTo(r,a),t.lineTo(r+o,a+n),t.lineTo(r,a+n/4*3),t.lineTo(r-o,a+n),t.lineTo(r,a),t.closePath()}}),et={line:Z.e,rect:Z.g,roundRect:Z.g,square:Z.g,circle:Z.b,diamond:$,pin:J,arrow:tt,triangle:Q},nt={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var a=Math.min(n,i);r.x=t,r.y=e,r.width=a,r.height=a},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},it={};l.i(et,function(t,e){it[e]=new t});var rt=Z.j({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},beforeBrush:function(){var t=this.style;"pin"===this.shape.symbolType&&"inside"===t.textPosition&&(t.textPosition=["50%","40%"],t.textAlign="center",t.textVerticalAlign="middle")},buildPath:function(t,e,n){var i=e.symbolType,r=it[i];"none"!==e.symbolType&&(r||(r=it[i="rect"]),nt[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n))}});function at(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)}}function ot(t,e,n,i,r,a,o){var s,l=0===t.indexOf("empty");return l&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?Z.n(t.slice(8),new K.a(e,n,i,r),o?"center":"cover"):0===t.indexOf("path://")?Z.o(t.slice(7),{},new K.a(e,n,i,r),o?"center":"cover"):new rt({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=l,s.setColor=at,s.setColor(a),s}var st=n("yFTj");function lt(t,e,n){Z.c.call(this),this.updateData(t,e,n)}var ut=lt.prototype,ht=lt.getSymbolSize=function(t,e){var n=t.getItemVisual(e,"symbolSize");return n instanceof Array?n.slice():[+n,+n]};function ct(t){return[t[0]/2,t[1]/2]}function ft(t,e){this.parent.drift(t,e)}ut._createSymbol=function(t,e,n,i,r){this.removeAll();var a=ot(t,-1,-1,2,2,e.getItemVisual(n,"color"),r);a.attr({z2:100,culling:!0,scale:ct(i)}),a.drift=ft,this._symbolType=t,this.add(a)},ut.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},ut.getSymbolPath=function(){return this.childAt(0)},ut.getScale=function(){return this.childAt(0).scale},ut.highlight=function(){this.childAt(0).trigger("emphasis")},ut.downplay=function(){this.childAt(0).trigger("normal")},ut.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},ut.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":"pointer"},ut.updateData=function(t,e,n){this.silent=!1;var i=t.getItemVisual(e,"symbol")||"circle",r=t.hostModel,a=ht(t,e),o=i!==this._symbolType;if(o){var s=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(i,t,e,a,s)}else{(l=this.childAt(0)).silent=!1,Z.t(l,{scale:ct(a)},r,e)}if(this._updateCommon(t,e,a,n),o){var l=this.childAt(0),u=n&&n.fadeIn,h={scale:l.scale.slice()};u&&(h.style={opacity:l.style.opacity}),l.scale=[0,0],u&&(l.style.opacity=0),Z.m(l,h,r,e)}this._seriesModel=r};var dt=["itemStyle"],pt=["emphasis","itemStyle"],gt=["label"],vt=["emphasis","label"];ut._updateCommon=function(t,e,n,i){var r=this.childAt(0),a=t.hostModel,o=t.getItemVisual(e,"color");"image"!==r.type&&r.useStyle({strokeNoScale:!0});var s=i&&i.itemStyle,u=i&&i.hoverItemStyle,h=i&&i.symbolRotate,c=i&&i.symbolOffset,f=i&&i.labelModel,d=i&&i.hoverLabelModel,p=i&&i.hoverAnimation,v=i&&i.cursorStyle;if(!i||t.hasItemOption){var m=i&&i.itemModel?i.itemModel:t.getItemModel(e);s=m.getModel(dt).getItemStyle(["color"]),u=m.getModel(pt).getItemStyle(),h=m.getShallow("symbolRotate"),c=m.getShallow("symbolOffset"),f=m.getModel(gt),d=m.getModel(vt),p=m.getShallow("hoverAnimation"),v=m.getShallow("cursor")}else u=l.k({},u);var _=r.style;r.attr("rotation",(h||0)*Math.PI/180||0),c&&r.attr("position",[Object(st.g)(c[0],n[0]),Object(st.g)(c[1],n[1])]),v&&r.attr("cursor",v),r.setColor(o,i&&i.symbolInnerColor),r.setStyle(s);var y=t.getItemVisual(e,"opacity");null!=y&&(_.opacity=y);var x=t.getItemVisual(e,"liftZ"),b=r.__z2Origin;null!=x?null==b&&(r.__z2Origin=r.z2,r.z2+=x):null!=b&&(r.z2=b,r.__z2Origin=null);var w=i&&i.useNameLabel;Z.q(_,u,f,d,{labelFetcher:a,labelDataIndex:e,defaultText:function(e,n){return w?t.getName(e):function(t,e){var n=t.mapDimension("defaultedLabel",!0),i=n.length;if(1===i)return Object(g.c)(t,e,n[0]);if(i){for(var r=[],a=0;a<n.length;a++){var o=Object(g.c)(t,e,n[a]);r.push(o)}return r.join(" ")}}(t,e)},isRectText:!0,autoColor:o}),r.off("mouseover").off("mouseout").off("emphasis").off("normal"),r.hoverStyle=u,Z.p(r);var S=ct(n);if(p&&a.isAnimationEnabled()){var M=function(){if(!this.incremental){var t=S[1]/S[0];this.animateTo({scale:[Math.max(1.1*S[0],S[0]+3),Math.max(1.1*S[1],S[1]+3*t)]},400,"elasticOut")}},C=function(){this.incremental||this.animateTo({scale:S},400,"elasticOut")};r.on("mouseover",M).on("mouseout",C).on("emphasis",M).on("normal",C)}},ut.fadeOut=function(t,e){var n=this.childAt(0);this.silent=n.silent=!0,(!e||!e.keepLabel)&&(n.style.text=null),Z.t(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},l.o(lt,Z.c);var mt=lt;function _t(t){this.group=new Z.c,this._symbolCtor=t||mt}var yt=_t.prototype;function xt(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 bt(t){return null==t||Object(l.t)(t)||(t={isIgnore:t}),t||{}}function wt(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")}}yt.updateData=function(t,e){e=bt(e);var n=this.group,i=t.hostModel,r=this._data,a=this._symbolCtor,o=wt(t);r||n.removeAll(),t.diff(r).add(function(i){var r=t.getItemLayout(i);if(xt(t,r,i,e)){var s=new a(t,i,o);s.attr("position",r),t.setItemGraphicEl(i,s),n.add(s)}}).update(function(s,l){var u=r.getItemGraphicEl(l),h=t.getItemLayout(s);xt(t,h,s,e)?(u?(u.updateData(t,s,o),Z.t(u,{position:h},i)):(u=new a(t,s)).attr("position",h),n.add(u),t.setItemGraphicEl(s,u)):n.remove(u)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut(function(){n.remove(e)})}).execute(),this._data=t},yt.isPersistent=function(){return!0},yt.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl(function(e,n){var i=t.getItemLayout(n);e.attr("position",i)})},yt.incrementalPrepareUpdate=function(t){this._seriesScope=wt(t),this._data=null,this.group.removeAll()},yt.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}n=bt(n);for(var r=t.start;r<t.end;r++){var a=e.getItemLayout(r);if(xt(e,a,r,n)){var o=new this._symbolCtor(e,r,this._seriesScope);o.traverse(i),o.attr("position",a),this.group.add(o),e.setItemGraphicEl(r,o)}}},yt.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 St=_t;function Mt(t,e,n){var i,r=t.getBaseAxis(),a=t.getOtherAxis(r),o=function(t,e){var n=0,i=t.scale.getExtent();"start"===e?n=i[0]:"end"===e?n=i[1]:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]);return n}(a,n),s=r.dim,u=a.dim,h=e.mapDimension(u),c=e.mapDimension(s),f="x"===u||"radius"===u?1:0,d=Object(l.w)(t.dimensions,function(t){return e.mapDimension(t)}),p=e.getCalculationInfo("stackResultDimension");return(i|=q(e,d[0]))&&(d[0]=p),(i|=q(e,d[1]))&&(d[1]=p),{dataDimsForPoint:d,valueStart:o,valueAxisDim:u,baseAxisDim:s,stacked:!!i,valueDim:h,baseDim:c,baseDataOffset:f,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function Ct(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var a=t.baseDataOffset,o=[];return o[a]=n.get(t.baseDim,i),o[1-a]=r,e.dataToPoint(o)}var Ot=n("KzNF"),Dt=n("iyEX"),kt=n("x0Vh"),Tt=Dt.j,It=Dt.i,At=Dt.m,jt=Dt.d,Lt=[],Pt=[],Et=[];function zt(t){return isNaN(t[0])||isNaN(t[1])}function Rt(t,e,n,i,r,a,o,s,l,u,h){return"none"!==u&&u?function(t,e,n,i,r,a,o,s,l,u,h){for(var c=0,f=n,d=0;d<i;d++){var p=e[f];if(f>=r||f<0)break;if(zt(p)){if(h){f+=a;continue}break}if(f===n)t[a>0?"moveTo":"lineTo"](p[0],p[1]);else if(l>0){var g=e[c],v="y"===u?1:0,m=(p[v]-g[v])*l;jt(Pt,g),Pt[v]=g[v]+m,jt(Et,p),Et[v]=p[v]-m,t.bezierCurveTo(Pt[0],Pt[1],Et[0],Et[1],p[0],p[1])}else t.lineTo(p[0],p[1]);c=f,f+=a}return d}.apply(this,arguments):function(t,e,n,i,r,a,o,s,l,u,h){for(var c=0,f=n,d=0;d<i;d++){var p=e[f];if(f>=r||f<0)break;if(zt(p)){if(h){f+=a;continue}break}if(f===n)t[a>0?"moveTo":"lineTo"](p[0],p[1]),jt(Pt,p);else if(l>0){var g=f+a,v=e[g];if(h)for(;v&&zt(e[g]);)v=e[g+=a];var m=.5,_=e[c],v=e[g];if(!v||zt(v))jt(Et,p);else{var y,x;if(zt(v)&&!h&&(v=p),Dt.n(Lt,v,_),"x"===u||"y"===u){var b="x"===u?0:1;y=Math.abs(p[b]-_[b]),x=Math.abs(p[b]-v[b])}else y=Dt.f(p,_),x=Dt.f(p,v);At(Et,p,Lt,-l*(1-(m=x/(x+y))))}Tt(Pt,Pt,s),It(Pt,Pt,o),Tt(Et,Et,s),It(Et,Et,o),t.bezierCurveTo(Pt[0],Pt[1],Et[0],Et[1],p[0],p[1]),At(Pt,p,Lt,l*m)}else t.lineTo(p[0],p[1]);c=f,f+=a}return d}.apply(this,arguments)}function Bt(t,e){var n=[1/0,1/0],i=[-1/0,-1/0];if(e)for(var r=0;r<t.length;r++){var a=t[r];a[0]<n[0]&&(n[0]=a[0]),a[1]<n[1]&&(n[1]=a[1]),a[0]>i[0]&&(i[0]=a[0]),a[1]>i[1]&&(i[1]=a[1])}return{min:e?n:i,max:e?i:n}}var Nt=Ot.a.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:Object(kt.a)(Ot.a.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,r=n.length,a=Bt(n,e.smoothConstraint);if(e.connectNulls){for(;r>0&&zt(n[r-1]);r--);for(;i<r&&zt(n[i]);i++);}for(;i<r;)i+=Rt(t,n,i,r,r,1,a.min,a.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}}),Ft=Ot.a.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:Object(kt.a)(Ot.a.prototype.brush),buildPath:function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,a=n.length,o=e.smoothMonotone,s=Bt(n,e.smoothConstraint),l=Bt(i,e.smoothConstraint);if(e.connectNulls){for(;a>0&&zt(n[a-1]);a--);for(;r<a&&zt(n[r]);r++);}for(;r<a;){var u=Rt(t,n,r,a,a,1,s.min,s.max,e.smooth,o,e.connectNulls);Rt(t,i,r+u-1,u,a,-1,l.min,l.max,e.stackedOnSmooth,o,e.connectNulls),r+=u+1,t.closePath()}}}),Ht=n("gnaj");function Vt(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++){var i=t[n],r=e[n];if(i[0]!==r[0]||i[1]!==r[1])return}return!0}}function Wt(t){return"number"==typeof t?t:t?.5:0}function Gt(t){var e=t.getGlobalExtent();if(t.onBand){var n=t.getBandWidth()/2-1,i=e[1]>e[0]?1:-1;e[0]+=i*n,e[1]-=i*n}return e}function Yt(t,e,n,i){return"polar"===t.type?function(t,e,n,i){var r=t.getAngleAxis(),a=t.getRadiusAxis().getExtent().slice();a[0]>a[1]&&a.reverse();var o=r.getExtent(),s=Math.PI/180;n&&(a[0]-=.5,a[1]+=.5);var l=new Z.h({shape:{cx:Object(st.j)(t.cx,1),cy:Object(st.j)(t.cy,1),r0:Object(st.j)(a[0],1),r:Object(st.j)(a[1],1),startAngle:-o[0]*s,endAngle:-o[1]*s,clockwise:r.inverse}});return e&&(l.shape.endAngle=-o[0]*s,Z.m(l,{shape:{endAngle:-o[1]*s}},i)),l}(t,e,n,i):function(t,e,n,i){var r=Gt(t.getAxis("x")),a=Gt(t.getAxis("y")),o=t.getBaseAxis().isHorizontal(),s=Math.min(r[0],r[1]),l=Math.min(a[0],a[1]),u=Math.max(r[0],r[1])-s,h=Math.max(a[0],a[1])-l;if(n)s-=.5,u+=.5,l-=.5,h+=.5;else{var c=i.get("lineStyle.width")||2,f=i.get("clipOverflow")?c/2:Math.max(u,h);o?(l-=f,h+=2*f):(s-=f,u+=2*f)}var d=new Z.g({shape:{x:s,y:l,width:u,height:h}});return e&&(d.shape[o?"width":"height"]=0,Z.m(d,{shape:{width:u,height:h}},i)),d}(t,e,n,i)}function Xt(t,e,n){for(var i=e.getBaseAxis(),r="x"===i.dim||"radius"===i.dim?0:1,a=[],o=0;o<t.length-1;o++){var s=t[o+1],l=t[o];a.push(l);var u=[];switch(n){case"end":u[r]=s[r],u[1-r]=l[1-r],a.push(u);break;case"middle":var h=(l[r]+s[r])/2,c=[];u[r]=c[r]=h,u[1-r]=l[1-r],c[1-r]=s[1-r],a.push(u),a.push(c);break;default:u[r]=l[r],u[1-r]=s[1-r],a.push(u)}}return t[o]&&a.push(t[o]),a}function qt(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var a=n.getAxesByScale("ordinal")[0];if(a&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),a=Math.max(1,Math.round(r/5)),o=0;o<r;o+=a)if(1.5*mt.getSymbolSize(e,o)[t.isHorizontal()?1:0]>i)return!1;return!0}(a,e))){var o=e.mapDimension(a.dim),s={};return l.i(a.getViewLabels(),function(t){s[t.tickValue]=1}),function(t){return!s.hasOwnProperty(e.get(o,t))}}}}Ht.a.extend({type:"line",init:function(){var t=new Z.c,e=new St;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,n){var i=t.coordinateSystem,r=this.group,a=t.getData(),o=t.getModel("lineStyle"),u=t.getModel("areaStyle"),h=a.mapArray(a.getItemLayout),c="polar"===i.type,f=this._coordSys,d=this._symbolDraw,p=this._polyline,g=this._polygon,v=this._lineGroup,m=t.get("animation"),_=!u.isEmpty(),y=u.get("origin"),x=function(t,e,n){if(!n.valueDim)return[];for(var i=[],r=0,a=e.count();r<a;r++)i.push(Ct(n,t,e,r));return i}(i,a,Mt(i,a,y)),b=t.get("showSymbol"),w=b&&!c&&qt(t,a,i),S=this._data;S&&S.eachItemGraphicEl(function(t,e){t.__temp&&(r.remove(t),S.setItemGraphicEl(e,null))}),b||d.remove(),r.add(v);var M=!c&&t.get("step");p&&f.type===i.type&&M===this._step?(_&&!g?g=this._newPolygon(h,x,i,m):g&&!_&&(v.remove(g),g=this._polygon=null),v.setClipPath(Yt(i,!1,!1,t)),b&&d.updateData(a,{isIgnore:w,clipShape:Yt(i,!1,!0,t)}),a.eachItemGraphicEl(function(t){t.stopAnimation(!0)}),Vt(this._stackedOnPoints,x)&&Vt(this._points,h)||(m?this._updateAnimation(a,x,i,n,M,y):(M&&(h=Xt(h,i,M),x=Xt(x,i,M)),p.setShape({points:h}),g&&g.setShape({points:h,stackedOnPoints:x})))):(b&&d.updateData(a,{isIgnore:w,clipShape:Yt(i,!1,!0,t)}),M&&(h=Xt(h,i,M),x=Xt(x,i,M)),p=this._newPolyline(h,i,m),_&&(g=this._newPolygon(h,x,i,m)),v.setClipPath(Yt(i,!0,!1,t)));var C=function(t,e){var n=t.getVisual("visualMeta");if(n&&n.length&&t.count())if("cartesian2d"===e.type){for(var i,r,a=n.length-1;a>=0;a--){var o=n[a].dimension,u=t.dimensions[o],h=t.getDimensionInfo(u);if("x"===(i=h&&h.coordDim)||"y"===i){r=n[a];break}}if(r){var c=e.getAxis(i),f=l.w(r.stops,function(t){return{coord:c.toGlobalCoord(c.dataToCoord(t.value)),color:t.color}}),d=f.length,p=r.outerColors.slice();d&&f[0].coord>f[d-1].coord&&(f.reverse(),p.reverse());var g=f[0].coord-10,v=f[d-1].coord+10,m=v-g;if(m<.001)return"transparent";l.i(f,function(t){t.offset=(t.coord-g)/m}),f.push({offset:d?f[d-1].offset:.5,color:p[1]||"transparent"}),f.unshift({offset:d?f[0].offset:.5,color:p[0]||"transparent"});var _=new Z.f(0,0,0,0,f,!0);return _[i]=g,_[i+"2"]=v,_}s.a&&console.warn("Visual map on line style only support x or y dimension.")}else s.a&&console.warn("Visual map on line style is only supported on cartesian2d.")}(a,i)||a.getVisual("color");p.useStyle(l.h(o.getLineStyle(),{fill:"none",stroke:C,lineJoin:"bevel"}));var O=t.get("smooth");if(O=Wt(t.get("smooth")),p.setShape({smooth:O,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),g){var D=a.getCalculationInfo("stackedOnSeries"),k=0;g.useStyle(l.h(u.getAreaStyle(),{fill:C,opacity:.7,lineJoin:"bevel"})),D&&(k=Wt(D.get("smooth"))),g.setShape({smooth:O,stackedOnSmooth:k,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=a,this._coordSys=i,this._stackedOnPoints=x,this._points=h,this._step=M,this._valueOrigin=y},dispose:function(){},highlight:function(t,e,n,i){var r=t.getData(),a=N.m(r,i);if(!(a instanceof Array)&&null!=a&&a>=0){var o=r.getItemGraphicEl(a);if(!o){var s=r.getItemLayout(a);if(!s)return;(o=new mt(r,a)).position=s,o.setZ(t.get("zlevel"),t.get("z")),o.ignore=isNaN(s[0])||isNaN(s[1]),o.__temp=!0,r.setItemGraphicEl(a,o),o.stopSymbolAnimation(!0),this.group.add(o)}o.highlight()}else Ht.a.prototype.highlight.call(this,t,e,n,i)},downplay:function(t,e,n,i){var r=t.getData(),a=N.m(r,i);if(null!=a&&a>=0){var o=r.getItemGraphicEl(a);o&&(o.__temp?(r.setItemGraphicEl(a,null),this.group.remove(o)):o.downplay())}else Ht.a.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new Nt({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new Ft({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(t,e,n,i,r,a){var o=this._polyline,s=this._polygon,l=t.hostModel,u=function(t,e,n,i,r,a,o,s){for(var l=function(t,e){var n=[];return e.diff(t).add(function(t){n.push({cmd:"+",idx:t})}).update(function(t,e){n.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){n.push({cmd:"-",idx:t})}).execute(),n}(t,e),u=[],h=[],c=[],f=[],d=[],p=[],g=[],v=Mt(r,e,o),m=Mt(a,t,s),_=0;_<l.length;_++){var y=l[_],x=!0;switch(y.cmd){case"=":var b=t.getItemLayout(y.idx),w=e.getItemLayout(y.idx1);(isNaN(b[0])||isNaN(b[1]))&&(b=w.slice()),u.push(b),h.push(w),c.push(n[y.idx]),f.push(i[y.idx1]),g.push(e.getRawIndex(y.idx1));break;case"+":var S=y.idx;u.push(r.dataToPoint([e.get(v.dataDimsForPoint[0],S),e.get(v.dataDimsForPoint[1],S)])),h.push(e.getItemLayout(S).slice()),c.push(Ct(v,r,e,S)),f.push(i[S]),g.push(e.getRawIndex(S));break;case"-":S=y.idx;var M=t.getRawIndex(S);M!==S?(u.push(t.getItemLayout(S)),h.push(a.dataToPoint([t.get(m.dataDimsForPoint[0],S),t.get(m.dataDimsForPoint[1],S)])),c.push(n[S]),f.push(Ct(m,a,t,S)),g.push(M)):x=!1}x&&(d.push(y),p.push(p.length))}p.sort(function(t,e){return g[t]-g[e]});var C=[],O=[],D=[],k=[],T=[];for(_=0;_<p.length;_++)S=p[_],C[_]=u[S],O[_]=h[S],D[_]=c[S],k[_]=f[S],T[_]=d[S];return{current:C,next:O,stackedOnCurrent:D,stackedOnNext:k,status:T}}(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,a),h=u.current,c=u.stackedOnCurrent,f=u.next,d=u.stackedOnNext;r&&(h=Xt(u.current,n,r),c=Xt(u.stackedOnCurrent,n,r),f=Xt(u.next,n,r),d=Xt(u.stackedOnNext,n,r)),o.shape.__points=u.current,o.shape.points=h,Z.t(o,{shape:{points:f}},l),s&&(s.setShape({points:h,stackedOnPoints:c}),Z.t(s,{shape:{points:f,stackedOnPoints:d}},l));for(var p=[],g=u.status,v=0;v<g.length;v++){if("="===g[v].cmd){var m=t.getItemGraphicEl(g[v].idx1);m&&p.push({el:m,ptIdx:v})}}o.animators&&o.animators.length&&o.animators[0].during(function(){for(var t=0;t<p.length;t++){p[t].el.attr("position",o.shape.__points[p[t].ptIdx])}})},remove:function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});var Ut=n("vWev"),Zt={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]}},Kt=function(t,e){return Math.round(t.length/2)},Qt=n("UrHu"),$t=n("mnKm");function Jt(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}Jt.prototype.parse=function(t){return t},Jt.prototype.getSetting=function(t){return this._setting[t]},Jt.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},Jt.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},Jt.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},Jt.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},Jt.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},Jt.prototype.getExtent=function(){return this._extent.slice()},Jt.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},Jt.prototype.isBlank=function(){return this._isBlank},Jt.prototype.setBlank=function(t){this._isBlank=t},Jt.prototype.getLabel=null,$t.b(Jt),$t.c(Jt,{registerWhenExtend:!0});var te=Jt;function ee(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}ee.createByAxisModel=function(t){var e=t.option,n=e.data,i=n&&Object(l.w)(n,re);return new ee({categories:i,needCollect:!i,deduplication:!1!==e.dedplication})};var ne=ee.prototype;function ie(t){return t._map||(t._map=Object(l.f)(t.categories))}function re(t){return Object(l.t)(t)&&null!=t.value?t.value:t+""}ne.getOrdinal=function(t){return ie(this).get(t)},ne.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=ie(this);return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e};var ae=ee,oe=te.prototype,se=te.extend({type:"ordinal",init:function(t,e){t&&!l.p(t)||(t=new ae({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),oe.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return oe.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(oe.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:l.A,niceExtent:l.A});se.create=function(){return new se};var le=se,ue=n("ngA1"),he=st.j;function ce(t){return st.b(t)+2}function fe(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function de(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),fe(t,0,e),fe(t,1,e),t[0]>t[1]&&(t[0]=t[1])}var pe=st.j,ge=te.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]),ge.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=ce(t)},getTicks:function(){return function(t,e,n,i){var r=[];if(!t)return r;e[0]<n[0]&&r.push(e[0]);for(var a=n[0];a<=n[1]&&(r.push(a),(a=he(a+t,i))!==r[r.length-1]);)if(r.length>1e4)return[];return e[1]>(r.length?r[r.length-1]:n[1])&&r.push(e[1]),r}(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=st.b(t)||0:"auto"===n&&(n=this._intervalPrecision),t=pe(t,n,!0),ue.a(t)},niceTicks:function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var a=function(t,e,n,i){var r={},a=t[1]-t[0],o=r.interval=st.e(a/e,!0);null!=n&&o<n&&(o=r.interval=n),null!=i&&o>i&&(o=r.interval=i);var s=r.intervalPrecision=ce(o);return de(r.niceTickExtent=[he(Math.ceil(t[0]/o)*o,s),he(Math.floor(t[1]/o)*o,s)],t),r}(i,t,e,n);this._intervalPrecision=a.intervalPrecision,this._interval=a.interval,this._niceExtent=a.niceTickExtent}},niceExtent:function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=e[0];t.fixMax?e[0]-=n/2:(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 r=this._interval;t.fixMin||(e[0]=pe(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=pe(Math.ceil(e[1]/r)*r))}});ge.create=function(){return new ge};var ve=ge,me="__ec_stack_";"undefined"!=typeof Float32Array?Float32Array:Array;function _e(t){return t.get("stack")||me+t.seriesIndex}function ye(t){return t.dim+t.index}function xe(t,e){var n=[];return e.eachSeriesByType(t,function(t){Me(t)&&!Ce(t)&&n.push(t)}),n}function be(t){var e=[];return l.i(t,function(t){var n=t.getData(),i=t.coordinateSystem.getBaseAxis(),r=i.getExtent(),a="category"===i.type?i.getBandWidth():Math.abs(r[1]-r[0])/n.count(),o=Object(st.g)(t.get("barWidth"),a),s=Object(st.g)(t.get("barMaxWidth"),a),l=t.get("barGap"),u=t.get("barCategoryGap");e.push({bandWidth:a,barWidth:o,barMaxWidth:s,barGap:l,barCategoryGap:u,axisKey:ye(i),stackId:_e(t)})}),we(e)}function we(t){var e={};l.i(t,function(t,n){var i=t.axisKey,r=t.bandWidth,a=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=a.stacks;e[i]=a;var s=t.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var u=t.barMaxWidth;u&&(o[s].maxWidth=u);var h=t.barGap;null!=h&&(a.gap=h);var c=t.barCategoryGap;null!=c&&(a.categoryGap=c)});var n={};return l.i(e,function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,a=Object(st.g)(t.categoryGap,r),o=Object(st.g)(t.gap,1),s=t.remainedWidth,u=t.autoWidthCount,h=(s-a)/(u+(u-1)*o);h=Math.max(h,0),l.i(i,function(t,e){var n=t.maxWidth;n&&n<h&&(n=Math.min(n,s),t.width&&(n=Math.min(n,t.width)),s-=n,t.width=n,u--)}),h=(s-a)/(u+(u-1)*o),h=Math.max(h,0);var c,f=0;l.i(i,function(t,e){t.width||(t.width=h),c=t,f+=t.width*(1+o)}),c&&(f-=c.width*o);var d=-f/2;l.i(i,function(t,i){n[e][i]=n[e][i]||{offset:d,width:t.width},d+=t.width*(1+o)})}),n}function Se(t,e,n){if(t&&e){var i=t[ye(e)];return null!=i&&null!=n&&(i=i[_e(n)]),i}}Object(Ut.a)();function Me(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function Ce(t){return t.pipelineContext&&t.pipelineContext.large}var Oe=ve.prototype,De=Math.ceil,ke=Math.floor,Te=ve.extend({type:"time",getLabel:function(t){var e=this._stepLvl,n=new Date(t);return ue.c(e[0],n,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=864e5,e[1]+=864e5),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-864e5}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=st.j(ke(e[0]/i)*i)),t.fixMax||(e[1]=st.j(De(e[1]/i)*i))},niceTicks:function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0],a=r/t;null!=e&&a<e&&(a=e),null!=n&&a>n&&(a=n);var o=Ie.length,s=function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n}(Ie,a,0,o),l=Ie[Math.min(s,o-1)],u=l[1];if("year"===l[0]){var h=r/u;u*=st.e(h/t,!0)}var c=this.getSetting("useUTC")?0:60*new Date(+i[0]||+i[1]).getTimezoneOffset()*1e3,f=[Math.round(De((i[0]-c)/u)*u+c),Math.round(ke((i[1]-c)/u)*u+c)];de(f,i),this._stepLvl=l,this._interval=u,this._niceExtent=f},parse:function(t){return+st.f(t)}});l.i(["contain","normalize"],function(t){Te.prototype[t]=function(e){return Oe[t].call(this,this.parse(e))}});var Ie=[["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",864e5],["MM-dd\nyyyy",1728e5],["MM-dd\nyyyy",2592e5],["MM-dd\nyyyy",3456e5],["MM-dd\nyyyy",432e6],["MM-dd\nyyyy",5184e5],["week",6048e5],["MM-dd\nyyyy",864e6],["week",12096e5],["week",18144e5],["month",26784e5],["week",36288e5],["month",53568e5],["week",36288e5],["quarter",8208e6],["month",107136e5],["month",13392e6],["half-year",16416e6],["month",214272e5],["month",26784e6],["year",32832e6]];Te.create=function(t){return new Te({useUTC:t.ecModel.get("useUTC")})};var Ae=te.prototype,je=ve.prototype,Le=st.b,Pe=st.j,Ee=Math.floor,ze=Math.ceil,Re=Math.pow,Be=Math.log,Ne=te.extend({type:"log",base:10,$constructor:function(){te.apply(this,arguments),this._originalScale=new ve},getTicks:function(){var t=this._originalScale,e=this._extent,n=t.getExtent();return l.w(je.getTicks.call(this),function(i){var r=st.j(Re(this.base,i));return r=i===e[0]&&t.__fixMin?Fe(r,n[0]):r,r=i===e[1]&&t.__fixMax?Fe(r,n[1]):r},this)},getLabel:je.getLabel,scale:function(t){return t=Ae.scale.call(this,t),Re(this.base,t)},setExtent:function(t,e){var n=this.base;t=Be(t)/Be(n),e=Be(e)/Be(n),je.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=Ae.getExtent.call(this);e[0]=Re(t,e[0]),e[1]=Re(t,e[1]);var n=this._originalScale,i=n.getExtent();return n.__fixMin&&(e[0]=Fe(e[0],i[0])),n.__fixMax&&(e[1]=Fe(e[1],i[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=Be(t[0])/Be(e),t[1]=Be(t[1])/Be(e),Ae.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=st.h(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var r=[st.j(ze(e[0]/i)*i),st.j(Ee(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},niceExtent:function(t){je.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function Fe(t,e){return Pe(t,Le(e))}l.i(["contain","normalize"],function(t){Ne.prototype[t]=function(e){return e=Be(e)/Be(this.base),Ae[t].call(this,e)}}),Ne.create=function(){return new Ne};function He(t,e){var n,i,r,a=t.type,o=e.getMin(),u=e.getMax(),h=null!=o,c=null!=u,f=t.getExtent();"ordinal"===a?n=e.getCategories().length:(i=e.get("boundaryGap"),l.p(i)||(i=[i||0,i||0]),"boolean"==typeof i[0]&&(s.a&&console.warn('Boolean type for boundaryGap is only allowed for ordinal axis. Please use string in percentage instead, e.g., "20%". Currently, boundaryGap is set to be 0.'),i=[0,0]),i[0]=st.g(i[0],1),i[1]=st.g(i[1],1),r=f[1]-f[0]||Math.abs(f[0])),null==o&&(o="ordinal"===a?n?0:NaN:f[0]-i[0]*r),null==u&&(u="ordinal"===a?n?n-1:NaN:f[1]+i[1]*r),"dataMin"===o?o=f[0]:"function"==typeof o&&(o=o({min:f[0],max:f[1]})),"dataMax"===u?u=f[1]:"function"==typeof u&&(u=u({min:f[0],max:f[1]})),(null==o||!isFinite(o))&&(o=NaN),(null==u||!isFinite(u))&&(u=NaN),t.setBlank(l.j(o)||l.j(u)||"ordinal"===a&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(o>0&&u>0&&!h&&(o=0),o<0&&u<0&&!c&&(u=0));var d=e.ecModel;if(d&&"time"===a){var p,g=xe("bar",d);if(l.i(g,function(t){p|=t.getBaseAxis()===e.axis}),p){var v=be(g),m=function(t,e,n,i){var r=n.axis.getExtent(),a=r[1]-r[0],o=Se(i,n.axis);if(void 0===o)return{min:t,max:e};var s=1/0;l.i(o,function(t){s=Math.min(t.offset,s)});var u=-1/0;l.i(o,function(t){u=Math.max(t.offset+t.width,u)}),s=Math.abs(s),u=Math.abs(u);var h=s+u,c=e-t,f=c/(1-(s+u)/a)-c;return{min:t-=f*(s/h),max:e+=f*(u/h)}}(o,u,e,v);o=m.min,u=m.max}}return[o,u]}function Ve(t,e){var n=He(t,e),i=null!=e.getMin(),r=null!=e.getMax(),a=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(n[0],n[1]),t.niceExtent({splitNumber:a,fixMin:i,fixMax:r,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)}function We(t){var e,n=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof n?(e=n,n=function(t){return e.replace("{value}",null!=t?t:"")}):"function"==typeof n?function(e,r){return null!=i&&(r=e-i),n(function(t,e){return"category"===t.type?t.scale.getLabel(e):e}(t,e),r)}:function(e){return t.scale.getLabel(e)}}function Ge(t){return this._axes[t]}var Ye=function(t){this._axes={},this._dimList=[],this.name=t||""};Ye.prototype={constructor:Ye,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return l.w(this._dimList,Ge,this)},getAxesByScale:function(t){return t=t.toLowerCase(),l.l(this.getAxes(),function(e){return e.scale.type===t})},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var n=this._dimList,i=t instanceof Array?[]:{},r=0;r<n.length;r++){var a=n[r],o=this._axes[a];i[a]=o[e](t[a])}return i}};var Xe=Ye;function qe(t){Xe.call(this,t)}qe.prototype={constructor:qe,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"),r=this.getAxis("y");return(n=n||[])[0]=i.toGlobalCoord(i.dataToCoord(t[0])),n[1]=r.toGlobalCoord(r.dataToCoord(t[1])),n},clampData:function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),a=i.getExtent(),o=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),o),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[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")}},l.o(qe,Xe);var Ue=qe,Ze=n("jXMp"),Ke=Object(N.i)();function Qe(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=Je(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=We(t);return{labels:l.w(e,function(e,i){return{formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e}})}}(t)}function $e(t,e){return"category"===t.type?function(t,e){var n,i,r=tn(t,"ticks"),a=on(e),o=en(r,a);if(o)return o;e.get("show")&&!t.scale.isBlank()||(n=[]);if(l.s(a))n=an(t,a,!0);else if("auto"===a){var s=Je(t,t.getLabelModel());i=s.labelCategoryInterval,n=l.w(s.labels,function(t){return t.tickValue})}else n=rn(t,i=a,!0);return nn(r,a,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:t.scale.getTicks()}}function Je(t,e){var n,i=tn(t,"labels"),r=on(e),a=en(i,r);return a||nn(i,r,{labels:l.s(r)?an(t,r):rn(t,n="auto"===r?function(t){var e=Ke(t).autoInterval;return null!=e?e:Ke(t).autoInterval=t.calculateCategoryInterval()}(t):r),labelCategoryInterval:n})}function tn(t,e){return Ke(t)[e]||(Ke(t)[e]=[])}function en(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function nn(t,e,n){return t.push({key:e,value:n}),n}function rn(t,e,n){var i=We(t),r=t.scale,a=r.getExtent(),o=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=a[0],h=r.count();0!==u&&l>1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=o.get("showMinLabel"),f=o.get("showMaxLabel");c&&u!==a[0]&&p(a[0]);for(var d=u;d<=a[1];d+=l)p(d);function p(t){s.push(n?t:{formattedLabel:i(t),rawLabel:r.getLabel(t),tickValue:t})}return f&&d!==a[1]&&p(a[1]),s}function an(t,e,n){var i=t.scale,r=We(t),a=[];return l.i(i.getTicks(),function(t){var o=i.getLabel(t);e(t,o)&&a.push(n?t:{formattedLabel:r(t),rawLabel:o,tickValue:t})}),a}function on(t){var e=t.get("interval");return null==e?"auto":e}var sn=[0,1],ln=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function un(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}ln.prototype={constructor:ln,contain:function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},containData:function(t){return this.contain(this.dataToCoord(t))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return Object(st.a)(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&&un(n=n.slice(),i.count()),Object(st.d)(t,sn,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&un(n=n.slice(),i.count());var r=Object(st.d)(t,n,sn,e);return this.scale.scale(r)},pointToData:function(t,e){},getTicksCoords:function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=$e(this,e),i=n.ticks,r=Object(l.w)(i,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this),a=e.get("alignWithLabel");return function(t,e,n,i,r){var a=e.length;if(!t.onBand||i||!a)return;var o,s=t.getExtent();if(1===a)e[0].coord=s[0],o=e[1]={coord:s[0]};else{var u=e[1].coord-e[0].coord;Object(l.i)(e,function(t){t.coord-=u/2;var e=e||0;e%2>0&&(t.coord-=u/(2*(e+1)))}),o={coord:e[a-1].coord+u},e.push(o)}var h=s[0]>s[1];c(e[0].coord,s[0])&&(r?e[0].coord=s[0]:e.shift());r&&c(s[0],e[0].coord)&&e.unshift({coord:s[0]});c(s[1],o.coord)&&(r?o.coord=s[1]:e.pop());r&&c(o.coord,s[1])&&e.push({coord:s[1]});function c(t,e){return h?t>e:t<e}}(this,r,n.tickCategoryInterval,a,t.clamp),r},getViewLabels:function(){return Qe(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 function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=We(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,a=r.getExtent(),o=r.count();if(a[1]-a[0]<1)return 0;var s=1;o>40&&(s=Math.max(1,Math.floor(o/40)));for(var l=a[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),f=0,d=0;l<=a[1];l+=s){var p,g,v=Ze.e(n(l),e.font,"center","top");p=1.3*v.width,g=1.3*v.height,f=Math.max(f,p,7),d=Math.max(d,g,7)}var m=f/h,_=d/c;isNaN(m)&&(m=1/0),isNaN(_)&&(_=1/0);var y=Math.max(0,Math.floor(Math.min(m,_))),x=Ke(t.model),b=x.lastAutoInterval,w=x.lastTickCount;return null!=b&&null!=w&&Math.abs(b-y)<=1&&Math.abs(w-o)<=1&&b>y?y=b:(x.lastTickCount=o,x.lastAutoInterval=y),y}(this)}};var hn=ln,cn=function(t,e,n,i,r){hn.call(this,t,e,n),this.type=i||"value",this.position=r||"bottom"};cn.prototype={constructor:cn,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},l.o(cn,hn);var fn=cn,dn=n("5s+V"),pn={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)"]}}},gn={};gn.categoryAxis=l.x({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},pn),gn.valueAxis=l.x({boundaryGap:[0,0],splitNumber:5},pn),gn.timeAxis=l.h({scale:!0,min:"dataMin",max:"dataMax"},gn.valueAxis),gn.logAxis=l.h({scale:!0,logBase:10},gn.valueAxis);var vn=gn,mn=["value","category","time","log"],_n=function(t,e,n,i){l.i(mn,function(r){e.extend({type:t+"Axis."+r,mergeDefaultAndTheme:function(e,i){var a=this.layoutMode,o=a?Object(Qt.a)(e):{},s=i.getTheme();l.x(e,s.get(r+"Axis")),l.x(e,this.getDefaultOption()),e.type=n(t,e),a&&Object(Qt.c)(e,o,a)},optionUpdated:function(){"category"===this.option.type&&(this.__ordinalMeta=ae.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.y([{},vn[r+"Axis"],i],!0)})}),dn.a.registerSubTypeDefaulter(t+"Axis",l.g(n,t))},yn={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&&!l.j(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&&!l.j(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:l.A,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}},xn=dn.a.extend({type:"cartesian2dAxis",axis:null,init:function(){xn.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){xn.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){xn.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function bn(t,e){return e.type||(e.data?"category":"value")}l.x(xn.prototype,yn);var wn={offset:0};_n("x",xn,bn,wn),_n("y",xn,bn,wn);dn.a.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"}});function Sn(t,e,n){return t.getCoordSysModel()===e}function Mn(t,e,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,n),this.model=t}var Cn=Mn.prototype;function On(t,e,n){n.getAxesOnZeroOf=function(){return i?[i]:[]};var i,r=t[e],a=n.model,o=a.get("axisLine.onZero"),s=a.get("axisLine.onZeroAxisIndex");if(o)if(null==s){for(var l in r)if(r.hasOwnProperty(l)&&Dn(r[l])){i=r[l];break}}else Dn(r[s])&&(i=r[s])}function Dn(t){return t&&"category"!==t.type&&"time"!==t.type&&function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}(t)}Cn.type="grid",Cn.axisPointerEnabled=!0,Cn.getRect=function(){return this._rect},Cn.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model),Object(l.i)(n.x,function(t){Ve(t.scale,t.model)}),Object(l.i)(n.y,function(t){Ve(t.scale,t.model)}),Object(l.i)(n.x,function(t){On(n,"y",t)}),Object(l.i)(n.y,function(t){On(n,"x",t)}),this.resize(this.model,e)},Cn.resize=function(t,e,n){var i=Object(Qt.b)(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=i;var r=this._axesList;function a(){Object(l.i)(r,function(t){var e=t.isHorizontal(),n=e?[0,i.width]:[0,i.height],r=t.inverse?1:0;t.setExtent(n[r],n[1-r]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?i.x:i.y)})}a(),!n&&t.get("containLabel")&&(Object(l.i)(r,function(t){if(!t.model.get("axisLabel.inside")){var e=function(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){var i,r,a="category"===t.type,o=n.getExtent();r=a?n.count():(i=n.getTicks()).length;var s,l,u,h,c,f,d,p,g,v=t.getLabelModel(),m=We(t),_=1;r>40&&(_=Math.ceil(r/40));for(var y=0;y<r;y+=_){var x=m(i?i[y]:o[0]+y),b=v.getTextRect(x),w=(l=b,u=v.get("rotate")||0,h=u*Math.PI/180,c=l.plain(),f=c.width,d=c.height,p=f*Math.cos(h)+d*Math.sin(h),g=f*Math.sin(h)+d*Math.cos(h),new K.a(c.x,c.y,p,g));s?s.union(w):s=w}return s}}(t);if(e){var n=t.isHorizontal()?"height":"width",r=t.model.get("axisLabel.margin");i[n]-=e[n]+r,"top"===t.position?i.y+=e.height+r:"left"===t.position&&(i.x+=e.width+r)}}}),a())},Cn.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]}},Cn.getAxes=function(){return this._axesList.slice()},Cn.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}Object(l.t)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},Cn.getCartesians=function(){return this._coordsList.slice()},Cn.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},Cn.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},Cn._findConvertTarget=function(t,e){var n,i,r=e.seriesModel,a=e.xAxisModel||r&&r.getReferringComponents("xAxis")[0],o=e.yAxisModel||r&&r.getReferringComponents("yAxis")[0],s=e.gridModel,u=this._coordsList;if(r)n=r.coordinateSystem,Object(l.n)(u,n)<0&&(n=null);else if(a&&o)n=this.getCartesian(a.componentIndex,o.componentIndex);else if(a)i=this.getAxis("x",a.componentIndex);else if(o)i=this.getAxis("y",o.componentIndex);else if(s){s.coordinateSystem===this&&(n=this._coordsList[0])}return{cartesian:n,axis:i}},Cn.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},Cn._initCartesian=function(t,e,n){var i={left:!1,right:!1,top:!1,bottom:!1},r={x:{},y:{}},a={x:0,y:0};if(e.eachComponent("xAxis",o("x"),this),e.eachComponent("yAxis",o("y"),this),!a.x||!a.y)return this._axesMap={},void(this._axesList=[]);function o(e){return function(n,o){if(Sn(n,t)){var s=n.get("position");"x"===e?"top"!==s&&"bottom"!==s&&i[s="bottom"]&&(s="top"===s?"bottom":"top"):"left"!==s&&"right"!==s&&i[s="left"]&&(s="left"===s?"right":"left"),i[s]=!0;var l=new fn(e,function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new le(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new ve;default:return(te.getClass(e)||ve).create(t)}}(n),[0,0],n.get("type"),s),u="category"===l.type;l.onBand=u&&n.get("boundaryGap"),l.inverse=n.get("inverse"),n.axis=l,l.model=n,l.grid=this,l.index=o,this._axesList.push(l),r[e][o]=l,a[e]++}}}this._axesMap=r,Object(l.i)(r.x,function(e,n){Object(l.i)(r.y,function(i,r){var a="x"+n+"y"+r,o=new Ue(a);o.grid=this,o.model=t,this._coordsMap[a]=o,this._coordsList.push(o),o.addAxis(e),o.addAxis(i)},this)},this)},Cn._updateScale=function(t,e){function n(t,e,n){Object(l.i)(t.mapDimension(e.dim,!0),function(n){e.scale.unionExtentFromData(t,function(t,e){return q(t,e)?t.getCalculationInfo("stackResultDimension"):e}(t,n))})}Object(l.i)(this._axesList,function(t){t.scale.setExtent(1/0,-1/0)}),t.eachSeries(function(i){if(In(i)){var r=Tn(i,t),a=r[0],o=r[1];if(!Sn(a,e)||!Sn(o,e))return;var s=this.getCartesian(a.componentIndex,o.componentIndex),l=i.getData(),u=s.getAxis("x"),h=s.getAxis("y");"list"===l.type&&(n(l,u,i),n(l,h,i))}},this)},Cn.getTooltipAxes=function(t){var e=[],n=[];return Object(l.i)(this.getCartesians(),function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),a=i.getOtherAxis(r);Object(l.n)(e,r)<0&&e.push(r),Object(l.n)(n,a)<0&&n.push(a)}),{baseAxes:e,otherAxes:n}};var kn=["xAxis","yAxis"];function Tn(t,e){return Object(l.w)(kn,function(e){var n=t.getReferringComponents(e)[0];if(s.a&&!n)throw new Error(e+' "'+Object(l.D)(t.get(e+"Index"),t.get(e+"Id"),0)+'" not found');return n})}function In(t){return"cartesian2d"===t.get("coordinateSystem")}Mn.create=function(t,e){var n=[];return t.eachComponent("grid",function(i,r){var a=new Mn(i,t,e);a.name="grid_"+r,a.resize(i,e,!0),i.coordinateSystem=a,n.push(a)}),t.eachSeries(function(t){if(In(t)){var e=Tn(t),n=e[0],i=e[1],r=n.getCoordSysModel();if(s.a){if(!r)throw new Error('Grid "'+Object(l.D)(n.get("gridIndex"),n.get("gridId"),0)+'" not found');if(n.getCoordSysModel()!==i.getCoordSysModel())throw new Error("xAxis and yAxis must use the same grid")}var a=r.coordinateSystem;t.coordinateSystem=a.getCartesian(n.componentIndex,i.componentIndex)}}),n},Mn.dimensions=Mn.prototype.dimensions=Ue.prototype.dimensions,Y.a.register("cartesian2d",Mn);var An=n("hANm"),jn=Math.PI;function Ln(t){var e={componentType:t.mainType};return e[t.mainType+"Index"]=t.componentIndex,e}var Pn=function(t,e){this.opt=e,this.axisModel=t,Object(l.h)(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new Z.c;var n=new Z.c({position:e.position.slice(),rotation:e.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};Pn.prototype={constructor:Pn,hasBuilder:function(t){return!!En[t]},add:function(t){En[t].call(this)},getGroup:function(){return this.group}};var En={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),i=this._transform,r=[n[0],0],a=[n[1],0];i&&(Object(Dt.b)(r,r,i),Object(Dt.b)(a,a,i));var o=Object(l.k)({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new Z.e(Z.s({anid:"line",shape:{x1:r[0],y1:r[1],x2:a[0],y2:a[1]},style:o,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1})));var s=e.get("axisLine.symbol"),u=e.get("axisLine.symbolSize"),h=e.get("axisLine.symbolOffset")||0;if("number"==typeof h&&(h=[h,h]),null!=s){"string"==typeof s&&(s=[s,s]),"string"!=typeof u&&"number"!=typeof u||(u=[u,u]);var c=u[0],f=u[1];Object(l.i)([{rotate:t.rotation+Math.PI/2,offset:h[0],r:0},{rotate:t.rotation-Math.PI/2,offset:h[1],r:Math.sqrt((r[0]-a[0])*(r[0]-a[0])+(r[1]-a[1])*(r[1]-a[1]))}],function(e,n){if("none"!==s[n]&&null!=s[n]){var i=ot(s[n],-c/2,-f/2,c,f,o.stroke,!0),a=e.r+e.offset,l=[r[0]+a*Math.cos(t.rotation),r[1]-a*Math.sin(t.rotation)];i.attr({rotation:e.rotate,position:l,silent:!0}),this.group.add(i)}},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 r=e.getModel("axisTick"),a=r.getModel("lineStyle"),o=r.get("length"),s=i.getTicksCoords(),u=[],h=[],c=t._transform,f=[],d=0;d<s.length;d++){var p=s[d].coord;u[0]=p,u[1]=0,h[0]=p,h[1]=n.tickDirection*o,c&&(Object(Dt.b)(u,u,c),Object(Dt.b)(h,h,c));var g=new Z.e(Z.s({anid:"tick_"+s[d].tickValue,shape:{x1:u[0],y1:u[1],x2:h[0],y2:h[1]},style:Object(l.h)(a.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),z2:2,silent:!0}));t.group.add(g),f.push(g)}return f}(this,t,e);!function(t,e,n){var i=t.get("axisLabel.showMinLabel"),r=t.get("axisLabel.showMaxLabel");e=e||[],n=n||[];var a=e[0],o=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],h=n[1],c=n[n.length-1],f=n[n.length-2];!1===i?(Bn(a),Bn(u)):Nn(a,o)&&(i?(Bn(o),Bn(h)):(Bn(a),Bn(u)));!1===r?(Bn(s),Bn(c)):Nn(l,s)&&(r?(Bn(l),Bn(f)):(Bn(s),Bn(c)))}(t,function(t,e,n){var i=e.axis;if(!Object(l.D)(n.axisLabelShow,e.get("axisLabel.show"))||i.scale.isBlank())return;var r=e.getModel("axisLabel"),a=r.get("margin"),o=i.getViewLabels(),s=(Object(l.D)(n.labelRotate,r.get("rotate"))||0)*jn/180,h=zn(n.rotation,s,n.labelDirection),c=e.getCategories(!0),f=[],d=Rn(e),p=e.get("triggerEvent");return Object(l.i)(o,function(o,s){var l=o.tickValue,g=o.formattedLabel,v=o.rawLabel,m=r;c&&c[l]&&c[l].textStyle&&(m=new u.a(c[l].textStyle,r,e.ecModel));var _=m.getTextColor()||e.get("axisLine.lineStyle.color"),y=[i.dataToCoord(l),n.labelOffset+n.labelDirection*a],x=new Z.i({anid:"label_"+l,position:y,rotation:h.rotation,silent:d,z2:10});Z.r(x.style,m,{text:g,textAlign:m.getShallow("align",!0)||h.textAlign,textVerticalAlign:m.getShallow("verticalAlign",!0)||m.getShallow("baseline",!0)||h.textVerticalAlign,textFill:"function"==typeof _?_("category"===i.type?v:"value"===i.type?l+"":l,s):_}),p&&(x.eventData=Ln(e),x.eventData.targetType="axisLabel",x.eventData.value=v),t._dumbGroup.add(x),x.updateTransform(),f.push(x),t.group.add(x),x.decomposeTransform()}),f}(this,t,e),n)},axisName:function(){var t=this.opt,e=this.axisModel,n=Object(l.D)(t.axisName,e.get("name"));if(n){var i,r,a=e.get("nameLocation"),o=t.nameDirection,s=e.getModel("nameTextStyle"),u=e.get("nameGap")||0,h=this.axisModel.axis.getExtent(),c=h[0]>h[1]?-1:1,f=["start"===a?h[0]-c*u:"end"===a?h[1]+c*u:(h[0]+h[1])/2,Fn(a)?t.labelOffset+o*u:0],d=e.get("nameRotate");null!=d&&(d=d*jn/180),Fn(a)?i=zn(t.rotation,null!=d?d:t.rotation,o):(i=function(t,e,n,i){var r,a,o=Object(st.i)(n-t.rotation),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;Object(st.c)(o-jn/2)?(a=l?"bottom":"top",r="center"):Object(st.c)(o-1.5*jn)?(a=l?"top":"bottom",r="center"):(a="middle",r=o<1.5*jn&&o>jn/2?l?"left":"right":l?"right":"left");return{rotation:o,textAlign:r,textVerticalAlign:a}}(t,a,d||0,h),null!=(r=t.axisNameAvailableWidth)&&(r=Math.abs(r/Math.sin(i.rotation)),!isFinite(r)&&(r=null)));var p=s.getFont(),g=e.get("nameTruncate",!0)||{},v=g.ellipsis,m=Object(l.D)(t.nameTruncateMaxWidth,g.maxWidth,r),_=null!=v&&null!=m?ue.g(n,m,p,v,{minChar:2,placeholder:g.placeholder}):n,y=e.get("tooltip",!0),x=e.mainType,b={componentType:x,name:n,$vars:["name"]};b[x+"Index"]=e.componentIndex;var w=new Z.i({anid:"name",__fullText:n,__truncatedText:_,position:f,rotation:i.rotation,silent:Rn(e),z2:1,tooltip:y&&y.show?Object(l.k)({content:n,formatter:function(){return n},formatterParams:b},y):null});Z.r(w.style,s,{text:_,textFont:p,textFill:s.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:i.textAlign,textVerticalAlign:i.textVerticalAlign}),e.get("triggerEvent")&&(w.eventData=Ln(e),w.eventData.targetType="axisName",w.eventData.name=n),this._dumbGroup.add(w),w.updateTransform(),this.group.add(w),w.decomposeTransform()}}},zn=Pn.innerTextLayout=function(t,e,n){var i,r,a=Object(st.i)(e-t);return Object(st.c)(a)?(r=n>0?"top":"bottom",i="center"):Object(st.c)(a-jn)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=a>0&&a<jn?n>0?"right":"left":n>0?"left":"right"),{rotation:a,textAlign:i,textVerticalAlign:r}};function Rn(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)}function Bn(t){t&&(t.ignore=!0)}function Nn(t,e,n){var i=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(i&&r){var a=An.c([]);return An.f(a,a,-t.rotation),i.applyTransform(An.e([],a,t.getLocalTransform())),r.applyTransform(An.e([],a,e.getLocalTransform())),i.intersect(r)}}function Fn(t){return"middle"===t||"center"===t}var Hn=Pn;l.i,l.g;function Vn(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[Gn(t)]}function Wn(t){return!!t.get("handle.show")}function Gn(t){return t.type+"||"+t.id}var Yn=o.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,i){this.axisPointerClass&&function(t){var e=Vn(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,a=n.get("status"),o=n.get("value");null!=o&&(o=i.parse(o));var s=Wn(n);null==a&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o<l[0]&&(o=l[0]),r.value=o,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}(t),Yn.superApply(this,"render",arguments),Xn(this,t,e,n,i,!0)},updateAxisPointer:function(t,e,n,i,r){Xn(this,t,e,n,i,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),Yn.superApply(this,"remove",arguments)},dispose:function(t,e){qn(this,e),Yn.superApply(this,"dispose",arguments)}});function Xn(t,e,n,i,r,a){var o=Yn.getAxisPointerClass(t.axisPointerClass);if(o){var s=function(t){var e=Vn(t);return e&&e.axisPointerModel}(e);s?(t._axisPointer||(t._axisPointer=new o)).render(e,s,i,a):qn(t,i)}}function qn(t,e,n){var i=t._axisPointer;i&&i.dispose(e,n),t._axisPointer=null}var Un=[];Yn.registerAxisPointerClass=function(t,e){if(s.a&&Un[t])throw new Error("axisPointer "+t+" exists");Un[t]=e},Yn.getAxisPointerClass=function(t){return t&&Un[t]};var Zn,Kn,Qn=["axisLine","axisTickLabel","axisName"],$n=["splitArea","splitLine"],Jn=Yn.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,n,i){this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new Z.c,this.group.add(this._axisGroup),t.get("show")){var a=t.getCoordSysModel(),o=function(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,a={},o=r.getAxesOnZeroOf()[0],s=r.position,u=o?"onZero":s,h=r.dim,c=i.getRect(),f=[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,g="x"===h?[f[2]-p,f[3]+p]:[f[0]-p,f[1]+p];if(o){var v=o.toGlobalCoord(o.dataToCoord(0));g[d.onZero]=Math.max(Math.min(v,g[1]),g[0])}a.position=["y"===h?g[d[u]]:f[0],"x"===h?g[d[u]]:f[3]],a.rotation=Math.PI/2*("x"===h?0:1),a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],a.labelOffset=o?g[d[s]]-g[d.onZero]:0,e.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),l.D(n.labelInside,e.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var m=e.get("axisLabel.rotate");return a.labelRotate="top"===u?-m:m,a.z2=1,a}(a,t),s=new Hn(t,o);l.i(Qn,s.add,s),this._axisGroup.add(s.getGroup()),l.i($n,function(e){t.get(e+".show")&&this["_"+e](t,a)},this),Z.l(r,this._axisGroup,t),Jn.superCall(this,"render",t,e,n,i)}},remove:function(){this._splitAreaColors=null},_splitLine:function(t,e){var n=t.axis;if(!n.scale.isBlank()){var i=t.getModel("splitLine"),r=i.getModel("lineStyle"),a=r.get("color");a=l.p(a)?a:[a];for(var o=e.coordinateSystem.getRect(),s=n.isHorizontal(),u=0,h=n.getTicksCoords({tickModel:i}),c=[],f=[],d=r.getLineStyle(),p=0;p<h.length;p++){var g=n.toGlobalCoord(h[p].coord);s?(c[0]=g,c[1]=o.y,f[0]=g,f[1]=o.y+o.height):(c[0]=o.x,c[1]=g,f[0]=o.x+o.width,f[1]=g);var v=u++%a.length,m=h[p].tickValue;this._axisGroup.add(new Z.e(Z.s({anid:null!=m?"line_"+h[p].tickValue:null,shape:{x1:c[0],y1:c[1],x2:f[0],y2:f[1]},style:l.h({stroke:a[v]},d),silent:!0})))}}},_splitArea:function(t,e){var n=t.axis;if(!n.scale.isBlank()){var i=t.getModel("splitArea"),r=i.getModel("areaStyle"),a=r.get("color"),o=e.coordinateSystem.getRect(),s=n.getTicksCoords({tickModel:i,clamp:!0});if(s.length){var u=a.length,h=this._splitAreaColors,c=l.f(),f=0;if(h)for(var d=0;d<s.length;d++){var p=h.get(s[d].tickValue);if(null!=p){f=(p+(u-1)*d)%u;break}}var g=n.toGlobalCoord(s[0].coord),v=r.getAreaStyle();a=l.p(a)?a:[a];for(d=1;d<s.length;d++){var m,_,y,x,b=n.toGlobalCoord(s[d].coord);n.isHorizontal()?(m=g,_=o.y,y=b-m,x=o.height,g=m+y):(m=o.x,_=g,y=o.width,g=_+(x=b-_));var w=s[d-1].tickValue;null!=w&&c.set(w,f),this._axisGroup.add(new Z.g({anid:null!=w?"area_"+w:null,shape:{x:m,y:_,width:y,height:x},style:l.h({fill:a[f]},v),silent:!0})),f=(f+1)%u}this._splitAreaColors=c}}}});Jn.extend({type:"xAxis"}),Jn.extend({type:"yAxis"}),o.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new Z.g({shape:t.coordinateSystem.getRect(),style:l.h({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),o.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}),o.registerVisual((Zn="circle",Kn="line",{seriesType:"line",performRawSeries:!0,reset:function(t,e,n){var i=t.getData(),r=t.get("symbol")||Zn,a=t.get("symbolSize"),o=t.get("symbolKeepAspect");if(i.setVisual({legendSymbol:Kn||r,symbol:r,symbolSize:a,symbolKeepAspect:o}),!e.isSeriesFiltered(t)){var s="function"==typeof a;return{dataEach:i.hasItemOption||s?function(e,n){if("function"==typeof a){var i=t.getRawValue(n),r=t.getDataParams(n);e.setItemVisual(n,"symbolSize",a(i,r))}if(e.hasItemOption){var o=e.getItemModel(n),s=o.getShallow("symbol",!0),l=o.getShallow("symbolSize",!0),u=o.getShallow("symbolKeepAspect",!0);null!=s&&e.setItemVisual(n,"symbol",s),null!=l&&e.setItemVisual(n,"symbolSize",l),null!=u&&e.setItemVisual(n,"symbolKeepAspect",u)}}:null}}}})),o.registerLayout(function(t){return{seriesType:t,plan:Object(Ut.a)(),reset:function(t){var e=t.getData(),n=t.coordinateSystem,i=t.pipelineContext.large;if(n){var r=Object(l.w)(n.dimensions,function(t){return e.mapDimension(t)}).slice(0,2),a=r.length,o=e.getCalculationInfo("stackResultDimension");return q(e,r[0])&&(r[0]=o),q(e,r[1])&&(r[1]=o),a&&{progress:function(t,e){for(var o=t.end-t.start,s=i&&new Float32Array(o*a),l=t.start,u=0,h=[],c=[];l<t.end;l++){var f;if(1===a){var d=e.get(r[0],l);f=!isNaN(d)&&n.dataToPoint(d,null,c)}else{d=h[0]=e.get(r[0],l);var p=h[1]=e.get(r[1],l);f=!isNaN(d)&&!isNaN(p)&&n.dataToPoint(h,null,c)}i?(s[u++]=f?f[0]:NaN,s[u++]=f?f[1]:NaN):e.setItemLayout(l,f&&f.slice()||[NaN,NaN])}i&&e.setLayout("symbolPoints",s)}}}}}}("line")),o.registerProcessor(o.PRIORITY.PROCESSOR.STATISTIC,function(t){return{seriesType:t,modifyOutputEnd:!0,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),a=t.coordinateSystem;if("cartesian2d"===a.type&&r){var o,s=a.getBaseAxis(),l=a.getOtherAxis(s),u=s.getExtent(),h=u[1]-u[0],c=Math.round(i.count()/h);c>1&&("string"==typeof r?o=Zt[r]:"function"==typeof r&&(o=r),o&&t.setData(i.downSample(i.mapDimension(l.dim),1/c,o,Kt)))}}}}("line"));var ti=n("mtWM"),ei=n.n(ti),ni=n("YMWp"),ii=n("spLH"),ri=n("iSrA"),ai={name:"index",components:{Pagination:ii.a,Amount:ni.a},data:function(){return{newsDialog:{Visible:!1,title:"",content:""},pageConf_notice:{posts_page:1,posts_offset:8},pageConf_ser:{page:1,offset:8},ShowChart:!1,isActive:0,FieldsType:"sum_money",chartType:["用户流水","活跃用户","新增用户","付费用户"],chartFields:["sum_money","user_cnt","reg_cnt","pay_user_cnt"],chartColors:[{lineColor:"#33CC99",bgColor:"rgba(51,204,153,.3)"},{lineColor:"#882299",bgColor:"rgba(134,36,153,.3)"},{lineColor:"#F7C697",bgColor:"rgba(247,198,151,.3)"},{lineColor:"#80d200",bgColor:"rgba(128,210,0,.3)"}]}},computed:r()({},Object(a.c)(["HomeData","ServerData"])),methods:r()({},Object(a.b)(["getHomeData","getServerData"]),{drawChart:function(t,e,n,i,r){var a={color:e,bgColor:"#fff",xAxis:{type:"category",boundaryGap:!1,data:n,splitLine:{show:!0,lineStyle:{color:"#f4f4f4",type:"dashed"}},axisLine:{show:!1}},itemStyle:{normal:{color:function(t){var e=["#B5C334","#C1232B"];return t.value<=50?e[0]:e[1]}}},yAxis:{type:"value",splitLine:{show:!0,lineStyle:{color:"#E4E4E4",type:"dashed"}},axisLine:{show:!1}},series:[{data:i,type:"line",symbolSize:5,areaStyle:{},itemStyle:{normal:{borderColor:r}},lineStyle:{normal:{color:r,width:1}}}],grid:{left:2,bottom:10,right:35,containLabel:!0}};ri.init(document.getElementById(t)).setOption(a)},getchartData:function(t,e){var n=this;this.FieldsType=t,ei.a.post("/agent/report/data",{field:t}).then(function(t){if(200===t.data.code){n.ShowChart=!0;var i=["0"],r=["0"];if(t.data.data){var a=t.data.data;for(var o in a)i.push(o),r.push(a[o])}else{console.log("null");for(var s=(new Date).getFullYear(),l=(new Date).getMonth()+1,u=new Date(s,l,0).getDate(),h=1;h<=u;h++)i.push(s+"-"+l+"-"+h),r.push(0)}setTimeout(function(){n.drawChart("chart",e.bgColor,i,r,e.lineColor)})}})},handleSizeChange:function(t,e){"notice"===e?(this.pageConf_notice.posts_offset=t,this.getHomeData(this.pageConf_notice)):"playser"===e&&(this.pageConf_ser.offset=t,this.getServerData(this.pageConf_ser))},handleCurrentChange:function(t,e){"notice"===e?(this.pageConf_notice.posts_page=t,this.getHomeData(this.pageConf_notice)):"playser"===e&&(this.pageConf_ser.page=t,this.getServerData(this.pageConf_ser))}}),created:function(){this.getchartData(this.chartFields[0],this.chartColors[0]),this.getHomeData(this.pageConf_notice),this.getServerData(this.pageConf_ser)},mounted:function(){}},oi={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("div",{staticClass:"UserAmount"},[n("Amount",{attrs:{pay:1,withdraw:1}})],1),t._v(" "),n("transition",{attrs:{name:"el-zoom-in-top"}},[t.HomeData.statistics?n("div",{staticClass:"block_over"},[n("div",{staticClass:"block_view"},[n("div",{staticClass:"block_inner"},[n("strong",{staticClass:"block_head blue"},[t._v("总用户:"+t._s(t.HomeData.statistics.sum_user_cnt))]),t._v(" "),n("p",{staticClass:"block_item"},[t._v("今日注册:"+t._s(t.HomeData.statistics.today_user_cnt||0))]),t._v(" "),n("p",{staticClass:"block_item"},[t._v("昨日注册:"+t._s(t.HomeData.statistics.yesterday_user_cnt||0))])])]),t._v(" "),n("div",{staticClass:"block_view"},[n("div",{staticClass:"block_inner"},[n("strong",{staticClass:"block_head green"},[t._v("总充值:"+t._s((t.HomeData.statistics.sum_money||0).toFixed(2)))]),t._v(" "),n("p",{staticClass:"block_item"},[t._v("今日充值:"+t._s((t.HomeData.statistics.today_money||0).toFixed(2)))]),t._v(" "),n("p",{staticClass:"block_item"},[t._v("昨日充值:"+t._s((t.HomeData.statistics.yesterday_money||0).toFixed(2)))])])]),t._v(" "),n("div",{staticClass:"block_view"},[n("div",{staticClass:"block_inner"},[n("strong",{staticClass:"block_head yellow"},[t._v("总收益:"+t._s((t.HomeData.statistics.sum_share_total||0).toFixed(2)))]),t._v(" "),n("p",{staticClass:"block_item"},[t._v("今日收益:"+t._s((t.HomeData.statistics.today_share_total||0).toFixed(2)))]),t._v(" "),n("p",{staticClass:"block_item"},[t._v("昨日收益:"+t._s((t.HomeData.statistics.yesterday_share_total||0).toFixed(2)))])])]),t._v(" "),n("div",{staticClass:"block_view"},[n("div",{staticClass:"block_inner"},[n("strong",{staticClass:"block_head red"},[t._v("总游戏:"+t._s(t.HomeData.statistics.sum_game_cnt))]),t._v(" "),n("p",{staticClass:"block_item"},[t._v("今日:"+t._s(t.HomeData.statistics.today_game_cnt||0))]),t._v(" "),n("p",{staticClass:"block_item"},[t._v("昨日:"+t._s(t.HomeData.statistics.yesterday_game_cnt||0))])])])]):t._e()]),t._v(" "),n("transition",{attrs:{name:"el-zoom-in-top"}},[t.ShowChart?n("div",{staticClass:"panel data-report"},[n("div",{staticClass:"panel_head"},[n("h3",{staticClass:"panel_title"},[t._v("数据报表")])]),t._v(" "),n("div",{staticClass:"panel_body"},[n("div",{staticClass:"data-report_tabs"},t._l(t.chartType,function(e,i){return n("a",{key:i,staticClass:"data-report_tab",class:{active:t.chartFields[i]==t.FieldsType},on:{click:function(e){t.getchartData(t.chartFields[i],t.chartColors[i])}}},[t._v(t._s(e))])})),t._v(" "),n("div",{staticClass:"data-report_charts"},[n("div",{staticStyle:{width:"1140px",height:"388px"},attrs:{id:"chart"}})])])]):t._e()]),t._v(" "),n("transition",{attrs:{name:"el-zoom-in-top"}},[t.ServerData?n("div",{staticClass:"panel md open"},[n("div",{staticClass:"panel_head"},[n("h3",{staticClass:"panel_title"},[t._v("开服列表")])]),t._v(" "),n("div",{staticClass:"panel_body"},[n("div",{staticStyle:{height:"406px"}},[n("table",{staticClass:"table"},[n("thead",[n("tr",[n("th",[t._v("开服时间")]),t._v(" "),n("th",[t._v("游戏名称")]),t._v(" "),n("th",[t._v("区服名称")])])]),t._v(" "),!t.ServerData.count||t.ServerData.count<=0?n("tbody",[n("tr",[n("td",{attrs:{colspan:"3"}},[t._v("暂无游戏开服数据")])])]):n("tbody",t._l(t.ServerData.list,function(e,i){return n("tr",{directives:[{name:"show",rawName:"v-show",value:i<8,expression:"index < 8"}],key:"openServe"+i},[n("td",[t._v(t._s(t.timetrans(e.start_time)))]),t._v(" "),n("td",[t._v(t._s(e.gamename))]),t._v(" "),n("td",[t._v(t._s(e.ser_name))])])}))])]),t._v(" "),t.ServerData.count?n("div",{staticClass:"paginationBlock"},[n("el-pagination",{attrs:{background:"",layout:"prev, pager, next","page-size":8,total:t.ServerData.count},on:{"size-change":function(e){t.handleSizeChange(e,"playser")},"current-change":function(e){t.handleCurrentChange(e,"playser")}}})],1):t._e()])]):t._e()]),t._v(" "),n("transition",{attrs:{name:"el-zoom-in-top"}},[t.HomeData?n("div",{staticClass:"panel sm plat"},[n("div",{staticClass:"panel_head"},[n("h3",{staticClass:"panel_title"},[t._v("平台公告")])]),t._v(" "),n("div",{staticClass:"panel_body"},[n("ul",{staticClass:"news-list",staticStyle:{height:"407px"}},[!t.HomeData.notice||t.HomeData.notice.count<=0?n("li",[n("div",{staticClass:"empty-data"},[t._v("暂无数据")])]):t._l(t.HomeData.notice.list,function(e,i){return n("li",{key:"plat"+i,staticClass:"news-list_item"},[n("a",{attrs:{href:"/notice/read?id="+e.news_id}},[n("span",{staticClass:"news-list_time"},[t._v(t._s(t.timetrans(e.start_time).slice(5,10)))]),t._v(" "),n("span",{staticClass:"news-list_title",attrs:{href:"javascript:;"}},[n("em",{staticClass:"news-list_label"},[t._v("【"+t._s(e.type)+"】")]),t._v("\n "+t._s(e.title)+"\n ")])])])})],2),t._v(" "),t.HomeData&&t.HomeData.notice?n("div",{staticClass:"paginationBlock"},[n("el-pagination",{attrs:{background:"",layout:"prev, pager, next","page-size":8,total:t.HomeData.notice.count},on:{"size-change":function(e){t.handleSizeChange(e,"notice")},"current-change":function(e){t.handleCurrentChange(e,"notice")}}})],1):t._e()])]):t._e()])],1)},staticRenderFns:[]};var si=n("VU/8")(ai,oi,!1,function(t){n("MQcP")},null,null);e.default=si.exports},mnKm:function(t,e,n){"use strict";e.d=s,e.b=function(t,e){t.$constructor=t,t.extend=function(t){i.a&&r.i(e,function(e){t[e]||console.warn("Method `"+e+"` should be implemented"+(t.type?" in "+t.type:"")+".")});var n=this,a=function(){t.$constructor?t.$constructor.apply(this,arguments):n.apply(this,arguments)};return r.k(a.prototype,t),a.extend=this.extend,a.superCall=u,a.superApply=h,r.o(a,this),a.superClass=n,a}},e.a=function(t){var e=["__\0is_clz",l++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,i.a&&r.b(!t.isInstance,'The method "is" can not be defined.');t.isInstance=function(t){return!(!t||!t[e])}},e.c=function(t,e){e=e||{};var n={};if(t.registerClass=function(t,e){return e&&(function(t){r.b(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}(e),(e=s(e)).sub?e.sub!==o&&((function(t){var e=n[t.main];return e&&e[o]||((e=n[t.main]={})[o]=!0),e}(e))[e.sub]=t):(i.a&&n[e.main]&&console.warn(e.main+" exists."),n[e.main]=t)),t},t.getClass=function(t,e,i){var r=n[t];if(r&&r[o]&&(r=e?r[e]:null),i&&!r)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){t=s(t);var e=[],i=n[t.main];return i&&i[o]?r.i(i,function(t,n){n!==o&&e.push(t)}):e.push(i),e},t.hasClass=function(t){return t=s(t),!!n[t.main]},t.getAllClassMainTypes=function(){var t=[];return r.i(n,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){t=s(t);var e=n[t.main];return e&&e[o]},t.parseClassType=s,e.registerWhenExtend){var a=t.extend;a&&(t.extend=function(e){var n=a.call(this,e);return t.registerClass(n,e.type)})}return t};var i=n("HaDi"),r=n("ASYS"),a=".",o="___EC__COMPONENT__CONTAINER___";function s(t){var e={main:"",sub:""};return t&&(t=t.split(a),e.main=t[0]||"",e.sub=t[1]||""),e}var l=0;function u(t,e){var n=r.H(arguments,2);return this.superClass.prototype[e].apply(t,n)}function h(t,e,n){return this.superClass.prototype[e].apply(t,n)}},nW4t:function(t,e,n){"use strict";var i=n("5s+V"),r=n("Gxhh"),a=n("rsyf"),o=n("QgCW");i.a.extend({type:"dataset",defaultOption:{seriesLayoutBy:o.a,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){Object(a.a)(this)}}),r.a.extend({type:"dataset"})},ngA1:function(t,e,n){"use strict";e.a=function(t){if(isNaN(t))return"-";return(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")},n.d(e,"f",function(){return o}),e.b=u,e.d=function(t,e,n){i.p(e)||(e=[e]);var r=e.length;if(!r)return"";for(var a=e[0].$vars||[],o=0;o<a.length;o++){var s=h[o];t=t.replace(c(s),c(s,0))}for(var l=0;l<r;l++)for(var f=0;f<a.length;f++){var d=e[l][a[f]];t=t.replace(c(h[f],l),n?u(d):d)}return t},e.e=function(t,e){var n=(t=i.u(t)?{color:t,extraCssText:e}:t||{}).color,r=t.type,e=t.extraCssText;if(!n)return"";return"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+u(n)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+u(n)+";"+(e||"")+'"></span>'},e.c=function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=a.f(e),r=n?"UTC":"",o=i["get"+r+"FullYear"](),s=i["get"+r+"Month"]()+1,l=i["get"+r+"Date"](),u=i["get"+r+"Hours"](),h=i["get"+r+"Minutes"](),c=i["get"+r+"Seconds"](),d=i["get"+r+"Milliseconds"]();return t=t.replace("MM",f(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",f(l,2)).replace("d",l).replace("hh",f(u,2)).replace("h",u).replace("mm",f(h,2)).replace("m",h).replace("ss",f(c,2)).replace("s",c).replace("SSS",f(d,3))},n.d(e,"g",function(){return d});var i=n("ASYS"),r=n("jXMp"),a=n("yFTj");var o=i.B,s=/([&<>"'])/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"};function u(t){return null==t?"":(t+"").replace(s,function(t,e){return l[e]})}var h=["a","b","c","d","e","f","g"],c=function(t,e){return"{"+t+(null==e?"":e)+"}"};function f(t,e){return"0000".substr(0,e-(t+="").length)+t}var d=r.j;r.e},"oA+l":function(t,e,n){"use strict";var i=n("ASYS"),r=n("mOz2"),a=n("jDU7"),o=n("APRV"),s=new(n("Rjdj").a),l=function(){};l.prototype={constructor:l,drawRectText:function(t,e){var n=this.style;e=n.textRect||e,this.__dirty&&o.c(n,!0);var i=n.text;if(null!=i&&(i+=""),o.b(i,n)){t.save();var r=this.transform;n.transformText?this.setTransform(t):r&&(s.copy(e),s.applyTransform(r),e=s),o.d(this,t,i,n,e),t.restore()}}};var u=l;function h(t){for(var e in t=t||{},a.a.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new r.a(t.style,this),this._rect=null,this.__clipPaths=[]}h.prototype={constructor:h,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,inplace:!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=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?a.a.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 r.a(t,this),this.dirty(!1),this}},i.o(h,a.a),i.z(h,u);e.a=h},oyhE:function(t,e,n){"use strict";var i=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];e.a={color:i,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],i]}},pwLW:function(t,e,n){"use strict";var i=n("ASYS"),r=n("PBwm"),a=n("60Q4"),o=n("YIB/"),s=n("zWTK"),l=n("8DvQ");function u(t,e,n,r){this.ecInstance=t,this.api=e,this.unfinished;n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice();this._allHandlers=n.concat(r),this._stageTaskMap=Object(i.f)()}var h=u.prototype;function c(t,e,n,r,a){var o;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}a=a||{},Object(i.i)(e,function(e,i){if(!a.visualType||a.visualType===e.visualType){var l=t._stageTaskMap.get(e.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,d=h.agentStubMap;d.each(function(t){s(a,t)&&(t.dirty(),c=!0)}),c&&h.dirty(),f(h,r);var p=t.getPerformArgs(h,a.block);d.each(function(t){t.perform(p)}),o|=h.perform(p)}else u&&u.each(function(i,l){s(a,i)&&i.dirty();var u=t.getPerformArgs(i,a.block);u.skip=!e.performRawSeries&&n.isSeriesFiltered(i.context.model),f(i,r),o|=i.perform(u)})}}),t.unfinished|=o}h.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},h.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,a=i&&i.modDataCount;return{step:r,modBy:null!=a?Math.ceil(a/r):null,modDataCount:a}}},h.getPipeline=function(t){return this._pipelineMap.get(t)},h.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,a=t.get("large")&&i>=t.get("largeThreshold"),o="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:o,large:a}},h.restorePipelines=function(t){var e=this,n=e._pipelineMap=Object(i.f)();t.eachSeries(function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),w(e,t,t.dataTask)})},h.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;Object(i.i)(this._allHandlers,function(a){var o=t.get(a.uid)||t.set(a.uid,[]);a.reset&&function(t,e,n,a,o){var s=n.seriesTaskMap||(n.seriesTaskMap=Object(i.f)()),l=e.seriesType,u=e.getTargetSeries;e.createOnAllSeries?a.eachRawSeries(h):l?a.eachRawSeriesByType(l,h):u&&u(a,o).each(h);function h(n){var i=n.uid,l=s.get(i)||s.set(i,Object(r.a)({plan:m,reset:_,count:b}));l.context={model:n,ecModel:a,api:o,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},w(t,n,l)}var c=t._pipelineMap;s.each(function(t,e){c.get(e)||(t.dispose(),s.removeKey(e))})}(this,a,o,e,n),a.overallReset&&function(t,e,n,a,o){var s=n.overallTask=n.overallTask||Object(r.a)({reset:d});s.context={ecModel:a,api:o,overallReset:e.overallReset,scheduler:t};var l=s.agentStubMap=s.agentStubMap||Object(i.f)(),u=e.seriesType,h=e.getTargetSeries,c=!0,f=e.modifyOutputEnd;u?a.eachRawSeriesByType(u,g):h?h(a,o).each(g):(c=!1,Object(i.i)(a.getSeries(),g));function g(e){var n=e.uid,i=l.get(n);i||(i=l.set(n,Object(r.a)({reset:p,onDirty:v})),s.dirty()),i.context={model:e,overallProgress:c,modifyOutputEnd:f},i.agent=s,i.__block=c,w(t,e,i)}var m=t._pipelineMap;l.each(function(t,e){m.get(e)||(t.dispose(),s.dirty(),l.removeKey(e))})}(this,a,o,e,n)},this)},h.prepareView=function(t,e,n,i){var r=t.renderTask,a=r.context;a.model=e,a.ecModel=n,a.api=i,r.__block=!t.incrementalPrepareRender,w(this,e,r)},h.performDataProcessorTasks=function(t,e){c(this,this._dataProcessorHandlers,t,e,{block:!0})},h.performVisualTasks=function(t,e,n){c(this,this._visualHandlers,t,e,n)},h.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e|=t.dataTask.perform()}),this.unfinished|=e},h.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 f=h.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function d(t){t.overallReset(t.ecModel,t.api,t.payload)}function p(t,e){return t.overallProgress&&g}function g(){this.agent.dirty(),this.getDownstream().dirty()}function v(){this.agent&&this.agent.dirty()}function m(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function _(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Object(l.k)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?Object(i.w)(e,function(t,e){return x(e)}):y}var y=x(0);function x(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var a=e.start;a<e.end;a++)r.dataEach(i,a);else r&&r.progress&&r.progress(e,i)}}function b(t){return t.data.count()}function w(t,e,n){var i=e.uid,r=t._pipelineMap.get(i);!r.head&&(r.head=n),r.tail&&r.tail.pipe(n),r.tail=n,n.__idxInPipeline=r.count++,n.__pipeline=r}u.wrapStageHandler=function(t,e){return Object(i.s)(t)&&(t={overallReset:t,seriesType:function(t){S=null;try{t(M,C)}catch(t){}return S}(t)}),t.uid=Object(a.c)("stageHandler"),e&&(t.visualType=e),t};var S,M={},C={};function O(t,e){for(var n in e.prototype)t[n]=i.A}O(M,o.a),O(C,s.a),M.eachSeriesByType=M.eachRawSeriesByType=function(t){S=t},M.eachComponent=function(t){"series"===t.mainType&&t.subType&&(S=t.subType)},e.a=u},rsyf:function(t,e,n){"use strict";e.a=function(t){var e=t.option.source,n=l.h;if(Object(o.v)(e))n=l.g;else if(Object(o.p)(e))for(var i=0,r=e.length;i<r;i++){var a=e[i];if(null!=a){if(Object(o.p)(a)){n=l.c;break}if(Object(o.t)(a)){n=l.e;break}}}else if(Object(o.t)(e)){for(var s in e)if(e.hasOwnProperty(s)&&Object(o.q)(e[s])){n=l.d;break}}else if(null!=e)throw new Error("Invalid data");u(t).sourceFormat=n},e.b=function(t){return u(t).source},e.e=function(t){u(t).datasetMap=Object(o.f)()},e.d=function(t){var e=t.option,n=e.data,d=Object(o.v)(n)?l.g:l.f,p=!1,g=e.seriesLayoutBy,v=e.sourceHeader,m=e.dimensions,_=function(t){var e=t.option;if(!e.data)return t.ecModel.getComponent("dataset",e.datasetIndex||0)}(t);if(_){var y=_.option;n=y.source,d=u(_).sourceFormat,p=!0,g=g||y.seriesLayoutBy,null==v&&(v=y.sourceHeader),m=m||y.dimensions}var x=function(t,e,n,a,s){if(!t)return{dimensionsDefine:h(s)};var u,f,d,p;if(e===l.c)"auto"===a||null==a?c(function(t){null!=t&&"-"!==t&&(Object(o.u)(t)?null==f&&(f=1):f=0)},n,t,10):f=a?1:0,s||1!==f||(s=[],c(function(t,e){s[e]=null!=t?t:""},n,t)),u=s?s.length:n===l.b?t.length:t[0]?t[0].length:null;else if(e===l.e)s||(s=function(t){var e,n=0;for(;n<t.length&&!(e=t[n++]););if(e){var i=[];return Object(o.i)(e,function(t,e){i.push(e)}),i}}(t),d=!0);else if(e===l.d)s||(s=[],d=!0,Object(o.i)(t,function(t,e){s.push(e)}));else if(e===l.f){var g=Object(r.d)(t[0]);u=Object(o.p)(g)&&g.length||1}else e===l.g&&i.a&&Object(o.b)(!!s,"dimensions must be given if data is TypedArray.");d&&Object(o.i)(s,function(t,e){"name"===(Object(o.t)(t)?t.name:t)&&(p=e)});return{startIndex:f,dimensionsDefine:h(s),dimensionsDetectCount:u,potentialNameDimIndex:p}}(n,d,g,v,m),b=e.encode;!b&&_&&(b=function(t,e,n,i,r,s){var l=Object(a.a)(t),h={},c=[],d=[],p=t.subType,g=Object(o.f)(["pie","map","funnel"]),v=Object(o.f)(["line","bar","pictorialBar","scatter","effectScatter","candlestick","boxplot"]);if(l&&null!=v.get(p)){var m=t.ecModel,_=u(m).datasetMap,y=e.uid+"_"+r,x=_.get(y)||_.set(y,{categoryWayDim:1,valueWayDim:0});Object(o.i)(l.coordSysDims,function(t){if(null==l.firstCategoryDimIndex){var e=x.valueWayDim++;h[t]=e,d.push(e)}else if(l.categoryAxisMap.get(t))h[t]=0,c.push(0);else{var e=x.categoryWayDim++;h[t]=e,d.push(e)}})}else if(null!=g.get(p)){for(var b,w=0;w<5&&null==b;w++)f(n,i,r,s.dimensionsDefine,s.startIndex,w)||(b=w);if(null!=b){h.value=b;var S=s.potentialNameDimIndex||Math.max(b-1,0);d.push(S),c.push(S)}}return c.length&&(h.itemName=c),d.length&&(h.seriesName=d),h}(t,_,n,d,g,x));u(t).source=new s.a({data:n,fromDataset:p,seriesLayoutBy:g,sourceFormat:d,dimensionsDefine:x.dimensionsDefine,startIndex:x.startIndex,dimensionsDetectCount:x.dimensionsDetectCount,encodeDefine:b})},e.c=function(t,e){return f(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)};var i=n("HaDi"),r=n("8DvQ"),a=n("9xaT"),o=n("ASYS"),s=n("hCiy"),l=n("QgCW"),u=Object(r.i)();function h(t){if(t){var e=Object(o.f)();return Object(o.w)(t,function(t,n){if(null==(t=Object(o.k)({},Object(o.t)(t)?t:{name:t})).name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var i=e.get(t.name);return i?t.name+="-"+i.count++:e.set(t.name,{count:1}),t})}}function c(t,e,n,i){if(null==i&&(i=1/0),e===l.b)for(var r=0;r<n.length&&r<i;r++)t(n[r]?n[r][0]:null,r);else{var a=n[0]||[];for(r=0;r<a.length&&r<i;r++)t(a[r],r)}}function f(t,e,n,i,a,s){var u,h;if(Object(o.v)(t))return!1;if(i&&(h=i[s],h=Object(o.t)(h)?h.name:h),e===l.c)if(n===l.b){for(var c=t[s],f=0;f<(c||[]).length&&f<5;f++)if(null!=(u=v(c[a+f])))return u}else for(f=0;f<t.length&&f<5;f++){var d=t[a+f];if(d&&null!=(u=v(d[s])))return u}else if(e===l.e){if(!h)return;for(f=0;f<t.length&&f<5;f++){if((p=t[f])&&null!=(u=v(p[h])))return u}}else if(e===l.d){if(!h)return;if(!(c=t[h])||Object(o.v)(c))return!1;for(f=0;f<c.length&&f<5;f++)if(null!=(u=v(c[f])))return u}else if(e===l.f)for(f=0;f<t.length&&f<5;f++){var p=t[f],g=Object(r.d)(p);if(!Object(o.p)(g))return!1;if(null!=(u=v(g[s])))return u}function v(t){return(null==t||!isFinite(t)||""===t)&&(!(!Object(o.u)(t)||"-"===t)||void 0)}return!1}},tcBb:function(t,e,n){"use strict";var i=n("ASYS"),r=n("uAiK"),a=n("8DvQ"),o=n("mnKm"),s=function(t){for(var e=0;e<t.length;e++)t[e][1]||(t[e][1]=t[e][0]);return function(e,n,r){for(var a={},o=0;o<t.length;o++){var s=t[o][1];if(!(n&&i.n(n,s)>=0||r&&i.n(r,s)<0)){var l=e.getShallow(s);null!=l&&(a[t[o][0]]=l)}}return a}},l=s([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),u={getLineStyle:function(t){var e=l(this,t),n=this.getLineDash(e.lineWidth);return n&&(e.lineDash=n),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?null:"dashed"===e?[i,i]:[n,n]}},h=s([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),c={getAreaStyle:function(t,e){return h(this,t,e)}},f=n("jXMp"),d=n("Ju+c"),p=["textStyle","color"],g={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(p):null)},getFont:function(){return d.k({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return f.e(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("rich"),this.getShallow("truncateText"))}},v=s([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),m={getItemStyle:function(t,e){var n=v(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]}},_=i.z,y=Object(a.i)();function x(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function b(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 w(t,e){var n=y(t).getParent;return n?n.call(t,e):t.parentModel}x.prototype={constructor:x,init:null,mergeOption:function(t){i.x(this.option,t,!0)},get:function(t,e){return null==t?this.option:b(this.option,this.parsePath(t),!e&&w(this,t))},getShallow:function(t,e){var n=this.option,i=null==n?n:n[t],r=!e&&w(this,t);return null==i&&r&&(i=r.getShallow(t)),i},getModel:function(t,e){var n;return new x(null==t?this.option:b(this.option,t=this.parsePath(t)),e=e||(n=w(this,t))&&n.getModel(t),this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){return new(0,this.constructor)(i.d(this.option))},setReadOnly:function(t){},parsePath:function(t){return"string"==typeof t&&(t=t.split(".")),t},customizeGetParent:function(t){y(this).getParent=t},isAnimationEnabled:function(){if(!r.a.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},Object(o.b)(x),Object(o.a)(x),_(x,u),_(x,c),_(x,g),_(x,m);e.a=x},uAiK:function(t,e,n){"use strict";var i={};i="object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0}:"undefined"==typeof document&&"undefined"!=typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0}:"undefined"==typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0}:function(t){var e={},n=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),r=t.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(t);n&&(e.firefox=!0,e.version=n[1]);i&&(e.ie=!0,e.version=i[1]);r&&(e.edge=!0,e.version=r[1]);a&&(e.weChat=!0);return{browser:e,os:{},node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!e.ie&&!e.edge,pointerEventsSupported:"onpointerdown"in window&&(e.edge||e.ie&&e.version>=11)}}(navigator.userAgent),e.a=i},vWev:function(t,e,n){"use strict";var i=n("8DvQ");e.a=function(){var t=Object(i.i)();return function(e){var n=t(e),i=e.pipelineContext,r=n.large,a=n.progressiveRender,o=n.large=i.large,s=n.progressiveRender=i.progressiveRender;return!!(r^o||a^s)&&"reset"}}},"w8+Z":function(t,e,n){"use strict";var i=Array.prototype.slice,r=function(){this._$handlers={}};r.prototype={constructor:r,one:function(t,e,n){var i=this._$handlers;if(!e||!t)return this;i[t]||(i[t]=[]);for(var r=0;r<i[t].length;r++)if(i[t][r].h===e)return this;return i[t].push({h:e,one:!0,ctx:n||this}),this},on:function(t,e,n){var i=this._$handlers;if(!e||!t)return this;i[t]||(i[t]=[]);for(var r=0;r<i[t].length;r++)if(i[t][r].h===e)return this;return i[t].push({h:e,one:!1,ctx:n||this}),this},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=[],r=0,a=n[t].length;r<a;r++)n[t][r].h!=e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},trigger:function(t){if(this._$handlers[t]){var e=arguments,n=e.length;n>3&&(e=i.call(e,1));for(var r=this._$handlers[t],a=r.length,o=0;o<a;){switch(n){case 1:r[o].h.call(r[o].ctx);break;case 2:r[o].h.call(r[o].ctx,e[1]);break;case 3:r[o].h.call(r[o].ctx,e[1],e[2]);break;default:r[o].h.apply(r[o].ctx,e)}r[o].one?(r.splice(o,1),a--):o++}}return this},triggerWithContext:function(t){if(this._$handlers[t]){var e=arguments,n=e.length;n>4&&(e=i.call(e,1,e.length-1));for(var r=e[e.length-1],a=this._$handlers[t],o=a.length,s=0;s<o;){switch(n){case 1:a[s].h.call(r);break;case 2:a[s].h.call(r,e[1]);break;case 3:a[s].h.call(r,e[1],e[2]);break;default:a[s].h.apply(r,e)}a[s].one?(a.splice(s,1),o--):s++}}return this}},e.a=r},wlOE:function(t,e,n){"use strict";e.a=function(t,e){var n,i,r,a,o,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u);h<0&&(l+=h,h=-h);"number"==typeof c?n=i=r=a=c:c instanceof Array?1===c.length?n=i=r=a=c[0]:2===c.length?(n=r=c[0],i=a=c[1]):3===c.length?(n=c[0],i=a=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],a=c[3]):n=i=r=a=0;n+i>u&&(n*=u/(o=n+i),i*=u/o);r+a>u&&(r*=u/(o=r+a),a*=u/o);i+r>h&&(i*=h/(o=i+r),r*=h/o);n+a>h&&(n*=h/(o=n+a),a*=h/o);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+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+a,l+h),0!==a&&t.arc(s+a,l+h-a,a,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}},x0Vh:function(t,e,n){"use strict";var i=n("uAiK"),r=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];e.a=function(t){return i.a.browser.ie&&i.a.browser.version>=11?function(){var e,n=this.__clipPaths,i=this.style;if(n)for(var a=0;a<n.length;a++){var o=n[a],s=o&&o.shape,l=o&&o.type;if(s&&("sector"===l&&s.startAngle===s.endAngle||"rect"===l&&(!s.width||!s.height))){for(var u=0;u<r.length;u++)r[u][2]=i[r[u][0]],i[r[u][0]]=r[u][1];e=!0;break}}if(t.apply(this,arguments),e)for(u=0;u<r.length;u++)i[r[u][0]]=r[u][2]}:t}},yFTj:function(t,e,n){"use strict";e.d=function(t,e,n,i){var r=e[1]-e[0],a=n[1]-n[0];if(0===r)return 0===a?n[0]:(n[0]+n[1])/2;if(i)if(r>0){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])/r*a+n[0]},e.g=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%"}if("string"==typeof t)return(n=t,n.replace(/^\s+/,"").replace(/\s+$/,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t);var n;return null==t?NaN:+t},e.j=function(t,e,n){null==e&&(e=10);return e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t},e.b=function(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var i=+e.slice(n+1);return i<0?-i:0}var r=e.indexOf(".");return r<0?0:e.length-1-r},e.a=function(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),a=Math.round(n(Math.abs(e[1]-e[0]))/i),o=Math.min(Math.max(-r+a,0),20);return isFinite(o)?o:20},e.i=function(t){var e=2*Math.PI;return(t%e+e)%e},e.c=function(t){return t>-i&&t<i},e.f=function(t){if(t instanceof Date)return t;if("string"==typeof t){var e=r.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)}if(null==t)return new Date(NaN);return new Date(Math.round(t))},e.h=function(t){return Math.pow(10,a(t))},e.e=function(t,e){var n,i=a(t),r=Math.pow(10,i),o=t/r;n=e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10;return t=n*r,i>=-20?+t.toFixed(i<0?-i:0):t};n("ASYS");var i=1e-4;var r=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function a(t){return Math.floor(Math.log(t)/Math.LN10)}},yIt6:function(t,e,n){"use strict";var i=n("Xa3u"),r=n("iyEX"),a=Math.min,o=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,h=r.e(),c=r.e(),f=r.e();function d(t,e,n,i,r,s){r[0]=a(t,n),r[1]=a(e,i),s[0]=o(t,n),s[1]=o(e,i)}var p=[],g=[];function v(t,e,n,r,s,l,u,h,c,f){var d,v=i.c,m=i.a,_=v(t,n,s,u,p);for(c[0]=1/0,c[1]=1/0,f[0]=-1/0,f[1]=-1/0,d=0;d<_;d++){var y=m(t,n,s,u,p[d]);c[0]=a(y,c[0]),f[0]=o(y,f[0])}for(_=v(e,r,l,h,g),d=0;d<_;d++){var x=m(e,r,l,h,g[d]);c[1]=a(x,c[1]),f[1]=o(x,f[1])}c[0]=a(t,c[0]),f[0]=o(t,f[0]),c[0]=a(u,c[0]),f[0]=o(u,f[0]),c[1]=a(e,c[1]),f[1]=o(e,f[1]),c[1]=a(h,c[1]),f[1]=o(h,f[1])}function m(t,e,n,r,s,l,u,h){var c=i.i,f=i.g,d=o(a(c(t,n,s),1),0),p=o(a(c(e,r,l),1),0),g=f(t,n,s,d),v=f(e,r,l,p);u[0]=a(t,s,g),u[1]=a(e,l,v),h[0]=o(t,s,g),h[1]=o(e,l,v)}function _(t,e,n,i,a,o,d,p,g){var v=r.j,m=r.i,_=Math.abs(a-o);if(_%u<1e-4&&_>1e-4)return p[0]=t-n,p[1]=e-i,g[0]=t+n,void(g[1]=e+i);if(h[0]=l(a)*n+t,h[1]=s(a)*i+e,c[0]=l(o)*n+t,c[1]=s(o)*i+e,v(p,h,c),m(g,h,c),(a%=u)<0&&(a+=u),(o%=u)<0&&(o+=u),a>o&&!d?o+=u:a<o&&d&&(a+=u),d){var y=o;o=a,a=y}for(var x=0;x<o;x+=Math.PI/2)x>a&&(f[0]=l(x)*n+t,f[1]=s(x)*i+e,v(p,f,p),m(g,f,g))}var y=n("Rjdj"),x=n("fO4x"),b={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},w=[],S=[],M=[],C=[],O=Math.min,D=Math.max,k=Math.cos,T=Math.sin,I=Math.sqrt,A=Math.abs,j="undefined"!=typeof Float32Array,L=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};L.prototype={constructor:L,_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){this._ux=A(1/x.b/t)||0,this._uy=A(1/x.b/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,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(b.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=A(t-this._xi)>this._ux||A(e-this._yi)>this._uy||this._len<5;return this.addData(b.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,r,a){return this.addData(b.C,t,e,n,i,r,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,r,a):this._ctx.bezierCurveTo(t,e,n,i,r,a)),this._xi=r,this._yi=a,this},quadraticCurveTo:function(t,e,n,i){return this.addData(b.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,r,a){return this.addData(b.A,t,e,n,n,i,r-i,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,a),this._xi=k(r)*n+t,this._yi=T(r)*n+t,this},arcTo:function(t,e,n,i,r){return this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(b.R,t,e,n,i),this},closePath:function(){this.addData(b.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,this._dashIdx=0;for(var e=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||!j||(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,r=0;r<e;r++)n+=t[r].len();j&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<e;r++)for(var a=t[r].data,o=0;o<a.length;o++)this.data[i++]=a[o];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,r=this._dashSum,a=this._dashOffset,o=this._lineDash,s=this._ctx,l=this._xi,u=this._yi,h=t-l,c=e-u,f=I(h*h+c*c),d=l,p=u,g=o.length;for(h/=f,c/=f,a<0&&(a=r+a),d-=(a%=r)*h,p-=a*c;h>0&&d<=t||h<0&&d>=t||0==h&&(c>0&&p<=e||c<0&&p>=e);)d+=h*(n=o[i=this._dashIdx]),p+=c*n,this._dashIdx=(i+1)%g,h>0&&d<l||h<0&&d>l||c>0&&p<u||c<0&&p>u||s[i%2?"moveTo":"lineTo"](h>=0?O(d,t):D(d,t),c>=0?O(p,e):D(p,e));h=d-t,c=p-e,this._dashOffset=-I(h*h+c*c)},_dashedBezierTo:function(t,e,n,r,a,o){var s,l,u,h,c,f=this._dashSum,d=this._dashOffset,p=this._lineDash,g=this._ctx,v=this._xi,m=this._yi,_=i.a,y=0,x=this._dashIdx,b=p.length,w=0;for(d<0&&(d=f+d),d%=f,s=0;s<1;s+=.1)l=_(v,t,n,a,s+.1)-_(v,t,n,a,s),u=_(m,e,r,o,s+.1)-_(m,e,r,o,s),y+=I(l*l+u*u);for(;x<b&&!((w+=p[x])>d);x++);for(s=(w-d)/y;s<=1;)h=_(v,t,n,a,s),c=_(m,e,r,o,s),x%2?g.moveTo(h,c):g.lineTo(h,c),s+=p[x]/y,x=(x+1)%b;x%2!=0&&g.lineTo(a,o),l=a-h,u=o-c,this._dashOffset=-I(l*l+u*u)},_dashedQuadraticTo:function(t,e,n,i){var r=n,a=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,r,a)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,j&&(this.data=new Float32Array(t)))},getBoundingRect:function(){w[0]=w[1]=M[0]=M[1]=Number.MAX_VALUE,S[0]=S[1]=C[0]=C[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,i=0,a=0,o=0;o<t.length;){var s=t[o++];switch(1==o&&(i=e=t[o],a=n=t[o+1]),s){case b.M:e=i=t[o++],n=a=t[o++],M[0]=i,M[1]=a,C[0]=i,C[1]=a;break;case b.L:d(e,n,t[o],t[o+1],M,C),e=t[o++],n=t[o++];break;case b.C:v(e,n,t[o++],t[o++],t[o++],t[o++],t[o],t[o+1],M,C),e=t[o++],n=t[o++];break;case b.Q:m(e,n,t[o++],t[o++],t[o],t[o+1],M,C),e=t[o++],n=t[o++];break;case b.A:var l=t[o++],u=t[o++],h=t[o++],c=t[o++],f=t[o++],p=t[o++]+f,g=(t[o++],1-t[o++]);1==o&&(i=k(f)*h+l,a=T(f)*c+u),_(l,u,h,c,f,p,g,M,C),e=k(p)*h+l,n=T(p)*c+u;break;case b.R:d(i=e=t[o++],a=n=t[o++],i+t[o++],a+t[o++],M,C);break;case b.Z:e=i,n=a}r.j(w,w,M),r.i(S,S,C)}return 0===o&&(w[0]=w[1]=S[0]=S[1]=0),new y.a(w[0],w[1],S[0]-w[0],S[1]-w[1])},rebuildPath:function(t){for(var e,n,i,r,a,o,s=this.data,l=this._ux,u=this._uy,h=this._len,c=0;c<h;){var f=s[c++];switch(1==c&&(e=i=s[c],n=r=s[c+1]),f){case b.M:e=i=s[c++],n=r=s[c++],t.moveTo(i,r);break;case b.L:a=s[c++],o=s[c++],(A(a-i)>l||A(o-r)>u||c===h-1)&&(t.lineTo(a,o),i=a,r=o);break;case b.C:t.bezierCurveTo(s[c++],s[c++],s[c++],s[c++],s[c++],s[c++]),i=s[c-2],r=s[c-1];break;case b.Q:t.quadraticCurveTo(s[c++],s[c++],s[c++],s[c++]),i=s[c-2],r=s[c-1];break;case b.A:var d=s[c++],p=s[c++],g=s[c++],v=s[c++],m=s[c++],_=s[c++],y=s[c++],x=s[c++],w=g>v?g:v,S=g>v?1:g/v,M=g>v?v/g:1,C=m+_;Math.abs(g-v)>.001?(t.translate(d,p),t.rotate(y),t.scale(S,M),t.arc(0,0,w,m,C,1-x),t.scale(1/S,1/M),t.rotate(-y),t.translate(-d,-p)):t.arc(d,p,w,m,C,1-x),1==c&&(e=k(m)*g+d,n=T(m)*v+p),i=k(C)*g+d,r=T(C)*v+p;break;case b.R:e=i=s[c],n=r=s[c+1],t.rect(s[c++],s[c++],s[c++],s[c++]);break;case b.Z:t.closePath(),i=e,r=n}}}},L.CMD=b;e.a=L},yZC0:function(t,e,n){"use strict";var i=n("ASYS");function r(t){Object(i.i)(t,function(e,n){var i=[],r=[NaN,NaN],a=[e.stackResultDimension,e.stackedOverDimension],o=e.data,s=e.isStackedByIndex,l=o.map(a,function(a,l,u){var h,c,f=o.get(e.stackedDimension,u);if(isNaN(f))return r;s?c=o.getRawIndex(u):h=o.get(e.stackedByDimension,u);for(var d=NaN,p=n-1;p>=0;p--){var g=t[p];if(s||(c=g.data.rawIndexOf(g.stackedByDimension,h)),c>=0){var v=g.data.getByRawIndex(g.stackResultDimension,c);if(f>=0&&v>0||f<=0&&v<0){f+=v,d=v;break}}}return i[0]=f,i[1]=d,i});o.hostModel.setData(l),e.data=l})}e.a=function(t){var e=Object(i.f)();t.eachSeries(function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),a={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!a.stackedDimension||!a.isStackedByIndex&&!a.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(a)}}),e.each(r)}},zWTK:function(t,e,n){"use strict";var i=n("ASYS"),r=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];e.a=function(t){i.i(r,function(e){this[e]=i.c(t[e],t)},this)}}});
|