chunk-vendors-c81cec27.7469ea61.js 16 KB

12
  1. (self["webpackChunkapp"]=self["webpackChunkapp"]||[]).push([[180],{15532:function(e,t,n){var r=n(33051),i=r.each,a=r.map,s=r.isFunction,o=r.createHashMap,l=r.noop,u=n(29449),c=u.createTask,p=n(42151),d=p.getUID,h=n(17260),f=n(59935),g=n(32234),y=g.normalizeToArray;function _(e,t,n,r){this.ecInstance=e,this.api=t,this.unfinished;n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice();this._allHandlers=n.concat(r),this._stageTaskMap=o()}var v=_.prototype;function m(e,t,n,r,a){var s;function o(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}a=a||{},i(t,(function(t,i){if(!a.visualType||a.visualType===t.visualType){var l=e._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var p,d=c.agentStubMap;d.each((function(e){o(a,e)&&(e.dirty(),p=!0)})),p&&c.dirty(),x(c,r);var h=e.getPerformArgs(c,a.block);d.each((function(e){e.perform(h)})),s|=c.perform(h)}else u&&u.each((function(i,l){o(a,i)&&i.dirty();var u=e.getPerformArgs(i,a.block);u.skip=!t.performRawSeries&&n.isSeriesFiltered(i.context.model),x(i,r),s|=i.perform(u)}))}})),e.unfinished|=s}v.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each((function(e){var t=e.overallTask;t&&t.dirty()}))},v.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),r=n.context,i=!t&&n.progressiveEnabled&&(!r||r.progressiveRender)&&e.__idxInPipeline>n.blockIndex,a=i?n.step:null,s=r&&r.modDataCount,o=null!=s?Math.ceil(s/a):null;return{step:a,modBy:o,modDataCount:s}}},v.getPipeline=function(e){return this._pipelineMap.get(e)},v.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),r=e.getData(),i=r.count(),a=n.progressiveEnabled&&t.incrementalPrepareRender&&i>=n.threshold,s=e.get("large")&&i>=e.get("largeThreshold"),o="mod"===e.get("progressiveChunkMode")?i:null;e.pipelineContext=n.context={progressiveRender:a,modDataCount:o,large:s}},v.restorePipelines=function(e){var t=this,n=t._pipelineMap=o();e.eachSeries((function(e){var r=e.getProgressive(),i=e.uid;n.set(i,{id:i,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),P(t,e,e.dataTask)}))},v.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.ecInstance.getModel(),n=this.api;i(this._allHandlers,(function(r){var i=e.get(r.uid)||e.set(r.uid,[]);r.reset&&T(this,r,i,t,n),r.overallReset&&b(this,r,i,t,n)}),this)},v.prepareView=function(e,t,n,r){var i=e.renderTask,a=i.context;a.model=t,a.ecModel=n,a.api=r,i.__block=!e.incrementalPrepareRender,P(this,t,i)},v.performDataProcessorTasks=function(e,t){m(this,this._dataProcessorHandlers,e,t,{block:!0})},v.performVisualTasks=function(e,t,n){m(this,this._visualHandlers,e,t,n)},v.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t|=e.dataTask.perform()})),this.unfinished|=t},v.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))};var x=v.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)};function T(e,t,n,r,i){var a=n.seriesTaskMap||(n.seriesTaskMap=o()),s=t.seriesType,l=t.getTargetSeries;function u(n){var s=n.uid,o=a.get(s)||a.set(s,c({plan:E,reset:D,count:F}));o.context={model:n,ecModel:r,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:e},P(e,n,o)}t.createOnAllSeries?r.eachRawSeries(u):s?r.eachRawSeriesByType(s,u):l&&l(r,i).each(u);var p=e._pipelineMap;a.each((function(e,t){p.get(t)||(e.dispose(),a.removeKey(t))}))}function b(e,t,n,r,a){var s=n.overallTask=n.overallTask||c({reset:C});s.context={ecModel:r,api:a,overallReset:t.overallReset,scheduler:e};var l=s.agentStubMap=s.agentStubMap||o(),u=t.seriesType,p=t.getTargetSeries,d=!0,h=t.modifyOutputEnd;function f(t){var n=t.uid,r=l.get(n);r||(r=l.set(n,c({reset:M,onDirty:S})),s.dirty()),r.context={model:t,overallProgress:d,modifyOutputEnd:h},r.agent=s,r.__block=d,P(e,t,r)}u?r.eachRawSeriesByType(u,f):p?p(r,a).each(f):(d=!1,i(r.getSeries(),f));var g=e._pipelineMap;l.each((function(e,t){g.get(t)||(e.dispose(),s.dirty(),l.removeKey(t))}))}function C(e){e.overallReset(e.ecModel,e.api,e.payload)}function M(e,t){return e.overallProgress&&k}function k(){this.agent.dirty(),this.getDownstream().dirty()}function S(){this.agent&&this.agent.dirty()}function E(e){return e.plan&&e.plan(e.model,e.ecModel,e.api,e.payload)}function D(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=y(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?a(t,(function(e,t){return w(t)})):A}var A=w(0);function w(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var a=t.start;a<t.end;a++)i.dataEach(r,a);else i&&i.progress&&i.progress(t,r)}}function F(e){return e.data.count()}function P(e,t,n){var r=t.uid,i=e._pipelineMap.get(r);!i.head&&(i.head=n),i.tail&&i.tail.pipe(n),i.tail=n,n.__idxInPipeline=i.count++,n.__pipeline=i}function B(e){I=null;try{e(R,O)}catch(t){}return I}_.wrapStageHandler=function(e,t){return s(e)&&(e={overallReset:e,seriesType:B(e)}),e.uid=d("stageHandler"),t&&(e.visualType=t),e};var I,R={},O={};function H(e,t){for(var n in t.prototype)e[n]=l}H(R,h),H(O,f),R.eachSeriesByType=R.eachRawSeriesByType=function(e){I=e},R.eachComponent=function(e){"series"===e.mainType&&e.subType&&(I=e.subType)};var L=_;e.exports=L},29449:function(e,t,n){var r=n(33051),i=(r.assert,r.isArray),a=n(38175);a.__DEV__;function s(e){return new o(e)}function o(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0,this.context}var l=o.prototype;l.perform=function(e){var t,n=this._upstream,r=e&&e.skip;if(this._dirty&&n){var a=this.context;a.data=a.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(t=this._plan(this.context));var s,o=h(this._modBy),l=this._modDataCount||0,u=h(e&&e.modBy),d=e&&e.modDataCount||0;function h(e){return!(e>=1)&&(e=1),e}o===u&&l===d||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,s=p(this,r)),this._modBy=u,this._modDataCount=d;var f=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,y=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!r&&(s||g<y)){var _=this._progress;if(i(_))for(var v=0;v<_.length;v++)c(this,_[v],g,y,u,d);else c(this,_,g,y,u,d)}this._dueIndex=y;var m=null!=this._settedOutputEnd?this._settedOutputEnd:y;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var u=function(){var e,t,n,r,i,a={reset:function(l,u,c,p){t=l,e=u,n=c,r=p,i=Math.ceil(r/n),a.next=n>1&&r>0?o:s}};return a;function s(){return t<e?t++:null}function o(){var a=t%i*n+Math.ceil(t/i),s=t>=e?null:a<r?a:t;return t++,s}}();function c(e,t,n,r,i,a){u.reset(n,r,i,a),e._callingProgress=t,e._callingProgress({start:n,end:r,count:r-n,next:u.next},e.context)}function p(e,t){var n,r;e._dueIndex=e._outputDueEnd=e._dueEnd=0,e._settedOutputEnd=null,!t&&e._reset&&(n=e._reset(e.context),n&&n.progress&&(r=n.forceFirstProgress,n=n.progress),i(n)&&!n.length&&(n=null)),e._progress=n,e._modBy=e._modDataCount=null;var a=e._downstream;return a&&a.dirty(),r}l.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},l.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},l.pipe=function(e){(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},l.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},l.getUpstream=function(){return this._upstream},l.getDownstream=function(){return this._downstream},l.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},t.createTask=s},73450:function(e){var t="#eee",n=function(){return{axisLine:{lineStyle:{color:t}},axisTick:{lineStyle:{color:t}},axisLabel:{textStyle:{color:t}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:t}}}},r=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],i={color:r,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:t},crossStyle:{color:t},label:{color:"#000"}}},legend:{textStyle:{color:t}},textStyle:{color:t},title:{textStyle:{color:t}},toolbox:{iconStyle:{normal:{borderColor:t}}},dataZoom:{textStyle:{color:t}},visualMap:{textStyle:{color:t}},timeline:{lineStyle:{color:t},itemStyle:{normal:{color:r[1]}},label:{normal:{textStyle:{color:t}}},controlStyle:{normal:{color:t,borderColor:t}}},timeAxis:n(),logAxis:n(),valueAxis:n(),categoryAxis:n(),line:{symbol:"circle"},graph:{color:r},gauge:{title:{textStyle:{color:t}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};i.categoryAxis.splitLine.show=!1;var a=i;e.exports=a},29594:function(e){var t=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],n={color:t,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],t]};e.exports=n},34584:function(e,t,n){var r=n(33051);function i(){var e,t=[],n={};return{add:function(e,i,a,s,o){return r.isString(s)&&(o=s,s=0),!n[e.id]&&(n[e.id]=1,t.push({el:e,target:i,time:a,delay:s,easing:o}),!0)},done:function(t){return e=t,this},start:function(){for(var r=t.length,i=0,a=t.length;i<a;i++){var s=t[i];s.el.animateTo(s.target,s.time,s.delay,s.easing,o)}return this;function o(){r--,r||(t.length=0,n={},e&&e())}}}}t.createWrap=i},34251:function(e,t,n){var r=n(38175),i=(r.__DEV__,n(33051)),a=".",s="___EC__COMPONENT__CONTAINER___";function o(e){var t={main:"",sub:""};return e&&(e=e.split(a),t.main=e[0]||"",t.sub=e[1]||""),t}function l(e){i.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function u(e,t){e.$constructor=e,e.extend=function(e){var t=this,n=function(){e.$constructor?e.$constructor.apply(this,arguments):t.apply(this,arguments)};return i.extend(n.prototype,e),n.extend=this.extend,n.superCall=d,n.superApply=h,i.inherits(n,this),n.superClass=t,n}}var c=0;function p(e){var t=["__\0is_clz",c++,Math.random().toFixed(3)].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}}function d(e,t){var n=i.slice(arguments,2);return this.superClass.prototype[t].apply(e,n)}function h(e,t,n){return this.superClass.prototype[t].apply(e,n)}function f(e,t){t=t||{};var n={};function r(e){var t=n[e.main];return t&&t[s]||(t=n[e.main]={},t[s]=!0),t}if(e.registerClass=function(e,t){if(t)if(l(t),t=o(t),t.sub){if(t.sub!==s){var i=r(t);i[t.sub]=e}}else n[t.main]=e;return e},e.getClass=function(e,t,r){var i=n[e];if(i&&i[s]&&(i=t?i[t]:null),r&&!i)throw new Error(t?"Component "+e+"."+(t||"")+" not exists. Load it first.":e+".type should be specified.");return i},e.getClassesByMainType=function(e){e=o(e);var t=[],r=n[e.main];return r&&r[s]?i.each(r,(function(e,n){n!==s&&t.push(e)})):t.push(r),t},e.hasClass=function(e){return e=o(e),!!n[e.main]},e.getAllClassMainTypes=function(){var e=[];return i.each(n,(function(t,n){e.push(n)})),e},e.hasSubTypes=function(e){e=o(e);var t=n[e.main];return t&&t[s]},e.parseClassType=o,t.registerWhenExtend){var a=e.extend;a&&(e.extend=function(t){var n=a.call(this,t);return e.registerClass(n,t.type)})}return e}function g(e,t){}t.parseClassType=o,t.enableClassExtend=u,t.enableClassCheck=p,t.enableClassManagement=f,t.setReadOnly=g},42151:function(e,t,n){var r=n(33051),i=n(34251),a=i.parseClassType,s=0;function o(e){return[e||"",s++,Math.random().toFixed(5)].join("_")}function l(e){var t={};return e.registerSubTypeDefaulter=function(e,n){e=a(e),t[e.main]=n},e.determineSubType=function(n,r){var i=r.type;if(!i){var s=a(n).main;e.hasSubTypes(n)&&t[s]&&(i=t[s](r))}return i},e}function u(e,t){function n(e){var n={},s=[];return r.each(e,(function(o){var l=i(n,o),u=l.originalDeps=t(o),c=a(u,e);l.entryCount=c.length,0===l.entryCount&&s.push(o),r.each(c,(function(e){r.indexOf(l.predecessor,e)<0&&l.predecessor.push(e);var t=i(n,e);r.indexOf(t.successor,e)<0&&t.successor.push(o)}))})),{graph:n,noEntryList:s}}function i(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function a(e,t){var n=[];return r.each(e,(function(e){r.indexOf(t,e)>=0&&n.push(e)})),n}e.topologicalTravel=function(e,t,i,a){if(e.length){var s=n(t),o=s.graph,l=s.noEntryList,u={};r.each(e,(function(e){u[e]=!0}));while(l.length){var c=l.pop(),p=o[c],d=!!u[c];d&&(i.call(a,c,p.originalDeps.slice()),delete u[c]),r.each(p.successor,d?f:h)}r.each(u,(function(){throw new Error("Circle dependency may exists")}))}function h(e){o[e].entryCount--,0===o[e].entryCount&&l.push(e)}function f(e){u[e]=!0,h(e)}}}t.getUID=o,t.enableSubTypeDefaulter=l,t.enableTopologicalTravel=u},78988:function(e,t,n){var r=n(33051),i=n(80423),a=n(85669);function s(e){return isNaN(e)?"-":(e=(e+"").split("."),e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:""))}function o(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var l=r.normalizeCssArray,u=/([&<>"'])/g,c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function p(e){return null==e?"":(e+"").replace(u,(function(e,t){return c[t]}))}var d=["a","b","c","d","e","f","g"],h=function(e,t){return"{"+e+(null==t?"":t)+"}"};function f(e,t,n){r.isArray(t)||(t=[t]);var i=t.length;if(!i)return"";for(var a=t[0].$vars||[],s=0;s<a.length;s++){var o=d[s];e=e.replace(h(o),h(o,0))}for(var l=0;l<i;l++)for(var u=0;u<a.length;u++){var c=t[l][a[u]];e=e.replace(h(d[u],l),n?p(c):c)}return e}function g(e,t,n){return r.each(t,(function(t,r){e=e.replace("{"+r+"}",n?p(t):t)})),e}function y(e,t){e=r.isString(e)?{color:e,extraCssText:t}:e||{};var n=e.color,i=e.type,a=(t=e.extraCssText,e.renderMode||"html"),s=e.markerId||"X";return n?"html"===a?"subItem"===i?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+p(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+p(n)+";"+(t||"")+'"></span>':{renderMode:a,content:"{marker"+s+"|} ",style:{color:n}}:""}function _(e,t){return e+="","0000".substr(0,t-e.length)+e}function v(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var r=a.parseDate(t),i=n?"UTC":"",s=r["get"+i+"FullYear"](),o=r["get"+i+"Month"]()+1,l=r["get"+i+"Date"](),u=r["get"+i+"Hours"](),c=r["get"+i+"Minutes"](),p=r["get"+i+"Seconds"](),d=r["get"+i+"Milliseconds"]();return e=e.replace("MM",_(o,2)).replace("M",o).replace("yyyy",s).replace("yy",s%100).replace("dd",_(l,2)).replace("d",l).replace("hh",_(u,2)).replace("h",u).replace("mm",_(c,2)).replace("m",c).replace("ss",_(p,2)).replace("s",p).replace("SSS",_(d,3)),e}function m(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e}var x=i.truncateText;function T(e){return i.getBoundingRect(e.text,e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich,e.truncate)}function b(e,t,n,r,a,s,o,l){return i.getBoundingRect(e,t,n,r,a,l,s,o)}function C(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location=e}else window.open(e,t)}t.addCommas=s,t.toCamelCase=o,t.normalizeCssArray=l,t.encodeHTML=p,t.formatTpl=f,t.formatTplSimple=g,t.getTooltipMarker=y,t.formatTime=v,t.capitalFirst=m,t.truncateText=x,t.getTextBoundingRect=T,t.getTextRect=b,t.windowOpen=C}}]);
  2. //# sourceMappingURL=chunk-vendors-c81cec27.7469ea61.js.map