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],u=0,c=Math.min(e.length,n.length);c>u;u++){var h,d=i(e[u],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="shadowOffsetY",n="shadowOffsetX",r="shadowColor",a="shadowBlur",o="../core/util",s="buildPath",l="__dirty",u="zrender/core/event",c="axisIndex",h="vertical",d="../../model/Component",f="getTicksCoords",p="isBlank",v="axisName",g="single",m="translate",y="rotate",x="updateTransform",_="zrender/contain/text",b="getLocalTransform",w="lineWidth",M="ecModel",S="normalizeToArray",A="orient",T="MAX_VALUE",C="queryComponents",P="closePath",L="lineTo",D="moveTo",I="extendShape",k="pointer",z="formatter",R="axisLabel",V="axisTick",O="splitLine",E="axisLine",N="{value}",B="offsetY",G="offsetX",H="eachNode",F="textPosition",Z="draggable",W="categories",q="mergeDefaultAndTheme",U="undefined",j="Circle",X="getComponent",Y="parentNode",$="borderWidth",K="zrender/core/BoundingRect",J="linear",Q="invisible",te="getLayout",ee="applyTransform",ie="transform",ne="hasItemOption",re="interval",ae="setText",oe="createSymbol",se="../../util/symbol",le="horizontal",ue="layout",ce="stroke",he="borderColor",de="addCommas",fe="encodeHTML",pe="../../util/format",ve="linearMap",ge="../../util/number",me="itemStyle.normal.color",ye="getRawIndex",xe="clockwise",_e="lineStyle",be="label.emphasis",we="label.normal",Me="rotation",Se="animateTo",Ae="selected",Te="hoverStyle",Ce="childAt",Pe="getFormattedLabel",Le="inside",De="animate",Ie="getName",ke="emphasis",ze="defaultEmphasis",Re="toFixed",Ve="percent",Oe="initData",Ee="superCall",Ne="../../data/helper/completeDimensions",Be="../../data/List",Ge="getShallow",He="setItemVisual",Fe="getRawValue",Ze="symbolSize",We="symbol",qe="points",Ue="ordinal",je="Polygon",Xe="Polyline",Ye="hostModel",$e="getAreaStyle",Ke="getLineStyle",Je="updateData",Qe="reverse",ti="mapArray",ei="radius",ii="../../util/model",ni="../../model/Series",ri="setItemLayout",ai="setLayout",oi="offset",si="getBandWidth",li="parsePercent",ui="setHoverStyle",ci="useStyle",hi="setShape",di="itemStyle.emphasis",fi="itemStyle.normal",pi="getItemLayout",vi="initProps",gi="eachItemGraphicEl",mi="updateProps",yi="getItemGraphicEl",xi="setItemGraphicEl",_i="getItemModel",bi="execute",wi="isAnimationEnabled",Mi="normal",Si="itemStyle",Ai="../../echarts",Ti="../../model/Model",Ci="../../util/graphic",Pi="dimensions",Li="cartesian2d",Di="retrieve",Ii="getOtherAxis",ki="getBaseAxis",zi="unionExtentFromData",Ri="coordDimToDataDim",Vi="boundaryGap",Oi="onBand",Ei="createScaleByModel",Ni="componentIndex",Bi="coordToData",Gi="pointToData",Hi="dataToCoord",Fi="toGlobalCoord",Zi="dataToPoint",Wi="getAxis",qi="inverse",Ui="isHorizontal",ji="category",Xi="getFormattedLabels",Yi="niceScaleExtent",$i="../../CoordinateSystem",Ki="../../coord/axisHelper",Ji="../../util/layout",Qi="getContext",tn="createElement",en="getDataExtent",nn="setExtent",rn="getLabel",an="getTicks",on="getExtent",sn="normalize",ln="contain",un="parent",cn="textVerticalAlign",hn="mergeOption",dn="superApply",fn="option",pn="opacity",vn="margin",gn="position",mn="center",yn="middle",xn="padding",_n="getLayoutRect",bn="getBoxLayoutParams",wn="getBoundingRect",Mn="getTextColor",Sn="getFont",An="textAlign",Tn="textStyle",Cn="getItemStyle",Pn="getRect",Ln="removeAll",Dn="isString",In="inherits",kn="filter",zn="number",Rn="extendChartView",Vn="extendComponentView",On="extendComponentModel",En="register",Nn="registerAction",Bn="function",Gn="isArray",Hn="replace",Fn="zlevel",Zn="setStyle",Wn="traverse",qn="dataType",Un="getDataParams",jn="seriesIndex",Xn="getSeriesByIndex",Yn="target",$n="mouseup",Kn="mousedown",Jn="mousemove",Qn="mouseout",tr="mouseover",er="splice",ir="dispose",nr="trigger",rr="downplay",ar="highlight",or="defaults",sr="dispatchAction",lr="extend",ur="remove",cr="series",hr="concat",dr="render",fr="mainType",pr="updateLayout",vr="eachSeries",gr="colorStops",mr="transparent",yr="update",xr="create",_r="getItemVisual",br="dataIndex",wr="seriesModel",Mr="getVisual",Sr="coordinateSystem",Ar="indexOf",Tr="length",Cr="bottom",Pr="ignore",Lr="eachComponent",Dr="stopAnimation",Ir="storage",kr="backgroundColor",zr="canvasSupported",Rr="painter",Vr="getHeight",Or="getWidth",Er="getModel",Nr="_model",Br="isObject",Gr="assert",Hr="silent",Fr="animation",Zr="resize",Wr="height",qr="canvas",Ur="string",jr="prototype",Xr="toLowerCase",Yr="./helper",$r="zrender/core/vector",Kr="zrender/core/matrix",Jr="zrender/tool/color",Qr="zrender/core/env",ta="registerPreprocessor",ea="circle",ia="setVisual",na="getData",ra="eachSeriesByType",aa="../echarts",oa="zrender/core/util",sa="require";e("echarts/chart/bar",[sa,oa,"../coord/cartesian/Grid","./bar/BarSeries","./bar/BarView","../layout/barGrid",aa,"../component/gridSimple"],function(t){var e=t(oa);t("../coord/cartesian/Grid"),t("./bar/BarSeries"),t("./bar/BarView");var i=t("../layout/barGrid"),n=t(aa);n.registerLayout(e.curry(i,"bar")),n.registerVisual(function(t){t[ra]("bar",function(t){var e=t[na]();e[ia]("legendSymbol","roundRect")})}),t("../component/gridSimple")}),e("echarts/chart/line",[sa,oa,aa,"./line/LineSeries","./line/LineView","../visual/symbol","../layout/points","../processor/dataSample","../component/gridSimple"],function(t){var e=t(oa),i=t(aa),n=i.PRIORITY;t("./line/LineSeries"),t("./line/LineView"),i.registerVisual(e.curry(t("../visual/symbol"),"line",ea,"line")),i.registerLayout(e.curry(t("../layout/points"),"line")),i.registerProcessor(n.PROCESSOR.STATISTIC,e.curry(t("../processor/dataSample"),"line")),t("../component/gridSimple")}),e("echarts/chart/pie",[sa,oa,aa,"./pie/PieSeries","./pie/PieView","../action/createDataSelectAction","../visual/dataColor","./pie/pieLayout","../processor/dataFilter"],function(t){var e=t(oa),i=t(aa);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.registerVisual(e.curry(t("../visual/dataColor"),"pie")),i.registerLayout(e.curry(t("./pie/pieLayout"),"pie")),i.registerProcessor(e.curry(t("../processor/dataFilter"),"pie"))}),e("echarts/chart/scatter",[sa,oa,aa,"./scatter/ScatterSeries","./scatter/ScatterView","../visual/symbol","../layout/points","../component/gridSimple"],function(t){var e=t(oa),i=t(aa);t("./scatter/ScatterSeries"),t("./scatter/ScatterView"),i.registerVisual(e.curry(t("../visual/symbol"),"scatter",ea,null)),i.registerLayout(e.curry(t("../layout/points"),"scatter")),t("../component/gridSimple")}),e("echarts/chart/candlestick",[sa,aa,"./candlestick/CandlestickSeries","./candlestick/CandlestickView","./candlestick/preprocessor","./candlestick/candlestickVisual","./candlestick/candlestickLayout"],function(t){var e=t(aa);t("./candlestick/CandlestickSeries"),t("./candlestick/CandlestickView"),e[ta](t("./candlestick/preprocessor")),e.registerVisual(t("./candlestick/candlestickVisual")),e.registerLayout(t("./candlestick/candlestickLayout"))}),e("echarts/chart/radar",[sa,oa,aa,"../component/radar","./radar/RadarSeries","./radar/RadarView","../visual/dataColor","../visual/symbol","./radar/radarLayout","../processor/dataFilter","./radar/backwardCompat"],function(t){var e=t(oa),i=t(aa);t("../component/radar"),t("./radar/RadarSeries"),t("./radar/RadarView"),i.registerVisual(e.curry(t("../visual/dataColor"),"radar")),i.registerVisual(e.curry(t("../visual/symbol"),"radar",ea,null)),i.registerLayout(t("./radar/radarLayout")),i.registerProcessor(e.curry(t("../processor/dataFilter"),"radar")),i[ta](t("./radar/backwardCompat"))}),e("echarts/chart/heatmap",[sa,"./heatmap/HeatmapSeries","./heatmap/HeatmapView"],function(t){t("./heatmap/HeatmapSeries"),t("./heatmap/HeatmapView")}),e("echarts/chart/treemap",[sa,aa,"./treemap/TreemapSeries","./treemap/TreemapView","./treemap/treemapAction","./treemap/treemapVisual","./treemap/treemapLayout"],function(t){var e=t(aa);t("./treemap/TreemapSeries"),t("./treemap/TreemapView"),t("./treemap/treemapAction"),e.registerVisual(t("./treemap/treemapVisual")),e.registerLayout(t("./treemap/treemapLayout"))}),e("echarts/chart/map",[sa,aa,"./map/MapSeries","./map/MapView","../action/geoRoam","../coord/geo/geoCreator","./map/mapSymbolLayout","./map/mapVisual","./map/mapDataStatistic","./map/backwardCompat","../action/createDataSelectAction"],function(t){var e=t(aa),i=e.PRIORITY;t("./map/MapSeries"),t("./map/MapView"),t("../action/geoRoam"),t("../coord/geo/geoCreator"),e.registerLayout(t("./map/mapSymbolLayout")),e.registerVisual(t("./map/mapVisual")),e.registerProcessor(i.PROCESSOR.STATISTIC,t("./map/mapDataStatistic")),e[ta](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",[sa,"./lines/LinesSeries","./lines/LinesView",aa,"./lines/linesLayout","./lines/linesVisual"],function(t){t("./lines/LinesSeries"),t("./lines/LinesView");var e=t(aa);e.registerLayout(t("./lines/linesLayout")),e.registerVisual(t("./lines/linesVisual"))}),e("echarts/chart/graph",[sa,aa,oa,"./graph/GraphSeries","./graph/GraphView","./graph/graphAction","./graph/categoryFilter","../visual/symbol","./graph/categoryVisual","./graph/edgeVisual","./graph/simpleLayout","./graph/circularLayout","./graph/forceLayout","./graph/createView"],function(t){var e=t(aa),i=t(oa);t("./graph/GraphSeries"),t("./graph/GraphView"),t("./graph/graphAction"),e.registerProcessor(t("./graph/categoryFilter")),e.registerVisual(i.curry(t("../visual/symbol"),"graph",ea,null)),e.registerVisual(t("./graph/categoryVisual")),e.registerVisual(t("./graph/edgeVisual")),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",[sa,aa,"./boxplot/BoxplotSeries","./boxplot/BoxplotView","./boxplot/boxplotVisual","./boxplot/boxplotLayout"],function(t){var e=t(aa);t("./boxplot/BoxplotSeries"),t("./boxplot/BoxplotView"),e.registerVisual(t("./boxplot/boxplotVisual")),e.registerLayout(t("./boxplot/boxplotLayout"))}),e("echarts/chart/parallel",[sa,aa,"../component/parallel","./parallel/ParallelSeries","./parallel/ParallelView","./parallel/parallelVisual"],function(t){var e=t(aa);t("../component/parallel"),t("./parallel/ParallelSeries"),t("./parallel/ParallelView"),e.registerVisual(t("./parallel/parallelVisual"))}),e("echarts/chart/gauge",[sa,"./gauge/GaugeSeries","./gauge/GaugeView"],function(t){t("./gauge/GaugeSeries"),t("./gauge/GaugeView")}),e("echarts/chart/funnel",[sa,oa,aa,"./funnel/FunnelSeries","./funnel/FunnelView","../visual/dataColor","./funnel/funnelLayout","../processor/dataFilter"],function(t){var e=t(oa),i=t(aa);t("./funnel/FunnelSeries"),t("./funnel/FunnelView"),i.registerVisual(e.curry(t("../visual/dataColor"),"funnel")),i.registerLayout(t("./funnel/funnelLayout")),i.registerProcessor(e.curry(t("../processor/dataFilter"),"funnel"))}),e("echarts/chart/sankey",[sa,aa,"./sankey/SankeySeries","./sankey/SankeyView","./sankey/sankeyLayout","./sankey/sankeyVisual"],function(t){var e=t(aa);t("./sankey/SankeySeries"),t("./sankey/SankeyView"),e.registerLayout(t("./sankey/sankeyLayout")),e.registerVisual(t("./sankey/sankeyVisual"))}),e("echarts/chart/themeRiver",[sa,aa,oa,"../component/singleAxis","./themeRiver/ThemeRiverSeries","./themeRiver/ThemeRiverView","./themeRiver/themeRiverLayout","./themeRiver/themeRiverVisual","../processor/dataFilter"],function(t){var e=t(aa),i=t(oa);t("../component/singleAxis"),t("./themeRiver/ThemeRiverSeries"),t("./themeRiver/ThemeRiverView"),e.registerLayout(t("./themeRiver/themeRiverLayout")),e.registerVisual(t("./themeRiver/themeRiverVisual")),e.registerProcessor(i.curry(t("../processor/dataFilter"),"themeRiver"))}),e("echarts/echarts",[sa,Qr,"./model/Global","./ExtensionAPI","./CoordinateSystem","./model/OptionManager","./model/Component","./model/Series","./view/Component","./view/Chart","./util/graphic","./util/model","./util/throttle","zrender",oa,Jr,"zrender/mixin/Eventful","zrender/core/timsort","./visual/seriesColor","./preprocessor/backwardCompat","./loading/default","./data/List","./model/Model","./coord/Axis","./util/number","./util/format",Kr,$r,Yr],function(t){function e(t){return function(e,i,n){e=e&&e[Xr](),V[jr][t].call(this,e,i,n)}}function i(){V.call(this)}function n(t,e,n){function r(t,e){return t.prio-e.prio}n=n||{},typeof e===Ur&&(e=ae[e]),this.id,this.group,this._dom=t;var a=this._zr=k.init(t,{renderer:n.renderer||qr,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n[Wr]});this._throttledZrFlush=I.throttle(z.bind(a.flush,a),17),this._theme=z.clone(e),this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new M,this._api=new w(this,this._coordSysMgr),V.call(this),this._messageCenter=new i,this._initEvents(),this[Zr]=z.bind(this[Zr],this),this._pendingActions=[],O(re,r),O(ee,r),a[Fr].on("frame",this._onframe,this),z.setAsPrimitive(this)}function r(t,e,i){var n,r=this[Nr],a=this._coordSysMgr.getCoordinateSystems();e=D.parseFinder(r,e);for(var o=0;o<a[Tr];o++){var s=a[o];if(s[t]&&null!=(n=s[t](r,e,i)))return n}}function a(t,e,i,n,r){function a(n){n&&n.__alive&&n[e]&&n[e](n.__model,o,t._api,i)}var o=t[Nr];if(!n)return void E(t._componentsViews[hr](t._chartsViews),a);var s={};s[n+"Id"]=i[n+"Id"],s[n+"Index"]=i[n+"Index"],s[n+"Name"]=i[n+"Name"];var l={mainType:n,query:s};r&&(l.subType=r),o&&o[Lr](l,function(e){a(t[n===cr?"_chartsMap":"_componentsMap"][e.__viewId])},t)}function o(t,e){var i=t.type,n=t.escapeConnect,r=Q[i],o=r.actionInfo,s=(o[yr]||yr).split(":"),l=s.pop();s=null!=s[0]&&N(s[0]),this[U]=!0;var u=[t],c=!1;t.batch&&(c=!0,u=z.map(t.batch,function(e){return e=z[or](z[lr]({},e),t),e.batch=null,e}));var h,d=[],f=i===ar||i===rr;E(u,function(t){h=r.action(t,this[Nr],this._api),h=h||z[lr]({},t),h.type=o.event||h.type,d.push(h),f?a(this,l,t,cr):s&&a(this,l,t,s.main,s.sub)},this),"none"===l||f||s||(this[X]?(K.prepareAndUpdate.call(this,t),this[X]=!1):K[l].call(this,t)),h=c?{type:o.event||i,escapeConnect:n,batch:d}:d[0],this[U]=!1,!e&&this._messageCenter[nr](h.type,h)}function s(t){for(var e=this._pendingActions;e[Tr];){var i=e.shift();o.call(this,i,t)}}function l(t){!t&&this[nr]("updated")}function u(t,e,i){var n=this._api;E(this._componentsViews,function(r){var a=r.__model;r[t](a,e,n,i),y(a,r)},this),e[vr](function(r){var a=this._chartsMap[r.__viewId];a[t](r,e,n,i),y(r,a),m(r,a)},this),g(this._zr,e),E(ne,function(t){t(e,n)})}function c(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[Tr];o++)n[o].__alive=!1;e[i?Lr:vr](function(t,o){if(i){if(t===cr)return}else o=t;var s=o.id+"_"+o.type,l=r[s];if(!l){var u=N(o.type),c=i?C.getClass(u.main,u.sub):P.getClass(u.sub);if(!c)return;l=new c,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[Tr];){var s=n[o];s.__alive?o++:(a[ur](s.group),s[ir](e,this._api),n[er](o,1),delete r[s.__id])}}function h(t,e){E(ee,function(i){i.func(t,e)})}function d(t){var e={};t[vr](function(t){var i=t.get("stack"),n=t[na]();if(i&&"list"===n.type){var r=e[i];r&&(n.stackedOn=r),e[i]=n}})}function f(t,e){var i=this._api;E(re,function(n){n.isLayout&&n.func(t,i,e)})}function p(t,e,i){var n=this._api;t.clearColorPalette(),t[vr](function(t){t.clearColorPalette()}),E(re,function(r){(!i||!r.isLayout)&&r.func(t,n,e)})}function v(t,e){var i=this._api;E(this._componentsViews,function(n){var r=n.__model;n[dr](r,t,i,e),y(r,n)},this),E(this._chartsViews,function(t){t.__alive=!1},this),t[vr](function(n){var r=this._chartsMap[n.__viewId];r.__alive=!0,r[dr](n,t,i,e),r.group[Hr]=!!n.get(Hr),y(n,r),m(n,r)},this),g(this._zr,t),E(this._chartsViews,function(e){e.__alive||e[ur](t,i)},this)}function g(t,e){var i=t[Ir],n=0;i[Wn](function(t){t.isGroup||n++}),n>e.get("hoverLayerThreshold")&&!_.node&&i[Wn](function(t){t.isGroup||(t.useHoverLayer=!0)})}function m(t,e){var i=0;e.group[Wn](function(t){"group"===t.type||t[Pr]||i++});var n=+t.get("progressive"),r=i>t.get("progressiveThreshold")&&n&&!_.node;r&&e.group[Wn](function(t){t.isGroup||(t.progressive=r?Math.floor(i++/n):-1,r&&t[Dr](!0))});var a=t.get("blendMode")||null;e.group[Wn](function(t){t.isGroup||t[Zn]("blend",a)})}function y(t,e){var i=t.get("z"),n=t.get(Fn);e.group[Wn](function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=n&&(t[Fn]=n))})}function x(t){function e(t,e){for(var i=0;i<t[Tr];i++){var n=t[i];n[a]=e}}var i=0,n=1,r=2,a="__connectUpdateStatus";z.each(te,function(o,s){t._messageCenter.on(s,function(o){if(le[t.group]&&t[a]!==i){if(o&&o.escapeConnect)return;var s=t.makeActionFromEvent(o),l=[];z.each(se,function(e){e!==t&&e.group===t.group&&l.push(e)}),e(l,i),E(l,function(t){t[a]!==n&&t[sr](s)}),e(l,r)}})})}var _=t(Qr),b=t("./model/Global"),w=t("./ExtensionAPI"),M=t("./CoordinateSystem"),S=t("./model/OptionManager"),A=t("./model/Component"),T=t("./model/Series"),C=t("./view/Component"),P=t("./view/Chart"),L=t("./util/graphic"),D=t("./util/model"),I=t("./util/throttle"),k=t("zrender"),z=t(oa),R=t(Jr),V=t("zrender/mixin/Eventful"),O=t("zrender/core/timsort"),E=z.each,N=A.parseClassType,B=1e3,G=5e3,H=1e3,F=2e3,Z=3e3,W=4e3,q=5e3,U="__flagInMainProcess",j="__hasGradientOrPatternBg",X="__optionUpdated",Y=/^[a-zA-Z0-9_]+$/;i[jr].on=e("on"),i[jr].off=e("off"),i[jr].one=e("one"),z.mixin(i,V);var $=n[jr];$._onframe=function(){if(this[X]){var t=this[X][Hr];this[U]=!0,K.prepareAndUpdate.call(this),this[U]=!1,this[X]=!1,s.call(this,t),l.call(this,t)}},$.getDom=function(){return this._dom},$.getZr=function(){return this._zr},$.setOption=function(t,e,i){var n;if(z[Br](e)&&(i=e.lazyUpdate,n=e[Hr],e=e.notMerge),this[U]=!0,!this[Nr]||e){var r=new S(this._api),a=this._theme,o=this[Nr]=new b(null,null,a,r);o.init(null,null,a,r)}this.__lastOnlyGraphic=!(!t||!t.graphic),z.each(t,function(t,e){"graphic"!==e&&(this.__lastOnlyGraphic=!1)},this),this[Nr].setOption(t,ie,this.__lastOnlyGraphic),i?(this[X]={silent:n},this[U]=!1):(K.prepareAndUpdate.call(this),this._zr.flush(),this[X]=!1,this[U]=!1,s.call(this,n),l.call(this,n))},$.setTheme=function(){console.log("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},$[Er]=function(){return this[Nr]},$.getOption=function(){return this[Nr]&&this[Nr].getOption()},$[Or]=function(){return this._zr[Or]()},$[Vr]=function(){return this._zr[Vr]()},$.getDevicePixelRatio=function(){return this._zr[Rr].dpr||window.devicePixelRatio||1},$.getRenderedCanvas=function(t){if(_[zr]){t=t||{},t.pixelRatio=t.pixelRatio||1,t[kr]=t[kr]||this[Nr].get(kr);var e=this._zr,i=e[Ir].getDisplayList();return z.each(i,function(t){t[Dr](!0)}),e[Rr].getRenderedCanvas(t)}},$.getDataURL=function(t){t=t||{};var e=t.excludeComponents,i=this[Nr],n=[],r=this;E(e,function(t){i[Lr]({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group[Pr]||(n.push(e),e.group[Pr]=!0)})});var a=this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return E(n,function(t){t.group[Pr]=!1}),a},$.getConnectedDataURL=function(t){if(_[zr]){var e=this.group,i=Math.min,n=Math.max,r=1/0;if(le[e]){var a=r,o=r,s=-r,l=-r,u=[],c=t&&t.pixelRatio||1;z.each(se,function(r){if(r.group===e){var c=r.getRenderedCanvas(z.clone(t)),h=r.getDom().getBoundingClientRect();a=i(h.left,a),o=i(h.top,o),s=n(h.right,s),l=n(h[Cr],l),u.push({dom:c,left:h.left,top:h.top})}}),a*=c,o*=c,s*=c,l*=c;var h=s-a,d=l-o,f=z.createCanvas();f.width=h,f[Wr]=d;var p=k.init(f);return E(u,function(t){var e=new L.Image({style:{x:t.left*c-a,y:t.top*c-o,image:t.dom}});p.add(e)}),p.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},$.convertToPixel=z.curry(r,"convertToPixel"),$.convertFromPixel=z.curry(r,"convertFromPixel"),$.containPixel=function(t,e){var i,n=this[Nr];return t=D.parseFinder(n,t),z.each(t,function(t,n){n[Ar]("Models")>=0&&z.each(t,function(t){var r=t[Sr];if(r&&r.containPoint)i|=!!r.containPoint(e);else if("seriesModels"===n){var a=this._chartsMap[t.__viewId];a&&a.containPoint&&(i|=a.containPoint(e,t))}},this)},this),!!i},$[Mr]=function(t,e){var i=this[Nr];t=D.parseFinder(i,t,{defaultMainType:"series"});var n=t[wr],r=n[na](),a=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty(br)?r.indexOfRawIndex(t[br]):null;return null!=a?r[_r](a,e):r[Mr](e)},$.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},$.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var K={update:function(t){var e=this[Nr],i=this._api,n=this._coordSysMgr,r=this._zr;if(e){e.restoreData(),n[xr](this[Nr],this._api),h.call(this,e,i),d.call(this,e),n[yr](e,i),p.call(this,e,t),v.call(this,e,t);var a=e.get(kr)||mr,o=r[Rr];if(o.isSingleCanvas&&o.isSingleCanvas())r.configLayer(0,{clearColor:a});else{if(!_[zr]){var s=R.parse(a);a=R.stringify(s,"rgb"),0===s[3]&&(a=mr)}a[gr]||a.image?(r.configLayer(0,{clearColor:a}),this[j]=!0,this._dom.style.background=mr):(this[j]&&r.configLayer(0,{clearColor:null}),this[j]=!1,this._dom.style.background=a)}E(ne,function(t){t(e,i)})}},updateView:function(t){var e=this[Nr];e&&(e[vr](function(t){t[na]().clearAllVisual()}),p.call(this,e,t),u.call(this,"updateView",e,t))},updateVisual:function(t){var e=this[Nr];e&&(e[vr](function(t){t[na]().clearAllVisual()}),p.call(this,e,t,!0),u.call(this,"updateVisual",e,t))},updateLayout:function(t){var e=this[Nr];e&&(f.call(this,e,t),u.call(this,pr,e,t))},prepareAndUpdate:function(t){var e=this[Nr];c.call(this,"component",e),c.call(this,"chart",e),this.__lastOnlyGraphic?(E(this._componentsViews,function(i){var n=i.__model;n&&"graphic"===n[fr]&&(i[dr](n,e,this._api,t),y(n,i))},this),this.__lastOnlyGraphic=!1):K[yr].call(this,t)}};$[Zr]=function(t){this[U]=!0,this._zr[Zr](t);var e=this[Nr]&&this[Nr].resetOption("media"),i=e?"prepareAndUpdate":yr;K[i].call(this),this._loadingFX&&this._loadingFX[Zr](),this[U]=!1;var n=t&&t[Hr];s.call(this,n),l.call(this,n)},$.showLoading=function(t,e){if(z[Br](t)&&(e=t,t=""),t=t||"default",this.hideLoading(),oe[t]){var i=oe[t](this._api,e),n=this._zr;this._loadingFX=i,n.add(i)}},$.hideLoading=function(){this._loadingFX&&this._zr[ur](this._loadingFX),this._loadingFX=null},$.makeActionFromEvent=function(t){var e=z[lr]({},t);return e.type=te[t.type],e},$[sr]=function(t,e){if(z[Br](e)||(e={silent:!!e}),Q[t.type]){if(this[U])return void this._pendingActions.push(t);o.call(this,t,e[Hr]),e.flush?this._zr.flush(!0):e.flush!==!1&&_.browser.weChat&&this._throttledZrFlush(),s.call(this,e[Hr]),l.call(this,e[Hr])}},$.on=e("on"),$.off=e("off"),$.one=e("one");var J=["click","dblclick",tr,Qn,Jn,Kn,$n,"globalout","contextmenu"];$._initEvents=function(){E(J,function(t){this._zr.on(t,function(e){var i,n=this[Er](),r=e[Yn];if("globalout"===t)i={};else if(r&&null!=r[br]){var a=r.dataModel||n[Xn](r[jn]);i=a&&a[Un](r[br],r[qn])||{}}else r&&r.eventData&&(i=z[lr]({},r.eventData));i&&(i.event=e,i.type=t,this[nr](t,i))},this)},this),E(te,function(t,e){this._messageCenter.on(e,function(t){this[nr](e,t)},this)},this)},$.isDisposed=function(){return this._disposed},$.clear=function(){this.setOption({series:[]},!0)},$[ir]=function(){if(!this._disposed){this._disposed=!0;var t=this._api,e=this[Nr];E(this._componentsViews,function(i){i[ir](e,t)}),E(this._chartsViews,function(i){i[ir](e,t)}),this._zr[ir](),delete se[this.id]}},z.mixin(n,V);var Q={},te={},ee=[],ie=[],ne=[],re=[],ae={},oe={},se={},le={},ue=new Date-0,ce=new Date-0,he="_echarts_instance_",de={version:"3.5.1",dependencies:{zrender:"3.4.1"}};return de.init=function(t,e,i){var r=new n(t,e,i);return r.id="ec_"+ue++,se[r.id]=r,t.setAttribute&&t.setAttribute(he,r.id),x(r),r},de.connect=function(t){if(z[Gn](t)){var e=t;t=null,z.each(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+ce++,z.each(e,function(e){e.group=t})}return le[t]=!0,t},de.disConnect=function(t){le[t]=!1},de.disconnect=de.disConnect,de[ir]=function(t){z.isDom(t)?t=de.getInstanceByDom(t):typeof t===Ur&&(t=se[t]),t instanceof n&&!t.isDisposed()&&t[ir]()},de.getInstanceByDom=function(t){var e=t.getAttribute(he);return se[e]},de.getInstanceById=function(t){return se[t]},de.registerTheme=function(t,e){ae[t]=e},de[ta]=function(t){ie.push(t)},de.registerProcessor=function(t,e){typeof t===Bn&&(e=t,t=B),ee.push({prio:t,func:e})},de.registerPostUpdate=function(t){ne.push(t)},de[Nn]=function(t,e,i){typeof e===Bn&&(i=e,e="");var n=z[Br](t)?t.type:[t,t={event:e}][0];t.event=(t.event||n)[Xr](),e=t.event,z[Gr](Y.test(n)&&Y.test(e)),Q[n]||(Q[n]={action:i,actionInfo:t}),te[e]=n},de.registerCoordinateSystem=function(t,e){M[En](t,e)},de.registerLayout=function(t,e){typeof t===Bn&&(e=t,t=H),re.push({prio:t,func:e,isLayout:!0})},de.registerVisual=function(t,e){typeof t===Bn&&(e=t,t=Z),re.push({prio:t,func:e})},de.registerLoading=function(t,e){oe[t]=e},de[On]=function(t){return A[lr](t)},de[Vn]=function(t){return C[lr](t)},de.extendSeriesModel=function(t){return T[lr](t)},de[Rn]=function(t){return P[lr](t)},de.setCanvasCreator=function(t){z.createCanvas=t},de.registerVisual(F,t("./visual/seriesColor")),de[ta](t("./preprocessor/backwardCompat")),de.registerLoading("default",t("./loading/default")),de[Nn]({type:"highlight",event:"highlight",update:"highlight"},z.noop),de[Nn]({type:"downplay",event:"downplay",update:"downplay"},z.noop),de.zrender=k,de.List=t("./data/List"),de.Model=t("./model/Model"),de.Axis=t("./coord/Axis"),de.graphic=t("./util/graphic"),de[zn]=t("./util/number"),de.format=t("./util/format"),de.throttle=I.throttle,de.matrix=t(Kr),de.vector=t($r),de.color=t(Jr),de.util={},E(["map","each",kn,Ar,In,"reduce",kn,"bind","curry",Gn,Dn,Br,"isFunction",lr,or,"clone","merge"],function(t){de.util[t]=z[t]}),de.helper=t(Yr),de.PRIORITY={PROCESSOR:{FILTER:B,STATISTIC:G},VISUAL:{LAYOUT:H,GLOBAL:F,CHART:Z,COMPONENT:W,BRUSH:q}},de}),e("echarts/chart/pictorialBar",[sa,oa,"../coord/cartesian/Grid","./bar/PictorialBarSeries","./bar/PictorialBarView","../layout/barGrid",aa,"../visual/symbol","../component/gridSimple"],function(t){var e=t(oa);t("../coord/cartesian/Grid"),t("./bar/PictorialBarSeries"),t("./bar/PictorialBarView");var i=t("../layout/barGrid"),n=t(aa);n.registerLayout(e.curry(i,"pictorialBar")),n.registerVisual(e.curry(t("../visual/symbol"),"pictorialBar","roundRect",null)),t("../component/gridSimple")}),e("echarts/chart/effectScatter",[sa,oa,aa,"./effectScatter/EffectScatterSeries","./effectScatter/EffectScatterView","../visual/symbol","../layout/points"],function(t){var e=t(oa),i=t(aa);t("./effectScatter/EffectScatterSeries"),t("./effectScatter/EffectScatterView"),i.registerVisual(e.curry(t("../visual/symbol"),"effectScatter",ea,null)),i.registerLayout(e.curry(t("../layout/points"),"effectScatter"))}),e("echarts/component/polar",[sa,"../coord/polar/polarCreator","./angleAxis","./radiusAxis","./axisPointer","./axisPointer/PolarAxisPointer",aa],function(t){t("../coord/polar/polarCreator"),t("./angleAxis"),t("./radiusAxis"),t("./axisPointer"),t("./axisPointer/PolarAxisPointer"),t(aa)[Vn]({type:"polar"})}),e("echarts/component/gridSimple",[sa,"../util/graphic",oa,aa,"../coord/cartesian/Grid","./axis"],function(t){var e=t("../util/graphic"),i=t(oa),n=t(aa);t("../coord/cartesian/Grid"),t("./axis"),n[Vn]({type:"grid",render:function(t){this.group[Ln](),t.get("show")&&this.group.add(new e.Rect({shape:t[Sr][Pn](),style:i[or]({fill:t.get(kr)},t[Cn]()),silent:!0,z2:-1}))}}),n[ta](function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}),e("echarts/component/singleAxis",[sa,"../coord/single/singleCreator","./axis/SingleAxisView","../coord/single/AxisModel","./axisPointer","./axisPointer/SingleAxisPointer",aa],function(t){t("../coord/single/singleCreator"),t("./axis/SingleAxisView"),t("../coord/single/AxisModel"),t("./axisPointer"),t("./axisPointer/SingleAxisPointer");var e=t(aa);e[Vn]({type:"single"})}),e("echarts/component/geo",[sa,"../coord/geo/GeoModel","../coord/geo/geoCreator","./geo/GeoView","../action/geoRoam",aa,oa],function(t){function e(t,e){e[yr]="updateView",i[Nn](e,function(e,i){var r={};return i[Lr]({mainType:"geo",query:e},function(i){i[t](e.name);var a=i[Sr];n.each(a.regions,function(t){r[t.name]=i.isSelected(t.name)||!1})}),{selected:r,name:e.name}})}t("../coord/geo/GeoModel"),t("../coord/geo/geoCreator"),t("./geo/GeoView"),t("../action/geoRoam");var i=t(aa),n=t(oa);e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"})}),e("echarts/component/calendar",[sa,"../coord/calendar/Calendar","../coord/calendar/CalendarModel","./calendar/CalendarView"],function(t){t("../coord/calendar/Calendar"),t("../coord/calendar/CalendarModel"),t("./calendar/CalendarView")}),e("echarts/component/title",[sa,aa,"../util/graphic","../util/layout"],function(t){var e=t(aa),i=t("../util/graphic"),n=t("../util/layout");e[On]({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),e[Vn]({type:"title",render:function(t,e,r){if(this.group[Ln](),t.get("show")){var a=this.group,o=t[Er](Tn),s=t[Er]("subtextStyle"),l=t.get(An),u=t.get("textBaseline"),c=new i.Text({style:{text:t.get("text"),textFont:o[Sn](),fill:o[Mn]()},z2:10}),h=c[wn](),d=t.get("subtext"),f=new i.Text({style:{text:d,textFont:s[Sn](),fill:s[Mn](),y:h[Wr]+t.get("itemGap"),textBaseline:"top"},z2:10}),p=t.get("link"),v=t.get("sublink");c[Hr]=!p,f[Hr]=!v,p&&c.on("click",function(){window.open(p,"_"+t.get(Yn))}),v&&f.on("click",function(){window.open(v,"_"+t.get("subtarget"))}),a.add(c),d&&a.add(f);var g=a[wn](),m=t[bn]();m.width=g.width,m[Wr]=g[Wr];var y=n[_n](m,{width:r[Or](),height:r[Vr]()},t.get(xn));l||(l=t.get("left")||t.get("right"),l===yn&&(l=mn),"right"===l?y.x+=y.width:l===mn&&(y.x+=y.width/2)),u||(u=t.get("top")||t.get(Cr),u===mn&&(u=yn),u===Cr?y.y+=y[Wr]:u===yn&&(y.y+=y[Wr]/2),u=u||"top"),a.attr(gn,[y.x,y.y]);var x={textAlign:l,textVerticalAlign:u};c[Zn](x),f[Zn](x),g=a[wn]();var _=y[vn],b=t[Cn](["color",pn]);b.fill=t.get(kr);var w=new i.Rect({shape:{x:g.x-_[3],y:g.y-_[0],width:g.width+_[1]+_[3],height:g[Wr]+_[0]+_[2]},style:b,silent:!0});i.subPixelOptimizeRect(w),a.add(w)}}})}),e("echarts/component/legend",[sa,"./legend/LegendModel","./legend/legendAction","./legend/LegendView",aa,"./legend/legendFilter"],function(t){t("./legend/LegendModel"),t("./legend/legendAction"),t("./legend/LegendView");var e=t(aa);e.registerProcessor(t("./legend/legendFilter"))}),e("echarts/component/tooltip",[sa,"./axisPointer","./tooltip/TooltipModel","./tooltip/TooltipView",aa],function(t){t("./axisPointer"),t("./tooltip/TooltipModel"),t("./tooltip/TooltipView"),t(aa)[Nn]({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),t(aa)[Nn]({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})
  }),e("echarts/component/markPoint",[sa,"./marker/MarkPointModel","./marker/MarkPointView",aa],function(t){t("./marker/MarkPointModel"),t("./marker/MarkPointView"),t(aa)[ta](function(t){t.markPoint=t.markPoint||{}})}),e("echarts/component/markLine",[sa,"./marker/MarkLineModel","./marker/MarkLineView",aa],function(t){t("./marker/MarkLineModel"),t("./marker/MarkLineView"),t(aa)[ta](function(t){t.markLine=t.markLine||{}})}),e("echarts/component/markArea",[sa,"./marker/MarkAreaModel","./marker/MarkAreaView",aa],function(t){t("./marker/MarkAreaModel"),t("./marker/MarkAreaView"),t(aa)[ta](function(t){t.markArea=t.markArea||{}})}),e("echarts/component/timeline",[sa,aa,"./timeline/preprocessor","./timeline/typeDefaulter","./timeline/timelineAction","./timeline/SliderTimelineModel","./timeline/SliderTimelineView"],function(t){var e=t(aa);e[ta](t("./timeline/preprocessor")),t("./timeline/typeDefaulter"),t("./timeline/timelineAction"),t("./timeline/SliderTimelineModel"),t("./timeline/SliderTimelineView")}),e("echarts/component/dataZoom",[sa,"./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/brush",[sa,aa,"./brush/preprocessor","./brush/visualEncoding","./brush/BrushModel","./brush/BrushView","./brush/brushAction","./toolbox/feature/Brush"],function(t){t(aa)[ta](t("./brush/preprocessor")),t("./brush/visualEncoding"),t("./brush/BrushModel"),t("./brush/BrushView"),t("./brush/brushAction"),t("./toolbox/feature/Brush")}),e("echarts/component/visualMap",[sa,"./visualMapContinuous","./visualMapPiecewise"],function(t){t("./visualMapContinuous"),t("./visualMapPiecewise")}),e("echarts/component/toolbox",[sa,"./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("echarts/component/graphic",[sa,aa,oa,"../util/model","../util/graphic","../util/layout"],function(t){function e(t,e,i,n){var r=i.type,a=h[r.charAt(0).toUpperCase()+r.slice(1)],o=new a(i);e.add(o),n[t]=o,o.__ecGraphicId=t}function i(t,e){var n=t&&t[un];n&&("group"===t.type&&t[Wn](function(t){i(t,e)}),delete e[t.__ecGraphicId],n[ur](t))}function n(t){return t=u[lr]({},t),u.each(["id","parentId","$action","hv","bounding"][hr](d.LOCATION_PARAMS),function(e){delete t[e]}),t}function r(t,e){var i;return u.each(e,function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)}),i}function a(t,e){var i=t.exist;if(e.id=t.keyInfo.id,!e.type&&i&&(e.type=i.type),null==e.parentId){var n=e.parentOption;n?e.parentId=n.id:i&&(e.parentId=i.parentId)}e.parentOption=null}function o(t,e,i){var n=u[lr]({},i),r=t[e],a=i.$action||"merge";if("merge"===a)if(r){u.merge(r,n,!0),d.mergeLayoutParam(r,n,{ignoreSize:!0}),d.copyLayoutParams(i,r)}else t[e]=n;else a===Hn?t[e]=n:a===ur&&r&&(t[e]=null)}function s(t,e){t&&(t.hv=e.hv=[r(e,["left","right"]),r(e,["top",Cr])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t[Wr]&&(t[Wr]=e[Wr]=0)))}var l=t(aa),u=t(oa),c=t("../util/model"),h=t("../util/graphic"),d=t("../util/layout");l[ta](function(t){var e=t.graphic;u[Gn](e)?t.graphic=e[0]&&e[0].elements?[t.graphic[0]]:[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])});var f=l[On]({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(){var t=this[fn].elements;this[fn].elements=null,f[dn](this,hn,arguments),this[fn].elements=t},optionUpdated:function(t,e){var i=this[fn],n=(e?i:t).elements,r=i.elements=e?[]:i.elements,l=[];this._flatten(n,l);var h=c.mappingToExists(r,l);c.makeIdAndName(h);var d=this._elOptionsToUpdate=[];u.each(h,function(t,e){var i=t[fn];i&&(d.push(i),a(t,i),o(r,e,i),s(r[e],i))},this);for(var f=r[Tr]-1;f>=0;f--)null==r[f]?r[er](f,1):delete r[f].$action},_flatten:function(t,e,i){u.each(t,function(t){if(t){i&&(t.parentOption=i),e.push(t);var n=t.children;"group"===t.type&&n&&this._flatten(n,e,t),delete t.children}},this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});l[Vn]({type:"graphic",init:function(){this._elMap={},this._lastGraphicModel},render:function(t,e,i){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t,i),this._relocate(t,i)},_updateElements:function(t){var r=t.useElOptionsToUpdate();if(r){var a=this._elMap,o=this.group;u.each(r,function(t){var r=t.$action,s=t.id,l=a[s],c=t.parentId,h=null!=c?a[c]:o;t.hv&&t.hv[1]&&"text"===t.type&&(t.style=u[or]({textBaseline:"middle"},t.style),t.style[cn]=null);var d=n(t);r&&"merge"!==r?r===Hn?(i(l,a),e(s,h,d,a)):r===ur&&i(l,a):l?l.attr(d):e(s,h,d,a),a[s]&&(a[s].__ecGraphicWidth=t.width,a[s].__ecGraphicHeight=t[Wr])})}},_relocate:function(t,e){for(var i=t[fn].elements,n=this.group,r=this._elMap,a=i[Tr]-1;a>=0;a--){var o=i[a],s=r[o.id];if(s){var l=s[un],u=l===n?{width:e[Or](),height:e[Vr]()}:{width:l.__ecGraphicWidth||0,height:l.__ecGraphicHeight||0};d.positionElement(s,o,u,null,{hv:o.hv,boundingMode:o.bounding})}}},_clear:function(){var t=this._elMap;u.each(t,function(e){i(e,t)}),this._elMap={}},dispose:function(){this._clear()}})}),e("zrender/vml/vml",[sa,"./graphic","../zrender","./Painter"],function(t){t("./graphic"),t("../zrender").registerPainter("vml",t("./Painter"))}),e("echarts/scale/Time",[sa,oa,"../util/number","../util/format","./Interval"],function(t){var e=t(oa),i=t("../util/number"),n=t("../util/format"),r=t("./Interval"),a=r[jr],o=Math.ceil,s=Math.floor,l=1e3,u=60*l,c=60*u,h=24*c,d=function(t,e,i,n){for(;n>i;){var r=i+n>>>1;t[r][2]<e?i=r+1:n=r}return i},f=r[lr]({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]-=h,r[1]+=h),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]-h}this.niceTicks(t);var l=this._interval;e||(r[0]=i.round(s(r[0]/l)*l)),n||(r[1]=i.round(o(r[1]/l)*l))},niceTicks:function(t){t=t||10;var e=this._extent,n=e[1]-e[0],r=n/t,a=p[Tr],l=d(p,r,0,a),u=p[Math.min(l,a-1)],c=u[2];if("year"===u[0]){var h=n/c,f=i.nice(h/t,!0);c*=f}var v=[o(e[0]/c)*c,s(e[1]/c)*c];this._stepLvl=u,this._interval=c,this._niceExtent=v},parse:function(t){return+i.parseDate(t)}});e.each([ln,sn],function(t){f[jr][t]=function(e){return a[t].call(this,this.parse(e))}});var p=[["hh:mm:ss",1,l],["hh:mm:ss",5,5*l],["hh:mm:ss",10,10*l],["hh:mm:ss",15,15*l],["hh:mm:ss",30,30*l],["hh:mm\nMM-dd",1,u],["hh:mm\nMM-dd",5,5*u],["hh:mm\nMM-dd",10,10*u],["hh:mm\nMM-dd",15,15*u],["hh:mm\nMM-dd",30,30*u],["hh:mm\nMM-dd",1,c],["hh:mm\nMM-dd",2,2*c],["hh:mm\nMM-dd",6,6*c],["hh:mm\nMM-dd",12,12*c],["MM-dd\nyyyy",1,h],["week",7,7*h],["month",1,31*h],["quarter",3,380*h/4],["half-year",6,380*h/2],["year",1,380*h]];return f[xr]=function(){return new f},f}),e("echarts/scale/Log",[sa,oa,"./Scale","../util/number","./Interval"],function(t){function e(t,e){return u(t,l(e))}var i=t(oa),n=t("./Scale"),r=t("../util/number"),a=t("./Interval"),o=n[jr],s=a[jr],l=r.getPrecisionSafe,u=r.round,c=Math.floor,h=Math.ceil,d=Math.pow,f=Math.log,p=n[lr]({type:"log",base:10,$constructor:function(){n.apply(this,arguments),this._originalScale=new a},getTicks:function(){var t=this._originalScale,n=this._extent,a=t[on]();return i.map(s[an].call(this),function(i){var o=r.round(d(this.base,i));return o=i===n[0]&&t.__fixMin?e(o,a[0]):o,o=i===n[1]&&t.__fixMax?e(o,a[1]):o},this)},getLabel:s[rn],scale:function(t){return t=o.scale.call(this,t),d(this.base,t)},setExtent:function(t,e){var i=this.base;t=f(t)/f(i),e=f(e)/f(i),s[nn].call(this,t,e)},getExtent:function(){var t=this.base,i=o[on].call(this);i[0]=d(t,i[0]),i[1]=d(t,i[1]);var n=this._originalScale,r=n[on]();return n.__fixMin&&(i[0]=e(i[0],r[0])),n.__fixMax&&(i[1]=e(i[1],r[1])),i},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=f(t[0])/f(e),t[1]=f(t[1])/f(e),o.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t[en](e,!0,function(t){return t>0}))},niceTicks:function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(1/0===i||0>=i)){var n=r.quantity(i),a=t/i*n;for(.5>=a&&(n*=10);!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0;)n*=10;var o=[r.round(h(e[0]/n)*n),r.round(c(e[1]/n)*n)];this._interval=n,this._niceExtent=o}},niceExtent:function(t,e,i){s.niceExtent.call(this,t,e,i);var n=this._originalScale;n.__fixMin=e,n.__fixMax=i}});return i.each([ln,sn],function(t){p[jr][t]=function(e){return e=f(e)/f(this.base),o[t].call(this,e)}}),p[xr]=function(){return new p},p}),e(oa,[sa],function(){function t(e){if(null==e||"object"!=typeof e)return e;var i=e,n=z.call(e);if("[object Array]"===n){i=[];for(var r=0,a=e[Tr];a>r;r++)i[r]=t(e[r])}else if(k[n])i=e.constructor.from(e);else if(!I[n]&&!L(e)&&!M(e)){i={};for(var o in e)e.hasOwnProperty(o)&&(i[o]=t(e[o]))}return i}function e(i,n,r){if(!b(n)||!b(i))return r?t(n):i;for(var a in n)if(n.hasOwnProperty(a)){var o=i[a],s=n[a];!b(s)||!b(o)||y(s)||y(o)||M(s)||M(o)||w(s)||w(o)||L(s)||L(o)?!r&&a in i||(i[a]=t(n[a],!0)):e(o,s,r)}return i}function i(t,i){for(var n=t[0],r=1,a=t[Tr];a>r;r++)n=e(n,t[r],i);return n}function n(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function r(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 a(){return document[tn](qr)}function o(){return D||(D=H.createCanvas()[Qi]("2d")),D}function s(t,e){if(t){if(t[Ar])return t[Ar](e);for(var i=0,n=t[Tr];n>i;i++)if(t[i]===e)return i}return-1}function l(t,e){function i(){}var n=t[jr];i[jr]=e[jr],t[jr]=new i;for(var r in n)t[jr][r]=n[r];t[jr].constructor=t,t.superClass=e}function u(t,e,i){t=jr in t?t[jr]:t,e=jr in e?e[jr]:e,r(t,e,i)}function c(t){return t?typeof t==Ur?!1:typeof t[Tr]==zn:void 0}function h(t,e,i){if(t&&e)if(t.forEach&&t.forEach===V)t.forEach(e,i);else if(t[Tr]===+t[Tr])for(var n=0,r=t[Tr];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 d(t,e,i){if(t&&e){if(t.map&&t.map===N)return t.map(e,i);for(var n=[],r=0,a=t[Tr];a>r;r++)n.push(e.call(i,t[r],r,t));return n}}function f(t,e,i,n){if(t&&e){if(t.reduce&&t.reduce===B)return t.reduce(e,i,n);for(var r=0,a=t[Tr];a>r;r++)i=e.call(n,i,t[r],r,t);return i}}function p(t,e,i){if(t&&e){if(t[kn]&&t[kn]===O)return t[kn](e,i);for(var n=[],r=0,a=t[Tr];a>r;r++)e.call(i,t[r],r,t)&&n.push(t[r]);return n}}function v(t,e,i){if(t&&e)for(var n=0,r=t[Tr];r>n;n++)if(e.call(i,t[n],n,t))return t[n]}function g(t,e){var i=E.call(arguments,2);return function(){return t.apply(e,i[hr](E.call(arguments)))}}function m(t){var e=E.call(arguments,1);return function(){return t.apply(this,e[hr](E.call(arguments)))}}function y(t){return"[object Array]"===z.call(t)}function x(t){return typeof t===Bn}function _(t){return"[object String]"===z.call(t)}function b(t){var e=typeof t;return e===Bn||!!t&&"object"==e}function w(t){return!!I[z.call(t)]}function M(t){return"object"==typeof t&&typeof t.nodeType===zn&&"object"==typeof t.ownerDocument}function S(t){return t!==t}function A(){for(var t=0,e=arguments[Tr];e>t;t++)if(null!=arguments[t])return arguments[t]}function T(){return Function.call.apply(E,arguments)}function C(t,e){if(!t)throw new Error(e)}function P(t){t[G]=!0}function L(t){return t[G]}var D,I={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},k={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},z=Object[jr].toString,R=Array[jr],V=R.forEach,O=R[kn],E=R.slice,N=R.map,B=R.reduce,G="__ec_primitive__",H={inherits:l,mixin:u,clone:t,merge:e,mergeAll:i,extend:n,defaults:r,getContext:o,createCanvas:a,indexOf:s,slice:T,find:v,isArrayLike:c,each:h,map:d,reduce:f,filter:p,bind:g,curry:m,isArray:y,isString:_,isObject:b,isFunction:x,isBuiltInObject:w,isDom:M,eqNaN:S,retrieve:A,assert:C,setAsPrimitive:P,noop:function(){}};return H}),e("echarts/coord/cartesian/Grid",[sa,"exports",Ji,Ki,oa,"./Cartesian2D","./Axis2D","./GridModel",$i],function(t){function e(t,e){return t.getCoordSysModel()===e}function i(t){var e,i=t.model,n=i[Xi](),r=i[Er]("axisLabel.textStyle"),a=1,o=n[Tr];o>40&&(a=Math.ceil(o/40));for(var s=0;o>s;s+=a)if(!t.isLabelIgnored(s)){var l=r.getTextRect(n[s]);e?e.union(l):e=l}return e}function n(t,e,i){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,i),this.model=t}function r(t,e){var i=t[on](),n=i[0]+i[1];t[Fi]="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}}function a(t){return u.map(g,function(e){var i=t.getReferringComponents(e)[0];return i})}function o(t){return t.get(Sr)===Li}var s=t(Ji),l=t(Ki),u=t(oa),c=t("./Cartesian2D"),h=t("./Axis2D"),d=u.each,f=l.ifAxisCrossZero,p=l[Yi];t("./GridModel");var v=n[jr];v.type="grid",v.axisPointerEnabled=!0,v[Pn]=function(){return this._rect},v[yr]=function(t,e){function i(t){var e=n[t];for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];if(r&&(r.type===ji||!f(r)))return!0}return!1}var n=this._axesMap;this._updateScale(t,this.model),d(n.x,function(t){p(t.scale,t.model)}),d(n.y,function(t){p(t.scale,t.model)}),d(n.x,function(t){i("y")&&(t.onZero=!1)}),d(n.y,function(t){i("x")&&(t.onZero=!1)}),this[Zr](this.model,e)},v[Zr]=function(t,e){function n(){d(o,function(t){var e=t[Ui](),i=e?[0,a.width]:[0,a[Wr]],n=t[qi]?1:0;t[nn](i[n],i[1-n]),r(t,e?a.x:a.y)})}var a=s[_n](t[bn](),{width:e[Or](),height:e[Vr]()});this._rect=a;var o=this._axesList;n(),t.get("containLabel")&&(d(o,function(t){if(!t.model.get("axisLabel.inside")){var e=i(t);if(e){var n=t[Ui]()?Wr:"width",r=t.model.get("axisLabel.margin");a[n]-=e[n]+r,"top"===t[gn]?a.y+=e[Wr]+r:"left"===t[gn]&&(a.x+=e.width+r)}}}),n())},v[Wi]=function(t,e){var i=this._axesMap[t];if(null!=i){if(null==e)for(var n in i)if(i.hasOwnProperty(n))return i[n];return i[e]}},v.getAxes=function(){return this._axesList.slice()},v.getCartesian=function(t,e){if(null!=t&&null!=e){var i="x"+t+"y"+e;return this._coordsMap[i]}u[Br](t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var n=0,r=this._coordsList;n<r[Tr];n++)if(r[n][Wi]("x").index===t||r[n][Wi]("y").index===e)return r[n]},v.getCartesians=function(){return this._coordsList.slice()},v.convertToPixel=function(t,e,i){var n=this._findConvertTarget(t,e);return n.cartesian?n.cartesian[Zi](i):n.axis?n.axis[Fi](n.axis[Hi](i)):null},v.convertFromPixel=function(t,e,i){var n=this._findConvertTarget(t,e);return n.cartesian?n.cartesian[Gi](i):n.axis?n.axis[Bi](n.axis.toLocalCoord(i)):null},v._findConvertTarget=function(t,e){var i,n,r=e[wr],a=e.xAxisModel||r&&r.getReferringComponents("xAxis")[0],o=e.yAxisModel||r&&r.getReferringComponents("yAxis")[0],s=e.gridModel,l=this._coordsList;if(r)i=r[Sr],u[Ar](l,i)<0&&(i=null);else if(a&&o)i=this.getCartesian(a[Ni],o[Ni]);else if(a)n=this[Wi]("x",a[Ni]);else if(o)n=this[Wi]("y",o[Ni]);else if(s){var c=s[Sr];c===this&&(i=this._coordsList[0])}return{cartesian:i,axis:n}},v.containPoint=function(t){var e=this._coordsList[0];return e?e.containPoint(t):void 0},v._initCartesian=function(t,i){function n(n){return function(s,u){if(e(s,t,i)){var c=s.get(gn);"x"===n?"top"!==c&&c!==Cr&&(c=Cr,r[c]&&(c="top"===c?Cr:"top")):"left"!==c&&"right"!==c&&(c="left",r[c]&&(c="left"===c?"right":"left")),r[c]=!0;var d=new h(n,l[Ei](s),[0,0],s.get("type"),c),f=d.type===ji;d[Oi]=f&&s.get(Vi),d[qi]=s.get(qi),d.onZero=s.get("axisLine.onZero"),s.axis=d,d.model=s,d.grid=this,d.index=u,this._axesList.push(d),a[n][u]=d,o[n]++}}}var r={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},o={x:0,y:0};return i[Lr]("xAxis",n("x"),this),i[Lr]("yAxis",n("y"),this),o.x&&o.y?(this._axesMap=a,void d(a.x,function(e,i){d(a.y,function(n,r){var a="x"+i+"y"+r,o=new c(a);o.grid=this,o.model=t,this._coordsMap[a]=o,this._coordsList.push(o),o.addAxis(e),o.addAxis(n)},this)},this)):(this._axesMap={},void(this._axesList=[]))},v._updateScale=function(t,i){function n(t,e,i){d(i[Ri](e.dim),function(i){e.scale[zi](t,i)})}u.each(this._axesList,function(t){t.scale[nn](1/0,-1/0)}),t[vr](function(r){if(o(r)){var s=a(r,t),l=s[0],u=s[1];if(!e(l,i,t)||!e(u,i,t))return;var c=this.getCartesian(l[Ni],u[Ni]),h=r[na](),d=c[Wi]("x"),f=c[Wi]("y");"list"===h.type&&(n(h,d,r),n(h,f,r))}},this)},v.getTooltipAxes=function(t){var e=[],i=[];return d(this.getCartesians(),function(n){var r=null!=t&&"auto"!==t?n[Wi](t):n[ki](),a=n[Ii](r);u[Ar](e,r)<0&&e.push(r),u[Ar](i,a)<0&&i.push(a)}),{baseAxes:e,otherAxes:i}};var g=["xAxis","yAxis"];return n[xr]=function(t,e){var i=[];return t[Lr]("grid",function(r,a){var o=new n(r,t,e);o.name="grid_"+a,o[Zr](r,e),r[Sr]=o,i.push(o)}),t[vr](function(e){if(o(e)){var i=a(e,t),n=i[0],r=i[1],s=n.getCoordSysModel(),l=s[Sr];e[Sr]=l.getCartesian(n[Ni],r[Ni])}}),i},n[Pi]=n[jr][Pi]=c[jr][Pi],t($i)[En](Li,n),n}),e("echarts/chart/bar/BarSeries",[sa,"./BaseBarSeries"],function(t){return t("./BaseBarSeries")[lr]({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect"})}),e("echarts/chart/bar/BarView",[sa,oa,Ci,Yr,Ti,"./barItemStyle",Ai],function(t){function e(t,e,i,n,r,a,l){var u=new s.Rect({shape:o[lr]({},n)});if(a){var c=u.shape,h=r?Wr:"width",d={};c[h]=0,d[h]=n[h],s[l?mi:vi](u,{shape:d},a,e)}return u}function i(t,e,i){i.style.text="",s[mi](i,{shape:{width:0}},e,t,function(){i[un]&&i[un][ur](i)})}function n(t,e,i){var n=t[pi](e),r=a(i,n),o=n.width>0?1:-1,s=n[Wr]>0?1:-1;return{x:n.x+o*r/2,y:n.y+s*r/2,width:n.width-o*r,height:n[Wr]-s*r}}function r(t,e,i,n,r,a,u){var c=e[_r](i,"color"),h=e[_r](i,pn),d=n[Er](fi),f=n[Er](di).getBarItemStyle();t[hi]("r",d.get("barBorderRadius")||0),t[ci](o[or]({fill:c,opacity:h},d.getBarItemStyle()));var p=u?r[Wr]>0?Cr:"top":r.width>0?"left":"right";l.setLabel(t.style,f,n,c,a,i,p),s[ui](t,f)}function a(t,e){var i=t.get(u)||0;return Math.min(i,Math.abs(e.width),Math.abs(e[Wr]))}var o=t(oa),s=t(Ci),l=t(Yr),u=[Si,Mi,"barBorderWidth"];o[lr](t(Ti)[jr],t("./barItemStyle"));var c=t(Ai)[Rn]({type:"bar",render:function(t,e,i){var n=t.get(Sr);return n===Li&&this._renderOnCartesian(t,e,i),this.group},dispose:o.noop,_renderOnCartesian:function(t){var a=this.group,o=t[na](),l=this._data,u=t[Sr],c=u[ki](),h=c[Ui](),d=t[wi]()?t:null;o.diff(l).add(function(i){if(o.hasValue(i)){var s=o[_i](i),l=n(o,i,s),u=e(o,i,s,l,h,d);o[xi](i,u),a.add(u),r(u,o,i,s,l,t,h)}})[yr](function(i,u){var c=l[yi](u);if(!o.hasValue(i))return void a[ur](c);var f=o[_i](i),p=n(o,i,f);c?s[mi](c,{shape:p},d,i):c=e(o,i,f,p,h,d,!0),o[xi](i,c),a.add(c),r(c,o,i,f,p,t,h)})[ur](function(t){var e=l[yi](t);e&&i(t,d,e)})[bi](),this._data=o},remove:function(t){var e=this.group,n=this._data;t.get(Fr)?n&&n[gi](function(e){i(e[br],t,e)}):e[Ln]()}});return c}),e("echarts/layout/barGrid",[sa,oa,"../util/number"],function(t){function e(t){return t.get("stack")||"__ec_stack_"+t[jn]}function i(t){return t.dim+t.index}function n(t){var n={};a.each(t,function(t){var r=t[na](),a=t[Sr],o=a[ki](),l=o[on](),u=o.type===ji?o[si]():Math.abs(l[1]-l[0])/r.count(),c=n[i(o)]||{bandWidth:u,remainedWidth:u,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},h=c.stacks;n[i(o)]=c;var d=e(t);h[d]||c.autoWidthCount++,h[d]=h[d]||{width:0,maxWidth:0};var f=s(t.get("barWidth"),u),p=s(t.get("barMaxWidth"),u),v=t.get("barGap"),g=t.get("barCategoryGap");f&&!h[d].width&&(f=Math.min(c.remainedWidth,f),h[d].width=f,c.remainedWidth-=f),p&&(h[d].maxWidth=p),null!=v&&(c.gap=v),null!=g&&(c.categoryGap=g)});var r={};return a.each(n,function(t,e){r[e]={};var i=t.stacks,n=t.bandWidth,o=s(t.categoryGap,n),l=s(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-o)/(c+(c-1)*l);h=Math.max(h,0),a.each(i,function(t){var e=t.maxWidth;!t.width&&e&&h>e&&(e=Math.min(e,u),u-=e,t.width=e,c--)}),h=(u-o)/(c+(c-1)*l),h=Math.max(h,0);var d,f=0;a.each(i,function(t){t.width||(t.width=h),d=t,f+=t.width*(1+l)}),d&&(f-=d.width*l);var p=-f/2;a.each(i,function(t,i){r[e][i]=r[e][i]||{offset:p,width:t.width},p+=t.width*(1+l)})}),r}function r(t,r){var o=n(a[kn](r.getSeriesByType(t),function(t){return!r.isSeriesFiltered(t)&&t[Sr]&&t[Sr].type===Li})),s={},l={};r[ra](t,function(t){var n=t[na](),r=t[Sr],a=r[ki](),u=e(t),c=o[i(a)][u],h=c[oi],d=c.width,f=r[Ii](a),p=t.get("barMinHeight")||0,v=a.onZero?f[Fi](f[Hi](0)):f.getGlobalExtent()[0],g=r.dataToPoints(n,!0);s[u]=s[u]||[],l[u]=l[u]||[],n[ai]({offset:h,size:d}),n.each(f.dim,function(t,e){if(!isNaN(t)){s[u][e]||(s[u][e]={p:v,n:v},l[u][e]={p:v,n:v});var i,r,a,o,c=t>=0?"p":"n",m=g[e],y=s[u][e][c],x=l[u][e][c];f[Ui]()?(i=y,r=m[1]+h,a=m[0]-x,o=d,l[u][e][c]+=a,Math.abs(a)<p&&(a=(0>a?-1:1)*p),s[u][e][c]+=a):(i=m[0]+h,r=y,a=d,o=m[1]-x,l[u][e][c]+=o,Math.abs(o)<p&&(o=(0>=o?-1:1)*p),s[u][e][c]+=o),n[ri](e,{x:i,y:r,width:a,height:o})}},!0)},this)}var a=t(oa),o=t("../util/number"),s=o[li];return r}),e("echarts/chart/line/LineSeries",[sa,"../helper/createListFromArray",ni],function(t){var e=t("../helper/createListFromArray"),i=t(ni);return i[lr]({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,clipOverflow:!0,label:{normal:{position:"top"}},lineStyle:{normal:{width:2,type:"solid"}},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:!1,connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}})}),e("echarts/chart/line/LineView",[sa,oa,"../helper/SymbolDraw","../helper/Symbol","./lineAnimationDiff",Ci,ii,"./poly","../../view/Chart"],function(t){function e(t,e){if(t[Tr]===e[Tr]){for(var i=0;i<t[Tr];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===zn?t:t?.3:0}function n(t){var e=t.getGlobalExtent();if(t[Oi]){var i=t[si]()/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[ki](),n=t[Ii](i),a=i.onZero?0:n.scale[on]()[0],o=n.dim,s="x"===o||o===ei?1:0;return e[ti]([o],function(n,l){for(var u,c=e.stackedOn;c&&r(c.get(o,l))===r(n);){u=c;break}var h=[];return h[s]=e.get(i.dim,l),h[1-s]=u?u.get(o,l,!0):a,t[Zi](h)},!0)}function o(t,e,i){var r=n(t[Wi]("x")),a=n(t[Wi]("y")),o=t[ki]()[Ui](),s=Math.min(r[0],r[1]),l=Math.min(a[0],a[1]),u=Math.max(r[0],r[1])-s,c=Math.max(a[0],a[1])-l,h=i.get("lineStyle.normal.width")||2,d=i.get("clipOverflow")?h/2:Math.max(u,c);o?(l-=d,c+=2*d):(s-=d,u+=2*d);var f=new v.Rect({shape:{x:s,y:l,width:u,height:c}});return e&&(f.shape[o?"width":Wr]=0,v[vi](f,{shape:{width:u,height:c}},i)),f}function s(t,e,i){var n=t.getAngleAxis(),r=t.getRadiusAxis(),a=r[on](),o=n[on](),s=Math.PI/180,l=new v.Sector({shape:{cx:t.cx,cy:t.cy,r0:a[0],r:a[1],startAngle:-o[0]*s,endAngle:-o[1]*s,clockwise:n[qi]}});return e&&(l.shape.endAngle=-o[0]*s,v[vi](l,{shape:{endAngle:-o[1]*s}},i)),l}function l(t,e,i){return"polar"===t.type?s(t,e,i):o(t,e,i)}function u(t,e,i){for(var n=e[ki](),r="x"===n.dim||n.dim===ei?0:1,a=[],o=0;o<t[Tr]-1;o++){var s=t[o+1],l=t[o];a.push(l);var u=[];switch(i){case"end":u[r]=s[r],u[1-r]=l[1-r],a.push(u);break;case yn:var c=(l[r]+s[r])/2,h=[];u[r]=h[r]=c,u[1-r]=l[1-r],h[1-r]=s[1-r],a.push(u),a.push(h);break;default:u[r]=l[r],u[1-r]=s[1-r],a.push(u)}}return t[o]&&a.push(t[o]),a}function c(t,e){var i=t[Mr]("visualMeta");if(i&&i[Tr]&&t.count()){for(var n,r=i[Tr]-1;r>=0;r--)if(i[r].dimension<2){n=i[r];break}if(n&&e.type===Li){var a=n.dimension,o=t[Pi][a],s=e[Wi](o),l=h.map(n.stops,function(t){return{coord:s[Fi](s[Hi](t.value)),color:t.color}}),u=l[Tr],c=n.outerColors.slice();u&&l[0].coord>l[u-1].coord&&(l[Qe](),c[Qe]());var d=10,f=l[0].coord-d,p=l[u-1].coord+d,g=p-f;if(.001>g)return mr;h.each(l,function(t){t[oi]=(t.coord-f)/g}),l.push({offset:u?l[u-1][oi]:.5,color:c[1]||mr}),l.unshift({offset:u?l[0][oi]:.5,color:c[0]||mr});var m=new v.LinearGradient(0,0,0,0,l,!0);return m[o]=f,m[o+"2"]=p,m}}}var h=t(oa),d=t("../helper/SymbolDraw"),f=t("../helper/Symbol"),p=t("./lineAnimationDiff"),v=t(Ci),g=t(ii),m=t("./poly"),y=t("../../view/Chart");return y[lr]({type:"line",init:function(){var t=new v.Group,e=new d;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,n,r){var o=t[Sr],s=this.group,d=t[na](),f=t[Er]("lineStyle.normal"),p=t[Er]("areaStyle.normal"),v=d[ti](d[pi],!0),g="polar"===o.type,m=this._coordSys,y=this._symbolDraw,x=this._polyline,_=this._polygon,b=this._lineGroup,w=t.get(Fr),M=!p.isEmpty(),S=a(o,d),A=t.get("showSymbol"),T=A&&!g&&!t.get("showAllSymbol")&&this._getSymbolIgnoreFunc(d,o),C=this._data;C&&C[gi](function(t,e){t.__temp&&(s[ur](t),C[xi](e,null))}),A||y[ur](),s.add(b);var P=!g&&t.get("step");x&&m.type===o.type&&P===this._step?(M&&!_?_=this._newPolygon(v,S,o,w):_&&!M&&(b[ur](_),_=this._polygon=null),b.setClipPath(l(o,!1,t)),A&&y[Je](d,T),d[gi](function(t){t[Dr](!0)}),e(this._stackedOnPoints,S)&&e(this._points,v)||(w?this._updateAnimation(d,S,o,r,P):(P&&(v=u(v,o,P),S=u(S,o,P)),x[hi]({points:v}),_&&_[hi]({points:v,stackedOnPoints:S})))):(A&&y[Je](d,T),P&&(v=u(v,o,P),S=u(S,o,P)),x=this._newPolyline(v,o,w),M&&(_=this._newPolygon(v,S,o,w)),b.setClipPath(l(o,!0,t)));var L=c(d,o)||d[Mr]("color");x[ci](h[or](f[Ke](),{fill:"none",stroke:L,lineJoin:"bevel"}));var D=t.get("smooth");if(D=i(t.get("smooth")),x[hi]({smooth:D,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),_){var I=d.stackedOn,k=0;if(_[ci](h[or](p[$e](),{fill:L,opacity:.7,lineJoin:"bevel"})),I){var z=I[Ye];k=i(z.get("smooth"))}_[hi]({smooth:D,stackedOnSmooth:k,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=d,this._coordSys=o,this._stackedOnPoints=S,this._points=v,this._step=P},dispose:function(){},highlight:function(t,e,i,n){var r=t[na](),a=g.queryDataIndex(r,n);if(!(a instanceof Array)&&null!=a&&a>=0){var o=r[yi](a);if(!o){var s=r[pi](a);if(!s)return;o=new f(r,a),o[gn]=s,o.setZ(t.get(Fn),t.get("z")),o[Pr]=isNaN(s[0])||isNaN(s[1]),o.__temp=!0,r[xi](a,o),o.stopSymbolAnimation(!0),this.group.add(o)}o[ar]()}else y[jr][ar].call(this,t,e,i,n)},downplay:function(t,e,i,n){var r=t[na](),a=g.queryDataIndex(r,n);if(null!=a&&a>=0){var o=r[yi](a);o&&(o.__temp?(r[xi](a,null),this.group[ur](o)):o[rr]())}else y[jr][rr].call(this,t,e,i,n)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup[ur](e),e=new m[Xe]({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var i=this._polygon;return i&&this._lineGroup[ur](i),i=new m[je]({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_getSymbolIgnoreFunc:function(t,e){var i=e.getAxesByScale(Ue)[0];return i&&i.isLabelIgnored?h.bind(i.isLabelIgnored,i):void 0},_updateAnimation:function(t,e,i,n,r){var a=this._polyline,o=this._polygon,s=t[Ye],l=p(this._data,t,this._stackedOnPoints,e,this._coordSys,i),c=l.current,h=l.stackedOnCurrent,d=l.next,f=l.stackedOnNext;r&&(c=u(l.current,i,r),h=u(l.stackedOnCurrent,i,r),d=u(l.next,i,r),f=u(l.stackedOnNext,i,r)),a.shape.__points=l.current,a.shape[qe]=c,v[mi](a,{shape:{points:d}},s),o&&(o[hi]({points:c,stackedOnPoints:h}),v[mi](o,{shape:{points:d,stackedOnPoints:f}},s));for(var g=[],m=l.status,y=0;y<m[Tr];y++){var x=m[y].cmd;if("="===x){var _=t[yi](m[y].idx1);_&&g.push({el:_,ptIdx:y})}}a.animators&&a.animators[Tr]&&a.animators[0].during(function(){for(var t=0;t<g[Tr];t++){var e=g[t].el;e.attr(gn,a.shape.__points[g[t].ptIdx])}})},remove:function(){var t=this.group,e=this._data;this._lineGroup[Ln](),this._symbolDraw[ur](!0),e&&e[gi](function(i,n){i.__temp&&(t[ur](i),e[xi](n,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}})}),e("echarts/visual/symbol",[sa],function(){return function(t,e,i,n){n.eachRawSeriesByType(t,function(t){var r=t[na](),a=t.get(We)||e,o=t.get(Ze);r[ia]({legendSymbol:i||a,symbol:a,symbolSize:o}),n.isSeriesFiltered(t)||(typeof o===Bn&&r.each(function(e){var i=t[Fe](e),n=t[Un](e);r[He](e,Ze,o(i,n))}),r.each(function(t){var e=r[_i](t),i=e[Ge](We,!0),n=e[Ge](Ze,!0);null!=i&&r[He](t,We,i),null!=n&&r[He](t,Ze,n)}))})}}),e("echarts/layout/points",[sa],function(){return function(t,e){e[ra](t,function(t){var e=t[na](),i=t[Sr];if(i){var n=i[Pi];1===n[Tr]?e.each(n[0],function(t,n){e[ri](n,isNaN(t)?[0/0,0/0]:i[Zi](t))}):2===n[Tr]&&e.each(n,function(t,n,r){e[ri](r,isNaN(t)||isNaN(n)?[0/0,0/0]:i[Zi]([t,n]))},!0)}})}}),e("echarts/processor/dataSample",[],function(){var t={average:function(t){for(var e=0,i=0,n=0;n<t[Tr];n++)isNaN(t[n])||(e+=t[n],i++);return 0===i?0/0:e/i},sum:function(t){for(var e=0,i=0;i<t[Tr];i++)e+=t[i]||0;return e},max:function(t){for(var e=-1/0,i=0;i<t[Tr];i++)t[i]>e&&(e=t[i]);return e},min:function(t){for(var e=1/0,i=0;i<t[Tr];i++)t[i]<e&&(e=t[i]);return e},nearest:function(t){return t[0]}},e=function(t){return Math.round(t[Tr]/2)};return function(i,n){n[ra](i,function(i){var n=i[na](),r=i.get("sampling"),a=i[Sr];if(a.type===Li&&r){var o=a[ki](),s=a[Ii](o),l=o[on](),u=l[1]-l[0],c=Math.round(n.count()/u);if(c>1){var h;typeof r===Ur?h=t[r]:typeof r===Bn&&(h=r),h&&(n=n.downSample(s.dim,1/c,h,e),i.setData(n))}}},this)}}),e("echarts/chart/pie/PieSeries",[sa,Be,oa,ii,Ne,"../../component/helper/selectableMixin",Ai],function(t){var e=t(Be),i=t(oa),n=t(ii),r=t(Ne),a=t("../../component/helper/selectableMixin"),o=t(Ai).extendSeriesModel({type:"series.pie",init:function(t){o[dn](this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this.updateSelectedMap(t.data),this._defaultLabelLine(t)},mergeOption:function(t){o[Ee](this,hn,t),this.updateSelectedMap(this[fn].data)},getInitialData:function(t){var i=r(["value"],t.data),n=new e(i,this);return n[Oe](t.data),n},getDataParams:function(t){var e=this[na](),i=o[Ee](this,Un,t),n=e.getSum("value");return i[Ve]=n?+(e.get("value",t)/n*100)[Re](2):0,i.$vars.push(Ve),i},_defaultLabelLine:function(t){n[ze](t.labelLine,["show"]);var e=t.labelLine[Mi],i=t.labelLine[ke];e.show=e.show&&t.label[Mi].show,i.show=i.show&&t.label[ke].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,stillShowZeroSum:!0,label:{normal:{rotate:!1,show:!0,position:"outer"},emphasis:{}},labelLine:{normal:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}}},itemStyle:{normal:{borderWidth:1},emphasis:{}},animationType:"expansion",animationEasing:"cubicOut",data:[]}});return i.mixin(o,a),o}),e("echarts/chart/pie/PieView",[sa,Ci,oa,"../../view/Chart"],function(t){function e(t,e,n,r){var a=e[na](),o=this[br],s=a[Ie](o),l=e.get("selectedOffset");r[sr]({type:"pieToggleSelect",from:t,name:s,seriesId:e.id}),a.each(function(t){i(a[yi](t),a[pi](t),e.isSelected(a[Ie](t)),l,n)})}function i(t,e,i,n,r){var a=(e.startAngle+e.endAngle)/2,o=Math.cos(a),s=Math.sin(a),l=i?n:0,u=[o*l,s*l];r?t[De]().when(200,{position:u}).start("bounceOut"):t.attr(gn,u)}function n(t,e){function i(){o[Pr]=o.hoverIgnore,s[Pr]=s.hoverIgnore}function n(){o[Pr]=o.normalIgnore,s[Pr]=s.normalIgnore}a.Group.call(this);var r=new a.Sector({z2:2}),o=new a[Xe],s=new a.Text;this.add(r),this.add(o),this.add(s),this[Je](t,e,!0),this.on(ke,i).on(Mi,n).on(tr,i).on(Qn,n)
  }function r(t,e,i,n,r){var a=n[Er](Tn),s=r===Le||"inner"===r;return{fill:a[Mn]()||(s?"#fff":t[_r](e,"color")),opacity:t[_r](e,pn),textFont:a[Sn](),text:o[Di](t[Ye][Pe](e,i),t[Ie](e))}}var a=t(Ci),o=t(oa),s=n[jr];s[Je]=function(t,e,n){function r(){l[Dr](!0),l[Se]({shape:{r:h.r+10}},300,"elasticOut")}function s(){l[Dr](!0),l[Se]({shape:{r:h.r}},300,"elasticOut")}var l=this[Ce](0),u=t[Ye],c=t[_i](e),h=t[pi](e),d=o[lr]({},h);if(d.label=null,n){l[hi](d);var f=u[Ge]("animationType");"scale"===f?(l.shape.r=h.r0,a[vi](l,{shape:{r:h.r}},u,e)):(l.shape.endAngle=h.startAngle,a[mi](l,{shape:{endAngle:h.endAngle}},u,e))}else a[mi](l,{shape:d},u,e);var p=c[Er](Si),v=t[_r](e,"color");l[ci](o[or]({lineJoin:"bevel",fill:v},p[Er](Mi)[Cn]())),l[Te]=p[Er](ke)[Cn](),i(this,t[pi](e),c.get(Ae),u.get("selectedOffset"),u.get(Fr)),l.off(tr).off(Qn).off(ke).off(Mi),c.get("hoverAnimation")&&u[wi]()&&l.on(tr,r).on(Qn,s).on(ke,r).on(Mi,s),this._updateLabel(t,e),a[ui](this)},s._updateLabel=function(t,e){var i=this[Ce](1),n=this[Ce](2),o=t[Ye],s=t[_i](e),l=t[pi](e),u=l.label,c=t[_r](e,"color");a[mi](i,{shape:{points:u.linePoints||[[u.x,u.y],[u.x,u.y],[u.x,u.y]]}},o,e),a[mi](n,{style:{x:u.x,y:u.y}},o,e),n.attr({style:{textVerticalAlign:u.verticalAlign,textAlign:u[An],textFont:u.font},rotation:u[Me],origin:[u.x,u.y],z2:10});var h=s[Er](we),d=s[Er](be),f=s[Er]("labelLine.normal"),p=s[Er]("labelLine.emphasis"),v=h.get(gn)||d.get(gn);n[Zn](r(t,e,Mi,h,v)),n[Pr]=n.normalIgnore=!h.get("show"),n.hoverIgnore=!d.get("show"),i[Pr]=i.normalIgnore=!f.get("show"),i.hoverIgnore=!p.get("show"),i[Zn]({stroke:c,opacity:t[_r](e,pn)}),i[Zn](f[Er](_e)[Ke]()),n[Te]=r(t,e,ke,d,v),i[Te]=p[Er](_e)[Ke]();var g=f.get("smooth");g&&g===!0&&(g=.4),i[hi]({smooth:g})},o[In](n,a.Group);var l=t("../../view/Chart")[lr]({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[na](),l=this._data,u=this.group,c=i.get(Fr),h=!l,d=t.get("animationType"),f=o.curry(e,this.uid,t,c,r),p=t.get("selectedMode");if(s.diff(l).add(function(t){var e=new n(s,t);h&&"scale"!==d&&e.eachChild(function(t){t[Dr](!0)}),p&&e.on("click",f),s[xi](t,e),u.add(e)})[yr](function(t,e){var i=l[yi](e);i[Je](s,t),i.off("click"),p&&i.on("click",f),u.add(i),s[xi](t,i)})[ur](function(t){var e=l[yi](t);u[ur](e)})[bi](),c&&h&&s.count()>0&&"scale"!==d){var v=s[pi](0),g=Math.max(r[Or](),r[Vr]())/2,m=o.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(v.cx,v.cy,g,v.startAngle,v[xe],m,t))}this._data=s}},dispose:function(){},_createClipPath:function(t,e,i,n,r,o,s){var l=new a.Sector({shape:{cx:t,cy:e,r0:0,r:i,startAngle:n,endAngle:n,clockwise:r}});return a[vi](l,{shape:{endAngle:n+(r?1:-1)*Math.PI*2}},s,o),l},containPoint:function(t,e){var i=e[na](),n=i[pi](0);if(n){var r=t[0]-n.cx,a=t[1]-n.cy,o=Math.sqrt(r*r+a*a);return o<=n.r&&o>=n.r0}}});return l}),e("echarts/action/createDataSelectAction",[sa,aa,oa],function(t){var e=t(aa),i=t(oa);return function(t,n){i.each(n,function(i){i[yr]="updateView",e[Nn](i,function(e,n){var r={};return n[Lr]({mainType:"series",subType:t,query:e},function(t){t[i.method]&&t[i.method](e.name);var n=t[na]();n.each(function(e){var i=n[Ie](e);r[i]=t.isSelected(i)||!1})}),{name:e.name,selected:r}})})}}),e("echarts/processor/dataFilter",[],function(){return function(t,e){var i=e.findComponents({mainType:"legend"});i&&i[Tr]&&e[ra](t,function(t){var e=t[na]();e.filterSelf(function(t){for(var n=e[Ie](t),r=0;r<i[Tr];r++)if(!i[r].isSelected(n))return!1;return!0},this)},this)}}),e("echarts/visual/dataColor",[sa],function(){return function(t,e){var i={};e.eachRawSeriesByType(t,function(t){var n=t.getRawData(),r={};if(!e.isSeriesFiltered(t)){var a=t[na]();a.each(function(t){var e=a[ye](t);r[e]=t}),n.each(function(e){var o=r[e],s=null!=o&&a[_r](o,"color",!0);if(s)n[He](e,"color",s);else{var l=n[_i](e),u=l.get(me)||t.getColorFromPalette(n[Ie](e),i);n[He](e,"color",u),null!=o&&a[He](o,"color",u)}})}})}}),e("echarts/chart/pie/pieLayout",[sa,ge,"./labelLayout",oa],function(t){var e=t(ge),i=e[li],n=t("./labelLayout"),r=t(oa),a=2*Math.PI,o=Math.PI/180;return function(t,s,l){s[ra](t,function(t){var s=t.get(mn),u=t.get(ei);r[Gn](u)||(u=[0,u]),r[Gn](s)||(s=[s,s]);var c=l[Or](),h=l[Vr](),d=Math.min(c,h),f=i(s[0],c),p=i(s[1],h),v=i(u[0],d/2),g=i(u[1],d/2),m=t[na](),y=-t.get("startAngle")*o,x=t.get("minAngle")*o,_=m.getSum("value"),b=Math.PI/(_||m.count())*2,w=t.get(xe),M=t.get("roseType"),S=t.get("stillShowZeroSum"),A=m[en]("value");A[0]=0;var T=a,C=0,P=y,L=w?1:-1;if(m.each("value",function(t,i){var n;if(isNaN(t))return void m[ri](i,{angle:0/0,startAngle:0/0,endAngle:0/0,clockwise:w,cx:f,cy:p,r0:v,r:M?0/0:g});n="area"!==M?0===_&&S?b:t*b:a/(m.count()||1),x>n?(n=x,T-=x):C+=t;var r=P+L*n;m[ri](i,{angle:n,startAngle:P,endAngle:r,clockwise:w,cx:f,cy:p,r0:v,r:M?e[ve](t,A,[v,g]):g}),P=r},!0),a>T)if(.001>=T){var D=a/m.count();m.each(function(t){var e=m[pi](t);e.startAngle=y+L*t*D,e.endAngle=y+L*(t+1)*D})}else b=T/C,P=y,m.each("value",function(t,e){var i=m[pi](e),n=i.angle===x?x:t*b;i.startAngle=P,i.endAngle=P+L*n,P+=L*n});n(t,g,c,h)})}}),e("echarts/chart/scatter/ScatterSeries",[sa,"../helper/createListFromArray",ni],function(t){var e=t("../helper/createListFromArray"),i=t(ni);return i[lr]({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis"],getInitialData:function(t,i){var n=e(t.data,this,i);return n},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{normal:{opacity:.8}}}})}),e("echarts/chart/scatter/ScatterView",[sa,"../helper/SymbolDraw","../helper/LargeSymbolDraw",Ai],function(t){var e=t("../helper/SymbolDraw"),i=t("../helper/LargeSymbolDraw");t(Ai)[Rn]({type:"scatter",init:function(){this._normalSymbolDraw=new e,this._largeSymbolDraw=new i},render:function(t){var e=t[na](),i=this._largeSymbolDraw,n=this._normalSymbolDraw,r=this.group,a=t.get("large")&&e.count()>t.get("largeThreshold")?i:n;this._symbolDraw=a,a[Je](e),r.add(a.group),r[ur](a===i?n.group:i.group)},updateLayout:function(t){this._symbolDraw[pr](t)},remove:function(t,e){this._symbolDraw&&this._symbolDraw[ur](e,!0)},dispose:function(){}})}),e("echarts/chart/candlestick/preprocessor",[sa,oa],function(t){var e=t(oa);return function(t){t&&e[Gn](t[cr])&&e.each(t[cr],function(t){e[Br](t)&&"k"===t.type&&(t.type="candlestick")})}}),e("echarts/chart/candlestick/CandlestickSeries",[sa,oa,ni,"../helper/whiskerBoxCommon",pe],function(t){var e=t(oa),i=t(ni),n=t("../helper/whiskerBoxCommon"),r=t(pe),a=r[fe],o=r[de],s=i[lr]({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,layout:null,itemStyle:{normal:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},formatTooltip:function(t){var i=e.map(this.valueDimensions,function(e){return a(e+": "+o(this[na]().get(e,t)))},this).join("<br />"),n=[];return null!=this.name&&n.push(a(this.name)),null!=i&&n.push(i),n.join("<br />")},brushSelector:function(t,e){return e.rect(t.brushRect)}});return e.mixin(s,n.seriesModelMixin,!0),s}),e("echarts/chart/candlestick/CandlestickView",[sa,oa,"../../view/Chart",Ci,"../helper/whiskerBoxCommon"],function(t){function e(t,e,i){var n=e[_i](i),a=n[Er](s),o=e[_r](i,"color"),u=e[_r](i,he)||o,c=a[Cn](["color","color0",he,"borderColor0"]),h=t[Ce](t.whiskerIndex);h[ci](c),h.style[ce]=u;var d=t[Ce](t.bodyIndex);d[ci](c),d.style.fill=o,d.style[ce]=u;var f=n[Er](l)[Cn]();r[ui](t,f)}var i=t(oa),n=t("../../view/Chart"),r=t(Ci),a=t("../helper/whiskerBoxCommon"),o=n[lr]({type:"candlestick",getStyleUpdater:function(){return e},dispose:i.noop});i.mixin(o,a.viewMixin,!0);var s=[Si,Mi],l=[Si,ke];return o}),e("echarts/chart/candlestick/candlestickVisual",[sa],function(){var t=[Si,Mi,he],e=[Si,Mi,"borderColor0"],i=[Si,Mi,"color"],n=[Si,Mi,"color0"];return function(r){r.eachRawSeriesByType("candlestick",function(a){var o=a[na]();o[ia]({legendSymbol:"roundRect"}),r.isSeriesFiltered(a)||o.each(function(r){var a=o[_i](r),s=o[pi](r).sign;o[He](r,{color:a.get(s>0?i:n),borderColor:a.get(s>0?t:e)})})})}}),e("echarts/component/radar",[sa,"../coord/radar/Radar","../coord/radar/RadarModel","./radar/RadarView"],function(t){t("../coord/radar/Radar"),t("../coord/radar/RadarModel"),t("./radar/RadarView")}),e("echarts/chart/candlestick/candlestickLayout",[sa,oa,ge],function(t){function e(t,e){var r,a=t[ki](),o=a.type===ji?a[si]():(r=a[on](),Math.abs(r[1]-r[0])/e.count()),s=n(i(t.get("barMaxWidth"),o),o),l=n(i(t.get("barMinWidth"),1),o),u=t.get("barWidth");return null!=u?n(u,o):Math.max(Math.min(o/2,s),l)}var i=t(oa)[Di],n=t(ge)[li];return function(t){t[ra]("candlestick",function(t){var i=t[Sr],n=t[na](),r=t[Pi],a=t.get(ue),o=e(t,n);n.each(r,function(){function t(t){var e=[];return e[d]=c,e[f]=t,isNaN(c)||isNaN(t)?[0/0,0/0]:i[Zi](e)}function e(t,e){var i=t.slice(),n=t.slice();i[d]+=o/2,n[d]-=o/2,e?A.push(i,n):A.push(n,i)}function s(){var e=t(Math.min(p,v,g,m)),i=t(Math.max(p,v,g,m));return e[d]-=o/2,i[d]-=o/2,{x:e[0],y:e[1],width:f?o:i[0]-e[0],height:f?i[1]-e[1]:o}}var l=arguments,u=r[Tr],c=l[0],h=l[u],d=a===le?0:1,f=1-d,p=l[1],v=l[2],g=l[3],m=l[4],y=Math.min(p,v),x=Math.max(p,v),_=t(y),b=t(x),w=t(g),M=t(m),S=[[M,b],[w,_]],A=[];e(b,0),e(_,1),n[ri](h,{chartLayout:a,sign:p>v?-1:v>p?1:0,initBaseline:p>v?b[f]:_[f],bodyEnds:A,whiskerEnds:S,brushRect:s()})},!0)})}}),e("echarts/chart/radar/RadarSeries",[sa,ni,Be,Ne,oa,pe],function(t){var e=t(ni),i=t(Be),n=t(Ne),r=t(oa),a=t(pe)[fe],o=e[lr]({type:"series.radar",dependencies:["radar"],init:function(){o[dn](this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},getInitialData:function(t){var e=t.data||[],r=n([],e,{extraPrefix:"indicator_"}),a=new i(r,this);return a[Oe](e),a},formatTooltip:function(t){var e=this[Fe](t),i=this[Sr],n=i.getIndicatorAxes(),o=this[na]()[Ie](t);return a(""===o?this.name:o)+"<br/>"+r.map(n,function(t,i){return a(t.name+" : "+e[i])}).join("<br />")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{normal:{width:2,type:"solid"}},label:{normal:{position:"top"}},symbol:"emptyCircle",symbolSize:4}});return o}),e("echarts/chart/radar/radarLayout",[sa],function(){return function(t){t[ra]("radar",function(t){function e(t,e){n[e]=n[e]||[],n[e][a]=r[Zi](t,a)}var i=t[na](),n=[],r=t[Sr];if(r){for(var a=0;a<r.getIndicatorAxes()[Tr];a++){var o=i[Pi][a];i.each(o,e)}i.each(function(t){n[t][0]&&n[t].push(n[t][0].slice()),i[ri](t,n[t])})}})}}),e("echarts/chart/radar/RadarView",[sa,Ci,oa,se,Ai],function(t){function e(t){return n[Gn](t)||(t=[+t,+t]),t}var i=t(Ci),n=t(oa),r=t(se);return t(Ai)[Rn]({type:"radar",render:function(t){function a(t,i){var n=t[_r](i,We)||ea,a=t[_r](i,"color");if("none"!==n){var o=r[oe](n,-.5,-.5,1,1,a);return o.attr({style:{strokeNoScale:!0},z2:100,scale:e(t[_r](i,Ze))}),o}}function o(e,n,r,o,s,l){r[Ln]();for(var u=0;u<n[Tr]-1;u++){var c=a(o,s);c&&(c.__dimIdx=u,e[u]?(c.attr(gn,e[u]),i[l?vi:mi](c,{position:n[u]},t,s)):c.attr(gn,n[u]),r.add(c))}}function s(t){return n.map(t,function(){return[l.cx,l.cy]})}var l=t[Sr],u=this.group,c=t[na](),h=this._data;c.diff(h).add(function(e){var n=c[pi](e);if(n){var r=new i[je],a=new i[Xe],l={shape:{points:n}};r.shape[qe]=s(n),a.shape[qe]=s(n),i[vi](r,l,t,e),i[vi](a,l,t,e);var u=new i.Group,h=new i.Group;u.add(a),u.add(r),u.add(h),o(a.shape[qe],n,h,c,e,!0),c[xi](e,u)}})[yr](function(e,n){var r=h[yi](n),a=r[Ce](0),s=r[Ce](1),l=r[Ce](2),u={shape:{points:c[pi](e)}};u.shape[qe]&&(o(a.shape[qe],u.shape[qe],l,c,e,!1),i[mi](a,u,t),i[mi](s,u,t),c[xi](e,r))})[ur](function(t){u[ur](h[yi](t))})[bi](),c[gi](function(e,r){function a(){h.attr(Pr,m)}function o(){h.attr(Pr,g)}var s=c[_i](r),l=e[Ce](0),h=e[Ce](1),d=e[Ce](2),f=c[_r](r,"color");u.add(e),l[ci](n[or](s[Er]("lineStyle.normal")[Ke](),{fill:"none",stroke:f})),l[Te]=s[Er]("lineStyle.emphasis")[Ke]();var p=s[Er]("areaStyle.normal"),v=s[Er]("areaStyle.emphasis"),g=p.isEmpty()&&p.parentModel.isEmpty(),m=v.isEmpty()&&v.parentModel.isEmpty();m=m&&g,h[Pr]=g,h[ci](n[or](p[$e](),{fill:f,opacity:.7})),h[Te]=v[$e]();var y=s[Er](fi)[Cn](["color"]),x=s[Er](di)[Cn](),_=s[Er](we),b=s[Er](be);d.eachChild(function(e){e[Zn](y),e[Te]=n.clone(x);var a=c.get(c[Pi][e.__dimIdx],r);i[ae](e.style,_,f),e[Zn]({text:_.get("show")?n[Di](t[Pe](r,Mi,null,e.__dimIdx),a):""}),i[ae](e[Te],b,f),e[Te].text=b.get("show")?n[Di](t[Pe](r,ke,null,e.__dimIdx),a):""}),e.off(tr).off(Qn).off(Mi).off(ke),e.on(ke,a).on(tr,a).on(Mi,o).on(Qn,o),i[ui](e)}),this._data=c},remove:function(){this.group[Ln](),this._data=null},dispose:function(){}})}),e("echarts/chart/radar/backwardCompat",[sa,oa],function(t){var e=t(oa);return function(t){var i=t.polar;if(i){e[Gn](i)||(i=[i]);var n=[];e.each(i,function(i){i.indicator?(i.type&&!i.shape&&(i.shape=i.type),t.radar=t.radar||[],e[Gn](t.radar)||(t.radar=[t.radar]),t.radar.push(i)):n.push(i)}),t.polar=n}e.each(t[cr],function(t){"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)})}}),e("echarts/chart/heatmap/HeatmapSeries",[sa,ni,"../helper/createListFromArray"],function(t){var e=t(ni),i=t("../helper/createListFromArray");return e[lr]({type:"series.heatmap",getInitialData:function(t,e){return i(t.data,this,e)},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}})}),e("echarts/chart/heatmap/HeatmapView",[sa,Ci,"./HeatmapLayer",oa,Ai],function(t){function e(t,e,i){var n=t[1]-t[0];e=o.map(e,function(e){return{interval:[(e[re][0]-t[0])/n,(e[re][1]-t[0])/n]}});var r=e[Tr],a=0;return function(t){for(var n=a;r>n;n++){var o=e[n][re];if(o[0]<=t&&t<=o[1]){a=n;break}}if(n===r)for(var n=a-1;n>=0;n--){var o=e[n][re];if(o[0]<=t&&t<=o[1]){a=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]}}function n(t){var e=t[Pi];return"lng"===e[0]&&"lat"===e[1]}var r=t(Ci),a=t("./HeatmapLayer"),o=t(oa);return t(Ai)[Rn]({type:"heatmap",render:function(t,e,i){var r;e[Lr]("visualMap",function(e){e.eachTargetSeries(function(i){i===t&&(r=e)})}),this.group[Ln]();var a=t[Sr];a.type===Li||"calendar"===a.type?this._renderOnCartesianAndCalendar(a,t,i):n(a)&&this._renderOnGeo(a,t,r,i)},dispose:function(){},_renderOnCartesianAndCalendar:function(t,e){if(t.type===Li)var i=t[Wi]("x"),n=t[Wi]("y"),a=i[si](),s=n[si]();var l=this.group,u=e[na](),c=fi,h=di,d=we,f=be,p=e[Er](c)[Cn](["color"]),v=e[Er](h)[Cn](),g=e[Er](we),m=e[Er](be);u.each(t.type===Li?["x","y","z"]:["time","value"],function(i,n,y,x){var _;if(t.type===Li){if(isNaN(y))return;var b=t[Zi]([i,n]);_=new r.Rect({shape:{x:b[0]-a/2,y:b[1]-s/2,width:a,height:s},style:{fill:u[_r](x,"color"),opacity:u[_r](x,pn)}})}else{if(isNaN(n))return;x=y,_=new r.Rect({z2:1,shape:t.dataToRect([i,n]).contentShape,style:{fill:u[_r](x,"color"),opacity:u[_r](x,pn)}})}var w=u[_i](x);u[ne]&&(p=w[Er](c)[Cn](["color"]),v=w[Er](h)[Cn](),g=w[Er](d),m=w[Er](f));var M=e[Fe](x),S="-";M&&null!=M[2]&&(S=M[2]),g[Ge]("show")&&(r[ae](p,g),p.text=e[Pe](x,Mi)||S),m[Ge]("show")&&(r[ae](v,m),v.text=e[Pe](x,ke)||S),_[Zn](p),r[ui](_,u[ne]?v:o[lr]({},v)),l.add(_),u[xi](x,_)})},_renderOnGeo:function(t,n,o,s){var l=o.targetVisuals.inRange,u=o.targetVisuals.outOfRange,c=n[na](),h=this._hmLayer||this._hmLayer||new a;h.blurSize=n.get("blurSize"),h.pointSize=n.get("pointSize"),h.minOpacity=n.get("minOpacity"),h.maxOpacity=n.get("maxOpacity");var d=t.getViewRect().clone(),f=t.getRoamTransform()[ie];d[ee](f);var p=Math.max(d.x,0),v=Math.max(d.y,0),g=Math.min(d.width+d.x,s[Or]()),m=Math.min(d[Wr]+d.y,s[Vr]()),y=g-p,x=m-v,_=c[ti](["lng","lat","value"],function(e,i,n){var r=t[Zi]([e,i]);return r[0]-=p,r[1]-=v,r.push(n),r}),b=o[on](),w="visualMap.continuous"===o.type?i(b,o[fn].range):e(b,o.getPieceList(),o[fn][Ae]);h[yr](_,y,x,l.color.getNormalizer(),{inRange:l.color.getColorMapper(),outOfRange:u.color.getColorMapper()},w);var M=new r.Image({style:{width:y,height:x,x:p,y:v,image:h[qr]},silent:!0});this.group.add(M)}})}),e("echarts/chart/treemap/TreemapSeries",[sa,ni,"../../data/Tree",oa,Ti,pe,Yr],function(t){function e(t){var i=0;a.each(t.children,function(t){e(t);var n=t.value;a[Gn](n)&&(n=n[0]),i+=n});var n=t.value;a[Gn](n)&&(n=n[0]),(null==n||isNaN(n))&&(n=i),0>n&&(n=0),a[Gn](t.value)?t.value[0]=n:t.value=n}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(me)||i&&"none"!==i)&&(n=!0)}),!n){var r=t[0]||(t[0]={});r.color=i.slice()}return t}}var n=t(ni),r=t("../../data/Tree"),a=t(oa),o=t(Ti),s=t(pe),l=t(Yr),u=s[fe],c=s[de];return n[lr]({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],_viewRoot:null,defaultOption:{progressive:0,hoverLayerThreshold:1/0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{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:"inside",textStyle:{color:"#fff",ellipsis:!0}}},itemStyle:{normal:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(t,n){var a=t.name;null==a&&(a=t.name);var o={name:a,children:t.data};e(o);var s=t.levels||[];return s=t.levels=i(s,n),r.createTree(o,this,s).data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(t){var e=this[na](),i=this[Fe](t),n=c(a[Gn](i)?i[0]:i),r=e[Ie](t);return u(r+": "+n)},getDataParams:function(t){var e=n[jr][Un].apply(this,arguments),i=this[na]().tree.getNodeByDataIndex(t);return e.treePathInfo=l.wrapTreePathInfo(i,this),e},setLayoutInfo:function(t){this.layoutInfo=this.layoutInfo||{},a[lr](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},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this[na]().tree.root;(!t||t!==e&&!e.contains(t))&&(this._viewRoot=e)}})}),e("echarts/chart/treemap/treemapAction",[sa,Ai,Yr],function(t){for(var e=t(Ai),i=t(Yr),n=function(){},r=["treemapZoomToNode","treemapRender","treemapMove"],a=0;a<r[Tr];a++)e[Nn]({type:r[a],update:"updateView"},n);e[Nn]({type:"treemapRootToNode",update:"updateView"},function(t,e){function n(e){var n=i.retrieveTargetInfo(t,e);if(n){var r=e.getViewRoot();r&&(t.direction=i.aboveViewRoot(r,n.node)?"rollUp":"drillDown"),e.resetViewRoot(n.node)}}e[Lr]({mainType:"series",subType:"treemap",query:t},n)})}),e("echarts/chart/treemap/treemapVisual",[sa,"../../visual/VisualMapping",Jr,oa],function(t){function e(t,a,s,u,c,d){var p=t[Er](),v=t[te]();if(v&&!v[Q]&&v.isInView){var g,m=t[Er](f),y=s[t.depth],x=i(m,a,y,u),_=m.get(he),b=m.get("borderColorSaturation");null!=b&&(g=n(x,t),_=r(b,g)),t[ia](he,_);var w=t.viewChildren;if(w&&w[Tr]){var M=o(t,p,v,m,x,w);h.each(w,function(t,i){if(t.depth>=c[Tr]||t===c[t.depth]){var n=l(p,x,t,i,M,d);e(t,n,s,u,c,d)}})}else g=n(x,t),t[ia]("color",g)}}function i(t,e,i,n){var r=h[lr]({},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=c.modifyHSL(e,null,null,n)),i&&(e=c.modifyAlpha(e,i)),e}}function r(t,e){return null!=e?c.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[Tr]){var o=s(e,"color")||null!=r.color&&"none"!==r.color&&(s(e,"colorAlpha")||s(e,"colorSaturation"));if(o){var l=e.get("visualMin"),c=e.get("visualMax"),h=i.dataExtent.slice();null!=l&&l<h[0]&&(h[0]=l),null!=c&&c>h[1]&&(h[1]=c);var d=e.get("colorMappingBy"),f={type:o.name,dataExtent:h,visual:o.range};"color"!==f.type||"index"!==d&&"id"!==d?f.mappingMethod=J:(f.mappingMethod=ji,f.loop=!0);var p=new u(f);return p.__drColorMappingBy=d,p}}}function s(t,e){var i=t.get(e);return d(i)&&i[Tr]?{name:e,range:i}:null}function l(t,e,i,n,r,a){var o=h[lr]({},e);if(r){var s=r.type,l="color"===s&&r.__drColorMappingBy,u="index"===l?n:"id"===l?a.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));o[s]=r.mapValueToVisual(u)}return o}var u=t("../../visual/VisualMapping"),c=t(Jr),h=t(oa),d=h[Gn],f=fi;return function(t,i,n){var r={mainType:"series",subType:"treemap",query:n};t[Lr](r,function(t){var i=t[na]().tree,n=i.root,r=t[Er](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",[sa,oa,ge,Ji,Yr,K],function(t){function e(t,e,n){var r={mainType:"series",subType:"treemap",query:n};t[Lr](r,function(t){var r=e[Or](),a=e[Vr](),o=t[fn],s=p[_n](t[bn](),{width:e[Or](),height:e[Vr]()}),l=o.size||[],f=x(_(s.width,l[0]),r),m=x(_(s[Wr],l[1]),a),y=n&&n.type,w=v.retrieveTargetInfo(n,t),M="treemapRender"===y||"treemapMove"===y?n.rootRect:null,S=t.getViewRoot(),A=v.getPathToRoot(S);if("treemapMove"!==y){var T="treemapZoomToNode"===y?u(t,w,S,f,m):M?[M.width,M[Wr]]:[f,m],C=o.sort;C&&"asc"!==C&&"desc"!==C&&(C="desc");var P={squareRatio:o.squareRatio,sort:C,leafDepth:o.leafDepth};S.hostTree.clearLayouts();var L={x:0,y:0,width:T[0],height:T[1],area:T[0]*T[1]};S[ai](L),i(S,P,!1,0);var L=S[te]();b(A,function(t,e){var i=(A[e+1]||S).getValue();t[ai](d[lr]({dataExtent:[i,i],borderWidth:0},L))})}var D=t[na]().tree.root;D[ai](c(s,M,w),!0),t.setLayoutInfo(s),h(D,new g(-s.x,-s.y,r,a),A,S,0)})}function i(t,e,r,a){var o,u;if(!t.isRemoved()){var c=t[te]();o=c.width,u=c[Wr];var h=t[Er](fi),d=h.get($),f=h.get("gapWidth")/2,p=d-f,v=t[Er]();t[ai]({borderWidth:d},!0),o=m(o-2*p,0),u=m(u-2*p,0);var g=o*u,x=n(t,v,g,e,r,a);if(x[Tr]){var _={x:p,y:p,width:o,height:u},b=y(o,u),w=1/0,M=[];M.area=0;for(var S=0,A=x[Tr];A>S;){var T=x[S];M.push(T),M.area+=T[te]().area;var C=s(M,b,e.squareRatio);w>=C?(S++,w=C):(M.area-=M.pop()[te]().area,l(M,b,_,f,!1),b=y(_.width,_[Wr]),M[Tr]=M.area=0,w=1/0)}if(M[Tr]&&l(M,b,_,f,!0),!r){var P=v.get("childrenVisibleMin");null!=P&&P>g&&(r=!0)}for(var S=0,A=x[Tr];A>S;S++)i(x[S],e,r,a+1)}}}function n(t,e,i,n,s,l){var u=t.children||[],c=n.sort;"asc"!==c&&"desc"!==c&&(c=null);var h=null!=n.leafDepth&&n.leafDepth<=l;if(s&&!h)return t.viewChildren=[];u=d[kn](u,function(t){return!t.isRemoved()}),a(u,c);var f=o(e,u,c);if(0===f.sum)return t.viewChildren=[];if(f.sum=r(e,i,f.sum,c,u),0===f.sum)return t.viewChildren=[];for(var p=0,v=u[Tr];v>p;p++){var g=u[p].getValue()/f.sum*i;u[p][ai]({area:g})}return h&&(u[Tr]&&t[ai]({isLeafRoot:!0},!0),u[Tr]=0),t.viewChildren=u,t[ai]({dataExtent:f.dataExtent},!0),u}function r(t,e,i,n,r){if(!n)return i;for(var a=t.get("visibleMin"),o=r[Tr],s=o,l=o-1;l>=0;l--){var u=r["asc"===n?o-l-1:l].getValue();a>u/i*e&&(s=l,i-=u)}return"asc"===n?r[er](0,o-s):r[er](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[Tr];a>r;r++)n+=e[r].getValue();var o,s=t.get("visualDimension");if(e&&e[Tr])if("value"===s&&i)o=[e[e[Tr]-1].getValue(),e[0].getValue()],"asc"===i&&o[Qe]();else{var o=[1/0,-1/0];b(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[Tr];s>o;o++)n=t[o][te]().area,n&&(a>n&&(a=n),n>r&&(r=n));var l=t.area*t.area,u=e*e*i;return l?m(u*r/l,l/(u*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",Wr],u=i[s[a]],c=e?t.area/e:0;(r||c>i[l[o]])&&(c=i[l[o]]);for(var h=0,d=t[Tr];d>h;h++){var f=t[h],p={},v=c?f[te]().area/c:0,g=p[l[o]]=m(c-2*n,0),x=i[s[a]]+i[l[a]]-u,_=h===d-1||v>x?x:v,b=p[l[a]]=m(_-2*n,0);p[s[o]]=i[s[o]]+y(n,g/2),p[s[a]]=u+y(n,b/2),u+=_,f[ai](p,!0)}i[s[o]]+=c,i[l[o]]-=c}function u(t,e,i,n,r){var a=(e||{}).node,o=[n,r];if(!a||a===i)return o;for(var s,l=n*r,u=l*t[fn].zoomToNodeRatio;s=a[Y];){for(var c=0,h=s.children,d=0,p=h[Tr];p>d;d++)c+=h[d].getValue();var v=a.getValue();if(0===v)return o;u*=c/v;var g=s[Er](fi).get($);isFinite(g)&&(u+=4*g*g+4*g*Math.pow(u,.5)),u>f.MAX_SAFE_INTEGER&&(u=f.MAX_SAFE_INTEGER),a=s}l>u&&(u=l);var m=Math.pow(u/l,.5);return[n*m,r*m]}function c(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[te]();if(!a)return n;for(var o=[a.width/2,a[Wr]/2],s=r;s;){var l=s[te]();o[0]+=l.x,o[1]+=l.y,s=s[Y]}return{x:t.width/2-o[0],y:t[Wr]/2-o[1]}}function h(t,e,i,n,r){var a=t[te](),o=i[r],s=o&&o===t;if(!(o&&!s||r===i[Tr]&&t!==n)){t[ai]({isInView:!0,invisible:!s&&!e.intersect(a),isAboveViewRoot:s},!0);var l=new g(e.x-a.x,e.y-a.y,e.width,e[Wr]);b(t.viewChildren||[],function(t){h(t,l,i,n,r+1)})}}var d=t(oa),f=t(ge),p=t(Ji),v=t(Yr),g=t(K),v=t(Yr),m=Math.max,y=Math.min,x=f[li],_=d[Di],b=d.each;return e}),e("echarts/chart/map/MapSeries",[sa,Be,ni,oa,Ne,pe,"../../component/helper/selectableMixin","../../coord/geo/geoCreator"],function(t){var e=t(Be),i=t(ni),n=t(oa),r=t(Ne),a=t(pe),o=a[fe],s=a[de],l=t("../../component/helper/selectableMixin"),u=t("../../coord/geo/geoCreator"),c=i[lr]({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],init:function(t){t=this._fillOption(t,this.getMapType()),this[fn]=t,c[dn](this,"init",arguments),this.updateSelectedMap(t.data)},getInitialData:function(t){var i=r(["value"],t.data||[]),n=new e(i,this);return n[Oe](t.data),n},mergeOption:function(t){t.data&&(t=this._fillOption(t,this.getMapType())),c[Ee](this,hn,t),this.updateSelectedMap(this[fn].data)},getHostGeoModel:function(){var t=this[fn].geoIndex;return null!=t?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this)[fn].map},_fillOption:function(t,e){return t=n[lr]({},t),t.data=u.getFilledRegions(t.data,e),t},getRawValue:function(t){return this[na]().get("value",t)},getRegionModel:function(t){var e=this[na]();return e[_i](e.indexOfName(t))},formatTooltip:function(t){for(var e=this[na](),i=s(this[Fe](t)),n=e[Ie](t),r=this.seriesGroup,a=[],l=0;l<r[Tr];l++){var u=r[l].originalData.indexOfName(n);isNaN(r[l].originalData.get("value",u))||a.push(o(r[l].name))}return a.join(", ")+"<br />"+o(n+" : "+i)},getTooltipPosition:function(t){if(null!=t){var e=this[na]()[Ie](t),i=this[Sr],n=i.getRegion(e);return n&&i[Zi](n[mn])}},setZoom:function(t){this[fn].zoom=t},setCenter:function(t){this[fn][mn]=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{normal:{show:!1,textStyle:{color:"#000"}},emphasis:{show:!0,textStyle:{color:"rgb(100,0,0)"}}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{areaColor:"rgba(255,215,0,0.8)"}}}});return n.mixin(c,l),c}),e("echarts/chart/map/MapView",[sa,Ci,"../../component/helper/MapDraw",Ai],function(t){var e=t(Ci),i=t("../../component/helper/MapDraw");t(Ai)[Rn]({type:"map",render:function(t,e,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var a=this.group;if(a[Ln](),!t.getHostGeoModel()){if(r&&"geoRoam"===r.type&&r.componentType===cr&&r.seriesId===t.id){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,r),this._mapDraw=o}else this._mapDraw&&this._mapDraw[ur](),this._mapDraw=null;t.get("showLegendSymbol")&&e[X]("legend")&&this._renderSymbols(t,e,n)}}},remove:function(){this._mapDraw&&this._mapDraw[ur](),this._mapDraw=null,this.group[Ln]()},dispose:function(){this._mapDraw&&this._mapDraw[ur](),this._mapDraw=null},_renderSymbols:function(t){var i=t.originalData,n=this.group;i.each("value",function(r,a){if(!isNaN(r)){var o=i[pi](a);if(o&&o.point){var s=o.point,l=o[oi],u=new e[j]({style:{fill:t[na]()[Mr]("color")},shape:{cx:s[0]+9*l,cy:s[1],r:3},silent:!0,z2:10});if(!l){var c=t.mainSeries[na](),h=i[Ie](a),d=h,f=c.indexOfName(h),p=i[_i](a),v=p[Er](we),g=p[Er](be),m=v[Er](Tn),y=g[Er](Tn),x=c[yi](f);u[Zn]({textPosition:"bottom"});var _=function(){u[Zn]({text:g.get("show")?d:"",textFill:y[Mn](),textFont:y[Sn]()})},b=function(){u[Zn]({text:v.get("show")?d:"",textFill:m[Mn](),textFont:m[Sn]()})};x.on(tr,_).on(Qn,b).on(ke,_).on(Mi,b),b()}n.add(u)}}})}})}),e("echarts/action/geoRoam",[sa,oa,"./roamHelper",aa],function(t){var e=t(oa),i=t("./roamHelper"),n=t(aa);n[Nn]({type:"geoRoam",event:"geoRoam",update:"updateLayout"},function(t,n){var r=t.componentType||cr;n[Lr]({mainType:r,query:t},function(n){var a=n[Sr];if("geo"===a.type){var o=i.updateCenterAndZoom(a,t,n.get("scaleLimit"));n.setCenter&&n.setCenter(o[mn]),n.setZoom&&n.setZoom(o.zoom),r===cr&&e.each(n.seriesGroup,function(t){t.setCenter(o[mn]),t.setZoom(o.zoom)})}})})}),e("echarts/coord/geo/geoCreator",[sa,"./Geo",Ji,oa,ge,Ai,"./parseGeoJson"],function(t){function e(t,e){var i=t.get("boundingCoords");if(null!=i){var n=i[0],a=i[1];isNaN(n[0])||isNaN(n[1])||isNaN(a[0])||isNaN(a[1])||this.setBoundingRect(n[0],n[1],a[0]-n[0],a[1]-n[1])}var s,l=this[wn](),u=t.get("layoutCenter"),c=t.get("layoutSize"),h=e[Or](),d=e[Vr](),f=t.get("aspectScale")||.75,p=l.width/l[Wr]*f,v=!1;u&&c&&(u=[o[li](u[0],h),o[li](u[1],d)],c=o[li](c,Math.min(h,d)),isNaN(u[0])||isNaN(u[1])||isNaN(c)||(v=!0));var g;if(v){var g={};p>1?(g.width=c,g[Wr]=c/p):(g[Wr]=c,g.width=c*p),g.y=u[1]-g[Wr]/2,g.x=u[0]-g.width/2}else s=t[bn](),s.aspect=p,g=r[_n](s,{width:h,height:d});this.setViewRect(g.x,g.y,g.width,g[Wr]),this.setCenter(t.get(mn)),this.setZoom(t.get("zoom"))}function i(t,e){a.each(e.get("geoCoord"),function(e,i){t.addGeoCoord(i,e)})}var n=t("./Geo"),r=t(Ji),a=t(oa),o=t(ge),s={},l={dimensions:n[jr][Pi],create:function(t,r){var o=[];t[Lr]("geo",function(t,a){var l=t.get("map"),u=s[l],c=new n(l+a,l,u&&u.geoJson,u&&u.specialAreas,t.get("nameMap"));c.zoomLimit=t.get("scaleLimit"),o.push(c),i(c,t),t[Sr]=c,c.model=t,c[Zr]=e,c[Zr](t,r)}),t[vr](function(t){var e=t.get(Sr);if("geo"===e){var i=t.get("geoIndex")||0;t[Sr]=o[i]}});var l={};return t[ra]("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();l[e]=l[e]||[],l[e].push(t)}}),a.each(l,function(t,l){var u=s[l],c=a.map(t,function(t){return t.get("nameMap")}),h=new n(l,l,u&&u.geoJson,u&&u.specialAreas,a.mergeAll(c));h.zoomLimit=a[Di].apply(null,a.map(t,function(t){return t.get("scaleLimit")})),o.push(h),h[Zr]=e,h[Zr](t[0],r),a.each(t,function(t){t[Sr]=h,i(h,t)})}),o},registerMap:function(t,e,i){e.geoJson&&!e.features&&(i=e.specialAreas,e=e.geoJson),typeof e===Ur&&(e=typeof JSON!==U&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")()),s[t]={geoJson:e,specialAreas:i}},getMap:function(t){return s[t]},getFilledRegions:function(t,e){var i=(t||[]).slice(),n=l.getMap(e),r=n&&n.geoJson;if(!r)return t;for(var a={},o=r.features,s=0;s<i[Tr];s++)a[i[s].name]=i[s];for(var s=0;s<o[Tr];s++){var u=o[s].properties.name;a[u]||i.push({name:u})}return i}},u=t(Ai);return u.registerMap=l.registerMap,u.getMap=l.getMap,u.parseGeoJSON=t("./parseGeoJson"),u.loadMap=function(){},u.registerCoordinateSystem("geo",l),l
  }),e("echarts/chart/map/mapVisual",[sa],function(){return function(t){t[ra]("map",function(t){var e=t.get("color"),i=t[Er](fi),n=i.get("areaColor"),r=i.get("color")||e[t[jn]%e[Tr]];t[na]()[ia]({areaColor:n,color:r})})}}),e("echarts/chart/map/mapSymbolLayout",[sa,oa],function(t){var e=t(oa);return function(t){var i={};t[ra]("map",function(n){var r=n.getMapType();if(!n.getHostGeoModel()&&!i[r]){var a={};e.each(n.seriesGroup,function(e){var i=e[Sr],n=e.originalData;e.get("showLegendSymbol")&&t[X]("legend")&&n.each("value",function(t,e){var r=n[Ie](e),o=i.getRegion(r);if(o&&!isNaN(t)){var s=a[r]||0,l=i[Zi](o[mn]);a[r]=s+1,n[ri](e,{point:l,offset:s})}})});var o=n[na]();o.each(function(t){var e=o[Ie](t),i=o[pi](t)||{};i.showLabel=!a[e],o[ri](t,i)}),i[r]=!0}})}}),e("echarts/chart/map/backwardCompat",[sa,oa],function(t){var e=t(oa);return function(t){var i=[];e.each(t[cr],function(t){"map"===t.type&&i.push(t)}),e.each(i,function(t){t.map=t.map||t.mapType,e[or](t,t.mapLocation)})}}),e("echarts/chart/map/mapDataStatistic",[sa,oa],function(t){function e(t,e){var n={},r=["value"];return i.each(t,function(t){t.each(r,function(e,i){var r=t[Ie](i);n[r]=n[r]||[],isNaN(e)||n[r].push(e)})}),t[0].map(r,function(i,r){for(var a=t[0][Ie](r),o=0,s=1/0,l=-1/0,u=n[a][Tr],c=0;u>c;c++)s=Math.min(s,n[a][c]),l=Math.max(l,n[a][c]),o+=n[a][c];var h;return h="min"===e?s:"max"===e?l:"average"===e?o/u:o,0===u?0/0:h})}var i=t(oa);return function(t){var n={};t[ra]("map",function(t){var e=t.getHostGeoModel(),i=e?"o"+e.id:"i"+t.getMapType();(n[i]=n[i]||[]).push(t)}),i.each(n,function(t){for(var n=e(i.map(t,function(t){return t[na]()}),t[0].get("mapValueCalculation")),r=0;r<t[Tr];r++)t[r].originalData=t[r][na]();for(var r=0;r<t[Tr];r++)t[r].seriesGroup=t,t[r].needsDrawMap=0===r&&!t[r].getHostGeoModel(),t[r].setData(n.cloneShallow()),t[r].mainSeries=t[0]})}}),e("echarts/chart/lines/LinesSeries",[sa,ni,Be,oa,pe,$i],function(t){function e(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=r.map(e,function(t){var e=[t[0].coord,t[1].coord],i={coords:e};return t[0].name&&(i.fromName=t[0].name),t[1].name&&(i.toName=t[1].name),r.mergeAll([i,t[0],t[1]])}))}var i=t(ni),n=t(Be),r=t(oa),a=t(pe),o=(t($i),i[lr]({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.normal.color",init:function(t){e(t),o[dn](this,"init",arguments)},mergeOption:function(t){e(t),o[dn](this,hn,arguments)},getInitialData:function(t){var e=new n(["value"],this);return e[ne]=!1,e[Oe](t.data,[],function(t,i,n,r){if(t instanceof Array)return 0/0;e[ne]=!0;var a=t.value;return null!=a?a instanceof Array?a[r]:a:void 0}),e},formatTooltip:function(t){var e=this[na](),i=e[_i](t),n=i.get("name");if(n)return n;var r=i.get("fromName"),o=i.get("toName"),s=[];return null!=r&&s.push(r),null!=o&&s.push(o),a[fe](s.join(" > "))},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,label:{normal:{show:!1,position:"end"}},lineStyle:{normal:{opacity:.5}}}}))}),e("echarts/chart/lines/LinesView",[sa,"../helper/LineDraw","../helper/EffectLine","../helper/Line","../helper/Polyline","../helper/EffectPolyline","../helper/LargeLineDraw",Ai],function(t){var e=t("../helper/LineDraw"),i=t("../helper/EffectLine"),n=t("../helper/Line"),r=t("../helper/Polyline"),a=t("../helper/EffectPolyline"),o=t("../helper/LargeLineDraw");t(Ai)[Rn]({type:"lines",init:function(){},render:function(t,s,l){var u=t[na](),c=this._lineDraw,h=t.get("effect.show"),d=t.get("polyline"),f=t.get("large")&&u.count()>=t.get("largeThreshold");(h!==this._hasEffet||d!==this._isPolyline||f!==this._isLarge)&&(c&&c[ur](),c=this._lineDraw=f?new o:new e(d?h?a:r:h?i:n),this._hasEffet=h,this._isPolyline=d,this._isLarge=f);var p=t.get(Fn),v=t.get("effect.trailLength"),g=l.getZr();if(g[Rr].getLayer(p).clear(!0),null!=this._lastZlevel&&g.configLayer(this._lastZlevel,{motionBlur:!1}),h&&v){g.configLayer(p,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(v/10+.9,1),0)})}this.group.add(c.group),c[Je](u),this._lastZlevel=p},updateLayout:function(t,e,i){this._lineDraw[pr](t);var n=i.getZr();n[Rr].getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw[ur](e,!0)},dispose:function(){}})}),e("echarts/chart/lines/linesLayout",[sa],function(){return function(t){t[ra]("lines",function(t){var e=t[Sr],i=t[na]();i.each(function(n){var r=i[_i](n),a=r[fn]instanceof Array?r[fn]:r.get("coords"),o=[];if(t.get("polyline"))for(var s=0;s<a[Tr];s++)o.push(e[Zi](a[s]));else{o[0]=e[Zi](a[0]),o[1]=e[Zi](a[1]);var l=r.get("lineStyle.normal.curveness");+l&&(o[2]=[(o[0][0]+o[1][0])/2-(o[0][1]-o[1][1])*l,(o[0][1]+o[1][1])/2-(o[1][0]-o[0][0])*l])}i[ri](n,o)})})}}),e("echarts/chart/lines/linesVisual",[sa],function(){function t(t){return t instanceof Array||(t=[t,t]),t}return function(e){e[ra]("lines",function(e){var i=e[na](),n=t(e.get(We)),r=t(e.get(Ze)),a="lineStyle.normal.opacity".split(".");i[ia]("fromSymbol",n&&n[0]),i[ia]("toSymbol",n&&n[1]),i[ia]("fromSymbolSize",r&&r[0]),i[ia]("toSymbolSize",r&&r[1]),i[ia](pn,e.get(a)),i.each(function(e){var n=i[_i](e),r=t(n[Ge](We,!0)),o=t(n[Ge](Ze,!0)),s=n.get(a);r[0]&&i[He](e,"fromSymbol",r[0]),r[1]&&i[He](e,"toSymbol",r[1]),o[0]&&i[He](e,"fromSymbolSize",o[0]),o[1]&&i[He](e,"toSymbolSize",o[1]),i[He](e,pn,s)})})}}),e("echarts/chart/graph/GraphSeries",[sa,Be,oa,ii,Ti,pe,"../helper/createGraphFromNodeEdge",Ai],function(t){var e=t(Be),i=t(oa),n=t(ii),r=t(Ti),a=t(pe),o=t("../helper/createGraphFromNodeEdge"),s=t(Ai).extendSeriesModel({type:"series.graph",init:function(t){s[dn](this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){s[dn](this,hn,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){s[dn](this,q,arguments),n[ze](t.edgeLabel,n.LABEL_OPTIONS)},getInitialData:function(t,e){function i(t,i){function n(t){return t=this.parsePath(t),t&&"label"===t[0]?o:this.parentModel}t.wrapMethod(_i,function(t){var e=s._categoriesModels,i=t[Ge](ji),n=e[i];return n&&(n.parentModel=t.parentModel,t.parentModel=n),t});var a=s[Er]("edgeLabel"),o=new r({label:a[fn]},a.parentModel,e);i.wrapMethod(_i,function(t){return t.customizeGetParent(n),t})}var n=t.edges||t.links||[],a=t.data||t.nodes||[],s=this;return a&&n?o(a,n,this,!0,i).data:void 0},getGraph:function(){return this[na]().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,i){if("edge"===i){var n=this[na](),r=this[Un](t,i),o=n.graph.getEdgeByIndex(t),l=n[Ie](o.node1[br]),u=n[Ie](o.node2[br]),c=[];return null!=l&&c.push(l),null!=u&&c.push(u),c=a[fe](c.join(" > ")),r.value&&(c+=" : "+a[fe](r.value)),c}return s[dn](this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=i.map(this[fn][W]||[],function(t){return null!=t.value?t:i[lr]({value:0},t)}),n=new e(["value"],this);n[Oe](t),this._categoriesData=n,this._categoriesModels=n[ti](function(t){return n[_i](t,!0)})},setZoom:function(t){this[fn].zoom=t},setCenter:function(t){this[fn][mn]=t},isAnimationEnabled:function(){return s[Ee](this,wi)&&!("force"===this.get(ue)&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{normal:{position:"middle"},emphasis:{}},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{normal:{show:!1,formatter:"{b}"},emphasis:{show:!0}},itemStyle:{normal:{},emphasis:{}},lineStyle:{normal:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{}}}});return s}),e("echarts/chart/graph/GraphView",[sa,"../helper/SymbolDraw","../helper/LineDraw","../../component/helper/RoamController",Ci,"./adjustEdge",oa,Ai],function(t){function e(t,e){return t[Mr](pn)||t[Er]().get(e)}var i=t("../helper/SymbolDraw"),n=t("../helper/LineDraw"),r=t("../../component/helper/RoamController"),a=t(Ci),o=t("./adjustEdge"),s=t(oa),l=[Si,Mi,pn],u=[_e,Mi,pn];t(Ai)[Rn]({type:"graph",init:function(t,e){var a=new i,o=new n,s=this.group,l=new r(e.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[Sr];this[Nr]=t,this._nodeScaleRatio=t.get("nodeScaleRatio");var r=this._symbolDraw,s=this._lineDraw,l=this.group;if("view"===n.type){var u={position:n[gn],scale:n.scale};this._firstRender?l.attr(u):a[mi](l,u,t)}o(t.getGraph(),this._getNodeGlobalScale(t));var c=t[na]();r[Je](c);var h=t.getEdgeData();s[Je](h),this._updateNodeAndLinkScale(),this._updateController(t,i),clearTimeout(this._layoutTimeout);var d=t.forceLayout,f=t.get("force.layoutAnimation");d&&this._startForceLayoutIteration(d,f),c[gi](function(e,n){var r=c[_i](n);e.off("drag").off("dragend");var a=c[_i](n).get(Z);a&&e.on("drag",function(){d&&(d.warmUp(),!this._layouting&&this._startForceLayoutIteration(d,f),d.setFixed(n),c[ri](n,e[gn]))},this).on("dragend",function(){d&&d.setUnfixed(n)},this),e.setDraggable(a&&d),e.off(tr,e.__focusNodeAdjacency),e.off(Qn,e.__unfocusNodeAdjacency),r.get("focusNodeAdjacency")&&(e.on(tr,e.__focusNodeAdjacency=function(){i[sr]({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e[br]})}),e.on(Qn,e.__unfocusNodeAdjacency=function(){i[sr]({type:"unfocusNodeAdjacency",seriesId:t.id})}))},this);var p="circular"===t.get(ue)&&t.get("circular.rotateLabel"),v=c[te]("cx"),g=c[te]("cy");c[gi](function(t,e){var i=t.getSymbolPath();if(p){var n=c[pi](e),r=Math.atan2(n[1]-g,n[0]-v);0>r&&(r=2*Math.PI+r);var a=n[0]<v;a&&(r-=Math.PI);var o=a?"left":"right";i[Zn]({textRotation:r,textPosition:o}),i[Te]&&(i[Te][F]=o)}else i[Zn]({textRotation:0})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller[ir]()},focusNodeAdjacency:function(t,i,n,r){function a(t,i){var n=e(t,i),r=t.getGraphicEl();null==n&&(n=1),r[Wn](function(t){t[nr](Mi),"group"!==t.type&&t[Zn](pn,.1*n)})}function o(t,i){var n=e(t,i),r=t.getGraphicEl();r[Wn](function(t){t[nr](ke),"group"!==t.type&&t[Zn](pn,n)})}var c=this[Nr][na](),h=r[br],d=c[yi](h);if(d){var f=c.graph,p=d[qn];if(null!==h&&"edge"!==p){f[H](function(t){a(t,l)}),f.eachEdge(function(t){a(t,u)});var v=f.getNodeByIndex(h);o(v,l),s.each(v.edges,function(t){t[br]<0||(o(t,u),o(t.node1,l),o(t.node2,l))})}}},unfocusNodeAdjacency:function(){var t=this[Nr][na]().graph;t[H](function(t){var i=e(t,l);t.getGraphicEl()[Wn](function(t){t[nr](Mi),"group"!==t.type&&t[Zn](pn,i)})}),t.eachEdge(function(t){var i=e(t,u);t.getGraphicEl()[Wn](function(t){t[nr](Mi),"group"!==t.type&&t[Zn](pn,i)})})},_startForceLayoutIteration:function(t,e){var i=this;!function n(){t.step(function(t){i[pr](i[Nr]),(i._layouting=!t)&&(e?i._layoutTimeout=setTimeout(n,16):n())})}()},_updateController:function(t,e){var i=this._controller,n=this.group;return i.setContainsPoint(function(t,e){var i=n[wn]();return i[ee](n[ie]),i[ln](t,e)}),"view"!==t[Sr].type?void i.disable():(i.enable(t.get("roam")),i.zoomLimit=t.get("scaleLimit"),i.zoom=t[Sr].getZoom(),void i.off("pan").off("zoom").on("pan",function(i,n){e[sr]({seriesId:t.id,type:"graphRoam",dx:i,dy:n})}).on("zoom",function(i,n,r){e[sr]({seriesId:t.id,type:"graphRoam",zoom:i,originX:n,originY:r}),this._updateNodeAndLinkScale(),o(t.getGraph(),this._getNodeGlobalScale(t)),this._lineDraw[pr]()},this))},_updateNodeAndLinkScale:function(){var t=this[Nr],e=t[na](),i=this._getNodeGlobalScale(t),n=[i,i];e[gi](function(t){t.attr("scale",n)})},_getNodeGlobalScale:function(t){var e=t[Sr];if("view"!==e.type)return 1;var i=this._nodeScaleRatio,n=e.scale,r=n&&n[0]||1,a=e.getZoom(),o=(a-1)*i+1;return o/r},updateLayout:function(t){o(t.getGraph(),this._getNodeGlobalScale(t)),this._symbolDraw[pr](),this._lineDraw[pr]()},remove:function(){this._symbolDraw&&this._symbolDraw[ur](),this._lineDraw&&this._lineDraw[ur]()}})}),e("echarts/chart/graph/graphAction",[sa,Ai,"../../action/roamHelper"],function(t){var e=t(Ai),i=t("../../action/roamHelper"),n={type:"graphRoam",event:"graphRoam",update:"none"};e[Nn](n,function(t,e){e[Lr]({mainType:"series",query:t},function(e){var n=e[Sr],r=i.updateCenterAndZoom(n,t);e.setCenter&&e.setCenter(r[mn]),e.setZoom&&e.setZoom(r.zoom)})}),e[Nn]({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series.graph:focusNodeAdjacency"},function(){}),e[Nn]({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series.graph:unfocusNodeAdjacency"},function(){})}),e("echarts/chart/graph/categoryFilter",[sa],function(){return function(t){var e=t.findComponents({mainType:"legend"});e&&e[Tr]&&t[ra]("graph",function(t){var i=t.getCategoriesData(),n=t.getGraph(),r=n.data,a=i[ti](i[Ie]);r.filterSelf(function(t){var i=r[_i](t),n=i[Ge](ji);if(null!=n){typeof n===zn&&(n=a[n]);for(var o=0;o<e[Tr];o++)if(!e[o].isSelected(n))return!1}return!0})},this)}}),e("echarts/chart/graph/categoryVisual",[sa],function(){return function(t){var e={};t[ra]("graph",function(t){var i=t.getCategoriesData(),n=t[na](),r={};i.each(function(n){var a=i[Ie](n);r[a]=n;var o=i[_i](n),s=o.get(me)||t.getColorFromPalette(a,e);i[He](n,"color",s)}),i.count()&&n.each(function(t){var e=n[_i](t),a=e[Ge](ji);null!=a&&(typeof a===Ur&&(a=r[a]),n[_r](t,"color",!0)||n[He](t,"color",i[_r](a,"color")))})})}}),e("echarts/chart/graph/edgeVisual",[sa],function(){function t(t){return t instanceof Array||(t=[t,t]),t}return function(e){e[ra]("graph",function(e){var i=e.getGraph(),n=e.getEdgeData(),r=t(e.get("edgeSymbol")),a=t(e.get("edgeSymbolSize")),o="lineStyle.normal.color".split("."),s="lineStyle.normal.opacity".split(".");n[ia]("fromSymbol",r&&r[0]),n[ia]("toSymbol",r&&r[1]),n[ia]("fromSymbolSize",a&&a[0]),n[ia]("toSymbolSize",a&&a[1]),n[ia]("color",e.get(o)),n[ia](pn,e.get(s)),n.each(function(e){var r=n[_i](e),a=i.getEdgeByIndex(e),l=t(r[Ge](We,!0)),u=t(r[Ge](Ze,!0)),c=r.get(o),h=r.get(s);switch(c){case"source":c=a.node1[Mr]("color");break;case Yn:c=a.node2[Mr]("color")}l[0]&&a[ia]("fromSymbol",l[0]),l[1]&&a[ia]("toSymbol",l[1]),u[0]&&a[ia]("fromSymbolSize",u[0]),u[1]&&a[ia]("toSymbolSize",u[1]),a[ia]("color",c),a[ia](pn,h)})})}}),e("echarts/chart/graph/circularLayout",[sa,"./circularLayoutHelper"],function(t){var e=t("./circularLayoutHelper");return function(t){t[ra]("graph",function(t){"circular"===t.get(ue)&&e(t)})}}),e("echarts/chart/graph/simpleLayout",[sa,"./simpleLayoutHelper","./simpleLayoutEdge"],function(t){var e=t("./simpleLayoutHelper"),i=t("./simpleLayoutEdge");return function(t){t[ra]("graph",function(t){var n=t.get(ue),r=t[Sr];if(r&&"view"!==r.type){var a=t[na](),o=r[Pi];a.each(o,function(){for(var t,e=arguments,i=[],n=0;n<o[Tr];n++)isNaN(e[n])||(t=!0),i.push(e[n]);var s=e[e[Tr]-1];t?a[ri](s,r[Zi](i)):a[ri](s,[0/0,0/0])}),i(a.graph)}else n&&"none"!==n||e(t)})}}),e("echarts/chart/graph/forceLayout",[sa,"./forceHelper",ge,"./simpleLayoutHelper","./circularLayoutHelper",$r,oa],function(t){var e=t("./forceHelper"),i=t(ge),n=t("./simpleLayoutHelper"),r=t("./circularLayoutHelper"),a=t($r),o=t(oa);return function(t){t[ra]("graph",function(t){var s=t[Sr];if(!s||"view"===s.type)if("force"===t.get(ue)){var l=t.preservedPoints||{},u=t.getGraph(),c=u.data,h=u.edgeData,d=t[Er]("force"),f=d.get("initLayout");t.preservedPoints?c.each(function(t){var e=c.getId(t);c[ri](t,l[e]||[0/0,0/0])}):f&&"none"!==f?"circular"===f&&r(t):n(t);var p=c[en]("value"),v=h[en]("value"),g=d.get("repulsion"),m=d.get("edgeLength");o[Gn](g)||(g=[g,g]),o[Gn](m)||(m=[m,m]),m=[m[1],m[0]];var y=c[ti]("value",function(t,e){var n=c[pi](e),r=i[ve](t,p,g);return isNaN(r)&&(r=(g[0]+g[1])/2),{w:r,rep:r,p:!n||isNaN(n[0])||isNaN(n[1])?null:n}}),x=h[ti]("value",function(t,e){var n=u.getEdgeByIndex(e),r=i[ve](t,v,m);return isNaN(r)&&(r=(m[0]+m[1])/2),{n1:y[n.node1[br]],n2:y[n.node2[br]],d:r,curveness:n[Er]().get("lineStyle.normal.curveness")||0}}),s=t[Sr],_=s[wn](),b=e(y,x,{rect:_,gravity:d.get("gravity")}),w=b.step;b.step=function(t){for(var e=0,i=y[Tr];i>e;e++)y[e].fixed&&a.copy(y[e].p,u.getNodeByIndex(e)[te]());w(function(e,i,n){for(var r=0,o=e[Tr];o>r;r++)e[r].fixed||u.getNodeByIndex(r)[ai](e[r].p),l[c.getId(r)]=e[r].p;for(var r=0,o=i[Tr];o>r;r++){var s=i[r],h=u.getEdgeByIndex(r),d=s.n1.p,f=s.n2.p,p=h[te]();p=p?p.slice():[],p[0]=p[0]||[],p[1]=p[1]||[],a.copy(p[0],d),a.copy(p[1],f),+s.curveness&&(p[2]=[(d[0]+f[0])/2-(d[1]-f[1])*s.curveness,(d[1]+f[1])/2-(f[0]-d[0])*s.curveness]),h[ai](p)}t&&t(n)})},t.forceLayout=b,t.preservedPoints=l,b.step()}else t.forceLayout=null})}}),e("echarts/chart/graph/createView",[sa,"../../coord/View",Ji,"zrender/core/bbox"],function(t){function e(t,e,i){var r=t[bn]();return r.aspect=i,n[_n](r,{width:e[Or](),height:e[Vr]()})}var i=t("../../coord/View"),n=t(Ji),r=t("zrender/core/bbox");return function(t,n){var a=[];return t[ra]("graph",function(t){var o=t.get(Sr);if(!o||"view"===o){var s=t[na](),l=s[ti](function(t){var e=s[_i](t);return[+e.get("x"),+e.get("y")]}),u=[],c=[];r.fromPoints(l,u,c),c[0]-u[0]===0&&(c[0]+=1,u[0]-=1),c[1]-u[1]===0&&(c[1]+=1,u[1]-=1);var h=(c[0]-u[0])/(c[1]-u[1]),d=e(t,n,h);isNaN(h)&&(u=[d.x,d.y],c=[d.x+d.width,d.y+d[Wr]]);var f=c[0]-u[0],p=c[1]-u[1],v=d.width,g=d[Wr],m=t[Sr]=new i;m.zoomLimit=t.get("scaleLimit"),m.setBoundingRect(u[0],u[1],f,p),m.setViewRect(d.x,d.y,v,g),m.setCenter(t.get(mn)),m.setZoom(t.get("zoom")),a.push(m)}}),a}}),e("echarts/chart/boxplot/BoxplotSeries",[sa,oa,ni,"../helper/whiskerBoxCommon"],function(t){var e=t(oa),i=t(ni),n=t("../helper/whiskerBoxCommon"),r=i[lr]({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,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",[sa,oa,"../../view/Chart",Ci,"../helper/whiskerBoxCommon"],function(t){function e(t,e,i){var n=e[_i](i),a=n[Er](s),o=e[_r](i,"color"),u=a[Cn]([he]),c=t[Ce](t.whiskerIndex);c.style.set(u),c.style[ce]=o,c.dirty();var h=t[Ce](t.bodyIndex);h.style.set(u),h.style[ce]=o,h.dirty();var d=n[Er](l)[Cn]();r[ui](t,d)}var i=t(oa),n=t("../../view/Chart"),r=t(Ci),a=t("../helper/whiskerBoxCommon"),o=n[lr]({type:"boxplot",getStyleUpdater:function(){return e},dispose:i.noop});i.mixin(o,a.viewMixin,!0);var s=[Si,Mi],l=[Si,ke];return o}),e("echarts/chart/boxplot/boxplotVisual",[sa],function(){var t=[Si,Mi,he];return function(e){var i=e.get("color");e.eachRawSeriesByType("boxplot",function(n){var r=i[n[jn]%i[Tr]],a=n[na]();a[ia]({legendSymbol:"roundRect",color:n.get(t)||r}),e.isSeriesFiltered(n)||a.each(function(e){var i=a[_i](e);a[He](e,{color:i.get(t,!0)})})})}}),e("echarts/chart/boxplot/boxplotLayout",[sa,oa,ge],function(t){function e(t){var e=[],i=[];return t[ra]("boxplot",function(t){var n=t[ki](),a=r[Ar](i,n);0>a&&(a=i[Tr],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[Tr],u=t.boxWidthList=[],c=t.boxOffsetList=[],h=[];if(n.type===ji)i=n[si]();else{var d=0;s(a,function(t){d=Math.max(d,t[na]().count())}),e=n[on](),Math.abs(e[1]-e[0])/d}s(a,function(t){var e=t.get("boxWidth");r[Gn](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,g=v/2-f/2;s(a,function(t,e){c.push(g),g+=p+v,u.push(Math.min(Math.max(v,h[e][0]),h[e][1]))})}function n(t,e,i){var n=t[Sr],r=t[na](),a=t[Pi],o=t.get(ue),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[Zi](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 u=arguments,c=a[Tr],h=u[0],d=u[c],f=o===le?0:1,p=1-f,v=t(u[3]),g=t(u[1]),m=t(u[5]),y=[[g,t(u[2])],[m,t(u[4])]];l(g),l(m),l(v);var x=[];i(y[0][1],0),i(y[1][1],1),r[ri](d,{chartLayout:o,initBaseline:v[p],median:v,bodyEnds:x,whiskerEnds:y})})}var r=t(oa),a=t(ge),o=a[li],s=r.each;return function(t){var r=e(t);s(r,function(t){var e=t.seriesModels;e[Tr]&&(i(t),s(e,function(e,i){n(e,t.boxOffsetList[i],t.boxWidthList[i])}))})}}),e("echarts/component/parallel",[sa,"../coord/parallel/parallelCreator","../coord/parallel/ParallelModel","./parallelAxis",aa,oa,"../coord/parallel/parallelPreprocessor"],function(t){t("../coord/parallel/parallelCreator"),t("../coord/parallel/ParallelModel"),t("./parallelAxis");var e=t(aa),i=t(oa),n=5;e[Vn]({type:"parallel",render:function(t,e,r){var a=r.getZr();if(!this.__onMouseDown){var o;a.on(Kn,this.__onMouseDown=function(t){o=[t[G],t[B]]}),a.on($n,this.__onMouseUp=function(e){var a=[e[G],e[B]],s=Math.pow(o[0]-a[0],2)+Math.pow(o[1]-a[1],2);if(t.get("axisExpandable")&&!(s>n)){var l=t[Sr],u=l.findClosestAxisDim(a);if(u){var c=i[Ar](l[Pi],u);r[sr]({type:"parallelAxisExpand",axisExpandCenter:c})}}})}},dispose:function(t,e){e.getZr().off(this.__onMouseDown),e.getZr().off(this.__onMouseUp)}}),e[ta](t("../coord/parallel/parallelPreprocessor"))}),e("echarts/chart/parallel/ParallelSeries",[sa,Be,oa,ni,Ne],function(t){function e(t,e,n){var r=t.get("data"),o=i(e);r&&r[Tr]&&a.each(n,function(t){if(t){var e=a[Ar](r,t[o]);t[o]=e>=0?e:0/0}})}function i(t){return+t[Hn]("dim","")}function n(t,e){var n=0;a.each(t,function(t){var e=i(t);e>n&&(n=e)});var r=e[0];r&&r[Tr]-1>n&&(n=r[Tr]-1);for(var o=[],s=0;n>=s;s++)o.push("dim"+s);return o}var r=t(Be),a=t(oa),o=t(ni),s=t(Ne);return o[lr]({type:"series.parallel",dependencies:["parallel"],getInitialData:function(t,i){var o=i[X]("parallel",this.get("parallelIndex")),l=o.parallelAxisIndex,u=t.data,c=o[Pi],h=n(c,u),d=a.map(h,function(t,n){var r=a[Ar](c,t),o=r>=0&&i[X]("parallelAxis",l[r]);return o&&o.get("type")===ji?(e(o,t,u),{name:t,type:"ordinal"}):0>r&&s.guessOrdinal(u,n)?{name:t,type:"ordinal"}:t}),f=new r(d,this);return f[Oe](u),this[fn].progressive&&(this[fn][Fr]=!1),f},getRawIndicesByActiveState:function(t){var e=this[Sr],i=this[na](),n=[];return e.eachActiveState(i,function(e,r){t===e&&n.push(i[ye](r))}),n},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{normal:{show:!1},emphasis:{show:!1}},inactiveOpacity:.05,activeOpacity:1,lineStyle:{normal:{width:1,opacity:.45,type:"solid"}},progressive:!1,smooth:!1,animationEasing:"linear"}})}),e("echarts/chart/parallel/ParallelView",[sa,Ci,oa,"../../view/Chart"],function(t){function e(t,e,i){var n=t.model,r=t[Pn](),a=new o.Rect({shape:{x:r.x,y:r.y,width:r.width,height:r[Wr]}}),s=n.get(ue)===le?"width":Wr;return a[hi](s,0),o[vi](a,{shape:{width:r.width,height:r[Wr]}},e,i),a}function i(t,e,i,n){for(var r=[],o=0;o<i[Tr];o++){var s=i[o],l=t.get(s,e);a(l,n[Wi](s).type)||r.push(n[Zi](l,s))}return r}function n(t,e,n,r,a){var s=i(t,n,r,a),l=new o[Xe]({shape:{points:s},silent:!0,z2:10});e.add(l),t[xi](n,l)}function r(t,e){var i=t[Ye][Er]("lineStyle.normal"),n=i[Ke]();t[gi](function(r,a){if(t[ne]){var o=t[_i](a),l=o[Er]("lineStyle.normal",i);n=l[Ke]()}r[ci](s[lr](n,{fill:null,stroke:t[_r](a,"color"),opacity:t[_r](a,pn)})),r.shape.smooth=e})}function a(t,e){return e===ji?null==t:null==t||isNaN(t)}var o=t(Ci),s=t(oa),l=.3,u=t("../../view/Chart")[lr]({type:"parallel",init:function(){this._dataGroup=new o.Group,this.group.add(this._dataGroup),this._data},render:function(t){this._renderForNormal(t)},dispose:function(){},_renderForNormal:function(t){function a(t){n(h,c,t,p,f,null,g)}function s(e,n){var r=d[yi](n),a=i(h,e,p,f);h[xi](e,r),o[mi](r,{shape:{points:a}},t,e)}function u(t){var e=d[yi](t);c[ur](e)}var c=this._dataGroup,h=t[na](),d=this._data,f=t[Sr],p=f[Pi],v=t[fn],g=v.smooth?l:null;if(h.diff(d).add(a)[yr](s)[ur](u)[bi](),r(h,g),!this._data){var m=e(f,t,function(){setTimeout(function(){c.removeClipPath()})});c.setClipPath(m)}this._data=h},remove:function(){this._dataGroup&&this._dataGroup[Ln](),this._data=null}});return u}),e("echarts/chart/parallel/parallelVisual",[sa],function(){return function(t){t[ra]("parallel",function(e){var i=e[Er](fi),n=e[Er]("lineStyle.normal"),r=t.get("color"),a=n.get("color")||i.get("color")||r[e[jn]%r[Tr]],o=e.get("inactiveOpacity"),s=e.get("activeOpacity"),l=e[Er]("lineStyle.normal")[Ke](),u=e[Sr],c=e[na](),h={normal:l[pn],active:s,inactive:o};u.eachActiveState(c,function(t,e){c[He](e,pn,h[t])}),c[ia]("color",a)})}}),e("echarts/chart/gauge/GaugeSeries",[sa,Be,ni,oa],function(t){var e=t(Be),i=t(ni),n=t(oa),r=i[lr]({type:"series.gauge",getInitialData:function(t){var i=new e(["value"],this),r=t.data||[];return n[Gn](r)||(r=[r]),i[Oe](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,distance:5,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",[sa,"./PointerPath",Ci,ge,"../../view/Chart"],function(t){function e(t,e){var i=t.get(mn),n=e[Or](),r=e[Vr](),a=Math.min(n,r),s=o(i[0],e[Or]()),l=o(i[1],e[Vr]()),u=o(t.get(ei),a/2);return{cx:s,cy:l,r:u}}function i(t,e){return e&&(typeof e===Ur?t=e[Hn](N,null!=t?t:""):typeof e===Bn&&(t=e(t))),t}var n=t("./PointerPath"),r=t(Ci),a=t(ge),o=a[li],s=2*Math.PI,l=t("../../view/Chart")[lr]({type:"gauge",render:function(t,i,n){this.group[Ln]();var r=t.get("axisLine.lineStyle.color"),a=e(t,n);this._renderMain(t,i,n,r,a)},dispose:function(){},_renderMain:function(t,e,i,n,a){for(var o=this.group,l=t[Er](E),u=l[Er](_e),c=t.get(xe),h=-t.get("startAngle")/180*Math.PI,d=-t.get("endAngle")/180*Math.PI,f=(d-h)%s,p=h,v=u.get("width"),g=0;g<n[Tr];g++){var m=Math.min(Math.max(n[g][0],0),1),d=h+f*m,y=new r.Sector({shape:{startAngle:p,endAngle:d,cx:a.cx,cy:a.cy,clockwise:c,r0:a.r-v,r:a.r},silent:!0});y[Zn]({fill:n[g][1]}),y[Zn](u[Ke](["color",$,he])),o.add(y),p=d}var x=function(t){if(0>=t)return n[0][1];for(var e=0;e<n[Tr];e++)if(n[e][0]>=t&&(0===e?0:n[e-1][0])<t)return n[e][1];return n[e-1][1]};if(!c){var _=h;h=d,d=_}this._renderTicks(t,e,i,x,a,h,d,c),this._renderPointer(t,e,i,x,a,h,d,c),this._renderTitle(t,e,i,x,a),this._renderDetail(t,e,i,x,a)},_renderTicks:function(t,e,n,s,l,u,c){for(var h=this.group,d=l.cx,f=l.cy,p=l.r,v=+t.get("min"),g=+t.get("max"),m=t[Er](O),y=t[Er](V),x=t[Er](R),_=t.get("splitNumber"),b=y.get("splitNumber"),w=o(m.get(Tr),p),M=o(y.get(Tr),p),S=u,A=(c-u)/_,T=A/b,C=m[Er](_e)[Ke](),P=y[Er](_e)[Ke](),L=x[Er](Tn),D=0;_>=D;D++){var I=Math.cos(S),k=Math.sin(S);if(m.get("show")){var E=new r.Line({shape:{x1:I*p+d,y1:k*p+f,x2:I*(p-w)+d,y2:k*(p-w)+f},style:C,silent:!0});"auto"===C[ce]&&E[Zn]({stroke:s(D/_)}),h.add(E)}if(x.get("show")){var N=i(a.round(D/_*(g-v)+v),x.get(z)),B=x.get("distance"),G=new r.Text({style:{text:N,x:I*(p-w-B)+d,y:k*(p-w-B)+f,fill:L[Mn](),textFont:L[Sn](),textVerticalAlign:-.4>k?"top":k>.4?Cr:yn,textAlign:-.4>I?"left":I>.4?"right":mn},silent:!0});"auto"===G.style.fill&&G[Zn]({fill:s(D/_)}),h.add(G)}if(y.get("show")&&D!==_){for(var H=0;b>=H;H++){var I=Math.cos(S),k=Math.sin(S),F=new r.Line({shape:{x1:I*p+d,y1:k*p+f,x2:I*(p-M)+d,y2:k*(p-M)+f},silent:!0,style:P});"auto"===P[ce]&&F[Zn]({stroke:s((D+H/b)/_)}),h.add(F),S+=T}S-=T}else S+=A}},_renderPointer:function(t,e,i,s,l,u,c){var h=this.group,d=this._data;if(!t.get("pointer.show"))return void(d&&d[gi](function(t){h[ur](t)}));var f=[+t.get("min"),+t.get("max")],p=[u,c],v=t[na]();v.diff(d).add(function(e){var i=new n({shape:{angle:u}});r[mi](i,{shape:{angle:a[ve](v.get("value",e),f,p,!0)}},t),h.add(i),v[xi](e,i)})[yr](function(e,i){var n=d[yi](i);r[mi](n,{shape:{angle:a[ve](v.get("value",e),f,p,!0)}},t),h.add(n),v[xi](e,n)})[ur](function(t){var e=d[yi](t);h[ur](e)})[bi](),v[gi](function(t,e){var i=v[_i](e),n=i[Er](k);t[hi]({x:l.cx,y:l.cy,width:o(n.get("width"),l.r),r:o(n.get(Tr),l.r)}),t[ci](i[Er](fi)[Cn]()),"auto"===t.style.fill&&t[Zn]("fill",s(a[ve](v.get("value",e),f,[0,1],!0))),r[ui](t,i[Er](di)[Cn]())}),this._data=v},_renderTitle:function(t,e,i,n,s){var l=t[Er]("title");if(l.get("show")){var u=l[Er](Tn),c=l.get("offsetCenter"),h=s.cx+o(c[0],s.r),d=s.cy+o(c[1],s.r),f=new r.Text({style:{x:h,y:d,text:t[na]()[Ie](0),fill:u[Mn](),textFont:u[Sn](),textAlign:"center",textVerticalAlign:"middle"}});if("auto"===f.style.fill){var p=+t.get("min"),v=+t.get("max"),g=t[na]().get("value",0);f[Zn]("fill",n(a[ve](g,[p,v],[0,1],!0)))}this.group.add(f)}},_renderDetail:function(t,e,n,s,l){var u=t[Er]("detail"),c=+t.get("min"),h=+t.get("max");if(u.get("show")){var d=u[Er](Tn),f=u.get("offsetCenter"),p=l.cx+o(f[0],l.r),v=l.cy+o(f[1],l.r),g=o(u.get("width"),l.r),m=o(u.get(Wr),l.r),y=t[na]().get("value",0),x=new r.Rect({shape:{x:p-g/2,y:v-m/2,width:g,height:m},style:{text:i(y,u.get(z)),fill:u.get(kr),textFill:d[Mn](),textFont:d[Sn]()}});"auto"===x.style.textFill&&x[Zn]("textFill",s(a[ve](y,[c,h],[0,1],!0))),x[Zn](u[Cn](["color"])),this.group.add(x)}}});return l}),e("echarts/chart/funnel/FunnelSeries",[sa,Be,ii,Ne,Ai],function(t){var e=t(Be),i=t(ii),n=t(Ne),r=t(Ai).extendSeriesModel({type:"series.funnel",init:function(t){r[dn](this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(t)},getInitialData:function(t){var i=n(["value"],t.data),r=new e(i,this);return r[Oe](t.data),r},_defaultLabelLine:function(t){i[ze](t.labelLine,["show"]);var e=t.labelLine[Mi],n=t.labelLine[ke];e.show=e.show&&t.label[Mi].show,n.show=n.show&&t.label[ke].show},getDataParams:function(t){var e=this[na](),i=r[Ee](this,Un,t),n=e.getSum("value");return i[Ve]=n?+(e.get("value",t)/n*100)[Re](2):0,i.$vars.push(Ve),i},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:{}}}});return r}),e("echarts/chart/funnel/FunnelView",[sa,Ci,oa,"../../view/Chart"],function(t){function e(t,e){function i(){o[Pr]=o.hoverIgnore,s[Pr]=s.hoverIgnore}function r(){o[Pr]=o.normalIgnore,s[Pr]=s.normalIgnore}n.Group.call(this);var a=new n[je],o=new n[Xe],s=new n.Text;this.add(a),this.add(o),this.add(s),this[Je](t,e,!0),this.on(ke,i).on(Mi,r).on(tr,i).on(Qn,r)}function i(t,e,i,n){var a=n[Er](Tn),o=n.get(gn),s=o===Le||"inner"===o||o===mn;return{fill:a[Mn]()||(s?"#fff":t[_r](e,"color")),textFont:a[Sn](),text:r[Di](t[Ye][Pe](e,i),t[Ie](e))}}var n=t(Ci),r=t(oa),a=e[jr],o=[Si,Mi,pn];a[Je]=function(t,e,i){var a=this[Ce](0),s=t[Ye],l=t[_i](e),u=t[pi](e),c=t[_i](e).get(o);c=null==c?1:c,a[ci]({}),i?(a[hi]({points:u[qe]}),a[Zn]({opacity:0}),n[vi](a,{style:{opacity:c}},s,e)):n[mi](a,{style:{opacity:c},shape:{points:u[qe]}},s,e);var h=l[Er](Si),d=t[_r](e,"color");a[Zn](r[or]({lineJoin:"round",fill:d},h[Er](Mi)[Cn]([pn]))),a[Te]=h[Er](ke)[Cn](),this._updateLabel(t,e),n[ui](this)},a._updateLabel=function(t,e){var r=this[Ce](1),a=this[Ce](2),o=t[Ye],s=t[_i](e),l=t[pi](e),u=l.label,c=t[_r](e,"color");
  n[mi](r,{shape:{points:u.linePoints||u.linePoints}},o,e),n[mi](a,{style:{x:u.x,y:u.y}},o,e),a.attr({style:{textAlign:u[An],textVerticalAlign:u.verticalAlign,textFont:u.font},rotation:u[Me],origin:[u.x,u.y],z2:10});var h=s[Er](we),d=s[Er](be),f=s[Er]("labelLine.normal"),p=s[Er]("labelLine.emphasis");a[Zn](i(t,e,Mi,h)),a[Pr]=a.normalIgnore=!h.get("show"),a.hoverIgnore=!d.get("show"),r[Pr]=r.normalIgnore=!f.get("show"),r.hoverIgnore=!p.get("show"),r[Zn]({stroke:c}),r[Zn](f[Er](_e)[Ke]()),a[Te]=i(t,e,ke,d),r[Te]=p[Er](_e)[Ke]()},r[In](e,n.Group);var s=t("../../view/Chart")[lr]({type:"funnel",render:function(t){var i=t[na](),n=this._data,r=this.group;i.diff(n).add(function(t){var n=new e(i,t);i[xi](t,n),r.add(n)})[yr](function(t,e){var a=n[yi](e);a[Je](i,t),r.add(a),i[xi](t,a)})[ur](function(t){var e=n[yi](t);r[ur](e)})[bi](),this._data=i},remove:function(){this.group[Ln](),this._data=null},dispose:function(){}});return s}),e("echarts/chart/funnel/funnelLayout",[sa,Ji,ge],function(t){function e(t,e){return r[_n](t[bn](),{width:e[Or](),height:e[Vr]()})}function i(t,e){for(var i=t[ti]("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[_i](e),s=o[Er](we),l=s.get(gn),u=o[Er]("labelLine.normal"),c=t[pi](e),h=c[qe],d="inner"===l||l===Le||l===mn;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=mn,a=[[n,r],[n,r]];else{var f,p,v,g=u.get(Tr);"left"===l?(f=(h[3][0]+h[0][0])/2,p=(h[3][1]+h[0][1])/2,v=f-g,n=v-5,i="right"):(f=(h[1][0]+h[2][0])/2,p=(h[1][1]+h[2][1])/2,v=f+g,n=v+5,i="left");var m=p;a=[[f,p],[v,m]],r=m}c.label={linePoints:a,x:n,y:r,verticalAlign:"middle",textAlign:i,inside:d}})}var r=t(Ji),a=t(ge),o=a[li];return function(t,r){t[ra]("funnel",function(t){var s=t[na](),l=t.get("sort"),u=e(t,r),c=i(s,l),h=[o(t.get("minSize"),u.width),o(t.get("maxSize"),u.width)],d=s[en]("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"),g=t.get("gap"),m=(u[Wr]-g*(s.count()-1))/s.count(),y=u.y,x=function(t,e){var i,n=s.get("value",t)||0,r=a[ve](n,[f,p],h,!0);switch(v){case"left":i=u.x;break;case mn:i=u.x+(u.width-r)/2;break;case"right":i=u.x+u.width-r}return[[i,e],[i+r,e]]};"ascending"===l&&(m=-m,g=-g,y+=u[Wr],c=c[Qe]());for(var _=0;_<c[Tr];_++){var b=c[_],w=c[_+1],M=x(b,y),S=x(w,y+m);y+=m+g,s[ri](b,{points:M[hr](S.slice()[Qe]())})}n(s)})}}),e("echarts/chart/sankey/SankeySeries",[sa,ni,"../helper/createGraphFromNodeEdge",pe],function(t){var e=t(ni),i=t("../helper/createGraphFromNodeEdge"),n=t(pe)[fe],r=e[lr]({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[na]().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,i){if("edge"===i){var a=this[Un](t,i),o=a.data,s=o.source+" -- "+o[Yn];return a.value&&(s+=" : "+a.value),n(s)}return r[Ee](this,"formatTooltip",t,e)},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:"#333"}},lineStyle:{normal:{color:"#314656",opacity:.2,curveness:.5},emphasis:{opacity:.6}},animationEasing:"linear",animationDuration:1e3}});return r}),e("echarts/chart/sankey/SankeyView",[sa,Ci,oa,Ai],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[Wr]+20}});return i[vi](r,{shape:{width:t.width+20,height:t[Wr]+20}},e,n),r}var i=t(Ci),n=t(oa),r=i[I]({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[D](e.x1,e.y1-i),t.bezierCurveTo(e.cpx1,e.cpy1-i,e.cpx2,e.cpy2-i,e.x2,e.y2-i),t[L](e.x2,e.y2+i),t.bezierCurveTo(e.cpx2,e.cpy2+i,e.cpx1,e.cpy1+i,e.x1,e.y1+i),t[P]()}});return t(Ai)[Rn]({type:"sankey",_model:null,render:function(t){var a=t.getGraph(),o=this.group,s=t.layoutInfo,l=t[na](),u=t[na]("edge");this[Nr]=t,o[Ln](),o[gn]=[s.x,s.y],a.eachEdge(function(e){var n=new r;n[br]=e[br],n[jn]=t[jn],n[qn]="edge";var a=e[Er]("lineStyle.normal"),s=a.get("curveness"),l=e.node1[te](),c=e.node2[te](),h=e[te]();n.shape.extent=Math.max(1,h.dy);var d=l.x+l.dx,f=l.y+h.sy+h.dy/2,p=c.x,v=c.y+h.ty+h.dy/2,g=d*(1-s)+p*s,m=f,y=d*s+p*(1-s),x=v;switch(n[hi]({x1:d,y1:f,x2:p,y2:v,cpx1:g,cpy1:m,cpx2:y,cpy2:x}),n[Zn](a[Cn]()),n.style.fill){case"source":n.style.fill=e.node1[Mr]("color");break;case Yn:n.style.fill=e.node2[Mr]("color")}i[ui](n,e[Er]("lineStyle.emphasis")[Cn]()),o.add(n),u[xi](e[br],n)}),a[H](function(e){var r=e[te](),a=e[Er](),s=a[Er](we),u=s[Er](Tn),c=a[Er](be),h=c[Er](Tn),d=new i.Rect({shape:{x:r.x,y:r.y,width:e[te]().dx,height:e[te]().dy},style:{text:s.get("show")?t[Pe](e[br],Mi)||e.id:"",textFont:u[Sn](),textFill:u[Mn](),textPosition:s.get(gn)}});d[Zn](n[or]({fill:e[Mr]("color")},a[Er](fi)[Cn]())),i[ui](d,n[lr](e[Er](di),{text:c.get("show")?t[Pe](e[br],ke)||e.id:"",textFont:h[Sn](),textFill:h[Mn](),textPosition:c.get(gn)})),o.add(d),l[xi](e[br],d),d[qn]="node"}),!this._data&&t.get(Fr)&&o.setClipPath(e(o[wn](),t,function(){o.removeClipPath()})),this._data=t[na]()},dispose:function(){}})}),e("echarts/chart/sankey/sankeyLayout",[sa,Ji,"../../util/array/nest",oa],function(t){function e(t,e){return w[_n](t[bn](),{width:e[Or](),height:e[Vr]()})}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=m(t.outEdges,b),i=m(t.inEdges,b),n=Math.max(e,i);t[ai]({value:n},!0)})}function r(t,e,i){for(var n=t,r=null,s=0,l=0;n[Tr];){r=[];for(var u=0,c=n[Tr];c>u;u++){var h=n[u];h[ai]({x:s},!0),h[ai]({dx:e},!0);for(var d=0,f=h.outEdges[Tr];f>d;d++)r.push(h.outEdges[d].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[Tr]||t[ai]({x:e-1},!0)})}function o(t,e){S.each(t,function(t){var i=t[te]().x*e;t[ai]({x:i},!0)})}function s(t,e,i,n,r){var a=M().key(function(t){return t[te]().x}).sortKeys(_).entries(t).map(function(t){return t.values});l(t,a,e,i,n),u(a,n,i);for(var o=1;r>0;r--)o*=.99,c(a,o),u(a,n,i),d(a,o),u(a,n,i)}function l(t,e,i,n,r){var a=[];S.each(e,function(t){var e=t[Tr],i=0;S.each(t,function(t){i+=t[te]().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[ai]({y:e},!0);var i=t[te]().value*o;t[ai]({dy:i},!0)})}),S.each(i,function(t){var e=+t.getValue()*o;t[ai]({dy:e},!0)})}function u(t,e,i){S.each(t,function(t){var n,r,a,o=0,s=t[Tr];for(t.sort(x),a=0;s>a;a++){if(n=t[a],r=o-n[te]().y,r>0){var l=n[te]().y+r;n[ai]({y:l},!0)}o=n[te]().y+n[te]().dy+e}if(r=o-e-i,r>0){var l=n[te]().y-r;for(n[ai]({y:l},!0),o=n[te]().y,a=s-2;a>=0;--a)n=t[a],r=n[te]().y+n[te]().dy+e-o,r>0&&(l=n[te]().y-r,n[ai]({y:l},!0)),o=n[te]().y}})}function c(t,e){S.each(t.slice()[Qe](),function(t){S.each(t,function(t){if(t.outEdges[Tr]){var i=m(t.outEdges,h)/m(t.outEdges,b),n=t[te]().y+(i-y(t))*e;t[ai]({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[Tr]){var i=m(t.inEdges,f)/m(t.inEdges,b),n=t[te]().y+(i-y(t))*e;t[ai]({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(g)}),S.each(t,function(t){var e=0,i=0;S.each(t.outEdges,function(t){t[ai]({sy:e},!0),e+=t[te]().dy}),S.each(t.inEdges,function(t){t[ai]({ty:i},!0),i+=t[te]().dy})})}function v(t,e){return t.node2[te]().y-e.node2[te]().y}function g(t,e){return t.node1[te]().y-e.node1[te]().y}function m(t,e){for(var i=0,n=t[Tr],r=-1;++r<n;){var a=+e.call(t,t[r],r);isNaN(a)||(i+=a)}return i}function y(t){return t[te]().y+t[te]().dy/2}function x(t,e){return t[te]().y-e[te]().y}function _(t,e){return e>t?-1:t>e?1:t===e?0:0/0}function b(t){return t.getValue()}var w=t(Ji),M=t("../../util/array/nest"),S=t(oa);return function(t,r){t[ra]("sankey",function(t){var a=t.get("nodeWidth"),o=t.get("nodeGap"),s=e(t,r);t.layoutInfo=s;var l=s.width,u=s[Wr],c=t.getGraph(),h=c.nodes,d=c.edges;n(h);var f=h[kn](function(t){return 0===t[te]().value}),p=0!==f[Tr]?0:t.get("layoutIterations");i(h,d,a,o,l,u,p)})}}),e("echarts/chart/sankey/sankeyVisual",[sa,"../../visual/VisualMapping",oa],function(t){var e=t("../../visual/VisualMapping"),i=t(oa);return function(t){t[ra]("sankey",function(t){var n=t.getGraph(),r=n.nodes;r.sort(function(t,e){return t[te]().value-e[te]().value});var a=r[0][te]().value,o=r[r[Tr]-1][te]().value;i.each(r,function(i){var n=new e({type:"color",mappingMethod:"linear",dataExtent:[a,o],visual:t.get("color")}),r=n.mapValueToVisual(i[te]().value);i[ia]("color",r);var s=i[Er](),l=s.get(me);null!=l&&i[ia]("color",l)})})}}),e("echarts/chart/themeRiver/ThemeRiverSeries",[sa,Ne,ni,Be,oa,pe,"../../util/array/nest"],function(t){var e=t(Ne),i=t(ni),n=t(Be),r=t(oa),a=t(pe),o=a[fe],s=t("../../util/array/nest"),l=2,u=i[lr]({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(){u[dn](this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(t){for(var e=t[Tr],i=s().key(function(t){return t[2]}).entries(t),n=r.map(i,function(t){return{name:t.key,dataList:t.values}}),a=n[Tr],o=-1,l=-1,u=0;a>u;++u){var c=n[u].dataList[Tr];c>o&&(o=c,l=u)}for(var h=0;a>h;++h)if(h!==l)for(var d=n[h].name,f=0;o>f;++f){for(var p=n[l].dataList[f][0],v=n[h].dataList[Tr],g=-1,m=0;v>m;++m){var y=n[h].dataList[m][0];if(y===p){g=m;break}}-1===g&&(t[e]=[],t[e][0]=p,t[e][1]=0,t[e][2]=d,e++)}return t},getInitialData:function(t,i){var a=[],o=i[C]({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],s=o.get("type");a=[{name:"time",type:s===ji?Ue:"time"===s?"time":"float"},{name:"value",type:"float"},{name:"name",type:"ordinal"}];for(var u=r[kn](t.data,function(t){return void 0!==t[2]}),c=this.fixData(u||[]),h=[],d=this.nameMap={},f=0,p=0;p<c[Tr];++p)h.push(c[p][l]),d[c[p][l]]||(d[c[p][l]]=f++);e(a,c);var v=new n(a,this);return v[Oe](c,h),v},coordDimToDataDim:function(){return["time"]},getLayerSeries:function(){function t(t,i){return e.get("time",t)-e.get("time",i)}for(var e=this[na](),i=e.count(),n=[],a=0;i>a;++a)n[a]=a;for(var o=s().key(function(t){return e.get("name",t)}).entries(n),l=r.map(o,function(t){return{name:t.key,indices:t.values}}),u=0;u<l[Tr];++u)l[u].indices.sort(t);return l},getAxisTooltipData:function(t,e){r[Gn](t)||(t=t?[t]:[]);for(var i,n=this[na](),a=this.getLayerSeries(),o=[],s=a[Tr],l=0;s>l;++l){for(var u=Number[T],c=-1,h=a[l].indices[Tr],d=0;h>d;++d){var f=n.get(t[0],a[l].indices[d]),p=Math.abs(f-e);u>=p&&(i=f,u=p,c=a[l].indices[d])}o.push(c)}return{dataIndices:o,nestestValue:i}},formatTooltip:function(t){var e=this[na](),i=e.get("name",t),n=e.get("value",t);return(isNaN(n)||null==n)&&(n="-"),o(i+" : "+n)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{normal:{margin:4,textAlign:"right",show:!0,position:"left",textStyle:{color:"#000",fontSize:11}},emphasis:{show:!0}}}});return u}),e("echarts/chart/themeRiver/ThemeRiverView",[sa,"../line/poly",Ci,oa,"../../data/DataDiffer",Ai],function(t){function e(t,e,i){var r=new n.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t[Wr]+20}});return n[vi](r,{shape:{width:t.width+20,height:t[Wr]+20}},e,i),r}var i=t("../line/poly"),n=t(Ci),r=t(oa),a=t("../../data/DataDiffer");return t(Ai)[Rn]({type:"themeRiver",init:function(){this._layers=[]},render:function(t){function o(t){return t.name}function s(a,o,s){var d=this._layers;if(a===ur)return void c[ur](d[o]);for(var f,p=[],v=[],m=h[o].indices,y=0;y<m[Tr];y++){var x=l[pi](m[y]),_=x.x,b=x.y0,w=x.y;p.push([_,b]),v.push([_,b+w]),f=u[_r](m[y],"color")}var M,S,A=l[pi](m[0]),T=l[_i](m[y-1]),C=T[Er](we),P=C.get(vn);if("add"===a){var L=g[o]=new n.Group;M=new i[je]({shape:{points:p,stackedOnPoints:v,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),S=new n.Text({style:{x:A.x-P,y:A.y0+A.y/2}}),L.add(M),L.add(S),c.add(L),M.setClipPath(e(M[wn](),t,function(){M.removeClipPath()}))}else{var L=d[s];M=L[Ce](0),S=L[Ce](1),c.add(L),g[o]=L,n[mi](M,{shape:{points:p,stackedOnPoints:v}},t),n[mi](S,{style:{x:A.x-P,y:A.y0+A.y/2}},t)}var D=T[Er](di),I=T[Er](fi),k=C[Er](Tn);S[Zn]({text:C.get("show")?t[Pe](m[y-1],Mi)||l[Ie](m[y-1]):"",textFont:k[Sn](),textAlign:C.get(An),textVerticalAlign:"middle"}),M[Zn](r[lr]({fill:f},I[Cn](["color"]))),n[ui](M,D[Cn]())}var l=t[na](),u=t.getRawData();if(l.count()){var c=this.group,h=t.getLayerSeries(),d=l[te]("layoutInfo"),f=d.rect,p=d[Vi];c.attr(gn,[0,f.y+p[0]]);var v=new a(this._layersSeries||[],h,o,o),g={};v.add(r.bind(r.curry(s,"add"),this))[yr](r.bind(r.curry(s,yr),this))[ur](r.bind(r.curry(s,ur),this))[bi](),this._layersSeries=h,this._layers=g}},dispose:function(){}})}),e("echarts/chart/themeRiver/themeRiverLayout",[sa,oa,ge],function(t){function e(t,e,r){if(t.count())for(var a,o=e[Sr],s=e.getLayerSeries(),l=n.map(s,function(e){return n.map(e.indices,function(e){var i=o[Zi](t.get("time",e));return i[1]=t.get("value",e),i})}),u=i(l),c=u.y0,h=r/u.max,d=s[Tr],f=s[0].indices[Tr],p=0;f>p;++p){a=c[p]*h,t[ri](s[0].indices[p],{layerIndex:0,x:l[0][p][0],y0:a,y:l[0][p][1]*h});for(var v=1;d>v;++v)a+=l[v-1][p][1]*h,t[ri](s[v].indices[p],{layerIndex:v,x:l[v][p][0],y0:a,y:l[v][p][1]*h})}}function i(t){for(var e,i=t[Tr],n=t[0][Tr],r=[],a=[],o=0,s={},l=0;n>l;++l){for(var u=0,e=0;i>u;++u)e+=t[u][l][1];e>o&&(o=e),r.push(e)}for(var c=0;n>c;++c)a[c]=(o-r[c])/2;o=0;for(var h=0;n>h;++h){var d=r[h]+a[h];d>o&&(o=d)}return s.y0=a,s.max=o,s}var n=t(oa),r=t(ge);return function(t){t[ra]("themeRiver",function(t){var i=t[na](),n=t[Sr],a={},o=n[Pn]();a.rect=o;var s=t.get(Vi),l=n[Wi]();if(a[Vi]=s,l[A]===le){s[0]=r[li](s[0],o[Wr]),s[1]=r[li](s[1],o[Wr]);var u=o[Wr]-s[0]-s[1];e(i,t,u)}else{s[0]=r[li](s[0],o.width),s[1]=r[li](s[1],o.width);var c=o.width-s[0]-s[1];e(i,t,c)}i[ai]("layoutInfo",a)})}}),e("echarts/chart/themeRiver/themeRiverVisual",[sa],function(){return function(t){t[ra]("themeRiver",function(t){var e=t[na](),i=t.getRawData(),n=t.get("color");e.each(function(r){var a=e[Ie](r),o=n[(t.nameMap[a]-1)%n[Tr]];i[He](r,"color",o)})})}}),e(Qr,[],function(){function t(t){var e={},i={},n=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);return n&&(i.firefox=!0,i.version=n[1]),r&&(i.ie=!0,i.version=r[1]),a&&(i.edge=!0,i.version=a[1]),o&&(i.weChat=!0),{browser:i,os:e,node:!1,canvasSupported:document[tn](qr)[Qi]?!0:!1,touchEventsSupported:"ontouchstart"in window&&!i.ie&&!i.edge,pointerEventsSupported:"onpointerdown"in window&&(i.edge||i.ie&&i.version>=11)}}var e={};return e=typeof navigator===U?{browser:{},os:{},node:!0,canvasSupported:!0}:t(navigator.userAgent)}),e("echarts/ExtensionAPI",[sa,oa],function(t){function e(t,e){i.each(n,function(e){this[e]=i.bind(t[e],t)},this),this.getCoordinateSystems=i.bind(e.getCoordinateSystems,e)}var i=t(oa),n=["getDom","getZr",Or,Vr,"getDevicePixelRatio",sr,"isDisposed","on","off","getDataURL","getConnectedDataURL",Er,"getOption","getViewOfComponentModel","getViewOfSeriesModel"];return e}),e("echarts/model/Global",[sa,oa,"../util/model","./Model","./Component","./globalDefault","./mixin/colorPalette"],function(t){function e(t,e){l.each(e,function(e,i){m.hasClass(i)||("object"==typeof e?t[i]=t[i]?l.merge(t[i],e,!1):l.clone(e):null==t[i]&&(t[i]=e))})}function i(t){t=t,this[fn]={},this[fn][x]=1,this._componentsMap={series:[]},this._seriesIndices=null,e(t,this._theme[fn]),l.merge(t,y,!1),this[hn](t)}function n(t,e){l[Gn](e)||(e=e?[e]:[]);var i={};return h(e,function(e){i[e]=(t[e]||[]).slice()}),i}function r(t,e,i){var n=e.type?e.type:i?i.subType:m.determineSubType(t,e);return n}function a(t){return f(t,function(t){return t[Ni]})||[]}function o(t,e){return e.hasOwnProperty("subType")?d(t,function(t){return t.subType===e.subType}):t}function s(t){}var l=t(oa),u=t("../util/model"),c=t("./Model"),h=l.each,d=l[kn],f=l.map,p=l[Gn],v=l[Ar],g=l[Br],m=t("./Component"),y=t("./globalDefault"),x="\x00_ec_inner",_=c[lr]({constructor:_,init:function(t,e,i,n){i=i||{},this[fn]=null,this._theme=new c(i),this._optionManager=n},setOption:function(t,e,i){l[Gr](!(x in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null,i)},resetOption:function(t,e){var n=!1,r=this._optionManager;if(!t||"recreate"===t){var a=r.mountOption("recreate"===t);this[fn]&&"recreate"!==t?(!e&&this.restoreData(),this[hn](a)):i.call(this,a),n=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=r.getTimelineOption(this);o&&(this[hn](o),n=!0)}if(!t||"recreate"===t||"media"===t){var s=r.getMediaOption(this,this._api);s[Tr]&&h(s,function(t){this[hn](t,n=!0)},this)}return n},mergeOption:function(t){function e(e,s){var c=u[S](t[e]),d=u.mappingToExists(o[e],c);u.makeIdAndName(d),h(d,function(t){var i=t[fn];g(i)&&(t.keyInfo[fr]=e,t.keyInfo.subType=r(e,i,t.exist))});var f=n(o,s);i[e]=[],o[e]=[],h(d,function(t,n){var r=t.exist,a=t[fn];if(l[Gr](g(a)||r,"Empty component definition"),a){var s=m.getClass(e,t.keyInfo.subType,!0);if(r&&r instanceof s)r.name=t.keyInfo.name,r[hn](a,this),r.optionUpdated(a,!1);else{var u=l[lr]({dependentModels:f,componentIndex:n},t.keyInfo);r=new s(a,this,this,u),l[lr](r,u),r.init(a,this,this,u),r.optionUpdated(null,!0)}}else r[hn]({},this),r.optionUpdated({},!1);o[e][n]=r,i[e][n]=r[fn]},this),e===cr&&(this._seriesIndices=a(o[cr]))}var i=this[fn],o=this._componentsMap,s=[];h(t,function(t,e){null!=t&&(m.hasClass(e)?s.push(e):i[e]=null==i[e]?l.clone(t):l.merge(i[e],t,!0))}),m.topologicalTravel(s,m.getAllClassMainTypes(),e,this),this._seriesIndices=this._seriesIndices||[]},getOption:function(){var t=l.clone(this[fn]);return h(t,function(e,i){if(m.hasClass(i)){for(var e=u[S](e),n=e[Tr]-1;n>=0;n--)u.isIdInner(e[n])&&e[er](n,1);t[i]=e}}),delete t[x],t},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[fr];if(!e)return[];var i=t.index,n=t.id,r=t.name,a=this._componentsMap[e];if(!a||!a[Tr])return[];var s;if(null!=i)p(i)||(i=[i]),s=d(f(i,function(t){return a[t]}),function(t){return!!t});else if(null!=n){var l=p(n);s=d(a,function(t){return l&&v(n,t.id)>=0||!l&&t.id===n})}else if(null!=r){var u=p(r);s=d(a,function(t){return u&&v(r,t.name)>=0||!u&&t.name===r})}else s=a.slice();return o(s,t)},findComponents:function(t){function e(t){var e=r+"Index",i=r+"Id",n=r+"Name";return!t||null==t[e]&&null==t[i]&&null==t[n]?null:{mainType:r,index:t[e],id:t[i],name:t[n]}}function i(e){return t[kn]?d(e,t[kn]):e}var n=t.query,r=t[fr],a=e(n),s=a?this[C](a):this._componentsMap[r];return i(o(s,t))},eachComponent:function(t,e,i){var n=this._componentsMap;if(typeof t===Bn)i=e,e=t,h(n,function(t,n){h(t,function(t,r){e.call(i,n,t,r)})});else if(l[Dn](t))h(n[t],e,i);else if(g(t)){var r=this.findComponents(t);h(r,e,i)}},getSeriesByName:function(t){var e=this._componentsMap[cr];return d(e,function(e){return e.name===t})},getSeriesByIndex:function(t){return this._componentsMap[cr][t]},getSeriesByType:function(t){var e=this._componentsMap[cr];return d(e,function(e){return e.subType===t})},getSeries:function(){return this._componentsMap[cr].slice()},eachSeries:function(t,e){s(this),h(this._seriesIndices,function(i){var n=this._componentsMap[cr][i];t.call(e,n,i)},this)},eachRawSeries:function(t,e){h(this._componentsMap[cr],t,e)},eachSeriesByType:function(t,e,i){s(this),h(this._seriesIndices,function(n){var r=this._componentsMap[cr][n];r.subType===t&&e.call(i,r,n)},this)},eachRawSeriesByType:function(t,e,i){return h(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return s(this),l[Ar](this._seriesIndices,t[Ni])<0},filterSeries:function(t,e){s(this);var i=d(this._componentsMap[cr],t,e);this._seriesIndices=a(i)},restoreData:function(){var t=this._componentsMap;this._seriesIndices=a(t[cr]);var e=[];h(t,function(t,i){e.push(i)}),m.topologicalTravel(e,m.getAllClassMainTypes(),function(e){h(t[e],function(t){t.restoreData()})})}});return l.mixin(_,t("./mixin/colorPalette")),_}),e("echarts/CoordinateSystem",[sa,oa],function(t){function e(){this._coordinateSystems=[]}var i=t(oa),n={};return e[jr]={constructor:e,create:function(t,e){var r=[];i.each(n,function(i){var n=i[xr](t,e);r=r[hr](n||[])}),this._coordinateSystems=r},update:function(t,e){i.each(this._coordinateSystems,function(i){i[yr]&&i[yr](t,e)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},e[En]=function(t,e){n[t]=e},e.get=function(t){return n[t]},e}),e("echarts/model/OptionManager",[sa,oa,"../util/model","./Component"],function(t){function e(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function i(t,e,i){var n,r,a=[],o=[],l=t.timeline;if(t.baseOption&&(r=t.baseOption),(l||t.options)&&(r=r||{},a=(t.options||[]).slice()),t.media){r=r||{};var u=t.media;c(u,function(t){t&&t[fn]&&(t.query?o.push(t):n||(n=t))})}return r||(r=t),r.timeline||(r.timeline=l),c([r][hr](a)[hr](s.map(o,function(t){return t[fn]})),function(t){c(e,function(e){e(t,i)})}),{baseOption:r,timelineOptions:a,mediaDefault:n,mediaList:o}}function n(t,e,i){var n={width:e,height:i,aspectratio:e/i},a=!0;return s.each(t,function(t,e){var i=e.match(p);if(i&&i[1]&&i[2]){var o=i[1],s=i[2][Xr]();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(",")}function o(t,e){e=e||{},c(e,function(e,i){if(null!=e){var n=t[i];if(u.hasClass(i)){e=l[S](e),n=l[S](n);var r=l.mappingToExists(n,e);t[i]=d(r,function(t){return t[fn]&&t.exist?f(t.exist,t[fn],!0):t.exist||t[fn]})}else t[i]=f(n,e,!0)}})}var s=t(oa),l=t("../util/model"),u=t("./Component"),c=s.each,h=s.clone,d=s.map,f=s.merge,p=/^(min|max)?(.+)$/;return e[jr]={constructor:e,setOption:function(t,e){t=h(t,!0);var n=this._optionBackup,r=i.call(this,t,e,!n);this._newBaseOption=r.baseOption,n?(o(n.baseOption,r.baseOption),r.timelineOptions[Tr]&&(n.timelineOptions=r.timelineOptions),r.mediaList[Tr]&&(n.mediaList=r.mediaList),r.mediaDefault&&(n.mediaDefault=r.mediaDefault)):this._optionBackup=r},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=d(e.timelineOptions,h),this._mediaList=d(e.mediaList,h),this._mediaDefault=h(e.mediaDefault),this._currentMediaIndices=[],h(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,i=this._timelineOptions;if(i[Tr]){var n=t[X]("timeline");n&&(e=h(i[n.getCurrentIndex()],!0))}return e},getMediaOption:function(){var t=this._api[Or](),e=this._api[Vr](),i=this._mediaList,r=this._mediaDefault,o=[],s=[];if(!i[Tr]&&!r)return s;for(var l=0,u=i[Tr];u>l;l++)n(i[l].query,t,e)&&o.push(l);return!o[Tr]&&r&&(o=[-1]),o[Tr]&&!a(o,this._currentMediaIndices)&&(s=d(o,function(t){return h(-1===t?r[fn]:i[t][fn])})),this._currentMediaIndices=o,s}},e}),e("echarts/model/Component",[sa,"./Model",oa,"../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[jr].dependencies||[])}),n.map(e,function(t){return o.parseClassType(t).main})}var i=t("./Model"),n=t(oa),r=Array[jr].push,a=t("../util/component"),o=t("../util/clazz"),s=t("../util/layout"),l=i[lr]({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,e,n,r){i.call(this,t,e,n,r),this.uid=a.getUID("componentModel")},init:function(t,e,i){this[q](t,i)},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,r=i?s.getLayoutParams(t):{},a=e.getTheme();n.merge(t,a.get(this[fr])),n.merge(t,this.getDefaultOption()),i&&s.mergeLayoutParam(t,r,i)},mergeOption:function(t){n.merge(this[fn],t,!0);var e=this.layoutMode;e&&s.mergeLayoutParam(this[fn],t,e)},optionUpdated:function(){},getDefaultOption:function(){if(!o.hasOwn(this,"__defaultOption")){for(var t=[],e=this.constructor;e;){var i=e[jr].defaultOption;i&&t.push(i),e=e.superClass}for(var r={},a=t[Tr]-1;a>=0;a--)r=n.merge(r,t[a],!0);o.set(this,"__defaultOption",r)}return o.get(this,"__defaultOption")},getReferringComponents:function(t){return this[M][C]({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});return o.enableClassManagement(l,{registerWhenExtend:!0}),a.enableSubTypeDefaulter(l),a.enableTopologicalTravel(l,e),n.mixin(l,t("./mixin/boxLayout")),l}),e("echarts/model/Series",[sa,oa,"../util/format","../util/clazz","../util/model","./Component","./mixin/colorPalette",Qr,"../util/layout"],function(t){var e=t(oa),i=t("../util/format"),n=t("../util/clazz"),r=t("../util/model"),a=t("./Component"),o=t("./mixin/colorPalette"),s=t(Qr),l=t("../util/layout"),u=n.set,c=n.get,h=i[fe],d=i[de],f=a[lr]({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.normal.color",layoutMode:null,init:function(t,e,i){this[jn]=this[Ni],this[q](t,i);var n=this.getInitialData(t,i);u(this,"dataBeforeProcessed",n),this.restoreData()},mergeDefaultAndTheme:function(t,i){var n=this.layoutMode,a=n?l.getLayoutParams(t):{};e.merge(t,i.getTheme().get(this.subType)),e.merge(t,this.getDefaultOption()),r[ze](t.label,r.LABEL_OPTIONS),this.fillDataTextStyle(t.data),n&&l.mergeLayoutParam(t,a,n)},mergeOption:function(t,i){t=e.merge(this[fn],t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&l.mergeLayoutParam(this[fn],t,n);var r=this.getInitialData(t,i);r&&(u(this,"data",r),u(this,"dataBeforeProcessed",r.cloneShallow()))},fillDataTextStyle:function(t){if(t)for(var e=0;e<t[Tr];e++)t[e]&&t[e].label&&r[ze](t[e].label,r.LABEL_OPTIONS)},getInitialData:function(){},getData:function(t){var e=c(this,"data");return null==t?e:e.getLinkedData(t)},setData:function(t){u(this,"data",t)},getRawData:function(){return c(this,"dataBeforeProcessed")},coordDimToDataDim:function(t){return[t]},dataDimToCoordDim:function(t){return t},getBaseAxis:function(){var t=this[Sr];return t&&t[ki]&&t[ki]()},formatTooltip:function(t,n){function r(t){var r=[];return e.each(t,function(t,e){var o,s=a.getDimensionInfo(e),l=s&&s.type;o=l===Ue?t+"":"time"===l?n?"":i.formatTime("yyyy/MM/dd hh:mm:ss",t):d(t),o&&r.push(o)}),r.join(", ")}var a=c(this,"data"),o=this[Fe](t),s=h(e[Gn](o)?r(o):d(o)),l=a[Ie](t),u=a[_r](t,"color");e[Br](u)&&u[gr]&&(u=(u[gr][0]||{}).color),u=u||mr;var f='<span style="display:inline-block;margin-right:5px;border-radius:10px;width:9px;height:9px;background-color:'+h(u)+'"></span>',p=this.name;return"\x00-"===p&&(p=""),n?f+h(this.name)+" : "+s:(p&&h(p)+"<br />")+f+(l?h(l)+" : "+s:s)},isAnimationEnabled:function(){if(s.node)return!1;var t=this[Ge](Fr);return t&&this[na]().count()>this[Ge]("animationThreshold")&&(t=!1),t},restoreData:function(){u(this,"data",c(this,"dataBeforeProcessed").cloneShallow())},getColorFromPalette:function(t,e){var i=this[M],n=o.getColorFromPalette.call(this,t,e);return n||(n=i.getColorFromPalette(t,e)),n},getAxisTooltipData:null,getTooltipPosition:null});return e.mixin(f,r.dataFormatMixin),e.mixin(f,o),f}),e("echarts/view/Component",[sa,"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[jr]={constructor:r,init:function(){},render:function(){},dispose:function(){}};var a=r[jr];return a.updateView=a[pr]=a.updateVisual=function(){},n.enableClassExtend(r),n.enableClassManagement(r,{registerWhenExtend:!0}),r}),e("echarts/view/Chart",[sa,"zrender/container/Group","../util/component","../util/clazz","../util/model",oa],function(t){function e(){this.group=new r,this.uid=a.getUID("viewChart")}function i(t,e){if(t&&(t[nr](e),"group"===t.type))for(var n=0;n<t.childCount();n++)i(t[Ce](n),e)}function n(t,e,n){var r=s.queryDataIndex(t,e);null!=r?l.each(s[S](r),function(e){i(t[yi](e),n)}):t[gi](function(t){i(t,n)})}var r=t("zrender/container/Group"),a=t("../util/component"),o=t("../util/clazz"),s=t("../util/model"),l=t(oa);e[jr]={type:"chart",init:function(){},render:function(){},highlight:function(t,e,i,r){n(t[na](),r,ke)},downplay:function(t,e,i,r){n(t[na](),r,Mi)},remove:function(){this.group[Ln]()},dispose:function(){}};var u=e[jr];return u.updateView=u[pr]=u.updateVisual=function(t,e,i,n){this[dr](t,e,i,n)},o.enableClassExtend(e,[ir]),o.enableClassManagement(e,{registerWhenExtend:!0}),e}),e("echarts/util/graphic",[sa,oa,"zrender/tool/path","zrender/graphic/Path",Jr,Kr,$r,"zrender/container/Group","zrender/graphic/Image","zrender/graphic/Text","zrender/graphic/shape/Circle","zrender/graphic/shape/Sector","zrender/graphic/shape/Ring","zrender/graphic/shape/Polygon","zrender/graphic/shape/Polyline","zrender/graphic/shape/Rect","zrender/graphic/shape/Line","zrender/graphic/shape/BezierCurve","zrender/graphic/shape/Arc","zrender/graphic/CompoundPath","zrender/graphic/LinearGradient","zrender/graphic/RadialGradient",K],function(t){function e(t){return null!=t&&"none"!=t}function i(t){return typeof t===Ur?y.lift(t,-.1):t}function n(t){if(t.__hoverStlDirty){var n=t.style[ce],r=t.style.fill,a=t.__hoverStl;a.fill=a.fill||(e(r)?i(r):null),a[ce]=a[ce]||(e(n)?i(n):null);var o={};for(var s in a)a.hasOwnProperty(s)&&(o[s]=t.style[s]);t.__normalStl=o,t.__hoverStlDirty=!1}}function r(t){t.__isHover||(n(t),t.useHoverLayer?t.__zr&&t.__zr.addHover(t,t.__hoverStl):(t[Zn](t.__hoverStl),t.z2+=1),t.__isHover=!0)}function a(t){if(t.__isHover){var e=t.__normalStl;t.useHoverLayer?t.__zr&&t.__zr.removeHover(t):(e&&t[Zn](e),t.z2-=1),t.__isHover=!1}}function o(t){"group"===t.type?t[Wn](function(t){"group"!==t.type&&r(t)}):r(t)}function s(t){"group"===t.type?t[Wn](function(t){"group"!==t.type&&a(t)}):a(t)}function l(t,e){t.__hoverStl=t[Te]||e||{},t.__hoverStlDirty=!0,t.__isHover&&n(t)}function u(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasis&&o(this)}function c(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasis&&s(this)}function h(){this.__isEmphasis=!0,o(this)}function d(){this.__isEmphasis=!1,s(this)}function f(t,e,i,n,r,a){typeof r===Bn&&(a=r,r=null);var o=n&&n[wi]();if(o){var s=t?"Update":"",l=n[Ge]("animationDuration"+s),u=n[Ge]("animationEasing"+s),c=n[Ge]("animationDelay"+s);typeof c===Bn&&(c=c(r,n.getAnimationDelayParams?n.getAnimationDelayParams(e,r):null)),typeof l===Bn&&(l=l(r)),l>0?e[Se](i,l,c||0,u,a):(e.attr(i),a&&a())}else e.attr(i),a&&a()}var p=t(oa),v=t("zrender/tool/path"),g=Math.round,m=t("zrender/graphic/Path"),y=t(Jr),x=t(Kr),_=t($r),M={};return M.Group=t("zrender/container/Group"),M.Image=t("zrender/graphic/Image"),M.Text=t("zrender/graphic/Text"),M[j]=t("zrender/graphic/shape/Circle"),M.Sector=t("zrender/graphic/shape/Sector"),M.Ring=t("zrender/graphic/shape/Ring"),M[je]=t("zrender/graphic/shape/Polygon"),M[Xe]=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.CompoundPath=t("zrender/graphic/CompoundPath"),M.LinearGradient=t("zrender/graphic/LinearGradient"),M.RadialGradient=t("zrender/graphic/RadialGradient"),M.BoundingRect=t(K),M[I]=function(t){return m[lr](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[wn]();if(i){var o=a.width/a[Wr];if(n===mn){var s,l=i[Wr]*o;l<=i.width?s=i[Wr]:(l=i.width,s=l/o);var u=i.x+i.width/2,c=i.y+i[Wr]/2;i.x=u-l/2,i.y=c-s/2,i.width=l,i[Wr]=s}M.resizePath(r,i)}return r},M.mergePath=v.mergePath,M.resizePath=function(t,e){if(t[ee]){var i=t[wn](),n=i.calculateTransform(e);
  t[ee](n)}},M.subPixelOptimizeLine=function(t){var e=M.subPixelOptimize,i=t.shape,n=t.style[w];return g(2*i.x1)===g(2*i.x2)&&(i.x1=i.x2=e(i.x1,n,!0)),g(2*i.y1)===g(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[w],r=i.x,a=i.y,o=i.width,s=i[Wr];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[Wr]=Math.max(e(a+s,n,!1)-i.y,0===s?0:1),t},M.subPixelOptimize=function(t,e,i){var n=g(2*t);return(n+g(e))%2===0?n/2:(n+(i?1:-1))/2},M[ui]=function(t,e,i){t.__hoverSilentOnTouch=i&&i.hoverSilentOnTouch,"group"===t.type?t[Wn](function(t){"group"!==t.type&&l(t,e)}):l(t,e),t.on(tr,u).on(Qn,c),t.on(ke,h).on(Mi,d)},M[ae]=function(t,e,i){var n=e[Ge](gn)||Le,r=e[Ge](oi),a=n[Ar](Le)>=0?"white":i,o=e[Er](Tn);p[lr](t,{textDistance:e[Ge]("distance")||5,textFont:o[Sn](),textPosition:n,textOffset:r,textFill:o[Mn]()||a})},M[mi]=function(t,e,i,n,r){f(!0,t,e,i,n,r)},M[vi]=function(t,e,i,n,r){f(!1,t,e,i,n,r)},M.getTransform=function(t,e){for(var i=x.identity([]);t&&t!==e;)x.mul(i,t[b](),i),t=t[un];return i},M[ee]=function(t,e,i){return i&&(e=x.invert([],e)),_[ee]([],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===Cr?r:0];return a=M[ee](a,e,i),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?Cr:"top"},M.groupTransition=function(t,e,i){function n(t){var e={};return t[Wn](function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)}),e}function r(t){var e={position:_.clone(t[gn]),rotation:t[Me]};return t.shape&&(e.shape=p[lr]({},t.shape)),e}if(t&&e){var a=n(t);e[Wn](function(t){if(!t.isGroup&&t.anid){var e=a[t.anid];if(e){var n=r(t);t.attr(r(e)),M[mi](t,n,i,t[br])}}})}},M}),e("echarts/util/model",[sa,"./format","./number","../model/Model",oa],function(t){function e(t,e){return t&&t.hasOwnProperty(e)}var i=t("./format"),n=t("./number"),r=t("../model/Model"),a=t(oa),o=a.each,s=a[Br],l={};return l[S]=function(t){return t instanceof Array?t:null==t?[]:[t]},l[ze]=function(t,e){if(t){var i=t[ke]=t[ke]||{},n=t[Mi]=t[Mi]||{};o(e,function(t){var e=a[Di](i[t],n[t]);null!=e&&(i[t]=e)})}},l.LABEL_OPTIONS=[gn,oi,"show",Tn,"distance",z],l.getDataItemValue=function(t){return t&&(null==t.value?t:t.value)},l.isDataItemOption=function(t){return s(t)&&!(t instanceof Array)},l.converDataValue=function(t,e){var i=e&&e.type;return i===Ue?t:("time"===i&&typeof t!==zn&&null!=t&&"-"!==t&&(t=+n.parseDate(t)),null==t||""===t?0/0:+t)},l.createDataFormatModel=function(t,e){var i=new r;return a.mixin(i,l.dataFormatMixin),i[jn]=e[jn],i.name=e.name||"",i[fr]=e[fr],i.subType=e.subType,i[na]=function(){return t},i},l.dataFormatMixin={getDataParams:function(t,e){var i=this[na](e),n=this[Fe](t,e),r=i[ye](t),a=i[Ie](t,!0),o=i.getRawDataItem(t);return{componentType:this[fr],componentSubType:this.subType,seriesType:this[fr]===cr?this.subType:null,seriesIndex:this[jn],seriesId:this.id,seriesName:this.name,name:a,dataIndex:r,data:o,dataType:e,value:n,color:i[_r](t,"color"),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,n,r){e=e||Mi;var a=this[na](n),o=a[_i](t),s=this[Un](t,n);null!=r&&s.value instanceof Array&&(s.value=s.value[r]);var l=o.get(["label",e,z]);return typeof l===Bn?(s.status=e,l(s)):typeof l===Ur?i.formatTpl(l,s):void 0},getRawValue:function(t,e){var i=this[na](e),n=i.getRawDataItem(t);return null!=n?!s(n)||n instanceof Array?n:n.value:void 0},formatTooltip:a.noop},l.mappingToExists=function(t,e){e=(e||[]).slice();var i=a.map(t||[],function(t){return{exist:t}});return o(e,function(t,n){if(s(t)){for(var r=0;r<i[Tr];r++)if(!i[r][fn]&&null!=t.id&&i[r].exist.id===t.id+"")return i[r][fn]=t,void(e[n]=null);for(var r=0;r<i[Tr];r++){var a=i[r].exist;if(!(i[r][fn]||null!=a.id&&null!=t.id||null==t.name||l.isIdInner(t)||l.isIdInner(a)||a.name!==t.name+""))return i[r][fn]=t,void(e[n]=null)}}}),o(e,function(t){if(s(t)){for(var e=0;e<i[Tr];e++){var n=i[e].exist;if(!i[e][fn]&&!l.isIdInner(n)&&null==t.id){i[e][fn]=t;break}}e>=i[Tr]&&i.push({option:t})}}),i},l.makeIdAndName=function(t){var e={};o(t,function(t){var i=t.exist;i&&(e[i.id]=t)}),o(t,function(t){var i=t[fn];a[Gr](!i||null==i.id||!e[i.id]||e[i.id]===t,"id duplicates: "+(i&&i.id)),i&&null!=i.id&&(e[i.id]=t),!t.keyInfo&&(t.keyInfo={})}),o(t,function(t){var i=t.exist,n=t[fn],r=t.keyInfo;if(s(n)){if(r.name=null!=n.name?n.name+"":i?i.name:"\x00-",i)r.id=i.id;else if(null!=n.id)r.id=n.id+"";else{var a=0;do r.id="\x00"+r.name+"\x00"+a++;while(e[r.id])}e[r.id]=t}})},l.isIdInner=function(t){return s(t)&&t.id&&0===(t.id+"")[Ar]("\x00_ec_\x00")},l.compressBatches=function(t,e){function i(t,e,i){for(var n=0,r=t[Tr];r>n;n++)for(var a=t[n].seriesId,o=l[S](t[n][br]),s=i&&i[a],u=0,c=o[Tr];c>u;u++){var h=o[u];s&&s[h]?s[h]=null:(e[a]||(e[a]={}))[h]=1}}function n(t,e){var i=[];for(var r in t)if(t.hasOwnProperty(r)&&null!=t[r])if(e)i.push(+r);else{var a=n(t[r],!0);a[Tr]&&i.push({seriesId:r,dataIndex:a})}return i}var r={},a={};return i(t||[],r),i(e||[],a,r),[n(r),n(a)]},l.queryDataIndex=function(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e[br]?a[Gn](e[br])?a.map(e[br],function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e[br]):null!=e.name?a[Gn](e.name)?a.map(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0},l.makeGetter=function(){var t=0;return function(){var e="\x00__ec_prop_getter_"+t++;return function(t){return t[e]||(t[e]={})}}}(),l.parseFinder=function(t,i,n){if(a[Dn](i)){var r={};r[i+"Index"]=0,i=r}var s=n&&n.defaultMainType;!s||e(i,s+"Index")||e(i,s+"Id")||e(i,s+"Name")||(i[s+"Index"]=0);var l={};return o(i,function(e,r){var e=i[r];if(r===br||"dataIndexInside"===r)return void(l[r]=e);var o=r.match(/^(\w+)(Index|Id|Name)$/)||[],s=o[1],u=(o[2]||"")[Xr]();if(!(!s||!u||null==e||"index"===u&&"none"===e||n&&n.includeMainTypes&&a[Ar](n.includeMainTypes,s)<0)){var c={mainType:s};("index"!==u||"all"!==e)&&(c[u]=e);var h=t[C](c);l[s+"Models"]=h,l[s+"Model"]=h[0]}}),l},l}),e("echarts/util/throttle",[],function(){var t={},e="\x00__throttleOriginMethod",i="\x00__throttleRate",n="\x00__throttleType";return t.throttle=function(t,e,i){function n(){u=(new Date).getTime(),c=null,t.apply(o,s||[])}var r,a,o,s,l=0,u=0,c=null;e=e||0;var h=function(){r=(new Date).getTime(),o=this,s=arguments,a=r-(i?l:u)-e,clearTimeout(c),i?c=setTimeout(n,e):a>=0?n():c=setTimeout(n,-a),l=r};return h.clear=function(){c&&(clearTimeout(c),c=null)},h},t.createOrUpdate=function(r,a,o,s){var l=r[a];if(l){var u=l[e]||l,c=l[n],h=l[i];if(h!==o||c!==s){if(null==o||!s)return r[a]=u;l=r[a]=t.throttle(u,o,"debounce"===s),l[e]=u,l[n]=s,l[i]=o}return l}},t.clear=function(t,i){var n=t[i];n&&n[e]&&(t[i]=n[e])},t}),e("zrender/zrender",[sa,"./core/guid","./core/env","./core/util","./Handler","./Storage","./animation/Animation","./dom/HandlerProxy","./Painter"],function(t){function e(t){delete h[t]}var i=t("./core/guid"),n=t("./core/env"),r=t("./core/util"),a=t("./Handler"),o=t("./Storage"),s=t("./animation/Animation"),l=t("./dom/HandlerProxy"),u=!n[zr],c={canvas:t("./Painter")},h={},d={};d.version="3.4.1",d.init=function(t,e){var n=new f(i(),t,e);return h[n.id]=n,n},d[ir]=function(t){if(t)t[ir]();else{for(var e in h)h.hasOwnProperty(e)&&h[e][ir]();h={}}return d},d.getInstance=function(t){return h[t]},d.registerPainter=function(t,e){c[t]=e};var f=function(t,e,i){i=i||{},this.dom=e,this.id=t;var h=this,d=new o,f=i.renderer;if(u){if(!c.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");f="vml"}else f&&c[f]||(f=qr);var p=new c[f](e,d,i);this[Ir]=d,this[Rr]=p;var v=n.node?null:new l(p.getViewportRoot());this.handler=new a(d,p,v,p.root),this[Fr]=new s({stage:{update:r.bind(this.flush,this)}}),this[Fr].start(),this._needsRefresh;var g=d.delFromMap,m=d.addToMap;d.delFromMap=function(t){var e=d.get(t);g.call(d,t),e&&e.removeSelfFromZr(h)},d.addToMap=function(t){m.call(d,t),t.addSelfToZr(h)}};return f[jr]={constructor:f,getId:function(){return this.id},add:function(t){this[Ir].addRoot(t),this._needsRefresh=!0},remove:function(t){this[Ir].delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this[Rr].configLayer(t,e),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this[Rr].refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},flush:function(){this._needsRefresh&&this.refreshImmediately(),this._needsRefreshHover&&this.refreshHoverImmediately()},addHover:function(t,e){this[Rr].addHover&&(this[Rr].addHover(t,e),this.refreshHover())},removeHover:function(t){this[Rr].removeHover&&(this[Rr].removeHover(t),this.refreshHover())},clearHover:function(){this[Rr].clearHover&&(this[Rr].clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this[Rr].refreshHover&&this[Rr].refreshHover()},resize:function(t){t=t||{},this[Rr][Zr](t.width,t[Wr]),this.handler[Zr]()},clearAnimation:function(){this[Fr].clear()},getWidth:function(){return this[Rr][Or]()},getHeight:function(){return this[Rr][Vr]()},pathToImage:function(t,e){return this[Rr].pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},on:function(t,e,i){this.handler.on(t,e,i)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler[nr](t,e)},clear:function(){this[Ir].delRoot(),this[Rr].clear()},dispose:function(){this[Fr].stop(),this.clear(),this[Ir][ir](),this[Rr][ir](),this.handler[ir](),this[Fr]=this[Ir]=this[Rr]=this.handler=null,e(this.id)}},d}),e(Jr,[sa,"../core/LRU"],function(t){function e(t){return t=Math.round(t),0>t?0:t>255?255:t}function i(t){return t=Math.round(t),0>t?0:t>360?360:t}function n(t){return 0>t?0:t>1?1:t}function r(t){return e(t[Tr]&&"%"===t.charAt(t[Tr]-1)?parseFloat(t)/100*255:parseInt(t,10))}function a(t){return n(t[Tr]&&"%"===t.charAt(t[Tr]-1)?parseFloat(t)/100:parseFloat(t))}function o(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 s(t,e,i){return t+(e-t)*i}function l(t,e,i,n,r){return t[0]=e,t[1]=i,t[2]=n,t[3]=r,t}function u(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function c(t,e){S&&u(S,e),S=M.put(t,S||e.slice())}function h(t,e){if(t){e=e||[];var i=M.get(t);if(i)return u(e,i);t+="";var n=t[Hn](/ /g,"")[Xr]();if(n in w)return u(e,w[n]),c(t,e),e;if("#"!==n.charAt(0)){var o=n[Ar]("("),s=n[Ar](")");if(-1!==o&&s+1===n[Tr]){var h=n.substr(0,o),f=n.substr(o+1,s-(o+1)).split(","),p=1;switch(h){case"rgba":if(4!==f[Tr])return void l(e,0,0,0,1);p=a(f.pop());case"rgb":return 3!==f[Tr]?void l(e,0,0,0,1):(l(e,r(f[0]),r(f[1]),r(f[2]),p),c(t,e),e);case"hsla":return 4!==f[Tr]?void l(e,0,0,0,1):(f[3]=a(f[3]),d(f,e),c(t,e),e);case"hsl":return 3!==f[Tr]?void l(e,0,0,0,1):(d(f,e),c(t,e),e);default:return}}l(e,0,0,0,1)}else{if(4===n[Tr]){var v=parseInt(n.substr(1),16);return v>=0&&4095>=v?(l(e,(3840&v)>>4|(3840&v)>>8,240&v|(240&v)>>4,15&v|(15&v)<<4,1),c(t,e),e):void l(e,0,0,0,1)}if(7===n[Tr]){var v=parseInt(n.substr(1),16);return v>=0&&16777215>=v?(l(e,(16711680&v)>>16,(65280&v)>>8,255&v,1),c(t,e),e):void l(e,0,0,0,1)}}}}function d(t,i){var n=(parseFloat(t[0])%360+360)%360/360,r=a(t[1]),s=a(t[2]),u=.5>=s?s*(r+1):s+r-s*r,c=2*s-u;return i=i||[],l(i,e(255*o(c,u,n+1/3)),e(255*o(c,u,n)),e(255*o(c,u,n-1/3)),1),4===t[Tr]&&(i[3]=t[3]),i}function f(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,u=(s+o)/2;if(0===l)e=0,i=0;else{i=.5>u?l/(s+o):l/(2-s-o);var c=((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+c-d:a===s&&(e=2/3+h-c),0>e&&(e+=1),e>1&&(e-=1)}var f=[360*e,i,u];return null!=t[3]&&f.push(t[3]),f}}function p(t,e){var i=h(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 _(i,4===i[Tr]?"rgba":"rgb")}}function v(t){var e=h(t);return e?((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1):void 0}function g(t,i,r){if(r=r||[0,0,0,0],!i||!i[Tr]||!(t>=0&&1>=t))return r;var a=t*(i[Tr]-1),o=Math.floor(a),l=Math.ceil(a),u=i[o],c=i[l],h=a-o;return r[0]=e(s(u[0],c[0],h)),r[1]=e(s(u[1],c[1],h)),r[2]=e(s(u[2],c[2],h)),r[3]=n(s(u[3],c[3],h)),r}function m(t,i,r){if(i&&i[Tr]&&t>=0&&1>=t){var a=t*(i[Tr]-1),o=Math.floor(a),l=Math.ceil(a),u=h(i[o]),c=h(i[l]),d=a-o,f=_([e(s(u[0],c[0],d)),e(s(u[1],c[1],d)),e(s(u[2],c[2],d)),n(s(u[3],c[3],d))],"rgba");return r?{color:f,leftIndex:o,rightIndex:l,value:a}:f}}function y(t,e,n,r){return t=h(t),t?(t=f(t),null!=e&&(t[0]=i(e)),null!=n&&(t[1]=a(n)),null!=r&&(t[2]=a(r)),_(d(t),"rgba")):void 0}function x(t,e){return t=h(t),t&&null!=e?(t[3]=n(e),_(t,"rgba")):void 0}function _(t,e){if(t){var i=t[0]+","+t[1]+","+t[2];return("rgba"===e||"hsva"===e||"hsla"===e)&&(i+=","+t[3]),e+"("+i+")"}}var b=t("../core/LRU"),w={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]},M=new b(20),S=null;return{parse:h,lift:p,toHex:v,fastMapToColor:g,mapToColor:m,modifyHSL:y,modifyAlpha:x,stringify:_}}),e("zrender/mixin/Eventful",[sa],function(){var t=Array[jr].slice,e=function(){this._$handlers={}};return e[jr]={constructor:e,one:function(t,e,i){var n=this._$handlers;if(!e||!t)return this;n[t]||(n[t]=[]);for(var r=0;r<n[t][Tr];r++)if(n[t][r].h===e)return this;return n[t].push({h:e,one:!0,ctx:i||this}),this},on:function(t,e,i){var n=this._$handlers;if(!e||!t)return this;n[t]||(n[t]=[]);for(var r=0;r<n[t][Tr];r++)if(n[t][r].h===e)return this;return n[t].push({h:e,one:!1,ctx:i||this}),this},isSilent:function(t){var e=this._$handlers;return e[t]&&e[t][Tr]},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][Tr];a>r;r++)i[t][r].h!=e&&n.push(i[t][r]);i[t]=n}i[t]&&0===i[t][Tr]&&delete i[t]}else delete i[t];return this},trigger:function(e){if(this._$handlers[e]){var i=arguments,n=i[Tr];n>3&&(i=t.call(i,1));for(var r=this._$handlers[e],a=r[Tr],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[er](o,1),a--):o++}}return this},triggerWithContext:function(e){if(this._$handlers[e]){var i=arguments,n=i[Tr];n>4&&(i=t.call(i,1,i[Tr]-1));for(var r=i[i[Tr]-1],a=this._$handlers[e],o=a[Tr],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[er](s,1),o--):s++}}return this}},e}),e("zrender/core/timsort",[],function(){function t(t){for(var e=0;t>=l;)e|=1&t,t>>=1;return t+e}function e(t,e,n,r){var a=e+1;if(a===n)return 1;if(r(t[a++],t[e])<0){for(;n>a&&r(t[a],t[a-1])<0;)a++;i(t,e,a)}else for(;n>a&&r(t[a],t[a-1])>=0;)a++;return a-e}function i(t,e,i){for(i--;i>e;){var n=t[e];t[e++]=t[i],t[i--]=n}}function n(t,e,i,n,r){for(n===e&&n++;i>n;n++){for(var a,o=t[n],s=e,l=n;l>s;)a=s+l>>>1,r(o,t[a])<0?l=a:s=a+1;var u=n-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=o}}function r(t,e,i,n,r,a){var o=0,s=0,l=1;if(a(t,e[i+r])>0){for(s=n-r;s>l&&a(t,e[i+r+l])>0;)o=l,l=(l<<1)+1,0>=l&&(l=s);l>s&&(l=s),o+=r,l+=r}else{for(s=r+1;s>l&&a(t,e[i+r-l])<=0;)o=l,l=(l<<1)+1,0>=l&&(l=s);l>s&&(l=s);var u=o;o=r-l,l=r-u}for(o++;l>o;){var c=o+(l-o>>>1);a(t,e[i+c])>0?o=c+1:l=c}return l}function a(t,e,i,n,r,a){var o=0,s=0,l=1;if(a(t,e[i+r])<0){for(s=r+1;s>l&&a(t,e[i+r-l])<0;)o=l,l=(l<<1)+1,0>=l&&(l=s);l>s&&(l=s);var u=o;o=r-l,l=r-u}else{for(s=n-r;s>l&&a(t,e[i+r+l])>=0;)o=l,l=(l<<1)+1,0>=l&&(l=s);l>s&&(l=s),o+=r,l+=r}for(o++;l>o;){var c=o+(l-o>>>1);a(t,e[i+c])<0?l=c:o=c+1}return l}function o(t,e){function i(t,e){d[y]=t,f[y]=e,y+=1}function n(){for(;y>1;){var t=y-2;if(t>=1&&f[t-1]<=f[t]+f[t+1]||t>=2&&f[t-2]<=f[t]+f[t-1])f[t-1]<f[t+1]&&t--;else if(f[t]>f[t+1])break;s(t)}}function o(){for(;y>1;){var t=y-2;t>0&&f[t-1]<f[t+1]&&t--,s(t)}}function s(i){var n=d[i],o=f[i],s=d[i+1],u=f[i+1];f[i]=o+u,i===y-3&&(d[i+1]=d[i+2],f[i+1]=f[i+2]),y--;var c=a(t[s],t,n,o,0,e);n+=c,o-=c,0!==o&&(u=r(t[n+o-1],t,s,u,u-1,e),0!==u&&(u>=o?l(n,o,s,u):h(n,o,s,u)))}function l(i,n,o,s){var l=0;for(l=0;n>l;l++)x[l]=t[i+l];var c=0,h=o,d=i;if(t[d++]=t[h++],0!==--s){if(1===n){for(l=0;s>l;l++)t[d+l]=t[h+l];return void(t[d+s]=x[c])}for(var f,v,g,m=p;;){f=0,v=0,g=!1;do if(e(t[h],x[c])<0){if(t[d++]=t[h++],v++,f=0,0===--s){g=!0;break}}else if(t[d++]=x[c++],f++,v=0,1===--n){g=!0;break}while(m>(f|v));if(g)break;do{if(f=a(t[h],x,c,n,0,e),0!==f){for(l=0;f>l;l++)t[d+l]=x[c+l];if(d+=f,c+=f,n-=f,1>=n){g=!0;break}}if(t[d++]=t[h++],0===--s){g=!0;break}if(v=r(x[c],t,h,s,0,e),0!==v){for(l=0;v>l;l++)t[d+l]=t[h+l];if(d+=v,h+=v,s-=v,0===s){g=!0;break}}if(t[d++]=x[c++],1===--n){g=!0;break}m--}while(f>=u||v>=u);if(g)break;0>m&&(m=0),m+=2}if(p=m,1>p&&(p=1),1===n){for(l=0;s>l;l++)t[d+l]=t[h+l];t[d+s]=x[c]}else{if(0===n)throw new Error;for(l=0;n>l;l++)t[d+l]=x[c+l]}}else for(l=0;n>l;l++)t[d+l]=x[c+l]}function h(i,n,o,s){var l=0;for(l=0;s>l;l++)x[l]=t[o+l];var c=i+n-1,h=s-1,d=o+s-1,f=0,v=0;if(t[d--]=t[c--],0!==--n){if(1===s){for(d-=n,c-=n,v=d+1,f=c+1,l=n-1;l>=0;l--)t[v+l]=t[f+l];return void(t[d]=x[h])}for(var g=p;;){var m=0,y=0,_=!1;do if(e(x[h],t[c])<0){if(t[d--]=t[c--],m++,y=0,0===--n){_=!0;break}}else if(t[d--]=x[h--],y++,m=0,1===--s){_=!0;break}while(g>(m|y));if(_)break;do{if(m=n-a(x[h],t,i,n,n-1,e),0!==m){for(d-=m,c-=m,n-=m,v=d+1,f=c+1,l=m-1;l>=0;l--)t[v+l]=t[f+l];if(0===n){_=!0;break}}if(t[d--]=x[h--],1===--s){_=!0;break}if(y=s-r(t[c],x,0,s,s-1,e),0!==y){for(d-=y,h-=y,s-=y,v=d+1,f=h+1,l=0;y>l;l++)t[v+l]=x[f+l];if(1>=s){_=!0;break}}if(t[d--]=t[c--],0===--n){_=!0;break}g--}while(m>=u||y>=u);if(_)break;0>g&&(g=0),g+=2}if(p=g,1>p&&(p=1),1===s){for(d-=n,c-=n,v=d+1,f=c+1,l=n-1;l>=0;l--)t[v+l]=t[f+l];t[d]=x[h]}else{if(0===s)throw new Error;for(f=d-(s-1),l=0;s>l;l++)t[f+l]=x[l]}}else for(f=d-(s-1),l=0;s>l;l++)t[f+l]=x[l]}var d,f,p=u,v=0,g=c,m=0,y=0;v=t[Tr],2*c>v&&(g=v>>>1);var x=[];m=120>v?5:1542>v?10:119151>v?19:40,d=[],f=[],this.mergeRuns=n,this.forceMergeRuns=o,this.pushRun=i}function s(i,r,a,s){a||(a=0),s||(s=i[Tr]);var u=s-a;if(!(2>u)){var c=0;if(l>u)return c=e(i,a,s,r),void n(i,a,s,a+c,r);var h=new o(i,r),d=t(u);do{if(c=e(i,a,s,r),d>c){var f=u;f>d&&(f=d),n(i,a,a+f,a+c,r),c=f}h.pushRun(a,c),h.mergeRuns(),u-=c,a+=c}while(0!==u);h.forceMergeRuns()}}var l=32,u=7,c=256;return s}),e("echarts/visual/seriesColor",[sa,"zrender/graphic/Gradient"],function(t){var e=t("zrender/graphic/Gradient");return function(t){function i(i){var n=(i.visualColorAccessPath||me).split("."),r=i[na](),a=i.get(n)||i.getColorFromPalette(i.get("name"));r[ia]("color",a),t.isSeriesFiltered(i)||(typeof a!==Bn||a instanceof e||r.each(function(t){r[He](t,"color",a(i[Un](t)))}),r.each(function(t){var e=r[_i](t),i=e.get(n,!0);null!=i&&r[He](t,"color",i)}))}t.eachRawSeries(i)}}),e("echarts/preprocessor/backwardCompat",[sa,oa,"./helper/compatStyle"],function(t){function e(t,e){e=e.split(",");for(var i=t,n=0;n<e[Tr]&&(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[Tr]-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){u(o,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var r=t(oa),a=t("./helper/compatStyle"),o=[["x","left"],["y","top"],["x2","right"],["y2",Cr]],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"],u=r.each;return function(t){u(t[cr],function(t){if(r[Br](t)){var o=t.type;if(a(t),("pie"===o||"gauge"===o)&&null!=t.clockWise&&(t[xe]=t.clockWise),"gauge"===o){var s=e(t,"pointer.color");null!=s&&i(t,me,s)}for(var u=0;u<l[Tr];u++)if(l[u]===t.type){n(t);break}}}),t.dataRange&&(t.visualMap=t.dataRange),u(s,function(e){var i=t[e];i&&(r[Gn](i)||(i=[i]),u(i,function(t){n(t)}))})}}),e("echarts/loading/default",[sa,"../util/graphic",oa],function(t){var e=t("../util/graphic"),i=t(oa),n=Math.PI;return function(t,r){r=r||{},i[or](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[Fn],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[Fn],z:10001}),s=new e.Rect({style:{fill:"none",text:r.text,textPosition:"right",textDistance:10,textFill:r.textColor},zlevel:r[Fn],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[Zr]=function(){var e=t[Or]()/2,i=t[Vr]()/2;o[hi]({cx:e,cy:i});var n=o.shape.r;s[hi]({x:e-n,y:i-n,width:2*n,height:2*n}),a[hi]({x:0,y:0,width:t[Or](),height:t[Vr]()})},l[Zr](),l}}),e("echarts/model/Model",[sa,oa,"../util/clazz",Qr,"./mixin/lineStyle","./mixin/areaStyle","./mixin/textStyle","./mixin/itemStyle"],function(t){function e(t,e,i){this.parentModel=e,this[M]=i,this[fn]=t}function i(t,e,i){for(var n=0;n<e[Tr]&&(!e[n]||(t=t&&"object"==typeof t?t[e[n]]:null,null!=t));n++);return null==t&&i&&(t=i.get(e)),t}function n(t,e){var i=a.get(t,"getParent");return i?i.call(t,e):t.parentModel}var r=t(oa),a=t("../util/clazz"),o=t(Qr);e[jr]={constructor:e,init:null,mergeOption:function(t){r.merge(this[fn],t,!0)},get:function(t,e){return null==t?this[fn]:i(this[fn],this.parsePath(t),!e&&n(this,t))},getShallow:function(t,e){var i=this[fn],r=null==i?i:i[t],a=!e&&n(this,t);return null==r&&a&&(r=a[Ge](t)),r},getModel:function(t,r){var a,o=null==t?this[fn]:i(this[fn],t=this.parsePath(t));return r=r||(a=n(this,t))&&a[Er](t),new e(o,r,this[M])},isEmpty:function(){return null==this[fn]},restoreData:function(){},clone:function(){var t=this.constructor;return new t(r.clone(this[fn]))},setReadOnly:function(t){a.setReadOnly(this,t)},parsePath:function(t){return typeof t===Ur&&(t=t.split(".")),t},customizeGetParent:function(t){a.set(this,"getParent",t)},isAnimationEnabled:function(){if(!o.node){if(null!=this[fn][Fr])return!!this[fn][Fr];if(this.parentModel)return this.parentModel[wi]()}}},a.enableClassExtend(e);var s=r.mixin;return s(e,t("./mixin/lineStyle")),s(e,t("./mixin/areaStyle")),s(e,t("./mixin/textStyle")),s(e,t("./mixin/itemStyle")),e}),e("echarts/coord/Axis",[sa,"../util/number",oa],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("../util/number"),n=i[ve],r=t(oa),a=[0,1],o=function(t,e,i){this.dim=t,this.scale=e,this._extent=i||[0,0],this[qi]=!1,this[Oi]=!1};return o[jr]={constructor:o,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[ln](this[Hi](t))},getExtent:function(){var t=this._extent.slice();return t},getPixelPrecision:function(t){return i.getPixelPrecision(t||this.scale[on](),this._extent)},setExtent:function(t,e){var i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,i){var r=this._extent,o=this.scale;return t=o[sn](t),this[Oi]&&o.type===Ue&&(r=r.slice(),e(r,o.count())),n(t,a,r,i)},coordToData:function(t,i){var r=this._extent,o=this.scale;this[Oi]&&o.type===Ue&&(r=r.slice(),e(r,o.count()));var s=n(t,r,a,i);return this.scale.scale(s)},pointToData:function(){},getTicksCoords:function(t){if(this[Oi]&&!t){for(var e=this.getBands(),i=[],n=0;n<e[Tr];n++)i.push(e[n][0]);return e[n-1]&&i.push(e[n-1][1]),i}return r.map(this.scale[an](),this[Hi],this)},getLabelsCoords:function(){return r.map(this.scale[an](),this[Hi],this)},getBands:function(){for(var t=this[on](),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[on](),i=e[1]-e[0]+(this[Oi]?1:0);0===i&&(i=1);var n=Math.abs(t[1]-t[0]);return Math.abs(n)/i}},o}),e("echarts/util/number",[sa],function(){function t(t){return t[Hn](/^\s+/,"")[Hn](/\s+$/,"")}var e={},i=1e-4;e[ve]=function(t,e,i,n){var r=e[1]-e[0],a=i[1]-i[0];if(0===r)return 0===a?i[0]:(i[0]+i[1])/2;if(n)if(r>0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/r*a+i[0]},e[li]=function(e,i){switch(e){case mn:case yn:e="50%";break;case"left":case"top":e="0%";break;case"right":case Cr:e="100%"}return typeof e===Ur?t(e).match(/%$/)?parseFloat(e)/100*i:parseFloat(e):null==e?0/0:+e},e.round=function(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t)[Re](e),i?t:+t},e.asc=function(t){return t.sort(function(t,e){return t-e}),t},e.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i},e.getPrecisionSafe=function(t){var e=t.toString(),i=e[Ar](".");return 0>i?0:e[Tr]-1-i},e.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),o=Math.min(Math.max(-r+a,0),20);return isFinite(o)?o:20},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return t>-i&&i>t};var n=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(?:Z|([\+\-]\d\d):?\d\d)?)?)?)?)?$/,r=(new Date).getTimezoneOffset();return e.parseDate=function(t){if(t instanceof Date)return t;if(typeof t===Ur){var e=n.exec(t);return e?new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0)-60*(e[8]||0)-r,+e[6]||0,+e[7]||0):new Date(0/0)}return new Date(null==t?0/0:Math.round(t))},e.quantity=function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},e.nice=function(t,i){var n,r=e.quantity(t),a=t/r;return n=i?1.5>a?1:2.5>a?2:4>a?3:7>a?5:10:1>a?1:2>a?2:3>a?3:5>a?5:10,n*r},e.reformIntervals=function(t){function e(t,i,n){return t[re][n]<i[re][n]||t[re][n]===i[re][n]&&(t.close[n]-i.close[n]===(n?-1:1)||!n&&e(t,i,1))}t.sort(function(t,i){return e(t,i,0)?-1:1});for(var i=-1/0,n=1,r=0;r<t[Tr];){for(var a=t[r][re],o=t[r].close,s=0;2>s;s++)a[s]<=i&&(a[s]=i,o[s]=s?1:1-n),i=a[s],n=o[s];a[0]===a[1]&&o[0]*o[1]!==1?t[er](r,1):r++}return t},e.isNumeric=function(t){return t-parseFloat(t)>=0},e}),e("echarts/util/format",[sa,oa,"./number",_],function(t){var e=t(oa),i=t("./number"),n=t(_),r={};r[de]=function(t){return isNaN(t)?"-":(t=(t+"").split("."),t[0][Hn](/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t[Tr]>1?"."+t[1]:""))},r.toCamelCase=function(t,e){return t=(t||"")[Xr]()[Hn](/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},r.normalizeCssArray=function(t){var e=t[Tr];return typeof t===zn?[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};var a=r[fe]=function(t){return String(t)[Hn](/&/g,"&amp;")[Hn](/</g,"&lt;")[Hn](/>/g,"&gt;")[Hn](/"/g,"&quot;")[Hn](/'/g,"&#39;")},o=["a","b","c","d","e","f","g"],s=function(t,e){return"{"+t+(null==e?"":e)+"}"};r.formatTpl=function(t,i,n){e[Gn](i)||(i=[i]);var r=i[Tr];if(!r)return"";for(var l=i[0].$vars||[],u=0;u<l[Tr];u++){var c=o[u],h=s(c,0);t=t[Hn](s(c),n?a(h):h)}for(var d=0;r>d;d++)for(var f=0;f<l[Tr];f++){var h=i[d][l[f]];t=t[Hn](s(o[f],d),n?a(h):h)}return t},r.formatTplSimple=function(t,i,n){return e.each(i,function(e,i){t=t[Hn]("{"+i+"}",n?a(e):e)}),t};var l=function(t){return 10>t?"0"+t:t};return r.formatTime=function(t,e,n){("week"===t||"month"===t||"quarter"===t||"half-year"===t||"year"===t)&&(t="MM-dd\nyyyy");var r=i.parseDate(e),a=n?"":"UTC",o=r["get"+a+"FullYear"](),s=r["get"+a+"Month"]()+1,u=r["get"+a+"Date"](),c=r["get"+a+"Hours"](),h=r["get"+a+"Minutes"](),d=r["get"+a+"Seconds"]();return t=t[Hn]("MM",l(s))[Xr]()[Hn]("yyyy",o)[Hn]("yy",o%100)[Hn]("dd",l(u))[Hn]("d",u)[Hn]("hh",l(c))[Hn]("h",c)[Hn]("mm",l(h))[Hn]("m",h)[Hn]("ss",l(d))[Hn]("s",d)},r.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},r.truncateText=n.truncateText,r}),e(Kr,[],function(){var t=typeof Float32Array===U?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],u=Math.sin(i),c=Math.cos(i);return t[0]=n*c+o*u,t[1]=-n*u+o*c,t[2]=r*c+s*u,t[3]=-r*u+c*s,t[4]=c*a+u*l,t[5]=c*l-u*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($r,[],function(){var t=typeof Float32Array===U?Array:Float32Array,e={create:function(e,i){var n=new t(2);return null==e&&(e=0),null==i&&(i=0),n[0]=e,n[1]=i,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[Tr]=e.len,e.lengthSquare=e.lenSquare,e.dist=e.distance,e.distSquare=e.distanceSquare,e}),e("echarts/helper",[sa,"./chart/helper/createListFromArray","./util/symbol","./coord/axisHelper","./coord/axisModelCommonMixin","./model/Model",oa,"./data/helper/completeDimensions"],function(t){var e=t("./chart/helper/createListFromArray"),i=t("./util/symbol"),n=t("./coord/axisHelper"),r=t("./coord/axisModelCommonMixin"),a=t("./model/Model"),o=t(oa);return{createList:function(t){var i=t.get("data");return e(i,t,t[M])},completeDimensions:t("./data/helper/completeDimensions"),createSymbol:i[oe],createScale:function(t,e){var i=e;e instanceof a||(i=new a(e),o.mixin(i,r));var s=n[Ei](i);return s[nn](t[0],t[1]),n[Yi](s,i),s},mixinAxisModelCommonMethods:function(t){o.mixin(t,r)}}}),e("echarts/chart/bar/PictorialBarSeries",[sa,"./BaseBarSeries"],function(t){var e=t("./BaseBarSeries")[lr]({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(t){return t.stack=null,e[dn](this,"getInitialData",arguments)}});return e}),e("echarts/chart/bar/PictorialBarView",[sa,oa,Ci,se,ge,Yr,Ai],function(t){function e(t,e,o,s){var l=t[pi](e),u=o.get("symbolRepeat"),c=o.get("symbolClip"),h=o.get("symbolPosition")||"start",d=o.get("symbolRotate"),f=(d||0)*Math.PI/180||0,p=o.get("symbolPatternSize")||2,v=o[wi](),g={dataIndex:e,layout:l,itemModel:o,symbolType:t[_r](e,We)||ea,color:t[_r](e,"color"),symbolClip:c,symbolRepeat:u,symbolRepeatDirection:o.get("symbolRepeatDirection"),symbolPatternSize:p,rotation:f,animationModel:v?o:null,hoverAnimation:v&&o.get("hoverAnimation"),z2:o[Ge]("z",!0)||0};i(o,u,l,s,g),n(t,e,l,u,c,g.boundingLength,g.pxSign,p,s,g),r(o,g.symbolScale,f,s,g);var m=g[Ze],y=o.get("symbolOffset");return S[Gn](y)&&(y=[L(y[0],m[0]),L(y[1],m[1])]),a(o,m,l,u,c,y,h,g.valueLineWidth,g.boundingLength,g.repeatCutLength,s,g),g}function i(t,e,i,n,r){var a=n.valueDim,o=t.get("symbolBoundingData"),s=n.coordSys[Ii](n.coordSys[ki]()),l=s[Fi](s[Hi](0)),u=r.boundingLength=null!=o?s[Fi](s[Hi](s.scale.parse(o)))-l:e?n.coordSysExtent[a.index][1-+(i[a.wh]<=0)]-l:i[a.wh];e&&(r.repeatCutLength=i[a.wh]),r.pxSign=u>0?1:0>u?-1:0}function n(t,e,i,n,r,a,o,s,l,u){var c=l.valueDim,h=l.categoryDim,d=Math.abs(i[h.wh]),f=t[_r](e,Ze);S[Gn](f)?f=f.slice():(null==f&&(f="100%"),f=[f,f]),f[h.index]=L(f[h.index],d),f[c.index]=L(f[c.index],n?d:Math.abs(a)),u[Ze]=f;var p=u.symbolScale=[f[0]/s,f[1]/s];p[c.index]*=(l[Ui]?-1:1)*o}function r(t,e,i,n,r){var a=t.get(D)||0;a&&(k.attr({scale:e.slice(),rotation:i}),k[x](),a/=k.getLineScale(),a*=e[n.valueDim.index]),r.valueLineWidth=a}function a(t,e,i,n,r,a,o,s,l,u,c,h){var d=c.categoryDim,f=c.valueDim,p=h.pxSign,v=Math.max(e[f.index]+s,0),g=v;if(n){var m=Math.abs(l),y=S[Di](t.get("symbolMargin"),"15%")+"",x=!1;y.lastIndexOf("!")===y[Tr]-1&&(x=!0,y=y.slice(0,y[Tr]-1)),y=L(y,e[f.index]);var _=Math.max(v+2*y,0),b=x?0:2*y,w=C.isNumeric(n),A=w?n:M((m+b)/_),T=m-A*v;y=T/2/(x?A:A-1),_=v+2*y,b=x?0:2*y,w||"fixed"===n||(A=u?M((Math.abs(u)+b)/_):0),g=A*_-b,h.repeatTimes=A,h.symbolMargin=y}var P=p*(g/2),D=h.pathPosition=[];D[d.index]=i[d.wh]/2,D[f.index]="start"===o?P:"end"===o?l-P:l/2,a&&(D[0]+=a[0],D[1]+=a[1]);var I=h.bundlePosition=[];I[d.index]=i[d.xy],I[f.index]=i[f.xy];var k=h.barRectShape=S[lr]({},i);k[f.wh]=p*Math.max(Math.abs(i[f.wh]),Math.abs(D[f.index]+P)),k[d.wh]=i[d.wh];var z=h.clipShape={};z[d.xy]=-i[d.xy],z[d.wh]=c.ecSize[d.wh],z[f.xy]=0,z[f.wh]=i[f.wh]}function o(t){var e=t.symbolPatternSize,i=T[oe](t.symbolType,-e/2,-e/2,e,e,t.color);return i.attr({culling:!0}),"image"!==i.type&&i[Zn]({strokeNoScale:!0}),i}function s(t,e,i,n){function r(t){var e=h.slice(),n=i.pxSign,r=t;return("start"===i.symbolRepeatDirection?n>0:0>n)&&(r=f-1-t),e[d.index]=g*(r-f/2+.5)+h[d.index],{position:e,scale:i.symbolScale.slice(),rotation:i[Me]}}function a(){_(t,function(t){t[nr](ke)})}function s(){_(t,function(t){t[nr](Mi)})}var l=t.__pictorialBundle,u=i[Ze],c=i.valueLineWidth,h=i.pathPosition,d=e.valueDim,f=i.repeatTimes||0,v=0,g=u[e.valueDim.index]+c+2*i.symbolMargin;for(_(t,function(t){t.__pictorialAnimationIndex=v,t.__pictorialRepeatTimes=f,f>v?b(t,null,r(v),i,n):b(t,null,{scale:[0,0]},i,n,function(){l[ur](t)}),p(t,i),v++});f>v;v++){var m=o(i);m.__pictorialAnimationIndex=v,m.__pictorialRepeatTimes=f,l.add(m);var y=r(v,!0);b(m,{position:y[gn],scale:[0,0]},{scale:y.scale,rotation:y[Me]},i,n),m.on(tr,a).on(Qn,s),p(m,i)}}function l(t,e,i,n){function r(){this[nr](ke)}function a(){this[nr](Mi)}var s=t.__pictorialBundle,l=t.__pictorialMainPath;l?b(l,null,{position:i.pathPosition.slice(),scale:i.symbolScale.slice(),rotation:i[Me]},i,n):(l=t.__pictorialMainPath=o(i),s.add(l),b(l,{position:i.pathPosition.slice(),scale:[0,0],rotation:i[Me]},{scale:i.symbolScale.slice()},i,n),l.on(tr,r).on(Qn,a)),p(l,i)}function u(t,e,i){var n=S[lr]({},e.barRectShape),r=t.__pictorialBarRect;r?b(r,null,{shape:n},e,i):(r=t.__pictorialBarRect=new A.Rect({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(r))}function c(t,e,i,n){if(i.symbolClip){var r=t.__pictorialClipPath,a=S[lr]({},i.clipShape),o=e.valueDim,s=i.animationModel,l=i[br];if(r)A[mi](r,{shape:a},s,l);else{a[o.wh]=0,r=new A.Rect({shape:a}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[o.wh]=i.clipShape[o.wh],A[n?mi:vi](r,{shape:u},s,l)}}}function h(t,e){var i=t[_i](e);return i.getAnimationDelayParams=d,i[wi]=f,i}function d(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function f(){return this.parentModel[wi]()&&!!this[Ge](Fr)}function p(t,e){t.off(ke).off(Mi);var i=e.symbolScale.slice();e.hoverAnimation&&t.on(ke,function(){this[Se]({scale:[1.1*i[0],1.1*i[1]]},400,"elasticOut")}).on(Mi,function(){this[Se]({scale:i.slice()},400,"elasticOut")})}function v(t,e,i,n){var r=new A.Group,a=new A.Group;return r.add(a),r.__pictorialBundle=a,a.attr(gn,i.bundlePosition.slice()),i.symbolRepeat?s(r,e,i):l(r,e,i),u(r,i,n),c(r,e,i,n),r.__pictorialShapeStr=y(t,i),r.__pictorialSymbolMeta=i,r}function g(t,e,i){var n=i.animationModel,r=i[br],a=t.__pictorialBundle;A[mi](a,{position:i.bundlePosition.slice()},n,r),i.symbolRepeat?s(t,e,i,!0):l(t,e,i,!0),u(t,i,!0),c(t,e,i,!0)}function m(t,e,i,n){var r=n.__pictorialBarRect;r&&(r.style.text="");var a=[];_(n,function(t){a.push(t)}),n.__pictorialMainPath&&a.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),S.each(a,function(t){A[mi](t,{scale:[0,0]},i,e,function(){n[un]&&n[un][ur](n)})}),t[xi](e,null)}function y(t,e){return[t[_r](e[br],We)||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function _(t,e,i){S.each(t.__pictorialBundle.children(),function(n){n!==t.__pictorialBarRect&&e.call(i,n)})}function b(t,e,i,n,r,a){e&&t.attr(e),n.symbolClip&&!r?i&&t.attr(i):i&&A[r?mi:vi](t,i,n.animationModel,n[br],a)}function w(t,e,i){var n=i.color,r=i[br],a=i.itemModel,o=a[Er](fi)[Cn](["color"]),s=a[Er](di)[Cn]();_(t,function(t){t.setColor(n),t[Zn](S[or]({fill:n,opacity:i[pn]},o)),A[ui](t,s),t.z2=i.z2});var l={},u=e.valueDim.posDesc[+(i.boundingLength>0)],c=t.__pictorialBarRect;P.setLabel(c.style,l,a,n,e[wr],r,u),A[ui](c,l)}function M(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var S=t(oa),A=t(Ci),T=t(se),C=t(ge),P=t(Yr),L=C[li],D=[Si,Mi,$],I=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top",Cr]}],k=new A[j],z=t(Ai)[Rn]({type:"pictorialBar",render:function(t,i,n){var r=this.group,a=t[na](),o=this._data,s=t[Sr],l=s[ki](),u=!!l[Ui](),c=s.grid[Pn](),d={ecSize:{width:n[Or](),height:n[Vr]()},seriesModel:t,coordSys:s,coordSysExtent:[[c.x,c.x+c.width],[c.y,c.y+c[Wr]]],isHorizontal:u,valueDim:I[+u],categoryDim:I[1-u]};return a.diff(o).add(function(t){if(a.hasValue(t)){var i=h(a,t),n=e(a,t,i,d),o=v(a,d,n);a[xi](t,o),r.add(o),w(o,d,n)}})[yr](function(t,i){var n=o[yi](i);if(!a.hasValue(t))return void r[ur](n);var s=h(a,t),l=e(a,t,s,d),u=y(a,l);n&&u!==n.__pictorialShapeStr&&(r[ur](n),a[xi](t,null),n=null),n?g(n,d,l):n=v(a,d,l,!0),a[xi](t,n),n.__pictorialSymbolMeta=l,r.add(n),w(n,d,l)})[ur](function(t){var e=o[yi](t);e&&m(o,t,e.__pictorialSymbolMeta.animationModel,e)})[bi](),this._data=a,this.group},dispose:S.noop,remove:function(t){var e=this.group,i=this._data;t.get(Fr)?i&&i[gi](function(e){m(i,e[br],t,e)}):e[Ln]()}});return z}),e("echarts/chart/effectScatter/EffectScatterView",[sa,"../helper/SymbolDraw","../helper/EffectSymbol",Ai],function(t){var e=t("../helper/SymbolDraw"),i=t("../helper/EffectSymbol");t(Ai)[Rn]({type:"effectScatter",init:function(){this._symbolDraw=new e(i)},render:function(t){var e=t[na](),i=this._symbolDraw;i[Je](e),this.group.add(i.group)},updateLayout:function(){this._symbolDraw[pr]()},remove:function(t,e){this._symbolDraw&&this._symbolDraw[ur](e)},dispose:function(){}})}),e("echarts/chart/effectScatter/EffectScatterSeries",[sa,"../helper/createListFromArray",ni],function(t){var e=t("../helper/createListFromArray"),i=t(ni);return i[lr]({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(t,i){var n=e(t.data,this,i);return n},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}})}),e("echarts/component/angleAxis",[sa,"../coord/polar/polarCreator","./axis/AngleAxisView"],function(t){t("../coord/polar/polarCreator"),t("./axis/AngleAxisView")}),e("echarts/coord/polar/polarCreator",[sa,"./Polar",ge,oa,Ki,"./PolarModel",$i],function(t){function e(t,e){var i=t.get(mn),n=t.get(ei),r=e[Or](),o=e[Vr](),s=a[li];this.cx=s(i[0],r),this.cy=s(i[1],o);var l=this.getRadiusAxis(),u=Math.min(r,o)/2;l[nn](0,s(n,u))}function i(t){var e=this,i=e.getAngleAxis(),n=e.getRadiusAxis();if(i.scale[nn](1/0,-1/0),n.scale[nn](1/0,-1/0),t[vr](function(t){if(t[Sr]===e){var r=t[na]();n.scale[zi](r,ei),i.scale[zi](r,"angle")}}),s(i.scale,i.model),s(n.scale,n.model),i.type===ji&&!i[Oi]){var r=i[on](),a=360/i.scale.count();i[qi]?r[1]+=a:r[1]-=a,i[nn](r[0],r[1])}}function n(t,e){if(t.type=e.get("type"),t.scale=o[Ei](e),t[Oi]=e.get(Vi)&&t.type===ji,"angleAxis"===e[fr]){var i=e.get("startAngle");t[qi]=e.get(qi)^e.get(xe),t[nn](i,i+(t[qi]?-360:360))}e.axis=t,t.model=e}var r=t("./Polar"),a=t(ge),o=(t(oa),t(Ki)),s=o[Yi];t("./PolarModel");var l={dimensions:r[jr][Pi],create:function(t,a){var o=[];return t[Lr]("polar",function(t,s){var l=new r(s);l[Zr]=e,l[yr]=i;var u=l.getRadiusAxis(),c=l.getAngleAxis(),h=t.findAxisModel("radiusAxis"),d=t.findAxisModel("angleAxis");n(u,h),n(c,d),l[Zr](t,a),o.push(l),t[Sr]=l,l.model=t}),t[vr](function(e){if("polar"===e.get(Sr)){var i=t[C]({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e[Sr]=i[Sr]}}),o}};t($i)[En]("polar",l)}),e("echarts/component/radiusAxis",[sa,"../coord/polar/polarCreator","./axis/RadiusAxisView"],function(t){t("../coord/polar/polarCreator"),t("./axis/RadiusAxisView")}),e("echarts/component/axis",[sa,"../coord/cartesian/AxisModel","./axis/CartesianAxisView"],function(t){t("../coord/cartesian/AxisModel"),t("./axis/CartesianAxisView")}),e("echarts/component/axisPointer",[sa,aa,"./axisPointer/modelHelper","./axisPointer/axisTrigger",oa,"./axisPointer/AxisPointerModel","./axisPointer/AxisPointerView","./axisPointer/CartesianAxisPointer"],function(t){var e=t(aa),i=t("./axisPointer/modelHelper"),n=t("./axisPointer/axisTrigger"),r=t(oa);t("./axisPointer/AxisPointerModel"),t("./axisPointer/AxisPointerView"),t("./axisPointer/CartesianAxisPointer"),e[ta](function(t){if(t){(!t.axisPointer||0===t.axisPointer[Tr])&&(t.axisPointer={});var e=t.axisPointer.link;e&&!r[Gn](e)&&(t.axisPointer.link=[e])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t[X]("axisPointer").coordSysAxesInfo=i.collect(t,e)}),e[Nn]({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},function(t,e,i){var a=n(e[X]("axisPointer").coordSysAxesInfo,t.currTrigger,t,t[sr]||r.bind(i[sr],i),e,i,t.tooltipOption,t.highDownKey);return a})}),e("echarts/component/axisPointer/PolarAxisPointer",[sa,pe,"./BaseAxisPointer",Ci,"./viewHelper",Kr,"../axis/AxisBuilder","../axis/AxisView"],function(t){function e(t,e,i,n,a){var l=e.axis,u=l[Hi](t),c=n.getAngleAxis()[on]()[0];c=c/180*Math.PI;var h,d,f,p=n.getRadiusAxis()[on]();if(l.dim===ei){var v=o[xr]();o[y](v,v,c),o[m](v,v,[n.cx,n.cy]),h=r[ee]([u,-a],v);var g=e[Er](R).get(y)||0,x=s.innerTextLayout(c,g*Math.PI/180,-1);d=x[An],f=x[cn]}else{var _=p[1];h=n.coordToPoint([_+a,u]);var b=n.cx,w=n.cy;d=Math.abs(h[0]-b)/_<.3?mn:h[0]>b?"left":"right",f=Math.abs(h[1]-w)/_<.3?yn:h[1]>w?"top":Cr}return{position:h,align:d,verticalAlign:f}}var i=t(pe),n=t("./BaseAxisPointer"),r=t(Ci),a=t("./viewHelper"),o=t(Kr),s=t("../axis/AxisBuilder"),l=t("../axis/AxisView"),u=n[lr]({makeElOption:function(t,n,r,o,s){var l=r.axis;"angle"===l.dim&&(this.animationThreshold=Math.PI/18);var u,h=l.polar,d=h[Ii](l),f=d[on]();u=l["dataTo"+i.capitalFirst(l.dim)](n);var p=a.buildElStyle(o),v=c[o.get("type")](l,h,u,f,p);v.style=p,t.graphicKey=v.type,t[k]=v;var g=o.get("label.margin"),m=e(n,r,o,h,g);a.buildLabelElOption(t,r,o,s,m)}}),c={line:function(t,e,i,n){return"angle"===t.dim?{type:"Line",shape:a.makeLineShape(e.coordToPoint([n[0],i]),e.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:i}}},shadow:function(t,e,i,n){var r=t[si](),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:a.makeSectorShape(e.cx,e.cy,n[0],n[1],(-i-r/2)*o,(-i+r/2)*o)}:{type:"Sector",shape:a.makeSectorShape(e.cx,e.cy,i-r/2,i+r/2,0,2*Math.PI)}}};return l.registerAxisPointerClass("PolarAxisPointer",u),u}),e("echarts/coord/single/singleCreator",[sa,"./Single",$i],function(t){function e(t,e){var n=[];return t[Lr]("singleAxis",function(r,a){var o=new i(r,t,e);o.name="single_"+a,o[Zr](r,e),r[Sr]=o,n.push(o)}),t[vr](function(e){if("singleAxis"===e.get(Sr)){var i=t[C]({mainType:"singleAxis",index:e.get("singleAxisIndex"),id:e.get("singleAxisId")})[0];e[Sr]=i&&i[Sr]}}),n}var i=t("./Single");t($i)[En](g,{create:e,dimensions:i[jr][Pi]})}),e("echarts/component/axis/SingleAxisView",[sa,"./AxisBuilder",oa,Ci,"./singleAxisHelper","./AxisView"],function(t){var e=t("./AxisBuilder"),i=t(oa),n=t(Ci),r=t("./singleAxisHelper"),a=e.getInterval,o=e.ifIgnoreOnTick,s=[E,R,V,v],l=O,u=t("./AxisView")[lr]({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,n,a,o){var c=this.group;c[Ln]();var h=r[ue](t),d=new e(t,h);i.each(s,d.add,d),c.add(d.getGroup()),t.get(l+".show")&&this["_"+l](t,h.labelInterval),u[Ee](this,dr,t,n,a,o)},_splitLine:function(t,e){var i=t.axis;if(!i.scale[p]()){var r=t[Er](O),s=r[Er](_e),l=s.get("width"),u=s.get("color"),c=a(r,e);u=u instanceof Array?u:[u];for(var h=t[Sr][Pn](),d=i[Ui](),v=[],g=0,m=i[f](),y=[],x=[],_=0;_<m[Tr];++_)if(!o(i,_,c)){var b=i[Fi](m[_]);d?(y[0]=b,y[1]=h.y,x[0]=b,x[1]=h.y+h[Wr]):(y[0]=h.x,y[1]=b,x[0]=h.x+h.width,x[1]=b);var w=g++%u[Tr];v[w]=v[w]||[],v[w].push(new n.Line(n.subPixelOptimizeLine({shape:{x1:y[0],y1:y[1],x2:x[0],y2:x[1]},style:{lineWidth:l},silent:!0})))}for(var _=0;_<v[Tr];++_)this.group.add(n.mergePath(v[_],{style:{stroke:u[_%u[Tr]],lineDash:s.getLineDash(l),lineWidth:l},silent:!0}))}}});return u}),e("echarts/coord/single/AxisModel",[sa,d,"../axisModelCreator",oa,"../axisModelCommonMixin"],function(t){function e(t,e){return e.type||(e.data?ji:"value")}var i=t(d),n=t("../axisModelCreator"),r=t(oa),a=i[lr]({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),o={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:2,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:2}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};return r.merge(a[jr],t("../axisModelCommonMixin")),n(g,a,e,o),a}),e("echarts/component/axisPointer/SingleAxisPointer",[sa,Ci,"./BaseAxisPointer","./viewHelper","../axis/singleAxisHelper","../axis/AxisView"],function(t){function e(t){return t[Ui]()?0:1}function i(t,e){var i=t[Pn]();return[i[l[e]],i[l[e]]+i[u[e]]]}var n=t(Ci),r=t("./BaseAxisPointer"),a=t("./viewHelper"),o=t("../axis/singleAxisHelper"),s=t("../axis/AxisView"),l=["x","y"],u=["width",Wr],c=r[lr]({makeElOption:function(t,n,r,s,l){var u=r.axis,c=u[Sr],d=i(c,1-e(u)),f=c[Zi](n)[0],p=a.buildElStyle(s),v=h[s.get("type")](u,f,d,p);v.style=p,t.graphicKey=v.type,t[k]=v;var g=o[ue](r);a.buildCartesianSingleLabelElOption(n,t,g,r,s,l)},getHandleTransform:function(t,e,i){var n=o[ue](e,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:a.getTransformedPosition(e.axis,t,n),rotation:n[Me]+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,n,r){var a=r.axis,o=a[Sr],s=e(a),l=i(o,s),u=t[gn];u[s]+=n[s],u[s]=Math.min(l[1],u[s]),u[s]=Math.max(l[0],u[s]);var c=i(o,1-s),h=(c[1]+c[0])/2,d=[h,h];return d[s]=u[s],{position:u,rotation:t[Me],cursorPoint:d,tooltipOption:{verticalAlign:"middle"}}}}),h={line:function(t,i,r,o){var s=a.makeLineShape([i,r[0]],[i,r[1]],e(t));return n.subPixelOptimizeLine({shape:s,style:o}),{type:"Line",shape:s}},shadow:function(t,i,n){var r=t[si](),o=n[1]-n[0];return{type:"Rect",shape:a.makeRectShape([i-r/2,n[0]],[r,o],e(t))}}};return s.registerAxisPointerClass("SingleAxisPointer",c),c}),e("echarts/coord/geo/GeoModel",[sa,ii,d,Ti,oa,"../../component/helper/selectableMixin","./geoCreator"],function(t){var e=t(ii),i=t(d),n=t(Ti),r=t(oa),a=t("../../component/helper/selectableMixin"),o=t("./geoCreator"),s=i[lr]({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){i[jr].init.apply(this,arguments),e[ze](t.label,[gn,"show",Tn,"distance",z])},optionUpdated:function(){var t=this[fn],e=this;t.regions=o.getFilledRegions(t.regions,t.map),this._optionModelMap=r.reduce(t.regions||[],function(t,i){return i.name&&(t[i.name]=new n(i,e)),t},{}),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:.75,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,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)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap[t]||new n(null,this,this[M])},getFormattedLabel:function(t,e){var i=this.getRegionModel(t),n=i.get("label."+e+".formatter"),r={name:t};if(typeof n===Bn)return r.status=e,n(r);if(typeof n===Ur){var a=r.seriesName;return n[Hn]("{a}",null!=a?a:"")}},setZoom:function(t){this[fn].zoom=t},setCenter:function(t){this[fn][mn]=t}});return r.mixin(s,a),s}),e("echarts/component/geo/GeoView",[sa,"../helper/MapDraw",Ai],function(t){var e=t("../helper/MapDraw");return t(Ai)[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,n){if(!n||"geoToggleSelect"!==n.type||n.from!==this.uid){var r=this._mapDraw;t.get("show")?r.draw(t,e,i,this,n):this._mapDraw.group[Ln](),this.group[Hr]=t.get(Hr)}},dispose:function(){this._mapDraw&&this._mapDraw[ur]()}})}),e("echarts/coord/calendar/Calendar",[sa,Ji,ge,oa,$i],function(t){function e(t){this[Nr]=t}function i(t,e,i,n){var r=i.calendarModel,a=i[wr],o=r?r[Sr]:a?a[Sr]:null;return o===this?o[t](n):null}var n=t(Ji),r=t(ge),a=t(oa),o=864e5;return e[jr]={constructor:e,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"}]},getHandledRangeInfo:function(){return this._rangeInfo},getModel:function(){return this[Nr]},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(t){t=r.parseDate(t);var e=t.getFullYear(),i=t.getMonth()+1;i=10>i?"0"+i:i;var n=t.getDate();n=10>n?"0"+n:n;var a=t.getDay();return a=Math.abs((a+7-this.getFirstDayOfWeek())%7),{y:e,m:i,d:n,day:a,time:t.getTime(),formatedDate:e+"-"+i+"-"+n,date:t}},getNextNDay:function(t,e){if(e=e||0,0===e)return this.getDateInfo(t);var i=this.getDateInfo(t).time;return this.getDateInfo(i+o*e)},update:function(t,e){function i(t,e){return null!=t[e]&&"auto"!==t[e]}this._firstDayOfWeek=this[Nr][Er]("dayLabel").get("firstDay"),this._orient=this[Nr].get(A),this._lineWidth=this[Nr][Er](fi)[Cn]()[w]||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var r=this._rangeInfo.weeks||1,o=["width",Wr],s=this[Nr].get("cellSize").slice(),l=this[Nr][bn](),u=this._orient===le?[r,7]:[7,r];a.each([0,1],function(t){i(s,t)&&(l[o[t]]=s[t]*u[t])});var c={width:e[Or](),height:e[Vr]()},h=this._rect=n[_n](l,c);a.each([0,1],function(t){i(s,t)||(s[t]=h[o[t]]/u[t])}),this._sw=s[0],this._sh=s[1]},dataToPoint:function(t,e){var i=this.getDateInfo(t[0]),n=this._rangeInfo,r=i.formatedDate;if(!(e||i.time>=n.start.time&&i.time<=n.end.time))return[0/0,0/0];var a=i.day,o=this._getRangeInfo([n.start.time,r]).weeks;return this._orient===h?[this._rect.x+a*this._sw+this._sw/2,this._rect.y+(o-1)*this._sh+this._sh/2]:[this._rect.x+(o-1)*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]},pointToData:function(t){var e=this.pointToDate(t);return e&&e.time},dataToRect:function(t,e){var i=this[Zi](t,e);return{contentShape:{x:i[0]-(this._sw-this._lineWidth)/2,y:i[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:i,tl:[i[0]-this._sw/2,i[1]-this._sh/2],tr:[i[0]+this._sw/2,i[1]-this._sh/2],br:[i[0]+this._sw/2,i[1]+this._sh/2],bl:[i[0]-this._sw/2,i[1]+this._sh/2]}},pointToDate:function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,i=Math.floor((t[1]-this._rect.y)/this._sh)+1,n=this._rangeInfo.range;return this._orient===h?this._getDateByWeeksAndDay(i,e-1,n):this._getDateByWeeksAndDay(e,i-1,n)},convertToPixel:a.curry(i,Zi),convertFromPixel:a.curry(i,Gi),_initRangeOption:function(){var t=this[Nr].get("range"),e=t;if(a[Gn](e)&&1===e[Tr]&&(e=e[0]),/^\d{4}$/.test(e)&&(t=[e+"-01-01",e+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(e)){var i=this.getDateInfo(e),n=i.date;n.setMonth(n.getMonth()+1);var r=this.getNextNDay(n,-1);t=[i.formatedDate,r.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(e)&&(t=[e,e]);var o=this._getRangeInfo(t);return o.start.time>o.end.time&&t[Qe](),t},_getRangeInfo:function(t){var e=this.getDateInfo(t[0]),i=this.getDateInfo(t[1]),n=Math.floor(i.time/o)-Math.floor(e.time/o)+1,r=Math.floor((n+e.day+6)/7);return{range:[e.formatedDate,i.formatedDate],start:e,end:i,allDay:n,weeks:r,fweek:e.day,lweek:i.day}},_getDateByWeeksAndDay:function(t,e,i){var n=this._getRangeInfo(i);if(t>n.weeks||0===t&&e<n.fweek||t===n.weeks&&e>n.lweek)return!1;var r=7*(t-1)-n.fweek+e,a=n.start.time+r*o;return this.getDateInfo(a)}},e[Pi]=e[jr][Pi],e.getDimensionsInfo=e[jr].getDimensionsInfo,e[xr]=function(t,i){var n=[];return t[Lr]("calendar",function(r){var a=new e(r,t,i);n.push(a),r[Sr]=a}),t[vr](function(t){"calendar"===t.get(Sr)&&(t[Sr]=n[t.get("calendarIndex")||0])}),n},t($i)[En]("calendar",e),e}),e("echarts/coord/calendar/CalendarModel",[sa,d,oa,Ji],function(t){function e(t,e){var i=t.cellSize;n[Gn](i)?1===i[Tr]&&(i[1]=i[0]):i=t.cellSize=[i,i];var a=n.map([0,1],function(t){return r.sizeCalculable(e,t)&&(i[t]="auto"),null!=i[t]&&"auto"!==i[t]});r.mergeLayoutParam(t,e,{type:"box",ignoreSize:a})}var i=t(d),n=t(oa),r=t(Ji),a=i[lr]({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{normal:{color:"#fff",borderWidth:1,borderColor:"#ccc"}},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",textStyle:{color:"#000"}},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,textStyle:{color:"#000"}},yearLabel:{show:!0,position:null,margin:30,formatter:null,textStyle:{color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}}},init:function(t){var i=r.getLayoutParams(t);a[dn](this,"init",arguments),e(t,i)},mergeOption:function(t){a[dn](this,hn,arguments),e(this[fn],t)}});return a}),e("echarts/component/calendar/CalendarView",[sa,oa,Ci,pe,ge,Ai],function(t){var e=t(oa),i=t(Ci),n=t(pe),r=t(ge),a={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},o={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]};return t(Ai)[Vn]({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t){var e=this.group;e[Ln]();var i=t[Sr],n=i.getHandledRangeInfo(),r=i.getOrient();this._renderDayRect(t,n,e),this._renderLines(t,n,r,e),this._renderYearText(t,n,r,e),this._renderMonthText(t,r,e),this._renderWeekText(t,n,r,e)},_renderDayRect:function(t,e,n){for(var r=t[Sr],a=t[Er](fi)[Cn](),o=r.getCellWidth(),s=r.getCellHeight(),l=e.start.time;l<=e.end.time;l=r.getNextNDay(l,1).time){var u=r.dataToRect([l],!0).tl,c=new i.Rect({shape:{x:u[0],y:u[1],width:o,height:s},style:a});n.add(c)}},_renderLines:function(t,e,i,n){function r(e){a._firstDayOfMonth.push(o.getDateInfo(e)),a._firstDayPoints.push(o.dataToRect([e],!0).tl);var r=a._getLinePointsOfOneWeek(t,e,i);a._tlpoints.push(r[0]),a._blpoints.push(r[r[Tr]-1]),l&&a._drawSplitline(r,s,n)}var a=this,o=t[Sr],s=t[Er]("splitLine.lineStyle")[Ke](),l=t.get("splitLine.show"),u=s[w];this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=e.start,h=0;c.time<=e.end.time;h++){r(c.formatedDate),0===h&&(c=o.getDateInfo(e.start.y+"-"+e.start.m));var d=c.date;d.setMonth(d.getMonth()+1),c=o.getDateInfo(d)}r(o.getNextNDay(e.end.time,1).formatedDate),l&&this._drawSplitline(a._getEdgesPoints(a._tlpoints,u,i),s,n),l&&this._drawSplitline(a._getEdgesPoints(a._blpoints,u,i),s,n)},_getEdgesPoints:function(t,e,i){var n=[t[0].slice(),t[t[Tr]-1].slice()],r=i===le?0:1;return n[0][r]=n[0][r]-e/2,n[1][r]=n[1][r]+e/2,n},_drawSplitline:function(t,e,n){var r=new i[Xe]({z2:20,shape:{points:t},style:e});n.add(r)},_getLinePointsOfOneWeek:function(t,e,i){var n=t[Sr];e=n.getDateInfo(e);for(var r=[],a=0;7>a;a++){var o=n.getNextNDay(e.time,a),s=n.dataToRect([o.time],!0);r[2*o.day]=s.tl,r[2*o.day+1]=s[i===le?"bl":"tr"]}return r},_formatterLabel:function(t,e){return typeof t===Ur&&t?n.formatTplSimple(t,e):typeof t===Bn?t(e):e.nameMap},_yearTextPositionControl:function(t,e,i,n){t=t.slice();var r=[mn,Cr];"top"===i&&(t[1]-=n),i===Cr&&(t[1]+=n,r=[mn,"top"]),"left"===i&&(t[0]-=n),"right"===i&&(t[0]+=n,r=[mn,"top"]);var a=0;return("left"===i||"right"===i)&&(a=Math.PI/2),{rotation:a,origin:t,style:{x:t[0],y:t[1],textAlign:r[0],textVerticalAlign:r[1]}}},_renderYearText:function(t,n,r,a){var o=t[Er]("yearLabel");if(o.get("show")){var s=t[Er]("yearLabel.textStyle"),l=o.get(vn),u=o.get(gn);u||(u=r!==le?"top":"left");var c=[this._tlpoints[this._tlpoints[Tr]-1],this._blpoints[0]],h=(c[0][0]+c[1][0])/2,d=(c[0][1]+c[1][1])/2,f=r===le?0:1,p={top:[h,c[f][1]],bottom:[h,c[1-f][1]],left:[c[1-f][0],d],right:[c[f][0],d]},v=n.start.y;+n.end.y>+n.start.y&&(v=v+"-"+n.end.y);var g=o.get(z),m={start:n.start.y,end:n.end.y,nameMap:v},y=this._formatterLabel(g,m),x=new i.Text(e.merge({z2:30,style:{text:y,font:s[Sn](),fill:s[Mn]()}},this._yearTextPositionControl(p[u],r,u,l)));a.add(x)}},_monthTextPositionControl:function(t,e,i,n,r){var a="left",o="top",s=t[0],l=t[1];return i===le?(l+=r,e&&(a=mn),"start"===n&&(o=Cr)):(s+=r,e&&(o=yn),"start"===n&&(a="right")),{x:s,y:l,textAlign:a,textVerticalAlign:o}},_renderMonthText:function(t,n,r){var o=t[Er]("monthLabel");if(o.get("show")){var s=t[Er]("monthLabel.textStyle"),l=o.get("nameMap"),u=o.get(vn),c=o.get(gn),h=o.get("align"),d=[this._tlpoints,this._blpoints];e[Dn](l)&&(l=a[l.toUpperCase()]||[]);var f="start"===c?0:1,p=n===le?0:1;u="start"===c?-u:u;for(var v=h===mn,g=0;g<d[f][Tr]-1;g++){var m=d[f][g].slice(),y=this._firstDayOfMonth[g];if(v){var x=this._firstDayPoints[g];m[p]=(x[p]+d[0][g+1][p])/2}var _=o.get(z),b=l[+y.m-1],w={yyyy:y.y,yy:(y.y+"").slice(2),MM:y.m,M:+y.m,nameMap:b},M=this._formatterLabel(_,w),S=new i.Text({z2:30,style:e[lr]({text:M,font:s[Sn](),fill:s[Mn]()},this._monthTextPositionControl(m,v,n,c,u))});r.add(S)}}},_weekTextPositionControl:function(t,e,i,n,r){var a=mn,o=yn,s=t[0],l=t[1],u="start"===i;return e===le?(s=s+n+(u?1:-1)*r[0]/2,a=u?"right":"left"):(l=l+n+(u?1:-1)*r[1]/2,o=u?Cr:"top"),{x:s,y:l,textAlign:a,textVerticalAlign:o}},_renderWeekText:function(t,n,a,s){var l=t[Er]("dayLabel");if(l.get("show")){var u=t[Sr],c=t[Er]("dayLabel.textStyle"),h=l.get(gn),d=l.get("nameMap"),f=l.get(vn),p=u.getFirstDayOfWeek();e[Dn](d)&&(d=o[d.toUpperCase()]||[]);var v=u.getNextNDay(n.end.time,7-n.lweek).time,g=[u.getCellWidth(),u.getCellHeight()];f=r[li](f,g[a===le?0:1]),"start"===h&&(v=u.getNextNDay(n.start.time,-(7+n.fweek)).time,f=-f);for(var m=0;7>m;m++){var y=u.getNextNDay(v,m),x=u.dataToRect([y.time],!0)[mn],_=m;_=Math.abs((m+p)%7);var b=new i.Text({z2:30,style:e[lr]({text:d[_],font:c[Sn](),fill:c[Mn]()},this._weekTextPositionControl(x,a,h,f,g))});s.add(b)}}}})}),e("echarts/util/layout",[sa,oa,K,"./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.eachChild(function(l,u){var c,h,d=l[gn],f=l[wn](),p=e[Ce](u+1),v=p&&p[wn]();if(t===le){var g=f.width+(v?-v.x+f.x:0);c=a+g,c>n||l.newline?(a=0,c=g,o+=s+i,s=f[Wr]):s=Math.max(s,f[Wr])}else{var m=f[Wr]+(v?-v.y+f.y:0);h=o+m,h>r||l.newline?(a+=s+i,o=0,h=m,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=a,d[1]=o,t===le?a=c+i:o=h+i)})}var i=t(oa),n=t(K),r=t("./number"),a=t("./format"),o=r[li],s=i.each,l={},u=l.LOCATION_PARAMS=["left","right","top",Cr,"width",Wr],c=l.HV_NAMES=[["width","left","right"],[Wr,"top",Cr]];
  return l.box=e,l.vbox=i.curry(e,h),l.hbox=i.curry(e,le),l.getAvailableSize=function(t,e,i){var n=e.width,r=e[Wr],s=o(t.x,n),l=o(t.y,r),u=o(t.x2,n),c=o(t.y2,r);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=n),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.y2)))&&(c=r),i=a.normalizeCssArray(i||0),{width:Math.max(u-s-i[1]-i[3],0),height:Math.max(c-l-i[0]-i[2],0)}},l[_n]=function(t,e,i){i=a.normalizeCssArray(i||0);var r=e.width,s=e[Wr],l=o(t.left,r),u=o(t.top,s),c=o(t.right,r),h=o(t[Cr],s),d=o(t.width,r),f=o(t[Wr],s),p=i[2]+i[0],v=i[1]+i[3],g=t.aspect;switch(isNaN(d)&&(d=r-c-v-l),isNaN(f)&&(f=s-h-p-u),isNaN(d)&&isNaN(f)&&(g>r/s?d=.8*r:f=.8*s),null!=g&&(isNaN(d)&&(d=g*f),isNaN(f)&&(f=d/g)),isNaN(l)&&(l=r-c-d-v),isNaN(u)&&(u=s-h-f-p),t.left||t.right){case mn:l=r/2-d/2-i[3];break;case"right":l=r-d-v}switch(t.top||t[Cr]){case yn:case mn:u=s/2-f/2-i[0];break;case Cr:u=s-f-p}l=l||0,u=u||0,isNaN(d)&&(d=r-l-(c||0)),isNaN(f)&&(f=s-u-(h||0));var m=new n(l+i[3],u+i[0],d,f);return m[vn]=i,m},l.positionElement=function(t,e,r,a,o){var s=!o||!o.hv||o.hv[0],u=!o||!o.hv||o.hv[1],c=o&&o.boundingMode||"all";if(s||u){var h;if("raw"===c)h="group"===t.type?new n(0,0,+e.width||0,+e[Wr]||0):t[wn]();else if(h=t[wn](),t.needLocalTransform()){var d=t[b]();h=h.clone(),h[ee](d)}e=l[_n](i[or]({width:h.width,height:h[Wr]},e),r,a);var f=t[gn],p=s?e.x-h.x:0,v=u?e.y-h.y:0;t.attr(gn,"raw"===c?[p,v]:[f[0]+p,f[1]+v])}},l.sizeCalculable=function(t,e){return null!=t[c[e][0]]||null!=t[c[e][1]]&&null!=t[c[e][2]]},l.mergeLayoutParam=function(t,e,n){function r(i,n){var r={},l=0,c={},h=0,d=2;if(s(i,function(e){c[e]=t[e]}),s(i,function(t){a(e,t)&&(r[t]=c[t]=e[t]),o(r,t)&&l++,o(c,t)&&h++}),u[n])return o(e,i[2])&&(c[i[1]]=null),o(e,i[1])&&(c[i[2]]=null),c;if(h!==d&&l){if(l>=d)return r;for(var f=0;f<i[Tr];f++){var p=i[f];if(!a(r,p)&&a(t,p)){r[p]=t[p];break}}return r}return c}function a(t,e){return t.hasOwnProperty(e)}function o(t,e){return null!=t[e]&&"auto"!==t[e]}function l(t,e,i){s(t,function(t){e[t]=i[t]})}!i[Br](n)&&(n={});var u=n.ignoreSize;!i[Gn](u)&&(u=[u,u]);var h=r(c[0],0),d=r(c[1],1);l(c[0],t,h),l(c[1],t,d)},l.getLayoutParams=function(t){return l.copyLayoutParams({},t)},l.copyLayoutParams=function(t,e){return e&&t&&s(u,function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t},l}),e("echarts/component/legend/LegendModel",[sa,oa,Ti,Ai],function(t){var e=t(oa),i=t(Ti),n=t(Ai)[On]({type:"legend",dependencies:[cr],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,i){this[q](t,i),t[Ae]=t[Ae]||{}},mergeOption:function(t){n[Ee](this,hn,t)},optionUpdated:function(){this._updateData(this[M]);var t=this._data;if(t[0]&&this.get("selectedMode")===g){for(var e=!1,i=0;i<t[Tr];i++){var n=t[i].get("name");if(this.isSelected(n)){this.select(n),e=!0;break}}!e&&this.select(t[0].get("name"))}},_updateData:function(t){var n=e.map(this.get("data")||[],function(t){return(typeof t===Ur||typeof t===zn)&&(t={name:t}),new i(t,this,this[M])},this);this._data=n;var r=e.map(t.getSeries(),function(t){return t.name});t[vr](function(t){if(t.legendDataProvider){var e=t.legendDataProvider();r=r[hr](e[ti](e[Ie]))}}),this._availableNames=r},getData:function(){return this._data},select:function(t){var i=this[fn][Ae],n=this.get("selectedMode");if(n===g){var r=this._data;e.each(r,function(t){i[t.get("name")]=!1})}i[t]=!0},unSelect:function(t){this.get("selectedMode")!==g&&(this[fn][Ae][t]=!1)},toggleSelected:function(t){var e=this[fn][Ae];e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},isSelected:function(t){var i=this[fn][Ae];return!(i.hasOwnProperty(t)&&!i[t])&&e[Ar](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,inactiveColor:"#ccc",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}});return n}),e("echarts/component/legend/legendAction",[sa,Ai,oa],function(t){function e(t,e,i){var r,a={},o="toggleSelected"===t;return i[Lr]("legend",function(i){o&&null!=r?i[r?"select":"unSelect"](e.name):(i[t](e.name),r=i.isSelected(e.name));var s=i[na]();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(Ai),n=t(oa);i[Nn]("legendToggleSelect","legendselectchanged",n.curry(e,"toggleSelected")),i[Nn]("legendSelect","legendselected",n.curry(e,"select")),i[Nn]("legendUnSelect","legendunselected",n.curry(e,"unSelect"))}),e("echarts/component/legend/LegendView",[sa,oa,se,Ci,"../helper/listComponent",Ai],function(t){function e(t,e){e[sr]({type:"legendToggleSelect",name:t})}function i(t,e,i){var n=i.getZr()[Ir].getDisplayList()[0];n&&n.useHoverLayer||t.get("legendHoverLink")&&i[sr]({type:"highlight",seriesName:t.name,name:e})}function n(t,e,i){var n=i.getZr()[Ir].getDisplayList()[0];n&&n.useHoverLayer||t.get("legendHoverLink")&&i[sr]({type:"downplay",seriesName:t.name,name:e})}var r=t(oa),a=t(se),o=t(Ci),s=t("../helper/listComponent"),l=r.curry;return t(Ai)[Vn]({type:"legend",init:function(){this._symbolTypeStore={}},render:function(t,a,u){var c=this.group;if(c[Ln](),t.get("show")){var d=t.get("selectedMode"),f=t.get("align");"auto"===f&&(f="right"===t.get("left")&&t.get(A)===h?"right":"left");var p={};r.each(t[na](),function(r){var s=r.get("name");if(""===s||"\n"===s)return void c.add(new o.Group({newline:!0}));var h=a.getSeriesByName(s)[0];if(!p[s])if(h){var v=h[na](),g=v[Mr]("color");typeof g===Bn&&(g=g(h[Un](0)));var m=v[Mr]("legendSymbol")||"roundRect",y=v[Mr](We),x=this._createItem(s,r,t,m,y,f,g,d);x.on("click",l(e,s,u)).on(tr,l(i,h,null,u)).on(Qn,l(n,h,null,u)),p[s]=!0}else a.eachRawSeries(function(a){if(!p[s]&&a.legendDataProvider){var o=a.legendDataProvider(),c=o.indexOfName(s);if(0>c)return;var h=o[_r](c,"color"),v="roundRect",g=this._createItem(s,r,t,v,null,f,h,d);g.on("click",l(e,s,u)).on(tr,l(i,a,s,u)).on(Qn,l(n,a,s,u)),p[s]=!0}},this)},this),s[ue](c,t,u),s.addBackground(c,t)}},_createItem:function(t,e,i,n,s,l,u,c){var h=i.get("itemWidth"),d=i.get("itemHeight"),f=i.get("inactiveColor"),p=i.isSelected(t),v=new o.Group,g=e[Er](Tn),m=e.get("icon"),y=e[Er]("tooltip"),x=y.parentModel;if(n=m||n,v.add(a[oe](n,0,0,h,d,p?u:f)),!m&&s&&(s!==n||"none"==s)){var _=.8*d;"none"===s&&(s=ea),v.add(a[oe](s,(h-_)/2,(d-_)/2,_,_,p?u:f))}var b="left"===l?h+5:-5,w=l,M=i.get(z),S=t;typeof M===Ur&&M?S=M[Hn]("{name}",null!=t?t:""):typeof M===Bn&&(S=M(t));var A=new o.Text({style:{text:S,x:b,y:d/2,fill:p?g[Mn]():f,textFont:g[Sn](),textAlign:w,textVerticalAlign:"middle"}});v.add(A);var T=new o.Rect({shape:v[wn](),invisible:!0,tooltip:y.get("show")?r[lr]({content:t,formatter:x.get(z,!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:i[Ni],name:t,$vars:["name"]}},y[fn]):null});return v.add(T),v.eachChild(function(t){t[Hr]=!0}),T[Hr]=!c,this.group.add(v),o[ui](v),v}})}),e("echarts/component/legend/legendFilter",[],function(){return function(t){var e=t.findComponents({mainType:"legend"});e&&e[Tr]&&t.filterSeries(function(t){for(var i=0;i<e[Tr];i++)if(!e[i].isSelected(t.name))return!1;return!0})}}),e("echarts/component/marker/MarkPointModel",[sa,"./MarkerModel"],function(t){return t("./MarkerModel")[lr]({type:"markPoint",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}}}})}),e("echarts/chart/treemap/TreemapView",[sa,oa,Ci,"../../data/DataDiffer",Yr,"./Breadcrumb","../../component/helper/RoamController",K,Kr,"../../util/animation",Ai],function(t){function e(){return{nodeGroup:[],background:[],content:[]}}function i(t,e,i,o,s,l,u,c,h,d){function f(e){V[br]=u[br],V[jn]=t[jn];var i=T[$],n=Math.max(C-2*i,0),r=Math.max(P-2*i,0);V.culling=!0,V[hi]({x:i,y:i,width:n,height:r});var o=u[Mr]("color",!0);g(V,function(){var t={fill:o},e=u[Er](di)[Cn]();m(t,e,o,n,r),V[Zn](t),a[ui](V,e)}),e.add(V)}function g(t,e){L?!t[Q]&&l.push(t):(e(),t.__tmWillVisible||(t[Q]=!1))}function m(e,i,n,r,a){var o=u[Er](),s=o.get("name");if(T.isLeafRoot){var l=t.get("drillDownIcon",!0);s=l?l+" "+s:s}y(s,e,o,x,n,r,a),y(s,i,o,_,n,r,a)}function y(t,e,i,n,r,o,s){var l=i[Er](n),u=l[Er](Tn);a[ae](e,l,r),e[An]=u.get("align"),e[cn]=u.get("baseline");var c=u.getTextRect(t);e.text=!l[Ge]("show")||c[Wr]>s?"":c.width>o?u.get("ellipsis")?u.truncateText(t,o,null,{minChar:2}):"":t}function b(t,r,a,o){var l=null!=I&&i[t][I],u=s[t];return l?(i[t][I]=null,M(u,l,t)):L||(l=new r({z:n(a,o)}),l.__tmDepth=a,l.__tmStorageName=t,A(u,l,t)),e[t][D]=l}function M(t,e,i){var n=t[D]={};n.old="nodeGroup"===i?e[gn].slice():r[lr]({},e.shape)}function A(t,e,i){var n=t[D]={},r=u[Y];if(r&&(!o||"drillDown"===o.direction)){var a=0,l=0,c=s.background[r[ye]()];!o&&c&&c.old&&(a=c.old.width,l=c.old[Wr]),n.old="nodeGroup"===i?[0,l]:{x:a,y:l,width:0,height:0}}n.fadein="nodeGroup"!==i}if(u){var T=u[te]();if(T&&T.isInView){var C=T.width,P=T[Wr],L=T[Q],D=u[ye](),I=c&&c[ye](),k=b("nodeGroup",p);if(k){if(h.add(k),k.attr(gn,[T.x||0,T.y||0]),k.__tmNodeWidth=C,k.__tmNodeHeight=P,T.isAboveViewRoot)return k;var z=b("background",v,d,w);z&&(z[hi]({x:0,y:0,width:C,height:P}),g(z,function(){z[Zn]("fill",u[Mr](he,!0))}),k.add(z));var R=u.viewChildren;if(!R||!R[Tr]){var V=b("content",v,d,S);V&&f(k)}return k}}}}function n(t,e){var i=t*b+e;return(i-1)/i}var r=t(oa),a=t(Ci),o=t("../../data/DataDiffer"),s=t(Yr),l=t("./Breadcrumb"),u=t("../../component/helper/RoamController"),c=t(K),h=t(Kr),d=t("../../util/animation"),f=r.bind,p=a.Group,v=a.Rect,g=r.each,y=3,x=["label",Mi],_=["label",ke],b=10,w=1,S=2;return t(Ai)[Rn]({type:"treemap",init:function(){this._containerGroup,this._storage=e(),this._oldTree,this._breadcrumb,this._controller,this._state="ready",this._mayClick},render:function(t,e,i,n){var a=e.findComponents({mainType:"series",subType:"treemap",query:n});if(!(r[Ar](a,t)<0)){this[wr]=t,this.api=i,this[M]=e;var o=s.retrieveTargetInfo(n,t),l=n&&n.type,u=t.layoutInfo,c=!this._oldTree,h=this._storage,d="treemapRootToNode"===l&&o&&h?{rootNodeGroup:h.nodeGroup[o.node[ye]()],direction:n.direction}:null,f=this._giveContainerGroup(u),p=this._doRender(f,t,d);c||l&&"treemapZoomToNode"!==l&&"treemapRootToNode"!==l?p.renderFinally():this._doAnimation(f,p,t,d),this._resetController(i),this._renderBreadcrumb(t,i,o)}},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new p,this._initEvents(e),this.group.add(e)),e.attr(gn,[t.x,t.y]),e},_doRender:function(t,n,a){function s(t,e,i,n,a){function l(t){return t.getId()}function u(r,o){var l=null!=r?t[r]:null,u=null!=o?e[o]:null,c=m(l,u,i,a);c&&s(l&&l.viewChildren||[],u&&u.viewChildren||[],c,n,a+1)}n?(e=t,g(t,function(t,e){!t.isRemoved()&&u(e,e)})):new o(e,t,l,l).add(u)[yr](u)[ur](r.curry(u,null))[bi]()}function l(t){var i=e();return t&&g(t,function(t,e){var n=i[e];g(t,function(t){t&&(n.push(t),t.__tmWillDelete=1)})}),i}function u(){g(y,function(t){g(t,function(t){t[un]&&t[un][ur](t)})}),g(v,function(t){t[Q]=!0,t.dirty()})}var c=n[na]().tree,h=this._oldTree,d=e(),f=e(),p=this._storage,v=[],m=r.curry(i,n,f,p,a,d,v);s(c.root?[c.root]:[],h&&h.root?[h.root]:[],t,c===h||!h,0);var y=l(p);return this._oldTree=c,this._storage=f,{lastsForAnimation:d,willDeleteEls:y,renderFinally:u}},_doAnimation:function(t,e,i,n){if(i.get(Fr)){var a=i.get("animationDurationUpdate"),o=i.get("animationEasing"),s=d.createWrap();g(e.willDeleteEls,function(t,e){g(t,function(t){if(!t[Q]){var i,r=t[un];if(n&&"drillDown"===n.direction)i=r===n.rootNodeGroup?{shape:{x:0,y:0,width:r.__tmNodeWidth,height:r.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var l=0,u=0;r.__tmWillDelete||(l=r.__tmNodeWidth/2,u=r.__tmNodeHeight/2),i="nodeGroup"===e?{position:[l,u],style:{opacity:0}}:{shape:{x:l,y:u,width:0,height:0},style:{opacity:0}}}i&&s.add(t,i,a,o)}})}),g(this._storage,function(t,i){g(t,function(t,n){var l=e.lastsForAnimation[i][n],u={};l&&("nodeGroup"===i?l.old&&(u[gn]=t[gn].slice(),t.attr(gn,l.old)):(l.old&&(u.shape=r[lr]({},t.shape),t[hi](l.old)),l.fadein?(t[Zn](pn,0),u.style={opacity:1}):1!==t.style[pn]&&(u.style={opacity:1})),s.add(t,u,a,o))})},this),this._state="animating",s.done(f(function(){this._state="ready",e.renderFinally()},this)).start()}},_resetController:function(t){var e=this._controller;e||(e=this._controller=new u(t.getZr()),e.enable(this[wr].get("roam")),e.on("pan",f(this._onPan,this)),e.on("zoom",f(this._onZoom,this)));var i=new c(0,0,t[Or](),t[Vr]());e.setContainsPoint(function(t,e){return i[ln](t,e)})},_clearController:function(){var t=this._controller;t&&(t[ir](),t=null)},_onPan:function(t,e){if(this._mayClick=!1,"animating"!==this._state&&(Math.abs(t)>y||Math.abs(e)>y)){var i=this[wr][na]().tree.root;if(!i)return;var n=i[te]();if(!n)return;this.api[sr]({type:"treemapMove",from:this.uid,seriesId:this[wr].id,rootRect:{x:n.x+t,y:n.y+e,width:n.width,height:n[Wr]}})}},_onZoom:function(t,e,i){if(this._mayClick=!1,"animating"!==this._state){var n=this[wr][na]().tree.root;if(!n)return;var r=n[te]();if(!r)return;var a=new c(r.x,r.y,r.width,r[Wr]),o=this[wr].layoutInfo;e-=o.x,i-=o.y;var s=h[xr]();h[m](s,s,[-e,-i]),h.scale(s,s,[t,t]),h[m](s,s,[e,i]),a[ee](s),this.api[sr]({type:"treemapRender",from:this.uid,seriesId:this[wr].id,rootRect:{x:a.x,y:a.y,width:a.width,height:a[Wr]}})}},_initEvents:function(t){function e(t){var e=this[wr].get("nodeClick",!0);if(e){var i=this.findTarget(t[G],t[B]);if(i){var n=i.node;if(n[te]().isLeafRoot)this._rootToNode(i);else if("zoomToNode"===e)this._zoomToNode(i);else if("link"===e){var r=n.hostTree.data[_i](n[br]),a=r.get("link",!0),o=r.get(Yn,!0)||"blank";a&&window.open(a,o)}}}}t.on(Kn,function(){"ready"===this._state&&(this._mayClick=!0)},this),t.on($n,function(t){this._mayClick&&(this._mayClick=!1,"ready"===this._state&&e.call(this,t))},this)},_renderBreadcrumb:function(t,e,i){function n(e){"animating"!==this._state&&(s.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))}i||(i=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e[Or]()/2,e[Vr]()/2),i||(i={node:t[na]().tree.root})),(this._breadcrumb||(this._breadcrumb=new l(this.group)))[dr](t,e,i.node,f(n,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup[Ln](),this._storage=e(),this._state="ready",this._breadcrumb&&this._breadcrumb[ur]()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api[sr]({type:"treemapZoomToNode",from:this.uid,seriesId:this[wr].id,targetNode:t.node})},_rootToNode:function(t){this.api[sr]({type:"treemapRootToNode",from:this.uid,seriesId:this[wr].id,targetNode:t.node})},findTarget:function(t,e){var i,n=this[wr].getViewRoot();return n[H]({attr:"viewChildren",order:"preorder"},function(n){var r=this._storage.background[n[ye]()];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[Wr]))return!1;i={node:n,offsetX:a[0],offsetY:a[1]}}},this),i}})}),e("echarts/component/tooltip/TooltipModel",[sa,Ai],function(t){t(Ai)[On]({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:8,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}})}),e("echarts/component/tooltip/TooltipView",[sa,"./TooltipContent",oa,pe,ge,"../axisPointer/findPointFromSeries",Ji,Qr,Ti,"../axisPointer/globalListener",Ki,"../axisPointer/viewHelper",Ai],function(t){function e(t){for(var e=t.pop();t[Tr];){var i=t.pop();i&&(i instanceof v&&(i=i.get("tooltip",!0)),typeof i===Ur&&(i={formatter:i}),e=new v(i,e,e[M]))}return e}function i(t,e){return t[sr]||l.bind(e[sr],e)}function n(t,e,i,n,r,a,o){var s=i.clientWidth,l=i.clientHeight;return t+s+a>n?t-=s+a:t+=a,e+l+o>r?e-=l+o:e+=o,[t,e]}function r(t,e,i,n,r){var a=i.clientWidth,o=i.clientHeight;return t=Math.min(t+a,n)-a,e=Math.min(e+o,r)-o,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function a(t,e,i){var n=i[0],r=i[1],a=5,o=0,s=0,l=e.width,u=e[Wr];switch(t){case Le:o=e.x+l/2-n/2,s=e.y+u/2-r/2;break;case"top":o=e.x+l/2-n/2,s=e.y-r-a;break;case Cr:o=e.x+l/2-n/2,s=e.y+u+a;break;case"left":o=e.x-n-a,s=e.y+u/2-r/2;break;case"right":o=e.x+l+a,s=e.y+u/2-r/2}return[o,s]}function o(t){return t===mn||t===yn}var s=t("./TooltipContent"),l=t(oa),u=t(pe),h=t(ge),d=t("../axisPointer/findPointFromSeries"),f=t(Ji),p=t(Qr),v=t(Ti),g=t("../axisPointer/globalListener"),m=t(Ki),y=t("../axisPointer/viewHelper"),x=l.bind,_=l.each,b=h[li];t(Ai)[Vn]({type:"tooltip",init:function(t,e){if(!p.node){var i=new s(e.getDom(),e);this._tooltipContent=i}},render:function(t,e,i){if(!p.node){this.group[Ln](),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys,this._alwaysShowContent=t.get("alwaysShowContent");var n=this._tooltipContent;n[yr](),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel,e=t.get("triggerOn");g[En]("itemTooltip",this._api,x(function(t,i,n){"none"!==e&&(e[Ar](t)>=0?this._tryShow(i,n):"leave"===t&&this._hide(n))},this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){n.manuallyShowTip(t,e,i,{x:n._lastX,y:n._lastY})})}},manuallyShowTip:function(t,e,n,r){if(r.from!==this.uid&&!p.node){var a=i(r,n);this._ticket="";var o=r[jn],s=r.dataByCoordSys;if(s)this._tryShow({offsetX:r.x,offsetY:r.y,position:r[gn],event:{},dataByCoordSys:r.dataByCoordSys,tooltipOption:r.tooltipOption},a);else if(null!=o){var l=d(r,e),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:r[gn],target:l.el,event:{}},a)}else null!=r.x&&null!=r.y&&this._tryShow({offsetX:r.x,offsetY:r.y,position:r[gn],target:n.getZr().handler.findHover(r.x,r.y),event:{}},a)}},manuallyHideTip:function(t,e,n,r){var a=this._tooltipContent;this._alwaysShowContent||a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,r.from!==this.uid&&this._hide(i(r,n))},_tryShow:function(t,e){var i=t[Yn],n=this._tooltipModel;if(n){this._lastX=t[G],this._lastY=t[B];var r=t.dataByCoordSys;r&&r[Tr]?this._showAxisTooltip(r,t):i&&null!=i[br]?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,i,e)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,i,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var i=t.get("showDelay");e=l.bind(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},_showAxisTooltip:function(t,i){var n=this._ecModel,r=this._tooltipModel,a=[i[G],i[B]],o=[],s=[],h=e([i.tooltipOption,r]);_(t,function(t){_(t.dataByAxis,function(t){var e=n[X](t.axisDim+"Axis",t[c]),i=t.value,r=[];if(e&&null!=i){var a=y.getValueLabel(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt);l.each(t.seriesDataIndices,function(o){var l=n[Xn](o[jn]),u=o.dataIndexInside,h=l&&l[Un](u);h.axisDim=t.axisDim,h[c]=t[c],h.axisType=t.axisType,h.axisId=t.axisId,h.axisValue=m.getAxisRawValue(e.axis,i),h.axisValueLabel=a,h&&(s.push(h),r.push(l.formatTooltip(u,!0)))});var h=a;o.push((h?u[fe](h)+"<br />":"")+r.join("<br />"))}})},this),o[Qe](),o=o.join("<br /><br />");var d=i[gn];this._showOrMove(h,function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(h,d,a[0],a[1],this._tooltipContent,s):this._showTooltipContent(h,o,s,Math.random(),a[0],a[1],d)})},_showSeriesItemTooltip:function(t,i,n){var r=this._ecModel,a=i[jn],o=r[Xn](a),s=i.dataModel||o,l=i[br],u=i[qn],c=s[na](),h=e([c[_i](l),s,o&&(o[Sr]||{}).model,this._tooltipModel]),d=h.get(nr);if(null==d||"item"===d){var f=s[Un](l,u),p=s.formatTooltip(l,!1,u),v="item_"+s.name+"_"+l;this._showOrMove(h,function(){this._showTooltipContent(h,p,f,v,t[G],t[B],t[gn],t[Yn])}),n({type:"showTip",dataIndexInside:l,dataIndex:c[ye](l),seriesIndex:a,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var n=e.tooltip;if(typeof n===Ur){var r=n;n={content:r,formatter:r}}var a=new v(n,this._tooltipModel,this._ecModel),o=a.get("content"),s=Math.random();this._showOrMove(a,function(){this._showTooltipContent(a,o,a.get("formatterParams")||{},s,t[G],t[B],t[gn],e)}),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,n,r,a,o,s){if(this._ticket="",t.get("showContent")&&t.get("show")){var l=this._tooltipContent,c=t.get(z);o=o||t.get(gn);var h=e;if(c&&typeof c===Ur)h=u.formatTpl(c,i,!0);else if(typeof c===Bn){var d=x(function(e,n){e===this._ticket&&(l.setContent(n),this._updatePosition(t,o,r,a,l,i,s))},this);this._ticket=n,h=c(i,n,d)}l.setContent(h),l.show(t),this._updatePosition(t,o,r,a,l,i,s)}},_updatePosition:function(t,e,i,s,u,c,h){var d=this._api[Or](),p=this._api[Vr]();e=e||t.get(gn);var v=u.getSize(),g=t.get("align"),m=t.get("verticalAlign"),y=h&&h[wn]().clone();if(h&&y[ee](h[ie]),typeof e===Bn&&(e=e([i,s],c,u.el,y,{viewSize:[d,p],contentSize:v.slice()})),l[Gn](e))i=b(e[0],d),s=b(e[1],p);else if(l[Br](e)){e.width=v[0],e[Wr]=v[1];var x=f[_n](e,{width:d,height:p});i=x.x,s=x.y,g=null,m=null}else if(typeof e===Ur&&h){var _=a(e,y,v);i=_[0],s=_[1]}else{var _=n(i,s,u.el,d,p,g?0:20,m?0:20);i=_[0],s=_[1]}if(g&&(i-=o(g)?v[0]/2:"right"===g?v[0]:0),m&&(s-=o(m)?v[1]/2:m===Cr?v[1]:0),t.get("confine")){var _=r(i,s,u.el,d,p);i=_[0],s=_[1]}u[D](i,s)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e[Tr]===t[Tr];return _(e,function(e,n){var r=e.dataByAxis||{},a=t[n]||{},o=a.dataByAxis||[];i&=r[Tr]===o[Tr],_(r,function(t,e){var n=o[e]||{},r=t.seriesDataIndices||[],a=n.seriesDataIndices||[];i&=t.value===n.value&&t.axisType===n.axisType&&t.axisId===n.axisId&&r[Tr]===a[Tr],_(r,function(t,e){var n=a[e];i&=t[jn]===n[jn]&&t[br]===n[br]})})}),this._lastDataByCoordSys=t,!!i},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){p.node||(this._tooltipContent.hide(),g.unregister("itemTooltip",e))}})}),e("echarts/component/marker/MarkPointView",[sa,"../../chart/helper/SymbolDraw",oa,ge,Be,"./markerHelper","./MarkerView"],function(t){function e(t,e,i){var n=e[Sr];t.each(function(r){var o,s=t[_i](r),l=a[li](s.get("x"),i[Or]()),u=a[li](s.get("y"),i[Vr]());if(isNaN(l)||isNaN(u)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t[Pi],r));else if(n){var c=t.get(n[Pi][0],r),h=t.get(n[Pi][1],r);o=n[Zi]([c,h])}}else o=[l,u];isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u),t[ri](r,o)})}function i(t,e,i){var n;n=t?r.map(t&&t[Pi],function(t){var i=e[na]().getDimensionInfo(e[Ri](t)[0])||{};return i.name=t,i}):[{name:"value",type:"float"}];var a=new o(n,i),l=r.map(i.get("data"),r.curry(s.dataTransform,e));return t&&(l=r[kn](l,r.curry(s.dataFilter,t))),a[Oe](l,null,t?s.dimValueGetter:function(t){return t.value}),a}var n=t("../../chart/helper/SymbolDraw"),r=t(oa),a=t(ge),o=t(Be),s=t("./markerHelper");t("./MarkerView")[lr]({type:"markPoint",updateLayout:function(t,i,n){i[vr](function(t){var i=t.markPointModel;i&&(e(i[na](),t,n),this.markerGroupMap[t.name][pr](i))},this)},renderSeries:function(t,r,a,o){var s=t[Sr],l=t.name,u=t[na](),c=this.markerGroupMap,h=c[l];h||(h=c[l]=new n);var d=i(s,t,r);r.setData(d),e(r[na](),t,o),d.each(function(t){var e=d[_i](t),i=e[Ge](Ze);typeof i===Bn&&(i=i(r[Fe](t),r[Un](t))),d[He](t,{symbolSize:i,color:e.get(me)||u[Mr]("color"),symbol:e[Ge](We)})}),h[Je](d),this.group.add(h.group),d[gi](function(t){t[Wn](function(t){t.dataModel=r})}),h.__keep=!0,h.group[Hr]=r.get(Hr)||t.get(Hr)}})}),e("echarts/component/marker/MarkLineModel",[sa,"./MarkerModel"],function(t){return t("./MarkerModel")[lr]({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:[ea,"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"}})}),e("echarts/component/marker/MarkLineView",[sa,oa,Be,ge,"./markerHelper","../../chart/helper/LineDraw","./MarkerView"],function(t){function e(t){return!isNaN(t)&&!isFinite(t)}function i(t,i,n,r){var a=1-t,o=r[Pi][t];return e(i[a])&&e(n[a])&&i[t]===n[t]&&r[Wi](o).containData(i[t])}function n(t,e){if(t.type===Li){var n=e[0].coord,r=e[1].coord;if(n&&r&&(i(1,n,r,t)||i(0,n,r,t)))return!0}return u.dataFilter(t,e[0])&&u.dataFilter(t,e[1])}function r(t,i,n,r,a){var o,s=r[Sr],u=t[_i](i),c=l[li](u.get("x"),a[Or]()),h=l[li](u.get("y"),a[Vr]());if(isNaN(c)||isNaN(h)){if(r.getMarkerPosition)o=r.getMarkerPosition(t.getValues(t[Pi],i));else{var d=s[Pi],f=t.get(d[0],i),p=t.get(d[1],i);o=s[Zi]([f,p])}if(s.type===Li){var v=s[Wi]("x"),g=s[Wi]("y"),d=s[Pi];e(t.get(d[0],i))?o[0]=v[Fi](v[on]()[n?0:1]):e(t.get(d[1],i))&&(o[1]=g[Fi](g[on]()[n?0:1]))}isNaN(c)||(o[0]=c),isNaN(h)||(o[1]=h)}else o=[c,h];t[ri](i,o)}function a(t,e,i){var r;r=t?o.map(t&&t[Pi],function(t){var i=e[na]().getDimensionInfo(e[Ri](t)[0])||{};return i.name=t,i}):[{name:"value",type:"float"}];var a=new s(r,i),l=new s(r,i),c=new s([],i),d=o.map(i.get("data"),o.curry(h,e,t,i));t&&(d=o[kn](d,o.curry(n,t)));var f=t?u.dimValueGetter:function(t){return t.value};return a[Oe](o.map(d,function(t){return t[0]}),null,f),l[Oe](o.map(d,function(t){return t[1]}),null,f),c[Oe](o.map(d,function(t){return t[2]})),c[ne]=!0,{from:a,to:l,line:c}}var o=t(oa),s=t(Be),l=t(ge),u=t("./markerHelper"),c=t("../../chart/helper/LineDraw"),h=function(t,e,i,n){var r=t[na](),a=n.type;if(!o[Gn](n)&&("min"===a||"max"===a||"average"===a||null!=n.xAxis||null!=n.yAxis)){var s,l,c;if(null!=n.yAxis||null!=n.xAxis)l=null!=n.yAxis?"y":"x",s=e[Wi](l),c=o[Di](n.yAxis,n.xAxis);else{var h=u.getAxisInfo(n,r,e,t);l=h.valueDataDim,s=h.valueAxis,c=u.numCalculate(r,l,a)}var d="x"===l?0:1,f=1-d,p=o.clone(n),v={};p.type=null,p.coord=[],v.coord=[],p.coord[f]=-1/0,v.coord[f]=1/0;var g=i.get("precision");g>=0&&typeof c===zn&&(c=+c[Re](g)),p.coord[d]=v.coord[d]=c,n=[p,v,{type:a,valueIndex:n.valueIndex,value:c}]}return n=[u.dataTransform(t,n[0]),u.dataTransform(t,n[1]),o[lr]({},n[2])],n[2].type=n[2].type||"",o.merge(n[2],n[0]),o.merge(n[2],n[1]),n};t("./MarkerView")[lr]({type:"markLine",updateLayout:function(t,e,i){e[vr](function(t){var e=t.markLineModel;if(e){var n=e[na](),a=e.__from,o=e.__to;a.each(function(e){r(a,e,!0,t,i),r(o,e,!1,t,i)}),n.each(function(t){n[ri](t,[a[pi](t),o[pi](t)])}),this.markerGroupMap[t.name][pr]()}},this)},renderSeries:function(t,e,i,n){function s(e,i,a){var o=e[_i](i);r(e,i,a,t,n),e[He](i,{symbolSize:o.get(Ze)||x[a?0:1],symbol:o.get(We,!0)||y[a?0:1],color:o.get(me)||h[Mr]("color")})}var l=t[Sr],u=t.name,h=t[na](),d=this.markerGroupMap,f=d[u];f||(f=d[u]=new c),this.group.add(f.group);var p=a(l,t,e),v=p.from,g=p.to,m=p.line;e.__from=v,e.__to=g,e.setData(m);var y=e.get(We),x=e.get(Ze);o[Gn](y)||(y=[y,y]),typeof x===zn&&(x=[x,x]),p.from.each(function(t){s(v,t,!0),s(g,t,!1)}),m.each(function(t){var e=m[_i](t).get("lineStyle.normal.color");m[He](t,{color:e||v[_r](t,"color")}),m[ri](t,[v[pi](t),g[pi](t)]),m[He](t,{fromSymbolSize:v[_r](t,Ze),fromSymbol:v[_r](t,We),toSymbolSize:g[_r](t,Ze),toSymbol:g[_r](t,We)})}),f[Je](m),p.line[gi](function(t){t[Wn](function(t){t.dataModel=e})}),f.__keep=!0,f.group[Hr]=e.get(Hr)||t.get(Hr)}})}),e("echarts/component/marker/MarkAreaModel",[sa,"./MarkerModel"],function(t){return t("./MarkerModel")[lr]({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{normal:{show:!0,position:"top"},emphasis:{show:!0,position:"top"}},itemStyle:{normal:{borderWidth:0}}}})}),e("echarts/component/marker/MarkAreaView",[sa,oa,Be,ge,Ci,Jr,"./markerHelper","./MarkerView"],function(t){function e(t){return!isNaN(t)&&!isFinite(t)}function i(t,i,n){var r=1-t;return e(i[r])&&e(n[r])}function n(t,e){var n=e.coord[0],r=e.coord[1];return t.type===Li&&n&&r&&(i(1,n,r,t)||i(0,n,r,t))?!0:h.dataFilter(t,{coord:n,x:e.x0,y:e.y0})||h.dataFilter(t,{coord:r,x:e.x1,y:e.y1})}function r(t,i,n,r,a){var o,s=r[Sr],u=t[_i](i),c=l[li](u.get(n[0]),a[Or]()),h=l[li](u.get(n[1]),a[Vr]());if(isNaN(c)||isNaN(h)){if(r.getMarkerPosition)o=r.getMarkerPosition(t.getValues(n,i));else{var d=t.get(n[0],i),f=t.get(n[1],i);o=s[Zi]([d,f],!0)}if(s.type===Li){var p=s[Wi]("x"),v=s[Wi]("y"),d=t.get(n[0],i),f=t.get(n[1],i);e(d)?o[0]=p[Fi](p[on]()["x0"===n[0]?0:1]):e(f)&&(o[1]=v[Fi](v[on]()["y0"===n[1]?0:1]))}isNaN(c)||(o[0]=c),isNaN(h)||(o[1]=h)}else o=[c,h];return o}function a(t,e,i){var r,a,l=["x0","y0","x1","y1"];t?(r=o.map(t&&t[Pi],function(t){var i=e[na]().getDimensionInfo(e[Ri](t)[0])||{};return i.name=t,i}),a=new s(o.map(l,function(t,e){return{name:t,type:r[e%2].type}}),i)):(r=[{name:"value",type:"float"}],a=new s(r,i));var u=o.map(i.get("data"),o.curry(d,e,t,i));t&&(u=o[kn](u,o.curry(n,t)));var c=t?function(t,e,i,n){return t.coord[Math.floor(n/2)][n%2]}:function(t){return t.value};return a[Oe](u,null,c),a[ne]=!0,a}var o=t(oa),s=t(Be),l=t(ge),u=t(Ci),c=t(Jr),h=t("./markerHelper"),d=function(t,e,i,n){var r=h.dataTransform(t,n[0]),a=h.dataTransform(t,n[1]),s=o[Di],l=r.coord,u=a.coord;l[0]=s(l[0],-1/0),l[1]=s(l[1],-1/0),u[0]=s(u[0],1/0),u[1]=s(u[1],1/0);var c=o.mergeAll([{},r,a]);return c.coord=[r.coord,a.coord],c.x0=r.x,c.y0=r.y,c.x1=a.x,c.y1=a.y,c},f=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];t("./MarkerView")[lr]({type:"markArea",updateLayout:function(t,e,i){e[vr](function(t){var e=t.markAreaModel;if(e){var n=e[na]();n.each(function(e){var a=o.map(f,function(a){return r(n,e,a,t,i)});n[ri](e,a);var s=n[yi](e);s[hi](qe,a)})}},this)},renderSeries:function(t,e,i,n){var s=t[Sr],l=t.name,h=t[na](),d=this.markerGroupMap,p=d[l];p||(p=d[l]={group:new u.Group}),this.group.add(p.group),p.__keep=!0;var v=a(s,t,e);e.setData(v),v.each(function(e){v[ri](e,o.map(f,function(i){return r(v,e,i,t,n)})),v[He](e,{color:h[Mr]("color")})}),v.diff(p.__data).add(function(t){var e=new u[je]({shape:{points:v[pi](t)}});v[xi](t,e),p.group.add(e)})[yr](function(t,i){var n=p.__data[yi](i);u[mi](n,{shape:{points:v[pi](t)}},e,t),p.group.add(n),v[xi](t,n)})[ur](function(t){var e=p.__data[yi](t);p.group[ur](e)})[bi](),v[gi](function(t,i){var n=v[_i](i),r=n[Er](we),a=n[Er](be),s=v[_r](i,"color");t[ci](o[or](n[Er](fi)[Cn](),{fill:c.modifyAlpha(s,.4),stroke:s})),t[Te]=n[Er](fi)[Cn]();var l=v[Ie](i)||"",h=s||t.style.fill;r[Ge]("show")?(u[ae](t.style,r,h),t.style.text=o[Di](e[Pe](i,Mi),l)):t.style.text="",a[Ge]("show")?(u[ae](t[Te],a,h),t[Te].text=o[Di](e[Pe](i,ke),l)):t[Te].text="",u[ui](t,{}),t.dataModel=e}),p.__data=v,p.group[Hr]=e.get(Hr)||t.get(Hr)}})}),e("echarts/component/timeline/preprocessor",[sa,oa],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,gn)||(o[gn]=t.controlPosition),"none"!==o[gn]||n(o,"show")||(o.show=!1,delete o[gn]),delete t.controlPosition}r.each(t.data||[],function(t){r[Br](t)&&!r[Gn](t)&&(!n(t,"value")&&n(t,"name")&&(t.value=t.name),i(t))})}function i(t){var e=t[Si]||(t[Si]={}),i=e[ke]||(e[ke]={}),a=t.label||t.label||{},o=a[Mi]||(a[Mi]={}),s={normal:1,emphasis:1};r.each(a,function(t,e){s[e]||n(o,e)||(o[e]=t)}),i.label&&!n(a,ke)&&(a[ke]=i.label,delete i.label)}function n(t,e){return t.hasOwnProperty(e)}var r=t(oa);return function(t){var i=t&&t.timeline;r[Gn](i)||(i=i?[i]:[]),r.each(i,function(t){t&&e(t)})}}),e("echarts/component/timeline/typeDefaulter",[sa,d],function(t){t(d).registerSubTypeDefaulter("timeline",function(){return"slider"})}),e("echarts/component/timeline/timelineAction",[sa,Ai,oa],function(t){var e=t(Ai),i=t(oa);e[Nn]({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,e){var n=e[X]("timeline");
  return n&&null!=t.currentIndex&&(n.setCurrentIndex(t.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),e.resetOption("timeline"),i[or]({currentIndex:n[fn].currentIndex},t)}),e[Nn]({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,e){var i=e[X]("timeline");i&&null!=t.playState&&i.setPlayState(t.playState)})}),e("echarts/component/timeline/SliderTimelineModel",[sa,"./TimelineModel",oa,ii],function(t){var e=t("./TimelineModel"),i=t(oa),n=t(ii),r=e[lr]({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",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:[]}});return i.mixin(r,n.dataFormatMixin),r}),e("echarts/component/timeline/SliderTimelineView",[sa,oa,Ci,Ji,"./TimelineView","./TimelineAxis",se,Ki,K,Kr,ge,pe],function(t){function e(t,e){return s[_n](t[bn](),{width:e[Or](),height:e[Vr]()},t.get(xn))}function i(t,e,i,n){var r=o.makePath(t.get(e)[Hn](/^path:\/\//,""),a.clone(n||{}),new f(i[0],i[1],i[2],i[3]),mn);return r}function n(t,e,i,n,r,o){var s=e.get("color");if(r)r.setColor(s),i.add(r),o&&o.onUpdate(r);else{var l=t.get(We);r=c[oe](l,-1,-1,2,2,s),r[Zn]("strokeNoScale",!0),i.add(r),o&&o.onCreate(r)}var u=e[Cn](["color",We,Ze]);r[Zn](u),n=a.merge({rectHover:!0,z2:100},n,!0);var h=t.get(Ze);h=h instanceof Array?h.slice():[+h,+h],h[0]/=2,h[1]/=2,n.scale=h;var d=t.get("symbolOffset");if(d){var f=n[gn]=n[gn]||[0,0];f[0]+=v[li](d[0],h[0]),f[1]+=v[li](d[1],h[1])}var p=t.get("symbolRotate");return n[Me]=(p||0)*Math.PI/180||0,r.attr(n),r[x](),r}function r(t,e,i,n,r){if(!t.dragging){var a=n[Er]("checkpointStyle"),o=i[Hi](n[na]().get(["value"],e));r||!a.get(Fr,!0)?t.attr({position:[o,0]}):(t[Dr](!0),t[Se]({position:[o,0]},a.get("animationDuration",!0),a.get("animationEasing",!0)))}}var a=t(oa),o=t(Ci),s=t(Ji),l=t("./TimelineView"),u=t("./TimelineAxis"),c=t(se),d=t(Ki),f=t(K),p=t(Kr),v=t(ge),g=t(pe),_=g[fe],w=a.bind,S=a.each,T=Math.PI;return l[lr]({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[M]=e,this.group[Ln](),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.formatTooltip=function(t){return _(o.scale[rn](t))},S(["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[Ln]()},dispose:function(){this._clearTimer()},_layout:function(t,i){var n=t.get("label.normal.position"),r=t.get(A),a=e(t,i);null==n||"auto"===n?n=r===le?a.y+a[Wr]/2<i[Vr]()/2?"-":"+":a.x+a.width/2<i[Or]()/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":Cr,vertical:"middle"},l={horizontal:0,vertical:T/2},u=r===h?a[Wr]:a.width,c=t[Er]("controlStyle"),d=c.get("show"),f=d?c.get("itemSize"):0,p=d?c.get("itemGap"):0,v=f+p,g=t.get("label.normal.rotate")||0;g=g*T/180;var m,y,x,_,b=c.get(gn,!0),d=c.get("show",!0),w=d&&c.get("showPlayBtn",!0),M=d&&c.get("showPrevBtn",!0),S=d&&c.get("showNextBtn",!0),C=0,P=u;return"left"===b||b===Cr?(w&&(m=[0,0],C+=v),M&&(y=[C,0],C+=v),S&&(x=[P-f,0],P-=v)):(w&&(m=[P-f,0],P-=v),M&&(y=[0,0],C+=v),S&&(x=[P-f,0],P-=v)),_=[C,P],t.get(qi)&&_[Qe](),{viewRect:a,mainLength:u,orient:r,rotation:l[r],labelRotation:g,labelPosOpt:n,labelAlign:o[r],labelBaseline:s[r],playPosition:m,prevBtnPosition:y,nextBtnPosition:x,axisExtent:_,controlSize:f,controlGap:p}},_position:function(t){function e(t){var e=t[gn];t.origin=[c[0][0]-e[0],c[1][0]-e[1]]}function i(t){return[[t.x,t.x+t.width],[t.y,t.y+t[Wr]]]}function n(t,e,i,n,r){t[n]+=i[n][r]-e[n][r]}var r=this._mainGroup,a=this._labelGroup,o=t.viewRect;if(t[A]===h){var s=p[xr](),l=o.x,u=o.y+o[Wr];p[m](s,s,[-l,-u]),p[y](s,s,-T/2),p[m](s,s,[l,u]),o=o.clone(),o[ee](s)}var c=i(o),d=i(r[wn]()),f=i(a[wn]()),v=r[gn],g=a[gn];g[0]=v[0]=c[0][0];var x=t.labelPosOpt;if(isNaN(x)){var _="+"===x?0:1;n(v,d,c,1,_),n(g,f,c,1,1-_)}else{var _=x>=0?0:1;n(v,d,c,1,_),g[1]=v[1]+x}r.attr(gn,v),a.attr(gn,g),r[Me]=a[Me]=t[Me],e(r),e(a)},_createAxis:function(t,e){var i=e[na](),n=e.get("axisType"),r=d[Ei](e,n),a=i[en]("value");r[nn](a[0],a[1]),this._customizeScale(r,i),r.niceTicks();var o=new u("value",r,t.axisExtent,n);return o.model=e,o},_customizeScale:function(t,e){t[an]=function(){return e[ti](["value"],function(t){return t})},t.getTicksLabels=function(){return a.map(this[an](),t[rn],t)}},_createGroup:function(t){var e=this["_"+t]=new o.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,i,n){var r=i[on]();n.get("lineStyle.show")&&e.add(new o.Line({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:a[lr]({lineCap:"round"},n[Er](_e)[Ke]()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,i,r){var a=r[na](),s=i.scale[an]();S(s,function(t,s){var l=i[Hi](t),u=a[_i](s),c=u[Er](fi),h=u[Er](di),d={position:[l,0],onclick:w(this._changeTimeline,this,s)},f=n(u,c,e,d);o[ui](f,h[Cn]()),u.get("tooltip")?(f[br]=s,f.dataModel=r):f[br]=f.dataModel=null},this)},_renderAxisLabel:function(t,e,i,n){var r=n[Er](we);if(r.get("show")){var a=n[na](),s=i.scale[an](),l=d[Xi](i,r.get(z)),u=i.getLabelInterval();S(s,function(n,r){if(!i.isLabelIgnored(r,u)){var s=a[_i](r),c=s[Er]("label.normal.textStyle"),h=s[Er]("label.emphasis.textStyle"),d=i[Hi](n),f=new o.Text({style:{text:l[r],textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline,textFont:c[Sn](),fill:c[Mn]()},position:[d,0],rotation:t.labelRotation-t[Me],onclick:w(this._changeTimeline,this,r),silent:!1});e.add(f),o[ui](f,h[Cn]())}},this)}},_renderControl:function(t,e,n,r){function a(t,n,a,d){if(t){var f={position:t,origin:[s/2,0],rotation:d?-l:0,rectHover:!0,style:u,onclick:a},p=i(r,n,h,f);e.add(p),o[ui](p,c)}}var s=t.controlSize,l=t[Me],u=r[Er]("controlStyle.normal")[Cn](),c=r[Er]("controlStyle.emphasis")[Cn](),h=[0,-s/2,s,s],d=r.getPlayState(),f=r.get(qi,!0);a(t.nextBtnPosition,"controlStyle.nextIcon",w(this._changeTimeline,this,f?"-":"+")),a(t.prevBtnPosition,"controlStyle.prevIcon",w(this._changeTimeline,this,f?"+":"-")),a(t.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),w(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(t,e,i,a){var o=a[na](),s=a.getCurrentIndex(),l=o[_i](s)[Er]("checkpointStyle"),u=this,c={onCreate:function(t){t[Z]=!0,t.drift=w(u._handlePointerDrag,u),t.ondragend=w(u._handlePointerDragend,u),r(t,s,i,a,!0)},onUpdate:function(t){r(t,s,i,a)}};this._currentPointer=n(l,l,this._mainGroup,{},this._currentPointer,c)},_handlePlayClick:function(t){this._clearTimer(),this.api[sr]({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,i){this._clearTimer(),this._pointerChangeTimeline([i[G],i[B]])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t[G],t[B]],!0)},_pointerChangeTimeline:function(t,e){var i=this._toAxisCoord(t)[0],n=this._axis,r=v.asc(n[on]().slice());i>r[1]&&(i=r[1]),i<r[0]&&(i=r[0]),this._currentPointer[gn][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(w(t,this),this.model.get("playInterval")))},_toAxisCoord:function(t){var e=this._mainGroup[b]();return o[ee](t,e,!0)},_findNearestTick:function(t){var e,i=this.model[na](),n=1/0,r=this._axis;return i.each(["value"],function(i,a){var o=r[Hi](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[sr]({type:"timelineChange",currentIndex:t,from:this.uid})}})}),e("echarts/component/dataZoom/typeDefaulter",[sa,d],function(t){t(d).registerSubTypeDefaulter("dataZoom",function(){return"slider"})}),e("echarts/component/dataZoom/DataZoomModel",[sa,oa,Qr,Ai,ii,Yr,"./AxisProxy"],function(t){function e(t){var e={};return u(["start","end","startValue","endValue","throttle"],function(i){t.hasOwnProperty(i)&&(e[i]=t[i])}),e}function i(t,e){u([["start","startValue"],["end","endValue"]],function(i,n){var r=t._rangePropMode;null!=e[i[0]]?r[n]=Ve:null!=e[i[1]]&&(r[n]="value")})}var n=t(oa),r=t(Qr),a=t(Ai),o=t(ii),s=t(Yr),l=t("./AxisProxy"),u=n.each,d=s.eachAxisDim,f=a[On]({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis",cr],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null},init:function(t,i,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=[Ve,Ve];var r=e(t);this[q](t,n),this.doInit(r)},mergeOption:function(t){var i=e(t);n.merge(this[fn],t,!0),this.doInit(i)},doInit:function(t){var e=this[fn];r[zr]||(e.realtime=!1),this._setDefaultThrottle(t),i(this,t),u([["start","startValue"],["end","endValue"]],function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=null)},this),this.textStyleModel=this[Er](Tn),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(e,i,n,r){var a=this.dependentModels[e.axis][i],o=a.__dzAxisProxy||(a.__dzAxisProxy=new l(e.name,i,this,r));t[e.name+"_"+i]=o},this)},_resetTarget:function(){var t=this[fn],e=this._judgeAutoMode();d(function(e){var i=e[c];t[i]=o[S](t[i])},this),e===c?this._autoSetAxisIndex():e===A&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this[fn],e=!1;d(function(i){null!=t[i[c]]&&(e=!0)},this);var i=t[A];return null==i&&e?A:e?void 0:(null==i&&(t[A]=le),c)},_autoSetAxisIndex:function(){var t=!0,e=this.get(A,!0),i=this[fn],r=this.dependentModels;if(t){var a=e===h?"y":"x";r[a+"Axis"][Tr]?(i[a+"AxisIndex"]=[0],t=!1):u(r.singleAxis,function(n){t&&n.get(A,!0)===e&&(i.singleAxisIndex=[n[Ni]],t=!1)})}t&&d(function(e){if(t){var n=[],r=this.dependentModels[e.axis];if(r[Tr]&&!n[Tr])for(var a=0,o=r[Tr];o>a;a++)r[a].get("type")===ji&&n.push(a);i[e[c]]=n,n[Tr]&&(t=!1)}},this),t&&this[M][vr](function(t){this._isSeriesHasAllAxesTypeOf(t,"value")&&d(function(e){var r=i[e[c]],a=t.get(e[c]),o=t.get(e.axisId),s=t[M][C]({mainType:e.axis,index:a,id:o})[0];a=s[Ni],n[Ar](r,a)<0&&r.push(a)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(e){!t&&(t=e.name)},this),this[fn][A]="y"===t?h:le},_isSeriesHasAllAxesTypeOf:function(t,e){var i=!0;return d(function(n){var r=t.get(n[c]),a=this.dependentModels[n.axis][r];a&&a.get("type")===e||(i=!1)},this),i},_setDefaultThrottle:function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this[M][fn];this[fn].throttle=e[Fr]&&e.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var t;return d(function(e){if(null==t){var i=this.get(e[c]);i[Tr]&&(t=this.dependentModels[e.axis][i[0]])}},this),t},eachTargetAxis:function(t,e){var i=this[M];d(function(n){u(this.get(n[c]),function(r){t.call(e,n,r,this,i)},this)},this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var i=this.getAxisProxy(t,e);return i&&i.getAxisModel()},setRawRange:function(t,e){u(["start","end","startValue","endValue"],function(e){this[fn][e]=t[e]},this),!e&&i(this,t)},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();return t?t.getDataPercentWindow():void 0},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(){var t=this._axisProxies;for(var e in t)if(t.hasOwnProperty(e)&&t[e].hostedBy(this))return t[e];for(var e in t)if(t.hasOwnProperty(e)&&!t[e].hostedBy(this))return t[e]},getRangePropMode:function(){return this._rangePropMode.slice()}});return f}),e("echarts/component/dataZoom/DataZoomView",[sa,"../../view/Component"],function(t){var e=t("../../view/Component");return e[lr]({type:"dataZoom",render:function(t,e,i){this.dataZoomModel=t,this[M]=e,this.api=i},getTargetCoordInfo:function(){function t(t,e,i,n){for(var r,a=0;a<i[Tr];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[M],n={};return e.eachTargetAxis(function(e,r){var a=i[X](e.axis,r);if(a){var o=a.getCoordSysModel();o&&t(o,a,n[o[fr]]||(n[o[fr]]=[]),o[Ni])}},this),n}})}),e("echarts/component/dataZoom/SliderZoomModel",[sa,"./DataZoomModel"],function(t){var e=t("./DataZoomModel"),i=e[lr]({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}});return i}),e("echarts/component/dataZoom/InsideZoomModel",[sa,"./DataZoomModel"],function(t){return t("./DataZoomModel")[lr]({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1}})}),e("echarts/component/dataZoom/SliderZoomView",[sa,oa,Ci,"../../util/throttle","./DataZoomView",ge,Ji,"../helper/sliderMove",u],function(t){function e(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}var i=t(oa),n=t(Ci),r=t("../../util/throttle"),a=t("./DataZoomView"),o=n.Rect,s=t(ge),l=s[ve],c=t(Ji),d=t("../helper/sliderMove"),f=t(u),p=s.asc,v=i.bind,g=i.each,m=7,y=1,x=30,_=le,w=h,S=5,T=["line","bar","candlestick","scatter"],C=a[lr]({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,i,n){return C[dn](this,dr,arguments),r.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get(A),this.dataZoomModel.get("show")===!1?void this.group[Ln]():(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),void this._updateView())},remove:function(){C[dn](this,ur,arguments),r.clear(this,"_dispatchZoomAction")},dispose:function(){C[dn](this,ir,arguments),r.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t[Ln](),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new n.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,n=this._findCoordRect(),r={width:e[Or](),height:e[Vr]()},a=this._orient===_?{right:r.width-n.x-n.width,top:r[Wr]-x-m,width:n.width,height:x}:{right:m,top:n.y,width:x,height:n[Wr]},o=c.getLayoutParams(t[fn]);i.each(["right","top","width",Wr],function(t){"ph"===o[t]&&(o[t]=a[t])});var s=c[_n](o,r,t[xn]);this._location={x:s.x,y:s.y},this._size=[s.width,s[Wr]],this._orient===w&&this._size[Qe]()},_positionGroup:function(){var t=this.group,e=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),r=n&&n.get(qi),a=this._displayables.barGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;a.attr(i!==_||r?i===_&&r?{scale:o?[-1,1]:[-1,-1]}:i!==w||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[wn]([a]);t.attr(gn,[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_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(kr)},z2:-40}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,r=t[cr],a=r.getRawData(),o=r.getShadowDim?r.getShadowDim():t.otherDim;if(null!=o){var s=a[en](o),u=.3*(s[1]-s[0]);s=[s[0]-u,s[1]+u];var c,h=[0,e[1]],d=[0,e[0]],f=[[e[0],0],[0,0]],p=[],v=d[1]/(a.count()-1),g=0,m=Math.round(a.count()/e[0]);a.each([o],function(t,e){if(m>0&&e%m)return void(g+=v);var i=null==t||isNaN(t)||""===t,n=i?0:l(t,s,h,!0);i&&!c&&e?(f.push([f[f[Tr]-1][0],0]),p.push([p[p[Tr]-1][0],0])):!i&&c&&(f.push([g,0]),p.push([g,0])),f.push([g,n]),p.push([g,n]),g+=v,c=i});var y=this.dataZoomModel;this._displayables.barGroup.add(new n[je]({shape:{points:f},style:i[or]({fill:y.get("dataBackgroundColor")},y[Er]("dataBackground.areaStyle")[$e]()),silent:!0,z2:-20})),this._displayables.barGroup.add(new n[Xe]({shape:{points:p},style:y[Er]("dataBackground.lineStyle")[Ke](),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,n=t.get("showDataShadow");if(n!==!1){var r,a=this[M];return t.eachTargetAxis(function(o,s){var l=t.getAxisProxy(o.name,s).getTargetSeriesModels();i.each(l,function(t){if(!(r||n!==!0&&i[Ar](T,t.get("type"))<0)){var l,u=a[X](o.axis,s).axis,c=e(o.name),h=t[Sr];null!=c&&h[Ii]&&(l=h[Ii](u)[qi]),r={thisAxis:u,series:t,thisDim:o.name,otherDim:c,otherAxisInverse:l}}},this)},this),r}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],i=t.handleLabels=[],r=this._displayables.barGroup,a=this._size,l=this.dataZoomModel;r.add(t.filler=new o({draggable:!0,cursor:"move",drift:v(this._onDragMove,this,"all"),onmousemove:function(t){f.stop(t.event)},ondragstart:v(this._showDataInfo,this,!0),ondragend:v(this._onDragEnd,this),onmouseover:v(this._showDataInfo,this,!0),onmouseout:v(this._showDataInfo,this,!1),style:{fill:l.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:l.get("dataBackgroundColor")||l.get(he),lineWidth:y,fill:"rgba(0,0,0,0)"}})));var u=l.get("handleIcon");g([0,1],function(t){var a=n.makePath(u,{style:{strokeNoScale:!0},rectHover:!0,cursor:this._orient===h?"ns-resize":"ew-resize",draggable:!0,drift:v(this._onDragMove,this,t),onmousemove:function(t){f.stop(t.event)},ondragend:v(this._onDragEnd,this),onmouseover:v(this._showDataInfo,this,!0),onmouseout:v(this._showDataInfo,this,!1)},{x:-.5,y:0,width:1,height:1},mn),o=a[wn]();this._handleHeight=s[li](l.get("handleSize"),this._size[1]),this._handleWidth=o.width/o[Wr]*this._handleHeight,a[Zn](l[Er]("handleStyle")[Cn]());var c=l.get("handleColor");null!=c&&(a.style.fill=c),r.add(e[t]=a);var d=l.textStyleModel;this.group.add(i[t]=new n.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",fill:d[Mn](),textFont:d[Sn]()},z2:10}))},this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[l(t[0],[0,100],e,!0),l(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var i=this._handleEnds,n=this._getViewExtent();d(e,i,n,"all"===t||this.dataZoomModel.get("zoomLock")?"rigid":"cross",t),this._range=p([l(i[0],n,[0,100],!0),l(i[1],n,[0,100],!0)])},_updateView:function(t){var e=this._displayables,i=this._handleEnds,n=p(i.slice()),r=this._size;g([0,1],function(t){var n=e.handles[t],a=this._handleHeight;n.attr({scale:[a,a],position:[i[t],r[1]/2-a/2]})},this),e.filler[hi]({x:n[0],y:0,width:n[1]-n[0],height:r[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){function e(t){var e=n.getTransform(r.handles[t][un],this.group),i=n.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+S,u=n[ee]([d[t]+(0===t?-l:l),this._size[1]/2],e);a[t][Zn]({x:u[0],y:u[1],textVerticalAlign:o===_?yn:i,textAlign:o===_?i:mn,text:s[t]})}var i=this.dataZoomModel,r=this._displayables,a=r.handleLabels,o=this._orient,s=["",""];if(i.get("showDetail")){var l=i.findRepresentativeAxisProxy();if(l){var u=l.getAxisModel().axis,c=this._range,h=t?l.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:l.getDataValueWindow();s=[this._formatLabel(h[0],u),this._formatLabel(h[1],u)]}}var d=p(this._handleEnds.slice());e.call(this,0),e.call(this,1)},_formatLabel:function(t,e){var n=this.dataZoomModel,r=n.get("labelFormatter"),a=n.get("labelPrecision");(null==a||"auto"===a)&&(a=e.getPixelPrecision());var o=null==t||isNaN(t)?"":e.type===ji||"time"===e.type?e.scale[rn](Math.round(t)):t[Re](Math.min(a,20));return i.isFunction(r)?r(t,o):i[Dn](r)?r[Hn](N,o):o},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr(Q,!t),e[1].attr(Q,!t)},_onDragMove:function(t,e,i){this._dragging=!0;var n=this._applyBarTransform([e,i],!0);this._updateInterval(t,n[0]);var r=this.dataZoomModel.get("realtime");this._updateView(!r),r&&r&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),this._dispatchZoomAction()},_dispatchZoomAction:function(){var t=this._range;this.api[sr]({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_applyBarTransform:function(t,e){var i=this._displayables.barGroup[b]();return n[ee](t,i,e)},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),function(e){if(!t&&e[Tr]){var i=e[0].model[Sr];t=i[Pn]&&i[Pn]()}}),!t){var e=this.api[Or](),i=this.api[Vr]();t={x:.2*e,y:.2*i,width:.6*e,height:.6*i}}return t}});return C}),e("echarts/component/dataZoom/InsideZoomView",[sa,"./DataZoomView",oa,"../helper/sliderMove","./roams"],function(t){function e(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 i=t("./DataZoomView"),n=t(oa),r=t("../helper/sliderMove"),a=t("./roams"),o=n.bind,s=i[lr]({type:"dataZoom.inside",init:function(){this._range},render:function(t,e,i,r){s[dn](this,dr,arguments),a.shouldRecordRange(r,t.id)&&(this._range=t.getPercentRange()),n.each(this.getTargetCoordInfo(),function(e,r){var s=n.map(e,function(t){return a.generateCoordId(t.model)});n.each(e,function(e){var n=e.model;a[En](i,{coordId:a.generateCoordId(n),allCoordIds:s,containsPoint:function(t,e){return n[Sr].containPoint([t,e])},dataZoomId:t.id,throttleRate:t.get("throttle",!0),panGetRange:o(this._onPan,this,e,r),zoomGetRange:o(this._onZoom,this,e,r)})},this)},this)},dispose:function(){a.unregister(this.api,this.dataZoomModel.id),s[dn](this,ir,arguments),this._range=null},_onPan:function(t,e,i,n,a,o,s,u,c){if(this.dataZoomModel[fn].disabled)return this._range;var h=this._range.slice(),d=t.axisModels[0];if(d){var f=l[e]([o,s],[u,c],d,i,t),p=f.signal*(h[1]-h[0])*f.pixel/f.pixelLength;return r(p,h,[0,100],"rigid"),this._range=h}},_onZoom:function(t,i,n,r,a,o){var s=this.dataZoomModel[fn];if(s.disabled||s.zoomLock)return this._range;var u=this._range.slice(),c=t.axisModels[0];if(c){var h=l[i](null,[a,o],c,n,t),d=(h.pixel-h.pixelStart)/h.pixelLength*(u[1]-u[0])+u[0];return r=Math.max(1/r,0),u[0]=(u[0]-d)*r+d,u[1]=(u[1]-d)*r+d,this._range=e(u)}}}),l={grid:function(t,e,i,n,r){var a=i.axis,o={},s=r.model[Sr][Pn]();return t=t||[0,0],"x"===a.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a[qi]?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s[Wr],o.pixelStart=s.y,o.signal=a[qi]?-1:1),o},polar:function(t,e,i,n,r){var a=i.axis,o={},s=r.model[Sr],l=s.getRadiusAxis()[on](),u=s.getAngleAxis()[on]();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===i[fr]?(o.pixel=e[0]-t[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=a[qi]?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=a[qi]?-1:1),o},singleAxis:function(t,e,i,n,r){var a=i.axis,o=r.model[Sr][Pn](),s={};return t=t||[0,0],a[A]===le?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a[qi]?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o[Wr],s.pixelStart=o.y,s.signal=a[qi]?-1:1),s}};return s}),e("echarts/component/dataZoom/dataZoomProcessor",[sa,Ai],function(t){function e(t,e,i){i.getAxisProxy(t.name,e).reset(i)}function i(t,e,i){i.getAxisProxy(t.name,e).filterData(i)}var n=t(Ai);n.registerProcessor(function(t){t[Lr]("dataZoom",function(t){t.eachTargetAxis(e),t.eachTargetAxis(i)}),t[Lr]("dataZoom",function(t){var e=t.findRepresentativeAxisProxy(),i=e.getDataPercentWindow(),n=e.getDataValueWindow();t.setRawRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]},!0)})})}),e("echarts/component/dataZoom/dataZoomAction",[sa,oa,Yr,Ai],function(t){var e=t(oa),i=t(Yr),n=t(Ai);n[Nn]("dataZoom",function(t,n){var r=i.createLinkedNodesFinder(e.bind(n[Lr],n,"dataZoom"),i.eachAxisDim,function(t,e){return t.get(e[c])}),a=[];n[Lr]({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/brush/preprocessor",[sa,oa],function(t){function e(t){var e={};i.each(t,function(t){e[t]=1}),t[Tr]=0,i.each(e,function(e,i){t.push(i)})}var i=t(oa),n=["rect","polygon","keep","clear"];return function(t,r){var a=t&&t.brush;if(i[Gn](a)||(a=a?[a]:[]),a[Tr]){var o=[];i.each(a,function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(o=o[hr](e))});var s=t&&t.toolbox;i[Gn](s)&&(s=s[0]),s||(s={feature:{}},t.toolbox=[s]);var l=s.feature||(s.feature={}),u=l.brush||(l.brush={}),c=u.type||(u.type=[]);c.push.apply(c,o),e(c),r&&!c[Tr]&&c.push.apply(c,n)}}}),e("echarts/component/brush/visualEncoding",[sa,Ai,"../../visual/visualSolution",oa,K,"./selector","../../util/throttle","../helper/BrushTargetManager"],function(t){function e(t,e,n,r,a){if(a){var o=t.getZr();if(!o[m]){o[g]||(o[g]=i);var s=f.createOrUpdate(o,g,n,e);s(t,r)}}}function i(t,e){if(!t.isDisposed()){var i=t.getZr();i[m]=!0,t[sr]({type:"brushSelect",batch:e}),i[m]=!1}}function n(t,e,i,n){for(var r=i[pi](n),a=0,o=e[Tr];o>a;a++){var s=e[a];if(t[s.brushType](r,s.selectors,s))return!0}}function r(t){var e=t.brushSelector;if(c[Dn](e)){var i=[];return c.each(d,function(t,n){i[n]=t[e]}),i}if(c.isFunction(e)){var n={};return c.each(d,function(t,i){n[i]=e}),n}return e}function a(t,e){var i=t[fn][jn];return null!=i&&"all"!==i&&(c[Gn](i)?c[Ar](i,e)<0:e!==i)}function o(t){var e=t.selectors={};return c.each(d[t.brushType],function(i,n){e[n]=function(n){return i(n,e,t)}}),t}function s(t){return new h(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var l=t(Ai),u=t("../../visual/visualSolution"),c=t(oa),h=t(K),d=t("./selector"),f=t("../../util/throttle"),p=t("../helper/BrushTargetManager"),v=["inBrush","outOfBrush"],g="__ecBrushSelect",m="__ecInBrushSelectEvent",y=l.PRIORITY.VISUAL.BRUSH;l.registerLayout(y,function(t,e,i){t[Lr]({mainType:"brush"},function(e){i&&"takeGlobalCursor"===i.type&&e.setBrushOption("brush"===i.key?i.brushOption:{brushType:!1});var n=e.brushTargetManager=new p(e[fn],t);n.setInputRanges(e.areas,t)})}),l.registerVisual(y,function(t,i,s){var l,h,d=[];t[Lr]({mainType:"brush"},function(e,i){function s(t){return"all"===_||b[t]}function f(t){return!!t[Tr]}function p(t,e){var i=t[Sr];S|=i.hasAxisbrushed(),s(e)&&i.eachActiveState(t[na](),function(t,e){"active"===t&&(w[e]=1)})}function g(i,o,l){var u=r(i);if(u&&!a(e,o)&&(c.each(A,function(n){u[n.brushType]&&e.brushTargetManager.controlSeries(n,i,t)&&l.push(n),S|=f(l)}),s(o)&&f(l))){var h=i[na]();h.each(function(t){n(u,l,h,t)&&(w[t]=1)})}}var m={brushId:e.id,brushIndex:i,brushName:e.name,areas:c.clone(e.areas),selected:[]};d.push(m);var y=e[fn],_=y.brushLink,b=[],w=[],M=[],S=0;i||(l=y.throttleType,h=y.throttleDelay);var A=c.map(e.areas,function(t){return o(c[or]({boundingRect:x[t.brushType](t)},t))}),T=u.createVisualMappings(e[fn],v,function(t){t.mappingMethod="fixed"});c[Gn](_)&&c.each(_,function(t){b[t]=1}),t[vr](function(t,e){var i=M[e]=[];"parallel"===t.subType?p(t,e,i):g(t,e,i)}),t[vr](function(t,e){var i={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};m[Ae].push(i);var a=r(t),o=M[e],l=t[na](),c=s(e)?function(t){return w[t]?(i[br].push(l[ye](t)),"inBrush"):"outOfBrush"}:function(t){return n(a,o,l,t)?(i[br].push(l[ye](t)),"inBrush"):"outOfBrush"};(s(e)?S:f(o))&&u.applyVisual(v,T,l,c)})}),e(i,l,h,d,s)});var x={lineX:c.noop,lineY:c.noop,rect:function(t){return s(t.range)},polygon:function(t){for(var e,i=t.range,n=0,r=i[Tr];r>n;n++){e=e||[[1/0,-1/0],[1/0,-1/0]];var a=i[n];a[0]<e[0][0]&&(e[0][0]=a[0]),a[0]>e[0][1]&&(e[0][1]=a[0]),a[1]<e[1][0]&&(e[1][0]=a[1]),a[1]>e[1][1]&&(e[1][1]=a[1])}return e&&s(e)}}}),e("echarts/component/brush/BrushModel",[sa,Ai,oa,"../../visual/visualSolution",Ti],function(t){function e(t,e){return n.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new a(t.brushStyle)[Cn](),removeOnClick:t.removeOnClick},e,!0)}var i=t(Ai),n=t(oa),r=t("../../visual/visualSolution"),a=t(Ti),o=["#ddd"],s=i[On]({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel",cr],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)",width:null},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var i=this[fn];!e&&r.replaceVisualOption(i,t,["inBrush","outOfBrush"]),i.inBrush=i.inBrush||{},i.outOfBrush=i.outOfBrush||{color:o}},setAreas:function(t){t&&(this.areas=n.map(t,function(t){return e(this[fn],t)},this))},setBrushOption:function(t){this.brushOption=e(this[fn],t),this.brushType=this.brushOption.brushType
  }});return s}),e("echarts/component/brush/BrushView",[sa,oa,"../helper/BrushController",Ai],function(t){function e(t,e,i,n){(!n||n.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts()).enableBrush(t.brushOption).updateCovers(t.areas.slice())}var i=t(oa),n=t("../helper/BrushController"),r=t(Ai);return r[Vn]({type:"brush",init:function(t,e){this[M]=t,this.api=e,this.model,(this._brushController=new n(e.getZr())).on("brush",i.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,e.apply(this,arguments)},updateView:e,updateLayout:e,updateVisual:e,dispose:function(){this._brushController[ir]()},_onBrush:function(t,e){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this[M]),(!e.isEnd||e.removeOnClick)&&this.api[sr]({type:"brush",brushId:n,areas:i.clone(t),$from:n})}})}),e("echarts/component/brush/brushAction",[sa,Ai],function(t){var e=t(Ai);e[Nn]({type:"brush",event:"brush",update:"updateView"},function(t,e){e[Lr]({mainType:"brush",query:t},function(e){e.setAreas(t.areas)})}),e[Nn]({type:"brushSelect",event:"brushSelected",update:"none"},function(){})}),e("echarts/component/toolbox/feature/Brush",[sa,"../featureManager",oa],function(t){function e(t,e,i){this.model=t,this[M]=e,this.api=i,this._brushType,this._brushMode}var i=t("../featureManager"),n=t(oa);e.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}};var r=e[jr];return r[dr]=r.updateView=r[pr]=function(t,e){var i,r,a;e[Lr]({mainType:"brush"},function(t){i=t.brushType,r=t.brushOption.brushMode||g,a|=t.areas[Tr]}),this._brushType=i,this._brushMode=r,n.each(t.get("type",!0),function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?a:e===i)?ke:Mi)})},r.getIcons=function(){var t=this.model,e=t.get("icon",!0),i={};return n.each(t.get("type",!0),function(t){e[t]&&(i[t]=e[t])}),i},r.onclick=function(t,e,i){var e=this.api,n=this._brushType,r=this._brushMode;e[sr]("clear"===i?{type:"brush",areas:[]}:{type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===i?n:n===i?!1:i,brushMode:"keep"===i?"multiple"===r?g:"multiple":r}})},i[En]("brush",e),e}),e("echarts/component/visualMapContinuous",[sa,aa,"./visualMap/preprocessor","./visualMap/typeDefaulter","./visualMap/visualEncoding","./visualMap/ContinuousModel","./visualMap/ContinuousView","./visualMap/visualMapAction"],function(t){t(aa)[ta](t("./visualMap/preprocessor")),t("./visualMap/typeDefaulter"),t("./visualMap/visualEncoding"),t("./visualMap/ContinuousModel"),t("./visualMap/ContinuousView"),t("./visualMap/visualMapAction")}),e("echarts/component/visualMapPiecewise",[sa,aa,"./visualMap/preprocessor","./visualMap/typeDefaulter","./visualMap/visualEncoding","./visualMap/PiecewiseModel","./visualMap/PiecewiseView","./visualMap/visualMapAction"],function(t){t(aa)[ta](t("./visualMap/preprocessor")),t("./visualMap/typeDefaulter"),t("./visualMap/visualEncoding"),t("./visualMap/PiecewiseModel"),t("./visualMap/PiecewiseView"),t("./visualMap/visualMapAction")}),e("echarts/component/toolbox/ToolboxModel",[sa,"./featureManager",oa,Ai],function(t){var e=t("./featureManager"),i=t(oa),n=t(Ai)[On]({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},mergeDefaultAndTheme:function(){n[dn](this,q,arguments),i.each(this[fn].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"}}}});return n}),e("echarts/component/toolbox/ToolboxView",[sa,"./featureManager",oa,Ci,Ti,"../../data/DataDiffer","../helper/listComponent",_,Ai],function(t){function e(t){return 0===t[Ar]("my")}var i=t("./featureManager"),n=t(oa),r=t(Ci),a=t(Ti),o=t("../../data/DataDiffer"),s=t("../helper/listComponent"),l=t(_);return t(Ai)[Vn]({type:"toolbox",render:function(t,u,c,h){function d(n,r){var o,s=y[n],l=y[r],d=g[s],p=new a(d,t,t[M]);if(s&&!l){if(e(s))o={model:p,onclick:p[fn].onclick,featureName:s};else{var v=i.get(s);if(!v)return;o=new v(p,u,c)}m[s]=o}else{if(o=m[l],!o)return;o.model=p,o[M]=u,o.api=c}return!s&&l?void(o[ir]&&o[ir](u,c)):!p.get("show")||o.unusable?void(o[ur]&&o[ur](u,c)):(f(p,o,s),p.setIconStatus=function(t,e){var i=this[fn],n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[t]=e,n[t]&&n[t][nr](e)},void(o[dr]&&o[dr](p,u,c,h)))}function f(e,i,a){var o=e[Er]("iconStyle"),s=i.getIcons?i.getIcons():e.get("icon"),l=e.get("title")||{};if(typeof s===Ur){var h=s,d=l;s={},l={},s[a]=h,l[a]=d}var f=e.iconPaths={};n.each(s,function(a,s){var h=o[Er](Mi)[Cn](),d=o[Er](ke)[Cn](),g={x:-v/2,y:-v/2,width:v,height:v},m=0===a[Ar]("image://")?(g.image=a.slice(8),new r.Image({style:g})):r.makePath(a[Hn]("path://",""),{style:h,hoverStyle:d,rectHover:!0},g,mn);r[ui](m),t.get("showTitle")&&(m.__title=l[s],m.on(tr,function(){var t=o[Er](ke)[Cn]();m[Zn]({text:l[s],textPosition:t[F]||Cr,textFill:t.fill||t[ce]||"#000",textAlign:t[An]||mn})}).on(Qn,function(){m[Zn]({textFill:null})})),m[nr](e.get("iconStatus."+s)||Mi),p.add(m),m.on("click",n.bind(i.onclick,i,u,c,s)),f[s]=m})}var p=this.group;if(p[Ln](),t.get("show")){var v=+t.get("itemSize"),g=t.get("feature")||{},m=this._features||(this._features={}),y=[];n.each(g,function(t,e){y.push(e)}),new o(this._featureNames||[],y).add(d)[yr](d)[ur](n.curry(d,null))[bi](),this._featureNames=y,s[ue](p,t,c),s.addBackground(p,t),p.eachChild(function(t){var e=t.__title,i=t[Te];if(i&&e){var n=l[wn](e,i.font),r=t[gn][0]+p[gn][0],a=t[gn][1]+p[gn][1]+v,o=!1;a+n[Wr]>c[Vr]()&&(i[F]="top",o=!0);var s=o?-5-n[Wr]:v+8;r+n.width/2>c[Or]()?(i[F]=["100%",s],i[An]="right"):r-n.width/2<0&&(i[F]=[0,s],i[An]="left")}})}},updateView:function(t,e,i,r){n.each(this._features,function(t){t.updateView&&t.updateView(t.model,e,i,r)})},updateLayout:function(t,e,i,r){n.each(this._features,function(t){t[pr]&&t[pr](t.model,e,i,r)})},remove:function(t,e){n.each(this._features,function(i){i[ur]&&i[ur](t,e)}),this.group[Ln]()},dispose:function(t,e){n.each(this._features,function(i){i[ir]&&i[ir](t,e)})}})}),e("echarts/component/toolbox/feature/SaveAsImage",[sa,Qr,"../featureManager"],function(t){function e(t){this.model=t}var i=t(Qr);e.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:"保存为图片",type:"png",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:["右键另存为图片"]},e[jr].unusable=!i[zr];var n=e[jr];return n.onclick=function(t,e){var n=this.model,r=n.get("name")||t.get("title.0.text")||"echarts",a=document[tn]("a"),o=n.get("type",!0)||"png";a.download=r+"."+o,a[Yn]="_blank";var s=e.getConnectedDataURL({type:o,backgroundColor:n.get(kr,!0)||t.get(kr)||"#fff",excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if(a.href=s,typeof MouseEvent!==Bn||i.browser.ie||i.browser.edge){var l=n.get("lang"),u='<body style="margin:0;"><img src="'+s+'" style="max-width:100%;" title="'+(l&&l[0]||"")+'" /></body>',c=window.open();c.document.write(u)}else{var h=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});a.dispatchEvent(h)}},t("../featureManager")[En]("saveAsImage",e),e}),e("echarts/component/toolbox/feature/MagicType",[sa,oa,"../../../echarts","../featureManager"],function(t){function e(t){this.model=t}var i=t(oa);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[jr];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"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get("option.line")||{},!0):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"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get("option.bar")||{},!0):void 0},stack:function(t,e,n,r){return"line"===t||"bar"===t?i.merge({id:e,stack:"__ec_magicType_stack__"},r.get("option.stack")||{},!0):void 0},tiled:function(t,e,n,r){return"line"===t||"bar"===t?i.merge({id:e,stack:""},r.get("option.tiled")||{},!0):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:[]},u=function(e){var a=e.subType,s=e.id,u=r[n](a,s,e,o);u&&(i[or](u,e[fn]),l[cr].push(u));var c=e[Sr];if(c&&c.type===Li&&("line"===n||"bar"===n)){var h=c.getAxesByScale(Ue)[0];if(h){var d=h.dim,f=d+"Axis",p=t[C]({mainType:f,index:e.get(name+"Index"),id:e.get(name+"Id")})[0],v=p[Ni];l[f]=l[f]||[];for(var g=0;v>=g;g++)l[f][v]=l[f][v]||{};l[f][v][Vi]="bar"===n?!0:!1}}};i.each(a,function(t){i[Ar](t,n)>=0&&i.each(t,function(t){o.setIconStatus(t,Mi)})}),o.setIconStatus(n,ke),t[Lr]({mainType:"series",query:null==s?null:{seriesIndex:s}},u),e[sr]({type:"changeMagicType",currentType:n,newOption:l})}};var o=t("../../../echarts");return o[Nn]({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e[hn](t.newOption)}),t("../featureManager")[En]("magicType",e),e}),e("echarts/component/toolbox/feature/DataView",[sa,oa,u,"../featureManager","../../../echarts"],function(t){function e(t){var e={},i=[],n=[];return t.eachRawSeries(function(t){var r=t[Sr];if(!r||r.type!==Li&&"polar"!==r.type)i.push(t);else{var a=r[ki]();if(a.type===ji){var o=a.dim+"_"+a.index;e[o]||(e[o]={categoryAxis:a,valueAxis:r[Ii](a),series:[]},n.push({axisDim:a.dim,axisIndex:a.index})),e[o][cr].push(t)}else i.push(t)}}),{seriesGroupByCategoryAxis:e,other:i,meta:n}}function i(t){var e=[];return p.each(t,function(t){var i=t.categoryAxis,n=t.valueAxis,r=n.dim,a=[" "][hr](p.map(t[cr],function(t){return t.name})),o=[i.model.getCategories()];p.each(t[cr],function(t){o.push(t.getRawData()[ti](r,function(t){return t}))});for(var s=[a.join(m)],l=0;l<o[0][Tr];l++){for(var u=[],c=0;c<o[Tr];c++)u.push(o[c][l]);s.push(u.join(m))}e.push(s.join("\n"))}),e.join("\n\n"+g+"\n\n")}function n(t){return p.map(t,function(t){var e=t.getRawData(),i=[t.name],n=[];return e.each(e[Pi],function(){for(var t=arguments[Tr],r=arguments[t-1],a=e[Ie](r),o=0;t-1>o;o++)n[o]=arguments[o];i.push((a?a+m:"")+n.join(m))}),i.join("\n")}).join("\n\n"+g+"\n\n")}function r(t){var r=e(t);return{value:p[kn]([i(r.seriesGroupByCategoryAxis),n(r.other)],function(t){return t[Hn](/[\n\t\s]/g,"")}).join("\n\n"+g+"\n\n"),meta:r.meta}}function a(t){return t[Hn](/^\s\s*/,"")[Hn](/\s\s*$/,"")}function o(t){var e=t.slice(0,t[Ar]("\n"));return e[Ar](m)>=0?!0:void 0}function s(t){for(var e=t.split(/\n+/g),i=a(e.shift()).split(y),n=[],r=p.map(i,function(t){return{name:t,data:[]}}),o=0;o<e[Tr];o++){var s=a(e[o]).split(y);n.push(s.shift());for(var l=0;l<s[Tr];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[Tr];r++){var o,s=a(e[r]).split(y),l="",u=!1;isNaN(s[0])?(u=!0,l=s[0],s=s.slice(1),n[r]={name:l,value:[]},o=n[r].value):o=n[r]=[];for(var c=0;c<s[Tr];c++)o.push(+s[c]);1===o[Tr]&&(u?n[r].value=o[0]:n[r]=o[0])}return{name:i,data:n}}function h(t,e){var i=t.split(new RegExp("\n*"+g+"\n*","g")),n={series:[]};return p.each(i,function(t,i){if(o(t)){var r=s(t),a=e[i],u=a.axisDim+"Axis";a&&(n[u]=n[u]||[],n[u][a[c]]={data:r[W]},n[cr]=n[cr][hr](r[cr]))}else{var r=l(t);n[cr].push(r)}}),n}function d(t){this._dom=null,this.model=t}function f(t,e){return p.map(t,function(t,i){var n=e&&e[i];return p[Br](n)&&!p[Gn](n)?(p[Br](t)&&!p[Gn](t)&&(t=t.value),p[or]({value:t},n)):t})}var p=t(oa),v=t(u),g=new Array(60).join("-"),m="	",y=new RegExp("["+m+"]+","g");return d.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:"数据视图",lang:["数据视图","关闭","刷新"],backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},d[jr].onclick=function(t,e){function i(){n.removeChild(o),S._dom=null}var n=e.getDom(),a=this.model;this._dom&&n.removeChild(this._dom);var o=document[tn]("div");o.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",o.style[kr]=a.get(kr)||"#fff";var s=document[tn]("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[tn]("div"),c=document[tn]("textarea");u.style.cssText="display:block;width:100%;overflow:auto;";var d=a.get("optionToContent"),f=a.get("contentToOption"),g=r(t);if(typeof d===Bn){var y=d(e.getOption());typeof y===Ur?u.innerHTML=y:p.isDom(y)&&u.appendChild(y)}else u.appendChild(c),c.readOnly=a.get("readOnly"),c.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",c.style.color=a.get("textColor"),c.style[he]=a.get("textareaBorderColor"),c.style[kr]=a.get("textareaColor"),c.value=g.value;var x=g.meta,_=document[tn]("div");_.style.cssText="position:absolute;bottom:0;left:0;right:0;";var b="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",w=document[tn]("div"),M=document[tn]("div");b+=";background-color:"+a.get("buttonColor"),b+=";color:"+a.get("buttonTextColor");var S=this;v.addEventListener(w,"click",i),v.addEventListener(M,"click",function(){var t;try{t=typeof f===Bn?f(u,e.getOption()):h(c.value,x)}catch(n){throw i(),new Error("Data view format error "+n)}t&&e[sr]({type:"changeDataView",newOption:t}),i()}),w.innerHTML=l[1],M.innerHTML=l[2],M.style.cssText=b,w.style.cssText=b,!a.get("readOnly")&&_.appendChild(M),_.appendChild(w),v.addEventListener(c,"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)+m+e.substring(n),this.selectionStart=this.selectionEnd=i+1,v.stop(t)}}),o.appendChild(s),o.appendChild(u),o.appendChild(_),u.style[Wr]=n.clientHeight-80+"px",n.appendChild(o),this._dom=o},d[jr][ur]=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},d[jr][ir]=function(t,e){this[ur](t,e)},t("../featureManager")[En]("dataView",d),t("../../../echarts")[Nn]({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,e){var i=[];p.each(t.newOption[cr],function(t){var n=e.getSeriesByName(t.name)[0];if(n){var r=n.get("data");i.push({name:t.name,data:f(t.data,r)})}else i.push(p[lr]({type:"scatter"},t))}),e[hn](p[or]({series:i},t.newOption))}),d}),e("echarts/component/toolbox/feature/DataZoom",[sa,oa,"../../helper/BrushController","../../helper/BrushTargetManager","../../dataZoom/history","../../dataZoomSelect","../featureManager","../../../echarts"],function(t){function e(t,e,i){(this._brushController=new o(i.getZr())).on("brush",a.bind(this._onBrush,this)).mount(),this._isZoomActive}function i(t){var e={};return a.each(["xAxisIndex","yAxisIndex"],function(i){e[i]=t[i],null==e[i]&&(e[i]="all"),(e[i]===!1||"none"===e[i])&&(e[i]=[])}),e}function n(t,e){t.setIconStatus("back",l.count(e)>1?ke:Mi)}function r(t,e,n,r){var a=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(a="dataZoomSelect"===r.key?r.dataZoomSelectActive:!1),n._isZoomActive=a,t.setIconStatus("zoom",a?ke:Mi);var o=new s(i(t[fn]),e,{include:["grid"]});n._brushController.setPanels(o.makePanelOpts(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"})).enableBrush(a?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}var a=t(oa),o=t("../../helper/BrushController"),s=t("../../helper/BrushTargetManager"),l=t("../../dataZoom/history"),u=a.each;t("../../dataZoomSelect");var c="\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 h=e[jr];h[dr]=function(t,e,i,a){this.model=t,this[M]=e,this.api=i,r(t,e,this,a),n(t,e)},h.onclick=function(t,e,i){d[i].call(this)},h[ur]=function(){this._brushController.unmount()},h[ir]=function(){this._brushController[ir]()};var d={zoom:function(){var t=!this._isZoomActive;this.api[sr]({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(l.pop(this[M]))}};return h._onBrush=function(t,e){function n(t,e,i){var n=r(t,e[Wi](t).model,o);n&&(a[n.id]={dataZoomId:n.id,startValue:i[0],endValue:i[1]})}function r(t,e,i){var n;return i[Lr]({mainType:"dataZoom",subType:"select"},function(i){var r=i.getAxisModel(t,e[Ni]);r&&(n=i)}),n}if(e.isEnd&&t[Tr]){var a={},o=this[M];this._brushController.updateCovers([]);var u=new s(i(this.model[fn]),o,{include:["grid"]});u.matchOutputRanges(t,o,function(t,e,i){if(i.type===Li){var r=t.brushType;"rect"===r?(n("x",i,e[0]),n("y",i,e[1])):n({lineX:"x",lineY:"y"}[r],i,e)}}),l.push(o,a),this._dispatchZoomAction(a)}},h._dispatchZoomAction=function(t){var e=[];u(t,function(t){e.push(a.clone(t))}),e[Tr]&&this.api[sr]({type:"dataZoom",from:this.uid,batch:e})},t("../featureManager")[En]("dataZoom",e),t("../../../echarts")[ta](function(t){function e(t,e){if(e){var r=t+"Index",o=e[r];null==o||"all"==o||a[Gn](o)||(o=o===!1||"none"===o?[]:[o]),i(t,function(e,i){if(null==o||"all"==o||-1!==a[Ar](o,i)){var s={type:"select",$fromToolbox:!0,id:c+t+i};s[r]=i,n.push(s)}})}}function i(e,i){var n=t[e];a[Gn](n)||(n=n?[n]:[]),u(n,i)}if(t){var n=t.dataZoom||(t.dataZoom=[]);a[Gn](n)||(t.dataZoom=n=[n]);var r=t.toolbox;if(r&&(a[Gn](r)&&(r=r[0]),r&&r.feature)){var o=r.feature.dataZoom;e("xAxis",o),e("yAxis",o)}}}),e}),e("echarts/component/toolbox/feature/Restore",[sa,"../../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[jr];return n.onclick=function(t,e){i.clear(t),e[sr]({type:"restore",from:this.uid})},t("../featureManager")[En]("restore",e),t("../../../echarts")[Nn]({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")}),e}),e("zrender/vml/Painter",[sa,"../core/log","./core"],function(t){function e(t){return parseInt(t,10)}function i(t,e){a.initVML(),this.root=t,this[Ir]=e;var i=document[tn]("div"),n=document[tn]("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[Zr]();var r=e.delFromMap,o=e.addToMap;e.delFromMap=function(t){var i=e.get(t);r.call(e,t),i&&i.onRemove&&i.onRemove(n)},e.addToMap=function(t){t.onAdd&&t.onAdd(n),o.call(e,t)},this._firstPaint=!0}function n(t){return function(){r('In IE8.0 VML mode painter not support method "'+t+'"')}}var r=t("../core/log"),a=t("./core");i[jr]={constructor:i,getViewportRoot:function(){return this._vmlViewport},refresh:function(){var t=this[Ir].getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var e=this._vmlRoot,i=0;i<t[Tr];i++){var n=t[i];n[Q]||n[Pr]?(n.__alreadyNotVisible||n.onRemove(e),n.__alreadyNotVisible=!0):(n.__alreadyNotVisible&&n.onAdd(e),n.__alreadyNotVisible=!1,n[l]&&(n.beforeBrush&&n.beforeBrush(),(n.brushVML||n.brush).call(n,e),n.afterBrush&&n.afterBrush())),n[l]=!1}this._firstPaint&&(this._vmlViewport.appendChild(e),this._firstPaint=!1)},resize:function(t,e){var t=null==t?this._getWidth():t,e=null==e?this._getHeight():e;if(this._width!=t||this._height!=e){this._width=t,this._height=e;var i=this._vmlViewport.style;i.width=t+"px",i[Wr]=e+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this[Ir]=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var t=this.root,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[Wr]))-e(i.paddingTop)-e(i.paddingBottom)|0}};for(var o=["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],s=0;s<o[Tr];s++){var u=o[s];i[jr][u]=n(u)}return i}),e("echarts/scale/Interval",[sa,"../util/number","../util/format","./Scale"],function(t){var e=t("../util/number"),i=t("../util/format"),n=t("./Scale"),r=Math.floor,a=Math.ceil,o=e.getPrecisionSafe,s=e.round,l=n[lr]({type:"interval",_interval:0,_intervalPrecision:2,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]),l[jr][nn].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,e=this._extent,i=[],n=1e4;if(t){var r=this._niceExtent,a=this._intervalPrecision=o(t);a+=2,e[0]<r[0]&&i.push(e[0]);for(var l=r[0];l<=r[1];)if(i.push(l),l=s(l+t,a),i[Tr]>n)return[];e[1]>(i[Tr]?i[i[Tr]-1]:r[1])&&i.push(e[1])}return i},getTicksLabels:function(){for(var t=[],e=this[an](),i=0;i<e[Tr];i++)t.push(this[rn](e[i]));return t},getLabel:function(t,e){var n=e&&e.precision;return null!=t&&null!=n&&("auto"===n&&(n=this._intervalPrecision+2),t=s(t,n,e&&e.pad)),i[de](t)},niceTicks:function(t){t=t||5;var i=this._extent,n=i[1]-i[0];if(isFinite(n)){0>n&&(n=-n,i[Qe]());var l=s(e.nice(n/t,!0),Math.max(o(i[0]),o(i[1]))+2),u=o(l)+2,c=[s(a(i[0]/l)*l,u),s(r(i[1]/l)*l,u)];this._interval=l,this._niceExtent=c}},niceExtent:function(t,e,i){var n=this._extent;if(n[0]===n[1])if(0!==n[0]){var o=n[0];i?n[0]-=o/2:(n[1]+=o/2,n[0]-=o/2)}else n[1]=1;var l=n[1]-n[0];isFinite(l)||(n[0]=0,n[1]=1),this.niceTicks(t);var u=this._interval;e||(n[0]=s(r(n[0]/u)*u)),i||(n[1]=s(a(n[1]/u)*u))}});return l[xr]=function(){return new l},l}),e("echarts/scale/Scale",[sa,"../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[jr];return n.parse=function(t){return t},n[ln]=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},n[sn]=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[zi]=function(t,e){this.unionExtent(t[en](e,!0))},n[on]=function(){return this._extent.slice()},n[nn]=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[an](),i=0;i<e[Tr];i++)t.push(this[rn](e[i]));return t},n[p]=function(){return this._isBlank},n.setBlank=function(t){this._isBlank=t},i.enableClassExtend(e),i.enableClassManagement(e,{registerWhenExtend:!0}),e}),e("echarts/coord/axisHelper",[sa,"../scale/Ordinal","../scale/Interval","../scale/Time","../scale/Log","../scale/Scale","../util/number",oa,_],function(t){var e=t("../scale/Ordinal"),i=t("../scale/Interval");t("../scale/Time"),t("../scale/Log");var n=t("../scale/Scale"),r=t("../util/number"),a=t(oa),o=t(_),s={};return s.getScaleExtent=function(t,e){var i,n,o,s=t.type,l=e.getMin(),u=e.getMax(),c=null!=l,h=null!=u,d=t[on]();return s===Ue?i=(e.get("data")||[])[Tr]:(n=e.get(Vi),a[Gn](n)||(n=[n||0,n||0]),n[0]=r[li](n[0],1),n[1]=r[li](n[1],1),o=d[1]-d[0]),null==l&&(l=s===Ue?i?0:0/0:d[0]-n[0]*o),null==u&&(u=s===Ue?i?i-1:0/0:d[1]+n[1]*o),"dataMin"===l&&(l=d[0]),"dataMax"===u&&(u=d[1]),(null==l||!isFinite(l))&&(l=0/0),(null==u||!isFinite(u))&&(u=0/0),t.setBlank(a.eqNaN(l)||a.eqNaN(u)),e.getNeedCrossZero()&&(l>0&&u>0&&!c&&(l=0),0>l&&0>u&&!h&&(u=0)),[l,u]},s[Yi]=function(t,e){var i=s.getScaleExtent(t,e),n=null!=e.getMin(),r=null!=e.getMax(),a=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase")),t[nn](i[0],i[1]),t.niceExtent(a,n,r);var o=e.get("minInterval");if(isFinite(o)&&!n&&!r&&t.type===re){var l=t.getInterval(),u=Math.max(Math.abs(l),o)/l;i=t[on]();var c=(i[1]+i[0])/2;t[nn](u*(i[0]-c)+c,u*(i[1]-c)+c),t.niceExtent(a)}var l=e.get(re);null!=l&&t.setInterval&&t.setInterval(l)},s[Ei]=function(t,r){if(r=r||t.get("type"))switch(r){case ji:return new e(t.getCategories(),[1/0,-1/0]);case"value":return new i;default:return(n.getClass(r)||i)[xr](t)}},s.ifAxisCrossZero=function(t){var e=t.scale[on](),i=e[0],n=e[1];return!(i>0&&n>0||0>i&&0>n)},s.getAxisLabelInterval=function(t,e,i,n){var r,a=0,s=0,l=1;e[Tr]>40&&(l=Math.floor(e[Tr]/40));for(var u=0;u<t[Tr];u+=l){var c=t[u],h=o[wn](e[u],i,mn,"top");h[n?"x":"y"]+=c,h[n?"width":Wr]*=1.3,r?r.intersect(h)?(s++,a=Math.max(a,s)):(r.union(h),s=0):r=h.clone()}return 0===a&&l>1?l:(a+1)*l-1},s[Xi]=function(t,e){var i=t.scale,n=i.getTicksLabels(),r=i[an]();return typeof e===Ur?(e=function(t){return function(e){return t[Hn](N,null!=e?e:"")}}(e),a.map(n,e)):typeof e===Bn?a.map(r,function(i,n){return e(s.getAxisRawValue(t,i),n)},this):n},s.getAxisRawValue=function(t,e){return t.type===ji?t.scale[rn](e):e},s}),e("echarts/coord/cartesian/Cartesian2D",[sa,oa,"./Cartesian"],function(t){function e(t){n.call(this,t)}var i=t(oa),n=t("./Cartesian");return e[jr]={constructor:e,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale(Ue)[0]||this.getAxesByScale("time")[0]||this[Wi]("x")},containPoint:function(t){var e=this[Wi]("x"),i=this[Wi]("y");return e[ln](e.toLocalCoord(t[0]))&&i[ln](i.toLocalCoord(t[1]))},containData:function(t){return this[Wi]("x").containData(t[0])&&this[Wi]("y").containData(t[1])},dataToPoints:function(t,e){return t[ti](["x","y"],function(t,e){return this[Zi]([t,e])},e,this)},dataToPoint:function(t,e){var i=this[Wi]("x"),n=this[Wi]("y");return[i[Fi](i[Hi](t[0],e)),n[Fi](n[Hi](t[1],e))]},pointToData:function(t,e){var i=this[Wi]("x"),n=this[Wi]("y");return[i[Bi](i.toLocalCoord(t[0]),e),n[Bi](n.toLocalCoord(t[1]),e)]},getOtherAxis:function(t){return this[Wi]("x"===t.dim?"y":"x")}},i[In](e,n),e}),e("echarts/coord/cartesian/GridModel",[sa,"./AxisModel",d],function(t){t("./AxisModel");var e=t(d);return e[lr]({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/Axis2D",[sa,oa,"../Axis","./axisLabelInterval"],function(t){var e=t(oa),i=t("../Axis"),n=t("./axisLabelInterval"),r=function(t,e,n,r,a){i.call(this,t,e,n),this.type=r||"value",this[gn]=a||Cr};return r[jr]={constructor:r,index:0,onZero:!1,model:null,isHorizontal:function(){var t=this[gn];return"top"===t||t===Cr},getGlobalExtent:function(t){var e=this[on]();return e[0]=this[Fi](e[0]),e[1]=this[Fi](e[1]),t&&e[0]>e[1]&&e[Qe](),e},getOtherAxis:function(){this.grid[Ii]()},getLabelInterval:function(){var t=this._labelInterval;return t||(t=this._labelInterval=n(this)),t},isLabelIgnored:function(t){if(this.type===ji){var e=this.getLabelInterval();return typeof e===Bn&&!e(t,this.scale[rn](t))||t%(e+1)}},pointToData:function(t,e){return this[Bi](this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},e[In](r,i),r}),e("echarts/chart/helper/createListFromArray",[sa,Be,Ne,oa,ii,$i],function(t){function e(t){for(var e=0;e<t[Tr]&&null==t[e];)e++;return t[e]}function i(t){var i=e(t);return null!=i&&!u[Gn](d(i))}function n(t,e,n){t=t||[];var r=e.get(Sr),a=p[r],v=h.get(r),g=a&&a(t,e,n),m=g&&g[Pi];m||(m=v&&(v.getDimensionsInfo?v.getDimensionsInfo():v[Pi].slice())||["x","y"],m=l(m,t,{defaultNames:m[hr](["value"])}));var y=g?g.categoryIndex:-1,x=new s(m,e),_=o(g,t),b={},w=y>=0&&i(t)?function(t,e,i,n){return c.isDataItemOption(t)&&(x[ne]=!0),n===y?i:f(d(t),m[n])}:function(t,e,i,n){var r=d(t),a=f(r&&r[n],m[n]);c.isDataItemOption(t)&&(x[ne]=!0);var o=g&&g.categoryAxesModels;return o&&o[e]&&typeof a===Ur&&(b[e]=b[e]||o[e].getCategories(),a=u[Ar](b[e],a),0>a&&!isNaN(a)&&(a=+a)),a};return x[ne]=!1,x[Oe](t,_,w),x}function r(t){return t!==ji&&"time"!==t}function a(t){return t===ji?Ue:"time"===t?"time":"float"}function o(t,e){var i,n=[],r=t&&t[Pi][t.categoryIndex];if(r&&(i=t.categoryAxesModels[r.name]),i){var a=i.getCategories();if(a){var o=e[Tr];if(u[Gn](e[0])&&e[0][Tr]>1){n=[];for(var s=0;o>s;s++)n[s]=a[e[s][t.categoryIndex||0]]}else n=a.slice(0)}}return n}var s=t(Be),l=t(Ne),u=t(oa),c=t(ii),h=t($i),d=c.getDataItemValue,f=c.converDataValue,p={cartesian2d:function(t,e,i){var n=u.map(["xAxis","yAxis"],function(t){return i[C]({mainType:t,index:e.get(t+"Index"),id:e.get(t+"Id")})[0]}),o=n[0],s=n[1],c=o.get("type"),h=s.get("type"),d=[{name:"x",type:a(c),stackable:r(c)},{name:"y",type:a(h),stackable:r(h)}],f=c===ji,p=h===ji;l(d,t,{defaultNames:["x","y","z"]});var v={};return f&&(v.x=o),p&&(v.y=s),{dimensions:d,categoryIndex:f?0:p?1:-1,categoryAxesModels:v}},singleAxis:function(t,e,i){var n=i[C]({mainType:"singleAxis",index:e.get("singleAxisIndex"),id:e.get("singleAxisId")})[0],o=n.get("type"),s=o===ji,u=[{name:"single",type:a(o),stackable:r(o)}];l(u,t);var c={};return s&&(c[g]=n),{dimensions:u,categoryIndex:s?0:-1,categoryAxesModels:c}},polar:function(t,e,i){var n=i[C]({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0],o=n.findAxisModel("angleAxis"),s=n.findAxisModel("radiusAxis"),u=s.get("type"),c=o.get("type"),h=[{name:"radius",type:a(u),stackable:r(u)},{name:"angle",type:a(c),stackable:r(c)}],d=c===ji,f=u===ji;
  l(h,t,{defaultNames:[ei,"angle","value"]});var p={};return f&&(p[ei]=s),d&&(p.angle=o),{dimensions:h,categoryIndex:d?1:f?0:-1,categoryAxesModels:p}},geo:function(t){return{dimensions:l([{name:"lng"},{name:"lat"}],t,{defaultNames:["lng","lat","value"]})}}};return n}),e("echarts/data/List",[sa,"../model/Model","./DataDiffer",oa,"../util/model"],function(t){function e(t){return c[Gn](t)||(t=[t]),t}function i(t,e){var i=t[Pi],n=new v(c.map(i,t.getDimensionInfo,t),t[Ye]);p(n,t);for(var r=n._storage={},a=t._storage,o=0;o<i[Tr];o++){var s=i[o],l=a[s];r[s]=c[Ar](e,s)>=0?new l.constructor(a[s][Tr]):a[s]}return n}var n=U,r=typeof window===U?global:window,a=typeof r.Float64Array===n?Array:r.Float64Array,o=typeof r.Int32Array===n?Array:r.Int32Array,s={"float":a,"int":o,ordinal:Array,number:Array,time:Array},l=t("../model/Model"),u=t("./DataDiffer"),c=t(oa),h=t("../util/model"),d=c[Br],f=["stackedOn",ne,"_nameList","_idList","_rawData"],p=function(t,e){c.each(f[hr](e.__wrappedMethods||[]),function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t.__wrappedMethods=e.__wrappedMethods},v=function(t,e){t=t||["x","y"];for(var i={},n=[],r=0;r<t[Tr];r++){var a,o={};typeof t[r]===Ur?(a=t[r],o={name:a,stackable:!1,type:"number"}):(o=t[r],a=o.name,o.type=o.type||zn),n.push(a),i[a]=o}this[Pi]=n,this._dimensionInfos=i,this[Ye]=e,this[qn],this.indices=[],this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this.stackedOn=null,this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._rawData,this._extent},g=v[jr];g.type="list",g[ne]=!0,g.getDimension=function(t){return isNaN(t)||(t=this[Pi][t]||t),t},g.getDimensionInfo=function(t){return c.clone(this._dimensionInfos[this.getDimension(t)])},g[Oe]=function(t,e,i){t=t||[],this._rawData=t;var n=this._storage={},r=this.indices=[],a=this[Pi],o=t[Tr],l=this._dimensionInfos,u=[],c={};e=e||[];for(var d=0;d<a[Tr];d++){var f=l[a[d]],p=s[f.type];n[a[d]]=new p(o)}var v=this;i||(v[ne]=!1),i=i||function(t,e,i,n){var r=h.getDataItemValue(t);return h.isDataItemOption(t)&&(v[ne]=!0),h.converDataValue(r instanceof Array?r[n]:r,l[e])};for(var g=0;g<t[Tr];g++){for(var m=t[g],y=0;y<a[Tr];y++){var x=a[y],_=n[x];_[g]=i(m,x,g,y)}r.push(g)}for(var d=0;d<t[Tr];d++){e[d]||t[d]&&null!=t[d].name&&(e[d]=t[d].name);var b=e[d]||"",w=t[d]&&t[d].id;!w&&b&&(c[b]=c[b]||0,w=b,c[b]>0&&(w+="__ec__"+c[b]),c[b]++),w&&(u[d]=w)}this._nameList=e,this._idList=u},g.count=function(){return this.indices[Tr]},g.get=function(t,e,i){var n=this._storage,r=this.indices[e];if(null==r)return 0/0;var a=n[t]&&n[t][r];if(i){var o=this._dimensionInfos[t];if(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},g.getValues=function(t,e,i){var n=[];c[Gn](t)||(i=e,e=t,t=this[Pi]);for(var r=0,a=t[Tr];a>r;r++)n.push(this.get(t[r],e,i));return n},g.hasValue=function(t){for(var e=this[Pi],i=this._dimensionInfos,n=0,r=e[Tr];r>n;n++)if(i[e[n]].type!==Ue&&isNaN(this.get(e[n],t)))return!1;return!0},g[en]=function(t,e,i){t=this.getDimension(t);var n=this._storage[t],r=this.getDimensionInfo(t);e=r&&r.stackable&&e;var a,o=(this._extent||(this._extent={}))[t+!!e];if(o)return o;if(n){for(var s=1/0,l=-1/0,u=0,c=this.count();c>u;u++)a=this.get(t,u,e),(!i||i(a,t,u))&&(s>a&&(s=a),a>l&&(l=a));return this._extent[t+!!e]=[s,l]}return[1/0,-1/0]},g.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},g[Ar]=function(t,e){var i=this._storage,n=i[t],r=this.indices;if(n)for(var a=0,o=r[Tr];o>a;a++){var s=r[a];if(n[s]===e)return a}return-1},g.indexOfName=function(t){for(var e=this.indices,i=this._nameList,n=0,r=e[Tr];r>n;n++){var a=e[n];if(i[a]===t)return n}return-1},g.indexOfRawIndex=function(t){var e=this.indices,i=e[t];if(null!=i&&i===t)return t;for(var n=0,r=e[Tr]-1;r>=n;){var a=(n+r)/2|0;if(e[a]<t)n=a+1;else{if(!(e[a]>t))return a;r=a-1}}return-1},g.indexOfNearest=function(t,e,i,n){var r=this._storage,a=r[t],o=[];if(!a)return o;null==n&&(n=1/0);for(var s=Number[T],l=-1,u=0,c=this.count();c>u;u++){var h=e-this.get(t,u,i),d=Math.abs(h);n>=h&&s>=d&&((s>d||h>=0&&0>l)&&(s=d,l=h,o[Tr]=0),o.push(u))}return o},g[ye]=function(t){var e=this.indices[t];return null==e?-1:e},g.getRawDataItem=function(t){return this._rawData[this[ye](t)]},g[Ie]=function(t){return this._nameList[this.indices[t]]||""},g.getId=function(t){return this._idList[this.indices[t]]||this[ye](t)+""},g.each=function(t,i,n,r){typeof t===Bn&&(r=n,n=i,i=t,t=[]),t=c.map(e(t),this.getDimension,this);var a=[],o=t[Tr],s=this.indices;r=r||this;for(var l=0;l<s[Tr];l++)switch(o){case 0:i.call(r,l);break;case 1:i.call(r,this.get(t[0],l,n),l);break;case 2:i.call(r,this.get(t[0],l,n),this.get(t[1],l,n),l);break;default:for(var u=0;o>u;u++)a[u]=this.get(t[u],l,n);a[u]=l,i.apply(r,a)}},g.filterSelf=function(t,i,n,r){typeof t===Bn&&(r=n,n=i,i=t,t=[]),t=c.map(e(t),this.getDimension,this);var a=[],o=[],s=t[Tr],l=this.indices;r=r||this;for(var u=0;u<l[Tr];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},g[ti]=function(t,e,i,n){typeof t===Bn&&(n=i,i=e,e=t,t=[]);var r=[];return this.each(t,function(){r.push(e&&e.apply(this,arguments))},i,n),r},g.map=function(t,n,r,a){t=c.map(e(t),this.getDimension,this);var o=i(this,t),s=o.indices=this.indices,l=o._storage,u=[];return this.each(t,function(){var e=arguments[arguments[Tr]-1],i=n&&n.apply(this,arguments);if(null!=i){typeof i===zn&&(u[0]=i,i=u);for(var r=0;r<i[Tr];r++){var a=t[r],o=l[a],c=s[e];o&&(o[c]=i[r])}}},r,a),o},g.downSample=function(t,e,n,r){for(var a=i(this,[t]),o=this._storage,s=a._storage,l=this.indices,u=a.indices=[],c=[],h=[],d=Math.floor(1/e),f=s[t],p=this.count(),v=0;v<o[t][Tr];v++)s[t][v]=o[t][v];for(var v=0;p>v;v+=d){d>p-v&&(d=p-v,c[Tr]=d);for(var g=0;d>g;g++){var m=l[v+g];c[g]=f[m],h[g]=m}var y=n(c),m=h[r(c,y)||0];f[m]=y,u.push(m)}return a},g[_i]=function(t){var e=this[Ye];return t=this.indices[t],new l(this._rawData[t],e,e&&e[M])},g.diff=function(t){var e,i=this._idList,n=t&&t._idList,r="e\x00\x00";return new u(t?t.indices:[],this.indices,function(t){return null!=(e=n[t])?e:r+t},function(t){return null!=(e=i[t])?e:r+t})},g[Mr]=function(t){var e=this._visual;return e&&e[t]},g[ia]=function(t,e){if(d(t))for(var i in t)t.hasOwnProperty(i)&&this[ia](i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},g[ai]=function(t,e){if(d(t))for(var i in t)t.hasOwnProperty(i)&&this[ai](i,t[i]);else this._layout[t]=e},g[te]=function(t){return this._layout[t]},g[pi]=function(t){return this._itemLayouts[t]},g[ri]=function(t,e,i){this._itemLayouts[t]=i?c[lr](this._itemLayouts[t]||{},e):e},g.clearItemLayouts=function(){this._itemLayouts[Tr]=0},g[_r]=function(t,e,i){var n=this._itemVisuals[t],r=n&&n[e];return null!=r||i?r:this[Mr](e)},g[He]=function(t,e,i){var n=this._itemVisuals[t]||{};if(this._itemVisuals[t]=n,d(e))for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);else n[e]=i},g.clearAllVisual=function(){this._visual={},this._itemVisuals=[]};var m=function(t){t[jn]=this[jn],t[br]=this[br],t[qn]=this[qn]};return g[xi]=function(t,e){var i=this[Ye];e&&(e[br]=t,e[qn]=this[qn],e[jn]=i&&i[jn],"group"===e.type&&e[Wn](m,e)),this._graphicEls[t]=e},g[yi]=function(t){return this._graphicEls[t]},g[gi]=function(t,e){c.each(this._graphicEls,function(i,n){i&&t&&t.call(e,i,n)})},g.cloneShallow=function(){var t=c.map(this[Pi],this.getDimensionInfo,this),e=new v(t,this[Ye]);return e._storage=this._storage,p(e,this),e.indices=this.indices.slice(),this._extent&&(e._extent=c[lr]({},this._extent)),e},g.wrapMethod=function(t,e){var i=this[t];typeof i===Bn&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t][hr](c.slice(arguments)))})},g.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],g.CHANGABLE_METHODS=["filterSelf"],v}),e("zrender/vml/graphic",[sa,"../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){if(!t("../core/env")[zr]){var e=t("../core/vector"),i=t("../core/BoundingRect"),n=t("../core/PathProxy").CMD,r=t("../tool/color"),a=t("../contain/text"),o=t("../graphic/mixin/RectText"),l=t("../graphic/Displayable"),u=t("../graphic/Image"),c=t("../graphic/Text"),h=t("../graphic/Path"),d=t("../graphic/Gradient"),f=t("./core"),p=Math.round,v=Math.sqrt,g=Math.abs,m=Math.cos,y=Math.sin,x=Math.max,_=e[ee],b=",",M="progid:DXImageTransform.Microsoft",S=21600,A=S/2,T=1e5,C=1e3,P=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=S+","+S,t.coordorigin="0,0"},L=function(t){return String(t)[Hn](/&/g,"&amp;")[Hn](/"/g,"&quot;")},D=function(t,e,i){return"rgb("+[t,e,i].join(",")+")"},I=function(t,e){e&&t&&e[Y]!==t&&t.appendChild(e)},k=function(t,e){e&&t&&e[Y]===t&&t.removeChild(e)},z=function(t,e,i){return(parseFloat(t)||0)*T+(parseFloat(e)||0)*C+i},R=function(t,e){return typeof t===Ur?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t},V=function(t,e,i){var n=r.parse(e);i=+i,isNaN(i)&&(i=1),n&&(t.color=D(n[0],n[1],n[2]),t[pn]=i*n[3])},O=function(t){var e=r.parse(t);return[D(e[0],e[1],e[2]),e[3]]},E=function(t,e,i){var n=e.fill;if(null!=n)if(n instanceof d){var r,a=0,o=[0,0],s=0,l=1,u=i[wn](),c=u.width,h=u[Wr];if(n.type===J){r="gradient";var f=i[ie],p=[n.x*c,n.y*h],v=[n.x2*c,n.y2*h];f&&(_(p,p,f),_(v,v,f));var g=v[0]-p[0],m=v[1]-p[1];a=180*Math.atan2(g,m)/Math.PI,0>a&&(a+=360),1e-6>a&&(a=0)}else{r="gradientradial";var p=[n.x*c,n.y*h],f=i[ie],y=i.scale,b=c,w=h;o=[(p[0]-u.x)/b,(p[1]-u.y)/w],f&&_(p,p,f),b/=y[0]*S,w/=y[1]*S;var M=x(b,w);s=0/M,l=2*n.r/M-s}var A=n[gr].slice();A.sort(function(t,e){return t[oi]-e[oi]});for(var T=A[Tr],C=[],P=[],L=0;T>L;L++){var D=A[L],I=O(D.color);P.push(D[oi]*l+s+" "+I[0]),(0===L||L===T-1)&&C.push(I)}if(T>=2){var k=C[0][0],z=C[1][0],R=C[0][1]*e[pn],E=C[1][1]*e[pn];t.type=r,t.method="none",t.focus="100%",t.angle=a,t.color=k,t.color2=z,t.colors=P.join(","),t[pn]=E,t.opacity2=R}"radial"===r&&(t.focusposition=o.join(","))}else V(t,n,e[pn])},N=function(t,e){null!=e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e[ce]||e[ce]instanceof d||V(t,e[ce],e[pn])},B=function(t,e,i,n){var r="fill"==e,a=t.getElementsByTagName(e)[0];null!=i[e]&&"none"!==i[e]&&(r||!r&&i[w])?(t[r?"filled":"stroked"]="true",i[e]instanceof d&&k(t,a),a||(a=f.createNode(e)),r?E(a,i,n):N(a,i),I(t,a)):(t[r?"filled":"stroked"]="false",k(t,a))},G=[[],[],[]],H=function(t,e){var i,r,a,o,s,l,u=n.M,c=n.C,h=n.L,d=n.A,f=n.Q,g=[];for(o=0;o<t[Tr];){switch(a=t[o++],r="",i=0,a){case u:r=" m ",i=1,s=t[o++],l=t[o++],G[0][0]=s,G[0][1]=l;break;case h:r=" l ",i=1,s=t[o++],l=t[o++],G[0][0]=s,G[0][1]=l;break;case f:case c:r=" c ",i=3;var x,w,M=t[o++],T=t[o++],C=t[o++],P=t[o++];a===f?(x=C,w=P,C=(C+2*M)/3,P=(P+2*T)/3,M=(s+2*M)/3,T=(l+2*T)/3):(x=t[o++],w=t[o++]),G[0][0]=M,G[0][1]=T,G[1][0]=C,G[1][1]=P,G[2][0]=x,G[2][1]=w,s=x,l=w;break;case d:var L=0,D=0,I=1,k=1,z=0;e&&(L=e[4],D=e[5],I=v(e[0]*e[0]+e[1]*e[1]),k=v(e[2]*e[2]+e[3]*e[3]),z=Math.atan2(-e[1]/k,e[0]/I));var R=t[o++],V=t[o++],O=t[o++],E=t[o++],N=t[o++]+z,B=t[o++]+N+z;o++;var H=t[o++],F=R+m(N)*O,Z=V+y(N)*E,M=R+m(B)*O,T=V+y(B)*E,W=H?" wa ":" at ";Math.abs(F-M)<1e-4&&(Math.abs(B-N)>.01?H&&(F+=270/S):Math.abs(Z-V)<1e-4?H&&R>F||!H&&F>R?T-=270/S:T+=270/S:H&&V>Z||!H&&Z>V?M+=270/S:M-=270/S),g.push(W,p(((R-O)*I+L)*S-A),b,p(((V-E)*k+D)*S-A),b,p(((R+O)*I+L)*S-A),b,p(((V+E)*k+D)*S-A),b,p((F*I+L)*S-A),b,p((Z*k+D)*S-A),b,p((M*I+L)*S-A),b,p((T*k+D)*S-A)),s=M,l=T;break;case n.R:var q=G[0],U=G[1];q[0]=t[o++],q[1]=t[o++],U[0]=q[0]+t[o++],U[1]=q[1]+t[o++],e&&(_(q,q,e),_(U,U,e)),q[0]=p(q[0]*S-A),U[0]=p(U[0]*S-A),q[1]=p(q[1]*S-A),U[1]=p(U[1]*S-A),g.push(" m ",q[0],b,q[1]," l ",U[0],b,q[1]," l ",U[0],b,U[1]," l ",q[0],b,U[1]);break;case n.Z:g.push(" x ")}if(i>0){g.push(r);for(var j=0;i>j;j++){var X=G[j];e&&_(X,X,e),g.push(p(X[0]*S-A),b,p(X[1]*S-A),i-1>j?b:"")}}}return g.join("")};h[jr].brushVML=function(t){var e=this.style,i=this._vmlEl;i||(i=f.createNode("shape"),P(i),this._vmlEl=i),B(i,"fill",e,this),B(i,ce,e,this);var n=this[ie],r=null!=n,a=i.getElementsByTagName(ce)[0];if(a){var o=e[w];if(r&&!e.strokeNoScale){var l=n[0]*n[3]-n[1]*n[2];o*=v(g(l))}a.weight=o+"px"}var u=this.path;this.__dirtyPath&&(u.beginPath(),this[s](u,this.shape),u.toStatic(),this.__dirtyPath=!1),i.path=H(u.data,this[ie]),i.style.zIndex=z(this[Fn],this.z,this.z2),I(t,i),null!=e.text?this.drawRectText(t,this[wn]()):this.removeRectText(t)},h[jr].onRemove=function(t){k(t,this._vmlEl),this.removeRectText(t)},h[jr].onAdd=function(t){I(t,this._vmlEl),this.appendRectText(t)};var Z=function(t){return"object"==typeof t&&t.tagName&&"IMG"===t.tagName.toUpperCase()};u[jr].brushVML=function(t){var e,i,n=this.style,r=n.image;if(Z(r)){var a=r.src;if(a===this._imageSrc)e=this._imageWidth,i=this._imageHeight;else{var o=r.runtimeStyle,s=o.width,l=o[Wr];o.width="auto",o[Wr]="auto",e=r.width,i=r[Wr],o.width=s,o[Wr]=l,this._imageSrc=a,this._imageWidth=e,this._imageHeight=i}r=a}else r===this._imageSrc&&(e=this._imageWidth,i=this._imageHeight);if(r){var u=n.x||0,c=n.y||0,h=n.width,d=n[Wr],g=n.sWidth,m=n.sHeight,y=n.sx||0,w=n.sy||0,S=g&&m,A=this._vmlEl;A||(A=f.doc[tn]("div"),P(A),this._vmlEl=A);var T,C=A.style,L=!1,D=1,k=1;if(this[ie]&&(T=this[ie],D=v(T[0]*T[0]+T[1]*T[1]),k=v(T[2]*T[2]+T[3]*T[3]),L=T[1]||T[2]),L){var R=[u,c],V=[u+h,c],O=[u,c+d],E=[u+h,c+d];_(R,R,T),_(V,V,T),_(O,O,T),_(E,E,T);var N=x(R[0],V[0],O[0],E[0]),B=x(R[1],V[1],O[1],E[1]),G=[];G.push("M11=",T[0]/D,b,"M12=",T[2]/k,b,"M21=",T[1]/D,b,"M22=",T[3]/k,b,"Dx=",p(u*D+T[4]),b,"Dy=",p(c*k+T[5])),C[xn]="0 "+p(N)+"px "+p(B)+"px 0",C[kn]=M+".Matrix("+G.join("")+", SizingMethod=clip)"}else T&&(u=u*D+T[4],c=c*k+T[5]),C[kn]="",C.left=p(u)+"px",C.top=p(c)+"px";var H=this._imageEl,F=this._cropEl;H||(H=f.doc[tn]("div"),this._imageEl=H);var W=H.style;if(S){if(e&&i)W.width=p(D*e*h/g)+"px",W[Wr]=p(k*i*d/m)+"px";else{var q=new Image,U=this;q.onload=function(){q.onload=null,e=q.width,i=q[Wr],W.width=p(D*e*h/g)+"px",W[Wr]=p(k*i*d/m)+"px",U._imageWidth=e,U._imageHeight=i,U._imageSrc=r},q.src=r}F||(F=f.doc[tn]("div"),F.style.overflow="hidden",this._cropEl=F);var j=F.style;j.width=p((h+y*h/g)*D),j[Wr]=p((d+w*d/m)*k),j[kn]=M+".Matrix(Dx="+-y*h/g*D+",Dy="+-w*d/m*k+")",F[Y]||A.appendChild(F),H[Y]!=F&&F.appendChild(H)}else W.width=p(D*h)+"px",W[Wr]=p(k*d)+"px",A.appendChild(H),F&&F[Y]&&(A.removeChild(F),this._cropEl=null);var X="",$=n[pn];1>$&&(X+=".Alpha(opacity="+p(100*$)+") "),X+=M+".AlphaImageLoader(src="+r+", SizingMethod=scale)",W[kn]=X,A.style.zIndex=z(this[Fn],this.z,this.z2),I(t,A),null!=n.text&&this.drawRectText(t,this[wn]())}},u[jr].onRemove=function(t){k(t,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(t)},u[jr].onAdd=function(t){I(t,this._vmlEl),this.appendRectText(t)};var W,q=Mi,U={},j=0,X=100,$=document[tn]("div"),K=function(t){var e=U[t];if(!e){j>X&&(j=0,U={});var i,n=$.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"},U[t]=e,j++}return e};a.measureText=function(t,e){var i=f.doc;W||(W=i[tn]("div"),W.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",f.doc.body.appendChild(W));try{W.style.font=e}catch(n){}return W.innerHTML="",W.appendChild(i.createTextNode(t)),{width:W.offsetWidth}};for(var Q=new i,te=function(t,e,i,n){var r=this.style,o=r.text;if(null!=o&&(o+=""),o){var s,l,u=r[An],c=K(r.textFont),h=c.style+" "+c.variant+" "+c.weight+" "+c.size+'px "'+c.family+'"',d=r.textBaseline,v=r[cn];i=i||a[wn](o,h,u,d);var g=this[ie];if(g&&!n&&(Q.copy(e),Q[ee](g),e=Q),n)s=e.x,l=e.y;else{var m=r[F],y=r.textDistance;if(m instanceof Array)s=e.x+R(m[0],e.width),l=e.y+R(m[1],e[Wr]),u=u||"left",d=d||"top";else{var x=a.adjustTextPositionOnRect(m,e,i,y);s=x.x,l=x.y,u=u||x[An],d=d||x.textBaseline}}if(v){switch(v){case yn:l-=i[Wr]/2;break;case Cr:l-=i[Wr]}d="top"}var w=c.size;switch(d){case"hanging":case"top":l+=w/1.75;break;case yn:break;default:l-=w/2.25}switch(u){case"left":break;case mn:s-=i.width/2;break;case"right":s-=i.width}var M,S,A,T=f.createNode,C=this._textVmlEl;C?(A=C.firstChild,M=A.nextSibling,S=M.nextSibling):(C=T("line"),M=T("path"),S=T("textpath"),A=T("skew"),S.style["v-text-align"]="left",P(C),M.textpathok=!0,S.on=!0,C.from="0 0",C.to="1000 0.05",I(C,A),I(C,M),I(C,S),this._textVmlEl=C);var D=[s,l],k=C.style;g&&n?(_(D,D,g),A.on=!0,A.matrix=g[0][Re](3)+b+g[2][Re](3)+b+g[1][Re](3)+b+g[3][Re](3)+",0,0",A[oi]=(p(D[0])||0)+","+(p(D[1])||0),A.origin="0 0",k.left="0px",k.top="0px"):(A.on=!1,k.left=p(s)+"px",k.top=p(l)+"px"),S[Ur]=L(o);try{S.style.font=h}catch(V){}B(C,"fill",{fill:n?r.fill:r.textFill,opacity:r[pn]},this),B(C,ce,{stroke:n?r[ce]:r.textStroke,opacity:r[pn],lineDash:r.lineDash},this),C.style.zIndex=z(this[Fn],this.z,this.z2),I(t,C)}},ne=function(t){k(t,this._textVmlEl),this._textVmlEl=null},re=function(t){I(t,this._textVmlEl)},ae=[o,l,u,h,c],oe=0;oe<ae[Tr];oe++){var se=ae[oe][jr];se.drawRectText=te,se.removeRectText=ne,se.appendRectText=re}c[jr].brushVML=function(t){var e=this.style;null!=e.text?this.drawRectText(t,{x:e.x||0,y:e.y||0,width:0,height:0},this[wn](),!0):this.removeRectText(t)},c[jr].onRemove=function(t){this.removeRectText(t)},c[jr].onAdd=function(t){this.appendRectText(t)}}}),e("echarts/model/globalDefault",[],function(){var t="";return typeof navigator!==U&&(t=navigator.platform||""),{color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],textStyle:{fontFamily:t.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3}}),e("echarts/model/mixin/colorPalette",[sa,"../../util/clazz"],function(t){var e=t("../../util/clazz"),i=e.set,n=e.get;return{clearColorPalette:function(){i(this,"colorIdx",0),i(this,"colorNameMap",{})},getColorFromPalette:function(t,e){e=e||this;var r=n(e,"colorIdx")||0,a=n(e,"colorNameMap")||i(e,"colorNameMap",{});if(a[t])return a[t];var o=this.get("color",!0)||[];if(o[Tr]){var s=o[r];return t&&(a[t]=s),i(e,"colorIdx",(r+1)%o[Tr]),s}}}}),e("echarts/util/clazz",[sa,oa],function(t){function e(t){r[Gr](/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function i(t,e){var i=r.slice(arguments,2);return this.superClass[jr][e].apply(t,i)}function n(t,e,i){return this.superClass[jr][e].apply(t,i)}var r=t(oa),a={},o=".",s="___EC__COMPONENT__CONTAINER___",l="\x00ec_\x00";a.set=function(t,e,i){return t[l+e]=i},a.get=function(t,e){return t[l+e]},a.hasOwn=function(t,e){return t.hasOwnProperty(l+e)};var u=a.parseClassType=function(t){var e={main:"",sub:""};return t&&(t=t.split(o),e.main=t[0]||"",e.sub=t[1]||""),e};return a.enableClassExtend=function(t,e){t.$constructor=t,t[lr]=function(t){var e=this,a=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return r[lr](a[jr],t),a[lr]=this[lr],a[Ee]=i,a[dn]=n,r[In](a,this),a.superClass=e,a}},a.enableClassManagement=function(t,i){function n(t){var e=a[t.main];return e&&e[s]||(e=a[t.main]={},e[s]=!0),e}i=i||{};var a={};if(t.registerClass=function(t,i){if(i)if(e(i),i=u(i),i.sub){if(i.sub!==s){var r=n(i);r[i.sub]=t}}else a[i.main]=t;return t},t.getClass=function(t,e,i){var n=a[t];if(n&&n[s]&&(n=e?n[e]:null),i&&!n)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return n},t.getClassesByMainType=function(t){t=u(t);var e=[],i=a[t.main];return i&&i[s]?r.each(i,function(t,i){i!==s&&e.push(t)}):e.push(i),e},t.hasClass=function(t){return t=u(t),!!a[t.main]},t.getAllClassMainTypes=function(){var t=[];return r.each(a,function(e,i){t.push(i)}),t},t.hasSubTypes=function(t){t=u(t);var e=a[t.main];return e&&e[s]},t.parseClassType=u,i.registerWhenExtend){var o=t[lr];o&&(t[lr]=function(e){var i=o.call(this,e);return t.registerClass(i,e.type)})}return t},a.setReadOnly=function(){},a}),e("zrender/tool/path",[sa,"../graphic/Path","../core/PathProxy","./transformPath","../core/matrix"],function(t){function e(t,e,i,n,r,a,o,s,l,u,c){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 b=(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,w=b*o*x/s,M=b*-s*y/o,S=(t+i)/2+f(v)*w-d(v)*M,A=(e+n)/2+d(v)*w+f(v)*M,T=m([1,0],[(y-w)/o,(x-M)/s]),C=[(y-w)/o,(x-M)/s],P=[(-1*y-w)/o,(-1*x-M)/s],L=m(C,P);g(C,P)<=-1&&(L=p),g(C,P)>=1&&(L=0),0===a&&L>0&&(L-=2*p),1===a&&0>L&&(L+=2*p),c.addData(u,S,A,o,s,T,L,v,a)}function i(t){if(!t)return[];var i,n=t[Hn](/-/g," -")[Hn](/  /g," ")[Hn](/ /g,",")[Hn](/,,/g,",");for(i=0;i<c[Tr];i++)n=n[Hn](new RegExp(c[i],"g"),"|"+c[i]);var r,o=n.split("|"),s=0,l=0,u=new a,h=a.CMD;for(i=1;i<o[Tr];i++){var d,f=o[i],p=f.charAt(0),v=0,g=f.slice(1)[Hn](/e,-/g,"e-").split(",");g[Tr]>0&&""===g[0]&&g.shift();for(var m=0;m<g[Tr];m++)g[m]=parseFloat(g[m]);for(;v<g[Tr]&&!isNaN(g[v])&&!isNaN(g[0]);){var y,x,_,b,w,M,S,A=s,T=l;switch(p){case"l":s+=g[v++],l+=g[v++],d=h.L,u.addData(d,s,l);break;case"L":s=g[v++],l=g[v++],d=h.L,u.addData(d,s,l);break;case"m":s+=g[v++],l+=g[v++],d=h.M,u.addData(d,s,l),p="l";break;case"M":s=g[v++],l=g[v++],d=h.M,u.addData(d,s,l),p="L";break;case"h":s+=g[v++],d=h.L,u.addData(d,s,l);break;case"H":s=g[v++],d=h.L,u.addData(d,s,l);break;case"v":l+=g[v++],d=h.L,u.addData(d,s,l);break;case"V":l=g[v++],d=h.L,u.addData(d,s,l);break;case"C":d=h.C,u.addData(d,g[v++],g[v++],g[v++],g[v++],g[v++],g[v++]),s=g[v-2],l=g[v-1];break;case"c":d=h.C,u.addData(d,g[v++]+s,g[v++]+l,g[v++]+s,g[v++]+l,g[v++]+s,g[v++]+l),s+=g[v-2],l+=g[v-1];break;case"S":y=s,x=l;var C=u.len(),P=u.data;r===h.C&&(y+=s-P[C-4],x+=l-P[C-3]),d=h.C,A=g[v++],T=g[v++],s=g[v++],l=g[v++],u.addData(d,y,x,A,T,s,l);break;case"s":y=s,x=l;var C=u.len(),P=u.data;r===h.C&&(y+=s-P[C-4],x+=l-P[C-3]),d=h.C,A=s+g[v++],T=l+g[v++],s+=g[v++],l+=g[v++],u.addData(d,y,x,A,T,s,l);break;case"Q":A=g[v++],T=g[v++],s=g[v++],l=g[v++],d=h.Q,u.addData(d,A,T,s,l);break;case"q":A=g[v++]+s,T=g[v++]+l,s+=g[v++],l+=g[v++],d=h.Q,u.addData(d,A,T,s,l);break;case"T":y=s,x=l;var C=u.len(),P=u.data;r===h.Q&&(y+=s-P[C-4],x+=l-P[C-3]),s=g[v++],l=g[v++],d=h.Q,u.addData(d,y,x,s,l);break;case"t":y=s,x=l;var C=u.len(),P=u.data;r===h.Q&&(y+=s-P[C-4],x+=l-P[C-3]),s+=g[v++],l+=g[v++],d=h.Q,u.addData(d,y,x,s,l);break;case"A":_=g[v++],b=g[v++],w=g[v++],M=g[v++],S=g[v++],A=s,T=l,s=g[v++],l=g[v++],d=h.A,e(A,T,s,l,M,S,_,b,w,d,u);break;case"a":_=g[v++],b=g[v++],w=g[v++],M=g[v++],S=g[v++],A=s,T=l,s+=g[v++],l+=g[v++],d=h.A,e(A,T,s,l,M,S,_,b,w,d,u)}}("z"===p||"Z"===p)&&(d=h.Z,u.addData(d)),r=d}return u.toStatic(),u}function n(t,e){var n,r=i(t);return e=e||{},e[s]=function(t){t.setData(r.data),n&&o(t,n);var e=t[Qi]();e&&t.rebuildPath(e)},e[ee]=function(t){n||(n=u[xr]()),u.mul(n,t,n),this.dirty(!0)},e}var r=t("../graphic/Path"),a=t("../core/PathProxy"),o=t("./transformPath"),u=t("../core/matrix"),c=["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])},g=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(v(t)*v(e))},m=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(g(t,e))};return{createFromString:function(t,e){return new r(n(t,e))},extendFromString:function(t,e){return r[lr](n(t,e))},mergePath:function(t,e){for(var i=[],n=t[Tr],a=0;n>a;a++){var o=t[a];o[l]&&o[s](o.path,o.shape,!0),i.push(o.path)}var u=new r(e);return u[s]=function(t){t.appendPath(i);var e=t[Qi]();e&&t.rebuildPath(e)},u}}}),e("zrender/graphic/shape/Circle",[sa,"../Path"],function(t){return t("../Path")[lr]({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,i){i&&t[D](e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}})}),e("zrender/graphic/Path",[sa,"./Displayable",o,"../core/PathProxy","../contain/path","./Pattern"],function(t){function e(t){i.call(this,t),this.path=new r}var i=t("./Displayable"),n=t(o),r=t("../core/PathProxy"),a=t("../contain/path"),u=t("./Pattern"),c=u[jr].getCanvasPattern,h=Math.abs;return e[jr]={constructor:e,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(t,e){var i=this.style,n=this.path,r=i.hasStroke(),a=i.hasFill(),o=i.fill,u=i[ce],h=a&&!!o[gr],d=r&&!!u[gr],f=a&&!!o.image,p=r&&!!u.image;if(i.bind(t,this,e),this.setTransform(t),this[l]){var v=this[wn]();h&&(this._fillGradient=i.getGradient(t,o,v)),d&&(this._strokeGradient=i.getGradient(t,u,v))}h?t.fillStyle=this._fillGradient:f&&(t.fillStyle=c.call(o,t)),d?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=c.call(u,t));var g=i.lineDash,m=i.lineDashOffset,y=!!t.setLineDash,x=this.getGlobalScale();n.setScale(x[0],x[1]),this.__dirtyPath||g&&!y&&r?(n=this.path.beginPath(t),g&&!y&&(n.setLineDash(g),n.setLineDashOffset(m)),this[s](n,this.shape,!1),this.__dirtyPath=!1):(t.beginPath(),this.path.rebuildPath(t)),a&&n.fill(t),g&&y&&(t.setLineDash(g),t.lineDashOffset=m),r&&n[ce](t),g&&y&&t.setLineDash([]),this.restoreTransform(t),null!=i.text&&this.drawRectText(t,this[wn]())},buildPath:function(){},getBoundingRect:function(){var t=this._rect,e=this.style,i=!t;if(i){var n=this.path;this.__dirtyPath&&(n.beginPath(),this[s](n,this.shape,!1)),t=n[wn]()}if(this._rect=t,e.hasStroke()){var r=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this[l]||i){r.copy(t);var a=e[w],o=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(a=Math.max(a,this.strokeContainThreshold||4)),o>1e-10&&(r.width+=a/o,r[Wr]+=a/o,r.x-=a/o/2,r.y-=a/o/2)}return r}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this[wn](),r=this.style;if(t=i[0],e=i[1],n[ln](t,e)){var o=this.path.data;if(r.hasStroke()){var s=r[w],l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(r.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),a.containStroke(o,s/l,t,e)))return!0}if(r.hasFill())return a[ln](o,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this[l]=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this[De]("shape",t)},attrKV:function(t,e){"shape"===t?(this[hi](e),this.__dirtyPath=!0,this._rect=null):i[jr].attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(n[Br](t))for(var r in t)t.hasOwnProperty(r)&&(i[r]=t[r]);else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this[ie];return t&&h(t[0]-1)>1e-10&&h(t[3]-1)>1e-10?Math.sqrt(h(t[0]*t[3]-t[2]*t[1])):1}},e[lr]=function(t){var i=function(i){e.call(this,i),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var r=this.shape;for(var a in n)!r.hasOwnProperty(a)&&n.hasOwnProperty(a)&&(r[a]=n[a])}t.init&&t.init.call(this,i)};n[In](i,e);for(var r in t)"style"!==r&&"shape"!==r&&(i[jr][r]=t[r]);return i},n[In](e,i),e}),e("zrender/container/Group",[sa,o,"../Element","../core/BoundingRect"],function(t){var e=t(o),i=t("../Element"),n=t("../core/BoundingRect"),r=function(t){t=t||{},i.call(this,t);for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this[l]=!0};return r[jr]={constructor:r,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,i=0;i<e[Tr];i++)if(e[i].name===t)return e[i]},childCount:function(){return this._children[Tr]},add:function(t){return t&&t!==this&&t[un]!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){if(t&&t!==this&&t[un]!==this&&e&&e[un]===this){var i=this._children,n=i[Ar](e);n>=0&&(i[er](n,0,t),this._doAdd(t))}return this},_doAdd:function(t){t[un]&&t[un][ur](t),t[un]=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToMap(t),t instanceof r&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var i=this.__zr,n=this.__storage,a=this._children,o=e[Ar](a,t);return 0>o?this:(a[er](o,1),t[un]=null,n&&(n.delFromMap(t.id),t instanceof r&&t.delChildrenFromStorage(n)),i&&i.refresh(),this)},removeAll:function(){var t,e,i=this._children,n=this.__storage;for(e=0;e<i[Tr];e++)t=i[e],n&&(n.delFromMap(t.id),t instanceof r&&t.delChildrenFromStorage(n)),t[un]=null;return i[Tr]=0,this},eachChild:function(t,e){for(var i=this._children,n=0;n<i[Tr];n++){var r=i[n];t.call(e,r,n)}return this},traverse:function(t,e){for(var i=0;i<this._children[Tr];i++){var n=this._children[i];t.call(e,n),"group"===n.type&&n[Wn](t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children[Tr];e++){var i=this._children[e];t.addToMap(i),i instanceof r&&i.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children[Tr];e++){var i=this._children[e];t.delFromMap(i.id),i instanceof r&&i.delChildrenFromStorage(t)}},dirty:function(){return this[l]=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,i=new n(0,0,0,0),r=t||this._children,a=[],o=0;o<r[Tr];o++){var s=r[o];if(!s[Pr]&&!s[Q]){var l=s[wn](),u=s[b](a);u?(i.copy(l),i[ee](u),e=e||i.clone(),e.union(i)):(e=e||l.clone(),e.union(l))}}return e||i}},e[In](r,i),r}),e("zrender/graphic/Image",[sa,"./Displayable","../core/BoundingRect",o,"../core/LRU"],function(t){function e(t){i.call(this,t)}var i=t("./Displayable"),n=t("../core/BoundingRect"),r=t(o),a=t("../core/LRU"),s=new a(50);return e[jr]={constructor:e,type:"image",brush:function(t,e){var i,n=this.style,r=n.image;if(n.bind(t,this,e),i=typeof r===Ur?this._image:r,!i&&r){var a=s.get(r);if(!a)return i=new Image,i.onload=function(){i.onload=null;for(var t=0;t<a.pending[Tr];t++)a.pending[t].dirty()},a={image:i,pending:[this]},i.src=r,s.put(r,a),void(this._image=i);if(i=a.image,this._image=i,!i.width||!i[Wr])return void a.pending.push(this)}if(i){var o=n.x||0,l=n.y||0;if(!i.width||!i[Wr])return;var u=n.width,c=n[Wr],h=i.width/i[Wr];if(null==u&&null!=c?u=c*h:null==c&&null!=u?c=u/h:null==u&&null==c&&(u=i.width,c=i[Wr]),this.setTransform(t),n.sWidth&&n.sHeight){var d=n.sx||0,f=n.sy||0;t.drawImage(i,d,f,n.sWidth,n.sHeight,o,l,u,c)}else if(n.sx&&n.sy){var d=n.sx,f=n.sy,p=u-d,v=c-f;t.drawImage(i,d,f,p,v,o,l,u,c)}else t.drawImage(i,o,l,u,c);this.restoreTransform(t),null!=n.text&&this.drawRectText(t,this[wn]())}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new n(t.x||0,t.y||0,t.width||0,t[Wr]||0)),this._rect}},r[In](e,i),e}),e("zrender/graphic/Text",[sa,"./Displayable",o,"../contain/text"],function(t){var e=t("./Displayable"),i=t(o),n=t("../contain/text"),r=function(t){e.call(this,t)};return r[jr]={constructor:r,type:"text",brush:function(t,e){var i=this.style,r=i.x||0,a=i.y||0,o=i.text;if(null!=o&&(o+=""),i.bind(t,this,e),o){this.setTransform(t);var s,l=i[An],u=i.textFont||i.font;if(i[cn]){var c=n[wn](o,u,i[An],"top");switch(s=yn,i[cn]){case yn:a-=c[Wr]/2-c.lineHeight/2;break;case Cr:a-=c[Wr]-c.lineHeight/2;break;default:a+=c.lineHeight/2}}else s=i.textBaseline;t.font=u||"12px sans-serif",t[An]=l||"left",t[An]!==l&&(t[An]="left"),t.textBaseline=s||"alphabetic",t.textBaseline!==s&&(t.textBaseline="alphabetic");for(var h=n.measureText("国",t.font).width,d=o.split("\n"),f=0;f<d[Tr];f++)i.hasStroke()&&t.strokeText(d[f],r,a),i.hasFill()&&t.fillText(d[f],r,a),a+=h;this.restoreTransform(t)}},getBoundingRect:function(){var t=this.style;if(!this._rect){var e=t[cn],i=n[wn](t.text+"",t.textFont||t.font,t[An],e?"top":t.textBaseline);switch(e){case yn:i.y-=i[Wr]/2;break;case Cr:i.y-=i[Wr]}if(i.x+=t.x||0,i.y+=t.y||0,t.hasStroke()){var r=t[w];
  i.x-=r/2,i.y-=r/2,i.width+=r,i[Wr]+=r}this._rect=i}return this._rect}},i[In](r,e),r}),e("zrender/graphic/shape/Ring",[sa,"../Path"],function(t){return t("../Path")[lr]({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=2*Math.PI;t[D](i+e.r,n),t.arc(i,n,e.r,0,r,!1),t[D](i+e.r0,n),t.arc(i,n,e.r0,0,r,!0)}})}),e("zrender/graphic/shape/Sector",[sa,"../../core/env","../Path"],function(t){var e=t("../../core/env"),o=t("../Path"),s=[[a,0],[r,"#000"],[n,0],[i,0]];return o[lr]({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:e.browser.ie&&e.browser.version>=11?function(){var t,e=this.__clipPaths,i=this.style;if(e)for(var n=0;n<e[Tr];n++){var r=e[n]&&e[n].shape;if(r&&r.startAngle===r.endAngle){for(var a=0;a<s[Tr];a++)s[a][2]=i[s[a][0]],i[s[a][0]]=s[a][1];t=!0;break}}if(o[jr].brush.apply(this,arguments),t)for(var a=0;a<s[Tr];a++)i[s[a][0]]=s[a][2]}:o[jr].brush,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.startAngle,s=e.endAngle,l=e[xe],u=Math.cos(o),c=Math.sin(o);t[D](u*r+i,c*r+n),t[L](u*a+i,c*a+n),t.arc(i,n,a,o,s,!l),t[L](Math.cos(s)*r+i,Math.sin(s)*r+n),0!==r&&t.arc(i,n,r,s,o,l),t[P]()}})}),e("zrender/graphic/shape/Polygon",[sa,"../helper/poly","../Path"],function(t){var e=t("../helper/poly");return t("../Path")[lr]({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,i){e[s](t,i,!0)}})}),e("zrender/graphic/shape/Polyline",[sa,"../helper/poly","../Path"],function(t){var e=t("../helper/poly");return t("../Path")[lr]({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,i){e[s](t,i,!1)}})}),e("zrender/graphic/shape/Rect",[sa,"../helper/roundRect","../Path"],function(t){var e=t("../helper/roundRect");return t("../Path")[lr]({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,i){var n=i.x,r=i.y,a=i.width,o=i[Wr];i.r?e[s](t,i):t.rect(n,r,a,o),t[P]()}})}),e("zrender/graphic/shape/Line",[sa,"../Path"],function(t){return t("../Path")[lr]({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[Ve];0!==o&&(t[D](i,n),1>o&&(r=i*(1-o)+r*o,a=n*(1-o)+a*o),t[L](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",[sa,"../../core/curve","../../core/vector","../Path"],function(t){function e(t,e,i){var n=t.cpx2,r=t.cpy2;return null===n||null===r?[(i?u:s)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?u:s)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?l:o)(t.x1,t.cpx1,t.x2,e),(i?l:o)(t.y1,t.cpy1,t.y2,e)]}var i=t("../../core/curve"),n=t("../../core/vector"),r=i.quadraticSubdivide,a=i.cubicSubdivide,o=i.quadraticAt,s=i.cubicAt,l=i.quadraticDerivativeAt,u=i.cubicDerivativeAt,c=[];return t("../Path")[lr]({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 i=e.x1,n=e.y1,o=e.x2,s=e.y2,l=e.cpx1,u=e.cpy1,h=e.cpx2,d=e.cpy2,f=e[Ve];0!==f&&(t[D](i,n),null==h||null==d?(1>f&&(r(i,l,o,f,c),l=c[1],o=c[2],r(n,u,s,f,c),u=c[1],s=c[2]),t.quadraticCurveTo(l,u,o,s)):(1>f&&(a(i,l,h,o,f,c),l=c[1],h=c[2],o=c[3],a(n,u,d,s,f,c),u=c[1],d=c[2],s=c[3]),t.bezierCurveTo(l,u,h,d,o,s)))},pointAt:function(t){return e(this.shape,t,!1)},tangentAt:function(t){var i=e(this.shape,t,!0);return n[sn](i,i)}})}),e("zrender/graphic/shape/Arc",[sa,"../Path"],function(t){return t("../Path")[lr]({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.startAngle,o=e.endAngle,s=e[xe],l=Math.cos(a),u=Math.sin(a);t[D](l*r+i,u*r+n),t.arc(i,n,r,a,o,!s)}})}),e("zrender/graphic/LinearGradient",[sa,o,"./Gradient"],function(t){var e=t(o),i=t("./Gradient"),n=function(t,e,n,r,a,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==n?1:n,this.y2=null==r?0:r,this.type=J,this.global=o||!1,i.call(this,a)};return n[jr]={constructor:n},e[In](n,i),n}),e("zrender/graphic/RadialGradient",[sa,o,"./Gradient"],function(t){var e=t(o),i=t("./Gradient"),n=function(t,e,n,r,a){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=a||!1,i.call(this,r)};return n[jr]={constructor:n},e[In](n,i),n}),e("zrender/graphic/CompoundPath",[sa,"./Path"],function(t){var e=t("./Path");return e[lr]({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i<e[Tr];i++)t=t||e[i].__dirtyPath;this.__dirtyPath=t,this[l]=this[l]||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),i=0;i<t[Tr];i++)t[i].path.setScale(e[0],e[1])},buildPath:function(t,e){for(var i=e.paths||[],n=0;n<i[Tr];n++)i[n][s](t,i[n].shape,!0)},afterBrush:function(){for(var t=this.shape.paths,e=0;e<t[Tr];e++)t[e].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),e[jr][wn].call(this)}})}),e(K,[sa,"./vector","./matrix"],function(t){function e(t,e,i,n){0>i&&(t+=i,i=-i),0>n&&(e+=n,n=-n),this.x=t,this.y=e,this.width=i,this[Wr]=n}var i=t("./vector"),n=t("./matrix"),r=i[ee],a=Math.min,o=Math.max;return e[jr]={constructor:e,union:function(t){var e=a(t.x,this.x),i=a(t.y,this.y);this.width=o(t.x+t.width,this.x+this.width)-e,this[Wr]=o(t.y+t[Wr],this.y+this[Wr])-i,this.x=e,this.y=i},applyTransform:function(){var t=[],e=[],i=[],n=[];return function(s){if(s){t[0]=i[0]=this.x,t[1]=n[1]=this.y,e[0]=n[0]=this.x+this.width,e[1]=i[1]=this.y+this[Wr],r(t,t,s),r(e,e,s),r(i,i,s),r(n,n,s),this.x=a(t[0],e[0],i[0],n[0]),this.y=a(t[1],e[1],i[1],n[1]);var l=o(t[0],e[0],i[0],n[0]),u=o(t[1],e[1],i[1],n[1]);this.width=l-this.x,this[Wr]=u-this.y}}}(),calculateTransform:function(t){var e=this,i=t.width/e.width,r=t[Wr]/e[Wr],a=n[xr]();return n[m](a,a,[-e.x,-e.y]),n.scale(a,a,[i,r]),n[m](a,a,[t.x,t.y]),a},intersect:function(t){if(!t)return!1;t instanceof e||(t=e[xr](t));var i=this,n=i.x,r=i.x+i.width,a=i.y,o=i.y+i[Wr],s=t.x,l=t.x+t.width,u=t.y,c=t.y+t[Wr];return!(s>r||n>l||u>o||a>c)},contain:function(t,e){var i=this;return t>=i.x&&t<=i.x+i.width&&e>=i.y&&e<=i.y+i[Wr]},clone:function(){return new e(this.x,this.y,this.width,this[Wr])},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this[Wr]=t[Wr]},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this[Wr]}}},e[xr]=function(t){return new e(t.x,t.y,t.width,t[Wr])},e}),e(_,[sa,o,"../core/BoundingRect"],function(t){function e(t,e){var i=t+":"+e;if(s[i])return s[i];for(var n=(t+"").split("\n"),r=0,a=0,o=n[Tr];o>a;a++)r=Math.max(f.measureText(n[a],e).width,r);return l>u&&(l=0,s={}),l++,s[i]=r,r}function i(t,i,n,r){var a=((t||"")+"").split("\n")[Tr],o=e(t,i),s=e("国",i),l=a*s,u=new h(0,0,o,l);switch(u.lineHeight=s,r){case Cr:case"alphabetic":u.y-=s;break;case yn:u.y-=s/2}switch(n){case"end":case"right":u.x-=u.width;break;case mn:u.x-=u.width/2}return u}function n(t,e,i,n){var r=e.x,a=e.y,o=e[Wr],s=e.width,l=i[Wr],u=o/2-l/2,c="left";switch(t){case"left":r-=n,a+=u,c="right";break;case"right":r+=n+s,a+=u,c="left";break;case"top":r+=s/2,a-=n+l,c=mn;break;case Cr:r+=s/2,a+=o+n,c=mn;break;case Le:r+=s/2,a+=u,c=mn;break;case"insideLeft":r+=n,a+=u,c="left";break;case"insideRight":r+=s-n,a+=u,c="right";break;case"insideTop":r+=s/2,a+=n,c=mn;break;case"insideBottom":r+=s/2,a+=o-l-n,c=mn;break;case"insideTopLeft":r+=n,a+=n,c="left";break;case"insideTopRight":r+=s-n,a+=n,c="right";break;case"insideBottomLeft":r+=n,a+=o-l-n;break;case"insideBottomRight":r+=s-n,a+=o-l-n,c="right"}return{x:r,y:a,textAlign:c,textBaseline:"top"}}function r(t,i,n,r,o){if(!i)return"";o=o||{},r=d(r,"...");for(var s=d(o.maxIterations,2),l=d(o.minChar,0),u=e("国",n),c=e("a",n),h=d(o.placeholder,""),f=i=Math.max(0,i-1),p=0;l>p&&f>=c;p++)f-=c;var v=e(r);v>f&&(r="",v=0),f=i-v;for(var g=(t+"").split("\n"),p=0,m=g[Tr];m>p;p++){var y=g[p],x=e(y,n);if(!(i>=x)){for(var _=0;;_++){if(f>=x||_>=s){y+=r;break}var b=0===_?a(y,f,c,u):x>0?Math.floor(y[Tr]*f/x):0;y=y.substr(0,b),x=e(y,n)}""===y&&(y=h),g[p]=y}}return g.join("\n")}function a(t,e,i,n){for(var r=0,a=0,o=t[Tr];o>a&&e>r;a++){var s=t.charCodeAt(a);r+=s>=0&&127>=s?i:n}return a}var s={},l=0,u=5e3,c=t(o),h=t("../core/BoundingRect"),d=c[Di],f={getWidth:e,getBoundingRect:i,adjustTextPositionOnRect:n,truncateText:r,measureText:function(t,e){var i=c[Qi]();return i.font=e||"12px sans-serif",i.measureText(t)}};return f}),e("echarts/coord/polar/Polar",[sa,"./RadiusAxis","./AngleAxis"],function(t){var e=t("./RadiusAxis"),i=t("./AngleAxis"),n=function(t){this.name=t||"",this.cx=0,this.cy=0,this._radiusAxis=new e,this._angleAxis=new i,this._radiusAxis.polar=this._angleAxis.polar=this};return n[jr]={type:"polar",axisPointerEnabled:!0,constructor:n,dimensions:[ei,"angle"],model:null,containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis[ln](e[0])&&this._angleAxis[ln](e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(t){var e=[],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()},getTooltipAxes:function(t){var e=null!=t&&"auto"!==t?this[Wi](t):this[ki]();return{baseAxes:[e],otherAxes:[this[Ii](e)]}},dataToPoints:function(t){return t[ti](this[Pi],function(t,e){return this[Zi]([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[on](),a=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);n[qi]?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,u=a>l?1:-1;a>l||l>o;)l+=360*u;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/polar/PolarModel",[sa,"./AxisModel",Ai],function(t){t("./AxisModel"),t(Ai)[On]({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e,i=this[M];return i[Lr](t,function(t){t.getCoordSysModel()===this&&(e=t)},this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}})}),e("echarts/component/axisPointer/modelHelper",[sa,oa,Ti],function(t){function e(t,e,n){var a=e[X]("tooltip"),s=e[X]("axisPointer"),l=s.get("link",!0)||[],h=[];u(n.getCoordinateSystems(),function(n){function f(a,u,c){var f=c.model[Er]("axisPointer",s),p=f.get("show");if(p&&("auto"!==p||a||o(f))){null==u&&(u=f.get("triggerTooltip")),f=a?i(c,m,s,e,a,u):f;var g=f.get("snap"),y=d(c.model),x=u||g||c.type===ji,_=t.axesInfo[y]={key:y,axis:c,coordSys:n,axisPointerModel:f,triggerTooltip:u,involveSeries:x,snap:g,useHandle:o(f),seriesModels:[]};v[y]=_,t.seriesInvolved|=x;var b=r(l,c);if(null!=b){var w=h[b]||(h[b]={axesInfo:{}});w.axesInfo[y]=_,w.mapper=l[b].mapper,_.linkGroup=w}}}if(n.axisPointerEnabled){var p=d(n.model),v=t.coordSysAxesInfo[p]={};t.coordSysMap[p]=n;var g=n.model,m=g[Er]("tooltip",a);if(u(n.getAxes(),c(f,!1,null)),n.getTooltipAxes&&a&&m.get("show")){var y="axis"===m.get(nr),x="cross"===m.get("axisPointer.type"),_=n.getTooltipAxes(m.get("axisPointer.axis"));(y||x)&&u(_.baseAxes,c(f,x?"cross":!0,y)),x&&u(_.otherAxes,c(f,"cross",!1))}}})}function i(t,e,i,n,r,a){var o=e[Er]("axisPointer"),c={};u(["type","snap",_e,"shadowStyle","label",Fr,"animationDurationUpdate","animationEasingUpdate","z"],function(t){c[t]=s.clone(o.get(t))}),c.snap=t.type!==ji&&!!a,"cross"===o.get("type")&&(c.type="line");var h=c.label||(c.label={});if(null==h.show&&(h.show=!1),"cross"===r&&(h.show=!0,!a)){var d=c[_e]=o.get("crossStyle");d&&s[or](h[Tn]||(h[Tn]={}),d[Tn])}return t.model[Er]("axisPointer",new l(c,i,n))}function n(t,e){e[vr](function(e){var i=e[Sr],n=e.get("tooltip.trigger",!0);i&&"none"!==n&&n!==!1&&"item"!==n&&e.get("axisPointer.show",!0)!==!1&&u(t.coordSysAxesInfo[d(i.model)],function(t){var n=t.axis;i[Wi](n.dim)===n&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e[na]().count())})},this)}function r(t,e){for(var i=e.model,n=e.dim,r=0;r<t[Tr];r++){var o=t[r]||{};if(a(o[n+"AxisId"],i.id)||a(o[n+"AxisIndex"],i[Ni])||a(o[n+"AxisName"],i.name))return r}}function a(t,e){return"all"===t||s[Gn](t)&&s[Ar](t,e)>=0||t===e}function o(t){return!!t.get("handle.show")}var s=t(oa),l=t(Ti),u=s.each,c=s.curry,h={};h.collect=function(t,i){var r={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return e(r,t,i),r.seriesInvolved&&n(r,t),r},h.fixValue=function(t){var e=h.getAxisInfo(t);if(e){var i=e.axisPointerModel,n=e.axis.scale,r=i[fn],a=i.get("status"),s=i.get("value");null!=s&&(s=n.parse(s));var l=o(i);null==a&&(r.status=l?"show":"hide");var u=n[on]().slice();u[0]>u[1]&&u[Qe](),(null==s||s>u[1])&&(s=u[1]),s<u[0]&&(s=u[0]),r.value=s,l&&(r.status=e.axis.scale[p]()?"hide":"show")}},h.getAxisInfo=function(t){var e=(t[M][X]("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[d(t)]},h.getAxisPointerModel=function(t){var e=h.getAxisInfo(t);return e&&e.axisPointerModel};var d=h.makeKey=function(t){return t.type+"||"+t.id};return h}),e("echarts/component/axisPointer/axisTrigger",[sa,oa,ii,"./modelHelper","./findPointFromSeries"],function(t){function e(t,e,n,c,p,v,g,m){var y=[];y=null!=n.x&&null!=n.y?[n.x,n.y]:x({seriesIndex:n[jn],dataIndex:n[br]},p).point;var w=t.axesInfo,M="leave"===e||f(y),S={},A={},T={list:[],map:{}},C=[],P={showPointer:b(r,A),showTooltip:b(a,T),highlight:b(o,C)};return _(t.coordSysMap,function(e,r){var a=e.containPoint(y);_(t.coordSysAxesInfo[r],function(t){var e=t.axis;M||!a||h(n,e)||i(t,e[Gi](y),P,!1,S)})}),_(w,function(t,e){var n=t.linkGroup;n&&!A[e]&&_(n.axesInfo,function(e,r){var a=A[r];if(e!==t&&a){var o=a.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,d(e),d(t)))),i(t,o,P,!0,S)}})}),s(A,w),l(T,y,g,c),u(C,c,v,m),S}function i(t,e,i,r,a){var o=t.axis;if(!o.scale[p]()&&o.containData(e)){if(!t.involveSeries)return void i.showPointer(t,e);var s=n(e,t),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==a[jn]&&g[lr](a,l[0]),!r&&t.snap&&o.containData(u)&&null!=u&&(e=u),i[ar](ar,l),i.showPointer(t,e,l),i.showTooltip(t,s,u)}}function n(t,e){var i=e.axis,n=i.dim,r=t,a=[],o=Number[T],s=-1;return _(e.seriesModels,function(e){var l,u,c=e[Ri](n);if(e.getAxisTooltipData){var h=e.getAxisTooltipData(c,t,i);u=h.dataIndices,l=h.nestestValue}else{if(u=e[na]().indexOfNearest(c[0],t,!1,i.type===ji?.5:null),!u[Tr])return;l=e[na]().get(c[0],u[0])}if(null!=l&&isFinite(l)){var d=t-l,f=Math.abs(d);o>=f&&((o>f||d>=0&&0>s)&&(o=f,s=d,r=l,a[Tr]=0),_(u,function(t){a.push({seriesIndex:e[jn],dataIndexInside:t,dataIndex:e[na]()[ye](t)})}))}}),{payloadBatch:a,snapToValue:r}}function r(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function a(t,e,i,n){var r=i.payloadBatch,a=e.axis,o=a.model,s=e.axisPointerModel;if(e.triggerTooltip&&r[Tr]){var l=e.coordSys.model,u=y.makeKey(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l[Ni],coordSysType:l.type,coordSysMainType:l[fr],dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:a.dim,axisIndex:o[Ni],axisType:o.type,axisId:o.id,value:n,valueLabelOpt:{precision:s.get("label.precision"),formatter:s.get("label.formatter")},seriesDataIndices:r.slice()})}}function o(t,e,i){t.push.apply(t,i)}function s(t,e){_(e,function(e,i){var n=e.axisPointerModel[fn],r=t[i];r?(!e.useHandle&&(n.status="show"),n.value=r.value,n.seriesDataIndices=(r.payloadBatch||[]).slice()):!e.useHandle&&(n.status="hide")})}function l(t,e,i,n){if(f(e)||!t.list[Tr])return void n({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i,dataIndexInside:r.dataIndexInside,dataIndex:r[br],seriesIndex:r[jn],dataByCoordSys:t.list})}function u(t,e,i,n){var r=i.getZr();n="lastHighlights"+(n||"");var a=w(r)[n]||{},o=w(r)[n]={};g.each(t,function(t){var e=t[jn]+" | "+t[br];o[e]=t});var s=[],l=[];g.each(a,function(t,e){!o[e]&&l.push(t)}),g.each(o,function(t,e){!a[e]&&s.push(t)}),l[Tr]&&i[sr]({type:"downplay",escapeConnect:!0,batch:l}),s[Tr]&&i[sr]({type:"highlight",escapeConnect:!0,batch:s})}function h(t,e){var i=1;return _(t,function(t,e){i&=!/^.+(AxisId|AxisName|AxisIndex)$/.test(e)}),!i&&_([["AxisId","id"],["AxisIndex",Ni],["AxisName","name"]],function(n){var r=m[S](t[e.dim+n[0]]);i|=g[Ar](r,e.model[n[1]])>=0}),!i}function d(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i[c]=i[n+"AxisIndex"]=e[Ni],i[v]=i[n+"AxisName"]=e.name,i.axisId=i[n+"AxisId"]=e.id,i}function f(t){return null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}var g=t(oa),m=t(ii),y=t("./modelHelper"),x=t("./findPointFromSeries"),_=g.each,b=g.curry,w=m.makeGetter();return e}),e("echarts/component/axisPointer/AxisPointerModel",[sa,Ai],function(t){var e=t(Ai),i=e[On]({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,textStyle:{color:"#fff"},padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7V23h6.6V24.4z M13.3,19.6H6.7v-1.4h6.6V19.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}});return i}),e("echarts/component/axisPointer/AxisPointerView",[sa,"./globalListener",Ai],function(t){var e=t("./globalListener"),i=t(Ai)[Vn]({type:"axisPointer",render:function(t,i,n){var r=i[X]("tooltip"),a=t.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";e[En]("axisPointer",n,function(t,e,i){"none"!==a&&("leave"===t||a[Ar](t)>=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e[G],y:e&&e[B]})})},remove:function(t,n){e.disopse(n.getZr(),"axisPointer"),i[dn](this[Nr],ur,arguments)},dispose:function(t,n){e.unregister("axisPointer",n),i[dn](this[Nr],ir,arguments)}})}),e("echarts/component/axisPointer/CartesianAxisPointer",[sa,Ci,"./BaseAxisPointer","./viewHelper","../axis/cartesianAxisHelper","../axis/AxisView"],function(t){function e(t,e){var i={};return i[e.dim+"AxisIndex"]=e.index,t.getCartesian(i)}function i(t){return"x"===t.dim?0:1}var n=t(Ci),r=t("./BaseAxisPointer"),a=t("./viewHelper"),o=t("../axis/cartesianAxisHelper"),s=t("../axis/AxisView"),l=r[lr]({makeElOption:function(t,i,n,r,s){var l=n.axis,c=l.grid,h=r.get("type"),d=e(c,l)[Ii](l).getGlobalExtent(),f=l[Fi](l[Hi](i,!0)),p=a.buildElStyle(r),v=u[h](l,f,d,p);v.style=p,t.graphicKey=v.type,t[k]=v;var g=o[ue](c.model,n);a.buildCartesianSingleLabelElOption(i,t,g,n,r,s)},getHandleTransform:function(t,e,i){var n=o[ue](e.axis.grid.model,e,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:a.getTransformedPosition(e.axis,t,n),rotation:n[Me]+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,i,n){var r=n.axis,a=r.grid,o=r.getGlobalExtent(!0),s=e(a,r)[Ii](r).getGlobalExtent(),l="x"===r.dim?0:1,u=t[gn];u[l]+=i[l],u[l]=Math.min(o[1],u[l]),u[l]=Math.max(o[0],u[l]);var c=(s[1]+s[0])/2,h=[c,c];h[l]=u[l];var d=[{verticalAlign:"middle"},{align:"center"}];return{position:u,rotation:t[Me],cursorPoint:h,tooltipOption:d[l]}}}),u={line:function(t,e,r,o){var s=a.makeLineShape([e,r[0]],[e,r[1]],i(t));return n.subPixelOptimizeLine({shape:s,style:o}),{type:"Line",shape:s}},shadow:function(t,e,n){var r=t[si](),o=n[1]-n[0];return{type:"Rect",shape:a.makeRectShape([e-r/2,n[0]],[r,o],i(t))}}};return s.registerAxisPointerClass("CartesianAxisPointer",l),l}),e("echarts/coord/single/Single",[sa,"./SingleAxis","../axisHelper",Ji],function(t){function e(t,e,i){this.dimension=g,this[Pi]=[g],this._axis=null,this._rect,this._init(t,e,i),this.model=t}var i=t("./SingleAxis"),n=t("../axisHelper"),r=t(Ji);return e[jr]={type:"singleAxis",axisPointerEnabled:!0,constructor:e,_init:function(t){var e=this.dimension,r=new i(e,n[Ei](t),[0,0],t.get("type"),t.get(gn)),a=r.type===ji;r[Oi]=a&&t.get(Vi),r[qi]=t.get(qi),r[A]=t.get(A),t.axis=r,r.model=t,r[Sr]=this,this._axis=r},update:function(t){t[vr](function(t){if(t[Sr]===this){var e=t[na](),i=this.dimension;this._axis.scale[zi](e,t[Ri](i)),n[Yi](this._axis.scale,this._axis.model)}},this)},resize:function(t,e){this._rect=r[_n]({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get(Cr),width:t.get("width"),height:t.get(Wr)},{width:e[Or](),height:e[Vr]()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,e=this._axis,i=e[Ui](),n=i?[0,t.width]:[0,t[Wr]],r=e[Qe]?1:0;e[nn](n[r],n[1-r]),this._updateAxisTransform(e,i?t.x:t.y)},_updateAxisTransform:function(t,e){var i=t[on](),n=i[0]+i[1],r=t[Ui]();t[Fi]=r?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return n-t+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this[Wi]()]}},containPoint:function(t){var e=this[Pn](),i=this[Wi](),n=i[A];return n===le?i[ln](i.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e[Wr]:i[ln](i.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e[Wr]},pointToData:function(t){var e=this[Wi]();return[e[Bi](e.toLocalCoord(t[e[A]===le?0:1]))]},dataToPoint:function(t){var e=this[Wi](),i=this[Pn](),n=[],r=e[A]===le?0:1;return t instanceof Array&&(t=t[0]),n[r]=e[Fi](e[Hi](+t)),n[1-r]=0===r?i.y+i[Wr]/2:i.x+i.width/2,n}},e}),e("echarts/component/helper/selectableMixin",[sa,oa],function(t){var e=t(oa);return{updateSelectedMap:function(t){this._selectTargetMap=e.reduce(t||[],function(t,e){return t[e.name]=e,t},{})},select:function(t){var i=this._selectTargetMap,n=i[t],r=this.get("selectedMode");r===g&&e.each(i,function(t){t[Ae]=!1}),n&&(n[Ae]=!0)},unSelect:function(t){var e=this._selectTargetMap[t];e&&(e[Ae]=!1)},toggleSelected:function(t){var e=this._selectTargetMap[t];return null!=e?(this[e[Ae]?"unSelect":"select"](t),e[Ae]):void 0},isSelected:function(t){var e=this._selectTargetMap[t];return e&&e[Ae]}}}),e("echarts/model/mixin/lineStyle",[sa,"./makeStyleMapper"],function(t){var e=t("./makeStyleMapper")([[w,"width"],[ce,"color"],[pn],[a],[n],[i],[r]]);return{getLineStyle:function(t){var i=e.call(this,t),n=this.getLineDash(i[w]);return n&&(i.lineDash=n),i},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),i=Math.max(t,2),n=4*t;return"solid"===e||null==e?null:"dashed"===e?[n,n]:[i,i]}}}),e("echarts/model/mixin/areaStyle",[sa,"./makeStyleMapper"],function(t){return{getAreaStyle:t("./makeStyleMapper")([["fill","color"],[a],[n],[i],[pn],[r]])}}),e("echarts/model/mixin/itemStyle",[sa,"./makeStyleMapper"],function(t){var e=t("./makeStyleMapper")([["fill","color"],[ce,he],[w,$],[pn],[a],[n],[i],[r],[F],[An]]);return{getItemStyle:function(t,i){var n=e.call(this,t,i),r=this.getBorderLineDash();return r&&(n.lineDash=r),n},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}}}),e("echarts/model/mixin/textStyle",[sa,_],function(t){function e(t,e){return t&&t[Ge](e)}var i=t(_);return{getTextColor:function(){var t=this[M];return this[Ge]("color")||t&&t.get("textStyle.color")},getFont:function(){var t=this[M],i=t&&t[Er](Tn);return[this[Ge]("fontStyle")||e(i,"fontStyle"),this[Ge]("fontWeight")||e(i,"fontWeight"),(this[Ge]("fontSize")||e(i,"fontSize")||12)+"px",this[Ge]("fontFamily")||e(i,"fontFamily")||"sans-serif"].join(" ")},getTextRect:function(t){return i[wn](t,this[Sn](),this[Ge]("align"),this[Ge]("baseline"))},truncateText:function(t,e,n,r){return i.truncateText(t,e,this[Sn](),n,r)}}}),e("echarts/component/marker/MarkerModel",[sa,ii,oa,Qr,pe,Ai],function(t){function e(t){i[ze](t.label,i.LABEL_OPTIONS)}var i=t(ii),n=t(oa),r=t(Qr),a=t(pe),o=a[de],s=a[fe],l=t(Ai)[On]({type:"marker",dependencies:[cr,"grid","polar","geo"],init:function(t,e,i,n){this[q](t,i),this[hn](t,i,n.createdBySelf,!0)},isAnimationEnabled:function(){if(r.node)return!1;var t=this.__hostSeries;return this[Ge](Fr)&&t&&t[wi]()},mergeOption:function(t,i,r,a){var o=this.constructor,s=this[fr]+"Model";r||i[vr](function(t){var r=t.get(this[fr]),l=t[s];return r&&r.data?(l?l[hn](r,i,!0):(a&&e(r),n.each(r.data,function(t){t instanceof Array?(e(t[0]),e(t[1])):e(t)}),l=new o(r,this,i),n[lr](l,{mainType:this[fr],seriesIndex:t[jn],name:t.name,createdBySelf:!0}),l.__hostSeries=t),void(t[s]=l)):void(t[s]=null)},this)},formatTooltip:function(t){var e=this[na](),i=this[Fe](t),r=n[Gn](i)?n.map(i,o).join(", "):o(i),a=e[Ie](t),l=s(this.name);return(null!=i||a)&&(l+="<br />"),a&&(l+=s(a),null!=i&&(l+=" : ")),null!=i&&(l+=s(r)),l},getData:function(){return this._data},setData:function(t){this._data=t}});return n.mixin(l,i.dataFormatMixin),l}),e("echarts/util/component",[sa,oa,"./clazz"],function(t){var e=t(oa),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),u=l.originalDeps=i(s),c=a(u,t);l.entryCount=c[Tr],0===l.entryCount&&o.push(s),e.each(c,function(t){e[Ar](l.predecessor,t)<0&&l.predecessor.push(t);var i=r(n,t);e[Ar](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[Ar](i,t)>=0&&n.push(t)}),n}t.topologicalTravel=function(t,i,r,a){function o(t){u[t].entryCount--,0===u[t].entryCount&&c.push(t)}function s(t){h[t]=!0,o(t)}if(t[Tr]){var l=n(i),u=l.graph,c=l.noEntryList,h={};for(e.each(t,function(t){h[t]=!0});c[Tr];){var d=c.pop(),f=u[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/model/mixin/boxLayout",[sa],function(){return{getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get(Cr),width:this.get("width"),height:this.get(Wr)}}}}),e("echarts/component/visualMap/preprocessor",[sa,oa],function(t){function e(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var i=t(oa),n=i.each;return function(t){var r=t&&t.visualMap;i[Gn](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[Gn](r)&&n(r,function(t){i[Br](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/typeDefaulter",[sa,d],function(t){t(d).registerSubTypeDefaulter("visualMap",function(t){return t[W]||(t.pieces?t.pieces[Tr]>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})}),e("echarts/component/visualMap/visualMapAction",[sa,Ai],function(t){var e=t(Ai),i={type:"selectDataRange",event:"dataRangeSelected",update:"update"};e[Nn](i,function(t,e){e[Lr]({mainType:"visualMap",query:t},function(e){e.setSelected(t[Ae])})})}),e("echarts/component/visualMap/visualEncoding",[sa,Ai,"../../visual/visualSolution","../../visual/VisualMapping",oa],function(t){function e(t){t.eachTargetSeries(function(e){var i=e[na]();a.applyVisual(t.stateList,t.targetVisuals,i,t.getValueState,t,t.getDataDimension(i))})}function i(t){t[vr](function(e){var i=e[na](),r=[];t[Lr]("visualMap",function(t){if(t.isTargetSeries(e)){var a=t.getVisualMeta(s.bind(n,null,e,t))||{stops:[],outerColors:[]};a.dimension=t.getDataDimension(i),r.push(a)}}),e[na]()[ia]("visualMeta",r)})}function n(t,e,i,n){function r(t){return u[t]}function a(t,e){u[t]=e}for(var s=e.targetVisuals[n],l=o.prepareVisualTypes(s),u={color:t[na]()[Mr]("color")},c=0,h=l[Tr];h>c;c++){var d=l[c],f=s[d===pn?"__alphaForOpacity":d];f&&f.applyVisual(i,r,a)}return u.color}var r=t(Ai),a=t("../../visual/visualSolution"),o=t("../../visual/VisualMapping"),s=t(oa);r.registerVisual(r.PRIORITY.VISUAL.COMPONENT,function(t){t[Lr]("visualMap",function(i){e(i,t)}),i(t)})}),e("echarts/component/visualMap/ContinuousModel",[sa,"./VisualMapModel",oa,ge],function(t){function e(t,e,i){if(i[0]===i[1])return i.slice();for(var n=200,r=(i[1]-i[0])/n,a=i[0],o=[],s=0;n>=s&&a<i[1];s++)o.push(a),a+=r;return o.push(i[1]),o}var i=t("./VisualMapModel"),n=t(oa),r=t(ge),a=[20,140],o=i[lr]({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:!0},optionUpdated:function(){o[dn](this,"optionUpdated",arguments),this.resetTargetSeries(),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod=J,t.dataExtent=this[on]()}),this._resetRange()},resetItemSize:function(){o[dn](this,"resetItemSize",arguments);var t=this.itemSize;this._orient===le&&t[Qe](),(null==t[0]||isNaN(t[0]))&&(t[0]=a[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=a[1])},_resetRange:function(){var t=this[on](),e=this[fn].range;!e||e.auto?(t.auto=1,this[fn].range=t):n[Gn](e)&&(e[0]>e[1]&&e[Qe](),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){i[jr].completeVisualOption.apply(this,arguments),n.each(this.stateList,function(t){var e=this[fn].controller[t][Ze];e&&e[0]!==e[1]&&(e[0]=0)},this)},setSelected:function(t){this[fn].range=t.slice(),this._resetRange()},getSelected:function(){var t=this[on](),e=r.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[fn].range,i=this[on]();return(e[0]<=i[0]||e[0]<=t)&&(e[1]>=i[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(i){var n=[],r=i[na]();r.each(this.getDataDimension(r),function(e,i){t[0]<=e&&e<=t[1]&&n.push(i)},!0,this),e.push({seriesId:i.id,dataIndex:n})},this),e},getVisualMeta:function(t){function i(e,i){a.push({value:e,color:t(e,i)})}for(var n=e(this,"outOfRange",this[on]()),r=e(this,"inRange",this[fn].range.slice()),a=[],o=0,s=0,l=r[Tr],u=n[Tr];u>s&&(!r[Tr]||n[s]<=r[0]);s++)n[s]<r[o]&&i(n[s],"outOfRange");for(var c=1;l>o;o++,c=0)c&&a[Tr]&&i(r[o],"outOfRange"),i(r[o],"inRange");for(var c=1;u>s;s++)(!r[Tr]||r[r[Tr]-1]<n[s])&&(c&&(a[Tr]&&i(a[a[Tr]-1].value,"outOfRange"),c=0),i(n[s],"outOfRange"));var h=a[Tr];return{stops:a,outerColors:[h?a[0].color:mr,h?a[h-1].color:mr]}}});return o}),e("echarts/component/visualMap/ContinuousView",[sa,"./VisualMapView",Ci,oa,ge,"../helper/sliderMove","zrender/graphic/LinearGradient",Yr,ii,u],function(t){function e(t,e,i,n){return new s[je]({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){g.stop(t.event)},ondragend:n})}function i(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}function n(t,e,i,n){return t?[[0,-x(e,_(i,0))],[w,0],[0,x(e,_(n-i,0))]]:[[0,0],[5,-5],[5,5]]}function r(t,e,i){var n=b/2,r=t.get("hoverLinkDataSize");return r&&(n=m(r,e,i,!0)/2),n}function a(t){return!t.get("realtime")&&t.get("hoverLinkOnHandle")
  }var o=t("./VisualMapView"),s=t(Ci),l=t(oa),c=t(ge),d=t("../helper/sliderMove"),f=t("zrender/graphic/LinearGradient"),p=t(Yr),v=t(ii),g=t(u),m=c[ve],y=l.each,x=Math.min,_=Math.max,b=12,w=6,S=o[lr]({type:"visualMap.continuous",init:function(){S[dn](this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,i,n){n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},_buildView:function(){this.group[Ln]();var t=this.visualMapModel,e=this.group;this._orient=t.get(A),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._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,i){if(e){var n=e[1-i];n=null!=n?n+"":"";var r=this.visualMapModel,a=r.get("textGap"),o=r.itemSize,l=this._shapes.barGroup,u=this._applyTransform([o[0]/2,0===i?-a:o[1]+a],l),c=this._applyTransform(0===i?Cr:"top",l),h=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:h===le?yn:c,textAlign:h===le?c:mn,text:n,textFont:d[Sn](),fill:d[Mn]()}}))}},_renderBar:function(t){var i=this.visualMapModel,n=this._shapes,r=i.itemSize,a=this._orient,o=this._useHandle,s=p.getItemAlign(i,this.api,r),u=n.barGroup=this._createBarGroup(s);u.add(n.outOfRange=e()),u.add(n.inRange=e(null,o?"move":null,l.bind(this._dragHandle,this,"all",!1),l.bind(this._dragHandle,this,"all",!0)));var c=i.textStyleModel.getTextRect("国"),h=_(c.width,c[Wr]);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(u,0,r,h,a,s),this._createHandle(u,1,r,h,a,s)),this._createIndicator(u,r,h,a),t.add(u)},_createHandle:function(t,n,r,a,o){var u=l.bind(this._dragHandle,this,n,!1),c=l.bind(this._dragHandle,this,n,!0),h=e(i(n,a),"move",u,c);h[gn][0]=r[0],t.add(h);var d=this.visualMapModel.textStyleModel,f=new s.Text({draggable:!0,drift:u,onmousemove:function(t){g.stop(t.event)},ondragend:c,style:{x:0,y:0,text:"",textFont:d[Sn](),fill:d[Mn]()}});this.group.add(f);var p=[o===le?a/2:1.5*a,o===le?0===n?-(1.5*a):1.5*a:0===n?-a/2:a/2],v=this._shapes;v.handleThumbs[n]=h,v.handleLabelPoints[n]=p,v.handleLabels[n]=f},_createIndicator:function(t,i,n,r){var a=e([[0,0]],"move");a[gn][0]=i[0],a.attr({invisible:!0,silent:!0}),t.add(a);var o=this.visualMapModel.textStyleModel,l=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:o[Sn](),fill:o[Mn]()}});this.group.add(l);var u=[r===le?n/2:w+3,0],c=this._shapes;c.indicator=a,c.indicatorLabel=l,c.indicatorLabelPoint=u},_dragHandle:function(t,e,i,n){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([i,n],this._shapes.barGroup,!0);this._updateInterval(t,r[1]),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api[sr]({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():a(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),i=t[on](),n=[0,t.itemSize[1]];this._handleEnds=[m(e[0],i,n,!0),m(e[1],i,n,!0)]},_updateInterval:function(t,e){e=e||0;var i=this.visualMapModel,n=this._handleEnds;d(e,n,[0,i.itemSize[1]],"all"===t?"rigid":"push",t);var r=i[on](),a=[0,i.itemSize[1]];this._dataInterval=[m(n[0],a,r,!0),m(n[1],a,r,!0)]},_updateView:function(t){var e=this.visualMapModel,i=e[on](),n=this._shapes,r=[0,e.itemSize[1]],a=t?r:this._handleEnds,o=this._createBarVisual(this._dataInterval,i,a,"inRange"),s=this._createBarVisual(i,i,r,"outOfRange");n.inRange[Zn]({fill:o.barColor,opacity:o[pn]})[hi](qe,o.barPoints),n.outOfRange[Zn]({fill:s.barColor,opacity:s[pn]})[hi](qe,s.barPoints),this._updateHandle(a,o)},_createBarVisual:function(t,e,i,n){var r={forceState:n,convertOpacityToAlpha:!0},a=this._makeColorGradient(t,r),o=[this.getControllerVisual(t[0],Ze,r),this.getControllerVisual(t[1],Ze,r)],s=this._createBarPoints(i,o);return{barColor:new f(0,0,0,1,a),barPoints:s,handlesColor:[a[0].color,a[a[Tr]-1].color]}},_makeColorGradient:function(t,e){var i=100,n=[],r=(t[1]-t[0])/i;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var a=1;i>a;a++){var o=t[0]+r*a;if(o>t[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:a/i})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_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(qi);return new s.Group(e!==le||i?e===le&&i?{scale:t===Cr?[-1,1]:[1,1],rotation:-Math.PI/2}:e!==h||i?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:t===Cr?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,r=i.handleThumbs,a=i.handleLabels;y([0,1],function(o){var l=r[o];l[Zn]("fill",e.handlesColor[o]),l[gn][1]=t[o];var u=s[ee](i.handleLabelPoints[o],s.getTransform(l,this.group));a[o][Zn]({x:u[0],y:u[1],text:n.formatValueText(this._dataInterval[o]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient===le?0===o?Cr:"top":"left",i.barGroup)})},this)}},_showIndicator:function(t,e,i,r){var a=this.visualMapModel,o=a[on](),l=a.itemSize,u=[0,l[1]],c=m(t,o,u,!0),h=this._shapes,d=h.indicator;if(d){d[gn][1]=c,d.attr(Q,!1),d[hi](qe,n(!!i,r,c,l[1]));var f={convertOpacityToAlpha:!0},p=this.getControllerVisual(t,"color",f);d[Zn]("fill",p);var v=s[ee](h.indicatorLabelPoint,s.getTransform(d,this.group)),g=h.indicatorLabel;g.attr(Q,!1);var y=this._applyTransform("left",h.barGroup),x=this._orient;g[Zn]({text:(i?i:"")+a.formatValueText(e),textVerticalAlign:x===le?y:yn,textAlign:x===le?mn:y,x:v[0],y:v[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on(Jn,function(e){if(t._hovering=!0,!t._dragging){var i=t.visualMapModel.itemSize,n=t._applyTransform([e[G],e[B]],t._shapes.barGroup,!0,!0);n[1]=x(_(0,n[1]),i[1]),t._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}}).on(Qn,function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel[fn].hoverLink?(t.on(tr,this._hoverLinkFromSeriesMouseOver,this),t.on(Qn,this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var i=this.visualMapModel,n=i.itemSize;if(i[fn].hoverLink){var o=[0,n[1]],s=i[on]();t=x(_(o[0],t),o[1]);var l=r(i,s,o),u=[t-l,t+l],c=m(t,o,s,!0),h=[m(u[0],o,s,!0),m(u[1],o,s,!0)];u[0]<o[0]&&(h[0]=-1/0),u[1]>o[1]&&(h[1]=1/0),e&&(h[0]===-1/0?this._showIndicator(c,h[1],"< ",l):1/0===h[1]?this._showIndicator(c,h[0],"> ",l):this._showIndicator(c,c,"≈ ",l));var d=this._hoverLinkDataIndices,f=[];(e||a(i))&&(f=this._hoverLinkDataIndices=i.findTargetDataIndices(h));var g=v.compressBatches(d,f);this._dispatchHighDown(rr,p.convertDataIndex(g[0])),this._dispatchHighDown(ar,p.convertDataIndex(g[1]))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t[Yn],i=this.visualMapModel;if(e&&null!=e[br]){var n=this[M][Xn](e[jn]);if(i.isTargetSeries(n)){var r=n[na](e[qn]),a=r.getDimension(i.getDataDimension(r)),o=r.get(a,e[br],!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr(Q,!0),t.indicatorLabel&&t.indicatorLabel.attr(Q,!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown(rr,p.convertDataIndex(t)),t[Tr]=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off(tr,this._hoverLinkFromSeriesMouseOver),t.off(Qn,this._hideIndicator)},_applyTransform:function(t,e,i,n){var r=s.getTransform(e,n?null:this.group);return s[l[Gn](t)?ee:"transformDirection"](t,r,i)},_dispatchHighDown:function(t,e){e&&e[Tr]&&this.api[sr]({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});return S}),e("echarts/component/toolbox/featureManager",[sa],function(){var t={};return{register:function(e,i){t[e]=i},get:function(e){return t[e]}}}),e("echarts/data/DataDiffer",[sa],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,n){for(var r=0;r<t[Tr];r++){var a=n(t[r],r),o=e[a];null==o?(i.push(a),e[a]=r):(o[Tr]||(e[a]=o=[o]),o.push(r))}}return e[jr]={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={},l=[],u=[];for(i(e,o,l,r),i(n,s,u,a),t=0;t<e[Tr];t++){var c=l[t],h=s[c];if(null!=h){var d=h[Tr];d?(1===d&&(s[c]=null),h=h.unshift()):s[c]=null,this._update&&this._update(h,t)}else this._remove&&this._remove(t)}for(var t=0;t<u[Tr];t++){var c=u[t];if(s.hasOwnProperty(c)){var h=s[c];if(null==h)continue;if(h[Tr])for(var f=0,d=h[Tr];d>f;f++)this._add&&this._add(h[f]);else this._add&&this._add(h)}}}},e}),e("zrender/core/PathProxy",[sa,"./curve","./vector","./bbox","./BoundingRect","../config"],function(t){var e=t("./curve"),i=t("./vector"),n=t("./bbox"),r=t("./BoundingRect"),a=t("../config").devicePixelRatio,o={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},s=[],l=[],u=[],c=[],h=Math.min,d=Math.max,f=Math.cos,p=Math.sin,v=Math.sqrt,g=Math.abs,x=typeof Float32Array!=U,_=function(){this.data=[],this._len=0,this._ctx=null,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._ux=0,this._uy=0};return _[jr]={constructor:_,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e){this._ux=g(1/a/t)||0,this._uy=g(1/a/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._len=0,this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(o.M,t,e),this._ctx&&this._ctx[D](t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var i=g(t-this._xi)>this._ux||g(e-this._yi)>this._uy||this._len<5;return this.addData(o.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx[L](t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,n,r,a){return this.addData(o.C,t,e,i,n,r,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,n,r,a):this._ctx.bezierCurveTo(t,e,i,n,r,a)),this._xi=r,this._yi=a,this},quadraticCurveTo:function(t,e,i,n){return this.addData(o.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(o.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=f(r)*i+t,this._yi=p(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(o.R,t,e,i,n),this},closePath:function(){this.addData(o.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t[P]()),this._xi=e,this._yi=i,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t[ce](),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;i<t[Tr];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[Tr];this.data&&this.data[Tr]==e||!x||(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[Tr],i=0,n=this._len,r=0;e>r;r++)i+=t[r].len();x&&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[Tr];o++)this.data[n++]=a[o];this._len=n},addData:function(t){var e=this.data;this._len+arguments[Tr]>e[Tr]&&(this._expandData(),e=this.data);for(var i=0;i<arguments[Tr];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,u=this._yi,c=t-l,f=e-u,p=v(c*c+f*f),g=l,m=u,y=o[Tr];for(c/=p,f/=p,0>a&&(a=r+a),a%=r,g-=a*c,m-=a*f;c>0&&t>=g||0>c&&g>=t||0==c&&(f>0&&e>=m||0>f&&m>=e);)n=this._dashIdx,i=o[n],g+=c*i,m+=f*i,this._dashIdx=(n+1)%y,c>0&&l>g||0>c&&g>l||f>0&&u>m||0>f&&m>u||s[n%2?D:L](c>=0?h(g,t):d(g,t),f>=0?h(m,e):d(m,e));c=g-t,f=m-e,this._dashOffset=-v(c*c+f*f)},_dashedBezierTo:function(t,i,n,r,a,o){var s,l,u,c,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,m=this._xi,y=this._yi,x=e.cubicAt,_=0,b=this._dashIdx,w=p[Tr],M=0;for(0>f&&(f=d+f),f%=d,s=0;1>s;s+=.1)l=x(m,t,n,a,s+.1)-x(m,t,n,a,s),u=x(y,i,r,o,s+.1)-x(y,i,r,o,s),_+=v(l*l+u*u);for(;w>b&&(M+=p[b],!(M>f));b++);for(s=(M-f)/_;1>=s;)c=x(m,t,n,a,s),h=x(y,i,r,o,s),b%2?g[D](c,h):g[L](c,h),s+=p[b]/_,b=(b+1)%w;b%2!==0&&g[L](a,o),l=a-c,u=o-h,this._dashOffset=-v(l*l+u*u)},_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(){var t=this.data;t instanceof Array&&(t[Tr]=this._len,x&&(this.data=new Float32Array(t)))},getBoundingRect:function(){s[0]=s[1]=u[0]=u[1]=Number[T],l[0]=l[1]=c[0]=c[1]=-Number[T];for(var t=this.data,e=0,a=0,h=0,d=0,v=0;v<t[Tr];){var g=t[v++];switch(1==v&&(e=t[v],a=t[v+1],h=e,d=a),g){case o.M:h=t[v++],d=t[v++],e=h,a=d,u[0]=h,u[1]=d,c[0]=h,c[1]=d;break;case o.L:n.fromLine(e,a,t[v],t[v+1],u,c),e=t[v++],a=t[v++];break;case o.C:n.fromCubic(e,a,t[v++],t[v++],t[v++],t[v++],t[v],t[v+1],u,c),e=t[v++],a=t[v++];break;case o.Q:n.fromQuadratic(e,a,t[v++],t[v++],t[v],t[v+1],u,c),e=t[v++],a=t[v++];break;case o.A:var m=t[v++],y=t[v++],x=t[v++],_=t[v++],b=t[v++],w=t[v++]+b,M=(t[v++],1-t[v++]);1==v&&(h=f(b)*x+m,d=p(b)*_+y),n.fromArc(m,y,x,_,b,w,M,u,c),e=f(w)*x+m,a=p(w)*_+y;break;case o.R:h=e=t[v++],d=a=t[v++];var S=t[v++],A=t[v++];n.fromLine(h,d,h+S,d+A,u,c);break;case o.Z:e=h,a=d}i.min(s,s,u),i.max(l,l,c)}return 0===v&&(s[0]=s[1]=l[0]=l[1]=0),new r(s[0],s[1],l[0]-s[0],l[1]-s[1])},rebuildPath:function(t){for(var e,i,n,r,a,s,l=this.data,u=this._ux,c=this._uy,h=this._len,d=0;h>d;){var v=l[d++];switch(1==d&&(n=l[d],r=l[d+1],e=n,i=r),v){case o.M:e=n=l[d++],i=r=l[d++],t[D](n,r);break;case o.L:a=l[d++],s=l[d++],(g(a-n)>u||g(s-r)>c||d===h-1)&&(t[L](a,s),n=a,r=s);break;case o.C:t.bezierCurveTo(l[d++],l[d++],l[d++],l[d++],l[d++],l[d++]),n=l[d-2],r=l[d-1];break;case o.Q:t.quadraticCurveTo(l[d++],l[d++],l[d++],l[d++]),n=l[d-2],r=l[d-1];break;case o.A:var x=l[d++],_=l[d++],b=l[d++],w=l[d++],M=l[d++],S=l[d++],A=l[d++],T=l[d++],C=b>w?b:w,I=b>w?1:b/w,k=b>w?w/b:1,z=Math.abs(b-w)>.001,R=M+S;z?(t[m](x,_),t[y](A),t.scale(I,k),t.arc(0,0,C,M,R,1-T),t.scale(1/I,1/k),t[y](-A),t[m](-x,-_)):t.arc(x,_,C,M,R,1-T),1==d&&(e=f(M)*b+x,i=p(M)*w+_),n=f(R)*b+x,r=p(R)*w+_;break;case o.R:e=n=l[d],i=r=l[d+1],t.rect(l[d++],l[d++],l[d++],l[d++]);break;case o.Z:t[P](),n=e,r=i}}}},_.CMD=o,_}),e("zrender/graphic/Gradient",[sa],function(){var t=function(t){this[gr]=t||[]};return t[jr]={constructor:t,addColorStop:function(t,e){this[gr].push({offset:t,color:e})}},t}),e("zrender/graphic/mixin/RectText",[sa,"../../contain/text","../../core/BoundingRect"],function(t){function e(t,e){return typeof t===Ur?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}var o=t("../../contain/text"),s=t("../../core/BoundingRect"),l=new s,u=function(){};return u[jr]={constructor:u,drawRectText:function(t,s,u){var c=this.style,h=c.text;if(null!=h&&(h+=""),h){t.save();var d,f,p=c[F],v=c.textOffset,g=c.textDistance,x=c[An],_=c.textFont||c.font,b=c.textBaseline,w=c[cn];u=u||o[wn](h,_,x,b);var M=this[ie];if(c.textTransform?this.setTransform(t):M&&(l.copy(s),l[ee](M),s=l),p instanceof Array){if(d=s.x+e(p[0],s.width),f=s.y+e(p[1],s[Wr]),x=x||"left",b=b||"top",w){switch(w){case yn:f-=u[Wr]/2-u.lineHeight/2;break;case Cr:f-=u[Wr]-u.lineHeight/2;break;default:f+=u.lineHeight/2}b=yn}}else{var S=o.adjustTextPositionOnRect(p,s,u,g);d=S.x,f=S.y,x=x||S[An],b=b||S.textBaseline}v&&(d+=v[0],f+=v[1]),t[An]=x||"left",t.textBaseline=b||"alphabetic";var A=c.textFill,T=c.textStroke;A&&(t.fillStyle=A),T&&(t.strokeStyle=T),t.font=_||"12px sans-serif",t[a]=c.textShadowBlur,t[r]=c.textShadowColor||mr,t[n]=c.textShadowOffsetX,t[i]=c.textShadowOffsetY;var C=h.split("\n");c.textRotation&&(M&&t[m](M[4],M[5]),t[y](c.textRotation),M&&t[m](-M[4],-M[5]));for(var P=0;P<C[Tr];P++)T&&t.strokeText(C[P],d,f),A&&t.fillText(C[P],d,f),f+=u.lineHeight;t.restore()}}},u}),e("zrender/graphic/Displayable",[sa,o,"./Style","../Element","./mixin/RectText"],function(t){function e(t){t=t||{},r.call(this,t);for(var e in t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new n(t.style),this._rect=null,this.__clipPaths=[]}var i=t(o),n=t("./Style"),r=t("../Element"),a=t("./mixin/RectText");return e[jr]={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,progressive:-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[wn]();return n[ln](i[0],i[1])},dirty:function(){this[l]=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this[De]("style",t)},attrKV:function(t,e){"style"!==t?r[jr].attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new n(t),this.dirty(!1),this}},i[In](e,r),i.mixin(e,a),e}),e("zrender/vml/core",[sa,"exports","module","../core/env"],function(t,e,i){if(!t("../core/env")[zr]){var n,r="urn:schemas-microsoft-com:vml",a=window,o=a.document,s=!1;try{!o.namespaces.zrvml&&o.namespaces.add("zrvml",r),n=function(t){return o[tn]("<zrvml:"+t+' class="zrvml">')}}catch(l){n=function(t){return o[tn]("<"+t+' xmlns="'+r+'" class="zrvml">')}}var u=function(){if(!s){s=!0;var t=o.styleSheets;t[Tr]<31?o.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}};i.exports={doc:o,initVML:u,createNode:n}}}),e("zrender/tool/transformPath",[sa,"../core/PathProxy","../core/vector"],function(t){function e(t,e){var n,l,u,c,h,d,f=t.data,p=i.M,v=i.C,g=i.L,m=i.R,y=i.A,x=i.Q;for(u=0,c=0;u<f[Tr];){switch(n=f[u++],c=u,l=0,n){case p:l=1;break;case g:l=1;break;case v:l=3;break;case x:l=2;break;case y:var _=e[4],b=e[5],w=o(e[0]*e[0]+e[1]*e[1]),M=o(e[2]*e[2]+e[3]*e[3]),S=s(-e[1]/M,e[0]/w);f[u++]+=_,f[u++]+=b,f[u++]*=w,f[u++]*=M,f[u++]+=S,f[u++]+=S,u+=2,c=u;break;case m:d[0]=f[u++],d[1]=f[u++],r(d,d,e),f[c++]=d[0],f[c++]=d[1],d[0]+=f[u++],d[1]+=f[u++],r(d,d,e),f[c++]=d[0],f[c++]=d[1]}for(h=0;l>h;h++){var d=a[h];d[0]=f[u++],d[1]=f[u++],r(d,d,e),f[c++]=d[0],f[c++]=d[1]}}}var i=t("../core/PathProxy").CMD,n=t("../core/vector"),r=n[ee],a=[[],[],[]],o=Math.sqrt,s=Math.atan2;return e}),e("zrender/graphic/Pattern",[sa],function(){var t=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};return t[jr].getCanvasPattern=function(t){return this._canvasPattern||(this._canvasPattern=t.createPattern(this.image,this.repeat))},t}),e("zrender/contain/path",[sa,"../core/PathProxy","./line","./cubic","./quadratic","./arc","./util","../core/curve","./windingLine"],function(t){function e(t,e){return Math.abs(t-e)<m}function i(){var t=x[0];x[0]=x[1],x[1]=t}function n(t,e,n,r,a,o,s,l,u,c){if(c>e&&c>r&&c>o&&c>l||e>c&&r>c&&o>c&&l>c)return 0;var h=f.cubicRootAt(e,r,o,l,c,y);if(0===h)return 0;for(var d,p,v=0,g=-1,m=0;h>m;m++){var _=y[m],b=0===_||1===_?.5:1,w=f.cubicAt(t,n,a,s,_);u>w||(0>g&&(g=f.cubicExtrema(e,r,o,l,x),x[1]<x[0]&&g>1&&i(),d=f.cubicAt(e,r,o,l,x[0]),g>1&&(p=f.cubicAt(e,r,o,l,x[1]))),v+=2==g?_<x[0]?e>d?b:-b:_<x[1]?d>p?b:-b:p>l?b:-b:_<x[0]?e>d?b:-b:d>l?b:-b)}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 u=f.quadraticExtremum(e,n,a);if(u>=0&&1>=u){for(var c=0,h=f.quadraticAt(e,n,a,u),d=0;l>d;d++){var p=0===y[d]||1===y[d]?.5:1,v=f.quadraticAt(t,i,r,y[d]);o>v||(c+=y[d]<u?e>h?p:-p:h>a?p:-p)}return c}var p=0===y[0]||1===y[0]?.5:1,v=f.quadraticAt(t,i,r,y[0]);return o>v?0:e>a?p:-p}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 u=Math.abs(n-r);if(1e-4>u)return 0;if(1e-4>u%g){n=0,r=g;var c=a?1:-1;return o>=y[0]+t&&o<=y[1]+t?c:0}if(a){var l=n;n=d(r),r=d(l)}else n=d(n),r=d(r);n>r&&(r+=g);for(var h=0,f=0;2>f;f++){var p=y[f];if(p+t>o){var v=Math.atan2(s,p),c=a?1:-1;0>v&&(v=g+v),(v>=n&&r>=v||v+g>=n&&r>=v+g)&&(v>Math.PI/2&&v<1.5*Math.PI&&(c=-c),h+=c)}}return h}function o(t,i,o,l,d){for(var f=0,g=0,m=0,y=0,x=0,_=0;_<t[Tr];){var b=t[_++];switch(b===s.M&&_>1&&(o||(f+=p(g,m,y,x,l,d))),1==_&&(g=t[_],m=t[_+1],y=g,x=m),b){case s.M:y=t[_++],x=t[_++],g=y,m=x;break;case s.L:if(o){if(v(g,m,t[_],t[_+1],i,l,d))return!0}else f+=p(g,m,t[_],t[_+1],l,d)||0;g=t[_++],m=t[_++];break;case s.C:if(o){if(u.containStroke(g,m,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],i,l,d))return!0}else f+=n(g,m,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],l,d)||0;g=t[_++],m=t[_++];break;case s.Q:if(o){if(c.containStroke(g,m,t[_++],t[_++],t[_],t[_+1],i,l,d))return!0}else f+=r(g,m,t[_++],t[_++],t[_],t[_+1],l,d)||0;g=t[_++],m=t[_++];break;case s.A:var w=t[_++],M=t[_++],S=t[_++],A=t[_++],T=t[_++],C=t[_++],P=(t[_++],1-t[_++]),L=Math.cos(T)*S+w,D=Math.sin(T)*A+M;_>1?f+=p(g,m,L,D,l,d):(y=L,x=D);var I=(l-w)*A/S+w;if(o){if(h.containStroke(w,M,A,T,T+C,P,i,I,d))return!0}else f+=a(w,M,A,T,T+C,P,I,d);g=Math.cos(T+C)*S+w,m=Math.sin(T+C)*A+M;break;case s.R:y=g=t[_++],x=m=t[_++];var k=t[_++],z=t[_++],L=y+k,D=x+z;if(o){if(v(y,x,L,x,i,l,d)||v(L,x,L,D,i,l,d)||v(L,D,y,D,i,l,d)||v(y,D,y,x,i,l,d))return!0}else f+=p(L,x,L,D,l,d),f+=p(y,D,y,x,l,d);break;case s.Z:if(o){if(v(g,m,y,x,i,l,d))return!0}else f+=p(g,m,y,x,l,d);g=y,m=x}}return o||e(m,x)||(f+=p(g,m,y,x,l,d)||0),0!==f}var s=t("../core/PathProxy").CMD,l=t("./line"),u=t("./cubic"),c=t("./quadratic"),h=t("./arc"),d=t("./util").normalizeRadian,f=t("../core/curve"),p=t("./windingLine"),v=l.containStroke,g=2*Math.PI,m=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/scale/Ordinal",[sa,oa,"./Scale"],function(t){var e=t(oa),i=t("./Scale"),n=i[jr],r=i[lr]({type:"ordinal",init:function(t,e){this._data=t,this._extent=e||[0,t[Tr]-1]},parse:function(t){return typeof t===Ur?e[Ar](this._data,t):Math.round(t)},contain:function(t){return t=this.parse(t),n[ln].call(this,t)&&null!=this._data[t]},normalize:function(t){return n[sn].call(this,this.parse(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},unionExtentFromData:function(t,e){this.unionExtent(t[en](e,!1))},niceTicks:e.noop,niceExtent:e.noop});return r[xr]=function(){return new r},r}),e("echarts/coord/polar/RadiusAxis",[sa,oa,"../Axis"],function(t){function e(t,e){n.call(this,ei,t,e),this.type=ji}var i=t(oa),n=t("../Axis");return e[jr]={constructor:e,pointToData:function(t,e){return this.polar[Gi](t,e)[this.dim===ei?0:1]},dataToRadius:n[jr][Hi],radiusToData:n[jr][Bi]},i[In](e,n),e}),e("echarts/coord/polar/AngleAxis",[sa,oa,"../Axis"],function(t){function e(t,e){e=e||[0,360],n.call(this,"angle",t,e),this.type=ji}var i=t(oa),n=t("../Axis");return e[jr]={constructor:e,pointToData:function(t,e){return this.polar[Gi](t,e)[this.dim===ei?0:1]},dataToAngle:n[jr][Hi],angleToData:n[jr][Bi]},i[In](e,n),e}),e("echarts/coord/single/SingleAxis",[sa,oa,"../Axis","../axisHelper"],function(t){var e=t(oa),i=t("../Axis"),n=t("../axisHelper"),r=function(t,e,n,r,a){i.call(this,t,e,n),this.type=r||"value",this[gn]=a||Cr,this[A]=null,this._labelInterval=null};return r[jr]={constructor:r,model:null,isHorizontal:function(){var t=this[gn];return"top"===t||t===Cr},getLabelInterval:function(){var t=this._labelInterval;if(!t){var i=this.model,r=i[Er](R),a=r.get(re);if(this.type!==ji||"auto"!==a)return t=this._labelInterval="auto"===a?0:a;t=this._labelInterval=n.getAxisLabelInterval(e.map(this.scale[an](),this[Hi],this),i[Xi](),r[Er](Tn)[Sn](),this[Ui]())}return t},pointToData:function(t,e){return this[Sr][Gi](t,e)[0]},toGlobalCoord:null,toLocalCoord:null},e[In](r,i),r}),e("echarts/model/mixin/makeStyleMapper",[sa,oa],function(t){var e=t(oa);return function(t){for(var i=0;i<t[Tr];i++)t[i][1]||(t[i][1]=t[i][0]);return function(i,n){for(var r={},a=0;a<t[Tr];a++){var o=t[a][1];if(!(i&&e[Ar](i,o)>=0||n&&e[Ar](n,o)<0)){var s=this[Ge](o);null!=s&&(r[t[a][0]]=s)}}return r}}}),e("zrender/core/curve",[sa,"./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),u=3*(i-t),c=t-a,h=l*l-3*s*u,d=l*u-9*s*c,f=u*u-3*l*c,p=0;if(e(h)&&e(d))if(e(l))o[0]=0;else{var v=-u/l;v>=0&&1>=v&&(o[p++]=v)}else{var g=d*d-4*h*f;if(e(g)){var m=d/h,v=-l/s+m,_=-m/2;v>=0&&1>=v&&(o[p++]=v),_>=0&&1>=_&&(o[p++]=_)}else if(g>0){var b=x(g),S=h*l+1.5*s*(-d+b),A=h*l+1.5*s*(-d-b);S=0>S?-y(-S,M):y(S,M),A=0>A?-y(-A,M):y(A,M);var v=(-l-(S+A))/(3*s);v>=0&&1>=v&&(o[p++]=v)}else{var T=(2*h*l-3*s*d)/(2*x(h*h*h)),C=Math.acos(T)/3,P=x(h),L=Math.cos(C),v=(-l-2*P*L)/(3*s),_=(-l+P*(L+w*Math.sin(C)))/(3*s),D=(-l+P*(L-w*Math.sin(C)))/(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,u=3*n-3*t,c=0;if(e(l)){if(i(s)){var h=-u/s;h>=0&&1>=h&&(o[c++]=h)}}else{var d=s*s-4*l*u;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[c++]=h),p>=0&&1>=p&&(o[c++]=p)}}return c}function s(t,e,i,n,r,a){var o=(e-t)*r+t,s=(i-e)*r+e,l=(n-i)*r+i,u=(s-o)*r+o,c=(l-s)*r+s,h=(c-u)*r+u;a[0]=t,a[1]=o,a[2]=u,a[3]=h,a[4]=h,a[5]=c,a[6]=l,a[7]=n}function l(t,e,i,r,a,o,s,l,u,c,h){var d,f,p,v,g,y=.005,_=1/0;S[0]=u,S[1]=c;for(var w=0;1>w;w+=.05)A[0]=n(t,i,a,s,w),A[1]=n(e,r,o,l,w),v=m(S,A),_>v&&(d=w,_=v);_=1/0;for(var M=0;32>M&&!(b>y);M++)f=d-y,p=d+y,A[0]=n(t,i,a,s,f),A[1]=n(e,r,o,l,f),v=m(A,S),f>=0&&_>v?(d=f,_=v):(T[0]=n(t,i,a,s,p),T[1]=n(e,r,o,l,p),g=m(T,S),1>=p&&_>g?(d=p,_=g):y*=.5);return h&&(h[0]=n(t,i,a,s,d),h[1]=n(e,r,o,l,d)),x(_)}function u(t,e,i,n){var r=1-n;return r*(r*t+2*n*e)+n*n*i}function c(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),u=t-a,c=0;if(e(s)){if(i(l)){var h=-u/l;h>=0&&1>=h&&(o[c++]=h)}}else{var d=l*l-4*s*u;if(e(d)){var h=-l/(2*s);h>=0&&1>=h&&(o[c++]=h)}else if(d>0){var f=x(d),h=(-l+f)/(2*s),p=(-l-f)/(2*s);h>=0&&1>=h&&(o[c++]=h),p>=0&&1>=p&&(o[c++]=p)}}return c}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 c,h=.005,d=1/0;S[0]=o,S[1]=s;for(var f=0;1>f;f+=.05){A[0]=u(t,i,r,f),A[1]=u(e,n,a,f);var p=m(S,A);d>p&&(c=f,d=p)}d=1/0;for(var v=0;32>v&&!(b>h);v++){var g=c-h,y=c+h;A[0]=u(t,i,r,g),A[1]=u(e,n,a,g);var p=m(A,S);if(g>=0&&d>p)c=g,d=p;else{T[0]=u(t,i,r,y),T[1]=u(e,n,a,y);var _=m(T,S);1>=y&&d>_?(c=y,d=_):h*=.5}}return l&&(l[0]=u(t,i,r,c),l[1]=u(e,n,a,c)),x(d)}var v=t("./vector"),g=v[xr],m=v.distSquare,y=Math.pow,x=Math.sqrt,_=1e-8,b=1e-4,w=x(3),M=1/3,S=g(),A=g(),T=g();return{cubicAt:n,cubicDerivativeAt:r,cubicRootAt:a,cubicExtrema:o,cubicSubdivide:s,cubicProjectPoint:l,quadraticAt:u,quadraticDerivativeAt:c,quadraticRootAt:h,quadraticExtremum:d,quadraticSubdivide:f,quadraticProjectPoint:p}}),e("zrender/config",[],function(){var t=1;typeof window!==U&&(t=Math.max(window.devicePixelRatio||1,1));var e={debugMode:0,devicePixelRatio:t};return e}),e("zrender/core/bbox",[sa,"./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[xr](),u=e[xr](),c=e[xr](),h=2*Math.PI;n.fromPoints=function(t,e,i){if(0!==t[Tr]){var n,o=t[0],s=o[0],l=o[0],u=o[1],c=o[1];for(n=1;n<t[Tr];n++)o=t[n],s=r(s,o[0]),l=a(l,o[0]),u=r(u,o[1]),c=a(c,o[1]);e[0]=s,e[1]=u,i[0]=l,i[1]=c}},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)};var d=[],f=[];return n.fromCubic=function(t,e,n,o,s,l,u,c,h,p){var v,g=i.cubicExtrema,m=i.cubicAt,y=g(t,n,s,u,d);for(h[0]=1/0,h[1]=1/0,p[0]=-1/0,p[1]=-1/0,v=0;y>v;v++){var x=m(t,n,s,u,d[v]);h[0]=r(x,h[0]),p[0]=a(x,p[0])}for(y=g(e,o,l,c,f),v=0;y>v;v++){var _=m(e,o,l,c,f[v]);h[1]=r(_,h[1]),p[1]=a(_,p[1])}h[0]=r(t,h[0]),p[0]=a(t,p[0]),h[0]=r(u,h[0]),p[0]=a(u,p[0]),h[1]=r(e,h[1]),p[1]=a(e,p[1]),h[1]=r(c,h[1]),p[1]=a(c,p[1])},n.fromQuadratic=function(t,e,n,o,s,l,u,c){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),g=d(e,o,l,p);u[0]=r(t,s,v),u[1]=r(e,l,g),c[0]=a(t,s,v),c[1]=a(e,l,g)},n.fromArc=function(t,i,n,r,a,d,f,p,v){var g=e.min,m=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,u[0]=s(d)*n+t,u[1]=o(d)*r+i,g(p,l,u),m(v,l,u),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&&(c[0]=s(_)*n+t,c[1]=o(_)*r+i,g(p,c,p),m(v,c,v))},n}),e("zrender/graphic/Style",[sa],function(){function t(t,e,i){var n=e.x,r=e.x2,a=e.y,o=e.y2;e.global||(n=n*i.width+i.x,r=r*i.width+i.x,a=a*i[Wr]+i.y,o=o*i[Wr]+i.y);var s=t.createLinearGradient(n,a,r,o);return s}function e(t,e,i){var n=i.width,r=i[Wr],a=Math.min(n,r),o=e.x,s=e.y,l=e.r;e.global||(o=o*n+i.x,s=s*r+i.y,l*=a);var u=t.createRadialGradient(o,s,0,o,s,l);return u}var o=[[a,0],[n,0],[i,0],[r,"#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],s=function(t){this.extendFrom(t)};s[jr]={constructor:s,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",textOffset:null,textBaseline:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textTransform:!1,textRotation:0,blend:null,bind:function(t,e,i){for(var n=this,r=i&&i.style,a=!r,s=0;s<o[Tr];s++){var l=o[s],u=l[0];(a||n[u]!==r[u])&&(t[u]=n[u]||l[1])}if((a||n.fill!==r.fill)&&(t.fillStyle=n.fill),(a||n[ce]!==r[ce])&&(t.strokeStyle=n[ce]),(a||n[pn]!==r[pn])&&(t.globalAlpha=null==n[pn]?1:n[pn]),(a||n.blend!==r.blend)&&(t.globalCompositeOperation=n.blend||"source-over"),this.hasStroke()){var c=n[w];t[w]=c/(this.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1)}},hasFill:function(){var t=this.fill;return null!=t&&"none"!==t},hasStroke:function(){var t=this[ce];return null!=t&&"none"!==t&&this[w]>0},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===Ur?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(i,n,r){for(var a="radial"===n.type?e:t,o=a(i,n,r),s=n[gr],l=0;l<s[Tr];l++)o.addColorStop(s[l][oi],s[l].color);
  return o}};for(var l=s[jr],u=0;u<o[Tr];u++){var c=o[u];c[0]in l||(l[c[0]]=c[1])}return s.getGradient=l.getGradient,s}),e("zrender/Element",[sa,"./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[jr]={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,drift:function(t,e){switch(this[Z]){case le:e=0;break;case h:t=0}var i=this[ie];i||(i=this[ie]=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this[x]()},traverse:function(){},attrKV:function(t,e){if(t===gn||"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[Pr]=!0,this.__zr&&this.__zr.refresh()},show:function(){this[Pr]=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if(typeof t===Ur)this.attrKV(t,e);else if(a[Br](t))for(var i in t)t.hasOwnProperty(i)&&this.attrKV(i,t[i]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var i=0;i<e[Tr];i++)t[Fr].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[Tr];i++)t[Fr].removeAnimator(e[i]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},a.mixin(o,r),a.mixin(o,n),a.mixin(o,i),o}),e("echarts/coord/cartesian/Cartesian",[sa,oa],function(t){function e(t){return this._axes[t]}var i=t(oa),n=function(t){this._axes={},this._dimList=[],this.name=t||""};return n[jr]={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[Xr](),i[kn](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,Hi)},coordToData:function(t){return this._dataCoordConvert(t,Bi)},_dataCoordConvert:function(t,e){for(var i=this._dimList,n=t instanceof Array?[]:{},r=0;r<i[Tr];r++){var a=i[r],o=this._axes[a];n[a]=o[e](t[a])}return n}},n}),e("echarts/coord/polar/AxisModel",[sa,oa,d,"../axisModelCreator","../axisModelCommonMixin"],function(t){function e(t,e){return e.type||(e.data?ji:"value")}var i=t(oa),n=t(d),r=t("../axisModelCreator"),a=n[lr]({type:"polarAxis",axis:null,getCoordSysModel:function(){return this[M][C]({mainType:"polar",index:this[fn].polarIndex,id:this[fn].polarId})[0]}});i.merge(a[jr],t("../axisModelCommonMixin"));var o={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};r("angle",a,e,o.angle),r(ei,a,e,o[ei])}),e("echarts/component/axis/AxisBuilder",[sa,oa,pe,Ci,Ti,ge,$r],function(t){function e(t){var e={componentType:t[fr]};return e[t[fr]+"Index"]=t[Ni],e}function i(t,e,i,n){var r,a,o=u(i-t[Me]),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;return c(o-m/2)?(a=l?Cr:"top",r=mn):c(o-1.5*m)?(a=l?"top":Cr,r=mn):(a=yn,r=1.5*m>o&&o>m/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:r,textVerticalAlign:a}}function n(t){var e=t.get("tooltip");return t.get(Hr)||!(t.get("triggerEvent")||e&&e.show)}var r=t(oa),a=t(pe),o=t(Ci),s=t(Ti),l=t(ge),u=l.remRadian,c=l.isRadianAroundZero,h=t($r),d=h[ee],g=r[Di],m=Math.PI,_=function(t,e){this.opt=e,this.axisModel=t,r[or](e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new o.Group;var i=new o.Group({position:e[gn].slice(),rotation:e[Me]});i[x](),this._transform=i[ie],this._dumbGroup=i};_[jr]={constructor:_,hasBuilder:function(t){return!!w[t]},add:function(t){w[t].call(this)},getGroup:function(){return this.group}};var w={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var i=this.axisModel.axis[on](),n=this._transform,a=[i[0],0],s=[i[1],0];n&&(d(a,a,n),d(s,s,n)),this.group.add(new o.Line(o.subPixelOptimizeLine({anid:"line",shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:r[lr]({lineCap:"round"},e[Er]("axisLine.lineStyle")[Ke]()),strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1})))}},axisTick:function(){var t=this.axisModel,e=t.axis;if(t.get("axisTick.show")&&!e.scale[p]())for(var i=t[Er](V),n=this.opt,a=i[Er](_e),s=i.get(Tr),l=T(i,n.labelInterval),u=e[f](i.get("alignWithLabel")),c=e.scale[an](),h=[],v=[],g=this._transform,m=0;m<u[Tr];m++)if(!A(e,m,l)){var y=u[m];h[0]=y,h[1]=0,v[0]=y,v[1]=n.tickDirection*s,g&&(d(h,h,g),d(v,v,g)),this.group.add(new o.Line(o.subPixelOptimizeLine({anid:"tick_"+c[m],shape:{x1:h[0],y1:h[1],x2:v[0],y2:v[1]},style:r[or](a[Ke](),{stroke:t.get("axisLine.lineStyle.color")}),z2:2,silent:!0})))}},axisLabel:function(){function t(t,e){var i=t&&t[wn]().clone(),n=e&&e[wn]().clone();return i&&n?(i[ee](t[b]()),n[ee](e[b]()),i.intersect(n)):void 0}var i=this.opt,a=this.axisModel,l=a.axis,u=g(i.axisLabelShow,a.get("axisLabel.show"));if(u&&!l.scale[p]()){var c=a[Er](R),h=c[Er](Tn),d=c.get(vn),f=l.scale[an](),v=a[Xi](),_=(g(i.labelRotate,c.get(y))||0)*m/180,w=S(i[Me],_,i.labelDirection),T=a.get("data"),C=[],P=n(a),L=a.get("triggerEvent");if(r.each(f,function(t,n){if(!A(l,n,i.labelInterval)){var r=h;T&&T[t]&&T[t][Tn]&&(r=new s(T[t][Tn],h,a[M]));var u=r[Mn]()||a.get("axisLine.lineStyle.color"),c=l[Hi](t),f=[c,i.labelOffset+i.labelDirection*d],p=l.scale[rn](t),g=new o.Text({anid:"label_"+t,style:{text:v[n],textAlign:r.get("align",!0)||w[An],textVerticalAlign:r.get("baseline",!0)||w[cn],textFont:r[Sn](),fill:typeof u===Bn?u(l.type===ji?p:"value"===l.type?t+"":t,n):u},position:f,rotation:w[Me],silent:P,z2:10});L&&(g.eventData=e(a),g.eventData.targetType=R,g.eventData.value=p),this._dumbGroup.add(g),g[x](),C.push(g),this.group.add(g),g.decomposeTransform()}},this),null!=a.getMin()){var D=C[0],I=C[1];t(D,I)&&(D[Pr]=!0)}if(null!=a.getMax()){var k=C[C[Tr]-1],z=C[C[Tr]-2];t(z,k)&&(k[Pr]=!0)}}},axisName:function(){var t=this.opt,s=this.axisModel,l=g(t[v],s.get("name"));if(l){var u,c=s.get("nameLocation"),h=t.nameDirection,d=s[Er]("nameTextStyle"),f=s.get("nameGap")||0,p=this.axisModel.axis[on](),y=p[0]>p[1]?-1:1,_=["start"===c?p[0]-y*f:"end"===c?p[1]+y*f:(p[0]+p[1])/2,c===yn?t.labelOffset+h*f:0],b=s.get("nameRotate");null!=b&&(b=b*m/180);var w;c===yn?u=S(t[Me],null!=b?b:t[Me],h):(u=i(t,c,b||0,p),w=t.axisNameAvailableWidth,null!=w&&(w=Math.abs(w/Math.sin(u[Me])),!isFinite(w)&&(w=null)));var M=d[Sn](),A=s.get("nameTruncate",!0)||{},T=A.ellipsis,C=g(A.maxWidth,w),P=null!=T&&null!=C?a.truncateText(l,C,M,T,{minChar:2,placeholder:A.placeholder}):l,L=s.get("tooltip",!0),D=s[fr],I={componentType:D,name:l,$vars:["name"]};I[D+"Index"]=s[Ni];var k=new o.Text({anid:"name",__fullText:l,__truncatedText:P,style:{text:P,textFont:M,fill:d[Mn]()||s.get("axisLine.lineStyle.color"),textAlign:u[An],textVerticalAlign:u[cn]},position:_,rotation:u[Me],silent:n(s),z2:1,tooltip:L&&L.show?r[lr]({content:l,formatter:function(){return l},formatterParams:I},L):null});s.get("triggerEvent")&&(k.eventData=e(s),k.eventData.targetType=v,k.eventData.name=l),this._dumbGroup.add(k),k[x](),this.group.add(k),k.decomposeTransform()}}},S=_.innerTextLayout=function(t,e,i){var n,r,a=u(e-t);return c(a)?(r=i>0?"top":Cr,n=mn):c(a-m)?(r=i>0?Cr:"top",n=mn):(r=yn,n=a>0&&m>a?i>0?"right":"left":i>0?"left":"right"),{rotation:a,textAlign:n,textVerticalAlign:r}},A=_.ifIgnoreOnTick=function(t,e,i){var n,r=t.scale;return r.type===Ue&&(typeof i===Bn?(n=r[an]()[e],!i(n,r[rn](n))):e%(i+1))},T=_.getInterval=function(t,e){var i=t.get(re);return(null==i||"auto"==i)&&(i=e),i};return _}),e("echarts/component/axis/singleAxisHelper",[sa,oa],function(t){var e=t(oa),i={};return i[ue]=function(t,i){i=i||{};var n=t[Sr],r=t.axis,a={},o=r[gn],s=r[A],l=n[Pn](),u=[l.x,l.x+l.width,l.y,l.y+l[Wr]],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};a[gn]=[s===h?c[h][o]:u[0],s===le?c[le][o]:u[3]];var d={horizontal:0,vertical:1};a[Me]=Math.PI/2*d[s];var f={top:-1,bottom:1,right:1,left:-1};a.labelDirection=a.tickDirection=a.nameDirection=f[o],t.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),e[Di](i.labelInside,t.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var p=i[y];return null==p&&(p=t.get("axisLabel.rotate")),a.labelRotation="top"===o?-p:p,a.labelInterval=r.getLabelInterval(),a.z2=1,a},i}),e("echarts/component/axis/AxisView",[sa,"../axisPointer/modelHelper",Ai],function(t){function e(t,e,a,o,s,l){var u=r.getAxisPointerClass(t.axisPointerClass);if(u){var c=n.getAxisPointerModel(e);c?(t._axisPointer||(t._axisPointer=new u))[dr](e,c,o,l):i(t,o)}}function i(t,e,i){var n=t._axisPointer;n&&n[ir](e,i),t._axisPointer=null}var n=t("../axisPointer/modelHelper"),r=t(Ai)[Vn]({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,i,a,o){this.axisPointerClass&&n.fixValue(t),r[dn](this,dr,arguments),e(this,t,i,a,o,!0)},updateAxisPointer:function(t,i,n,r){e(this,t,i,n,r,!1)},remove:function(t,e){var i=this._axisPointer;i&&i[ur](e),r[dn](this,ur,arguments)},dispose:function(t,e){i(this,e),r[dn](this,ir,arguments)}}),a=[];return r.registerAxisPointerClass=function(t,e){a[t]=e},r.getAxisPointerClass=function(t){return t&&a[t]},r}),e("echarts/data/helper/completeDimensions",[sa,oa],function(t){function e(t,e,a){if(!e)return t;a=a||{};var o=a.dimCount;if(null==o){var s=i(e[0]);o=n[Gn](s)&&s[Tr]||1}for(var l=a.defaultNames||[],u=a.extraPrefix||"extra",c=0;o>c;c++)if(!t[c]){var h=l[c]||u+(c-l[Tr]);t[c]=r(e,c)?{type:"ordinal",name:h}:h}return t}function i(t){return n[Gn](t)?t:n[Br](t)?t.value:t}var n=t(oa),r=e.guessOrdinal=function(t,e){for(var r=0,a=t[Tr];a>r;r++){var o=i(t[r]);if(!n[Gn](o))return!1;var o=o[e];if(null!=o&&isFinite(o))return!1;if(n[Dn](o)&&"-"!==o)return!0}return!1};return e}),e("echarts/chart/helper/LineDraw",[sa,Ci,"./Line"],function(t){function e(t){return isNaN(t[0])||isNaN(t[1])}function i(t){return!e(t[0])&&!e(t[1])}function n(t){this._ctor=t||a,this.group=new r.Group}var r=t(Ci),a=t("./Line"),o=n[jr];return o[Je]=function(t){var e=this._lineData,n=this.group,r=this._ctor,a=t[Ye],o={lineStyle:a[Er]("lineStyle.normal")[Ke](),hoverLineStyle:a[Er]("lineStyle.emphasis")[Ke](),labelModel:a[Er](we),hoverLabelModel:a[Er](be)};t.diff(e).add(function(e){if(i(t[pi](e))){var a=new r(t,e,o);t[xi](e,a),n.add(a)}})[yr](function(a,s){var l=e[yi](s);return i(t[pi](a))?(l?l[Je](t,a,o):l=new r(t,a,o),t[xi](a,l),void n.add(l)):void n[ur](l)})[ur](function(t){n[ur](e[yi](t))})[bi](),this._lineData=t},o[pr]=function(){var t=this._lineData;t[gi](function(e,i){e[pr](t,i)},this)},o[ur]=function(){this.group[Ln]()},n}),e("echarts/chart/helper/EffectLine",[sa,Ci,"./Line",oa,se,$r,"zrender/core/curve"],function(t){function e(t,e,n){i.Group.call(this),this.add(this.createLine(t,e,n)),this._updateEffectSymbol(t,e)}var i=t(Ci),n=t("./Line"),a=t(oa),o=t(se),s=t($r),l=t("zrender/core/curve"),u=e[jr];return u.createLine=function(t,e,i){return new n(t,e,i)},u._updateEffectSymbol=function(t,e){var i=t[_i](e),n=i[Er]("effect"),s=n.get(Ze),l=n.get(We);a[Gn](s)||(s=[s,s]);var u=n.get("color")||t[_r](e,"color"),c=this[Ce](1);this._symbolType!==l&&(this[ur](c),c=o[oe](l,-.5,-.5,1,1,u),c.z2=100,c.culling=!0,this.add(c)),c&&(c[Zn](r,u),c[Zn](n[Cn](["color"])),c.attr("scale",s),c.setColor(u),c.attr("scale",s),this._symbolType=l,this._updateEffectAnimation(t,n,e))},u._updateEffectAnimation=function(t,e,i){var n=this[Ce](1);if(n){var r=this,o=t[pi](i),s=1e3*e.get("period"),l=e.get("loop"),u=e.get("constantSpeed"),c=a[Di](e.get("delay"),function(e){return e/t.count()*s/3}),h=typeof c===Bn;if(n[Pr]=!0,this.updateAnimationPoints(n,o),u>0&&(s=this.getLineLength(n)/u*1e3),s!==this._period||l!==this._loop){n[Dr]();var d=c;h&&(d=c(i)),n.__t>0&&(d=-s*n.__t),n.__t=0;var f=n[De]("",l).when(s,{__t:1}).delay(d).during(function(){r.updateSymbolPosition(n)});l||f.done(function(){r[ur](n)}),f.start()}this._period=s,this._loop=l}},u.getLineLength=function(t){return s.dist(t.__p1,t.__cp1)+s.dist(t.__cp1,t.__p2)},u.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},u[Je]=function(t,e,i){this[Ce](0)[Je](t,e,i),this._updateEffectSymbol(t,e)},u.updateSymbolPosition=function(t){var e=t.__p1,i=t.__p2,n=t.__cp1,r=t.__t,a=t[gn],o=l.quadraticAt,s=l.quadraticDerivativeAt;a[0]=o(e[0],n[0],i[0],r),a[1]=o(e[1],n[1],i[1],r);var u=s(e[0],n[0],i[0],r),c=s(e[1],n[1],i[1],r);t[Me]=-Math.atan2(c,u)-Math.PI/2,t[Pr]=!1},u[pr]=function(t,e){this[Ce](0)[pr](t,e);var i=t[_i](e)[Er]("effect");this._updateEffectAnimation(t,i,e)},a[In](e,i.Group),e}),e("echarts/chart/helper/Line",[sa,se,$r,"./LinePath",Ci,oa,ge],function(t){function e(t){return"_"+t+"Type"}function i(t,e,i){var n=e[_r](i,"color"),r=e[_r](i,t),a=e[_r](i,t+"Size");if(r&&"none"!==r){d[Gn](a)||(a=[a,a]);var o=s[oe](r,-a[0]/2,-a[1]/2,a[0],a[1],n);return o.name=t,o}}function n(t){var e=new c({name:"line"});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[Ve]=1,r?(t.cpx1=r[0],t.cpy1=r[1]):(t.cpx1=0/0,t.cpy1=0/0)}function a(){var t=this,e=t.childOfName("fromSymbol"),i=t.childOfName("toSymbol"),n=t.childOfName("label");if(e||i||!n[Pr]){for(var r=1,a=this[un];a;)a.scale&&(r/=a.scale[0]),a=a[un];var o=t.childOfName("line");if(this[l]||o[l]){var s=o.shape[Ve],c=o.pointAt(0),h=o.pointAt(s),d=u.sub([],h,c);if(u[sn](d,d),e){e.attr(gn,c);var f=o.tangentAt(0);e.attr(Me,Math.PI/2-Math.atan2(f[1],f[0])),e.attr("scale",[r*s,r*s])}if(i){i.attr(gn,h);var f=o.tangentAt(1);i.attr(Me,-Math.PI/2-Math.atan2(f[1],f[0])),i.attr("scale",[r*s,r*s])}if(!n[Pr]){n.attr(gn,h);var p,v,g,m=5*r;if("end"===n.__position)p=[d[0]*m+h[0],d[1]*m+h[1]],v=d[0]>.8?"left":d[0]<-.8?"right":mn,g=d[1]>.8?"top":d[1]<-.8?Cr:yn;else if(n.__position===yn){var y=s/2,f=o.tangentAt(y),x=[f[1],-f[0]],_=o.pointAt(y);x[1]>0&&(x[0]=-x[0],x[1]=-x[1]),p=[_[0]+x[0]*m,_[1]+x[1]*m],v=mn,g=Cr;var b=-Math.atan2(f[1],f[0]);h[0]<c[0]&&(b=Math.PI+b),n.attr(Me,b)}else p=[-d[0]*m+c[0],-d[1]*m+c[1]],v=d[0]>.8?"right":d[0]<-.8?"left":mn,g=d[1]>.8?Cr:d[1]<-.8?"top":yn;n.attr({style:{textVerticalAlign:n.__verticalAlign||g,textAlign:n.__textAlign||v},position:p,scale:[r,r]})}}}}function o(t,e,i){h.Group.call(this),this._createLine(t,e,i)}var s=t(se),u=t($r),c=t("./LinePath"),h=t(Ci),d=t(oa),f=t(ge),p=["fromSymbol","toSymbol"],v=o[jr];return v.beforeUpdate=a,v._createLine=function(t,r,a){var o=t[Ye],s=t[pi](r),l=n(s);l.shape[Ve]=0,h[vi](l,{shape:{percent:1}},o,r),this.add(l);var u=new h.Text({name:"label"});this.add(u),d.each(p,function(n){var a=i(n,t,r);this.add(a),this[e(n)]=t[_r](r,n)},this),this._updateCommonStl(t,r,a)},v[Je]=function(t,n,a){var o=t[Ye],s=this.childOfName("line"),l=t[pi](n),u={shape:{}};r(u.shape,l),h[mi](s,u,o,n),d.each(p,function(r){var a=t[_r](n,r),o=e(r);if(this[o]!==a){this[ur](this.childOfName(r));var s=i(r,t,n);this.add(s)}this[o]=a},this),this._updateCommonStl(t,n,a)},v._updateCommonStl=function(t,e,i){var n=t[Ye],r=this.childOfName("line"),a=i&&i[_e],o=i&&i.hoverLineStyle,s=i&&i.labelModel,l=i&&i.hoverLabelModel;if(!i||t[ne]){var u=t[_i](e);a=u[Er]("lineStyle.normal")[Ke](),o=u[Er]("lineStyle.emphasis")[Ke](),s=u[Er](we),l=u[Er](be)}var c=t[_r](e,"color"),v=d[Di](t[_r](e,pn),a[pn],1);r[ci](d[or]({strokeNoScale:!0,fill:"none",stroke:c,opacity:v},a)),r[Te]=o,d.each(p,function(t){var e=this.childOfName(t);e&&(e.setColor(c),e[Zn]({opacity:v}))},this);var g,m,y=s[Ge]("show"),x=l[Ge]("show"),_=this.childOfName("label");if(y||x){var b=n[Fe](e);m=null==b?m=t[Ie](e):isFinite(b)?f.round(b):b,g=c||"#000"}if(y){var w=s[Er](Tn);_[Zn]({text:d[Di](n[Pe](e,Mi,t[qn]),m),textFont:w[Sn](),fill:w[Mn]()||g}),_.__textAlign=w.get("align"),_.__verticalAlign=w.get("baseline"),_.__position=s.get(gn)}else _[Zn]("text","");if(x){var M=l[Er](Tn);_[Te]={text:d[Di](n[Pe](e,ke,t[qn]),m),textFont:M[Sn](),fill:M[Mn]()||g}}else _[Te]={text:""};_[Pr]=!y&&!x,h[ui](this)},v[pr]=function(t,e){this.setLinePoints(t[pi](e))},v.setLinePoints=function(t){var e=this.childOfName("line");r(e.shape,t),e.dirty()},d[In](o,h.Group),o}),e("echarts/chart/helper/Polyline",[sa,Ci,oa],function(t){function e(t,e,n){i.Group.call(this),this._createPolyline(t,e,n)}var i=t(Ci),n=t(oa),r=e[jr];return r._createPolyline=function(t,e,n){var r=t[pi](e),a=new i[Xe]({shape:{points:r}});this.add(a),this._updateCommonStl(t,e,n)},r[Je]=function(t,e,n){var r=t[Ye],a=this[Ce](0),o={shape:{points:t[pi](e)}};i[mi](a,o,r,e),this._updateCommonStl(t,e,n)},r._updateCommonStl=function(t,e,r){var a=this[Ce](0),o=t[_i](e),s=t[_r](e,"color"),l=r&&r[_e],u=r&&r.hoverLineStyle;(!r||t[ne])&&(l=o[Er]("lineStyle.normal")[Ke](),u=o[Er]("lineStyle.emphasis")[Ke]()),a[ci](n[or]({strokeNoScale:!0,fill:"none",stroke:s},l)),a[Te]=u,i[ui](this)},r[pr]=function(t,e){var i=this[Ce](0);i[hi](qe,t[pi](e))},n[In](e,i.Group),e}),e("echarts/chart/helper/EffectPolyline",[sa,"./Polyline",oa,"./EffectLine",$r],function(t){function e(t,e,i){r.call(this,t,e,i),this._lastFrame=0,this._lastFramePercent=0}var i=t("./Polyline"),n=t(oa),r=t("./EffectLine"),a=t($r),o=e[jr];return o.createLine=function(t,e,n){return new i(t,e,n)},o.updateAnimationPoints=function(t,e){this._points=e;for(var i=[0],n=0,r=1;r<e[Tr];r++){var o=e[r-1],s=e[r];n+=a.dist(o,s),i.push(n)}if(0!==n){for(var r=0;r<i[Tr];r++)i[r]/=n;this._offsets=i,this._length=n}},o.getLineLength=function(){return this._length},o.updateSymbolPosition=function(t){var e=t.__t,i=this._points,n=this._offsets,r=i[Tr];if(n){var o,s=this._lastFrame;if(e<this._lastFramePercent){var l=Math.min(s+1,r-1);for(o=l;o>=0&&!(n[o]<=e);o--);o=Math.min(o,r-2)}else{for(var o=s;r>o&&!(n[o]>e);o++);o=Math.min(o-1,r-2)}a.lerp(t[gn],i[o],i[o+1],(e-n[o])/(n[o+1]-n[o]));var u=i[o+1][0]-i[o][0],c=i[o+1][1]-i[o][1];t[Me]=-Math.atan2(c,u)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t[Pr]=!1}},n[In](e,r),e}),e("echarts/chart/helper/LargeLineDraw",[sa,Ci,"zrender/contain/quadratic","zrender/contain/line"],function(t){function e(){this.group=new i.Group,this._lineEl=new a}var i=t(Ci),n=t("zrender/contain/quadratic"),r=t("zrender/contain/line"),a=i[I]({shape:{polyline:!1,segs:[]},buildPath:function(t,e){for(var i=e.segs,n=e.polyline,r=0;r<i[Tr];r++){var a=i[r];if(n){t[D](a[0][0],a[0][1]);for(var o=1;o<a[Tr];o++)t[L](a[o][0],a[o][1])}else t[D](a[0][0],a[0][1]),a[Tr]>2?t.quadraticCurveTo(a[2][0],a[2][1],a[1][0],a[1][1]):t[L](a[1][0],a[1][1])}},findDataIndex:function(t,e){for(var i=this.shape,a=i.segs,o=i.polyline,s=Math.max(this.style[w],1),l=0;l<a[Tr];l++){var u=a[l];if(o){for(var c=1;c<u[Tr];c++)if(r.containStroke(u[c-1][0],u[c-1][1],u[c][0],u[c][1],s,t,e))return l}else if(u[Tr]>2){if(n.containStroke(u[0][0],u[0][1],u[2][0],u[2][1],u[1][0],u[1][1],s,t,e))return l}else if(r.containStroke(u[0][0],u[0][1],u[1][0],u[1][1],s,t,e))return l}return-1}}),o=e[jr];return o[Je]=function(t){this.group[Ln]();var e=this._lineEl,i=t[Ye];e[hi]({segs:t[ti](t[pi]),polyline:i.get("polyline")}),e[ci](i[Er]("lineStyle.normal")[Ke]());var n=t[Mr]("color");n&&e[Zn](ce,n),e[Zn]("fill"),e[jn]=i[jn],e.on(Jn,function(t){e[br]=null;var i=e.findDataIndex(t[G],t[B]);i>0&&(e[br]=i)}),this.group.add(e)},o[pr]=function(t){var e=t[na]();this._lineEl[hi]({segs:e[ti](e[pi])})},o[ur]=function(){this.group[Ln]()},e}),e("echarts/chart/gauge/PointerPath",[sa,"zrender/graphic/Path"],function(t){return t("zrender/graphic/Path")[lr]({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[D](s,l),t[L](e.x+i(o)*a,e.y+n(o)*a),t[L](e.x+i(e.angle)*r,e.y+n(e.angle)*r),t[L](e.x-i(o)*a,e.y-n(o)*a),t[L](s,l)}})}),e("echarts/coord/geo/Geo",[sa,"./parseGeoJson",oa,K,"../View","./fix/nanhai","./fix/textCoord","./fix/geoCoord"],function(t){function e(t,e,i,n,r){o.call(this,t),this.map=e,this._nameCoordMap={},this.loadGeoJson(i,n,r)}function i(t,e,i,n){var r=i.geoModel,a=i[wr],o=r?r[Sr]:a?a[Sr]||(a.getReferringComponents("geo")[0]||{})[Sr]:null;return o===this?o[t](n):null}var n=t("./parseGeoJson"),r=t(oa),a=t(K),o=t("../View"),s=[t("./fix/nanhai"),t("./fix/textCoord"),t("./fix/geoCoord")];return e[jr]={constructor:e,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,i=0;i<e[Tr];i++)if(e[i][ln](t))return!0;return!1},loadGeoJson:function(t,e,i){try{this.regions=t?n(t):[]}catch(a){throw"Invalid geoJson format\n"+a.message}e=e||{},i=i||{};for(var o=this.regions,l={},u=0;u<o[Tr];u++){var c=o[u].name;c=i[c]||c,o[u].name=c,l[c]=o[u],this.addGeoCoord(c,o[u][mn]);var h=e[c];h&&o[u].transformTo(h.left,h.top,h.width,h[Wr])}this._regionsMap=l,this._rect=null,r.each(s,function(t){t(this)},this)},transformTo:function(t,e,i,n){var r=this[wn]();r=r.clone(),r.y=-r.y-r[Wr];var o=this._viewTransform;o[ie]=r.calculateTransform(new a(t,e,i,n)),o.decomposeTransform();var s=o.scale;s[1]=-s[1],o[x](),this._updateTransform()},getRegion:function(t){return this._regionsMap[t]},getRegionByCoord:function(t){for(var e=this.regions,i=0;i<e[Tr];i++)if(e[i][ln](t))return e[i]},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[Tr];i++){var n=e[i][wn]();t=t||n.clone(),t.union(n)}return this._rect=t||new a(0,0,0,0)},dataToPoints:function(t){var e=[];return t[ti](["lng","lat"],function(t,i){return e[0]=t,e[1]=i,this[Zi](e)},this)},dataToPoint:function(t){return typeof t===Ur&&(t=this.getGeoCoord(t)),t?o[jr][Zi].call(this,t):void 0},convertToPixel:r.curry(i,Zi),convertFromPixel:r.curry(i,Gi)},r.mixin(e,o),e}),e("echarts/coord/geo/parseGeoJson",[sa,oa,"./Region"],function(t){function e(t){if(!t.UTF8Encoding)return t;for(var e=t.features,n=0;n<e[Tr];n++)for(var r=e[n],a=r.geometry,o=a.coordinates,s=a.encodeOffsets,l=0;l<o[Tr];l++){var u=o[l];if(a.type===je)o[l]=i(u,s[l]);else if("MultiPolygon"===a.type)for(var c=0;c<u[Tr];c++){var h=u[c];u[c]=i(h,s[l][c])}}return t.UTF8Encoding=!1,t}function i(t,e){for(var i=[],n=e[0],r=e[1],a=0;a<t[Tr];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}var n=t(oa),r=t("./Region");return function(t){return e(t),n.map(n[kn](t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates[Tr]>0}),function(t){var e=t.properties,i=t.geometry,a=i.coordinates,o=[];i.type===je&&o.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===i.type&&n.each(a,function(t){t[0]&&o.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});var s=new r(e.name,o,e.cp);return s.properties=e,s})}}),e("echarts/component/dataZoom/helper",[sa,pe,oa],function(t){var e=t(pe),i=t(oa),n={},r=["x","y","z",ei,"angle",g],a=[Li,"polar","singleAxis"];return n.isCoordSupported=function(t){return i[Ar](a,t)>=0},n.createNameEach=function(t,n){t=t.slice();var r=i.map(t,e.capitalFirst);n=(n||[]).slice();var a=i.map(n,e.capitalFirst);return function(e,o){i.each(t,function(t,i){for(var s={name:t,capital:r[i]},l=0;l<n[Tr];l++)s[n[l]]=t+a[l];e.call(o,s)})}},n.eachAxisDim=n.createNameEach(r,[c,"axis","index","id"]),n.createLinkedNodesFinder=function(t,e,n){function r(t,e){return i[Ar](e.nodes,t)>=0}function a(t,r){var a=!1;return e(function(e){i.each(n(t,e)||[],function(t){r.records[e.name][t]&&(a=!0)})}),a}function o(t,r){r.nodes.push(t),e(function(e){i.each(n(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}},n}),e("echarts/component/dataZoom/AxisProxy",[sa,oa,ge,Yr],function(t){function e(t,e,n){var r=[1/0,-1/0];return s(n,function(t){var i=t[na]();i&&s(t[Ri](e),function(t){var e=i[en](t);e[0]<r[0]&&(r[0]=e[0]),e[1]>r[1]&&(r[1]=e[1])})}),r[1]<r[0]&&(r=[0/0,0/0]),i(t,r),r}function i(t,e){var i=t.getAxisModel(),n=i.getMin(!0),r=i.get("type")===ji,a=r&&(i.get("data")||[])[Tr];null!=n&&"dataMin"!==n?e[0]=n:r&&(e[0]=a>0?0:0/0);var o=i.getMax(!0);return null!=o&&"dataMax"!==o?e[1]=o:r&&(e[1]=a>0?a-1:0/0),i.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0)),e}function n(t,e){var i=t.getAxisModel(),n=t._percentWindow,r=t._valueWindow;if(n){var o=a.getPixelPrecision(r,[0,500]),s=e||0===n[0]&&100===n[1];i.setRange(s?null:+r[0][Re](o),s?null:+r[1][Re](o))}}var r=t(oa),a=t(ge),o=t(Yr),s=r.each,l=a.asc,u=function(t,e,i,n){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this[M]=n,this._dataZoomModel=i};return u[jr]={constructor:u,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this[M];return e[vr](function(i){if(o.isCoordSupported(i.get(Sr))){var n=this._dimName,r=e[C]({mainType:n+"Axis",index:i.get(n+"AxisIndex"),id:i.get(n+"AxisId")})[0];this._axisIndex===(r&&r[Ni])&&t.push(i)}},this),t},getAxisModel:function(){return this[M][X](this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,i=this._dimName,n=this[M],r=this.getAxisModel(),a="x"===i||"y"===i;a?(e="gridIndex",t="x"===i?"y":"x"):(e="polarIndex",t="angle"===i?ei:"angle");var o;return n[Lr](t+"Axis",function(t){(t.get(e)||0)===(r.get(e)||0)&&(o=t)}),o},calculateDataWindow:function(t){var e=this._dataExtent,i=this.getAxisModel(),n=i.axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],u=[t.start,t.end],c=[];return s(["startValue","endValue"],function(e){c.push(null!=t[e]?n.parse(t[e]):null)}),s([0,1],function(t){var i=c[t],s=u[t];r[t]===Ve?(null==s&&(s=o[t]),i=n.parse(a[ve](s,o,e,!0))):s=a[ve](i,e,o,!0),c[t]=i,u[t]=s}),{valueWindow:l(c),percentWindow:l(u)}},reset:function(t){if(t===this._dataZoomModel){this._dataExtent=e(this,this._dimName,this.getTargetSeriesModels());var i=this.calculateDataWindow(t[fn]);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,n(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,n(this,!0))},filterData:function(t){function e(t){return t>=a[0]&&t<=a[1]}if(t===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),r=t.get("filterMode"),a=this._valueWindow,o=this.getOtherAxisModel();t.get("$fromToolbox")&&o&&o.get("type")===ji&&(r="empty"),s(n,function(t){var n=t[na]();n&&s(t[Ri](i),function(i){"empty"===r?t.setData(n.map(i,function(t){return e(t)?t:0/0})):n.filterSelf(i,e)})})}}},u}),e("zrender/core/LRU",[sa],function(){var t=function(){this.head=null,this.tail=null,this._len=0},e=t[jr];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,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e[ur]=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},e.clear=function(){this.head=this.tail=null,this._len=0};var i=function(t){this.value=t,this.next,this.prev},n=function(e){this._list=new t,this._map={},this._maxSize=e||10,this._lastRemovedEntry=null},r=n[jr];return r.put=function(t,e){var n=this._list,r=this._map,a=null;if(null==r[t]){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n[ur](l),delete r[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return a},r.get=function(t){var e=this._map[t],i=this._list;return null!=e?(e!==i.tail&&(i[ur](e),i.insertEntry(e)),e.value):void 0},r.clear=function(){this._list.clear(),this._map={}},n}),e("zrender/core/guid",[],function(){var t=2311;return function(){return t++}}),e("zrender/mixin/Transformable",[sa,"../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,o=function(t){t=t||{},t[gn]||(this[gn]=[0,0]),null==t[Me]&&(this[Me]=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},s=o[jr];s[ie]=null,s.needLocalTransform=function(){return e(this[Me])||e(this[gn][0])||e(this[gn][1])||e(this.scale[0]-1)||e(this.scale[1]-1)},s[x]=function(){var t=this[un],e=t&&t[ie],n=this.needLocalTransform(),a=this[ie];return n||e?(a=a||i[xr](),n?this[b](a):r(a),e&&(n?i.mul(a,t[ie],a):i.copy(a,t[ie])),this[ie]=a,this.invTransform=this.invTransform||i[xr](),void i.invert(this.invTransform,a)):void(a&&r(a))},s[b]=function(t){t=t||[],r(t);var e=this.origin,n=this.scale,a=this[Me],o=this[gn];return e&&(t[4]-=e[0],t[5]-=e[1]),i.scale(t,t,n),a&&i[y](t,t,a),e&&(t[4]+=e[0],t[5]+=e[1]),t[4]+=o[0],t[5]+=o[1],t},s.setTransform=function(t){var e=this[ie],i=t.dpr||1;e?t.setTransform(i*e[0],i*e[1],i*e[2],i*e[3],i*e[4],i*e[5]):t.setTransform(i,0,0,i,0,0)},s.restoreTransform=function(t){var e=(this[ie],t.dpr||1);t.setTransform(e,0,0,e,0,0)};var l=[];return s.decomposeTransform=function(){if(this[ie]){var t=this[un],n=this[ie];t&&t[ie]&&(i.mul(l,t.invTransform,n),n=l);var r=n[0]*n[0]+n[1]*n[1],a=n[2]*n[2]+n[3]*n[3],o=this[gn],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[Me]=Math.atan2(-n[1]/a,n[0]/r)}},s.getGlobalScale=function(){var t=this[ie];if(!t)return[1,1];var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]),i=Math.sqrt(t[2]*t[2]+t[3]*t[3]);return t[0]<0&&(e=-e),t[3]<0&&(i=-i),[e,i]},s.transformCoordToLocal=function(t,e){var i=[t,e],r=this.invTransform;return r&&n[ee](i,i,r),i},s.transformCoordToGlobal=function(t,e){var i=[t,e],r=this[ie];return r&&n[ee](i,i,r),i},o}),e("zrender/mixin/Animatable",[sa,"../animation/Animator",o,"../core/log"],function(t){var e=t("../animation/Animator"),i=t(o),n=i[Dn],r=i.isFunction,a=i[Br],s=t("../core/log"),l=function(){this.animators=[]};return l[jr]={constructor:l,animate:function(t,n){var r,a=!1,o=this,l=this.__zr;if(t){var u=t.split("."),c=o;a="shape"===u[0];for(var h=0,d=u[Tr];d>h;h++)c&&(c=c[u[h]]);c&&(r=c)}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,n);return p.during(function(){o.dirty(a)}).done(function(){f[er](i[Ar](f,p),1)}),f.push(p),l&&l[Fr].addAnimator(p),p},stopAnimation:function(t){for(var e=this.animators,i=e[Tr],n=0;i>n;n++)e[n].stop(t);return e[Tr]=0,this},animateTo:function(t,e,i,a,o){function s(){u--,u||o&&o()}n(i)?(o=a,a=i,i=0):r(a)?(o=a,a=J,i=0):r(i)?(o=i,i=0):r(e)?(o=e,e=500):e||(e=500),this[Dr](),this._animateToShallow("",this,t,e,i,a,o);var l=this.animators.slice(),u=l[Tr];u||o&&o();for(var c=0;c<l[Tr];c++)l[c].done(s).start(a)},_animateToShallow:function(t,e,n,r,o){var s={},l=0;for(var u in n)if(n.hasOwnProperty(u))if(null!=e[u])a(n[u])&&!i.isArrayLike(n[u])?this._animateToShallow(t?t+"."+u:u,e[u],n[u],r,o):(s[u]=n[u],l++);else if(null!=n[u])if(t){var c={};c[t]={},c[t][u]=n[u],this.attr(c)}else this.attr(u,n[u]);return l>0&&this[De](t,!1).when(null==r?500:r,s).delay(o||0),this}},l}),e("echarts/coord/cartesian/axisLabelInterval",[sa,oa,"../axisHelper"],function(t){var e=t(oa),i=t("../axisHelper");return function(t){var n=t.model,r=n[Er](R),a=r.get(re);return t.type!==ji||"auto"!==a?"auto"===a?0:a:i.getAxisLabelInterval(e.map(t.scale[an](),t[Hi],t),n[Xi](),r[Er](Tn)[Sn](),t[Ui]())}}),e("echarts/coord/axisModelCreator",[sa,"./axisDefault",oa,"../model/Component","../util/layout"],function(t){var e=t("./axisDefault"),i=t(oa),n=t("../model/Component"),r=t("../util/layout"),a=["value",ji,"time","log"];
  return function(t,o,s,l){i.each(a,function(n){o[lr]({type:t+"Axis."+n,mergeDefaultAndTheme:function(e,a){var o=this.layoutMode,l=o?r.getLayoutParams(e):{},u=a.getTheme();i.merge(e,u.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/axisModelCommonMixin",[sa,oa,"./axisHelper"],function(t){function e(t){return i[Br](t)&&null!=t.value?t.value:t}var i=t(oa),n=t("./axisHelper");return{getFormattedLabels:function(){return n[Xi](this.axis,this.get("axisLabel.formatter"))},getCategories:function(){return this.get("type")===ji&&i.map(this.get("data"),e)},getMin:function(t){var e=this[fn],n=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(t){var e=this[fn],n=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var t=this[fn];return null!=t.rangeStart||null!=t.rangeEnd?!1:!t.scale},getCoordSysModel:i.noop,setRange:function(t,e){this[fn].rangeStart=t,this[fn].rangeEnd=e},resetRange:function(){this[fn].rangeStart=this[fn].rangeEnd=null}}}),e("echarts/chart/heatmap/HeatmapLayer",[sa,oa],function(t){function e(){var t=o.createCanvas();this[qr]=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}var i=256,o=t(oa);return e[jr]={update:function(t,e,n,r,a,o){var s=this._getBrush(),l=this._getGradient(t,a,"inRange"),u=this._getGradient(t,a,"outOfRange"),c=this.pointSize+this.blurSize,h=this[qr],d=h[Qi]("2d"),f=t[Tr];h.width=e,h[Wr]=n;for(var p=0;f>p;++p){var v=t[p],g=v[0],m=v[1],y=v[2],x=r(y);d.globalAlpha=x,d.drawImage(s,g-c,m-c)}for(var _=d.getImageData(0,0,h.width,h[Wr]),b=_.data,w=0,M=b[Tr],S=this.minOpacity,A=this.maxOpacity,T=A-S;M>w;){var x=b[w+3]/256,C=4*Math.floor(x*(i-1));if(x>0){var P=o(x)?l:u;x>0&&(x=x*T+S),b[w++]=P[C],b[w++]=P[C+1],b[w++]=P[C+2],b[w++]=P[C+3]*x*256}else w+=4}return d.putImageData(_,0,0),h},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=o.createCanvas()),e=this.pointSize+this.blurSize,i=2*e;t.width=i,t[Wr]=i;var s=t[Qi]("2d");return s.clearRect(0,0,i,i),s[n]=i,s[a]=this.blurSize,s[r]="#000",s.beginPath(),s.arc(-e,e,this.pointSize,0,2*Math.PI,!0),s[P](),s.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/View",[sa,$r,Kr,"zrender/mixin/Transformable",oa,K],function(t){function e(){o.call(this)}function i(t){this.name=t,this.zoomLimit,o.call(this),this._roamTransform=new e,this._viewTransform=new e,this._center,this._zoom}function n(t,e,i,n){var r=i[wr],a=r?r[Sr]:null;return a===this?a[t](n):null}var r=t($r),a=t(Kr),o=t("zrender/mixin/Transformable"),s=t(oa),l=t(K),u=r[ee];return s.mixin(e,o),i[jr]={constructor:i,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,i,n){return this._rect=new l(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 l(t,e,i,n)},transformTo:function(t,e,i,n){var r=this[wn](),a=this._viewTransform;a[ie]=r.calculateTransform(new l(t,e,i,n)),a.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this[wn](),e=t.x+t.width/2,i=t.y+t[Wr]/2;return[e,i]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransform},_updateCenterAndZoom:function(){var t=this._viewTransform[b](),e=this._roamTransform,i=this.getDefaultCenter(),n=this.getCenter(),a=this.getZoom();n=r[ee]([],n,t),i=r[ee]([],i,t),e.origin=n,e[gn]=[i[0]-n[0],i[1]-n[1]],e.scale=[a,a],this._updateTransform()},_updateTransform:function(){var t=this._roamTransform,e=this._viewTransform;e[un]=t,t[x](),e[x](),e[ie]&&a.copy(this[ie]||(this[ie]=[]),e[ie]),this[ie]?(this.invTransform=this.invTransform||[],a.invert(this.invTransform,this[ie])):this.invTransform=null,this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this[wn]().clone();return t[ee](this[ie]),t},dataToPoint:function(t){var e=this[ie];return e?u([],t,e):[t[0],t[1]]},pointToData:function(t){var e=this.invTransform;return e?u([],t,e):[t[0],t[1]]},convertToPixel:s.curry(n,Zi),convertFromPixel:s.curry(n,Gi),containPoint:function(t){return this.getViewRectAfterRoam()[ln](t[0],t[1])}},s.mixin(i,o),i}),e("echarts/coord/geo/fix/textCoord",[sa,oa],function(t){var e=t(oa),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[mn];n[0]+=e[0]/10.5,n[1]+=-e[1]/14}})}}),e("echarts/coord/geo/fix/geoCoord",[sa,oa],function(t){var e=t(oa),i={Russia:[100,60],"United States":[-99,38],"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[mn];n[0]=e[0],n[1]=e[1]}})}}),e("echarts/coord/geo/fix/nanhai",[sa,"../Region",oa],function(t){for(var e=t("../Region"),i=t(oa),n=[126,25],r=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],a=0;a<r[Tr];a++)for(var o=0;o<r[a][Tr];o++)r[a][o][0]/=10.5,r[a][o][1]/=-14,r[a][o][0]+=n[0],r[a][o][1]+=n[1];return function(t){"china"===t.map&&t.regions.push(new e("南海诸岛",i.map(r,function(t){return{type:"polygon",exterior:t}}),n))}}),e("echarts/coord/geo/Region",[sa,"zrender/contain/polygon",K,"zrender/core/bbox",$r],function(t){function e(t,e,i){if(this.name=t,this.geometries=e,i)i=[i[0],i[1]];else{var n=this[wn]();i=[n.x+n.width/2,n.y+n[Wr]/2]}this[mn]=i}var i=t("zrender/contain/polygon"),n=t(K),r=t("zrender/core/bbox"),a=t($r);return e[jr]={constructor:e,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number[T],i=[e,e],o=[-e,-e],s=[],l=[],u=this.geometries,c=0;c<u[Tr];c++)if("polygon"===u[c].type){var h=u[c].exterior;r.fromPoints(h,s,l),a.min(i,i,s),a.max(o,o,l)}return 0===c&&(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[wn](),n=this.geometries;if(!e[ln](t[0],t[1]))return!1;t:for(var r=0,a=n[Tr];a>r;r++)if("polygon"===n[r].type){var o=n[r].exterior,s=n[r].interiors;if(i[ln](o,t[0],t[1])){for(var l=0;l<(s?s[Tr]:0);l++)if(i[ln](s[l]))continue t;return!0}}return!1},transformTo:function(t,e,i,r){var o=this[wn](),s=o.width/o[Wr];i?r||(r=i/s):i=s*r;for(var l=new n(t,e,i,r),u=o.calculateTransform(l),c=this.geometries,h=0;h<c[Tr];h++)if("polygon"===c[h].type){for(var d=c[h].exterior,f=c[h].interiors,p=0;p<d[Tr];p++)a[ee](d[p],d[p],u);for(var v=0;v<(f?f[Tr]:0);v++)for(var p=0;p<f[v][Tr];p++)a[ee](f[v][p],f[v][p],u)}o=this._rect,o.copy(l),this[mn]=[o.x+o.width/2,o.y+o[Wr]/2]}},e}),e("zrender/animation/Animator",[sa,"./Clip","../tool/color",o],function(t){function e(t,e){return t[e]}function i(t,e,i){t[e]=i}function n(t,e,i){return(e-t)*i+t}function r(t,e,i){return i>.5?e:t}function a(t,e,i,r,a){var o=t[Tr];if(1==a)for(var s=0;o>s;s++)r[s]=n(t[s],e[s],i);else for(var l=t[0][Tr],s=0;o>s;s++)for(var u=0;l>u;u++)r[s][u]=n(t[s][u],e[s][u],i)}function s(t,e,i){var n=t[Tr],r=e[Tr];if(n!==r){var a=n>r;if(a)t[Tr]=r;else for(var o=n;r>o;o++)t.push(1===i?e[o]:y.call(e[o]))}for(var s=t[0]&&t[0][Tr],o=0;o<t[Tr];o++)if(1===i)isNaN(t[o])&&(t[o]=e[o]);else for(var l=0;s>l;l++)isNaN(t[o][l])&&(t[o][l]=e[o][l])}function l(t,e,i){if(t===e)return!0;var n=t[Tr];if(n!==e[Tr])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][Tr],r=0;n>r;r++)for(var o=0;a>o;o++)if(t[r][o]!==e[r][o])return!1;return!0}function u(t,e,i,n,r,a,o,s,l){var u=t[Tr];if(1==l)for(var h=0;u>h;h++)s[h]=c(t[h],e[h],i[h],n[h],r,a,o);else for(var d=t[0][Tr],h=0;u>h;h++)for(var f=0;d>f;f++)s[h][f]=c(t[h][f],e[h][f],i[h][f],n[h][f],r,a,o)}function c(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(m(t)){var e=t[Tr];if(m(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,o,h){var f=t._getter,g=t._setter,y="spline"===e,x=o[Tr];if(x){var _,b=o[0].value,w=m(b),M=!1,S=!1,A=w&&m(b[0])?2:1;o.sort(function(t,e){return t.time-e.time}),_=o[x-1].time;for(var T=[],C=[],P=o[0].value,L=!0,D=0;x>D;D++){T.push(o[D].time/_);var I=o[D].value;if(w&&l(I,P,A)||!w&&I===P||(L=!1),P=I,typeof I==Ur){var k=v.parse(I);k?(I=k,M=!0):S=!0}C.push(I)}if(!L){for(var z=C[x-1],D=0;x-1>D;D++)w?s(C[D],z,A):!isNaN(C[D])||isNaN(z)||S||M||(C[D]=z);w&&s(f(t._target,h),z,A);var R,V,O,E,N,B,G=0,H=0;if(M)var F=[0,0,0,0];var Z=function(t,e){var i;if(0>e)i=0;else if(H>e){for(R=Math.min(G+1,x-1),i=R;i>=0&&!(T[i]<=e);i--);i=Math.min(i,x-2)}else{for(i=G;x>i&&!(T[i]>e);i++);i=Math.min(i-1,x-2)}G=i,H=e;var o=T[i+1]-T[i];if(0!==o)if(V=(e-T[i])/o,y)if(E=C[i],O=C[0===i?i:i-1],N=C[i>x-2?x-1:i+1],B=C[i>x-3?x-1:i+2],w)u(O,E,N,B,V,V*V,V*V*V,f(t,h),A);else{var s;if(M)s=u(O,E,N,B,V,V*V,V*V*V,F,1),s=d(F);else{if(S)return r(E,N,V);s=c(O,E,N,B,V,V*V,V*V*V)}g(t,h,s)}else if(w)a(C[i],C[i+1],V,f(t,h),A);else{var s;if(M)a(C[i],C[i+1],V,F,1),s=d(F);else{if(S)return r(C[i],C[i+1],V);s=n(C[i],C[i+1],V)}g(t,h,s)}},W=new p({target:t._target,life:_,loop:t._loop,delay:t._delay,onframe:Z,ondestroy:i});return e&&"spline"!==e&&(W.easing=e),W}}}var p=t("./Clip"),v=t("../tool/color"),g=t(o),m=g.isArrayLike,y=Array[jr].slice,x=function(t,n,r,a){this._tracks={},this._target=t,this._loop=n||!1,this._getter=r||e,this._setter=a||i,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};return x[jr]={when:function(t,e){var i=this._tracks;for(var n in e)if(e.hasOwnProperty(n)){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},pause:function(){for(var t=0;t<this._clipList[Tr];t++)this._clipList[t].pause();this._paused=!0},resume:function(){for(var t=0;t<this._clipList[Tr];t++)this._clipList[t].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList[Tr]=0;for(var t=this._doneList,e=t[Tr],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)if(this._tracks.hasOwnProperty(a)){var o=f(this,t,r,this._tracks[a],a);o&&(this._clipList.push(o),n++,this[Fr]&&this[Fr].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[Tr];n++)i._onframeList[n](t,e)}}return n||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,i=this[Fr],n=0;n<e[Tr];n++){var r=e[n];t&&r.onframe(this._target,1),i&&i.removeClip(r)}e[Tr]=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("zrender/core/log",[sa,"../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("echarts/coord/cartesian/AxisModel",[sa,d,oa,"../axisModelCreator","../axisModelCommonMixin"],function(t){function e(t,e){return e.type||(e.data?ji:"value")}var i=t(d),n=t(oa),r=t("../axisModelCreator"),a=i[lr]({type:"cartesian2dAxis",axis:null,init:function(){a[dn](this,"init",arguments),this.resetRange()},mergeOption:function(){a[dn](this,hn,arguments),this.resetRange()},restoreData:function(){a[dn](this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this[M][C]({mainType:"grid",index:this[fn].gridIndex,id:this[fn].gridId})[0]}});n.merge(a[jr],t("../axisModelCommonMixin"));var o={offset:0};return r("x",a,e,o),r("y",a,e,o),a}),e("echarts/coord/axisDefault",[sa,oa],function(t){var e=t(oa),i={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,lineStyle:{color:"#333",width:1,type:"solid"}},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,margin:8,textStyle:{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,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},i),r=e.merge({boundaryGap:[0,0],splitNumber:5},i),a=e[or]({scale:!0,min:"dataMin",max:"dataMax"},r),o=e[or]({logBase:10},r);return o.scale=!0,{categoryAxis:n,valueAxis:r,timeAxis:a,logAxis:o}}),e("zrender/contain/polygon",[sa,"./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[Tr];s++){var l=t[s];a+=n(o[0],o[1],l[0],l[1],i,r),o=l}var u=t[0];return e(o[0],u[0])&&e(o[1],u[1])||(a+=n(o[0],o[1],u[0],u[1],i,r)),0!==a}var n=t("./windingLine"),r=1e-8;return{contain:i}}),e("zrender/animation/Clip",[sa,"./easing"],function(t){function e(t){this._target=t[Yn],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,this._pausedTime=0,this._paused=!1}var i=t("./easing");return e[jr]={constructor:e,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)return void(this._pausedTime+=e);var n=(t-this._startTime-this._pausedTime)/this._life;if(!(0>n)){n=Math.min(n,1);var r=this.easing,a=typeof r==Ur?i[r]:r,o=typeof a===Bn?a(n):n;return this.fire("frame",o),1==n?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){t="on"+t,this[t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}},e}),e("echarts/chart/bar/BaseBarSeries",[sa,ni,"../helper/createListFromArray"],function(t){var e=t(ni),i=t("../helper/createListFromArray");return e[lr]({type:"series.__base_bar__",getInitialData:function(t,e){return i(t.data,this,e)},getMarkerPosition:function(t){var e=this[Sr];if(e){var i=e[Zi](t,!0),n=this[na](),r=n[te](oi),a=n[te]("size"),o=e[ki]()[Ui]()?0:1;return i[o]+=r+a/2,i}return[0/0,0/0]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,itemStyle:{normal:{},emphasis:{}}}})}),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);(1===s||0===s)&&(o=e>n?.5:-.5);var 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/helper",[sa,oa,Ci],function(t){function e(t,e,i,r,a){n[ae](t,e,i),t.text=r,"outside"===t[F]&&(t[F]=a)}var i=t(oa),n=t(Ci),r={};return r.setLabel=function(t,n,r,a,o,s,l){var u=r[Er](we),c=r[Er](be);u.get("show")?e(t,u,a,i[Di](o[Pe](s,Mi),o[Fe](s)),l):t.text="",c.get("show")?e(n,c,a,i[Di](o[Pe](s,ke),o[Fe](s)),l):n.text=""},r}),e("echarts/chart/bar/barItemStyle",[sa,"../../model/mixin/makeStyleMapper"],function(t){var e=t("../../model/mixin/makeStyleMapper")([["fill","color"],[ce,he],[w,$],[ce,"barBorderColor"],[w,"barBorderWidth"],[pn],[a],[n],[i],[r]]);return{getBarItemStyle:function(t){var i=e.call(this,t);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(i.lineDash=n)}return i}}}),e("echarts/util/symbol",[sa,"./graphic",K],function(t){var e=t("./graphic"),i=t(K),n=e[I]({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[Wr]/2;t[D](i,n-a),t[L](i+r,n+a),t[L](i-r,n+a),t[P]()}}),r=e[I]({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[Wr]/2;t[D](i,n-a),t[L](i+r,n),t[L](i,n+a),t[L](i-r,n),t[P]()}}),a=e[I]({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[Wr]),o=r/2,s=o*o/(a-o),l=n-a+o+s,u=Math.asin(s/o),c=Math.cos(u)*o,h=Math.sin(u),d=Math.cos(u);t.arc(i,l,o,Math.PI-u,2*Math.PI+u);var f=.6*o,p=.7*o;t.bezierCurveTo(i+c-h*f,l+s+d*f,i,n-p,i,n),t.bezierCurveTo(i,n-p,i-c+h*f,l+s+d*f,i-c,l+s),t[P]()}}),o=e[I]({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e[Wr],n=e.width,r=e.x,a=e.y,o=n/3*2;t[D](r,a),t[L](r+o,a+i),t[L](r,a+i/4*3),t[L](r-o,a+i),t[L](r,a),t[P]()}}),l={line:e.Line,rect:e.Rect,roundRect:e.Rect,square:e.Rect,circle:e[j],diamond:r,pin:a,arrow:o,triangle:n},u={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[Wr]=n},roundRect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r[Wr]=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[Wr]=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[Wr]=n},pin:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r[Wr]=n},arrow:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r[Wr]=n},triangle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r[Wr]=n}},c={};for(var h in l)l.hasOwnProperty(h)&&(c[h]=new l[h]);var d=e[I]({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[F]===Le&&(t[F]=["50%","40%"],t[An]=mn,t[cn]=yn)},buildPath:function(t,e,i){var n=e.symbolType,r=c[n];"none"!==e.symbolType&&(r||(n="rect",r=c[n]),u[n](e.x,e.y,e.width,e[Wr],r.shape),r[s](t,r.shape,i))}}),f=function(t){if("image"!==this.type){var e=this.style,i=this.shape;i&&"line"===i.symbolType?e[ce]=t:this.__isEmptyBrush?(e[ce]=t,e.fill="#fff"):(e.fill&&(e.fill=t),e[ce]&&(e[ce]=t)),this.dirty(!1)}},p={createSymbol:function(t,n,r,a,o,s){var l=0===t[Ar]("empty");l&&(t=t.substr(5,1)[Xr]()+t.substr(6));var u;return u=0===t[Ar]("image://")?new e.Image({style:{image:t.slice(8),x:n,y:r,width:a,height:o}}):0===t[Ar]("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}}),u.__isEmptyBrush=l,u.setColor=f,u.setColor(s),u}};return p}),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,u=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),u=(t*n-i*e)/(t-i);var c=l*a-o+u,h=c*c/(l*l+1);return s/2*s/2>=h}}}),e("zrender/contain/util",[sa],function(){var t=2*Math.PI;return{normalizeRadian:function(e){return e%=t,0>e&&(e+=t),e}}}),e("zrender/contain/cubic",[sa,"../core/curve"],function(t){var e=t("../core/curve");return{containStroke:function(t,i,n,r,a,o,s,l,u,c,h){if(0===u)return!1;var d=u;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||c>t+d&&c>n+d&&c>a+d&&c>s+d||t-d>c&&n-d>c&&a-d>c&&s-d>c)return!1;var f=e.cubicProjectPoint(t,i,n,r,a,o,s,l,c,h,null);return d/2>=f}}}),e("zrender/contain/quadratic",[sa,"../core/curve"],function(t){var e=t("../core/curve");return{containStroke:function(t,i,n,r,a,o,s,l,u){if(0===s)return!1;var c=s;if(u>i+c&&u>r+c&&u>o+c||i-c>u&&r-c>u&&o-c>u||l>t+c&&l>n+c&&l>a+c||t-c>l&&n-c>l&&a-c>l)return!1;var h=e.quadraticProjectPoint(t,i,n,r,a,o,l,u,null);return c/2>=h}}}),e("zrender/contain/arc",[sa,"./util"],function(t){var e=t("./util").normalizeRadian,i=2*Math.PI;return{containStroke:function(t,n,r,a,o,s,l,u,c){if(0===l)return!1;var h=l;u-=t,c-=n;var d=Math.sqrt(u*u+c*c);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(c,u);return 0>p&&(p+=i),p>=a&&o>=p||p+i>=a&&o>=p+i}}}),e("zrender/graphic/helper/poly",[sa,"./smoothSpline","./smoothBezier"],function(t){var e=t("./smoothSpline"),i=t("./smoothBezier");return{buildPath:function(t,n,r){var a=n[qe],o=n.smooth;if(a&&a[Tr]>=2){if(o&&"spline"!==o){var s=i(a,o,r,n.smoothConstraint);t[D](a[0][0],a[0][1]);for(var l=a[Tr],u=0;(r?l:l-1)>u;u++){var c=s[2*u],h=s[2*u+1],d=a[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}}else{"spline"===o&&(a=e(a,r)),t[D](a[0][0],a[0][1]);for(var u=1,f=a[Tr];f>u;u++)t[L](a[u][0],a[u][1])}r&&t[P]()}}}}),e("zrender/Handler",[sa,"./core/util","./mixin/Draggable","./mixin/Eventful"],function(t){function e(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,zrByTouch:i.zrByTouch}}function i(){}function n(t,e,i){if(t[t.rectHover?"rectContain":ln](e,i)){for(var n=t;n;){if(n[Hr]||n.clipPath&&!n.clipPath[ln](e,i))return!1;n=n[un]}return!0}return!1}var r=t("./core/util"),a=t("./mixin/Draggable"),o=t("./mixin/Eventful");i[jr][ir]=function(){};var s=["click","dblclick","mousewheel",Qn,$n,Kn,Jn,"contextmenu"],l=function(t,e,n,l){o.call(this),this[Ir]=t,this[Rr]=e,this.painterRoot=l,n=n||new i,this.proxy=n,n.handler=this,this._hovered,this._lastTouchMoment,this._lastX,this._lastY,a.call(this),r.each(s,function(t){n.on&&n.on(t,this[t],this)},this)};return l[jr]={constructor:l,mousemove:function(t){var e=t.zrX,i=t.zrY,n=this.findHover(e,i,null),r=this._hovered,a=this.proxy;this._hovered=n,a.setCursor&&a.setCursor(n?n.cursor:"default"),r&&n!==r&&r.__zr&&this.dispatchToElement(r,Qn,t),this.dispatchToElement(n,Jn,t),n&&n!==r&&this.dispatchToElement(n,tr,t)},mouseout:function(t){this.dispatchToElement(this._hovered,Qn,t);var e,i=t.toElement||t.relatedTarget;do i=i&&i[Y];while(i&&9!=i.nodeType&&!(e=i===this.painterRoot));!e&&this[nr]("globalout",{event:t})},resize:function(){this._hovered=null},dispatch:function(t,e){var i=this[t];i&&i.call(this,e)},dispose:function(){this.proxy[ir](),this[Ir]=this.proxy=this[Rr]=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,i,n){for(var r="on"+i,a=e(i,t,n),o=t;o&&(o[r]&&(a.cancelBubble=o[r].call(o,a)),o[nr](i,a),o=o[un],!a.cancelBubble););a.cancelBubble||(this[nr](i,a),this[Rr]&&this[Rr].eachOtherLayer(function(t){typeof t[r]==Bn&&t[r].call(t,a),t[nr]&&t[nr](i,a)}))},findHover:function(t,e,i){for(var r=this[Ir].getDisplayList(),a=r[Tr]-1;a>=0;a--)if(!r[a][Hr]&&r[a]!==i&&!r[a][Pr]&&n(r[a],t,e))return r[a]}},r.each(["click",Kn,$n,"mousewheel","dblclick","contextmenu"],function(t){l[jr][t]=function(e){var i=this.findHover(e.zrX,e.zrY,null);if(t===Kn)this._downel=i,this._upel=i;else if("mosueup"===t)this._upel=i;else if("click"===t&&this._downel!==this._upel)return;this.dispatchToElement(i,t,e)}}),r.mixin(l,o),r.mixin(l,a),l}),e("zrender/Storage",[sa,"./core/util","./core/env","./container/Group","./core/timsort"],function(t){function e(t,e){return t[Fn]===e[Fn]?t.z===e.z?t.z2-e.z2:t.z-e.z:t[Fn]-e[Fn]}var i=t("./core/util"),n=t("./core/env"),r=t("./container/Group"),a=t("./core/timsort"),o=function(){this._elements={},this._roots=[],this._displayList=[],this._displayListLen=0};return o[jr]={constructor:o,traverse:function(t,e){for(var i=0;i<this._roots[Tr];i++)this._roots[i][Wn](t,e)},getDisplayList:function(t,e){return e=e||!1,t&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var i=this._roots,r=this._displayList,o=0,s=i[Tr];s>o;o++)this._updateAndAddDisplayable(i[o],null,t);r[Tr]=this._displayListLen,n[zr]&&a(r,e)},_updateAndAddDisplayable:function(t,e,i){if(!t[Pr]||i){t.beforeUpdate(),t[l]&&t[yr](),t.afterUpdate();var n=t.clipPath;if(n){e=e?e.slice():[];for(var r=n,a=t;r;)r[un]=a,r[x](),e.push(r),a=r,r=r.clipPath}if(t.isGroup){for(var o=t._children,s=0;s<o[Tr];s++){var u=o[s];t[l]&&(u[l]=!0),this._updateAndAddDisplayable(u,e,i)}t[l]=!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[Tr];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[Tr];a>e;e++)this.delRoot(t[e]);else{var o;o=typeof t==Ur?this._elements[t]:t;var s=i[Ar](this._roots,o);s>=0&&(this.delFromMap(o.id),this._roots[er](s,1),o instanceof r&&o.delChildrenFromStorage(this))}},addToMap:function(t){return t instanceof r&&(t.__storage=this),t.dirty(!1),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},displayableSortFunc:e},o}),e("zrender/animation/Animation",[sa,o,"../core/event","./requestAnimationFrame","./Animator"],function(t){var e=t(o),i=t("../core/event").Dispatcher,n=t("./requestAnimationFrame"),r=t("./Animator"),a=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,i.call(this)};return a[jr]={constructor:a,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t[Fr]=this;for(var e=t.getClips(),i=0;i<e[Tr];i++)this.addClip(e[i])},removeClip:function(t){var i=e[Ar](this._clips,t);i>=0&&this._clips[er](i,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i<e[Tr];i++)this.removeClip(e[i]);t[Fr]=null},_update:function(){for(var t=(new Date).getTime()-this._pausedTime,e=t-this._time,i=this._clips,n=i[Tr],r=[],a=[],o=0;n>o;o++){var s=i[o],l=s.step(t,e);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[Tr];for(var o=0;n>o;o++)a[o].fire(r[o]);this._time=t,this.onframe(e),this[nr]("frame",e),this.stage[yr]&&this.stage[yr]()},_startLoop:function(){function t(){e._running&&(n(t),!e._paused&&e._update())}var e=this;this._running=!0,n(t)},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},animate:function(t,e){e=e||{};var i=new r(t,e.loop,e.getter,e.setter);return this.addAnimator(i),i}},e.mixin(a,i),a}),e("zrender/dom/HandlerProxy",[sa,"../core/event",o,"../mixin/Eventful","../core/env","../core/GestureMgr"],function(t){function e(t){return"mousewheel"===t&&h.browser.firefox?"DOMMouseScroll":t}function i(t,e,i){var n=t._gestureMgr;"start"===i&&n.clear();var r=n.recognize(e,t.handler.findHover(e.zrX,e.zrY,null),t.dom);if("end"===i&&n.clear(),r){var a=r.type;e.gestureEvent=a,t.handler.dispatchToElement(r[Yn],a,r.event)}}function n(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=setTimeout(function(){t._touching=!1},700)}function r(t){var e=t.pointerType;return"pen"===e||"touch"===e}function a(t){function e(t,e){return function(){return e._touching?void 0:t.apply(e,arguments)}}u.each(y,function(e){t._handlers[e]=u.bind(b[e],t)}),u.each(_,function(e){t._handlers[e]=u.bind(b[e],t)}),u.each(m,function(i){t._handlers[i]=e(b[i],t)})}function s(t){function i(i,n){u.each(i,function(i){f(t,e(i),n._handlers[i])},n)}c.call(this),this.dom=t,this._touching=!1,this._touchTimer,this._gestureMgr=new d,this._handlers={},a(this),h.pointerEventsSupported?i(_,this):(h.touchEventsSupported&&i(y,this),i(m,this))}var l=t("../core/event"),u=t(o),c=t("../mixin/Eventful"),h=t("../core/env"),d=t("../core/GestureMgr"),f=l.addEventListener,p=l.removeEventListener,v=l.normalizeEvent,g=300,m=["click","dblclick","mousewheel",Qn,$n,Kn,Jn,"contextmenu"],y=["touchstart","touchend","touchmove"],x={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},_=u.map(m,function(t){var e=t[Hn]("mouse",k);return x[e]?e:t}),b={mousemove:function(t){t=v(this.dom,t),this[nr](Jn,t)},mouseout:function(t){t=v(this.dom,t);var e=t.toElement||t.relatedTarget;if(e!=this.dom)for(;e&&9!=e.nodeType;){if(e===this.dom)return;e=e[Y]}this[nr](Qn,t)},touchstart:function(t){t=v(this.dom,t),t.zrByTouch=!0,this._lastTouchMoment=new Date,i(this,t,"start"),b[Jn].call(this,t),b[Kn].call(this,t),n(this)
  },touchmove:function(t){t=v(this.dom,t),t.zrByTouch=!0,i(this,t,"change"),b[Jn].call(this,t),n(this)},touchend:function(t){t=v(this.dom,t),t.zrByTouch=!0,i(this,t,"end"),b[$n].call(this,t),+new Date-this._lastTouchMoment<g&&b.click.call(this,t),n(this)},pointerdown:function(t){b[Kn].call(this,t)},pointermove:function(t){r(t)||b[Jn].call(this,t)},pointerup:function(t){b[$n].call(this,t)},pointerout:function(t){r(t)||b[Qn].call(this,t)}};u.each(["click",Kn,$n,"mousewheel","dblclick","contextmenu"],function(t){b[t]=function(e){e=v(this.dom,e),this[nr](t,e)}});var w=s[jr];return w[ir]=function(){for(var t=m[hr](y),i=0;i<t[Tr];i++){var n=t[i];p(this.dom,e(n),this._handlers[n])}},w.setCursor=function(t){this.dom.style.cursor=t||"default"},u.mixin(s,c),s}),e("zrender/Painter",[sa,"./config","./core/util","./core/log","./core/BoundingRect","./core/timsort","./Layer","./animation/requestAnimationFrame","./graphic/Image"],function(t){function e(t){return parseInt(t,10)}function r(t){return t?t.__builtin__?!0:typeof t[Zr]!==Bn||typeof t.refresh!==Bn?!1:!0:!1}function o(t){t.__unusedCount++}function u(t){1==t.__unusedCount&&t.clear()}function c(t,e,i){return S.copy(t[wn]()),t[ie]&&S[ee](t[ie]),A.width=e,A[Wr]=i,!S.intersect(A)}function h(t,e){if(t==e)return!1;if(!t||!e||t[Tr]!==e[Tr])return!0;for(var i=0;i<t[Tr];i++)if(t[i]!==e[i])return!0}function d(t,e){for(var i=0;i<t[Tr];i++){var n=t[i],r=n.path;n.setTransform(e),r.beginPath(e),n[s](r,n.shape),e.clip(),n.restoreTransform(e)}}function f(t,e){var i=document[tn]("div");return i.style.cssText=["position:relative","overflow:hidden","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",i}var p=t("./config"),v=t("./core/util"),g=t("./core/log"),m=t("./core/BoundingRect"),y=t("./core/timsort"),_=t("./Layer"),b=t("./animation/requestAnimationFrame"),M=5,S=new m(0,0,0,0),A=new m(0,0,0,0),T=function(t,e,i){var n=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=i=v[lr]({},i||{}),this.dpr=i.devicePixelRatio||p.devicePixelRatio,this._singleCanvas=n,this.root=t;var r=t.style;r&&(r["-webkit-tap-highlight-color"]=mr,r["-webkit-user-select"]=r["user-select"]=r["-webkit-touch-callout"]="none",t.innerHTML=""),this[Ir]=e;var a=this._zlevelList=[],o=this._layers={};if(this._layerConfig={},n){null!=i.width&&(t.width=i.width),null!=i[Wr]&&(t[Wr]=i[Wr]);var s=t.width,l=t[Wr];this._width=s,this._height=l;var u=new _(t,this,1);u.initContext(),o[0]=u,a.push(0),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var c=this._domRoot=f(this._width,this._height);t.appendChild(c)}this._progressiveLayers=[],this._hoverlayer,this._hoverElements=[]};return T[jr]={constructor:T,isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},refresh:function(t){var e=this[Ir].getDisplayList(!0),i=this._zlevelList;this._paintList(e,t);for(var n=0;n<i[Tr];n++){var r=i[n],a=this._layers[r];!a.__builtin__&&a.refresh&&a.refresh()}return this.refreshHover(),this._progressiveLayers[Tr]&&this._startProgessive(),this},addHover:function(t,e){if(!t.__hoverMir){var i=new t.constructor({style:t.style,shape:t.shape});i.__from=t,t.__hoverMir=i,i[Zn](e),this._hoverElements.push(i)}},removeHover:function(t){var e=t.__hoverMir,i=this._hoverElements,n=v[Ar](i,e);n>=0&&i[er](n,1),t.__hoverMir=null},clearHover:function(){for(var t=this._hoverElements,e=0;e<t[Tr];e++){var i=t[e].__from;i&&(i.__hoverMir=null)}t[Tr]=0},refreshHover:function(){var t=this._hoverElements,e=t[Tr],i=this._hoverlayer;if(i&&i.clear(),e){y(t,this[Ir].displayableSortFunc),i||(i=this._hoverlayer=this.getLayer(1e5));var n={};i.ctx.save();for(var r=0;e>r;){var a=t[r],o=a.__from;o&&o.__zr?(r++,o[Q]||(a[ie]=o[ie],a.invTransform=o.invTransform,a.__clipPaths=o.__clipPaths,this._doPaintEl(a,i,!0,n))):(t[er](r,1),o.__hoverMir=null,e--)}i.ctx.restore()}},_startProgessive:function(){function t(){i===e._progressiveToken&&e[Ir]&&(e._doPaintList(e[Ir].getDisplayList()),e._furtherProgressive?(e._progress++,b(t)):e._progressiveToken=-1)}var e=this;if(e._furtherProgressive){var i=e._progressiveToken=+new Date;e._progress++,b(t)}},_clearProgressive:function(){this._progressiveToken=-1,this._progress=0,v.each(this._progressiveLayers,function(t){t[l]&&t.clear()})},_paintList:function(t,e){null==e&&(e=!1),this._updateLayerStatus(t),this._clearProgressive(),this.eachBuiltinLayer(o),this._doPaintList(t,e),this.eachBuiltinLayer(u)},_doPaintList:function(t,e){function i(t){var e=o.dpr||1;o.save(),o.globalAlpha=1,o[a]=0,n[l]=!0,o.setTransform(1,0,0,1,0,0),o.drawImage(t.dom,0,0,d*e,f*e),o.restore()}for(var n,r,o,s,u,c,h=0,d=this._width,f=this._height,p=this._progress,m=0,y=t[Tr];y>m;m++){var x=t[m],_=this._singleCanvas?0:x[Fn],b=x.__frame;if(0>b&&u&&(i(u),u=null),r!==_&&(o&&o.restore(),s={},r=_,n=this.getLayer(r),n.__builtin__||g("ZLevel "+r+" has been used by unkown layer "+n.id),o=n.ctx,o.save(),n.__unusedCount=0,(n[l]||e)&&n.clear()),n[l]||e){if(b>=0){if(!u){if(u=this._progressiveLayers[Math.min(h++,M-1)],u.ctx.save(),u.renderScope={},u&&u.__progress>u.__maxProgress){m=u.__nextIdxNotProg-1;continue}c=u.__progress,u[l]||(p=c),u.__progress=p+1}b===p&&this._doPaintEl(x,u,!0,u.renderScope)}else this._doPaintEl(x,n,e,s);x[l]=!1}}u&&i(u),o&&o.restore(),this._furtherProgressive=!1,v.each(this._progressiveLayers,function(t){t.__maxProgress>=t.__progress&&(this._furtherProgressive=!0)},this)},_doPaintEl:function(t,e,i,n){var r=e.ctx,a=t[ie];if(!(!e[l]&&!i||t[Q]||0===t.style[pn]||a&&!a[0]&&!a[3]||t.culling&&c(t,this._width,this._height))){var o=t.__clipPaths;(n.prevClipLayer!==e||h(o,n.prevElClipPaths))&&(n.prevElClipPaths&&(n.prevClipLayer.ctx.restore(),n.prevClipLayer=n.prevElClipPaths=null,n.prevEl=null),o&&(r.save(),d(o,r),n.prevClipLayer=e,n.prevElClipPaths=o)),t.beforeBrush&&t.beforeBrush(r),t.brush(r,n.prevEl||null),n.prevEl=t,t.afterBrush&&t.afterBrush(r)}},getLayer:function(t){if(this._singleCanvas)return this._layers[0];var e=this._layers[t];return e||(e=new _("zr_"+t,this,this.dpr),e.__builtin__=!0,this._layerConfig[t]&&v.merge(e,this._layerConfig[t],!0),this.insertLayer(t,e),e.initContext()),e},insertLayer:function(t,e){var i=this._layers,n=this._zlevelList,a=n[Tr],o=null,s=-1,l=this._domRoot;if(i[t])return void g("ZLevel "+t+" has been used already");if(!r(e))return void g("Layer of zlevel "+t+" is not valid");if(a>0&&t>n[0]){for(s=0;a-1>s&&!(n[s]<t&&n[s+1]>t);s++);o=i[n[s]]}if(n[er](s+1,0,t),i[t]=e,!e.virtual)if(o){var u=o.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)},eachLayer:function(t,e){var i,n,r=this._zlevelList;for(n=0;n<r[Tr];n++)i=r[n],t.call(e,this._layers[i],i)},eachBuiltinLayer:function(t,e){var i,n,r,a=this._zlevelList;for(r=0;r<a[Tr];r++)n=a[r],i=this._layers[n],i.__builtin__&&t.call(e,i,n)},eachOtherLayer:function(t,e){var i,n,r,a=this._zlevelList;for(r=0;r<a[Tr];r++)n=a[r],i=this._layers[n],i.__builtin__||t.call(e,i,n)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){var e=this._layers,i=this._progressiveLayers,n={},r={};this.eachBuiltinLayer(function(t,e){n[e]=t.elCount,t.elCount=0,t[l]=!1}),v.each(i,function(t,e){r[e]=t.elCount,t.elCount=0,t[l]=!1});for(var a,o,s=0,u=0,c=0,h=t[Tr];h>c;c++){var d=t[c],f=this._singleCanvas?0:d[Fn],p=e[f],g=d.progressive;if(p&&(p.elCount++,p[l]=p[l]||d[l]),g>=0){o!==g&&(o=g,u++);var m=d.__frame=u-1;if(!a){var y=Math.min(s,M-1);a=i[y],a||(a=i[y]=new _("progressive",this,this.dpr),a.initContext()),a.__maxProgress=0}a[l]=a[l]||d[l],a.elCount++,a.__maxProgress=Math.max(a.__maxProgress,m),a.__maxProgress>=a.__progress&&(p[l]=!0)}else d.__frame=-1,a&&(a.__nextIdxNotProg=c,s++,a=null)}a&&(s++,a.__nextIdxNotProg=c),this.eachBuiltinLayer(function(t,e){n[e]!==t.elCount&&(t[l]=!0)}),i[Tr]=Math.min(s,M),v.each(i,function(t,e){r[e]!==t.elCount&&(d[l]=!0),t[l]&&(t.__progress=0)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?v.merge(i[t],e,!0):i[t]=e;var n=this._layers[t];n&&v.merge(n,i[t],!0)}},delLayer:function(t){var e=this._layers,i=this._zlevelList,n=e[t];n&&(n.dom[Y].removeChild(n.dom),delete e[t],i[er](v[Ar](i,t),1))},resize:function(t,e){var i=this._domRoot;i.style.display="none";var n=this._opts;if(null!=t&&(n.width=t),null!=e&&(n[Wr]=e),t=this._getSize(0),e=this._getSize(1),i.style.display="",this._width!=t||e!=this._height){i.style.width=t+"px",i.style[Wr]=e+"px";for(var r in this._layers)this._layers.hasOwnProperty(r)&&this._layers[r][Zr](t,e);v.each(this._progressiveLayers,function(i){i[Zr](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[Ir]=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(t=t||{},this._singleCanvas)return this._layers[0].dom;var e=new _("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clearColor=t[kr],e.clear();for(var i=this[Ir].getDisplayList(!0),n={},r=0;r<i[Tr];r++){var a=i[r];this._doPaintEl(a,e,!0,n)}return e.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var i=this._opts,n=["width",Wr][t],r=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=i[n]&&"auto"!==i[n])return parseFloat(i[n]);var s=this.root,l=document.defaultView.getComputedStyle(s);return(s[r]||e(l[n])||e(s.style[n]))-(e(l[a])||0)-(e(l[o])||0)|0},pathToImage:function(e,r){r=r||this.dpr;var o=document[tn](qr),s=o[Qi]("2d"),l=e[wn](),u=e.style,c=u[a],h=u[n],d=u[i],f=u.hasStroke()?u[w]:0,p=Math.max(f/2,-h+c),v=Math.max(f/2,h+c),g=Math.max(f/2,-d+c),m=Math.max(f/2,d+c),y=l.width+p+v,_=l[Wr]+g+m;o.width=y*r,o[Wr]=_*r,s.scale(r,r),s.clearRect(0,0,y,_),s.dpr=r;var b={position:e[gn],rotation:e[Me],scale:e.scale};e[gn]=[p-l.x,g-l.y],e[Me]=0,e.scale=[1,1],e[x](),e&&e.brush(s);var M=t("./graphic/Image"),S=new M({style:{x:0,y:0,image:o}});return null!=b[gn]&&(S[gn]=e[gn]=b[gn]),null!=b[Me]&&(S[Me]=e[Me]=b[Me]),null!=b.scale&&(S.scale=e.scale=b.scale),S}},T}),e("zrender/graphic/helper/smoothSpline",[sa,"../../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[Tr],a=[],o=0,s=1;r>s;s++)o+=i.distance(t[s-1],t[s]);var l=o/2;l=r>l?r:l;for(var s=0;l>s;s++){var u,c,h,d=s/(l-1)*(n?r:r-1),f=Math.floor(d),p=d-f,v=t[f%r];n?(u=t[(f-1+r)%r],c=t[(f+1)%r],h=t[(f+2)%r]):(u=t[0===f?f:f-1],c=t[f>r-2?r-1:f+1],h=t[f>r-3?r-1:f+2]);var g=p*p,m=p*g;a.push([e(u[0],v[0],c[0],h[0],p,g,m),e(u[1],v[1],c[1],h[1],p,g,m)])}return a}}),e("zrender/graphic/helper/smoothBezier",[sa,"../../core/vector"],function(t){var e=t("../../core/vector"),i=e.min,n=e.max,r=e.scale,a=e.distance,o=e.add;return function(t,s,l,u){var c,h,d,f,p=[],v=[],g=[],m=[];if(u){d=[1/0,1/0],f=[-1/0,-1/0];for(var y=0,x=t[Tr];x>y;y++)i(d,d,t[y]),n(f,f,t[y]);i(d,d,u[0]),n(f,f,u[1])}for(var y=0,x=t[Tr];x>y;y++){var _=t[y];if(l)c=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}c=t[y-1],h=t[y+1]}e.sub(v,h,c),r(v,v,s);var b=a(_,c),w=a(_,h),M=b+w;0!==M&&(b/=M,w/=M),r(g,v,-b),r(m,v,w);var S=o([],_,g),A=o([],_,m);u&&(n(S,S,d),i(S,S,f),n(A,A,d),i(A,A,f)),p.push(S),p.push(A)}return l&&p.push(p.shift()),p}}),e("zrender/mixin/Draggable",[sa],function(){function t(){this.on(Kn,this._dragStart,this),this.on(Jn,this._drag,this),this.on($n,this._dragEnd,this),this.on("globalout",this._dragEnd,this)}return t[jr]={constructor:t,_dragStart:function(t){var e=t[Yn];e&&e[Z]&&(this._draggingTarget=e,e.dragging=!0,this._x=t[G],this._y=t[B],this.dispatchToElement(e,"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var i=t[G],n=t[B],r=i-this._x,a=n-this._y;this._x=i,this._y=n,e.drift(r,a,t),this.dispatchToElement(e,"drag",t.event);var o=this.findHover(i,n,e),s=this._dropTarget;this._dropTarget=o,e!==o&&(s&&o!==s&&this.dispatchToElement(s,"dragleave",t.event),o&&o!==s&&this.dispatchToElement(o,"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(e,"dragend",t.event),this._dropTarget&&this.dispatchToElement(this._dropTarget,"drop",t.event),this._draggingTarget=null,this._dropTarget=null}},t}),e("zrender/graphic/helper/roundRect",[sa],function(){return{buildPath:function(t,e){var i,n,r,a,o=e.x,s=e.y,l=e.width,u=e[Wr],c=e.r;0>l&&(o+=l,l=-l),0>u&&(s+=u,u=-u),typeof c===zn?i=n=r=a=c:c instanceof Array?1===c[Tr]?i=n=r=a=c[0]:2===c[Tr]?(i=r=c[0],n=a=c[1]):3===c[Tr]?(i=c[0],n=a=c[1],r=c[2]):(i=c[0],n=c[1],r=c[2],a=c[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>u&&(h=n+r,n*=u/h,r*=u/h),i+a>u&&(h=i+a,i*=u/h,a*=u/h),t[D](o+i,s),t[L](o+l-n,s),0!==n&&t.quadraticCurveTo(o+l,s,o+l,s+n),t[L](o+l,s+u-r),0!==r&&t.quadraticCurveTo(o+l,s+u,o+l-r,s+u),t[L](o+a,s+u),0!==a&&t.quadraticCurveTo(o,s+u,o,s+u-a),t[L](o,s+i),0!==i&&t.quadraticCurveTo(o,s,o+i,s)}}}),e(u,[sa,"../mixin/Eventful","./env"],function(t){function e(t){return t.getBoundingClientRect?t.getBoundingClientRect():{left:0,top:0}}function i(t,e,i,r){return i=i||{},r||!l[zr]?n(t,e,i):l.browser.firefox&&null!=e.layerX&&e.layerX!==e[G]?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e[G]?(i.zrX=e[G],i.zrY=e[B]):n(t,e,i),i}function n(t,i,n){var r=e(t);n.zrX=i.clientX-r.left,n.zrY=i.clientY-r.top}function r(t,e,n){if(e=e||window.event,null!=e.zrX)return e;var r=e.type,a=r&&r[Ar]("touch")>=0;if(a){var o="touchend"!=r?e.targetTouches[0]:e.changedTouches[0];o&&i(t,o,e,n)}else i(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;return e}function a(t,e,i){u?t.addEventListener(e,i):t.attachEvent("on"+e,i)}function o(t,e,i){u?t.removeEventListener(e,i):t.detachEvent("on"+e,i)}var s=t("../mixin/Eventful"),l=t("./env"),u=typeof window!==U&&!!window.addEventListener,c=u?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};return{clientToLocal:i,normalizeEvent:r,addEventListener:a,removeEventListener:o,stop:c,Dispatcher:s}}),e("zrender/animation/requestAnimationFrame",[sa],function(){return typeof window!==U&&(window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)}}),e("echarts/chart/helper/LinePath",[sa,Ci,$r],function(t){function e(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var i=t(Ci),n=t($r),r=i.Line[jr],a=i.BezierCurve[jr];return i[I]({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,i){(e(i)?r:a)[s](t,i)},pointAt:function(t){return e(this.shape)?r.pointAt.call(this,t):a.pointAt.call(this,t)},tangentAt:function(t){var i=this.shape,r=e(i)?[i.x2-i.x1,i.y2-i.y1]:a.tangentAt.call(this,t);return n[sn](r,r)}})}),e("zrender/core/GestureMgr",[sa,"./event"],function(t){function e(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}function i(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var n=t("./event"),r=function(){this._track=[]};r[jr]={constructor:r,recognize:function(t,e,i){return this._doTrack(t,e,i),this._recognize(t)},clear:function(){return this._track[Tr]=0,this},_doTrack:function(t,e,i){var r=t.touches;if(r){for(var a={points:[],touches:[],target:e,event:t},o=0,s=r[Tr];s>o;o++){var l=r[o],u=n.clientToLocal(i,l,{});a[qe].push([u.zrX,u.zrY]),a.touches.push(l)}this._track.push(a)}},_recognize:function(t){for(var e in a)if(a.hasOwnProperty(e)){var i=a[e](this._track,t);if(i)return i}}};var a={pinch:function(t,n){var r=t[Tr];if(r){var a=(t[r-1]||{})[qe],o=(t[r-2]||{})[qe]||a;if(o&&o[Tr]>1&&a&&a[Tr]>1){var s=e(a)/e(o);!isFinite(s)&&(s=1),n.pinchScale=s;var l=i(a);return n.pinchX=l[0],n.pinchY=l[1],{type:"pinch",target:t[0][Yn],event:n}}}}};return r}),e("zrender/Layer",[sa,"./core/util","./config","./graphic/Style","./graphic/Pattern"],function(t){function e(){return!1}function i(t,e,i,n){var r=document[tn](e),a=i[Or](),o=i[Vr](),s=r.style;return s[gn]="absolute",s.left=0,s.top=0,s.width=a+"px",s[Wr]=o+"px",r.width=a*n,r[Wr]=o*n,r.setAttribute("data-zr-dom-id",t),r}var n=t("./core/util"),r=t("./config"),a=t("./graphic/Style"),o=t("./graphic/Pattern"),s=function(t,a,o){var s;o=o||r.devicePixelRatio,typeof t===Ur?s=i(t,qr,a,o):n[Br](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)",l[xn]=0,l[vn]=0,l["border-width"]=0),this.domBack=null,this.ctxBack=null,this[Rr]=a,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=o};return s[jr]={constructor:s,elCount:0,__dirty:!0,initContext:function(){this.ctx=this.dom[Qi]("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=i("back-"+this.id,qr,this[Rr],t),this.ctxBack=this.domBack[Qi]("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[Wr]=e+"px",n.width=t*i,n[Wr]=e*i,a&&(a.width=t*i,a[Wr]=e*i,1!=i&&this.ctxBack.scale(i,i))},clear:function(t){var e=this.dom,i=this.ctx,n=e.width,r=e[Wr],s=this.clearColor,l=this.motionBlur&&!t,u=this.lastFrameAlpha,c=this.dpr;if(l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(e,0,0,n/c,r/c)),i.clearRect(0,0,n,r),s){var h;s[gr]?(h=s.__canvasGradient||a.getGradient(i,s,{x:0,y:0,width:n,height:r}),s.__canvasGradient=h):s.image&&(h=o[jr].getCanvasPattern.call(s,i)),i.save(),i.fillStyle=h||s,i.fillRect(0,0,n,r),i.restore()}if(l){var d=this.domBack;i.save(),i.globalAlpha=u,i.drawImage(d,0,0,n,r),i.restore()}}},s}),e("echarts/preprocessor/helper/compatStyle",[sa,oa],function(t){function e(t){var e=t&&t[Si];e&&i.each(n,function(n){var r=e[Mi],a=e[ke];r&&r[n]&&(t[n]=t[n]||{},t[n][Mi]?i.merge(t[n][Mi],r[n]):t[n][Mi]=r[n],r[n]=null),a&&a[n]&&(t[n]=t[n]||{},t[n][ke]?i.merge(t[n][ke],a[n]):t[n][ke]=a[n],a[n]=null)})}var i=t(oa),n=["areaStyle",_e,"nodeStyle","linkStyle","chordStyle","label","labelLine"];return function(t){if(t){e(t),e(t.markPoint),e(t.markLine);var n=t.data;if(n){for(var r=0;r<n[Tr];r++)e(n[r]);var a=t.markPoint;if(a&&a.data)for(var o=a.data,r=0;r<o[Tr];r++)e(o[r]);var s=t.markLine;if(s&&s.data)for(var l=s.data,r=0;r<l[Tr];r++)i[Gn](l[r])?(e(l[r][0]),e(l[r][1])):e(l[r])}}}}),e("echarts/component/axis/CartesianAxisView",[sa,oa,Ci,"./AxisBuilder","./AxisView","./cartesianAxisHelper"],function(t){var e=t(oa),i=t(Ci),n=t("./AxisBuilder"),r=t("./AxisView"),a=t("./cartesianAxisHelper"),o=n.ifIgnoreOnTick,s=n.getInterval,l=[E,R,V,v],u=["splitArea",O],c=r[lr]({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,r,o,s){this.group[Ln]();var h=this._axisGroup;if(this._axisGroup=new i.Group,this.group.add(this._axisGroup),t.get("show")){var d=t.getCoordSysModel(),f=a[ue](d,t),p=new n(t,f);e.each(l,p.add,p),this._axisGroup.add(p.getGroup()),e.each(u,function(e){t.get(e+".show")&&this["_"+e](t,d,f.labelInterval)},this),i.groupTransition(h,this._axisGroup,t),c[Ee](this,dr,t,r,o,s)}},_splitLine:function(t,n,r){var a=t.axis;if(!a.scale[p]()){var l=t[Er](O),u=l[Er](_e),c=u.get("color"),h=s(l,r);c=e[Gn](c)?c:[c];for(var d=n[Sr][Pn](),v=a[Ui](),g=0,m=a[f](),y=a.scale[an](),x=[],_=[],b=u[Ke](),w=0;w<m[Tr];w++)if(!o(a,w,h)){var M=a[Fi](m[w]);v?(x[0]=M,x[1]=d.y,_[0]=M,_[1]=d.y+d[Wr]):(x[0]=d.x,x[1]=M,_[0]=d.x+d.width,_[1]=M);var S=g++%c[Tr];this._axisGroup.add(new i.Line(i.subPixelOptimizeLine({anid:"line_"+y[w],shape:{x1:x[0],y1:x[1],x2:_[0],y2:_[1]},style:e[or]({stroke:c[S]},b),silent:!0})))}}},_splitArea:function(t,n,r){var a=t.axis;if(!a.scale[p]()){var l=t[Er]("splitArea"),u=l[Er]("areaStyle"),c=u.get("color"),h=n[Sr][Pn](),d=a[f](),v=a.scale[an](),g=a[Fi](d[0]),m=a[Fi](d[0]),y=0,x=s(l,r),_=u[$e]();c=e[Gn](c)?c:[c];for(var b=1;b<d[Tr];b++)if(!o(a,b,x)){var w,M,S,A,T=a[Fi](d[b]);a[Ui]()?(w=g,M=h.y,S=T-w,A=h[Wr]):(w=h.x,M=m,S=h.width,A=T-M);var C=y++%c[Tr];this._axisGroup.add(new i.Rect({anid:"area_"+v[b],shape:{x:w,y:M,width:S,height:A},style:e[or]({fill:c[C]},_),silent:!0})),g=w+S,m=M+A}}}});c[lr]({type:"xAxis"}),c[lr]({type:"yAxis"})}),e("echarts/chart/helper/SymbolDraw",[sa,Ci,"./Symbol"],function(t){function e(t){this.group=new n.Group,this._symbolCtor=t||r}function i(t,e,i){var n=t[pi](e);return!(!n||isNaN(n[0])||isNaN(n[1])||i&&i(e)||"none"===t[_r](e,We))}var n=t(Ci),r=t("./Symbol"),a=e[jr];return a[Je]=function(t,e){var r=this.group,a=t[Ye],o=this._data,s=this._symbolCtor,l={itemStyle:a[Er](fi)[Cn](["color"]),hoverItemStyle:a[Er](di)[Cn](),symbolRotate:a.get("symbolRotate"),symbolOffset:a.get("symbolOffset"),hoverAnimation:a.get("hoverAnimation"),labelModel:a[Er](we),hoverLabelModel:a[Er](be)};t.diff(o).add(function(n){var a=t[pi](n);if(i(t,n,e)){var o=new s(t,n,l);o.attr(gn,a),t[xi](n,o),r.add(o)}})[yr](function(u,c){var h=o[yi](c),d=t[pi](u);return i(t,u,e)?(h?(h[Je](t,u,l),n[mi](h,{position:d},a)):(h=new s(t,u),h.attr(gn,d)),r.add(h),void t[xi](u,h)):void r[ur](h)})[ur](function(t){var e=o[yi](t);e&&e.fadeOut(function(){r[ur](e)})})[bi](),this._data=t},a[pr]=function(){var t=this._data;t&&t[gi](function(e,i){var n=t[pi](i);e.attr(gn,n)})},a[ur]=function(t){var e=this.group,i=this._data;i&&(t?i[gi](function(t){t.fadeOut(function(){e[ur](t)})}):e[Ln]())},e}),e("echarts/chart/helper/Symbol",[sa,oa,se,Ci,ge],function(t){function e(t,e){var i=t[_r](e,Ze);return i instanceof Array?i.slice():[+i,+i]}function i(t){return[t[0]/2,t[1]/2]}function n(t,e,i){s.Group.call(this),this[Je](t,e,i)}function r(t,e){this[un].drift(t,e)}var a=t(oa),o=t(se),s=t(Ci),l=t(ge),u=n[jr];u._createSymbol=function(t,e,n,a){this[Ln]();var l=e[Ye],u=e[_r](n,"color"),c=o[oe](t,-1,-1,2,2,u);c.attr({z2:100,culling:!0,scale:[0,0]}),c.drift=r,s[vi](c,{scale:i(a)},l,n),this._symbolType=t,this.add(c)},u.stopSymbolAnimation=function(t){this[Ce](0)[Dr](t)},u.getSymbolPath=function(){return this[Ce](0)},u.getScale=function(){return this[Ce](0).scale},u[ar]=function(){this[Ce](0)[nr](ke)},u[rr]=function(){this[Ce](0)[nr](Mi)},u.setZ=function(t,e){var i=this[Ce](0);i[Fn]=t,i.z=e},u.setDraggable=function(t){var e=this[Ce](0);e[Z]=t,e.cursor=t?"move":k},u[Je]=function(t,n,r){this[Hr]=!1;var a=t[_r](n,We)||ea,o=t[Ye],l=e(t,n);if(a!==this._symbolType)this._createSymbol(a,t,n,l);else{var u=this[Ce](0);u[Hr]=!1,s[mi](u,{scale:i(l)},o,n)}this._updateCommon(t,n,l,r),this._seriesModel=o};var c=[Si,Mi],h=[Si,ke],d=["label",Mi],f=["label",ke];return u._updateCommon=function(t,e,n,r){var o=this[Ce](0),u=t[Ye],p=t[_r](e,"color");"image"!==o.type&&o[ci]({strokeNoScale:!0}),r=r||null;var v=r&&r[Si],g=r&&r.hoverItemStyle,m=r&&r.symbolRotate,y=r&&r.symbolOffset,x=r&&r.labelModel,_=r&&r.hoverLabelModel,b=r&&r.hoverAnimation;if(!r||t[ne]){var w=t[_i](e);v=w[Er](c)[Cn](["color"]),g=w[Er](h)[Cn](),m=w[Ge]("symbolRotate"),y=w[Ge]("symbolOffset"),x=w[Er](d),_=w[Er](f),b=w[Ge]("hoverAnimation")}else g=a[lr]({},g);var M=o.style;o.attr(Me,(m||0)*Math.PI/180||0),y&&o.attr(gn,[l[li](y[0],n[0]),l[li](y[1],n[1])]),o.setColor(p),o[Zn](v);var S=t[_r](e,pn);null!=S&&(M[pn]=S);for(var A,T,C=t[Pi].slice();C[Tr]&&(A=C.pop(),T=t.getDimensionInfo(A).type,T===Ue||"time"===T););null!=A&&x[Ge]("show")?(s[ae](M,x,p),M.text=a[Di](u[Pe](e,Mi),t.get(A,e))):M.text="",null!=A&&_[Ge]("show")?(s[ae](g,_,p),g.text=a[Di](u[Pe](e,ke),t.get(A,e))):g.text="",o.off(tr).off(Qn).off(ke).off(Mi),o[Te]=g,s[ui](o);var P=i(n);if(b&&u[wi]()){var L=function(){var t=P[1]/P[0];this[Se]({scale:[Math.max(1.1*P[0],P[0]+3),Math.max(1.1*P[1],P[1]+3*t)]},400,"elasticOut")},D=function(){this[Se]({scale:P},400,"elasticOut")};o.on(tr,L).on(Qn,D).on(ke,L).on(Mi,D)}},u.fadeOut=function(t){var e=this[Ce](0);this[Hr]=e[Hr]=!0,e.style.text="",s[mi](e,{scale:[0,0]},this._seriesModel,this[br],t)},a[In](n,s.Group),n}),e("echarts/chart/line/lineAnimationDiff",[sa],function(){function t(t){return t>=0?1:-1}function e(e,i,n){for(var r,a=e[ki](),o=e[Ii](a),s=a.onZero?0:o.scale[on]()[0],l=o.dim,u="x"===l||l===ei?1:0,c=i.stackedOn,h=i.get(l,n);c&&t(c.get(l,n))===t(h);){r=c;break}var d=[];return d[u]=i.get(a.dim,n),d[1-u]=r?r.get(l,n,!0):s,e[Zi](d)}function i(t,e){var i=[];return e.diff(t).add(function(t){i.push({cmd:"+",idx:t})})[yr](function(t,e){i.push({cmd:"=",idx:e,idx1:t})})[ur](function(t){i.push({cmd:"-",idx:t})})[bi](),i}return function(t,n,r,a,o,s){for(var l=i(t,n),u=[],c=[],h=[],d=[],f=[],p=[],v=[],g=s[Pi],m=0;m<l[Tr];m++){var y=l[m],x=!0;switch(y.cmd){case"=":var _=t[pi](y.idx),b=n[pi](y.idx1);(isNaN(_[0])||isNaN(_[1]))&&(_=b.slice()),u.push(_),c.push(b),h.push(r[y.idx]),d.push(a[y.idx1]),v.push(n[ye](y.idx1));break;case"+":var w=y.idx;u.push(o[Zi]([n.get(g[0],w,!0),n.get(g[1],w,!0)])),c.push(n[pi](w).slice()),h.push(e(o,n,w)),d.push(a[w]),v.push(n[ye](w));break;case"-":var w=y.idx,M=t[ye](w);M!==w?(u.push(t[pi](w)),c.push(s[Zi]([t.get(g[0],w,!0),t.get(g[1],w,!0)])),h.push(r[w]),d.push(e(s,t,w)),v.push(M)):x=!1}x&&(f.push(y),p.push(p[Tr]))}p.sort(function(t,e){return v[t]-v[e]});for(var S=[],A=[],T=[],C=[],P=[],m=0;m<p[Tr];m++){var w=p[m];S[m]=u[w],A[m]=c[w],T[m]=h[w],C[m]=d[w],P[m]=f[w]}return{current:S,next:A,stackedOnCurrent:T,stackedOnNext:C,status:P}}}),e("echarts/chart/line/poly",[sa,"zrender/graphic/Path",$r],function(t){function e(t){return isNaN(t[0])||isNaN(t[1])}function i(t,i,n,r,f,p,v,g,m,y,x){for(var _=0,b=n,w=0;r>w;w++){var M=i[b];if(b>=f||0>b)break;if(e(M)){if(x){b+=p;continue}break}if(b===n)t[p>0?D:L](M[0],M[1]),u(h,M);else if(m>0){var S=b+p,A=i[S];if(x)for(;A&&e(i[S]);)S+=p,A=i[S];var T=.5,C=i[_],A=i[S];if(!A||e(A))u(d,M);else{e(A)&&!x&&(A=M),a.sub(c,A,C);var P,I;if("x"===y||"y"===y){var k="x"===y?0:1;P=Math.abs(M[k]-C[k]),I=Math.abs(M[k]-A[k])}else P=a.dist(M,C),I=a.dist(M,A);T=I/(I+P),l(d,M,c,-m*(1-T))}o(h,h,g),s(h,h,v),o(d,d,g),s(d,d,v),t.bezierCurveTo(h[0],h[1],d[0],d[1],M[0],M[1]),l(h,M,c,m*T)}else t[L](M[0],M[1]);_=b,b+=p}return w}function n(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var r=0;r<t[Tr];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 r=t("zrender/graphic/Path"),a=t($r),o=a.min,s=a.max,l=a.scaleAndAdd,u=a.copy,c=[],h=[],d=[];return{Polyline:r[lr]({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},buildPath:function(t,r){var a=r[qe],o=0,s=a[Tr],l=n(a,r.smoothConstraint);if(r.connectNulls){for(;s>0&&e(a[s-1]);s--);for(;s>o&&e(a[o]);o++);}for(;s>o;)o+=i(t,a,o,s,s,1,l.min,l.max,r.smooth,r.smoothMonotone,r.connectNulls)+1}}),Polygon:r[lr]({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},buildPath:function(t,r){var a=r[qe],o=r.stackedOnPoints,s=0,l=a[Tr],u=r.smoothMonotone,c=n(a,r.smoothConstraint),h=n(o,r.smoothConstraint);if(r.connectNulls){for(;l>0&&e(a[l-1]);l--);for(;l>s&&e(a[s]);s++);}for(;l>s;){var d=i(t,a,s,l,l,1,c.min,c.max,r.smooth,u,r.connectNulls);i(t,o,s+d-1,d,l,-1,h.min,h.max,r.stackedOnSmooth,u,r.connectNulls),s+=d+1,t[P]()}}})}}),e("echarts/chart/pie/labelLayout",[sa,_],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][Wr])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][Wr]));n--);}function u(t,e,i,n,r,a){for(var o=a>0?e?Number[T]:0:e?Number[T]:0,s=0,l=t[Tr];l>s;s++)if(t[s][gn]!==mn){var u=Math.abs(t[s].y-n),c=t[s].len,h=t[s].len2,d=r+c>u?Math.sqrt((r+c+h)*(r+c+h)-u*u):Math.abs(t[s].x-i);e&&d>=o&&(d=o-10),!e&&o>=d&&(d=o+10),t[s].x=i+d*a,o=d}}t.sort(function(t,e){return t.y-e.y});for(var c,h=0,d=t[Tr],f=[],p=[],v=0;d>v;v++)c=t[v].y-h,0>c&&s(v,d,-c,r),h=t[v].y+t[v][Wr];0>o-h&&l(d-1,h-o);for(var v=0;d>v;v++)t[v].y>=i?p.push(t[v]):f.push(t[v]);u(f,!1,e,i,n,r),u(p,!0,e,i,n,r)}function i(t,i,n,r,a,o){for(var s=[],l=[],u=0;u<t[Tr];u++)t[u].x<i?s.push(t[u]):l.push(t[u]);e(l,i,n,r,1,a,o),e(s,i,n,r,-1,a,o);for(var u=0;u<t[Tr];u++){var c=t[u].linePoints;if(c){var h=c[1][0]-c[2][0];c[2][0]=t[u].x<i?t[u].x+3:t[u].x-3,c[1][1]=c[2][1]=t[u].y,c[1][0]=c[2][0]+h}}}var n=t(_);return function(t,e,r,a){var o,s,l=t[na](),u=[],c=!1;l.each(function(i){var r,a,h,d,f=l[pi](i),p=l[_i](i),v=p[Er](we),g=v.get(gn)||p.get("label.emphasis.position"),m=p[Er]("labelLine.normal"),x=m.get(Tr),_=m.get("length2"),b=(f.startAngle+f.endAngle)/2,w=Math.cos(b),M=Math.sin(b);o=f.cx,s=f.cy;var S=g===Le||"inner"===g;if(g===mn)r=f.cx,a=f.cy,d=mn;else{var A=(S?(f.r+f.r0)/2*w:f.r*w)+o,T=(S?(f.r+f.r0)/2*M:f.r*M)+s;if(r=A+3*w,a=T+3*M,!S){var C=A+w*(x+e-f.r),P=T+M*(x+e-f.r),L=C+(0>w?-1:1)*_,D=P;r=L+(0>w?-5:5),a=D,h=[[A,T],[C,P],[L,D]]}d=S?mn:w>0?"left":"right"}var I=v[Er](Tn)[Sn](),k=v.get(y)?0>w?-b+Math.PI:-b:0,z=t[Pe](i,Mi)||l[Ie](i),R=n[wn](z,I,d,"top");c=!!k,f.label={x:r,y:a,position:g,height:R[Wr],len:x,len2:_,linePoints:h,textAlign:d,verticalAlign:"middle",font:I,rotation:k},S||u.push(f.label)}),!c&&t.get("avoidLabelOverlap")&&i(u,o,s,e,r,a)}}),e("echarts/chart/helper/LargeSymbolDraw",[sa,Ci,se],function(t){function e(){this.group=new i.Group,this._symbolEl=new r({})}var i=t(Ci),n=t(se),r=i[I]({shape:{points:null,sizes:null},symbolProxy:null,buildPath:function(t,e){for(var i=e[qe],n=e.sizes,r=this.symbolProxy,a=r.shape,o=0;o<i[Tr];o++){var l=i[o],u=n[o];u[0]<4?t.rect(l[0]-u[0]/2,l[1]-u[1]/2,u[0],u[1]):(a.x=l[0]-u[0]/2,a.y=l[1]-u[1]/2,a.width=u[0],a[Wr]=u[1],r[s](t,a,!0))}},findDataIndex:function(t,e){for(var i=this.shape,n=i[qe],r=i.sizes,a=n[Tr]-1;a>=0;a--){var o=n[a],s=r[a],l=o[0]-s[0]/2,u=o[1]-s[1]/2;if(t>=l&&e>=u&&t<=l+s[0]&&e<=u+s[1])return a}return-1}}),a=e[jr];return a[Je]=function(t){this.group[Ln]();var e=this._symbolEl,i=t[Ye];e[hi]({points:t[ti](t[pi]),sizes:t[ti](function(e){var i=t[_r](e,Ze);return i instanceof Array||(i=[i,i]),i})}),e.symbolProxy=n[oe](t[Mr](We),0,0,0,0),e.setColor=e.symbolProxy.setColor,e[ci](i[Er](fi)[Cn](["color"]));var r=t[Mr]("color");r&&e.setColor(r),e[jn]=i[jn],e.on(Jn,function(t){e[br]=null;var i=e.findDataIndex(t[G],t[B]);i>0&&(e[br]=i)}),this.group.add(e)},a[pr]=function(t){var e=t[na]();this._symbolEl[hi]({points:e[ti](e[pi])})},a[ur]=function(){this.group[Ln]()},e}),e("echarts/chart/helper/whiskerBoxCommon",[sa,Be,Ne,"../helper/WhiskerBoxDraw",oa],function(t){function e(t){return null==t.value?t:t.value}var i=t(Be),n=t(Ne),r=t("../helper/WhiskerBoxDraw"),a=t(oa),o={_baseAxisDim:null,getInitialData:function(t,r){var a,o,s=r[X]("xAxis",this.get("xAxisIndex")),l=r[X]("yAxis",this.get("yAxisIndex")),u=s.get("type"),c=l.get("type");u===ji?(t[ue]=le,a=s.getCategories(),o=!0):c===ji?(t[ue]=h,a=l.getCategories(),o=!0):t[ue]=t[ue]||le,this._baseAxisDim=t[ue]===le?"x":"y";var d=t.data,f=this[Pi]=["base"][hr](this.valueDimensions);n(f,d);var p=new i(f,this);return p[Oe](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},coordDimToDataDim:function(t){var e=this.valueDimensions.slice(),i=["base"],n={horizontal:{x:i,y:e},vertical:{x:e,y:i}};return n[this.get(ue)][t]},dataDimToCoordDim:function(t){var e;return a.each(["x","y"],function(i){var n=this[Ri](i);a[Ar](n,t)>=0&&(e=i)},this),e},getBaseAxis:function(){var t=this._baseAxisDim;return this[M][X](t+"Axis",this.get(t+"AxisIndex")).axis}},s={init:function(){var t=this._whiskerBoxDraw=new r(this.getStyleUpdater());this.group.add(t.group)},render:function(t){this._whiskerBoxDraw[Je](t[na]())},remove:function(){this._whiskerBoxDraw[ur]()}};return{seriesModelMixin:o,viewMixin:s}}),e("echarts/coord/radar/Radar",[sa,oa,"./IndicatorAxis","../../scale/Interval",ge,"../axisHelper",$i],function(t){function e(t,e,a){this[Nr]=t,this[Pi]=[],this._indicatorAxes=i.map(t.getIndicatorModels(),function(t,e){var i="indicator_"+e,a=new n(i,new r);
  return a.name=t.get("name"),a.model=t,t.axis=a,this[Pi].push(i),a},this),this[Zr](t,a),this.cx,this.cy,this.r,this.startAngle}var i=t(oa),n=t("./IndicatorAxis"),r=t("../../scale/Interval"),a=t(ge),o=t("../axisHelper");return e[jr].getIndicatorAxes=function(){return this._indicatorAxes},e[jr][Zi]=function(t,e){var i=this._indicatorAxes[e];return this.coordToPoint(i[Hi](t),e)},e[jr].coordToPoint=function(t,e){var i=this._indicatorAxes[e],n=i.angle,r=this.cx+t*Math.cos(n),a=this.cy-t*Math.sin(n);return[r,a]},e[jr][Gi]=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=Math.sqrt(e*e+i*i);e/=n,i/=n;for(var r,a=Math.atan2(-i,e),o=1/0,s=-1,l=0;l<this._indicatorAxes[Tr];l++){var u=this._indicatorAxes[l],c=Math.abs(a-u.angle);o>c&&(r=u,s=l,o=c)}return[s,+(r&&r.coodToData(n))]},e[jr][Zr]=function(t,e){var n=t.get(mn),r=e[Or](),o=e[Vr](),s=Math.min(r,o)/2;this.cx=a[li](n[0],r),this.cy=a[li](n[1],o),this.startAngle=t.get("startAngle")*Math.PI/180,this.r=a[li](t.get(ei),s),i.each(this._indicatorAxes,function(t,e){t[nn](0,this.r);var i=this.startAngle+e*Math.PI*2/this._indicatorAxes[Tr];i=Math.atan2(Math.sin(i),Math.cos(i)),t.angle=i},this)},e[jr][yr]=function(t){function e(t){var e=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),i=t/e;return 2===i?i=5:i*=2,i*e}var n=this._indicatorAxes,r=this[Nr];i.each(n,function(t){t.scale[nn](1/0,-1/0)}),t[ra]("radar",function(e){if("radar"===e.get(Sr)&&t[X]("radar",e.get("radarIndex"))===r){var a=e[na]();i.each(n,function(t){t.scale[zi](a,t.dim)})}},this);var s=r.get("splitNumber");i.each(n,function(t){var i=o.getScaleExtent(t.scale,t.model);o[Yi](t.scale,t.model);var n=t.model,r=t.scale,l=n.getMin(),u=n.getMax(),c=r.getInterval();if(null!=l&&null!=u)r.setInterval((u-l)/s);else if(null!=l){var h;do h=l+c*s,r[nn](+l,h),r.setInterval(c),c=e(c);while(h<i[1]&&isFinite(h)&&isFinite(i[1]))}else if(null!=u){var d;do d=u-c*s,r[nn](d,+u),r.setInterval(c),c=e(c);while(d>i[0]&&isFinite(d)&&isFinite(i[0]))}else{var f=r[an]()[Tr]-1;f>s&&(c=e(c));var p=Math.round((i[0]+i[1])/2/c)*c,v=Math.round(s/2);r[nn](a.round(p-v*c),a.round(p+(s-v)*c)),r.setInterval(c)}})},e[Pi]=[],e[xr]=function(t,i){var n=[];return t[Lr]("radar",function(r){var a=new e(r,t,i);n.push(a),r[Sr]=a}),t[ra]("radar",function(t){"radar"===t.get(Sr)&&(t[Sr]=n[t.get("radarIndex")||0])}),n},t($i)[En]("radar",e),e}),e("echarts/coord/radar/RadarModel",[sa,"../axisDefault",Ti,oa,"../axisModelCommonMixin",Ai],function(t){function e(t,e){return a[or]({show:e},t)}var i=t("../axisDefault"),n=i.valueAxis,r=t(Ti),a=t(oa),o=t("../axisModelCommonMixin"),s=t(Ai)[On]({type:"radar",optionUpdated:function(){var t=this.get(Vi),e=this.get("splitNumber"),i=this.get("scale"),n=this.get(E),s=this.get(V),l=this.get(R),u=this.get("name.textStyle"),c=this.get("name.show"),h=this.get("name.formatter"),d=this.get("nameGap"),f=this.get("triggerEvent"),p=a.map(this.get("indicator")||[],function(p){if(null!=p.max&&p.max>0&&!p.min?p.min=0:null!=p.min&&p.min<0&&!p.max&&(p.max=0),p=a.merge(a.clone(p),{boundaryGap:t,splitNumber:e,scale:i,axisLine:n,axisTick:s,axisLabel:l,name:p.text,nameLocation:"end",nameGap:d,nameTextStyle:u,triggerEvent:f},!1),c||(p.name=""),typeof h===Ur){var v=p.name;p.name=h[Hn](N,null!=v?v:"")}else typeof h===Bn&&(p.name=h(p.name,p));var g=a[lr](new r(p,null,this[M]),o);return g[fr]="radar",g[Ni]=this[Ni],g},this);this.getIndicatorModels=function(){return p}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:a.merge({lineStyle:{color:"#bbb"}},n[E]),axisLabel:e(n[R],!1),axisTick:e(n[V],!1),splitLine:e(n[O],!0),splitArea:e(n.splitArea,!0),indicator:[]}});return s}),e("echarts/component/radar/RadarView",[sa,"../axis/AxisBuilder",oa,Ci,Ai],function(t){var e=t("../axis/AxisBuilder"),i=t(oa),n=t(Ci),r=[E,R,V,v];return t(Ai)[Vn]({type:"radar",render:function(t){var e=this.group;e[Ln](),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var n=t[Sr],a=n.getIndicatorAxes(),o=i.map(a,function(t){var i=new e(t.model,{position:[n.cx,n.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return i});i.each(o,function(t){i.each(r,t.add,t),this.group.add(t.getGroup())},this)},_buildSplitLineAndArea:function(t){function e(t,e,i){var n=i%e[Tr];return t[n]=t[n]||[],n}var r=t[Sr],a=r.getIndicatorAxes();if(a[Tr]){var o=t.get("shape"),s=t[Er](O),l=t[Er]("splitArea"),u=s[Er](_e),c=l[Er]("areaStyle"),h=s.get("show"),d=l.get("show"),p=u.get("color"),v=c.get("color");p=i[Gn](p)?p:[p],v=i[Gn](v)?v:[v];var g=[],m=[];if(o===ea)for(var y=a[0][f](),x=r.cx,_=r.cy,b=0;b<y[Tr];b++){if(h){var w=e(g,p,b);g[w].push(new n[j]({shape:{cx:x,cy:_,r:y[b]}}))}if(d&&b<y[Tr]-1){var w=e(m,v,b);m[w].push(new n.Ring({shape:{cx:x,cy:_,r0:y[b],r:y[b+1]}}))}}else for(var M=-1,S=i.map(a,function(t,e){var n=t[f]();return M=Math.max(n[Tr]-1,M),i.map(n,function(t){return r.coordToPoint(t,e)})}),A=[],b=0;M>=b;b++){for(var T=[],C=0;C<a[Tr];C++)T.push(S[C][b]);if(T[0]&&T.push(T[0].slice()),h){var w=e(g,p,b);g[w].push(new n[Xe]({shape:{points:T}}))}if(d&&A){var w=e(m,v,b-1);m[w].push(new n[je]({shape:{points:T[hr](A)}}))}A=T.slice()[Qe]()}var P=u[Ke](),L=c[$e]();i.each(m,function(t,e){this.group.add(n.mergePath(t,{style:i[or]({stroke:"none",fill:v[e%v[Tr]]},L),silent:!0}))},this),i.each(g,function(t,e){this.group.add(n.mergePath(t,{style:i[or]({fill:"none",stroke:p[e%p[Tr]]},P),silent:!0}))},this)}}})}),e("echarts/data/Tree",[sa,oa,"../model/Model","./List","./helper/linkList","./helper/completeDimensions"],function(t){function e(t,e){this.root,this.data,this._nodes=[],this[Ye]=t,this.levelModels=n.map(e||[],function(e){return new r(e,t,t[M])})}function i(t,e){var i=e.children;t[Y]!==e&&(i.push(t),t[Y]=e)}var n=t(oa),r=t("../model/Model"),a=t("./List"),o=t("./helper/linkList"),s=t("./helper/completeDimensions"),l=function(t,e){this.name=t||"",this.depth=0,this[Wr]=0,this[Y]=null,this[br]=-1,this.children=[],this.viewChildren=[],this.hostTree=e};return l[jr]={constructor:l,isRemoved:function(){return this[br]<0},eachNode:function(t,e,i){typeof t===Bn&&(i=e,e=t,t=null),t=t||{},n[Dn](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[Tr];s++)o[s][H](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[Tr];i++){var n=this.children[i];n.updateDepthAndHeight(t+1),n[Wr]>e&&(e=n[Wr])}this[Wr]=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,i=this.children,n=i[Tr];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[Tr];n>e;e++){var r=i[e].contains(t);if(r)return r}},getAncestors:function(t){for(var e=[],i=t?this:this[Y];i;)e.push(i),i=i[Y];return e[Qe](),e},getValue:function(t){var e=this.hostTree.data;return e.get(e.getDimension(t||"value"),this[br])},setLayout:function(t,e){this[br]>=0&&this.hostTree.data[ri](this[br],t,e)},getLayout:function(){return this.hostTree.data[pi](this[br])},getModel:function(t){if(!(this[br]<0)){var e=this.hostTree,i=e.data[_i](this[br]),n=this.getLevelModel();return i[Er](t,(n||e[Ye])[Er](t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(t,e){this[br]>=0&&this.hostTree.data[He](this[br],t,e)},getVisual:function(t,e){return this.hostTree.data[_r](this[br],t,e)},getRawIndex:function(){return this.hostTree.data[ye](this[br])},getId:function(){return this.hostTree.data.getId(this[br])}},e[jr]={constructor:e,type:"tree",eachNode:function(t,e,i){this.root[H](t,e,i)},getNodeByDataIndex:function(t){var e=this.data[ye](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[Tr];n>i;i++)e[i][br]=-1;for(var i=0,n=t.count();n>i;i++)e[t[ye](i)][br]=i},clearLayouts:function(){this.data.clearItemLayouts()}},e.createTree=function(t,r,u){function c(t,e){var r=t.value;f=Math.max(f,n[Gn](r)?r[Tr]:1),d.push(t);var a=new l(t.name,h);e?i(a,e):h.root=a,h._nodes.push(a);var o=t.children;if(o)for(var s=0;s<o[Tr];s++)c(o[s],a)}var h=new e(r,u),d=[],f=1;c(t),h.root.updateDepthAndHeight(0);var p=s([{name:"value"}],d,{dimCount:f}),v=new a(p,r);return v[Oe](d),o({mainData:v,struct:h,structAttr:"tree"}),h[yr](),h},e}),e("echarts/chart/treemap/helper",[sa,oa],function(t){var e=t(oa),i={retrieveTargetInfo:function(t,e){if(t&&("treemapZoomToNode"===t.type||"treemapRootToNode"===t.type)){var i=e[na]().tree.root,n=t.targetNode;if(n&&i.contains(n))return{node:n};var r=t.targetNodeId;if(null!=r&&(n=i.getNodeById(r)))return{node:n}}},getPathToRoot:function(t){for(var e=[];t;)t=t[Y],t&&e.push(t);return e[Qe]()},aboveViewRoot:function(t,n){var r=i.getPathToRoot(t);return e[Ar](r,n)>=0},wrapTreePathInfo:function(t,e){for(var i=[];t;){var n=t[br];i.push({name:t.name,dataIndex:n,value:e[Fe](n)}),t=t[Y]}return i[Qe](),i}};return i}),e("echarts/component/helper/MapDraw",[sa,"./RoamController",Ci,oa],function(t){function e(t){var e=t[Cn](),i=t.get("areaColor");return null!=i&&(e.fill=i),e}function i(t,e,i,r,a){i.off("click"),i.off(Kn),e.get("selectedMode")&&(i.on(Kn,function(){t._mouseDownFlag=!0}),i.on("click",function(o){if(t._mouseDownFlag){t._mouseDownFlag=!1;for(var l=o[Yn];!l.__regions;)l=l[un];if(l){var u={type:("geo"===e[fr]?"geo":"map")+"ToggleSelect",batch:s.map(l.__regions,function(t){return{name:t.name,from:a.uid}})};u[e[fr]+"Id"]=e.id,r[sr](u),n(e,i)}}}))}function n(t,e){e.eachChild(function(e){s.each(e.__regions,function(i){e[nr](t.isSelected(i.name)?ke:Mi)})})}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,this._mouseDownFlag}var a=t("./RoamController"),o=t(Ci),s=t(oa);return r[jr]={constructor:r,draw:function(t,r,a,l,u){var c="geo"===t[fr],h=t[na]&&t[na]();c&&r[Lr]({mainType:"series",subType:"map"},function(e){h||e.getHostGeoModel()!==t||(h=e[na]())});var d=t[Sr],f=this.group,p=d.scale,v={position:d[gn],scale:p};!f[Ce](0)||u?f.attr(v):o[mi](f,v,t),f[Ln]();var g=[Si,Mi],m=[Si,ke],y=["label",Mi],x=["label",ke],_={};s.each(d.regions,function(i){var n=_[i.name]||(_[i.name]=new o.Group),r=new o.CompoundPath({shape:{paths:[]}});n.add(r);var a,l=t.getRegionModel(i.name)||t,u=l[Er](g),d=l[Er](m),v=e(u,p),b=e(d,p),w=l[Er](y),M=l[Er](x);if(h){a=h.indexOfName(i.name);var S=h[_r](a,"color",!0);S&&(v.fill=S)}var A=w[Er](Tn),T=M[Er](Tn);s.each(i.geometries,function(t){if("polygon"===t.type){r.shape.paths.push(new o[je]({shape:{points:t.exterior}}));for(var e=0;e<(t.interiors?t.interiors[Tr]:0);e++)r.shape.paths.push(new o[je]({shape:{points:t.interiors[e]}}))}}),r[Zn](v),r.style.strokeNoScale=!0,r.culling=!0;var C=w.get("show"),P=M.get("show"),L=h&&isNaN(h.get("value",a)),D=h&&h[pi](a);if(c||L&&(C||P)||D&&D.showLabel){var I=h?a:i.name,k=t[Pe](I,Mi),z=t[Pe](I,ke),R=new o.Text({style:{text:C?k||i.name:"",fill:A[Mn](),textFont:A[Sn](),textAlign:"center",textVerticalAlign:"middle"},hoverStyle:{text:P?z||i.name:"",fill:T[Mn](),textFont:T[Sn]()},position:i[mn].slice(),scale:[1/p[0],1/p[1]],z2:10,silent:!0});n.add(R)}if(h)h[xi](a,n);else{var l=t.getRegionModel(i.name);r.eventData={componentType:"geo",geoIndex:t[Ni],name:i.name,region:l&&l[fn]||{}}}var V=n.__regions||(n.__regions=[]);V.push(i),o[ui](n,b,{hoverSilentOnTouch:!!t.get("selectedMode")}),f.add(n)}),this._updateController(t,r,a),i(this,t,f,a,l),n(t,f)},remove:function(){this.group[Ln](),this._controller[ir]()},_updateController:function(t,e,i){function n(){var e={type:"geoRoam",componentType:o};return e[o+"Id"]=t.id,e}var r=t[Sr],a=this._controller;a.zoomLimit=t.get("scaleLimit"),a.zoom=r.getZoom(),a.enable(t.get("roam")||!1);var o=t[fr];a.off("pan").on("pan",function(t,e){this._mouseDownFlag=!1,i[sr](s[lr](n(),{dx:t,dy:e}))},this),a.off("zoom").on("zoom",function(t,e,r){if(this._mouseDownFlag=!1,i[sr](s[lr](n(),{zoom:t,originX:e,originY:r})),this._updateGroup){var a=this.group,o=a.scale;a[Wn](function(t){"text"===t.type&&t.attr("scale",[1/o[0],1/o[1]])})}},this),a.setContainsPoint(function(t,e){return r.getViewRectAfterRoam()[ln](t,e)})}},r}),e("echarts/chart/helper/createGraphFromNodeEdge",[sa,Be,"../../data/Graph","../../data/helper/linkList",Ne,$i,oa,"./createListFromArray"],function(t){var e=t(Be),i=t("../../data/Graph"),n=t("../../data/helper/linkList"),r=t(Ne),a=t($i),o=t(oa),s=t("./createListFromArray");return function(t,l,u,c,h){for(var d=new i(c),f=0;f<t[Tr];f++)d.addNode(o[Di](t[f].id,t[f].name,f),f);for(var p=[],v=[],g=0,f=0;f<l[Tr];f++){var m=l[f],y=m.source,x=m[Yn];d.addEdge(y,x,g)&&(v.push(m),p.push(o[Di](m.id,y+" > "+x)),g++)}var _,b=u.get(Sr);if(b===Li||"polar"===b)_=s(t,u,u[M]);else{var w=a.get(b),S=r((w&&"view"!==w.type?w[Pi]||[]:[])[hr](["value"]),t);_=new e(S,u),_[Oe](t)}var A=new e(["value"],u);return A[Oe](v,p),h&&h(_,A),n({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:A},datasAttr:{node:"data",edge:"edgeData"}}),d[yr](),d}}),e("echarts/coord/parallel/parallelCreator",[sa,"./Parallel",$i],function(t){function e(t,e){var n=[];return t[Lr]("parallel",function(r,a){var o=new i(r,t,e);o.name="parallel_"+a,o[Zr](r,e),r[Sr]=o,o.model=r,n.push(o)}),t[vr](function(e){if("parallel"===e.get(Sr)){var i=t[C]({mainType:"parallel",index:e.get("parallelIndex"),id:e.get("parallelId")})[0];e[Sr]=i[Sr]}}),n}var i=t("./Parallel");t($i)[En]("parallel",{create:e})}),e("echarts/coord/parallel/ParallelModel",[sa,oa,d,"./AxisModel"],function(t){var e=t(oa),i=t(d);t("./AxisModel"),i[lr]({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,parallelAxisDefault:null},init:function(){i[jr].init.apply(this,arguments),this[hn]({})},mergeOption:function(t){var i=this[fn];t&&e.merge(i,t,!0),this._initDimensions()},contains:function(t,e){var i=t.get("parallelIndex");return null!=i&&e[X]("parallel",i)===this},setAxisExpand:function(t){e.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth"],function(e){t.hasOwnProperty(e)&&(this[fn][e]=t[e])},this)},_initDimensions:function(){var t=this[Pi]=[],i=this.parallelAxisIndex=[],n=e[kn](this.dependentModels.parallelAxis,function(t){return t.get("parallelIndex")===this[Ni]});e.each(n,function(e){t.push("dim"+e.get("dim")),i.push(e[Ni])})}})}),e("echarts/component/parallelAxis",[sa,"../coord/parallel/parallelCreator","./axis/parallelAxisAction","./axis/ParallelAxisView"],function(t){t("../coord/parallel/parallelCreator"),t("./axis/parallelAxisAction"),t("./axis/ParallelAxisView")}),e("echarts/coord/parallel/parallelPreprocessor",[sa,oa,ii],function(t){function e(t){if(!t.parallel){var e=!1;n.each(t[cr],function(t){t&&"parallel"===t.type&&(e=!0)}),e&&(t.parallel=[{}])}}function i(t){var e=r[S](t.parallelAxis);n.each(e,function(e){if(n[Br](e)){var i=e.parallelIndex||0,a=r[S](t.parallel)[i];a&&a.parallelAxisDefault&&n.merge(e,a.parallelAxisDefault,!1)}})}var n=t(oa),r=t(ii);return function(t){e(t),i(t)}}),e("echarts/component/axisPointer/findPointFromSeries",[sa,oa,ii],function(t){var e=t(oa),i=t(ii);return function(t,n){var r,a=[],o=t[jn];if(null==o||!(r=n[Xn](o)))return{point:[]};var s=r[na](),l=i.queryDataIndex(s,t);if(null==l||e[Gn](l))return{point:[]};var u=s[yi](l),c=r[Sr];if(r.getTooltipPosition)a=r.getTooltipPosition(l)||[];else if(c&&c[Zi])a=c[Zi](s.getValues(e.map(c[Pi],function(t){return r[Ri](t)[0]}),l,!0))||[];else if(u){var h=u[wn]().clone();h[ee](u[ie]),a=[h.x+h.width/2,h.y+h[Wr]/2]}return{point:a,el:u}}}),e("echarts/chart/helper/EffectSymbol",[sa,oa,se,Ci,ge,"./Symbol"],function(t){function e(t){return r[Gn](t)||(t=[+t,+t]),t}function i(t,e){t.eachChild(function(t){t.attr({z:e.z,zlevel:e[Fn],style:{stroke:e.brushType===ce?e.color:null,fill:"fill"===e.brushType?e.color:null}})})}function n(t,e){u.call(this);var i=new l(t,e),n=new u;this.add(i),this.add(n),n.beforeUpdate=function(){this.attr(i.getScale())},this[Je](t,e)}var r=t(oa),a=t(se),o=t(Ci),s=t(ge),l=t("./Symbol"),u=o.Group,c=3,h=n[jr];return h.stopEffectAnimation=function(){this[Ce](1)[Ln]()},h.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,r=this[Ce](1),o=0;c>o;o++){var s=a[oe](e,-1,-1,2,2,n);s.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var l=-o/c*t.period+t.effectOffset;s[De]("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(l).start(),s.animateStyle(!0).when(t.period,{opacity:0}).delay(l).start(),r.add(s)}i(r,t)},h.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this[Ce](1),r=["symbolType","period","rippleScale"],a=0;r>a;a++){var o=r[a];if(e[o]!==t[o])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}i(n,t)},h[ar]=function(){this[nr](ke)},h[rr]=function(){this[nr](Mi)},h[Je]=function(t,i){var n=t[Ye];this[Ce](0)[Je](t,i);var r=this[Ce](1),a=t[_i](i),o=t[_r](i,We),l=e(t[_r](i,Ze)),u=t[_r](i,"color");r.attr("scale",l),r[Wn](function(t){t.attr({fill:u})});var c=a[Ge]("symbolOffset");if(c){var h=r[gn];h[0]=s[li](c[0],l[0]),h[1]=s[li](c[1],l[1])}r[Me]=(a[Ge]("symbolRotate")||0)*Math.PI/180||0;var d={};if(d.showEffectOn=n.get("showEffectOn"),d.rippleScale=a.get("rippleEffect.scale"),d.brushType=a.get("rippleEffect.brushType"),d.period=1e3*a.get("rippleEffect.period"),d.effectOffset=i/t.count(),d.z=a[Ge]("z")||0,d[Fn]=a[Ge](Fn)||0,d.symbolType=o,d.color=u,this.off(tr).off(Qn).off(ke).off(Mi),d.showEffectOn===dr)this._effectCfg?this.updateEffectAnimation(d):this.startEffectAnimation(d),this._effectCfg=d;else{this._effectCfg=null,this.stopEffectAnimation();var f=this[Ce](0),p=function(){f[nr](ke),d.showEffectOn!==dr&&this.startEffectAnimation(d)},v=function(){f[nr](Mi),d.showEffectOn!==dr&&this.stopEffectAnimation()};this.on(tr,p,this).on(Qn,v,this).on(ke,p,this).on(Mi,v,this)}this._effectCfg=d},h.fadeOut=function(t){this.off(tr).off(Qn).off(ke).off(Mi),t&&t()},r[In](n,u),n}),e("echarts/component/axis/AngleAxisView",[sa,oa,Ci,Ti,"./AxisView"],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(oa),n=t(Ci),r=t(Ti),a=[E,R,V,O,"splitArea"];t("./AxisView")[lr]({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t){if(this.group[Ln](),t.get("show")){var e=t.axis,n=e.polar,r=n.getRadiusAxis()[on](),o=e[f]();e.type!==ji&&o.pop(),i.each(a,function(i){!t.get(i+".show")||e.scale[p]()&&i!==E||this["_"+i](t,n,o,r)},this)}},_axisLine:function(t,e,i,r){var a=t[Er]("axisLine.lineStyle"),o=new n[j]({shape:{cx:e.cx,cy:e.cy,r:r[1]},style:a[Ke](),z2:1,silent:!0});o.style.fill=null,this.group.add(o)},_axisTick:function(t,r,a,o){var s=t[Er](V),l=(s.get(Le)?-1:1)*s.get(Tr),u=i.map(a,function(t){return new n.Line({shape:e(r,o[1],o[1]+l,t)})});this.group.add(n.mergePath(u,{style:i[or](s[Er](_e)[Ke](),{stroke:t.get("axisLine.lineStyle.color")})}))},_axisLabel:function(t,e,i,a){for(var o=t.axis,s=t.get("data"),l=t[Er](R),u=l[Er](Tn),c=t[Xi](),h=l.get(vn),d=o.getLabelsCoords(),f=0;f<i[Tr];f++){var p=a[1],v=e.coordToPoint([p+h,d[f]]),g=e.cx,m=e.cy,y=Math.abs(v[0]-g)/p<.3?mn:v[0]>g?"left":"right",x=Math.abs(v[1]-m)/p<.3?yn:v[1]>m?"top":Cr,_=u;s&&s[f]&&s[f][Tn]&&(_=new r(s[f][Tn],u)),this.group.add(new n.Text({style:{x:v[0],y:v[1],fill:_[Mn]()||t.get("axisLine.lineStyle.color"),text:c[f],textAlign:y,textVerticalAlign:x,textFont:_[Sn]()},silent:!0}))}},_splitLine:function(t,r,a,o){var s=t[Er](O),l=s[Er](_e),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=0;d<a[Tr];d++){var f=c++%u[Tr];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[Tr];d++)this.group.add(n.mergePath(h[d],{style:i[or]({stroke:u[d%u[Tr]]},l[Ke]()),silent:!0,z:t.get("z")}))},_splitArea:function(t,e,r,a){var o=t[Er]("splitArea"),s=o[Er]("areaStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],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(xe),g=1;g<r[Tr];g++){var m=u++%l[Tr];c[m]=c[m]||[],c[m].push(new n.Sector({shape:{cx:e.cx,cy:e.cy,r0:f,r:p,startAngle:d,endAngle:-r[g]*h,clockwise:v},silent:!0})),d=-r[g]*h}for(var g=0;g<c[Tr];g++)this.group.add(n.mergePath(c[g],{style:i[or]({fill:l[g%l[Tr]]},s[$e]()),silent:!0}))}})}),e("echarts/component/helper/listComponent",[sa,Ji,pe,Ci],function(t){function e(t,e,n){i.positionElement(t,e[bn](),{width:n[Or](),height:n[Vr]()},e.get(xn))}var i=t(Ji),n=t(pe),r=t(Ci);return{layout:function(t,n,r){var a=i[_n](n[bn](),{width:r[Or](),height:r[Vr]()},n.get(xn));i.box(n.get(A),t,n.get("itemGap"),a.width,a[Wr]),e(t,n,r)},addBackground:function(t,e){var i=n.normalizeCssArray(e.get(xn)),a=t[wn](),o=e[Cn](["color",pn]);o.fill=e.get(kr);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[Wr]+i[0]+i[2]},style:o,silent:!0,z2:-1});r.subPixelOptimizeRect(s),t.add(s)}}}),e("echarts/component/marker/markerHelper",[sa,oa,ge],function(t){function e(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function i(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}function n(t,e,i){var n=-1;do n=Math.max(o.getPrecision(t.get(e,i)),n),t=t.stackedOn;while(t);return n}function r(t,e,i,r,a,o){var s=[],l=p(e,r,t),u=e.indexOfNearest(r,l,!0)[0];s[a]=e.get(i,u,!0),s[o]=e.get(r,u,!0);var c=n(e,r,u);return c>=0&&(s[o]=+s[o][Re](c)),s}var a=t(oa),o=t(ge),s=a[Ar],l=a.curry,u={min:l(r,"min"),max:l(r,"max"),average:l(r,"average")},c=function(t,e){var n=t[na](),r=t[Sr];if(e&&!i(e)&&!a[Gn](e.coord)&&r){var o=r[Pi],l=h(e,n,r,t);if(e=a.clone(e),e.type&&u[e.type]&&l.baseAxis&&l.valueAxis){var c=s(o,l.baseAxis.dim),d=s(o,l.valueAxis.dim);e.coord=u[e.type](n,l.baseDataDim,l.valueDataDim,c,d),e.value=e.coord[d]}else{for(var f=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],v=0;2>v;v++)if(u[f[v]]){var g=t[Ri](o[v])[0];f[v]=p(n,g,f[v])}e.coord=f}}return e},h=function(t,e,i,n){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=i[Wi](n.dataDimToCoordDim(r.valueDataDim)),r.baseAxis=i[Ii](r.valueAxis),r.baseDataDim=n[Ri](r.baseAxis.dim)[0]):(r.baseAxis=n[ki](),r.valueAxis=i[Ii](r.baseAxis),r.baseDataDim=n[Ri](r.baseAxis.dim)[0],r.valueDataDim=n[Ri](r.valueAxis.dim)[0]),r},d=function(t,i){return t&&t.containData&&i.coord&&!e(i)?t.containData(i.coord):!0},f=function(t,e,i,n){return 2>n?t.coord&&t.coord[n]:t.value},p=function(t,e,i){if("average"===i){var n=0,r=0;return t.each(e,function(t){isNaN(t)||(n+=t,r++)},!0),n/r}return t[en](e,!0)["max"===i?1:0]};return{dataTransform:c,dataFilter:d,dimValueGetter:f,getAxisInfo:h,numCalculate:p}}),e("echarts/component/marker/MarkerView",[sa,Ai],function(t){return t(Ai)[Vn]({type:"marker",init:function(){this.markerGroupMap={}},render:function(t,e,i){var n=this.markerGroupMap;for(var r in n)n.hasOwnProperty(r)&&(n[r].__keep=!1);var a=this.type+"Model";e[vr](function(t){var n=t[a];n&&this.renderSeries(t,n,e,i)},this);for(var r in n)n.hasOwnProperty(r)&&!n[r].__keep&&this.group[ur](n[r].group)},renderSeries:function(){}})}),e("echarts/component/timeline/TimelineModel",[sa,d,Be,oa,ii],function(t){var e=t(d),i=t(Be),n=t(oa),r=t(ii),a=e[lr]({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[q](t,i),this._initData()},mergeOption:function(){a[dn](this,hn,arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this[fn].currentIndex);var e=this._data.count();this[fn].loop?t=(t%e+e)%e:(t>=e&&(t=e-1),0>t&&(t=0)),this[fn].currentIndex=t},getCurrentIndex:function(){return this[fn].currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this[fn].autoPlay=!!t},getPlayState:function(){return!!this[fn].autoPlay},_initData:function(){var t=this[fn],e=t.data||[],a=t.axisType,o=this._names=[];if(a===ji){var s=[];n.each(e,function(t,e){var i,a=r.getDataItemValue(t);n[Br](t)?(i=n.clone(t),i.value=e):i=e,s.push(i),n[Dn](a)||null!=a&&!isNaN(a)||(a=""),o.push(a+"")}),e=s}var l={category:"ordinal",time:"time"}[a]||zn,u=this._data=new i([{name:"value",type:l}],this);u[Oe](e,o)},getData:function(){return this._data},getCategories:function(){return this.get("axisType")===ji?this._names.slice():void 0}});return a}),e("echarts/component/helper/sliderMove",[sa],function(){return function(t,e,i,n,r){function a(t,e,i){var n=e[Tr]?e.slice():[e,e];return e[0]>e[1]&&n[Qe](),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/visualSolution",[sa,oa,"./VisualMapping"],function(t){function e(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}var i=t(oa),n=t("./VisualMapping"),r=i.each,a={createVisualMappings:function(t,e,a){function o(){var t=function(){};t[jr].__hidden=t[jr];var e=new t;return e}var s={};return r(e,function(e){var l=s[e]=o();r(t[e],function(t,r){if(n.isValidType(r)){var o={type:r,visual:t};a&&a(o,e),l[r]=new n(o),r===pn&&(o=i.clone(o),o.type="colorAlpha",l.__hidden.__alphaForOpacity=new n(o))}})}),s},replaceVisualOption:function(t,n,r){var a;i.each(r,function(t){n.hasOwnProperty(t)&&e(n[t])&&(a=!0)}),a&&i.each(r,function(r){n.hasOwnProperty(r)&&e(n[r])?t[r]=i.clone(n[r]):delete t[r]})},applyVisual:function(t,e,r,a,o,s){function l(t){return r[_r](d,t)}function u(t,e){r[He](d,t,e)}function c(t,i){d=null==s?t:i;var n=r.getRawDataItem(d);if(!n||n.visualMap!==!1)for(var c=a.call(o,t),f=e[c],p=h[c],v=0,g=p[Tr];g>v;v++){var m=p[v];f[m]&&f[m].applyVisual(t,l,u)}}var h={};i.each(t,function(t){var i=n.prepareVisualTypes(e[t]);h[t]=i});var d;null==s?r.each(c,!0):r.each([s],c,!0)}};return a}),e("echarts/component/brush/selector",[sa,"zrender/contain/polygon",K],function(t){function e(t){var e=["x","y"],n=["width",Wr];return{point:function(e,n,r){var a=r.range,o=e[t];return i(o,a)},rect:function(r,a,o){var s=o.range,l=[r[e[t]],r[e[t]]+r[n[t]]];return l[1]<l[0]&&l[Qe](),i(l[0],s)||i(l[1],s)||i(s[0],l)||i(s[1],l)}}}function i(t,e){return e[0]<=t&&t<=e[1]}function n(t,e,i,n,a){for(var o=0,s=a[a[Tr]-1];o<a[Tr];o++){var l=a[o];if(r(t,e,i,n,l[0],l[1],s[0],s[1]))return!0;s=l}}function r(t,e,i,n,r,s,l,u){var c=o(i-t,r-l,n-e,s-u);if(a(c))return!1;var h=o(r-t,r-l,s-e,s-u)/c;if(0>h||h>1)return!1;var d=o(i-t,r-t,n-e,s-e)/c;return 0>d||d>1?!1:!0}function a(t){return 1e-6>=t&&t>=-1e-6}function o(t,e,i,n){return t*n-e*i}var s=t("zrender/contain/polygon")[ln],l=t(K),u={lineX:e(0),lineY:e(1),rect:{point:function(t,e,i){return i.boundingRect[ln](t[0],t[1])},rect:function(t,e,i){return i.boundingRect.intersect(t)}},polygon:{point:function(t,e,i){return i.boundingRect[ln](t[0],t[1])&&s(i.range,t[0],t[1])},rect:function(t,e,i){var r=i.range;if(r[Tr]<=1)return!1;var a=t.x,o=t.y,u=t.width,c=t[Wr],h=r[0];return s(r,a,o)||s(r,a+u,o)||s(r,a,o+c)||s(r,a+u,o+c)||l[xr](t)[ln](h[0],h[1])||n(a,o,a+u,o,r)||n(a,o,a,o+c,r)||n(a+u,o,a+u,o+c,r)||n(a,o+c,a+u,o+c,r)?!0:void 0}}};return u}),e("echarts/component/helper/BrushTargetManager",[sa,oa,Ci,ii],function(t){function e(t,e,i){var r=this._targetInfoList=[],a={},o=n(e,t);h(m,function(t,e){(!i||!i.include||d(i.include,e)>=0)&&t(o,r,a)})}function i(t){return t[0]>t[1]&&t[Qe](),t}function n(t,e){return c.parseFinder(t,e,{includeMainTypes:v})}function r(t,e,n,r){var a=n[Wi](["x","y"][t]),o=i(l.map([0,1],function(t){return e?a[Bi](a.toLocalCoord(r[t])):a[Fi](a[Hi](r[t]))})),s=[];return s[t]=o,s[1-t]=[0/0,0/0],{values:o,xyMinMax:s}}function a(t,e,i,n){return[e[0]-n[t]*i[0],e[1]-n[t]*i[1]]}function o(t,e){var i=s(t),n=s(e),r=[i[0]/n[0],i[1]/n[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}function s(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[0/0,0/0]}var l=t(oa),u=t(Ci),c=t(ii),h=l.each,d=l[Ar],f=l.curry,p=[Zi,Gi],v=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],g=e[jr];g.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,function(t,e,i){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var n=_[t.brushType](0,i,e);t.__rangeOffset={offset:b[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax}}})},g.matchOutputRanges=function(t,e,i){h(t,function(t){var n=this.findTargetInfo(t,e);n&&n!==!0&&l.each(n.coordSyses,function(n){var r=_[t.brushType](1,n,t.range);i(t,r.values,n,e)})},this)},g.setInputRanges=function(t,e){h(t,function(t){var i=this.findTargetInfo(t,e);if(t.range=t.range||[],i&&i!==!0){t.panelId=i.panelId;var n=_[t.brushType](0,i.coordSys,t.coordRange),r=t.__rangeOffset;t.range=r?b[t.brushType](n.values,r[oi],o(n.xyMinMax,r.xyMinMax)):n.values}},this)},g.makePanelOpts=function(t){return l.map(this._targetInfoList,function(e){return{panelId:e.panelId,rect:e.getPanelRect(),defaultBrushType:t&&t(e)}})},g.controlSeries=function(t,e,i){var n=this.findTargetInfo(t,i);return n===!0||n&&d(n.coordSyses,e[Sr])>=0},g.findTargetInfo=function(t,e){for(var i=this._targetInfoList,r=n(e,t),a=0;a<i[Tr];a++){var o=i[a],s=t.panelId;if(s){if(o.panelId===s)return o}else for(var a=0;a<y[Tr];a++)if(y[a](r,o))return o}return!0};var m={grid:function(t,e){var i=t.xAxisModels,n=t.yAxisModels,r=t.gridModels,a={},o={},s={};(i||n||r)&&(h(i,function(t){var e=t.axis.grid.model;a[e.id]=e,o[e.id]=!0}),h(n,function(t){var e=t.axis.grid.model;a[e.id]=e,s[e.id]=!0}),h(r,function(t){a[t.id]=t,o[t.id]=!0,s[t.id]=!0}),h(a,function(t){var r=t[Sr],a=[];h(r.getCartesians(),function(t){(d(i,t[Wi]("x").model)>=0||d(n,t[Wi]("y").model)>=0)&&a.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSys:a[0],coordSyses:a,getPanelRect:x.grid,xAxisDeclared:o[t.id],yAxisDeclared:s[t.id]})}))},geo:function(t,e){h(t.geoModels,function(t){var i=t[Sr];e.push({panelId:"geo--"+t.id,geoModel:t,coordSys:i,coordSyses:[i],getPanelRect:x.geo})})}},y=[function(t,e){var i=t.xAxisModel,n=t.yAxisModel,r=t.gridModel;return!r&&i&&(r=i.axis.grid.model),!r&&n&&(r=n.axis.grid.model),r&&r===e.gridModel},function(t,e){var i=t.geoModel;return i&&i===e.geoModel}],x={grid:function(){return this.coordSys.grid[Pn]().clone()},geo:function(){var t=this.coordSys,e=t[wn]().clone();return e[ee](u.getTransform(t)),e}},_={lineX:f(r,0),lineY:f(r,1),rect:function(t,e,n){var r=e[p[t]]([n[0][0],n[1][0]]),a=e[p[t]]([n[0][1],n[1][1]]),o=[i([r[0],a[0]]),i([r[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(t,e,i){var n=[[1/0,-1/0],[1/0,-1/0]],r=l.map(i,function(i){var r=e[p[t]](i);return n[0][0]=Math.min(n[0][0],r[0]),n[1][0]=Math.min(n[1][0],r[1]),n[0][1]=Math.max(n[0][1],r[0]),n[1][1]=Math.max(n[1][1],r[1]),r});return{values:r,xyMinMax:n}}},b={lineX:f(a,0),lineY:f(a,1),rect:function(t,e,i){return[[t[0][0]-i[0]*e[0][0],t[0][1]-i[0]*e[0][1]],[t[1][0]-i[1]*e[1][0],t[1][1]-i[1]*e[1][1]]]},polygon:function(t,e,i){return l.map(t,function(t,n){return[t[0]-i[0]*e[n][0],t[1]-i[1]*e[n][1]]})}};return e}),e("echarts/visual/VisualMapping",[sa,oa,Jr,"../util/number"],function(t){function e(t){var e=t.pieceList;t.hasSpecialVisual=!1,f.each(e,function(e,i){e.originIndex=i,null!=e.visual&&(t.hasSpecialVisual=!0)})}function i(t){var e=t[W],i=t.visual,n=t.categoryMap={};if(g(e,function(t,e){n[t]=e}),!f[Gn](i)){var r=[];f[Br](i)?g(i,function(t,e){var i=n[e];r[null!=i?i:y]=t}):r[y]=i,i=h(t,r)}for(var a=e[Tr]-1;a>=0;a--)null==i[a]&&(delete n[e[a]],e.pop())}function n(t,e){var i=t.visual,n=[];f[Br](i)?g(i,function(t){n.push(t)}):null!=i&&n.push(i);var r={color:1,symbol:1};e||1!==n[Tr]||r.hasOwnProperty(t.type)||(n[1]=n[0]),h(t,n)}function r(t){return{applyVisual:function(e,i,n){e=this.mapValueToVisual(e),n("color",t(i("color"),e))
  },_doMap:u([0,1])}}function a(t){var e=this[fn].visual;return e[Math.round(v(t,[0,1],[0,e[Tr]-1],!0))]||{}}function o(t){return function(e,i,n){n(t,this.mapValueToVisual(e))}}function s(t){var e=this[fn].visual;return e[this[fn].loop&&t!==y?t%e[Tr]:t]}function l(){return this[fn].visual[0]}function u(t){return{linear:function(e){return v(e,t,this[fn].visual,!0)},category:s,piecewise:function(e,i){var n=c.call(this,i);return null==n&&(n=v(e,t,this[fn].visual,!0)),n},fixed:l}}function c(t){var e=this[fn],i=e.pieceList;if(e.hasSpecialVisual){var n=x.findPieceIndex(t,i),r=i[n];if(r&&r.visual)return r.visual[this.type]}}function h(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=f.map(e,function(t){return p.parse(t)})),e}function d(t,e,i){return t?i>=e:i>e}var f=t(oa),p=t(Jr),v=t("../util/number")[ve],g=f.each,m=f[Br],y=-1,x=function(t){var r=t.mappingMethod,a=t.type,o=this[fn]=f.clone(t);this.type=a,this.mappingMethod=r,this._normalizeData=b[r];var s=_[a];this.applyVisual=s.applyVisual,this.getColorMapper=s.getColorMapper,this._doMap=s._doMap[r],"piecewise"===r?(n(o),e(o)):r===ji?o[W]?i(o):n(o,!0):(f[Gr](r!==J||o.dataExtent),n(o))};x[jr]={constructor:x,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return f.bind(this._normalizeData,this)}};var _=x.visualHandlers={color:{applyVisual:o("color"),getColorMapper:function(){var t=this[fn];return f.bind(t.mappingMethod===ji?function(t,e){return!e&&(t=this._normalizeData(t)),s.call(this,t)}:function(e,i,n){var r=!!n;return!i&&(e=this._normalizeData(e)),n=p.fastMapToColor(e,t.parsedVisual,n),r?n:p.stringify(n,"rgba")},this)},_doMap:{linear:function(t){return p.stringify(p.fastMapToColor(t,this[fn].parsedVisual),"rgba")},category:s,piecewise:function(t,e){var i=c.call(this,e);return null==i&&(i=p.stringify(p.fastMapToColor(t,this[fn].parsedVisual),"rgba")),i},fixed:l}},colorHue:r(function(t,e){return p.modifyHSL(t,e)}),colorSaturation:r(function(t,e){return p.modifyHSL(t,null,e)}),colorLightness:r(function(t,e){return p.modifyHSL(t,null,null,e)}),colorAlpha:r(function(t,e){return p.modifyAlpha(t,e)}),opacity:{applyVisual:o(pn),_doMap:u([0,1])},symbol:{applyVisual:function(t,e,i){var n=this.mapValueToVisual(t);if(f[Dn](n))i(We,n);else if(m(n))for(var r in n)n.hasOwnProperty(r)&&i(r,n[r])},_doMap:{linear:a,category:s,piecewise:function(t,e){var i=c.call(this,e);return null==i&&(i=a.call(this,t)),i},fixed:l}},symbolSize:{applyVisual:o(Ze),_doMap:u([0,1])}},b={linear:function(t){return v(t,this[fn].dataExtent,[0,1],!0)},piecewise:function(t){var e=this[fn].pieceList,i=x.findPieceIndex(t,e,!0);return null!=i?v(i,[0,e[Tr]-1],[0,1],!0):void 0},category:function(t){var e=this[fn][W]?this[fn].categoryMap[t]:t;return null==e?y:e},fixed:f.noop};return x.listVisualTypes=function(){var t=[];return f.each(_,function(e,i){t.push(i)}),t},x.addVisualHandler=function(t,e){_[t]=e},x.isValidType=function(t){return _.hasOwnProperty(t)},x.eachVisual=function(t,e,i){f[Br](t)?f.each(t,e,i):e.call(i,t)},x.mapVisual=function(t,e,i){var n,r=f[Gn](t)?[]:f[Br](t)?{}:(n=!0,null);return x.eachVisual(t,function(t,a){var o=e.call(i,t,a);n?r=o:r[a]=o}),r},x.retrieveVisuals=function(t){var e,i={};return t&&g(_,function(n,r){t.hasOwnProperty(r)&&(i[r]=t[r],e=!0)}),e?i:null},x.prepareVisualTypes=function(t){if(m(t)){var e=[];g(t,function(t,i){e.push(i)}),t=e}else{if(!f[Gn](t))return[];t=t.slice()}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t[Ar]("color")?1:-1}),t},x.dependsOn=function(t,e){return"color"===e?!(!t||0!==t[Ar](e)):t===e},x.findPieceIndex=function(t,e,i){function n(e,i){var n=Math.abs(e-t);a>n&&(a=n,r=i)}for(var r,a=1/0,o=0,s=e[Tr];s>o;o++){var l=e[o].value;if(null!=l){if(l===t||typeof l===Ur&&l===t+"")return o;i&&n(l,o)}}for(var o=0,s=e[Tr];s>o;o++){var u=e[o],c=u[re],h=u.close;if(c){if(c[0]===-1/0){if(d(h[1],t,c[1]))return o}else if(1/0===c[1]){if(d(h[0],c[0],t))return o}else if(d(h[0],c[0],t)&&d(h[1],t,c[1]))return o;i&&n(c[0],o),i&&n(c[1],o)}}return i?1/0===t?e[Tr]-1:t===-1/0?0:r:void 0},x}),e("echarts/component/axis/cartesianAxisHelper",[sa,oa],function(t){var e=t(oa),i={};return i[ue]=function(t,i,n){function r(t){var e=a[Wi](t);return e[Fi](e[Hi](0))}n=n||{};var a=t[Sr],o=i.axis,s={},l=o[gn],u=o.onZero?"onZero":l,c=o.dim,h=a[Pn](),d=[h.x,h.x+h.width,h.y,h.y+h[Wr]],f=i.get(oi)||0,p={x:{top:d[2]-f,bottom:d[3]+f},y:{left:d[0]-f,right:d[1]+f}};p.x.onZero=Math.max(Math.min(r("y"),p.x[Cr]),p.x.top),p.y.onZero=Math.max(Math.min(r("x"),p.y.right),p.y.left),s[gn]=["y"===c?p.y[u]:d[0],"x"===c?p.x[u]:d[3]],s[Me]=Math.PI/2*("x"===c?0:1);var v={top:-1,bottom:1,left:-1,right:1};s.labelDirection=s.tickDirection=s.nameDirection=v[l],s.labelOffset=o.onZero?p[c][l]-p[c].onZero:0,i.get("axisTick.inside")&&(s.tickDirection=-s.tickDirection),e[Di](n.labelInside,i.get("axisLabel.inside"))&&(s.labelDirection=-s.labelDirection);var g=i.get("axisLabel.rotate");return s.labelRotate="top"===u?-g:g,s.labelInterval=o.getLabelInterval(),s.z2=1,s},i}),e("echarts/chart/helper/WhiskerBoxDraw",[sa,oa,Ci,"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[Je](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(oa),o=t(Ci),s=t("zrender/graphic/Path"),l=s[lr]({type:"whiskerInBox",shape:{},buildPath:function(t,e){for(var i in e)if(e.hasOwnProperty(i)&&0===i[Ar]("ends")){var n=e[i];t[D](n[0][0],n[0][1]),t[L](n[1][0],n[1][1])}}}),u=e[jr];u._createContent=function(t,e,r){var s=t[pi](e),u=s.chartLayout===le?1:0,c=0;this.add(new o[je]({shape:{points:r?i(s.bodyEnds,u,s):s.bodyEnds},style:{strokeNoScale:!0},z2:100})),this.bodyIndex=c++;var h=a.map(s.whiskerEnds,function(t){return r?i(t,u,s):t});this.add(new l({shape:n(h),style:{strokeNoScale:!0},z2:100})),this.whiskerIndex=c++},u[Je]=function(t,e,i){var r=this._seriesModel=t[Ye],a=t[pi](e),s=o[i?vi:mi];s(this[Ce](this.bodyIndex),{shape:{points:a.bodyEnds}},r,e),s(this[Ce](this.whiskerIndex),{shape:n(a.whiskerEnds)},r,e),this.styleUpdater.call(null,this,t,e)},a[In](e,o.Group);var c=r[jr];return c[Je]=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[xi](n,a),i.add(a)}})[yr](function(a,o){var s=n[yi](o);return t.hasValue(a)?(s?s[Je](t,a):s=new e(t,a,r),i.add(s),void t[xi](a,s)):void i[ur](s)})[ur](function(t){var e=n[yi](t);e&&i[ur](e)})[bi](),this._data=t},c[ur]=function(){var t=this.group,e=this._data;this._data=null,e&&e[gi](function(e){e&&t[ur](e)})},r}),e("echarts/coord/radar/IndicatorAxis",[sa,oa,"../Axis"],function(t){function e(t,e,i){n.call(this,t,e,i),this.type="value",this.angle=0,this.name="",this.model}var i=t(oa),n=t("../Axis");return i[In](e,n),e}),e("echarts/data/helper/linkList",[sa,oa],function(t){function e(t){var e=t.mainData,a=t.datas;a||(a={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,s(e,a,t),c(a,function(n){c(e.TRANSFERABLE_METHODS,function(e){n.wrapMethod(e,u.curry(i,t))})}),e.wrapMethod("cloneShallow",u.curry(r,t)),c(e.CHANGABLE_METHODS,function(i){e.wrapMethod(i,u.curry(n,t))}),u[Gr](a[e[qn]]===e)}function i(t,e){if(o(this)){var i=u[lr]({},this[h]);i[this[qn]]=e,s(e,i,t)}else l(e,this[qn],this[d],t);return e}function n(t,e){return t.struct&&t.struct[yr](this),e}function r(t,e){return c(e[h],function(i,n){i!==e&&l(i.cloneShallow(),n,e,t)}),e}function a(t){var e=this[d];return null==t||null==e?e:e[h][t]}function o(t){return t[d]===t}function s(t,e,i){t[h]={},c(e,function(e,n){l(e,n,t,i)})}function l(t,e,i,n){i[h][e]=t,t[d]=i,t[qn]=e,n.struct&&(t[n.structAttr]=n.struct,n.struct[n.datasAttr[e]]=t),t.getLinkedData=a}var u=t(oa),c=u.each,h="\x00__link_datas",d="\x00__link_mainData";return e}),e("echarts/component/helper/RoamController",[sa,"zrender/mixin/Eventful",oa,u,"./interactionMutex"],function(t){function e(t){if(!t[Yn]||!t[Yn][Z]){var e=t[G],i=t[B];this.containsPoint&&this.containsPoint(e,i)&&(this._x=e,this._y=i,this._dragging=!0)}}function i(t){if(this._dragging&&(h.stop(t.event),"pinch"!==t.gestureEvent)){if(d.isTaken(this._zr,"globalPan"))return;var e=t[G],i=t[B],n=this._x,r=this._y,a=e-n,o=i-r;this._x=e,this._y=i;var s=this[Yn];if(s){var l=s[gn];l[0]+=a,l[1]+=o,s.dirty()}h.stop(t.event),this[nr]("pan",a,o,n,r,e,i)}}function n(){this._dragging=!1}function r(t){if(0!==t.wheelDelta){var e=t.wheelDelta>0?1.1:1/1.1;o.call(this,t,e,t[G],t[B])}}function a(t){if(!d.isTaken(this._zr,"globalPan")){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){if(this.containsPoint&&this.containsPoint(i,n)){h.stop(t.event);var r=this[Yn],a=this.zoomLimit;if(r){var o=r[gn],s=r.scale,l=this.zoom=this.zoom||1;if(l*=e,a){var u=a.min||0,c=a.max||1/0;l=Math.max(Math.min(c,l),u)}var d=l/this.zoom;this.zoom=l,o[0]-=(i-o[0])*(d-1),o[1]-=(n-o[1])*(d-1),s[0]*=d,s[1]*=d,r.dirty()}this[nr]("zoom",e,i,n)}}function s(t,o){this[Yn]=o,this.containsPoint,this.zoomLimit,this.zoom,this._zr=t;var s=c.bind,u=s(e,this),h=s(i,this),d=s(n,this),f=s(r,this),p=s(a,this);l.call(this),this.setContainsPoint=function(t){this.containsPoint=t},this.enable=function(e){this.disable(),null==e&&(e=!0),(e===!0||"move"===e||"pan"===e)&&(t.on(Kn,u),t.on(Jn,h),t.on($n,d)),(e===!0||"scale"===e||"zoom"===e)&&(t.on("mousewheel",f),t.on("pinch",p))},this.disable=function(){t.off(Kn,u),t.off(Jn,h),t.off($n,d),t.off("mousewheel",f),t.off("pinch",p)},this[ir]=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}var l=t("zrender/mixin/Eventful"),c=t(oa),h=t(u),d=t("./interactionMutex");return c.mixin(s,l),s}),e("echarts/data/Graph",[sa,oa],function(t){function e(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this[br]=null==e?-1:e}function i(t,e,i){this.node1=t,this.node2=e,this[br]=null==i?-1:i}var n=t(oa),r=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},a=r[jr];a.type="graph",a.isDirected=function(){return this._directed},a.addNode=function(t,i){t=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[ye](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(typeof t===zn&&(t=this.nodes[t]),typeof n===zn&&(n=this.nodes[n]),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[ye](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[H]=function(t,e){for(var i=this.nodes,n=i[Tr],r=0;n>r;r++)i[r][br]>=0&&t.call(e,i[r],r)},a.eachEdge=function(t,e){for(var i=this.edges,n=i[Tr],r=0;n>r;r++)i[r][br]>=0&&i[r].node1[br]>=0&&i[r].node2[br]>=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[Tr];o++)this.nodes[o].__visited=!1;if(!t.call(r,i,null))for(var s=[i];s[Tr];)for(var l=s.shift(),u=l[a],o=0;o<u[Tr];o++){var c=u[o],h=c.node1===l?c.node2:c.node1;if(!h.__visited){if(t.call(h,h,l))return;s.push(h),h.__visited=!0}}}},a[yr]=function(){for(var t=this.data,e=this.edgeData,i=this.nodes,n=this.edges,r=0,a=i[Tr];a>r;r++)i[r][br]=-1;for(var r=0,a=t.count();a>r;r++)i[t[ye](r)][br]=r;e.filterSelf(function(t){var i=n[e[ye](t)];return i.node1[br]>=0&&i.node2[br]>=0});for(var r=0,a=n[Tr];a>r;r++)n[r][br]=-1;for(var r=0,a=e.count();a>r;r++)n[e[ye](r)][br]=r},a.clone=function(){for(var t=new r(this._directed),e=this.nodes,i=this.edges,n=0;n<e[Tr];n++)t.addNode(e[n].id,e[n][br]);for(var n=0;n<i[Tr];n++){var a=i[n];t.addEdge(a.node1.id,a.node2.id,a[br])}return t},e[jr]={constructor:e,degree:function(){return this.edges[Tr]},inDegree:function(){return this.inEdges[Tr]},outDegree:function(){return this.outEdges[Tr]},getModel:function(t){if(!(this[br]<0)){var e=this.hostGraph,i=e.data[_i](this[br]);return i[Er](t)}}},i[jr][Er]=function(t){if(!(this[br]<0)){var e=this.hostGraph,i=e.edgeData[_i](this[br]);return i[Er](t)}};var o=function(t,e){return{getValue:function(i){var n=this[t][e];return n.get(n.getDimension(i||"value"),this[br])},setVisual:function(i,n){this[br]>=0&&this[t][e][He](this[br],i,n)},getVisual:function(i,n){return this[t][e][_r](this[br],i,n)},setLayout:function(i,n){this[br]>=0&&this[t][e][ri](this[br],i,n)},getLayout:function(){return this[t][e][pi](this[br])},getGraphicEl:function(){return this[t][e][yi](this[br])},getRawIndex:function(){return this[t][e][ye](this[br])}}};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",[sa,Ji,Ki,oa,"./ParallelAxis",Ci,Kr],function(t){function e(t,e,i){this._axesMap={},this._axesLayout={},this[Pi]=t[Pi],this._rect,this[Nr]=t,this._init(t,e,i)}var i=t(Ji),n=t(Ki),r=t(oa),a=t("./ParallelAxis"),o=t(Ci),s=t(Kr),l=r.each,u=Math.PI;return e[jr]={type:"parallel",constructor:e,_init:function(t,e){var i=t[Pi],r=t.parallelAxisIndex;l(i,function(t,i){var o=r[i],s=e[X]("parallelAxis",o),l=this._axesMap[t]=new a(t,n[Ei](s),[0,0],s.get("type"),o),u=l.type===ji;l[Oi]=u&&s.get(Vi),l[qi]=s.get(qi),s.axis=l,l.model=s},this)},update:function(t){this._updateAxesFromSeries(this[Nr],t)},_updateAxesFromSeries:function(t,e){e[vr](function(i){if(t.contains(i,e)){var r=i[na]();l(this[Pi],function(t){var e=this._axesMap[t];e.scale[zi](r,t),n[Yi](e.scale,e.model)},this)}},this)},resize:function(t,e){this._rect=i[_n](t[bn](),{width:e[Or](),height:e[Vr]()}),this._layoutAxes(t)},getRect:function(){return this._rect},_layoutAxes:function(t){var e=this._rect,i=t.get(ue),n=this._axesMap,r=this[Pi],a=[e.width,e[Wr]],o=i===le?0:1,c=a[o],h=a[1-o],d=[0,h];l(n,function(t){var e=t[qi]?1:0;t[nn](d[e],d[1-e])});var f,p=t.get("axisExpandable"),v=t.get("axisExpandWidth"),g=t.get("axisExpandCenter"),x=t.get("axisExpandCount")||0;if(null!=g){var _=Math.max(0,Math.floor(g-(x-1)/2)),b=_+x-1;b>=r[Tr]&&(b=r[Tr]-1,_=Math.max(0,Math.floor(b-x+1))),f=[_,b]}var w=p&&f&&v?function(t,e,i){var n,r=f[1]-f[0],a=(e-v*r)/(i-1-r);return n=t<f[0]?(t-1)*a:t<=f[1]?f[0]*a+(t-f[0])*v:t===i-1?e:f[0]*a+r*v+(t-f[1])*a,{position:n,axisNameAvailableWidth:f[0]<t&&t<f[1]?v:a}}:function(t,e,i){var n=e/(i-1);return{position:n*t,axisNameAvailableWidth:n}};l(r,function(t,n){var a=w(n,c,r[Tr]),o={horizontal:{x:a[gn],y:h},vertical:{x:0,y:a[gn]}},l={horizontal:u/2,vertical:0},d=[o[i].x+e.x,o[i].y+e.y],p=l[i],v=s[xr]();s[y](v,v,p),s[m](v,v,d),this._axesLayout[t]={position:d,rotation:p,transform:v,axisNameAvailableWidth:a.axisNameAvailableWidth,tickDirection:1,labelDirection:1,axisExpandWindow:f}},this)},getAxis:function(t){return this._axesMap[t]},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap[e][Hi](t),e)},eachActiveState:function(t,e,i){for(var n=this[Pi],r=this._axesMap,a=this.hasAxisbrushed(),o=0,s=t.count();s>o;o++){var l,u=t.getValues(n,o);if(a){l="active";for(var c=0,h=n[Tr];h>c;c++){var d=n[c],f=r[d].model.getActiveState(u[c],c);if("inactive"===f){l="inactive";break}}}else l=Mi;e.call(i,l,o)}},hasAxisbrushed:function(){for(var t=this[Pi],e=this._axesMap,i=!1,n=0,r=t[Tr];r>n;n++)e[t[n]].model.getActiveState()!==Mi&&(i=!0);return i},axisCoordToPoint:function(t,e){var i=this._axesLayout[e];return o[ee]([t,0],i[ie])},getAxisLayout:function(t){return r.clone(this._axesLayout[t])},findClosestAxisDim:function(t){var e,i=1/0;return r.each(this._axesLayout,function(n,r){var a=o[ee](t,n[ie],!0),s=this._axesMap[r][on]();if(!(a[0]<s[0]||a[0]>s[1])){var l=Math.abs(a[1]);i>l&&(i=l,e=r)}},this),e}},e}),e("echarts/component/axisPointer/globalListener",[sa,Qr,oa,ii],function(t){function e(t,e){function o(n,r){t.on(n,function(n){var o=a(e);u(l(t).records,function(t){t&&r(t,n,o[sr])}),i(o.pendings,e)})}l(t).initialized||(l(t).initialized=!0,o("click",s.curry(r,"click")),o(Jn,s.curry(r,Jn)),o("globalout",n))}function i(t,e){var i,n=t.showTip[Tr],r=t.hideTip[Tr];n?i=t.showTip[n-1]:r&&(i=t.hideTip[r-1]),i&&(i[sr]=null,e[sr](i))}function n(t,e,i){t.handler("leave",null,i)}function r(t,e,i,n){e.handler(t,i,n)}function a(t){var e={showTip:[],hideTip:[]},i=function(n){var r=e[n.type];r?r.push(n):(n[sr]=i,t[sr](n))};return{dispatchAction:i,pendings:e}}var o=t(Qr),s=t(oa),l=t(ii).makeGetter(),u=s.each,c={};return c[En]=function(t,i,n){if(!o.node){var r=i.getZr();l(r).records||(l(r).records={}),e(r,i);var a=l(r).records[t]||(l(r).records[t]={});a.handler=n}},c.unregister=function(t,e){if(!o.node){var i=e.getZr(),n=(l(i).records||{})[t];n&&(l(i).records[t]=null)}},c}),e("echarts/component/axis/RadiusAxisView",[sa,oa,Ci,"./AxisBuilder","./AxisView"],function(t){function e(t,e,i){return{position:[t.cx,t.cy],rotation:i/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e[Er](R).get(y),z2:1}}var i=t(oa),n=t(Ci),r=t("./AxisBuilder"),a=[E,R,V,v],o=[O,"splitArea"];t("./AxisView")[lr]({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(t){if(this.group[Ln](),t.get("show")){var n=t.axis,s=n.polar,l=s.getAngleAxis(),u=n[f](),c=l[on]()[0],h=n[on](),d=e(s,t,c),v=new r(t,d);i.each(a,v.add,v),this.group.add(v.getGroup()),i.each(o,function(e){t.get(e+".show")&&!n.scale[p]()&&this["_"+e](t,s,c,h,u)},this)}},_splitLine:function(t,e,r,a,o){var s=t[Er](O),l=s[Er](_e),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=0;d<o[Tr];d++){var f=c++%u[Tr];h[f]=h[f]||[],h[f].push(new n[j]({shape:{cx:e.cx,cy:e.cy,r:o[d]},silent:!0}))}for(var d=0;d<h[Tr];d++)this.group.add(n.mergePath(h[d],{style:i[or]({stroke:u[d%u[Tr]],fill:null},l[Ke]()),silent:!0}))},_splitArea:function(t,e,r,a,o){var s=t[Er]("splitArea"),l=s[Er]("areaStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=o[0],f=1;f<o[Tr];f++){var p=c++%u[Tr];h[p]=h[p]||[],h[p].push(new n.Sector({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[Tr];f++)this.group.add(n.mergePath(h[f],{style:i[or]({fill:u[f%u[Tr]]},l[$e]()),silent:!0}))}})}),e("echarts/component/dataZoomSelect",[sa,"./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/dataZoom/history",[sa,oa],function(t){function e(t){var e=t[r];return e||(e=t[r]=[{}]),e}var i=t(oa),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[Tr]-1;n>=0;n--){var a=r[n];if(a[i])break}if(0>n){var o=t[C]({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[Tr]-1];i[Tr]>1&&i.pop();var a={};return n(r,function(t,e){for(var n=i[Tr]-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)[Tr]}};return a}),e("echarts/component/timeline/TimelineView",[sa,"../../view/Component"],function(t){var e=t("../../view/Component");return e[lr]({type:"timeline"})}),e("echarts/component/timeline/TimelineAxis",[sa,oa,"../../coord/Axis",Ki],function(t){var e=t(oa),i=t("../../coord/Axis"),n=t(Ki),r=function(t,e,n,r){i.call(this,t,e,n),this.type=r||"value",this._autoLabelInterval,this.model=null};return r[jr]={constructor:r,getLabelInterval:function(){var t=this.model,i=t[Er](we),r=i.get(re);if(null!=r&&"auto"!=r)return r;var r=this._autoLabelInterval;return r||(r=this._autoLabelInterval=n.getAxisLabelInterval(e.map(this.scale[an](),this[Hi],this),n[Xi](this,i.get(z)),i[Er](Tn)[Sn](),t.get(A)===le)),r},isLabelIgnored:function(t){if(this.type===ji){var e=this.getLabelInterval();return typeof e===Bn&&!e(t,this.scale[rn](t))||t%(e+1)}}},e[In](r,i),r}),e("echarts/component/dataZoom/roams",[sa,oa,"../../component/helper/RoamController","../../util/throttle"],function(t){function e(t){var e=t.getZr();return e[d]||(e[d]={})}function i(t,e,i){var n=new u(t.getZr());return n.enable(),n.on("pan",h(r,i)),n.on("zoom",h(a,i)),n}function n(t){l.each(t,function(e,i){e.count||(e.controller[ir](),delete t[i])})}function r(t,e,i,n,r,a,s){o(t,function(o){return o.panGetRange(t.controller,e,i,n,r,a,s)})}function a(t,e,i,n){o(t,function(r){return r.zoomGetRange(t.controller,e,i,n)})}function o(t,e){var i=[];l.each(t.dataZoomInfos,function(t){var n=e(t);n&&i.push({dataZoomId:t.dataZoomId,start:n[0],end:n[1]})}),t[sr](i)}function s(t,e){t[sr]({type:"dataZoom",batch:e})}var l=t(oa),u=t("../../component/helper/RoamController"),c=t("../../util/throttle"),h=l.curry,d="\x00_ec_dataZoom_roams",f={register:function(t,r){var a=e(t),o=r.dataZoomId,u=r.coordId;l.each(a,function(t){var e=t.dataZoomInfos;e[o]&&l[Ar](r.allCoordIds,u)<0&&(delete e[o],t.count--)}),n(a);var h=a[u];h||(h=a[u]={coordId:u,dataZoomInfos:{},count:0},h.controller=i(t,r,h),h[sr]=l.curry(s,t)),h.controller.setContainsPoint(r.containsPoint),c.createOrUpdate(h,sr,r.throttleRate,"fixRate"),!h.dataZoomInfos[o]&&h.count++,h.dataZoomInfos[o]=r},unregister:function(t,i){var r=e(t);l.each(r,function(t){t.controller[ir]();var e=t.dataZoomInfos;e[i]&&(delete e[i],t.count--)}),n(r)},shouldRecordRange:function(t,e){if(t&&"dataZoom"===t.type&&t.batch)for(var i=0,n=t.batch[Tr];n>i;i++)if(t.batch[i].dataZoomId===e)return!1;return!0},generateCoordId:function(t){return t.type+"\x00_"+t.id}};return f}),e("echarts/component/visualMap/VisualMapModel",[sa,Ai,oa,Qr,"../../visual/visualDefault","../../visual/VisualMapping","../../visual/visualSolution",ii,ge],function(t){var e=t(Ai),i=t(oa),n=t(Qr),r=t("../../visual/visualDefault"),a=t("../../visual/VisualMapping"),o=t("../../visual/visualSolution"),s=a.mapVisual,l=t(ii),u=a.eachVisual,c=t(ge),h=i[Gn],d=i.each,f=c.asc,p=c[ve],v=i.noop,g=["#f6efa6","#d88273","#bf444c"],m=e[On]({type:"visualMap",dependencies:[cr],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange",Yn,"controller","color"],dataBound:[-1/0,1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:null,min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(t,e,i){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this[q](t,i)},optionUpdated:function(t,e){var i=this[fn];n[zr]||(i.realtime=!1),!e&&o.replaceVisualOption(i,t,this.replacableOptionKeys),this.textStyleModel=this[Er](Tn),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(t){var e=this.stateList;t=i.bind(t,this),this.controllerVisuals=o.createVisualMappings(this[fn].controller,e,t),this.targetVisuals=o.createVisualMappings(this[fn][Yn],e,t)},resetTargetSeries:function(){var t=this[fn],e=null==t[jn];t[jn]=e?[]:l[S](t[jn]),e&&this[M][vr](function(e,i){t[jn].push(i)})},eachTargetSeries:function(t,e){i.each(this[fn][jn],function(i){t.call(e,this[M][Xn](i))},this)},isTargetSeries:function(t){var e=!1;return this.eachTargetSeries(function(i){i===t&&(e=!0)}),e},formatValueText:function(t,e,n){function r(t){return t===u[0]?"min":t===u[1]?"max":(+t)[Re](l)}var a,o,s=this[fn],l=s.precision,u=this.dataBound,c=s[z];return n=n||["<",">"],i[Gn](t)&&(t=t.slice(),a=!0),o=e?t:a?[r(t[0]),r(t[1])]:r(t),i[Dn](c)?c[Hn](N,a?o[0]:o)[Hn]("{value2}",a?o[1]:o):i.isFunction(c)?a?c(t[0],t[1]):c(t):a?t[0]===u[0]?n[0]+" "+o[1]:t[1]===u[1]?n[1]+" "+o[0]:o[0]+" - "+o[1]:o},resetExtent:function(){var t=this[fn],e=f([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this[fn].dimension;return null!=e?e:t[Pi][Tr]-1},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){function t(t){h(o.color)&&!t.inRange&&(t.inRange={color:o.color.slice()[Qe]()}),t.inRange=t.inRange||{color:g},d(this.stateList,function(e){var n=t[e];if(i[Dn](n)){var a=r.get(n,"active",v);a?(t[e]={},t[e][n]=a):delete t[e]}},this)}function e(t,e,i){var n=t[e],o=t[i];n&&!o&&(o=t[i]={},d(n,function(t,e){if(a.isValidType(e)){var i=r.get(e,"inactive",v);null!=i&&(o[e]=i,"color"!==e||o.hasOwnProperty(pn)||o.hasOwnProperty("colorAlpha")||(o[pn]=[0,0]))}}))}function n(t){var e=(t.inRange||{})[We]||(t.outOfRange||{})[We],n=(t.inRange||{})[Ze]||(t.outOfRange||{})[Ze],r=this.get("inactiveColor");d(this.stateList,function(a){var o=this.itemSize,l=t[a];l||(l=t[a]={color:v?r:[r]}),null==l[We]&&(l[We]=e&&i.clone(e)||(v?"roundRect":["roundRect"])),null==l[Ze]&&(l[Ze]=n&&i.clone(n)||(v?o[0]:[o[0],o[0]])),l[We]=s(l[We],function(t){return"none"===t||"square"===t?"roundRect":t});var c=l[Ze];if(null!=c){var h=-1/0;u(c,function(t){t>h&&(h=t)}),l[Ze]=s(c,function(t){return p(t,[0,h],[0,o[0]],!0)})}},this)}var o=this[fn],l={inRange:o.inRange,outOfRange:o.outOfRange},c=o[Yn]||(o[Yn]={}),f=o.controller||(o.controller={});i.merge(c,l),i.merge(f,l);var v=this.isCategory();t.call(this,c),t.call(this,f),e.call(this,c,"inRange","outOfRange"),n.call(this,f)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this[fn][W]},setSelected:v,getValueState:v,getVisualMeta:v});return m}),e("echarts/component/helper/BrushController",[sa,"zrender/mixin/Eventful",oa,K,Ci,"./interactionMutex","../../data/DataDiffer"],function(t){function e(t){N.call(this),this._zr=t,this.group=new W.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+se++,this._handlers={},X(le,function(t,e){this._handlers[e]=H.bind(t,this)},this)}function i(t,e){var i=t._zr;t._enableGlobalPan||q.take(i,ne,t._uid),X(t._handlers,function(t,e){i.on(e,t)}),t._brushType=e.brushType,t._brushOption=H.merge(H.clone(oe),e,!0)}function n(t){var e=t._zr;q.release(e,ne,t._uid),X(t._handlers,function(t,i){e.off(i,t)}),t._brushType=t._brushOption=null}function r(t,e){var i=ue[e.brushType].createCover(t,e);return s(i),i.__brushOption=e,t.group.add(i),i}function a(t,e){var i=u(e);return i.endCreating&&(i.endCreating(t,e),s(e)),e}function o(t,e){var i=e.__brushOption;u(e).updateCoverShape(t,e,i.range,i)}function s(t){t[Wn](function(t){t.z=te,t.z2=te})}function l(t,e){u(e).updateCommon(t,e),o(t,e)}function u(t){return ue[t.__brushOption.brushType]}function c(t,e,i){var n=t._panels;if(!n)return!0;var r;return X(n,function(t){t[ln](e,i)&&(r=t)}),r}function h(t,e){var i=t._panels;if(!i)return!0;var n=e.__brushOption.panelId;return null!=n?i[n]:!0}function d(t){var e=t._covers,i=e[Tr];return X(e,function(e){t.group[ur](e)},t),e[Tr]=0,!!i}function f(t,e){var i=Y(t._covers,function(t){var e=t.__brushOption,i=H.clone(e.range);return{brushType:e.brushType,panelId:e.panelId,range:i}});t[nr]("brush",i,{isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function p(t){var e=t._track;if(!e[Tr])return!1;var i=e[e[Tr]-1],n=e[0],r=i[0]-n[0],a=i[1]-n[1],o=Q(r*r+a*a,.5);return o>ee}function v(t){var e=t[Tr]-1;return 0>e&&(e=0),[t[0],t[e]]}function m(t,e,i,n){var r=new W.Group;return r.add(new W.Rect({name:"main",style:b(i),silent:!0,draggable:!0,cursor:"move",drift:j(t,e,r,"nswe"),ondragend:j(f,e,{isEnd:!0})})),X(n,function(i){r.add(new W.Rect({name:i,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:j(t,e,r,i),ondragend:j(f,e,{isEnd:!0})}))}),r}function y(t,e,i,n){var r=n.brushStyle[w]||0,a=J(r,ie),o=i[0][0],s=i[1][0],l=o-r/2,u=s-r/2,c=i[0][1],h=i[1][1],d=c-a+r/2,f=h-a+r/2,p=c-o,v=h-s,g=p+r,m=v+r;_(t,e,"main",o,s,p,v),n.transformable&&(_(t,e,"w",l,u,a,m),_(t,e,"e",d,u,a,m),_(t,e,"n",l,u,g,a),_(t,e,"s",l,f,g,a),_(t,e,"nw",l,u,a,a),_(t,e,"ne",d,u,a,a),_(t,e,"sw",l,f,a,a),_(t,e,"se",d,f,a,a))}function x(t,e){var i=e.__brushOption,n=i.transformable,r=e[Ce](0);r[ci](b(i)),r.attr({silent:!n,cursor:n?"move":"default"}),X(["w","e","n","s","se","sw","ne","nw"],function(i){var r=e.childOfName(i),a=A(t,i);r&&r.attr({silent:!n,invisible:!n,cursor:n?ae[a]+"-resize":null})})}function _(t,e,i,n,r,a,o){var s=e.childOfName(i);s&&s[hi](D(L(t,e,[[n,r],[n+a,r+o]])))}function b(t){return H[or]({strokeNoScale:!0},t.brushStyle)}function M(t,e,i,n){var r=[$(t,i),$(e,n)],a=[J(t,i),J(e,n)];return[[r[0],a[0]],[r[1],a[1]]]}function S(t){return W.getTransform(t.group)}function A(t,e){if(e[Tr]>1){e=e.split("");var i=[A(t,e[0]),A(t,e[1])];return("e"===i[0]||"w"===i[0])&&i[Qe](),i.join("")}var n={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"},i=W.transformDirection(n[e],S(t));return r[i]}function T(t,e,i,n,r,a,o){var s=n.__brushOption,u=t(s.range),c=P(i,a,o);X(r.split(""),function(t){var e=re[t];u[e[0]][e[1]]+=c[e[0]]}),s.range=e(M(u[0][0],u[1][0],u[0][1],u[1][1])),l(i,n),f(i,{isEnd:!1})}function C(t,e,i,n){var r=e.__brushOption.range,a=P(t,i,n);X(r,function(t){t[0]+=a[0],t[1]+=a[1]}),l(t,e),f(t,{isEnd:!1})}function P(t,e,i){var n=t.group,r=n.transformCoordToLocal(e,i),a=n.transformCoordToLocal(0,0);return[r[0]-a[0],r[1]-a[1]]}function L(t,e,i){var n=h(t,e);if(n===!0)return H.clone(i);var r=n[wn]();return H.map(i,function(t){var e=t[0];e=J(e,r.x),e=$(e,r.x+r.width);var i=t[1];return i=J(i,r.y),i=$(i,r.y+r[Wr]),[e,i]})}function D(t){var e=$(t[0][0],t[1][0]),i=$(t[0][1],t[1][1]),n=J(t[0][0],t[1][0]),r=J(t[0][1],t[1][1]);return{x:e,y:i,width:n-e,height:r-i}}function I(t,e){var i=e[G],n=e[B],r=t._zr;if(t._brushType){for(var a,o=t._panels,s=t._covers,l=0;l<s[Tr];l++)if(ue[s[l].__brushOption.brushType][ln](s[l],i,n)){a=!0;break}a||(o?X(o,function(t){t[ln](i,n)&&r.setCursorStyle("crosshair")}):r.setCursorStyle("crosshair"))}}function k(t){var e=t.event;e.preventDefault&&e.preventDefault()}function z(t,e,i){return t.childOfName("main")[ln](e,i)}function R(t,e,i){var n,s=e[G],l=e[B],u=t._creatingCover,h=t._creatingPanel,f=t._brushOption;if(t._track.push(t.group.transformCoordToLocal(s,l)),p(t)||u){if(h&&!u){f.brushMode===g&&d(t);var v=H.clone(f);v.brushType=V(v.brushType,h),v.panelId=h===!0?null:h.__brushPanelId,u=t._creatingCover=r(t,v),t._covers.push(u)}if(u){var m=ue[V(t._brushType,h)],y=u.__brushOption;y.range=m.getCreatingRange(L(t,u,t._track)),i&&(a(t,u),m.updateCommon(t,u)),o(t,u),n={isEnd:i}}}else i&&f.brushMode===g&&f.removeOnClick&&c(t,s,l)&&d(t)&&(n={isEnd:i,removeOnClick:!0});return n}function V(t,e){return"auto"===t?e.__defaultBrushType:t}function O(t){if(this._dragging){k(t);var e=R(this,t,!0);this._dragging=!1,this._track=[],this._creatingCover=null,e&&f(this,e)}}function E(t){return{createCover:function(e,i){return m(j(T,function(e){var i=[e,[0,100]];return t&&i[Qe](),i},function(e){return e[t]}),e,i,[["w","e"],["n","s"]][t])},getCreatingRange:function(e){var i=v(e),n=$(i[0][t],i[1][t]),r=J(i[0][t],i[1][t]);return[n,r]},updateCoverShape:function(e,i,n,r){var a,o=r.brushStyle.width;if(null==o){var s=h(e,i),l=0;if(s!==!0){var u=s[wn]();o=t?u.width:u[Wr],l=t?u.x:u.y}a=[l,l+(o||0)]}else a=[-o/2,o/2];var c=[n,a];t&&c[Qe](),y(e,i,c,r)},updateCommon:x,contain:z}}var N=t("zrender/mixin/Eventful"),H=t(oa),F=t(K),W=t(Ci),q=t("./interactionMutex"),U=t("../../data/DataDiffer"),j=H.curry,X=H.each,Y=H.map,$=Math.min,J=Math.max,Q=Math.pow,te=1e4,ee=6,ie=6,ne="globalPan",re={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},ae={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},oe={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},se=0;
  e[jr]={constructor:e,enableBrush:function(t){return this._brushType&&n(this),t.brushType&&i(this,t),this},setPanels:function(t){var e=this._panels||{},i=this._panels=t&&t[Tr]&&{},n=this.group;return i&&X(t,function(t){var r=t.panelId,a=e[r];a||(a=new W.Rect({silent:!0,invisible:!0}),n.add(a));var o=t.rect;o instanceof F||(o=F[xr](o)),a.attr("shape",o.plain()),a.__brushPanelId=r,a.__defaultBrushType=t.defaultBrushType,i[r]=a,e[r]=null}),X(e,function(t){t&&n[ur](t)}),this},mount:function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t[gn]||[0,0],rotation:t[Me]||0,scale:t.scale||[1,1]}),this},eachCover:function(t,e){X(this._covers,t,e)},updateCovers:function(t){function e(t,e){return(null!=t.id?t.id:s+e)+"-"+t.brushType}function i(t,i){return e(t.__brushOption,i)}function n(e,i){var n=t[e];if(null!=i&&u[i]===d)c[e]=u[i];else{var o=c[e]=null!=i?(u[i].__brushOption=n,u[i]):a(h,r(h,n));l(h,o)}}function o(t){u[t]!==d&&h.group[ur](u[t])}t=H.map(t,function(t){return H.merge(H.clone(oe),t,!0)});var s="\x00-brush-index-",u=this._covers,c=this._covers=[],h=this,d=this._creatingCover;return new U(u,t,i,e).add(n)[yr](n)[ur](o)[bi](),this},unmount:function(){return this.enableBrush(!1),d(this),this._zr[ur](this.group),this},dispose:function(){this.unmount(),this.off()}},H.mixin(e,N);var le={mousedown:function(t){if(this._dragging)O.call(this,t);else if(!t[Yn]||!t[Yn][Z]){k(t);var e=t[G],i=t[B];this._creatingCover=null;var n=this._creatingPanel=c(this,e,i);n&&(this._dragging=!0,this._track=[this.group.transformCoordToLocal(e,i)])}},mousemove:function(t){if(I(this,t),this._dragging){k(t);var e=R(this,t,!1);e&&f(this,e)}},mouseup:O},ue={lineX:E(0),lineY:E(1),rect:{createCover:function(t,e){return m(j(T,function(t){return t},function(t){return t}),t,e,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(t){var e=v(t);return M(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,i,n){y(t,e,i,n)},updateCommon:x,contain:z},polygon:{createCover:function(t,e){var i=new W.Group;return i.add(new W[Xe]({name:"main",style:b(e),silent:!0})),i},getCreatingRange:function(t){return t},endCreating:function(t,e){e[ur](e[Ce](0)),e.add(new W[je]({name:"main",draggable:!0,drift:j(C,t,e),ondragend:j(f,t,{isEnd:!0})}))},updateCoverShape:function(t,e,i){e[Ce](0)[hi]({points:L(t,e,i)})},updateCommon:x,contain:z}};return e}),e("echarts/chart/treemap/Breadcrumb",[sa,Ci,Ji,oa,Yr],function(t){function e(t){this.group=new r.Group,t.add(this.group)}function i(t,e,i,n,r,a){var o=[[r?t:t-c,e],[t+i,e],[t+i,e+n],[r?t:t-c,e+n]];return!a&&o[er](2,0,[t+i+c,e+n/2]),!r&&o.push([t,e+n/2]),o}function n(t,e,i){t.eventData={componentType:"series",componentSubType:"treemap",seriesIndex:e[Ni],seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:i&&i[br],name:i&&i.name},treePathInfo:i&&s.wrapTreePathInfo(i,e)}}var r=t(Ci),a=t(Ji),o=t(oa),s=t(Yr),l=8,u=8,c=5;return e[jr]={constructor:e,render:function(t,e,i,n){var r=t[Er]("breadcrumb"),o=this.group;if(o[Ln](),r.get("show")&&i){var s=r[Er](fi),l=s[Er](Tn),u={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get(Cr)},box:{width:e[Or](),height:e[Vr]()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(i,u,l),this._renderContent(t,u,s,l,n),a.positionElement(o,u.pos,u.box)}},_prepare:function(t,e,i){for(var n=t;n;n=n[Y]){var r=n[Er]().get("name"),a=i.getTextRect(r),o=Math.max(a.width+2*l,e.emptyItemWidth);e.totalWidth+=o+u,e.renderList.push({node:n,text:r,width:o})}},_renderContent:function(t,e,s,l,c){for(var h=0,d=e.emptyItemWidth,f=t.get("breadcrumb.height"),p=a.getAvailableSize(e.pos,e.box),v=e.totalWidth,g=e.renderList,m=g[Tr]-1;m>=0;m--){var y=g[m],x=y.node,_=y.width,b=y.text;v>p.width&&(v-=_-d,_=d,b="");var w=new r[je]({shape:{points:i(h,0,_,f,m===g[Tr]-1,0===m)},style:o[or](s[Cn](),{lineJoin:"bevel",text:b,textFill:l[Mn](),textFont:l[Sn]()}),z:10,onclick:o.curry(c,x)});this.group.add(w),n(w,t,x),h+=_+u}},remove:function(){this.group[Ln]()}},e}),e("echarts/util/animation",[sa,oa],function(t){function e(){var t,e=[],n={};return{add:function(t,r,a,o,s){return i[Dn](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[Tr]=0,n={},t&&t())}for(var r=e[Tr],a=0,o=e[Tr];o>a;a++){var s=e[a];s.el[Se](s[Yn],s.time,s.delay,s.easing,i)}return this}}}var i=t(oa);return{createWrap:e}}),e("echarts/component/helper/interactionMutex",[sa,Ai],function(t){function e(t){return t[i]||(t[i]={})}var i="\x00_ec_interaction_mutex",n={take:function(t,i,n){var r=e(t);r[i]=n},release:function(t,i,n){var r=e(t),a=r[i];a===n&&(r[i]=null)},isTaken:function(t,i){return!!e(t)[i]}};return t(Ai)[Nn]({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),n}),e("echarts/chart/graph/adjustEdge",[sa,"zrender/core/curve",$r],function(t){function e(t,e,i){for(var n,c=t[0],h=t[1],d=t[2],f=1/0,p=i*i,v=.1,g=.1;.9>=g;g+=.1){r[0]=s(c[0],h[0],d[0],g),r[1]=s(c[1],h[1],d[1],g);var m=u(l(r,e)-p);f>m&&(f=m,n=g)}for(var y=0;32>y;y++){var x=n+v;a[0]=s(c[0],h[0],d[0],n),a[1]=s(c[1],h[1],d[1],n),o[0]=s(c[0],h[0],d[0],x),o[1]=s(c[1],h[1],d[1],x);var m=l(a,e)-p;if(u(m)<.01)break;var _=l(o,e)-p;v/=2,0>m?_>=0?n+=v:n-=v:_>=0?n-=v:n+=v}return n}var i=t("zrender/core/curve"),n=t($r),r=[],a=[],o=[],s=i.quadraticAt,l=n.distSquare,u=Math.abs;return function(t,r){function a(t){var e=t[Mr](Ze);return e instanceof Array&&(e=(e[0]+e[1])/2),e}var o=[],s=i.quadraticSubdivide,l=[[],[],[]],u=[[],[]],c=[];r/=2,t.eachEdge(function(t){var i=t[te](),h=t[Mr]("fromSymbol"),d=t[Mr]("toSymbol");i.__original||(i.__original=[n.clone(i[0]),n.clone(i[1])],i[2]&&i.__original.push(n.clone(i[2])));var f=i.__original;if(null!=i[2]){if(n.copy(l[0],f[0]),n.copy(l[1],f[2]),n.copy(l[2],f[1]),h&&"none"!=h){var p=a(t.node1),v=e(l,f[0],p*r);s(l[0][0],l[1][0],l[2][0],v,o),l[0][0]=o[3],l[1][0]=o[4],s(l[0][1],l[1][1],l[2][1],v,o),l[0][1]=o[3],l[1][1]=o[4]}if(d&&"none"!=d){var p=a(t.node2),v=e(l,f[1],p*r);s(l[0][0],l[1][0],l[2][0],v,o),l[1][0]=o[1],l[2][0]=o[2],s(l[0][1],l[1][1],l[2][1],v,o),l[1][1]=o[1],l[2][1]=o[2]}n.copy(i[0],l[0]),n.copy(i[1],l[2]),n.copy(i[2],l[1])}else{if(n.copy(u[0],f[0]),n.copy(u[1],f[1]),n.sub(c,u[1],u[0]),n[sn](c,c),h&&"none"!=h){var p=a(t.node1);n.scaleAndAdd(u[0],u[0],c,p*r)}if(d&&"none"!=d){var p=a(t.node2);n.scaleAndAdd(u[1],u[1],c,-p*r)}n.copy(i[0],u[0]),n.copy(i[1],u[1])}})}}),e("echarts/util/array/nest",[sa,oa],function(t){function e(){function t(e,r){if(r>=n[Tr])return e;for(var a=-1,o=e[Tr],s=n[r++],l={},u={};++a<o;){var c=s(e[a]),h=u[c];h?h.push(e[a]):u[c]=[e[a]]}return i.each(u,function(e,i){l[i]=t(e,r)}),l}function e(t,a){if(a>=n[Tr])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[Tr]-1]=t,this},entries:function(i){return e(t(i,0),0)}}}var i=t(oa);return e}),e("echarts/coord/parallel/ParallelAxis",[sa,oa,"../Axis"],function(t){var e=t(oa),i=t("../Axis"),n=function(t,e,n,r,a){i.call(this,t,e,n),this.type=r||"value",this[c]=a};return n[jr]={constructor:n,model:null},e[In](n,i),n}),e("echarts/component/axisPointer/BaseAxisPointer",[sa,oa,"../../util/clazz",Ci,ii,"./modelHelper",u,"../../util/throttle"],function(t){function e(){}function o(t,e,i,n){s(g(i).lastProp,n)||(g(i).lastProp=n,e?v[mi](i,n,t):(i[Dr](),i.attr(n)))}function s(t,e){if(f[Br](t)&&f[Br](e)){var i=!0;return f.each(e,function(e,n){i&=s(t[n],e)}),!!i}return t===e}function l(t,e){t[e.get("label.show")?"show":"hide"]()}function c(t){return{position:t[gn].slice(),rotation:t[Me]||0}}function h(t,e){var i=t.get("icon"),n={x:-1,y:-1,width:2,height:2},r=f[lr]({style:{strokeNoScale:!0},rectHover:!0,cursor:"move",draggable:!0},e);return 0===i[Ar]("image://")?(n.image=i.slice(8),r.style=n,new v.Image(r)):v.makePath(i[Hn]("path://",""),r,n,mn)}function d(t,e,i){var n=e.get("z"),r=e.get(Fn);t&&t[Wn](function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=r&&(t[Fn]=r),t[Hr]=i)})}var f=t(oa),p=t("../../util/clazz"),v=t(Ci),g=t(ii).makeGetter(),m=t("./modelHelper"),y=t(u),x=t("../../util/throttle"),_=f.clone,b=f.bind;return e[jr]={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,i,n){var r=e.get("value"),a=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,n||this._lastValue!==r||this._lastStatus!==a){this._lastValue=r,this._lastStatus=a;var s=this._group,l=this._handle;if(!a||"hide"===a)return s&&s.hide(),void(l&&l.hide());s&&s.show(),l&&l.show();var u={};this.makeElOption(u,r,t,e,i);var c=u.graphicKey;c!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=c;var h=this._moveAnimation=this.determineAnimation(t,e);if(s){var p=f.curry(o,e,h);this.updatePointerEl(s,u,p,e),this.updateLabelEl(s,u,p,e)}else s=this._group=new v.Group,this.createPointerEl(s,u,t,e),this.createLabelEl(s,u,t,e),i.getZr().add(s);d(s,e,!0),this._renderHandle(r)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var i=e.get(Fr),n=t.axis,r=n.type===ji,a=e.get("snap");if(!a&&!r)return!1;if("auto"===i||null==i){var o=this.animationThreshold;if(r&&n[si]()>o)return!0;if(a){var s=m.getAxisInfo(t).seriesDataCount,l=n[on]();return Math.abs(l[0]-l[1])/s>o}return!1}return i===!0},makeElOption:function(){},createPointerEl:function(t,e){var i=e[k],n=g(t).pointerEl=new v[i.type](_(e[k]));t.add(n)},createLabelEl:function(t,e,i,n){var r=g(t).labelEl=new v.Rect(_(e.label));t.add(r),l(r,n)},updatePointerEl:function(t,e,i){var n=g(t).pointerEl;n&&(n[Zn](e[k].style),i(n,{shape:e[k].shape}))},updateLabelEl:function(t,e,i,n){var r=g(t).labelEl;r&&(r[Zn](e.label.style),i(r,{shape:e.label.shape,position:e.label[gn]}),l(r,n))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e=this._axisPointerModel,o=this._api.getZr(),s=this._handle,l=e[Er]("handle"),u=e.get("status");if(!l.get("show")||!u||"hide"===u)return s&&o[ur](s),void(this._handle=null);var c;this._handle||(c=!0,s=this._handle=h(l,{onmousemove:function(t){y.stop(t.event)},onmousedown:b(this._onHandleDragMove,this,0,0),drift:b(this._onHandleDragMove,this),ondragend:b(this._onHandleDragEnd,this)}),o.add(s)),d(s,e,!1);var p=["color",he,$,pn,r,a,n,i];s[Zn](l[Cn](null,p));var v=l.get("size");f[Gn](v)||(v=[v,v]),s.attr("scale",[v[0]/2,v[1]/2]),x.createOrUpdate(this,"_doDispatchAxisPointer",l.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,c)}},_moveHandleToValue:function(t,e){o(this._axisPointerModel,!e&&this._moveAnimation,this._handle,c(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(c(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i[Dr](),i.attr(c(n)),g(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var t=this._handle;if(t){var e=this._payloadInfo,i={type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,highDownKey:"axisPointerHandle"},n=this._axisModel.axis;i[n.dim+"AxisId"]=this._axisModel.id,this._api[sr](i)}},_onHandleDragEnd:function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api[sr]({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),i=this._group,n=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e[ur](i),n&&e[ur](n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}},e[jr].constructor=e,p.enableClassExtend(e),e}),e("echarts/component/axisPointer/viewHelper",[sa,oa,Ci,_,pe,Kr,Ki,"../axis/AxisBuilder"],function(t){function e(t,e,i,n){var r=n[Or](),a=n[Vr]();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+i,a)-i,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}var o=t(oa),s=t(Ci),l=t(_),u=t(pe),c=t(Kr),h=t(Ki),d=t("../axis/AxisBuilder"),f={};return f.buildElStyle=function(t){var e,i=t.get("type"),n=t[Er](i+"Style");return"line"===i?(e=n[Ke](),e.fill=null):"shadow"===i&&(e=n[$e](),e[ce]=null),e},f.buildLabelElOption=function(t,o,s,c,h){var d=s.get("value"),p=f.getValueLabel(d,o.axis,o[M],s.get("seriesDataIndices"),{precision:s.get("label.precision"),formatter:s.get("label.formatter")}),v=s[Er]("label"),g=v[Er](Tn),m=u.normalizeCssArray(v.get(xn)||0),y=g[Sn](),x=l[wn](p,y,h[An],h.textBaseline),_=h[gn],b=x.width+m[1]+m[3],w=x[Wr]+m[0]+m[2],S=h.align;"right"===S&&(_[0]-=b),S===mn&&(_[0]-=b/2);var A=h.verticalAlign;A===Cr&&(_[1]-=w),A===yn&&(_[1]-=w/2),e(_,b,w,c);var T=v.get(kr);T&&"auto"!==T||(T=o.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:b,height:w,r:v.get("borderRadius")},position:_.slice(),style:{text:p,textFont:y,textFill:g[Mn](),textPosition:"inside",fill:T,stroke:v.get(he)||mr,lineWidth:v.get($)||0,shadowBlur:v.get(a),shadowColor:v.get(r),shadowOffsetX:v.get(n),shadowOffsetY:v.get(i)}}},f.getValueLabel=function(t,e,i,n,r){var a=e.scale[rn](t,{precision:r.precision,pad:!0}),s=r[z];if(s){var l={value:h.getAxisRawValue(e,t),seriesData:[]};o.each(n,function(t){var e=i[Xn](t[jn]),n=t.dataIndexInside,r=e&&e[Un](n);r&&l.seriesData.push(r)}),o[Dn](s)?a=s[Hn](N,a):o.isFunction(s)&&(a=s(l))}return a},f.getTransformedPosition=function(t,e,i){var n=c[xr]();return c[y](n,n,i[Me]),c[m](n,n,i[gn]),s[ee]([t[Hi](e),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)},f.buildCartesianSingleLabelElOption=function(t,e,i,n,r,a){var o=d.innerTextLayout(i[Me],0,i.labelDirection);i.labelMargin=r.get("label.margin"),f.buildLabelElOption(e,n,r,a,{position:f.getTransformedPosition(n.axis,t,i),align:o[An],verticalAlign:o[cn]})},f.makeLineShape=function(t,e,i){return i=i||0,{x1:t[i],y1:t[1-i],x2:e[i],y2:e[1-i]}},f.makeRectShape=function(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}},f.makeSectorShape=function(t,e,i,n,r,a){return{cx:t,cy:e,r0:i,r:n,startAngle:r,endAngle:a,clockwise:!0}},f}),e("echarts/visual/visualDefault",[sa,oa],function(t){var e=t(oa),i={get:function(t,i,r){var a=e.clone((n[t]||{})[i]);return r&&e[Gn](a)?a[a[Tr]-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]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:[ea,"roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};return i}),e("echarts/action/roamHelper",[sa],function(){var t={};return t.updateCenterAndZoom=function(t,e,i){var n=t.getZoom(),r=t.getCenter(),a=e.zoom,o=t[Zi](r);if(null!=e.dx&&null!=e.dy){o[0]-=e.dx,o[1]-=e.dy;var r=t[Gi](o);t.setCenter(r)}if(null!=a){if(i){var s=i.min||0,l=i.max||1/0;a=Math.max(Math.min(n*a,l),s)/n}t.scale[0]*=a,t.scale[1]*=a;var u=t[gn],c=(e.originX-u[0])*(a-1),h=(e.originY-u[1])*(a-1);u[0]-=c,u[1]-=h,t[x]();var r=t[Gi](o);t.setCenter(r),t.setZoom(a*n)}return{center:t.getCenter(),zoom:t.getZoom()}},t}),e("echarts/component/dataZoom/SelectZoomModel",[sa,"./DataZoomModel"],function(t){var e=t("./DataZoomModel");return e[lr]({type:"dataZoom.select"})}),e("echarts/component/dataZoom/SelectZoomView",[sa,"./DataZoomView"],function(t){return t("./DataZoomView")[lr]({type:"dataZoom.select"})}),e("echarts/coord/parallel/AxisModel",[sa,d,oa,"../../model/mixin/makeStyleMapper","../axisModelCreator",ge,"../axisModelCommonMixin"],function(t){function e(t,e){return e.type||(e.data?ji:"value")}var i=t(d),n=t(oa),r=t("../../model/mixin/makeStyleMapper"),a=t("../axisModelCreator"),o=t(ge),s=i[lr]({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return r([["fill","color"],[w,$],[ce,he],["width","width"],[pn,pn]]).call(this[Er]("areaSelectStyle"))},setActiveIntervals:function(t){var e=this.activeIntervals=n.clone(t);if(e)for(var i=e[Tr]-1;i>=0;i--)o.asc(e[i])},getActiveState:function(t){var e=this.activeIntervals;if(!e[Tr])return Mi;if(null==t)return"inactive";for(var i=0,n=e[Tr];n>i;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"}}),l={type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};return n.merge(s[jr],t("../axisModelCommonMixin")),a("parallel",s,e,l),s}),e("echarts/component/tooltip/TooltipContent",[sa,oa,Jr,u,pe,Qr],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 a.map(f,function(t){return t+"transition:"+i}).join(";")}function i(t){var e=[],i=t.get("fontSize"),n=t[Mn]();return n&&e.push("color:"+n),e.push("font:"+t[Sn]()),i&&e.push("line-height:"+Math.round(3*i/2)+"px"),c(["decoration","align"],function(i){var n=t.get(i);n&&e.push("text-"+i+":"+n)}),e.join(";")}function n(t){var n=[],r=t.get("transitionDuration"),a=t.get(kr),s=t[Er](Tn),u=t.get(xn);return r&&n.push(e(r)),a&&(d[zr]?n.push("background-Color:"+a):(n.push("background-Color:#"+o.toHex(a)),n.push("filter:alpha(opacity=70)"))),c(["width","color",ei],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(s)),null!=u&&n.push("padding:"+l.normalizeCssArray(u).join("px ")+"px"),n.join(";")+";"}function r(t,e){var i=document[tn]("div"),n=this._zr=e.getZr();this.el=i,this._x=e[Or]()/2,this._y=e[Vr]()/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(e=e||window.event,!r._enterable){var i=n.handler;s.normalizeEvent(t,e,!0),i.dispatch(Jn,e)}},i.onmouseleave=function(){r._enterable&&r._show&&r.hideLater(r._hideDelay),r._inContent=!1}}var a=t(oa),o=t(Jr),s=t(u),l=t(pe),c=a.each,h=l.toCamelCase,d=t(Qr),f=["","-webkit-","-moz-","-o-"],p="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";return r[jr]={constructor:r,_enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t),i=t.style;"absolute"!==i[gn]&&"absolute"!==e[gn]&&(i[gn]="relative")},show:function(t){clearTimeout(this._hideTimeout);var e=this.el;e.style.cssText=p+n(t)+";left:"+this._x+"px;top:"+this._y+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var i,n=this._zr;n&&n[Rr]&&(i=n[Rr].getViewportRoot())&&(t+=i.offsetLeft||0,e+=i.offsetTop||0);var r=this.el.style;r.left=t+"px",r.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(a.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show}},r}),e("echarts/component/visualMap/VisualMapView",[sa,oa,Ci,pe,Ji,Ai,"../../visual/VisualMapping"],function(t){var e=t(oa),i=t(Ci),n=t(pe),r=t(Ji),a=t(Ai),o=t("../../visual/VisualMapping");return a[Vn]({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this[M]=t,this.api=e,this.visualMapModel},render:function(t){return this.visualMapModel=t,t.get("show")===!1?void this.group[Ln]():void this.doRender.apply(this,arguments)},renderBackground:function(t){var e=this.visualMapModel,r=n.normalizeCssArray(e.get(xn)||0),a=t[wn]();t.add(new i.Rect({z2:-1,silent:!0,shape:{x:a.x-r[3],y:a.y-r[0],width:a.width+r[3]+r[1],height:a[Wr]+r[0]+r[2]},style:{fill:e.get(kr),stroke:e.get(he),lineWidth:e.get($)}}))},getControllerVisual:function(t,i,n){function r(t){return u[t]}function a(t,e){u[t]=e}n=n||{};var s=n.forceState,l=this.visualMapModel,u={};if(i===We&&(u[We]=l.get("itemSymbol")),"color"===i){var c=l.get("contentColor");u.color=c}var h=l.controllerVisuals[s||l.getValueState(t)],d=o.prepareVisualTypes(h);return e.each(d,function(e){var s=h[e];n.convertOpacityToAlpha&&e===pn&&(e="colorAlpha",s=h.__alphaForOpacity),o.dependsOn(e,i)&&s&&s.applyVisual(t,r,a)}),u[i]},positionGroup:function(t){var e=this.visualMapModel,i=this.api;r.positionElement(t,e[bn](),{width:i[Or](),height:i[Vr]()})},doRender:e.noop})}),e("echarts/component/visualMap/helper",[sa,oa,Ji],function(t){var e=t(oa),i=t(Ji),n={getItemAlign:function(t,e,n){var r=t[fn],a=r.align;if(null!=a&&"auto"!==a)return a;for(var o={width:e[Or](),height:e[Vr]()},s=r[A]===le?1:0,l=[["left","right","width"],["top",Cr,Wr]],u=l[s],c=[0,null,10],h={},d=0;3>d;d++)h[l[1-s][d]]=c[d],h[u[d]]=2===d?n[0]:r[u[d]];var f=[["x","width",3],["y",Wr,0]][s],p=i[_n](h,o,r[xn]);return u[(p[vn][f[2]]||0)+p[f[0]]+.5*p[f[1]]<.5*o[f[1]]?0:1]},convertDataIndex:function(t){return e.each(t||[],function(){null!=t[br]&&(t.dataIndexInside=t[br],t[br]=null)}),t}};return n}),e("echarts/chart/graph/simpleLayoutHelper",[sa,"./simpleLayoutEdge"],function(t){var e=t("./simpleLayoutEdge");return function(t){var i=t[Sr];if(!i||"view"===i.type){var n=t.getGraph();n[H](function(t){var e=t[Er]();t[ai]([+e.get("x"),+e.get("y")])}),e(n)}}}),e("echarts/chart/graph/simpleLayoutEdge",[sa,$r],function(t){var e=t($r);return function(t){t.eachEdge(function(t){var i=t[Er]().get("lineStyle.normal.curveness")||0,n=e.clone(t.node1[te]()),r=e.clone(t.node2[te]()),a=[n,r];+i&&a.push([(n[0]+r[0])/2-(n[1]-r[1])*i,(n[1]+r[1])/2-(r[0]-n[0])*i]),t[ai](a)})}}),e("echarts/component/axis/parallelAxisAction",[sa,Ai],function(t){var e=t(Ai),i={type:"axisAreaSelect",event:"axisAreaSelected",update:"updateVisual"};e[Nn](i,function(t,e){e[Lr]({mainType:"parallelAxis",query:t},function(e){e.axis.model.setActiveIntervals(t.intervals)})}),e[Nn]("parallelAxisExpand",function(t,e){e[Lr]({mainType:"parallel",query:t},function(e){e.setAxisExpand(t)})})}),e("echarts/component/axis/ParallelAxisView",[sa,oa,"./AxisBuilder","../helper/BrushController",Ci,Ai],function(t){function e(t,e,i){return i&&"axisAreaSelect"===i.type&&e.findComponents({mainType:"parallelAxis",query:i})[0]===t}var i=t(oa),n=t("./AxisBuilder"),r=t("../helper/BrushController"),a=t(Ci),o=[E,R,V,v],s=t(Ai)[Vn]({type:"parallelAxis",init:function(t,e){s[dn](this,"init",arguments),(this._brushController=new r(e.getZr())).on("brush",i.bind(this._onBrush,this))},render:function(t,r,s,l){if(!e(t,r,l)){this.axisModel=t,this.api=s,this.group[Ln]();var u=this._axisGroup;if(this._axisGroup=new a.Group,this.group.add(this._axisGroup),t.get("show")){var c,h=r[X]("parallel",t.get("parallelIndex"))[Sr],d=t.getAreaSelectStyle(),f=d.width,p=t.axis.dim,v=h.getAxisLayout(p),g=i[Ar](h[Pi],p),m=v.axisExpandWindow;m&&(g<=m[0]||g>=m[1])&&(c=!1);var y=i[lr]({axisLabelShow:c,strokeContainThreshold:f},v),x=new n(t,y);i.each(o,x.add,x),this._axisGroup.add(x.getGroup()),this._refreshBrushController(y,d,t,f),a.groupTransition(u,this._axisGroup,t)}}},_refreshBrushController:function(t,e,n,r){var o=n.axis,s=i.map(n.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[o[Hi](t[0],!0),o[Hi](t[1],!0)]}}),l=o[on](),u=l[1]-l[0],c=Math.min(30,.1*Math.abs(u)),h=a.BoundingRect[xr]({x:l[0],y:-r/2,width:u,height:r});h.x-=c,h.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:t[Me],position:t[gn]}).setPanels([{panelId:"pl",rect:h}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(s)},_onBrush:function(t,e){var n=this.axisModel,r=n.axis,a=i.map(t,function(t){return[r[Bi](t.range[0],!0),r[Bi](t.range[1],!0)]});(!n[fn].realtime===e.isEnd||e.removeOnClick)&&this.api[sr]({type:"axisAreaSelect",parallelAxisId:n.id,intervals:a})},dispose:function(){this._brushController[ir]()}});return s}),e("echarts/component/visualMap/PiecewiseModel",[sa,"./VisualMapModel",oa,"../../visual/VisualMapping","../../visual/visualDefault",ge],function(t){function e(t,e){var i=t[qi];(t[A]===h?!i:i)&&e[Qe]()}var i=t("./VisualMapModel"),n=t(oa),r=t("../../visual/VisualMapping"),a=t("../../visual/visualDefault"),o=t(ge).reformIntervals,s=i[lr]({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(t,e){s[dn](this,"optionUpdated",arguments),this._pieceList=[],this.resetTargetSeries(),this.resetExtent();var i=this._mode=this._determineMode();l[this._mode].call(this),this._resetSelected(t,e);var r=this[fn][W];this.resetVisual(function(t,e){i===W?(t.mappingMethod=ji,t[W]=n.clone(r)):(t.dataExtent=this[on](),t.mappingMethod="piecewise",t.pieceList=n.map(this._pieceList,function(t){var t=n.clone(t);return"inRange"!==e&&(t.visual=null),t}))})},completeVisualOption:function(){function t(t,e,i){return t&&t[e]&&(n[Br](t[e])?t[e].hasOwnProperty(i):t[e]===i)}var e=this[fn],o={},s=r.listVisualTypes(),l=this.isCategory();n.each(e.pieces,function(t){n.each(s,function(e){t.hasOwnProperty(e)&&(o[e]=1)})}),n.each(o,function(i,r){var o=0;n.each(this.stateList,function(i){o|=t(e,i,r)||t(e[Yn],i,r)},this),!o&&n.each(this.stateList,function(t){(e[t]||(e[t]={}))[r]=a.get(r,"inRange"===t?"active":"inactive",l)})},this),i[jr].completeVisualOption.apply(this,arguments)},_resetSelected:function(t,e){var i=this[fn],r=this._pieceList,a=(e?i:t)[Ae]||{};if(i[Ae]=a,n.each(r,function(t){var e=this.getSelectedMapKey(t);a.hasOwnProperty(e)||(a[e]=!0)},this),i.selectedMode===g){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===W?t.value+"":t.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var t=this[fn];return t.pieces&&t.pieces[Tr]>0?"pieces":this[fn][W]?W:"splitNumber"},setSelected:function(t){this[fn][Ae]=n.clone(t)},getValueState:function(t){var e=r.findPieceIndex(t,this._pieceList);return null!=e&&this[fn][Ae][this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(i){var n=[],a=i[na]();a.each(this.getDataDimension(a),function(e,i){var a=r.findPieceIndex(e,this._pieceList);a===t&&n.push(i)},!0,this),e.push({seriesId:i.id,dataIndex:n})},this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var i=t[re]||[];e=i[0]===-1/0&&1/0===i[1]?0:(i[0]+i[1])/2}return e},getVisualMeta:function(t){function e(e,n){var o=a.getRepresentValue({interval:e});n||(n=a.getValueState(o));var s=t(o,n);e[0]===-1/0?r[0]=s:1/0===e[1]?r[1]=s:i.push({value:e[0],color:s},{value:e[1],color:s})}if(!this.isCategory()){var i=[],r=[],a=this,o=this._pieceList.slice();if(o[Tr]){var s=o[0][re][0];s!==-1/0&&o.unshift({interval:[-1/0,s]}),s=o[o[Tr]-1][re][1],1/0!==s&&o.push({interval:[s,1/0]})}else o.push({interval:[-1/0,1/0]});var l=-1/0;return n.each(o,function(t){var i=t[re];i&&(i[0]>l&&e([l,i[0]],"outOfRange"),e(i.slice()),l=i[1])},this),{stops:i,outerColors:r}}}}),l={splitNumber:function(){var t=this[fn],e=this._pieceList,i=t.precision,r=this[on](),a=t.splitNumber;a=Math.max(parseInt(a,10),1),t.splitNumber=a;for(var s=(r[1]-r[0])/a;+s[Re](i)!==s&&5>i;)i++;t.precision=i,s=+s[Re](i);var l=0;t.minOpen&&e.push({index:l++,interval:[-1/0,r[0]],close:[0,0]});for(var u=r[0],c=l+a;c>l;u+=s){var h=l===a-1?r[1]:u+s;e.push({index:l++,interval:[u,h],close:[1,1]})}t.maxOpen&&e.push({index:l++,interval:[r[1],1/0],close:[0,0]}),o(e),n.each(e,function(t){t.text=this.formatValueText(t[re])},this)},categories:function(){var t=this[fn];n.each(t[W],function(t){this._pieceList.push({text:this.formatValueText(t,!0),value:t})},this),e(t,this._pieceList)},pieces:function(){var t=this[fn],i=this._pieceList;n.each(t.pieces,function(t,e){n[Br](t)||(t={value:t});var a={text:"",index:e};if(null!=t.label&&(a.text=t.label),t.hasOwnProperty("value")){var o=a.value=t.value;a[re]=[o,o],a.close=[1,1]}else{for(var s=a[re]=[],l=a.close=[0,0],u=[1,0,1],c=[-1/0,1/0],h=[],d=0;2>d;d++){for(var f=[["gte","gt","min"],["lte","lt","max"]][d],p=0;3>p&&null==s[d];p++)s[d]=t[f[p]],l[d]=u[p],h[d]=2===p;null==s[d]&&(s[d]=c[d])}h[0]&&1/0===s[1]&&(l[0]=0),h[1]&&s[0]===-1/0&&(l[1]=0),s[0]===s[1]&&l[0]&&l[1]&&(a.value=s[0])}a.visual=r.retrieveVisuals(t),i.push(a)},this),e(t,i),o(i),n.each(i,function(t){var e=t.close,i=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t[re],!1,i)},this)}};return s}),e("echarts/component/visualMap/PiecewiseView",[sa,"./VisualMapView",oa,Ci,se,Ji,Yr],function(t){var e=t("./VisualMapView"),i=t(oa),n=t(Ci),r=t(se),a=t(Ji),o=t(Yr),s=e[lr]({type:"visualMap.piecewise",doRender:function(){function t(t){var a=t.piece,s=new n.Group;s.onclick=i.bind(this._onItemClick,this,a),this._enableHoverLink(s,t.indexInModelPieceList);var d=r.getRepresentValue(a);if(this._createItemSymbol(s,d,[0,0,h[0],h[1]]),p){var f=this.visualMapModel.getValueState(d);s.add(new n.Text({style:{x:"right"===c?-o:h[0]+o,y:h[1]/2,text:a.text,textVerticalAlign:"middle",textAlign:c,textFont:l,fill:u,opacity:"outOfRange"===f?.5:1}}))}e.add(s)}var e=this.group;e[Ln]();var r=this.visualMapModel,o=r.get("textGap"),s=r.textStyleModel,l=s[Sn](),u=s[Mn](),c=this._getItemAlign(),h=r.itemSize,d=this._getViewData(),f=d.endsText,p=i[Di](r.get("showLabel",!0),!f);f&&this._renderEndsText(e,f[0],h,p,c),i.each(d.viewPieceList,t,this),f&&this._renderEndsText(e,f[1],h,p,c),a.box(r.get(A),e,r.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_enableHoverLink:function(t,e){function n(t){var i=this.visualMapModel;i[fn].hoverLink&&this.api[sr]({type:t,batch:o.convertDataIndex(i.findTargetDataIndices(e))})}t.on(tr,i.bind(n,this,ar)).on(Qn,i.bind(n,this,rr))},_getItemAlign:function(){var t=this.visualMapModel,e=t[fn];if(e[A]===h)return o.getItemAlign(t,this.api,t.itemSize);var i=e.align;return i&&"auto"!==i||(i="left"),i},_renderEndsText:function(t,e,i,r,a){if(e){var o=new n.Group,s=this.visualMapModel.textStyleModel;o.add(new n.Text({style:{x:r?"right"===a?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:r?a:mn,text:e,textFont:s[Sn](),fill:s[Mn]()}})),t.add(o)}},_getViewData:function(){var t=this.visualMapModel,e=i.map(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),n=t.get("text"),r=t.get(A),a=t.get(qi);return(r===le?a:!a)?e[Qe]():n&&(n=n.slice()[Qe]()),{viewPieceList:e,endsText:n}},_createItemSymbol:function(t,e,i){t.add(r[oe](this.getControllerVisual(e,We),i[0],i[1],i[2],i[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,n=e[fn],r=i.clone(n[Ae]),a=e.getSelectedMapKey(t);n.selectedMode===g?(r[a]=!0,i.each(r,function(t,e){r[e]=e===a})):r[a]=!r[a],this.api[sr]({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}});return s}),e("echarts/chart/graph/circularLayoutHelper",[sa,$r],function(t){var e=t($r);return function(t){var i=t[Sr];if(!i||"view"===i.type){var n=i[wn](),r=t[na](),a=r.graph,o=0,s=r.getSum("value"),l=2*Math.PI/(s||r.count()),u=n.width/2+n.x,c=n[Wr]/2+n.y,h=Math.min(n.width,n[Wr])/2;a[H](function(t){var e=t.getValue("value");o+=l*(s?e:1)/2,t[ai]([h*Math.cos(o)+u,h*Math.sin(o)+c]),o+=l*(s?e:1)/2}),r[ai]({cx:u,cy:c}),a.eachEdge(function(t){var i,n=t[Er]().get("lineStyle.normal.curveness")||0,r=e.clone(t.node1[te]()),a=e.clone(t.node2[te]()),o=(r[0]+a[0])/2,s=(r[1]+a[1])/2;+n&&(n*=3,i=[u*n+o*(1-n),c*n+s*(1-n)]),t[ai]([r,a,i])})}}}),e("echarts/chart/graph/forceHelper",[sa,$r],function(t){var e=t($r),i=e.scaleAndAdd;
  return function(t,n,r){for(var a=r.rect,o=a.width,s=a[Wr],l=[a.x+o/2,a.y+s/2],u=null==r.gravity?.1:r.gravity,c=0;c<t[Tr];c++){var h=t[c];h.p||(h.p=e[xr](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[Tr],s=0;s<n[Tr];s++){var c=n[s],h=c.n1,f=c.n2;e.sub(a,f.p,h.p);var p=e.len(a)-c.d,v=f.w/(h.w+f.w);e[sn](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 g=t[s];g.fixed||(e.sub(a,l,g.p),e.scaleAndAdd(g.p,g.p,a,u*d))}for(var s=0;o>s;s++)for(var h=t[s],m=s+1;o>m;m++){var f=t[m];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 g=t[s];g.fixed||(e.sub(x,g.p,g.pp),e.scaleAndAdd(g.p,g.p,x,d),e.copy(g.pp,g.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 la=t("echarts");return la.graphic=t("echarts/util/graphic"),la.number=t("echarts/util/number"),la.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/themeRiver"),t("echarts/chart/pictorialBar"),t("echarts/chart/effectScatter"),t("echarts/component/gridSimple"),t("echarts/component/polar"),t("echarts/component/geo"),t("echarts/component/singleAxis"),t("echarts/component/calendar"),t("echarts/component/title"),t("echarts/component/legend"),t("echarts/component/tooltip"),t("echarts/component/markPoint"),t("echarts/component/markLine"),t("echarts/component/markArea"),t("echarts/component/timeline"),t("echarts/component/dataZoom"),t("echarts/component/brush"),t("echarts/component/visualMap"),t("echarts/component/toolbox"),t("echarts/component/graphic"),t("zrender/vml/vml"),la});