text: !function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():t.echarts=e()}(this,function(){var t,e;!function(){function i(t,e){if(!e)return t;if(0===t.indexOf(".")){var i=e.split("/"),n=t.split("/"),r=i.length-1,a=n.length,o=0,s=0;t:for(var l=0;a>l;l++)switch(n[l]){case"..":if(!(r>o))break t;o++,s++;break;case".":s++;break;default:break t}return i.length=r-o,n=n.slice(s),i.concat(n).join("/")}return t}function n(t){function e(e,o){if("string"==typeof e){var s=n[e];return s||(s=a(i(e,t)),n[e]=s),s}e instanceof Array&&(o=o||function(){},o.apply(this,r(e,o,t)))}var n={};return e}function r(e,n,r){for(var s=[],l=o[r],c=0,u=Math.min(e.length,n.length);u>c;c++){var h,d=i(e[c],r);switch(d){case"require":h=l&&l.require||t;break;case"exports":h=l.exports;break;case"module":h=l;break;default:h=a(d)}s.push(h)}return s}function a(t){var e=o[t];if(!e)throw new Error("No "+t);if(!e.defined){var i=e.factory,n=i.apply(this,r(e.deps||[],i,t));"undefined"!=typeof n&&(e.exports=n),e.defined=1}return e.exports}var o={};e=function(t,e,i){o[t]={id:t,deps:e,factory:i,defined:0,exports:{},require:n(t)}},t=n("")}();var i="../core/util",n="__dirty",r="buildPath",a="beginPath",o="rotate",s="createSymbol",l="vertical",c="orient",u="../../util/symbol",h="mergeDefaultAndTheme",d="getLocalTransform",f="distance",p="lineWidth",v="closePath",m="lineTo",g="bezierCurveTo",y="moveTo",x="middle",_="formatter",w="zrender/core/vector",b="draggable",M="categories",S="getShallow",C="undefined",A="Circle",T="enable",L="getLayout",k="parent",D="ecModel",z="zrender/core/matrix",P="zrender/core/BoundingRect",I="reverse",V="parentNode",R="applyTransform",O="axisTick",E="interval",B="axisLine",N="axisLabel",G="polarIndex",Z="horizontal",F="stroke",H="borderColor",W="../../util/format",q="linearMap",U="../../util/number",X="getRawIndex",j="clockwise",Y="eachChild",$="rotation",K="textBaseline",J="selected",Q="childAt",te="inside",ee="startAngle",ie="defaultEmphasis",ne="toFixed",re="initData",ae="mergeOption",oe="$superApply",se="../../util/model",le="../../data/List",ce="setItemVisual",ue="symbolSize",he="symbol",de="points",fe="Polygon",pe="getVisual",ve="getLineStyle",me="setShape",ge="lineStyle.normal",ye="endAngle",xe="Sector",_e="indexOfName",we="mapArray",be="radius",Me="dataToCoord",Se="getOtherAxis",Ce="parsePercent",Ae="setHoverStyle",Te="emphasis",Le="getRawValue",ke="getFormattedLabel",De="label.emphasis",ze="getItemVisual",Pe="label.normal",Ie="eachItemGraphicEl",Ve="getItemGraphicEl",Re="setItemGraphicEl",Oe="execute",Ee="initProps",Be="updateProps",Ne="getItemModel",Ge="getItemLayout",Ze="normal",Fe="animation",He="getBaseAxis",We="../../model/Model",qe="../../util/graphic",Ue="ordinal",Xe="getDataExtent",je="category",Ye="getAxis",$e="inverse",Ke="getFormattedLabels",Je="getComponent",Qe="../../util/layout",ti="concat",ei="getContext",ii="createElement",ni="../../model/Component",ri="updateData",ai="layout",oi="itemStyle.normal",si="../../echarts",li="../../model/Series",ci="getName",ui="findComponents",hi="setItemLayout",di="dataToPoint",fi="dimensions",pi="getExtent",vi="setExtent",mi="getLabel",gi="getTicks",yi="create",xi="normalize",_i="contain",wi="../util/number",bi="opacity",Mi="setStyle",Si="position",Ci="center",Ai="getLayoutRect",Ti="getBoxLayoutParams",Li="getBoundingRect",ki="getTextColor",Di="getFont",zi="textAlign",Pi="textStyle",Ii="isString",Vi="inherits",Ri="number",Oi="itemStyle",Ei="extendComponentModel",Bi="extendChartView",Ni="register",Gi="function",Zi="indexOf",Fi="isArray",Hi="replace",Wi="traverse",qi="zlevel",Ui="getDataParams",Xi="seriesIndex",ji="hostModel",Yi="dataIndex",$i="target",Ki="mouseout",Ji="mouseover",Qi="render",tn="splice",en="dispose",nn="series",rn="eachSeries",an="trigger",on="length",sn="dispatchAction",ln="extend",cn="remove",un="isObject",hn="updateLayout",dn="update",fn="height",pn="bottom",vn="ignore",mn="eachComponent",gn="getHeight",yn="getWidth",xn="option",_n="getModel",wn="resize",bn="string",Mn="canvas",Sn="prototype",Cn="toLowerCase",An="transform",Tn="registerAction",Ln="getItemStyle",kn="backgroundColor",Dn="defaults",zn="coordinateSystem",Pn="getRect",In="removeAll",Vn="extendComponentView",Rn="lineStyle",On="filter",En="setVisual",Bn="getData",Nn="eachSeriesByType",Gn="zrender/core/util",Zn="require";e("echarts/chart/bar",[Zn,Gn,"../coord/cartesian/Grid","./bar/BarSeries","./bar/BarView","../layout/barGrid","../echarts"],function(t){var e=t(Gn);t("../coord/cartesian/Grid"),t("./bar/BarSeries"),t("./bar/BarView");var i=t("../layout/barGrid"),n=t("../echarts");n.registerLayout(e.curry(i,"bar")),n.registerVisualCoding("chart",function(t){t[Nn]("bar",function(t){var e=t[Bn]();e[En]("legendSymbol","roundRect")})})}),e("echarts/chart/line",[Zn,Gn,"../echarts","./line/LineSeries","./line/LineView","../visual/symbol","../layout/points"],function(t){var e=t(Gn),i=t("../echarts");t("./line/LineSeries"),t("./line/LineView"),i.registerVisualCoding("chart",e.curry(t("../visual/symbol"),"line","circle","line")),i.registerLayout(e.curry(t("../layout/points"),"line"))}),e("echarts/chart/pie",[Zn,Gn,"../echarts","./pie/PieSeries","./pie/PieView","../action/createDataSelectAction","../visual/dataColor","./pie/pieLayout","../processor/dataFilter"],function(t){var e=t(Gn),i=t("../echarts");t("./pie/PieSeries"),t("./pie/PieView"),t("../action/createDataSelectAction")("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),i.registerVisualCoding("chart",e.curry(t("../visual/dataColor"),"pie")),i.registerLayout(e.curry(t("./pie/pieLayout"),"pie")),i.registerProcessor(On,e.curry(t("../processor/dataFilter"),"pie"))}),e("echarts/chart/scatter",[Zn,Gn,"../echarts","./scatter/ScatterSeries","./scatter/ScatterView","../visual/symbol","../layout/points"],function(t){var e=t(Gn),i=t("../echarts");t("./scatter/ScatterSeries"),t("./scatter/ScatterView"),i.registerVisualCoding("chart",e.curry(t("../visual/symbol"),"scatter","circle",null)),i.registerLayout(e.curry(t("../layout/points"),"scatter"))}),e("echarts/chart/candlestick",[Zn,"../echarts","./candlestick/CandlestickSeries","./candlestick/CandlestickView","./candlestick/preprocessor","./candlestick/candlestickVisual","./candlestick/candlestickLayout"],function(t){var e=t("../echarts");t("./candlestick/CandlestickSeries"),t("./candlestick/CandlestickView"),e.registerPreprocessor(t("./candlestick/preprocessor")),e.registerVisualCoding("chart",t("./candlestick/candlestickVisual")),e.registerLayout(t("./candlestick/candlestickLayout"))}),e("echarts/chart/radar",[Zn,Gn,"../echarts","./radar/RadarSeries","./radar/RadarView","../visual/symbol","../layout/points","./radar/backwardCompat"],function(t){var e=t(Gn),i=t("../echarts");t("./radar/RadarSeries"),t("./radar/RadarView"),i.registerVisualCoding("chart",e.curry(t("../visual/symbol"),"radar","circle",null)),i.registerLayout(e.curry(t("../layout/points"),"radar")),i.registerPreprocessor(t("./radar/backwardCompat"))}),e("echarts/chart/heatmap",[Zn,"./heatmap/HeatmapSeries","./heatmap/HeatmapView"],function(t){t("./heatmap/HeatmapSeries"),t("./heatmap/HeatmapView")}),e("echarts/chart/treemap",[Zn,"../echarts","./treemap/TreemapSeries","./treemap/TreemapView","./treemap/treemapAction","./treemap/treemapVisual","./treemap/treemapLayout"],function(t){var e=t("../echarts");t("./treemap/TreemapSeries"),t("./treemap/TreemapView"),t("./treemap/treemapAction"),e.registerVisualCoding("chart",t("./treemap/treemapVisual")),e.registerLayout(t("./treemap/treemapLayout"))}),e("echarts/chart/map",[Zn,"../echarts","./map/MapSeries","./map/MapView","../action/geoRoam","../coord/geo/geoCreator","./map/mapSymbolLayout","./map/mapVisual","./map/mapDataStatistic","./map/backwardCompat","../action/createDataSelectAction"],function(t){var e=t("../echarts");t("./map/MapSeries"),t("./map/MapView"),t("../action/geoRoam"),t("../coord/geo/geoCreator"),e.registerLayout(t("./map/mapSymbolLayout")),e.registerVisualCoding("chart",t("./map/mapVisual")),e.registerProcessor("statistic",t("./map/mapDataStatistic")),e.registerPreprocessor(t("./map/backwardCompat")),t("../action/createDataSelectAction")("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])}),e("echarts/chart/lines",[Zn,"./lines/LinesSeries","./lines/LinesView",Gn,"../echarts","./lines/linesLayout","../visual/seriesColor"],function(t){t("./lines/LinesSeries"),t("./lines/LinesView");var e=t(Gn),i=t("../echarts");i.registerLayout(t("./lines/linesLayout")),i.registerVisualCoding("chart",e.curry(t("../visual/seriesColor"),"lines",Rn))}),e("echarts/chart/graph",[Zn,"../echarts",Gn,"./graph/GraphSeries","./graph/GraphView","./graph/roamAction","./graph/categoryFilter","../visual/symbol","./graph/categoryVisual","./graph/simpleLayout","./graph/circularLayout","./graph/forceLayout","./graph/createView"],function(t){var e=t("../echarts"),i=t(Gn);t("./graph/GraphSeries"),t("./graph/GraphView"),t("./graph/roamAction"),e.registerProcessor(On,t("./graph/categoryFilter")),e.registerVisualCoding("chart",i.curry(t("../visual/symbol"),"graph","circle",null)),e.registerVisualCoding("chart",t("./graph/categoryVisual")),e.registerLayout(t("./graph/simpleLayout")),e.registerLayout(t("./graph/circularLayout")),e.registerLayout(t("./graph/forceLayout")),e.registerCoordinateSystem("graphView",{create:t("./graph/createView")})}),e("echarts/chart/boxplot",[Zn,"../echarts","./boxplot/BoxplotSeries","./boxplot/BoxplotView","./boxplot/boxplotVisual","./boxplot/boxplotLayout"],function(t){var e=t("../echarts");t("./boxplot/BoxplotSeries"),t("./boxplot/BoxplotView"),e.registerVisualCoding("chart",t("./boxplot/boxplotVisual")),e.registerLayout(t("./boxplot/boxplotLayout"))}),e("echarts/chart/parallel",[Zn,"../echarts","../component/parallel","./parallel/ParallelSeries","./parallel/ParallelView","./parallel/parallelVisual"],function(t){var e=t("../echarts");t("../component/parallel"),t("./parallel/ParallelSeries"),t("./parallel/ParallelView"),e.registerVisualCoding("chart",t("./parallel/parallelVisual"))}),e("echarts/chart/gauge",[Zn,"./gauge/GaugeSeries","./gauge/GaugeView"],function(t){t("./gauge/GaugeSeries"),t("./gauge/GaugeView")}),e("echarts/chart/funnel",[Zn,Gn,"../echarts","./funnel/FunnelSeries","./funnel/FunnelView","../visual/dataColor","./funnel/funnelLayout","../processor/dataFilter"],function(t){var e=t(Gn),i=t("../echarts");t("./funnel/FunnelSeries"),t("./funnel/FunnelView"),i.registerVisualCoding("chart",e.curry(t("../visual/dataColor"),"funnel")),i.registerLayout(t("./funnel/funnelLayout")),i.registerProcessor(On,e.curry(t("../processor/dataFilter"),"funnel"))}),e("echarts/chart/sankey",[Zn,"../echarts","./sankey/SankeySeries","./sankey/SankeyView","./sankey/sankeyLayout","./sankey/sankeyVisual"],function(t){var e=t("../echarts");t("./sankey/SankeySeries"),t("./sankey/SankeyView"),e.registerLayout(t("./sankey/sankeyLayout")),e.registerVisualCoding("chart",t("./sankey/sankeyVisual"))}),e("echarts/chart/effectScatter",[Zn,Gn,"../echarts","./effectScatter/EffectScatterSeries","./effectScatter/EffectScatterView","../visual/symbol","../layout/points"],function(t){var e=t(Gn),i=t("../echarts");t("./effectScatter/EffectScatterSeries"),t("./effectScatter/EffectScatterView"),i.registerVisualCoding("chart",e.curry(t("../visual/symbol"),"effectScatter","circle",null)),i.registerLayout(e.curry(t("../layout/points"),"effectScatter"))}),e("echarts/component/grid",[Zn,"../util/graphic",Gn,"../coord/cartesian/Grid","./axis","../echarts"],function(t){var e=t("../util/graphic"),i=t(Gn);t("../coord/cartesian/Grid"),t("./axis"),t("../echarts")[Vn]({type:"grid",render:function(t){this.group[In](),t.get("show")&&this.group.add(new e.Rect({shape:t[zn][Pn](),style:i[Dn]({fill:t.get(kn)},t[Ln]()),silent:!0}))}})}),e("echarts/component/polar",[Zn,"../coord/polar/polarCreator","./angleAxis","./radiusAxis","../echarts"],function(t){t("../coord/polar/polarCreator"),t("./angleAxis"),t("./radiusAxis"),t("../echarts")[Vn]({type:"polar"})}),e("echarts/component/geo",[Zn,"../coord/geo/geoCreator","./geo/GeoView","../action/geoRoam"],function(t){t("../coord/geo/geoCreator"),t("./geo/GeoView"),t("../action/geoRoam")}),e("echarts/component/legend",[Zn,"./legend/LegendModel","./legend/legendAction","./legend/LegendView","../echarts","./legend/legendFilter"],function(t){t("./legend/LegendModel"),t("./legend/legendAction"),t("./legend/LegendView");var e=t("../echarts");e.registerProcessor(On,t("./legend/legendFilter"))}),e("echarts/component/tooltip",[Zn,"./tooltip/TooltipModel","./tooltip/TooltipView","../echarts"],function(t){t("./tooltip/TooltipModel"),t("./tooltip/TooltipView"),t("../echarts")[Tn]({type:"showTip",event:"showTip",update:"none"},function(){}),t("../echarts")[Tn]({type:"hideTip",event:"hideTip",update:"none"},function(){})}),e("echarts/component/markPoint",[Zn,"./marker/MarkPointModel","./marker/MarkPointView"],function(t){t("./marker/MarkPointModel"),t("./marker/MarkPointView")}),e("echarts/component/markLine",[Zn,"./marker/MarkLineModel","./marker/MarkLineView"],function(t){t("./marker/MarkLineModel"),t("./marker/MarkLineView")}),e("echarts/component/timeline",[Zn,"../echarts","./timeline/preprocessor","./timeline/typeDefaulter","./timeline/timelineAction","./timeline/SliderTimelineModel","./timeline/SliderTimelineView"],function(t){var e=t("../echarts");e.registerPreprocessor(t("./timeline/preprocessor")),t("./timeline/typeDefaulter"),t("./timeline/timelineAction"),t("./timeline/SliderTimelineModel"),t("./timeline/SliderTimelineView")}),e("echarts/component/dataZoom",[Zn,"./dataZoom/typeDefaulter","./dataZoom/DataZoomModel","./dataZoom/DataZoomView","./dataZoom/SliderZoomModel","./dataZoom/SliderZoomView","./dataZoom/InsideZoomModel","./dataZoom/InsideZoomView","./dataZoom/dataZoomProcessor","./dataZoom/dataZoomAction"],function(t){t("./dataZoom/typeDefaulter"),t("./dataZoom/DataZoomModel"),t("./dataZoom/DataZoomView"),t("./dataZoom/SliderZoomModel"),t("./dataZoom/SliderZoomView"),t("./dataZoom/InsideZoomModel"),t("./dataZoom/InsideZoomView"),t("./dataZoom/dataZoomProcessor"),t("./dataZoom/dataZoomAction")}),e("echarts/component/visualMap",[Zn,"./visualMapContinuous","./visualMapPiecewise"],function(t){t("./visualMapContinuous"),t("./visualMapPiecewise")}),e("echarts/component/toolbox",[Zn,"./toolbox/ToolboxModel","./toolbox/ToolboxView","./toolbox/feature/SaveAsImage","./toolbox/feature/MagicType","./toolbox/feature/DataView","./toolbox/feature/DataZoom","./toolbox/feature/Restore"],function(t){t("./toolbox/ToolboxModel"),t("./toolbox/ToolboxView"),t("./toolbox/feature/SaveAsImage"),t("./toolbox/feature/MagicType"),t("./toolbox/feature/DataView"),t("./toolbox/feature/DataZoom"),t("./toolbox/feature/Restore")}),e("zrender/vml/vml",[Zn,"./graphic","../zrender","./Painter"],function(t){t("./graphic"),t("../zrender").registerPainter("vml",t("./Painter"))}),e("echarts/echarts",[Zn,"./model/Global","./ExtensionAPI","./CoordinateSystem","./model/OptionManager","./model/Component","./model/Series","./view/Component","./view/Chart","./util/graphic","zrender",Gn,"zrender/tool/color","zrender/core/env","zrender/mixin/Eventful","./loading/default","./visual/seriesColor","./preprocessor/backwardCompat","./util/number","./util/format"],function(t){function e(t){return function(e,i,n){e=e&&e[Cn](),T[Sn][t].call(this,e,i,n)}}function i(){T.call(this)}function n(t,e,n){n=n||{},e&&L(N,function(t){t(e)}),this.id,this.group,this._dom=t,this._zr=M.init(t,{renderer:n.renderer||Mn,devicePixelRatio:n.devicePixelRatio}),typeof e===bn&&(e=Z[e]),this._theme=S.clone(e),this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._api=new v(this),this._coordinateSystem=new m,T.call(this),this._messageCenter=new i,this._initEvents(),this[wn]=S.bind(this[wn],this)}function r(t,e){var i=this._model;i&&i[mn]({mainType:"series",query:e},function(n){var r=this._chartsMap[n.__viewId];r&&r.__alive&&r[t](n,i,this._api,e)},this)}function a(t,e,i){var n=this._api;L(this._componentsViews,function(r){var a=r.__model;r[t](a,e,n,i),d(a,r)},this),e[rn](function(r){var a=this._chartsMap[r.__viewId];a[t](r,e,n,i),d(r,a)},this)}function o(t,e){for(var i="component"===t,n=i?this._componentsViews:this._chartsViews,r=i?this._componentsMap:this._chartsMap,a=this._zr,o=0;o<n[on];o++)n[o].__alive=!1;e[i?mn:rn](function(t,o){if(i){if(t===nn)return}else o=t;var s=o.id+"_"+o.type,l=r[s];if(!l){var c=y.parseClassType(o.type),u=i?_.getClass(c.main,c.sub):w.getClass(c.sub);if(!u)return;l=new u,l.init(e,this._api),r[s]=l,n.push(l),a.add(l.group)}o.__viewId=s,l.__alive=!0,l.__id=s,l.__model=o},this);for(var o=0;o<n[on];){var s=n[o];s.__alive?o++:(a[cn](s.group),s[en](e,this._api),n[tn](o,1),delete r[s.__id])}}function s(t){L(D,function(e){L(B[e]||[],function(e){e(t)})})}function l(t){var e={};t[rn](function(t){var i=t.get("stack"),n=t[Bn]();if(i&&"list"===n.type){var r=e[i];r&&(n.stackedOn=r),e[i]=n}})}function c(t,e){var i=this._api;L(E,function(n){n(t,i,e)})}function u(t,e){L(k,function(i){L(G[i]||[],function(i){i(t,e)})})}function h(t,e){var i=this._api;L(this._componentsViews,function(n){var r=n.__model;n[Qi](r,t,i,e),d(r,n)},this),L(this._chartsViews,function(t){t.__alive=!1},this),t[rn](function(n){var r=this._chartsMap[n.__viewId];r.__alive=!0,r[Qi](n,t,i,e),d(n,r)},this),L(this._chartsViews,function(e){e.__alive||e[cn](t,i)},this)}function d(t,e){var i=t.get("z"),n=t.get(qi);e.group[Wi](function(t){null!=i&&(t.z=i),null!=n&&(t[qi]=n)})}function f(t){function e(t,e){for(var i=0;i<t[on];i++){var n=t[i];n[a]=e}}var i=0,n=1,r=2,a="__connectUpdateStatus";S.each(O,function(o,s){t._messageCenter.on(s,function(o){if(H[t.group]&&t[a]!==i){var s=t.makeActionFromEvent(o),l=[];for(var c in F){var u=F[c];u!==t&&u.group===t.group&&l.push(u)}e(l,i),L(l,function(t){t[a]!==n&&t[sn](s)}),e(l,r)}})})}var p=t("./model/Global"),v=t("./ExtensionAPI"),m=t("./CoordinateSystem"),g=t("./model/OptionManager"),y=t("./model/Component"),x=t("./model/Series"),_=t("./view/Component"),w=t("./view/Chart"),b=t("./util/graphic"),M=t("zrender"),S=t(Gn),C=t("zrender/tool/color"),A=t("zrender/core/env"),T=t("zrender/mixin/Eventful"),L=S.each,k=["echarts","chart","component"],D=[An,On,"statistic"];i[Sn].on=e("on"),i[Sn].off=e("off"),i[Sn].one=e("one"),S.mixin(i,T);var z=n[Sn];z.getDom=function(){return this._dom},z.getZr=function(){return this._zr},z.setOption=function(t,e,i){(!this._model||e)&&(this._model=new p(null,null,this._theme,new g(this._api))),this._model.setOption(t,N),P.prepareAndUpdate.call(this),!i&&this._zr.refreshImmediately()},z.setTheme=function(){console.log("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},z[_n]=function(){return this._model},z.getOption=function(){return S.clone(this._model[xn])},z[yn]=function(){return this._zr[yn]()},z[gn]=function(){return this._zr[gn]()},z.getRenderedCanvas=function(t){if(A.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t[kn]=t[kn]||this._model.get(kn);var e=this._zr,i=e.storage.getDisplayList();return S.each(i,function(t){t.stopAnimation(!0)}),e.painter.getRenderedCanvas(t)}},z.getDataURL=function(t){t=t||{};var e=t.excludeComponents,i=this._model,n=[],r=this;L(e,function(t){i[mn]({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group[vn]||(n.push(e),e.group[vn]=!0)})});var a=this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return L(n,function(t){t.group[vn]=!1}),a},z.getConnectedDataURL=function(t){if(A.canvasSupported){var e=this.group,i=Math.min,n=Math.max,r=1/0;if(H[e]){var a=r,o=r,s=-r,l=-r,c=[],u=t&&t.pixelRatio||1;for(var h in F){var d=F[h];if(d.group===e){var f=d.getRenderedCanvas(S.clone(t)),p=d.getDom().getBoundingClientRect();a=i(p.left,a),o=i(p.top,o),s=n(p.right,s),l=n(p[pn],l),c.push({dom:f,left:p.left,top:p.top})}}a*=u,o*=u,s*=u,l*=u;var v=s-a,m=l-o,g=S.createCanvas();g.width=v,g[fn]=m;var y=M.init(g);return L(c,function(t){var e=new b.Image({style:{x:t.left*u-a,y:t.top*u-o,image:t.dom}});y.add(e)}),y.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}};var P={update:function(t){var e=this._model;if(e){e.restoreData(),s.call(this,e),l.call(this,e),this._coordinateSystem[dn](e,this._api),c.call(this,e,t),u.call(this,e,t),h.call(this,e,t);var i=e.get(kn)||"transparent",n=this._zr.painter;if(n.isSingleCanvas&&n.isSingleCanvas())this._zr.configLayer(0,{clearColor:i});else{if(!A.canvasSupported){var r=C.parse(i);i=C.stringify(r,"rgb"),0===r[3]&&(i="transparent")}i=i,this._dom.style[kn]=i}}},updateView:function(t){var e=this._model;e&&(c.call(this,e,t),u.call(this,e,t),a.call(this,"updateView",e,t))},updateVisual:function(t){var e=this._model;e&&(u.call(this,e,t),a.call(this,"updateVisual",e,t))},updateLayout:function(t){var e=this._model;e&&(c.call(this,e,t),a.call(this,hn,e,t))},highlight:function(t){r.call(this,"highlight",t)},downplay:function(t){r.call(this,"downplay",t)},prepareAndUpdate:function(t){var e=this._model;o.call(this,"component",e),o.call(this,"chart",e),P[dn].call(this,t)}};z[wn]=function(){this._zr[wn]();var t=this._model&&this._model.resetOption("media");P[t?"prepareAndUpdate":dn].call(this),this._loadingFX&&this._loadingFX[wn]()};var I=t("./loading/default");z.showLoading=function(t,e){S[un](t)&&(e=t,t="default");var i=I(this._api,e),n=this._zr;this._loadingFX=i,n.add(i)},z.hideLoading=function(){this._loadingFX&&this._zr[cn](this._loadingFX),this._loadingFX=null},z.makeActionFromEvent=function(t){var e=S[ln]({},t);return e.type=O[t.type],e},z[sn]=function(t,e){var i=R[t.type];if(i){var n=i.actionInfo,r=n[dn]||dn,a=[t],o=!1;t.batch&&(o=!0,a=S.map(t.batch,function(e){return e=S[Dn](S[ln]({},e),t),e.batch=null,e}));for(var s,l=[],c="highlight"===t.type||"downplay"===t.type,u=0;u<a[on];u++){var h=a[u];s=i.action(h,this._model),s=s||S[ln]({},h),s.type=n.event||s.type,l.push(s),c&&P[r].call(this,h)}"none"!==r&&!c&&P[r].call(this,t),e||(s=o?{type:l[0].type,batch:l}:l[0],this._messageCenter[an](s.type,s))}},z.on=e("on"),z.off=e("off"),z.one=e("one");var V=["click","dblclick",Ji,Ki,"globalout"];z._initEvents=function(){var t=this._zr;L(V,function(e){t.on(e,function(t){var i=this[_n](),n=t[$i];if(n&&null!=n[Yi]){var r=n[ji]||i.getSeriesByIndex(n[Xi]),a=r&&r[Ui](n[Yi])||{};a.event=t,a.type=e,this[an](e,a)}},this)},this),L(O,function(t,e){this._messageCenter.on(e,function(t){this[an](e,t)},this)},this)},z.isDisposed=function(){return this._disposed},z.clear=function(){this.setOption({},!0)},z[en]=function(){this._disposed=!0;var t=this._api,e=this._model;L(this._componentsViews,function(i){i[en](e,t)}),L(this._chartsViews,function(i){i[en](e,t)}),this._zr[en](),F[this.id]=null},S.mixin(n,T);var R=[],O={},E=[],B={},N=[],G={},Z={},F={},H={},W=new Date-0,q=new Date-0,U="_echarts_instance_",X={version:"3.0.2",dependencies:{zrender:"3.0.1"}};return X.init=function(t,e,i){if(M.version[Hi](".","")-0<X.dependencies.zrender[Hi](".","")-0)throw new Error("ZRender "+M.version+" is too old for ECharts "+X.version+". Current version need ZRender "+X.dependencies.zrender+"+");if(!t)throw new Error("Initialize failed: invalid dom.");var r=new n(t,e,i);return r.id="ec_"+W++,F[r.id]=r,t.setAttribute&&t.setAttribute(U,r.id),f(r),r},X.connect=function(t){if(S[Fi](t)){var e=t;t=null,S.each(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+q++,S.each(e,function(e){e.group=t})}return H[t]=!0,t},X.disConnect=function(t){H[t]=!1},X[en]=function(t){S.isDom(t)?t=X.getInstanceByDom(t):typeof t===bn&&(t=F[t]),t instanceof n&&!t.isDisposed()&&t[en]()},X.getInstanceByDom=function(t){var e=t.getAttribute(U);return F[e]},X.getInstanceById=function(t){return F[t]},X.registerTheme=function(t,e){Z[t]=e},X.registerPreprocessor=function(t){N.push(t)},X.registerProcessor=function(t,e){if(S[Zi](D,t)<0)throw new Error("stage should be one of "+D);var i=B[t]||(B[t]=[]);i.push(e)},X[Tn]=function(t,e,i){typeof e===Gi&&(i=e,e="");var n=S[un](t)?t.type:[t,t={event:e}][0];t.event=(t.event||n)[Cn](),e=t.event,R[n]||(R[n]={action:i,actionInfo:t}),O[e]=n},X.registerCoordinateSystem=function(t,e){m[Ni](t,e)},X.registerLayout=function(t){S[Zi](E,t)<0&&E.push(t)},X.registerVisualCoding=function(t,e){if(S[Zi](k,t)<0)throw new Error("stage should be one of "+k);var i=G[t]||(G[t]=[]);i.push(e)},X[Bi]=function(t){return w[ln](t)},X[Ei]=function(t){return y[ln](t)},X.extendSeriesModel=function(t){return x[ln](t)},X[Vn]=function(t){return _[ln](t)},X.setCanvasCreator=function(t){S.createCanvas=t},X.registerVisualCoding("echarts",S.curry(t("./visual/seriesColor"),"",Oi)),X.registerPreprocessor(t("./preprocessor/backwardCompat")),X[Tn]({type:"highlight",event:"highlight",update:"highlight"},S.noop),X[Tn]({type:"downplay",event:"downplay",update:"downplay"},S.noop),X.graphic=t("./util/graphic"),X[Ri]=t("./util/number"),X.format=t("./util/format"),X.util={},L(["map","each",On,Zi,Vi,"reduce",On,"bind","curry",Fi,Ii,un,"isFunction",ln],function(t){X.util[t]=S[t]}),X}),e("echarts/component/title",[Zn,"../echarts","../util/graphic","../util/layout"],function(t){var e=t("../echarts"),i=t("../util/graphic"),n=t("../util/layout");e[Ei]({type:"title",defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:"left",top:"top",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),e[Vn]({type:"title",render:function(t,e,r){if(this.group[In](),t.get("show")){var a=this.group,o=t[_n](Pi),s=t[_n]("subtextStyle"),l=t.get(zi),c=new i.Text({style:{text:t.get("text"),textFont:o[Di](),fill:o[ki](),textBaseline:"top"},z2:10}),u=c[Li](),h=t.get("subtext"),d=new i.Text({style:{text:h,textFont:s[Di](),fill:s[ki](),y:u[fn]+t.get("itemGap"),textBaseline:"top"},z2:10}),f=t.get("link"),p=t.get("sublink");c.silent=!f,d.silent=!p,f&&c.on("click",function(){window.open(f,t.get($i))}),p&&d.on("click",function(){window.open(p,t.get("subtarget"))}),a.add(c),h&&a.add(d);var v=a[Li](),m=t[Ti]();m.width=v.width,m[fn]=v[fn];var g=n[Ai](m,{width:r[yn](),height:r[gn]()},t.get("padding"));if(!l){var y=g.x/r[yn](),x=(g.x+g.width)/r[yn]();.2>y?l="left":x>.8?(g.x+=g.width,l="right"):(g.x+=g.width/2,l=Ci)}a[Si]=[g.x,g.y],c[Mi](zi,l),d[Mi](zi,l),v=a[Li]();var _=g.margin,w=t[Ln](["color",bi]);w.fill=t.get(kn);var b=new i.Rect({shape:{x:v.x-_[3],y:v.y-_[0],width:v.width+_[1]+_[3],height:v[fn]+_[0]+_[2]},style:w,silent:!0});i.subPixelOptimizeRect(b),a.add(b)}}})}),e("echarts/scale/Time",[Zn,Gn,wi,"../util/format","./Interval"],function(t){var e=t(Gn),i=t(wi),n=t("../util/format"),r=t("./Interval"),a=r[Sn],o=Math.ceil,s=Math.floor,l=864e5,c=function(t,e,i,n){for(;n>i;){var r=i+n>>>1;t[r][2]<e?i=r+1:n=r}return i},u=r[ln]({type:"time",getLabel:function(t){var e=this._stepLvl,i=new Date(t);return n.formatTime(e[0],i)},niceExtent:function(t,e,n){var r=this._extent;if(r[0]===r[1]&&(r[0]-=l,r[1]+=l),r[1]===-1/0&&1/0===r[0]){var a=new Date;r[1]=new Date(a.getFullYear(),a.getMonth(),a.getDate()),r[0]=r[1]-l}this.niceTicks(t,e,n);var c=this._interval;e||(r[0]=i.round(s(r[0]/c)*c)),n||(r[1]=i.round(o(r[1]/c)*c))},niceTicks:function(t){t=t||10;var e=this._extent,i=e[1]-e[0],n=i/t,r=h[on],a=c(h,n,0,r),l=h[Math.min(a,r-1)],u=l[2],d=[o(e[0]/u)*u,s(e[1]/u)*u];this._stepLvl=l,this._interval=u,this._niceExtent=d}});e.each([_i,xi],function(t){u[Sn][t]=function(e){return e=+i.parseDate(e),a[t].call(this,e)}});var h=[["hh:mm:ss",1,1e3],["hh:mm:ss",5,5e3],["hh:mm:ss",10,1e4],["hh:mm:ss",15,15e3],["hh:mm:ss",30,3e4],["hh:mm\nMM-dd",1,6e4],["hh:mm\nMM-dd",5,3e5],["hh:mm\nMM-dd",10,6e5],["hh:mm\nMM-dd",15,9e5],["hh:mm\nMM-dd",30,18e5],["hh:mm\nMM-dd",1,36e5],["hh:mm\nMM-dd",2,72e5],["hh:mm\nMM-dd",6,216e5],["hh:mm\nMM-dd",12,432e5],["MM-dd\nyyyy",1,l],["week",7,7*l],["month",1,31*l],["quarter",3,380*l/4],["half-year",6,380*l/2],["year",1,380*l]];return u[yi]=function(){return new u},u}),e("echarts/scale/Log",[Zn,Gn,"./Scale",wi,"./Interval"],function(t){var e=t(Gn),i=t("./Scale"),n=t(wi),r=t("./Interval"),a=i[Sn],o=r[Sn],s=Math.floor,l=Math.ceil,c=Math.pow,u=10,h=Math.log,d=i[ln]({type:"log",getTicks:function(){return e.map(o[gi].call(this),function(t){return n.round(c(u,t))})},getLabel:o[mi],scale:function(t){return t=a.scale.call(this,t),c(u,t)},setExtent:function(t,e){t=h(t)/h(u),e=h(e)/h(u),o[vi].call(this,t,e)},getExtent:function(){var t=a[pi].call(this);return t[0]=c(u,t[0]),t[1]=c(u,t[1]),t},unionExtent:function(t){t[0]=h(t[0])/h(u),t[1]=h(t[1])/h(u),a.unionExtent.call(this,t)},niceTicks:function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(1/0===i||0>=i)){var r=c(10,s(h(i/t)/Math.LN10)),a=t/i*r;.5>=a&&(r*=10);var o=[n.round(l(e[0]/r)*r),n.round(s(e[1]/r)*r)];this._interval=r,this._niceExtent=o}},niceExtent:o.niceExtent});return e.each([_i,xi],function(t){d[Sn][t]=function(e){return e=h(e)/h(u),a[t].call(this,e)}}),d[yi]=function(){return new d},d}),e("echarts/layout/points",[Zn],function(){return function(t,e){e[Nn](t,function(t){var e=t[Bn](),i=t[zn],n=i[fi];e.each(n,function(t,n,r){var a;a=isNaN(t)||isNaN(n)?[0/0,0/0]:i[di]([t,n]),e[hi](r,a)},!0)})}}),e("echarts/processor/dataFilter",[],function(){return function(t,e){var i=e[ui]({mainType:"legend"});i&&i[on]&&e[Nn](t,function(t){var e=t[Bn]();e.filterSelf(function(t){for(var n=e[ci](t),r=0;r<i[on];r++)if(!i[r].isSelected(n))return!1;return!0},this)},this)}}),e("echarts/chart/candlestick/preprocessor",[Zn,Gn],function(t){var e=t(Gn);return function(t){t&&e[Fi](t[nn])&&e.each(t[nn],function(t){e[un](t)&&"k"===t.type&&(t.type="candlestick")})}}),e("echarts/chart/heatmap/HeatmapSeries",[Zn,li,"../helper/createListFromArray"],function(t){var e=t(li),i=t("../helper/createListFromArray");return e[ln]({type:"series.heatmap",getInitialData:function(t,e){return i(t.data,this,e)},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,xAxisIndex:0,yAxisIndex:0,geoIndex:0,blurSize:20}})}),e("echarts/chart/treemap/treemapAction",[Zn,si],function(t){var e=t(si),i=function(){};e[Tn]({type:"treemapZoomToNode",update:"updateView"},i),e[Tn]({type:"treemapRender",update:"updateView"},i),e[Tn]({type:"treemapMove",update:"updateView"},i)}),e("echarts/chart/map/mapVisual",[Zn],function(){return function(t){t[Nn]("map",function(t){var e=t.get("color"),i=t[_n](oi),n=i.get("areaColor"),r=i.get("color")||e[t[Xi]%e[on]];t[Bn]()[En]({areaColor:n,color:r})})}}),e("echarts/chart/graph/simpleLayout",[Zn,"./simpleLayoutHelper"],function(t){var e=t("./simpleLayoutHelper");return function(t){t[Nn]("graph",function(t){var i=t.get(ai);i&&"none"!==i||e(t)})}}),e("echarts/chart/graph/circularLayout",[Zn,"./circularLayoutHelper"],function(t){var e=t("./circularLayoutHelper");return function(t){t[Nn]("graph",function(t){"circular"===t.get(ai)&&e(t)})}}),e("echarts/component/parallel",[Zn,"../coord/parallel/parallelCreator","../coord/parallel/ParallelModel","./parallelAxis","../echarts","../coord/parallel/parallelPreprocessor"],function(t){t("../coord/parallel/parallelCreator"),t("../coord/parallel/ParallelModel"),t("./parallelAxis");var e=t("../echarts");e[Vn]({type:"parallel"}),e.registerPreprocessor(t("../coord/parallel/parallelPreprocessor"))}),e("echarts/chart/effectScatter/EffectScatterView",[Zn,"../helper/SymbolDraw","../helper/EffectSymbol",si],function(t){var e=t("../helper/SymbolDraw"),i=t("../helper/EffectSymbol");t(si)[Bi]({type:"effectScatter",init:function(){this._symbolDraw=new e(i)},render:function(t){var e=t[Bn](),i=this._symbolDraw;i[ri](e),this.group.add(i.group)},updateLayout:function(){this._symbolDraw[hn]()},remove:function(t,e){this._symbolDraw&&this._symbolDraw[cn](e)}})}),e("echarts/component/axis",[Zn,"../coord/cartesian/AxisModel","./axis/AxisView"],function(t){t("../coord/cartesian/AxisModel"),t("./axis/AxisView")
  }),e("echarts/component/angleAxis",[Zn,"../coord/polar/polarCreator","./axis/AngleAxisView"],function(t){t("../coord/polar/polarCreator"),t("./axis/AngleAxisView")}),e("echarts/component/radiusAxis",[Zn,"../coord/polar/polarCreator","./axis/RadiusAxisView"],function(t){t("../coord/polar/polarCreator"),t("./axis/RadiusAxisView")}),e("echarts/component/geo/GeoView",[Zn,"../helper/MapDraw",si],function(t){var e=t("../helper/MapDraw");return t(si)[Vn]({type:"geo",init:function(t,i){var n=new e(i,!0);this._mapDraw=n,this.group.add(n.group)},render:function(t,e,i){t.get("show")&&this._mapDraw.draw(t,e,i)}})}),e("echarts/component/legend/legendFilter",[],function(){return function(t){var e=t[ui]({mainType:"legend"});e&&e[on]&&t.filterSeries(function(t){for(var i=0;i<e[on];i++)if(!e[i].isSelected(t.name))return!1;return!0})}}),e("echarts/component/timeline/typeDefaulter",[Zn,ni],function(t){t(ni).registerSubTypeDefaulter("timeline",function(){return"slider"})}),e("echarts/component/dataZoom/typeDefaulter",[Zn,ni],function(t){t(ni).registerSubTypeDefaulter("dataZoom",function(){return"slider"})}),e("echarts/component/dataZoom/InsideZoomModel",[Zn,"./DataZoomModel"],function(t){var e=t("./DataZoomModel");return e[ln]({type:"dataZoom.inside",defaultOption:{zoomLock:!1}})}),e("echarts/component/visualMapContinuous",[Zn,"../echarts","./visualMap/preprocessor","./visualMap/typeDefaulter","./visualMap/visualCoding","./visualMap/ContinuousModel","./visualMap/ContinuousView","./visualMap/visualMapAction"],function(t){t("../echarts").registerPreprocessor(t("./visualMap/preprocessor")),t("./visualMap/typeDefaulter"),t("./visualMap/visualCoding"),t("./visualMap/ContinuousModel"),t("./visualMap/ContinuousView"),t("./visualMap/visualMapAction")}),e("echarts/component/visualMapPiecewise",[Zn,"../echarts","./visualMap/preprocessor","./visualMap/typeDefaulter","./visualMap/visualCoding","./visualMap/PiecewiseModel","./visualMap/PiecewiseView","./visualMap/visualMapAction"],function(t){t("../echarts").registerPreprocessor(t("./visualMap/preprocessor")),t("./visualMap/typeDefaulter"),t("./visualMap/visualCoding"),t("./visualMap/PiecewiseModel"),t("./visualMap/PiecewiseView"),t("./visualMap/visualMapAction")}),e("echarts/component/toolbox/feature/Restore",[Zn,"../../dataZoom/history","../featureManager","../../../echarts"],function(t){function e(t){this.model=t}var i=t("../../dataZoom/history");e.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:"还原"};var n=e[Sn];return n.onclick=function(t,e){i.clear(t),e[sn]({type:"restore",from:this.uid})},t("../featureManager")[Ni]("restore",e),t("../../../echarts")[Tn]({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")}),e}),e("echarts/ExtensionAPI",[Zn,Gn],function(t){function e(t){i.each(n,function(e){this[e]=i.bind(t[e],t)},this)}var i=t(Gn),n=["getDom","getZr",yn,gn,sn,"on","off","getDataURL","getConnectedDataURL"];return e}),e(Gn,[Zn,"../graphic/Gradient"],function(t){function e(t){if("object"==typeof t&&null!==t){var i=t;if(t instanceof Array){i=[];for(var n=0,r=t[on];r>n;n++)i[n]=e(t[n])}else if(!M(t)&&!S(t)){i={};for(var a in t)t.hasOwnProperty(a)&&(i[a]=e(t[a]))}return i}return t}function i(t,n,r){if(!b(n)||!b(t))return r?e(n):t;for(var a in n)if(n.hasOwnProperty(a)){var o=t[a],s=n[a];!b(s)||!b(o)||x(s)||x(o)||S(s)||S(o)||M(s)||M(o)?!r&&a in t||(t[a]=e(n[a],!0)):i(o,s,r)}return t}function n(t,e){for(var n=t[0],r=1,a=t[on];a>r;r++)n=i(n,t[r],e);return n}function r(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function a(t,e,i){for(var n in e)e.hasOwnProperty(n)&&(i?null!=e[n]:null==t[n])&&(t[n]=e[n]);return t}function o(){return document[ii](Mn)}function s(){return L||(L=B.createCanvas()[ei]("2d")),L}function l(t,e){if(t){if(t[Zi])return t[Zi](e);for(var i=0,n=t[on];n>i;i++)if(t[i]===e)return i}return-1}function c(t,e){function i(){}var n=t[Sn];i[Sn]=e[Sn],t[Sn]=new i;for(var r in n)t[Sn][r]=n[r];t[Sn].constructor=t,t.superClass=e}function u(t,e,i){t=Sn in t?t[Sn]:t,e=Sn in e?e[Sn]:e,a(t,e,i)}function h(t){return t?typeof t==bn?!1:typeof t[on]==Ri:void 0}function d(t,e,i){if(t&&e)if(t.forEach&&t.forEach===I)t.forEach(e,i);else if(t[on]===+t[on])for(var n=0,r=t[on];r>n;n++)e.call(i,t[n],n,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(i,t[a],a,t)}function f(t,e,i){if(t&&e){if(t.map&&t.map===O)return t.map(e,i);for(var n=[],r=0,a=t[on];a>r;r++)n.push(e.call(i,t[r],r,t));return n}}function p(t,e,i,n){if(t&&e){if(t.reduce&&t.reduce===E)return t.reduce(e,i,n);for(var r=0,a=t[on];a>r;r++)i=e.call(n,i,t[r],r,t);return i}}function v(t,e,i){if(t&&e){if(t[On]&&t[On]===V)return t[On](e,i);for(var n=[],r=0,a=t[on];a>r;r++)e.call(i,t[r],r,t)&&n.push(t[r]);return n}}function m(t,e,i){if(t&&e)for(var n=0,r=t[on];r>n;n++)if(e.call(i,t[n],n,t))return t[n]}function g(t,e){var i=R.call(arguments,2);return function(){return t.apply(e,i[ti](R.call(arguments)))}}function y(t){var e=R.call(arguments,1);return function(){return t.apply(this,e[ti](R.call(arguments)))}}function x(t){return"[object Array]"===z.call(t)}function _(t){return typeof t===Gi}function w(t){return"[object String]"===z.call(t)}function b(t){var e=typeof t;return e===Gi||!!t&&"object"==e}function M(t){return!!D[z.call(t)]||t instanceof k}function S(t){return t&&1===t.nodeType&&typeof t.nodeName==bn}function C(){for(var t=0,e=arguments[on];e>t;t++)if(null!=arguments[t])return arguments[t]}function A(){return Function.call.apply(R,arguments)}function T(t,e){if(!t)throw new Error(e)}var L,k=t("../graphic/Gradient"),D={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1},z=Object[Sn].toString,P=Array[Sn],I=P.forEach,V=P[On],R=P.slice,O=P.map,E=P.reduce,B={inherits:c,mixin:u,clone:e,merge:i,mergeAll:n,extend:r,defaults:a,getContext:s,createCanvas:o,indexOf:l,slice:A,find:m,isArrayLike:h,each:d,map:f,reduce:p,filter:v,bind:g,curry:y,isArray:x,isString:w,isObject:b,isFunction:_,isBuildInObject:M,isDom:S,retrieve:C,assert:T,noop:function(){}};return B}),e("echarts/coord/cartesian/Grid",[Zn,"exports",Qe,"../../coord/axisHelper",Gn,"./Cartesian2D","./Axis2D","./GridModel","../../CoordinateSystem"],function(t){function e(t,e,i){return i[Je]("grid",t.get("gridIndex"))===e}function i(t){for(var e,i=t.model,n=i[Ke](),r=0;r<n[on];r++)if(!t.isLabelIgnored(r)){var a=i.getTextRect(n[r]);e?e.union(a):e=a}return e}function n(t,e,i){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,i)}function r(t,e){var i=t[pi](),n=i[0]+i[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return n-t+e}}var a=t(Qe),o=t("../../coord/axisHelper"),s=t(Gn),l=t("./Cartesian2D"),c=t("./Axis2D"),u=s.each,h=o.ifAxisCrossZero,d=o.ifAxisNeedsCrossZero,f=o.niceScaleExtent;t("./GridModel");var p=n[Sn];return p.type="grid",p[Pn]=function(){return this._rect},p[wn]=function(t,e){function n(){u(s,function(t){var e=t.isHorizontal(),i=e?[0,o.width]:[0,o[fn]],n=t[$e]?1:0;t[vi](i[n],i[1-n]),r(t,e?o.x:o.y)})}var o=a[Ai](t[Ti](),{width:e[yn](),height:e[gn]()});this._rect=o;var s=this._axesList;n(),t.get("containLabel")&&(u(s,function(t){if(!t.model.get("axisLabel.inside")){var e=i(t);if(e){var n=t.isHorizontal()?fn:"width",r=t.model.get("axisLabel.margin");o[n]-=e[n]+r,"top"===t[Si]?o.y+=e[fn]+r:"left"===t[Si]&&(o.x+=e.width+r)}}}),n())},p[Ye]=function(t,e){if(null!=e){var i=t+e;return this._axesMap[i]}for(var n=this._axesList,r=0;r<n[on];r++)if(n[r].dim===t)return n[r]},p.getCartesian=function(t,e){var i="x"+t+"y"+e;return this._coordsMap[i]},p._initCartesian=function(t,i){function n(t){var e=s[t];return e[0]&&(e[0].type===je||!h(e[0]))||e[1]&&(e[1].type===je||!h(e[1]))}function r(n){return function(r,l){if(e(r,t,i)){var u=r.get(Si);"x"===n?("top"!==u&&u!==pn&&(u=pn),a[u]&&(u="top"===u?pn:"top")):("left"!==u&&"right"!==u&&(u="left"),a[u]&&(u="left"===u?"right":"left")),a[u]=!0;var h=new c(n,o.createScaleByModel(r),[0,0],r.get("type"),u),d=h.type===je;h.onBand=d&&r.get("boundaryGap"),h[$e]=r.get($e),h.onZero=r.get("axisLine.onZero"),r.axis=h,h.model=r,h.index=l,this._axesList.push(h),this._axesMap[n+l]=h,s[n][l]=h,p[n]++}}}var a={left:!1,right:!1,top:!1,bottom:!1},s={x:{},y:{}},p={x:0,y:0};return i[mn]("xAxis",r("x"),this),i[mn]("yAxis",r("y"),this),p.x&&p.y?(u(s.x,function(t,e){u(s.y,function(i,n){var r="x"+e+"y"+n,a=new l(r);a.grid=this,this._coordsMap[r]=a,this._coordsList.push(a),a.addAxis(t),a.addAxis(i)},this)},this),this._updateCartesianFromSeries(i,t),u(s.x,function(t){n("y")&&(t.onZero=!1),d(t)&&t.scale.unionExtent([0,0]),f(t,t.model)},this),void u(s.y,function(t){n("x")&&(t.onZero=!1),d(t)&&t.scale.unionExtent([0,0]),f(t,t.model)},this)):(this._axesMap={},void(this._axesList=[]))},p._updateCartesianFromSeries=function(t,i){function n(t,e,i,n){u(n.getDimensionsOnAxis(i),function(i){e.scale.unionExtent(t[Xe](i,e.scale.type!==Ue))})}t[rn](function(r){if("cartesian2d"===r.get(zn)){var a=r.get("xAxisIndex"),o=r.get("yAxisIndex"),s=t[Je]("xAxis",a),l=t[Je]("yAxis",o);if(!e(s,i,t)||!e(l,i,t))return;var c=this.getCartesian(a,o),u=r[Bn]();"list"===u.type&&(n(u,c[Ye]("x"),"x",r),n(u,c[Ye]("y"),"y",r))}},this)},n[yi]=function(t,e){var i=[];return t[mn]("grid",function(r,a){var o=new n(r,t,e);o.name="grid_"+a,o[wn](r,e),r[zn]=o,i.push(o)}),t[rn](function(e){if("cartesian2d"===e.get(zn)){var n=e.get("xAxisIndex"),r=t[Je]("xAxis",n),a=i[r.get("gridIndex")];e[zn]=a.getCartesian(n,e.get("yAxisIndex"))}}),i},t("../../CoordinateSystem")[Ni]("grid",n),n}),e("echarts/chart/bar/BarSeries",[Zn,li,"../helper/createListFromArray"],function(t){var e=t(li),i=t("../helper/createListFromArray");return e[ln]({type:"series.bar",dependencies:["grid","polar"],getInitialData:function(t,e){return i(t.data,this,e)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,barMinHeight:0,barGap:"30%",barCategoryGap:"20%",itemStyle:{normal:{barBorderColor:"#fff",barBorderWidth:0},emphasis:{barBorderColor:"#fff",barBorderWidth:0}}}})}),e("echarts/chart/bar/BarView",[Zn,Gn,qe,We,"./barItemStyle",si],function(t){function e(t,e){var i=t.width>0?1:-1,n=t[fn]>0?1:-1;e=Math.min(e,Math.abs(t.width),Math.abs(t[fn])),t.x+=i*e/2,t.y+=n*e/2,t.width-=i*e,t[fn]-=n*e}var i=t(Gn),n=t(qe);return i[ln](t(We)[Sn],t("./barItemStyle")),t(si)[Bi]({type:"bar",render:function(t,e,i){var n=t.get(zn);return"cartesian2d"===n&&this._renderOnCartesian(t,e,i),this.group},_renderOnCartesian:function(t){function r(r,a){var s=o[Ge](r),l=o[Ne](r).get(d)||0;e(s,l);var c=new n.Rect({shape:i[ln]({},s)});if(h){var f=c.shape,p=u?fn:"width",v={};f[p]=0,v[p]=s[p],n[a?Be:Ee](c,{shape:v},t)}return c}var a=this.group,o=t[Bn](),s=this._data,l=t[zn],c=l[He](),u=c.isHorizontal(),h=t.get(Fe),d=[Oi,Ze,"barBorderWidth"];o.diff(s).add(function(t){if(o.hasValue(t)){var e=r(t);o[Re](t,e),a.add(e)}})[dn](function(i,l){var c=s[Ve](l);if(!o.hasValue(i))return void a[cn](c);c||(c=r(i,!0));var u=o[Ge](i),h=o[Ne](i).get(d)||0;e(u,h),n[Be](c,{shape:u},t),o[Re](i,c),a.add(c)})[cn](function(e){var i=s[Ve](e);i&&(i.style.text="",n[Be](i,{shape:{width:0}},t,function(){a[cn](i)}))})[Oe](),this._updateStyle(t,o,u),this._data=o},_updateStyle:function(t,e,r){function a(t,e,i,r,a){n.setText(t,e,i),t.text=r,"outside"===t.textPosition&&(t.textPosition=a)}e[Ie](function(o,s){var l=e[Ne](s),c=l[_n](Pe),u=e[ze](s,"color"),h=e[Ge](s),d=l[_n]("itemStyle.emphasis")[Ln]();o[Mi](i[Dn]({fill:u},l[_n](oi).getBarItemStyle()));var f=r?h[fn]>0?pn:"top":h.width>0?"left":"right",c=l[_n](Pe),p=l[_n](De),v=o.style;c.get("show")?a(v,c,u,t[ke](s,Ze)||t[Le](s),f):v.text="",p.get("show")?a(d,p,u,t[ke](s,Te)||t[Le](s),f):d.text="",n[Ae](o,d)})},remove:function(t){var e=this.group;t.get(Fe)?this._data&&this._data[Ie](function(i){i.style.text="",n[Be](i,{shape:{width:0}},t,function(){e[cn](i)})}):e[In]()}})}),e("echarts/layout/barGrid",[Zn,Gn,wi],function(t){function e(t){return t.get("stack")||"__ec_stack_"+t[Xi]}function i(t){var i={};r.each(t,function(t){var n=t[zn],r=n[He](),a=i[r.index]||{remainedWidth:r.getBandWidth(),autoWidthCount:0,categoryGap:"20%",gap:"30%",axis:r,stacks:{}},o=a.stacks;i[r.index]=a;var s=e(t);o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.get("barWidth"),c=t.get("barMaxWidth"),u=t.get("barGap"),h=t.get("barCategoryGap");l&&!o[s].width&&(l=Math.min(a.remainedWidth,l),o[s].width=l,a.remainedWidth-=l),c&&(o[s].maxWidth=c),null!=u&&(a.gap=u),null!=h&&(a.categoryGap=h)});var n={};return r.each(i,function(t,e){n[e]={};var i=t.stacks,a=t.axis,s=a.getBandWidth(),l=o(t.categoryGap,s),c=o(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,d=(u-l)/(h+(h-1)*c);d=Math.max(d,0),r.each(i,function(t){var e=t.maxWidth;!t.width&&e&&d>e&&(e=Math.min(e,u),u-=e,t.width=e,h--)}),d=(u-l)/(h+(h-1)*c),d=Math.max(d,0);var f,p=0;r.each(i,function(t){t.width||(t.width=d),f=t,p+=t.width*(1+c)}),f&&(p-=f.width*c);var v=-p/2;r.each(i,function(t,i){n[e][i]=n[e][i]||{offset:v,width:t.width},v+=t.width*(1+c)})}),n}function n(t,n){var a=i(r[On](n.getSeriesByType(t),function(t){return!n.isSeriesFiltered(t)&&t[zn]&&"cartesian2d"===t[zn].type})),o={};n[Nn](t,function(t){var i=t[Bn](),n=t[zn],r=n[He](),s=e(t),l=a[r.index][s],c=l.offset,u=l.width,h=n[Se](r),d=t.get("barMinHeight")||0,f=r.onZero?h.toGlobalCoord(h[Me](0)):h.getGlobalExtent()[0],p=n.dataToPoints(i,!0);o[s]=o[s]||[],i.each(h.dim,function(t,e){if(!isNaN(t)){o[s][e]||(o[s][e]={p:f,n:f});var n,r,a,l,v=t>=0?"p":"n",m=p[e],g=o[s][e][v];h.isHorizontal()?(n=g,r=m[1]+c,a=m[0]-g,l=u,Math.abs(a)<d&&(a=(0>a?-1:1)*d),o[s][e][v]+=a):(n=m[0]+c,r=g,a=u,l=m[1]-g,Math.abs(l)<d&&(l=(0>=l?-1:1)*d),o[s][e][v]+=l),i[hi](e,{x:n,y:r,width:a,height:l})}},!0)},this)}var r=t(Gn),a=t(wi),o=a[Ce];return n}),e("echarts/chart/line/LineSeries",[Zn,"../helper/createListFromArray",li],function(t){var e=t("../helper/createListFromArray"),i=t(li);return i[ln]({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,i){return e(t.data,this,i)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,polarIndex:0,clipOverflow:!0,label:{normal:{position:"top"},emphasis:{position:"top"}},lineStyle:{normal:{width:2,type:"solid"}},symbol:"emptyCircle",symbolSize:4,showSymbol:!0,animationEasing:"linear"}})}),e("echarts/chart/line/LineView",[Zn,Gn,"../helper/SymbolDraw","../helper/Symbol","./lineAnimationDiff",qe,"./poly","../../view/Chart"],function(t){function e(t,e){if(t[on]===e[on]){for(var i=0;i<t[on];i++){var n=t[i],r=e[i];if(n[0]!==r[0]||n[1]!==r[1])return}return!0}}function i(t){return typeof t===Ri?t:t?.3:0}function n(t){var e=t.getGlobalExtent();if(t.onBand){var i=t.getBandWidth()/2-1,n=e[1]>e[0]?1:-1;e[0]+=n*i,e[1]-=n*i}return e}function r(t){return t>=0?1:-1}function a(t,e){var i=t[He](),n=t[Se](i),a=i.onZero?0:n.scale[pi]()[0],o=n.dim,s="x"===o||o===be?1:0;return e[we]([o],function(n,l){for(var c,u=e.stackedOn;u&&r(u.get(o,l))===r(n);){c=u;break}var h=[];return h[s]=e.get(i.dim,l),h[1-s]=c?c.get(o,l,!0):a,t[di](h)},!0)}function o(t,e){return null!=e[Yi]?e[Yi]:null!=e.name?t[_e](e.name):void 0}function s(t,e,i){var r=n(t[Ye]("x")),a=n(t[Ye]("y")),o=t[He]().isHorizontal(),s=r[0],l=a[0],c=r[1]-s,u=a[1]-l;i.get("clipOverflow")||(o?(l-=u,u*=3):(s-=c,c*=3));var h=new p.Rect({shape:{x:s,y:l,width:c,height:u}});return e&&(h.shape[o?"width":fn]=0,p[Ee](h,{shape:{width:c,height:u}},i)),h}function l(t,e,i){var n=t.getAngleAxis(),r=t.getRadiusAxis(),a=r[pi](),o=n[pi](),s=Math.PI/180,l=new p[xe]({shape:{cx:t.cx,cy:t.cy,r0:a[0],r:a[1],startAngle:-o[0]*s,endAngle:-o[1]*s,clockwise:n[$e]}});return e&&(l.shape[ye]=-o[0]*s,p[Ee](l,{shape:{endAngle:-o[1]*s}},i)),l}function c(t,e,i){return"polar"===t.type?l(t,e,i):s(t,e,i)}var u=t(Gn),h=t("../helper/SymbolDraw"),d=t("../helper/Symbol"),f=t("./lineAnimationDiff"),p=t(qe),v=t("./poly"),m=t("../../view/Chart");return m[ln]({type:"line",init:function(){var t=new p.Group,e=new h;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,n,r){var o=t[zn],s=this.group,l=t[Bn](),h=t[_n](ge),d=t[_n]("areaStyle.normal"),f=l[we](l[Ge],!0),p="polar"===o.type,v=this._coordSys,m=this._symbolDraw,g=this._polyline,y=this._polygon,x=this._lineGroup,_=t.get(Fe),w=!d.isEmpty(),b=a(o,l),M=t.get("showSymbol"),S=M&&!p&&!t.get("showAllSymbol")&&this._getSymbolIgnoreFunc(l,o),C=this._data;C&&C[Ie](function(t,e){t.__temp&&(s[cn](t),C[Re](e,null))}),M||m[cn](),s.add(x),g&&v.type===o.type?(_&&x.setClipPath(c(o,!1,t)),M&&m[ri](l,S),l[Ie](function(t){t.stopAnimation(!0)}),e(this._stackedOnPoints,b)&&e(this._points,f)||(_?this._updateAnimation(l,b,o,r):(g[me]({points:f}),y&&y[me]({points:f,stackedOnPoints:b})))):(M&&m[ri](l,S),g=this._newPolyline(s,f,o,_),w&&(y=this._newPolygon(s,f,b,o,_)),x.setClipPath(c(o,!0,t))),g[Mi](u[Dn](h[ve](),{stroke:l[pe]("color"),lineJoin:"bevel"}));var A=t.get("smooth");if(A=i(t.get("smooth")),g.shape.smooth=A,y){var T=y.shape,L=l.stackedOn,k=0;if(y.style[bi]=.7,y[Mi](u[Dn](d.getAreaStyle(),{fill:l[pe]("color"),lineJoin:"bevel"})),T.smooth=A,L){var D=L[ji];k=i(D.get("smooth"))}T.stackedOnSmooth=k}this._data=l,this._coordSys=o,this._stackedOnPoints=b,this._points=f},highlight:function(t,e,i,n){var r=t[Bn](),a=o(r,n);if(null!=a&&a>=0){var s=r[Ve](a);if(!s){var l=r[Ge](a);s=new d(r,a,i),s[Si]=l,s.setZ(t.get(qi),t.get("z")),s[vn]=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,r[Re](a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else m[Sn].highlight.call(this,t,e,i,n)},downplay:function(t,e,i,n){var r=t[Bn](),a=o(r,n);if(null!=a&&a>=0){var s=r[Ve](a);s&&(s.__temp?(r[Re](a,null),this.group[cn](s)):s.downplay())}else m[Sn].downplay.call(this,t,e,i,n)},_newPolyline:function(t,e){var i=this._polyline;return i&&t[cn](i),i=new v.Polyline({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(i),this._polyline=i,i},_newPolygon:function(t,e,i){var n=this._polygon;return n&&t[cn](n),n=new v[fe]({shape:{points:e,stackedOnPoints:i},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_getSymbolIgnoreFunc:function(t,e){var i=e.getAxesByScale(Ue)[0];return i&&i.isLabelIgnored?u.bind(i.isLabelIgnored,i):void 0},_updateAnimation:function(t,e,i){var n=this._polyline,r=this._polygon,a=t[ji],o=f(this._data,t,this._stackedOnPoints,e,this._coordSys,i);n.shape[de]=o.current,p[Be](n,{shape:{points:o.next}},a),r&&(r[me]({points:o.current,stackedOnPoints:o.stackedOnCurrent}),p[Be](r,{shape:{points:o.next,stackedOnPoints:o.stackedOnNext}},a));for(var s=[],l=o.status,c=0;c<l[on];c++){var u=l[c].cmd;if("="===u){var h=t[Ve](l[c].idx1);h&&s.push({el:h,ptIdx:c})}}n.animators&&n.animators[on]&&n.animators[0].during(function(){for(var t=0;t<s[on];t++){var e=s[t].el;e.attr(Si,n.shape[de][s[t].ptIdx])}})},remove:function(){this._lineGroup[In](),this._symbolDraw[cn](!0),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}})}),e("echarts/visual/symbol",[Zn],function(){return function(t,e,i,n){n.eachRawSeriesByType(t,function(t){var r=t[Bn](),a=t.get(he)||e,o=t.get(ue);r[En]({legendSymbol:i||a,symbol:a,symbolSize:o}),n.isSeriesFiltered(t)||(typeof o===Gi&&r.each(function(e){var i=t[Le](e),n=t[Ui](e);r[ce](e,ue,o(i,n))}),r.each(function(t){var e=r[Ne](t),i=e.get(he,!0),n=e.get(ue,!0);null!=i&&r[ce](t,he,i),null!=n&&r[ce](t,ue,n)}))})}}),e("echarts/chart/pie/PieSeries",[Zn,le,Gn,se,"../../data/helper/completeDimensions","../helper/dataSelectableMixin",si],function(t){var e=t(le),i=t(Gn),n=t(se),r=t("../../data/helper/completeDimensions"),a=t("../helper/dataSelectableMixin"),o=t(si).extendSeriesModel({type:"series.pie",init:function(t){this[oe]("init",arguments),this.legendDataProvider=function(){return this._dataBeforeProcessed},this.updateSelectedMap(),this._defaultLabelLine(t)},mergeOption:function(t){this.$superCall(ae,t),this.updateSelectedMap()},getInitialData:function(t){var i=r(["value"],t.data),n=new e(i,this);return n[re](t.data),n},getDataParams:function(t){var e=this._data,i=this.$superCall(Ui,t);return i.percent=+(e.get("value",t)/e.getSum("value")*100)[ne](2),i.$vars.push("percent"),i},_defaultLabelLine:function(t){n[ie](t.labelLine,["show"]);var e=t.labelLine[Ze],i=t.labelLine[Te];e.show=e.show&&t.label[Ze].show,i.show=i.show&&t.label[Te].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:20,length2:5,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 i.mixin(o,a),o}),e("echarts/chart/pie/PieView",[Zn,qe,Gn,"../../view/Chart"],function(t){function e(t,e,n,r){var a=e[Bn](),o=this[Yi],s=a[ci](o),l=e.get("selectedOffset");r[sn]({type:"pieToggleSelect",from:t,name:s,seriesId:e.id}),a.each(function(t){i(a[Ve](t),a[Ge](t),e.isSelected(a[ci](t)),l,n)})}function i(t,e,i,n,r){var a=(e[ee]+e[ye])/2,o=Math.cos(a),s=Math.sin(a),l=i?n:0,c=[o*l,s*l];r?t.animate().when(200,{position:c}).start("bounceOut"):t.attr(Si,c)}function n(t,e){function i(){o[vn]=o.hoverIgnore,s[vn]=s.hoverIgnore}function n(){o[vn]=o.normalIgnore,s[vn]=s.normalIgnore}a.Group.call(this);var r=new a[xe]({z2:2}),o=new a.Polyline,s=new a.Text;this.add(r),this.add(o),this.add(s),this[ri](t,e,!0),this.on(Te,i).on(Ze,n).on(Ji,i).on(Ki,n)}function r(t,e,i,n){var r=n[_n](Pi),a=n.get(Si),o=a===te||"inner"===a;return{fill:r[ki]()||(o?"#fff":t[ze](e,"color")),textFont:r[Di](),text:t[ji][ke](e,i)||t[ci](e)}}var a=t(qe),o=t(Gn),s=n[Sn];s[ri]=function(t,e,n){function r(){l.stopAnimation(!0),l.animateTo({shape:{r:h.r+10}},300,"elasticOut")}function s(){l.stopAnimation(!0),l.animateTo({shape:{r:h.r}},300,"elasticOut")}var l=this[Q](0),c=t[ji],u=t[Ne](e),h=t[Ge](e),d=o[ln]({},h);d.label=null,n?(l[me](d),l.shape[ye]=h[ee],a[Be](l,{shape:{endAngle:h[ye]}},c)):a[Be](l,{shape:d},c);var f=u[_n](Oi),p=t[ze](e,"color");l[Mi](o[Dn]({fill:p},f[_n](Ze)[Ln]())),l.hoverStyle=f[_n](Te)[Ln](),i(this,t[Ge](e),u.get(J),c.get("selectedOffset"),c.get(Fe)),l.off(Ji).off(Ki).off(Te).off(Ze),u.get("hoverAnimation")&&l.on(Ji,r).on(Ki,s).on(Te,r).on(Ze,s),this._updateLabel(t,e),a[Ae](this)},s._updateLabel=function(t,e){var i=this[Q](1),n=this[Q](2),o=t[ji],s=t[Ne](e),l=t[Ge](e),c=l.label,u=t[ze](e,"color");a[Be](i,{shape:{points:c.linePoints||[[c.x,c.y],[c.x,c.y],[c.x,c.y]]}},o),a[Be](n,{style:{x:c.x,y:c.y}},o),n.attr({style:{textAlign:c[zi],textBaseline:c[K],textFont:c.font},rotation:c[$],origin:[c.x,c.y],z2:10});var h=s[_n](Pe),d=s[_n](De),f=s[_n]("labelLine.normal"),p=s[_n]("labelLine.emphasis");n[Mi](r(t,e,Ze,h)),n[vn]=n.normalIgnore=!h.get("show"),n.hoverIgnore=!d.get("show"),i[vn]=i.normalIgnore=!f.get("show"),i.hoverIgnore=!p.get("show"),i[Mi]({stroke:u}),i[Mi](f[_n](Rn)[ve]()),n.hoverStyle=r(t,e,Te,d),i.hoverStyle=p[_n](Rn)[ve]();var v=f.get("smooth");v&&v===!0&&(v=.4),i[me]({smooth:v})},o[Vi](n,a.Group);var l=t("../../view/Chart")[ln]({type:"pie",init:function(){var t=new a.Group;this._sectorGroup=t},render:function(t,i,r,a){if(!a||a.from!==this.uid){var s=t[Bn](),l=this._data,c=this.group,u=i.get(Fe),h=!l,d=o.curry(e,this.uid,t,u,r),f=t.get("selectedMode");if(s.diff(l).add(function(t){var e=new n(s,t);h&&e[Y](function(t){t.stopAnimation(!0)}),f&&e.on("click",d),s[Re](t,e),c.add(e)})[dn](function(t,e){var i=l[Ve](e);i[ri](s,t),i.off("click"),f&&i.on("click",d),c.add(i),s[Re](t,i)})[cn](function(t){var e=l[Ve](t);c[cn](e)})[Oe](),u&&h&&s.count()>0){var p=s[Ge](0),v=Math.max(r[yn](),r[gn]())/2,m=o.bind(c.removeClipPath,c);c.setClipPath(this._createClipPath(p.cx,p.cy,v,p[ee],p[j],m,t))}this._data=s}},_createClipPath:function(t,e,i,n,r,o,s){var l=new a[xe]({shape:{cx:t,cy:e,r0:0,r:i,startAngle:n,endAngle:n,clockwise:r}});return a[Ee](l,{shape:{endAngle:n+(r?1:-1)*Math.PI*2}},s,o),l}});return l}),e("echarts/action/createDataSelectAction",[Zn,"../echarts",Gn],function(t){var e=t("../echarts"),i=t(Gn);return function(t,n){i.each(n,function(i){i[dn]="updateView",e[Tn](i,function(e,n){var r={};return n[mn]({mainType:"series",subType:t,query:e},function(t){t[i.method]&&t[i.method](e.name);var n=t[Bn]();n.each(function(e){var i=n[ci](e);r[i]=t.isSelected(i)||!1})}),{name:e.name,selected:r}})})}}),e("echarts/visual/dataColor",[Zn],function(){return function(t,e){var i=e.get("color"),n=0;e.eachRawSeriesByType(t,function(t){var r=t.get("color",!0),a=t.getRawData();if(!e.isSeriesFiltered(t)){var o=t[Bn]();o.each(function(t){var e=o[Ne](t),s=o[X](t),l=o[ze](t,"color",!0);if(l)a[ce](s,"color",l);else{var c=r?r[s%r[on]]:i[(s+n)%i[on]],u=e.get("itemStyle.normal.color")||c;a[ce](s,"color",u),o[ce](t,"color",u)}})}n+=a.count()})}}),e("echarts/chart/pie/pieLayout",[Zn,U,"./labelLayout",Gn],function(t){var e=t(U),i=e[Ce],n=t("./labelLayout"),r=t(Gn),a=2*Math.PI,o=Math.PI/180;return function(t,s,l){s[Nn](t,function(t){var s=t.get(Ci),c=t.get(be);r[Fi](c)||(c=[0,c]),r[Fi](s)||(s=[s,s]);var u=l[yn](),h=l[gn](),d=Math.min(u,h),f=i(s[0],u),p=i(s[1],h),v=i(c[0],d/2),m=i(c[1],d/2),g=t[Bn](),y=-t.get(ee)*o,x=t.get("minAngle")*o,_=g.getSum("value"),w=Math.PI/(_||g.count())*2,b=t.get(j),M=t.get("roseType"),S=g[Xe]("value");S[0]=0;var C=a,A=0,T=y,L=b?1:-1;if(g.each("value",function(t,i){var n;n="area"!==M?0===_?w:t*w:a/(g.count()||1),x>n?(n=x,C-=x):A+=t;var r=T+L*n;g[hi](i,{angle:n,startAngle:T,endAngle:r,clockwise:b,cx:f,cy:p,r0:v,r:M?e[q](t,S,[v,m]):m}),T=r},!0),a>C)if(.001>=C){var k=a/g.count();g.each(function(t){var e=g[Ge](t);e[ee]=y+L*t*k,e[ye]=y+L*(t+1)*k})}else w=C/A,T=y,g.each("value",function(t,e){var i=g[Ge](e),n=i.angle===x?x:t*w;i[ee]=T,i[ye]=T+L*n,T+=n});n(t,m,u,h)})}}),e("echarts/chart/scatter/ScatterSeries",[Zn,"../helper/createListFromArray",li],function(t){var e=t("../helper/createListFromArray"),i=t(li);return i[ln]({type:"series.scatter",dependencies:["grid","polar"],getInitialData:function(t,i){var n=e(t.data,this,i);return n},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,polarIndex:0,geoIndex:0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{normal:{opacity:.8}}}})}),e("echarts/chart/scatter/ScatterView",[Zn,"../helper/SymbolDraw","../helper/LargeSymbolDraw",si],function(t){var e=t("../helper/SymbolDraw"),i=t("../helper/LargeSymbolDraw");t(si)[Bi]({type:"scatter",init:function(){this._normalSymbolDraw=new e,this._largeSymbolDraw=new i},render:function(t){var e=t[Bn](),i=this._largeSymbolDraw,n=this._normalSymbolDraw,r=this.group,a=t.get("large")&&e.count()>t.get("largeThreshold")?i:n;this._symbolDraw=a,a[ri](e),r.add(a.group),r[cn](a===i?n.group:i.group)},updateLayout:function(){this._symbolDraw[hn]()},remove:function(t,e){this._symbolDraw&&this._symbolDraw[cn](e,!0)}})}),e("echarts/chart/candlestick/CandlestickSeries",[Zn,Gn,li,"../helper/whiskerBoxCommon",W],function(t){var e=t(Gn),i=t(li),n=t("../helper/whiskerBoxCommon"),r=t(W),a=r.encodeHTML,o=r.addCommas,s=i[ln]({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],valueDimensions:["open","close","lowest","highest"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,layout:null,itemStyle:{normal:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{borderWidth:2}},animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},formatTooltip:function(t){var i=e.map(this.valueDimensions,function(e){return e+": "+o(this._data.get(e,t))},this);return a(this.name)+"<br />"+i.join("<br />")}});return e.mixin(s,n.seriesModelMixin,!0),s}),e("echarts/chart/candlestick/CandlestickView",[Zn,Gn,"../../view/Chart",qe,"../helper/whiskerBoxCommon"],function(t){function e(t,e,i){var n=e[Ne](i),a=n[_n](s),o=e[ze](i,"color"),c=e[ze](i,H),u=a[Ln](["color","color0",H,"borderColor0"]),h=t[Q](t.whiskerIndex);h.style.set(u),h.style[F]=c,h.dirty();var d=t[Q](t.bodyIndex);d.style.set(u),d.style.fill=o,d.style[F]=c,d.dirty();var f=n[_n](l)[Ln]();r[Ae](t,f)}var i=t(Gn),n=t("../../view/Chart"),r=t(qe),a=t("../helper/whiskerBoxCommon"),o=n[ln]({type:"candlestick",getStyleUpdater:function(){return e}});i.mixin(o,a.viewMixin,!0);var s=[Oi,Ze],l=[Oi,Te];return o}),e("echarts/chart/candlestick/candlestickVisual",[Zn],function(){var t=[Oi,Ze,H],e=[Oi,Ze,"borderColor0"],i=[Oi,Ze,"color"],n=[Oi,Ze,"color0"];return function(r){r.eachRawSeriesByType("candlestick",function(a){var o=a[Bn]();o[En]({legendSymbol:"roundRect"}),r.isSeriesFiltered(a)||o.each(function(r){var a=o[Ne](r),s=o[Ge](r).sign;o[ce](r,{color:a.get(s>0?i:n),borderColor:a.get(s>0?t:e)})})})}}),e("echarts/chart/candlestick/candlestickLayout",[Zn],function(){function t(t,r){var a,o=t.getBaseAxisModel().axis,s=o.type===je?o.getBandWidth():(a=o[pi](),Math.abs(a[1]-a[0])/r.count());return s/2-2>i?s/2-2:s-i>n?i:Math.max(s-n,e)}var e=2,i=5,n=4;return function(e){e[Nn]("candlestick",function(e){var i=e[zn],n=e[Bn](),r=e[fi],a=e.get(ai),o=t(e,n);n.each(r,function(){function t(t){var e=[];return e[h]=c,e[d]=t,isNaN(c)||isNaN(t)?[0/0,0/0]:i[di](e)}function e(t,e){var i=t.slice(),n=t.slice();i[h]+=o/2,n[h]-=o/2,e?S.push(i,n):S.push(n,i)}var s=arguments,l=r[on],c=s[0],u=s[l],h=a===Z?0:1,d=1-h,f=s[1],p=s[2],v=s[3],m=s[4],g=Math.min(f,p),y=Math.max(f,p),x=t(g),_=t(y),w=t(v),b=t(m),M=[[b,_],[w,x]],S=[];e(_,0),e(x,1),n[hi](u,{chartLayout:a,sign:f>p?-1:p>f?1:0,initBaseline:f>p?_[d]:x[d],bodyEnds:S,whiskerEnds:M})},!0)})}}),e("echarts/chart/radar/RadarSeries",[Zn,"../helper/createListFromArray",li,Gn,U,"../../component/polar"],function(t){var e=t("../helper/createListFromArray"),i=t(li),n=t(Gn),r=t(U),a=r[q];return t("../../component/polar"),i[ln]({type:"series.radar",dependencies:["polar"],getInitialData:function(t,i){var r=t.indicator,o=e(t.data,this,i);if(r){var s=n.reduce(r,function(t,e){return t[e.name]=e,t},{});o=o.map([be],function(t,e){var i=s[o[ci](e)];return i&&i.max?a(t,[i.min||0,i.max],[0,1]):void 0});var l=this[Le];this[Le]=function(t){var e=l.call(this,t),i=s[o[ci](t)];return i&&null!=i.max?a(e,[0,1],[i.min||0,i.max]):void 0}}return o},defaultOption:{zlevel:0,z:2,coordinateSystem:"polar",legendHoverLink:!0,polarIndex:0,lineStyle:{normal:{width:2,type:"solid"}},symbol:"emptyCircle",symbolSize:4,showAllSymbol:!1}})}),e("echarts/chart/radar/RadarView",[Zn,"../helper/SymbolDraw",qe,Gn,si],function(t){var e=t("../helper/SymbolDraw"),i=t(qe),n=t(Gn);return t(si)[Bi]({type:"radar",init:function(){this._symbolDraw=new e},render:function(t){function e(){return n.map(s,function(){return[r.cx,r.cy]})}var r=t[zn],a=this.group,o=t[Bn](),s=o[we](o[Ge],!0);if(!(s[on]<1)){s.push(s[0].slice());var l=this._polygon||(this._polygon=new i[fe]({shape:{points:[]}})),c=this._polyline||(this._polyline=new i.Polyline({shape:{points:[]},z2:10})),u=c.shape,h=l.shape,d={shape:{points:s}};u[de][on]!==s[on]?(h[de]=e(),u[de]=e(),i[Ee](c,d,t),i[Ee](l,d,t)):(i[Be](c,d,t),i[Be](l,d,t)),this._symbolDraw[ri](o),c[Mi](n[ln](t[_n](ge)[ve](),{stroke:o[pe]("color")}));var f=t[_n]("areaStyle.normal");l[vn]=f.isEmpty(),i[Ae](c,t[_n]("lineStyle.emphasis")[ve]()),l[vn]||(l[Mi](n[Dn](f.getAreaStyle(),{fill:o[pe]("color"),opacity:.7})),i[Ae](l,t[_n]("areaStyle.emphasis")[ve]())),a.add(c),a.add(l),a.add(this._symbolDraw.group),this._data=o}}})}),e("echarts/chart/radar/backwardCompat",[Zn,Gn,"../../scale/Interval"],function(t){var e=t(Gn),i=t("../../scale/Interval"),n=e[Fi],r=e.each,a=e[On];return function(t){var o=t.polar,s=t.radiusAxis,l=t.angleAxis,c=a(t[nn],function(t){return"radar"===t.type})||[];o&&c[on]&&(n(o)||(o=[o]),s?n(s)||(s=[s]):s=t.radiusAxis=[],l?n(l)||(l=[l]):l=t.angleAxis=[],r(o,function(n,o){if(n.indicator){var u=e.map(n.indicator,function(t){var e=t.min,i=t.max;
  return null!=i&&i>=0&&(e=0),{name:t.text,min:e,max:i}}),h=e.find(s,function(t){return(t[G]||0)===o}),d=e.find(l,function(t){return(t[G]||0)===o});h||(h={type:"value",polarIndex:o},s.push(h)),d||(d={type:"category",polarIndex:o},l.push(d)),d.data=e.map(n.indicator,function(t){var e={value:t.text},i=t[N];return i&&i[Pi]&&(e[Pi]=i[Pi]),e}),d[ee]=n[ee]||90,n[B]&&(d.splitLine=n[B]),n[N]&&(d[N]=n[N]),n.splitLine&&(h.splitLine=n.splitLine),n.splitArea&&(h.splitArea=n.splitArea),h.splitLine=h.splitLine||{},h.splitArea=h.splitArea||{},null==h.splitLine.show&&(h.splitLine.show=!0),null==h.splitArea.show&&(h.splitArea.show=!0),d.boundaryGap=!1,h.min=0,h.max=1,h[E]=1/(n.splitNumber||5),h[B]={show:!1},h[N]={show:!1},h[O]={show:!1};var f=a(c,function(t){return(t[G]||0)===o}),p=e.map(u,function(){return[]});r(f,function(i){if(i.indicator=u,i.data[0]&&e[Fi](i.data[0].value)){var n=i.data,r=n[0];i.data=r.value,i.name=r.name;for(var a=1;a<n[on];a++){var r=n[a],o=e.clone(i);t[nn].push(e[ln](o,{name:r.name,data:r.value,indicator:u}))}for(var a=0;a<r.value[on];a++)for(var s=0;s<n[on];s++)p[a].push(n[s].value[a])}}),r(p,function(t,e){var r=new i,a=1/0,o=-1/0,s=t[on];if(s){for(var l=0;s>l;l++)a=Math.min(a,t[l]),o=Math.max(o,t[l]);r[vi](a,o),r.niceExtent(n.splitNumber||5);var c=r[pi]();null==u[e].min&&(u[e].min=c[0]),null==u[e].max&&(u[e].max=c[1])}})}}))}}),e("echarts/chart/heatmap/HeatmapView",[Zn,qe,"./HeatmapLayer",Gn,si],function(t){function e(t,e,i){var n=t[1]-t[0];e=a.map(e,function(e){return{interval:[(e[E][0]-t[0])/n,(e[E][1]-t[0])/n]}});var r=e[on],o=0;return function(t){for(var n=o;r>n;n++){var a=e[n][E];if(a[0]<=t&&t<=a[1]){o=n;break}}if(n===r)for(var n=o-1;n>=0;n--){var a=e[n][E];if(a[0]<=t&&t<=a[1]){o=n;break}}return n>=0&&r>n&&i[n]}}function i(t,e){var i=t[1]-t[0];return e=[(e[0]-t[0])/i,(e[1]-t[0])/i],function(t){return t>=e[0]&&t<=e[1]}}var n=t(qe),r=t("./HeatmapLayer"),a=t(Gn);return t(si)[Bi]({type:"heatmap",render:function(t,e,i){var n;if(e[mn]("visualMap",function(e){e.eachTargetSeries(function(i){i===t&&(n=e)})}),!n)throw new Error("Heatmap must use with visualMap");this.group[In]();var r=t[zn];"cartesian2d"===r.type?this._renderOnCartesian(r,t,i):"geo"===r.type&&this._renderOnGeo(r,t,n,i)},_renderOnCartesian:function(t,e){var i=t[Ye]("x"),r=t[Ye]("y"),a=this.group;if(i.type!==je||r.type!==je)throw new Error("Heatmap on cartesian must have two category axes");if(!i.onBand||!r.onBand)throw new Error("Heatmap on cartesian must have two axes with boundaryGap true");var o=i.getBandWidth(),s=r.getBandWidth(),l=e[Bn]();l.each(["x","y","z"],function(i,r,c,u){var h=l[Ne](u),d=t[di]([i,r]);if(!isNaN(c)){var f=new n.Rect({shape:{x:d[0]-o/2,y:d[1]-s/2,width:o,height:s},style:{fill:l[ze](u,"color")}}),p=h[_n](oi)[Ln](["color"]),v=h[_n]("itemStyle.emphasis")[Ln](),m=h[_n](Pe),g=h[_n](De),y=e[Le](u),x="-";y&&null!=y[2]&&(x=y[2]),m.get("show")&&(n.setText(p,m),p.text=e[ke](u,Ze)||x),g.get("show")&&(n.setText(v,g),v.text=e[ke](u,Te)||x),f[Mi](p),n[Ae](f,v),a.add(f),l[Re](u,f)}})},_renderOnGeo:function(t,a,o,s){var l=o.targetVisuals.inRange,c=o.targetVisuals.outOfRange,u=a[Bn](),h=this._hmLayer||this._hmLayer||new r;h.blurSize=a.get("blurSize");var d=t.getViewRect().clone(),f=t.getRoamTransform();d[R](f);var p=Math.max(d.x,0),v=Math.max(d.y,0),m=Math.min(d.width+d.x,s[yn]()),g=Math.min(d[fn]+d.y,s[gn]()),y=m-p,x=g-v,_=u[we](["lng","lat","value"],function(e,i,n){var r=t[di]([e,i]);return r[0]-=p,r[1]-=v,r.push(n),r}),w=o[pi](),b="visualMap.continuous"===o.type?i(w,o[xn].range):e(w,o.getPieceList(),o[xn][J]);h[dn](_,y,x,l.color.getNormalizer(),{inRange:l.color.getColorMapper(),outOfRange:c.color.getColorMapper()},b);var M=new n.Image({style:{width:y,height:x,x:p,y:v,image:h[Mn]},silent:!0});this.group.add(M)}})}),e("echarts/chart/treemap/TreemapSeries",[Zn,li,"../../data/Tree",Gn,We,W],function(t){function e(t,i){var n=0;a.each(t.children,function(t){e(t,i);var r=t.value;a[Fi](r)&&(r=r[0]),n+=r});var r=t.value;i>=0&&(a[Fi](r)?r=r[0]:t.value=new Array(i)),(null==r||isNaN(r))&&(r=n),0>r&&(r=0),i>=0?t.value[0]=r:t.value=r}function i(t,e){var i=e.get("color");if(i){t=t||[];var n;if(a.each(t,function(t){var e=new o(t),i=e.get("color");(e.get("itemStyle.normal.color")||i&&"none"!==i)&&(n=!0)}),!n){var r=t[0]||(t[0]={});r.color=i.slice()}return t}}var n=t(li),r=t("../../data/Tree"),a=t(Gn),o=t(We),s=t(W),l=s.encodeHTML,c=s.addCommas;return n[ln]({type:"series.treemap",dependencies:["grid","polar"],defaultOption:{left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),root:null,visualDimension:0,zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:1500,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{normal:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}}},label:{normal:{show:!0,position:["50%","50%"],textStyle:{align:"center",baseline:"middle",color:"#fff",ellipsis:!0}}},itemStyle:{normal:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{}},color:"none",colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(t,n){var o=t.data||[],s=t.name;null==s&&(s=t.name);var l={name:s,children:t.data},c=(o[0]||{}).value;e(l,a[Fi](c)?c[on]:-1);var u=t.levels||[];return u=t.levels=i(u,n),r.createTree(l,this,u).data},getViewRoot:function(){var t=this[xn].root,e=this[Bn]().tree.root;return t&&e.getNodeById(t)||e},formatTooltip:function(t){var e=this[Bn](),i=this[Le](t),n=c(a[Fi](i)?i[0]:i),r=e[ci](t);return l(r)+": "+n},getDataParams:function(t){for(var e=n[Sn][Ui].apply(this,arguments),i=this[Bn](),r=i.tree.getNodeByDataIndex(t),a=e.treePathInfo=[];r;){var o=r[Yi];a.push({name:r.name,dataIndex:o,value:this[Le](o)}),r=r[V]}return a[I](),e},setLayoutInfo:function(t){this.layoutInfo=this.layoutInfo||{},a[ln](this.layoutInfo,t)},mapIdToIndex:function(t){var e=this._idIndexMap;e||(e=this._idIndexMap={},this._idIndexMapCount=0);var i=e[t];return null==i&&(e[t]=i=this._idIndexMapCount++),i}})}),e("echarts/chart/treemap/TreemapView",[Zn,Gn,qe,"../../data/DataDiffer","./helper","./Breadcrumb","../../component/helper/RoamController",P,z,"../../util/animation",si],function(t){function e(){return{nodeGroup:[],background:[],content:[]}}var i=t(Gn),n=t(qe),r=t("../../data/DataDiffer"),a=t("./helper"),o=t("./Breadcrumb"),s=t("../../component/helper/RoamController"),l=t(P),c=t(z),u=t("../../util/animation"),h=i.bind,d=n.Group,f=n.Rect,p=i.each,v=3;return t(si)[Bi]({type:"treemap",init:function(){this._containerGroup,this._storage=e(),this._oldTree,this._breadcrumb,this._controller,this._state="ready",this._mayClick},render:function(t,e,n,r){var o=e[ui]({mainType:"series",subType:"treemap",query:r});if(!(i[Zi](o,t)<0)){this.seriesModel=t,this.api=n,this[D]=e;var s=r&&r.type,l=t.layoutInfo,c=!this._oldTree,u=this._giveContainerGroup(l),h=this._doRender(u,t);c||s&&"treemapZoomToNode"!==s?h.renderFinally():this._doAnimation(u,h,t),this._resetController(n);var d=a.retrieveTargetInfo(r,t);this._renderBreadcrumb(t,n,d)}},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new d,this._initEvents(e),this.group.add(e)),e[Si]=[t.x,t.y],e},_doRender:function(t,n){function a(t,e,n,o,s){function l(t){return t.getId()}function c(i,r){var l=null!=i?t[i]:null,c=null!=r?e[r]:null,u=s||l===x;u||(l=null);var h=y(l,c,n);h&&a(l&&l.viewChildren||[],c&&c.viewChildren||[],h,o,u)}o?(e=t,p(t,function(t,e){!t.isRemoved()&&c(e,e)})):new r(e,t,l,l).add(c)[dn](c)[cn](i.curry(c,null))[Oe]()}function o(t){var i=e();return t&&p(t,function(t,e){var n=i[e];p(t,function(t){t&&(n.push(t),t.__tmWillDelete=e)})}),i}function s(){p(g,function(t){p(t,function(t){t[k]&&t[k][cn](t)})}),p(v,function(t){t.invisible=!0}),p(m,function(t){t.invisible=!1,t.__tmWillVisible=!1,t.dirty()})}var l=n[Bn]().tree,c=this._oldTree,u=e(),d=e(),f=this._storage,v=[],m=[],g=[],y=h(this._renderNode,this,d,f,u,v,m),x=n.getViewRoot();a(l.root?[l.root]:[],c&&c.root?[c.root]:[],t,l===c||!c,x===l.root);var g=o(f);return this._oldTree=l,this._storage=d,{lastsForAnimation:u,willDeleteEls:g,renderFinally:s}},_renderNode:function(t,e,n,r,a,o,s,l){function c(i,r){var a=null!=m&&e[i][m],o=n[i];return a?(e[i][m]=null,u(o,a,i)):_||(a=new r,h(o,a,i)),t[i][v]=a}function u(t,e,n){var r=t[v]={};r.old="nodeGroup"===n?e[Si].slice():i[ln]({},e.shape)}function h(t,e,i){if("background"===i)e.invisible=!0,e.__tmWillVisible=!0,a.push(e);else{var r,s=o[V],l=0,c=0;s&&(r=n.background[s[X]()])&&(l=r.old.width,c=r.old[fn]);var u=t[v]={};u.old="nodeGroup"===i?[l,c]:{x:l,y:c,width:0,height:0},u.fadein="nodeGroup"!==i}}function p(t,e){_?!t.invisible&&r.push(t):(t[Mi](e),t.__tmWillVisible||(t.invisible=!1))}var v=o&&o[X](),m=s&&s[X]();if(o){var g=o[L](),y=g.width,x=g[fn],_=g.invisible,w=c("nodeGroup",d);if(w){l.add(w),w[Si]=[g.x,g.y],w.__tmNodeWidth=y,w.__tmNodeHeight=x;var b=c("background",f);b&&(b[me]({x:0,y:0,width:y,height:x}),p(b,{fill:o[pe](H,!0)}),w.add(b));var M=o.viewChildren;if(!M||!M[on]){var S=g.borderWidth,C=c("content",f);if(C){var A=Math.max(y-2*S,0),T=Math.max(x-2*S,0),k=o[_n](Pe),D=o[_n]("label.normal.textStyle"),z=o[_n]().get("name"),P=D.getTextRect(z),I=k.get("show");!I||P[fn]>T?z="":P.width>A&&(z=D.get("ellipsis")?D.ellipsis(z,A):""),C[Yi]=o[Yi],C[Xi]=this.seriesModel[Xi],C.culling=!0,C[me]({x:S,y:S,width:A,height:T}),p(C,{fill:o[pe]("color",!0),text:z,textPosition:k.get(Si),textFill:D[ki](),textAlign:D.get("align"),textBaseline:D.get("baseline"),textFont:D[Di]()}),w.add(C)}}return w}}},_doAnimation:function(t,e,n){if(n.get(Fe)){var r=n.get("animationDurationUpdate"),a=n.get("animationEasing"),o=u.createWrap(),s=this.seriesModel.getViewRoot(),l=this._storage.nodeGroup[s[X]()];l&&l[Wi](function(t){var e;if(!t.invisible&&(e=t.__tmWillDelete)){var i=0,n=0,s=t[k];s.__tmWillDelete||(i=s.__tmNodeWidth,n=s.__tmNodeHeight);var l="nodeGroup"===e?{position:[i,n],style:{opacity:0}}:{shape:{x:i,y:n,width:0,height:0},style:{opacity:0}};o.add(t,l,r,a)}}),p(this._storage,function(t,n){p(t,function(t,s){var l,c=e.lastsForAnimation[n][s];c&&("nodeGroup"===n?(l={position:t[Si].slice()},t[Si]=c.old):(l={shape:i[ln]({},t.shape)},t[me](c.old),c.fadein?(t[Mi](bi,0),l.style={opacity:1}):1!==t.style[bi]&&(l.style={opacity:1})),o.add(t,l,r,a))})},this),this._state="animating",o.done(h(function(){this._state="ready",e.renderFinally()},this)).start()}},_resetController:function(t){var e=this._controller;e||(e=this._controller=new s(t.getZr()),e[T](),e.on("pan",h(this._onPan,this)),e.on("zoom",h(this._onZoom,this))),e.rect=new l(0,0,t[yn](),t[gn]())},_clearController:function(){var t=this._controller;t&&(t.off("pan").off("zoom"),t=null)},_isRoamEnabled:function(t){var e=this.seriesModel.get("roam");return e===!0||("scale"===e||"zoom"===e)&&"zoom"===t||e===t&&"move"===t},_onPan:function(t,e){if(this._isRoamEnabled("move")&&(this._mayClick=!1,"animating"!==this._state&&(Math.abs(t)>v||Math.abs(e)>v))){var i=this.seriesModel.getViewRoot();if(!i)return;var n=i[L]();if(!n)return;this.api[sn]({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t,y:n.y+e,width:n.width,height:n[fn]}})}},_onZoom:function(t,e,i){if(this._isRoamEnabled("zoom")&&(this._mayClick=!1,"animating"!==this._state)){var n=this.seriesModel.getViewRoot();if(!n)return;var r=n[L]();if(!r)return;var a=new l(r.x,r.y,r.width,r[fn]),o=this.seriesModel.layoutInfo;e-=o.x,i-=o.y;var s=c[yi]();c.translate(s,s,[-e,-i]),c.scale(s,s,[t,t]),c.translate(s,s,[e,i]),a[R](s),this.api[sn]({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a[fn]}})}},_initEvents:function(t){function e(t){var e=this.seriesModel.get("nodeClick",!0);if(e){var i=this.findTarget(t.offsetX,t.offsetY);if(i)if("zoomToNode"===e)this._zoomToNode(i);else if("link"===e){var n=i.node,r=n.hostTree.data[Ne](n[Yi]),a=r.get("link",!0),o=r.get($i,!0)||"blank";a&&window.open(a,o)}}}t.on("mousedown",function(){"ready"===this._state&&(this._mayClick=!0)},this),t.on("mouseup",function(t){this._mayClick&&(this._mayClick=!1,"ready"===this._state&&e.call(this,t))},this)},_renderBreadcrumb:function(t,e,i){function n(t){this._zoomToNode({node:t})}i||(i=this.findTarget(e[yn]()/2,e[gn]()/2),i||(i={node:t[Bn]().tree.root})),(this._breadcrumb||(this._breadcrumb=new o(this.group,h(n,this))))[Qi](t,e,i.node)},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup[In](),this._storage=e(),this._state="ready",this._breadcrumb&&this._breadcrumb[cn]()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api[sn]({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var i,n=this.seriesModel.getViewRoot();return n.eachNode({attr:"viewChildren",order:"preorder"},function(n){var r=this._storage.background[n[X]()];if(r){var a=r.transformCoordToLocal(t,e),o=r.shape;if(!(o.x<=a[0]&&a[0]<=o.x+o.width&&o.y<=a[1]&&a[1]<=o.y+o[fn]))return!1;i={node:n,offsetX:a[0],offsetY:a[1]}}},this),i}})}),e("echarts/chart/treemap/treemapVisual",[Zn,"../../visual/VisualMapping","zrender/tool/color",Gn],function(t){function e(t,a,s,c,u,d){var p=t[_n](),v=t[L]();if(!v.invisible){var m,g=t[_n](f),y=s[t.depth],x=i(g,a,y,c),_=g.get(H),w=g.get("borderColorSaturation");null!=w&&(m=n(x,t),_=r(w,m)),t[En](H,_);var b=t.viewChildren;if(b&&b[on]){var M=o(t,p,v,g,x,b);h.each(b,function(t,i){if(t.depth>=u[on]||t===u[t.depth]){var n=l(p,x,t,i,M,d);e(t,n,s,c,u,d)}})}else m=n(x,t),t[En]("color",m)}}function i(t,e,i,n){var r=h[ln]({},e);return h.each(["color","colorAlpha","colorSaturation"],function(a){var o=t.get(a,!0);null==o&&i&&(o=i[a]),null==o&&(o=e[a]),null==o&&(o=n.get(a)),null!=o&&(r[a]=o)}),r}function n(t){var e=a(t,"color");if(e){var i=a(t,"colorAlpha"),n=a(t,"colorSaturation");return n&&(e=u.modifyHSL(e,null,null,n)),i&&(e=u.modifyAlpha(e,i)),e}}function r(t,e){return null!=e?u.modifyHSL(e,null,null,t):null}function a(t,e){var i=t[e];return null!=i&&"none"!==i?i:void 0}function o(t,e,i,n,r,a){if(a&&a[on]){var o=s(e,"color")||null!=r.color&&"none"!==r.color&&(s(e,"colorAlpha")||s(e,"colorSaturation"));if(o){var l=e.get("colorMappingBy"),u={type:o.name,dataExtent:i.dataExtent,visual:o.range};"color"!==u.type||"index"!==l&&"id"!==l?u.mappingMethod="linear":(u.mappingMethod=je,u.loop=!0);var h=new c(u);return h.__drColorMappingBy=l,h}}}function s(t,e){var i=t.get(e);return d(i)&&i[on]?{name:e,range:i}:null}function l(t,e,i,n,r,a){var o=h[ln]({},e);if(r){var s=r.type,l="color"===s&&r.__drColorMappingBy,c="index"===l?n:"id"===l?a.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));o[s]=r.mapValueToVisual(c)}return o}var c=t("../../visual/VisualMapping"),u=t("zrender/tool/color"),h=t(Gn),d=h[Fi],f=oi;return function(t,i){var n={mainType:"series",subType:"treemap",query:i};t[mn](n,function(t){var i=t[Bn]().tree,n=i.root,r=t[_n](f);if(!n.isRemoved()){var a=h.map(i.levelModels,function(t){return t?t.get(f):null});e(n,{},a,r,t.getViewRoot().getAncestors(),t)}})}}),e("echarts/chart/treemap/treemapLayout",[Zn,Gn,U,Qe,P,"./helper"],function(t){function e(t,e,n){var r={mainType:"series",subType:"treemap",query:n};t[mn](r,function(t){var r=e[yn](),a=e[gn](),o=t.get("size")||[],s=g(y(t.get("width"),o[0]),r),l=g(y(t.get(fn),o[1]),a),d=m[Ai](t[Ti](),{width:e[yn](),height:e[gn]()}),f=n&&n.type,p=_.retrieveTargetInfo(n,t),v="treemapRender"===f||"treemapMove"===f?n.rootRect:null,w=t.getViewRoot();if("treemapMove"!==f){var b="treemapZoomToNode"===f?c(t,p,s,l):v?[v.width,v[fn]]:[s,l],M=t.get("sort");M&&"asc"!==M&&"desc"!==M&&(M="desc");var S={squareRatio:t.get("squareRatio"),sort:M};w.setLayout({x:0,y:0,width:b[0],height:b[1],area:b[0]*b[1]}),i(w,S)}w.setLayout(u(d,v,p),!0),t.setLayoutInfo(d),h(w,new x(-d.x,-d.y,r,a))})}function i(t,e){var r,a;if(!t.isRemoved()){var o=t[L]();r=o.width,a=o[fn];var c=t[_n](oi),u=c.get("borderWidth"),h=c.get("gapWidth")/2,v=u-h,m=t[_n]();t.setLayout({borderWidth:u},!0),r=d(r-2*v,0),a=d(a-2*v,0);var g=r*a,y=n(t,m,g,e);if(y[on]){var x={x:v,y:v,width:r,height:a},_=f(r,a),w=1/0,b=[];b.area=0;for(var M=0,S=y[on];S>M;){var C=y[M];b.push(C),b.area+=C[L]().area;var A=s(b,_,e.squareRatio);w>=A?(M++,w=A):(b.area-=b.pop()[L]().area,l(b,_,x,h,!1),_=f(x.width,x[fn]),b[on]=b.area=0,w=1/0)}b[on]&&l(b,_,x,h,!0);var T;if(!e.hideChildren){var k=m.get("childrenVisibleMin");null!=k&&k>g&&(T=!0)}for(var M=0,S=y[on];S>M;M++){var D=p[ln]({hideChildren:T},e);i(y[M],D)}}}}function n(t,e,i,n){var s=t.children||[],l=n.sort;if("asc"!==l&&"desc"!==l&&(l=null),n.hideChildren)return t.viewChildren=[];s=p[On](s,function(t){return!t.isRemoved()}),a(s,l);var c=o(e,s,l);if(0===c.sum)return t.viewChildren=[];if(c.sum=r(e,i,c.sum,l,s),0===c.sum)return t.viewChildren=[];for(var u=0,h=s[on];h>u;u++){var d=s[u].getValue()/c.sum*i;s[u].setLayout({area:d})}return t.viewChildren=s,t.setLayout({dataExtent:c.dataExtent},!0),s}function r(t,e,i,n,r){if(!n)return i;for(var a=t.get("visibleMin"),o=r[on],s=o,l=o-1;l>=0;l--){var c=r["asc"===n?o-l-1:l].getValue();a>c/i*e&&(s=l,i-=c)}return"asc"===n?r[tn](0,o-s):r[tn](s,o-s),i}function a(t,e){return e&&t.sort(function(t,i){return"asc"===e?t.getValue()-i.getValue():i.getValue()-t.getValue()}),t}function o(t,e,i){for(var n=0,r=0,a=e[on];a>r;r++)n+=e[r].getValue();var o,s=t.get("visualDimension");if(e&&e[on])if("value"===s&&i)o=[e[e[on]-1].getValue(),e[0].getValue()],"asc"===i&&o[I]();else{var o=[1/0,-1/0];p.each(e,function(t){var e=t.getValue(s);e<o[0]&&(o[0]=e),e>o[1]&&(o[1]=e)})}else o=[0/0,0/0];return{sum:n,dataExtent:o}}function s(t,e,i){for(var n,r=0,a=1/0,o=0,s=t[on];s>o;o++)n=t[o][L]().area,n&&(a>n&&(a=n),n>r&&(r=n));var l=t.area*t.area,c=e*e*i;return l?d(c*r/l,l/(c*a)):1/0}function l(t,e,i,n,r){var a=e===i.width?0:1,o=1-a,s=["x","y"],l=["width",fn],c=i[s[a]],u=e?t.area/e:0;(r||u>i[l[o]])&&(u=i[l[o]]);for(var h=0,p=t[on];p>h;h++){var v=t[h],m={},g=u?v[L]().area/u:0,y=m[l[o]]=d(u-2*n,0),x=i[s[a]]+i[l[a]]-c,_=h===p-1||g>x?x:g,w=m[l[a]]=d(_-2*n,0);m[s[o]]=i[s[o]]+f(n,y/2),m[s[a]]=c+f(n,w/2),c+=_,v.setLayout(m,!0)}i[s[o]]+=u,i[l[o]]-=u}function c(t,e,i,n){var r=(e||{}).node,a=[i,n];if(!r||r===t.getViewRoot())return a;for(var o,s=i*n,l=s*t.get("zoomToNodeRatio");o=r[V];){for(var c=0,u=o.children,h=0,d=u[on];d>h;h++)c+=u[h].getValue();var f=r.getValue();if(0===f)return a;l*=c/f;var p=o[_n](oi).get("borderWidth");isFinite(p)&&(l+=4*p*p+4*p*Math.pow(l,.5)),l>v.MAX_SAFE_INTEGER&&(l=v.MAX_SAFE_INTEGER),r=o}s>l&&(l=s);var m=Math.pow(l/s,.5);return[i*m,n*m]}function u(t,e,i){if(e)return{x:e.x,y:e.y};var n={x:0,y:0};if(!i)return n;var r=i.node,a=r[L]();if(!a)return n;for(var o=[a.width/2,a[fn]/2],s=r;s;){var l=s[L]();o[0]+=l.x,o[1]+=l.y,s=s[V]}return{x:t.width/2-o[0],y:t[fn]/2-o[1]}}function h(t,e){var i=t[L]();t.setLayout({invisible:!e.intersect(i)},!0);for(var n=t.viewChildren||[],r=0,a=n[on];a>r;r++){var o=new x(e.x-i.x,e.y-i.y,e.width,e[fn]);h(n[r],o)}}var d=Math.max,f=Math.min,p=t(Gn),v=t(U),m=t(Qe),g=v[Ce],y=p.retrieve,x=t(P),_=t("./helper");return e}),e("echarts/chart/map/MapSeries",[Zn,le,si,li,Gn,"../../data/helper/completeDimensions",W,"../helper/dataSelectableMixin"],function(t){function e(t,e){for(var i={},n=e.features,r=0;r<t[on];r++)i[t[r].name]=t[r];for(var r=0;r<n[on];r++){var a=n[r].properties.name;i[a]||t.push({value:0/0,name:a})}return t}var i=t(le),n=t(si),r=t(li),a=t(Gn),o=t("../../data/helper/completeDimensions"),s=t(W),l=s.encodeHTML,c=s.addCommas,u=t("../helper/dataSelectableMixin"),h=r[ln]({type:"series.map",needsDrawMap:!1,seriesGroup:[],init:function(t){t=this._fillOption(t),this[xn]=t,this[oe]("init",arguments),this.updateSelectedMap()},getInitialData:function(t){var e=o(["value"],t.data||[]),n=new i(e,this);return n[re](t.data),n},mergeOption:function(t){t=this._fillOption(t),r[Sn][ae].call(this,t),this.updateSelectedMap()},_fillOption:function(t){t=a[ln]({},t);var i=n.getMap(t.mapType),r=i&&i.geoJson;return r&&t.data&&(t.data=e(t.data,r)),t},setRoamZoom:function(t){var e=this[xn].roamDetail;e&&(e.zoom=t)},setRoamPan:function(t,e){var i=this[xn].roamDetail;i&&(i.x=t,i.y=e)},formatTooltip:function(t){for(var e=this._data,i=c(this[Le](t)),n=e[ci](t),r=this.seriesGroup,a=[],o=0;o<r[on];o++)isNaN(r[o][Le](t))||a.push(l(r[o].name));return a.join(", ")+"<br />"+n+" : "+i},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"china",left:"center",top:"center",showLegendSymbol:!0,dataRangeHoverLink:!0,roamDetail:{x:0,y:0,zoom:1},label:{normal:{show:!1,textStyle:{color:"#000"}},emphasis:{show:!1,textStyle:{color:"#000"}}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{areaColor:"rgba(255,215, 0, 0.8)"}}}});return a.mixin(h,u),h}),e("echarts/chart/map/MapView",[Zn,qe,"../../component/helper/MapDraw",si],function(t){var e=t(qe),i=t("../../component/helper/MapDraw");t(si)[Bi]({type:"map",render:function(t,e,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var a=this.group;if(a[In](),r&&"geoRoam"===r.type&&r.component===nn&&r.name===t.name){var o=this._mapDraw;o&&a.add(o.group)}else if(t.needsDrawMap){var o=this._mapDraw||new i(n,!0);a.add(o.group),o.draw(t,e,n,this),this._mapDraw=o}else this._mapDraw&&this._mapDraw[cn](),this._mapDraw=null;t.get("showLegendSymbol")&&e[Je]("legend")&&this._renderSymbols(t,e,n)}},remove:function(){this._mapDraw&&this._mapDraw[cn](),this._mapDraw=null,this.group[In]()},_renderSymbols:function(t){var i=t[Bn](),n=this.group;i.each("value",function(t,r){if(!isNaN(t)){var a=i[Ge](r);if(a&&a.point){var o=a.point,s=a.offset,l=new e[A]({style:{fill:i[pe]("color")},shape:{cx:o[0]+9*s,cy:o[1],r:3},silent:!0,z2:10});if(!s){var c=i[ci](r),u=i[Ne](r),h=u[_n](Pe),d=u[_n](De),f=h[_n](Pi),p=d[_n](Pi),v=i[Ve](r);l[Mi]({textPosition:"bottom"});var m=function(){l[Mi]({text:d.get("show")?c:"",textFill:p[ki](),textFont:p[Di]()})},g=function(){l[Mi]({text:h.get("show")?c:"",textFill:f[ki](),textFont:f[Di]()})};v.on(Ji,m).on(Ki,g).on(Te,m).on(Ze,g),g()}n.add(l)}}})}})}),e("echarts/action/geoRoam",[Zn,Gn,"./roamHelper","../echarts"],function(t){var e=t(Gn),i=t("./roamHelper"),n=t("../echarts"),r={type:"geoRoam",event:"geoRoam",update:"updateLayout"};n[Tn](r,function(t,n){var r=t.component||nn;n[mn](r,function(n){if(n.name===t.name){var a=n[zn];if("geo"!==a.type)return;var o=n[_n]("roamDetail"),s=i.calcPanAndZoom(o,t);n.setRoamPan&&n.setRoamPan(s.x,s.y),n.setRoamZoom&&n.setRoamZoom(s.zoom),a&&a.setPan(s.x,s.y),a&&a.setZoom(s.zoom),r===nn&&e.each(n.seriesGroup,function(t){t.setRoamPan(s.x,s.y),t.setRoamZoom(s.zoom)})}})})}),e("echarts/coord/geo/geoCreator",[Zn,"./GeoModel","./Geo",Qe,Gn,si],function(t){function e(t,e){var i=this[Li](),n=t[Ti]();n.aspect=i.width/i[fn]*.75;var r=a[Ai](n,{width:e[yn](),height:e[gn]()});this.setViewRect(r.x,r.y,r.width,r[fn]);var o=t[_n]("roamDetail"),s=o.get("x")||0,l=o.get("y")||0,c=o.get("zoom")||1;this.setPan(s,l),this.setZoom(c)}function i(t,e){o.each(e.get("geoCoord"),function(e,i){t.addGeoCoord(i,e)})}function n(t){console.error("Map "+t+" not exists")}t("./GeoModel");var r=t("./Geo"),a=t(Qe),o=t(Gn),s={},l={create:function(t,a){var l=[];t[mn]("geo",function(t,o){var c=t.get("map"),u=s[c];u||n(c);var h=new r(c+o,c,u&&u.geoJson,u&&u.specialAreas,t.get("nameMap"));l.push(h),i(h,t),t[zn]=h,h.model=t,h[wn]=e,h[wn](t,a)}),t[rn](function(t){var e=t.get(zn);if("geo"===e){var i=t.get("geoIndex")||0;t[zn]=l[i]}});var c={};return t[Nn]("map",function(t){var e=t.get("map");c[e]=c[e]||[],c[e].push(t)}),o.each(c,function(t,c){var u=s[c];u||n(name);var h=o.map(t,function(t){return t.get("nameMap")}),d=new r(c,c,u&&u.geoJson,u&&u.specialAreas,o.mergeAll(h));l.push(d),d[wn]=e,d[wn](t[0],a),o.each(t,function(t){t[zn]=d,i(d,t)})}),l},registerMap:function(t,e,i){e.geoJson&&!e.features&&(i=e.specialAreas,e=e.geoJson),typeof e===bn&&(e=typeof JSON!==C&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")()),s[t]={geoJson:e,specialAreas:i}},getMap:function(t){return s[t]}},c=t(si);c.registerMap=l.registerMap,c.getMap=l.getMap,c.loadMap=function(){},c.registerCoordinateSystem("geo",l)}),e("echarts/chart/map/mapSymbolLayout",[Zn,Gn],function(t){var e=t(Gn);return function(t){var i={};t[Nn]("map",function(n){var r=n.get("mapType");if(!i[r]){var a={};e.each(n.seriesGroup,function(e){var i=e[zn],n=e[Bn]();e.get("showLegendSymbol")&&t[Je]("legend")&&n.each("value",function(t,e){var r=n[ci](e),o=i.getRegion(r);if(o&&!isNaN(t)){var s=a[r]||0,l=i[di](o[Ci]);a[r]=s+1,n[hi](e,{point:l,offset:s})}})});var o=n[Bn]();o.each(function(t){var e=o[ci](t),i=o[Ge](t)||{};i.showLabel=!a[e],o[hi](t,i)}),i[r]=!0}})}}),e("echarts/chart/map/mapDataStatistic",[Zn,Gn],function(t){function e(t,e){for(var i={},n=["value"],r=0;r<t[on];r++)t[r].each(n,function(e,n){var a=t[r][ci](n);i[a]=i[a]||[],isNaN(e)||i[a].push(e)});return t[0].map(n,function(n,r){for(var a=t[0][ci](r),o=0,s=1/0,l=-1/0,c=i[a][on],u=0;c>u;u++)s=Math.min(s,i[a][u]),l=Math.max(l,i[a][u]),o+=i[a][u];var h;return h="min"===e?s:"max"===e?l:"average"===e?o/c:o,0===c?0/0:h})}var i=t(Gn);return function(t){var n={};t[Nn]("map",function(t){var e=t.get("map");n[e]=n[e]||[],n[e].push(t)}),i.each(n,function(t){var n=e(i.map(t,function(t){return t[Bn]()}),t[0].get("mapValueCalculation"));t[0].seriesGroup=[],t[0].setData(n);for(var r=0;r<t[on];r++)t[r].seriesGroup=t,t[r].needsDrawMap=0===r})}}),e("echarts/chart/map/backwardCompat",[Zn,Gn],function(t){function e(t){var e={};return i.each(n,function(i){null!=t[i]&&(e[i]=t[i])}),e}var i=t(Gn),n=["x","y","x2","y2","width",fn,"map","roam","roamDetail","label",Oi],r={};return function(t){var n=[];i.each(t[nn],function(t){"map"===t.type&&n.push(t),i[ln](r,t.geoCoord)});var a={};i.each(n,function(n){if(n.map=n.map||n.mapType,i[Dn](n,n.mapLocation),n.markPoint){var o=n.markPoint;if(o.data=i.map(o.data,function(t){if(!i[Fi](t.value)){var e;t.geoCoord?e=t.geoCoord:t.name&&(e=r[t.name]);var n=e?[e[0],e[1]]:[0/0,0/0];null!=t.value&&n.push(t.value),t.value=n}return t}),!n.data||!n.data[on]){t.geo||(t.geo=[]);var s=a[n.map];s||(s=a[n.map]=e(n),t.geo.push(s));var l=n.markPoint;l.type=t.effect&&t.effect.show?"effectScatter":"scatter",l[zn]="geo",l.geoIndex=i[Zi](t.geo,s),l.name=n.name,t[nn][tn](i[Zi](t[nn],n),1,l)}}})}}),e("echarts/chart/lines/LinesSeries",[Zn,li,le,Gn],function(t){var e=t(li),i=t(le),n=t(Gn);return e[ln]({type:"series.lines",dependencies:["grid","polar"],getInitialData:function(t){function e(t,e,i,n){return t.coord&&t.coord[n]}var r=[],a=[],o=[];n.each(t.data,function(t){r.push(t[0]),a.push(t[1]),o.push(n[ln](n[ln]({},n[Fi](t[0])?null:t[0]),n[Fi](t[1])?null:t[1]))});var s=t[zn];if("cartesian2d"!==s&&"geo"!==s)throw new Error("Coordinate system can only be cartesian2d or geo in lines");var l="geo"===s?["lng","lat"]:["x","y"],c=new i(l,this),u=new i(l,this),h=new i(["value"],this);return c[re](r,null,e),u[re](a,null,e),h[re](o),this.fromData=c,this.toData=u,h},formatTooltip:function(t){var e=this.fromData[ci](t),i=this.toData[ci](t);return e+" > "+i},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,geoIndex:0,effect:{show:!1,period:4,symbol:"circle",symbolSize:3,trailLength:.2},large:!1,largeThreshold:2e3,label:{normal:{show:!1,position:"end"}},lineStyle:{normal:{opacity:.5}}}})}),e("echarts/chart/lines/LinesView",[Zn,"../helper/LineDraw","../helper/EffectLine","../helper/Line",si],function(t){var e=t("../helper/LineDraw"),i=t("../helper/EffectLine"),n=t("../helper/Line");t(si)[Bi]({type:"lines",init:function(){},render:function(t,r,a){var o=t[Bn](),s=this._lineDraw,l=t.get("effect.show");l!==this._hasEffet&&(s&&s[cn](),s=this._lineDraw=new e(l?i:n),this._hasEffet=l);var c=t.get(qi),u=t.get("effect.trailLength"),h=a.getZr();h.painter.getLayer(c).clear(!0),null!=this._lastZlevel&&h.configLayer(this._lastZlevel,{motionBlur:!1}),l&&u&&h.configLayer(c,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(u/10+.9,1),0)}),this.group.add(s.group),s[ri](o),this._lastZlevel=c},updateLayout:function(t,e,i){this._lineDraw[hn]();var n=i.getZr();n.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw[cn](e,!0)}})}),e("echarts/chart/lines/linesLayout",[Zn],function(){return function(t){t[Nn]("lines",function(t){var e=t[zn],i=t.fromData,n=t.toData,r=t[Bn](),a=e[fi];i.each(a,function(t,n,r){i[hi](r,e[di]([t,n]))}),n.each(a,function(t,i,r){n[hi](r,e[di]([t,i]))}),r.each(function(t){var e,a=i[Ge](t),o=n[Ge](t),s=r[Ne](t).get("lineStyle.normal.curveness");s>0&&(e=[(a[0]+o[0])/2-(a[1]-o[1])*s,(a[1]+o[1])/2-(o[0]-a[0])*s]),r[hi](t,[a,o,e])})})}}),e("echarts/visual/seriesColor",[Zn,"zrender/graphic/Gradient"],function(t){var e=t("zrender/graphic/Gradient");return function(t,i,n){function r(t){var r=[i,Ze,"color"],a=n.get("color"),o=t[Bn](),s=t.get(r)||a[t[Xi]%a[on]];o[En]("color",s),n.isSeriesFiltered(t)||(typeof s!==Gi||s instanceof e||o.each(function(e){o[ce](e,"color",s(t[Ui](e)))}),o.each(function(t){var e=o[Ne](t),i=e.get(r,!0);null!=i&&o[ce](t,"color",i)}))}t?n[Nn](t,r):n[rn](r)}}),e("echarts/chart/graph/GraphSeries",[Zn,le,Gn,"../helper/createGraphFromNodeEdge",si],function(t){var e=t(le),i=t(Gn),n=t("../helper/createGraphFromNodeEdge");return t(si).extendSeriesModel({type:"series.graph",init:function(){this[oe]("init",arguments),this.legendDataProvider=function(){return this._categoriesData},this._updateCategoriesData()},mergeOption:function(){this[oe](ae,arguments),this._updateCategoriesData()},getInitialData:function(t){var e=t.edges||t.links,i=t.data||t.nodes;if(i&&e){var r=n(i,e,this,!0),a=r.data,o=this;return a.wrapMethod(Ne,function(t){var e=o._categoriesModels,i=t[S](je),n=e[i];return n&&(n.parentModel=t.parentModel,t.parentModel=n),t}),a}},restoreData:function(){this[oe]("restoreData",arguments),this.getGraph().restoreData()},getGraph:function(){return this[Bn]().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},_updateCategoriesData:function(){var t=i.map(this[xn][M]||[],function(t){return null!=t.value?t:i[ln]({value:0},t)}),n=new e(["value"],this);n[re](t),this._categoriesData=n,this._categoriesModels=n[we](function(t){return n[Ne](t,!0)})},setRoamZoom:function(t){var e=this[xn].roamDetail;e&&(e.zoom=t)},setRoamPan:function(t,e){var i=this[xn].roamDetail;i&&(i.x=t,i.y=e)},defaultOption:{zlevel:0,z:2,color:["#61a0a8","#d14a61","#fd9c35","#675bba","#fec42c","#dd4444","#fd9c35","#cd4870"],coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,force:{initLayout:null,repulsion:50,gravity:.1,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,draggable:!1,roam:!1,roamDetail:{x:0,y:0,zoom:1},nodeScaleRatio:.6,label:{normal:{show:!1},emphasis:{show:!0}},itemStyle:{normal:{},emphasis:{}},lineStyle:{normal:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{}}}})}),e("echarts/chart/graph/GraphView",[Zn,"../helper/SymbolDraw","../helper/LineDraw","../../component/helper/RoamController",se,qe,si],function(t){var e=t("../helper/SymbolDraw"),i=t("../helper/LineDraw"),n=t("../../component/helper/RoamController"),r=t(se),a=t(qe);t(si)[Bi]({type:"graph",init:function(t,r){var a=new e,o=new i,s=this.group,l=new n(r.getZr(),s);s.add(a.group),s.add(o.group),this._symbolDraw=a,this._lineDraw=o,this._controller=l,this._firstRender=!0},render:function(t,e,i){var n=t[zn];if("geo"===n.type||"view"===n.type){var o=t[Bn]();this._model=t;var s=this._symbolDraw,l=this._lineDraw;s[ri](o);var c=o.graph.edgeData,u=t[xn],h=r.createDataFormatModel(t,c,u.edges||u.links);h.formatTooltip=function(t){var e=this[Ui](t),i=e.data,n=i.source+" > "+i[$i];return e.value&&(n+=":"+e.value),n},l[ri](c,null,null),c[Ie](function(t){t[Wi](function(t){t[ji]=h
  })}),o.graph.eachEdge(function(t){t.__lineWidth=t[_n](ge).get("width")});var d=this.group,f={position:n[Si],scale:n.scale};this._firstRender?d.attr(f):a[Be](d,f,t),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(),this._updateController(t,n,i),clearTimeout(this._layoutTimeout);var p=t.forceLayout,v=t.get("force.layoutAnimation");p&&this._startForceLayoutIteration(p,v),o[Ie](function(t,e){var i=o[Ne](e).get(b);i&&p?t.on("drag",function(){p.warmUp(),!this._layouting&&this._startForceLayoutIteration(p,v),p.setFixed(e),o[hi](e,t[Si])},this).on("dragend",function(){p.setUnfixed(e)},this):t.off("drag"),t.setDraggable(i)},this),this._firstRender=!1}},_startForceLayoutIteration:function(t,e){var i=this;!function n(){t.step(function(t){i[hn](),(i._layouting=!t)&&(e?i._layoutTimeout=setTimeout(n,16):n())})}()},_updateController:function(t,e,i){var n=this._controller;n.rect=e.getViewRect(),n[T](t.get("roam")),n.off("pan").off("zoom").on("pan",function(e,n){i[sn]({seriesId:t.id,type:"graphRoam",dx:e,dy:n})}).on("zoom",function(e,n,r){i[sn]({seriesId:t.id,type:"graphRoam",zoom:e,originX:n,originY:r})}).on("zoom",this._updateNodeAndLinkScale,this)},_updateNodeAndLinkScale:function(){var t=this._model,e=t[Bn](),i=this.group,n=this._nodeScaleRatio,r=i.scale[0],a=(r-1)*n+1,o=[a/r,a/r];e[Ie](function(t){t.attr("scale",o)})},updateLayout:function(){this._symbolDraw[hn](),this._lineDraw[hn]()},remove:function(){this._symbolDraw&&this._symbolDraw[cn](),this._lineDraw&&this._lineDraw[cn]()}})}),e("echarts/chart/graph/roamAction",[Zn,si,"../../action/roamHelper"],function(t){var e=t(si),i=t("../../action/roamHelper"),n={type:"graphRoam",event:"graphRoam",update:"none"};e[Tn](n,function(t,e){e[mn]({mainType:"series",query:t},function(e){var n=e[zn],r=e[_n]("roamDetail"),a=i.calcPanAndZoom(r,t);e.setRoamPan&&e.setRoamPan(a.x,a.y),e.setRoamZoom&&e.setRoamZoom(a.zoom),n&&n.setPan(a.x,a.y),n&&n.setZoom(a.zoom)})})}),e("echarts/chart/graph/categoryFilter",[Zn],function(){return function(t){var e=t[ui]({mainType:"legend"});e&&e[on]&&t[Nn]("graph",function(t){var i=t.getCategoriesData(),n=t.getGraph(),r=n.data,a=i[we](i[ci]);r.filterSelf(function(t){var i=r[Ne](t),n=i[S](je);if(null!=n){typeof n===Ri&&(n=a[n]);for(var o=0;o<e[on];o++)if(!e[o].isSelected(n))return!1}return!0})},this)}}),e("echarts/chart/graph/categoryVisual",[Zn],function(){return function(t){t[Nn]("graph",function(t){var e=t.get("color"),i=t.getCategoriesData(),n=t[Bn](),r={};i.each(function(t){r[i[ci](t)]=t;var n=i[Ne](t),a=i[X](t),o=n.get("itemStyle.normal.color")||e[a%e[on]];i[ce](t,"color",o)}),i.count()&&n.each(function(t){var e=n[Ne](t),a=e[S](je);null!=a&&(typeof a===bn&&(a=r[a]),n[ce](t,"color",i[ze](a,"color")))})})}}),e("echarts/chart/graph/forceLayout",[Zn,"./forceHelper",U,"./simpleLayoutHelper","./circularLayoutHelper",w],function(t){var e=t("./forceHelper"),i=t(U),n=t("./simpleLayoutHelper"),r=t("./circularLayoutHelper"),a=t(w);return function(t){t[Nn]("graph",function(t){if("force"===t.get(ai)){var o=t.preservedPoints||{},s=t.getGraph(),l=s.data,c=s.edgeData,u=t[_n]("force"),h=u.get("initLayout");t.preservedPoints?l.each(function(t){var e=l.getId(t);l[hi](t,o[e]||[0/0,0/0])}):h&&"none"!==h?"circular"===h&&r(t):n(t);var d=l[Xe]("value"),f=u.get("repulsion"),p=u.get("edgeLength"),v=l[we]("value",function(t,e){var n=l[Ge](e),r=i[q](t,d,[0,f])||f/2;return{w:r,rep:r,p:!n||isNaN(n[0])||isNaN(n[1])?null:n}}),m=c[we]("value",function(t,e){var i=s.getEdgeByIndex(e);return{n1:v[i.node1[Yi]],n2:v[i.node2[Yi]],d:p,curveness:i[_n]().get("lineStyle.normal.curveness")||0}}),g=t[zn],y=g[Li](),x=e(v,m,{rect:y,gravity:u.get("gravity")}),_=x.step;x.step=function(t){for(var e=0,i=v[on];i>e;e++)v[e].fixed&&a.copy(v[e].p,s.getNodeByIndex(e)[L]());_(function(e,i,n){for(var r=0,a=e[on];a>r;r++)e[r].fixed||s.getNodeByIndex(r).setLayout(e[r].p),o[l.getId(r)]=e[r].p;for(var r=0,a=i[on];a>r;r++){var c=i[r],u=c.n1.p,h=c.n2.p,d=[u,h];c.curveness>0&&d.push([(u[0]+h[0])/2-(u[1]-h[1])*c.curveness,(u[1]+h[1])/2-(h[0]-u[0])*c.curveness]),s.getEdgeByIndex(r).setLayout(d)}t&&t(n)})},t.forceLayout=x,t.preservedPoints=o,x.step()}else t.forceLayout=null})}}),e("echarts/chart/graph/createView",[Zn,"../../coord/View",Qe,"zrender/core/bbox"],function(t){function e(t,e,i){var r=t[Ti]();return r.aspect=i,n[Ai](r,{width:e[yn](),height:e[gn]()})}var i=t("../../coord/View"),n=t(Qe),r=t("zrender/core/bbox");return function(t,n){t[Nn]("graph",function(t){var a=t.get(zn);if(!a||"view"===a){var o=new i,s=t[Bn](),l=s[we](function(t){var e=s[Ne](t);return[+e.get("x"),+e.get("y")]}),c=[],u=[];r.fromPoints(l,c,u);var h=e(t,n,(u[0]-c[0])/(u[1]-c[1])||1);(isNaN(c[0])||isNaN(c[1]))&&(c=[h.x,h.y],u=[h.x+h.width,h.y+h[fn]]);var d=u[0]-c[0],f=u[1]-c[1],p=h.width,v=h[fn];o=t[zn]=new i,o.setBoundingRect(c[0],c[1],d,f),o.setViewRect(h.x,h.y,p,v);var m=t[_n]("roamDetail");o.setPan(m.get("x")||0,m.get("y")||0),o.setZoom(m.get("zoom")||1)}})}}),e("echarts/chart/boxplot/BoxplotSeries",[Zn,Gn,li,"../helper/whiskerBoxCommon"],function(t){var e=t(Gn),i=t(li),n=t("../helper/whiskerBoxCommon"),r=i[ln]({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],valueDimensions:["min","Q1","median","Q3","max"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,layout:null,boxWidth:[7,50],itemStyle:{normal:{color:"#fff",borderWidth:1},emphasis:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});return e.mixin(r,n.seriesModelMixin,!0),r}),e("echarts/chart/boxplot/BoxplotView",[Zn,Gn,"../../view/Chart",qe,"../helper/whiskerBoxCommon"],function(t){function e(t,e,i){var n=e[Ne](i),a=n[_n](s),o=e[ze](i,"color"),c=a[Ln]([H]),u=t[Q](t.whiskerIndex);u.style.set(c),u.style[F]=o,u.dirty();var h=t[Q](t.bodyIndex);h.style.set(c),h.style[F]=o,h.dirty();var d=n[_n](l)[Ln]();r[Ae](t,d)}var i=t(Gn),n=t("../../view/Chart"),r=t(qe),a=t("../helper/whiskerBoxCommon"),o=n[ln]({type:"boxplot",getStyleUpdater:function(){return e}});i.mixin(o,a.viewMixin,!0);var s=[Oi,Ze],l=[Oi,Te];return o}),e("echarts/chart/boxplot/boxplotVisual",[Zn],function(){var t=[Oi,Ze,H];return function(e){var i=e.get("color");e.eachRawSeriesByType("boxplot",function(n){var r=i[n[Xi]%i[on]],a=n[Bn]();a[En]({legendSymbol:"roundRect",color:n.get(t)||r}),e.isSeriesFiltered(n)||a.each(function(e){var i=a[Ne](e);a[ce](e,{color:i.get(t,!0)})})})}}),e("echarts/chart/boxplot/boxplotLayout",[Zn,Gn,U],function(t){function e(t){var e=[],i=[];return t[Nn]("boxplot",function(t){var n=t.getBaseAxisModel().axis,a=r[Zi](i,n);0>a&&(a=i[on],i[a]=n,e[a]={axis:n,seriesModels:[]}),e[a].seriesModels.push(t)}),e}function i(t){var e,i,n=t.axis,a=t.seriesModels,l=a[on],c=t.boxWidthList=[],u=t.boxOffsetList=[],h=[];if(n.type===je)i=n.getBandWidth();else{var d=0;s(a,function(t){d=Math.max(d,t[Bn]().count())}),e=n[pi](),Math.abs(e[1]-e[0])/d}s(a,function(t){var e=t.get("boxWidth");r[Fi](e)||(e=[e,e]),h.push([o(e[0],i)||0,o(e[1],i)||0])});var f=.8*i-2,p=f/l*.3,v=(f-p*(l-1))/l,m=v/2-f/2;s(a,function(t,e){u.push(m),m+=p+v,c.push(Math.min(Math.max(v,h[e][0]),h[e][1]))})}function n(t,e,i){var n=t[zn],r=t[Bn](),a=t[fi],o=t.get(ai),s=i/2;r.each(a,function(){function t(t){var i=[];i[f]=h,i[p]=t;var r;return isNaN(h)||isNaN(t)?r=[0/0,0/0]:(r=n[di](i),r[f]+=e),r}function i(t,e){var i=t.slice(),n=t.slice();i[f]+=s,n[f]-=s,e?x.push(i,n):x.push(n,i)}function l(t){var e=[t.slice(),t.slice()];e[0][f]-=s,e[1][f]+=s,y.push(e)}var c=arguments,u=a[on],h=c[0],d=c[u],f=o===Z?0:1,p=1-f,v=t(c[3]),m=t(c[1]),g=t(c[5]),y=[[m,t(c[2])],[g,t(c[4])]];l(m),l(g),l(v);var x=[];i(y[0][1],0),i(y[1][1],1),r[hi](d,{chartLayout:o,initBaseline:v[p],median:v,bodyEnds:x,whiskerEnds:y})})}var r=t(Gn),a=t(U),o=a[Ce],s=r.each;return function(t){var r=e(t);s(r,function(t){var e=t.seriesModels;e[on]&&(i(t),s(e,function(e,i){n(e,t.boxOffsetList[i],t.boxWidthList[i])}))})}}),e("echarts/chart/parallel/ParallelSeries",[Zn,le,Gn,li],function(t){function e(t,e,i){var r=t.get("data"),a=+e[Hi]("dim","");r&&r[on]&&n.each(i,function(t){if(t){var e=n[Zi](r,t[a]);t[a]=e>=0?e:0/0}})}var i=t(le),n=t(Gn),r=t(li);return r[ln]({type:"series.parallel",dependencies:["parallel"],getInitialData:function(t,r){var a=r[Je]("parallel",this.get("parallelIndex")),o=a[fi],s=a.parallelAxisIndex,l=t.data,c=n.map(o,function(t,i){var n=r[Je]("parallelAxis",s[i]);return n.get("type")===je?(e(n,t,l),{name:t,type:"ordinal"}):t}),u=new i(c,this);return u[re](l),u},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{normal:{show:!1},emphasis:{show:!1}},inactiveOpacity:.05,activeOpacity:1,lineStyle:{normal:{width:2,opacity:.45,type:"solid"}},animationEasing:"linear"}})}),e("echarts/chart/parallel/ParallelView",[Zn,qe,Gn,"../../view/Chart"],function(t){function e(t,e,i){var n=t.model,r=t[Pn](),o=new a.Rect({shape:{x:r.x,y:r.y,width:r.width,height:r[fn]}}),s=n.get(ai)===Z?"width":fn;return o[me](s,0),a[Ee](o,{shape:{width:r.width,height:r[fn]}},e,i),o}function i(t,e,i,n){for(var a=0,o=e[on]-1;o>a;a++){var s=e[a],l=e[a+1],c=t[a],u=t[a+1];n(r(c,i[Ye](s).type)||r(u,i[Ye](l).type)?null:[i[di](c,s),i[di](u,l)],a)}}function n(t){return new a.Polyline({shape:{points:t},silent:!0})}function r(t,e){return e===je?null==t:null==t||isNaN(t)}var a=t(qe),o=t(Gn),s=t("../../view/Chart")[ln]({type:"parallel",init:function(){this._dataGroup=new a.Group,this.group.add(this._dataGroup),this._data},render:function(t){function r(t){var e=u.getValues(f,t),r=new a.Group;c.add(r),i(e,f,d,function(t){t&&r.add(n(t))}),u[Re](t,r)}function s(e,r){var o=u.getValues(f,e),s=h[Ve](r),l=[],c=0;i(o,f,d,function(e){var i=s[Q](c++);e&&!i?l.push(n(e)):e&&a[Be](i,{shape:{points:e}},t)});for(var p=s.childCount()-1;p>=c;p--)s[cn](s[Q](p));for(var p=0,v=l[on];v>p;p++)s.add(l[p]);u[Re](e,s)}function l(t){var e=h[Ve](t);c[cn](e)}var c=this._dataGroup,u=t[Bn](),h=this._data,d=t[zn],f=d[fi];u.diff(h).add(r)[dn](s)[cn](l)[Oe](),u[Ie](function(t,e){var i=u[Ne](e),n=i[_n](ge);t[Y](function(t){t[Mi](o[ln](n[ve](),{stroke:u[ze](e,"color"),opacity:u[ze](e,bi)}))})}),this._data||c.setClipPath(e(d,t,function(){c.removeClipPath()})),this._data=u},remove:function(){this._dataGroup&&this._dataGroup[In](),this._data=null}});return s}),e("echarts/chart/parallel/parallelVisual",[Zn],function(){return function(t){t[Nn]("parallel",function(e){var i=e[_n](oi),n=t.get("color"),r=i.get("color")||n[e[Xi]%n[on]],a=e.get("inactiveOpacity"),o=e.get("activeOpacity"),s=e[_n](ge)[ve](),l=e[zn],c=e[Bn](),u={normal:s[bi],active:o,inactive:a};l.eachActiveState(c,function(t,e){c[ce](e,bi,u[t])}),c[En]("color",r)})}}),e("echarts/chart/gauge/GaugeSeries",[Zn,le,li,Gn],function(t){var e=t(le),i=t(li),n=t(Gn),r=i[ln]({type:"series.gauge",getInitialData:function(t){var i=new e(["value"],this),r=t.data||[];return n[Fi](r)||(r=[r]),i[re](r),i},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,textStyle:{color:"auto"}},pointer:{show:!0,length:"80%",width:8},itemStyle:{normal:{color:"auto"}},title:{show:!0,offsetCenter:[0,"-40%"],textStyle:{color:"#333",fontSize:15}},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:40,offsetCenter:[0,"40%"],textStyle:{color:"auto",fontSize:30}}}});return r}),e("echarts/chart/gauge/GaugeView",[Zn,"./PointerPath",qe,U,"../../view/Chart"],function(t){function e(t,e){var i=t.get(Ci),n=e[yn](),r=e[gn](),a=Math.min(n,r),s=o(i[0],e[yn]()),l=o(i[1],e[gn]()),c=o(t.get(be),a/2);return{cx:s,cy:l,r:c}}function i(t,e){return e&&(typeof e===bn?t=e[Hi]("{value}",t):typeof e===Gi&&(t=e(t))),t}var n=t("./PointerPath"),r=t(qe),a=t(U),o=a[Ce],s=2*Math.PI,l=t("../../view/Chart")[ln]({type:"gauge",render:function(t,i,n){this.group[In]();var r=t.get("axisLine.lineStyle.color"),a=e(t,n);this._renderMain(t,i,n,r,a)},_renderMain:function(t,e,i,n,a){for(var o=this.group,l=t[_n](B),c=l[_n](Rn),u=t.get(j),h=-t.get(ee)/180*Math.PI,d=-t.get(ye)/180*Math.PI,f=(d-h)%s,p=h,v=c.get("width"),m=0;m<n[on];m++){var d=h+f*n[m][0],g=new r[xe]({shape:{startAngle:p,endAngle:d,cx:a.cx,cy:a.cy,clockwise:u,r0:a.r-v,r:a.r},silent:!0});g[Mi]({fill:n[m][1]}),g[Mi](c[ve](["color","borderWidth",H])),o.add(g),p=d}var y=function(t){if(0>=t)return n[0][1];for(var e=0;e<n[on];e++)if(n[e][0]>=t&&(0===e?0:n[e-1][0])<t)return n[e][1];return n[e-1][1]};if(!u){var x=h;h=d,d=x}this._renderTicks(t,e,i,y,a,h,d,u),this._renderPointer(t,e,i,y,a,h,d,u),this._renderTitle(t,e,i,y,a),this._renderDetail(t,e,i,y,a)},_renderTicks:function(t,e,n,o,s,l,c){for(var u=this.group,h=s.cx,d=s.cy,f=s.r,p=t.get("min"),v=t.get("max"),m=t[_n]("splitLine"),g=t[_n](O),y=t[_n](N),w=t.get("splitNumber"),b=g.get("splitNumber"),M=m.get(on),S=g.get(on),C=l,A=(c-l)/w,T=A/b,L=m[_n](Rn)[ve](),k=g[_n](Rn)[ve](),D=y[_n](Pi),z=0;w>=z;z++){var P=Math.cos(C),I=Math.sin(C);if(m.get("show")){var V=new r.Line({shape:{x1:P*f+h,y1:I*f+d,x2:P*(f-M)+h,y2:I*(f-M)+d},style:L,silent:!0});"auto"===L[F]&&V[Mi]({stroke:o(z/w)}),u.add(V)}if(y.get("show")){var R=i(a.round(z/w*(v-p)+p),y.get(_)),E=new r.Text({style:{text:R,x:P*(f-M-5)+h,y:I*(f-M-5)+d,fill:D[ki](),textFont:D[Di](),textBaseline:-.4>I?"top":I>.4?pn:x,textAlign:-.4>P?"left":P>.4?"right":Ci},silent:!0});"auto"===E.style.fill&&E[Mi]({fill:o(z/w)}),u.add(E)}if(g.get("show")&&z!==w){for(var B=0;b>=B;B++){var P=Math.cos(C),I=Math.sin(C),G=new r.Line({shape:{x1:P*f+h,y1:I*f+d,x2:P*(f-S)+h,y2:I*(f-S)+d},silent:!0,style:k});"auto"===k[F]&&G[Mi]({stroke:o((z+B/b)/w)}),u.add(G),C+=T}C-=T}else C+=A}},_renderPointer:function(t,e,i,s,l,c,u,h){var d=a[q],f=[+t.get("min"),+t.get("max")],p=[c,u];h||(p=p[I]());var v=t[Bn](),m=this._data,g=this.group;v.diff(m).add(function(e){var i=new n({shape:{angle:c}});r[Be](i,{shape:{angle:d(v.get("value",e),f,p)}},t),g.add(i),v[Re](e,i)})[dn](function(e,i){var n=m[Ve](i);r[Be](n,{shape:{angle:d(v.get("value",e),f,p)}},t),g.add(n),v[Re](e,n)})[cn](function(t){var e=m[Ve](t);g[cn](e)})[Oe](),v[Ie](function(t,e){var i=v[Ne](e),n=i[_n]("pointer");t.attr({shape:{x:l.cx,y:l.cy,width:n.get("width"),r:o(n.get(on),l.r)},style:i[_n](oi)[Ln]()}),"auto"===t.style.fill&&t[Mi]("fill",s((v.get("value",e)-f[0])/(f[1]-f[0]))),r[Ae](t,i[_n]("itemStyle.emphasis")[Ln]())}),this._data=v},_renderTitle:function(t,e,i,n,a){var s=t[_n]("title");if(s.get("show")){var l=s[_n](Pi),c=s.get("offsetCenter"),u=a.cx+o(c[0],a.r),h=a.cy+o(c[1],a.r),d=new r.Text({style:{x:u,y:h,text:t[Bn]()[ci](0),fill:l[ki](),textFont:l[Di](),textAlign:"center",textBaseline:"middle"}});this.group.add(d)}},_renderDetail:function(t,e,n,a,s){var l=t[_n]("detail"),c=t.get("min"),u=t.get("max");if(l.get("show")){var h=l[_n](Pi),d=l.get("offsetCenter"),f=s.cx+o(d[0],s.r),p=s.cy+o(d[1],s.r),v=o(l.get("width"),s.r),m=o(l.get(fn),s.r),g=t[Bn]().get("value",0),y=new r.Rect({shape:{x:f-v/2,y:p-m/2,width:v,height:m},style:{text:i(g,l.get(_)),fill:l.get(kn),textFill:h[ki](),textFont:h[Di]()}});"auto"===y.style.textFill&&y[Mi]("textFill",a((g-c)/(u-c))),y[Mi](l[Ln](["color"])),this.group.add(y)}}});return l}),e("echarts/chart/funnel/FunnelSeries",[Zn,le,se,"../../data/helper/completeDimensions",si],function(t){var e=t(le),i=t(se),n=t("../../data/helper/completeDimensions");t(si).extendSeriesModel({type:"series.funnel",init:function(t){this[oe]("init",arguments),this.legendDataProvider=function(){return this._dataBeforeProcessed},this._defaultLabelLine(t)},getInitialData:function(t){var i=n(["value"],t.data),r=new e(i,this);return r[re](t.data),r},_defaultLabelLine:function(t){i[ie](t.labelLine,["show"]);var e=t.labelLine[Ze],n=t.labelLine[Te];e.show=e.show&&t.label[Ze].show,n.show=n.show&&t.label[Te].show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{normal:{show:!0,position:"outer"},emphasis:{show:!0}},labelLine:{normal:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},emphasis:{}},itemStyle:{normal:{borderColor:"#fff",borderWidth:1},emphasis:{}}}})}),e("echarts/chart/funnel/FunnelView",[Zn,qe,Gn,"../../view/Chart"],function(t){function e(t,e){function i(){o[vn]=o.hoverIgnore,s[vn]=s.hoverIgnore}function r(){o[vn]=o.normalIgnore,s[vn]=s.normalIgnore}n.Group.call(this);var a=new n[fe],o=new n.Polyline,s=new n.Text;this.add(a),this.add(o),this.add(s),this[ri](t,e,!0),this.on(Te,i).on(Ze,r).on(Ji,i).on(Ki,r)}function i(t,e,i,n){var r=n[_n](Pi),a=n.get(Si),o=a===te||"inner"===a||a===Ci;return{fill:r[ki]()||(o?"#fff":t[ze](e,"color")),textFont:r[Di](),text:t[ji][ke](e,i)||t[ci](e)}}var n=t(qe),r=t(Gn),a=e[Sn],o=[Oi,Ze,bi];a[ri]=function(t,e,i){var a=this[Q](0),s=t[ji],l=t[Ne](e),c=t[Ge](e),u=t[Ne](e).get(o);u=null==u?1:u,i?(a[me]({points:c[de]}),a[Mi]({opacity:0}),n[Be](a,{style:{opacity:u}},s)):n[Ee](a,{shape:{points:c[de]}},s);var h=l[_n](Oi),d=t[ze](e,"color");a[Mi](r[Dn]({fill:d},h[_n](Ze)[Ln]())),a.hoverStyle=h[_n](Te)[Ln](),this._updateLabel(t,e),n[Ae](this)},a._updateLabel=function(t,e){var r=this[Q](1),a=this[Q](2),o=t[ji],s=t[Ne](e),l=t[Ge](e),c=l.label,u=t[ze](e,"color");n[Be](r,{shape:{points:c.linePoints||c.linePoints}},o),n[Be](a,{style:{x:c.x,y:c.y}},o),a.attr({style:{textAlign:c[zi],textBaseline:c[K],textFont:c.font},rotation:c[$],origin:[c.x,c.y],z2:10});var h=s[_n](Pe),d=s[_n](De),f=s[_n]("labelLine.normal"),p=s[_n]("labelLine.emphasis");a[Mi](i(t,e,Ze,h)),a[vn]=a.normalIgnore=!h.get("show"),a.hoverIgnore=!d.get("show"),r[vn]=r.normalIgnore=!f.get("show"),r.hoverIgnore=!p.get("show"),r[Mi]({stroke:u}),r[Mi](f[_n](Rn)[ve]()),a.hoverStyle=i(t,e,Te,d),r.hoverStyle=p[_n](Rn)[ve]()},r[Vi](e,n.Group);var s=t("../../view/Chart")[ln]({type:"funnel",render:function(t){var i=t[Bn](),n=this._data,r=this.group;i.diff(n).add(function(t){var n=new e(i,t);i[Re](t,n),r.add(n)})[dn](function(t,e){var a=n[Ve](e);a[ri](i,t),r.add(a),i[Re](t,a)})[cn](function(t){var e=n[Ve](t);r[cn](e)})[Oe](),this._data=i},remove:function(){this.group[In](),this._data=null}});return s}),e("echarts/chart/funnel/funnelLayout",[Zn,Qe,U],function(t){function e(t,e){return r[Ai](t[Ti](),{width:e[yn](),height:e[gn]()})}function i(t,e){for(var i=t[we]("value",function(t){return t}),n=[],r="ascending"===e,a=0,o=t.count();o>a;a++)n[a]=a;return n.sort(function(t,e){return r?i[t]-i[e]:i[e]-i[t]}),n}function n(t){t.each(function(e){var i,n,r,a,o=t[Ne](e),s=o[_n](Pe),l=s.get(Si),c=o[_n]("labelLine.normal"),u=t[Ge](e),h=u[de],d="inner"===l||l===te||l===Ci;if(d)n=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,r=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,i=Ci,a=[[n,r],[n,r]];else{var f,p,v,m=c.get(on);"left"===l?(f=(h[3][0]+h[0][0])/2,p=(h[3][1]+h[0][1])/2,v=f-m,n=v-5,i="right"):(f=(h[1][0]+h[2][0])/2,p=(h[1][1]+h[2][1])/2,v=f+m,n=v+5,i="left");var g=p;a=[[f,p],[v,g]],r=g}u.label={linePoints:a,x:n,y:r,textBaseline:"middle",textAlign:i,inside:d}})}var r=t(Qe),a=t(U),o=a[Ce];return function(t,r){t[Nn]("funnel",function(t){var s=t[Bn](),l=t.get("sort"),c=e(t,r),u=i(s,l),h=[o(t.get("minSize"),c.width),o(t.get("maxSize"),c.width)],d=s[Xe]("value"),f=t.get("min"),p=t.get("max");null==f&&(f=Math.min(d[0],0)),null==p&&(p=d[1]);var v=t.get("funnelAlign"),m=t.get("gap"),g=(c[fn]-m*(s.count()-1))/s.count(),y=c.y,x=function(t,e){var i,n=s.get("value",t)||0,r=a[q](n,[f,p],h,!0);switch(v){case"left":i=c.x;break;case Ci:i=c.x+(c.width-r)/2;break;case"right":i=c.x+c.width-r}return[[i,e],[i+r,e]]};"ascending"===l&&(g=-g,m=-m,y+=c[fn],u=u[I]());for(var _=0;_<u[on];_++){var w=u[_],b=u[_+1],M=x(w,y),S=x(b,y+g);y+=g+m,s[hi](w,{points:M[ti](S.slice()[I]())})}n(s)})}}),e("echarts/chart/sankey/SankeySeries",[Zn,li,"../helper/createGraphFromNodeEdge"],function(t){var e=t(li),i=t("../helper/createGraphFromNodeEdge");return e[ln]({type:"series.sankey",layoutInfo:null,getInitialData:function(t){var e=t.edges||t.links,n=t.data||t.nodes;if(n&&e){var r=i(n,e,this,!0);return r.data}},getGraph:function(){return this[Bn]().graph},getEdgeData:function(){return this.getGraph().edgeData},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",nodeWidth:20,nodeGap:8,layoutIterations:32,label:{normal:{show:!0,position:"right",textStyle:{color:"#000",fontSize:12}},emphasis:{show:!0}},itemStyle:{normal:{borderWidth:1,borderColor:"#aaa"}},lineStyle:{normal:{color:"#314656",opacity:.2,curveness:.5},emphasis:{opacity:.6}},color:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],animationEasing:"linear",animationDuration:1e3}})}),e("echarts/chart/sankey/SankeyView",[Zn,qe,se,Gn,si],function(t){function e(t,e,n){var r=new i.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t[fn]+20}});return i[Ee](r,{shape:{width:t.width+20,height:t[fn]+20}},e,n),r}var i=t(qe),n=t(se),r=t(Gn),a=i.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0},buildPath:function(t,e){var i=e.extent/2;t[y](e.x1,e.y1-i),t[g](e.cpx1,e.cpy1-i,e.cpx2,e.cpy2-i,e.x2,e.y2-i),t[m](e.x2,e.y2+i),t[g](e.cpx2,e.cpy2+i,e.cpx1,e.cpy1+i,e.x1,e.y1+i),t[v]()}});return t(si)[Bi]({type:"sankey",_model:null,render:function(t){var o=t.getGraph(),s=this.group,l=t.layoutInfo;this._model=t,s[In](),s[Si]=[l.x,l.y];var c=o.edgeData,u=t[xn],h=n.createDataFormatModel(t,c,u.edges||u.links);h.formatTooltip=function(t){var e=this[Ui](t),i=e.data,n=i.source+" -- "+i[$i];return e.value&&(n+=":"+e.value),n},o.eachNode(function(e){var n=e[L](),a=e[_n](),o=a[_n](Pe),l=o[_n](Pi),c=a[_n](De),u=c[_n](Pi),h=new i.Rect({shape:{x:n.x,y:n.y,width:e[L]().dx,height:e[L]().dy},style:{text:o.get("show")?t[ke](e[Yi],Ze)||e.id:"",textFont:l[Di](),textFill:l[ki](),textPosition:o.get(Si)}});h[Mi](r[Dn]({fill:e[pe]("color")},a[_n](oi)[Ln]())),i[Ae](h,r[ln](e[_n]("itemStyle.emphasis"),{text:c.get("show")?t[ke](e[Yi],Te)||e.id:"",textFont:u[Di](),textFill:u[ki](),textPosition:c.get(Si)})),s.add(h)}),o.eachEdge(function(t){var e=new a;e[Yi]=t[Yi],e[ji]=h;var n=t[_n](ge),r=n.get("curveness"),o=t.node1[L](),l=t.node2[L](),c=t[L]();e.shape.extent=Math.max(1,c.dy);var u=o.x+o.dx,d=o.y+c.sy+c.dy/2,f=l.x,p=l.y+c.ty+c.dy/2,v=u*(1-r)+f*r,m=d,g=u*r+f*(1-r),y=p;e[me]({x1:u,y1:d,x2:f,y2:p,cpx1:v,cpy1:m,cpx2:g,cpy2:y}),e[Mi](n[Ln]()),i[Ae](e,t[_n]("lineStyle.emphasis")[Ln]()),s.add(e)}),this._data||s.setClipPath(e(s[Li](),t,function(){s.removeClipPath()})),this._data=t[Bn]()}})}),e("echarts/chart/sankey/sankeyLayout",[Zn,Qe,"../../util/array/nest",Gn],function(t){function e(t,e){return b[Ai](t[Ti](),{width:e[yn](),height:e[gn]()})}function i(t,e,i,n,a,o,l){r(t,i,a),s(t,e,o,n,l),p(t)}function n(t){S.each(t,function(t){var e=g(t.outEdges,w),i=g(t.inEdges,w),n=Math.max(e,i);t.setLayout({value:n},!0)})}function r(t,e,i){for(var n=t,r=null,s=0,l=0;n[on];)r=[],S.each(n,function(t){t.setLayout({x:s},!0),t.setLayout({dx:e},!0),S.each(t.outEdges,function(t){r.push(t.node2)})}),n=r,++s;a(t,s),l=(i-e)/(s-1),o(t,l)}function a(t,e){S.each(t,function(t){t.outEdges[on]||t.setLayout({x:e-1},!0)})}function o(t,e){S.each(t,function(t){var i=t[L]().x*e;t.setLayout({x:i},!0)})}function s(t,e,i,n,r){var a=M().key(function(t){return t[L]().x}).sortKeys(_).entries(t).map(function(t){return t.values});l(t,a,e,i,n),c(a,n,i);for(var o=1;r>0;r--)o*=.99,u(a,o),c(a,n,i),d(a,o),c(a,n,i)}function l(t,e,i,n,r){var a=[];S.each(e,function(t){var e=t[on],i=0;S.each(t,function(t){i+=t[L]().value});var o=(n-(e-1)*r)/i;a.push(o)}),a.sort(function(t,e){return t-e});var o=a[0];S.each(e,function(t){S.each(t,function(t,e){t.setLayout({y:e},!0);var i=t[L]().value*o;t.setLayout({dy:i},!0)})}),S.each(i,function(t){var e=+t.getValue()*o;t.setLayout({dy:e},!0)})}function c(t,e,i){S.each(t,function(t){var n,r,a,o=0,s=t[on];for(t.sort(x),a=0;s>a;a++){if(n=t[a],r=o-n[L]().y,r>0){var l=n[L]().y+r;n.setLayout({y:l},!0)}o=n[L]().y+n[L]().dy+e}if(r=o-e-i,r>0){var l=n[L]().y-r;for(n.setLayout({y:l},!0),o=n[L]().y,a=s-2;a>=0;--a)n=t[a],r=n[L]().y+n[L]().dy+e-o,r>0&&(l=n[L]().y-r,n.setLayout({y:l},!0)),o=n[L]().y}})}function u(t,e){S.each(t.slice()[I](),function(t){S.each(t,function(t){if(t.outEdges[on]){var i=g(t.outEdges,h)/g(t.outEdges,w),n=t[L]().y+(i-y(t))*e;t.setLayout({y:n},!0)}})})}function h(t){return y(t.node2)*t.getValue()}function d(t,e){S.each(t,function(t){S.each(t,function(t){if(t.inEdges[on]){var i=g(t.inEdges,f)/g(t.inEdges,w),n=t[L]().y+(i-y(t))*e;t.setLayout({y:n},!0)}})})}function f(t){return y(t.node1)*t.getValue()}function p(t){S.each(t,function(t){t.outEdges.sort(v),t.inEdges.sort(m)}),S.each(t,function(t){var e=0,i=0;S.each(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t[L]().dy}),S.each(t.inEdges,function(t){t.setLayout({ty:i},!0),i+=t[L]().dy})})}function v(t,e){return t.node2[L]().y-e.node2[L]().y}function m(t,e){return t.node1[L]().y-e.node1[L]().y}function g(t,e){var i,n=0,r=t[on],a=-1;if(1===arguments[on])for(;++a<r;)i=+t[a],isNaN(i)||(n+=i);else for(;++a<r;)i=+e.call(t,t[a],a),isNaN(i)||(n+=i);return n}function y(t){return t[L]().y+t[L]().dy/2}function x(t,e){return t[L]().y-e[L]().y}function _(t,e){return e>t?-1:t>e?1:t==e?0:0/0}function w(t){return t.getValue()}var b=t(Qe),M=t("../../util/array/nest"),S=t(Gn);return function(t,r){t[Nn]("sankey",function(t){var a=t.get("nodeWidth"),o=t.get("nodeGap"),s=e(t,r);t.layoutInfo=s;var l=s.width,c=s[fn],u=t.getGraph(),h=u.nodes,d=u.edges;n(h);var f=h[On](function(t){return 0===t[L]().value}),p=0!==f[on]?0:t.get("layoutIterations");i(h,d,a,o,l,c,p)})}}),e("echarts/chart/sankey/sankeyVisual",[Zn,"../../visual/VisualMapping"],function(t){var e=t("../../visual/VisualMapping");return function(t){t[Nn]("sankey",function(t){var i=t.getGraph(),n=i.nodes;n.sort(function(t,e){return t[L]().value-e[L]().value});var r=n[0][L]().value,a=n[n[on]-1][L]().value;n.forEach(function(i){var n=new e({type:"color",mappingMethod:"linear",dataExtent:[r,a],visual:t.get("color")}),o=n.mapValueToVisual(i[L]().value);i[En]("color",o)})})}}),e("echarts/chart/effectScatter/EffectScatterSeries",[Zn,"../helper/createListFromArray",li],function(t){var e=t("../helper/createListFromArray"),i=t(li);return i[ln]({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(t,i){var n=e(t.data,this,i);return n},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},xAxisIndex:0,yAxisIndex:0,polarIndex:0,geoIndex:0,symbolSize:10}})}),e("echarts/util/graphic",[Zn,Gn,"zrender/tool/path","zrender/graphic/Path","zrender/tool/color",z,w,"zrender/graphic/Gradient","zrender/container/Group","zrender/graphic/Image","zrender/graphic/Text","zrender/graphic/shape/Circle","zrender/graphic/shape/Sector","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/LinearGradient","zrender/graphic/RadialGradient"],function(t){function e(t){if(!t.__isHover){if(t.__hoverStlDirty){var e=t.style[F],i=t.style.fill,n=t.__hoverStl;n.fill=n.fill||(i instanceof b?i:y.lift(i,-.1)),n[F]=n[F]||(e instanceof b?e:y.lift(e,-.1));var r={};for(var a in n)n.hasOwnProperty(a)&&(r[a]=t.style[a]);t.__normalStl=r,t.__hoverStlDirty=!1}t[Mi](t.__hoverStl),t.z2+=1,t.__isHover=!0}}function i(t){if(t.__isHover){var e=t.__normalStl;e&&t[Mi](e),t.z2-=1,t.__isHover=!1}}function n(t){"group"===t.type?t[Wi](function(t){"group"!==t.type&&e(t)}):e(t)}function r(t){"group"===t.type?t[Wi](function(t){"group"!==t.type&&i(t)}):i(t)}function a(t,e){t.__hoverStl=t.hoverStyle||e,t.__hoverStlDirty=!0}function o(){!this.__isEmphasis&&n(this)}function s(){!this.__isEmphasis&&r(this)}function l(){this.__isEmphasis=!0,n(this)}function c(){this.__isEmphasis=!1,r(this)}function u(t,e,i,n,r){var a=t?"Update":"",o=n&&n[S]("animationDuration"+a),s=n&&n[S]("animationEasing"+a);n&&n[S](Fe)?e.animateTo(i,o,s,r):(e.attr(i),r&&r())}var h=t(Gn),v=t("zrender/tool/path"),m=Math.round,g=t("zrender/graphic/Path"),y=t("zrender/tool/color"),x=t(z),_=t(w),b=t("zrender/graphic/Gradient"),M={};return M.Group=t("zrender/container/Group"),M.Image=t("zrender/graphic/Image"),M.Text=t("zrender/graphic/Text"),M[A]=t("zrender/graphic/shape/Circle"),M[xe]=t("zrender/graphic/shape/Sector"),M[fe]=t("zrender/graphic/shape/Polygon"),M.Polyline=t("zrender/graphic/shape/Polyline"),M.Rect=t("zrender/graphic/shape/Rect"),M.Line=t("zrender/graphic/shape/Line"),M.BezierCurve=t("zrender/graphic/shape/BezierCurve"),M.Arc=t("zrender/graphic/shape/Arc"),M.LinearGradient=t("zrender/graphic/LinearGradient"),M.RadialGradient=t("zrender/graphic/RadialGradient"),M.extendShape=function(t){return g[ln](t)},M.extendPath=function(t,e){return v.extendFromString(t,e)},M.makePath=function(t,e,i,n){var r=v.createFromString(t,e),a=r[Li]();if(i){var o=a.width/a[fn];if(n===Ci){var s,l=i[fn]*o;l<=i.width?s=i[fn]:(l=i.width,s=l/o);var c=i.x+i.width/2,u=i.y+i[fn]/2;i.x=c-l/2,i.y=u-s/2,i.width=l,i[fn]=s}this.resizePath(r,i)}return r},M.mergePath=v.mergePath,M.resizePath=function(t,e){if(t[R]){var i=t[Li](),n=i.calculateTransform(e);t[R](n)}},M.subPixelOptimizeLine=function(t){var e=M.subPixelOptimize,i=t.shape,n=t.style[p];return m(2*i.x1)===m(2*i.x2)&&(i.x1=i.x2=e(i.x1,n,!0)),m(2*i.y1)===m(2*i.y2)&&(i.y1=i.y2=e(i.y1,n,!0)),t},M.subPixelOptimizeRect=function(t){var e=M.subPixelOptimize,i=t.shape,n=t.style[p],r=i.x,a=i.y,o=i.width,s=i[fn];return i.x=e(i.x,n,!0),i.y=e(i.y,n,!0),i.width=Math.max(e(r+o,n,!1)-i.x,0===o?0:1),i[fn]=Math.max(e(a+s,n,!1)-i.y,0===s?0:1),t},M.subPixelOptimize=function(t,e,i){var n=m(2*t);return(n+m(e))%2===0?n/2:(n+(i?1:-1))/2},M[Ae]=function(t,e){e=e||{},"group"===t.type?t[Wi](function(t){"group"!==t.type&&a(t,e)}):a(t,e),t.on(Ji,o).on(Ki,s),t.on(Te,l).on(Ze,c)},M.setText=function(t,e,i){var n=e[S](Si)||te,r=n[Zi](te)>=0?"white":i,a=e[_n](Pi);h[ln](t,{textDistance:e[S](f)||5,textFont:a[Di](),textPosition:n,textFill:a[ki]()||r})},M[Be]=h.curry(u,!0),M[Ee]=h.curry(u,!1),M.getTransform=function(t,e){for(var i=x.identity([]);t&&t!==e;)x.mul(i,t[d](),i),t=t[k];return i},M[R]=function(t,e,i){return i&&(e=x.invert([],e)),_[R]([],t,e)},M.transformDirection=function(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),a=["left"===t?-n:"right"===t?n:0,"top"===t?-r:t===pn?r:0];return a=M[R](a,e,i),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?pn:"top"},M}),e("echarts/coord/polar/polarCreator",[Zn,"./Polar",U,Gn,"../../coord/axisHelper","./PolarModel","../../CoordinateSystem"],function(t){function e(t,e){var i=t.get(Ci),n=t.get(be),r=e[yn](),o=e[gn](),s=a[Ce];this.cx=s(i[0],r),this.cy=s(i[1],o);var l=this.getRadiusAxis(),c=Math.min(r,o)/2;l[vi](0,s(n,c))}function i(t,e){if(t.type=e.get("type"),t.scale=s.createScaleByModel(e),t.onBand=e.get("boundaryGap")&&t.type===je,"angleAxis"===e.mainType){var i=e.get(ee);t[$e]=e.get($e)^e.get(j),t[vi](i,i+(t[$e]?-360:360))}e.axis=t,t.model=e}function n(t,e){e[rn](function(e){if("polar"===e.get(zn)){var i=e.get(G)||0,n=t[i];if(!n)return;e[zn]=n;var r=n.getRadiusAxis(),a=n.getAngleAxis(),o=e[Bn]();r.scale.unionExtent(o[Xe](be,r.type!==je)),a.scale.unionExtent(o[Xe]("angle",a.type!==je))}}),o.each(t,function(t){var e=t.getAngleAxis(),i=t.getRadiusAxis();l(e,e.model),l(i,i.model)})}var r=t("./Polar"),a=t(U),o=t(Gn),s=t("../../coord/axisHelper"),l=s.niceScaleExtent;t("./PolarModel");var c={create:function(t,a){var s=[];return t[mn]("polar",function(t,n){var o=new r(n);o[wn]=e;var l=o.getRadiusAxis(),c=o.getAngleAxis(),u=t.findAxisModel("radiusAxis"),h=t.findAxisModel("angleAxis");i(l,u),i(c,h),o[wn](t,a),s.push(o),t[zn]=o}),n(s,t,a),o.each(s,function(t){var e=t.getAngleAxis();
  if(e.type===je&&!e.onBand){var i=e[pi](),n=360/e.scale.count();e[$e]?i[1]+=n:i[1]-=n,e[vi](i[0],i[1])}}),s}};t("../../CoordinateSystem")[Ni]("polar",c)}),e("echarts/component/legend/LegendModel",[Zn,Gn,We,si],function(t){var e=t(Gn),i=t(We);return t(si)[Ei]({type:"legend",dependencies:[nn],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,i){this[h](t,i),t[J]=t[J]||{},this._updateData(i);var n=this._data,r=this[xn][J];if(n[0]&&"single"===this.get("selectedMode")){var a=!1;for(var o in r)r[o]&&(this.select(o),a=!0);!a&&this.select(n[0].get("name"))}},mergeOption:function(t){this.$superCall(ae,t),this._updateData(this[D])},_updateData:function(t){var n=e.map(this.get("data")||[],function(t){return typeof t===bn&&(t={name:t}),new i(t,this,this[D])},this);this._data=n;var r=e.map(t.getSeries(),function(t){return t.name});t[rn](function(t){if(t.legendDataProvider){var e=t.legendDataProvider();r=r[ti](e[we](e[ci]))}}),this._availableNames=r},getData:function(){return this._data},select:function(t){var i=this[xn][J],n=this.get("selectedMode");if("single"===n){var r=this._data;e.each(r,function(t){i[t.get("name")]=!1})}i[t]=!0},unSelect:function(t){"single"!==this.get("selectedMode")&&(this[xn][J][t]=!1)},toggleSelected:function(t){var e=this[xn][J];t in e||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},isSelected:function(t){var i=this[xn][J];return!(t in i&&!i[t])&&e[Zi](this._availableNames,t)>=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}})}),e("echarts/component/legend/legendAction",[Zn,si,Gn],function(t){function e(t,e,i){var r,a={},o="toggleSelected"===t;return i[mn]("legend",function(i){o&&null!=r?i[r?"select":"unSelect"](e.name):(i[t](e.name),r=i.isSelected(e.name));var s=i[Bn]();n.each(s,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);a[e]=e in a?a[e]&&n:n}})}),{name:e.name,selected:a}}var i=t(si),n=t(Gn);i[Tn]("legendToggleSelect","legendselectchanged",n.curry(e,"toggleSelected")),i[Tn]("legendSelect","legendselected",n.curry(e,"select")),i[Tn]("legendUnSelect","legendunselected",n.curry(e,"unSelect"))}),e("echarts/component/legend/LegendView",[Zn,Gn,u,qe,"../helper/listComponent",si],function(t){function e(t,e){e[sn]({type:"legendToggleSelect",name:t})}function i(t,e,i){t.get("legendHoverLink")&&i[sn]({type:"highlight",seriesName:t.name,name:e})}function n(t,e,i){t.get("legendHoverLink")&&i[sn]({type:"downplay",seriesName:t.name,name:e})}var r=t(Gn),a=t(u),o=t(qe),h=t("../helper/listComponent"),d=r.curry,f="#ccc";return t(si)[Vn]({type:"legend",init:function(){this._symbolTypeStore={}},render:function(t,a,s){var u=this.group;if(u[In](),t.get("show")){var p=t.get("selectedMode"),v=t.get("itemWidth"),m=t.get("itemHeight"),g=t.get("align");"auto"===g&&(g="right"===t.get("left")&&t.get(c)===l?"right":"left");var y={},x={};r.each(t[Bn](),function(r){var l=r.get("name");(""===l||"\n"===l)&&u.add(new o.Group({newline:!0}));var c=a.getSeriesByName(l)[0];if(y[l]=r,c&&!x[l]){var h=c[Bn](),_=h[pe]("color");t.isSelected(l)||(_=f),typeof _===Gi&&(_=_(c[Ui](0)));var w=h[pe]("legendSymbol")||"roundRect",b=h[pe](he),M=this._createItem(l,r,t,w,b,v,m,g,_,p);M.on("click",d(e,l,s)).on(Ji,d(i,c,"",s)).on(Ki,d(n,c,"",s)),x[l]=!0}},this),a.eachRawSeries(function(r){if(r.legendDataProvider){var a=r.legendDataProvider();a.each(function(o){var l=a[ci](o);if(y[l]&&!x[l]){var c=a[ze](o,"color");t.isSelected(l)||(c=f);var u="roundRect",h=this._createItem(l,y[l],t,u,null,v,m,g,c,p);h.on("click",d(e,l,s)).on(Ji,d(i,r,l,s)).on(Ki,d(n,r,l,s)),x[l]=!0}},!1,this)}},this),h[ai](u,t,s),h.addBackground(u,t)}},_createItem:function(t,e,i,n,r,l,c,u,h,d){var f=new o.Group,p=e[_n](Pi),v=e.get("icon");if(n=v||n,f.add(a[s](n,0,0,l,c,h)),!v&&r&&r!==n&&"none"!=r){var m=.8*c;f.add(a[s](r,(l-m)/2,(c-m)/2,m,m,h))}var g="left"===u?l+5:-5,y=u,x=i.get(_);typeof x===bn&&x?t=x[Hi]("{name}",t):typeof x===Gi&&(t=x(t));var w=new o.Text({style:{text:t,x:g,y:c/2,fill:p[ki](),textFont:p[Di](),textAlign:y,textBaseline:"middle"}});return f.add(w),f.add(new o.Rect({shape:f[Li](),invisible:!0})),f[Y](function(t){t.silent=!d}),this.group.add(f),f}})}),e("echarts/component/tooltip/TooltipModel",[Zn,si],function(t){t(si)[Ei]({type:"tooltip",defaultOption:{zlevel:0,z:8,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove",alwaysShowContent:!1,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,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}}})}),e("echarts/component/tooltip/TooltipView",[Zn,"./TooltipContent",qe,Gn,W,U,si],function(t){function e(t,e){if(!t||!e)return!1;var i=p.round;return i(t[0])===i(e[0])&&i(t[1])===i(e[1])}function i(t,e,i,n){return{x1:t,y1:e,x2:i,y2:n}}function n(t,e,i,n){return{x:t,y:e,width:i,height:n}}function r(t,e,i,n,r,a){return{cx:t,cy:e,r0:i,r:n,startAngle:r,endAngle:a,clockwise:!0}}function a(t,e,i,n,r){var a=i.clientWidth,o=i.clientHeight,s=20;return t+a+s>n?t-=a+s:t+=s,e+o+s>r?e-=o+s:e+=s,[t,e]}function o(t,e,i){var n=i.clientWidth,r=i.clientHeight,a=5,o=0,s=0,l=e.width,c=e[fn];switch(t){case te:o=e.x+l/2-n/2,s=e.y+c/2-r/2;break;case"top":o=e.x+l/2-n/2,s=e.y-r-a;break;case pn:o=e.x+l/2-n/2,s=e.y+c+a;break;case"left":o=e.x-n-a,s=e.y+c/2-r/2;break;case"right":o=e.x+l+a,s=e.y+c/2-r/2}return[o,s]}function s(t,e,i,n,r,s,l){var c=l[yn](),u=l[gn](),h=s&&s[Li]().clone();if(s&&h[R](s[An]),typeof t===Gi&&(t=t([e,i],r,h)),d[Fi](t))e=v(t[0],c),i=v(t[1],u);else if(typeof t===bn&&s){var f=o(t,h,n.el);e=f[0],i=f[1]}else{var f=a(e,i,n.el,c,u);e=f[0],i=f[1]}n[y](e,i)}function l(t){var e=t[zn],i=t.get("tooltip.trigger",!0);return!(!e||"cartesian2d"!==e.type&&"polar"!==e.type&&"single"!==e.type||"item"===i)}var u=t("./TooltipContent"),h=t(qe),d=t(Gn),f=t(W),p=t(U),v=p[Ce];t(si)[Vn]({type:"tooltip",_axisPointers:{},init:function(t,e){var i=new u(e.getDom(),e);this._tooltipContent=i,e.on("showTip",this._manuallyShowTip,this),e.on("hideTip",this._manuallyHideTip,this)},render:function(t,e,i){this.group[In](),this._axisPointers={},this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastHover={};var n=this._tooltipContent;n[dn](),n.enterable=t.get("enterable"),this._alwaysShowContent=t.get("alwaysShowContent"),this._seriesGroupByAxis=this._prepareAxisTriggerData(t,e);var r=this._crossText;r&&this.group.add(r);var a=this._api.getZr(),o=this._tryShow;a.off("click",o),a.off("mousemove",o),a.off(Ki,this._hide),"click"===t.get("triggerOn")?a.on("click",o,this):(a.on("mousemove",o,this),a.on(Ki,this._hide,this))},_manuallyShowTip:function(t){if(t.from!==this.uid){var e=this._ecModel,i=t[Xi],n=t[Yi],r=e.getSeriesByIndex(i),a=this._api;if(null==t.x||null==t.y){if(r||e[rn](function(t){l(t)&&!r&&(r=t)}),r){var o=r[Bn]();null==n&&(n=o[_e](t.name));var s,c,u=o[Ve](n),h=r[zn];if(h&&h[di]){var d=h[di](o.getValues(h[fi],n,!0));s=d&&d[0],c=d&&d[1]}else if(u){var f=u[Li]().clone();f[R](u[An]),s=f.x+f.width/2,c=f.y+f[fn]/2}null!=s&&null!=c&&this._tryShow({offsetX:s,offsetY:c,target:u,event:{}})}}else a.getZr().handler.dispatch("mousemove",{zrX:t.x,zrY:t.y})}},_manuallyHideTip:function(t){t.from!==this.uid&&this._hide()},_prepareAxisTriggerData:function(t,e){var i={};return e[rn](function(t){if(l(t)){var e,n,r=t[zn];"cartesian2d"===r.type?(e=r[He](),n=e.dim+e.index):"single"===r.type?(e=r[Ye](),n=e.dim+e.type):(e=r[He](),n=e.dim+r.name),i[n]=i[n]||{coordSys:[],series:[]},i[n].coordSys.push(r),i[n][nn].push(t)}},this),i},_tryShow:function(t){var e=t[$i],i=this._tooltipModel,n=i.get(an),r=this._ecModel,a=this._api;if(i)if(e&&null!=e[Yi]){var o=e[ji]||r.getSeriesByIndex(e[Xi]),s=e[Yi],l=o[Bn]()[Ne](s);"axis"===(l.get("tooltip.trigger")||n)?this._showAxisTooltip(i,r,t):(this._ticket="",this._hideAxisPointer(),this._resetLastHover(),this._showItemTooltipContent(o,s,t)),a[sn]({type:"showTip",from:this.uid,dataIndex:e[Yi],seriesIndex:e[Xi]})}else"item"===n?this._hide():this._showAxisTooltip(i,r,t),"cross"===i.get("axisPointer.type")&&a[sn]({type:"showTip",from:this.uid,x:t.offsetX,y:t.offsetY})},_showAxisTooltip:function(t,i,n){var r=t[_n]("axisPointer"),a=r.get("type");if("cross"===a){var o=n[$i];if(o&&null!=o[Yi]){var s=i.getSeriesByIndex(o[Xi]),l=o[Yi];this._showItemTooltipContent(s,l,n)}}this._showAxisPointer();var c=!0;d.each(this._seriesGroupByAxis,function(t){var i=t.coordSys,o=i[0],s=[n.offsetX,n.offsetY];if(!o.containPoint(s))return void this._hideAxisPointer(o.name);c=!1;var l=o[fi],u=o.pointToData(s,!0);s=o[di](u);var h=o[He](),f=r.get("axis");"auto"===f&&(f=h.dim);var p=!1,v=this._lastHover;if("cross"===a)e(v.data,u)&&(p=!0),v.data=u;else{var m=d[Zi](l,f);v.data===u[m]&&(p=!0),v.data=u[m]}"cartesian2d"!==o.type||p?"polar"!==o.type||p?"single"!==o.type||p||this._showSinglePointer(r,o,f,s):this._showPolarPointer(r,o,f,s):this._showCartesianPointer(r,o,f,s),"cross"!==a&&this._dispatchAndShowSeriesTooltipContent(o,t[nn],s,u,p)},this),c&&this._hide()},_showCartesianPointer:function(t,e,r,a){function o(n,r,a){var o="x"===n?i(r[0],a[0],r[0],a[1]):i(a[0],r[1],a[1],r[1]),s=l._getPointerElement(e,t,n,o);u?h[Be](s,{shape:o},t):s.attr({shape:o})}function s(i,r,a){var o=e[Ye](i),s=o.getBandWidth(),c=a[1]-a[0],d="x"===i?n(r[0]-s/2,a[0],s,c):n(a[0],r[1]-s/2,c,s),f=l._getPointerElement(e,t,i,d);u?h[Be](f,{shape:d},t):f.attr({shape:d})}var l=this,c=t.get("type"),u="cross"!==c;if("cross"===c)o("x",a,e[Ye]("y").getGlobalExtent()),o("y",a,e[Ye]("x").getGlobalExtent()),this._updateCrossText(e,a,t);else{var d=e[Ye]("x"===r?"y":"x"),f=d.getGlobalExtent();"cartesian2d"===e.type&&("line"===c?o:s)(r,a,f)}},_showSinglePointer:function(t,e,n,r){function a(n,r,a){var s=e[Ye](),u=s[c],d=u===Z?i(r[0],a[0],r[0],a[1]):i(a[0],r[1],a[1],r[1]),f=o._getPointerElement(e,t,n,d);l?h[Be](f,{shape:d},t):f.attr({shape:d})}var o=this,s=t.get("type"),l="cross"!==s,u=e[Pn](),d=[u.y,u.y+u[fn]];a(n,r,d)},_showPolarPointer:function(t,e,n,a){function o(n,r,a){var o,s=e.pointToCoord(r);if("angle"===n){var c=e.coordToPoint([a[0],s[1]]),u=e.coordToPoint([a[1],s[1]]);o=i(c[0],c[1],u[0],u[1])}else o={cx:e.cx,cy:e.cy,r:s[0]};var d=l._getPointerElement(e,t,n,o);f?h[Be](d,{shape:o},t):d.attr({shape:o})}function s(i,n,a){var o,s=e[Ye](i),c=s.getBandWidth(),u=e.pointToCoord(n),d=Math.PI/180;o="angle"===i?r(e.cx,e.cy,a[0],a[1],(-u[1]-c/2)*d,(-u[1]+c/2)*d):r(e.cx,e.cy,u[0]-c/2,u[0]+c/2,0,2*Math.PI);var p=l._getPointerElement(e,t,i,o);f?h[Be](p,{shape:o},t):p.attr({shape:o})}var l=this,c=t.get("type"),u=e.getAngleAxis(),d=e.getRadiusAxis(),f="cross"!==c;if("cross"===c)o("angle",a,d[pi]()),o(be,a,u[pi]()),this._updateCrossText(e,a,t);else{var p=e[Ye](n===be?"angle":be),v=p[pi]();("line"===c?o:s)(n,a,v)}},_updateCrossText:function(t,e,i){var n=i[_n]("crossStyle"),r=n[_n](Pi),a=this._tooltipModel,o=this._crossText;o||(o=this._crossText=new h.Text({style:{textAlign:"left",textBaseline:"bottom"}}),this.group.add(o));var s=t.pointToData(e),l=t[fi];s=d.map(s,function(e,i){var n=t[Ye](l[i]);return e=n.type===je||"time"===n.type?n.scale[mi](e):f.addCommas(e[ne](n.getPixelPrecision()))}),o[Mi]({fill:r[ki]()||n.get("color"),textFont:r[Di](),text:s.join(", "),x:e[0]+5,y:e[1]-5}),o.z=a.get("z"),o[qi]=a.get(qi)},_getPointerElement:function(t,e,i,n){var r=this._tooltipModel,a=r.get("z"),o=r.get(qi),s=this._axisPointers,l=t.name;if(s[l]=s[l]||{},s[l][i])return s[l][i];var c=e.get("type"),u=e[_n](c+"Style"),d="shadow"===c,f=u[d?"getAreaStyle":ve](),p="polar"===t.type?d?xe:i===be?A:"Line":d?"Rect":"Line";d?f[F]=null:f.fill=null;var v=s[l][i]=new h[p]({style:f,z:a,zlevel:o,silent:!0,shape:n});return this.group.add(v),v},_dispatchAndShowSeriesTooltipContent:function(t,e,i,n,r){var a=this._tooltipModel,o=this._tooltipContent,l=t[He](),c=d.map(e,function(t){return{seriesIndex:t[Xi],dataIndex:t.getAxisTooltipDataIndex?t.getAxisTooltipDataIndex(t.getDimensionsOnAxis(l.dim),n,l):t[Bn]().indexOfNearest(t.getDimensionsOnAxis(l.dim),n["x"===l.dim||l.dim===be?0:1])}}),u=this._lastHover,h=this._api;if(u.payloadBatch&&!r&&h[sn]({type:"downplay",batch:u.payloadBatch}),r||(h[sn]({type:"highlight",batch:c}),u.payloadBatch=c),h[sn]({type:"showTip",dataIndex:c[0][Yi],seriesIndex:c[0][Xi],from:this.uid}),l&&a.get("showContent")){var p,v=a.get(_),m=a.get(Si),g=d.map(e,function(t,e){return t[Ui](c[e][Yi])});o.show(a);var y=c[0][Yi];if(!r){if(this._ticket="",v){if(typeof v===bn)p=f.formatTpl(v,g);else if(typeof v===Gi){var x=this,w="axis_"+t.name+"_"+y,b=function(t,e){t===x._ticket&&(o.setContent(e),s(m,i[0],i[1],o,g,null,h))};x._ticket=w,p=v(g,w,b)}}else{var M=e[0][Bn]()[ci](y);p=(M?M+"<br />":"")+d.map(e,function(t,e){return t.formatTooltip(c[e][Yi],!0)}).join("<br />")}o.setContent(p)}s(m,i[0],i[1],o,g,null,h)}},_showItemTooltipContent:function(t,e,i){var n=this._api,r=t[Bn](),a=r[Ne](e),o=this._tooltipModel,l=this._tooltipContent,c=a[_n]("tooltip");if(c.parentModel?c.parentModel.parentModel=o:c.parentModel=this._tooltipModel,c.get("showContent")){var u,h=c.get(_),d=c.get(Si),p=t[Ui](e);if(h){if(typeof h===bn)u=f.formatTpl(h,p);else if(typeof h===Gi){var v=this,m="item_"+t.name+"_"+e,g=function(t,e){t===v._ticket&&(l.setContent(e),s(d,i.offsetX,i.offsetY,l,p,i[$i],n))};v._ticket=m,u=h(p,m,g)}}else u=t.formatTooltip(e);l.show(c),l.setContent(u),s(d,i.offsetX,i.offsetY,l,p,i[$i],n)}},_showAxisPointer:function(t){if(t){var e=this._axisPointers[t];e&&d.each(e,function(t){t.show()})}else this.group[Y](function(t){t.show()}),this.group.show()},_resetLastHover:function(){var t=this._lastHover;t.payloadBatch&&this._api[sn]({type:"downplay",batch:t.payloadBatch}),this._lastHover={}},_hideAxisPointer:function(t){if(t){var e=this._axisPointers[t];e&&d.each(e,function(t){t.hide()})}else this.group.hide()},_hide:function(){this._hideAxisPointer(),this._resetLastHover(),this._alwaysShowContent||this._tooltipContent.hideLater(this._tooltipModel.get("hideDelay")),this._api[sn]({type:"hideTip",from:this.uid})},dispose:function(t,e){var i=e.getZr();this._tooltipContent.hide(),i.off("click",this._tryShow),i.off("mousemove",this._tryShow),i.off(Ki,this._hide),e.off("showTip",this._manuallyShowTip),e.off("hideTip",this._manuallyHideTip)}})}),e("echarts/component/marker/MarkPointModel",[Zn,"../../model/globalDefault",se,si],function(t){var e=t("../../model/globalDefault"),i=t(se);e.markPoint={};var n=t(si)[Ei]({type:"markPoint",dependencies:[nn,"grid","polar"],init:function(t,e,i,n,r){this[h](t,i),this[ae](t,r,!0)},mergeOption:function(t,e,r){if(!e){var a=this[D];a[rn](function(t){var e=t.get("markPoint"),o=t.markPointModel;if(!e||!e.data)return void(t.markPointModel=null);if(o)o[ae](e,!0);else{r&&i[ie](e.label,[Si,"show",Pi,f,_]);var s={seriesIndex:t[Xi],name:t.name};o=new n(e,this,a,s,!0)}t.markPointModel=o},this)}},defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{normal:{show:!0,position:"inside"},emphasis:{show:!0}},itemStyle:{normal:{borderWidth:2},emphasis:{}}}});return n}),e("echarts/component/marker/MarkPointView",[Zn,"../../chart/helper/SymbolDraw",Gn,W,se,U,le,"./markerHelper",si],function(t){function e(t,e,i){var r=e[fi],a=new c(n.map(r,e.getDimensionInfo,e),i);return t&&a[re](n[On](n.map(i.get("data"),n.curry(u.dataTransform,e,t)),n.curry(u.dataFilter,t)),null,u.dimValueGetter),a}var i=t("../../chart/helper/SymbolDraw"),n=t(Gn),r=t(W),a=t(se),o=t(U),s=r.addCommas,l=r.encodeHTML,c=t(le),u=t("./markerHelper"),h={getRawDataArray:function(){return this[xn].data},formatTooltip:function(t){var e=this[Bn](),i=this[Le](t),r=n[Fi](i)?n.map(i,s).join(", "):s(i),a=e[ci](t);return this.name+"<br />"+((a?l(a)+" : ":"")+r)},getData:function(){return this._data},setData:function(t){this._data=t}};n[Dn](h,a.dataFormatMixin),t(si)[Vn]({type:"markPoint",init:function(){this._symbolDrawMap={}},render:function(t,e,i){var n=this._symbolDrawMap;for(var r in n)n[r].__keep=!1;e[rn](function(t){var e=t.markPointModel;e&&this._renderSeriesMP(t,e,i)},this);for(var r in n)n[r].__keep||(n[r][cn](),this.group[cn](n[r].group))},_renderSeriesMP:function(t,r,a){var s=t[zn],l=t.name,c=t[Bn](),u=this._symbolDrawMap,d=u[l];d||(d=u[l]=new i);var f=e(s,c,r),p=s&&s[fi];n.mixin(r,h),r.setData(f),f.each(function(t){var e,i=f[Ne](t),n=i[S]("x"),l=i[S]("y");if(null!=n&&null!=l)e=[o[Ce](n,a[yn]()),o[Ce](l,a[gn]())];else if(s){var u=f.get(p[0],t),h=f.get(p[1],t);e=s[di]([u,h])}f[hi](t,e);var d=i[S](ue);typeof d===Gi&&(d=d(r[Le](t),r[Ui](t))),f[ce](t,{symbolSize:d,color:i.get("itemStyle.normal.color")||c[pe]("color"),symbol:i[S](he)})}),d[ri](f),this.group.add(d.group),f[Ie](function(t){t[Wi](function(t){t[ji]=r})}),d.__keep=!0}})}),e("echarts/component/marker/MarkLineModel",[Zn,"../../model/globalDefault",se,si],function(t){var e=t("../../model/globalDefault"),i=t(se);e.markLine={};var n=t(si)[Ei]({type:"markLine",dependencies:[nn,"grid","polar"],init:function(t,e,i,n,r){this[h](t,i),this[ae](t,r,!0)},mergeOption:function(t,e,r){if(!e){var a=this[D];a[rn](function(t){var e=t.get("markLine"),o=t.markLineModel;if(!e||!e.data)return void(t.markLineModel=null);if(o)o[ae](e,!0);else{r&&i[ie](e.label,[Si,"show",Pi,f,_]);var s={seriesIndex:t[Xi],name:t.name};o=new n(e,this,a,s,!0)}t.markLineModel=o},this)}},defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{normal:{show:!0,position:"end"},emphasis:{show:!0}},lineStyle:{normal:{type:"dashed"},emphasis:{width:3}},animationEasing:"linear"}});return n}),e("echarts/component/marker/MarkLineView",[Zn,Gn,le,W,se,U,"./markerHelper","../../chart/helper/LineDraw",si],function(t){function e(t,e){return u.dataFilter(t,e[0])&&u.dataFilter(t,e[1])}function i(t,i,a){var o=t[fi],s=new r(o,a),l=new r(o,a),c=new r([],a);if(t){var h=t[He](),f=t[Se](h),p=a.get("precision"),v=n[On](n.map(a.get("data"),n.curry(d,i,t,h,f,p)),n.curry(e,t));s[re](n.map(v,function(t){return t[0]}),null,u.dimValueGetter),l[re](n.map(v,function(t){return t[1]}),null,u.dimValueGetter),c[re](n.map(v,function(t){return t[2]}))}return{from:s,to:l,line:c}}var n=t(Gn),r=t(le),a=t(W),o=t(se),s=t(U),l=a.addCommas,c=a.encodeHTML,u=t("./markerHelper"),h=t("../../chart/helper/LineDraw"),d=function(t,e,i,r,a,o){var s=o.type;if(!n[Fi](o)&&"min"===s||"max"===s||"average"===s){null!=o.valueIndex&&(i=e[Ye](e[fi][1-o.valueIndex]),r=e[Ye](e[fi][o.valueIndex]));var l=i.dim+"Axis",c=r.dim+"Axis",h=i.scale[pi](),d=n[ln]({},o),f={};d.type=null,d[l]=h[0],f[l]=h[1];var p="average"===s?t.getSum(r.dim,!0)/t.count():t[Xe](r.dim)["max"===s?1:0];p=r.coordToData(r[Me](p)),d[c]=f[c]=p,o=[d,f,{type:s,value:+p[ne](a)}]}return o=[u.dataTransform(t,e,o[0]),u.dataTransform(t,e,o[1]),n[ln]({},o[2])],n.merge(o[2],o[0]),n.merge(o[2],o[1]),o},f={formatTooltip:function(t){var e=this._data,i=this[Le](t),r=n[Fi](i)?n.map(i,l).join(", "):l(i),a=e[ci](t);return this.name+"<br />"+((a?c(a)+" : ":"")+r)},getRawDataArray:function(){return this[xn].data},getData:function(){return this._data},setData:function(t){this._data=t}};n[Dn](f,o.dataFormatMixin),t(si)[Vn]({type:"markLine",init:function(){this._markLineMap={}},render:function(t,e,i){var n=this._markLineMap;for(var r in n)n[r].__keep=!1;e[rn](function(t){var n=t.markLineModel;n&&this._renderSeriesML(t,n,e,i)},this);for(var r in n)n[r].__keep||this.group[cn](n[r].group)},_renderSeriesML:function(t,e,r,a){function o(t,e,i){var n,r=t[Ne](e),o=r.get("x"),c=r.get("y");if(null!=o&&null!=c)n=[s[Ce](o,a[yn]()),s[Ce](c,a[gn]())];else{var h=t.get(m[0],e),d=t.get(m[1],e);n=l[di]([h,d])}t[hi](e,n),t[ce](e,{symbolSize:r.get(ue)||w[i?0:1],symbol:r.get(he,!0)||_[i?0:1],color:r.get("itemStyle.normal.color")||u[pe]("color")})}var l=t[zn],c=t.name,u=t[Bn](),d=this._markLineMap,p=d[c];p||(p=d[c]=new h),this.group.add(p.group);var v=i(l,u,e),m=l[fi],g=v.from,y=v.to,x=v.line;n[ln](e,f),e.setData(x);var _=e.get(he),w=e.get(ue);n[Fi](_)||(_=[_,_]),typeof w===Ri&&(w=[w,w]),v.from.each(function(t){o(g,t,!0),o(y,t)}),x.each(function(t){var e=x[Ne](t).get("lineStyle.normal.color");x[ce](t,{color:e||g[ze](t,"color")}),x[hi](t,[g[Ge](t),y[Ge](t)])}),p[ri](x,g,y),v.line[Ie](function(t){t[Wi](function(t){t[ji]=e})}),p.__keep=!0}})}),e("echarts/component/timeline/preprocessor",[Zn,Gn],function(t){function e(t){var e=t.type,a={number:"value",time:"time"};if(a[e]&&(t.axisType=a[e],delete t.type),i(t),n(t,"controlPosition")){var o=t.controlStyle||(t.controlStyle={});n(o,Si)||(o[Si]=t.controlPosition),"none"!==o[Si]||n(o,"show")||(o.show=!1,delete o[Si]),delete t.controlPosition}r.each(t.data||[],function(t){r[un](t)&&!r[Fi](t)&&(!n(t,"value")&&n(t,"name")&&(t.value=t.name),i(t))})}function i(t){var e=t[Oi]||(t[Oi]={}),i=e[Te]||(e[Te]={}),a=(e[Ze]||(e[Ze]={}),t.label||t.label||{}),o=a[Ze]||(a[Ze]={}),s={normal:1,emphasis:1};r.each(a,function(t,e){s[e]||n(o,e)||(o[e]=t)}),i.label&&!n(a,Te)&&(a[Te]=i.label,delete i.label)}function n(t,e){return t.hasOwnProperty(e)}var r=t(Gn);return function(t){var i=t&&t.timeline;r[Fi](i)||(i=i?[i]:[]),r.each(i,function(t){t&&e(t)})}}),e("echarts/component/timeline/timelineAction",[Zn,si],function(t){var e=t(si);e[Tn]({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,e){var i=e[Je]("timeline");i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.setPlayState(!1)),e.resetOption("timeline")}),e[Tn]({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,e){var i=e[Je]("timeline");i&&null!=t.playState&&i.setPlayState(t.playState)})}),e("echarts/component/timeline/SliderTimelineModel",[Zn,"./TimelineModel"],function(t){var e=t("./TimelineModel");return e[ln]({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:!1,symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",normal:{show:!0,interval:"auto",rotate:0,textStyle:{color:"#304654"}},emphasis:{show:!0,textStyle:{color:"#c23531"}}},itemStyle:{normal:{color:"#304654",borderWidth:1},emphasis:{color:"#c23531"}},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",normal:{color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}})}),e("echarts/component/timeline/SliderTimelineView",[Zn,Gn,qe,Qe,"./TimelineView","./TimelineAxis",u,"../../coord/axisHelper",P,z,U,se,W],function(t){function e(t,e){return f[Ai](t[Ti](),{width:e[yn](),height:e[gn]()},t.get("padding"))}function i(t,e,i,n){var r=h.makePath(t.get(e)[Hi](/^path:\/\//,""),a.clone(n||{}),new y(i[0],i[1],i[2],i[3]),Ci);return r}function n(t,e,i,n,r,o){var l=t.get(he),c=e.get("color"),u=t.get(ue),h=u/2,d=e[Ln](["color",he,ue]);return r?(r[Mi](d),r.setColor(c),i.add(r),o&&o.onUpdate(r)):(r=m[s](l,-h,-h,u,u,c),i.add(r),o&&o.onCreate(r)),n=a.merge({rectHover:!0,style:d,z2:100},n,!0),r.attr(n),r}function r(t,e,i,n,r){if(!t.dragging){var a=n[_n]("checkpointStyle"),o=i[Me](n[Bn]().get(["value"],e));r||!a.get(Fe,!0)?t.attr({position:[o,0]}):(t.stopAnimation(!0),t.animateTo({position:[o,0]},a.get("animationDuration",!0),a.get("animationEasing",!0)))}}var a=t(Gn),h=t(qe),f=t(Qe),p=t("./TimelineView"),v=t("./TimelineAxis"),m=t(u),g=t("../../coord/axisHelper"),y=t(P),x=t(z),w=t(U),M=t(se),S=t(W),C=S.encodeHTML,A=a.bind,T=a.each,L=Math.PI;return p[ln]({type:"timeline.slider",init:function(t,e){this.api=e,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(t,e,i){if(this.model=t,this.api=i,this[D]=e,this.group[In](),t.get("show",!0)){var n=this._layout(t,i),r=this._createGroup("mainGroup"),a=this._createGroup("labelGroup"),o=this._axis=this._createAxis(n,t);T(["AxisLine","AxisTick","Control","CurrentPointer"],function(e){this["_render"+e](n,r,o,t)},this),this._renderAxisLabel(n,a,o,t),this._position(n,t)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group[In]()},dispose:function(){this._clearTimer()},_layout:function(t,i){var n=t.get("label.normal.position"),r=t.get(c),a=e(t,i);null==n||"auto"===n?n=r===Z?a.y+a[fn]/2<i[gn]()/2?"-":"+":a.x+a.width/2<i[yn]()/2?"+":"-":isNaN(n)&&(n={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[r][n]);var o={horizontal:"center",vertical:n>=0||"+"===n?"left":"right"},s={horizontal:n>=0||"+"===n?"top":pn,vertical:"middle"},u={horizontal:0,vertical:L/2},h=r===l?a[fn]:a.width,d=t[_n]("controlStyle"),f=d.get("show"),p=f?d.get("itemSize"):0,v=f?d.get("itemGap"):0,m=p+v,g=t.get("label.normal.rotate")||0;g=g*L/180;var y,x,_,w,b=d.get(Si,!0),f=d.get("show",!0),M=f&&d.get("showPlayBtn",!0),S=f&&d.get("showPrevBtn",!0),C=f&&d.get("showNextBtn",!0),A=0,T=h;return"left"===b||b===pn?(M&&(y=[0,0],A+=m),S&&(x=[A,0],A+=m),C&&(_=[T-p,0],T-=m)):(M&&(y=[T-p,0],T-=m),S&&(x=[0,0],A+=m),C&&(_=[T-p,0],T-=m)),w=[A,T],t.get($e)&&w[I](),{viewRect:a,mainLength:h,orient:r,rotation:u[r],labelRotation:g,labelPosOpt:n,labelAlign:o[r],labelBaseline:s[r],playPosition:y,prevBtnPosition:x,nextBtnPosition:_,axisExtent:w,controlSize:p,controlGap:v}},_position:function(t){function e(t){var e=t[Si];t.origin=[f[0][0]-e[0],f[1][0]-e[1]]}function i(t){return[[t.x,t.x+t.width],[t.y,t.y+t[fn]]]}function n(t,e,i,n,r){t[n]+=i[n][r]-e[n][r]}var r=this._mainGroup,a=this._labelGroup,s=t.viewRect;if(t[c]===l){var u=x[yi](),h=s.x,d=s.y+s[fn];x.translate(u,u,[-h,-d]),x[o](u,u,-L/2),x.translate(u,u,[h,d]),s=s.clone(),s[R](u)}var f=i(s),p=i(r[Li]()),v=i(a[Li]()),m=r[Si],g=a[Si];g[0]=m[0]=f[0][0];var y=t.labelPosOpt;if(isNaN(y)){var _="+"===y?0:1;n(m,p,f,1,_),n(g,v,f,1,1-_)}else{var _=y>=0?0:1;n(m,p,f,1,_),g[1]=m[1]+y}r[Si]=m,a[Si]=g,r[$]=a[$]=t[$],e(r),e(a)},_createAxis:function(t,e){var i=e[Bn](),n=e.get("axisType"),r=g.createScaleByModel(e,n),a=i[Xe]("value");r[vi](a[0],a[1]),this._customizeScale(r,i),r.niceTicks();var o=new v("value",r,t.axisExtent,n);return o.model=e,o},_customizeScale:function(t,e){t[gi]=function(){return e[we](["value"],function(t){return t})},t.getTicksLabels=function(){return a.map(this[gi](),t[mi],t)}},_createGroup:function(t){var e=this["_"+t]=new h.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,i,n){var r=i[pi]();n.get("lineStyle.show")&&e.add(new h.Line({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:a[ln]({lineCap:"round"},n[_n](Rn)[ve]()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,i,r){var a=r[Bn](),o=i.scale[gi](),s=this._prepareTooltipHostModel(a,r);T(o,function(t,r){var o=i[Me](t),l=a[Ne](r),c=l[_n](oi),u=l[_n]("itemStyle.emphasis"),d={position:[o,0],onclick:A(this._changeTimeline,this,r)},f=n(l,c,e,d);h[Ae](f,u[Ln]()),l.get("tooltip")?(f[Yi]=r,f[ji]=s):f[Yi]=f[ji]=null},this)},_prepareTooltipHostModel:function(t,e){var i=M.createDataFormatModel({},t,e.get("data")),n=this;return i.formatTooltip=function(t){return C(n._axis.scale[mi](t))},i},_renderAxisLabel:function(t,e,i,n){var r=n[_n](Pe);if(r.get("show")){var a=n[Bn](),o=i.scale[gi](),s=g[Ke](i,r.get(_)),l=i.getLabelInterval();T(o,function(n,r){if(!i.isLabelIgnored(r,l)){var o=a[Ne](r),c=o[_n]("label.normal.textStyle"),u=o[_n]("label.emphasis.textStyle"),d=i[Me](n),f=new h.Text({style:{text:s[r],textAlign:t.labelAlign,textBaseline:t.labelBaseline,textFont:c[Di](),fill:c[ki]()},position:[d,0],rotation:t.labelRotation-t[$],onclick:A(this._changeTimeline,this,r),silent:!1});e.add(f),h[Ae](f,u[Ln]())}},this)}},_renderControl:function(t,e,n,r){function a(t,n,a,d){if(t){var f={position:t,origin:[o/2,0],rotation:d?-s:0,rectHover:!0,style:l,onclick:a},p=i(r,n,u,f);e.add(p),h[Ae](p,c)}}var o=t.controlSize,s=t[$],l=r[_n]("controlStyle.normal")[Ln](),c=r[_n]("controlStyle.emphasis")[Ln](),u=[0,-o/2,o,o],d=r.getPlayState(),f=r.get($e,!0);a(t.nextBtnPosition,"controlStyle.nextIcon",A(this._changeTimeline,this,f?"-":"+")),a(t.prevBtnPosition,"controlStyle.prevIcon",A(this._changeTimeline,this,f?"+":"-")),a(t.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),A(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(t,e,i,a){var o=a[Bn](),s=a.getCurrentIndex(),l=o[Ne](s)[_n]("checkpointStyle"),c=this,u={onCreate:function(t){t[b]=!0,t.drift=A(c._handlePointerDrag,c),t.ondragend=A(c._handlePointerDragend,c),r(t,s,i,a,!0)},onUpdate:function(t){r(t,s,i,a)}};this._currentPointer=n(l,l,this._mainGroup,{},this._currentPointer,u)},_handlePlayClick:function(t){this._clearTimer(),this.api[sn]({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var i=this._toAxisCoord(t)[0],n=this._axis,r=w.asc(n[pi]().slice());i>r[1]&&(i=r[1]),i<r[0]&&(i=r[0]),this._currentPointer[Si][0]=i,this._currentPointer.dirty();var a=this._findNearestTick(i),o=this.model;(e||a!==o.getCurrentIndex()&&o.get("realtime"))&&this._changeTimeline(a)},_doPlayStop:function(){function t(){var t=this.model;this._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))}this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(A(t,this),this.model.get("playInterval")))},_toAxisCoord:function(t){var e=this._mainGroup[d]();return h[R](t,e,!0)},_findNearestTick:function(t){var e,i=this.model[Bn](),n=1/0,r=this._axis;return i.each(["value"],function(i,a){var o=r[Me](i),s=Math.abs(o-t);n>s&&(n=s,e=a)}),e},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api[sn]({type:"timelineChange",currentIndex:t,from:this.uid})}})}),e("echarts/component/dataZoom/DataZoomModel",[Zn,Gn,"zrender/core/env",si,se,"./AxisProxy"],function(t){var e=t(Gn),i=t("zrender/core/env"),n=t(si),r=t(se),a=t("./AxisProxy"),o=e.each,s=r.eachAxisDim;return n[Ei]({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis",nn],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:100,start:0,end:100,startValue:null,endValue:null},init:function(t,e,i){this._autoMode,this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this[h](t,i),this[ae]({},!0)
  },mergeOption:function(t,n){var r=this[xn];t&&e.merge(r,t),i.canvasSupported||(r.realtime=!1),this.textStyleModel=this[_n](Pi),this._resetTarget(t,n),this._giveAxisProxies(),this._backup()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(e,i,n,r){var o=this.dependentModels[e.axis][i],s=o.__dzAxisProxy||(o.__dzAxisProxy=new a(e.name,i,this,r));t[e.name+"_"+i]=s},this)},_resetTarget:function(t,e){this._resetAutoMode(t,e);var i=this[xn];s(function(t){var e=t.axisIndex;i[e]="axisIndex"===n?[]:r.normalizeToArray(i[e])},this);var n=this._autoMode;"axisIndex"===n?this._autoSetAxisIndex():n===c&&this._autoSetOrient()},_resetAutoMode:function(t,e){var i=e?this[xn]:t,n=!1;s(function(t){null!=i[t.axisIndex]&&(n=!0)},this);var r=i[c];null==r&&n?this._autoMode=c:(null==r&&(this[xn][c]=Z),n||(this._autoMode="axisIndex"))},_autoSetAxisIndex:function(){var t="axisIndex"===this._autoMode,i=this.get(c),n=this[xn];if(t){var r=i===l?{dim:"y",axisIndex:"yAxisIndex",axis:"yAxis"}:{dim:"x",axisIndex:"xAxisIndex",axis:"xAxis"};this.dependentModels[r.axis][on]&&(n[r.axisIndex]=[0],t=!1)}t&&s(function(e){if(t){var i=[],r=this.dependentModels[e.axis];if(r[on]&&!i[on])for(var a=0,o=r[on];o>a;a++)r[a].get("type")===je&&i.push(a);n[e.axisIndex]=i,i[on]&&(t=!1)}},this),t&&this[D][rn](function(t){this._isSeriesHasAllAxesTypeOf(t,"value")&&s(function(i){var r=n[i.axisIndex],a=t.get(i.axisIndex);e[Zi](r,a)<0&&r.push(a)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(e){!t&&(t=e.name)},this),this[xn][c]="y"===t?l:Z},_isSeriesHasAllAxesTypeOf:function(t,e){var i=!0;return s(function(n){var r=t.get(n.axisIndex),a=this.dependentModels[n.axis][r];a&&a.get("type")===e||(i=!1)},this),i},_backup:function(){this.eachTargetAxis(function(t,e,i,n){var r=n[Je](t.axis,e);this.getAxisProxy(t.name,e).backup(this,{scale:r.get("scale",!0),min:r.get("min",!0),max:r.get("max",!0)})},this)},getFirstTargetAxisModel:function(){var t;return s(function(e){if(null==t){var i=this.get(e.axisIndex);i[on]&&(t=this.dependentModels[e.axis][i[0]])}},this),t},eachTargetAxis:function(t,e){var i=this[D];s(function(n){o(this.get(n.axisIndex),function(r){t.call(e,n,r,this,i)},this)},this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},setRawRange:function(t){o(["start","end","startValue","endValue"],function(e){this[xn][e]=t[e]},this)},getPercentRange:function(){var t=this._axisProxies;for(var e in t)if(t.hasOwnProperty(e)&&t[e].hostedBy(this))return t[e].getDataPercentWindow();for(var e in t)if(t.hasOwnProperty(e)&&!t[e].hostedBy(this))return t[e].getDataPercentWindow()}})}),e("echarts/component/dataZoom/DataZoomView",[Zn,"../../view/Component"],function(t){var e=t("../../view/Component");return e[ln]({type:"dataZoom",render:function(t,e,i){this.dataZoomModel=t,this[D]=e,this.api=i},getTargetInfo:function(){function t(t,e,i,n){for(var r,a=0;a<i[on];a++)if(i[a].model===t){r=i[a];break}r||i.push(r={model:t,axisModels:[],coordIndex:n}),r.axisModels.push(e)}var e=this.dataZoomModel,i=this[D],n=[],r=[],a=[];return e.eachTargetAxis(function(e,o){var s=i[Je](e.axis,o);if(s){a.push(s);var l=s.get("gridIndex"),c=s.get(G);if(null!=l){var u=i[Je]("grid",l);t(u,s,n,l)}else if(null!=c){var u=i[Je]("polar",c);t(u,s,r,c)}}},this),{cartesians:n,polars:r,axisModels:a}}})}),e("echarts/component/dataZoom/SliderZoomModel",[Zn,"./DataZoomModel"],function(t){var e=t("./DataZoomModel");return e[ln]({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,left:"auto",right:"auto",top:"auto",bottom:"auto",width:"auto",height:"auto",backgroundColor:"rgba(47,69,84,0)",dataBackgroundColor:"#ddd",fillerColor:"rgba(47,69,84,0.25)",handleColor:"rgba(47,69,84,0.65)",handleSize:10,labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}})}),e("echarts/component/dataZoom/SliderZoomView",[Zn,Gn,qe,"../../util/throttle","./DataZoomView",U,Qe,"../helper/sliderMove"],function(t){function e(t){return"x"===t?"y":"x"}var i=t(Gn),n=t(qe),r=t("../../util/throttle"),a=t("./DataZoomView"),o=n.Rect,s=t(U),u=s[q],h=t(Qe),f=t("../helper/sliderMove"),p=s.asc,v=i.bind,m=Math.round,g=Math.max,y=i.each,_=7,w=1,b=30,M=Z,S=l,C=5,A=["line","bar","candlestick","scatter"];return a[ln]({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._halfHandleSize,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,i,n){return this[oe](Qi,arguments),r.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get(c),this._halfHandleSize=m(t.get("handleSize")/2),this.dataZoomModel.get("show")===!1?void this.group[In]():(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),void this._updateView())},remove:function(){this[oe](cn,arguments),r.clear(this,"_dispatchZoomAction")},dispose:function(){this[oe](en,arguments),r.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t[In](),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new n.Group;this._renderBackground(),this._renderDataShadow(),this._renderHandle(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,n=this._findCoordRect(),r={width:e[yn](),height:e[gn]()},a=this._orient===M?{left:n.x,top:r[fn]-b-_,width:n.width,height:b}:{right:_,top:n.y,width:b,height:n[fn]};i.each(h.getLayoutParams(t[xn]),function(t,e){"auto"!==t&&(a[e]=t)});var o=h[Ai](a,r,t.padding);this._location={x:o.x,y:o.y},this._size=[o.width,o[fn]],this._orient===S&&this._size[I]()},_positionGroup:function(){var t=this.group,e=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),r=n&&n.get($e),a=this._displayables.barGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;a.attr(i!==M||r?i===M&&r?{scale:o?[-1,1]:[-1,-1]}:i!==S||r?{scale:o?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:o?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:o?[1,1]:[1,-1]});var s=t[Li]([a]);t[Si][0]=e.x-s.x,t[Si][1]=e.y-s.y},_getViewExtent:function(){var t=this._halfHandleSize,e=g(this._size[0],4*t),i=[t,e-t];return i},_renderBackground:function(){var t=this.dataZoomModel,e=this._size;this._displayables.barGroup.add(new o({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get(kn)}}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,i=t[nn],r=i.getRawData(),a=i.getShadowDim?i.getShadowDim():t.otherDim,o=r[Xe](a),s=.3*(o[1]-o[0]);o=[o[0]-s,o[1]+s];var l=[0,e[1]],c=[0,e[0]],h=[[e[0],0],[0,0]],d=c[1]/(r.count()-1),f=0,p=Math.round(r.count()/e[0]);r.each([a],function(t,e){if(p>0&&e%p)return void(f+=d);var i=null==t||isNaN(t)||""===t?null:u(t,o,l,!0);null!=i&&h.push([f,i]),f+=d}),this._displayables.barGroup.add(new n.Polyline({shape:{points:h},style:{fill:this.dataZoomModel.get("dataBackgroundColor"),lineWidth:0},silent:!0,z2:-20}))}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,n=t.get("showDataShadow");if(n!==!1){var r,a=this[D];return t.eachTargetAxis(function(o,s){var l=t.getAxisProxy(o.name,s).getTargetSeriesModels();i.each(l,function(t){if(!(r||n!==!0&&i[Zi](A,t.get("type"))<0)){var l=e(o.name),c=a[Je](o.axis,s).axis;r={thisAxis:c,series:t,thisDim:o.name,otherDim:l,otherAxisInverse:t[zn][Se](c)[$e]}}},this)},this),r}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],i=t.handleLabels=[],r=this._displayables.barGroup,a=this._size;r.add(t.filler=new o({draggable:!0,cursor:"move",drift:v(this._onDragMove,this,"all"),ondragend:v(this._onDragEnd,this),onmouseover:v(this._showDataInfo,this,!0),onmouseout:v(this._showDataInfo,this,!1),style:{fill:this.dataZoomModel.get("fillerColor"),textPosition:"inside"}})),r.add(new o(n.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{stroke:this.dataZoomModel.get("dataBackgroundColor"),lineWidth:w,fill:"rgba(0,0,0,0)"}}))),y([0,1],function(t){r.add(e[t]=new o({style:{fill:this.dataZoomModel.get("handleColor")},cursor:"move",draggable:!0,drift:v(this._onDragMove,this,t),ondragend:v(this._onDragEnd,this),onmouseover:v(this._showDataInfo,this,!0),onmouseout:v(this._showDataInfo,this,!1)}));var a=this.dataZoomModel.textStyleModel;this.group.add(i[t]=new n.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textBaseline:"middle",textAlign:"center",fill:a[ki](),textFont:a[Di]()}}))},this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange();this._handleEnds=u(t,[0,100],this._getViewExtent(),!0)},_updateInterval:function(t,e){var i=this._handleEnds,n=this._getViewExtent();f(e,i,n,"all"===t||this.dataZoomModel.get("zoomLock")?"rigid":"cross",t),this._range=p(u(i,n,[0,100],!0))},_updateView:function(){var t=this._displayables,e=this._handleEnds,i=p(e.slice()),n=this._size,r=this._halfHandleSize;y([0,1],function(i){var a=t.handles[i];a[me]({x:e[i]-r,y:-1,width:2*r,height:n[1]+2,r:1})},this),t.filler[me]({x:i[0],y:0,width:i[1]-i[0],height:this._size[1]}),this._updateDataInfo()},_updateDataInfo:function(){function t(t){var e=n.getTransform(i.handles[t],this.group),s=n.transformDirection(0===t?"right":"left",e),l=this._halfHandleSize+C,u=n[R]([c[t]+(0===t?-l:l),this._size[1]/2],e);r[t][Mi]({x:u[0],y:u[1],textBaseline:a===M?x:s,textAlign:a===M?s:Ci,text:o[t]})}var e=this.dataZoomModel,i=this._displayables,r=i.handleLabels,a=this._orient,o=["",""];if(e.get("showDetail")){var s,l;e.eachTargetAxis(function(t,i){s||(s=e.getAxisProxy(t.name,i).getDataValueWindow(),l=this[D][Je](t.axis,i).axis)},this),s&&(o=[this._formatLabel(s[0],l),this._formatLabel(s[1],l)])}var c=p(this._handleEnds.slice());t.call(this,0),t.call(this,1)},_formatLabel:function(t,e){var n=this.dataZoomModel,r=n.get("labelFormatter");if(i.isFunction(r))return r(t);var a=n.get("labelPrecision");return(null==a||"auto"===a)&&(a=e.getPixelPrecision()),t=null==t&&isNaN(t)?"":e.type===je||"time"===e.type?e.scale[mi](Math.round(t)):t[ne](Math.min(a,20)),i[Ii](r)&&(t=r[Hi]("{value}",t)),t},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,i){this._dragging=!0;var n=this._applyBarTransform([e,i],!0);this._updateInterval(t,n[0]),this._updateView(),this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),this._dispatchZoomAction()},_dispatchZoomAction:function(){var t=this._range;this.api[sn]({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_applyBarTransform:function(t,e){var i=this._displayables.barGroup[d]();return n[R](t,i,e)},_findCoordRect:function(){var t,e=this.getTargetInfo();if(e.cartesians[on])t=e.cartesians[0].model[zn][Pn]();else{var i=this.api[yn](),n=this.api[gn]();t={x:.2*i,y:.2*n,width:.6*i,height:.6*n}}return t}})}),e("echarts/component/dataZoom/InsideZoomView",[Zn,"./DataZoomView","../../util/throttle",Gn,"../helper/sliderMove","../../component/helper/RoamController"],function(t){function e(t,e,i,r){e=e.slice();var a=r.axisModels[0];if(a){var o=n(t,a,i),s=o.signal*(e[1]-e[0])*o.pixel/o.pixelLength;return l(s,e,[0,100],"rigid"),e}}function i(t,e,i,a,o){i=i.slice();var s=o.axisModels[0];if(s){var l=n(e,s,a),c=l.pixel-l.pixelStart,u=c/l.pixelLength*(i[1]-i[0])+i[0];return t=Math.max(t,0),i[0]=(i[0]-u)*t+u,i[1]=(i[1]-u)*t+u,r(i)}}function n(t,e,i){var n=e.axis,r=i.rect,a={};return"x"===n.dim?(a.pixel=t[0],a.pixelLength=r.width,a.pixelStart=r.x,a.signal=n[$e]?1:-1):(a.pixel=t[1],a.pixelLength=r[fn],a.pixelStart=r.y,a.signal=n[$e]?-1:1),a}function r(t){var e=[0,100];return!(t[0]<=e[1])&&(t[0]=e[1]),!(t[1]<=e[1])&&(t[1]=e[1]),!(t[0]>=e[0])&&(t[0]=e[0]),!(t[1]>=e[0])&&(t[1]=e[0]),t}var a=t("./DataZoomView"),o=t("../../util/throttle"),s=t(Gn),l=t("../helper/sliderMove"),c=t("../../component/helper/RoamController"),u=s.bind;return a[ln]({type:"dataZoom.inside",init:function(){this._controllers={},this._range},render:function(t,e,i,n){this[oe](Qi,arguments),o.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),n&&"dataZoom"===n.type&&n.from===this.uid||(this._range=t.getPercentRange()),this._resetController(i)},remove:function(){this[oe](cn,arguments);var t=this._controllers;s.each(t,function(t){t.off("pan").off("zoom")}),t[on]=0,o.clear(this,"_dispatchZoomAction")},dispose:function(){this[oe](en,arguments),o.clear(this,"_dispatchZoomAction")},_resetController:function(t){var e=this._controllers,i=this.getTargetInfo();s.each(i.cartesians,function(i){var n="cartesian"+i.coordIndex,r=e[n];r||(r=e[n]=new c(t.getZr()),r[T](),r.on("pan",u(this._onPan,this,r,i)),r.on("zoom",u(this._onZoom,this,r,i))),r.rect=i.model[zn][Pn]().clone()},this)},_onPan:function(t,i,n,r){var a=this._range=e([n,r],this._range,t,i);a&&this._dispatchZoomAction(a)},_onZoom:function(t,e,n,r,a){var o=this.dataZoomModel;if(!o[xn].zoomLock){n=1/n;var s=this._range=i(n,[r,a],this._range,t,e,o);this._dispatchZoomAction(s)}},_dispatchZoomAction:function(t){this.api[sn]({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})}})}),e("echarts/component/dataZoom/dataZoomProcessor",[Zn,si,U],function(t){function e(t,e,i,n){var a=t.name,o=i.getAxisProxy(a,e);o.reset(i);var s=o.getDataPercentWindow(),l=o.getDataValueWindow(),c=n[Je](t.axis,e),u=0===s[0]&&100===s[1],h=o.getBackup(),d=r.getPixelPrecision(l,[0,500]),f=!(20>d&&d>=0);c.setNeedsCrossZero&&c.setNeedsCrossZero(u?!h.scale:!1),c.setMin&&c.setMin(u||f?h.min:+l[0][ne](d)),c.setMax&&c.setMax(u||f?h.max:+l[1][ne](d))}function i(t,e,i){i.getAxisProxy(t.name,e).filterData(i)}var n=t(si),r=t(U);n.registerProcessor(On,function(t){t[mn]("dataZoom",function(t){t.eachTargetAxis(e)}),t[mn]("dataZoom",function(t){t.eachTargetAxis(i)})})}),e("echarts/component/dataZoom/dataZoomAction",[Zn,Gn,se,si],function(t){var e=t(Gn),i=t(se),n=t(si);n[Tn]("dataZoom",function(t,n){var r=i.createLinkedNodesFinder(e.bind(n[mn],n,"dataZoom"),i.eachAxisDim,function(t,e){return t.get(e.axisIndex)}),a=[];n[mn]({mainType:"dataZoom",query:t},function(t){a.push.apply(a,r(t).nodes)}),e.each(a,function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}),e("echarts/component/toolbox/ToolboxModel",[Zn,"./featureManager",Gn,si],function(t){var e=t("./featureManager"),i=t(Gn);t(si)[Ei]({type:"toolbox",mergeDefaultAndTheme:function(){this[oe](h,arguments),i.each(this[xn].feature,function(t,n){var r=e.get(n);r&&i.merge(t,r.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{normal:{borderColor:"#666",color:"none"},emphasis:{borderColor:"#3E98C5"}}}})}),e("echarts/component/toolbox/ToolboxView",[Zn,"./featureManager",Gn,qe,We,"../../data/DataDiffer","../helper/listComponent","zrender/contain/text",si],function(t){var e=t("./featureManager"),i=t(Gn),n=t(qe),r=t(We),a=t("../../data/DataDiffer"),o=t("../helper/listComponent"),s=t("zrender/contain/text");return t(si)[Vn]({type:"toolbox",render:function(t,l,c){function u(i,n){var a,o=m[i],s=m[n],u=p[o],d=new r(u,t,t[D]);if(o&&!s){var f=e.get(o);if(!f)return;v[o]=a=new f(d)}else{if(a=v[s],!a)return;a.model=d}return!o&&s?void(a[en]&&a[en](l,c)):d.get("show")?(h(d,a,o),d.setIconStatus=function(t,e){var i=this[xn],n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[t]=e,n[t]&&n[t][an](e)},void(a[Qi]&&a[Qi](d,l,c))):void(a[cn]&&a[cn](l,c))}function h(e,r,a){var o=e[_n]("iconStyle"),s=r.getIcons?r.getIcons():e.get("icon"),u=e.get("title")||{};if(typeof s===bn){var h=s,p=u;s={},u={},s[a]=h,u[a]=p}var v=e.iconPaths={};i.each(s,function(a,s){var h=o[_n](Ze)[Ln](),p=o[_n](Te)[Ln](),m=n.makePath(a,{style:h,hoverStyle:p,rectHover:!0},{x:-f/2,y:-f/2,width:f,height:f},Ci);n[Ae](m),t.get("showTitle")&&(m.__title=u[s],m.on(Ji,function(){m[Mi]({text:u[s],textPosition:p.textPosition||pn,textFill:p.fill||p[F]||"#000",textAlign:p[zi]||Ci})}).on(Ki,function(){m[Mi]({textFill:null})})),m[an](e.get("iconStatus."+s)||Ze),d.add(m),m.on("click",i.bind(r.onclick,r,l,c,s)),v[s]=m})}var d=this.group;if(d[In](),t.get("show")){var f=+t.get("itemSize"),p=t.get("feature")||{},v=this._features||(this._features={}),m=[];i.each(p,function(t,e){m.push(e)}),new a(this._featureNames||[],m).add(u)[dn](u)[cn](i.curry(u,null))[Oe](),this._featureNames=m,o[ai](d,t,c),o.addBackground(d,t),d[Y](function(t){var e=t.__title,i=t.hoverStyle;if(i&&e){var n=s[Li](e,i.font),r=t[Si][0]+d[Si][0],a=t[Si][1]+d[Si][1]+f,o=!1;a+n[fn]>c[gn]()&&(i.textPosition="top",o=!0);var l=o?-5-n[fn]:f+8;r+n.width/2>c[yn]()?(i.textPosition=["100%",l],i[zi]="right"):r-n.width/2<0&&(i.textPosition=[0,l],i[zi]="left")}})}},remove:function(t,e){i.each(this._features,function(i){i[cn]&&i[cn](t,e)}),this.group[In]()},dispose:function(t,e){i.each(this._features,function(i){i[en]&&i[en](t,e)})}})}),e("echarts/component/toolbox/feature/SaveAsImage",[Zn,"../featureManager"],function(t){function e(t){this.model=t}e.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6            M29.2,45.1L29.2,0",title:"保存为图片",type:"png",name:"",excludeComponents:["toolbox"],pixelRatio:1};var i=e[Sn];return i.onclick=function(t,e){var i=this.model,n=t.get("title.0.text")||"echarts",r=document[ii]("a"),a=i.get("type",!0)||"png";r.download=n+"."+a,r[$i]="_blank",r.href=e.getConnectedDataURL({type:a,backgroundColor:i.get(kn,!0)||t.get(kn)||"#fff",excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")}),r.click()},t("../featureManager")[Ni]("saveAsImage",e),e}),e("echarts/component/toolbox/feature/MagicType",[Zn,Gn,"../../../echarts","../featureManager"],function(t){function e(t){this.model=t}var i=t(Gn);e.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z",tiled:"M2.3,2.2h22.8V25H2.3V2.2z M35,2.2h22.8V25H35V2.2zM2.3,35h22.8v22.8H2.3V35z M35,35h22.8v22.8H35V35z"},title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"},option:{},seriesIndex:{}};var n=e[Sn];n.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return i.each(t.get("type"),function(t){e[t]&&(n[t]=e[t])}),n};var r={line:function(t,e,n,r){return"bar"===t?i.merge({id:e,type:"line",data:n.get("data"),stack:n.get("stack")},r.get("option.line")):void 0},bar:function(t,e,n,r){return"line"===t?i.merge({id:e,type:"bar",data:n.get("data"),stack:n.get("stack")},r.get("option.bar")):void 0},stack:function(t,e){return"line"===t||"bar"===t?{id:e,stack:"__ec_magicType_stack__"}:void 0},tiled:function(t,e){return"line"===t||"bar"===t?{id:e,stack:""}:void 0}},a=[["line","bar"],["stack","tiled"]];n.onclick=function(t,e,n){var o=this.model,s=o.get("seriesIndex."+n);if(r[n]){var l={series:[]},c=function(t){var e=t.subType,a=t.id,s=r[n](e,a,t,o);s&&(i[Dn](s,t[xn]),l[nn].push(s))};i.each(a,function(t){i[Zi](t,n)>=0&&i.each(t,function(t){o.setIconStatus(t,Ze)})}),o.setIconStatus(n,Te),t[mn]({mainType:"series",seriesIndex:s},c),e[sn]({type:"changeMagicType",currentType:n,newOption:l})}};var o=t("../../../echarts");return o[Tn]({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e[ae](t.newOption)}),t("../featureManager")[Ni]("magicType",e),e}),e("echarts/component/toolbox/feature/DataView",[Zn,Gn,"zrender/core/event","../featureManager","../../../echarts"],function(t){function e(t){var e={},i=[],n=[];return t.eachRawSeries(function(t){var r=t[zn];if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)i.push(t);else{var a=r[He]();if(a.type===je){var o=a.dim+"_"+a.index;e[o]||(e[o]={categoryAxis:a,valueAxis:r[Se](a),series:[]},n.push({axisDim:a.dim,axisIndex:a.index})),e[o][nn].push(t)}else i.push(t)}}),{seriesGroupByCategoryAxis:e,other:i,meta:n}}function i(t){var e=[];return d.each(t,function(t){var i=t.categoryAxis,n=t.valueAxis,r=n.dim,a=[" "][ti](d.map(t[nn],function(t){return t.name})),o=[i.model.getCategories()];d.each(t[nn],function(t){o.push(t.getRawData()[we](r,function(t){return t}))});for(var s=[a.join(v)],l=0;l<o[0][on];l++){for(var c=[],u=0;u<o[on];u++)c.push(o[u][l]);s.push(c.join(v))}e.push(s.join("\n"))}),e.join("\n\n"+p+"\n\n")}function n(t){return d.map(t,function(t){var e=t.getRawData(),i=[t.name],n=[];return e.each(e[fi],function(){for(var t=arguments[on],r=arguments[t-1],a=e[ci](r),o=0;t-1>o;o++)n[o]=arguments[o];i.push((a?a+v:"")+n.join(v))}),i.join("\n")}).join("\n\n"+p+"\n\n")}function r(t){var r=e(t);return{value:d[On]([i(r.seriesGroupByCategoryAxis),n(r.other)],function(t){return t[Hi](/[\n\t\s]/g,"")}).join("\n\n"+p+"\n\n"),meta:r.meta}}function a(t){return t[Hi](/^\s\s*/,"")[Hi](/\s\s*$/,"")}function o(t){var e=t.slice(0,t[Zi]("\n"));return e[Zi](v)>=0?!0:void 0}function s(t){for(var e=t.split(/\n+/g),i=a(e.shift()).split(m),n=[],r=d.map(i,function(t){return{name:t,data:[]}}),o=0;o<e[on];o++){var s=a(e[o]).split(m);n.push(s.shift());for(var l=0;l<s[on];l++)r[l]&&(r[l].data[o]=s[l])}return{series:r,categories:n}}function l(t){for(var e=t.split(/\n+/g),i=a(e.shift()),n=[],r=0;r<e[on];r++){var o,s=a(e[r]).split(m),l="",c=!1;isNaN(s[0])?(c=!0,l=s[0],s=s.slice(1),n[r]={name:l,value:[]},o=n[r].value):o=n[r]=[];for(var u=0;u<s[on];u++)o.push(+s[u]);1===o[on]&&(c?n[r].value=o[0]:n[r]=o[0])}return{name:i,data:n}}function c(t,e){var i=t.split(new RegExp("\n*"+p+"\n*","g")),n={series:[]};return d.each(i,function(t,i){if(o(t)){var r=s(t),a=e[i],c=a.axisDim+"Axis";a&&(n[c]=n[c]||[],n[c][a.axisIndex]={data:r[M]},n[nn]=n[nn][ti](r[nn]))}else{var r=l(t);n[nn].push(r)}}),n}function u(t){this._dom=null,this.model=t}function h(t,e){return d.map(t,function(t,i){var n=e&&e[i];return d[un](n)&&!d[Fi](n)?(d[un](t)&&!d[Fi](t)&&(t=t.value),d[Dn]({value:t},n)):t})}var d=t(Gn),f=t("zrender/core/event"),p=new Array(60).join("-"),v="	",m=new RegExp("["+v+"]+","g");return u.defaultOption={show:!0,readOnly:!1,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:"数据视图",lang:["数据视图","关闭","刷新"],backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},u[Sn].onclick=function(t,e){function i(){n.removeChild(o),x._dom=null}var n=e.getDom(),a=this.model;this._dom&&n.removeChild(this._dom);var o=document[ii]("div");o.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",o.style[kn]=a.get(kn)||"#fff";var s=document[ii]("h4"),l=a.get("lang")||[];s.innerHTML=l[0]||a.get("title"),s.style.cssText="margin: 10px 20px;",s.style.color=a.get("textColor");var u=document[ii]("textarea");u.style.cssText="display:block;width:100%;font-size:14px;line-height:1.6rem;font-family:Monaco,Consolas,Courier new,monospace",u.readOnly=a.get("readOnly"),u.style.color=a.get("textColor"),u.style[H]=a.get("textareaBorderColor"),u.style[kn]=a.get("textareaColor");var h=r(t);u.value=h.value;var d=h.meta,p=document[ii]("div");p.style.cssText="position:absolute;bottom:0;left:0;right:0;";var m="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",g=document[ii]("div"),y=document[ii]("div");m+=";background-color:"+a.get("buttonColor"),m+=";color:"+a.get("buttonTextColor");var x=this;f.addEventListener(g,"click",i),f.addEventListener(y,"click",function(){var t;try{t=c(u.value,d)}catch(n){throw i(),new Error("Data view format error "+n)}e[sn]({type:"changeDataView",newOption:t}),i()}),g.innerHTML=l[1],y.innerHTML=l[2],y.style.cssText=m,g.style.cssText=m,p.appendChild(y),p.appendChild(g),f.addEventListener(u,"keydown",function(t){if(9===(t.keyCode||t.which)){var e=this.value,i=this.selectionStart,n=this.selectionEnd;this.value=e.substring(0,i)+v+e.substring(n),this.selectionStart=this.selectionEnd=i+1,f.stop(t)}}),o.appendChild(s),o.appendChild(u),o.appendChild(p),u.style[fn]=n.clientHeight-80+"px",n.appendChild(o),this._dom=o},u[Sn][cn]=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},u[Sn][en]=function(t,e){this[cn](t,e)},t("../featureManager")[Ni]("dataView",u),t("../../../echarts")[Tn]({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,e){var i=[];d.each(t.newOption[nn],function(t){var n=e.getSeriesByName(t.name)[0];if(n){var r=n.get("data");i.push({name:t.name,data:h(t.data,r)})}else i.push(d[ln]({type:"scatter"},t))}),e[ae](d[Dn]({series:i},t.newOption))}),u}),e("echarts/component/toolbox/feature/DataZoom",[Zn,Gn,"../../../util/number","../../helper/SelectController",P,"zrender/container/Group","../../dataZoom/history","../../helper/interactionMutex","../../dataZoomSelect","../featureManager","../../../echarts"],function(t){function e(t){this.model=t,this._controllerGroup,this._controller,this._isZoomActive}function i(t,e){var i=[{axisModel:t[Ye]("x").model,axisIndex:0},{axisModel:t[Ye]("y").model,axisIndex:0}];return i.grid=t,e[mn]({mainType:"dataZoom",subType:"select"},function(t){n("xAxis",i[0].axisModel,t,e)&&(i[0].dataZoomModel=t),n("yAxis",i[1].axisModel,t,e)&&(i[1].dataZoomModel=t)}),i}function n(t,e,i,n){var r=i.get(t+"Index");return null!=r&&n[Je](t,r)===e}function r(t,e){var i=e.grid,n=new u(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0]);if(n.intersect(i[Pn]())){var r=i.getCartesian(e[0].axisIndex,e[1].axisIndex),a=r.pointToData([t[0][0],t[1][0]],!0),o=r.pointToData([t[0][1],t[1][1]],!0);return[v([a[0],o[0]]),v([a[1],o[1]])]}}function a(t,e,i){var n=e[i],r=n.dataZoomModel;return r?{dataZoomId:r.id,startValue:t[i][0],endValue:t[i][1]}:void 0}function o(t,e){t.setIconStatus("back",d.count(e)>1?Te:Ze)}var s=t(Gn),l=t("../../../util/number"),c=t("../../helper/SelectController"),u=t(P),h=t("zrender/container/Group"),d=t("../../dataZoom/history"),f=t("../../helper/interactionMutex"),p=s.each,v=l.asc;t("../../dataZoomSelect");var m="\x00_ec_\x00toolbox-dataZoom_";e.defaultOption={show:!0,icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:{zoom:"区域缩放",back:"区域缩放还原"}};var g=e[Sn];g[Qi]=function(t,e){o(t,e)},g.onclick=function(t,e,i){var n=this._controllerGroup;this._controllerGroup||(n=this._controllerGroup=new h,e.getZr().add(n)),y[i].call(this,n,this.model,t,e)},g[cn]=function(t,e){this._disposeController(),f.release("globalPan",e.getZr())},g[en]=function(t,e){var i=e.getZr();f.release("globalPan",i),this._disposeController(),this._controllerGroup&&i[cn](this._controllerGroup)};var y={zoom:function(t,e,i,n){var r=this._isZoomActive=!this._isZoomActive,a=n.getZr();f[r?"take":"release"]("globalPan",a),e.setIconStatus("zoom",r?Te:Ze),r?(a.setDefaultCursorStyle("crosshair"),this._createController(t,e,i,n)):(a.setDefaultCursorStyle("default"),this._disposeController())},back:function(t,e,i,n){this._dispatchAction(d.pop(i),n)}};return g._createController=function(t,e,i,n){var r=this._controller=new c("rect",n.getZr(),{lineWidth:3,stroke:"#333",fill:"rgba(0,0,0,0.2)"});r.on("selectEnd",s.bind(this._onSelected,this,r,e,i,n)),r[T](t,!1)},g._disposeController=function(){var t=this._controller;t&&(t.off(J),t[en]())},g._onSelected=function(t,e,n,o,s){if(s[on]){var l=s[0];t[dn]();var c={};n[mn]("grid",function(t){var e=t[zn],o=i(e,n),s=r(l,o);if(s){var u=a(s,o,0,"x"),h=a(s,o,1,"y");u&&(c[u.dataZoomId]=u),h&&(c[h.dataZoomId]=h)}},this),d.push(n,c),this._dispatchAction(c,o)}},g._dispatchAction=function(t,e){var i=[];p(t,function(t){i.push(t)}),i[on]&&e[sn]({type:"dataZoom",from:this.uid,batch:s.clone(i,!0)})},t("../featureManager")[Ni]("dataZoom",e),t("../../../echarts").registerPreprocessor(function(t){function e(t,e){if(e){var r=t+"Index",a=e[r];null==a||s[Fi](a)||(a=a===!1?[]:[a]),i(t,function(e,i){if(null==a||-1!==s[Zi](a,i)){var o={type:"select",$fromToolbox:!0,id:m+t+i};o[r]=i,n.push(o)}})}}function i(e,i){var n=t[e];s[Fi](n)||(n=n?[n]:[]),p(n,i)}if(t){var n=t.dataZoom||(t.dataZoom=[]);s[Fi](n)||(n=[n]);var r=t.toolbox;if(r&&(s[Fi](r)&&(r=r[0]),r&&r.feature)){var a=r.feature.dataZoom;e("xAxis",a),e("yAxis",a)}}}),e}),e("zrender/vml/graphic",[Zn,"../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(t){function e(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=U+","+U,t.coordorigin="0,0"}function i(t){return String(t)[Hi](/&/g,"&amp;")[Hi](/"/g,"&quot;")}function n(t,e,i){return"rgb("+[t,e,i].join(",")+")"}function o(t,e){e&&t&&e[V]!==t&&t.appendChild(e)}function s(t,e){e&&t&&e[V]===t&&t.removeChild(e)}function l(t,e,i){return(parseFloat(t)||0)*j+(parseFloat(e)||0)*Y+i}function c(t,e,i){var r=C.parse(e);i=+i,isNaN(i)&&(i=1),r&&(t.color=n(r[0],r[1],r[2]),t[bi]=i*r[3])}function u(t){var e=C.parse(t);return[n(e[0],e[1],e[2]),e[3]]}function h(t,e,i){var n=e.fill;if(null!=n)if(n instanceof P){var r,a=0,o=[0,0],s=0,l=1,h=i[Li](),d=h.width,f=h[fn];if("linear"===n.type){r="gradient";var p=i[An],v=[n.x*d,n.y*f],m=[n.x2*d,n.y2*f];p&&(H(v,v,p),H(m,m,p));var g=m[0]-v[0],y=m[1]-v[1];a=180*Math.atan2(g,y)/Math.PI,0>a&&(a+=360),1e-6>a&&(a=0)}else{r="gradientradial";var v=[n.x*d,n.y*f],p=i[An],x=i.scale,_=d,w=f;o=[(v[0]-h.x)/_,(v[1]-h.y)/w],p&&H(v,v,p),_/=x[0]*U,w/=x[1]*U;var b=Z(_,w);s=0/b,l=2*n.r/b-s}var M=n.colorStops.slice();M.sort(function(t,e){return t.offset-e.offset});for(var S=M[on],C=[],A=[],T=0;S>T;T++){var L=M[T],k=u(L.color);A.push(L.offset*l+s+" "+k[0]),(0===T||T===S-1)&&C.push(k)}if(S>=2){var D=C[0][0],z=C[1][0],I=C[0][1]*e[bi],V=C[1][1]*e[bi];t.type=r,t.method="none",t.focus="100%",t.angle=a,t.color=D,t.color2=z,t.colors=A.join(","),t[bi]=V,t.opacity2=I}"radial"===r&&(t.focusposition=o.join(","))}else c(t,n,e[bi])}function d(t,e){null!=e.lineJoin&&(t.joinstyle=e.lineJoin),null!=e.miterLimit&&(t.miterlimit=e.miterLimit*U),null!=e.lineCap&&(t.endcap=e.lineCap),null!=e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e[F]||e[F]instanceof P||c(t,e[F],e[bi])}function f(t,e,i,n){var r="fill"==e,a=t.getElementsByTagName(e)[0];null!=i[e]&&"none"!==i[e]&&(r||!r&&i[p])?(t[r?"filled":"stroked"]="true",i[e]instanceof P&&s(t,a),a||(a=I.createNode(e)),r?h(a,i,n):d(a,i),o(t,a)):(t[r?"filled":"stroked"]="false",s(t,a))}function v(t,e){var i,n,r,a,o,s,l=S.M,c=S.C,u=S.L,h=S.A,d=S.Q,f=[];for(a=0;a<t[on];){switch(r=t[a++],n="",i=0,r){case l:n=" m ",i=1,o=t[a++],s=t[a++],$[0][0]=o,$[0][1]=s;break;case u:n=" l ",i=1,o=t[a++],s=t[a++],$[0][0]=o,$[0][1]=s;break;case d:case c:n=" c ",i=3;var p,v,m=t[a++],g=t[a++],y=t[a++],x=t[a++];r===d?(p=y,v=x,y=(y+2*m)/3,x=(x+2*g)/3,m=(o+2*m)/3,g=(s+2*g)/3):(p=t[a++],v=t[a++]),$[0][0]=m,$[0][1]=g,$[1][0]=y,$[1][1]=x,$[2][0]=p,$[2][1]=v,o=p,s=v;break;case h:var _=0,w=0,b=1,M=1,C=0;e&&(_=e[4],w=e[5],b=E(e[0]*e[0]+e[1]*e[1]),M=E(e[2]*e[2]+e[3]*e[3]),C=Math.atan2(-e[1]/M,e[0]/b));var A=t[a++],T=t[a++],L=t[a++],k=t[a++],D=t[a++]+C,z=t[a++]+D+C;a++;var P=t[a++],I=A+N(D)*L,V=T+G(D)*k,m=A+N(z)*L,g=T+G(z)*k,R=P?" wa ":" at ";f.push(R,O(((A-L)*b+_)*U-X),W,O(((T-k)*M+w)*U-X),W,O(((A+L)*b+_)*U-X),W,O(((T+k)*M+w)*U-X),W,O((I*b+_)*U-X),W,O((V*M+w)*U-X),W,O((m*b+_)*U-X),W,O((g*M+w)*U-X)),o=m,s=g;break;case S.R:var B=$[0],Z=$[1];B[0]=t[a++],B[1]=t[a++],Z[0]=B[0]+t[a++],Z[1]=B[1]+t[a++],e&&(H(B,B,e),H(Z,Z,e)),B[0]=O(B[0]*U-X),Z[0]=O(Z[0]*U-X),B[1]=O(B[1]*U-X),Z[1]=O(Z[1]*U-X),f.push(" m ",B[0],W,B[1]," l ",Z[0],W,B[1]," l ",Z[0],W,Z[1]," l ",B[0],W,Z[1]);
  break;case S.Z:f.push(" x ")}if(i>0){f.push(n);for(var F=0;i>F;F++){var q=$[F];e&&H(q,q,e),f.push(O(q[0]*U-X),W,O(q[1]*U-X),i-1>F?W:"")}}}return f.join("")}function m(t){return"object"==typeof t&&t.tagName&&"IMG"===t.tagName.toUpperCase()}function g(t){var e=te[t];if(!e){ee>ie&&(ee=0,te={});var i,n=re.style;try{n.font=t,i=n.fontFamily.split(",")[0]}catch(r){}e={style:n.fontStyle||Q,variant:n.fontVariant||Q,weight:n.fontWeight||Q,size:0|parseFloat(n.fontSize||12),family:i||"Microsoft YaHei"},te[t]=e,ee++}return e}function y(t,n,r,a){var s=this.style,c=s.text;if(c){var u,h,d=s[zi],p=g(s.textFont),v=p.style+" "+p.variant+" "+p.weight+" "+p.size+'px "'+p.family+'"',m=s[K];r=r||A[Li](c,v,d,m);var y=this[An];if(y&&!a&&(ae.copy(n),ae[R](y),n=ae),a)u=n.x,h=n.y;else{var _=s.textPosition,w=s.textDistance;if(_ instanceof Array)u=n.x+_[0],h=n.y+_[1],d=d||"left",m=m||"top";else{var b=A.adjustTextPositionOnRect(_,n,r,w);u=b.x,h=b.y,d=d||b[zi],m=m||b[K]}}var M=p.size;switch(m){case"hanging":case"top":h+=M/1.75;break;case x:break;default:h-=M/2.25}switch(d){case"left":break;case Ci:u-=r.width/2;break;case"right":u-=r.width}var S,C,T,L=I.createNode,k=this._textVmlEl;k?(T=k.firstChild,S=T.nextSibling,C=S.nextSibling):(k=L("line"),S=L("path"),C=L("textpath"),T=L("skew"),C.style["v-text-align"]="left",e(k),S.textpathok=!0,C.on=!0,k.from="0 0",k.to="1000 0.05",o(k,T),o(k,S),o(k,C),this._textVmlEl=k);var D=[u,h],z=k.style;y&&a?(H(D,D,y),T.on=!0,T.matrix=y[0][ne](3)+W+y[2][ne](3)+W+y[1][ne](3)+W+y[3][ne](3)+",0,0",T.offset=(O(D[0])||0)+","+(O(D[1])||0),T.origin="0 0",z.left="0px",z.top="0px"):(T.on=!1,z.left=O(u)+"px",z.top=O(h)+"px"),C[bn]=i(c);try{C.style.font=v}catch(P){}f(k,"fill",{fill:a?s.fill:s.textFill,opacity:s[bi]},this),f(k,F,{stroke:a?s[F]:s.textStroke,opacity:s[bi],lineDash:s.lineDash},this),k.style.zIndex=l(this[qi],this.z,this.z2),o(t,k)}}function _(t){s(t,this._textVmlEl),this._textVmlEl=null}function w(t){o(t,this._textVmlEl)}if(!t("../core/env").canvasSupported){var b=t("../core/vector"),M=t("../core/BoundingRect"),S=t("../core/PathProxy").CMD,C=t("../tool/color"),A=t("../contain/text"),T=t("../graphic/mixin/RectText"),L=t("../graphic/Displayable"),k=t("../graphic/Image"),D=t("../graphic/Text"),z=t("../graphic/Path"),P=t("../graphic/Gradient"),I=t("./core"),O=Math.round,E=Math.sqrt,B=Math.abs,N=Math.cos,G=Math.sin,Z=Math.max,H=b[R],W=",",q="progid:DXImageTransform.Microsoft",U=21600,X=U/2,j=1e5,Y=1e3,$=[[],[],[]];z[Sn].brush=function(t){var i=this.style,n=this._vmlEl;n||(n=I.createNode("shape"),e(n),this._vmlEl=n),f(n,"fill",i,this),f(n,F,i,this);var s=this[An],c=null!=s,u=n.getElementsByTagName(F)[0];if(u){var h=i[p];if(c&&!i.strokeNoScale){var d=s[0]*s[3]-s[1]*s[2];h*=E(B(d))}u.weight=h+"px"}var m=this.path;this.__dirtyPath&&(m[a](),this[r](m,this.shape),this.__dirtyPath=!1),n.path=v(m.data,this[An]),n.style.zIndex=l(this[qi],this.z,this.z2),o(t,n),i.text&&this.drawRectText(t,this[Li]())},z[Sn].onRemoveFromStorage=function(t){s(t,this._vmlEl),this.removeRectText(t)},z[Sn].onAddToStorage=function(t){o(t,this._vmlEl),this.appendRectText(t)},k[Sn].brush=function(t){var i,n,r=this.style,a=r.image;if(m(a)){var s=a.src;if(s===this._imageSrc)i=this._imageWidth,n=this._imageHeight;else{var c=a.runtimeStyle,u=c.width,h=c[fn];c.width="auto",c[fn]="auto",i=a.width,n=a[fn],c.width=u,c[fn]=h,this._imageSrc=s,this._imageWidth=i,this._imageHeight=n}a=s}else a===this._imageSrc&&(i=this._imageWidth,n=this._imageHeight);if(a){var d=r.x||0,f=r.y||0,p=r.width,v=r[fn],g=r.sWidth,y=r.sHeight,x=r.sx||0,_=r.sy||0,w=g&&y,b=this._vmlEl;b||(b=I.doc[ii]("div"),e(b),this._vmlEl=b);var M,S=b.style,C=!1,A=1,T=1;if(this[An]&&(M=this[An],A=E(M[0]*M[0]+M[1]*M[1]),T=E(M[2]*M[2]+M[3]*M[3]),C=M[1]||M[2]),C){var L=[d,f],k=[d+p,f],D=[d,f+v],z=[d+p,f+v];H(L,L,M),H(k,k,M),H(D,D,M),H(z,z,M);var P=Z(L[0],k[0],D[0],z[0]),R=Z(L[1],k[1],D[1],z[1]),B=[];B.push("M11=",M[0]/A,W,"M12=",M[2]/T,W,"M21=",M[1]/A,W,"M22=",M[3]/T,W,"Dx=",O(d*A+M[4]),W,"Dy=",O(f*T+M[5])),S.padding="0 "+O(P)+"px "+O(R)+"px 0",S[On]=q+".Matrix("+B.join("")+", SizingMethod=clip)"}else M&&(d=d*A+M[4],f=f*T+M[5]),S[On]="",S.left=O(d)+"px",S.top=O(f)+"px";var N=this._imageEl,G=this._cropEl;N||(N=I.doc[ii]("div"),this._imageEl=N);var F=N.style;if(w){if(i&&n)F.width=O(A*i*p/g)+"px",F[fn]=O(T*n*v/y)+"px";else{var U=new Image,X=this;U.onload=function(){U.onload=null,i=U.width,n=U[fn],F.width=O(A*i*p/g)+"px",F[fn]=O(T*n*v/y)+"px",X._imageWidth=i,X._imageHeight=n,X._imageSrc=a},U.src=a}G||(G=I.doc[ii]("div"),G.style.overflow="hidden",this._cropEl=G);var j=G.style;j.width=O((p+x*p/g)*A),j[fn]=O((v+_*v/y)*T),j[On]=q+".Matrix(Dx="+-x*p/g*A+",Dy="+-_*v/y*T+")",G[V]||b.appendChild(G),N[V]!=G&&G.appendChild(N)}else F.width=O(A*p)+"px",F[fn]=O(T*v)+"px",b.appendChild(N),G&&G[V]&&(b.removeChild(G),this._cropEl=null);var Y="",$=r[bi];1>$&&(Y+=".Alpha(opacity="+O(100*$)+") "),Y+=q+".AlphaImageLoader(src="+a+", SizingMethod=scale)",F[On]=Y,b.style.zIndex=l(this[qi],this.z,this.z2),o(t,b),r.text&&this.drawRectText(t,this[Li]())}},k[Sn].onRemoveFromStorage=function(t){s(t,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(t)},k[Sn].onAddToStorage=function(t){o(t,this._vmlEl),this.appendRectText(t)};var J,Q=Ze,te={},ee=0,ie=100,re=document[ii]("div");A.measureText=function(t,e){var i=I.doc;J||(J=i[ii]("div"),J.style.cssText="position:absolute;top:-20000px;left:0;                padding:0;margin:0;border:none;white-space:pre;",I.doc.body.appendChild(J));try{J.style.font=e}catch(n){}return J.innerHTML="",J.appendChild(i.createTextNode(t)),{width:J.offsetWidth}};for(var ae=new M,oe=[T,L,k,z,D],se=0;se<oe[on];se++){var le=oe[se][Sn];le.drawRectText=y,le.removeRectText=_,le.appendRectText=w}D[Sn].brush=function(t){var e=this.style;e.text&&this.drawRectText(t,{x:e.x||0,y:e.y||0,width:0,height:0},this[Li](),!0)},D[Sn].onRemoveFromStorage=function(t){this.removeRectText(t)},D[Sn].onAddToStorage=function(t){this.appendRectText(t)}}}),e("zrender/zrender",[Zn,"./core/guid","./core/env","./Handler","./Storage","./animation/Animation","./Painter"],function(t){function e(t){delete c[t]}var i=t("./core/guid"),n=t("./core/env"),r=t("./Handler"),a=t("./Storage"),o=t("./animation/Animation"),s=!n.canvasSupported,l={canvas:t("./Painter")},c={},u={};u.version="3.0.1",u.init=function(t,e){var n=new h(i(),t,e);return c[n.id]=n,n},u[en]=function(t){if(t)t[en]();else{for(var e in c)c[e][en]();c={}}return u},u.getInstance=function(t){return c[t]},u.registerPainter=function(t,e){l[t]=e};var h=function(t,e,i){i=i||{},this.dom=e,this.id=t;var c=this,u=new a,h=i.renderer;if(s){if(!l.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");h="vml"}else h&&l[h]||(h=Mn);var d=new l[h](e,u,i);this.storage=u,this.painter=d,n.node||(this.handler=new r(d.getViewportRoot(),u,d)),this[Fe]=new o({stage:{update:function(){c._needsRefresh&&c.refreshImmediately()}}}),this[Fe].start(),this._needsRefresh;var f=u.delFromMap,p=u.addToMap;u.delFromMap=function(t){var e=u.get(t);f.call(u,t),e&&e.removeSelfFromZr(c)},u.addToMap=function(t){p.call(u,t),t.addSelfToZr(c)}};return h[Sn]={constructor:h,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer(t,e),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},resize:function(){this.painter[wn](),this.handler&&this.handler[wn]()},clearAnimation:function(){this[Fe].clear()},getWidth:function(){return this.painter[yn]()},getHeight:function(){return this.painter[gn]()},toDataURL:function(t,e,i){return this.painter.toDataURL(t,e,i)},pathToImage:function(t,e,n){var r=i();return this.painter.pathToImage(r,t,e,n)},setDefaultCursorStyle:function(t){this.handler.setDefaultCursorStyle(t)},on:function(t,e,i){this.handler&&this.handler.on(t,e,i)},off:function(t,e){this.handler&&this.handler.off(t,e)},trigger:function(t,e){this.handler&&this.handler[an](t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this[Fe].stop(),this.clear(),this.storage[en](),this.painter[en](),this.handler&&this.handler[en](),this[Fe]=this.storage=this.painter=this.handler=null,e(this.id)}},u}),e("zrender/vml/Painter",[Zn,"../core/log","./core"],function(t){function e(t){return parseInt(t,10)}function i(t,e){o.initVML(),this.root=t,this.storage=e;var i=document[ii]("div"),n=document[ii]("div");i.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",n.style.cssText="position:absolute;left:0;top:0;",t.appendChild(i),this._vmlRoot=n,this._vmlViewport=i,this[wn]();var r=e.delFromMap,a=e.addToMap;e.delFromMap=function(t){var i=e.get(t);r.call(e,t),i&&i.onRemoveFromStorage&&i.onRemoveFromStorage(n)},e.addToMap=function(t){t.onAddToStorage&&t.onAddToStorage(n),a.call(e,t)},this._firstPaint=!0}function r(t){return function(){a('In IE8.0 VML mode painter not support method "'+t+'"')}}var a=t("../core/log"),o=t("./core");i[Sn]={constructor:i,getViewportRoot:function(){return this._vmlViewport},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},_paintList:function(t){for(var e=this._vmlRoot,i=0;i<t[on];i++){var r=t[i];r[n]&&!r.invisible&&(r.beforeBrush&&r.beforeBrush(),r.brush(e),r.afterBrush&&r.afterBrush()),r[n]=!1}this._firstPaint&&(this._vmlViewport.appendChild(e),this._firstPaint=!1)},resize:function(){var t=this._getWidth(),e=this._getHeight();if(this._width!=t&&this._height!=e){this._width=t,this._height=e;var i=this._vmlViewport.style;i.width=t+"px",i[fn]=e+"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 t=this.root,i=t.currentStyle;return(t.clientWidth||e(i.width))-e(i.paddingLeft)-e(i.paddingRight)|0},_getHeight:function(){var t=this.root,i=t.currentStyle;return(t.clientHeight||e(i[fn]))-e(i.paddingTop)-e(i.paddingBottom)|0}};for(var s=["getLayer","insertLayer","eachLayer","eachBuildinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],l=0;l<s[on];l++){var c=s[l];i[Sn][c]=r(c)}return i}),e("echarts/model/Global",[Zn,Gn,"./Model","./Component","./globalDefault"],function(t){function e(t,e){for(var i in e)x.hasClass(i)||(t[i]="object"==typeof e[i]?t[i]?h.merge(t[i],e[i],!1):h.clone(e[i]):e[i])}function i(t){t=t,this[xn]={},this._componentsMap={},this._seriesIndices=null,e(t,this._theme[xn]),h.merge(t,_,!1),this[ae](t)}function n(t,e){h[Fi](e)||(e=e?[e]:[]);var i={};return f(e,function(e){i[e]=(t[e]||[]).slice()}),i}function r(t,e){t=(t||[]).slice();var i=[];return f(e,function(e,n){if(y(e)&&e.id)for(var r=0,a=t[on];a>r;r++)if(t[r].id===e.id)return void(i[n]=t[tn](r,1)[0])}),f(e,function(e,n){if(y(e)&&e.name&&!c(e))for(var r=0,a=t[on];a>r;r++)if(t[r].name===e.name)return void(i[n]=t[tn](r,1)[0])}),f(e,function(e,n){i[n]||!t[n]||c(e)||(i[n]=t[n])}),i}function a(t,e,i){function n(n){f(e,function(e,a){if(y(e)){var o=i[a],s=r[a],l=t+"."+s.subType;n(s,e,o,l)}})}var r=[],a="\x00",s={},l={};return f(e,function(e,n){if(y(e)){var a=i[n],s=o(t,e,a),l={mainType:t,subType:s};r[n]=l}}),n(function(t,e,i){t.name=i?i.name:null!=e.name?e.name:a+"-",l[t.name]=0}),n(function(t,e,i,n){var r=t.name;if(t.id=i?i.id:null!=e.id?e.id:a+[n,r,l[r]++].join("|"),s[t.id])throw new Error("id duplicates: "+t.id);s[t.id]=1}),r}function o(t,e,i){var n=e.type?e.type:i?i.subType:x.determineSubType(t,e);return n}function s(t){return v(t,function(t){return t.componentIndex})||[]}function l(t,e){return e.hasOwnProperty("subType")?p(t,function(t){return t.subType===e.subType}):t}function c(t){return t.id&&0===(t.id+"")[Zi]("\x00_ec_\x00")}function u(t){if(!t._seriesIndices)throw new Error("Series is not initialized. Please depends sereis.")}var h=t(Gn),d=t("./Model"),f=h.each,p=h[On],v=h.map,m=h[Fi],g=h[Zi],y=h[un],x=t("./Component"),_=t("./globalDefault"),w=d[ln]({constructor:w,init:function(t,e,i,n){i=i||{},this[xn]=null,this._theme=new d(i),this._optionManager=n},setOption:function(t,e){this._optionManager.setOption(t,e),this.resetOption()},resetOption:function(t){var e=!1,n=this._optionManager;if(!t||"recreate"===t){var r=n.mountOption();this[xn]&&"recreate"!==t?(this.restoreData(),this[ae](r)):i.call(this,r),e=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=n.getTimelineOption(this);a&&(this[ae](a),e=!0)}if(!t||"recreate"===t||"media"===t){var o=n.getMediaOption(this,this._api);o[on]&&f(o,function(t){this[ae](t,e=!0)},this)}return e},mergeOption:function(t){function e(e,n){var r=t[e];r?o.call(this,e,r,n):i.call(this,e),e===nn&&(this._seriesIndices=s(c[nn]))}function i(t){f(c[t],function(t){t[ae]({},this)},this)}function o(t,e,i){h[Fi](e)||(e=[e]),c[t]||(c[t]=[]);var o=r(c[t],e),s=a(t,e,o),u=n(c,i);l[t]=[],f(e,function(e,i){if(y(e)){var n=o[i],r=x.getClass(t,s[i].subType,!0);n&&n instanceof r?n[ae](e,this):(n=new r(e,this,this,h[ln]({dependentModels:u,componentIndex:i},s[i])),c[t][i]=n),l[t][i]=n[xn]}},this)}var l=this[xn],c=this._componentsMap,u=[];f(t,function(t,e){null!=t&&(x.hasClass(e)?u.push(e):l[e]=null==l[e]?h.clone(t):h.merge(l[e],t,!0))}),x.topologicalTravel(u,x.getAllClassMainTypes(),e,this)},getTheme:function(){return this._theme},getComponent:function(t,e){var i=this._componentsMap[t];return i?i[e||0]:void 0},queryComponents:function(t){var e=t.mainType;if(!e)return[];var i=t.index,n=t.id,r=t.name,a=this._componentsMap[e];if(!a||!a[on])return[];var o;if(null!=i)m(i)||(i=[i]),o=p(v(i,function(t){return a[t]}),function(t){return!!t});else if(null!=n){var s=m(n);o=p(a,function(t){return s&&g(n,t.id)>=0||!s&&t.id===n})}else if(null!=r){var c=m(r);o=p(a,function(t){return c&&g(r,t.name)>=0||!c&&t.name===r})}return l(o,t)},findComponents:function(t){function e(t){var e=r+"Index",i=r+"Id",n=r+"Name";return t&&(t.hasOwnProperty(e)||t.hasOwnProperty(i)||t.hasOwnProperty(n))?{mainType:r,index:t[e],id:t[i],name:t[n]}:null}function i(e){return t[On]?p(e,t[On]):e}var n=t.query,r=t.mainType,a=e(n),o=a?this.queryComponents(a):this._componentsMap[r];return i(l(o,t))},eachComponent:function(t,e,i){var n=this._componentsMap;if(typeof t===Gi)i=e,e=t,f(n,function(t,n){f(t,function(t,r){e.call(i,n,t,r)})});else if(h[Ii](t))f(n[t],e,i);else if(y(t)){var r=this[ui](t);f(r,e,i)}},getSeriesByName:function(t){var e=this._componentsMap[nn];return p(e,function(e){return e.name===t})},getSeriesByIndex:function(t){return this._componentsMap[nn][t]},getSeriesByType:function(t){var e=this._componentsMap[nn];return p(e,function(e){return e.subType===t})},getSeries:function(){return this._componentsMap[nn].slice()},eachSeries:function(t,e){u(this),f(this._seriesIndices,function(i){var n=this._componentsMap[nn][i];t.call(e,n,i)},this)},eachRawSeries:function(t,e){f(this._componentsMap[nn],t,e)},eachSeriesByType:function(t,e,i){u(this),f(this._seriesIndices,function(n){var r=this._componentsMap[nn][n];r.subType===t&&e.call(i,r,n)},this)},eachRawSeriesByType:function(t,e,i){return f(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return u(this),h[Zi](this._seriesIndices,t.componentIndex)<0},filterSeries:function(t,e){u(this);var i=p(this._componentsMap[nn],t,e);this._seriesIndices=s(i)},restoreData:function(){var t=this._componentsMap;this._seriesIndices=s(t[nn]);var e=[];f(t,function(t,i){e.push(i)}),x.topologicalTravel(e,x.getAllClassMainTypes(),function(e){f(t[e],function(t){t.restoreData()})})}});return w}),e("echarts/CoordinateSystem",[Zn],function(){function t(){this._coordinateSystems={},this._coordinateSystemsList=[]}var e={};return t[Sn]={constructor:t,update:function(t,i){var n={};for(var r in e)n[r]=e[r][yi](t,i);this._coordinateSystems=n},get:function(t,e){var i=this._coordinateSystems[t];return i?i[e||0]:void 0}},t[Ni]=function(t,i){e[t]=i},t}),e("echarts/model/OptionManager",[Zn,Gn],function(t){function e(t){this._api=t,this._timelineOptions,this._mediaList,this._mediaDefault,this._currentMediaIndices=[],this._optionBackup}function i(t,e){var i,n,r=[],a=[],l=t.timeline;if(t.baseOption&&(n=t.baseOption),(l||t.options)&&(n=n||{},r=(t.options||[]).slice()),t.media){n=n||{};var c=t.media;s(c,function(t){t&&t[xn]&&(t.query?a.push(t):i||(i=t))})}return n||(n=t),n.timeline||(n.timeline=l),s([n][ti](r)[ti](o.map(a,function(t){return t[xn]})),function(t){s(e,function(e){e(t)})}),{baseOption:n,timelineOptions:r,mediaDefault:i,mediaList:a}}function n(t,e,i){var n={width:e,height:i,aspectratio:e/i},a=!0;return o.each(t,function(t,e){var i=e.match(u);if(i&&i[1]&&i[2]){var o=i[1],s=i[2][Cn]();r(n[s],t,o)||(a=!1)}}),a}function r(t,e,i){return"min"===i?t>=e:"max"===i?e>=t:t===e}function a(t,e){return t.join(",")===e.join(",")}var o=t(Gn),s=o.each,l=o.clone,c=o.map,u=/^(min|max)?(.+)$/;return e[Sn]={constructor:e,setOption:function(t,e){t=l(t,!0),this._optionBackup=i.call(this,t,e)},mountOption:function(){var t=this._optionBackup;return this._timelineOptions=c(t.timelineOptions,l),this._mediaList=c(t.mediaList,l),this._mediaDefault=l(t.mediaDefault),this._currentMediaIndices=[],l(t.baseOption)},getTimelineOption:function(t){var e,i=this._timelineOptions;if(i[on]){var n=t[Je]("timeline");n&&(e=l(i[n.getCurrentIndex()],!0))}return e},getMediaOption:function(){var t=this._api[yn](),e=this._api[gn](),i=this._mediaList,r=this._mediaDefault,o=[],s=[];if(!i[on]&&!r)return s;for(var u=0,h=i[on];h>u;u++)n(i[u].query,t,e)&&o.push(u);return!o[on]&&r&&(o=[-1]),o[on]&&!a(o,this._currentMediaIndices)&&(s=c(o,function(t){return l(-1===t?r[xn]:i[t][xn])})),this._currentMediaIndices=o,s}},e}),e("echarts/model/Component",[Zn,"./Model",Gn,"../util/component","../util/clazz","../util/layout","./mixin/boxLayout"],function(t){function e(t){var e=[];return n.each(l.getClassesByMainType(t),function(t){r.apply(e,t[Sn].dependencies||[])}),n.map(e,function(t){return o.parseClassType(t).main})}var i=t("./Model"),n=t(Gn),r=Array[Sn].push,a=t("../util/component"),o=t("../util/clazz"),s=t("../util/layout"),l=i[ln]({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,init:function(){this[h](this[xn],this[D])},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,r=i?s.getLayoutParams(t):{},a=e.getTheme();n.merge(t,a.get(this.mainType)),n.merge(t,this.getDefaultOption()),i&&s.mergeLayoutParam(t,r,i)},mergeOption:function(t){n.merge(this[xn],t,!0);var e=this.layoutMode;e&&s.mergeLayoutParam(this[xn],t,e)},getDefaultOption:function(){if(!this.hasOwnProperty("__defaultOption")){for(var t=[],e=this.constructor;e;){var i=e[Sn].defaultOption;i&&t.push(i),e=e.superClass}for(var r={},a=t[on]-1;a>=0;a--)r=n.merge(r,t[a],!0);this.__defaultOption=r}return this.__defaultOption}});return o.enableClassExtend(l,function(t,e,i,r){n[ln](this,r),this.uid=a.getUID("componentModel"),this.setReadOnly(["type","id","uid","name","mainType","subType","dependentModels","componentIndex"])}),o.enableClassManagement(l,{registerWhenExtend:!0}),a.enableSubTypeDefaulter(l),a.enableTopologicalTravel(l,e),n.mixin(l,t("./mixin/boxLayout")),l}),e("echarts/model/Series",[Zn,Gn,"../util/format","../util/model","./Component"],function(t){var e=t(Gn),i=t("../util/format"),n=t("../util/model"),r=t("./Component"),a=i.encodeHTML,o=i.addCommas,s=r[ln]({type:"series",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,init:function(t,e,i){this[Xi]=this.componentIndex,this[h](t,i),this._dataBeforeProcessed=this.getInitialData(t,i),this._data=this._dataBeforeProcessed.cloneShallow()},mergeDefaultAndTheme:function(t,i){e.merge(t,i.getTheme().get(this.subType)),e.merge(t,this.getDefaultOption()),n[ie](t.label,[Si,"show",Pi,f,_])},mergeOption:function(t,i){t=e.merge(this[xn],t,!0);var n=this.getInitialData(t,i);n&&(this._data=n,this._dataBeforeProcessed=n.cloneShallow())},getInitialData:function(){},getData:function(){return this._data},setData:function(t){this._data=t},getRawData:function(){return this._dataBeforeProcessed},getRawDataArray:function(){return this[xn].data},getDimensionsOnAxis:function(t){return[t]},formatTooltip:function(t,i){var n=this._data,r=this[Le](t),s=e[Fi](r)?e.map(r,o).join(", "):o(r),l=n[ci](t);return i?a(this.name)+" : "+s:a(this.name)+"<br />"+(l?a(l)+" : "+s:s)},restoreData:function(){this._data=this._dataBeforeProcessed.cloneShallow()}});return e.mixin(s,n.dataFormatMixin),s}),e("echarts/view/Component",[Zn,"zrender/container/Group","../util/component","../util/clazz"],function(t){var e=t("zrender/container/Group"),i=t("../util/component"),n=t("../util/clazz"),r=function(){this.group=new e,this.uid=i.getUID("viewComponent")};r[Sn]={constructor:r,init:function(){},render:function(){},dispose:function(){}};var a=r[Sn];return a.updateView=a[hn]=a.updateVisual=function(){},n.enableClassExtend(r),n.enableClassManagement(r,{registerWhenExtend:!0}),r}),e("echarts/view/Chart",[Zn,"zrender/container/Group","../util/component","../util/clazz"],function(t){function e(){this.group=new r,this.uid=a.getUID("viewChart")}function i(t,e){if(t&&(t[an](e),"group"===t.type))for(var n=0;n<t.childCount();n++)i(t[Q](n),e)}function n(t,e,n){if(null!=e[Yi]){var r=t[Ve](e[Yi]);i(r,n)}else if(e.name){var a=t[_e](e.name),r=t[Ve](a);i(r,n)}else t[Ie](function(t){i(t,n)})}var r=t("zrender/container/Group"),a=t("../util/component"),o=t("../util/clazz");e[Sn]={type:"chart",init:function(){},render:function(){},highlight:function(t,e,i,r){n(t[Bn](),r,Te)},downplay:function(t,e,i,r){n(t[Bn](),r,Ze)},remove:function(){this.group[In]()},dispose:function(){}};var s=e[Sn];return s.updateView=s[hn]=s.updateVisual=function(t,e,i,n){this[Qi](t,e,i,n)},o.enableClassExtend(e),o.enableClassManagement(e,{registerWhenExtend:!0}),e}),e("zrender/tool/color",[Zn],function(){function t(t){return t=Math.round(t),0>t?0:t>255?255:t}function e(t){return t=Math.round(t),0>t?0:t>360?360:t}function i(t){return 0>t?0:t>1?1:t}function n(e){return t(e[on]&&"%"===e.charAt(e[on]-1)?parseFloat(e)/100*255:parseInt(e,10))}function r(t){return i(t[on]&&"%"===t.charAt(t[on]-1)?parseFloat(t)/100:parseFloat(t))}function a(t,e,i){return 0>i?i+=1:i>1&&(i-=1),1>6*i?t+(e-t)*i*6:1>2*i?e:2>3*i?t+(e-t)*(2/3-i)*6:t}function o(t,e,i){return t+(e-t)*i}function s(t){if(t){t+="";var e=t[Hi](/ /g,"")[Cn]();if(e in y)return y[e].slice();if("#"!==e.charAt(0)){var i=e[Zi]("("),a=e[Zi](")");if(-1!==i&&a+1===e[on]){var o=e.substr(0,i),s=e.substr(i+1,a-(i+1)).split(","),c=1;switch(o){case"rgba":if(4!==s[on])return;c=r(s.pop());case"rgb":if(3!==s[on])return;return[n(s[0]),n(s[1]),n(s[2]),c];case"hsla":if(4!==s[on])return;return s[3]=r(s[3]),l(s);case"hsl":if(3!==s[on])return;return l(s);default:return}}}else{if(4===e[on]){var u=parseInt(e.substr(1),16);if(!(u>=0&&4095>=u))return;return[(3840&u)>>4|(3840&u)>>8,240&u|(240&u)>>4,15&u|(15&u)<<4,1]}if(7===e[on]){var u=parseInt(e.substr(1),16);if(!(u>=0&&16777215>=u))return;return[(16711680&u)>>16,(65280&u)>>8,255&u,1]}}}}function l(e){var i=(parseFloat(e[0])%360+360)%360/360,n=r(e[1]),o=r(e[2]),s=.5>=o?o*(n+1):o+n-o*n,l=2*o-s,c=[t(255*a(l,s,i+1/3)),t(255*a(l,s,i)),t(255*a(l,s,i-1/3))];return 4===e[on]&&(c[3]=e[3]),c}function c(t){if(t){var e,i,n=t[0]/255,r=t[1]/255,a=t[2]/255,o=Math.min(n,r,a),s=Math.max(n,r,a),l=s-o,c=(s+o)/2;if(0===l)e=0,i=0;else{i=.5>c?l/(s+o):l/(2-s-o);var u=((s-n)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-a)/6+l/2)/l;n===s?e=d-h:r===s?e=1/3+u-d:a===s&&(e=2/3+h-u),0>e&&(e+=1),e>1&&(e-=1)}var f=[360*e,i,c];return null!=t[3]&&f.push(t[3]),f}}function u(t,e){var i=s(t);if(i){for(var n=0;3>n;n++)i[n]=0>e?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0;return g(i,4===i[on]?"rgba":"rgb")}}function h(t){var e=s(t);return e?((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1):void 0}function d(e,i,n){if(i&&i[on]&&e>=0&&1>=e){n=n||[0,0,0,0];var r=e*(i[on]-1),a=Math.floor(r),s=Math.ceil(r),l=i[a],c=i[s],u=r-a;return n[0]=t(o(l[0],c[0],u)),n[1]=t(o(l[1],c[1],u)),n[2]=t(o(l[2],c[2],u)),n[3]=t(o(l[3],c[3],u)),n}}function f(e,n,r){if(n&&n[on]&&e>=0&&1>=e){var a=e*(n[on]-1),l=Math.floor(a),c=Math.ceil(a),u=s(n[l]),h=s(n[c]),d=a-l,f=g([t(o(u[0],h[0],d)),t(o(u[1],h[1],d)),t(o(u[2],h[2],d)),i(o(u[3],h[3],d))],"rgba");return r?{color:f,leftIndex:l,rightIndex:c,value:a}:f}}function p(t,e){if(!(2!==t[on]||t[1]<t[0])){for(var i=f(t[0],e,!0),n=f(t[1],e,!0),r=[{color:i.color,offset:0}],a=n.value-i.value,o=Math.max(i.value,i.rightIndex),s=Math.min(n.value,n.leftIndex),l=o;a>0&&s>=l;l++)r.push({color:e[l],offset:(l-i.value)/a});return r.push({color:n.color,offset:1}),r}}function v(t,i,n,a){return t=s(t),t?(t=c(t),null!=i&&(t[0]=e(i)),null!=n&&(t[1]=r(n)),null!=a&&(t[2]=r(a)),g(l(t),"rgba")):void 0}function m(t,e){return t=s(t),t&&null!=e?(t[3]=i(e),g(t,"rgba")):void 0}function g(t,e){return("rgb"===e||"hsv"===e||"hsl"===e)&&(t=t.slice(0,3)),e+"("+t.join(",")+")"}var y={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:s,lift:u,toHex:h,fastMapToColor:d,mapToColor:f,mapIntervalToColor:p,modifyHSL:v,modifyAlpha:m,stringify:g}}),e("zrender/core/env",[],function(){function t(t){var e=this.os={},i=this.browser={},n=t.match(/Web[kK]it[\/]{0,1}([\d.]+)/),r=t.match(/(Android);?[\s\/]+([\d.]+)?/),a=t.match(/(iPad).*OS\s([\d_]+)/),o=t.match(/(iPod)(.*OS\s([\d_]+))?/),s=!a&&t.match(/(iPhone\sOS)\s([\d_]+)/),l=t.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),c=l&&t.match(/TouchPad/),u=t.match(/Kindle\/([\d.]+)/),h=t.match(/Silk\/([\d._]+)/),d=t.match(/(BlackBerry).*Version\/([\d.]+)/),f=t.match(/(BB10).*Version\/([\d.]+)/),p=t.match(/(RIM\sTablet\sOS)\s([\d.]+)/),v=t.match(/PlayBook/),m=t.match(/Chrome\/([\d.]+)/)||t.match(/CriOS\/([\d.]+)/),g=t.match(/Firefox\/([\d.]+)/),y=t.match(/MSIE ([\d.]+)/),x=n&&t.match(/Mobile\//)&&!m,_=t.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/)&&!m,y=t.match(/MSIE\s([\d.]+)/);return(i.webkit=!!n)&&(i.version=n[1]),r&&(e.android=!0,e.version=r[2]),s&&!o&&(e.ios=e.iphone=!0,e.version=s[2][Hi](/_/g,".")),a&&(e.ios=e.ipad=!0,e.version=a[2][Hi](/_/g,".")),o&&(e.ios=e.ipod=!0,e.version=o[3]?o[3][Hi](/_/g,"."):null),l&&(e.webos=!0,e.version=l[2]),c&&(e.touchpad=!0),d&&(e.blackberry=!0,e.version=d[2]),f&&(e.bb10=!0,e.version=f[2]),p&&(e.rimtabletos=!0,e.version=p[2]),v&&(i.playbook=!0),u&&(e.kindle=!0,e.version=u[1]),h&&(i.silk=!0,i.version=h[1]),!h&&e.android&&t.match(/Kindle Fire/)&&(i.silk=!0),m&&(i.chrome=!0,i.version=m[1]),g&&(i.firefox=!0,i.version=g[1]),y&&(i.ie=!0,i.version=y[1]),x&&(t.match(/Safari/)||e.ios)&&(i.safari=!0),_&&(i.webview=!0),y&&(i.ie=!0,i.version=y[1]),e.tablet=!!(a||v||r&&!t.match(/Mobile/)||g&&t.match(/Tablet/)||y&&!t.match(/Phone/)&&t.match(/Touch/)),e.phone=!(e.tablet||e.ipod||!(r||s||l||d||f||m&&t.match(/Android/)||m&&t.match(/CriOS\/([\d.]+)/)||g&&t.match(/Mobile/)||y&&t.match(/Touch/))),{browser:i,os:e,node:!1,canvasSupported:document[ii](Mn)[ei]?!0:!1}}return typeof navigator===C?{browser:{},os:{},node:!0,canvasSupported:!0}:t(navigator.userAgent)}),e("zrender/mixin/Eventful",[Zn,i],function(t){var e=Array[Sn].slice,n=t(i),r=n[Zi],a=function(){this._$handlers={}};return a[Sn]={constructor:a,one:function(t,e,i){var n=this._$handlers;return e&&t?(n[t]||(n[t]=[]),r(n[t],t)>=0?this:(n[t].push({h:e,one:!0,ctx:i||this}),this)):this},on:function(t,e,i){var n=this._$handlers;return e&&t?(n[t]||(n[t]=[]),n[t].push({h:e,one:!1,ctx:i||this}),this):this},isSilent:function(t){var e=this._$handlers;return e[t]&&e[t][on]},off:function(t,e){var i=this._$handlers;if(!t)return this._$handlers={},this;if(e){if(i[t]){for(var n=[],r=0,a=i[t][on];a>r;r++)i[t][r].h!=e&&n.push(i[t][r]);i[t]=n}i[t]&&0===i[t][on]&&delete i[t]}else delete i[t];return this},trigger:function(t){if(this._$handlers[t]){var i=arguments,n=i[on];n>3&&(i=e.call(i,1));for(var r=this._$handlers[t],a=r[on],o=0;a>o;){switch(n){case 1:r[o].h.call(r[o].ctx);break;case 2:r[o].h.call(r[o].ctx,i[1]);break;case 3:r[o].h.call(r[o].ctx,i[1],i[2]);break;default:r[o].h.apply(r[o].ctx,i)}r[o].one?(r[tn](o,1),a--):o++}}return this},triggerWithContext:function(t){if(this._$handlers[t]){var i=arguments,n=i[on];n>4&&(i=e.call(i,1,i[on]-1));for(var r=i[i[on]-1],a=this._$handlers[t],o=a[on],s=0;o>s;){switch(n){case 1:a[s].h.call(r);break;case 2:a[s].h.call(r,i[1]);
  break;case 3:a[s].h.call(r,i[1],i[2]);break;default:a[s].h.apply(r,i)}a[s].one?(a[tn](s,1),o--):s++}}return this}},a}),e("echarts/loading/default",[Zn,"../util/graphic",Gn],function(t){var e=t("../util/graphic"),i=t(Gn),n=Math.PI;return function(t,r){r=r||{},i[Dn](r,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var a=new e.Rect({style:{fill:r.maskColor},zlevel:r[qi],z:1e4}),o=new e.Arc({shape:{startAngle:-n/2,endAngle:-n/2+.1,r:10},style:{stroke:r.color,lineCap:"round",lineWidth:5},zlevel:r[qi],z:10001}),s=new e.Rect({style:{fill:"none",text:r.text,textPosition:"right",textDistance:10,textFill:r.textColor},zlevel:r[qi],z:10001});o.animateShape(!0).when(1e3,{endAngle:3*n/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:3*n/2}).delay(300).start("circularInOut");var l=new e.Group;return l.add(o),l.add(s),l.add(a),l[wn]=function(){var e=t[yn]()/2,i=t[gn]()/2;o[me]({cx:e,cy:i});var n=o.shape.r;s[me]({x:e-n,y:i-n,width:2*n,height:2*n}),a[me]({x:0,y:0,width:t[yn](),height:t[gn]()})},l[wn](),l}}),e("echarts/preprocessor/backwardCompat",[Zn,Gn,"./helper/compatStyle"],function(t){function e(t,e){e=e.split(",");for(var i=t,n=0;n<e[on]&&(i=i&&i[e[n]],null!=i);n++);return i}function i(t,e,i,n){e=e.split(",");for(var r,a=t,o=0;o<e[on]-1;o++)r=e[o],null==a[r]&&(a[r]={}),a=a[r];(n||null==a[e[o]])&&(a[e[o]]=i)}function n(t){c(o,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var r=t(Gn),a=t("./helper/compatStyle"),o=[["x","left"],["y","top"],["x2","right"],["y2",pn]],s=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],l=["bar","boxplot","candlestick","chord","effectScatter","funnel","gauge","lines","graph","heatmap","line","map","parallel","pie","radar","sankey","scatter","treemap"],c=r.each;return function(t){c(t[nn],function(t){if(r[un](t)){var o=t.type;if(a(t),("pie"===o||"gauge"===o)&&null!=t.clockWise&&(t[j]=t.clockWise),"gauge"===o){var s=e(t,"pointer.color");null!=s&&i(t,"itemStyle.normal.color",s)}for(var c=0;c<l[on];c++)if(l[c]===t.type){n(t);break}}}),t.dataRange&&(t.visualMap=t.dataRange),c(s,function(e){var i=t[e];i&&(r[Fi](i)||(i=[i]),c(i,function(t){n(t)}))})}}),e("echarts/util/number",[Zn,Gn],function(t){function e(t){return t[Hi](/^\s+/,"")[Hi](/\s+$/,"")}var i=t(Gn),n={},r=1e-4;return n[q]=function(t,e,r,a){if(i[Fi](t))return i.map(t,function(t){return n[q](t,e,r,a)});var o=e[1]-e[0];if(0===o)return(r[0]+r[1])/2;var s=(t-e[0])/o;return a&&(s=Math.min(Math.max(s,0),1)),s*(r[1]-r[0])+r[0]},n[Ce]=function(t,i){switch(t){case Ci:case x:t="50%";break;case"left":case"top":t="0%";break;case"right":case pn:t="100%"}return typeof t===bn?e(t).match(/%$/)?parseFloat(t)/100*i:parseFloat(t):null==t?0/0:+t},n.round=function(t){return+(+t)[ne](12)},n.asc=function(t){return t.sort(function(t,e){return t-e}),t},n.getPrecision=function(t){for(var e=1,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i},n.getPixelPrecision=function(t,e){var i=Math.log,n=Math.LN10,r=Math.floor(i(t[1]-t[0])/n),a=Math.round(i(Math.abs(e[1]-e[0]))/n);return Math.max(-r+a,0)},n.MAX_SAFE_INTEGER=9007199254740991,n.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},n.isRadianAroundZero=function(t){return t>-r&&r>t},n.parseDate=function(t){return t instanceof Date?t:new Date(typeof t===bn?t[Hi](/-/g,"/"):t)},n}),e("echarts/util/format",[Zn,Gn,"./number"],function(t){function e(t){return isNaN(t)?"-":(t=(t+"").split("."),t[0][Hi](/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t[on]>1?"."+t[1]:""))}function i(t){return t[Cn]()[Hi](/-(.)/g,function(t,e){return e.toUpperCase()})}function n(t){var e=t[on];return typeof t===Ri?[t,t,t,t]:2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function r(t){return String(t)[Hi](/&/g,"&amp;")[Hi](/</g,"&lt;")[Hi](/>/g,"&gt;")[Hi](/"/g,"&quot;")[Hi](/'/g,"&#39;")}function a(t,e){return"{"+t+(null==e?"":e)+"}"}function o(t,e){c[Fi](e)||(e=[e]);var i=e[on];if(!i)return"";for(var n=e[0].$vars,r=0;r<n[on];r++){var o=h[r];t=t[Hi](a(o),a(o,0))}for(var s=0;i>s;s++)for(var l=0;l<n[on];l++)t=t[Hi](a(h[l],s),e[s][n[l]]);return t}function s(t,e){("week"===t||"month"===t||"quarter"===t||"half-year"===t||"year"===t)&&(t="MM-dd\nyyyy");var i=u.parseDate(e),n=i.getFullYear(),r=i.getMonth()+1,a=i.getDate(),o=i.getHours(),s=i.getMinutes(),c=i.getSeconds();return t=t[Hi]("MM",l(r))[Cn]()[Hi]("yyyy",n)[Hi]("yy",n%100)[Hi]("dd",l(a))[Hi]("d",a)[Hi]("hh",l(o))[Hi]("h",o)[Hi]("mm",l(s))[Hi]("m",s)[Hi]("ss",l(c))[Hi]("s",c)}function l(t){return 10>t?"0"+t:t}var c=t(Gn),u=t("./number"),h=["a","b","c","d","e","f","g"];return{normalizeCssArray:n,addCommas:e,toCamelCase:i,encodeHTML:r,formatTpl:o,formatTime:s}}),e("echarts/util/layout",[Zn,Gn,P,"./number","./format"],function(t){function e(t,e,i,n,r){var a=0,o=0;null==n&&(n=1/0),null==r&&(r=1/0);var s=0;e[Y](function(l,c){var u,h,d=l[Si],f=l[Li](),p=e[Q](c+1),v=p&&p[Li]();if(t===Z){var m=f.width+(v?-v.x+f.x:0);u=a+m,u>n||l.newline?(a=0,u=m,o+=s+i,s=0):s=Math.max(s,f[fn])}else{var g=f[fn]+(v?-v.y+f.y:0);h=o+g,h>r||l.newline?(a+=s+i,o=0,h=g,s=0):s=Math.max(s,f.width)}l.newline||(d[0]=a,d[1]=o,t===Z?a=u+i:o=h+i)})}var i=t(Gn),n=t(P),r=t("./number"),a=t("./format"),o=r[Ce],s=i.each,c={};return c.box=e,c.vbox=i.curry(e,l),c.hbox=i.curry(e,Z),c.getAvailableSize=function(t,e,i){var n=e.width,r=e[fn],s=o(t.x,n),l=o(t.y,r),c=o(t.x2,n),u=o(t.y2,r);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(c)||isNaN(parseFloat(t.x2)))&&(c=n),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(u)||isNaN(parseFloat(t.y2)))&&(u=r),i=a.normalizeCssArray(i||0),{width:Math.max(c-s-i[1]-i[3],0),height:Math.max(u-l-i[0]-i[2],0)}},c[Ai]=function(t,e,i){i=a.normalizeCssArray(i||0);var r=e.width,s=e[fn],l=o(t.left,r),c=o(t.top,s),u=o(t.right,r),h=o(t[pn],s),d=o(t.width,r),f=o(t[fn],s),p=i[2]+i[0],v=i[1]+i[3],m=t.aspect;switch(isNaN(d)&&(d=r-u-v-l),isNaN(f)&&(f=s-h-p-c),isNaN(d)&&isNaN(f)&&(m>r/s?d=.8*r:f=.8*s),null!=m&&(isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=r-u-d-v),isNaN(c)&&(c=s-h-f-p),t.left||t.right){case Ci:l=r/2-d/2-i[3];break;case"right":l=r-d-v}switch(t.top||t[pn]){case x:case Ci:c=s/2-f/2-i[0];break;case pn:c=s-f-p}var g=new n(l+i[3],c+i[0],d,f);return g.margin=i,g},c.positionGroup=function(t,e,n,r){var a=t[Li]();e=i[ln](i.clone(e),{width:a.width,height:a[fn]}),e=c[Ai](e,n,r),t[Si]=[e.x-a.x,e.y-a.y]},c.mergeLayoutParam=function(t,e,i){function n(n){var o={},l=0,c={},u=0,h=i.ignoreSize?1:2;if(s(n,function(e){c[e]=t[e]}),s(n,function(t){r(e,t)&&(o[t]=c[t]=e[t]),a(o,t)&&l++,a(c,t)&&u++}),u!==h&&l){if(h>u){var d=0;return s(n,function(t){"auto"===c[t]&&(h-u>d?d++:c[t]=null)}),c}if(l>=h)return o;for(var f=0;f<n[on];f++){var p=n[f];if(!r(o,p)&&r(t,p)){o[p]=t[p];break}}return o}return c}function r(t,e){return t.hasOwnProperty(e)}function a(t,e){return null!=t[e]&&"auto"!==t[e]}function o(t,e,i){s(t,function(t){e[t]=i[t]})}i=i||{};var l=["width","left","right"],c=[fn,"top",pn],u=n(l),h=n(c);o(l,t,u),o(c,t,h)},c.getLayoutParams=function(t){var e={};return t&&s(["left","right","top",pn,"width",fn],function(i){t.hasOwnProperty(i)&&(e[i]=t[i])}),e},c}),e("echarts/component/visualMap/typeDefaulter",[Zn,ni],function(t){t(ni).registerSubTypeDefaulter("visualMap",function(t){return t[M]||(t.pieces?t.pieces[on]>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})}),e("echarts/component/visualMap/visualMapAction",[Zn,si],function(t){var e=t(si),i={type:"selectDataRange",event:"dataRangeSelected",update:"update"};e[Tn](i,function(t,e){e[mn]({mainType:"visualMap",query:t},function(e){e.setSelected(t[J])})})}),e("echarts/scale/Interval",[Zn,wi,"../util/format","./Scale"],function(t){var e=t(wi),i=t("../util/format"),n=t("./Scale"),r=Math.floor,a=Math.ceil,o=n[ln]({type:"interval",_interval:0,setExtent:function(t,e){var i=this._extent;isNaN(t)||(i[0]=parseFloat(t)),isNaN(e)||(i[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),o[Sn][vi].call(this,e[0],e[1])},getInterval:function(){return this._interval||this.niceTicks(),this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice()},getTicks:function(){this._interval||this.niceTicks();var t=this._interval,i=this._extent,n=[],r=1e4;if(t){var a=this._niceExtent;i[0]<a[0]&&n.push(i[0]);for(var o=a[0];o<=a[1];)if(n.push(o),o=e.round(o+t),n[on]>r)return[];i[1]>a[1]&&n.push(i[1])}return n},getTicksLabels:function(){for(var t=[],e=this[gi](),i=0;i<e[on];i++)t.push(this[mi](e[i]));return t},getLabel:function(t){return i.addCommas(t)},niceTicks:function(t){t=t||10;var i=this._extent,n=i[1]-i[0];if(!(1/0===n||0>=n)){var o=Math.pow(10,Math.floor(Math.log(n/t)/Math.LN10)),s=t/n*o;.15>=s?o*=10:.3>=s?o*=5:.45>=s?o*=3:.75>=s&&(o*=2);var l=[e.round(a(i[0]/o)*o),e.round(r(i[1]/o)*o)];this._interval=o,this._niceExtent=l}},niceExtent:function(t,i,n){var o=this._extent;if(o[0]===o[1])if(0!==o[0]){var s=o[0]/2;o[0]-=s,o[1]+=s}else o[1]=1;o[1]===-1/0&&1/0===o[0]&&(o[0]=0,o[1]=1),this.niceTicks(t,i,n);var l=this._interval;i||(o[0]=e.round(r(o[0]/l)*l)),n||(o[1]=e.round(a(o[1]/l)*l))}});return o[yi]=function(){return new o},o}),e("echarts/scale/Scale",[Zn,"../util/clazz"],function(t){function e(){this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}var i=t("../util/clazz"),n=e[Sn];return n[_i]=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},n[xi]=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},n.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},n.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},n[pi]=function(){return this._extent.slice()},n[vi]=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},n.getTicksLabels=function(){for(var t=[],e=this[gi](),i=0;i<e[on];i++)t.push(this[mi](e[i]));return t},i.enableClassExtend(e),i.enableClassManagement(e,{registerWhenExtend:!0}),e}),e("zrender/graphic/Gradient",[Zn],function(){var t=function(t){this.colorStops=t||[]};return t[Sn]={constructor:t,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}},t}),e("echarts/chart/helper/createListFromArray",[Zn,le,"../../data/helper/completeDimensions",Gn,se],function(t){function e(t){for(var e=0;e<t[on]&&null==t[e];)e++;return t[e]}function i(t){var i=e(t);return null!=i&&!l[Fi](u(i))}function n(t,e,n){t=t||[];var r=d[e.get(zn)](t,e,n),s=r[fi],l=r.categoryAxisModel,c=s[0].type===Ue?0:s[1].type===Ue?1:-1,f=new o(s,e),p=a(r,t),v=l&&i(t)?function(t,e,i,n){return n===c?i:h(u(t),s[n])}:function(t,e,i,n){var r=u(t);return h(r&&r[n],s[n])};return f[re](t,p,v),f}function r(t){return t!==je&&"time"!==t}function a(t,e){var i=[];if(t.categoryAxisModel){var n=t.categoryAxisModel.getCategories();if(n){var r=e[on];if(l[Fi](e[0])&&e[0][on]>1){i=[];for(var a=0;r>a;a++)i[a]=n[e[a][0]]}else i=n.slice(0)}}return i}var o=t(le),s=t("../../data/helper/completeDimensions"),l=t(Gn),c=t(se),u=c.getDataItemValue,h=c.converDataValue,d={cartesian2d:function(t,e,i){var n=i[Je]("xAxis",e.get("xAxisIndex")),a=i[Je]("yAxis",e.get("yAxisIndex")),o=n.get("type"),l=a.get("type"),c=l===je,u=o===je,h=[{name:"x",type:u?Ue:"float",stackable:r(o)},{name:"y",type:c?Ue:"float",stackable:r(l)}];return s(h,t,["x","y","z"]),{dimensions:h,categoryAxisModel:u?n:c?a:null}},polar:function(t,e,i){var n=e.get(G)||0,a=function(t){return t.get(G)===n},o=i[ui]({mainType:"angleAxis",filter:a})[0],l=i[ui]({mainType:"radiusAxis",filter:a})[0],c=l.get("type")===je,u=o.get("type")===je,h=[{name:"radius",type:c?Ue:"float",stackable:r(l.get("type"))},{name:"angle",type:u?Ue:"float",stackable:r(o.get("type"))}];return s(h,t,[be,"angle","value"]),{dimensions:h,categoryAxisModel:u?o:c?l:null}},geo:function(t){return{dimensions:s([{name:"lng"},{name:"lat"}],t,["lng","lat","value"])}}};return n}),e("zrender/graphic/shape/Circle",[Zn,"../Path"],function(t){return t("../Path")[ln]({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e){t[y](e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}})}),e("zrender/graphic/shape/Polygon",[Zn,"../helper/poly","../Path"],function(t){var e=t("../helper/poly");return t("../Path")[ln]({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,i){e[r](t,i,!0)}})}),e("zrender/graphic/shape/Polyline",[Zn,"../helper/poly","../Path"],function(t){var e=t("../helper/poly");return t("../Path")[ln]({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,i){e[r](t,i,!1)}})}),e("zrender/graphic/shape/Rect",[Zn,"../helper/roundRect","../Path"],function(t){var e=t("../helper/roundRect");return t("../Path")[ln]({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,i){var n=i.x,a=i.y,o=i.width,s=i[fn];i.r?e[r](t,i):t.rect(n,a,o,s),t[v]()}})}),e("zrender/graphic/shape/Arc",[Zn,"../Path"],function(t){return t("../Path")[ln]({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.cx,n=e.cy,r=Math.max(e.r,0),a=e[ee],o=e[ye],s=e[j],l=Math.cos(a),c=Math.sin(a);t[y](l*r+i,c*r+n),t.arc(i,n,r,a,o,!s)}})}),e("echarts/component/visualMap/preprocessor",[Zn,Gn],function(t){function e(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var i=t(Gn),n=i.each;return function(t){var r=t&&t.visualMap;i[Fi](r)||(r=r?[r]:[]),n(r,function(t){if(t){e(t,"splitList")&&!e(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var r=t.pieces;r&&i[Fi](r)&&n(r,function(t){i[un](t)&&(e(t,"start")&&!e(t,"min")&&(t.min=t.start),e(t,"end")&&!e(t,"max")&&(t.max=t.end))})}})}}),e("echarts/component/visualMap/visualCoding",[Zn,si,"../../visual/VisualMapping",Gn],function(t){function e(t){var e=t.targetVisuals,i={};r.each(["inRange","outOfRange"],function(t){var r=n.prepareVisualTypes(e[t]);i[t]=r}),t.eachTargetSeries(function(n){function r(t){return s[ze](o,t)}function a(t,e){s[ce](o,t,e)}var o,s=n[Bn](),l=t.getDataDimension(s);s.each([l],function(n,s){o=s;for(var l=t.getValueState(n),c=e[l],u=i[l],h=0,d=u[on];d>h;h++){var f=u[h];c[f]&&c[f].applyVisual(n,r,a)}})})}var i=t(si),n=t("../../visual/VisualMapping"),r=t(Gn);i.registerVisualCoding("component",function(t){t[mn]("visualMap",function(i){e(i,t)})})}),e("echarts/component/visualMap/ContinuousModel",[Zn,"./VisualMapModel",Gn,U],function(t){var e=t("./VisualMapModel"),i=t(Gn),n=t(U),r=[20,140];return e[ln]({type:"visualMap.continuous",defaultOption:{handlePosition:"auto",calculable:!1,range:[-1/0,1/0],hoverLink:!0,realtime:!0,itemWidth:null,itemHeight:null},doMergeOption:function(t,e){this[oe]("doMergeOption",arguments),this.resetTargetSeries(t,e),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear"}),this._resetRange()},resetItemSize:function(){e[Sn].resetItemSize.apply(this,arguments);var t=this.itemSize;this._orient===Z&&t[I](),(null==t[0]||isNaN(t[0]))&&(t[0]=r[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=r[1])},_resetRange:function(){var t=this[pi](),e=this[xn].range;e[0]>e[1]&&e[I](),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1])},completeVisualOption:function(){e[Sn].completeVisualOption.apply(this,arguments),i.each(this.stateList,function(t){var e=this[xn].controller[t][ue];e&&e[0]!==e[1]&&(e[0]=0)},this)},setSelected:function(t){this[xn].range=t.slice(),this._resetRange()},getSelected:function(){var t=this[pi](),e=n.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},getValueState:function(t){var e=this[xn].range,i=this[pi]();return(e[0]<=i[0]||e[0]<=t)&&(e[1]>=i[1]||t<=e[1])?"inRange":"outOfRange"}})}),e("echarts/component/visualMap/ContinuousView",[Zn,"./VisualMapView",qe,Gn,U,"../helper/sliderMove","zrender/graphic/LinearGradient","./helper"],function(t){function e(t,e,i){return new r[fe]({shape:{points:t},draggable:!!e,cursor:i,drift:e})}function i(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}var n=t("./VisualMapView"),r=t(qe),a=t(Gn),o=t(U),s=t("../helper/sliderMove"),u=o[q],h=t("zrender/graphic/LinearGradient"),d=t("./helper"),f=a.each,p=n[ln]({type:"visualMap.continuous",init:function(){n[Sn].init.apply(this,arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle},doRender:function(t,e,i,n){n&&"selectDataRange"===n.type&&n.from===this.uid?this._updateView():this._buildView()},_buildView:function(){this.group[In]();var t=this.visualMapModel,e=this.group;this._orient=t.get(c),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var i=t.get("text");this._renderEndsText(e,i,0),this._renderEndsText(e,i,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this.positionGroup(e)},_renderEndsText:function(t,e,i){if(e){var n=e[1-i];n=null!=n?n+"":"";var a=this.visualMapModel,o=a.get("textGap"),s=a.itemSize,l=this._shapes.barGroup,c=this._applyTransform([s[0]/2,0===i?-o:s[1]+o],l),u=this._applyTransform(0===i?pn:"top",l),h=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new r.Text({style:{x:c[0],y:c[1],textBaseline:h===Z?x:u,textAlign:h===Z?u:Ci,text:n,textFont:d[Di](),fill:d[ki]()}}))}},_renderBar:function(t){var i=this.visualMapModel,n=this._shapes,r=i.itemSize,o=this._orient,s=this._useHandle,l=d.getItemAlign(i,this.api,r),c=n.barGroup=this._createBarGroup(l);c.add(n.outOfRange=e()),c.add(n.inRange=e(null,a.bind(this._modifyHandle,this,"all"),s?"move":null));var u=i.textStyleModel.getTextRect("国"),h=Math.max(u.width,u[fn]);s&&(n.handleGroups=[],n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(c,0,r,h,o,l),this._createHandle(c,1,r,h,o,l)),t.add(c)},_createHandle:function(t,n,o,s,l){var c=new r.Group({position:[o[0],0]}),u=e(i(n,s),a.bind(this._modifyHandle,this,n),"move");c.add(u);var h={x:l===Z?s/2:1.5*s,y:l===Z?0===n?-(1.5*s):1.5*s:0===n?-s/2:s/2},d=this.visualMapModel.textStyleModel,f=new r.Text({silent:!0,style:{x:0,y:0,text:"",textBaseline:"middle",textFont:d[Di](),fill:d[ki]()}});this.group.add(f);var p=this._shapes;p.handleThumbs[n]=u,p.handleGroups[n]=c,p.handleLabelPoints[n]=h,p.handleLabels[n]=f,t.add(c)},_modifyHandle:function(t,e,i){if(this._useHandle){var n=this._applyTransform([e,i],this._shapes.barGroup,!0);this._updateInterval(t,n[1]),this.api[sn]({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()})}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected();this._handleEnds=u(e,t[pi](),[0,t.itemSize[1]],!0)},_updateInterval:function(t,e){e=e||0;var i=this.visualMapModel,n=this._handleEnds;s(e,n,[0,i.itemSize[1]],"all"===t?"rigid":"push",t),this._dataInterval=u(n,[0,i.itemSize[1]],i[pi](),!0)},_updateView:function(t){var e=this.visualMapModel,i=e[pi](),n=this._shapes,r=this._dataInterval,a=[0,e.itemSize[1]],o=t?a:this._handleEnds,s=this._createBarVisual(r,i,o,"inRange"),l=this._createBarVisual(i,i,a,"outOfRange");n.inRange[Mi]("fill",s.barColor)[me](de,s.barPoints),n.outOfRange[Mi]("fill",l.barColor)[me](de,l.barPoints),this._useHandle&&f([0,1],function(t){n.handleThumbs[t][Mi]("fill",s.handlesColor[t]),n.handleLabels[t][Mi]({text:e.formatValueText(r[t]),textAlign:this._applyTransform(this._orient===Z?0===t?pn:"top":"left",n.barGroup)})},this),this._updateHandlePosition(o)},_createBarVisual:function(t,e,i,n){var r=this.getControllerVisual(t,n,"color").color,a=[this.getControllerVisual(t[0],n,ue)[ue],this.getControllerVisual(t[1],n,ue)[ue]],o=this._createBarPoints(i,a);return{barColor:new h(0,0,1,1,r),barPoints:o,handlesColor:[r[0].color,r[r[on]-1].color]}},_createBarPoints:function(t,e){var i=this.visualMapModel.itemSize;return[[i[0]-e[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,i=this.visualMapModel.get($e);return new r.Group(e!==Z||i?e===Z&&i?{scale:t===pn?[-1,1]:[1,1],rotation:-Math.PI/2}:e!==l||i?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:t===pn?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandlePosition:function(t){if(this._useHandle){var e=this._shapes;f([0,1],function(i){var n=e.handleGroups[i];n[Si][1]=t[i];var a=e.handleLabelPoints[i],o=r[R]([a.x,a.y],r.getTransform(n,this.group));e.handleLabels[i][Mi]({x:o[0],y:o[1]})},this)}},_applyTransform:function(t,e,i){var n=r.getTransform(e,this.group);return r[a[Fi](t)?R:"transformDirection"](t,n,i)}});return p}),e("echarts/component/toolbox/featureManager",[Zn],function(){var t={};return{register:function(e,i){t[e]=i},get:function(e){return t[e]}}}),e("echarts/model/mixin/boxLayout",[Zn],function(){return{getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get(pn),width:this.get("width"),height:this.get(fn)}}}}),e("echarts/coord/geo/GeoModel",[Zn,se,ni],function(t){var e=t(se),i=t(ni);i[ln]({type:"geo",coordinateSystem:null,init:function(t){i[Sn].init.apply(this,arguments),e[ie](t.label,[Si,"show",Pi,f,_])},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",map:"",roamDetail:{x:0,y:0,zoom:1},label:{normal:{show:!1,textStyle:{color:"#000"}},emphasis:{show:!0,textStyle:{color:"rgb(100,0,0)"}}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{color:"rgba(255,215,0,0.8)"}}},getFormattedLabel:function(t,e){var i=this.get("label."+e+".formatter"),n={name:t};return typeof i===Gi?(n.status=e,i(n)):typeof i===bn?i[Hi]("{a}",n.seriesName):void 0},setRoamZoom:function(t){var e=this[xn].roamDetail;e&&(e.zoom=t)},setRoamPan:function(t,e){var i=this[xn].roamDetail;i&&(i.x=t,i.y=e)}})}),e("echarts/coord/geo/Geo",[Zn,"./parseGeoJson",Gn,P,"../View","./fix/nanhai","./fix/textCoord","./fix/geoCoord"],function(t){function e(t,e,i,n,r){a.call(this,t),this.map=e,this[fi]=["lng","lat"],this._nameCoordMap={},this.loadGeoJson(i,n,r)}var i=t("./parseGeoJson"),n=t(Gn),r=t(P),a=t("../View"),o=[t("./fix/nanhai"),t("./fix/textCoord"),t("./fix/geoCoord")];return e[Sn]={constructor:e,type:"geo",loadGeoJson:function(t,e,r){try{this.regions=t?i(t):[]}catch(a){throw"Invalid geoJson format\n"+a}e=e||{},r=r||{};for(var s=this.regions,l={},c=0;c<s[on];c++){var u=s[c].name;u=r[u]||u,s[c].name=u,l[u]=s[c],this.addGeoCoord(u,s[c][Ci]);var h=e[u];h&&s[c].transformTo(h.left,h.top,h.width,h[fn])}this._regionsMap=l,this._rect=null,n.each(o,function(t){t(this)},this)},transformTo:function(t,e,i,n){var a=this[Li]();a=a.clone(),a.y=-a.y-a[fn];var o=this._viewTransform;o[An]=a.calculateTransform(new r(t,e,i,n)),o.decomposeTransform();var s=o.scale;s[1]=-s[1],o.updateTransform(),this._updateTransform()},getRegion:function(t){return this._regionsMap[t]},addGeoCoord:function(t,e){this._nameCoordMap[t]=e},getGeoCoord:function(t){return this._nameCoordMap[t]},getBoundingRect:function(){if(this._rect)return this._rect;for(var t,e=this.regions,i=0;i<e[on];i++){var n=e[i][Li]();t=t||n.clone(),t.union(n)}return this._rect=t||new r(0,0,0,0)},dataToPoints:function(t){var e=[];return t[we](["lng","lat"],function(t,i){return e[0]=t,e[1]=i,this[di](e)},this)},dataToPoint:function(t){return typeof t===bn&&(t=this.getGeoCoord(t)),t?a[Sn][di].call(this,t):void 0}},n.mixin(e,a),e}),e("echarts/data/List",[Zn,"../model/Model","./DataDiffer",Gn,"../util/model"],function(t){function e(t){return c[Fi](t)||(t=[t]),t}var i=C,n=typeof window===C?global:window,r=typeof n.Float64Array===i?Array:n.Float64Array,a=typeof n.Int32Array===i?Array:n.Int32Array,o={"float":r,"int":a,ordinal:Array,number:Array,time:Array},s=t("../model/Model"),l=t("./DataDiffer"),c=t(Gn),u=t("../util/model"),h=c[un],d=["stackedOn","_nameList","_idList","_rawData"],f=function(t,e,i){c.each(d[ti](i||[]),function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})},p=function(t,e){t=t||["x","y"];for(var i={},n=[],r=0;r<t[on];r++){var a,o={};typeof t[r]===bn?(a=t[r],o={name:a,stackable:!1,type:"number"}):(o=t[r],a=o.name,o.type=o.type||Ri),n.push(a),i[a]=o}this[fi]=n,this._dimensionInfos=i,this[ji]=e,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},v=p[Sn];v.type="list",v.getDimension=function(t){return isNaN(t)||(t=this[fi][t]||t),t},v.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},v[re]=function(t,e,i){t=t||[],this._rawData=t;var n=this._storage={},r=this.indices=[],a=this[fi],s=t[on],l=this._dimensionInfos,h=[],d={};e=e||[];for(var f=0;f<a[on];f++){var p=l[a[f]],v=o[p.type];n[a[f]]=new v(s)}i=i||function(t,e,i,n){var r=u.getDataItemValue(t);return u.converDataValue(c[Fi](r)?r[n]:r,l[e])};for(var m=0;m<t[on];m++){for(var g=t[m],y=0;y<a[on];y++){var x=a[y],_=n[x];_[m]=i(g,x,m,y)}r.push(m)}for(var f=0;f<t[on];f++){var w="";e[f]||(e[f]=t[f].name,w=t[f].id);var b=e[f]||"";!w&&b&&(d[b]=d[b]||0,w=b,d[b]>0&&(w+="__ec__"+d[b]),d[b]++),w&&(h[f]=w)}this._nameList=e,this._idList=h},v.count=function(){return this.indices[on]},v.get=function(t,e,i){var n=this._storage,r=this.indices[e],a=n[t]&&n[t][r],o=this._dimensionInfos[t];if(i&&o&&o.stackable)for(var s=this.stackedOn;s;){var l=s.get(t,e);(a>=0&&l>0||0>=a&&0>l)&&(a+=l),s=s.stackedOn}return a},v.getValues=function(t,e,i){var n=[];c[Fi](t)||(i=e,e=t,t=this[fi]);for(var r=0,a=t[on];a>r;r++)n.push(this.get(t[r],e,i));return n},v.hasValue=function(t){for(var e=this[fi],i=this._dimensionInfos,n=0,r=e[on];r>n;n++)if(i[e[n]].type!==Ue&&isNaN(this.get(e[n],t)))return!1;return!0},v[Xe]=function(t,e){var i=this._storage[t],n=this.getDimensionInfo(t);e=n&&n.stackable&&e;var r,a=(this._extent||(this._extent={}))[t+!!e];if(a)return a;if(i){for(var o=1/0,s=-1/0,l=0,c=this.count();c>l;l++)r=this.get(t,l,e),o>r&&(o=r),r>s&&(s=r);return this._extent[t+e]=[o,s]}return[1/0,-1/0]},v.getSum=function(t,e){var i=this._storage[t],n=0;if(i)for(var r=0,a=this.count();a>r;r++){var o=this.get(t,r,e);isNaN(o)||(n+=o)}return n},v[Zi]=function(t,e){var i=this._storage,n=i[t],r=this.indices;if(n)for(var a=0,o=r[on];o>a;a++){var s=r[a];if(n[s]===e)return a}return-1},v[_e]=function(t){for(var e=this.indices,i=this._nameList,n=0,r=e[on];r>n;n++){var a=e[n];if(i[a]===t)return n}return-1},v.indexOfNearest=function(t,e,i){c[Fi](t)||(t=t?[t]:[]);var n=this._storage,r=n[t];if(r){for(var a=Number.MAX_VALUE,o=-1,s=0,l=t[on];l>s;s++)for(var u=0,h=this.count();h>u;u++){var d=Math.abs(this.get(t[s],u,i)-e);a>=d&&(a=d,o=u)}return o}return-1},v[X]=function(t){var e=this.indices[t];return null==e?-1:e},v[ci]=function(t){return this._nameList[this.indices[t]]||""},v.getId=function(t){return this._idList[this.indices[t]]||this[X](t)+""},v.each=function(t,i,n,r){typeof t===Gi&&(r=n,n=i,i=t,t=[]),t=c.map(e(t),this.getDimension,this);var a=[],o=t[on],s=this.indices;r=r||this;for(var l=0;l<s[on];l++)if(0===o)i.call(r,l);else if(1===o)i.call(r,this.get(t[0],l,n),l);else{for(var u=0;o>u;u++)a[u]=this.get(t[u],l,n);a[u]=l,i.apply(r,a)}},v.filterSelf=function(t,i,n,r){typeof t===Gi&&(r=n,n=i,i=t,t=[]),t=c.map(e(t),this.getDimension,this);var a=[],o=[],s=t[on],l=this.indices;r=r||this;for(var u=0;u<l[on];u++){var h;if(1===s)h=i.call(r,this.get(t[0],u,n),u);else{for(var d=0;s>d;d++)o[d]=this.get(t[d],u,n);o[d]=u,h=i.apply(r,o)}h&&a.push(l[u])}return this.indices=a,this._extent={},this},v[we]=function(t,e,i,n){typeof t===Gi&&(n=i,i=e,e=t,t=[]);var r=[];return this.each(t,function(){r.push(e&&e.apply(this,arguments))},i,n),r},v.map=function(t,i){t=c.map(e(t),this.getDimension,this);var n=this[fi],r=new p(c.map(n,this.getDimensionInfo,this),this[ji]),a=r.indices=this.indices;f(r,this,this._wrappedMethods);for(var o=r._storage={},s=this._storage,l=0;l<n[on];l++){var u=n[l],h=s[u];o[u]=c[Zi](t,u)>=0?new h.constructor(s[u][on]):s[u]}var d=[];return this.each(t,function(){var e=arguments[arguments[on]-1],n=i&&i.apply(this,arguments);if(null!=n){typeof n===Ri&&(d[0]=n,n=d);for(var r=0;r<n[on];r++){var s=t[r],l=o[s],c=a[e];l&&(l[c]=n[r])}}}),r};var m=new s(null);v[Ne]=function(t,e){var i,n=this[ji];return t=this.indices[t],i=e?new s(null,n):m,i[xn]=this._rawData[t],i.parentModel=n,i[D]=n[D],i},v.diff=function(t){var e=this._idList,i=t&&t._idList;return new l(t?t.indices:[],this.indices,function(t){return i[t]||t+""},function(t){return e[t]||t+""})},v[pe]=function(t){var e=this._visual;return e&&e[t]},v[En]=function(t,e){if(h(t))for(var i in t)t.hasOwnProperty(i)&&this[En](i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},v.setLayout=function(t,e){this._layout[t]=e},v[L]=function(t){return this._layout[t]},v[Ge]=function(t){return this._itemLayouts[t]},v[hi]=function(t,e,i){this._itemLayouts[t]=i?c[ln](this._itemLayouts[t]||{},e):e},v[ze]=function(t,e,i){var n=this._itemVisuals[t],r=n&&n[e];return null!=r||i?r:this[pe](e)},v[ce]=function(t,e,i){var n=this._itemVisuals[t]||{};if(this._itemVisuals[t]=n,h(e))for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);else n[e]=i};var g=function(t){t[Xi]=this[Xi],t[Yi]=this[Yi]};return v[Re]=function(t,e){var i=this[ji];e&&(e[Yi]=t,e[Xi]=i&&i[Xi],"group"===e.type&&e[Wi](g,e)),this._graphicEls[t]=e},v[Ve]=function(t){return this._graphicEls[t]},v[Ie]=function(t,e){c.each(this._graphicEls,function(i,n){i&&t&&t.call(e,i,n)})},v.cloneShallow=function(){var t=c.map(this[fi],this.getDimensionInfo,this),e=new p(t,this[ji]);return e._storage=this._storage,f(e,this,this._wrappedMethods),e.indices=this.indices.slice(),e},v.wrapMethod=function(t,e){var i=this[t];typeof i===Gi&&(this._wrappedMethods=this._wrappedMethods||[],this._wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.call(this,t)})},p}),e("zrender/tool/path",[Zn,"../graphic/Path","../core/PathProxy","./transformPath","../core/matrix"],function(t){function e(t,e,i,n,r,a,o,s,l,c,u){var v=l*(p/180),y=f(v)*(t-i)/2+d(v)*(e-n)/2,x=-1*d(v)*(t-i)/2+f(v)*(e-n)/2,_=y*y/(o*o)+x*x/(s*s);_>1&&(o*=h(_),s*=h(_));var w=(r===a?-1:1)*h((o*o*s*s-o*o*x*x-s*s*y*y)/(o*o*x*x+s*s*y*y))||0,b=w*o*x/s,M=w*-s*y/o,S=(t+i)/2+f(v)*b-d(v)*M,C=(e+n)/2+d(v)*b+f(v)*M,A=g([1,0],[(y-b)/o,(x-M)/s]),T=[(y-b)/o,(x-M)/s],L=[(-1*y-b)/o,(-1*x-M)/s],k=g(T,L);m(T,L)<=-1&&(k=p),m(T,L)>=1&&(k=0),0===a&&k>0&&(k-=2*p),1===a&&0>k&&(k+=2*p),u.addData(c,S,C,o,s,A,k,v,a)}function i(t){if(!t)return[];var i,n=t[Hi](/-/g," -")[Hi](/  /g," ")[Hi](/ /g,",")[Hi](/,,/g,",");for(i=0;i<u[on];i++)n=n[Hi](new RegExp(u[i],"g"),"|"+u[i]);var r,a=n.split("|"),o=0,l=0,c=new s,h=s.CMD;for(i=1;i<a[on];i++){var d,f=a[i],p=f.charAt(0),v=0,m=f.slice(1)[Hi](/e,-/g,"e-").split(",");m[on]>0&&""===m[0]&&m.shift();for(var g=0;g<m[on];g++)m[g]=parseFloat(m[g]);for(;v<m[on]&&!isNaN(m[v])&&!isNaN(m[0]);){var y,x,_,w,b,M,S,C=o,A=l;switch(p){case"l":o+=m[v++],l+=m[v++],d=h.L,c.addData(d,o,l);break;case"L":o=m[v++],l=m[v++],d=h.L,c.addData(d,o,l);break;case"m":o+=m[v++],l+=m[v++],d=h.M,c.addData(d,o,l),p="l";break;case"M":o=m[v++],l=m[v++],d=h.M,c.addData(d,o,l),p="L";break;case"h":o+=m[v++],d=h.L,c.addData(d,o,l);break;case"H":o=m[v++],d=h.L,c.addData(d,o,l);break;case"v":l+=m[v++],d=h.L,c.addData(d,o,l);break;case"V":l=m[v++],d=h.L,c.addData(d,o,l);break;case"C":d=h.C,c.addData(d,m[v++],m[v++],m[v++],m[v++],m[v++],m[v++]),o=m[v-2],l=m[v-1];break;case"c":d=h.C,c.addData(d,m[v++]+o,m[v++]+l,m[v++]+o,m[v++]+l,m[v++]+o,m[v++]+l),o+=m[v-2],l+=m[v-1];break;case"S":y=o,x=l;var T=c.len(),L=c.data;r===h.C&&(y+=o-L[T-4],x+=l-L[T-3]),d=h.C,C=m[v++],A=m[v++],o=m[v++],l=m[v++],c.addData(d,y,x,C,A,o,l);break;case"s":y=o,x=l;var T=c.len(),L=c.data;r===h.C&&(y+=o-L[T-4],x+=l-L[T-3]),d=h.C,C=o+m[v++],A=l+m[v++],o+=m[v++],l+=m[v++],c.addData(d,y,x,C,A,o,l);break;case"Q":C=m[v++],A=m[v++],o=m[v++],l=m[v++],d=h.Q,c.addData(d,C,A,o,l);break;case"q":C=m[v++]+o,A=m[v++]+l,o+=m[v++],l+=m[v++],d=h.Q,c.addData(d,C,A,o,l);break;case"T":y=o,x=l;var T=c.len(),L=c.data;r===h.Q&&(y+=o-L[T-4],x+=l-L[T-3]),o=m[v++],l=m[v++],d=h.Q,c.addData(d,y,x,o,l);break;case"t":y=o,x=l;var T=c.len(),L=c.data;r===h.Q&&(y+=o-L[T-4],x+=l-L[T-3]),o+=m[v++],l+=m[v++],d=h.Q,c.addData(d,y,x,o,l);break;case"A":_=m[v++],w=m[v++],b=m[v++],M=m[v++],S=m[v++],C=o,A=l,o=m[v++],l=m[v++],d=h.A,e(C,A,o,l,M,S,_,w,b,d,c);
  break;case"a":_=m[v++],w=m[v++],b=m[v++],M=m[v++],S=m[v++],C=o,A=l,o+=m[v++],l+=m[v++],d=h.A,e(C,A,o,l,M,S,_,w,b,d,c)}}("z"===p||"Z"===p)&&(d=h.Z,c.addData(d)),r=d}return c.toStatic(),c}function a(t,e){var n,a=i(t);return e=e||{},e[r]=function(t){t.setData(a.data),n&&l(t,n);var e=t[ei]();e&&t.rebuildPath(e)},e[R]=function(t){n||(n=c[yi]()),c.mul(n,t,n)},e}var o=t("../graphic/Path"),s=t("../core/PathProxy"),l=t("./transformPath"),c=t("../core/matrix"),u=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"],h=Math.sqrt,d=Math.sin,f=Math.cos,p=Math.PI,v=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},m=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(v(t)*v(e))},g=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(m(t,e))};return{createFromString:function(t,e){return new o(a(t,e))},extendFromString:function(t,e){return o[ln](a(t,e))},mergePath:function(t,e){var i,a,s=[],l=t[on];for(a=0;l>a;a++)i=t[a],i[n]&&i[r](i.path,i.shape),s.push(i.path);var c=new o(e);return c[r]=function(t){t.appendPath(s);var e=t[ei]();e&&t.rebuildPath(e)},c}}}),e("zrender/graphic/Path",[Zn,"./Displayable",i,"../core/PathProxy","../contain/path","./Gradient"],function(t){function e(t){var e=t.fill;return null!=e&&"none"!==e}function o(t){var e=t[F];return null!=e&&"none"!==e&&t[p]>0}function s(t){l.call(this,t),this.path=new u}var l=t("./Displayable"),c=t(i),u=t("../core/PathProxy"),h=t("../contain/path"),d=t("./Gradient"),f=Math.abs;return s[Sn]={constructor:s,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(t){t.save();var i=this.style,n=this.path,s=o(i),l=e(i);this.__dirtyPath&&(l&&i.fill instanceof d&&i.fill.updateCanvasGradient(this,t),s&&i[F]instanceof d&&i[F].updateCanvasGradient(this,t)),i.bind(t,this),this.setTransform(t);var c=i.lineDash,u=i.lineDashOffset,h=!!t.setLineDash;this.__dirtyPath||c&&!h&&s?(n=this.path[a](t),c&&!h&&(n.setLineDash(c),n.setLineDashOffset(u)),this[r](n,this.shape),this.__dirtyPath=!1):(t[a](),this.path.rebuildPath(t)),l&&n.fill(t),c&&h&&(t.setLineDash(c),t.lineDashOffset=u),s&&n[F](t),null!=i.text&&this.drawRectText(t,this[Li]()),t.restore()},buildPath:function(){},getBoundingRect:function(){var t=this._rect,e=this.style;if(!t){var i=this.path;this.__dirtyPath&&(i[a](),this[r](i,this.shape)),t=i[Li]()}if(o(e)&&(this[n]||!this._rect)){var s=this._rectWithStroke||(this._rectWithStroke=t.clone());s.copy(t);var l=e[p],c=e.strokeNoScale?this.getLineScale():1;return l=Math.max(l,this.strokeContainThreshold),c>1e-10&&(s.width+=l/c,s[fn]+=l/c,s.x-=l/c/2,s.y-=l/c/2),s}return this._rect=t,t},contain:function(t,i){var n=this.transformCoordToLocal(t,i),r=this[Li](),a=this.style;if(t=n[0],i=n[1],r[_i](t,i)){var s=this.path.data;if(o(a)){var l=a[p],c=a.strokeNoScale?this.getLineScale():1;if(1e-10>c)return!1;if(l=Math.max(l,this.strokeContainThreshold),h.containStroke(s,l/c,t,i))return!0}if(e(a))return h[_i](s,t,i)}return!1},dirty:function(t){0===arguments[on]&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this[n]=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?this[me](e):l[Sn].attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(c[un](t))for(var n in t)i[n]=t[n];else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this[An];return t&&f(t[0]-1)>1e-10&&f(t[3]-1)>1e-10?Math.sqrt(f(t[0]*t[3]-t[2]*t[1])):1}},s[ln]=function(t){var e=function(e){s.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var i=t.shape;if(i){this.shape=this.shape||{};var n=this.shape;for(var r in i)!n.hasOwnProperty(r)&&i.hasOwnProperty(r)&&(n[r]=i[r])}t.init&&t.init.call(this,e)};c[Vi](e,s);for(var i in t)"style"!==i&&"shape"!==i&&(e[Sn][i]=t[i]);return e},c[Vi](s,l),s}),e(z,[],function(){var t=typeof Float32Array===C?Array:Float32Array,e={create:function(){var i=new t(6);return e.identity(i),i},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t},mul:function(t,e,i){var n=e[0]*i[0]+e[2]*i[1],r=e[1]*i[0]+e[3]*i[1],a=e[0]*i[2]+e[2]*i[3],o=e[1]*i[2]+e[3]*i[3],s=e[0]*i[4]+e[2]*i[5]+e[4],l=e[1]*i[4]+e[3]*i[5]+e[5];return t[0]=n,t[1]=r,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t},translate:function(t,e,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+i[0],t[5]=e[5]+i[1],t},rotate:function(t,e,i){var n=e[0],r=e[2],a=e[4],o=e[1],s=e[3],l=e[5],c=Math.sin(i),u=Math.cos(i);return t[0]=n*u+o*c,t[1]=-n*c+o*u,t[2]=r*u+s*c,t[3]=-r*c+u*s,t[4]=u*a+c*l,t[5]=u*l-c*a,t},scale:function(t,e,i){var n=i[0],r=i[1];return t[0]=e[0]*n,t[1]=e[1]*r,t[2]=e[2]*n,t[3]=e[3]*r,t[4]=e[4]*n,t[5]=e[5]*r,t},invert:function(t,e){var i=e[0],n=e[2],r=e[4],a=e[1],o=e[3],s=e[5],l=i*o-a*n;return l?(l=1/l,t[0]=o*l,t[1]=-a*l,t[2]=-n*l,t[3]=i*l,t[4]=(n*s-o*r)*l,t[5]=(a*r-i*s)*l,t):null}};return e}),e(w,[],function(){var t=typeof Float32Array===C?Array:Float32Array,e={create:function(e,i){var n=new t(2);return n[0]=e||0,n[1]=i||0,n},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},clone:function(e){var i=new t(2);return i[0]=e[0],i[1]=e[1],i},set:function(t,e,i){return t[0]=e,t[1]=i,t},add:function(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t},scaleAndAdd:function(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t},sub:function(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t},len:function(t){return Math.sqrt(this.lenSquare(t))},lenSquare:function(t){return t[0]*t[0]+t[1]*t[1]},mul:function(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t},div:function(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},scale:function(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t},normalize:function(t,i){var n=e.len(i);return 0===n?(t[0]=0,t[1]=0):(t[0]=i[0]/n,t[1]=i[1]/n),t},distance:function(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))},distanceSquare:function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},lerp:function(t,e,i,n){return t[0]=e[0]+n*(i[0]-e[0]),t[1]=e[1]+n*(i[1]-e[1]),t},applyTransform:function(t,e,i){var n=e[0],r=e[1];return t[0]=i[0]*n+i[2]*r+i[4],t[1]=i[1]*n+i[3]*r+i[5],t},min:function(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t},max:function(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}};return e[on]=e.len,e.lengthSquare=e.lenSquare,e.dist=e[f],e.distSquare=e.distanceSquare,e}),e("zrender/container/Group",[Zn,i,"../Element","../core/BoundingRect"],function(t){var e=t(i),r=t("../Element"),a=t("../core/BoundingRect"),o=function(t){t=t||{},r.call(this,t);for(var e in t)this[e]=t[e];this._children=[],this.__storage=null,this[n]=!0};return o[Sn]={constructor:o,type:"group",children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,i=0;i<e[on];i++)if(e[i].name===t)return e[i]},childCount:function(){return this._children[on]},add:function(t){return t&&t!==this&&t[k]!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){if(t&&t!==this&&t[k]!==this&&e&&e[k]===this){var i=this._children,n=i[Zi](e);n>=0&&(i[tn](n,0,t),this._doAdd(t))}return this},_doAdd:function(t){t[k]&&t[k][cn](t),t[k]=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToMap(t),t instanceof o&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var i=this.__zr,n=this.__storage,r=this._children,a=e[Zi](r,t);return 0>a?this:(r[tn](a,1),t[k]=null,n&&(n.delFromMap(t.id),t instanceof o&&t.delChildrenFromStorage(n)),i&&i.refresh(),this)},removeAll:function(){var t,e,i=this._children,n=this.__storage;for(e=0;e<i[on];e++)t=i[e],n&&(n.delFromMap(t.id),t instanceof o&&t.delChildrenFromStorage(n)),t[k]=null;return i[on]=0,this},eachChild:function(t,e){for(var i=this._children,n=0;n<i[on];n++){var r=i[n];t.call(e,r,n)}return this},traverse:function(t,e){for(var i=0;i<this._children[on];i++){var n=this._children[i];t.call(e,n),"group"===n.type&&n[Wi](t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children[on];e++){var i=this._children[e];t.addToMap(i),i instanceof o&&i.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children[on];e++){var i=this._children[e];t.delFromMap(i.id),i instanceof o&&i.delChildrenFromStorage(t)}},dirty:function(){return this[n]=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,i=new a(0,0,0,0),n=t||this._children,r=[],o=0;o<n[on];o++){var s=n[o];if(!s[vn]&&!s.invisible){var l=s[Li](),c=s[d](r);c?(i.copy(l),i[R](c),e=e||i.clone(),e.union(i)):(e=e||l.clone(),e.union(l))}}return e||i}},e[Vi](o,r),o}),e("zrender/graphic/Image",[Zn,"./Displayable","../core/BoundingRect",i,"./helper/roundRect","../core/LRU"],function(t){var e=t("./Displayable"),n=t("../core/BoundingRect"),o=t(i),s=t("./helper/roundRect"),l=t("../core/LRU"),c=new l(50),u=function(t){e.call(this,t)};return u[Sn]={constructor:u,type:"image",brush:function(t){var e,i=this.style,n=i.image;if(e=typeof n===bn?this._image:n,!e&&n){var o=c.get(n);if(!o)return e=new Image,e.onload=function(){e.onload=null;for(var t=0;t<o.pending[on];t++)o.pending[t].dirty()},o={image:e,pending:[this]},e.src=n,c.put(n,o),void(this._image=e);if(e=o.image,this._image=e,!e.width||!e[fn])return void o.pending.push(this)}if(e){var l=i.width||e.width,u=i[fn]||e[fn],h=i.x||0,d=i.y||0;if(!e.width||!e[fn])return;if(t.save(),i.bind(t),this.setTransform(t),i.r&&(t[a](),s[r](t,i),t.clip()),i.sWidth&&i.sHeight){var f=i.sx||0,p=i.sy||0;t.drawImage(e,f,p,i.sWidth,i.sHeight,h,d,l,u)}else if(i.sx&&i.sy){var f=i.sx,p=i.sy,v=l-f,m=u-p;t.drawImage(e,f,p,v,m,h,d,l,u)}else t.drawImage(e,h,d,l,u);null==i.width&&(i.width=l),null==i[fn]&&(i[fn]=u),null!=i.text&&this.drawRectText(t,this[Li]()),t.restore()}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new n(t.x||0,t.y||0,t.width||0,t[fn]||0)),this._rect}},o[Vi](u,e),u}),e("zrender/graphic/Text",[Zn,"./Displayable",i,"../contain/text"],function(t){var e=t("./Displayable"),n=t(i),r=t("../contain/text"),a=function(t){e.call(this,t)};return a[Sn]={constructor:a,type:"text",brush:function(t){var e=this.style,i=e.x||0,n=e.y||0,a=e.text,o=e.fill,s=e[F];if(null!=a&&(a+=""),a){t.save(),this.style.bind(t),this.setTransform(t),o&&(t.fillStyle=o),s&&(t.strokeStyle=s),t.font=e.textFont||e.font,t[zi]=e[zi],t[K]=e[K];for(var l=r.measureText("国",t.font).width,c=a.split("\n"),u=0;u<c[on];u++)o&&t.fillText(c[u],i,n),s&&t.strokeText(c[u],i,n),n+=l;t.restore()}},getBoundingRect:function(){if(!this._rect){var t=this.style,e=r[Li](t.text+"",t.textFont,t[zi],t[K]);e.x+=t.x||0,e.y+=t.y||0,this._rect=e}return this._rect}},n[Vi](a,e),a}),e("zrender/graphic/shape/Sector",[Zn,"../Path"],function(t){return t("../Path")[ln]({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=Math.max(e.r0||0,0),a=Math.max(e.r,0),o=e[ee],s=e[ye],l=e[j],c=Math.cos(o),u=Math.sin(o);t[y](c*r+i,u*r+n),t[m](c*a+i,u*a+n),t.arc(i,n,a,o,s,!l),t[m](Math.cos(s)*r+i,Math.sin(s)*r+n),0!==r&&t.arc(i,n,r,s,o,l),t[v]()}})}),e("zrender/graphic/shape/Line",[Zn,"../Path"],function(t){return t("../Path")[ln]({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.x1,n=e.y1,r=e.x2,a=e.y2,o=e.percent;0!==o&&(t[y](i,n),1>o&&(r=i*(1-o)+r*o,a=n*(1-o)+a*o),t[m](r,a))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}})}),e("zrender/graphic/shape/BezierCurve",[Zn,"../../core/curve","../Path"],function(t){var e=t("../../core/curve"),i=e.quadraticSubdivide,n=e.cubicSubdivide,r=e.quadraticAt,a=e.cubicAt,o=[];return t("../Path")[ln]({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var r=e.x1,a=e.y1,s=e.x2,l=e.y2,c=e.cpx1,u=e.cpy1,h=e.cpx2,d=e.cpy2,f=e.percent;0!==f&&(t[y](r,a),null==h||null==d?(1>f&&(i(r,c,s,f,o),c=o[1],s=o[2],i(a,u,l,f,o),u=o[1],l=o[2]),t.quadraticCurveTo(c,u,s,l)):(1>f&&(n(r,c,h,s,f,o),c=o[1],h=o[2],s=o[3],n(a,u,d,l,f,o),u=o[1],d=o[2],l=o[3]),t[g](c,u,h,d,s,l)))},pointAt:function(t){var e=this.shape,i=e.cpx2,n=e.cpy2;return null===i||null===n?[r(e.x1,e.cpx1,e.x2,t),r(e.y1,e.cpy1,e.y2,t)]:[a(e.x1,e.cpx1,e.cpx1,e.x2,t),a(e.y1,e.cpy1,e.cpy1,e.y2,t)]}})}),e("zrender/graphic/LinearGradient",[Zn,i,"./Gradient"],function(t){var e=t(i),n=t("./Gradient"),r=function(t,e,i,r,a){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==i?1:i,this.y2=null==r?0:r,n.call(this,a)};return r[Sn]={constructor:r,type:"linear",updateCanvasGradient:function(t,e){for(var i=t[Li](),n=this.x*i.width+i.x,r=this.x2*i.width+i.x,a=this.y*i[fn]+i.y,o=this.y2*i[fn]+i.y,s=e.createLinearGradient(n,a,r,o),l=this.colorStops,c=0;c<l[on];c++)s.addColorStop(l[c].offset,l[c].color);this.canvasGradient=s}},e[Vi](r,n),r}),e("zrender/graphic/RadialGradient",[Zn,i,"./Gradient"],function(t){var e=t(i),n=t("./Gradient"),r=function(t,e,i,r){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==i?.5:i,n.call(this,r)};return r[Sn]={constructor:r,type:"radial",updateCanvasGradient:function(t,e){for(var i=t[Li](),n=i.width,r=i[fn],a=Math.min(n,r),o=this.x*n+i.x,s=this.y*r+i.y,l=this.r*a,c=e.createRadialGradient(o,s,0,o,s,l),u=this.colorStops,h=0;h<u[on];h++)c.addColorStop(u[h].offset,u[h].color);this.canvasGradient=c}},e[Vi](r,n),r}),e("echarts/coord/polar/Polar",[Zn,"./RadiusAxis","./AngleAxis"],function(t){var e=t("./RadiusAxis"),i=t("./AngleAxis"),n=function(t){this.name=t||"",this.cx=0,this.cy=0,this[fi]=[be,"angle"],this._radiusAxis=new e,this._angleAxis=new i};return n[Sn]={constructor:n,type:"polar",containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis[_i](e[0])&&this._angleAxis[_i](e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxesByScale:function(t){var e=[],i=this._angleAxis,n=this._radiusAxis;return i.scale.type===t&&e.push(i),n.scale.type===t&&e.push(n),e},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale(Ue)[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},dataToPoints:function(t){return t[we](this[fi],function(t,e){return this[di]([t,e])},this)},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){var i=this.pointToCoord(t);return[this._radiusAxis.radiusToData(i[0],e),this._angleAxis.angleToData(i[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=this.getAngleAxis(),r=n[pi](),a=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);n[$e]?a=o-360:o=a+360;var s=Math.sqrt(e*e+i*i);e/=s,i/=s;for(var l=Math.atan2(-i,e)/Math.PI*180,c=a>l?1:-1;a>l||l>o;)l+=360*c;return[s,l]},coordToPoint:function(t){var e=t[0],i=t[1]/180*Math.PI,n=Math.cos(i)*e+this.cx,r=-Math.sin(i)*e+this.cy;return[n,r]}},n}),e("echarts/coord/axisHelper",[Zn,"../scale/Ordinal","../scale/Interval","../scale/Time","../scale/Log","../scale/Scale",wi,Gn,"zrender/contain/text"],function(t){var e=t("../scale/Ordinal"),i=t("../scale/Interval");t("../scale/Time"),t("../scale/Log");var n=t("../scale/Scale"),r=t(wi),a=t(Gn),o=t("zrender/contain/text"),s={};return s.niceScaleExtent=function(t,e){var i=t.scale;if(i.type!==Ue){var n=e.get("min"),o=e.get("max"),s=e.get("boundaryGap");a[Fi](s)||(s=[s||0,s||0]),s[0]=r[Ce](s[0],1),s[1]=r[Ce](s[1],1);var l=i[pi](),c=l[1]-l[0],u=!0,h=!0;null==n&&(n=l[0]-s[0]*c,u=!1),null==o&&(o=l[1]+s[1]*c,h=!1),"dataMin"===n&&(n=l[0]),"dataMax"===o&&(o=l[1]),i[vi](n,o),i.niceExtent(e.get("splitNumber"),u,h);var d=e.get(E);null!=d&&i.setInterval&&i.setInterval(d)}},s.createScaleByModel=function(t,r){if(r=r||t.get("type"))switch(r){case je:return new e(t.getCategories(),[1/0,-1/0]);case"value":return new i;default:return(n.getClass(r)||i)[yi](t)}},s.ifAxisCrossZero=function(t){var e=t.scale[pi](),i=e[0],n=e[1],r=t.model.get("min"),a=t.model.get("max");return isNaN(r)||(i=Math.min(r,i)),isNaN(a)||(n=Math.max(a,n)),!(i>0&&n>0||0>i&&0>n)||s.ifAxisNeedsCrossZero(t)},s.ifAxisNeedsCrossZero=function(t){return!t.model.get("scale")},s.getAxisLabelInterval=function(t,e,i,n){for(var r,a=0,s=0,l=0;l<t[on];l++){var c=t[l],u=o[Li](e[l],i,Ci,"top");u[n?"x":"y"]+=c,u[n?"width":fn]*=1.5,r?r.intersect(u)?(s++,a=Math.max(a,s)):(r.union(u),s=0):r=u.clone()}return a},s[Ke]=function(t,e){var i=t.scale,n=i.getTicksLabels(),r=i[gi]();return typeof e===bn?(e=function(t){return function(e){return t[Hi]("{value}",e)}}(e),a.map(n,e)):typeof e===Gi?a.map(r,function(n,r){return e(t.type===je?i[mi](n):n,r)},this):n},s}),e("echarts/coord/polar/PolarModel",[Zn,"./AxisModel",si],function(t){t("./AxisModel"),t(si)[Ei]({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e,i=this[D];return i[mn](t,function(t){i[Je]("polar",t[S](G))===this&&(e=t)},this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}})}),e("echarts/model/Model",[Zn,Gn,"../util/clazz","./mixin/lineStyle","./mixin/areaStyle","./mixin/textStyle","./mixin/itemStyle"],function(t){function e(t,e,i){this.parentModel=e||null,this[D]=i||null,this[xn]=t,this.init.apply(this,arguments)}var i=t(Gn),n=t("../util/clazz");e[Sn]={constructor:e,init:function(){},mergeOption:function(t){i.merge(this[xn],t,!0)},get:function(t,e){if(!t)return this[xn];typeof t===bn&&(t=t.split("."));for(var i=this[xn],n=this.parentModel,r=0;r<t[on]&&(i=i&&"object"==typeof i?i[t[r]]:null,null!=i);r++);return null==i&&n&&!e&&(i=n.get(t)),i},getShallow:function(t,e){var i=this[xn],n=i&&i[t],r=this.parentModel;return null==n&&r&&!e&&(n=r[S](t)),n},getModel:function(t,i){var n=this.get(t,!0),r=this.parentModel,a=new e(n,i||r&&r[_n](t),this[D]);return a},isEmpty:function(){return null==this[xn]},restoreData:function(){},clone:function(){var t=this.constructor;return new t(i.clone(this[xn]))},setReadOnly:function(t){n.setReadOnly(this,t)}},n.enableClassExtend(e);var r=i.mixin;return r(e,t("./mixin/lineStyle")),r(e,t("./mixin/areaStyle")),r(e,t("./mixin/textStyle")),r(e,t("./mixin/itemStyle")),e}),e("echarts/model/globalDefault",[],function(){var t="";return typeof navigator!==C&&(t=navigator.platform||""),{color:["#c23531","#314656","#61a0a8","#dd8668","#91c7ae","#6e7074","#61a0a8","#bda29a","#44525d","#c4ccd3"],grid:{},textStyle:{fontFamily:t.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},animation:!0,animationThreshold:2e3,animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut"}}),e("echarts/util/model",[Zn,"./format","./number",Gn,"../model/Model"],function(t){var e=t("./format"),i=t("./number"),n=t(Gn),r=t("../model/Model"),a=["x","y","z",be,"angle"],o={};return o.createNameEach=function(t,e){t=t.slice();var i=n.map(t,o.capitalFirst);e=(e||[]).slice();var r=n.map(e,o.capitalFirst);return function(a,o){n.each(t,function(t,n){for(var s={name:t,capital:i[n]},l=0;l<e[on];l++)s[e[l]]=t+r[l];a.call(o,s)})}},o.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},o.eachAxisDim=o.createNameEach(a,["axisIndex","axis","index"]),o.normalizeToArray=function(t){return n[Fi](t)?t:null==t?[]:[t]},o.createLinkedNodesFinder=function(t,e,i){function r(t,e){return n[Zi](e.nodes,t)>=0}function a(t,r){var a=!1;return e(function(e){n.each(i(t,e)||[],function(t){r.records[e.name][t]&&(a=!0)})}),a}function o(t,r){r.nodes.push(t),e(function(e){n.each(i(t,e)||[],function(t){r.records[e.name][t]=!0})})}return function(i){function n(t){!r(t,s)&&a(t,s)&&(o(t,s),l=!0)}var s={nodes:[],records:{}};if(e(function(t){s.records[t.name]={}}),!i)return s;o(i,s);var l;do l=!1,t(n);while(l);return s}},o[ie]=function(t,e){if(t){var i=t[Te]=t[Te]||{},r=t[Ze]=t[Ze]||{};n.each(e,function(t){var e=n.retrieve(i[t],r[t]);null!=e&&(i[t]=e)})}},o.createDataFormatModel=function(t,e,i){var a=new r;return n.mixin(a,o.dataFormatMixin),a[Xi]=t[Xi],a.name=t.name||"",a[Bn]=function(){return e},a.getRawDataArray=function(){return i},a},o.getDataItemValue=function(t){return t&&(null==t.value?t:t.value)},o.converDataValue=function(t,e){var n=e&&e.type;return n===Ue?t:("time"!==n||isFinite(t)||null==t||"-"===t||(t=+i.parseDate(t)),null==t||""===t?0/0:+t)},o.dataFormatMixin={getDataParams:function(t){var e=this[Bn](),i=this[Xi],n=this.name,r=this[Le](t),a=e[X](t),o=e[ci](t,!0),s=this.getRawDataArray(),l=s&&s[a];return{seriesIndex:i,seriesName:n,name:o,dataIndex:a,data:l,value:r,$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,i,n){i=i||Ze;var r=this[Bn](),a=r[Ne](t),o=this[Ui](t);return n||(n=a.get(["label",i,_])),typeof n===Gi?(o.status=i,n(o)):typeof n===bn?e.formatTpl(n,o):void 0},getRawValue:function(t){var e=this[Bn]()[Ne](t);if(e&&null!=e[xn]){var i=e[xn];return n[un](i)&&!n[Fi](i)?i.value:i}}},o}),e(P,[Zn,"./vector","./matrix"],function(t){function e(t,e,i,n){this.x=t,this.y=e,this.width=i,this[fn]=n}var i=t("./vector"),n=t("./matrix"),r=i[R],a=Math.min,o=Math.abs,s=Math.max;return e[Sn]={constructor:e,union:function(t){var e=a(t.x,this.x),i=a(t.y,this.y);this.width=s(t.x+t.width,this.x+this.width)-e,this[fn]=s(t.y+t[fn],this.y+this[fn])-i,this.x=e,this.y=i},applyTransform:function(){var t=[],e=[];return function(i){i&&(t[0]=this.x,t[1]=this.y,e[0]=this.x+this.width,e[1]=this.y+this[fn],r(t,t,i),r(e,e,i),this.x=a(t[0],e[0]),this.y=a(t[1],e[1]),this.width=o(e[0]-t[0]),this[fn]=o(e[1]-t[1]))}}(),calculateTransform:function(t){var e=this,i=t.width/e.width,r=t[fn]/e[fn],a=n[yi]();return n.translate(a,a,[-e.x,-e.y]),n.scale(a,a,[i,r]),n.translate(a,a,[t.x,t.y]),a},intersect:function(t){var e=this,i=e.x,n=e.x+e.width,r=e.y,a=e.y+e[fn],o=t.x,s=t.x+t.width,l=t.y,c=t.y+t[fn];return!(o>n||i>s||l>a||r>c)},contain:function(t,e){var i=this;return t>=i.x&&t<=i.x+i.width&&e>=i.y&&e<=i.y+i[fn]},clone:function(){return new e(this.x,this.y,this.width,this[fn])},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this[fn]=t[fn]}},e}),e("zrender/core/PathProxy",[Zn,"./curve","./vector","./bbox","./BoundingRect"],function(t){var e=t("./curve"),i=t("./vector"),n=t("./bbox"),r=t("./BoundingRect"),s={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},l=[],c=[],u=[],h=[],d=Math.min,f=Math.max,p=Math.cos,x=Math.sin,_=Math.sqrt,w=typeof Float32Array!=C,b=function(){this.data=[],this._len=0,this._ctx=null,this._xi=0,this._yi=0,this._x0=0,this._y0=0};return b[Sn]={constructor:b,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t[a](),this._len=0,this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(s.M,t,e),this._ctx&&this._ctx[y](t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){return this.addData(s.L,t,e),this._ctx&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx[m](t,e)),this._xi=t,this._yi=e,this},bezierCurveTo:function(t,e,i,n,r,a){return this.addData(s.C,t,e,i,n,r,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,n,r,a):this._ctx[g](t,e,i,n,r,a)),this._xi=r,this._yi=a,this},quadraticCurveTo:function(t,e,i,n){return this.addData(s.Q,t,e,i,n),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,i,n):this._ctx.quadraticCurveTo(t,e,i,n)),this._xi=i,this._yi=n,this},arc:function(t,e,i,n,r,a){return this.addData(s.A,t,e,i,i,n,r-n,0,a?0:1),this._ctx&&this._ctx.arc(t,e,i,n,r,a),this._xi=p(r)*i+t,this._xi=x(r)*i+t,this},arcTo:function(t,e,i,n,r){return this._ctx&&this._ctx.arcTo(t,e,i,n,r),this},rect:function(t,e,i,n){return this._ctx&&this._ctx.rect(t,e,i,n),this.addData(s.R,t,e,i,n),this},closePath:function(){this.addData(s.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t[v]()),this._xi=e,this._yi=i,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t[F](),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;i<t[on];i++)e+=t[i];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(t){var e=t[on];this.data&&this.data[on]==e||!w||(this.data=new Float32Array(e));for(var i=0;e>i;i++)this.data[i]=t[i];this._len=e},appendPath:function(t){t instanceof Array||(t=[t]);for(var e=t[on],i=0,n=this._len,r=0;e>r;r++)i+=t[r].len();w&&this.data instanceof Float32Array&&(this.data=new Float32Array(n+i));for(var r=0;e>r;r++)for(var a=t[r].data,o=0;o<a[on];o++)this.data[n++]=a[o];this._len=n},addData:function(t){var e=this.data;this._len+arguments[on]>e[on]&&(this._expandData(),e=this.data);for(var i=0;i<arguments[on];i++)e[this._len++]=arguments[i];this._prevCmd=t},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var i,n,r=this._dashSum,a=this._dashOffset,o=this._lineDash,s=this._ctx,l=this._xi,c=this._yi,u=t-l,h=e-c,p=_(u*u+h*h),v=l,g=c,x=o[on];for(u/=p,h/=p,0>a&&(a=r+a),a%=r,v-=a*u,g-=a*h;u>=0&&t>=v||0>u&&v>t;)n=this._dashIdx,i=o[n],v+=u*i,g+=h*i,this._dashIdx=(n+1)%x,u>0&&l>v||0>u&&v>l||s[n%2?y:m](u>=0?d(v,t):f(v,t),h>=0?d(g,e):f(g,e));u=v-t,h=g-e,this._dashOffset=-_(u*u+h*h)},_dashedBezierTo:function(t,i,n,r,a,o){var s,l,c,u,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,v=this._ctx,g=this._xi,x=this._yi,w=e.cubicAt,b=0,M=this._dashIdx,S=p[on],C=0;for(0>f&&(f=d+f),f%=d,s=0;1>s;s+=.1)l=w(g,t,n,a,s+.1)-w(g,t,n,a,s),c=w(x,i,r,o,s+.1)-w(x,i,r,o,s),b+=_(l*l+c*c);for(;S>M&&(C+=p[M],!(C>f));M++);for(s=(C-f)/b;1>=s;)u=w(g,t,n,a,s),h=w(x,i,r,o,s),M%2?v[y](u,h):v[m](u,h),s+=p[M]/b,M=(M+1)%S;M%2!==0&&v[m](a,o),l=a-u,c=o-h,this._dashOffset=-_(l*l+c*c)},_dashedQuadraticTo:function(t,e,i,n){var r=i,a=n;i=(i+2*t)/3,n=(n+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,i,n,r,a)},toStatic:function(){this.data[on]=this._len,w&&this.data instanceof Array&&(this.data=new Float32Array(this.data))},getBoundingRect:function(){l[0]=l[1]=u[0]=u[1]=Number.MAX_VALUE,c[0]=c[1]=h[0]=h[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,a=0,o=0,d=0,f=0;f<t[on];){var v=t[f++];switch(1==f&&(e=t[f],a=t[f+1],o=e,d=a),v){case s.M:o=t[f++],d=t[f++],e=o,a=d,u[0]=o,u[1]=d,h[0]=o,h[1]=d;break;case s.L:n.fromLine(e,a,t[f],t[f+1],u,h),e=t[f++],a=t[f++];break;case s.C:n.fromCubic(e,a,t[f++],t[f++],t[f++],t[f++],t[f],t[f+1],u,h),e=t[f++],a=t[f++];break;case s.Q:n.fromQuadratic(e,a,t[f++],t[f++],t[f],t[f+1],u,h),e=t[f++],a=t[f++];break;case s.A:var m=t[f++],g=t[f++],y=t[f++],_=t[f++],w=t[f++],b=t[f++]+w,M=(t[f++],1-t[f++]);1==f&&(o=p(w)*y+m,d=x(w)*_+g),n.fromArc(m,g,y,_,w,b,M,u,h),e=p(b)*y+m,a=x(b)*_+g;break;case s.R:o=e=t[f++],d=a=t[f++];var S=t[f++],C=t[f++];n.fromLine(o,d,o+S,d+C,u,h);break;case s.Z:e=o,a=d}i.min(l,l,u),i.max(c,c,h)}return 0===f&&(l[0]=l[1]=c[0]=c[1]=0),new r(l[0],l[1],c[0]-l[0],c[1]-l[1])},rebuildPath:function(t){for(var e=this.data,i=0;i<this._len;){var n=e[i++];switch(n){case s.M:t[y](e[i++],e[i++]);break;case s.L:t[m](e[i++],e[i++]);break;case s.C:t[g](e[i++],e[i++],e[i++],e[i++],e[i++],e[i++]);break;case s.Q:t.quadraticCurveTo(e[i++],e[i++],e[i++],e[i++]);break;case s.A:var r=e[i++],a=e[i++],l=e[i++],c=e[i++],u=e[i++],h=e[i++],d=e[i++],f=e[i++],p=l>c?l:c,x=l>c?1:l/c,_=l>c?c/l:1,w=Math.abs(l-c)>.001;w?(t.translate(r,a),t[o](d),t.scale(x,_),t.arc(0,0,p,u,u+h,1-f),t.scale(1/x,1/_),t[o](-d),t.translate(-r,-a)):t.arc(r,a,p,u,u+h,1-f);break;case s.R:t.rect(e[i++],e[i++],e[i++],e[i++]);break;case s.Z:t[v]()}}}},b.CMD=s,b}),e("zrender/contain/text",[Zn,i,"../core/BoundingRect"],function(t){function e(t,e){var i=t+":"+e;if(l[i])return l[i];for(var n=(t+"").split("\n"),r=0,a=0,o=n[on];o>a;a++)r=Math.max(f.measureText(n[a],e).width,r);return c>u&&(c=0,l={}),c++,l[i]=r,r}function n(t,i,n,r){var a=((t||"")+"").split("\n")[on],o=e(t,i),s=e("国",i),l=a*s,c=new d(0,0,o,l);switch(c.lineHeight=s,r){case pn:case"alphabetic":c.y-=s;break;case x:c.y-=s/2}switch(n){case"end":case"right":c.x-=c.width;break;case Ci:c.x-=c.width/2}return c}function r(t,e,i,n){var r=e.x,a=e.y,o=e[fn],s=e.width,l=i[fn],c=o/2-l/2,u="left";switch(t){case"left":r-=n,a+=c,u="right";break;case"right":r+=n+s,a+=c,u="left";break;case"top":r+=s/2,a-=n+l,u=Ci;break;case pn:r+=s/2,a+=o+n,u=Ci;break;case te:r+=s/2,a+=c,u=Ci;break;case"insideLeft":r+=n,a+=c,u="left";break;case"insideRight":r+=s-n,a+=c,u="right";break;case"insideTop":r+=s/2,a+=n,u=Ci;break;case"insideBottom":r+=s/2,a+=o-l-n,u=Ci;break;case"insideTopLeft":r+=n,a+=n,u="left";break;case"insideTopRight":r+=s-n,a+=n,u="right";break;case"insideBottomLeft":r+=n,a+=o-l-n;break;case"insideBottomRight":r+=s-n,a+=o-l-n,u="right"}return{x:r,y:a,textAlign:u,textBaseline:"top"}}function a(t,i,n,r){if(!n)return"";r=h[Dn]({ellipsis:"...",minCharacters:3,maxIterations:3,cnCharWidth:e("国",i),ascCharWidth:e("a",i)},r,!0),n-=e(r.ellipsis);for(var a=(t+"").split("\n"),s=0,l=a[on];l>s;s++)a[s]=o(a[s],i,n,r);return a.join("\n")}function o(t,i,n,r){for(var a=0;;a++){var o=e(t,i);if(n>o||a>=r.maxIterations){t+=r.ellipsis;break}var l=0===a?s(t,n,r):Math.floor(t[on]*n/o);if(l<r.minCharacters){t="";break}t=t.substr(0,l)}return t}function s(t,e,i){for(var n=0,r=0,a=t[on];a>r&&e>n;r++){var o=t.charCodeAt(r);n+=o>=0&&127>=o?i.ascCharWidth:i.cnCharWidth}return r}var l={},c=0,u=5e3,h=t(i),d=t("../core/BoundingRect"),f={getWidth:e,getBoundingRect:n,adjustTextPositionOnRect:r,ellipsis:a,measureText:function(t,e){var i=h[ei]();return i.font=e,i.measureText(t)}};return f}),e("zrender/graphic/mixin/RectText",[Zn,"../../contain/text","../../core/BoundingRect"],function(t){function e(t,e){return typeof t===bn?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function i(t,e){t[An](e[0],e[1],e[2],e[3],e[4],e[5])}var n=t("../../contain/text"),r=t("../../core/BoundingRect"),a=new r,o=function(){};return o[Sn]={constructor:o,drawRectText:function(t,r,o){var s=this.style,l=s.text;if(null!=l&&(l+=""),l){var c,u,h=s.textPosition,d=s.textDistance,f=s[zi],p=s.textFont||s.font,v=s[K];o=o||n[Li](l,p,f,v);var m=this[An],g=this.invTransform;if(m&&(a.copy(r),a[R](m),r=a,i(t,g)),h instanceof Array)c=r.x+e(h[0],r.width),u=r.y+e(h[1],r[fn]),f=f||"left",v=v||"top";else{var y=n.adjustTextPositionOnRect(h,r,o,d);c=y.x,u=y.y,f=f||y[zi],v=v||y[K]}t[zi]=f,t[K]=v;var x=s.textFill,_=s.textStroke;x&&(t.fillStyle=x),_&&(t.strokeStyle=_),t.font=p,t.shadowColor=s.textShadowColor,t.shadowBlur=s.textShadowBlur,t.shadowOffsetX=s.textShadowOffsetX,t.shadowOffsetY=s.textShadowOffsetY;for(var w=l.split("\n"),b=0;b<w[on];b++)x&&t.fillText(w[b],c,u),_&&t.strokeText(w[b],c,u),u+=o.lineHeight;m&&i(t,m)}}},o}),e("zrender/graphic/Displayable",[Zn,i,"./Style","../Element","./mixin/RectText"],function(t){function e(t){t=t||{},o.call(this,t);for(var e in t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new a(t.style),this._rect=null,this.__clipPaths=[]}var r=t(i),a=t("./Style"),o=t("../Element"),s=t("./mixin/RectText");return e[Sn]={constructor:e,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(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this[Li]();return n[_i](i[0],i[1])},dirty:function(){this[n]=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?o[Sn].attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(),this
  }},r[Vi](e,o),r.mixin(e,s),e}),e("zrender/vml/core",[Zn,"../core/env"],function(t){function e(){if(!o){o=!0;var t=a.styleSheets;t[on]<31?a.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}if(!t("../core/env").canvasSupported){var i,n="urn:schemas-microsoft-com:vml",r=window,a=r.document,o=!1;try{!a.namespaces.zrvml&&a.namespaces.add("zrvml",n),i=function(t){return a[ii]("<zrvml:"+t+' class="zrvml">')}}catch(s){i=function(t){return a[ii]("<"+t+' xmlns="'+n+'" class="zrvml">')}}return{doc:a,initVML:e,createNode:i}}}),e("echarts/util/component",[Zn,Gn,"./clazz"],function(t){var e=t(Gn),i=t("./clazz"),n=i.parseClassType,r=0,a={},o="_";return a.getUID=function(t){return[t||"",r++,Math.random()].join(o)},a.enableSubTypeDefaulter=function(t){var e={};return t.registerSubTypeDefaulter=function(t,i){t=n(t),e[t.main]=i},t.determineSubType=function(i,r){var a=r.type;if(!a){var o=n(i).main;t.hasSubTypes(i)&&e[o]&&(a=e[o](r))}return a},t},a.enableTopologicalTravel=function(t,i){function n(t){var n={},o=[];return e.each(t,function(s){var l=r(n,s),c=l.originalDeps=i(s),u=a(c,t);l.entryCount=u[on],0===l.entryCount&&o.push(s),e.each(u,function(t){e[Zi](l.predecessor,t)<0&&l.predecessor.push(t);var i=r(n,t);e[Zi](i.successor,t)<0&&i.successor.push(s)})}),{graph:n,noEntryList:o}}function r(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function a(t,i){var n=[];return e.each(t,function(t){e[Zi](i,t)>=0&&n.push(t)}),n}t.topologicalTravel=function(t,i,r,a){function o(t){c[t].entryCount--,0===c[t].entryCount&&u.push(t)}function s(t){h[t]=!0,o(t)}if(t[on]){var l=n(i),c=l.graph,u=l.noEntryList,h={};for(e.each(t,function(t){h[t]=!0});u[on];){var d=u.pop(),f=c[d],p=!!h[d];p&&(r.call(a,d,f.originalDeps.slice()),delete h[d]),e.each(f.successor,p?s:o)}e.each(h,function(){throw new Error("Circle dependency may exists")})}}},a}),e("echarts/util/clazz",[Zn,Gn],function(t){function e(t,e){for(var i,n=t.constructor,r=t[e];(n=n.$superClass)&&(i=n[Sn][e])&&i===r;);return i}var i=t(Gn),n={},r=".",a="___EC__COMPONENT__CONTAINER___",o=n.parseClassType=function(t){var e={main:"",sub:""};return t&&(t=t.split(r),e.main=t[0]||"",e.sub=t[1]||""),e};return n.enableClassExtend=function(t,n){t[ln]=function(r){var a=function(){n&&n.apply(this,arguments),t.apply(this,arguments)};return i[ln](a[Sn],i[ln]({$superCall:function(t){var n=i.slice(arguments,1);return e(this,t).apply(this,n)},$superApply:function(t,i){return e(this,t).apply(this,i)}},r)),a[ln]=this[ln],i[Vi](a,this),a.$superClass=this,a}},n.enableClassManagement=function(t,e){function n(t){var e=r[t.main];return e&&e[a]||(e=r[t.main]={},e[a]=!0),e}e=e||{};var r={};if(t.registerClass=function(t,e){if(e)if(e=o(e),e.sub){if(e.sub!==a){var i=n(e);i[e.sub]=t}}else{if(r[e.main])throw new Error(e.main+"exists");r[e.main]=t}return t},t.getClass=function(t,e,i){var n=r[t];if(n&&n[a]&&(n=e?n[e]:null),i&&!n)throw new Error("Component "+t+"."+(e||"")+" not exists");return n},t.getClassesByMainType=function(t){t=o(t);var e=[],n=r[t.main];return n&&n[a]?i.each(n,function(t,i){i!==a&&e.push(t)}):e.push(n),e},t.hasClass=function(t){return t=o(t),!!r[t.main]},t.getAllClassMainTypes=function(){var t=[];return i.each(r,function(e,i){t.push(i)}),t},t.hasSubTypes=function(t){t=o(t);var e=r[t.main];return e&&e[a]},t.parseClassType=o,e.registerWhenExtend){var s=t[ln];s&&(t[ln]=function(e){var i=s.call(this,e);return t.registerClass(i,e.type)})}return t},n.setReadOnly=function(){},n}),e("echarts/coord/cartesian/GridModel",[Zn,"./AxisModel",ni],function(t){t("./AxisModel");var e=t(ni);return e[ln]({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}})}),e("echarts/coord/cartesian/Cartesian2D",[Zn,Gn,"./Cartesian"],function(t){function e(t){n.call(this,t),this[fi]=["x","y"]}var i=t(Gn),n=t("./Cartesian");return e[Sn]={constructor:e,type:"cartesian2d",getBaseAxis:function(){return this.getAxesByScale(Ue)[0]||this.getAxesByScale("time")[0]||this[Ye]("x")},containPoint:function(t){var e=this[Ye]("x"),i=this[Ye]("y");return e[_i](e.toLocalCoord(t[0]))&&i[_i](i.toLocalCoord(t[1]))},containData:function(t){return this[Ye]("x").containData(t[0])&&this[Ye]("y").containData(t[1])},dataToPoints:function(t,e){return t[we](["x","y"],function(t,e){return this[di]([t,e])},e,this)},dataToPoint:function(t,e){var i=this[Ye]("x"),n=this[Ye]("y");return[i.toGlobalCoord(i[Me](t[0],e)),n.toGlobalCoord(n[Me](t[1],e))]},pointToData:function(t,e){var i=this[Ye]("x"),n=this[Ye]("y");return[i.coordToData(i.toLocalCoord(t[0]),e),n.coordToData(n.toLocalCoord(t[1]),e)]},getOtherAxis:function(t){return this[Ye]("x"===t.dim?"y":"x")}},i[Vi](e,n),e}),e("echarts/coord/cartesian/Axis2D",[Zn,Gn,"../Axis","./axisLabelInterval"],function(t){var e=t(Gn),i=t("../Axis"),n=t("./axisLabelInterval"),r=function(t,e,n,r,a){i.call(this,t,e,n),this.type=r||"value",this[Si]=a||pn};return r[Sn]={constructor:r,index:0,onZero:!1,model:null,isHorizontal:function(){var t=this[Si];return"top"===t||t===pn},getGlobalExtent:function(){var t=this[pi]();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),t},getLabelInterval:function(){var t=this._labelInterval;return t||(t=this._labelInterval=n(this)),t},isLabelIgnored:function(t){if(this.type===je){var e=this.getLabelInterval();return typeof e===Gi&&!e(t,this.scale[mi](t))||t%(e+1)}},toLocalCoord:null,toGlobalCoord:null},e[Vi](r,i),r}),e("echarts/coord/polar/RadiusAxis",[Zn,Gn,"../Axis"],function(t){function e(t,e){n.call(this,be,t,e),this.type=je}var i=t(Gn),n=t("../Axis");return e[Sn]={constructor:e,dataToRadius:n[Sn][Me],radiusToData:n[Sn].coordToData},i[Vi](e,n),e}),e("echarts/coord/polar/AngleAxis",[Zn,Gn,"../Axis"],function(t){function e(t,e){e=e||[0,360],n.call(this,"angle",t,e),this.type=je}var i=t(Gn),n=t("../Axis");return e[Sn]={constructor:e,dataToAngle:n[Sn][Me],angleToData:n[Sn].coordToData},i[Vi](e,n),e}),e("echarts/model/mixin/lineStyle",[Zn,"./makeStyleMapper"],function(t){var e=t("./makeStyleMapper")([[p,"width"],[F,"color"],[bi],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);return{getLineStyle:function(t){var i=e.call(this,t),n=this.getLineDash();return n&&(i.lineDash=n),i},getLineDash:function(){var t=this.get("type");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}}}),e("echarts/model/mixin/areaStyle",[Zn,"./makeStyleMapper"],function(t){return{getAreaStyle:t("./makeStyleMapper")([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],[bi],["shadowColor"]])}}),e("echarts/model/mixin/itemStyle",[Zn,"./makeStyleMapper"],function(t){return{getItemStyle:t("./makeStyleMapper")([["fill","color"],[F,H],[p,"borderWidth"],[bi],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]])}}),e("echarts/data/DataDiffer",[Zn],function(){function t(t){return t}function e(e,i,n,r){this._old=e,this._new=i,this._oldKeyGetter=n||t,this._newKeyGetter=r||t}function i(t,e,i){for(var n=0;n<t[on];n++){var r=i(t[n]),a=e[r];null==a?e[r]=n:(a[on]||(e[r]=a=[a]),a.push(n))}}return e[Sn]={constructor:e,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t,e=this._old,n=this._new,r=this._oldKeyGetter,a=this._newKeyGetter,o={},s={};for(i(e,o,r),i(n,s,a),t=0;t<e[on];t++){var l=r(e[t]),c=s[l];if(null!=c){var u=c[on];u?(1===u&&(s[l]=null),c=c.unshift()):s[l]=null,this._update&&this._update(c,t)}else this._remove&&this._remove(t)}for(var l in s)if(s.hasOwnProperty(l)){var c=s[l];if(null==c)continue;if(c[on])for(var t=0,u=c[on];u>t;t++)this._add&&this._add(c[t]);else this._add&&this._add(c)}}},e}),e("zrender/tool/transformPath",[Zn,"../core/PathProxy","../core/vector"],function(t){function e(t,e){var n,l,c,u,h,d=t.data,f=i.M,p=i.C,v=i.L,m=i.R,g=i.A,y=i.Q;for(c=0,u=0;c<d[on];){switch(n=d[c++],u=c,l=0,n){case f:l=1;break;case v:l=1;break;case p:l=3;break;case y:l=2;break;case g:{var x=e[4],_=e[5],w=o(e[0]*e[0]+e[1]*e[1]),b=o(e[2]*e[2]+e[3]*e[3]),M=s(-e[1]/b,e[0]/w);d[c+7]}d[c++]+=x,d[c++]+=_,d[c++]*=w,d[c++]*=b,d[c++]+=M,d[c++]+=M,c+=2,u=c;break;case m:S[0]=d[c++],S[1]=d[c++],r(S,S,e),d[u++]=S[0],d[u++]=S[1],S[0]+=d[c++],S[1]+=d[c++],r(S,S,e),d[u++]=S[0],d[u++]=S[1]}for(h=0;l>h;h++){var S=a[h];S[0]=d[c++],S[1]=d[c++],r(S,S,e),d[u++]=S[0],d[u++]=S[1]}}}var i=t("../core/PathProxy").CMD,n=t("../core/vector"),r=n[R],a=[[],[],[]],o=Math.sqrt,s=Math.atan2;return e}),e("zrender/contain/path",[Zn,"../core/PathProxy","./line","./cubic","./quadratic","./arc","./util","../core/curve","./windingLine"],function(t){function e(t,e){return Math.abs(t-e)<g}function i(){var t=x[0];x[0]=x[1],x[1]=t}function n(t,e,n,r,a,o,s,l,c,u){if(u>e&&u>r&&u>o&&u>l||e>u&&r>u&&o>u&&l>u)return 0;var h=f.cubicRootAt(e,r,o,l,u,y);if(0===h)return 0;for(var d,p,v=0,m=-1,g=0;h>g;g++){var _=y[g],w=f.cubicAt(t,n,a,s,_);c>w||(0>m&&(m=f.cubicExtrema(e,r,o,l,x),x[1]<x[0]&&m>1&&i(),d=f.cubicAt(e,r,o,l,x[0]),m>1&&(p=f.cubicAt(e,r,o,l,x[1]))),v+=2==m?_<x[0]?e>d?1:-1:_<x[1]?d>p?1:-1:p>l?1:-1:_<x[0]?e>d?1:-1:d>l?1:-1)}return v}function r(t,e,i,n,r,a,o,s){if(s>e&&s>n&&s>a||e>s&&n>s&&a>s)return 0;var l=f.quadraticRootAt(e,n,a,s,y);if(0===l)return 0;var c=f.quadraticExtremum(e,n,a);if(c>=0&&1>=c){for(var u=0,h=f.quadraticAt(e,n,a,c),d=0;l>d;d++){var p=f.quadraticAt(t,i,r,y[d]);p>o||(u+=y[d]<c?e>h?1:-1:h>a?1:-1)}return u}var p=f.quadraticAt(t,i,r,y[0]);return p>o?0:e>a?1:-1}function a(t,e,i,n,r,a,o,s){if(s-=e,s>i||-i>s)return 0;var l=Math.sqrt(i*i-s*s);y[0]=-l,y[1]=l;var c=Math.abs(n-r);if(1e-4>c)return 0;if(1e-4>c%m){n=0,r=m;var u=a?1:-1;return o>=y[0]+t&&o<=y[1]+t?u:0}if(a){var l=n;n=d(r),r=d(l)}else n=d(n),r=d(r);n>r&&(r+=m);for(var h=0,f=0;2>f;f++){var p=y[f];if(p+t>o){var v=Math.atan2(s,p),u=a?1:-1;0>v&&(v=m+v),(v>=n&&r>=v||v+m>=n&&r>=v+m)&&(v>Math.PI/2&&v<1.5*Math.PI&&(u=-u),h+=u)}}return h}function o(t,i,o,l,d){for(var f=0,m=0,g=0,y=0,x=0,_=0;_<t[on];){var w=t[_++];if(w===s.M&&_>1&&(o||(f+=p(m,g,y,x,l,d)),0!==f))return!0;switch(1==_&&(m=t[_],g=t[_+1],y=m,x=g),w){case s.M:y=t[_++],x=t[_++],m=y,g=x;break;case s.L:if(o){if(v(m,g,t[_],t[_+1],i,l,d))return!0}else f+=p(m,g,t[_],t[_+1],l,d)||0;m=t[_++],g=t[_++];break;case s.C:if(o){if(c.containStroke(m,g,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],i,l,d))return!0}else f+=n(m,g,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],l,d)||0;m=t[_++],g=t[_++];break;case s.Q:if(o){if(u.containStroke(m,g,t[_++],t[_++],t[_],t[_+1],i,l,d))return!0}else f+=r(m,g,t[_++],t[_++],t[_],t[_+1],l,d)||0;m=t[_++],g=t[_++];break;case s.A:var b=t[_++],M=t[_++],S=t[_++],C=t[_++],A=t[_++],T=t[_++],L=(t[_++],1-t[_++]),k=Math.cos(A)*S+b,D=Math.sin(A)*C+M;_>1?f+=p(m,g,k,D,l,d):(y=k,x=D);var z=(l-b)*C/S+b;if(o){if(h.containStroke(b,M,C,A,A+T,L,i,z,d))return!0}else f+=a(b,M,C,A,A+T,L,z,d);m=Math.cos(A+T)*S+b,g=Math.sin(A+T)*C+M;break;case s.R:y=m=t[_++],x=g=t[_++];var P=t[_++],I=t[_++],k=y+P,D=x+I;if(o){if(v(y,x,k,x,i,l,d)||v(k,x,k,D,i,l,d)||v(k,D,y,D,i,l,d)||v(y,D,k,D,i,l,d))return!0}else f+=p(k,x,k,D,l,d),f+=p(y,D,y,x,l,d);break;case s.Z:if(o){if(v(m,g,y,x,i,l,d))return!0}else if(f+=p(m,g,y,x,l,d),0!==f)return!0;m=y,g=x}}return o||e(g,x)||(f+=p(m,g,y,x,l,d)||0),0!==f}var s=t("../core/PathProxy").CMD,l=t("./line"),c=t("./cubic"),u=t("./quadratic"),h=t("./arc"),d=t("./util").normalizeRadian,f=t("../core/curve"),p=t("./windingLine"),v=l.containStroke,m=2*Math.PI,g=1e-4,y=[-1,-1,-1],x=[-1,-1];return{contain:function(t,e,i){return o(t,0,!1,e,i)},containStroke:function(t,e,i,n){return o(t,e,!0,i,n)}}}),e("echarts/model/mixin/textStyle",[Zn,"zrender/contain/text"],function(t){function e(t,e){return t&&t[S](e)}var i=t("zrender/contain/text");return{getTextColor:function(){var t=this[D];return this[S]("color")||t&&t.get("textStyle.color")},getFont:function(){var t=this[D],i=t&&t[_n](Pi);return[this[S]("fontStyle")||e(i,"fontStyle"),this[S]("fontWeight")||e(i,"fontWeight"),(this[S]("fontSize")||e(i,"fontSize")||12)+"px",this[S]("fontFamily")||e(i,"fontFamily")||"sans-serif"].join(" ")},getTextRect:function(t){var e=this.get(Pi)||{};return i[Li](t,this[Di](),e.align,e.baseline)},ellipsis:function(t,e,n){return i.ellipsis(t,this[Di](),e,n)}}}),e("echarts/scale/Ordinal",[Zn,Gn,"./Scale"],function(t){var e=t(Gn),i=t("./Scale"),n=i[Sn],r=i[ln]({type:"ordinal",init:function(t,e){this._data=t,this._extent=e||[0,t[on]-1]},contain:function(t){return n[_i].call(this,t)&&null!=this._data[t]},normalize:function(t){return typeof t===bn&&(t=e[Zi](this._data,t)),n[xi].call(this,t)},scale:function(t){return Math.round(n.scale.call(this,t))},getTicks:function(){for(var t=[],e=this._extent,i=e[0];i<=e[1];)t.push(i),i++;return t},getLabel:function(t){return this._data[t]},count:function(){return this._extent[1]-this._extent[0]+1},niceTicks:e.noop,niceExtent:e.noop});return r[yi]=function(){return new r},r}),e("zrender/core/curve",[Zn,"./vector"],function(t){function e(t){return t>-_&&_>t}function i(t){return t>_||-_>t}function n(t,e,i,n,r){var a=1-r;return a*a*(a*t+3*r*e)+r*r*(r*n+3*a*i)}function r(t,e,i,n,r){var a=1-r;return 3*(((e-t)*a+2*(i-e)*r)*a+(n-i)*r*r)}function a(t,i,n,r,a,o){var s=r+3*(i-n)-t,l=3*(n-2*i+t),c=3*(i-t),u=t-a,h=l*l-3*s*c,d=l*c-9*s*u,f=c*c-3*l*u,p=0;if(e(h)&&e(d))if(e(l))o[0]=0;else{var v=-c/l;v>=0&&1>=v&&(o[p++]=v)}else{var m=d*d-4*h*f;if(e(m)){var g=d/h,v=-l/s+g,_=-g/2;v>=0&&1>=v&&(o[p++]=v),_>=0&&1>=_&&(o[p++]=_)}else if(m>0){var M=x(m),S=h*l+1.5*s*(-d+M),C=h*l+1.5*s*(-d-M);S=0>S?-y(-S,b):y(S,b),C=0>C?-y(-C,b):y(C,b);var v=(-l-(S+C))/(3*s);v>=0&&1>=v&&(o[p++]=v)}else{var A=(2*h*l-3*s*d)/(2*x(h*h*h)),T=Math.acos(A)/3,L=x(h),k=Math.cos(T),v=(-l-2*L*k)/(3*s),_=(-l+L*(k+w*Math.sin(T)))/(3*s),D=(-l+L*(k-w*Math.sin(T)))/(3*s);v>=0&&1>=v&&(o[p++]=v),_>=0&&1>=_&&(o[p++]=_),D>=0&&1>=D&&(o[p++]=D)}}return p}function o(t,n,r,a,o){var s=6*r-12*n+6*t,l=9*n+3*a-3*t-9*r,c=3*n-3*t,u=0;if(e(l)){if(i(s)){var h=-c/s;h>=0&&1>=h&&(o[u++]=h)}}else{var d=s*s-4*l*c;if(e(d))o[0]=-s/(2*l);else if(d>0){var f=x(d),h=(-s+f)/(2*l),p=(-s-f)/(2*l);h>=0&&1>=h&&(o[u++]=h),p>=0&&1>=p&&(o[u++]=p)}}return u}function s(t,e,i,n,r,a){var o=(e-t)*r+t,s=(i-e)*r+e,l=(n-i)*r+i,c=(s-o)*r+o,u=(l-s)*r+s,h=(u-c)*r+c;a[0]=t,a[1]=o,a[2]=c,a[3]=h,a[4]=h,a[5]=u,a[6]=l,a[7]=n}function l(t,e,i,r,a,o,s,l,c,u,h){var d,f,p,v,m,y=.005,w=1/0;M[0]=c,M[1]=u;for(var b=0;1>b;b+=.05)S[0]=n(t,i,a,s,b),S[1]=n(e,r,o,l,b),v=g(M,S),w>v&&(d=b,w=v);w=1/0;for(var A=0;32>A&&!(_>y);A++)f=d-y,p=d+y,S[0]=n(t,i,a,s,f),S[1]=n(e,r,o,l,f),v=g(S,M),f>=0&&w>v?(d=f,w=v):(C[0]=n(t,i,a,s,p),C[1]=n(e,r,o,l,p),m=g(C,M),1>=p&&w>m?(d=p,w=m):y*=.5);return h&&(h[0]=n(t,i,a,s,d),h[1]=n(e,r,o,l,d)),x(w)}function c(t,e,i,n){var r=1-n;return r*(r*t+2*n*e)+n*n*i}function u(t,e,i,n){return 2*((1-n)*(e-t)+n*(i-e))}function h(t,n,r,a,o){var s=t-2*n+r,l=2*(n-t),c=t-a,u=0;if(e(s)){if(i(l)){var h=-c/l;h>=0&&1>=h&&(o[u++]=h)}}else{var d=l*l-4*s*c;if(e(d)){var h=-l/(2*s);h>=0&&1>=h&&(o[u++]=h)}else if(d>0){var f=x(d),h=(-l+f)/(2*s),p=(-l-f)/(2*s);h>=0&&1>=h&&(o[u++]=h),p>=0&&1>=p&&(o[u++]=p)}}return u}function d(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}function f(t,e,i,n,r){var a=(e-t)*n+t,o=(i-e)*n+e,s=(o-a)*n+a;r[0]=t,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=i}function p(t,e,i,n,r,a,o,s,l){var u,h=.005,d=1/0;M[0]=o,M[1]=s;for(var f=0;1>f;f+=.05){S[0]=c(t,i,r,f),S[1]=c(e,n,a,f);var p=g(M,S);d>p&&(u=f,d=p)}d=1/0;for(var v=0;32>v&&!(_>h);v++){var m=u-h,y=u+h;S[0]=c(t,i,r,m),S[1]=c(e,n,a,m);var p=g(S,M);if(m>=0&&d>p)u=m,d=p;else{C[0]=c(t,i,r,y),C[1]=c(e,n,a,y);var w=g(C,M);1>=y&&d>w?(u=y,d=w):h*=.5}}return l&&(l[0]=c(t,i,r,u),l[1]=c(e,n,a,u)),x(d)}var v=t("./vector"),m=v[yi],g=v.distSquare,y=Math.pow,x=Math.sqrt,_=1e-4,w=x(3),b=1/3,M=m(),S=m(),C=m();return{cubicAt:n,cubicDerivativeAt:r,cubicRootAt:a,cubicExtrema:o,cubicSubdivide:s,cubicProjectPoint:l,quadraticAt:c,quadraticDerivativeAt:u,quadraticRootAt:h,quadraticExtremum:d,quadraticSubdivide:f,quadraticProjectPoint:p}}),e("zrender/core/bbox",[Zn,"./vector","./curve"],function(t){var e=t("./vector"),i=t("./curve"),n={},r=Math.min,a=Math.max,o=Math.sin,s=Math.cos,l=e[yi](),c=e[yi](),u=e[yi](),h=2*Math.PI;return n.fromPoints=function(t,e,i){if(0!==t[on]){var n,o=t[0],s=o[0],l=o[0],c=o[1],u=o[1];for(n=1;n<t[on];n++)o=t[n],s=r(s,o[0]),l=a(l,o[0]),c=r(c,o[1]),u=a(u,o[1]);e[0]=s,e[1]=c,i[0]=l,i[1]=u}},n.fromLine=function(t,e,i,n,o,s){o[0]=r(t,i),o[1]=r(e,n),s[0]=a(t,i),s[1]=a(e,n)},n.fromCubic=function(t,e,n,o,s,l,c,u,h,d){var f,p,v,m,g,y=[],x=[],_=i.cubicExtrema,w=i.cubicAt,b=_(t,n,s,c,y);for(g=0;b>g;g++)y[g]=w(t,n,s,c,y[g]);for(b=_(e,o,l,u,x),g=0;b>g;g++)x[g]=w(e,o,l,u,x[g]);y.push(t,c),x.push(e,u),f=r.apply(null,y),p=a.apply(null,y),v=r.apply(null,x),m=a.apply(null,x),h[0]=f,h[1]=v,d[0]=p,d[1]=m},n.fromQuadratic=function(t,e,n,o,s,l,c,u){var h=i.quadraticExtremum,d=i.quadraticAt,f=a(r(h(t,n,s),1),0),p=a(r(h(e,o,l),1),0),v=d(t,n,s,f),m=d(e,o,l,p);c[0]=r(t,s,v),c[1]=r(e,l,m),u[0]=a(t,s,v),u[1]=a(e,l,m)},n.fromArc=function(t,i,n,r,a,d,f,p,v){var m=e.min,g=e.max,y=Math.abs(a-d);if(1e-4>y%h&&y>1e-4)return p[0]=t-n,p[1]=i-r,v[0]=t+n,void(v[1]=i+r);if(l[0]=s(a)*n+t,l[1]=o(a)*r+i,c[0]=s(d)*n+t,c[1]=o(d)*r+i,m(p,l,c),g(v,l,c),a%=h,0>a&&(a+=h),d%=h,0>d&&(d+=h),a>d&&!f?d+=h:d>a&&f&&(a+=h),f){var x=d;d=a,a=x}for(var _=0;d>_;_+=Math.PI/2)_>a&&(u[0]=s(_)*n+t,u[1]=o(_)*r+i,m(p,u,p),g(v,u,v))},n}),e("zrender/graphic/Style",[Zn],function(){var t=["lineCap","lineJoin","miterLimit","shadowBlur","shadowOffsetX","shadowOffsetY","shadowColor"],e=function(t){this.extendFrom(t)};e[Sn]={constructor:e,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,textDistance:5,textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,bind:function(e,i){for(var n=this.fill,r=this[F],a=0;a<t[on];a++){var o=t[a];null!=this[o]&&(e[o]=this[o])}if(null!=r){var s=this[p];e[p]=s/(this.strokeNoScale&&i&&i.getLineScale?i.getLineScale():1)}null!=n&&(e.fillStyle=n.canvasGradient?n.canvasGradient:n),null!=r&&(e.strokeStyle=r.canvasGradient?r.canvasGradient:r),null!=this[bi]&&(e.globalAlpha=this[bi])},extendFrom:function(t,e){if(t){var i=this;for(var n in t)!t.hasOwnProperty(n)||!e&&i.hasOwnProperty(n)||(i[n]=t[n])}},set:function(t,e){typeof t===bn?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t}};var i,n,r=e[Sn];for(n=0;n<t[on];n++)i=t[n],i in r||(r[i]=null);return e}),e("zrender/Element",[Zn,"./core/guid","./mixin/Eventful","./mixin/Transformable","./mixin/Animatable","./core/util"],function(t){var e=t("./core/guid"),i=t("./mixin/Eventful"),n=t("./mixin/Transformable"),r=t("./mixin/Animatable"),a=t("./core/util"),o=function(t){n.call(this,t),i.call(this,t),r.call(this,t),this.id=t.id||e()};return o[Sn]={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,drift:function(t,e){switch(this[b]){case Z:e=0;break;case l:t=0}var i=this[An];i||(i=this[An]=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.dirty()},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(){},attrKV:function(t,e){if(t===Si||"scale"===t||"origin"===t){if(e){var i=this[t];i||(i=this[t]=[]),i[0]=e[0],i[1]=e[1]}}else this[t]=e},hide:function(){this[vn]=!0,this.__zr&&this.__zr.refresh()},show:function(){this[vn]=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if(typeof t===bn)this.attrKV(t,e);else if(a[un](t))for(var i in t)t.hasOwnProperty(i)&&this.attrKV(i,t[i]);return this.dirty(),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty()},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty())},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var i=0;i<e[on];i++)t[Fe].addAnimator(e[i]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var e=this.animators;if(e)for(var i=0;i<e[on];i++)t[Fe].removeAnimator(e[i]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},a.mixin(o,r),a.mixin(o,n),a.mixin(o,i),o}),e("echarts/model/mixin/makeStyleMapper",[Zn,Gn],function(t){var e=t(Gn);return function(t){for(var i=0;i<t[on];i++)t[i][1]||(t[i][1]=t[i][0]);return function(i){for(var n={},r=0;r<t[on];r++){var a=t[r][1];if(!(i&&e[Zi](i,a)>=0)){var o=this[S](a);null!=o&&(n[t[r][0]]=o)}}return n}}}),e("echarts/coord/Axis",[Zn,wi,Gn],function(t){function e(t,e){var i=t[1]-t[0],n=e,r=i/n/2;t[0]+=r,t[1]-=r}var i=t(wi),n=i[q],r=t(Gn),a=function(t,e,i){this.dim=t,this.scale=e,this._extent=i||[0,0],this[$e]=!1,this.onBand=!1};return a[Sn]={constructor:a,contain:function(t){var e=this._extent,i=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]);return t>=i&&n>=t},containData:function(t){return this[_i](this[Me](t))},getExtent:function(){var t=this._extent.slice();return t},getPixelPrecision:function(t){return i.getPixelPrecision(t||this.scale[pi](),this._extent)},setExtent:function(t,e){var i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,i){t=this.scale[xi](t);var r=this[pi](),a=this.scale;return this.onBand&&a.type===Ue&&e(r,a.count()),n(t,[0,1],r,i)},coordToData:function(t,i){var r=this[pi]();this.onBand&&e(r,this.scale.count());var a=n(t,r,[0,1],i);return this.scale.scale(a)},getTicksCoords:function(){if(this.onBand){for(var t=this.getBands(),e=[],i=0;i<t[on];i++)e.push(t[i][0]);return t[i-1]&&e.push(t[i-1][1]),e}return r.map(this.scale[gi](),this[Me],this)},getLabelsCoords:function(){if(this.onBand){for(var t,e=this.getBands(),i=[],n=0;n<e[on];n++)t=e[n],i.push((t[0]+t[1])/2);return i}return r.map(this.scale[gi](),this[Me],this)},getBands:function(){for(var t=this[pi](),e=[],i=this.scale.count(),n=t[0],r=t[1],a=r-n,o=0;i>o;o++)e.push([a*o/i+n,a*(o+1)/i+n]);return e},getBandWidth:function(){var t=this._extent,e=this.scale[pi](),i=e[1]-e[0]+(this.onBand?1:0),n=Math.abs(t[1]-t[0]);return Math.abs(n)/i}},a}),e("zrender/core/guid",[],function(){var t=2311;return function(){return"zr_"+t++}}),e("echarts/coord/geo/fix/textCoord",[Zn,Gn],function(t){var e=t(Gn),i={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};return function(t){e.each(t.regions,function(t){var e=i[t.name];if(e){var n=t[Ci];n[0]+=e[0]/10.5,n[1]+=-e[1]/14}})}}),e("echarts/coord/geo/fix/geoCoord",[Zn,Gn],function(t){var e=t(Gn),i={Russia:[100,60],"United States of America":[-99,38]};return function(t){e.each(t.regions,function(t){var e=i[t.name];if(e){var n=t[Ci];n[0]=e[0],n[1]=e[1]}})}}),e("echarts/coord/cartesian/Cartesian",[Zn,Gn],function(t){function e(t){return this._axes[t]}var i=t(Gn),n=function(t){this._axes={},this._dimList=[],this.name=t||""};return n[Sn]={constructor:n,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return i.map(this._dimList,e,this)},getAxesByScale:function(t){return t=t[Cn](),i[On](this.getAxes(),function(e){return e.scale.type===t})},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,Me)},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var i=this._dimList,n=t instanceof Array?[]:{},r=0;r<i[on];r++){var a=i[r],o=this._axes[a];n[a]=o[e](t[a])}return n}},n}),e("zrender/mixin/Transformable",[Zn,"../core/matrix","../core/vector"],function(t){function e(t){return t>a||-a>t}var i=t("../core/matrix"),n=t("../core/vector"),r=i.identity,a=5e-5,s=function(t){t=t||{},t[Si]||(this[Si]=[0,0]),null==t[$]&&(this[$]=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},l=s[Sn];l[An]=null,l.needLocalTransform=function(){return e(this[$])||e(this[Si][0])||e(this[Si][1])||e(this.scale[0]-1)||e(this.scale[1]-1)},l.updateTransform=function(){var t=this[k],e=t&&t[An],n=this.needLocalTransform(),a=this[An];return n||e?(a=a||i[yi](),n?this[d](a):r(a),e&&(n?i.mul(a,t[An],a):i.copy(a,t[An])),this[An]=a,this.invTransform=this.invTransform||i[yi](),void i.invert(this.invTransform,a)):void(a&&r(a))},l[d]=function(t){t=t||[],r(t);var e=this.origin,n=this.scale,a=this[$],s=this[Si];return e&&(t[4]-=e[0],t[5]-=e[1]),i.scale(t,t,n),a&&i[o](t,t,a),e&&(t[4]+=e[0],t[5]+=e[1]),t[4]+=s[0],t[5]+=s[1],t},l.setTransform=function(t){var e=this[An];e&&t[An](e[0],e[1],e[2],e[3],e[4],e[5])};var c=[];return l.decomposeTransform=function(){if(this[An]){var t=this[k],n=this[An];t&&t[An]&&(i.mul(c,t.invTransform,n),n=c);var r=n[0]*n[0]+n[1]*n[1],a=n[2]*n[2]+n[3]*n[3],o=this[Si],s=this.scale;e(r-1)&&(r=Math.sqrt(r)),e(a-1)&&(a=Math.sqrt(a)),n[0]<0&&(r=-r),n[3]<0&&(a=-a),o[0]=n[4],o[1]=n[5],s[0]=r,s[1]=a,this[$]=Math.atan2(-n[1]/a,n[0]/r)}},l.transformCoordToLocal=function(t,e){var i=[t,e],r=this.invTransform;return r&&n[R](i,i,r),i},l.transformCoordToGlobal=function(t,e){var i=[t,e],r=this[An];return r&&n[R](i,i,r),i},s}),e("zrender/mixin/Animatable",[Zn,"../animation/Animator",i,"../core/log"],function(t){var e=t("../animation/Animator"),n=t(i),r=n[Ii],a=n.isFunction,o=n[un],s=t("../core/log"),l=function(){this.animators=[]};return l[Sn]={constructor:l,animate:function(t,i){var r,a=!1,o=this,l=this.__zr;if(t){var c=t.split("."),u=o;a="shape"===c[0];for(var h=0,d=c[on];d>h;h++)u&&(u=u[c[h]]);u&&(r=u)}else r=o;if(!r)return void s('Property "'+t+'" is not existed in element '+o.id);var f=o.animators,p=new e(r,i);return p.during(function(){o.dirty(a)}).done(function(){f[tn](n[Zi](f,p),1)}),f.push(p),l&&l[Fe].addAnimator(p),p},stopAnimation:function(t){for(var e=this.animators,i=e[on],n=0;i>n;n++)e[n].stop(t);return e[on]=0,this},animateTo:function(t,e,i,n,o){function s(){c--,c||o&&o()}r(i)?(o=n,n=i,i=0):a(n)?(o=n,n="linear",i=0):a(i)?(o=i,i=0):a(e)?(o=e,e=500):e||(e=500),this.stopAnimation(),this._animateToShallow("",this,t,e,i,n,o);var l=this.animators.slice(),c=l[on];c||o&&o();for(var u=0;u<l[on];u++)l[u].done(s).start(n)},_animateToShallow:function(t,e,i,r,a){var s={},l=0;for(var c in i)if(null!=e[c])o(i[c])&&!n.isArrayLike(i[c])?this._animateToShallow(t?t+"."+c:c,e[c],i[c],r,a):(s[c]=i[c],l++);else if(null!=i[c])if(t){var u={};u[t]={},u[t][c]=i[c],this.attr(u)}else this.attr(c,i[c]);return l>0&&this.animate(t,!1).when(null==r?500:r,s).delay(a||0),this}},l}),e("echarts/data/helper/completeDimensions",[Zn,Gn],function(t){function e(t,e,a){if(!e)return t;var o=n(e[0]),s=r[Fi](o)&&o[on]||1;a=a||[];for(var l=0;s>l;l++)if(!t[l]){var c=a[l]||"extra"+(l-a[on]);t[l]=i(e,l)?{type:"ordinal",name:c}:c}return t}function i(t,e){for(var i=0,a=t[on];a>i;i++){var o=n(t[i]);if(!r[Fi](o))return!1;var o=o[e];if(null!=o&&isFinite(o))return!1;if(r[Ii](o)&&"-"!==o)return!0}return!1}function n(t){return r[Fi](t)?t:r[un](t)?t.value:t}var r=t(Gn);return e}),e("echarts/chart/helper/LineDraw",[Zn,qe,"./Line"],function(t){function e(t){this._ctor=t||n,this.group=new i.Group}var i=t(qe),n=t("./Line"),r=e[Sn];return r[ri]=function(t,e,i){var n=this._lineData,r=this.group,a=this._ctor;t.diff(n).add(function(n){var o=new a(t,e,i,n);t[Re](n,o),r.add(o)})[dn](function(a,o){var s=n[Ve](o);s[ri](t,e,i,a),t[Re](a,s),r.add(s)})[cn](function(t){r[cn](n[Ve](t))})[Oe](),this._lineData=t,this._fromData=e,this._toData=i},r[hn]=function(){var t=this._lineData;t[Ie](function(e,i){e[hn](t,this._fromData,this._toData,i)},this)},r[cn]=function(){this.group[In]()},e}),e("echarts/chart/helper/EffectLine",[Zn,qe,"./Line",Gn,u,"zrender/core/curve"],function(t){function e(t,e,i,n){r.Group.call(this);var o=new a(t,e,i,n);this.add(o),this._updateEffectSymbol(t,n)}function i(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}function n(){var t=this.__p1,e=this.__p2,i=this.__cp1,n=this.__t,r=this[Si],a=c.quadraticAt,o=c.quadraticDerivativeAt;r[0]=a(t[0],i[0],e[0],n),r[1]=a(t[1],i[1],e[1],n);var s=o(t[0],i[0],e[0],n),l=o(t[1],i[1],e[1],n);this[$]=-Math.atan2(l,s)-Math.PI/2,this[vn]=!1}var r=t(qe),a=t("./Line"),o=t(Gn),l=t(u),c=t("zrender/core/curve"),h=e[Sn];return h._updateEffectSymbol=function(t,e){var r=t[Ne](e),a=r[_n]("effect"),c=a.get(ue),u=a.get(he);o[Fi](c)||(c=[c,c]);var h=a.get("color")||t[ze](e,"color"),d=this[Q](1),f=1e3*a.get("period");(this._symbolType!==u||f!==this._period)&&(d=l[s](u,-.5,-.5,1,1,h),d[vn]=!0,d.z2=100,this._symbolType=u,this._period=f,this.add(d),d.__t=0,d.animate("",!0).when(f,{__t:1}).delay(e/t.count()*f/2).during(o.bind(n,d)).start()),d[Mi]("shadowColor",h),d[Mi](a[Ln](["color"])),d.attr("scale",c);var p=t[Ge](e);i(d,p),d.setColor(h),d.attr("scale",c)},h[ri]=function(t,e,i,n){this[Q](0)[ri](t,e,i,n),this._updateEffectSymbol(t,n)},h[hn]=function(t,e,n,r){this[Q](0)[hn](t,e,n,r);var a=this[Q](1),o=t[Ge](r);i(a,o)},o[Vi](e,r.Group),e}),e("echarts/chart/helper/Line",[Zn,u,w,"./LinePath",qe,Gn,U],function(t){function e(t,e,i){var n=e[ze](i,"color"),r=e[ze](i,he),a=e[ze](i,ue);if("none"!==r){v[Fi](a)||(a=[a,a]);var o=h[s](r,-a[0]/2,-a[1]/2,a[0],a[1],n);return o.name=t,o}}function i(t){var e=new f({name:"line",style:{strokeNoScale:!0}});return r(e.shape,t),e}function r(t,e){var i=e[0],n=e[1],r=e[2];t.x1=i[0],t.y1=i[1],t.x2=n[0],t.y2=n[1],t.percent=1,r&&(t.cpx1=r[0],t.cpy1=r[1])}function a(t){return t.type===he&&"arrow"===t.shape.symbolType}function o(){var t=this,e=t.childOfName("line");if(this[n]||e[n]){var i=t.childOfName("fromSymbol"),r=t.childOfName("toSymbol"),o=t.childOfName("label"),s=e.pointAt(0),c=e.pointAt(e.shape.percent),u=d.sub([],c,s);d[xi](u,u),i&&(i.attr(Si,s),a(r)&&r.attr($,l(s,c))),r&&(r.attr(Si,c),a(i)&&i.attr($,l(c,s))),o.attr(Si,c);var h,f,p;"end"===o.__position?(h=[5*u[0]+c[0],5*u[1]+c[1]],f=u[0]>.8?"left":u[0]<-.8?"right":Ci,p=u[1]>.8?"top":u[1]<-.8?pn:x):(h=[5*-u[0]+s[0],5*-u[1]+s[1]],f=u[0]>.8?"right":u[0]<-.8?"left":Ci,p=u[1]>.8?pn:u[1]<-.8?"top":x),o.attr({style:{textBaseline:o.__textBaseline||p,textAlign:o.__textAlign||f},position:h})}}function l(t,e){return-Math.PI/2-Math.atan2(e[1]-t[1],e[0]-t[0])}function c(t,e,i,n){p.Group.call(this),this._createLine(t,e,i,n)}var h=t(u),d=t(w),f=t("./LinePath"),p=t(qe),v=t(Gn),m=t(U),g=c[Sn];return g.beforeUpdate=o,g._createLine=function(t,n,r,a){var o=t[ji],s=t[Ge](a),l=i(s);l.shape.percent=0,p[Ee](l,{shape:{percent:1}},o),this.add(l);var c=new p.Text({name:"label"});if(this.add(c),n){var u=e("fromSymbol",n,a);this.add(u),this._fromSymbolType=n[ze](a,he)}if(r){var h=e("toSymbol",r,a);this.add(h),this._toSymbolType=r[ze](a,he)}this._updateCommonStl(t,n,r,a)},g[ri]=function(t,i,n,a){var o=t[ji],s=this.childOfName("line"),l=t[Ge](a),c={shape:{}};if(r(c.shape,l),p[Be](s,c,o),i){var u=i[ze](a,he);if(this._fromSymbolType!==u){var h=e("fromSymbol",i,a);this[cn](s.childOfName("fromSymbol")),this.add(h)}this._fromSymbolType=u}if(n){var d=n[ze](a,he);if(d!==this._toSymbolType){var f=e("toSymbol",n,a);this[cn](s.childOfName("toSymbol")),this.add(f)}this._toSymbolType=d}this._updateCommonStl(t,i,n,a)},g._updateCommonStl=function(t,e,i,n){var r=t[ji],a=this.childOfName("line"),o=t[Ne](n),s=o[_n](Pe),l=s[_n](Pi),c=o[_n](De),u=c[_n](Pi),h=m.round(r[Le](n));isNaN(h)&&(h=t[ci](n)),a[Mi](v[ln]({stroke:t[ze](n,"color")},o[_n](ge)[ve]()));var d=this.childOfName("label");d[Mi]({text:s.get("show")?r[ke](n,Ze)||h:"",textFont:l[Di](),fill:l[ki]()||t[ze](n,"color")}),d.hoverStyle={text:c.get("show")?r[ke](n,Te)||h:"",textFont:l[Di](),fill:u[ki]()},d.__textAlign=l.get("align"),d.__textBaseline=l.get("baseline"),d.__position=s.get(Si),p[Ae](this,o[_n]("lineStyle.emphasis")[ve]())},g[hn]=function(t,e,i,n){var a=t[Ge](n),o=this.childOfName("line");r(o.shape,a),o.dirty(!0),e&&e[Ve](n).attr(Si,a[0]),i&&i[Ve](n).attr(Si,a[1])},v[Vi](c,p.Group),c}),e("echarts/chart/gauge/PointerPath",[Zn,"zrender/graphic/Path"],function(t){return t("zrender/graphic/Path")[ln]({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(t,e){var i=Math.cos,n=Math.sin,r=e.r,a=e.width,o=e.angle,s=e.x-i(o)*a*(a>=r/3?1:2),l=e.y-n(o)*a*(a>=r/3?1:2);
  o=e.angle-Math.PI/2,t[y](s,l),t[m](e.x+i(o)*a,e.y+n(o)*a),t[m](e.x+i(e.angle)*r,e.y+n(e.angle)*r),t[m](e.x-i(o)*a,e.y-n(o)*a),t[m](s,l)}})}),e("echarts/coord/geo/parseGeoJson",[Zn,Gn,"./Region"],function(t){function e(t){if(!t.UTF8Encoding)return t;for(var e=t.features,n=0;n<e[on];n++)for(var r=e[n],a=r.geometry,o=a.coordinates,s=a.encodeOffsets,l=0;l<o[on];l++){var c=o[l];if(a.type===fe)o[l]=i(c,s[l]);else if("MultiPolygon"===a.type)for(var u=0;u<c[on];u++){var h=c[u];c[u]=i(h,s[l][u])}}return t.UTF8Encoding=!1,t}function i(t,e){for(var i=[],n=e[0],r=e[1],a=0;a<t[on];a+=2){var o=t.charCodeAt(a)-64,s=t.charCodeAt(a+1)-64;o=o>>1^-(1&o),s=s>>1^-(1&s),o+=n,s+=r,n=o,r=s,i.push([o/1024,s/1024])}return i}function n(t){for(var e=[],i=0;i<t[on];i++)for(var n=0;n<t[i][on];n++)e.push(t[i][n]);return e}var r=t(Gn),a=t("./Region");return function(t){return e(t),r.map(r[On](t.features,function(t){return t.geometry&&t.properties}),function(t){var e=t.properties,i=t.geometry,r=i.coordinates;return"MultiPolygon"===i.type&&(r=n(r)),new a(e.name,r,e.cp)})}}),e("echarts/coord/View",[Zn,w,z,"zrender/mixin/Transformable",Gn,P],function(t){function e(){a.call(this)}function i(t){this.name=t,this[fi]=["x","y"],a.call(this),this._roamTransform=new e,this._viewTransform=new e}var n=t(w),r=t(z),a=t("zrender/mixin/Transformable"),o=t(Gn),s=t(P),l=n[R];return o.mixin(e,a),i[Sn]={constructor:i,type:"view",setBoundingRect:function(t,e,i,n){return this._rect=new s(t,e,i,n),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,i,n){this.transformTo(t,e,i,n),this._viewRect=new s(t,e,i,n)},transformTo:function(t,e,i,n){var r=this[Li](),a=this._viewTransform;a[An]=r.calculateTransform(new s(t,e,i,n)),a.decomposeTransform(),this._updateTransform()},setPan:function(t,e){this._roamTransform[Si]=[t,e],this._updateTransform()},setZoom:function(t){this._roamTransform.scale=[t,t],this._updateTransform()},getRoamTransform:function(){return this._roamTransform[An]},_updateTransform:function(){var t=this._roamTransform,e=this._viewTransform;e[k]=t,t.updateTransform(),e.updateTransform(),e[An]&&r.copy(this[An]||(this[An]=[]),e[An]),this.decomposeTransform()},getViewRect:function(){return this._viewRect},dataToPoint:function(t){var e=this[An];return e?l([],t,e):[t[0],t[1]]},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]}},o.mixin(i,a),i}),e("echarts/coord/geo/fix/nanhai",[Zn,"../Region"],function(t){for(var e=t("../Region"),i=[126,25],n=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],r=0;r<n[on];r++)for(var a=0;a<n[r][on];a++)n[r][a][0]/=10.5,n[r][a][1]/=-14,n[r][a][0]+=i[0],n[r][a][1]+=i[1];return function(t){"china"===t.map&&t.regions.push(new e("南海诸岛",n,i))}}),e("echarts/component/dataZoom/AxisProxy",[Zn,Gn,U],function(t){function e(t,e){var i=[Number.MAX_VALUE,Number.MIN_VALUE];return o(e,function(e){var n=e[Bn]();n&&o(e.getDimensionsOnAxis(t),function(t){var e=n[Xe](t);e[0]<i[0]&&(i[0]=e[0]),e[1]>i[1]&&(i[1]=e[1])})},this),i}function i(t,e,i){var r=[0,100],l=t[xn],c=[l.start,l.end],u=[l.startValue,l.endValue],h=["floor","ceil"];return o([0,1],function(t){var o,s=u[t],l=!0;n(s)&&(o=c[t],n(o)&&(o=r[t]),s=a[q](o,r,e,!0),l=!1),i&&(s=Math[h[t]](s)),l&&(o=a[q](s,e,r,!0)),u[t]=s,c[t]=o}),{valueWindow:s(u),percentWindow:s(c)}}function n(t){return isNaN(t)||null==t}var r=t(Gn),a=t(U),o=r.each,s=a.asc,l=function(t,e,i,n){this._dimName=t,this._axisIndex=e,this._backup,this._valueWindow,this._percentWindow,this._dataExtent,this[D]=n,this._model=i};return l[Sn]={constructor:l,hostedBy:function(t){return this._model===t},backup:function(t,e){t===this._model&&(this._backup=e)},getBackup:function(){return r.clone(this._backup)},getDataExtent:function(){return this._dataExtent.slice()},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[];return this[D][rn](function(e){this._axisIndex===e.get(this._dimName+"AxisIndex")&&t.push(e)},this),t},getAxisModel:function(){return this[D][Je](this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,i=this._dimName,n=this[D],r=this.getAxisModel(),a="x"===i||"y"===i;a?(e="gridIndex",t="x"===i?"y":"x"):(e=G,t="angle"===i?be:"angle");var o;return n[mn](t+"Axis",function(t){(t.get(e)||0)===(r.get(e)||0)&&(o=t)}),o},reset:function(t){if(t===this._model){var n=this._dimName,r=this.getAxisModel(),a=r.get("type")===je,o=this.getTargetSeriesModels(),s=e(n,o),l=i(t,s,a);this._dataExtent=s.slice(),this._valueWindow=l.valueWindow.slice(),this._percentWindow=l.percentWindow.slice()}},filterData:function(t){function e(t){return t>=a[0]&&t<=a[1]}if(t===this._model){var i=this._dimName,n=this.getTargetSeriesModels(),r=t.get("filterMode"),a=this._valueWindow,s=this.getOtherAxisModel();t.get("$fromToolbox")&&s&&s.get("type")===je&&(r="empty"),o(n,function(t){var n=t[Bn]();n&&o(t.getDimensionsOnAxis(i),function(i){"empty"===r?t.setData(n.map(i,function(t){return e(t)?t:0/0})):n.filterSelf(i,e)})})}}},l}),e("echarts/coord/polar/AxisModel",[Zn,Gn,ni,"../axisModelCreator","../axisModelCommonMixin"],function(t){function e(t,e){return e.type||(e.data?je:"value")}var i=t(Gn),n=t(ni),r=t("../axisModelCreator"),a=n[ln]({type:"polarAxis",axis:null});i.merge(a[Sn],t("../axisModelCommonMixin"));var o={angle:{polarIndex:0,startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{polarIndex:0,splitNumber:5}};r("angle",a,e,o.angle),r(be,a,e,o[be])}),e("echarts/coord/cartesian/axisLabelInterval",[Zn,Gn,"../axisHelper"],function(t){var e=t(Gn),i=t("../axisHelper");return function(t){var n=t.model,r=n[_n](N),a=r.get(E);return t.type!==je||"auto"!==a?"auto"===a?0:a:i.getAxisLabelInterval(e.map(t.scale[gi](),t[Me],t),n[Ke](),r[_n](Pi)[Di](),t.isHorizontal())}}),e("zrender/core/log",[Zn,"../config"],function(t){var e=t("../config");return function(){if(0!==e.debugMode)if(1==e.debugMode)for(var t in arguments)throw new Error(arguments[t]);else if(e.debugMode>1)for(var t in arguments)console.log(arguments[t])}}),e("zrender/animation/Animator",[Zn,"./Clip","../tool/color",i],function(t){function e(t,e){return t[e]}function n(t,e,i){t[e]=i}function r(t,e,i){return(e-t)*i+t}function a(t,e,i){return i>.5?e:t}function o(t,e,i,n,a){var o=t[on];if(1==a)for(var s=0;o>s;s++)n[s]=r(t[s],e[s],i);else for(var l=t[0][on],s=0;o>s;s++)for(var c=0;l>c;c++)n[s][c]=r(t[s][c],e[s][c],i)}function s(t,e,i){var n=t[on],r=e[on];if(n!==r){var a=n>r;if(a)t[on]=r;else for(var o=n;r>o;o++)t.push(1===i?e[o]:y.call(e[o]))}}function l(t,e,i){if(t===e)return!0;var n=t[on];if(n!==e[on])return!1;if(1===i){for(var r=0;n>r;r++)if(t[r]!==e[r])return!1}else for(var a=t[0][on],r=0;n>r;r++)for(var o=0;a>o;o++)if(t[r][o]!==e[r][o])return!1;return!0}function c(t,e,i,n,r,a,o,s,l){var c=t[on];if(1==l)for(var h=0;c>h;h++)s[h]=u(t[h],e[h],i[h],n[h],r,a,o);else for(var d=t[0][on],h=0;c>h;h++)for(var f=0;d>f;f++)s[h][f]=u(t[h][f],e[h][f],i[h][f],n[h][f],r,a,o)}function u(t,e,i,n,r,a,o){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*o+(-3*(e-i)-2*s-l)*a+s*r+e}function h(t){if(g(t)){var e=t[on];if(g(t[0])){for(var i=[],n=0;e>n;n++)i.push(y.call(t[n]));return i}return y.call(t)}return t}function d(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function f(t,e,i,n,h){var f=t._getter,m=t._setter,y="spline"===e,x=n[on];if(x){var _,w=n[0].value,b=g(w),M=!1,S=!1,C=b&&g(w[0])?2:1;n.sort(function(t,e){return t.time-e.time}),_=n[x-1].time;for(var A=[],T=[],L=n[0].value,k=!0,D=0;x>D;D++){A.push(n[D].time/_);var z=n[D].value;if(b&&l(z,L,C)||!b&&z===L||(k=!1),L=z,typeof z==bn){var P=v.parse(z);P?(z=P,M=!0):S=!0}T.push(z)}if(!k){if(b){for(var I=T[x-1],D=0;x-1>D;D++)s(T[D],I,C);s(f(t._target,h),I,C)}var V,R,O,E,B,N,G=0,Z=0;if(M)var F=[0,0,0,0];var H=function(t,e){var i;if(Z>e){for(V=Math.min(G+1,x-1),i=V;i>=0&&!(A[i]<=e);i--);i=Math.min(i,x-2)}else{for(i=G;x>i&&!(A[i]>e);i++);i=Math.min(i-1,x-2)}G=i,Z=e;var n=A[i+1]-A[i];if(0!==n)if(R=(e-A[i])/n,y)if(E=T[i],O=T[0===i?i:i-1],B=T[i>x-2?x-1:i+1],N=T[i>x-3?x-1:i+2],b)c(O,E,B,N,R,R*R,R*R*R,f(t,h),C);else{var s;if(M)s=c(O,E,B,N,R,R*R,R*R*R,F,1),s=d(F);else{if(S)return a(E,B,R);s=u(O,E,B,N,R,R*R,R*R*R)}m(t,h,s)}else if(b)o(T[i],T[i+1],R,f(t,h),C);else{var s;if(M)o(T[i],T[i+1],R,F,1),s=d(F);else{if(S)return a(T[i],T[i+1],R);s=r(T[i],T[i+1],R)}m(t,h,s)}},W=new p({target:t._target,life:_,loop:t._loop,delay:t._delay,onframe:H,ondestroy:i});return e&&"spline"!==e&&(W.easing=e),W}}}var p=t("./Clip"),v=t("../tool/color"),m=t(i),g=m.isArrayLike,y=Array[Sn].slice,x=function(t,i,r,a){this._tracks={},this._target=t,this._loop=i||!1,this._getter=r||e,this._setter=a||n,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};return x[Sn]={when:function(t,e){var i=this._tracks;for(var n in e){if(!i[n]){i[n]=[];var r=this._getter(this._target,n);if(null==r)continue;0!==t&&i[n].push({time:0,value:h(r)})}i[n].push({time:t,value:e[n]})}return this},during:function(t){return this._onframeList.push(t),this},_doneCallback:function(){this._tracks={},this._clipList[on]=0;for(var t=this._doneList,e=t[on],i=0;e>i;i++)t[i].call(this)},start:function(t){var e,i=this,n=0,r=function(){n--,n||i._doneCallback()};for(var a in this._tracks){var o=f(this,t,r,this._tracks[a],a);o&&(this._clipList.push(o),n++,this[Fe]&&this[Fe].addClip(o),e=o)}if(e){var s=e.onframe;e.onframe=function(t,e){s(t,e);for(var n=0;n<i._onframeList[on];n++)i._onframeList[n](t,e)}}return n||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,i=this[Fe],n=0;n<e[on];n++){var r=e[n];t&&r.onframe(this._target,1),i&&i.removeClip(r)}e[on]=0},delay:function(t){return this._delay=t,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}},x}),e("echarts/coord/axisModelCommonMixin",[Zn,Gn,"./axisHelper"],function(t){function e(t){return r[un](t)&&null!=t.value?t.value:t}function i(){return this.get("type")===je&&r.map(this.get("data"),e)}function n(){return a[Ke](this.axis,this.get("axisLabel.formatter"))}var r=t(Gn),a=t("./axisHelper");return{getFormattedLabels:n,getCategories:i}}),e("echarts/chart/heatmap/HeatmapLayer",[Zn,Gn],function(t){function e(){var t=r.createCanvas();this[Mn]=t,this.blurSize=30,this[bi]=1,this._gradientPixels={}}var i=20,n=256,r=t(Gn);return e[Sn]={update:function(t,e,r,a,o,s){var l=this._getBrush(),c=this._getGradient(t,o,"inRange"),u=this._getGradient(t,o,"outOfRange"),h=i+this.blurSize,d=this[Mn],f=d[ei]("2d"),p=t[on];d.width=e,d[fn]=r;for(var v=0;p>v;++v){var m=t[v],g=m[0],y=m[1],x=m[2],_=a(x);f.globalAlpha=_,f.drawImage(l,g-h,y-h)}for(var w=f.getImageData(0,0,d.width,d[fn]),b=w.data,M=0,S=b[on];S>M;){var _=b[M+3]/256,C=4*Math.floor(_*(n-1));if(_>0){var A=s(_)?c:u;b[M++]=A[C],b[M++]=A[C+1],b[M++]=A[C+2],b[M++]*=this[bi]*A[C+3]}else M+=4}return f.putImageData(w,0,0),d},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=r.createCanvas()),e=i+this.blurSize,n=2*e;t.width=n,t[fn]=n;var o=t[ei]("2d");return o.clearRect(0,0,n,n),o.shadowOffsetX=n,o.shadowBlur=this.blurSize,o.shadowColor="#000",o[a](),o.arc(-e,e,i,0,2*Math.PI,!0),o[v](),o.fill(),t},_getGradient:function(t,e,i){for(var n=this._gradientPixels,r=n[i]||(n[i]=new Uint8ClampedArray(1024)),a=[],o=0,s=0;256>s;s++)e[i](s/255,!0,a),r[o++]=a[0],r[o++]=a[1],r[o++]=a[2],r[o++]=a[3];return r}},e}),e("echarts/coord/geo/Region",[Zn,"zrender/contain/polygon",P,"zrender/core/bbox",w],function(t){function e(t,e,i){if(this.name=t,this.contours=e,i)i=[i[0],i[1]];else{var n=this[Li]();i=[n.x+n.width/2,n.y+n[fn]/2]}this[Ci]=i}var i=t("zrender/contain/polygon"),n=t(P),r=t("zrender/core/bbox"),a=t(w);return e[Sn]={constructor:e,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,i=[e,e],o=[-e,-e],s=[],l=[],c=this.contours,u=0;u<c[on];u++)r.fromPoints(c[u],s,l),a.min(i,i,s),a.max(o,o,l);return 0===u&&(i[0]=i[1]=o[0]=o[1]=0),this._rect=new n(i[0],i[1],o[0]-i[0],o[1]-i[1])},contain:function(t){var e=this[Li](),n=this.contours;if(e[_i](t[0],t[1]))for(var r=0,a=n[on];a>r;r++)if(i[_i](n[r],t[0],t[1]))return!0;return!1},transformTo:function(t,e,i,r){var o=this[Li](),s=o.width/o[fn];i?r||(r=i/s):i=s*r;for(var l=new n(t,e,i,r),c=o.calculateTransform(l),u=this.contours,h=0;h<u[on];h++)for(var d=0;d<u[h][on];d++)a[R](u[h][d],u[h][d],c);o=this._rect,o.copy(l),this[Ci]=[o.x+o.width/2,o.y+o[fn]/2]}},e}),e("echarts/coord/axisModelCreator",[Zn,"./axisDefault",Gn,"../model/Component","../util/layout"],function(t){var e=t("./axisDefault"),i=t(Gn),n=t("../model/Component"),r=t("../util/layout"),a=["value",je,"time","log"];return function(t,o,s,l){i.each(a,function(n){o[ln]({type:t+"Axis."+n,mergeDefaultAndTheme:function(e,a){var o=this.layoutMode,l=o?r.getLayoutParams(e):{},c=a.getTheme();i.merge(e,c.get(n+"Axis")),i.merge(e,this.getDefaultOption()),e.type=s(t,e),o&&r.mergeLayoutParam(e,l,o)},defaultOption:i.mergeAll([{},e[n+"Axis"],l],!0)})}),n.registerSubTypeDefaulter(t+"Axis",i.curry(s,t))}}),e("echarts/coord/cartesian/AxisModel",[Zn,ni,Gn,"../axisModelCreator","../axisModelCommonMixin"],function(t){function e(t,e){return e.type||(e.data?je:"value")}var i=t(ni),n=t(Gn),r=t("../axisModelCreator"),a=i[ln]({type:"cartesian2dAxis",axis:null,setNeedsCrossZero:function(t){this[xn].scale=!t},setMin:function(t){this[xn].min=t},setMax:function(t){this[xn].max=t}});n.merge(a[Sn],t("../axisModelCommonMixin"));var o={gridIndex:0};return r("x",a,e,o),r("y",a,e,o),a}),e("zrender/contain/polygon",[Zn,"./windingLine"],function(t){function e(t,e){return Math.abs(t-e)<r}function i(t,i,r){var a=0,o=t[0];if(!o)return!1;for(var s=1;s<t[on];s++){var l=t[s];a+=n(o[0],o[1],l[0],l[1],i,r),o=l}var c=t[0];return e(o[0],c[0])&&e(o[1],c[1])||(a+=n(o[0],o[1],c[0],c[1],i,r)),0!==a}var n=t("./windingLine"),r=1e-8;return{contain:i}}),e("zrender/animation/Clip",[Zn,"./easing"],function(t){function e(t){this._target=t[$i],this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null==t.loop?!1:t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart}var i=t("./easing");return e[Sn]={constructor:e,step:function(t){this._initialized||(this._startTime=(new Date).getTime()+this._delay,this._initialized=!0);var e=(t-this._startTime)/this._life;if(!(0>e)){e=Math.min(e,1);var n=this.easing,r=typeof n==bn?i[n]:n,a=typeof r===Gi?r(e):e;return this.fire("frame",a),1==e?this.loop?(this.restart(),"restart"):(this._needsRemove=!0,"destroy"):null}},restart:function(){var t=(new Date).getTime(),e=(t-this._startTime)%this._life;this._startTime=(new Date).getTime()-e+this.gap,this._needsRemove=!1},fire:function(t,e){t="on"+t,this[t]&&this[t](this._target,e)}},e}),e("echarts/coord/axisDefault",[Zn,Gn],function(t){var e=t(Gn),i={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameTextStyle:{},nameGap:15,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)"]}}},n=e.merge({boundaryGap:!0,axisTick:{interval:"auto"},axisLabel:{interval:"auto"}},i),r=e[Dn]({boundaryGap:[0,0],splitNumber:5},i),a=e[Dn]({scale:!0,min:"dataMin",max:"dataMax"},r),o=e[Dn]({},r);return o.scale=!0,{categoryAxis:n,valueAxis:r,timeAxis:a,logAxis:o}}),e("zrender/contain/windingLine",[],function(){return function(t,e,i,n,r,a){if(a>e&&a>n||e>a&&n>a)return 0;if(n===e)return 0;var o=e>n?1:-1,s=(a-e)/(n-e),l=s*(i-t)+t;return l>r?o:0}}),e("zrender/animation/easing",[],function(){var t={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(-Math.pow(2,-10*(t-1))+2)},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||1>i?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),-(i*Math.pow(2,10*(t-=1))*Math.sin(2*(t-e)*Math.PI/n)))},elasticOut:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||1>i?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin(2*(t-e)*Math.PI/n)+1)},elasticInOut:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||1>i?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),(t*=2)<1?-.5*i*Math.pow(2,10*(t-=1))*Math.sin(2*(t-e)*Math.PI/n):i*Math.pow(2,-10*(t-=1))*Math.sin(2*(t-e)*Math.PI/n)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?.5*t*t*((e+1)*t-e):.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(e){return 1-t.bounceOut(1-e)},bounceOut:function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(e){return.5>e?.5*t.bounceIn(2*e):.5*t.bounceOut(2*e-1)+.5}};return t}),e("echarts/chart/bar/barItemStyle",[Zn,"../../model/mixin/makeStyleMapper"],function(t){return{getBarItemStyle:t("../../model/mixin/makeStyleMapper")([["fill","color"],[F,"barBorderColor"],[p,"barBorderWidth"],[bi],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]])}}),e("zrender/config",[],function(){var t=1;typeof window!==C&&(t=Math.max(window.devicePixelRatio||1,1));var e={debugMode:0,devicePixelRatio:t};return e}),e("zrender/contain/util",[Zn],function(){var t=2*Math.PI;return{normalizeRadian:function(e){return e%=t,0>e&&(e+=t),e}}}),e("zrender/contain/line",[],function(){return{containStroke:function(t,e,i,n,r,a,o){if(0===r)return!1;var s=r,l=0,c=t;if(o>e+s&&o>n+s||e-s>o&&n-s>o||a>t+s&&a>i+s||t-s>a&&i-s>a)return!1;if(t===i)return Math.abs(a-t)<=s/2;l=(e-n)/(t-i),c=(t*n-i*e)/(t-i);var u=l*a-o+c,h=u*u/(l*l+1);return s/2*s/2>=h}}}),e("zrender/contain/cubic",[Zn,"../core/curve"],function(t){var e=t("../core/curve");return{containStroke:function(t,i,n,r,a,o,s,l,c,u,h){if(0===c)return!1;var d=c;if(h>i+d&&h>r+d&&h>o+d&&h>l+d||i-d>h&&r-d>h&&o-d>h&&l-d>h||u>t+d&&u>n+d&&u>a+d&&u>s+d||t-d>u&&n-d>u&&a-d>u&&s-d>u)return!1;var f=e.cubicProjectPoint(t,i,n,r,a,o,s,l,u,h,null);return d/2>=f}}}),e("zrender/contain/quadratic",[Zn,"../core/curve"],function(t){var e=t("../core/curve");return{containStroke:function(t,i,n,r,a,o,s,l,c){if(0===s)return!1;var u=s;if(c>i+u&&c>r+u&&c>o+u||i-u>c&&r-u>c&&o-u>c||l>t+u&&l>n+u&&l>a+u||t-u>l&&n-u>l&&a-u>l)return!1;var h=e.quadraticProjectPoint(t,i,n,r,a,o,l,c,null);return u/2>=h}}}),e("zrender/contain/arc",[Zn,"./util"],function(t){var e=t("./util").normalizeRadian,i=2*Math.PI;return{containStroke:function(t,n,r,a,o,s,l,c,u){if(0===l)return!1;var h=l;c-=t,u-=n;var d=Math.sqrt(c*c+u*u);if(d-h>r||r>d+h)return!1;if(Math.abs(a-o)%i<1e-4)return!0;if(s){var f=a;a=e(o),o=e(f)}else a=e(a),o=e(o);a>o&&(o+=i);var p=Math.atan2(u,c);return 0>p&&(p+=i),p>=a&&o>=p||p+i>=a&&o>=p+i}}}),e("zrender/graphic/helper/roundRect",[Zn],function(){return{buildPath:function(t,e){var i,n,r,a,o=e.x,s=e.y,l=e.width,c=e[fn],u=e.r;typeof u===Ri?i=n=r=a=u:u instanceof Array?1===u[on]?i=n=r=a=u[0]:2===u[on]?(i=r=u[0],n=a=u[1]):3===u[on]?(i=u[0],n=a=u[1],r=u[2]):(i=u[0],n=u[1],r=u[2],a=u[3]):i=n=r=a=0;var h;i+n>l&&(h=i+n,i*=l/h,n*=l/h),r+a>l&&(h=r+a,r*=l/h,a*=l/h),n+r>c&&(h=n+r,n*=c/h,r*=c/h),i+a>c&&(h=i+a,i*=c/h,a*=c/h),t[y](o+i,s),t[m](o+l-n,s),0!==n&&t.quadraticCurveTo(o+l,s,o+l,s+n),t[m](o+l,s+c-r),0!==r&&t.quadraticCurveTo(o+l,s+c,o+l-r,s+c),t[m](o+a,s+c),0!==a&&t.quadraticCurveTo(o,s+c,o,s+c-a),t[m](o,s+i),0!==i&&t.quadraticCurveTo(o,s,o+i,s)}}}),e("zrender/core/LRU",[Zn],function(){var t=function(){this.head=null,this.tail=null,this._len=0},e=t[Sn];e.insert=function(t){var e=new i(t);return this.insertEntry(e),e},e.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,this.tail=t):this.head=this.tail=t,this._len++},e[cn]=function(t){var e=t.prev,i=t.next;e?e.next=i:this.head=i,i?i.prev=e:this.tail=e,t.next=t.prev=null,this._len--},e.len=function(){return this._len};var i=function(t){this.value=t,this.next,this.prev},n=function(e){this._list=new t,this._map={},this._maxSize=e||10},r=n[Sn];return r.put=function(t,e){var i=this._list,n=this._map;if(null==n[t]){var r=i.len();if(r>=this._maxSize&&r>0){var a=i.head;i[cn](a),delete n[a.key]}var o=i.insert(e);o.key=t,n[t]=o}},r.get=function(t){var e=this._map[t],i=this._list;return null!=e?(e!==i.tail&&(i[cn](e),i.insertEntry(e)),e.value):void 0},r.clear=function(){this._list.clear(),this._map={}},n}),e("zrender/graphic/helper/poly",[Zn,"./smoothSpline","./smoothBezier"],function(t){var e=t("./smoothSpline"),i=t("./smoothBezier");return{buildPath:function(t,n,r){var a=n[de],o=n.smooth;if(a&&a[on]>=2){if(o&&"spline"!==o){var s=i(a,o,r,n.smoothConstraint);t[y](a[0][0],a[0][1]);for(var l=a[on],c=0;(r?l:l-1)>c;c++){var u=s[2*c],h=s[2*c+1],d=a[(c+1)%l];t[g](u[0],u[1],h[0],h[1],d[0],d[1])}}else{"spline"===o&&(a=e(a,r)),t[y](a[0][0],a[0][1]);for(var c=1,f=a[on];f>c;c++)t[m](a[c][0],a[c][1])}r&&t[v]()}}}}),e("zrender/Handler",[Zn,"./core/env","./core/event","./core/util","./mixin/Draggable","./core/GestureMgr","./mixin/Eventful"],function(t){function e(t){return"_"+t+"Handler"}function i(t,e,i){return{type:t,event:i,target:e,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta}}function n(t,e,i){var n=t._gestureMgr;"start"===i&&n.clear();var r=n.recognize(e,t._findHover(e.zrX,e.zrY,null));if("end"===i&&n.clear(),r){var a=r.type;e.gestureEvent=a,t._dispatchProxy(r[$i],a,r.event)}}function r(t){for(var i=d[ti](f),n=i[on];n--;){var r=i[n];t[e(r)]=l.bind(y[r],t)}}function a(t,e,i){if(t[t.rectHover?"rectContain":_i](e,i)){for(var n=t[k];n;){if(n.clipPath&&!n.clipPath[_i](e,i))return!1;n=n[k]}return!0}return!1}var o=t("./core/env"),s=t("./core/event"),l=t("./core/util"),c=t("./mixin/Draggable"),u=t("./core/GestureMgr"),h=t("./mixin/Eventful"),d=["click","dblclick","mousewheel","mousemove",Ki,"mouseup","mousedown"],f=["touchstart","touchend","touchmove"],p=300,v=s.addEventListener,m=s.removeEventListener,g=s.normalizeEvent,y={mousemove:function(t){t=g(this.root,t);var e=t.zrX,i=t.zrY,n=this._findHover(e,i,null),r=this._hovered;this._hovered=n,this.root.style.cursor=n?n.cursor:this._defaultCursorStyle,r&&n!==r&&r.__zr&&this._dispatchProxy(r,Ki,t),this._dispatchProxy(n,"mousemove",t),n&&n!==r&&this._dispatchProxy(n,Ji,t)},mouseout:function(t){t=g(this.root,t);var e=t.toElement||t.relatedTarget;if(e!=this.root)for(;e&&9!=e.nodeType;){if(e===this.root)return;e=e[V]}this._dispatchProxy(this._hovered,Ki,t),this[an]("globalout",{event:t})},touchstart:function(t){t=g(this.root,t),this._lastTouchMoment=new Date,n(this,t,"start"),this._mousemoveHandler(t),this._mousedownHandler(t)},touchmove:function(t){t=g(this.root,t),n(this,t,"change"),this._mousemoveHandler(t)},touchend:function(t){t=g(this.root,t),n(this,t,"end"),this._mouseupHandler(t),+new Date-this._lastTouchMoment<p&&this._clickHandler(t)}};l.each(["click","mousedown","mouseup","mousewheel","dblclick"],function(t){y[t]=function(e){e=g(this.root,e);var i=this._findHover(e.zrX,e.zrY,null);this._dispatchProxy(i,t,e)}});var x=function(t,i,n){h.call(this),this.root=t,this.storage=i,this.painter=n,this._hovered,this._lastTouchMoment,this._lastX,this._lastY,this._defaultCursorStyle="default",this._gestureMgr=new u,r(this),o.os.tablet||o.os.phone?(l.each(f,function(i){v(t,i,this[e(i)])},this),v(t,Ki,this._mouseoutHandler)):(l.each(d,function(i){v(t,i,this[e(i)])},this),v(t,"DOMMouseScroll",this._mousewheelHandler)),c.call(this)};return x[Sn]={constructor:x,resize:function(){this._hovered=null},dispatch:function(t,i){var n=this[e(t)];n&&n(i)},dispose:function(){for(var t=this.root,i=d[ti](f),n=0;n<i[on];n++){var r=i[n];m(t,r,this[e(r)])}m(t,"DOMMouseScroll",this._mousewheelHandler),this.root=this.storage=this.painter=null},setDefaultCursorStyle:function(t){this._defaultCursorStyle=t},_dispatchProxy:function(t,e,n){for(var r="on"+e,a=i(e,t,n),o=t;o&&(o[r]&&(a.cancelBubble=o[r].call(o,a)),o[an](e,a),o=o[k],!a.cancelBubble););a.cancelBubble||(this[an](e,a),this.painter&&this.painter.eachOtherLayer(function(t){typeof t[r]==Gi&&t[r].call(t,a),t[an]&&t[an](e,a)}))},_findHover:function(t,e,i){for(var n=this.storage.getDisplayList(),r=n[on]-1;r>=0;r--)if(!n[r].silent&&n[r]!==i&&a(n[r],t,e))return n[r]}},l.mixin(x,h),l.mixin(x,c),x}),e("zrender/Storage",[Zn,"./core/util","./container/Group"],function(t){function e(t,e){return t[qi]===e[qi]?t.z===e.z?t.z2===e.z2?t.__renderidx-e.__renderidx:t.z2-e.z2:t.z-e.z:t[qi]-e[qi]}var i=t("./core/util"),r=t("./container/Group"),a=function(){this._elements={},this._roots=[],this._displayList=[],this._displayListLen=0};return a[Sn]={constructor:a,getDisplayList:function(t){return t&&this.updateDisplayList(),this._displayList},updateDisplayList:function(){this._displayListLen=0;for(var t=this._roots,i=this._displayList,n=0,r=t[on];r>n;n++){var a=t[n];this._updateAndAddDisplayable(a)}i[on]=this._displayListLen;for(var n=0,r=i[on];r>n;n++)i[n].__renderidx=n;i.sort(e)},_updateAndAddDisplayable:function(t,e){if(!t[vn]){t.beforeUpdate(),t[dn](),t.afterUpdate();var i=t.clipPath;if(i&&(i[k]=t,i.updateTransform(),e?(e=e.slice(),e.push(i)):e=[i]),"group"==t.type){for(var r=t._children,a=0;a<r[on];a++){var o=r[a];o[n]=t[n]||o[n],this._updateAndAddDisplayable(o,e)}t[n]=!1}else t.__clipPaths=e,this._displayList[this._displayListLen++]=t}},addRoot:function(t){this._elements[t.id]||(t instanceof r&&t.addChildrenToStorage(this),this.addToMap(t),this._roots.push(t))},delRoot:function(t){if(null==t){for(var e=0;e<this._roots[on];e++){var n=this._roots[e];n instanceof r&&n.delChildrenFromStorage(this)}return this._elements={},this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(t instanceof Array)for(var e=0,a=t[on];a>e;e++)this.delRoot(t[e]);else{var o;o=typeof t==bn?this._elements[t]:t;var s=i[Zi](this._roots,o);s>=0&&(this.delFromMap(o.id),this._roots[tn](s,1),o instanceof r&&o.delChildrenFromStorage(this))}},addToMap:function(t){return t instanceof r&&(t.__storage=this),t.dirty(),this._elements[t.id]=t,this},get:function(t){return this._elements[t]},delFromMap:function(t){var e=this._elements,i=e[t];return i&&(delete e[t],i instanceof r&&(i.__storage=null)),this},dispose:function(){this._elements=this._renderList=this._roots=null}},a}),e("zrender/animation/Animation",[Zn,i,"../core/event","./Animator"],function(t){var e=t(i),n=t("../core/event").Dispatcher,r=typeof window!==C&&(window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)},a=t("./Animator"),o=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time=0,n.call(this)};return o[Sn]={constructor:o,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t[Fe]=this;for(var e=t.getClips(),i=0;i<e[on];i++)this.addClip(e[i])},removeClip:function(t){var i=e[Zi](this._clips,t);i>=0&&this._clips[tn](i,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i<e[on];i++)this.removeClip(e[i]);t[Fe]=null},_update:function(){for(var t=(new Date).getTime(),e=t-this._time,i=this._clips,n=i[on],r=[],a=[],o=0;n>o;o++){var s=i[o],l=s.step(t);l&&(r.push(l),a.push(s))}for(var o=0;n>o;)i[o]._needsRemove?(i[o]=i[n-1],i.pop(),n--):o++;n=r[on];for(var o=0;n>o;o++)a[o].fire(r[o]);this._time=t,this.onframe(e),this[an]("frame",e),this.stage[dn]&&this.stage[dn]()},start:function(){function t(){e._running&&(r(t),e._update())}var e=this;this._running=!0,this._time=(new Date).getTime(),r(t)},stop:function(){this._running=!1},clear:function(){this._clips=[]},animate:function(t,e){e=e||{};var i=new a(t,e.loop,e.getter,e.setter);return i}},e.mixin(o,n),o}),e("zrender/Painter",[Zn,"./config","./core/util","./core/log","./core/BoundingRect","./Layer","./graphic/Image"],function(t){function e(t){return parseInt(t,10)}function i(t){return t?t.isBuildin?!0:typeof t[wn]!==Gi||typeof t.refresh!==Gi?!1:!0:!1}function o(t){t.__unusedCount++}function s(t){t[n]=!1,1==t.__unusedCount&&t.clear()}function l(t,e,i){return m.copy(t[Li]()),t[An]&&m[R](t[An]),g.width=e,g[fn]=i,!m.intersect(g)}function c(t,e){if(!t||!e||t[on]!==e[on])return!0;for(var i=0;i<t[on];i++)if(t[i]!==e[i])return!0}function u(t,e){for(var i=0;i<t[on];i++){var n,o=t[i];o[An]&&(n=o[An],e[An](n[0],n[1],n[2],n[3],n[4],n[5]));var s=o.path;s[a](e),o[r](s,o.shape),e.clip(),o[An]&&(n=o.invTransform,e[An](n[0],n[1],n[2],n[3],n[4],n[5]))}}var h=t("./config"),d=t("./core/util"),f=t("./core/log"),p=t("./core/BoundingRect"),v=t("./Layer"),m=new p(0,0,0,0),g=new p(0,0,0,0),y=function(t,e,i){var n=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();i=i||{},this.dpr=i.devicePixelRatio||h.devicePixelRatio,this._singleCanvas=n,this.root=t;var r=t.style;if(r&&(r["-webkit-tap-highlight-color"]="transparent",r["-webkit-user-select"]="none",r["user-select"]="none",r["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e,n){var a=t.width,o=t[fn];this._width=a,this._height=o;var s=new v(t,this,1);s.initContext(),this._layers={0:s},this._zlevelList=[0]}else{var a=this._getWidth(),o=this._getHeight();this._width=a,this._height=o;var l=document[ii]("div");this._domRoot=l;var c=l.style;c[Si]="relative",c.overflow="hidden",c.width=this._width+"px",c[fn]=this._height+"px",t.appendChild(l),this._layers={},this._zlevelList=[]}this._layerConfig={},this.pathToImage=this._createPathToImage()};return y[Sn]={constructor:y,isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._singleCanvas?this._layers[0].dom:this._domRoot},refresh:function(t){var e=this.storage.getDisplayList(!0),i=this._zlevelList;this._paintList(e,t);for(var n=0;n<i[on];n++){var r=i[n],a=this._layers[r];!a.isBuildin&&a.refresh&&a.refresh()}return this},_paintList:function(t,e){null==e&&(e=!1),this._updateLayerStatus(t);var i,r,a,h=this._width,d=this._height;this.eachBuildinLayer(o);for(var p=null,v=0,m=t[on];m>v;v++){var g=t[v],y=this._singleCanvas?0:g[qi];if(r!==y&&(r=y,i=this.getLayer(r),i.isBuildin||f("ZLevel "+r+" has been used by unkown layer "+i.id),a=i.ctx,i.__unusedCount=0,(i[n]||e)&&i.clear()),(i[n]||e)&&!g.invisible&&0!==g.style[bi]&&g.scale[0]&&g.scale[1]&&(!g.culling||!l(g,h,d))){var x=g.__clipPaths;
  c(x,p)&&(p&&a.restore(),x&&(a.save(),u(x,a)),p=x),g.beforeBrush&&g.beforeBrush(a),g.brush(a,!1),g.afterBrush&&g.afterBrush(a)}g[n]=!1}p&&a.restore(),this.eachBuildinLayer(s)},getLayer:function(t){if(this._singleCanvas)return this._layers[0];var e=this._layers[t];return e||(e=new v("zr_"+t,this,this.dpr),e.isBuildin=!0,this._layerConfig[t]&&d.merge(e,this._layerConfig[t],!0),this.insertLayer(t,e),e.initContext()),e},insertLayer:function(t,e){var n=this._layers,r=this._zlevelList,a=r[on],o=null,s=-1,l=this._domRoot;if(n[t])return void f("ZLevel "+t+" has been used already");if(!i(e))return void f("Layer of zlevel "+t+" is not valid");if(a>0&&t>r[0]){for(s=0;a-1>s&&!(r[s]<t&&r[s+1]>t);s++);o=n[r[s]]}if(r[tn](s+1,0,t),o){var c=o.dom;c.nextSibling?l.insertBefore(e.dom,c.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom);n[t]=e},eachLayer:function(t,e){var i,n,r=this._zlevelList;for(n=0;n<r[on];n++)i=r[n],t.call(e,this._layers[i],i)},eachBuildinLayer:function(t,e){var i,n,r,a=this._zlevelList;for(r=0;r<a[on];r++)n=a[r],i=this._layers[n],i.isBuildin&&t.call(e,i,n)},eachOtherLayer:function(t,e){var i,n,r,a=this._zlevelList;for(r=0;r<a[on];r++)n=a[r],i=this._layers[n],i.isBuildin||t.call(e,i,n)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){var e=this._layers,i={};this.eachBuildinLayer(function(t,e){i[e]=t.elCount,t.elCount=0});for(var r=0,a=t[on];a>r;r++){var o=t[r],s=this._singleCanvas?0:o[qi],l=e[s];if(l){if(l.elCount++,l[n])continue;l[n]=o[n]}}this.eachBuildinLayer(function(t,e){i[e]!==t.elCount&&(t[n]=!0)})},clear:function(){return this.eachBuildinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?d.merge(i[t],e,!0):i[t]=e;var n=this._layers[t];n&&d.merge(n,i[t],!0)}},delLayer:function(t){var e=this._layers,i=this._zlevelList,n=e[t];n&&(n.dom[V].removeChild(n.dom),delete e[t],i[tn](d[Zi](i,t),1))},resize:function(t,e){var i=this._domRoot;if(i.style.display="none",t=t||this._getWidth(),e=e||this._getHeight(),i.style.display="",this._width!=t||e!=this._height){i.style.width=t+"px",i.style[fn]=e+"px";for(var n in this._layers)this._layers[n][wn](t,e);this.refresh(!0)}return this._width=t,this._height=e,this},clearLayer:function(t){var e=this._layers[t];e&&e.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(t=t||{},this._singleCanvas)return this._layers[0].dom;var e=new v("image",this,t.pixelRatio||this.dpr);e.initContext();var i=e.ctx;e.clearColor=t[kn],e.clear();for(var n=this.storage.getDisplayList(!0),r=0;r<n[on];r++){var a=n[r];a.invisible||(a.beforeBrush&&a.beforeBrush(i),a.brush(i,!1),a.afterBrush&&a.afterBrush(i))}return e.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getWidth:function(){var t=this.root,i=document.defaultView.getComputedStyle(t);return(t.clientWidth||e(i.width)||e(t.style.width))-(e(i.paddingLeft)||0)-(e(i.paddingRight)||0)|0},_getHeight:function(){var t=this.root,i=document.defaultView.getComputedStyle(t);return(t.clientHeight||e(i[fn])||e(t.style[fn]))-(e(i.paddingTop)||0)-(e(i.paddingBottom)||0)|0},_pathToImage:function(e,i,n,r,a){var o=document[ii](Mn),s=o[ei]("2d");o.width=n*a,o[fn]=r*a,s.clearRect(0,0,n*a,r*a);var l={position:i[Si],rotation:i[$],scale:i.scale};i[Si]=[0,0,0],i[$]=0,i.scale=[1,1],i&&i.brush(s);var c=t("./graphic/Image"),u=new c({id:e,style:{x:0,y:0,image:o}});return null!=l[Si]&&(u[Si]=i[Si]=l[Si]),null!=l[$]&&(u[$]=i[$]=l[$]),null!=l.scale&&(u.scale=i.scale=l.scale),u},_createPathToImage:function(){var t=this;return function(e,i,n,r){return t._pathToImage(e,i,n,r,t.dpr)}}},y}),e("zrender/graphic/helper/smoothSpline",[Zn,"../../core/vector"],function(t){function e(t,e,i,n,r,a,o){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*o+(-3*(e-i)-2*s-l)*a+s*r+e}var i=t("../../core/vector");return function(t,n){for(var r=t[on],a=[],o=0,s=1;r>s;s++)o+=i[f](t[s-1],t[s]);var l=o/2;l=r>l?r:l;for(var s=0;l>s;s++){var c,u,h,d=s/(l-1)*(n?r:r-1),p=Math.floor(d),v=d-p,m=t[p%r];n?(c=t[(p-1+r)%r],u=t[(p+1)%r],h=t[(p+2)%r]):(c=t[0===p?p:p-1],u=t[p>r-2?r-1:p+1],h=t[p>r-3?r-1:p+2]);var g=v*v,y=v*g;a.push([e(c[0],m[0],u[0],h[0],v,g,y),e(c[1],m[1],u[1],h[1],v,g,y)])}return a}}),e("zrender/graphic/helper/smoothBezier",[Zn,"../../core/vector"],function(t){var e=t("../../core/vector"),i=e.min,n=e.max,r=e.scale,a=e[f],o=e.add;return function(t,s,l,c){var u,h,d,f,p=[],v=[],m=[],g=[];if(c){d=[1/0,1/0],f=[-1/0,-1/0];for(var y=0,x=t[on];x>y;y++)i(d,d,t[y]),n(f,f,t[y]);i(d,d,c[0]),n(f,f,c[1])}for(var y=0,x=t[on];x>y;y++){var _=t[y];if(l)u=t[y?y-1:x-1],h=t[(y+1)%x];else{if(0===y||y===x-1){p.push(e.clone(t[y]));continue}u=t[y-1],h=t[y+1]}e.sub(v,h,u),r(v,v,s);var w=a(_,u),b=a(_,h),M=w+b;0!==M&&(w/=M,b/=M),r(m,v,-w),r(g,v,b);var S=o([],_,m),C=o([],_,g);c&&(n(S,S,d),i(S,S,f),n(C,C,d),i(C,C,f)),p.push(S),p.push(C)}return l&&p.push(p.shift()),p}}),e("zrender/core/event",[Zn,"../mixin/Eventful"],function(t){function e(t){return t.getBoundingClientRect?t.getBoundingClientRect():{left:0,top:0}}function i(t,i){if(i=i||window.event,null!=i.zrX)return i;var n=i.type,r=n&&n[Zi]("touch")>=0;if(r){var a="touchend"!=n?i.targetTouches[0]:i.changedTouches[0];if(a){var o=e(t);i.zrX=a.clientX-o.left,i.zrY=a.clientY-o.top}}else{var s=0,l=0;i.pageX||i.pageY?(s=i.pageX,l=i.pageY):(s=i.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,l=i.clientY+document.body.scrollTop+document.documentElement.scrollTop);var c=e(t),u=c.top+(window.pageYOffset||t.scrollTop)-(t.clientTop||0),h=c.left+(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0);i.zrX=s-h,i.zrY=l-u,i.zrDelta=i.wheelDelta?i.wheelDelta/120:-(i.detail||0)/3}return i}function n(t,e,i){o?t.addEventListener(e,i):t.attachEvent("on"+e,i)}function r(t,e,i){o?t.removeEventListener(e,i):t.detachEvent("on"+e,i)}var a=t("../mixin/Eventful"),o=typeof window!==C&&!!window.addEventListener,s=o?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};return{normalizeEvent:i,addEventListener:n,removeEventListener:r,stop:s,Dispatcher:a}}),e("zrender/mixin/Draggable",[Zn],function(){function t(){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 t[Sn]={constructor:t,_dragStart:function(t){var e=t[$i];e&&e[b]&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this._dispatchProxy(e,"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var i=t.offsetX,n=t.offsetY,r=i-this._x,a=n-this._y;this._x=i,this._y=n,e.drift(r,a,t),this._dispatchProxy(e,"drag",t.event);var o=this._findHover(i,n,e),s=this._dropTarget;this._dropTarget=o,e!==o&&(s&&o!==s&&this._dispatchProxy(s,"dragleave",t.event),o&&o!==s&&this._dispatchProxy(o,"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this._dispatchProxy(e,"dragend",t.event),this._dropTarget&&this._dispatchProxy(this._dropTarget,"drop",t.event),this._draggingTarget=null,this._dropTarget=null}},t}),e("zrender/core/GestureMgr",[Zn],function(){function t(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}function e(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var i=function(){this._track=[]};i[Sn]={constructor:i,recognize:function(t,e){return this._doTrack(t,e),this._recognize(t)},clear:function(){return this._track[on]=0,this},_doTrack:function(t,e){var i=t.touches;if(i){for(var n={points:[],touches:[],target:e,event:t},r=0,a=i[on];a>r;r++){var o=i[r];n[de].push([o.clientX,o.clientY]),n.touches.push(o)}this._track.push(n)}},_recognize:function(t){for(var e in n)if(n.hasOwnProperty(e)){var i=n[e](this._track,t);if(i)return i}}};var n={pinch:function(i,n){var r=i[on];if(r){var a=(i[r-1]||{})[de],o=(i[r-2]||{})[de]||a;if(o&&o[on]>1&&a&&a[on]>1){var s=t(a)/t(o);!isFinite(s)&&(s=1),n.pinchScale=s;var l=e(a);return n.pinchX=l[0],n.pinchY=l[1],{type:"pinch",target:i[0][$i],event:n}}}}};return i}),e("echarts/util/symbol",[Zn,"./graphic",P],function(t){var e=t("./graphic"),i=t(P),n=e.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=e.width/2,a=e[fn]/2;t[y](i,n-a),t[m](i+r,n+a),t[m](i-r,n+a),t[v]()}}),a=e.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=e.width/2,a=e[fn]/2;t[y](i,n-a),t[m](i+r,n),t[m](i,n+a),t[m](i-r,n),t[v]()}}),o=e.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,n=e.y,r=e.width/5*3,a=Math.max(r,e[fn]),o=r/2,s=o*o/(a-o),l=n-a+o+s,c=Math.asin(s/o),u=Math.cos(c)*o,h=Math.sin(c),d=Math.cos(c);t.arc(i,l,o,Math.PI-c,2*Math.PI+c);var f=.6*o,p=.7*o;t[g](i+u-h*f,l+s+d*f,i,n-p,i,n),t[g](i,n-p,i-u+h*f,l+s+d*f,i-u,l+s),t[v]()}}),s=e.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e[fn],n=e.width,r=e.x,a=e.y,o=n/3*2;t[y](r,a),t[m](r+o,a+i),t[m](r,a+i/4*3),t[m](r-o,a+i),t[m](r,a),t[v]()}}),l={line:e.Line,rect:e.Rect,roundRect:e.Rect,square:e.Rect,circle:e[A],diamond:a,pin:o,arrow:s,triangle:n},c={line:function(t,e,i,n,r){r.x1=t,r.y1=e+n/2,r.x2=t+i,r.y2=e+n/2},rect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r[fn]=n},roundRect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r[fn]=n,r.r=Math.min(i,n)/4},square:function(t,e,i,n,r){var a=Math.min(i,n);r.x=t,r.y=e,r.width=a,r[fn]=a},circle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.r=Math.min(i,n)/2},diamond:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r[fn]=n},pin:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r[fn]=n},arrow:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r[fn]=n},triangle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r[fn]=n}},u={};for(var h in l)u[h]=new l[h];var d=e.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},beforeBrush:function(){var t=this.style,e=this.shape;"pin"===e.symbolType&&t.textPosition===te&&(t.textPosition=["50%","40%"],t[zi]=Ci,t[K]=x)},buildPath:function(t,e){var i=e.symbolType,n=u[i];"none"!==e.symbolType&&(n||(i="rect",n=u[i]),c[i](e.x,e.y,e.width,e[fn],n.shape),n[r](t,n.shape))}}),f=function(t){if("image"!==this.type){var e=this.style,i=this.shape;i&&"line"===i.symbolType?e[F]=t:this.__isEmptyBrush?(e[F]=t,e.fill="#fff"):(e.fill&&(e.fill=t),e[F]&&(e[F]=t)),this.dirty()}},p={createSymbol:function(t,n,r,a,o,s){var l=0===t[Zi]("empty");l&&(t=t.substr(5,1)[Cn]()+t.substr(6));var c;return c=0===t[Zi]("image://")?new e.Image({style:{image:t.slice(8),x:n,y:r,width:a,height:o}}):0===t[Zi]("path://")?e.makePath(t.slice(7),{},new i(n,r,a,o)):new d({shape:{symbolType:t,x:n,y:r,width:a,height:o}}),c.__isEmptyBrush=l,c.setColor=f,c.setColor(s),c}};return p}),e("echarts/chart/helper/LinePath",[Zn,qe],function(t){var e=t(qe),i=e.Line[Sn],n=e.BezierCurve[Sn];return e.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(t,e){(null==e.cpx1||null==e.cpy1?i:n)[r](t,e)},pointAt:function(t){var e=this.shape;return null==e.cpx1||null==e.cpy1?i.pointAt.call(this,t):n.pointAt.call(this,t)}})}),e("echarts/component/axis/AxisView",[Zn,Gn,qe,"./AxisBuilder",si],function(t){function e(t,e){function i(t){var e=n[Ye](t);return e.toGlobalCoord(e[Me](0))}var n=t[zn],r=e.axis,a={},s=r[Si],l=r.onZero?"onZero":s,c=r.dim,u=n[Pn](),h=[u.x,u.x+u.width,u.y,u.y+u[fn]],d={x:{top:h[2],bottom:h[3]},y:{left:h[0],right:h[1]}};d.x.onZero=Math.max(Math.min(i("y"),d.x[pn]),d.x.top),d.y.onZero=Math.max(Math.min(i("x"),d.y.right),d.y.left),a[Si]=["y"===c?d.y[l]:h[0],"x"===c?d.x[l]:h[3]];var f={x:0,y:1};a[$]=Math.PI/2*f[c];var p={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=p[s],r.onZero&&(a.labelOffset=d[c][s]-d[c].onZero),e[_n](O).get(te)&&(a.tickDirection=-a.tickDirection),e[_n](N).get(te)&&(a.labelDirection=-a.labelDirection);var v=e[_n](N).get(o);return a.labelRotation="top"===l?-v:v,a.labelInterval=r.getLabelInterval(),a.z2=1,a}var i=t(Gn),n=t(qe),r=t("./AxisBuilder"),a=r.ifIgnoreOnTick,s=r.getInterval,l=[B,N,O,"axisName"],c=["splitLine","splitArea"],u=t(si)[Vn]({type:"axis",render:function(t,n){if(this.group[In](),t.get("show")){var a=n[Je]("grid",t.get("gridIndex")),o=e(a,t),s=new r(t,o);i.each(l,s.add,s),this.group.add(s.getGroup()),i.each(c,function(e){t.get(e+".show")&&this["_"+e](t,a,o.labelInterval)},this)}},_splitLine:function(t,e,i){var r=t.axis,o=t[_n]("splitLine"),l=o[_n](Rn),c=l.get("width"),u=l.get("color"),h=s(o,i);u=u instanceof Array?u:[u];for(var d=e[zn][Pn](),f=r.isHorizontal(),p=[],v=0,m=r.getTicksCoords(),g=[],y=[],x=0;x<m[on];x++)if(!a(r,x,h)){var _=r.toGlobalCoord(m[x]);f?(g[0]=_,g[1]=d.y,y[0]=_,y[1]=d.y+d[fn]):(g[0]=d.x,g[1]=_,y[0]=d.x+d.width,y[1]=_);var w=v++%u[on];p[w]=p[w]||[],p[w].push(new n.Line(n.subPixelOptimizeLine({shape:{x1:g[0],y1:g[1],x2:y[0],y2:y[1]},style:{lineWidth:c},silent:!0})))}for(var x=0;x<p[on];x++)this.group.add(n.mergePath(p[x],{style:{stroke:u[x%u[on]],lineDash:l.getLineDash(),lineWidth:c},silent:!0}))},_splitArea:function(t,e,i){var r=t.axis,o=t[_n]("splitArea"),l=o.get("areaStyle.color"),c=e[zn][Pn](),u=r.getTicksCoords(),h=r.toGlobalCoord(u[0]),d=r.toGlobalCoord(u[0]),f=[],p=0,v=s(o,i);l=l instanceof Array?l:[l];for(var m=1;m<u[on];m++)if(!a(r,m,v)){var g,y,x,_,w=r.toGlobalCoord(u[m]);r.isHorizontal()?(g=h,y=c.y,x=w-g,_=c[fn]):(g=c.x,y=d,x=c.width,_=w-y);var b=p++%l[on];f[b]=f[b]||[],f[b].push(new n.Rect({shape:{x:g,y:y,width:x,height:_},silent:!0})),h=g+x,d=y+_}for(var m=0;m<f[on];m++)this.group.add(n.mergePath(f[m],{style:{fill:l[m%l[on]]},silent:!0}))}});u[ln]({type:"xAxis"}),u[ln]({type:"yAxis"})}),e("zrender/Layer",[Zn,"./core/util","./config"],function(t){function e(){return!1}function i(t,e,i,n){var r=document[ii](e),a=i[yn](),o=i[gn](),s=r.style;return s[Si]="absolute",s.left=0,s.top=0,s.width=a+"px",s[fn]=o+"px",r.width=a*n,r[fn]=o*n,r.setAttribute("data-zr-dom-id",t),r}var n=t("./core/util"),r=t("./config"),a=function(t,a,o){var s;o=o||r.devicePixelRatio,typeof t===bn?s=i(t,Mn,a,o):n[un](t)&&(s=t,t=s.id),this.id=t,this.dom=s;var l=s.style;l&&(s.onselectstart=e,l["-webkit-user-select"]="none",l["user-select"]="none",l["-webkit-touch-callout"]="none",l["-webkit-tap-highlight-color"]="rgba(0,0,0,0)"),this.domBack=null,this.ctxBack=null,this.painter=a,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=o};return a[Sn]={constructor:a,elCount:0,__dirty:!0,initContext:function(){this.ctx=this.dom[ei]("2d");var t=this.dpr;1!=t&&this.ctx.scale(t,t)},createBackBuffer:function(){var t=this.dpr;this.domBack=i("back-"+this.id,Mn,this.painter,t),this.ctxBack=this.domBack[ei]("2d"),1!=t&&this.ctxBack.scale(t,t)},resize:function(t,e){var i=this.dpr,n=this.dom,r=n.style,a=this.domBack;r.width=t+"px",r[fn]=e+"px",n.width=t*i,n[fn]=e*i,1!=i&&this.ctx.scale(i,i),a&&(a.width=t*i,a[fn]=e*i,1!=i&&this.ctxBack.scale(i,i))},clear:function(t){var e=this.dom,i=this.ctx,n=e.width,r=e[fn],a=this.clearColor,o=this.motionBlur&&!t,s=this.lastFrameAlpha,l=this.dpr;if(o&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(e,0,0,n/l,r/l)),i.clearRect(0,0,n/l,r/l),a&&(i.save(),i.fillStyle=this.clearColor,i.fillRect(0,0,n/l,r/l),i.restore()),o){var c=this.domBack;i.save(),i.globalAlpha=s,i.drawImage(c,0,0,n/l,r/l),i.restore()}}},a}),e("echarts/component/axis/AxisBuilder",[Zn,Gn,qe,We,U],function(t){function e(t,e,i){var n,r,a=l(e-t[$]);return c(a)?(r=i>0?"top":pn,n=Ci):c(a-u)?(r=i>0?pn:"top",n=Ci):(r=x,n=a>0&&u>a?i>0?"right":"left":i>0?"left":"right"),{rotation:a,textAlign:n,textBaseline:r}}function i(t,e,i){var n,r,a=l(-t[$]),o=i[0]>i[1],s="start"===e&&!o||"start"!==e&&o;return c(a-u/2)?(r=s?pn:"top",n=Ci):c(a-1.5*u)?(r=s?"top":pn,n=Ci):(r=x,n=1.5*u>a&&a>u/2?s?"left":"right":s?"right":"left"),{rotation:a,textAlign:n,textBaseline:r}}var n=t(Gn),r=t(qe),a=t(We),s=t(U),l=s.remRadian,c=s.isRadianAroundZero,u=Math.PI,h=function(t,e){this.opt=e,this.axisModel=t,n[Dn](e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new r.Group({position:e[Si].slice(),rotation:e[$]})};h[Sn]={constructor:h,hasBuilder:function(t){return!!f[t]},add:function(t){f[t].call(this)},getGroup:function(){return this.group}};var f={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var i=this.axisModel.axis[pi]();this.group.add(new r.Line({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:n[ln]({lineCap:"round"},e[_n]("axisLine.lineStyle")[ve]()),strokeContainThreshold:t.strokeContainThreshold,silent:!!t.silent,z2:1}))}},axisTick:function(){var t=this.axisModel;if(t.get("axisTick.show")){for(var e=t.axis,i=t[_n](O),n=this.opt,a=i[_n](Rn),o=i.get(on),s=v(i,n.labelInterval),l=e.getTicksCoords(),c=[],u=0;u<l[on];u++)if(!p(e,u,s)){var h=l[u];c.push(new r.Line(r.subPixelOptimizeLine({shape:{x1:h,y1:0,x2:h,y2:n.tickDirection*o},style:{lineWidth:a.get("width")},silent:!0})))}this.group.add(r.mergePath(c,{style:a[ve](),silent:!0}))}},axisLabel:function(){function t(t,e){var i=t&&t[Li]().clone(),n=e&&e[Li]().clone();return i&&n?(i[R](t[d]()),n[R](e[d]()),i.intersect(n)):void 0}var i=this.axisModel;if(i.get("axisLabel.show")){var n=this.opt,s=i.axis,l=i[_n](N),c=l[_n](Pi),h=l.get("margin"),f=s.scale[gi](),v=i[Ke](),m=n.labelRotation;null==m&&(m=l.get(o)||0),m=m*u/180;for(var g=e(n,m,n.labelDirection),y=i.get("data"),x=[],_=0;_<f[on];_++)if(!p(s,_,n.labelInterval)){var w=c;y&&y[_]&&y[_][Pi]&&(w=new a(y[_][Pi],c,i[D]));var b=s[Me](f[_]),M=[b,n.labelOffset+n.labelDirection*h],S=new r.Text({style:{text:v[_],textAlign:w.get("align",!0)||g[zi],textBaseline:w.get("baseline",!0)||g[K],textFont:w[Di](),fill:w[ki]()},position:M,rotation:g[$],silent:!0,z2:10});x.push(S),this.group.add(S)}if(s.type!==je){if(i.get("min")){var C=x[0],A=x[1];t(C,A)&&(C[vn]=!0)}if(i.get("max")){var T=x[x[on]-1],L=x[x[on]-2];t(L,T)&&(T[vn]=!0)}}}},axisName:function(){var t=this.opt,n=this.axisModel,a=this.opt.axisName;if(null==a&&(a=n.get("name")),a){var o,s=n.get("nameLocation"),l=t.nameDirection,c=n[_n]("nameTextStyle"),u=n.get("nameGap")||0,h=this.axisModel.axis[pi](),d=h[0]>h[1]?-1:1,f=["start"===s?h[0]-d*u:"end"===s?h[1]+d*u:(h[0]+h[1])/2,s===x?t.labelOffset+l*u:0];o=s===x?e(t,t[$],l):i(t,s,h),this.group.add(new r.Text({style:{text:a,textFont:c[Di](),fill:c[ki]()||n.get("axisLine.lineStyle.color"),textAlign:o[zi],textBaseline:o[K]},position:f,rotation:o[$],silent:!0,z2:1}))}}},p=h.ifIgnoreOnTick=function(t,e,i){return t.scale.type===Ue&&typeof i===Gi&&!i(e,t.scale[mi](e))||e%(i+1)},v=h.getInterval=function(t,e){var i=t.get(E);return(null==i||"auto"==i)&&(i=e),i};return h}),e("echarts/preprocessor/helper/compatStyle",[Zn,Gn],function(t){function e(t){var e=t&&t[Oi];e&&i.each(n,function(n){var r=e[Ze],a=e[Te];r&&r[n]&&(t[n]=t[n]||{},t[n][Ze]?i.merge(t[n][Ze],r[n]):t[n][Ze]=r[n],r[n]=null),a&&a[n]&&(t[n]=t[n]||{},t[n][Te]?i.merge(t[n][Te],a[n]):t[n][Te]=a[n],a[n]=null)})}var i=t(Gn),n=["areaStyle",Rn,"nodeStyle","linkStyle","chordStyle","label","labelLine"];return function(t){e(t);var n=t.data;if(n){for(var r=0;r<n[on];r++)e(n[r]);var a=t.markPoint;if(a&&a.data)for(var o=a.data,r=0;r<o[on];r++)e(o[r]);var s=t.markLine;if(s&&s.data)for(var l=s.data,r=0;r<l[on];r++)i[Fi](l[r])?(e(l[r][0]),e(l[r][1])):e(l[r])}}}),e("echarts/component/parallelAxis",[Zn,"../coord/parallel/parallelCreator","./axis/parallelAxisAction","./axis/ParallelAxisView"],function(t){t("../coord/parallel/parallelCreator"),t("./axis/parallelAxisAction"),t("./axis/ParallelAxisView")}),e("echarts/chart/helper/SymbolDraw",[Zn,qe,"./Symbol"],function(t){function e(t){this.group=new n.Group,this._symbolCtor=t||r}function i(t,e,i){var n=t[Ge](e);return!(!n||isNaN(n[0])||isNaN(n[1])||i&&i(e)||"none"===t[ze](e,he))}var n=t(qe),r=t("./Symbol"),a=e[Sn];return a[ri]=function(t,e){var r=this.group,a=t[ji],o=this._data,s=this._symbolCtor;t.diff(o).add(function(n){var a=t[Ge](n);if(i(t,n,e)){var o=new s(t,n);o.attr(Si,a),t[Re](n,o),r.add(o)}})[dn](function(l,c){var u=o[Ve](c),h=t[Ge](l);return i(t,l,e)?(u?(u[ri](t,l),n[Be](u,{position:h},a)):(u=new s(t,l),u.attr(Si,h)),r.add(u),void t[Re](l,u)):void r[cn](u)})[cn](function(t){var e=o[Ve](t);e&&e.fadeOut(function(){r[cn](e)})})[Oe](),this._data=t},a[hn]=function(){var t=this._data;t&&t[Ie](function(e,i){e.attr(Si,t[Ge](i))})},a[cn]=function(t){var e=this.group,i=this._data;i&&(t?i[Ie](function(t){t.fadeOut(function(){e[cn](t)})}):e[In]())},e}),e("echarts/chart/helper/Symbol",[Zn,Gn,u,qe,U],function(t){function e(t){return r[Fi](t)||(t=[+t,+t]),t}function i(t,e){o.Group.call(this),this[ri](t,e)}function n(t,e){this[k].drift(t,e)}var r=t(Gn),a=t(u),o=t(qe),l=t(U),c=i[Sn];c._createSymbol=function(t,i,r){this[In]();var l=i[ji],c=i[ze](r,"color"),u=a[s](t,-.5,-.5,1,1,c);u.attr({style:{strokeNoScale:!0},z2:100,scale:[0,0]}),u.drift=n;var h=e(i[ze](r,ue));o[Ee](u,{scale:h},l),this._symbolType=t,this.add(u)},c.stopSymbolAnimation=function(t){this[Q](0).stopAnimation(t)},c.getScale=function(){return this[Q](0).scale},c.highlight=function(){this[Q](0)[an](Te)},c.downplay=function(){this[Q](0)[an](Ze)},c.setZ=function(t,e){var i=this[Q](0);i[qi]=t,i.z=e},c.setDraggable=function(t){var e=this[Q](0);e[b]=t,e.cursor=t?"move":"pointer"},c[ri]=function(t,i){var n=t[ze](i,he)||"circle",r=t[ji],a=e(t[ze](i,ue));if(n!==this._symbolType)this._createSymbol(n,t,i);else{var s=this[Q](0);o[Be](s,{scale:a},r)}this._updateCommon(t,i,a),this._seriesModel=r};var h=[Oi,Ze],d=[Oi,Te],f=["label",Ze],p=["label",Te];return c._updateCommon=function(t,i,n){var a=this[Q](0),s=t[ji],c=t[Ne](i),u=c[_n](h),v=t[ze](i,"color"),m=c[_n](d)[Ln]();a[$]=c[S]("symbolRotate")*Math.PI/180||0;var g=c[S]("symbolOffset");if(g){var y=a[Si];y[0]=l[Ce](g[0],n[0]),y[1]=l[Ce](g[1],n[1])}a.setColor(v),r[ln](a.style,u[Ln](["color"]));var x=c[_n](f),_=c[_n](p),w=t[fi][t[fi][on]-1],b=s[ke](i,Ze)||t.get(w,i),M=a.style;x.get("show")?(o.setText(M,x,v),M.text=b):M.text="",_[S]("show")?(o.setText(m,_,v),m.text=b):m.text="";var C=e(t[ze](i,ue));if(a.off(Ji).off(Ki).off(Te).off(Ze),o[Ae](a,m),c[S]("hoverAnimation")){var A=function(){var t=C[1]/C[0];this.animateTo({scale:[Math.max(1.1*C[0],C[0]+3),Math.max(1.1*C[1],C[1]+3*t)]},400,"elasticOut")},T=function(){this.animateTo({scale:C},400,"elasticOut")};a.on(Ji,A).on(Ki,T).on(Te,A).on(Ze,T)}},c.fadeOut=function(t){var e=this[Q](0);e.style.text="",o[Be](e,{scale:[0,0]},this._seriesModel,t)},r[Vi](i,o.Group),i}),e("echarts/chart/line/lineAnimationDiff",[Zn,"zrender/core/arrayDiff"],function(t){function e(t){return t>=0?1:-1}function i(t,i,n){for(var r,a=t[He](),o=t[Se](a),s=a.onZero?0:o.scale[pi]()[0],l=o.dim,c="x"===l||l===be?1:0,u=i.stackedOn,h=i.get(l,n);u&&e(u.get(l,n))===e(h);){r=u;break}var d=[];return d[c]=i.get(a.dim,n),d[1-c]=r?r.get(l,n,!0):s,t[di](d)}var n=t("zrender/core/arrayDiff");return function(t,e,r,a,o,s){for(var l=e[we](e.getId),c=t[we](t.getId),u=[],h=[],d=[],f=[],p=[],v=[],m=[],g=n(c,l),y=s[fi],x=0;x<g[on];x++){var _=g[x],w=!0;switch(_.cmd){case"=":var b=t[Ge](_.idx),M=e[Ge](_.idx1);(isNaN(b[0])||isNaN(b[1]))&&(b=M.slice()),u.push(b),h.push(M),d.push(r[_.idx]),f.push(a[_.idx1]),m.push(e[X](_.idx1));break;case"+":var S=_.idx;u.push(o[di]([e.get(y[0],S,!0),e.get(y[1],S,!0)])),h.push(e[Ge](S).slice()),d.push(i(o,e,S)),f.push(a[S]),m.push(e[X](S));break;case"-":var S=_.idx,C=t[X](S);C!==S?(u.push(t[Ge](S)),h.push(s[di]([t.get(y[0],S,!0),t.get(y[1],S,!0)])),d.push(r[S]),f.push(i(s,t,S)),m.push(C)):w=!1}w&&(p.push(_),v.push(v[on]))}v.sort(function(t,e){return m[t]-m[e]});for(var A=[],T=[],L=[],k=[],D=[],x=0;x<v[on];x++){var S=v[x];A[x]=u[S],T[x]=h[S],L[x]=d[S],k[x]=f[S],D[x]=p[S]}return{current:A,next:T,stackedOnCurrent:L,stackedOnNext:k,status:D}}}),e("echarts/chart/line/poly",[Zn,"zrender/graphic/Path",w],function(t){function e(t,e,i,n,d,f,p,v,x){for(var _=i,w=0;d>w;w++){var b=e[_];if(_>=n||0>_||isNaN(b[0])||isNaN(b[1]))break;if(_===i)t[f>0?y:m](b[0],b[1]),l(u,b);else if(x>0){var M=_-f,S=_+f;if(f>0&&_===n-1||0>=f&&0===_)l(h,b);else{var C=e[M],A=e[S];(isNaN(A[0])||isNaN(A[1]))&&(A=b),r.sub(c,A,C),s(h,b,c,-x/2)}a(u,u,v),o(u,u,p),a(h,h,v),o(h,h,p),t[g](u[0],u[1],h[0],h[1],b[0],b[1]),s(u,b,c,x/2)}else t[m](b[0],b[1]);_+=f}return w}function i(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var r=0;r<t[on];r++){var a=t[r];a[0]<i[0]&&(i[0]=a[0]),a[1]<i[1]&&(i[1]=a[1]),a[0]>n[0]&&(n[0]=a[0]),a[1]>n[1]&&(n[1]=a[1])}return{min:e?i:n,max:e?n:i}}var n=t("zrender/graphic/Path"),r=t(w),a=(Math.min,Math.max,r.min),o=r.max,s=r.scaleAndAdd,l=r.copy,c=[],u=[],h=[];return{Polyline:n[ln]({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0},style:{fill:null,stroke:"#000"},buildPath:function(t,n){for(var r=n[de],a=0,o=r[on],s=i(r,n.smoothConstraint);o>a;)a+=e(t,r,a,o,o,1,s.min,s.max,n.smooth)+1}}),Polygon:n[ln]({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0},buildPath:function(t,n){for(var r=n[de],a=n.stackedOnPoints,o=0,s=r[on],l=i(r,n.smoothConstraint),c=i(a,n.smoothConstraint);s>o;){var u=e(t,r,o,s,s,1,l.min,l.max,n.smooth);e(t,a,o+u-1,s,u,-1,c.min,c.max,n.stackedOnSmooth),o+=u+1,t[v]()}}})}}),e("echarts/chart/helper/dataSelectableMixin",[Zn,Gn],function(t){var e=t(Gn);return{updateSelectedMap:function(){var t=this[xn];this._dataOptMap=e.reduce(t.data,function(t,e){return t[e.name]=e,t},{})},select:function(t){var i=this._dataOptMap,n=i[t],r=this.get("selectedMode");"single"===r&&e.each(i,function(t){t[J]=!1}),n&&(n[J]=!0)},unSelect:function(t){var e=this._dataOptMap[t];e&&(e[J]=!1)},toggleSelected:function(t){var e=this._dataOptMap[t];return null!=e?(this[e[J]?"unSelect":"select"](t),e[J]):void 0},isSelected:function(t){var e=this._dataOptMap[t];return e&&e[J]}}}),e("echarts/chart/helper/LargeSymbolDraw",[Zn,qe,u,Gn],function(t){function e(){this.group=new i.Group,this._symbolEl=new o({silent:!0})}var i=t(qe),n=t(u),a=t(Gn),o=i.extendShape({shape:{points:null,sizes:null},symbolProxy:null,buildPath:function(t,e){for(var i=e[de],n=e.sizes,a=this.symbolProxy,o=a.shape,s=0;s<i[on];s++){var l=i[s],c=n[s];c[0]<4?t.rect(l[0]-c[0]/2,l[1]-c[1]/2,c[0],c[1]):(o.x=l[0]-c[0]/2,o.y=l[1]-c[1]/2,o.width=c[0],o[fn]=c[1],a[r](t,o))}}}),l=e[Sn];return l[ri]=function(t){this.group[In]();var e=this._symbolEl,i=t[ji];e[me]({points:t[we](t[Ge]),sizes:t[we](function(e){var i=t[ze](e,ue);return a[Fi](i)||(i=[i,i]),i})}),e.symbolProxy=n[s](t[pe](he),0,0,0,0),e.setColor=e.symbolProxy.setColor,e[Mi](i[_n](oi)[Ln](["color"]));var r=t[pe]("color");r&&e.setColor(r),this.group.add(this._symbolEl)},l[hn]=function(t){var e=t[Bn]();this._symbolEl[me]({points:e[we](e[Ge])})},l[cn]=function(){this.group[In]()},e}),e("echarts/chart/helper/whiskerBoxCommon",[Zn,le,"../../data/helper/completeDimensions","../helper/WhiskerBoxDraw"],function(t){function e(t){return null==t.value?t:t.value}var i=t(le),n=t("../../data/helper/completeDimensions"),r=t("../helper/WhiskerBoxDraw"),a={_baseAxisDim:null,getInitialData:function(t,r){var a,o,s=r[Je]("xAxis",this.get("xAxisIndex")),c=r[Je]("yAxis",this.get("yAxisIndex")),u=s.get("type"),h=c.get("type");u===je?(t[ai]=Z,a=s.getCategories(),o=!0):h===je?(t[ai]=l,a=c.getCategories(),o=!0):t[ai]=t[ai]||Z,this._baseAxisDim=t[ai]===Z?"x":"y";var d=t.data,f=this[fi]=["base"][ti](this.valueDimensions);n(f,d);var p=new i(f,this);return p[re](d,a?a.slice():null,function(t,i,n,r){var a=e(t);return o?"base"===i?n:a[r-1]:a[r]}),p},getDimensionsOnAxis:function(t){var e=this.valueDimensions.slice(),i=["base"],n={horizontal:{x:i,y:e},vertical:{x:e,y:i}};return n[this.get(ai)][t]},getBaseAxisModel:function(){var t=this._baseAxisDim;return this[D][Je](t+"Axis",this.get(t+"AxisIndex"))}},o={init:function(){var t=this._whiskerBoxDraw=new r(this.getStyleUpdater());this.group.add(t.group)},render:function(t){this._whiskerBoxDraw[ri](t[Bn]())},remove:function(){this._whiskerBoxDraw[cn]()}};return{seriesModelMixin:a,viewMixin:o}}),e("echarts/component/axis/AngleAxisView",[Zn,Gn,qe,We,si],function(t){function e(t,e,i,n){var r=t.coordToPoint([e,n]),a=t.coordToPoint([i,n]);return{x1:r[0],y1:r[1],x2:a[0],y2:a[1]}}var i=t(Gn),n=t(qe),r=t(We),a=[B,N,O,"splitLine","splitArea"];t(si)[Vn]({type:"angleAxis",render:function(t,e){if(this.group[In](),t.get("show")){var n=e[Je]("polar",t.get(G)),r=t.axis,o=n[zn],s=o.getRadiusAxis()[pi](),l=r.getTicksCoords();r.type!==je&&l.pop(),i.each(a,function(e){t.get(e+".show")&&this["_"+e](t,o,l,s)},this)}},_axisLine:function(t,e,i,r){var a=t[_n]("axisLine.lineStyle"),o=new n[A]({shape:{cx:e.cx,cy:e.cy,r:r[1]},style:a[ve](),z2:1,silent:!0});o.style.fill=null,this.group.add(o)},_axisTick:function(t,r,a,o){var s=t[_n](O),l=(s.get(te)?-1:1)*s.get(on),c=i.map(a,function(t){return new n.Line({shape:e(r,o[1],o[1]+l,t)})});this.group.add(n.mergePath(c,{style:s[_n](Rn)[ve]()}))},_axisLabel:function(t,e,i,a){for(var o=t.axis,s=t.get("data"),l=t[_n](N),c=l[_n](Pi),u=t[Ke](),h=l.get("margin"),d=o.getLabelsCoords(),f=0;f<i[on];f++){var p=a[1],v=e.coordToPoint([p+h,d[f]]),m=e.cx,g=e.cy,y=Math.abs(v[0]-m)/p<.3?Ci:v[0]>m?"left":"right",_=Math.abs(v[1]-g)/p<.3?x:v[1]>g?"top":pn,w=c;s&&s[f]&&s[f][Pi]&&(w=new r(s[f][Pi],c)),this.group.add(new n.Text({style:{x:v[0],y:v[1],fill:w[ki](),text:u[f],textAlign:y,textBaseline:_,textFont:w[Di]()},silent:!0}))}},_splitLine:function(t,r,a,o){var s=t[_n]("splitLine"),l=s[_n](Rn),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var h=[],d=0;d<a[on];d++){var f=u++%c[on];h[f]=h[f]||[],h[f].push(new n.Line({shape:e(r,o[0],o[1],a[d])}))}for(var d=0;d<h[on];d++)this.group.add(n.mergePath(h[d],{style:i[Dn]({stroke:c[d%c[on]]},l[ve]()),silent:!0,z:t.get("z")}))},_splitArea:function(t,e,r,a){var o=t[_n]("splitArea"),s=o[_n]("areaStyle"),l=s.get("color"),c=0;l=l instanceof Array?l:[l];for(var u=[],h=Math.PI/180,d=-r[0]*h,f=Math.min(a[0],a[1]),p=Math.max(a[0],a[1]),v=t.get(j),m=1;m<r[on];m++){var g=c++%l[on];u[g]=u[g]||[],u[g].push(new n[xe]({shape:{cx:e.cx,cy:e.cy,r0:f,r:p,startAngle:d,endAngle:-r[m]*h,clockwise:v},silent:!0})),d=-r[m]*h}for(var m=0;m<u[on];m++)this.group.add(n.mergePath(u[m],{style:i[Dn]({fill:l[m%l[on]]},s.getAreaStyle()),silent:!0}))}})}),e("echarts/data/Tree",[Zn,Gn,"../model/Model","./List","./helper/linkList","./helper/completeDimensions"],function(t){function e(t,e){this.root,this.data,this._nodes=[],this[ji]=t,this.levelModels=n.map(e||[],function(e){return new r(e,t,t[D])})}function i(t,e){var i=e.children;t[V]!==e&&(i.push(t),t[V]=e,e.hostTree._nodes.push(t))}var n=t(Gn),r=t("../model/Model"),a=t("./List"),o=t("./helper/linkList"),s=t("./helper/completeDimensions"),l=function(t,e,i){this.name=t||"",this.depth=0,this[fn]=0,this[V]=null,this[Yi]=null==e?-1:e,this.children=[],this.viewChildren=[],this.hostTree=i};return l[Sn]={constructor:l,isRemoved:function(){return this[Yi]<0},eachNode:function(t,e,i){typeof t===Gi&&(i=e,e=t,t=null),t=t||{},n[Ii](t)&&(t={order:t});var r,a=t.order||"preorder",o=this[t.attr||"children"];"preorder"===a&&(r=e.call(i,this));for(var s=0;!r&&s<o[on];s++)o[s].eachNode(t,e,i);"postorder"===a&&e.call(i,this)},updateDepthAndHeight:function(t){var e=0;this.depth=t;for(var i=0;i<this.children[on];i++){var n=this.children[i];n.updateDepthAndHeight(t+1),n[fn]>e&&(e=n[fn])}this[fn]=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,i=this.children,n=i[on];n>e;e++){var r=i[e].getNodeById(t);if(r)return r}},contains:function(t){if(t===this)return!0;for(var e=0,i=this.children,n=i[on];n>e;e++){var r=i[e].contains(t);if(r)return r}},getAncestors:function(t){for(var e=[],i=t?this:this[V];i;)e.push(i),i=i[V];return e[I](),e},getValue:function(t){var e=this.hostTree.data;return e.get(e.getDimension(t||"value"),this[Yi])},setLayout:function(t,e){this[Yi]>=0&&this.hostTree.data[hi](this[Yi],t,e)},getLayout:function(){return this.hostTree.data[Ge](this[Yi])},getModel:function(t){if(!(this[Yi]<0)){var e=this.hostTree,i=e.data[Ne](this[Yi]),n=this.getLevelModel();
  return i[_n](t,(n||e[ji])[_n](t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(t,e){this[Yi]>=0&&this.hostTree.data[ce](this[Yi],t,e)},getVisual:function(t,e){return this.hostTree.data[ze](this[Yi],t,e)},getRawIndex:function(){return this.hostTree.data[X](this[Yi])},getId:function(){return this.hostTree.data.getId(this[Yi])}},e[Sn]={constructor:e,type:"tree",eachNode:function(t,e,i){this.root.eachNode(t,e,i)},getNodeByDataIndex:function(t){var e=this.data[X](t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,i=0,n=e[on];n>i;i++)e[i][Yi]=-1;for(var i=0,n=t.count();n>i;i++)e[t[X](i)][Yi]=i}},e.createTree=function(t,n,r){function c(t,e){h.push(t);var n=new l(t.name,h[on]-1,u);e?i(n,e):u.root=n;var r=t.children;if(r)for(var a=0;a<r[on];a++)c(r[a],n)}var u=new e(n,r),h=[];c(t),u.root.updateDepthAndHeight(0);var d=s([{name:"value"}],h),f=new a(d,n);return f[re](h),o.linkToTree(f,u),u},e}),e("echarts/chart/helper/createGraphFromNodeEdge",[Zn,le,"../../data/Graph","../../data/helper/linkList","../../data/helper/completeDimensions",Gn],function(t){var e=t(le),i=t("../../data/Graph"),n=t("../../data/helper/linkList"),r=t("../../data/helper/completeDimensions"),a=t(Gn);return function(t,o,s,l){for(var c=new i(l),u=0;u<t[on];u++)c.addNode(a.retrieve(t[u].id,t[u].name,u),u);for(var h=[],d=[],u=0;u<o[on];u++){var f=o[u];c.addEdge(f.source,f[$i],u)&&(d.push(f),h.push(a.retrieve(f.id,f.source+" - "+f[$i])))}var p=r(["value"],t),v=new e(p,s),m=new e(["value"],s);return v[re](t),m[re](d,h),c.setEdgeData(m),n.linkToGraph(v,c),c[dn](),c}}),e("echarts/coord/parallel/parallelCreator",[Zn,"./Parallel","../../CoordinateSystem"],function(t){function e(t,e){var n=[];return t[mn]("parallel",function(r,a){var o=new i(r,t,e);o.name="parallel_"+a,o[wn](r,e),r[zn]=o,o.model=r,n.push(o)}),t[rn](function(t){if("parallel"===t.get(zn)){var e=t.get("parallelIndex");t[zn]=n[e]}}),n}var i=t("./Parallel");t("../../CoordinateSystem")[Ni]("parallel",{create:e})}),e("echarts/coord/parallel/ParallelModel",[Zn,Gn,ni,"./AxisModel"],function(t){var e=t(Gn),i=t(ni);t("./AxisModel"),i[ln]({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",parallelAxisDefault:null},init:function(){i[Sn].init.apply(this,arguments),this[ae]({})},mergeOption:function(t){var i=this[xn];t&&e.merge(i,t),this._initDimensions()},contains:function(t,e){var i=t.get("parallelIndex");return null!=i&&e[Je]("parallel",i)===this},_initDimensions:function(){var t=this[fi]=[],i=this.parallelAxisIndex=[],n=e[On](this.dependentModels.parallelAxis,function(t){return t.get("parallelIndex")===this.componentIndex});e.each(n,function(e){t.push("dim"+e.get("dim")),i.push(e.componentIndex)})}})}),e("echarts/coord/parallel/parallelPreprocessor",[Zn,Gn,se],function(t){function e(t){if(!t.parallel){var e=!1;n.each(t[nn],function(t){t&&"parallel"===t.type&&(e=!0)}),e&&(t.parallel=[{}])}}function i(t){var e=r.normalizeToArray(t.parallelAxis);n.each(e,function(e){if(n[un](e)){var i=e.parallelIndex||0,a=r.normalizeToArray(t.parallel)[i];a&&a.parallelAxisDefault&&n.merge(e,a.parallelAxisDefault,!1)}})}var n=t(Gn),r=t(se);return function(t){e(t),i(t)}}),e("echarts/chart/helper/EffectSymbol",[Zn,Gn,u,qe,U,"./Symbol"],function(t){function e(t){return n[Fi](t)||(t=[+t,+t]),t}function i(t,e){c.call(this);var i=new l(t,e),n=new c;this.add(i),this.add(n),n.beforeUpdate=function(){this.attr(i.getScale())},this[ri](t,e)}var n=t(Gn),r=t(u),a=t(qe),o=t(U),l=t("./Symbol"),c=a.Group,h=3,d=i[Sn];return d.stopEffectAnimation=function(){this[Q](1)[In]()},d.startEffectAnimation=function(t,e,i,n,a,o){for(var l=this._symbolType,c=this._color,u=this[Q](1),d=0;h>d;d++){var f=r[s](l,-.5,-.5,1,1,c);f.attr({style:{stroke:e===F?c:null,fill:"fill"===e?c:null,strokeNoScale:!0},z2:99,silent:!0,scale:[1,1],z:a,zlevel:o});var p=-d/h*t+n;f.animate("",!0).when(t,{scale:[i,i]}).delay(p).start(),f.animateStyle(!0).when(t,{opacity:0}).delay(p).start(),u.add(f)}},d.highlight=function(){this[an](Te)},d.downplay=function(){this[an](Ze)},d[ri]=function(t,i){function n(){w[an](Te),p!==Qi&&this.startEffectAnimation(g,m,v,y,x,_)}function r(){w[an](Ze),p!==Qi&&this.stopEffectAnimation()}var a=t[ji];this[Q](0)[ri](t,i);var s=this[Q](1),l=t[Ne](i),c=t[ze](i,he),u=e(t[ze](i,ue)),h=t[ze](i,"color");s.attr("scale",u),s[Wi](function(t){t.attr({fill:h})});var d=l[S]("symbolOffset");if(d){var f=s[Si];f[0]=o[Ce](d[0],u[0]),f[1]=o[Ce](d[1],u[1])}this._symbolType=c,this._color=h;var p=a.get("showEffectOn"),v=l.get("rippleEffect.scale"),m=l.get("rippleEffect.brushType"),g=1e3*l.get("rippleEffect.period"),y=i/t.count(),x=l[S]("z")||0,_=l[S](qi)||0;this.stopEffectAnimation(),p===Qi&&this.startEffectAnimation(g,m,v,y,x,_);var w=this[Q](0);this.on(Ji,n,this).on(Ki,r,this).on(Te,n,this).on(Ze,r,this)},d.fadeOut=function(t){t&&t()},n[Vi](i,c),i}),e("echarts/component/helper/MapDraw",[Zn,"./RoamController",qe,Gn],function(t){function e(t){var e=t[Ln](),i=t.get("areaColor");return i&&(e.fill=i),e}function i(t,e,i,r,a){i.off("click"),t.get("selectedMode")&&i.on("click",function(i){var o=i[$i][Yi];if(null!=o){var s=e[ci](o);r[sn]({type:"mapToggleSelect",seriesIndex:t[Xi],name:s,from:a.uid}),n(t,e,r)}})}function n(t,e){e[Ie](function(i,n){var r=e[ci](n);i[an](t.isSelected(r)?Te:Ze)})}function r(t,e){var i=new o.Group;this._controller=new a(t.getZr(),e?i:null,null),this.group=i,this._updateGroup=e}var a=t("./RoamController"),o=t(qe),s=t(Gn);return r[Sn]={constructor:r,draw:function(t,r,a,l){var c=t[Bn]&&t[Bn](),u=t[zn],h=this.group;h[In]();var d=u.scale;h[Si]=u[Si].slice(),h.scale=d.slice();var f,p,v,m,g,y,x=[Oi,Ze],_=[Oi,Te],w=["label",Ze],b=["label",Te];c||(f=t[_n](x),p=t[_n](_),v=e(f,d),m=e(p,d),g=t[_n](w),y=t[_n](b)),s.each(u.regions,function(i){var n,r=new o.Group;if(c){n=c[_e](i.name);var a=c[Ne](n),l=c[ze](n,"color",!0);f=a[_n](x),p=a[_n](_),v=e(f,d),m=e(p,d),g=a[_n](w),y=a[_n](b),l&&(v.fill=l)}var u=g[_n](Pi),M=y[_n](Pi);s.each(i.contours,function(t){var e=new o[fe]({shape:{points:t},style:{strokeNoScale:!0},culling:!0});e[Mi](v),r.add(e)});var S=g.get("show"),C=y.get("show"),A=c&&isNaN(c.get("value",n)),T=c&&c[Ge](n);if(!c||A&&(S||C)||T&&T.showLabel){var L=c?n:i.name,k=t[ke](L,Ze),D=t[ke](L,Te),z=new o.Text({style:{text:S?k||i.name:"",fill:u[ki](),textFont:u[Di](),textAlign:"center",textBaseline:"middle"},hoverStyle:{text:C?D||i.name:"",fill:M[ki](),textFont:M[Di]()},position:i[Ci].slice(),scale:[1/d[0],1/d[1]],z2:10,silent:!0});r.add(z)}c&&c[Re](n,r),o[Ae](r,m),h.add(r)}),this._updateController(t,r,a),c&&i(t,c,h,a,l),c&&n(t,c)},remove:function(){this.group[In](),this._controller[en]()},_updateController:function(t,e,i){var n=t[zn],r=this._controller;r[T](t.get("roam")||!1);var a=t.type.split(".")[0];r.off("pan").on("pan",function(e,n){i[sn]({type:"geoRoam",component:a,name:t.name,dx:e,dy:n})}),r.off("zoom").on("zoom",function(e,n,r){if(i[sn]({type:"geoRoam",component:a,name:t.name,zoom:e,originX:n,originY:r}),this._updateGroup){var o=this.group,s=o.scale;o[Wi](function(t){"text"===t.type&&t.attr("scale",[1/s[0],1/s[1]])})}},this),r.rect=n.getViewRect()}},r}),e("echarts/component/helper/listComponent",[Zn,Qe,W,qe],function(t){function e(t,e,n){i.positionGroup(t,e[Ti](),{width:n[yn](),height:n[gn]()},e.get("padding"))}var i=t(Qe),n=t(W),r=t(qe);return{layout:function(t,n,r){i.box(n.get(c),t,n.get("itemGap"),r[yn](),r[gn]()),e(t,n,r)},addBackground:function(t,e){var i=n.normalizeCssArray(e.get("padding")),a=t[Li](),o=e[Ln](["color",bi]);o.fill=e.get(kn);var s=new r.Rect({shape:{x:a.x-i[3],y:a.y-i[0],width:a.width+i[1]+i[3],height:a[fn]+i[0]+i[2]},style:o,silent:!0});r.subPixelOptimizeRect(s),t.add(s)}}}),e("echarts/component/tooltip/TooltipContent",[Zn,Gn,"zrender/tool/color","zrender/core/event",W],function(t){function e(t){var e="cubic-bezier(0.23, 1, 0.32, 1)",i="left "+t+"s "+e+",top "+t+"s "+e;return o.map(d,function(t){return t+"transition:"+i}).join(";")}function i(t){var e=[],i=t.get("fontSize"),n=t[ki]();return n&&e.push("color:"+n),e.push("font:"+t[Di]()),i&&e.push("line-height:"+Math.round(3*i/2)+"px"),u(["decoration","align"],function(i){var n=t.get(i);n&&e.push("text-"+i+":"+n)}),e.join(";")}function n(t){t=t;var n=[],r=t.get("transitionDuration"),a=t.get(kn),o=t[_n](Pi),l=t.get("padding");return r&&n.push(e(r)),a&&(n.push("background-Color:"+s.toHex(a)),n.push("filter:alpha(opacity=70)"),n.push("background-Color:"+a)),u(["width","color",be],function(e){var i="border-"+e,r=h(i),a=t.get(r);null!=a&&n.push(i+":"+a+("color"===e?"":"px"))}),n.push(i(o)),null!=l&&n.push("padding:"+c.normalizeCssArray(l).join("px ")+"px"),n.join(";")+";"}function r(t,e){var i=document[ii]("div"),n=e.getZr();this.el=i,this._x=e[yn]()/2,this._y=e[gn]()/2,t.appendChild(i),this._container=t,this._show=!1,this._hideTimeout;var r=this;i.onmouseenter=function(){r.enterable&&(clearTimeout(r._hideTimeout),r._show=!0),r._inContent=!0},i.onmousemove=function(e){if(!r.enterable){var i=n.handler;l.normalizeEvent(t,e),i.dispatch("mousemove",e)}},i.onmouseleave=function(){r.enterable&&r._show&&r.hideLater(r._hideDelay),r._inContent=!1},a(i,t)}function a(t,e){function i(t){n(t[$i])&&t.preventDefault()}function n(i){for(;i&&i!==e;){if(i===t)return!0;i=i[V]}}l.addEventListener(e,"touchstart",i),l.addEventListener(e,"touchmove",i),l.addEventListener(e,"touchend",i)}var o=t(Gn),s=t("zrender/tool/color"),l=t("zrender/core/event"),c=t(W),u=o.each,h=c.toCamelCase,d=["","-webkit-","-moz-","-o-"],f="position:absolute;display:block;border-style:solid;white-space:nowrap;";return r[Sn]={constructor:r,enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t),i=t.style;"absolute"!==i[Si]&&"absolute"!==e[Si]&&(i[Si]="relative"),this.hide()},show:function(t){clearTimeout(this._hideTimeout),this.el.style.cssText=f+n(t)+";left:"+this._x+"px;top:"+this._y+"px;",this._show=!0},setContent:function(t){var e=this.el;e.innerHTML=t,e.style.display=t?"block":"none"},moveTo:function(t,e){var i=this.el.style;i.left=t+"px",i.top=e+"px",this._x=t,this._y=e},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this.enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(o.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show}},r}),e("echarts/component/marker/markerHelper",[Zn,Gn,U],function(t){function e(t,e,i){var n=-1;do n=Math.max(r.getPrecision(t.get(e,i)),n),t=t.stackedOn;while(t);return n}function i(t,i,n,r,a){var o=[],s="average"===t?i.getSum(r,!0)/i.count():i[Xe](r)["max"===t?1:0],l=i.indexOfNearest(r,s);o[1-a]=i.get(n,l),o[a]=i.get(r,l,!0);var c=e(i,r,l);return c>=0&&(o[a]=+o[a][ne](c)),o}var n=t(Gn),r=t(U),a=n.curry,o={min:a(i,"min"),max:a(i,"max"),average:a(i,"average")},s=function(t,e,i){if((isNaN(i.x)||isNaN(i.y))&&!n[Fi](i.coord)&&e){var r,a,s,l;null!=i.valueIndex?(r=e[fi][i.valueIndex],a=e[fi][1-i.valueIndex],s=e[Ye](r),l=e[Ye](a)):(l=e[He](),s=e[Se](l),a=l.dim,r=s.dim);var c=null!=i.valueIndex?i.valueIndex:"angle"===r||"x"===r?0:1;i=n[ln]({},i),i.type&&o[i.type]&&l&&s?(i.coord=o[i.type](t,l.dim,r,c),i.value=i.coord[c]):i.coord=[null!=i.xAxis?i.xAxis:i.radiusAxis,null!=i.yAxis?i.yAxis:i.angleAxis]}return i},l=function(t,e){return t&&e.coord&&(null==e.x||null==e.y)?t.containData(e.coord):!0},c=function(t,e,i,n){return 2>n?t.coord&&t.coord[n]:void t.value};return{dataTransform:s,dataFilter:l,dimValueGetter:c}}),e("echarts/component/timeline/TimelineModel",[Zn,ni,le,Gn,se],function(t){var e=t(ni),i=t(le),n=t(Gn),r=t(se),a=e[ln]({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{normal:{},emphasis:{}},label:{normal:{textStyle:{color:"#000"}},emphasis:{}},data:[]},init:function(t,e,i){this._data,this._names,this[h](t,i),this._initData()},mergeOption:function(){this[oe](ae,arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this[xn].currentIndex);var e=this._data.count();this[xn].loop?t=(t%e+e)%e:(t>=e&&(t=e-1),0>t&&(t=0)),this[xn].currentIndex=t},getCurrentIndex:function(){return this[xn].currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this[xn].autoPlay=!!t},getPlayState:function(){return!!this[xn].autoPlay},_initData:function(){var t=this[xn],e=t.data||[],a=t.axisType,o=this._names=[];if(a===je){var s=[];n.each(e,function(t,e){var i,a=r.getDataItemValue(t);n[un](t)?(i=n.clone(t),i.value=e):i=e,s.push(i),n[Ii](a)||null!=a&&!isNaN(a)||(a=""),o.push(a+"")}),e=s}var l={category:"ordinal",time:"time"}[a]||Ri,c=this._data=new i([{name:"value",type:l}],this);c[re](e,o)},getData:function(){return this._data},getCategories:function(){return this.get("axisType")===je?this._names.slice():void 0}});return a}),e("echarts/util/throttle",[],function(){var t={},e="\x00__throttleOriginMethod",i="\x00__throttleRate";return t.throttle=function(t,e,i,n){function r(r){function f(){u=(new Date).getTime(),h=null,(d?t:t[r]).apply(o,s||[])}var p=function(){l=(new Date).getTime(),o=this,s=arguments,a=l-(n?c:u)-e,clearTimeout(h),n?i?h=setTimeout(f,e):a>=0&&f():a>=0?f():i&&(h=setTimeout(f,-a)),c=l};return p.clear=function(){h&&(clearTimeout(h),h=null)},p}var a,o,s,l=(new Date).getTime(),c=0,u=0,h=null,d=typeof t===Gi;if(e=e||0,d)return r();for(var f=[],p=0;p<t[on];p++)f[p]=r(p);return f},t.fixRate=function(e,i){return null!=i?t.throttle(e,i,!0,!1):e},t.debounce=function(e,i){return null!=i?t.throttle(e,i,!0,!0):e},t.createOrUpdate=function(n,r,a,o){var s=n[r];if(s&&null!=a&&o){var l=s[e]||s,c=s[i];c!==a&&(s=n[r]=t[o](l,a),s[e]=l,s[i]=a)}},t.clear=function(t,i){var n=t[i];n&&n[e]&&(t[i]=n[e])},t}),e("echarts/component/helper/sliderMove",[Zn],function(){return function(t,e,i,n,r){function a(t,e,i){var n=e[on]?e.slice():[e,e];return e[0]>e[1]&&n[I](),0>t&&n[0]+t<i[0]&&(t=i[0]-n[0]),t>0&&n[1]+t>i[1]&&(t=i[1]-n[1]),t}return t?("rigid"===n?(t=a(t,e,i),e[0]+=t,e[1]+=t):(t=a(t,e[r],i),e[r]+=t,"push"===n&&e[0]>e[1]&&(e[1-r]=e[r])),e):e}}),e("echarts/visual/VisualMapping",[Zn,Gn,"zrender/tool/color",wi],function(t){function e(t){var e=t.pieceList;t.hasSpecialVisual=!1,l.each(e,function(e,i){e.originIndex=i,e.visual&&(t.hasSpecialVisual=!0)})}function i(t){var e=t[M],i=t.visual,n=l[Fi](i);if(!e){if(n)return;throw new Error}var r=t.categoryMap={};if(h(e,function(t,e){r[t]=e}),!n){var a=[];l[un](i)?h(i,function(t,e){var i=r[e];a[null!=i?i:f]=t}):a[f]=i,i=t.visual=a}for(var o=e[on]-1;o>=0;o--)null==i[o]&&(delete r[e[o]],e.pop())}function n(t){return{applyVisual:function(e,i,n){var r=i("color"),a=l[Fi](e);if(e=a?[this.mapValueToVisual(e[0]),this.mapValueToVisual(e[1])]:this.mapValueToVisual(e),l[Fi](r))for(var o=0,s=r[on];s>o;o++)r[o].color=t(r[o].color,a?e[o]:e);else n("color",t(r,e))},mapValueToVisual:function(t){var e=this._normalizeData(t),i=this._getSpecifiedVisual(t),n=this[xn].visual;return null==i&&(i=s(this)?o(this,n,e):u(e,[0,1],n,!0)),i}}}function r(t,e){return t[Math.round(u(e,[0,1],[0,t[on]-1],!0))]}function a(t,e,i){i("color",this.mapValueToVisual(t))}function o(t,e,i){return e[t[xn].loop&&i!==f?i%e[on]:i]}function s(t){return t[xn].mappingMethod===je}var l=t(Gn),c=t("zrender/tool/color"),u=t(wi)[q],h=l.each,d=l[un],f=-1,p=function(t){var n=t.mappingMethod,r=t.type;this.type=r,this.mappingMethod=n;var a=this[xn]=l.clone(t);this._normalizeData=m[n],this._getSpecifiedVisual=l.bind(g[n],this,r),l[ln](this,v[r]),"piecewise"===n&&e(a),n===je&&i(a)};p[Sn]={constructor:p,applyVisual:null,isValueActive:null,mapValueToVisual:null,getNormalizer:function(){return l.bind(this._normalizeData,this)}};var v=p.visualHandlers={color:{applyVisual:a,getColorMapper:function(){var t=s(this)?this[xn].visual:l.map(this[xn].visual,c.parse);return l.bind(s(this)?function(e,i){return!i&&(e=this._normalizeData(e)),o(this,t,e)}:function(e,i,n){var r=!!n;return!i&&(e=this._normalizeData(e)),n=c.fastMapToColor(e,t,n),r?n:l.stringify(n,"rgba")},this)},mapValueToVisual:function(t){var e=this[xn].visual;if(l[Fi](t))return t=[this._normalizeData(t[0]),this._normalizeData(t[1])],c.mapIntervalToColor(t,e);var i=this._normalizeData(t),n=this._getSpecifiedVisual(t);return null==n&&(n=s(this)?o(this,e,i):c.mapToColor(i,e)),n}},colorHue:n(function(t,e){return c.modifyHSL(t,e)}),colorSaturation:n(function(t,e){return c.modifyHSL(t,null,e)}),colorLightness:n(function(t,e){return c.modifyHSL(t,null,null,e)}),colorAlpha:n(function(t,e){return c.modifyAlpha(t,e)}),symbol:{applyVisual:function(t,e,i){var n=this.mapValueToVisual(t);if(l[Ii](n))i(he,n);else if(d(n))for(var r in n)n.hasOwnProperty(r)&&i(r,n[r])},mapValueToVisual:function(t){var e=this._normalizeData(t),i=this._getSpecifiedVisual(t),n=this[xn].visual;return null==i&&(i=s(this)?o(this,n,e):r(n,e)||{}),i}},symbolSize:{applyVisual:function(t,e,i){i(ue,this.mapValueToVisual(t))},mapValueToVisual:function(t){var e=this._normalizeData(t),i=this._getSpecifiedVisual(t),n=this[xn].visual;return null==i&&(i=s(this)?o(this,n,e):u(e,[0,1],n,!0)),i}}},m={linear:function(t){return u(t,this[xn].dataExtent,[0,1],!0)},piecewise:function(t){var e=this[xn].pieceList,i=p.findPieceIndex(t,e);return null!=i?u(i,[0,e[on]-1],[0,1],!0):void 0},category:function(t){var e=this[xn][M]?this[xn].categoryMap[t]:t;return null==e?f:e}},g={linear:l.noop,piecewise:function(t,e){var i=this[xn],n=i.pieceList;if(i.hasSpecialVisual){var r=p.findPieceIndex(e,n),a=n[r];if(a&&a.visual)return a.visual[t]}},category:l.noop};return p.addVisualHandler=function(t,e){v[t]=e},p.isValidType=function(t){return v.hasOwnProperty(t)},p.eachVisual=function(t,e,i){l[un](t)?l.each(t,e,i):e.call(i,t)},p.mapVisual=function(t,e,i){var n,r=l[Fi](t)?[]:l[un](t)?{}:(n=!0,null);return p.eachVisual(t,function(t,a){var o=e.call(i,t,a);n?r=o:r[a]=o}),r},p.isInVisualCluster=function(t,e){return"color"===e?!(!t||0!==t[Zi](e)):t===e},p.retrieveVisuals=function(t){var e,i={};return t&&h(v,function(n,r){t.hasOwnProperty(r)&&(i[r]=t[r],e=!0)}),e?i:null},p.prepareVisualTypes=function(t){if(d(t)){var e=[];h(t,function(t,i){e.push(i)}),t=e}else{if(!l[Fi](t))return[];t=t.slice()}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t[Zi]("color")?1:-1}),t},p.findPieceIndex=function(t,e){for(var i=0,n=e[on];n>i;i++){var r=e[i];if(null!=r.value&&r.value===t)return i}for(var i=0,n=e[on];n>i;i++){var r=e[i],a=r[E];if(a)if(a[0]===-1/0){if(t<a[1])return i}else if(1/0===a[1]){if(a[0]<t)return i}else if(r[E][0]<=t&&t<=r[E][1])return i}},p}),e("echarts/component/helper/interactionMutex",[Zn],function(){function t(t){return t[e]||(t[e]={})}var e="\x00_ec_interaction_mutex",i={take:function(e,i){t(i)[e]=!0},release:function(e,i){t(i)[e]=!1},isTaken:function(e,i){return!!t(i)[e]}};return i}),e("echarts/component/dataZoomSelect",[Zn,"./dataZoom/typeDefaulter","./dataZoom/DataZoomModel","./dataZoom/DataZoomView","./dataZoom/SelectZoomModel","./dataZoom/SelectZoomView","./dataZoom/dataZoomProcessor","./dataZoom/dataZoomAction"],function(t){t("./dataZoom/typeDefaulter"),t("./dataZoom/DataZoomModel"),t("./dataZoom/DataZoomView"),t("./dataZoom/SelectZoomModel"),t("./dataZoom/SelectZoomView"),t("./dataZoom/dataZoomProcessor"),t("./dataZoom/dataZoomAction")}),e("echarts/component/timeline/TimelineView",[Zn,"../../view/Component"],function(t){var e=t("../../view/Component");return e[ln]({type:"timeline"})}),e("zrender/core/arrayDiff",[Zn],function(){function t(t,e){return t===e}function e(t,e,i){var n={cmd:t,idx:e};return"="===t&&(n.idx1=i),n}function i(t,i,n,r){t.push(e(i,n,r))}function n(t,e,i,n,r,a,s,l){var c,u,h,d=i>n,f=r>a,p=o(n-i),v=o(a-r);for(u=0;p>=u;u++)for(h=0;v>=h;h++)if(0===u)l[h]=h;else if(0===h)c=l[h],l[h]=u;else{var m=t[d?i-u:u-1+i],g=e[f?r-h:h-1+r],y=c+(s(m,g)?0:2),x=l[h]+1,_=l[h-1]+1;c=l[h],l[h]=x>y?y:x,_<l[h]&&(l[h]=_)}return l}function r(t,e,a,o,s,l,c,u,h){var d,f,p=[],v=o-a,m=l-s;if(v)if(m)if(1===v){var g=t[a],y=!1;for(f=0;m>f;f++)c(g,e[f+s])&&!y?(y=!0,i(p,"=",a,f+s)):i(p,"+",f+s);y||i(p,"-",a)}else if(1===m){var x=e[s],y=!1;for(d=0;v>d;d++)c(x,t[d+a])&&!y?(y=!0,i(p,"=",d+a,s)):i(p,"-",d+a);y||i(p,"+",s)}else{var _=(v/2|0)+a;n(t,e,a,_,s,l,c,u),n(t,e,o,_+1,l,s,c,h);var w,b=1/0,M=0;for(f=0;m>=f;f++)w=u[f]+h[m-f],b>w&&(b=w,M=f);M+=s,p=r(t,e,a,_,s,M,c,u,h);var S=r(t,e,_,o,M,l,c,u,h);for(d=0;d<S[on];d++)p.push(S[d])}else for(d=0;v>d;d++)i(p,"-",d+a);else for(f=0;m>f;f++)i(p,"+",f+s);return p}function a(e,n,a){a=a||t;var o,s,l=e[on],c=n[on],u=Math.min(l,c),h=[];for(o=0;u>o&&a(e[o],n[o]);o++)i(h,"=",o,o);for(s=0;u>s&&a(e[l-s-1],n[c-s-1]);s++);if(l-s>=o||c-s>=o){var d=r(e,n,o,l-s,o,c-s,a,[],[]);for(o=0;o<d[on];o++)h.push(d[o]);for(o=0;s>o;o++)i(h,"=",l-s+o,c-s+o)}return h}var o=Math.abs;return a}),e("echarts/chart/pie/labelLayout",[Zn,"zrender/contain/text"],function(t){function e(t,e,i,n,r,a,o){function s(e,i,n){for(var r=e;i>r;r++)if(t[r].y+=n,r>e&&i>r+1&&t[r+1].y>t[r].y+t[r][fn])return void l(r,n/2);l(i-1,n/2)}function l(e,i){for(var n=e;n>=0&&(t[n].y-=i,!(n>0&&t[n].y>t[n-1].y+t[n-1][fn]));n--);}t.sort(function(t,e){return t.y-e.y});for(var c,u=0,h=t[on],d=[],f=[],p=0;h>p;p++)c=t[p].y-u,0>c&&s(p,h,-c,r),u=t[p].y+t[p][fn];0>o-u&&l(h-1,u-o);for(var p=0;h>p;p++)t[p].y>=i?f.push(t[p]):d.push(t[p])}function i(t,i,n,r,a,o){for(var s=[],l=[],c=0;c<t[on];c++)t[c].x<i?s.push(t[c]):l.push(t[c]);e(s,i,n,r,-1,a,o),e(l,i,n,r,1,a,o);for(var c=0;c<t[on];c++){var u=t[c].linePoints;u&&(u[2][0]=t[c].x<i?t[c].x+3:t[c].x-3,u[1][1]=u[2][1]=t[c].y)}}var n=t("zrender/contain/text");return function(t,e,r,a){var s,l,c=t[Bn](),u=[],h=!1;c.each(function(i){var r,a,d,f,p=c[Ge](i),v=c[Ne](i),m=v[_n](Pe),g=m.get(Si),y=v[_n]("labelLine.normal"),_=y.get(on),w=y.get("length2"),b=(p[ee]+p[ye])/2,M=Math.cos(b),S=Math.sin(b);if(s=p.cx,l=p.cy,g===Ci)r=p.cx,a=p.cy,f=Ci;else{var C=g===te||"inner"===g,A=(C?p.r/2*M:p.r*M)+s,T=(C?p.r/2*S:p.r*S)+l;if(_+=e-p.r,r=A+3*M,a=T+3*S,!C){var L=A+M*_,k=T+S*_,D=L+(0>M?-1:1)*w,z=k;r=D+(0>M?-5:5),a=z,d=[[A,T],[L,k],[D,z]]}f=C?Ci:M>0?"left":"right"}var P=x,I=m[_n](Pi)[Di](),V=m.get(o)?0>M?-b+Math.PI:-b:0,R=t[ke](i,Ze)||c[ci](i),O=n[Li](R,I,f,P);h=!!V,p.label={x:r,y:a,height:O[fn],length:_,length2:w,linePoints:d,textAlign:f,textBaseline:P,font:I,rotation:V},u.push(p.label)}),!h&&t.get("avoidLabelOverlap")&&i(u,s,l,e,r,a)}}),e("echarts/chart/helper/WhiskerBoxDraw",[Zn,Gn,qe,"zrender/graphic/Path"],function(t){function e(t,e,i,n){o.Group.call(this),this.bodyIndex,this.whiskerIndex,this.styleUpdater=i,this._createContent(t,e,n),this[ri](t,e,n),this._seriesModel}function i(t,e,i){return a.map(t,function(t){return t=t.slice(),t[e]=i.initBaseline,t})}function n(t){var e={};return a.each(t,function(t,i){e["ends"+i]=t}),e}function r(t){this.group=new o.Group,this.styleUpdater=t}var a=t(Gn),o=t(qe),s=t("zrender/graphic/Path"),l=s[ln]({type:"whiskerInBox",shape:{},buildPath:function(t,e){for(var i in e)if(0===i[Zi]("ends")){var n=e[i];t[y](n[0][0],n[0][1]),t[m](n[1][0],n[1][1])}}}),c=e[Sn];c._createContent=function(t,e,r){var s=t[Ge](e),c=s.chartLayout===Z?1:0,u=0;this.add(new o[fe]({shape:{points:r?i(s.bodyEnds,c,s):s.bodyEnds},style:{strokeNoScale:!0},z2:100})),this.bodyIndex=u++;var h=a.map(s.whiskerEnds,function(t){return r?i(t,c,s):t});this.add(new l({shape:n(h),style:{strokeNoScale:!0},z2:100})),this.whiskerIndex=u++},c[ri]=function(t,e,i){var r=this._seriesModel=t[ji],a=t[Ge](e),s=o[i?Ee:Be];s(this[Q](this.bodyIndex),{shape:{points:a.bodyEnds}},r),s(this[Q](this.whiskerIndex),{shape:n(a.whiskerEnds)},r),this.styleUpdater.call(null,this,t,e)},a[Vi](e,o.Group);var u=r[Sn];return u[ri]=function(t){var i=this.group,n=this._data,r=this.styleUpdater;t.diff(n).add(function(n){if(t.hasValue(n)){var a=new e(t,n,r,!0);t[Re](n,a),i.add(a)}})[dn](function(a,o){var s=n[Ve](o);return t.hasValue(a)?(s?s[ri](t,a):s=new e(t,a,r),i.add(s),void t[Re](a,s)):void i[cn](s)})[cn](function(t){var e=n[Ve](t);e&&i[cn](e)})[Oe](),this._data=t},u[cn]=function(){var t=this.group,e=this._data;this._data=null,e&&e[Ie](function(e){e&&t[cn](e)})},r}),e("echarts/component/axis/RadiusAxisView",[Zn,Gn,qe,"./AxisBuilder",si],function(t){function e(t,e,i){return{position:[t.cx,t.cy],rotation:i/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotation:e[_n](N).get(o),z2:1}}var i=t(Gn),n=t(qe),r=t("./AxisBuilder"),a=[B,N,O,"axisName"],s=["splitLine","splitArea"];t(si)[Vn]({type:"radiusAxis",render:function(t,n){if(this.group[In](),t.get("show")){var o=n[Je]("polar",t.get(G)),l=o[zn].getAngleAxis(),c=t.axis,u=o[zn],h=c.getTicksCoords(),d=l[pi]()[0],f=c[pi](),p=e(u,t,d),v=new r(t,p);i.each(a,v.add,v),this.group.add(v.getGroup()),i.each(s,function(e){t.get(e+".show")&&this["_"+e](t,u,d,f,h)},this)}},_splitLine:function(t,e,r,a,o){var s=t[_n]("splitLine"),l=s[_n](Rn),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var h=[],d=0;d<o[on];d++){var f=u++%c[on];h[f]=h[f]||[],h[f].push(new n[A]({shape:{cx:e.cx,cy:e.cy,r:o[d]},silent:!0}))}for(var d=0;d<h[on];d++)this.group.add(n.mergePath(h[d],{style:i[Dn]({stroke:c[d%c[on]],fill:null},l[ve]()),silent:!0}))},_splitArea:function(t,e,r,a,o){var s=t[_n]("splitArea"),l=s[_n]("areaStyle"),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var h=[],d=o[0],f=1;f<o[on];f++){var p=u++%c[on];h[p]=h[p]||[],h[p].push(new n[xe]({shape:{cx:e.cx,cy:e.cy,r0:d,r:o[f],startAngle:0,endAngle:2*Math.PI},silent:!0})),d=o[f]}for(var f=0;f<h[on];f++)this.group.add(n.mergePath(h[f],{style:i[Dn]({fill:c[f%c[on]]},l.getAreaStyle()),silent:!0}))}})}),e("echarts/data/helper/linkList",[Zn,Gn],function(t){function e(t,e,n){return i.each(r,function(r,a){var o=t[a];t[a]=i.curry(r,o,e,n)}),t[n]=e,e.data=t,t}var i=t(Gn),n=Array[Sn].slice,r={cloneShallow:function(t,i,r){var a=t.apply(this,n.call(arguments,3));return e(a,i,r)},map:function(t,i,r){var a=t.apply(this,n.call(arguments,3));return e(a,i,r)},filterSelf:function(t,e){var i=t.apply(this,n.call(arguments,3));return e[dn](),i}};return{linkToGraph:function(t,i){e(t,i,"graph")},linkToTree:function(t,i){e(t,i,"tree")}}}),e("echarts/data/Graph",[Zn,Gn],function(t){function e(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this[Yi]=null==e?-1:e}function i(t,e,i){this.node1=t,this.node2=e,this[Yi]=null==i?-1:i}var n=t(Gn),r=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},a=r[Sn];a.type="graph",a.isDirected=function(){return this._directed},a.addNode=function(t,i){var n=this._nodesMap;if(!n[t]){var r=new e(t,i);return r.hostGraph=this,this.nodes.push(r),n[t]=r,r}},a.getNodeByIndex=function(t){var e=this.data[X](t);return this.nodes[e]},a.getNodeById=function(t){return this._nodesMap[t]},a.addEdge=function(t,n,r){var a=this._nodesMap,o=this._edgesMap;if(t instanceof e||(t=a[t]),n instanceof e||(n=a[n]),t&&n){var s=t.id+"-"+n.id;if(!o[s]){var l=new i(t,n,r);return l.hostGraph=this,this._directed&&(t.outEdges.push(l),n.inEdges.push(l)),t.edges.push(l),t!==n&&n.edges.push(l),this.edges.push(l),o[s]=l,l}}},a.getEdgeByIndex=function(t){var e=this.edgeData[X](t);return this.edges[e]},a.getEdge=function(t,i){t instanceof e&&(t=t.id),i instanceof e&&(i=i.id);var n=this._edgesMap;return this._directed?n[t+"-"+i]:n[t+"-"+i]||n[i+"-"+t]},a.eachNode=function(t,e){for(var i=this.nodes,n=i[on],r=0;n>r;r++)i[r][Yi]>=0&&t.call(e,i[r],r)},a.eachEdge=function(t,e){for(var i=this.edges,n=i[on],r=0;n>r;r++)i[r][Yi]>=0&&i[r].node1[Yi]>=0&&i[r].node2[Yi]>=0&&t.call(e,i[r],r)},a.breadthFirstTraverse=function(t,i,n,r){if(!i instanceof e&&(i=this._nodesMap[i]),i){for(var a="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes[on];o++)this.nodes[o].__visited=!1;if(!t.call(r,i,null))for(var s=[i];s[on];)for(var l=s.shift(),c=l[a],o=0;o<c[on];o++){var u=c[o],h=u.node1===l?u.node2:u.node1;if(!h.__visited){if(t.call(h,h,l))return;s.push(h),h.__visited=!0}}}},a[dn]=function(){for(var t=this.data,e=this.edgeData,i=this.nodes,n=this.edges,r=0,a=i[on];a>r;r++)i[r][Yi]=-1;for(var r=0,a=t.count();a>r;r++)i[t[X](r)][Yi]=r;e.filterSelf(function(t){var i=n[e[X](t)];return i.node1[Yi]>=0&&i.node2[Yi]>=0});for(var r=0,a=n[on];a>r;r++)n[r][Yi]=-1;for(var r=0,a=e.count();a>r;r++)n[e[X](r)][Yi]=r},a.setEdgeData=function(t){this.edgeData=t,this._edgeDataSaved=t.cloneShallow()},a.restoreData=function(){this.edgeData=this._edgeDataSaved.cloneShallow()},a.clone=function(){for(var t=new r(this._directed),e=this.nodes,i=this.edges,n=0;n<e[on];n++)t.addNode(e[n].id,e[n][Yi]);for(var n=0;n<i[on];n++){var a=i[n];t.addEdge(a.node1.id,a.node2.id,a[Yi])}return t},e[Sn]={constructor:e,degree:function(){return this.edges[on]},inDegree:function(){return this.inEdges[on]},outDegree:function(){return this.outEdges[on]},getModel:function(t){if(!(this[Yi]<0)){var e=this.hostGraph,i=e.data[Ne](this[Yi]);return i[_n](t)}}},i[Sn][_n]=function(t){if(!(this[Yi]<0)){var e=this.hostGraph,i=e.data[Ne](this[Yi]);return i[_n](t)}};var o=function(t,e){return{getValue:function(i){var n=this[t][e];return n.get(n.getDimension(i||"value"),this[Yi])},setVisual:function(i,n){this[Yi]>=0&&this[t][e][ce](this[Yi],i,n)},getVisual:function(i,n){return this[t][e][ze](this[Yi],i,n)},setLayout:function(i,n){this[Yi]>=0&&this[t][e][hi](this[Yi],i,n)},getLayout:function(){return this[t][e][Ge](this[Yi])},getGraphicEl:function(){return this[t][e][Ve](this[Yi])},getRawIndex:function(){return this[t][e][X](this[Yi])}}};return n.mixin(e,o("hostGraph","data")),n.mixin(i,o("hostGraph","edgeData")),r.Node=e,r.Edge=i,r}),e("echarts/coord/parallel/Parallel",[Zn,Qe,"../../coord/axisHelper",Gn,"./ParallelAxis",z,w],function(t){function e(t,e,i){this._axesMap={},this._axesLayout={},this[fi]=t[fi],this._rect,this._init(t,e,i)}var i=t(Qe),n=t("../../coord/axisHelper"),r=t(Gn),a=t("./ParallelAxis"),s=t(z),l=t(w),c=r.each,u=Math.PI;return e[Sn]={type:"parallel",constructor:e,_init:function(t,e){var i=t[fi],r=t.parallelAxisIndex;c(i,function(t,i){var o=r[i],s=e[Je]("parallelAxis",o),l=this._axesMap[t]=new a(t,n.createScaleByModel(s),[0,0],s.get("type"),o),c=l.type===je;l.onBand=c&&s.get("boundaryGap"),l[$e]=s.get($e),s.axis=l,l.model=s},this),this._updateAxesFromSeries(t,e)},_updateAxesFromSeries:function(t,e){e[rn](function(i){if(t.contains(i,e)){var n=i[Bn]();c(this[fi],function(t){this._axesMap[t].scale.unionExtent(n[Xe](t))},this)}},this)},resize:function(t,e){this._rect=i[Ai](t[Ti](),{width:e[yn](),height:e[gn]()}),this._layoutAxes(t)},getRect:function(){return this._rect},_layoutAxes:function(t){var e=this._rect,i=t.get(ai),r=this._axesMap,a=this[fi],l=[e.width,e[fn]],h=i===Z?0:1,d=l[h],f=l[1-h],p=[0,f];c(r,function(t){var e=t[$e]?1:0;t[vi](p[e],p[1-e]),n.niceScaleExtent(t,t.model)}),c(a,function(t,n){var r=d*n/(a[on]-1),l={horizontal:{x:r,y:f},vertical:{x:0,y:r}},c={horizontal:u/2,vertical:0},h=[l[i].x+e.x,l[i].y+e.y],p=c[i],v=s[yi]();s[o](v,v,p),s.translate(v,v,h),this._axesLayout[t]={position:h,rotation:p,transform:v,tickDirection:1,labelDirection:1}},this)},getAxis:function(t){return this._axesMap[t]},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap[e][Me](t),e)},eachActiveState:function(t,e,i){for(var n=this[fi],r=this._axesMap,a=!1,o=0,s=n[on];s>o;o++)r[n[o]].model.getActiveState()!==Ze&&(a=!0);for(var l=0,c=t.count();c>l;l++){var u,h=t.getValues(n,l);if(a){u="active";for(var o=0,s=n[on];s>o;o++){var d=n[o],f=r[d].model.getActiveState(h[o],o);if("inactive"===f){u="inactive";break}}}else u=Ze;e.call(i,u,l)}},axisCoordToPoint:function(t,e){var i=this._axesLayout[e],n=[t,0];return l[R](n,n,i[An]),n},getAxisLayout:function(t){return r.clone(this._axesLayout[t])}},e}),e("echarts/component/helper/RoamController",[Zn,"zrender/mixin/Eventful",Gn,"zrender/core/event","./interactionMutex"],function(t){function e(t){if(!t[$i]||!t[$i][b]){var e=t.offsetX,i=t.offsetY,n=this.rect;
  n&&n[_i](e,i)&&(this._x=e,this._y=i,this._dragging=!0)}}function i(t){if(this._dragging&&(u.stop(t.event),"pinch"!==t.gestureEvent)){if(h.isTaken("globalPan",this._zr))return;var e=t.offsetX,i=t.offsetY,n=e-this._x,r=i-this._y;this._x=e,this._y=i;var a=this[$i];if(a){var o=a[Si];o[0]+=n,o[1]+=r,a.dirty()}u.stop(t.event),this[an]("pan",n,r)}}function n(){this._dragging=!1}function r(t){u.stop(t.event);var e=t.wheelDelta>0?1.1:1/1.1;o.call(this,t,e,t.offsetX,t.offsetY)}function a(t){if(!h.isTaken("globalPan",this._zr)){u.stop(t.event);var e=t.pinchScale>1?1.1:1/1.1;o.call(this,t,e,t.pinchX,t.pinchY)}}function o(t,e,i,n){var r=this.rect;if(r&&r[_i](i,n)){var a=this[$i];if(a){var o=a[Si],s=a.scale,l=this._zoom=this._zoom||1;l*=e;var c=l/this._zoom;this._zoom=l,o[0]-=(i-o[0])*(c-1),o[1]-=(n-o[1])*(c-1),s[0]*=c,s[1]*=c,a.dirty()}this[an]("zoom",e,i,n)}}function s(t,o,s){this[$i]=o,this.rect=s,this._zr=t;var u=c.bind,h=u(e,this),d=u(i,this),f=u(n,this),p=u(r,this),v=u(a,this);l.call(this),this[T]=function(e){this.disable(),null==e&&(e=!0),e&&"scale"!==e&&(t.on("mousedown",h),t.on("mousemove",d),t.on("mouseup",f)),e&&"move"!==e&&(t.on("mousewheel",p),t.on("pinch",v))},this.disable=function(){t.off("mousedown",h),t.off("mousemove",d),t.off("mouseup",f),t.off("mousewheel",p),t.off("pinch",v)},this[en]=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}var l=t("zrender/mixin/Eventful"),c=t(Gn),u=t("zrender/core/event"),h=t("./interactionMutex");return c.mixin(s,l),s}),e("echarts/component/helper/SelectController",[Zn,"zrender/mixin/Eventful",Gn,qe],function(t){function e(t,e,i){v.call(this),this.type=t,this.zr=e,this.opt=m.clone(i),this.group=new g.Group,this._containerRect=null,this._track=[],this._dragging,this._cover,this._disabled=!0,this._handlers={mousedown:y(r,this),mousemove:y(a,this),mouseup:y(o,this)},x(C,function(t){this.zr.on(t,this._handlers[t])},this)}function i(t,e){var i=this.group.transformCoordToLocal(t,e);return!this._containerRect||this._containerRect[_i](i[0],i[1])}function n(t){var e=t.event;e.preventDefault&&e.preventDefault()}function r(t){if(!(this._disabled||t[$i]&&t[$i][b])){n(t);var e=t.offsetX,r=t.offsetY;i.call(this,e,r)&&(this._dragging=!0,this._track=[[e,r]])}}function a(t){this._dragging&&!this._disabled&&(n(t),s.call(this,t))}function o(t){this._dragging&&!this._disabled&&(n(t),s.call(this,t,!0),this._dragging=!1,this._track=[])}function s(t,e){var n=t.offsetX,r=t.offsetY;if(i.call(this,n,r)){this._track.push([n,r]);var a=l.call(this)?A[this.type].getRanges.call(this):[];c.call(this,a),this[an](J,m.clone(a)),e&&this[an]("selectEnd",m.clone(a))}}function l(){var t=this._track;if(!t[on])return!1;var e=t[t[on]-1],i=t[0],n=e[0]-i[0],r=e[1]-i[1],a=M(n*n+r*r,.5);return a>S}function c(t){var e=A[this.type];t&&t[on]?(this._cover||(this._cover=e[yi].call(this),this.group.add(this._cover)),e[dn].call(this,t)):(this.group[cn](this._cover),this._cover=null)}function u(){var t=this.group,e=t[k];e&&e[cn](t)}function h(){var t=this.opt;return new g.Rect({style:{stroke:t[F],fill:t.fill,lineWidth:t[p],opacity:t[bi]}})}function d(){return m.map(this._track,function(t){return this.group.transformCoordToLocal(t[0],t[1])},this)}function f(){var t=d.call(this),e=t[on]-1;return 0>e&&(e=0),[t[0],t[e]]}var v=t("zrender/mixin/Eventful"),m=t(Gn),g=t(qe),y=m.bind,x=m.each,_=Math.min,w=Math.max,M=Math.pow,S=2,C=["mousedown","mousemove","mouseup"];e[Sn]={constructor:e,enable:function(t,e){this._disabled=!1,u.call(this),this._containerRect=e!==!1?e||t[Li]():null,t.add(this.group)},update:function(t){c.call(this,t&&m.clone(t))},disable:function(){this._disabled=!0,u.call(this)},dispose:function(){this.disable(),x(C,function(t){this.zr.off(t,this._handlers[t])},this)}},m.mixin(e,v);var A={line:{create:h,getRanges:function(){var t=f.call(this),e=_(t[0][0],t[1][0]),i=w(t[0][0],t[1][0]);return[[e,i]]},update:function(t){var e=t[0],i=this.opt.width;this._cover[me]({x:e[0],y:-i/2,width:e[1]-e[0],height:i})}},rect:{create:h,getRanges:function(){var t=f.call(this),e=[_(t[1][0],t[0][0]),_(t[1][1],t[0][1])],i=[w(t[1][0],t[0][0]),w(t[1][1],t[0][1])];return[[[e[0],i[0]],[e[1],i[1]]]]},update:function(t){var e=t[0];this._cover[me]({x:e[0][0],y:e[1][0],width:e[0][1]-e[0][0],height:e[1][1]-e[1][0]})}}};return e}),e("echarts/component/dataZoom/history",[Zn,Gn],function(t){function e(t){var e=t[r];return e||(e=t[r]=[{}]),e}var i=t(Gn),n=i.each,r="\x00_ec_hist_store",a={push:function(t,i){var r=e(t);n(i,function(e,i){for(var n=r[on]-1;n>=0;n--){var a=r[n];if(a[i])break}if(0>n){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var s=o.getPercentRange();r[0][i]={dataZoomId:i,start:s[0],end:s[1]}}}}),r.push(i)},pop:function(t){var i=e(t),r=i[i[on]-1];i[on]>1&&i.pop();var a={};return n(r,function(t,e){for(var n=i[on]-1;n>=0;n--){var t=i[n][e];if(t){a[e]=t;break}}}),a},clear:function(t){t[r]=null},count:function(t){return e(t)[on]}};return a}),e("echarts/component/timeline/TimelineAxis",[Zn,Gn,"../../coord/Axis","../../coord/axisHelper"],function(t){var e=t(Gn),i=t("../../coord/Axis"),n=t("../../coord/axisHelper"),r=function(t,e,n,r){i.call(this,t,e,n),this.type=r||"value",this._autoLabelInterval,this.model=null};return r[Sn]={constructor:r,getLabelInterval:function(){var t=this.model,i=t[_n](Pe),r=i.get(E);if(null!=r&&"auto"!=r)return r;var r=this._autoLabelInterval;return r||(r=this._autoLabelInterval=n.getAxisLabelInterval(e.map(this.scale[gi](),this[Me],this),n[Ke](this,i.get(_)),i[_n](Pi)[Di](),t.get(c)===Z)),r},isLabelIgnored:function(t){if(this.type===je){var e=this.getLabelInterval();return typeof e===Gi&&!e(t,this.scale[mi](t))||t%(e+1)}}},e[Vi](r,i),r}),e("echarts/component/visualMap/VisualMapModel",[Zn,Gn,"zrender/core/env",si,se,"../../visual/visualDefault","../../visual/VisualMapping",U],function(t){var e=t(Gn),i=t("zrender/core/env"),n=t(si),r=t(se),a=t("../../visual/visualDefault"),o=t("../../visual/VisualMapping"),s=o.mapVisual,l=o.eachVisual,c=t(U),u=e[Fi],d=e.each,f=c.asc,p=c[q];return n[Ei]({type:"visualMap",dependencies:[nn],dataBound:[-1/0,1/0],stateList:["inRange","outOfRange"],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",seriesIndex:null,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:["#bf444c","#d88273","#f6efa6"],formatter:null,text:null,textStyle:{color:"#333"}},init:function(t,e,i){this._autoSeriesIndex=!1,this._dataExtent,this.controllerVisuals={},this.targetVisuals={},this.textStyleModel,this.itemSize,this[h](t,i),this.doMergeOption({},!0)},mergeOption:function(t){this[oe](ae,arguments),this.doMergeOption(t,!1)},doMergeOption:function(){var t=this[xn];i.canvasSupported||(t.realtime=!1),this.textStyleModel=this[_n](Pi),this.resetItemSize(),this.completeVisualOption()},formatValueText:function(t,i){function n(t){return t===l[0]?"min":t===l[1]?"max":(+t)[ne](s)}var r,a,o=this[xn],s=o.precision,l=this.dataBound,c=o[_];return e[Fi](t)&&(t=t.slice(),r=!0),a=i?t:r?[n(t[0]),n(t[1])]:n(t),e[Ii](c)?c[Hi]("{value}",r?a[0]:a)[Hi]("{value2}",r?a[1]:a):e.isFunction(c)?r?c(t[0],t[1]):c(t):r?t[0]===l[0]?"< "+a[1]:t[1]===l[1]?"> "+a[0]:a[0]+" - "+a[1]:a},resetTargetSeries:function(t,e){var i=this[xn],n=this._autoSeriesIndex=null==(e?i:t)[Xi];i[Xi]=n?[]:r.normalizeToArray(i[Xi]),n&&this[D][rn](function(t,e){var n=t[Bn]();"list"===n.type&&i[Xi].push(e)})},resetExtent:function(){var t=this[xn],e=f([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this[xn].dimension;return null!=e?e:t[fi][on]-1},getExtent:function(){return this._dataExtent.slice()},resetVisual:function(t){function e(e,n){d(this.stateList,function(r){var a=n[r]||(n[r]={}),s=this[xn][e][r]||{};d(s,function(e,n){if(o.isValidType(n)){var s={type:n,dataExtent:i,visual:e};t&&t.call(this,s,r),a[n]=new o(s)}},this)},this)}var i=this[pi]();e.call(this,"controller",this.controllerVisuals),e.call(this,$i,this.targetVisuals)},completeVisualOption:function(){function t(t){u(r.color)&&!t.inRange&&(t.inRange={color:r.color.slice()[I]()}),d(this.stateList,function(i){var n=t[i];if(e[Ii](n)){var r=a.get(n,"active",v);r?(t[i]={},t[i][n]=r):delete t[i]}},this)}function i(t,e,i){var n=t[e],r=t[i];n&&!r&&(r=t[i]={},d(n,function(t,e){var i=a.get(e,"inactive",v);o.isValidType(e)&&i&&(r[e]=i)}))}function n(t){var i=(t.inRange||{})[he]||(t.outOfRange||{})[he],n=(t.inRange||{})[ue]||(t.outOfRange||{})[ue],r=this.get("inactiveColor");d(this.stateList,function(a){var o=this.itemSize,c=t[a];c||(c=t[a]={color:v?r:[r]}),c[he]||(c[he]=i&&e.clone(i)||(v?"roundRect":["roundRect"])),c[ue]||(c[ue]=n&&e.clone(n)||(v?o[0]:[o[0],o[0]])),c[he]=s(c[he],function(t){return"none"===t||"square"===t?"roundRect":t});var u=c[ue];if(u){var h=-1/0;l(u,function(t){t>h&&(h=t)}),c[ue]=s(u,function(t){return p(t,[0,h],[0,o[0]],!0)})}},this)}var r=this[xn],c={inRange:r.inRange,outOfRange:r.outOfRange},h=r[$i]||(r[$i]={}),f=r.controller||(r.controller={});e.merge(h,c),e.merge(f,c);var v=this.isCategory();t.call(this,h),t.call(this,f),i.call(this,h,"inRange","outOfRange"),i.call(this,h,"outOfRange","inRange"),n.call(this,f)},eachTargetSeries:function(t,i){e.each(this[xn][Xi],function(e){t.call(i,this[D].getSeriesByIndex(e))},this)},isCategory:function(){return!!this[xn][M]},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},setSelected:e.noop,getValueState:e.noop})}),e("echarts/chart/treemap/helper",[Zn],function(){var t={retrieveTargetInfo:function(t,e){if(t&&"treemapZoomToNode"===t.type){var i=e[Bn]().tree.root,n=t.targetNode;if(n&&i.contains(n))return{node:n};var r=t.targetNodeId;return null!=r&&(n=i.getNodeById(r))?{node:n}:null}}};return t}),e("echarts/component/dataZoom/SelectZoomModel",[Zn,"./DataZoomModel"],function(t){var e=t("./DataZoomModel");return e[ln]({type:"dataZoom.select"})}),e("echarts/component/dataZoom/SelectZoomView",[Zn,"./DataZoomView"],function(t){return t("./DataZoomView")[ln]({type:"dataZoom.select"})}),e("echarts/chart/treemap/Breadcrumb",[Zn,qe,Qe,Gn],function(t){function e(t,e){this.group=new n.Group,t.add(this.group),this._onSelect=e||a.noop}function i(t,e,i,n,r,a){var o=[[r?t:t-l,e],[t+i,e],[t+i,e+n],[r?t:t-l,e+n]];return!a&&o[tn](2,0,[t+i+l,e+n/2]),!r&&o.push([t,e+n/2]),o}var n=t(qe),r=t(Qe),a=t(Gn),o=8,s=8,l=5;return e[Sn]={constructor:e,render:function(t,e,i){var n=t[_n]("breadcrumb"),a=this.group;if(a[In](),n.get("show")&&i){var o=n[_n](oi),s=o[_n](Pi),l={pos:{left:n.get("left"),right:n.get("right"),top:n.get("top"),bottom:n.get(pn)},box:{width:e[yn](),height:e[gn]()},emptyItemWidth:n.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,i,l,s),this._renderContent(n,i,l,o,s),r.positionGroup(a,l.pos,l.box)}},_prepare:function(t,e,i,n){for(var r=e;r;r=r[V]){var a=r[_n]().get("name"),l=n.getTextRect(a),c=Math.max(l.width+2*o,i.emptyItemWidth);i.totalWidth+=c+s,i.renderList.push({node:r,text:a,width:c})}},_renderContent:function(t,e,o,l,c){for(var u=0,h=o.emptyItemWidth,d=t.get(fn),f=r.getAvailableSize(o.pos,o.box),p=o.totalWidth,v=o.renderList,m=v[on]-1;m>=0;m--){var g=v[m],y=g.width,x=g.text;p>f.width&&(p-=y-h,y=h,x=""),this.group.add(new n[fe]({shape:{points:i(u,0,y,d,m===v[on]-1,0===m)},style:a[Dn](l[Ln](),{lineJoin:"bevel",text:x,textFill:c[ki](),textFont:c[Di]()}),onclick:a.bind(this._onSelect,this,g.node)})),u+=y+s}},remove:function(){this.group[In]()}},e}),e("echarts/util/animation",[Zn,Gn],function(t){function e(){var t,e=[],n={};return{add:function(t,r,a,o,s){return i[Ii](o)&&(s=o,o=0),n[t.id]?!1:(n[t.id]=1,e.push({el:t,target:r,time:a,delay:o,easing:s}),!0)},done:function(e){return t=e,this},start:function(){function i(){r--,r||(e[on]=0,n={},t&&t())}for(var r=e[on],a=0,o=e[on];o>a;a++){var s=e[a];s.el.animateTo(s[$i],s.time,s.delay,s.easing,i)}return this}}}var i=t(Gn);return{createWrap:e}}),e("echarts/util/array/nest",[Zn,Gn],function(t){function e(){function t(e,r){if(r>=n[on])return e;for(var a=-1,o=e[on],s=n[r++],l={},c={};++a<o;){var u=s(e[a]),h=c[u];h?h.push(e[a]):c[u]=[e[a]]}return i.each(c,function(e,i){l[i]=t(e,r)}),l}function e(t,a){if(a>=n[on])return t;var o=[],s=r[a++];return i.each(t,function(t,i){o.push({key:i,values:e(t,a)})}),s?o.sort(function(t,e){return s(t.key,e.key)}):o}var n=[],r=[];return{key:function(t){return n.push(t),this},sortKeys:function(t){return r[n[on]-1]=t,this},entries:function(i){return e(t(i,0),0)}}}var i=t(Gn);return e}),e("echarts/coord/parallel/ParallelAxis",[Zn,Gn,"../Axis"],function(t){var e=t(Gn),i=t("../Axis"),n=function(t,e,n,r,a){i.call(this,t,e,n),this.type=r||"value",this.axisIndex=a};return n[Sn]={constructor:n,model:null},e[Vi](n,i),n}),e("echarts/action/roamHelper",[Zn],function(){var t={};return t.calcPanAndZoom=function(t,e){var i=e.dx,n=e.dy,r=e.zoom,a=t.get("x")||0,o=t.get("y")||0,s=t.get("zoom")||1;if(null!=i&&null!=n&&(a+=i,o+=n),null!=r){var l=(e.originX-a)*(r-1),c=(e.originY-o)*(r-1);a-=l,o-=c}return{x:a,y:o,zoom:(r||1)*s}},t}),e("echarts/visual/visualDefault",[Zn,Gn],function(t){var e=t(Gn),i={get:function(t,i,r){var a=e.clone((n[t]||{})[i]);return r&&e[Fi](a)?a[a[on]-1]:a}},n={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};return i}),e("echarts/chart/graph/simpleLayoutHelper",[Zn],function(){return function(t){var e=t[zn];if(!e||"view"===e.type){var i=t.getGraph();i.eachNode(function(t){var e=t[_n]();t.setLayout([+e.get("x"),+e.get("y")])}),i.eachEdge(function(t){var e,i=t[_n]().get("lineStyle.normal.curveness")||0,n=t.node1[L](),r=t.node2[L]();i>0&&(e=[(n[0]+r[0])/2-(n[1]-r[1])*i,(n[1]+r[1])/2-(r[0]-n[0])*i]),t.setLayout([n,r,e])})}}}),e("echarts/coord/parallel/AxisModel",[Zn,ni,Gn,"../../model/mixin/makeStyleMapper","../axisModelCreator",U,"../axisModelCommonMixin"],function(t){function e(t,e){return e.type||(e.data?je:"value")}var i=t(ni),n=t(Gn),r=t("../../model/mixin/makeStyleMapper"),a=t("../axisModelCreator"),o=t(U),s=i[ln]({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return r([["fill","color"],[p,"borderWidth"],[F,H],["width","width"],[bi,bi]]).call(this[_n]("areaSelectStyle"))},setActiveIntervals:function(t){var e=this.activeIntervals=n.clone(t);if(e)for(var i=e[on]-1;i>=0;i--)o.asc(e[i])},getActiveState:function(t){var e=this.activeIntervals;if(!e[on])return Ze;if(null==t)return"inactive";for(var i=0,n=e[on];n>i;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"}}),l={type:"value",dim:null,parallelIndex:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},z:10};return n.merge(s[Sn],t("../axisModelCommonMixin")),a("parallel",s,e,l),s}),e("echarts/component/visualMap/VisualMapView",[Zn,si,Gn,qe,W,Qe,"../../visual/VisualMapping"],function(t){var e=t(si),i=t(Gn),n=t(qe),r=t(W),a=t(Qe),o=t("../../visual/VisualMapping");return e[Vn]({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this[D]=t,this.api=e,this.visualMapModel,this._updatableShapes={}},render:function(t){return this.visualMapModel=t,t.get("show")===!1?void this.group[In]():void this.doRender.apply(this,arguments)},renderBackground:function(t){var e=this.visualMapModel,i=r.normalizeCssArray(e.get("padding")||0),a=t[Li]();t.add(new n.Rect({z2:-1,silent:!0,shape:{x:a.x-i[3],y:a.y-i[0],width:a.width+i[3]+i[1],height:a[fn]+i[0]+i[2]},style:{fill:e.get(kn),stroke:e.get(H),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,n){function r(t){return h[t]}function a(t,e){h[t]=e}var s=this.visualMapModel,l=i[Fi](t);if(l&&(!e||"color"!==n))throw new Error(t);var c=s.controllerVisuals[e||s.getValueState(t)],u=s.get("contentColor"),h={symbol:s.get("itemSymbol"),color:l?[{color:u,offset:0},{color:u,offset:1}]:u},d=o.prepareVisualTypes(c);return i.each(d,function(e){var i=c[e];(!n||o.isInVisualCluster(e,n))&&i&&i.applyVisual(t,r,a)}),h},positionGroup:function(t){var e=this.visualMapModel,i=this.api;a.positionGroup(t,e[Ti](),{width:i[yn](),height:i[gn]()})},doRender:i.noop})}),e("echarts/component/visualMap/helper",[Zn,Qe],function(t){var e=t(Qe),i={getItemAlign:function(t,i,n){var r=t[xn],a=r.align;if(null!=a&&"auto"!==a)return a;for(var o={width:i[yn](),height:i[gn]()},s=r[c]===Z?1:0,l=[["left","right","width"],["top",pn,fn]],u=l[s],h=[0,null,10],d={},f=0;3>f;f++)d[l[1-s][f]]=h[f],d[u[f]]=2===f?n[0]:r[u[f]];var p=[["x","width",3],["y",fn,0]][s],v=e[Ai](d,o,r.padding);return u[(v.margin[p[2]]||0)+v[p[0]]+.5*v[p[1]]<.5*o[p[1]]?0:1]}};return i}),e("echarts/component/axis/parallelAxisAction",[Zn,si],function(t){var e=t(si),i={type:"axisAreaSelect",event:"axisAreaSelected",update:"updateVisual"};e[Tn](i,function(t,e){e[mn]({mainType:"parallelAxis",query:t},function(e){e.axis.model.setActiveIntervals(t.intervals)})})}),e("echarts/chart/graph/circularLayoutHelper",[Zn],function(){return function(t){var e=t[zn];if(!e||"view"===e.type){var i=e[Li](),n=t[Bn](),r=n.graph,a=0,o=n.getSum("value"),s=2*Math.PI/(o||n.count()),l=i.width/2+i.x,c=i[fn]/2+i.y,u=Math.min(i.width,i[fn])/2;r.eachNode(function(t){var e=t.getValue("value");a+=s*(o?e:2)/2,t.setLayout([u*Math.cos(a)+l,u*Math.sin(a)+c]),a+=s*(o?e:2)/2}),r.eachEdge(function(t){var e,i=t[_n]().get("lineStyle.normal.curveness")||0,n=t.node1[L](),r=t.node2[L]();i>0&&(e=[l,c]),t.setLayout([n,r,e])})}}}),e("echarts/component/axis/ParallelAxisView",[Zn,Gn,"./AxisBuilder","../helper/SelectController",si],function(t){function e(t,e,i){return i&&"axisAreaSelect"===i.type&&e[ui]({mainType:"parallelAxis",query:i})[0]===t}var i=t(Gn),n=t("./AxisBuilder"),r=t("../helper/SelectController"),a=[B,N,O,"axisName"],o=t(si)[Vn]({type:"parallelAxis",_selectController:null,render:function(t,r,o,s){if(!e(t,r,s)&&(this.axisModel=t,this.api=o,this.group[In](),t.get("show"))){var l=r[Je]("parallel",t.get("parallelIndex"))[zn],c=t.getAreaSelectStyle(),u=c.width,h=l.getAxisLayout(t.axis.dim),d=i[ln]({strokeContainThreshold:u,silent:!(u>0)},h),f=new n(t,d);i.each(a,f.add,f);var p=f.getGroup();this.group.add(p),this._buildSelectController(p,c,t,o)}},_buildSelectController:function(t,e,n,a){var o=n.axis,s=this._selectController;s||(s=this._selectController=new r("line",a.getZr(),e),s.on(J,i.bind(this._onSelected,this))),s[T](t);var l=i.map(n.activeIntervals,function(t){return[o[Me](t[0],!0),o[Me](t[1],!0)]});s[dn](l)},_onSelected:function(t){var e=this.axisModel,n=e.axis,r=i.map(t,function(t){return[n.coordToData(t[0],!0),n.coordToData(t[1],!0)]});this.api[sn]({type:"axisAreaSelect",parallelAxisId:e.id,intervals:r})},remove:function(){this._selectController&&this._selectController.disable()},dispose:function(){this._selectController&&(this._selectController[en](),this._selectController=null)}});return o}),e("echarts/component/visualMap/PiecewiseModel",[Zn,"./VisualMapModel",Gn,"../../visual/VisualMapping"],function(t){function e(t,e){var i=t[$e];(t[c]===l?!i:i)&&e[I]()}var i=t("./VisualMapModel"),n=t(Gn),r=t("../../visual/VisualMapping"),a=i[ln]({type:"visualMap.piecewise",defaultOption:{selected:null,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10},doMergeOption:function(t,e){this[oe]("doMergeOption",arguments),this._pieceList=[],this.resetTargetSeries(t,e),this.resetExtent();var i=this._mode=this._decideMode();o[this._mode].call(this),this._resetSelected(t,e);var r=this[xn][M];this.resetVisual(function(t,e){i===M?(t.mappingMethod=je,t[M]=n.clone(r)):(t.mappingMethod="piecewise",t.pieceList=n.map(this._pieceList,function(t){var t=n.clone(t);return"inRange"!==e&&(t.visual=null),t}))})},_resetSelected:function(t,e){var i=this[xn],r=this._pieceList,a=(e?i:t)[J]||{};if(i[J]=a,n.each(r,function(t){var e=this.getSelectedMapKey(t);e in a||(a[e]=!0)},this),"single"===i.selectedMode){var o=!1;n.each(r,function(t){var e=this.getSelectedMapKey(t);a[e]&&(o?a[e]=!1:o=!0)},this)}},getSelectedMapKey:function(t){return this._mode===M?t.value+"":t.index+""},getPieceList:function(){return this._pieceList},_decideMode:function(){var t=this[xn];return t.pieces&&t.pieces[on]>0?"pieces":this[xn][M]?M:"splitNumber"},setSelected:function(t){this[xn][J]=n.clone(t)},getValueState:function(t){var e=this._pieceList,i=r.findPieceIndex(t,e);return null!=i&&this[xn][J][this.getSelectedMapKey(e[i])]?"inRange":"outOfRange"}}),o={splitNumber:function(){var t=this[xn],e=t.precision,i=this[pi](),n=t.splitNumber;n=Math.max(parseInt(n,10),1),t.splitNumber=n;for(var r=(i[1]-i[0])/n;+r[ne](e)!==r&&5>e;)e++;t.precision=e,r=+r[ne](e);for(var a=0,o=i[0];n>a;a++,o+=r){var s=a===n-1?i[1]:o+r;this._pieceList.push({text:this.formatValueText([o,s]),index:a,interval:[o,s]})}},categories:function(){var t=this[xn];n.each(t[M],function(t){this._pieceList.push({text:this.formatValueText(t,!0),value:t})},this),e(t,this._pieceList)},pieces:function(){var t=this[xn];n.each(t.pieces,function(t,e){n[un](t)||(t={value:t});var i,a={text:"",index:e};if(null!=t.label&&(a.text=t.label,i=!0),t.hasOwnProperty("value"))a.value=t.value,i||(a.text=this.formatValueText(a.value));else{var o=t.min,s=t.max;null==o&&(o=-1/0),null==s&&(s=1/0),o===s&&(a.value=o),a[E]=[o,s],i||(a.text=this.formatValueText([o,s]))}a.visual=r.retrieveVisuals(t),this._pieceList.push(a)},this),e(t,this._pieceList)}};return a}),e("echarts/component/visualMap/PiecewiseView",[Zn,"./VisualMapView",Gn,qe,u,Qe,"./helper"],function(t){var e=t("./VisualMapView"),i=t(Gn),n=t(qe),r=t(u),a=t(Qe),o=t("./helper"),h=e[ln]({type:"visualMap.piecewise",doRender:function(){function t(t){var r=new n.Group;r.onclick=i.bind(this._onItemClick,this,t.piece),this._createItemSymbol(r,t.piece,[0,0,d[0],d[1]]),p&&r.add(new n.Text({style:{x:"right"===h?-o:d[0]+o,y:d[1]/2,text:t.piece.text,textBaseline:"middle",textAlign:h,textFont:l,fill:u}})),e.add(r)}var e=this.group;e[In]();var r=this.visualMapModel,o=r.get("textGap"),s=r.textStyleModel,l=s[Di](),u=s[ki](),h=this._getItemAlign(),d=r.itemSize,f=this._getViewData(),p=!f.endsText,v=!p;v&&this._renderEndsText(e,f.endsText[0],d),i.each(f.pieceList,t,this),v&&this._renderEndsText(e,f.endsText[1],d),a.box(r.get(c),e,r.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_getItemAlign:function(){var t=this.visualMapModel,e=t[xn];if(e[c]===l)return o.getItemAlign(t,this.api,t.itemSize);var i=e.align;return i&&"auto"!==i||(i="left"),i},_renderEndsText:function(t,e,i){if(e){var r=new n.Group,a=this.visualMapModel.textStyleModel;r.add(new n.Text({style:{x:i[0]/2,y:i[1]/2,textBaseline:"middle",textAlign:"center",text:e,textFont:a[Di](),fill:a[ki]()}})),t.add(r)}},_getViewData:function(){var t=this.visualMapModel,e=i.map(t.getPieceList(),function(t,e){return{piece:t,index:e}}),n=t.get("text"),r=t.get(c),a=t.get($e);return(r===Z?a:!a)?e[I]():n&&(n=n.slice()[I]()),{pieceList:e,endsText:n}},_createItemSymbol:function(t,e,i){var n;if(this.visualMapModel.isCategory())n=e.value;else if(null!=e.value)n=e.value;else{var a=e[E]||[];n=(a[0]+a[1])/2}var o=this.getControllerVisual(n);t.add(r[s](o[he],i[0],i[1],i[2],i[3],o.color))},_onItemClick:function(t){var e=this.visualMapModel,n=e[xn],r=i.clone(n[J]),a=e.getSelectedMapKey(t);"single"===n.selectedMode?(r[a]=!0,i.each(r,function(t,e){r[e]=e===a})):r[a]=!r[a],this.api[sn]({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}});return h}),e("echarts/chart/graph/forceHelper",[Zn,w],function(t){var e=t(w),i=e.scaleAndAdd;return function(t,n,r){for(var a=r.rect,o=a.width,s=a[fn],l=[a.x+o/2,a.y+s/2],c=null==r.gravity?.1:r.gravity,u=0;u<t[on];u++){var h=t[u];h.p||(h.p=e[yi](o*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),h.pp=e.clone(h.p),h.edges=null}var d=.6;return{warmUp:function(){d=.5},setFixed:function(e){t[e].fixed=!0},setUnfixed:function(e){t[e].fixed=!1},step:function(r){for(var a=[],o=t[on],s=0;s<n[on];s++){var u=n[s],h=u.n1,f=u.n2;e.sub(a,f.p,h.p);var p=e.len(a)-u.d,v=f.w/(h.w+f.w);e[xi](a,a),!h.fixed&&i(h.p,h.p,a,v*p*d),!f.fixed&&i(f.p,f.p,a,-(1-v)*p*d)}for(var s=0;o>s;s++){var m=t[s];m.fixed||(e.sub(a,l,m.p),e.scaleAndAdd(m.p,m.p,a,c*d))}for(var s=0;o>s;s++)for(var h=t[s],g=s+1;o>g;g++){var f=t[g];e.sub(a,f.p,h.p);var p=e.len(a);0===p&&(e.set(a,Math.random()-.5,Math.random()-.5),p=1);var y=(h.rep+f.rep)/p/p;!h.fixed&&i(h.pp,h.pp,a,y),!f.fixed&&i(f.pp,f.pp,a,-y)}for(var x=[],s=0;o>s;s++){var m=t[s];m.fixed||(e.sub(x,m.p,m.pp),e.scaleAndAdd(m.p,m.p,x,d),e.copy(m.pp,m.p))}d=.992*d,r&&r(t,n,.01>d)}}}}),e("zrender",["zrender/zrender"],function(t){return t}),e("echarts",["echarts/echarts"],function(t){return t});var Fn=t("echarts");return Fn.graphic=t("echarts/util/graphic"),Fn.number=t("echarts/util/number"),Fn.format=t("echarts/util/format"),t("echarts/chart/bar"),t("echarts/chart/line"),t("echarts/chart/pie"),t("echarts/chart/scatter"),t("echarts/chart/candlestick"),t("echarts/chart/radar"),t("echarts/chart/heatmap"),t("echarts/chart/treemap"),t("echarts/chart/map"),t("echarts/chart/lines"),t("echarts/chart/graph"),t("echarts/chart/boxplot"),t("echarts/chart/parallel"),t("echarts/chart/gauge"),t("echarts/chart/funnel"),t("echarts/chart/sankey"),t("echarts/chart/effectScatter"),t("echarts/component/grid"),t("echarts/component/polar"),t("echarts/component/geo"),t("echarts/component/title"),t("echarts/component/legend"),t("echarts/component/tooltip"),t("echarts/component/markPoint"),t("echarts/component/markLine"),t("echarts/component/timeline"),t("echarts/component/dataZoom"),t("echarts/component/visualMap"),t("echarts/component/toolbox"),t("zrender/vml/vml"),Fn});