chunk-vendors-b8e726d7.d6fcbbd9.js 24 KB

12
  1. (self["webpackChunkapp"]=self["webpackChunkapp"]||[]).push([[4317],{4130:function(t){function e(t){return t}function i(t,i,n,s,a){this._old=t,this._new=i,this._oldKeyGetter=n||e,this._newKeyGetter=s||e,this.context=a}function n(t,e,i,n,s){for(var a=0;a<t.length;a++){var r="_ec_"+s[n](t[a],a),o=e[r];null==o?(i.push(r),e[r]=a):(o.length||(e[r]=o=[o]),o.push(a))}}i.prototype={constructor:i,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t=this._old,e=this._new,i={},s={},a=[],r=[];for(n(t,i,a,"_oldKeyGetter",this),n(e,s,r,"_newKeyGetter",this),d=0;d<t.length;d++){var o=a[d],h=s[o];if(null!=h){var u=h.length;u?(1===u&&(s[o]=null),h=h.shift()):s[o]=null,this._update&&this._update(h,d)}else this._remove&&this._remove(d)}for(var d=0;d<r.length;d++){o=r[d];if(s.hasOwnProperty(o)){h=s[o];if(null==h)continue;if(h.length){var c=0;for(u=h.length;c<u;c++)this._add&&this._add(h[c])}else this._add&&this._add(h)}}}};var s=i;t.exports=s},80690:function(t,e,i){var n=i(33051);function s(t){null!=t&&n.extend(this,t),this.otherDims={}}var a=s;t.exports=a},85446:function(t,e,i){var n=i(38175),s=(n.__DEV__,i(33051)),a=i(34251),r=a.enableClassCheck;function o(t){return"_EC_"+t}var h=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},u=h.prototype;function d(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function c(t,e,i){this.node1=t,this.node2=e,this.dataIndex=null==i?-1:i}u.type="graph",u.isDirected=function(){return this._directed},u.addNode=function(t,e){t=null==t?""+e:""+t;var i=this._nodesMap;if(!i[o(t)]){var n=new d(t,e);return n.hostGraph=this,this.nodes.push(n),i[o(t)]=n,n}},u.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},u.getNodeById=function(t){return this._nodesMap[o(t)]},u.addEdge=function(t,e,i){var n=this._nodesMap,s=this._edgesMap;if("number"===typeof t&&(t=this.nodes[t]),"number"===typeof e&&(e=this.nodes[e]),d.isInstance(t)||(t=n[o(t)]),d.isInstance(e)||(e=n[o(e)]),t&&e){var a=t.id+"-"+e.id;if(!s[a]){var r=new c(t,e,i);return r.hostGraph=this,this._directed&&(t.outEdges.push(r),e.inEdges.push(r)),t.edges.push(r),t!==e&&e.edges.push(r),this.edges.push(r),s[a]=r,r}}},u.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},u.getEdge=function(t,e){d.isInstance(t)&&(t=t.id),d.isInstance(e)&&(e=e.id);var i=this._edgesMap;return this._directed?i[t+"-"+e]:i[t+"-"+e]||i[e+"-"+t]},u.eachNode=function(t,e){for(var i=this.nodes,n=i.length,s=0;s<n;s++)i[s].dataIndex>=0&&t.call(e,i[s],s)},u.eachEdge=function(t,e){for(var i=this.edges,n=i.length,s=0;s<n;s++)i[s].dataIndex>=0&&i[s].node1.dataIndex>=0&&i[s].node2.dataIndex>=0&&t.call(e,i[s],s)},u.breadthFirstTraverse=function(t,e,i,n){if(d.isInstance(e)||(e=this._nodesMap[o(e)]),e){for(var s="out"===i?"outEdges":"in"===i?"inEdges":"edges",a=0;a<this.nodes.length;a++)this.nodes[a].__visited=!1;if(!t.call(n,e,null)){var r=[e];while(r.length){var h=r.shift(),u=h[s];for(a=0;a<u.length;a++){var c=u[a],l=c.node1===h?c.node2:c.node1;if(!l.__visited){if(t.call(n,l,h))return;r.push(l),l.__visited=!0}}}}}},u.update=function(){for(var t=this.data,e=this.edgeData,i=this.nodes,n=this.edges,s=0,a=i.length;s<a;s++)i[s].dataIndex=-1;for(s=0,a=t.count();s<a;s++)i[t.getRawIndex(s)].dataIndex=s;e.filterSelf((function(t){var i=n[e.getRawIndex(t)];return i.node1.dataIndex>=0&&i.node2.dataIndex>=0}));for(s=0,a=n.length;s<a;s++)n[s].dataIndex=-1;for(s=0,a=e.count();s<a;s++)n[e.getRawIndex(s)].dataIndex=s},u.clone=function(){for(var t=new h(this._directed),e=this.nodes,i=this.edges,n=0;n<e.length;n++)t.addNode(e[n].id,e[n].dataIndex);for(n=0;n<i.length;n++){var s=i[n];t.addEdge(s.node1.id,s.node2.id,s.dataIndex)}return t},d.prototype={constructor:d,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,i=e.data.getItemModel(this.dataIndex);return i.getModel(t)}}},c.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,i=e.edgeData.getItemModel(this.dataIndex);return i.getModel(t)}};var l=function(t,e){return{getValue:function(i){var n=this[t][e];return n.get(n.getDimension(i||"value"),this.dataIndex)},setVisual:function(i,n){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,i,n)},getVisual:function(i,n){return this[t][e].getItemVisual(this.dataIndex,i,n)},setLayout:function(i,n){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,i,n)},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)}}};s.mixin(d,l("hostGraph","data")),s.mixin(c,l("hostGraph","edgeData")),h.Node=d,h.Edge=c,r(d),r(c);var f=h;t.exports=f},87587:function(t,e,i){var n=i(38175),s=(n.__DEV__,i(33051)),a=i(4272),r=i(4130),o=i(99574),h=i(68540),u=h.defaultDimValueGetters,d=h.DefaultDataProvider,c=i(10381),l=c.summarizeDimensions,f=i(80690),_=s.isObject,g="undefined",v=-1,p="e\0\0",m={float:typeof Float64Array===g?Array:Float64Array,int:typeof Int32Array===g?Array:Int32Array,ordinal:Array,number:Array,time:Array},I=typeof Uint32Array===g?Array:Uint32Array,x=typeof Int32Array===g?Array:Int32Array,y=typeof Uint16Array===g?Array:Uint16Array;function w(t){return t._rawCount>65535?I:y}function D(t){var e=t.constructor;return e===Array?t.slice():new e(t)}var M=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],N=["_extent","_approximateExtent","_rawExtent"];function E(t,e){s.each(M.concat(e.__wrappedMethods||[]),(function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})),t.__wrappedMethods=e.__wrappedMethods,s.each(N,(function(i){t[i]=s.clone(e[i])})),t._calculationInfo=s.extend(e._calculationInfo)}var A=function(t,e){t=t||["x","y"];for(var i={},n=[],a={},r=0;r<t.length;r++){var o=t[r];s.isString(o)?o=new f({name:o}):o instanceof f||(o=new f(o));var h=o.name;o.type=o.type||"float",o.coordDim||(o.coordDim=h,o.coordDimIndex=0),o.otherDims=o.otherDims||{},n.push(h),i[h]=o,o.index=r,o.createInvertedIndices&&(a[h]=[])}this.dimensions=n,this._dimensionInfos=i,this.hostModel=e,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=l(this),this._invertedIndicesMap=a,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},R=A.prototype;function C(t,e,i,n,s){var a=m[e.type],r=n-1,o=e.name,h=t[o][r];if(h&&h.length<i){for(var u=new a(Math.min(s-r*i,i)),d=0;d<h.length;d++)u[d]=h[d];t[o][r]=u}for(var c=n*i;c<s;c+=i)t[o].push(new a(Math.min(s-c,i)))}function S(t){var e=t._invertedIndicesMap;s.each(e,(function(i,n){var s=t._dimensionInfos[n],a=s.ordinalMeta;if(a){i=e[n]=new x(a.categories.length);for(var r=0;r<i.length;r++)i[r]=v;for(r=0;r<t._count;r++)i[t.get(n,r)]=r}}))}function L(t,e,i){var n;if(null!=e){var s=t._chunkSize,a=Math.floor(i/s),r=i%s,o=t.dimensions[e],h=t._storage[o][a];if(h){n=h[r];var u=t._dimensionInfos[o].ordinalMeta;u&&u.categories.length&&(n=u.categories[n])}}return n}function O(t){return t}function V(t){return t<this._count&&t>=0?this._indices[t]:-1}function k(t,e){var i=t._idList[e];return null==i&&(i=L(t,t._idDimIdx,e)),null==i&&(i=p+e),i}function T(t){return s.isArray(t)||(t=[t]),t}function G(t,e){var i=t.dimensions,n=new A(s.map(i,t.getDimensionInfo,t),t.hostModel);E(n,t);for(var a=n._storage={},r=t._storage,o=0;o<i.length;o++){var h=i[o];r[h]&&(s.indexOf(e,h)>=0?(a[h]=F(r[h]),n._rawExtent[h]=z(),n._extent[h]=null):a[h]=r[h])}return n}function F(t){for(var e=new Array(t.length),i=0;i<t.length;i++)e[i]=D(t[i]);return e}function z(){return[1/0,-1/0]}R.type="list",R.hasItemOption=!0,R.getDimension=function(t){return"number"!==typeof t&&(isNaN(t)||this._dimensionInfos.hasOwnProperty(t))||(t=this.dimensions[t]),t},R.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},R.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},R.mapDimension=function(t,e){var i=this._dimensionsSummary;if(null==e)return i.encodeFirstDimNotExtra[t];var n=i.encode[t];return!0===e?(n||[]).slice():n&&n[e]},R.initData=function(t,e,i){var n=o.isInstance(t)||s.isArrayLike(t);n&&(t=new d(t,this.dimensions.length)),this._rawData=t,this._storage={},this._indices=null,this._nameList=e||[],this._idList=[],this._nameRepeatCount={},i||(this.hasItemOption=!1),this.defaultDimValueGetter=u[this._rawData.getSource().sourceFormat],this._dimValueGetter=i=i||this.defaultDimValueGetter,this._dimValueGetterArrayRows=u.arrayRows,this._rawExtent={},this._initDataFromProvider(0,t.count()),t.pure&&(this.hasItemOption=!1)},R.getProvider=function(){return this._rawData},R.appendData=function(t){var e=this._rawData,i=this.count();e.appendData(t);var n=e.count();e.persistent||(n+=i),this._initDataFromProvider(i,n)},R.appendValues=function(t,e){for(var i=this._chunkSize,n=this._storage,s=this.dimensions,a=s.length,r=this._rawExtent,o=this.count(),h=o+Math.max(t.length,e?e.length:0),u=this._chunkCount,d=0;d<a;d++){var c=s[d];r[c]||(r[c]=z()),n[c]||(n[c]=[]),C(n,this._dimensionInfos[c],i,u,h),this._chunkCount=n[c].length}for(var l=new Array(a),f=o;f<h;f++){for(var _=f-o,g=Math.floor(f/i),v=f%i,p=0;p<a;p++){c=s[p];var m=this._dimValueGetterArrayRows(t[_]||l,c,_,p);n[c][g][v]=m;var I=r[c];m<I[0]&&(I[0]=m),m>I[1]&&(I[1]=m)}e&&(this._nameList[f]=e[_])}this._rawCount=this._count=h,this._extent={},S(this)},R._initDataFromProvider=function(t,e){if(!(t>=e)){for(var i,n=this._chunkSize,s=this._rawData,a=this._storage,r=this.dimensions,o=r.length,h=this._dimensionInfos,u=this._nameList,d=this._idList,c=this._rawExtent,l=this._nameRepeatCount={},f=this._chunkCount,_=0;_<o;_++){var g=r[_];c[g]||(c[g]=z());var v=h[g];0===v.otherDims.itemName&&(i=this._nameDimIdx=_),0===v.otherDims.itemId&&(this._idDimIdx=_),a[g]||(a[g]=[]),C(a,v,n,f,e),this._chunkCount=a[g].length}for(var p=new Array(o),m=t;m<e;m++){p=s.getItem(m,p);for(var I=Math.floor(m/n),x=m%n,y=0;y<o;y++){g=r[y];var w=a[g][I],D=this._dimValueGetter(p,g,m,y);w[x]=D;var M=c[g];D<M[0]&&(M[0]=D),D>M[1]&&(M[1]=D)}if(!s.pure){var N=u[m];if(p&&null==N)if(null!=p.name)u[m]=N=p.name;else if(null!=i){var E=r[i],A=a[E][I];if(A){N=A[x];var R=h[E].ordinalMeta;R&&R.categories.length&&(N=R.categories[N])}}var L=null==p?null:p.id;null==L&&null!=N&&(l[N]=l[N]||0,L=N,l[N]>0&&(L+="__ec__"+l[N]),l[N]++),null!=L&&(d[m]=L)}}!s.persistent&&s.clean&&s.clean(),this._rawCount=this._count=e,this._extent={},S(this)}},R.count=function(){return this._count},R.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,i=this._count;if(e===Array){s=new e(i);for(var n=0;n<i;n++)s[n]=t[n]}else s=new e(t.buffer,0,i)}else{e=w(this);var s=new e(this.count());for(n=0;n<s.length;n++)s[n]=n}return s},R.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var i=this._storage;if(!i[t])return NaN;e=this.getRawIndex(e);var n=Math.floor(e/this._chunkSize),s=e%this._chunkSize,a=i[t][n],r=a[s];return r},R.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var i=this._storage[t];if(!i)return NaN;var n=Math.floor(e/this._chunkSize),s=e%this._chunkSize,a=i[n];return a[s]},R._getFast=function(t,e){var i=Math.floor(e/this._chunkSize),n=e%this._chunkSize,s=this._storage[t][i];return s[n]},R.getValues=function(t,e){var i=[];s.isArray(t)||(e=t,t=this.dimensions);for(var n=0,a=t.length;n<a;n++)i.push(this.get(t[n],e));return i},R.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,i=0,n=e.length;i<n;i++)if(isNaN(this.get(e[i],t)))return!1;return!0},R.getDataExtent=function(t){t=this.getDimension(t);var e=this._storage[t],i=z();if(!e)return i;var n,s=this.count(),a=!this._indices;if(a)return this._rawExtent[t].slice();if(n=this._extent[t],n)return n.slice();n=i;for(var r=n[0],o=n[1],h=0;h<s;h++){var u=this._getFast(t,this.getRawIndex(h));u<r&&(r=u),u>o&&(o=u)}return n=[r,o],this._extent[t]=n,n},R.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},R.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},R.getCalculationInfo=function(t){return this._calculationInfo[t]},R.setCalculationInfo=function(t,e){_(t)?s.extend(this._calculationInfo,t):this._calculationInfo[t]=e},R.getSum=function(t){var e=this._storage[t],i=0;if(e)for(var n=0,s=this.count();n<s;n++){var a=this.get(t,n);isNaN(a)||(i+=a)}return i},R.getMedian=function(t){var e=[];this.each(t,(function(t,i){isNaN(t)||e.push(t)}));var i=[].concat(e).sort((function(t,e){return t-e})),n=this.count();return 0===n?0:n%2===1?i[(n-1)/2]:(i[n/2]+i[n/2-1])/2},R.rawIndexOf=function(t,e){var i=t&&this._invertedIndicesMap[t],n=i[e];return null==n||isNaN(n)?v:n},R.indexOfName=function(t){for(var e=0,i=this.count();e<i;e++)if(this.getName(e)===t)return e;return-1},R.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,i=e[t];if(null!=i&&i<this._count&&i===t)return t;var n=0,s=this._count-1;while(n<=s){var a=(n+s)/2|0;if(e[a]<t)n=a+1;else{if(!(e[a]>t))return a;s=a-1}}return-1},R.indicesOfNearest=function(t,e,i){var n=this._storage,s=n[t],a=[];if(!s)return a;null==i&&(i=1/0);for(var r=1/0,o=-1,h=0,u=0,d=this.count();u<d;u++){var c=e-this.get(t,u),l=Math.abs(c);l<=i&&((l<r||l===r&&c>=0&&o<0)&&(r=l,o=c,h=0),c===o&&(a[h++]=u))}return a.length=h,a},R.getRawIndex=O,R.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],i=0;i<this.dimensions.length;i++){var n=this.dimensions[i];e.push(this.get(n,t))}return e},R.getName=function(t){var e=this.getRawIndex(t);return this._nameList[e]||L(this,this._nameDimIdx,e)||""},R.getId=function(t){return k(this,this.getRawIndex(t))},R.each=function(t,e,i,n){"use strict";if(this._count){"function"===typeof t&&(n=i,i=e,e=t,t=[]),i=i||n||this,t=s.map(T(t),this.getDimension,this);for(var a=t.length,r=0;r<this.count();r++)switch(a){case 0:e.call(i,r);break;case 1:e.call(i,this.get(t[0],r),r);break;case 2:e.call(i,this.get(t[0],r),this.get(t[1],r),r);break;default:for(var o=0,h=[];o<a;o++)h[o]=this.get(t[o],r);h[o]=r,e.apply(i,h)}}},R.filterSelf=function(t,e,i,n){"use strict";if(this._count){"function"===typeof t&&(n=i,i=e,e=t,t=[]),i=i||n||this,t=s.map(T(t),this.getDimension,this);for(var a=this.count(),r=w(this),o=new r(a),h=[],u=t.length,d=0,c=t[0],l=0;l<a;l++){var f,_=this.getRawIndex(l);if(0===u)f=e.call(i,l);else if(1===u){var g=this._getFast(c,_);f=e.call(i,g,l)}else{for(var v=0;v<u;v++)h[v]=this._getFast(c,_);h[v]=l,f=e.apply(i,h)}f&&(o[d++]=_)}return d<a&&(this._indices=o),this._count=d,this._extent={},this.getRawIndex=this._indices?V:O,this}},R.selectRange=function(t){"use strict";if(this._count){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);var n=e.length;if(n){var s=this.count(),a=w(this),r=new a(s),o=0,h=e[0],u=t[h][0],d=t[h][1],c=!1;if(!this._indices){var l=0;if(1===n){for(var f=this._storage[e[0]],_=0;_<this._chunkCount;_++)for(var g=f[_],v=Math.min(this._count-_*this._chunkSize,this._chunkSize),p=0;p<v;p++){var m=g[p];(m>=u&&m<=d||isNaN(m))&&(r[o++]=l),l++}c=!0}else if(2===n){f=this._storage[h];var I=this._storage[e[1]],x=t[e[1]][0],y=t[e[1]][1];for(_=0;_<this._chunkCount;_++){g=f[_];var D=I[_];for(v=Math.min(this._count-_*this._chunkSize,this._chunkSize),p=0;p<v;p++){m=g[p];var M=D[p];(m>=u&&m<=d||isNaN(m))&&(M>=x&&M<=y||isNaN(M))&&(r[o++]=l),l++}}c=!0}}if(!c)if(1===n)for(p=0;p<s;p++){var N=this.getRawIndex(p);m=this._getFast(h,N);(m>=u&&m<=d||isNaN(m))&&(r[o++]=N)}else for(p=0;p<s;p++){var E=!0;for(N=this.getRawIndex(p),_=0;_<n;_++){var A=e[_];m=this._getFast(i,N);(m<t[A][0]||m>t[A][1])&&(E=!1)}E&&(r[o++]=this.getRawIndex(p))}return o<s&&(this._indices=r),this._count=o,this._extent={},this.getRawIndex=this._indices?V:O,this}}},R.mapArray=function(t,e,i,n){"use strict";"function"===typeof t&&(n=i,i=e,e=t,t=[]),i=i||n||this;var s=[];return this.each(t,(function(){s.push(e&&e.apply(this,arguments))}),i),s},R.map=function(t,e,i,n){"use strict";i=i||n||this,t=s.map(T(t),this.getDimension,this);var a=G(this,t);a._indices=this._indices,a.getRawIndex=a._indices?V:O;for(var r=a._storage,o=[],h=this._chunkSize,u=t.length,d=this.count(),c=[],l=a._rawExtent,f=0;f<d;f++){for(var _=0;_<u;_++)c[_]=this.get(t[_],f);c[u]=f;var g=e&&e.apply(i,c);if(null!=g){"object"!==typeof g&&(o[0]=g,g=o);for(var v=this.getRawIndex(f),p=Math.floor(v/h),m=v%h,I=0;I<g.length;I++){var x=t[I],y=g[I],w=l[x],D=r[x];D&&(D[p][m]=y),y<w[0]&&(w[0]=y),y>w[1]&&(w[1]=y)}}}return a},R.downSample=function(t,e,i,n){for(var s=G(this,[t]),a=s._storage,r=[],o=Math.floor(1/e),h=a[t],u=this.count(),d=this._chunkSize,c=s._rawExtent[t],l=new(w(this))(u),f=0,_=0;_<u;_+=o){o>u-_&&(o=u-_,r.length=o);for(var g=0;g<o;g++){var v=this.getRawIndex(_+g),p=Math.floor(v/d),m=v%d;r[g]=h[p][m]}var I=i(r),x=this.getRawIndex(Math.min(_+n(r,I)||0,u-1)),y=Math.floor(x/d),D=x%d;h[y][D]=I,I<c[0]&&(c[0]=I),I>c[1]&&(c[1]=I),l[f++]=x}return s._count=f,s._indices=l,s.getRawIndex=V,s},R.getItemModel=function(t){var e=this.hostModel;return new a(this.getRawDataItem(t),e,e&&e.ecModel)},R.diff=function(t){var e=this;return new r(t?t.getIndices():[],this.getIndices(),(function(e){return k(t,e)}),(function(t){return k(e,t)}))},R.getVisual=function(t){var e=this._visual;return e&&e[t]},R.setVisual=function(t,e){if(_(t))for(var i in t)t.hasOwnProperty(i)&&this.setVisual(i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},R.setLayout=function(t,e){if(_(t))for(var i in t)t.hasOwnProperty(i)&&this.setLayout(i,t[i]);else this._layout[t]=e},R.getLayout=function(t){return this._layout[t]},R.getItemLayout=function(t){return this._itemLayouts[t]},R.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?s.extend(this._itemLayouts[t]||{},e):e},R.clearItemLayouts=function(){this._itemLayouts.length=0},R.getItemVisual=function(t,e,i){var n=this._itemVisuals[t],s=n&&n[e];return null!=s||i?s:this.getVisual(e)},R.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{},s=this.hasItemVisual;if(this._itemVisuals[t]=n,_(e))for(var a in e)e.hasOwnProperty(a)&&(n[a]=e[a],s[a]=!0);else n[e]=i,s[e]=!0},R.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var b=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};R.setItemGraphicEl=function(t,e){var i=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=i&&i.seriesIndex,"group"===e.type&&e.traverse(b,e)),this._graphicEls[t]=e},R.getItemGraphicEl=function(t){return this._graphicEls[t]},R.eachItemGraphicEl=function(t,e){s.each(this._graphicEls,(function(i,n){i&&t&&t.call(e,i,n)}))},R.cloneShallow=function(t){if(!t){var e=s.map(this.dimensions,this.getDimensionInfo,this);t=new A(e,this.hostModel)}if(t._storage=this._storage,E(t,this),this._indices){var i=this._indices.constructor;t._indices=new i(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?V:O,t},R.wrapMethod=function(t,e){var i=this[t];"function"===typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t].concat(s.slice(arguments)))})},R.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],R.CHANGABLE_METHODS=["filterSelf","selectRange"];var B=A;t.exports=B},51401:function(t,e,i){var n=i(33051),s=n.createHashMap,a=n.isObject,r=n.map;function o(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}o.createByAxisModel=function(t){var e=t.option,i=e.data,n=i&&r(i,d);return new o({categories:n,needCollect:!n,deduplication:!1!==e.dedplication})};var h=o.prototype;function u(t){return t._map||(t._map=s(t.categories))}function d(t){return a(t)&&null!=t.value?t.value:t+""}h.getOrdinal=function(t){return u(this).get(t)},h.parseAndCollect=function(t){var e,i=this._needCollect;if("string"!==typeof t&&!i)return t;if(i&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var n=u(this);return e=n.get(t),null==e&&(i?(e=this.categories.length,this.categories[e]=t,n.set(t,e)):e=NaN),e};var c=o;t.exports=c},99574:function(t,e,i){var n=i(33051),s=n.createHashMap,a=n.isTypedArray,r=i(34251),o=r.enableClassCheck,h=i(93819),u=h.SOURCE_FORMAT_ORIGINAL,d=h.SERIES_LAYOUT_BY_COLUMN,c=h.SOURCE_FORMAT_UNKNOWN,l=h.SOURCE_FORMAT_TYPED_ARRAY,f=h.SOURCE_FORMAT_KEYED_COLUMNS;function _(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===f?{}:[]),this.sourceFormat=t.sourceFormat||c,this.seriesLayoutBy=t.seriesLayoutBy||d,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&s(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}_.seriesDataToSource=function(t){return new _({data:t,sourceFormat:a(t)?l:u,fromDataset:!1})},o(_);var g=_;t.exports=g},9327:function(t,e,i){var n=i(33051),s=i(4272),a=i(63978),r=i(87587),o=i(55623),h=function(t,e){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=e};function u(t,e){this.root,this.data,this._nodes=[],this.hostModel=t,this.levelModels=n.map(e||[],(function(e){return new s(e,t,t.ecModel)}))}function d(t,e){var i=e.children;t.parentNode!==e&&(i.push(t),t.parentNode=e)}h.prototype={constructor:h,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,e,i){"function"===typeof t&&(i=e,e=t,t=null),t=t||{},n.isString(t)&&(t={order:t});var s,a=t.order||"preorder",r=this[t.attr||"children"];"preorder"===a&&(s=e.call(i,this));for(var o=0;!s&&o<r.length;o++)r[o].eachNode(t,e,i);"postorder"===a&&e.call(i,this)},updateDepthAndHeight:function(t){var e=0;this.depth=t;for(var i=0;i<this.children.length;i++){var n=this.children[i];n.updateDepthAndHeight(t+1),n.height>e&&(e=n.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,i=this.children,n=i.length;e<n;e++){var s=i[e].getNodeById(t);if(s)return s}},contains:function(t){if(t===this)return!0;for(var e=0,i=this.children,n=i.length;e<n;e++){var s=i[e].contains(t);if(s)return s}},getAncestors:function(t){var e=[],i=t?this:this.parentNode;while(i)e.push(i),i=i.parentNode;return e.reverse(),e},getValue:function(t){var e=this.hostTree.data;return e.get(e.getDimension(t||"value"),this.dataIndex)},setLayout:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e=this.hostTree,i=e.data.getItemModel(this.dataIndex),n=this.getLevelModel();return n?i.getModel(t,n.getModel(t)):i.getModel(t)}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){var e=t.parentNode;while(e){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},u.prototype={constructor:u,type:"tree",eachNode:function(t,e,i){this.root.eachNode(t,e,i)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(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.length;i<n;i++)e[i].dataIndex=-1;for(i=0,n=t.count();i<n;i++)e[t.getRawIndex(i)].dataIndex=i},clearLayouts:function(){this.data.clearItemLayouts()}},u.createTree=function(t,e,i,s){var c=new u(e,i&&i.levels),l=[],f=1;function _(t,e){var i=t.value;f=Math.max(f,n.isArray(i)?i.length:1),l.push(t);var s=new h(t.name,c);e?d(s,e):c.root=s,c._nodes.push(s);var a=t.children;if(a)for(var r=0;r<a.length;r++)_(a[r],s)}_(t),c.root.updateDepthAndHeight(0);var g=o(l,{coordDimensions:["value"],dimensionsCount:f}),v=new r(g,e);return v.initData(l),s&&s(v),a({mainData:v,struct:c,structAttr:"tree"}),c.update(),c};var c=u;t.exports=c}}]);
  2. //# sourceMappingURL=chunk-vendors-b8e726d7.d6fcbbd9.js.map