From e9a8c744a2cebd8353af629e07003a947dfe50c5 Mon Sep 17 00:00:00 2001 From: adams549659584 <13760614423@163.com> Date: Sat, 27 Aug 2022 23:33:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E5=A4=8D=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=8E=A5=E5=8F=A3=E8=B0=83=E6=95=B4=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=9A=84=E6=90=9C=E7=B4=A2=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 + package.json | 6 +- rollup.config.js | 2 +- src/assets/html/fundDetail/fundDetail.css | 2 +- src/assets/html/fundDetail/fundDetail.js | 4 +- src/features/fundAdd.ts | 2 +- src/features/fundMy.ts | 11 +- src/main.ts | 9 +- yarn.lock | 1109 +++++++++------------ 9 files changed, 493 insertions(+), 657 deletions(-) diff --git a/README.md b/README.md index 45c1b9e..e1e73a1 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,11 @@ ![Instructions.gif](https://s1.ax1x.com/2020/08/19/dQ8R3t.gif) +### v1.7.3 + +- 修复搜索接口调整导致的搜索异常 +- 基金详情新增操作按钮(键盘操作未变:enter 关闭, ← → 切换导航,↑ ↓ 切换基金) + ### v1.7.2 - 基金明细加上随机UA diff --git a/package.json b/package.json index 6ccec18..de230dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "utools-fund", - "version": "1.7.2", + "version": "1.7.3", "description": "自选基金助手", "main": "main.ts", "scripts": { @@ -17,10 +17,8 @@ "rollup-plugin-json": "^4.0.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-replace": "^2.2.0", - "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript": "^1.0.1", "tslib": "^2.3.0", "typescript": "^4.3.5" - }, - "dependencies": {} + } } diff --git a/rollup.config.js b/rollup.config.js index 8730310..1d46c1a 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -7,7 +7,7 @@ import commonjs from 'rollup-plugin-commonjs'; import pluginConfig from './plugin.config.js'; import copy from 'rollup-plugin-copy'; import replace from 'rollup-plugin-replace'; -import { terser } from 'rollup-plugin-terser'; +// import { terser } from 'rollup-plugin-terser'; /** * 当前环境 diff --git a/src/assets/html/fundDetail/fundDetail.css b/src/assets/html/fundDetail/fundDetail.css index 283e6aa..f7f4fab 100644 --- a/src/assets/html/fundDetail/fundDetail.css +++ b/src/assets/html/fundDetail/fundDetail.css @@ -24,5 +24,5 @@ .up[data-v-3ba8d057]{color:#f56c6c;font-weight:bold}.down[data-v-3ba8d057]{color:#4eb61b;font-weight:bold}.shadow[data-v-3ba8d057]{position:absolute;width:100%;height:100%;padding:30px;z-index:1001;box-sizing:border-box;top:0;left:0;background-color:rgba(0,0,0,0.7)}.manager-box[data-v-3ba8d057]{background:#ffffff;border-radius:15px;padding:10px 20px 0;margin:35px auto 0;text-align:center;line-height:1;vertical-align:middle}.btn[data-v-3ba8d057]{display:inline-block;line-height:1;cursor:pointer;background:#fff;padding:5px 6px;border-radius:3px;font-size:12px;color:#000000;margin:0 5px;outline:none;border:1px solid #dcdfe6}h5[data-v-3ba8d057]{margin:0;padding:7px;font-size:15px}.table-row[data-v-3ba8d057]{padding:5px 10px}table[data-v-3ba8d057]{border-collapse:collapse;width:100%}table th[data-v-3ba8d057],table td[data-v-3ba8d057]{text-align:right;line-height:22px;height:22px;padding:0 8px}table tr[data-v-3ba8d057]:nth-child(even){background-color:#f1f1f1}.manager-info[data-v-3ba8d057]{padding:5px 10px 0;display:flex;text-align:left}.manager-info .img-row[data-v-3ba8d057]{flex:0 0 100px}.manager-info .img-row img[data-v-3ba8d057]{width:80px;height:auto}.manager-info .info-row[data-v-3ba8d057]{flex:1 1 auto}.manager-info .info-row p[data-v-3ba8d057]{margin:12px}.manager-resume[data-v-3ba8d057]{text-align:justify;text-indent:2em;padding:5px 10px;line-height:1.5;border-bottom:1px solid #dddddd}.shadow.darkMode .manager-box[data-v-3ba8d057]{background-color:#373737}.shadow.darkMode .btn[data-v-3ba8d057]{background-color:rgba(255,255,255,0.16);color:rgba(255,255,255,0.6);border:1px solid rgba(255,255,255,0.6)}.shadow.darkMode .manager-resume[data-v-3ba8d057]{border-bottom:1px solid rgba(255,255,255,0.38)}.darkMode table tr[data-v-3ba8d057]:nth-child(even){background-color:rgba(255,255,255,0.05)}.tab-row[data-v-3ba8d057]{padding:12px 0}.manager-content[data-v-3ba8d057]{width:100%;height:330px;overflow-y:auto} -.shadow[data-v-bdfa4a5a]{box-sizing:border-box}.content-box[data-v-bdfa4a5a]{background:#ffffff;border-radius:15px;padding:0 10px;margin:0 auto;text-align:center;line-height:1;vertical-align:middle;position:relative}.content-box h5[data-v-bdfa4a5a]{margin:0;padding:13px}.content-box[data-v-bdfa4a5a] .el-tabs__item{padding:0 15px;height:34px;line-height:34px}.btn[data-v-bdfa4a5a]{display:inline-block;line-height:1;cursor:pointer;background:#fff;padding:5px 6px;border-radius:3px;font-size:12px;color:#000000;margin:0 5px;outline:none;border:1px solid #dcdfe6}.tab-row[data-v-bdfa4a5a]{padding:12px 0}.tab-row[data-v-bdfa4a5a]:after,.tab-row[data-v-bdfa4a5a]:before{display:table;content:''}.tab-row[data-v-bdfa4a5a]:after{clear:both}.shadow.darkMode .content-box[data-v-bdfa4a5a]{background-color:#373737}.shadow.darkMode .btn[data-v-bdfa4a5a]{background-color:rgba(255,255,255,0.16);color:rgba(255,255,255,0.6);border:1px solid rgba(255,255,255,0.6)}.shadow.darkMode[data-v-bdfa4a5a] .el-tabs--border-card{background-color:#373737;border:1px solid rgba(255,255,255,0.37)}.shadow.darkMode[data-v-bdfa4a5a] .el-tabs--border-card .el-tabs__header{background-color:rgba(255,255,255,0.16);border-bottom:1px solid rgba(255,255,255,0.37)}.shadow.darkMode[data-v-bdfa4a5a] .el-tabs--border-card .el-tabs__header .el-tabs__item.is-active{background-color:rgba(64,158,255,0.6);color:rgba(255,255,255,0.6);border-right-color:rgba(255,255,255,0.37);border-left-color:rgba(255,255,255,0.37)}.shadow.darkMode[data-v-bdfa4a5a] .el-radio-button--mini .el-radio-button__inner{background-color:rgba(255,255,255,0.16);color:rgba(255,255,255,0.6);border:1px solid rgba(255,255,255,0.37)}.shadow.darkMode[data-v-bdfa4a5a] .el-radio-button__orig-radio:checked+.el-radio-button__inner{background-color:rgba(64,158,255,0.6);color:rgba(255,255,255,0.6);border-color:rgba(64,158,255,0.37)} +.shadow[data-v-699bfeb4]{box-sizing:border-box}.content-box[data-v-699bfeb4]{background:#ffffff;border-radius:15px;padding:0 10px;margin:0 auto;text-align:center;line-height:1;vertical-align:middle;position:relative}.content-box h5[data-v-699bfeb4]{margin:0;padding:13px}.content-box[data-v-699bfeb4] .el-tabs__item{padding:0 15px;height:34px;line-height:34px}.btn[data-v-699bfeb4]{display:inline-block;line-height:1;cursor:pointer;background:#fff;padding:5px 6px;border-radius:3px;font-size:12px;color:#000000;margin:0 5px;outline:none;border:1px solid #dcdfe6}.tab-row[data-v-699bfeb4]{padding:12px 0}.tab-row[data-v-699bfeb4]:after,.tab-row[data-v-699bfeb4]:before{display:table;content:''}.tab-row[data-v-699bfeb4]:after{clear:both}.github-star[data-v-699bfeb4]{position:fixed;top:10px;right:10px;cursor:pointer}clearfix[data-v-699bfeb4]::after{content:'';clear:both;display:block}.shadow.darkMode .content-box[data-v-699bfeb4]{background-color:#373737}.shadow.darkMode .btn[data-v-699bfeb4]{background-color:rgba(255,255,255,0.16);color:rgba(255,255,255,0.6);border:1px solid rgba(255,255,255,0.6)}.shadow.darkMode[data-v-699bfeb4] .el-tabs--border-card{background-color:#373737;border:1px solid rgba(255,255,255,0.37)}.shadow.darkMode[data-v-699bfeb4] .el-tabs--border-card .el-tabs__header{background-color:rgba(255,255,255,0.16);border-bottom:1px solid rgba(255,255,255,0.37)}.shadow.darkMode[data-v-699bfeb4] .el-tabs--border-card .el-tabs__header .el-tabs__item.is-active{background-color:rgba(64,158,255,0.6);color:rgba(255,255,255,0.6);border-right-color:rgba(255,255,255,0.37);border-left-color:rgba(255,255,255,0.37)}.shadow.darkMode[data-v-699bfeb4] .el-radio-button--mini .el-radio-button__inner{background-color:rgba(255,255,255,0.16);color:rgba(255,255,255,0.6);border:1px solid rgba(255,255,255,0.37)}.shadow.darkMode[data-v-699bfeb4] .el-radio-button__orig-radio:checked+.el-radio-button__inner{background-color:rgba(64,158,255,0.6);color:rgba(255,255,255,0.6);border-color:rgba(64,158,255,0.37)} diff --git a/src/assets/html/fundDetail/fundDetail.js b/src/assets/html/fundDetail/fundDetail.js index ac43047..29a601d 100644 --- a/src/assets/html/fundDetail/fundDetail.js +++ b/src/assets/html/fundDetail/fundDetail.js @@ -1,7 +1,7 @@ -!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=851)}([function(t,e){var n={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},i={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},r=Object.prototype.toString,o=Array.prototype,a=o.forEach,s=o.filter,l=o.slice,u=o.map,c=o.reduce,h={};function d(t){if(null==t||"object"!=typeof t)return t;var e=t,o=r.call(t);if("[object Array]"===o){if(!S(t)){e=[];for(var a=0,s=t.length;a0&&t.unfinished);t.unfinished||this._zr.flush()}}},F.getDom=function(){return this._dom},F.getZr=function(){return this._zr},F.setOption=function(t,e,n){if(this._disposed)this.id;else{var i;if(O(e)&&(n=e.lazyUpdate,i=e.silent,e=e.notMerge),this[N]=!0,!this._model||e){var r=new d(this._api),o=this._theme,a=this._model=new u;a.scheduler=this._scheduler,a.init(null,null,o,r)}this._model.setOption(t,at),n?(this.__optionUpdated={silent:i},this[N]=!1):(H(this),$.update.call(this),this._zr.flush(),this.__optionUpdated=!1,this[N]=!1,Z.call(this,i),Y.call(this,i))}},F.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},F.getModel=function(){return this._model},F.getOption=function(){return this._model&&this._model.getOption()},F.getWidth=function(){return this._zr.getWidth()},F.getHeight=function(){return this._zr.getHeight()},F.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},F.getRenderedCanvas=function(t){if(a.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},F.getSvgDataURL=function(){if(a.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return r.each(e,(function(t){t.stopAnimation(!0)})),t.painter.toDataURL()}},F.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;k(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return k(i,(function(t){t.group.ignore=!1})),o}this.id},F.getConnectedDataURL=function(t){if(this._disposed)this.id;else if(a.canvasSupported){var e="svg"===t.type,n=this.group,o=Math.min,s=Math.max;if(dt[n]){var l=1/0,u=1/0,c=-1/0,h=-1/0,d=[],f=t&&t.pixelRatio||1;r.each(ht,(function(i,a){if(i.group===n){var f=e?i.getZr().painter.getSvgDom().innerHTML:i.getRenderedCanvas(r.clone(t)),p=i.getDom().getBoundingClientRect();l=o(p.left,l),u=o(p.top,u),c=s(p.right,c),h=s(p.bottom,h),d.push({dom:f,left:p.left,top:p.top})}}));var p=(c*=f)-(l*=f),g=(h*=f)-(u*=f),m=r.createCanvas(),v=i.init(m,{renderer:e?"svg":"canvas"});if(v.resize({width:p,height:g}),e){var y="";return k(d,(function(t){var e=t.left-l,n=t.top-u;y+=''+t.dom+""})),v.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&v.painter.setBackgroundColor(t.connectedBackgroundColor),v.refreshImmediately(),v.painter.toDataURL()}return t.connectedBackgroundColor&&v.add(new x.Rect({shape:{x:0,y:0,width:p,height:g},style:{fill:t.connectedBackgroundColor}})),k(d,(function(t){var e=new x.Image({style:{x:t.left*f-l,y:t.top*f-u,image:t.dom}});v.add(e)})),v.refreshImmediately(),m.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},F.convertToPixel=r.curry(j,"convertToPixel"),F.convertFromPixel=r.curry(j,"convertFromPixel"),F.containPixel=function(t,e){if(!this._disposed){var n,i=this._model;return t=_.parseFinder(i,t),r.each(t,(function(t,i){i.indexOf("Models")>=0&&r.each(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n|=!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n|=o.containPoint(e,t))}}),this)}),this),!!n}this.id},F.getVisual=function(t,e){var n=this._model,i=(t=_.parseFinder(n,t,{defaultMainType:"series"})).seriesModel.getData(),r=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?i.indexOfRawIndex(t.dataIndex):null;return null!=r?i.getItemVisual(r,e):i.getVisual(e)},F.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},F.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var $={prepareAndUpdate:function(t){H(this),$.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,r=this._coordSysMgr,s=this._scheduler;if(e){s.restoreData(e,t),s.performSeriesTasks(e),r.create(e,n),s.performDataProcessorTasks(e,t),W(this,e),r.update(e,n),X(e),s.performVisualTasks(e,t),K(this,e,n,t);var l=e.get("backgroundColor")||"transparent";if(a.canvasSupported)i.setBackgroundColor(l);else{var u=o.parse(l);l=o.stringify(u,"rgb"),0===u[3]&&(l="transparent")}Q(e,n)}},updateTransform:function(t){var e=this._model,n=this,i=this._api;if(e){var o=[];e.eachComponent((function(r,a){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,e,i,t);l&&l.update&&o.push(s)}else o.push(s)}));var a=r.createHashMap();e.eachSeries((function(r){var o=n._chartsMap[r.__viewId];if(o.updateTransform){var s=o.updateTransform(r,e,i,t);s&&s.update&&a.set(r.uid,1)}else a.set(r.uid,1)})),X(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:a}),J(n,e,i,t,a),Q(e,this._api)}},updateView:function(t){var e=this._model;e&&(y.markUpdateMethod(t,"updateView"),X(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),K(this,this._model,this._api,t),Q(e,this._api))},updateVisual:function(t){$.update.call(this,t)},updateLayout:function(t){$.update.call(this,t)}};function H(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),q(t,"component",e,n),q(t,"chart",e,n),n.plan()}function G(t,e,n,i,o){var a=t._model;if(i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};o&&(l.subType=o);var u=n.excludeSeriesId;null!=u&&(u=r.createHashMap(_.normalizeToArray(u))),a&&a.eachComponent(l,(function(e){u&&null!=u.get(e.id)||c(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else k(t._componentsViews.concat(t._chartsViews),c);function c(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}}function W(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))}function U(t,e){var n=t.type,i=t.escapeConnect,o=it[n],a=o.actionInfo,s=(a.update||"update").split(":"),l=s.pop();s=null!=s[0]&&P(s[0]),this[N]=!0;var u=[t],c=!1;t.batch&&(c=!0,u=r.map(t.batch,(function(e){return(e=r.defaults(r.extend({},e),t)).batch=null,e})));var h,d=[],f="highlight"===n||"downplay"===n;k(u,(function(t){(h=(h=o.action(t,this._model,this._api))||r.extend({},t)).type=a.event||h.type,d.push(h),f?G(this,l,t,"series"):s&&G(this,l,t,s.main,s.sub)}),this),"none"===l||f||s||(this.__optionUpdated?(H(this),$.update.call(this,t),this.__optionUpdated=!1):$[l].call(this,t)),h=c?{type:a.event||n,escapeConnect:i,batch:d}:d[0],this[N]=!1,!e&&this._messageCenter.trigger(h.type,h)}function Z(t){for(var e=this._pendingActions;e.length;){var n=e.shift();U.call(this,n,t)}}function Y(t){!t&&this.trigger("updated")}function q(t,e,n,i){for(var r="component"===e,o=r?t._componentsViews:t._chartsViews,a=r?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;ue.get("hoverLayerThreshold")&&!a.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.useHoverLayer=!0}))}}))}(t,e),S(t._zr.dom,e)}function Q(t,e){k(st,(function(n){n(t,e)}))}F.resize=function(t){if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[N]=!0,n&&H(this),$.update.call(this),this[N]=!1,Z.call(this,i),Y.call(this,i)}}},F.showLoading=function(t,e){if(this._disposed)this.id;else if(O(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),ct[t]){var n=ct[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},F.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},F.makeActionFromEvent=function(t){var e=r.extend({},t);return e.type=rt[t.type],e},F.dispatchAction=function(t,e){this._disposed?this.id:(O(e)||(e={silent:!!e}),it[t.type]&&this._model&&(this[N]?this._pendingActions.push(t):(U.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&a.browser.weChat&&this._throttledZrFlush(),Z.call(this,e.silent),Y.call(this,e.silent))))},F.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0}},F.on=z("on",!1),F.off=z("off",!1),F.one=z("one",!1);var tt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function et(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i))}))}function nt(){this.eventInfo}F._initEvents=function(){k(tt,(function(t){var e=function(e){var n,i=this.getModel(),o=e.target;if("globalout"===t)n={};else if(o&&null!=o.dataIndex){var a=o.dataModel||i.getSeriesByIndex(o.seriesIndex);n=a&&a.getDataParams(o.dataIndex,o.dataType,o)||{}}else o&&o.eventData&&(n=r.extend({},o.eventData));if(n){var s=n.componentType,l=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=n.seriesIndex);var u=s&&null!=l&&i.getComponent(s,l),c=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];n.event=e,n.type=t,this._ecEventProcessor.eventInfo={targetEl:o,packedEvent:n,model:u,view:c},this.trigger(t,n)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),k(rt,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},F.isDisposed=function(){return this._disposed},F.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},F.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,_.setAttribute(this.getDom(),gt,"");var t=this._api,e=this._model;k(this._componentsViews,(function(n){n.dispose(e,t)})),k(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete ht[this.id]}},r.mixin(B,l),nt.prototype={constructor:nt,normalizeQuery:function(t){var e={},n={},i={};if(r.isString(t)){var o=P(t);e.mainType=o.main||null,e.subType=o.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};r.each(t,(function(t,r){for(var o=!1,l=0;l0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,o=!0)}}s.hasOwnProperty(r)&&(n[r]=t,o=!0),o||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},filter:function(t,e,n){var i=this.eventInfo;if(!i)return!0;var r=i.targetEl,o=i.packedEvent,a=i.model,s=i.view;if(!a||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return c(l,a,"mainType")&&c(l,a,"subType")&&c(l,a,"index","componentIndex")&&c(l,a,"name")&&c(l,a,"id")&&c(u,o,"name")&&c(u,o,"dataIndex")&&c(u,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,r,o));function c(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var it={},rt={},ot=[],at=[],st=[],lt=[],ut={},ct={},ht={},dt={},ft=new Date-0,pt=new Date-0,gt="_echarts_instance_";function mt(t){dt[t]=!1}var vt=mt;function yt(t){return ht[_.getAttribute(t,gt)]}function xt(t,e){ut[t]=e}function _t(t){at.push(t)}function bt(t,e){Mt(ot,t,e,1e3)}function wt(t,e,n){"function"==typeof e&&(n=e,e="");var i=O(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,D(R.test(i)&&R.test(e)),it[i]||(it[i]={action:n,actionInfo:t}),rt[e]=i}function St(t,e){Mt(lt,t,e,3e3,"visual")}function Mt(t,e,n,i,r){(L(e)||O(e))&&(n=e,e=i);var o=C.wrapStageHandler(n,r);return o.__prio=e,o.__raw=n,t.push(o),o}function Ct(t,e){ct[t]=e}St(2e3,w),_t(f),bt(900,p),Ct("default",M),wt({type:"highlight",event:"highlight",update:"highlight"},r.noop),wt({type:"downplay",event:"downplay",update:"downplay"},r.noop),xt("light",T),xt("dark",I);e.version="4.9.0",e.dependencies={zrender:"4.3.2"},e.PRIORITY=E,e.init=function(t,e,n){var i=yt(t);if(i)return i;var r=new B(t,e,n);return r.id="ec_"+ft++,ht[r.id]=r,_.setAttribute(t,gt,r.id),function(t){var e="__connectUpdateStatus";function n(t,n){for(var i=0;i=0),l=!s&&null!=r;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=r,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=r)}t.insideRollback=e}function ot(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function at(t,e,n,i,r,o){if("function"==typeof r&&(o=r,r=null),i&&i.isAnimationEnabled()){var a=t?"Update":"",s=i.getShallow("animationDuration"+a),l=i.getShallow("animationEasing"+a),u=i.getShallow("animationDelay"+a);"function"==typeof u&&(u=u(r,i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null)),"function"==typeof s&&(s=s(r)),s>0?e.animateTo(n,s,u||0,l,o,!!o):(e.stopAnimation(),e.attr(n),o&&o())}else e.stopAnimation(),e.attr(n),o&&o()}function st(t,e,n,i,r){at(!0,t,e,n,i,r)}function lt(t,e,n){return e&&!i.isArrayLike(e)&&(e=u.getLocalTransform(e)),n&&(e=a.invert([],e)),s.applyTransform([],t,e)}function ut(t,e,n,i,r,o,a,s){var l,u=n-t,c=i-e,h=a-r,d=s-o,f=ct(h,d,u,c);if((l=f)<=1e-6&&l>=-1e-6)return!1;var p=t-r,g=e-o,m=ct(p,g,u,c)/f;if(m<0||m>1)return!1;var v=ct(p,g,h,d)/f;return!(v<0||v>1)}function ct(t,e,n,i){return t*i-n*e}E("circle",f),E("sector",p),E("ring",g),E("polygon",m),E("polyline",v),E("rect",y),E("line",x),E("bezierCurve",_),E("arc",b),e.Z2_EMPHASIS_LIFT=1,e.CACHED_LABEL_STYLE_PROPERTIES={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},e.extendShape=function(t){return l.extend(t)},e.extendPath=function(t,e){return r.extendFromString(t,e)},e.registerShape=E,e.getShapeClass=function(t){if(P.hasOwnProperty(t))return P[t]},e.makePath=N,e.makeImage=function(t,e,n){var i=new c({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(R(e,r))}}});return i},e.mergePath=z,e.resizePath=V,e.subPixelOptimizeLine=function(t){return I.subPixelOptimizeLine(t.shape,t.shape,t.style),t},e.subPixelOptimizeRect=function(t){return I.subPixelOptimizeRect(t.shape,t.shape,t.style),t},e.subPixelOptimize=B,e.setElementHoverStyle=Z,e.setHoverStyle=function(t,e){Q(t,!0),U(t,Z,e)},e.setAsHighDownDispatcher=Q,e.isHighDownDispatcher=function(t){return!(!t||!t.__highDownDispatcher)},e.getHighlightDigit=function(t){var e=O[t];return null==e&&L<=32&&(e=O[t]=L++),e},e.setLabelStyle=function(t,e,n,r,o,a,s){var l,u=(o=o||k).labelFetcher,c=o.labelDataIndex,h=o.labelDimIndex,d=o.labelProp,f=n.getShallow("show"),p=r.getShallow("show");(f||p)&&(u&&(l=u.getFormattedLabel(c,"normal",null,h,d)),null==l&&(l=i.isFunction(o.defaultText)?o.defaultText(c,o):o.defaultText));var g=f?l:null,m=p?i.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,h,d):null,l):null;null==g&&null==m||(tt(t,n,a,o),tt(e,r,s,o,!0)),t.text=g,e.text=m},e.modifyLabelStyle=function(t,e,n){var r=t.style;e&&(ot(r),t.setStyle(e),rt(r)),r=t.__hoverStl,n&&r&&(ot(r),i.extend(r,n),rt(r))},e.setTextStyle=tt,e.setText=function(t,e,n){var i,r={isRectText:!0};!1===n?i=!0:r.autoColor=n,et(t,e,r,i)},e.getFont=function(t,e){var n=e&&e.getModel("textStyle");return i.trim([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))},e.updateProps=st,e.initProps=function(t,e,n,i,r){at(!1,t,e,n,i,r)},e.getTransform=function(t,e){for(var n=a.identity([]);t&&t!==e;)a.mul(n,t.getLocalTransform(),n),t=t.parent;return n},e.applyTransform=lt,e.transformDirection=function(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=lt(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"},e.groupTransition=function(t,e,n,r){if(t&&e){var o,a=(o={},t.traverse((function(t){!t.isGroup&&t.anid&&(o[t.anid]=t)})),o);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=a[t.anid];if(e){var i=l(t);t.attr(l(e)),st(t,i,n,t.dataIndex)}}}))}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=i.extend({},t.shape)),e}},e.clipPointsByRect=function(t,e){return i.map(t,(function(t){var n=t[0];n=A(n,e.x),n=D(n,e.x+e.width);var i=t[1];return i=A(i,e.y),[n,i=D(i,e.y+e.height)]}))},e.clipRectByRect=function(t,e){var n=A(t.x,e.x),i=D(t.x+t.width,e.x+e.width),r=A(t.y,e.y),o=D(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}},e.createIcon=function(t,e,n){var r=(e=i.extend({rectHover:!0},e)).style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),i.defaults(r,n),new c(e)):N(t.replace("path://",""),e,n,"center")},e.linePolygonIntersect=function(t,e,n,i,r){for(var o=0,a=r[r.length-1];o=10&&e++,e}e.linearMap=function(t,e,n,i){var r=e[1]-e[0],o=n[1]-n[0];if(0===r)return 0===o?n[0]:(n[0]+n[1])/2;if(i)if(r>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/r*o+n[0]},e.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n},e.round=function(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t},e.asc=function(t){return t.sort((function(t,e){return t-e})),t},e.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n},e.getPrecisionSafe=function(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var i=+e.slice(n+1);return i<0?-i:0}var r=e.indexOf(".");return r<0?0:e.length-1-r},e.getPixelPrecision=function(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20},e.getPercentWithPrecision=function(t,e,n){if(!t[e])return 0;var r=i.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===r)return 0;for(var o=Math.pow(10,n),a=i.map(t,(function(t){return(isNaN(t)?0:t)/r*o*100})),s=100*o,l=i.map(a,(function(t){return Math.floor(t)})),u=i.reduce(l,(function(t,e){return t+e}),0),c=i.map(a,(function(t,e){return t-l[e]}));uh&&(h=c[f],d=f);++l[d],c[d]=0,++u}return l[e]/o},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return t>-1e-4&&t<1e-4},e.parseDate=function(t){if(t instanceof Date)return t;if("string"==typeof t){var e=r.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,+e[7]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))},e.quantity=function(t){return Math.pow(10,o(t))},e.quantityExponent=o,e.nice=function(t,e){var n=o(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t},e.quantile=function(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r},e.reformIntervals=function(t){t.sort((function(t,e){return function t(e,n,i){return e.interval[i]=0}},function(t,e,n){"use strict";n.r(e),function(t){ +!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=856)}([function(t,e){var n={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},i={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},r=Object.prototype.toString,o=Array.prototype,a=o.forEach,s=o.filter,l=o.slice,u=o.map,c=o.reduce,h={};function d(t){if(null==t||"object"!=typeof t)return t;var e=t,o=r.call(t);if("[object Array]"===o){if(!S(t)){e=[];for(var a=0,s=t.length;a0&&t.unfinished);t.unfinished||this._zr.flush()}}},F.getDom=function(){return this._dom},F.getZr=function(){return this._zr},F.setOption=function(t,e,n){if(this._disposed)this.id;else{var i;if(O(e)&&(n=e.lazyUpdate,i=e.silent,e=e.notMerge),this[N]=!0,!this._model||e){var r=new d(this._api),o=this._theme,a=this._model=new u;a.scheduler=this._scheduler,a.init(null,null,o,r)}this._model.setOption(t,at),n?(this.__optionUpdated={silent:i},this[N]=!1):(H(this),$.update.call(this),this._zr.flush(),this.__optionUpdated=!1,this[N]=!1,q.call(this,i),Z.call(this,i))}},F.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},F.getModel=function(){return this._model},F.getOption=function(){return this._model&&this._model.getOption()},F.getWidth=function(){return this._zr.getWidth()},F.getHeight=function(){return this._zr.getHeight()},F.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},F.getRenderedCanvas=function(t){if(a.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},F.getSvgDataURL=function(){if(a.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return r.each(e,(function(t){t.stopAnimation(!0)})),t.painter.toDataURL()}},F.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;k(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return k(i,(function(t){t.group.ignore=!1})),o}this.id},F.getConnectedDataURL=function(t){if(this._disposed)this.id;else if(a.canvasSupported){var e="svg"===t.type,n=this.group,o=Math.min,s=Math.max;if(dt[n]){var l=1/0,u=1/0,c=-1/0,h=-1/0,d=[],f=t&&t.pixelRatio||1;r.each(ht,(function(i,a){if(i.group===n){var f=e?i.getZr().painter.getSvgDom().innerHTML:i.getRenderedCanvas(r.clone(t)),p=i.getDom().getBoundingClientRect();l=o(p.left,l),u=o(p.top,u),c=s(p.right,c),h=s(p.bottom,h),d.push({dom:f,left:p.left,top:p.top})}}));var p=(c*=f)-(l*=f),g=(h*=f)-(u*=f),m=r.createCanvas(),v=i.init(m,{renderer:e?"svg":"canvas"});if(v.resize({width:p,height:g}),e){var y="";return k(d,(function(t){var e=t.left-l,n=t.top-u;y+=''+t.dom+""})),v.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&v.painter.setBackgroundColor(t.connectedBackgroundColor),v.refreshImmediately(),v.painter.toDataURL()}return t.connectedBackgroundColor&&v.add(new x.Rect({shape:{x:0,y:0,width:p,height:g},style:{fill:t.connectedBackgroundColor}})),k(d,(function(t){var e=new x.Image({style:{x:t.left*f-l,y:t.top*f-u,image:t.dom}});v.add(e)})),v.refreshImmediately(),m.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},F.convertToPixel=r.curry(j,"convertToPixel"),F.convertFromPixel=r.curry(j,"convertFromPixel"),F.containPixel=function(t,e){if(!this._disposed){var n,i=this._model;return t=_.parseFinder(i,t),r.each(t,(function(t,i){i.indexOf("Models")>=0&&r.each(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n|=!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n|=o.containPoint(e,t))}}),this)}),this),!!n}this.id},F.getVisual=function(t,e){var n=this._model,i=(t=_.parseFinder(n,t,{defaultMainType:"series"})).seriesModel.getData(),r=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?i.indexOfRawIndex(t.dataIndex):null;return null!=r?i.getItemVisual(r,e):i.getVisual(e)},F.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},F.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var $={prepareAndUpdate:function(t){H(this),$.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,r=this._coordSysMgr,s=this._scheduler;if(e){s.restoreData(e,t),s.performSeriesTasks(e),r.create(e,n),s.performDataProcessorTasks(e,t),W(this,e),r.update(e,n),X(e),s.performVisualTasks(e,t),K(this,e,n,t);var l=e.get("backgroundColor")||"transparent";if(a.canvasSupported)i.setBackgroundColor(l);else{var u=o.parse(l);l=o.stringify(u,"rgb"),0===u[3]&&(l="transparent")}Q(e,n)}},updateTransform:function(t){var e=this._model,n=this,i=this._api;if(e){var o=[];e.eachComponent((function(r,a){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,e,i,t);l&&l.update&&o.push(s)}else o.push(s)}));var a=r.createHashMap();e.eachSeries((function(r){var o=n._chartsMap[r.__viewId];if(o.updateTransform){var s=o.updateTransform(r,e,i,t);s&&s.update&&a.set(r.uid,1)}else a.set(r.uid,1)})),X(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:a}),J(n,e,i,t,a),Q(e,this._api)}},updateView:function(t){var e=this._model;e&&(y.markUpdateMethod(t,"updateView"),X(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),K(this,this._model,this._api,t),Q(e,this._api))},updateVisual:function(t){$.update.call(this,t)},updateLayout:function(t){$.update.call(this,t)}};function H(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),Y(t,"component",e,n),Y(t,"chart",e,n),n.plan()}function G(t,e,n,i,o){var a=t._model;if(i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};o&&(l.subType=o);var u=n.excludeSeriesId;null!=u&&(u=r.createHashMap(_.normalizeToArray(u))),a&&a.eachComponent(l,(function(e){u&&null!=u.get(e.id)||c(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else k(t._componentsViews.concat(t._chartsViews),c);function c(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}}function W(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))}function U(t,e){var n=t.type,i=t.escapeConnect,o=it[n],a=o.actionInfo,s=(a.update||"update").split(":"),l=s.pop();s=null!=s[0]&&P(s[0]),this[N]=!0;var u=[t],c=!1;t.batch&&(c=!0,u=r.map(t.batch,(function(e){return(e=r.defaults(r.extend({},e),t)).batch=null,e})));var h,d=[],f="highlight"===n||"downplay"===n;k(u,(function(t){(h=(h=o.action(t,this._model,this._api))||r.extend({},t)).type=a.event||h.type,d.push(h),f?G(this,l,t,"series"):s&&G(this,l,t,s.main,s.sub)}),this),"none"===l||f||s||(this.__optionUpdated?(H(this),$.update.call(this,t),this.__optionUpdated=!1):$[l].call(this,t)),h=c?{type:a.event||n,escapeConnect:i,batch:d}:d[0],this[N]=!1,!e&&this._messageCenter.trigger(h.type,h)}function q(t){for(var e=this._pendingActions;e.length;){var n=e.shift();U.call(this,n,t)}}function Z(t){!t&&this.trigger("updated")}function Y(t,e,n,i){for(var r="component"===e,o=r?t._componentsViews:t._chartsViews,a=r?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;ue.get("hoverLayerThreshold")&&!a.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.useHoverLayer=!0}))}}))}(t,e),S(t._zr.dom,e)}function Q(t,e){k(st,(function(n){n(t,e)}))}F.resize=function(t){if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[N]=!0,n&&H(this),$.update.call(this),this[N]=!1,q.call(this,i),Z.call(this,i)}}},F.showLoading=function(t,e){if(this._disposed)this.id;else if(O(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),ct[t]){var n=ct[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},F.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},F.makeActionFromEvent=function(t){var e=r.extend({},t);return e.type=rt[t.type],e},F.dispatchAction=function(t,e){this._disposed?this.id:(O(e)||(e={silent:!!e}),it[t.type]&&this._model&&(this[N]?this._pendingActions.push(t):(U.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&a.browser.weChat&&this._throttledZrFlush(),q.call(this,e.silent),Z.call(this,e.silent))))},F.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0}},F.on=z("on",!1),F.off=z("off",!1),F.one=z("one",!1);var tt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function et(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i))}))}function nt(){this.eventInfo}F._initEvents=function(){k(tt,(function(t){var e=function(e){var n,i=this.getModel(),o=e.target;if("globalout"===t)n={};else if(o&&null!=o.dataIndex){var a=o.dataModel||i.getSeriesByIndex(o.seriesIndex);n=a&&a.getDataParams(o.dataIndex,o.dataType,o)||{}}else o&&o.eventData&&(n=r.extend({},o.eventData));if(n){var s=n.componentType,l=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=n.seriesIndex);var u=s&&null!=l&&i.getComponent(s,l),c=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];n.event=e,n.type=t,this._ecEventProcessor.eventInfo={targetEl:o,packedEvent:n,model:u,view:c},this.trigger(t,n)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),k(rt,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},F.isDisposed=function(){return this._disposed},F.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},F.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,_.setAttribute(this.getDom(),gt,"");var t=this._api,e=this._model;k(this._componentsViews,(function(n){n.dispose(e,t)})),k(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete ht[this.id]}},r.mixin(V,l),nt.prototype={constructor:nt,normalizeQuery:function(t){var e={},n={},i={};if(r.isString(t)){var o=P(t);e.mainType=o.main||null,e.subType=o.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};r.each(t,(function(t,r){for(var o=!1,l=0;l0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,o=!0)}}s.hasOwnProperty(r)&&(n[r]=t,o=!0),o||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},filter:function(t,e,n){var i=this.eventInfo;if(!i)return!0;var r=i.targetEl,o=i.packedEvent,a=i.model,s=i.view;if(!a||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return c(l,a,"mainType")&&c(l,a,"subType")&&c(l,a,"index","componentIndex")&&c(l,a,"name")&&c(l,a,"id")&&c(u,o,"name")&&c(u,o,"dataIndex")&&c(u,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,r,o));function c(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var it={},rt={},ot=[],at=[],st=[],lt=[],ut={},ct={},ht={},dt={},ft=new Date-0,pt=new Date-0,gt="_echarts_instance_";function mt(t){dt[t]=!1}var vt=mt;function yt(t){return ht[_.getAttribute(t,gt)]}function xt(t,e){ut[t]=e}function _t(t){at.push(t)}function bt(t,e){Ct(ot,t,e,1e3)}function wt(t,e,n){"function"==typeof e&&(n=e,e="");var i=O(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,D(R.test(i)&&R.test(e)),it[i]||(it[i]={action:n,actionInfo:t}),rt[e]=i}function St(t,e){Ct(lt,t,e,3e3,"visual")}function Ct(t,e,n,i,r){(L(e)||O(e))&&(n=e,e=i);var o=M.wrapStageHandler(n,r);return o.__prio=e,o.__raw=n,t.push(o),o}function Mt(t,e){ct[t]=e}St(2e3,w),_t(f),bt(900,p),Mt("default",C),wt({type:"highlight",event:"highlight",update:"highlight"},r.noop),wt({type:"downplay",event:"downplay",update:"downplay"},r.noop),xt("light",T),xt("dark",I);e.version="4.9.0",e.dependencies={zrender:"4.3.2"},e.PRIORITY=E,e.init=function(t,e,n){var i=yt(t);if(i)return i;var r=new V(t,e,n);return r.id="ec_"+ft++,ht[r.id]=r,_.setAttribute(t,gt,r.id),function(t){var e="__connectUpdateStatus";function n(t,n){for(var i=0;i=0),l=!s&&null!=r;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=r,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=r)}t.insideRollback=e}function ot(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function at(t,e,n,i,r,o){if("function"==typeof r&&(o=r,r=null),i&&i.isAnimationEnabled()){var a=t?"Update":"",s=i.getShallow("animationDuration"+a),l=i.getShallow("animationEasing"+a),u=i.getShallow("animationDelay"+a);"function"==typeof u&&(u=u(r,i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null)),"function"==typeof s&&(s=s(r)),s>0?e.animateTo(n,s,u||0,l,o,!!o):(e.stopAnimation(),e.attr(n),o&&o())}else e.stopAnimation(),e.attr(n),o&&o()}function st(t,e,n,i,r){at(!0,t,e,n,i,r)}function lt(t,e,n){return e&&!i.isArrayLike(e)&&(e=u.getLocalTransform(e)),n&&(e=a.invert([],e)),s.applyTransform([],t,e)}function ut(t,e,n,i,r,o,a,s){var l,u=n-t,c=i-e,h=a-r,d=s-o,f=ct(h,d,u,c);if((l=f)<=1e-6&&l>=-1e-6)return!1;var p=t-r,g=e-o,m=ct(p,g,u,c)/f;if(m<0||m>1)return!1;var v=ct(p,g,h,d)/f;return!(v<0||v>1)}function ct(t,e,n,i){return t*i-n*e}E("circle",f),E("sector",p),E("ring",g),E("polygon",m),E("polyline",v),E("rect",y),E("line",x),E("bezierCurve",_),E("arc",b),e.Z2_EMPHASIS_LIFT=1,e.CACHED_LABEL_STYLE_PROPERTIES={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},e.extendShape=function(t){return l.extend(t)},e.extendPath=function(t,e){return r.extendFromString(t,e)},e.registerShape=E,e.getShapeClass=function(t){if(P.hasOwnProperty(t))return P[t]},e.makePath=N,e.makeImage=function(t,e,n){var i=new c({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(R(e,r))}}});return i},e.mergePath=z,e.resizePath=B,e.subPixelOptimizeLine=function(t){return I.subPixelOptimizeLine(t.shape,t.shape,t.style),t},e.subPixelOptimizeRect=function(t){return I.subPixelOptimizeRect(t.shape,t.shape,t.style),t},e.subPixelOptimize=V,e.setElementHoverStyle=q,e.setHoverStyle=function(t,e){Q(t,!0),U(t,q,e)},e.setAsHighDownDispatcher=Q,e.isHighDownDispatcher=function(t){return!(!t||!t.__highDownDispatcher)},e.getHighlightDigit=function(t){var e=O[t];return null==e&&L<=32&&(e=O[t]=L++),e},e.setLabelStyle=function(t,e,n,r,o,a,s){var l,u=(o=o||k).labelFetcher,c=o.labelDataIndex,h=o.labelDimIndex,d=o.labelProp,f=n.getShallow("show"),p=r.getShallow("show");(f||p)&&(u&&(l=u.getFormattedLabel(c,"normal",null,h,d)),null==l&&(l=i.isFunction(o.defaultText)?o.defaultText(c,o):o.defaultText));var g=f?l:null,m=p?i.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,h,d):null,l):null;null==g&&null==m||(tt(t,n,a,o),tt(e,r,s,o,!0)),t.text=g,e.text=m},e.modifyLabelStyle=function(t,e,n){var r=t.style;e&&(ot(r),t.setStyle(e),rt(r)),r=t.__hoverStl,n&&r&&(ot(r),i.extend(r,n),rt(r))},e.setTextStyle=tt,e.setText=function(t,e,n){var i,r={isRectText:!0};!1===n?i=!0:r.autoColor=n,et(t,e,r,i)},e.getFont=function(t,e){var n=e&&e.getModel("textStyle");return i.trim([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))},e.updateProps=st,e.initProps=function(t,e,n,i,r){at(!1,t,e,n,i,r)},e.getTransform=function(t,e){for(var n=a.identity([]);t&&t!==e;)a.mul(n,t.getLocalTransform(),n),t=t.parent;return n},e.applyTransform=lt,e.transformDirection=function(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=lt(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"},e.groupTransition=function(t,e,n,r){if(t&&e){var o,a=(o={},t.traverse((function(t){!t.isGroup&&t.anid&&(o[t.anid]=t)})),o);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=a[t.anid];if(e){var i=l(t);t.attr(l(e)),st(t,i,n,t.dataIndex)}}}))}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=i.extend({},t.shape)),e}},e.clipPointsByRect=function(t,e){return i.map(t,(function(t){var n=t[0];n=A(n,e.x),n=D(n,e.x+e.width);var i=t[1];return i=A(i,e.y),[n,i=D(i,e.y+e.height)]}))},e.clipRectByRect=function(t,e){var n=A(t.x,e.x),i=D(t.x+t.width,e.x+e.width),r=A(t.y,e.y),o=D(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}},e.createIcon=function(t,e,n){var r=(e=i.extend({rectHover:!0},e)).style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),i.defaults(r,n),new c(e)):N(t.replace("path://",""),e,n,"center")},e.linePolygonIntersect=function(t,e,n,i,r){for(var o=0,a=r[r.length-1];o=10&&e++,e}e.linearMap=function(t,e,n,i){var r=e[1]-e[0],o=n[1]-n[0];if(0===r)return 0===o?n[0]:(n[0]+n[1])/2;if(i)if(r>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/r*o+n[0]},e.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n},e.round=function(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t},e.asc=function(t){return t.sort((function(t,e){return t-e})),t},e.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n},e.getPrecisionSafe=function(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var i=+e.slice(n+1);return i<0?-i:0}var r=e.indexOf(".");return r<0?0:e.length-1-r},e.getPixelPrecision=function(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20},e.getPercentWithPrecision=function(t,e,n){if(!t[e])return 0;var r=i.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===r)return 0;for(var o=Math.pow(10,n),a=i.map(t,(function(t){return(isNaN(t)?0:t)/r*o*100})),s=100*o,l=i.map(a,(function(t){return Math.floor(t)})),u=i.reduce(l,(function(t,e){return t+e}),0),c=i.map(a,(function(t,e){return t-l[e]}));uh&&(h=c[f],d=f);++l[d],c[d]=0,++u}return l[e]/o},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return t>-1e-4&&t<1e-4},e.parseDate=function(t){if(t instanceof Date)return t;if("string"==typeof t){var e=r.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,+e[7]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))},e.quantity=function(t){return Math.pow(10,o(t))},e.quantityExponent=o,e.nice=function(t,e){var n=o(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t},e.quantile=function(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r},e.reformIntervals=function(t){t.sort((function(t,e){return function t(e,n,i){return e.interval[i]=0}},function(t,e,n){"use strict";n.r(e),function(t){ /*! * Vue.js v2.6.14 * (c) 2014-2021 Evan You * Released under the MIT License. */ -var n=Object.freeze({});function i(t){return null==t}function r(t){return null!=t}function o(t){return!0===t}function a(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}var l=Object.prototype.toString;function u(t){return"[object Object]"===l.call(t)}function c(t){return"[object RegExp]"===l.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return r(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function f(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function g(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function x(t,e){return y.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var b=/-(\w)/g,w=_((function(t){return t.replace(b,(function(t,e){return e?e.toUpperCase():""}))})),S=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),M=/\B([A-Z])/g,C=_((function(t){return t.replace(M,"-$1").toLowerCase()}));var T=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function I(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function A(t,e){for(var n in e)t[n]=e[n];return t}function D(t){for(var e={},n=0;n0,X=Z&&Z.indexOf("edge/")>0,K=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===U),J=(Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z),Z&&Z.match(/firefox\/(\d+)/)),Q={}.watch,tt=!1;if(G)try{var et={};Object.defineProperty(et,"passive",{get:function(){tt=!0}}),window.addEventListener("test-passive",null,et)}catch(t){}var nt=function(){return void 0===$&&($=!G&&!W&&"undefined"!=typeof window&&(window.process&&"server"===window.process.env.VUE_ENV)),$},it=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function rt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ot,at="undefined"!=typeof Symbol&&rt(Symbol)&&"undefined"!=typeof Reflect&&rt(Reflect.ownKeys);ot="undefined"!=typeof Set&&rt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var st=k,lt=0,ut=function(){this.id=lt++,this.subs=[]};ut.prototype.addSub=function(t){this.subs.push(t)},ut.prototype.removeSub=function(t){v(this.subs,t)},ut.prototype.depend=function(){ut.target&&ut.target.addDep(this)},ut.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!x(r,"default"))a=!1;else if(""===a||a===C(t)){var l=jt(String,r.type);(l<0||s0&&(ce((l=t(l,(n||"")+"_"+s))[0])&&ce(c)&&(h[u]=mt(c.text+l[0].text),l.shift()),h.push.apply(h,l)):a(l)?ce(c)?h[u]=mt(c.text+l):""!==l&&h.push(mt(l)):ce(l)&&ce(c)?h[u]=mt(c.text+l.text):(o(e._isVList)&&r(l.tag)&&i(l.key)&&r(n)&&(l.key="__vlist"+n+"_"+s+"__"),h.push(l)));return h}(t):void 0}function ce(t){return r(t)&&r(t.text)&&!1===t.isComment}function he(t,e){if(t){for(var n=Object.create(null),i=at?Reflect.ownKeys(t):Object.keys(t),r=0;r0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&i&&i!==n&&s===i.$key&&!o&&!i.$hasNormal)return i;for(var l in r={},t)t[l]&&"$"!==l[0]&&(r[l]=me(e,l,t[l]))}else r={};for(var u in e)u in r||(r[u]=ve(e,u));return t&&Object.isExtensible(t)&&(t._normalized=r),F(r,"$stable",a),F(r,"$key",s),F(r,"$hasNormal",o),r}function me(t,e,n){var i=function(){var t=arguments.length?n.apply(null,arguments):n({}),e=(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:ue(t))&&t[0];return t&&(!e||1===t.length&&e.isComment&&!pe(e))?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:i,enumerable:!0,configurable:!0}),i}function ve(t,e){return function(){return t[e]}}function ye(t,e){var n,i,o,a,l;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),i=0,o=t.length;idocument.createEvent("Event").timeStamp&&(ln=function(){return un.now()})}function cn(){var t,e;for(sn=ln(),on=!0,tn.sort((function(t,e){return t.id-e.id})),an=0;anan&&tn[n].id>t.id;)n--;tn.splice(n+1,0,t)}else tn.push(t);rn||(rn=!0,ee(cn))}}(this)},dn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'+this.expression+'"';Ht(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},dn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},dn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},dn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var fn={enumerable:!0,configurable:!0,get:k,set:k};function pn(t,e,n){fn.get=function(){return this[e][n]},fn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,fn)}function gn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[];t.$parent&&wt(!1);var o=function(o){r.push(o);var a=zt(o,e,n,t);Ct(i,o,a),o in t||pn(t,"_props",o)};for(var a in e)o(a);wt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?k:T(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;u(e=t._data="function"==typeof e?function(t,e){ht();try{return t.call(e,e)}catch(t){return $t(t,e,"data()"),{}}finally{dt()}}(e,t):e||{})||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);for(;r--;){var o=n[r];0,i&&x(i,o)||(a=void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&pn(t,"_data",o))}var a;Mt(e,!0)}(t):Mt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=nt();for(var r in e){var o=e[r],a="function"==typeof o?o:o.get;0,i||(n[r]=new dn(t,a||k,k,mn)),r in t||vn(t,r,o)}}(t,e.computed),e.watch&&e.watch!==Q&&function(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!c(t)&&t.test(e)}function In(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!e(s)&&An(n,o,i,r)}}}function An(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,v(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=bn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Nt(wn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Ye(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,i=t.$vnode=e._parentVnode,r=i&&i.context;t.$slots=de(e._renderChildren,r),t.$scopedSlots=n,t._c=function(e,n,i,r){return Fe(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return Fe(t,e,n,i,r,!0)};var o=i&&i.data;Ct(t,"$attrs",o&&o.attrs||n,null,!0),Ct(t,"$listeners",e._parentListeners||n,null,!0)}(e),Qe(e,"beforeCreate"),function(t){var e=he(t.$options.inject,t);e&&(wt(!1),Object.keys(e).forEach((function(n){Ct(t,n,e[n])})),wt(!0))}(e),gn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),Qe(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(Sn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Tt,t.prototype.$delete=It,t.prototype.$watch=function(t,e,n){if(u(e))return _n(this,t,e,n);(n=n||{}).user=!0;var i=new dn(this,t,e,n);if(n.immediate){var r='callback for immediate watcher "'+i.expression+'"';ht(),Ht(e,this,[i.value],this,r),dt()}return function(){i.teardown()}}}(Sn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(Array.isArray(t))for(var r=0,o=t.length;r1?I(n):n;for(var i=I(arguments,1),r='event handler for "'+t+'"',o=0,a=n.length;oparseInt(this.max)&&An(t,e[0],e,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)An(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){In(t,(function(t){return Tn(e,t)}))})),this.$watch("exclude",(function(e){In(t,(function(t){return!Tn(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Ge(t),n=e&&e.componentOptions;if(n){var i=Cn(n),r=this.include,o=this.exclude;if(r&&(!i||!Tn(r,i))||o&&i&&Tn(o,i))return e;var a=this.cache,s=this.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;a[l]?(e.componentInstance=a[l].componentInstance,v(s,l),s.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return V}};Object.defineProperty(t,"config",e),t.util={warn:st,extend:A,mergeOptions:Nt,defineReactive:Ct},t.set=Tt,t.delete=It,t.nextTick=ee,t.observable=function(t){return Mt(t),t},t.options=Object.create(null),R.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,A(t.options.components,kn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=I(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Nt(this.options,t),this}}(t),Mn(t),function(t){R.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(Sn),Object.defineProperty(Sn.prototype,"$isServer",{get:nt}),Object.defineProperty(Sn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Sn,"FunctionalRenderContext",{value:Pe}),Sn.version="2.6.14";var Ln=g("style,class"),On=g("input,textarea,option,select,progress"),Pn=g("contenteditable,draggable,spellcheck"),En=g("events,caret,typing,plaintext-only"),Nn=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Rn="http://www.w3.org/1999/xlink",zn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Vn=function(t){return zn(t)?t.slice(6,t.length):""},Bn=function(t){return null==t||!1===t};function Fn(t){for(var e=t.data,n=t,i=t;r(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=jn(i.data,e));for(;r(n=n.parent);)n&&n.data&&(e=jn(e,n.data));return function(t,e){if(r(t)||r(e))return $n(t,Hn(e));return""}(e.staticClass,e.class)}function jn(t,e){return{staticClass:$n(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function $n(t,e){return t?e?t+" "+e:t:e||""}function Hn(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,o=t.length;i-1?di(t,e,n):Nn(e)?Bn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Pn(e)?t.setAttribute(e,function(t,e){return Bn(e)||"false"===e?"false":"contenteditable"===t&&En(e)?e:"true"}(e,n)):zn(e)?Bn(n)?t.removeAttributeNS(Rn,Vn(e)):t.setAttributeNS(Rn,e,n):di(t,e,n)}function di(t,e,n){if(Bn(n))t.removeAttribute(e);else{if(Y&&!q&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var fi={create:ci,update:ci};function pi(t,e){var n=e.elm,o=e.data,a=t.data;if(!(i(o.staticClass)&&i(o.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=Fn(e),l=n._transitionClasses;r(l)&&(s=$n(s,Hn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var gi,mi={create:pi,update:pi};function vi(t,e,n){var i=gi;return function r(){var o=e.apply(null,arguments);null!==o&&_i(t,r,n,i)}}var yi=Zt&&!(J&&Number(J[1])<=53);function xi(t,e,n,i){if(yi){var r=sn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}gi.addEventListener(t,e,tt?{capture:n,passive:i}:n)}function _i(t,e,n,i){(i||gi).removeEventListener(t,e._wrapper||e,n)}function bi(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},o=t.data.on||{};gi=e.elm,function(t){if(r(t.__r)){var e=Y?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}r(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),ae(n,o,xi,_i,vi,e.context),gi=void 0}}var wi,Si={create:bi,update:bi};function Mi(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in r(l.__ob__)&&(l=e.data.domProps=A({},l)),s)n in l||(a[n]="");for(n in l){if(o=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var u=i(o)?"":String(o);Ci(a,u)&&(a.value=u)}else if("innerHTML"===n&&Un(a.tagName)&&i(a.innerHTML)){(wi=wi||document.createElement("div")).innerHTML=""+o+"";for(var c=wi.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;c.firstChild;)a.appendChild(c.firstChild)}else if(o!==s[n])try{a[n]=o}catch(t){}}}}function Ci(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(r(i)){if(i.number)return p(n)!==p(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Ti={create:Mi,update:Mi},Ii=_((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}})),e}));function Ai(t){var e=Di(t.style);return t.staticStyle?A(t.staticStyle,e):e}function Di(t){return Array.isArray(t)?D(t):"string"==typeof t?Ii(t):t}var ki,Li=/^--/,Oi=/\s*!important$/,Pi=function(t,e,n){if(Li.test(e))t.style.setProperty(e,n);else if(Oi.test(n))t.style.setProperty(C(e),n.replace(Oi,""),"important");else{var i=Ni(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split(Vi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Fi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Vi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function ji(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&A(e,$i(t.name||"v")),A(e,t),e}return"string"==typeof t?$i(t):void 0}}var $i=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Hi=G&&!q,Gi="transition",Wi="transitionend",Ui="animation",Zi="animationend";Hi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Gi="WebkitTransition",Wi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ui="WebkitAnimation",Zi="webkitAnimationEnd"));var Yi=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function qi(t){Yi((function(){Yi(t)}))}function Xi(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Bi(t,e))}function Ki(t,e){t._transitionClasses&&v(t._transitionClasses,e),Fi(t,e)}function Ji(t,e,n){var i=tr(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s="transition"===r?Wi:Zi,l=0,u=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++l>=a&&u()};setTimeout((function(){l0&&(n="transition",c=a,h=o.length):"animation"===e?u>0&&(n="animation",c=u,h=l.length):h=(n=(c=Math.max(a,u))>0?a>u?"transition":"animation":null)?"transition"===n?o.length:l.length:0,{type:n,timeout:c,propCount:h,hasTransform:"transition"===n&&Qi.test(i[Gi+"Property"])}}function er(t,e){for(;t.length1}function sr(t,e){!0!==e.data.show&&ir(e)}var lr=function(t){var e,n,s={},l=t.modules,u=t.nodeOps;for(e=0;ep?x(t,i(n[v+1])?null:n[v+1].elm,n,f,v,o):f>v&&b(e,d,p)}(d,g,v,n,c):r(v)?(r(t.text)&&u.setTextContent(d,""),x(d,null,v,0,v.length-1,n)):r(g)?b(g,0,g.length-1):r(t.text)&&u.setTextContent(d,""):t.text!==e.text&&u.setTextContent(d,e.text),r(p)&&r(f=p.hook)&&r(f=f.postpatch)&&f(t,e)}}}function C(t,e,n){if(o(n)&&r(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,a.selected!==o&&(a.selected=o);else if(P(fr(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function dr(t,e){return e.every((function(e){return!P(e,t)}))}function fr(t){return"_value"in t?t._value:t.value}function pr(t){t.target.composing=!0}function gr(t){t.target.composing&&(t.target.composing=!1,mr(t.target,"input"))}function mr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function vr(t){return!t.componentInstance||t.data&&t.data.transition?t:vr(t.componentInstance._vnode)}var yr={model:ur,show:{bind:function(t,e,n){var i=e.value,r=(n=vr(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,ir(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=vr(n)).data&&n.data.transition?(n.data.show=!0,i?ir(n,(function(){t.style.display=t.__vOriginalDisplay})):rr(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}}},xr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function _r(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?_r(Ge(e.children)):t}function br(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[w(o)]=r[o];return e}function wr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Sr=function(t){return t.tag||pe(t)},Mr=function(t){return"show"===t.name},Cr={name:"transition",props:xr,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Sr)).length){0;var i=this.mode;0;var r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=_r(r);if(!o)return r;if(this._leaving)return wr(t,r);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var l=(o.data||(o.data={})).transition=br(this),u=this._vnode,c=_r(u);if(o.data.directives&&o.data.directives.some(Mr)&&(o.data.show=!0),c&&c.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,c)&&!pe(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var h=c.data.transition=A({},l);if("out-in"===i)return this._leaving=!0,se(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),wr(t,r);if("in-out"===i){if(pe(o))return u;var d,f=function(){d()};se(l,"afterEnter",f),se(l,"enterCancelled",f),se(h,"delayLeave",(function(t){d=t}))}}return r}}},Tr=A({tag:String,moveClass:String},xr);function Ir(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Ar(t){t.data.newPos=t.elm.getBoundingClientRect()}function Dr(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete Tr.mode;var kr={Transition:Cr,TransitionGroup:{props:Tr,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Xe(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=br(this),s=0;s-1?Yn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Yn[t]=/HTMLUnknownElement/.test(e.toString())},A(Sn.options.directives,yr),A(Sn.options.components,kr),Sn.prototype.__patch__=G?lr:k,Sn.prototype.$mount=function(t,e){return function(t,e,n){var i;return t.$el=e,t.$options.render||(t.$options.render=gt),Qe(t,"beforeMount"),i=function(){t._update(t._render(),n)},new dn(t,i,k,{before:function(){t._isMounted&&!t._isDestroyed&&Qe(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Qe(t,"mounted")),t}(this,t=t&&G?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},G&&setTimeout((function(){V.devtools&&it&&it.emit("init",Sn)}),0),e.default=Sn}.call(this,n(289).setImmediate)},function(t,e,n){var i=n(0),r=n(20),o=i.each,a=i.isObject,s=i.isArray;function l(t){return t instanceof Array?t:null==t?[]:[t]}function u(t){return a(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}var c=0;function h(t,e){return t&&t.hasOwnProperty(e)}e.normalizeToArray=l,e.defaultEmphasis=function(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i=n.length&&n.push({option:t})}})),n},e.makeIdAndName=function(t){var e=i.createHashMap();o(t,(function(t,n){var i=t.exist;i&&e.set(i.id,t)})),o(t,(function(t,n){var r=t.option;i.assert(!r||null==r.id||!e.get(r.id)||e.get(r.id)===t,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&e.set(r.id,t),!t.keyInfo&&(t.keyInfo={})})),o(t,(function(t,n){var i=t.exist,r=t.option,o=t.keyInfo;if(a(r)){if(o.name=null!=r.name?r.name+"":i?i.name:"series\0"+n,i)o.id=i.id;else if(null!=r.id)o.id=r.id+"";else{var s=0;do{o.id="\0"+o.name+"\0"+s++}while(e.get(o.id))}e.set(o.id,t)}}))},e.isNameSpecified=function(t){var e=t.name;return!(!e||!e.indexOf("series\0"))},e.isIdInner=u,e.compressBatches=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;ii||l.newline?(o=0,c=m,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);(h=a+v)>r||l.newline?(o+=s+n,a=0,h=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=o,d[1]=a,"horizontal"===t?o=c+n:a=h+n)}))}var h=c,d=i.curry(c,"vertical"),f=i.curry(c,"horizontal");function p(t,e,n){n=a.normalizeCssArray(n||0);var i=e.width,s=e.height,l=o(t.left,i),u=o(t.top,s),c=o(t.right,i),h=o(t.bottom,s),d=o(t.width,i),f=o(t.height,s),p=n[2]+n[0],g=n[1]+n[3],m=t.aspect;switch(isNaN(d)&&(d=i-c-g-l),isNaN(f)&&(f=s-h-p-u),null!=m&&(isNaN(d)&&isNaN(f)&&(m>i/s?d=.8*i:f=.8*s),isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=i-c-d-g),isNaN(u)&&(u=s-h-f-p),t.left||t.right){case"center":l=i/2-d/2-n[3];break;case"right":l=i-d-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-f/2-n[0];break;case"bottom":u=s-f-p}l=l||0,u=u||0,isNaN(d)&&(d=i-g-l-(c||0)),isNaN(f)&&(f=s-p-u-(h||0));var v=new r(l+n[3],u+n[0],d,f);return v.margin=n,v}function g(t,e){return e&&t&&s(l,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}e.LOCATION_PARAMS=l,e.HV_NAMES=u,e.box=h,e.vbox=d,e.hbox=f,e.getAvailableSize=function(t,e,n){var i=e.width,r=e.height,s=o(t.x,i),l=o(t.y,r),u=o(t.x2,i),c=o(t.y2,r);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=i),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.y2)))&&(c=r),n=a.normalizeCssArray(n||0),{width:Math.max(u-s-n[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}},e.getLayoutRect=p,e.positionElement=function(t,e,n,o,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],u=a&&a.boundingMode||"all";if(s||l){var c;if("raw"===u)c="group"===t.type?new r(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(c=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(c=c.clone()).applyTransform(h)}e=p(i.defaults({width:c.width,height:c.height},e),n,o);var d=t.position,f=s?e.x-c.x:0,g=l?e.y-c.y:0;t.attr("position","raw"===u?[f,g]:[d[0]+f,d[1]+g])}},e.sizeCalculable=function(t,e){return null!=t[u[e][0]]||null!=t[u[e][1]]&&null!=t[u[e][2]]},e.mergeLayoutParam=function(t,e,n){!i.isObject(n)&&(n={});var r=n.ignoreSize;!i.isArray(r)&&(r=[r,r]);var o=l(u[0],0),a=l(u[1],1);function l(n,i){var o={},a=0,l={},u=0;if(s(n,(function(e){l[e]=t[e]})),s(n,(function(t){c(e,t)&&(o[t]=l[t]=e[t]),h(o,t)&&a++,h(l,t)&&u++})),r[i])return h(e,n[1])?l[n[2]]=null:h(e,n[2])&&(l[n[1]]=null),l;if(2!==u&&a){if(a>=2)return o;for(var d=0;d"'])/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"};function u(t){return null==t?"":(t+"").replace(s,(function(t,e){return l[e]}))}var c=["a","b","c","d","e","f","g"],h=function(t,e){return"{"+t+(null==e?"":e)+"}"};function d(t,e){return"0000".substr(0,e-(t+="").length)+t}var f=r.truncateText;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")},e.toCamelCase=function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},e.normalizeCssArray=a,e.encodeHTML=u,e.formatTpl=function(t,e,n){i.isArray(e)||(e=[e]);var r=e.length;if(!r)return"";for(var o=e[0].$vars||[],a=0;a':'':{renderMode:o,content:"{marker"+a+"|} ",style:{color:n}}:""},e.formatTime=function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=o.parseDate(e),r=n?"UTC":"",a=i["get"+r+"FullYear"](),s=i["get"+r+"Month"]()+1,l=i["get"+r+"Date"](),u=i["get"+r+"Hours"](),c=i["get"+r+"Minutes"](),h=i["get"+r+"Seconds"](),f=i["get"+r+"Milliseconds"]();return t=t.replace("MM",d(s,2)).replace("M",s).replace("yyyy",a).replace("yy",a%100).replace("dd",d(l,2)).replace("d",l).replace("hh",d(u,2)).replace("h",u).replace("mm",d(c,2)).replace("m",c).replace("ss",d(h,2)).replace("s",h).replace("SSS",d(f,3))},e.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},e.truncateText=f,e.getTextBoundingRect=function(t){return r.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},e.getTextRect=function(t,e,n,i,o,a,s,l){return r.getBoundingRect(t,e,n,i,o,l,a,s)},e.windowOpen=function(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location=t}else window.open(t,e)}},function(t,e,n){"use strict";var i=n(136),r=Object.prototype.toString;function o(t){return"[object Array]"===r.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function l(t){return"[object Function]"===r.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,i=t.length;n=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new d(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},d.create=function(t){return new d(t.x,t.y,t.width,t.height)};var f=d;t.exports=f},function(t,e,n){var i=n(33),r={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return r.call(i(t),e)}},function(t,e,n){var i=n(15);t.exports=function(t){if(!i(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var i=n(149),r=n(0),o=n(108),a=n(466),s=n(313).prototype.getCanvasPattern,l=Math.abs,u=new o(!0);function c(t){i.call(this,t),this.path=null}c.prototype={constructor:c,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var n,i=this.style,r=this.path||u,o=i.hasStroke(),a=i.hasFill(),l=i.fill,c=i.stroke,h=a&&!!l.colorStops,d=o&&!!c.colorStops,f=a&&!!l.image,p=o&&!!c.image;(i.bind(t,this,e),this.setTransform(t),this.__dirty)&&(h&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(t,l,n)),d&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(t,c,n)));h?t.fillStyle=this._fillGradient:f&&(t.fillStyle=s.call(l,t)),d?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=s.call(c,t));var g=i.lineDash,m=i.lineDashOffset,v=!!t.setLineDash,y=this.getGlobalScale();if(r.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!v&&o?(r.beginPath(t),g&&!v&&(r.setLineDash(g),r.setLineDashOffset(m)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),a)if(null!=i.fillOpacity){var x=t.globalAlpha;t.globalAlpha=i.fillOpacity*i.opacity,r.fill(t),t.globalAlpha=x}else r.fill(t);if(g&&v&&(t.setLineDash(g),t.lineDashOffset=m),o)if(null!=i.strokeOpacity){x=t.globalAlpha;t.globalAlpha=i.strokeOpacity*i.opacity,r.stroke(t),t.globalAlpha=x}else r.stroke(t);g&&v&&t.setLineDash([]),null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new o},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var i=this.path;i||(i=this.path=new o),this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),t=i.getBoundingRect()}if(this._rect=t,e.hasStroke()){var r=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){r.copy(t);var a=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(a=Math.max(a,this.strokeContainThreshold||4)),s>1e-10&&(r.width+=a/s,r.height+=a/s,r.x-=a/s/2,r.y-=a/s/2)}return r}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path.data;if(r.hasStroke()){var s=r.lineWidth,l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(r.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),a.containStroke(o,s/l,t,e)))return!0}if(r.hasFill())return a.contain(o,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):i.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(r.isObject(t))for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1}},c.extend=function(t){var e=function(e){c.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var r in n)!i.hasOwnProperty(r)&&n.hasOwnProperty(r)&&(i[r]=n[r])}t.init&&t.init.call(this,e)};for(var n in r.inherits(e,c),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},r.inherits(c,i);var h=c;t.exports=h},function(t,e){var n="object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"==typeof document&&"undefined"!=typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"==typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:function(t){var e={},n=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),r=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);n&&(e.firefox=!0,e.version=n[1]);i&&(e.ie=!0,e.version=i[1]);r&&(e.edge=!0,e.version=r[1]);o&&(e.weChat=!0);return{browser:e,os:{},node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!e.ie&&!e.edge,pointerEventsSupported:"onpointerdown"in window&&(e.edge||e.ie&&e.version>=11),domSupported:"undefined"!=typeof document}}(navigator.userAgent);t.exports=n},function(t,e,n){var i=n(0),r=n(20),o=n(5).makeInner,a=n(60),s=a.enableClassExtend,l=a.enableClassCheck,u=n(463),c=n(464),h=n(465),d=n(478),f=i.mixin,p=o();function g(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function m(t,e,n){for(var i=0;i=0;a--)o=i.merge(o,e[a],!0);t.defaultOption=o}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});s(f,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(f),o.enableTopologicalTravel(f,(function(t){var e=[];i.each(f.getClassesByMainType(t),(function(t){e=e.concat(t.prototype.dependencies||[])})),e=i.map(e,(function(t){return l(t).main})),"dataset"!==t&&i.indexOf(e,"dataset")<=0&&e.unshift("dataset");return e})),i.mixin(f,h);var p=f;t.exports=p},function(t,e,n){n(9).__DEV__;var i=n(0),r=n(20),o=n(11),a=o.formatTime,s=o.encodeHTML,l=o.addCommas,u=o.getTooltipMarker,c=n(5),h=n(24),d=n(329),f=n(251),p=n(10),g=p.getLayoutParams,m=p.mergeLayoutParam,v=n(252).createTask,y=n(61),x=y.prepareSource,_=y.getSource,b=n(91).retrieveRawValue,w=c.makeInner(),S=h.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,n,i){this.seriesIndex=this.componentIndex,this.dataTask=v({count:C,reset:T}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),x(this);var r=this.getInitialData(t,n);A(r,this),this.dataTask.context.data=r,w(this).dataBeforeProcessed=r,M(this)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,r=n?g(t):{},o=this.subType;h.hasClass(o)&&(o+="Series"),i.merge(t,e.getTheme().get(this.subType)),i.merge(t,this.getDefaultOption()),c.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&m(t,r,n)},mergeOption:function(t,e){t=i.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&m(this.option,t,n),x(this);var r=this.getInitialData(t,e);A(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,w(this).dataBeforeProcessed=r,M(this)},fillDataTextStyle:function(t){if(t&&!i.isTypedArray(t))for(var e=["show"],n=0;n":"\n",d="richText"===r,f={},p=0;function g(t){return{renderMode:r,content:s(l(t)),style:f}}var m=this.getData(),v=m.mapDimension("defaultedTooltip",!0),y=v.length,x=this.getRawValue(t),_=i.isArray(x),w=m.getItemVisual(t,"color");i.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=(y>1||_&&!y?function(n){var c=i.reduce(n,(function(t,e,n){var i=m.getDimensionInfo(n);return t|(i&&!1!==i.tooltip&&null!=i.displayName)}),0),h=[];function g(t,n){var i=m.getDimensionInfo(n);if(i&&!1!==i.otherDims.tooltip){var g=i.type,v="sub"+o.seriesIndex+"at"+p,y=u({color:w,type:"subItem",renderMode:r,markerId:v}),x="string"==typeof y?y:y.content,_=(c?x+s(i.displayName||"-")+": ":"")+s("ordinal"===g?t+"":"time"===g?e?"":a("yyyy/MM/dd hh:mm:ss",t):l(t));_&&h.push(_),d&&(f[v]=w,++p)}}v.length?i.each(v,(function(e){g(b(m,t,e),e)})):i.each(n,g);var y=c?d?"\n":"
":"",x=y+h.join(y||", ");return{renderMode:r,content:x,style:f}}(x):g(y?b(m,t,v[0]):_?x[0]:x)).content,M=o.seriesIndex+"at"+p,C=u({color:w,type:"item",renderMode:r,markerId:M});f[M]=w,++p;var T=m.getName(t),I=this.name;c.isNameSpecified(this)||(I=""),I=I?s(I)+(e?": ":h):"";var A="string"==typeof C?C:C.content;return{html:e?A+I+S:I+A+(T?s(T)+": "+S:S),markers:f}},isAnimationEnabled:function(){if(r.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel,r=d.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function M(t){var e=t.name;c.isNameSpecified(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimension("seriesName",!0),r=[];return i.each(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&r.push(n.displayName)})),r.join(" ")}(t)||e)}function C(t){return t.model.getRawData().count()}function T(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),I}function I(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function A(t,e){i.each(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,i.curry(D,e))}))}function D(t){var e=k(t);e&&e.setOutputEnd(this.count())}function k(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}i.mixin(S,f),i.mixin(S,d);var L=S;t.exports=L},function(t,e,n){var i=n(47);t.exports=function(t){if(i(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,e,n){var i=n(7);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var i=n(27),r=n(23),o=n(49);t.exports=i?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(48),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){},function(t,e,n){var i=n(6),r=n(28),o=n(17),a=n(80),s=n(119),l=n(43),u=l.get,c=l.enforce,h=String(String).split("String");(t.exports=function(t,e,n,s){var l,u=!!s&&!!s.unsafe,d=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||r(n,"name",e),(l=c(n)).source||(l.source=h.join("string"==typeof e?e:""))),t!==i?(u?!f&&t[e]&&(d=!0):delete t[e],d?t[e]=n:r(t,e,n)):d?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},function(t,e){var n="undefined"==typeof Float32Array?Array:Float32Array;function i(){var t=new n(6);return r(t),t}function r(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}e.create=i,e.identity=r,e.copy=o,e.mul=function(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t},e.translate=function(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t},e.rotate=function(t,e,n){var i=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],u=Math.sin(n),c=Math.cos(n);return t[0]=i*c+a*u,t[1]=-i*u+a*c,t[2]=r*c+s*u,t[3]=-r*u+c*s,t[4]=c*o+u*l,t[5]=c*l-u*o,t},e.scale=function(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t},e.invert=function(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null},e.clone=function(t){var e=i();return o(e,t),e}},function(t,e,n){var i=n(36);t.exports=function(t){return Object(i(t))}},function(t,e,n){var i=n(103),r=n(36);t.exports=function(t){return i(r(t))}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var i=n(16),r=n(246),o=n(0),a=o.getContext,s=o.extend,l=o.retrieve2,u=o.retrieve3,c=o.trim,h={},d=0,f=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,p={};function g(t,e){var n=t+":"+(e=e||"12px sans-serif");if(h[n])return h[n];for(var i=(t+"").split("\n"),r=0,o=0,a=i.length;o5e3&&(d=0,h={}),d++,h[n]=r,r}function m(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function v(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function y(t,e,n){var i=e.textPosition,r=e.textDistance,o=n.x,a=n.y;r=r||0;var s=n.height,l=n.width,u=s/2,c="left",h="top";switch(i){case"left":o-=r,a+=u,c="right",h="middle";break;case"right":o+=r+l,a+=u,h="middle";break;case"top":o+=l/2,a-=r,c="center",h="bottom";break;case"bottom":o+=l/2,a+=s+r,c="center";break;case"inside":o+=l/2,a+=u,c="center",h="middle";break;case"insideLeft":o+=r,a+=u,h="middle";break;case"insideRight":o+=l-r,a+=u,c="right",h="middle";break;case"insideTop":o+=l/2,a+=r,c="center";break;case"insideBottom":o+=l/2,a+=s-r,c="center",h="bottom";break;case"insideTopLeft":o+=r,a+=r;break;case"insideTopRight":o+=l-r,a+=r,c="right";break;case"insideBottomLeft":o+=r,a+=s-r,h="bottom";break;case"insideBottomRight":o+=l-r,a+=s-r,c="right",h="bottom"}return(t=t||{}).x=o,t.y=a,t.textAlign=c,t.textVerticalAlign=h,t}function x(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=_(e,n,i,r);for(var a=0,s=o.length;a=o;u++)a-=o;var c=g(n,e);return c>a&&(n="",c=0),a=t-c,i.ellipsis=n,i.ellipsisWidth=c,i.contentWidth=a,i.containerWidth=t,i}function b(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=g(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?w(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=g(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function w(t,e,n,i){for(var r=0,o=0,a=t.length;oh)t="",a=[];else if(null!=d)for(var f=_(d-(n?n[1]+n[3]:0),e,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),p=0,g=a.length;po&&I(n,t.substring(o,a)),I(n,i[2],i[1]),o=f.lastIndex}oy)return{lines:[],width:0,height:0};z.textWidth=g(z.text,D);var L=T.textWidth,O=null==L||"auto"===L;if("string"==typeof L&&"%"===L.charAt(L.length-1))z.percentWidth=L,d.push(z),L=0;else{if(O){L=z.textWidth;var P=T.textBackgroundColor,E=P&&P.image;E&&(E=r.findExistImage(E),r.isImageReady(E)&&(L=Math.max(L,E.width*k/E.height)))}var N=A?A[1]+A[3]:0;L+=N;var R=null!=v?v-M:null;null!=R&&RM;M++)if((f||M in b)&&(x=w(y=b[M],M,_),t))if(e)T[M]=x;else if(x)switch(t){case 3:return!0;case 5:return y;case 6:return M;case 2:l.call(T,y)}else switch(t){case 4:return!1;case 7:l.call(T,y)}return h?-1:u||c?c:T}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},function(t,e,n){n(9).__DEV__;var i=n(0),r=n(21),o=n(92),a=n(152),s=n(91),l=s.defaultDimValueGetters,u=s.DefaultDataProvider,c=n(154).summarizeDimensions,h=n(334),d=i.isObject,f={float:"undefined"==typeof Float64Array?Array:Float64Array,int:"undefined"==typeof Int32Array?Array:Int32Array,ordinal:Array,number:Array,time:Array},p="undefined"==typeof Uint32Array?Array:Uint32Array,g="undefined"==typeof Int32Array?Array:Int32Array,m="undefined"==typeof Uint16Array?Array:Uint16Array;function v(t){return t._rawCount>65535?p:m}var y=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],x=["_extent","_approximateExtent","_rawExtent"];function _(t,e){i.each(y.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,i.each(x,(function(n){t[n]=i.clone(e[n])})),t._calculationInfo=i.extend(e._calculationInfo)}var b=function(t,e){t=t||["x","y"];for(var n={},r=[],o={},a=0;a=0?this._indices[t]:-1}function A(t,e){var n=t._idList[e];return null==n&&(n=C(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n}function D(t){return i.isArray(t)||(t=[t]),t}function k(t,e){var n=t.dimensions,r=new b(i.map(n,t.getDimensionInfo,t),t.hostModel);_(r,t);for(var o=r._storage={},a=t._storage,s=0;s=0?(o[l]=L(a[l]),r._rawExtent[l]=O(),r._extent[l]=null):o[l]=a[l])}return r}function L(t){for(var e,n,i=new Array(t.length),r=0;rx[1]&&(x[1]=y)}e&&(this._nameList[d]=e[f])}this._rawCount=this._count=l,this._extent={},M(this)},w._initDataFromProvider=function(t,e){if(!(t>=e)){for(var n,i=this._chunkSize,r=this._rawData,o=this._storage,a=this.dimensions,s=a.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;pT[1]&&(T[1]=C)}if(!r.pure){var I=u[v];if(m&&null==I)if(null!=m.name)u[v]=I=m.name;else if(null!=n){var A=a[n],D=o[A][y];if(D){I=D[x];var k=l[A].ordinalMeta;k&&k.categories.length&&(I=k.categories[I])}}var L=null==m?null:m.id;null==L&&null!=I&&(d[I]=d[I]||0,L=I,d[I]>0&&(L+="__ec__"+d[I]),d[I]++),null!=L&&(c[v]=L)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},M(this)}},w.count=function(){return this._count},w.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array){r=new e(n);for(var i=0;i=0&&e=0&&ea&&(a=l)}return i=[o,a],this._extent[t]=i,i},w.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},w.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},w.getCalculationInfo=function(t){return this._calculationInfo[t]},w.setCalculationInfo=function(t,e){d(t)?i.extend(this._calculationInfo,t):this._calculationInfo[t]=e},w.getSum=function(t){var e=0;if(this._storage[t])for(var n=0,i=this.count();n=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},w.indicesOfNearest=function(t,e,n){var i=[];if(!this._storage[t])return i;null==n&&(n=1/0);for(var r=1/0,o=-1,a=0,s=0,l=this.count();s=0&&o<0)&&(r=c,o=u,a=0),u===o&&(i[a++]=s))}return i.length=a,i},w.getRawIndex=T,w.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n=l&&w<=u||isNaN(w))&&(o[a++]=h),h++}c=!0}else if(2===i){d=this._storage[s];var y=this._storage[e[1]],x=t[e[1]][0],_=t[e[1]][1];for(f=0;f=l&&w<=u||isNaN(w))&&(S>=x&&S<=_||isNaN(S))&&(o[a++]=h),h++}}c=!0}}if(!c)if(1===i)for(m=0;m=l&&w<=u||isNaN(w))&&(o[a++]=M)}else for(m=0;mt[A][1])&&(C=!1)}C&&(o[a++]=this.getRawIndex(m))}return aw[1]&&(w[1]=b)}}}return o},w.downSample=function(t,e,n,i){for(var r=k(this,[t]),o=r._storage,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),c=this._chunkSize,h=r._rawExtent[t],d=new(v(this))(u),f=0,p=0;pu-p&&(s=u-p,a.length=s);for(var g=0;gh[1]&&(h[1]=_),d[f++]=b}return r._count=f,r._indices=d,r.getRawIndex=I,r},w.getItemModel=function(t){var e=this.hostModel;return new r(this.getRawDataItem(t),e,e&&e.ecModel)},w.diff=function(t){var e=this;return new o(t?t.getIndices():[],this.getIndices(),(function(e){return A(t,e)}),(function(t){return A(e,t)}))},w.getVisual=function(t){var e=this._visual;return e&&e[t]},w.setVisual=function(t,e){if(d(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},w.setLayout=function(t,e){if(d(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},w.getLayout=function(t){return this._layout[t]},w.getItemLayout=function(t){return this._itemLayouts[t]},w.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?i.extend(this._itemLayouts[t]||{},e):e},w.clearItemLayouts=function(){this._itemLayouts.length=0},w.getItemVisual=function(t,e,n){var i=this._itemVisuals[t],r=i&&i[e];return null!=r||n?r:this.getVisual(e)},w.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},r=this.hasItemVisual;if(this._itemVisuals[t]=i,d(e))for(var o in e)e.hasOwnProperty(o)&&(i[o]=e[o],r[o]=!0);else i[e]=n,r[e]=!0},w.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var P=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};w.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(P,e)),this._graphicEls[t]=e},w.getItemGraphicEl=function(t){return this._graphicEls[t]},w.eachItemGraphicEl=function(t,e){i.each(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},w.cloneShallow=function(t){if(!t){var e=i.map(this.dimensions,this.getDimensionInfo,this);t=new b(e,this.hostModel)}if(t._storage=this._storage,_(t,this),this._indices){var n=this._indices.constructor;t._indices=new n(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?I:T,t},w.wrapMethod=function(t,e){var n=this[t];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(i.slice(arguments)))})},w.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],w.CHANGABLE_METHODS=["filterSelf","selectRange"];var E=b;t.exports=E},function(t,e,n){var i=n(0),r=n(2),o=n(16),a=n(37).calculateTextPosition,s=r.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),l=r.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),u=r.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),d=Math.cos(u),f=.6*a,p=.7*a;t.moveTo(n-c,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-h*f,l+s+d*f,n,i-p,n,i),t.bezierCurveTo(n,i-p,n-c+h*f,l+s+d*f,n-c,l+s),t.closePath()}}),c=r.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),h={line:r.Line,rect:r.Rect,roundRect:r.Rect,square:r.Rect,circle:r.Circle,diamond:l,pin:u,arrow:c,triangle:s},d={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},f={};i.each(h,(function(t,e){f[e]=new t}));var p=r.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=a(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.textPosition&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=f[i];r||(r=f[i="rect"]),d[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function g(t,e){if("image"!==this.type){var n=this.style,i=this.shape;i&&"line"===i.symbolType?n.stroke=t:this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff"):(n.fill&&(n.fill=t),n.stroke&&(n.stroke=t)),this.dirty(!1)}}e.createSymbol=function(t,e,n,i,a,s,l){var u,c=0===t.indexOf("empty");return c&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(u=0===t.indexOf("image://")?r.makeImage(t.slice(8),new o(e,n,i,a),l?"center":"cover"):0===t.indexOf("path://")?r.makePath(t.slice(7),{},new o(e,n,i,a),l?"center":"cover"):new p({shape:{symbolType:t,x:e,y:n,width:i,height:a}})).__isEmptyBrush=c,u.setColor=g,u.setColor(s),u}},,function(t,e,n){var i,r,o,a=n(216),s=n(6),l=n(15),u=n(28),c=n(17),h=n(79),d=n(69),f=n(65),p=s.WeakMap;if(a||h.state){var g=h.state||(h.state=new p),m=g.get,v=g.has,y=g.set;i=function(t,e){if(v.call(g,t))throw new TypeError("Object already initialized");return e.facade=t,y.call(g,t,e),e},r=function(t){return m.call(g,t)||{}},o=function(t){return v.call(g,t)}}else{var x=d("state");f[x]=!0,i=function(t,e){if(c(t,x))throw new TypeError("Object already initialized");return e.facade=t,u(t,x,e),e},r=function(t){return c(t,x)?t[x]:{}},o=function(t){return c(t,x)}}t.exports={set:i,get:r,has:o,enforce:function(t){return o(t)?r(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){"use strict";function i(t,e,n){this.$children.forEach((function(r){r.$options.componentName===t?r.$emit.apply(r,[e].concat(n)):i.apply(r,[t,e].concat([n]))}))}e.__esModule=!0,e.default={methods:{dispatch:function(t,e,n){for(var i=this.$parent||this.$root,r=i.$options.componentName;i&&(!r||r!==t);)(i=i.$parent)&&(r=i.$options.componentName);i&&i.$emit.apply(i,[e].concat(n))},broadcast:function(t,e,n){i.call(this,t,e,n)}}}},function(t,e,n){var i=n(0),r={};function o(){this._coordinateSystems=[]}o.prototype={constructor:o,create:function(t,e){var n=[];i.each(r,(function(i,r){var o=i.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},update:function(t,e){i.each(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},o.register=function(t,e){r[t]=e},o.get=function(t){return r[t]};var a=o;t.exports=a},function(t,e,n){n(9).__DEV__;var i=n(0),r=n(494),o=n(188),a=n(187),s=n(3),l=n(189),u=l.prepareLayoutBarSeries,c=l.makeColumnLayout,h=l.retrieveColumnLayout,d=n(16);function f(t,e){var n,r,o,a=t.type,l=e.getMin(),d=e.getMax(),f=t.getExtent();"ordinal"===a?n=e.getCategories().length:(r=e.get("boundaryGap"),i.isArray(r)||(r=[r||0,r||0]),"boolean"==typeof r[0]&&(r=[0,0]),r[0]=s.parsePercent(r[0],1),r[1]=s.parsePercent(r[1],1),o=f[1]-f[0]||Math.abs(f[0])),"dataMin"===l?l=f[0]:"function"==typeof l&&(l=l({min:f[0],max:f[1]})),"dataMax"===d?d=f[1]:"function"==typeof d&&(d=d({min:f[0],max:f[1]}));var p=null!=l,g=null!=d;null==l&&(l="ordinal"===a?n?0:NaN:f[0]-r[0]*o),null==d&&(d="ordinal"===a?n?n-1:NaN:f[1]+r[1]*o),(null==l||!isFinite(l))&&(l=NaN),(null==d||!isFinite(d))&&(d=NaN),t.setBlank(i.eqNaN(l)||i.eqNaN(d)||"ordinal"===a&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(l>0&&d>0&&!p&&(l=0),l<0&&d<0&&!g&&(d=0));var m=e.ecModel;if(m&&"time"===a){var v,y=u("bar",m);if(i.each(y,(function(t){v|=t.getBaseAxis()===e.axis})),v){var x=c(y),_=function(t,e,n,r){var o=n.axis.getExtent(),a=o[1]-o[0],s=h(r,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;i.each(s,(function(t){l=Math.min(t.offset,l)}));var u=-1/0;i.each(s,(function(t){u=Math.max(t.offset+t.width,u)})),l=Math.abs(l),u=Math.abs(u);var c=l+u,d=e-t,f=d/(1-(l+u)/a)-d;return{min:t-=f*(l/c),max:e+=f*(u/c)}}(l,d,e,x);l=_.min,d=_.max}}return{extent:[l,d],fixMin:p,fixMax:g}}function p(t){var e,n=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof n?(e=n,n=function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}):"function"==typeof n?function(e,r){return null!=i&&(r=e-i),n(g(t,e),r)}:function(e){return t.scale.getLabel(e)}}function g(t,e){return"category"===t.type?t.scale.getLabel(e):e}function m(t){var e=t.get("interval");return null==e?"auto":e}n(495),n(338),e.getScaleExtent=f,e.niceScaleExtent=function(t,e){var n=f(t,e),i=n.extent,r=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:r,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var a=e.get("interval");null!=a&&t.setInterval&&t.setInterval(a)},e.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new r(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new o;default:return(a.getClass(e)||o).create(t)}},e.ifAxisCrossZero=function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)},e.makeLabelFormatter=p,e.getAxisRawValue=g,e.estimateLabelUnionRect=function(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){var i,r,o="category"===t.type,a=n.getExtent();r=o?n.count():(i=n.getTicks()).length;var s,l,u,c,h,f,g,m,v,y=t.getLabelModel(),x=p(t),_=1;r>40&&(_=Math.ceil(r/40));for(var b=0;b0?i:n)(t)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var i=n(88);e.Dispatcher=i;var r=n(20),o=n(308),a=o.isCanvasEl,s=o.transformCoordWithViewport,l="undefined"!=typeof window&&!!window.addEventListener,u=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,c=[];function h(t,e,n,i){return n=n||{},i||!r.canvasSupported?d(t,e,n):r.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):d(t,e,n),n}function d(t,e,n){if(r.domSupported&&t.getBoundingClientRect){var i=e.clientX,o=e.clientY;if(a(t)){var l=t.getBoundingClientRect();return n.zrX=i-l.left,void(n.zrY=o-l.top)}if(s(c,t,i,o))return n.zrX=c[0],void(n.zrY=c[1])}n.zrX=n.zrY=0}function f(t){return t||window.event}var p=l?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};e.clientToLocal=h,e.getNativeEvent=f,e.normalizeEvent=function(t,e,n){if(null!=(e=f(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&h(t,r,e,n)}else h(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var o=e.button;return null==e.which&&void 0!==o&&u.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e},e.addEventListener=function(t,e,n,i){l?t.addEventListener(e,n,i):t.attachEvent("on"+e,n)},e.removeEventListener=function(t,e,n,i){l?t.removeEventListener(e,n,i):t.detachEvent("on"+e,n)},e.stop=p,e.isMiddleOrRightButtonOnMouseUpDown=function(t){return 2===t.which||3===t.which},e.notLeftMouse=function(t){return t.which>1}},function(t,e,n){var i=n(311),r={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function o(t){return(t=Math.round(t))<0?0:t>255?255:t}function a(t){return t<0?0:t>1?1:t}function s(t){return t.length&&"%"===t.charAt(t.length-1)?o(parseFloat(t)/100*255):o(parseInt(t,10))}function l(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100):a(parseFloat(t))}function u(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function c(t,e,n){return t+(e-t)*n}function h(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var f=new i(20),p=null;function g(t,e){p&&d(p,e),p=f.put(t,p||e.slice())}function m(t,e){if(t){e=e||[];var n=f.get(t);if(n)return d(e,n);var i,o=(t+="").replace(/ /g,"").toLowerCase();if(o in r)return d(e,r[o]),g(t,e),e;if("#"===o.charAt(0))return 4===o.length?(i=parseInt(o.substr(1),16))>=0&&i<=4095?(h(e,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,1),g(t,e),e):void h(e,0,0,0,1):7===o.length?(i=parseInt(o.substr(1),16))>=0&&i<=16777215?(h(e,(16711680&i)>>16,(65280&i)>>8,255&i,1),g(t,e),e):void h(e,0,0,0,1):void 0;var a=o.indexOf("("),u=o.indexOf(")");if(-1!==a&&u+1===o.length){var c=o.substr(0,a),p=o.substr(a+1,u-(a+1)).split(","),m=1;switch(c){case"rgba":if(4!==p.length)return void h(e,0,0,0,1);m=l(p.pop());case"rgb":return 3!==p.length?void h(e,0,0,0,1):(h(e,s(p[0]),s(p[1]),s(p[2]),m),g(t,e),e);case"hsla":return 4!==p.length?void h(e,0,0,0,1):(p[3]=l(p[3]),v(p,e),g(t,e),e);case"hsl":return 3!==p.length?void h(e,0,0,0,1):(v(p,e),g(t,e),e);default:return}}h(e,0,0,0,1)}}function v(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=l(t[1]),r=l(t[2]),a=r<=.5?r*(i+1):r+i-r*i,s=2*r-a;return h(e=e||[],o(255*u(s,a,n+1/3)),o(255*u(s,a,n)),o(255*u(s,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function y(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),s=Math.ceil(i),l=e[r],u=e[s],h=i-r;return n[0]=o(c(l[0],u[0],h)),n[1]=o(c(l[1],u[1],h)),n[2]=o(c(l[2],u[2],h)),n[3]=a(c(l[3],u[3],h)),n}}var x=y;function _(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),s=Math.ceil(i),l=m(e[r]),u=m(e[s]),h=i-r,d=w([o(c(l[0],u[0],h)),o(c(l[1],u[1],h)),o(c(l[2],u[2],h)),a(c(l[3],u[3],h))],"rgba");return n?{color:d,leftIndex:r,rightIndex:s,value:i}:d}}var b=_;function w(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}e.parse=m,e.lift=function(t,e){var n=m(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:t[i]<0&&(n[i]=0);return w(n,4===n.length?"rgba":"rgb")}},e.toHex=function(t){var e=m(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},e.fastLerp=y,e.fastMapToColor=x,e.lerp=_,e.mapToColor=b,e.modifyHSL=function(t,e,n,i){if(t=m(t))return t=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-o)/6+l/2)/l;i===s?e=d-h:r===s?e=1/3+c-d:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,u];return null!=t[3]&&f.push(t[3]),f}}(t),null!=e&&(t[0]=(r=e,(r=Math.round(r))<0?0:r>360?360:r)),null!=n&&(t[1]=l(n)),null!=i&&(t[2]=l(i)),w(v(t),"rgba");var r},e.modifyAlpha=function(t,e){if((t=m(t))&&null!=e)return t[3]=a(e),w(t,"rgba")},e.stringify=w},function(t,e,n){var i=n(0).each,r=n(89),o=n(151),a=n(60),s=n(5),l=n(2),u=n(252).createTask,c=n(109),h=s.makeInner(),d=c();function f(){this.group=new r,this.uid=o.getUID("viewChart"),this.renderTask=u({plan:v,reset:y}),this.renderTask.context={view:this}}f.prototype={type:"chart",init:function(t,e){},render:function(t,e,n,i){},highlight:function(t,e,n,i){m(t.getData(),i,"emphasis")},downplay:function(t,e,n,i){m(t.getData(),i,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var p=f.prototype;function g(t,e,n){if(t&&(t.trigger(e,n),t.isGroup&&!l.isHighDownDispatcher(t)))for(var i=0,r=t.childCount();i"+t+"<\/script>"},p=function(t){t.write(f("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}g=document.domain&&i?p(i):function(){var t,e=u("iframe");if(e.style)return e.style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(f("document.F=Object")),t.close(),t.F}()||p(i);for(var t=a.length;t--;)delete g.prototype[a[t]];return g()};s[h]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(d.prototype=r(t),n=new d,d.prototype=null,n[h]=t):n=g(),void 0===e?n:o(n,e)}},function(t,e,n){"use strict";var i=n(22),r=n(57);i({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},function(t,e,n){var i=n(27),r=n(165),o=n(49),a=n(34),s=n(63),l=n(17),u=n(126),c=Object.getOwnPropertyDescriptor;e.f=i?c:function(t,e){if(t=a(t),e=s(e),u)try{return c(t,e)}catch(t){}if(l(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){"use strict";var i,r,o=n(26),a=n(169),s=n(130),l=n(64),u=n(54),c=n(43).get,h=n(219),d=n(220),f=RegExp.prototype.exec,p=l("native-string-replace",String.prototype.replace),g=f,m=(i=/a/,r=/b*/g,f.call(i,"a"),f.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),v=s.UNSUPPORTED_Y||s.BROKEN_CARET,y=void 0!==/()??/.exec("")[1];(m||y||v||h||d)&&(g=function(t){var e,n,i,r,s,l,h,d=this,x=c(d),_=o(t),b=x.raw;if(b)return b.lastIndex=d.lastIndex,e=g.call(b,_),d.lastIndex=b.lastIndex,e;var w=x.groups,S=v&&d.sticky,M=a.call(d),C=d.source,T=0,I=_;if(S&&(-1===(M=M.replace("y","")).indexOf("g")&&(M+="g"),I=_.slice(d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==_.charAt(d.lastIndex-1))&&(C="(?: "+C+")",I=" "+I,T++),n=new RegExp("^(?:"+C+")",M)),y&&(n=new RegExp("^"+C+"$(?!\\s)",M)),m&&(i=d.lastIndex),r=f.call(S?n:d,I),S?r?(r.input=r.input.slice(T),r[0]=r[0].slice(T),r.index=d.lastIndex,d.lastIndex+=r[0].length):d.lastIndex=0:m&&r&&(d.lastIndex=d.global?r.index+r[0].length:i),y&&r&&r.length>1&&p.call(r[0],n,(function(){for(s=1;s0&&void 0!==arguments[0]?arguments[0]:"";return String(t).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var c=e.arrayFindIndex=function(t,e){for(var n=0;n!==t.length;++n)if(e(t[n]))return n;return-1},h=(e.arrayFind=function(t,e){var n=c(t,e);return-1!==n?t[n]:void 0},e.coerceTruthyValueToArray=function(t){return Array.isArray(t)?t:t?[t]:[]},e.isIE=function(){return!a.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},e.isEdge=function(){return!a.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},e.isFirefox=function(){return!a.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},e.autoprefixer=function(t){if("object"!==(void 0===t?"undefined":i(t)))return t;var e=["ms-","webkit-"];return["transform","transition","animation"].forEach((function(n){var i=t[n];n&&i&&e.forEach((function(e){t[e+n]=i}))})),t},e.kebabCase=function(t){var e=/([^-])([A-Z])/g;return t.replace(e,"$1-$2").replace(e,"$1-$2").toLowerCase()},e.capitalize=function(t){return(0,s.isString)(t)?t.charAt(0).toUpperCase()+t.slice(1):t},e.looseEqual=function(t,e){var n=(0,s.isObject)(t),i=(0,s.isObject)(e);return n&&i?JSON.stringify(t)===JSON.stringify(e):!n&&!i&&String(t)===String(e)}),d=e.arrayEquals=function(t,e){if(e=e||[],(t=t||[]).length!==e.length)return!1;for(var n=0;n-1}var p=e.getStyle=u<9?function(t,e){if(!a){if(!t||!e)return null;"float"===(e=c(e))&&(e="styleFloat");try{switch(e){case"opacity":try{return t.filters.item("alpha").opacity/100}catch(t){return 1}default:return t.style[e]||t.currentStyle?t.currentStyle[e]:null}}catch(n){return t.style[e]}}}:function(t,e){if(!a){if(!t||!e)return null;"float"===(e=c(e))&&(e="cssFloat");try{var n=document.defaultView.getComputedStyle(t,"");return t.style[e]||n?n[e]:null}catch(n){return t.style[e]}}};var g=e.isScroll=function(t,e){if(!a)return p(t,null!=e?e?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto|overlay)/)};e.getScrollContainer=function(t,e){if(!a){for(var n=t;n;){if([window,document,document.documentElement].includes(n))return window;if(g(n,e))return n;n=n.parentNode}return n}},e.isInContainer=function(t,e){if(a||!t||!e)return!1;var n=t.getBoundingClientRect(),i=void 0;return i=[window,document,document.documentElement,null,void 0].includes(e)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:e.getBoundingClientRect(),n.topi.top&&n.right>i.left&&n.left=74)&&(i=a.match(/Chrome\/(\d+)/))&&(r=i[1]),t.exports=r&&+r},function(t,e){t.exports=!1},function(t,e,n){var i=n(64),r=n(81),o=i("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e){t.exports={}},function(t,e,n){var i=n(14),r=i.create,o=i.distSquare,a=Math.pow,s=Math.sqrt,l=s(3),u=r(),c=r(),h=r();function d(t){return t>-1e-8&&t<1e-8}function f(t){return t>1e-8||t<-1e-8}function p(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function g(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}e.cubicAt=p,e.cubicDerivativeAt=function(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)},e.cubicRootAt=function(t,e,n,i,r,o){var u=i+3*(e-n)-t,c=3*(n-2*e+t),h=3*(e-t),f=t-r,p=c*c-3*u*h,g=c*h-9*u*f,m=h*h-3*c*f,v=0;if(d(p)&&d(g)){if(d(c))o[0]=0;else(A=-h/c)>=0&&A<=1&&(o[v++]=A)}else{var y=g*g-4*p*m;if(d(y)){var x=g/p,_=-x/2;(A=-c/u+x)>=0&&A<=1&&(o[v++]=A),_>=0&&_<=1&&(o[v++]=_)}else if(y>0){var b=s(y),w=p*c+1.5*u*(-g+b),S=p*c+1.5*u*(-g-b);(A=(-c-((w=w<0?-a(-w,1/3):a(w,1/3))+(S=S<0?-a(-S,1/3):a(S,1/3))))/(3*u))>=0&&A<=1&&(o[v++]=A)}else{var M=(2*p*c-3*u*g)/(2*s(p*p*p)),C=Math.acos(M)/3,T=s(p),I=Math.cos(C),A=(-c-2*T*I)/(3*u),D=(_=(-c+T*(I+l*Math.sin(C)))/(3*u),(-c+T*(I-l*Math.sin(C)))/(3*u));A>=0&&A<=1&&(o[v++]=A),_>=0&&_<=1&&(o[v++]=_),D>=0&&D<=1&&(o[v++]=D)}}return v},e.cubicExtrema=function(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(d(a)){if(f(o))(h=-l/o)>=0&&h<=1&&(r[u++]=h)}else{var c=o*o-4*a*l;if(d(c))r[0]=-o/(2*a);else if(c>0){var h,p=s(c),g=(-o-p)/(2*a);(h=(-o+p)/(2*a))>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u},e.cubicSubdivide=function(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,c=(l-s)*r+s,h=(c-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=i},e.cubicProjectPoint=function(t,e,n,i,r,a,l,d,f,g,m){var v,y,x,_,b,w=.005,S=1/0;u[0]=f,u[1]=g;for(var M=0;M<1;M+=.05)c[0]=p(t,n,r,l,M),c[1]=p(e,i,a,d,M),(_=o(u,c))=0&&_=0&&h<=1&&(r[u++]=h)}else{var c=a*a-4*o*l;if(d(c))(h=-a/(2*o))>=0&&h<=1&&(r[u++]=h);else if(c>0){var h,p=s(c),g=(-a-p)/(2*o);(h=(-a+p)/(2*o))>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u},e.quadraticExtremum=function(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i},e.quadraticSubdivide=function(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n},e.quadraticProjectPoint=function(t,e,n,i,r,a,l,d,f){var p,m=.005,v=1/0;u[0]=l,u[1]=d;for(var y=0;y<1;y+=.05){c[0]=g(t,n,r,y),c[1]=g(e,i,a,y),(w=o(u,c))=0&&w=0?h():c=setTimeout(h,-r),l=i};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){s=t},d}e.throttle=r,e.createOrUpdate=function(t,e,o,a){var s=t[e];if(s){var l=s[n]||s,u=s["\0__throttleType"];if(s[i]!==o||u!==a){if(null==o||!a)return t[e]=l;(s=t[e]=r(l,o,"debounce"===a))[n]=l,s["\0__throttleType"]=a,s[i]=o}return s}},e.clear=function(t,e){var i=t[e];i&&i[n]&&(t[e]=i[n])}},function(t,e){t.exports={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:""}}}}},function(t,e,n){var i=n(0),r=i.each,o=i.map,a=n(3),s=a.linearMap,l=a.getPixelPrecision,u=a.round,c=n(496),h=c.createAxisTicks,d=c.createAxisLabels,f=c.calculateCategoryInterval,p=[0,1],g=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function m(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}g.prototype={constructor:g,contain:function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&m(n=n.slice(),i.count()),s(t,p,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&m(n=n.slice(),i.count());var r=s(t,n,p,e);return this.scale.scale(r)},pointToData:function(t,e){},getTicksCoords:function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=h(this,e).ticks,i=o(n,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this);return function(t,e,n,i){var o=e.length;if(!t.onBand||n||!o)return;var a,s,l=t.getExtent();if(1===o)e[0].coord=l[0],a=e[1]={coord:l[0]};else{var c=e[o-1].tickValue-e[0].tickValue,h=(e[o-1].coord-e[0].coord)/c;r(e,(function(t){t.coord-=h/2}));var d=t.scale.getExtent();s=1+d[1]-e[o-1].tickValue,a={coord:e[o-1].coord+h*s},e.push(a)}var f=l[0]>l[1];p(e[0].coord,l[0])&&(i?e[0].coord=l[0]:e.shift());i&&p(l[0],e[0].coord)&&e.unshift({coord:l[0]});p(l[1],a.coord)&&(i?a.coord=l[1]:e.pop());i&&p(a.coord,l[1])&&e.push({coord:l[1]});function p(t,e){return t=u(t),e=u(e),f?t>e:t0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return o(e,(function(t){return o(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},getViewLabels:function(){return d(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}};var v=g;t.exports=v},function(t,e,n){var i=n(0),r=i.retrieve,o=i.defaults,a=i.extend,s=i.each,l=n(11),u=n(2),c=n(21),h=n(3),d=h.isRadianAroundZero,f=h.remRadian,p=n(41).createSymbol,g=n(32),m=n(14).applyTransform,v=n(46).shouldShowAllLabels,y=Math.PI,x=function(t,e){this.opt=e,this.axisModel=t,o(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var n=new u.Group({position:e.position.slice(),rotation:e.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};x.prototype={constructor:x,hasBuilder:function(t){return!!_[t]},add:function(t){_[t].call(this)},getGroup:function(){return this.group}};var _={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),i=this._transform,r=[n[0],0],o=[n[1],0];i&&(m(r,r,i),m(o,o,i));var l=a({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new u.Line({anid:"line",subPixelOptimize:!0,shape:{x1:r[0],y1:r[1],x2:o[0],y2:o[1]},style:l,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1}));var c=e.get("axisLine.symbol"),h=e.get("axisLine.symbolSize"),d=e.get("axisLine.symbolOffset")||0;if("number"==typeof d&&(d=[d,d]),null!=c){"string"==typeof c&&(c=[c,c]),"string"!=typeof h&&"number"!=typeof h||(h=[h,h]);var f=h[0],g=h[1];s([{rotate:t.rotation+Math.PI/2,offset:d[0],r:0},{rotate:t.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((r[0]-o[0])*(r[0]-o[0])+(r[1]-o[1])*(r[1]-o[1]))}],(function(e,n){if("none"!==c[n]&&null!=c[n]){var i=p(c[n],-f/2,-g/2,f,g,l.stroke,!0),o=e.r+e.offset,a=[r[0]+o*Math.cos(t.rotation),r[1]-o*Math.sin(t.rotation)];i.attr({rotation:e.rotate,position:a,silent:!0,z2:11}),this.group.add(i)}}),this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,n=function(t,e,n){var i=e.axis,r=e.getModel("axisTick");if(!r.get("show")||i.scale.isBlank())return;for(var a=r.getModel("lineStyle"),s=n.tickDirection*r.get("length"),l=I(i.getTicksCoords(),t._transform,s,o(a.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),"ticks"),u=0;ug[1]?-1:1,v=["start"===s?g[0]-m*p:"end"===s?g[1]+m*p:(g[0]+g[1])/2,T(s)?t.labelOffset+c*p:0],x=e.get("nameRotate");null!=x&&(x=x*y/180),T(s)?i=w(t.rotation,null!=x?x:t.rotation,c):(i=function(t,e,n,i){var r,o,a=f(n-t.rotation),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;d(a-y/2)?(o=l?"bottom":"top",r="center"):d(a-1.5*y)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*y&&a>y/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t,s,x||0,g),null!=(o=t.axisNameAvailableWidth)&&(o=Math.abs(o/Math.sin(i.rotation)),!isFinite(o)&&(o=null)));var _=h.getFont(),M=e.get("nameTruncate",!0)||{},C=M.ellipsis,I=r(t.nameTruncateMaxWidth,M.maxWidth,o),A=null!=C&&null!=I?l.truncateText(n,I,_,C,{minChar:2,placeholder:M.placeholder}):n,D=e.get("tooltip",!0),k=e.mainType,L={componentType:k,name:n,$vars:["name"]};L[k+"Index"]=e.componentIndex;var O=new u.Text({anid:"name",__fullText:n,__truncatedText:A,position:v,rotation:i.rotation,silent:S(e),z2:1,tooltip:D&&D.show?a({content:n,formatter:function(){return n},formatterParams:L},D):null});u.setTextStyle(O.style,h,{text:A,textFont:_,textFill:h.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:h.get("align")||i.textAlign,textVerticalAlign:h.get("verticalAlign")||i.textVerticalAlign}),e.get("triggerEvent")&&(O.eventData=b(e),O.eventData.targetType="axisName",O.eventData.name=n),this._dumbGroup.add(O),O.updateTransform(),this.group.add(O),O.decomposeTransform()}}},b=x.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},w=x.innerTextLayout=function(t,e,n){var i,r,o=f(e-t);return d(o)?(r=n>0?"top":"bottom",i="center"):d(o-y)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}};var S=x.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function M(t){t&&(t.ignore=!0)}function C(t,e,n){var i=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(i&&r){var o=g.identity([]);return g.rotate(o,o,-t.rotation),i.applyTransform(g.mul([],o,t.getLocalTransform())),r.applyTransform(g.mul([],o,e.getLocalTransform())),i.intersect(r)}}function T(t){return"middle"===t||"center"===t}function I(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l1||"".split(/.?/).length?function(t,n){var i=c(a(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===t)return[i];if(!r(t))return e.call(i,t,o);for(var s,l,u,h=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,g=new RegExp(t.source,f+"g");(s=d.call(g,i))&&!((l=g.lastIndex)>p&&(h.push(i.slice(p,s.index)),s.length>1&&s.index=o));)g.lastIndex===s.index&&g.lastIndex++;return p===i.length?!u&&g.test("")||h.push(""):h.push(i.slice(p)),h.length>o?h.slice(0,o):h}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var r=a(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,r,n):i.call(c(r),e,n)},function(t,r){var a=o(this),d=c(t),f=n(i,a,d,r,i!==e);if(f.done)return f.value;var p=s(a,RegExp),m=a.unicode,y=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(g?"g":"y"),x=new p(g?"^(?:"+a.source+")":a,y),_=void 0===r?4294967295:r>>>0;if(0===_)return[];if(0===d.length)return null===h(x,d)?[d]:[];for(var b=0,w=0,S=[];w1?arguments[1]:void 0)}})},function(t,e,n){var i=n(7),r=n(8),o=n(67),a=r("species");t.exports=function(t){return o>=51||!i((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){"use strict";var i=n(22),r=n(7),o=n(99),a=n(15),s=n(33),l=n(29),u=n(200),c=n(173),h=n(86),d=n(8),f=n(67),p=d("isConcatSpreadable"),g=f>=51||!r((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),m=h("concat"),v=function(t){if(!a(t))return!1;var e=t[p];return void 0!==e?!!e:o(t)};i({target:"Array",proto:!0,forced:!g||!m},{concat:function(t){var e,n,i,r,o,a=s(this),h=c(a,0),d=0;for(e=-1,i=arguments.length;e9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(h,d++,o)}return h.length=d,h}})},function(t,e){var n=Array.prototype.slice,i=function(t){this._$handlers={},this._$eventProcessor=t};function r(t,e,n,i,r,o){var a=t._$handlers;if("function"==typeof n&&(r=i,i=n,n=null),!i||!e)return t;n=function(t,e){var n=t._$eventProcessor;return null!=e&&n&&n.normalizeQuery&&(e=n.normalizeQuery(e)),e}(t,n),a[e]||(a[e]=[]);for(var s=0;s3&&(r=n.call(r,1));for(var a=e.length,s=0;s4&&(r=n.call(r,1,r.length-1));for(var a=r[r.length-1],s=e.length,l=0;l=0&&(n.splice(i,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof a&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,r=this._children,o=i.indexOf(r,t);return o<0||(r.splice(o,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof a&&t.delChildrenFromStorage(n)),e&&e.refresh()),this},removeAll:function(){var t,e,n=this._children,i=this.__storage;for(e=0;e=0){var r=n.getData().tree.root,o=t.targetNode;if("string"==typeof o&&(o=r.getNodeById(o)),o&&r.contains(o))return{node:o};var a=t.targetNodeId;if(null!=a&&(o=r.getNodeById(a)))return{node:o}}},e.getPathToRoot=r,e.aboveViewRoot=function(t,e){var n=r(t);return i.indexOf(n,e)>=0},e.wrapTreePathInfo=function(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}},function(t,e,n){var i=n(0),r=n(51),o=n(3).linearMap,a=i.each,s=i.isObject,l=function(t){var e=t.mappingMethod,n=t.type,r=this.option=i.clone(t);this.type=n,this.mappingMethod=e,this._normalizeData=x[e];var o=u[n];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._doMap=o._doMap[e],"piecewise"===e?(c(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,i.each(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===e?r.categories?function(t){var e=t.categories,n=t.visual,r=t.categoryMap={};if(a(e,(function(t,e){r[t]=e})),!i.isArray(n)){var o=[];i.isObject(n)?a(n,(function(t,e){var n=r[e];o[null!=n?n:-1]=t})):o[-1]=n,n=y(t,o)}for(var s=e.length-1;s>=0;s--)null==n[s]&&(delete r[e[s]],e.pop())}(r):c(r,!0):(i.assert("linear"!==e||r.dataExtent),c(r))};l.prototype={constructor:l,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return i.bind(this._normalizeData,this)}};var u=l.visualHandlers={color:{applyVisual:f("color"),getColorMapper:function(){var t=this.option;return i.bind("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),p.call(this,t)}:function(e,n,i){var o=!!i;return!n&&(e=this._normalizeData(e)),i=r.fastLerp(e,t.parsedVisual,i),o?i:r.stringify(i,"rgba")},this)},_doMap:{linear:function(t){return r.stringify(r.fastLerp(t,this.option.parsedVisual),"rgba")},category:p,piecewise:function(t,e){var n=v.call(this,e);return null==n&&(n=r.stringify(r.fastLerp(t,this.option.parsedVisual),"rgba")),n},fixed:g}},colorHue:h((function(t,e){return r.modifyHSL(t,e)})),colorSaturation:h((function(t,e){return r.modifyHSL(t,null,e)})),colorLightness:h((function(t,e){return r.modifyHSL(t,null,null,e)})),colorAlpha:h((function(t,e){return r.modifyAlpha(t,e)})),opacity:{applyVisual:f("opacity"),_doMap:m([0,1])},liftZ:{applyVisual:f("liftZ"),_doMap:{linear:g,category:g,piecewise:g,fixed:g}},symbol:{applyVisual:function(t,e,n){var r=this.mapValueToVisual(t);if(i.isString(r))n("symbol",r);else if(s(r))for(var o in r)r.hasOwnProperty(o)&&n(o,r[o])},_doMap:{linear:d,category:p,piecewise:function(t,e){var n=v.call(this,e);return null==n&&(n=d.call(this,t)),n},fixed:g}},symbolSize:{applyVisual:f("symbolSize"),_doMap:m([0,1])}};function c(t,e){var n=t.visual,r=[];i.isObject(n)?a(n,(function(t){r.push(t)})):null!=n&&r.push(n);e||1!==r.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(r[1]=r[0]),y(t,r)}function h(t){return{applyVisual:function(e,n,i){e=this.mapValueToVisual(e),i("color",t(n("color"),e))},_doMap:m([0,1])}}function d(t){var e=this.option.visual;return e[Math.round(o(t,[0,1],[0,e.length-1],!0))]||{}}function f(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function p(t){var e=this.option.visual;return e[this.option.loop&&-1!==t?t%e.length:t]}function g(){return this.option.visual[0]}function m(t){return{linear:function(e){return o(e,t,this.option.visual,!0)},category:p,piecewise:function(e,n){var i=v.call(this,n);return null==i&&(i=o(e,t,this.option.visual,!0)),i},fixed:g}}function v(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=n[l.findPieceIndex(t,n)];if(i&&i.visual)return i.visual[this.type]}}function y(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=i.map(e,(function(t){return r.parse(t)}))),e}var x={linear:function(t){return o(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=l.findPieceIndex(t,e,!0);if(null!=n)return o(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?-1:e},fixed:i.noop};function _(t,e,n){return t?e<=n:e=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){t.exports=n(224)},function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=71)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},13:function(t,e){t.exports=n(123)},2:function(t,e){t.exports=n(59)},41:function(t,e){t.exports=n(297)},7:function(t,e){t.exports=n(4)},71:function(t,e,n){"use strict";n.r(e);var i=n(7),r=n.n(i),o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-loading-fade"},on:{"after-leave":t.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-loading-mask",class:[t.customClass,{"is-fullscreen":t.fullscreen}],style:{backgroundColor:t.background||""}},[n("div",{staticClass:"el-loading-spinner"},[t.spinner?n("i",{class:t.spinner}):n("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[n("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})]),t.text?n("p",{staticClass:"el-loading-text"},[t._v(t._s(t.text))]):t._e()])])])};o._withStripped=!0;var a={data:function(){return{text:null,spinner:null,background:null,fullscreen:!0,visible:!1,customClass:""}},methods:{handleAfterLeave:function(){this.$emit("after-leave")},setText:function(t){this.text=t}}},s=n(0),l=Object(s.a)(a,o,[],!1,null,null,null);l.options.__file="packages/loading/src/loading.vue";var u=l.exports,c=n(2),h=n(13),d=n(41),f=n.n(d),p=r.a.extend(u),g={install:function(t){if(!t.prototype.$isServer){var e=function(e,i){i.value?t.nextTick((function(){i.modifiers.fullscreen?(e.originalPosition=Object(c.getStyle)(document.body,"position"),e.originalOverflow=Object(c.getStyle)(document.body,"overflow"),e.maskStyle.zIndex=h.PopupManager.nextZIndex(),Object(c.addClass)(e.mask,"is-fullscreen"),n(document.body,e,i)):(Object(c.removeClass)(e.mask,"is-fullscreen"),i.modifiers.body?(e.originalPosition=Object(c.getStyle)(document.body,"position"),["top","left"].forEach((function(t){var n="top"===t?"scrollTop":"scrollLeft";e.maskStyle[t]=e.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]-parseInt(Object(c.getStyle)(document.body,"margin-"+t),10)+"px"})),["height","width"].forEach((function(t){e.maskStyle[t]=e.getBoundingClientRect()[t]+"px"})),n(document.body,e,i)):(e.originalPosition=Object(c.getStyle)(e,"position"),n(e,e,i)))})):(f()(e.instance,(function(t){if(e.instance.hiding){e.domVisible=!1;var n=i.modifiers.fullscreen||i.modifiers.body?document.body:e;Object(c.removeClass)(n,"el-loading-parent--relative"),Object(c.removeClass)(n,"el-loading-parent--hidden"),e.instance.hiding=!1}}),300,!0),e.instance.visible=!1,e.instance.hiding=!0)},n=function(e,n,i){n.domVisible||"none"===Object(c.getStyle)(n,"display")||"hidden"===Object(c.getStyle)(n,"visibility")?n.domVisible&&!0===n.instance.hiding&&(n.instance.visible=!0,n.instance.hiding=!1):(Object.keys(n.maskStyle).forEach((function(t){n.mask.style[t]=n.maskStyle[t]})),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&Object(c.addClass)(e,"el-loading-parent--relative"),i.modifiers.fullscreen&&i.modifiers.lock&&Object(c.addClass)(e,"el-loading-parent--hidden"),n.domVisible=!0,e.appendChild(n.mask),t.nextTick((function(){n.instance.hiding?n.instance.$emit("after-leave"):n.instance.visible=!0})),n.domInserted=!0)};t.directive("loading",{bind:function(t,n,i){var r=t.getAttribute("element-loading-text"),o=t.getAttribute("element-loading-spinner"),a=t.getAttribute("element-loading-background"),s=t.getAttribute("element-loading-custom-class"),l=i.context,u=new p({el:document.createElement("div"),data:{text:l&&l[r]||r,spinner:l&&l[o]||o,background:l&&l[a]||a,customClass:l&&l[s]||s,fullscreen:!!n.modifiers.fullscreen}});t.instance=u,t.mask=u.$el,t.maskStyle={},n.value&&e(t,n)},update:function(t,n){t.instance.setText(t.getAttribute("element-loading-text")),n.oldValue!==n.value&&e(t,n)},unbind:function(t,n){t.domInserted&&(t.mask&&t.mask.parentNode&&t.mask.parentNode.removeChild(t.mask),e(t,{value:!1,modifiers:n.modifiers})),t.instance&&t.instance.$destroy()}})}}},m=g,v=n(9),y=n.n(v),x=r.a.extend(u),_={text:null,fullscreen:!0,body:!1,lock:!1,customClass:""},b=void 0;x.prototype.originalPosition="",x.prototype.originalOverflow="",x.prototype.close=function(){var t=this;this.fullscreen&&(b=void 0),f()(this,(function(e){var n=t.fullscreen||t.body?document.body:t.target;Object(c.removeClass)(n,"el-loading-parent--relative"),Object(c.removeClass)(n,"el-loading-parent--hidden"),t.$el&&t.$el.parentNode&&t.$el.parentNode.removeChild(t.$el),t.$destroy()}),300),this.visible=!1};var w=function(t,e,n){var i={};t.fullscreen?(n.originalPosition=Object(c.getStyle)(document.body,"position"),n.originalOverflow=Object(c.getStyle)(document.body,"overflow"),i.zIndex=h.PopupManager.nextZIndex()):t.body?(n.originalPosition=Object(c.getStyle)(document.body,"position"),["top","left"].forEach((function(e){var n="top"===e?"scrollTop":"scrollLeft";i[e]=t.target.getBoundingClientRect()[e]+document.body[n]+document.documentElement[n]+"px"})),["height","width"].forEach((function(e){i[e]=t.target.getBoundingClientRect()[e]+"px"}))):n.originalPosition=Object(c.getStyle)(e,"position"),Object.keys(i).forEach((function(t){n.$el.style[t]=i[t]}))},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!r.a.prototype.$isServer){if("string"==typeof(t=y()({},_,t)).target&&(t.target=document.querySelector(t.target)),t.target=t.target||document.body,t.target!==document.body?t.fullscreen=!1:t.body=!0,t.fullscreen&&b)return b;var e=t.body?document.body:t.target,n=new x({el:document.createElement("div"),data:t});return w(t,e,n),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&Object(c.addClass)(e,"el-loading-parent--relative"),t.fullscreen&&t.lock&&Object(c.addClass)(e,"el-loading-parent--hidden"),e.appendChild(n.$el),r.a.nextTick((function(){n.visible=!0})),t.fullscreen&&(b=n),n}};e.default={install:function(t){t.use(m),t.prototype.$loading=S},directive:m,service:S}},9:function(t,e){t.exports=n(145)}})},function(t,e,n){var i=n(7),r=n(35),o="".split;t.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o.call(t,""):Object(t)}:Object},function(t,e,n){var i=n(83),r=n(31),o=n(221);i||r(Object.prototype,"toString",o,{unsafe:!0})},function(t,e,n){var i=n(23).f,r=n(17),o=n(8)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(149),r=n(16),o=n(0),a=n(246);function s(t){i.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var n=this.style,i=n.image;n.bind(t,this,e);var r=this._image=a.createOrUpdateImage(i,this._image,this,this.onload);if(r&&a.isImageReady(r)){var o=n.x||0,s=n.y||0,l=n.width,u=n.height,c=r.width/r.height;if(null==l&&null!=u?l=u*c:null==u&&null!=l?u=l/c:null==l&&null==u&&(l=r.width,u=r.height),this.setTransform(t),n.sWidth&&n.sHeight){var h=n.sx||0,d=n.sy||0;t.drawImage(r,h,d,n.sWidth,n.sHeight,o,s,l,u)}else if(n.sx&&n.sy){var f=l-(h=n.sx),p=u-(d=n.sy);t.drawImage(r,h,d,f,p,o,s,l,u)}else t.drawImage(r,o,s,l,u);null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new r(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},o.inherits(s,i);var l=s;t.exports=l},function(t,e,n){var i=n(0);t.exports=function(t){for(var e=0;e=0||r&&i.indexOf(r,s)<0)){var l=e.getShallow(s);null!=l&&(o[t[a][0]]=l)}}return o}}},function(t,e,n){var i=n(72),r=n(14),o=n(150),a=n(16),s=n(182).devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],c=[],h=[],d=[],f=Math.min,p=Math.max,g=Math.cos,m=Math.sin,v=Math.sqrt,y=Math.abs,x="undefined"!=typeof Float32Array,_=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};_.prototype={constructor:_,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,n){n=n||0,this._ux=y(n/s/t)||0,this._uy=y(n/s/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(l.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=y(t-this._xi)>this._ux||y(e-this._yi)>this._uy||this._len<5;return this.addData(l.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,r,o){return this.addData(l.C,t,e,n,i,r,o),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,r,o):this._ctx.bezierCurveTo(t,e,n,i,r,o)),this._xi=r,this._yi=o,this},quadraticCurveTo:function(t,e,n,i){return this.addData(l.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,r,o){return this.addData(l.A,t,e,n,n,i,r-i,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=g(r)*n+t,this._yi=m(r)*n+e,this},arcTo:function(t,e,n,i,r){return this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(l.R,t,e,n,i),this},closePath:function(){this.addData(l.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;ne.length&&(this._expandData(),e=this.data);for(var n=0;n0&&g<=t||c<0&&g>=t||0===c&&(h>0&&m<=e||h<0&&m>=e);)g+=c*(n=a[i=this._dashIdx]),m+=h*n,this._dashIdx=(i+1)%y,c>0&&gl||h>0&&mu||s[i%2?"moveTo":"lineTo"](c>=0?f(g,t):p(g,t),h>=0?f(m,e):p(m,e));c=g-t,h=m-e,this._dashOffset=-v(c*c+h*h)},_dashedBezierTo:function(t,e,n,r,o,a){var s,l,u,c,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,m=this._xi,y=this._yi,x=i.cubicAt,_=0,b=this._dashIdx,w=p.length,S=0;for(f<0&&(f=d+f),f%=d,s=0;s<1;s+=.1)l=x(m,t,n,o,s+.1)-x(m,t,n,o,s),u=x(y,e,r,a,s+.1)-x(y,e,r,a,s),_+=v(l*l+u*u);for(;bf);b++);for(s=(S-f)/_;s<=1;)c=x(m,t,n,o,s),h=x(y,e,r,a,s),b%2?g.moveTo(c,h):g.lineTo(c,h),s+=p[b]/_,b=(b+1)%w;b%2!=0&&g.lineTo(o,a),l=o-c,u=a-h,this._dashOffset=-v(l*l+u*u)},_dashedQuadraticTo:function(t,e,n,i){var r=n,o=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,r,o)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,x&&(this.data=new Float32Array(t)))},getBoundingRect:function(){u[0]=u[1]=h[0]=h[1]=Number.MAX_VALUE,c[0]=c[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,i=0,s=0,f=0;fu||y(a-r)>c||d===h-1)&&(t.lineTo(o,a),i=o,r=a);break;case l.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),i=s[d-2],r=s[d-1];break;case l.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),i=s[d-2],r=s[d-1];break;case l.A:var p=s[d++],v=s[d++],x=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],C=x>_?x:_,T=x>_?1:x/_,I=x>_?_/x:1,A=b+w;Math.abs(x-_)>.001?(t.translate(p,v),t.rotate(S),t.scale(T,I),t.arc(0,0,C,b,A,1-M),t.scale(1/T,1/I),t.rotate(-S),t.translate(-p,-v)):t.arc(p,v,C,b,A,1-M),1===d&&(e=g(b)*x+p,n=m(b)*_+v),i=g(A)*x+p,r=m(A)*_+v;break;case l.R:e=i=s[d],n=r=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case l.Z:t.closePath(),i=e,r=n}}}},_.CMD=l;var b=_;t.exports=b},function(t,e,n){var i=n(5).makeInner;t.exports=function(){var t=i();return function(e){var n=t(e),i=e.pipelineContext,r=n.large,o=n.progressiveRender,a=n.large=i&&i.large,s=n.progressiveRender=i&&i.progressiveRender;return!!(r^a||o^s)&&"reset"}}},function(t,e,n){var i=n(335);t.exports=function(t,e){return i((e=e||{}).coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,encodeDefaulter:e.encodeDefaulter,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}},function(t,e,n){var i=n(0),r={getMin:function(t){var e=this.option,n=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&"function"!=typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(t){var e=this.option,n=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&"function"!=typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:i.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};t.exports=r},function(t,e,n){var i=n(1);n(497),n(498);var r=n(93),o=n(158),a=n(500);n(159),i.registerVisual(r("line","circle","line")),i.registerLayout(o("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,a("line"))},function(t,e,n){var i=n(110),r=n(40),o=n(0),a=o.extend,s=o.isArray;t.exports=function(t,e,n){e=s(e)&&{coordDimensions:e}||a({},e);var o=t.getSource(),l=i(o,e),u=new r(l,t);return u.initData(o,n),u}},function(t,e){function n(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function i(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}t.exports=function(t,e,r,o,a,s){t=t||0;var l=r[1]-r[0];if(null!=a&&(a=i(a,[0,l])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===o){var u=Math.abs(e[1]-e[0]);u=i(u,[0,l]),a=s=i(u,[a,s]),o=0}e[0]=i(e[0],r),e[1]=i(e[1],r);var c=n(e,o);e[o]+=t;var h=a||0,d=r.slice();c.sign<0?d[0]+=h:d[1]-=h,e[o]=i(e[o],d);var f=n(e,o);return null!=a&&(f.sign!==c.sign||f.spans&&(e[1-o]=e[o]+f.sign*s),e}},function(t,e,n){n(9).__DEV__;var i=n(1),r=n(0),o=n(20),a=n(5),s=n(269),l=n(683),u=r.each,c=s.eachAxisDim;function h(t){var e={};return u(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}function d(t,e){var n=t._rangePropMode,i=t.get("rangeMode");u([["start","startValue"],["end","endValue"]],(function(t,r){var o=null!=e[t[0]],a=null!=e[t[1]];o&&!a?n[r]="percent":!o&&a?n[r]="value":i?n[r]=i[r]:o&&(n[r]="percent")}))}var f=i.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,e,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=h(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this.doInit(i)},mergeOption:function(t){var e=h(t);r.merge(this.option,t,!0),r.merge(this.settledOption,e,!0),this.doInit(e)},doInit:function(t){var e=this.option;o.canvasSupported||(e.realtime=!1),this._setDefaultThrottle(t),d(this,t);var n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis((function(e,n,i,r){var o=this.dependentModels[e.axis][n],a=o.__dzAxisProxy||(o.__dzAxisProxy=new l(e.name,n,this,r));t[e.name+"_"+n]=a}),this)},_resetTarget:function(){var t=this.option,e=this._judgeAutoMode();c((function(e){var n=e.axisIndex;t[n]=a.normalizeToArray(t[n])}),this),"axisIndex"===e?this._autoSetAxisIndex():"orient"===e&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,e=!1;c((function(n){null!=t[n.axisIndex]&&(e=!0)}),this);var n=t.orient;return null==n&&e?"orient":e?void 0:(null==n&&(t.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var t=!0,e=this.get("orient",!0),n=this.option,i=this.dependentModels;if(t){var o="vertical"===e?"y":"x";i[o+"Axis"].length?(n[o+"AxisIndex"]=[0],t=!1):u(i.singleAxis,(function(i){t&&i.get("orient",!0)===e&&(n.singleAxisIndex=[i.componentIndex],t=!1)}))}t&&c((function(e){if(t){var i=[],r=this.dependentModels[e.axis];if(r.length&&!i.length)for(var o=0,a=r.length;o0?100:20}},getFirstTargetAxisModel:function(){var t;return c((function(e){if(null==t){var n=this.get(e.axisIndex);n.length&&(t=this.dependentModels[e.axis][n[0]])}}),this),t},eachTargetAxis:function(t,e){var n=this.ecModel;c((function(i){u(this.get(i.axisIndex),(function(r){t.call(e,i,r,this,n)}),this)}),this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var n=this.getAxisProxy(t,e);return n&&n.getAxisModel()},setRawRange:function(t){var e=this.option,n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),d(this,t)},setCalculatedRange:function(t){var e=this.option;u(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var n in e)if(e.hasOwnProperty(n)&&e[n].hostedBy(this))return e[n];for(var n in e)if(e.hasOwnProperty(n)&&!e[n].hostedBy(this))return e[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});t.exports=f},function(t,e,n){var i=n(186).extend({type:"dataZoom",render:function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},getTargetCoordInfo:function(){var t=this.dataZoomModel,e=this.ecModel,n={};return t.eachTargetAxis((function(t,i){var r=e.getComponent(t.axis,i);if(r){var o=r.getCoordSysModel();o&&function(t,e,n,i){for(var r,o=0;o0?this._openTimer=setTimeout((function(){e._openTimer=null,e.doOpen(n)}),i):this.doOpen(n)},doOpen:function(t){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var e=this.$el,n=t.modal,i=t.zIndex;if(i&&(o.default.zIndex=i),n&&(this._closing&&(o.default.closeModal(this._popupId),this._closing=!1),o.default.openModal(this._popupId,o.default.nextZIndex(),this.modalAppendToBody?void 0:e,t.modalClass,t.modalFade),t.lockScroll)){this.withoutHiddenClass=!(0,s.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,s.getStyle)(document.body,"paddingRight"),10)),c=(0,a.default)();var r=document.documentElement.clientHeight0&&(r||"scroll"===l)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+c+"px"),(0,s.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(e).position&&(e.style.position="absolute"),e.style.zIndex=o.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var t=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var e=Number(this.closeDelay);e>0?this._closeTimer=setTimeout((function(){t._closeTimer=null,t.doClose()}),e):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){o.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,s.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},e.PopupManager=o.default},function(t,e,n){var i=n(18),r=n(301);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,o){return i(n),r(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},function(t,e,n){var i=n(98);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var i=n(27),r=n(7),o=n(118);t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var i=n(17),r=n(34),o=n(128).indexOf,a=n(65);t.exports=function(t,e){var n,s=r(t),l=0,u=[];for(n in s)!i(a,n)&&i(s,n)&&u.push(n);for(;e.length>l;)i(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){var i=n(34),r=n(29),o=n(120),a=function(t){return function(e,n,a){var s,l=i(e),u=r(l.length),c=o(a,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,n){var i=n(7),r=/#|\.prototype\./,o=function(t,e){var n=s[a(t)];return n==u||n!=l&&("function"==typeof e?i(e):!!e)},a=o.normalize=function(t){return String(t).replace(r,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";t.exports=o},function(t,e,n){var i=n(7),r=function(t,e){return RegExp(t,e)};e.UNSUPPORTED_Y=i((function(){var t=r("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=i((function(){var t=r("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,e,n){"use strict";n(55);var i=n(31),r=n(57),o=n(7),a=n(8),s=n(28),l=a("species"),u=RegExp.prototype;t.exports=function(t,e,n,c){var h=a(t),d=!o((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),f=d&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!d||!f||n){var p=/./[h],g=e(h,""[t],(function(t,e,n,i,o){var a=e.exec;return a===r||a===u.exec?d&&!o?{done:!0,value:p.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}}));i(String.prototype,t,g[0]),i(u,h,g[1])}c&&s(u[h],"sham",!0)}},function(t,e,n){var i=n(35),r=n(57);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(t))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},function(t,e,n){var i=n(36),r=n(26),o="["+n(122)+"]",a=RegExp("^"+o+o+"*"),s=RegExp(o+o+"*$"),l=function(t){return function(e){var n=r(i(e));return 1&t&&(n=n.replace(a,"")),2&t&&(n=n.replace(s,"")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},function(t,e,n){var i=n(70);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var i=n(7);t.exports=function(t,e){var n=[][t];return!!n&&i((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i=200&&t<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){l.headers[t]=i.merge(o)})),t.exports=l}).call(this,n(174))},function(t,e,n){"use strict";var i=n(12),r=n(230),o=n(137),a=n(232),s=n(235),l=n(236),u=n(141);t.exports=function(t){return new Promise((function(e,c){var h=t.data,d=t.headers;i.isFormData(h)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",g=t.auth.password||"";d.Authorization="Basic "+btoa(p+":"+g)}var m=a(t.baseURL,t.url);if(f.open(t.method.toUpperCase(),o(m,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?s(f.getAllResponseHeaders()):null,i={data:t.responseType&&"text"!==t.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:t,request:f};r(e,c,i),f=null}},f.onabort=function(){f&&(c(u("Request aborted",t,"ECONNABORTED",f)),f=null)},f.onerror=function(){c(u("Network Error",t,null,f)),f=null},f.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),c(u(e,t,"ECONNABORTED",f)),f=null},i.isStandardBrowserEnv()){var v=n(237),y=(t.withCredentials||l(m))&&t.xsrfCookieName?v.read(t.xsrfCookieName):void 0;y&&(d[t.xsrfHeaderName]=y)}if("setRequestHeader"in f&&i.forEach(d,(function(t,e){void 0===h&&"content-type"===e.toLowerCase()?delete d[e]:f.setRequestHeader(e,t)})),i.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),t.responseType)try{f.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){f&&(f.abort(),c(t),f=null)})),void 0===h&&(h=null),f.send(h)}))}},function(t,e,n){"use strict";var i=n(231);t.exports=function(t,e,n,r,o){var a=new Error(t);return i(a,e,n,r,o)}},function(t,e,n){"use strict";var i=n(12);t.exports=function(t,e){e=e||{};var n={},r=["url","method","params","data"],o=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];i.forEach(r,(function(t){void 0!==e[t]&&(n[t]=e[t])})),i.forEach(o,(function(r){i.isObject(e[r])?n[r]=i.deepMerge(t[r],e[r]):void 0!==e[r]?n[r]=e[r]:i.isObject(t[r])?n[r]=i.deepMerge(t[r]):void 0!==t[r]&&(n[r]=t[r])})),i.forEach(a,(function(i){void 0!==e[i]?n[i]=e[i]:void 0!==t[i]&&(n[i]=t[i])}));var s=r.concat(o).concat(a),l=Object.keys(e).filter((function(t){return-1===s.indexOf(t)}));return i.forEach(l,(function(i){void 0!==e[i]?n[i]=e[i]:void 0!==t[i]&&(n[i]=t[i])})),n}},function(t,e,n){"use strict";function i(t){this.message=t}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,t.exports=i},function(t,e,n){"use strict";e.__esModule=!0;n(58);e.default={mounted:function(){},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t){for(var e=1,n=arguments.length;e1?arguments[1]:void 0)}})},function(t,e,n){var i=n(17),r=n(33),o=n(69),a=n(282),s=o("IE_PROTO"),l=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=r(t),i(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},function(t,e,n){var i=function(){};1===n(182).debugMode&&(i=console.error);var r=i;t.exports=r},function(t,e,n){var i=n(0),r=n(245),o=n(309),a=n(315);function s(t){for(var e in t=t||{},o.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new r(t.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?o.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new r(t,this),this.dirty(!1),this},calculateTextPosition:null},i.inherits(s,o),i.mixin(s,a);var l=s;t.exports=l},function(t,e,n){var i=n(14),r=n(72),o=Math.min,a=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,c=i.create(),h=i.create(),d=i.create();var f=[],p=[];e.fromPoints=function(t,e,n){if(0!==t.length){var i,r=t[0],s=r[0],l=r[0],u=r[1],c=r[1];for(i=1;i1e-4)return p[0]=t-n,p[1]=e-r,g[0]=t+n,void(g[1]=e+r);if(c[0]=l(o)*n+t,c[1]=s(o)*r+e,h[0]=l(a)*n+t,h[1]=s(a)*r+e,m(p,c,h),v(g,c,h),(o%=u)<0&&(o+=u),(a%=u)<0&&(a+=u),o>a&&!f?a+=u:oo&&(d[0]=l(_)*n+t,d[1]=s(_)*r+e,m(p,d,p),v(g,d,g))}},function(t,e,n){var i=n(0),r=n(60).parseClassType,o=0;e.getUID=function(t){return[t||"",o++,Math.random().toFixed(5)].join("_")},e.enableSubTypeDefaulter=function(t){var e={};return t.registerSubTypeDefaulter=function(t,n){t=r(t),e[t.main]=n},t.determineSubType=function(n,i){var o=i.type;if(!o){var a=r(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](i))}return o},t},e.enableTopologicalTravel=function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,r,o,a){if(t.length){var s=function(t){var r={},o=[];return i.each(t,(function(a){var s=n(r,a),l=function(t,e){var n=[];return i.each(t,(function(t){i.indexOf(e,t)>=0&&n.push(t)})),n}(s.originalDeps=e(a),t);s.entryCount=l.length,0===s.entryCount&&o.push(a),i.each(l,(function(t){i.indexOf(s.predecessor,t)<0&&s.predecessor.push(t);var e=n(r,t);i.indexOf(e.successor,t)<0&&e.successor.push(a)}))})),{graph:r,noEntryList:o}}(r),l=s.graph,u=s.noEntryList,c={};for(i.each(t,(function(t){c[t]=!0}));u.length;){var h=u.pop(),d=l[h],f=!!c[h];f&&(o.call(a,h,d.originalDeps.slice()),delete c[h]),i.each(d.successor,f?g:p)}i.each(c,(function(){throw new Error("Circle dependency may exists")}))}function p(t){l[t].entryCount--,0===l[t].entryCount&&u.push(t)}function g(t){c[t]=!0,p(t)}}}},function(t,e,n){var i=n(0),r=i.createHashMap,o=i.isTypedArray,a=n(60).enableClassCheck,s=n(153),l=s.SOURCE_FORMAT_ORIGINAL,u=s.SERIES_LAYOUT_BY_COLUMN,c=s.SOURCE_FORMAT_UNKNOWN,h=s.SOURCE_FORMAT_TYPED_ARRAY,d=s.SOURCE_FORMAT_KEYED_COLUMNS;function f(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===d?{}:[]),this.sourceFormat=t.sourceFormat||c,this.seriesLayoutBy=t.seriesLayoutBy||u,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&r(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}f.seriesDataToSource=function(t){return new f({data:t,sourceFormat:o(t)?h:l,fromDataset:!1})},a(f);var p=f;t.exports=p},function(t,e){e.SOURCE_FORMAT_ORIGINAL="original",e.SOURCE_FORMAT_ARRAY_ROWS="arrayRows",e.SOURCE_FORMAT_OBJECT_ROWS="objectRows",e.SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",e.SOURCE_FORMAT_UNKNOWN="unknown",e.SOURCE_FORMAT_TYPED_ARRAY="typedArray",e.SERIES_LAYOUT_BY_COLUMN="column",e.SERIES_LAYOUT_BY_ROW="row"},function(t,e,n){var i=n(0),r=i.each,o=i.createHashMap,a=(i.assert,n(9).__DEV__,o(["tooltip","label","itemName","itemId","seriesName"]));function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}e.OTHER_DIMENSIONS=a,e.summarizeDimensions=function(t){var e={},n=e.encode={},i=o(),l=[],u=[],c=e.userOutput={dimensionNames:t.dimensions.slice(),encode:{}};r(t.dimensions,(function(e){var r,o=t.getDimensionInfo(e),h=o.coordDim;if(h){var d=o.coordDimIndex;s(n,h)[d]=e,o.isExtraCoord||(i.set(h,1),"ordinal"!==(r=o.type)&&"time"!==r&&(l[0]=e),s(c.encode,h)[d]=o.index),o.defaultTooltip&&u.push(e)}a.each((function(t,e){var i=s(n,e),r=o.otherDims[e];null!=r&&!1!==r&&(i[r]=o.name)}))}));var h=[],d={};i.each((function(t,e){var i=n[e];d[e]=i[0],h=h.concat(i)})),e.dataDimsOnCoord=h,e.encodeFirstDimNotExtra=d;var f=n.label;f&&f.length&&(l=f.slice());var p=n.tooltip;return p&&p.length?u=p.slice():u.length||(u=l.slice()),n.defaultedLabel=l,n.defaultedTooltip=u,e},e.getDimensionTypeByAxis=function(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},function(t,e,n){"use strict";var i,r;n(201),n(204),n(104),n(205),n(100),n(208),n(209);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}i=void 0,r=function(t,e){var n;if(!e)return n="ECharts is not Loaded",void("undefined"!=typeof console&&console&&console.error&&console.error(n));e.registerTheme("customed",{color:["#409eff","#c23531","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],backgroundColor:"rgba(0, 0, 0, 0)",textStyle:{},title:{textStyle:{color:"#333"},subtextStyle:{color:"#aaa"}},line:{itemStyle:{normal:{borderWidth:1}},lineStyle:{normal:{width:"1"}},symbolSize:"1",symbol:"circle",smooth:!1},radar:{itemStyle:{normal:{borderWidth:1}},lineStyle:{normal:{width:"1"}},symbolSize:"1",symbol:"circle",smooth:!1},bar:{itemStyle:{normal:{barBorderWidth:0,barBorderColor:"#ccc"},emphasis:{barBorderWidth:0,barBorderColor:"#ccc"}}},pie:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"},emphasis:{borderWidth:0,borderColor:"#ccc"}}},scatter:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"},emphasis:{borderWidth:0,borderColor:"#ccc"}}},boxplot:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"},emphasis:{borderWidth:0,borderColor:"#ccc"}}},parallel:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"},emphasis:{borderWidth:0,borderColor:"#ccc"}}},sankey:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"},emphasis:{borderWidth:0,borderColor:"#ccc"}}},funnel:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"},emphasis:{borderWidth:0,borderColor:"#ccc"}}},gauge:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"},emphasis:{borderWidth:0,borderColor:"#ccc"}}},candlestick:{itemStyle:{normal:{color:"#c23531",color0:"#314656",borderColor:"#c23531",borderColor0:"#314656",borderWidth:1}}},graph:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"}},lineStyle:{normal:{width:1,color:"#aaa"}},symbolSize:"1",symbol:"circle",smooth:!1,color:["#409eff","#c23531","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],label:{normal:{textStyle:{color:"#eee"}}}},map:{itemStyle:{normal:{areaColor:"#eee",borderColor:"#444",borderWidth:.5},emphasis:{areaColor:"rgba(255,215,0,0.8)",borderColor:"#444",borderWidth:1}},label:{normal:{textStyle:{color:"#000"}},emphasis:{textStyle:{color:"rgb(100,0,0)"}}}},geo:{itemStyle:{normal:{areaColor:"#eee",borderColor:"#444",borderWidth:.5},emphasis:{areaColor:"rgba(255,215,0,0.8)",borderColor:"#444",borderWidth:1}},label:{normal:{textStyle:{color:"#000"}},emphasis:{textStyle:{color:"rgb(100,0,0)"}}}},categoryAxis:{axisLine:{show:!0,lineStyle:{color:"#333"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,textStyle:{color:"#333"}},splitLine:{show:!1,lineStyle:{color:["#ccc","#333333"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},valueAxis:{axisLine:{show:!0,lineStyle:{color:"#333"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,textStyle:{color:"#333"}},splitLine:{show:!1,lineStyle:{color:["#ccc","#333333"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},logAxis:{axisLine:{show:!0,lineStyle:{color:"#333"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,textStyle:{color:"#333"}},splitLine:{show:!1,lineStyle:{color:["#ccc","#333333"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},timeAxis:{axisLine:{show:!0,lineStyle:{color:"#333"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,textStyle:{color:"#333"}},splitLine:{show:!1,lineStyle:{color:["#ccc","#333333"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},toolbox:{iconStyle:{normal:{borderColor:"#999"},emphasis:{borderColor:"#666"}}},legend:{textStyle:{color:"#333"}},tooltip:{axisPointer:{lineStyle:{color:"#ccc",width:1},crossStyle:{color:"#ccc",width:1}}},timeline:{lineStyle:{color:"#293c55",width:1},itemStyle:{normal:{color:"#293c55",borderWidth:1},emphasis:{color:"#a9334c"}},controlStyle:{normal:{color:"#293c55",borderColor:"#293c55",borderWidth:.5},emphasis:{color:"#293c55",borderColor:"#293c55",borderWidth:.5}},checkpointStyle:{color:"#e43c59",borderColor:"rgba(194,53,49, 0.5)"},label:{normal:{textStyle:{color:"#293c55"}},emphasis:{textStyle:{color:"#293c55"}}}},visualMap:{color:["#bf444c","#d88273","#f6efa6"]},dataZoom:{backgroundColor:"rgba(47,69,84,0)",dataBackgroundColor:"rgba(47,69,84,0.3)",fillerColor:"rgba(167,183,204,0.4)",handleColor:"#a7b7cc",handleSize:"100%",textStyle:{color:"#333"}},markPoint:{label:{normal:{textStyle:{color:"#eee"}},emphasis:{textStyle:{color:"#eee"}}}}})},"function"==typeof define&&n(342)?define(["exports","echarts"],r):"object"===("undefined"==typeof exports?"undefined":o(exports))&&"string"!=typeof exports.nodeName?r(exports,n(343)):r(0,i.echarts)},function(t,e,n){var i=n(2),r=n(190),o=n(0).isObject;function a(t){this.group=new i.Group,this._symbolCtor=t||r}var s=a.prototype;function l(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function u(t){return null==t||o(t)||(t={isIgnore:t}),t||{}}function c(t){var e=t.hostModel;return{itemStyle:e.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:e.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label"),cursorStyle:e.get("cursor")}}s.updateData=function(t,e){e=u(e);var n=this.group,r=t.hostModel,o=this._data,a=this._symbolCtor,s=c(t);o||n.removeAll(),t.diff(o).add((function(i){var r=t.getItemLayout(i);if(l(t,r,i,e)){var o=new a(t,i,s);o.attr("position",r),t.setItemGraphicEl(i,o),n.add(o)}})).update((function(u,c){var h=o.getItemGraphicEl(c),d=t.getItemLayout(u);l(t,d,u,e)?(h?(h.updateData(t,u,s),i.updateProps(h,{position:d},r)):(h=new a(t,u)).attr("position",d),n.add(h),t.setItemGraphicEl(u,h)):n.remove(h)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}))})).execute(),this._data=t},s.isPersistent=function(){return!0},s.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl((function(e,n){var i=t.getItemLayout(n);e.attr("position",i)}))},s.incrementalPrepareUpdate=function(t){this._seriesScope=c(t),this._data=null,this.group.removeAll()},s.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}n=u(n);for(var r=t.start;r=0},this.indexOfName=function(e){return t().indexOfName(e)},this.getItemVisual=function(e,n){return t().getItemVisual(e,n)}};t.exports=n},function(t,e){t.exports=function(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf((function(t){for(var e=i.getName(t),r=0;r3?1.4:r>1?1.2:1.1;f(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a})}if(n){var l=Math.abs(i);f(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a})}}}function d(t){a.isTaken(this._zr,"globalPan")||f(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY})}function f(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(o.stop(i.event),p(t,e,n,i,r))}function p(t,e,n,r,o){o.isAvailableBehavior=i.bind(g,null,n,r),t.trigger(e,o)}function g(t,e,n){var r=n[t];return!t||r&&(!i.isString(r)||e.event[r+"Key"])}i.mixin(s,r);var m=s;t.exports=m},function(t,e,n){var i=n(1),r=n(0),o=n(192),a=n(634);n(635),n(636),n(373),i.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!r.isArray(e)&&(t.axisPointer.link=[e])}})),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=o.collect(t,e)})),i.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},a)},function(t,e,n){"use strict";var i,r;n(201),n(204),n(104),n(205),n(100),n(208),n(209);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}i=void 0,r=function(t,e){var n;if(!e)return n="ECharts is not Loaded",void("undefined"!=typeof console&&console&&console.error&&console.error(n));e.registerTheme("dark",{color:["#409eff","#c23531","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],backgroundColor:" #373737",textStyle:{},title:{textStyle:{color:"rgba(255,255,255,0.6)"},subtextStyle:{color:"#aaa"}},line:{itemStyle:{normal:{borderWidth:1}},lineStyle:{normal:{width:"1"}},symbolSize:"1",symbol:"circle",smooth:!1},radar:{itemStyle:{normal:{borderWidth:1}},lineStyle:{normal:{width:"1"}},symbolSize:"1",symbol:"circle",smooth:!1},bar:{itemStyle:{normal:{barBorderWidth:0,barBorderColor:"#ccc"},emphasis:{barBorderWidth:0,barBorderColor:"#ccc"}}},pie:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"},emphasis:{borderWidth:0,borderColor:"#ccc"}}},scatter:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"},emphasis:{borderWidth:0,borderColor:"#ccc"}}},boxplot:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"},emphasis:{borderWidth:0,borderColor:"#ccc"}}},parallel:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"},emphasis:{borderWidth:0,borderColor:"#ccc"}}},sankey:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"},emphasis:{borderWidth:0,borderColor:"#ccc"}}},funnel:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"},emphasis:{borderWidth:0,borderColor:"#ccc"}}},gauge:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"},emphasis:{borderWidth:0,borderColor:"#ccc"}}},candlestick:{itemStyle:{normal:{color:"#c23531",color0:"#314656",borderColor:"#c23531",borderColor0:"#314656",borderWidth:1}}},graph:{itemStyle:{normal:{borderWidth:0,borderColor:"#ccc"}},lineStyle:{normal:{width:1,color:"#aaa"}},symbolSize:"1",symbol:"circle",smooth:!1,color:["#409eff","#c23531","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],label:{normal:{textStyle:{color:"#eee"}}}},map:{itemStyle:{normal:{areaColor:"#eee",borderColor:"#444",borderWidth:.5},emphasis:{areaColor:"rgba(255,215,0,0.8)",borderColor:"#444",borderWidth:1}},label:{normal:{textStyle:{color:"#000"}},emphasis:{textStyle:{color:"rgb(100,0,0)"}}}},geo:{itemStyle:{normal:{areaColor:"#eee",borderColor:"#444",borderWidth:.5},emphasis:{areaColor:"rgba(255,215,0,0.8)",borderColor:"#444",borderWidth:1}},label:{normal:{textStyle:{color:"#000"}},emphasis:{textStyle:{color:"rgb(100,0,0)"}}}},categoryAxis:{axisLine:{show:!0,lineStyle:{color:"rgba(255,255,255,0.6)"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,textStyle:{color:"rgba(255,255,255,0.6)"}},splitLine:{show:!1,lineStyle:{color:["#cccccc","#333333"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},valueAxis:{axisLine:{show:!0,lineStyle:{color:"rgba(255,255,255,0.6)"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,textStyle:{color:"rgba(255,255,255,0.6)"}},splitLine:{show:!1,lineStyle:{color:["#cccccc","#333333"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},logAxis:{axisLine:{show:!0,lineStyle:{color:"rgba(255,255,255,0.6)"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,textStyle:{color:"rgba(255,255,255,0.6)"}},splitLine:{show:!1,lineStyle:{color:["#cccccc","#333333"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},timeAxis:{axisLine:{show:!0,lineStyle:{color:"rgba(255,255,255,0.6)"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,textStyle:{color:"rgba(255,255,255,0.6)"}},splitLine:{show:!1,lineStyle:{color:["#cccccc","#333333"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},toolbox:{iconStyle:{normal:{borderColor:"#999"},emphasis:{borderColor:"#666"}}},legend:{textStyle:{color:"rgba(255,255,255,0.6)"}},tooltip:{axisPointer:{lineStyle:{color:"rgba(255,255,255,0.6)",width:1},crossStyle:{color:"rgba(255,255,255,0.6)",width:1}}},timeline:{lineStyle:{color:"#293c55",width:1},itemStyle:{normal:{color:"#293c55",borderWidth:1},emphasis:{color:"#a9334c"}},controlStyle:{normal:{color:"#293c55",borderColor:"#293c55",borderWidth:.5},emphasis:{color:"#293c55",borderColor:"#293c55",borderWidth:.5}},checkpointStyle:{color:"#e43c59",borderColor:"rgba(194,53,49, 0.5)"},label:{normal:{textStyle:{color:"#293c55"}},emphasis:{textStyle:{color:"#293c55"}}}},visualMap:{color:["#bf444c","#d88273","#f6efa6"]},dataZoom:{backgroundColor:"rgba(47,69,84,0)",dataBackgroundColor:"rgba(47,69,84,0.3)",fillerColor:"rgba(167,183,204,0.4)",handleColor:"#a7b7cc",handleSize:"100%",textStyle:{color:"#333"}},markPoint:{label:{normal:{textStyle:{color:"#eee"}},emphasis:{textStyle:{color:"#eee"}}}}})},"function"==typeof define&&n(342)?define(["exports","echarts"],r):"object"===("undefined"==typeof exports?"undefined":o(exports))&&"string"!=typeof exports.nodeName?r(exports,n(343)):r(0,i.echarts)},function(t,e,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!i.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:i},function(t,e,n){var i=n(15),r=n(47),o=n(215),a=n(8)("toPrimitive");t.exports=function(t,e){if(!i(t)||r(t))return t;var n,s=t[a];if(void 0!==s){if(void 0===e&&(e="default"),n=s.call(t,e),!i(n)||r(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),o(t,e)}},function(t,e,n){var i=n(17),r=n(217),o=n(56),a=n(23);t.exports=function(t,e){for(var n=r(e),s=a.f,l=o.f,u=0;u=c?t?"":void 0:(a=l.charCodeAt(u))<55296||a>56319||u+1===c||(s=l.charCodeAt(u+1))<56320||s>57343?t?l.charAt(u):a:t?l.slice(u,u+2):s-56320+(a-55296<<10)+65536}};t.exports={codeAt:a(!1),charAt:a(!0)}},function(t,e,n){var i=n(223);t.exports=function(t,e){return new(i(t))(0===e?0:e)}},function(t,e){var n,i,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var l,u=[],c=!1,h=-1;function d(){c&&l&&(c=!1,l.length?u=l.concat(u):h=-1,u.length&&f())}function f(){if(!c){var t=s(d);c=!0;for(var e=u.length;e;){for(l=u,u=[];++h1)for(var n=1;n2)if(43===(e=(u=v(u)).charCodeAt(0))||45===e){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+u}for(a=(o=u.slice(2)).length,s=0;sr)return NaN;return parseInt(o,i)}return+u};if(o("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var w,S=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof S&&(_?d((function(){x.valueOf.call(n)})):"Number"!=l(n))?u(new y(b(e)),n,S):b(e)},M=i?p(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),C=0;M.length>C;C++)s(y,w=M[C])&&!s(S,w)&&m(S,w,g(y,w));S.prototype=x,x.constructor=S,a(r,"Number",S)}},function(t,e,n){var i=n(307),r=n(20),o=n(0),a=n(451),s=n(455),l=n(459),u=n(461),c=n(462),h=!r.canvasSupported,d={canvas:l},f={};var p=function(t,e,n){n=n||{},this.dom=e,this.id=t;var i=this,l=new s,f=n.renderer;if(h){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");f="vml"}else f&&d[f]||(f="canvas");var p=new d[f](e,l,n,t);this.storage=l,this.painter=p;var g=r.node||r.worker?null:new c(p.getViewportRoot(),p.root);this.handler=new a(l,p,g,p.root),this.animation=new u({stage:{update:o.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var m=l.delFromStorage,v=l.addToStorage;l.delFromStorage=function(t){m.call(l,t),t&&t.removeSelfFromZr(i)},l.addToStorage=function(t){v.call(l,t),t.addSelfToZr(i)}};p.prototype={constructor:p,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this._needsRefresh=!0},setBackgroundColor:function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var t;this._needsRefresh&&(t=!0,this.refreshImmediately()),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately()),t&&this.trigger("rendered")},addHover:function(t,e){if(this.painter.addHover){var n=this.painter.addHover(t,e);return this.refreshHover(),n}},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e){return this.painter.pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},findHover:function(t,e){return this.handler.findHover(t,e)},on:function(t,e,n){this.handler.on(t,e,n)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler.trigger(t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,t=this.id,delete f[t]}},e.version="4.3.2",e.init=function(t,e){var n=new p(i(),t,e);return f[n.id]=n,n},e.dispose=function(t){if(t)t.dispose();else{for(var e in f)f.hasOwnProperty(e)&&f[e].dispose();f={}}return this},e.getInstance=function(t){return f[t]},e.registerPainter=function(t,e){d[t]=e}},function(t,e,n){var i=n(32),r=n(14),o=i.identity;function a(t){return t>5e-5||t<-5e-5}var s=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},l=s.prototype;l.transform=null,l.needLocalTransform=function(){return a(this.rotation)||a(this.position[0])||a(this.position[1])||a(this.scale[0]-1)||a(this.scale[1]-1)};var u=[];l.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),r=this.transform;if(n||e){r=r||i.create(),n?this.getLocalTransform(r):o(r),e&&(n?i.mul(r,t.transform,r):i.copy(r,t.transform)),this.transform=r;var a=this.globalScaleRatio;if(null!=a&&1!==a){this.getGlobalScale(u);var s=u[0]<0?-1:1,l=u[1]<0?-1:1,c=((u[0]-s)*a+s)/u[0]||0,h=((u[1]-l)*a+l)/u[1]||0;r[0]*=c,r[1]*=c,r[2]*=h,r[3]*=h}this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,r)}else r&&o(r)},l.getLocalTransform=function(t){return s.getLocalTransform(this,t)},l.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},l.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var c=[],h=i.create();l.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=this.position,r=this.scale;a(e-1)&&(e=Math.sqrt(e)),a(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),i[0]=t[4],i[1]=t[5],r[0]=e,r[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e)}},l.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(i.mul(c,t.invTransform,e),e=c);var n=this.origin;n&&(n[0]||n[1])&&(h[4]=n[0],h[5]=n[1],i.mul(c,e,h),c[4]-=n[0],c[5]-=n[1],e=c),this.setLocalTransform(e)}},l.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},l.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&r.applyTransform(n,n,i),n},l.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&r.applyTransform(n,n,i),n},s.getLocalTransform=function(t,e){o(e=e||[]);var n=t.origin,r=t.scale||[1,1],a=t.rotation||0,s=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),i.scale(e,e,r),a&&i.rotate(e,e,a),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=s[0],e[5]+=s[1],e};var d=s;t.exports=d},function(t,e){var n=1;"undefined"!=typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var i=n;e.debugMode=0,e.devicePixelRatio=i},function(t,e){e.ContextCachedBy={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},e.WILL_BE_RESTORED=9},function(t,e,n){var i=n(0),r=i.retrieve2,o=i.retrieve3,a=i.each,s=i.normalizeCssArray,l=i.isString,u=i.isObject,c=n(37),h=n(316),d=n(246),f=n(312),p=n(183),g=p.ContextCachedBy,m=p.WILL_BE_RESTORED,v=c.DEFAULT_FONT,y={left:1,right:1,center:1},x={top:1,bottom:1,middle:1},_=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],b={},w={};function S(t){if(t){t.font=c.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||y[e]?e:"left";var n=t.textVerticalAlign||t.textBaseline;"center"===n&&(n="middle"),t.textVerticalAlign=null==n||x[n]?n:"top",t.textPadding&&(t.textPadding=s(t.textPadding))}}function M(t,e,n,i,r){if(n&&e.textRotation){var o=e.textOrigin;"center"===o?(i=n.width/2+n.x,r=n.height/2+n.y):o&&(i=o[0]+n.x,r=o[1]+n.y),t.translate(i,r),t.rotate(-e.textRotation),t.translate(-i,-r)}}function C(t,e,n,i,a,s,l,u){var c=i.rich[n.styleName]||{};c.text=n.text;var h=n.textVerticalAlign,d=s+a/2;"top"===h?d=s+n.height/2:"bottom"===h&&(d=s+a-n.height/2),!n.isLineHolder&&T(c)&&I(t,e,c,"right"===u?l-n.width:"center"===u?l-n.width/2:l,d-n.height/2,n.width,n.height);var f=n.textPadding;f&&(l=E(l,u,f),d-=n.height/2-f[2]-n.textHeight/2),k(e,"shadowBlur",o(c.textShadowBlur,i.textShadowBlur,0)),k(e,"shadowColor",c.textShadowColor||i.textShadowColor||"transparent"),k(e,"shadowOffsetX",o(c.textShadowOffsetX,i.textShadowOffsetX,0)),k(e,"shadowOffsetY",o(c.textShadowOffsetY,i.textShadowOffsetY,0)),k(e,"textAlign",u),k(e,"textBaseline","middle"),k(e,"font",n.font||v);var p=L(c.textStroke||i.textStroke,m),g=O(c.textFill||i.textFill),m=r(c.textStrokeWidth,i.textStrokeWidth);p&&(k(e,"lineWidth",m),k(e,"strokeStyle",p),e.strokeText(n.text,l,d)),g&&(k(e,"fillStyle",g),e.fillText(n.text,l,d))}function T(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function I(t,e,n,i,r,o,a){var s=n.textBackgroundColor,c=n.textBorderWidth,f=n.textBorderColor,p=l(s);if(k(e,"shadowBlur",n.textBoxShadowBlur||0),k(e,"shadowColor",n.textBoxShadowColor||"transparent"),k(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),k(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),p||c&&f){e.beginPath();var g=n.textBorderRadius;g?h.buildPath(e,{x:i,y:r,width:o,height:a,r:g}):e.rect(i,r,o,a),e.closePath()}if(p)if(k(e,"fillStyle",s),null!=n.fillOpacity){var m=e.globalAlpha;e.globalAlpha=n.fillOpacity*n.opacity,e.fill(),e.globalAlpha=m}else e.fill();else if(u(s)){var v=s.image;(v=d.createOrUpdateImage(v,null,t,A,s))&&d.isImageReady(v)&&e.drawImage(v,i,r,o,a)}if(c&&f)if(k(e,"lineWidth",c),k(e,"strokeStyle",f),null!=n.strokeOpacity){m=e.globalAlpha;e.globalAlpha=n.strokeOpacity*n.opacity,e.stroke(),e.globalAlpha=m}else e.stroke()}function A(t,e){e.image=t}function D(t,e,n,i){var r=n.x||0,o=n.y||0,a=n.textAlign,s=n.textVerticalAlign;if(i){var l=n.textPosition;if(l instanceof Array)r=i.x+P(l[0],i.width),o=i.y+P(l[1],i.height);else{var u=e&&e.calculateTextPosition?e.calculateTextPosition(b,n,i):c.calculateTextPosition(b,n,i);r=u.x,o=u.y,a=a||u.textAlign,s=s||u.textVerticalAlign}var h=n.textOffset;h&&(r+=h[0],o+=h[1])}return(t=t||{}).baseX=r,t.baseY=o,t.textAlign=a,t.textVerticalAlign=s,t}function k(t,e,n){return t[e]=f(t,e,n),t[e]}function L(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function O(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function P(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function E(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}e.normalizeTextStyle=function(t){return S(t),a(t.rich,S),t},e.renderText=function(t,e,n,i,r,o){i.rich?function(t,e,n,i,r,o){o!==m&&(e.__attrCachedBy=g.NONE);var a=t.__textCotentBlock;a&&!t.__dirtyText||(a=t.__textCotentBlock=c.parseRichText(n,i));!function(t,e,n,i,r){var o=n.width,a=n.outerWidth,s=n.outerHeight,l=i.textPadding,u=D(w,t,i,r),h=u.baseX,d=u.baseY,f=u.textAlign,p=u.textVerticalAlign;M(e,i,r,h,d);var g=c.adjustTextX(h,a,f),m=c.adjustTextY(d,s,p),v=g,y=m;l&&(v+=l[3],y+=l[0]);var x=v+o;T(i)&&I(t,e,i,g,m,a,s);for(var _=0;_=0&&"right"===(b=A[R]).textAlign;)C(t,e,b,i,L,y,N,"right"),O-=b.width,N-=b.width,R--;for(E+=(o-(E-v)-(x-N)-O)/2;P<=R;)b=A[P],C(t,e,b,i,L,y,E+b.width/2,"center"),E+=b.width,P++;y+=L}}(t,e,a,i,r)}(t,e,n,i,r,o):function(t,e,n,i,r,o){"use strict";var a,s=T(i),l=!1,u=e.__attrCachedBy===g.PLAIN_TEXT;o!==m?(o&&(a=o.style,l=!s&&u&&a),e.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):u&&(e.__attrCachedBy=g.NONE);var h=i.font||v;l&&h===(a.font||v)||(e.font=h);var d=t.__computedFont;t.__styleFont!==h&&(t.__styleFont=h,d=t.__computedFont=e.font);var p=i.textPadding,y=i.textLineHeight,x=t.__textCotentBlock;x&&!t.__dirtyText||(x=t.__textCotentBlock=c.parsePlainText(n,d,p,y,i.truncate));var b=x.outerHeight,S=x.lines,C=x.lineHeight,A=D(w,t,i,r),k=A.baseX,P=A.baseY,N=A.textAlign||"left",R=A.textVerticalAlign;M(e,i,r,k,P);var z=c.adjustTextY(P,b,R),V=k,B=z;if(s||p){var F=c.getWidth(n,d);p&&(F+=p[1]+p[3]);var j=c.adjustTextX(k,F,N);s&&I(t,e,i,j,z,F,b),p&&(V=E(k,N,p),B+=p[0])}e.textAlign=N,e.textBaseline="middle",e.globalAlpha=i.opacity||1;for(var $=0;$<_.length;$++){var H=_[$],G=H[0],W=H[1],U=i[G];l&&U===a[G]||(e[W]=f(e,W,U||H[2]))}B+=C/2;var Z=i.textStrokeWidth,Y=l?a.textStrokeWidth:null,q=!l||Z!==Y,X=!l||q||i.textStroke!==a.textStroke,K=L(i.textStroke,Z),J=O(i.textFill);K&&(q&&(e.lineWidth=Z),X&&(e.strokeStyle=K));J&&(l&&i.textFill===a.textFill||(e.fillStyle=J));if(1===S.length)K&&e.strokeText(S[0],V,B),J&&e.fillText(S[0],V,B);else for($=0;$=e[0]&&t<=e[1]},r.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},r.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},r.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},r.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(t){this._isBlank=t},r.prototype.getLabel=null,i.enableClassExtend(r),i.enableClassManagement(r,{registerWhenExtend:!0});var o=r;t.exports=o},function(t,e,n){var i=n(3),r=n(11),o=n(187),a=n(337),s=i.round,l=o.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=a.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]1e4)return[];var l=o.length?o[o.length-1]:i[1];return n[1]>l&&(t?o.push(s(l+e,r)):o.push(n[1])),o},getMinorTicks:function(t){for(var e=this.getTicks(!0),n=[],r=this.getExtent(),o=1;or[0]&&h0&&(a=null===a?l:Math.min(a,l))}n[r]=a}}return n}(t),n=[];return i.each(t,(function(t){var i,o=t.coordinateSystem.getBaseAxis(),a=o.getExtent();if("category"===o.type)i=o.getBandWidth();else if("value"===o.type||"time"===o.type){var s=o.dim+"_"+o.index,c=e[s],h=Math.abs(a[1]-a[0]),d=o.scale.getExtent(),f=Math.abs(d[1]-d[0]);i=c?h/f*c:h}else{var p=t.getData();i=Math.abs(a[1]-a[0])/p.count()}var g=r(t.get("barWidth"),i),m=r(t.get("barMaxWidth"),i),v=r(t.get("barMinWidth")||1,i),y=t.get("barGap"),x=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:g,barMaxWidth:m,barMinWidth:v,barGap:y,barCategoryGap:x,axisKey:u(o),stackId:l(t)})})),d(n)}function d(t){var e={};i.each(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var c=t.barMinWidth;c&&(a[s].minWidth=c);var h=t.barGap;null!=h&&(o.gap=h);var d=t.barCategoryGap;null!=d&&(o.categoryGap=d)}));var n={};return i.each(e,(function(t,e){n[e]={};var o=t.stacks,a=t.bandWidth,s=r(t.categoryGap,a),l=r(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),i.each(o,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,c--}else{var i=h;e&&ei&&(i=n),i!==h&&(t.width=i,u-=i+l*i,c--)}})),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var d,f=0;i.each(o,(function(t,e){t.width||(t.width=h),d=t,f+=t.width*(1+l)})),d&&(f-=d.width*l);var p=-f/2;i.each(o,(function(t,i){n[e][i]=n[e][i]||{bandWidth:a,offset:p,width:t.width},p+=t.width*(1+l)}))})),n}function f(t,e,n){if(t&&e){var i=t[u(e)];return null!=i&&null!=n&&(i=i[l(n)]),i}}var p={seriesType:"bar",plan:a(),reset:function(t){if(g(t)&&m(t)){var e=t.getData(),n=t.coordinateSystem,i=n.grid.getRect(),r=n.getBaseAxis(),o=n.getOtherAxis(r),a=e.mapDimension(o.dim),l=e.mapDimension(r.dim),u=o.isHorizontal(),c=u?0:1,d=f(h([t]),r,t).width;return d>.5||(d=.5),{progress:function(t,e){var h,f=t.count,p=new s(2*f),g=new s(2*f),m=new s(f),y=[],x=[],_=0,b=0;for(;null!=(h=t.next());)x[c]=e.get(a,h),x[1-c]=e.get(l,h),y=n.dataToPoint(x,null,y),g[_]=u?i.x+i.width:y[0],p[_++]=y[0],g[_]=u?y[1]:i.y+i.height,p[_++]=y[1],m[b++]=h;e.setLayout({largePoints:p,largeDataIndices:m,largeBackgroundPoints:g,barWidth:d,valueAxisStart:v(r,o,!1),backgroundStart:u?i.x:i.y,valueAxisHorizontal:u})}}}}};function g(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function m(t){return t.pipelineContext&&t.pipelineContext.large}function v(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}e.getLayoutOnAxis=function(t){var e=[],n=t.axis;if("category"===n.type){for(var r=n.getBandWidth(),o=0;o=0?"p":"n",O=b;if(x&&(a[c][k]||(a[c][k]={p:b,n:b}),O=a[c][k][L]),_)M=O,C=(A=n.dataToPoint([D,k]))[1]+d,T=A[0]-b,I=f,Math.abs(T)=0||t===e}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[c(t)]}function u(t){return!!t.get("handle.show")}function c(t){return t.type+"||"+t.id}e.collect=function(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var l=e.getComponent("tooltip"),h=e.getComponent("axisPointer"),d=h.get("link",!0)||[],f=[];o(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var p=c(n.model),g=t.coordSysAxesInfo[p]={};t.coordSysMap[p]=n;var m=n.model.getModel("tooltip",l);if(o(n.getAxes(),a(_,!1,null)),n.getTooltipAxes&&l&&m.get("show")){var v="axis"===m.get("trigger"),y="cross"===m.get("axisPointer.type"),x=n.getTooltipAxes(m.get("axisPointer.axis"));(v||y)&&o(x.baseAxes,a(_,!y||"cross",v)),y&&o(x.otherAxes,a(_,"cross",!1))}}function _(a,l,p){var v=p.model.getModel("axisPointer",h),y=v.get("show");if(y&&("auto"!==y||a||u(v))){null==l&&(l=v.get("triggerTooltip"));var x=(v=a?function(t,e,n,a,s,l){var u=e.getModel("axisPointer"),c={};o(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){c[t]=i.clone(u.get(t))})),c.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(c.type="line");var h=c.label||(c.label={});if(null==h.show&&(h.show=!1),"cross"===s){var d=u.get("label.show");if(h.show=null==d||d,!l){var f=c.lineStyle=u.get("crossStyle");f&&i.defaults(h,f.textStyle)}}return t.model.getModel("axisPointer",new r(c,n,a))}(p,m,h,e,a,l):v).get("snap"),_=c(p.model),b=l||x||"category"===p.type,w=t.axesInfo[_]={key:_,axis:p,coordSys:n,axisPointerModel:v,triggerTooltip:l,involveSeries:b,snap:x,useHandle:u(v),seriesModels:[]};g[_]=w,t.seriesInvolved|=b;var S=function(t,e){for(var n=e.model,i=e.dim,r=0;rc[1]&&c.reverse(),(null==a||a>c[1])&&(a=c[1]),ao&&(o=e);var s=o%2?o+2:o+3;a=[];for(var l=0;lo;)r.push(arguments[o++]);if(i=e,(d(e)||void 0!==t)&&!f(t))return h(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!f(e))return e}),r[1]=e,U.apply(null,r)}});W.prototype[j]||A(W.prototype,j,W.prototype.valueOf),z(W,"Symbol"),O[F]=!0},function(t,e,n){var i=n(8);e.f=i},function(t,e,n){var i=n(299),r=n(17),o=n(202),a=n(23).f;t.exports=function(t){var e=i.Symbol||(i.Symbol={});r(e,t)||a(e,t,{value:o.f(t)})}},function(t,e,n){"use strict";var i=n(22),r=n(27),o=n(6),a=n(17),s=n(15),l=n(23).f,u=n(167),c=o.Symbol;if(r&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var h={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof d?new c(t):void 0===t?c():c(t);return""===t&&(h[e]=!0),e};u(d,c);var f=d.prototype=c.prototype;f.constructor=d;var p=f.toString,g="Symbol(test)"==String(c("test")),m=/^Symbol\((.*)\)[^)]+$/;l(f,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=p.call(t);if(a(h,t))return"";var n=g?e.slice(7,-1):e.replace(m,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:d})}},function(t,e,n){n(203)("iterator")},function(t,e,n){"use strict";var i=n(22),r=n(300),o=n(147),a=n(124),s=n(105),l=n(28),u=n(31),c=n(8),h=n(68),d=n(71),f=n(207),p=f.IteratorPrototype,g=f.BUGGY_SAFARI_ITERATORS,m=c("iterator"),v=function(){return this};t.exports=function(t,e,n,c,f,y,x){r(n,e,c);var _,b,w,S=function(t){if(t===f&&A)return A;if(!g&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},M=e+" Iterator",C=!1,T=t.prototype,I=T[m]||T["@@iterator"]||f&&T[f],A=!g&&I||S(f),D="Array"==e&&T.entries||I;if(D&&(_=o(D.call(new t)),p!==Object.prototype&&_.next&&(h||o(_)===p||(a?a(_,p):"function"!=typeof _[m]&&l(_,m,v)),s(_,M,!0,!0),h&&(d[M]=v))),"values"==f&&I&&"values"!==I.name&&(C=!0,A=function(){return I.call(this)}),h&&!x||T[m]===A||l(T,m,A),d[e]=A,f)if(b={values:S("values"),keys:y?A:S("keys"),entries:S("entries")},x)for(w in b)(g||C||!(w in T))&&u(T,w,b[w]);else i({target:e,proto:!0,forced:g||C},b);return b}},function(t,e,n){"use strict";var i,r,o,a=n(7),s=n(147),l=n(28),u=n(17),c=n(8),h=n(68),d=c("iterator"),f=!1;[].keys&&("next"in(o=[].keys())?(r=s(s(o)))!==Object.prototype&&(i=r):f=!0);var p=null==i||a((function(){var t={};return i[d].call(t)!==t}));p&&(i={}),h&&!p||u(i,d)||l(i,d,(function(){return this})),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:f}},function(t,e,n){"use strict";var i=n(172).charAt,r=n(26),o=n(43),a=n(206),s=o.set,l=o.getterFor("String Iterator");a(String,"String",(function(t){s(this,{type:"String Iterator",string:r(t),index:0})}),(function(){var t,e=l(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=i(n,r),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var i=n(6),r=n(177),o=n(100),a=n(28),s=n(8),l=s("iterator"),u=s("toStringTag"),c=o.values;for(var h in r){var d=i[h],f=d&&d.prototype;if(f){if(f[l]!==c)try{a(f,l,c)}catch(t){f[l]=c}if(f[u]||a(f,u,h),r[h])for(var p in o)if(f[p]!==o[p])try{a(f,p,o[p])}catch(t){f[p]=o[p]}}}},function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=73)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},11:function(t,e){t.exports=n(144)},21:function(t,e){t.exports=n(243)},4:function(t,e){t.exports=n(44)},73:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["textarea"===t.type?"el-textarea":"el-input",t.inputSize?"el-input--"+t.inputSize:"",{"is-disabled":t.inputDisabled,"is-exceed":t.inputExceed,"el-input-group":t.$slots.prepend||t.$slots.append,"el-input-group--append":t.$slots.append,"el-input-group--prepend":t.$slots.prepend,"el-input--prefix":t.$slots.prefix||t.prefixIcon,"el-input--suffix":t.$slots.suffix||t.suffixIcon||t.clearable||t.showPassword}],on:{mouseenter:function(e){t.hovering=!0},mouseleave:function(e){t.hovering=!1}}},["textarea"!==t.type?[t.$slots.prepend?n("div",{staticClass:"el-input-group__prepend"},[t._t("prepend")],2):t._e(),"textarea"!==t.type?n("input",t._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:t.tabindex,type:t.showPassword?t.passwordVisible?"text":"password":t.type,disabled:t.inputDisabled,readonly:t.readonly,autocomplete:t.autoComplete||t.autocomplete,"aria-label":t.label},on:{compositionstart:t.handleCompositionStart,compositionupdate:t.handleCompositionUpdate,compositionend:t.handleCompositionEnd,input:t.handleInput,focus:t.handleFocus,blur:t.handleBlur,change:t.handleChange}},"input",t.$attrs,!1)):t._e(),t.$slots.prefix||t.prefixIcon?n("span",{staticClass:"el-input__prefix"},[t._t("prefix"),t.prefixIcon?n("i",{staticClass:"el-input__icon",class:t.prefixIcon}):t._e()],2):t._e(),t.getSuffixVisible()?n("span",{staticClass:"el-input__suffix"},[n("span",{staticClass:"el-input__suffix-inner"},[t.showClear&&t.showPwdVisible&&t.isWordLimitVisible?t._e():[t._t("suffix"),t.suffixIcon?n("i",{staticClass:"el-input__icon",class:t.suffixIcon}):t._e()],t.showClear?n("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(t){t.preventDefault()},click:t.clear}}):t._e(),t.showPwdVisible?n("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:t.handlePasswordVisible}}):t._e(),t.isWordLimitVisible?n("span",{staticClass:"el-input__count"},[n("span",{staticClass:"el-input__count-inner"},[t._v("\n "+t._s(t.textLength)+"/"+t._s(t.upperLimit)+"\n ")])]):t._e()],2),t.validateState?n("i",{staticClass:"el-input__icon",class:["el-input__validateIcon",t.validateIcon]}):t._e()]):t._e(),t.$slots.append?n("div",{staticClass:"el-input-group__append"},[t._t("append")],2):t._e()]:n("textarea",t._b({ref:"textarea",staticClass:"el-textarea__inner",style:t.textareaStyle,attrs:{tabindex:t.tabindex,disabled:t.inputDisabled,readonly:t.readonly,autocomplete:t.autoComplete||t.autocomplete,"aria-label":t.label},on:{compositionstart:t.handleCompositionStart,compositionupdate:t.handleCompositionUpdate,compositionend:t.handleCompositionEnd,input:t.handleInput,focus:t.handleFocus,blur:t.handleBlur,change:t.handleChange}},"textarea",t.$attrs,!1)),t.isWordLimitVisible&&"textarea"===t.type?n("span",{staticClass:"el-input__count"},[t._v(t._s(t.textLength)+"/"+t._s(t.upperLimit))]):t._e()],2)};i._withStripped=!0;var r=n(4),o=n.n(r),a=n(11),s=n.n(a),l=void 0,u="\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",c=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function h(t){var e=window.getComputedStyle(t),n=e.getPropertyValue("box-sizing"),i=parseFloat(e.getPropertyValue("padding-bottom"))+parseFloat(e.getPropertyValue("padding-top")),r=parseFloat(e.getPropertyValue("border-bottom-width"))+parseFloat(e.getPropertyValue("border-top-width"));return{contextStyle:c.map((function(t){return t+":"+e.getPropertyValue(t)})).join(";"),paddingSize:i,borderSize:r,boxSizing:n}}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;l||(l=document.createElement("textarea"),document.body.appendChild(l));var i=h(t),r=i.paddingSize,o=i.borderSize,a=i.boxSizing,s=i.contextStyle;l.setAttribute("style",s+";"+u),l.value=t.value||t.placeholder||"";var c=l.scrollHeight,d={};"border-box"===a?c+=o:"content-box"===a&&(c-=r),l.value="";var f=l.scrollHeight-r;if(null!==e){var p=f*e;"border-box"===a&&(p=p+r+o),c=Math.max(p,c),d.minHeight=p+"px"}if(null!==n){var g=f*n;"border-box"===a&&(g=g+r+o),c=Math.min(g,c)}return d.height=c+"px",l.parentNode&&l.parentNode.removeChild(l),l=null,d}var f=n(9),p=n.n(f),g=n(21),m={name:"ElInput",componentName:"ElInput",mixins:[o.a,s.a],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(t){return!0}},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return p()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||void 0===this.value?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"==typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(t){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[t])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var t=this;this.$nextTick((function(){t.setNativeInputValue(),t.resizeTextarea(),t.updateIconOffset()}))}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(t){this.focused=!1,this.$emit("blur",t),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var t=this.autosize;if("textarea"===this.type)if(t){var e=t.minRows,n=t.maxRows;this.textareaCalcStyle=d(this.$refs.textarea,e,n)}else this.textareaCalcStyle={minHeight:d(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var t=this.getInput();t&&t.value!==this.nativeInputValue&&(t.value=this.nativeInputValue)},handleFocus:function(t){this.focused=!0,this.$emit("focus",t)},handleCompositionStart:function(){this.isComposing=!0},handleCompositionUpdate:function(t){var e=t.target.value,n=e[e.length-1]||"";this.isComposing=!Object(g.isKorean)(n)},handleCompositionEnd:function(t){this.isComposing&&(this.isComposing=!1,this.handleInput(t))},handleInput:function(t){this.isComposing||t.target.value!==this.nativeInputValue&&(this.$emit("input",t.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(t){this.$emit("change",t.target.value)},calcIconOffset:function(t){var e=[].slice.call(this.$el.querySelectorAll(".el-input__"+t)||[]);if(e.length){for(var n=null,i=0;il;)r.f(t,n=i[l++],e[n]);return t}},function(t,e,n){var i=n(7);t.exports=i((function(){var t=RegExp(".","string".charAt(0));return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,e,n){var i=n(7);t.exports=i((function(){var t=RegExp("(?b)","string".charAt(5));return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},function(t,e,n){"use strict";var i=n(83),r=n(121);t.exports=i?{}.toString:function(){return"[object "+r(this)+"]"}},function(t,e,n){var i=n(15),r=n(35),o=n(8)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},function(t,e,n){var i=n(15),r=n(99),o=n(8)("species");t.exports=function(t){var e;return r(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!r(e.prototype)?i(e)&&null===(e=e[o])&&(e=void 0):e=void 0),void 0===e?Array:e}},function(t,e,n){"use strict";var i=n(12),r=n(136),o=n(225),a=n(142);function s(t){var e=new o(t),n=r(o.prototype.request,e);return i.extend(n,o.prototype,e),i.extend(n,e),n}var l=s(n(139));l.Axios=o,l.create=function(t){return s(a(l.defaults,t))},l.Cancel=n(143),l.CancelToken=n(238),l.isCancel=n(138),l.all=function(t){return Promise.all(t)},l.spread=n(239),t.exports=l,t.exports.default=l},function(t,e,n){"use strict";var i=n(12),r=n(137),o=n(226),a=n(227),s=n(142);function l(t){this.defaults=t,this.interceptors={request:new o,response:new o}}l.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},l.prototype.getUri=function(t){return t=s(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(i.merge(n||{},{method:t,url:e}))}})),i.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(i.merge(r||{},{method:t,url:e,data:n}))}})),t.exports=l},function(t,e,n){"use strict";var i=n(12);function r(){this.handlers=[]}r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},function(t,e,n){"use strict";var i=n(12),r=n(228),o=n(138),a=n(139);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=r(t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return s(t),e.data=r(e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=r(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var i=n(12);t.exports=function(t,e,n){return i.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";var i=n(12);t.exports=function(t,e){i.forEach(t,(function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])}))}},function(t,e,n){"use strict";var i=n(141);t.exports=function(t,e,n){var r=n.config.validateStatus;!r||r(n.status)?t(n):e(i("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(t,e,n){"use strict";t.exports=function(t,e,n,i,r){return t.config=e,n&&(t.code=n),t.request=i,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,n){"use strict";var i=n(233),r=n(234);t.exports=function(t,e){return t&&!i(e)?r(t,e):e}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var i=n(12),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(i.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=i.trim(t.substr(0,o)).toLowerCase(),n=i.trim(t.substr(o+1)),e){if(a[e]&&r.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},function(t,e,n){"use strict";var i=n(12);t.exports=i.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var i=t;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=i.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var i=n(12);t.exports=i.isStandardBrowserEnv()?{write:function(t,e,n,r,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(r)&&s.push("path="+r),i.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var i=n(143);function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new i(t),e(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r((function(e){t=e})),cancel:t}},t.exports=r},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";e.__esModule=!0,e.isDefined=e.isUndefined=e.isFunction=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.isString=function(t){return"[object String]"===Object.prototype.toString.call(t)},e.isObject=function(t){return"[object Object]"===Object.prototype.toString.call(t)},e.isHtmlElement=function(t){return t&&t.nodeType===Node.ELEMENT_NODE};var r,o=n(4),a=(r=o)&&r.__esModule?r:{default:r};var s=function(t){return t&&"[object Function]"==={}.toString.call(t)};"object"===("undefined"==typeof Int8Array?"undefined":i(Int8Array))||!a.default.prototype.$isServer&&"function"==typeof document.childNodes||(e.isFunction=s=function(t){return"function"==typeof t||!1}),e.isFunction=s;e.isUndefined=function(t){return void 0===t},e.isDefined=function(t){return null!=t}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(){if(o.default.prototype.$isServer)return 0;if(void 0!==a)return a;var t=document.createElement("div");t.className="el-scrollbar__wrap",t.style.visibility="hidden",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);var e=t.offsetWidth;t.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",t.appendChild(n);var i=n.offsetWidth;return t.parentNode.removeChild(t),a=e-i};var i,r=n(4),o=(i=r)&&i.__esModule?i:{default:i};var a=void 0},function(t,e,n){"use strict";e.__esModule=!0,e.removeResizeListener=e.addResizeListener=void 0;var i,r=n(426),o=(i=r)&&i.__esModule?i:{default:i};var a="undefined"==typeof window,s=function(t){var e=t,n=Array.isArray(e),i=0;for(e=n?e:e[Symbol.iterator]();;){var r;if(n){if(i>=e.length)break;r=e[i++]}else{if((i=e.next()).done)break;r=i.value}var o=r.target.__resizeListeners__||[];o.length&&o.forEach((function(t){t()}))}};e.addResizeListener=function(t,e){a||(t.__resizeListeners__||(t.__resizeListeners__=[],t.__ro__=new o.default(s),t.__ro__.observe(t)),t.__resizeListeners__.push(e))},e.removeResizeListener=function(t,e){t&&t.__resizeListeners__&&(t.__resizeListeners__.splice(t.__resizeListeners__.indexOf(e),1),t.__resizeListeners__.length||t.__ro__.disconnect())}},function(t,e,n){"use strict";e.__esModule=!0,e.isDef=function(t){return null!=t},e.isKorean=function(t){return/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(t)}},function(t,e){function n(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r=0;)r++;return r-e}function i(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function r(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a>>1);o(t,e[n+c])>0?a=c+1:l=c}return l}function o(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+c])<0?l=c:a=c+1}return l}function a(t,e){var n,i,a,s=7,l=0;n=t.length;var u=[];function c(n){var c=i[n],h=a[n],d=i[n+1],f=a[n+1];a[n]=h+f,n===l-3&&(i[n+1]=i[n+2],a[n+1]=a[n+2]),l--;var p=o(t[d],t,c,h,0,e);c+=p,0!==(h-=p)&&0!==(f=r(t[c+h-1],t,d,f,f-1,e))&&(h<=f?function(n,i,a,l){var c=0;for(c=0;c=7||g>=7);if(m)break;v<0&&(v=0),v+=2}if((s=v)<1&&(s=1),1===i){for(c=0;c=0;c--)t[g+c]=t[p+c];return void(t[f]=u[d])}var m=s;for(;;){var v=0,y=0,x=!1;do{if(e(u[d],t[h])<0){if(t[f--]=t[h--],v++,y=0,0==--i){x=!0;break}}else if(t[f--]=u[d--],y++,v=0,1==--l){x=!0;break}}while((v|y)=0;c--)t[g+c]=t[p+c];if(0===i){x=!0;break}}if(t[f--]=u[d--],1==--l){x=!0;break}if(0!==(y=l-r(t[h],u,0,l,l-1,e))){for(l-=y,g=(f-=y)+1,p=(d-=y)+1,c=0;c=7||y>=7);if(x)break;m<0&&(m=0),m+=2}(s=m)<1&&(s=1);if(1===l){for(g=(f-=i)+1,p=(h-=i)+1,c=i-1;c>=0;c--)t[g+c]=t[p+c];t[f]=u[d]}else{if(0===l)throw new Error;for(p=f-(l-1),c=0;c1;){var t=l-2;if(t>=1&&a[t-1]<=a[t]+a[t+1]||t>=2&&a[t-2]<=a[t]+a[t-1])a[t-1]a[t+1])break;c(t)}},this.forceMergeRuns=function(){for(;l>1;){var t=l-2;t>0&&a[t-1]=32;)e|=1&t,t>>=1;return t+e}(s);do{if((l=n(t,r,o,e))c&&(h=c),i(t,r,r+h,r+l,e),l=h}u.pushRun(r,l),u.mergeRuns(),s-=l,r+=l}while(0!==s);u.forceMergeRuns()}}}},function(t,e,n){var i=n(312),r=n(183).ContextCachedBy,o=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],a=function(t){this.extendFrom(t,!1)};function s(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=isNaN(i)?0:i,r=isNaN(r)?1:r,o=isNaN(o)?0:o,a=isNaN(a)?0:a,t.createLinearGradient(i,o,r,a)}function l(t,e,n){var i=n.width,r=n.height,o=Math.min(i,r),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(a=a*i+n.x,s=s*r+n.y,l*=o),t.createRadialGradient(a,s,0,a,s,l)}for(var u=a.prototype={constructor:a,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,n){var a=n&&n.style,s=!a||t.__attrCachedBy!==r.STYLE_BIND;t.__attrCachedBy=r.STYLE_BIND;for(var l=0;l0},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||!0!==e&&(!1===e?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,n){for(var i=("radial"===e.type?l:s)(t,e,n),r=e.colorStops,o=0;o=1)&&(t=1),t}s===c&&u===h||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=function(t,e){var n,i;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&((n=t._reset(t.context))&&n.progress&&(i=n.forceFirstProgress,n=n.progress),r(n)&&!n.length&&(n=null));t._progress=n,t._modBy=t._modDataCount=null;var o=t._downstream;return o&&o.dirty(),i}(this,i)),this._modBy=c,this._modDataCount=h;var f=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,g=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!i&&(a||p1&&i>0?s:a}};return o;function a(){return e=t?null:o1?(g.width=c,g.height=c/f):(g.height=c,g.width=c*f),g.y=u[1]-g.height/2,g.x=u[0]-g.width/2}else(o=t.getBoxLayoutParams()).aspect=f,g=a.getLayoutRect(o,{width:h,height:d});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function h(t,e){r.each(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}var d={dimensions:o.prototype.dimensions,create:function(t,e){var n=[];t.eachComponent("geo",(function(t,i){var r=t.get("map"),a=t.get("aspectScale"),s=!0,l=u.retrieveMap(r);l&&l[0]&&"svg"===l[0].type?(null==a&&(a=1),s=!1):null==a&&(a=.75);var d=new o(r+i,r,t.get("nameMap"),s);d.aspectScale=a,d.zoomLimit=t.get("scaleLimit"),n.push(d),h(d,t),t.coordinateSystem=d,d.model=t,d.resize=c,d.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var i={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();i[e]=i[e]||[],i[e].push(t)}})),r.each(i,(function(t,i){var a=r.map(t,(function(t){return t.get("nameMap")})),s=new o(i,i,r.mergeAll(a));s.zoomLimit=r.retrieve.apply(null,r.map(t,(function(t){return t.get("scaleLimit")}))),n.push(s),s.resize=c,s.aspectScale=t[0].get("aspectScale"),s.resize(t[0],e),r.each(t,(function(t){t.coordinateSystem=s,h(s,t)}))})),n},getFilledRegions:function(t,e,n){for(var i=(t||[]).slice(),o=r.createHashMap(),a=0;ae&&(e=i.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=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))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},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){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},l.prototype={constructor:l,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},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,n=0,i=e.length;n0}(t)||(t.incremental=t.useHoverLayer=!0)}for(var i=t.start;i0&&(b[0]=-b[0],b[1]=-b[1]);var S,M=h[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var C=-Math.atan2(h[1],h[0]);u[0].8?"left":c[0]<-.8?"right":"center",g=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":f=[-c[0]*y+l[0],-c[1]*x+l[1]],p=c[0]>.8?"right":c[0]<-.8?"left":"center",g=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":f=[y*M+l[0],l[1]+S],p=h[0]<0?"right":"left",m=[-y*M,-S];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":f=[w[0],w[1]+S],p="center",m=[0,-S];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":f=[-y*M+u[0],u[1]+S],p=h[0]>=0?"right":"left",m=[y*M,-S]}n.attr({style:{textVerticalAlign:n.__verticalAlign||g,textAlign:n.__textAlign||p},position:f,scale:[i,i],origin:m})}}}},p._createLine=function(t,e,n){var r=t.hostModel,o=function(t){var e=new a({name:"line",subPixelOptimize:!0});return d(e.shape,t),e}(t.getItemLayout(e));o.shape.percent=0,s.initProps(o,{shape:{percent:1}},r,e),this.add(o);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),i.each(u,(function(n){var i=h(n,t,e);this.add(i),this[c(n)]=t.getItemVisual(e,n)}),this),this._updateCommonStl(t,e,n)},p.updateData=function(t,e,n){var r=t.hostModel,o=this.childOfName("line"),a=t.getItemLayout(e),l={shape:{}};d(l.shape,a),s.updateProps(o,l,r,e),i.each(u,(function(n){var i=t.getItemVisual(e,n),r=c(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=h(n,t,e);this.add(o)}this[r]=i}),this),this._updateCommonStl(t,e,n)},p._updateCommonStl=function(t,e,n){var r=t.hostModel,o=this.childOfName("line"),a=n&&n.lineStyle,c=n&&n.hoverLineStyle,h=n&&n.labelModel,d=n&&n.hoverLabelModel;if(!n||t.hasItemOption){var f=t.getItemModel(e);a=f.getModel("lineStyle").getLineStyle(),c=f.getModel("emphasis.lineStyle").getLineStyle(),h=f.getModel("label"),d=f.getModel("emphasis.label")}var p=t.getItemVisual(e,"color"),g=i.retrieve3(t.getItemVisual(e,"opacity"),a.opacity,1);o.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},a)),o.hoverStyle=c,i.each(u,(function(t){var e=this.childOfName(t);e&&(e.setColor(p),e.setStyle({opacity:g}))}),this);var m,v,y=h.getShallow("show"),x=d.getShallow("show"),_=this.childOfName("label");if((y||x)&&(m=p||"#000",null==(v=r.getFormattedLabel(e,"normal",t.dataType)))){var b=r.getRawValue(e);v=null==b?t.getName(e):isFinite(b)?l(b):b}var w=y?v:null,S=x?i.retrieve2(r.getFormattedLabel(e,"emphasis",t.dataType),v):null,M=_.style;if(null!=w||null!=S){s.setTextStyle(_.style,h,{text:w},{autoColor:m}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=h.get("position")||"middle";var C=h.get("distance");i.isArray(C)||(C=[C,C]),_.__labelDistance=C}_.hoverStyle=null!=S?{text:S,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!x,s.setHoverStyle(this)},p.highlight=function(){this.trigger("emphasis")},p.downplay=function(){this.trigger("normal")},p.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},p.setLinePoints=function(t){var e=this.childOfName("line");d(e.shape,t),e.dirty()},i.inherits(f,s.Group);var g=f;t.exports=g},function(t,e){e.getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,i=e.scale,r=i&&i[0]||1;return((e.getZoom()-1)*n+1)/r},e.getSymbolSize=function(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}},function(t,e,n){n(9).__DEV__;var i=n(0),r=n(88),o=n(2),a=n(354),s=n(92),l=i.curry,u=i.each,c=i.map,h=Math.min,d=Math.max,f=Math.pow,p={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},g={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},m={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},v=0;function y(t){r.call(this),this._zr=t,this.group=new o.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+v++,this._handlers={},u(G,(function(t,e){this._handlers[e]=i.bind(t,this)}),this)}function x(t,e){var n=U[e.brushType].createCover(t,e);return n.__brushOption=e,w(n,e),t.group.add(n),n}function _(t,e){var n=M(e);return n.endCreating&&(n.endCreating(t,e),w(e,e.__brushOption)),e}function b(t,e){var n=e.__brushOption;M(e).updateCoverShape(t,e,n.range,n)}function w(t,e){var n=e.z;null==n&&(n=1e4),t.traverse((function(t){t.z=n,t.z2=n}))}function S(t,e){M(e).updateCommon(t,e),b(t,e)}function M(t){return U[t.__brushOption.brushType]}function C(t,e,n){var i,r=t._panels;if(!r)return!0;var o=t._transform;return u(r,(function(t){t.isTargetByCursor(e,n,o)&&(i=t)})),i}function T(t,e){var n=t._panels;if(!n)return!0;var i=e.__brushOption.panelId;return null==i||n[i]}function I(t){var e=t._covers,n=e.length;return u(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function A(t,e){var n=c(t._covers,(function(t){var e=t.__brushOption,n=i.clone(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",n,{isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function D(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function k(t,e,n,i){var r=new o.Group;return r.add(new o.Rect({name:"main",style:E(n),silent:!0,draggable:!0,cursor:"move",drift:l(t,e,r,"nswe"),ondragend:l(A,e,{isEnd:!0})})),u(i,(function(n){r.add(new o.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:l(t,e,r,n),ondragend:l(A,e,{isEnd:!0})}))})),r}function L(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=d(r,6),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,c=n[0][1],h=n[1][1],f=c-o+r/2,p=h-o+r/2,g=c-a,m=h-s,v=g+r,y=m+r;P(t,e,"main",a,s,g,m),i.transformable&&(P(t,e,"w",l,u,o,y),P(t,e,"e",f,u,o,y),P(t,e,"n",l,u,v,o),P(t,e,"s",l,p,v,o),P(t,e,"nw",l,u,o,o),P(t,e,"ne",f,u,o,o),P(t,e,"sw",l,p,o,o),P(t,e,"se",f,p,o,o))}function O(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(E(n)),r.attr({silent:!i,cursor:i?"move":"default"}),u(["w","e","n","s","se","sw","ne","nw"],(function(n){var r=e.childOfName(n),a=function t(e,n){if(n.length>1)return n=n.split(""),("e"===(i=[t(e,n[0]),t(e,n[1])])[0]||"w"===i[0])&&i.reverse(),i.join("");var i;return{left:"w",right:"e",top:"n",bottom:"s"}[i=o.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[n],function(t){return o.getTransform(t.group)}(e))]}(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?g[a]+"-resize":null})}))}function P(t,e,n,i,r,o,a){var s,l,u,c,f,p=e.childOfName(n);p&&p.setShape((s=B(t,e,[[i,r],[i+o,r+a]]),l=h(s[0][0],s[1][0]),u=h(s[0][1],s[1][1]),c=d(s[0][0],s[1][0]),f=d(s[0][1],s[1][1]),{x:l,y:u,width:c-l,height:f-u}))}function E(t){return i.defaults({strokeNoScale:!0},t.brushStyle)}function N(t,e,n,i){var r=[h(t,n),h(e,i)],o=[d(t,n),d(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function R(t,e,n,i,r,o,a,s){var l=i.__brushOption,c=t(l.range),h=V(n,o,a);u(r.split(""),(function(t){var e=p[t];c[e[0]][e[1]]+=h[e[0]]})),l.range=e(N(c[0][0],c[1][0],c[0][1],c[1][1])),S(n,i),A(n,{isEnd:!1})}function z(t,e,n,i,r){var o=e.__brushOption.range,a=V(t,n,i);u(o,(function(t){t[0]+=a[0],t[1]+=a[1]})),S(t,e),A(t,{isEnd:!1})}function V(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function B(t,e,n){var r=T(t,e);return r&&!0!==r?r.clipPath(n,t._transform):i.clone(n)}function F(t){var e=t.event;e.preventDefault&&e.preventDefault()}function j(t,e,n){return t.childOfName("main").contain(e,n)}function $(t,e,n,r){var o,a=t._creatingCover,s=t._creatingPanel,l=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1];return f(r*r+o*o,.5)>6}(t)||a){if(s&&!a){"single"===l.brushMode&&I(t);var u=i.clone(l);u.brushType=H(u.brushType,s),u.panelId=!0===s?null:s.panelId,a=t._creatingCover=x(t,u),t._covers.push(a)}if(a){var c=U[H(t._brushType,s)];a.__brushOption.range=c.getCreatingRange(B(t,a,t._track)),r&&(_(t,a),c.updateCommon(t,a)),b(t,a),o={isEnd:r}}}else r&&"single"===l.brushMode&&l.removeOnClick&&C(t,e,n)&&I(t)&&(o={isEnd:r,removeOnClick:!0});return o}function H(t,e){return"auto"===t?e.defaultBrushType:t}y.prototype={constructor:y,enableBrush:function(t){var e,n;return this._brushType&&(n=(e=this)._zr,a.release(n,"globalPan",e._uid),function(t,e){u(e,(function(e,n){t.off(n,e)}))}(n,e._handlers),e._brushType=e._brushOption=null),t.brushType&&function(t,e){var n=t._zr;t._enableGlobalPan||a.take(n,"globalPan",t._uid);(function(t,e){u(e,(function(e,n){t.on(n,e)}))})(n,t._handlers),t._brushType=e.brushType,t._brushOption=i.merge(i.clone(m),e,!0)}(this,t),this},setPanels:function(t){if(t&&t.length){var e=this._panels={};i.each(t,(function(t){e[t.panelId]=i.clone(t)}))}else this._panels=null;return this},mount:function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t.position||[0,0],rotation:t.rotation||0,scale:t.scale||[1,1]}),this._transform=e.getLocalTransform(),this},eachCover:function(t,e){u(this._covers,t,e)},updateCovers:function(t){t=i.map(t,(function(t){return i.merge(i.clone(m),t,!0)}));var e=this._covers,n=this._covers=[],r=this,o=this._creatingCover;return new s(e,t,(function(t,e){return a(t.__brushOption,e)}),a).add(l).update(l).remove((function(t){e[t]!==o&&r.group.remove(e[t])})).execute(),this;function a(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function l(i,a){var s=t[i];if(null!=a&&e[a]===o)n[i]=e[a];else{var l=n[i]=null!=a?(e[a].__brushOption=s,e[a]):_(r,x(r,s));S(r,l)}}},unmount:function(){return this.enableBrush(!1),I(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},i.mixin(y,r);var G={mousedown:function(t){if(this._dragging)W(this,t);else if(!t.target||!t.target.draggable){F(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=C(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e)){var i=t._zr,r=t._covers,o=C(t,e,n);if(!t._dragging)for(var a=0;as)return!0;if(o){var l=a.getAxisInfo(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===n},makeElOption:function(t,e,n,i,r){},createPointerEl:function(t,e,n,i){var r=e.pointer;if(r){var a=u(t).pointerEl=new o[r.type](c(e.pointer));t.add(a)}},createLabelEl:function(t,e,n,i){if(e.label){var r=u(t).labelEl=new o.Rect(c(e.label));t.add(r),p(r,i)}},updatePointerEl:function(t,e,n){var i=u(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,i){var r=u(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{shape:e.label.shape,position:e.label.position}),p(r,i))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,r=this._api.getZr(),a=this._handle,u=n.getModel("handle"),c=n.get("status");if(!u.get("show")||!c||"hide"===c)return a&&r.remove(a),void(this._handle=null);this._handle||(e=!0,a=this._handle=o.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:h(this._onHandleDragMove,this,0,0),drift:h(this._onHandleDragMove,this),ondragend:h(this._onHandleDragEnd,this)}),r.add(a)),m(a,n,!1);a.setStyle(u.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=u.get("size");i.isArray(d)||(d=[d,d]),a.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){f(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(g(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(g(i)),u(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},_onHandleDragEnd:function(t){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}},d.prototype.constructor=d,r.enableClassExtend(d);var v=d;t.exports=v},function(t,e,n){n(9).__DEV__;var i=n(0),r=n(657),o=n(3).parsePercent,a=n(46),s=a.createScaleByModel,l=a.niceScaleExtent,u=n(45),c=n(53).getStackedDimension;function h(t,e){var n=this,r=n.getAngleAxis(),o=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();i.each(e.mapDimension("radius",!0),(function(t){o.scale.unionExtentFromData(e,c(e,t))})),i.each(e.mapDimension("angle",!0),(function(t){r.scale.unionExtentFromData(e,c(e,t))}))}})),l(r.scale,r.model),l(o.scale,o.model),"category"===r.type&&!r.onBand){var a=r.getExtent(),s=360/r.scale.count();r.inverse?a[1]+=s:a[1]-=s,r.setExtent(a[0],a[1])}}function d(t,e){if(t.type=e.get("type"),t.scale=s(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}n(660);var f={dimensions:r.prototype.dimensions,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,a){var s=new r(a);s.update=h;var l=s.getRadiusAxis(),u=s.getAngleAxis(),c=t.findAxisModel("radiusAxis"),f=t.findAxisModel("angleAxis");d(l,c),d(u,f),function(t,e,n){var r=e.get("center"),a=n.getWidth(),s=n.getHeight();t.cx=o(r[0],a),t.cy=o(r[1],s);var l=t.getRadiusAxis(),u=Math.min(a,s)/2,c=e.get("radius");null==c?c=[0,"100%"]:i.isArray(c)||(c=[0,c]),c=[o(c[0],u),o(c[1],u)],l.inverse?l.setExtent(c[1],c[0]):l.setExtent(c[0],c[1])}(s,t,e),n.push(s),t.coordinateSystem=s,s.model=t})),t.eachSeries((function(e){if("polar"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e.coordinateSystem=n.coordinateSystem}})),n}};u.register("polar",f)},function(t,e,n){n(24).registerSubTypeDefaulter("dataZoom",(function(){return"slider"}))},function(t,e,n){var i=n(0),r=n(11),o=["cartesian2d","polar","singleAxis"];function a(t,e){t=t.slice();var n=i.map(t,r.capitalFirst);e=(e||[]).slice();var o=i.map(e,r.capitalFirst);return function(r,a){i.each(t,(function(t,i){for(var s={name:t,capital:n[i]},l=0;l=0},e.createNameEach=a,e.eachAxisDim=s,e.createLinkedNodesFinder=function(t,e,n){return function(o){var a,s={nodes:[],records:{}};if(e((function(t){s.records[t.name]={}})),!o)return s;r(o,s);do{a=!1,t(l)}while(a);function l(t){!function(t,e){return i.indexOf(e.nodes,t)>=0}(t,s)&&function(t,r){var o=!1;return e((function(e){i.each(n(t,e)||[],(function(t){r.records[e.name][t]&&(o=!0)}))})),o}(t,s)&&(r(t,s),a=!0)}return s};function r(t,r){r.nodes.push(t),e((function(e){i.each(n(t,e)||[],(function(t){r.records[e.name][t]=!0}))}))}}},function(t,e,n){var i=n(1),r=n(0),o=r.createHashMap,a=r.each;i.registerProcessor({getTargetSeries:function(t){var e=o();return t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(t,n,i){var r=i.getAxisProxy(t.name,n);a(r.getTargetSeriesModels(),(function(t){e.set(t.uid,t)}))}))})),e},modifyOutputEnd:!0,overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(t,n,i){i.getAxisProxy(t.name,n).reset(i,e)})),t.eachTargetAxis((function(t,n,i){i.getAxisProxy(t.name,n).filterData(i,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy(),n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}))}})},function(t,e,n){var i=n(1),r=n(0),o=n(269);i.registerAction("dataZoom",(function(t,e){var n=o.createLinkedNodesFinder(r.bind(e.eachComponent,e,"dataZoom"),o.eachAxisDim,(function(t,e){return t.get(e.axisIndex)})),i=[];e.eachComponent({mainType:"dataZoom",query:t},(function(t,e){i.push.apply(i,n(t).nodes)})),r.each(i,(function(e,n){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))},function(t,e,n){n(9).__DEV__;var i=n(1),r=n(0),o=n(20),a=n(5),s=n(11),l=n(251),u=s.addCommas,c=s.encodeHTML;function h(t){a.defaultEmphasis(t,"label",["show"])}var d=i.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},isAnimationEnabled:function(){if(o.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e){this._mergeOption(t,e,!1,!1)},_mergeOption:function(t,e,n,i){var o=this.constructor,a=this.mainType+"Model";n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),s=t[a];n&&n.data?(s?s._mergeOption(n,e,!0):(i&&h(n),r.each(n.data,(function(t){t instanceof Array?(h(t[0]),h(t[1])):h(t)})),s=new o(n,this,e),r.extend(s,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[a]=s):t[a]=null}),this)},formatTooltip:function(t,e,n,i){var o=this.getData(),a=this.getRawValue(t),s=r.isArray(a)?r.map(a,u).join(", "):u(a),l=o.getName(t),h=c(this.name);return(null!=a||l)&&(h+="html"===i?"
":"\n"),l&&(h+=c(l),null!=a&&(h+=" : ")),null!=a&&(h+=c(s)),h},getData:function(){return this._data},setData:function(t){this._data=t}});r.mixin(d,l);var f=d;t.exports=f},function(t,e,n){var i=n(0),r=n(3),o=n(53).isDimensionStacked,a=i.indexOf;function s(t,e,n,i,a,s){var l=[],u=o(e,i)?e.getCalculationInfo("stackResultDimension"):i,c=h(e,u,t),d=e.indicesOfNearest(u,c)[0];l[a]=e.get(n,d),l[s]=e.get(u,d);var f=e.get(i,d),p=r.getPrecision(e.get(i,d));return(p=Math.min(p,20))>=0&&(l[s]=+l[s].toFixed(p)),[l,f]}var l=i.curry,u={min:l(s,"min"),max:l(s,"max"),average:l(s,"average")};function c(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData(),i=n.dimensions;e=n.getDimension(e);for(var r=0;r-1e-4}function _(t,e){e&&b(t,"transform","matrix("+h.call(e,",")+")")}function b(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&t.setAttribute(e,n)}function w(t,e,n,i){if(function(t,e){var n=e?t.textFill:t.fill;return null!=n&&"none"!==n}(e,n)){var r=n?e.textFill:e.fill;b(t,"fill",r="transparent"===r?"none":r),b(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else b(t,"fill","none");if(function(t,e){var n=e?t.textStroke:t.stroke;return null!=n&&"none"!==n}(e,n)){var o=n?e.textStroke:e.stroke;b(t,"stroke",o="transparent"===o?"none":o),b(t,"stroke-width",(n?e.textStrokeWidth:e.lineWidth)/(!n&&e.strokeNoScale?i.getLineScale():1)),b(t,"paint-order",n?"stroke":"fill"),b(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity),e.lineDash?(b(t,"stroke-dasharray",e.lineDash.join(",")),b(t,"stroke-dashoffset",d(e.lineDashOffset||0))):b(t,"stroke-dasharray",""),e.lineCap&&b(t,"stroke-linecap",e.lineCap),e.lineJoin&&b(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&b(t,"stroke-miterlimit",e.miterLimit)}else b(t,"stroke","none")}var S={};S.brush=function(t){var e=t.style,n=t.__svgEl;n||(n=i("path"),t.__svgEl=n),t.path||t.createPathProxy();var r=t.path;if(t.__dirtyPath){r.beginPath(),r.subPixelOptimize=!1,t.buildPath(r,t.shape),t.__dirtyPath=!1;var o=function(t){for(var e=[],n=t.data,i=t.len(),r=0;r=m:-b>=m),T=b>0?b%m:b%m+m,I=!1;I=!!C||!x(M)&&T>=g==!!S;var A=y(s+u*p(_)),D=y(l+h*f(_));C&&(b=S?m-1e-4:1e-4-m,I=!0,9===r&&e.push("M",A,D));var k=y(s+u*p(_+b)),L=y(l+h*f(_+b));e.push("A",y(u),y(h),d(w*v),+I,+S,k,L);break;case c.Z:o="Z";break;case c.R:k=y(n[r++]),L=y(n[r++]);var O=y(n[r++]),P=y(n[r++]);e.push("M",k,L,"L",k+O,L,"L",k+O,L+P,"L",k,L+P,"L",k,L)}o&&e.push(o);for(var E=0;Ez){for(;N=0;--i)if(e[i]===t)return!0;return!1}),n):null:n[0]},d.prototype.update=function(t,e){if(t){var n=this.getDefs(!1);if(t[this._domName]&&n.contains(t[this._domName]))"function"==typeof e&&e(t);else{var i=this.add(t);i&&(t[this._domName]=i)}}},d.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},d.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},d.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return r.each(this._tagNames,(function(n){var i=t.getElementsByTagName(n);e=e.concat([].slice.call(i))})),e},d.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;r.each(t,(function(t){t[e._markLabel]="0"}))},d.prototype.markUsed=function(t){t&&(t[this._markLabel]="1")},d.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this.getDoms(),n=this;r.each(e,(function(e){"1"!==e[n._markLabel]&&t.removeChild(e)}))}},d.prototype.getSvgProxy=function(t){return t instanceof o?u:t instanceof a?c:t instanceof s?h:u},d.prototype.getTextSvgElement=function(t){return t.__textSvgEl},d.prototype.getSvgElement=function(t){return t.__svgEl};var f=d;t.exports=f},function(t,e,n){"use strict";n(87),n(146),n(179),n(85),n(55),n(84),n(416),n(155),n(164);var i=n(1);n(112),n(117),n(97);var r={name:"indDetail",props:{mini:{type:Boolean,default:!1},darkMode:{type:Boolean,default:!1}},data:function(){return{chartEL:null,myChart:null,minVal:null,maxVal:null,interVal:null,option:{},DWJZ:0,code:null,codeData:{},boxShadow:!1,loading:!1,dataList:[],timeData:[],isHK:!1}},watch:{},computed:{defaultColor:function(){return this.darkMode?"rgba(255,255,255,0.6)":"#ccc"},defaultLabelColor:function(){return this.darkMode?"rgba(255,255,255,0.6)":"#000"},boxClass:function(){var t="";return this.darkMode&&(t+="darkMode "),this.mini&&(t+="mini"),t}},mounted:function(){},beforeDestroy:function(){this.myChart&&this.myChart.clear()},methods:{formatNum:function(t){return(t/1e4).toFixed(3)+"万"},init:function(t){var e=this;this.boxShadow=!0,this.code=t.f13+"."+t.f12,this.codeData=t,setTimeout((function(){e.initChart()}),10)},initChart:function(){var t=this;this.chartEL=this.$refs.mainCharts,this.myChart=i.init(this.chartEL,this.darkMode?"dark":"customed"),this.option={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{show:!0,color:this.defaultColor,backgroundColor:this.darkMode?"rgba(0,0,0,0.8)":"rgba(0,0,0,0.6)"}},formatter:function(e){var n;return n=0==e[0].dataIndex||t.dataList[e[0].dataIndex][1]>t.dataList[e[0].dataIndex-1][1]?'#f56c6c"':'#4eb61b"',"时间:".concat(e[0].name,"
价格:").concat(t.dataList[e[0].dataIndex][1],"
涨幅:").concat((100*(t.dataList[e[0].dataIndex][1]-t.DWJZ)/t.DWJZ).toFixed(2),'%
成交量:').concat(t.formatNum(t.dataList[e[0].dataIndex][2]))}},axisPointer:{link:{xAxisIndex:"all"}},grid:[{top:20,left:60,height:"50%"},{show:!0,left:60,top:"65%",height:"28%"}],xAxis:[{data:this.timeData,position:"bottom",axisLine:{onZero:!1}},{splitNumber:2,type:"category",gridIndex:1,boundaryGap:!1,data:this.timeData,axisTick:{show:!1},splitLine:{show:!0,lineStyle:{type:"dashed",color:this.defaultColor}},axisLine:{lineStyle:{}},axisPointer:{show:!0,label:{formatter:function(e){if(e.seriesData[0]&&t.dataList[e.seriesData[0].dataIndex])return(t.dataList[e.seriesData[0].dataIndex][2]/1e4).toFixed(3)+"万"}}}}],yAxis:[{type:"value",axisLabel:{color:this.yAxisLabelColor,formatter:function(t){return t.toFixed(2)}},splitLine:{show:!0,lineStyle:{type:"dashed",color:this.defaultColor}},data:[],axisPointer:{show:!0,label:{formatter:function(t){return t.value.toFixed(2)}}}},{type:"value",axisLabel:{color:this.yAxisLabelColor,formatter:function(e){var n=(100*(e-t.DWJZ)/t.DWJZ).toFixed(2);return-0==n&&(n="0.00"),n+"%"}},splitLine:{show:!0,lineStyle:{type:"dashed",color:this.defaultColor}},axisPointer:{show:!0,label:{formatter:function(e){return(100*(e.value-t.DWJZ)/t.DWJZ).toFixed(2)+"%"}}},data:[]},{nameGap:"0",nameTextStyle:{},gridIndex:1,z:4,splitNumber:3,axisLine:{onZero:!1,show:!1},axisTick:{show:!1},splitLine:{show:!1},axisPointer:{show:!0,label:{formatter:function(t){return(t.value/1e4).toFixed(2)+"万"}}},axisLabel:{inside:!1,fontSize:10,onZero:!1,formatter:function(t){var e=(t/1e4).toFixed(2);return 0==t&&(e="(万)"),e}}}],series:[{name:"涨幅",type:"line",data:[],markLine:{silent:!0,symbol:"none",animation:!1,label:{show:!1},lineStyle:{type:"solid"},data:[{yAxis:0}]}},{name:"价格",type:"line",yAxisIndex:1,symbol:"none",data:[],lineStyle:{normal:{width:0}}},{name:"成交量",type:"bar",gridIndex:1,xAxisIndex:1,yAxisIndex:2,data:[],itemStyle:{normal:{color:this.CJcolor}}}]},this.getData()},close:function(){this.boxShadow=!1,this.$emit("close",!1)},fmtAxis:function(t,e){return this.isHK?"12:00"==t?"12:00/13:00":t:"11:30"==t?"11:30/13:00":t},fmtVal:function(t,e){return-1!=(this.isHK?["09:30","12:00","16:00"]:["09:30","10:30","11:30","14:00","15:00"]).indexOf(e)},CJcolor:function(t,e){return 0==t.dataIndex||this.dataList[t.dataIndex][1]>this.dataList[t.dataIndex-1][1]?"#f56c6c":"#4eb61b"},yAxisLabelColor:function(t,e){return Number(t).toFixed(2)>this.DWJZ.toFixed(2)?"#f56c6c":Number(t).toFixed(2)==this.DWJZ.toFixed(2)?this.defaultLabelColor:"#4eb61b"},handle_num:function(t){var e=Math.abs((Math.max.apply(null,t)-this.DWJZ)/this.DWJZ),n=Math.abs((Math.min.apply(null,t)-this.DWJZ)/this.DWJZ);return e>n?e:n},getData:function(){var t=this;this.loading=!0;var e="https://push2.eastmoney.com/api/qt/stock/trends2/get?secid=".concat(this.code,"&fields1=f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,f13&fields2=f51,f53,f56,f58&iscr=0&iscca=0&ndays=1&forcect=1");this.$axios.get(e).then((function(e){t.loading=!1,t.DWJZ=e.data.data.prePrice;var n=e.data.data.trends.map((function(t){return t.split(",")}));t.dataList=n,t.option.series[0].data=n.map((function(t){return+t[1]})),t.option.series[1].data=n.map((function(t){return+t[1]})),t.option.series[2].data=n.map((function(t){return+t[2]}));var i=n[0][0].substr(11,5);if(t.isHK=!1,1==t.codeData.f13||0==t.codeData.f13)t.timeData=t.time_arr("hs"),t.option.xAxis[0].axisLabel={formatter:t.fmtAxis,interval:t.fmtVal},t.option.xAxis[1].axisLabel={formatter:t.fmtAxis,interval:t.fmtVal};else switch(i){case"09:30":t.timeData=t.time_arr("hk"),t.isHK=!0,t.option.xAxis[0].axisLabel={formatter:t.fmtAxis,interval:t.fmtVal},t.option.xAxis[1].axisLabel={formatter:t.fmtAxis,interval:t.fmtVal};break;case"21:30":t.timeData=t.time_arr("us-s");break;case"22:30":t.timeData=t.time_arr("us-w")}t.option.xAxis[0].data=t.timeData,t.option.xAxis[1].data=t.timeData,t.option.series[0].markLine.data[0].yAxis=t.DWJZ;var r=t.handle_num(t.option.series[0].data),o=t.DWJZ-t.DWJZ*r,a=t.DWJZ+t.DWJZ*r;t.option.yAxis[0].min=o,t.option.yAxis[0].max=a,t.option.yAxis[0].interval=Math.abs((t.DWJZ-o)/4),t.option.yAxis[1].min=o,t.option.yAxis[1].max=a,t.option.yAxis[1].interval=Math.abs((t.DWJZ-o)/4),t.myChart.setOption(t.option)}))},time_arr:function(t){var e;return-1!=t.indexOf("us-s")?((e=new Array).push("21:30"),this.getNextTime("21:30","04:00",1,e)):-1!=t.indexOf("us-w")?((e=new Array).push("22:30"),this.getNextTime("22:30","05:00",1,e)):-1!=t.indexOf("hs")?((e=new Array).push("09:30"),e.concat(this.getNextTime("09:30","11:30",1,e)),e.concat(this.getNextTime("13:00","15:00",1,e)),e):-1!=t.indexOf("hk")?((e=new Array).push("09:30"),e.concat(this.getNextTime("09:30","12:00",1,e)),e.concat(this.getNextTime("13:00","16:00",1,e)),e):void 0},getNextTime:function(t,e,n,i){var r=this.addTimeStr(t,n);return i.push(r),r==e?i:this.getNextTime(r,e,n,i)},addTimeStr:function(t,e){var n=t.split(":")[0],i=Number(t.split(":")[1]),r=parseInt((i+e)/60),o=parseInt((Number(n)+r)/24);if(r>0){var a;if(o>0)n=(a=(Number(n)+r)%24+"").length>1?a:"0"+a;else n=(a=Number(n)+r+"").length>1?a:"0"+a;i=(s=(i+e)%60+"").length>1?s:0+s}else{var s;i=(s=i+e+"").length>1?s:"0"+s}return n+":"+i}}},o=(n(743),n(13)),a=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.boxShadow?n("div",{staticClass:"shadow",class:t.boxClass},[n("div",{staticClass:"content-box"},[n("h5",[t._v(t._s(t.codeData.f14)+"("+t._s(t.codeData.f13+"."+t.codeData.f12)+")")]),t._v(" "),n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"mainCharts",staticClass:"main-echarts",class:t.mini?"mini-charts":"",attrs:{"element-loading-background":t.darkMode?"rgba(0, 0, 0, 0.9)":"rgba(255, 255, 255, 0.9)"}}),t._v(" "),n("div",{staticClass:"tab-row"},[n("input",{staticClass:"btn",attrs:{type:"button",value:"返回列表"},on:{click:t.close}})])])]):t._e()}),[],!1,null,"7a2bc96a",null);e.a=a.exports},,function(t,e,n){var i=n(22),r=n(284);i({global:!0,forced:parseFloat!=r},{parseFloat:r})},function(t,e,n){var i=n(8),r=n(54),o=n(23),a=i("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:r(null)}),t.exports=function(t){s[a][t]=!0}},function(t,e,n){var i=n(7);t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var i=n(15),r=n(124);t.exports=function(t,e,n){var o,a;return r&&"function"==typeof(o=e.constructor)&&o!==n&&i(a=o.prototype)&&a!==n.prototype&&r(t,a),t}},function(t,e,n){var i=n(6),r=n(26),o=n(133).trim,a=n(122),s=i.parseFloat,l=1/s(a+"-0")!=-1/0;t.exports=l?function(t){var e=o(r(t)),n=s(e);return 0===n&&"-"==e.charAt(0)?-0:n}:s},,,function(t,e,n){},function(t,e,n){},function(t,e,n){var i="undefined"!=typeof window&&window||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(r.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new o(r.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(290),e.setImmediate="undefined"!=typeof self&&self.setImmediate||"undefined"!=typeof window&&window.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||"undefined"!=typeof window&&window.clearImmediate||this&&this.clearImmediate},function(t,e,n){(function(t){!function(e,n){"use strict";if(!e.setImmediate){var i,r,o,a,s,l=1,u={},c=!1,h=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?i=function(e){t.nextTick((function(){p(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){p(t.data)},i=function(t){o.port2.postMessage(t)}):h&&"onreadystatechange"in h.createElement("script")?(r=h.documentElement,i=function(t){var e=h.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):i=function(t){setTimeout(p,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&p(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),i=function(t){e.postMessage(a+t,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n0){var i=e[e.length-1];if(i.id===t){if(i.modalClass)i.modalClass.trim().split(/\s+/).forEach((function(t){return(0,a.removeClass)(n,t)}));e.pop(),e.length>0&&(n.style.zIndex=e[e.length-1].zIndex)}else for(var r=e.length-1;r>=0;r--)if(e[r].id===t){e.splice(r,1);break}}0===e.length&&(this.modalFade&&(0,a.addClass)(n,"v-modal-leave"),setTimeout((function(){0===e.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",d.modalDom=void 0),(0,a.removeClass)(n,"v-modal-leave")}),200))}};Object.defineProperty(d,"zIndex",{configurable:!0,get:function(){return l||(u=u||(o.default.prototype.$ELEMENT||{}).zIndex||2e3,l=!0),u},set:function(t){u=t}});o.default.prototype.$isServer||window.addEventListener("keydown",(function(t){if(27===t.keyCode){var e=function(){if(!o.default.prototype.$isServer&&d.modalStack.length>0){var t=d.modalStack[d.modalStack.length-1];if(!t)return;return d.getInstance(t.id)}}();e&&e.closeOnPressEscape&&(e.handleClose?e.handleClose():e.handleAction?e.handleAction("cancel"):e.close())}})),e.default=d},function(t,e,n){},function(t,e,n){var i=n(429);t.exports=function(t,e,n){return void 0===n?i(t,e,!1):i(t,n,!1!==e)}},function(t,e,n){"use strict";e.__esModule=!0;var i,r=n(4),o=(i=r)&&i.__esModule?i:{default:i},a=n(123);var s=o.default.prototype.$isServer?function(){}:n(430),l=function(t){return t.stopPropagation()};e.default={props:{transformOrigin:{type:[Boolean,String],default:!0},placement:{type:String,default:"bottom"},boundariesPadding:{type:Number,default:5},reference:{},popper:{},offset:{default:0},value:Boolean,visibleArrow:Boolean,arrowOffset:{type:Number,default:35},appendToBody:{type:Boolean,default:!0},popperOptions:{type:Object,default:function(){return{gpuAcceleration:!1}}}},data:function(){return{showPopper:!1,currentPlacement:""}},watch:{value:{immediate:!0,handler:function(t){this.showPopper=t,this.$emit("input",t)}},showPopper:function(t){this.disabled||(t?this.updatePopper():this.destroyPopper(),this.$emit("input",t))}},methods:{createPopper:function(){var t=this;if(!this.$isServer&&(this.currentPlacement=this.currentPlacement||this.placement,/^(top|bottom|left|right)(-start|-end)?$/g.test(this.currentPlacement))){var e=this.popperOptions,n=this.popperElm=this.popperElm||this.popper||this.$refs.popper,i=this.referenceElm=this.referenceElm||this.reference||this.$refs.reference;!i&&this.$slots.reference&&this.$slots.reference[0]&&(i=this.referenceElm=this.$slots.reference[0].elm),n&&i&&(this.visibleArrow&&this.appendArrow(n),this.appendToBody&&document.body.appendChild(this.popperElm),this.popperJS&&this.popperJS.destroy&&this.popperJS.destroy(),e.placement=this.currentPlacement,e.offset=this.offset,e.arrowOffset=this.arrowOffset,this.popperJS=new s(i,n,e),this.popperJS.onCreate((function(e){t.$emit("created",t),t.resetTransformOrigin(),t.$nextTick(t.updatePopper)})),"function"==typeof e.onUpdate&&this.popperJS.onUpdate(e.onUpdate),this.popperJS._popper.style.zIndex=a.PopupManager.nextZIndex(),this.popperElm.addEventListener("click",l))}},updatePopper:function(){var t=this.popperJS;t?(t.update(),t._popper&&(t._popper.style.zIndex=a.PopupManager.nextZIndex())):this.createPopper()},doDestroy:function(t){!this.popperJS||this.showPopper&&!t||(this.popperJS.destroy(),this.popperJS=null)},destroyPopper:function(){this.popperJS&&this.resetTransformOrigin()},resetTransformOrigin:function(){if(this.transformOrigin){var t=this.popperJS._popper.getAttribute("x-placement").split("-")[0],e={top:"bottom",bottom:"top",left:"right",right:"left"}[t];this.popperJS._popper.style.transformOrigin="string"==typeof this.transformOrigin?this.transformOrigin:["top","bottom"].indexOf(t)>-1?"center "+e:e+" center"}},appendArrow:function(t){var e=void 0;if(!this.appended){for(var n in this.appended=!0,t.attributes)if(/^_v-/.test(t.attributes[n].name)){e=t.attributes[n].name;break}var i=document.createElement("div");e&&i.setAttribute(e,""),i.setAttribute("x-arrow",""),i.className="popper__arrow",t.appendChild(i)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",l),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}}},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!t||!e)throw new Error("instance & callback is required");var r=!1,o=function(){r||(r=!0,e&&e.apply(null,arguments))};i?t.$once("after-leave",o):t.$on("after-leave",o),setTimeout((function(){o()}),n+100)}},function(t,e,n){var i=n(34),r=n(66).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(t){return a.slice()}}(t):r(i(t))}},function(t,e,n){var i=n(6);t.exports=i},function(t,e,n){"use strict";var i=n(207).IteratorPrototype,r=n(54),o=n(49),a=n(105),s=n(71),l=function(){return this};t.exports=function(t,e,n){var u=e+" Iterator";return t.prototype=r(i,{next:o(1,n)}),a(t,u,!1,!0),s[u]=l,t}},function(t,e,n){var i=n(15);t.exports=function(t){if(!i(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){var i=n(8),r=n(71),o=i("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[o]===t)}},function(t,e,n){var i=n(121),r=n(71),o=n(8)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||r[i(t)]}},function(t,e,n){var i=n(8)("iterator"),r=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){r=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o={};o[i]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},,,function(t,e){var n=2311;t.exports=function(){return n++}},function(t,e,n){var i=n(20),r=n(453).buildTransformer,o=[];function a(t,e,n,o,a){if(e.getBoundingClientRect&&i.domSupported&&!s(e)){var l=e.___zrEVENTSAVED||(e.___zrEVENTSAVED={}),u=function(t,e,n){for(var i=n?"invTrans":"trans",o=e[i],a=e.srcCoords,s=!0,l=[],u=[],c=0;c<4;c++){var h=t[c].getBoundingClientRect(),d=2*c,f=h.left,p=h.top;l.push(f,p),s=s&&a&&f===a[d]&&p===a[d+1],u.push(t[c].offsetLeft,t[c].offsetTop)}return s&&o?o:(e.srcCoords=l,e[i]=n?r(u,l):r(l,u))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,l),l,a);if(u)return u(t,n,o),!0}return!1}function s(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=function(t,e,n,i,r){return a(o,e,i,r,!0)&&a(t,n,o[0],o[1])},e.transformCoordWithViewport=a,e.isCanvasEl=s},function(t,e,n){var i=n(307),r=n(88),o=n(181),a=n(456),s=n(0),l=function(t){o.call(this,t),r.call(this,t),a.call(this,t),this.id=t.id||i()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var n=this[t];n||(n=this[t]=[]),n[0]=e[0],n[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var n in t)t.hasOwnProperty(n)&&this.attrKV(n,t[n]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n.5?e:t}function h(t,e,n,i,r){var o=t.length;if(1===r)for(var a=0;ar)t.length=r;else for(var o=i;o=0&&!(I[n]<=e);n--);n=Math.min(n,_-2)}else{for(n=F;n<_&&!(I[n]>e);n++);n=Math.min(n-1,_-2)}F=n,j=e;var i=I[n+1]-I[n];if(0!==i)if(N=(e-I[n])/i,x)if(z=A[n],R=A[0===n?n:n-1],V=A[n>_-2?_-1:n+1],B=A[n>_-3?_-1:n+2],S)p(R,z,V,B,N,N*N,N*N*N,m(t,s),T);else{if(M)r=p(R,z,V,B,N,N*N,N*N*N,$,1),r=v($);else{if(C)return c(z,V,N);r=g(R,z,V,B,N,N*N,N*N*N)}y(t,s,r)}else if(S)h(A[n],A[n+1],N,m(t,s),T);else{var r;if(M)h(A[n],A[n+1],N,$,1),r=v($);else{if(C)return c(A[n],A[n+1],N);r=u(A[n],A[n+1],N)}y(t,s,r)}},ondestroy:n});return e&&"spline"!==e&&(H.easing=e),H}}}var x=function(t,e,n,i){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||s,this._setter=i||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};x.prototype={when:function(t,e){var n=this._tracks;for(var i in e)if(e.hasOwnProperty(i)){if(!n[i]){n[i]=[];var r=this._getter(this._target,i);if(null==r)continue;0!==t&&n[i].push({time:0,value:m(r)})}n[i].push({time:t,value:e[i]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t=this._maxSize&&a>0){var l=n.head;n.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new r(e),s.key=t,n.insertEntry(s),i[t]=s}return o},a.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},a.clear=function(){this._list.clear(),this._map={}};var s=o;t.exports=s},function(t,e){var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};t.exports=function(t,e,i){return n.hasOwnProperty(e)?i*t.dpr:i}},function(t,e){var n=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var i=n;t.exports=i},function(t,e){var n="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=n},function(t,e,n){var i=n(184),r=n(16),o=n(183).WILL_BE_RESTORED,a=new r,s=function(){};s.prototype={constructor:s,drawRectText:function(t,e){var n=this.style;e=n.textRect||e,this.__dirty&&i.normalizeTextStyle(n,!0);var r=n.text;if(null!=r&&(r+=""),i.needDrawText(r,n)){t.save();var s=this.transform;n.transformText?this.setTransform(t):s&&(a.copy(e),a.applyTransform(s),e=a),i.renderText(this,t,r,n,e,o),t.restore()}}};var l=s;t.exports=l},function(t,e){e.buildPath=function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,c=e.height,h=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof h?n=i=r=o=h:h instanceof Array?1===h.length?n=i=r=o=h[0]:2===h.length?(n=r=h[0],i=o=h[1]):3===h.length?(n=h[0],i=o=h[1],r=h[2]):(n=h[0],i=h[1],r=h[2],o=h[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>c&&(i*=c/(a=i+r),r*=c/a),n+o>c&&(n*=c/(a=n+o),o*=c/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+c-r),0!==r&&t.arc(s+u-r,l+c-r,r,0,Math.PI/2),t.lineTo(s+o,l+c),0!==o&&t.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}},function(t,e,n){n(9).__DEV__;var i=n(0),r=i.each,o=i.filter,a=i.map,s=i.isArray,l=i.indexOf,u=i.isObject,c=i.isString,h=i.createHashMap,d=i.assert,f=i.clone,p=i.merge,g=i.extend,m=i.mixin,v=n(5),y=n(21),x=n(24),_=n(480),b=n(329),w=n(61).resetSourceDefaulter,S=y.extend({init:function(t,e,n,i){n=n||{},this.option=null,this._theme=new y(n),this._optionManager=i},setOption:function(t,e){d(!("\0_ec_inner"in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,n=this._optionManager;if(!t||"recreate"===t){var i=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(i)):M.call(this,i),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=n.getTimelineOption(this);o&&(this.mergeOption(o),e=!0)}if(!t||"recreate"===t||"media"===t){var a=n.getMediaOption(this,this._api);a.length&&r(a,(function(t){this.mergeOption(t,e=!0)}),this)}return e},mergeOption:function(t){var e=this.option,n=this._componentsMap,i=[];w(this),r(t,(function(t,n){null!=t&&(x.hasClass(n)?n&&i.push(n):e[n]=null==e[n]?f(t):p(e[n],t,!0))})),x.topologicalTravel(i,x.getAllClassMainTypes(),(function(i,o){var a=v.normalizeToArray(t[i]),l=v.mappingToExists(n.get(i),a);v.makeIdAndName(l),r(l,(function(t,e){var n=t.option;u(n)&&(t.keyInfo.mainType=i,t.keyInfo.subType=function(t,e,n){return e.type?e.type:n?n.subType:x.determineSubType(t,e)}(i,n,t.exist))}));var c=function(t,e){s(e)||(e=e?[e]:[]);var n={};return r(e,(function(e){n[e]=(t.get(e)||[]).slice()})),n}(n,o);e[i]=[],n.set(i,[]),r(l,(function(t,r){var o=t.exist,a=t.option;if(d(u(a)||o,"Empty component definition"),a){var s=x.getClass(i,t.keyInfo.subType,!0);if(o&&o.constructor===s)o.name=t.keyInfo.name,o.mergeOption(a,this),o.optionUpdated(a,!1);else{var l=g({dependentModels:c,componentIndex:r},t.keyInfo);o=new s(a,this,this,l),g(o,l),o.init(a,this,this,l),o.optionUpdated(null,!0)}}else o.mergeOption({},this),o.optionUpdated({},!1);n.get(i)[r]=o,e[i][r]=o.option}),this),"series"===i&&C(this,n.get("series"))}),this),this._seriesIndicesMap=h(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=f(this.option);return r(t,(function(e,n){if(x.hasClass(n)){for(var i=(e=v.normalizeToArray(e)).length-1;i>=0;i--)v.isIdInner(e[i])&&e.splice(i,1);t[n]=e}})),delete t["\0_ec_inner"],t},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap.get(t);if(n)return n[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,r=t.id,u=t.name,c=this._componentsMap.get(e);if(!c||!c.length)return[];if(null!=i)s(i)||(i=[i]),n=o(a(i,(function(t){return c[t]})),(function(t){return!!t}));else if(null!=r){var h=s(r);n=o(c,(function(t){return h&&l(r,t.id)>=0||!h&&t.id===r}))}else if(null!=u){var d=s(u);n=o(c,(function(t){return d&&l(u,t.name)>=0||!d&&t.name===u}))}else n=c.slice();return T(n,t)},findComponents:function(t){var e,n,i,r,a,s=t.query,l=t.mainType,u=(n=l+"Index",i=l+"Id",r=l+"Name",!(e=s)||null==e[n]&&null==e[i]&&null==e[r]?null:{mainType:l,index:e[n],id:e[i],name:e[r]}),c=u?this.queryComponents(u):this._componentsMap.get(l);return a=T(c,t),t.filter?o(a,t.filter):a},eachComponent:function(t,e,n){var i=this._componentsMap;if("function"==typeof t)n=e,e=t,i.each((function(t,i){r(t,(function(t,r){e.call(n,i,t,r)}))}));else if(c(t))r(i.get(t),e,n);else if(u(t)){var o=this.findComponents(t);r(o,e,n)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.name===t}))},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.subType===t}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){r(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)}),this)},eachRawSeries:function(t,e){r(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,n){r(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)}),this)},eachRawSeriesByType:function(t,e,n){return r(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){C(this,o(this._componentsMap.get("series"),t,e))},restoreData:function(t){var e=this._componentsMap;C(this,e.get("series"));var n=[];e.each((function(t,e){n.push(e)})),x.topologicalTravel(n,x.getAllClassMainTypes(),(function(n,i){r(e.get(n),(function(e){("series"!==n||!function(t,e){if(e){var n=e.seiresIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t))&&e.restoreData()}))}))}});function M(t){var e,n,i;t=t,this.option={},this.option["\0_ec_inner"]=1,this._componentsMap=h({series:[]}),this._seriesIndices,this._seriesIndicesMap,e=t,n=this._theme.option,i=e.color&&!e.colorLayer,r(n,(function(t,n){"colorLayer"===n&&i||x.hasClass(n)||("object"==typeof t?e[n]=e[n]?p(e[n],t,!1):f(t):null==e[n]&&(e[n]=t))})),p(t,_,!1),this.mergeOption(t)}function C(t,e){t._seriesIndicesMap=h(t._seriesIndices=a(e,(function(t){return t.componentIndex}))||[])}function T(t,e){return e.hasOwnProperty("subType")?o(t,(function(t){return t.subType===e.subType})):t}m(S,b);var I=S;t.exports=I},function(t,e,n){var i=n(19),r=n(108),o=n(469),a=Math.sqrt,s=Math.sin,l=Math.cos,u=Math.PI,c=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},h=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(c(t)*c(e))},d=function(t,e){return(t[0]*e[1]1&&(c*=a(_),f*=a(_));var b=(r===o?-1:1)*a((c*c*(f*f)-c*c*(x*x)-f*f*(y*y))/(c*c*(x*x)+f*f*(y*y)))||0,w=b*c*x/f,S=b*-f*y/c,M=(t+n)/2+l(v)*w-s(v)*S,C=(e+i)/2+s(v)*w+l(v)*S,T=d([1,0],[(y-w)/c,(x-S)/f]),I=[(y-w)/c,(x-S)/f],A=[(-1*y-w)/c,(-1*x-S)/f],D=d(I,A);h(I,A)<=-1&&(D=u),h(I,A)>=1&&(D=0),0===o&&D>0&&(D-=2*u),1===o&&D<0&&(D+=2*u),m.addData(g,M,C,c,f,T,D,v,o)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function m(t,e){var n=function(t){if(!t)return new r;for(var e,n=0,i=0,o=n,a=i,s=new r,l=r.CMD,u=t.match(p),c=0;ce+s&&a>i+s||at+s&&o>n+s||oe+c&&u>r+c&&u>a+c||ut+c&&l>n+c&&l>o+c||le&&o>i||or?a:0}},function(t,e,n){var i=n(19).extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=i},function(t,e,n){var i=n(20),r=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];t.exports=function(t){return i.browser.ie&&i.browser.version>=11?function(){var e,n=this.__clipPaths,i=this.style;if(n)for(var o=0;o=2){if(a&&"spline"!==a){var s=r(o,a,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var l=o.length,u=0;u<(n?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=o[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}}else{"spline"===a&&(o=i(o,n)),t.moveTo(o[0][0],o[0][1]);u=1;for(var f=o.length;ue)return t[i];return t[n-1]}(u,n):l;if((c=c||l)&&c.length){var h=c[r];return t&&(s[t]=h),i.colorIdx=(r+1)%c.length,h}}};t.exports=s},function(t,e,n){var i=n(0),r=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];var o=function(t){i.each(r,(function(e){this[e]=i.bind(t[e],t)}),this)};t.exports=o},function(t,e,n){var i=n(24),r=n(186),o=n(61).detectSourceFormat,a=n(153).SERIES_LAYOUT_BY_COLUMN;i.extend({type:"dataset",defaultOption:{seriesLayoutBy:a,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){o(this)}}),r.extend({type:"dataset"})},function(t,e,n){var i=n(89),r=n(106),o=n(90),a=n(323),s=n(247),l=n(491),u=n(328),c=n(19),h=n(325),d=n(327),f=n(249),p=n(245),g=n(32),m=n(318).createFromString,v=n(0),y=v.isString,x=v.extend,_=v.defaults,b=v.trim,w=v.each,S=/[\s,]+/;function M(t){y(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));for(9===t.nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}function C(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}C.prototype.parse=function(t,e){e=e||{};var n=M(t);if(!n)throw new Error("Illegal svg");var r=new i;this._root=r;var o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),l=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(l)&&(l=null),L(n,r,null,!0);for(var u,c,h=n.firstChild;h;)this._parseNode(h,r),h=h.nextSibling;if(o){var d=b(o).split(S);d.length>=4&&(u={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(u&&null!=a&&null!=l&&(c=R(u,a,l),!e.ignoreViewBox)){var f=r;(r=new i).add(f),f.scale=c.scale.slice(),f.position=c.position.slice()}return e.ignoreRootClip||null==a||null==l||r.setClipPath(new s({shape:{x:0,y:0,width:a,height:l}})),{root:r,width:a,height:l,viewBoxRect:u,viewBoxTransform:c}},C.prototype._parseNode=function(t,e){var n,i,r=t.nodeName.toLowerCase();if("defs"===r?this._isDefine=!0:"text"===r&&(this._isText=!0),this._isDefine){if(i=I[r]){var o=i.call(this,t),a=t.getAttribute("id");a&&(this._defs[a]=o)}}else(i=T[r])&&(n=i.call(this,t,e),e.add(n));for(var s=t.firstChild;s;)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===r?this._isDefine=!1:"text"===r&&(this._isText=!1)},C.prototype._parseText=function(t,e){if(1===t.nodeType){var n=t.getAttribute("dx")||0,i=t.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(i)}var r=new o({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});A(e,r),L(t,r,this._defs);var a=r.style.fontSize;a&&a<9&&(r.style.fontSize=9,r.scale=r.scale||[1,1],r.scale[0]*=a/9,r.scale[1]*=a/9);var s=r.getBoundingRect();return this._textX+=s.width,e.add(r),r};var T={g:function(t,e){var n=new i;return A(e,n),L(t,n,this._defs),n},rect:function(t,e){var n=new s;return A(e,n),L(t,n,this._defs),n.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),n},circle:function(t,e){var n=new a;return A(e,n),L(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),n},line:function(t,e){var n=new u;return A(e,n),L(t,n,this._defs),n.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),n},ellipse:function(t,e){var n=new l;return A(e,n),L(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),n},polygon:function(t,e){var n=t.getAttribute("points");n&&(n=D(n));var i=new h({shape:{points:n||[]}});return A(e,i),L(t,i,this._defs),i},polyline:function(t,e){var n=new c;A(e,n),L(t,n,this._defs);var i=t.getAttribute("points");return i&&(i=D(i)),new d({shape:{points:i||[]}})},image:function(t,e){var n=new r;return A(e,n),L(t,n,this._defs),n.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),n},text:function(t,e){var n=t.getAttribute("x")||0,r=t.getAttribute("y")||0,o=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(o),this._textY=parseFloat(r)+parseFloat(a);var s=new i;return A(e,s),L(t,s,this._defs),s},tspan:function(t,e){var n=t.getAttribute("x"),r=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var o=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0,s=new i;return A(e,s),L(t,s,this._defs),this._textX+=o,this._textY+=a,s},path:function(t,e){var n=t.getAttribute("d")||"",i=m(n);return A(e,i),L(t,i,this._defs),i}},I={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),n=parseInt(t.getAttribute("y1")||0,10),i=parseInt(t.getAttribute("x2")||10,10),r=parseInt(t.getAttribute("y2")||0,10),o=new f(e,n,i,r);return function(t,e){var n=t.firstChild;for(;n;){if(1===n.nodeType){var i=n.getAttribute("offset");i=i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var r=n.getAttribute("stop-color")||"#000000";e.addColorStop(i,r)}n=n.nextSibling}}(t,o),o},radialgradient:function(t){}};function A(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),_(e.__inheritedStyle,t.__inheritedStyle))}function D(t){for(var e=b(t).split(S),n=[],i=0;i0;o-=2){var a=r[o],s=r[o-1];switch(i=i||g.create(),s){case"translate":a=b(a).split(S),g.translate(i,i,[parseFloat(a[0]),parseFloat(a[1]||0)]);break;case"scale":a=b(a).split(S),g.scale(i,i,[parseFloat(a[0]),parseFloat(a[1]||a[0])]);break;case"rotate":a=b(a).split(S),g.rotate(i,i,parseFloat(a[0]));break;case"skew":a=b(a).split(S),console.warn("Skew transform is not supported yet");break;case"matrix":a=b(a).split(S);i[0]=parseFloat(a[0]),i[1]=parseFloat(a[1]),i[2]=parseFloat(a[2]),i[3]=parseFloat(a[3]),i[4]=parseFloat(a[4]),i[5]=parseFloat(a[5])}}e.setLocalTransform(i)}}(t,e),x(r,function(t){var e=t.getAttribute("style"),n={};if(!e)return n;var i,r={};N.lastIndex=0;for(;null!=(i=N.exec(e));)r[i[1]]=i[2];for(var o in k)k.hasOwnProperty(o)&&null!=r[o]&&(n[k[o]]=r[o]);return n}(t)),!i))for(var a in k)if(k.hasOwnProperty(a)){var s=t.getAttribute(a);null!=s&&(r[k[a]]=s)}var l=o?"textFill":"fill",u=o?"textStroke":"stroke";e.style=e.style||new p;var c=e.style;null!=r.fill&&c.set(l,P(r.fill,n)),null!=r.stroke&&c.set(u,P(r.stroke,n)),w(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){var e="lineWidth"===t&&o?"textStrokeWidth":t;null!=r[t]&&c.set(e,parseFloat(r[t]))})),r.textBaseline&&"auto"!==r.textBaseline||(r.textBaseline="alphabetic"),"alphabetic"===r.textBaseline&&(r.textBaseline="bottom"),"start"===r.textAlign&&(r.textAlign="left"),"end"===r.textAlign&&(r.textAlign="right"),w(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(t){null!=r[t]&&c.set(t,r[t])})),r.lineDash&&(e.style.lineDash=b(r.lineDash).split(S)),c[u]&&"none"!==c[u]&&(e[u]=!0),e.__inheritedStyle=r}var O=/url\(\s*#(.*?)\)/;function P(t,e){var n=e&&t&&t.match(O);return n?e[b(n[1])]:t}var E=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;var N=/([^\s:;]+)\s*:\s*([^:;]+)/g;function R(t,e,n){var i=e/t.width,r=n/t.height,o=Math.min(i,r);return{scale:[o,o],position:[-(t.x+t.width/2)*o+e/2,-(t.y+t.height/2)*o+n/2]}}e.parseXML=M,e.makeViewBoxTransform=R,e.parseSVG=function(t,e){return(new C).parse(t,e)}},function(t,e,n){var i=n(180);e.zrender=i;var r=n(32);e.matrix=r;var o=n(14);e.vector=o;var a=n(0),s=n(51);e.color=s;var l=n(2),u=n(3);e.number=u;var c=n(11);e.format=c;var h=n(73);h.throttle;e.throttle=h.throttle;var d=n(492);e.helper=d;var f=n(339);e.parseGeoJSON=f;var p=n(40);e.List=p;var g=n(21);e.Model=g;var m=n(75);e.Axis=m;var v=n(20);e.env=v;var y=f,x={};a.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(t){x[t]=a[t]}));var _={};a.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(t){_[t]=l[t]})),e.parseGeoJson=y,e.util=x,e.graphic=_},function(t,e,n){var i=n(0);var r=function(t){null!=t&&i.extend(this,t),this.otherDims={}};t.exports=r},function(t,e,n){var i=n(0),r=i.createHashMap,o=i.each,a=i.isString,s=i.defaults,l=i.extend,u=i.isObject,c=i.clone,h=n(5).normalizeToArray,d=n(61),f=d.guessOrdinal,p=d.BE_ORDINAL,g=n(152),m=n(154).OTHER_DIMENSIONS,v=n(334);function y(t,e,n){if(n||null!=e.get(t)){for(var i=0;null!=e.get(t+i);)i++;t+=i}return e.set(t,!0),t}var x=function(t,e,n){g.isInstance(e)||(e=g.seriesDataToSource(e)),n=n||{},t=(t||[]).slice();for(var i=(n.dimsDef||[]).slice(),d=r(),x=r(),_=[],b=function(t,e,n,i){var r=Math.max(t.dimensionsDetectCount||1,e.length,n.length,i||0);return o(e,(function(t){var e=t.dimsDef;e&&(r=Math.max(r,e.length))})),r}(e,t,i,n.dimCount),w=0;wt[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,n,a){var l={},u=t[1]-t[0],c=l.interval=i.nice(u/e,!0);null!=n&&ca&&(c=l.interval=a);var h=l.intervalPrecision=o(c);return s(l.niceTickExtent=[r(Math.ceil(t[0]/c)*c,h),r(Math.floor(t[1]/c)*c,h)],t),l},e.getIntervalPrecision=o,e.fixExtent=s},function(t,e,n){var i=n(0),r=n(187),o=n(3),a=n(188),s=r.prototype,l=a.prototype,u=o.getPrecisionSafe,c=o.round,h=Math.floor,d=Math.ceil,f=Math.pow,p=Math.log,g=r.extend({type:"log",base:10,$constructor:function(){r.apply(this,arguments),this._originalScale=new a},getTicks:function(t){var e=this._originalScale,n=this._extent,r=e.getExtent();return i.map(l.getTicks.call(this,t),(function(t){var i=o.round(f(this.base,t));return i=t===n[0]&&e.__fixMin?m(i,r[0]):i,i=t===n[1]&&e.__fixMax?m(i,r[1]):i}),this)},getMinorTicks:l.getMinorTicks,getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),f(this.base,t)},setExtent:function(t,e){var n=this.base;t=p(t)/p(n),e=p(e)/p(n),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=f(t,e[0]),e[1]=f(t,e[1]);var n=this._originalScale,i=n.getExtent();return n.__fixMin&&(e[0]=m(e[0],i[0])),n.__fixMax&&(e[1]=m(e[1],i[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=p(t[0])/p(e),t[1]=p(t[1])/p(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=o.quantity(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var r=[o.round(d(e[0]/i)*i),o.round(h(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function m(t,e){return c(t,u(e))}i.each(["contain","normalize"],(function(t){g.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}})),g.create=function(){return new g};var v=g;t.exports=v},function(t,e,n){var i=n(0),r=n(340);function o(t,e,n){for(var i=[],r=e[0],o=e[1],a=0;a>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}t.exports=function(t,e){return function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var n=t.features,i=0;i0})),(function(t){var n=t.properties,o=t.geometry,a=o.coordinates,s=[];"Polygon"===o.type&&s.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===o.type&&i.each(a,(function(t){t[0]&&s.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var l=new r(n[e||"name"],s,n.cp);return l.properties=n,l}))}},function(t,e,n){var i=n(16),r=n(150),o=n(14),a=n(341);function s(t,e,n){if(this.name=t,this.geometries=e,n)n=[n[0],n[1]];else{var i=this.getBoundingRect();n=[i.x+i.width/2,i.y+i.height/2]}this.center=n}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,n=[e,e],a=[-e,-e],s=[],l=[],u=this.geometries,c=0;c0?n=i[0]:i[1]<0&&(n=i[1]);return n}(s,n),u=a.dim,c=s.dim,h=e.mapDimension(c),d=e.mapDimension(u),f="x"===c||"radius"===c?1:0,p=r(t.dimensions,(function(t){return e.mapDimension(t)})),g=e.getCalculationInfo("stackResultDimension");return(o|=i(e,p[0]))&&(p[0]=g),(o|=i(e,p[1]))&&(p[1]=g),{dataDimsForPoint:p,valueStart:l,valueAxisDim:c,baseAxisDim:u,stacked:!!o,valueDim:h,baseDim:d,baseDataOffset:f,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}},e.getStackedOnPoint=function(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}},function(t,e,n){var i=n(19),r=n(14),o=n(324),a=r.min,s=r.max,l=r.scaleAndAdd,u=r.copy,c=[],h=[],d=[];function f(t){return isNaN(t[0])||isNaN(t[1])}function p(t,e,n,i,r,o,a,s,l,u,c){return"none"!==u&&u?g.apply(this,arguments):m.apply(this,arguments)}function g(t,e,n,i,r,o,a,s,l,c,p){for(var g=0,m=n,v=0;v=r||m<0)break;if(f(y)){if(p){m+=o;continue}break}if(m===n)t[o>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=e[g],_="y"===c?1:0,b=(y[_]-x[_])*l;u(h,x),h[_]=x[_]+b,u(d,y),d[_]=y[_]-b,t.bezierCurveTo(h[0],h[1],d[0],d[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=m,m+=o}return v}function m(t,e,n,i,o,p,g,m,v,y,x){for(var _=0,b=n,w=0;w=o||b<0)break;if(f(S)){if(x){b+=p;continue}break}if(b===n)t[p>0?"moveTo":"lineTo"](S[0],S[1]),u(h,S);else if(v>0){var M=b+p,C=e[M];if(x)for(;C&&f(e[M]);)C=e[M+=p];var T=.5,I=e[_];if(!(C=e[M])||f(C))u(d,S);else{var A,D;if(f(C)&&!x&&(C=S),r.sub(c,C,I),"x"===y||"y"===y){var k="x"===y?0:1;A=Math.abs(S[k]-I[k]),D=Math.abs(S[k]-C[k])}else A=r.dist(S,I),D=r.dist(S,C);l(d,S,c,-v*(1-(T=D/(D+A))))}a(h,h,m),s(h,h,g),a(d,d,m),s(d,d,g),t.bezierCurveTo(h[0],h[1],d[0],d[1],S[0],S[1]),l(h,S,c,v*T)}else t.lineTo(S[0],S[1]);_=b,b+=p}return w}function v(t,e){var n=[1/0,1/0],i=[-1/0,-1/0];if(e)for(var r=0;ri[0]&&(i[0]=o[0]),o[1]>i[1]&&(i[1]=o[1])}return{min:e?n:i,max:e?i:n}}var y=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:o(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,r=n.length,o=v(n,e.smoothConstraint);if(e.connectNulls){for(;r>0&&f(n[r-1]);r--);for(;i0&&f(n[o-1]);o--);for(;r=0)&&(P=t);var N=new s.Text({position:A(e.center.slice()),scale:[1/g.scale[0],1/g.scale[1]],z2:10,silent:!0});if(s.setLabelStyle(N.style,N.hoverStyle={},y,x,{labelFetcher:P,labelDataIndex:E,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!v){var R=[1/f[0],1/f[1]];s.updateProps(N,{scale:R},t)}n.add(N)}if(l)l.setItemGraphicEl(o,n);else{var z=t.getRegionModel(e.name);r.eventData={componentType:"geo",componentIndex:t.componentIndex,geoIndex:t.componentIndex,name:e.name,region:z&&z.option||{}}}(n.__regions||(n.__regions=[])).push(e),n.highDownSilentOnTouch=!!t.get("selectedMode"),s.setHoverStyle(n,m),p.add(n)})),this._updateController(t,e,n),function(t,e,n,r,o){n.off("click"),n.off("mousedown"),e.get("selectedMode")&&(n.on("mousedown",(function(){t._mouseDownFlag=!0})),n.on("click",(function(a){if(t._mouseDownFlag){t._mouseDownFlag=!1;for(var s=a.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===e.mainType?"geo":"map")+"ToggleSelect",batch:i.map(s.__regions,(function(t){return{name:t.name,from:o.uid}}))};l[e.mainType+"Id"]=e.id,r.dispatchAction(l),d(e,n)}}})))}(this,t,p,n,r),d(t,p)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&l.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(t){var e=t.map;this._mapName!==e&&i.each(l.makeGraphic(e,this.uid),(function(t){this._backgroundGroup.add(t)}),this),this._mapName=e},_updateController:function(t,e,n){var r=t.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=t.get("scaleLimit"),l.zoom=r.getZoom(),s.enable(t.get("roam")||!1);var u=t.mainType;function c(){var e={type:"geoRoam",componentType:u};return e[u+"Id"]=t.id,e}s.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,o.updateViewOnPan(l,t.dx,t.dy),n.dispatchAction(i.extend(c(),{dx:t.dx,dy:t.dy}))}),this),s.off("zoom").on("zoom",(function(t){if(this._mouseDownFlag=!1,o.updateViewOnZoom(l,t.scale,t.originX,t.originY),n.dispatchAction(i.extend(c(),{zoom:t.scale,originX:t.originX,originY:t.originY})),this._updateGroup){var e=this.group.scale;this._regionsGroup.traverse((function(t){"text"===t.type&&t.attr("scale",[1/e[0],1/e[1]])}))}}),this),s.setPointerChecker((function(e,i,o){return r.getViewRectAfterRoam().contain(i,o)&&!a(e,n,t)}))}};var p=f;t.exports=p},function(t,e,n){var i=n(1),r="\0_ec_interaction_mutex";function o(t){return t[r]||(t[r]={})}i.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),e.take=function(t,e,n){o(t)[e]=n},e.release=function(t,e,n){var i=o(t);i[e]===n&&(i[e]=null)},e.isTaken=function(t,e){return!!o(t)[e]}},function(t,e,n){var i=n(1),r=n(0),o=n(258).updateCenterAndZoom;i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){var i=e.coordinateSystem;if("geo"===i.type){var a=o(i,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(a.center),e.setZoom&&e.setZoom(a.zoom),"series"===n&&r.each(e.seriesGroup,(function(t){t.setCenter(a.center),t.setZoom(a.zoom)}))}}))}))},function(t,e,n){var i=n(0),r=i.each,o="\0__link_datas",a="\0__link_mainData";function s(t,e){if((r=this)[a]===r){var n=i.extend({},this[o]);n[this.dataType]=e,h(e,n,t)}else d(e,this.dataType,this[a],t);var r;return e}function l(t,e){return t.struct&&t.struct.update(this),e}function u(t,e){return r(e[o],(function(n,i){n!==e&&d(n.cloneShallow(),i,e,t)})),e}function c(t){var e=this[a];return null==t||null==e?e:e[o][t]}function h(t,e,n){t[o]={},r(e,(function(e,i){d(e,i,t,n)}))}function d(t,e,n,i){n[o][e]=t,t[a]=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=c}var f=function(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,h(e,n,t),r(n,(function(n){r(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,i.curry(s,t))}))})),e.wrapMethod("cloneShallow",i.curry(u,t)),r(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,i.curry(l,t))})),i.assert(n[e.dataType]===e)};t.exports=f},function(t,e,n){var i=n(10);function r(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function o(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function a(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function s(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function l(t,e){return t.parentNode===e.parentNode?1:2}e.init=function(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var e,n,i=[t];e=i.pop();)if(n=e.children,e.isExpand&&n.length)for(var r=n.length-1;r>=0;r--){var o=n[r];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:r,thread:null},i.push(o)}},e.firstWalk=function(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,l=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){!function(t){var e=t.children,n=e.length,i=0,r=0;for(;--n>=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var u=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;l?(t.hierNode.prelim=l.hierNode.prelim+e(t,l),t.hierNode.modifier=t.hierNode.prelim-u):t.hierNode.prelim=u}else l&&(t.hierNode.prelim=l.hierNode.prelim+e(t,l));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var l=t,u=t,c=u.parentNode.children[0],h=e,d=l.hierNode.modifier,f=u.hierNode.modifier,p=c.hierNode.modifier,g=h.hierNode.modifier;h=r(h),u=o(u),h&&u;){l=r(l),c=o(c),l.hierNode.ancestor=t;var m=h.hierNode.prelim+g-u.hierNode.prelim-f+i(h,u);m>0&&(s(a(h,t,n),t,m),f+=m,d+=m),g+=h.hierNode.modifier,f+=u.hierNode.modifier,d+=l.hierNode.modifier,p+=c.hierNode.modifier}h&&!r(l)&&(l.hierNode.thread=h,l.hierNode.modifier+=g-d),u&&!o(c)&&(c.hierNode.thread=u,c.hierNode.modifier+=f-p,n=t)}return n}(t,l,t.parentNode.hierNode.defaultAncestor||i[0],e)},e.secondWalk=function(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier},e.separation=function(t){return arguments.length?t:l},e.radialCoordinate=function(t,e){var n={};return t-=Math.PI/2,n.x=e*Math.cos(t),n.y=e*Math.sin(t),n},e.getViewRect=function(t,e){return i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}},function(t,e,n){var i=n(0),r=n(40),o=n(561),a=n(356),s=n(110),l=n(45),u=n(62);t.exports=function(t,e,n,c,h){for(var d=new o(c),f=0;f "+x)),m++)}var _,b=n.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(t,n);else{var w=l.get(b),S=w&&"view"!==w.type&&w.dimensions||[];i.indexOf(S,"value")<0&&S.concat(["value"]);var M=s(t,{coordDimensions:S});(_=new r(M,n)).initData(t)}var C=new r(["value"],n);return C.initData(g,p),h&&h(_,C),a({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},function(t,e,n){var i=n(1);i.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),i.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},function(t,e,n){var i=n(14),r=n(0),o=n(196).getCurvenessForEdge;function a(t,e){t.eachEdge((function(t,n){var a=r.retrieve3(t.getModel().get("lineStyle.curveness"),-o(t,e,n,!0),0),s=i.clone(t.node1.getLayout()),l=i.clone(t.node2.getLayout()),u=[s,l];+a&&u.push([(s[0]+l[0])/2-(s[1]-l[1])*a,(s[1]+l[1])/2-(l[0]-s[0])*a]),t.setLayout(u)}))}e.simpleLayout=function(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),a(n,t)}},e.simpleLayoutEdge=a},function(t,e,n){var i=n(14),r=n(264),o=r.getSymbolSize,a=r.getNodeGlobalScale,s=n(0),l=n(196).getCurvenessForEdge,u=Math.PI,c=[];var h={value:function(t,e,n,i,r,o,a,s){var l=0,u=i.getSum("value"),c=2*Math.PI/(u||s);n.eachNode((function(t){var e=t.getValue("value"),n=c*(u?e:1)/2;l+=n,t.setLayout([r*Math.cos(l)+o,r*Math.sin(l)+a]),l+=n}))},symbolSize:function(t,e,n,i,r,s,l,h){var d=0;c.length=h;var f=a(t);n.eachNode((function(t){var e=o(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=f;var n=Math.asin(e/2/r);isNaN(n)&&(n=u/2),c[t.dataIndex]=n,d+=2*n}));var p=(2*u-d)/h/2,g=0;n.eachNode((function(t){var e=p+c[t.dataIndex];g+=e,t.setLayout([r*Math.cos(g)+s,r*Math.sin(g)+l]),g+=e}))}};e.circularLayout=function(t,e){var n=t.coordinateSystem;if(!n||"view"===n.type){var r=n.getBoundingRect(),o=t.getData(),a=o.graph,u=r.width/2+r.x,c=r.height/2+r.y,d=Math.min(r.width,r.height)/2,f=o.count();o.setLayout({cx:u,cy:c}),f&&(h[e](t,n,a,o,d,u,c,f),a.eachEdge((function(e,n){var r,o=s.retrieve3(e.getModel().get("lineStyle.curveness"),l(e,t,n),0),a=i.clone(e.node1.getLayout()),h=i.clone(e.node2.getLayout()),d=(a[0]+h[0])/2,f=(a[1]+h[1])/2;+o&&(r=[u*(o*=3)+d*(1-o),c*o+f*(1-o)]),e.setLayout([a,h,r])})))}}},function(t,e,n){var i=n(1),r=n(0),o=n(73),a=n(583);n(363),n(586),n(588);i.extendComponentView({type:"parallel",render:function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},r.each(s,(function(t,e){n.getZr().on(e,this._handlers[e]=r.bind(t,this))}),this)),o.createOrUpdate(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},dispose:function(t,e){r.each(this._handlers,(function(t,n){e.getZr().off(n,t)})),this._handlers=null},_throttledDispatchExpand:function(t){this._dispatchExpand(t)},_dispatchExpand:function(t){t&&this._api.dispatchAction(r.extend({type:"parallelAxisExpand"},t))}});var s={mousedown:function(t){l(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(l(this,"click")&&e){var n=[t.offsetX,t.offsetY];if(Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2)>5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&l(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i&&null})}}};function l(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}i.registerPreprocessor(a)},function(t,e,n){var i=n(584);n(45).register("parallel",{create:function(t,e){var n=[];return t.eachComponent("parallel",(function(r,o){var a=new i(r,t,e);a.name="parallel_"+o,a.resize(r,e),r.coordinateSystem=a,a.model=r,n.push(a)})),t.eachSeries((function(e){if("parallel"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"parallel",index:e.get("parallelIndex"),id:e.get("parallelId")})[0];e.coordinateSystem=n.coordinateSystem}})),n}})},function(t,e,n){var i=n(16),r=n(195).onIrrelevantElement,o=n(2);function a(t){return i.create(t)}e.makeRectPanelClipPath=function(t){return t=a(t),function(e,n){return o.clipPointsByRect(e,t)}},e.makeLinearBrushOtherExtent=function(t,e){return t=a(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,o=i?t.x:t.y;return[o,o+(r||0)]}},e.makeRectIsTargetByCursor=function(t,e,n){return t=a(t),function(i,o,a){return t.contain(o[0],o[1])&&!r(i,e,n)}}},function(t,e,n){var i=n(113),r=n(0),o=n(154).getDimensionTypeByAxis,a=n(61).makeSeriesEncodeForAxisCoordSys,s={_baseAxisDim:null,getInitialData:function(t,e){var n,s,l=e.getComponent("xAxis",this.get("xAxisIndex")),u=e.getComponent("yAxis",this.get("yAxisIndex")),c=l.get("type"),h=u.get("type");"category"===c?(t.layout="horizontal",n=l.getOrdinalMeta(),s=!0):"category"===h?(t.layout="vertical",n=u.getOrdinalMeta(),s=!0):t.layout=t.layout||"horizontal";var d=["x","y"],f="horizontal"===t.layout?0:1,p=this._baseAxisDim=d[f],g=d[1-f],m=[l,u],v=m[f].get("type"),y=m[1-f].get("type"),x=t.data;if(x&&s){var _=[];r.each(x,(function(t,e){var n;t.value&&r.isArray(t.value)?(n=t.value.slice(),t.value.unshift(e)):r.isArray(t)?(n=t.slice(),t.unshift(e)):n=t,_.push(n)})),t.data=_}var b=this.defaultValueDimensions,w=[{name:p,type:o(v),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:g,type:o(y),dimsDef:b.slice()}];return i(this,{coordDimensions:w,dimensionsCount:b.length+1,encodeDefaulter:r.curry(a,w,this)})},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}};e.seriesModelMixin=s},function(t,e,n){var i=n(2),r=n(263),o=n(0),a=n(41).createSymbol,s=n(14),l=n(72);function u(t,e,n){i.Group.call(this),this.add(this.createLine(t,e,n)),this._updateEffectSymbol(t,e)}var c=u.prototype;c.createLine=function(t,e,n){return new r(t,e,n)},c._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),i=n.get("symbolSize"),r=n.get("symbol");o.isArray(i)||(i=[i,i]);var s=n.get("color")||t.getItemVisual(e,"color"),l=this.childAt(1);this._symbolType!==r&&(this.remove(l),(l=a(r,-.5,-.5,1,1,s)).z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",s),l.setStyle(n.getItemStyle(["color"])),l.attr("scale",i),l.setColor(s),l.attr("scale",i),this._symbolType=r,this._symbolScale=i,this._updateEffectAnimation(t,n,e))},c._updateEffectAnimation=function(t,e,n){var i=this.childAt(1);if(i){var r=this,a=t.getItemLayout(n),s=1e3*e.get("period"),l=e.get("loop"),u=e.get("constantSpeed"),c=o.retrieve(e.get("delay"),(function(e){return e/t.count()*s/3})),h="function"==typeof c;if(i.ignore=!0,this.updateAnimationPoints(i,a),u>0&&(s=this.getLineLength(i)/u*1e3),s!==this._period||l!==this._loop){i.stopAnimation();var d=c;h&&(d=c(n)),i.__t>0&&(d=-s*i.__t),i.__t=0;var f=i.animate("",l).when(s,{__t:1}).delay(d).during((function(){r.updateSymbolPosition(i)}));l||f.done((function(){r.remove(i)})),f.start()}this._period=s,this._loop=l}},c.getLineLength=function(t){return s.dist(t.__p1,t.__cp1)+s.dist(t.__cp1,t.__p2)},c.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},c.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},c.updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t,o=t.position,a=[o[0],o[1]],u=l.quadraticAt,c=l.quadraticDerivativeAt;o[0]=u(e[0],i[0],n[0],r),o[1]=u(e[1],i[1],n[1],r);var h=c(e[0],i[0],n[0],r),d=c(e[1],i[1],n[1],r);if(t.rotation=-Math.atan2(d,h)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==t.__lastT&&t.__lastT=0)&&t(o,i,r)}))}var f=d.prototype;function p(t){return t[0]>t[1]&&t.reverse(),t}function g(t,e){return o.parseFinder(t,e,{includeMainTypes:h})}f.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=x[t.brushType](0,n,e);t.__rangeOffset={offset:b[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}}))},f.matchOutputRanges=function(t,e,n){s(t,(function(t){var r=this.findTargetInfo(t,e);r&&!0!==r&&i.each(r.coordSyses,(function(i){var r=x[t.brushType](1,i,t.range);n(t,r.values,i,e)}))}),this)},f.setInputRanges=function(t,e){s(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=x[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?b[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=S(n),o=S(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},f.makePanelOpts=function(t,e){return i.map(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e&&e(n),clipPath:a.makeRectPanelClipPath(i),isTargetByCursor:a.makeRectIsTargetByCursor(i,t,n.coordSysModel),getLinearBrushOtherExtent:a.makeLinearBrushOtherExtent(i)}}))},f.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&l(i.coordSyses,e.coordinateSystem)>=0},f.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=g(e,t),r=0;r=0||l(r,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:y.grid,xAxisDeclared:u[t.id],yAxisDeclared:c[t.id]})})))},geo:function(t,e){s(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:y.geo})}))}},v=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],y={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(r.getTransform(t)),e}},x={lineX:u(_,0),lineY:u(_,1),rect:function(t,e,n){var i=e[c[t]]([n[0][0],n[1][0]]),r=e[c[t]]([n[0][1],n[1][1]]),o=[p([i[0],r[0]]),p([i[1],r[1]])];return{values:o,xyMinMax:o}},polygon:function(t,e,n){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:i.map(n,(function(n){var i=e[c[t]](n);return r[0][0]=Math.min(r[0][0],i[0]),r[1][0]=Math.min(r[1][0],i[1]),r[0][1]=Math.max(r[0][1],i[0]),r[1][1]=Math.max(r[1][1],i[1]),i})),xyMinMax:r}}};function _(t,e,n,r){var o=n.getAxis(["x","y"][t]),a=p(i.map([0,1],(function(t){return e?o.coordToData(o.toLocalCoord(r[t])):o.toGlobalCoord(o.dataToCoord(r[t]))}))),s=[];return s[t]=a,s[1-t]=[NaN,NaN],{values:a,xyMinMax:s}}var b={lineX:u(w,0),lineY:u(w,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return i.map(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function w(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function S(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var M=d;t.exports=M},function(t,e,n){var i=n(0).each,r="\0_ec_hist_store";function o(t){var e=t[r];return e||(e=t[r]=[{}]),e}e.push=function(t,e){var n=o(t);i(e,(function(e,i){for(var r=n.length-1;r>=0;r--){if(n[r][i])break}if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)},e.pop=function(t){var e=o(t),n=e[e.length-1];e.length>1&&e.pop();var r={};return i(n,(function(t,n){for(var i=e.length-1;i>=0;i--){if(t=e[i][n]){r[n]=t;break}}})),r},e.clear=function(t){t[r]=null},e.count=function(t){return o(t).length}},function(t,e,n){var i=n(1),r=n(0),o=n(16),a=n(198),s=n(693),l=n(73),u=n(375),c=["inBrush","outOfBrush"],h=i.PRIORITY.VISUAL.BRUSH;function d(t){t.eachComponent({mainType:"brush"},(function(e){(e.brushTargetManager=new u(e.option,t)).setInputRanges(e.areas,t)}))}function f(t,e){if(!t.isDisposed()){var n=t.getZr();n.__ecInBrushSelectEvent=!0,t.dispatchAction({type:"brushSelect",batch:e}),n.__ecInBrushSelectEvent=!1}}function p(t,e,n,i){for(var r=0,o=e.length;re[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&v(e)}};function v(t){return new o(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}e.layoutCovers=d},function(t,e,n){var i=n(1),r=n(0),o=n(21),a=n(5).isNameSpecified,s=n(74).legend.selector,l={all:{type:"all",title:r.clone(s.all)},inverse:{type:"inverse",title:r.clone(s.inverse)}},u=i.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},mergeOption:function(t){u.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var e=t.selector;!0===e&&(e=t.selector=["all","inverse"]),r.isArray(e)&&r.each(e,(function(t,n){r.isString(t)&&(t={type:t}),e[n]=r.merge(t,l[t.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),c=u;t.exports=c},function(t,e,n){n(9).__DEV__;var i=n(1),r=n(0),o=n(41).createSymbol,a=n(2),s=n(374).makeBackground,l=n(10),u=r.curry,c=r.each,h=a.Group,d=i.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new h),this._backgroundEl,this.group.add(this._selectorGroup=new h),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var o=t.get("align"),a=t.get("orient");o&&"auto"!==o||(o="right"===t.get("left")&&"vertical"===a?"right":"left");var u=t.get("selector",!0),c=t.get("selectorPosition",!0);!u||c&&"auto"!==c||(c="horizontal"===a?"end":"start"),this.renderInner(o,t,e,n,u,a,c);var h=t.getBoxLayoutParams(),d={width:n.getWidth(),height:n.getHeight()},f=t.get("padding"),p=l.getLayoutRect(h,d,f),g=this.layoutInner(t,o,p,i,u,c),m=l.getLayoutRect(r.defaults({width:g.width,height:g.height},h),d,f);this.group.attr("position",[m.x-g.x,m.y-g.y]),this.group.add(this._backgroundEl=s(g,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(t,e,n,i,o,a,s){var l=this.getContentGroup(),d=r.createHashMap(),f=e.get("selectedMode"),v=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&v.push(t.id)})),c(e.getData(),(function(r,o){var a=r.get("name");if(this.newlineDisabled||""!==a&&"\n"!==a){var s=n.getSeriesByName(a)[0];if(!d.get(a))if(s){var c=s.getData(),y=c.getVisual("color"),x=c.getVisual("borderColor");"function"==typeof y&&(y=y(s.getDataParams(0))),"function"==typeof x&&(x=x(s.getDataParams(0)));var _=c.getVisual("legendSymbol")||"roundRect",b=c.getVisual("symbol");this._createItem(a,o,r,e,_,b,t,y,x,f).on("click",u(p,a,null,i,v)).on("mouseover",u(g,s.name,null,i,v)).on("mouseout",u(m,s.name,null,i,v)),d.set(a,!0)}else n.eachRawSeries((function(n){if(!d.get(a)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(a))return;var l=s.indexOfName(a),c=s.getItemVisual(l,"color"),h=s.getItemVisual(l,"borderColor");this._createItem(a,o,r,e,"roundRect",null,t,c,h,f).on("click",u(p,null,a,i,v)).on("mouseover",u(g,null,a,i,v)).on("mouseout",u(m,null,a,i,v)),d.set(a,!0)}}),this)}else l.add(new h({newline:!0}))}),this),o&&this._createSelector(o,e,i,a,s)},_createSelector:function(t,e,n,i,r){var o=this.getSelectorGroup();c(t,(function(t){!function(t){var i=t.type,r=new a.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r);var s=e.getModel("selectorLabel"),l=e.getModel("emphasis.selectorLabel");a.setLabelStyle(r.style,r.hoverStyle={},s,l,{defaultText:t.title,isRectText:!1}),a.setHoverStyle(r)}(t)}))},_createItem:function(t,e,n,i,s,l,u,c,d,p){var g=i.get("itemWidth"),m=i.get("itemHeight"),v=i.get("inactiveColor"),y=i.get("inactiveBorderColor"),x=i.get("symbolKeepAspect"),_=i.getModel("itemStyle"),b=i.isSelected(t),w=new h,S=n.getModel("textStyle"),M=n.get("icon"),C=n.getModel("tooltip"),T=C.parentModel,I=o(s=M||s,0,0,g,m,b?c:v,null==x||x);if(w.add(f(I,s,_,d,y,b)),!M&&l&&(l!==s||"none"===l)){var A=.8*m;"none"===l&&(l="circle");var D=o(l,(g-A)/2,(m-A)/2,A,A,b?c:v,null==x||x);w.add(f(D,l,_,d,y,b))}var k="left"===u?g+5:-5,L=u,O=i.get("formatter"),P=t;"string"==typeof O&&O?P=O.replace("{name}",null!=t?t:""):"function"==typeof O&&(P=O(t)),w.add(new a.Text({style:a.setTextStyle({},S,{text:P,x:k,y:m/2,textFill:b?S.getTextColor():v,textAlign:L,textVerticalAlign:"middle"})}));var E=new a.Rect({shape:w.getBoundingRect(),invisible:!0,tooltip:C.get("show")?r.extend({content:t,formatter:T.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:i.componentIndex,name:t,$vars:["name"]}},C.option):null});return w.add(E),w.eachChild((function(t){t.silent=!0})),E.silent=!p,this.getContentGroup().add(w),a.setHoverStyle(w),w.__legendDataIndex=e,w},layoutInner:function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();l.box(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var u=a.getBoundingRect(),c=[-u.x,-u.y];if(r){l.box("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),d=[-h.x,-h.y],f=t.get("selectorButtonGap",!0),p=t.getOrient().index,g=0===p?"width":"height",m=0===p?"height":"width",v=0===p?"y":"x";"end"===o?d[p]+=u[g]+f:c[p]+=h[g]+f,d[1-p]+=u[m]/2-h[m]/2,s.attr("position",d),a.attr("position",c);var y={x:0,y:0};return y[g]=u[g]+f+h[g],y[m]=Math.max(u[m],h[m]),y[v]=Math.min(0,h[v]+d[1-p]),y}return a.attr("position",c),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function f(t,e,n,i,r,o){var a;return"line"!==e&&e.indexOf("empty")<0?(a=n.getItemStyle(),t.style.stroke=i,o||(a.stroke=r)):a=n.getItemStyle(["borderWidth","borderColor"]),t.setStyle(a)}function p(t,e,n,i){m(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),g(t,e,n,i)}function g(t,e,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function m(t,e,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}t.exports=d},function(t,e,n){n(268),n(115),n(116),n(724),n(725),n(270),n(271)},function(t,e,n){n(268),n(115),n(116),n(726),n(727),n(270),n(271)},function(t,e,n){var i=n(1),r=n(383);n(384),n(385),n(730),n(731),n(390),i.registerPreprocessor(r)},function(t,e,n){var i=n(0),r=i.each;function o(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}t.exports=function(t){var e=t&&t.visualMap;i.isArray(e)||(e=e?[e]:[]),r(e,(function(t){if(t){o(t,"splitList")&&!o(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&i.isArray(e)&&r(e,(function(t){i.isObject(t)&&(o(t,"start")&&!o(t,"min")&&(t.min=t.start),o(t,"end")&&!o(t,"max")&&(t.max=t.end))}))}}))}},function(t,e,n){n(24).registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}))},function(t,e,n){var i=n(1),r=n(0),o=n(198),a=n(96),s=i.PRIORITY.VISUAL.COMPONENT;function l(t,e,n,i){for(var r=e.targetVisuals[i],o=a.prepareVisualTypes(r),s={color:t.getData().getVisual("color")},l=0,u=o.length;l"],r.isArray(t)&&(t=t.slice(),i=!0),o=e?t:i?[c(t[0]),c(t[1])]:c(t),r.isString(u)?u.replace("{value}",i?o[0]:o).replace("{value2}",i?o[1]:o):r.isFunction(u)?i?u(t[0],t[1]):u(t):i?t[0]===l[0]?n[0]+" "+o[1]:t[1]===l[1]?n[1]+" "+o[0]:o[0]+" - "+o[1]:o;function c(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension,n=t.dimensions;if(null!=e||n.length){if(null!=e)return t.getDimension(e);for(var i=t.dimensions,r=i.length-1;r>=0;r--){var o=i[r];if(!t.getDimensionInfo(o).isCalculationCoord)return o}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),o=e.controller||(e.controller={});r.merge(i,n),r.merge(o,n);var l=this.isCategory();function u(n){f(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")},p(this.stateList,(function(t){var e=n[t];if(r.isString(e)){var i=a.get(e,"active",l);i?(n[t]={},n[t][e]=i):delete n[t]}}),this)}u.call(this,i),u.call(this,o),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},p(i,(function(t,e){if(s.isValidType(e)){var n=a.get(e,"inactive",l);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor");p(this.stateList,(function(o){var a=this.itemSize,s=t[o];s||(s=t[o]={color:l?i:[i]}),null==s.symbol&&(s.symbol=e&&r.clone(e)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&r.clone(n)||(l?a[0]:[a[0],a[0]])),s.symbol=h(s.symbol,(function(t){return"none"===t||"square"===t?"roundRect":t}));var u=s.symbolSize;if(null!=u){var c=-1/0;d(u,(function(t){t>c&&(c=t)})),s.symbolSize=h(u,(function(t){return m(t,[0,c],[0,a[0]],!0)}))}}),this)}.call(this,o)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});t.exports=y},function(t,e,n){var i=n(0),r={get:function(t,e,n){var r=i.clone((o[t]||{})[e]);return n&&i.isArray(r)?r[r.length-1]:r}},o={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},a=r;t.exports=a},function(t,e,n){var i=n(1),r=n(0),o=n(2),a=n(11),s=n(10),l=n(96),u=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e,this.visualMapModel},render:function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,n=a.normalizeCssArray(e.get("padding")||0),i=t.getBoundingRect();t.add(new o.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,n){var i=(n=n||{}).forceState,o=this.visualMapModel,a={};if("symbol"===e&&(a.symbol=o.get("itemSymbol")),"color"===e){var s=o.get("contentColor");a.color=s}function u(t){return a[t]}function c(t,e){a[t]=e}var h=o.controllerVisuals[i||o.getValueState(t)],d=l.prepareVisualTypes(h);return r.each(d,(function(i){var r=h[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=h.__alphaForOpacity),l.dependsOn(i,e)&&r&&r.applyVisual(t,u,c)})),a[e]},positionGroup:function(t){var e=this.visualMapModel,n=this.api;s.positionElement(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:r.noop});t.exports=u},function(t,e,n){var i=n(0),r=n(10).getLayoutRect;e.getItemAlign=function(t,e,n){var i=t.option,o=i.align;if(null!=o&&"auto"!==o)return o;for(var a={width:e.getWidth(),height:e.getHeight()},s="horizontal"===i.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],u=l[s],c=[0,null,10],h={},d=0;d<3;d++)h[l[1-s][d]]=c[d],h[u[d]]=2===d?n[0]:i[u[d]];var f=[["x","width",3],["y","height",0]][s],p=r(h,a,i.padding);return u[(p.margin[f[2]]||0)+p[f[0]]+.5*p[f[1]]<.5*a[f[1]]?0:1]},e.makeHighDownBatch=function(t,e){return i.each(t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}},function(t,e,n){n(1).registerAction({type:"selectDataRange",event:"dataRangeSelected",update:"update"},(function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))}))},function(t,e,n){var i=n(1),r=n(383);n(384),n(385),n(732),n(733),n(390),i.registerPreprocessor(r)},function(t,e,n){var i,r=n(20),o="urn:schemas-microsoft-com:vml",a="undefined"==typeof window?null:window,s=!1,l=a&&a.document;if(l&&!r.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",o),i=function(t){return l.createElement("')}}catch(t){i=function(t){return l.createElement("<"+t+' xmlns="'+o+'" class="zrvml">')}}e.doc=l,e.createNode=function(t){return i(t)},e.initVML=function(){if(!s&&l){s=!0;var t=l.styleSheets;t.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},,function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=89)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},89:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this.$createElement;return(this._self._c||t)("i",{class:"el-icon-"+this.name})};i._withStripped=!0;var r={name:"ElIcon",props:{name:String}},o=n(0),a=Object(o.a)(r,i,[],!1,null,null,null);a.options.__file="packages/icon/src/icon.vue";var s=a.exports;s.install=function(t){t.component(s.name,s)};e.default=s}})},function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=116)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},116:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"el-radio-button",class:[t.size?"el-radio-button--"+t.size:"",{"is-active":t.value===t.label},{"is-disabled":t.isDisabled},{"is-focus":t.focus}],attrs:{role:"radio","aria-checked":t.value===t.label,"aria-disabled":t.isDisabled,tabindex:t.tabIndex},on:{keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"]))return null;e.stopPropagation(),e.preventDefault(),t.value=t.isDisabled?t.value:t.label}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"el-radio-button__orig-radio",attrs:{type:"radio",name:t.name,disabled:t.isDisabled,tabindex:"-1"},domProps:{value:t.label,checked:t._q(t.value,t.label)},on:{change:[function(e){t.value=t.label},t.handleChange],focus:function(e){t.focus=!0},blur:function(e){t.focus=!1}}}),n("span",{staticClass:"el-radio-button__inner",style:t.value===t.label?t.activeStyle:null,on:{keydown:function(t){t.stopPropagation()}}},[t._t("default"),t.$slots.default?t._e():[t._v(t._s(t.label))]],2)])};i._withStripped=!0;var r=n(4),o={name:"ElRadioButton",mixins:[n.n(r).a],inject:{elForm:{default:""},elFormItem:{default:""}},props:{label:{},disabled:Boolean,name:String},data:function(){return{focus:!1}},computed:{value:{get:function(){return this._radioGroup.value},set:function(t){this._radioGroup.$emit("input",t)}},_radioGroup:function(){for(var t=this.$parent;t;){if("ElRadioGroup"===t.$options.componentName)return t;t=t.$parent}return!1},activeStyle:function(){return{backgroundColor:this._radioGroup.fill||"",borderColor:this._radioGroup.fill||"",boxShadow:this._radioGroup.fill?"-1px 0 0 0 "+this._radioGroup.fill:"",color:this._radioGroup.textColor||""}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},size:function(){return this._radioGroup.radioGroupSize||this._elFormItemSize||(this.$ELEMENT||{}).size},isDisabled:function(){return this.disabled||this._radioGroup.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this._radioGroup&&this.value!==this.label?-1:0}},methods:{handleChange:function(){var t=this;this.$nextTick((function(){t.dispatch("ElRadioGroup","handleChange",t.value)}))}}},a=n(0),s=Object(a.a)(o,i,[],!1,null,null,null);s.options.__file="packages/radio/src/radio-button.vue";var l=s.exports;l.install=function(t){t.component(l.name,l)};e.default=l},4:function(t,e){t.exports=n(44)}})},function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=102)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},102:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return!t.lazy||t.loaded||t.active?n("div",{directives:[{name:"show",rawName:"v-show",value:t.active,expression:"active"}],staticClass:"el-tab-pane",attrs:{role:"tabpanel","aria-hidden":!t.active,id:"pane-"+t.paneName,"aria-labelledby":"tab-"+t.paneName}},[t._t("default")],2):t._e()};i._withStripped=!0;var r={name:"ElTabPane",componentName:"ElTabPane",props:{label:String,labelContent:Function,name:String,closable:Boolean,disabled:Boolean,lazy:Boolean},data:function(){return{index:null,loaded:!1}},computed:{isClosable:function(){return this.closable||this.$parent.closable},active:function(){var t=this.$parent.currentName===(this.name||this.index);return t&&(this.loaded=!0),t},paneName:function(){return this.name||this.index}},updated:function(){this.$parent.$emit("tab-nav-update")}},o=n(0),a=Object(o.a)(r,i,[],!1,null,null,null);a.options.__file="packages/tabs/src/tab-pane.vue";var s=a.exports;s.install=function(t){t.component(s.name,s)};e.default=s}})},function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=63)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},16:function(t,e){t.exports=n(242)},3:function(t,e){t.exports=n(58)},63:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"el-tabs__active-bar",class:"is-"+this.rootTabs.tabPosition,style:this.barStyle})};i._withStripped=!0;var r=n(3),o={name:"TabBar",props:{tabs:Array},inject:["rootTabs"],computed:{barStyle:{get:function(){var t=this,e={},n=0,i=0,o=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"width":"height",a="width"===o?"x":"y",s=function(t){return t.toLowerCase().replace(/( |^)[a-z]/g,(function(t){return t.toUpperCase()}))};this.tabs.every((function(e,a){var l=Object(r.arrayFind)(t.$parent.$refs.tabs||[],(function(t){return t.id.replace("tab-","")===e.paneName}));if(!l)return!1;if(e.active){i=l["client"+s(o)];var u=window.getComputedStyle(l);return"width"===o&&t.tabs.length>1&&(i-=parseFloat(u.paddingLeft)+parseFloat(u.paddingRight)),"width"===o&&(n+=parseFloat(u.paddingLeft)),!1}return n+=l["client"+s(o)],!0}));var l="translate"+s(a)+"("+n+"px)";return e[o]=i+"px",e.transform=l,e.msTransform=l,e.webkitTransform=l,e}}}},a=n(0),s=Object(a.a)(o,i,[],!1,null,null,null);s.options.__file="packages/tabs/src/tab-bar.vue";var l=s.exports,u=n(16);function c(){}var h=function(t){return t.toLowerCase().replace(/( |^)[a-z]/g,(function(t){return t.toUpperCase()}))},d={name:"TabNav",components:{TabBar:l},inject:["rootTabs"],props:{panes:Array,currentName:String,editable:Boolean,onTabClick:{type:Function,default:c},onTabRemove:{type:Function,default:c},type:String,stretch:Boolean},data:function(){return{scrollable:!1,navOffset:0,isFocus:!1,focusable:!0}},computed:{navStyle:function(){return{transform:"translate"+(-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"X":"Y")+"(-"+this.navOffset+"px)"}},sizeName:function(){return-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"width":"height"}},methods:{scrollPrev:function(){var t=this.$refs.navScroll["offset"+h(this.sizeName)],e=this.navOffset;if(e){var n=e>t?e-t:0;this.navOffset=n}},scrollNext:function(){var t=this.$refs.nav["offset"+h(this.sizeName)],e=this.$refs.navScroll["offset"+h(this.sizeName)],n=this.navOffset;if(!(t-n<=e)){var i=t-n>2*e?n+e:t-e;this.navOffset=i}},scrollToActiveTab:function(){if(this.scrollable){var t=this.$refs.nav,e=this.$el.querySelector(".is-active");if(e){var n=this.$refs.navScroll,i=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition),r=e.getBoundingClientRect(),o=n.getBoundingClientRect(),a=i?t.offsetWidth-o.width:t.offsetHeight-o.height,s=this.navOffset,l=s;i?(r.lefto.right&&(l=s+r.right-o.right)):(r.topo.bottom&&(l=s+(r.bottom-o.bottom))),l=Math.max(l,0),this.navOffset=Math.min(l,a)}}},update:function(){if(this.$refs.nav){var t=this.sizeName,e=this.$refs.nav["offset"+h(t)],n=this.$refs.navScroll["offset"+h(t)],i=this.navOffset;if(n0&&(this.navOffset=0)}},changeTab:function(t){var e=t.keyCode,n=void 0,i=void 0,r=void 0;-1!==[37,38,39,40].indexOf(e)&&(r=t.currentTarget.querySelectorAll("[role=tab]"),i=Array.prototype.indexOf.call(r,t.target),r[n=37===e||38===e?0===i?r.length-1:i-1:i0&&void 0!==arguments[0]&&arguments[0];if(this.$slots.default){var n=this.$slots.default.filter((function(t){return t.tag&&t.componentOptions&&"ElTabPane"===t.componentOptions.Ctor.options.name})),i=n.map((function(t){return t.componentInstance})),r=!(i.length===this.panes.length&&i.every((function(e,n){return e===t.panes[n]})));(e||r)&&(this.panes=i)}else 0!==this.panes.length&&(this.panes=[])},handleTabClick:function(t,e,n){t.disabled||(this.setCurrentName(e),this.$emit("tab-click",t,n))},handleTabRemove:function(t,e){t.disabled||(e.stopPropagation(),this.$emit("edit",t.name,"remove"),this.$emit("tab-remove",t.name))},handleTabAdd:function(){this.$emit("edit",null,"add"),this.$emit("tab-add")},setCurrentName:function(t){var e=this,n=function(){e.currentName=t,e.$emit("input",t)};if(this.currentName!==t&&this.beforeLeave){var i=this.beforeLeave(t,this.currentName);i&&i.then?i.then((function(){n(),e.$refs.nav&&e.$refs.nav.removeFocus()}),(function(){})):!1!==i&&n()}else n()}},render:function(t){var e,n=this.type,i=this.handleTabClick,r=this.handleTabRemove,o=this.handleTabAdd,a=this.currentName,s=this.panes,l=this.editable,u=this.addable,c=this.tabPosition,h=this.stretch,d=l||u?t("span",{class:"el-tabs__new-tab",on:{click:o,keydown:function(t){13===t.keyCode&&o()}},attrs:{tabindex:"0"}},[t("i",{class:"el-icon-plus"})]):null,f=t("div",{class:["el-tabs__header","is-"+c]},[d,t("tab-nav",{props:{currentName:a,onTabClick:i,onTabRemove:r,editable:l,type:n,panes:s,stretch:h},ref:"nav"})]),p=t("div",{class:"el-tabs__content"},[this.$slots.default]);return t("div",{class:(e={"el-tabs":!0,"el-tabs--card":"card"===n},e["el-tabs--"+c]=!0,e["el-tabs--border-card"]="border-card"===n,e)},["bottom"!==c?[f,p]:[p,f]])},created:function(){this.currentName||this.setCurrentName("0"),this.$on("tab-nav-update",this.calcPaneInstances.bind(null,!0))},mounted:function(){this.calcPaneInstances()},updated:function(){this.calcPaneInstances()}},g=Object(a.a)(p,void 0,void 0,!1,null,null,null);g.options.__file="packages/tabs/src/tabs.vue";var m=g.exports;m.install=function(t){t.component(m.name,m)};e.default=m}})},function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=62)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},29:function(t,e){t.exports=n(428)},4:function(t,e){t.exports=n(44)},49:function(t,e){t.exports=n(431)},62:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-slider",class:{"is-vertical":t.vertical,"el-slider--with-input":t.showInput},attrs:{role:"slider","aria-valuemin":t.min,"aria-valuemax":t.max,"aria-orientation":t.vertical?"vertical":"horizontal","aria-disabled":t.sliderDisabled}},[t.showInput&&!t.range?n("el-input-number",{ref:"input",staticClass:"el-slider__input",attrs:{step:t.step,disabled:t.sliderDisabled,controls:t.showInputControls,min:t.min,max:t.max,debounce:t.debounce,size:t.inputSize},on:{change:t.emitChange},model:{value:t.firstValue,callback:function(e){t.firstValue=e},expression:"firstValue"}}):t._e(),n("div",{ref:"slider",staticClass:"el-slider__runway",class:{"show-input":t.showInput,disabled:t.sliderDisabled},style:t.runwayStyle,on:{click:t.onSliderClick}},[n("div",{staticClass:"el-slider__bar",style:t.barStyle}),n("slider-button",{ref:"button1",attrs:{vertical:t.vertical,"tooltip-class":t.tooltipClass},model:{value:t.firstValue,callback:function(e){t.firstValue=e},expression:"firstValue"}}),t.range?n("slider-button",{ref:"button2",attrs:{vertical:t.vertical,"tooltip-class":t.tooltipClass},model:{value:t.secondValue,callback:function(e){t.secondValue=e},expression:"secondValue"}}):t._e(),t._l(t.stops,(function(e,i){return t.showStops?n("div",{key:i,staticClass:"el-slider__stop",style:t.getStopStyle(e)}):t._e()})),t.markList.length>0?[n("div",t._l(t.markList,(function(e,i){return n("div",{key:i,staticClass:"el-slider__stop el-slider__marks-stop",style:t.getStopStyle(e.position)})})),0),n("div",{staticClass:"el-slider__marks"},t._l(t.markList,(function(e,i){return n("slider-marker",{key:i,style:t.getStopStyle(e.position),attrs:{mark:e.mark}})})),1)]:t._e()],2)],1)};i._withStripped=!0;var r=n(49),o=n.n(r),a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"button",staticClass:"el-slider__button-wrapper",class:{hover:t.hovering,dragging:t.dragging},style:t.wrapperStyle,attrs:{tabindex:"0"},on:{mouseenter:t.handleMouseEnter,mouseleave:t.handleMouseLeave,mousedown:t.onButtonDown,touchstart:t.onButtonDown,focus:t.handleMouseEnter,blur:t.handleMouseLeave,keydown:[function(e){return!("button"in e)&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:t.onLeftKeyDown(e)},function(e){return!("button"in e)&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:t.onRightKeyDown(e)},function(e){return!("button"in e)&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),t.onLeftKeyDown(e))},function(e){return!("button"in e)&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),t.onRightKeyDown(e))}]}},[n("el-tooltip",{ref:"tooltip",attrs:{placement:"top","popper-class":t.tooltipClass,disabled:!t.showTooltip}},[n("span",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.formatValue))]),n("div",{staticClass:"el-slider__button",class:{hover:t.hovering,dragging:t.dragging}})])],1)};a._withStripped=!0;var s=n(29),l={name:"ElSliderButton",components:{ElTooltip:n.n(s).a},props:{value:{type:Number,default:0},vertical:{type:Boolean,default:!1},tooltipClass:String},data:function(){return{hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:null,oldValue:this.value}},computed:{disabled:function(){return this.$parent.sliderDisabled},max:function(){return this.$parent.max},min:function(){return this.$parent.min},step:function(){return this.$parent.step},showTooltip:function(){return this.$parent.showTooltip},precision:function(){return this.$parent.precision},currentPosition:function(){return(this.value-this.min)/(this.max-this.min)*100+"%"},enableFormat:function(){return this.$parent.formatTooltip instanceof Function},formatValue:function(){return this.enableFormat&&this.$parent.formatTooltip(this.value)||this.value},wrapperStyle:function(){return this.vertical?{bottom:this.currentPosition}:{left:this.currentPosition}}},watch:{dragging:function(t){this.$parent.dragging=t}},methods:{displayTooltip:function(){this.$refs.tooltip&&(this.$refs.tooltip.showPopper=!0)},hideTooltip:function(){this.$refs.tooltip&&(this.$refs.tooltip.showPopper=!1)},handleMouseEnter:function(){this.hovering=!0,this.displayTooltip()},handleMouseLeave:function(){this.hovering=!1,this.hideTooltip()},onButtonDown:function(t){this.disabled||(t.preventDefault(),this.onDragStart(t),window.addEventListener("mousemove",this.onDragging),window.addEventListener("touchmove",this.onDragging),window.addEventListener("mouseup",this.onDragEnd),window.addEventListener("touchend",this.onDragEnd),window.addEventListener("contextmenu",this.onDragEnd))},onLeftKeyDown:function(){this.disabled||(this.newPosition=parseFloat(this.currentPosition)-this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitChange())},onRightKeyDown:function(){this.disabled||(this.newPosition=parseFloat(this.currentPosition)+this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitChange())},onDragStart:function(t){this.dragging=!0,this.isClick=!0,"touchstart"===t.type&&(t.clientY=t.touches[0].clientY,t.clientX=t.touches[0].clientX),this.vertical?this.startY=t.clientY:this.startX=t.clientX,this.startPosition=parseFloat(this.currentPosition),this.newPosition=this.startPosition},onDragging:function(t){if(this.dragging){this.isClick=!1,this.displayTooltip(),this.$parent.resetSize();var e=0;"touchmove"===t.type&&(t.clientY=t.touches[0].clientY,t.clientX=t.touches[0].clientX),this.vertical?(this.currentY=t.clientY,e=(this.startY-this.currentY)/this.$parent.sliderSize*100):(this.currentX=t.clientX,e=(this.currentX-this.startX)/this.$parent.sliderSize*100),this.newPosition=this.startPosition+e,this.setPosition(this.newPosition)}},onDragEnd:function(){var t=this;this.dragging&&(setTimeout((function(){t.dragging=!1,t.hideTooltip(),t.isClick||(t.setPosition(t.newPosition),t.$parent.emitChange())}),0),window.removeEventListener("mousemove",this.onDragging),window.removeEventListener("touchmove",this.onDragging),window.removeEventListener("mouseup",this.onDragEnd),window.removeEventListener("touchend",this.onDragEnd),window.removeEventListener("contextmenu",this.onDragEnd))},setPosition:function(t){var e=this;if(null!==t&&!isNaN(t)){t<0?t=0:t>100&&(t=100);var n=100/((this.max-this.min)/this.step),i=Math.round(t/n)*n*(this.max-this.min)*.01+this.min;i=parseFloat(i.toFixed(this.precision)),this.$emit("input",i),this.$nextTick((function(){e.displayTooltip(),e.$refs.tooltip&&e.$refs.tooltip.updatePopper()})),this.dragging||this.value===this.oldValue||(this.oldValue=this.value)}}}},u=n(0),c=Object(u.a)(l,a,[],!1,null,null,null);c.options.__file="packages/slider/src/button.vue";var h=c.exports,d={name:"ElMarker",props:{mark:{type:[String,Object]}},render:function(){var t=arguments[0],e="string"==typeof this.mark?this.mark:this.mark.label;return t("div",{class:"el-slider__marks-text",style:this.mark.style||{}},[e])}},f=n(4),p={name:"ElSlider",mixins:[n.n(f).a],inject:{elForm:{default:""}},props:{min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},value:{type:[Number,Array],default:0},showInput:{type:Boolean,default:!1},showInputControls:{type:Boolean,default:!0},inputSize:{type:String,default:"small"},showStops:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!0},formatTooltip:Function,disabled:{type:Boolean,default:!1},range:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},height:{type:String},debounce:{type:Number,default:300},label:{type:String},tooltipClass:String,marks:Object},components:{ElInputNumber:o.a,SliderButton:h,SliderMarker:d},data:function(){return{firstValue:null,secondValue:null,oldValue:null,dragging:!1,sliderSize:1}},watch:{value:function(t,e){this.dragging||Array.isArray(t)&&Array.isArray(e)&&t.every((function(t,n){return t===e[n]}))||this.setValues()},dragging:function(t){t||this.setValues()},firstValue:function(t){this.range?this.$emit("input",[this.minValue,this.maxValue]):this.$emit("input",t)},secondValue:function(){this.range&&this.$emit("input",[this.minValue,this.maxValue])},min:function(){this.setValues()},max:function(){this.setValues()}},methods:{valueChanged:function(){var t=this;return this.range?![this.minValue,this.maxValue].every((function(e,n){return e===t.oldValue[n]})):this.value!==this.oldValue},setValues:function(){if(this.min>this.max)console.error("[Element Error][Slider]min should not be greater than max.");else{var t=this.value;this.range&&Array.isArray(t)?t[1]this.max?this.$emit("input",[this.max,this.max]):t[0]this.max?this.$emit("input",[t[0],this.max]):(this.firstValue=t[0],this.secondValue=t[1],this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",[this.minValue,this.maxValue]),this.oldValue=t.slice())):this.range||"number"!=typeof t||isNaN(t)||(tthis.max?this.$emit("input",this.max):(this.firstValue=t,this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",t),this.oldValue=t)))}},setPosition:function(t){var e=this.min+t*(this.max-this.min)/100;if(this.range){var n=void 0;n=Math.abs(this.minValue-e)this.secondValue?"button1":"button2",this.$refs[n].setPosition(t)}else this.$refs.button1.setPosition(t)},onSliderClick:function(t){if(!this.sliderDisabled&&!this.dragging){if(this.resetSize(),this.vertical){var e=this.$refs.slider.getBoundingClientRect().bottom;this.setPosition((e-t.clientY)/this.sliderSize*100)}else{var n=this.$refs.slider.getBoundingClientRect().left;this.setPosition((t.clientX-n)/this.sliderSize*100)}this.emitChange()}},resetSize:function(){this.$refs.slider&&(this.sliderSize=this.$refs.slider["client"+(this.vertical?"Height":"Width")])},emitChange:function(){var t=this;this.$nextTick((function(){t.$emit("change",t.range?[t.minValue,t.maxValue]:t.value)}))},getStopStyle:function(t){return this.vertical?{bottom:t+"%"}:{left:t+"%"}}},computed:{stops:function(){var t=this;if(!this.showStops||this.min>this.max)return[];if(0===this.step)return[];for(var e=(this.max-this.min)/this.step,n=100*this.step/(this.max-this.min),i=[],r=1;r100*(t.maxValue-t.min)/(t.max-t.min)})):i.filter((function(e){return e>100*(t.firstValue-t.min)/(t.max-t.min)}))},markList:function(){var t=this;return this.marks?Object.keys(this.marks).map(parseFloat).sort((function(t,e){return t-e})).filter((function(e){return e<=t.max&&e>=t.min})).map((function(e){return{point:e,position:100*(e-t.min)/(t.max-t.min),mark:t.marks[e]}})):[]},minValue:function(){return Math.min(this.firstValue,this.secondValue)},maxValue:function(){return Math.max(this.firstValue,this.secondValue)},barSize:function(){return this.range?100*(this.maxValue-this.minValue)/(this.max-this.min)+"%":100*(this.firstValue-this.min)/(this.max-this.min)+"%"},barStart:function(){return this.range?100*(this.minValue-this.min)/(this.max-this.min)+"%":"0%"},precision:function(){var t=[this.min,this.max,this.step].map((function(t){var e=(""+t).split(".")[1];return e?e.length:0}));return Math.max.apply(null,t)},runwayStyle:function(){return this.vertical?{height:this.height}:{}},barStyle:function(){return this.vertical?{height:this.barSize,bottom:this.barStart}:{width:this.barSize,left:this.barStart}},sliderDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},mounted:function(){var t=void 0;this.range?(Array.isArray(this.value)?(this.firstValue=Math.max(this.min,this.value[0]),this.secondValue=Math.min(this.max,this.value[1])):(this.firstValue=this.min,this.secondValue=this.max),this.oldValue=[this.firstValue,this.secondValue],t=this.firstValue+"-"+this.secondValue):("number"!=typeof this.value||isNaN(this.value)?this.firstValue=this.min:this.firstValue=Math.min(this.max,Math.max(this.min,this.value)),this.oldValue=this.firstValue,t=this.firstValue),this.$el.setAttribute("aria-valuetext",t),this.$el.setAttribute("aria-label",this.label?this.label:"slider between "+this.min+" and "+this.max),this.resetSize(),window.addEventListener("resize",this.resetSize)},beforeDestroy:function(){window.removeEventListener("resize",this.resetSize)}},g=Object(u.a)(p,i,[],!1,null,null,null);g.options.__file="packages/slider/src/main.vue";var m=g.exports;m.install=function(t){t.component(m.name,m)};e.default=m}})},function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=53)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},3:function(t,e){t.exports=n(58)},33:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:t.itemSelected,"is-disabled":t.disabled||t.groupDisabled||t.limitReached,hover:t.hover},on:{mouseenter:t.hoverItem,click:function(e){return e.stopPropagation(),t.selectOptionClick(e)}}},[t._t("default",[n("span",[t._v(t._s(t.currentLabel))])])],2)};i._withStripped=!0;var r=n(4),o=n.n(r),a=n(3),s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l={mixins:[o.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(t,e){var n=this.select,i=n.remote,r=n.valueKey;if(!this.created&&!i){if(r&&"object"===(void 0===t?"undefined":s(t))&&"object"===(void 0===e?"undefined":s(e))&&t[r]===e[r])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(t,e){if(this.isObject){var n=this.select.valueKey;return Object(a.getValueByPath)(t,n)===Object(a.getValueByPath)(e,n)}return t===e},contains:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments[1];if(this.isObject){var n=this.select.valueKey;return t&&t.some((function(t){return Object(a.getValueByPath)(t,n)===Object(a.getValueByPath)(e,n)}))}return t&&t.indexOf(e)>-1},handleGroupDisabled:function(t){this.groupDisabled=t},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(t){this.visible=new RegExp(Object(a.escapeRegexpString)(t),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var t=this.select,e=t.selected,n=t.multiple?e:[e],i=this.select.cachedOptions.indexOf(this),r=n.indexOf(this);i>-1&&r<0&&this.select.cachedOptions.splice(i,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},u=n(0),c=Object(u.a)(l,i,[],!1,null,null,null);c.options.__file="packages/select/src/option.vue";e.a=c.exports},4:function(t,e){t.exports=n(44)},53:function(t,e,n){"use strict";n.r(e);var i=n(33);i.a.install=function(t){t.component(i.a.name,i.a)},e.default=i.a}})},function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=61)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},10:function(t,e){t.exports=n(210)},12:function(t,e){t.exports=n(434)},15:function(t,e){t.exports=n(435)},16:function(t,e){t.exports=n(242)},18:function(t,e){t.exports=n(293)},21:function(t,e){t.exports=n(243)},22:function(t,e){t.exports=n(178)},3:function(t,e){t.exports=n(58)},31:function(t,e){t.exports=n(436)},33:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:t.itemSelected,"is-disabled":t.disabled||t.groupDisabled||t.limitReached,hover:t.hover},on:{mouseenter:t.hoverItem,click:function(e){return e.stopPropagation(),t.selectOptionClick(e)}}},[t._t("default",[n("span",[t._v(t._s(t.currentLabel))])])],2)};i._withStripped=!0;var r=n(4),o=n.n(r),a=n(3),s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l={mixins:[o.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(t,e){var n=this.select,i=n.remote,r=n.valueKey;if(!this.created&&!i){if(r&&"object"===(void 0===t?"undefined":s(t))&&"object"===(void 0===e?"undefined":s(e))&&t[r]===e[r])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(t,e){if(this.isObject){var n=this.select.valueKey;return Object(a.getValueByPath)(t,n)===Object(a.getValueByPath)(e,n)}return t===e},contains:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments[1];if(this.isObject){var n=this.select.valueKey;return t&&t.some((function(t){return Object(a.getValueByPath)(t,n)===Object(a.getValueByPath)(e,n)}))}return t&&t.indexOf(e)>-1},handleGroupDisabled:function(t){this.groupDisabled=t},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(t){this.visible=new RegExp(Object(a.escapeRegexpString)(t),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var t=this.select,e=t.selected,n=t.multiple?e:[e],i=this.select.cachedOptions.indexOf(this),r=n.indexOf(this);i>-1&&r<0&&this.select.cachedOptions.splice(i,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},u=n(0),c=Object(u.a)(l,i,[],!1,null,null,null);c.options.__file="packages/select/src/option.vue";e.a=c.exports},37:function(t,e){t.exports=n(437)},4:function(t,e){t.exports=n(44)},5:function(t,e){t.exports=n(294)},6:function(t,e){t.exports=n(438)},61:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[t.selectSize?"el-select--"+t.selectSize:""],on:{click:function(e){return e.stopPropagation(),t.toggleMenu(e)}}},[t.multiple?n("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":t.inputWidth-32+"px",width:"100%"}},[t.collapseTags&&t.selected.length?n("span",[n("el-tag",{attrs:{closable:!t.selectDisabled,size:t.collapseTagSize,hit:t.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(e){t.deleteTag(e,t.selected[0])}}},[n("span",{staticClass:"el-select__tags-text"},[t._v(t._s(t.selected[0].currentLabel))])]),t.selected.length>1?n("el-tag",{attrs:{closable:!1,size:t.collapseTagSize,type:"info","disable-transitions":""}},[n("span",{staticClass:"el-select__tags-text"},[t._v("+ "+t._s(t.selected.length-1))])]):t._e()],1):t._e(),t.collapseTags?t._e():n("transition-group",{on:{"after-leave":t.resetInputHeight}},t._l(t.selected,(function(e){return n("el-tag",{key:t.getValueKey(e),attrs:{closable:!t.selectDisabled,size:t.collapseTagSize,hit:e.hitState,type:"info","disable-transitions":""},on:{close:function(n){t.deleteTag(n,e)}}},[n("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.currentLabel))])])})),1),t.filterable?n("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[t.selectSize?"is-"+t.selectSize:""],style:{"flex-grow":"1",width:t.inputLength/(t.inputWidth-32)+"%","max-width":t.inputWidth-42+"px"},attrs:{type:"text",disabled:t.selectDisabled,autocomplete:t.autoComplete||t.autocomplete},domProps:{value:t.query},on:{focus:t.handleFocus,blur:function(e){t.softFocus=!1},keyup:t.managePlaceholder,keydown:[t.resetInputState,function(e){if(!("button"in e)&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"]))return null;e.preventDefault(),t.navigateOptions("next")},function(e){if(!("button"in e)&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"]))return null;e.preventDefault(),t.navigateOptions("prev")},function(e){return!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.selectOption(e))},function(e){if(!("button"in e)&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"]))return null;e.stopPropagation(),e.preventDefault(),t.visible=!1},function(e){return!("button"in e)&&t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete","Del"])?null:t.deletePrevTag(e)},function(e){if(!("button"in e)&&t._k(e.keyCode,"tab",9,e.key,"Tab"))return null;t.visible=!1}],compositionstart:t.handleComposition,compositionupdate:t.handleComposition,compositionend:t.handleComposition,input:[function(e){e.target.composing||(t.query=e.target.value)},t.debouncedQueryChange]}}):t._e()],1):t._e(),n("el-input",{ref:"reference",class:{"is-focus":t.visible},attrs:{type:"text",placeholder:t.currentPlaceholder,name:t.name,id:t.id,autocomplete:t.autoComplete||t.autocomplete,size:t.selectSize,disabled:t.selectDisabled,readonly:t.readonly,"validate-event":!1,tabindex:t.multiple&&t.filterable?"-1":null},on:{focus:t.handleFocus,blur:t.handleBlur,input:t.debouncedOnInputChange},nativeOn:{keydown:[function(e){if(!("button"in e)&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"]))return null;e.stopPropagation(),e.preventDefault(),t.navigateOptions("next")},function(e){if(!("button"in e)&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"]))return null;e.stopPropagation(),e.preventDefault(),t.navigateOptions("prev")},function(e){return!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.selectOption(e))},function(e){if(!("button"in e)&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"]))return null;e.stopPropagation(),e.preventDefault(),t.visible=!1},function(e){if(!("button"in e)&&t._k(e.keyCode,"tab",9,e.key,"Tab"))return null;t.visible=!1}],mouseenter:function(e){t.inputHovering=!0},mouseleave:function(e){t.inputHovering=!1}},model:{value:t.selectedLabel,callback:function(e){t.selectedLabel=e},expression:"selectedLabel"}},[t.$slots.prefix?n("template",{slot:"prefix"},[t._t("prefix")],2):t._e(),n("template",{slot:"suffix"},[n("i",{directives:[{name:"show",rawName:"v-show",value:!t.showClose,expression:"!showClose"}],class:["el-select__caret","el-input__icon","el-icon-"+t.iconClass]}),t.showClose?n("i",{staticClass:"el-select__caret el-input__icon el-icon-circle-close",on:{click:t.handleClearClick}}):t._e()])],2),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":t.handleMenuEnter,"after-leave":t.doDestroy}},[n("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:t.visible&&!1!==t.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":t.popperAppendToBody}},[n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:t.options.length>0&&!t.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!t.allowCreate&&t.query&&0===t.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[t.showNewOption?n("el-option",{attrs:{value:t.query,created:""}}):t._e(),t._t("default")],2),t.emptyText&&(!t.allowCreate||t.loading||t.allowCreate&&0===t.options.length)?[t.$slots.empty?t._t("empty"):n("p",{staticClass:"el-select-dropdown__empty"},[t._v("\n "+t._s(t.emptyText)+"\n ")])]:t._e()],2)],1)],1)};i._withStripped=!0;var r=n(4),o=n.n(r),a=n(22),s=n.n(a),l=n(6),u=n.n(l),c=n(10),h=n.n(c),d=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"el-select-dropdown el-popper",class:[{"is-multiple":this.$parent.multiple},this.popperClass],style:{minWidth:this.minWidth}},[this._t("default")],2)};d._withStripped=!0;var f=n(5),p={name:"ElSelectDropdown",componentName:"ElSelectDropdown",mixins:[n.n(f).a],props:{placement:{default:"bottom-start"},boundariesPadding:{default:0},popperOptions:{default:function(){return{gpuAcceleration:!1}}},visibleArrow:{default:!0},appendToBody:{type:Boolean,default:!0}},data:function(){return{minWidth:""}},computed:{popperClass:function(){return this.$parent.popperClass}},watch:{"$parent.inputWidth":function(){this.minWidth=this.$parent.$el.getBoundingClientRect().width+"px"}},mounted:function(){var t=this;this.referenceElm=this.$parent.$refs.reference.$el,this.$parent.popperElm=this.popperElm=this.$el,this.$on("updatePopper",(function(){t.$parent.visible&&t.updatePopper()})),this.$on("destroyPopper",this.destroyPopper)}},g=n(0),m=Object(g.a)(p,d,[],!1,null,null,null);m.options.__file="packages/select/src/select-dropdown.vue";var v=m.exports,y=n(33),x=n(37),_=n.n(x),b=n(15),w=n.n(b),S=n(18),M=n.n(S),C=n(12),T=n.n(C),I=n(16),A=n(31),D=n.n(A),k=n(3),L=n(21),O={mixins:[o.a,u.a,s()("reference"),{data:function(){return{hoverOption:-1}},computed:{optionsAllDisabled:function(){return this.options.filter((function(t){return t.visible})).every((function(t){return t.disabled}))}},watch:{hoverIndex:function(t){var e=this;"number"==typeof t&&t>-1&&(this.hoverOption=this.options[t]||{}),this.options.forEach((function(t){t.hover=e.hoverOption===t}))}},methods:{navigateOptions:function(t){var e=this;if(this.visible){if(0!==this.options.length&&0!==this.filteredOptionsCount&&!this.optionsAllDisabled){"next"===t?(this.hoverIndex++,this.hoverIndex===this.options.length&&(this.hoverIndex=0)):"prev"===t&&(this.hoverIndex--,this.hoverIndex<0&&(this.hoverIndex=this.options.length-1));var n=this.options[this.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||this.navigateOptions(t),this.$nextTick((function(){return e.scrollToOption(e.hoverOption)}))}}else this.visible=!0}}}],name:"ElSelect",componentName:"ElSelect",inject:{elForm:{default:""},elFormItem:{default:""}},provide:function(){return{select:this}},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},readonly:function(){return!this.filterable||this.multiple||!Object(k.isIE)()&&!Object(k.isEdge)()&&!this.visible},showClose:function(){var t=this.multiple?Array.isArray(this.value)&&this.value.length>0:void 0!==this.value&&null!==this.value&&""!==this.value;return this.clearable&&!this.selectDisabled&&this.inputHovering&&t},iconClass:function(){return this.remote&&this.filterable?"":this.visible?"arrow-up is-reverse":"arrow-up"},debounce:function(){return this.remote?300:0},emptyText:function(){return this.loading?this.loadingText||this.t("el.select.loading"):(!this.remote||""!==this.query||0!==this.options.length)&&(this.filterable&&this.query&&this.options.length>0&&0===this.filteredOptionsCount?this.noMatchText||this.t("el.select.noMatch"):0===this.options.length?this.noDataText||this.t("el.select.noData"):null)},showNewOption:function(){var t=this,e=this.options.filter((function(t){return!t.created})).some((function(e){return e.currentLabel===t.query}));return this.filterable&&this.allowCreate&&""!==this.query&&!e},selectSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},selectDisabled:function(){return this.disabled||(this.elForm||{}).disabled},collapseTagSize:function(){return["small","mini"].indexOf(this.selectSize)>-1?"mini":"small"},propPlaceholder:function(){return void 0!==this.placeholder?this.placeholder:this.t("el.select.placeholder")}},components:{ElInput:h.a,ElSelectMenu:v,ElOption:y.a,ElTag:_.a,ElScrollbar:w.a},directives:{Clickoutside:T.a},props:{name:String,id:String,value:{required:!0},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(t){return!0}},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,required:!1},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0}},data:function(){return{options:[],cachedOptions:[],createdLabel:null,createdSelected:!1,selected:this.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,cachedPlaceHolder:"",optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,currentPlaceholder:"",menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1}},watch:{selectDisabled:function(){var t=this;this.$nextTick((function(){t.resetInputHeight()}))},propPlaceholder:function(t){this.cachedPlaceHolder=this.currentPlaceholder=t},value:function(t,e){this.multiple&&(this.resetInputHeight(),t&&t.length>0||this.$refs.input&&""!==this.query?this.currentPlaceholder="":this.currentPlaceholder=this.cachedPlaceHolder,this.filterable&&!this.reserveKeyword&&(this.query="",this.handleQueryChange(this.query))),this.setSelected(),this.filterable&&!this.multiple&&(this.inputLength=20),Object(k.valueEquals)(t,e)||this.dispatch("ElFormItem","el.form.change",t)},visible:function(t){var e=this;t?(this.broadcast("ElSelectDropdown","updatePopper"),this.filterable&&(this.query=this.remote?"":this.selectedLabel,this.handleQueryChange(this.query),this.multiple?this.$refs.input.focus():(this.remote||(this.broadcast("ElOption","queryChange",""),this.broadcast("ElOptionGroup","queryChange")),this.selectedLabel&&(this.currentPlaceholder=this.selectedLabel,this.selectedLabel="")))):(this.broadcast("ElSelectDropdown","destroyPopper"),this.$refs.input&&this.$refs.input.blur(),this.query="",this.previousQuery=null,this.selectedLabel="",this.inputLength=20,this.menuVisibleOnFocus=!1,this.resetHoverIndex(),this.$nextTick((function(){e.$refs.input&&""===e.$refs.input.value&&0===e.selected.length&&(e.currentPlaceholder=e.cachedPlaceHolder)})),this.multiple||(this.selected&&(this.filterable&&this.allowCreate&&this.createdSelected&&this.createdLabel?this.selectedLabel=this.createdLabel:this.selectedLabel=this.selected.currentLabel,this.filterable&&(this.query=this.selectedLabel)),this.filterable&&(this.currentPlaceholder=this.cachedPlaceHolder))),this.$emit("visible-change",t)},options:function(){var t=this;if(!this.$isServer){this.$nextTick((function(){t.broadcast("ElSelectDropdown","updatePopper")})),this.multiple&&this.resetInputHeight();var e=this.$el.querySelectorAll("input");-1===[].indexOf.call(e,document.activeElement)&&this.setSelected(),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()}}},methods:{handleComposition:function(t){var e=this,n=t.target.value;if("compositionend"===t.type)this.isOnComposition=!1,this.$nextTick((function(t){return e.handleQueryChange(n)}));else{var i=n[n.length-1]||"";this.isOnComposition=!Object(L.isKorean)(i)}},handleQueryChange:function(t){var e=this;this.previousQuery===t||this.isOnComposition||(null!==this.previousQuery||"function"!=typeof this.filterMethod&&"function"!=typeof this.remoteMethod?(this.previousQuery=t,this.$nextTick((function(){e.visible&&e.broadcast("ElSelectDropdown","updatePopper")})),this.hoverIndex=-1,this.multiple&&this.filterable&&this.$nextTick((function(){var t=15*e.$refs.input.value.length+20;e.inputLength=e.collapseTags?Math.min(50,t):t,e.managePlaceholder(),e.resetInputHeight()})),this.remote&&"function"==typeof this.remoteMethod?(this.hoverIndex=-1,this.remoteMethod(t)):"function"==typeof this.filterMethod?(this.filterMethod(t),this.broadcast("ElOptionGroup","queryChange")):(this.filteredOptionsCount=this.optionsCount,this.broadcast("ElOption","queryChange",t),this.broadcast("ElOptionGroup","queryChange")),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()):this.previousQuery=t)},scrollToOption:function(t){var e=Array.isArray(t)&&t[0]?t[0].$el:t.$el;if(this.$refs.popper&&e){var n=this.$refs.popper.$el.querySelector(".el-select-dropdown__wrap");D()(n,e)}this.$refs.scrollbar&&this.$refs.scrollbar.handleScroll()},handleMenuEnter:function(){var t=this;this.$nextTick((function(){return t.scrollToOption(t.selected)}))},emitChange:function(t){Object(k.valueEquals)(this.value,t)||this.$emit("change",t)},getOption:function(t){for(var e=void 0,n="[object object]"===Object.prototype.toString.call(t).toLowerCase(),i="[object null]"===Object.prototype.toString.call(t).toLowerCase(),r="[object undefined]"===Object.prototype.toString.call(t).toLowerCase(),o=this.cachedOptions.length-1;o>=0;o--){var a=this.cachedOptions[o];if(n?Object(k.getValueByPath)(a.value,this.valueKey)===Object(k.getValueByPath)(t,this.valueKey):a.value===t){e=a;break}}if(e)return e;var s={value:t,currentLabel:n||i||r?"":String(t)};return this.multiple&&(s.hitState=!1),s},setSelected:function(){var t=this;if(!this.multiple){var e=this.getOption(this.value);return e.created?(this.createdLabel=e.currentLabel,this.createdSelected=!0):this.createdSelected=!1,this.selectedLabel=e.currentLabel,this.selected=e,void(this.filterable&&(this.query=this.selectedLabel))}var n=[];Array.isArray(this.value)&&this.value.forEach((function(e){n.push(t.getOption(e))})),this.selected=n,this.$nextTick((function(){t.resetInputHeight()}))},handleFocus:function(t){this.softFocus?this.softFocus=!1:((this.automaticDropdown||this.filterable)&&(this.visible=!0,this.filterable&&(this.menuVisibleOnFocus=!0)),this.$emit("focus",t))},blur:function(){this.visible=!1,this.$refs.reference.blur()},handleBlur:function(t){var e=this;setTimeout((function(){e.isSilentBlur?e.isSilentBlur=!1:e.$emit("blur",t)}),50),this.softFocus=!1},handleClearClick:function(t){this.deleteSelected(t)},doDestroy:function(){this.$refs.popper&&this.$refs.popper.doDestroy()},handleClose:function(){this.visible=!1},toggleLastOptionHitState:function(t){if(Array.isArray(this.selected)){var e=this.selected[this.selected.length-1];if(e)return!0===t||!1===t?(e.hitState=t,t):(e.hitState=!e.hitState,e.hitState)}},deletePrevTag:function(t){if(t.target.value.length<=0&&!this.toggleLastOptionHitState()){var e=this.value.slice();e.pop(),this.$emit("input",e),this.emitChange(e)}},managePlaceholder:function(){""!==this.currentPlaceholder&&(this.currentPlaceholder=this.$refs.input.value?"":this.cachedPlaceHolder)},resetInputState:function(t){8!==t.keyCode&&this.toggleLastOptionHitState(!1),this.inputLength=15*this.$refs.input.value.length+20,this.resetInputHeight()},resetInputHeight:function(){var t=this;this.collapseTags&&!this.filterable||this.$nextTick((function(){if(t.$refs.reference){var e=t.$refs.reference.$el.childNodes,n=[].filter.call(e,(function(t){return"INPUT"===t.tagName}))[0],i=t.$refs.tags,r=i?Math.round(i.getBoundingClientRect().height):0,o=t.initialInputHeight||40;n.style.height=0===t.selected.length?o+"px":Math.max(i?r+(r>o?6:0):0,o)+"px",t.visible&&!1!==t.emptyText&&t.broadcast("ElSelectDropdown","updatePopper")}}))},resetHoverIndex:function(){var t=this;setTimeout((function(){t.multiple?t.selected.length>0?t.hoverIndex=Math.min.apply(null,t.selected.map((function(e){return t.options.indexOf(e)}))):t.hoverIndex=-1:t.hoverIndex=t.options.indexOf(t.selected)}),300)},handleOptionSelect:function(t,e){var n=this;if(this.multiple){var i=(this.value||[]).slice(),r=this.getValueIndex(i,t.value);r>-1?i.splice(r,1):(this.multipleLimit<=0||i.length0&&void 0!==arguments[0]?arguments[0]:[],e=arguments[1],n="[object object]"===Object.prototype.toString.call(e).toLowerCase();if(n){var i=this.valueKey,r=-1;return t.some((function(t,n){return Object(k.getValueByPath)(t,i)===Object(k.getValueByPath)(e,i)&&(r=n,!0)})),r}return t.indexOf(e)},toggleMenu:function(){this.selectDisabled||(this.menuVisibleOnFocus?this.menuVisibleOnFocus=!1:this.visible=!this.visible,this.visible&&(this.$refs.input||this.$refs.reference).focus())},selectOption:function(){this.visible?this.options[this.hoverIndex]&&this.handleOptionSelect(this.options[this.hoverIndex]):this.toggleMenu()},deleteSelected:function(t){t.stopPropagation();var e=this.multiple?[]:"";this.$emit("input",e),this.emitChange(e),this.visible=!1,this.$emit("clear")},deleteTag:function(t,e){var n=this.selected.indexOf(e);if(n>-1&&!this.selectDisabled){var i=this.value.slice();i.splice(n,1),this.$emit("input",i),this.emitChange(i),this.$emit("remove-tag",e.value)}t.stopPropagation()},onInputChange:function(){this.filterable&&this.query!==this.selectedLabel&&(this.query=this.selectedLabel,this.handleQueryChange(this.query))},onOptionDestroy:function(t){t>-1&&(this.optionsCount--,this.filteredOptionsCount--,this.options.splice(t,1))},resetInputWidth:function(){this.inputWidth=this.$refs.reference.$el.getBoundingClientRect().width},handleResize:function(){this.resetInputWidth(),this.multiple&&this.resetInputHeight()},checkDefaultFirstOption:function(){this.hoverIndex=-1;for(var t=!1,e=this.options.length-1;e>=0;e--)if(this.options[e].created){t=!0,this.hoverIndex=e;break}if(!t)for(var n=0;n!==this.options.length;++n){var i=this.options[n];if(this.query){if(!i.disabled&&!i.groupDisabled&&i.visible){this.hoverIndex=n;break}}else if(i.itemSelected){this.hoverIndex=n;break}}},getValueKey:function(t){return"[object object]"!==Object.prototype.toString.call(t.value).toLowerCase()?t.value:Object(k.getValueByPath)(t.value,this.valueKey)}},created:function(){var t=this;this.cachedPlaceHolder=this.currentPlaceholder=this.propPlaceholder,this.multiple&&!Array.isArray(this.value)&&this.$emit("input",[]),!this.multiple&&Array.isArray(this.value)&&this.$emit("input",""),this.debouncedOnInputChange=M()(this.debounce,(function(){t.onInputChange()})),this.debouncedQueryChange=M()(this.debounce,(function(e){t.handleQueryChange(e.target.value)})),this.$on("handleOptionClick",this.handleOptionSelect),this.$on("setSelected",this.setSelected)},mounted:function(){var t=this;this.multiple&&Array.isArray(this.value)&&this.value.length>0&&(this.currentPlaceholder=""),Object(I.addResizeListener)(this.$el,this.handleResize);var e=this.$refs.reference;if(e&&e.$el){var n=e.$el.querySelector("input");this.initialInputHeight=n.getBoundingClientRect().height||{medium:36,small:32,mini:28}[this.selectSize]}this.remote&&this.multiple&&this.resetInputHeight(),this.$nextTick((function(){e&&e.$el&&(t.inputWidth=e.$el.getBoundingClientRect().width)})),this.setSelected()},beforeDestroy:function(){this.$el&&this.handleResize&&Object(I.removeResizeListener)(this.$el,this.handleResize)}},P=Object(g.a)(O,i,[],!1,null,null,null);P.options.__file="packages/select/src/select.vue";var E=P.exports;E.install=function(t){t.component(E.name,E)};e.default=E}})},,function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=75)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},13:function(t,e){t.exports=n(123)},17:function(t,e){t.exports=n(240)},23:function(t,e){t.exports=n(752)},7:function(t,e){t.exports=n(4)},75:function(t,e,n){"use strict";n.r(e);var i=n(7),r=n.n(i),o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-message-fade"},on:{"after-leave":t.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],class:["el-message",t.type&&!t.iconClass?"el-message--"+t.type:"",t.center?"is-center":"",t.showClose?"is-closable":"",t.customClass],style:t.positionStyle,attrs:{role:"alert"},on:{mouseenter:t.clearTimer,mouseleave:t.startTimer}},[t.iconClass?n("i",{class:t.iconClass}):n("i",{class:t.typeClass}),t._t("default",[t.dangerouslyUseHTMLString?n("p",{staticClass:"el-message__content",domProps:{innerHTML:t._s(t.message)}}):n("p",{staticClass:"el-message__content"},[t._v(t._s(t.message))])]),t.showClose?n("i",{staticClass:"el-message__closeBtn el-icon-close",on:{click:t.close}}):t._e()],2)])};o._withStripped=!0;var a={success:"success",info:"info",warning:"warning",error:"error"},s={data:function(){return{visible:!1,message:"",duration:3e3,type:"info",iconClass:"",customClass:"",onClose:null,showClose:!1,closed:!1,verticalOffset:20,timer:null,dangerouslyUseHTMLString:!1,center:!1}},computed:{typeClass:function(){return this.type&&!this.iconClass?"el-message__icon el-icon-"+a[this.type]:""},positionStyle:function(){return{top:this.verticalOffset+"px"}}},watch:{closed:function(t){t&&(this.visible=!1)}},methods:{handleAfterLeave:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.closed=!0,"function"==typeof this.onClose&&this.onClose(this)},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var t=this;this.duration>0&&(this.timer=setTimeout((function(){t.closed||t.close()}),this.duration))},keydown:function(t){27===t.keyCode&&(this.closed||this.close())}},mounted:function(){this.startTimer(),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},l=n(0),u=Object(l.a)(s,o,[],!1,null,null,null);u.options.__file="packages/message/src/main.vue";var c=u.exports,h=n(13),d=n(23),f=n(17),p=Object.assign||function(t){for(var e=1;ev.length-1))for(var a=i;a=0;t--)v[t].close()};var _=x;e.default=_}})},,function(t,e,n){"use strict";n(87),n(146),n(85),n(55),n(84),n(155),n(164);var i=n(1);n(112),n(117),n(97);var r={name:"chatrs",props:{darkMode:{type:Boolean,default:!1},fund:{type:Object,required:!0}},data:function(){return{chartEL:null,myChart:null,minVal:null,maxVal:null,interVal:null,option:{},DWJZ:0,loading:!1,timeData:["09:30","09:31","09:32","09:33","09:34","09:35","09:36","09:37","09:38","09:39","09:40","09:41","09:42","09:43","09:44","09:45","09:46","09:47","09:48","09:49","09:50","09:51","09:52","09:53","09:54","09:55","09:56","09:57","09:58","09:59","10:00","10:01","10:02","10:03","10:04","10:05","10:06","10:07","10:08","10:09","10:10","10:11","10:12","10:13","10:14","10:15","10:16","10:17","10:18","10:19","10:20","10:21","10:22","10:23","10:24","10:25","10:26","10:27","10:28","10:29","10:30","10:31","10:32","10:33","10:34","10:35","10:36","10:37","10:38","10:39","10:40","10:41","10:42","10:43","10:44","10:45","10:46","10:47","10:48","10:49","10:50","10:51","10:52","10:53","10:54","10:55","10:56","10:57","10:58","10:59","11:00","11:01","11:02","11:03","11:04","11:05","11:06","11:07","11:08","11:09","11:10","11:11","11:12","11:13","11:14","11:15","11:16","11:17","11:18","11:19","11:20","11:21","11:22","11:23","11:24","11:25","11:26","11:27","11:28","11:29","11:30","13:00","13:01","13:02","13:03","13:04","13:05","13:06","13:07","13:08","13:09","13:10","13:11","13:12","13:13","13:14","13:15","13:16","13:17","13:18","13:19","13:20","13:21","13:22","13:23","13:24","13:25","13:26","13:27","13:28","13:29","13:30","13:31","13:32","13:33","13:34","13:35","13:36","13:37","13:38","13:39","13:40","13:41","13:42","13:43","13:44","13:45","13:46","13:47","13:48","13:49","13:50","13:51","13:52","13:53","13:54","13:55","13:56","13:57","13:58","13:59","14:00","14:01","14:02","14:03","14:04","14:05","14:06","14:07","14:08","14:09","14:10","14:11","14:12","14:13","14:14","14:15","14:16","14:17","14:18","14:19","14:20","14:21","14:22","14:23","14:24","14:25","14:26","14:27","14:28","14:29","14:30","14:31","14:32","14:33","14:34","14:35","14:36","14:37","14:38","14:39","14:40","14:41","14:42","14:43","14:44","14:45","14:46","14:47","14:48","14:49","14:50","14:51","14:52","14:53","14:54","14:55","14:56","14:57","14:58","14:59","15:00"]}},watch:{},computed:{defaultColor:function(){return this.darkMode?"rgba(255,255,255,0.6)":"#ccc"},defaultLabelColor:function(){return this.darkMode?"rgba(255,255,255,0.6)":"#000"}},mounted:function(){this.init()},beforeDestroy:function(){this.myChart&&this.myChart.clear()},methods:{init:function(){var t=this;this.chartEL=this.$refs.mainCharts,this.myChart=i.init(this.chartEL,this.darkMode?"dark":"customed"),this.option={tooltip:{trigger:"axis",formatter:function(e){return"时间:".concat(e[0].name,"
估算涨跌幅:").concat(e[0].value,"%
估算净值:").concat((t.DWJZ*(1+.01*e[0].value)).toFixed(4),"元")}},grid:{top:30,bottom:30},xAxis:{type:"category",data:this.timeData,position:"bottom",axisLabel:{formatter:this.fmtAxis,interval:this.fmtVal},axisLine:{onZero:!1}},yAxis:[{type:"value",axisLabel:{color:this.yAxisLabelColor,formatter:function(t){return t.toFixed(2)+"%"}},splitLine:{show:!0,lineStyle:{type:"dashed",color:this.defaultColor}},data:[]},{type:"value",axisLabel:{color:this.yAxisLabelColor,formatter:function(e){return(t.DWJZ*(1+.01*e)).toFixed(4)}},splitLine:{show:!0,lineStyle:{type:"dashed",color:this.defaultColor}},data:[]}],series:[{name:"估算涨跌幅",type:"line",data:[],markLine:{silent:!0,symbol:"none",animation:!1,label:{show:!1},lineStyle:{type:"solid"},data:[{yAxis:0}]}},{name:"估算净值",type:"line",symbol:"none",data:[],yAxisIndex:1,lineStyle:{normal:{width:0}}}]},this.getData()},fmtAxis:function(t,e){return"13:00"==t?"11:30/13:00":t},fmtVal:function(t,e){return-1!=["09:30","10:30","13:00","14:00","15:00"].indexOf(e)},yAxisLabelColor:function(t,e){return t>0?"#f56c6c":0==t?this.defaultLabelColor:"#4eb61b"},handle_num:function(t){var e=Math.abs(Math.max.apply(null,t)).toFixed(2),n=Math.abs(Math.min.apply(null,t)).toFixed(2);return e>n?e:n},getData:function(){var t=this;this.loading=!0;var e="https://fundmobapi.eastmoney.com/FundMApi/FundVarietieValuationDetail.ashx?FCODE=".concat(this.fund.fundcode,"&deviceid=Wap&plat=Wap&product=EFund&version=2.0.0&_=").concat((new Date).getTime());this.$axios.get(e).then((function(e){t.loading=!1;var n=e.data.Datas.map((function(t){return t.split(",")}));t.option.series[0].data=n.map((function(t){return(+t[2]).toFixed(2)})),t.option.series[1].data=n.map((function(t){return(+t[2]).toFixed(2)}));var i=t.handle_num(t.option.series[0].data);t.DWJZ=e.data.Expansion.DWJZ,t.option.yAxis[0].min=-i,t.option.yAxis[0].max=i,t.option.yAxis[0].interval=i/4,t.option.yAxis[1].min=-i,t.option.yAxis[1].max=i,t.option.yAxis[1].interval=i/4,t.myChart.setOption(t.option)}))}}},o=(n(744),n(13)),a=Object(o.a)(r,(function(){var t=this.$createElement;return(this._self._c||t)("div",{directives:[{name:"loading",rawName:"v-loading",value:this.loading,expression:"loading"}],ref:"mainCharts",staticClass:"main-echarts",attrs:{"element-loading-background":this.darkMode?"rgba(0, 0, 0, 0.9)":"rgba(255, 255, 255, 0.9)"}})}),[],!1,null,"07a74bfd",null);e.a=a.exports},function(t,e,n){"use strict";n(87),n(85),n(155),n(164);var i=n(1);n(112),n(117),n(97);var r={name:"chatrs",props:{darkMode:{type:Boolean,default:!1},fund:{type:Object,required:!0},chartType:{type:String,required:!0}},data:function(){return{chartEL:null,myChart:null,minVal:null,maxVal:null,interVal:null,sltTimeRange:"y",chartTypeList:{DWJZ:{name:"单位净值"},LJJZ:{name:"累计净值"}},option:{},loading:!1}},watch:{},computed:{defaultColor:function(){return this.darkMode?"rgba(255,255,255,0.6)":"#ccc"}},mounted:function(){this.init()},beforeDestroy:function(){this.myChart&&this.myChart.clear()},methods:{init:function(){var t=this;this.chartEL=this.$refs.mainCharts,this.myChart=i.init(this.chartEL,this.darkMode?"dark":"customed"),this.option={tooltip:{trigger:"axis",formatter:function(e){return"时间:".concat(e[0].name,"
").concat(t.chartTypeList[t.chartType].name,":").concat(e[0].value)}},grid:{top:30,bottom:30,left:60},xAxis:{type:"category",data:[],axisLabel:{}},yAxis:{type:"value",scale:!0,axisLabel:{color:this.defaultColor,formatter:function(e){return"LJSY"==t.chartType?e.toFixed(1)+"%":e.toFixed(3)}},splitLine:{show:!0,lineStyle:{type:"dashed",color:this.defaultColor}},data:[]},series:[{type:"line",data:[]}]},this.getData()},changeTimeRange:function(t){this.getData()},handle_num_range:function(t){return[Math.max.apply(null,t),Math.min.apply(null,t)]},getData:function(){var t=this;if(this.loading=!0,"LJSY"==this.chartType){var e="https://dataapi.1234567.com.cn/dataapi/fund/FundVPageAcc?INDEXCODE=000300&CODE=".concat(this.fund.fundcode,"&FCODE=").concat(this.fund.fundcode,"&RANGE=").concat(this.sltTimeRange,"&deviceid=Wap&product=EFund");this.$axios.get(e).then((function(e){t.loading=!1;var n=e.data.data;n&&(t.option.legend={show:!0},t.option.tooltip.formatter=function(t){var e=t.length>1?"
".concat(t[1].seriesName,":").concat(t[1].value,"%"):"";return"时间:".concat(t[0].name,"
").concat(t[0].seriesName,":").concat(t[0].value,"%").concat(e)},t.option.series=[{type:"line",name:"涨幅",data:n.map((function(t){return+t.yield}))},{type:"line",name:"沪深300",data:n.map((function(t){return+t.indexYield}))},{type:"line",name:"同类平均",data:n.map((function(t){return+t.fundTypeYield}))}],t.option.xAxis.data=n.map((function(t){return t.pdate})),t.myChart.setOption(t.option))}))}else{var n="https://fundmobapi.eastmoney.com/FundMApi/FundNetDiagram.ashx?FCODE=".concat(this.fund.fundcode,"&RANGE=").concat(this.sltTimeRange,"&deviceid=Wap&plat=Wap&product=EFund&version=2.0.0&_=").concat((new Date).getTime());this.$axios.get(n).then((function(e){t.loading=!1;var n=e.data.Datas;t.option.series=[{type:"line",name:"单位净值",data:n.map((function(t){return+t.DWJZ}))},{type:"line",name:"累计净值",data:n.map((function(t){return+t.LJJZ}))}],t.option.tooltip.formatter=function(t){var e=t.length>1?"
".concat(t[1].seriesName,":").concat(t[1].value):"";return"时间:".concat(t[0].name,"
").concat(t[0].seriesName,":").concat(t[0].value).concat(e,"
日增长率:").concat(n[t[0].dataIndex].JZZZL,"%")},t.option.legend={show:!0},t.option.xAxis.data=n.map((function(t){return t.FSRQ})),t.myChart.setOption(t.option)}))}}}},o=(n(745),n(13)),a=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"box",attrs:{"element-loading-background":t.darkMode?"rgba(0, 0, 0, 0.9)":"rgba(255, 255, 255, 0.9)"}},[n("div",{ref:"mainCharts",staticClass:"main-echarts"}),t._v(" "),n("div",[n("el-radio-group",{on:{change:t.changeTimeRange},model:{value:t.sltTimeRange,callback:function(e){t.sltTimeRange=e},expression:"sltTimeRange"}},[n("el-radio-button",{attrs:{label:"y"}},[t._v("月")]),t._v(" "),n("el-radio-button",{attrs:{label:"3y"}},[t._v("季")]),t._v(" "),n("el-radio-button",{attrs:{label:"6y"}},[t._v("半年")]),t._v(" "),n("el-radio-button",{attrs:{label:"n"}},[t._v("一年")]),t._v(" "),n("el-radio-button",{attrs:{label:"3n"}},[t._v("三年")]),t._v(" "),n("el-radio-button",{attrs:{label:"5n"}},[t._v("五年")])],1)],1)])}),[],!1,null,"9864af8a",null);e.a=a.exports},function(t,e,n){"use strict";n(87),n(85),n(280);var i={components:{},name:"positionDetails",props:{darkMode:{type:Boolean,default:!1},fund:{type:Object,required:!0}},data:function(){return{dataList:[],dataListGp:[],expansion:null,loading:!1,sltData:{}}},watch:{},computed:{defaultColor:function(){return this.darkMode?"rgba(255,255,255,0.6)":"#ccc"}},mounted:function(){this.init()},methods:{init:function(){this.getData()},getData:function(){var t=this;this.loading=!0;var e="https://fundmobapi.eastmoney.com/FundMNewApi/FundMNInverstPosition?FCODE=".concat(this.fund.fundcode,"&deviceid=Wap&plat=Wap&product=EFund&version=2.0.0&Uid=&_=").concat((new Date).getTime());this.$axios.get(e).then((function(e){var n=e.data.Datas.fundStocks;if(n){var i=n.map((function(t){return t.NEWTEXCH+"."+t.GPDM})).join(","),r="https://push2.eastmoney.com/api/qt/ulist.np/get?fields=f1,f2,f3,f4,f12,f13,f14,f292&fltt=2&secids=".concat(i,"&deviceid=Wap&plat=Wap&product=EFund&version=2.0.0&Uid=");t.$axios.get(r).then((function(i){t.loading=!1,t.dataListGp=i.data.data.diff,t.dataList=n,t.expansion=e.data.Expansion}))}else t.loading=!1}))},openPage:function(t){var e=this.dataListGp[t];this.sltData=e,this.$emit("sltStock",e)},compared:function(t){return"新增"==t.PCTNVCHGTYPE?"新增":isNaN(t.PCTNVCHG)?0:(t.PCTNVCHG>0?"↑ ":"↓ ")+Math.abs(parseFloat(t.PCTNVCHG)).toFixed(2)+"%"}}},r=(n(746),n(13)),o=Object(r.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"box",attrs:{"element-loading-background":t.darkMode?"rgba(0, 0, 0, 0.9)":"rgba(255, 255, 255, 0.9)"}},[n("h5",[t.expansion?n("span",[t._v("截止日期:"+t._s(t.expansion))]):n("span",[t._v("暂无数据")])]),t._v(" "),n("table",[t._m(0),t._v(" "),n("tbody",t._l(t.dataList,(function(e,i){return n("tr",{key:e.GPDM,on:{click:function(e){return t.openPage(i)}}},[n("td",{staticClass:"gpcode",staticStyle:{"text-align":"left"}},[t._v("\n "+t._s(e.GPJC+"("+e.GPDM+")")+"\n ")]),t._v(" "),n("td",[t._v(t._s(t.dataListGp[i].f2.toFixed(2)))]),t._v(" "),n("td",{class:t.dataListGp[i].f3>=0?"up":"down"},[t._v("\n "+t._s(t.dataListGp[i].f3.toFixed(2))+"%\n ")]),t._v(" "),n("td",[t._v(t._s(parseFloat(e.JZBL).toFixed(2))+"%")]),t._v(" "),n("td",[t._v(t._s(t.compared(e)))])])})),0)])])}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",{staticStyle:{"text-align":"left"}},[t._v("股票名称(代码)")]),t._v(" "),n("th",[t._v("价格")]),t._v(" "),n("th",[t._v("涨跌幅")]),t._v(" "),n("th",[t._v("持仓占比")]),t._v(" "),n("th",[t._v("较上期")])])])}],!1,null,"fd196d2e",null);e.a=o.exports},function(t,e,n){"use strict";n(87);var i={components:{},name:"fundInfo",props:{darkMode:{type:Boolean,default:!1},fund:{type:Object,required:!0}},data:function(){return{infoData:{},loading:!1}},watch:{},computed:{defaultColor:function(){return this.darkMode?"rgba(255,255,255,0.6)":"#ccc"}},mounted:function(){this.init()},methods:{init:function(){this.getData()},getData:function(){var t=this;this.loading=!0;var e="https://fundmobapi.eastmoney.com/FundMApi/FundBaseTypeInformation.ashx?FCODE=".concat(this.fund.fundcode,"&deviceid=Wap&plat=Wap&product=EFund&version=2.0.0&Uid=&_=").concat((new Date).getTime());this.$axios.get(e).then((function(e){t.loading=!1,t.infoData=e.data.Datas}))},numberFormat:function(t){var e,n={},i=1e4;return t0?"up":"down"},[t._v("\n "+t._s(t.infoData.SYL_Y)+"%("+t._s(t.infoData.RANKM)+")\n ")]):n("p",{staticClass:"up"},[t._v("无")])]),t._v(" "),n("div",[n("div",[t._v("近3月(排名)")]),t._v(" "),t.infoData.SYL_3Y?n("p",{class:t.infoData.SYL_3Y>0?"up":"down"},[t._v("\n "+t._s(t.infoData.SYL_3Y)+"%("+t._s(t.infoData.RANKQ)+")\n ")]):n("p",{staticClass:"up"},[t._v("无")])]),t._v(" "),n("div",[n("div",[t._v("近6月(排名)")]),t._v(" "),t.infoData.SYL_6Y?n("p",{class:t.infoData.SYL_6Y>0?"up":"down"},[t._v("\n "+t._s(t.infoData.SYL_6Y)+"%("+t._s(t.infoData.RANKHY)+")\n ")]):n("p",{staticClass:"up"},[t._v("无")])]),t._v(" "),n("div",[n("div",[t._v("近1年(排名)")]),t._v(" "),t.infoData.SYL_1N?n("p",{class:t.infoData.SYL_1N>0?"up":"down"},[t._v("\n "+t._s(t.infoData.SYL_1N)+"%("+t._s(t.infoData.RANKY)+")\n ")]):n("p",{staticClass:"up"},[t._v("无")])])]),t._v(" "),n("div",[t._v("单位净值:"+t._s(t.infoData.DWJZ)+"("+t._s(t.infoData.FSRQ)+")")]),t._v(" "),n("div",[t._v("累计净值:"+t._s(t.infoData.LJJZ))]),t._v(" "),n("div",[t._v("基金类型:"+t._s(t.infoData.FTYPE))]),t._v(" "),n("div",[t._v("基金公司:"+t._s(t.infoData.JJGS))]),t._v(" "),n("div",{staticClass:"hover",on:{click:t.showManager}},[t._v("\n 基金经理:"+t._s(t.infoData.JJJL)+"\n ")]),t._v(" "),n("div",[t._v("交易状态:"+t._s(t.infoData.SGZT)+" "+t._s(t.infoData.SHZT))]),t._v(" "),n("div",[t._v("基金规模:"+t._s(t.numberFormat(t.infoData.ENDNAV)))]),t._v(" "),t.infoData.FUNDBONUS?n("div",[t._v("\n 分红状态:"+t._s(t.infoData.FUNDBONUS.PDATE)+"日,每份基金份额折算"+t._s(t.infoData.FUNDBONUS.CHGRATIO)+"份\n ")]):t._e()]):t._e()])}),[],!1,null,"1392f8f2",null);e.a=o.exports},function(t,e,n){"use strict";n(87);var i={name:"managerDetail",props:{darkMode:{type:Boolean,default:!1}},data:function(){return{boxShadow:!1,loadingManager:!1,managerList:[],managerDetail:[]}},watch:{},computed:{boxClass:function(){var t="";return this.darkMode&&(t+="darkMode "),t}},mounted:function(){},methods:{init:function(t){this.boxShadow=!0,this.getManagerList(t),this.getMangerDetail(t)},getManagerList:function(t){var e=this,n="https://fundmobapi.eastmoney.com/FundMApi/FundManagerList.ashx?FCODE=".concat(t,"&deviceid=Wap&plat=Wap&product=EFund&version=2.0.0&Uid=&_=").concat((new Date).getTime());this.$axios.get(n).then((function(t){e.managerList=t.data.Datas}))},getMangerDetail:function(t){var e=this,n="https://fundmobapi.eastmoney.com/FundMApi/FundMangerDetail.ashx?FCODE=".concat(t,"&deviceid=Wap&plat=Wap&product=EFund&version=2.0.0&Uid=&_=").concat((new Date).getTime());this.$axios.get(n).then((function(t){e.managerDetail=t.data.Datas}))},close:function(){this.boxShadow=!1}}},r=(n(748),n(13)),o=Object(r.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.boxShadow?n("div",{staticClass:"shadow",class:t.boxClass},[n("div",{staticClass:"manager-box"},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadingManager,expression:"loadingManager"}],ref:"manager",staticClass:"manager-content",attrs:{"element-loading-background":t.darkMode?"rgba(0, 0, 0, 0.9)":"rgba(255, 255, 255, 0.9)"}},[n("div",[n("h5",[t._v("基金经理变动一览")]),t._v(" "),n("div",{staticClass:"table-row"},[n("table",[t._m(0),t._v(" "),n("tbody",t._l(t.managerList,(function(e){return n("tr",{key:e.MGRID},[n("td",[t._v(t._s(e.FEMPDATE))]),t._v(" "),n("td",[t._v(t._s(""==e.LEMPDATE?"至今":e.LEMPDATE))]),t._v(" "),n("td",[t._v(t._s(e.MGRNAME))]),t._v(" "),n("td",[t._v(t._s(e.DAYS.toFixed(0))+"天")]),t._v(" "),n("td",{class:e.PENAVGROWTH>=0?"up":"down"},[t._v("\n "+t._s(e.PENAVGROWTH.toFixed(2))+"%\n ")])])})),0)])]),t._v(" "),n("h5",[t._v("现任基金经理简介")]),t._v(" "),t._l(t.managerDetail,(function(e){return n("div",{key:e.MGRID},[n("div",{staticClass:"manager-info"},[n("div",{staticClass:"img-row"},[n("img",{attrs:{src:e.PHOTOURL,alt:e.MGRNAME}})]),t._v(" "),n("div",{staticClass:"info-row"},[n("p",[t._v("姓名:"+t._s(e.MGRNAME))]),t._v(" "),n("p",[t._v("上任日期:"+t._s(e.FEMPDATE))]),t._v(" "),n("p",[t._v("管理年限:"+t._s(e.DAYS))])])]),t._v(" "),n("div",{staticClass:"manager-resume"},[t._v(t._s(e.RESUME))])])}))],2)]),t._v(" "),n("div",{staticClass:"tab-row"},[n("input",{staticClass:"btn",attrs:{type:"button",value:"返回列表"},on:{click:t.close}})])])]):t._e()}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("起始期")]),t._v(" "),n("th",[t._v("截止期")]),t._v(" "),n("th",[t._v("基金经理")]),t._v(" "),n("th",[t._v("任职期")]),t._v(" "),n("th",[t._v("任职涨幅")])])])}],!1,null,"3ba8d057",null);e.a=o.exports},,function(t,e,n){var i=n(22),r=n(450);i({global:!0,forced:parseInt!=r},{parseInt:r})},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},function(t,e,n){var i=n(70),r=n(33),o=n(103),a=n(29),s=function(t){return function(e,n,s,l){i(n);var u=r(e),c=o(u),h=a(u.length),d=t?h-1:0,f=t?-1:1;if(s<2)for(;;){if(d in c){l=c[d],d+=f;break}if(d+=f,t?d<0:h<=d)throw TypeError("Reduce of empty array with no initial value")}for(;t?d>=0:h>d;d+=f)d in c&&(l=n(l,c[d],d,u));return l}};t.exports={left:s(!1),right:s(!0)}},function(t,e,n){var i=n(35),r=n(6);t.exports="process"==i(r.process)},,,function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";n.r(e);var i=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,i){return t[0]===e&&(n=i,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),i=this.__entries__[n];return i&&i[1]},e.prototype.set=function(e,n){var i=t(this.__entries__,e);~i?this.__entries__[i][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,i=t(n,e);~i&&n.splice(i,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,i=this.__entries__;n0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;s.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),c=function(t,e){for(var n=0,i=Object.keys(e);n0},t}(),w="undefined"!=typeof WeakMap?new WeakMap:new i,S=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=u.getInstance(),i=new b(e,n,this);w.set(this,i)};["observe","unobserve","disconnect"].forEach((function(t){S.prototype[t]=function(){var e;return(e=w.get(this))[t].apply(e,arguments)}}));var M=void 0!==o.ResizeObserver?o.ResizeObserver:S;e.default=M},function(t,e,n){},function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=140)}({140:function(t,e,n){"use strict";n.r(e);var i=n(5),r=n.n(i),o=n(18),a=n.n(o),s=n(2),l=n(3),u=n(7),c=n.n(u),h={name:"ElTooltip",mixins:[r.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(l.generateId)(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var t=this;this.$isServer||(this.popperVM=new c.a({data:{node:""},render:function(t){return this.node}}).$mount(),this.debounceClose=a()(200,(function(){return t.handleClosePopper()})))},render:function(t){var e=this;this.popperVM&&(this.popperVM.node=t("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[t("div",{on:{mouseleave:function(){e.setExpectedState(!1),e.debounceClose()},mouseenter:function(){e.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var i=n.data=n.data||{};return i.staticClass=this.addTooltipClass(i.staticClass),n},mounted:function(){var t=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(s.on)(this.referenceElm,"mouseenter",this.show),Object(s.on)(this.referenceElm,"mouseleave",this.hide),Object(s.on)(this.referenceElm,"focus",(function(){if(t.$slots.default&&t.$slots.default.length){var e=t.$slots.default[0].componentInstance;e&&e.focus?e.focus():t.handleFocus()}else t.handleFocus()})),Object(s.on)(this.referenceElm,"blur",this.handleBlur),Object(s.on)(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick((function(){t.value&&t.updatePopper()}))},watch:{focusing:function(t){t?Object(s.addClass)(this.referenceElm,"focusing"):Object(s.removeClass)(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(t){return t?"el-tooltip "+t.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var t=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){t.showPopper=!0}),this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout((function(){t.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(t){!1===t&&clearTimeout(this.timeoutPending),this.expectedState=t},getFirstElement:function(){var t=this.$slots.default;if(!Array.isArray(t))return null;for(var e=null,n=0;nt?u():!0!==e&&(r=setTimeout(i?c:u,void 0===i?t-s:t))}}},function(t,e,n){"use strict";var i,r;"function"==typeof Symbol&&Symbol.iterator;void 0===(r="function"==typeof(i=function(){var t=window,e={placement:"bottom",gpuAcceleration:!0,offset:0,boundariesElement:"viewport",boundariesPadding:5,preventOverflowOrder:["left","right","top","bottom"],flipBehavior:"flip",arrowElement:"[x-arrow]",arrowOffset:0,modifiers:["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],modifiersIgnored:[],forceAbsolute:!1};function n(t,n,i){this._reference=t.jquery?t[0]:t,this.state={};var r=null==n,o=n&&"[object Object]"===Object.prototype.toString.call(n);return this._popper=r||o?this.parse(o?n:{}):n.jquery?n[0]:n,this._options=Object.assign({},e,i),this._options.modifiers=this._options.modifiers.map(function(t){if(-1===this._options.modifiersIgnored.indexOf(t))return"applyStyle"===t&&this._popper.setAttribute("x-placement",this._options.placement),this.modifiers[t]||t}.bind(this)),this.state.position=this._getPosition(this._popper,this._reference),c(this._popper,{position:this.state.position,top:0}),this.update(),this._setupEventListeners(),this}function i(e){var n=e.style.display,i=e.style.visibility;e.style.display="block",e.style.visibility="hidden",e.offsetWidth;var r=t.getComputedStyle(e),o=parseFloat(r.marginTop)+parseFloat(r.marginBottom),a=parseFloat(r.marginLeft)+parseFloat(r.marginRight),s={width:e.offsetWidth+a,height:e.offsetHeight+o};return e.style.display=n,e.style.visibility=i,s}function r(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function o(t){var e=Object.assign({},t);return e.right=e.left+e.width,e.bottom=e.top+e.height,e}function a(t,e){var n,i=0;for(n in t){if(t[n]===e)return i;i++}return null}function s(e,n){return t.getComputedStyle(e,null)[n]}function l(e){var n=e.offsetParent;return n!==t.document.body&&n?n:t.document.documentElement}function u(e){var n=e.parentNode;return n?n===t.document?t.document.body.scrollTop||t.document.body.scrollLeft?t.document.body:t.document.documentElement:-1!==["scroll","auto"].indexOf(s(n,"overflow"))||-1!==["scroll","auto"].indexOf(s(n,"overflow-x"))||-1!==["scroll","auto"].indexOf(s(n,"overflow-y"))?n:u(e.parentNode):e}function c(t,e){Object.keys(e).forEach((function(n){var i,r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&""!==(i=e[n])&&!isNaN(parseFloat(i))&&isFinite(i)&&(r="px"),t.style[n]=e[n]+r}))}function h(t){var e={width:t.offsetWidth,height:t.offsetHeight,left:t.offsetLeft,top:t.offsetTop};return e.right=e.left+e.width,e.bottom=e.top+e.height,e}function d(t){var e=t.getBoundingClientRect(),n=-1!=navigator.userAgent.indexOf("MSIE")&&"HTML"===t.tagName?-t.scrollTop:e.top;return{left:e.left,top:n,right:e.right,bottom:e.bottom,width:e.right-e.left,height:e.bottom-n}}function f(e){for(var n=["","ms","webkit","moz","o"],i=0;i1&&console.warn("WARNING: the given `parent` query("+e.parent+") matched more than one element, the first one will be used"),0===a.length)throw"ERROR: the given `parent` doesn't exists!";a=a[0]}return a.length>1&&a instanceof Element==0&&(console.warn("WARNING: you have passed as parent a list of elements, the first one will be used"),a=a[0]),a.appendChild(r),r;function s(t,e){e.forEach((function(e){t.classList.add(e)}))}function l(t,e){e.forEach((function(e){t.setAttribute(e.split(":")[0],e.split(":")[1]||"")}))}},n.prototype._getPosition=function(e,n){return l(n),this._options.forceAbsolute?"absolute":function e(n){return n!==t.document.body&&("fixed"===s(n,"position")||(n.parentNode?e(n.parentNode):n))}(n)?"fixed":"absolute"},n.prototype._getOffsets=function(t,e,n){n=n.split("-")[0];var r={};r.position=this.state.position;var o="fixed"===r.position,a=function(t,e,n){var i=d(t),r=d(e);if(n){var o=u(e);r.top+=o.scrollTop,r.bottom+=o.scrollTop,r.left+=o.scrollLeft,r.right+=o.scrollLeft}return{top:i.top-r.top,left:i.left-r.left,bottom:i.top-r.top+i.height,right:i.left-r.left+i.width,width:i.width,height:i.height}}(e,l(t),o),s=i(t);return-1!==["right","left"].indexOf(n)?(r.top=a.top+a.height/2-s.height/2,r.left="left"===n?a.left-s.width:a.right):(r.left=a.left+a.width/2-s.width/2,r.top="top"===n?a.top-s.height:a.bottom),r.width=s.width,r.height=s.height,{popper:r,reference:a}},n.prototype._setupEventListeners=function(){if(this.state.updateBound=this.update.bind(this),t.addEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement){var e=u(this._reference);e!==t.document.body&&e!==t.document.documentElement||(e=t),e.addEventListener("scroll",this.state.updateBound),this.state.scrollTarget=e}},n.prototype._removeEventListeners=function(){t.removeEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement&&this.state.scrollTarget&&(this.state.scrollTarget.removeEventListener("scroll",this.state.updateBound),this.state.scrollTarget=null),this.state.updateBound=null},n.prototype._getBoundaries=function(e,n,i){var r,o,a={};if("window"===i){var s=t.document.body,c=t.document.documentElement;r=Math.max(s.scrollHeight,s.offsetHeight,c.clientHeight,c.scrollHeight,c.offsetHeight),a={top:0,right:Math.max(s.scrollWidth,s.offsetWidth,c.clientWidth,c.scrollWidth,c.offsetWidth),bottom:r,left:0}}else if("viewport"===i){var d=l(this._popper),f=u(this._popper),p=h(d),g="fixed"===e.offsets.popper.position?0:(o=f)==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):o.scrollTop,m="fixed"===e.offsets.popper.position?0:function(t){return t==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):t.scrollLeft}(f);a={top:0-(p.top-g),right:t.document.documentElement.clientWidth-(p.left-m),bottom:t.document.documentElement.clientHeight-(p.top-g),left:0-(p.left-m)}}else a=l(this._popper)===i?{top:0,left:0,right:i.clientWidth,bottom:i.clientHeight}:h(i);return a.left+=n,a.right-=n,a.top=a.top+n,a.bottom=a.bottom-n,a},n.prototype.runModifiers=function(t,e,n){var i=e.slice();return void 0!==n&&(i=this._options.modifiers.slice(0,a(this._options.modifiers,n))),i.forEach(function(e){var n;(n=e)&&"[object Function]"==={}.toString.call(n)&&(t=e.call(this,t))}.bind(this)),t},n.prototype.isModifierRequired=function(t,e){var n=a(this._options.modifiers,t);return!!this._options.modifiers.slice(0,n).filter((function(t){return t===e})).length},n.prototype.modifiers={},n.prototype.modifiers.applyStyle=function(t){var e,n={position:t.offsets.popper.position},i=Math.round(t.offsets.popper.left),r=Math.round(t.offsets.popper.top);return this._options.gpuAcceleration&&(e=f("transform"))?(n[e]="translate3d("+i+"px, "+r+"px, 0)",n.top=0,n.left=0):(n.left=i,n.top=r),Object.assign(n,t.styles),c(this._popper,n),this._popper.setAttribute("x-placement",t.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&t.offsets.arrow&&c(t.arrowElement,t.offsets.arrow),t},n.prototype.modifiers.shift=function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var r=t.offsets.reference,a=o(t.offsets.popper),s={y:{start:{top:r.top},end:{top:r.top+r.height-a.height}},x:{start:{left:r.left},end:{left:r.left+r.width-a.width}}},l=-1!==["bottom","top"].indexOf(n)?"x":"y";t.offsets.popper=Object.assign(a,s[l][i])}return t},n.prototype.modifiers.preventOverflow=function(t){var e=this._options.preventOverflowOrder,n=o(t.offsets.popper),i={left:function(){var e=n.left;return n.leftt.boundaries.right&&(e=Math.min(n.left,t.boundaries.right-n.width)),{left:e}},top:function(){var e=n.top;return n.topt.boundaries.bottom&&(e=Math.min(n.top,t.boundaries.bottom-n.height)),{top:e}}};return e.forEach((function(e){t.offsets.popper=Object.assign(n,i[e]())})),t},n.prototype.modifiers.keepTogether=function(t){var e=o(t.offsets.popper),n=t.offsets.reference,i=Math.floor;return e.righti(n.right)&&(t.offsets.popper.left=i(n.right)),e.bottomi(n.bottom)&&(t.offsets.popper.top=i(n.bottom)),t},n.prototype.modifiers.flip=function(t){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return console.warn("WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!"),t;if(t.flipped&&t.placement===t._originalPlacement)return t;var e=t.placement.split("-")[0],n=r(e),i=t.placement.split("-")[1]||"",a=[];return(a="flip"===this._options.flipBehavior?[e,n]:this._options.flipBehavior).forEach(function(s,l){if(e===s&&a.length!==l+1){e=t.placement.split("-")[0],n=r(e);var u=o(t.offsets.popper),c=-1!==["right","bottom"].indexOf(e);(c&&Math.floor(t.offsets.reference[e])>Math.floor(u[n])||!c&&Math.floor(t.offsets.reference[e])s[f]&&(t.offsets.popper[h]+=l[h]+p-s[f]);var g=l[h]+(n||l[c]/2-p/2)-s[h];return g=Math.max(Math.min(s[c]-p-8,g),8),r[h]=g,r[d]="",t.offsets.arrow=r,t.arrowElement=e,t},Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(t){if(null==t)throw new TypeError("Cannot convert first argument to object");for(var e=Object(t),n=1;n=0&&t===parseInt(t,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(t){var e=void 0===t?t:Number(t);if(void 0!==e){if(isNaN(e))return;if(this.stepStrictly){var n=this.getPrecision(this.step),i=Math.pow(10,n);e=Math.round(e/this.step)*i*this.step/i}void 0!==this.precision&&(e=this.toPrecision(e,this.precision))}e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),this.currentValue=e,this.userInput=null,this.$emit("input",e)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)this.max},numPrecision:function(){var t=this.value,e=this.step,n=this.getPrecision,i=this.precision,r=n(e);return void 0!==i?(r>i&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),i):Math.max(n(t),r)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var t=this.currentValue;if("number"==typeof t){if(this.stepStrictly){var e=this.getPrecision(this.step),n=Math.pow(10,e);t=Math.round(t/this.step)*n*this.step/n}void 0!==this.precision&&(t=t.toFixed(this.precision))}return t}},methods:{toPrecision:function(t,e){return void 0===e&&(e=this.numPrecision),parseFloat(Math.round(t*Math.pow(10,e))/Math.pow(10,e))},getPrecision:function(t){if(void 0===t)return 0;var e=t.toString(),n=e.indexOf("."),i=0;return-1!==n&&(i=e.length-n-1),i},_increase:function(t,e){if("number"!=typeof t&&void 0!==t)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*t+n*e)/n)},_decrease:function(t,e){if("number"!=typeof t&&void 0!==t)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*t-n*e)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var t=this.value||0,e=this._increase(t,this.step);this.setCurrentValue(e)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var t=this.value||0,e=this._decrease(t,this.step);this.setCurrentValue(e)}},handleBlur:function(t){this.$emit("blur",t)},handleFocus:function(t){this.$emit("focus",t)},setCurrentValue:function(t){var e=this.currentValue;"number"==typeof t&&void 0!==this.precision&&(t=this.toPrecision(t,this.precision)),t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),e!==t&&(this.userInput=null,this.$emit("input",t),this.$emit("change",t,e),this.currentValue=t)},handleInput:function(t){this.userInput=t},handleInputChange:function(t){var e=""===t?void 0:Number(t);isNaN(e)&&""!==t||this.setCurrentValue(e),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var t=this.$refs.input.$refs.input;t.setAttribute("role","spinbutton"),t.setAttribute("aria-valuemax",this.max),t.setAttribute("aria-valuemin",this.min),t.setAttribute("aria-valuenow",this.currentValue),t.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){this.$refs&&this.$refs.input&&this.$refs.input.$refs.input.setAttribute("aria-valuenow",this.currentValue)}},c=n(0),h=Object(c.a)(u,i,[],!1,null,null,null);h.options.__file="packages/input-number/src/input-number.vue";var d=h.exports;d.install=function(t){t.component(d.name,d)};e.default=d},2:function(t,e){t.exports=n(59)},22:function(t,e){t.exports=n(178)},30:function(t,e,n){"use strict";var i=n(2);e.a={bind:function(t,e,n){var r=null,o=void 0,a=function(){return n.context[e.expression].apply()},s=function(){Date.now()-o<100&&a(),clearInterval(r),r=null};Object(i.on)(t,"mousedown",(function(t){0===t.button&&(o=Date.now(),Object(i.once)(document,"mouseup",s),clearInterval(r),r=setInterval(a,100))}))}}}})},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";e.__esModule=!0;var i,r=n(4),o=(i=r)&&i.__esModule?i:{default:i},a=n(59);var s=[],l="@@clickoutsideContext",u=void 0,c=0;function h(t,e,n){return function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&i.target&&r.target)||t.contains(i.target)||t.contains(r.target)||t===i.target||n.context.popperElm&&(n.context.popperElm.contains(i.target)||n.context.popperElm.contains(r.target))||(e.expression&&t[l].methodName&&n.context[t[l].methodName]?n.context[t[l].methodName]():t[l].bindingFn&&t[l].bindingFn())}}!o.default.prototype.$isServer&&(0,a.on)(document,"mousedown",(function(t){return u=t})),!o.default.prototype.$isServer&&(0,a.on)(document,"mouseup",(function(t){s.forEach((function(e){return e[l].documentHandler(t,u)}))})),e.default={bind:function(t,e,n){s.push(t);var i=c++;t[l]={id:i,documentHandler:h(t,e,n),methodName:e.expression,bindingFn:e.value}},update:function(t,e,n){t[l].documentHandler=h(t,e,n),t[l].methodName=e.expression,t[l].bindingFn=e.value},unbind:function(t){for(var e=s.length,n=0;nl&&(t.scrollTop=a-t.clientHeight)};var i,r=n(4),o=(i=r)&&i.__esModule?i:{default:i}},function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=130)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},130:function(t,e,n){"use strict";n.r(e);var i={name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,disableTransitions:Boolean,color:String,size:String,effect:{type:String,default:"light",validator:function(t){return-1!==["dark","light","plain"].indexOf(t)}}},methods:{handleClose:function(t){t.stopPropagation(),this.$emit("close",t)},handleClick:function(t){this.$emit("click",t)}},computed:{tagSize:function(){return this.size||(this.$ELEMENT||{}).size}},render:function(t){var e=this.type,n=this.tagSize,i=this.hit,r=this.effect,o=t("span",{class:["el-tag",e?"el-tag--"+e:"",n?"el-tag--"+n:"",r?"el-tag--"+r:"",i&&"is-hit"],style:{backgroundColor:this.color},on:{click:this.handleClick}},[this.$slots.default,this.closable&&t("i",{class:"el-tag__close el-icon-close",on:{click:this.handleClose}})]);return this.disableTransitions?o:t("transition",{attrs:{name:"el-zoom-in-center"}},[o])}},r=n(0),o=Object(r.a)(i,void 0,void 0,!1,null,null,null);o.options.__file="packages/tag/src/tag.vue";var a=o.exports;a.install=function(t){t.component(a.name,a)};e.default=a}})},function(t,e,n){"use strict";e.__esModule=!0;var i=n(439);e.default={methods:{t:function(){for(var t=arguments.length,e=Array(t),n=0;n1?e-1:0),a=1;a>>0||(l.test(n)?16:10))}:s},function(t,e,n){var i=n(0),r=n(14),o=n(452),a=n(88),s=n(50),l=n(454);function u(){s.stop(this.event)}function c(){}c.prototype.dispose=function(){};var h=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],d=function(t,e,n,i){a.call(this),this.storage=t,this.painter=e,this.painterRoot=i,n=n||new c,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,o.call(this),this.setHandlerProxy(n)};function f(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i,r=t;r;){if(r.clipPath&&!r.clipPath.contain(e,n))return!1;r.silent&&(i=!0),r=r.parent}return!i||"silent"}return!1}function p(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}d.prototype={constructor:d,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(i.each(h,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,i=p(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?{x:e,y:n}:this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,n=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!n&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var n=this[t];n&&n.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:u}}(e,t,n);i&&(i[r]&&(o.cancelBubble=i[r].call(i,o)),i.trigger(e,o),i=i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},findHover:function(t,e,n){for(var i=this.storage.getDisplayList(),r={x:t,y:e},o=i.length-1;o>=0;o--){var a;if(i[o]!==n&&!i[o].ignore&&(a=f(i[o],t,e))&&(!r.topTarget&&(r.topTarget=i[o]),"silent"!==a)){r.target=i[o];break}}return r},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r,this.dispatchToElement({target:i.target},r,i.event)}}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){d.prototype[t]=function(e){var n,i,o=e.zrX,a=e.zrY,s=p(this,o,a);if("mouseup"===t&&s||(i=(n=this.findHover(o,a)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||r.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}})),i.mixin(d,a),i.mixin(d,o);var g=d;t.exports=g},function(t,e){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}function i(t,e){return{target:t,topTarget:e&&e.topTarget}}n.prototype={constructor:n,_dragStart:function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(i(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,r=t.offsetY,o=n-this._x,a=r-this._y;this._x=n,this._y=r,e.drift(o,a,t),this.dispatchToElement(i(e,t),"drag",t.event);var s=this.findHover(n,r,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.dispatchToElement(i(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(i(s,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(i(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(i(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var r=n;t.exports=r},function(t,e){var n=Math.log(2);function i(t,e,r,o,a,s){var l=o+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var c=Math.round(Math.log((1<1&&r&&r.length>1){var s=o(r)/o(a);!isFinite(s)&&(s=1),e.pinchScale=s;var l=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},s=r;t.exports=s},function(t,e,n){var i=n(0),r=n(20),o=n(89),a=n(244);function s(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(t,e){for(var n=0;n=0&&(this.delFromStorage(t),this._roots.splice(a,1),t instanceof o&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;t.exports=u},function(t,e,n){var i=n(310),r=n(148),o=n(0),a=o.isString,s=o.isFunction,l=o.isObject,u=o.isArrayLike,c=o.indexOf,h=function(){this.animators=[]};function d(t,e,n,i,r,o,c,h){a(i)?(o=r,r=i,i=0):s(r)?(o=r,r="linear",i=0):s(i)?(o=i,i=0):s(n)?(o=n,n=500):n||(n=500),t.stopAnimation(),function t(e,n,i,r,o,a,s){var c={},h=0;for(var d in r)r.hasOwnProperty(d)&&(null!=i[d]?l(r[d])&&!u(r[d])?t(e,n?n+"."+d:d,i[d],r[d],o,a,s):(s?(c[d]=i[d],f(e,n,d,r[d])):c[d]=r[d],h++):null==r[d]||s||f(e,n,d,r[d]));h>0&&e.animate(n,!1).when(null==o?500:o,c).delay(a||0)}(t,"",t,e,n,i,h);var d=t.animators.slice(),p=d.length;function g(){--p||o&&o()}p||o&&o();for(var m=0;m=0&&n.splice(i,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n15)break}l.__drawIndex=v,l.__drawIndex0&&t>i[0]){for(s=0;st);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var u=a.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else o("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,i,r=this._zlevelList;for(i=0;i0?.01:0),this._needsManuallyCompositing),l.__builtin__||o("ZLevel "+u+" has been used by unkown layer "+l.id),l!==r&&(l.__used=!0,l.__startIndex!==n&&(l.__dirty=!0),l.__startIndex=n,l.incremental?l.__drawIndex=-1:l.__drawIndex=n,e(n),r=l),s.__dirty&&(l.__dirty=!0,l.incremental&&l.__drawIndex<0&&(l.__drawIndex=n))}e(n),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?r.merge(n[t],e,!0):n[t]=e;for(var i=0;i=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;ne&&c>i&&c>o&&c>s||c1&&(h=void 0,h=p[0],p[0]=p[1],p[1]=h),g=u.cubicAt(e,i,o,s,p[0]),y>1&&(m=u.cubicAt(e,i,o,s,p[1]))),2===y?_e&&s>i&&s>o||s=0&&c<=1){for(var h=0,d=u.quadraticAt(e,i,o,c),p=0;pn||s<-n)return 0;var u=Math.sqrt(n*n-s*s);f[0]=-u,f[1]=u;var c=Math.abs(i-r);if(c<1e-4)return 0;if(c%d<1e-4){i=0,r=d;var h=o?1:-1;return a>=f[0]+t&&a<=f[1]+t?h:0}if(o){u=i;i=l(r),r=l(u)}else i=l(i),r=l(r);i>r&&(r+=d);for(var p=0,g=0;g<2;g++){var m=f[g];if(m+t>a){var v=Math.atan2(s,m);h=o?1:-1;v<0&&(v=d+v),(v>=i&&v<=r||v+d>=i&&v+d<=r)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),p+=h)}}return p}function y(t,e,n,i,l){for(var u,d,f=0,p=0,y=0,x=0,_=0,b=0;b1&&(n||(f+=c(p,y,x,_,i,l))),1===b&&(x=p=t[b],_=y=t[b+1]),w){case h.M:p=x=t[b++],y=_=t[b++];break;case h.L:if(n){if(r.containStroke(p,y,t[b],t[b+1],e,i,l))return!0}else f+=c(p,y,t[b],t[b+1],i,l)||0;p=t[b++],y=t[b++];break;case h.C:if(n){if(o.containStroke(p,y,t[b++],t[b++],t[b++],t[b++],t[b],t[b+1],e,i,l))return!0}else f+=g(p,y,t[b++],t[b++],t[b++],t[b++],t[b],t[b+1],i,l)||0;p=t[b++],y=t[b++];break;case h.Q:if(n){if(a.containStroke(p,y,t[b++],t[b++],t[b],t[b+1],e,i,l))return!0}else f+=m(p,y,t[b++],t[b++],t[b],t[b+1],i,l)||0;p=t[b++],y=t[b++];break;case h.A:var S=t[b++],M=t[b++],C=t[b++],T=t[b++],I=t[b++],A=t[b++];b+=1;var D=1-t[b++],k=Math.cos(I)*C+S,L=Math.sin(I)*T+M;b>1?f+=c(p,y,k,L,i,l):(x=k,_=L);var O=(i-S)*T/C+S;if(n){if(s.containStroke(S,M,T,I,I+A,D,e,O,l))return!0}else f+=v(S,M,T,I,I+A,D,O,l);p=Math.cos(I+A)*C+S,y=Math.sin(I+A)*T+M;break;case h.R:x=p=t[b++],_=y=t[b++];k=x+t[b++],L=_+t[b++];if(n){if(r.containStroke(x,_,k,_,e,i,l)||r.containStroke(k,_,k,L,e,i,l)||r.containStroke(k,L,x,L,e,i,l)||r.containStroke(x,L,x,_,e,i,l))return!0}else f+=c(k,_,k,L,i,l),f+=c(x,L,x,_,i,l);break;case h.Z:if(n){if(r.containStroke(p,y,x,_,e,i,l))return!0}else f+=c(p,y,x,_,i,l);p=x,y=_}}return n||(u=y,d=_,Math.abs(u-d)<1e-4)||(f+=c(p,y,x,_,i,l)||0),0!==f}e.contain=function(t,e,n){return y(t,0,!1,e,n)},e.containStroke=function(t,e,n,i){return y(t,e,!0,n,i)}},function(t,e,n){var i=n(72);e.containStroke=function(t,e,n,r,o,a,s,l,u,c,h){if(0===u)return!1;var d=u;return!(h>e+d&&h>r+d&&h>a+d&&h>l+d||ht+d&&c>n+d&&c>o+d&&c>s+d||cn||d+ha&&(a+=r);var p=Math.atan2(c,u);return p<0&&(p+=r),p>=o&&p<=a||p+r>=o&&p+r<=a}},function(t,e,n){var i=n(108),r=n(14).applyTransform,o=i.CMD,a=[[],[],[]],s=Math.sqrt,l=Math.atan2;t.exports=function(t,e){var n,i,u,c,h,d=t.data,f=o.M,p=o.C,g=o.L,m=o.R,v=o.A,y=o.Q;for(u=0,c=0;un-2?n-1:f+1],h=t[f>n-3?n-1:f+2]);var m=p*p,v=p*m;o.push([r(u[0],g[0],c[0],h[0],p,m,v),r(u[1],g[1],c[1],h[1],p,m,v)])}return o}},function(t,e,n){var i=n(14),r=i.min,o=i.max,a=i.scale,s=i.distance,l=i.add,u=i.clone,c=i.sub;t.exports=function(t,e,n,i){var h,d,f,p,g=[],m=[],v=[],y=[];if(i){f=[1/0,1/0],p=[-1/0,-1/0];for(var x=0,_=t.length;x<_;x++)r(f,f,t[x]),o(p,p,t[x]);r(f,f,i[0]),o(p,p,i[1])}for(x=0,_=t.length;x<_;x++){var b=t[x];if(n)h=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){g.push(u(t[x]));continue}h=t[x-1],d=t[x+1]}c(m,d,h),a(m,m,e);var w=s(b,h),S=s(b,d),M=w+S;0!==M&&(w/=M,S/=M),a(v,m,-w),a(y,m,S);var C=l([],b,v),T=l([],b,y);i&&(o(C,C,f),r(C,C,p),o(T,T,f),r(T,T,p)),g.push(C),g.push(T)}return n&&g.push(g.shift()),g}},function(t,e,n){var i=n(19),r=n(14),o=n(72),a=o.quadraticSubdivide,s=o.cubicSubdivide,l=o.quadraticAt,u=o.cubicAt,c=o.quadraticDerivativeAt,h=o.cubicDerivativeAt,d=[];function f(t,e,n){var i=t.cpx2,r=t.cpy2;return null===i||null===r?[(n?h:u)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?h:u)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?c:l)(t.x1,t.cpx1,t.x2,e),(n?c:l)(t.y1,t.cpy1,t.y2,e)]}var p=i.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,c=e.cpx2,h=e.cpy2,f=e.percent;0!==f&&(t.moveTo(n,i),null==c||null==h?(f<1&&(a(n,l,r,f,d),l=d[1],r=d[2],a(i,u,o,f,d),u=d[1],o=d[2]),t.quadraticCurveTo(l,u,r,o)):(f<1&&(s(n,l,c,r,f,d),l=d[1],c=d[2],r=d[3],s(i,u,h,o,f,d),u=d[1],h=d[2],o=d[3]),t.bezierCurveTo(l,u,c,h,r,o)))},pointAt:function(t){return f(this.shape,t,!1)},tangentAt:function(t){var e=f(this.shape,t,!0);return r.normalize(e,e)}});t.exports=p},function(t,e,n){var i=n(19).extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)}});t.exports=i},function(t,e,n){var i=n(19),r=i.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,n=0;n=e:"max"===n?t<=e:t===e})(r[a],t,i)||(o=!1)}})),o}h.prototype={constructor:h,setOption:function(t,e){t&&i.each(r.normalizeToArray(t.series),(function(t){t&&t.data&&i.isTypedArray(t.data)&&i.setAsPrimitive(t.data)})),t=s(t);var n,c,h=this._optionBackup,f=d.call(this,t,e,!h);this._newBaseOption=f.baseOption,h?(n=h.baseOption,c=f.baseOption,a(c=c||{},(function(t,e){if(null!=t){var i=n[e];if(o.hasClass(e)){t=r.normalizeToArray(t),i=r.normalizeToArray(i);var a=r.mappingToExists(i,t);n[e]=l(a,(function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option}))}else n[e]=u(i,t,!0)}})),f.timelineOptions.length&&(h.timelineOptions=f.timelineOptions),f.mediaList.length&&(h.mediaList=f.mediaList),f.mediaDefault&&(h.mediaDefault=f.mediaDefault)):this._optionBackup=f},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=s(n[i.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,u=[],c=[];if(!o.length&&!a)return c;for(var h=0,d=o.length;h=0;p--){var g=t[p];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,c)),h>=0){var m=g.data.getByRawIndex(g.stackResultDimension,h);if(d>=0&&m>0||d<=0&&m<0){d+=m,f=m;break}}}return i[0]=d,i[1]=f,i}));a.hostModel.setData(l),e.data=l}))}t.exports=function(t){var e=r();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(a)}},function(t,e,n){var i=n(185),r=n(0).isFunction,o={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),o=(t.visualColorAccessPath||"itemStyle.color").split("."),a=t.get(o),s=!r(a)||a instanceof i?null:a;a&&!s||(a=t.getColorFromPalette(t.name,null,e.getSeriesCount())),n.setVisual("color",a);var l=(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),u=t.get(l);if(n.setVisual("borderColor",u),!e.isSeriesFiltered(t)){s&&n.each((function(e){n.setItemVisual(e,"color",s(t.getDataParams(e)))}));return{dataEach:n.hasItemOption?function(t,e){var n=t.getItemModel(e),i=n.get(o,!0),r=n.get(l,!0);null!=i&&t.setItemVisual(e,"color",i),null!=r&&t.setItemVisual(e,"borderColor",r)}:null}}}};t.exports=o},function(t,e,n){var i=n(0),r=n(74),o=n(91).retrieveRawValue;t.exports=function(t,e){var n=e.getModel("aria");if(n.get("show"))if(n.get("description"))t.setAttribute("aria-label",n.get("description"));else{var a=0;e.eachSeries((function(t,e){++a}),this);var s,l=n.get("data.maxCount")||10,u=n.get("series.maxCount")||10,c=Math.min(a,u);if(!(a<1)){var h=function(){var t=e.getModel("title").option;t&&t.length&&(t=t[0]);return t&&t.text}();s=h?f(p("general.withTitle"),{title:h}):p("general.withoutTitle");var d=[];s+=f(p(a>1?"series.multiple.prefix":"series.single.prefix"),{seriesCount:a}),e.eachSeries((function(t,e){if(e1?"multiple":"single")+".";n=f(n=p(i?s+"withName":s+"withoutName"),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(y=t.subType,r.series.typeNames[y]||"自定义图")});var u=t.getData();window.data=u,u.count()>l?n+=f(p("data.partialData"),{displayCnt:l}):n+=p("data.allData");for(var h=[],g=0;gn.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},g.getPipeline=function(t){return this._pipelineMap.get(t)},g.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},g.restorePipelines=function(t){var e=this,n=e._pipelineMap=s();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),I(e,t,t.dataTask)}))},g.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;r(this._allHandlers,(function(i){var o=t.get(i.uid)||t.set(i.uid,[]);i.reset&&function(t,e,n,i,r){var o=n.seriesTaskMap||(n.seriesTaskMap=s()),a=e.seriesType,l=e.getTargetSeries;e.createOnAllSeries?i.eachRawSeries(c):a?i.eachRawSeriesByType(a,c):l&&l(i,r).each(c);function c(n){var a=n.uid,s=o.get(a)||o.set(a,u({plan:w,reset:S,count:T}));s.context={model:n,ecModel:i,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},I(t,n,s)}var h=t._pipelineMap;o.each((function(t,e){h.get(e)||(t.dispose(),o.removeKey(e))}))}(this,i,o,e,n),i.overallReset&&function(t,e,n,i,o){var a=n.overallTask=n.overallTask||u({reset:y});a.context={ecModel:i,api:o,overallReset:e.overallReset,scheduler:t};var l=a.agentStubMap=a.agentStubMap||s(),c=e.seriesType,h=e.getTargetSeries,d=!0,f=e.modifyOutputEnd;c?i.eachRawSeriesByType(c,p):h?h(i,o).each(p):(d=!1,r(i.getSeries(),p));function p(e){var n=e.uid,i=l.get(n);i||(i=l.set(n,u({reset:x,onDirty:b})),a.dirty()),i.context={model:e,overallProgress:d,modifyOutputEnd:f},i.agent=a,i.__block=d,I(t,e,i)}var g=t._pipelineMap;l.each((function(t,e){g.get(e)||(t.dispose(),a.dirty(),l.removeKey(e))}))}(this,i,o,e,n)}),this)},g.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,I(this,e,r)},g.performDataProcessorTasks=function(t,e){m(this,this._dataProcessorHandlers,t,e,{block:!0})},g.performVisualTasks=function(t,e,n){m(this,this._visualHandlers,t,e,n)},g.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},g.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))};var v=g.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function y(t){t.overallReset(t.ecModel,t.api,t.payload)}function x(t,e){return t.overallProgress&&_}function _(){this.agent.dirty(),this.getDownstream().dirty()}function b(){this.agent&&this.agent.dirty()}function w(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function S(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=f(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?o(e,(function(t,e){return C(e)})):M}var M=C(0);function C(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;on&&(s=n);var l=f.length,h=function(t,e,n,i){for(;n>>1;t[r][1]1&&d/c>2&&(h=Math.round(Math.ceil(h/c)*c));var f=u(t),p=a.get("showMinLabel")||f,g=a.get("showMaxLabel")||f;p&&h!==o[0]&&v(o[0]);for(var m=h;m<=o[1];m+=c)v(m);function v(t){l.push(n?t:{formattedLabel:i(t),rawLabel:r.getLabel(t),tickValue:t})}return g&&m-c!==o[1]&&v(o[1]),l}function m(t,e,n){var r=t.scale,o=s(t),a=[];return i.each(r.getTicks(),(function(t){var i=r.getLabel(t);e(t,i)&&a.push(n?t:{formattedLabel:o(t),rawLabel:i,tickValue:t})})),a}e.createAxisLabels=function(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=h(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=s(t);return{labels:i.map(e,(function(e,i){return{formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e}}))}}(t)},e.createAxisTicks=function(t,e){return"category"===t.type?function(t,e){var n,r,o=d(t,"ticks"),a=l(e),s=f(o,a);if(s)return s;e.get("show")&&!t.scale.isBlank()||(n=[]);if(i.isFunction(a))n=m(t,a,!0);else if("auto"===a){var u=h(t,t.getLabelModel());r=u.labelCategoryInterval,n=i.map(u.labels,(function(t){return t.tickValue}))}else n=g(t,r=a,!0);return p(o,a,{ticks:n,tickCategoryInterval:r})}(t,e):{ticks:t.scale.getTicks()}},e.calculateCategoryInterval=function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=s(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,o=t.scale,a=o.getExtent(),l=o.count();if(a[1]-a[0]<1)return 0;var u=1;l>40&&(u=Math.max(1,Math.floor(l/40)));for(var h=a[0],d=t.dataToCoord(h+1)-t.dataToCoord(h),f=Math.abs(d*Math.cos(i)),p=Math.abs(d*Math.sin(i)),g=0,m=0;h<=a[1];h+=u){var v,y,x=r.getBoundingRect(n(h),e.font,"center","top");v=1.3*x.width,y=1.3*x.height,g=Math.max(g,v,7),m=Math.max(m,y,7)}var _=g/f,b=m/p;isNaN(_)&&(_=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(_,b))),S=c(t.model),M=t.getExtent(),C=S.lastAutoInterval,T=S.lastTickCount;return null!=C&&null!=T&&Math.abs(C-w)<=1&&Math.abs(T-l)<=1&&C>w&&S.axisExtend0===M[0]&&S.axisExtend1===M[1]?w=C:(S.lastTickCount=l,S.lastAutoInterval=w,S.axisExtend0=M[0],S.axisExtend1=M[1]),w}},function(t,e,n){n(9).__DEV__;var i=n(62),r=n(25).extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return i(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=r},function(t,e,n){n(9).__DEV__;var i=n(0),r=n(150).fromPoints,o=n(156),a=n(190),s=n(499),l=n(2),u=n(5),c=n(345),h=c.Polyline,d=c.Polygon,f=n(52),p=n(344),g=p.prepareDataCoordInfo,m=p.getStackedOnPoint,v=n(157),y=v.createGridClipPath,x=v.createPolarClipPath;function _(t,e){if(t.length===e.length){for(var n=0;ni)return!1;return!0}(s,e))){var l=e.mapDimension(s.dim),u={};return i.each(s.getViewLabels(),(function(t){u[t.tickValue]=1})),function(t){return!u.hasOwnProperty(e.get(l,t))}}}}function C(t,e,n){if("cartesian2d"===t.type){var i=t.getBaseAxis().isHorizontal(),r=y(t,e,n);if(!n.get("clip",!0)){var o=r.shape,a=Math.max(o.width,o.height);i?(o.y-=a,o.height+=2*a):(o.x-=a,o.width+=2*a)}return r}return x(t,e,n)}var T=f.extend({type:"line",init:function(){var t=new l.Group,e=new o;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,n){var r=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),u=t.getModel("areaStyle"),c=a.mapArray(a.getItemLayout),h="polar"===r.type,d=this._coordSys,f=this._symbolDraw,p=this._polyline,v=this._polygon,y=this._lineGroup,x=t.get("animation"),b=!u.isEmpty(),T=u.get("origin"),I=function(t,e,n){if(!n.valueDim)return[];for(var i=[],r=0,o=e.count();r=0;a--){var s=n[a].dimension,u=t.dimensions[s],c=t.getDimensionInfo(u);if("x"===(r=c&&c.coordDim)||"y"===r){o=n[a];break}}if(o){var h=e.getAxis(r),d=i.map(o.stops,(function(t){return{coord:h.toGlobalCoord(h.dataToCoord(t.value)),color:t.color}})),f=d.length,p=o.outerColors.slice();f&&d[0].coord>d[f-1].coord&&(d.reverse(),p.reverse());var g=d[0].coord-10,m=d[f-1].coord+10,v=m-g;if(v<.001)return"transparent";i.each(d,(function(t){t.offset=(t.coord-g)/v})),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var y=new l.LinearGradient(0,0,0,0,d,!0);return y[r]=g,y[r+"2"]=m,y}}}(a,r)||a.getVisual("color");p.useStyle(i.defaults(s.getLineStyle(),{fill:"none",stroke:P,lineJoin:"bevel"}));var E=t.get("smooth");if(E=w(t.get("smooth")),p.setShape({smooth:E,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),v){var N=a.getCalculationInfo("stackedOnSeries"),R=0;v.useStyle(i.defaults(u.getAreaStyle(),{fill:P,opacity:.7,lineJoin:"bevel"})),N&&(R=w(N.get("smooth"))),v.setShape({smooth:E,stackedOnSmooth:R,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=a,this._coordSys=r,this._stackedOnPoints=I,this._points=c,this._step=O,this._valueOrigin=T},dispose:function(){},highlight:function(t,e,n,i){var r=t.getData(),o=u.queryDataIndex(r,i);if(!(o instanceof Array)&&null!=o&&o>=0){var s=r.getItemGraphicEl(o);if(!s){var l=r.getItemLayout(o);if(!l)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l[0],l[1]))return;(s=new a(r,o)).position=l,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else f.prototype.highlight.call(this,t,e,n,i)},downplay:function(t,e,n,i){var r=t.getData(),o=u.queryDataIndex(r,i);if(null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else f.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new h({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new d({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(t,e,n,i,r,o){var a=this._polyline,u=this._polygon,c=t.hostModel,h=s(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,o),d=h.current,f=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;if(r&&(d=S(h.current,n,r),f=S(h.stackedOnCurrent,n,r),p=S(h.next,n,r),g=S(h.stackedOnNext,n,r)),b(d,p)>3e3||u&&b(f,g)>3e3)return a.setShape({points:p}),void(u&&u.setShape({points:p,stackedOnPoints:g}));a.shape.__points=h.current,a.shape.points=d,l.updateProps(a,{shape:{points:p}},c),u&&(u.setShape({points:d,stackedOnPoints:f}),l.updateProps(u,{shape:{points:p,stackedOnPoints:g}},c));for(var m=[],v=h.status,y=0;ye&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n1)"string"==typeof a?l=n[a]:"function"==typeof a&&(l=a),l&&t.setData(o.downSample(o.mapDimension(c.dim),1/f,l,i))}}}}},function(t,e,n){var i=n(0),r=n(16),o=n(502);function a(t){o.call(this,t)}a.prototype={constructor:a,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,n){var i=this.getAxis("x"),r=this.getAxis("y");return(n=n||[])[0]=i.toGlobalCoord(i.dataToCoord(t[0])),n[1]=r.toGlobalCoord(r.dataToCoord(t[1])),n},clampData:function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},pointToData:function(t,e){var n=this.getAxis("x"),i=this.getAxis("y");return(e=e||[])[0]=n.coordToData(n.toLocalCoord(t[0])),e[1]=i.coordToData(i.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")},getArea:function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]),o=Math.max(t[0],t[1])-n,a=Math.max(e[0],e[1])-i;return new r(n,i,o,a)}},i.inherits(a,o);var s=a;t.exports=s},function(t,e,n){var i=n(0);function r(t){return this._axes[t]}var o=function(t){this._axes={},this._dimList=[],this.name=t||""};o.prototype={constructor:o,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return i.map(this._dimList,r,this)},getAxesByScale:function(t){return t=t.toLowerCase(),i.filter(this.getAxes(),(function(e){return e.scale.type===t}))},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var n=this._dimList,i=t instanceof Array?[]:{},r=0;re[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},i.inherits(o,r);var a=o;t.exports=a},function(t,e,n){n(346);var i=n(24).extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=i},function(t,e,n){n(346),n(506)},function(t,e,n){var i=n(0),r=n(2),o=n(76),a=n(94),s=n(348),l=n(349),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,h=["axisLine","axisTickLabel","axisName"],d=["splitArea","splitLine","minorSplitLine"],f=a.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,n,a){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new r.Group,this.group.add(this._axisGroup),t.get("show")){var u=t.getCoordSysModel(),c=s.layout(u,t),p=new o(t,c);i.each(h,p.add,p),this._axisGroup.add(p.getGroup()),i.each(d,(function(e){t.get(e+".show")&&this["_"+e](t,u)}),this),r.groupTransition(l,this._axisGroup,t),f.superCall(this,"render",t,e,n,a)}},remove:function(){c(this)},_splitLine:function(t,e){var n=t.axis;if(!n.scale.isBlank()){var o=t.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=i.isArray(s)?s:[s];for(var l=e.coordinateSystem.getRect(),u=n.isHorizontal(),c=0,h=n.getTicksCoords({tickModel:o}),d=[],f=[],p=a.getLineStyle(),g=0;gt&&(t=e),t},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});t.exports=i},function(t,e,n){n(9).__DEV__;var i=n(1),r=n(0),o=n(2),a=n(351).setLabel,s=n(21),l=n(510),u=n(19),c=n(89),h=n(73).throttle,d=n(157).createClipPath,f=n(511),p=["itemStyle","barBorderWidth"],g=[0,0];r.extend(s.prototype,l);var m=i.extendChartView({type:"bar",render:function(t,e,n){this._updateDrawMode(t);var i=t.get("coordinateSystem");return"cartesian2d"!==i&&"polar"!==i||(this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n)),this.group},incrementalPrepareRender:function(t,e,n){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,n,i){this._incrementalRenderLarge(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t,e,n){var i,r=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?i=u.isHorizontal():"polar"===l.type&&(i="angle"===u.dim);var h=t.isAnimationEnabled()?t:null,d=t.get("clip",!0),f=function(t,e){var n=t.getArea&&t.getArea();if("cartesian2d"===t.type){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}(l,a);r.removeClipPath();var p=t.get("roundCap",!0),g=t.get("showBackground",!0),m=t.getModel("backgroundStyle"),v=m.get("barBorderRadius")||0,y=[],M=this._backgroundEls||[],T=function(t){var e=S[l.type](a,t),n=function(t,e,n){return new("polar"===t.type?o.Sector:o.Rect)({shape:D(e,n,t),silent:!0,z2:0})}(l,i,e);return n.useStyle(m.getBarItemStyle()),"cartesian2d"===l.type&&n.setShape("r",v),y[t]=n,n};a.diff(s).add((function(e){var n=a.getItemModel(e),o=S[l.type](a,e,n);if(g&&T(e),a.hasValue(e)){if(d)if(x[l.type](f,o))return void r.remove(s);var s=_[l.type](e,o,i,h,!1,p);a.setItemGraphicEl(e,s),r.add(s),C(s,a,e,n,o,t,i,"polar"===l.type)}})).update((function(e,n){var u=a.getItemModel(e),c=S[l.type](a,e,u);if(g){var b;0===M.length?b=T(n):((b=M[n]).useStyle(m.getBarItemStyle()),"cartesian2d"===l.type&&b.setShape("r",v),y[e]=b);var w=S[l.type](a,e),I=D(i,w,l);o.updateProps(b,{shape:I},h,e)}var A=s.getItemGraphicEl(n);if(a.hasValue(e)){if(d)if(x[l.type](f,c))return void r.remove(A);A?o.updateProps(A,{shape:c},h,e):A=_[l.type](e,c,i,h,!0,p),a.setItemGraphicEl(e,A),r.add(A),C(A,a,e,u,c,t,i,"polar"===l.type)}else r.remove(A)})).remove((function(t){var e=s.getItemGraphicEl(t);"cartesian2d"===l.type?e&&b(t,h,e):e&&w(t,h,e)})).execute();var I=this._backgroundGroup||(this._backgroundGroup=new c);I.removeAll();for(var A=0;A0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle}}};function M(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function C(t,e,n,i,s,l,u,c){var h=e.getItemVisual(n,"color"),d=e.getItemVisual(n,"opacity"),f=e.getVisual("borderColor"),p=i.getModel("itemStyle"),g=i.getModel("emphasis.itemStyle").getBarItemStyle();c||t.setShape("r",p.get("barBorderRadius")||0),t.useStyle(r.defaults({stroke:M(s)?"none":f,fill:M(s)?"none":h,opacity:d},p.getBarItemStyle()));var m=i.getShallow("cursor");m&&t.attr("cursor",m);var v=u?s.height>0?"bottom":"top":s.width>0?"left":"right";c||a(t.style,g,i,h,l,n,v),M(s)&&(g.fill=g.stroke="none"),o.setHoverStyle(t,g)}var T=u.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var n=e.points,i=this.__startPoint,r=this.__baseDimIdx,o=0;o=h&&v<=d&&(l<=y?c>=l&&c<=y:c>=y&&c<=l))return a[f]}return-1}(this,t.offsetX,t.offsetY);this.dataIndex=e>=0?e:null}),30,!1);function D(t,e,n){var i,r="polar"===n.type;return i=r?n.getArea():n.grid.getRect(),r?{cx:i.cx,cy:i.cy,r0:t?i.r0:e.r0,r:t?i.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:t?e.x:i.x,y:t?i.y:e.y,width:t?e.width:i.width,height:t?i.height:e.height}}t.exports=m},function(t,e,n){var i=n(107)([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),r={getBarItemStyle:function(t){var e=i(this,t);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(e.lineDash=n)}return e}};t.exports=r},function(t,e,n){var i=(0,n(2).extendShape)({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=Math.cos(l),d=Math.sin(l),f=Math.cos(u),p=Math.sin(u);(c?u-l<2*Math.PI:l-u<2*Math.PI)&&(t.moveTo(h*r+n,d*r+i),t.arc(h*s+n,d*s+i,a,-Math.PI+l,l,!c)),t.arc(n,i,o,l,u,!c),t.moveTo(f*o+n,p*o+i),t.arc(f*s+n,p*s+i,a,u-2*Math.PI,u-Math.PI,!c),0!==r&&(t.arc(n,i,r,u,l,c),t.moveTo(h*r+n,p*r+i)),t.closePath()}});t.exports=i},function(t,e,n){var i=n(1),r=n(0);n(513),n(514);var o=n(352),a=n(193),s=n(515),l=n(161);o("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),i.registerVisual(a("pie")),i.registerLayout(r.curry(s,"pie")),i.registerProcessor(l("pie"))},function(t,e,n){var i=n(1),r=n(113),o=n(0),a=n(5),s=n(3).getPercentWithPrecision,l=n(256),u=n(91).retrieveRawAttr,c=n(61).makeSeriesEncodeForNameBased,h=n(160),d=i.extendSeriesModel({type:"series.pie",init:function(t){d.superApply(this,"init",arguments),this.legendVisualProvider=new h(o.bind(this.getData,this),o.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){d.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,e){return r(this,{coordDimensions:["value"],encodeDefaulter:o.curry(c,this)})},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),n=[],i=0,r=t.count();i0&&(h?"scale"!==d:"transition"!==f)){for(var m=o.getItemLayout(0),v=1;isNaN(m.startAngle)&&v=n.r0}}});t.exports=c},function(t,e,n){var i=n(3),r=i.parsePercent,o=i.linearMap,a=n(10),s=n(516),l=n(0),u=2*Math.PI,c=Math.PI/180;t.exports=function(t,e,n,i){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),h=function(t,e){return a.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,n),d=t.get("center"),f=t.get("radius");l.isArray(f)||(f=[0,f]),l.isArray(d)||(d=[d,d]);var p=r(h.width,n.getWidth()),g=r(h.height,n.getHeight()),m=Math.min(p,g),v=r(d[0],p)+h.x,y=r(d[1],g)+h.y,x=r(f[0],m/2),_=r(f[1],m/2),b=-t.get("startAngle")*c,w=t.get("minAngle")*c,S=0;e.each(i,(function(t){!isNaN(t)&&S++}));var M=e.getSum(i),C=Math.PI/(M||S)*2,T=t.get("clockwise"),I=t.get("roseType"),A=t.get("stillShowZeroSum"),D=e.getDataExtent(i);D[0]=0;var k=u,L=0,O=b,P=T?1:-1;if(e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:T,cx:v,cy:y,r0:x,r:I?NaN:_,viewRect:h});else{(i="area"!==I?0===M&&A?C:t*C:u/S)l+a);o++)if(t[o].y+=i,o>e&&o+1t[o].y+t[o].height)return void h(o,i/2);h(n-1,i/2)}function h(e,n){for(var i=e;i>=0&&!(t[i].y-n0&&t[i].y>t[i-1].y+t[i-1].height));i--);}function d(t,e,n,i,r,o){for(var a=e?Number.MAX_VALUE:0,s=0,l=t.length;s=a&&(d=a-10),!e&&d<=a&&(d=a+10),t[s].x=n+d*o,a=d}}t.sort((function(t,e){return t.y-e.y}));for(var f,p=0,g=t.length,m=[],v=[],y=0;y=n?v.push(t[y]):m.push(t[y]);d(m,!1,e,n,i,r),d(v,!0,e,n,i,r)}function s(t){return"center"===t.position}t.exports=function(t,e,n,l,u,c){var h,d,f=t.getData(),p=[],g=!1,m=(t.get("minShowLabelAngle")||0)*o;f.each((function(o){var a=f.getItemLayout(o),s=f.getItemModel(o),l=s.getModel("label"),c=l.get("position")||s.get("emphasis.label.position"),v=l.get("distanceToLabelLine"),y=l.get("alignTo"),x=r(l.get("margin"),n),_=l.get("bleedMargin"),b=l.getFont(),w=s.getModel("labelLine"),S=w.get("length");S=r(S,n);var M=w.get("length2");if(M=r(M,n),!(a.angle0?"right":"left":k>0?"left":"right"}var j=l.get("rotate");O="number"==typeof j?j*(Math.PI/180):j?k<0?-D+Math.PI:-D:0,g=!!O,a.label={x:C,y:T,position:c,height:E.height,len:S,len2:M,linePoints:I,textAlign:A,verticalAlign:"middle",rotation:O,inside:N,labelDistance:v,labelAlignTo:y,labelMargin:x,bleedMargin:_,textRect:E,text:P,font:b},N||p.push(a.label)}})),!g&&t.get("avoidLabelOverlap")&&function(t,e,n,r,o,l,u,c){for(var h=[],d=[],f=Number.MAX_VALUE,p=-Number.MAX_VALUE,g=0;g1e4||!this._symbolDraw.isPersistent())return{update:!0};var r=a().reset(t);r.progress&&r.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_getClipShape:function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},_updateSymbolDraw:function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new o:new r,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},function(t,e,n){var i=n(2),r=n(41).createSymbol,o=n(250),a=i.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(t,e){var n=e.points,i=e.size,r=this.symbolProxy,o=r.shape;if(!((t.getContext?t.getContext():t)&&i[0]<4))for(var a=0;a=0;s--){var l=2*s,u=i[l]-o/2,c=i[l+1]-a/2;if(t>=u&&e>=c&&t<=u+o&&e<=c+a)return s}return-1}});function s(){this.group=new i.Group}var l=s.prototype;l.isPersistent=function(){return!this._incremental},l.updateData=function(t,e){this.group.removeAll();var n=new a({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},l.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),i=4*t.startIndex*2;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e)}))}},l.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new o({silent:!0})),this.group.add(this._incremental)):this._incremental=null},l.incrementalUpdate=function(t,e,n){var i;this._incremental?(i=new a,this._incremental.addDisplayable(i,!0)):((i=new a({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end})).incremental=!0,this.group.add(i)),i.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(i,e,!!this._incremental,n)},l._setCommon=function(t,e,n,i){var o=e.hostModel;i=i||{};var a=e.getVisual("symbolSize");t.setShape("size",a instanceof Array?a:[a,a]),t.softClipShape=i.clipShape||null,t.symbolProxy=r(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var s=t.shape.size[0]<4;t.useStyle(o.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var l=e.getVisual("color");l&&t.setColor(l),n||(t.seriesIndex=o.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>=0&&(t.dataIndex=n+(t.startIndex||0))})))},l.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},l._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var u=s;t.exports=u},function(t,e,n){var i=n(1);n(522),n(527),n(528);var r=n(193),o=n(93),a=n(529),s=n(161),l=n(530);i.registerVisual(r("radar")),i.registerVisual(o("radar","circle")),i.registerLayout(a),i.registerProcessor(s("radar")),i.registerPreprocessor(l)},function(t,e,n){n(523),n(525),n(526)},function(t,e,n){var i=n(0),r=n(524),o=n(188),a=n(3),s=n(46),l=s.getScaleExtent,u=s.niceScaleExtent,c=n(45),h=n(338);function d(t,e,n){this._model=t,this.dimensions=[],this._indicatorAxes=i.map(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,i=new r(n,"log"===t.get("axisType")?new h:new o);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i}),this),this.resize(t,n),this.cx,this.cy,this.r,this.r0,this.startAngle}d.prototype.getIndicatorAxes=function(){return this._indicatorAxes},d.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},d.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},d.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var r,o=Math.atan2(-n,e),a=1/0,s=-1,l=0;ln[0]&&isFinite(p)&&isFinite(n[0]))}else{r.getTicks().length-1>o&&(d=s(d));var f=Math.ceil(n[1]/d)*d,p=a.round(f-d*o);r.setExtent(p,f),r.setInterval(d)}}))},d.dimensions=[],d.create=function(t,e){var n=[];return t.eachComponent("radar",(function(i){var r=new d(i,t,e);n.push(r),i.coordinateSystem=r})),t.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("radarIndex")||0])})),n},c.register("radar",d);var f=d;t.exports=f},function(t,e,n){var i=n(0),r=n(75);function o(t,e,n){r.call(this,t,e,n),this.type="value",this.angle=0,this.name="",this.model}i.inherits(o,r);var a=o;t.exports=a},function(t,e,n){var i=n(1),r=n(0),o=n(347),a=n(21),s=n(111),l=o.valueAxis;function u(t,e){return r.defaults({show:e},t)}var c=i.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),o=this.get("axisTick"),l=this.get("axisType"),u=this.get("axisLabel"),c=this.get("name"),h=this.get("name.show"),d=this.get("name.formatter"),f=this.get("nameGap"),p=this.get("triggerEvent"),g=r.map(this.get("indicator")||[],(function(g){null!=g.max&&g.max>0&&!g.min?g.min=0:null!=g.min&&g.min<0&&!g.max&&(g.max=0);var m=c;if(null!=g.color&&(m=r.defaults({color:g.color},c)),g=r.merge(r.clone(g),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:o,axisType:l,axisLabel:u,name:g.text,nameLocation:"end",nameGap:f,nameTextStyle:m,triggerEvent:p},!1),h||(g.name=""),"string"==typeof d){var v=g.name;g.name=d.replace("{value}",null!=v?v:"")}else"function"==typeof d&&(g.name=d(g.name,g));var y=r.extend(new a(g,null,this.ecModel),s);return y.mainType="radar",y.componentIndex=this.componentIndex,y}),this);this.getIndicatorModels=function(){return g}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:r.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),axisType:"interval",splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}});t.exports=c},function(t,e,n){n(9).__DEV__;var i=n(1),r=n(0),o=n(76),a=n(2),s=["axisLine","axisTickLabel","axisName"],l=i.extendComponentView({type:"radar",render:function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes(),i=r.map(n,(function(t){return new o(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}));r.each(i,(function(t){r.each(s,t.add,t),this.group.add(t.getGroup())}),this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),o=t.getModel("splitLine"),s=t.getModel("splitArea"),l=o.getModel("lineStyle"),u=s.getModel("areaStyle"),c=o.get("show"),h=s.get("show"),d=l.get("color"),f=u.get("color");d=r.isArray(d)?d:[d],f=r.isArray(f)?f:[f];var p=[],g=[];if("circle"===i)for(var m=n[0].getTicksCoords(),v=e.cx,y=e.cy,x=0;x":"\n";return a(""===l?this.name:l)+u+o.map(s,(function(e,n){var i=r.get(r.mapDimension(e.dim),t);return a(e.name+" : "+i)})).join(u)},getTooltipPosition:function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,i=e.getValues(o.map(n.dimensions,(function(t){return e.mapDimension(t)})),t,!0),r=0,a=i.length;r":"\n";return c.join(", ")+p+s(a+" : "+o)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});i.mixin(f,u);var p=f;t.exports=p},function(t,e,n){var i=n(0).each,r=n(339),o=n(5).makeInner,a=n(534),s=n(535),l=n(536),u=n(537),c=o(),h={load:function(t,e,n){var o=c(e).parsed;if(o)return o;var h,f=e.specialAreas||{},p=e.geoJSON;try{h=p?r(p,n):[]}catch(t){throw new Error("Invalid geoJson format\n"+t.message)}return a(t,h),i(h,(function(e){var n=e.name;s(t,e),l(t,e),u(t,e);var i=f[n];i&&e.transformTo(i.left,i.top,i.width,i.height)})),c(e).parsed={regions:h,boundingRect:d(h)}}};function d(t){for(var e,n=0;ns&&(s=t.depth)}));var l=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:s;return o.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=l})),o.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){for(var e=this.getData().tree,n=e.root.children[0],i=e.getNodeByDataIndex(t),r=i.getValue(),a=i.name;i&&i!==n;)a=i.parentNode.name+"."+a,i=i.parentNode;return o(a+(isNaN(r)||null==r?"":" : "+r))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=s},function(t,e,n){var i=n(0),r=n(2),o=n(190),a=n(357).radialCoordinate,s=n(1),l=n(150),u=n(260),c=n(257),h=n(162),d=n(195).onIrrelevantElement,f=(n(9).__DEV__,n(3).parsePercent),p=r.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=f(e.forkPosition,1),h=[];h[l]=r[l],h[u]=r[u]+(a[u]-r[u])*c,t.moveTo(r[0],r[1]),t.lineTo(h[0],h[1]),t.moveTo(o[0],o[1]),h[l]=o[l],t.lineTo(h[0],h[1]),h[l]=a[l],t.lineTo(h[0],h[1]),t.lineTo(a[0],a[1]);for(var d=1;dC.x)||(w-=Math.PI);var A=S?"left":"right",D=l.labelModel.get("rotate"),k=D*(Math.PI/180);b.setStyle({textPosition:l.labelModel.get("position")||A,textRotation:null==D?-w:k,textOrigin:"center",verticalAlign:"middle"})}!function(t,e,n,o,a,s,l,u,c){var h=c.edgeShape,d=o.__edge;if("curve"===h)e.parentNode&&e.parentNode!==n&&(d||(d=o.__edge=new r.BezierCurve({shape:_(c,a,a),style:i.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),r.updateProps(d,{shape:_(c,s,l),style:i.defaults({opacity:1},c.lineStyle)},t));else if("polyline"===h&&"orthogonal"===c.layout&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var f=e.children,g=[],m=0;my.getLayout().x&&(y=t),t.depth>x.depth&&(x=t)}));var _=v===y?1:p(v,y)/2,b=_-v.getLayout().x,w=0,S=0,M=0,C=0;if("radial"===i)w=a/(y.getLayout().x+_+b),S=f/(x.depth-1||1),o(m,(function(t){M=(t.getLayout().x+b)*w,C=(t.depth-1)*S;var e=h(M,C);t.setLayout({x:e.x,y:e.y,rawX:M,rawY:C},!0)}));else{var T=t.getOrient();"RL"===T||"LR"===T?(S=f/(y.getLayout().x+_+b),w=a/(x.depth-1||1),o(m,(function(t){C=(t.getLayout().x+b)*S,M="LR"===T?(t.depth-1)*w:a-(t.depth-1)*w,t.setLayout({x:M,y:C},!0)}))):"TB"!==T&&"BT"!==T||(w=a/(y.getLayout().x+_+b),S=f/(x.depth-1||1),o(m,(function(t){M=(t.getLayout().x+b)*w,C="TB"===T?(t.depth-1)*S:f-(t.depth-1)*S,t.setLayout({x:M,y:C},!0)})))}}}(t,e)}))}},function(t,e){e.eachAfter=function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s=0;o--)i.push(r[o])}}},function(t,e,n){var i=n(1);n(552),n(553),n(556);var r=n(557),o=n(558);i.registerVisual(r),i.registerLayout(o)},function(t,e,n){var i=n(0),r=n(25),o=n(261),a=n(21),s=n(11),l=s.encodeHTML,u=s.addCommas,c=n(95).wrapTreePathInfo,h=r.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(t,e){var n={name:t.name,children:t.data};!function t(e){var n=0;i.each(e.children,(function(e){t(e);var r=e.value;i.isArray(r)&&(r=r[0]),n+=r}));var r=e.value;i.isArray(r)&&(r=r[0]);(null==r||isNaN(r))&&(r=n);r<0&&(r=0);i.isArray(e.value)?e.value[0]=r:e.value=r}(n);var r=t.levels||[],s=this.designatedVisualItemStyle={},l=new a({itemStyle:s},this,e);r=t.levels=function(t,e){var n,r=e.get("color");if(!r)return;if(t=t||[],i.each(t,(function(t){var e=new a(t),i=e.get("color");(e.get("itemStyle.color")||i&&"none"!==i)&&(n=!0)})),!n){(t[0]||(t[0]={})).color=r.slice()}return t}(r,e);var u=i.map(r||[],(function(t){return new a(t,l,e)}),this),c=o.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=c.getNodeByDataIndex(e),i=u[n.depth];return t.parentModel=i||l,t}))}));return c.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(t){var e=this.getData(),n=this.getRawValue(t),r=i.isArray(n)?u(n[0]):u(n),o=e.getName(t);return l(o+": "+r)},getDataParams:function(t){var e=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=c(n,this),e},setLayoutInfo:function(t){this.layoutInfo=this.layoutInfo||{},i.extend(this.layoutInfo,t)},mapIdToIndex:function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=i.createHashMap(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});t.exports=h},function(t,e,n){var i=n(1),r=n(0),o=n(2),a=n(92),s=n(95),l=n(554),u=n(162),c=n(16),h=n(32),d=n(555),f=n(107),p=n(11).windowOpen,g=r.bind,m=o.Group,v=o.Rect,y=r.each,x=["label"],_=["emphasis","label"],b=["upperLabel"],w=["emphasis","upperLabel"],S=f([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),M=function(t){var e=S(t);return e.stroke=e.fill=e.lineWidth=null,e},C=i.extendChartView({type:"treemap",init:function(t,e){this._containerGroup,this._storage={nodeGroup:[],background:[],content:[]},this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(t,e,n,i){var o=e.findComponents({mainType:"series",subType:"treemap",query:i});if(!(r.indexOf(o,t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var a=s.retrieveTargetInfo(i,["treemapZoomToNode","treemapRootToNode"],t),l=i&&i.type,u=t.layoutInfo,c=!this._oldTree,h=this._storage,d="treemapRootToNode"===l&&a&&h?{rootNodeGroup:h.nodeGroup[a.node.getRawIndex()],direction:i.direction}:null,f=this._giveContainerGroup(u),p=this._doRender(f,t,d);c||l&&"treemapZoomToNode"!==l&&"treemapRootToNode"!==l?p.renderFinally():this._doAnimation(f,p,t,d),this._resetController(n),this._renderBreadcrumb(t,n,a)}},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new m,this._initEvents(e),this.group.add(e)),e.attr("position",[t.x,t.y]),e},_doRender:function(t,e,n){var i=e.getData().tree,o=this._oldTree,s={nodeGroup:[],background:[],content:[]},l={nodeGroup:[],background:[],content:[]},u=this._storage,c=[],h=r.curry(T,e,l,u,n,s,c);!function t(e,n,i,o,s){o?(n=e,y(e,(function(t,e){!t.isRemoved()&&u(e,e)}))):new a(n,e,l,l).add(u).update(u).remove(r.curry(u,null)).execute();function l(t){return t.getId()}function u(r,a){var l=null!=r?e[r]:null,u=null!=a?n[a]:null,c=h(l,u,i,s);c&&t(l&&l.viewChildren||[],u&&u.viewChildren||[],c,o,s+1)}}(i.root?[i.root]:[],o&&o.root?[o.root]:[],t,i===o||!o,0);var d=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&y(t,(function(t,n){var i=e[n];y(t,(function(t){t&&(i.push(t),t.__tmWillDelete=1)}))})),e}(u);return this._oldTree=i,this._storage=l,{lastsForAnimation:s,willDeleteEls:d,renderFinally:function(){y(d,(function(t){y(t,(function(t){t.parent&&t.parent.remove(t)}))})),y(c,(function(t){t.invisible=!0,t.dirty()}))}}},_doAnimation:function(t,e,n,i){if(n.get("animation")){var o=n.get("animationDurationUpdate"),a=n.get("animationEasing"),s=d.createWrap();y(e.willDeleteEls,(function(t,e){y(t,(function(t,n){if(!t.invisible){var r,l=t.parent;if(i&&"drillDown"===i.direction)r=l===i.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,c=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,c=l.__tmNodeHeight/2),r="nodeGroup"===e?{position:[u,c],style:{opacity:0}}:{shape:{x:u,y:c,width:0,height:0},style:{opacity:0}}}r&&s.add(t,r,o,a)}}))})),y(this._storage,(function(t,n){y(t,(function(t,i){var l=e.lastsForAnimation[n][i],u={};l&&("nodeGroup"===n?l.old&&(u.position=t.position.slice(),t.attr("position",l.old)):(l.old&&(u.shape=r.extend({},t.shape),t.setShape(l.old)),l.fadein?(t.setStyle("opacity",0),u.style={opacity:1}):1!==t.style.opacity&&(u.style={opacity:1})),s.add(t,u,o,a))}))}),this),this._state="animating",s.done(g((function(){this._state="ready",e.renderFinally()}),this)).start()}},_resetController:function(t){var e=this._controller;e||((e=this._controller=new u(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",g(this._onPan,this)),e.on("zoom",g(this._onZoom,this)));var n=new c(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,i){return n.contain(e,i)}))},_clearController:function(){var t=this._controller;t&&(t.dispose(),t=null)},_onPan:function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},_onZoom:function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var o=new c(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo;e-=a.x,n-=a.y;var s=h.create();h.translate(s,s,[-e,-n]),h.scale(s,s,[t.scale,t.scale]),h.translate(s,s,[e,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},_initEvents:function(t){t.on("click",(function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var n=this.findTarget(t.offsetX,t.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===e)this._zoomToNode(n);else if("link"===e){var r=i.hostTree.data.getItemModel(i.dataIndex),o=r.get("link",!0),a=r.get("target",!0)||"blank";o&&p(o,a)}}}}}),this)},_renderBreadcrumb:function(t,e,n){n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(t,e,n.node,g((function(e){"animating"!==this._state&&(s.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))}),this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n}});function T(t,e,n,i,a,s,l,u,c,h){if(l){var d=l.getLayout(),f=t.getData();if(f.setItemGraphicEl(l.dataIndex,null),d&&d.isInView){var p=d.width,g=d.height,y=d.borderWidth,C=d.invisible,T=l.getRawIndex(),A=u&&u.getRawIndex(),D=l.viewChildren,k=d.upperHeight,L=D&&D.length,O=l.getModel("itemStyle"),P=l.getModel("emphasis.itemStyle"),E=j("nodeGroup",m);if(E){if(c.add(E),E.attr("position",[d.x||0,d.y||0]),E.__tmNodeWidth=p,E.__tmNodeHeight=g,d.isAboveViewRoot)return E;var N=l.getModel(),R=j("background",v,h,1);if(R&&function(e,n,i){if(n.dataIndex=l.dataIndex,n.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:p,height:g}),C)V(n);else{n.invisible=!1;var r=l.getVisual("borderColor",!0),a=P.get("borderColor"),s=M(O);s.fill=r;var u=S(P);if(u.fill=a,i){var c=p-2*y;B(s,u,r,c,k,{x:y,y:0,width:c,height:k})}else s.text=u.text=null;n.setStyle(s),o.setElementHoverStyle(n,u)}e.add(n)}(E,R,L&&d.upperLabelHeight),L)o.isHighDownDispatcher(E)&&o.setAsHighDownDispatcher(E,!1),R&&(o.setAsHighDownDispatcher(R,!0),f.setItemGraphicEl(l.dataIndex,R));else{var z=j("content",v,h,2);z&&function(e,n){n.dataIndex=l.dataIndex,n.seriesIndex=t.seriesIndex;var i=Math.max(p-2*y,0),r=Math.max(g-2*y,0);if(n.culling=!0,n.setShape({x:y,y:y,width:i,height:r}),C)V(n);else{n.invisible=!1;var a=l.getVisual("color",!0),s=M(O);s.fill=a;var u=S(P);B(s,u,a,i,r),n.setStyle(s),o.setElementHoverStyle(n,u)}e.add(n)}(E,z),R&&o.isHighDownDispatcher(R)&&o.setAsHighDownDispatcher(R,!1),o.setAsHighDownDispatcher(E,!0),f.setItemGraphicEl(l.dataIndex,E)}return E}}}function V(t){!t.invisible&&s.push(t)}function B(e,n,i,a,s,u){var c=N.get("name"),h=N.getModel(u?b:x),f=N.getModel(u?w:_),p=h.getShallow("show");o.setLabelStyle(e,n,h,f,{defaultText:p?c:null,autoColor:i,isRectText:!0,labelFetcher:t,labelDataIndex:l.dataIndex,labelProp:u?"upperLabel":"label"}),F(e,u,d),F(n,u,d),u&&(e.textRect=r.clone(u)),e.truncate=p&&h.get("ellipsis")?{outerWidth:a,outerHeight:s,minChar:2}:null}function F(e,n,i){var r=e.text;if(!n&&i.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function j(t,o,s,u){var c=null!=A&&n[t][A],h=a[t];return c?(n[t][A]=null,function(t,e,n){(t[T]={}).old="nodeGroup"===n?e.position.slice():r.extend({},e.shape)}(h,c,t)):C||((c=new o({z:I(s,u)})).__tmDepth=s,c.__tmStorageName=t,function(t,e,n){var r=t[T]={},o=l.parentNode;if(o&&(!i||"drillDown"===i.direction)){var s=0,u=0,c=a.background[o.getRawIndex()];!i&&c&&c.old&&(s=c.old.width,u=c.old.height),r.old="nodeGroup"===n?[0,u]:{x:s,y:u,width:0,height:0}}r.fadein="nodeGroup"!==n}(h,0,t)),e[t][T]=c}}function I(t,e){var n=10*t+e;return(n-1)/n}t.exports=C},function(t,e,n){var i=n(2),r=n(10),o=n(0),a=n(95).wrapTreePathInfo;function s(t){this.group=new i.Group,t.add(this.group)}function l(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!o&&a.splice(2,0,[t+n+5,e+i/2]),!r&&a.push([t,e+i/2]),a}function u(t,e,n){t.eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.componentIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&a(n,e)}}s.prototype={constructor:s,render:function(t,e,n,i){var o=t.getModel("breadcrumb"),a=this.group;if(a.removeAll(),o.get("show")&&n){var s=o.getModel("itemStyle"),l=s.getModel("textStyle"),u={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(t,u,s,l,i),r.positionElement(a,u.pos,u.box)}},_prepare:function(t,e,n){for(var i=t;i;i=i.parentNode){var r=i.getModel().get("name"),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},_renderContent:function(t,e,n,a,s){for(var c=0,h=e.emptyItemWidth,d=t.get("breadcrumb.height"),f=r.getAvailableSize(e.pos,e.box),p=e.totalWidth,g=e.renderList,m=g.length-1;m>=0;m--){var v=g[m],y=v.node,x=v.width,_=v.text;p>f.width&&(p-=x-h,x=h,_=null);var b=new i.Polygon({shape:{points:l(c,0,x,d,m===g.length-1,0===m)},style:o.defaults(n.getItemStyle(),{lineJoin:"bevel",text:_,textFill:a.getTextColor(),textFont:a.getFont()}),z:10,onclick:o.curry(s,y)});this.group.add(b),u(b,t,y),c+=x+8}},remove:function(){this.group.removeAll()}};var c=s;t.exports=c},function(t,e,n){var i=n(0);e.createWrap=function(){var t,e=[],n={};return{add:function(t,r,o,a,s){return i.isString(a)&&(s=a,a=0),!n[t.id]&&(n[t.id]=1,e.push({el:t,target:r,time:o,delay:a,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var i=e.length,r=0,o=e.length;rh[1]&&(h[1]=u);var d=e.get("colorMappingBy"),f={type:s.name,dataExtent:h,visual:s.range};"color"!==f.type||"index"!==d&&"id"!==d?f.mappingMethod="linear":(f.mappingMethod="category",f.loop=!0);var p=new i(f);return p.__drColorMappingBy=d,p}(0,u,h,0,p,v);o.each(v,(function(e,n){if(e.depth>=a.length||e===a[e.depth]){var i=function(t,e,n,i,r,a){var s=o.extend({},e);if(r){var l=r.type,u="color"===l&&r.__drColorMappingBy,c="index"===u?i:"id"===u?a.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));s[l]=r.mapValueToVisual(c)}return s}(u,p,e,n,y,s);t(e,i,a,s)}}))}else d=l(p),e.setVisual("color",d)}(s,{},t.getViewRoot().getAncestors(),t)}};function l(t){var e=u(t,"color");if(e){var n=u(t,"colorAlpha"),i=u(t,"colorSaturation");return i&&(e=r.modifyHSL(e,null,null,i)),n&&(e=r.modifyAlpha(e,n)),e}}function u(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function c(t,e){var n=t.get(e);return a(n)&&n.length?{name:e,range:n}:null}t.exports=s},function(t,e,n){var i=n(0),r=n(16),o=n(3),a=o.parsePercent,s=o.MAX_SAFE_INTEGER,l=n(10),u=n(95),c=Math.max,h=Math.min,d=i.retrieve,f=i.each,p=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],m=["upperLabel","show"],v=["upperLabel","height"],y={seriesType:"treemap",reset:function(t,e,n,o){var m=n.getWidth(),v=n.getHeight(),y=t.option,S=l.getLayoutRect(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),M=y.size||[],C=a(d(S.width,M[0]),m),T=a(d(S.height,M[1]),v),I=o&&o.type,A=u.retrieveTargetInfo(o,["treemapZoomToNode","treemapRootToNode"],t),D="treemapRender"===I||"treemapMove"===I?o.rootRect:null,k=t.getViewRoot(),L=u.getPathToRoot(k);if("treemapMove"!==I){var O="treemapZoomToNode"===I?function(t,e,n,i,r){var o,a=(e||{}).node,l=[i,r];if(!a||a===n)return l;var u=i*r,c=u*t.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var h=0,d=o.children,f=0,g=d.length;fs&&(c=s),a=o}cs[1]&&(s[1]=e)}))}else s=[NaN,NaN];return{sum:i,dataExtent:s}}(e,s,l);if(0===c.sum)return t.viewChildren=[];if(c.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*er&&(r=i));var l=t.area*t.area,u=e*e*n;return l?c(u*r/l,l/(u*o)):1/0}function b(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],d=e?t.area/e:0;(r||d>n[l[a]])&&(d=n[l[a]]);for(var f=0,p=t.length;f ")),r.value&&(u+=" : "+l(r.value)),u}return p.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=o.map(this.option.categories||[],(function(t){return null!=t.value?t:o.extend({value:0},t)})),e=new r(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t,!0)}))},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return p.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}}),g=p;t.exports=g},function(t,e,n){n(9).__DEV__;var i=n(0),r=n(60).enableClassCheck;function o(t){return"_EC_"+t}var a=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},s=a.prototype;function l(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function u(t,e,n){this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}s.type="graph",s.isDirected=function(){return this._directed},s.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[o(t)]){var i=new l(t,e);return i.hostGraph=this,this.nodes.push(i),n[o(t)]=i,i}},s.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},s.getNodeById=function(t){return this._nodesMap[o(t)]},s.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),l.isInstance(t)||(t=i[o(t)]),l.isInstance(e)||(e=i[o(e)]),t&&e){var a=t.id+"-"+e.id,s=new u(t,e,n);return s.hostGraph=this,this._directed&&(t.outEdges.push(s),e.inEdges.push(s)),t.edges.push(s),t!==e&&e.edges.push(s),this.edges.push(s),r[a]=s,s}},s.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},s.getEdge=function(t,e){l.isInstance(t)&&(t=t.id),l.isInstance(e)&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},s.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r=0&&t.call(e,n[r],r)},s.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},s.breadthFirstTraverse=function(t,e,n,i){if(l.isInstance(e)||(e=this._nodesMap[o(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",a=0;a=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[t][e].getItemVisual(this.dataIndex,n,i)},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.mixin(l,c("hostGraph","data")),i.mixin(u,c("hostGraph","edgeData")),a.Node=l,a.Edge=u,r(l),r(u);var h=a;t.exports=h},function(t,e,n){var i=n(1),r=n(0),o=n(156),a=n(262),s=n(162),l=n(257),u=n(195).onIrrelevantElement,c=n(2),h=n(564),d=n(264).getNodeGlobalScale,f="__focusNodeAdjacency",p=["itemStyle","opacity"],g=["lineStyle","opacity"];function m(t,e){var n=t.getVisual("opacity");return null!=n?n:t.getModel().get(e)}function v(t,e,n){var i=t.getGraphicEl(),r=m(t,e);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse((function(t){if(!t.isGroup){var e=t.lineLabelOriginalOpacity;null!=e&&null==n||(e=r),t.setStyle("opacity",e)}}))}function y(t,e){var n=m(t,e),i=t.getGraphicEl();i.traverse((function(t){!t.isGroup&&t.setStyle("opacity",n)})),i.highlight&&i.highlight()}var x=i.extendChartView({type:"graph",init:function(t,e){var n=new o,i=new a,r=this.group;this._controller=new s(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},render:function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if("view"===r.type){var l={position:r.position,scale:r.scale};this._firstRender?s.attr(l):c.updateProps(s,l,t)}h(t.getGraph(),d(t));var u=t.getData();o.updateData(u);var p=t.getEdgeData();a.updateData(p),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var g=t.forceLayout,m=t.get("force.layoutAnimation");g&&this._startForceLayoutIteration(g,m),u.eachItemGraphicEl((function(e,r){var o=u.getItemModel(r);e.off("drag").off("dragend");var a=o.get("draggable");a&&e.on("drag",(function(){g&&(g.warmUp(),!this._layouting&&this._startForceLayoutIteration(g,m),g.setFixed(r),u.setItemLayout(r,e.position))}),this).on("dragend",(function(){g&&g.setUnfixed(r)}),this),e.setDraggable(a&&g),e[f]&&e.off("mouseover",e[f]),e.__unfocusNodeAdjacency&&e.off("mouseout",e.__unfocusNodeAdjacency),o.get("focusNodeAdjacency")&&(e.on("mouseover",e[f]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.on("mouseout",e.__unfocusNodeAdjacency=function(){i._dispatchUnfocus(n)}))}),this),u.graph.eachEdge((function(e){var r=e.getGraphicEl();r[f]&&r.off("mouseover",r[f]),r.__unfocusNodeAdjacency&&r.off("mouseout",r.__unfocusNodeAdjacency),e.getModel().get("focusNodeAdjacency")&&(r.on("mouseover",r[f]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),r.on("mouseout",r.__unfocusNodeAdjacency=function(){i._dispatchUnfocus(n)}))}));var v="circular"===t.get("layout")&&t.get("circular.rotateLabel"),y=u.getLayout("cx"),x=u.getLayout("cy");u.eachItemGraphicEl((function(t,e){var n=u.getItemModel(e).get("label.rotate")||0,i=t.getSymbolPath();if(v){var r=u.getItemLayout(e),o=Math.atan2(r[1]-x,r[0]-y);o<0&&(o=2*Math.PI+o);var a=r[0]=0?i+=g:i-=g:_>=0?i-=g:i+=g}return i}t.exports=function(t,e){var n=[],a=i.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];e/=2,t.eachEdge((function(t,i){var c=t.getLayout(),h=t.getVisual("fromSymbol"),f=t.getVisual("toSymbol");c.__original||(c.__original=[r.clone(c[0]),r.clone(c[1])],c[2]&&c.__original.push(r.clone(c[2])));var p=c.__original;if(null!=c[2]){if(r.copy(s[0],p[0]),r.copy(s[1],p[2]),r.copy(s[2],p[1]),h&&"none"!==h){var g=o(t.node1),m=d(s,p[0],g*e);a(s[0][0],s[1][0],s[2][0],m,n),s[0][0]=n[3],s[1][0]=n[4],a(s[0][1],s[1][1],s[2][1],m,n),s[0][1]=n[3],s[1][1]=n[4]}if(f&&"none"!==f){g=o(t.node2),m=d(s,p[1],g*e);a(s[0][0],s[1][0],s[2][0],m,n),s[1][0]=n[1],s[2][0]=n[2],a(s[0][1],s[1][1],s[2][1],m,n),s[1][1]=n[1],s[2][1]=n[2]}r.copy(c[0],s[0]),r.copy(c[1],s[2]),r.copy(c[2],s[1])}else{if(r.copy(l[0],p[0]),r.copy(l[1],p[1]),r.sub(u,l[1],l[0]),r.normalize(u,u),h&&"none"!==h){g=o(t.node1);r.scaleAndAdd(l[0],l[0],u,g*e)}if(f&&"none"!==f){g=o(t.node2);r.scaleAndAdd(l[1],l[1],u,-g*e)}r.copy(c[0],l[0]),r.copy(c[1],l[1])}}))}},function(t,e,n){var i=n(1),r=n(258).updateCenterAndZoom;n(359);i.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},(function(t,e){e.eachComponent({mainType:"series",query:t},(function(e){var n=e.coordinateSystem,i=r(n,t);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))},function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getGraph().data,r=n.mapArray(n.getName);i.filterSelf((function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){"number"==typeof n&&(n=r[n]);for(var o=0;o=t&&(0===e?0:i[e-1][0]).4?"bottom":"middle",textAlign:L<-.4?"left":L>.4?"right":"center"},{autoColor:R}),silent:!0}))}if(x.get("show")&&k!==b){for(var z=0;z<=w;z++){L=Math.cos(C),O=Math.sin(C);var V=new r.Line({shape:{x1:L*g+f,y1:O*g+p,x2:L*(g-M)+f,y2:O*(g-M)+p},silent:!0,style:D});"auto"===D.stroke&&V.setStyle({stroke:i((k+z/w)/b)}),d.add(V),C+=I}C-=I}else C+=T}},_renderPointer:function(t,e,n,o,a,l,c,h){var d=this.group,f=this._data;if(t.get("pointer.show")){var p=[+t.get("min"),+t.get("max")],g=[l,c],m=t.getData(),v=m.mapDimension("value");m.diff(f).add((function(e){var n=new i({shape:{angle:l}});r.initProps(n,{shape:{angle:u(m.get(v,e),p,g,!0)}},t),d.add(n),m.setItemGraphicEl(e,n)})).update((function(e,n){var i=f.getItemGraphicEl(n);r.updateProps(i,{shape:{angle:u(m.get(v,e),p,g,!0)}},t),d.add(i),m.setItemGraphicEl(e,i)})).remove((function(t){var e=f.getItemGraphicEl(t);d.remove(e)})).execute(),m.eachItemGraphicEl((function(t,e){var n=m.getItemModel(e),i=n.getModel("pointer");t.setShape({x:a.cx,y:a.cy,width:s(i.get("width"),a.r),r:s(i.get("length"),a.r)}),t.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",o(u(m.get(v,e),p,[0,1],!0))),r.setHoverStyle(t,n.getModel("emphasis.itemStyle").getItemStyle())})),this._data=m}else f&&f.eachItemGraphicEl((function(t){d.remove(t)}))},_renderTitle:function(t,e,n,i,o){var a=t.getData(),l=a.mapDimension("value"),c=t.getModel("title");if(c.get("show")){var h=c.get("offsetCenter"),d=o.cx+s(h[0],o.r),f=o.cy+s(h[1],o.r),p=+t.get("min"),g=+t.get("max"),m=t.getData().get(l,0),v=i(u(m,[p,g],[0,1],!0));this.group.add(new r.Text({silent:!0,style:r.setTextStyle({},c,{x:d,y:f,text:a.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(t,e,n,i,o){var a=t.getModel("detail"),l=+t.get("min"),h=+t.get("max");if(a.get("show")){var d=a.get("offsetCenter"),f=o.cx+s(d[0],o.r),p=o.cy+s(d[1],o.r),g=s(a.get("width"),o.r),m=s(a.get("height"),o.r),v=t.getData(),y=v.get(v.mapDimension("value"),0),x=i(u(y,[l,h],[0,1],!0));this.group.add(new r.Text({silent:!0,style:r.setTextStyle({},a,{x:f,y:p,text:c(y,a.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}});t.exports=d},function(t,e,n){var i=n(19).extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)}});t.exports=i},function(t,e,n){var i=n(1);n(579),n(580);var r=n(193),o=n(581),a=n(161);i.registerVisual(r("funnel")),i.registerLayout(o),i.registerProcessor(a("funnel"))},function(t,e,n){var i=n(1),r=n(0),o=n(113),a=n(5).defaultEmphasis,s=n(61).makeSeriesEncodeForNameBased,l=n(160),u=i.extendSeriesModel({type:"series.funnel",init:function(t){u.superApply(this,"init",arguments),this.legendVisualProvider=new l(r.bind(this.getData,this),r.bind(this.getRawData,this)),this._defaultLabelLine(t)},getInitialData:function(t,e){return o(this,{coordDimensions:["value"],encodeDefaulter:r.curry(s,this)})},_defaultLabelLine:function(t){a(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},getDataParams:function(t){var e=this.getData(),n=u.superCall(this,"getDataParams",t),i=e.mapDimension("value"),r=e.getSum(i);return n.percent=r?+(e.get(i,t)/r*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),c=u;t.exports=c},function(t,e,n){var i=n(2),r=n(0),o=n(52);function a(t,e){i.Group.call(this);var n=new i.Polygon,r=new i.Polyline,o=new i.Text;this.add(n),this.add(r),this.add(o),this.highDownOnUpdate=function(t,e){"emphasis"===e?(r.ignore=r.hoverIgnore,o.ignore=o.hoverIgnore):(r.ignore=r.normalIgnore,o.ignore=o.normalIgnore)},this.updateData(t,e,!0)}var s=a.prototype,l=["itemStyle","opacity"];s.updateData=function(t,e,n){var o=this.childAt(0),a=t.hostModel,s=t.getItemModel(e),u=t.getItemLayout(e),c=t.getItemModel(e).get(l);c=null==c?1:c,o.useStyle({}),n?(o.setShape({points:u.points}),o.setStyle({opacity:0}),i.initProps(o,{style:{opacity:c}},a,e)):i.updateProps(o,{style:{opacity:c},shape:{points:u.points}},a,e);var h=s.getModel("itemStyle"),d=t.getItemVisual(e,"color");o.setStyle(r.defaults({lineJoin:"round",fill:d},h.getItemStyle(["opacity"]))),o.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),i.setHoverStyle(this)},s._updateLabel=function(t,e){var n=this.childAt(1),r=this.childAt(2),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"color");i.updateProps(n,{shape:{points:s.linePoints||s.linePoints}},o,e),i.updateProps(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=a.getModel("label"),c=a.getModel("emphasis.label"),h=a.getModel("labelLine"),d=a.getModel("emphasis.labelLine");l=t.getItemVisual(e,"color");i.setLabelStyle(r.style,r.hoverStyle={},u,c,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),r.ignore=r.normalIgnore=!u.get("show"),r.hoverIgnore=!c.get("show"),n.ignore=n.normalIgnore=!h.get("show"),n.hoverIgnore=!d.get("show"),n.setStyle({stroke:l}),n.setStyle(h.getModel("lineStyle").getLineStyle()),n.hoverStyle=d.getModel("lineStyle").getLineStyle()},r.inherits(a,i.Group);var u=o.extend({type:"funnel",render:function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new a(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(t){var e=r.getItemGraphicEl(t);o.remove(e)})).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=u},function(t,e,n){n(9).__DEV__;var i=n(10),r=n(3),o=r.parsePercent,a=r.linearMap;t.exports=function(t,e,n){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),r=n.mapDimension("value"),s=t.get("sort"),l=function(t,e){return i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();h(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),a.niceScaleExtent(e.scale,e.model)}),this)}}),this)},resize:function(t,e){this._rect=o.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,c=x(e.get("axisExpandWidth"),l),h=x(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,f=e.get("axisExpandWindow");f?(t=x(f[1]-f[0],l),f[1]=f[0]+t):(t=x(c*(h-1),l),(f=[c*(e.get("axisExpandCenter")||p(u/2))-t/2])[1]=f[0]+t);var v=(s-t)/(u-h);v<3&&(v=0);var y=[p(m(f[0]/c,1))+1,g(m(f[1]/c,1))-1],_=v/c*f[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:v,axisExpandWindow:f,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:_}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),o=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),h(n,(function(e,n){var a=(i.axisExpandable?b:_)(n,i),s={horizontal:{x:a.position,y:i.axisLength},vertical:{x:0,y:a.position}},l={horizontal:v/2,vertical:0},u=[s[o].x+t.x,s[o].y+t.y],c=l[o],h=r.create();r.rotate(h,h,c),r.translate(h,h,u),this._axesLayout[e]={position:u,rotation:c,transform:h,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(t,e,n,r){null==n&&(n=0),null==r&&(r=t.count());var o=this._axesMap,a=this.dimensions,s=[],l=[];i.each(a,(function(e){s.push(t.mapDimension(e)),l.push(o.get(e).model)}));for(var u=this.hasAxisBrushed(),c=n;cr*(1-h[0])?(l="jump",a=s-r*(1-h[2])):(a=s-r*h[1])>=0&&(a=s-r*(1-h[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?c(a,i,o,"all"):l="none";else{r=i[1]-i[0];(i=[f(0,o[1]*s/r-r/2)])[1]=d(o[1],i[0]+r),i[0]=i[1]-r}return{axisExpandWindow:i,behavior:l}}};var w=y;t.exports=w},function(t,e,n){var i=n(0),r=n(75),o=function(t,e,n,i,o){r.call(this,t,e,n),this.type=i||"value",this.axisIndex=o};o.prototype={constructor:o,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},i.inherits(o,r);var a=o;t.exports=a},function(t,e,n){var i=n(0),r=n(24);n(587);var o=r.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(t){var e=this.option;t&&i.merge(e,t,!0),this._initDimensions()},contains:function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},setAxisExpand:function(t){i.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},_initDimensions:function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],n=i.filter(this.dependentModels.parallelAxis,(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this);i.each(n,(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))}});t.exports=o},function(t,e,n){var i=n(0),r=n(24),o=n(107),a=n(191),s=n(3),l=n(111),u=r.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return o([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(t){var e=this.activeIntervals=i.clone(t);if(e)for(var n=e.length-1;n>=0;n--)s.asc(e[n])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i=0&&(s[o[l].depth]=new a(o[l],this,e));if(i&&n)return r(i,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,i=n.getData().getItemLayout(e).depth;return n.levelModels[i]||this.parentModel})),t})),e.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout().depth;return n.levelModels[i]||this.parentModel})),t}))})).data},setNodePosition:function(t,e){var n=this.option.data[t];n.localX=e[0],n.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,n){if("edge"===n){var i=this.getDataParams(t,n),r=i.data,a=r.source+" -- "+r.target;return i.value&&(a+=" : "+i.value),o(a)}if("node"===n){var l=this.getGraph().getNodeByIndex(t).getLayout().value,u=this.getDataParams(t,n).data.name;if(l)a=u+" : "+l;return o(a)}return s.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,e){var n=s.superCall(this,"getDataParams",t,e);if(null==n.value&&"node"===e){var i=this.getGraph().getNodeByIndex(t).getLayout().value;n.value=i}return n},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}})),l=s;t.exports=l},function(t,e,n){var i=n(2),r=n(1),o=n(0),a=["itemStyle","opacity"],s=["emphasis","itemStyle","opacity"],l=["lineStyle","opacity"],u=["emphasis","lineStyle","opacity"];function c(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function h(t,e,n){var i=t.getGraphicEl(),r=c(t,e);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse((function(t){"group"!==t.type&&t.setStyle("opacity",r)}))}function d(t,e){var n=c(t,e),i=t.getGraphicEl();i.traverse((function(t){"group"!==t.type&&t.setStyle("opacity",n)})),i.highlight&&i.highlight()}var f=i.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),p=r.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(t,e,n){var r=this,o=t.getGraph(),a=this.group,s=t.layoutInfo,l=s.width,u=s.height,c=t.getData(),h=t.getData("edge"),d=t.get("orient");this._model=t,a.removeAll(),a.attr("position",[s.x,s.y]),o.eachEdge((function(e){var n=new f;n.dataIndex=e.dataIndex,n.seriesIndex=t.seriesIndex,n.dataType="edge";var r,o,s,c,p,g,m,v,y=e.getModel("lineStyle"),x=y.get("curveness"),_=e.node1.getLayout(),b=e.node1.getModel(),w=b.get("localX"),S=b.get("localY"),M=e.node2.getLayout(),C=e.node2.getModel(),T=C.get("localX"),I=C.get("localY"),A=e.getLayout();switch(n.shape.extent=Math.max(1,A.dy),n.shape.orient=d,"vertical"===d?(r=(null!=w?w*l:_.x)+A.sy,o=(null!=S?S*u:_.y)+_.dy,s=(null!=T?T*l:M.x)+A.ty,p=r,g=o*(1-x)+(c=null!=I?I*u:M.y)*x,m=s,v=o*x+c*(1-x)):(r=(null!=w?w*l:_.x)+_.dx,o=(null!=S?S*u:_.y)+A.sy,p=r*(1-x)+(s=null!=T?T*l:M.x)*x,g=o,m=r*x+s*(1-x),v=c=(null!=I?I*u:M.y)+A.ty),n.setShape({x1:r,y1:o,x2:s,y2:c,cpx1:p,cpy1:g,cpx2:m,cpy2:v}),n.setStyle(y.getItemStyle()),n.style.fill){case"source":n.style.fill=e.node1.getVisual("color");break;case"target":n.style.fill=e.node2.getVisual("color")}i.setHoverStyle(n,e.getModel("emphasis.lineStyle").getItemStyle()),a.add(n),h.setItemGraphicEl(e.dataIndex,n)})),o.eachNode((function(e){var n=e.getLayout(),r=e.getModel(),o=r.get("localX"),s=r.get("localY"),h=r.getModel("label"),d=r.getModel("emphasis.label"),f=new i.Rect({shape:{x:null!=o?o*l:n.x,y:null!=s?s*u:n.y,width:n.dx,height:n.dy},style:r.getModel("itemStyle").getItemStyle()}),p=e.getModel("emphasis.itemStyle").getItemStyle();i.setLabelStyle(f.style,p,h,d,{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id,isRectText:!0}),f.setStyle("fill",e.getVisual("color")),i.setHoverStyle(f,p),a.add(f),c.setItemGraphicEl(e.dataIndex,f),f.dataType="node"})),c.eachItemGraphicEl((function(e,i){var o=c.getItemModel(i);o.get("draggable")&&(e.drift=function(e,o){r._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:c.getRawIndex(i),localX:this.shape.x/l,localY:this.shape.y/u})},e.ondragend=function(){r._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move"),e.highlight=function(){this.trigger("emphasis")},e.downplay=function(){this.trigger("normal")},e.focusNodeAdjHandler&&e.off("mouseover",e.focusNodeAdjHandler),e.unfocusNodeAdjHandler&&e.off("mouseout",e.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(e.on("mouseover",e.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex}))}),e.on("mouseout",e.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(n)}))})),h.eachItemGraphicEl((function(e,i){var o=h.getItemModel(i);e.focusNodeAdjHandler&&e.off("mouseover",e.focusNodeAdjHandler),e.unfocusNodeAdjHandler&&e.off("mouseout",e.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(e.on("mouseover",e.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex}))}),e.on("mouseout",e.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(n)}))})),!this._data&&t.get("animation")&&a.setClipPath(function(t,e,n){var r=new i.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return i.initProps(r,{shape:{width:t.width+20}},e,n),r}(a.getBoundingRect(),t,(function(){a.removeClipPath()}))),this._data=t.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(t){var e=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){e._unfocusDelayTimer=null,t.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(t,e,n,i){var r=t.getData(),c=r.graph,f=i.dataIndex,p=r.getItemModel(f),g=i.edgeDataIndex;if(null!=f||null!=g){var m=c.getNodeByIndex(f),v=c.getEdgeByIndex(g);if(c.eachNode((function(t){h(t,a,.1)})),c.eachEdge((function(t){h(t,l,.1)})),m){d(m,s);var y=p.get("focusNodeAdjacency");"outEdges"===y?o.each(m.outEdges,(function(t){t.dataIndex<0||(d(t,u),d(t.node2,s))})):"inEdges"===y?o.each(m.inEdges,(function(t){t.dataIndex<0||(d(t,u),d(t.node1,s))})):"allEdges"===y&&o.each(m.edges,(function(t){t.dataIndex<0||(d(t,u),t.node1!==m&&d(t.node1,s),t.node2!==m&&d(t.node2,s))}))}v&&(d(v,u),d(v.node1,s),d(v.node2,s))}},unfocusNodeAdjacency:function(t,e,n,i){var r=t.getGraph();r.eachNode((function(t){h(t,a)})),r.eachEdge((function(t){h(t,l)}))}});t.exports=p},function(t,e,n){var i=n(1);n(359),i.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))},function(t,e,n){var i=n(10),r=n(0),o=n(5).groupData;function a(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function s(t,e,n,i,o){var a="vertical"===o?"x":"y";r.each(t,(function(t){var r,s,l;t.sort((function(t,e){return t.getLayout()[a]-e.getLayout()[a]}));for(var u=0,c=t.length,h="vertical"===o?"dx":"dy",d=0;d0&&(r=s.getLayout()[a]+l,"vertical"===o?s.setLayout({x:r},!0):s.setLayout({y:r},!0)),u=s.getLayout()[a]+s.getLayout()[h]+e;if((l=u-e-("vertical"===o?i:n))>0)for(r=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:r},!0):s.setLayout({y:r},!0),u=r,d=c-2;d>=0;--d)(l=(s=t[d]).getLayout()[a]+s.getLayout()[h]+e-u)>0&&(r=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:r},!0):s.setLayout({y:r},!0)),u=s.getLayout()[a]}))}function l(t,e,n){r.each(t.slice().reverse(),(function(t){r.each(t,(function(t){if(t.outEdges.length){var i=g(t.outEdges,u,n)/g(t.outEdges,p,n);if(isNaN(i)){var r=t.outEdges.length;i=r?g(t.outEdges,c,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-f(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-f(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function u(t,e){return f(t.node2,e)*t.getValue()}function c(t,e){return f(t.node2,e)}function h(t,e){return f(t.node1,e)*t.getValue()}function d(t,e){return f(t.node1,e)}function f(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function p(t){return t.getValue()}function g(t,e,n){for(var i=0,r=t.length,o=-1;++o=0;x&&y.depth>g&&(g=y.depth),v.setLayout({depth:x?y.depth:f},!0),"vertical"===s?v.setLayout({dy:n},!0):v.setLayout({dx:n},!0);for(var _=0;_f-1?g:f-1;l&&"left"!==l&&function(t,e,n,i){if("right"===e){for(var o=[],s=t,l=0;s.length;){for(var u=0;u0;u--)l(h,d*=.99,c),s(h,a,n,i,c),m(h,d,c),s(h,a,n,i,c)}(t,e,c,u,i,h,d),function(t,e){var n="vertical"===e?"x":"y";r.each(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),r.each(t,(function(t){var e=0,n=0;r.each(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),r.each(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,d)}(v,y,n,u,h,d,0!==r.filter(v,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}},function(t,e,n){var i=n(96),r=n(0);t.exports=function(t,e){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph().nodes;if(e.length){var n=1/0,o=-1/0;r.each(e,(function(t){var e=t.getLayout().value;eo&&(o=e)})),r.each(e,(function(e){var r=new i({type:"color",mappingMethod:"linear",dataExtent:[n,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),a=e.getModel().get("itemStyle.color");null!=a?e.setVisual("color",a):e.setVisual("color",r)}))}}))}},function(t,e,n){var i=n(1);n(601),n(602);var r=n(603),o=n(604);i.registerVisual(r),i.registerLayout(o)},function(t,e,n){var i=n(0),r=n(25),o=n(365).seriesModelMixin,a=r.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});i.mixin(a,o,!0);var s=a;t.exports=s},function(t,e,n){var i=n(0),r=n(52),o=n(2),a=n(19),s=["itemStyle"],l=["emphasis","itemStyle"],u=r.extend({type:"boxplot",render:function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=h(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?d(s,n,i,t):n=h(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},remove:function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},dispose:i.noop}),c=a.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i0?"P":"N",o=i.getVisual("borderColor"+r)||i.getVisual("color"+r),a=n.getModel(l).getItemStyle(c);e.useStyle(a),e.style.fill=null,e.style.stroke=o}var _=h;t.exports=_},function(t,e,n){var i=n(0);t.exports=function(t){t&&i.isArray(t.series)&&i.each(t.series,(function(t){i.isObject(t)&&"k"===t.type&&(t.type="candlestick")}))}},function(t,e,n){var i=n(109),r=["itemStyle","borderColor"],o=["itemStyle","borderColor0"],a=["itemStyle","color"],s=["itemStyle","color0"],l={seriesType:"candlestick",plan:i(),performRawSeries:!0,reset:function(t,e){if(t.getData().setVisual({legendSymbol:"roundRect",colorP:n(1,t),colorN:n(-1,t),borderColorP:i(1,t),borderColorN:i(-1,t)}),!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){var r;for(;null!=(r=t.next());){var o=e.getItemModel(r),a=e.getItemLayout(r).sign;e.setItemVisual(r,{color:n(a,o),borderColor:i(a,o)})}}};function n(t,e){return e.get(t>0?a:s)}function i(t,e){return e.get(t>0?r:o)}}};t.exports=l},function(t,e,n){var i=n(2).subPixelOptimize,r=n(109),o=n(3).parsePercent,a=n(0).retrieve2,s="undefined"!=typeof Float32Array?Float32Array:Array,l={seriesType:"candlestick",plan:r(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),r=function(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),s=o(a(t.get("barMaxWidth"),r),r),l=o(a(t.get("barMinWidth"),1),r),u=t.get("barWidth");return null!=u?o(u,r):Math.max(Math.min(r/2,s),l)}(t,n),l=["x","y"],c=n.mapDimension(l[0]),h=n.mapDimension(l[1],!0),d=h[0],f=h[1],p=h[2],g=h[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(null==c||h.length<4))return{progress:t.pipelineContext.large?function(t,n){var i,r,o=new s(4*t.count),a=0,l=[],h=[];for(;null!=(r=t.next());){var m=n.get(c,r),v=n.get(d,r),y=n.get(f,r),x=n.get(p,r),_=n.get(g,r);isNaN(m)||isNaN(x)||isNaN(_)?(o[a++]=NaN,a+=3):(o[a++]=u(n,r,v,y,f),l[0]=m,l[1]=x,i=e.dataToPoint(l,null,h),o[a++]=i?i[0]:NaN,o[a++]=i?i[1]:NaN,l[1]=_,i=e.dataToPoint(l,null,h),o[a++]=i?i[1]:NaN)}n.setLayout("largePoints",o)}:function(t,n){var o;for(;null!=(o=t.next());){var a=n.get(c,o),s=n.get(d,o),l=n.get(f,o),h=n.get(p,o),m=n.get(g,o),v=Math.min(s,l),y=Math.max(s,l),x=M(v,a),_=M(y,a),b=M(h,a),w=M(m,a),S=[];C(S,_,0),C(S,x,1),S.push(I(w),I(_),I(b),I(x)),n.setItemLayout(o,{sign:u(n,o,s,l,f),initBaseline:s>l?_[1]:x[1],ends:S,brushRect:T(h,m,a)})}function M(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function C(t,e,n){var o=e.slice(),a=e.slice();o[0]=i(o[0]+r/2,1,!1),a[0]=i(a[0]-r/2,1,!0),n?t.push(o,a):t.push(a,o)}function T(t,e,n){var i=M(t,n),o=M(e,n);return i[0]-=r/2,o[0]-=r/2,{x:i[0],y:i[1],width:r,height:o[1]-i[1]}}function I(t){return t[0]=i(t[0],1),t}}}}};function u(t,e,n,i,r){return n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1}t.exports=l},function(t,e,n){var i=n(1);n(612),n(613);var r=n(93),o=n(158);i.registerVisual(r("effectScatter","circle")),i.registerLayout(o("effectScatter"))},function(t,e,n){var i=n(62),r=n(25).extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(t,e){return i(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});t.exports=r},function(t,e,n){var i=n(1),r=n(156),o=n(614),a=n(32),s=n(158),l=i.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new r(o)},render:function(t,e,n){var i=t.getData(),r=this._symbolDraw;r.updateData(i),this.group.add(r.group)},updateTransform:function(t,e,n){var i=t.getData();this.group.dirty();var r=s().reset(t);r.progress&&r.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateGroupTransform:function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=a.clone(e.getRoamTransform()),this.group.decomposeTransform())},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e)},dispose:function(){}});t.exports=l},function(t,e,n){var i=n(0),r=n(41).createSymbol,o=n(2).Group,a=n(3).parsePercent,s=n(190);function l(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}function u(t,e){o.call(this);var n=new s(t,e),i=new o;this.add(n),this.add(i),i.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(t,e)}var c=u.prototype;c.stopEffectAnimation=function(){this.childAt(1).removeAll()},c.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=this.childAt(1),o=0;o<3;o++){var a=r(e,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var s=-o/3*t.period+t.effectOffset;a.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(s).start(),a.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),i.add(a)}l(i,t)},c.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale"],r=0;r "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),p=f;t.exports=p},function(t,e,n){n(9).__DEV__;var i=n(1),r=n(262),o=n(366),a=n(263),s=n(367),l=n(618),u=n(619),c=n(368),h=n(157).createClipPath,d=i.extendChartView({type:"lines",init:function(){},render:function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t),o=t.get("zlevel"),a=t.get("effect.trailLength"),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&h(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},incrementalPrepareRender:function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},incrementalRender:function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=c.reset(t);o.progress&&o.progress({start:0,end:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},_updateLineDraw:function(t,e){var n=this._lineDraw,i=this._showEffect(e),c=!!e.get("polyline"),h=e.pipelineContext.large;return n&&i===this._hasEffet&&c===this._isPolyline&&h===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=h?new u:new r(c?i?l:s:i?o:a),this._hasEffet=i,this._isPolyline=c,this._isLargeDraw=h,this.group.removeAll()),this.group.add(n.group),n},_showEffect:function(t){return!!t.get("effect.show")},_clearLayer:function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});t.exports=d},function(t,e,n){var i=n(367),r=n(0),o=n(366),a=n(14);function s(t,e,n){o.call(this,t,e,n),this._lastFrame=0,this._lastFramePercent=0}var l=s.prototype;l.createLine=function(t,e,n){return new i(t,e,n)},l.updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],i=0,r=1;r=0&&!(i[s]<=e);s--);s=Math.min(s,r-2)}else{for(var s=o;se);s++);s=Math.min(s-1,r-2)}a.lerp(t.position,n[s],n[s+1],(e-i[s])/(i[s+1]-i[s]));var l=n[s+1][0]-n[s][0],u=n[s+1][1]-n[s][1];t.rotation=-Math.atan2(u,l)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},r.inherits(s,o);var u=s;t.exports=u},function(t,e,n){var i=n(2),r=n(250),o=n(319),a=n(320),s=i.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(t,e){var n=e.segs,i=e.curveness;if(e.polyline)for(var r=0;r0){t.moveTo(n[r++],n[r++]);for(var a=1;a0){var h=(s+u)/2-(l-c)*i,d=(l+c)/2-(u-s)*i;t.quadraticCurveTo(h,d,u,c)}else t.lineTo(u,c)}},findDataIndex:function(t,e){var n=this.shape,i=n.segs,r=n.curveness;if(n.polyline)for(var s=0,l=0;l0)for(var c=i[l++],h=i[l++],d=1;d0){var g=(c+f)/2-(h-p)*r,m=(h+p)/2-(f-c)*r;if(a.containStroke(c,h,g,m,f,p))return s}else if(o.containStroke(c,h,f,p))return s;s++}return-1}});function l(){this.group=new i.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(t){this.group.removeAll();var e=new s({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},u.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new r({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(t,e){var n=new s;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("color");r&&t.setStyle("stroke",r),t.setStyle("fill"),n||(t.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(t.dataIndex=n+t.__startIndex)})))},u._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var c=l;t.exports=c},function(t,e){function n(t){return t instanceof Array||(t=[t,t]),t}var i="lineStyle.opacity".split("."),r={seriesType:"lines",reset:function(t,e,r){var o=n(t.get("symbol")),a=n(t.get("symbolSize")),s=t.getData();return s.setVisual("fromSymbol",o&&o[0]),s.setVisual("toSymbol",o&&o[1]),s.setVisual("fromSymbolSize",a&&a[0]),s.setVisual("toSymbolSize",a&&a[1]),s.setVisual("opacity",t.get(i)),{dataEach:s.hasItemOption?function(t,e){var r=t.getItemModel(e),o=n(r.getShallow("symbol",!0)),a=n(r.getShallow("symbolSize",!0)),s=r.get(i);o[0]&&t.setItemVisual(e,"fromSymbol",o[0]),o[1]&&t.setItemVisual(e,"toSymbol",o[1]),a[0]&&t.setItemVisual(e,"fromSymbolSize",a[0]),a[1]&&t.setItemVisual(e,"toSymbolSize",a[1]),t.setItemVisual(e,"opacity",s)}:null}}};t.exports=r},function(t,e,n){n(622),n(623)},function(t,e,n){var i=n(25),r=n(62),o=n(45),a=i.extend({type:"series.heatmap",getInitialData:function(t,e){return r(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var t=o.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});t.exports=a},function(t,e,n){n(9).__DEV__;var i=n(1),r=n(2),o=n(624),a=n(0);var s=i.extendChartView({type:"heatmap",render:function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):function(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}(r)&&this._renderOnGeo(r,t,i,n)},incrementalPrepareRender:function(t,e,n){this.group.removeAll()},incrementalRender:function(t,e,n,i){e.coordinateSystem&&this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,e,n,i,o){var s,l,u=t.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),h=u.getAxis("y");s=c.getBandWidth(),l=h.getBandWidth()}for(var d=this.group,f=t.getData(),p=t.getModel("itemStyle").getItemStyle(["color"]),g=t.getModel("emphasis.itemStyle").getItemStyle(),m=t.getModel("label"),v=t.getModel("emphasis.label"),y=u.type,x="cartesian2d"===y?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],_=n;_=e[0]&&t<=e[1]}}(b,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=a.map(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}))).length,o=0;return function(t){for(var i=o;i=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i0){var C=o(v)?s:l;v>0&&(v=v*S+w),x[_++]=C[M],x[_++]=C[M+1],x[_++]=C[M+2],x[_++]=C[M+3]*v*256}else _+=4}return h.putImageData(y,0,0),c},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=i.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var r=t.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-e,e,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),t},_getGradient:function(t,e,n){for(var i=this._gradientPixels,r=i[n]||(i[n]=new Uint8ClampedArray(1024)),o=[0,0,0,0],a=0,s=0;s<256;s++)e[n](s/255,!0,o),r[a++]=o[0],r[a++]=o[1],r[a++]=o[2],r[a++]=o[3];return r}};var o=r;t.exports=o},function(t,e,n){var i=n(1),r=n(0);n(255),n(626),n(627);var o=n(189).layout,a=n(93);n(159),i.registerLayout(r.curry(o,"pictorialBar")),i.registerVisual(a("pictorialBar","roundRect"))},function(t,e,n){var i=n(350).extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(t){return t.stack=null,i.superApply(this,"getInitialData",arguments)}}),r=i;t.exports=r},function(t,e,n){var i=n(1),r=n(0),o=n(2),a=n(41).createSymbol,s=n(3),l=s.parsePercent,u=s.isNumeric,c=n(351).setLabel,h=["itemStyle","borderWidth"],d=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],f=new o.Circle;function p(t,e,n,i){var o=t.getItemLayout(e),a=n.get("symbolRepeat"),s=n.get("symbolClip"),c=n.get("symbolPosition")||"start",d=(n.get("symbolRotate")||0)*Math.PI/180||0,p=n.get("symbolPatternSize")||2,m=n.isAnimationEnabled(),v={dataIndex:e,layout:o,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",color:t.getItemVisual(e,"color"),symbolClip:s,symbolRepeat:a,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:p,rotation:d,animationModel:m?n:null,hoverAnimation:m&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};!function(t,e,n,i,o){var a,s=i.valueDim,l=t.get("symbolBoundingData"),u=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),h=1-+(n[s.wh]<=0);if(r.isArray(l)){var d=[g(u,l[0])-c,g(u,l[1])-c];d[1]0?1:a<0?-1:0}(n,a,o,i,v),function(t,e,n,i,o,a,s,u,c,h){var d=c.valueDim,f=c.categoryDim,p=Math.abs(n[f.wh]),g=t.getItemVisual(e,"symbolSize");r.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]);g[f.index]=l(g[f.index],p),g[d.index]=l(g[d.index],i?p:Math.abs(a)),h.symbolSize=g,(h.symbolScale=[g[0]/u,g[1]/u])[d.index]*=(c.isHorizontal?-1:1)*s}(t,e,o,a,0,v.boundingLength,v.pxSign,p,i,v),function(t,e,n,i,r){var o=t.get(h)||0;o&&(f.attr({scale:e.slice(),rotation:n}),f.updateTransform(),o/=f.getLineScale(),o*=e[i.valueDim.index]);r.valueLineWidth=o}(n,v.symbolScale,d,i,v);var y=v.symbolSize,x=n.get("symbolOffset");return r.isArray(x)&&(x=[l(x[0],y[0]),l(x[1],y[1])]),function(t,e,n,i,o,a,s,c,h,d,f,p){var g=f.categoryDim,m=f.valueDim,v=p.pxSign,y=Math.max(e[m.index]+c,0),x=y;if(i){var _=Math.abs(h),b=r.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=l(b,e[m.index]);var S=Math.max(y+2*b,0),M=w?0:2*b,C=u(i),T=C?i:L((_+M)/S);S=y+2*(b=(_-T*y)/2/(w?T:T-1)),M=w?0:2*b,C||"fixed"===i||(T=d?L((Math.abs(d)+M)/S):0),x=T*S-M,p.repeatTimes=T,p.symbolMargin=b}var I=v*(x/2),A=p.pathPosition=[];A[g.index]=n[g.wh]/2,A[m.index]="start"===s?I:"end"===s?h-I:h/2,a&&(A[0]+=a[0],A[1]+=a[1]);var D=p.bundlePosition=[];D[g.index]=n[g.xy],D[m.index]=n[m.xy];var k=p.barRectShape=r.extend({},n);k[m.wh]=v*Math.max(Math.abs(n[m.wh]),Math.abs(A[m.index]+I)),k[g.wh]=n[g.wh];var O=p.clipShape={};O[g.xy]=-n[g.xy],O[g.wh]=f.ecSize[g.wh],O[m.xy]=0,O[m.wh]=n[m.wh]}(n,y,o,a,0,x,c,v.valueLineWidth,v.boundingLength,v.repeatCutLength,i,v),v}function g(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function m(t){var e=t.symbolPatternSize,n=a(t.symbolType,-e/2,-e/2,e,e,t.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function v(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,c=0,h=o[e.valueDim.index]+a+2*n.symbolMargin;for(A(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c0:i<0)&&(r=u-1-t),e[l.index]=h*(r-u/2+.5)+s[l.index],{position:e,scale:n.symbolScale.slice(),rotation:n.rotation}}function g(){A(t,(function(t){t.trigger("emphasis")}))}function v(){A(t,(function(t){t.trigger("normal")}))}}function y(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?D(o,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(o=t.__pictorialMainPath=m(n),r.add(o),D(o,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),o.on("mouseover",(function(){this.trigger("emphasis")})).on("mouseout",(function(){this.trigger("normal")}))),M(o,n)}function x(t,e,n){var i=r.extend({},e.barRectShape),a=t.__pictorialBarRect;a?D(a,null,{shape:i},e,n):(a=t.__pictorialBarRect=new o.Rect({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(a))}function _(t,e,n,i){if(n.symbolClip){var a=t.__pictorialClipPath,s=r.extend({},n.clipShape),l=e.valueDim,u=n.animationModel,c=n.dataIndex;if(a)o.updateProps(a,{shape:s},u,c);else{s[l.wh]=0,a=new o.Rect({shape:s}),t.__pictorialBundle.setClipPath(a),t.__pictorialClipPath=a;var h={};h[l.wh]=n.clipShape[l.wh],o[i?"updateProps":"initProps"](a,{shape:h},u,c)}}}function b(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=w,n.isAnimationEnabled=S,n}function w(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function S(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function M(t,e){t.off("emphasis").off("normal");var n=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function C(t,e,n,i){var r=new o.Group,a=new o.Group;return r.add(a),r.__pictorialBundle=a,a.attr("position",n.bundlePosition.slice()),n.symbolRepeat?v(r,e,n):y(r,0,n),x(r,n,i),_(r,e,n,i),r.__pictorialShapeStr=I(t,n),r.__pictorialSymbolMeta=n,r}function T(t,e,n,i){var a=i.__pictorialBarRect;a&&(a.style.text=null);var s=[];A(i,(function(t){s.push(t)})),i.__pictorialMainPath&&s.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),r.each(s,(function(t){o.updateProps(t,{scale:[0,0]},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function I(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function A(t,e,n){r.each(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function D(t,e,n,i,r,a){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&o[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,a)}function k(t,e,n){var i=n.color,a=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),h=s.getShallow("cursor");A(t,(function(t){t.setColor(i),t.setStyle(r.defaults({fill:i,opacity:n.opacity},l)),o.setHoverStyle(t,u),h&&(t.cursor=h),t.z2=n.z2}));var d={},f=e.valueDim.posDesc[+(n.boundingLength>0)],p=t.__pictorialBarRect;c(p.style,d,s,i,e.seriesModel,a,f),o.setHoverStyle(p,d)}function L(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var O=i.extendChartView({type:"pictorialBar",render:function(t,e,n){var i=this.group,r=t.getData(),a=this._data,s=t.coordinateSystem,l=!!s.getBaseAxis().isHorizontal(),u=s.grid.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:s,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:d[+l],categoryDim:d[1-l]};return r.diff(a).add((function(t){if(r.hasValue(t)){var e=b(r,t),n=p(r,t,e,c),o=C(r,c,n);r.setItemGraphicEl(t,o),i.add(o),k(o,c,n)}})).update((function(t,e){var n=a.getItemGraphicEl(e);if(r.hasValue(t)){var s=b(r,t),l=p(r,t,s,c),u=I(r,l);n&&u!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?function(t,e,n){var i=n.animationModel,r=n.dataIndex,a=t.__pictorialBundle;o.updateProps(a,{position:n.bundlePosition.slice()},i,r),n.symbolRepeat?v(t,e,n,!0):y(t,e,n,!0);x(t,n,!0),_(t,e,n,!0)}(n,c,l):n=C(r,c,l,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=l,i.add(n),k(n,c,l)}else i.remove(n)})).remove((function(t){var e=a.getItemGraphicEl(t);e&&T(a,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=r,this.group},dispose:r.noop,remove:function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl((function(e){T(i,e.dataIndex,t,e)})):n.removeAll()}});t.exports=O},function(t,e,n){var i=n(1);n(369),n(638),n(639);var r=n(640),o=n(641),a=n(161);i.registerLayout(r),i.registerVisual(o),i.registerProcessor(a("themeRiver"))},function(t,e,n){var i=n(630);n(45).register("single",{create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(r,o){var a=new i(r,t,e);a.name="single_"+o,a.resize(r,e),r.coordinateSystem=a,n.push(a)})),t.eachSeries((function(e){if("singleAxis"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"singleAxis",index:e.get("singleAxisIndex"),id:e.get("singleAxisId")})[0];e.coordinateSystem=n&&n.coordinateSystem}})),n},dimensions:i.prototype.dimensions})},function(t,e,n){var i=n(631),r=n(46),o=n(10).getLayoutRect,a=n(0).each;function s(t,e,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,n),this.model=t}s.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:s,_init:function(t,e,n){var o=this.dimension,a=new i(o,r.createScaleByModel(t),[0,0],t.get("type"),t.get("position")),s="category"===a.type;a.onBand=s&&t.get("boundaryGap"),a.inverse=t.get("inverse"),a.orient=t.get("orient"),t.axis=a,a.model=t,a.coordinateSystem=this,this._axis=a},update:function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();a(e.mapDimension(this.dimension,!0),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),r.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(t,e){this._rect=o({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],r=e.reverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},_updateAxisTransform:function(t,e){var n=t.getExtent(),i=n[0]+n[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return i-t+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(t){var e=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i}};var l=s;t.exports=l},function(t,e,n){var i=n(0),r=n(75),o=function(t,e,n,i,o){r.call(this,t,e,n),this.type=i||"value",this.position=o||"bottom",this.orient=null};o.prototype={constructor:o,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},i.inherits(o,r);var a=o;t.exports=a},function(t,e,n){var i=n(0),r=n(76),o=n(2),a=n(370),s=n(94),l=n(349),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,h=["axisLine","axisTickLabel","axisName"],d=["splitArea","splitLine"],f=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,e,n,s){var l=this.group;l.removeAll();var u=this._axisGroup;this._axisGroup=new o.Group;var c=a.layout(t),p=new r(t,c);i.each(h,p.add,p),l.add(this._axisGroup),l.add(p.getGroup()),i.each(d,(function(e){t.get(e+".show")&&this["_"+e](t)}),this),o.groupTransition(u,this._axisGroup,t),f.superCall(this,"render",t,e,n,s)},remove:function(){c(this)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){var n=t.getModel("splitLine"),i=n.getModel("lineStyle"),r=i.get("width"),a=i.get("color");a=a instanceof Array?a:[a];for(var s=t.coordinateSystem.getRect(),l=e.isHorizontal(),u=[],c=0,h=e.getTicksCoords({tickModel:n}),d=[],f=[],p=0;p=0&&l<0)&&(a=g,l=p,r=c,o.length=0),s(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),u=l.payloadBatch,c=l.snapToValue;u[0]&&null==o.seriesIndex&&i.extend(o,u[0]),!r&&t.snap&&a.containData(c)&&null!=c&&(e=c),n.showPointer(t,e,u,o),n.showTooltip(t,l,c)}else n.showPointer(t,e)}function h(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function d(t,e,n,i){var r=n.payloadBatch,a=e.axis,s=a.model,l=e.axisPointerModel;if(e.triggerTooltip&&r.length){var u=e.coordSys.model,c=o.makeKey(u),h=t.map[c];h||(h=t.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:a.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:i,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:r.slice()})}}function f(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function p(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=function(t,e,n){var r=t.currTrigger,o=[t.x,t.y],g=t,m=t.dispatchAction||i.bind(n.dispatchAction,n),v=e.getComponent("axisPointer").coordSysAxesInfo;if(v){p(o)&&(o=a({seriesIndex:g.seriesIndex,dataIndex:g.dataIndex},e).point);var y=p(o),x=g.axesInfo,_=v.axesInfo,b="leave"===r||p(o),w={},S={},M={list:[],map:{}},C={showPointer:l(h,S),showTooltip:l(d,M)};s(v.coordSysMap,(function(t,e){var n=y||t.containPoint(o);s(v.coordSysAxesInfo[e],(function(t,e){var i=t.axis,r=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(x,t);if(!b&&n&&(!x||r)){var a=r&&r.value;null!=a||y||(a=i.pointToData(o)),null!=a&&c(t,a,C,!1,w)}}))}));var T={};return s(_,(function(t,e){var n=t.linkGroup;n&&!S[e]&&s(n.axesInfo,(function(e,i){var r=S[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,f(e),f(t)))),T[t.key]=o}}))})),s(T,(function(t,e){c(_[e],t,C,!0,w)})),function(t,e,n){var i=n.axesInfo=[];s(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(S,_,w),function(t,e,n,i){if(p(e)||!t.list.length)return void i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(M,o,t,m),function(t,e,n){var r=n.getZr(),o=u(r).axisPointerLastHighlights||{},a=u(r).axisPointerLastHighlights={};s(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&s(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var l=[],c=[];i.each(o,(function(t,e){!a[e]&&c.push(t)})),i.each(a,(function(t,e){!o[e]&&l.push(t)})),c.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:c}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:l})}(_,0,n),w}}},function(t,e,n){var i=n(1).extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}});t.exports=i},function(t,e,n){var i=n(1),r=n(372),o=i.extendComponentView({type:"axisPointer",render:function(t,e,n){var i=e.getComponent("tooltip"),o=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";r.register("axisPointer",n,(function(t,e,n){"none"!==o&&("leave"===t||o.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,e){r.unregister(e.getZr(),"axisPointer"),o.superApply(this._model,"remove",arguments)},dispose:function(t,e){r.unregister("axisPointer",e),o.superApply(this._model,"dispose",arguments)}}),a=o;t.exports=a},function(t,e,n){var i=n(266),r=n(197),o=n(370),a=n(94),s=["x","y"],l=["width","height"],u=i.extend({makeElOption:function(t,e,n,i,a){var s=n.axis,l=s.coordinateSystem,u=d(l,1-h(s)),f=l.dataToPoint(e)[0],p=i.get("type");if(p&&"none"!==p){var g=r.buildElStyle(i),m=c[p](s,f,u);m.style=g,t.graphicKey=m.type,t.pointer=m}var v=o.layout(n);r.buildCartesianSingleLabelElOption(e,t,v,n,i,a)},getHandleTransform:function(t,e,n){var i=o.layout(e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:r.getTransformedPosition(e.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=h(r),s=d(o,a),l=t.position;l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=d(o,1-a),c=(u[1]+u[0])/2,f=[c,c];return f[a]=l[a],{position:l,rotation:t.rotation,cursorPoint:f,tooltipOption:{verticalAlign:"middle"}}}}),c={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:r.makeLineShape([e,n[0]],[e,n[1]],h(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),o=n[1]-n[0];return{type:"Rect",shape:r.makeRectShape([e-i/2,n[0]],[i,o],h(t))}}};function h(t){return t.isHorizontal()?0:1}function d(t,e){var n=t.getRect();return[n[s[e]],n[s[e]]+n[l[e]]]}a.registerAxisPointerClass("SingleAxisPointer",u);var f=u;t.exports=f},function(t,e,n){var i=n(25),r=n(110),o=n(154).getDimensionTypeByAxis,a=n(40),s=n(0),l=n(5).groupData,u=n(11).encodeHTML,c=n(160),h=i.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){h.superApply(this,"init",arguments),this.legendVisualProvider=new c(s.bind(this.getData,this),s.bind(this.getRawData,this))},fixData:function(t){var e=t.length,n={},i=l(t,(function(t){return n.hasOwnProperty(t[0])||(n[t[0]]=-1),t[2]})),r=[];i.buckets.each((function(t,e){r.push({name:e,dataList:t})}));for(var o=r.length,a=0;ao&&(o=u),i.push(u)}for(var c=0;co&&(o=d)}return a.y0=r,a.max=o,a}(u),h=c.y0,d=n/c.max,f=a.length,p=a[0].indices.length,g=0;g0){s.virtualPiece?s.virtualPiece.updateData(!1,n,"normal",t,e):(s.virtualPiece=new o(n,t,e),h.add(s.virtualPiece)),i.piece._onclickEvent&&i.piece.off("click",i.piece._onclickEvent);var r=function(t){s._rootToNode(i.parentNode)};i.piece._onclickEvent=r,s.virtualPiece.on("click",r)}else s.virtualPiece&&(h.remove(s.virtualPiece),s.virtualPiece=null)}(u,c),r&&r.highlight&&r.highlight.piece){var g=t.getShallow("highlightPolicy");r.highlight.piece.onEmphasis(g)}else if(r&&r.unhighlight){var m=this.virtualPiece;!m&&u.children.length&&(m=u.children[0].piece),m&&m.onNormal()}this._initEvents(),this._oldChildren=f},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece.childAt(0)===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a){var l=o.get("target",!0)||"_blank";s(a,l)}}n=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}}});t.exports=l},function(t,e,n){var i=n(0),r=n(2),o="none",a="ancestor",s="self";function l(t,e,n){r.Group.call(this);var i=new r.Sector({z2:2});i.seriesIndex=e.seriesIndex;var o=new r.Text({z2:4,silent:t.getModel("label").get("silent")});function a(){o.ignore=o.hoverIgnore}function s(){o.ignore=o.normalIgnore}this.add(i),this.add(o),this.updateData(!0,t,"normal",e,n),this.on("emphasis",a).on("normal",s).on("mouseover",a).on("mouseout",s)}var u=l.prototype;u.updateData=function(t,e,n,o,a){this.node=e,e.piece=this,o=o||this._seriesModel,a=a||this._ecModel;var s=this.childAt(0);s.dataIndex=e.dataIndex;var l=e.getModel(),u=e.getLayout(),c=i.extend({},u);c.label=null;var h=function(t,e,n){var r=t.getVisual("color"),o=t.getVisual("visualMeta");o&&0!==o.length||(r=null);var a=t.getModel("itemStyle").get("color");if(a)return a;if(r)return r;if(0===t.depth)return n.option.color[0];var s=n.option.color.length;a=n.option.color[function(t){var e=t;for(;e.depth>1;)e=e.parentNode;var n=t.getAncestors()[0];return i.indexOf(n.children,e)}(t)%s];return a}(e,0,a);!function(t,e,n){e.getData().setItemVisual(t.dataIndex,"color",n)}(e,o,h);var d,f=l.getModel("itemStyle").getItemStyle();if("normal"===n)d=f;else{var p=l.getModel(n+".itemStyle").getItemStyle();d=i.merge(p,f)}d=i.defaults({lineJoin:"bevel",fill:d.fill||h},d),t?(s.setShape(c),s.shape.r=u.r0,r.updateProps(s,{shape:{r:u.r}},o,e.dataIndex),s.useStyle(d)):"object"==typeof d.fill&&d.fill.type||"object"==typeof s.style.fill&&s.style.fill.type?(r.updateProps(s,{shape:c},o),s.useStyle(d)):r.updateProps(s,{shape:c,style:d},o),this._updateLabel(o,h,n);var g=l.getShallow("cursor");if(g&&s.attr("cursor",g),t){var m=o.getShallow("highlightPolicy");this._initEvents(s,e,o,m)}this._seriesModel=o||this._seriesModel,this._ecModel=a||this._ecModel,r.setHoverStyle(this)},u.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode((function(n){var i,r,l;n.piece&&(e.node===n?n.piece.updateData(!1,n,"emphasis"):(i=n,r=e.node,(l=t)!==o&&(l===s?i===r:l===a?i===r||i.isAncestorOf(r):i===r||i.isDescendantOf(r))?n.piece.childAt(0).trigger("highlight"):t!==o&&n.piece.childAt(0).trigger("downplay")))}))},u.onNormal=function(){this.node.hostTree.root.eachNode((function(t){t.piece&&t.piece.updateData(!1,t,"normal")}))},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(t,e,n){var o=this.node.getModel(),a=o.getModel("label"),s="normal"===n||"emphasis"===n?a:o.getModel(n+".label"),l=o.getModel("emphasis.label"),u=s.get("formatter")?n:"normal",c=i.retrieve(t.getFormattedLabel(this.node.dataIndex,u,null,null,"label"),this.node.name);!1===T("show")&&(c="");var h=this.node.getLayout(),d=s.get("minAngle");null==d&&(d=a.get("minAngle")),d=d/180*Math.PI;var f=h.endAngle-h.startAngle;null!=d&&Math.abs(f)Math.PI/2?"right":"left"):b&&"center"!==b?"left"===b?(g=h.r0+_,m>Math.PI/2&&(b="right")):"right"===b&&(g=h.r-_,m>Math.PI/2&&(b="left")):(g=(h.r+h.r0)/2,b="center"),p.attr("style",{text:c,textAlign:b,textVerticalAlign:T("verticalAlign")||"middle",opacity:T("opacity")});var w=g*v+h.cx,S=g*y+h.cy;p.attr("position",[w,S]);var M=T("rotate"),C=0;function T(t){var e=s.get(t);return null==e?a.get(t):e}"radial"===M?(C=-m)<-Math.PI/2&&(C+=Math.PI):"tangential"===M?(C=Math.PI/2-m)>Math.PI/2?C-=Math.PI:C<-Math.PI/2&&(C+=Math.PI):"number"==typeof M&&(C=M*Math.PI/180),p.attr("rotation",C)},u._initEvents=function(t,e,n,i){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var r=this,o=function(){r.onEmphasis(i)},a=function(){r.onNormal()};n.isAnimationEnabled()&&t.on("mouseover",o).on("mouseout",a).on("emphasis",o).on("normal",a).on("downplay",(function(){r.onDownplay()})).on("highlight",(function(){r.onHighlight()}))},i.inherits(l,r.Group);var c=l;t.exports=c},function(t,e,n){var i=n(1),r=n(95);i.registerAction({type:"sunburstRootToNode",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){var i=r.retrieveTargetInfo(t,["sunburstRootToNode"],e);if(i){var o=e.getViewRoot();o&&(t.direction=r.aboveViewRoot(o,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}}))}));i.registerAction({type:"sunburstHighlight",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){var i=r.retrieveTargetInfo(t,["sunburstHighlight"],e);i&&(t.highlight=i.node)}))}));i.registerAction({type:"sunburstUnhighlight",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){t.unhighlight=!0}))}))},function(t,e,n){var i=n(3).parsePercent,r=n(0),o=Math.PI/180;function a(t,e){var n=t.children||[];t.children=function(t,e){if("function"==typeof e)return t.sort(e);var n="asc"===e;return t.sort((function(t,e){var i=(t.getValue()-e.getValue())*(n?1:-1);return 0===i?(t.dataIndex-e.dataIndex)*(n?-1:1):i}))}(n,e),n.length&&r.each(t.children,(function(t){a(t,e)}))}t.exports=function(t,e,n,s){e.eachSeriesByType(t,(function(t){var e=t.get("center"),s=t.get("radius");r.isArray(s)||(s=[0,s]),r.isArray(e)||(e=[e,e]);var l=n.getWidth(),u=n.getHeight(),c=Math.min(l,u),h=i(e[0],l),d=i(e[1],u),f=i(s[0],c/2),p=i(s[1],c/2),g=-t.get("startAngle")*o,m=t.get("minAngle")*o,v=t.getData().tree.root,y=t.getViewRoot(),x=y.depth,_=t.get("sort");null!=_&&a(y,_);var b=0;r.each(y.children,(function(t){!isNaN(t.getValue())&&b++}));var w=y.getValue(),S=Math.PI/(w||b)*2,M=y.depth>0,C=y.height-(M?-1:1),T=(p-f)/(C||1),I=t.get("clockwise"),A=t.get("stillShowZeroSum"),D=I?1:-1,k=function(t,e){if(t){var n=e;if(t!==v){var o=t.getValue(),a=0===w&&A?S:o*S;ao[1]&&o.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:o[1],r0:o[0]},api:{coord:i.bind((function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a})),size:i.bind(r,t)}}}},function(t,e){t.exports=function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}},function(t,e,n){n(159),n(373),n(163)},function(t,e,n){var i=n(1),r=n(0),o=n(656);n(267),n(662),n(664),n(163),n(666),i.registerLayout(r.curry(o,"bar")),i.extendComponentView({type:"polar"})},function(t,e,n){var i=n(0),r=n(3).parsePercent,o=n(53).isDimensionStacked;function a(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function s(t,e){return e.dim+t.model.componentIndex}var l=function(t,e,n){var l={},u=function(t,e){var n={};i.each(t,(function(t,e){var i=t.getData(),o=t.coordinateSystem,l=o.getBaseAxis(),u=s(o,l),c=l.getExtent(),h="category"===l.type?l.getBandWidth():Math.abs(c[1]-c[0])/i.count(),d=n[u]||{bandWidth:h,remainedWidth:h,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},f=d.stacks;n[u]=d;var p=a(t);f[p]||d.autoWidthCount++,f[p]=f[p]||{width:0,maxWidth:0};var g=r(t.get("barWidth"),h),m=r(t.get("barMaxWidth"),h),v=t.get("barGap"),y=t.get("barCategoryGap");g&&!f[p].width&&(g=Math.min(d.remainedWidth,g),f[p].width=g,d.remainedWidth-=g),m&&(f[p].maxWidth=m),null!=v&&(d.gap=v),null!=y&&(d.categoryGap=y)}));var o={};return i.each(n,(function(t,e){o[e]={};var n=t.stacks,a=t.bandWidth,s=r(t.categoryGap,a),l=r(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),i.each(n,(function(t,e){var n=t.maxWidth;n&&n=0?"p":"n",P=S;if(b&&(l[c][L]||(l[c][L]={p:S,n:S}),P=l[c][L][O]),"radius"===p.dim){var E=p.dataToRadius(k)-S,N=i.dataToAngle(L);Math.abs(E)a;)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}}};var a=o;t.exports=a},function(t,e,n){var i=n(0),r=n(75);function o(t,e){r.call(this,"radius",t,e),this.type="category"}o.prototype={constructor:o,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToRadius:r.prototype.dataToCoord,radiusToData:r.prototype.coordToData},i.inherits(o,r);var a=o;t.exports=a},function(t,e,n){var i=n(0),r=n(37),o=n(75),a=(0,n(5).makeInner)();function s(t,e){e=e||[0,360],o.call(this,"angle",t,e),this.type="category"}s.prototype={constructor:s,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToAngle:o.prototype.dataToCoord,angleToData:o.prototype.coordToData,calculateCategoryInterval:function(){var t=this.getLabelModel(),e=this.scale,n=e.getExtent(),i=e.count();if(n[1]-n[0]<1)return 0;var o=n[0],s=this.dataToCoord(o+1)-this.dataToCoord(o),l=Math.abs(s),u=r.getBoundingRect(o,t.getFont(),"center","top"),c=Math.max(u.height,7)/l;isNaN(c)&&(c=1/0);var h=Math.max(0,Math.floor(c)),d=a(this.model),f=d.lastAutoInterval,p=d.lastTickCount;return null!=f&&null!=p&&Math.abs(f-h)<=1&&Math.abs(p-i)<=1&&f>h?h=f:(d.lastTickCount=i,d.lastAutoInterval=h),h}},i.inherits(s,o);var l=s;t.exports=l},function(t,e,n){var i=n(1);n(661);var r=i.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});t.exports=r},function(t,e,n){var i=n(0),r=n(24),o=n(191),a=n(111),s=r.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});i.merge(s.prototype,a);var l={splitNumber:5};function u(t,e){return e.type||(e.data?"category":"value")}o("angle",s,u,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),o("radius",s,u,l)},function(t,e,n){n(267),n(663)},function(t,e,n){var i=n(0),r=n(2),o=n(21),a=n(94),s=n(76),l=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function u(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function c(t){return t.getRadiusAxis().inverse?0:1}function h(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var d=a.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,r=n.polar,o=r.getRadiusAxis().getExtent(),a=n.getTicksCoords(),s=n.getMinorTicksCoords(),u=i.map(n.getViewLabels(),(function(t){return(t=i.clone(t)).coord=n.dataToCoord(t.tickValue),t}));h(u),h(a),i.each(l,(function(e){!t.get(e+".show")||n.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,r,a,s,o,u)}),this)}},_axisLine:function(t,e,n,i,o){var a,s=t.getModel("axisLine.lineStyle"),l=c(e),u=l?0:1;(a=0===o[u]?new r.Circle({shape:{cx:e.cx,cy:e.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new r.Ring({shape:{cx:e.cx,cy:e.cy,r:o[l],r0:o[u]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,this.group.add(a)},_axisTick:function(t,e,n,o,a){var s=t.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),h=a[c(e)],d=i.map(n,(function(t){return new r.Line({shape:u(e,[h,h+l],t.coord)})}));this.group.add(r.mergePath(d,{style:i.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_minorTick:function(t,e,n,o,a){if(o.length){for(var s=t.getModel("axisTick"),l=t.getModel("minorTick"),h=(s.get("inside")?-1:1)*l.get("length"),d=a[c(e)],f=[],p=0;pv?"left":"right",_=Math.abs(m[1]-y)/g<.3?"middle":m[1]>y?"top":"bottom";h&&h[u]&&h[u].textStyle&&(a=new o(h[u].textStyle,d,d.ecModel));var b=new r.Text({silent:s.isLabelSilent(t)});this.group.add(b),r.setTextStyle(b.style,a,{x:m[0],y:m[1],textFill:a.getTextColor()||t.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:x,textVerticalAlign:_}),p&&(b.eventData=s.makeAxisEventDataBase(t),b.eventData.targetType="axisLabel",b.eventData.value=n.rawLabel)}),this)},_splitLine:function(t,e,n,o,a){var s=t.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),c=0;l=l instanceof Array?l:[l];for(var h=[],d=0;dx?"left":"right",f=Math.abs(h[1]-_)/y<.3?"middle":h[1]>_?"top":"bottom"}return{position:h,align:d,verticalAlign:f}}(e,n,0,f,r.get("label.margin"));a.buildLabelElOption(t,n,r,u,y)}});var h={line:function(t,e,n,i,r){return"angle"===t.dim?{type:"Line",shape:a.makeLineShape(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i,r){var o=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:a.makeSectorShape(e.cx,e.cy,i[0],i[1],(-n-o/2)*s,(o/2-n)*s)}:{type:"Sector",shape:a.makeSectorShape(e.cx,e.cy,n-o/2,n+o/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c);var d=c;t.exports=d},function(t,e,n){var i=n(1),r=n(0);function o(t,e){e.update="updateView",i.registerAction(e,(function(e,n){var i={};return n.eachComponent({mainType:"geo",query:e},(function(n){n[t](e.name);var o=n.coordinateSystem;r.each(o.regions,(function(t){i[t.name]=n.isSelected(t.name)||!1}))})),{selected:i,name:e.name}}))}n(668),n(259),n(669),n(355),o("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),o("select",{type:"geoSelect",event:"geoselected"}),o("unSelect",{type:"geoUnSelect",event:"geounselected"})},function(t,e,n){var i=n(0),r=n(5),o=n(24),a=n(21),s=n(256),l=n(259),u=o.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){o.prototype.init.apply(this,arguments),r.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var t=this.option,e=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=i.reduce(t.regions||[],(function(t,n){return n.name&&t.set(n.name,new a(n,e)),t}),i.createHashMap()),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new a(null,this,this.ecModel)},getFormattedLabel:function(t,e){e=e||"normal";var n=this.getRegionModel(t).get(("normal"===e?"":e+".")+"label.formatter"),i={name:t};return"function"==typeof n?(i.status=e,n(i)):"string"==typeof n?n.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});i.mixin(u,s);var c=u;t.exports=c},function(t,e,n){var i=n(353),r=n(1).extendComponentView({type:"geo",init:function(t,e){var n=new i(e,!0);this._mapDraw=n,this.group.add(n.group)},render:function(t,e,n,i){if(!i||"geoToggleSelect"!==i.type||i.from!==this.uid){var r=this._mapDraw;t.get("show")?r.draw(t,e,n,this,i):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});t.exports=r},function(t,e,n){n(671),n(672),n(673)},function(t,e,n){var i=n(0),r=n(10),o=n(3),a=n(45);function s(t,e,n){this._model=t}function l(t,e,n,i){var r=n.calendarModel,o=n.seriesModel,a=r?r.coordinateSystem:o?o.coordinateSystem:null;return a===this?a[t](i):null}s.prototype={constructor:s,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(t){var e=(t=o.parseDate(t)).getFullYear(),n=t.getMonth()+1;n=n<10?"0"+n:n;var i=t.getDate();i=i<10?"0"+i:i;var r=t.getDay();return{y:e,m:n,d:i,day:r=Math.abs((r+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+n+"-"+i,date:t}},getNextNDay:function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},update:function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,o=["width","height"],a=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[n,7]:[7,n];i.each([0,1],(function(t){h(a,t)&&(s[o[t]]=a[t]*l[t])}));var u={width:e.getWidth(),height:e.getHeight()},c=this._rect=r.getLayoutRect(s,u);function h(t,e){return null!=t[e]&&"auto"!==t[e]}i.each([0,1],(function(t){h(a,t)||(a[t]=c[o[t]]/l[t])})),this._sw=a[0],this._sh=a[1]},dataToPoint:function(t,e){i.isArray(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),r=this._rangeInfo,o=n.formatedDate;if(e&&!(n.time>=r.start.time&&n.timea.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var n=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,i=new Date(t[0].time),r=i.getDate(),o=t[1].date.getDate();i.setDate(r+n-1);var a=i.getDate();if(a!==o)for(var s=i.getTime()-t[1].time>0?1:-1;(a=i.getDate())!==o&&(i.getTime()-t[1].time)*s>0;)n-=s,i.setDate(a-s);var l=Math.floor((n+t[0].day+6)/7),u=e?1-l:l-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:l,nthWeek:u,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return!1;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(i.start.d+r),this.getDateInfo(o)}},s.dimensions=s.prototype.dimensions,s.getDimensionsInfo=s.prototype.getDimensionsInfo,s.create=function(t,e){var n=[];return t.eachComponent("calendar",(function(i){var r=new s(i,t,e);n.push(r),i.coordinateSystem=r})),t.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])})),n},a.register("calendar",s);var u=s;t.exports=u},function(t,e,n){var i=n(0),r=n(24),o=n(10),a=o.getLayoutParams,s=o.sizeCalculable,l=o.mergeLayoutParam,u=r.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(t,e,n,i){var r=a(t);u.superApply(this,"init",arguments),c(t,r)},mergeOption:function(t,e){u.superApply(this,"mergeOption",arguments),c(this.option,t)}});function c(t,e){var n=t.cellSize;i.isArray(n)?1===n.length&&(n[1]=n[0]):n=t.cellSize=[n,n];var r=i.map([0,1],(function(t){return s(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));l(t,e,{type:"box",ignoreSize:r})}var h=u;t.exports=h},function(t,e,n){var i=n(1),r=n(0),o=n(2),a=n(11),s=n(3),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},c=i.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,a,i),this._renderWeekText(t,o,a,i)},_renderDayRect:function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),a=i.getCellWidth(),s=i.getCellHeight(),l=e.start.time;l<=e.end.time;l=i.getNextNDay(l,1).time){var u=i.dataToRect([l],!1).tl,c=new o.Rect({shape:{x:u[0],y:u[1],width:a,height:s},cursor:"default",style:r});n.add(c)}},_renderLines:function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){d(u.formatedDate),0===c&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=o.getDateInfo(h)}function d(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}d(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},_getEdgesPoints:function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},_drawSplitline:function(t,e,n){var i=new o.Polyline({z2:20,shape:{points:t},style:e});n.add(i)},_getLinePointsOfOneWeek:function(t,e,n){var i=t.coordinateSystem;e=i.getDateInfo(e);for(var r=[],o=0;o<7;o++){var a=i.getNextNDay(e.time,o),s=i.dataToRect([a.time],!1);r[2*a.day]=s.tl,r[2*a.day+1]=s["horizontal"===n?"bl":"tr"]}return r},_formatterLabel:function(t,e){return"string"==typeof t&&t?a.formatTplSimple(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,n,i,r){e=e.slice();var o=["center","bottom"];"bottom"===i?(e[1]+=r,o=["center","top"]):"left"===i?e[0]-=r:"right"===i?(e[0]+=r,o=["center","top"]):e[1]-=r;var a=0;return"left"!==i&&"right"!==i||(a=Math.PI/2),{rotation:a,position:e,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var a=r.get("margin"),s=r.get("position");s||(s="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,h="horizontal"===n?0:1,d={top:[u,l[h][1]],bottom:[u,l[1-h][1]],left:[l[1-h][0],c],right:[l[h][0],c]},f=e.start.y;+e.end.y>+e.start.y&&(f=f+"-"+e.end.y);var p=r.get("formatter"),g={start:e.start.y,end:e.end.y,nameMap:f},m=this._formatterLabel(p,g),v=new o.Text({z2:30});o.setTextStyle(v.style,r,{text:m}),v.attr(this._yearTextPositionControl(v,d[s],n,s,a)),i.add(v)}},_monthTextPositionControl:function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,textAlign:o,textVerticalAlign:a}},_renderMonthText:function(t,e,n){var i=t.getModel("monthLabel");if(i.get("show")){var a=i.get("nameMap"),s=i.get("margin"),u=i.get("position"),c=i.get("align"),h=[this._tlpoints,this._blpoints];r.isString(a)&&(a=l[a.toUpperCase()]||[]);var d="start"===u?0:1,f="horizontal"===e?0:1;s="start"===u?-s:s;for(var p="center"===c,g=0;g=0;h--)null==a[h]?a.splice(h,1):delete a[h].$action},_flatten:function(t,e,n){r.each(t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;"group"===t.type&&i&&this._flatten(i,e,t),delete t.children}}),this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function h(t,e,n,i){var r=n.type,o=new(u.hasOwnProperty(r)?u[r]:a.getShapeClass(r))(n);e.add(o),i.set(t,o),o.__ecGraphicId=t}function d(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse((function(t){d(t,e)})),e.removeKey(t.__ecGraphicId),n.remove(t))}function f(t,e){var n;return r.each(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}i.extendComponentView({type:"graphic",init:function(t,e){this._elMap=r.createHashMap(),this._lastGraphicModel},render:function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},_updateElements:function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,i=this.group;r.each(e,(function(e){var o=e.$action,a=e.id,l=n.get(a),u=e.parentId,c=null!=u?n.get(u):i,f=e.style;"text"===e.type&&f&&(e.hv&&e.hv[1]&&(f.textVerticalAlign=f.textBaseline=null),!f.hasOwnProperty("textFill")&&f.fill&&(f.textFill=f.fill),!f.hasOwnProperty("textStroke")&&f.stroke&&(f.textStroke=f.stroke));var p=function(t){return t=r.extend({},t),r.each(["id","parentId","$action","hv","bounding"].concat(s.LOCATION_PARAMS),(function(e){delete t[e]})),t}(e);o&&"merge"!==o?"replace"===o?(d(l,n),h(a,c,p,n)):"remove"===o&&d(l,n):l?l.attr(p):h(a,c,p,n);var g=n.get(a);g&&(g.__ecGraphicWidthOption=e.width,g.__ecGraphicHeightOption=e.height,function(t,e,n){var i=t.eventData;t.silent||t.ignore||i||(i=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name});i&&(i.info=t.info)}(g,t))}))}},_relocate:function(t,e){for(var n=t.option.elements,i=this.group,r=this._elMap,o=e.getWidth(),a=e.getHeight(),u=0;u=0;u--){var d;c=n[u];if(d=r.get(c.id)){var f,p=(f=d.parent)===i?{width:o,height:a}:{width:f.__ecGraphicWidth,height:f.__ecGraphicHeight};s.positionElement(d,c,p,null,{hv:c.hv,boundingMode:c.bounding})}}},_clear:function(){var t=this._elMap;t.each((function(e){d(e,t)})),this._elMap=r.createHashMap()},dispose:function(){this._clear()}})},function(t,e,n){n(676),n(677),n(678),n(679),n(680),n(681),n(686)},function(t,e,n){var i=n(1),r=n(0),o=n(77),a=i.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){a.superApply(this,"optionUpdated",arguments),r.each(this.option.feature,(function(t,e){var n=o.get(e);n&&r.merge(t,n.defaultOption)}))},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),s=a;t.exports=s},function(t,e,n){var i=n(1),r=n(0),o=n(37),a=n(77),s=n(2),l=n(21),u=n(92),c=n(374),h=i.extendComponentView({type:"toolbox",render:function(t,e,n,i){var h=this.group;if(h.removeAll(),t.get("show")){var d=+t.get("itemSize"),f=t.get("feature")||{},p=this._features||(this._features={}),g=[];r.each(f,(function(t,e){g.push(e)})),new u(this._featureNames||[],g).add(m).update(m).remove(r.curry(m,null)).execute(),this._featureNames=g,c.layout(h,t,n),h.add(c.makeBackground(h.getBoundingRect(),t)),h.eachChild((function(t){var e=t.__title,i=t.hoverStyle;if(i&&e){var r=o.getBoundingRect(e,o.makeFont(i)),a=t.position[0]+h.position[0],s=!1;t.position[1]+h.position[1]+d+r.height>n.getHeight()&&(i.textPosition="top",s=!0);var l=s?-5-r.height:d+8;a+r.width/2>n.getWidth()?(i.textPosition=["100%",l],i.textAlign="right"):a-r.width/2<0&&(i.textPosition=[0,l],i.textAlign="left")}}))}function m(o,u){var c,m=g[o],v=g[u],y=f[m],x=new l(y,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===m&&(y.title=i.newTitle),m&&!v){if(function(t){return 0===t.indexOf("my")}(m))c={model:x,onclick:x.option.onclick,featureName:m};else{var _=a.get(m);if(!_)return;c=new _(x,e,n)}p[m]=c}else{if(!(c=p[v]))return;c.model=x,c.ecModel=e,c.api=n}m||!v?x.get("show")&&!c.unusable?(!function(i,o,a){var l=i.getModel("iconStyle"),u=i.getModel("emphasis.iconStyle"),c=o.getIcons?o.getIcons():i.get("icon"),f=i.get("title")||{};if("string"==typeof c){var p=c,g=f;f={},(c={})[a]=p,f[a]=g}var m=i.iconPaths={};r.each(c,(function(a,c){var p=s.createIcon(a,{},{x:-d/2,y:-d/2,width:d,height:d});p.setStyle(l.getItemStyle()),p.hoverStyle=u.getItemStyle(),p.setStyle({text:f[c],textAlign:u.get("textAlign"),textBorderRadius:u.get("textBorderRadius"),textPadding:u.get("textPadding"),textFill:null});var g=t.getModel("tooltip");g&&g.get("show")&&p.attr("tooltip",r.extend({content:f[c],formatter:g.get("formatter",!0)||function(){return f[c]},formatterParams:{componentType:"toolbox",name:c,title:f[c],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),s.setHoverStyle(p),t.get("showTitle")&&(p.__title=f[c],p.on("mouseover",(function(){var e=u.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";p.setStyle({textFill:u.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:u.get("textBackgroundColor"),textPosition:u.get("textPosition")||n})})).on("mouseout",(function(){p.setStyle({textFill:null,textBackgroundColor:null})}))),p.trigger(i.get("iconStatus."+c)||"normal"),h.add(p),p.on("click",r.bind(o.onclick,o,e,n,c)),m[c]=p}))}(x,c,m),x.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&i[t].trigger(e)},c.render&&c.render(x,e,n,i)):c.remove&&c.remove(e,n):c.dispose&&c.dispose(e,n)}},updateView:function(t,e,n,i){r.each(this._features,(function(t){t.updateView&&t.updateView(t.model,e,n,i)}))},remove:function(t,e){r.each(this._features,(function(n){n.remove&&n.remove(t,e)})),this.group.removeAll()},dispose:function(t,e){r.each(this._features,(function(n){n.dispose&&n.dispose(t,e)}))}});t.exports=h},function(t,e,n){var i=n(20),r=n(74),o=n(77),a=r.toolbox.saveAsImage;function s(t){this.model=t}s.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:a.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:a.lang.slice()},s.prototype.unusable=!i.canvasSupported,s.prototype.onclick=function(t,e){var n=this.model,r=n.get("name")||t.get("title.0.text")||"echarts",o="svg"===e.getZr().painter.getType()?"svg":n.get("type",!0)||"png",a=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!=typeof MouseEvent||i.browser.ie||i.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var s=atob(a.split(",")[1]),l=s.length,u=new Uint8Array(l);l--;)u[l]=s.charCodeAt(l);var c=new Blob([u]);window.navigator.msSaveOrOpenBlob(c,r+"."+o)}else{var h=n.get("lang"),d='';window.open().document.write(d)}else{var f=document.createElement("a");f.download=r+"."+o,f.target="_blank",f.href=a;var p=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});f.dispatchEvent(p)}},o.register("saveAsImage",s);var l=s;t.exports=l},function(t,e,n){var i=n(1),r=n(0),o=n(74),a=n(77),s=o.toolbox.magicType;function l(t){this.model=t}l.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:r.clone(s.title),option:{},seriesIndex:{}};var u=l.prototype;u.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return r.each(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n};var c={line:function(t,e,n,i){if("bar"===t)return r.merge({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.line")||{},!0)},bar:function(t,e,n,i){if("line"===t)return r.merge({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.bar")||{},!0)},stack:function(t,e,n,i){var o="__ec_magicType_stack__"===n.get("stack");if("line"===t||"bar"===t)return i.setIconStatus("stack",o?"normal":"emphasis"),r.merge({id:e,stack:o?"":"__ec_magicType_stack__"},i.get("option.stack")||{},!0)}},h=[["line","bar"],["stack"]];u.onclick=function(t,e,n){var i=this.model,o=i.get("seriesIndex."+n);if(c[n]){var a,l={series:[]};if(r.each(h,(function(t){r.indexOf(t,n)>=0&&r.each(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},(function(e){var o=e.subType,a=e.id,s=c[n](o,a,e,i);s&&(r.defaults(s,e.option),l.series.push(s));var u=e.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===n||"bar"===n)){var h=u.getAxesByScale("ordinal")[0];if(h){var d=h.dim+"Axis",f=t.queryComponents({mainType:d,index:e.get(name+"Index"),id:e.get(name+"Id")})[0].componentIndex;l[d]=l[d]||[];for(var p=0;p<=f;p++)l[d][f]=l[d][f]||{};l[d][f].boundaryGap="bar"===n}}})),"stack"===n)a=l.series&&l.series[0]&&"__ec_magicType_stack__"===l.series[0].stack?r.merge({stack:s.title.tiled},s.title):r.clone(s.title);e.dispatchAction({type:"changeMagicType",currentType:n,newOption:l,newTitle:a,featureName:"magicType"})}},i.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)})),a.register("magicType",l);var d=l;t.exports=d},function(t,e,n){var i=n(1),r=n(0),o=n(50),a=n(74),s=n(77),l=a.toolbox.dataView,u=new Array(60).join("-");function c(t){return r.map(t,(function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,r=arguments[t-1],o=e.getName(r),a=0;a=0)return!0}(t)){var o=function(t){for(var e=t.split(/\n+/g),n=h(e.shift()).split(d),i=[],o=r.map(n,(function(t){return{name:t,data:[]}})),a=0;a1?"emphasis":"normal")}(t,e)},p.onclick=function(t,e,n){g[n].call(this)},p.remove=function(t,e){this._brushController.unmount()},p.dispose=function(t,e){this._brushController.dispose()};var g={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function m(t){var e={};return r.each(["xAxisIndex","yAxisIndex"],(function(n){e[n]=t[n],null==e[n]&&(e[n]="all"),(!1===e[n]||"none"===e[n])&&(e[n]=[])})),e}p._onBrush=function(t,e){if(e.isEnd&&t.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new a(m(this.model.option),i,{include:["grid"]}).matchOutputRanges(t,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),s.push(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),u=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(r=l(0,r.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},p._dispatchZoomAction=function(t){var e=[];d(t,(function(t,n){e.push(r.clone(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},c.register("dataZoom",f),i.registerPreprocessor((function(t){if(t){var e=t.dataZoom||(t.dataZoom=[]);r.isArray(e)||(t.dataZoom=e=[e]);var n=t.toolbox;if(n&&(r.isArray(n)&&(n=n[0]),n&&n.feature)){var i=n.feature.dataZoom;o("xAxis",i),o("yAxis",i)}}function o(n,i){if(i){var o=n+"Index",a=i[o];null==a||"all"===a||r.isArray(a)||(a=!1===a||"none"===a?[]:[a]),function(e,n){var i=t[e];r.isArray(i)||(i=i?[i]:[]);d(i,n)}(n,(function(t,s){if(null==a||"all"===a||-1!==r.indexOf(a,s)){var l={type:"select",$fromToolbox:!0,filterMode:i.filterMode||"filter",id:"\0_ec_\0toolbox-dataZoom_"+n+s};l[o]=s,e.push(l)}}))}}}));var v=f;t.exports=v},function(t,e,n){n(268),n(115),n(116),n(684),n(685),n(270),n(271)},function(t,e,n){var i=n(0),r=n(3),o=n(269),a=n(114),s=i.each,l=r.asc,u=function(t,e,n,i){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=i,this._dataZoomModel=n};function c(t,e){var n=t.getAxisModel(),i=t._percentWindow,o=t._valueWindow;if(i){var a=r.getPixelPrecision(o,[0,500]);a=Math.min(a,20);var s=e||0===i[0]&&100===i[1];n.setRange(s?null:+o[0].toFixed(a),s?null:+o[1].toFixed(a))}}u.prototype={constructor:u,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this.ecModel;return e.eachSeries((function(n){if(o.isCoordSupported(n.get("coordinateSystem"))){var i=this._dimName,r=e.queryComponents({mainType:i+"Axis",index:n.get(i+"AxisIndex"),id:n.get(i+"AxisId")})[0];this._axisIndex===(r&&r.componentIndex)&&t.push(n)}}),this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,n,i=this._dimName,r=this.ecModel,o=this.getAxisModel();return"x"===i||"y"===i?(e="gridIndex",t="x"===i?"y":"x"):(e="polarIndex",t="angle"===i?"radius":"angle"),r.eachComponent(t+"Axis",(function(t){(t.get(e)||0)===(o.get(e)||0)&&(n=t)})),n},getMinMaxSpan:function(){return i.clone(this._minMaxSpan)},calculateDataWindow:function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,o=this._dataZoomModel.getRangePropMode(),u=[0,100],c=[],h=[];s(["start","end"],(function(a,s){var l=t[a],d=t[a+"Value"];"percent"===o[s]?(null==l&&(l=u[s]),d=i.parse(r.linearMap(l,u,n))):(e=!0,d=null==d?n[s]:i.parse(d),l=r.linearMap(d,n,u)),h[s]=d,c[s]=l})),l(h),l(c);var d=this._minMaxSpan;function f(t,e,n,o,s){var l=s?"Span":"ValueSpan";a(0,t,n,"all",d["min"+l],d["max"+l]);for(var u=0;u<2;u++)e[u]=r.linearMap(t[u],n,o,!0),s&&(e[u]=i.parse(e[u]))}return e?f(h,c,n,u,!1):f(c,h,u,n,!0),{valueWindow:h,percentWindow:c}},reset:function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];s(n,(function(t){var n=t.getData();n&&s(n.mapDimension(e,!0),(function(t){var e=n.getApproximateExtent(t);e[0]i[1]&&(i[1]=e[1])}))})),i[1]0?0:NaN);var a=n.getMax(!0);null!=a&&"dataMax"!==a&&"function"!=typeof a?e[1]=a:r&&(e[1]=o>0?o-1:NaN);n.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0))}(t,i),i}(this,this._dimName,e),function(t){var e=t._minMaxSpan={},n=t._dataZoomModel,i=t._dataExtent;s(["min","max"],(function(o){var a=n.get(o+"Span"),s=n.get(o+"ValueSpan");null!=s&&(s=t.getAxisModel().axis.scale.parse(s)),null!=s?a=r.linearMap(i[0]+s,i,[0,100],!0):null!=a&&(s=r.linearMap(a,[0,100],i,!0)-i[0]),e[o+"Span"]=a,e[o+"ValueSpan"]=s}))}(this);var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,c(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,c(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&s(i,(function(t){var e=t.getData(),i=e.mapDimension(n,!0);i.length&&("weakFilter"===r?e.filterSelf((function(t){for(var n,r,a,s=0;so[1];if(u&&!c&&!h)return!0;u&&(a=!0),c&&(n=!0),h&&(r=!0)}return a&&n&&r})):s(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}})),s(i,(function(t){e.setApproximateExtent(o,t)})))}))}}};var h=u;t.exports=h},function(t,e,n){var i=n(115).extend({type:"dataZoom.select"});t.exports=i},function(t,e,n){var i=n(116).extend({type:"dataZoom.select"});t.exports=i},function(t,e,n){var i=n(1),r=n(376),o=n(74),a=n(77),s=o.toolbox.restore;function l(t){this.model=t}l.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:s.title},l.prototype.onclick=function(t,e,n){r.clear(t),e.dispatchAction({type:"restore",from:this.uid})},a.register("restore",l),i.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var u=l;t.exports=u},function(t,e,n){var i=n(1).extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});t.exports=i},function(t,e,n){var i=n(1),r=n(0),o=n(20),a=n(689),s=n(690),l=n(11),u=n(3),c=n(2),h=n(371),d=n(10),f=n(21),p=n(372),g=n(46),m=n(197),v=n(5).getTooltipRenderMode,y=r.bind,x=r.each,_=u.parsePercent,b=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}}),w=i.extendComponentView({type:"tooltip",init:function(t,e){if(!o.node){var n,i=t.getComponent("tooltip"),r=i.get("renderMode");this._renderMode=v(r),"html"===this._renderMode?(n=new a(e.getDom(),e,{appendToBody:i.get("appendToBody",!0)}),this._newLine="
"):(n=new s(e),this._newLine="\n"),this._tooltipContent=n}},render:function(t,e,n){if(!o.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel.get("triggerOn");p.register("itemTooltip",this._api,y((function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY})}))}},manuallyShowTip:function(t,e,n,i){if(i.from!==this.uid&&!o.node){var r=M(i,n);this._ticket="";var a=i.dataByCoordSys;if(i.tooltip&&null!=i.x&&null!=i.y){var s=b;s.position=[i.x,i.y],s.update(),s.tooltip=i.tooltip,this._tryShow({offsetX:i.x,offsetY:i.y,target:s},r)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:i.dataByCoordSys,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var l=h(i,e),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:i.position,target:l.el},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},manuallyHideTip:function(t,e,n,i){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,i.from!==this.uid&&this._hide(M(i,n))},_manuallyAxisShowTip:function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s)if("axis"===(t=S([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model,t])).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},_tryShow:function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;i&&i.length?this._showAxisTooltip(i,t):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,n,e)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,n,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var n=t.get("showDelay");e=r.bind(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},_showAxisTooltip:function(t,e){var n=this._ecModel,i=this._tooltipModel,o=[e.offsetX,e.offsetY],a=[],s=[],u=S([e.tooltipOption,i]),c=this._renderMode,h=this._newLine,d={};x(t,(function(t){x(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value,o=[];if(e&&null!=i){var u=m.getValueLabel(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt);r.each(t.seriesDataIndices,(function(a){var l=n.getSeriesByIndex(a.seriesIndex),h=a.dataIndexInside,f=l&&l.getDataParams(h);if(f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=g.getAxisRawValue(e.axis,i),f.axisValueLabel=u,f){s.push(f);var p,m=l.formatTooltip(h,!0,null,c);if(r.isObject(m)){p=m.html;var v=m.markers;r.merge(d,v)}else p=m;o.push(p)}}));var f=u;"html"!==c?a.push(o.join(h)):a.push((f?l.encodeHTML(f)+h:"")+o.join(h))}}))}),this),a.reverse(),a=a.join(this._newLine+this._newLine);var f=e.position;this._showOrMove(u,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,f,o[0],o[1],this._tooltipContent,s):this._showTooltipContent(u,a,s,Math.random(),o[0],o[1],f,void 0,d)}))},_showSeriesItemTooltip:function(t,e,n){var i=this._ecModel,o=e.seriesIndex,a=i.getSeriesByIndex(o),s=e.dataModel||a,l=e.dataIndex,u=e.dataType,c=s.getData(u),h=S([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),d=h.get("trigger");if(null==d||"item"===d){var f,p,g=s.getDataParams(l,u),m=s.formatTooltip(l,!1,u,this._renderMode);r.isObject(m)?(f=m.html,p=m.markers):(f=m,p=null);var v="item_"+s.name+"_"+l;this._showOrMove(h,(function(){this._showTooltipContent(h,f,g,v,t.offsetX,t.offsetY,t.position,t.target,p)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(t,e,n){var i=e.tooltip;if("string"==typeof i){i={content:i,formatter:i}}var r=new f(i,this._tooltipModel,this._ecModel),o=r.get("content"),a=Math.random();this._showOrMove(r,(function(){this._showTooltipContent(r,o,r.get("formatterParams")||{},a,t.offsetX,t.offsetY,t.position,e)})),n({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,n,i,r,o,a,s,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent,h=t.get("formatter");a=a||t.get("position");var d=e;if(h&&"string"==typeof h)d=l.formatTpl(h,n,!0);else if("function"==typeof h){var f=y((function(e,i){e===this._ticket&&(c.setContent(i,u,t),this._updatePosition(t,a,r,o,c,n,s))}),this);this._ticket=i,d=h(n,i,f)}c.setContent(d,u,t),c.show(t),this._updatePosition(t,a,r,o,c,n,s)}},_updatePosition:function(t,e,n,i,o,a,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=o.getSize(),h=t.get("align"),f=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"==typeof e&&(e=e([n,i],a,o.el,p,{viewSize:[l,u],contentSize:c.slice()})),r.isArray(e))n=_(e[0],l),i=_(e[1],u);else if(r.isObject(e)){e.width=c[0],e.height=c[1];var g=d.getLayoutRect(e,{width:l,height:u});n=g.x,i=g.y,h=null,f=null}else if("string"==typeof e&&s){var m=function(t,e,n){var i=n[0],r=n[1],o=0,a=0,s=e.width,l=e.height;switch(t){case"inside":o=e.x+s/2-i/2,a=e.y+l/2-r/2;break;case"top":o=e.x+s/2-i/2,a=e.y-r-5;break;case"bottom":o=e.x+s/2-i/2,a=e.y+l+5;break;case"left":o=e.x-i-5,a=e.y+l/2-r/2;break;case"right":o=e.x+s+5,a=e.y+l/2-r/2}return[o,a]}(e,p,c);n=m[0],i=m[1]}else{m=function(t,e,n,i,r,o,a){var s=n.getOuterSize(),l=s.width,u=s.height;null!=o&&(t+l+o>i?t-=l+o:t+=o);null!=a&&(e+u+a>r?e-=u+a:e+=a);return[t,e]}(n,i,o,l,u,h?null:20,f?null:20);n=m[0],i=m[1]}if(h&&(n-=C(h)?c[0]/2:"right"===h?c[0]:0),f&&(i-=C(f)?c[1]/2:"bottom"===f?c[1]:0),t.get("confine")){m=function(t,e,n,i,r){var o=n.getOuterSize(),a=o.width,s=o.height;return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,o,l,u);n=m[0],i=m[1]}o.moveTo(n,i)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&x(e,(function(e,i){var r=e.dataByAxis||{},o=(t[i]||{}).dataByAxis||[];(n&=r.length===o.length)&&x(r,(function(t,e){var i=o[e]||{},r=t.seriesDataIndices||[],a=i.seriesDataIndices||[];(n&=t.value===i.value&&t.axisType===i.axisType&&t.axisId===i.axisId&&r.length===a.length)&&x(r,(function(t,e){var i=a[e];n&=t.seriesIndex===i.seriesIndex&&t.dataIndex===i.dataIndex}))}))})),this._lastDataByCoordSys=t,!!n},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){o.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",e))}});function S(t){for(var e=t.pop();t.length;){var n=t.pop();n&&(f.isInstance(n)&&(n=n.get("tooltip",!0)),"string"==typeof n&&(n={formatter:n}),e=new f(n,e,e.ecModel))}return e}function M(t,e){return t.dispatchAction||r.bind(e.dispatchAction,e)}function C(t){return"center"===t||"middle"===t}t.exports=w},function(t,e,n){var i=n(0),r=n(51),o=n(50),a=n(308),s=n(20),l=n(11),u=i.each,c=l.toCamelCase,h=["","-webkit-","-moz-","-o-"];function d(t){var e,n,o=[],a=t.get("transitionDuration"),d=t.get("backgroundColor"),f=t.getModel("textStyle"),p=t.get("padding");return a&&o.push((n="left "+(e=a)+"s cubic-bezier(0.23, 1, 0.32, 1),top "+e+"s cubic-bezier(0.23, 1, 0.32, 1)",i.map(h,(function(t){return t+"transition:"+n})).join(";"))),d&&(s.canvasSupported?o.push("background-Color:"+d):(o.push("background-Color:#"+r.toHex(d)),o.push("filter:alpha(opacity=70)"))),u(["width","color","radius"],(function(e){var n="border-"+e,i=c(n),r=t.get(i);null!=r&&o.push(n+":"+r+("color"===e?"":"px"))})),o.push(function(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont());var r=t.get("lineHeight");null==r&&(r=Math.round(3*n/2)),n&&e.push("line-height:"+r+"px");var o=t.get("textShadowColor"),a=t.get("textShadowBlur")||0,s=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return a&&e.push("text-shadow:"+s+"px "+l+"px "+a+"px "+o),u(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}(f)),null!=p&&o.push("padding:"+l.normalizeCssArray(p).join("px ")+"px"),o.join(";")+";"}function f(t,e,n,i,r){var o=e&&e.painter;if(n){var s=o&&o.getViewportRoot();s&&a.transformLocalCoord(t,s,document.body,i,r)}else{t[0]=i,t[1]=r;var l=o&&o.getViewportRootOffset();l&&(t[0]+=l.offsetLeft,t[1]+=l.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function p(t,e,n){if(s.wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var r=this._zr=e.getZr(),a=this._appendToBody=n&&n.appendToBody;this._styleCoord=[0,0,0,0],f(this._styleCoord,r,a,e.getWidth()/2,e.getHeight()/2),a?document.body.appendChild(i):t.appendChild(i),this._container=t,this._show=!1,this._hideTimeout;var l=this;i.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},i.onmousemove=function(t){if(t=t||window.event,!l._enterable){var e=r.handler,n=r.painter.getViewportRoot();o.normalizeEvent(n,t,!0),e.dispatch("mousemove",t)}},i.onmouseleave=function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}}p.prototype={constructor:p,_enterable:!0,update:function(t){var e=this._container,n=e.currentStyle||document.defaultView.getComputedStyle(e),i=e.style;"absolute"!==i.position&&"absolute"!==n.position&&(i.position="relative"),t.get("alwaysShowContent")&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],n=t*this._zr.getWidth(),i=e*this._zr.getHeight();this.moveTo(n,i)},show:function(t){clearTimeout(this._hideTimeout);var e=this.el,n=this._styleCoord;e.style.cssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+d(t)+";left:"+n[0]+"px;top:"+n[1]+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var n=this._styleCoord;f(n,this._zr,this._appendToBody,t,e);var i=this.el.style;i.left=n[0]+"px",i.top=n[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(i.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(t+=parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),e+=parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:t,height:e}}};var g=p;t.exports=g},function(t,e,n){var i=n(0),r=n(90),o=n(2);function a(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function s(t){var e=this._zr=t.getZr();this._styleCoord=[0,0,0,0],a(this._styleCoord,e,t.getWidth()/2,t.getHeight()/2),this._show=!1,this._hideTimeout}s.prototype={constructor:s,_enterable:!0,update:function(t){t.get("alwaysShowContent")&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],n=t*this._zr.getWidth(),i=e*this._zr.getHeight();this.moveTo(n,i)},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,e,n){this.el&&this._zr.remove(this.el);for(var i={},a=t,s=a.indexOf("{marker");s>=0;){var l=a.indexOf("|}"),u=a.substr(s+"{marker".length,l-s-"{marker".length);u.indexOf("sub")>-1?i["marker"+u]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[u],textOffset:[3,0]}:i["marker"+u]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[u]},s=(a=a.substr(l+1)).indexOf("{marker")}var c=n.getModel("textStyle"),h=c.get("fontSize"),d=n.get("textLineHeight");null==d&&(d=Math.round(3*h/2)),this.el=new r({style:o.setTextStyle({},c,{rich:i,text:t,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding"),textLineHeight:d}),z:n.get("z")}),this._zr.add(this.el);var f=this;this.el.on("mouseover",(function(){f._enterable&&(clearTimeout(f._hideTimeout),f._show=!0),f._inContent=!0})),this.el.on("mouseout",(function(){f._enterable&&f._show&&f.hideLater(f._hideDelay),f._inContent=!1}))},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){if(this.el){var n=this._styleCoord;a(n,this._zr,t,e),this.el.attr("position",[n[0],n[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(i.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var l=s;t.exports=l},function(t,e,n){var i=n(1),r=n(692);n(377),n(694),n(695),n(696),n(697),i.registerPreprocessor(r)},function(t,e,n){var i=n(0),r=["rect","polygon","keep","clear"];t.exports=function(t,e){var n=t&&t.brush;if(i.isArray(n)||(n=n?[n]:[]),n.length){var o=[];i.each(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(o=o.concat(e))}));var a=t&&t.toolbox;i.isArray(a)&&(a=a[0]),a||(a={feature:{}},t.toolbox=[a]);var s,l,u=a.feature||(a.feature={}),c=u.brush||(u.brush={}),h=c.type||(c.type=[]);h.push.apply(h,o),s=h,l={},i.each(s,(function(t){l[t]=1})),s.length=0,i.each(l,(function(t,e){s.push(e)})),e&&!h.length&&h.push.apply(h,r)}}},function(t,e,n){var i=n(341),r=n(16),o=n(2).linePolygonIntersect;function a(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return s(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,l=[i[e[t]],i[e[t]]+i[n[t]]];return l[1]=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t=this.option,e=t.data||[],n=t.axisType,r=this._names=[];if("category"===n){var s=[];i.each(e,(function(t,e){var n,o=a.getDataItemValue(t);i.isObject(t)?(n=i.clone(t)).value=e:n=e,s.push(n),i.isString(o)||null!=o&&!isNaN(o)||(o=""),r.push(o+"")})),e=s}var l={category:"ordinal",time:"time"}[n]||"number";(this._data=new o([{name:"value",type:l}],this)).initData(e,r)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;t.exports=l},function(t,e,n){var i=n(0),r=n(16),o=n(32),a=n(2),s=n(10),l=n(706),u=n(707),c=n(41).createSymbol,h=n(46),d=n(3),f=n(11).encodeHTML,p=i.bind,g=i.each,m=Math.PI,v=l.extend({type:"timeline.slider",init:function(t,e){this.api=e,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(t,e,n,i){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var r=this._layout(t,n),o=this._createGroup("mainGroup"),a=this._createGroup("labelGroup"),s=this._axis=this._createAxis(r,t);t.formatTooltip=function(t){return f(s.scale.getLabel(t))},g(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](r,o,s,t)}),this),this._renderAxisLabel(r,a,s,t),this._position(r,t)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(t,e){var n=t.get("label.position"),i=t.get("orient"),r=function(t,e){return s.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e);null==n||"auto"===n?n="horizontal"===i?r.y+r.height/2=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:m/2},f="vertical"===i?r.height:r.width,p=t.getModel("controlStyle"),g=p.get("show",!0),v=g?p.get("itemSize"):0,y=g?p.get("itemGap"):0,x=v+y,_=t.get("label.rotate")||0;_=_*m/180;var b=p.get("position",!0),w=g&&p.get("showPlayBtn",!0),S=g&&p.get("showPrevBtn",!0),M=g&&p.get("showNextBtn",!0),C=0,T=f;return"left"===b||"bottom"===b?(w&&(o=[0,0],C+=x),S&&(a=[C,0],C+=x),M&&(l=[T-v,0],T-=x)):(w&&(o=[T-v,0],T-=x),S&&(a=[0,0],C+=x),M&&(l=[T-v,0],T-=x)),u=[C,T],t.get("inverse")&&u.reverse(),{viewRect:r,mainLength:f,orient:i,rotation:d[i],labelRotation:_,labelPosOpt:n,labelAlign:t.get("label.align")||c[i],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||h[i],playPosition:o,prevBtnPosition:a,nextBtnPosition:l,axisExtent:u,controlSize:v,controlGap:y}},_position:function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var a=o.create(),s=r.x,l=r.y+r.height;o.translate(a,a,[-s,-l]),o.rotate(a,a,-m/2),o.translate(a,a,[s,l]),(r=r.clone()).applyTransform(a)}var u=y(r),c=y(n.getBoundingRect()),h=y(i.getBoundingRect()),d=n.position,f=i.position;f[0]=d[0]=u[0][0];var p,g=t.labelPosOpt;isNaN(g)?(x(d,c,u,1,p="+"===g?0:1),x(f,h,u,1,1-p)):(x(d,c,u,1,p=g>=0?0:1),f[1]=d[1]+g);function v(t){var e=t.position;t.origin=[u[0][0]-e[0],u[1][0]-e[1]]}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function x(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.attr("position",d),i.attr("position",f),n.rotation=i.rotation=t.rotation,v(n),v(i)},_createAxis:function(t,e){var n=e.getData(),i=e.get("axisType"),r=h.createScaleByModel(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return t}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.niceTicks();var a=new u("value",r,t.axisExtent,i);return a.model=e,a},_createGroup:function(t){var e=this["_"+t]=new a.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,n,r){var o=n.getExtent();r.get("lineStyle.show")&&e.add(new a.Line({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:i.extend({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,n,i){var r=i.getData(),o=n.scale.getTicks();g(o,(function(t){var o=n.dataToCoord(t),s=r.getItemModel(t),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[o,0],onclick:p(this._changeTimeline,this,t)},h=y(s,l,e,c);a.setHoverStyle(h,u.getItemStyle()),s.get("tooltip")?(h.dataIndex=t,h.dataModel=i):h.dataIndex=h.dataModel=null}),this)},_renderAxisLabel:function(t,e,n,i){if(n.getLabelModel().get("show")){var r=i.getData(),o=n.getViewLabels();g(o,(function(i){var o=i.tickValue,s=r.getItemModel(o),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=n.dataToCoord(i.tickValue),h=new a.Text({position:[c,0],rotation:t.labelRotation-t.rotation,onclick:p(this._changeTimeline,this,o),silent:!1});a.setTextStyle(h.style,l,{text:i.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(h),a.setHoverStyle(h,a.setTextStyle({},u))}),this)}},_renderControl:function(t,e,n,i){var o=t.controlSize,s=t.rotation,l=i.getModel("controlStyle").getItemStyle(),u=i.getModel("emphasis.controlStyle").getItemStyle(),c=[0,-o/2,o,o],h=i.getPlayState(),d=i.get("inverse",!0);function f(t,n,h,d){if(t){var f=function(t,e,n,i){var o=i.style,s=a.createIcon(t.get(e),i||{},new r(n[0],n[1],n[2],n[3]));o&&s.setStyle(o);return s}(i,n,c,{position:t,origin:[o/2,0],rotation:d?-s:0,rectHover:!0,style:l,onclick:h});e.add(f),a.setHoverStyle(f,u)}}f(t.nextBtnPosition,"controlStyle.nextIcon",p(this._changeTimeline,this,d?"-":"+")),f(t.prevBtnPosition,"controlStyle.prevIcon",p(this._changeTimeline,this,d?"+":"-")),f(t.playPosition,"controlStyle."+(h?"stopIcon":"playIcon"),p(this._handlePlayClick,this,!h),!0)},_renderCurrentPointer:function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=p(s._handlePointerDrag,s),t.ondragend=p(s._handlePointerDragend,s),x(t,o,n,i,!0)},onUpdate:function(t){x(t,o,n,i)}};this._currentPointer=y(a,a,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var n=this._toAxisCoord(t)[0],i=this._axis,r=d.asc(i.getExtent().slice());n>r[1]&&(n=r[1]),n=0&&"number"==typeof c&&(c=+c.toFixed(Math.min(v,20))),g.coord[f]=m.coord[f]=c,r=[g,m,{type:s,valueIndex:r.valueIndex,value:c}]}return(r=[a.dataTransform(t,r[0]),a.dataTransform(t,r[1]),i.extend({},r[2])])[2].type=r[2].type||"",i.merge(r[2],r[0]),i.merge(r[2],r[1]),r};function h(t){return!isNaN(t)&&!isFinite(t)}function d(t,e,n,i){var r=1-t,o=i.dimensions[t];return h(e[r])&&h(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function f(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(d(1,n,i,t)||d(0,n,i,t)))return!0}return a.dataFilter(t,e[0])&&a.dataFilter(t,e[1])}function p(t,e,n,i,r){var a,s=i.coordinateSystem,l=t.getItemModel(e),u=o.parsePercent(l.get("x"),r.getWidth()),c=o.parsePercent(l.get("y"),r.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)a=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=s.dimensions,f=t.get(d[0],e),p=t.get(d[1],e);a=s.dataToPoint([f,p])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");d=s.dimensions;h(t.get(d[0],e))?a[0]=g.toGlobalCoord(g.getExtent()[n?0:1]):h(t.get(d[1],e))&&(a[1]=m.toGlobalCoord(m.getExtent()[n?0:1]))}isNaN(u)||(a[0]=u),isNaN(c)||(a[1]=c)}else a=[u,c];t.setItemLayout(e,a)}var g=l.extend({type:"markLine",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markLineModel;if(e){var i=e.getData(),r=e.__from,o=e.__to;r.each((function(e){p(r,e,!0,t,n),p(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},renderSeries:function(t,e,n,o){var l=t.coordinateSystem,u=t.id,h=t.getData(),d=this.markerGroupMap,g=d.get(u)||d.set(u,new s);this.group.add(g.group);var m=function(t,e,n){var o;o=t?i.map(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return i.defaults({name:t},n)})):[{name:"value",type:"float"}];var s=new r(o,n),l=new r(o,n),u=new r([],n),h=i.map(n.get("data"),i.curry(c,e,t,n));t&&(h=i.filter(h,i.curry(f,t)));var d=t?a.dimValueGetter:function(t){return t.value};return s.initData(i.map(h,(function(t){return t[0]})),null,d),l.initData(i.map(h,(function(t){return t[1]})),null,d),u.initData(i.map(h,(function(t){return t[2]}))),u.hasItemOption=!0,{from:s,to:l,line:u}}(l,t,e),v=m.from,y=m.to,x=m.line;e.__from=v,e.__to=y,e.setData(x);var _=e.get("symbol"),b=e.get("symbolSize");function w(e,n,i){var r=e.getItemModel(n);p(e,n,i,t,o),e.setItemVisual(n,{symbolRotate:r.get("symbolRotate"),symbolSize:r.get("symbolSize")||b[i?0:1],symbol:r.get("symbol",!0)||_[i?0:1],color:r.get("itemStyle.color")||h.getVisual("color")})}i.isArray(_)||(_=[_,_]),"number"==typeof b&&(b=[b,b]),m.from.each((function(t){w(v,t,!0),w(y,t,!1)})),x.each((function(t){var e=x.getItemModel(t).get("lineStyle.color");x.setItemVisual(t,{color:e||v.getItemVisual(t,"color")}),x.setItemLayout(t,[v.getItemLayout(t),y.getItemLayout(t)]),x.setItemVisual(t,{fromSymbolRotate:v.getItemVisual(t,"symbolRotate"),fromSymbolSize:v.getItemVisual(t,"symbolSize"),fromSymbol:v.getItemVisual(t,"symbol"),toSymbolRotate:y.getItemVisual(t,"symbolRotate"),toSymbolSize:y.getItemVisual(t,"symbolSize"),toSymbol:y.getItemVisual(t,"symbol")})})),g.updateData(x),m.line.eachItemGraphicEl((function(t,n){t.traverse((function(t){t.dataModel=e}))})),g.__keep=!0,g.group.silent=e.get("silent")||t.get("silent")}});t.exports=g},function(t,e,n){var i=n(1);n(715),n(716),i.registerPreprocessor((function(t){t.markArea=t.markArea||{}}))},function(t,e,n){var i=n(272).extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});t.exports=i},function(t,e,n){var i=n(0),r=n(51),o=n(40),a=n(3),s=n(2),l=n(273),u=n(274),c=function(t,e,n,r){var o=l.dataTransform(t,r[0]),a=l.dataTransform(t,r[1]),s=i.retrieve,u=o.coord,c=a.coord;u[0]=s(u[0],-1/0),u[1]=s(u[1],-1/0),c[0]=s(c[0],1/0),c[1]=s(c[1],1/0);var h=i.mergeAll([{},o,a]);return h.coord=[o.coord,a.coord],h.x0=o.x,h.y0=o.y,h.x1=a.x,h.y1=a.y,h};function h(t){return!isNaN(t)&&!isFinite(t)}function d(t,e,n,i){var r=1-t;return h(e[r])&&h(n[r])}function f(t,e){var n=e.coord[0],i=e.coord[1];return!("cartesian2d"!==t.type||!n||!i||!d(1,n,i)&&!d(0,n,i))||(l.dataFilter(t,{coord:n,x:e.x0,y:e.y0})||l.dataFilter(t,{coord:i,x:e.x1,y:e.y1}))}function p(t,e,n,i,r){var o,s=i.coordinateSystem,l=t.getItemModel(e),u=a.parsePercent(l.get(n[0]),r.getWidth()),c=a.parsePercent(l.get(n[1]),r.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(n,e));else{var d=[g=t.get(n[0],e),m=t.get(n[1],e)];s.clampData&&s.clampData(d,d),o=s.dataToPoint(d,!0)}if("cartesian2d"===s.type){var f=s.getAxis("x"),p=s.getAxis("y"),g=t.get(n[0],e),m=t.get(n[1],e);h(g)?o[0]=f.toGlobalCoord(f.getExtent()["x0"===n[0]?0:1]):h(m)&&(o[1]=p.toGlobalCoord(p.getExtent()["y0"===n[1]?0:1]))}isNaN(u)||(o[0]=u),isNaN(c)||(o[1]=c)}else o=[u,c];return o}var g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];u.extend({type:"markArea",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markAreaModel;if(e){var r=e.getData();r.each((function(e){var o=i.map(g,(function(i){return p(r,e,i,t,n)}));r.setItemLayout(e,o),r.getItemGraphicEl(e).setShape("points",o)}))}}),this)},renderSeries:function(t,e,n,a){var l=t.coordinateSystem,u=t.id,d=t.getData(),m=this.markerGroupMap,v=m.get(u)||m.set(u,{group:new s.Group});this.group.add(v.group),v.__keep=!0;var y=function(t,e,n){var r,a;t?(r=i.map(t&&t.dimensions,(function(t){var n=e.getData(),r=n.getDimensionInfo(n.mapDimension(t))||{};return i.defaults({name:t},r)})),a=new o(i.map(["x0","y0","x1","y1"],(function(t,e){return{name:t,type:r[e%2].type}})),n)):a=new o(r=[{name:"value",type:"float"}],n);var s=i.map(n.get("data"),i.curry(c,e,t,n));t&&(s=i.filter(s,i.curry(f,t)));var l=t?function(t,e,n,i){return t.coord[Math.floor(i/2)][i%2]}:function(t){return t.value};return a.initData(s,null,l),a.hasItemOption=!0,a}(l,t,e);e.setData(y),y.each((function(e){var n=i.map(g,(function(n){return p(y,e,n,t,a)})),r=!0;i.each(g,(function(t){if(r){var n=y.get(t[0],e),i=y.get(t[1],e);(h(n)||l.getAxis("x").containData(n))&&(h(i)||l.getAxis("y").containData(i))&&(r=!1)}})),y.setItemLayout(e,{points:n,allClipped:r}),y.setItemVisual(e,{color:d.getVisual("color")})})),y.diff(v.__data).add((function(t){var e=y.getItemLayout(t);if(!e.allClipped){var n=new s.Polygon({shape:{points:e.points}});y.setItemGraphicEl(t,n),v.group.add(n)}})).update((function(t,n){var i=v.__data.getItemGraphicEl(n),r=y.getItemLayout(t);r.allClipped?i&&v.group.remove(i):(i?s.updateProps(i,{shape:{points:r.points}},e,t):i=new s.Polygon({shape:{points:r.points}}),y.setItemGraphicEl(t,i),v.group.add(i))})).remove((function(t){var e=v.__data.getItemGraphicEl(t);v.group.remove(e)})).execute(),y.eachItemGraphicEl((function(t,n){var o=y.getItemModel(n),a=o.getModel("label"),l=o.getModel("emphasis.label"),u=y.getItemVisual(n,"color");t.useStyle(i.defaults(o.getModel("itemStyle").getItemStyle(),{fill:r.modifyAlpha(u,.4),stroke:u})),t.hoverStyle=o.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(t.style,t.hoverStyle,a,l,{labelFetcher:e,labelDataIndex:n,defaultText:y.getName(n)||"",isRectText:!0,autoColor:u}),s.setHoverStyle(t,{}),t.dataModel=e})),v.__data=y,v.group.silent=e.get("silent")||t.get("silent")}})},function(t,e,n){n(97),n(720),n(721),n(722)},function(t,e,n){var i=n(1),r=n(0);function o(t,e,n){var i,o={},a="toggleSelected"===t;return n.eachComponent("legend",(function(n){a&&null!=i?n[i?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),i=n.isSelected(e.name));var s=n.getData();r.each(s,(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);o.hasOwnProperty(e)?o[e]=o[e]&&i:o[e]=i}}))})),"allSelect"===t||"inverseSelect"===t?{selected:o}:{name:e.name,selected:o}}i.registerAction("legendToggleSelect","legendselectchanged",r.curry(o,"toggleSelected")),i.registerAction("legendAllSelect","legendselectall",r.curry(o,"allSelect")),i.registerAction("legendInverseSelect","legendinverseselect",r.curry(o,"inverseSelect")),i.registerAction("legendSelect","legendselected",r.curry(o,"select")),i.registerAction("legendUnSelect","legendunselected",r.curry(o,"unSelect"))},function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;nn[s],m=[-f.x,-f.y];e||(m[a]=c.position[a]);var v=[0,0],y=[-p.x,-p.y],x=i.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));g&&("end"===t.get("pageButtonPosition",!0)?y[a]+=n[s]-p[s]:v[a]+=p[s]+x);y[1-a]+=f[l]/2-p[l]/2,c.attr("position",m),h.attr("position",v),d.attr("position",y);var _={x:0,y:0};if(_[s]=g?n[s]:f[s],_[l]=Math.max(f[l],p[l]),_[u]=Math.min(0,p[u]+y[1-a]),h.__rectSize=n[s],g){var b={x:0,y:0};b[s]=Math.max(n[s]-p[s]-x,0),b[l]=_[l],h.setClipPath(new r.Rect({shape:b})),h.__rectSize=b[s]}else d.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var w=this._getPageInfo(t);return null!=w.pageIndex&&r.updateProps(c,{position:w.contentPosition},!!g&&t),this._updatePageInfoView(t,w),_},_pageGo:function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},_updatePageInfoView:function(t,e){var n=this._controllerGroup;i.each(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var r=n.childOfName("pageText"),o=t.get("pageFormatter"),a=e.pageIndex,s=null!=a?a+1:0,l=e.pageCount;r&&o&&r.setStyle("text",i.isString(o)?o.replace("{current}",s).replace("{total}",l):o({current:s,total:l}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=l[r],a=u[r],s=this._findTargetItemIndex(e),c=n.children(),h=c[s],d=c.length,f=d?1:0,p={contentPosition:n.position.slice(),pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var g=_(h);p.contentPosition[r]=-g.s;for(var m=s+1,v=g,y=g,x=null;m<=d;++m)(!(x=_(c[m]))&&y.e>v.s+i||x&&!b(x,v.s))&&(v=y.i>v.i?y:x)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=v.i),++p.pageCount),y=x;for(m=s-1,v=g,y=g,x=null;m>=-1;--m)(x=_(c[m]))&&b(y,x.s)||!(v.i=e&&t.s<=e+i}},_findTargetItemIndex:function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n}}),h=c;t.exports=h},function(t,e,n){n(1).registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))},function(t,e,n){n(380),n(381)},function(t,e,n){var i=n(115).extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}});t.exports=i},function(t,e,n){var i=n(0),r=n(50),o=n(2),a=n(73),s=n(116),l=n(3),u=n(10),c=n(114),h=o.Rect,d=l.linearMap,f=l.asc,p=i.bind,g=i.each,m=["line","bar","candlestick","scatter"],v=s.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,n,i){v.superApply(this,"render",arguments),a.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){v.superApply(this,"remove",arguments),a.clear(this,"_dispatchZoomAction")},dispose:function(){v.superApply(this,"dispose",arguments),a.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new o.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,n=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o="horizontal"===this._orient?{right:r.width-n.x-n.width,top:r.height-30-7,width:n.width,height:30}:{right:7,top:n.y,width:30,height:n.height},a=u.getLayoutParams(t.option);i.each(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=u.getLayoutRect(a,r,t.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.barGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr("horizontal"!==n||r?"horizontal"===n&&r?{scale:a?[-1,1]:[-1,-1]}:"vertical"!==n||r?{scale:a?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:a?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:a?[1,1]:[1,-1]});var s=t.getBoundingRect([o]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.barGroup;n.add(new h({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),n.add(new h({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:i.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,n=t.series,r=n.getRawData(),a=n.getShadowDim?n.getShadowDim():t.otherDim;if(null!=a){var s=r.getDataExtent(a),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,e[1]],h=[0,e[0]],f=[[e[0],0],[0,0]],p=[],g=h[1]/(r.count()-1),m=0,v=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(v>0&&e%v)m+=g;else{var n=null==t||isNaN(t)||""===t,i=n?0:d(t,s,c,!0);n&&!u&&e?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!n&&u&&(f.push([m,0]),p.push([m,0])),f.push([m,i]),p.push([m,i]),m+=g,u=n}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new o.Polygon({shape:{points:f},style:i.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new o.Polyline({shape:{points:p},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,r=this.ecModel;return t.eachTargetAxis((function(o,a){var s=t.getAxisProxy(o.name,a).getTargetSeriesModels();i.each(s,(function(t){if(!(n||!0!==e&&i.indexOf(m,t.get("type"))<0)){var s,l=r.getComponent(o.axis,a).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[o.name],c=t.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=t.getData().mapDimension(u),n={thisAxis:l,series:t,thisDim:o.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),n}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],n=t.handleLabels=[],i=this._displayables.barGroup,r=this._size,a=this.dataZoomModel;i.add(t.filler=new h({draggable:!0,cursor:y(this._orient),drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:a.get("fillerColor"),textPosition:"inside"}})),i.add(new h({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),g([0,1],(function(t){var r=o.createIcon(a.get("handleIcon"),{cursor:y(this._orient),draggable:!0,drift:p(this._onDragMove,this,t),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=r.getBoundingRect();this._handleHeight=l.parsePercent(a.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,r.setStyle(a.getModel("handleStyle").getItemStyle());var u=a.get("handleColor");null!=u&&(r.style.fill=u),i.add(e[t]=r);var c=a.textStyleModel;this.group.add(n[t]=new o.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))}),this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[d(t[0],[0,100],e,!0),d(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];c(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?d(o.minSpan,a,r,!0):null,null!=o.maxSpan?d(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=f([d(i[0],r,a,!0),d(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var e=this._displayables,n=this._handleEnds,i=f(n.slice()),r=this._size;g([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scale:[o/2,o/2],position:[n[t],r[1]/2-o/2]})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,a=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();a=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var h=f(this._handleEnds.slice());function d(t){var e=o.getTransform(n.handles[t].parent,this.group),s=o.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+5,u=o.applyTransform([h[t]+(0===t?-l:l),this._size[1]/2],e);i[t].setStyle({x:u[0],y:u[1],textVerticalAlign:"horizontal"===r?"middle":s,textAlign:"horizontal"===r?s:"center",text:a[t]})}d.call(this,0),d.call(this,1)},_formatLabel:function(t,e){var n=this.dataZoomModel,r=n.get("labelFormatter"),o=n.get("labelPrecision");null!=o&&"auto"!==o||(o=e.getPixelPrecision());var a=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(o,20));return i.isFunction(r)?r(t,a):i.isString(r)?r.replace("{value}",a):a},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,n,i){this._dragging=!0,r.stop(i.event);var a=this._displayables.barGroup.getLocalTransform(),s=o.applyTransform([e,n],a,!0),l=this._updateInterval(t,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,n=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),(function(e){if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}})),!t){var e=this.api.getWidth(),n=this.api.getHeight();t={x:.2*e,y:.2*n,width:.6*e,height:.6*n}}return t}});function y(t){return"vertical"===t?"ns-resize":"ew-resize"}var x=v;t.exports=x},function(t,e,n){var i=n(115).extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});t.exports=i},function(t,e,n){var i=n(0),r=n(116),o=n(114),a=n(728),s=i.bind,l=r.extend({type:"dataZoom.inside",init:function(t,e){this._range},render:function(t,e,n,r){l.superApply(this,"render",arguments),this._range=t.getPercentRange(),i.each(this.getTargetCoordInfo(),(function(e,r){var o=i.map(e,(function(t){return a.generateCoordId(t.model)}));i.each(e,(function(e){var l=e.model,c={};i.each(["pan","zoom","scrollMove"],(function(t){c[t]=s(u[t],this,e,r)}),this),a.register(n,{coordId:a.generateCoordId(l),allCoordIds:o,containsPoint:function(t,e,n){return l.coordinateSystem.containPoint([e,n])},dataZoomId:t.id,dataZoomModel:t,getRange:c})}),this)}),this)},dispose:function(){a.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null}}),u={zoom:function(t,e,n,i){var r=this._range,a=r.slice(),s=t.axisModels[0];if(s){var l=h[e](null,[i.originX,i.originY],s,n,t),u=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(a[1]-a[0])+a[0],c=Math.max(1/i.scale,0);a[0]=(a[0]-u)*c+u,a[1]=(a[1]-u)*c+u;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return o(0,a,[0,100],0,d.minSpan,d.maxSpan),this._range=a,r[0]!==a[0]||r[1]!==a[1]?a:void 0}},pan:c((function(t,e,n,i,r,o){var a=h[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:c((function(t,e,n,i,r,o){return h[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function c(t){return function(e,n,i,r){var a=this._range,s=a.slice(),l=e.axisModels[0];if(l){var u=t(s,l,e,n,i,r);return o(u,s,[0,100],"all"),this._range=s,a[0]!==s[0]||a[1]!==s[1]?s:void 0}}}var h={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},d=l;t.exports=d},function(t,e,n){var i=n(0),r=n(162),o=n(73),a="\0_ec_dataZoom_roams";function s(t){var e=t.getZr();return e[a]||(e[a]={})}function l(t){i.each(t,(function(e,n){e.count||(e.controller.dispose(),delete t[n])}))}function u(t,e){t.dispatchAction({type:"dataZoom",batch:e})}e.register=function(t,e){var n=s(t),a=e.dataZoomId,c=e.coordId;i.each(n,(function(t,n){var r=t.dataZoomInfos;r[a]&&i.indexOf(e.allCoordIds,c)<0&&(delete r[a],t.count--)})),l(n);var h=n[c];h||((h=n[c]={coordId:c,dataZoomInfos:{},count:0}).controller=function(t,e){var n=new r(t.getZr());return i.each(["pan","zoom","scrollMove"],(function(t){n.on(t,(function(n){var r=[];i.each(e.dataZoomInfos,(function(i){if(n.isAvailableBehavior(i.dataZoomModel.option)){var o=(i.getRange||{})[t],a=o&&o(e.controller,n);!i.dataZoomModel.get("disabled",!0)&&a&&r.push({dataZoomId:i.dataZoomId,start:a[0],end:a[1]})}})),r.length&&e.dispatchAction(r)}))})),n}(t,h),h.dispatchAction=i.curry(u,t)),!h.dataZoomInfos[a]&&h.count++,h.dataZoomInfos[a]=e;var d,f,p,g,m=(d=h.dataZoomInfos,p={type_true:2,type_move:1,type_false:0,type_undefined:-1},g=!0,i.each(d,(function(t){var e=t.dataZoomModel,n=!e.get("disabled",!0)&&(!e.get("zoomLock",!0)||"move");p["type_"+n]>p["type_"+f]&&(f=n),g&=e.get("preventDefaultMouseMove",!0)})),{controlType:f,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!g}});h.controller.enable(m.controlType,m.opt),h.controller.setPointerChecker(e.containsPoint),o.createOrUpdate(h,"dispatchAction",e.dataZoomModel.get("throttle",!0),"fixRate")},e.unregister=function(t,e){var n=s(t);i.each(n,(function(t){t.controller.dispose();var n=t.dataZoomInfos;n[e]&&(delete n[e],t.count--)})),l(n)},e.generateCoordId=function(t){return t.type+"\0_"+t.id}},function(t,e,n){n(382),n(391)},function(t,e,n){var i=n(0),r=n(386),o=n(3),a=[20,140],s=r.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=a[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=a[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):i.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){r.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)}),this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=o.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimension(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},getVisualMeta:function(t){var e=l(this,"outOfRange",this.getExtent()),n=l(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,u=e.length;at[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels;f([0,1],(function(a){var l=r[a];l.setStyle("fill",e.handlesColor[a]),l.position[1]=t[a];var u=s.applyTransform(n.handleLabelPoints[a],s.getTransform(l,this.group));o[a].setStyle({x:u[0],y:u[1],text:i.formatValueText(this._dataInterval[a]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===a?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,l=[0,a[1]],u=d(t,o,l,!0),c=this._shapes,h=c.indicator;if(h){h.position[1]=u,h.attr("invisible",!1),h.setShape("points",function(t,e,n,i){return t?[[0,-p(e,g(n,0))],[6,0],[0,p(e,g(i-n,0))]]:[[0,0],[5,-5],[5,5]]}(!!n,i,u,a[1]));var f=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0});h.setStyle("fill",f);var m=s.applyTransform(c.indicatorLabelPoint,s.getTransform(h,this.group)),v=c.indicatorLabel;v.attr("invisible",!1);var y=this._applyTransform("left",c.barGroup),x=this._orient;v.setStyle({text:(n||"")+r.formatValueText(e),textVerticalAlign:"horizontal"===x?y:"middle",textAlign:"horizontal"===x?"center":y,x:m[0],y:m[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);i[1]=p(g(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],o=n.getExtent();t=p(g(r[0],t),r[1]);var a=function(t,e,n){var i=6,r=t.get("hoverLinkDataSize");r&&(i=d(r,e,n,!0)/2);return i}(n,o,r),s=[t-a,t+a],l=d(t,r,o,!0),u=[d(s[0],r,o,!0),d(s[1],r,o,!0)];s[0]r[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var f=this._hoverLinkDataIndices,m=[];(e||y(n))&&(m=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var v=h.compressBatches(f,m);this._dispatchHighDown("downplay",c.makeHighDownBatch(v[0],n)),this._dispatchHighDown("highlight",c.makeHighDownBatch(v[1],n))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=e.dataIndex){var i=this.ecModel.getSeriesByIndex(e.seriesIndex);if(n.isTargetSeries(i)){var r=i.getData(e.dataType),o=r.get(n.getDataDimension(r),e.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(t,this.visualMapModel)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,n,r){var o=s.getTransform(e,r?null:this.group);return s[i.isArray(t)?"applyTransform":"transformDirection"](t,o,n)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function v(t,e,n,i){return new s.Polygon({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){o.stop(t.event)},ondragend:i})}function y(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function x(t){return"vertical"===t?"ns-resize":"ew-resize"}var _=m;t.exports=_},function(t,e,n){n(9).__DEV__;var i=n(0),r=n(386),o=n(96),a=n(387),s=n(3).reformIntervals,l=r.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(t,e){l.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var n=this._mode=this._determineMode();u[this._mode].call(this),this._resetSelected(t,e);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===n?(t.mappingMethod="category",t.categories=i.clone(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=i.map(this._pieceList,(function(t){t=i.clone(t);return"inRange"!==e&&(t.visual=null),t})))}))},completeVisualOption:function(){var t=this.option,e={},n=o.listVisualTypes(),s=this.isCategory();function l(t,e,n){return t&&t[e]&&(i.isObject(t[e])?t[e].hasOwnProperty(n):t[e]===n)}i.each(t.pieces,(function(t){i.each(n,(function(n){t.hasOwnProperty(n)&&(e[n]=1)}))})),i.each(e,(function(e,n){var r=0;i.each(this.stateList,(function(e){r|=l(t,e,n)||l(t.target,e,n)}),this),!r&&i.each(this.stateList,(function(e){(t[e]||(t[e]={}))[n]=a.get(n,"inRange"===e?"active":"inactive",s)}))}),this),r.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(t,e){var n=this.option,r=this._pieceList,o=(e?n:t).selected||{};if(n.selected=o,i.each(r,(function(t,e){var n=this.getSelectedMapKey(t);o.hasOwnProperty(n)||(o[n]=!0)}),this),"single"===n.selectedMode){var a=!1;i.each(r,(function(t,e){var n=this.getSelectedMapKey(t);o[n]&&(a?o[n]=!1:a=!0)}),this)}},getSelectedMapKey:function(t){return"categories"===this._mode?t.value+"":t.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=i.clone(t)},getValueState:function(t){var e=o.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimension(r),(function(e,n){o.findPieceIndex(e,this._pieceList)===t&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},getVisualMeta:function(t){if(!this.isCategory()){var e=[],n=[],r=this,o=this._pieceList.slice();if(o.length){var a=o[0].interval[0];a!==-1/0&&o.unshift({interval:[-1/0,a]}),(a=o[o.length-1].interval[1])!==1/0&&o.push({interval:[a,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return i.each(o,(function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])}),this),{stops:e,outerColors:n}}function l(i,o){var a=r.getRepresentValue({interval:i});o||(o=r.getValueState(a));var s=t(a,o);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:e.push({value:i[0],color:s},{value:i[1],color:s})}}}),u={splitNumber:function(){var t=this.option,e=this._pieceList,n=Math.min(t.precision,20),r=this.getExtent(),o=t.splitNumber;o=Math.max(parseInt(o,10),1),t.splitNumber=o;for(var a=(r[1]-r[0])/o;+a.toFixed(n)!==a&&n<5;)n++;t.precision=n,a=+a.toFixed(n),t.minOpen&&e.push({interval:[-1/0,r[0]],close:[0,0]});for(var l=0,u=r[0];l","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function c(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var h=l;t.exports=h},function(t,e,n){var i=n(0),r=n(388),o=n(2),a=n(41).createSymbol,s=n(10),l=n(389),u=r.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),r=e.textStyleModel,a=r.getFont(),l=r.getTextColor(),u=this._getItemAlign(),c=e.itemSize,h=this._getViewData(),d=h.endsText,f=i.retrieve(e.get("showLabel",!0),!d);d&&this._renderEndsText(t,d[0],c,f,u),i.each(h.viewPieceList,(function(r){var s=r.piece,h=new o.Group;h.onclick=i.bind(this._onItemClick,this,s),this._enableHoverLink(h,r.indexInModelPieceList);var d=e.getRepresentValue(s);if(this._createItemSymbol(h,d,[0,0,c[0],c[1]]),f){var p=this.visualMapModel.getValueState(d);h.add(new o.Text({style:{x:"right"===u?-n:c[0]+n,y:c[1]/2,text:s.text,textVerticalAlign:"middle",textAlign:u,textFont:a,textFill:l,opacity:"outOfRange"===p?.5:1}}))}t.add(h)}),this),d&&this._renderEndsText(t,d[1],c,f,u),s.box(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(t,e){function n(t){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:t,batch:l.makeHighDownBatch(n.findTargetDataIndices(e),n)})}t.on("mouseover",i.bind(n,this,"highlight")).on("mouseout",i.bind(n,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return l.getItemAlign(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(t,e,n,i,r){if(e){var a=new o.Group,s=this.visualMapModel.textStyleModel;a.add(new o.Text({style:{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:i?r:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(a)}},_getViewData:function(){var t=this.visualMapModel,e=i.map(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),r=t.get("orient"),o=t.get("inverse");return("horizontal"===r?o:!o)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},_createItemSymbol:function(t,e,n){t.add(a(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,n=e.option,r=i.clone(n.selected),o=e.getSelectedMapKey(t);"single"===n.selectedMode?(r[o]=!0,i.each(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}});t.exports=u},function(t,e,n){n(735),(0,n(180).registerPainter)("vml",n(736))},function(t,e,n){var i=n(20),r=n(14).applyTransform,o=n(16),a=n(51),s=n(37),l=n(184),u=n(315),c=n(149),h=n(106),d=n(90),f=n(19),p=n(108),g=n(185),m=n(392),v=p.CMD,y=Math.round,x=Math.sqrt,_=Math.abs,b=Math.cos,w=Math.sin,S=Math.max;if(!i.canvasSupported){var M=21600,C=M/2,T=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=M+","+M,t.coordorigin="0,0"},I=function(t,e,n){return"rgb("+[t,e,n].join(",")+")"},A=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},D=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},k=function(t,e,n){return 1e5*(parseFloat(t)||0)+1e3*(parseFloat(e)||0)+n},L=l.parsePercent,O=function(t,e,n){var i=a.parse(e);n=+n,isNaN(n)&&(n=1),i&&(t.color=I(i[0],i[1],i[2]),t.opacity=n*i[3])},P=function(t,e,n,i){var o="fill"===e,s=t.getElementsByTagName(e)[0];null!=n[e]&&"none"!==n[e]&&(o||!o&&n.lineWidth)?(t[o?"filled":"stroked"]="true",n[e]instanceof g&&D(t,s),s||(s=m.createNode(e)),o?function(t,e,n){var i,o,s=e.fill;if(null!=s)if(s instanceof g){var l,u=0,c=[0,0],h=0,d=1,f=n.getBoundingRect(),p=f.width,m=f.height;if("linear"===s.type){l="gradient";var v=n.transform,y=[s.x*p,s.y*m],x=[s.x2*p,s.y2*m];v&&(r(y,y,v),r(x,x,v));var _=x[0]-y[0],b=x[1]-y[1];(u=180*Math.atan2(_,b)/Math.PI)<0&&(u+=360),u<1e-6&&(u=0)}else{l="gradientradial";y=[s.x*p,s.y*m],v=n.transform;var w=n.scale,C=p,T=m;c=[(y[0]-f.x)/C,(y[1]-f.y)/T],v&&r(y,y,v),C/=w[0]*M,T/=w[1]*M;var A=S(C,T);h=0/A,d=2*s.r/A-h}var D=s.colorStops.slice();D.sort((function(t,e){return t.offset-e.offset}));for(var k=D.length,L=[],P=[],E=0;E=2){var z=L[0][0],V=L[1][0],B=L[0][1]*e.opacity,F=L[1][1]*e.opacity;t.type=l,t.method="none",t.focus="100%",t.angle=u,t.color=z,t.color2=V,t.colors=P.join(","),t.opacity=F,t.opacity2=B}"radial"===l&&(t.focusposition=c.join(","))}else O(t,s,e.opacity)}(s,n,i):function(t,e){e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof g||O(t,e.stroke,e.opacity)}(s,n),A(t,s)):(t[o?"filled":"stroked"]="false",D(t,s))},E=[[],[],[]];f.prototype.brushVML=function(t){var e=this.style,n=this._vmlEl;n||(n=m.createNode("shape"),T(n),this._vmlEl=n),P(n,"fill",e,this),P(n,"stroke",e,this);var i=this.transform,o=null!=i,a=n.getElementsByTagName("stroke")[0];if(a){var s=e.lineWidth;if(o&&!e.strokeNoScale){var l=i[0]*i[3]-i[1]*i[2];s*=x(_(l))}a.weight=s+"px"}var u=this.path||(this.path=new p);this.__dirtyPath&&(u.beginPath(),u.subPixelOptimize=!1,this.buildPath(u,this.shape),u.toStatic(),this.__dirtyPath=!1),n.path=function(t,e){var n,i,o,a,s,l,u=v.M,c=v.C,h=v.L,d=v.A,f=v.Q,p=[],g=t.data,m=t.len();for(a=0;a.01?$&&(H+=.0125):Math.abs(G-z)<1e-4?$&&HR?I-=.0125:I+=.0125:$&&Gz?T+=.0125:T-=.0125),p.push(W,y(((R-V)*O+k)*M-C),",",y(((z-B)*P+L)*M-C),",",y(((R+V)*O+k)*M-C),",",y(((z+B)*P+L)*M-C),",",y((H*O+k)*M-C),",",y((G*P+L)*M-C),",",y((T*O+k)*M-C),",",y((I*P+L)*M-C)),s=T,l=I;break;case v.R:var U=E[0],Z=E[1];U[0]=g[a++],U[1]=g[a++],Z[0]=U[0]+g[a++],Z[1]=U[1]+g[a++],e&&(r(U,U,e),r(Z,Z,e)),U[0]=y(U[0]*M-C),Z[0]=y(Z[0]*M-C),U[1]=y(U[1]*M-C),Z[1]=y(Z[1]*M-C),p.push(" m ",U[0],",",U[1]," l ",Z[0],",",U[1]," l ",Z[0],",",Z[1]," l ",U[0],",",Z[1]);break;case v.Z:p.push(" x ")}if(n>0){p.push(i);for(var Y=0;Y100&&(z=0,R={});var n,i=V.style;try{i.font=t,n=i.fontFamily.split(",")[0]}catch(t){}e={style:i.fontStyle||"normal",variant:i.fontVariant||"normal",weight:i.fontWeight||"normal",size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},R[t]=e,z++}return e}(o.font),b=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';n=n||s.getBoundingRect(a,b,v,x,o.textPadding,o.textLineHeight);var w=this.transform;if(w&&!i&&(B.copy(e),B.applyTransform(w),e=B),i)p=e.x,g=e.y;else{var S=o.textPosition;if(S instanceof Array)p=e.x+L(S[0],e.width),g=e.y+L(S[1],e.height),v=v||"left";else{var M=this.calculateTextPosition?this.calculateTextPosition({},o,e):s.calculateTextPosition({},o,e);p=M.x,g=M.y,v=v||M.textAlign,x=x||M.textVerticalAlign}}p=s.adjustTextX(p,n.width,v),g=s.adjustTextY(g,n.height,x),g+=n.height/2;var C,I,D,O=m.createNode,E=this._textVmlEl;E?I=(C=(D=E.firstChild).nextSibling).nextSibling:(E=O("line"),C=O("path"),I=O("textpath"),D=O("skew"),I.style["v-text-align"]="left",T(E),C.textpathok=!0,I.on=!0,E.from="0 0",E.to="1000 0.05",A(E,D),A(E,C),A(E,I),this._textVmlEl=E);var N=[p,g],F=E.style;w&&i?(r(N,N,w),D.on=!0,D.matrix=w[0].toFixed(3)+","+w[2].toFixed(3)+","+w[1].toFixed(3)+","+w[3].toFixed(3)+",0,0",D.offset=(y(N[0])||0)+","+(y(N[1])||0),D.origin="0 0",F.left="0px",F.top="0px"):(D.on=!1,F.left=y(p)+"px",F.top=y(g)+"px"),I.string=String(a).replace(/&/g,"&").replace(/"/g,""");try{I.style.font=b}catch(t){}P(E,"fill",{fill:o.textFill,opacity:o.opacity},this),P(E,"stroke",{stroke:o.textStroke,opacity:o.opacity,lineDash:o.lineDash||null},this),E.style.zIndex=k(this.zlevel,this.z,this.z2),A(t,E)}},j=function(t){D(t,this._textVmlEl),this._textVmlEl=null},$=function(t){A(t,this._textVmlEl)},H=[u,c,h,f,d],G=0;G=0;--i)if(n[i]===t)return!0;return!1}),e):null:e[0]},resize:function(t,e){var n=this._viewport;n.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var r=n.style;r.width=t+"px",r.height=e+"px";var o=this._svgDom;o.setAttribute("width",t),o.setAttribute("height",e)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",t),this._backgroundNode.setAttribute("height",e))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],i=["clientWidth","clientHeight"][t],r=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[i]||v(s[n])||v(a.style[n]))-(v(s[r])||0)-(v(s[o])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(this._svgDom.outerHTML.replace(/>\n\r<"))}},r.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(t){var e;M.prototype[t]=(e=t,function(){o('In SVG mode painter not support method "'+e+'"')})}));var C=M;t.exports=C},function(t,e){function n(){}function i(t,e,n,i){for(var r=0,o=e.length,a=0,s=0;r=o&&c+1>=a){for(var h=[],d=0;d=o&&d+1>=a)return i(r,l.components,e,t);u[n]=l}else u[n]=void 0}var g;s++}for(;s<=l;){var p=f();if(p)return p}},pushComponent:function(t,e,n){var i=t[t.length-1];i&&i.added===e&&i.removed===n?t[t.length-1]={count:i.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,i){for(var r=e.length,o=n.length,a=t.newPos,s=a-i,l=0;a+1-1){var u=a.parse(l)[3],c=a.toHex(l);s.setAttribute("stop-color","#"+c),s.setAttribute("stop-opacity",u)}else s.setAttribute("stop-color",n[i].color);e.appendChild(s)}t._dom=e},s.prototype.markUsed=function(t){if(t.style){var e=t.style.fill;e&&e._dom&&i.prototype.markUsed.call(this,e._dom),(e=t.style.stroke)&&e._dom&&i.prototype.markUsed.call(this,e._dom)}};var l=s;t.exports=l},function(t,e,n){var i=n(277),r=n(0),o=n(32);function a(t,e){i.call(this,t,e,"clipPath","__clippath_in_use__")}r.inherits(a,i),a.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var n=this.getTextSvgElement(t);n&&this.updateDom(n,t.__clipPaths,!0),this.markUsed(t)},a.prototype.updateDom=function(t,e,n){if(e&&e.length>0){var i,r,a=this.getDefs(!0),s=e[0],l=n?"_textDom":"_dom";s[l]?(r=s[l].getAttribute("id"),i=s[l],a.contains(i)||a.appendChild(i)):(r="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(i=this.createElement("clipPath")).setAttribute("id",r),a.appendChild(i),s[l]=i);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!n){var c=Array.prototype.slice.call(s.transform);o.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var h=this.getSvgElement(s);i.innerHTML="",i.appendChild(h.cloneNode()),t.setAttribute("clip-path","url(#"+r+")"),e.length>1&&this.updateDom(i,e.slice(1),n)}else t&&t.setAttribute("clip-path","none")},a.prototype.markUsed=function(t){var e=this;t.__clipPaths&&r.each(t.__clipPaths,(function(t){t._dom&&i.prototype.markUsed.call(e,t._dom),t._textDom&&i.prototype.markUsed.call(e,t._textDom)}))};var s=a;t.exports=s},function(t,e,n){var i=n(277);function r(t,e){i.call(this,t,e,["filter"],"__filter_in_use__","_shadowDom")}function o(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}n(0).inherits(r,i),r.prototype.addWithoutUpdate=function(t,e){if(e&&o(e.style)){var n;if(e._shadowDom)n=e._shadowDom,this.getDefs(!0).contains(e._shadowDom)||this.addDom(n);else n=this.add(e);this.markUsed(e);var i=n.getAttribute("id");t.style.filter="url(#"+i+")"}},r.prototype.add=function(t){var e=this.createElement("filter");return t._shadowDomId=t._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+t._shadowDomId),this.updateDom(t,e),this.addDom(e),e},r.prototype.update=function(t,e){if(o(e.style)){var n=this;i.prototype.update.call(this,e,(function(){n.updateDom(e,e._shadowDom)}))}else this.remove(t,e)},r.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(t),t.style.filter="")},r.prototype.updateDom=function(t,e){var n=e.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var i,r,o,a,s=t.style,l=t.scale&&t.scale[0]||1,u=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)i=s.shadowOffsetX||0,r=s.shadowOffsetY||0,o=s.shadowBlur,a=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);i=s.textShadowOffsetX||0,r=s.textShadowOffsetY||0,o=s.textShadowBlur,a=s.textShadowColor}n.setAttribute("dx",i/l),n.setAttribute("dy",r/u),n.setAttribute("flood-color",a);var c=o/2/l+" "+o/2/u;n.setAttribute("stdDeviation",c),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(o/2*200)+"%"),e.setAttribute("height",Math.ceil(o/2*200)+"%"),e.appendChild(n),t._shadowDom=e},r.prototype.markUsed=function(t){t._shadowDom&&i.prototype.markUsed.call(this,t._shadowDom)};var a=r;t.exports=a},function(t,e,n){"use strict";n(393)},function(t,e,n){"use strict";n(394)},function(t,e,n){"use strict";n(395)},function(t,e,n){"use strict";n(396)},function(t,e,n){"use strict";n(397)},function(t,e,n){"use strict";n(398)},,,function(t,e,n){},function(t,e,n){"use strict";e.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.isVNode=function(t){return null!==t&&"object"===(void 0===t?"undefined":i(t))&&(0,r.hasOwn)(t,"componentOptions")};var r=n(58)},function(t,e,n){var i=n(31);t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},function(t,e,n){"use strict";var i=n(38),r=n(23),o=n(8),a=n(27),s=o("species");t.exports=function(t){var e=i(t),n=r.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){var i,r,o,a,s=n(6),l=n(7),u=n(134),c=n(199),h=n(118),d=n(792),f=n(419),p=s.setImmediate,g=s.clearImmediate,m=s.process,v=s.MessageChannel,y=s.Dispatch,x=0,_={};try{i=s.location}catch(t){}var b=function(t){if(_.hasOwnProperty(t)){var e=_[t];delete _[t],e()}},w=function(t){return function(){b(t)}},S=function(t){b(t.data)},M=function(t){s.postMessage(String(t),i.protocol+"//"+i.host)};p&&g||(p=function(t){for(var e=[],n=arguments.length,i=1;n>i;)e.push(arguments[i++]);return _[++x]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(x),x},g=function(t){delete _[t]},f?r=function(t){m.nextTick(w(t))}:y&&y.now?r=function(t){y.now(w(t))}:v&&!d?(a=(o=new v).port2,o.port1.onmessage=S,r=u(a.postMessage,a,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts&&i&&"file:"!==i.protocol&&!l(M)?(r=M,s.addEventListener("message",S,!1)):r="onreadystatechange"in h("script")?function(t){c.appendChild(h("script")).onreadystatechange=function(){c.removeChild(this),b(t)}}:function(t){setTimeout(w(t),0)}),t.exports={set:p,clear:g}},function(t,e,n){var i=n(78);t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(i)},function(t,e,n){"use strict";var i=n(70),r=function(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)};t.exports.f=function(t){return new r(t)}},function(t,e,n){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){var i=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},r=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,i){var r=e&&e.prototype instanceof h?e:h,o=Object.create(r.prototype),a=new S(i||[]);return o._invoke=function(t,e,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return C()}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var s=_(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=u(t,e,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===c)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}(t,n,a),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var c={};function h(){}function d(){}function f(){}var p={};s(p,r,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(M([])));m&&m!==e&&n.call(m,r)&&(p=m);var v=f.prototype=h.prototype=Object.create(p);function y(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){var i;this._invoke=function(r,o){function a(){return new e((function(i,a){!function i(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,h=c.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(h).then((function(t){c.value=t,a(c)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}}function _(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return c;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var i=u(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,c;var r=i.arg;return r?r.done?(e[t.resultName]=r.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,c):r:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,c)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function M(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function e(){for(;++i=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),w(n),c}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;w(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:M(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},t}(t.exports);try{regeneratorRuntime=i}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},function(t,e,n){"use strict";var i,r,o,a,s=n(22),l=n(68),u=n(6),c=n(38),h=n(837),d=n(31),f=n(753),p=n(124),g=n(105),m=n(754),v=n(15),y=n(70),x=n(417),_=n(119),b=n(838),w=n(304),S=n(175),M=n(791).set,C=n(839),T=n(841),I=n(842),A=n(793),D=n(843),k=n(43),L=n(129),O=n(8),P=n(844),E=n(419),N=n(67),R=O("species"),z="Promise",V=k.get,B=k.set,F=k.getterFor(z),j=h&&h.prototype,$=h,H=j,G=u.TypeError,W=u.document,U=u.process,Z=A.f,Y=Z,q=!!(W&&W.createEvent&&u.dispatchEvent),X="function"==typeof PromiseRejectionEvent,K=!1,J=L(z,(function(){var t=_($),e=t!==String($);if(!e&&66===N)return!0;if(l&&!H.finally)return!0;if(N>=51&&/native code/.test(t))return!1;var n=new $((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))};return(n.constructor={})[R]=i,!(K=n.then((function(){}))instanceof i)||!e&&P&&!X})),Q=J||!w((function(t){$.all(t).catch((function(){}))})),tt=function(t){var e;return!(!v(t)||"function"!=typeof(e=t.then))&&e},et=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;C((function(){for(var i=t.value,r=1==t.state,o=0;n.length>o;){var a,s,l,u=n[o++],c=r?u.ok:u.fail,h=u.resolve,d=u.reject,f=u.domain;try{c?(r||(2===t.rejection&&ot(t),t.rejection=1),!0===c?a=i:(f&&f.enter(),a=c(i),f&&(f.exit(),l=!0)),a===u.promise?d(G("Promise-chain cycle")):(s=tt(a))?s.call(a,h,d):h(a)):d(i)}catch(t){f&&!l&&f.exit(),d(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&it(t)}))}},nt=function(t,e,n){var i,r;q?((i=W.createEvent("Event")).promise=e,i.reason=n,i.initEvent(t,!1,!0),u.dispatchEvent(i)):i={promise:e,reason:n},!X&&(r=u["on"+t])?r(i):"unhandledrejection"===t&&I("Unhandled promise rejection",n)},it=function(t){M.call(u,(function(){var e,n=t.facade,i=t.value;if(rt(t)&&(e=D((function(){E?U.emit("unhandledRejection",i,n):nt("unhandledrejection",n,i)})),t.rejection=E||rt(t)?2:1,e.error))throw e.value}))},rt=function(t){return 1!==t.rejection&&!t.parent},ot=function(t){M.call(u,(function(){var e=t.facade;E?U.emit("rejectionHandled",e):nt("rejectionhandled",e,t.value)}))},at=function(t,e,n){return function(i){t(e,i,n)}},st=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,et(t,!0))},lt=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw G("Promise can't be resolved itself");var i=tt(e);i?C((function(){var n={done:!1};try{i.call(e,at(lt,n,t),at(st,n,t))}catch(e){st(n,e,t)}})):(t.value=e,t.state=1,et(t,!1))}catch(e){st({done:!1},e,t)}}};if(J&&(H=($=function(t){x(this,$,z),y(t),i.call(this);var e=V(this);try{t(at(lt,e),at(st,e))}catch(t){st(e,t)}}).prototype,(i=function(t){B(this,{type:z,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(H,{then:function(t,e){var n=F(this),i=Z(S(this,$));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=E?U.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&et(n,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),r=function(){var t=new i,e=V(t);this.promise=t,this.resolve=at(lt,e),this.reject=at(st,e)},A.f=Z=function(t){return t===$||t===o?new r(t):Y(t)},!l&&"function"==typeof h&&j!==Object.prototype)){a=j.then,K||(d(j,"then",(function(t,e){var n=this;return new $((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),d(j,"catch",H.catch,{unsafe:!0}));try{delete j.constructor}catch(t){}p&&p(j,H)}s({global:!0,wrap:!0,forced:J},{Promise:$}),g($,z,!1,!0),m(z),o=c(z),s({target:z,stat:!0,forced:J},{reject:function(t){var e=Z(this);return e.reject.call(void 0,t),e.promise}}),s({target:z,stat:!0,forced:l||J},{resolve:function(t){return T(l&&this===o?$:this,t)}}),s({target:z,stat:!0,forced:Q},{all:function(t){var e=this,n=Z(e),i=n.resolve,r=n.reject,o=D((function(){var n=y(e.resolve),o=[],a=0,s=1;b(t,(function(t){var l=a++,u=!1;o.push(void 0),s++,n.call(e,t).then((function(t){u||(u=!0,o[l]=t,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(t){var e=this,n=Z(e),i=n.reject,r=D((function(){var r=y(e.resolve);b(t,(function(t){r.call(e,t).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}})},function(t,e,n){var i=n(6);t.exports=i.Promise},function(t,e,n){var i=n(18),r=n(302),o=n(29),a=n(134),s=n(303),l=n(447),u=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var c,h,d,f,p,g,m,v=n&&n.that,y=!(!n||!n.AS_ENTRIES),x=!(!n||!n.IS_ITERATOR),_=!(!n||!n.INTERRUPTED),b=a(e,v,1+y+_),w=function(t){return c&&l(c),new u(!0,t)},S=function(t){return y?(i(t),_?b(t[0],t[1],w):b(t[0],t[1])):_?b(t,w):b(t)};if(x)c=t;else{if("function"!=typeof(h=s(t)))throw TypeError("Target is not iterable");if(r(h)){for(d=0,f=o(t.length);f>d;d++)if((p=S(t[d]))&&p instanceof u)return p;return new u(!1)}c=h.call(t)}for(g=c.next;!(m=g.call(c)).done;){try{p=S(m.value)}catch(t){throw l(c),t}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},function(t,e,n){var i,r,o,a,s,l,u,c,h=n(6),d=n(56).f,f=n(791).set,p=n(792),g=n(840),m=n(419),v=h.MutationObserver||h.WebKitMutationObserver,y=h.document,x=h.process,_=h.Promise,b=d(h,"queueMicrotask"),w=b&&b.value;w||(i=function(){var t,e;for(m&&(t=x.domain)&&t.exit();r;){e=r.fn,r=r.next;try{e()}catch(t){throw r?a():o=void 0,t}}o=void 0,t&&t.enter()},p||m||g||!v||!y?_&&_.resolve?((u=_.resolve(void 0)).constructor=_,c=u.then,a=function(){c.call(u,i)}):a=m?function(){x.nextTick(i)}:function(){f.call(h,i)}:(s=!0,l=y.createTextNode(""),new v(i).observe(l,{characterData:!0}),a=function(){l.data=s=!s})),t.exports=w||function(t){var e={fn:t,next:void 0};o&&(o.next=e),r||(r=e,a()),o=e}},function(t,e,n){var i=n(78);t.exports=/web0s(?!.*chrome)/i.test(i)},function(t,e,n){var i=n(18),r=n(15),o=n(793);t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var i=n(6);t.exports=function(t,e){var n=i.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e){t.exports="object"==typeof window},function(t,e,n){"use strict";var i=n(131),r=n(18),o=n(36),a=n(846),s=n(26),l=n(132);i("search",(function(t,e,n){return[function(e){var n=o(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,n):new RegExp(e)[t](s(n))},function(t){var i=r(this),o=s(t),u=n(e,i,o);if(u.done)return u.value;var c=i.lastIndex;a(c,0)||(i.lastIndex=0);var h=l(i,o);return a(i.lastIndex,c)||(i.lastIndex=c),null===h?-1:h.index}]}))},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var i=n(22),r=n(418).left,o=n(135),a=n(67),s=n(419);i({target:"Array",proto:!0,forced:!o("reduce")||!s&&a>79&&a<83},{reduce:function(t){return r(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";n(794)},,,function(t,e,n){"use strict";n.r(e);n(422),n(30);var i=n(400),r=n.n(i),o=(n(287),n(211)),a=n.n(o),s=(n(288),n(212)),l=n.n(s),u=(n(292),n(213)),c=n.n(u),h=(n(423),n(401)),d=n.n(h),f=(n(424),n(402)),p=n.n(f),g=(n(425),n(403)),m=n.n(g),v=(n(427),n(404)),y=n.n(v),x=(n(295),n(214)),_=n.n(x),b=(n(432),n(405)),w=n.n(b),S=(n(433),n(406)),M=n.n(S),C=(n(296),n(102)),T=n.n(C),I=(n(751),n(408)),A=n.n(I),D=(n(835),n(104),n(836),n(4)),k=(n(55),n(845),n(847),n(84),n(416),n(146),n(410)),L=n(411),O=n(412),P=n(278),E=n(413),N=n(414),R={components:{charts:k.a,charts2:L.a,positionDetail:O.a,indDetail:P.a,fundInfo:E.a,managerDetail:N.a},name:"fundDetail",data:function(){return{darkMode:!1,fundList:[],fundIndex:0,fund:null,tabNameList:["first","ccmx","second","third","info"],activeName:"second"}},watch:{},created:function(){if(location.search&&location.search.length>1){var t=location.search.substring(1).split("&").reduce((function(t,e){var n=e.split("=");return t[n[0]]=decodeURIComponent(n[1]),t}),{});this.fundList=JSON.parse(t.fundList),this.fundIndex=parseInt(t.fundIndex),this.fund=this.fundList[this.fundIndex]}},mounted:function(){this.registerShortCut()},methods:{handleClick:function(t,e){e.isTrusted&&(this.activeName=t.name)},close:function(){window.close()},showManager:function(t){this.$refs.managerDetail.init(t)},sltStock:function(t){this.$refs.indDetail.init(t)},registerShortCut:function(){var t=this;document.onkeydown=function(e){e.preventDefault();var n=e||window.event||arguments.callee.caller.arguments[0];if(n&&13==n.keyCode&&t.close(),n&&37==n.keyCode){var i=t.tabNameList.indexOf(t.activeName);(i-=1)<0&&(i=t.tabNameList.length-1),t.activeName=t.tabNameList[i]}if(n&&38==n.keyCode&&(t.fund=null,D.default.nextTick((function(){t.fundIndex-=1,t.fundIndex<0&&(t.fundIndex=t.fundList.length-1),t.fund=t.fundList[t.fundIndex]}))),n&&39==n.keyCode){var r=t.tabNameList.indexOf(t.activeName);(r+=1)>=t.tabNameList.length&&(r=0),t.activeName=t.tabNameList[r]}n&&40==n.keyCode&&(t.fund=null,D.default.nextTick((function(){t.fundIndex+=1,t.fundIndex>=t.fundList.length&&(t.fundIndex=0),t.fund=t.fundList[t.fundIndex]})))}}}},z=(n(848),n(13)),V=Object(z.a)(R,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.fund?n("div",{staticClass:"shadow",class:t.darkMode?"darkMode":""},[n("div",{staticClass:"content-box"},[n("h5",[t._v(t._s(t.fund.name)+"("+t._s(t.fund.fundcode)+")")]),t._v(" "),n("el-tabs",{attrs:{value:t.activeName,type:"border-card"},on:{"tab-click":t.handleClick}},[n("el-tab-pane",{attrs:{lazy:"",label:"净值估算",name:"first"}},[n("charts",{ref:"first",attrs:{darkMode:t.darkMode,fund:t.fund}})],1),t._v(" "),n("el-tab-pane",{attrs:{lazy:"",label:"持仓明细",name:"ccmx"}},[n("position-detail",{attrs:{darkMode:t.darkMode,fund:t.fund},on:{sltStock:t.sltStock}})],1),t._v(" "),n("el-tab-pane",{attrs:{lazy:"",label:"历史净值",name:"second"}},[n("charts2",{ref:"second",attrs:{darkMode:t.darkMode,fund:t.fund,chartType:"JZ"}})],1),t._v(" "),n("el-tab-pane",{attrs:{lazy:"",label:"累计收益",name:"third"}},[n("charts2",{ref:"third",attrs:{darkMode:t.darkMode,fund:t.fund,chartType:"LJSY"}})],1),t._v(" "),n("el-tab-pane",{attrs:{lazy:"",label:"基金概况",name:"info"}},[n("fund-info",{ref:"info",attrs:{darkMode:t.darkMode,fund:t.fund},on:{showManager:t.showManager}})],1)],1),t._v(" "),n("div",{staticClass:"tab-row"},[n("input",{staticClass:"btn",attrs:{type:"button",value:"关闭详情"},on:{click:t.close}})])],1),t._v(" "),n("ind-detail",{ref:"indDetail",attrs:{mini:"",darkMode:t.darkMode}}),t._v(" "),n("manager-detail",{ref:"managerDetail",attrs:{darkMode:t.darkMode}})],1):t._e()}),[],!1,null,"bdfa4a5a",null).exports,B=n(101),F=n.n(B);function j(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}F.a.interceptors.response.use((function(t){return Promise.resolve(t)}),function(){var t,e=(t=regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return A.a.error({showClose:!0,message:"网络异常,请稍后再试"}),t.abrupt("return",Promise.reject(e));case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){j(o,i,r,a,s,"next",t)}function s(t){j(o,i,r,a,s,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}()),D.default.prototype.$axios=F.a,D.default.prototype.$ELEMENT={size:"mini"},D.default.use(T.a.directive),D.default.prototype.$loading=T.a.service,D.default.use(M.a),D.default.use(w.a),D.default.use(_.a),D.default.use(y.a),D.default.use(m.a),D.default.use(p.a),D.default.use(d.a),D.default.use(c.a),D.default.use(l.a),D.default.use(a.a),D.default.use(T.a),D.default.use(r.a),new D.default({el:"#app",render:function(t){return t(V)}})}]); \ No newline at end of file +var n=Object.freeze({});function i(t){return null==t}function r(t){return null!=t}function o(t){return!0===t}function a(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}var l=Object.prototype.toString;function u(t){return"[object Object]"===l.call(t)}function c(t){return"[object RegExp]"===l.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return r(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function f(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function g(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function x(t,e){return y.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var b=/-(\w)/g,w=_((function(t){return t.replace(b,(function(t,e){return e?e.toUpperCase():""}))})),S=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),C=/\B([A-Z])/g,M=_((function(t){return t.replace(C,"-$1").toLowerCase()}));var T=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function I(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function A(t,e){for(var n in e)t[n]=e[n];return t}function D(t){for(var e={},n=0;n0,X=q&&q.indexOf("edge/")>0,K=(q&&q.indexOf("android"),q&&/iphone|ipad|ipod|ios/.test(q)||"ios"===U),J=(q&&/chrome\/\d+/.test(q),q&&/phantomjs/.test(q),q&&q.match(/firefox\/(\d+)/)),Q={}.watch,tt=!1;if(G)try{var et={};Object.defineProperty(et,"passive",{get:function(){tt=!0}}),window.addEventListener("test-passive",null,et)}catch(t){}var nt=function(){return void 0===$&&($=!G&&!W&&"undefined"!=typeof window&&(window.process&&"server"===window.process.env.VUE_ENV)),$},it=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function rt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ot,at="undefined"!=typeof Symbol&&rt(Symbol)&&"undefined"!=typeof Reflect&&rt(Reflect.ownKeys);ot="undefined"!=typeof Set&&rt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var st=k,lt=0,ut=function(){this.id=lt++,this.subs=[]};ut.prototype.addSub=function(t){this.subs.push(t)},ut.prototype.removeSub=function(t){v(this.subs,t)},ut.prototype.depend=function(){ut.target&&ut.target.addDep(this)},ut.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!x(r,"default"))a=!1;else if(""===a||a===M(t)){var l=jt(String,r.type);(l<0||s0&&(ce((l=t(l,(n||"")+"_"+s))[0])&&ce(c)&&(h[u]=mt(c.text+l[0].text),l.shift()),h.push.apply(h,l)):a(l)?ce(c)?h[u]=mt(c.text+l):""!==l&&h.push(mt(l)):ce(l)&&ce(c)?h[u]=mt(c.text+l.text):(o(e._isVList)&&r(l.tag)&&i(l.key)&&r(n)&&(l.key="__vlist"+n+"_"+s+"__"),h.push(l)));return h}(t):void 0}function ce(t){return r(t)&&r(t.text)&&!1===t.isComment}function he(t,e){if(t){for(var n=Object.create(null),i=at?Reflect.ownKeys(t):Object.keys(t),r=0;r0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&i&&i!==n&&s===i.$key&&!o&&!i.$hasNormal)return i;for(var l in r={},t)t[l]&&"$"!==l[0]&&(r[l]=me(e,l,t[l]))}else r={};for(var u in e)u in r||(r[u]=ve(e,u));return t&&Object.isExtensible(t)&&(t._normalized=r),F(r,"$stable",a),F(r,"$key",s),F(r,"$hasNormal",o),r}function me(t,e,n){var i=function(){var t=arguments.length?n.apply(null,arguments):n({}),e=(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:ue(t))&&t[0];return t&&(!e||1===t.length&&e.isComment&&!pe(e))?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:i,enumerable:!0,configurable:!0}),i}function ve(t,e){return function(){return t[e]}}function ye(t,e){var n,i,o,a,l;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),i=0,o=t.length;idocument.createEvent("Event").timeStamp&&(ln=function(){return un.now()})}function cn(){var t,e;for(sn=ln(),on=!0,tn.sort((function(t,e){return t.id-e.id})),an=0;anan&&tn[n].id>t.id;)n--;tn.splice(n+1,0,t)}else tn.push(t);rn||(rn=!0,ee(cn))}}(this)},dn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'+this.expression+'"';Ht(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},dn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},dn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},dn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var fn={enumerable:!0,configurable:!0,get:k,set:k};function pn(t,e,n){fn.get=function(){return this[e][n]},fn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,fn)}function gn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[];t.$parent&&wt(!1);var o=function(o){r.push(o);var a=zt(o,e,n,t);Mt(i,o,a),o in t||pn(t,"_props",o)};for(var a in e)o(a);wt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?k:T(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;u(e=t._data="function"==typeof e?function(t,e){ht();try{return t.call(e,e)}catch(t){return $t(t,e,"data()"),{}}finally{dt()}}(e,t):e||{})||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);for(;r--;){var o=n[r];0,i&&x(i,o)||(a=void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&pn(t,"_data",o))}var a;Ct(e,!0)}(t):Ct(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=nt();for(var r in e){var o=e[r],a="function"==typeof o?o:o.get;0,i||(n[r]=new dn(t,a||k,k,mn)),r in t||vn(t,r,o)}}(t,e.computed),e.watch&&e.watch!==Q&&function(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!c(t)&&t.test(e)}function In(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!e(s)&&An(n,o,i,r)}}}function An(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,v(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=bn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Nt(wn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Ze(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,i=t.$vnode=e._parentVnode,r=i&&i.context;t.$slots=de(e._renderChildren,r),t.$scopedSlots=n,t._c=function(e,n,i,r){return Fe(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return Fe(t,e,n,i,r,!0)};var o=i&&i.data;Mt(t,"$attrs",o&&o.attrs||n,null,!0),Mt(t,"$listeners",e._parentListeners||n,null,!0)}(e),Qe(e,"beforeCreate"),function(t){var e=he(t.$options.inject,t);e&&(wt(!1),Object.keys(e).forEach((function(n){Mt(t,n,e[n])})),wt(!0))}(e),gn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),Qe(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(Sn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Tt,t.prototype.$delete=It,t.prototype.$watch=function(t,e,n){if(u(e))return _n(this,t,e,n);(n=n||{}).user=!0;var i=new dn(this,t,e,n);if(n.immediate){var r='callback for immediate watcher "'+i.expression+'"';ht(),Ht(e,this,[i.value],this,r),dt()}return function(){i.teardown()}}}(Sn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(Array.isArray(t))for(var r=0,o=t.length;r1?I(n):n;for(var i=I(arguments,1),r='event handler for "'+t+'"',o=0,a=n.length;oparseInt(this.max)&&An(t,e[0],e,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)An(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){In(t,(function(t){return Tn(e,t)}))})),this.$watch("exclude",(function(e){In(t,(function(t){return!Tn(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Ge(t),n=e&&e.componentOptions;if(n){var i=Mn(n),r=this.include,o=this.exclude;if(r&&(!i||!Tn(r,i))||o&&i&&Tn(o,i))return e;var a=this.cache,s=this.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;a[l]?(e.componentInstance=a[l].componentInstance,v(s,l),s.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return B}};Object.defineProperty(t,"config",e),t.util={warn:st,extend:A,mergeOptions:Nt,defineReactive:Mt},t.set=Tt,t.delete=It,t.nextTick=ee,t.observable=function(t){return Ct(t),t},t.options=Object.create(null),R.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,A(t.options.components,kn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=I(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Nt(this.options,t),this}}(t),Cn(t),function(t){R.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(Sn),Object.defineProperty(Sn.prototype,"$isServer",{get:nt}),Object.defineProperty(Sn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Sn,"FunctionalRenderContext",{value:Pe}),Sn.version="2.6.14";var Ln=g("style,class"),On=g("input,textarea,option,select,progress"),Pn=g("contenteditable,draggable,spellcheck"),En=g("events,caret,typing,plaintext-only"),Nn=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Rn="http://www.w3.org/1999/xlink",zn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Bn=function(t){return zn(t)?t.slice(6,t.length):""},Vn=function(t){return null==t||!1===t};function Fn(t){for(var e=t.data,n=t,i=t;r(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=jn(i.data,e));for(;r(n=n.parent);)n&&n.data&&(e=jn(e,n.data));return function(t,e){if(r(t)||r(e))return $n(t,Hn(e));return""}(e.staticClass,e.class)}function jn(t,e){return{staticClass:$n(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function $n(t,e){return t?e?t+" "+e:t:e||""}function Hn(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,o=t.length;i-1?di(t,e,n):Nn(e)?Vn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Pn(e)?t.setAttribute(e,function(t,e){return Vn(e)||"false"===e?"false":"contenteditable"===t&&En(e)?e:"true"}(e,n)):zn(e)?Vn(n)?t.removeAttributeNS(Rn,Bn(e)):t.setAttributeNS(Rn,e,n):di(t,e,n)}function di(t,e,n){if(Vn(n))t.removeAttribute(e);else{if(Z&&!Y&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var fi={create:ci,update:ci};function pi(t,e){var n=e.elm,o=e.data,a=t.data;if(!(i(o.staticClass)&&i(o.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=Fn(e),l=n._transitionClasses;r(l)&&(s=$n(s,Hn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var gi,mi={create:pi,update:pi};function vi(t,e,n){var i=gi;return function r(){var o=e.apply(null,arguments);null!==o&&_i(t,r,n,i)}}var yi=qt&&!(J&&Number(J[1])<=53);function xi(t,e,n,i){if(yi){var r=sn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}gi.addEventListener(t,e,tt?{capture:n,passive:i}:n)}function _i(t,e,n,i){(i||gi).removeEventListener(t,e._wrapper||e,n)}function bi(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},o=t.data.on||{};gi=e.elm,function(t){if(r(t.__r)){var e=Z?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}r(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),ae(n,o,xi,_i,vi,e.context),gi=void 0}}var wi,Si={create:bi,update:bi};function Ci(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in r(l.__ob__)&&(l=e.data.domProps=A({},l)),s)n in l||(a[n]="");for(n in l){if(o=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var u=i(o)?"":String(o);Mi(a,u)&&(a.value=u)}else if("innerHTML"===n&&Un(a.tagName)&&i(a.innerHTML)){(wi=wi||document.createElement("div")).innerHTML=""+o+"";for(var c=wi.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;c.firstChild;)a.appendChild(c.firstChild)}else if(o!==s[n])try{a[n]=o}catch(t){}}}}function Mi(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(r(i)){if(i.number)return p(n)!==p(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Ti={create:Ci,update:Ci},Ii=_((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}})),e}));function Ai(t){var e=Di(t.style);return t.staticStyle?A(t.staticStyle,e):e}function Di(t){return Array.isArray(t)?D(t):"string"==typeof t?Ii(t):t}var ki,Li=/^--/,Oi=/\s*!important$/,Pi=function(t,e,n){if(Li.test(e))t.style.setProperty(e,n);else if(Oi.test(n))t.style.setProperty(M(e),n.replace(Oi,""),"important");else{var i=Ni(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split(Bi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Fi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Bi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function ji(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&A(e,$i(t.name||"v")),A(e,t),e}return"string"==typeof t?$i(t):void 0}}var $i=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Hi=G&&!Y,Gi="transition",Wi="transitionend",Ui="animation",qi="animationend";Hi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Gi="WebkitTransition",Wi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ui="WebkitAnimation",qi="webkitAnimationEnd"));var Zi=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Yi(t){Zi((function(){Zi(t)}))}function Xi(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Vi(t,e))}function Ki(t,e){t._transitionClasses&&v(t._transitionClasses,e),Fi(t,e)}function Ji(t,e,n){var i=tr(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s="transition"===r?Wi:qi,l=0,u=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++l>=a&&u()};setTimeout((function(){l0&&(n="transition",c=a,h=o.length):"animation"===e?u>0&&(n="animation",c=u,h=l.length):h=(n=(c=Math.max(a,u))>0?a>u?"transition":"animation":null)?"transition"===n?o.length:l.length:0,{type:n,timeout:c,propCount:h,hasTransform:"transition"===n&&Qi.test(i[Gi+"Property"])}}function er(t,e){for(;t.length1}function sr(t,e){!0!==e.data.show&&ir(e)}var lr=function(t){var e,n,s={},l=t.modules,u=t.nodeOps;for(e=0;ep?x(t,i(n[v+1])?null:n[v+1].elm,n,f,v,o):f>v&&b(e,d,p)}(d,g,v,n,c):r(v)?(r(t.text)&&u.setTextContent(d,""),x(d,null,v,0,v.length-1,n)):r(g)?b(g,0,g.length-1):r(t.text)&&u.setTextContent(d,""):t.text!==e.text&&u.setTextContent(d,e.text),r(p)&&r(f=p.hook)&&r(f=f.postpatch)&&f(t,e)}}}function M(t,e,n){if(o(n)&&r(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,a.selected!==o&&(a.selected=o);else if(P(fr(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function dr(t,e){return e.every((function(e){return!P(e,t)}))}function fr(t){return"_value"in t?t._value:t.value}function pr(t){t.target.composing=!0}function gr(t){t.target.composing&&(t.target.composing=!1,mr(t.target,"input"))}function mr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function vr(t){return!t.componentInstance||t.data&&t.data.transition?t:vr(t.componentInstance._vnode)}var yr={model:ur,show:{bind:function(t,e,n){var i=e.value,r=(n=vr(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,ir(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=vr(n)).data&&n.data.transition?(n.data.show=!0,i?ir(n,(function(){t.style.display=t.__vOriginalDisplay})):rr(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}}},xr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function _r(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?_r(Ge(e.children)):t}function br(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[w(o)]=r[o];return e}function wr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Sr=function(t){return t.tag||pe(t)},Cr=function(t){return"show"===t.name},Mr={name:"transition",props:xr,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Sr)).length){0;var i=this.mode;0;var r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=_r(r);if(!o)return r;if(this._leaving)return wr(t,r);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var l=(o.data||(o.data={})).transition=br(this),u=this._vnode,c=_r(u);if(o.data.directives&&o.data.directives.some(Cr)&&(o.data.show=!0),c&&c.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,c)&&!pe(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var h=c.data.transition=A({},l);if("out-in"===i)return this._leaving=!0,se(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),wr(t,r);if("in-out"===i){if(pe(o))return u;var d,f=function(){d()};se(l,"afterEnter",f),se(l,"enterCancelled",f),se(h,"delayLeave",(function(t){d=t}))}}return r}}},Tr=A({tag:String,moveClass:String},xr);function Ir(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Ar(t){t.data.newPos=t.elm.getBoundingClientRect()}function Dr(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete Tr.mode;var kr={Transition:Mr,TransitionGroup:{props:Tr,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Xe(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=br(this),s=0;s-1?Zn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Zn[t]=/HTMLUnknownElement/.test(e.toString())},A(Sn.options.directives,yr),A(Sn.options.components,kr),Sn.prototype.__patch__=G?lr:k,Sn.prototype.$mount=function(t,e){return function(t,e,n){var i;return t.$el=e,t.$options.render||(t.$options.render=gt),Qe(t,"beforeMount"),i=function(){t._update(t._render(),n)},new dn(t,i,k,{before:function(){t._isMounted&&!t._isDestroyed&&Qe(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Qe(t,"mounted")),t}(this,t=t&&G?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},G&&setTimeout((function(){B.devtools&&it&&it.emit("init",Sn)}),0),e.default=Sn}.call(this,n(293).setImmediate)},function(t,e,n){var i=n(0),r=n(21),o=i.each,a=i.isObject,s=i.isArray;function l(t){return t instanceof Array?t:null==t?[]:[t]}function u(t){return a(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}var c=0;function h(t,e){return t&&t.hasOwnProperty(e)}e.normalizeToArray=l,e.defaultEmphasis=function(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i=n.length&&n.push({option:t})}})),n},e.makeIdAndName=function(t){var e=i.createHashMap();o(t,(function(t,n){var i=t.exist;i&&e.set(i.id,t)})),o(t,(function(t,n){var r=t.option;i.assert(!r||null==r.id||!e.get(r.id)||e.get(r.id)===t,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&e.set(r.id,t),!t.keyInfo&&(t.keyInfo={})})),o(t,(function(t,n){var i=t.exist,r=t.option,o=t.keyInfo;if(a(r)){if(o.name=null!=r.name?r.name+"":i?i.name:"series\0"+n,i)o.id=i.id;else if(null!=r.id)o.id=r.id+"";else{var s=0;do{o.id="\0"+o.name+"\0"+s++}while(e.get(o.id))}e.set(o.id,t)}}))},e.isNameSpecified=function(t){var e=t.name;return!(!e||!e.indexOf("series\0"))},e.isIdInner=u,e.compressBatches=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;ii||l.newline?(o=0,c=m,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);(h=a+v)>r||l.newline?(o+=s+n,a=0,h=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=o,d[1]=a,"horizontal"===t?o=c+n:a=h+n)}))}var h=c,d=i.curry(c,"vertical"),f=i.curry(c,"horizontal");function p(t,e,n){n=a.normalizeCssArray(n||0);var i=e.width,s=e.height,l=o(t.left,i),u=o(t.top,s),c=o(t.right,i),h=o(t.bottom,s),d=o(t.width,i),f=o(t.height,s),p=n[2]+n[0],g=n[1]+n[3],m=t.aspect;switch(isNaN(d)&&(d=i-c-g-l),isNaN(f)&&(f=s-h-p-u),null!=m&&(isNaN(d)&&isNaN(f)&&(m>i/s?d=.8*i:f=.8*s),isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=i-c-d-g),isNaN(u)&&(u=s-h-f-p),t.left||t.right){case"center":l=i/2-d/2-n[3];break;case"right":l=i-d-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-f/2-n[0];break;case"bottom":u=s-f-p}l=l||0,u=u||0,isNaN(d)&&(d=i-g-l-(c||0)),isNaN(f)&&(f=s-p-u-(h||0));var v=new r(l+n[3],u+n[0],d,f);return v.margin=n,v}function g(t,e){return e&&t&&s(l,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}e.LOCATION_PARAMS=l,e.HV_NAMES=u,e.box=h,e.vbox=d,e.hbox=f,e.getAvailableSize=function(t,e,n){var i=e.width,r=e.height,s=o(t.x,i),l=o(t.y,r),u=o(t.x2,i),c=o(t.y2,r);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=i),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.y2)))&&(c=r),n=a.normalizeCssArray(n||0),{width:Math.max(u-s-n[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}},e.getLayoutRect=p,e.positionElement=function(t,e,n,o,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],u=a&&a.boundingMode||"all";if(s||l){var c;if("raw"===u)c="group"===t.type?new r(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(c=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(c=c.clone()).applyTransform(h)}e=p(i.defaults({width:c.width,height:c.height},e),n,o);var d=t.position,f=s?e.x-c.x:0,g=l?e.y-c.y:0;t.attr("position","raw"===u?[f,g]:[d[0]+f,d[1]+g])}},e.sizeCalculable=function(t,e){return null!=t[u[e][0]]||null!=t[u[e][1]]&&null!=t[u[e][2]]},e.mergeLayoutParam=function(t,e,n){!i.isObject(n)&&(n={});var r=n.ignoreSize;!i.isArray(r)&&(r=[r,r]);var o=l(u[0],0),a=l(u[1],1);function l(n,i){var o={},a=0,l={},u=0;if(s(n,(function(e){l[e]=t[e]})),s(n,(function(t){c(e,t)&&(o[t]=l[t]=e[t]),h(o,t)&&a++,h(l,t)&&u++})),r[i])return h(e,n[1])?l[n[2]]=null:h(e,n[2])&&(l[n[1]]=null),l;if(2!==u&&a){if(a>=2)return o;for(var d=0;d"'])/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"};function u(t){return null==t?"":(t+"").replace(s,(function(t,e){return l[e]}))}var c=["a","b","c","d","e","f","g"],h=function(t,e){return"{"+t+(null==e?"":e)+"}"};function d(t,e){return"0000".substr(0,e-(t+="").length)+t}var f=r.truncateText;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")},e.toCamelCase=function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},e.normalizeCssArray=a,e.encodeHTML=u,e.formatTpl=function(t,e,n){i.isArray(e)||(e=[e]);var r=e.length;if(!r)return"";for(var o=e[0].$vars||[],a=0;a':'':{renderMode:o,content:"{marker"+a+"|} ",style:{color:n}}:""},e.formatTime=function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=o.parseDate(e),r=n?"UTC":"",a=i["get"+r+"FullYear"](),s=i["get"+r+"Month"]()+1,l=i["get"+r+"Date"](),u=i["get"+r+"Hours"](),c=i["get"+r+"Minutes"](),h=i["get"+r+"Seconds"](),f=i["get"+r+"Milliseconds"]();return t=t.replace("MM",d(s,2)).replace("M",s).replace("yyyy",a).replace("yy",a%100).replace("dd",d(l,2)).replace("d",l).replace("hh",d(u,2)).replace("h",u).replace("mm",d(c,2)).replace("m",c).replace("ss",d(h,2)).replace("s",h).replace("SSS",d(f,3))},e.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},e.truncateText=f,e.getTextBoundingRect=function(t){return r.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},e.getTextRect=function(t,e,n,i,o,a,s,l){return r.getBoundingRect(t,e,n,i,o,l,a,s)},e.windowOpen=function(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location=t}else window.open(t,e)}},function(t,e,n){"use strict";var i=n(139),r=Object.prototype.toString;function o(t){return"[object Array]"===r.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function l(t){return"[object Function]"===r.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,i=t.length;n=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new d(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},d.create=function(t){return new d(t.x,t.y,t.width,t.height)};var f=d;t.exports=f},function(t,e,n){var i=n(152),r=n(0),o=n(110),a=n(468),s=n(314).prototype.getCanvasPattern,l=Math.abs,u=new o(!0);function c(t){i.call(this,t),this.path=null}c.prototype={constructor:c,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var n,i=this.style,r=this.path||u,o=i.hasStroke(),a=i.hasFill(),l=i.fill,c=i.stroke,h=a&&!!l.colorStops,d=o&&!!c.colorStops,f=a&&!!l.image,p=o&&!!c.image;(i.bind(t,this,e),this.setTransform(t),this.__dirty)&&(h&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(t,l,n)),d&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(t,c,n)));h?t.fillStyle=this._fillGradient:f&&(t.fillStyle=s.call(l,t)),d?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=s.call(c,t));var g=i.lineDash,m=i.lineDashOffset,v=!!t.setLineDash,y=this.getGlobalScale();if(r.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!v&&o?(r.beginPath(t),g&&!v&&(r.setLineDash(g),r.setLineDashOffset(m)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),a)if(null!=i.fillOpacity){var x=t.globalAlpha;t.globalAlpha=i.fillOpacity*i.opacity,r.fill(t),t.globalAlpha=x}else r.fill(t);if(g&&v&&(t.setLineDash(g),t.lineDashOffset=m),o)if(null!=i.strokeOpacity){x=t.globalAlpha;t.globalAlpha=i.strokeOpacity*i.opacity,r.stroke(t),t.globalAlpha=x}else r.stroke(t);g&&v&&t.setLineDash([]),null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new o},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var i=this.path;i||(i=this.path=new o),this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),t=i.getBoundingRect()}if(this._rect=t,e.hasStroke()){var r=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){r.copy(t);var a=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(a=Math.max(a,this.strokeContainThreshold||4)),s>1e-10&&(r.width+=a/s,r.height+=a/s,r.x-=a/s/2,r.y-=a/s/2)}return r}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path.data;if(r.hasStroke()){var s=r.lineWidth,l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(r.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),a.containStroke(o,s/l,t,e)))return!0}if(r.hasFill())return a.contain(o,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):i.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(r.isObject(t))for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1}},c.extend=function(t){var e=function(e){c.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var r in n)!i.hasOwnProperty(r)&&n.hasOwnProperty(r)&&(i[r]=n[r])}t.init&&t.init.call(this,e)};for(var n in r.inherits(e,c),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},r.inherits(c,i);var h=c;t.exports=h},function(t,e,n){var i=n(6),r=n(56).f,o=n(28),a=n(31),s=n(82),l=n(169),u=n(132);t.exports=function(t,e){var n,c,h,d,f,p=t.target,g=t.global,m=t.stat;if(n=g?i:m?i[p]||s(p,{}):(i[p]||{}).prototype)for(c in e){if(d=e[c],h=t.noTargetGet?(f=r(n,c))&&f.value:n[c],!u(g?c:p+(m?".":"#")+c,t.forced)&&void 0!==h){if(typeof d==typeof h)continue;l(d,h)}(t.sham||h&&h.sham)&&o(d,"sham",!0),a(n,c,d,t)}}},function(t,e){var n="object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"==typeof document&&"undefined"!=typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"==typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:function(t){var e={},n=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),r=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);n&&(e.firefox=!0,e.version=n[1]);i&&(e.ie=!0,e.version=i[1]);r&&(e.edge=!0,e.version=r[1]);o&&(e.weChat=!0);return{browser:e,os:{},node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!e.ie&&!e.edge,pointerEventsSupported:"onpointerdown"in window&&(e.edge||e.ie&&e.version>=11),domSupported:"undefined"!=typeof document}}(navigator.userAgent);t.exports=n},function(t,e,n){var i=n(0),r=n(21),o=n(5).makeInner,a=n(60),s=a.enableClassExtend,l=a.enableClassCheck,u=n(465),c=n(466),h=n(467),d=n(480),f=i.mixin,p=o();function g(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function m(t,e,n){for(var i=0;i=0;a--)o=i.merge(o,e[a],!0);t.defaultOption=o}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});s(f,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(f),o.enableTopologicalTravel(f,(function(t){var e=[];i.each(f.getClassesByMainType(t),(function(t){e=e.concat(t.prototype.dependencies||[])})),e=i.map(e,(function(t){return l(t).main})),"dataset"!==t&&i.indexOf(e,"dataset")<=0&&e.unshift("dataset");return e})),i.mixin(f,h);var p=f;t.exports=p},function(t,e,n){n(9).__DEV__;var i=n(0),r=n(21),o=n(11),a=o.formatTime,s=o.encodeHTML,l=o.addCommas,u=o.getTooltipMarker,c=n(5),h=n(26),d=n(330),f=n(253),p=n(10),g=p.getLayoutParams,m=p.mergeLayoutParam,v=n(254).createTask,y=n(61),x=y.prepareSource,_=y.getSource,b=n(92).retrieveRawValue,w=c.makeInner(),S=h.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,n,i){this.seriesIndex=this.componentIndex,this.dataTask=v({count:M,reset:T}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),x(this);var r=this.getInitialData(t,n);A(r,this),this.dataTask.context.data=r,w(this).dataBeforeProcessed=r,C(this)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,r=n?g(t):{},o=this.subType;h.hasClass(o)&&(o+="Series"),i.merge(t,e.getTheme().get(this.subType)),i.merge(t,this.getDefaultOption()),c.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&m(t,r,n)},mergeOption:function(t,e){t=i.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&m(this.option,t,n),x(this);var r=this.getInitialData(t,e);A(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,w(this).dataBeforeProcessed=r,C(this)},fillDataTextStyle:function(t){if(t&&!i.isTypedArray(t))for(var e=["show"],n=0;n":"\n",d="richText"===r,f={},p=0;function g(t){return{renderMode:r,content:s(l(t)),style:f}}var m=this.getData(),v=m.mapDimension("defaultedTooltip",!0),y=v.length,x=this.getRawValue(t),_=i.isArray(x),w=m.getItemVisual(t,"color");i.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=(y>1||_&&!y?function(n){var c=i.reduce(n,(function(t,e,n){var i=m.getDimensionInfo(n);return t|(i&&!1!==i.tooltip&&null!=i.displayName)}),0),h=[];function g(t,n){var i=m.getDimensionInfo(n);if(i&&!1!==i.otherDims.tooltip){var g=i.type,v="sub"+o.seriesIndex+"at"+p,y=u({color:w,type:"subItem",renderMode:r,markerId:v}),x="string"==typeof y?y:y.content,_=(c?x+s(i.displayName||"-")+": ":"")+s("ordinal"===g?t+"":"time"===g?e?"":a("yyyy/MM/dd hh:mm:ss",t):l(t));_&&h.push(_),d&&(f[v]=w,++p)}}v.length?i.each(v,(function(e){g(b(m,t,e),e)})):i.each(n,g);var y=c?d?"\n":"
":"",x=y+h.join(y||", ");return{renderMode:r,content:x,style:f}}(x):g(y?b(m,t,v[0]):_?x[0]:x)).content,C=o.seriesIndex+"at"+p,M=u({color:w,type:"item",renderMode:r,markerId:C});f[C]=w,++p;var T=m.getName(t),I=this.name;c.isNameSpecified(this)||(I=""),I=I?s(I)+(e?": ":h):"";var A="string"==typeof M?M:M.content;return{html:e?A+I+S:I+A+(T?s(T)+": "+S:S),markers:f}},isAnimationEnabled:function(){if(r.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel,r=d.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function C(t){var e=t.name;c.isNameSpecified(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimension("seriesName",!0),r=[];return i.each(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&r.push(n.displayName)})),r.join(" ")}(t)||e)}function M(t){return t.model.getRawData().count()}function T(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),I}function I(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function A(t,e){i.each(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,i.curry(D,e))}))}function D(t){var e=k(t);e&&e.setOutputEnd(this.count())}function k(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}i.mixin(S,f),i.mixin(S,d);var L=S;t.exports=L},function(t,e,n){var i=n(25),r=n(23),o=n(47);t.exports=i?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(49),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){},function(t,e,n){var i=n(6),r=n(28),o=n(16),a=n(82),s=n(121),l=n(40),u=l.get,c=l.enforce,h=String(String).split("String");(t.exports=function(t,e,n,s){var l,u=!!s&&!!s.unsafe,d=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||r(n,"name",e),(l=c(n)).source||(l.source=h.join("string"==typeof e?e:""))),t!==i?(u?!f&&t[e]&&(d=!0):delete t[e],d?t[e]=n:r(t,e,n)):d?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},function(t,e,n){var i=n(36);t.exports=function(t){return Object(i(t))}},function(t,e){var n="undefined"==typeof Float32Array?Array:Float32Array;function i(){var t=new n(6);return r(t),t}function r(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}e.create=i,e.identity=r,e.copy=o,e.mul=function(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t},e.translate=function(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t},e.rotate=function(t,e,n){var i=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],u=Math.sin(n),c=Math.cos(n);return t[0]=i*c+a*u,t[1]=-i*u+a*c,t[2]=r*c+s*u,t[3]=-r*u+c*s,t[4]=c*o+u*l,t[5]=c*l-u*o,t},e.scale=function(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t},e.invert=function(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null},e.clone=function(t){var e=i();return o(e,t),e}},function(t,e,n){var i=n(105),r=n(36);t.exports=function(t){return i(r(t))}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var i=n(18),r=n(248),o=n(0),a=o.getContext,s=o.extend,l=o.retrieve2,u=o.retrieve3,c=o.trim,h={},d=0,f=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,p={};function g(t,e){var n=t+":"+(e=e||"12px sans-serif");if(h[n])return h[n];for(var i=(t+"").split("\n"),r=0,o=0,a=i.length;o5e3&&(d=0,h={}),d++,h[n]=r,r}function m(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function v(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function y(t,e,n){var i=e.textPosition,r=e.textDistance,o=n.x,a=n.y;r=r||0;var s=n.height,l=n.width,u=s/2,c="left",h="top";switch(i){case"left":o-=r,a+=u,c="right",h="middle";break;case"right":o+=r+l,a+=u,h="middle";break;case"top":o+=l/2,a-=r,c="center",h="bottom";break;case"bottom":o+=l/2,a+=s+r,c="center";break;case"inside":o+=l/2,a+=u,c="center",h="middle";break;case"insideLeft":o+=r,a+=u,h="middle";break;case"insideRight":o+=l-r,a+=u,c="right",h="middle";break;case"insideTop":o+=l/2,a+=r,c="center";break;case"insideBottom":o+=l/2,a+=s-r,c="center",h="bottom";break;case"insideTopLeft":o+=r,a+=r;break;case"insideTopRight":o+=l-r,a+=r,c="right";break;case"insideBottomLeft":o+=r,a+=s-r,h="bottom";break;case"insideBottomRight":o+=l-r,a+=s-r,c="right",h="bottom"}return(t=t||{}).x=o,t.y=a,t.textAlign=c,t.textVerticalAlign=h,t}function x(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=_(e,n,i,r);for(var a=0,s=o.length;a=o;u++)a-=o;var c=g(n,e);return c>a&&(n="",c=0),a=t-c,i.ellipsis=n,i.ellipsisWidth=c,i.contentWidth=a,i.containerWidth=t,i}function b(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=g(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?w(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=g(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function w(t,e,n,i){for(var r=0,o=0,a=t.length;oh)t="",a=[];else if(null!=d)for(var f=_(d-(n?n[1]+n[3]:0),e,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),p=0,g=a.length;po&&I(n,t.substring(o,a)),I(n,i[2],i[1]),o=f.lastIndex}oy)return{lines:[],width:0,height:0};z.textWidth=g(z.text,D);var L=T.textWidth,O=null==L||"auto"===L;if("string"==typeof L&&"%"===L.charAt(L.length-1))z.percentWidth=L,d.push(z),L=0;else{if(O){L=z.textWidth;var P=T.textBackgroundColor,E=P&&P.image;E&&(E=r.findExistImage(E),r.isImageReady(E)&&(L=Math.max(L,E.width*k/E.height)))}var N=A?A[1]+A[3]:0;L+=N;var R=null!=v?v-C:null;null!=R&&RC;C++)if((f||C in b)&&(x=w(y=b[C],C,_),t))if(e)T[C]=x;else if(x)switch(t){case 3:return!0;case 5:return y;case 6:return C;case 2:l.call(T,y)}else switch(t){case 4:return!1;case 7:l.call(T,y)}return h?-1:u||c?c:T}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},function(t,e,n){var i,r,o,a=n(218),s=n(6),l=n(14),u=n(28),c=n(16),h=n(81),d=n(68),f=n(66),p=s.WeakMap;if(a||h.state){var g=h.state||(h.state=new p),m=g.get,v=g.has,y=g.set;i=function(t,e){if(v.call(g,t))throw new TypeError("Object already initialized");return e.facade=t,y.call(g,t,e),e},r=function(t){return m.call(g,t)||{}},o=function(t){return v.call(g,t)}}else{var x=d("state");f[x]=!0,i=function(t,e){if(c(t,x))throw new TypeError("Object already initialized");return e.facade=t,u(t,x,e),e},r=function(t){return c(t,x)?t[x]:{}},o=function(t){return c(t,x)}}t.exports={set:i,get:r,has:o,enforce:function(t){return o(t)?r(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){n(9).__DEV__;var i=n(0),r=n(22),o=n(93),a=n(155),s=n(92),l=s.defaultDimValueGetters,u=s.DefaultDataProvider,c=n(157).summarizeDimensions,h=n(335),d=i.isObject,f={float:"undefined"==typeof Float64Array?Array:Float64Array,int:"undefined"==typeof Int32Array?Array:Int32Array,ordinal:Array,number:Array,time:Array},p="undefined"==typeof Uint32Array?Array:Uint32Array,g="undefined"==typeof Int32Array?Array:Int32Array,m="undefined"==typeof Uint16Array?Array:Uint16Array;function v(t){return t._rawCount>65535?p:m}var y=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],x=["_extent","_approximateExtent","_rawExtent"];function _(t,e){i.each(y.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,i.each(x,(function(n){t[n]=i.clone(e[n])})),t._calculationInfo=i.extend(e._calculationInfo)}var b=function(t,e){t=t||["x","y"];for(var n={},r=[],o={},a=0;a=0?this._indices[t]:-1}function A(t,e){var n=t._idList[e];return null==n&&(n=M(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n}function D(t){return i.isArray(t)||(t=[t]),t}function k(t,e){var n=t.dimensions,r=new b(i.map(n,t.getDimensionInfo,t),t.hostModel);_(r,t);for(var o=r._storage={},a=t._storage,s=0;s=0?(o[l]=L(a[l]),r._rawExtent[l]=O(),r._extent[l]=null):o[l]=a[l])}return r}function L(t){for(var e,n,i=new Array(t.length),r=0;rx[1]&&(x[1]=y)}e&&(this._nameList[d]=e[f])}this._rawCount=this._count=l,this._extent={},C(this)},w._initDataFromProvider=function(t,e){if(!(t>=e)){for(var n,i=this._chunkSize,r=this._rawData,o=this._storage,a=this.dimensions,s=a.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;pT[1]&&(T[1]=M)}if(!r.pure){var I=u[v];if(m&&null==I)if(null!=m.name)u[v]=I=m.name;else if(null!=n){var A=a[n],D=o[A][y];if(D){I=D[x];var k=l[A].ordinalMeta;k&&k.categories.length&&(I=k.categories[I])}}var L=null==m?null:m.id;null==L&&null!=I&&(d[I]=d[I]||0,L=I,d[I]>0&&(L+="__ec__"+d[I]),d[I]++),null!=L&&(c[v]=L)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},C(this)}},w.count=function(){return this._count},w.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array){r=new e(n);for(var i=0;i=0&&e=0&&ea&&(a=l)}return i=[o,a],this._extent[t]=i,i},w.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},w.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},w.getCalculationInfo=function(t){return this._calculationInfo[t]},w.setCalculationInfo=function(t,e){d(t)?i.extend(this._calculationInfo,t):this._calculationInfo[t]=e},w.getSum=function(t){var e=0;if(this._storage[t])for(var n=0,i=this.count();n=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},w.indicesOfNearest=function(t,e,n){var i=[];if(!this._storage[t])return i;null==n&&(n=1/0);for(var r=1/0,o=-1,a=0,s=0,l=this.count();s=0&&o<0)&&(r=c,o=u,a=0),u===o&&(i[a++]=s))}return i.length=a,i},w.getRawIndex=T,w.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n=l&&w<=u||isNaN(w))&&(o[a++]=h),h++}c=!0}else if(2===i){d=this._storage[s];var y=this._storage[e[1]],x=t[e[1]][0],_=t[e[1]][1];for(f=0;f=l&&w<=u||isNaN(w))&&(S>=x&&S<=_||isNaN(S))&&(o[a++]=h),h++}}c=!0}}if(!c)if(1===i)for(m=0;m=l&&w<=u||isNaN(w))&&(o[a++]=C)}else for(m=0;mt[A][1])&&(M=!1)}M&&(o[a++]=this.getRawIndex(m))}return aw[1]&&(w[1]=b)}}}return o},w.downSample=function(t,e,n,i){for(var r=k(this,[t]),o=r._storage,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),c=this._chunkSize,h=r._rawExtent[t],d=new(v(this))(u),f=0,p=0;pu-p&&(s=u-p,a.length=s);for(var g=0;gh[1]&&(h[1]=_),d[f++]=b}return r._count=f,r._indices=d,r.getRawIndex=I,r},w.getItemModel=function(t){var e=this.hostModel;return new r(this.getRawDataItem(t),e,e&&e.ecModel)},w.diff=function(t){var e=this;return new o(t?t.getIndices():[],this.getIndices(),(function(e){return A(t,e)}),(function(t){return A(e,t)}))},w.getVisual=function(t){var e=this._visual;return e&&e[t]},w.setVisual=function(t,e){if(d(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},w.setLayout=function(t,e){if(d(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},w.getLayout=function(t){return this._layout[t]},w.getItemLayout=function(t){return this._itemLayouts[t]},w.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?i.extend(this._itemLayouts[t]||{},e):e},w.clearItemLayouts=function(){this._itemLayouts.length=0},w.getItemVisual=function(t,e,n){var i=this._itemVisuals[t],r=i&&i[e];return null!=r||n?r:this.getVisual(e)},w.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},r=this.hasItemVisual;if(this._itemVisuals[t]=i,d(e))for(var o in e)e.hasOwnProperty(o)&&(i[o]=e[o],r[o]=!0);else i[e]=n,r[e]=!0},w.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var P=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};w.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(P,e)),this._graphicEls[t]=e},w.getItemGraphicEl=function(t){return this._graphicEls[t]},w.eachItemGraphicEl=function(t,e){i.each(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},w.cloneShallow=function(t){if(!t){var e=i.map(this.dimensions,this.getDimensionInfo,this);t=new b(e,this.hostModel)}if(t._storage=this._storage,_(t,this),this._indices){var n=this._indices.constructor;t._indices=new n(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?I:T,t},w.wrapMethod=function(t,e){var n=this[t];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(i.slice(arguments)))})},w.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],w.CHANGABLE_METHODS=["filterSelf","selectRange"];var E=b;t.exports=E},function(t,e,n){var i=n(0),r=n(2),o=n(18),a=n(37).calculateTextPosition,s=r.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),l=r.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),u=r.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),d=Math.cos(u),f=.6*a,p=.7*a;t.moveTo(n-c,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-h*f,l+s+d*f,n,i-p,n,i),t.bezierCurveTo(n,i-p,n-c+h*f,l+s+d*f,n-c,l+s),t.closePath()}}),c=r.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),h={line:r.Line,rect:r.Rect,roundRect:r.Rect,square:r.Rect,circle:r.Circle,diamond:l,pin:u,arrow:c,triangle:s},d={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},f={};i.each(h,(function(t,e){f[e]=new t}));var p=r.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=a(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.textPosition&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=f[i];r||(r=f[i="rect"]),d[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function g(t,e){if("image"!==this.type){var n=this.style,i=this.shape;i&&"line"===i.symbolType?n.stroke=t:this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff"):(n.fill&&(n.fill=t),n.stroke&&(n.stroke=t)),this.dirty(!1)}}e.createSymbol=function(t,e,n,i,a,s,l){var u,c=0===t.indexOf("empty");return c&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(u=0===t.indexOf("image://")?r.makeImage(t.slice(8),new o(e,n,i,a),l?"center":"cover"):0===t.indexOf("path://")?r.makePath(t.slice(7),{},new o(e,n,i,a),l?"center":"cover"):new p({shape:{symbolType:t,x:e,y:n,width:i,height:a}})).__isEmptyBrush=c,u.setColor=g,u.setColor(s),u}},,function(t,e,n){"use strict";function i(t,e,n){this.$children.forEach((function(r){r.$options.componentName===t?r.$emit.apply(r,[e].concat(n)):i.apply(r,[t,e].concat([n]))}))}e.__esModule=!0,e.default={methods:{dispatch:function(t,e,n){for(var i=this.$parent||this.$root,r=i.$options.componentName;i&&(!r||r!==t);)(i=i.$parent)&&(r=i.$options.componentName);i&&i.$emit.apply(i,[e].concat(n))},broadcast:function(t,e,n){i.call(this,t,e,n)}}}},function(t,e,n){var i=n(0),r={};function o(){this._coordinateSystems=[]}o.prototype={constructor:o,create:function(t,e){var n=[];i.each(r,(function(i,r){var o=i.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},update:function(t,e){i.each(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},o.register=function(t,e){r[t]=e},o.get=function(t){return r[t]};var a=o;t.exports=a},function(t,e,n){n(9).__DEV__;var i=n(0),r=n(496),o=n(191),a=n(190),s=n(3),l=n(192),u=l.prepareLayoutBarSeries,c=l.makeColumnLayout,h=l.retrieveColumnLayout,d=n(18);function f(t,e){var n,r,o,a=t.type,l=e.getMin(),d=e.getMax(),f=t.getExtent();"ordinal"===a?n=e.getCategories().length:(r=e.get("boundaryGap"),i.isArray(r)||(r=[r||0,r||0]),"boolean"==typeof r[0]&&(r=[0,0]),r[0]=s.parsePercent(r[0],1),r[1]=s.parsePercent(r[1],1),o=f[1]-f[0]||Math.abs(f[0])),"dataMin"===l?l=f[0]:"function"==typeof l&&(l=l({min:f[0],max:f[1]})),"dataMax"===d?d=f[1]:"function"==typeof d&&(d=d({min:f[0],max:f[1]}));var p=null!=l,g=null!=d;null==l&&(l="ordinal"===a?n?0:NaN:f[0]-r[0]*o),null==d&&(d="ordinal"===a?n?n-1:NaN:f[1]+r[1]*o),(null==l||!isFinite(l))&&(l=NaN),(null==d||!isFinite(d))&&(d=NaN),t.setBlank(i.eqNaN(l)||i.eqNaN(d)||"ordinal"===a&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(l>0&&d>0&&!p&&(l=0),l<0&&d<0&&!g&&(d=0));var m=e.ecModel;if(m&&"time"===a){var v,y=u("bar",m);if(i.each(y,(function(t){v|=t.getBaseAxis()===e.axis})),v){var x=c(y),_=function(t,e,n,r){var o=n.axis.getExtent(),a=o[1]-o[0],s=h(r,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;i.each(s,(function(t){l=Math.min(t.offset,l)}));var u=-1/0;i.each(s,(function(t){u=Math.max(t.offset+t.width,u)})),l=Math.abs(l),u=Math.abs(u);var c=l+u,d=e-t,f=d/(1-(l+u)/a)-d;return{min:t-=f*(l/c),max:e+=f*(u/c)}}(l,d,e,x);l=_.min,d=_.max}}return{extent:[l,d],fixMin:p,fixMax:g}}function p(t){var e,n=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof n?(e=n,n=function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}):"function"==typeof n?function(e,r){return null!=i&&(r=e-i),n(g(t,e),r)}:function(e){return t.scale.getLabel(e)}}function g(t,e){return"category"===t.type?t.scale.getLabel(e):e}function m(t){var e=t.get("interval");return null==e?"auto":e}n(497),n(339),e.getScaleExtent=f,e.niceScaleExtent=function(t,e){var n=f(t,e),i=n.extent,r=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:r,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var a=e.get("interval");null!=a&&t.setInterval&&t.setInterval(a)},e.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new r(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new o;default:return(a.getClass(e)||o).create(t)}},e.ifAxisCrossZero=function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)},e.makeLabelFormatter=p,e.getAxisRawValue=g,e.estimateLabelUnionRect=function(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){var i,r,o="category"===t.type,a=n.getExtent();r=o?n.count():(i=n.getTicks()).length;var s,l,u,c,h,f,g,m,v,y=t.getLabelModel(),x=p(t),_=1;r>40&&(_=Math.ceil(r/40));for(var b=0;b0?i:n)(t)}},function(t,e,n){var i,r=n(17),o=n(202),a=n(84),s=n(66),l=n(203),u=n(120),c=n(68),h=c("IE_PROTO"),d=function(){},f=function(t){return"