!function(a,b){"function"==typeof define&&define.amd?define([],b):"object"==typeof module&&module.exports?module.exports=b():a.echarts=b()}(this,function(){var an,aG;!function(){function c(u,p){if(!p){return u}if(0===u.indexOf(".")){var m=p.split("/"),j=u.split("/"),g=m.length-1,q=j.length,h=0,v=0;u:for(var k=0;q>k;k++){switch(j[k]){case"..":if(!(g>h)){break u}h++,v++;break;case".":v++;break;default:break u}}return m.length=g-h,j=j.slice(v),m.concat(j).join("/")}return u}function f(a){function g(j,k){if("string"==typeof j){var i=h[j];return i||(i=b(c(j,a)),h[j]=i),i}j instanceof Array&&(k=k||function(){},k.apply(this,d(j,k,a)))}var h={};return g}function d(k,g,a){for(var q=[],i=e[a],o=0,p=Math.min(k.length,g.length);p>o;o++){var j,m=c(k[o],a);switch(m){case"require":j=i&&i.require||an;break;case"exports":j=i.exports;break;case"module":j=i;break;default:j=b(m)}q.push(j)}return q}function b(g){var h=e[g];if(!h){throw new Error("No "+g)}if(!h.defined){var a=h.factory,j=a.apply(this,d(h.deps||[],a,g));"undefined"!=typeof j&&(h.exports=j),h.defined=1}return h.exports}var e={};aG=function(g,h,a){e[g]={id:g,deps:h,factory:a,defined:0,exports:{},require:f(g)}},an=f("")}();var aB="moveTo",av="radius",ap="../../echarts",aL="../../util/graphic",au="dataToPoint",ao="dimensions",ay="ordinal",aI="category",am="parsePercent",aC="getItemModel",aH="../core/util",aF="createElement",at="undefined",aE="updateProps",al="animation",aw="inside",ai="getShallow",aj="stroke",aM="lineWidth",aK="applyTransform",ak="Sector",aV="getItemGraphicEl",a3="normal",bi="emphasis",bg="getItemVisual",aT="getName",a4="ecModel",aY="getComponent",ah="option",az="getExtent",a7="getLabel",bd="contain",aZ="opacity",aW="position",bh="center",bc="middle",a1="getBoundingRect",aR="getFont",bb="textAlign",ba="textStyle",a9="coordinateSystem",ar="removeAll",aQ="inherits",aN="function",aP="indexOf",aA="isArray",aS="replace",aO="zlevel",aX="getDataParams",bn="seriesIndex",a5="dataIndex",a6="target",bf="mouseout",ab="mouseover",ax="getData",a8="splice",bt="series",bj="trigger",aD="length",bm="defaults",bs="extend",aq="remove",aJ="isObject",a0="update",ad="create",bq="height",af="bottom",bk="ignore",ag="getHeight",bl="getWidth",bo="getModel",bv="resize",aa="string",aU="prototype",ac="toLowerCase",bw="filter",bu="transform",br="zrender/core/util",a2="require";aG("echarts/echarts",[a2,"./model/Global","./ExtensionAPI","./CoordinateSystem","./model/OptionManager","./model/Component","./model/Series","./view/Component","./view/Chart","./util/graphic","zrender",br,"zrender/tool/color","zrender/core/env","zrender/mixin/Eventful","./loading/default","./visual/seriesColor","./preprocessor/backwardCompat","./util/number","./util/format","zrender/core/matrix","zrender/core/vector"],function(bN){function b2(a){return function(c,b,d){c=c&&c[ac](),K[aU][a].call(this,c,b,d)}}function bY(){K.call(this)}function bU(a,b,c){c=c||{},typeof b===aa&&(b=bz[b]),b&&be(J,function(d){d(b)}),this.id,this.group,this._dom=a,this._zr=Q.init(a,{renderer:c.renderer||"canvas",devicePixelRatio:c.devicePixelRatio}),this._theme=ae.clone(b),this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._api=new b0(this),this._coordSysMgr=new bL,K.call(this),this._messageCenter=new bY,this._initEvents(),this[bv]=ae.bind(this[bv],this)}function bP(b,c){var a=this._model;a&&a.eachComponent({mainType:"series",query:c},function(e){var d=this._chartsMap[e.__viewId];d&&d.__alive&&d[b](e,a,this._api,c)},this)}function b6(b,c,a){var d=this._api;be(this._componentsViews,function(f){var e=f.__model;f[b](e,c,d,a),b3(e,f)},this),c.eachSeries(function(f){var e=this._chartsMap[f.__viewId];e[b](f,c,d,a),b3(f,e)},this)}function bT(d,h){for(var c="component"===d,l=c?this._componentsViews:this._chartsViews,g=c?this._componentsMap:this._chartsMap,b=this._zr,k=0;k<l[aD];k++){l[k].__alive=!1}h[c?"eachComponent":"eachSeries"](function(i,n){if(c){if(i===bt){return}}else{n=i}var m=n.id+"_"+n.type,a=g[m];if(!a){var p=bI.parseClassType(n.type),e=c?b7.getClass(p.main,p.sub):b5.getClass(p.sub);if(!e){return}a=new e,a.init(h,this._api),g[m]=a,l.push(a),b.add(a.group)}n.__viewId=m,a.__alive=!0,a.__id=m,a.__model=n},this);for(var k=0;k<l[aD];){var f=l[k];f.__alive?k++:(b[aq](f.group),f.dispose(h,this._api),l[a8](k,1),delete g[f.__id])}}function bO(a,b){be(bH,function(c){be(Z[c]||[],function(d){d(a,b)})})}function bW(a){var b={};a.eachSeries(function(d){var c=d.get("stack"),f=d[ax]();if(c&&"list"===f.type){var e=b[c];e&&(f.stackedOn=e),b[c]=f}})}function b4(b,c){var a=this._api;be(bB,function(d){d(b,a,c)})}function bM(a,b){be(X,function(c){be(bA[c]||[],function(d){d(a,b)})})}function bZ(b,c){var a=this._api;be(this._componentsViews,function(e){var d=e.__model;e.render(d,b,a,c),b3(d,e)},this),be(this._chartsViews,function(d){d.__alive=!1},this),b.eachSeries(function(e){var d=this._chartsMap[e.__viewId];d.__alive=!0,d.render(e,b,a,c),d.group.silent=!!e.get("silent"),b3(e,d)},this),be(this._chartsViews,function(d){d.__alive||d[aq](b,a)},this)}function b3(b,c){var a=b.get("z"),d=b.get(aO);c.group.traverse(function(e){null!=a&&(e.z=a),null!=d&&(e[aO]=d)})}function b1(d){function g(k,l){for(var a=0;a<k[aD];a++){var m=k[a];m[b]=l}}var c=0,h=1,f=2,b="__connectUpdateStatus";ae.each(bE,function(e,a){d._messageCenter.on(a,function(n){if(bQ[d.group]&&d[b]!==c){var m=d.makeActionFromEvent(n),i=[];for(var p in by){var k=by[p];k!==d&&k.group===d.group&&i.push(k)}g(i,c),be(i,function(l){l[b]!==h&&l.dispatchAction(m)}),g(i,f)}})})}var bR=bN("./model/Global"),b0=bN("./ExtensionAPI"),bL=bN("./CoordinateSystem"),bV=bN("./model/OptionManager"),bI=bN("./model/Component"),bJ=bN("./model/Series"),b7=bN("./view/Component"),b5=bN("./view/Chart"),bK=bN("./util/graphic"),Q=bN("zrender"),ae=bN(br),bF=bN("zrender/tool/color"),bD=bN("zrender/core/env"),K=bN("zrender/mixin/Eventful"),be=ae.each,X=["echarts","chart","component"],bH=[bu,bw,"statistic"];bY[aU].on=b2("on"),bY[aU].off=b2("off"),bY[aU].one=b2("one"),ae.mixin(bY,K);var bX=bU[aU];bX.getDom=function(){return this._dom},bX.getZr=function(){return this._zr},bX.setOption=function(b,c,a){(!this._model||c)&&(this._model=new bR(null,null,this._theme,new bV(this._api))),this._model.setOption(b,J),bx.prepareAndUpdate.call(this),!a&&this._zr.refreshImmediately()},bX.setTheme=function(){console.log("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},bX[bo]=function(){return this._model},bX.getOption=function(){return this._model.getOption()},bX[bl]=function(){return this._zr[bl]()},bX[ag]=function(){return this._zr[ag]()},bX.getRenderedCanvas=function(b){if(bD.canvasSupported){b=b||{},b.pixelRatio=b.pixelRatio||1,b.backgroundColor=b.backgroundColor||this._model.get("backgroundColor");var c=this._zr,a=c.storage.getDisplayList();return ae.each(a,function(d){d.stopAnimation(!0)}),c.painter.getRenderedCanvas(b)}},bX.getDataURL=function(d){d=d||{};var g=d.excludeComponents,c=this._model,h=[],f=this;be(g,function(a){c.eachComponent({mainType:a},function(i){var k=f._componentsMap[i.__viewId];k.group[bk]||(h.push(k),k.group[bk]=!0)})});var b=this.getRenderedCanvas(d).toDataURL("image/"+(d&&d.type||"png"));return be(h,function(a){a.group[bk]=!1}),b},bX.getConnectedDataURL=function(w){if(bD.canvasSupported){var L=this.group,F=Math.min,C=Math.max,z=1/0;if(bQ[L]){var O=z,B=z,x=-z,E=-z,N=[],q=w&&w.pixelRatio||1;for(var G in by){var M=by[G];if(M.group===L){var I=M.getRenderedCanvas(ae.clone(w)),A=M.getDom().getBoundingClientRect();O=F(A.left,O),B=F(A.top,B),x=C(A.right,x),E=C(A[af],E),N.push({dom:I,left:A.left,top:A.top})}}O*=q,B*=q,x*=q,E*=q;var H=x-O,k=E-B,D=ae.createCanvas();D.width=H,D[bq]=k;var b=Q.init(D);return be(N,function(a){var c=new bK.Image({style:{x:a.left*q-O,y:a.top*q-B,image:a.dom}});b.add(c)}),b.refreshImmediately(),D.toDataURL("image/"+(w&&w.type||"png"))}return this.getDataURL(w)}};var bx={update:function(d){var g=this._model,c=this._api,k=this._coordSysMgr;if(g){g.restoreData(),k[ad](this._model,this._api),bO.call(this,g,c),bW.call(this,g),k[a0](g,c),b4.call(this,g,d),bM.call(this,g,d),bZ.call(this,g,d);var f=g.get("backgroundColor")||"transparent",b=this._zr.painter;if(b.isSingleCanvas&&b.isSingleCanvas()){this._zr.configLayer(0,{clearColor:f})}else{if(!bD.canvasSupported){var h=bF.parse(f);f=bF.stringify(h,"rgb"),0===h[3]&&(f="transparent")}f=f,this._dom.style.backgroundColor=f}}},updateView:function(a){var b=this._model;b&&(b4.call(this,b,a),bM.call(this,b,a),b6.call(this,"updateView",b,a))},updateVisual:function(a){var b=this._model;b&&(bM.call(this,b,a),b6.call(this,"updateVisual",b,a))},updateLayout:function(a){var b=this._model;b&&(b4.call(this,b,a),b6.call(this,"updateLayout",b,a))},highlight:function(a){bP.call(this,"highlight",a)},downplay:function(a){bP.call(this,"downplay",a)},prepareAndUpdate:function(a){var b=this._model;bT.call(this,"component",b),bT.call(this,"chart",b),bx[a0].call(this,a)}};bX[bv]=function(){this._zr[bv]();var a=this._model&&this._model.resetOption("media");bx[a?"prepareAndUpdate":a0].call(this),this._loadingFX&&this._loadingFX[bv]()};var bC=bN("./loading/default");bX.showLoading=function(b,c){ae[aJ](b)&&(c=b,b="default"),this.hideLoading();var a=bC(this._api,c),d=this._zr;this._loadingFX=a,d.add(a)},bX.hideLoading=function(){this._loadingFX&&this._zr[aq](this._loadingFX),this._loadingFX=null},bX.makeActionFromEvent=function(a){var b=ae[bs]({},a);return b.type=bE[a.type],b},bX.dispatchAction=function(x,p){var k=W[x.type];if(k){var f=k.actionInfo,b=f[a0]||a0,v=[x],d=!1;x.batch&&(d=!0,v=ae.map(x.batch,function(a){return a=ae[bm](ae[bs]({},a),x),a.batch=null,a}));for(var y,g=[],q="highlight"===x.type||"downplay"===x.type,w=0;w<v[aD];w++){var m=v[w];y=k.action(m,this._model),y=y||ae[bs]({},m),y.type=f.event||y.type,g.push(y),q&&bx[b].call(this,m)}"none"!==b&&!q&&bx[b].call(this,x),p||(y=d?{type:f.event||x.type,batch:g}:g[0],this._messageCenter[bj](y.type,y))}},bX.on=b2("on"),bX.off=b2("off"),bX.one=b2("one");var Y=["click","dblclick",ab,bf,"mousedown","mouseup","globalout"];bX._initEvents=function(){be(Y,function(a){this._zr.on(a,function(f){var c=this[bo](),g=f[a6];if(g&&null!=g[a5]){var d=g.dataModel||c.getSeriesByIndex(g[bn]),b=d&&d[aX](g[a5],g.dataType)||{};b.event=f,b.type=a,this[bj](a,b)}else{g&&g.eventData&&this[bj](a,g.eventData)}},this)},this),be(bE,function(a,b){this._messageCenter.on(b,function(c){this[bj](b,c)},this)},this)},bX.isDisposed=function(){return this._disposed},bX.clear=function(){this.setOption({},!0)},bX.dispose=function(){this._disposed=!0;var a=this._api,b=this._model;be(this._componentsViews,function(c){c.dispose(b,a)}),be(this._chartsViews,function(c){c.dispose(b,a)}),this._zr.dispose(),delete by[this.id]},ae.mixin(bU,K);var W=[],bE={},bB=[],Z={},J=[],bA={},bz={},by={},bQ={},j=new Date-0,bG=new Date-0,U="_echarts_instance_",bS={version:"0.0.0",dependencies:{zrender:"0.0.0"}};return bS.init=function(b,d,a){if(Q.version[aS](".","")-0<bS.dependencies.zrender[aS](".","")-0){throw new Error("ZRender "+Q.version+" is too old for ECharts "+bS.version+". Current version need ZRender "+bS.dependencies.zrender+"+")}if(!b){throw new Error("Initialize failed: invalid dom.")}var c=new bU(b,d,a);return c.id="ec_"+j++,by[c.id]=c,b.setAttribute&&b.setAttribute(U,c.id),b1(c),c},bS.connect=function(a){if(ae[aA](a)){var b=a;a=null,ae.each(b,function(c){null!=c.group&&(a=c.group)}),a=a||"g_"+bG++,ae.each(b,function(c){c.group=a})}return bQ[a]=!0,a},bS.disConnect=function(a){bQ[a]=!1},bS.dispose=function(a){ae.isDom(a)?a=bS.getInstanceByDom(a):typeof a===aa&&(a=by[a]),a instanceof bU&&!a.isDisposed()&&a.dispose()},bS.getInstanceByDom=function(a){var b=a.getAttribute(U);return by[b]},bS.getInstanceById=function(a){return by[a]},bS.registerTheme=function(a,b){bz[a]=b},bS.registerPreprocessor=function(a){J.push(a)},bS.registerProcessor=function(b,c){if(ae[aP](bH,b)<0){throw new Error("stage should be one of "+bH)}var a=Z[b]||(Z[b]=[]);a.push(c)},bS.registerAction=function(b,c,a){typeof c===aN&&(a=c,c="");var d=ae[aJ](b)?b.type:[b,b={event:c}][0];b.event=(b.event||d)[ac](),c=b.event,W[d]||(W[d]={action:a,actionInfo:b}),bE[c]=d},bS.registerCoordinateSystem=function(a,b){bL.register(a,b)},bS.registerLayout=function(a){ae[aP](bB,a)<0&&bB.push(a)},bS.registerVisualCoding=function(b,c){if(ae[aP](X,b)<0){throw new Error("stage should be one of "+X)}var a=bA[b]||(bA[b]=[]);a.push(c)},bS.extendChartView=function(a){return b5[bs](a)},bS.extendComponentModel=function(a){return bI[bs](a)},bS.extendSeriesModel=function(a){return bJ[bs](a)},bS.extendComponentView=function(a){return b7[bs](a)},bS.setCanvasCreator=function(a){ae.createCanvas=a},bS.registerVisualCoding("echarts",ae.curry(bN("./visual/seriesColor"),"","itemStyle")),bS.registerPreprocessor(bN("./preprocessor/backwardCompat")),bS.registerAction({type:"highlight",event:"highlight",update:"highlight"},ae.noop),bS.registerAction({type:"downplay",event:"downplay",update:"downplay"},ae.noop),bS.graphic=bN("./util/graphic"),bS.number=bN("./util/number"),bS.format=bN("./util/format"),bS.matrix=bN("zrender/core/matrix"),bS.vector=bN("zrender/core/vector"),bS.util={},be(["map","each",bw,aP,aQ,"reduce",bw,"bind","curry",aA,"isString",aJ,"isFunction",bs],function(a){bS.util[a]=ae[a]}),bS}),aG("echarts/chart/bar",[a2,br,"../coord/cartesian/Grid","./bar/BarSeries","./bar/BarView","../layout/barGrid","../echarts","../component/grid"],function(b){var c=b(br);b("../coord/cartesian/Grid"),b("./bar/BarSeries"),b("./bar/BarView");var a=b("../layout/barGrid"),d=b("../echarts");d.registerLayout(c.curry(a,"bar")),d.registerVisualCoding("chart",function(e){e.eachSeriesByType("bar",function(f){var g=f[ax]();g.setVisual("legendSymbol","roundRect")})}),b("../component/grid")}),aG("echarts/chart/line",[a2,br,"../echarts","./line/LineSeries","./line/LineView","../visual/symbol","../layout/points","../processor/dataSample","../component/grid"],function(b){var c=b(br),a=b("../echarts");b("./line/LineSeries"),b("./line/LineView"),a.registerVisualCoding("chart",c.curry(b("../visual/symbol"),"line","circle","line")),a.registerLayout(c.curry(b("../layout/points"),"line")),a.registerProcessor("statistic",c.curry(b("../processor/dataSample"),"line")),b("../component/grid")}),aG("echarts/chart/pie",[a2,br,"../echarts","./pie/PieSeries","./pie/PieView","../action/createDataSelectAction","../visual/dataColor","./pie/pieLayout","../processor/dataFilter"],function(b){var c=b(br),a=b("../echarts");b("./pie/PieSeries"),b("./pie/PieView"),b("../action/createDataSelectAction")("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),a.registerVisualCoding("chart",c.curry(b("../visual/dataColor"),"pie")),a.registerLayout(c.curry(b("./pie/pieLayout"),"pie")),a.registerProcessor(bw,c.curry(b("../processor/dataFilter"),"pie"))}),aG("echarts/component/grid",[a2,"../util/graphic",br,"../coord/cartesian/Grid","./axis","../echarts"],function(b){var c=b("../util/graphic"),a=b(br);b("../coord/cartesian/Grid"),b("./axis"),b("../echarts").extendComponentView({type:"grid",render:function(d){this.group[ar](),d.get("show")&&this.group.add(new c.Rect({shape:d[a9].getRect(),style:a[bm]({fill:d.get("backgroundColor")},d.getItemStyle()),silent:!0}))}})}),aG("echarts/component/polar",[a2,"../coord/polar/polarCreator","./angleAxis","./radiusAxis","../echarts"],function(a){a("../coord/polar/polarCreator"),a("./angleAxis"),a("./radiusAxis"),a("../echarts").extendComponentView({type:"polar"})}),aG("echarts/component/title",[a2,"../echarts","../util/graphic","../util/layout"],function(b){var c=b("../echarts"),a=b("../util/graphic"),d=b("../util/layout");c.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),c.extendComponentView({type:"title",render:function(q,H,z){if(this.group[ar](),q.get("show")){var K=this.group,B=q[bo](ba),w=q[bo]("subtextStyle"),D=q.get(bb),J=new a.Text({style:{text:q.get("text"),textFont:B[aR](),fill:B.getTextColor(),textBaseline:"top"},z2:10}),n=J[a1](),E=q.get("subtext"),I=new a.Text({style:{text:E,textFont:w[aR](),fill:w.getTextColor(),y:n[bq]+q.get("itemGap"),textBaseline:"top"},z2:10}),G=q.get("link"),A=q.get("sublink");J.silent=!G,I.silent=!A,G&&J.on("click",function(){window.open(G,"_"+q.get(a6))}),A&&I.on("click",function(){window.open(A,"_"+q.get("subtarget"))}),K.add(J),E&&K.add(I);var F=K[a1](),k=q.getBoxLayoutParams();k.width=F.width,k[bq]=F[bq];var C=d.getLayoutRect(k,{width:z[bl](),height:z[ag]()},q.get("padding"));D||(D=q.get("left")||q.get("right"),D===bc&&(D=bh),"right"===D?C.x+=C.width:D===bh&&(C.x+=C.width/2)),K[aW]=[C.x,C.y],J.setStyle(bb,D),I.setStyle(bb,D),F=K[a1]();var i=C.margin,j=q.getItemStyle(["color",aZ]);j.fill=q.get("backgroundColor");var L=new a.Rect({shape:{x:F.x-i[3],y:F.y-i[0],width:F.width+i[1]+i[3],height:F[bq]+i[0]+i[2]},style:j,silent:!0});a.subPixelOptimizeRect(L),K.add(L)}}})}),aG("echarts/component/legend",[a2,"./legend/LegendModel","./legend/legendAction","./legend/LegendView","../echarts","./legend/legendFilter"],function(a){a("./legend/LegendModel"),a("./legend/legendAction"),a("./legend/LegendView");var b=a("../echarts");b.registerProcessor(bw,a("./legend/legendFilter"))}),aG("echarts/component/tooltip",[a2,"./tooltip/TooltipModel","./tooltip/TooltipView","../echarts"],function(a){a("./tooltip/TooltipModel"),a("./tooltip/TooltipView"),a("../echarts").registerAction({type:"showTip",event:"showTip",update:"none"},function(){}),a("../echarts").registerAction({type:"hideTip",event:"hideTip",update:"none"},function(){})}),aG("zrender/vml/vml",[a2,"./graphic","../zrender","./Painter"],function(a){a("./graphic"),a("../zrender").registerPainter("vml",a("./Painter"))}),aG("echarts/scale/Time",[a2,br,"../util/number","../util/format","./Interval"],function(C){var x=C(br),q=C("../util/number"),k=C("../util/format"),b=C("./Interval"),A=b[aU],j=Math.ceil,D=Math.floor,m=1000,z=60*m,B=60*z,v=24*B,y=function(c,f,a,h){for(;h>a;){var d=a+h>>>1;c[d][2]<f?a=d+1:h=d}return a},w=b[bs]({type:"time",getLabel:function(c){var d=this._stepLvl,a=new Date(c);return k.formatTime(d[0],a)},niceExtent:function(f,i,o){var h=this._extent;if(h[0]===h[1]&&(h[0]-=v,h[1]+=v),h[1]===-1/0&&1/0===h[0]){var d=new Date;h[1]=new Date(d.getFullYear(),d.getMonth(),d.getDate()),h[0]=h[1]-v}this.niceTicks(f);var c=this._interval;i||(h[0]=q.round(D(h[0]/c)*c)),o||(h[1]=q.round(j(h[1]/c)*c))},niceTicks:function(J){J=J||10;var F=this._extent,i=F[1]-F[0],d=i/J,H=g[aD],o=y(g,d,0,H),G=g[Math.min(o,H-1)],I=G[2];if("year"===G[0]){var p=i/I,E=q.nice(p/J,!0);I*=E}var s=[j(F[0]/I)*I,D(F[1]/I)*I];this._stepLvl=G,this._interval=I,this._niceExtent=s},parse:function(a){return +q.parseDate(a)}});x.each([bd,"normalize"],function(a){w[aU][a]=function(c){return A[a].call(this,this.parse(c))}});var g=[["hh:mm:ss",1,m],["hh:mm:ss",5,5*m],["hh:mm:ss",10,10*m],["hh:mm:ss",15,15*m],["hh:mm:ss",30,30*m],["hh:mm\nMM-dd",1,z],["hh:mm\nMM-dd",5,5*z],["hh:mm\nMM-dd",10,10*z],["hh:mm\nMM-dd",15,15*z],["hh:mm\nMM-dd",30,30*z],["hh:mm\nMM-dd",1,B],["hh:mm\nMM-dd",2,2*B],["hh:mm\nMM-dd",6,6*B],["hh:mm\nMM-dd",12,12*B],["MM-dd\nyyyy",1,v],["week",7,7*v],["month",1,31*v],["quarter",3,380*v/4],["half-year",6,380*v/2],["year",1,380*v]];return w[ad]=function(){return new w},w}),aG("echarts/scale/Log",[a2,br,"./Scale","../util/number","./Interval"],function(y){var p=y(br),k=y("./Scale"),g=y("../util/number"),b=y("./Interval"),w=k[aU],f=b[aU],z=Math.floor,j=Math.ceil,v=Math.pow,x=10,m=Math.log,q=k[bs]({type:"log",getTicks:function(){return p.map(f.getTicks.call(this),function(a){return g.round(v(x,a))})},getLabel:f[a7],scale:function(a){return a=w.scale.call(this,a),v(x,a)},setExtent:function(a,c){a=m(a)/m(x),c=m(c)/m(x),f.setExtent.call(this,a,c)},getExtent:function(){var a=w[az].call(this);return a[0]=v(x,a[0]),a[1]=v(x,a[1]),a},unionExtent:function(a){a[0]=m(a[0])/m(x),a[1]=m(a[1])/m(x),w.unionExtent.call(this,a)},niceTicks:function(h){h=h||10;var n=this._extent,d=n[1]-n[0];if(!(1/0===d||0>=d)){var l=v(10,z(m(d/h)/Math.LN10)),c=h/d*l;0.5>=c&&(l*=10);var s=[g.round(j(n[0]/l)*l),g.round(z(n[1]/l)*l)];this._interval=l,this._niceExtent=s}},niceExtent:f.niceExtent});return p.each([bd,"normalize"],function(a){q[aU][a]=function(c){return c=m(c)/m(x),w[a].call(this,c)}}),q[ad]=function(){return new q},q}),aG("echarts/model/Global",[a2,br,"../util/model","./Model","./Component","./globalDefault"],function(z){function L(b,c){for(var a in c){j.hasClass(a)||("object"==typeof c[a]?b[a]=b[a]?N.merge(b[a],c[a],!1):N.clone(c[a]):null==b[a]&&(b[a]=c[a]))}}function H(a){a=a,this[ah]={},this[ah][Q]=1,this._componentsMap={},this._seriesIndices=null,L(a,this._theme[ah]),N.merge(a,k,!1),this.mergeOption(a)}function E(b,c){N[aA](c)||(c=c?[c]:[]);var a={};return M(c,function(d){a[d]=(b[d]||[]).slice()}),a}function B(b,c){var a={};M(c,function(d){var f=d.exist;f&&(a[f.id]=d)}),M(c,function(f){var g=f[ah];if(N.assert(!g||null==g.id||!a[g.id]||a[g.id]===f,"id duplicates: "+(g&&g.id)),g&&null!=g.id&&(a[g.id]=f),F(g)){var d=P(b,g,f.exist);f.keyInfo={mainType:b,subType:d}}}),M(c,function(f){var h=f.exist,i=f[ah],g=f.keyInfo;if(F(i)){if(g.name=null!=i.name?i.name+"":h?h.name:"\x00-",h){g.id=h.id}else{if(null!=i.id){g.id=i.id+""}else{var d=0;do{g.id="\x00"+g.name+"\x00"+d++}while(a[g.id])}}a[g.id]=f}})}function P(b,c,a){var d=c.type?c.type:a?a.subType:j.determineSubType(b,c);return d}function D(a){return C(a,function(b){return b.componentIndex})||[]}function A(a,b){return b.hasOwnProperty("subType")?K(a,function(c){return c.subType===b.subType}):a}function G(a){if(!a._seriesIndices){throw new Error("Series has not been initialized yet.")}}var N=z(br),w=z("../util/model"),I=z("./Model"),M=N.each,K=N[bw],C=N.map,J=N[aA],q=N[aP],F=N[aJ],j=z("./Component"),k=z("./globalDefault"),Q="\x00_ec_inner",O=I[bs]({constructor:O,init:function(b,c,a,d){a=a||{},this[ah]=null,this._theme=new I(a),this._optionManager=d},setOption:function(a,b){N.assert(!(Q in a),"please use chart.getOption()"),this._optionManager.setOption(a,b),this.resetOption()},resetOption:function(c){var f=!1,h=this._optionManager;if(!c||"recreate"===c){var d=h.mountOption("recreate"===c);this[ah]&&"recreate"!==c?(this.restoreData(),this.mergeOption(d)):H.call(this,d),f=!0}if(("timeline"===c||"media"===c)&&this.restoreData(),!c||"recreate"===c||"timeline"===c){var b=h.getTimelineOption(this);b&&(this.mergeOption(b),f=!0)}if(!c||"recreate"===c||"media"===c){var g=h.getMediaOption(this,this._api);g[aD]&&M(g,function(a){this.mergeOption(a,f=!0)},this)}return f},mergeOption:function(d){function g(o,m){var a=w.normalizeToArray(d[o]),i=w.mappingToExists(b[o],a);B(o,i);var n=E(b,m);c[o]=[],b[o]=[],M(i,function(e,u){var l=e.exist,p=e[ah];if(N.assert(F(p)||l,"Empty component definition"),p){var h=j.getClass(o,e.keyInfo.subType,!0);l&&l instanceof h?(l.mergeOption(p,this),l.optionUpdated(this)):(l=new h(p,this,this,N[bs]({dependentModels:n,componentIndex:u},e.keyInfo)),l.optionUpdated(this))}else{l.mergeOption({},this),l.optionUpdated(this)}b[o][u]=l,c[o][u]=l[ah]},this),o===bt&&(this._seriesIndices=D(b[bt]))}var c=this[ah],b=this._componentsMap,f=[];M(d,function(a,h){null!=a&&(j.hasClass(h)?f.push(h):c[h]=null==c[h]?N.clone(a):N.merge(c[h],a,!0))}),j.topologicalTravel(f,j.getAllClassMainTypes(),g,this)},getOption:function(){var a=N.clone(this[ah]);return M(a,function(c,b){if(j.hasClass(b)){for(var c=w.normalizeToArray(c),d=c[aD]-1;d>=0;d--){w.isIdInner(c[d])&&c[a8](d,1)}a[b]=c}}),delete a[Q],a},getTheme:function(){return this._theme},getComponent:function(b,c){var a=this._componentsMap[b];return a?a[c||0]:void 0},queryComponents:function(u){var m=u.mainType;if(!m){return[]}var h=u.index,f=u.id,b=u.name,s=this._componentsMap[m];if(!s||!s[aD]){return[]}var d;if(null!=h){J(h)||(h=[h]),d=K(C(h,function(a){return s[a]}),function(a){return !!a})}else{if(null!=f){var g=J(f);d=K(s,function(a){return g&&q(f,a.id)>=0||!g&&a.id===f})}else{if(null!=b){var p=J(b);d=K(s,function(a){return p&&q(b,a.name)>=0||!p&&a.name===b})}}}return A(d,u)},findComponents:function(d){function g(m){var o=f+"Index",a=f+"Id",p=f+"Name";return m&&(m.hasOwnProperty(o)||m.hasOwnProperty(a)||m.hasOwnProperty(p))?{mainType:f,index:m[o],id:m[a],name:m[p]}:null}function c(a){return d[bw]?K(a,d[bw]):a}var l=d.query,f=d.mainType,b=g(l),h=b?this.queryComponents(b):this._componentsMap[f];return c(A(h,d))},eachComponent:function(b,d,a){var f=this._componentsMap;if(typeof b===aN){a=d,d=b,M(f,function(e,g){M(e,function(h,i){d.call(a,g,h,i)})})}else{if(N.isString(b)){M(f[b],d,a)}else{if(F(b)){var c=this.findComponents(b);M(c,d,a)}}}},getSeriesByName:function(a){var b=this._componentsMap[bt];return K(b,function(c){return c.name===a})},getSeriesByIndex:function(a){return this._componentsMap[bt][a]},getSeriesByType:function(a){var b=this._componentsMap[bt];return K(b,function(c){return c.subType===a})},getSeries:function(){return this._componentsMap[bt].slice()},eachSeries:function(a,b){G(this),M(this._seriesIndices,function(c){var d=this._componentsMap[bt][c];a.call(b,d,c)},this)},eachRawSeries:function(a,b){M(this._componentsMap[bt],a,b)},eachSeriesByType:function(b,c,a){G(this),M(this._seriesIndices,function(e){var d=this._componentsMap[bt][e];d.subType===b&&c.call(a,d,e)},this)},eachRawSeriesByType:function(b,c,a){return M(this.getSeriesByType(b),c,a)},isSeriesFiltered:function(a){return G(this),N[aP](this._seriesIndices,a.componentIndex)<0},filterSeries:function(b,c){G(this);var a=K(this._componentsMap[bt],b,c);this._seriesIndices=D(a)},restoreData:function(){var a=this._componentsMap;this._seriesIndices=D(a[bt]);var b=[];M(a,function(d,c){b.push(c)}),j.topologicalTravel(b,j.getAllClassMainTypes(),function(c){M(a[c],function(d){d.restoreData()})})}});return O}),aG("echarts/ExtensionAPI",[a2,br],function(b){function c(e){a.each(d,function(f){this[f]=a.bind(e[f],e)},this)}var a=b(br),d=["getDom","getZr",bl,ag,"dispatchAction","on","off","getDataURL","getConnectedDataURL",bo,"getOption"];return c}),aG("echarts/CoordinateSystem",[a2],function(){function a(){this._coordinateSystems=[]}var b={};return a[aU]={constructor:a,create:function(e,d){var g=[];for(var f in b){var c=b[f][ad](e,d);c&&(g=g.concat(c))}this._coordinateSystems=g},update:function(d,f){for(var c=this._coordinateSystems,g=0;g<c[aD];g++){c[g][a0]&&c[g][a0](d,f)}}},a.register=function(d,c){b[d]=c},a.get=function(c){return b[c]},a}),aG("echarts/model/OptionManager",[a2,br,"../util/model","./Component"],function(C){function x(a){this._api=a,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function q(h,s){var f,E,p=[],d=[],u=h.timeline;if(h.baseOption&&(E=h.baseOption),(u||h.options)&&(E=E||{},p=(h.options||[]).slice()),h.media){E=E||{};var c=h.media;B(c,function(a){a&&a[ah]&&(a.query?d.push(a):f||(f=a))})}return E||(E=h),E.timeline||(E.timeline=u),B([E].concat(p).concat(D.map(d,function(a){return a[ah]})),function(a){B(s,function(i){i(a)})}),{baseOption:E,timelineOptions:p,mediaDefault:f,mediaList:d}}function k(f,h,d){var l={width:h,height:d,aspectratio:h/d},c=!0;return D.each(f,function(n,r){var a=r.match(g);if(a&&a[1]&&a[2]){var u=a[1],p=a[2][ac]();b(l[p],n,u)||(c=!1)}}),c}function b(c,d,a){return"min"===a?c>=d:"max"===a?d>=c:c===d}function A(a,c){return a.join(",")===c.join(",")}function j(a,c){c=c||{},B(c,function(h,d){if(null!=h){var l=a[d];if(z.hasClass(d)){h=m.normalizeToArray(h),l=m.normalizeToArray(l);var f=m.mappingToExists(l,h);a[d]=y(f,function(e){return e[ah]&&e.exist?w(e.exist,e[ah],!0):e.exist||e[ah]})}else{a[d]=w(l,h,!0)}}})}var D=C(br),m=C("../util/model"),z=C("./Component"),B=D.each,v=D.clone,y=D.map,w=D.merge,g=/^(min|max)?(.+)$/;return x[aU]={constructor:x,setOption:function(a,d){a=v(a,!0);var f=this._optionBackup,c=q.call(this,a,d);this._newBaseOption=c.baseOption,f?(j(f.baseOption,c.baseOption),c.timelineOptions[aD]&&(f.timelineOptions=c.timelineOptions),c.mediaList[aD]&&(f.mediaList=c.mediaList),c.mediaDefault&&(f.mediaDefault=c.mediaDefault)):this._optionBackup=c},mountOption:function(a){var c=this._optionBackup;return this._timelineOptions=y(c.timelineOptions,v),this._mediaList=y(c.mediaList,v),this._mediaDefault=v(c.mediaDefault),this._currentMediaIndices=[],v(a?c.baseOption:this._newBaseOption)},getTimelineOption:function(c){var d,a=this._timelineOptions;if(a[aD]){var f=c[aY]("timeline");f&&(d=v(a[f.getCurrentIndex()],!0))}return d},getMediaOption:function(){var f=this._api[bl](),p=this._api[ag](),d=this._mediaList,n=this._mediaDefault,u=[],h=[];if(!d[aD]&&!n){return h}for(var a=0,E=d[aD];E>a;a++){k(d[a].query,f,p)&&u.push(a)}return !u[aD]&&n&&(u=[-1]),u[aD]&&!A(u,this._currentMediaIndices)&&(h=y(u,function(c){return v(-1===c?n[ah]:d[c][ah])})),this._currentMediaIndices=u,h}},x}),aG("echarts/model/Component",[a2,"./Model",br,"../util/component","../util/clazz","../util/layout","./mixin/boxLayout"],function(k){function h(a){var i=[];return d.each(f.getClassesByMainType(a),function(e){b.apply(i,e[aU].dependencies||[])}),d.map(i,function(e){return c.parseClassType(e).main})}var g=k("./Model"),d=k(br),b=Array[aU].push,j=k("../util/component"),c=k("../util/clazz"),m=k("../util/layout"),f=g[bs]({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,init:function(){this.mergeDefaultAndTheme(this[ah],this[a4])},mergeDefaultAndTheme:function(o,q){var n=this.layoutMode,p=n?m.getLayoutParams(o):{},l=q.getTheme();d.merge(o,l.get(this.mainType)),d.merge(o,this.getDefaultOption()),n&&m.mergeLayoutParam(o,p,n)},mergeOption:function(a){d.merge(this[ah],a,!0);var i=this.layoutMode;i&&m.mergeLayoutParam(this[ah],a,i)},optionUpdated:function(){},getDefaultOption:function(){if(!this.hasOwnProperty("__defaultOption")){for(var o=[],q=this.constructor;q;){var n=q[aU].defaultOption;n&&o.push(n),q=q.superClass}for(var p={},l=o[aD]-1;l>=0;l--){p=d.merge(p,o[l],!0)}this.__defaultOption=p}return this.__defaultOption}});return c.enableClassExtend(f,function(l,o,a,n){d[bs](this,n),this.uid=j.getUID("componentModel")}),c.enableClassManagement(f,{registerWhenExtend:!0}),j.enableSubTypeDefaulter(f),j.enableTopologicalTravel(f,h),d.mixin(f,k("./mixin/boxLayout")),f}),aG("echarts/model/Series",[a2,br,"../util/format","../util/model","./Component"],function(d){var h=d(br),c=d("../util/format"),k=d("../util/model"),g=d("./Component"),b=c.encodeHTML,j=c.addCommas,f=g[bs]({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,init:function(l,m,a){this[bn]=this.componentIndex,this.mergeDefaultAndTheme(l,a),this._dataBeforeProcessed=this.getInitialData(l,a),this._data=this._dataBeforeProcessed.cloneShallow()},mergeDefaultAndTheme:function(e,a){h.merge(e,a.getTheme().get(this.subType)),h.merge(e,this.getDefaultOption()),k.defaultEmphasis(e.label,k.LABEL_OPTIONS),this.fillDataTextStyle(e.data)},mergeOption:function(e,a){e=h.merge(this[ah],e,!0),this.fillDataTextStyle(e.data);var l=this.getInitialData(e,a);l&&(this._data=l,this._dataBeforeProcessed=l.cloneShallow())},fillDataTextStyle:function(a){if(a){for(var i=0;i<a[aD];i++){a[i]&&a[i].label&&k.defaultEmphasis(a[i].label,k.LABEL_OPTIONS)}}},getInitialData:function(){},getData:function(a){return null==a?this._data:this._data.getLinkedData(a)},setData:function(a){this._data=a},getRawData:function(){return this._dataBeforeProcessed},coordDimToDataDim:function(a){return[a]},dataDimToCoordDim:function(a){return a},getBaseAxis:function(){var a=this[a9];return a&&a.getBaseAxis&&a.getBaseAxis()},formatTooltip:function(w,o){var e=this._data,a=this.getRawValue(w),x=h[aA](a)?h.map(a,j).join(", "):j(a),m=e[aT](w),q=e[bg](w,"color"),v='<span style="display:inline-block;margin-right:5px;border-radius:10px;width:9px;height:9px;background-color:'+q+'"></span>',p=this.name;return"\x00-"===p&&(p=""),o?v+b(this.name)+" : "+x:(p&&b(p)+"<br />")+v+(m?b(m)+" : "+x:x)},restoreData:function(){this._data=this._dataBeforeProcessed.cloneShallow()},getAxisTooltipDataIndex:null});return h.mixin(f,k.dataFormatMixin),f}),aG("echarts/view/Component",[a2,"zrender/container/Group","../util/component","../util/clazz"],function(d){var g=d("zrender/container/Group"),c=d("../util/component"),h=d("../util/clazz"),f=function(){this.group=new g,this.uid=c.getUID("viewComponent")};f[aU]={constructor:f,init:function(){},render:function(){},dispose:function(){}};var b=f[aU];return b.updateView=b.updateLayout=b.updateVisual=function(){},h.enableClassExtend(f),h.enableClassManagement(f,{registerWhenExtend:!0}),f}),aG("echarts/view/Chart",[a2,"zrender/container/Group","../util/component","../util/clazz"],function(d){function h(){this.group=new g,this.uid=b.getUID("viewChart")}function c(a,i){if(a&&(a[bj](i),"group"===a.type)){for(var l=0;l<a.childCount();l++){c(a.childAt(l),i)}}}function k(l,o,p){if(null!=o[a5]){var m=l[aV](o[a5]);c(m,p)}else{if(o.name){var i=l.indexOfName(o.name),m=l[aV](i);c(m,p)}else{l.eachItemGraphicEl(function(a){c(a,p)})}}}var g=d("zrender/container/Group"),b=d("../util/component"),j=d("../util/clazz");h[aU]={type:"chart",init:function(){},render:function(){},highlight:function(l,n,a,m){k(l[ax](),m,bi)},downplay:function(l,n,a,m){k(l[ax](),m,a3)},remove:function(){this.group[ar]()},dispose:function(){}};var f=h[aU];return f.updateView=f.updateLayout=f.updateVisual=function(l,m,a,o){this.render(l,m,a,o)},j.enableClassExtend(h),j.enableClassManagement(h,{registerWhenExtend:!0}),h}),aG("echarts/util/graphic",[a2,br,"zrender/tool/path","zrender/graphic/Path","zrender/tool/color","zrender/core/matrix","zrender/core/vector","zrender/graphic/Gradient","zrender/container/Group","zrender/graphic/Image","zrender/graphic/Text","zrender/graphic/shape/Circle","zrender/graphic/shape/Sector","zrender/graphic/shape/Ring","zrender/graphic/shape/Polygon","zrender/graphic/shape/Polyline","zrender/graphic/shape/Rect","zrender/graphic/shape/Line","zrender/graphic/shape/BezierCurve","zrender/graphic/shape/Arc","zrender/graphic/CompoundPath","zrender/graphic/LinearGradient","zrender/graphic/RadialGradient","zrender/core/BoundingRect"],function(x){function N(a){return null!=a&&"none"!=a}function J(a){return a instanceof H?a:m.lift(a,-0.1)}function F(d){if(d.__hoverStlDirty){var i=d.style[aj],f=d.style.fill,c=d.__hoverStl;c.fill=c.fill||(N(f)?J(f):null),c[aj]=c[aj]||(N(i)?J(i):null);var h={};for(var e in c){c.hasOwnProperty(e)&&(h[e]=d.style[e])}d.__normalStl=h,d.__hoverStlDirty=!1}}function B(a){a.__isHover||(F(a),a.setStyle(a.__hoverStl),a.z2+=1,a.__isHover=!0)}function R(a){if(a.__isHover){var c=a.__normalStl;c&&a.setStyle(c),a.z2-=1,a.__isHover=!1}}function E(a){"group"===a.type?a.traverse(function(c){"group"!==c.type&&B(c)}):B(a)}function y(a){"group"===a.type?a.traverse(function(c){"group"!==c.type&&R(c)}):R(a)}function G(a,c){a.__hoverStl=a.hoverStyle||c||{},a.__hoverStlDirty=!0,a.__isHover&&F(a)}function Q(){!this.__isEmphasis&&E(this)}function w(){!this.__isEmphasis&&y(this)}function K(){this.__isEmphasis=!0,E(this)}function O(){this.__isEmphasis=!1,y(this)}function M(I,u,p,h,d,C){typeof d===aN&&(C=d,d=null);var f=I?"Update":"",L=h&&h[ai]("animationDuration"+f),k=h&&h[ai]("animationEasing"+f),z=h&&h[ai]("animationDelay"+f);typeof z===aN&&(z=z(d)),h&&h[ai](al)?u.animateTo(p,L,z||0,k,C):(u.attr(p),C&&C())}var D=x(br),g=x("zrender/tool/path"),A=Math.round,b=x("zrender/graphic/Path"),m=x("zrender/tool/color"),j=x("zrender/core/matrix"),q=x("zrender/core/vector"),H=x("zrender/graphic/Gradient"),v={};return v.Group=x("zrender/container/Group"),v.Image=x("zrender/graphic/Image"),v.Text=x("zrender/graphic/Text"),v.Circle=x("zrender/graphic/shape/Circle"),v[ak]=x("zrender/graphic/shape/Sector"),v.Ring=x("zrender/graphic/shape/Ring"),v.Polygon=x("zrender/graphic/shape/Polygon"),v.Polyline=x("zrender/graphic/shape/Polyline"),v.Rect=x("zrender/graphic/shape/Rect"),v.Line=x("zrender/graphic/shape/Line"),v.BezierCurve=x("zrender/graphic/shape/BezierCurve"),v.Arc=x("zrender/graphic/shape/Arc"),v.CompoundPath=x("zrender/graphic/CompoundPath"),v.LinearGradient=x("zrender/graphic/LinearGradient"),v.RadialGradient=x("zrender/graphic/RadialGradient"),v.BoundingRect=x("zrender/core/BoundingRect"),v.extendShape=function(a){return b[bs](a)},v.extendPath=function(a,c){return g.extendFromString(a,c)},v.makePath=function(P,z,p,h){var d=g.createFromString(P,z),I=d[a1]();if(p){var f=I.width/I[bq];if(h===bh){var S,k=p[bq]*f;k<=p.width?S=p[bq]:(k=p.width,S=k/f);var C=p.x+p.width/2,L=p.y+p[bq]/2;p.x=C-k/2,p.y=L-S/2,p.width=k,p[bq]=S}this.resizePath(d,p)}return d},v.mergePath=g.mergePath,v.resizePath=function(c,d){if(c[aK]){var a=c[a1](),f=a.calculateTransform(d);c[aK](f)}},v.subPixelOptimizeLine=function(c){var d=v.subPixelOptimize,a=c.shape,f=c.style[aM];return A(2*a.x1)===A(2*a.x2)&&(a.x1=a.x2=d(a.x1,f,!0)),A(2*a.y1)===A(2*a.y2)&&(a.y1=a.y2=d(a.y1,f,!0)),c},v.subPixelOptimizeRect=function(f){var l=v.subPixelOptimize,d=f.shape,u=f.style[aM],k=d.x,c=d.y,p=d.width,h=d[bq];return d.x=l(d.x,u,!0),d.y=l(d.y,u,!0),d.width=Math.max(l(k+p,u,!1)-d.x,0===p?0:1),d[bq]=Math.max(l(c+h,u,!1)-d.y,0===h?0:1),f},v.subPixelOptimize=function(c,d,a){var f=A(2*c);return(f+A(d))%2===0?f/2:(f+(a?1:-1))/2},v.setHoverStyle=function(a,c){"group"===a.type?a.traverse(function(d){"group"!==d.type&&G(d,c)}):G(a,c),a.on(ab,Q).on(bf,w),a.on(bi,K).on(a3,O)},v.setText=function(f,k,d){var l=k[ai](aW)||aw,h=l[aP](aw)>=0?"white":d,c=k[bo](ba);D[bs](f,{textDistance:k[ai]("distance")||5,textFont:c[aR](),textPosition:l,textFill:c.getTextColor()||h})},v[aE]=D.curry(M,!0),v.initProps=D.curry(M,!1),v.getTransform=function(c,d){for(var a=j.identity([]);c&&c!==d;){j.mul(a,c.getLocalTransform(),a),c=c.parent}return a},v[aK]=function(c,d,a){return a&&(d=j.invert([],d)),q[aK]([],c,d)},v.transformDirection=function(f,k,d){var l=0===k[4]||0===k[5]||0===k[0]?1:Math.abs(2*k[4]/k[0]),h=0===k[4]||0===k[5]||0===k[2]?1:Math.abs(2*k[4]/k[2]),c=["left"===f?-l:"right"===f?l:0,"top"===f?-h:f===af?h:0];return c=v[aK](c,k,d),Math.abs(c[0])>Math.abs(c[1])?c[0]>0?"right":"left":c[1]>0?af:"top"},v}),aG("zrender/tool/color",[a2],function(){function k(a){return a=Math.round(a),0>a?0:a>255?255:a}function G(a){return a=Math.round(a),0>a?0:a>360?360:a}function C(a){return 0>a?0:a>1?1:a}function z(a){return k(a[aD]&&"%"===a.charAt(a[aD]-1)?parseFloat(a)/100*255:parseInt(a,10))}function w(a){return C(a[aD]&&"%"===a.charAt(a[aD]-1)?parseFloat(a)/100:parseFloat(a))}function J(c,d,a){return 0>a?a+=1:a>1&&(a-=1),1>6*a?c+(d-c)*a*6:1>2*a?d:2>3*a?c+(d-c)*(2/3-a)*6:c}function y(c,d,a){return c+(d-c)*a}function q(h){if(h){h+="";var m=h[aS](/ /g,"")[ac]();if(m in A){return A[m].slice()}if("#"!==m.charAt(0)){var g=m[aP]("("),d=m[aP](")");if(-1!==g&&d+1===m[aD]){var n=m.substr(0,g),l=m.substr(g+1,d-(g+1)).split(","),p=1;switch(n){case"rgba":if(4!==l[aD]){return}p=w(l.pop());case"rgb":if(3!==l[aD]){return}return[z(l[0]),z(l[1]),z(l[2]),p];case"hsla":if(4!==l[aD]){return}return l[3]=w(l[3]),B(l);case"hsl":if(3!==l[aD]){return}return B(l);default:return}}}else{if(4===m[aD]){var f=parseInt(m.substr(1),16);if(!(f>=0&&4095>=f)){return}return[(3840&f)>>4|(3840&f)>>8,240&f|(240&f)>>4,15&f|(15&f)<<4,1]}if(7===m[aD]){var f=parseInt(m.substr(1),16);if(!(f>=0&&16777215>=f)){return}return[(16711680&f)>>16,(65280&f)>>8,255&f,1]}}}}function B(g){var d=(parseFloat(g[0])%360+360)%360/360,p=w(g[1]),h=w(g[2]),f=0.5>=h?h*(p+1):h+p-h*p,a=2*h-f,m=[k(255*J(a,f,d+1/3)),k(255*J(a,f,d)),k(255*J(a,f,d-1/3))];return 4===g[aD]&&(m[3]=g[3]),m}function I(S){if(S){var N,K,p=S[0]/255,g=S[1]/255,Q=S[2]/255,m=Math.min(p,g,Q),T=Math.max(p,g,Q),v=T-m,P=(T+m)/2;if(0===v){N=0,K=0}else{K=0.5>P?v/(T+m):v/(2-T-m);var R=((T-p)/6+v/2)/v,L=((T-g)/6+v/2)/v,O=((T-Q)/6+v/2)/v;p===T?N=O-L:g===T?N=1/3+R-O:Q===T&&(N=2/3+L-R),0>N&&(N+=1),N>1&&(N-=1)}var M=[360*N,K,P];return null!=S[3]&&M.push(S[3]),M}}function j(c,d){var a=q(c);if(a){for(var f=0;3>f;f++){a[f]=0>d?a[f]*(1-d)|0:(255-a[f])*d+a[f]|0}return b(a,4===a[aD]?"rgba":"rgb")}}function D(a){var c=q(a);return c?((1<<24)+(c[0]<<16)+(c[1]<<8)+ +c[2]).toString(16).slice(1):void 0}function H(m,h,f){if(h&&h[aD]&&m>=0&&1>=m){f=f||[0,0,0,0];var d=m*(h[aD]-1),p=Math.floor(d),v=Math.ceil(d),g=h[p],o=h[v],t=d-p;return f[0]=k(y(g[0],o[0],t)),f[1]=k(y(g[1],o[1],t)),f[2]=k(y(g[2],o[2],t)),f[3]=k(y(g[3],o[3],t)),f}}function F(s,i,g){if(i&&i[aD]&&s>=0&&1>=s){var K=s*(i[aD]-1),m=Math.floor(K),v=Math.ceil(K),L=q(i[m]),o=q(i[v]),t=K-m,p=b([k(y(L[0],o[0],t)),k(y(L[1],o[1],t)),k(y(L[2],o[2],t)),C(y(L[3],o[3],t))],"rgba");return g?{color:p,leftIndex:m,rightIndex:v,value:K}:p}}function x(e,d,f,c){return e=q(e),e?(e=I(e),null!=d&&(e[0]=G(d)),null!=f&&(e[1]=w(f)),null!=c&&(e[2]=w(c)),b(B(e),"rgba")):void 0}function E(a,c){return a=q(a),a&&null!=c?(a[3]=C(c),b(a,"rgba")):void 0}function b(a,c){return("rgb"===c||"hsv"===c||"hsl"===c)&&(a=a.slice(0,3)),c+"("+a.join(",")+")"}var A={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]};return{parse:q,lift:j,toHex:D,fastMapToColor:H,mapToColor:F,modifyHSL:x,modifyAlpha:E,stringify:b}}),aG("zrender/core/env",[],function(){function a(A){var L={},I={},F=A.match(/Web[kK]it[\/]{0,1}([\d.]+)/),C=A.match(/(Android);?[\s\/]+([\d.]+)?/),P=A.match(/(iPad).*OS\s([\d_]+)/),E=A.match(/(iPod)(.*OS\s([\d_]+))?/),B=!P&&A.match(/(iPhone\sOS)\s([\d_]+)/),H=A.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),N=H&&A.match(/TouchPad/),z=A.match(/Kindle\/([\d.]+)/),J=A.match(/Silk\/([\d._]+)/),M=A.match(/(BlackBerry).*Version\/([\d.]+)/),D=A.match(/(BB10).*Version\/([\d.]+)/),K=A.match(/(RIM\sTablet\sOS)\s([\d.]+)/),q=A.match(/PlayBook/),G=A.match(/Chrome\/([\d.]+)/)||A.match(/CriOS\/([\d.]+)/),f=A.match(/Firefox\/([\d.]+)/),j=F&&A.match(/Mobile\//)&&!G,Q=A.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/)&&!G,O=A.match(/MSIE\s([\d.]+)/)||A.match(/Trident\/.+?rv:(([\d.]+))/),k=A.match(/Edge\/([\d.]+)/);return(I.webkit=!!F)&&(I.version=F[1]),C&&(L.android=!0,L.version=C[2]),B&&!E&&(L.ios=L.iphone=!0,L.version=B[2][aS](/_/g,".")),P&&(L.ios=L.ipad=!0,L.version=P[2][aS](/_/g,".")),E&&(L.ios=L.ipod=!0,L.version=E[3]?E[3][aS](/_/g,"."):null),H&&(L.webos=!0,L.version=H[2]),N&&(L.touchpad=!0),M&&(L.blackberry=!0,L.version=M[2]),D&&(L.bb10=!0,L.version=D[2]),K&&(L.rimtabletos=!0,L.version=K[2]),q&&(I.playbook=!0),z&&(L.kindle=!0,L.version=z[1]),J&&(I.silk=!0,I.version=J[1]),!J&&L.android&&A.match(/Kindle Fire/)&&(I.silk=!0),G&&(I.chrome=!0,I.version=G[1]),f&&(I.firefox=!0,I.version=f[1]),O&&(I.ie=!0,I.version=O[1]),j&&(A.match(/Safari/)||L.ios)&&(I.safari=!0),Q&&(I.webview=!0),O&&(I.ie=!0,I.version=O[1]),k&&(I.edge=!0,I.version=k[1]),L.tablet=!!(P||q||C&&!A.match(/Mobile/)||f&&A.match(/Tablet/)||O&&!A.match(/Phone/)&&A.match(/Touch/)),L.phone=!(L.tablet||L.ipod||!(C||B||H||M||D||G&&A.match(/Android/)||G&&A.match(/CriOS\/([\d.]+)/)||f&&A.match(/Mobile/)||O&&A.match(/Touch/))),{browser:I,os:L,node:!1,canvasSupported:document[aF]("canvas").getContext?!0:!1,touchEventsSupported:"ontouchstart" in window&&!I.ie&&!I.edge,pointerEventsSupported:"onpointerdown" in window&&(I.edge||I.ie&&I.version>=10)}}var b={};return b=typeof navigator===at?{browser:{},os:{},node:!0,canvasSupported:!0}:a(navigator.userAgent)}),aG(br,[a2,"../graphic/Gradient"],function(bC){function bO(d){if("object"==typeof d&&null!==d){var c=d;if(d instanceof Array){c=[];for(var g=0,e=d[aD];e>g;g++){c[g]=bO(d[g])}}else{if(!K(d)&&!ae(d)){c={};for(var b in d){d.hasOwnProperty(b)&&(c[b]=bO(d[b]))}}}return c}return d}function bL(c,h,e){if(!q(h)||!q(c)){return e?bO(h):c}for(var b in h){if(h.hasOwnProperty(b)){var g=c[b],d=h[b];!q(d)||!q(g)||bT(d)||bT(g)||ae(d)||ae(g)||K(d)||K(g)?!e&&b in c||(c[b]=bO(h[b],!0)):bL(g,d,e)}}return c}function bH(c,g){for(var h=c[0],d=1,b=c[aD];b>d;d++){h=bL(h,c[d],g)}return h}function bE(b,c){for(var a in c){c.hasOwnProperty(a)&&(b[a]=c[a])}return b}function bS(b,c,a){for(var d in c){c.hasOwnProperty(d)&&(a?null!=c[d]:null==b[d])&&(b[d]=c[d])}return b}function bG(){return document[aF]("canvas")}function bD(){return G||(G=f.createCanvas().getContext("2d")),G}function bJ(b,c){if(b){if(b[aP]){return b[aP](c)}for(var a=0,d=b[aD];d>a;a++){if(b[a]===c){return a}}}return -1}function bQ(b,d){function a(){}var g=b[aU];a[aU]=d[aU],b[aU]=new a;for(var c in g){b[aU][c]=g[c]}b[aU].constructor=b,b.superClass=d}function bB(b,c,a){b=aU in b?b[aU]:b,c=aU in c?c[aU]:c,bS(b,c,a)}function bM(a){return a?typeof a==aa?!1:"number"==typeof a[aD]:void 0}function bP(d,h,c){if(d&&h){if(d.forEach&&d.forEach===H){d.forEach(h,c)}else{if(d[aD]===+d[aD]){for(var k=0,g=d[aD];g>k;k++){h.call(c,d[k],k,d)}}else{for(var b in d){d.hasOwnProperty(b)&&h.call(c,d[b],b,d)}}}}}function bF(d,h,c){if(d&&h){if(d.map&&d.map===W){return d.map(h,c)}for(var k=[],g=0,b=d[aD];b>g;g++){k.push(h.call(c,d[g],g,d))}return k}}function bN(d,h,c,k){if(d&&h){if(d.reduce&&d.reduce===J){return d.reduce(h,c,k)}for(var g=0,b=d[aD];b>g;g++){c=h.call(k,c,d[g],g,d)}return c}}function bA(d,h,c){if(d&&h){if(d[bw]&&d[bw]===F){return d[bw](h,c)}for(var k=[],g=0,b=d[aD];b>g;g++){h.call(c,d[g],g,d)&&k.push(d[g])}return k}}function bI(b,d,a){if(b&&d){for(var g=0,c=b[aD];c>g;g++){if(d.call(a,b[g],g,b)){return b[g]}}}}function bx(b,c){var a=Z.call(arguments,2);return function(){return b.apply(c,a.concat(Z.call(arguments)))}}function by(a){var b=Z.call(arguments,1);return function(){return a.apply(this,b.concat(Z.call(arguments)))}}function bT(a){return"[object Array]"===U.call(a)}function bR(a){return typeof a===aN}function bz(a){return"[object String]"===U.call(a)}function q(a){var b=typeof a;return b===aN||!!a&&"object"==b}function K(a){return !!bK[U.call(a)]||a instanceof be}function ae(a){return a&&1===a.nodeType&&typeof a.nodeName==aa}function Y(){for(var a=0,b=arguments[aD];b>a;a++){if(null!=arguments[a]){return arguments[a]}}}function j(){return Function.call.apply(Z,arguments)}function Q(a,b){if(!a){throw new Error(b)}}var G,be=bC("../graphic/Gradient"),bK={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1},U=Object[aU].toString,X=Array[aU],H=X.forEach,F=X[bw],Z=X.slice,W=X.map,J=X.reduce,f={inherits:bQ,mixin:bB,clone:bO,merge:bL,mergeAll:bH,extend:bE,defaults:bS,getContext:bD,createCanvas:bG,indexOf:bJ,slice:j,find:bI,isArrayLike:bM,each:bP,map:bF,reduce:bN,filter:bA,bind:bx,curry:by,isArray:bT,isString:bz,isObject:q,isFunction:bR,isBuildInObject:K,isDom:ae,retrieve:Y,assert:Q,noop:function(){}};return f}),aG("zrender/zrender",[a2,"./core/guid","./core/env","./Handler","./Storage","./animation/Animation","./Painter"],function(w){function m(a){delete p[a]}var j=w("./core/guid"),f=w("./core/env"),b=w("./Handler"),q=w("./Storage"),d=w("./animation/Animation"),x=!f.canvasSupported,g={canvas:w("./Painter")},p={},v={};v.version="0.0.0",v.init=function(a,c){var h=new k(j(),a,c);return p[h.id]=h,h},v.dispose=function(a){if(a){a.dispose()}else{for(var c in p){p[c].dispose()}p={}}return v},v.getInstance=function(a){return p[a]},v.registerPainter=function(a,c){g[a]=c};var k=function(A,r,l){l=l||{},this.dom=r,this.id=A;var y=this,z=new q,n=l.renderer;if(x){if(!g.vml){throw new Error("You need to require 'zrender/vml/vml' to support IE8")}n="vml"}else{n&&g[n]||(n="canvas")}var s=new g[n](r,z,l);this.storage=z,this.painter=s,f.node||(this.handler=new b(s.getViewportRoot(),z,s)),this[al]=new d({stage:{update:function(){y._needsRefresh&&y.refreshImmediately()}}}),this[al].start(),this._needsRefresh;var o=z.delFromMap,a=z.addToMap;z.delFromMap=function(c){var h=z.get(c);o.call(z,c),h&&h.removeSelfFromZr(y)},z.addToMap=function(c){a.call(z,c),c.addSelfToZr(y)}};return k[aU]={constructor:k,getId:function(){return this.id},add:function(a){this.storage.addRoot(a),this._needsRefresh=!0},remove:function(a){this.storage.delRoot(a),this._needsRefresh=!0},configLayer:function(a,c){this.painter.configLayer(a,c),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},resize:function(){this.painter[bv](),this.handler&&this.handler[bv]()},clearAnimation:function(){this[al].clear()},getWidth:function(){return this.painter[bl]()},getHeight:function(){return this.painter[ag]()},pathToImage:function(a,h,i){var c=j();return this.painter.pathToImage(c,a,h,i)},setDefaultCursorStyle:function(a){this.handler.setDefaultCursorStyle(a)},on:function(c,h,a){this.handler&&this.handler.on(c,h,a)},off:function(a,c){this.handler&&this.handler.off(a,c)},trigger:function(a,c){this.handler&&this.handler[bj](a,c)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this[al].stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler&&this.handler.dispose(),this[al]=this.storage=this.painter=this.handler=null,m(this.id)}},v}),aG("zrender/mixin/Eventful",[a2,aH],function(b){var d=Array[aU].slice,a=b(aH),f=a[aP],c=function(){this._$handlers={}};return c[aU]={constructor:c,one:function(h,k,g){var j=this._$handlers;return k&&h?(j[h]||(j[h]=[]),f(j[h],h)>=0?this:(j[h].push({h:k,one:!0,ctx:g||this}),this)):this},on:function(h,j,g){var k=this._$handlers;return j&&h?(k[h]||(k[h]=[]),k[h].push({h:j,one:!1,ctx:g||this}),this):this},isSilent:function(g){var h=this._$handlers;return h[g]&&h[g][aD]},off:function(j,l){var h=this._$handlers;if(!j){return this._$handlers={},this}if(l){if(h[j]){for(var m=[],k=0,g=h[j][aD];g>k;k++){h[j][k].h!=l&&m.push(h[j][k])}h[j]=m}h[j]&&0===h[j][aD]&&delete h[j]}else{delete h[j]}return this},trigger:function(h){if(this._$handlers[h]){var g=arguments,l=g[aD];l>3&&(g=d.call(g,1));for(var j=this._$handlers[h],e=j[aD],k=0;e>k;){switch(l){case 1:j[k].h.call(j[k].ctx);break;case 2:j[k].h.call(j[k].ctx,g[1]);break;case 3:j[k].h.call(j[k].ctx,g[1],g[2]);break;default:j[k].h.apply(j[k].ctx,g)}j[k].one?(j[a8](k,1),e--):k++}}return this},triggerWithContext:function(h){if(this._$handlers[h]){var g=arguments,m=g[aD];m>4&&(g=d.call(g,1,g[aD]-1));for(var k=g[g[aD]-1],e=this._$handlers[h],l=e[aD],j=0;l>j;){switch(m){case 1:e[j].h.call(k);break;case 2:e[j].h.call(k,g[1]);break;case 3:e[j].h.call(k,g[1],g[2]);break;default:e[j].h.apply(k,g)}e[j].one?(e[a8](j,1),l--):j++}}return this}},c}),aG("echarts/loading/default",[a2,"../util/graphic",br],function(b){var c=b("../util/graphic"),a=b(br),d=Math.PI;return function(g,i){i=i||{},a[bm](i,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var f=new c.Rect({style:{fill:i.maskColor},zlevel:i[aO],z:10000}),j=new c.Arc({shape:{startAngle:-d/2,endAngle:-d/2+0.1,r:10},style:{stroke:i.color,lineCap:"round",lineWidth:5},zlevel:i[aO],z:10001}),h=new c.Rect({style:{fill:"none",text:i.text,textPosition:"right",textDistance:10,textFill:i.textColor},zlevel:i[aO],z:10001});j.animateShape(!0).when(1000,{endAngle:3*d/2}).start("circularInOut"),j.animateShape(!0).when(1000,{startAngle:3*d/2}).delay(300).start("circularInOut");var e=new c.Group;return e.add(j),e.add(h),e.add(f),e[bv]=function(){var l=g[bl]()/2,k=g[ag]()/2;j.setShape({cx:l,cy:k});var m=j.shape.r;h.setShape({x:l-m,y:k-m,width:2*m,height:2*m}),f.setShape({x:0,y:0,width:g[bl](),height:g[ag]()})},e[bv](),e}}),aG("echarts/visual/seriesColor",[a2,"zrender/graphic/Gradient"],function(a){var b=a("zrender/graphic/Gradient");return function(d,c,f){function e(h){var j=[c,a3,"color"],g=f.get("color"),k=h[ax](),i=h.get(j)||g[h[bn]%g[aD]];k.setVisual("color",i),f.isSeriesFiltered(h)||(typeof i!==aN||i instanceof b||k.each(function(l){k.setItemVisual(l,"color",i(h[aX](l)))}),k.each(function(m){var n=k[aC](m),l=n.get(j,!0);null!=l&&k.setItemVisual(m,"color",l)}))}d?f.eachSeriesByType(d,e):f.eachSeries(e)}}),aG("echarts/preprocessor/backwardCompat",[a2,br,"./helper/compatStyle"],function(p){function j(c,l){l=l.split(",");for(var a=c,o=0;o<l[aD]&&(a=a&&a[l[o]],null!=a);o++){}return a}function h(s,v,l,x){v=v.split(",");for(var u,c=s,w=0;w<v[aD]-1;w++){u=v[w],null==c[u]&&(c[u]={}),c=c[u]}(x||null==c[v[w]])&&(c[v[w]]=l)}function f(a){k(d,function(c){c[0] in a&&!(c[1] in a)&&(a[c[1]]=a[c[0]])})}var b=p(br),m=p("./helper/compatStyle"),d=[["x","left"],["y","top"],["x2","right"],["y2",af]],q=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],g=["bar","boxplot","candlestick","chord","effectScatter","funnel","gauge","lines","graph","heatmap","line","map","parallel","pie","radar","sankey","scatter","treemap"],k=b.each;return function(a){k(a[bt],function(e){if(b[aJ](e)){var l=e.type;if(m(e),("pie"===l||"gauge"===l)&&null!=e.clockWise&&(e.clockwise=e.clockWise),"gauge"===l){var i=j(e,"pointer.color");null!=i&&h(e,"itemStyle.normal.color",i)}for(var n=0;n<g[aD];n++){if(g[n]===e.type){f(e);break}}}}),a.dataRange&&(a.visualMap=a.dataRange),k(q,function(l){var c=a[l];c&&(b[aA](c)||(c=[c]),k(c,function(e){f(e)}))})}}),aG("echarts/util/format",[a2,br,"./number"],function(w){function m(a){return isNaN(a)?"-":(a=(a+"").split("."),a[0][aS](/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(a[aD]>1?"."+a[1]:""))}function j(a){return a[ac]()[aS](/-(.)/g,function(c,h){return h.toUpperCase()})}function f(a){var c=a[aD];return"number"==typeof a?[a,a,a,a]:2===c?[a[0],a[1],a[0],a[1]]:3===c?[a[0],a[1],a[2],a[1]]:a}function b(a){return String(a)[aS](/&/g,"&amp;")[aS](/</g,"&lt;")[aS](/>/g,"&gt;")[aS](/"/g,"&quot;")[aS](/'/g,"&#39;")}function q(a,c){return"{"+a+(null==c?"":c)+"}"}function d(h,z){p[aA](z)||(z=[z]);var c=z[aD];if(!c){return""}for(var B=z[0].$vars,y=0;y<B[aD];y++){var A=k[y];h=h[aS](q(A),q(A,0))}for(var u=0;c>u;u++){for(var a=0;a<B[aD];a++){h=h[aS](q(k[a],u),z[u][B[a]])}}return h}function x(C,z){("week"===C||"month"===C||"quarter"===C||"half-year"===C||"year"===C)&&(C="MM-dd\nyyyy");var y=v.parseDate(z),u=y.getFullYear(),h=y.getMonth()+1,B=y.getDate(),l=y.getHours(),D=y.getMinutes(),A=y.getSeconds();return C=C[aS]("MM",g(h))[ac]()[aS]("yyyy",u)[aS]("yy",u%100)[aS]("dd",g(B))[aS]("d",B)[aS]("hh",g(l))[aS]("h",l)[aS]("mm",g(D))[aS]("m",D)[aS]("ss",g(A))[aS]("s",A)}function g(a){return 10>a?"0"+a:a}var p=w(br),v=w("./number"),k=["a","b","c","d","e","f","g"];return{normalizeCssArray:f,addCommas:m,toCamelCase:j,encodeHTML:b,formatTpl:d,formatTime:x}}),aG("echarts/util/number",[a2],function(){function b(d){return d[aS](/^\s+/,"")[aS](/\s+$/,"")}var c={},a=0.0001;return c.linearMap=function(g,j,f,k){var h=j[1]-j[0],d=f[1]-f[0];if(0===h){return 0===d?f[0]:(f[0]+f[1])/2}if(k){if(h>0){if(g<=j[0]){return f[0]}if(g>=j[1]){return f[1]}}else{if(g>=j[0]){return f[0]}if(g<=j[1]){return f[1]}}}else{if(g===j[0]){return f[0]}if(g===j[1]){return f[1]}}return(g-j[0])/h*d+f[0]},c[am]=function(f,d){switch(f){case bh:case bc:f="50%";break;case"left":case"top":f="0%";break;case"right":case af:f="100%"}return typeof f===aa?b(f).match(/%$/)?parseFloat(f)/100*d:parseFloat(f):null==f?0/0:+f},c.round=function(d){return +(+d).toFixed(10)},c.asc=function(d){return d.sort(function(f,g){return f-g}),d},c.getPrecision=function(f){if(isNaN(f)){return 0}for(var g=1,d=0;Math.round(f*g)/g!==f;){g*=10,d++}return d},c.getPixelPrecision=function(g,j){var f=Math.log,k=Math.LN10,h=Math.floor(f(g[1]-g[0])/k),d=Math.round(f(Math.abs(j[1]-j[0]))/k);return Math.max(-h+d,0)},c.MAX_SAFE_INTEGER=9007199254740991,c.remRadian=function(d){var f=2*Math.PI;return(d%f+f)%f},c.isRadianAroundZero=function(d){return d>-a&&a>d},c.parseDate=function(d){return d instanceof Date?d:new Date(typeof d===aa?d[aS](/-/g,"/"):Math.round(d))},c.quantity=function(d){return Math.pow(10,Math.floor(Math.log(d)/Math.LN10))},c.nice=function(f,e){var h,g=c.quantity(f),d=f/g;return h=e?1.5>d?1:2.5>d?2:4>d?3:7>d?5:10:1>d?1:2>d?2:3>d?3:5>d?5:10,h*g},c}),aG("zrender/core/matrix",[],function(){var a=typeof Float32Array===at?Array:Float32Array,b={create:function(){var c=new a(6);return b.identity(c),c},identity:function(c){return c[0]=1,c[1]=0,c[2]=0,c[3]=1,c[4]=0,c[5]=0,c},copy:function(c,d){return c[0]=d[0],c[1]=d[1],c[2]=d[2],c[3]=d[3],c[4]=d[4],c[5]=d[5],c},mul:function(m,j,h){var f=j[0]*h[0]+j[2]*h[1],c=j[1]*h[0]+j[3]*h[1],k=j[0]*h[2]+j[2]*h[3],d=j[1]*h[2]+j[3]*h[3],p=j[0]*h[4]+j[2]*h[5]+j[4],g=j[1]*h[4]+j[3]*h[5]+j[5];return m[0]=f,m[1]=c,m[2]=k,m[3]=d,m[4]=p,m[5]=g,m},translate:function(d,f,c){return d[0]=f[0],d[1]=f[1],d[2]=f[2],d[3]=f[3],d[4]=f[4]+c[0],d[5]=f[5]+c[1],d},rotate:function(v,k,j){var g=k[0],d=k[2],p=k[4],f=k[1],w=k[3],h=k[5],m=Math.sin(j),q=Math.cos(j);return v[0]=g*q+f*m,v[1]=-g*m+f*q,v[2]=d*q+w*m,v[3]=-d*m+q*w,v[4]=q*p+m*h,v[5]=q*h-m*p,v},scale:function(d,g,c){var h=c[0],f=c[1];return d[0]=g[0]*h,d[1]=g[1]*f,d[2]=g[2]*h,d[3]=g[3]*f,d[4]=g[4]*h,d[5]=g[5]*f,d},invert:function(m,j){var h=j[0],f=j[2],c=j[4],k=j[1],d=j[3],p=j[5],g=h*d-k*f;return g?(g=1/g,m[0]=d*g,m[1]=-k*g,m[2]=-f*g,m[3]=h*g,m[4]=(f*p-d*c)*g,m[5]=(k*c-h*p)*g,m):null}};return b}),aG("zrender/core/vector",[],function(){var a=typeof Float32Array===at?Array:Float32Array,b={create:function(d,c){var f=new a(2);return f[0]=d||0,f[1]=c||0,f},copy:function(c,d){return c[0]=d[0],c[1]=d[1],c},clone:function(d){var c=new a(2);return c[0]=d[0],c[1]=d[1],c},set:function(d,f,c){return d[0]=f,d[1]=c,d},add:function(d,f,c){return d[0]=f[0]+c[0],d[1]=f[1]+c[1],d},scaleAndAdd:function(d,f,c,g){return d[0]=f[0]+c[0]*g,d[1]=f[1]+c[1]*g,d},sub:function(d,f,c){return d[0]=f[0]-c[0],d[1]=f[1]-c[1],d},len:function(c){return Math.sqrt(this.lenSquare(c))},lenSquare:function(c){return c[0]*c[0]+c[1]*c[1]},mul:function(d,f,c){return d[0]=f[0]*c[0],d[1]=f[1]*c[1],d},div:function(d,f,c){return d[0]=f[0]/c[0],d[1]=f[1]/c[1],d},dot:function(c,d){return c[0]*d[0]+c[1]*d[1]},scale:function(d,f,c){return d[0]=f[0]*c,d[1]=f[1]*c,d},normalize:function(d,c){var e=b.len(c);return 0===e?(d[0]=0,d[1]=0):(d[0]=c[0]/e,d[1]=c[1]/e),d},distance:function(c,d){return Math.sqrt((c[0]-d[0])*(c[0]-d[0])+(c[1]-d[1])*(c[1]-d[1]))},distanceSquare:function(c,d){return(c[0]-d[0])*(c[0]-d[0])+(c[1]-d[1])*(c[1]-d[1])},negate:function(c,d){return c[0]=-d[0],c[1]=-d[1],c},lerp:function(d,f,c,g){return d[0]=f[0]+g*(c[0]-f[0]),d[1]=f[1]+g*(c[1]-f[1]),d},applyTransform:function(d,g,c){var h=g[0],f=g[1];return d[0]=c[0]*h+c[2]*f+c[4],d[1]=c[1]*h+c[3]*f+c[5],d},min:function(d,f,c){return d[0]=Math.min(f[0],c[0]),d[1]=Math.min(f[1],c[1]),d},max:function(d,f,c){return d[0]=Math.max(f[0],c[0]),d[1]=Math.max(f[1],c[1]),d}};return b[aD]=b.len,b.lengthSquare=b.lenSquare,b.dist=b.distance,b.distSquare=b.distanceSquare,b}),aG("echarts/coord/cartesian/Grid",[a2,"exports","../../util/layout","../../coord/axisHelper",br,"./Cartesian2D","./Axis2D","./GridModel","../../CoordinateSystem"],function(B){function w(d,f,a){return a[aY]("grid",d.get("gridIndex"))===f}function l(g){var u,f=g.model,C=f.getFormattedLabels(),p=1,d=C[aD];d>40&&(p=Math.ceil(d/40));for(var v=0;d>v;v+=p){if(!g.isLabelIgnored(v)){var h=f.getTextRect(C[v]);u?u.union(h):u=h}}return u}function k(d,f,a){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(d,f,a),this._model=d}function b(d,f){var a=d[az](),g=a[0]+a[1];d.toGlobalCoord="x"===d.dim?function(e){return e+f}:function(e){return g-e+f},d.toLocalCoord="x"===d.dim?function(e){return e-f}:function(e){return g-e+f}}var y=B("../../util/layout"),j=B("../../coord/axisHelper"),A=B(br),m=B("./Cartesian2D"),x=B("./Axis2D"),s=A.each,c=j.ifAxisCrossZero,q=j.niceScaleExtent;B("./GridModel");var z=k[aU];return z.type="grid",z.getRect=function(){return this._rect},z[a0]=function(d,f){function a(n){var p=g[n];for(var h in p){var o=p[h];if(o&&(o.type===aI||!c(o))){return !0}}return !1}var g=this._axesMap;this._updateScale(d,this._model),s(g.x,function(e){q(e,e.model)}),s(g.y,function(e){q(e,e.model)}),s(g.x,function(e){a("y")&&(e.onZero=!1)}),s(g.y,function(e){a("x")&&(e.onZero=!1)}),this[bv](this._model,f)},z[bv]=function(a,f){function h(){s(d,function(p){var r=p.isHorizontal(),o=r?[0,g.width]:[0,g[bq]],u=p.inverse?1:0;p.setExtent(o[u],o[1-u]),b(p,r?g.x:g.y)})}var g=y.getLayoutRect(a.getBoxLayoutParams(),{width:f[bl](),height:f[ag]()});this._rect=g;var d=this._axesList;h(),a.get("containLabel")&&(s(d,function(i){if(!i.model.get("axisLabel.inside")){var p=l(i);if(p){var u=i.isHorizontal()?bq:"width",o=i.model.get("axisLabel.margin");g[u]-=p[u]+o,"top"===i[aW]?g.y+=p[bq]+o:"left"===i[aW]&&(g.x+=p.width+o)}}}),h())},z.getAxis=function(d,f){var a=this._axesMap[d];if(null!=a){if(null==f){for(var g in a){return a[g]}}return a[f]}},z.getCartesian=function(d,f){var a="x"+d+"y"+f;return this._coordsMap[a]},z._initCartesian=function(f,e){function o(a){return function(i,n){if(w(i,f,e)){var r=i.get(aW);"x"===a?("top"!==r&&r!==af&&(r=af),h[r]&&(r="top"===r?af:"top")):("left"!==r&&"right"!==r&&(r="left"),h[r]&&(r="left"===r?"right":"left")),h[r]=!0;var t=new x(a,j.createScaleByModel(i),[0,0],i.get("type"),r),v=t.type===aI;t.onBand=v&&i.get("boundaryGap"),t.inverse=i.get("inverse"),t.onZero=i.get("axisLine.onZero"),i.axis=t,t.model=i,t.index=n,this._axesList.push(t),d[a][n]=t,g[a]++}}}var h={left:!1,right:!1,top:!1,bottom:!1},d={x:{},y:{}},g={x:0,y:0};return e.eachComponent("xAxis",o("x"),this),e.eachComponent("yAxis",o("y"),this),g.x&&g.y?(this._axesMap=d,void s(d.x,function(a,i){s(d.y,function(t,v){var u="x"+i+"y"+v,p=new m(u);p.grid=this,this._coordsMap[u]=p,this._coordsList.push(p),p.addAxis(a),p.addAxis(t)},this)},this)):(this._axesMap={},void (this._axesList=[]))},z._updateScale=function(d,a){function e(g,h,f){s(f.coordDimToDataDim(h.dim),function(n){h.scale.unionExtent(g.getDataExtent(n,h.scale.type!==ay))})}A.each(this._axesList,function(f){f.scale.setExtent(1/0,-1/0)}),d.eachSeries(function(f){if("cartesian2d"===f.get(a9)){var v=f.get("xAxisIndex"),g=f.get("yAxisIndex"),D=d[aY]("xAxis",v),i=d[aY]("yAxis",g);if(!w(D,a,d)||!w(i,a,d)){return}var t=this.getCartesian(v,g),C=f[ax](),n=t.getAxis("x"),p=t.getAxis("y");"list"===C.type&&(e(C,n,f),e(C,p,f))}},this)},k[ad]=function(d,f){var a=[];return d.eachComponent("grid",function(g,e){var h=new k(g,d,f);h.name="grid_"+e,h[bv](g,f),g[a9]=h,a.push(h)}),d.eachSeries(function(i){if("cartesian2d"===i.get(a9)){var o=i.get("xAxisIndex"),h=d[aY]("xAxis",o),g=a[h.get("gridIndex")];i[a9]=g.getCartesian(o,i.get("yAxisIndex"))}}),a},k[ao]=m[aU][ao],B("../../CoordinateSystem").register("cartesian2d",k),k}),aG("echarts/chart/bar/BarSeries",[a2,"../../model/Series","../helper/createListFromArray"],function(b){var c=b("../../model/Series"),a=b("../helper/createListFromArray");return c[bs]({type:"series.bar",dependencies:["grid","polar"],getInitialData:function(d,f){return a(d.data,this,f)},getMarkerPosition:function(g){var k=this[a9];if(k){var f=k[au](g),l=this[ax](),j=l.getLayout("offset"),d=l.getLayout("size"),h=k.getBaseAxis().isHorizontal()?0:1;return f[h]+=j+d/2,f}return[0/0,0/0]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,barMinHeight:0,itemStyle:{normal:{barBorderColor:"#fff",barBorderWidth:0},emphasis:{barBorderColor:"#fff",barBorderWidth:0}}}})}),aG("echarts/chart/bar/BarView",[a2,br,aL,"../../model/Model","./barItemStyle",ap],function(b){function c(g,h){var f=g.width>0?1:-1,j=g[bq]>0?1:-1;h=Math.min(h,Math.abs(g.width),Math.abs(g[bq])),g.x+=f*h/2,g.y+=j*h/2,g.width-=f*h,g[bq]-=j*h}var a=b(br),d=b(aL);return a[bs](b("../../model/Model")[aU],b("./barItemStyle")),b(ap).extendChartView({type:"bar",render:function(g,h,f){var j=g.get(a9);return"cartesian2d"===j&&this._renderOnCartesian(g,h,f),this.group},_renderOnCartesian:function(p){function e(x,t){var w=g.getItemLayout(x),o=g[aC](x).get(i)||0;c(w,o);var z=new d.Rect({shape:a[bs]({},w)});if(j){var y=z.shape,u=n?bq:"width",f={};y[u]=0,f[u]=w[u],d[t?aE:"initProps"](z,{shape:f},p,x)}return z}var m=this.group,g=p[ax](),q=this._data,h=p[a9],k=h.getBaseAxis(),n=k.isHorizontal(),j=p.get(al),i=["itemStyle",a3,"barBorderWidth"];g.diff(q).add(function(f){if(g.hasValue(f)){var l=e(f);g.setItemGraphicEl(f,l),m.add(l)}})[a0](function(r,f){var t=q[aV](f);if(!g.hasValue(r)){return void m[aq](t)}t||(t=e(r,!0));var o=g.getItemLayout(r),s=g[aC](r).get(i)||0;c(o,s),d[aE](t,{shape:o},p,r),g.setItemGraphicEl(r,t),m.add(t)})[aq](function(l){var f=q[aV](l);f&&(f.style.text="",d[aE](f,{shape:{width:0}},p,l,function(){m[aq](f)}))}).execute(),this._updateStyle(p,g,n),this._data=g},_updateStyle:function(g,i,h){function f(l,n,k,m,j){d.setText(l,n,k),l.text=m,"outside"===l.textPosition&&(l.textPosition=j)}i.eachItemGraphicEl(function(j,B){var n=i[aC](B),w=i[bg](B,"color"),A=i[bg](B,aZ),t=i.getItemLayout(B),r=n[bo]("itemStyle.normal"),e=n[bo]("itemStyle.emphasis").getBarItemStyle();j.setShape("r",r.get("barBorderRadius")||0),j.useStyle(a[bm]({fill:w,opacity:A},r.getBarItemStyle()));var q=h?t[bq]>0?af:"top":t.width>0?"left":"right",z=n[bo]("label.normal"),k=n[bo]("label.emphasis"),x=j.style;z.get("show")?f(x,z,w,a.retrieve(g.getFormattedLabel(B,a3),g.getRawValue(B)),q):x.text="",k.get("show")?f(e,k,w,a.retrieve(g.getFormattedLabel(B,bi),g.getRawValue(B)),q):e.text="",d.setHoverStyle(j,e)})},remove:function(f){var g=this.group;f.get(al)?this._data&&this._data.eachItemGraphicEl(function(e){e.style.text="",d[aE](e,{shape:{width:0}},f,e[a5],function(){g[aq](e)})}):g[ar]()}})}),aG("echarts/layout/barGrid",[a2,br,"../util/number"],function(d){function g(a){return a.get("stack")||"__ec_stack_"+a[bn]}function c(e){var a={};f.each(e,function(z){var p=z[a9],i=p.getBaseAxis(),x=a[i.index]||{remainedWidth:i.getBandWidth(),autoWidthCount:0,categoryGap:"20%",gap:"30%",axis:i,stacks:{}},m=x.stacks;a[i.index]=x;var A=g(z);m[A]||x.autoWidthCount++,m[A]=m[A]||{width:0,maxWidth:0};var q=z.get("barWidth"),w=z.get("barMaxWidth"),y=z.get("barGap"),v=z.get("barCategoryGap");q&&!m[A].width&&(q=Math.min(x.remainedWidth,q),m[A].width=q,x.remainedWidth-=q),w&&(m[A].maxWidth=w),null!=y&&(x.gap=y),null!=v&&(x.categoryGap=v)});var k={};return f.each(a,function(B,w){k[w]={};var o=B.stacks,z=B.axis,C=z.getBandWidth(),n=h(B.categoryGap,C),y=h(B.gap,1),A=B.remainedWidth,q=B.autoWidthCount,x=(A-n)/(q+(q-1)*y);x=Math.max(x,0),f.each(o,function(i){var l=i.maxWidth;!i.width&&l&&x>l&&(l=Math.min(l,A),A-=l,i.width=l,q--)}),x=(A-n)/(q+(q-1)*y),x=Math.max(x,0);var v,m=0;f.each(o,function(i){i.width||(i.width=x),v=i,m+=i.width*(1+y)}),v&&(m-=v.width*y);var r=-m/2;f.each(o,function(p,l){k[w][l]=k[w][l]||{offset:r,width:p.width},r+=p.width*(1+y)})}),k}function j(i,l){var e=c(f[bw](l.getSeriesByType(i),function(a){return !l.isSeriesFiltered(a)&&a[a9]&&"cartesian2d"===a[a9].type})),k={};l.eachSeriesByType(i,function(B){var v=B[ax](),o=B[a9],a=o.getBaseAxis(),C=g(B),q=e[a.index][C],z=q.offset,A=q.width,w=o.getOtherAxis(a),y=B.get("barMinHeight")||0,x=a.onZero?w.toGlobalCoord(w.dataToCoord(0)):w.getGlobalExtent()[0],m=o.dataToPoints(v,!0);k[C]=k[C]||[],v.setLayout({offset:z,size:A}),v.each(w.dim,function(I,F){if(!isNaN(I)){k[C][F]||(k[C][F]={p:x,n:x});var s,p,G,D,E=I>=0?"p":"n",H=m[F],u=k[C][F][E];w.isHorizontal()?(s=u,p=H[1]+z,G=H[0]-u,D=A,Math.abs(G)<y&&(G=(0>G?-1:1)*y),k[C][F][E]+=G):(s=H[0]+z,p=u,G=A,D=H[1]-u,Math.abs(D)<y&&(D=(0>=D?-1:1)*y),k[C][F][E]+=D),v.setItemLayout(F,{x:s,y:p,width:G,height:D})}},!0)},this)}var f=d(br),b=d("../util/number"),h=b[am];return j}),aG("echarts/chart/line/LineSeries",[a2,"../helper/createListFromArray","../../model/Series"],function(b){var c=b("../helper/createListFromArray"),a=b("../../model/Series");return a[bs]({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,d){return c(e.data,this,d)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,polarIndex:0,clipOverflow:!0,label:{normal:{position:"top"}},lineStyle:{normal:{width:2,type:"solid"}},smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:!1,connectNulls:!1,sampling:"none",animationEasing:"linear"}})}),aG("echarts/chart/line/LineView",[a2,br,"../helper/SymbolDraw","../helper/Symbol","./lineAnimationDiff",aL,"./poly","../../view/Chart"],function(E){function o(c,f){if(c[aD]===f[aD]){for(var b=0;b<c[aD];b++){var h=c[b],d=f[b];if(h[0]!==d[0]||h[1]!==d[1]){return}}return !0}}function k(b){return"number"==typeof b?b:b?0.3:0}function a(c){var d=c.getGlobalExtent();if(c.onBand){var b=c.getBandWidth()/2-1,f=d[1]>d[0]?1:-1;d[0]+=f*b,d[1]-=f*b}return d}function F(b){return b>=0?1:-1}function w(h,p){var f=h.getBaseAxis(),m=h.getOtherAxis(f),d=f.onZero?0:m.scale[az]()[0],b=m.dim,s="x"===b||b===av?1:0;return p.mapArray([b],function(x,i){for(var c,e=p.stackedOn;e&&F(e.get(b,i))===F(x);){c=e;break}var t=[];return t[s]=p.get(f.dim,i),t[1-s]=c?c.get(b,i,!0):d,h[au](t)},!0)}function D(b,c){return null!=c[a5]?c[a5]:null!=c.name?b.indexOfName(c.name):void 0}function l(L,G,r){var m=a(L.getAxis("x")),J=a(L.getAxis("y")),b=L.getBaseAxis().isHorizontal(),M=Math.min(m[0],m[1]),p=Math.min(J[0],J[1]),I=Math.max(m[0],m[1])-M,K=Math.max(J[0],J[1])-p,x=r.get("lineStyle.normal.width")||2,H=r.get("clipOverflow")?x/2:Math.max(I,K);b?(p-=H,K+=2*H):(M-=H,I+=2*H);var y=new C.Rect({shape:{x:M,y:p,width:I,height:K}});return G&&(y.shape[b?"width":bq]=0,C.initProps(y,{shape:{width:I,height:K}},r)),y}function v(u,m,h){var d=u.getAngleAxis(),b=u.getRadiusAxis(),p=b[az](),c=d[az](),x=Math.PI/180,f=new C[ak]({shape:{cx:u.cx,cy:u.cy,r0:p[0],r:p[1],startAngle:-c[0]*x,endAngle:-c[1]*x,clockwise:d.inverse}});return m&&(f.shape.endAngle=-c[0]*x,C.initProps(f,{shape:{endAngle:-c[1]*x}},h)),f}function n(c,d,b){return"polar"===c.type?v(c,d,b):l(c,d,b)}var g=E(br),j=E("../helper/SymbolDraw"),A=E("../helper/Symbol"),B=E("./lineAnimationDiff"),C=E(aL),z=E("./poly"),q=E("../../view/Chart");return q[bs]({type:"line",init:function(){var b=new C.Group,c=new j;this.group.add(c.group),this._symbolDraw=c,this._lineGroup=b},render:function(N,W,R){var by=N[a9],V=this.group,O=N[ax](),Y=N[bo]("lineStyle.normal"),K=N[bo]("areaStyle.normal"),Z=O.mapArray(O.getItemLayout,!0),be="polar"===by.type,ae=this._coordSys,X=this._symbolDraw,H=this._polyline,I=this._polygon,bz=this._lineGroup,bx=N.get(al),J=!K.isEmpty(),e=w(by,O),i=N.get("showSymbol"),U=i&&!be&&!N.get("showAllSymbol")&&this._getSymbolIgnoreFunc(O,by),Q=this._data;Q&&Q.eachItemGraphicEl(function(b,d){b.__temp&&(V[aq](b),Q.setItemGraphicEl(d,null))}),i||X[aq](),V.add(bz),H&&ae.type===by.type?(J&&!I?I=this._newPolygon(Z,e,by,bx):I&&!J&&(bz[aq](I),I=this._polygon=null),bz.setClipPath(n(by,!1,N)),i&&X.updateData(O,U),O.eachItemGraphicEl(function(b){b.stopAnimation(!0)}),o(this._stackedOnPoints,e)&&o(this._points,Z)||(bx?this._updateAnimation(O,e,by,R):(H.setShape({points:Z}),I&&I.setShape({points:Z,stackedOnPoints:e})))):(i&&X.updateData(O,U),H=this._newPolyline(Z,by,bx),J&&(I=this._newPolygon(Z,e,by,bx)),bz.setClipPath(n(by,!0,N))),H.useStyle(g[bm](Y.getLineStyle(),{fill:"none",stroke:O.getVisual("color"),lineJoin:"bevel"}));var c=N.get("smooth");if(c=k(N.get("smooth")),H.setShape({smooth:c,smoothMonotone:N.get("smoothMonotone"),connectNulls:N.get("connectNulls")}),I){var p=O.stackedOn,f=0;if(I.useStyle(g[bm](K.getAreaStyle(),{fill:O.getVisual("color"),opacity:0.7,lineJoin:"bevel"})),p){var G=p.hostModel;f=k(G.get("smooth"))}I.setShape({smooth:c,stackedOnSmooth:f,smoothMonotone:N.get("smoothMonotone"),connectNulls:N.get("connectNulls")})}this._data=O,this._coordSys=by,this._stackedOnPoints=e,this._points=Z},highlight:function(d,m,c,u){var h=d[ax](),b=D(h,u);if(null!=b&&b>=0){var p=h[aV](b);if(!p){var f=h.getItemLayout(b);p=new A(h,b,c),p[aW]=f,p.setZ(d.get(aO),d.get("z")),p[bk]=isNaN(f[0])||isNaN(f[1]),p.__temp=!0,h.setItemGraphicEl(b,p),p.stopSymbolAnimation(!0),this.group.add(p)}p.highlight()}else{q[aU].highlight.call(this,d,m,c,u)}},downplay:function(d,h,c,p){var f=d[ax](),b=D(f,p);if(null!=b&&b>=0){var m=f[aV](b);m&&(m.__temp?(f.setItemGraphicEl(b,null),this.group[aq](m)):m.downplay())}else{q[aU].downplay.call(this,d,h,c,p)}},_newPolyline:function(b){var c=this._polyline;return c&&this._lineGroup[aq](c),c=new z.Polyline({shape:{points:b},silent:!0,z2:10}),this._lineGroup.add(c),this._polyline=c,c},_newPolygon:function(c,d){var b=this._polygon;return b&&this._lineGroup[aq](b),b=new z.Polygon({shape:{points:c,stackedOnPoints:d},silent:!0}),this._lineGroup.add(b),this._polygon=b,b},_getSymbolIgnoreFunc:function(c,d){var b=d.getAxesByScale(ay)[0];return b&&b.isLabelIgnored?g.bind(b.isLabelIgnored,b):void 0},_updateAnimation:function(J,y,p){var f=this._polyline,b=this._polygon,H=J.hostModel,d=B(this._data,J,this._stackedOnPoints,y,this._coordSys,p);f.shape.points=d.current,C[aE](f,{shape:{points:d.next}},H),b&&(b.setShape({points:d.current,stackedOnPoints:d.stackedOnCurrent}),C[aE](b,{shape:{points:d.next,stackedOnPoints:d.stackedOnNext}},H));for(var K=[],m=d.status,G=0;G<m[aD];G++){var I=m[G].cmd;if("="===I){var x=J[aV](m[G].idx1);x&&K.push({el:x,ptIdx:G})}}f.animators&&f.animators[aD]&&f.animators[0].during(function(){for(var c=0;c<K[aD];c++){var h=K[c].el;h.attr(aW,f.shape.points[K[c].ptIdx])}})},remove:function(){var b=this.group,c=this._data;this._lineGroup[ar](),this._symbolDraw[aq](!0),c&&c.eachItemGraphicEl(function(d,e){d.__temp&&(b[aq](d),c.setItemGraphicEl(e,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}})}),aG("echarts/visual/symbol",[a2],function(){return function(b,c,a,d){d.eachRawSeriesByType(b,function(f){var g=f[ax](),e=f.get("symbol")||c,h=f.get("symbolSize");g.setVisual({legendSymbol:a||e,symbol:e,symbolSize:h}),d.isSeriesFiltered(f)||(typeof h===aN&&g.each(function(k){var j=f.getRawValue(k),l=f[aX](k);g.setItemVisual(k,"symbolSize",h(j,l))}),g.each(function(k){var l=g[aC](k),j=l.get("symbol",!0),m=l.get("symbolSize",!0);null!=j&&g.setItemVisual(k,"symbol",j),null!=m&&g.setItemVisual(k,"symbolSize",m)}))})}}),aG("echarts/layout/points",[a2],function(){return function(a,b){b.eachSeriesByType(a,function(d){var f=d[ax](),c=d[a9];if(c){var g=c[ao];f.each(g,function(h,j,i){var e;e=isNaN(h)||isNaN(j)?[0/0,0/0]:c[au]([h,j]),f.setItemLayout(i,e)},!0)}})}}),aG("echarts/processor/dataSample",[],function(){var a={average:function(d){for(var f=0,c=0,g=0;g<d[aD];g++){isNaN(d[g])||(f+=d[g],c++)}return 0===c?0/0:f/c},sum:function(d){for(var f=0,c=0;c<d[aD];c++){f+=d[c]||0}return f},max:function(d){for(var f=-1/0,c=0;c<d[aD];c++){d[c]>f&&(f=d[c])}return f},min:function(d){for(var f=1/0,c=0;c<d[aD];c++){d[c]<f&&(f=d[c])}return f},nearest:function(c){return c[0]}},b=function(c){return Math.round(c[aD]/2)};return function(c,d){d.eachSeriesByType(c,function(k){var g=k[ax](),e=k.get("sampling"),q=k[a9];if("cartesian2d"===q.type&&e){var f=q.getBaseAxis(),v=q.getOtherAxis(f),j=f[az](),p=j[1]-j[0],t=Math.round(g.count()/p);if(t>1){var m;typeof e===aa?m=a[e]:typeof e===aN&&(m=e),m&&(g=g.downSample(v.dim,1/t,m,b),k.setData(g))}}},this)}}),aG("echarts/chart/pie/PieSeries",[a2,"../../data/List",br,"../../util/model","../../data/helper/completeDimensions","../../component/helper/selectableMixin",ap],function(d){var g=d("../../data/List"),c=d(br),j=d("../../util/model"),b=d("../../data/helper/completeDimensions"),h=d("../../component/helper/selectableMixin"),f=d(ap).extendSeriesModel({type:"series.pie",init:function(a){f.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._dataBeforeProcessed},this.updateSelectedMap(a.data),this._defaultLabelLine(a)},mergeOption:function(a){f.superCall(this,"mergeOption",a),this.updateSelectedMap(this[ah].data)},getInitialData:function(e){var a=b(["value"],e.data),k=new g(a,this);return k.initData(e.data),k},getDataParams:function(k){var l=this._data,a=f.superCall(this,aX,k),m=l.getSum("value");return a.percent=m?+(l.get("value",k)/m*100).toFixed(2):0,a.$vars.push("percent"),a},_defaultLabelLine:function(k){j.defaultEmphasis(k.labelLine,["show"]);var l=k.labelLine[a3],a=k.labelLine[bi];l.show=l.show&&k.label[a3].show,a.show=a.show&&k.label[bi].show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,selectedOffset:10,avoidLabelOverlap:!0,label:{normal:{rotate:!1,show:!0,position:"outer"},emphasis:{}},labelLine:{normal:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}}},itemStyle:{normal:{borderColor:"rgba(0,0,0,0)",borderWidth:1},emphasis:{borderColor:"rgba(0,0,0,0)",borderWidth:1}},animationEasing:"cubicOut",data:[]}});return c.mixin(f,h),f}),aG("echarts/chart/pie/PieView",[a2,aL,br,"../../view/Chart"],function(k){function h(p,v,x,u){var i=v[ax](),w=this[a5],q=i[aT](w),c=v.get("selectedOffset");u.dispatchAction({type:"pieToggleSelect",from:p,name:q,seriesId:v.id}),i.each(function(e){g(i[aV](e),i.getItemLayout(e),v.isSelected(i[aT](e)),c,x)})}function g(A,x,w,u,p){var z=(x.startAngle+x.endAngle)/2,q=Math.cos(z),B=Math.sin(z),v=w?u:0,y=[q*v,B*v];p?A.animate().when(200,{position:y}).start("bounceOut"):A.attr(aW,y)}function d(o,u){function l(){c[bk]=c.hoverIgnore,p[bk]=p.hoverIgnore}function v(){c[bk]=c.normalIgnore,p[bk]=p.normalIgnore}b.Group.call(this);var q=new b[ak]({z2:2}),c=new b.Polyline,p=new b.Text;this.add(q),this.add(c),this.add(p),this.updateData(o,u,!0),this.on(bi,l).on(a3,v).on(ab,l).on(bf,v)}function a(p,s,l,v,q){var c=v[bo](ba),u=q===aw||"inner"===q;return{fill:c.getTextColor()||(u?"#fff":p[bg](s,"color")),opacity:p[bg](s,aZ),textFont:c[aR](),text:m.retrieve(p.hostModel.getFormattedLabel(s,l),p[aT](s))}}var b=k(aL),m=k(br),f=d[aU];f.updateData=function(C,x,q){function i(){v.stopAnimation(!0),v.animateTo({shape:{r:y.r+10}},300,"elasticOut")}function A(){v.stopAnimation(!0),v.animateTo({shape:{r:y.r}},300,"elasticOut")}var v=this.childAt(0),z=C.hostModel,B=C[aC](x),y=C.getItemLayout(x),w=m[bs]({},y);w.label=null,q?(v.setShape(w),v.shape.endAngle=y.startAngle,b[aE](v,{shape:{endAngle:y.endAngle}},z,x)):b[aE](v,{shape:w},z,x);var o=B[bo]("itemStyle"),s=C[bg](x,"color");v.useStyle(m[bm]({fill:s},o[bo](a3).getItemStyle())),v.hoverStyle=o[bo](bi).getItemStyle(),g(this,C.getItemLayout(x),B.get("selected"),z.get("selectedOffset"),z.get(al)),v.off(ab).off(bf).off(bi).off(a3),B.get("hoverAnimation")&&v.on(ab,i).on(bf,A).on(bi,i).on(a3,A),this._updateLabel(C,x),b.setHoverStyle(this)},f._updateLabel=function(H,A){var x=this.childAt(1),q=this.childAt(2),E=H.hostModel,I=H[aC](A),w=H.getItemLayout(A),C=w.label,G=H[bg](A,"color");b[aE](x,{shape:{points:C.linePoints||[[C.x,C.y],[C.x,C.y],[C.x,C.y]]}},E,A),b[aE](q,{style:{x:C.x,y:C.y}},E,A),q.attr({style:{textVerticalAlign:C.verticalAlign,textAlign:C[bb],textFont:C.font},rotation:C.rotation,origin:[C.x,C.y],z2:10});var B=I[bo]("label.normal"),z=I[bo]("label.emphasis"),o=I[bo]("labelLine.normal"),F=I[bo]("labelLine.emphasis"),r=B.get(aW)||z.get(aW);q.setStyle(a(H,A,a3,B,r)),q[bk]=q.normalIgnore=!B.get("show"),q.hoverIgnore=!z.get("show"),x[bk]=x.normalIgnore=!o.get("show"),x.hoverIgnore=!F.get("show"),x.setStyle({stroke:G,opacity:H[bg](A,aZ)}),x.setStyle(o[bo]("lineStyle").getLineStyle()),q.hoverStyle=a(H,A,bi,z,r),x.hoverStyle=F[bo]("lineStyle").getLineStyle();var D=o.get("smooth");D&&D===!0&&(D=0.4),x.setShape({smooth:D})},m[aQ](d,b.Group);var j=k("../../view/Chart")[bs]({type:"pie",init:function(){var c=new b.Group;this._sectorGroup=c},render:function(E,w,e,C){if(!C||C.from!==this.uid){var q=E[ax](),v=this._data,B=this.group,D=w.get(al),x=!v,A=m.curry(h,this.uid,E,D,e),z=E.get("selectedMode");if(q.diff(v).add(function(c){var i=new d(q,c);x&&i.eachChild(function(l){l.stopAnimation(!0)}),z&&i.on("click",A),q.setItemGraphicEl(c,i),B.add(i)})[a0](function(l,o){var c=v[aV](o);c.updateData(q,l),c.off("click"),z&&c.on("click",A),B.add(c),q.setItemGraphicEl(l,c)})[aq](function(c){var i=v[aV](c);B[aq](i)}).execute(),D&&x&&q.count()>0){var n=q.getItemLayout(0),y=Math.max(e[bl](),e[ag]())/2,s=m.bind(B.removeClipPath,B);B.setClipPath(this._createClipPath(n.cx,n.cy,y,n.startAngle,n.clockwise,s,E))}this._data=q}},_createClipPath:function(q,w,p,x,v,o,u){var c=new b[ak]({shape:{cx:q,cy:w,r0:0,r:p,startAngle:x,endAngle:x,clockwise:v}});return b.initProps(c,{shape:{endAngle:x+(v?1:-1)*Math.PI*2}},u,o),c}});return j}),aG("echarts/action/createDataSelectAction",[a2,"../echarts",br],function(b){var c=b("../echarts"),a=b(br);return function(d,e){a.each(e,function(f){f[a0]="updateView",c.registerAction(f,function(h,i){var g={};return i.eachComponent({mainType:"series",subType:d,query:h},function(j){j[f.method]&&j[f.method](h.name);var k=j[ax]();k.each(function(m){var l=k[aT](m);g[l]=j.isSelected(l)||!1})}),{name:h.name,selected:g}})})}}),aG("echarts/visual/dataColor",[a2],function(){return function(b,c){var a=c.get("color"),d=0;c.eachRawSeriesByType(b,function(f){var g=f.get("color",!0),e=f.getRawData();if(!c.isSeriesFiltered(f)){var h=f[ax]();h.each(function(k){var n=h[aC](k),m=h.getRawIndex(k),i=h[bg](k,"color",!0);if(i){e.setItemVisual(m,"color",i)}else{var o=g?g[m%g[aD]]:a[(m+d)%a[aD]],j=n.get("itemStyle.normal.color")||o;e.setItemVisual(m,"color",j),h.setItemVisual(k,"color",j)}})}d+=e.count()})}}),aG("echarts/chart/pie/pieLayout",[a2,"../../util/number","./labelLayout",br],function(d){var h=d("../../util/number"),c=h[am],g=d("./labelLayout"),b=d(br),j=2*Math.PI,f=Math.PI/180;return function(e,a,i){a.eachSeriesByType(e,function(H){var O=H.get(bh),G=H.get(av);b[aA](G)||(G=[0,G]),b[aA](O)||(O=[O,O]);var Q=i[bl](),V=i[ag](),U=Math.min(Q,V),K=c(O[0],Q),R=c(O[1],V),F=c(G[0],U/2),N=c(G[1],U/2),B=H[ax](),D=-H.get("startAngle")*f,X=H.get("minAngle")*f,W=B.getSum("value"),E=Math.PI/(W||B.count())*2,n=H.get("clockwise"),q=H.get("roseType"),J=B.getDataExtent("value");J[0]=0;var I=j,k=0,r=D,o=n?1:-1;if(B.each("value",function(m,l){var u;u="area"!==q?0===W?E:m*E:j/(B.count()||1),X>u?(u=X,I-=X):k+=m;var p=r+o*u;B.setItemLayout(l,{angle:u,startAngle:r,endAngle:p,clockwise:n,cx:K,cy:R,r0:F,r:q?h.linearMap(m,J,[F,N]):N}),r=p},!0),j>I){if(0.001>=I){var s=j/B.count();B.each(function(l){var m=B.getItemLayout(l);m.startAngle=D+o*l*s,m.endAngle=D+o*(l+1)*s})}else{E=I/k,r=D,B.each("value",function(m,p){var l=B.getItemLayout(p),u=l.angle===X?X:m*E;l.startAngle=r,l.endAngle=r+o*u,r+=u})}}g(H,N,Q,V)})}}),aG("echarts/processor/dataFilter",[],function(){return function(b,c){var a=c.findComponents({mainType:"legend"});a&&a[aD]&&c.eachSeriesByType(b,function(d){var f=d[ax]();f.filterSelf(function(e){for(var h=f[aT](e),g=0;g<a[aD];g++){if(!a[g].isSelected(h)){return !1}}return !0},this)},this)}}),aG("echarts/component/axis",[a2,"../coord/cartesian/AxisModel","./axis/AxisView"],function(a){a("../coord/cartesian/AxisModel"),a("./axis/AxisView")}),aG("echarts/coord/polar/polarCreator",[a2,"./Polar","../../util/number","../../coord/axisHelper","./PolarModel","../../CoordinateSystem"],function(p){function k(y,v){var q=y.get(bh),d=y.get(av),x=v[bl](),z=v[ag](),o=c[am];this.cx=o(q[0],x),this.cy=o(q[1],z);var w=this.getRadiusAxis(),u=Math.min(x,z)/2;w.setExtent(0,o(d,u))}function g(l){var s=this,h=s.getAngleAxis(),q=s.getRadiusAxis();if(h.scale.setExtent(1/0,-1/0),q.scale.setExtent(1/0,-1/0),l.eachSeries(function(i){if(i[a9]===s){var e=i[ax]();q.scale.unionExtent(e.getDataExtent(av,q.type!==aI)),h.scale.unionExtent(e.getDataExtent("angle",h.type!==aI))}}),j(h,h.model),j(q,q.model),h.type===aI&&!h.onBand){var d=h[az](),u=360/h.scale.count();h.inverse?d[1]+=u:d[1]-=u,h.setExtent(d[0],d[1])}}function b(d,h){if(d.type=h.get("type"),d.scale=f.createScaleByModel(h),d.onBand=h.get("boundaryGap")&&d.type===aI,"angleAxis"===h.mainType){var a=h.get("startAngle");d.inverse=h.get("inverse")^h.get("clockwise"),d.setExtent(a,a+(d.inverse?-360:360))}h.axis=d,d.model=h}var n=p("./Polar"),c=p("../../util/number"),f=p("../../coord/axisHelper"),j=f.niceScaleExtent;p("./PolarModel");var m={dimensions:n[aU][ao],create:function(a,e){var d=[];return a.eachComponent("polar",function(q,v){var i=new n(v);i[bv]=k,i[a0]=g;var x=i.getRadiusAxis(),o=i.getAngleAxis(),r=q.findAxisModel("radiusAxis"),w=q.findAxisModel("angleAxis");b(x,r),b(o,w),i[bv](q,e),d.push(i),q[a9]=i}),a.eachSeries(function(h){"polar"===h.get(a9)&&(h[a9]=d[h.get("polarIndex")])}),d}};p("../../CoordinateSystem").register("polar",m)}),aG("echarts/component/angleAxis",[a2,"../coord/polar/polarCreator","./axis/AngleAxisView"],function(a){a("../coord/polar/polarCreator"),a("./axis/AngleAxisView")}),aG("echarts/component/radiusAxis",[a2,"../coord/polar/polarCreator","./axis/RadiusAxisView"],function(a){a("../coord/polar/polarCreator"),a("./axis/RadiusAxisView")}),aG("echarts/util/layout",[a2,br,"zrender/core/BoundingRect","./number","./format"],function(p){function j(u,x,l,z,w){var c=0,y=0;null==z&&(z=1/0),null==w&&(w=1/0);var v=0;x.eachChild(function(i,t){var B,n,s=i[aW],r=i[a1](),a=x.childAt(t+1),o=a&&a[a1]();if("horizontal"===u){var A=r.width+(o?-o.x+r.x:0);B=c+A,B>z||i.newline?(c=0,B=A,y+=v+l,v=r[bq]):v=Math.max(v,r[bq])}else{var e=r[bq]+(o?-o.y+r.y:0);n=y+e,n>w||i.newline?(c+=v+l,y=0,n=e,v=r.width):v=Math.max(v,r.width)}i.newline||(s[0]=c,s[1]=y,"horizontal"===u?c=B+l:y=n+l)})}var h=p(br),f=p("zrender/core/BoundingRect"),b=p("./number"),m=p("./format"),d=b[am],q=h.each,g={},k=["left","right","top",af,"width",bq];return g.box=j,g.vbox=h.curry(j,"vertical"),g.hbox=h.curry(j,"horizontal"),g.getAvailableSize=function(A,x,w){var o=x.width,a=x[bq],B=d(A.x,o),v=d(A.y,a),y=d(A.x2,o),z=d(A.y2,a);return(isNaN(B)||isNaN(parseFloat(A.x)))&&(B=0),(isNaN(y)||isNaN(parseFloat(A.x2)))&&(y=o),(isNaN(v)||isNaN(parseFloat(A.y)))&&(v=0),(isNaN(z)||isNaN(parseFloat(A.y2)))&&(z=a),w=m.normalizeCssArray(w||0),{width:Math.max(y-B-w[1]-w[3],0),height:Math.max(z-v-w[0]-w[2],0)}},g.getLayoutRect=function(G,B,x){x=m.normalizeCssArray(x||0);var a=B.width,H=B[bq],w=d(G.left,a),D=d(G.top,H),F=d(G.right,a),y=d(G[af],H),C=d(G.width,a),A=d(G[bq],H),n=x[2]+x[0],z=x[1]+x[3],E=G.aspect;switch(isNaN(C)&&(C=a-F-z-w),isNaN(A)&&(A=H-y-n-D),isNaN(C)&&isNaN(A)&&(E>a/H?C=0.8*a:A=0.8*H),null!=E&&(isNaN(C)&&(C=E*A),isNaN(A)&&(A=C/E)),isNaN(w)&&(w=a-F-C-z),isNaN(D)&&(D=H-y-A-n),G.left||G.right){case bh:w=a/2-C/2-x[3];break;case"right":w=a-C-z}switch(G.top||G[af]){case bc:case bh:D=H/2-A/2-x[0];break;case af:D=H-A-n}w=w||0,D=D||0,isNaN(C)&&(C=a-w-(F||0)),isNaN(A)&&(A=H-D-(y||0));var o=new f(w+x[3],D+x[0],C,A);return o.margin=x,o},g.positionGroup=function(i,o,s,l){var c=i[a1]();o=h[bs](h.clone(o),{width:c.width,height:c[bq]}),o=g.getLayoutRect(o,s,l),i[aW]=[o.x-c.x,o.y-c.y]},g.mergeLayoutParam=function(D,y,v){function i(n){var t={},a=0,G={},e=0,o=v.ignoreSize?1:2;if(q(n,function(c){G[c]=D[c]}),q(n,function(c){B(y,c)&&(t[c]=G[c]=y[c]),s(t,c)&&a++,s(G,c)&&e++}),e!==o&&a){if(a>=o){return t}for(var F=0;F<n[aD];F++){var E=n[F];if(!B(t,E)&&B(D,E)){t[E]=D[E];break}}return t}return G}function B(a,c){return a.hasOwnProperty(c)}function s(a,c){return null!=a[c]&&"auto"!==a[c]}function w(c,l,a){q(c,function(e){l[e]=a[e]})}!h[aJ](v)&&(v={});var A=["width","left","right"],C=[bq,"top",af],x=i(A),z=i(C);w(A,D,x),w(C,D,z)},g.getLayoutParams=function(a){return g.copyLayoutParams({},a)},g.copyLayoutParams=function(a,c){return c&&a&&q(k,function(e){c.hasOwnProperty(e)&&(a[e]=c[e])}),a},g}),aG("echarts/component/legend/LegendModel",[a2,br,"../../model/Model",ap],function(b){var c=b(br),a=b("../../model/Model"),d=b(ap).extendComponentModel({type:"legend",dependencies:[bt],layoutMode:{type:"box",ignoreSize:!0},init:function(h,k,g){this.mergeDefaultAndTheme(h,g),h.selected=h.selected||{},this._updateData(g);var m=this._data,j=this[ah].selected;if(m[0]&&"single"===this.get("selectedMode")){var f=!1;for(var l in j){j[l]&&(this.select(l),f=!0)}!f&&this.select(m[0].get("name"))}},mergeOption:function(e){d.superCall(this,"mergeOption",e),this._updateData(this[a4])},_updateData:function(e){var g=c.map(this.get("data")||[],function(h){return typeof h===aa&&(h={name:h}),new a(h,this,this[a4])},this);this._data=g;var f=c.map(e.getSeries(),function(h){return h.name});e.eachSeries(function(h){if(h.legendDataProvider){var i=h.legendDataProvider();f=f.concat(i.mapArray(i[aT]))}}),this._availableNames=f},getData:function(){return this._data},select:function(f){var e=this[ah].selected,h=this.get("selectedMode");if("single"===h){var g=this._data;c.each(g,function(i){e[i.get("name")]=!1})}e[f]=!0},unSelect:function(e){"single"!==this.get("selectedMode")&&(this[ah].selected[e]=!1)},toggleSelected:function(f){var g=this[ah].selected;f in g||(g[f]=!0),this[g[f]?"unSelect":"select"](f)},isSelected:function(f){var e=this[ah].selected;return !(f in e&&!e[f])&&c[aP](this._availableNames,f)>=0},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:"top",align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,textStyle:{color:"#333"},selectedMode:!0}});return d}),aG("echarts/component/legend/legendAction",[a2,ap,br],function(b){function c(h,k,g){var j,f={},l="toggleSelected"===h;return g.eachComponent("legend",function(e){l&&null!=j?e[j?"select":"unSelect"](k.name):(e[h](k.name),j=e.isSelected(k.name));var m=e[ax]();d.each(m,function(i){var o=i.get("name");if("\n"!==o&&""!==o){var p=e.isSelected(o);f[o]=o in f?f[o]&&p:p}})}),{name:k.name,selected:f}}var a=b(ap),d=b(br);a.registerAction("legendToggleSelect","legendselectchanged",d.curry(c,"toggleSelected")),a.registerAction("legendSelect","legendselected",d.curry(c,"select")),a.registerAction("legendUnSelect","legendunselected",d.curry(c,"unSelect"))}),aG("echarts/component/legend/LegendView",[a2,br,"../../util/symbol",aL,"../helper/listComponent",ap],function(p){function j(c,h){h.dispatchAction({type:"legendToggleSelect",name:c})}function f(h,l,c){h.get("legendHoverLink")&&c.dispatchAction({type:"highlight",seriesName:h.name,name:l})}function b(h,l,c){h.get("legendHoverLink")&&c.dispatchAction({type:"downplay",seriesName:h.name,name:l})}var a=p(br),q=p("../../util/symbol"),d=p(aL),k=p("../helper/listComponent"),m=a.curry,g="#ccc";return p(ap).extendComponentView({type:"legend",init:function(){this._symbolTypeStore={}},render:function(e,n,c){var l=this.group;if(l[ar](),e.get("show")){var i=e.get("selectedMode"),u=e.get("align");"auto"===u&&(u="right"===e.get("left")&&"vertical"===e.get("orient")?"right":"left");var o={};a.each(e[ax](),function(z){var B=z.get("name");if(""===B||"\n"===B){return void l.add(new d.Group({newline:!0}))}var w=n.getSeriesByName(B)[0];if(!o[B]){if(w){var t=w[ax](),s=t.getVisual("color");typeof s===aN&&(s=s(w[aX](0)));var r=t.getVisual("legendSymbol")||"roundRect",A=t.getVisual("symbol"),h=this._createItem(B,z,e,r,A,u,s,i);h.on("click",m(j,B,c)).on(ab,m(f,w,"",c)).on(bf,m(b,w,"",c)),o[B]=!0}else{n.eachRawSeries(function(E){if(!o[B]&&E.legendDataProvider){var C=E.legendDataProvider(),x=C.indexOfName(B);if(0>x){return}var F=C[bg](x,"color"),D="roundRect",y=this._createItem(B,z,e,D,null,u,F,i);y.on("click",m(j,B,c)).on(ab,m(f,E,B,c)).on(bf,m(b,E,B,c)),o[B]=!0}},this)}}},this),k.layout(l,e,c),k.addBackground(l,e)}},_createItem:function(z,I,F,D,A,M,C,K){var w=F.get("itemWidth"),J=F.get("itemHeight"),H=F.isSelected(z),B=new d.Group,G=I[bo](ba),s=I.get("icon");if(D=s||D,B.add(q.createSymbol(D,0,0,w,J,H?C:g)),!s&&A&&(A!==D||"none"==A)){var E=0.8*J;"none"===A&&(A="circle"),B.add(q.createSymbol(A,(w-E)/2,(J-E)/2,E,E,H?C:g))}var h="left"===M?w+5:-5,l=M,N=F.get("formatter");typeof N===aa&&N?z=N[aS]("{name}",z):typeof N===aN&&(z=N(z));var L=new d.Text({style:{text:z,x:h,y:J/2,fill:H?G.getTextColor():g,textFont:G[aR](),textAlign:l,textVerticalAlign:"middle"}});return B.add(L),B.add(new d.Rect({shape:B[a1](),invisible:!0})),B.eachChild(function(c){c.silent=!K}),this.group.add(B),d.setHoverStyle(B),B}})}),aG("echarts/component/legend/legendFilter",[],function(){return function(a){var b=a.findComponents({mainType:"legend"});b&&b[aD]&&a.filterSeries(function(d){for(var c=0;c<b[aD];c++){if(!b[c].isSelected(d.name)){return !1}}return !0})}}),aG("echarts/component/tooltip/TooltipModel",[a2,ap],function(a){a(ap).extendComponentModel({type:"tooltip",defaultOption:{zlevel:0,z:8,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove",alwaysShowContent:!1,showDelay:0,hideDelay:100,transitionDuration:0.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:!0,animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",lineStyle:{color:"#555",width:1,type:"solid"},crossStyle:{color:"#555",width:1,type:"dashed",textStyle:{}},shadowStyle:{color:"rgba(150,150,150,0.3)"}},textStyle:{color:"#fff",fontSize:14}}})}),aG("echarts/component/tooltip/TooltipView",[a2,"./TooltipContent",aL,br,"../../util/format","../../util/number","zrender/core/env",ap],function(w){function k(f,l){if(!f||!l){return !1}var d=i.round;return d(f[0])===d(l[0])&&d(f[1])===d(l[1])}function h(f,l,d,p){return{x1:f,y1:l,x2:d,y2:p}}function n(f,l,d,p){return{x:f,y:l,width:d,height:p}}function j(l,v,f,x,p,d){return{cx:l,cy:v,r0:f,r:x,startAngle:p,endAngle:d,clockwise:!0}}function c(l,x,f,z,v){var d=f.clientWidth,y=f.clientHeight,p=20;return l+d+p>z?l-=d+p:l+=p,x+y+p>v?x-=y+p:x+=p,[l,x]}function u(B,y,x){var p=x.clientWidth,d=x.clientHeight,A=5,f=0,C=0,v=y.width,z=y[bq];switch(B){case aw:f=y.x+v/2-p/2,C=y.y+z/2-d/2;break;case"top":f=y.x+v/2-p/2,C=y.y-d-A;break;case af:f=y.x+v/2-p/2,C=y.y+z+A;break;case"left":f=y.x-p-A,C=y.y+z/2-d/2;break;case"right":f=y.x+v+A,C=y.y+z/2-d/2}return[f,C]}function r(C,y,p,d,A,f,D){var v=D[bl](),z=D[ag](),B=f&&f[a1]().clone();if(f&&B[aK](f[bu]),typeof C===aN&&(C=C([y,p],A,d.el,B)),b[aA](C)){y=o(C[0],v),p=o(C[1],z)}else{if(typeof C===aa&&f){var x=u(C,B,d.el);y=x[0],p=x[1]}else{var x=c(y,p,d.el,v,z);y=x[0],p=x[1]}}d[aB](y,p)}function s(f){var l=f[a9],d=f.get("tooltip.trigger",!0);return !(!l||"cartesian2d"!==l.type&&"polar"!==l.type&&"single"!==l.type||"item"===d)}var m=w("./TooltipContent"),g=w(aL),b=w(br),q=w("../../util/format"),i=w("../../util/number"),o=i[am],a=w("zrender/core/env");w(ap).extendComponentView({type:"tooltip",_axisPointers:{},init:function(f,l){if(!a.node){var d=new m(l.getDom(),l);this._tooltipContent=d,l.on("showTip",this._manuallyShowTip,this),l.on("hideTip",this._manuallyHideTip,this)}},render:function(l,v,f){if(!a.node){this.group[ar](),this._axisPointers={},this._tooltipModel=l,this._ecModel=v,this._api=f,this._lastHover={};var y=this._tooltipContent;y[a0](),y.enterable=l.get("enterable"),this._alwaysShowContent=l.get("alwaysShowContent"),this._seriesGroupByAxis=this._prepareAxisTriggerData(l,v);var p=this._crossText;if(p&&this.group.add(p),null!=this._lastX&&null!=this._lastY){var d=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){d._manuallyShowTip({x:d._lastX,y:d._lastY})})}var x=this._api.getZr();x.off("click",this._tryShow),x.off("mousemove",this._mousemove),x.off(bf,this._hide),x.off("globalout",this._hide),"click"===l.get("triggerOn")?x.on("click",this._tryShow,this):(x.on("mousemove",this._mousemove,this),x.on(bf,this._hide,this),x.on("globalout",this._hide,this))}},_mousemove:function(f){var l=this._tooltipModel.get("showDelay"),d=this;clearTimeout(this._showTimeout),l>0?this._showTimeout=setTimeout(function(){d._tryShow(f)},l):this._tryShow(f)},_manuallyShowTip:function(I){if(I.from!==this.uid){var D=this._ecModel,A=I[bn],y=I[a5],v=D.getSeriesByIndex(A),G=this._api;if(null==I.x||null==I.y){if(v||D.eachSeries(function(d){s(d)&&!v&&(v=d)}),v){var z=v[ax]();null==y&&(y=z.indexOfName(I.name));var F,H,B=z[aV](y),E=v[a9];if(E&&E[au]){var C=E[au](z.getValues(b.map(E[ao],function(d){return v.coordDimToDataDim(d)[0]}),y,!0));F=C&&C[0],H=C&&C[1]}else{if(B){var x=B[a1]().clone();x[aK](B[bu]),F=x.x+x.width/2,H=x.y+x[bq]/2}}null!=F&&null!=H&&this._tryShow({offsetX:F,offsetY:H,target:B,event:{}})}}else{var B=G.getZr().handler.findHover(I.x,I.y);this._tryShow({offsetX:I.x,offsetY:I.y,target:B,event:{}})}}},_manuallyHideTip:function(d){d.from!==this.uid&&this._hide()},_prepareAxisTriggerData:function(f,l){var d={};return l.eachSeries(function(p){if(s(p)){var x,y,v=p[a9];"cartesian2d"===v.type?(x=v.getBaseAxis(),y=x.dim+x.index):"single"===v.type?(x=v.getAxis(),y=x.dim+x.type):(x=v.getBaseAxis(),y=x.dim+v.name),d[y]=d[y]||{coordSys:[],series:[]},d[y].coordSys.push(v),d[y][bt].push(p)}},this),d},_tryShow:function(A){var y=A[a6],x=this._tooltipModel,p=x.get(bj),d=this._ecModel,z=this._api;if(x){if(this._lastX=A.offsetX,this._lastY=A.offsetY,y&&null!=y[a5]){var f=y.dataModel||d.getSeriesByIndex(y[bn]),B=y[a5],v=f[ax]()[aC](B);"axis"===(v.get("tooltip.trigger")||p)?this._showAxisTooltip(x,d,A):(this._ticket="",this._hideAxisPointer(),this._resetLastHover(),this._showItemTooltipContent(f,B,y.dataType,A)),z.dispatchAction({type:"showTip",from:this.uid,dataIndex:y[a5],seriesIndex:y[bn]})}else{"item"===p?this._hide():this._showAxisTooltip(x,d,A),"cross"===x.get("axisPointer.type")&&z.dispatchAction({type:"showTip",from:this.uid,x:A.offsetX,y:A.offsetY})}}},_showAxisTooltip:function(A,p,e){var d=A[bo]("axisPointer"),y=d.get("type");if("cross"===y){var f=e[a6];if(f&&null!=f[a5]){var x=p.getSeriesByIndex(f[bn]),z=f[a5];this._showItemTooltipContent(x,z,f.dataType,e)}}this._showAxisPointer();var v=!0;b.each(this._seriesGroupByAxis,function(L){var E=L.coordSys,D=E[0],I=[e.offsetX,e.offsetY];if(!D.containPoint(I)){return void this._hideAxisPointer(D.name)}v=!1;var K=D[ao],H=D.pointToData(I,!0);I=D[au](H);var G=D.getBaseAxis(),B=d.get("axis");"auto"===B&&(B=G.dim);var F=!1,J=this._lastHover;if("cross"===y){k(J.data,H)&&(F=!0),J.data=H}else{var C=b[aP](K,B);J.data===H[C]&&(F=!0),J.data=H[C]}"cartesian2d"!==D.type||F?"polar"!==D.type||F?"single"!==D.type||F||this._showSinglePointer(d,D,B,I):this._showPolarPointer(d,D,B,I):this._showCartesianPointer(d,D,B,I),"cross"!==y&&this._dispatchAndShowSeriesTooltipContent(D,L[bt],I,H,F)},this),this._tooltipModel.get("show")||this._hideAxisPointer(),v&&this._hide()},_showCartesianPointer:function(B,x,p,l){function d(t,F,E){var e="x"===t?h(F[0],E[0],F[0],E[1]):h(E[0],F[1],E[1],F[1]),D=f._getPointerElement(x,B,t,e);y?g[aE](D,{shape:e},B):D.attr({shape:e})}function z(E,I,H){var t=x.getAxis(E),G=t.getBandWidth(),e=H[1]-H[0],D="x"===E?n(I[0]-G/2,H[0],G,e):n(H[0],I[1]-G/2,e,G),F=f._getPointerElement(x,B,E,D);y?g[aE](F,{shape:D},B):F.attr({shape:D})}var f=this,C=B.get("type"),y="cross"!==C;if("cross"===C){d("x",l,x.getAxis("y").getGlobalExtent()),d("y",l,x.getAxis("x").getGlobalExtent()),this._updateCrossText(x,l,B)}else{var A=x.getAxis("x"===p?"y":"x"),v=A.getGlobalExtent();"cartesian2d"===x.type&&("line"===C?d:z)(p,l,v)}},_showSinglePointer:function(A,v,p,l){function d(t,G,D){var E=v.getAxis(),F=E.orient,e="horizontal"===F?h(G[0],D[0],G[0],D[1]):h(D[0],G[1],D[1],G[1]),C=y._getPointerElement(v,A,t,e);B?g[aE](C,{shape:e},A):C.attr({shape:e})}var y=this,f=A.get("type"),B="cross"!==f,x=v.getRect(),z=[x.y,x.y+x[bq]];d(p,l,z)},_showPolarPointer:function(G,A,y,f){function D(p,K,v){var d,I=A.pointToCoord(K);if("angle"===p){var J=A.coordToPoint([v[0],I[1]]),e=A.coordToPoint([v[1],I[1]]);d=h(J[0],J[1],e[0],e[1])}else{d={cx:A.cx,cy:A.cy,r:I[0]}}var t=H._getPointerElement(A,G,p,d);B?g[aE](t,{shape:d},G):t.attr({shape:d})}function x(v,p,d){var K,e=A.getAxis(v),t=e.getBandWidth(),J=A.pointToCoord(p),L=Math.PI/180;K="angle"===v?j(A.cx,A.cy,d[0],d[1],(-J[1]-t/2)*L,(-J[1]+t/2)*L):j(A.cx,A.cy,J[0]-t/2,J[0]+t/2,0,2*Math.PI);var I=H._getPointerElement(A,G,v,K);B?g[aE](I,{shape:K},G):I.attr({shape:K})}var H=this,C=G.get("type"),F=A.getAngleAxis(),z=A.getRadiusAxis(),B="cross"!==C;if("cross"===C){D("angle",f,z[az]()),D(av,f,F[az]()),this._updateCrossText(A,f,G)}else{var l=A.getAxis(y===av?"angle":av),E=l[az]();("line"===C?D:x)(y,f,E)}},_updateCrossText:function(B,y,x){var p=x[bo]("crossStyle"),d=p[bo](ba),z=this._tooltipModel,f=this._crossText;f||(f=this._crossText=new g.Text({style:{textAlign:"left",textVerticalAlign:"bottom"}}),this.group.add(f));var v=B.pointToData(y),A=B[ao];v=b.map(v,function(t,l){var C=B.getAxis(A[l]);return t=C.type===aI||"time"===C.type?C.scale[a7](t):q.addCommas(t.toFixed(C.getPixelPrecision()))}),f.setStyle({fill:d.getTextColor()||p.get("color"),textFont:d[aR](),text:v.join(", "),x:y[0]+5,y:y[1]-5}),f.z=z.get("z"),f[aO]=z.get(aO)},_getPointerElement:function(J,E,A,v){var H=this._tooltipModel,y=H.get("z"),K=H.get(aO),z=this._axisPointers,G=J.name;if(z[G]=z[G]||{},z[G][A]){return z[G][A]}var I=E.get("type"),B=E[bo](I+"Style"),F="shadow"===I,D=B[F?"getAreaStyle":"getLineStyle"](),x="polar"===J.type?F?ak:A===av?"Circle":"Line":F?"Rect":"Line";F?D[aj]=null:D.fill=null;var C=z[G][A]=new g[x]({style:D,z:y,zlevel:K,silent:!0,shape:v});return this.group.add(C),C},_dispatchAndShowSeriesTooltipContent:function(B,M,I,D,Q){var F=this._tooltipModel,C=this._tooltipContent,H=B.getBaseAxis(),O=b.map(M,function(d){return{seriesIndex:d[bn],dataIndex:d.getAxisTooltipDataIndex?d.getAxisTooltipDataIndex(d.coordDimToDataDim(H.dim),D,H):d[ax]().indexOfNearest(d.coordDimToDataDim(H.dim)[0],D["x"===H.dim||H.dim===av?0:1])}}),A=this._lastHover,J=this._api;if(A.payloadBatch&&!Q&&J.dispatchAction({type:"downplay",batch:A.payloadBatch}),Q||(J.dispatchAction({type:"highlight",batch:O}),A.payloadBatch=O),J.dispatchAction({type:"showTip",dataIndex:O[0][a5],seriesIndex:O[0][bn],from:this.uid}),H&&F.get("showContent")&&F.get("show")){var N,L=F.get("formatter"),E=F.get(aW),K=b.map(M,function(d,f){return d[aX](O[f][a5])});C.show(F);var z=O[0][a5];if(!Q){if(this._ticket="",L){if(typeof L===aa){N=q.formatTpl(L,K)}else{if(typeof L===aN){var G=this,y="axis_"+B.name+"_"+z,R=function(d,f){d===G._ticket&&(C.setContent(f),r(E,I[0],I[1],C,K,null,J))};G._ticket=y,N=L(K,y,R)}}}else{var P=M[0][ax]()[aT](z);N=(P?P+"<br />":"")+b.map(M,function(d,f){return d.formatTooltip(O[f][a5],!0)}).join("<br />")}C.setContent(N)}r(E,I[0],I[1],C,K,null,J)}},_showItemTooltipContent:function(M,G,D,A){var x=this._api,J=M[ax](D),z=J[aC](G),N=this._tooltipModel,C=this._tooltipContent,I=z[bo]("tooltip");if(I.parentModel?I.parentModel.parentModel=N:I.parentModel=this._tooltipModel,I.get("showContent")&&I.get("show")){var L,H=I.get("formatter"),F=I.get(aW),y=M[aX](G,D);if(H){if(typeof H===aa){L=q.formatTpl(H,y)}else{if(typeof H===aN){var E=this,K="item_"+M.name+"_"+G,B=function(d,f){d===E._ticket&&(C.setContent(f),r(F,A.offsetX,A.offsetY,C,y,A[a6],x))};E._ticket=K,L=H(y,K,B)}}}else{L=M.formatTooltip(G,!1,D)}C.show(I),C.setContent(L),r(F,A.offsetX,A.offsetY,C,y,A[a6],x)}},_showAxisPointer:function(d){if(d){var f=this._axisPointers[d];f&&b.each(f,function(e){e.show()})}else{this.group.eachChild(function(e){e.show()}),this.group.show()}},_resetLastHover:function(){var d=this._lastHover;d.payloadBatch&&this._api.dispatchAction({type:"downplay",batch:d.payloadBatch}),this._lastHover={}},_hideAxisPointer:function(d){if(d){var f=this._axisPointers[d];f&&b.each(f,function(e){e.hide()})}else{this.group.hide()}},_hide:function(){clearTimeout(this._showTimeout),this._hideAxisPointer(),this._resetLastHover(),this._alwaysShowContent||this._tooltipContent.hideLater(this._tooltipModel.get("hideDelay")),this._api.dispatchAction({type:"hideTip",from:this.uid}),this._lastX=this._lastY=null},dispose:function(f,l){if(!a.node){var d=l.getZr();this._tooltipContent.hide(),d.off("click",this._tryShow),d.off("mousemove",this._mousemove),d.off(bf,this._hide),d.off("globalout",this._hide),l.off("showTip",this._manuallyShowTip),l.off("hideTip",this._manuallyHideTip)}}})}),aG("zrender/vml/graphic",[a2,"../core/env","../core/vector","../core/BoundingRect","../core/PathProxy","../tool/color","../contain/text","../graphic/mixin/RectText","../graphic/Displayable","../graphic/Image","../graphic/Text","../graphic/Path","../graphic/Gradient","./core"],function(bU){if(!bU("../core/env").canvasSupported){var b8=bU("../core/vector"),b5=bU("../core/BoundingRect"),b0=bU("../core/PathProxy").CMD,bW=bU("../tool/color"),cc=bU("../contain/text"),bZ=bU("../graphic/mixin/RectText"),bV=bU("../graphic/Displayable"),b2=bU("../graphic/Image"),ca=bU("../graphic/Text"),bT=bU("../graphic/Path"),b6=bU("../graphic/Gradient"),b9=bU("./core"),bY=Math.round,b7=Math.sqrt,bS=Math.abs,b1=Math.cos,bO=Math.sin,bQ=Math.max,N=b8[aK],bG=",",bE="progid:DXImageTransform.Microsoft",M=21600,be=M/2,Y=100000,bN=1000,b3=function(a){a.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",a.coordsize=M+","+M,a.coordorigin="0,0"},bz=function(a){return String(a)[aS](/&/g,"&amp;")[aS](/"/g,"&quot;")},bD=function(c,d,a){return"rgb("+[c,d,a].join(",")+")"},O=function(a,c){c&&a&&c.parentNode!==a&&a.appendChild(c)},F=function(a,c){c&&a&&c.parentNode===a&&a.removeChild(c)},bB=function(c,d,a){return(parseFloat(c)||0)*Y+(parseFloat(d)||0)*bN+a},bA=function(a,c){return typeof a===aa?a.lastIndexOf("%")>=0?parseFloat(a)/100*c:parseFloat(a):a},bX=function(c,d,a){var g=bW.parse(d);a=+a,isNaN(a)&&(a=1),g&&(c.color=bD(g[0],g[1],g[2]),c[aZ]=a*g[3])},E=function(a){var c=bW.parse(a);return[bD(c[0],c[1],c[2]),c[3]]},f=function(T,co,cl){var ch=co.fill;if(null!=ch){if(ch instanceof b6){var Z,cs=0,cg=[0,0],W=0,cj=1,cq=cl[a1](),S=cq.width,cp=cq[bq];if("linear"===ch.type){Z="gradient";var cn=cl[bu],cf=[ch.x*S,ch.y*cp],cm=[ch.x2*S,ch.y2*cp];cn&&(N(cf,cf,cn),N(cm,cm,cn));var Q=cm[0]-cf[0],ci=cm[1]-cf[1];cs=180*Math.atan2(Q,ci)/Math.PI,0>cs&&(cs+=360),0.000001>cs&&(cs=0)}else{Z="gradientradial";var cf=[ch.x*S,ch.y*cp],cn=cl[bu],H=cl.scale,K=S,ct=cp;cg=[(cf[0]-cq.x)/K,(cf[1]-cq.y)/ct],cn&&N(cf,cf,cn),K/=H[0]*M,ct/=H[1]*M;var cr=bQ(K,ct);W=0/cr,cj=2*ch.r/cr-W}var q=ch.colorStops.slice();q.sort(function(a,c){return a.offset-c.offset});for(var ce=q[aD],X=[],w=[],j=0;ce>j;j++){var G=q[j],ck=E(G.color);w.push(G.offset*cj+W+" "+ck[0]),(0===j||j===ce-1)&&X.push(ck)}if(ce>=2){var J=X[0][0],V=X[1][0],h=X[0][1]*co[aZ],ae=X[1][1]*co[aZ];T.type=Z,T.method="none",T.focus="100%",T.angle=cs,T.color=J,T.color2=V,T.colors=w.join(","),T[aZ]=ae,T.opacity2=h}"radial"===Z&&(T.focusposition=cg.join(","))}else{bX(T,ch,co[aZ])}}},x=function(a,c){null!=c.lineJoin&&(a.joinstyle=c.lineJoin),null!=c.miterLimit&&(a.miterlimit=c.miterLimit*M),null!=c.lineCap&&(a.endcap=c.lineCap),null!=c.lineDash&&(a.dashstyle=c.lineDash.join(" ")),null==c[aj]||c[aj] instanceof b6||bX(a,c[aj],c[aZ])},b4=function(g,j,d,k){var h="fill"==j,c=g.getElementsByTagName(j)[0];null!=d[j]&&"none"!==d[j]&&(h||!h&&d[aM])?(g[h?"filled":"stroked"]="true",d[j] instanceof b6&&F(g,c),c||(c=b9.createNode(j)),h?f(c,d,k):x(c,d),O(g,c)):(g[h?"filled":"stroked"]="false",F(g,c))},U=[[],[],[]],bJ=function(cn,cy){var cv,cp,cC,cr,co,cs,cA=b0.M,cm=b0.C,cw=b0.L,cz=b0.A,cx=b0.Q,cl=[];for(cr=0;cr<cn[aD];){switch(cC=cn[cr++],cp="",cv=0,cC){case cA:cp=" m ",cv=1,co=cn[cr++],cs=cn[cr++],U[0][0]=co,U[0][1]=cs;break;case cw:cp=" l ",cv=1,co=cn[cr++],cs=cn[cr++],U[0][0]=co,U[0][1]=cs;break;case cx:case cm:cp=" c ",cv=3;var cj,cD,cB=cn[cr++],ck=cn[cr++],L=cn[cr++],cg=cn[cr++];cC===cx?(cj=L,cD=cg,L=(L+2*cB)/3,cg=(cg+2*ck)/3,cB=(co+2*cB)/3,ck=(cs+2*ck)/3):(cj=cn[cr++],cD=cn[cr++]),U[0][0]=cB,U[0][1]=ck,U[1][0]=L,U[1][1]=cg,U[2][0]=cj,U[2][1]=cD,co=cj,cs=cD;break;case cz:var A=0,ci=0,ct=1,Q=1,cf=0;cy&&(A=cy[4],ci=cy[5],ct=b7(cy[0]*cy[0]+cy[1]*cy[1]),Q=b7(cy[2]*cy[2]+cy[3]*cy[3]),cf=Math.atan2(-cy[1]/Q,cy[0]/ct));var J=cn[cr++],y=cn[cr++],ch=cn[cr++],ce=cn[cr++],K=cn[cr++]+cf,p=cn[cr++]+K+cf;cr++;var ae=cn[cr++],T=J+b1(K)*ch,S=y+bO(K)*ce,cB=J+b1(p)*ch,ck=y+bO(p)*ce,cq=ae?" wa ":" at ";Math.abs(T-cB)<1e-10&&(Math.abs(p-K)>0.01?ae&&(T+=270/M):Math.abs(S-y)<1e-10?ae&&J>T||!ae&&T>J?ck-=270/M:ck+=270/M:ae&&y>S||!ae&&S>y?cB+=270/M:cB-=270/M),cl.push(cq,bY(((J-ch)*ct+A)*M-be),bG,bY(((y-ce)*Q+ci)*M-be),bG,bY(((J+ch)*ct+A)*M-be),bG,bY(((y+ce)*Q+ci)*M-be),bG,bY((T*ct+A)*M-be),bG,bY((S*Q+ci)*M-be),bG,bY((cB*ct+A)*M-be),bG,bY((ck*Q+ci)*M-be)),co=cB,cs=ck;break;case b0.R:var n=U[0],g=U[1];n[0]=cn[cr++],n[1]=cn[cr++],g[0]=n[0]+cn[cr++],g[1]=n[1]+cn[cr++],cy&&(N(n,n,cy),N(g,g,cy)),n[0]=bY(n[0]*M-be),g[0]=bY(g[0]*M-be),n[1]=bY(n[1]*M-be),g[1]=bY(g[1]*M-be),cl.push(" m ",n[0],bG,n[1]," l ",g[0],bG,n[1]," l ",g[0],bG,g[1]," l ",n[0],bG,g[1]);break;case b0.Z:cl.push(" x ")}if(cv>0){cl.push(cp);for(var m=0;cv>m;m++){var cu=U[m];cy&&N(cu,cu,cy),cl.push(bY(cu[0]*M-be),bG,bY(cu[1]*M-be),cv-1>m?bG:"")}}}return cl.join("")};bT[aU].brushVML=function(p){var k=this.style,j=this._vmlEl;j||(j=b9.createNode("shape"),b3(j),this._vmlEl=j),b4(j,"fill",k,this),b4(j,aj,k,this);var g=this[bu],c=null!=g,m=j.getElementsByTagName(aj)[0];if(m){var d=k[aM];if(c&&!k.strokeNoScale){var q=g[0]*g[3]-g[1]*g[2];d*=b7(bS(q))}m.weight=d+"px"}var h=this.path;this.__dirtyPath&&(h.beginPath(),this.buildPath(h,this.shape),h.toStatic(),this.__dirtyPath=!1),j.path=bJ(h.data,this[bu]),j.style.zIndex=bB(this[aO],this.z,this.z2),O(p,j),k.text?this.drawRectText(p,this[a1]()):this.removeRectText(p)},bT[aU].onRemove=function(a){F(a,this._vmlEl),this.removeRectText(a)},bT[aU].onAdd=function(a){O(a,this._vmlEl),this.appendRectText(a)};var bx=function(a){return"object"==typeof a&&a.tagName&&"IMG"===a.tagName.toUpperCase()};b2[aU].brushVML=function(cp){var cA,cy,cu=this.style,cr=cu.image;if(bx(cr)){var cD=cr.src;if(cD===this._imageSrc){cA=this._imageWidth,cy=this._imageHeight}else{var ct=cr.runtimeStyle,cq=ct.width,cw=ct[bq];ct.width="auto",ct[bq]="auto",cA=cr.width,cy=cr[bq],ct.width=cq,ct[bq]=cw,this._imageSrc=cD,this._imageWidth=cA,this._imageHeight=cy}cr=cD}else{cr===this._imageSrc&&(cA=this._imageWidth,cy=this._imageHeight)}if(cr){var cB=cu.x||0,co=cu.y||0,cz=cu.width,cn=cu[bq],cv=cu.sWidth,cl=cu.sHeight,cm=cu.sx||0,cE=cu.sy||0,cC=cv&&cl,K=this._vmlEl;K||(K=b9.doc[aF]("div"),b3(K),this._vmlEl=K);var A,R=K.style,G=!1,ck=1,ae=1;if(this[bu]&&(A=this[bu],ck=b7(A[0]*A[0]+A[1]*A[1]),ae=b7(A[2]*A[2]+A[3]*A[3]),G=A[1]||A[2]),G){var ch=[cB,co],ci=[cB+cz,co],cg=[cB,co+cn],p=[cB+cz,co+cn];N(ch,ch,A),N(ci,ci,A),N(cg,cg,A),N(p,p,A);var cf=bQ(ch[0],ci[0],cg[0],p[0]),ce=bQ(ch[1],ci[1],cg[1],p[1]),cs=[];cs.push("M11=",A[0]/ck,bG,"M12=",A[2]/ae,bG,"M21=",A[1]/ck,bG,"M22=",A[3]/ae,bG,"Dx=",bY(cB*ck+A[4]),bG,"Dy=",bY(co*ae+A[5])),R.padding="0 "+bY(cf)+"px "+bY(ce)+"px 0",R[bw]=bE+".Matrix("+cs.join("")+", SizingMethod=clip)"}else{A&&(cB=cB*ck+A[4],co=co*ae+A[5]),R[bw]="",R.left=bY(cB)+"px",R.top=bY(co)+"px"}var k=this._imageEl,d=this._cropEl;k||(k=b9.doc[aF]("div"),this._imageEl=k);var g=k.style;if(cC){if(cA&&cy){g.width=bY(ck*cA*cz/cv)+"px",g[bq]=bY(ae*cy*cn/cl)+"px"}else{var cx=new Image,w=this;cx.onload=function(){cx.onload=null,cA=cx.width,cy=cx[bq],g.width=bY(ck*cA*cz/cv)+"px",g[bq]=bY(ae*cy*cn/cl)+"px",w._imageWidth=cA,w._imageHeight=cy,w._imageSrc=cr},cx.src=cr}d||(d=b9.doc[aF]("div"),d.style.overflow="hidden",this._cropEl=d);var C=d.style;C.width=bY((cz+cm*cz/cv)*ck),C[bq]=bY((cn+cE*cn/cl)*ae),C[bw]=bE+".Matrix(Dx="+-cm*cz/cv*ck+",Dy="+-cE*cn/cl*ae+")",d.parentNode||K.appendChild(d),k.parentNode!=d&&d.appendChild(k)}else{g.width=bY(ck*cz)+"px",g[bq]=bY(ae*cn)+"px",K.appendChild(k),d&&d.parentNode&&(K.removeChild(d),this._cropEl=null)}var cj="",S=cu[aZ];1>S&&(cj+=".Alpha(opacity="+bY(100*S)+") "),cj+=bE+".AlphaImageLoader(src="+cr+", SizingMethod=scale)",g[bw]=cj,K.style.zIndex=bB(this[aO],this.z,this.z2),O(cp,K),cu.text&&this.drawRectText(cp,this[a1]())}},b2[aU].onRemove=function(a){F(a,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(a)},b2[aU].onAdd=function(a){O(a,this._vmlEl),this.appendRectText(a)};var by,B=a3,cb={},bL=0,b=100,bP=document[aF]("div"),bC=function(c){var g=cb[c];if(!g){bL>b&&(bL=0,cb={});var a,h=bP.style;try{h.font=c,a=h.fontFamily.split(",")[0]}catch(d){}g={style:h.fontStyle||B,variant:h.fontVariant||B,weight:h.fontWeight||B,size:0|parseFloat(h.fontSize||12),family:a||"Microsoft YaHei"},cb[c]=g,bL++}return g};cc.measureText=function(c,d){var a=b9.doc;by||(by=a[aF]("div"),by.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",b9.doc.body.appendChild(by));try{by.style.font=d}catch(g){}return by.innerHTML="",by.appendChild(a.createTextNode(c)),{width:by.offsetWidth}};for(var bI=new b5,bM=function(J,ci,ce,X){var S=this.style,W=S.text;if(W){var Q,ae,cj=S[bb],I=bC(S.textFont),cf=I.style+" "+I.variant+" "+I.weight+" "+I.size+'px "'+I.family+'"',ch=S.textBaseline,cg=S.textVerticalAlign;ce=ce||cc[a1](W,cf,cj,ch);var H=this[bu];if(H&&!X&&(bI.copy(ci),bI[aK](H),ci=bI),X){Q=ci.x,ae=ci.y}else{var Z=S.textPosition,A=S.textDistance;if(Z instanceof Array){Q=ci.x+bA(Z[0],ci.width),ae=ci.y+bA(Z[1],ci[bq]),cj=cj||"left",ch=ch||"top"}else{var ck=cc.adjustTextPositionOnRect(Z,ci,ce,A);Q=ck.x,ae=ck.y,cj=cj||ck[bb],ch=ch||ck.textBaseline}}if(cg){switch(cg){case bc:ae-=ce[bq]/2;break;case af:ae-=ce[bq]}ch="top"}var G=I.size;switch(ch){case"hanging":case"top":ae+=G/1.75;break;case bc:break;default:ae-=G/2.25}switch(cj){case"left":break;case bh:Q-=ce.width/2;break;case"right":Q-=ce.width}var k,R,d,p=b9.createNode,j=this._textVmlEl;j?(d=j.firstChild,k=d.nextSibling,R=k.nextSibling):(j=p("line"),k=p("path"),R=p("textpath"),d=p("skew"),R.style["v-text-align"]="left",b3(j),k.textpathok=!0,R.on=!0,j.from="0 0",j.to="1000 0.05",O(j,d),O(j,k),O(j,R),this._textVmlEl=j);var q=[Q,ae],K=j.style;H&&X?(N(q,q,H),d.on=!0,d.matrix=H[0].toFixed(3)+bG+H[2].toFixed(3)+bG+H[1].toFixed(3)+bG+H[3].toFixed(3)+",0,0",d.offset=(bY(q[0])||0)+","+(bY(q[1])||0),d.origin="0 0",K.left="0px",K.top="0px"):(d.on=!1,K.left=bY(Q)+"px",K.top=bY(ae)+"px"),R[aa]=bz(W);try{R.style.font=cf}catch(a){}b4(j,"fill",{fill:X?S.fill:S.textFill,opacity:S[aZ]},this),b4(j,aj,{stroke:X?S[aj]:S.textStroke,opacity:S[aZ],lineDash:S.lineDash},this),j.style.zIndex=bB(this[aO],this.z,this.z2),O(J,j)}},bK=function(a){F(a,this._textVmlEl),this._textVmlEl=null},bR=function(a){O(a,this._textVmlEl)},cd=[bZ,bV,b2,bT,ca],bF=0;bF<cd[aD];bF++){var bH=cd[bF][aU];bH.drawRectText=bM,bH.removeRectText=bK,bH.appendRectText=bR}ca[aU].brushVML=function(a){var c=this.style;c.text?this.drawRectText(a,{x:c.x||0,y:c.y||0,width:0,height:0},this[a1](),!0):this.removeRectText(a)},ca[aU].onRemove=function(a){this.removeRectText(a)},ca[aU].onAdd=function(a){this.appendRectText(a)}}}),aG("echarts/scale/Interval",[a2,"../util/number","../util/format","./Scale"],function(d){var g=d("../util/number"),c=d("../util/format"),j=d("./Scale"),f=Math.floor,b=Math.ceil,h=j[bs]({type:"interval",_interval:0,setExtent:function(k,l){var a=this._extent;isNaN(k)||(a[0]=parseFloat(k)),isNaN(l)||(a[1]=parseFloat(l))},unionExtent:function(a){var i=this._extent;a[0]<i[0]&&(i[0]=a[0]),a[1]>i[1]&&(i[1]=a[1]),h[aU].setExtent.call(this,i[0],i[1])},getInterval:function(){return this._interval||this.niceTicks(),this._interval},setInterval:function(a){this._interval=a,this._niceExtent=this._extent.slice()},getTicks:function(){this._interval||this.niceTicks();var l=this._interval,k=this._extent,q=[],m=10000;if(l){var e=this._niceExtent;k[0]<e[0]&&q.push(k[0]);for(var p=e[0];p<=e[1];){if(q.push(p),p=g.round(p+l),q[aD]>m){return[]}}k[1]>e[1]&&q.push(k[1])}return q},getTicksLabels:function(){for(var k=[],l=this.getTicks(),a=0;a<l[aD];a++){k.push(this[a7](l[a]))}return k},getLabel:function(a){return c.addCommas(a)},niceTicks:function(e){e=e||5;var a=this._extent,m=a[1]-a[0];if(isFinite(m)){0>m&&(m=-m,a.reverse());var l=g.nice(m/e,!0),k=[g.round(b(a[0]/l)*l),g.round(f(a[1]/l)*l)];this._interval=l,this._niceExtent=k}},niceExtent:function(k,e,r){var p=this._extent;if(p[0]===p[1]){if(0!==p[0]){var m=p[0]/2;p[0]-=m,p[1]+=m}else{p[1]=1}}var a=p[1]-p[0];isFinite(a)||(p[0]=0,p[1]=1),this.niceTicks(k);var q=this._interval;e||(p[0]=g.round(f(p[0]/q)*q)),r||(p[1]=g.round(b(p[1]/q)*q))}});return h[ad]=function(){return new h},h}),aG("zrender/vml/Painter",[a2,"../core/log","./core"],function(k){function h(a){return parseInt(a,10)}function g(l,q){j.initVML(),this.root=l,this.storage=q;var a=document[aF]("div"),u=document[aF]("div");a.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",u.style.cssText="position:absolute;left:0;top:0;",l.appendChild(a),this._vmlRoot=u,this._vmlViewport=a,this[bv]();var p=q.delFromMap,s=q.addToMap;q.delFromMap=function(n){var e=q.get(n);p.call(q,n),e&&e.onRemove&&e.onRemove(u)},q.addToMap=function(e){e.onAdd&&e.onAdd(u),s.call(q,e)},this._firstPaint=!0}function d(a){return function(){b('In IE8.0 VML mode painter not support method "'+a+'"')}}var b=k("../core/log"),j=k("./core");g[aU]={constructor:g,getViewportRoot:function(){return this._vmlViewport},refresh:function(){var a=this.storage.getDisplayList(!0,!0);this._paintList(a)},_paintList:function(l){for(var o=this._vmlRoot,a=0;a<l[aD];a++){var p=l[a];p.invisible||p[bk]?(p.__alreadyNotVisible||p.onRemove(o),p.__alreadyNotVisible=!0):(p.__alreadyNotVisible&&p.onAdd(o),p.__alreadyNotVisible=!1,p.__dirty&&(p.beforeBrush&&p.beforeBrush(),(p.brushVML||p.brush).call(p,o),p.afterBrush&&p.afterBrush())),p.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(o),this._firstPaint=!1)},resize:function(){var l=this._getWidth(),n=this._getHeight();if(this._width!=l&&this._height!=n){this._width=l,this._height=n;var a=this._vmlViewport.style;a.width=l+"px",a[bq]=n+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},_getWidth:function(){var e=this.root,a=e.currentStyle;return(e.clientWidth||h(a.width))-h(a.paddingLeft)-h(a.paddingRight)|0},_getHeight:function(){var e=this.root,a=e.currentStyle;return(e.clientHeight||h(a[bq]))-h(a.paddingTop)-h(a.paddingBottom)|0}};for(var c=["getLayer","insertLayer","eachLayer","eachBuildinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],m=0;m<c[aD];m++){var f=c[m];g[aU][f]=d(f)}return g}),aG("echarts/scale/Scale",[a2,"../util/clazz"],function(b){function c(){this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}var a=b("../util/clazz"),d=c[aU];return d.parse=function(e){return e},d[bd]=function(f){var g=this._extent;return f>=g[0]&&f<=g[1]},d.normalize=function(f){var g=this._extent;return g[1]===g[0]?0.5:(f-g[0])/(g[1]-g[0])},d.scale=function(f){var g=this._extent;return f*(g[1]-g[0])+g[0]},d.unionExtent=function(f){var g=this._extent;f[0]<g[0]&&(g[0]=f[0]),f[1]>g[1]&&(g[1]=f[1])},d[az]=function(){return this._extent.slice()},d.setExtent=function(g,h){var f=this._extent;isNaN(g)||(f[0]=g),isNaN(h)||(f[1]=h)},d.getTicksLabels=function(){for(var g=[],h=this.getTicks(),f=0;f<h[aD];f++){g.push(this[a7](h[f]))}return g},a.enableClassExtend(c),a.enableClassManagement(c,{registerWhenExtend:!0}),c}),aG("echarts/util/model",[a2,"./format","./number",br],function(d){var g=d("./format"),c=d("./number"),f=d(br),b=["x","y","z",av,"angle"],h={};return h.createNameEach=function(j,k){j=j.slice();var a=f.map(j,h.capitalFirst);k=(k||[]).slice();var l=f.map(k,h.capitalFirst);return function(e,i){f.each(j,function(n,p){for(var o={name:n,capital:a[p]},m=0;m<k[aD];m++){o[k[m]]=n+l[m]}e.call(i,o)})}},h.capitalFirst=function(a){return a?a.charAt(0).toUpperCase()+a.substr(1):a},h.eachAxisDim=h.createNameEach(b,["axisIndex","axis","index"]),h.normalizeToArray=function(a){return f[aA](a)?a:null==a?[]:[a]},h.createLinkedNodesFinder=function(l,m,k){function q(a,i){return f[aP](i.nodes,a)>=0}function j(i,o){var e=!1;return m(function(a){f.each(k(i,a)||[],function(n){o.records[a.name][n]&&(e=!0)})}),e}function p(a,e){e.nodes.push(a),m(function(i){f.each(k(a,i)||[],function(n){e.records[i.name][n]=!0})})}return function(e){function o(i){!q(i,n)&&j(i,n)&&(p(i,n),a=!0)}var n={nodes:[],records:{}};if(m(function(i){n.records[i.name]={}}),!e){return n}p(e,n);var a;do{a=!1,l(o)}while(a);return n}},h.defaultEmphasis=function(j,k){if(j){var a=j[bi]=j[bi]||{},l=j[a3]=j[a3]||{};f.each(k,function(i){var m=f.retrieve(a[i],l[i]);null!=m&&(a[i]=m)})}},h.LABEL_OPTIONS=[aW,"show",ba,"distance","formatter"],h.getDataItemValue=function(a){return a&&(null==a.value?a:a.value)},h.converDataValue=function(a,i){var j=i&&i.type;return j===ay?a:("time"!==j||isFinite(a)||null==a||"-"===a||(a=+c.parseDate(a)),null==a||""===a?0/0:+a)},h.dataFormatMixin={getDataParams:function(w,u){var q=this[ax](u),m=this[bn],j=this.name,v=this.getRawValue(w,u),k=q.getRawIndex(w),x=q[aT](w,!0),p=q.getRawDataItem(w);return{componentType:this.mainType,componentSubType:this.subType,seriesType:this.mainType===bt?this.subType:null,seriesIndex:m,seriesName:j,name:x,dataIndex:k,data:p,dataType:u,value:v,color:q[bg](w,"color"),$vars:["seriesName","name","value"]}},getFormattedLabel:function(m,k,u,j){k=k||a3;var q=this[ax](u),p=q[aC](m),e=this[aX](m,u);null!=j&&f[aA](e.value)&&(e.value=e.value[j]);var r=p.get(["label",k,"formatter"]);return typeof r===aN?(e.status=k,r(e)):typeof r===aa?g.formatTpl(r,e):void 0},getRawValue:function(j,k){var a=this[ax](k),l=a.getRawDataItem(j);return null!=l?f[aJ](l)&&!f[aA](l)?l.value:l:void 0},formatTooltip:f.noop},h.mappingToExists=function(j,k){k=(k||[]).slice();var a=f.map(j||[],function(e){return{exist:e}});return f.each(k,function(i,m){if(f[aJ](i)){for(var e=0;e<a[aD];e++){var l=a[e].exist;if(!a[e][ah]&&(null!=i.id&&l.id===i.id+""||null!=i.name&&!h.isIdInner(i)&&!h.isIdInner(l)&&l.name===i.name+"")){a[e][ah]=i,k[m]=null;break}}}}),f.each(k,function(i){if(f[aJ](i)){for(var l=0;l<a[aD];l++){var m=a[l].exist;if(!a[l][ah]&&!h.isIdInner(m)&&null==i.id){a[l][ah]=i;break}}l>=a[aD]&&a.push({option:i})}}),a},h.isIdInner=function(a){return f[aJ](a)&&a.id&&0===(a.id+"")[aP]("\x00_ec_\x00")},h}),aG("echarts/model/Model",[a2,br,"../util/clazz","./mixin/lineStyle","./mixin/areaStyle","./mixin/textStyle","./mixin/itemStyle"],function(b){function d(h,j,g,k){this.parentModel=j,this[a4]=g,this[ah]=h,this.init&&(arguments[aD]<=4?this.init(h,j,g,k):this.init.apply(this,arguments))}var a=b(br),f=b("../util/clazz");d[aU]={constructor:d,init:null,mergeOption:function(e){a.merge(this[ah],e,!0)},get:function(h,k){if(!h){return this[ah]}typeof h===aa&&(h=h.split("."));for(var g=this[ah],l=this.parentModel,j=0;j<h[aD]&&(!h[j]||(g=g&&"object"==typeof g?g[h[j]]:null,null!=g));j++){}return null==g&&l&&!k&&(g=l.get(h)),g},getShallow:function(h,k){var g=this[ah],l=g&&g[h],j=this.parentModel;return null==l&&j&&!k&&(l=j[ai](h)),l},getModel:function(h,g){var k=this.get(h,!0),j=this.parentModel,e=new d(k,g||j&&j[bo](h),this[a4]);return e},isEmpty:function(){return null==this[ah]},restoreData:function(){},clone:function(){var e=this.constructor;return new e(a.clone(this[ah]))},setReadOnly:function(e){f.setReadOnly(this,e)}},f.enableClassExtend(d);var c=a.mixin;return c(d,b("./mixin/lineStyle")),c(d,b("./mixin/areaStyle")),c(d,b("./mixin/textStyle")),c(d,b("./mixin/itemStyle")),d}),aG("echarts/model/globalDefault",[],function(){var a="";return typeof navigator!==at&&(a=navigator.platform||""),{color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],grid:{},textStyle:{fontFamily:a.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},animation:!0,animationThreshold:2000,animationDuration:1000,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut"}}),aG("zrender/tool/path",[a2,"../graphic/Path","../core/PathProxy","./transformPath","../core/matrix"],function(E){function z(J,Z,X,U,O,be,R,K,W,Y,I){var V=W*(A/180),u=w(V)*(J-X)/2+D(V)*(Z-U)/2,G=-1*D(V)*(J-X)/2+w(V)*(Z-U)/2,bx=u*u/(R*R)+G*G/(K*K);bx>1&&(R*=B(bx),K*=B(bx));var ae=(O===be?-1:1)*B((R*R*K*K-R*R*G*G-K*K*u*u)/(R*R*G*G+K*K*u*u))||0,H=ae*R*G/K,d=ae*-K*u/R,h=(J+X)/2+w(V)*H-D(V)*d,Q=(Z+U)/2+D(V)*H+w(V)*d,N=x([1,0],[(u-H)/R,(G-d)/K]),c=[(u-H)/R,(G-d)/K],p=[(-1*u-H)/R,(-1*G-d)/K],g=x(c,p);j(c,p)<=-1&&(g=A),j(c,p)>=1&&(g=0),0===be&&g>0&&(g-=2*A),1===be&&0>g&&(g+=2*A),I.addData(Y,h,Q,R,K,N,g,V,be)}function v(O){if(!O){return[]}var Z,X=O[aS](/-/g," -")[aS](/  /g," ")[aS](/ /g,",")[aS](/,,/g,",");for(Z=0;Z<q[aD];Z++){X=X[aS](new RegExp(q[Z],"g"),"|"+q[Z])}var R,W=X.split("|"),P=0,bz=0,N=new C,ae=C.CMD;for(Z=1;Z<W[aD];Z++){var by,bx=W[Z],V=bx.charAt(0),be=0,K=bx.slice(1)[aS](/e,-/g,"e-").split(",");K[aD]>0&&""===K[0]&&K.shift();for(var Y=0;Y<K[aD];Y++){K[Y]=parseFloat(K[Y])}for(;be<K[aD]&&!isNaN(K[be])&&!isNaN(K[0]);){var H,I,bB,bA,J,e,l,U=P,Q=bz;switch(V){case"l":P+=K[be++],bz+=K[be++],by=ae.L,N.addData(by,P,bz);break;case"L":P=K[be++],bz=K[be++],by=ae.L,N.addData(by,P,bz);break;case"m":P+=K[be++],bz+=K[be++],by=ae.M,N.addData(by,P,bz),V="l";break;case"M":P=K[be++],bz=K[be++],by=ae.M,N.addData(by,P,bz),V="L";break;case"h":P+=K[be++],by=ae.L,N.addData(by,P,bz);break;case"H":P=K[be++],by=ae.L,N.addData(by,P,bz);break;case"v":bz+=K[be++],by=ae.L,N.addData(by,P,bz);break;case"V":bz=K[be++],by=ae.L,N.addData(by,P,bz);break;case"C":by=ae.C,N.addData(by,K[be++],K[be++],K[be++],K[be++],K[be++],K[be++]),P=K[be-2],bz=K[be-1];break;case"c":by=ae.C,N.addData(by,K[be++]+P,K[be++]+bz,K[be++]+P,K[be++]+bz,K[be++]+P,K[be++]+bz),P+=K[be-2],bz+=K[be-1];break;case"S":H=P,I=bz;var a=N.len(),G=N.data;R===ae.C&&(H+=P-G[a-4],I+=bz-G[a-3]),by=ae.C,U=K[be++],Q=K[be++],P=K[be++],bz=K[be++],N.addData(by,H,I,U,Q,P,bz);break;case"s":H=P,I=bz;var a=N.len(),G=N.data;R===ae.C&&(H+=P-G[a-4],I+=bz-G[a-3]),by=ae.C,U=P+K[be++],Q=bz+K[be++],P+=K[be++],bz+=K[be++],N.addData(by,H,I,U,Q,P,bz);break;case"Q":U=K[be++],Q=K[be++],P=K[be++],bz=K[be++],by=ae.Q,N.addData(by,U,Q,P,bz);break;case"q":U=K[be++]+P,Q=K[be++]+bz,P+=K[be++],bz+=K[be++],by=ae.Q,N.addData(by,U,Q,P,bz);break;case"T":H=P,I=bz;var a=N.len(),G=N.data;R===ae.Q&&(H+=P-G[a-4],I+=bz-G[a-3]),P=K[be++],bz=K[be++],by=ae.Q,N.addData(by,H,I,P,bz);break;case"t":H=P,I=bz;var a=N.len(),G=N.data;R===ae.Q&&(H+=P-G[a-4],I+=bz-G[a-3]),P+=K[be++],bz+=K[be++],by=ae.Q,N.addData(by,H,I,P,bz);break;case"A":bB=K[be++],bA=K[be++],J=K[be++],e=K[be++],l=K[be++],U=P,Q=bz,P=K[be++],bz=K[be++],by=ae.A,z(U,Q,P,bz,e,l,bB,bA,J,by,N);break;case"a":bB=K[be++],bA=K[be++],J=K[be++],e=K[be++],l=K[be++],U=P,Q=bz,P+=K[be++],bz+=K[be++],by=ae.A,z(U,Q,P,bz,e,l,bB,bA,J,by,N)}}("z"===V||"Z"===V)&&(by=ae.Z,N.addData(by)),R=by}return N.toStatic(),N}function m(a,d){var f,c=v(a);return d=d||{},d.buildPath=function(g){g.setData(c.data),f&&k(g,f);var h=g.getContext();h&&g.rebuildPath(h)},d[aK]=function(e){f||(f=F[ad]()),F.mul(f,e,f)},d}var b=E("../graphic/Path"),C=E("../core/PathProxy"),k=E("./transformPath"),F=E("../core/matrix"),q=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"],B=Math.sqrt,D=Math.sin,w=Math.cos,A=Math.PI,y=function(a){return Math.sqrt(a[0]*a[0]+a[1]*a[1])},j=function(a,c){return(a[0]*c[0]+a[1]*c[1])/(y(a)*y(c))},x=function(a,c){return(a[0]*c[1]<a[1]*c[0]?-1:1)*Math.acos(j(a,c))};return{createFromString:function(a,c){return new b(m(a,c))},extendFromString:function(a,c){return b[bs](m(a,c))},mergePath:function(f,h){var d,p,c=[],l=f[aD];for(p=0;l>p;p++){d=f[p],d.__dirty&&d.buildPath(d.path,d.shape),c.push(d.path)}var g=new b(h);return g.buildPath=function(a){a.appendPath(c);var i=a.getContext();i&&a.rebuildPath(i)},g}}}),aG("zrender/graphic/Path",[a2,"./Displayable",aH,"../core/PathProxy","../contain/path","./Gradient"],function(k){function h(a){var i=a.fill;return null!=i&&"none"!==i}function g(a){var i=a[aj];return null!=i&&"none"!==i&&a[aM]>0}function d(a){b.call(this,a),this.path=new c}var b=k("./Displayable"),j=k(aH),c=k("../core/PathProxy"),m=k("../contain/path"),f=(k("./Gradient"),Math.abs);return d[aU]={constructor:d,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(B){B.save();var p=this.style,e=this.path,z=g(p),i=h(p),C=i&&!!p.fill.colorStops,q=z&&!!p[aj].colorStops;if(p.bind(B,this),this.setTransform(B),this.__dirtyPath){var y=this[a1]();C&&(this._fillGradient=p.getGradient(B,p.fill,y)),q&&(this._strokeGradient=p.getGradient(B,p[aj],y))}C&&(B.fillStyle=this._fillGradient),q&&(B.strokeStyle=this._strokeGradient);var A=p.lineDash,v=p.lineDashOffset,x=!!B.setLineDash,w=this.getGlobalScale();e.setScale(w[0],w[1]),this.__dirtyPath||A&&!x&&z?(e=this.path.beginPath(B),A&&!x&&(e.setLineDash(A),e.setLineDashOffset(v)),this.buildPath(e,this.shape),this.__dirtyPath=!1):(B.beginPath(),this.path.rebuildPath(B)),i&&e.fill(B),A&&x&&(B.setLineDash(A),B.lineDashOffset=v),z&&e[aj](B),null!=p.text&&this.drawRectText(B,this[a1]()),B.restore()},buildPath:function(){},getBoundingRect:function(){var p=this._rect,w=this.style,u=!p;if(u){var i=this.path;this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape)),p=i[a1]()}if(this._rect=p,g(w)){var v=this._rectWithStroke||(this._rectWithStroke=p.clone());if(this.__dirty||u){v.copy(p);var q=w[aM],e=w.strokeNoScale?this.getLineScale():1;h(w)||(q=Math.max(q,this.strokeContainThreshold)),e>1e-10&&(v.width+=q/e,v[bq]+=q/e,v.x-=q/e/2,v.y-=q/e/2)}return v}return p},contain:function(q,x){var s=this.transformCoordToLocal(q,x),i=this[a1](),v=this.style;if(q=s[0],x=s[1],i[bd](q,x)){var e=this.path.data;if(g(v)){var w=v[aM],p=v.strokeNoScale?this.getLineScale():1;if(p>1e-10&&(h(v)||(w=Math.max(w,this.strokeContainThreshold)),m.containStroke(e,w/p,q,x))){return !0}}if(h(v)){return m[bd](e,q,x)}}return !1},dirty:function(a){0===arguments[aD]&&(a=!0),a&&(this.__dirtyPath=a,this._rect=null),this.__dirty=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(a){return this.animate("shape",a)},attrKV:function(a,i){"shape"===a?this.setShape(i):b[aU].attrKV.call(this,a,i)},setShape:function(l,o){var a=this.shape;if(a){if(j[aJ](l)){for(var p in l){a[p]=l[p]}}else{a[l]=o}this.dirty(!0)}return this},getLineScale:function(){var a=this[bu];return a&&f(a[0]-1)>1e-10&&f(a[3]-1)>1e-10?Math.sqrt(f(a[0]*a[3]-a[2]*a[1])):1}},d[bs]=function(l){var n=function(s){d.call(this,s),l.style&&this.style.extendFrom(l.style,!1);var p=l.shape;if(p){this.shape=this.shape||{};var q=this.shape;for(var o in p){!q.hasOwnProperty(o)&&p.hasOwnProperty(o)&&(q[o]=p[o])}}l.init&&l.init.call(this,s)};j[aQ](n,d);for(var a in l){"style"!==a&&"shape"!==a&&(n[aU][a]=l[a])}return n},j[aQ](d,b),d}),aG("zrender/graphic/Gradient",[a2],function(){var a=function(b){this.colorStops=b||[]};return a[aU]={constructor:a,addColorStop:function(b,c){this.colorStops.push({offset:b,color:c})}},a}),aG("zrender/container/Group",[a2,aH,"../Element","../core/BoundingRect"],function(b){var d=b(aH),a=b("../Element"),f=b("../core/BoundingRect"),c=function(g){g=g||{},a.call(this,g);for(var h in g){this[h]=g[h]}this._children=[],this.__storage=null,this.__dirty=!0};return c[aU]={constructor:c,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(e){return this._children[e]},childOfName:function(h){for(var j=this._children,g=0;g<j[aD];g++){if(j[g].name===h){return j[g]}}},childCount:function(){return this._children[aD]},add:function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},addBefore:function(h,j){if(h&&h!==this&&h.parent!==this&&j&&j.parent===this){var g=this._children,k=g[aP](j);k>=0&&(g[a8](k,0,h),this._doAdd(h))}return this},_doAdd:function(h){h.parent&&h.parent[aq](h),h.parent=this;var j=this.__storage,g=this.__zr;j&&j!==h.__storage&&(j.addToMap(h),h instanceof c&&h.addChildrenToStorage(j)),g&&g.refresh()},remove:function(h){var g=this.__zr,k=this.__storage,e=this._children,j=d[aP](e,h);return 0>j?this:(e[a8](j,1),h.parent=null,k&&(k.delFromMap(h.id),h instanceof c&&h.delChildrenFromStorage(k)),g&&g.refresh(),this)},removeAll:function(){var h,j,g=this._children,k=this.__storage;for(j=0;j<g[aD];j++){h=g[j],k&&(k.delFromMap(h.id),h instanceof c&&h.delChildrenFromStorage(k)),h.parent=null}return g[aD]=0,this},eachChild:function(h,k){for(var g=this._children,l=0;l<g[aD];l++){var j=g[l];h.call(k,j,l)}return this},traverse:function(h,j){for(var g=0;g<this._children[aD];g++){var k=this._children[g];h.call(j,k),"group"===k.type&&k.traverse(h,j)}return this},addChildrenToStorage:function(h){for(var j=0;j<this._children[aD];j++){var g=this._children[j];h.addToMap(g),g instanceof c&&g.addChildrenToStorage(h)}},delChildrenFromStorage:function(h){for(var j=0;j<this._children[aD];j++){var g=this._children[j];h.delFromMap(g.id),g instanceof c&&g.delChildrenFromStorage(h)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(q){for(var m=null,k=new f(0,0,0,0),g=q||this._children,p=[],h=0;h<g[aD];h++){var u=g[h];if(!u[bk]&&!u.invisible){var j=u[a1](),n=u.getLocalTransform(p);n?(k.copy(j),k[aK](n),m=m||k.clone(),m.union(k)):(m=m||j.clone(),m.union(j))}}return m||k}},d[aQ](c,a),c}),aG("zrender/graphic/Image",[a2,"./Displayable","../core/BoundingRect",aH,"./helper/roundRect","../core/LRU"],function(d){function h(a){c.call(this,a)}var c=d("./Displayable"),k=d("../core/BoundingRect"),g=d(aH),b=d("./helper/roundRect"),j=d("../core/LRU"),f=new j(50);return h[aU]={constructor:h,type:"image",brush:function(D){var z,w=this.style,s=w.image;if(z=typeof s===aa?this._image:s,!z&&s){var a=f.get(s);if(!a){return z=new Image,z.onload=function(){z.onload=null;for(var e=0;e<a.pending[aD];e++){a.pending[e].dirty()}},a={image:z,pending:[this]},z.src=s,f.put(s,a),void (this._image=z)}if(z=a.image,this._image=z,!z.width||!z[bq]){return void a.pending.push(this)}}if(z){var q=w.width||z.width,v=w[bq]||z[bq],B=w.x||0,C=w.y||0;if(!z.width||!z[bq]){return}if(D.save(),w.bind(D),this.setTransform(D),w.r&&(D.beginPath(),b.buildPath(D,w),D.clip()),w.sWidth&&w.sHeight){var x=w.sx||0,A=w.sy||0;D.drawImage(z,x,A,w.sWidth,w.sHeight,B,C,q,v)}else{if(w.sx&&w.sy){var x=w.sx,A=w.sy,y=q-x,m=v-A;D.drawImage(z,x,A,y,m,B,C,q,v)}else{D.drawImage(z,B,C,q,v)}}null==w.width&&(w.width=q),null==w[bq]&&(w[bq]=v),null!=w.text&&this.drawRectText(D,this[a1]()),D.restore()}},getBoundingRect:function(){var a=this.style;return this._rect||(this._rect=new k(a.x||0,a.y||0,a.width||0,a[bq]||0)),this._rect}},g[aQ](h,c),h}),aG("zrender/graphic/Text",[a2,"./Displayable",aH,"../contain/text"],function(b){var d=b("./Displayable"),a=b(aH),f=b("../contain/text"),c=function(e){d.call(this,e)};return c[aU]={constructor:c,type:"text",brush:function(x){var p=this.style,m=p.x||0,g=p.y||0,v=p.text,j=p.fill,y=p[aj];if(null!=v&&(v+=""),v){if(x.save(),this.style.bind(x),this.setTransform(x),j&&(x.fillStyle=j),y&&(x.strokeStyle=y),x.font=p.textFont||p.font,x[bb]=p[bb],p.textVerticalAlign){var k=f[a1](v,x.font,p[bb],"top");switch(x.textBaseline=bc,p.textVerticalAlign){case bc:g-=k[bq]/2-k.lineHeight/2;break;case af:g-=k[bq]-k.lineHeight/2;break;default:g+=k.lineHeight/2}}else{x.textBaseline=p.textBaseline}for(var q=f.measureText("国",x.font).width,w=v.split("\n"),n=0;n<w[aD];n++){j&&x.fillText(w[n],m,g),y&&x.strokeText(w[n],m,g),g+=q}x.restore()}},getBoundingRect:function(){if(!this._rect){var h=this.style,j=h.textVerticalAlign,g=f[a1](h.text+"",h.textFont||h.font,h[bb],j?"top":h.textBaseline);switch(j){case bc:g.y-=g[bq]/2;break;case af:g.y-=g[bq]}g.x+=h.x||0,g.y+=h.y||0,this._rect=g}return this._rect}},a[aQ](c,d),c}),aG("zrender/graphic/shape/Circle",[a2,"../Path"],function(a){return a("../Path")[bs]({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(b,c){b[aB](c.cx+c.r,c.cy),b.arc(c.cx,c.cy,c.r,0,2*Math.PI,!0)}})}),aG("zrender/graphic/shape/Sector",[a2,"../Path"],function(a){return a("../Path")[bs]({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(q,j){var f=j.cx,b=j.cy,m=Math.max(j.r0||0,0),d=Math.max(j.r,0),v=j.startAngle,g=j.endAngle,k=j.clockwise,p=Math.cos(v),i=Math.sin(v);q[aB](p*m+f,i*m+b),q.lineTo(p*d+f,i*d+b),q.arc(f,b,d,v,g,!k),q.lineTo(Math.cos(g)*m+f,Math.sin(g)*m+b),0!==m&&q.arc(f,b,m,g,v,k),q.closePath()}})}),aG("zrender/graphic/shape/Ring",[a2,"../Path"],function(a){return a("../Path")[bs]({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(c,f){var g=f.cx,d=f.cy,b=2*Math.PI;c[aB](g+f.r,d),c.arc(g,d,f.r,0,b,!1),c[aB](g+f.r0,d),c.arc(g,d,f.r0,0,b,!0)}})}),aG("zrender/graphic/shape/Polygon",[a2,"../helper/poly","../Path"],function(a){var b=a("../helper/poly");return a("../Path")[bs]({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(d,c){b.buildPath(d,c,!0)}})}),aG("zrender/graphic/shape/Polyline",[a2,"../helper/poly","../Path"],function(a){var b=a("../helper/poly");return a("../Path")[bs]({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(d,c){b.buildPath(d,c,!1)}})}),aG("zrender/graphic/shape/Rect",[a2,"../helper/roundRect","../Path"],function(a){var b=a("../helper/roundRect");return a("../Path")[bs]({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(e,d){var h=d.x,f=d.y,c=d.width,g=d[bq];d.r?b.buildPath(e,d):e.rect(h,f,c,g),e.closePath()}})}),aG("zrender/graphic/shape/Line",[a2,"../Path"],function(a){return a("../Path")[bs]({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(c,g){var i=g.x1,f=g.y1,b=g.x2,h=g.y2,d=g.percent;0!==d&&(c[aB](i,f),1>d&&(b=i*(1-d)+b*d,h=f*(1-d)+h*d),c.lineTo(b,h))},pointAt:function(b){var c=this.shape;return[c.x1*(1-b)+c.x2*b,c.y1*(1-b)+c.y2*b]}})}),aG("zrender/graphic/shape/BezierCurve",[a2,"../../core/curve","../../core/vector","../Path"],function(q){function j(c,l,a){var o=c.cpx2,h=c.cpy2;return null===o||null===h?[(a?p:g)(c.x1,c.cpx1,c.cpx2,c.x2,l),(a?p:g)(c.y1,c.cpy1,c.cpy2,c.y2,l)]:[(a?k:v)(c.x1,c.cpx1,c.x2,l),(a?k:v)(c.y1,c.cpy1,c.y2,l)]}var f=q("../../core/curve"),b=q("../../core/vector"),m=f.quadraticSubdivide,d=f.cubicSubdivide,v=f.quadraticAt,g=f.cubicAt,k=f.quadraticDerivativeAt,p=f.cubicDerivativeAt,i=[];return q("../Path")[bs]({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(C,y){var o=y.x1,a=y.y1,D=y.x2,w=y.y2,A=y.cpx1,B=y.cpy1,z=y.cpx2,x=y.cpy2,h=y.percent;0!==h&&(C[aB](o,a),null==z||null==x?(1>h&&(m(o,A,D,h,i),A=i[1],D=i[2],m(a,B,w,h,i),B=i[1],w=i[2]),C.quadraticCurveTo(A,B,D,w)):(1>h&&(d(o,A,z,D,h,i),A=i[1],z=i[2],D=i[3],d(a,B,x,w,h,i),B=i[1],x=i[2],w=i[3]),C.bezierCurveTo(A,B,z,x,D,w)))},pointAt:function(a){return j(this.shape,a,!1)},tangentAt:function(c){var a=j(this.shape,c,!0);return b.normalize(a,a)}})}),aG("zrender/graphic/shape/Arc",[a2,"../Path"],function(a){return a("../Path")[bs]({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(m,h){var f=h.cx,b=h.cy,j=Math.max(h.r,0),d=h.startAngle,p=h.endAngle,g=h.clockwise,i=Math.cos(d),k=Math.sin(d);m[aB](i*j+f,k*j+b),m.arc(f,b,j,d,p,!g)}})}),aG("zrender/graphic/CompoundPath",[a2,"./Path"],function(a){var b=a("./Path");return b[bs]({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var d=this.__dirtyPath,f=this.shape.paths,c=0;c<f[aD];c++){d=d||f[c].__dirtyPath}this.__dirtyPath=d,this.__dirty=this.__dirty||d},beforeBrush:function(){this._updatePathDirty();for(var d=this.shape.paths||[],f=this.getGlobalScale(),c=0;c<d[aD];c++){d[c].path.setScale(f[0],f[1])}},buildPath:function(d,f){for(var c=f.paths||[],g=0;g<c[aD];g++){c[g].buildPath(d,c[g].shape)}},afterBrush:function(){for(var c=this.shape.paths,d=0;d<c[aD];d++){c[d].__dirtyPath=!1}},getBoundingRect:function(){return this._updatePathDirty(),b[aU][a1].call(this)}})}),aG("zrender/graphic/LinearGradient",[a2,aH,"./Gradient"],function(b){var c=b(aH),a=b("./Gradient"),d=function(g,i,j,h,f){this.x=null==g?0:g,this.y=null==i?0:i,this.x2=null==j?1:j,this.y2=null==h?0:h,a.call(this,f)};return d[aU]={constructor:d,type:"linear"},c[aQ](d,a),d}),aG("zrender/core/BoundingRect",[a2,"./vector","./matrix"],function(d){function h(l,m,a,o){this.x=l,this.y=m,this.width=a,this[bq]=o}var c=d("./vector"),k=d("./matrix"),g=c[aK],b=Math.min,j=Math.abs,f=Math.max;return h[aU]={constructor:h,union:function(l){var m=b(l.x,this.x),a=b(l.y,this.y);this.width=f(l.x+l.width,this.x+this.width)-m,this[bq]=f(l.y+l[bq],this.y+this[bq])-a,this.x=m,this.y=a},applyTransform:function(){var a=[],i=[];return function(e){e&&(a[0]=this.x,a[1]=this.y,i[0]=this.x+this.width,i[1]=this.y+this[bq],g(a,a,e),g(i,i,e),this.x=b(a[0],i[0]),this.y=b(a[1],i[1]),this.width=j(i[0]-a[0]),this[bq]=j(i[1]-a[1]))}}(),calculateTransform:function(n){var p=this,m=n.width/p.width,o=n[bq]/p[bq],l=k[ad]();return k.translate(l,l,[-p.x,-p.y]),k.scale(l,l,[m,o]),k.translate(l,l,[n.x,n.y]),l},intersect:function(z){var w=this,v=w.x,q=w.x+w.width,m=w.y,y=w.y+w[bq],p=z.x,A=z.x+z.width,u=z.y,x=z.y+z[bq];return !(p>q||v>A||u>y||m>x)},contain:function(l,m){var a=this;return l>=a.x&&l<=a.x+a.width&&m>=a.y&&m<=a.y+a[bq]},clone:function(){return new h(this.x,this.y,this.width,this[bq])},copy:function(a){this.x=a.x,this.y=a.y,this.width=a.width,this[bq]=a[bq]}},h}),aG("zrender/graphic/RadialGradient",[a2,aH,"./Gradient"],function(b){var c=b(aH),a=b("./Gradient"),d=function(f,h,i,g){this.x=null==f?0.5:f,this.y=null==h?0.5:h,this.r=null==i?0.5:i,a.call(this,g)};return d[aU]={constructor:d,type:"radial"},c[aQ](d,a),d}),aG("echarts/coord/polar/Polar",[a2,"./RadiusAxis","./AngleAxis"],function(b){var d=b("./RadiusAxis"),a=b("./AngleAxis"),c=function(e){this.name=e||"",this.cx=0,this.cy=0,this._radiusAxis=new d,this._angleAxis=new a};return c[aU]={constructor:c,type:"polar",dimensions:[av,"angle"],containPoint:function(f){var g=this.pointToCoord(f);return this._radiusAxis[bd](g[0])&&this._angleAxis[bd](g[1])},containData:function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},getAxis:function(e){return this["_"+e+"Axis"]},getAxesByScale:function(g){var h=[],f=this._angleAxis,j=this._radiusAxis;return f.scale.type===g&&h.push(f),j.scale.type===g&&h.push(j),h},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(f){var g=this._angleAxis;return f===g?this._radiusAxis:g},getBaseAxis:function(){return this.getAxesByScale(ay)[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},dataToPoints:function(e){return e.mapArray(this[ao],function(f,g){return this[au]([f,g])},this)},dataToPoint:function(f,g){return this.coordToPoint([this._radiusAxis.dataToRadius(f[0],g),this._angleAxis.dataToAngle(f[1],g)])},pointToData:function(g,h){var f=this.pointToCoord(g);return[this._radiusAxis.radiusToData(f[0],h),this._angleAxis.angleToData(f[1],h)]},pointToCoord:function(u){var m=u[0]-this.cx,k=u[1]-this.cy,h=this.getAngleAxis(),f=h[az](),q=Math.min(f[0],f[1]),g=Math.max(f[0],f[1]);h.inverse?q=g-360:g=q+360;var v=Math.sqrt(m*m+k*k);m/=v,k/=v;for(var j=Math.atan2(-k,m)/Math.PI*180,p=q>j?1:-1;q>j||j>g;){j+=360*p}return[v,j]},coordToPoint:function(g){var j=g[0],f=g[1]/180*Math.PI,k=Math.cos(f)*j+this.cx,h=-Math.sin(f)*j+this.cy;return[k,h]}},c}),aG("echarts/coord/axisHelper",[a2,"../scale/Ordinal","../scale/Interval","../scale/Time","../scale/Log","../scale/Scale","../util/number",br,"zrender/contain/text"],function(d){var h=d("../scale/Ordinal"),c=d("../scale/Interval");d("../scale/Time"),d("../scale/Log");var k=d("../scale/Scale"),g=d("../util/number"),b=d(br),j=d("zrender/contain/text"),f={};return f.getScaleExtent=function(y,v){var q=y.scale,m=q[az](),l=m[1]-m[0];if(q.type===ay){return isFinite(l)?m:[0,0]}var z=v.getMin?v.getMin():v.get("min"),x=v.getMax?v.getMax():v.get("max"),r=v.getNeedCrossZero?v.getNeedCrossZero():!v.get("scale"),w=v.get("boundaryGap");b[aA](w)||(w=[w||0,w||0]),w[0]=g[am](w[0],1),w[1]=g[am](w[1],1);var u=!0,a=!0;return null==z&&(z=m[0]-w[0]*l,u=!1),null==x&&(x=m[1]+w[1]*l,a=!1),"dataMin"===z&&(z=m[0]),"dataMax"===x&&(x=m[1]),r&&(z>0&&x>0&&!u&&(z=0),0>z&&0>x&&!a&&(x=0)),[z,x]},f.niceScaleExtent=function(A,w){var v=A.scale,q=f.getScaleExtent(A,w),m=null!=(w.getMin?w.getMin():w.get("min")),y=null!=(w.getMax?w.getMax():w.get("max")),p=w.get("splitNumber");v.setExtent(q[0],q[1]),v.niceExtent(p,m,y);var s=w.get("minInterval");if(isFinite(s)&&!m&&!y&&"interval"===v.type){var x=v.getInterval(),z=Math.max(Math.abs(x),s)/x;q=v[az](),v.setExtent(z*q[0],q[1]*z),v.niceExtent(p)}var x=w.get("interval");null!=x&&v.setInterval&&v.setInterval(x)},f.createScaleByModel=function(a,e){if(e=e||a.get("type")){switch(e){case aI:return new h(a.getCategories(),[1/0,-1/0]);case"value":return new c;default:return(k.getClass(e)||c)[ad](a)}}},f.ifAxisCrossZero=function(l){var m=l.scale[az](),a=m[0],o=m[1];return !(a>0&&o>0||0>a&&0>o)},f.getAxisLabelInterval=function(A,w,q,o){var m,y=0,B=0,p=1;w[aD]>40&&(p=Math.round(w[aD]/40));for(var x=0;x<A[aD];x+=p){var z=A[x],v=j[a1](w[x],q,bh,"top");v[o?"x":"y"]+=z,v[o?"width":bq]*=1.5,m?m.intersect(v)?(B++,y=Math.max(y,B)):(m.union(v),B=0):m=v.clone()}return 0===y&&p>1?p:y*p},f.getFormattedLabels=function(l,o){var a=l.scale,p=a.getTicksLabels(),m=a.getTicks();return typeof o===aa?(o=function(e){return function(i){return e[aS]("{value}",i)}}(o),b.map(p,o)):typeof o===aN?b.map(m,function(i,e){return o(l.type===aI?a[a7](i):i,e)},this):p},f}),aG("echarts/coord/polar/PolarModel",[a2,"./AxisModel",ap],function(a){a("./AxisModel"),a(ap).extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(c){var d,b=this[a4];return b.eachComponent(c,function(e){b[aY]("polar",e[ai]("polarIndex"))===this&&(d=e)},this),d},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}})}),aG("zrender/core/PathProxy",[a2,"./curve","./vector","./bbox","./BoundingRect","../config"],function(p){var F=p("./curve"),z=p("./vector"),w=p("./bbox"),J=p("./BoundingRect"),x=p("../config").devicePixelRatio,q={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},B=[],H=[],k=[],C=[],G=Math.min,E=Math.max,D=Math.cos,j=Math.sin,A=Math.sqrt,i=Math.abs,K=typeof Float32Array!=at,I=function(){this.data=[],this._len=0,this._ctx=null,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._ux=0,this._uy=0};return I[aU]={constructor:I,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(a,b){this._ux=i(1/x/a)||0,this._uy=i(1/x/b)||0},getContext:function(){return this._ctx},beginPath:function(a){return this._ctx=a,a&&a.beginPath(),this._len=0,this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(a,b){return this.addData(q.M,a,b),this._ctx&&this._ctx[aB](a,b),this._x0=a,this._y0=b,this._xi=a,this._yi=b,this},lineTo:function(b,c){var a=i(b-this._xi)>this._ux||i(c-this._yi)>this._uy||0===this._len;return this.addData(q.L,b,c),this._ctx&&a&&(this._needsDash()?this._dashedLineTo(b,c):this._ctx.lineTo(b,c)),a&&(this._xi=b,this._yi=c),this},bezierCurveTo:function(d,g,c,h,f,b){return this.addData(q.C,d,g,c,h,f,b),this._ctx&&(this._needsDash()?this._dashedBezierTo(d,g,c,h,f,b):this._ctx.bezierCurveTo(d,g,c,h,f,b)),this._xi=f,this._yi=b,this},quadraticCurveTo:function(b,c,a,d){return this.addData(q.Q,b,c,a,d),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(b,c,a,d):this._ctx.quadraticCurveTo(b,c,a,d)),this._xi=a,this._yi=d,this},arc:function(d,g,c,h,f,b){return this.addData(q.A,d,g,c,c,h,f-h,0,b?0:1),this._ctx&&this._ctx.arc(d,g,c,h,f,b),this._xi=D(f)*c+d,this._xi=j(f)*c+d,this},arcTo:function(b,d,a,f,c){return this._ctx&&this._ctx.arcTo(b,d,a,f,c),this},rect:function(b,c,a,d){return this._ctx&&this._ctx.rect(b,c,a,d),this.addData(q.R,b,c,a,d),this},closePath:function(){this.addData(q.Z);var b=this._ctx,c=this._x0,a=this._y0;return b&&(this._needsDash()&&this._dashedLineTo(c,a),b.closePath()),this._xi=c,this._yi=a,this},fill:function(a){a&&a.fill(),this.toStatic()},stroke:function(a){a&&a[aj](),this.toStatic()},setLineDash:function(b){if(b instanceof Array){this._lineDash=b,this._dashIdx=0;for(var c=0,a=0;a<b[aD];a++){c+=b[a]}this._dashSum=c}return this},setLineDashOffset:function(a){return this._dashOffset=a,this},len:function(){return this._len},setData:function(b){var c=b[aD];this.data&&this.data[aD]==c||!K||(this.data=new Float32Array(c));for(var a=0;c>a;a++){this.data[a]=b[a]}this._len=c},appendPath:function(d){d instanceof Array||(d=[d]);for(var g=d[aD],c=0,l=this._len,f=0;g>f;f++){c+=d[f].len()}K&&this.data instanceof Float32Array&&(this.data=new Float32Array(l+c));for(var f=0;g>f;f++){for(var b=d[f].data,h=0;h<b[aD];h++){this.data[l++]=b[h]}}this._len=l},addData:function(b){var c=this.data;this._len+arguments[aD]>c[aD]&&(this._expandData(),c=this.data);for(var a=0;a<arguments[aD];a++){c[this._len++]=arguments[a]}this._prevCmd=b},_expandData:function(){if(!(this.data instanceof Array)){for(var a=[],b=0;b<this._len;b++){a[b]=this.data[b]}this.data=a}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(V,O){var m,b,S=this._dashSum,f=this._dashOffset,W=this._lineDash,L=this._ctx,P=this._xi,U=this._yi,M=V-P,d=O-U,N=A(M*M+d*d),T=P,Q=U,R=W[aD];for(M/=N,d/=N,0>f&&(f=S+f),f%=S,T-=f*M,Q-=f*d;M>=0&&V>=T||0>M&&T>V;){b=this._dashIdx,m=W[b],T+=M*m,Q+=d*m,this._dashIdx=(b+1)%R,M>0&&P>T||0>M&&T>P||L[b%2?aB:"lineTo"](M>=0?G(T,V):E(T,V),d>=0?G(Q,O):E(Q,O))}M=T-V,d=Q-O,this._dashOffset=-A(M*M+d*d)},_dashedBezierTo:function(R,X,U,bA,W,T){var Y,by,Q,Z,bx,be=this._dashSum,V=this._dashOffset,ae=this._lineDash,P=this._ctx,L=this._xi,N=this._yi,bB=F.cubicAt,bz=0,O=this._dashIdx,e=ae[aD],m=0;for(0>V&&(V=be+V),V%=be,Y=0;1>Y;Y+=0.1){by=bB(L,R,U,W,Y+0.1)-bB(L,R,U,W,Y),Q=bB(N,X,bA,T,Y+0.1)-bB(N,X,bA,T,Y),bz+=A(by*by+Q*Q)}for(;e>O&&(m+=ae[O],!(m>V));O++){}for(Y=(m-V)/bz;1>=Y;){Z=bB(L,R,U,W,Y),bx=bB(N,X,bA,T,Y),O%2?P[aB](Z,bx):P.lineTo(Z,bx),Y+=ae[O]/bz,O=(O+1)%e}O%2!==0&&P.lineTo(W,T),by=W-Z,Q=T-bx,this._dashOffset=-A(by*by+Q*Q)},_dashedQuadraticTo:function(d,g,c,h){var f=c,b=h;c=(c+2*d)/3,h=(h+2*g)/3,d=(this._xi+2*d)/3,g=(this._yi+2*g)/3,this._dashedBezierTo(d,g,c,h,f,b)},toStatic:function(){var a=this.data;a instanceof Array&&(a[aD]=this._len,K&&(this.data=new Float32Array(a)))},getBoundingRect:function(){B[0]=B[1]=k[0]=k[1]=Number.MAX_VALUE,H[0]=H[1]=C[0]=C[1]=-Number.MAX_VALUE;for(var R=this.data,s=0,n=0,g=0,v=0,r=0;r<R[aD];){var a=R[r++];switch(1==r&&(s=R[r],n=R[r+1],g=s,v=n),a){case q.M:g=R[r++],v=R[r++],s=g,n=v,k[0]=g,k[1]=v,C[0]=g,C[1]=v;break;case q.L:w.fromLine(s,n,R[r],R[r+1],k,C),s=R[r++],n=R[r++];break;case q.C:w.fromCubic(s,n,R[r++],R[r++],R[r++],R[r++],R[r],R[r+1],k,C),s=R[r++],n=R[r++];break;case q.Q:w.fromQuadratic(s,n,R[r++],R[r++],R[r],R[r+1],k,C),s=R[r++],n=R[r++];break;case q.A:var h=R[r++],N=R[r++],O=R[r++],Q=R[r++],L=R[r++],P=R[r++]+L,l=(R[r++],1-R[r++]);1==r&&(g=D(L)*O+h,v=j(L)*Q+N),w.fromArc(h,N,O,Q,L,P,l,k,C),s=D(P)*O+h,n=j(P)*Q+N;break;case q.R:g=s=R[r++],v=n=R[r++];var u=R[r++],c=R[r++];w.fromLine(g,v,g+u,v+c,k,C);break;case q.Z:s=g,n=v}z.min(B,B,k),z.max(H,H,C)}return 0===r&&(B[0]=B[1]=H[0]=H[1]=0),new J(B[0],B[1],H[0]-B[0],H[1]-B[1])},rebuildPath:function(V){for(var bB,be,X,bF,ae,by,bD=this.data,U=this._ux,bz=this._uy,bC=this._len,bA=0;bC>bA;){var Z=bD[bA++];switch(1==bA&&(X=bD[bA],bF=bD[bA+1],bB=X,be=bF),Z){case q.M:bB=X=bD[bA++],be=bF=bD[bA++],V[aB](X,bF);break;case q.L:ae=bD[bA++],by=bD[bA++],(i(ae-X)>U||i(by-bF)>bz||bA===bC-1)&&(V.lineTo(ae,by),X=ae,bF=by);break;case q.C:V.bezierCurveTo(bD[bA++],bD[bA++],bD[bA++],bD[bA++],bD[bA++],bD[bA++]),X=bD[bA-2],bF=bD[bA-1];break;case q.Q:V.quadraticCurveTo(bD[bA++],bD[bA++],bD[bA++],bD[bA++]),X=bD[bA-2],bF=bD[bA-1];break;case q.A:var bx=bD[bA++],Q=bD[bA++],bG=bD[bA++],bE=bD[bA++],R=bD[bA++],s=bD[bA++],y=bD[bA++],Y=bD[bA++],W=bG>bE?bG:bE,g=bG>bE?1:bG/bE,N=bG>bE?bE/bG:1,v=Math.abs(bG-bE)>0.001,O=R+s;v?(V.translate(bx,Q),V.rotate(y),V.scale(g,N),V.arc(0,0,W,R,O,1-Y),V.scale(1/g,1/N),V.rotate(-y),V.translate(-bx,-Q)):V.arc(bx,Q,W,R,O,1-Y),1==bA&&(bB=D(R)*bG+bx,be=j(R)*bE+Q),X=D(O)*bG+bx,bF=j(O)*bE+Q;break;case q.R:bB=X=bD[bA],be=bF=bD[bA+1],V.rect(bD[bA++],bD[bA++],bD[bA++],bD[bA++]);break;case q.Z:V.closePath(),X=bB,bF=be}}}},I.CMD=q,I}),aG("zrender/contain/text",[a2,aH,"../core/BoundingRect"],function(y){function q(h,s){var f=h+":"+s;if(z[f]){return z[f]}for(var A=(h+"").split("\n"),l=0,c=0,u=A[aD];u>c;c++){l=Math.max(p.measureText(A[c],s).width,l)}return j>v&&(j=0,z={}),j++,z[f]=l,l}function k(D,A,h,e){var C=((D||"")+"").split("\n")[aD],f=q(D,A),E=q("国",A),u=C*E,B=new m(0,0,f,u);switch(B.lineHeight=E,e){case af:case"alphabetic":B.y-=E;break;case bc:B.y-=E/2}switch(h){case"end":case"right":B.x-=B.width;break;case bh:B.x-=B.width/2}return B}function g(H,D,C,A){var f=D.x,F=D.y,h=D[bq],I=D.width,B=C[bq],E=h/2-B/2,G="left";switch(H){case"left":f-=A,F+=E,G="right";break;case"right":f+=A+I,F+=E,G="left";break;case"top":f+=I/2,F-=A+B,G=bh;break;case af:f+=I/2,F+=h+A,G=bh;break;case aw:f+=I/2,F+=E,G=bh;break;case"insideLeft":f+=A,F+=E,G="left";break;case"insideRight":f+=I-A,F+=E,G="right";break;case"insideTop":f+=I/2,F+=A,G=bh;break;case"insideBottom":f+=I/2,F+=h-B-A,G=bh;break;case"insideTopLeft":f+=A,F+=A,G="left";break;case"insideTopRight":f+=I-A,F+=A,G="right";break;case"insideBottomLeft":f+=A,F+=h-B-A;break;case"insideBottomRight":f+=I-A,F+=h-B-A,G="right"}return{x:f,y:F,textAlign:G,textBaseline:"top"}}function b(e,c,A,h){if(!A){return""}h=x[bm]({ellipsis:"...",minCharacters:3,maxIterations:3,cnCharWidth:q("国",c),ascCharWidth:q("a",c)},h,!0),A-=q(h.ellipsis);for(var u=(e+"").split("\n"),f=0,a=u[aD];a>f;f++){u[f]=w(u[f],c,A,h)}return u.join("\n")}function w(h,f,A,u){for(var e=0;;e++){var o=q(h,f);if(A>o||e>=u.maxIterations){h+=u.ellipsis;break}var c=0===e?d(h,A,u):Math.floor(h[aD]*A/o);if(c<u.minCharacters){h="";break}h=h.substr(0,c)}return h}function d(h,s,f){for(var A=0,l=0,c=h[aD];c>l&&s>A;l++){var u=h.charCodeAt(l);A+=u>=0&&127>=u?f.ascCharWidth:f.cnCharWidth}return l}var z={},j=0,v=5000,x=y(aH),m=y("../core/BoundingRect"),p={getWidth:q,getBoundingRect:k,adjustTextPositionOnRect:g,ellipsis:b,measureText:function(c,f){var a=x.getContext();return a.font=f,a.measureText(c)}};return p}),aG("zrender/graphic/mixin/RectText",[a2,"../../contain/text","../../core/BoundingRect"],function(d){function g(a,i){return typeof a===aa?a.lastIndexOf("%")>=0?parseFloat(a)/100*i:parseFloat(a):a}function c(a,i){a[bu](i[0],i[1],i[2],i[3],i[4],i[5])}var j=d("../../contain/text"),f=d("../../core/BoundingRect"),b=new f,h=function(){};return h[aU]={constructor:h,drawRectText:function(A,C,E){var B=this.style,G=B.text;if(null!=G&&(G+=""),G){var L,z,H=B.textPosition,K=B.textDistance,J=B[bb],D=B.textFont||B.font,I=B.textBaseline,q=B.textVerticalAlign;E=E||j[a1](G,D,J,I);var F=this[bu],i=this.invTransform;if(F&&(b.copy(C),b[aK](F),C=b,c(A,i)),H instanceof Array){if(L=C.x+g(H[0],C.width),z=C.y+g(H[1],C[bq]),J=J||"left",I=I||"top",q){switch(q){case bc:z-=E[bq]/2-E.lineHeight/2;break;case af:z-=E[bq]-E.lineHeight/2;break;default:z+=E.lineHeight/2}I=bc}}else{var k=j.adjustTextPositionOnRect(H,C,E,K);L=k.x,z=k.y,J=J||k[bb],I=I||k.textBaseline}A[bb]=J,A.textBaseline=I;var N=B.textFill,n=B.textStroke;N&&(A.fillStyle=N),n&&(A.strokeStyle=n),A.font=D,A.shadowColor=B.textShadowColor,A.shadowBlur=B.textShadowBlur,A.shadowOffsetX=B.textShadowOffsetX,A.shadowOffsetY=B.textShadowOffsetY;for(var a=G.split("\n"),e=0;e<a[aD];e++){N&&A.fillText(a[e],L,z),n&&A.strokeText(a[e],L,z),z+=E.lineHeight}F&&c(A,F)}}},h}),aG("zrender/graphic/Displayable",[a2,aH,"./Style","../Element","./mixin/RectText"],function(d){function g(a){a=a||{},f.call(this,a);for(var i in a){a.hasOwnProperty(i)&&"style"!==i&&(this[i]=a[i])}this.style=new h(a.style),this._rect=null,this.__clipPaths=[]}var c=d(aH),h=d("./Style"),f=d("../Element"),b=d("./mixin/RectText");return g[aU]={constructor:g,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,beforeBrush:function(){},afterBrush:function(){},brush:function(){},getBoundingRect:function(){},contain:function(a,i){return this.rectContain(a,i)},traverse:function(a,i){a.call(i,this)},rectContain:function(j,k){var a=this.transformCoordToLocal(j,k),l=this[a1]();return l[bd](a[0],a[1])},dirty:function(){this.__dirty=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(a){return this.animate("style",a)},attrKV:function(a,i){"style"!==a?f[aU].attrKV.call(this,a,i):this.style.set(i)},setStyle:function(a,i){return this.style.set(a,i),this.dirty(!1),this},useStyle:function(a){return this.style=new h(a),this.dirty(!1),this}},c[aQ](g,f),c.mixin(g,b),g}),aG("zrender/vml/core",[a2,"exports","module","../core/env"],function(p,j,h){if(!p("../core/env").canvasSupported){var f,b="urn:schemas-microsoft-com:vml",m=window,d=m.document,q=!1;try{!d.namespaces.zrvml&&d.namespaces.add("zrvml",b),f=function(a){return d[aF]("<zrvml:"+a+' class="zrvml">')}}catch(g){f=function(a){return d[aF]("<"+a+' xmlns="'+b+'" class="zrvml">')}}var k=function(){if(!q){q=!0;var a=d.styleSheets;a[aD]<31?d.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):a[0].addRule(".zrvml","behavior:url(#default#VML)")}};h.exports={doc:d,initVML:k,createNode:f}}}),aG("echarts/util/clazz",[a2,br],function(d){function h(l,m){var a=k.slice(arguments,2);return this.superClass[aU][m].apply(l,a)}function c(l,m,a){return this.superClass[aU][m].apply(l,a)}var k=d(br),g={},b=".",j="___EC__COMPONENT__CONTAINER___",f=g.parseClassType=function(a){var i={main:"",sub:""};return a&&(a=a.split(b),i.main=a[0]||"",i.sub=a[1]||""),i};return g.enableClassExtend=function(a,e){a[bs]=function(i){var l=function(){e&&e.apply(this,arguments),a.apply(this,arguments)};return k[bs](l[aU],i),l[bs]=this[bs],l.superCall=h,l.superApply=c,k[aQ](l,this),l.superClass=this,l}},g.enableClassManagement=function(n,p){function m(a){var i=o[a.main];return i&&i[j]||(i=o[a.main]={},i[j]=!0),i}p=p||{};var o={};if(n.registerClass=function(a,i){if(i){if(i=f(i),i.sub){if(i.sub!==j){var q=m(i);q[i.sub]=a}}else{if(o[i.main]){throw new Error(i.main+"exists.")}o[i.main]=a}}return a},n.getClass=function(q,r,a){var s=o[q];if(s&&s[j]&&(s=r?s[r]:null),a&&!s){throw new Error("Component "+q+"."+(r||"")+" not exists. Load it first.")}return s},n.getClassesByMainType=function(q){q=f(q);var r=[],a=o[q.main];return a&&a[j]?k.each(a,function(s,e){e!==j&&r.push(s)}):r.push(a),r},n.hasClass=function(a){return a=f(a),!!o[a.main]},n.getAllClassMainTypes=function(){var a=[];return k.each(o,function(r,q){a.push(q)}),a},n.hasSubTypes=function(a){a=f(a);var i=o[a.main];return i&&i[j]},n.parseClassType=f,p.registerWhenExtend){var l=n[bs];l&&(n[bs]=function(q){var a=l.call(this,q);return n.registerClass(a,q.type)})}return n},g.setReadOnly=function(){},g}),aG("echarts/model/mixin/lineStyle",[a2,"./makeStyleMapper"],function(a){var b=a("./makeStyleMapper")([[aM,"width"],[aj,"color"],[aZ],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);return{getLineStyle:function(d){var c=b.call(this,d),e=this.getLineDash();return e&&(c.lineDash=e),c},getLineDash:function(){var c=this.get("type");return"solid"===c||null==c?null:"dashed"===c?[5,5]:[1,1]}}}),aG("echarts/model/mixin/areaStyle",[a2,"./makeStyleMapper"],function(a){return{getAreaStyle:a("./makeStyleMapper")([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],[aZ],["shadowColor"]])}}),aG("echarts/model/mixin/textStyle",[a2,"zrender/contain/text"],function(b){function c(d,f){return d&&d[ai](f)}var a=b("zrender/contain/text");return{getTextColor:function(){var d=this[a4];return this[ai]("color")||d&&d.get("textStyle.color")},getFont:function(){var e=this[a4],d=e&&e[bo](ba);return[this[ai]("fontStyle")||c(d,"fontStyle"),this[ai]("fontWeight")||c(d,"fontWeight"),(this[ai]("fontSize")||c(d,"fontSize")||12)+"px",this[ai]("fontFamily")||c(d,"fontFamily")||"sans-serif"].join(" ")},getTextRect:function(d){var f=this.get(ba)||{};return a[a1](d,this[aR](),f.align,f.baseline)},ellipsis:function(d,f,g){return a.ellipsis(d,this[aR](),f,g)}}}),aG("echarts/model/mixin/itemStyle",[a2,"./makeStyleMapper"],function(a){return{getItemStyle:a("./makeStyleMapper")([["fill","color"],[aj,"borderColor"],[aM,"borderWidth"],[aZ],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]])}}),aG("echarts/coord/cartesian/Cartesian2D",[a2,br,"./Cartesian"],function(b){function c(e){d.call(this,e)}var a=b(br),d=b("./Cartesian");return c[aU]={constructor:c,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale(ay)[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(g){var h=this.getAxis("x"),f=this.getAxis("y");return h[bd](h.toLocalCoord(g[0]))&&f[bd](f.toLocalCoord(g[1]))},containData:function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},dataToPoints:function(f,g){return f.mapArray(["x","y"],function(h,i){return this[au]([h,i])},g,this)},dataToPoint:function(g,h){var f=this.getAxis("x"),j=this.getAxis("y");return[f.toGlobalCoord(f.dataToCoord(g[0],h)),j.toGlobalCoord(j.dataToCoord(g[1],h))]},pointToData:function(g,h){var f=this.getAxis("x"),j=this.getAxis("y");return[f.coordToData(f.toLocalCoord(g[0]),h),j.coordToData(j.toLocalCoord(g[1]),h)]},getOtherAxis:function(e){return this.getAxis("x"===e.dim?"y":"x")}},a[aQ](c,d),c}),aG("echarts/coord/cartesian/Axis2D",[a2,br,"../Axis","./axisLabelInterval"],function(b){var d=b(br),a=b("../Axis"),f=b("./axisLabelInterval"),c=function(h,j,k,i,g){a.call(this,h,j,k),this.type=i||"value",this[aW]=g||af};return c[aU]={constructor:c,index:0,onZero:!1,model:null,isHorizontal:function(){var e=this[aW];return"top"===e||e===af},getGlobalExtent:function(){var e=this[az]();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),e},getLabelInterval:function(){var e=this._labelInterval;return e||(e=this._labelInterval=f(this)),e},isLabelIgnored:function(g){if(this.type===aI){var h=this.getLabelInterval();return typeof h===aN&&!h(g,this.scale[a7](g))||g%(h+1)}},toLocalCoord:null,toGlobalCoord:null},d[aQ](c,a),c}),aG("echarts/coord/cartesian/GridModel",[a2,"./AxisModel","../../model/Component"],function(a){a("./AxisModel");var b=a("../../model/Component");return b[bs]({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"}})}),aG("zrender/tool/transformPath",[a2,"../core/PathProxy","../core/vector"],function(d){function h(A,I){var C,E,K,z,F,J,H=A.data,B=c.M,G=c.C,s=c.L,D=c.R,o=c.A,q=c.Q;for(K=0,z=0;K<H[aD];){switch(C=H[K++],z=K,E=0,C){case B:E=1;break;case s:E=1;break;case G:E=3;break;case q:E=2;break;case o:var N=I[4],L=I[5],r=j(I[0]*I[0]+I[1]*I[1]),a=j(I[2]*I[2]+I[3]*I[3]),i=f(-I[1]/a,I[0]/r);H[K++]+=N,H[K++]+=L,H[K++]*=r,H[K++]*=a,H[K++]+=i,H[K++]+=i,K+=2,z=K;break;case D:J[0]=H[K++],J[1]=H[K++],g(J,J,I),H[z++]=J[0],H[z++]=J[1],J[0]+=H[K++],J[1]+=H[K++],g(J,J,I),H[z++]=J[0],H[z++]=J[1]}for(F=0;E>F;F++){var J=b[F];J[0]=H[K++],J[1]=H[K++],g(J,J,I),H[z++]=J[0],H[z++]=J[1]}}}var c=d("../core/PathProxy").CMD,k=d("../core/vector"),g=k[aK],b=[[],[],[]],j=Math.sqrt,f=Math.atan2;return h}),aG("zrender/contain/path",[a2,"../core/PathProxy","./line","./cubic","./quadratic","./arc","./util","../core/curve","./windingLine"],function(w){function K(a,c){return Math.abs(a-c)<E}function G(){var a=j[0];j[0]=j[1],j[1]=a}function D(x,W,R,O,ae,Q,y,T,Y,i){if(i>W&&i>O&&i>Q&&i>T||W>i&&O>i&&Q>i&&T>i){return 0}var U=J.cubicRootAt(W,O,Q,T,i,b);if(0===U){return 0}for(var X,P,V=0,f=-1,S=0;U>S;S++){var be=b[S],Z=J.cubicAt(x,R,ae,y,be);Y>Z||(0>f&&(f=J.cubicExtrema(W,O,Q,T,j),j[1]<j[0]&&f>1&&G(),X=J.cubicAt(W,O,Q,T,j[0]),f>1&&(P=J.cubicAt(W,O,Q,T,j[1]))),V+=2==f?be<j[0]?W>X?1:-1:be<j[1]?X>P?1:-1:P>T?1:-1:be<j[0]?W>X?1:-1:X>T?1:-1)}return V}function A(U,P,y,v,f,S,m,V){if(V>P&&V>v&&V>S||P>V&&v>V&&S>V){return 0}var x=J.quadraticRootAt(P,v,S,V,b);if(0===x){return 0}var R=J.quadraticExtremum(P,v,S);if(R>=0&&1>=R){for(var T=0,O=J.quadraticAt(P,v,S,R),Q=0;x>Q;Q++){var g=J.quadraticAt(U,y,f,b[Q]);m>g||(T+=b[Q]<R?P>O?1:-1:O>S?1:-1)}return T}var g=J.quadraticAt(U,y,f,b[0]);return m>g?0:P>S?1:-1}function N(W,S,O,x,d,U,v,X){if(X-=S,X>O||-O>X){return 0}var y=Math.sqrt(O*O-X*X);b[0]=-y,b[1]=y;var T=Math.abs(x-d);if(0.0001>T){return 0}if(0.0001>T%k){x=0,d=k;var V=U?1:-1;return v>=b[0]+W&&v<=b[1]+W?V:0}if(U){var y=x;x=L(d),d=L(y)}else{x=L(x),d=L(d)}x>d&&(d+=k);for(var P=0,R=0;2>R;R++){var m=b[R];if(m+W>v){var Q=Math.atan2(X,m),V=U?1:-1;0>Q&&(Q=k+Q),(Q>=x&&d>=Q||Q+k>=x&&d>=Q+k)&&(Q>Math.PI/2&&Q<1.5*Math.PI&&(V=-V),P+=V)}}return P}function C(Q,ae,W,Y,bx){for(var be=0,O=0,X=0,p=0,s=0,bz=0;bz<Q[aD];){var by=Q[bz++];if(by===z.M&&bz>1&&(W||(be+=B(O,X,p,s,Y,bx)),0!==be)){return !0}switch(1==bz&&(O=Q[bz],X=Q[bz+1],p=O,s=X),by){case z.M:p=Q[bz++],s=Q[bz++],O=p,X=s;break;case z.L:if(W){if(I(O,X,Q[bz],Q[bz+1],ae,Y,bx)){return !0}}else{be+=B(O,X,Q[bz],Q[bz+1],Y,bx)||0}O=Q[bz++],X=Q[bz++];break;case z.C:if(W){if(M.containStroke(O,X,Q[bz++],Q[bz++],Q[bz++],Q[bz++],Q[bz],Q[bz+1],ae,Y,bx)){return !0}}else{be+=D(O,X,Q[bz++],Q[bz++],Q[bz++],Q[bz++],Q[bz],Q[bz+1],Y,bx)||0}O=Q[bz++],X=Q[bz++];break;case z.Q:if(W){if(q.containStroke(O,X,Q[bz++],Q[bz++],Q[bz],Q[bz+1],ae,Y,bx)){return !0}}else{be+=A(O,X,Q[bz++],Q[bz++],Q[bz],Q[bz+1],Y,bx)||0}O=Q[bz++],X=Q[bz++];break;case z.A:var u=Q[bz++],c=Q[bz++],g=Q[bz++],V=Q[bz++],U=Q[bz++],a=Q[bz++],h=(Q[bz++],1-Q[bz++]),e=Math.cos(U)*g+u,n=Math.sin(U)*V+c;bz>1?be+=B(O,X,e,n,Y,bx):(p=e,s=n);var Z=(Y-u)*V/g+u;if(W){if(H.containStroke(u,c,V,U,U+a,h,ae,Z,bx)){return !0}}else{be+=N(u,c,V,U,U+a,h,Z,bx)}O=Math.cos(U+a)*g+u,X=Math.sin(U+a)*V+c;break;case z.R:p=O=Q[bz++],s=X=Q[bz++];var r=Q[bz++],R=Q[bz++],e=p+r,n=s+R;if(W){if(I(p,s,e,s,ae,Y,bx)||I(e,s,e,n,ae,Y,bx)||I(e,n,p,n,ae,Y,bx)||I(p,n,e,n,ae,Y,bx)){return !0}}else{be+=B(e,s,e,n,Y,bx),be+=B(p,n,p,s,Y,bx)}break;case z.Z:if(W){if(I(O,X,p,s,ae,Y,bx)){return !0}}else{if(be+=B(O,X,p,s,Y,bx),0!==be){return !0}}O=p,X=s}}return W||K(X,s)||(be+=B(O,X,p,s,Y,bx)||0),0!==be}var z=w("../core/PathProxy").CMD,F=w("./line"),M=w("./cubic"),q=w("./quadratic"),H=w("./arc"),L=w("./util").normalizeRadian,J=w("../core/curve"),B=w("./windingLine"),I=F.containStroke,k=2*Math.PI,E=0.0001,b=[-1,-1,-1],j=[-1,-1];return{contain:function(c,d,a){return C(c,0,!1,d,a)},containStroke:function(c,d,a,f){return C(c,d,!0,a,f)}}}),aG("echarts/coord/polar/RadiusAxis",[a2,br,"../Axis"],function(b){function d(f,g){c.call(this,av,f,g),this.type=aI}var a=b(br),c=b("../Axis");return d[aU]={constructor:d,dataToRadius:c[aU].dataToCoord,radiusToData:c[aU].coordToData},a[aQ](d,c),d}),aG("echarts/coord/polar/AngleAxis",[a2,br,"../Axis"],function(b){function c(f,g){g=g||[0,360],d.call(this,"angle",f,g),this.type=aI}var a=b(br),d=b("../Axis");return c[aU]={constructor:c,dataToAngle:d[aU].dataToCoord,angleToData:d[aU].coordToData},a[aQ](c,d),c}),aG("echarts/scale/Ordinal",[a2,br,"./Scale"],function(b){var d=b(br),a=b("./Scale"),f=a[aU],c=a[bs]({type:"ordinal",init:function(g,h){this._data=g,this._extent=h||[0,g[aD]-1]},parse:function(e){return typeof e===aa?d[aP](this._data,e):Math.round(e)},contain:function(e){return e=this.parse(e),f[bd].call(this,e)&&null!=this._data[e]},normalize:function(e){return f.normalize.call(this,this.parse(e))},scale:function(e){return Math.round(f.scale.call(this,e))},getTicks:function(){for(var h=[],j=this._extent,g=j[0];g<=j[1];){h.push(g),g++}return h},getLabel:function(e){return this._data[e]},count:function(){return this._extent[1]-this._extent[0]+1},niceTicks:d.noop,niceExtent:d.noop});return c[ad]=function(){return new c},c}),aG("zrender/core/curve",[a2,"./vector"],function(F){function V(a){return a>-ae&&ae>a}function Q(a){return a>ae||-ae>a}function N(d,g,c,h,f){var b=1-f;return b*b*(b*d+3*f*g)+f*f*(f*h+3*b*c)}function I(d,g,c,h,f){var b=1-f;return 3*(((g-d)*b+2*(c-g)*f)*b+(h-c)*f*f)}function Z(by,bI,bF,bB,bP,bE){var bz=bB+3*(bI-bF)-by,bH=3*(bF-2*bI+by),bN=3*(bI-by),bx=by-bP,bJ=bH*bH-3*bz*bN,bM=bH*bN-9*bz*bx,bL=bN*bN-3*bH*bx,bD=0;if(V(bJ)&&V(bM)){if(V(bH)){bE[0]=0}else{var bK=-bN/bH;bK>=0&&1>=bK&&(bE[bD++]=bK)}}else{var be=bM*bM-4*bJ*bL;if(V(be)){var bG=bM/bJ,bK=-bH/bz+bG,bQ=-bG/2;bK>=0&&1>=bK&&(bE[bD++]=bK),bQ>=0&&1>=bQ&&(bE[bD++]=bQ)}else{if(be>0){var bO=z(be),x=bJ*bH+1.5*bz*(-bM+bO),bC=bJ*bH+1.5*bz*(-bM-bO);x=0>x?-q(-x,j):q(x,j),bC=0>bC?-q(-bC,j):q(bC,j);var bK=(-bH-(x+bC))/(3*bz);bK>=0&&1>=bK&&(bE[bD++]=bK)}else{var bA=(2*bJ*bH-3*bz*bM)/(2*z(bJ*bJ*bJ)),e=Math.acos(bA)/3,y=z(bJ),w=Math.cos(e),bK=(-bH-2*y*w)/(3*bz),bQ=(-bH+y*(w+B*Math.sin(e)))/(3*bz),S=(-bH+y*(w-B*Math.sin(e)))/(3*bz);bK>=0&&1>=bK&&(bE[bD++]=bK),bQ>=0&&1>=bQ&&(bE[bD++]=bQ),S>=0&&1>=S&&(bE[bD++]=S)}}}return bD}function L(M,i,b,A,g){var S=6*b-12*i+6*M,m=9*i+3*A-3*M-9*b,y=3*i-3*M,C=0;if(V(m)){if(Q(S)){var v=-y/S;v>=0&&1>=v&&(g[C++]=v)}}else{var x=S*S-4*m*y;if(V(x)){g[0]=-S/(2*m)}else{if(x>0){var w=z(x),v=(-S+w)/(2*m),e=(-S-w)/(2*m);v>=0&&1>=v&&(g[C++]=v),e>=0&&1>=e&&(g[C++]=e)}}}return C}function G(A,v,m,f,b,x){var d=(v-A)*b+A,C=(m-v)*b+v,g=(f-m)*b+m,w=(C-d)*b+d,y=(g-C)*b+C,p=(y-w)*b+w;x[0]=A,x[1]=d,x[2]=w,x[3]=p,x[4]=p,x[5]=y,x[6]=g,x[7]=f}function P(C,bE,bA,be,bH,by,M,bz,bG,A,bB){var bF,bD,bx,bC,x,m=0.005,bI=1/0;k[0]=bG,k[1]=A;for(var n=0;1>n;n+=0.05){J[0]=N(C,bA,bH,M,n),J[1]=N(bE,be,by,bz,n),bC=O(k,J),bI>bC&&(bF=n,bI=bC)}bI=1/0;for(var b=0;32>b&&!(Y>m);b++){bD=bF-m,bx=bF+m,J[0]=N(C,bA,bH,M,bD),J[1]=N(bE,be,by,bz,bD),bC=O(J,k),bD>=0&&bI>bC?(bF=bD,bI=bC):(H[0]=N(C,bA,bH,M,bx),H[1]=N(bE,be,by,bz,bx),x=O(H,k),1>=bx&&bI>x?(bF=bx,bI=x):m*=0.5)}return bB&&(bB[0]=N(C,bA,bH,M,bF),bB[1]=N(bE,be,by,bz,bF)),z(bI)}function X(b,d,a,f){var c=1-f;return c*(c*b+2*f*d)+f*f*a}function E(b,c,a,d){return 2*((1-d)*(c-b)+d*(a-c))}function R(M,i,b,A,g){var S=M-2*i+b,m=2*(i-M),y=M-A,C=0;if(V(S)){if(Q(m)){var v=-y/m;v>=0&&1>=v&&(g[C++]=v)}}else{var x=m*m-4*S*y;if(V(x)){var v=-m/(2*S);v>=0&&1>=v&&(g[C++]=v)}else{if(x>0){var w=z(x),v=(-m+w)/(2*S),e=(-m-w)/(2*S);v>=0&&1>=v&&(g[C++]=v),e>=0&&1>=e&&(g[C++]=e)}}}return C}function W(b,c,a){var d=b+a-2*c;return 0===d?0.5:(b-c)/d}function U(d,h,c,m,g){var b=(h-d)*m+d,l=(c-h)*m+h,f=(l-b)*m+b;g[0]=d,g[1]=b,g[2]=f,g[3]=f,g[4]=l,g[5]=c}function K(w,bB,bx,S,A,bD,M,x,be){var m,by=0.005,bC=1/0;k[0]=M,k[1]=x;for(var bA=0;1>bA;bA+=0.05){J[0]=X(w,bx,A,bA),J[1]=X(bB,S,bD,bA);var C=O(k,J);bC>C&&(m=bA,bC=C)}bC=1/0;for(var bz=0;32>bz&&!(Y>by);bz++){var c=m-by,b=m+by;J[0]=X(w,bx,A,c),J[1]=X(bB,S,bD,c);var C=O(J,k);if(c>=0&&bC>C){m=c,bC=C}else{H[0]=X(w,bx,A,b),H[1]=X(bB,S,bD,b);var bE=O(H,k);1>=b&&bC>bE?(m=b,bC=bE):by*=0.5}}return be&&(be[0]=X(w,bx,A,m),be[1]=X(bB,S,bD,m)),z(bC)}var T=F("./vector"),D=T[ad],O=T.distSquare,q=Math.pow,z=Math.sqrt,ae=1e-8,Y=0.0001,B=z(3),j=1/3,k=D(),J=D(),H=D();return{cubicAt:N,cubicDerivativeAt:I,cubicRootAt:Z,cubicExtrema:L,cubicSubdivide:G,cubicProjectPoint:P,quadraticAt:X,quadraticDerivativeAt:E,quadraticRootAt:R,quadraticExtremum:W,quadraticSubdivide:U,quadraticProjectPoint:K}}),aG("zrender/config",[],function(){var a=1;typeof window!==at&&(a=Math.max(window.devicePixelRatio||1,1));var b={debugMode:0,devicePixelRatio:a};return b}),aG("zrender/core/bbox",[a2,"./vector","./curve"],function(A){var v=A("./vector"),m=A("./curve"),j={},b=Math.min,y=Math.max,g=Math.sin,B=Math.cos,k=v[ad](),x=v[ad](),z=v[ad](),p=2*Math.PI;j.fromPoints=function(E,r,h){if(0!==E[aD]){var d,a=E[0],F=a[0],f=a[0],C=a[1],D=a[1];for(d=1;d<E[aD];d++){a=E[d],F=b(F,a[0]),f=y(f,a[0]),C=b(C,a[1]),D=y(D,a[1])}r[0]=F,r[1]=C,h[0]=f,h[1]=D}},j.fromLine=function(c,f,a,l,h,d){h[0]=b(c,a),h[1]=b(f,l),d[0]=y(c,a),d[1]=y(f,l)};var w=[],q=[];return j.fromCubic=function(L,E,f,d,M,r,F,K,C,a){var D,J=m.cubicExtrema,i=m.cubicAt,G=J(L,f,M,F,w);for(C[0]=1/0,C[1]=1/0,a[0]=-1/0,a[1]=-1/0,D=0;G>D;D++){var H=i(L,f,M,F,w[D]);C[0]=b(H,C[0]),a[0]=y(H,a[0])}for(G=J(E,d,r,K,q),D=0;G>D;D++){var I=i(E,d,r,K,q[D]);C[1]=b(I,C[1]),a[1]=y(I,a[1])}C[0]=b(L,C[0]),a[0]=y(L,a[0]),C[0]=b(F,C[0]),a[0]=y(F,a[0]),C[1]=b(E,C[1]),a[1]=y(E,a[1]),C[1]=b(K,C[1]),a[1]=y(K,a[1])},j.fromQuadratic=function(L,G,r,i,M,C,I,K){var D=m.quadraticExtremum,H=m.quadraticAt,F=y(b(D(L,r,M),1),0),a=y(b(D(G,i,C),1),0),E=H(L,r,M,F),J=H(G,i,C,a);I[0]=b(L,M,E),I[1]=b(G,C,J),K[0]=y(L,M,E),K[1]=y(G,C,J)},j.fromArc=function(I,o,h,c,F,C,u,e,s){var H=v.min,l=v.max,D=Math.abs(F-C);if(0.0001>D%p&&D>0.0001){return e[0]=I-h,e[1]=o-c,s[0]=I+h,void (s[1]=o+c)}if(k[0]=B(F)*h+I,k[1]=g(F)*c+o,x[0]=B(C)*h+I,x[1]=g(C)*c+o,H(e,k,x),l(s,k,x),F%=p,0>F&&(F+=p),C%=p,0>C&&(C+=p),F>C&&!u?C+=p:C>F&&u&&(F+=p),u){var E=C;C=F,F=E}for(var G=0;C>G;G+=Math.PI/2){G>F&&(z[0]=B(G)*h+I,z[1]=g(G)*c+o,H(e,z,e),l(s,z,s))}},j}),aG("zrender/graphic/Style",[a2],function(){var b=["lineCap","lineJoin","miterLimit","shadowBlur","shadowOffsetX","shadowOffsetY","shadowColor"],d=function(e){this.extendFrom(e)};d[aU]={constructor:d,fill:"#000000",stroke:null,opacity:1,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,textFill:"#000",textStroke:null,textPosition:"inside",textBaseline:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,bind:function(l,h){for(var p=this.fill,k=this[aj],g=0;g<b[aD];g++){var m=b[g];null!=this[m]&&(l[m]=this[m])}if(null!=k){var j=this[aM];l[aM]=j/(this.strokeNoScale&&h&&h.getLineScale?h.getLineScale():1)}null==p||"none"===p||p.colorStops||(l.fillStyle=p),null==k||"none"===k||k.colorStops||(l.strokeStyle=k),null!=this[aZ]&&(l.globalAlpha=this[aZ])},extendFrom:function(h,j){if(h){var g=this;for(var k in h){!h.hasOwnProperty(k)||!j&&g.hasOwnProperty(k)||(g[k]=h[k])}}},set:function(g,h){typeof g===aa?this[g]=h:this.extendFrom(g,!0)},clone:function(){var e=new this.constructor;return e.extendFrom(this,!0),e},createLinearGradient:function(j,m,h){var q=m.x*h.width+h.x,l=m.x2*h.width+h.x,g=m.y*h[bq]+h.y,p=m.y2*h[bq]+h.y,k=j.createLinearGradient(q,g,l,p);return k},createRadialGradient:function(v,p,m){var j=m.width,g=m[bq],u=Math.min(j,g),h=p.x*j+m.x,w=p.y*g+m.y,k=p.r*u,q=v.createRadialGradient(h,w,0,h,w,k);return q},getGradient:function(j,l,h){for(var p="radial"===l.type?"createRadialGradient":"createLinearGradient",k=this[p](j,l,h),g=l.colorStops,m=0;m<g[aD];m++){k.addColorStop(g[m].offset,g[m].color)}return k}};var a,f,c=d[aU];for(f=0;f<b[aD];f++){a=b[f],a in c||(c[a]=null)}return d}),aG("zrender/Element",[a2,"./core/guid","./mixin/Eventful","./mixin/Transformable","./mixin/Animatable","./core/util"],function(d){var g=d("./core/guid"),c=d("./mixin/Eventful"),j=d("./mixin/Transformable"),f=d("./mixin/Animatable"),b=d("./core/util"),h=function(a){j.call(this,a),c.call(this,a),f.call(this,a),this.id=a.id||g()};return h[aU]={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,drift:function(k,l){switch(this.draggable){case"horizontal":l=0;break;case"vertical":k=0}var a=this[bu];a||(a=this[bu]=[1,0,0,1,0,0]),a[4]+=k,a[5]+=l,this.decomposeTransform(),this.dirty()},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(){},attrKV:function(k,l){if(k===aW||"scale"===k||"origin"===k){if(l){var a=this[k];a||(a=this[k]=[]),a[0]=l[0],a[1]=l[1]}}else{this[k]=l}},hide:function(){this[bk]=!0,this.__zr&&this.__zr.refresh()},show:function(){this[bk]=!1,this.__zr&&this.__zr.refresh()},attr:function(k,l){if(typeof k===aa){this.attrKV(k,l)}else{if(b[aJ](k)){for(var a in k){k.hasOwnProperty(a)&&this.attrKV(a,k[a])}}}return this.dirty(),this},setClipPath:function(a){var i=this.__zr;i&&a.addSelfToZr(i),this.clipPath&&this.clipPath!==a&&this.removeClipPath(),this.clipPath=a,a.__zr=i,a.__clipTarget=this,this.dirty()},removeClipPath:function(){var a=this.clipPath;a&&(a.__zr&&a.removeSelfFromZr(a.__zr),a.__zr=null,a.__clipTarget=null,this.clipPath=null,this.dirty())},addSelfToZr:function(k){this.__zr=k;var l=this.animators;if(l){for(var a=0;a<l[aD];a++){k[al].addAnimator(l[a])}}this.clipPath&&this.clipPath.addSelfToZr(k)},removeSelfFromZr:function(k){this.__zr=null;var l=this.animators;if(l){for(var a=0;a<l[aD];a++){k[al].removeAnimator(l[a])}}this.clipPath&&this.clipPath.removeSelfFromZr(k)}},b.mixin(h,f),b.mixin(h,j),b.mixin(h,c),h}),aG("echarts/model/mixin/makeStyleMapper",[a2,br],function(a){var b=a(br);return function(d){for(var c=0;c<d[aD];c++){d[c][1]||(d[c][1]=d[c][0])}return function(f){for(var j={},g=0;g<d[aD];g++){var e=d[g][1];if(!(f&&b[aP](f,e)>=0)){var h=this[ai](e);null!=h&&(j[d[g][0]]=h)}}return j}}}),aG("echarts/coord/Axis",[a2,"../util/number",br],function(d){function g(k,m){var a=k[1]-k[0],o=m,l=a/o/2;k[0]+=l,k[1]-=l}var c=d("../util/number"),j=c.linearMap,f=d(br),b=[0,1],h=function(k,l,a){this.dim=k,this.scale=l,this._extent=a||[0,0],this.inverse=!1,this.onBand=!1};return h[aU]={constructor:h,contain:function(k){var l=this._extent,a=Math.min(l[0],l[1]),m=Math.max(l[0],l[1]);return k>=a&&m>=k},containData:function(a){return this[bd](this.dataToCoord(a))},getExtent:function(){var a=this._extent.slice();return a},getPixelPrecision:function(a){return c.getPixelPrecision(a||this.scale[az](),this._extent)},setExtent:function(k,l){var a=this._extent;a[0]=k,a[1]=l},dataToCoord:function(e,a){var k=this._extent,l=this.scale;return e=l.normalize(e),this.onBand&&l.type===ay&&(k=k.slice(),g(k,l.count())),j(e,b,k,a)},coordToData:function(e,a){var l=this._extent,m=this.scale;this.onBand&&m.type===ay&&(l=l.slice(),g(l,m.count()));var k=j(e,l,b,a);return this.scale.scale(k)},getTicksCoords:function(){if(this.onBand){for(var k=this.getBands(),l=[],a=0;a<k[aD];a++){l.push(k[a][0])}return k[a-1]&&l.push(k[a-1][1]),l}return f.map(this.scale.getTicks(),this.dataToCoord,this)},getLabelsCoords:function(){if(this.onBand){for(var k,l=this.getBands(),a=[],m=0;m<l[aD];m++){k=l[m],a.push((k[0]+k[1])/2)}return a}return f.map(this.scale.getTicks(),this.dataToCoord,this)},getBands:function(){for(var m=this[az](),q=[],l=this.scale.count(),u=m[0],p=m[1],k=p-u,s=0;l>s;s++){q.push([k*s/l+u,k*(s+1)/l+u])}return q},getBandWidth:function(){var k=this._extent,l=this.scale[az](),a=l[1]-l[0]+(this.onBand?1:0);0===a&&(a=1);var m=Math.abs(k[1]-k[0]);return Math.abs(m)/a}},h}),aG("echarts/coord/cartesian/Cartesian",[a2,br],function(b){function c(e){return this._axes[e]}var a=b(br),d=function(e){this._axes={},this._dimList=[],this.name=e||""};return d[aU]={constructor:d,type:"cartesian",getAxis:function(e){return this._axes[e]},getAxes:function(){return a.map(this._dimList,c,this)},getAxesByScale:function(e){return e=e[ac](),a[bw](this.getAxes(),function(f){return f.scale.type===e})},addAxis:function(f){var g=f.dim;this._axes[g]=f,this._dimList.push(g)},dataToCoord:function(e){return this._dataCoordConvert(e,"dataToCoord")},coordToData:function(e){return this._dataCoordConvert(e,"coordToData")},_dataCoordConvert:function(h,k){for(var g=this._dimList,m=h instanceof Array?[]:{},j=0;j<g[aD];j++){var f=g[j],l=this._axes[f];m[f]=l[k](h[f])}return m}},d}),aG("zrender/core/guid",[],function(){var a=2311;return function(){return"zr_"+a++}}),aG("zrender/mixin/Transformable",[a2,"../core/matrix","../core/vector"],function(k){function h(a){return a>j||-j>a}var g=k("../core/matrix"),d=k("../core/vector"),b=g.identity,j=0.00005,c=function(a){a=a||{},a[aW]||(this[aW]=[0,0]),null==a.rotation&&(this.rotation=0),a.scale||(this.scale=[1,1]),this.origin=this.origin||null},m=c[aU];m[bu]=null,m.needLocalTransform=function(){return h(this.rotation)||h(this[aW][0])||h(this[aW][1])||h(this.scale[0]-1)||h(this.scale[1]-1)},m.updateTransform=function(){var l=this.parent,o=l&&l[bu],p=this.needLocalTransform(),i=this[bu];return p||o?(i=i||g[ad](),p?this.getLocalTransform(i):b(i),o&&(p?g.mul(i,l[bu],i):g.copy(i,l[bu])),this[bu]=i,this.invTransform=this.invTransform||g[ad](),void g.invert(this.invTransform,i)):void (i&&b(i))},m.getLocalTransform=function(l){l=l||[],b(l);var p=this.origin,r=this.scale,i=this.rotation,q=this[aW];return p&&(l[4]-=p[0],l[5]-=p[1]),g.scale(l,l,r),i&&g.rotate(l,l,i),p&&(l[4]+=p[0],l[5]+=p[1]),l[4]+=q[0],l[5]+=q[1],l},m.setTransform=function(a){var i=this[bu];i&&a[bu](i[0],i[1],i[2],i[3],i[4],i[5])};var f=[];return m.decomposeTransform=function(){if(this[bu]){var i=this.parent,u=this[bu];i&&i[bu]&&(g.mul(f,i.invTransform,u),u=f);var p=u[0]*u[0]+u[1]*u[1],e=u[2]*u[2]+u[3]*u[3],q=this[aW],l=this.scale;h(p-1)&&(p=Math.sqrt(p)),h(e-1)&&(e=Math.sqrt(e)),u[0]<0&&(p=-p),u[3]<0&&(e=-e),q[0]=u[4],q[1]=u[5],l[0]=p,l[1]=e,this.rotation=Math.atan2(-u[1]/e,u[0]/p)}},m.getGlobalScale=function(){var l=this[bu];if(!l){return[1,1]}var n=Math.sqrt(l[0]*l[0]+l[1]*l[1]),a=Math.sqrt(l[2]*l[2]+l[3]*l[3]);return l[0]<0&&(n=-n),l[3]<0&&(a=-a),[n,a]},m.transformCoordToLocal=function(l,o){var a=[l,o],n=this.invTransform;return n&&d[aK](a,a,n),a},m.transformCoordToGlobal=function(l,o){var a=[l,o],n=this[bu];return n&&d[aK](a,a,n),a},c}),aG("zrender/mixin/Animatable",[a2,"../animation/Animator",aH,"../core/log"],function(d){var h=d("../animation/Animator"),c=d(aH),k=c.isString,g=c.isFunction,b=c[aJ],j=d("../core/log"),f=function(){this.animators=[]};return f[aU]={constructor:f,animate:function(A,m){var e,y=!1,B=this,o=this.__zr;if(A){var x=A.split("."),z=B;y="shape"===x[0];for(var q=0,w=x[aD];w>q;q++){z&&(z=z[x[q]])}z&&(e=z)}else{e=B}if(!e){return void j('Property "'+A+'" is not existed in element '+B.id)}var v=B.animators,i=new h(e,m);return i.during(function(){B.dirty(y)}).done(function(){v[a8](c[aP](v,i),1)}),v.push(i),o&&o[al].addAnimator(i),i},stopAnimation:function(l){for(var m=this.animators,a=m[aD],o=0;a>o;o++){m[o].stop(l)}return m[aD]=0,this},animateTo:function(x,q,p,v,m){function y(){r--,r||m&&m()}k(p)?(m=v,v=p,p=0):g(v)?(m=v,v="linear",p=0):g(p)?(m=p,p=0):g(q)?(m=q,q=500):q||(q=500),this.stopAnimation(),this._animateToShallow("",this,x,q,p,v,m);var n=this.animators.slice(),r=n[aD];r||m&&m();for(var w=0;w<n[aD];w++){n[w].done(y).start(v)}},_animateToShallow:function(x,q,m,a,i){var y={},p=0;for(var v in m){if(null!=q[v]){b(m[v])&&!c.isArrayLike(m[v])?this._animateToShallow(x?x+"."+v:v,q[v],m[v],a,i):(y[v]=m[v],p++)}else{if(null!=m[v]){if(x){var w={};w[x]={},w[x][v]=m[v],this.attr(w)}else{this.attr(v,m[v])}}}}return p>0&&this.animate(x,!1).when(null==a?500:a,y).delay(i||0),this}},f}),aG("echarts/util/component",[a2,br,"./clazz"],function(d){var g=d(br),c=d("./clazz"),j=c.parseClassType,f=0,b={},h="_";return b.getUID=function(a){return[a||"",f++,Math.random()].join(h)},b.enableSubTypeDefaulter=function(a){var i={};return a.registerSubTypeDefaulter=function(k,e){k=j(k),i[k.main]=e},a.determineSubType=function(k,l){var e=l.type;if(!e){var m=j(k).main;a.hasSubTypes(k)&&i[m]&&(e=i[m](l))}return e},a},b.enableTopologicalTravel=function(l,k){function o(a){var p={},i=[];return g.each(a,function(r){var n=m(p,r),t=n.originalDeps=k(r),q=e(t,a);n.entryCount=q[aD],0===n.entryCount&&i.push(r),g.each(q,function(u){g[aP](n.predecessor,u)<0&&n.predecessor.push(u);var s=m(p,u);g[aP](s.successor,u)<0&&s.successor.push(r)})}),{graph:p,noEntryList:i}}function m(a,i){return a[i]||(a[i]={predecessor:[],successor:[]}),a[i]}function e(p,a){var q=[];return g.each(p,function(i){g[aP](a,i)>=0&&q.push(i)}),q}l.topologicalTravel=function(E,x,n,C){function v(a){B[a].entryCount--,0===B[a].entryCount&&D.push(a)}function F(a){y[a]=!0,v(a)}if(E[aD]){var w=o(x),B=w.graph,D=w.noEntryList,y={};for(g.each(E,function(a){y[a]=!0});D[aD];){var A=D.pop(),z=B[A],q=!!y[A];q&&(n.call(C,A,z.originalDeps.slice()),delete y[A]),g.each(z.successor,q?F:v)}g.each(y,function(){throw new Error("Circle dependency may exists")})}}},b}),aG("echarts/model/mixin/boxLayout",[a2],function(){return{getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get(af),width:this.get("width"),height:this.get(bq)}}}}),aG("echarts/coord/polar/AxisModel",[a2,br,"../../model/Component","../axisModelCreator","../axisModelCommonMixin"],function(d){function h(a,i){return i.type||(i.data?aI:"value")}var c=d(br),g=d("../../model/Component"),b=d("../axisModelCreator"),j=g[bs]({type:"polarAxis",axis:null});c.merge(j[aU],d("../axisModelCommonMixin"));var f={angle:{polarIndex:0,startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{polarIndex:0,splitNumber:5}};b("angle",j,h,f.angle),b(av,j,h,f[av])}),aG("echarts/coord/cartesian/axisLabelInterval",[a2,br,"../axisHelper"],function(b){var c=b(br),a=b("../axisHelper");return function(e){var g=e.model,f=g[bo]("axisLabel"),d=f.get("interval");return e.type!==aI||"auto"!==d?"auto"===d?0:d:a.getAxisLabelInterval(c.map(e.scale.getTicks(),e.dataToCoord,e),g.getFormattedLabels(),f[bo](ba)[aR](),e.isHorizontal())}}),aG("zrender/core/log",[a2,"../config"],function(a){var b=a("../config");return function(){if(0!==b.debugMode){if(1==b.debugMode){for(var c in arguments){throw new Error(arguments[c])}}else{if(b.debugMode>1){for(var c in arguments){console.log(arguments[c])}}}}}}),aG("zrender/animation/Animator",[a2,"./Clip","../tool/color",aH],function(k){function H(a,c){return a[c]}function D(c,f,a){c[f]=a}function A(c,f,a){return(f-c)*a+c}function v(c,f,a){return a>0.5?f:c}function J(x,n,m,f,u){var g=x[aD];if(1==u){for(var y=0;g>y;y++){f[y]=A(x[y],n[y],m)}}else{for(var h=x[0][aD],y=0;g>y;y++){for(var p=0;h>p;p++){f[y][p]=A(x[y][p],n[y][p],m)}}}}function z(x,p,m){var g=x[aD],c=p[aD];if(g!==c){var u=g>c;if(u){x[aD]=c}else{for(var f=g;c>f;f++){x.push(1===m?p[f]:d.call(p[f]))}}}for(var y=x[0]&&x[0][aD],f=0;f<x[aD];f++){if(1===m){isNaN(x[f])&&(x[f]=p[f])}else{for(var h=0;y>h;h++){isNaN(x[f][h])&&(x[f][h]=p[f][h])}}}}function q(g,l,f){if(g===l){return !0}var p=g[aD];if(p!==l[aD]){return !1}if(1===f){for(var h=0;p>h;h++){if(g[h]!==l[h]){return !1}}}else{for(var c=g[0][aD],h=0;p>h;h++){for(var m=0;c>m;m++){if(g[h][m]!==l[h][m]){return !1}}}}return !0}function C(Q,M,x,m,c,O,g,R,p){var P=Q[aD];if(1==p){for(var y=0;P>y;y++){R[y]=I(Q[y],M[y],x[y],m[y],c,O,g)}}else{for(var N=Q[0][aD],y=0;P>y;y++){for(var L=0;N>L;L++){R[y][L]=I(Q[y][L],M[y][L],x[y][L],m[y][L],c,O,g)}}}}function I(x,p,m,g,c,u,f){var y=0.5*(m-x),h=0.5*(g-p);return(2*(p-m)+y+h)*f+(-3*(p-m)-2*y-h)*u+y*c+p}function j(c){if(b(c)){var f=c[aD];if(b(c[0])){for(var a=[],g=0;f>g;g++){a.push(d.call(c[g]))}return a}return d.call(c)}return c}function E(a){return a[0]=Math.floor(a[0]),a[1]=Math.floor(a[1]),a[2]=Math.floor(a[2]),"rgba("+a.join(",")+")"}function G(bz,bJ,bH,bx,bK){var bI=bz._getter,ae=bz._setter,bF="spline"===bJ,U=bx[aD];if(U){var bM,bL=bx[0].value,Y=b(bL),h=!1,r=!1,bE=Y&&b(bL[0])?2:1;bx.sort(function(f,i){return f.time-i.time}),bM=bx[U-1].time;for(var bB=[],g=[],s=bx[0].value,n=!0,y=0;U>y;y++){bB.push(bx[y].time/bM);var bG=bx[y].value;if(Y&&q(bG,s,bE)||!Y&&bG===s||(n=!1),s=bG,typeof bG==aa){var Q=F.parse(bG);Q?(bG=Q,h=!0):r=!0}g.push(bG)}if(!n){for(var bA=g[U-1],y=0;U-1>y;y++){Y?z(g[y],bA,bE):!isNaN(g[y])||isNaN(bA)||r||h||(g[y]=bA)}Y&&z(bI(bz._target,bK),bA,bE);var o,l,bD,by,p,c,be=0,Z=0;if(h){var X=[0,0,0,0]}var bC=function(m,x){var f;if(Z>x){for(o=Math.min(be+1,U-1),f=o;f>=0&&!(bB[f]<=x);f--){}f=Math.min(f,U-2)}else{for(f=be;U>f&&!(bB[f]>x);f++){}f=Math.min(f-1,U-2)}be=f,Z=x;var L=bB[f+1]-bB[f];if(0!==L){if(l=(x-bB[f])/L,bF){if(by=g[f],bD=g[0===f?f:f-1],p=g[f>U-2?U-1:f+1],c=g[f>U-3?U-1:f+2],Y){C(bD,by,p,c,l,l*l,l*l*l,bI(m,bK),bE)}else{var u;if(h){u=C(bD,by,p,c,l,l*l,l*l*l,X,1),u=E(X)}else{if(r){return v(by,p,l)}u=I(bD,by,p,c,l,l*l,l*l*l)}ae(m,bK,u)}}else{if(Y){J(g[f],g[f+1],l,bI(m,bK),bE)}else{var u;if(h){J(g[f],g[f+1],l,X,1),u=E(X)}else{if(r){return v(g[f],g[f+1],l)}u=A(g[f],g[f+1],l)}ae(m,bK,u)}}}},a=new w({target:bz._target,life:bM,loop:bz._loop,delay:bz._delay,onframe:bC,ondestroy:bH});return bJ&&"spline"!==bJ&&(a.easing=bJ),a}}}var w=k("./Clip"),F=k("../tool/color"),B=k(aH),b=B.isArrayLike,d=Array[aU].slice,K=function(e,g,f,c){this._tracks={},this._target=e,this._loop=g||!1,this._getter=f||H,this._setter=c||D,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};return K[aU]={when:function(c,g){var a=this._tracks;for(var h in g){if(!a[h]){a[h]=[];var f=this._getter(this._target,h);if(null==f){continue}0!==c&&a[h].push({time:0,value:j(f)})}a[h].push({time:c,value:g[h]})}return this},during:function(a){return this._onframeList.push(a),this},_doneCallback:function(){this._tracks={},this._clipList[aD]=0;for(var c=this._doneList,f=c[aD],a=0;f>a;a++){c[a].call(this)}},start:function(g){var m,f=this,u=0,l=function(){u--,u||f._doneCallback()};for(var c in this._tracks){var p=G(this,g,l,this._tracks[c],c);p&&(this._clipList.push(p),u++,this[al]&&this[al].addClip(p),m=p)}if(m){var h=m.onframe;m.onframe=function(a,i){h(a,i);for(var o=0;o<f._onframeList[aD];o++){f._onframeList[o](a,i)}}}return u||this._doneCallback(),this},stop:function(c){for(var g=this._clipList,a=this[al],h=0;h<g[aD];h++){var f=g[h];c&&f.onframe(this._target,1),a&&a.removeClip(f)}g[aD]=0},delay:function(a){return this._delay=a,this},done:function(a){return a&&this._doneList.push(a),this},getClips:function(){return this._clipList}},K}),aG("echarts/coord/axisModelCreator",[a2,"./axisDefault",br,"../model/Component","../util/layout"],function(d){var g=d("./axisDefault"),c=d(br),h=d("../model/Component"),f=d("../util/layout"),b=["value",aI,"time","log"];return function(e,j,i,a){c.each(b,function(k){j[bs]({type:e+"Axis."+k,mergeDefaultAndTheme:function(p,n){var q=this.layoutMode,m=q?f.getLayoutParams(p):{},r=n.getTheme();c.merge(p,r.get(k+"Axis")),c.merge(p,this.getDefaultOption()),p.type=i(e,p),q&&f.mergeLayoutParam(p,m,q)},defaultOption:c.mergeAll([{},g[k+"Axis"],a],!0)})}),h.registerSubTypeDefaulter(e+"Axis",c.curry(i,e))}}),aG("echarts/coord/axisModelCommonMixin",[a2,br,"./axisHelper"],function(d){function g(a){return f[aJ](a)&&null!=a.value?a.value:a}function c(){return this.get("type")===aI&&f.map(this.get("data"),g)}function h(){return b.getFormattedLabels(this.axis,this.get("axisLabel.formatter"))}var f=d(br),b=d("./axisHelper");return{getFormattedLabels:h,getCategories:c}}),aG("echarts/coord/cartesian/AxisModel",[a2,"../../model/Component",br,"../axisModelCreator","../axisModelCommonMixin"],function(d){function g(a,i){return i.type||(i.data?aI:"value")}var c=d("../../model/Component"),j=d(br),f=d("../axisModelCreator"),b=c[bs]({type:"cartesian2dAxis",axis:null,init:function(){b.superApply(this,"init",arguments),this._resetRange()},mergeOption:function(){b.superApply(this,"mergeOption",arguments),this._resetRange()},restoreData:function(){b.superApply(this,"restoreData",arguments),this._resetRange()},setRange:function(a,i){this[ah].rangeStart=a,this[ah].rangeEnd=i},getMin:function(){var a=this[ah];return null!=a.rangeStart?a.rangeStart:a.min},getMax:function(){var a=this[ah];return null!=a.rangeEnd?a.rangeEnd:a.max},getNeedCrossZero:function(){var a=this[ah];return null!=a.rangeStart||null!=a.rangeEnd?!1:!a.scale},_resetRange:function(){this[ah].rangeStart=this[ah].rangeEnd=null}});j.merge(b[aU],d("../axisModelCommonMixin"));var h={gridIndex:0};return f("x",b,g,h),f("y",b,g,h),b}),aG("zrender/animation/Clip",[a2,"./easing"],function(b){function c(d){this._target=d[a6],this._life=d.life||1000,this._delay=d.delay||0,this._initialized=!1,this.loop=null==d.loop?!1:d.loop,this.gap=d.gap||0,this.easing=d.easing||"Linear",this.onframe=d.onframe,this.ondestroy=d.ondestroy,this.onrestart=d.onrestart}var a=b("./easing");return c[aU]={constructor:c,step:function(f){this._initialized||(this._startTime=(new Date).getTime()+this._delay,this._initialized=!0);var h=(f-this._startTime)/this._life;if(!(0>h)){h=Math.min(h,1);var i=this.easing,g=typeof i==aa?a[i]:i,d=typeof g===aN?g(h):h;return this.fire("frame",d),1==h?this.loop?(this.restart(),"restart"):(this._needsRemove=!0,"destroy"):null}},restart:function(){var d=(new Date).getTime(),f=(d-this._startTime)%this._life;this._startTime=(new Date).getTime()-f+this.gap,this._needsRemove=!1},fire:function(d,f){d="on"+d,this[d]&&this[d](this._target,f)}},c}),aG("echarts/coord/axisDefault",[a2,br],function(d){var g=d(br),c={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameTextStyle:{},nameGap:15,silent:!0,axisLine:{show:!0,onZero:!0,lineStyle:{color:"#333",width:1,type:"solid"}},axisTick:{show:!0,inside:!1,length:5,lineStyle:{color:"#333",width:1}},axisLabel:{show:!0,inside:!1,rotate:0,margin:8,textStyle:{color:"#333",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)"]}}},j=g.merge({boundaryGap:!0,axisTick:{interval:"auto"},axisLabel:{interval:"auto"}},c),f=g[bm]({boundaryGap:[0,0],splitNumber:5},c),b=g[bm]({scale:!0,min:"dataMin",max:"dataMax"},f),h=g[bm]({},f);return h.scale=!0,{categoryAxis:j,valueAxis:f,timeAxis:b,logAxis:h}}),aG("zrender/animation/easing",[],function(){var a={linear:function(b){return b},quadraticIn:function(b){return b*b},quadraticOut:function(b){return b*(2-b)},quadraticInOut:function(b){return(b*=2)<1?0.5*b*b:-0.5*(--b*(b-2)-1)},cubicIn:function(b){return b*b*b},cubicOut:function(b){return --b*b*b+1},cubicInOut:function(b){return(b*=2)<1?0.5*b*b*b:0.5*((b-=2)*b*b+2)},quarticIn:function(b){return b*b*b*b},quarticOut:function(b){return 1- --b*b*b*b},quarticInOut:function(b){return(b*=2)<1?0.5*b*b*b*b:-0.5*((b-=2)*b*b*b-2)},quinticIn:function(b){return b*b*b*b*b},quinticOut:function(b){return --b*b*b*b*b+1},quinticInOut:function(b){return(b*=2)<1?0.5*b*b*b*b*b:0.5*((b-=2)*b*b*b*b+2)},sinusoidalIn:function(b){return 1-Math.cos(b*Math.PI/2)},sinusoidalOut:function(b){return Math.sin(b*Math.PI/2)},sinusoidalInOut:function(b){return 0.5*(1-Math.cos(Math.PI*b))},exponentialIn:function(b){return 0===b?0:Math.pow(1024,b-1)},exponentialOut:function(b){return 1===b?1:1-Math.pow(2,-10*b)},exponentialInOut:function(b){return 0===b?0:1===b?1:(b*=2)<1?0.5*Math.pow(1024,b-1):0.5*(-Math.pow(2,-10*(b-1))+2)},circularIn:function(b){return 1-Math.sqrt(1-b*b)},circularOut:function(b){return Math.sqrt(1- --b*b)},circularInOut:function(b){return(b*=2)<1?-0.5*(Math.sqrt(1-b*b)-1):0.5*(Math.sqrt(1-(b-=2)*b)+1)},elasticIn:function(c){var d,b=0.1,f=0.4;return 0===c?0:1===c?1:(!b||1>b?(b=1,d=f/4):d=f*Math.asin(1/b)/(2*Math.PI),-(b*Math.pow(2,10*(c-=1))*Math.sin(2*(c-d)*Math.PI/f)))},elasticOut:function(c){var d,b=0.1,f=0.4;return 0===c?0:1===c?1:(!b||1>b?(b=1,d=f/4):d=f*Math.asin(1/b)/(2*Math.PI),b*Math.pow(2,-10*c)*Math.sin(2*(c-d)*Math.PI/f)+1)},elasticInOut:function(c){var d,b=0.1,f=0.4;return 0===c?0:1===c?1:(!b||1>b?(b=1,d=f/4):d=f*Math.asin(1/b)/(2*Math.PI),(c*=2)<1?-0.5*b*Math.pow(2,10*(c-=1))*Math.sin(2*(c-d)*Math.PI/f):b*Math.pow(2,-10*(c-=1))*Math.sin(2*(c-d)*Math.PI/f)*0.5+1)},backIn:function(b){var c=1.70158;return b*b*((c+1)*b-c)},backOut:function(b){var c=1.70158;return --b*b*((c+1)*b+c)+1},backInOut:function(b){var c=2.5949095;return(b*=2)<1?0.5*b*b*((c+1)*b-c):0.5*((b-=2)*b*((c+1)*b+c)+2)},bounceIn:function(b){return 1-a.bounceOut(1-b)},bounceOut:function(b){return 1/2.75>b?7.5625*b*b:2/2.75>b?7.5625*(b-=1.5/2.75)*b+0.75:2.5/2.75>b?7.5625*(b-=2.25/2.75)*b+0.9375:7.5625*(b-=2.625/2.75)*b+0.984375},bounceInOut:function(b){return 0.5>b?0.5*a.bounceIn(2*b):0.5*a.bounceOut(2*b-1)+0.5}};return a}),aG("echarts/chart/helper/createListFromArray",[a2,"../../data/List","../../data/helper/completeDimensions",br,"../../util/model","../../CoordinateSystem"],function(D){function w(a){for(var d=0;d<a[aD]&&null==a[d];){d++}return a[d]}function l(d){var a=w(d);return null!=a&&!s[aA](B(a))}function b(I,m,h){if(I=I||[],!s[aA](I)){throw new Error("Invalid data.")}var d=m.get(a9),F=z[d],g=q.get(d),v=F&&F(I,m,h),f=v&&v[ao];f||(f=g&&g[ao]||["x","y"],f=x(f,I,f.concat(["value"])));var E,H=v&&v.categoryAxisModel,y=f[0].type===ay?0:f[1].type===ay?1:-1,G=new n(f,m),i=C(v,I),u=H&&l(I)?function(o,p,a,r){return r===y?a:k(B(o),f[r])}:function(J,L,p,M){var K=B(J),o=k(K&&K[M],f[M]);return y===M&&typeof o===aa&&(E=E||H.getCategories(),o=s[aP](E,o),0>o&&!isNaN(o)&&(o=+o)),o};return G.initData(I,i,u),G}function A(a){return a!==aI&&"time"!==a}function j(a){return a===aI?ay:"time"===a?"time":"float"}function C(g,m){var f=[];if(g&&g.categoryAxisModel){var o=g.categoryAxisModel.getCategories();if(o){var h=m[aD];if(s[aA](m[0])&&m[0][aD]>1){f=[];for(var d=0;h>d;d++){f[d]=o[m[d][g.categoryIndex||0]]}}else{f=o.slice(0)}}}return f}var n=D("../../data/List"),x=D("../../data/helper/completeDimensions"),s=D(br),c=D("../../util/model"),q=D("../../CoordinateSystem"),B=c.getDataItemValue,k=c.converDataValue,z={cartesian2d:function(v,o,g){var d=g[aY]("xAxis",o.get("xAxisIndex")),a=g[aY]("yAxis",o.get("yAxisIndex"));if(!d||!a){throw new Error("Axis option not found")}var y=d.get("type"),f=a.get("type"),p=[{name:"x",type:j(y),stackable:A(y)},{name:"y",type:j(f),stackable:A(f)}],m=y===aI;return x(p,v,["x","y","z"]),{dimensions:p,categoryIndex:m?0:1,categoryAxisModel:m?d:f===aI?a:null}},polar:function(H,F,o){var a=F.get("polarIndex")||0,I=function(e){return e.get("polarIndex")===a},m=o.findComponents({mainType:"angleAxis",filter:I})[0],G=o.findComponents({mainType:"radiusAxis",filter:I})[0];if(!m||!G){throw new Error("Axis option not found")}var v=G.get("type"),E=m.get("type"),d=[{name:"radius",type:j(v),stackable:A(v)},{name:"angle",type:j(E),stackable:A(E)}],y=E===aI;return x(d,H,[av,"angle","value"]),{dimensions:d,categoryIndex:y?1:0,categoryAxisModel:y?m:v===aI?G:null}},geo:function(a){return{dimensions:x([{name:"lng"},{name:"lat"}],a,["lng","lat","value"])}}};return b}),aG("zrender/contain/line",[],function(){return{containStroke:function(w,m,j,f,b,q,d){if(0===b){return !1}var x=b,g=0,p=w;if(d>m+x&&d>f+x||m-x>d&&f-x>d||q>w+x&&q>j+x||w-x>q&&j-x>q){return !1}if(w===j){return Math.abs(q-w)<=x/2}g=(m-f)/(w-j),p=(w*f-j*m)/(w-j);var v=g*q-d+p,k=v*v/(g*g+1);return x/2*x/2>=k}}}),aG("zrender/contain/cubic",[a2,"../core/curve"],function(a){var b=a("../core/curve");return{containStroke:function(z,m,j,e,x,g,A,k,w,y,p){if(0===w){return !1}var v=w;if(p>m+v&&p>e+v&&p>g+v&&p>k+v||m-v>p&&e-v>p&&g-v>p&&k-v>p||y>z+v&&y>j+v&&y>x+v&&y>A+v||z-v>y&&j-v>y&&x-v>y&&A-v>y){return !1}var q=b.cubicProjectPoint(z,m,j,e,x,g,A,k,y,p,null);return v/2>=q}}}),aG("zrender/contain/quadratic",[a2,"../core/curve"],function(a){var b=a("../core/curve");return{containStroke:function(v,j,f,d,p,e,w,g,m){if(0===w){return !1}var q=w;if(m>j+q&&m>d+q&&m>e+q||j-q>m&&d-q>m&&e-q>m||g>v+q&&g>f+q&&g>p+q||v-q>g&&f-q>g&&p-q>g){return !1}var k=b.quadraticProjectPoint(v,j,f,d,p,e,g,m,null);return q/2>=k}}}),aG("zrender/contain/arc",[a2,"./util"],function(b){var c=b("./util").normalizeRadian,a=2*Math.PI;return{containStroke:function(z,j,e,x,i,A,k,w,y){if(0===k){return !1}var m=k;w-=z,y-=j;var v=Math.sqrt(w*w+y*y);if(v-m>e||e>v+m){return !1}if(Math.abs(x-i)%a<0.0001){return !0}if(A){var q=x;x=c(i),i=c(q)}else{x=c(x),i=c(i)}x>i&&(i+=a);var g=Math.atan2(y,w);return 0>g&&(g+=a),g>=x&&i>=g||g+a>=x&&i>=g+a}}}),aG("zrender/contain/util",[a2],function(){var a=2*Math.PI;return{normalizeRadian:function(b){return b%=a,0>b&&(b+=a),b}}}),aG("zrender/contain/windingLine",[],function(){return function(k,h,g,d,b,j){if(j>h&&j>d||h>j&&d>j){return 0}if(d===h){return 0}var c=h>d?1:-1,m=(j-h)/(d-h),f=m*(g-k)+k;return f>b?c:0}}),aG("zrender/graphic/helper/roundRect",[a2],function(){return{buildPath:function(w,k){var g,b,q,f,x=k.x,i=k.y,p=k.width,v=k[bq],j=k.r;0>p&&(x+=p,p=-p),0>v&&(i+=v,v=-v),"number"==typeof j?g=b=q=f=j:j instanceof Array?1===j[aD]?g=b=q=f=j[0]:2===j[aD]?(g=q=j[0],b=f=j[1]):3===j[aD]?(g=j[0],b=f=j[1],q=j[2]):(g=j[0],b=j[1],q=j[2],f=j[3]):g=b=q=f=0;var m;g+b>p&&(m=g+b,g*=p/m,b*=p/m),q+f>p&&(m=q+f,q*=p/m,f*=p/m),b+q>v&&(m=b+q,b*=v/m,q*=v/m),g+f>v&&(m=g+f,g*=v/m,f*=v/m),w[aB](x+g,i),w.lineTo(x+p-b,i),0!==b&&w.quadraticCurveTo(x+p,i,x+p,i+b),w.lineTo(x+p,i+v-q),0!==q&&w.quadraticCurveTo(x+p,i+v,x+p-q,i+v),w.lineTo(x+f,i+v),0!==f&&w.quadraticCurveTo(x,i+v,x,i+v-f),w.lineTo(x,i+g),0!==g&&w.quadraticCurveTo(x,i,x+g,i)}}}),aG("zrender/core/LRU",[a2],function(){var b=function(){this.head=null,this.tail=null,this._len=0},d=b[aU];d.insert=function(g){var h=new a(g);return this.insertEntry(h),h},d.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,this.tail=e):this.head=this.tail=e,this._len++},d[aq]=function(h){var j=h.prev,g=h.next;j?j.next=g:this.head=g,g?g.prev=j:this.tail=j,h.next=h.prev=null,this._len--},d.len=function(){return this._len};var a=function(e){this.value=e,this.next,this.prev},f=function(g){this._list=new b,this._map={},this._maxSize=g||10},c=f[aU];return c.put=function(j,l){var h=this._list,p=this._map;if(null==p[j]){var k=h.len();if(k>=this._maxSize&&k>0){var g=h.head;h[aq](g),delete p[g.key]}var m=h.insert(l);m.key=j,p[j]=m}},c.get=function(h){var j=this._map[h],g=this._list;return null!=j?(j!==g.tail&&(g[aq](j),g.insertEntry(j)),j.value):void 0},c.clear=function(){this._list.clear(),this._map={}},f}),aG("echarts/data/List",[a2,"../model/Model","./DataDiffer",br,"../util/model"],function(p){function D(a){return C[aA](a)||(a=[a]),a}function A(y,u){var m=y[ao],f=new j(C.map(m,y.getDimensionInfo,y),y.hostModel);h(f,y);for(var b=f._storage={},x=y._storage,d=0;d<m[aD];d++){var g=m[d],v=x[g];b[g]=C[aP](u,g)>=0?new v.constructor(x[g][aD]):x[g]}return f}var w=at,q=typeof window===at?global:window,H=typeof q.Float64Array===w?Array:q.Float64Array,s=typeof q.Int32Array===w?Array:q.Int32Array,F={"float":H,"int":s,ordinal:Array,number:Array,time:Array},l=p("../model/Model"),E=p("./DataDiffer"),C=p(br),B=p("../util/model"),k=C[aJ],z=["stackedOn","_nameList","_idList","_rawData"],h=function(a,b){C.each(z.concat(b.__wrappedMethods||[]),function(c){b.hasOwnProperty(c)&&(a[c]=b[c])}),a.__wrappedMethods=b.__wrappedMethods},j=function(d,g){d=d||["x","y"];for(var c={},u=[],f=0;f<d[aD];f++){var b,m={};typeof d[f]===aa?(b=d[f],m={name:b,stackable:!1,type:"number"}):(m=d[f],b=m.name,m.type=m.type||"number"),u.push(b),c[b]=m}this[ao]=u,this._dimensionInfos=c,this.hostModel=g,this.dataType,this.indices=[],this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this.stackedOn=null,this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._rawData,this._extent},I=j[aU];I.type="list",I.getDimension=function(a){return isNaN(a)||(a=this[ao][a]||a),a},I.getDimensionInfo=function(a){return C.clone(this._dimensionInfos[this.getDimension(a)])},I.initData=function(M,W,U){if(M=M||[],!C[aA](M)){throw new Error("Invalid data.")}this._rawData=M;var Q=this._storage={},N=this.indices=[],Z=this[ao],P=M[aD],T=this._dimensionInfos,L=[],V={};W=W||[];for(var X=0;X<Z[aD];X++){var O=T[Z[X]],K=F[O.type];Q[Z[X]]=new K(P)}U=U||function(b,m,a,o){var d=B.getDataItemValue(b);return B.converDataValue(C[aA](d)?d[o]:d,T[m])};for(var R=0;R<M[aD];R++){for(var f=M[R],g=0;g<Z[aD];g++){var ae=Z[g],Y=Q[ae];Y[R]=U(f,ae,R,g)}N.push(R)}for(var X=0;X<M[aD];X++){var J="";W[X]||(W[X]=M[X].name,J=M[X].id);var c=W[X]||"";!J&&c&&(V[c]=V[c]||0,J=c,V[c]>0&&(J+="__ec__"+V[c]),V[c]++),J&&(L[X]=J)}this._nameList=W,this._idList=L},I.count=function(){return this.indices[aD]},I.get=function(v,m,g){var d=this._storage,b=this.indices[m];if(null==b){return 0/0}var u=d[v]&&d[v][b];if(g){var c=this._dimensionInfos[v];if(c&&c.stackable){for(var x=this.stackedOn;x;){var f=x.get(v,m);(u>=0&&f>0||0>=u&&0>f)&&(u+=f),x=x.stackedOn}}}return u},I.getValues=function(d,g,c){var m=[];C[aA](d)||(c=g,g=d,d=this[ao]);for(var f=0,b=d[aD];b>f;f++){m.push(this.get(d[f],g,c))}return m},I.hasValue=function(b){for(var d=this[ao],a=this._dimensionInfos,f=0,c=d[aD];c>f;f++){if(a[d[f]].type!==ay&&isNaN(this.get(d[f],b))){return !1}}return !0},I.getDataExtent=function(y,u){var m=this._storage[y],f=this.getDimensionInfo(y);u=f&&f.stackable&&u;var b,x=(this._extent||(this._extent={}))[y+!!u];if(x){return x}if(m){for(var d=1/0,J=-1/0,g=0,v=this.count();v>g;g++){b=this.get(y,g,u),d>b&&(d=b),b>J&&(J=b)}return this._extent[y+u]=[d,J]}return[1/0,-1/0]},I.getSum=function(d,g){var c=this._storage[d],u=0;if(c){for(var f=0,b=this.count();b>f;f++){var m=this.get(d,f,g);isNaN(m)||(u+=m)}}return u},I[aP]=function(d,m){var c=this._storage,v=c[d],g=this.indices;if(v){for(var b=0,u=g[aD];u>b;b++){var f=g[b];if(v[f]===m){return b}}}return -1},I.indexOfName=function(d){for(var g=this.indices,c=this._nameList,m=0,f=g[aD];f>m;m++){var b=g[m];if(c[b]===d){return m}}return -1},I.indexOfNearest=function(K,v,m){var f=this._storage,b=f[K];if(b){for(var y=Number.MAX_VALUE,d=-1,L=0,g=this.count();g>L;L++){var x=v-this.get(K,L,m),J=Math.abs(x);(y>J||J===y&&x>0)&&(y=J,d=L)}return d}return -1},I.getRawIndex=function(a){var b=this.indices[a];return null==b?-1:b},I.getRawDataItem=function(a){return this._rawData[this.getRawIndex(a)]},I[aT]=function(a){return this._nameList[this.indices[a]]||""},I.getId=function(a){return this._idList[this.indices[a]]||this.getRawIndex(a)+""},I.each=function(v,g,e,b){typeof v===aN&&(b=e,e=g,g=v,v=[]),v=C.map(D(v),this.getDimension,this);var u=[],d=v[aD],x=this.indices;b=b||this;for(var f=0;f<x[aD];f++){if(0===d){g.call(b,f)}else{if(1===d){g.call(b,this.get(v[0],f,e),f)}else{for(var m=0;d>m;m++){u[m]=this.get(v[m],f,e)}u[m]=f,g.apply(b,u)}}}},I.filterSelf=function(J,g,e,b){typeof J===aN&&(b=e,e=g,g=J,J=[]),J=C.map(D(J),this.getDimension,this);var x=[],d=[],K=J[aD],f=this.indices;b=b||this;for(var v=0;v<f[aD];v++){var y;if(1===K){y=g.call(b,this.get(J[0],v,e),v)}else{for(var m=0;K>m;m++){d[m]=this.get(J[m],v,e)}d[m]=v,y=g.apply(b,d)}y&&x.push(f[v])}return this.indices=x,this._extent={},this},I.mapArray=function(b,d,a,f){typeof b===aN&&(f=a,a=d,d=b,b=[]);var c=[];return this.each(b,function(){c.push(d&&d.apply(this,arguments))},a,f),c},I.map=function(e,u,g,d){e=C.map(D(e),this.getDimension,this);var i=A(this,e),f=i.indices=this.indices,b=i._storage,m=[];return this.each(e,function(){var x=arguments[arguments[aD]-1],t=u&&u.apply(this,arguments);if(null!=t){"number"==typeof t&&(m[0]=t,t=m);for(var v=0;v<t[aD];v++){var c=e[v],y=b[c],n=f[x];y&&(y[n]=t[v])}}},g,d),i},I.downSample=function(J,U,O,L){for(var X=A(this,[J]),N=this._storage,K=X._storage,Q=this.indices,W=X.indices=[],x=[],R=[],V=Math.floor(1/U),T=K[J],M=this.count(),S=0;S<N[J][aD];S++){K[J][S]=N[J][S]}for(var S=0;M>S;S+=V){V>M-S&&(V=M-S,x[aD]=V);for(var i=0;V>i;i++){var P=Q[S+i];x[i]=T[P],R[i]=P}var b=O(x),P=R[L(x,b)||0];T[P]=b,W.push(P)}return X},I[aC]=function(a){var b=this.hostModel;return a=this.indices[a],new l(this._rawData[a],b,b&&b[a4])},I.diff=function(b){var c=this._idList,a=b&&b._idList;return new E(b?b.indices:[],this.indices,function(d){return a[d]||d+""},function(d){return c[d]||d+""})},I.getVisual=function(a){var b=this._visual;return b&&b[a]},I.setVisual=function(b,c){if(k(b)){for(var a in b){b.hasOwnProperty(a)&&this.setVisual(a,b[a])}}else{this._visual=this._visual||{},this._visual[b]=c}},I.setLayout=function(b,c){if(k(b)){for(var a in b){b.hasOwnProperty(a)&&this.setLayout(a,b[a])}}else{this._layout[b]=c}},I.getLayout=function(a){return this._layout[a]},I.getItemLayout=function(a){return this._itemLayouts[a]},I.setItemLayout=function(b,c,a){this._itemLayouts[b]=a?C[bs](this._itemLayouts[b]||{},c):c},I.clearItemLayouts=function(){this._itemLayouts[aD]=0},I[bg]=function(b,d,a){var f=this._itemVisuals[b],c=f&&f[d];return null!=c||a?c:this.getVisual(d)},I.setItemVisual=function(b,d,a){var f=this._itemVisuals[b]||{};if(this._itemVisuals[b]=f,k(d)){for(var c in d){d.hasOwnProperty(c)&&(f[c]=d[c])}}else{f[d]=a}};var G=function(a){a[bn]=this[bn],a[a5]=this[a5],a.dataType=this.dataType};return I.setItemGraphicEl=function(b,c){var a=this.hostModel;c&&(c[a5]=b,c.dataType=this.dataType,c[bn]=a&&a[bn],"group"===c.type&&c.traverse(G,c)),this._graphicEls[b]=c},I[aV]=function(a){return this._graphicEls[a]},I.eachItemGraphicEl=function(a,b){C.each(this._graphicEls,function(c,d){c&&a&&a.call(b,c,d)})},I.cloneShallow=function(){var a=C.map(this[ao],this.getDimensionInfo,this),b=new j(a,this.hostModel);return b._storage=this._storage,h(b,this),b.indices=this.indices.slice(),b},I.wrapMethod=function(b,c){var a=this[b];typeof a===aN&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(b),this[b]=function(){var d=a.apply(this,arguments);return c.apply(this,[d].concat(C.slice(arguments)))})},I.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],I.CHANGABLE_METHODS=["filterSelf"],j}),aG("echarts/data/helper/completeDimensions",[a2,br],function(b){function d(j,m,h,n){if(!m){return j}var k=f(m[0]),g=c[aA](k)&&k[aD]||1;h=h||[],n=n||"extra";for(var p=0;g>p;p++){if(!j[p]){var i=h[p]||n+(p-h[aD]);j[p]=a(m,p)?{type:"ordinal",name:i}:i}}return j}function a(j,k){for(var h=0,g=j[aD];g>h;h++){var l=f(j[h]);if(!c[aA](l)){return !1}var l=l[k];if(null!=l&&isFinite(l)){return !1}if(c.isString(l)&&"-"!==l){return !0}}return !1}function f(e){return c[aA](e)?e:c[aJ](e)?e.value:e}var c=b(br);return d}),aG("zrender/graphic/helper/poly",[a2,"./smoothSpline","./smoothBezier"],function(a){var b=a("./smoothSpline"),c=a("./smoothBezier");return{buildPath:function(x,e,v){var i=e.points,y=e.smooth;if(i&&i[aD]>=2){if(y&&"spline"!==y){var j=c(i,y,v,e.smoothConstraint);x[aB](i[0][0],i[0][1]);for(var q=i[aD],w=0;(v?q:q-1)>w;w++){var k=j[2*w],n=j[2*w+1],m=i[(w+1)%q];x.bezierCurveTo(k[0],k[1],n[0],n[1],m[0],m[1])}}else{"spline"===y&&(i=b(i,v)),x[aB](i[0][0],i[0][1]);for(var w=1,g=i[aD];g>w;w++){x.lineTo(i[w][0],i[w][1])}}v&&x.closePath()}}}}),aG("zrender/Handler",[a2,"./core/env","./core/event","./core/util","./mixin/Draggable","./core/GestureMgr","./mixin/Eventful"],function(C){function O(b,c,a){return{type:b,event:a,target:c,cancelBubble:!1,offsetX:a.zrX,offsetY:a.zrY,gestureEvent:a.gestureEvent,pinchX:a.pinchX,pinchY:a.pinchY,pinchScale:a.pinchScale,wheelDelta:a.zrDelta}}function K(d,g,c){var h=d._gestureMgr;"start"===c&&h.clear();var f=h.recognize(g,d.findHover(g.zrX,g.zrY,null));if("end"===c&&h.clear(),f){var b=f.type;g.gestureEvent=b,d._dispatchProxy(f[a6],b,f.event)}}function H(b){function d(g,h){return function(){return h._touching?void 0:g.apply(h,arguments)}}for(var a=A.concat(I),f=0;f<a[aD];f++){var c=a[f];b._handlers[c]=L.bind(z[c],b)}for(var f=0;f<M[aD];f++){var c=M[f];b._handlers[c]=d(z[c],b)}}function E(b,c,a){if(b[b.rectHover?"rectContain":bd](c,a)){for(var d=b;d;){if(d.silent||d.clipPath&&!d.clipPath[bd](c,a)){return !1}d=d.parent}return !0}return !1}function T(a){a._touching=!0,clearTimeout(a._touchTimer),a._touchTimer=setTimeout(function(){a._touching=!1},700)}function G(){return !1}function D(){return Q.touchEventsSupported}function J(a){return"mousewheel"===a&&Q.browser.firefox?"DOMMouseScroll":a}var Q=C("./core/env"),B=C("./core/event"),L=C("./core/util"),P=C("./mixin/Draggable"),N=C("./core/GestureMgr"),F=C("./mixin/Eventful"),M=["click","dblclick","mousewheel",bf];!G()&&M.push("mouseup","mousedown","mousemove");var A=["touchstart","touchend","touchmove"],I=["pointerdown","pointerup","pointermove"],k=300,q=B.addEventListener,U=B.removeEventListener,R=B.normalizeEvent,z={mousemove:function(b){b=R(this.root,b);var d=b.zrX,a=b.zrY,f=this.findHover(d,a,null),c=this._hovered;this._hovered=f,this.root.style.cursor=f?f.cursor:this._defaultCursorStyle,c&&f!==c&&c.__zr&&this._dispatchProxy(c,bf,b),this._dispatchProxy(f,"mousemove",b),f&&f!==c&&this._dispatchProxy(f,ab,b)},mouseout:function(a){a=R(this.root,a);var b=a.toElement||a.relatedTarget;if(b!=this.root){for(;b&&9!=b.nodeType;){if(b===this.root){return}b=b.parentNode}}this._dispatchProxy(this._hovered,bf,a),this[bj]("globalout",{event:a})},touchstart:function(a){a=R(this.root,a),this._lastTouchMoment=new Date,K(this,a,"start"),z.mousemove.call(this,a),z.mousedown.call(this,a),T(this)},touchmove:function(a){a=R(this.root,a),K(this,a,"change"),z.mousemove.call(this,a),T(this)},touchend:function(a){a=R(this.root,a),K(this,a,"end"),z.mouseup.call(this,a),+new Date-this._lastTouchMoment<k&&z.click.call(this,a),T(this)}};L.each(["click","mousedown","mouseup","mousewheel","dblclick"],function(a){z[a]=function(c){c=R(this.root,c);var b=this.findHover(c.zrX,c.zrY,null);if("mousedown"===a){this._downel=b,this._upel=b}else{if("mosueup"===a){this._upel=b}else{if("click"===a&&this._downel!==this._upel){return}}}this._dispatchProxy(b,a,c)}});var j=function(b,d,a){function c(g,f){L.each(g,function(h){q(b,J(h),f._handlers[h])},f)}F.call(this),this.root=b,this.storage=d,this.painter=a,this._hovered,this._lastTouchMoment,this._lastX,this._lastY,this._defaultCursorStyle="default",this._gestureMgr=new N,this._handlers=[],this._touching=!1,this._touchTimer,H(this),G()?c(I,this):D()&&c(A,this),c(M,this),P.call(this)};return j[aU]={constructor:j,resize:function(){this._hovered=null},dispatch:function(b,c){var a=this._handlers[b];a&&a.call(this,c)},dispose:function(){for(var b=this.root,c=M.concat(A),a=0;a<c[aD];a++){var d=c[a];U(b,J(d),this._handlers[d])}this.root=this.storage=this.painter=null},setDefaultCursorStyle:function(a){this._defaultCursorStyle=a},_dispatchProxy:function(d,c,g){for(var e="on"+c,b=O(c,d,g),f=d;f&&(f[e]&&(b.cancelBubble=f[e].call(f,b)),f[bj](c,b),f=f.parent,!b.cancelBubble);){}b.cancelBubble||(this[bj](c,b),this.painter&&this.painter.eachOtherLayer(function(a){typeof a[e]==aN&&a[e].call(a,b),a[bj]&&a[bj](c,b)}))},findHover:function(d,f,c){for(var g=this.storage.getDisplayList(),b=g[aD]-1;b>=0;b--){if(!g[b].silent&&g[b]!==c&&!g[b][bk]&&E(g[b],d,f)){return g[b]}}}},L.mixin(j,F),L.mixin(j,P),j}),aG("zrender/Storage",[a2,"./core/util","./container/Group"],function(b){function d(g,h){return g[aO]===h[aO]?g.z===h.z?g.z2===h.z2?g.__renderidx-h.__renderidx:g.z2-h.z2:g.z-h.z:g[aO]-h[aO]}var a=b("./core/util"),f=b("./container/Group"),c=function(){this._elements={},this._roots=[],this._displayList=[],this._displayListLen=0};return c[aU]={constructor:c,getDisplayList:function(g,h){return h=h||!1,g&&this.updateDisplayList(h),this._displayList},updateDisplayList:function(h){this._displayListLen=0;for(var g=this._roots,k=this._displayList,j=0,e=g[aD];e>j;j++){this._updateAndAddDisplayable(g[j],null,h)}k[aD]=this._displayListLen;for(var j=0,e=k[aD];e>j;j++){k[j].__renderidx=j}k.sort(d)},_updateAndAddDisplayable:function(j,l,h){if(!j[bk]||h){j.beforeUpdate(),j[a0](),j.afterUpdate();var p=j.clipPath;if(p&&(p.parent=j,p.updateTransform(),l?(l=l.slice(),l.push(p)):l=[p]),"group"==j.type){for(var k=j._children,g=0;g<k[aD];g++){var m=k[g];m.__dirty=j.__dirty||m.__dirty,this._updateAndAddDisplayable(m,l,h)}j.__dirty=!1}else{j.__clipPaths=l,this._displayList[this._displayListLen++]=j}}},addRoot:function(e){this._elements[e.id]||(e instanceof f&&e.addChildrenToStorage(this),this.addToMap(e),this._roots.push(e))},delRoot:function(h){if(null==h){for(var k=0;k<this._roots[aD];k++){var j=this._roots[k];j instanceof f&&j.delChildrenFromStorage(this)}return this._elements={},this._roots=[],this._displayList=[],void (this._displayListLen=0)}if(h instanceof Array){for(var k=0,g=h[aD];g>k;k++){this.delRoot(h[k])}}else{var l;l=typeof h==aa?this._elements[h]:h;var i=a[aP](this._roots,l);i>=0&&(this.delFromMap(l.id),this._roots[a8](i,1),l instanceof f&&l.delChildrenFromStorage(this))}},addToMap:function(e){return e instanceof f&&(e.__storage=this),e.dirty(),this._elements[e.id]=e,this},get:function(e){return this._elements[e]},delFromMap:function(h){var j=this._elements,g=j[h];return g&&(delete j[h],g instanceof f&&(g.__storage=null)),this},dispose:function(){this._elements=this._renderList=this._roots=null}},c}),aG("zrender/animation/Animation",[a2,aH,"../core/event","./Animator"],function(d){var g=d(aH),c=d("../core/event").Dispatcher,h=typeof window!==at&&(window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(a){setTimeout(a,16)},f=d("./Animator"),b=function(a){a=a||{},this.stage=a.stage||{},this.onframe=a.onframe||function(){},this._clips=[],this._running=!1,this._time=0,c.call(this)};return b[aU]={constructor:b,addClip:function(a){this._clips.push(a)},addAnimator:function(j){j[al]=this;for(var k=j.getClips(),a=0;a<k[aD];a++){this.addClip(k[a])}},removeClip:function(e){var a=g[aP](this._clips,e);a>=0&&this._clips[a8](a,1)},removeAnimator:function(j){for(var k=j.getClips(),a=0;a<k[aD];a++){this.removeClip(k[a])}j[al]=null},_update:function(){for(var w=(new Date).getTime(),u=w-this._time,q=this._clips,m=q[aD],j=[],v=[],k=0;m>k;k++){var x=q[k],p=x.step(w);p&&(j.push(p),v.push(x))}for(var k=0;m>k;){q[k]._needsRemove?(q[k]=q[m-1],q.pop(),m--):k++}m=j[aD];for(var k=0;m>k;k++){v[k].fire(j[k])}this._time=w,this.onframe(u),this[bj]("frame",u),this.stage[a0]&&this.stage[a0]()},start:function(){function a(){i._running&&(h(a),i._update())}var i=this;this._running=!0,this._time=(new Date).getTime(),h(a)},stop:function(){this._running=!1},clear:function(){this._clips=[]},animate:function(j,k){k=k||{};var a=new f(j,k.loop,k.getter,k.setter);return a}},g.mixin(b,c),b}),aG("zrender/Painter",[a2,"./config","./core/util","./core/log","./core/BoundingRect","./Layer","./graphic/Image"],function(E){function y(a){return parseInt(a,10)}function q(a){return a?a.isBuildin?!0:typeof a[bv]!==aN||typeof a.refresh!==aN?!1:!0:!1}function k(a){a.__unusedCount++}function b(a){a.__dirty=!1,1==a.__unusedCount&&a.clear()}function B(c,d,a){return f.copy(c[a1]()),c[bu]&&f[aK](c[bu]),x.width=d,x[bq]=a,!f.intersect(x)}function j(c,d){if(!c||!d||c[aD]!==d[aD]){return !0}for(var a=0;a<c[aD];a++){if(c[a]!==d[a]){return !0}}}function F(g,l){for(var d=0;d<g[aD];d++){var o,h=g[d];h[bu]&&(o=h[bu],l[bu](o[0],o[1],o[2],o[3],o[4],o[5]));var c=h.path;c.beginPath(l),h.buildPath(c,h.shape),l.clip(),h[bu]&&(o=h.invTransform,l[bu](o[0],o[1],o[2],o[3],o[4],o[5]))}}var m=E("./config"),A=E("./core/util"),D=E("./core/log"),w=E("./core/BoundingRect"),z=E("./Layer"),f=new w(0,0,0,0),x=new w(0,0,0,0),C=function(I,p,l){var h=!I.nodeName||"CANVAS"===I.nodeName.toUpperCase();l=l||{},this.dpr=l.devicePixelRatio||m.devicePixelRatio,this._singleCanvas=h,this.root=I;var d=I.style;if(d&&(d["-webkit-tap-highlight-color"]="transparent",d["-webkit-user-select"]="none",d["user-select"]="none",d["-webkit-touch-callout"]="none",I.innerHTML=""),this.storage=p,h){var G=I.width,g=I[bq];this._width=G,this._height=g;var J=new z(I,this,1);J.initContext(),this._layers={0:J},this._zlevelList=[0]}else{var G=this._getWidth(),g=this._getHeight();this._width=G,this._height=g;var v=document[aF]("div");this._domRoot=v;var H=v.style;H[aW]="relative",H.overflow="hidden",H.width=this._width+"px",H[bq]=this._height+"px",I.appendChild(v),this._layers={},this._zlevelList=[]}this._layerConfig={},this.pathToImage=this._createPathToImage()};return C[aU]={constructor:C,isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._singleCanvas?this._layers[0].dom:this._domRoot},refresh:function(g){var l=this.storage.getDisplayList(!0),d=this._zlevelList;this._paintList(l,g);for(var o=0;o<d[aD];o++){var h=d[o],c=this._layers[h];!c.isBuildin&&c.refresh&&c.refresh()}return this},_paintList:function(M,H){null==H&&(H=!1),this._updateLayerStatus(M);var r,o,J,s=this._width,I=this._height;this.eachBuildinLayer(k);for(var G=null,a=0,u=M[aD];u>a;a++){var L=M[a],n=this._singleCanvas?0:L[aO];if(o!==n&&(o=n,r=this.getLayer(o),r.isBuildin||D("ZLevel "+o+" has been used by unkown layer "+r.id),J=r.ctx,r.__unusedCount=0,(r.__dirty||H)&&r.clear()),(r.__dirty||H)&&!L.invisible&&0!==L.style[aZ]&&L.scale[0]&&L.scale[1]&&(!L.culling||!B(L,s,I))){var K=L.__clipPaths;j(K,G)&&(G&&J.restore(),K&&(J.save(),F(K,J)),G=K),L.beforeBrush&&L.beforeBrush(J),L.brush(J,!1),L.afterBrush&&L.afterBrush(J)}L.__dirty=!1}G&&J.restore(),this.eachBuildinLayer(b)},getLayer:function(a){if(this._singleCanvas){return this._layers[0]}var c=this._layers[a];return c||(c=new z("zr_"+a,this,this.dpr),c.isBuildin=!0,this._layerConfig[a]&&A.merge(c,this._layerConfig[a],!0),this.insertLayer(a,c),c.initContext()),c},insertLayer:function(G,p){var h=this._layers,d=this._zlevelList,v=d[aD],g=null,H=-1,i=this._domRoot;if(h[G]){return void D("ZLevel "+G+" has been used already")}if(!q(p)){return void D("Layer of zlevel "+G+" is not valid")}if(v>0&&G>d[0]){for(H=0;v-1>H&&!(d[H]<G&&d[H+1]>G);H++){}g=h[d[H]]}if(d[a8](H+1,0,G),g){var u=g.dom;u.nextSibling?i.insertBefore(p.dom,u.nextSibling):i.appendChild(p.dom)}else{i.firstChild?i.insertBefore(p.dom,i.firstChild):i.appendChild(p.dom)}h[G]=p},eachLayer:function(c,g){var a,h,d=this._zlevelList;for(h=0;h<d[aD];h++){a=d[h],c.call(g,this._layers[a],a)}},eachBuildinLayer:function(g,l){var d,o,h,c=this._zlevelList;for(h=0;h<c[aD];h++){o=c[h],d=this._layers[o],d.isBuildin&&g.call(l,d,o)}},eachOtherLayer:function(g,l){var d,o,h,c=this._zlevelList;for(h=0;h<c[aD];h++){o=c[h],d=this._layers[o],d.isBuildin||g.call(l,d,o)}},getLayers:function(){return this._layers},_updateLayerStatus:function(g){var p=this._layers,d={};this.eachBuildinLayer(function(a,i){d[i]=a.elCount,a.elCount=0});for(var v=0,l=g[aD];l>v;v++){var c=g[v],u=this._singleCanvas?0:c[aO],h=p[u];if(h){if(h.elCount++,h.__dirty){continue}h.__dirty=c.__dirty}}this.eachBuildinLayer(function(a,i){d[i]!==a.elCount&&(a.__dirty=!0)})},clear:function(){return this.eachBuildinLayer(this._clearLayer),this},_clearLayer:function(a){a.clear()},configLayer:function(c,d){if(d){var a=this._layerConfig;a[c]?A.merge(a[c],d,!0):a[c]=d;var g=this._layers[c];g&&A.merge(g,a[c],!0)}},delLayer:function(c){var d=this._layers,a=this._zlevelList,g=d[c];g&&(g.dom.parentNode.removeChild(g.dom),delete d[c],a[a8](A[aP](a,c),1))},resize:function(c,d){var a=this._domRoot;if(a.style.display="none",c=c||this._getWidth(),d=d||this._getHeight(),a.style.display="",this._width!=c||d!=this._height){a.style.width=c+"px",a.style[bq]=d+"px";for(var g in this._layers){this._layers[g][bv](c,d)}this.refresh(!0)}return this._width=c,this._height=d,this},clearLayer:function(a){var c=this._layers[a];c&&c.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(g){if(g=g||{},this._singleCanvas){return this._layers[0].dom}var l=new z("image",this,g.pixelRatio||this.dpr);l.initContext();var d=l.ctx;l.clearColor=g.backgroundColor,l.clear();for(var o=this.storage.getDisplayList(!0),h=0;h<o[aD];h++){var c=o[h];c.invisible||(c.beforeBrush&&c.beforeBrush(d),c.brush(d,!1),c.afterBrush&&c.afterBrush(d))}return l.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getWidth:function(){var c=this.root,a=document.defaultView.getComputedStyle(c);return(c.clientWidth||y(a.width)||y(c.style.width))-(y(a.paddingLeft)||0)-(y(a.paddingRight)||0)|0},_getHeight:function(){var c=this.root,a=document.defaultView.getComputedStyle(c);return(c.clientHeight||y(a[bq])||y(c.style[bq]))-(y(a.paddingTop)||0)-(y(a.paddingBottom)||0)|0},_pathToImage:function(v,t,h,d,H){var g=document[aF]("canvas"),J=g.getContext("2d");g.width=h*H,g[bq]=d*H,J.clearRect(0,0,h*H,d*H);var p={position:t[aW],rotation:t.rotation,scale:t.scale};t[aW]=[0,0,0],t.rotation=0,t.scale=[1,1],t&&t.brush(J);var G=E("./graphic/Image"),I=new G({id:v,style:{x:0,y:0,image:g}});return null!=p[aW]&&(I[aW]=t[aW]=p[aW]),null!=p.rotation&&(I.rotation=t.rotation=p.rotation),null!=p.scale&&(I.scale=t.scale=p.scale),I},_createPathToImage:function(){var a=this;return function(g,c,h,d){return a._pathToImage(g,c,h,d,a.dpr)}}},C}),aG("echarts/data/DataDiffer",[a2],function(){function b(d){return d}function c(g,d,h,f){this._old=g,this._new=d,this._oldKeyGetter=h||b,this._newKeyGetter=f||b}function a(g,j,f){for(var k=0;k<g[aD];k++){var h=f(g[k]),d=j[h];null==d?j[h]=k:(d[aD]||(j[h]=d=[d]),d.push(k))}}return c[aU]={constructor:c,add:function(d){return this._add=d,this},update:function(d){return this._update=d,this},remove:function(d){return this._remove=d,this},execute:function(){var p,i=this._old,g=this._new,d=this._oldKeyGetter,k=this._newKeyGetter,f={},q={};for(a(i,f,d),a(g,q,k),p=0;p<i[aD];p++){var h=d(i[p]),j=q[h];if(null!=j){var m=j[aD];m?(1===m&&(q[h]=null),j=j.unshift()):q[h]=null,this._update&&this._update(j,p)}else{this._remove&&this._remove(p)}}for(var h in q){if(q.hasOwnProperty(h)){var j=q[h];if(null==j){continue}if(j[aD]){for(var p=0,m=j[aD];m>p;p++){this._add&&this._add(j[p])}}else{this._add&&this._add(j)}}}}},c}),aG("zrender/graphic/helper/smoothSpline",[a2,"../../core/vector"],function(b){function c(p,k,j,g,d,m,f){var q=0.5*(j-p),h=0.5*(g-k);return(2*(k-j)+q+h)*f+(-3*(k-j)-2*q-h)*m+q*d+k}var a=b("../../core/vector");return function(F,k){for(var e=F[aD],C=[],j=0,G=1;e>G;G++){j+=a.distance(F[G-1],F[G])}var w=j/2;w=e>w?e:w;for(var G=0;w>G;G++){var B,E,x,A=G/(w-1)*(k?e:e-1),z=Math.floor(A),i=A-z,y=F[z%e];k?(B=F[(z-1+e)%e],E=F[(z+1)%e],x=F[(z+2)%e]):(B=F[0===z?z:z-1],E=F[z>e-2?e-1:z+1],x=F[z>e-3?e-1:z+2]);var D=i*i,q=i*D;C.push([c(B[0],y[0],E[0],x[0],i,D,q),c(B[1],y[1],E[1],x[1],i,D,q)])}return C}}),aG("zrender/graphic/helper/smoothBezier",[a2,"../../core/vector"],function(d){var g=d("../../core/vector"),c=g.min,j=g.max,f=g.scale,b=g.distance,h=g.add;return function(r,z,E,J){var q,F,I,H,C=[],G=[],o=[],D=[];if(J){I=[1/0,1/0],H=[-1/0,-1/0];for(var i=0,k=r[aD];k>i;i++){c(I,I,r[i]),j(H,H,r[i])}c(I,I,J[0]),j(H,H,J[1])}for(var i=0,k=r[aD];k>i;i++){var L=r[i];if(E){q=r[i?i-1:k-1],F=r[(i+1)%k]}else{if(0===i||i===k-1){C.push(g.clone(r[i]));continue}q=r[i-1],F=r[i+1]}g.sub(G,F,q),f(G,G,z);var K=b(L,q),n=b(L,F),a=K+n;0!==a&&(K/=a,n/=a),f(o,G,-K),f(D,G,n);var e=h([],L,o),B=h([],L,D);J&&(j(e,e,I),c(e,e,H),j(B,B,I),c(B,B,H)),C.push(e),C.push(B)}return E&&C.push(C.shift()),C}}),aG("zrender/core/event",[a2,"../mixin/Eventful"],function(d){function h(a){return a.getBoundingClientRect?a.getBoundingClientRect():{left:0,top:0}}function c(m,l){if(l=l||window.event,null!=l.zrX){return l}var v=l.type,q=v&&v[aP]("touch")>=0;if(q){var e="touchend"!=v?l.targetTouches[0]:l.changedTouches[0];if(e){var u=h(m);l.zrX=e.clientX-u.left,l.zrY=e.clientY-u.top}}else{var p=h(m);l.zrX=l.clientX-p.left,l.zrY=l.clientY-p.top,l.zrDelta=l.wheelDelta?l.wheelDelta/120:-(l.detail||0)/3}return l}function k(l,m,a){j?l.addEventListener(m,a):l.attachEvent("on"+m,a)}function g(l,m,a){j?l.removeEventListener(m,a):l.detachEvent("on"+m,a)}var b=d("../mixin/Eventful"),j=typeof window!==at&&!!window.addEventListener,f=j?function(a){a.preventDefault(),a.stopPropagation(),a.cancelBubble=!0}:function(a){a.returnValue=!1,a.cancelBubble=!0};return{normalizeEvent:c,addEventListener:k,removeEventListener:g,stop:f,Dispatcher:b}}),aG("zrender/mixin/Draggable",[a2],function(){function a(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}return a[aU]={constructor:a,_dragStart:function(b){var c=b[a6];c&&c.draggable&&(this._draggingTarget=c,c.dragging=!0,this._x=b.offsetX,this._y=b.offsetY,this._dispatchProxy(c,"dragstart",b.event))},_drag:function(d){var h=this._draggingTarget;if(h){var c=d.offsetX,k=d.offsetY,g=c-this._x,b=k-this._y;this._x=c,this._y=k,h.drift(g,b,d),this._dispatchProxy(h,"drag",d.event);var j=this.findHover(c,k,h),f=this._dropTarget;this._dropTarget=j,h!==j&&(f&&j!==f&&this._dispatchProxy(f,"dragleave",d.event),j&&j!==f&&this._dispatchProxy(j,"dragenter",d.event))}},_dragEnd:function(b){var c=this._draggingTarget;c&&(c.dragging=!1),this._dispatchProxy(c,"dragend",b.event),this._dropTarget&&this._dispatchProxy(this._dropTarget,"drop",b.event),this._draggingTarget=null,this._dropTarget=null}},a}),aG("zrender/core/GestureMgr",[a2],function(){function b(g){var h=g[1][0]-g[0][0],f=g[1][1]-g[0][1];return Math.sqrt(h*h+f*f)}function c(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var a=function(){this._track=[]};a[aU]={constructor:a,recognize:function(f,g){return this._doTrack(f,g),this._recognize(f)},clear:function(){return this._track[aD]=0,this},_doTrack:function(h,k){var g=h.touches;if(g){for(var m={points:[],touches:[],target:k,event:h},j=0,f=g[aD];f>j;j++){var l=g[j];m.points.push([l.clientX,l.clientY]),m.touches.push(l)}this._track.push(m)}},_recognize:function(g){for(var h in d){if(d.hasOwnProperty(h)){var f=d[h](this._track,g);if(f){return f}}}}};var d={pinch:function(g,m){var j=g[aD];if(j){var f=(g[j-1]||{}).points,k=(g[j-2]||{}).points||f;if(k&&k[aD]>1&&f&&f[aD]>1){var h=b(f)/b(k);!isFinite(h)&&(h=1),m.pinchScale=h;var e=c(f);return m.pinchX=e[0],m.pinchY=e[1],{type:"pinch",target:g[0][a6],event:m}}}}};return a}),aG("echarts/chart/bar/barItemStyle",[a2,"../../model/mixin/makeStyleMapper"],function(a){return{getBarItemStyle:a("../../model/mixin/makeStyleMapper")([["fill","color"],[aj,"borderColor"],[aM,"borderWidth"],[aj,"barBorderColor"],[aM,"barBorderWidth"],[aZ],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]])}}),aG("echarts/component/axis/AxisView",[a2,br,aL,"./AxisBuilder",ap],function(p){function j(I,D){function A(c){var h=y.getAxis(c);return h.toGlobalCoord(h.dataToCoord(0))}var y=I[a9],v=D.axis,G={},x=v[aW],J=v.onZero?"onZero":x,z=v.dim,F=y.getRect(),H=[F.x,F.x+F.width,F.y,F.y+F[bq]],B={x:{top:H[2],bottom:H[3]},y:{left:H[0],right:H[1]}};B.x.onZero=Math.max(Math.min(A("y"),B.x[af]),B.x.top),B.y.onZero=Math.max(Math.min(A("x"),B.y.right),B.y.left),G[aW]=["y"===z?B.y[J]:H[0],"x"===z?B.x[J]:H[3]];var E={x:0,y:1};G.rotation=Math.PI/2*E[z];var C={top:-1,bottom:1,left:-1,right:1};G.labelDirection=G.tickDirection=G.nameDirection=C[x],v.onZero&&(G.labelOffset=B[z][x]-B[z].onZero),D[bo]("axisTick").get(aw)&&(G.tickDirection=-G.tickDirection),D[bo]("axisLabel").get(aw)&&(G.labelDirection=-G.labelDirection);var w=D[bo]("axisLabel").get("rotate");return G.labelRotation="top"===J?-w:w,G.labelInterval=v.getLabelInterval(),G.z2=1,G}var f=p(br),b=p(aL),a=p("./AxisBuilder"),q=a.ifIgnoreOnTick,d=a.getInterval,k=["axisLine","axisLabel","axisTick","axisName"],m=["splitLine","splitArea"],g=p(ap).extendComponentView({type:"axis",render:function(e,l){if(this.group[ar](),e.get("show")){var i=l[aY]("grid",e.get("gridIndex")),c=j(i,e),h=new a(e,c);f.each(k,h.add,h),this.group.add(h.getGroup()),f.each(m,function(n){e.get(n+".show")&&this["_"+n](e,i,c.labelInterval)},this)}},_splitLine:function(B,J,C){var N=B.axis,E=B[bo]("splitLine"),L=E[bo]("lineStyle"),A=L.get("width"),G=L.get("color"),K=d(E,C);G=f[aA](G)?G:[G];for(var I=J[a9].getRect(),D=N.isHorizontal(),H=[],z=0,F=N.getTicksCoords(),l=[],n=[],O=0;O<F[aD];O++){if(!q(N,O,K)){var M=N.toGlobalCoord(F[O]);D?(l[0]=M,l[1]=I.y,n[0]=M,n[1]=I.y+I[bq]):(l[0]=I.x,l[1]=M,n[0]=I.x+I.width,n[1]=M);var s=z++%G[aD];H[s]=H[s]||[],H[s].push(new b.Line(b.subPixelOptimizeLine({shape:{x1:l[0],y1:l[1],x2:n[0],y2:n[1]},style:{lineWidth:A},silent:!0})))}}for(var i=L.getLineStyle(),O=0;O<H[aD];O++){this.group.add(b.mergePath(H[O],{style:f[bm]({stroke:G[O%G[aD]]},i),silent:!0}))}},_splitArea:function(D,N,E){var R=D.axis,H=D[bo]("splitArea"),P=H[bo]("areaStyle"),C=P.get("color"),J=N[a9].getRect(),O=R.getTicksCoords(),L=R.toGlobalCoord(O[0]),G=R.toGlobalCoord(O[0]),K=[],B=0,I=d(H,E);C=f[aA](C)?C:[C];for(var n=1;n<O[aD];n++){if(!q(R,n,I)){var s,T,Q,z,i=R.toGlobalCoord(O[n]);R.isHorizontal()?(s=L,T=J.y,Q=i-s,z=J[bq]):(s=J.x,T=G,Q=J.width,z=i-T);var l=B++%C[aD];K[l]=K[l]||[],K[l].push(new b.Rect({shape:{x:s,y:T,width:Q,height:z},silent:!0})),L=s+Q,G=T+z}}for(var F=P.getAreaStyle(),n=0;n<K[aD];n++){this.group.add(b.mergePath(K[n],{style:f[bm]({fill:C[n%C[aD]]},F),silent:!0}))}}});g[bs]({type:"xAxis"}),g[bs]({type:"yAxis"})}),aG("zrender/Layer",[a2,"./core/util","./config"],function(d){function g(){return !1}function c(l,q,k,v){var p=document[aF](q),j=k[bl](),u=k[ag](),m=p.style;return m[aW]="absolute",m.left=0,m.top=0,m.width=j+"px",m[bq]=u+"px",p.width=j*v,p[bq]=u*v,p.setAttribute("data-zr-dom-id",l),p}var h=d("./core/util"),f=d("./config"),b=function(j,i,m){var k;m=m||f.devicePixelRatio,typeof j===aa?k=c(j,"canvas",i,m):h[aJ](j)&&(k=j,j=k.id),this.id=j,this.dom=k;var e=k.style;e&&(k.onselectstart=g,e["-webkit-user-select"]="none",e["user-select"]="none",e["-webkit-touch-callout"]="none",e["-webkit-tap-highlight-color"]="rgba(0,0,0,0)"),this.domBack=null,this.ctxBack=null,this.painter=i,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=0.7,this.dpr=m};return b[aU]={constructor:b,elCount:0,__dirty:!0,initContext:function(){this.ctx=this.dom.getContext("2d");var a=this.dpr;1!=a&&this.ctx.scale(a,a)},createBackBuffer:function(){var a=this.dpr;this.domBack=c("back-"+this.id,"canvas",this.painter,a),this.ctxBack=this.domBack.getContext("2d"),1!=a&&this.ctxBack.scale(a,a)},resize:function(l,o){var k=this.dpr,p=this.dom,m=p.style,j=this.domBack;m.width=l+"px",m[bq]=o+"px",p.width=l*k,p[bq]=o*k,1!=k&&this.ctx.scale(k,k),j&&(j.width=l*k,j[bq]=o*k,1!=k&&this.ctxBack.scale(k,k))},clear:function(x){var u=this.dom,q=this.ctx,m=u.width,j=u[bq],w=this.clearColor,k=this.motionBlur&&!x,y=this.lastFrameAlpha,p=this.dpr;if(k&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(u,0,0,m/p,j/p)),q.clearRect(0,0,m/p,j/p),w&&(q.save(),q.fillStyle=this.clearColor,q.fillRect(0,0,m/p,j/p),q.restore()),k){var v=this.domBack;q.save(),q.globalAlpha=y,q.drawImage(v,0,0,m/p,j/p),q.restore()}}},b}),aG("echarts/component/axis/AxisBuilder",[a2,br,aL,"../../model/Model","../../util/number"],function(C){function y(d){var f={componentType:d.mainType};return f[d.mainType+"Index"]=d.componentIndex,f}function l(g,m,f){var o,h,d=q(m-g.rotation);return z(d)?(h=f>0?"top":af,o=bh):z(d-x)?(h=f>0?af:"top",o=bh):(h=bc,o=d>0&&x>d?f>0?"right":"left":f>0?"left":"right"),{rotation:d,textAlign:o,verticalAlign:h}}function j(g,p,f){var v,m,d=q(-g.rotation),u=f[0]>f[1],h="start"===p&&!u||"start"!==p&&u;return z(d-x/2)?(m=h?af:"top",v=bh):z(d-1.5*x)?(m=h?"top":af,v=bh):(m=bc,v=1.5*x>d&&d>x/2?h?"left":"right":h?"right":"left"),{rotation:d,textAlign:v,verticalAlign:m}}var a=C(br),c=C(aL),D=C("../../model/Model"),B=C("../../util/number"),q=B.remRadian,z=B.isRadianAroundZero,x=Math.PI,b=function(d,f){this.opt=f,this.axisModel=d,a[bm](f,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new c.Group({position:f[aW].slice(),rotation:f.rotation})};b[aU]={constructor:b,hasBuilder:function(d){return !!w[d]},add:function(d){w[d].call(this)},getGroup:function(){return this.group}};var w={axisLine:function(){var f=this.opt,g=this.axisModel;if(g.get("axisLine.show")){var d=this.axisModel.axis[az]();this.group.add(new c.Line({shape:{x1:d[0],y1:0,x2:d[1],y2:0},style:a[bs]({lineCap:"round"},g[bo]("axisLine.lineStyle").getLineStyle()),strokeContainThreshold:f.strokeContainThreshold,silent:!!f.axisLineSilent,z2:1}))}},axisTick:function(){var G=this.axisModel;if(G.get("axisTick.show")){for(var p=G.axis,m=G[bo]("axisTick"),f=this.opt,d=m[bo]("lineStyle"),E=m.get(aD),H=k(m,f.labelInterval),g=p.getTicksCoords(),v=[],F=0;F<g[aD];F++){if(!A(p,F,H)){var o=g[F];v.push(new c.Line(c.subPixelOptimizeLine({shape:{x1:o,y1:0,x2:o,y2:f.tickDirection*E},style:{lineWidth:d.get("width")},silent:!0})))}}this.group.add(c.mergePath(v,{style:d.getLineStyle(),z2:2,silent:!0}))}},axisLabel:function(){function I(g,h){var d=g&&g[a1]().clone(),m=h&&h[a1]().clone();return d&&m?(d[aK](g.getLocalTransform()),m[aK](h.getLocalTransform()),d.intersect(m)):void 0}var R=this.axisModel;if(R.get("axisLabel.show")){var L=this.opt,ae=R.axis,V=R[bo]("axisLabel"),H=V[bo](ba),X=V.get("margin"),Z=ae.scale.getTicks(),Q=R.getFormattedLabels(),Y=L.labelRotation;null==Y&&(Y=V.get("rotate")||0),Y=Y*x/180;for(var U=l(L,Y,L.labelDirection),E=R.get("data"),F=[],be=R.get("silent"),G=0;G<Z[aD];G++){if(!A(ae,G,L.labelInterval)){var f=H;E&&E[G]&&E[G][ba]&&(f=new D(E[G][ba],H,R[a4]));var s=f.getTextColor(),N=ae.dataToCoord(Z[G]),K=[N,L.labelOffset+L.labelDirection*X],e=ae.scale[a7](Z[G]),i=new c.Text({style:{text:Q[G],textAlign:f.get("align",!0)||U[bb],textVerticalAlign:f.get("baseline",!0)||U.verticalAlign,textFont:f[aR](),fill:typeof s===aN?s(e):s},position:K,rotation:U.rotation,silent:be,z2:10});i.eventData=y(R),i.eventData.targetType="axisLabel",i.eventData.value=e,F.push(i),this.group.add(i)}}if(ae.type!==aI){if(R.getMin?R.getMin():R.get("min")){var v=F[0],W=F[1];I(v,W)&&(v[bk]=!0)}if(R.getMax?R.getMax():R.get("max")){var J=F[F[aD]-1],o=F[F[aD]-2];I(o,J)&&(J[bk]=!0)}}}},axisName:function(){var I=this.opt,e=this.axisModel,G=this.opt.axisName;if(null==G&&(G=e.get("name")),G){var J,m=e.get("nameLocation"),F=I.nameDirection,H=e[bo]("nameTextStyle"),n=e.get("nameGap")||0,E=this.axisModel.axis[az](),v=E[0]>E[1]?-1:1,i=["start"===m?E[0]-v*n:"end"===m?E[1]+v*n:(E[0]+E[1])/2,m===bc?I.labelOffset+F*n:0];J=m===bc?l(I,I.rotation,F):j(I,m,E);var o=new c.Text({style:{text:G,textFont:H[aR](),fill:H.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:J[bb],textVerticalAlign:J.verticalAlign},position:i,rotation:J.rotation,silent:e.get("silent"),z2:1});o.eventData=y(e),o.eventData.targetType="axisName",o.eventData.name=G,this.group.add(o)}}},A=b.ifIgnoreOnTick=function(f,h,d){var m,g=f.scale;return g.type===ay&&(typeof d===aN?(m=g.getTicks()[h],!d(m,g[a7](m))):h%(d+1))},k=b.getInterval=function(f,g){var d=f.get("interval");return(null==d||"auto"==d)&&(d=g),d};return b}),aG("echarts/preprocessor/helper/compatStyle",[a2,br],function(b){function c(f){var g=f&&f.itemStyle;g&&a.each(d,function(i){var h=g[a3],e=g[bi];h&&h[i]&&(f[i]=f[i]||{},f[i][a3]?a.merge(f[i][a3],h[i]):f[i][a3]=h[i],h[i]=null),e&&e[i]&&(f[i]=f[i]||{},f[i][bi]?a.merge(f[i][bi],e[i]):f[i][bi]=e[i],e[i]=null)})}var a=b(br),d=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];return function(g){if(g){c(g),c(g.markPoint),c(g.markLine);var k=g.data;if(k){for(var i=0;i<k[aD];i++){c(k[i])}var f=g.markPoint;if(f&&f.data){for(var j=f.data,i=0;i<j[aD];i++){c(j[i])}}var h=g.markLine;if(h&&h.data){for(var e=h.data,i=0;i<e[aD];i++){a[aA](e[i])?(c(e[i][0]),c(e[i][1])):c(e[i])}}}}}}),aG("echarts/component/helper/listComponent",[a2,"../../util/layout","../../util/format",aL],function(b){function d(g,h,i){a.positionGroup(g,h.getBoxLayoutParams(),{width:i[bl](),height:i[ag]()},h.get("padding"))}var a=b("../../util/layout"),f=b("../../util/format"),c=b(aL);return{layout:function(g,i,h){var e=a.getLayoutRect(i.getBoxLayoutParams(),{width:h[bl](),height:h[ag]()},i.get("padding"));a.box(i.get("orient"),g,i.get("itemGap"),e.width,e[bq]),d(g,i,h)},addBackground:function(j,l){var h=f.normalizeCssArray(l.get("padding")),g=j[a1](),m=l.getItemStyle(["color",aZ]);m.fill=l.get("backgroundColor");var k=new c.Rect({shape:{x:g.x-h[3],y:g.y-h[0],width:g.width+h[1]+h[3],height:g[bq]+h[0]+h[2]},style:m,silent:!0,z2:-1});c.subPixelOptimizeRect(k),j.add(k)}}}),aG("echarts/chart/helper/SymbolDraw",[a2,aL,"./Symbol"],function(b){function d(e){this.group=new g.Group,this._symbolCtor=e||c}function a(j,k,h){var l=j.getItemLayout(k);return !(!l||isNaN(l[0])||isNaN(l[1])||h&&h(k)||"none"===j[bg](k,"symbol"))}var g=b(aL),c=b("./Symbol"),f=d[aU];return f.updateData=function(i,l){var k=this.group,h=i.hostModel,m=this._data,j=this._symbolCtor;i.diff(m).add(function(q){var e=i.getItemLayout(q);if(a(i,q,l)){var p=new j(i,q);p.attr(aW,e),i.setItemGraphicEl(q,p),k.add(p)}})[a0](function(e,p){var n=m[aV](p),o=i.getItemLayout(e);return a(i,e,l)?(n?(n.updateData(i,e),g[aE](n,{position:o},h)):(n=new j(i,e),n.attr(aW,o)),k.add(n),void i.setItemGraphicEl(e,n)):void k[aq](n)})[aq](function(n){var o=m[aV](n);o&&o.fadeOut(function(){k[aq](o)})}).execute(),this._data=i},f.updateLayout=function(){var e=this._data;e&&e.eachItemGraphicEl(function(j,h){j.attr(aW,e.getItemLayout(h))})},f[aq]=function(j){var k=this.group,h=this._data;h&&(j?h.eachItemGraphicEl(function(e){e.fadeOut(function(){k[aq](e)})}):k[ar]())},d}),aG("echarts/component/axis/AngleAxisView",[a2,br,aL,"../../model/Model",ap],function(b){function d(k,m,j,o){var l=k.coordToPoint([m,o]),h=k.coordToPoint([j,o]);return{x1:l[0],y1:l[1],x2:h[0],y2:h[1]}}var a=b(br),g=b(aL),f=b("../../model/Model"),c=["axisLine","axisLabel","axisTick","splitLine","splitArea"];b(ap).extendComponentView({type:"angleAxis",render:function(j,m){if(this.group[ar](),j.get("show")){var q=m[aY]("polar",j.get("polarIndex")),k=j.axis,i=q[a9],p=i.getRadiusAxis()[az](),h=k.getTicksCoords();k.type!==aI&&h.pop(),a.each(c,function(l){j.get(l+".show")&&this["_"+l](j,i,h,p)},this)}},_axisLine:function(k,m,j,l){var h=k[bo]("axisLine.lineStyle"),n=new g.Circle({shape:{cx:m.cx,cy:m.cy,r:l[1]},style:h.getLineStyle(),z2:1,silent:!0});n.style.fill=null,this.group.add(n)},_axisTick:function(i,k,h,m){var j=i[bo]("axisTick"),e=(j.get(aw)?-1:1)*j.get(aD),n=a.map(h,function(l){return new g.Line({shape:d(k,m[1],m[1]+e,l)})});this.group.add(g.mergePath(n,{style:j[bo]("lineStyle").getLineStyle()}))},_axisLabel:function(q,H,D,z){for(var K=q.axis,w=q.get("data"),C=q[bo]("axisLabel"),J=C[bo](ba),o=q.getFormattedLabels(),E=C.get("margin"),I=K.getLabelsCoords(),G=0;G<D[aD];G++){var A=z[1],F=H.coordToPoint([A+E,I[G]]),n=H.cx,B=H.cy,j=Math.abs(F[0]-n)/A<0.3?bh:F[0]>n?"left":"right",k=Math.abs(F[1]-B)/A<0.3?bc:F[1]>B?"top":af,L=J;w&&w[G]&&w[G][ba]&&(L=new f(w[G][ba],J)),this.group.add(new g.Text({style:{x:F[0],y:F[1],fill:L.getTextColor(),text:o[G],textAlign:j,textVerticalAlign:k,textFont:L[aR]()},silent:!0}))}},_splitLine:function(w,e,q,i){var x=w[bo]("splitLine"),j=x[bo]("lineStyle"),p=j.get("color"),v=0;p=p instanceof Array?p:[p];for(var k=[],n=0;n<q[aD];n++){var m=v++%p[aD];k[m]=k[m]||[],k[m].push(new g.Line({shape:d(e,i[0],i[1],q[n])}))}for(var n=0;n<k[aD];n++){this.group.add(g.mergePath(k[n],{style:a[bm]({stroke:p[n%p[aD]]},j.getLineStyle()),silent:!0,z:w.get("z")}))}},_splitArea:function(F,z,i,C){var k=F[bo]("splitArea"),G=k[bo]("areaStyle"),q=G.get("color"),B=0;q=q instanceof Array?q:[q];for(var E=[],w=Math.PI/180,A=-i[0]*w,y=Math.min(C[0],C[1]),j=Math.max(C[0],C[1]),x=F.get("clockwise"),D=1;D<i[aD];D++){var n=B++%q[aD];E[n]=E[n]||[],E[n].push(new g[ak]({shape:{cx:z.cx,cy:z.cy,r0:y,r:j,startAngle:A,endAngle:-i[D]*w,clockwise:x},silent:!0})),A=-i[D]*w}for(var D=0;D<E[aD];D++){this.group.add(g.mergePath(E[D],{style:a[bm]({fill:q[D%q[aD]]},G.getAreaStyle()),silent:!0}))}}})}),aG("echarts/component/tooltip/TooltipContent",[a2,br,"zrender/tool/color","zrender/core/event","../../util/format","zrender/core/env"],function(C){function w(c){var d="cubic-bezier(0.23, 1, 0.32, 1)",a="left "+c+"s "+d+",top "+c+"s "+d;return D.map(q,function(e){return e+"transition:"+a}).join(";")}function m(c){var d=[],a=c.get("fontSize"),g=c.getTextColor();return g&&d.push("color:"+g),d.push("font:"+c[aR]()),a&&d.push("line-height:"+Math.round(3*a/2)+"px"),n(["decoration","align"],function(e){var h=c.get(e);h&&d.push("text-"+e+":"+h)}),d.join(";")}function b(e){e=e;var h=[],d=e.get("transitionDuration"),i=e.get("backgroundColor"),g=e[bo](ba),l=e.get("padding");return d&&h.push(w(d)),i&&(f.canvasSupported?h.push("background-Color:"+i):(h.push("background-Color:#"+k.toHex(i)),h.push("filter:alpha(opacity=70)"))),n(["width","color",av],function(p){var o="border-"+p,r=x(o),c=e.get(r);null!=c&&h.push(o+":"+c+("color"===p?"":"px"))}),h.push(m(g)),null!=l&&h.push("padding:"+B.normalizeCssArray(l).join("px ")+"px"),h.join(";")+";"}function z(c,g){var a=document[aF]("div"),h=g.getZr();this.el=a,this._x=g[bl]()/2,this._y=g[ag]()/2,c.appendChild(a),this._container=c,this._show=!1,this._hideTimeout;var d=this;a.onmouseenter=function(){d.enterable&&(clearTimeout(d._hideTimeout),d._show=!0),d._inContent=!0},a.onmousemove=function(o){if(!d.enterable){var l=h.handler;y.normalizeEvent(c,o),l.dispatch("mousemove",o)}},a.onmouseleave=function(){d.enterable&&d._show&&d.hideLater(d._hideDelay),d._inContent=!1},j(a,c)}function j(c,d){function a(e){g(e[a6])&&e.preventDefault()}function g(e){for(;e&&e!==d;){if(e===c){return !0}e=e.parentNode}}y.addEventListener(d,"touchstart",a),y.addEventListener(d,"touchmove",a),y.addEventListener(d,"touchend",a)}var D=C(br),k=C("zrender/tool/color"),y=C("zrender/core/event"),B=C("../../util/format"),n=D.each,x=B.toCamelCase,f=C("zrender/core/env"),q=["","-webkit-","-moz-","-o-"],A="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";return z[aU]={constructor:z,enterable:!0,update:function(){var c=this._container,d=c.currentStyle||document.defaultView.getComputedStyle(c),a=c.style;"absolute"!==a[aW]&&"absolute"!==d[aW]&&(a[aW]="relative")},show:function(a){clearTimeout(this._hideTimeout),this.el.style.cssText=A+b(a)+";left:"+this._x+"px;top:"+this._y+"px;"+(a.get("extraCssText")||""),this._show=!0},setContent:function(a){var c=this.el;c.innerHTML=a,c.style.display=a?"block":"none"},moveTo:function(c,d){var a=this.el.style;a.left=c+"px",a.top=d+"px",this._x=c,this._y=d},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(a){!this._show||this._inContent&&this.enterable||(a?(this._hideDelay=a,this._show=!1,this._hideTimeout=setTimeout(D.bind(this.hide,this),a)):this.hide())},isShow:function(){return this._show}},z}),aG("echarts/component/helper/selectableMixin",[a2,br],function(a){var b=a(br);return{updateSelectedMap:function(c){this._selectTargetMap=b.reduce(c||[],function(d,f){return d[f.name]=f,d},{})},select:function(d){var c=this._selectTargetMap,f=c[d],e=this.get("selectedMode");"single"===e&&b.each(c,function(g){g.selected=!1}),f&&(f.selected=!0)},unSelect:function(c){var d=this._selectTargetMap[c];d&&(d.selected=!1)},toggleSelected:function(c){var d=this._selectTargetMap[c];return null!=d?(this[d.selected?"unSelect":"select"](c),d.selected):void 0},isSelected:function(c){var d=this._selectTargetMap[c];return d&&d.selected}}}),aG("echarts/chart/line/poly",[a2,"zrender/graphic/Path","zrender/core/vector"],function(y){function p(a){return isNaN(a[0])||isNaN(a[1])}function i(D,I,F,Q,H,N,B,J,o,s,R){for(var O=0,u=F,d=0;Q>d;d++){var f=I[u];if(u>=H||0>u){break}if(p(f)){if(R){u+=N;continue}break}if(u===F){D[N>0?aB:"lineTo"](f[0],f[1]),x(q,f)}else{if(o>0){var G=u+N,E=I[G];if(R){for(;E&&p(I[G]);){G+=N,E=I[G]}}var c=0.5,h=I[O],E=I[G];if(!E||p(E)){x(m,f)}else{p(E)&&!R&&(E=f),g.sub(k,E,h);var e,l;if("x"===s||"y"===s){var K="x"===s?0:1;e=Math.abs(f[K]-h[K]),l=Math.abs(f[K]-E[K])}else{e=g.dist(f,h),l=g.dist(f,E)}c=l/(l+e),v(m,f,k,-o*(1-c))}z(q,q,J),j(q,q,B),z(m,m,J),j(m,m,B),D.bezierCurveTo(q[0],q[1],m[0],m[1],f[0],f[1]),v(q,f,k,o*c)}else{D.lineTo(f[0],f[1])}}O=u,u+=N}return d}function b(f,l){var d=[1/0,1/0],o=[-1/0,-1/0];if(l){for(var h=0;h<f[aD];h++){var c=f[h];c[0]<d[0]&&(d[0]=c[0]),c[1]<d[1]&&(d[1]=c[1]),c[0]>o[0]&&(o[0]=c[0]),c[1]>o[1]&&(o[1]=c[1])}}return{min:l?d:o,max:l?o:d}}var w=y("zrender/graphic/Path"),g=y("zrender/core/vector"),z=g.min,j=g.max,v=g.scaleAndAdd,x=g.copy,k=[],q=[],m=[];return{Polyline:w[bs]({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},buildPath:function(f,e){var d=e.points,n=0,h=d[aD],c=b(d,e.smoothConstraint);if(e.connectNulls){for(;h>0&&p(d[h-1]);h--){}for(;h>n&&p(d[n]);n++){}}for(;h>n;){n+=i(f,d,n,h,h,1,c.min,c.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}}}),Polygon:w[bs]({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},buildPath:function(E,n){var C=n.points,e=n.stackedOnPoints,F=0,f=C[aD],B=n.smoothMonotone,D=b(C,n.smoothConstraint),r=b(e,n.smoothConstraint);if(n.connectNulls){for(;f>0&&p(C[f-1]);f--){}for(;f>F&&p(C[F]);F++){}}for(;f>F;){var A=i(E,C,F,f,f,1,D.min,D.max,n.smooth,B,n.connectNulls);i(E,e,F+A-1,A,f,-1,r.min,r.max,n.stackedOnSmooth,B,n.connectNulls),F+=A+1,E.closePath()}}})}}),aG("echarts/chart/line/lineAnimationDiff",[a2],function(){function b(d){return d>=0?1:-1}function c(q,m,g){for(var w,y=q.getBaseAxis(),k=q.getOtherAxis(y),v=y.onZero?0:k.scale[az]()[0],x=k.dim,n="x"===x||x===av?1:0,t=m.stackedOn,o=m.get(x,g);t&&b(t.get(x,g))===b(o);){w=t;break}var j=[];return j[n]=m.get(y.dim,g),j[1-n]=w?w.get(x,g,!0):v,q[au](j)}function a(f,g){var d=[];return g.diff(f).add(function(e){d.push({cmd:"+",idx:e})})[a0](function(h,i){d.push({cmd:"=",idx:i,idx1:h})})[aq](function(e){d.push({cmd:"-",idx:e})}).execute(),d}return function(G,N,I,Z,Q,X){for(var F=a(G,N),R=[],W=[],V=[],K=[],U=[],E=[],O=[],s=X[ao],B=0;B<F[aD];B++){var ae=F[B],Y=!0;switch(ae.cmd){case"=":var D=G.getItemLayout(ae.idx),i=N.getItemLayout(ae.idx1);(isNaN(D[0])||isNaN(D[1]))&&(D=i.slice()),R.push(D),W.push(i),V.push(I[ae.idx]),K.push(Z[ae.idx1]),O.push(N.getRawIndex(ae.idx1));break;case"+":var k=ae.idx;R.push(Q[au]([N.get(s[0],k,!0),N.get(s[1],k,!0)])),W.push(N.getItemLayout(k).slice()),V.push(c(Q,N,k)),K.push(Z[k]),O.push(N.getRawIndex(k));break;case"-":var k=ae.idx,J=G.getRawIndex(k);J!==k?(R.push(G.getItemLayout(k)),W.push(X[au]([G.get(s[0],k,!0),G.get(s[1],k,!0)])),V.push(I[k]),K.push(c(X,G,k)),O.push(J)):Y=!1}Y&&(U.push(ae),E.push(E[aD]))}E.sort(function(d,f){return O[d]-O[f]});for(var H=[],e=[],o=[],j=[],q=[],B=0;B<E[aD];B++){var k=E[B];H[B]=R[k],e[B]=W[k],o[B]=V[k],j[B]=K[k],q[B]=U[k]}return{current:H,next:e,stackedOnCurrent:o,stackedOnNext:j,status:q}}}),aG("echarts/chart/helper/Symbol",[a2,br,"../../util/symbol",aL,"../../util/number"],function(z){function q(c){return a[aA](c)||(c=[+c,+c]),c}function k(c,d){u.Group.call(this),this.updateData(c,d)}function h(c,d){this.parent.drift(c,d)}var a=z(br),g=z("../../util/symbol"),u=z(aL),s=z("../../util/number"),l=k[aU];l._createSymbol=function(m,f,o){this[ar]();var d=f.hostModel,n=f[bg](o,"color"),c=g.createSymbol(m,-0.5,-0.5,1,1,n);c.attr({z2:100,culling:!0,scale:[0,0]}),c.drift=h;var e=q(f[bg](o,"symbolSize"));u.initProps(c,{scale:e},d,o),this._symbolType=m,this.add(c)},l.stopSymbolAnimation=function(c){this.childAt(0).stopAnimation(c)},l.getScale=function(){return this.childAt(0).scale},l.highlight=function(){this.childAt(0)[bj](bi)},l.downplay=function(){this.childAt(0)[bj](a3)},l.setZ=function(d,f){var c=this.childAt(0);c[aO]=d,c.z=f},l.setDraggable=function(c){var d=this.childAt(0);d.draggable=c,d.cursor=c?"move":"pointer"},l.updateData=function(e,d){var p=e[bg](d,"symbol")||"circle",f=e.hostModel,c=q(e[bg](d,"symbolSize"));if(p!==this._symbolType){this._createSymbol(p,e,d)}else{var m=this.childAt(0);u[aE](m,{scale:c},f,d)}this._updateCommon(e,d,c),this._seriesModel=f};var b=["itemStyle",a3],y=["itemStyle",bi],j=["label",a3],w=["label",bi];return l._updateCommon=function(C,M,J){var U=this.childAt(0),H=C.hostModel,Q=C[aC](M),O=Q[bo](b),V=C[bg](M,"color");"image"!==U.type&&U.useStyle({strokeNoScale:!0});var R=U.style,x=Q[bo](y).getItemStyle();U.rotation=(Q[ai]("symbolRotate")||0)*Math.PI/180||0;var d=Q[ai]("symbolOffset");if(d){var c=U[aW];c[0]=s[am](d[0],J[0]),c[1]=s[am](d[1],J[1])}U.setColor(V),a[bs](R,O.getItemStyle(["color"]));var p=C[bg](M,aZ);null!=p&&(R[aZ]=p);for(var e,r,K=Q[bo](j),v=Q[bo](w),F=C[ao].slice();F[aD]&&(e=F.pop(),r=C.getDimensionInfo(e).type,r===ay||"time"===r);){}null!=e&&K.get("show")?(u.setText(R,K,V),R.text=a.retrieve(H.getFormattedLabel(M,a3),C.get(e,M))):R.text="",null!=e&&v[ai]("show")?(u.setText(x,v,V),x.text=a.retrieve(H.getFormattedLabel(M,bi),C.get(e,M))):x.text="";var G=q(C[bg](M,"symbolSize"));if(U.off(ab).off(bf).off(bi).off(a3),u.setHoverStyle(U,x),Q[ai]("hoverAnimation")){var A=function(){var f=G[1]/G[0];this.animateTo({scale:[Math.max(1.1*G[0],G[0]+3),Math.max(1.1*G[1],G[1]+3*f)]},400,"elasticOut")},m=function(){this.animateTo({scale:G},400,"elasticOut")};U.on(ab,A).on(bf,m).on(bi,A).on(a3,m)}},l.fadeOut=function(c){var d=this.childAt(0);d.off(ab).off(bf).off(bi).off(a3),d.style.text="",u[aE](d,{scale:[0,0]},this._seriesModel,this[a5],c)},a[aQ](k,u.Group),k}),aG("echarts/util/symbol",[a2,"./graphic","zrender/core/BoundingRect"],function(A){var v=A("./graphic"),j=A("zrender/core/BoundingRect"),b=v.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(d,h){var p=h.cx,f=h.cy,c=h.width/2,l=h[bq]/2;d[aB](p,f-l),d.lineTo(p+c,f+l),d.lineTo(p-c,f+l),d.closePath()}}),y=v.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(d,h){var p=h.cx,f=h.cy,c=h.width/2,l=h[bq]/2;d[aB](p,f-l),d.lineTo(p+c,f),d.lineTo(p,f+l),d.lineTo(p-c,f),d.closePath()}}),i=v.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(P,K){var H=K.x,F=K.y,C=K.width/5*3,N=Math.max(C,K[bq]),E=C/2,Q=E*E/(N-E),G=F-N+E+Q,M=Math.asin(Q/E),O=Math.cos(M)*E,I=Math.sin(M),L=Math.cos(M);P.arc(H,G,E,Math.PI-M,2*Math.PI+M);var J=0.6*E,D=0.7*E;P.bezierCurveTo(H+O-I*J,G+Q+L*J,H,F-D,H,F),P.bezierCurveTo(H,F-D,H-O+I*J,G+Q+L*J,H-O,G+Q),P.closePath()}}),B=v.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(d,l){var u=l[bq],h=l.width,c=l.x,p=l.y,f=h/3*2;d[aB](c,p),d.lineTo(c+f,p+u),d.lineTo(c,p+u/4*3),d.lineTo(c-f,p+u),d.lineTo(c,p),d.closePath()}}),k={line:v.Line,rect:v.Rect,roundRect:v.Rect,square:v.Rect,circle:v.Circle,diamond:y,pin:i,arrow:B,triangle:b},x={line:function(c,f,a,h,d){d.x1=c,d.y1=f+h/2,d.x2=c+a,d.y2=f+h/2},rect:function(c,f,a,h,d){d.x=c,d.y=f,d.width=a,d[bq]=h},roundRect:function(c,f,a,h,d){d.x=c,d.y=f,d.width=a,d[bq]=h,d.r=Math.min(a,h)/4},square:function(f,l,d,o,h){var c=Math.min(d,o);h.x=f,h.y=l,h.width=c,h[bq]=c},circle:function(c,f,a,h,d){d.cx=c+a/2,d.cy=f+h/2,d.r=Math.min(a,h)/2},diamond:function(c,f,a,h,d){d.cx=c+a/2,d.cy=f+h/2,d.width=a,d[bq]=h},pin:function(c,f,a,h,d){d.x=c+a/2,d.y=f+h/2,d.width=a,d[bq]=h},arrow:function(c,f,a,h,d){d.x=c+a/2,d.y=f+h/2,d.width=a,d[bq]=h},triangle:function(c,f,a,h,d){d.cx=c+a/2,d.cy=f+h/2,d.width=a,d[bq]=h}},z={};for(var m in k){z[m]=new k[m]}var w=v.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},beforeBrush:function(){var a=this.style,c=this.shape;"pin"===c.symbolType&&a.textPosition===aw&&(a.textPosition=["50%","40%"],a[bb]=bh,a.textVerticalAlign=bc)},buildPath:function(c,d){var a=d.symbolType,f=z[a];"none"!==d.symbolType&&(f||(a="rect",f=z[a]),x[a](d.x,d.y,d.width,d[bq],f.shape),f.buildPath(c,f.shape))}}),q=function(c){if("image"!==this.type){var d=this.style,a=this.shape;a&&"line"===a.symbolType?d[aj]=c:this.__isEmptyBrush?(d[aj]=c,d.fill="#fff"):(d.fill&&(d.fill=c),d[aj]&&(d[aj]=c)),this.dirty()}},g={createSymbol:function(h,f,p,e,u,n){var d=0===h[aP]("empty");d&&(h=h.substr(5,1)[ac]()+h.substr(6));var C;return C=0===h[aP]("image://")?new v.Image({style:{image:h.slice(8),x:f,y:p,width:e,height:u}}):0===h[aP]("path://")?v.makePath(h.slice(7),{},new j(f,p,e,u)):new w({shape:{symbolType:h,x:f,y:p,width:e,height:u}}),C.__isEmptyBrush=d,C.setColor=q,C.setColor(n),C}};return g}),aG("echarts/component/axis/RadiusAxisView",[a2,br,aL,"./AxisBuilder",ap],function(c){function f(k,l,j){return{position:[k.cx,k.cy],rotation:j/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotation:l[bo]("axisLabel").get("rotate"),z2:1}}var b=c(br),h=c(aL),g=c("./AxisBuilder"),d=["axisLine","axisLabel","axisTick","axisName"],a=["splitLine","splitArea"];c(ap).extendComponentView({type:"radiusAxis",render:function(w,j){if(this.group[ar](),w.get("show")){var e=j[aY]("polar",w.get("polarIndex")),s=e[a9].getAngleAxis(),q=w.axis,v=e[a9],k=q.getTicksCoords(),o=s[az]()[0],m=q[az](),i=f(v,w,o),l=new g(w,i);b.each(d,l.add,l),this.group.add(l.getGroup()),b.each(a,function(n){w.get(n+".show")&&this["_"+n](w,v,o,m,k)},this)}},_splitLine:function(y,p,i,w,j){var z=y[bo]("splitLine"),k=z[bo]("lineStyle"),v=k.get("color"),x=0;v=v instanceof Array?v:[v];for(var m=[],q=0;q<j[aD];q++){var n=x++%v[aD];m[n]=m[n]||[],m[n].push(new h.Circle({shape:{cx:p.cx,cy:p.cy,r:j[q]},silent:!0}))}for(var q=0;q<m[aD];q++){this.group.add(h.mergePath(m[q],{style:b[bm]({stroke:v[q%v[aD]],fill:null},k.getLineStyle()),silent:!0}))}},_splitArea:function(A,v,i,y,k){var B=A[bo]("splitArea"),m=B[bo]("areaStyle"),x=m.get("color"),z=0;x=x instanceof Array?x:[x];for(var n=[],w=k[0],q=1;q<k[aD];q++){var j=z++%x[aD];n[j]=n[j]||[],n[j].push(new h[ak]({shape:{cx:v.cx,cy:v.cy,r0:w,r:k[q],startAngle:0,endAngle:2*Math.PI},silent:!0})),w=k[q]}for(var q=0;q<n[aD];q++){this.group.add(h.mergePath(n[q],{style:b[bm]({fill:x[q%x[aD]]},m.getAreaStyle()),silent:!0}))}}})}),aG("echarts/chart/pie/labelLayout",[a2,"zrender/contain/text"],function(b){function c(F,A,w,q,j,D,m){function G(h,f,l){for(var g=h;f>g;g++){if(F[g].y+=l,g>h&&f>g+1&&F[g+1].y>F[g].y+F[g][bq]){return void v(g,l/2)}}v(f-1,l/2)}function v(g,f){for(var h=g;h>=0&&(F[h].y-=f,!(h>0&&F[h].y>F[h-1].y+F[h-1][bq]));h--){}}function C(P,K,I,p,f,N){for(var g=N>0?K?Number.MAX_VALUE:0:K?Number.MAX_VALUE:0,Q=0,H=P[aD];H>Q;Q++){if(P[Q][aW]!==bh){var M=Math.abs(P[Q].y-p),O=P[Q].len,J=P[Q].len2,L=f+O>M?Math.sqrt((f+O+J)*(f+O+J)-M*M):Math.abs(P[Q].x-I);K&&L>=g&&(L=g-10),!K&&g>=L&&(L=g+10),P[Q].x=I+L*N,g=L}}}F.sort(function(f,g){return f.y-g.y});for(var E,x=0,B=F[aD],z=[],k=[],y=0;B>y;y++){E=F[y].y-x,0>E&&G(y,B,-E,j),x=F[y].y+F[y][bq]}0>m-x&&v(B-1,x-m);for(var y=0;B>y;y++){F[y].y>=w?k.push(F[y]):z.push(F[y])}C(z,!1,A,w,q,j),C(k,!0,A,w,q,j)}function a(w,k,g,e,q,f){for(var x=[],j=[],p=0;p<w[aD];p++){w[p].x<k?x.push(w[p]):j.push(w[p])}c(j,k,g,e,1,q,f),c(x,k,g,e,-1,q,f);for(var p=0;p<w[aD];p++){var v=w[p].linePoints;if(v){var m=v[1][0]-v[2][0];v[2][0]=w[p].x<k?w[p].x+3:w[p].x-3,v[1][1]=v[2][1]=w[p].y,v[1][0]=v[2][0]+m}}}var d=b("zrender/contain/text");return function(n,i,f,k){var g,p,h=n[ax](),j=[],m=!1;h.each(function(X){var T,bx,ae,Z,V=h.getItemLayout(X),Y=h[aC](X),K=Y[bo]("label.normal"),t=K.get(aW)||Y.get("label.emphasis.position"),B=Y[bo]("labelLine.normal"),by=B.get(aD),be=B.get("length2"),J=(V.startAngle+V.endAngle)/2,e=Math.cos(J),U=Math.sin(J);g=V.cx,p=V.cy;var R=t===aw||"inner"===t;if(t===bh){T=V.cx,bx=V.cy,Z=bh}else{var q=(R?(V.r+V.r0)/2*e:V.r*e)+g,l=(R?(V.r+V.r0)/2*U:V.r*U)+p;if(T=q+3*e,bx=l+3*U,!R){var s=q+e*(by+i-V.r),W=l+U*(by+i-V.r),u=s+(0>e?-1:1)*be,Q=W;T=u+(0>e?-5:5),bx=Q,ae=[[q,l],[s,W],[u,Q]]}Z=R?bh:e>0?"left":"right"}var o=K[bo](ba)[aR](),N=K.get("rotate")?0>e?-J+Math.PI:-J:0,M=n.getFormattedLabel(X,a3)||h[aT](X),G=d[a1](M,o,Z,"top");m=!!N,V.label={x:T,y:bx,position:t,height:G[bq],len:by,len2:be,linePoints:ae,textAlign:Z,verticalAlign:"middle",font:o,rotation:N},R||j.push(V.label)}),!m&&n.get("avoidLabelOverlap")&&a(j,g,p,i,f,k)}}),aG("zrender",["zrender/zrender"],function(a){return a}),aG("echarts",["echarts/echarts"],function(a){return a});var bp=an("echarts");return bp.graphic=an("echarts/util/graphic"),bp.number=an("echarts/util/number"),bp.format=an("echarts/util/format"),an("echarts/chart/bar"),an("echarts/chart/line"),an("echarts/chart/pie"),an("echarts/component/grid"),an("echarts/component/polar"),an("echarts/component/title"),an("echarts/component/legend"),an("echarts/component/tooltip"),an("zrender/vml/vml"),bp});