chunk-9e6eed13.e3df3216.js 65 KB

123456
  1. /*!
  2. * build: Hopaheal
  3. * copyright: Mead
  4. * time: 2022-9-23 10:41:22
  5. */
  6. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9e6eed13"],{"1b45":function(t,e,n){"use strict";e["a"]={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}}},"29e2":function(t,e,n){"use strict";var i=n("ba54"),r=n("fadd"),o=n("3ff4"),a=n("8187"),s=n("6d8b"),u=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,n){i["w"](t)&&(n=e,e=t,t=null),t=t||{},i["C"](t)&&(t={order:t});var r,o=t.order||"preorder",a=this[t.attr||"children"];"preorder"===o&&(r=e.call(n,this));for(var s=0;!r&&s<a.length;s++)a[s].eachNode(t,e,n);"postorder"===o&&e.call(n,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].getNodeById(t);if(r)return r}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].contains(t);if(r)return r}},t.prototype.getAncestors=function(t){var e=[],n=t?this:this.parentNode;while(n)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){var t=[],e=this;while(e)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode((function(e){t.push(e.dataIndex)})),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostTree,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},t.prototype.isAncestorOf=function(t){var e=t.parentNode;while(e){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),c=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,c){var h=new t(n),l=[],f=1;function p(t,e){var n=t.value;f=Math.max(f,i["t"](n)?n.length:1),l.push(t);var r=new u(Object(s["e"])(t.name,""),h);e?d(r,e):h.root=r,h._nodes.push(r);var o=t.children;if(o)for(var a=0;a<o.length;a++)p(o[a],r)}p(e),h.root.updateDepthAndHeight(0);var m=Object(a["a"])(l,{coordDimensions:["value"],dimensionsCount:f}).dimensions,v=new o["a"](m,n);return v.initData(l),c&&c(v),Object(r["a"])({mainData:v,struct:h,structAttr:"tree"}),h.update(),h},t}();function d(t,e){var n=e.children;t.parentNode!==e&&(n.push(t),t.parentNode=e)}e["a"]=c},"2ad3":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return u}));var i=n("ba54"),r=n("c651");function o(t,e,n){n=n||{};var r,o,s,u=n.byIndex,c=n.stackedCoordDimension;a(e)?r=e:(o=e.schema,r=o.dimensions,s=e.store);var d,h,l,f,p=!(!t||!t.get("stack"));if(Object(i["k"])(r,(function(t,e){Object(i["C"])(t)&&(r[e]=t={name:t}),p&&!t.isExtraCoord&&(u||d||!t.ordinalMeta||(d=t),h||"ordinal"===t.type||"time"===t.type||c&&c!==t.coordDim||(h=t))})),!h||u||d||(u=!0),h){l="__\0ecstackresult_"+t.id,f="__\0ecstackedover_"+t.id,d&&(d.createInvertedIndices=!0);var m=h.coordDim,v=h.type,g=0;Object(i["k"])(r,(function(t){t.coordDim===m&&g++}));var _={name:l,coordDim:m,coordDimIndex:g,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length},y={name:f,coordDim:f,coordDimIndex:g+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length+1};o?(s&&(_.storeDimIndex=s.ensureCalculationDimension(f,v),y.storeDimIndex=s.ensureCalculationDimension(l,v)),o.appendCalculationDimension(_),o.appendCalculationDimension(y)):(r.push(_),r.push(y))}return{stackedDimension:h&&h.name,stackedByDimension:d&&d.name,isStackedByIndex:u,stackedOverDimension:f,stackResultDimension:l}}function a(t){return!Object(r["d"])(t.schema)}function s(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function u(t,e){return s(t,e)?t.getCalculationInfo("stackResultDimension"):e}},"3ff4":function(t,e,n){"use strict";var i,r,o,a,s,u,c,d=n("ba54"),h=n("d0e2"),l=n("9bbf"),f=n("ccea"),p=n("6bd7"),m=n("a417"),v=n("4e0d"),g=n("6d8b"),_=n("aa7d"),y=n("72af"),b=n("d288"),I=n("c651"),O=d["A"],D=d["H"],x="undefined"===typeof Int32Array?Array:Int32Array,w="e\0\0",j=-1,M=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],S=["_approximateExtent"],N=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;Object(I["d"])(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,u={},c=0;c<n.length;c++){var h=n[c],l=d["C"](h)?new m["a"]({name:h}):h instanceof m["a"]?h:new m["a"](h),f=l.name;l.type=l.type||"float",l.coordDim||(l.coordDim=f,l.coordDimIndex=0);var p=l.otherDims=l.otherDims||{};o.push(f),r[f]=l,null!=u[f]&&(s=!0),l.createInvertedIndices&&(a[f]=[]),0===p.itemName&&(this._nameDimIdx=c),0===p.itemId&&(this._idDimIdx=c),i&&(l.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var v=this._dimIdxToName=d["f"]();d["k"](o,(function(t){v.set(r[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(d["z"](t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){var e=this.getDimensionIndex(t);return e},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){var e=this._dimSummary,n=e.encode[t];return(n||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof b["b"]&&(i=t),!i){var o=this.dimensions,a=Object(y["e"])(t)||d["u"](t)?new f["a"](t,o.length):t;i=new b["b"];var s=D(o,(function(t){return{type:r._dimInfos[t].type,property:t}}));i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=Object(p["b"])(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&c(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==v["g"]&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store,r=n.getProvider();this._updateOrdinalMeta();var o=this._nameList,a=this._idList,s=r.getSource().sourceFormat,u=s===v["f"];if(u&&!r.pure)for(var d=[],h=t;h<e;h++){var l=r.getItem(h,d);if(!this.hasItemOption&&Object(g["m"])(l)&&(this.hasItemOption=!0),l){var f=l.name;null==o[h]&&null!=f&&(o[h]=Object(g["e"])(f,null));var p=l.id;null==a[h]&&null!=p&&(a[h]=Object(g["e"])(p,null))}}if(this._shouldMakeIdFromName())for(h=t;h<e;h++)c(this,h);i(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){O(t)?d["m"](this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=o(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return r(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return d["t"](t)?i.getValues(D(t,(function(t){return n._getStoreDimIndex(t)})),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t];var i=n[e];return null==i||isNaN(i)?j:i},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){d["w"](t)&&(n=e,e=t,t=[]);var i=n||this,r=D(a(t),this._getStoreDimIndex,this);this._store.each(r,i?d["c"](e,i):e)},t.prototype.filterSelf=function(t,e,n){d["w"](t)&&(n=e,e=t,t=[]);var i=n||this,r=D(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?d["c"](e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=d["F"](t),r=[];return d["k"](i,(function(i){var o=e._getStoreDimIndex(i);n[o]=t[i],r.push(o)})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){d["w"](t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,(function(){i.push(e&&e.apply(this,arguments))}),n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=D(a(t),this._getStoreDimIndex,this),s=u(this);return s._store=this._store.map(o,r?d["c"](e,r):e),s},t.prototype.modify=function(t,e,n,i){var r=n||i||this;var o=D(a(t),this._getStoreDimIndex,this);this._store.modify(o,r?d["c"](e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=u(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.lttbDownSample=function(t,e){var n=u(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new h["a"](n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new l["a"](t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return r(t,e)}),(function(t){return r(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},O(t)?d["m"](this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),d["t"](r)?r=r.slice():O(r)&&(r=d["m"]({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,O(e)?d["m"](i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){O(t)?d["m"](this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?d["m"](this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;Object(_["b"])(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){d["k"](this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:D(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];d["w"](n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(d["S"](arguments)))})},t.internalField=function(){i=function(t){var e=t._invertedIndicesMap;d["k"](e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new x(o.categories.length);for(var s=0;s<n.length;s++)n[s]=j;for(s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}}))},o=function(t,e,n){return Object(g["e"])(t._getCategory(e,n),null)},r=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=o(t,t._idDimIdx,e)),null==n&&(n=w+e),n},a=function(t){return d["t"](t)||(t=null!=t?[t]:[]),t},u=function(e){var n=new t(e._schema?e._schema:D(e.dimensions,e._getDimInfo,e),e.hostModel);return s(n,e),n},s=function(t,e){d["k"](M.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,d["k"](S,(function(n){t[n]=d["d"](e[n])})),t._calculationInfo=d["m"]({},e._calculationInfo)},c=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,a=t._idDimIdx,s=n[e],u=i[e];if(null==s&&null!=r&&(n[e]=s=o(t,r,e)),null==u&&null!=a&&(i[e]=u=o(t,a,e)),null==u&&null!=s){var c=t._nameRepeatCount,d=c[s]=(c[s]||0)+1;u=s,d>1&&(u+="__ec__"+d),i[e]=u}}}(),t}();e["a"]=N},"44b0":function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"g",(function(){return u})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return d})),n.d(e,"f",(function(){return h})),n.d(e,"e",(function(){return l})),n.d(e,"b",(function(){return f}));var i=n("6d8b"),r=n("ba54"),o=n("4e0d"),a={Must:1,Might:2,Not:3},s=Object(i["o"])();function u(t){s(t).datasetMap=Object(r["f"])()}function c(t,e,n){var i={},o=h(e);if(!o||!t)return i;var a,u,c=[],d=[],l=e.ecModel,f=s(l).datasetMap,p=o.uid+"_"+n.seriesLayoutBy;t=t.slice(),Object(r["k"])(t,(function(e,n){var o=Object(r["A"])(e)?e:t[n]={name:e};"ordinal"===o.type&&null==a&&(a=n,u=g(o)),i[o.name]=[]}));var m=f.get(p)||f.set(p,{categoryWayDim:u,valueWayDim:0});function v(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function g(t){var e=t.dimsDef;return e?e.length:1}return Object(r["k"])(t,(function(t,e){var n=t.name,r=g(t);if(null==a){var o=m.valueWayDim;v(i[n],o,r),v(d,o,r),m.valueWayDim+=r}else if(a===e)v(i[n],0,r),v(c,0,r);else{o=m.categoryWayDim;v(i[n],o,r),v(d,o,r),m.categoryWayDim+=r}})),c.length&&(i.itemName=c),d.length&&(i.seriesName=d),i}function d(t,e,n){var i={},s=h(t);if(!s)return i;var u,c=e.sourceFormat,d=e.dimensionsDefine;c!==o["e"]&&c!==o["d"]||Object(r["k"])(d,(function(t,e){"name"===(Object(r["A"])(t)?t.name:t)&&(u=e)}));var l=function(){for(var t={},i={},r=[],o=0,s=Math.min(5,n);o<s;o++){var h=p(e.data,c,e.seriesLayoutBy,d,e.startIndex,o);r.push(h);var l=h===a.Not;if(l&&null==t.v&&o!==u&&(t.v=o),(null==t.n||t.n===t.v||!l&&r[t.n]===a.Not)&&(t.n=o),f(t)&&r[t.n]!==a.Not)return t;l||(h===a.Might&&null==i.v&&o!==u&&(i.v=o),null!=i.n&&i.n!==i.v||(i.n=o))}function f(t){return null!=t.v&&null!=t.n}return f(t)?t:f(i)?i:null}();if(l){i.value=[l.v];var f=null!=u?u:l.n;i.itemName=[f],i.seriesName=[f]}return i}function h(t){var e=t.get("data",!0);if(!e)return Object(i["v"])(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},i["b"]).models[0]}function l(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?Object(i["v"])(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},i["b"]).models:[]}function f(t,e){return p(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function p(t,e,n,s,u,c){var d,h,l,f=5;if(Object(r["E"])(t))return a.Not;if(s){var p=s[c];Object(r["A"])(p)?(h=p.name,l=p.type):Object(r["C"])(p)&&(h=p)}if(null!=l)return"ordinal"===l?a.Must:a.Not;if(e===o["c"]){var m=t;if(n===o["b"]){for(var v=m[c],g=0;g<(v||[]).length&&g<f;g++)if(null!=(d=x(v[u+g])))return d}else for(g=0;g<m.length&&g<f;g++){var _=m[u+g];if(_&&null!=(d=x(_[c])))return d}}else if(e===o["e"]){var y=t;if(!h)return a.Not;for(g=0;g<y.length&&g<f;g++){var b=y[g];if(b&&null!=(d=x(b[h])))return d}}else if(e===o["d"]){var I=t;if(!h)return a.Not;v=I[h];if(!v||Object(r["E"])(v))return a.Not;for(g=0;g<v.length&&g<f;g++)if(null!=(d=x(v[g])))return d}else if(e===o["f"]){var O=t;for(g=0;g<O.length&&g<f;g++){b=O[g];var D=Object(i["h"])(b);if(!Object(r["t"])(D))return a.Not;if(null!=(d=x(D[c])))return d}}function x(t){var e=Object(r["C"])(t);return null!=t&&isFinite(t)&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}},"5ec3":function(t,e,n){"use strict";n.d(e,"b",(function(){return g})),n.d(e,"a",(function(){return _}));var i=n("4e0d"),r=n("6d8b"),o=n("ba54"),a=n("ccea"),s=n("e13f"),u=n("5d30"),c=n("72af"),d=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return Object(s["d"])(t,e)},t}();function h(t,e){var n=new d,r=t.data,s=n.sourceFormat=t.sourceFormat,c=t.startIndex,h="";t.seriesLayoutBy!==i["a"]&&Object(u["c"])(h);var v=[],g={},_=t.dimensionsDefine;if(_)Object(o["k"])(_,(function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};if(v.push(i),null!=n){var r="";Object(o["q"])(g,n)&&Object(u["c"])(r),g[n]=i}}));else for(var y=0;y<t.dimensionsDetectedCount;y++)v.push({index:y});var b=Object(a["c"])(s,i["a"]);e.__isBuiltIn&&(n.getRawDataItem=function(t){return b(r,c,v,t)},n.getRawData=Object(o["c"])(l,null,t)),n.cloneRawData=Object(o["c"])(f,null,t);var I=Object(a["b"])(s,i["a"]);n.count=Object(o["c"])(I,null,r,c,v);var O=Object(a["d"])(s);n.retrieveValue=function(t,e){var n=b(r,c,v,t);return D(n,e)};var D=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=v[e];return n?O(t,e,n.name):void 0}};return n.getDimensionInfo=Object(o["c"])(p,null,v,g),n.cloneAllDimensionInfo=Object(o["c"])(m,null,v),n}function l(t){var e=t.sourceFormat;if(!b(e)){var n="";0,Object(u["c"])(n)}return t.data}function f(t){var e=t.sourceFormat,n=t.data;if(!b(e)){var r="";0,Object(u["c"])(r)}if(e===i["c"]){for(var a=[],s=0,c=n.length;s<c;s++)a.push(n[s].slice());return a}if(e===i["e"]){for(a=[],s=0,c=n.length;s<c;s++)a.push(Object(o["m"])({},n[s]));return a}}function p(t,e,n){if(null!=n)return Object(o["z"])(n)||!isNaN(n)&&!Object(o["q"])(e,n)?t[n]:Object(o["q"])(e,n)?e[n]:void 0}function m(t){return Object(o["d"])(t)}var v=Object(o["f"])();function g(t){t=Object(o["d"])(t);var e=t.type,n="";e||Object(u["c"])(n);var i=e.split(":");2!==i.length&&Object(u["c"])(n);var r=!1;"echarts"===i[0]&&(e=i[1],r=!0),t.__isBuiltIn=r,v.set(e,t)}function _(t,e,n){var i=Object(r["r"])(t),o=i.length,a="";o||Object(u["c"])(a);for(var s=0,c=o;s<c;s++){var d=i[s];e=y(d,e,n,1===o?null:s),s!==c-1&&(e.length=Math.max(e.length,1))}return e}function y(t,e,n,a){var s="";e.length||Object(u["c"])(s),Object(o["A"])(t)||Object(u["c"])(s);var d=t.type,l=v.get(d);l||Object(u["c"])(s);var f=Object(o["H"])(e,(function(t){return h(t,l)})),p=Object(r["r"])(l.transform({upstream:f[0],upstreamList:f,config:Object(o["d"])(t.config)}));return Object(o["H"])(p,(function(t,n){var r="";Object(o["A"])(t)||Object(u["c"])(r),t.data||Object(u["c"])(r);var a,s=Object(c["d"])(t.data);b(s)||Object(u["c"])(r);var d=e[0];if(d&&0===n&&!t.dimensions){var h=d.startIndex;h&&(t.data=d.data.slice(0,h).concat(t.data)),a={seriesLayoutBy:i["a"],sourceHeader:h,dimensions:d.metaRawOption.dimensions}}else a={seriesLayoutBy:i["a"],sourceHeader:0,dimensions:t.dimensions};return Object(c["b"])(t.data,a,null)}))}function b(t){return t===i["c"]||t===i["e"]}},"6bd7":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return u}));var i=n("ba54"),r=n("4e0d"),o=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function a(t,e){var n={},a=n.encode={},u=Object(i["f"])(),d=[],h=[],l={};Object(i["k"])(t.dimensions,(function(e){var n=t.getDimensionInfo(e),i=n.coordDim;if(i){0;var o=n.coordDimIndex;s(a,i)[o]=e,n.isExtraCoord||(u.set(i,1),c(n.type)&&(d[0]=e),s(l,i)[o]=t.getDimensionIndex(n.name)),n.defaultTooltip&&h.push(e)}r["i"].each((function(t,e){var i=s(a,e),r=n.otherDims[e];null!=r&&!1!==r&&(i[r]=n.name)}))}));var f=[],p={};u.each((function(t,e){var n=a[e];p[e]=n[0],f=f.concat(n)})),n.dataDimsOnCoord=f,n.dataDimIndicesOnCoord=Object(i["H"])(f,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=p;var m=a.label;m&&m.length&&(d=m.slice());var v=a.tooltip;return v&&v.length?h=v.slice():h.length||(h=d.slice()),a.defaultedLabel=d,a.defaultedTooltip=h,n.userOutput=new o(l,e),n}function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function u(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function c(t){return!("ordinal"===t||"time"===t)}},"72af":function(t,e,n){"use strict";n.d(e,"e",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return d})),n.d(e,"a",(function(){return h})),n.d(e,"d",(function(){return l})),n.d(e,"f",(function(){return g}));var i=n("ba54"),r=n("4e0d"),o=n("6d8b"),a=n("44b0"),s=function(){function t(t){this.data=t.data||(t.sourceFormat===r["d"]?{}:[]),this.sourceFormat=t.sourceFormat||r["h"],this.seriesLayoutBy=t.seriesLayoutBy||r["a"],this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&Object(a["b"])(this,n)===a["a"].Must&&(i.type="ordinal")}}return t}();function u(t){return t instanceof s}function c(t,e,n){n=n||l(t);var r=e.seriesLayoutBy,o=f(t,n,r,e.sourceHeader,e.dimensions),a=new s({data:t,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:o.dimensionsDefine,startIndex:o.startIndex,dimensionsDetectedCount:o.dimensionsDetectedCount,metaRawOption:Object(i["d"])(e)});return a}function d(t){return new s({data:t,sourceFormat:Object(i["E"])(t)?r["g"]:r["f"]})}function h(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:Object(i["d"])(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function l(t){var e=r["h"];if(Object(i["E"])(t))e=r["g"];else if(Object(i["t"])(t)){0===t.length&&(e=r["c"]);for(var n=0,o=t.length;n<o;n++){var a=t[n];if(null!=a){if(Object(i["t"])(a)){e=r["c"];break}if(Object(i["A"])(a)){e=r["e"];break}}}}else if(Object(i["A"])(t))for(var s in t)if(Object(i["q"])(t,s)&&Object(i["u"])(t[s])){e=r["d"];break}return e}function f(t,e,n,a,s){var u,c;if(!t)return{dimensionsDefine:m(s),startIndex:c,dimensionsDetectedCount:u};if(e===r["c"]){var d=t;"auto"===a||null==a?v((function(t){null!=t&&"-"!==t&&(Object(i["C"])(t)?null==c&&(c=1):c=0)}),n,d,10):c=Object(i["z"])(a)?a:a?1:0,s||1!==c||(s=[],v((function(t,e){s[e]=null!=t?t+"":""}),n,d,1/0)),u=s?s.length:n===r["b"]?d.length:d[0]?d[0].length:null}else if(e===r["e"])s||(s=p(t));else if(e===r["d"])s||(s=[],Object(i["k"])(t,(function(t,e){s.push(e)})));else if(e===r["f"]){var h=Object(o["h"])(t[0]);u=Object(i["t"])(h)&&h.length||1}else r["g"];return{startIndex:c,dimensionsDefine:m(s),dimensionsDetectedCount:u}}function p(t){var e,n=0;while(n<t.length&&!(e=t[n++]));if(e){var r=[];return Object(i["k"])(e,(function(t,e){r.push(e)})),r}}function m(t){if(t){var e=Object(i["f"])();return Object(i["H"])(t,(function(t,n){t=Object(i["A"])(t)?t:{name:t};var r={name:t.name,displayName:t.displayName,type:t.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var o=e.get(r.name);return o?r.name+="-"+o.count++:e.set(r.name,{count:1}),r}))}}function v(t,e,n,i){if(e===r["b"])for(var o=0;o<n.length&&o<i;o++)t(n[o]?n[o][0]:null,o);else{var a=n[0]||[];for(o=0;o<a.length&&o<i;o++)t(a[o],o)}}function g(t){var e=t.sourceFormat;return e===r["e"]||e===r["d"]}},"7b1d":function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var i=n("4b4e"),r=n("7588"),o=n("a2d24"),a=n("d07b"),s=n("e241"),u=n("ba54"),c=n("b9a1"),d=n("5682"),h=[],l={registerPreprocessor:i["j"],registerProcessor:i["k"],registerPostInit:i["h"],registerPostUpdate:i["i"],registerUpdateLifecycle:i["m"],registerAction:i["c"],registerCoordinateSystem:i["d"],registerLayout:i["e"],registerVisual:i["n"],registerTransform:i["l"],registerLoading:i["f"],registerMap:i["g"],registerImpl:c["b"],PRIORITY:i["a"],ComponentModel:a["a"],ComponentView:r["a"],SeriesModel:s["b"],ChartView:o["a"],registerComponentModel:function(t){a["a"].registerClass(t)},registerComponentView:function(t){r["a"].registerClass(t)},registerSeriesModel:function(t){s["b"].registerClass(t)},registerChartView:function(t){o["a"].registerClass(t)},registerSubTypeDefaulter:function(t,e){a["a"].registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){Object(d["b"])(t,e)}};function f(t){Object(u["t"])(t)?Object(u["k"])(t,(function(t){f(t)})):Object(u["r"])(h,t)>=0||(h.push(t),Object(u["w"])(t)&&(t={install:t}),t.install(l))}},8187:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var i=n("4e0d"),r=n("a417"),o=n("ba54"),a=n("72af"),s=n("d288"),u=n("6d8b"),c=n("44b0"),d=n("c651");function h(t,e){Object(a["e"])(t)||(t=Object(a["c"])(t)),e=e||{};var n=e.coordDimensions||[],h=e.dimensionsDefine||t.dimensionsDefine||[],m=Object(o["f"])(),v=[],g=f(t,n,h,e.dimensionsCount),_=e.canOmitUnusedDimensions&&Object(d["e"])(g),y=h===t.dimensionsDefine,b=y?Object(d["c"])(t):Object(d["b"])(h),I=e.encodeDefine;!I&&e.encodeDefaulter&&(I=e.encodeDefaulter(t,g));for(var O=Object(o["f"])(I),D=new s["a"](g),x=0;x<D.length;x++)D[x]=-1;function w(t){var e=D[t];if(e<0){var n=h[t],i=Object(o["A"])(n)?n:{name:n},a=new r["a"],s=i.name;null!=s&&null!=b.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var u=v.length;return D[t]=u,a.storeDimIndex=t,v.push(a),a}return v[e]}if(!_)for(x=0;x<g;x++)w(x);O.each((function(t,e){var n=Object(u["r"])(t).slice();if(1===n.length&&!Object(o["C"])(n[0])&&n[0]<0)O.set(e,!1);else{var i=O.set(e,[]);Object(o["k"])(n,(function(t,n){var r=Object(o["C"])(t)?b.get(t):t;null!=r&&r<g&&(i[n]=r,M(w(r),e,n))}))}}));var j=0;function M(t,e,n){null!=i["i"].get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,m.set(e,!0))}Object(o["k"])(n,(function(t){var e,n,i,r;if(Object(o["C"])(t))e=t,r={};else{r=t,e=r.name;var a=r.ordinalMeta;r.ordinalMeta=null,r=Object(o["m"])({},r),r.ordinalMeta=a,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=O.get(e);if(!1!==s){if(s=Object(u["r"])(s),!s.length)for(var c=0;c<(n&&n.length||1);c++){while(j<g&&null!=w(j).coordDim)j++;j<g&&s.push(j++)}Object(o["k"])(s,(function(t,a){var s=w(t);if(y&&null!=r.type&&(s.type=r.type),M(Object(o["i"])(s,r),e,a),null==s.name&&n){var u=n[a];!Object(o["A"])(u)&&(u={name:u}),s.name=s.displayName=u.name,s.defaultTooltip=u.defaultTooltip}i&&Object(o["i"])(s.otherDims,i)}))}}));var S=e.generateCoord,N=e.generateCoordCount,C=null!=N;N=S?N||1:0;var R=S||"value";function k(t){null==t.name&&(t.name=t.coordDim)}if(_)Object(o["k"])(v,(function(t){k(t)})),v.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var L=0;L<g;L++){var T=w(L),A=T.coordDim;null==A&&(T.coordDim=p(R,m,C),T.coordDimIndex=0,(!S||N<=0)&&(T.isExtraCoord=!0),N--),k(T),null!=T.type||Object(c["b"])(t,L)!==c["a"].Must&&(!T.isExtraCoord||null==T.otherDims.itemName&&null==T.otherDims.seriesName)||(T.type="ordinal")}return l(v),new d["a"]({source:t,dimensions:v,fullDimensionCount:g,dimensionOmitted:_})}function l(t){for(var e=Object(o["f"])(),n=0;n<t.length;n++){var i=t[n],r=i.name,a=e.get(r)||0;a>0&&(i.name=r+(a-1)),a++,e.set(r,a)}}function f(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return Object(o["k"])(e,(function(t){var e;Object(o["A"])(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}function p(t,e,n){var i=e.data;if(n||i.hasOwnProperty(t)){var r=0;while(i.hasOwnProperty(t+r))r++;t+=r}return e.set(t,!0),t}},"9bbf":function(t,e,n){"use strict";function i(t){return null==t?0:t.length||1}function r(t){return t}var o=function(){function t(t,e,n,i,o,a){this._old=t,this._new=e,this._oldKeyGetter=n||r,this._newKeyGetter=i||r,this.context=o,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},r=new Array(t.length),o=new Array(e.length);this._initIndexMap(t,null,r,"_oldKeyGetter"),this._initIndexMap(e,n,o,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=r[a],u=n[s],c=i(u);if(c>1){var d=u.shift();1===u.length&&(n[s]=u[0]),this._update&&this._update(d,a)}else 1===c?(n[s]=null,this._update&&this._update(u,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},r={},o=[],a=[];this._initIndexMap(t,n,o,"_oldKeyGetter"),this._initIndexMap(e,r,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var u=o[s],c=n[u],d=r[u],h=i(c),l=i(d);if(h>1&&1===l)this._updateManyToOne&&this._updateManyToOne(d,c),r[u]=null;else if(1===h&&l>1)this._updateOneToMany&&this._updateOneToMany(d,c),r[u]=null;else if(1===h&&1===l)this._update&&this._update(d,c),r[u]=null;else if(h>1&&l>1)this._updateManyToMany&&this._updateManyToMany(d,c),r[u]=null;else if(h>1)for(var f=0;f<h;f++)this._remove&&this._remove(c[f]);else this._remove&&this._remove(c)}this._performRestAdd(a,r)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=e[r],a=i(o);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(o[s]);else 1===a&&this._add&&this._add(o);e[r]=null}},t.prototype._initIndexMap=function(t,e,n,r){for(var o=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[r](t[a],a);if(o||(n[a]=s),e){var u=e[s],c=i(u);0===c?(e[s]=a,o&&n.push(s)):1===c?e[s]=[u,a]:u.push(a)}}},t}();e["a"]=o},a417:function(t,e,n){"use strict";var i=n("ba54"),r=function(){function t(t){this.otherDims={},null!=t&&i["m"](this,t)}return t}();e["a"]=r},b40c:function(t,e,n){"use strict";var i=n("ba54");function r(t){return"_EC_"+t}var o=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[r(t)]){var i=new a(t,e);return i.hostGraph=this,this.nodes.push(i),n[r(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[r(t)]},t.prototype.addEdge=function(t,e,n){var o=this._nodesMap,u=this._edgesMap;if(i["z"](t)&&(t=this.nodes[t]),i["z"](e)&&(e=this.nodes[e]),t instanceof a||(t=o[r(t)]),e instanceof a||(e=o[r(e)]),t&&e){var c=t.id+"-"+e.id,d=new s(t,e,n);return d.hostGraph=this,this._directed&&(t.outEdges.push(d),e.inEdges.push(d)),t.edges.push(d),t!==e&&e.edges.push(d),this.edges.push(d),u[c]=d,d}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof a&&(t=t.id),e instanceof a&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof a||(e=this._nodesMap[r(e)]),e){for(var o="out"===n?"outEdges":"in"===n?"inEdges":"edges",s=0;s<this.nodes.length;s++)this.nodes[s].__visited=!1;if(!t.call(i,e,null)){var u=[e];while(u.length){var c=u.shift(),d=c[o];for(s=0;s<d.length;s++){var h=d[s],l=h.node1===c?h.node2:h.node1;if(!l.__visited){if(t.call(i,l,c))return;u.push(l),l.__visited=!0}}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,r=0,o=n.length;r<o;r++)n[r].dataIndex=-1;for(r=0,o=t.count();r<o;r++)n[t.getRawIndex(r)].dataIndex=r;e.filterSelf((function(t){var n=i[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r<o;r++)i[r].dataIndex=-1;for(r=0,o=e.count();r<o;r++)i[e.getRawIndex(r)].dataIndex=r},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,i=this.edges,r=0;r<n.length;r++)e.addNode(n[r].id,n[r].dataIndex);for(r=0;r<i.length;r++){var o=i[r];e.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return e},t}(),a=function(){function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==t?"":t,this.dataIndex=null==e?-1:e}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t}(),s=function(){function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}return t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,n=e.edgeData.getItemModel(this.dataIndex);return n.getModel(t)}},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t}();function u(t,e){return{getValue:function(n){var i=this[t][e];return i.getStore().get(i.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}i["K"](a,u("hostGraph","data")),i["K"](s,u("hostGraph","edgeData")),e["a"]=o},b46f:function(t,e,n){"use strict";var i=n("4b4e");n.d(e,"a",(function(){return i["b"]}));var r=n("7b1d"),o=n("af53");Object(r["a"])(o["a"])},ba14:function(t,e,n){"use strict";e["a"]={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}},c651:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return h})),n.d(e,"e",(function(){return l}));var i=n("ba54"),r=n("6d8b"),o=n("72af"),a=Object(r["o"])(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},u=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=h(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return Object(i["P"])(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=Object(o["f"])(this.source),n=!l(t),i="",r=[],a=0,u=0;a<t;a++){var c=void 0,d=void 0,h=void 0,f=this.dimensions[u];if(f&&f.storeDimIndex===a)c=e?f.name:null,d=f.type,h=f.ordinalMeta,u++;else{var p=this.getSourceDimension(a);p&&(c=e?p.name:null,d=p.type)}r.push({property:c,type:d,ordinalMeta:h}),!e||null==c||f&&f.isCalculationCoord||(i+=n?c.replace(/\`/g,"`1").replace(/\$/g,"`2"):c),i+="$",i+=s[d]||"f",h&&(i+=h.uid),i+="$"}var m=this.source,v=[m.seriesLayoutBy,m.startIndex,i].join("$$");return{dimensions:r,hash:v}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function c(t){return t instanceof u}function d(t){for(var e=Object(i["f"])(),n=0;n<(t||[]).length;n++){var r=t[n],o=Object(i["A"])(r)?r.name:r;null!=o&&null==e.get(o)&&e.set(o,n)}return e}function h(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=d(t.dimensionsDefine))}function l(t){return t>30}},ccea:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"c",(function(){return m})),n.d(e,"b",(function(){return _})),n.d(e,"d",(function(){return I})),n.d(e,"e",(function(){return D}));var i,r,o,a,s,u=n("ba54"),c=n("6d8b"),d=n("72af"),h=n("4e0d"),l=function(){function t(t,e){var n=Object(d["e"])(t)?t:Object(d["c"])(t);this._source=n;var i=this._data=n.data;n.sourceFormat===h["g"]&&(this._offset=0,this._dimSize=e,this._data=i),s(this,i,n)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;s=function(t,r,o){var s=o.sourceFormat,c=o.seriesLayoutBy,d=o.startIndex,l=o.dimensionsDefine,f=a[O(s,c)];if(Object(u["m"])(t,f),s===h["g"])t.getItem=e,t.count=i,t.fillStorage=n;else{var p=m(s,c);t.getItem=Object(u["c"])(p,null,r,d,l);var v=_(s,c);t.count=Object(u["c"])(v,null,r,d,l)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],u=null==s[0]?1/0:s[0],c=null==s[1]?-1/0:s[1],d=e-t,h=n[a],l=0;l<d;l++){var f=r[l*o+a];h[t+l]=f,f<u&&(u=f),f>c&&(c=f)}s[0]=u,s[1]=c}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}t={},t[h["c"]+"_"+h["a"]]={pure:!0,appendData:r},t[h["c"]+"_"+h["b"]]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[h["e"]]={pure:!0,appendData:r},t[h["d"]]={pure:!0,appendData:function(t){var e=this._data;Object(u["k"])(t,(function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])}))}},t[h["f"]]={appendData:r},t[h["g"]]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},a=t}(),t}(),f=function(t,e,n,i){return t[i]},p=(i={},i[h["c"]+"_"+h["a"]]=function(t,e,n,i){return t[i+e]},i[h["c"]+"_"+h["b"]]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=t,s=0;s<a.length;s++){var u=a[s];o[s]=u?u[i]:null}return o},i[h["e"]]=f,i[h["d"]]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=n[a].name;0;var u=t[s];o[a]=u?u[i]:null}return o},i[h["f"]]=f,i);function m(t,e){var n=p[O(t,e)];return n}var v=function(t,e,n){return t.length},g=(r={},r[h["c"]+"_"+h["a"]]=function(t,e,n){return Math.max(0,t.length-e)},r[h["c"]+"_"+h["b"]]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},r[h["e"]]=v,r[h["d"]]=function(t,e,n){var i=n[0].name;var r=t[i];return r?r.length:0},r[h["f"]]=v,r);function _(t,e){var n=g[O(t,e)];return n}var y=function(t,e,n){return t[e]},b=(o={},o[h["c"]]=y,o[h["e"]]=function(t,e,n){return t[n]},o[h["d"]]=y,o[h["f"]]=function(t,e,n){var i=Object(c["h"])(t);return i instanceof Array?i[e]:i},o[h["g"]]=y,o);function I(t){var e=b[t];return e}function O(t,e){return t===h["c"]?t+"_"+e:t}function D(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return I(o)(i,a,s)}var u=i;return o===h["f"]&&(u=Object(c["h"])(i)),u}}}},d288:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var i,r=n("ba54"),o=n("e13f"),a=n("72af"),s="undefined",u=typeof Uint32Array===s?Array:Uint32Array,c=typeof Uint16Array===s?Array:Uint16Array,d=typeof Int32Array===s?Array:Int32Array,h=typeof Float64Array===s?Array:Float64Array,l={float:h,int:d,ordinal:Array,number:Array,time:h};function f(t){return t>65535?u:c}function p(){return[1/0,-1/0]}function m(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function v(t,e,n,i,r){var o=l[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var u=new o(i),c=0;c<s;c++)u[c]=a[c];t[e]=u}}else t[e]=new o(i)}var g=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Object(r["f"])()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),s=this.defaultDimValueGetter=i[o.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[];Object(a["f"])(o);this._dimensions=Object(r["H"])(e,(function(t){return{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new l[e||"float"](this._rawCount),this._rawExtent[r]=p(),r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=p());for(var s=r[t],u=o;u<a;u++){var c=n[u]=e.parseAndCollect(n[u]);isNaN(c)||(s[0]=Math.min(c,s[0]),s[1]=Math.max(c,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){var e=this._dimensions[t],n=e.ordinalMeta;return n},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,r=this._dimensions,o=r.length,a=this._rawExtent,s=this.count(),u=s+Math.max(t.length,e||0),c=0;c<o;c++){var d=r[c];v(n,c,d.type,u,!0)}for(var h=[],l=s;l<u;l++)for(var f=l-s,p=0;p<o;p++){d=r[p];var m=i.arrayRows.call(this,t[f]||h,d.property,f,p);n[p][l]=m;var g=a[p];m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}return this._rawCount=this._count=u,{start:s,end:u}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,u=this._rawExtent,c=Object(r["H"])(a,(function(t){return t.property})),d=0;d<s;d++){var h=a[d];u[d]||(u[d]=p()),v(o,d,h.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,o,u);else for(var l=[],f=t;f<e;f++){l=i.getItem(f,l);for(var m=0;m<s;m++){var g=o[m],_=this._dimValueGetter(l,c[m],f,m);g[f]=_;var y=u[m];_<y[0]&&(y[0]=_),_>y[1]&&(y[1]=_)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;r=0;for(var o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var i=0,r=this.count();i<r;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}return n},t.prototype.getMedian=function(t){var e=[];this.each([t],(function(t){isNaN(t)||e.push(t)}));var n=e.sort((function(t,e){return t-e})),i=this.count();return 0===i?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;var i=0,r=this._count-1;while(i<=r){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks,r=i[t],o=[];if(!r)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,u=0,c=0,d=this.count();c<d;c++){var h=this.getRawIndex(c),l=e-r[h],f=Math.abs(l);f<=n&&((f<a||f===a&&l>=0&&s<0)&&(a=f,s=l,u=0),l===s&&(o[u++]=c))}return o.length=u,o},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{n=f(this._rawCount);t=new n(this.count());for(r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=f(n._rawCount),o=new r(i),a=[],s=t.length,u=0,c=t[0],d=n._chunks,h=0;h<i;h++){var l=void 0,p=n.getRawIndex(h);if(0===s)l=e(h);else if(1===s){var m=d[c][p];l=e(m,h)}else{for(var v=0;v<s;v++)a[v]=d[t[v]][p];a[v]=h,l=e.apply(null,a)}l&&(o[u++]=p)}return u<i&&(n._indices=o),n._count=u,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=Object(r["F"])(t),o=i.length;if(!o)return this;var a=e.count(),s=f(e._rawCount),u=new s(a),c=0,d=i[0],h=t[d][0],l=t[d][1],p=e._chunks,m=!1;if(!e._indices){var v=0;if(1===o){for(var g=p[i[0]],_=0;_<n;_++){var y=g[_];(y>=h&&y<=l||isNaN(y))&&(u[c++]=v),v++}m=!0}else if(2===o){g=p[i[0]];var b=p[i[1]],I=t[i[1]][0],O=t[i[1]][1];for(_=0;_<n;_++){y=g[_];var D=b[_];(y>=h&&y<=l||isNaN(y))&&(D>=I&&D<=O||isNaN(D))&&(u[c++]=v),v++}m=!0}}if(!m)if(1===o)for(_=0;_<a;_++){var x=e.getRawIndex(_);y=p[i[0]][x];(y>=h&&y<=l||isNaN(y))&&(u[c++]=x)}else for(_=0;_<a;_++){for(var w=!0,j=(x=e.getRawIndex(_),0);j<o;j++){var M=i[j];y=p[M][x];(y<t[M][0]||y>t[M][1])&&(w=!1)}w&&(u[c++]=e.getRawIndex(_))}return c<a&&(e._indices=u),e._count=c,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],u=t._rawExtent,c=0;c<e.length;c++)u[e[c]]=p();for(var d=0;d<a;d++){for(var h=t.getRawIndex(d),l=0;l<o;l++)s[l]=i[e[l]][h];s[o]=d;var f=n&&n.apply(null,s);if(null!=f){"object"!==typeof f&&(r[0]=f,f=r);for(c=0;c<f.length;c++){var m=e[c],v=f[c],g=u[m],_=i[m];_&&(_[h]=v),v<g[0]&&(g[0]=v),v>g[1]&&(g[1]=v)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks,s=a[t],u=this.count(),c=0,d=Math.floor(1/e),h=this.getRawIndex(0),l=new(f(this._rawCount))(Math.min(2*(Math.ceil(u/d)+2),u));l[c++]=h;for(var p=1;p<u-1;p+=d){for(var m=Math.min(p+d,u-1),v=Math.min(p+2*d,u),g=(v+m)/2,_=0,y=m;y<v;y++){var b=this.getRawIndex(y),I=s[b];isNaN(I)||(_+=I)}_/=v-m;var O=p,D=Math.min(p+d,u),x=p-1,w=s[h];n=-1,r=O;var j=-1,M=0;for(y=O;y<D;y++){b=this.getRawIndex(y),I=s[b];isNaN(I)?(M++,j<0&&(j=b)):(i=Math.abs((x-g)*(I-w)-(x-y)*(_-w)),i>n&&(n=i,r=b))}M>0&&M<D-O&&(l[c++]=Math.min(j,r),r=Math.max(j,r)),l[c++]=r,h=r}return l[c++]=this.getRawIndex(u-1),o._count=c,o._indices=l,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),u=o[t],c=this.count(),d=r._rawExtent[t]=p(),h=new(f(this._rawCount))(Math.ceil(c/s)),l=0,m=0;m<c;m+=s){s>c-m&&(s=c-m,a.length=s);for(var v=0;v<s;v++){var g=this.getRawIndex(m+v);a[v]=u[g]}var _=n(a),y=this.getRawIndex(Math.min(m+i(a,_)||0,c-1));u[y]=_,_<d[0]&&(d[0]=_),_>d[1]&&(d[1]=_),h[l++]=y}return r._count=l,r._indices=h,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,u=[];s<n;s++)u[s]=i[t[s]][a];u[s]=r,e.apply(null,u)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=p();if(!e)return n;var i,r=this.count(),o=!this._indices;if(o)return this._rawExtent[t].slice();if(i=this._extent[t],i)return i.slice();i=n;for(var a=i[0],s=i[1],u=0;u<r;u++){var c=this.getRawIndex(u),d=e[c];d<a&&(a=d),d>s&&(s=d)}return i=[a,s],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i=new t,o=this._chunks,a=e&&Object(r["N"])(e,(function(t,e){return t[e]=!0,t}),{});if(a)for(var s=0;s<o.length;s++)i._chunks[s]=a[s]?m(o[s]):o[s];else i._chunks=o;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=Object(r["d"])(this._extent),t._rawExtent=Object(r["d"])(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return Object(o["d"])(t[i],this._dimensions[i])}i={arrayRows:t,objectRows:function(t,e,n,i){return Object(o["d"])(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return Object(o["d"])(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}();e["b"]=g},e13f:function(t,e,n){"use strict";n.d(e,"d",(function(){return a})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return f}));var i=n("fa5c"),r=n("ba54"),o=n("5d30");function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||Object(r["z"])(t)||null==t||"-"===t||(t=+Object(i["n"])(t)),null==t||""===t?NaN:+t)}var s=Object(r["f"])({number:function(t){return parseFloat(t)},time:function(t){return+Object(i["n"])(t)},trim:function(t){return Object(r["C"])(t)?Object(r["T"])(t):t}});function u(t){return s.get(t)}var c={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},d=function(){function t(t,e){if(!Object(r["z"])(e)){var n="";0,Object(o["c"])(n)}this._opFn=c[t],this._rvalFloat=Object(i["m"])(e)}return t.prototype.evaluate=function(t){return Object(r["z"])(t)?this._opFn(t,this._rvalFloat):this._opFn(Object(i["m"])(t),this._rvalFloat)},t}(),h=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=Object(r["z"])(t)?t:Object(i["m"])(t),o=Object(r["z"])(e)?e:Object(i["m"])(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var u=Object(r["C"])(t),c=Object(r["C"])(e);u&&(n=c?t:0),c&&(o=u?e:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},t}(),l=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Object(i["m"])(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=Object(i["m"])(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function f(t,e){return"eq"===t||"ne"===t?new l("eq"===t,e):Object(r["q"])(c,t)?new d(t,e):null}},ee02:function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return h}));var i=n("ba54"),r=n("72af"),o=n("4e0d"),a=n("44b0"),s=n("5ec3"),u=n("d288"),c=n("ccea"),d=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,a=this._getUpstreamSourceManagers(),s=!!a.length;if(l(n)){var u=n,c=void 0,d=void 0,h=void 0;if(s){var f=a[0];f.prepareSource(),h=f.getSource(),c=h.data,d=h.sourceFormat,e=[f._getVersionSign()]}else c=u.get("data",!0),d=Object(i["E"])(c)?o["g"]:o["f"],e=[];var p=this._getSourceMetaRawOption()||{},m=h&&h.metaRawOption||{},v=Object(i["P"])(p.seriesLayoutBy,m.seriesLayoutBy)||null,g=Object(i["P"])(p.sourceHeader,m.sourceHeader),_=Object(i["P"])(p.dimensions,m.dimensions),y=v!==m.seriesLayoutBy||!!g!==!!m.sourceHeader||_;t=y?[Object(r["b"])(c,{seriesLayoutBy:v,sourceHeader:g,dimensions:_},d)]:[]}else{var b=n;if(s){var I=this._applyTransform(a);t=I.sourceList,e=I.upstreamSignList}else{var O=b.get("source",!0);t=[Object(r["b"])(O,this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,o=n.get("transform",!0),a=n.get("fromTransformResult",!0);if(null!=a){var u="";1!==t.length&&f(u)}var c=[],d=[];return Object(i["k"])(t,(function(t){t.prepareSource();var e=t.getSource(a||0),n="";null==a||e||f(n),c.push(e),d.push(t._getVersionSign())})),o?e=Object(s["a"])(o,c,{datasetIndex:n.componentIndex}):null!=a&&(e=[Object(r["a"])(c[0])]),{sourceList:e,upstreamSignList:d}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=0,r=this._storeList,o=r[i];o||(o=r[i]={});var a=o[n];if(!a){var s=this._getUpstreamSourceManagers()[0];l(this._sourceHost)&&s?a=s._innerGetDataStore(t,e,n):(a=new u["b"],a.initData(new c["a"](e,t.length),t)),o[n]=a}return a},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(l(t)){var e=Object(a["f"])(t);return e?[e.getSourceManager()]:[]}return Object(i["H"])(Object(a["e"])(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;if(l(i))t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=i;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function h(t){var e=t.option.transform;e&&Object(i["R"])(t.option.transform)}function l(t){return"series"===t.mainType}function f(t){throw new Error(t)}},f26d:function(t,e,n){"use strict";var i=n("ba54"),r=0,o=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++r}return t.createByAxisModel=function(e){var n=e.option,r=n.data,o=r&&Object(i["H"])(r,a);return new t({categories:o,needCollect:!o,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!Object(i["C"])(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var r=this._getOrCreateMap();return e=r.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,r.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(i["f"])(this.categories))},t}();function a(t){return Object(i["A"])(t)&&null!=t.value?t.value:t+""}e["a"]=o},fadd:function(t,e,n){"use strict";var i=n("ba54"),r=n("6d8b"),o=Object(r["o"])();function a(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,f(e,n,t),Object(i["k"])(n,(function(n){Object(i["k"])(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,Object(i["h"])(s,t))}))})),e.wrapMethod("cloneShallow",Object(i["h"])(c,t)),Object(i["k"])(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,Object(i["h"])(u,t))})),Object(i["b"])(n[e.dataType]===e)}function s(t,e){if(l(this)){var n=Object(i["m"])({},o(this).datas);n[this.dataType]=e,f(e,n,t)}else p(e,this.dataType,o(this).mainData,t);return e}function u(t,e){return t.struct&&t.struct.update(),e}function c(t,e){return Object(i["k"])(o(e).datas,(function(n,i){n!==e&&p(n.cloneShallow(),i,e,t)})),e}function d(t){var e=o(this).mainData;return null==t||null==e?e:o(e).datas[t]}function h(){var t=o(this).mainData;return null==t?[{data:t}]:Object(i["H"])(Object(i["F"])(o(t).datas),(function(e){return{type:e,data:o(t).datas[e]}}))}function l(t){return o(t).mainData===t}function f(t,e,n){o(t).datas={},Object(i["k"])(e,(function(e,i){p(e,i,t,n)}))}function p(t,e,n,i){o(n).datas[e]=t,o(t).mainData=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=d,t.getLinkedDataAll=h}e["a"]=a}}]);